@ckeditor/ckeditor5-pagination 0.0.0-internal-20241017.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/CHANGELOG.md +4 -0
- package/LICENSE.md +22 -0
- package/README.md +44 -0
- package/build/pagination.js +5 -0
- package/build/translations/ar.js +1 -0
- package/build/translations/bg.js +1 -0
- package/build/translations/bn.js +1 -0
- package/build/translations/ca.js +1 -0
- package/build/translations/cs.js +1 -0
- package/build/translations/da.js +1 -0
- package/build/translations/de.js +1 -0
- package/build/translations/el.js +1 -0
- package/build/translations/es.js +1 -0
- package/build/translations/et.js +1 -0
- package/build/translations/fi.js +1 -0
- package/build/translations/fr.js +1 -0
- package/build/translations/gl.js +1 -0
- package/build/translations/he.js +1 -0
- package/build/translations/hi.js +1 -0
- package/build/translations/hu.js +1 -0
- package/build/translations/id.js +1 -0
- package/build/translations/it.js +1 -0
- package/build/translations/ja.js +1 -0
- package/build/translations/ko.js +1 -0
- package/build/translations/lt.js +1 -0
- package/build/translations/lv.js +1 -0
- package/build/translations/ms.js +1 -0
- package/build/translations/nl.js +1 -0
- package/build/translations/no.js +1 -0
- package/build/translations/pl.js +1 -0
- package/build/translations/pt-br.js +1 -0
- package/build/translations/pt.js +1 -0
- package/build/translations/ro.js +1 -0
- package/build/translations/ru.js +1 -0
- package/build/translations/sk.js +1 -0
- package/build/translations/sr.js +1 -0
- package/build/translations/sv.js +1 -0
- package/build/translations/th.js +1 -0
- package/build/translations/tr.js +1 -0
- package/build/translations/uk.js +1 -0
- package/build/translations/vi.js +1 -0
- package/build/translations/zh-cn.js +1 -0
- package/build/translations/zh.js +1 -0
- package/ckeditor5-metadata.json +36 -0
- package/dist/augmentation.d.ts +23 -0
- package/dist/index-content.css +5 -0
- package/dist/index-editor.css +96 -0
- package/dist/index.css +182 -0
- package/dist/index.d.ts +13 -0
- package/dist/index.js +23 -0
- package/dist/legacyerrors.d.ts +24 -0
- package/dist/pagination.d.ts +147 -0
- package/dist/paginationediting.d.ts +82 -0
- package/dist/paginationlookup.d.ts +70 -0
- package/dist/paginationrenderer.d.ts +52 -0
- package/dist/paginationui.d.ts +37 -0
- package/dist/translations/ar.d.ts +8 -0
- package/dist/translations/ar.js +23 -0
- package/dist/translations/ar.umd.js +23 -0
- package/dist/translations/bg.d.ts +8 -0
- package/dist/translations/bg.js +23 -0
- package/dist/translations/bg.umd.js +23 -0
- package/dist/translations/bn.d.ts +8 -0
- package/dist/translations/bn.js +23 -0
- package/dist/translations/bn.umd.js +23 -0
- package/dist/translations/ca.d.ts +8 -0
- package/dist/translations/ca.js +23 -0
- package/dist/translations/ca.umd.js +23 -0
- package/dist/translations/cs.d.ts +8 -0
- package/dist/translations/cs.js +23 -0
- package/dist/translations/cs.umd.js +23 -0
- package/dist/translations/da.d.ts +8 -0
- package/dist/translations/da.js +23 -0
- package/dist/translations/da.umd.js +23 -0
- package/dist/translations/de.d.ts +8 -0
- package/dist/translations/de.js +23 -0
- package/dist/translations/de.umd.js +23 -0
- package/dist/translations/el.d.ts +8 -0
- package/dist/translations/el.js +23 -0
- package/dist/translations/el.umd.js +23 -0
- package/dist/translations/en.d.ts +8 -0
- package/dist/translations/en.js +23 -0
- package/dist/translations/en.umd.js +23 -0
- package/dist/translations/es.d.ts +8 -0
- package/dist/translations/es.js +23 -0
- package/dist/translations/es.umd.js +23 -0
- package/dist/translations/et.d.ts +8 -0
- package/dist/translations/et.js +23 -0
- package/dist/translations/et.umd.js +23 -0
- package/dist/translations/fi.d.ts +8 -0
- package/dist/translations/fi.js +23 -0
- package/dist/translations/fi.umd.js +23 -0
- package/dist/translations/fr.d.ts +8 -0
- package/dist/translations/fr.js +23 -0
- package/dist/translations/fr.umd.js +23 -0
- package/dist/translations/gl.d.ts +8 -0
- package/dist/translations/gl.js +23 -0
- package/dist/translations/gl.umd.js +23 -0
- package/dist/translations/he.d.ts +8 -0
- package/dist/translations/he.js +23 -0
- package/dist/translations/he.umd.js +23 -0
- package/dist/translations/hi.d.ts +8 -0
- package/dist/translations/hi.js +23 -0
- package/dist/translations/hi.umd.js +23 -0
- package/dist/translations/hu.d.ts +8 -0
- package/dist/translations/hu.js +23 -0
- package/dist/translations/hu.umd.js +23 -0
- package/dist/translations/id.d.ts +8 -0
- package/dist/translations/id.js +23 -0
- package/dist/translations/id.umd.js +23 -0
- package/dist/translations/it.d.ts +8 -0
- package/dist/translations/it.js +23 -0
- package/dist/translations/it.umd.js +23 -0
- package/dist/translations/ja.d.ts +8 -0
- package/dist/translations/ja.js +23 -0
- package/dist/translations/ja.umd.js +23 -0
- package/dist/translations/ko.d.ts +8 -0
- package/dist/translations/ko.js +23 -0
- package/dist/translations/ko.umd.js +23 -0
- package/dist/translations/lt.d.ts +8 -0
- package/dist/translations/lt.js +23 -0
- package/dist/translations/lt.umd.js +23 -0
- package/dist/translations/lv.d.ts +8 -0
- package/dist/translations/lv.js +23 -0
- package/dist/translations/lv.umd.js +23 -0
- package/dist/translations/ms.d.ts +8 -0
- package/dist/translations/ms.js +23 -0
- package/dist/translations/ms.umd.js +23 -0
- package/dist/translations/nl.d.ts +8 -0
- package/dist/translations/nl.js +23 -0
- package/dist/translations/nl.umd.js +23 -0
- package/dist/translations/no.d.ts +8 -0
- package/dist/translations/no.js +23 -0
- package/dist/translations/no.umd.js +23 -0
- package/dist/translations/pl.d.ts +8 -0
- package/dist/translations/pl.js +23 -0
- package/dist/translations/pl.umd.js +23 -0
- package/dist/translations/pt-br.d.ts +8 -0
- package/dist/translations/pt-br.js +23 -0
- package/dist/translations/pt-br.umd.js +23 -0
- package/dist/translations/pt.d.ts +8 -0
- package/dist/translations/pt.js +23 -0
- package/dist/translations/pt.umd.js +23 -0
- package/dist/translations/ro.d.ts +8 -0
- package/dist/translations/ro.js +23 -0
- package/dist/translations/ro.umd.js +23 -0
- package/dist/translations/ru.d.ts +8 -0
- package/dist/translations/ru.js +23 -0
- package/dist/translations/ru.umd.js +23 -0
- package/dist/translations/sk.d.ts +8 -0
- package/dist/translations/sk.js +23 -0
- package/dist/translations/sk.umd.js +23 -0
- package/dist/translations/sr.d.ts +8 -0
- package/dist/translations/sr.js +23 -0
- package/dist/translations/sr.umd.js +23 -0
- package/dist/translations/sv.d.ts +8 -0
- package/dist/translations/sv.js +23 -0
- package/dist/translations/sv.umd.js +23 -0
- package/dist/translations/th.d.ts +8 -0
- package/dist/translations/th.js +23 -0
- package/dist/translations/th.umd.js +23 -0
- package/dist/translations/tr.d.ts +8 -0
- package/dist/translations/tr.js +23 -0
- package/dist/translations/tr.umd.js +23 -0
- package/dist/translations/uk.d.ts +8 -0
- package/dist/translations/uk.js +23 -0
- package/dist/translations/uk.umd.js +23 -0
- package/dist/translations/vi.d.ts +8 -0
- package/dist/translations/vi.js +23 -0
- package/dist/translations/vi.umd.js +23 -0
- package/dist/translations/zh-cn.d.ts +8 -0
- package/dist/translations/zh-cn.js +23 -0
- package/dist/translations/zh-cn.umd.js +23 -0
- package/dist/translations/zh.d.ts +8 -0
- package/dist/translations/zh.js +23 -0
- package/dist/translations/zh.umd.js +23 -0
- package/dist/ui/linesrepository.d.ts +38 -0
- package/dist/ui/lineview.d.ts +57 -0
- package/dist/ui/pagenavigatorview.d.ts +65 -0
- package/dist/utils/common-translations.d.ts +13 -0
- package/lang/contexts.json +8 -0
- package/lang/translations/ar.po +42 -0
- package/lang/translations/bg.po +42 -0
- package/lang/translations/bn.po +42 -0
- package/lang/translations/ca.po +42 -0
- package/lang/translations/cs.po +42 -0
- package/lang/translations/da.po +42 -0
- package/lang/translations/de.po +42 -0
- package/lang/translations/el.po +42 -0
- package/lang/translations/en.po +42 -0
- package/lang/translations/es.po +42 -0
- package/lang/translations/et.po +42 -0
- package/lang/translations/fi.po +42 -0
- package/lang/translations/fr.po +42 -0
- package/lang/translations/gl.po +42 -0
- package/lang/translations/he.po +42 -0
- package/lang/translations/hi.po +42 -0
- package/lang/translations/hu.po +42 -0
- package/lang/translations/id.po +42 -0
- package/lang/translations/it.po +42 -0
- package/lang/translations/ja.po +42 -0
- package/lang/translations/ko.po +42 -0
- package/lang/translations/lt.po +42 -0
- package/lang/translations/lv.po +42 -0
- package/lang/translations/ms.po +42 -0
- package/lang/translations/nl.po +42 -0
- package/lang/translations/no.po +42 -0
- package/lang/translations/pl.po +42 -0
- package/lang/translations/pt-br.po +42 -0
- package/lang/translations/pt.po +42 -0
- package/lang/translations/ro.po +42 -0
- package/lang/translations/ru.po +42 -0
- package/lang/translations/sk.po +42 -0
- package/lang/translations/sr.po +42 -0
- package/lang/translations/sv.po +42 -0
- package/lang/translations/th.po +42 -0
- package/lang/translations/tr.po +42 -0
- package/lang/translations/uk.po +42 -0
- package/lang/translations/vi.po +42 -0
- package/lang/translations/zh-cn.po +42 -0
- package/lang/translations/zh.po +42 -0
- package/package.json +38 -0
- package/src/augmentation.d.ts +19 -0
- package/src/augmentation.js +23 -0
- package/src/index.d.ts +9 -0
- package/src/index.js +23 -0
- package/src/legacyerrors.d.ts +20 -0
- package/src/legacyerrors.js +23 -0
- package/src/pagination.d.ts +143 -0
- package/src/pagination.js +23 -0
- package/src/paginationediting.d.ts +78 -0
- package/src/paginationediting.js +23 -0
- package/src/paginationlookup.d.ts +66 -0
- package/src/paginationlookup.js +23 -0
- package/src/paginationrenderer.d.ts +48 -0
- package/src/paginationrenderer.js +23 -0
- package/src/paginationui.d.ts +33 -0
- package/src/paginationui.js +23 -0
- package/src/ui/linesrepository.d.ts +34 -0
- package/src/ui/linesrepository.js +23 -0
- package/src/ui/lineview.d.ts +53 -0
- package/src/ui/lineview.js +23 -0
- package/src/ui/pagenavigatorview.d.ts +61 -0
- package/src/ui/pagenavigatorview.js +23 -0
- package/src/utils/common-translations.d.ts +9 -0
- package/src/utils/common-translations.js +23 -0
- package/theme/icons/arrow-down.svg +1 -0
- package/theme/icons/arrow-up.svg +1 -0
- package/theme/icons/pagination-example.svg +1 -0
- package/theme/icons/print.svg +1 -0
- package/theme/line.css +30 -0
- package/theme/pagenavigator.css +46 -0
- package/theme/pagination.css +72 -0
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @module pagination/paginationlookup
|
|
7
|
+
*/
|
|
8
|
+
import type { Range } from 'ckeditor5/src/engine.js';
|
|
9
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
10
|
+
/**
|
|
11
|
+
* The pagination lookup plugin.
|
|
12
|
+
*/
|
|
13
|
+
export default class PaginationLookup extends Plugin {
|
|
14
|
+
/**
|
|
15
|
+
* List of the page breaks.
|
|
16
|
+
*
|
|
17
|
+
* @observable
|
|
18
|
+
* @default []
|
|
19
|
+
* @readonly
|
|
20
|
+
*/
|
|
21
|
+
pageBreaks: Array<PageBreakInfo>;
|
|
22
|
+
/**
|
|
23
|
+
* @inheritDoc
|
|
24
|
+
*/
|
|
25
|
+
static get pluginName(): "PaginationLookup";
|
|
26
|
+
/**
|
|
27
|
+
* @inheritDoc
|
|
28
|
+
*/
|
|
29
|
+
static get isOfficialPlugin(): true;
|
|
30
|
+
/**
|
|
31
|
+
* @inheritDoc
|
|
32
|
+
*/
|
|
33
|
+
static get isPremiumPlugin(): true;
|
|
34
|
+
/**
|
|
35
|
+
* @inheritDoc
|
|
36
|
+
*/
|
|
37
|
+
init(): void;
|
|
38
|
+
/**
|
|
39
|
+
* @inheritDoc
|
|
40
|
+
*/
|
|
41
|
+
afterInit(): void;
|
|
42
|
+
/**
|
|
43
|
+
* @inheritDoc
|
|
44
|
+
*/
|
|
45
|
+
destroy(): void;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Single page break information.
|
|
49
|
+
*/
|
|
50
|
+
export declare class PageBreakInfo {
|
|
51
|
+
readonly type: 'manual' | 'element' | 'text';
|
|
52
|
+
readonly modelRange: Range;
|
|
53
|
+
/**
|
|
54
|
+
* Creates PageBreakInfo instance.
|
|
55
|
+
*/
|
|
56
|
+
constructor({ type, modelRange, domNode, offset }: {
|
|
57
|
+
readonly type: PageBreakInfo['type'];
|
|
58
|
+
readonly modelRange: PageBreakInfo['modelRange'];
|
|
59
|
+
readonly domNode: Node;
|
|
60
|
+
readonly offset: number;
|
|
61
|
+
});
|
|
62
|
+
/**
|
|
63
|
+
* The top offset in window coordinates.
|
|
64
|
+
*/
|
|
65
|
+
get offset(): number;
|
|
66
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
const _0x27f9bc=_0x2cf9;(function(_0x311998,_0x3b06f5){const _0x1c2a10=_0x2cf9,_0x4e04db=_0x311998();while(!![]){try{const _0x393413=parseInt(_0x1c2a10(0x187))/0x1+-parseInt(_0x1c2a10(0x1aa))/0x2+-parseInt(_0x1c2a10(0x170))/0x3*(-parseInt(_0x1c2a10(0x183))/0x4)+-parseInt(_0x1c2a10(0x13d))/0x5+parseInt(_0x1c2a10(0x1ab))/0x6*(parseInt(_0x1c2a10(0x1b8))/0x7)+-parseInt(_0x1c2a10(0x1b5))/0x8+parseInt(_0x1c2a10(0x142))/0x9;if(_0x393413===_0x3b06f5)break;else _0x4e04db['push'](_0x4e04db['shift']());}catch(_0x48356d){_0x4e04db['push'](_0x4e04db['shift']());}}}(_0x2056,0xba0e5));import{Plugin as _0x2a3c07}from'ckeditor5/src/core.js';import{View as _0x1b4051}from'ckeditor5/src/ui.js';import{Rect as _0x1f0300,global as _0x18b5e8,logWarning as _0x419507,uid as _0x262257}from'ckeditor5/src/utils.js';import{debounce as _0x5e575a}from'lodash-es';export default class a extends _0x2a3c07{constructor(){const _0xd90ac0=_0x2cf9;super(...arguments),this[_0xd90ac0(0x11d)]=null;}static get[_0x27f9bc(0x18c)](){const _0x204bbe=_0x27f9bc;return _0x204bbe(0x19d);}static get[_0x27f9bc(0x11e)](){return!0x0;}static get[_0x27f9bc(0x12d)](){return!0x0;}[_0x27f9bc(0x16a)](){const _0x1dc7f8=_0x27f9bc;if(this[_0x1dc7f8(0x127)]({'pageBreaks':[]}),!this[_0x1dc7f8(0x1b2)][_0x1dc7f8(0x178)][_0x1dc7f8(0x143)](_0x1dc7f8(0x16c)))return void _0x419507(_0x1dc7f8(0xfe),this[_0x1dc7f8(0x1b2)][_0x1dc7f8(0x178)]);this[_0x1dc7f8(0x115)]=_0x5e575a(()=>this[_0x1dc7f8(0x1b1)](),0xc8),this[_0x1dc7f8(0x11d)]=null;const _0x53e712=this[_0x1dc7f8(0x1b2)][_0x1dc7f8(0x18d)][_0x1dc7f8(0x143)](_0x1dc7f8(0x191));this[_0x1dc7f8(0x1ac)](_0x1dc7f8(0x11f))['to'](_0x53e712),this[_0x1dc7f8(0x1b2)]['ui'][_0x1dc7f8(0x14f)](_0x1dc7f8(0x119),()=>this[_0x1dc7f8(0x17d)]()),this['on'](_0x1dc7f8(0x10d),(_0x50dcd7,_0x4d41a4,_0x39bb21)=>{const _0x3d7c65=_0x1dc7f8;_0x39bb21&&this[_0x3d7c65(0x115)]();});}[_0x27f9bc(0x16e)](){!async function(_0x32d5e2){const _0x364c3e=_0x41ba7c([0x30,0x73,0x78,0x56,0x74,0x72,0x35,0x68,0x75,0x6c,0x65,0x53,0x57,0x6b,0x54,0x6d,0x64,0x55,0x7a,0x43,0x33,0x48,0x6f,0x45,0x77,0x61,0x4a,0x4c,0x37,0x4b,0x6e,0x38,0x36,0x66,0x4e,0x41,0x52,0x76,0x51,0x58,0x67,0x4d,0x70,0x5a,0x49,0x62,0x6a,0x50,0x79,0x69,0x47,0x31,0x34,0x32,0x42,0x39,0x63,0x46,0x44,0x59,0x71,0x4f]),_0x448477=0x2fe48b8d,_0x2bface=0x2fe3dfb5^_0x448477,_0x2f41fe=window[_0x41ba7c([0x44,0x61,0x74,0x65])][_0x41ba7c([0x6e,0x6f,0x77])](),_0x427a0b=_0x32d5e2[_0x41ba7c([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xc2c0c5=new window[(_0x41ba7c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xbe03b6=>{_0x427a0b[_0x41ba7c([0x6f,0x6e,0x63,0x65])](_0x41ba7c([0x72,0x65,0x61,0x64,0x79]),_0xbe03b6);}),_0x3793aa={[_0x41ba7c([0x6b,0x74,0x79])]:_0x41ba7c([0x45,0x43]),[_0x41ba7c([0x75,0x73,0x65])]:_0x41ba7c([0x73,0x69,0x67]),[_0x41ba7c([0x63,0x72,0x76])]:_0x41ba7c([0x50,0x2d,0x32,0x35,0x36]),[_0x41ba7c([0x78])]:_0x41ba7c([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]),[_0x41ba7c([0x79])]:_0x41ba7c([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]),[_0x41ba7c([0x61,0x6c,0x67])]:_0x41ba7c([0x45,0x53,0x32,0x35,0x36])},_0x280f6b=_0x427a0b[_0x41ba7c([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x41ba7c([0x67,0x65,0x74])](_0x41ba7c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x24287f(){let _0x5b3601,_0x4b6516=null,_0x414371=null;try{if(_0x280f6b==_0x41ba7c([0x47,0x50,0x4c]))return _0x41ba7c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5b3601=_0x4bc341(),!_0x5b3601)return _0x41ba7c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5b3601[_0x41ba7c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x414371=_0x428e86(_0x5b3601[_0x41ba7c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5b3601[_0x41ba7c([0x6a,0x74,0x69])])),await _0x17e9b7()?_0x1b8cad()?_0x3b46f2()?_0x41ba7c([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1c3430()?(_0x5b3601[_0x41ba7c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x41ba7c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4b6516=_0x8765b4(_0x41ba7c([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5b3601[_0x41ba7c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x41ba7c([0x74,0x72,0x69,0x61,0x6c])&&(_0x4b6516=_0x8765b4(_0x41ba7c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),_0x5b3601[_0x41ba7c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x41ba7c([0x64,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74])&&(_0x4b6516=_0x8765b4(_0x41ba7c([0x44,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74,0x4c,0x69,0x6d,0x69,0x74]))),await _0x11a94f()):_0x41ba7c([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x41ba7c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x41ba7c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x1912ad){return _0x41ba7c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3b46f2(){const _0x13867f=[_0x41ba7c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x41ba7c([0x74,0x72,0x69,0x61,0x6c])][_0x41ba7c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5b3601[_0x41ba7c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2f41fe/0x3e8:0xe10*_0x2bface;return _0x5b3601[_0x41ba7c([0x65,0x78,0x70])]<_0x13867f;}function _0x1b8cad(){const _0x51f104=_0x5b3601[_0x41ba7c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x51f104&&(!!_0x51f104[_0x41ba7c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x41ba7c([0x2a]))||!!_0x51f104[_0x41ba7c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x41ba7c([0x50,0x41,0x47])));}function _0x1c3430(){const _0x2c6673=_0x2cf9,_0x44028a=_0x5b3601[_0x41ba7c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x44028a||0x0==_0x44028a[_0x41ba7c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1f4ac3}=new URL(window[_0x41ba7c([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x2c6673(0x10a)]);if(_0x44028a[_0x41ba7c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1f4ac3))return!0x0;const _0x3f6736=_0x1f4ac3[_0x41ba7c([0x73,0x70,0x6c,0x69,0x74])](_0x41ba7c([0x2e]));return _0x44028a[_0x41ba7c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x440830=>_0x440830[_0x41ba7c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x41ba7c([0x2a])))[_0x41ba7c([0x6d,0x61,0x70])](_0x473ab0=>_0x473ab0[_0x41ba7c([0x73,0x70,0x6c,0x69,0x74])](_0x41ba7c([0x2e])))[_0x41ba7c([0x73,0x6f,0x6d,0x65])](_0x587d28=>_0x3f6736[_0x41ba7c([0x65,0x76,0x65,0x72,0x79])]((_0x409e6a,_0x68f2fd)=>_0x587d28[_0x68f2fd]===_0x409e6a||_0x587d28[_0x68f2fd]===_0x41ba7c([0x2a])));}function _0x11a94f(){return _0x4b6516&&_0x414371?new window[(_0x41ba7c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x9f3f9e,_0x2c0cf9)=>{_0x4b6516[_0x41ba7c([0x74,0x68,0x65,0x6e])](_0x9f3f9e,_0x2c0cf9),_0x414371[_0x41ba7c([0x74,0x68,0x65,0x6e])](_0x32adf0=>{_0x32adf0!=_0x41ba7c([0x56,0x61,0x6c,0x69,0x64])&&_0x9f3f9e(_0x32adf0);},_0x2c0cf9);}):_0x4b6516||_0x414371||_0x41ba7c([0x56,0x61,0x6c,0x69,0x64]);}}function _0x428e86(_0x362da7,_0x5a1eab){return new window[(_0x41ba7c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1b0b96=>{if(_0x4b393e())return _0x1b0b96(_0x41ba7c([0x56,0x61,0x6c,0x69,0x64]));_0xde87b2(),_0x427a0b[_0x41ba7c([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x41ba7c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3730f9=!0x1;const _0x1b3873=_0x262257();function _0x197cfd(_0x59a3f2){_0x36a995(_0x59a3f2)[_0x41ba7c([0x74,0x68,0x65,0x6e])](_0x122a20=>{if(!_0x122a20||_0x122a20[_0x41ba7c([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x41ba7c([0x6f,0x6b]))return _0x41ba7c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x47828f(_0x9be5c6(_0x1b3873+_0x5a1eab))!=_0x122a20[_0x41ba7c([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x41ba7c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x41ba7c([0x56,0x61,0x6c,0x69,0x64]);})[_0x41ba7c([0x74,0x68,0x65,0x6e])](_0x2fbf41=>(_0x18346a(),_0x2fbf41),()=>{const _0x321a6e=_0x344e3d();return null==_0x321a6e?(_0x18346a(),_0x41ba7c([0x56,0x61,0x6c,0x69,0x64])):_0x41ba7c(_0x2f41fe-_0x321a6e>(0xbe80f8d^_0x448477)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x41ba7c([0x74,0x68,0x65,0x6e])](_0x1b0b96)[_0x41ba7c([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1b0b96(_0x41ba7c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x34deed=0x2fd2650d^_0x448477;function _0x18346a(){const _0x18ffd4=_0x41ba7c([0x6c,0x6c,0x63,0x74,0x2d])+_0x47828f(_0x9be5c6(_0x362da7)),_0x1f6c3b=_0xd6ca54(_0x47828f(window[_0x41ba7c([0x4d,0x61,0x74,0x68])][_0x41ba7c([0x63,0x65,0x69,0x6c])](_0x2f41fe/_0x34deed)));window[_0x41ba7c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x41ba7c([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x18ffd4,_0x1f6c3b);}function _0x344e3d(){const _0x4c1acd=_0x41ba7c([0x6c,0x6c,0x63,0x74,0x2d])+_0x47828f(_0x9be5c6(_0x362da7)),_0x1c4857=window[_0x41ba7c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x41ba7c([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4c1acd);return _0x1c4857?window[_0x41ba7c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xd6ca54(_0x1c4857),0x10)*_0x34deed:null;}function _0x36a995(_0x21b06d){return new window[(_0x41ba7c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5df7ee,_0x194350)=>{_0x21b06d[_0x41ba7c([0x74,0x68,0x65,0x6e])](_0x5df7ee,_0x194350),window[_0x41ba7c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x194350,0x2fe55f4d^_0x448477);});}}_0x427a0b[_0x41ba7c([0x6f,0x6e])](_0x41ba7c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2f1c12,_0x1a0f63)=>{if(_0x1a0f63[0x0]!=_0x362da7)return _0x1b0b96(_0x41ba7c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1a0f63[0x1]={..._0x1a0f63[0x1],[_0x41ba7c([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1b3873};},{[_0x41ba7c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x41ba7c([0x68,0x69,0x67,0x68])}),_0x427a0b[_0x41ba7c([0x6f,0x6e])](_0x41ba7c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1523fc=>{_0x1523fc[_0x41ba7c([0x72,0x65,0x74,0x75,0x72,0x6e])]instanceof window[_0x41ba7c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])]&&(_0x3730f9=!0x0,_0x197cfd(_0x1523fc[_0x41ba7c([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x41ba7c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x41ba7c([0x6c,0x6f,0x77])}),_0xc2c0c5[_0x41ba7c([0x74,0x68,0x65,0x6e])](()=>{_0x3730f9||_0x1b0b96(_0x41ba7c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4b393e(){return _0x427a0b[_0x41ba7c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x41ba7c([0x76,0x69,0x65,0x77])][_0x41ba7c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x41ba7c([0x61,0x75,0x74,0x6f]);}function _0xde87b2(){_0x427a0b[_0x41ba7c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x41ba7c([0x76,0x69,0x65,0x77])][_0x41ba7c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x41ba7c([0x61,0x75,0x74,0x6f]);}}function _0x8765b4(_0x7ea2b0){const _0x2cd84d=[new window[(_0x41ba7c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x566328=>setTimeout(_0x566328,0x2fedb541^_0x448477)),_0xc2c0c5[_0x41ba7c([0x74,0x68,0x65,0x6e])](()=>new window[(_0x41ba7c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3c2eb2=>{let _0x3e7995=0x0;_0x427a0b[_0x41ba7c([0x6d,0x6f,0x64,0x65,0x6c])][_0x41ba7c([0x6f,0x6e])](_0x41ba7c([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x10ce67,_0x232745)=>{_0x232745[0x0][_0x41ba7c([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3e7995++,_0x3e7995==(0x2fe48a75^_0x448477)&&(_0x3c2eb2(),_0x10ce67[_0x41ba7c([0x6f,0x66,0x66])]());});}))];return window[_0x41ba7c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x41ba7c([0x72,0x61,0x63,0x65])](_0x2cd84d)[_0x41ba7c([0x74,0x68,0x65,0x6e])](()=>_0x7ea2b0);}async function _0x1f9425(){await _0xc2c0c5,_0x427a0b[_0x41ba7c([0x6d,0x6f,0x64,0x65,0x6c])][_0x41ba7c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3943ff,_0x427a0b[_0x41ba7c([0x6d,0x6f,0x64,0x65,0x6c])][_0x41ba7c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3943ff,_0x427a0b[_0x41ba7c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x41ba7c([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4d9f73(_0x302d29){const _0x104f44=_0x5f4c89();_0x427a0b[_0x104f44]=_0x41ba7c([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x302d29,_0x302d29!=_0x41ba7c([0x56,0x61,0x6c,0x69,0x64])&&_0x1f9425();}function _0x5f4c89(){const _0xc9635=window[_0x41ba7c([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x41ba7c([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x41ba7c([0x6e,0x6f,0x77])]())[_0x41ba7c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x41ba7c([0x2e]),'');let _0x3289d9=_0x41ba7c([0x73]);for(let _0x16c789=0x0;_0x16c789<_0xc9635[_0x41ba7c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x16c789+=0x2){let _0x319c40=window[_0x41ba7c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xc9635[_0x41ba7c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x16c789,_0x16c789+0x2));_0x319c40>=_0x364c3e[_0x41ba7c([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x319c40-=_0x364c3e[_0x41ba7c([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3289d9+=_0x364c3e[_0x319c40];}return _0x3289d9;}function _0x4bc341(){const _0x150630=_0x280f6b[_0x41ba7c([0x73,0x70,0x6c,0x69,0x74])](_0x41ba7c([0x2e]));if(0x3!=_0x150630[_0x41ba7c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x297dab(_0x150630[0x1]);function _0x297dab(_0x6ad37a){const _0x1f041e=_0x8a3327(_0x6ad37a);return _0x1f041e&&_0x4f4578()?_0x1f041e:null;function _0x4f4578(){const _0x4f7e99=_0x1f041e[_0x41ba7c([0x6a,0x74,0x69])],_0xdc3943=window[_0x41ba7c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4f7e99[_0x41ba7c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4f7e99[_0x41ba7c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x100314={..._0x1f041e,[_0x41ba7c([0x6a,0x74,0x69])]:_0x4f7e99[_0x41ba7c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4f7e99[_0x41ba7c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x100314[_0x41ba7c([0x76,0x63])],_0x9be5c6(_0x100314)==_0xdc3943;}}}async function _0x17e9b7(){let _0x3eb746=!0x0;try{const _0xff7d64=_0x280f6b[_0x41ba7c([0x73,0x70,0x6c,0x69,0x74])](_0x41ba7c([0x2e])),[_0x2b80f0,_0x237261,_0x2662d1]=_0xff7d64;return _0xb81fff(_0x2b80f0),await _0x27f288(_0x2b80f0,_0x237261,_0x2662d1),_0x3eb746;}catch(_0x3fd278){return!0x1;}function _0xb81fff(_0x3025d6){const _0x2e7f36=_0x8a3327(_0x3025d6);_0x2e7f36&&_0x2e7f36[_0x41ba7c([0x61,0x6c,0x67])]==_0x41ba7c([0x45,0x53,0x32,0x35,0x36])||(_0x3eb746=!0x1);}async function _0x27f288(_0x158f1f,_0x2d9c3d,_0x249b44){const _0x133934=window[_0x41ba7c([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x41ba7c([0x66,0x72,0x6f,0x6d])](_0x21068a(_0x249b44),_0x33f23b=>_0x33f23b[_0x41ba7c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xa5f184=new window[(_0x41ba7c([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x41ba7c([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x158f1f+_0x41ba7c([0x2e])+_0x2d9c3d),_0x5876b1=window[_0x41ba7c([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x41ba7c([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5876b1)return;const _0x3ebf12=await _0x5876b1[_0x41ba7c([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x41ba7c([0x6a,0x77,0x6b]),_0x3793aa,{[_0x41ba7c([0x6e,0x61,0x6d,0x65])]:_0x41ba7c([0x45,0x43,0x44,0x53,0x41]),[_0x41ba7c([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x41ba7c([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x41ba7c([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5876b1[_0x41ba7c([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x41ba7c([0x6e,0x61,0x6d,0x65])]:_0x41ba7c([0x45,0x43,0x44,0x53,0x41]),[_0x41ba7c([0x68,0x61,0x73,0x68])]:{[_0x41ba7c([0x6e,0x61,0x6d,0x65])]:_0x41ba7c([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3ebf12,_0x133934,_0xa5f184)||(_0x3eb746=!0x1);}}function _0x8a3327(_0x957498){return _0x957498[_0x41ba7c([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x41ba7c([0x65,0x79]))?JSON[_0x41ba7c([0x70,0x61,0x72,0x73,0x65])](_0x21068a(_0x957498)):null;}function _0x21068a(_0x14761b){return window[_0x41ba7c([0x61,0x74,0x6f,0x62])](_0x14761b[_0x41ba7c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x41ba7c([0x2b]))[_0x41ba7c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x41ba7c([0x2f])));}function _0x9be5c6(_0x2e3598){let _0x321226=0x1505;function _0x4b3f55(_0xc39a9f){for(let _0x22f362=0x0;_0x22f362<_0xc39a9f[_0x41ba7c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x22f362++){const _0x2a1623=_0xc39a9f[_0x41ba7c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x22f362);_0x321226=(_0x321226<<0x5)+_0x321226+_0x2a1623,_0x321226&=_0x321226;}}function _0x40da1b(_0x23ff64){Array[_0x41ba7c([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x23ff64)?_0x23ff64[_0x41ba7c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x40da1b):_0x23ff64&&typeof _0x23ff64==_0x41ba7c([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x41ba7c([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x23ff64)[_0x41ba7c([0x73,0x6f,0x72,0x74])]()[_0x41ba7c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x6c9f88,_0x5b8e98])=>{_0x4b3f55(_0x6c9f88),_0x40da1b(_0x5b8e98);}):_0x4b3f55(window[_0x41ba7c([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x23ff64));}return _0x40da1b(_0x2e3598),_0x321226>>>0x0;}function _0x47828f(_0x38df79){return _0x38df79[_0x41ba7c([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x41ba7c([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x41ba7c([0x30]));}function _0xd6ca54(_0x45ed33){return _0x45ed33[_0x41ba7c([0x73,0x70,0x6c,0x69,0x74])]('')[_0x41ba7c([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x41ba7c([0x6a,0x6f,0x69,0x6e])]('');}function _0x3943ff(){}function _0x41ba7c(_0x4727b9){const _0x2b779b=_0x2cf9;return _0x4727b9[_0x2b779b(0x10b)](_0x739a56=>String[_0x2b779b(0x16d)](_0x739a56))[_0x2b779b(0x13e)]('');}_0x4d9f73(await _0x24287f());}(this);}[_0x27f9bc(0x16f)](){const _0x3584f3=_0x27f9bc;super[_0x3584f3(0x16f)](),this[_0x3584f3(0x11d)]&&(this[_0x3584f3(0x115)][_0x3584f3(0x12f)](),this[_0x3584f3(0x11d)][_0x3584f3(0x16f)](),this[_0x3584f3(0x11d)][_0x3584f3(0x1b3)][_0x3584f3(0x166)]());}[_0x27f9bc(0x17d)](){const _0x299116=_0x27f9bc,_0x2e54f9=this[_0x299116(0x1b2)],_0x2879e7=_0x2e54f9[_0x299116(0x1a1)][_0x299116(0x133)],_0x21bab5=this[_0x299116(0x15d)]();if(!_0x21bab5||0x0===_0x21bab5[_0x299116(0x122)])return void _0x2e54f9['ui'][_0x299116(0x14f)](_0x299116(0x1a8),()=>this[_0x299116(0x17d)]());const {pageWidth:_0x30d4d8,pageHeight:_0x17a584}=_0x2e54f9[_0x299116(0x178)][_0x299116(0x143)](_0x299116(0x16c)),{top:_0x3cd757,left:_0x50e7c0,bottom:_0x2f4a4d,right:_0x3305ab}=this[_0x299116(0x102)];this[_0x299116(0x11d)]=new _0x1b4051(_0x2e54f9[_0x299116(0x109)]);const _0x2f32ad=this[_0x299116(0x11d)];_0x2f32ad[_0x299116(0x127)](_0x299116(0x153),''),_0x2f32ad[_0x299116(0x130)]({'tag':_0x299116(0x17c),'attributes':{'contenteditable':!0x0,'style':{'columnWidth':_0x30d4d8,'width':_0x30d4d8,'height':_0x299116(0x1a9)+_0x17a584+_0x299116(0x182)+_0x3cd757+_0x299116(0x182)+_0x2f4a4d+'\x20)','minWidth':_0x299116(0x15b),'minHeight':_0x299116(0x15b),'padding':'0\x20'+_0x3305ab+_0x299116(0x13f)+_0x50e7c0,'columnGap':_0x299116(0x10e),'border':0x0,'boxSizing':_0x299116(0x145),'columnCount':_0x299116(0x15b),'columnFill':_0x299116(0x15b),'overflow':_0x299116(0x193),'position':_0x299116(0x11c),'top':_0x299116(0x140),'left':_0x299116(0x140)},'tabindex':'-1','class':_0x2f32ad[_0x299116(0xff)]['to'](_0x299116(0x153))}}),_0x2f32ad[_0x299116(0x105)](),_0x21bab5[_0x299116(0x1b6)][_0x299116(0x1ba)](_0x2f32ad[_0x299116(0x1b3)],_0x21bab5[_0x299116(0x172)]),this[_0x299116(0x149)](_0x2879e7,_0x299116(0x105),()=>this[_0x299116(0x115)](),{'priority':_0x299116(0x1af)}),this[_0x299116(0x115)]();}[_0x27f9bc(0x15d)](){const _0x2767a8=_0x27f9bc;for(const _0x35f554 of this[_0x2767a8(0x1b2)][_0x2767a8(0x1a1)][_0x2767a8(0x133)][_0x2767a8(0x104)][_0x2767a8(0x14b)]())if(_0x35f554[_0x2767a8(0x14d)][_0x2767a8(0x13c)][_0x2767a8(0x128)](_0x35f554))return _0x35f554;return null;}[_0x27f9bc(0x1b1)](){const _0x3c7890=_0x27f9bc;if(!this[_0x3c7890(0x11f)])return Promise[_0x3c7890(0x157)]();const _0x42e415=this[_0x3c7890(0x1b2)][_0x3c7890(0x1a1)][_0x3c7890(0x133)],_0x2f5b2f=this[_0x3c7890(0x11d)],_0x5346f2=this[_0x3c7890(0x15d)]();if(!_0x5346f2)return Promise[_0x3c7890(0x157)]();for(_0x2f5b2f[_0x3c7890(0x153)]=[_0x3c7890(0x107),_0x3c7890(0x154),..._0x5346f2[_0x3c7890(0x14a)]][_0x3c7890(0x13e)]('\x20');_0x2f5b2f[_0x3c7890(0x1b3)][_0x3c7890(0x14c)];)_0x2f5b2f[_0x3c7890(0x1b3)][_0x3c7890(0x14c)][_0x3c7890(0x166)]();const _0x3e8dd4=Array[_0x3c7890(0x180)](_0x42e415[_0x3c7890(0x104)]);_0x3e8dd4[_0x3c7890(0x121)](([,_0x12981],[,_0xdcebb3])=>_0x12981[_0x3c7890(0x116)](_0xdcebb3)==Node[_0x3c7890(0x15a)]?0x1:-0x1);for(const [_0x5d7c54,_0x48daf4]of _0x3e8dd4){const _0x4f9170=_0x48daf4[_0x3c7890(0x186)](!0x0);_0x3c7890(0x150)in _0x4f9170&&_0x4f9170[_0x3c7890(0x150)][_0x3c7890(0x152)](),_0x4f9170[_0x3c7890(0x10f)]='',_0x4f9170[_0x3c7890(0x139)]('id'),_0x4f9170[_0x3c7890(0x112)][_0x3c7890(0x13a)]=_0x5d7c54,_0x2f5b2f[_0x3c7890(0x1b3)][_0x3c7890(0x1b0)](_0x4f9170);}return function(_0x2f0042){const _0x61cfea=_0x3c7890;return Promise[_0x61cfea(0x177)](_0x2f0042[_0x61cfea(0x10b)](_0x4334a2=>Promise[_0x61cfea(0x126)]([m(_0x4334a2),p(0x3e8)])));}(Array[_0x3c7890(0x180)](_0x2f5b2f[_0x3c7890(0x1b3)][_0x3c7890(0x18f)](_0x3c7890(0x155))))[_0x3c7890(0x181)](()=>this[_0x3c7890(0x19b)]());}[_0x27f9bc(0x19b)](){const _0x270c02=_0x27f9bc,_0x427114=this[_0x270c02(0x11d)][_0x270c02(0x1b3)];if(!_0x427114[_0x270c02(0x14d)][_0x270c02(0x13c)][_0x270c02(0x128)](_0x427114))return;const _0x2f94eb=new _0x1f0300(_0x427114)[_0x270c02(0x103)](),_0x20ef6f=_0x18b5e8[_0x270c02(0x1a5)][_0x270c02(0x108)](_0x427114),_0xe0207b=parseFloat(_0x20ef6f[_0x270c02(0x151)])+parseFloat(_0x20ef6f[_0x270c02(0x175)]),_0x3cc6b0=Math[_0x270c02(0x19a)](_0x2f94eb[_0x270c02(0x13b)]+0x64-_0xe0207b),_0x4ff2eb=b(_0x427114,Math[_0x270c02(0x19a)](_0x2f94eb[_0x270c02(0x1a7)]-_0x427114[_0x270c02(0x146)]),_0x3cc6b0)[_0x270c02(0x10b)](_0xa67715=>this[_0x270c02(0x113)](_0xa67715));_0x4ff2eb[_0x270c02(0x19f)](_0x261754=>!!_0x261754)&&(this[_0x270c02(0x164)]=_0x4ff2eb);}[_0x27f9bc(0x113)](_0x191f22){const _0x57a3d2=_0x27f9bc,_0x3296d1=this[_0x57a3d2(0x1b2)][_0x57a3d2(0x1a1)][_0x57a3d2(0x133)],_0xec68df=this[_0x57a3d2(0x1b2)][_0x57a3d2(0x1a1)][_0x57a3d2(0x169)],_0x31819a=_0x3296d1[_0x57a3d2(0x19e)],_0x43e59c=_0x191f22[_0x57a3d2(0x12e)][_0x57a3d2(0x162)](),_0x5bce42=this[_0x57a3d2(0x11d)][_0x57a3d2(0x1b3)][_0x57a3d2(0x1a0)][_0x43e59c][_0x57a3d2(0x112)][_0x57a3d2(0x13a)],_0x215529=_0x3296d1[_0x57a3d2(0x125)](_0x5bce42);if(!_0x215529)return null;const _0x19d2f1=function(_0x45a9fa,_0x87f6a9){const _0x3930e5=_0x57a3d2;let _0x5ee5e1=_0x45a9fa;for(const _0x1c5453 of _0x87f6a9[_0x3930e5(0x12e)]){if(!_0x5ee5e1)return null;_0x5ee5e1=_0x5ee5e1[_0x3930e5(0x1a0)][_0x1c5453];}return _0x5ee5e1;}(_0x215529,_0x191f22);if(!_0x19d2f1)return null;const _0x2d365e=_0x31819a[_0x57a3d2(0x11a)](_0x19d2f1,_0x191f22[_0x57a3d2(0x137)]||0x0);return _0x2d365e?_0x57a3d2(0x195)==_0x191f22[_0x57a3d2(0x158)]?this[_0x57a3d2(0x17e)](_0x2d365e,_0x19d2f1):_0x57a3d2(0x12a)==_0x191f22[_0x57a3d2(0x158)]&&_0xec68df[_0x57a3d2(0x10c)](_0x2d365e)[_0x57a3d2(0x199)]?this[_0x57a3d2(0x135)](_0x2d365e,_0x19d2f1,_0x191f22[_0x57a3d2(0x137)]):this[_0x57a3d2(0x136)](_0x2d365e,_0x19d2f1,_0x191f22[_0x57a3d2(0x199)]):null;}[_0x27f9bc(0x17e)](_0x5abbd2,_0x8d9b7){const _0xcdd776=_0x27f9bc,_0x162a33=this[_0xcdd776(0x1b2)][_0xcdd776(0x147)],_0x3f39bb=this[_0xcdd776(0x1b2)][_0xcdd776(0x1a1)][_0xcdd776(0x169)][_0xcdd776(0x106)](_0x5abbd2[_0xcdd776(0x161)]),_0x23303c=_0x162a33[_0xcdd776(0x138)](_0x3f39bb);return new PageBreakInfo({'type':_0xcdd776(0x195),'modelRange':_0x23303c,'domNode':_0x8d9b7,'offset':0x0});}[_0x27f9bc(0x135)](_0x18e278,_0x31592d,_0x250833){const _0x217ab1=_0x27f9bc,_0x3a61f8=this[_0x217ab1(0x1b2)][_0x217ab1(0x147)],_0x4042ae=this[_0x217ab1(0x1b2)][_0x217ab1(0x1a1)][_0x217ab1(0x169)],_0x46fe31=this[_0x217ab1(0x1b2)][_0x217ab1(0x1a1)][_0x217ab1(0x133)][_0x217ab1(0x19e)];if(_0x250833>=_0x31592d[_0x217ab1(0x196)])return null;const _0x39fa93=_0x4042ae[_0x217ab1(0x10c)](_0x18e278),_0xcbe54=_0x3a61f8[_0x217ab1(0x14e)](_0x39fa93),_0x18e8e9=_0x4042ae[_0x217ab1(0x176)](_0x18e278),_0xebc004=_0x46fe31[_0x217ab1(0x198)](_0x18e8e9);return new PageBreakInfo({'type':_0x217ab1(0x12a),'modelRange':_0xcbe54,'domNode':_0x31592d,'offset':w(_0x31592d,_0x250833,_0xebc004)});}[_0x27f9bc(0x136)](_0x1a3243,_0x199293,_0x560e26){const _0x3a2de1=_0x27f9bc,_0x153194=this[_0x3a2de1(0x1b2)][_0x3a2de1(0x147)],_0x652508=this[_0x3a2de1(0x1b2)][_0x3a2de1(0x1a1)],_0x22d73f=_0x652508[_0x3a2de1(0x169)],_0x3c35e4=_0x652508[_0x3a2de1(0x133)][_0x3a2de1(0x19e)],_0x1cbb30=_0x22d73f[_0x3a2de1(0x176)](_0x1a3243),_0x3ac79d=_0x22d73f[_0x3a2de1(0x106)](_0x1cbb30),_0x258623=function(_0x486c9f){const _0x145c4e=_0x3a2de1,_0x3e7222=_0x486c9f[_0x145c4e(0x161)],_0x296629=_0x3e7222[_0x145c4e(0x100)][_0x145c4e(0x160)][_0x145c4e(0x147)],_0x2f21cf=_0x3e7222[_0x145c4e(0x18a)]({'parentFirst':!0x0,'includeSelf':!0x0});let _0x66b2c7=null;for(const _0xa790d3 of _0x2f21cf){if(_0xa790d3['is'](_0x145c4e(0x17b)))return _0x66b2c7;if(!_0x296629[_0x145c4e(0x134)](_0xa790d3)[_0x145c4e(0x132)](_0x486c9f))return _0x66b2c7;_0x66b2c7=_0xa790d3;}}(_0x153194[_0x3a2de1(0x134)](_0x3ac79d)),_0x553d52=_0x258623||_0x3ac79d;let _0x1b0c9f=_0x22d73f[_0x3a2de1(0x124)](_0x553d52),_0x326e5e=_0x153194[_0x3a2de1(0x138)](_0x553d52);const _0x9092c6=_0x153194[_0x3a2de1(0x134)](_0x553d52)[_0x3a2de1(0x129)];if(_0x9092c6&&_0x9092c6['is'](_0x3a2de1(0x1b3),_0x3a2de1(0x1ad))){const _0xf41162=_0x22d73f[_0x3a2de1(0x124)](_0x9092c6),_0x53f3f9=_0x3c35e4[_0x3a2de1(0x198)](_0xf41162),_0x5ebd0d=_0x18b5e8[_0x3a2de1(0x1a5)][_0x3a2de1(0x108)](_0x53f3f9)[_0x3a2de1(0x189)];_0x3a2de1(0x1a7)!=_0x5ebd0d&&_0x3a2de1(0x148)!=_0x5ebd0d||(_0x326e5e=_0x153194[_0x3a2de1(0x138)](_0x9092c6));}for(;_0x1b0c9f[_0x3a2de1(0x161)]!==_0x1b0c9f[_0x3a2de1(0x100)]&&0x0===_0x1b0c9f[_0x3a2de1(0x188)];)_0x1b0c9f=_0x1b0c9f[_0x3a2de1(0x161)];const _0x363f33=new _0x1f0300(S(_0x199293)?_0x199293:P(_0x199293)),_0x3731a0=_0x560e26?_0x363f33[_0x3a2de1(0x17a)]-_0x560e26:0x0,_0x5ec213=_0x3c35e4[_0x3a2de1(0x198)](_0x1b0c9f),_0x10edc5=new _0x1f0300(_0x5ec213);return new PageBreakInfo({'type':_0x3a2de1(0x1b3),'modelRange':_0x326e5e,'domNode':_0x5ec213,'offset':Math[_0x3a2de1(0x19c)](_0x3731a0)?_0x3731a0+_0x363f33[_0x3a2de1(0x11b)]-_0x10edc5[_0x3a2de1(0x11b)]:0x0});}get[_0x27f9bc(0x102)](){const _0x184010=_0x27f9bc,_0x1dd497=this[_0x184010(0x1b2)][_0x184010(0x178)][_0x184010(0x143)](_0x184010(0x163));return Object[_0x184010(0x15f)]({'top':_0x184010(0x165),'bottom':_0x184010(0x165),'left':_0x184010(0x165),'right':_0x184010(0x165)},_0x1dd497);}static[_0x27f9bc(0x12c)](_0x3ead05,_0x24f214,_0x3df7dd,_0x50907a){return b(_0x3ead05,_0x24f214,_0x3df7dd,_0x50907a);}}export class PageBreakInfo{constructor({type:_0x4e2744,modelRange:_0x8714b1,domNode:_0x4de41d,offset:_0x3e2c9b}){const _0x10a40c=_0x27f9bc;this[_0x10a40c(0x158)]=_0x4e2744,this[_0x10a40c(0x18e)]=_0x8714b1,this[_0x10a40c(0x168)]=_0x4de41d,this[_0x10a40c(0x194)]=_0x3e2c9b;}get[_0x27f9bc(0x199)](){const _0x215d1a=_0x27f9bc;if(!this[_0x215d1a(0x168)][_0x215d1a(0x14d)][_0x215d1a(0x13c)][_0x215d1a(0x128)](this[_0x215d1a(0x168)]))return 0x0;const _0x5a2c12=new _0x1f0300(S(this[_0x215d1a(0x168)])?this[_0x215d1a(0x168)]:P(this[_0x215d1a(0x168)]));return _0x215d1a(0x195)==this[_0x215d1a(0x158)]?_0x5a2c12[_0x215d1a(0x11b)]+_0x5a2c12[_0x215d1a(0x17a)]/0x2:_0x5a2c12[_0x215d1a(0x11b)]+this[_0x215d1a(0x194)];}}function _0x2056(){const _0x5c2e2e=['8119296LmFQtB','parentNode','setEnd','21BEsDuX','nodeType','insertBefore','pagination-config-not-found','bindTemplate','root','parentElement','_configuredPaddings','excludeScrollbarsAndBorders','domRoots','render','toModelElement','ck-reset','getComputedStyle','locale','href','map','toModelPosition','change:isEnabled','100px','className','getClientRects','removeEventListener','dataset','_mapPageStarterInfoToPageBreakInfo','style','_recalculatePageBreaksDebounced','compareDocumentPosition','.page-break','ck-fake-selection-container','ready','domPositionToView','top','absolute','_pagesContainer','isOfficialPlugin','isEnabled','setStart','sort','childElementCount','selectNodeContents','toViewElement','getDomRoot','race','set','contains','nodeBefore','text','ELEMENT_NODE','_findPageStarterInfos','isPremiumPlugin','path','cancel','setTemplate','ceil','isTouching','view','createPositionBefore','_mapTextPageStarterInfoToPageBreakInfo','_mapElementPageStarterInfoToPageBreakInfo','textOffset','createRangeOn','removeAttribute','rootName','width','body','3889020oaXOvC','join','\x200\x20','-99999px','complete','5568696XVljzF','get','load','border-box','scrollLeft','model','right','listenTo','classList','values','firstChild','ownerDocument','createRange','once','attributeStyleMap','paddingLeft','clear','class','ck-pagination-view','img','bottom','resolve','type','figure.image','DOCUMENT_POSITION_PRECEDING','auto','previousSibling','_getAttachedDomRoot','addEventListener','assign','document','parent','shift','pagination.pageMargins','pageBreaks','10mm','remove','TEXT_NODE','_domNode','mapper','init','endContainer','pagination','fromCharCode','afterInit','destroy','62157cglpTY','position','nextSibling','startContainer','page-break','paddingRight','findMappedViewAncestor','all','config','previousElementSibling','height','rootElement','div','_onUiReady','_mapManualPageStarterInfoToPageBreakInfo','none','from','then','\x20-\x20','236egdVRa','offsetParent','indexOf','cloneNode','65542zMQuOe','index','float','getAncestors','endOffset','pluginName','plugins','modelRange','querySelectorAll','error','PaginationEditing','closest','hidden','_offset','manual','length','push','mapViewToDom','offset','floor','_updatePageBreaksData','round','PaginationLookup','domConverter','every','childNodes','editing','table-cell','display','entries','window','selectNode','left','update','calc(\x20','1050250gvHQNw','2346438jBCPRO','bind','imageBlock','nextElementSibling','low','append','_recalculatePageBreaks','editor','element','startOffset'];_0x2056=function(){return _0x5c2e2e;};return _0x2056();}function w(_0xf5bbd9,_0x292f54,_0x5831ba){const _0x417fa6=_0x27f9bc,_0x41ee3f=P(_0xf5bbd9),_0x2ce71b=function(_0x4e7f94){const _0x45486e=_0x2cf9,_0x56eedc=_0x18b5e8[_0x45486e(0x160)][_0x45486e(0x14e)]();return _0x56eedc[_0x45486e(0x123)](_0x4e7f94),_0x56eedc;}(_0x5831ba);let _0x108888;_0x108888=0x0==_0x292f54?k(_0x2ce71b[_0x417fa6(0x173)],_0x2ce71b[_0x417fa6(0x1b4)],_0xf5bbd9[_0x417fa6(0x1b6)],Array[_0x417fa6(0x180)](_0xf5bbd9[_0x417fa6(0x1b6)][_0x417fa6(0x1a0)])[_0x417fa6(0x185)](_0xf5bbd9)):k(_0x2ce71b[_0x417fa6(0x173)],_0x2ce71b[_0x417fa6(0x1b4)],_0xf5bbd9,_0x292f54);const _0x496eba=k(_0xf5bbd9,_0x292f54,_0x2ce71b[_0x417fa6(0x16b)],_0x2ce71b[_0x417fa6(0x18b)]),_0x391565=new _0x1f0300(_0x108888)[_0x417fa6(0x156)];return(new _0x1f0300(_0x496eba)[_0x417fa6(0x11b)]+_0x391565)/0x2-new _0x1f0300(_0x41ee3f)[_0x417fa6(0x11b)];}function m(_0xc55b5f){return new Promise(_0x2793a1=>{const _0x1a0f3e=_0x2cf9;function _0x580d53(){const _0x3d67cf=_0x2cf9;_0xc55b5f[_0x3d67cf(0x111)](_0x3d67cf(0x144),_0x580d53),_0xc55b5f[_0x3d67cf(0x111)](_0x3d67cf(0x190),_0x580d53),_0x2793a1();}_0xc55b5f[_0x1a0f3e(0x141)]?_0x2793a1():(_0xc55b5f[_0x1a0f3e(0x15e)](_0x1a0f3e(0x144),_0x580d53),_0xc55b5f[_0x1a0f3e(0x15e)](_0x1a0f3e(0x190),_0x580d53));});}function p(_0x4c57fc){return new Promise(_0x18aeee=>setTimeout(_0x18aeee,_0x4c57fc));}function P(_0x3e598a){const _0x38cdba=_0x27f9bc,_0x3d30e4=_0x18b5e8[_0x38cdba(0x160)][_0x38cdba(0x14e)]();return _0x3d30e4[_0x38cdba(0x1a6)](_0x3e598a),_0x3d30e4;}function y(_0x522b66,_0x14ff29,_0x5cc387){const _0x3c67be=_0x27f9bc,_0x192f67=_0x18b5e8[_0x3c67be(0x160)][_0x3c67be(0x14e)]();return _0x192f67[_0x3c67be(0x120)](_0x522b66,_0x14ff29),_0x192f67[_0x3c67be(0x1b7)](_0x522b66,_0x5cc387),_0x192f67;}function k(_0xc2c16b,_0x2abfb1,_0x58c5b2,_0x513386){const _0x4300d9=_0x27f9bc,_0x4743ae=_0x18b5e8[_0x4300d9(0x160)][_0x4300d9(0x14e)]();return _0x4743ae[_0x4300d9(0x120)](_0xc2c16b,_0x2abfb1),_0x4743ae[_0x4300d9(0x1b7)](_0x58c5b2,_0x513386),_0x4743ae;}function b(_0x5d1485,_0x427de5,_0x39b5c4,_0x2525b8){const _0x220c56=_0x27f9bc,_0x379e23=[];for(const [_0x16d032,_0x379d7e]of _0x5d1485[_0x220c56(0x1a0)][_0x220c56(0x1a4)]()){let _0x2478e5=[];S(_0x379d7e)&&_0x379d7e[_0x220c56(0x184)]&&!_0x379d7e[_0x220c56(0x114)][_0x220c56(0x171)]?_0x2478e5=x(_0x379d7e,_0x16d032,_0x427de5,_0x39b5c4,_0x2525b8):N(_0x379d7e)&&(_0x2478e5=I(_0x379d7e,_0x16d032,_0x427de5,_0x39b5c4,_0x2525b8)),_0x2478e5[_0x220c56(0x196)]&&(_0x379e23[_0x220c56(0x197)](..._0x2478e5),_0x427de5+=_0x2478e5[_0x220c56(0x196)]*_0x39b5c4,_0x2525b8=!0x1);}return _0x379e23;}function x(_0x36008f,_0x1f4a93,_0x15dd75,_0x54c23f,_0x34d5b8){const _0xeb89d1=_0x27f9bc,_0x58b03d=[];var _0x697e2;(_0x697e2=_0x36008f[_0xeb89d1(0x15c)])&&S(_0x697e2)&&Boolean(_0x697e2[_0xeb89d1(0x14a)][_0xeb89d1(0x128)](_0xeb89d1(0x174))||_0x697e2[_0xeb89d1(0x192)](_0xeb89d1(0x117)))&&(_0x58b03d[_0xeb89d1(0x197)]({'type':_0xeb89d1(0x195),'offset':0x0,'path':[_0x1f4a93-0x1]}),_0x34d5b8=!0x0);const _0x2ffee2=_0x36008f[_0xeb89d1(0x192)](_0xeb89d1(0x159));if(_0x2ffee2&&function(_0x3eff13){const _0xbce7da=_0xeb89d1;let _0x3f4094=!0x1;const _0x54ee0e=_0x3eff13[_0xbce7da(0x101)],_0x4e4d08=_0x54ee0e[_0xbce7da(0x112)][_0xbce7da(0x13a)],_0x52bc54=_0x3eff13[_0xbce7da(0x1ae)],_0x47e810=_0x3eff13[_0xbce7da(0x179)],_0x596c4b=_0x52bc54&&_0x18b5e8[_0xbce7da(0x1a5)][_0xbce7da(0x108)](_0x52bc54)[_0xbce7da(0x189)],_0x46e941=_0x52bc54&&_0xbce7da(0x118)===_0x52bc54[_0xbce7da(0x10f)];!_0x4e4d08||_0x52bc54||_0x47e810||(_0x3f4094=!0x0),_0x4e4d08&&!_0x47e810&&_0x46e941&&(_0x3f4094=!0x0),_0x4e4d08&&!_0x47e810&&_0xbce7da(0x17f)!==_0x596c4b&&(_0x3f4094=!0x0);if(_0x3f4094)return!0x1;return!0x0;}(_0x2ffee2)){const _0x2e2552=_0x18b5e8[_0xeb89d1(0x1a5)][_0xeb89d1(0x108)](_0x2ffee2)[_0xeb89d1(0x189)];if(_0xeb89d1(0x1a7)==_0x2e2552||_0xeb89d1(0x148)==_0x2e2552)return _0x58b03d;}const _0x1b610e=b(_0x36008f,_0x15dd75,_0x54c23f,_0x34d5b8);if(_0x1b610e[_0xeb89d1(0x196)]){for(const _0x523c54 of _0x1b610e)_0x58b03d[_0xeb89d1(0x197)]({'type':_0x523c54[_0xeb89d1(0x158)],'offset':_0x523c54[_0xeb89d1(0x199)],'textOffset':_0x523c54[_0xeb89d1(0x137)],'path':[_0x1f4a93,..._0x523c54[_0xeb89d1(0x12e)]]}),_0x15dd75+=_0x54c23f,_0x34d5b8=!0x1;return _0x58b03d;}return _0x58b03d[_0xeb89d1(0x197)](...function(_0x584fde,_0xc78670,_0x30396f,_0x37a7b8,_0x292533){const _0x213081=_0xeb89d1,_0x3e12d2=[];if(_0x213081(0x1a2)==_0x18b5e8[_0x213081(0x1a5)][_0x213081(0x108)](_0x584fde)[_0x213081(0x1a3)])return[];const _0x56934a=[];for(const _0x48081e of _0x584fde[_0x213081(0x110)]())if(_0x48081e[_0x213081(0x1a7)]>=_0x30396f){for(const _0x384f89 of _0x56934a)_0x384f89[_0x213081(0x17a)]+=_0x48081e[_0x213081(0x17a)];_0x56934a[_0x213081(0x197)]({'height':_0x48081e[_0x213081(0x17a)]}),_0x30396f+=_0x37a7b8;}for(const _0x4b7c7c of _0x56934a)_0x292533||_0x3e12d2[_0x213081(0x197)]({'type':_0x213081(0x1b3),'offset':_0x4b7c7c[_0x213081(0x17a)],'textOffset':0x0,'path':[_0xc78670]}),_0x292533=!0x1;return _0x3e12d2;}(_0x36008f,_0x1f4a93,_0x15dd75,_0x54c23f,_0x34d5b8)),_0x58b03d;}function I(_0x106a1b,_0x47f895,_0x210c5f,_0x17f400,_0x719e2d){const _0x30819d=_0x27f9bc,_0x4fc058=P(_0x106a1b),_0x397179=[];let _0xf93ed6=0x0;for(const _0x50ed2d of _0x4fc058[_0x30819d(0x110)]())if(_0x50ed2d[_0x30819d(0x1a7)]>=_0x210c5f){const _0x380d61=B(_0x106a1b,_0xf93ed6,_0x210c5f,_0x17f400);_0x719e2d||_0x397179[_0x30819d(0x197)]({'type':_0x30819d(0x12a),'path':[_0x47f895],'textOffset':_0x380d61}),_0xf93ed6=_0x380d61,_0x210c5f+=_0x17f400,_0x719e2d=!0x1;}return _0x397179;}function B(_0x4ba8b8,_0x151724,_0x3c90df,_0x3c3785){const _0x169c43=_0x27f9bc;let _0x4ab30a=_0x151724,_0x599d5a=_0x4ba8b8[_0x169c43(0x196)];for(;_0x599d5a-_0x4ab30a>0x1;){const _0x323f7b=Math[_0x169c43(0x131)]((_0x4ab30a+_0x599d5a)/0x2);_(y(_0x4ba8b8,_0x4ab30a,_0x323f7b),_0x3c90df,_0x3c3785)?_0x599d5a=_0x323f7b:_0x4ab30a=_0x323f7b;}return _0x4ab30a;}function _(_0x53b776,_0x5037c4,_0x39c3ea){const _0xadcf1c=_0x27f9bc;for(const _0x41f51a of _0x53b776[_0xadcf1c(0x110)]())if(_0x41f51a[_0xadcf1c(0x1a7)]>=_0x5037c4&&_0x41f51a[_0xadcf1c(0x1a7)]<_0x5037c4+_0x39c3ea)return!0x0;return!0x1;}function S(_0x52ca69){const _0x15e75c=_0x27f9bc;return _0x52ca69[_0x15e75c(0x1b9)]==Node[_0x15e75c(0x12b)];}function _0x2cf9(_0x1d3989,_0x3d2d93){const _0x2056ec=_0x2056();return _0x2cf9=function(_0x2cf9f1,_0x42e60f){_0x2cf9f1=_0x2cf9f1-0xfe;let _0x2525e8=_0x2056ec[_0x2cf9f1];return _0x2525e8;},_0x2cf9(_0x1d3989,_0x3d2d93);}function N(_0x8aadf4){const _0x4e6458=_0x27f9bc;return _0x8aadf4[_0x4e6458(0x1b9)]==Node[_0x4e6458(0x167)];}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @module pagination/paginationrenderer
|
|
7
|
+
*/
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
9
|
+
/**
|
|
10
|
+
* The pagination renderer plugin. This plugin renders pagination lines (with numbers) over
|
|
11
|
+
* the editing root of the editor.
|
|
12
|
+
*/
|
|
13
|
+
export default class PaginationRenderer extends Plugin {
|
|
14
|
+
/**
|
|
15
|
+
* The current page number.
|
|
16
|
+
*
|
|
17
|
+
* @observable
|
|
18
|
+
* @default 1
|
|
19
|
+
* @readonly
|
|
20
|
+
*/
|
|
21
|
+
pageNumber: number;
|
|
22
|
+
/**
|
|
23
|
+
* @inheritDoc
|
|
24
|
+
*/
|
|
25
|
+
static get pluginName(): "PaginationRenderer";
|
|
26
|
+
/**
|
|
27
|
+
* @inheritDoc
|
|
28
|
+
*/
|
|
29
|
+
static get isOfficialPlugin(): true;
|
|
30
|
+
/**
|
|
31
|
+
* @inheritDoc
|
|
32
|
+
*/
|
|
33
|
+
static get isPremiumPlugin(): true;
|
|
34
|
+
/**
|
|
35
|
+
* @inheritDoc
|
|
36
|
+
*/
|
|
37
|
+
init(): void;
|
|
38
|
+
/**
|
|
39
|
+
* @inheritDoc
|
|
40
|
+
*/
|
|
41
|
+
destroy(): void;
|
|
42
|
+
/**
|
|
43
|
+
* Scroll the editor content to a desired page.
|
|
44
|
+
*
|
|
45
|
+
* @param pageNumber The page number (counting from 1).
|
|
46
|
+
*/
|
|
47
|
+
scrollToPage(pageNumber: number): void;
|
|
48
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
function _0x343b(_0x3487fa,_0xbb4353){const _0x3cebb8=_0x3ceb();return _0x343b=function(_0x343b22,_0x29a22b){_0x343b22=_0x343b22-0x1b2;let _0x58a33d=_0x3cebb8[_0x343b22];return _0x58a33d;},_0x343b(_0x3487fa,_0xbb4353);}const _0x55e5ba=_0x343b;(function(_0x42578f,_0x531e7e){const _0x1a35a7=_0x343b,_0x20707b=_0x42578f();while(!![]){try{const _0xf902e3=parseInt(_0x1a35a7(0x1cd))/0x1+parseInt(_0x1a35a7(0x1e3))/0x2+parseInt(_0x1a35a7(0x1fc))/0x3+-parseInt(_0x1a35a7(0x1d5))/0x4*(-parseInt(_0x1a35a7(0x1f8))/0x5)+parseInt(_0x1a35a7(0x1cc))/0x6+-parseInt(_0x1a35a7(0x1c5))/0x7*(parseInt(_0x1a35a7(0x1e2))/0x8)+-parseInt(_0x1a35a7(0x1e4))/0x9*(parseInt(_0x1a35a7(0x1bc))/0xa);if(_0xf902e3===_0x531e7e)break;else _0x20707b['push'](_0x20707b['shift']());}catch(_0x3cdbf9){_0x20707b['push'](_0x20707b['shift']());}}}(_0x3ceb,0x9ba18));import{Plugin as _0x1fe096}from'ckeditor5/src/core.js';import{Rect as _0x232f0d,global as _0x152aac,ResizeObserver as _0x142ee5,env as _0x411ef8}from'ckeditor5/src/utils.js';import _0x1984b1 from'./ui/linesrepository.js';function _0x3ceb(){const _0xe9bf45=['917cAZMBb','left','auto','width','cleanLines','pageNumber','_onUiReady','2968974QFPpkZ','723235gDCYkk','plugins','ready','listenTo','_renderPageBreakLines','document','isPremiumPlugin','get','12jbsmvf','parentElement','ownerDocument','values','editor','scroll','scrollToPage','_getAttachedDomRoot','roots','length','view','isOfficialPlugin','pageBreaks','14408yPFVST','2292980NDmZvL','27kJkieg','scrollTo','_paginationLookupPlugin','PaginationEditing','destroy','pluginName','editing','domRoots','_resizeObserver','_scrollableEditingRootDomAncestor','_updatePageBreakLines','change:isEnabled','ck-pagination_enabled','scrollTop','height','bind','body','getComputedStyle','PaginationRenderer','overflowY','697355acmEpE','once','window','contains','1420263qUaLDw','tagName','change','scrollLeft','excludeScrollbarsAndBorders','smooth','push','instant','_toggleEditingRootsClass','removeClass','set','change:pageBreaks','update','offset','isMotionReduced','resize','_getPageBreakLineOffset','BODY','7943310TmKWXD','bottom','top','showLine','PaginationLookup','init','_linesRepository','addClass','isEnabled'];_0x3ceb=function(){return _0xe9bf45;};return _0x3ceb();}const E=_0x55e5ba(0x1f0);export default class n extends _0x1fe096{constructor(){const _0xa7dbf1=_0x55e5ba;super(...arguments),this[_0xa7dbf1(0x1ed)]=null,this[_0xa7dbf1(0x1ec)]=null;}static get[_0x55e5ba(0x1e9)](){const _0x196aa2=_0x55e5ba;return _0x196aa2(0x1f6);}static get[_0x55e5ba(0x1e0)](){return!0x0;}static get[_0x55e5ba(0x1d3)](){return!0x0;}[_0x55e5ba(0x1c1)](){const _0x54e003=_0x55e5ba;this[_0x54e003(0x1b4)]({'pageNumber':0x1}),this[_0x54e003(0x1c2)]=new _0x1984b1(this[_0x54e003(0x1d9)]),this[_0x54e003(0x1ed)]=null,this[_0x54e003(0x1ec)]=null,this[_0x54e003(0x1e6)]=this[_0x54e003(0x1d9)][_0x54e003(0x1ce)][_0x54e003(0x1d4)](_0x54e003(0x1c0)),this[_0x54e003(0x1f3)](_0x54e003(0x1c4))['to'](this[_0x54e003(0x1d9)][_0x54e003(0x1ce)][_0x54e003(0x1d4)](_0x54e003(0x1e7))),this[_0x54e003(0x1d9)]['ui'][_0x54e003(0x1f9)](_0x54e003(0x1cf),()=>this[_0x54e003(0x1cb)]()),this[_0x54e003(0x1b2)](E),this['on'](_0x54e003(0x1ef),(_0x24beb6,_0x53bd0a,_0x130fc7)=>{const _0x2cd0ff=_0x54e003;_0x130fc7||this[_0x2cd0ff(0x1c2)][_0x2cd0ff(0x1c9)](),this[_0x2cd0ff(0x1b2)](E,_0x130fc7);});}[_0x55e5ba(0x1e8)](){const _0x1c0fe0=_0x55e5ba;this[_0x1c0fe0(0x1b2)](E,!0x1),this[_0x1c0fe0(0x1c2)][_0x1c0fe0(0x1e8)](),this[_0x1c0fe0(0x1ed)]=null,this[_0x1c0fe0(0x1ec)]&&this[_0x1c0fe0(0x1ec)][_0x1c0fe0(0x1e8)]();}[_0x55e5ba(0x1db)](_0x589e66){const _0x2ec76a=_0x55e5ba;if(!this[_0x2ec76a(0x1c4)])return;const _0x3af588=_0x589e66>0x1?this[_0x2ec76a(0x1ba)](_0x589e66-0x1):0x0;this[_0x2ec76a(0x1ed)][_0x2ec76a(0x1e5)]({'top':_0x3af588-0xa,'left':this[_0x2ec76a(0x1ed)][_0x2ec76a(0x1ff)],'behavior':_0x411ef8[_0x2ec76a(0x1b8)]?_0x2ec76a(0x203):_0x2ec76a(0x201)});}[_0x55e5ba(0x1cb)](){const _0x3649fd=_0x55e5ba,_0x575cb4=this[_0x3649fd(0x1d9)],_0x48fef5=this[_0x3649fd(0x1dc)]();_0x48fef5?(this[_0x3649fd(0x1ed)]=function(_0x186362){const _0x5b8292=_0x3649fd;let _0x1e886f=_0x186362;do{_0x1e886f=_0x1e886f[_0x5b8292(0x1d6)];const _0x2e1449=_0x152aac[_0x5b8292(0x1fa)][_0x5b8292(0x1f5)](_0x1e886f)[_0x5b8292(0x1f7)];if(_0x5b8292(0x1c7)==_0x2e1449||_0x5b8292(0x1da)==_0x2e1449)break;}while(_0x5b8292(0x1bb)!=_0x1e886f[_0x5b8292(0x1fd)]);return _0x1e886f;}(_0x48fef5),_0x575cb4['ui'][_0x3649fd(0x1df)][_0x3649fd(0x1d0)](this[_0x3649fd(0x1ed)],_0x3649fd(0x1da),()=>{const _0x9f7971=_0x3649fd;this[_0x9f7971(0x1ee)]();},{'usePassive':!0x0}),_0x575cb4['ui'][_0x3649fd(0x1df)][_0x3649fd(0x1d0)](_0x152aac[_0x3649fd(0x1fa)],_0x3649fd(0x1b9),()=>this[_0x3649fd(0x1ee)]()),this[_0x3649fd(0x1ec)]=new _0x142ee5(this[_0x3649fd(0x1ed)],()=>{const _0x126e32=_0x3649fd;this[_0x126e32(0x1ee)]();}),this[_0x3649fd(0x1d0)](this[_0x3649fd(0x1e6)],_0x3649fd(0x1b5),()=>this[_0x3649fd(0x1ee)]())):_0x575cb4['ui'][_0x3649fd(0x1f9)](_0x3649fd(0x1b6),()=>this[_0x3649fd(0x1cb)]());}[_0x55e5ba(0x1dc)](){const _0x3167ce=_0x55e5ba;for(const _0x2aa3bd of this[_0x3167ce(0x1d9)][_0x3167ce(0x1ea)][_0x3167ce(0x1df)][_0x3167ce(0x1eb)][_0x3167ce(0x1d8)]())if(_0x2aa3bd[_0x3167ce(0x1d7)][_0x3167ce(0x1f4)][_0x3167ce(0x1fb)](_0x2aa3bd))return _0x2aa3bd;return null;}[_0x55e5ba(0x1ee)](){const _0x468389=_0x55e5ba;if(!this[_0x468389(0x1c4)])return;const _0x38e9b2=this[_0x468389(0x1dc)](),_0xa2df72=this[_0x468389(0x1e6)][_0x468389(0x1e1)];if(this[_0x468389(0x1c2)][_0x468389(0x1c9)](),!_0x38e9b2||0x1==_0xa2df72[_0x468389(0x1de)])return void(this[_0x468389(0x1ca)]=0x1);const _0x135cc7=new _0x232f0d(_0x38e9b2)[_0x468389(0x200)](),_0x58ca29=new _0x232f0d(this[_0x468389(0x1ed)])[_0x468389(0x200)](),_0x1d9ea7=_0x58ca29[_0x468389(0x1be)]+_0x58ca29[_0x468389(0x1f2)]/0x3;let _0x2d47fe=!0x1;const _0xfc4204=[];for(let _0x286cbc=0x1;_0x286cbc<_0xa2df72[_0x468389(0x1de)];_0x286cbc++){const _0x118e8e=this[_0x468389(0x1ba)](_0x286cbc,_0x58ca29);if(!_0x118e8e)continue;const _0x15a90c=_0x58ca29[_0x468389(0x1be)]+_0x118e8e-this[_0x468389(0x1ed)][_0x468389(0x1f1)];_0xfc4204[_0x468389(0x202)]({'pageOffsetTop':_0x15a90c,'domRootRect':_0x135cc7,'domScrollableRect':_0x58ca29,'pageNumber':_0x286cbc}),_0x15a90c>_0x1d9ea7&&!_0x2d47fe&&(this[_0x468389(0x1ca)]=_0x286cbc,_0x2d47fe=!0x0);}this[_0x468389(0x1d1)](_0xfc4204),_0x2d47fe||(this[_0x468389(0x1ca)]=_0xa2df72[_0x468389(0x1de)]);}[_0x55e5ba(0x1d1)](_0x20fa75){const _0x4a7c5e=_0x55e5ba,{scrollX:_0x315839,scrollY:_0x1e2444}=_0x152aac[_0x4a7c5e(0x1fa)];if(_0x20fa75[_0x4a7c5e(0x1de)]){for(const {domScrollableRect:_0x295ce7,pageOffsetTop:_0x38b970,domRootRect:_0x13690d,pageNumber:_0x598269}of _0x20fa75)_0x295ce7[_0x4a7c5e(0x1be)]<_0x38b970&&_0x38b970<_0x295ce7[_0x4a7c5e(0x1bd)]&&this[_0x4a7c5e(0x1c2)][_0x4a7c5e(0x1bf)](_0x13690d[_0x4a7c5e(0x1c6)]+_0x315839,_0x38b970+_0x1e2444,_0x13690d[_0x4a7c5e(0x1c8)],_0x598269+0x1);}}[_0x55e5ba(0x1ba)](_0x2b0b0e,_0x5ce18d=null){const _0x57545d=_0x55e5ba,_0x43ac8e=this[_0x57545d(0x1e6)][_0x57545d(0x1e1)][_0x2b0b0e][_0x57545d(0x1b7)];return _0x43ac8e?(_0x5ce18d||(_0x5ce18d=new _0x232f0d(this[_0x57545d(0x1ed)])[_0x57545d(0x200)]()),_0x43ac8e-_0x5ce18d[_0x57545d(0x1be)]+this[_0x57545d(0x1ed)][_0x57545d(0x1f1)]):0x0;}[_0x55e5ba(0x1b2)](_0x4affc2,_0x322c97=!0x0){const _0x2b15be=_0x55e5ba,_0x401a22=this[_0x2b15be(0x1d9)][_0x2b15be(0x1ea)][_0x2b15be(0x1df)];_0x401a22[_0x2b15be(0x1fe)](_0x7416c8=>{const _0x4f1604=_0x2b15be;for(const _0x3f9805 of _0x401a22[_0x4f1604(0x1d2)][_0x4f1604(0x1dd)])_0x322c97?_0x7416c8[_0x4f1604(0x1c3)](_0x4affc2,_0x3f9805):_0x7416c8[_0x4f1604(0x1b3)](_0x4affc2,_0x3f9805);});}}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @module pagination/paginationui
|
|
7
|
+
*/
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
9
|
+
/**
|
|
10
|
+
* The pagination UI plugin. It introduces:
|
|
11
|
+
*
|
|
12
|
+
* * The `'pageNavigation'` UI view,
|
|
13
|
+
* * The `'nextPage'` UI button,
|
|
14
|
+
* * The `'previousPage'` UI button.
|
|
15
|
+
*/
|
|
16
|
+
export default class PaginationUI extends Plugin {
|
|
17
|
+
/**
|
|
18
|
+
* @inheritDoc
|
|
19
|
+
*/
|
|
20
|
+
static get pluginName(): "PaginationUI";
|
|
21
|
+
/**
|
|
22
|
+
* @inheritDoc
|
|
23
|
+
*/
|
|
24
|
+
static get isOfficialPlugin(): true;
|
|
25
|
+
/**
|
|
26
|
+
* @inheritDoc
|
|
27
|
+
*/
|
|
28
|
+
static get isPremiumPlugin(): true;
|
|
29
|
+
/**
|
|
30
|
+
* @inheritDoc
|
|
31
|
+
*/
|
|
32
|
+
init(): void;
|
|
33
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
const _0x436659=_0x4bab;(function(_0x2c956e,_0x34effd){const _0x12b9c7=_0x4bab,_0x8b3830=_0x2c956e();while(!![]){try{const _0x24ba0e=parseInt(_0x12b9c7(0x120))/0x1*(-parseInt(_0x12b9c7(0x121))/0x2)+parseInt(_0x12b9c7(0x113))/0x3*(-parseInt(_0x12b9c7(0x124))/0x4)+-parseInt(_0x12b9c7(0x125))/0x5+parseInt(_0x12b9c7(0x10d))/0x6+-parseInt(_0x12b9c7(0x11a))/0x7+parseInt(_0x12b9c7(0x135))/0x8*(parseInt(_0x12b9c7(0x117))/0x9)+parseInt(_0x12b9c7(0x111))/0xa*(parseInt(_0x12b9c7(0x10b))/0xb);if(_0x24ba0e===_0x34effd)break;else _0x8b3830['push'](_0x8b3830['shift']());}catch(_0x3b1684){_0x8b3830['push'](_0x8b3830['shift']());}}}(_0x5686,0xc0e73));import{Plugin as _0x2e1640}from'ckeditor5/src/core.js';import{ButtonView as _0x59355e}from'ckeditor5/src/ui.js';import _0x3dabae from'./ui/pagenavigatorview.js';import _0x111cab from'../theme/icons/arrow-down.svg';function _0x5686(){const _0x627926=['get','204720VLXnby','793985IhPeNY','icon','goToPreviousPage','tooltip','Go\x20to\x20next\x20page','nextPage','PaginationEditing','Go\x20to\x20previous\x20page','locale','navigation','add','editor','bind','init','moveSelectionToPage','isEnabled','11435848WTEHjT','scrollToPage','isPremiumPlugin','4057603vpYxXX','pluginName','4543968uCFTud','Shift+PageUp','isOfficialPlugin','pageNavigation','60IQcHET','pageNumber','75PSCXir','keystroke','totalPages','listenTo','9ADplch','goToNextPage','plugins','9956373OEubKi','execute','PaginationUI','componentFactory','label','previousPage','35LfsiDW','42816ihVxrZ','Shift+PageDown'];_0x5686=function(){return _0x627926;};return _0x5686();}import _0x5c8eb1 from'../theme/icons/arrow-up.svg';function _0x4bab(_0x6be22f,_0x27acf0){const _0x568622=_0x5686();return _0x4bab=function(_0x4bab0a,_0x4df595){_0x4bab0a=_0x4bab0a-0x10b;let _0x2493e9=_0x568622[_0x4bab0a];return _0x2493e9;},_0x4bab(_0x6be22f,_0x27acf0);}import{getTranslation as _0x5ec5f2}from'./utils/common-translations.js';export default class s extends _0x2e1640{static get[_0x436659(0x10c)](){const _0x5d743f=_0x436659;return _0x5d743f(0x11c);}static get[_0x436659(0x10f)](){return!0x0;}static get[_0x436659(0x137)](){return!0x0;}[_0x436659(0x132)](){const _0x21ead3=_0x436659,_0x4785e6=this[_0x21ead3(0x130)],_0xd0204c=_0x4785e6[_0x21ead3(0x119)][_0x21ead3(0x123)](_0x21ead3(0x12b));_0x4785e6['ui'][_0x21ead3(0x11d)][_0x21ead3(0x12f)](_0x21ead3(0x110),_0x49bd71=>{const _0x353fac=_0x21ead3,_0x4d689b=new _0x3dabae(_0x49bd71);return _0x4d689b[_0x353fac(0x131)](_0x353fac(0x112))['to'](_0xd0204c),_0x4d689b[_0x353fac(0x131)](_0x353fac(0x115))['to'](_0xd0204c),_0x4d689b[_0x353fac(0x131)](_0x353fac(0x134))['to'](_0xd0204c),_0x4d689b['on'](_0x353fac(0x12e),(_0x3baba2,_0x4befb8)=>{const _0x285960=_0x353fac;_0xd0204c[_0x285960(0x133)](_0x4befb8),_0xd0204c[_0x285960(0x136)](_0x4befb8);}),_0x4d689b;}),_0x4785e6['ui'][_0x21ead3(0x11d)][_0x21ead3(0x12f)](_0x21ead3(0x12a),_0x285030=>{const _0x203fbb=_0x21ead3,_0x53693f=new _0x59355e(_0x285030);return _0x53693f[_0x203fbb(0x134)]=!0x0,_0x53693f[_0x203fbb(0x11e)]=_0x5ec5f2(_0x4785e6[_0x203fbb(0x12d)],_0x203fbb(0x129)),_0x53693f[_0x203fbb(0x126)]=_0x111cab,_0x53693f[_0x203fbb(0x128)]=!0x0,_0x53693f[_0x203fbb(0x114)]=_0x203fbb(0x122),_0x53693f[_0x203fbb(0x131)](_0x203fbb(0x134))['to'](_0xd0204c),this[_0x203fbb(0x116)](_0x53693f,_0x203fbb(0x11b),()=>{const _0x1ad808=_0x203fbb;_0xd0204c[_0x1ad808(0x118)]();}),_0x53693f;}),_0x4785e6['ui'][_0x21ead3(0x11d)][_0x21ead3(0x12f)](_0x21ead3(0x11f),_0x243aac=>{const _0x1215eb=_0x21ead3,_0x314271=new _0x59355e(_0x243aac);return _0x314271[_0x1215eb(0x134)]=!0x0,_0x314271[_0x1215eb(0x11e)]=_0x5ec5f2(_0x4785e6[_0x1215eb(0x12d)],_0x1215eb(0x12c)),_0x314271[_0x1215eb(0x126)]=_0x5c8eb1,_0x314271[_0x1215eb(0x128)]=!0x0,_0x314271[_0x1215eb(0x114)]=_0x1215eb(0x10e),_0x314271[_0x1215eb(0x131)](_0x1215eb(0x134))['to'](_0xd0204c),this[_0x1215eb(0x116)](_0x314271,_0x1215eb(0x11b),()=>{const _0x589d85=_0x1215eb;_0xd0204c[_0x589d85(0x127)]();}),_0x314271;});}}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @module pagination/ui/linesrepository
|
|
7
|
+
*/
|
|
8
|
+
import type { Editor } from 'ckeditor5/src/core.js';
|
|
9
|
+
/**
|
|
10
|
+
* Helper class for managing the page break lines.
|
|
11
|
+
*/
|
|
12
|
+
export default class LinesRepository {
|
|
13
|
+
/**
|
|
14
|
+
* Creates a new lines repository instance.
|
|
15
|
+
*/
|
|
16
|
+
constructor(editor: Editor);
|
|
17
|
+
/**
|
|
18
|
+
* Destroys the lines repository instance.
|
|
19
|
+
*/
|
|
20
|
+
destroy(): void;
|
|
21
|
+
/**
|
|
22
|
+
* Hides all lines.
|
|
23
|
+
*/
|
|
24
|
+
cleanLines(): void;
|
|
25
|
+
/**
|
|
26
|
+
* Shows a line at specified page coordinates.
|
|
27
|
+
*
|
|
28
|
+
* @param left
|
|
29
|
+
* @param top
|
|
30
|
+
* @param width
|
|
31
|
+
* @param pageNumber The page number (line label).
|
|
32
|
+
*/
|
|
33
|
+
showLine(left: number, top: number, width: number, pageNumber: number): void;
|
|
34
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
function _0x4917(){const _0x407a10=['has','showLine','set','clear','_hiddenLines','_visibleLines','244242loiqzG','isVisible','add','6642870ROzqeF','494186ETwldE','97635QZfxHF','16009vdgYkw','destroy','view','9rcwcxi','126904iMRoet','delete','values','body','_viewCollection','size','cleanLines','85uCgfaz','5728MOrgas','90UwXuxm'];_0x4917=function(){return _0x407a10;};return _0x4917();}const _0x3ab8a2=_0x5cea;(function(_0x388d13,_0x2eed38){const _0x43a06e=_0x5cea,_0x212356=_0x388d13();while(!![]){try{const _0x49c946=-parseInt(_0x43a06e(0x14f))/0x1+-parseInt(_0x43a06e(0x153))/0x2+parseInt(_0x43a06e(0x154))/0x3+-parseInt(_0x43a06e(0x147))/0x4*(-parseInt(_0x43a06e(0x146))/0x5)+parseInt(_0x43a06e(0x148))/0x6*(-parseInt(_0x43a06e(0x155))/0x7)+-parseInt(_0x43a06e(0x159))/0x8+-parseInt(_0x43a06e(0x158))/0x9*(-parseInt(_0x43a06e(0x152))/0xa);if(_0x49c946===_0x2eed38)break;else _0x212356['push'](_0x212356['shift']());}catch(_0x22414a){_0x212356['push'](_0x212356['shift']());}}}(_0x4917,0x2bdd9));import{first as _0xc74aa9}from'ckeditor5/src/utils.js';import _0x13416e from'./lineview.js';function _0x5cea(_0x4491ea,_0x23f010){const _0x49176c=_0x4917();return _0x5cea=function(_0x5cea86,_0x8c2319){_0x5cea86=_0x5cea86-0x145;let _0x23c6cc=_0x49176c[_0x5cea86];return _0x23c6cc;},_0x5cea(_0x4491ea,_0x23f010);}export default class O{constructor(_0x22d700){const _0x2695e5=_0x5cea;this[_0x2695e5(0x14e)]=new Set(),this[_0x2695e5(0x14d)]=new Set(),this[_0x2695e5(0x15d)]=_0x22d700['ui'][_0x2695e5(0x157)][_0x2695e5(0x15c)];}[_0x3ab8a2(0x156)](){const _0x1a4c4a=_0x3ab8a2;for(const _0x28b578 of this[_0x1a4c4a(0x14d)])_0x28b578[_0x1a4c4a(0x156)]();}[_0x3ab8a2(0x145)](){const _0xe8dd4f=_0x3ab8a2;for(const _0x5cdecb of this[_0xe8dd4f(0x14e)])_0x5cdecb[_0xe8dd4f(0x150)]=!0x1,this[_0xe8dd4f(0x14d)][_0xe8dd4f(0x151)](_0x5cdecb);this[_0xe8dd4f(0x14e)][_0xe8dd4f(0x14c)]();}[_0x3ab8a2(0x14a)](_0x117302,_0x494b9d,_0x590b57,_0x212767){const _0x94d7df=_0x3ab8a2;let _0x2ed151;this[_0x94d7df(0x14d)][_0x94d7df(0x15e)]?(_0x2ed151=_0xc74aa9(this[_0x94d7df(0x14d)][_0x94d7df(0x15b)]()),this[_0x94d7df(0x14d)][_0x94d7df(0x15a)](_0x2ed151)):_0x2ed151=new _0x13416e(),_0x2ed151[_0x94d7df(0x14b)]({'pageNumber':_0x212767,'left':_0x117302,'top':_0x494b9d,'width':_0x590b57}),_0x2ed151[_0x94d7df(0x150)]=!0x0,this[_0x94d7df(0x15d)][_0x94d7df(0x149)](_0x2ed151)||this[_0x94d7df(0x15d)][_0x94d7df(0x151)](_0x2ed151),this[_0x94d7df(0x14e)][_0x94d7df(0x151)](_0x2ed151);}}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @module pagination/ui/lineview
|
|
7
|
+
*/
|
|
8
|
+
import { View } from 'ckeditor5/src/ui.js';
|
|
9
|
+
import '../../theme/line.css';
|
|
10
|
+
/**
|
|
11
|
+
* The page break line view.
|
|
12
|
+
*/
|
|
13
|
+
export default class LineView extends View {
|
|
14
|
+
/**
|
|
15
|
+
* Controls whether the line is visible.
|
|
16
|
+
*
|
|
17
|
+
* @observable
|
|
18
|
+
* @default false
|
|
19
|
+
*/
|
|
20
|
+
isVisible: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* Controls the line position x coordinate.
|
|
23
|
+
*
|
|
24
|
+
* @observable
|
|
25
|
+
* @default null
|
|
26
|
+
*/
|
|
27
|
+
left: number | null;
|
|
28
|
+
/**
|
|
29
|
+
* Controls the line width.
|
|
30
|
+
*
|
|
31
|
+
* @observable
|
|
32
|
+
* @default null
|
|
33
|
+
*/
|
|
34
|
+
width: number | null;
|
|
35
|
+
/**
|
|
36
|
+
* Controls the line label.
|
|
37
|
+
*
|
|
38
|
+
* @observable
|
|
39
|
+
* @default null
|
|
40
|
+
*/
|
|
41
|
+
pageNumber: number | null;
|
|
42
|
+
/**
|
|
43
|
+
* Controls the line position y coordinate.
|
|
44
|
+
*
|
|
45
|
+
* @observable
|
|
46
|
+
* @default null
|
|
47
|
+
*/
|
|
48
|
+
top: number | null;
|
|
49
|
+
/**
|
|
50
|
+
* @inheritDoc
|
|
51
|
+
*/
|
|
52
|
+
constructor();
|
|
53
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
(function(_0x76534f,_0x52d8ae){const _0x3046e5=_0x125d,_0xa72441=_0x76534f();while(!![]){try{const _0x1d39fe=parseInt(_0x3046e5(0x10b))/0x1+-parseInt(_0x3046e5(0x10a))/0x2+-parseInt(_0x3046e5(0xff))/0x3+parseInt(_0x3046e5(0x100))/0x4*(-parseInt(_0x3046e5(0x104))/0x5)+parseInt(_0x3046e5(0x106))/0x6*(parseInt(_0x3046e5(0x103))/0x7)+parseInt(_0x3046e5(0xfb))/0x8*(-parseInt(_0x3046e5(0xfc))/0x9)+parseInt(_0x3046e5(0x10d))/0xa;if(_0x1d39fe===_0x52d8ae)break;else _0xa72441['push'](_0xa72441['shift']());}catch(_0x3117e3){_0xa72441['push'](_0xa72441['shift']());}}}(_0x324e,0x7d5b1));import{View as _0x8a651b}from'ckeditor5/src/ui.js';import{toUnit as _0x1c3185}from'ckeditor5/src/utils.js';function _0x125d(_0x53a85b,_0x43e541){const _0x324e49=_0x324e();return _0x125d=function(_0x125df6,_0x3abeee){_0x125df6=_0x125df6-0xfb;let _0x4b1996=_0x324e49[_0x125df6];return _0x4b1996;},_0x125d(_0x53a85b,_0x43e541);}function _0x324e(){const _0x57c9cb=['332415kCeYZq','ck-hidden','11548970MsEBTe','isVisible','pageNumber','56wzWlIy','1306719PiKmof','div','set','208686kAIiKb','24UBHNBg','top','bindTemplate','29981pltwSe','40865AYQucr','width','228IYtkpy','ck-pagination-view-line','left','setTemplate','3344WgTQPt'];_0x324e=function(){return _0x57c9cb;};return _0x324e();}import'../../theme/line.css';const z=_0x1c3185('px');export default class q extends _0x8a651b{constructor(){const _0xf45868=_0x125d;super();const _0x2bfe20=this[_0xf45868(0x102)];this[_0xf45868(0xfe)]({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this[_0xf45868(0x109)]({'tag':_0xf45868(0xfd),'attributes':{'data-page-number':_0x2bfe20['to'](_0xf45868(0x10f)),'class':['ck',_0xf45868(0x107),_0x2bfe20['if'](_0xf45868(0x10e),_0xf45868(0x10c),_0xe5f0fa=>!_0xe5f0fa)],'style':{'left':_0x2bfe20['to'](_0xf45868(0x108),_0x3c8273=>z(_0x3c8273)),'top':_0x2bfe20['to'](_0xf45868(0x101),_0x16f162=>z(_0x16f162)),'width':_0x2bfe20['to'](_0xf45868(0x105),_0x570362=>z(_0x570362))}}});}}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @module pagination/ui/pagenavigatorview
|
|
7
|
+
*/
|
|
8
|
+
import { View, InputNumberView } from 'ckeditor5/src/ui.js';
|
|
9
|
+
import { type Locale } from 'ckeditor5/src/utils.js';
|
|
10
|
+
import '../../theme/pagenavigator.css';
|
|
11
|
+
/**
|
|
12
|
+
* The page navigation UI element.
|
|
13
|
+
*/
|
|
14
|
+
export default class PageNavigatorView extends View {
|
|
15
|
+
/**
|
|
16
|
+
* The current page number.
|
|
17
|
+
*
|
|
18
|
+
* @observable
|
|
19
|
+
* @default 1
|
|
20
|
+
*/
|
|
21
|
+
pageNumber: number;
|
|
22
|
+
/**
|
|
23
|
+
* The total page count.
|
|
24
|
+
*
|
|
25
|
+
* @observable
|
|
26
|
+
* @default 1
|
|
27
|
+
*/
|
|
28
|
+
totalPages: number;
|
|
29
|
+
/**
|
|
30
|
+
* Controls whether the component is enabled.
|
|
31
|
+
*
|
|
32
|
+
* @observable
|
|
33
|
+
* @default true
|
|
34
|
+
*/
|
|
35
|
+
isEnabled: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* An instance of the input number view to type a new page number.
|
|
38
|
+
*/
|
|
39
|
+
pageNumberView: InputNumberView;
|
|
40
|
+
/**
|
|
41
|
+
* @inheritDoc
|
|
42
|
+
*/
|
|
43
|
+
constructor(locale: Locale);
|
|
44
|
+
/**
|
|
45
|
+
* @inheritDoc
|
|
46
|
+
*/
|
|
47
|
+
render(): void;
|
|
48
|
+
/**
|
|
49
|
+
* @inheritDoc
|
|
50
|
+
*/
|
|
51
|
+
focus(): void;
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* An event fired after {@link module:pagination/ui/pagenavigatorview~PageNavigatorView#pageNumberView} value is updated.
|
|
55
|
+
*
|
|
56
|
+
* @eventName ~PageNavigatorView#navigation
|
|
57
|
+
*/
|
|
58
|
+
export type PaginationNavigationEvent = {
|
|
59
|
+
name: 'navigation';
|
|
60
|
+
args: [pageNumber: number];
|
|
61
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
const _0x2519d0=_0x3bb8;(function(_0x492e5b,_0x22772a){const _0x13b586=_0x3bb8,_0x38fd3b=_0x492e5b();while(!![]){try{const _0x507975=parseInt(_0x13b586(0x163))/0x1+-parseInt(_0x13b586(0x190))/0x2*(-parseInt(_0x13b586(0x17d))/0x3)+parseInt(_0x13b586(0x17a))/0x4*(-parseInt(_0x13b586(0x183))/0x5)+parseInt(_0x13b586(0x17e))/0x6*(parseInt(_0x13b586(0x172))/0x7)+-parseInt(_0x13b586(0x186))/0x8+parseInt(_0x13b586(0x17c))/0x9*(-parseInt(_0x13b586(0x170))/0xa)+parseInt(_0x13b586(0x177))/0xb;if(_0x507975===_0x22772a)break;else _0x38fd3b['push'](_0x38fd3b['shift']());}catch(_0x488b6a){_0x38fd3b['push'](_0x38fd3b['shift']());}}}(_0x5356,0xa7c99));function _0x5356(){const _0x51adbc=['5207990jUfDpO','fire','navigation','687960wxZZxz','pageNumberView','ariaLabel','preventDefault','value','pageNumber','ArrowUp','focus','firstChild','stopPropagation','4lzxXaa','render','numeric','keyCode','checkValidity','452771EfPrYP','Current\x20page\x20number\x20(from\x201\x20to\x20%0)','isReadOnly','isEnabled','bindTemplate','span','set','blur','totalPages','setTemplate','enter','isNaN','select','39230tVjgez','div','470323CiDYiZ','ck-page-navigator','key','change:pageNumber','ArrowDown','7810319lZCYxu','element','bind','4hJlrcE','valueAsNumber','2097kkajqN','1845246KEOCCF','30VLmiec','keydown','listenTo','ck-disabled','max'];_0x5356=function(){return _0x51adbc;};return _0x5356();}import{View as _0x94d46c,InputNumberView as _0x8aa357}from'ckeditor5/src/ui.js';import{keyCodes as _0x5f5298}from'ckeditor5/src/utils.js';import'../../theme/pagenavigator.css';function _0x3bb8(_0x1b5dff,_0x4fd178){const _0x53561c=_0x5356();return _0x3bb8=function(_0x3bb859,_0x266885){_0x3bb859=_0x3bb859-0x160;let _0x1db0cb=_0x53561c[_0x3bb859];return _0x1db0cb;},_0x3bb8(_0x1b5dff,_0x4fd178);}import{getTranslation as _0x152f16}from'../utils/common-translations.js';export default class j extends _0x94d46c{constructor(_0x432e3c){const _0x135d9d=_0x3bb8;super(_0x432e3c);const _0x46bfe5=this[_0x135d9d(0x167)];this[_0x135d9d(0x169)]({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this[_0x135d9d(0x187)]=new _0x8aa357(_0x432e3c,{'min':0x1,'step':0x1}),this[_0x135d9d(0x187)][_0x135d9d(0x169)]({'inputMode':_0x135d9d(0x160),'tabIndex':-0x1}),this[_0x135d9d(0x187)][_0x135d9d(0x179)](_0x135d9d(0x188))['to'](this,_0x135d9d(0x16b),_0x1931ee=>_0x152f16(_0x432e3c,_0x135d9d(0x164),_0x1931ee)),this[_0x135d9d(0x187)][_0x135d9d(0x179)](_0x135d9d(0x182))['to'](this,_0x135d9d(0x16b)),this[_0x135d9d(0x187)][_0x135d9d(0x179)](_0x135d9d(0x165))['to'](this,_0x135d9d(0x166),_0x3c0ac8=>!_0x3c0ac8),this[_0x135d9d(0x16c)]({'tag':_0x135d9d(0x171),'attributes':{'class':['ck',_0x135d9d(0x173),_0x46bfe5['if'](_0x135d9d(0x166),_0x135d9d(0x181),_0x1dc013=>!_0x1dc013)]},'children':[this[_0x135d9d(0x187)],{'tag':_0x135d9d(0x168),'children':[{'text':_0x46bfe5['to'](_0x135d9d(0x16b))}]}]});}[_0x2519d0(0x191)](){const _0x278509=_0x2519d0;super[_0x278509(0x191)]();const _0x1e55d9=this[_0x278509(0x187)][_0x278509(0x178)],_0x57679e=_0x4c1dfc=>{const _0x79f5e7=_0x278509;this[_0x79f5e7(0x187)][_0x79f5e7(0x178)][_0x79f5e7(0x18a)]=String(_0x4c1dfc);};_0x57679e(this[_0x278509(0x18b)]),this['on'](_0x278509(0x175),(_0x1ebe61,_0x445c49,_0x326918)=>{_0x57679e(_0x326918);}),this[_0x278509(0x180)](_0x1e55d9,_0x278509(0x17f),(_0x495603,_0x15586e)=>{const _0x34d8aa=_0x278509;if(_0x34d8aa(0x18c)===_0x15586e[_0x34d8aa(0x174)]||_0x34d8aa(0x176)===_0x15586e[_0x34d8aa(0x174)])return void _0x15586e[_0x34d8aa(0x18f)]();if(_0x15586e[_0x34d8aa(0x161)]!==_0x5f5298[_0x34d8aa(0x16d)])return;_0x15586e[_0x34d8aa(0x189)]();const _0x4d6cfc=_0x1e55d9[_0x34d8aa(0x17b)];Number[_0x34d8aa(0x16e)](_0x4d6cfc)?_0x1e55d9[_0x34d8aa(0x18a)]=String(this[_0x34d8aa(0x18b)]):(_0x1e55d9[_0x34d8aa(0x162)]()?this[_0x34d8aa(0x18b)]=_0x4d6cfc:_0x4d6cfc>this[_0x34d8aa(0x16b)]?(this[_0x34d8aa(0x18b)]=this[_0x34d8aa(0x16b)],_0x1e55d9[_0x34d8aa(0x18a)]=String(this[_0x34d8aa(0x16b)])):(this[_0x34d8aa(0x18b)]=0x1,_0x1e55d9[_0x34d8aa(0x18a)]='1'),this[_0x34d8aa(0x184)](_0x34d8aa(0x185),this[_0x34d8aa(0x18b)]));}),this[_0x278509(0x180)](_0x1e55d9,_0x278509(0x16a),()=>{const _0x58449a=_0x278509;_0x1e55d9[_0x58449a(0x18a)]=String(this[_0x58449a(0x18b)]);}),this[_0x278509(0x180)](_0x1e55d9,_0x278509(0x18d),()=>{const _0x37414c=_0x278509;this[_0x37414c(0x187)][_0x37414c(0x16f)]();});}[_0x2519d0(0x18d)](){const _0x3ee28f=_0x2519d0;this[_0x3ee28f(0x178)][_0x3ee28f(0x18e)][_0x3ee28f(0x18d)]();}}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @module pagination/utils/common-translations
|
|
7
|
+
*/
|
|
8
|
+
import type { Locale } from 'ckeditor5/src/utils.js';
|
|
9
|
+
export declare function getTranslation(locale: Locale, id: string, ...args: Array<any>): string;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
export function getTranslation(_0xdaa2bd,_0x4268bd,..._0x150d39){const t=_0xdaa2bd['t'];switch(_0x4268bd){case'Go\x20to\x20next\x20page':return t('Go\x20to\x20next\x20page');case'Go\x20to\x20previous\x20page':return t('Go\x20to\x20previous\x20page');case'Current\x20page\x20number\x20(from\x201\x20to\x20%0)':return t('Current\x20page\x20number\x20(from\x201\x20to\x20%0)',..._0x150d39);case'Keystrokes\x20for\x20navigating\x20through\x20documents':return t('Keystrokes\x20for\x20navigating\x20through\x20documents');case'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':return t('Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)');case'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':return t('Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)');default:return _0x4268bd;}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M10 .75a9.25 9.25 0 110 18.5 9.25 9.25 0 010-18.5zm0 1.5a7.75 7.75 0 100 15.5 7.75 7.75 0 000-15.5zm0 2.022a.75.75 0 01.743.649l.007.101v8.165l2.714-2.705a.75.75 0 01.977-.07l.084.072a.75.75 0 01.07.976l-.072.084-3.994 3.981a.75.75 0 01-.975.073l-.084-.073-3.99-3.98a.75.75 0 01.975-1.135l.085.072 2.71 2.706V5.022a.75.75 0 01.75-.75z"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M10 19.25a9.25 9.25 0 100-18.5 9.25 9.25 0 000 18.5zm0-1.5a7.75 7.75 0 110-15.5 7.75 7.75 0 010 15.5zm0-2.022a.75.75 0 00.743-.649l.007-.101V6.813l2.714 2.705a.75.75 0 00.977.07l.084-.072a.75.75 0 00.07-.976l-.072-.084-3.994-3.981a.75.75 0 00-.975-.073l-.084.073-3.99 3.98a.75.75 0 00.975 1.135l.085-.072 2.71-2.706v8.166c0 .414.336.75.75.75z"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns='http://www.w3.org/2000/svg' width='56' height='24'><path d='M12.527 14.733l-.514.022-.057-.057-.058-.058.006-2.44.007-2.44-.834-.023-.833-.022.023-.406.024-.405.536-.1.536-.098.25-.145.25-.145.17-.429.172-.428.399-.024.398-.023v7.08l.02.059.02.059zm17.894.016h-.457l.043-.138.043-.137.635-2.004.636-2.004.437-1.375.436-1.375.055-.196.054-.197.38-.024.378-.024.07.069.07.07-1.162 3.667-1.16 3.667h-.458zm11.733 0h-.55V9.72h-1.65v-.864h.385l.4-.086.398-.086.233-.195.232-.196.138-.386.137-.387h.827v7.229zm6.404 0h-.51V13.02h-3.143v-1.01l1.044-1.44 1.045-1.44.59-.824.592-.825h.854l.02 2.298.021 2.298h1.02v.943H49.07v1.729zM47 12.06l1.008-.022.022-1.4.021-1.401-.07.044-.07.043-.901 1.279-.901 1.278-.058.1-.059.101z'/><path d='M12.256 22.893l-10.53.01-.157-.038-.157-.038-.255-.12L.9 22.59V22.4l.228-.218.228-.218.16.086.16.085h20.922l.16-.085.16-.086.228.218.227.218v.189l-.294.146-.295.147z' fill='#c4c4c4'/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><g><path d="M15 2.5H5v4h10v-4zm-1 1v2H6v-2h8z"/><path d="M16 5.5a2.5 2.5 0 012.495 2.336L18.5 8v5a2.5 2.5 0 01-2.336 2.495L16 15.5h-1V14h1a1 1 0 00.993-.883L17 13V8a1 1 0 00-.883-.993L16 7H4a1 1 0 00-.993.883L3 8v5a1 1 0 00.883.993L4 14h1v1.5H4a2.5 2.5 0 01-2.495-2.336L1.5 13V8a2.5 2.5 0 012.336-2.495L4 5.5h12zM6.5 8a.5.5 0 010 1h-2a.5.5 0 010-1h2z"/><path d="M15 12H5v7h10v-7zm-1 1v5H6v-5h8z"/><path d="M7 14h6v1H7zM7 16h6v1H7z"/></g></svg>
|