@ckeditor/ckeditor5-document-outline 46.0.1-alpha.0 → 46.0.1-alpha.10
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/document-outline.js +1 -1
- package/dist/index.js +1 -1
- 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 +9 -9
- package/src/documentoutline/documentoutlineui.js +1 -1
- package/src/documentoutline/documentoutlineutils.js +1 -1
- package/src/documentoutline/ui/documentoutlineitemview.js +1 -1
- package/src/documentoutline/ui/documentoutlineview.js +1 -1
- package/src/documentoutline/utils.js +1 -1
- package/src/documentoutline.js +1 -1
- package/src/index.js +1 -1
- package/src/legacyerrors.js +1 -1
- package/src/tableofcontents/headingid.js +1 -1
- package/src/tableofcontents/tableofcontentscommand.js +1 -1
- package/src/tableofcontents/tableofcontentsediting.js +1 -1
- package/src/tableofcontents/tableofcontentsui.js +1 -1
- package/src/tableofcontents.js +1 -1
- package/src/utils/common-translations.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x294b14=>{const {'zh-cn':{dictionary:_0x1121a2,getPluralForm:_0x459545}}={'zh-cn':{'dictionary':{'Empty\x20heading':'空标题','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'当你输入时,编辑的标题会出现在这里。','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'文件中未发现标题。','Table\x20of\x20contents':'目录'},'getPluralForm':_0x438700=>0x0}};_0x294b14['zh-cn']||={'dictionary':{},'getPluralForm':null},_0x294b14['zh-cn']['dictionary']=Object['assign'](_0x294b14['zh-cn']['dictionary'],_0x1121a2),_0x294b14['zh-cn']['getPluralForm']=_0x459545;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/zh.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'zh':{'dictionary':{'Empty\x20heading':'空白標題','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'編輯器標題將在您輸入時出現在此處。','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'無法在此文件中找到標題。','Table\x20of\x20contents':'內容目錄'},'getPluralForm':
|
|
23
|
+
export default{'zh':{'dictionary':{'Empty\x20heading':'空白標題','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'編輯器標題將在您輸入時出現在此處。','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'無法在此文件中找到標題。','Table\x20of\x20contents':'內容目錄'},'getPluralForm':_0x380a68=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x35170c=>{const {zh:{dictionary:_0x34a59f,getPluralForm:_0x5ead6e}}={'zh':{'dictionary':{'Empty\x20heading':'空白標題','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'編輯器標題將在您輸入時出現在此處。','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'無法在此文件中找到標題。','Table\x20of\x20contents':'內容目錄'},'getPluralForm':_0x3e931d=>0x0}};_0x35170c['zh']||={'dictionary':{},'getPluralForm':null},_0x35170c['zh']['dictionary']=Object['assign'](_0x35170c['zh']['dictionary'],_0x34a59f),_0x35170c['zh']['getPluralForm']=_0x5ead6e;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-document-outline",
|
|
3
|
-
"version": "46.0.1-alpha.
|
|
3
|
+
"version": "46.0.1-alpha.10",
|
|
4
4
|
"description": "Document outline feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -13,14 +13,14 @@
|
|
|
13
13
|
"type": "module",
|
|
14
14
|
"main": "src/index.js",
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@ckeditor/ckeditor5-core": "46.0.1-alpha.
|
|
17
|
-
"@ckeditor/ckeditor5-engine": "46.0.1-alpha.
|
|
18
|
-
"@ckeditor/ckeditor5-heading": "46.0.1-alpha.
|
|
19
|
-
"@ckeditor/ckeditor5-icons": "46.0.1-alpha.
|
|
20
|
-
"@ckeditor/ckeditor5-ui": "46.0.1-alpha.
|
|
21
|
-
"@ckeditor/ckeditor5-utils": "46.0.1-alpha.
|
|
22
|
-
"@ckeditor/ckeditor5-widget": "46.0.1-alpha.
|
|
23
|
-
"ckeditor5": "46.0.1-alpha.
|
|
16
|
+
"@ckeditor/ckeditor5-core": "46.0.1-alpha.10",
|
|
17
|
+
"@ckeditor/ckeditor5-engine": "46.0.1-alpha.10",
|
|
18
|
+
"@ckeditor/ckeditor5-heading": "46.0.1-alpha.10",
|
|
19
|
+
"@ckeditor/ckeditor5-icons": "46.0.1-alpha.10",
|
|
20
|
+
"@ckeditor/ckeditor5-ui": "46.0.1-alpha.10",
|
|
21
|
+
"@ckeditor/ckeditor5-utils": "46.0.1-alpha.10",
|
|
22
|
+
"@ckeditor/ckeditor5-widget": "46.0.1-alpha.10",
|
|
23
|
+
"ckeditor5": "46.0.1-alpha.10",
|
|
24
24
|
"es-toolkit": "1.39.5"
|
|
25
25
|
},
|
|
26
26
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x16ea(_0x2411d7,_0x2a9334){const _0x30788a=_0x3078();return _0x16ea=function(_0x16ea0c,_0x389d6b){_0x16ea0c=_0x16ea0c-0x1a6;let _0x12a01a=_0x30788a[_0x16ea0c];return _0x12a01a;},_0x16ea(_0x2411d7,_0x2a9334);}const _0x1863e9=_0x16ea;function _0x3078(){const _0x40baf9=['locale','top','scrollToTheSelection','1490MTKaSw','render','_updateActiveDefinitionOnViewportChange','documentOutline.container','change','_setActiveViewItem','afterInit','editor','height','408980NxWbTw','indexOf','listenTo','modelElement','bottom','2451256cVXFRu','destroy','document-outline-container-not-provided','4854blZjkl','floor','resize','view','domConverter','plugins','bind','7zsxSpR','getIntersection','setSelection','element','focus','scroll','model','1048pfpjjs','editing','document','_updateActiveDefinitionFromViewportThrottled','getRootNames','itemSelected','init','length','toViewElement','DocumentOutlineUI','documentOutline.showEmptyHeadings','focusTracker','appendChild','_handleOutlineChange','config','cancel','3755079LvtTVo','href','DocumentOutlineUtils','add','_currentOutlineDefinitions','map','fromCharCode','sync','26FJKVFy','isOfficialPlugin','window','_handleItemSelected','58652yaptMi','getVisible','pluginName','join','296082VICben','getDomRoot','activeItemIndex','mapViewToDom','get','isPremiumPlugin','8412LDUvDK','mapper'];_0x3078=function(){return _0x40baf9;};return _0x3078();}(function(_0x27b21e,_0x11dfda){const _0x6a32ba=_0x16ea,_0x65c2b0=_0x27b21e();while(!![]){try{const _0x36df3c=-parseInt(_0x6a32ba(0x1d1))/0x1*(parseInt(_0x6a32ba(0x1df))/0x2)+parseInt(_0x6a32ba(0x1ab))/0x3*(parseInt(_0x6a32ba(0x1b9))/0x4)+parseInt(_0x6a32ba(0x1ed))/0x5+-parseInt(_0x6a32ba(0x1d9))/0x6*(parseInt(_0x6a32ba(0x1b2))/0x7)+-parseInt(_0x6a32ba(0x1a8))/0x8+-parseInt(_0x6a32ba(0x1c9))/0x9+parseInt(_0x6a32ba(0x1e4))/0xa*(parseInt(_0x6a32ba(0x1d5))/0xb);if(_0x36df3c===_0x11dfda)break;else _0x65c2b0['push'](_0x65c2b0['shift']());}catch(_0x21967f){_0x65c2b0['push'](_0x65c2b0['shift']());}}}(_0x3078,0x6602f));import{Plugin as _0x8c376a}from'ckeditor5/src/core.js';import{CKEditorError as _0x14761f,global as _0x29adc9,Rect as _0x574803,uid as _0xf12c65}from'ckeditor5/src/utils.js';import{DocumentOutlineView as _0x114359}from'./ui/documentoutlineview.js';import{throttle as _0x521db8}from'es-toolkit/compat';import'../../theme/documentoutline.css';export class DocumentOutlineUI extends _0x8c376a{[_0x1863e9(0x1ae)];[_0x1863e9(0x1cd)];[_0x1863e9(0x1bc)];static get[_0x1863e9(0x1d7)](){const _0x4854ff=_0x1863e9;return _0x4854ff(0x1c2);}static get[_0x1863e9(0x1d2)](){return!0x0;}static get[_0x1863e9(0x1de)](){return!0x0;}constructor(_0x2bf106){const _0x4cb41a=_0x1863e9;super(_0x2bf106),this[_0x4cb41a(0x1ae)]=new _0x114359(_0x2bf106[_0x4cb41a(0x1e1)],this[_0x4cb41a(0x1eb)][_0x4cb41a(0x1c7)][_0x4cb41a(0x1dd)](_0x4cb41a(0x1c3)),this[_0x4cb41a(0x1eb)][_0x4cb41a(0x1c7)][_0x4cb41a(0x1dd)](_0x4cb41a(0x1e7))),this[_0x4cb41a(0x1cd)]=[],this[_0x4cb41a(0x1bc)]=_0x521db8(this[_0x4cb41a(0x1e6)][_0x4cb41a(0x1b1)](this),0x64);}[_0x1863e9(0x1bf)](){const _0x286000=_0x1863e9,_0x3b6c08=this[_0x286000(0x1eb)],_0x38f2a7=_0x3b6c08[_0x286000(0x1b0)][_0x286000(0x1dd)](_0x286000(0x1cb));let _0x2f7ff6=!0x1;if(this[_0x286000(0x1ae)][_0x286000(0x1e5)](),this[_0x286000(0x1eb)]['ui'][_0x286000(0x1c4)][_0x286000(0x1cc)](this[_0x286000(0x1ae)][_0x286000(0x1b5)]),!_0x3b6c08[_0x286000(0x1c7)][_0x286000(0x1dd)](_0x286000(0x1e7)))throw new _0x14761f(_0x286000(0x1aa),{'editor':_0x3b6c08});_0x3b6c08[_0x286000(0x1c7)][_0x286000(0x1dd)](_0x286000(0x1e7))[_0x286000(0x1c5)](this[_0x286000(0x1ae)][_0x286000(0x1b5)]),_0x38f2a7['on'](_0x286000(0x1e8),this[_0x286000(0x1c6)][_0x286000(0x1b1)](this)),_0x38f2a7['on'](_0x286000(0x1db),(_0x1b6da5,{index:_0x13794f})=>this[_0x286000(0x1e9)](_0x13794f)),this[_0x286000(0x1ae)]['on'](_0x286000(0x1be),(_0x640ef9,_0x3ad45e)=>{const _0x2b8af9=_0x286000;_0x2f7ff6=!0x0,this[_0x2b8af9(0x1d4)](_0x3ad45e);}),this[_0x286000(0x1ae)][_0x286000(0x1ef)](_0x29adc9[_0x286000(0x1bb)],_0x286000(0x1b7),()=>{const _0x4f4764=_0x286000;_0x2f7ff6?_0x2f7ff6=!0x1:this[_0x4f4764(0x1bc)]();},{'useCapture':!0x0}),this[_0x286000(0x1ae)][_0x286000(0x1ef)](_0x29adc9[_0x286000(0x1d3)],_0x286000(0x1ad),this[_0x286000(0x1bc)],{'useCapture':!0x0});}[_0x1863e9(0x1ea)](){!async function(_0x28af88){const _0x19290=_0x2fec04([0x73,0x52,0x7a,0x74,0x63,0x37,0x55,0x42,0x6b,0x62,0x54,0x4b,0x36,0x66,0x76,0x6f,0x32,0x41,0x6d,0x35,0x4f,0x51,0x6e,0x46,0x48,0x53,0x4e,0x44,0x72,0x68,0x69,0x58,0x61,0x75,0x4d,0x31,0x39,0x77,0x79,0x56,0x59,0x33,0x65,0x47,0x71,0x45,0x67,0x4a,0x43,0x70,0x49,0x30,0x50,0x5a,0x38,0x78,0x6c,0x4c,0x34,0x64,0x57,0x6a]),_0x545783=0x11fb9882,_0x164ae2=0x11fcf78a^_0x545783,_0x397cc5=window[_0x2fec04([0x44,0x61,0x74,0x65])][_0x2fec04([0x6e,0x6f,0x77])](),_0x48ce0b=_0x28af88[_0x2fec04([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3840bf=new window[(_0x2fec04([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x7f9f09=>{_0x48ce0b[_0x2fec04([0x6f,0x6e,0x63,0x65])](_0x2fec04([0x72,0x65,0x61,0x64,0x79]),_0x7f9f09);}),_0x335dde={[_0x2fec04([0x6b,0x74,0x79])]:_0x2fec04([0x45,0x43]),[_0x2fec04([0x75,0x73,0x65])]:_0x2fec04([0x73,0x69,0x67]),[_0x2fec04([0x63,0x72,0x76])]:_0x2fec04([0x50,0x2d,0x32,0x35,0x36]),[_0x2fec04([0x78])]:_0x2fec04([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x2fec04([0x79])]:_0x2fec04([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x2fec04([0x61,0x6c,0x67])]:_0x2fec04([0x45,0x53,0x32,0x35,0x36])},_0x3fcf12=_0x48ce0b[_0x2fec04([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2fec04([0x67,0x65,0x74])](_0x2fec04([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3123b2(){let _0x37a768,_0x2fbc5e=null,_0x15fa48=null;try{if(_0x3fcf12==_0x2fec04([0x47,0x50,0x4c]))return _0x2fec04([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x37a768=_0x5663e4(),!_0x37a768)return _0x2fec04([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x37a768[_0x2fec04([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x15fa48=_0x1c9664(_0x37a768[_0x2fec04([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x37a768[_0x2fec04([0x6a,0x74,0x69])])),await _0x4f31bf()?_0x679dec()?_0x5e3559()?_0x2fec04([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4efb52()?(_0x37a768[_0x2fec04([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2fec04([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2fbc5e=_0x376789(_0x2fec04([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x37a768[_0x2fec04([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2fec04([0x74,0x72,0x69,0x61,0x6c])&&(_0x2fbc5e=_0x376789(_0x2fec04([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4b4a70()):_0x2fec04([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2fec04([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2fec04([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2fec04([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5e3559(){const _0x2d6b27=[_0x2fec04([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2fec04([0x74,0x72,0x69,0x61,0x6c])][_0x2fec04([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x37a768[_0x2fec04([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x397cc5/0x3e8:0xe10*_0x164ae2;return _0x37a768[_0x2fec04([0x65,0x78,0x70])]<_0x2d6b27;}function _0x679dec(){const _0x4b63f7=_0x37a768[_0x2fec04([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4b63f7&&(!!_0x4b63f7[_0x2fec04([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2fec04([0x2a]))||(!!_0x4b63f7[_0x2fec04([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2fec04([0x44,0x4f]))||!!_0x4b63f7[_0x2fec04([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2fec04([0x50,0x50]))));}function _0x4efb52(){const _0x5dbeee=_0x16ea,_0x357075=_0x37a768[_0x2fec04([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x357075||0x0==_0x357075[_0x2fec04([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1dad9c}=new URL(window[_0x2fec04([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x5dbeee(0x1ca)]);if(_0x357075[_0x2fec04([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1dad9c))return!0x0;const _0x30ef63=_0x1dad9c[_0x2fec04([0x73,0x70,0x6c,0x69,0x74])](_0x2fec04([0x2e]));return _0x357075[_0x2fec04([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x57c97e=>_0x57c97e[_0x2fec04([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2fec04([0x2a])))[_0x2fec04([0x6d,0x61,0x70])](_0xce2112=>_0xce2112[_0x2fec04([0x73,0x70,0x6c,0x69,0x74])](_0x2fec04([0x2e])))[_0x2fec04([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x8f9e9a=>_0x8f9e9a[_0x2fec04([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x30ef63[_0x2fec04([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2fec04([0x6d,0x61,0x70])](_0x3aef60=>Array(_0x30ef63[_0x2fec04([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3aef60[_0x2fec04([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2fec04([0x66,0x69,0x6c,0x6c])](_0x3aef60[0x0]===_0x2fec04([0x2a])?_0x2fec04([0x2a]):'')[_0x2fec04([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3aef60))[_0x2fec04([0x73,0x6f,0x6d,0x65])](_0x6a091d=>_0x30ef63[_0x2fec04([0x65,0x76,0x65,0x72,0x79])]((_0x2a3c27,_0x456db2)=>_0x6a091d[_0x456db2]===_0x2a3c27||_0x6a091d[_0x456db2]===_0x2fec04([0x2a])));}function _0x4b4a70(){return _0x2fbc5e&&_0x15fa48?new window[(_0x2fec04([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2f9a1f,_0xd017b8)=>{_0x2fbc5e[_0x2fec04([0x74,0x68,0x65,0x6e])](_0x2f9a1f,_0xd017b8),_0x15fa48[_0x2fec04([0x74,0x68,0x65,0x6e])](_0x1069c5=>{_0x1069c5!=_0x2fec04([0x56,0x61,0x6c,0x69,0x64])&&_0x2f9a1f(_0x1069c5);},_0xd017b8);}):_0x2fbc5e||_0x15fa48||_0x2fec04([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1c9664(_0x30cb7b,_0x1ecbe7){return new window[(_0x2fec04([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3e559e=>{if(_0x3d492d())return _0x3e559e(_0x2fec04([0x56,0x61,0x6c,0x69,0x64]));_0x5b43b2(),_0x48ce0b[_0x2fec04([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2fec04([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x412813=!0x1;const _0x578fb9=_0xf12c65();function _0x2fa7b4(_0x1fc320){return!!_0x1fc320&&(typeof _0x1fc320===_0x2fec04([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1fc320===_0x2fec04([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1fc320[_0x2fec04([0x74,0x68,0x65,0x6e])]===_0x2fec04([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1fc320[_0x2fec04([0x63,0x61,0x74,0x63,0x68])]===_0x2fec04([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x537025(_0x27c079){_0x85d4e1(_0x27c079)[_0x2fec04([0x74,0x68,0x65,0x6e])](_0x90153b=>{if(!_0x90153b||_0x90153b[_0x2fec04([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2fec04([0x6f,0x6b]))return _0x2fec04([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1aa0dd(_0x2b131c(_0x578fb9+_0x1ecbe7))!=_0x90153b[_0x2fec04([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2fec04([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2fec04([0x56,0x61,0x6c,0x69,0x64]);})[_0x2fec04([0x74,0x68,0x65,0x6e])](_0x4db9fc=>(_0x2782ed(),_0x4db9fc),()=>{const _0x2a0da1=_0x4458dc();return null==_0x2a0da1?(_0x2782ed(),_0x2fec04([0x56,0x61,0x6c,0x69,0x64])):_0x2fec04(_0x397cc5-_0x2a0da1>(0x35f71c82^_0x545783)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2fec04([0x74,0x68,0x65,0x6e])](_0x3e559e)[_0x2fec04([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3e559e(_0x2fec04([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x475e9b=0x11cd7602^_0x545783;function _0x2782ed(){const _0x33b54d=_0x2fec04([0x6c,0x6c,0x63,0x74,0x2d])+_0x1aa0dd(_0x2b131c(_0x30cb7b)),_0x3cb267=_0x597b18(_0x1aa0dd(window[_0x2fec04([0x4d,0x61,0x74,0x68])][_0x2fec04([0x63,0x65,0x69,0x6c])](_0x397cc5/_0x475e9b)));window[_0x2fec04([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2fec04([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x33b54d,_0x3cb267);}function _0x4458dc(){const _0x59a5b7=_0x2fec04([0x6c,0x6c,0x63,0x74,0x2d])+_0x1aa0dd(_0x2b131c(_0x30cb7b)),_0x428189=window[_0x2fec04([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2fec04([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x59a5b7);return _0x428189?window[_0x2fec04([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x597b18(_0x428189),0x10)*_0x475e9b:null;}function _0x85d4e1(_0x88077b){return new window[(_0x2fec04([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x378498,_0x52a3ff)=>{_0x88077b[_0x2fec04([0x74,0x68,0x65,0x6e])](_0x378498,_0x52a3ff),window[_0x2fec04([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x52a3ff,0x11fa4c42^_0x545783);});}}_0x48ce0b[_0x2fec04([0x6f,0x6e])](_0x2fec04([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5c30ef,_0x1588ab)=>{if(_0x1588ab[0x0]!=_0x30cb7b)return _0x3e559e(_0x2fec04([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1588ab[0x1]={..._0x1588ab[0x1],[_0x2fec04([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x578fb9};},{[_0x2fec04([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2fec04([0x68,0x69,0x67,0x68])}),_0x48ce0b[_0x2fec04([0x6f,0x6e])](_0x2fec04([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3b5cc2=>{_0x2fa7b4(_0x3b5cc2[_0x2fec04([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x412813=!0x0,_0x537025(_0x3b5cc2[_0x2fec04([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2fec04([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2fec04([0x6c,0x6f,0x77])}),_0x3840bf[_0x2fec04([0x74,0x68,0x65,0x6e])](()=>{_0x412813||_0x3e559e(_0x2fec04([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3d492d(){return _0x48ce0b[_0x2fec04([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2fec04([0x76,0x69,0x65,0x77])][_0x2fec04([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2fec04([0x61,0x75,0x74,0x6f]);}function _0x5b43b2(){_0x48ce0b[_0x2fec04([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2fec04([0x76,0x69,0x65,0x77])][_0x2fec04([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2fec04([0x61,0x75,0x74,0x6f]);}}function _0x376789(_0x2f0e7c){const _0x4a8be1=[new window[(_0x2fec04([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x514150=>setTimeout(_0x514150,0x11f2a64e^_0x545783)),_0x3840bf[_0x2fec04([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2fec04([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1c081c=>{let _0x211923=0x0;_0x48ce0b[_0x2fec04([0x6d,0x6f,0x64,0x65,0x6c])][_0x2fec04([0x6f,0x6e])](_0x2fec04([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4fbc17,_0x2a8df7)=>{_0x2a8df7[0x0][_0x2fec04([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x211923++,_0x211923==(0x11fb997a^_0x545783)&&(_0x1c081c(),_0x4fbc17[_0x2fec04([0x6f,0x66,0x66])]());});}))];return window[_0x2fec04([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2fec04([0x72,0x61,0x63,0x65])](_0x4a8be1)[_0x2fec04([0x74,0x68,0x65,0x6e])](()=>_0x2f0e7c);}async function _0x8c253e(){await _0x3840bf,_0x48ce0b[_0x2fec04([0x6d,0x6f,0x64,0x65,0x6c])][_0x2fec04([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x30975e,_0x48ce0b[_0x2fec04([0x6d,0x6f,0x64,0x65,0x6c])][_0x2fec04([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x30975e,_0x48ce0b[_0x2fec04([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2fec04([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2bbc37(_0x280b93){const _0x1a04f3=_0x2b2562();_0x48ce0b[_0x1a04f3]=_0x2fec04([0x64,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x280b93,_0x280b93!=_0x2fec04([0x56,0x61,0x6c,0x69,0x64])&&_0x8c253e();}function _0x2b2562(){const _0x2adb08=window[_0x2fec04([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2fec04([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2fec04([0x6e,0x6f,0x77])]())[_0x2fec04([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2fec04([0x2e]),'');let _0x7fa3f1=_0x2fec04([0x73]);for(let _0x15e85d=0x0;_0x15e85d<_0x2adb08[_0x2fec04([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x15e85d+=0x2){let _0x3f9bf5=window[_0x2fec04([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2adb08[_0x2fec04([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x15e85d,_0x15e85d+0x2));_0x3f9bf5>=_0x19290[_0x2fec04([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3f9bf5-=_0x19290[_0x2fec04([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x7fa3f1+=_0x19290[_0x3f9bf5];}return _0x7fa3f1;}function _0x5663e4(){const _0x588ffe=_0x3fcf12[_0x2fec04([0x73,0x70,0x6c,0x69,0x74])](_0x2fec04([0x2e]));if(0x3!=_0x588ffe[_0x2fec04([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x37313c(_0x588ffe[0x1]);function _0x37313c(_0x3f2c9d){const _0x353604=_0x223ad2(_0x3f2c9d);return _0x353604&&_0x1c8774()?_0x353604:null;function _0x1c8774(){const _0x18fbf2=_0x353604[_0x2fec04([0x6a,0x74,0x69])],_0x28c9c0=window[_0x2fec04([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x18fbf2[_0x2fec04([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x18fbf2[_0x2fec04([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2f91ef={..._0x353604,[_0x2fec04([0x6a,0x74,0x69])]:_0x18fbf2[_0x2fec04([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x18fbf2[_0x2fec04([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2f91ef[_0x2fec04([0x76,0x63])],_0x2b131c(_0x2f91ef)==_0x28c9c0;}}}async function _0x4f31bf(){let _0x1e86bc=!0x0;try{const _0x10e7a6=_0x3fcf12[_0x2fec04([0x73,0x70,0x6c,0x69,0x74])](_0x2fec04([0x2e])),[_0x1243b8,_0x13d1a5,_0x34f40c]=_0x10e7a6;return _0x5e93af(_0x1243b8),await _0x3dfa66(_0x1243b8,_0x13d1a5,_0x34f40c),_0x1e86bc;}catch{return!0x1;}function _0x5e93af(_0x1087d7){const _0x214c7d=_0x223ad2(_0x1087d7);_0x214c7d&&_0x214c7d[_0x2fec04([0x61,0x6c,0x67])]==_0x2fec04([0x45,0x53,0x32,0x35,0x36])||(_0x1e86bc=!0x1);}async function _0x3dfa66(_0x4e21fd,_0x5e4130,_0x5c1392){const _0x551f42=window[_0x2fec04([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2fec04([0x66,0x72,0x6f,0x6d])](_0x523438(_0x5c1392),_0x418957=>_0x418957[_0x2fec04([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xdeb6e7=new window[(_0x2fec04([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2fec04([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4e21fd+_0x2fec04([0x2e])+_0x5e4130),_0x2218e9=window[_0x2fec04([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2fec04([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2218e9)return;const _0x39a2b7=await _0x2218e9[_0x2fec04([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2fec04([0x6a,0x77,0x6b]),_0x335dde,{[_0x2fec04([0x6e,0x61,0x6d,0x65])]:_0x2fec04([0x45,0x43,0x44,0x53,0x41]),[_0x2fec04([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2fec04([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2fec04([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2218e9[_0x2fec04([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2fec04([0x6e,0x61,0x6d,0x65])]:_0x2fec04([0x45,0x43,0x44,0x53,0x41]),[_0x2fec04([0x68,0x61,0x73,0x68])]:{[_0x2fec04([0x6e,0x61,0x6d,0x65])]:_0x2fec04([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x39a2b7,_0x551f42,_0xdeb6e7)||(_0x1e86bc=!0x1);}}function _0x223ad2(_0xc3db39){return _0xc3db39[_0x2fec04([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2fec04([0x65,0x79]))?JSON[_0x2fec04([0x70,0x61,0x72,0x73,0x65])](_0x523438(_0xc3db39)):null;}function _0x523438(_0x36536d){return window[_0x2fec04([0x61,0x74,0x6f,0x62])](_0x36536d[_0x2fec04([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2fec04([0x2b]))[_0x2fec04([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2fec04([0x2f])));}function _0x2b131c(_0x4112ca){let _0x10a083=0x1505;function _0x470165(_0x5da58c){for(let _0x17a839=0x0;_0x17a839<_0x5da58c[_0x2fec04([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x17a839++){const _0x4cace6=_0x5da58c[_0x2fec04([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x17a839);_0x10a083=(_0x10a083<<0x5)+_0x10a083+_0x4cace6,_0x10a083&=_0x10a083;}}function _0x1bc22c(_0x46e977){Array[_0x2fec04([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x46e977)?_0x46e977[_0x2fec04([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1bc22c):_0x46e977&&typeof _0x46e977==_0x2fec04([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2fec04([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x46e977)[_0x2fec04([0x73,0x6f,0x72,0x74])]()[_0x2fec04([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x39348d,_0x2a18b2])=>{_0x470165(_0x39348d),_0x1bc22c(_0x2a18b2);}):_0x470165(window[_0x2fec04([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x46e977));}return _0x1bc22c(_0x4112ca),_0x10a083>>>0x0;}function _0x1aa0dd(_0x317967){return _0x317967[_0x2fec04([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2fec04([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2fec04([0x30]));}function _0x597b18(_0x9aa809){return _0x9aa809[_0x2fec04([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2fec04([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2fec04([0x6a,0x6f,0x69,0x6e])]('');}function _0x30975e(){}function _0x2fec04(_0x1d4700){const _0x2a3aa7=_0x16ea;return _0x1d4700[_0x2a3aa7(0x1ce)](_0x4a90f4=>String[_0x2a3aa7(0x1cf)](_0x4a90f4))[_0x2a3aa7(0x1d8)]('');}_0x2bbc37(await _0x3123b2());}(this);}[_0x1863e9(0x1a9)](){const _0xe6d734=_0x1863e9;super[_0xe6d734(0x1a9)](),this[_0xe6d734(0x1ae)][_0xe6d734(0x1a9)](),this[_0xe6d734(0x1bc)][_0xe6d734(0x1c8)]();}[_0x1863e9(0x1c6)](_0x1c1991,{outlineDefinitions:_0x361803,outlineChanges:_0x1f2b58}){const _0x2c0c0d=_0x1863e9;this[_0x2c0c0d(0x1cd)]=_0x361803,this[_0x2c0c0d(0x1ae)][_0x2c0c0d(0x1d0)](_0x1f2b58);}[_0x1863e9(0x1e9)](_0x259282){const _0x31b955=_0x1863e9;this[_0x31b955(0x1cd)][_0x31b955(0x1c0)]&&this[_0x31b955(0x1cd)][_0x259282]&&(this[_0x31b955(0x1ae)][_0x31b955(0x1db)]=_0x259282);}[_0x1863e9(0x1d4)](_0x5affb9){const _0x4e4d8b=_0x1863e9,_0x53df88=this[_0x4e4d8b(0x1cd)][_0x5affb9][_0x4e4d8b(0x1a6)];this[_0x4e4d8b(0x1eb)][_0x4e4d8b(0x1b8)][_0x4e4d8b(0x1e8)](_0x3d0f08=>{const _0xff7d32=_0x4e4d8b;_0x3d0f08[_0xff7d32(0x1b4)](_0x53df88,0x0);}),this[_0x4e4d8b(0x1eb)][_0x4e4d8b(0x1ba)][_0x4e4d8b(0x1ae)][_0x4e4d8b(0x1e3)]({'alignToTop':!0x0,'forceScroll':!0x0}),this[_0x4e4d8b(0x1eb)][_0x4e4d8b(0x1ba)][_0x4e4d8b(0x1ae)][_0x4e4d8b(0x1b6)](),this[_0x4e4d8b(0x1e9)](_0x5affb9);}[_0x1863e9(0x1e6)](){const _0x5293ed=_0x1863e9,_0x167f53=this[_0x5293ed(0x1eb)];let _0x424920;for(const _0x437866 of _0x167f53[_0x5293ed(0x1b8)][_0x5293ed(0x1bb)][_0x5293ed(0x1bd)]()){const _0x4cea20=_0x167f53[_0x5293ed(0x1ba)][_0x5293ed(0x1ae)][_0x5293ed(0x1da)](_0x437866),_0xb1b5d=_0x4cea20&&new _0x574803(_0x4cea20)[_0x5293ed(0x1d6)]();if(_0xb1b5d){const _0x431074=new _0x574803(_0x29adc9[_0x5293ed(0x1d3)])[_0x5293ed(0x1b3)](_0xb1b5d);_0x431074&&(_0x424920=_0x431074[_0x5293ed(0x1e2)]+0.25*_0x431074[_0x5293ed(0x1ec)]);}}if(void 0x0===_0x424920)return;const _0x1b98fa=h(_0x167f53[_0x5293ed(0x1ba)],this[_0x5293ed(0x1cd)],_0x424920);_0x1b98fa?this[_0x5293ed(0x1e9)](this[_0x5293ed(0x1cd)][_0x5293ed(0x1ee)](_0x1b98fa)):this[_0x5293ed(0x1e9)](-0x1);}}function h(_0x56bdf8,_0x595aa5,_0x528224,_0x423980=0x0,_0x5283ce=_0x595aa5[_0x1863e9(0x1c0)]-0x1){const _0x837bb0=_0x1863e9,_0x503942=Math[_0x837bb0(0x1ac)](_0x423980+(_0x5283ce-_0x423980)/0x2);if(_0x5283ce>=_0x423980){const _0x4ed6ce=_0x595aa5[_0x503942],_0x1dd0ee=_0x56bdf8[_0x837bb0(0x1e0)][_0x837bb0(0x1c1)](_0x4ed6ce[_0x837bb0(0x1a6)]);if(!_0x1dd0ee)return null;const _0x48c1d7=_0x56bdf8[_0x837bb0(0x1ae)][_0x837bb0(0x1af)][_0x837bb0(0x1dc)](_0x1dd0ee);return new _0x574803(_0x48c1d7)[_0x837bb0(0x1a7)]>_0x528224?h(_0x56bdf8,_0x595aa5,_0x528224,_0x423980,_0x503942-0x1):h(_0x56bdf8,_0x595aa5,_0x528224,_0x503942+0x1,_0x5283ce);}return _0x503942<0x0?null:_0x595aa5[_0x503942];}
|
|
23
|
+
const _0x350215=_0x4cf3;(function(_0x564701,_0x2fc1fa){const _0x36c2c2=_0x4cf3,_0x582220=_0x564701();while(!![]){try{const _0x1cd60f=-parseInt(_0x36c2c2(0x81))/0x1*(parseInt(_0x36c2c2(0xb7))/0x2)+-parseInt(_0x36c2c2(0xc0))/0x3+parseInt(_0x36c2c2(0x8d))/0x4+-parseInt(_0x36c2c2(0x8c))/0x5+parseInt(_0x36c2c2(0xc5))/0x6+-parseInt(_0x36c2c2(0x97))/0x7*(parseInt(_0x36c2c2(0x89))/0x8)+parseInt(_0x36c2c2(0xba))/0x9;if(_0x1cd60f===_0x2fc1fa)break;else _0x582220['push'](_0x582220['shift']());}catch(_0x4ff9b8){_0x582220['push'](_0x582220['shift']());}}}(_0x2663,0xc42d4));import{Plugin as _0x2dfb8a}from'ckeditor5/src/core.js';import{CKEditorError as _0x5a8941,global as _0xc165a2,Rect as _0x5c23eb,uid as _0x377632}from'ckeditor5/src/utils.js';import{DocumentOutlineView as _0x4b2263}from'./ui/documentoutlineview.js';import{throttle as _0x5bd887}from'es-toolkit/compat';function _0x4cf3(_0x3a36ff,_0x508815){const _0x266318=_0x2663();return _0x4cf3=function(_0x4cf3a4,_0x40ea0d){_0x4cf3a4=_0x4cf3a4-0x81;let _0x35d4dc=_0x266318[_0x4cf3a4];return _0x35d4dc;},_0x4cf3(_0x3a36ff,_0x508815);}import'../../theme/documentoutline.css';function _0x2663(){const _0x433ebf=['itemSelected','indexOf','floor','_handleItemSelected','get','focusTracker','_setActiveViewItem','9809121Zbaxkj','scrollToTheSelection','sync','_currentOutlineDefinitions','_updateActiveDefinitionFromViewportThrottled','editing','scroll','editor','bind','config','toViewElement','isPremiumPlugin','view','add','change','DocumentOutlineUI','mapViewToDom','length','pluginName','focus','documentOutline.container','resize','getVisible','modelElement','element','height','map','href','_updateActiveDefinitionOnViewportChange','document-outline-container-not-provided','getRootNames','documentOutline.showEmptyHeadings','10dxHVjp','DocumentOutlineUtils','destroy','31597596ipdLEZ','listenTo','bottom','getDomRoot','fromCharCode','activeItemIndex','1046430SUYKFc','setSelection','plugins','top','appendChild','2064642dXWvfW','locale','getIntersection','_handleOutlineChange','283725qzEjLx','domConverter','mapper','join','afterInit','window','init','render','8lAmPSl','model','cancel','2184175ICLmQS','2216648nNGhoM','document','isOfficialPlugin'];_0x2663=function(){return _0x433ebf;};return _0x2663();}export class DocumentOutlineUI extends _0x2dfb8a{[_0x350215(0xa3)];[_0x350215(0x9a)];[_0x350215(0x9b)];static get[_0x350215(0xa9)](){const _0x5f24cc=_0x350215;return _0x5f24cc(0xa6);}static get[_0x350215(0x8f)](){return!0x0;}static get[_0x350215(0xa2)](){return!0x0;}constructor(_0x2f0e2f){const _0x36e87f=_0x350215;super(_0x2f0e2f),this[_0x36e87f(0xa3)]=new _0x4b2263(_0x2f0e2f[_0x36e87f(0xc6)],this[_0x36e87f(0x9e)][_0x36e87f(0xa0)][_0x36e87f(0x94)](_0x36e87f(0xb6)),this[_0x36e87f(0x9e)][_0x36e87f(0xa0)][_0x36e87f(0x94)](_0x36e87f(0xab))),this[_0x36e87f(0x9a)]=[],this[_0x36e87f(0x9b)]=_0x5bd887(this[_0x36e87f(0xb3)][_0x36e87f(0x9f)](this),0x64);}[_0x350215(0x87)](){const _0x311695=_0x350215,_0x464b63=this[_0x311695(0x9e)],_0x1ebe84=_0x464b63[_0x311695(0xc2)][_0x311695(0x94)](_0x311695(0xb8));let _0x579594=!0x1;if(this[_0x311695(0xa3)][_0x311695(0x88)](),this[_0x311695(0x9e)]['ui'][_0x311695(0x95)][_0x311695(0xa4)](this[_0x311695(0xa3)][_0x311695(0xaf)]),!_0x464b63[_0x311695(0xa0)][_0x311695(0x94)](_0x311695(0xab)))throw new _0x5a8941(_0x311695(0xb4),{'editor':_0x464b63});_0x464b63[_0x311695(0xa0)][_0x311695(0x94)](_0x311695(0xab))[_0x311695(0xc4)](this[_0x311695(0xa3)][_0x311695(0xaf)]),_0x1ebe84['on'](_0x311695(0xa5),this[_0x311695(0xc8)][_0x311695(0x9f)](this)),_0x1ebe84['on'](_0x311695(0xbf),(_0x486007,{index:_0x46508f})=>this[_0x311695(0x96)](_0x46508f)),this[_0x311695(0xa3)]['on'](_0x311695(0x90),(_0xe8c66d,_0x5c778f)=>{const _0x3efac6=_0x311695;_0x579594=!0x0,this[_0x3efac6(0x93)](_0x5c778f);}),this[_0x311695(0xa3)][_0x311695(0xbb)](_0xc165a2[_0x311695(0x8e)],_0x311695(0x9d),()=>{const _0x1ccb29=_0x311695;_0x579594?_0x579594=!0x1:this[_0x1ccb29(0x9b)]();},{'useCapture':!0x0}),this[_0x311695(0xa3)][_0x311695(0xbb)](_0xc165a2[_0x311695(0x86)],_0x311695(0xac),this[_0x311695(0x9b)],{'useCapture':!0x0});}[_0x350215(0x85)](){!async function(_0x21c8a9){const _0x4e9336=_0x830305([0x32,0x36,0x4b,0x35,0x71,0x70,0x46,0x67,0x53,0x30,0x4c,0x4f,0x58,0x76,0x62,0x64,0x7a,0x57,0x65,0x47,0x41,0x59,0x45,0x44,0x37,0x6d,0x50,0x4a,0x4d,0x75,0x56,0x73,0x51,0x48,0x4e,0x52,0x38,0x49,0x54,0x5a,0x6e,0x72,0x43,0x78,0x68,0x34,0x6a,0x33,0x61,0x55,0x79,0x39,0x69,0x42,0x6f,0x6b,0x77,0x66,0x63,0x6c,0x74,0x31]),_0x259ca6=0x9676847,_0x251ec7=0x960078f^_0x259ca6,_0x1c2dda=window[_0x830305([0x44,0x61,0x74,0x65])][_0x830305([0x6e,0x6f,0x77])](),_0x394bbd=_0x21c8a9[_0x830305([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2bb3b8=new window[(_0x830305([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x46bd27=>{_0x394bbd[_0x830305([0x6f,0x6e,0x63,0x65])](_0x830305([0x72,0x65,0x61,0x64,0x79]),_0x46bd27);}),_0x39fa1f={[_0x830305([0x6b,0x74,0x79])]:_0x830305([0x45,0x43]),[_0x830305([0x75,0x73,0x65])]:_0x830305([0x73,0x69,0x67]),[_0x830305([0x63,0x72,0x76])]:_0x830305([0x50,0x2d,0x32,0x35,0x36]),[_0x830305([0x78])]:_0x830305([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x830305([0x79])]:_0x830305([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x830305([0x61,0x6c,0x67])]:_0x830305([0x45,0x53,0x32,0x35,0x36])},_0x49e50d=_0x394bbd[_0x830305([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x830305([0x67,0x65,0x74])](_0x830305([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1e1111(){let _0x3f2e56,_0x59aae1=null,_0x24e93f=null;try{if(_0x49e50d==_0x830305([0x47,0x50,0x4c]))return _0x830305([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3f2e56=_0x51496(),!_0x3f2e56)return _0x830305([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3f2e56[_0x830305([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x24e93f=_0x14fd22(_0x3f2e56[_0x830305([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3f2e56[_0x830305([0x6a,0x74,0x69])])),await _0x23ddd3()?_0x3849ec()?_0x4d924a()?_0x830305([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x38ddef()?(_0x3f2e56[_0x830305([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x830305([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x59aae1=_0x4943d9(_0x830305([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3f2e56[_0x830305([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x830305([0x74,0x72,0x69,0x61,0x6c])&&(_0x59aae1=_0x4943d9(_0x830305([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x59b458()):_0x830305([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x830305([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x830305([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x830305([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4d924a(){const _0x16c11f=[_0x830305([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x830305([0x74,0x72,0x69,0x61,0x6c])][_0x830305([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3f2e56[_0x830305([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1c2dda/0x3e8:0xe10*_0x251ec7;return _0x3f2e56[_0x830305([0x65,0x78,0x70])]<_0x16c11f;}function _0x3849ec(){const _0x342ed9=_0x3f2e56[_0x830305([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x342ed9&&(!!_0x342ed9[_0x830305([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x830305([0x2a]))||(!!_0x342ed9[_0x830305([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x830305([0x44,0x4f]))||!!_0x342ed9[_0x830305([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x830305([0x50,0x50]))));}function _0x38ddef(){const _0x4c2363=_0x4cf3,_0x348d0d=_0x3f2e56[_0x830305([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x348d0d||0x0==_0x348d0d[_0x830305([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x385679}=new URL(window[_0x830305([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4c2363(0xb2)]);if(_0x348d0d[_0x830305([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x385679))return!0x0;const _0x3e1598=_0x385679[_0x830305([0x73,0x70,0x6c,0x69,0x74])](_0x830305([0x2e]));return _0x348d0d[_0x830305([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x24c9ab=>_0x24c9ab[_0x830305([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x830305([0x2a])))[_0x830305([0x6d,0x61,0x70])](_0x394741=>_0x394741[_0x830305([0x73,0x70,0x6c,0x69,0x74])](_0x830305([0x2e])))[_0x830305([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5b6b47=>_0x5b6b47[_0x830305([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3e1598[_0x830305([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x830305([0x6d,0x61,0x70])](_0x2eba58=>Array(_0x3e1598[_0x830305([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2eba58[_0x830305([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x830305([0x66,0x69,0x6c,0x6c])](_0x2eba58[0x0]===_0x830305([0x2a])?_0x830305([0x2a]):'')[_0x830305([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2eba58))[_0x830305([0x73,0x6f,0x6d,0x65])](_0x331c74=>_0x3e1598[_0x830305([0x65,0x76,0x65,0x72,0x79])]((_0x22f2d3,_0x262c00)=>_0x331c74[_0x262c00]===_0x22f2d3||_0x331c74[_0x262c00]===_0x830305([0x2a])));}function _0x59b458(){return _0x59aae1&&_0x24e93f?new window[(_0x830305([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5c3d3b,_0x4d5e85)=>{_0x59aae1[_0x830305([0x74,0x68,0x65,0x6e])](_0x5c3d3b,_0x4d5e85),_0x24e93f[_0x830305([0x74,0x68,0x65,0x6e])](_0x23f4f8=>{_0x23f4f8!=_0x830305([0x56,0x61,0x6c,0x69,0x64])&&_0x5c3d3b(_0x23f4f8);},_0x4d5e85);}):_0x59aae1||_0x24e93f||_0x830305([0x56,0x61,0x6c,0x69,0x64]);}}function _0x14fd22(_0x2ee1a7,_0x1cb744){return new window[(_0x830305([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x180231=>{if(_0x88b0d8())return _0x180231(_0x830305([0x56,0x61,0x6c,0x69,0x64]));_0x172b8e(),_0x394bbd[_0x830305([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x830305([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x39d251=!0x1;const _0x53c2b6=_0x377632();function _0x48f436(_0x243388){return!!_0x243388&&(typeof _0x243388===_0x830305([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x243388===_0x830305([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x243388[_0x830305([0x74,0x68,0x65,0x6e])]===_0x830305([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x243388[_0x830305([0x63,0x61,0x74,0x63,0x68])]===_0x830305([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5efa15(_0x3aa224){_0x5c8761(_0x3aa224)[_0x830305([0x74,0x68,0x65,0x6e])](_0x559743=>{if(!_0x559743||_0x559743[_0x830305([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x830305([0x6f,0x6b]))return _0x830305([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2a4f30(_0x5715a5(_0x53c2b6+_0x1cb744))!=_0x559743[_0x830305([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x830305([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x830305([0x56,0x61,0x6c,0x69,0x64]);})[_0x830305([0x74,0x68,0x65,0x6e])](_0x12d6fb=>(_0xe0a4aa(),_0x12d6fb),()=>{const _0x138823=_0x4ecaf0();return null==_0x138823?(_0xe0a4aa(),_0x830305([0x56,0x61,0x6c,0x69,0x64])):_0x830305(_0x1c2dda-_0x138823>(0x2d6bec47^_0x259ca6)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x830305([0x74,0x68,0x65,0x6e])](_0x180231)[_0x830305([0x63,0x61,0x74,0x63,0x68])](()=>{_0x180231(_0x830305([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5b3218=0x95186c7^_0x259ca6;function _0xe0a4aa(){const _0x397ef3=_0x830305([0x6c,0x6c,0x63,0x74,0x2d])+_0x2a4f30(_0x5715a5(_0x2ee1a7)),_0x5a2b6c=_0x38e42f(_0x2a4f30(window[_0x830305([0x4d,0x61,0x74,0x68])][_0x830305([0x63,0x65,0x69,0x6c])](_0x1c2dda/_0x5b3218)));window[_0x830305([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x830305([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x397ef3,_0x5a2b6c);}function _0x4ecaf0(){const _0x360e14=_0x830305([0x6c,0x6c,0x63,0x74,0x2d])+_0x2a4f30(_0x5715a5(_0x2ee1a7)),_0x5ed1f2=window[_0x830305([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x830305([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x360e14);return _0x5ed1f2?window[_0x830305([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x38e42f(_0x5ed1f2),0x10)*_0x5b3218:null;}function _0x5c8761(_0x366671){return new window[(_0x830305([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x9bfe7c,_0x5266f7)=>{_0x366671[_0x830305([0x74,0x68,0x65,0x6e])](_0x9bfe7c,_0x5266f7),window[_0x830305([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5266f7,0x966bc87^_0x259ca6);});}}_0x394bbd[_0x830305([0x6f,0x6e])](_0x830305([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x442229,_0x193678)=>{if(_0x193678[0x0]!=_0x2ee1a7)return _0x180231(_0x830305([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x193678[0x1]={..._0x193678[0x1],[_0x830305([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x53c2b6};},{[_0x830305([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x830305([0x68,0x69,0x67,0x68])}),_0x394bbd[_0x830305([0x6f,0x6e])](_0x830305([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x172c88=>{_0x48f436(_0x172c88[_0x830305([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x39d251=!0x0,_0x5efa15(_0x172c88[_0x830305([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x830305([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x830305([0x6c,0x6f,0x77])}),_0x2bb3b8[_0x830305([0x74,0x68,0x65,0x6e])](()=>{_0x39d251||_0x180231(_0x830305([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x88b0d8(){return _0x394bbd[_0x830305([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x830305([0x76,0x69,0x65,0x77])][_0x830305([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x830305([0x61,0x75,0x74,0x6f]);}function _0x172b8e(){_0x394bbd[_0x830305([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x830305([0x76,0x69,0x65,0x77])][_0x830305([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x830305([0x61,0x75,0x74,0x6f]);}}function _0x4943d9(_0x1f8d10){const _0x1661c9=[new window[(_0x830305([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3c8ae1=>setTimeout(_0x3c8ae1,0x96e568b^_0x259ca6)),_0x2bb3b8[_0x830305([0x74,0x68,0x65,0x6e])](()=>new window[(_0x830305([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x427605=>{let _0x312fc7=0x0;_0x394bbd[_0x830305([0x6d,0x6f,0x64,0x65,0x6c])][_0x830305([0x6f,0x6e])](_0x830305([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x44d314,_0x584912)=>{_0x584912[0x0][_0x830305([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x312fc7++,_0x312fc7==(0x96769bf^_0x259ca6)&&(_0x427605(),_0x44d314[_0x830305([0x6f,0x66,0x66])]());});}))];return window[_0x830305([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x830305([0x72,0x61,0x63,0x65])](_0x1661c9)[_0x830305([0x74,0x68,0x65,0x6e])](()=>_0x1f8d10);}async function _0x5c9974(){await _0x2bb3b8,_0x394bbd[_0x830305([0x6d,0x6f,0x64,0x65,0x6c])][_0x830305([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3bbfc1,_0x394bbd[_0x830305([0x6d,0x6f,0x64,0x65,0x6c])][_0x830305([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3bbfc1,_0x394bbd[_0x830305([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x830305([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2effde(_0x1d08a2){const _0x4cd4dd=_0x4d1b2c();_0x394bbd[_0x4cd4dd]=_0x830305([0x64,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1d08a2,_0x1d08a2!=_0x830305([0x56,0x61,0x6c,0x69,0x64])&&_0x5c9974();}function _0x4d1b2c(){const _0x5bc9f9=window[_0x830305([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x830305([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x830305([0x6e,0x6f,0x77])]())[_0x830305([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x830305([0x2e]),'');let _0x238cf5=_0x830305([0x4b]);for(let _0x2ebe2a=0x0;_0x2ebe2a<_0x5bc9f9[_0x830305([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2ebe2a+=0x2){let _0x506fc5=window[_0x830305([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5bc9f9[_0x830305([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2ebe2a,_0x2ebe2a+0x2));_0x506fc5>=_0x4e9336[_0x830305([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x506fc5-=_0x4e9336[_0x830305([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x238cf5+=_0x4e9336[_0x506fc5];}return _0x238cf5;}function _0x51496(){const _0x341638=_0x49e50d[_0x830305([0x73,0x70,0x6c,0x69,0x74])](_0x830305([0x2e]));if(0x3!=_0x341638[_0x830305([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3f2ea3(_0x341638[0x1]);function _0x3f2ea3(_0x5aa053){const _0x4ee271=_0x5e1e04(_0x5aa053);return _0x4ee271&&_0x5061a4()?_0x4ee271:null;function _0x5061a4(){const _0x1a5d15=_0x4ee271[_0x830305([0x6a,0x74,0x69])],_0x5b97fe=window[_0x830305([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1a5d15[_0x830305([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1a5d15[_0x830305([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x338db4={..._0x4ee271,[_0x830305([0x6a,0x74,0x69])]:_0x1a5d15[_0x830305([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1a5d15[_0x830305([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x338db4[_0x830305([0x76,0x63])],_0x5715a5(_0x338db4)==_0x5b97fe;}}}async function _0x23ddd3(){let _0x57b6cf=!0x0;try{const _0x54d094=_0x49e50d[_0x830305([0x73,0x70,0x6c,0x69,0x74])](_0x830305([0x2e])),[_0x3a701b,_0x2b2c58,_0x51afba]=_0x54d094;return _0x500977(_0x3a701b),await _0x1e8642(_0x3a701b,_0x2b2c58,_0x51afba),_0x57b6cf;}catch{return!0x1;}function _0x500977(_0x3ea318){const _0x4500e4=_0x5e1e04(_0x3ea318);_0x4500e4&&_0x4500e4[_0x830305([0x61,0x6c,0x67])]==_0x830305([0x45,0x53,0x32,0x35,0x36])||(_0x57b6cf=!0x1);}async function _0x1e8642(_0x10063e,_0x1ab5c8,_0x338c08){const _0x401b23=window[_0x830305([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x830305([0x66,0x72,0x6f,0x6d])](_0x43a66a(_0x338c08),_0x552736=>_0x552736[_0x830305([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4458f1=new window[(_0x830305([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x830305([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x10063e+_0x830305([0x2e])+_0x1ab5c8),_0x577f45=window[_0x830305([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x830305([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x577f45)return;const _0x44b71e=await _0x577f45[_0x830305([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x830305([0x6a,0x77,0x6b]),_0x39fa1f,{[_0x830305([0x6e,0x61,0x6d,0x65])]:_0x830305([0x45,0x43,0x44,0x53,0x41]),[_0x830305([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x830305([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x830305([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x577f45[_0x830305([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x830305([0x6e,0x61,0x6d,0x65])]:_0x830305([0x45,0x43,0x44,0x53,0x41]),[_0x830305([0x68,0x61,0x73,0x68])]:{[_0x830305([0x6e,0x61,0x6d,0x65])]:_0x830305([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x44b71e,_0x401b23,_0x4458f1)||(_0x57b6cf=!0x1);}}function _0x5e1e04(_0x4d4381){return _0x4d4381[_0x830305([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x830305([0x65,0x79]))?JSON[_0x830305([0x70,0x61,0x72,0x73,0x65])](_0x43a66a(_0x4d4381)):null;}function _0x43a66a(_0x5e2af2){return window[_0x830305([0x61,0x74,0x6f,0x62])](_0x5e2af2[_0x830305([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x830305([0x2b]))[_0x830305([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x830305([0x2f])));}function _0x5715a5(_0x2e485c){let _0x255f04=0x1505;function _0x5dacec(_0x519101){for(let _0x2da794=0x0;_0x2da794<_0x519101[_0x830305([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2da794++){const _0x4efe7c=_0x519101[_0x830305([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2da794);_0x255f04=(_0x255f04<<0x5)+_0x255f04+_0x4efe7c,_0x255f04&=_0x255f04;}}function _0xe2c76f(_0x156b85){Array[_0x830305([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x156b85)?_0x156b85[_0x830305([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xe2c76f):_0x156b85&&typeof _0x156b85==_0x830305([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x830305([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x156b85)[_0x830305([0x73,0x6f,0x72,0x74])]()[_0x830305([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2735fa,_0x501119])=>{_0x5dacec(_0x2735fa),_0xe2c76f(_0x501119);}):_0x5dacec(window[_0x830305([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x156b85));}return _0xe2c76f(_0x2e485c),_0x255f04>>>0x0;}function _0x2a4f30(_0x38f3b4){return _0x38f3b4[_0x830305([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x830305([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x830305([0x30]));}function _0x38e42f(_0x2038da){return _0x2038da[_0x830305([0x73,0x70,0x6c,0x69,0x74])]('')[_0x830305([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x830305([0x6a,0x6f,0x69,0x6e])]('');}function _0x3bbfc1(){}function _0x830305(_0x28e11d){const _0x5a335b=_0x4cf3;return _0x28e11d[_0x5a335b(0xb1)](_0x57c332=>String[_0x5a335b(0xbe)](_0x57c332))[_0x5a335b(0x84)]('');}_0x2effde(await _0x1e1111());}(this);}[_0x350215(0xb9)](){const _0x2b6e65=_0x350215;super[_0x2b6e65(0xb9)](),this[_0x2b6e65(0xa3)][_0x2b6e65(0xb9)](),this[_0x2b6e65(0x9b)][_0x2b6e65(0x8b)]();}[_0x350215(0xc8)](_0x4f7f90,{outlineDefinitions:_0x20fa4d,outlineChanges:_0x367e45}){const _0x5e6a58=_0x350215;this[_0x5e6a58(0x9a)]=_0x20fa4d,this[_0x5e6a58(0xa3)][_0x5e6a58(0x99)](_0x367e45);}[_0x350215(0x96)](_0x50e182){const _0x44f574=_0x350215;this[_0x44f574(0x9a)][_0x44f574(0xa8)]&&this[_0x44f574(0x9a)][_0x50e182]&&(this[_0x44f574(0xa3)][_0x44f574(0xbf)]=_0x50e182);}[_0x350215(0x93)](_0x5d0ad5){const _0x156539=_0x350215,_0x1948fa=this[_0x156539(0x9a)][_0x5d0ad5][_0x156539(0xae)];this[_0x156539(0x9e)][_0x156539(0x8a)][_0x156539(0xa5)](_0x35d49f=>{const _0x324550=_0x156539;_0x35d49f[_0x324550(0xc1)](_0x1948fa,0x0);}),this[_0x156539(0x9e)][_0x156539(0x9c)][_0x156539(0xa3)][_0x156539(0x98)]({'alignToTop':!0x0,'forceScroll':!0x0}),this[_0x156539(0x9e)][_0x156539(0x9c)][_0x156539(0xa3)][_0x156539(0xaa)](),this[_0x156539(0x96)](_0x5d0ad5);}[_0x350215(0xb3)](){const _0x392dcb=_0x350215,_0x392ca1=this[_0x392dcb(0x9e)];let _0x354d6f;for(const _0x394ff1 of _0x392ca1[_0x392dcb(0x8a)][_0x392dcb(0x8e)][_0x392dcb(0xb5)]()){const _0x14b340=_0x392ca1[_0x392dcb(0x9c)][_0x392dcb(0xa3)][_0x392dcb(0xbd)](_0x394ff1),_0x13cb81=_0x14b340&&new _0x5c23eb(_0x14b340)[_0x392dcb(0xad)]();if(_0x13cb81){const _0x3d2ffb=new _0x5c23eb(_0xc165a2[_0x392dcb(0x86)])[_0x392dcb(0xc7)](_0x13cb81);_0x3d2ffb&&(_0x354d6f=_0x3d2ffb[_0x392dcb(0xc3)]+0.25*_0x3d2ffb[_0x392dcb(0xb0)]);}}if(void 0x0===_0x354d6f)return;const _0x2e5e06=h(_0x392ca1[_0x392dcb(0x9c)],this[_0x392dcb(0x9a)],_0x354d6f);_0x2e5e06?this[_0x392dcb(0x96)](this[_0x392dcb(0x9a)][_0x392dcb(0x91)](_0x2e5e06)):this[_0x392dcb(0x96)](-0x1);}}function h(_0x1eac54,_0x17ef7a,_0x284a92,_0x264d90=0x0,_0x405ead=_0x17ef7a[_0x350215(0xa8)]-0x1){const _0x56208b=_0x350215,_0x31bffe=Math[_0x56208b(0x92)](_0x264d90+(_0x405ead-_0x264d90)/0x2);if(_0x405ead>=_0x264d90){const _0x234c41=_0x17ef7a[_0x31bffe],_0x485c4b=_0x1eac54[_0x56208b(0x83)][_0x56208b(0xa1)](_0x234c41[_0x56208b(0xae)]);if(!_0x485c4b)return null;const _0x5b5a9c=_0x1eac54[_0x56208b(0xa3)][_0x56208b(0x82)][_0x56208b(0xa7)](_0x485c4b);return new _0x5c23eb(_0x5b5a9c)[_0x56208b(0xbc)]>_0x284a92?h(_0x1eac54,_0x17ef7a,_0x284a92,_0x264d90,_0x31bffe-0x1):h(_0x1eac54,_0x17ef7a,_0x284a92,_0x31bffe+0x1,_0x405ead);}return _0x31bffe<0x0?null:_0x17ef7a[_0x31bffe];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3cb666=_0x1cbf;(function(_0x568b32,_0x1243ca){const _0x2832e2=_0x1cbf,_0x10eea1=_0x568b32();while(!![]){try{const _0x3a9bd9=parseInt(_0x2832e2(0x106))/0x1+-parseInt(_0x2832e2(0x125))/0x2*(-parseInt(_0x2832e2(0x111))/0x3)+parseInt(_0x2832e2(0x123))/0x4*(parseInt(_0x2832e2(0x107))/0x5)+parseInt(_0x2832e2(0xf6))/0x6*(parseInt(_0x2832e2(0xfd))/0x7)+-parseInt(_0x2832e2(0x108))/0x8+-parseInt(_0x2832e2(0xf9))/0x9*(-parseInt(_0x2832e2(0xf7))/0xa)+-parseInt(_0x2832e2(0x113))/0xb;if(_0x3a9bd9===_0x1243ca)break;else _0x10eea1['push'](_0x10eea1['shift']());}catch(_0x4b21d1){_0x10eea1['push'](_0x10eea1['shift']());}}}(_0x1f1b,0x702b6));import{Plugin as _0x12cf36}from'ckeditor5/src/core.js';function _0x1cbf(_0x372c58,_0xe56204){const _0x1f1b5b=_0x1f1b();return _0x1cbf=function(_0x1cbf4f,_0x11180a){_0x1cbf4f=_0x1cbf4f-0xf5;let _0x4cae17=_0x1f1b5b[_0x1cbf4f];return _0x4cae17;},_0x1cbf(_0x372c58,_0xe56204);}function _0x1f1b(){const _0x48c027=['8788362qvZZyG','level','init','length','getRootNames','indexOf','getRoot','getChild','change','_headingNames','isPremiumPlugin','text','fire','model','data','backward','1772088MOJGYs','editing','5116zbPEYK','push','document','toModel','name','findIndex','_deriveHeadingElementsFromConversion','element','afterInit','18KKnTGK','5676680xHfkCN','activeItemIndex','9uYuvrJ','view','getFirstPosition','isOfficialPlugin','554806pcSMft','createElement','domConverter','domToView','_getActiveHeading','get','documentOutline.headings','selection','modelElement','333502daTBHz','5zqYKEI','3836928FogVrE','_getOutlineDefinitions','editor','DocumentOutlineUtils','getChildren','includes','config','item','_getHeadingNames','183hZrhdG','pluginName'];_0x1f1b=function(){return _0x48c027;};return _0x1f1b();}import{debounce as _0x44c768}from'es-toolkit/compat';import{ModelTreeWalker as _0x2d90f1}from'ckeditor5/src/engine.js';import{getElementText as _0x123e0f,getDefaultFeatureHeadingNames as _0x10dbad}from'./utils.js';import{diff as _0x327264,diffToChanges as _0xb53ed4}from'ckeditor5/src/utils.js';export class DocumentOutlineUtils extends _0x12cf36{static get[_0x3cb666(0x112)](){const _0x4561e9=_0x3cb666;return _0x4561e9(0x10b);}static get[_0x3cb666(0xfc)](){return!0x0;}static get[_0x3cb666(0x11d)](){return!0x0;}[_0x3cb666(0x11c)]=[];[_0x3cb666(0x115)](){const _0x160b03=_0x3cb666,_0x4b1365=this[_0x160b03(0x10a)];this[_0x160b03(0x11c)]=this[_0x160b03(0x110)]();let _0x52d53d=[];_0x4b1365[_0x160b03(0x120)][_0x160b03(0x127)]['on'](_0x160b03(0x11b),_0x44c768(()=>{const _0x2e621b=_0x160b03,_0x3c6538=_0x52d53d;_0x52d53d=this[_0x2e621b(0x109)]();const _0x4b0e1a=_0x327264(_0x3c6538,_0x52d53d,(_0x19db92,_0x27d521)=>_0x19db92[_0x2e621b(0x114)]===_0x27d521[_0x2e621b(0x114)]&&_0x19db92[_0x2e621b(0x11e)]===_0x27d521[_0x2e621b(0x11e)]&&_0x19db92[_0x2e621b(0x105)]===_0x27d521[_0x2e621b(0x105)]),_0x5eaa1f=_0xb53ed4(_0x4b0e1a,_0x52d53d),_0x586bc0=this[_0x2e621b(0x101)](),_0x398799=_0x52d53d[_0x2e621b(0x12a)](_0x53abdf=>_0x53abdf[_0x2e621b(0x105)]===_0x586bc0);_0x5eaa1f[_0x2e621b(0x116)]&&this[_0x2e621b(0x11f)](_0x2e621b(0x11b),{'outlineDefinitions':_0x52d53d,'activeItemIndex':_0x398799,'outlineChanges':_0x5eaa1f}),this[_0x2e621b(0x11f)](_0x2e621b(0xf8),{'index':_0x398799});},0xfa,{'leading':!0x0,'trailing':!0x0}));}[_0x3cb666(0xf5)](){const _0x2db477=_0x3cb666;this[_0x2db477(0x11c)][_0x2db477(0x116)]||this[_0x2db477(0x12b)]();}[_0x3cb666(0x109)](){const _0x342b21=_0x3cb666,_0x255cfa=this[_0x342b21(0x10a)],_0x2b2ae5=[],_0x8bd2ef=this[_0x342b21(0x11c)];for(const _0x2d1027 of _0x255cfa[_0x342b21(0x120)][_0x342b21(0x127)][_0x342b21(0x117)]())_0x5aeef9(_0x255cfa[_0x342b21(0x120)][_0x342b21(0x127)][_0x342b21(0x119)](_0x2d1027));function _0x5aeef9(_0x130464){const _0x375d28=_0x342b21;for(const _0x1dae8f of _0x130464[_0x375d28(0x10c)]())_0x1dae8f['is'](_0x375d28(0x12c))&&(_0x8bd2ef[_0x375d28(0x10d)](_0x1dae8f[_0x375d28(0x129)])&&_0x2b2ae5[_0x375d28(0x126)]({'level':_0x8bd2ef[_0x375d28(0x118)](_0x1dae8f[_0x375d28(0x129)])+0x1,'text':_0x123e0f(_0x1dae8f),'modelElement':_0x1dae8f}),_0x5aeef9(_0x1dae8f));}return _0x2b2ae5;}[_0x3cb666(0x101)](){const _0x458c45=_0x3cb666,_0x3209f1=this[_0x458c45(0x10a)][_0x458c45(0x120)][_0x458c45(0x127)][_0x458c45(0x104)][_0x458c45(0xfb)](),_0x2f1483=new _0x2d90f1({'direction':_0x458c45(0x122),'startPosition':_0x3209f1});for(const _0x52a261 of _0x2f1483)if(_0x52a261[_0x458c45(0x10f)]['is'](_0x458c45(0x12c))&&this[_0x458c45(0x11c)][_0x458c45(0x10d)](_0x52a261[_0x458c45(0x10f)][_0x458c45(0x129)]))return _0x52a261[_0x458c45(0x10f)];}[_0x3cb666(0x110)](){const _0x141e4e=_0x3cb666,_0x542778=this[_0x141e4e(0x10a)][_0x141e4e(0x10e)][_0x141e4e(0x102)](_0x141e4e(0x103));return _0x542778||_0x10dbad(this[_0x141e4e(0x10a)]);}[_0x3cb666(0x12b)](){const _0x9f4dcf=_0x3cb666,_0x46263c=this[_0x9f4dcf(0x10a)],_0x22a46e=['h1','h2','h3','h4','h5','h6'],_0x37a741=[];for(const _0x24eed1 of _0x22a46e){const _0x288d89=_0x46263c[_0x9f4dcf(0x124)][_0x9f4dcf(0xfa)][_0x9f4dcf(0xff)][_0x9f4dcf(0x100)](document[_0x9f4dcf(0xfe)](_0x24eed1)),_0x257e37=_0x46263c[_0x9f4dcf(0x121)][_0x9f4dcf(0x128)](_0x288d89)[_0x9f4dcf(0x11a)](0x0);_0x257e37?.['is'](_0x9f4dcf(0x12c))&&_0x37a741[_0x9f4dcf(0x126)](_0x257e37[_0x9f4dcf(0x129)]);}this[_0x9f4dcf(0x11c)]=_0x37a741;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x4e70(_0x5948fe,_0x11a479){const _0x16203c=_0x1620();return _0x4e70=function(_0x4e704b,_0x4f50d0){_0x4e704b=_0x4e704b-0xdd;let _0x70dbc1=_0x16203c[_0x4e704b];return _0x70dbc1;},_0x4e70(_0x5948fe,_0x11a479);}(function(_0x441387,_0x454adf){const _0x55aa24=_0x4e70,_0x170fed=_0x441387();while(!![]){try{const _0x19405e=parseInt(_0x55aa24(0xe4))/0x1+-parseInt(_0x55aa24(0xe6))/0x2*(-parseInt(_0x55aa24(0xe9))/0x3)+parseInt(_0x55aa24(0xf4))/0x4+-parseInt(_0x55aa24(0xec))/0x5*(parseInt(_0x55aa24(0xee))/0x6)+parseInt(_0x55aa24(0xe7))/0x7*(parseInt(_0x55aa24(0xe8))/0x8)+-parseInt(_0x55aa24(0xf1))/0x9+-parseInt(_0x55aa24(0xf5))/0xa;if(_0x19405e===_0x454adf)break;else _0x170fed['push'](_0x170fed['shift']());}catch(_0x887c27){_0x170fed['push'](_0x170fed['shift']());}}}(_0x1620,0x5d618));import{View as _0x5efd4c}from'ckeditor5/src/ui.js';import{getTranslation as _0x5837b2}from'../../utils/common-translations.js';export class DocumentOutlineItemView extends _0x5efd4c{constructor(_0x1a2e85,_0x276d02=!0x1){const _0x35222a=_0x4e70;super(_0x1a2e85);const _0x34b370=this[_0x35222a(0xe3)],_0x415f59=_0x276d02?'['+_0x5837b2(_0x1a2e85,_0x35222a(0xf0))+']':'';this[_0x35222a(0xdf)](_0x35222a(0xf2),''),this[_0x35222a(0xdf)](_0x35222a(0xe5),0x1),this[_0x35222a(0xdf)](_0x35222a(0xdd),!0x1),this[_0x35222a(0xeb)](_0x35222a(0xef))['to'](this,_0x35222a(0xf2),_0x55c359=>!_0x55c359),this[_0x35222a(0xed)]({'tag':_0x35222a(0xe0),'attributes':{'class':['ck',_0x35222a(0xe1),_0x35222a(0xe2),_0x34b370['to'](_0x35222a(0xe5),_0x1ab861=>_0x35222a(0xf3)+_0x1ab861),_0x34b370['if'](_0x35222a(0xdd),_0x35222a(0xde)),_0x34b370['if'](_0x35222a(0xef),_0x35222a(0xf6))],'title':_0x34b370['to'](_0x35222a(0xf2))},'children':[{'text':_0x34b370['to'](_0x35222a(0xf2),_0x46a0d0=>_0x46a0d0||_0x415f59)}],'on':{'click':_0x34b370['to'](_0x35222a(0xea))}});}}function _0x1620(){const _0x40630b=['level','60378wXBRII','259rIpWLb','138328qBrLse','51NVVbgO','click','bind','3105ixKhpb','setTemplate','1524QobbwD','isEmpty','Empty\x20heading','5783868fpflyi','text','ck-document-outline__item_level-','557120KZfJau','3800780bIGHNE','ck-document-outline__item_empty','isActive','ck-document-outline__item_active','set','div','ck-reset','ck-document-outline__item','bindTemplate','270692hlvZxt'];_0x1620=function(){return _0x40630b;};return _0x1620();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x469ae3=_0x3d25;(function(_0x4780d2,_0x353bde){const _0x2d5c96=_0x3d25,_0x42527f=_0x4780d2();while(!![]){try{const _0x55f5e3=parseInt(_0x2d5c96(0x7e))/0x1*(parseInt(_0x2d5c96(0x76))/0x2)+parseInt(_0x2d5c96(0xa2))/0x3+-parseInt(_0x2d5c96(0x9d))/0x4+-parseInt(_0x2d5c96(0x94))/0x5*(parseInt(_0x2d5c96(0x7a))/0x6)+-parseInt(_0x2d5c96(0x9f))/0x7+parseInt(_0x2d5c96(0x99))/0x8*(-parseInt(_0x2d5c96(0x87))/0x9)+parseInt(_0x2d5c96(0x8d))/0xa;if(_0x55f5e3===_0x353bde)break;else _0x42527f['push'](_0x42527f['shift']());}catch(_0x3a3884){_0x42527f['push'](_0x42527f['shift']());}}}(_0x9489,0x87126));import{View as _0x1f50c4}from'ckeditor5/src/ui.js';import{scrollAncestorsToShowTarget as _0x316bc2}from'ckeditor5/src/utils.js';import{DocumentOutlineItemView as _0x4d9d4e}from'./documentoutlineitemview.js';function _0x3d25(_0x5a80d8,_0x46da1b){const _0x9489ab=_0x9489();return _0x3d25=function(_0x3d251e,_0x2a20f6){_0x3d251e=_0x3d251e-0x73;let _0x53f7ea=_0x9489ab[_0x3d251e];return _0x53f7ea;},_0x3d25(_0x5a80d8,_0x46da1b);}function _0x9489(){const _0x115a17=['remove','2163070MAtsBL','index','delete','463641mXISDR','documentOutlineContainer','itemSelected','element','items','div','get','map','_setActiveItem','76226gegvKj','showEmptyHeadingText','insert','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.','1846902TTCtbS','howMany','setTemplate','ck-document-outline','13JzcDwo','_handleItemClick','forEach','set','activeItemIndex','ck-reset','sync','values','level','27xzCPZN','contentLanguageDirection','getIndex','locale','click','change:activeItemIndex','18575460GkMbFs','destroy','bind','_scrollToItem','source','_insertItem','fire','5CazoRJ','_deleteItem','isActive','delegate','createCollection','2845008OeWABi','addMany','text','type','1082412TFlXcn'];_0x9489=function(){return _0x115a17;};return _0x9489();}import{getTranslation as _0x211fb9}from'../../utils/common-translations.js';export class DocumentOutlineView extends _0x1f50c4{[_0x469ae3(0xa6)];[_0x469ae3(0xa3)];[_0x469ae3(0x77)];constructor(_0x9fd819,_0x58bb24=!0x1,_0x5c213b){const _0x597234=_0x469ae3;super(_0x9fd819),this[_0x597234(0x77)]=_0x58bb24,this[_0x597234(0x81)](_0x597234(0x82),-0x1),this[_0x597234(0xa3)]=_0x5c213b,this[_0x597234(0xa6)]=this[_0x597234(0x98)](),this[_0x597234(0xa6)][_0x597234(0x97)](_0x597234(0x8b))['to'](this),this['on'](_0x597234(0x8b),this[_0x597234(0x7f)][_0x597234(0x8f)](this)),this['on'](_0x597234(0x8c),(_0x5aa380,_0x26fcf2,_0x14a6a0,_0x5890e4)=>{const _0xe3fd87=_0x597234;this[_0xe3fd87(0x75)](_0x5890e4,_0x14a6a0);}),this[_0x597234(0x7c)]({'tag':_0x597234(0xa7),'attributes':{'class':['ck',_0x597234(0x83),_0x597234(0x7d)],'dir':_0x9fd819[_0x597234(0x88)],'data-document-outline-empty-placeholder':_0x211fb9(_0x9fd819,_0x597234(0x79)),'tabindex':-0x1},'children':this[_0x597234(0xa6)]});}[_0x469ae3(0x84)](_0x4ce9b6){const _0x4e9ae0=_0x469ae3;_0x4ce9b6[_0x4e9ae0(0x80)](_0x222972=>{const _0x10b16a=_0x4e9ae0;_0x10b16a(0x78)==_0x222972[_0x10b16a(0x9c)]?this[_0x10b16a(0x92)](_0x222972[_0x10b16a(0xa0)],..._0x222972[_0x10b16a(0x85)]):_0x10b16a(0xa1)==_0x222972[_0x10b16a(0x9c)]&&this[_0x10b16a(0x95)](_0x222972[_0x10b16a(0xa0)],_0x222972[_0x10b16a(0x7b)]);});}[_0x469ae3(0x75)](_0x3cba88,_0x2aa35e){const _0x8250ce=_0x469ae3;if(-0x1!==_0x3cba88){const _0x2a7d33=this[_0x8250ce(0xa6)][_0x8250ce(0x73)](_0x3cba88);_0x2a7d33&&(_0x2a7d33[_0x8250ce(0x96)]=!0x1);}-0x1!==_0x2aa35e&&(this[_0x8250ce(0xa6)][_0x8250ce(0x73)](_0x2aa35e)[_0x8250ce(0x96)]=!0x0,this[_0x8250ce(0x90)](_0x2aa35e));}[_0x469ae3(0x92)](_0x27bdbc,..._0x447e34){const _0x4e2c55=_0x469ae3,_0x15aa4d=_0x447e34[_0x4e2c55(0x74)]((_0x22dd6c,_0x31897f)=>{const _0x3a1c47=_0x4e2c55,_0x7ce7eb=new _0x4d9d4e(this[_0x3a1c47(0x8a)],this[_0x3a1c47(0x77)]);return _0x7ce7eb[_0x3a1c47(0x9b)]=_0x22dd6c[_0x3a1c47(0x9b)],_0x7ce7eb[_0x3a1c47(0x86)]=_0x22dd6c[_0x3a1c47(0x86)],_0x27bdbc+_0x31897f===this[_0x3a1c47(0x82)]&&(_0x7ce7eb[_0x3a1c47(0x96)]=!0x0),_0x7ce7eb;});this[_0x4e2c55(0xa6)][_0x4e2c55(0x9a)](_0x15aa4d,_0x27bdbc);}[_0x469ae3(0x95)](_0x5520bd,_0x9caac){const _0x2da7d2=_0x469ae3;do{this[_0x2da7d2(0xa6)][_0x2da7d2(0x9e)](_0x5520bd);}while(--_0x9caac);}[_0x469ae3(0x7f)](_0x25300e){const _0x3ff97f=_0x469ae3,_0x190c49=this[_0x3ff97f(0xa6)][_0x3ff97f(0x89)](_0x25300e[_0x3ff97f(0x91)]);this[_0x3ff97f(0x93)](_0x3ff97f(0xa4),_0x190c49);}[_0x469ae3(0x90)](_0x5efc10){const _0x5217a3=_0x469ae3;_0x316bc2(this[_0x5217a3(0xa6)][_0x5217a3(0x73)](_0x5efc10)[_0x5217a3(0xa5)],0x14,this[_0x5217a3(0xa3)]);}[_0x469ae3(0x8e)](){const _0x12497=_0x469ae3;super[_0x12497(0x8e)](),this[_0x12497(0xa5)][_0x12497(0x9e)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x5b240f,_0xf717b7){const _0x2502cd=_0x5749,_0x12be15=_0x5b240f();while(!![]){try{const _0x1f57c3=parseInt(_0x2502cd(0x1cb))/0x1*(parseInt(_0x2502cd(0x1c7))/0x2)+-parseInt(_0x2502cd(0x1bf))/0x3+-parseInt(_0x2502cd(0x1bb))/0x4*(-parseInt(_0x2502cd(0x1c4))/0x5)+parseInt(_0x2502cd(0x1c1))/0x6*(-parseInt(_0x2502cd(0x1b1))/0x7)+-parseInt(_0x2502cd(0x1b0))/0x8+-parseInt(_0x2502cd(0x1c5))/0x9+parseInt(_0x2502cd(0x1ba))/0xa*(parseInt(_0x2502cd(0x1c0))/0xb);if(_0x1f57c3===_0xf717b7)break;else _0x12be15['push'](_0x12be15['shift']());}catch(_0x276dd5){_0x12be15['push'](_0x12be15['shift']());}}}(_0x50dc,0x1a486));import{ModelText as _0x4e1582}from'ckeditor5/src/engine.js';export function getElementText(_0x4868c0){const _0x3d1653=_0x5749;let _0x30cdea='';for(const _0x2abda4 of _0x4868c0[_0x3d1653(0x1c2)]())_0x2abda4 instanceof _0x4e1582&&(_0x30cdea+=_0x2abda4[_0x3d1653(0x1b5)]);return _0x30cdea;}function _0x50dc(){const _0x78d457=['1419Bfblai','297204qQbrtV','getChildren','heading.options','80605FHTDSk','1713528CRhjvR','plugins','6ATNVrw','htmlH6','htmlH1','model','39719AJMzZr','GeneralHtmlSupport','888696PAWNaF','7vWucpJ','push','htmlH3','reduce','data','htmlH5','get','paragraph','config','33290kSjsal','8HgCOnX','htmlH4','has','htmlH2','366519pXsGwZ'];_0x50dc=function(){return _0x78d457;};return _0x50dc();}function _0x5749(_0x332db0,_0x6da8b0){const _0x50dcde=_0x50dc();return _0x5749=function(_0x574906,_0x4a6e28){_0x574906=_0x574906-0x1b0;let _0x1574f1=_0x50dcde[_0x574906];return _0x1574f1;},_0x5749(_0x332db0,_0x6da8b0);}export function getDefaultFeatureHeadingNames(_0x486426){const _0x2a2ac4=_0x5749,_0x322077=_0x486426[_0x2a2ac4(0x1b9)][_0x2a2ac4(0x1b7)](_0x2a2ac4(0x1c3));return _0x322077?_0x322077[_0x2a2ac4(0x1b4)]((_0x305a7c,_0x938384)=>(_0x2a2ac4(0x1b8)!==_0x938384[_0x2a2ac4(0x1ca)]&&_0x305a7c[_0x2a2ac4(0x1b2)](_0x938384[_0x2a2ac4(0x1ca)]),_0x305a7c),[]):_0x486426[_0x2a2ac4(0x1c6)][_0x2a2ac4(0x1bd)](_0x2a2ac4(0x1cc))?[_0x2a2ac4(0x1c9),_0x2a2ac4(0x1be),_0x2a2ac4(0x1b3),_0x2a2ac4(0x1bc),_0x2a2ac4(0x1b6),_0x2a2ac4(0x1c8)]:[];}
|
package/src/documentoutline.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x401870=_0xb401;function _0xb401(_0x3cf1ac,_0x2dcbe3){const _0x4e37d5=_0x4e37();return _0xb401=function(_0xb40168,_0x1b041c){_0xb40168=_0xb40168-0x17b;let _0x48d37c=_0x4e37d5[_0xb40168];return _0x48d37c;},_0xb401(_0x3cf1ac,_0x2dcbe3);}function _0x4e37(){const _0x240eab=['documentOutlineLicenseKeyValid','827181AkbEfi','get','24478407hZzdPa','isOfficialPlugin','811510KqWmNy','invalid','117GIBFVJ','2567635xYPkVk','_showLicenseError','documentOutlineLicenseKeyNotAllowed','8sLfncP','featureNotAllowed','editor','5478966AoekYt','documentOutlineLicenseKeyExpired','documentOutlineLicenseKeyEvaluationLimit','documentOutlineLicenseKeyInvalid','359304GvuuVs','_licenseKeyCheckInterval','requires','trialLimit','destroy','expired','documentOutlineLicenseKeyDomainLimit','config','licenseKey','DocumentOutline','evaluationLimit','8472yrMwVz','isPremiumPlugin','usageLimit','documentOutlineLicenseKeyTrialLimit','init','pluginName','domainLimit','documentOutlineLicenseKeyUsageLimit'];_0x4e37=function(){return _0x240eab;};return _0x4e37();}(function(_0x2f01e3,_0x50dbbe){const _0x24fde2=_0xb401,_0x17f945=_0x2f01e3();while(!![]){try{const _0x40f729=parseInt(_0x24fde2(0x193))/0x1*(-parseInt(_0x24fde2(0x184))/0x2)+-parseInt(_0x24fde2(0x18d))/0x3+parseInt(_0x24fde2(0x19e))/0x4+-parseInt(_0x24fde2(0x191))/0x5+-parseInt(_0x24fde2(0x19a))/0x6+-parseInt(_0x24fde2(0x194))/0x7+parseInt(_0x24fde2(0x197))/0x8*(parseInt(_0x24fde2(0x18f))/0x9);if(_0x40f729===_0x50dbbe)break;else _0x17f945['push'](_0x17f945['shift']());}catch(_0x224729){_0x17f945['push'](_0x17f945['shift']());}}}(_0x4e37,0x9184a));import{Plugin as _0x4bbf6a}from'ckeditor5/src/core.js';import{DocumentOutlineUtils as _0x2691a7}from'./documentoutline/documentoutlineutils.js';import{DocumentOutlineUI as _0x290451}from'./documentoutline/documentoutlineui.js';export class DocumentOutline extends _0x4bbf6a{[_0x401870(0x181)];[_0x401870(0x19f)];static get[_0x401870(0x17b)](){return[_0x2691a7,_0x290451];}static get[_0x401870(0x189)](){const _0xb38a5c=_0x401870;return _0xb38a5c(0x182);}static get[_0x401870(0x190)](){return!0x0;}static get[_0x401870(0x185)](){return!0x0;}[_0x401870(0x188)](){const _0x46b2c6=_0x401870;this[_0x46b2c6(0x181)]=this[_0x46b2c6(0x199)][_0x46b2c6(0x180)][_0x46b2c6(0x18e)](_0x46b2c6(0x181));const _0x2ed7f3=this[_0x46b2c6(0x199)];this[_0x46b2c6(0x19f)]=setInterval(()=>{const _0x5e3f94=_0x46b2c6;let _0x475535;for(const _0x378b0a in _0x2ed7f3){const _0x3224f2=_0x378b0a,_0x3e7878=_0x2ed7f3[_0x3224f2];if(_0x5e3f94(0x18c)==_0x3e7878||_0x5e3f94(0x19d)==_0x3e7878||_0x5e3f94(0x19b)==_0x3e7878||_0x5e3f94(0x17f)==_0x3e7878||_0x5e3f94(0x196)==_0x3e7878||_0x5e3f94(0x19c)==_0x3e7878||_0x5e3f94(0x187)==_0x3e7878||_0x5e3f94(0x18b)==_0x3e7878){delete _0x2ed7f3[_0x3224f2],_0x475535=_0x3e7878,clearInterval(this[_0x5e3f94(0x19f)]),this[_0x5e3f94(0x19f)]=void 0x0;break;}}_0x5e3f94(0x19d)==_0x475535&&_0x2ed7f3[_0x5e3f94(0x195)](_0x5e3f94(0x192)),_0x5e3f94(0x19b)==_0x475535&&_0x2ed7f3[_0x5e3f94(0x195)](_0x5e3f94(0x17e)),_0x5e3f94(0x17f)==_0x475535&&_0x2ed7f3[_0x5e3f94(0x195)](_0x5e3f94(0x18a)),_0x5e3f94(0x196)==_0x475535&&_0x2ed7f3[_0x5e3f94(0x195)](_0x5e3f94(0x198),_0x5e3f94(0x182)),_0x5e3f94(0x19c)==_0x475535&&_0x2ed7f3[_0x5e3f94(0x195)](_0x5e3f94(0x183)),_0x5e3f94(0x187)==_0x475535&&_0x2ed7f3[_0x5e3f94(0x195)](_0x5e3f94(0x17c)),_0x5e3f94(0x18b)==_0x475535&&_0x2ed7f3[_0x5e3f94(0x195)](_0x5e3f94(0x186));},0x3e8);}[_0x401870(0x17d)](){const _0x33d5e4=_0x401870;super[_0x33d5e4(0x17d)](),this[_0x33d5e4(0x19f)]&&clearInterval(this[_0x33d5e4(0x19f)]);}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x5df197,_0x4ddb72){var _0x5a3ee4=_0x519a,_0x144acc=_0x5df197();while(!![]){try{var _0xbecf75=-parseInt(_0x5a3ee4(0x8f))/0x1+parseInt(_0x5a3ee4(0x94))/0x2*(parseInt(_0x5a3ee4(0x93))/0x3)+-parseInt(_0x5a3ee4(0x96))/0x4*(parseInt(_0x5a3ee4(0x92))/0x5)+parseInt(_0x5a3ee4(0x8c))/0x6*(parseInt(_0x5a3ee4(0x8d))/0x7)+parseInt(_0x5a3ee4(0x91))/0x8+parseInt(_0x5a3ee4(0x95))/0x9*(parseInt(_0x5a3ee4(0x8e))/0xa)+-parseInt(_0x5a3ee4(0x90))/0xb;if(_0xbecf75===_0x4ddb72)break;else _0x144acc['push'](_0x144acc['shift']());}catch(_0x43f3b6){_0x144acc['push'](_0x144acc['shift']());}}}(_0xb0be,0x23c6b));export{DocumentOutline}from'./documentoutline.js';function _0x519a(_0x5a47bf,_0x2c3157){var _0xb0be7e=_0xb0be();return _0x519a=function(_0x519ab8,_0x3ed1df){_0x519ab8=_0x519ab8-0x8c;var _0x46594b=_0xb0be7e[_0x519ab8];return _0x46594b;},_0x519a(_0x5a47bf,_0x2c3157);}export{DocumentOutlineUI}from'./documentoutline/documentoutlineui.js';export{DocumentOutlineUtils}from'./documentoutline/documentoutlineutils.js';export{TableOfContents}from'./tableofcontents.js';export{TableOfContentsCommand}from'./tableofcontents/tableofcontentscommand.js';function _0xb0be(){var _0xe732be=['39775qXEDQg','24oXURCR','32206RfLyjW','52065HcLUdT','144PJUDfG','48UOmYtD','448hNmMen','290WJRWWx','5831HoJHwe','451594NtdSzP','1461624CAjpvR'];_0xb0be=function(){return _0xe732be;};return _0xb0be();}export{TableOfContentsEditing}from'./tableofcontents/tableofcontentsediting.js';export{TableOfContentsUI}from'./tableofcontents/tableofcontentsui.js';export{HeadingId}from'./tableofcontents/headingid.js';import'./augmentation.js';
|
package/src/legacyerrors.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x4108(_0x1dae87,_0x5dcfb4){var _0x107805=_0x1078();return _0x4108=function(_0x4108fc,_0x909dbc){_0x4108fc=_0x4108fc-0x1d2;var _0x21b9a6=_0x107805[_0x4108fc];return _0x21b9a6;},_0x4108(_0x1dae87,_0x5dcfb4);}function _0x1078(){var _0x4cff2b=['431829gkmzEk','622528jpUkXy','12gOnshf','12274YaLtQm','1232957ckiGSt','108udEguI','30KpyTsn','2734626MhBQFj','2642283EtamwE','14uCfuCq','433075CDcZEI','10AMGTiI'];_0x1078=function(){return _0x4cff2b;};return _0x1078();}(function(_0x23f0ef,_0x4f9744){var _0x5565e8=_0x4108,_0x332e3d=_0x23f0ef();while(!![]){try{var _0x2f45ae=-parseInt(_0x5565e8(0x1d8))/0x1+-parseInt(_0x5565e8(0x1db))/0x2*(parseInt(_0x5565e8(0x1d2))/0x3)+-parseInt(_0x5565e8(0x1da))/0x4*(parseInt(_0x5565e8(0x1d6))/0x5)+-parseInt(_0x5565e8(0x1d3))/0x6+parseInt(_0x5565e8(0x1d5))/0x7*(parseInt(_0x5565e8(0x1d9))/0x8)+-parseInt(_0x5565e8(0x1d4))/0x9*(-parseInt(_0x5565e8(0x1d7))/0xa)+parseInt(_0x5565e8(0x1dc))/0xb*(parseInt(_0x5565e8(0x1dd))/0xc);if(_0x2f45ae===_0x4f9744)break;else _0x332e3d['push'](_0x332e3d['shift']());}catch(_0x1cf656){_0x332e3d['push'](_0x332e3d['shift']());}}}(_0x1078,0x3cd63));import{CKEditorError as _0x5b4b24}from'ckeditor5/src/utils.js';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x159082=_0x7b67;(function(_0x68f343,_0x5d9854){const _0x2767c6=_0x7b67,_0x51aef3=_0x68f343();while(!![]){try{const _0x390109=parseInt(_0x2767c6(0x1bf))/0x1*(-parseInt(_0x2767c6(0x1d5))/0x2)+parseInt(_0x2767c6(0x1e2))/0x3+parseInt(_0x2767c6(0x1de))/0x4+-parseInt(_0x2767c6(0x1cf))/0x5+-parseInt(_0x2767c6(0x1ca))/0x6*(-parseInt(_0x2767c6(0x1f5))/0x7)+parseInt(_0x2767c6(0x1cb))/0x8*(parseInt(_0x2767c6(0x1cc))/0x9)+-parseInt(_0x2767c6(0x1ec))/0xa;if(_0x390109===_0x5d9854)break;else _0x51aef3['push'](_0x51aef3['shift']());}catch(_0x5cf27f){_0x51aef3['push'](_0x51aef3['shift']());}}}(_0x41a1,0x42b3f));import{Plugin as _0x30b51d}from'ckeditor5/src/core.js';function _0x7b67(_0x4820bb,_0x22092f){const _0x41a118=_0x41a1();return _0x7b67=function(_0x7b67f2,_0x851e40){_0x7b67f2=_0x7b67f2-0x1bb;let _0x457b63=_0x41a118[_0x7b67f2];return _0x457b63;},_0x7b67(_0x4820bb,_0x22092f);}function _0x41a1(){const _0x42b8f5=['158970NhSwMv','getChanges','insert','item','registerPostFixer','paragraph','97326crzNtG','consume','_registerHeadingIdAttributePostfixer','add','conversion','name','heading.options','forEach','toViewElement','471920ChZiKS','mapper','position','editor','126252dwBwgG','headingId','extend','for','getAttribute','document','has','delete','heading1','remove','1260880jBiHry','length','HeadingId','config','afterInit','set','attributes','get','writer','182gIowqA','consumable','view','headingId.modelAttributeName','setAttribute','isOfficialPlugin','_customDataDowncastHeadingsConversion','viewItem','modelRange','model','change','pluginName','nodeAfter','low','clear','downcast','string','isPremiumPlugin','8obKUcY','hasAttribute','getContainedElement','attribute:headingId:','upcast','element:','_customUpcastHeadingsConversion','match','differ','type','schema','51288hSlXuL','11416veYast','2763ZAewvj','removeAttribute','isRegistered'];_0x41a1=function(){return _0x42b8f5;};return _0x41a1();}import{uid as _0x29395c,priorities as _0x6796af}from'ckeditor5/src/utils.js';export class HeadingId extends _0x30b51d{static get[_0x159082(0x200)](){const _0xd16e43=_0x159082;return _0xd16e43(0x1ee);}static get[_0x159082(0x1fa)](){return!0x0;}static get[_0x159082(0x1be)](){return!0x0;}[_0x159082(0x1f0)](){const _0x5a93af=_0x159082,_0x5855e8=this[_0x5a93af(0x1e1)];if(_0x5855e8[_0x5a93af(0x1ef)][_0x5a93af(0x1f3)](_0x5a93af(0x1f8)))return;(function(_0x7a274f){const _0x4743c4=_0x5a93af,_0x5c5743=new Map();if(_0x7a274f)return _0x7a274f[_0x4743c4(0x1dc)](_0x44c0f2=>{const _0x427a18=_0x4743c4;_0x427a18(0x1d4)!==_0x44c0f2[_0x427a18(0x1fe)]&&_0x5c5743[_0x427a18(0x1f1)](_0x44c0f2[_0x427a18(0x1f7)],_0x44c0f2[_0x427a18(0x1fe)]);}),_0x5c5743[_0x4743c4(0x1f3)]('h1')||_0x5c5743[_0x4743c4(0x1f1)]('h1',_0x4743c4(0x1ea)),_0x5c5743;return _0x5c5743;}(this[_0x5a93af(0x1e1)][_0x5a93af(0x1ef)][_0x5a93af(0x1f3)](_0x5a93af(0x1db)))[_0x5a93af(0x1dc)]((_0xc8e76d,_0xf88e85)=>{const _0x4779ac=_0x5a93af;this[_0x4779ac(0x1c5)](_0xf88e85),this[_0x4779ac(0x1fb)](_0xc8e76d),_0x5855e8[_0x4779ac(0x1fe)][_0x4779ac(0x1c9)][_0x4779ac(0x1ce)](_0xc8e76d)&&_0x5855e8[_0x4779ac(0x1fe)][_0x4779ac(0x1c9)][_0x4779ac(0x1e4)](_0xc8e76d,{'allowAttributes':_0x4779ac(0x1e3)});}),this[_0x5a93af(0x1d7)]());}[_0x159082(0x1c5)](_0x92a2cc){const _0xe6de2c=_0x159082;this[_0xe6de2c(0x1e1)][_0xe6de2c(0x1d9)][_0xe6de2c(0x1e5)](_0xe6de2c(0x1c3))[_0xe6de2c(0x1d8)](_0x4a16e4=>_0x4a16e4['on'](_0xe6de2c(0x1c4)+_0x92a2cc,(_0x2f64f9,_0x1a5560,_0x29b958)=>{const _0xb2de6d=_0xe6de2c,{consumable:_0x453297,writer:_0x3b510a}=_0x29b958,_0x24be34=_0x1a5560[_0xb2de6d(0x1fc)][_0xb2de6d(0x1e6)]('id'),_0x1922bf=_0x1a5560[_0xb2de6d(0x1fd)][_0xb2de6d(0x1c1)]();if(_0x1922bf)return _0x24be34&&_0x24be34[_0xb2de6d(0x1ed)]||_0x1922bf[_0xb2de6d(0x1c0)](_0xb2de6d(0x1e3))?void(_0x453297[_0xb2de6d(0x1d6)](_0x1a5560[_0xb2de6d(0x1fc)],{'attributes':['id']})&&_0x3b510a[_0xb2de6d(0x1f9)](_0xb2de6d(0x1e3),_0x24be34,_0x1922bf)):(_0x453297[_0xb2de6d(0x1d6)](_0x1a5560[_0xb2de6d(0x1fc)],{'attributes':['id']}),void _0x3b510a[_0xb2de6d(0x1f9)](_0xb2de6d(0x1e3),_0x29395c(),_0x1922bf));},{'priority':_0x6796af[_0xe6de2c(0x1f3)](_0xe6de2c(0x202))+0.5}));}[_0x159082(0x1fb)](_0x4d8420){const _0x2cd958=_0x159082;this[_0x2cd958(0x1e1)][_0x2cd958(0x1d9)][_0x2cd958(0x1e5)](_0x2cd958(0x1bc))[_0x2cd958(0x1d8)](_0x499946=>_0x499946['on'](_0x2cd958(0x1c2)+_0x4d8420,(_0x324fd0,_0x236ead,_0x3b71f1)=>{const _0x1e5ece=_0x2cd958;if(!_0x3b71f1[_0x1e5ece(0x1f6)][_0x1e5ece(0x1d6)](_0x236ead[_0x1e5ece(0x1d2)],_0x324fd0[_0x1e5ece(0x1da)]))return;const _0x15b09f=_0x236ead[_0x1e5ece(0x1d2)][_0x1e5ece(0x1e6)](_0x1e5ece(0x1e3)),_0x129d68=_0x3b71f1[_0x1e5ece(0x1df)][_0x1e5ece(0x1dd)](_0x236ead[_0x1e5ece(0x1d2)]);_0x3b71f1[_0x1e5ece(0x1f4)][_0x1e5ece(0x1f9)]('id',_0x15b09f,_0x129d68);}));}[_0x159082(0x1d7)](){const _0x5cc69a=_0x159082,_0x55e33f=this[_0x5cc69a(0x1e1)],_0x3c5616=new Set(),_0x8b5a11=new Set();function _0x4f133b(_0x529be4,_0x18da85){const _0xcb0b76=_0x5cc69a,_0x4cead5=_0x29395c();return _0x8b5a11[_0xcb0b76(0x1d8)](_0x4cead5),_0x529be4[_0xcb0b76(0x1f9)](_0xcb0b76(0x1e3),_0x4cead5,_0x18da85),_0x4cead5;}function _0x1d7cd0(_0x34826e,_0xfa3864){const _0x5f0869=_0x5cc69a;_0x34826e[_0x5f0869(0x1cd)](_0x5f0869(0x1e3),_0xfa3864);}_0x55e33f[_0x5cc69a(0x1fe)][_0x5cc69a(0x1e7)][_0x5cc69a(0x1d3)](_0x5549e3=>{const _0x15d328=_0x5cc69a,_0x44501f=_0x55e33f[_0x15d328(0x1fe)][_0x15d328(0x1e7)][_0x15d328(0x1c7)][_0x15d328(0x1d0)]();let _0x18f03f=!0x1;for(const _0x249b95 of _0x44501f)if(_0x15d328(0x1d1)==_0x249b95[_0x15d328(0x1c8)]&&_0x249b95[_0x15d328(0x1da)]){if(b(_0x249b95[_0x15d328(0x1da)])){const _0x2efd17=_0x249b95[_0x15d328(0x1f2)][_0x15d328(0x1f3)](_0x15d328(0x1e3));_0x15d328(0x1bd)==typeof _0x2efd17?_0x3c5616[_0x15d328(0x1e8)](_0x2efd17)?(_0x4f133b(_0x5549e3,_0x249b95[_0x15d328(0x1e0)][_0x15d328(0x201)]),_0x18f03f=!0x0):_0x8b5a11[_0x15d328(0x1d8)](_0x2efd17):(_0x4f133b(_0x5549e3,_0x249b95[_0x15d328(0x1e0)][_0x15d328(0x201)]),_0x18f03f=!0x0);}else _0x15d328(0x1bd)==typeof _0x249b95[_0x15d328(0x1f2)][_0x15d328(0x1f3)](_0x15d328(0x1e3))&&(_0x1d7cd0(_0x5549e3,_0x249b95[_0x15d328(0x1e0)][_0x15d328(0x201)]),_0x18f03f=!0x0);}else{if(_0x15d328(0x1eb)==_0x249b95[_0x15d328(0x1c8)]){const _0x3e648b=_0x249b95[_0x15d328(0x1f2)][_0x15d328(0x1f3)](_0x15d328(0x1e3));_0x15d328(0x1bd)==typeof _0x3e648b&&_0x3c5616[_0x15d328(0x1e9)](_0x3e648b);}}return _0x18f03f;}),_0x55e33f[_0x5cc69a(0x1fe)][_0x5cc69a(0x1e7)]['on'](_0x5cc69a(0x1ff),()=>{const _0x2f1c48=_0x5cc69a;_0x8b5a11[_0x2f1c48(0x1dc)](_0x2b08ba=>_0x3c5616[_0x2f1c48(0x1d8)](_0x2b08ba)),_0x8b5a11[_0x2f1c48(0x1bb)]();});}}function b(_0xa0c71){const _0x401992=_0x159082;return!!_0xa0c71[_0x401992(0x1c6)](/heading\d/);}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2daf83=_0x3f14;function _0x3f14(_0x3652a0,_0x3c6849){const _0x51357c=_0x5135();return _0x3f14=function(_0x3f1449,_0x15c483){_0x3f1449=_0x3f1449-0x111;let _0x2bbead=_0x51357c[_0x3f1449];return _0x2bbead;},_0x3f14(_0x3652a0,_0x3c6849);}function _0x5135(){const _0x3950a5=['5989192VgSqsq','75580ehZZCa','tableOfContents','createElement','236CLuCar','1412958FJstFd','4390760hJchgj','schema','refresh','editor','execute','change','model','findAllowedParent','7ZZUHnS','928989aXJCYP','896182GEbguS','936VAnTJO','1xERxDT','insertObject','selection','isEnabled','document','20275DHGJYE','getFirstPosition'];_0x5135=function(){return _0x3950a5;};return _0x5135();}(function(_0x359653,_0x1f1ab7){const _0x4e1e70=_0x3f14,_0xc8360a=_0x359653();while(!![]){try{const _0x4f9a2c=-parseInt(_0x4e1e70(0x11d))/0x1*(-parseInt(_0x4e1e70(0x11b))/0x2)+parseInt(_0x4e1e70(0x11a))/0x3+-parseInt(_0x4e1e70(0x128))/0x4*(-parseInt(_0x4e1e70(0x122))/0x5)+-parseInt(_0x4e1e70(0x129))/0x6*(parseInt(_0x4e1e70(0x119))/0x7)+-parseInt(_0x4e1e70(0x111))/0x8+parseInt(_0x4e1e70(0x11c))/0x9*(parseInt(_0x4e1e70(0x125))/0xa)+-parseInt(_0x4e1e70(0x124))/0xb;if(_0x4f9a2c===_0x1f1ab7)break;else _0xc8360a['push'](_0xc8360a['shift']());}catch(_0x1fc6df){_0xc8360a['push'](_0xc8360a['shift']());}}}(_0x5135,0x6ee4d));import{Command as _0x2c8e93}from'ckeditor5/src/core.js';export class TableOfContentsCommand extends _0x2c8e93{[_0x2daf83(0x115)](){const _0x172654=_0x2daf83;this[_0x172654(0x114)][_0x172654(0x117)][_0x172654(0x116)](_0x4a8590=>{const _0x3c6408=_0x172654;this[_0x3c6408(0x114)][_0x3c6408(0x117)][_0x3c6408(0x11e)](_0x4a8590[_0x3c6408(0x127)](_0x3c6408(0x126)));});}[_0x2daf83(0x113)](){const _0x35a98c=_0x2daf83,_0x4ff116=this[_0x35a98c(0x114)][_0x35a98c(0x117)],_0x2b17d7=_0x4ff116[_0x35a98c(0x121)][_0x35a98c(0x11f)][_0x35a98c(0x123)]();this[_0x35a98c(0x120)]=null!==(_0x2b17d7&&_0x4ff116[_0x35a98c(0x112)][_0x35a98c(0x118)](_0x2b17d7,_0x35a98c(0x126)));}}
|