@ckeditor/ckeditor5-pagination 41.2.0 → 41.3.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/pagination.js +2 -2
- package/dist/content-index.css +4 -0
- package/dist/editor-index.css +72 -0
- package/dist/index.css +158 -0
- package/dist/translations/ar.d.ts +8 -0
- package/dist/translations/ar.js +23 -0
- package/dist/translations/bg.d.ts +8 -0
- package/dist/translations/bg.js +23 -0
- package/dist/translations/bn.d.ts +8 -0
- package/dist/translations/bn.js +23 -0
- package/dist/translations/ca.d.ts +8 -0
- package/dist/translations/ca.js +23 -0
- package/dist/translations/cs.d.ts +8 -0
- package/dist/translations/cs.js +23 -0
- package/dist/translations/da.d.ts +8 -0
- package/dist/translations/da.js +23 -0
- package/dist/translations/de.d.ts +8 -0
- package/dist/translations/de.js +23 -0
- package/dist/translations/el.d.ts +8 -0
- package/dist/translations/el.js +23 -0
- package/dist/translations/en-au.d.ts +8 -0
- package/dist/translations/en-au.js +23 -0
- package/dist/translations/en.d.ts +8 -0
- package/dist/translations/en.js +23 -0
- package/dist/translations/es.d.ts +8 -0
- package/dist/translations/es.js +23 -0
- package/dist/translations/et.d.ts +8 -0
- package/dist/translations/et.js +23 -0
- package/dist/translations/fi.d.ts +8 -0
- package/dist/translations/fi.js +23 -0
- package/dist/translations/fr.d.ts +8 -0
- package/dist/translations/fr.js +23 -0
- package/dist/translations/gl.d.ts +8 -0
- package/dist/translations/gl.js +23 -0
- package/dist/translations/he.d.ts +8 -0
- package/dist/translations/he.js +23 -0
- package/dist/translations/hi.d.ts +8 -0
- package/dist/translations/hi.js +23 -0
- package/dist/translations/hr.d.ts +8 -0
- package/dist/translations/hr.js +23 -0
- package/dist/translations/hu.d.ts +8 -0
- package/dist/translations/hu.js +23 -0
- package/dist/translations/id.d.ts +8 -0
- package/dist/translations/id.js +23 -0
- package/dist/translations/it.d.ts +8 -0
- package/dist/translations/it.js +23 -0
- package/dist/translations/ja.d.ts +8 -0
- package/dist/translations/ja.js +23 -0
- package/dist/translations/jv.d.ts +8 -0
- package/dist/translations/jv.js +23 -0
- package/dist/translations/ko.d.ts +8 -0
- package/dist/translations/ko.js +23 -0
- package/dist/translations/lt.d.ts +8 -0
- package/dist/translations/lt.js +23 -0
- package/dist/translations/lv.d.ts +8 -0
- package/dist/translations/lv.js +23 -0
- package/dist/translations/ms.d.ts +8 -0
- package/dist/translations/ms.js +23 -0
- package/dist/translations/nl.d.ts +8 -0
- package/dist/translations/nl.js +23 -0
- package/dist/translations/no.d.ts +8 -0
- package/dist/translations/no.js +23 -0
- package/dist/translations/pl.d.ts +8 -0
- package/dist/translations/pl.js +23 -0
- package/dist/translations/pt-br.d.ts +8 -0
- package/dist/translations/pt-br.js +23 -0
- package/dist/translations/pt.d.ts +8 -0
- package/dist/translations/pt.js +23 -0
- package/dist/translations/ro.d.ts +8 -0
- package/dist/translations/ro.js +23 -0
- package/dist/translations/ru.d.ts +8 -0
- package/dist/translations/ru.js +23 -0
- package/dist/translations/sk.d.ts +8 -0
- package/dist/translations/sk.js +23 -0
- package/dist/translations/sr-latn.d.ts +8 -0
- package/dist/translations/sr-latn.js +23 -0
- package/dist/translations/sr.d.ts +8 -0
- package/dist/translations/sr.js +23 -0
- package/dist/translations/sv.d.ts +8 -0
- package/dist/translations/sv.js +23 -0
- package/dist/translations/th.d.ts +8 -0
- package/dist/translations/th.js +23 -0
- package/dist/translations/tr.d.ts +8 -0
- package/dist/translations/tr.js +23 -0
- package/dist/translations/ug.d.ts +8 -0
- package/dist/translations/ug.js +23 -0
- package/dist/translations/uk.d.ts +8 -0
- package/dist/translations/uk.js +23 -0
- package/dist/translations/ur.d.ts +8 -0
- package/dist/translations/ur.js +23 -0
- package/dist/translations/vi.d.ts +8 -0
- package/dist/translations/vi.js +23 -0
- package/dist/translations/zh-cn.d.ts +8 -0
- package/dist/translations/zh-cn.js +23 -0
- package/dist/translations/zh.d.ts +8 -0
- package/dist/translations/zh.js +23 -0
- package/dist/types/augmentation.d.ts +23 -0
- package/dist/types/index.d.ts +13 -0
- package/dist/types/pagination.d.ts +151 -0
- package/dist/types/paginationediting.d.ts +58 -0
- package/dist/types/paginationlookup.d.ts +62 -0
- package/dist/types/paginationrenderer.d.ts +44 -0
- package/dist/types/paginationui.d.ts +29 -0
- package/dist/types/ui/linesrepository.d.ts +38 -0
- package/dist/types/ui/lineview.d.ts +57 -0
- package/dist/types/ui/pagenavigatorview.d.ts +65 -0
- package/lang/contexts.json +2 -1
- package/package.json +4 -3
- package/src/index.js +1 -1
- package/src/pagination.js +1 -1
- package/src/paginationediting.js +1 -1
- package/src/paginationlookup.js +1 -1
- package/src/paginationrenderer.js +1 -1
- package/src/paginationui.js +1 -1
- package/src/ui/linesrepository.js +1 -1
- package/src/ui/lineview.js +1 -1
- package/src/ui/pagenavigatorview.js +1 -1
|
@@ -0,0 +1,151 @@
|
|
|
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
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
8
|
+
*/
|
|
9
|
+
/**
|
|
10
|
+
* @module pagination/pagination
|
|
11
|
+
* @publicApi
|
|
12
|
+
*/
|
|
13
|
+
import { Plugin, type Editor } from 'ckeditor5/src/core.js';
|
|
14
|
+
import PaginationEditing from './paginationediting.js';
|
|
15
|
+
import PaginationUI from './paginationui.js';
|
|
16
|
+
/**
|
|
17
|
+
* The pagination feature.
|
|
18
|
+
*/
|
|
19
|
+
export default class Pagination extends Plugin {
|
|
20
|
+
/**
|
|
21
|
+
* The current page number.
|
|
22
|
+
*
|
|
23
|
+
* @observable
|
|
24
|
+
* @default 1
|
|
25
|
+
* @readonly
|
|
26
|
+
*/
|
|
27
|
+
readonly pageNumber: number;
|
|
28
|
+
/**
|
|
29
|
+
* The total page count.
|
|
30
|
+
*
|
|
31
|
+
* @observable
|
|
32
|
+
* @default 1
|
|
33
|
+
* @readonly
|
|
34
|
+
*/
|
|
35
|
+
readonly totalPages: number;
|
|
36
|
+
/**
|
|
37
|
+
* @inheritDoc
|
|
38
|
+
*/
|
|
39
|
+
static get pluginName(): "Pagination";
|
|
40
|
+
/**
|
|
41
|
+
* @inheritDoc
|
|
42
|
+
*/
|
|
43
|
+
static get requires(): readonly [typeof PaginationEditing, typeof PaginationUI];
|
|
44
|
+
/**
|
|
45
|
+
* @inheritDoc
|
|
46
|
+
*/
|
|
47
|
+
constructor(editor: Editor);
|
|
48
|
+
/**
|
|
49
|
+
* @inheritDoc
|
|
50
|
+
*/
|
|
51
|
+
init(): void;
|
|
52
|
+
/**
|
|
53
|
+
* Scroll the editor content to a desired page.
|
|
54
|
+
*
|
|
55
|
+
* @param pageNumber The page number (counting from 1).
|
|
56
|
+
*/
|
|
57
|
+
scrollToPage(pageNumber: number): void;
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* The configuration of the pagination feature. It is used by the pagination feature from the `@ckeditor/ckeditor5-pagination` package.
|
|
61
|
+
*
|
|
62
|
+
* ```ts
|
|
63
|
+
* ClassicEditor
|
|
64
|
+
* .create( editorElement, {
|
|
65
|
+
* pagination: {
|
|
66
|
+
* // A4
|
|
67
|
+
* pageWidth: '21cm',
|
|
68
|
+
* pageHeight: '29.7cm',
|
|
69
|
+
*
|
|
70
|
+
* pageMargins: {
|
|
71
|
+
* top: '20mm',
|
|
72
|
+
* bottom: '20mm',
|
|
73
|
+
* left: '12mm',
|
|
74
|
+
* right: '12mm'
|
|
75
|
+
* }
|
|
76
|
+
* }
|
|
77
|
+
* } )
|
|
78
|
+
* .then( ... )
|
|
79
|
+
* .catch( ... );
|
|
80
|
+
* ```
|
|
81
|
+
*
|
|
82
|
+
* **NOTE:** The configuration of the plugin must match the {@link module:export-pdf/exportpdf~ExportPdfConfig export to PDF} or
|
|
83
|
+
* {@link module:export-word/exportword~ExportWordConfig export to Word} feature configuration.
|
|
84
|
+
*
|
|
85
|
+
* See {@link module:core/editor/editorconfig~EditorConfig all editor options}.
|
|
86
|
+
*/
|
|
87
|
+
export interface PaginationConfig {
|
|
88
|
+
/**
|
|
89
|
+
* The page width.
|
|
90
|
+
*/
|
|
91
|
+
pageWidth: string;
|
|
92
|
+
/**
|
|
93
|
+
* The page height.
|
|
94
|
+
*/
|
|
95
|
+
pageHeight: string;
|
|
96
|
+
/**
|
|
97
|
+
* The page margins.
|
|
98
|
+
*/
|
|
99
|
+
pageMargins: PaginationMarginsConfig;
|
|
100
|
+
/**
|
|
101
|
+
* The pagination feature is by default enabled only in browsers that are using the Blink engine
|
|
102
|
+
* (Chrome, Chromium, newer Edge, newer Opera). This is due to some existing incompatibilities in Firefox and Safari;
|
|
103
|
+
* we will be working on them in the future.
|
|
104
|
+
*
|
|
105
|
+
* This behavior can be modified by setting this configuration value to `true`.
|
|
106
|
+
*
|
|
107
|
+
* @default false
|
|
108
|
+
*/
|
|
109
|
+
enableOnUnsupportedBrowsers?: boolean;
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* The configuration of the pagination feature page margins.
|
|
113
|
+
*/
|
|
114
|
+
export interface PaginationMarginsConfig {
|
|
115
|
+
/**
|
|
116
|
+
* The top margin.
|
|
117
|
+
*/
|
|
118
|
+
top: string;
|
|
119
|
+
/**
|
|
120
|
+
* The bottom margin.
|
|
121
|
+
*/
|
|
122
|
+
bottom: string;
|
|
123
|
+
/**
|
|
124
|
+
* The left margin.
|
|
125
|
+
*/
|
|
126
|
+
left: string;
|
|
127
|
+
/**
|
|
128
|
+
* The right margin.
|
|
129
|
+
*/
|
|
130
|
+
right: string;
|
|
131
|
+
}
|
|
132
|
+
/**
|
|
133
|
+
* Invalid license key. Please contact our customer support at https://ckeditor.com/contact/.
|
|
134
|
+
*
|
|
135
|
+
* @error pagination-invalid-license-key
|
|
136
|
+
*/
|
|
137
|
+
/**
|
|
138
|
+
* You have exhausted the trial usage limit (reason: reached document changes limit). Restart the editor.
|
|
139
|
+
*
|
|
140
|
+
* Please contact our customer support to get a full access at https://ckeditor.com/contact/.
|
|
141
|
+
*
|
|
142
|
+
* @error pagination-trial-license-key-reached-limit-changes
|
|
143
|
+
*/
|
|
144
|
+
/**
|
|
145
|
+
* The configuration required by the pagination plugin is missing.
|
|
146
|
+
* Follow the instructions provided in {@glink features/pagination/pagination#configuration Pagination feature documentation}
|
|
147
|
+
* to initialize the plugin properly.
|
|
148
|
+
*
|
|
149
|
+
* @error pagination-config-not-found
|
|
150
|
+
* @param {module:core/editor/editorconfig~EditorConfig} config Configuration of the editor.
|
|
151
|
+
*/
|
|
@@ -0,0 +1,58 @@
|
|
|
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
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
8
|
+
*/
|
|
9
|
+
/**
|
|
10
|
+
* @module pagination/paginationediting
|
|
11
|
+
*/
|
|
12
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
13
|
+
import PaginationLookup from './paginationlookup.js';
|
|
14
|
+
import PaginationRenderer from './paginationrenderer.js';
|
|
15
|
+
import '../theme/pagination.css';
|
|
16
|
+
/**
|
|
17
|
+
* The pagination editing plugin.
|
|
18
|
+
*/
|
|
19
|
+
export default class PaginationEditing extends Plugin {
|
|
20
|
+
/**
|
|
21
|
+
* The current page number.
|
|
22
|
+
*
|
|
23
|
+
* @observable
|
|
24
|
+
* @default 1
|
|
25
|
+
* @readonly
|
|
26
|
+
*/
|
|
27
|
+
readonly pageNumber: number;
|
|
28
|
+
/**
|
|
29
|
+
* The total page count.
|
|
30
|
+
*
|
|
31
|
+
* @observable
|
|
32
|
+
* @default 1
|
|
33
|
+
* @readonly
|
|
34
|
+
*/
|
|
35
|
+
totalPages: number;
|
|
36
|
+
/**
|
|
37
|
+
* @inheritDoc
|
|
38
|
+
*/
|
|
39
|
+
static get pluginName(): "PaginationEditing";
|
|
40
|
+
/**
|
|
41
|
+
* @inheritDoc
|
|
42
|
+
*/
|
|
43
|
+
static get requires(): readonly [typeof PaginationLookup, typeof PaginationRenderer];
|
|
44
|
+
/**
|
|
45
|
+
* @inheritDoc
|
|
46
|
+
*/
|
|
47
|
+
init(): void;
|
|
48
|
+
/**
|
|
49
|
+
* @inheritDoc
|
|
50
|
+
*/
|
|
51
|
+
destroy(): void;
|
|
52
|
+
/**
|
|
53
|
+
* Scroll the editor content to a desired page.
|
|
54
|
+
*
|
|
55
|
+
* @param pageNumber The page number (counting from 1).
|
|
56
|
+
*/
|
|
57
|
+
scrollToPage(pageNumber: number): void;
|
|
58
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
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
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
8
|
+
*/
|
|
9
|
+
/**
|
|
10
|
+
* @module pagination/paginationlookup
|
|
11
|
+
*/
|
|
12
|
+
import type { Range } from 'ckeditor5/src/engine.js';
|
|
13
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
14
|
+
/**
|
|
15
|
+
* The pagination lookup plugin.
|
|
16
|
+
*/
|
|
17
|
+
export default class PaginationLookup extends Plugin {
|
|
18
|
+
/**
|
|
19
|
+
* List of the page breaks.
|
|
20
|
+
*
|
|
21
|
+
* @observable
|
|
22
|
+
* @default []
|
|
23
|
+
* @readonly
|
|
24
|
+
*/
|
|
25
|
+
pageBreaks: Array<PageBreakInfo>;
|
|
26
|
+
/**
|
|
27
|
+
* @inheritDoc
|
|
28
|
+
*/
|
|
29
|
+
static get pluginName(): "PaginationLookup";
|
|
30
|
+
/**
|
|
31
|
+
* @inheritDoc
|
|
32
|
+
*/
|
|
33
|
+
init(): void;
|
|
34
|
+
/**
|
|
35
|
+
* @inheritDoc
|
|
36
|
+
*/
|
|
37
|
+
afterInit(): void;
|
|
38
|
+
/**
|
|
39
|
+
* @inheritDoc
|
|
40
|
+
*/
|
|
41
|
+
destroy(): void;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Single page break information.
|
|
45
|
+
*/
|
|
46
|
+
export declare class PageBreakInfo {
|
|
47
|
+
readonly type: 'manual' | 'element' | 'text';
|
|
48
|
+
readonly modelRange: Range;
|
|
49
|
+
/**
|
|
50
|
+
* Creates PageBreakInfo instance.
|
|
51
|
+
*/
|
|
52
|
+
constructor({ type, modelRange, domNode, offset }: {
|
|
53
|
+
readonly type: PageBreakInfo['type'];
|
|
54
|
+
readonly modelRange: PageBreakInfo['modelRange'];
|
|
55
|
+
readonly domNode: Node;
|
|
56
|
+
readonly offset: number;
|
|
57
|
+
});
|
|
58
|
+
/**
|
|
59
|
+
* The top offset in window coordinates.
|
|
60
|
+
*/
|
|
61
|
+
get offset(): number;
|
|
62
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
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
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
8
|
+
*/
|
|
9
|
+
/**
|
|
10
|
+
* @module pagination/paginationrenderer
|
|
11
|
+
*/
|
|
12
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
13
|
+
/**
|
|
14
|
+
* The pagination renderer plugin. This plugin renders pagination lines (with numbers) over
|
|
15
|
+
* the editing root of the editor.
|
|
16
|
+
*/
|
|
17
|
+
export default class PaginationRenderer extends Plugin {
|
|
18
|
+
/**
|
|
19
|
+
* The current page number.
|
|
20
|
+
*
|
|
21
|
+
* @observable
|
|
22
|
+
* @default 1
|
|
23
|
+
* @readonly
|
|
24
|
+
*/
|
|
25
|
+
pageNumber: number;
|
|
26
|
+
/**
|
|
27
|
+
* @inheritDoc
|
|
28
|
+
*/
|
|
29
|
+
static get pluginName(): "PaginationRenderer";
|
|
30
|
+
/**
|
|
31
|
+
* @inheritDoc
|
|
32
|
+
*/
|
|
33
|
+
init(): void;
|
|
34
|
+
/**
|
|
35
|
+
* @inheritDoc
|
|
36
|
+
*/
|
|
37
|
+
destroy(): void;
|
|
38
|
+
/**
|
|
39
|
+
* Scroll the editor content to a desired page.
|
|
40
|
+
*
|
|
41
|
+
* @param pageNumber The page number (counting from 1).
|
|
42
|
+
*/
|
|
43
|
+
scrollToPage(pageNumber: number): void;
|
|
44
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
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
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
8
|
+
*/
|
|
9
|
+
/**
|
|
10
|
+
* @module pagination/paginationui
|
|
11
|
+
*/
|
|
12
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
13
|
+
/**
|
|
14
|
+
* The pagination UI plugin. It introduces:
|
|
15
|
+
*
|
|
16
|
+
* * The `'pageNavigation'` UI view,
|
|
17
|
+
* * The `'nextPage'` UI button,
|
|
18
|
+
* * The `'previousPage'` UI button.
|
|
19
|
+
*/
|
|
20
|
+
export default class PaginationUI extends Plugin {
|
|
21
|
+
/**
|
|
22
|
+
* @inheritDoc
|
|
23
|
+
*/
|
|
24
|
+
static get pluginName(): "PaginationUI";
|
|
25
|
+
/**
|
|
26
|
+
* @inheritDoc
|
|
27
|
+
*/
|
|
28
|
+
init(): void;
|
|
29
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
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
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
8
|
+
*/
|
|
9
|
+
/**
|
|
10
|
+
* @module pagination/ui/linesrepository
|
|
11
|
+
*/
|
|
12
|
+
import type { Editor } from 'ckeditor5/src/core.js';
|
|
13
|
+
/**
|
|
14
|
+
* Helper class for managing the page break lines.
|
|
15
|
+
*/
|
|
16
|
+
export default class LinesRepository {
|
|
17
|
+
/**
|
|
18
|
+
* Creates a new lines repository instance.
|
|
19
|
+
*/
|
|
20
|
+
constructor(editor: Editor);
|
|
21
|
+
/**
|
|
22
|
+
* Destroys the lines repository instance.
|
|
23
|
+
*/
|
|
24
|
+
destroy(): void;
|
|
25
|
+
/**
|
|
26
|
+
* Hides all lines.
|
|
27
|
+
*/
|
|
28
|
+
cleanLines(): void;
|
|
29
|
+
/**
|
|
30
|
+
* Shows a line at specified page coordinates.
|
|
31
|
+
*
|
|
32
|
+
* @param left
|
|
33
|
+
* @param top
|
|
34
|
+
* @param width
|
|
35
|
+
* @param pageNumber The page number (line label).
|
|
36
|
+
*/
|
|
37
|
+
showLine(left: number, top: number, width: number, pageNumber: number): void;
|
|
38
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
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
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
8
|
+
*/
|
|
9
|
+
/**
|
|
10
|
+
* @module pagination/ui/lineview
|
|
11
|
+
*/
|
|
12
|
+
import { View } from 'ckeditor5/src/ui.js';
|
|
13
|
+
import '../../theme/line.css';
|
|
14
|
+
/**
|
|
15
|
+
* The page break line view.
|
|
16
|
+
*/
|
|
17
|
+
export default class LineView extends View {
|
|
18
|
+
/**
|
|
19
|
+
* Controls whether the line is visible.
|
|
20
|
+
*
|
|
21
|
+
* @observable
|
|
22
|
+
* @default false
|
|
23
|
+
*/
|
|
24
|
+
isVisible: boolean;
|
|
25
|
+
/**
|
|
26
|
+
* Controls the line position x coordinate.
|
|
27
|
+
*
|
|
28
|
+
* @observable
|
|
29
|
+
* @default null
|
|
30
|
+
*/
|
|
31
|
+
left: number | null;
|
|
32
|
+
/**
|
|
33
|
+
* Controls the line width.
|
|
34
|
+
*
|
|
35
|
+
* @observable
|
|
36
|
+
* @default null
|
|
37
|
+
*/
|
|
38
|
+
width: number | null;
|
|
39
|
+
/**
|
|
40
|
+
* Controls the line label.
|
|
41
|
+
*
|
|
42
|
+
* @observable
|
|
43
|
+
* @default null
|
|
44
|
+
*/
|
|
45
|
+
pageNumber: number | null;
|
|
46
|
+
/**
|
|
47
|
+
* Controls the line position y coordinate.
|
|
48
|
+
*
|
|
49
|
+
* @observable
|
|
50
|
+
* @default null
|
|
51
|
+
*/
|
|
52
|
+
top: number | null;
|
|
53
|
+
/**
|
|
54
|
+
* @inheritDoc
|
|
55
|
+
*/
|
|
56
|
+
constructor();
|
|
57
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
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
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
8
|
+
*/
|
|
9
|
+
/**
|
|
10
|
+
* @module pagination/ui/pagenavigatorview
|
|
11
|
+
*/
|
|
12
|
+
import { View, InputNumberView } from 'ckeditor5/src/ui.js';
|
|
13
|
+
import { type Locale } from 'ckeditor5/src/utils.js';
|
|
14
|
+
import '../../theme/pagenavigator.css';
|
|
15
|
+
/**
|
|
16
|
+
* The page navigation UI element.
|
|
17
|
+
*/
|
|
18
|
+
export default class PageNavigatorView extends View {
|
|
19
|
+
/**
|
|
20
|
+
* The current page number.
|
|
21
|
+
*
|
|
22
|
+
* @observable
|
|
23
|
+
* @default 1
|
|
24
|
+
*/
|
|
25
|
+
pageNumber: number;
|
|
26
|
+
/**
|
|
27
|
+
* The total page count.
|
|
28
|
+
*
|
|
29
|
+
* @observable
|
|
30
|
+
* @default 1
|
|
31
|
+
*/
|
|
32
|
+
totalPages: number;
|
|
33
|
+
/**
|
|
34
|
+
* Controls whether the component is enabled.
|
|
35
|
+
*
|
|
36
|
+
* @observable
|
|
37
|
+
* @default true
|
|
38
|
+
*/
|
|
39
|
+
isEnabled: boolean;
|
|
40
|
+
/**
|
|
41
|
+
* An instance of the input number view to type a new page number.
|
|
42
|
+
*/
|
|
43
|
+
pageNumberView: InputNumberView;
|
|
44
|
+
/**
|
|
45
|
+
* @inheritDoc
|
|
46
|
+
*/
|
|
47
|
+
constructor(locale: Locale);
|
|
48
|
+
/**
|
|
49
|
+
* @inheritDoc
|
|
50
|
+
*/
|
|
51
|
+
render(): void;
|
|
52
|
+
/**
|
|
53
|
+
* @inheritDoc
|
|
54
|
+
*/
|
|
55
|
+
focus(): void;
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* An event fired after {@link module:pagination/ui/pagenavigatorview~PageNavigatorView#pageNumberView} value is updated.
|
|
59
|
+
*
|
|
60
|
+
* @eventName ~PageNavigatorView#navigation
|
|
61
|
+
*/
|
|
62
|
+
export type PaginationNavigationEvent = {
|
|
63
|
+
name: 'navigation';
|
|
64
|
+
args: [pageNumber: number];
|
|
65
|
+
};
|
package/lang/contexts.json
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
{
|
|
2
2
|
"Show next page": "A toolbar button tooltip for a pagination feature.",
|
|
3
|
-
"Show previous page": "A toolbar button tooltip for a pagination feature."
|
|
3
|
+
"Show previous page": "A toolbar button tooltip for a pagination feature.",
|
|
4
|
+
"Current page number (from 1 to %0)": "Assistive technologies label for the page number input in the pagination feature's toolbar UI. Example: 'Current page number (from 1 to 10)'."
|
|
4
5
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-pagination",
|
|
3
|
-
"version": "41.
|
|
3
|
+
"version": "41.3.0-alpha.2",
|
|
4
4
|
"description": "Pagination feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
"type": "module",
|
|
13
13
|
"main": "src/index.js",
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@ckeditor/ckeditor5-theme-lark": "41.
|
|
16
|
-
"ckeditor5": "41.
|
|
15
|
+
"@ckeditor/ckeditor5-theme-lark": "41.3.0-alpha.2",
|
|
16
|
+
"ckeditor5": "41.3.0-alpha.2",
|
|
17
17
|
"lodash-es": "4.17.21"
|
|
18
18
|
},
|
|
19
19
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
@@ -21,6 +21,7 @@
|
|
|
21
21
|
"homepage": "https://ckeditor.com/ckeditor-5",
|
|
22
22
|
"bugs": "https://support.ckeditor.com/hc/en-us/requests/new",
|
|
23
23
|
"files": [
|
|
24
|
+
"dist",
|
|
24
25
|
"lang",
|
|
25
26
|
"src/**/*.js",
|
|
26
27
|
"src/**/*.d.ts",
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x26f0(){var _0x1b3121=['511krQFHQ','12126OCnnpk','11AZNoZE','1548yhKmMy','2887762cdowON','9758616VLlrjH','3411455oeRpgN','1vhUARL','11731180iyXFRF','736605jxhWfB','127518HseXlt','8VVxQIT'];_0x26f0=function(){return _0x1b3121;};return _0x26f0();}(function(_0x76fc36,_0x41580e){var _0x172d5f=_0x4f9a,_0x460ba2=_0x76fc36();while(!![]){try{var _0x53f981=parseInt(_0x172d5f(0x64))/0x1*(parseInt(_0x172d5f(0x6d))/0x2)+parseInt(_0x172d5f(0x6a))/0x3*(-parseInt(_0x172d5f(0x6c))/0x4)+parseInt(_0x172d5f(0x6f))/0x5+parseInt(_0x172d5f(0x67))/0x6*(-parseInt(_0x172d5f(0x69))/0x7)+parseInt(_0x172d5f(0x68))/0x8*(-parseInt(_0x172d5f(0x66))/0x9)+-parseInt(_0x172d5f(0x65))/0xa*(-parseInt(_0x172d5f(0x6b))/0xb)+parseInt(_0x172d5f(0x6e))/0xc;if(_0x53f981===_0x41580e)break;else _0x460ba2['push'](_0x460ba2['shift']());}catch(_0x2a05f7){_0x460ba2['push'](_0x460ba2['shift']());}}}(_0x26f0,0xdf5fc));export{default as Pagination}from'./pagination.js';function _0x4f9a(_0x42f3ba,_0x4a6b25){var _0x26f028=_0x26f0();return _0x4f9a=function(_0x4f9a0f,_0x5c2337){_0x4f9a0f=_0x4f9a0f-0x64;var _0x33d79b=_0x26f028[_0x4f9a0f];return _0x33d79b;},_0x4f9a(_0x42f3ba,_0x4a6b25);}import'./augmentation.js';
|
package/src/pagination.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2a2c5b=_0x4ba2;(function(_0x13c6fd,_0x383e01){const _0x2f8e12=_0x4ba2,_0x32a375=_0x13c6fd();while(!![]){try{const _0x1210a9=-parseInt(_0x2f8e12(0x7f))/0x1+parseInt(_0x2f8e12(0x74))/0x2+-parseInt(_0x2f8e12(0x83))/0x3+-parseInt(_0x2f8e12(0x84))/0x4*(-parseInt(_0x2f8e12(0x69))/0x5)+parseInt(_0x2f8e12(0x6d))/0x6*(parseInt(_0x2f8e12(0x7c))/0x7)+-parseInt(_0x2f8e12(0x79))/0x8*(parseInt(_0x2f8e12(0x86))/0x9)+parseInt(_0x2f8e12(0x81))/0xa*(-parseInt(_0x2f8e12(0x7e))/0xb);if(_0x1210a9===_0x383e01)break;else _0x32a375['push'](_0x32a375['shift']());}catch(_0x4d489a){_0x32a375['push'](_0x32a375['shift']());}}}(_0x3faf,0x74fc2));function _0x3faf(){const _0xccc3bf=['set','forceDisabled','70nAXpxe','plugins','40843sZDXNd','93751bEcdoM','isEnabled','530EeQumF','ready','1300332sxajOJ','124sGzcKH','pluginName','1396323WaYIER','62405gPQdJl','totalPages','get','isBlink','286662MkFkwf','scrollToPage','pageNumber','init','requires','bind','browserCheck','1607828jlofJD','editor','config','Pagination','pagination.enableOnUnsupportedBrowsers','24kXuHZD'];_0x3faf=function(){return _0xccc3bf;};return _0x3faf();}import{Plugin as _0x3ffd7c}from'ckeditor5/src/core.js';function _0x4ba2(_0x28d73a,_0x5ef95b){const _0x3faf83=_0x3faf();return _0x4ba2=function(_0x4ba28e,_0x2a5256){_0x4ba28e=_0x4ba28e-0x69;let _0x5a7b2b=_0x3faf83[_0x4ba28e];return _0x5a7b2b;},_0x4ba2(_0x28d73a,_0x5ef95b);}import _0x51adf0 from'./paginationediting.js';import _0x1d9759 from'./paginationui.js';import{env as _0x52205a}from'ckeditor5/src/utils.js';export default class o extends _0x3ffd7c{static get[_0x2a2c5b(0x85)](){const _0x38607d=_0x2a2c5b;return _0x38607d(0x77);}static get[_0x2a2c5b(0x71)](){return[_0x51adf0,_0x1d9759];}constructor(_0x590724){const _0x22e0a0=_0x2a2c5b;super(_0x590724),this[_0x22e0a0(0x80)]=!0x1;}[_0x2a2c5b(0x70)](){const _0x32a1a7=_0x2a2c5b;this[_0x32a1a7(0x7a)]({'pageNumber':0x1,'totalPages':0x1});const _0x52a1fb=this[_0x32a1a7(0x75)][_0x32a1a7(0x7d)][_0x32a1a7(0x6b)](_0x51adf0);this[_0x32a1a7(0x72)](_0x32a1a7(0x6f))['to'](_0x52a1fb),this[_0x32a1a7(0x72)](_0x32a1a7(0x6a))['to'](_0x52a1fb),_0x52205a[_0x32a1a7(0x6c)]||this[_0x32a1a7(0x75)][_0x32a1a7(0x76)][_0x32a1a7(0x6b)](_0x32a1a7(0x78))?this[_0x32a1a7(0x75)]['on'](_0x32a1a7(0x82),()=>{const _0x585788=_0x32a1a7;this[_0x585788(0x80)]=!0x0;}):this[_0x32a1a7(0x7b)](_0x32a1a7(0x73));}[_0x2a2c5b(0x6e)](_0x4c6d69){const _0x897e74=_0x2a2c5b;this[_0x897e74(0x75)][_0x897e74(0x7d)][_0x897e74(0x6b)](_0x51adf0)[_0x897e74(0x6e)](_0x4c6d69);}}
|
package/src/paginationediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3f81a0=_0x5143;(function(_0x198154,_0x36e5db){const _0x5186ba=_0x5143,_0x5093c9=_0x198154();while(!![]){try{const _0x2a9193=parseInt(_0x5186ba(0xfb))/0x1*(-parseInt(_0x5186ba(0xf5))/0x2)+-parseInt(_0x5186ba(0x136))/0x3+parseInt(_0x5186ba(0x111))/0x4+parseInt(_0x5186ba(0xfa))/0x5*(parseInt(_0x5186ba(0x132))/0x6)+-parseInt(_0x5186ba(0xf9))/0x7+parseInt(_0x5186ba(0x12b))/0x8*(-parseInt(_0x5186ba(0x11c))/0x9)+parseInt(_0x5186ba(0xf7))/0xa;if(_0x2a9193===_0x36e5db)break;else _0x5093c9['push'](_0x5093c9['shift']());}catch(_0x2f4fcf){_0x5093c9['push'](_0x5093c9['shift']());}}}(_0x3f88,0x810c5));import{Plugin as _0xe187cd}from'ckeditor5/src/core.js';function _0x5143(_0xc73408,_0x5074a1){const _0x3f882b=_0x3f88();return _0x5143=function(_0x51435e,_0x162d56){_0x51435e=_0x51435e-0xe6;let _0x5db3bc=_0x3f882b[_0x51435e];return _0x5db3bc;},_0x5143(_0xc73408,_0x5074a1);}function _0x3f88(){const _0x5bf8fe=['$text','removeMarker','config','init','licenseKey','nodeAfter','paginationLicenseKeyValid','createContainerElement','requires','paginationLicenseKeyTrialLimit:operations','bindElementToMarker','_licenseKeyCheckInterval','checkChild','addMarker','pagination-invalid-license-key','_updatePageBreakMarkers','has','1953504tglzri','listenTo','data-pagination-page','dataDowncast','pluginName','change','paginationLicenseKeyInvalid','writer','pagination:','consume','updateMarker','153CISRwI','index','name','consumable','always','isEnabled','bind','pagination','root','_setUpDataDowncastConversion','start','paginationLicenseKeyTrial','getContainedElement','totalPages','editor','455024SVDkzy','setStyle','schema','modelRange','Pagination','options','toViewElement','24gZxLZX','length','conversion','markers','2403195GwoBLp','for','getFillerOffset','scrollToPage','pagination-trial-license-key-reached-limit-changes','span','add','model','addMarker:','toViewPosition','PaginationEditing','setAttribute','stop','pageNumber','substring','get','You\x20are\x20using\x20the\x20trial\x20version\x20of\x20CKEditor\x205\x20pagination\x20plugin\x20with\x20limited\x20usage.\x20Make\x20sure\x20you\x20will\x20not\x20use\x20it\x20in\x20the\x20production\x20environment.','page-break-before','change:pageBreaks','plugins','2oyIpaf','insert','28461990GJscsy','set','3643906vzkaci','462865jxzcXF','887737okayyP','parent','destroy','info','mapper'];_0x3f88=function(){return _0x5bf8fe;};return _0x3f88();}import{CKEditorError as _0x2df148}from'ckeditor5/src/utils.js';import _0x5b3e3b from'./paginationlookup.js';import _0x5f4969 from'./paginationrenderer.js';import'../theme/pagination.css';export default class s extends _0xe187cd{static get[_0x3f81a0(0x115)](){const _0x91c4fd=_0x3f81a0;return _0x91c4fd(0xeb);}static get[_0x3f81a0(0x108)](){return[_0x5b3e3b,_0x5f4969];}[_0x3f81a0(0x103)](){const _0x4124d6=_0x3f81a0;this[_0x4124d6(0xf8)]({'pageNumber':0x1,'totalPages':0x1});const _0x591eb1=this[_0x4124d6(0x12a)][_0x4124d6(0xf4)][_0x4124d6(0xf0)](_0x4124d6(0x12f)),_0xefd962=this[_0x4124d6(0x12a)][_0x4124d6(0xf4)][_0x4124d6(0xf0)](_0x5b3e3b),_0x2a21cd=this[_0x4124d6(0x12a)][_0x4124d6(0xf4)][_0x4124d6(0xf0)](_0x5f4969);this[_0x4124d6(0x122)](_0x4124d6(0x121))['to'](_0x591eb1),this[_0x4124d6(0x125)](),this[_0x4124d6(0x122)](_0x4124d6(0xee))['to'](_0x2a21cd),this[_0x4124d6(0x112)](_0xefd962,_0x4124d6(0xf3),(_0x325383,_0x7acbcb,_0x1da369,_0x3b8b39)=>{const _0xb7d6e8=_0x4124d6;this[_0xb7d6e8(0x129)]=_0x1da369[_0xb7d6e8(0x133)],this[_0xb7d6e8(0x10f)](_0x1da369,_0x3b8b39);});const _0x2879e1=this[_0x4124d6(0x12a)];this[_0x4124d6(0x104)]=_0x2879e1[_0x4124d6(0x102)][_0x4124d6(0xf0)](_0x4124d6(0x104)),this[_0x4124d6(0x10b)]=setInterval(()=>{const _0x59df46=_0x4124d6;let _0x10465f;for(const _0x5746a1 in _0x2879e1){const _0x4fc8cc=_0x5746a1,_0x1b8a18=_0x2879e1[_0x4fc8cc];if(_0x59df46(0x127)===_0x1b8a18||_0x59df46(0x117)===_0x1b8a18||_0x59df46(0x106)===_0x1b8a18||_0x59df46(0x109)===_0x1b8a18){delete _0x2879e1[_0x4fc8cc],_0x10465f=_0x1b8a18;break;}}if(_0x59df46(0x117)===_0x10465f)throw clearInterval(this[_0x59df46(0x10b)]),new _0x2df148(_0x59df46(0x10e),null);if(_0x59df46(0x127)===_0x10465f&&console[_0x59df46(0xfe)](_0x59df46(0xf1)),_0x59df46(0x109)===_0x10465f)throw clearInterval(this[_0x59df46(0x10b)]),new _0x2df148(_0x59df46(0x13a),null);_0x59df46(0x106)===_0x10465f&&clearInterval(this[_0x59df46(0x10b)]);},0x3e8);}[_0x3f81a0(0xfd)](){const _0x4a1b74=_0x3f81a0;clearInterval(this[_0x4a1b74(0x10b)]);}[_0x3f81a0(0x139)](_0x4e167b){const _0x56abd2=_0x3f81a0;if(!this[_0x56abd2(0x121)])return;_0x4e167b<0x1&&(_0x4e167b=0x1),_0x4e167b>this[_0x56abd2(0x129)]&&(_0x4e167b=this[_0x56abd2(0x129)]),this[_0x56abd2(0x12a)][_0x56abd2(0xf4)][_0x56abd2(0xf0)](_0x5f4969)[_0x56abd2(0x139)](_0x4e167b);}[_0x3f81a0(0x10f)](_0x331b81,_0xb32bd0){const _0x5a9b56=_0x3f81a0,_0x1b53c1=this[_0x5a9b56(0x12a)][_0x5a9b56(0xe8)];this[_0x5a9b56(0x121)]&&_0x1b53c1[_0x5a9b56(0x116)](_0x142e8a=>{const _0x5ed111=_0x5a9b56;for(let _0x2eaecd=0x1;_0x2eaecd<_0x331b81[_0x5ed111(0x133)];_0x2eaecd++){const _0x5cc489=_0x331b81[_0x2eaecd][_0x5ed111(0x12e)],_0x28f04a=_0x5ed111(0x119)+(_0x2eaecd+0x1);_0x1b53c1[_0x5ed111(0x135)][_0x5ed111(0x110)](_0x28f04a)?_0x142e8a[_0x5ed111(0x11b)](_0x28f04a,{'range':_0x5cc489}):_0x142e8a[_0x5ed111(0x10d)](_0x28f04a,{'range':_0x5cc489,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0x551fea=_0x331b81[_0x5ed111(0x133)];_0x551fea<_0xb32bd0[_0x5ed111(0x133)];_0x551fea++){const _0xa3b3b4=_0x5ed111(0x119)+(_0x551fea+0x1);_0x1b53c1[_0x5ed111(0x135)][_0x5ed111(0x110)](_0xa3b3b4)&&_0x142e8a[_0x5ed111(0x101)](_0xa3b3b4);}});}[_0x3f81a0(0x125)](){const _0x2ab466=_0x3f81a0,_0x354f50=_0x2ab466(0x123);this[_0x2ab466(0x12a)][_0x2ab466(0x134)][_0x2ab466(0x137)](_0x2ab466(0x114))[_0x2ab466(0xe7)](_0x15157e=>{const _0x2f5ee4=_0x2ab466;_0x15157e['on'](_0x2f5ee4(0xe9)+_0x354f50,(_0xbb7ae5,{markerRange:_0x2d9df6,markerName:_0x34bb1d},_0x207e15)=>{const _0x18676b=_0x2f5ee4;if(!_0x207e15[_0x18676b(0x130)][_0x18676b(0x123)])return;if(!_0x207e15[_0x18676b(0x11f)][_0x18676b(0x11a)](_0x2d9df6,_0xbb7ae5[_0x18676b(0x11e)]))return;const _0x4cb164=_0x2d9df6[_0x18676b(0x128)]();let _0x357573=_0x4cb164?_0x207e15[_0x18676b(0xff)][_0x18676b(0x131)](_0x4cb164):null;if(!_0x357573){const _0xfbeafe=_0x2d9df6[_0x18676b(0x126)];if(_0x207e15[_0x18676b(0x12d)][_0x18676b(0x10c)](_0xfbeafe,_0x18676b(0x100))){const _0x4105df=_0x207e15[_0x18676b(0xff)][_0x18676b(0xea)](_0xfbeafe);_0x357573=_0x207e15[_0x18676b(0x118)][_0x18676b(0x107)](_0x18676b(0xe6)),_0x357573[_0x18676b(0x138)]=()=>null,_0x207e15[_0x18676b(0x118)][_0x18676b(0xf6)](_0x4105df,_0x357573);}else{const _0x388f85=_0xfbeafe[_0x18676b(0x105)];_0x357573=_0x207e15[_0x18676b(0xff)][_0x18676b(0x131)](_0x388f85);}}for(;_0x357573[_0x18676b(0xfc)]!==_0x357573[_0x18676b(0x124)]&&0x0===_0x357573[_0x18676b(0x11d)];)_0x357573=_0x357573[_0x18676b(0xfc)];const _0x34cc35=_0x34bb1d[_0x18676b(0xef)](0xb);_0x207e15[_0x18676b(0x118)][_0x18676b(0x12c)](_0x18676b(0xf2),_0x18676b(0x120),_0x357573),_0x207e15[_0x18676b(0x118)][_0x18676b(0xec)](_0x18676b(0x113),_0x34cc35,_0x357573),_0x207e15[_0x18676b(0xff)][_0x18676b(0x10a)](_0x357573,_0x34bb1d),_0xbb7ae5[_0x18676b(0xed)]();});});}}
|