@ckeditor/ckeditor5-collaboration-core 0.0.0-nightly-20240422.0 → 0.0.0-nightly-20240424.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/dist/index-content.css +332 -0
- package/dist/index-editor.css +312 -0
- package/dist/index.css +935 -0
- package/dist/index.js +23 -0
- package/dist/translations/af.d.ts +8 -0
- package/dist/translations/af.js +23 -0
- package/dist/translations/ar.d.ts +8 -0
- package/dist/translations/ar.js +23 -0
- package/dist/translations/az.d.ts +8 -0
- package/dist/translations/az.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/bs.d.ts +8 -0
- package/dist/translations/bs.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-ch.d.ts +8 -0
- package/dist/translations/de-ch.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-co.d.ts +8 -0
- package/dist/translations/es-co.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/fa.d.ts +8 -0
- package/dist/translations/fa.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/tk.d.ts +8 -0
- package/dist/translations/tk.js +23 -0
- package/dist/translations/tr.d.ts +8 -0
- package/dist/translations/tr.js +23 -0
- package/dist/translations/tt.d.ts +8 -0
- package/dist/translations/tt.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 +42 -0
- package/dist/types/collaborationhistory.d.ts +25 -0
- package/dist/types/collaborationoperation.d.ts +32 -0
- package/dist/types/config.d.ts +106 -0
- package/dist/types/index.d.ts +23 -0
- package/dist/types/permissions.d.ts +50 -0
- package/dist/types/suggestionstyles.d.ts +16 -0
- package/dist/types/users/view/userview.d.ts +20 -0
- package/dist/types/users.d.ts +169 -0
- package/dist/types/utils/common-translations.d.ts +13 -0
- package/dist/types/utils/confirmmixin.d.ts +24 -0
- package/dist/types/utils/confirmview.d.ts +17 -0
- package/dist/types/utils/getdatetimeformatter.d.ts +33 -0
- package/dist/types/utils/getmarkerdomelement.d.ts +26 -0
- package/dist/types/utils/hashobject.d.ts +12 -0
- package/dist/types/utils/sanitizeEditorConfig.d.ts +19 -0
- package/dist/types/utils/surroundingmarkersdetector.d.ts +20 -0
- package/dist/types/utils/trim-html.d.ts +20 -0
- package/package.json +3 -2
- package/src/index.d.ts +2 -2
- package/src/index.js +1 -1
- package/src/permissions.js +1 -1
- package/src/suggestionstyles.js +1 -1
- package/src/users/view/userview.js +1 -1
- package/src/users.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/confirmmixin.js +1 -1
- package/src/utils/confirmview.js +1 -1
- package/src/utils/getdatetimeformatter.js +1 -1
- package/src/utils/getmarkerdomelement.js +1 -1
- package/src/utils/hashobject.js +1 -1
- package/src/utils/sanitizeEditorConfig.js +1 -1
- package/src/utils/surroundingmarkersdetector.js +1 -1
- package/src/utils/trim-html.js +1 -1
@@ -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
|
+
* @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
|
+
import type { LocaleConfig } from '../config.js';
|
10
|
+
/**
|
11
|
+
* Returns a function that formats the date to the set format.
|
12
|
+
*
|
13
|
+
* The default formatting can be changed by setting a custom formatting function to `config.locale.dateTimeFormat`.
|
14
|
+
*
|
15
|
+
* ```ts
|
16
|
+
* import format from 'date-fns/format';
|
17
|
+
*
|
18
|
+
* ClassicEditor
|
19
|
+
* .create( document.querySelector( '#editor' ), {
|
20
|
+
* toolbar: {
|
21
|
+
* items: [ 'bold', 'italic', '|', 'comment' ]
|
22
|
+
* },
|
23
|
+
* sidebar: {
|
24
|
+
* container: document.querySelector( '#sidebar' )
|
25
|
+
* },
|
26
|
+
* locale: {
|
27
|
+
* dateTimeFormat: date => format( date, 'dd/MM/yyyy' )
|
28
|
+
* }
|
29
|
+
* } )
|
30
|
+
* .catch( error => console.error( error ) );
|
31
|
+
* ```
|
32
|
+
*/
|
33
|
+
export default function getDateTimeFormatter(localeConfig?: LocaleConfig): (date: Date | string) => string;
|
@@ -0,0 +1,26 @@
|
|
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
|
+
import type { EditingController, Marker } from 'ckeditor5/src/engine.js';
|
10
|
+
/**
|
11
|
+
* Returns a first DOM element mapped with the marker.
|
12
|
+
*
|
13
|
+
* @param editing Editing controller instance.
|
14
|
+
* @param marker Marker instance.
|
15
|
+
*/
|
16
|
+
export default function getMarkerDomElement(editing: EditingController, marker: Marker): HTMLElement | null;
|
17
|
+
/**
|
18
|
+
* Returns all DOM elements mapped with all given markers. DOM elements are sorted by their client rects in top-most, left-most order.
|
19
|
+
* Returns `null` if `markers` is empty or there are no DOM elements bound with the markers.
|
20
|
+
*
|
21
|
+
* Note, that markers should not intersect.
|
22
|
+
*
|
23
|
+
* @param editing Editing controller instance.
|
24
|
+
* @param markers Markers instances.
|
25
|
+
*/
|
26
|
+
export declare function getAllMarkersDomElementsSorted(editing: EditingController, markers: Array<Marker>): Array<HTMLElement> | null;
|
@@ -0,0 +1,12 @@
|
|
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 track-changes/utils/hashobject
|
11
|
+
*/
|
12
|
+
export default function hashObject(obj: Record<string, unknown>): string;
|
@@ -0,0 +1,19 @@
|
|
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 collaboration-core/utils/common-translations
|
11
|
+
*/
|
12
|
+
import type { Editor, EditorConfig } from 'ckeditor5/src/core.js';
|
13
|
+
/**
|
14
|
+
* A function that prepares config for internal editors removing all unnecessary plugins like RTC.
|
15
|
+
*
|
16
|
+
* @param editor The instance of the source editor.
|
17
|
+
* @param extraBlackListedPlugins Additional list of plugins that should not be added to the config.
|
18
|
+
*/
|
19
|
+
export default function sanitizeEditorConfig(editor: Editor, extraBlackListedPlugins?: Array<string>): EditorConfig;
|
@@ -0,0 +1,20 @@
|
|
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 collaboration-core/utils/surroundingmarkersdetector
|
11
|
+
*/
|
12
|
+
import type { Marker, Model } from 'ckeditor5/src/engine.js';
|
13
|
+
/**
|
14
|
+
* A utility that responds to range changes in the document selection and detects which markers' ranges
|
15
|
+
* touch or contain (surround) the document selection's focus.
|
16
|
+
*/
|
17
|
+
export default function surroundingMarkersDetector(model: Model, onMarkersChange: (changedMarkers: {
|
18
|
+
left: Array<Marker>;
|
19
|
+
entered: Array<Marker>;
|
20
|
+
}) => void): void;
|
@@ -0,0 +1,20 @@
|
|
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
|
+
* Trims text inside a html tags and takes care of all closing tags.
|
11
|
+
*
|
12
|
+
* @param html
|
13
|
+
* @param options
|
14
|
+
* @param limit Limit of the characters.
|
15
|
+
* @param suffix
|
16
|
+
*/
|
17
|
+
export default function trimHtml(html: string, { limit, suffix }: {
|
18
|
+
limit: number;
|
19
|
+
suffix?: string;
|
20
|
+
}): string;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@ckeditor/ckeditor5-collaboration-core",
|
3
|
-
"version": "0.0.0-nightly-
|
3
|
+
"version": "0.0.0-nightly-20240424.0",
|
4
4
|
"description": "Base utilities used by CKEditor 5 collaboration features to support multiple users working together in a rich text editor.",
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
@@ -32,10 +32,11 @@
|
|
32
32
|
"type": "module",
|
33
33
|
"main": "src/index.js",
|
34
34
|
"dependencies": {
|
35
|
-
"ckeditor5": "0.0.0-nightly-
|
35
|
+
"ckeditor5": "0.0.0-nightly-20240424.0",
|
36
36
|
"date-fns": "2.30.0"
|
37
37
|
},
|
38
38
|
"files": [
|
39
|
+
"dist",
|
39
40
|
"lang",
|
40
41
|
"src/**/*.js",
|
41
42
|
"src/**/*.d.ts",
|
package/src/index.d.ts
CHANGED
@@ -12,8 +12,8 @@ export { default as ConfirmMixin } from './utils/confirmmixin.js';
|
|
12
12
|
export { default as hashObject } from './utils/hashobject.js';
|
13
13
|
export { default as sanitizeEditorConfig } from './utils/sanitizeEditorConfig.js';
|
14
14
|
export { default as surroundingMarkersDetector } from './utils/surroundingmarkersdetector.js';
|
15
|
-
export { default as CollaborationOperation, InsertCollaborationOperation, SplitCollaborationOperation, MarkerCollaborationOperation, MoveCollaborationOperation, MergeCollaborationOperation, RootCollaborationOperation, RootAttributeCollaborationOperation } from './collaborationoperation.js';
|
16
|
-
export { default as CollaborationHistory } from './collaborationhistory.js';
|
15
|
+
export type { default as CollaborationOperation, InsertCollaborationOperation, SplitCollaborationOperation, MarkerCollaborationOperation, MoveCollaborationOperation, MergeCollaborationOperation, RootCollaborationOperation, RootAttributeCollaborationOperation } from './collaborationoperation.js';
|
16
|
+
export type { default as CollaborationHistory } from './collaborationhistory.js';
|
17
17
|
export type { LocaleConfig, RealTimeCollaborationConfig } from './config.js';
|
18
18
|
export * from './suggestionstyles.js';
|
19
19
|
import './augmentation.js';
|
package/src/index.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
|
23
|
+
(function(_0x48e972,_0xbaf9db){var _0x2525ea=_0x4305,_0x2ab6b7=_0x48e972();while(!![]){try{var _0x5bcb65=parseInt(_0x2525ea(0x1cf))/0x1+-parseInt(_0x2525ea(0x1cc))/0x2+parseInt(_0x2525ea(0x1d1))/0x3+parseInt(_0x2525ea(0x1d3))/0x4*(parseInt(_0x2525ea(0x1cd))/0x5)+parseInt(_0x2525ea(0x1ce))/0x6+parseInt(_0x2525ea(0x1d2))/0x7+-parseInt(_0x2525ea(0x1d0))/0x8;if(_0x5bcb65===_0xbaf9db)break;else _0x2ab6b7['push'](_0x2ab6b7['shift']());}catch(_0x236df4){_0x2ab6b7['push'](_0x2ab6b7['shift']());}}}(_0x5bb0,0x821f3));export{default as Permissions}from'./permissions.js';export{default as Users}from'./users.js';export{default as UserView}from'./users/view/userview.js';export{default as getDateTimeFormatter}from'./utils/getdatetimeformatter.js';function _0x5bb0(){var _0x3e946c=['786706LpoOWR','5gsQzpR','6048948dKllZx','742613bGtGBb','20887320PbAMDf','390870HoHvaQ','6129669pdqdsW','3122076czkIpr'];_0x5bb0=function(){return _0x3e946c;};return _0x5bb0();}export{default as getMarkerDomElement,getAllMarkersDomElementsSorted}from'./utils/getmarkerdomelement.js';function _0x4305(_0x2caf3d,_0x4b0a7a){var _0x5bb083=_0x5bb0();return _0x4305=function(_0x4305ea,_0x2a318e){_0x4305ea=_0x4305ea-0x1cc;var _0x15465b=_0x5bb083[_0x4305ea];return _0x15465b;},_0x4305(_0x2caf3d,_0x4b0a7a);}export{default as trimHtml}from'./utils/trim-html.js';export{default as ConfirmMixin}from'./utils/confirmmixin.js';export{default as hashObject}from'./utils/hashobject.js';export{default as sanitizeEditorConfig}from'./utils/sanitizeEditorConfig.js';export{default as surroundingMarkersDetector}from'./utils/surroundingmarkersdetector.js';export*from'./suggestionstyles.js';import'./augmentation.js';
|
package/src/permissions.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
const
|
23
|
+
const _0x4fa131=_0x61d9;(function(_0x1fa1bb,_0x17a913){const _0x5bd722=_0x61d9,_0x3d1246=_0x1fa1bb();while(!![]){try{const _0x4f38e1=parseInt(_0x5bd722(0xd3))/0x1+-parseInt(_0x5bd722(0xd2))/0x2*(parseInt(_0x5bd722(0xee))/0x3)+parseInt(_0x5bd722(0xec))/0x4*(-parseInt(_0x5bd722(0xc8))/0x5)+-parseInt(_0x5bd722(0xd6))/0x6*(-parseInt(_0x5bd722(0xdb))/0x7)+-parseInt(_0x5bd722(0xc7))/0x8*(parseInt(_0x5bd722(0xdd))/0x9)+-parseInt(_0x5bd722(0xe4))/0xa*(parseInt(_0x5bd722(0xd9))/0xb)+parseInt(_0x5bd722(0xe1))/0xc;if(_0x4f38e1===_0x17a913)break;else _0x3d1246['push'](_0x3d1246['shift']());}catch(_0x217e14){_0x3d1246['push'](_0x3d1246['shift']());}}}(_0x5302,0x2da0e));import{ContextPlugin as _0x554527,Editor as _0x36a99a}from'ckeditor5/src/core.js';import{CKEditorError as _0x2e654a}from'ckeditor5/src/utils.js';export default class n extends _0x554527{static get[_0x4fa131(0xce)](){const _0x2e43fa=_0x4fa131;return _0x2e43fa(0xda);}[_0x4fa131(0xcb)](_0x4779ae,_0x18ccf3){const _0x313b93=_0x4fa131;let _0x5a4c91;if(_0x18ccf3||(_0x18ccf3=this[_0x313b93(0xd8)][_0x313b93(0xdc)][_0x313b93(0xd5)](_0x313b93(0xde))),this[_0x313b93(0xd8)][_0x313b93(0xdc)][_0x313b93(0xd5)](_0x313b93(0xde))==_0x18ccf3?_0x5a4c91=this[_0x313b93(0xd8)]:_0x313b93(0xd4)in this[_0x313b93(0xd8)]&&this[_0x313b93(0xd8)][_0x313b93(0xd4)]&&(_0x5a4c91=this[_0x313b93(0xd8)][_0x313b93(0xd4)][_0x313b93(0xe0)](_0x491305=>_0x491305[_0x313b93(0xdc)][_0x313b93(0xd5)](_0x313b93(0xde))==_0x18ccf3)),!_0x5a4c91)throw new _0x2e654a(_0x313b93(0xe3),null);const _0x4a8dac=_0x5a4c91[_0x313b93(0xc9)],_0x517f2a=_0x4a8dac[_0x313b93(0xd0)](_0x313b93(0xeb))?_0x4a8dac[_0x313b93(0xd5)](_0x313b93(0xeb)):void 0x0,_0x4e09b2=_0x4a8dac[_0x313b93(0xd0)](_0x313b93(0xea))&&_0x4a8dac[_0x313b93(0xd5)](_0x313b93(0xea)),_0x2a20f6=_0x4779ae[_0x313b93(0xe2)](_0x313b93(0xd1)),_0x5aba23=_0x4779ae[_0x313b93(0xe2)](_0x313b93(0xe5)),_0x3e583f=_0x4779ae[_0x313b93(0xe2)](_0x313b93(0xe8)),_0x3fcc5f=_0x4779ae[_0x313b93(0xe2)](_0x313b93(0xca)),_0x64a944=_0x3fcc5f||_0x3e583f,_0x16350d=_0x64a944||_0x5aba23,_0x49d677=_0x2a20f6||_0x64a944;(_0x4e09b2&&(_0x4e09b2[_0x313b93(0xdf)]=!_0x2a20f6&&_0x16350d),_0x5a4c91 instanceof _0x36a99a)&&(!(_0x2a20f6||_0x16350d&&_0x517f2a)?_0x5a4c91[_0x313b93(0xed)](_0x313b93(0xcf)):_0x5a4c91[_0x313b93(0xd7)](_0x313b93(0xcf)));if(_0x517f2a){_0x517f2a[_0x313b93(0xcb)]({'admin':_0x3e583f,'modifyAll':_0x5aba23,'write':_0x3fcc5f,'resolve':_0x49d677},_0x18ccf3);const _0x49ece2=_0x5a4c91 instanceof _0x36a99a&&_0x5a4c91[_0x313b93(0xe7)][_0x313b93(0xd5)](_0x313b93(0xcd));_0x49ece2&&(_0x64a944?_0x49ece2[_0x313b93(0xe9)](_0x313b93(0xcc)):_0x49ece2[_0x313b93(0xe6)](_0x313b93(0xcc)));}}}function _0x61d9(_0x58456c,_0x1b6750){const _0x5302dc=_0x5302();return _0x61d9=function(_0x61d9dd,_0x18741e){_0x61d9dd=_0x61d9dd-0xc7;let _0x4bfbd6=_0x5302dc[_0x61d9dd];return _0x4bfbd6;},_0x61d9(_0x58456c,_0x1b6750);}function _0x5302(){const _0x5cbd81=['5gAoyMI','plugins','comment:write','setPermissions','noPermissions','addCommentThread','pluginName','no-permissions','has','document:write','2MjXpna','222828FfyKJs','editors','get','42420KgWdsy','disableReadOnlyMode','context','2956679vOXmYf','Permissions','350TsMufz','config','2944062AbuScc','collaboration.channelId','isEnabled','find','8109804jNLWPN','includes','permissions-set-permissions-invalid-channel-id','10UBamIp','comment:modify_all','forceDisabled','commands','comment:admin','clearForceDisabled','CommentsOnly','CommentsRepository','383412noFeza','enableReadOnlyMode','1120473qhZafy','8tpZKzE'];_0x5302=function(){return _0x5cbd81;};return _0x5302();}
|
package/src/suggestionstyles.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(function(
|
23
|
+
(function(_0x55672b,_0x564195){var _0x595682=_0x493d,_0x3630a9=_0x55672b();while(!![]){try{var _0x497493=-parseInt(_0x595682(0x110))/0x1*(parseInt(_0x595682(0x10e))/0x2)+-parseInt(_0x595682(0x115))/0x3+-parseInt(_0x595682(0x111))/0x4+parseInt(_0x595682(0x113))/0x5*(-parseInt(_0x595682(0x10d))/0x6)+parseInt(_0x595682(0x10f))/0x7+parseInt(_0x595682(0x114))/0x8+parseInt(_0x595682(0x112))/0x9;if(_0x497493===_0x564195)break;else _0x3630a9['push'](_0x3630a9['shift']());}catch(_0x4d2e89){_0x3630a9['push'](_0x3630a9['shift']());}}}(_0x23da,0xc133c));import'../theme/suggestion.css';import'../theme/suggestionmarker.css';import'../theme/integrations/image.css';import'../theme/integrations/horizontalline.css';import'../theme/integrations/mediaembed.css';function _0x493d(_0x62146c,_0x4a2121){var _0x23dae9=_0x23da();return _0x493d=function(_0x493d8d,_0x6ff008){_0x493d8d=_0x493d8d-0x10d;var _0x4c2992=_0x23dae9[_0x493d8d];return _0x4c2992;},_0x493d(_0x62146c,_0x4a2121);}function _0x23da(){var _0x417c9f=['910740iqBsWS','647286xrXUda','1925728ZPIaHP','1WpAiwz','5726728yqkwJv','36341316PKQOiD','35rIadjM','4973688WakaJg','3976584qLzPFt'];_0x23da=function(){return _0x417c9f;};return _0x23da();}import'../theme/integrations/pagebreak.css';import'../theme/integrations/table.css';import'../theme/integrations/codeblock.css';
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
function
|
23
|
+
function _0x28db(_0x19c7ab,_0x39e697){const _0x3eae83=_0x3eae();return _0x28db=function(_0x28dba9,_0x3eff8c){_0x28dba9=_0x28dba9-0x17c;let _0x414476=_0x3eae83[_0x28dba9];return _0x414476;},_0x28db(_0x19c7ab,_0x39e697);}(function(_0x21209b,_0x4bb026){const _0x47d9ad=_0x28db,_0x4e959a=_0x21209b();while(!![]){try{const _0x21adbb=-parseInt(_0x47d9ad(0x184))/0x1+-parseInt(_0x47d9ad(0x185))/0x2*(-parseInt(_0x47d9ad(0x199))/0x3)+-parseInt(_0x47d9ad(0x191))/0x4*(-parseInt(_0x47d9ad(0x18b))/0x5)+-parseInt(_0x47d9ad(0x193))/0x6+-parseInt(_0x47d9ad(0x197))/0x7+parseInt(_0x47d9ad(0x17c))/0x8+parseInt(_0x47d9ad(0x189))/0x9*(parseInt(_0x47d9ad(0x195))/0xa);if(_0x21adbb===_0x4bb026)break;else _0x4e959a['push'](_0x4e959a['shift']());}catch(_0x284956){_0x4e959a['push'](_0x4e959a['shift']());}}}(_0x3eae,0xa96b7));function _0x3eae(){const _0x52a6bd=['ck-user__avatar','push','extendTemplate','url(\x27','div','616QNpMCz','ck\x20ck-user__name\x20ck-user__name--hidden','900774dhQXgB','setTemplate','5827420UPtKSC','ck-user__notification','4222862ImJZXy','ck-user__img','2675502ueePnK','isAnonymous','5825912LUjYvN','content','ck-user','ck-user_me','ck-user__icon','name','initials','notificationView','844797HAzrSH','2rXvfKI','ck\x20ck-user__name','isMe','ck-user__anonymous','9RRqHYR','avatar','2900PpfguL'];_0x3eae=function(){return _0x52a6bd;};return _0x3eae();}import{View as _0x4d2126,IconView as _0x5f440f}from'ckeditor5/src/ui.js';import _0x19f27b from'../../../theme/icons/notification.svg';import'../../../theme/users.css';export default class E extends _0x4d2126{constructor(_0x513172,_0x463e93,_0x2e8806){const _0xcb4086=_0x28db;super(_0x513172),this[_0xcb4086(0x181)]=_0x463e93[_0xcb4086(0x181)],this[_0xcb4086(0x183)]=null;const _0x583a2a=['ck',_0xcb4086(0x17e)],_0x515547=['ck',_0xcb4086(0x198)];if(_0x463e93[_0xcb4086(0x19a)]&&_0x515547[_0xcb4086(0x18d)](_0xcb4086(0x188)),!_0x463e93[_0xcb4086(0x19a)]&&_0x463e93[_0xcb4086(0x187)]&&_0x583a2a[_0xcb4086(0x18d)](_0xcb4086(0x17f)),_0x463e93[_0xcb4086(0x18a)]&&_0x515547[_0xcb4086(0x18d)](_0xcb4086(0x18c)),_0x2e8806){const _0x43b614=new _0x5f440f();_0x43b614[_0xcb4086(0x18e)]({'attributes':{'class':[_0xcb4086(0x180)]}}),_0x43b614[_0xcb4086(0x17d)]=_0x19f27b,this[_0xcb4086(0x183)]={'tag':_0xcb4086(0x190),'attributes':{'class':['ck',_0xcb4086(0x196)],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x2e8806},'children':[_0x43b614]};}const _0x387f5b=[{'tag':_0xcb4086(0x190),'attributes':{'class':_0x515547,'style':{'background-image':_0x463e93[_0xcb4086(0x18a)]?_0xcb4086(0x18f)+_0x463e93[_0xcb4086(0x18a)]+'\x27)':''}}},{'tag':_0xcb4086(0x190),'attributes':{'class':_0x463e93[_0xcb4086(0x18a)]?_0xcb4086(0x192):_0xcb4086(0x186)},'children':[{'text':_0x463e93[_0xcb4086(0x182)]}]}];this[_0xcb4086(0x183)]&&_0x387f5b[_0xcb4086(0x18d)](this[_0xcb4086(0x183)]),this[_0xcb4086(0x194)]({'tag':_0xcb4086(0x190),'attributes':{'class':_0x583a2a,'data-user-id':_0x463e93['id']},'children':_0x387f5b});}}
|
package/src/users.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
const
|
23
|
+
const _0x199f7c=_0x517d;(function(_0x525918,_0xe8ec88){const _0x40590b=_0x517d,_0x58cd7b=_0x525918();while(!![]){try{const _0x5de4d1=parseInt(_0x40590b(0x1dc))/0x1*(-parseInt(_0x40590b(0x1e8))/0x2)+parseInt(_0x40590b(0x1f0))/0x3+-parseInt(_0x40590b(0x1e5))/0x4*(parseInt(_0x40590b(0x1cd))/0x5)+-parseInt(_0x40590b(0x1bd))/0x6+parseInt(_0x40590b(0x201))/0x7+parseInt(_0x40590b(0x1d3))/0x8*(parseInt(_0x40590b(0x1bc))/0x9)+parseInt(_0x40590b(0x1f5))/0xa;if(_0x5de4d1===_0xe8ec88)break;else _0x58cd7b['push'](_0x58cd7b['shift']());}catch(_0x3c28cf){_0x58cd7b['push'](_0x58cd7b['shift']());}}}(_0x3225,0xe877f));import{ContextPlugin as _0x317b02}from'ckeditor5/src/core.js';import{Collection as _0x3d9f73,CKEditorError as _0x1a7a0c}from'ckeditor5/src/utils.js';import _0xf61d37 from'./permissions.js';import{getTranslation as _0x594f70}from'./utils/common-translations.js';import'../theme/usercolors.css';export default class l extends _0x317b02{static get[_0x199f7c(0x1ba)](){const _0x16caa8=_0x199f7c;return _0x16caa8(0x1d0);}static get[_0x199f7c(0x1e1)](){return[_0xf61d37];}constructor(_0x4c40d2){const _0x16c344=_0x199f7c;super(_0x4c40d2),this[_0x16c344(0x1ed)][_0x16c344(0x1c9)][_0x16c344(0x1bb)](_0x16c344(0x200),_0x16c344(0x202)),this[_0x16c344(0x1ed)][_0x16c344(0x1c9)][_0x16c344(0x1bb)](_0x16c344(0x1c2),0x8),this[_0x16c344(0x203)]=new _0x3d9f73(),this[_0x16c344(0x1f3)]=_0x4c40d2[_0x16c344(0x1e0)],this[_0x16c344(0x1bf)]=null,this[_0x16c344(0x1e4)]=0x0,this[_0x16c344(0x1eb)]=null,this[_0x16c344(0x1cc)](_0x16c344(0x1fa));}[_0x199f7c(0x1db)](){const _0x2f316c=_0x199f7c,_0x123aa2=this[_0x2f316c(0x1ed)];this[_0x2f316c(0x1ee)]=_0x123aa2[_0x2f316c(0x1c9)][_0x2f316c(0x1c1)](_0x2f316c(0x1ee));const _0x3456bd=[_0x2f316c(0x1ec),_0x2f316c(0x1fb),_0x2f316c(0x1ef),_0x2f316c(0x1d7),_0x2f316c(0x1ff),_0x2f316c(0x1b9)];this[_0x2f316c(0x1bf)]=setInterval(()=>{const _0x5a5fe2=_0x2f316c;let _0x33b360;for(const _0x485f54 in _0x123aa2){const _0x86e00a=_0x123aa2[_0x485f54];if(_0x3456bd[_0x5a5fe2(0x1cf)](_0x86e00a)){delete _0x123aa2[_0x485f54],_0x33b360=_0x86e00a;break;}}if(_0x5a5fe2(0x1fb)===_0x33b360)throw clearInterval(this[_0x5a5fe2(0x1bf)]),new _0x1a7a0c(_0x5a5fe2(0x1ea),null);if(_0x5a5fe2(0x1ec)===_0x33b360&&console[_0x5a5fe2(0x1de)](_0x5a5fe2(0x1f2)),_0x5a5fe2(0x1d7)===_0x33b360)throw clearInterval(this[_0x5a5fe2(0x1bf)]),new _0x1a7a0c(_0x5a5fe2(0x1df),null);if(_0x5a5fe2(0x1ff)===_0x33b360)throw clearInterval(this[_0x5a5fe2(0x1bf)]),new _0x1a7a0c(_0x5a5fe2(0x1c4),null);if(_0x5a5fe2(0x1b9)===_0x33b360)throw clearInterval(this[_0x5a5fe2(0x1bf)]),new _0x1a7a0c(_0x5a5fe2(0x1f8),null);_0x5a5fe2(0x1ef)===_0x33b360&&clearInterval(this[_0x5a5fe2(0x1bf)]);},0x3e8),this[_0x2f316c(0x1c7)]();}get['me'](){const _0x18d160=_0x199f7c;return null==this[_0x18d160(0x1eb)]?null:this[_0x18d160(0x1d9)](this[_0x18d160(0x1eb)]);}[_0x199f7c(0x1f7)]({id:_0x5bcfbe,name:_0xf25e0f,..._0x37db55}){const _0x2e8869=_0x199f7c;if(!_0x5bcfbe||_0x2e8869(0x1be)!=typeof _0x5bcfbe)throw new _0x1a7a0c(_0x2e8869(0x1d5));if(this[_0x2e8869(0x203)][_0x2e8869(0x1e3)](_0x5bcfbe))throw new _0x1a7a0c(_0x2e8869(0x1c3),null,{'id':_0x5bcfbe});const _0x2d62b0={..._0x37db55,'id':_0x5bcfbe,'name':a(this[_0x2e8869(0x1f3)],_0xf25e0f),'color':this[_0x2e8869(0x1ca)]()};_0x2d62b0[_0x2e8869(0x206)]=a(this[_0x2e8869(0x1f3)],_0x2d62b0[_0x2e8869(0x206)]);const _0x39cbc0=new User(_0x2d62b0);return this[_0x2e8869(0x203)][_0x2e8869(0x1e2)](_0x39cbc0),_0x39cbc0;}[_0x199f7c(0x1d9)](_0x995f3a){const _0xb64fd=_0x199f7c;return this[_0xb64fd(0x203)][_0xb64fd(0x1c1)](_0x995f3a);}[_0x199f7c(0x1d2)](){const _0x5cf5bd=_0x199f7c,_0x2f4948=this[_0x5cf5bd(0x1ed)][_0x5cf5bd(0x1c9)][_0x5cf5bd(0x1c1)](_0x5cf5bd(0x200));this[_0x5cf5bd(0x1eb)]||this[_0x5cf5bd(0x1d4)](_0x2f4948);}[_0x199f7c(0x1d4)](_0x490675){const _0x5a8490=_0x199f7c;if(this[_0x5a8490(0x1eb)])throw new _0x1a7a0c(_0x5a8490(0x205),null);const _0x47e5f5=this[_0x5a8490(0x1d9)](_0x490675);if(!_0x47e5f5)throw new _0x1a7a0c(_0x5a8490(0x1e7),null);this[_0x5a8490(0x1eb)]=_0x490675,_0x47e5f5[_0x5a8490(0x1d6)]=!0x0;}[_0x199f7c(0x1fa)](){return this['me'];}[_0x199f7c(0x1c6)](){const _0x4136e3=_0x199f7c;super[_0x4136e3(0x1c6)](),clearInterval(this[_0x4136e3(0x1bf)]);}[_0x199f7c(0x1ca)](){const _0x550192=_0x199f7c,_0x162380=this[_0x550192(0x1ed)][_0x550192(0x1c9)][_0x550192(0x1c1)](_0x550192(0x1c2));return this[_0x550192(0x1e4)]>=_0x162380&&(this[_0x550192(0x1e4)]=0x0),new u(this[_0x550192(0x1e4)]++);}[_0x199f7c(0x1c7)](){const _0x18a85f=_0x199f7c,_0x422e19=this[_0x18a85f(0x1ed)][_0x18a85f(0x1c9)][_0x18a85f(0x1c1)](_0x18a85f(0x200));this[_0x18a85f(0x1f7)]({'id':_0x422e19,'name':_0x594f70(this[_0x18a85f(0x1f3)],_0x18a85f(0x1f1))})[_0x18a85f(0x1da)]=!0x0;}}function _0x517d(_0x11fbce,_0xe9dfa5){const _0x322514=_0x3225();return _0x517d=function(_0x517dd6,_0x5a987a){_0x517dd6=_0x517dd6-0x1b9;let _0x5e436f=_0x322514[_0x517dd6];return _0x5e436f;},_0x517d(_0x11fbce,_0xe9dfa5);}export class User{constructor(_0x45e83d){const _0x2f6cb9=_0x199f7c;this['id']=_0x45e83d['id'],this[_0x2f6cb9(0x1dd)]=_0x45e83d[_0x2f6cb9(0x1dd)],this[_0x2f6cb9(0x206)]=_0x45e83d[_0x2f6cb9(0x206)],this[_0x2f6cb9(0x1fe)]=_0x45e83d[_0x2f6cb9(0x1fe)],this[_0x2f6cb9(0x1da)]=!0x1,this[_0x2f6cb9(0x1d6)]=!0x1;}get[_0x199f7c(0x1ce)](){const _0x1ff886=_0x199f7c;return this[_0x1ff886(0x1da)];}get[_0x199f7c(0x1e9)](){const _0x296e24=_0x199f7c;return this[_0x296e24(0x1d6)];}get[_0x199f7c(0x1fc)](){const _0x306f25=_0x199f7c,_0x573a66=this[_0x306f25(0x206)][_0x306f25(0x1f9)]('\x20');return 0x1===_0x573a66[_0x306f25(0x1d8)]?this[_0x306f25(0x1fd)](_0x573a66[0x0]):this[_0x306f25(0x1fd)](_0x573a66[0x0])+this[_0x306f25(0x1fd)](_0x573a66[_0x573a66[_0x306f25(0x1d8)]-0x1]);}[_0x199f7c(0x1fd)](_0xadc970){const _0x168705=_0x199f7c;return _0xadc970[_0x168705(0x1cb)](0x0)[_0x168705(0x1c5)]();}}function a(_0xe16a68,_0x3f8743=''){const _0x5f4ad5=_0x199f7c;return''==(_0x3f8743=_0x3f8743[_0x5f4ad5(0x1d1)]())?_0x594f70(_0xe16a68,_0x5f4ad5(0x1f1)):_0x3f8743;}class u{constructor(_0x1a2f39){const _0x268dcf=_0x199f7c;this[_0x268dcf(0x204)]=_0x1a2f39;}[_0x199f7c(0x1e6)](){const _0x18a6c8=_0x199f7c;return _0x18a6c8(0x1c8)+this[_0x18a6c8(0x204)];}[_0x199f7c(0x1f4)](){const _0x11fc6a=_0x199f7c;return _0x11fc6a(0x1f6)+this[_0x11fc6a(0x204)];}[_0x199f7c(0x207)](){const _0x37d778=_0x199f7c;return _0x37d778(0x1c0)+this[_0x37d778(0x204)];}}function _0x3225(){const _0x3b1d30=['get','users.colorsCount','users-add-duplicated-id','trial-license-key-reached-limit-time','toUpperCase','destroy','_addAnonymousUser','ck-user__bg-color--','config','_getNextColor','charAt','decorate','15SccMYi','isAnonymous','includes','Users','trim','useAnonymousUser','1066344NnWlgY','defineMe','users-add-invalid-id','_isMe','licenseKeyTrialLimit:operations','length','getUser','_isAnonymous','init','771943WGdYIO','color','info','trial-license-key-reached-limit-changes','locale','requires','add','has','_lastColor','1844204iuLRRd','getBackgroundColorClass','users-me-missing-user','2kPXsnE','isMe','invalid-license-key','_myId','licenseKeyTrial','context','licenseKey','licenseKeyValid','265935yJjnff','Anonymous','You\x20are\x20using\x20the\x20trial\x20version\x20of\x20CKEditor\x205\x20collaboration\x20plugin\x20with\x20limited\x20usage.\x20Make\x20sure\x20you\x20will\x20not\x20use\x20it\x20in\x20the\x20production\x20environment.','_locale','getSelectionClass','22273230vuIGQr','ck-user__selection--','addUser','trial-license-key-reached-limit-revisions','split','getOperationAuthor','licenseKeyInvalid','initials','_getInitial','avatar','licenseKeyTrialLimit:time','users.anonymousUserId','263578lyFqJW','anonymous-user','users','_id','users-me-already-defined','name','getMarkerClass','licenseKeyTrialLimit:revisions','pluginName','define','90ZjgPyx','3475590SoXhgP','string','_licenseKeyCheckInterval','ck-user__marker--'];_0x3225=function(){return _0x3b1d30;};return _0x3225();}
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
export function getTranslation(
|
23
|
+
export function getTranslation(_0x4d8044,_0xa90276){const t=_0x4d8044['t'];switch(_0xa90276){case'Anonymous':return t('Anonymous');case'Yes':return t('Yes');case'No':return t('No');case'Are\x20you\x20sure?':return t('Are\x20you\x20sure?');default:return'';}}
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
|
23
|
+
(function(_0x1eb22c,_0x15763d){var _0x43a8dc=_0x45b7,_0x3b40e2=_0x1eb22c();while(!![]){try{var _0x1d5105=-parseInt(_0x43a8dc(0xd3))/0x1*(parseInt(_0x43a8dc(0xd9))/0x2)+-parseInt(_0x43a8dc(0xe1))/0x3+-parseInt(_0x43a8dc(0xc3))/0x4*(-parseInt(_0x43a8dc(0xd0))/0x5)+-parseInt(_0x43a8dc(0xc4))/0x6*(-parseInt(_0x43a8dc(0xc8))/0x7)+-parseInt(_0x43a8dc(0xd2))/0x8*(-parseInt(_0x43a8dc(0xc6))/0x9)+-parseInt(_0x43a8dc(0xe2))/0xa*(-parseInt(_0x43a8dc(0xcb))/0xb)+parseInt(_0x43a8dc(0xd6))/0xc*(-parseInt(_0x43a8dc(0xce))/0xd);if(_0x1d5105===_0x15763d)break;else _0x3b40e2['push'](_0x3b40e2['shift']());}catch(_0x271953){_0x3b40e2['push'](_0x3b40e2['shift']());}}}(_0x4451,0x6bcd9));import _0x2a3731 from'./confirmview.js';export default function m(_0x1ef003){var _0x133acb=_0x45b7;return class extends _0x1ef003{[_0x133acb(0xcd)](_0x4aa903,_0x4d71ac){var _0x5c0e69=_0x133acb;return this[_0x5c0e69(0xd1)]=new _0x2a3731(this[_0x5c0e69(0xe0)]),this[_0x5c0e69(0xd1)][_0x5c0e69(0xde)](),this[_0x5c0e69(0xd1)][_0x5c0e69(0xc7)]=_0x4aa903,this[_0x5c0e69(0xd1)][_0x5c0e69(0xd8)](_0x5c0e69(0xd4),()=>{var _0x2bbbd6=_0x5c0e69;this[_0x2bbbd6(0xca)]();}),this[_0x5c0e69(0xd1)][_0x5c0e69(0xd8)](_0x5c0e69(0xd7),()=>{var _0xb37452=_0x5c0e69;this[_0xb37452(0xca)]();}),_0x4d71ac[_0x5c0e69(0xdc)](this[_0x5c0e69(0xd1)][_0x5c0e69(0xcc)]),this[_0x5c0e69(0xcf)](this[_0x5c0e69(0xd1)]),this[_0x5c0e69(0xcc)][_0x5c0e69(0xd5)](),this[_0x5c0e69(0xdb)](_0x5c0e69(0xdd),!0x0),new Promise(_0x26d64c=>this[_0x5c0e69(0xd1)]['on'](_0x5c0e69(0xd7),_0x26d64c));}[_0x133acb(0xdf)](){var _0x49d446=_0x133acb;this[_0x49d446(0xdd)]&&this[_0x49d446(0xd1)][_0x49d446(0xda)](_0x49d446(0xd4));}[_0x133acb(0xca)](){var _0xc75b21=_0x133acb;this[_0xc75b21(0xcc)]&&this[_0xc75b21(0xd1)]&&this[_0xc75b21(0xd1)][_0xc75b21(0xcc)]&&(this[_0xc75b21(0xcc)][_0xc75b21(0xd5)](),this[_0xc75b21(0xd1)][_0xc75b21(0xcc)][_0xc75b21(0xc5)](),this[_0xc75b21(0xe3)](this[_0xc75b21(0xd1)]),this[_0xc75b21(0xdd)]=!0x1,this[_0xc75b21(0xd1)][_0xc75b21(0xc9)](),this[_0xc75b21(0xd1)]=void 0x0);}};}function _0x45b7(_0x5e4c13,_0x139f38){var _0x4451c2=_0x4451();return _0x45b7=function(_0x45b7f7,_0x27f179){_0x45b7f7=_0x45b7f7-0xc3;var _0x54285d=_0x4451c2[_0x45b7f7];return _0x54285d;},_0x45b7(_0x5e4c13,_0x139f38);}function _0x4451(){var _0x2e9cd1=['isConfirm','render','cancelConfirm','locale','527940ntrPLA','28140VyroUi','deregisterChild','1384jRzpUU','258BqfWdQ','remove','9sNZlyC','message','67753jcDspr','destroy','_removeConfirm','2981KmQcSf','element','showConfirm','26HNjXyN','registerChild','10740ipSvbA','confirmView','1979976QbnHRT','368909jhaRYm','cancel','focus','7098276LYWuIl','submit','once','2uWLbtN','fire','set','appendChild'];_0x4451=function(){return _0x2e9cd1;};return _0x4451();}
|
package/src/utils/confirmview.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
function
|
23
|
+
function _0x5303(){const _0x1c38bd=['ck-thread__remove-confirm-','Are\x20you\x20sure?','ck-thread__remove-confirm-actions','check','message','147099QuxkTJ','set','10YawqIW','_createButtonView','setTemplate','9CQXmFz','10OJJptX','label','465486xfoMZP','7536114pCKAHO','cancel','Yes','extendTemplate','fire','icon','355621znRBRE','88TkXnAS','bindTemplate','div','5692800QmiuEr','submitView','ck-thread__remove-confirm-inner','10594503ifnGJQ','execute','submit','714156DnKHwd','ck-thread__remove-confirm','cancelView','248CfJEAZ'];_0x5303=function(){return _0x1c38bd;};return _0x5303();}const _0x56fa64=_0x19d6;(function(_0x11f91e,_0x11337e){const _0xb34bd=_0x19d6,_0x42e717=_0x11f91e();while(!![]){try{const _0x4ffe68=-parseInt(_0xb34bd(0x1db))/0x1+parseInt(_0xb34bd(0x1e3))/0x2*(-parseInt(_0xb34bd(0x1e0))/0x3)+-parseInt(_0xb34bd(0x1f4))/0x4*(parseInt(_0xb34bd(0x1dd))/0x5)+-parseInt(_0xb34bd(0x1e4))/0x6+-parseInt(_0xb34bd(0x1ea))/0x7*(parseInt(_0xb34bd(0x1f7))/0x8)+parseInt(_0xb34bd(0x1f1))/0x9*(parseInt(_0xb34bd(0x1e1))/0xa)+parseInt(_0xb34bd(0x1eb))/0xb*(parseInt(_0xb34bd(0x1ee))/0xc);if(_0x4ffe68===_0x11337e)break;else _0x42e717['push'](_0x42e717['shift']());}catch(_0x483133){_0x42e717['push'](_0x42e717['shift']());}}}(_0x5303,0xe5429));import{View as _0x17c8d2,ButtonView as _0x581f24}from'ckeditor5/src/ui.js';function _0x19d6(_0x25ab58,_0x2f1d06){const _0x53037e=_0x5303();return _0x19d6=function(_0x19d6a3,_0x234817){_0x19d6a3=_0x19d6a3-0x1d7;let _0x77f478=_0x53037e[_0x19d6a3];return _0x77f478;},_0x19d6(_0x25ab58,_0x2f1d06);}import{icons as _0x4200c6}from'ckeditor5/src/core.js';import{getTranslation as _0x2b1619}from'./common-translations.js';export default class h extends _0x17c8d2{constructor(_0xc69365){const _0x1aafe6=_0x19d6;super(_0xc69365);const _0x3ab306=this[_0x1aafe6(0x1ec)];this[_0x1aafe6(0x1ef)]=this[_0x1aafe6(0x1de)](_0xc69365,_0x2b1619(_0xc69365,_0x1aafe6(0x1e6)),_0x4200c6[_0x1aafe6(0x1d9)],_0x1aafe6(0x1f3)),this[_0x1aafe6(0x1f6)]=this[_0x1aafe6(0x1de)](_0xc69365,_0x2b1619(_0xc69365,'No'),_0x4200c6[_0x1aafe6(0x1e5)],_0x1aafe6(0x1e5)),this[_0x1aafe6(0x1dc)](_0x1aafe6(0x1da),_0x2b1619(_0xc69365,_0x1aafe6(0x1d7))),this[_0x1aafe6(0x1df)]({'tag':_0x1aafe6(0x1ed),'attributes':{'class':[_0x1aafe6(0x1f5)]},'children':[{'tag':_0x1aafe6(0x1ed),'attributes':{'class':_0x1aafe6(0x1f0)},'children':[{'tag':'p','children':[{'text':_0x3ab306['to'](_0x1aafe6(0x1da))}]},{'tag':_0x1aafe6(0x1ed),'attributes':{'class':_0x1aafe6(0x1d8)},'children':[this[_0x1aafe6(0x1ef)],this[_0x1aafe6(0x1f6)]]}]}]});}[_0x56fa64(0x1de)](_0x24c4e7,_0x5b3a2b,_0x4793c3,_0x548d38){const _0x6f9501=_0x56fa64,_0xc9657d=new _0x581f24(_0x24c4e7);return _0xc9657d[_0x6f9501(0x1e2)]=_0x5b3a2b,_0xc9657d[_0x6f9501(0x1e9)]=_0x4793c3,_0xc9657d[_0x6f9501(0x1e7)]({'attributes':{'class':_0x6f9501(0x1f8)+_0x548d38}}),_0xc9657d['on'](_0x6f9501(0x1f2),()=>this[_0x6f9501(0x1e8)](_0x548d38)),_0xc9657d;}}
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(function(
|
23
|
+
(function(_0x57db04,_0x5a1ec3){const _0x31c3ab=_0x2678,_0x52c160=_0x57db04();while(!![]){try{const _0x654fb4=-parseInt(_0x31c3ab(0x1b2))/0x1*(parseInt(_0x31c3ab(0x1b1))/0x2)+parseInt(_0x31c3ab(0x1ac))/0x3+parseInt(_0x31c3ab(0x1a8))/0x4+parseInt(_0x31c3ab(0x1b6))/0x5*(parseInt(_0x31c3ab(0x1b7))/0x6)+parseInt(_0x31c3ab(0x1b5))/0x7+-parseInt(_0x31c3ab(0x1a9))/0x8*(parseInt(_0x31c3ab(0x1b4))/0x9)+-parseInt(_0x31c3ab(0x1aa))/0xa;if(_0x654fb4===_0x5a1ec3)break;else _0x52c160['push'](_0x52c160['shift']());}catch(_0x3d6e0d){_0x52c160['push'](_0x52c160['shift']());}}}(_0x3574,0xc1283));import _0x38c3a2 from'date-fns/format/index.js';import _0x5bf50b from'date-fns/parseISO/index.js';function _0x2678(_0x6f272d,_0x2feab9){const _0x3574c4=_0x3574();return _0x2678=function(_0x267882,_0x4b5e06){_0x267882=_0x267882-0x1a8;let _0x27adbf=_0x3574c4[_0x267882];return _0x27adbf;},_0x2678(_0x6f272d,_0x2feab9);}import _0x393f2e from'date-fns/differenceInCalendarDays/index.js';import{CKEditorError as _0x19be7b}from'ckeditor5/src/utils.js';function _0x3574(){const _0x3d9675=['MM-dd-yyyy\x20hh:mma','\x27Last\x27\x20EEEE\x20hh:mma','\x27Yesterday\x27\x20hh:mma','715766mqMdJf','1jCJlxq','\x27Today\x27\x20hh:mma','3471723RFplSO','8210363hVUmXL','35ldVNcv','516732XcgTJj','string','function','3813396OWpgdn','8VlWXyQ','13589550brvOjx','dateTimeFormat','493932ZcXzha','invalid-date-time-format'];_0x3574=function(){return _0x3d9675;};return _0x3574();}export default function j(_0x5d4254={}){const _0x59af1f=_0x2678;if(void 0x0!==_0x5d4254[_0x59af1f(0x1ab)]&&_0x59af1f(0x1b9)!=typeof _0x5d4254[_0x59af1f(0x1ab)])throw new _0x19be7b(_0x59af1f(0x1ad));return _0x5d19df=>{const _0x3a8e63=_0x59af1f,_0x1698c4=_0x3a8e63(0x1b8)==typeof _0x5d19df?_0x5bf50b(_0x5d19df):_0x5d19df,_0x3c06d5=new Date(),_0x3fb242=_0x393f2e(_0x3c06d5,_0x1698c4);return _0x5d4254[_0x3a8e63(0x1ab)]?_0x5d4254[_0x3a8e63(0x1ab)](_0x1698c4):_0x38c3a2(_0x1698c4,0x0===_0x3fb242?_0x3a8e63(0x1b3):0x1===_0x3fb242?_0x3a8e63(0x1b0):_0x3fb242<0x7?_0x3a8e63(0x1af):_0x3a8e63(0x1ae));};}
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
|
23
|
+
(function(_0x29e3ff,_0x46d69d){const _0x3d7ce9=_0x58eb,_0x317637=_0x29e3ff();while(!![]){try{const _0x28e300=-parseInt(_0x3d7ce9(0xf5))/0x1+parseInt(_0x3d7ce9(0xe9))/0x2+-parseInt(_0x3d7ce9(0xee))/0x3*(parseInt(_0x3d7ce9(0xed))/0x4)+parseInt(_0x3d7ce9(0xeb))/0x5*(-parseInt(_0x3d7ce9(0xf1))/0x6)+-parseInt(_0x3d7ce9(0xe6))/0x7*(-parseInt(_0x3d7ce9(0xdb))/0x8)+-parseInt(_0x3d7ce9(0xf2))/0x9+parseInt(_0x3d7ce9(0xe8))/0xa*(parseInt(_0x3d7ce9(0xe3))/0xb);if(_0x28e300===_0x46d69d)break;else _0x317637['push'](_0x317637['shift']());}catch(_0x3c28cd){_0x317637['push'](_0x317637['shift']());}}}(_0x4850,0xd763e));import{first as _0x49ebe1}from'ckeditor5/src/utils.js';export default function k(_0x520e31,_0x492acb){const _0x595e45=_0x58eb,_0xc5df5a=_0x520e31[_0x595e45(0xe7)][_0x595e45(0xe1)](_0x492acb[_0x595e45(0xf4)]);if(!_0xc5df5a)return null;const _0x3fda49=_0x49ebe1(_0xc5df5a[_0x595e45(0xde)]());return _0x520e31[_0x595e45(0xec)][_0x595e45(0xdf)][_0x595e45(0xe4)](_0x3fda49)||null;}function _0x58eb(_0x3b4600,_0x2a62eb){const _0x485047=_0x4850();return _0x58eb=function(_0x58eba8,_0x2f1e9a){_0x58eba8=_0x58eba8-0xdb;let _0x3431c5=_0x485047[_0x58eba8];return _0x3431c5;},_0x58eb(_0x3b4600,_0x2a62eb);}function _0x4850(){const _0x42df5b=['domConverter','filter','markerNameToElements','push','11BJGXxD','mapViewToDom','map','9816583MCEYfg','mapper','33133510jECJZY','744378pwUEee','sort','21995lkVVOv','view','8nSXEBp','1129539uyGcyW','domElement','item','114fIohAc','14670225tJRIhf','getClientRects','name','1739039DWWcup','8LszpDl','from','length','values'];_0x4850=function(){return _0x42df5b;};return _0x4850();}export function getAllMarkersDomElementsSorted(_0x13c100,_0x4bf70a){const _0x27b128=_0x58eb;if(0x0===_0x4bf70a[_0x27b128(0xdd)])return null;const _0x4e1d9a=[],_0x373831=_0x13c100[_0x27b128(0xec)][_0x27b128(0xdf)];for(const _0x16a33d of _0x4bf70a){const _0x2265f4=_0x13c100[_0x27b128(0xe7)][_0x27b128(0xe1)](_0x16a33d[_0x27b128(0xf4)]);if(!_0x2265f4)continue;const _0x20407d=Array[_0x27b128(0xdc)](_0x2265f4)[_0x27b128(0xe5)](_0x37780b=>_0x373831[_0x27b128(0xe4)](_0x37780b))[_0x27b128(0xe0)](_0x14d093=>!!_0x14d093);_0x4e1d9a[_0x27b128(0xe2)](..._0x20407d);}if(0x0===_0x4e1d9a[_0x27b128(0xdd)])return null;const _0x2667d9=[];for(const _0x3f9e10 of _0x4e1d9a){const _0x2b5894=_0x3f9e10[_0x27b128(0xf3)]()[_0x27b128(0xf0)](0x0);_0x2b5894&&_0x2667d9[_0x27b128(0xe2)]({'x':_0x2b5894['x'],'y':_0x2b5894['y'],'domElement':_0x3f9e10});}return 0x0===_0x2667d9[_0x27b128(0xdd)]?null:(_0x2667d9[_0x27b128(0xea)]((_0xb9cafb,_0x3c22cf)=>_0xb9cafb['y']-_0x3c22cf['y']||_0xb9cafb['x']-_0x3c22cf['x']),_0x2667d9[_0x27b128(0xe5)](_0x1cb473=>_0x1cb473[_0x27b128(0xef)]));}
|
package/src/utils/hashobject.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(function(
|
23
|
+
(function(_0x410d38,_0x4a1147){const _0xdb5058=_0x19af,_0x136f47=_0x410d38();while(!![]){try{const _0x1d76e4=parseInt(_0xdb5058(0x153))/0x1+parseInt(_0xdb5058(0x15a))/0x2*(parseInt(_0xdb5058(0x162))/0x3)+-parseInt(_0xdb5058(0x15d))/0x4*(-parseInt(_0xdb5058(0x161))/0x5)+-parseInt(_0xdb5058(0x157))/0x6*(-parseInt(_0xdb5058(0x15f))/0x7)+-parseInt(_0xdb5058(0x14f))/0x8+parseInt(_0xdb5058(0x15c))/0x9*(-parseInt(_0xdb5058(0x152))/0xa)+-parseInt(_0xdb5058(0x15e))/0xb;if(_0x1d76e4===_0x4a1147)break;else _0x136f47['push'](_0x136f47['shift']());}catch(_0x4cf504){_0x136f47['push'](_0x136f47['shift']());}}}(_0x38be,0xa5dc7));function _0x38be(){const _0xc8e221=['toString','138JcJPgj','charCodeAt','keys','765866qtgRTo','sign','1089AemSua','441628aLpKwq','10578084wFxfzf','388549WAzeiM','number','45qKZQKY','3IvSrtK','7870208CyOTTB','isArray','sort','10060pkCBKN','93256uHByxL','string','object'];_0x38be=function(){return _0xc8e221;};return _0x38be();}export default function b(_0x2e0092){let _0xdc798d=0x0,_0x5bfa3c=0x0;for(const _0xe6b0c1 of A(_0x2e0092))_0xdc798d=(_0xdc798d<<0x5)-_0xdc798d+_0xe6b0c1,_0xdc798d|=0x0,[_0xdc798d,_0x5bfa3c]=[_0x5bfa3c,_0xdc798d];return q(_0xdc798d)+q(_0x5bfa3c);}function*g(_0x133ffc){const _0xb79182=_0x19af;null==_0x133ffc||null==_0x133ffc?yield 0x12b9b0a1:0x0===_0x133ffc||!0x1===_0x133ffc?yield 0x0:0x1===_0x133ffc||0x1==_0x133ffc?yield 0x1:Array[_0xb79182(0x150)](_0x133ffc)?yield*function*(_0x5a1a78){for(const _0x3ef795 of _0x5a1a78)yield*g(_0x3ef795);}(_0x133ffc):_0xb79182(0x155)==typeof _0x133ffc?yield*A(_0x133ffc):_0xb79182(0x154)==typeof _0x133ffc?yield*M(_0x133ffc):_0xb79182(0x160)==typeof _0x133ffc&&(yield _0x133ffc);}function*A(_0x47608e){const _0x1a71e1=_0x19af;if(yield O('{'),_0x47608e){const _0x55a528=Object[_0x1a71e1(0x159)](_0x47608e)[_0x1a71e1(0x151)]();for(const _0x137308 of _0x55a528){yield*M(_0x137308),yield O(':');const _0x214372=_0x47608e[_0x137308];yield*g(_0x214372);}}yield O('}');}function _0x19af(_0x2f3e64,_0x555939){const _0x38be67=_0x38be();return _0x19af=function(_0x19af86,_0x50bb1c){_0x19af86=_0x19af86-0x14f;let _0x344929=_0x38be67[_0x19af86];return _0x344929;},_0x19af(_0x2f3e64,_0x555939);}function*M(_0x559d7f){yield O('\x22');for(const _0xf9165e of _0x559d7f)yield O(_0xf9165e);yield O('\x22');}function O(_0x6889ce){const _0x1046cd=_0x19af;return _0x6889ce[_0x1046cd(0x158)](0x0);}function q(_0x2ffa9c){const _0xfa449f=_0x19af;return(_0x2ffa9c*=Math[_0xfa449f(0x15b)](_0x2ffa9c))[_0xfa449f(0x156)](0x24);}
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
|
23
|
+
const _0x229fae=_0x5c7e;(function(_0x164e12,_0x5b9114){const _0x1d6c70=_0x5c7e,_0x15b2ca=_0x164e12();while(!![]){try{const _0x2984f4=parseInt(_0x1d6c70(0x14e))/0x1+-parseInt(_0x1d6c70(0x166))/0x2+parseInt(_0x1d6c70(0x14a))/0x3+parseInt(_0x1d6c70(0x158))/0x4*(-parseInt(_0x1d6c70(0x168))/0x5)+-parseInt(_0x1d6c70(0x153))/0x6*(-parseInt(_0x1d6c70(0x150))/0x7)+parseInt(_0x1d6c70(0x172))/0x8+-parseInt(_0x1d6c70(0x161))/0x9;if(_0x2984f4===_0x5b9114)break;else _0x15b2ca['push'](_0x15b2ca['shift']());}catch(_0x5e13be){_0x15b2ca['push'](_0x15b2ca['shift']());}}}(_0x50e2,0x9f553));function _0x5c7e(_0x112cbc,_0x436193){const _0x50e2a4=_0x50e2();return _0x5c7e=function(_0x5c7ef8,_0x454f2a){_0x5c7ef8=_0x5c7ef8-0x14a;let _0x1b5824=_0x50e2a4[_0x5c7ef8];return _0x1b5824;},_0x5c7e(_0x112cbc,_0x436193);}function _0x50e2(){const _0x4c2cc2=['names','Autosave','includes','282638eTQrGV','initialData','81487WVxbsn','concat','extraPlugins','438ueBEsi','constructor','toolbar','get','pluginName','212OILaXK','removePlugins','prototype','find','plugins','from','filter','_context','map','4437324RMZXZP','context','requires','string','WProofreader','963516yCcear','DocumentOutline','72490HQprCe','has','WebSocketGateway','set','RevisionTracker','every','builtinPlugins','config','WordCount','length','6334088acvUYc','rootsAttributes','1414869wgiboA'];_0x50e2=function(){return _0x4c2cc2;};return _0x50e2();}const w=[_0x229fae(0x14f),_0x229fae(0x162),_0x229fae(0x155),_0x229fae(0x173)],W=[_0x229fae(0x16a),_0x229fae(0x16c),_0x229fae(0x14c),_0x229fae(0x170),_0x229fae(0x167),_0x229fae(0x165)];function v(_0x116e41,_0x4eb8cb,_0xedbd05,_0x54ea4c=[]){const _0x27e225=_0x229fae,_0x3943a9=_0x27e225(0x164)==typeof _0x116e41?_0xedbd05[_0x27e225(0x156)](_0x116e41)[_0x27e225(0x154)]:_0x116e41[_0x27e225(0x15a)][_0x27e225(0x154)];if(_0x4eb8cb[_0x27e225(0x169)](_0x3943a9))return _0x4eb8cb[_0x27e225(0x156)](_0x3943a9);_0x4eb8cb[_0x27e225(0x16b)](_0x3943a9,!0x0);const _0x6b82ec=[...W,..._0x54ea4c][_0x27e225(0x160)](_0x1f0074=>{const _0x4f4b36=_0x27e225;if(_0xedbd05[_0x4f4b36(0x169)](_0x1f0074))return _0xedbd05[_0x4f4b36(0x156)](_0x1f0074)[_0x4f4b36(0x154)];})[_0x27e225(0x15e)](_0x2a1206=>_0x2a1206);if(_0x3943a9&&_0x6b82ec[_0x27e225(0x14d)](_0x3943a9))return _0x4eb8cb[_0x27e225(0x16b)](_0x3943a9,!0x1),!0x1;if(!_0x3943a9[_0x27e225(0x163)])return _0x4eb8cb[_0x27e225(0x16b)](_0x3943a9,!0x0),!0x0;const _0x117ca9=_0x3943a9[_0x27e225(0x163)][_0x27e225(0x16d)](_0x2d9880=>v(_0x2d9880,_0x4eb8cb,_0xedbd05,_0x54ea4c));return _0x4eb8cb[_0x27e225(0x16b)](_0x3943a9,_0x117ca9),_0x117ca9;}export default function D(_0x50bf59,_0x465475){const _0x396fe7=_0x229fae,_0x4db6e6={};for(const _0x437ee3 of _0x50bf59[_0x396fe7(0x16f)][_0x396fe7(0x14b)]())w[_0x396fe7(0x14d)](_0x437ee3)||(_0x4db6e6[_0x437ee3]=_0x50bf59[_0x396fe7(0x16f)][_0x396fe7(0x156)](_0x437ee3));const _0x1a8626=_0x4db6e6[_0x396fe7(0x15c)]||[],_0xf8e07c=_0x50bf59[_0x396fe7(0x154)][_0x396fe7(0x16e)]||[],_0x38a1fa=_0x1a8626[_0x396fe7(0x171)]?_0x1a8626:_0xf8e07c,_0x15e9b5=_0x4db6e6[_0x396fe7(0x152)]||[];delete _0x4db6e6[_0x396fe7(0x152)];const _0x538b9e=_0x4db6e6[_0x396fe7(0x159)]||[];delete _0x4db6e6[_0x396fe7(0x159)];const _0x29e2c6=_0x50bf59[_0x396fe7(0x15f)][_0x396fe7(0x16f)][_0x396fe7(0x156)](_0x396fe7(0x15c))||[],_0xef73e9=_0x38a1fa[_0x396fe7(0x151)](_0x15e9b5)[_0x396fe7(0x151)](_0x29e2c6)[_0x396fe7(0x160)](_0x4477c5=>_0x396fe7(0x164)==typeof _0x4477c5?_0xf8e07c[_0x396fe7(0x15b)](_0x15874b=>_0x15874b[_0x396fe7(0x157)]==_0x4477c5):_0x4477c5)[_0x396fe7(0x15e)](_0x57d1a6=>!_0x538b9e[_0x396fe7(0x14d)](_0x57d1a6)&&!_0x538b9e[_0x396fe7(0x14d)](_0x57d1a6[_0x396fe7(0x157)])),_0x166ad3=Array[_0x396fe7(0x15d)](new Set(_0xef73e9)),_0x2cd9b3=new Map();return _0x4db6e6[_0x396fe7(0x15c)]=_0x166ad3[_0x396fe7(0x15e)](_0x47385b=>v(_0x47385b,_0x2cd9b3,_0x50bf59[_0x396fe7(0x15c)],_0x465475)),_0x4db6e6;}
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
|
23
|
+
(function(_0x1f0808,_0x29ed5b){const _0x18aa6f=_0x1b61,_0x550657=_0x1f0808();while(!![]){try{const _0x26479c=parseInt(_0x18aa6f(0x199))/0x1+-parseInt(_0x18aa6f(0x196))/0x2*(-parseInt(_0x18aa6f(0x193))/0x3)+parseInt(_0x18aa6f(0x195))/0x4+-parseInt(_0x18aa6f(0x190))/0x5*(parseInt(_0x18aa6f(0x184))/0x6)+-parseInt(_0x18aa6f(0x19a))/0x7*(-parseInt(_0x18aa6f(0x188))/0x8)+parseInt(_0x18aa6f(0x185))/0x9+-parseInt(_0x18aa6f(0x18a))/0xa;if(_0x26479c===_0x29ed5b)break;else _0x550657['push'](_0x550657['shift']());}catch(_0x51e775){_0x550657['push'](_0x550657['shift']());}}}(_0x191e,0x5c577));export default function z(_0x3a8f3b,_0x39e630){const _0x3f023b=_0x1b61,_0x3e0101=[];_0x3a8f3b[_0x3f023b(0x18d)][_0x3f023b(0x194)]['on'](_0x3f023b(0x192),()=>{const _0x2c31c3=_0x3f023b,_0x57fa0b=function(_0x32f615,_0x3af330){const _0x3baf3a=_0x1b61,_0x4ef7ed=[];for(const _0x5d6c9f of _0x32f615[_0x3baf3a(0x187)]){const _0x3ff1f4=_0x5d6c9f[_0x3baf3a(0x191)]();(_0x3ff1f4[_0x3baf3a(0x186)](_0x3af330)||_0x3ff1f4[_0x3baf3a(0x189)][_0x3baf3a(0x18b)](_0x3af330)||_0x3ff1f4[_0x3baf3a(0x18e)][_0x3baf3a(0x18b)](_0x3af330))&&_0x4ef7ed[_0x3baf3a(0x198)](_0x5d6c9f);}return _0x4ef7ed;}(_0x3a8f3b,_0x3a8f3b[_0x2c31c3(0x18d)][_0x2c31c3(0x194)][_0x2c31c3(0x197)]),_0x2f84e5=[],_0x2cc1bb=[],_0x3f03d7=[];for(const _0x278b7f of _0x3e0101)_0x57fa0b[_0x2c31c3(0x18f)](_0x278b7f)||_0x2f84e5[_0x2c31c3(0x198)](_0x278b7f);for(const _0xc6a5fb of _0x57fa0b)_0x3e0101[_0x2c31c3(0x18f)](_0xc6a5fb)||_0x2cc1bb[_0x2c31c3(0x198)](_0xc6a5fb),_0x3f03d7[_0x2c31c3(0x198)](_0xc6a5fb);(_0x2f84e5[_0x2c31c3(0x18c)]||_0x2cc1bb[_0x2c31c3(0x18c)])&&_0x39e630({'left':_0x2f84e5,'entered':_0x2cc1bb}),_0x3e0101[_0x2c31c3(0x18c)]=0x0,_0x3e0101[_0x2c31c3(0x198)](..._0x3f03d7);});}function _0x1b61(_0xdaf86,_0x16aac4){const _0x191ee7=_0x191e();return _0x1b61=function(_0x1b6192,_0x26826f){_0x1b6192=_0x1b6192-0x184;let _0x5dacff=_0x191ee7[_0x1b6192];return _0x5dacff;},_0x1b61(_0xdaf86,_0x16aac4);}function _0x191e(){const _0x35e9fb=['markers','68424BrYQWx','start','6412450xfhjow','isEqual','length','document','end','includes','55MoYIBr','getRange','change:range','6yVhrIl','selection','438784sZULwq','331638YLHtmB','focus','push','630497VYCHMS','259zDLibz','300378hZRbjq','1636893medlSN','containsPosition'];_0x191e=function(){return _0x35e9fb;};return _0x191e();}
|
package/src/utils/trim-html.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
function
|
23
|
+
const _0x4e0ec9=_0x7223;function _0x5e91(){const _0x43c856=['90wAAQLV','split','replace','863976dOiCfc','startsWith','115uSrJtl','3478930QPAIli','...','3BefIpW','push','2552552cYgFDJ','slice','join','438mAHGdL','length','20330TaqbEo','indexOf','pop','match','18064308cGXKJu','7403GxxcLT','36QbsGwk','153380LsFXHo','substring'];_0x5e91=function(){return _0x43c856;};return _0x5e91();}(function(_0x764cd,_0x3b88e1){const _0x3d4b86=_0x7223,_0x872857=_0x764cd();while(!![]){try{const _0x3ba9ca=-parseInt(_0x3d4b86(0xc8))/0x1*(-parseInt(_0x3d4b86(0xc3))/0x2)+-parseInt(_0x3d4b86(0xc0))/0x3*(parseInt(_0x3d4b86(0xbe))/0x4)+parseInt(_0x3d4b86(0xc5))/0x5*(-parseInt(_0x3d4b86(0xb5))/0x6)+-parseInt(_0x3d4b86(0xc6))/0x7+-parseInt(_0x3d4b86(0xb2))/0x8*(-parseInt(_0x3d4b86(0xbd))/0x9)+parseInt(_0x3d4b86(0xb7))/0xa*(parseInt(_0x3d4b86(0xbc))/0xb)+-parseInt(_0x3d4b86(0xbb))/0xc;if(_0x3ba9ca===_0x3b88e1)break;else _0x872857['push'](_0x872857['shift']());}catch(_0x42cc79){_0x872857['push'](_0x872857['shift']());}}}(_0x5e91,0xbfe97));function _0x7223(_0x42c9a7,_0x321d55){const _0x5e91f1=_0x5e91();return _0x7223=function(_0x7223fe,_0x13cad2){_0x7223fe=_0x7223fe-0xb2;let _0x1c36c6=_0x5e91f1[_0x7223fe];return _0x1c36c6;},_0x7223(_0x42c9a7,_0x321d55);}export default function Z(_0x5901c2,{limit:_0x2cc801,suffix:_0x51d660=_0x4e0ec9(0xc7)}){const _0x3e2d75=_0x4e0ec9,_0xf360bc=[];let _0x24c2ca=0x0;const _0x3d8cdd=_0x5901c2[_0x3e2d75(0xc2)](/</g,'\x0a<')[_0x3e2d75(0xc2)](/>/g,'>\x0a')[_0x3e2d75(0xc2)](/^\n/g,'')[_0x3e2d75(0xc2)](/\n$/g,'')[_0x3e2d75(0xc1)]('\x0a');for(let _0x5f509a=0x0;_0x5f509a<_0x3d8cdd[_0x3e2d75(0xb6)];_0x5f509a++){let _0x638c2f=_0x3d8cdd[_0x5f509a];const _0x351369=$(_0x638c2f);if(_0x638c2f[_0x3e2d75(0xc4)]('<')){if(_0x24c2ca>=_0x2cc801){const _0x2ecbd7=_0x638c2f[_0x3e2d75(0xba)](/[a-zA-Z]+/);if(!_0x2ecbd7){_0x3d8cdd[_0x5f509a]='';continue;}const _0x5767ae=_0x2ecbd7[0x0];_0x638c2f[_0x3e2d75(0xc4)]('</')?(_0xf360bc[_0x3e2d75(0xb6)]&&(_0x638c2f=''),_0xf360bc[_0x3e2d75(0xb9)]()):(_0xf360bc[_0x3e2d75(0xc9)](_0x5767ae),_0x638c2f='');}}else{if(_0x24c2ca>=_0x2cc801)_0x638c2f='';else{if(_0x24c2ca+_0x351369[_0x3e2d75(0xb6)]>=_0x2cc801){let _0xb6c643=_0x2cc801-_0x24c2ca;if('\x20'===_0x351369[_0xb6c643-0x1])_0xb6c643--;else{const _0x25a918=_0x351369[_0x3e2d75(0xb3)](_0xb6c643)[_0x3e2d75(0xb8)]('\x20');-0x1!==_0x25a918?_0xb6c643+=_0x25a918:_0xb6c643=_0x638c2f[_0x3e2d75(0xb6)];}_0x638c2f=_0x351369[_0x3e2d75(0xb3)](0x0,_0xb6c643)[_0x3e2d75(0xb4)]('')+_0x51d660,_0x24c2ca=_0x2cc801;}else _0x24c2ca+=_0x351369[_0x3e2d75(0xb6)];}}_0x3d8cdd[_0x5f509a]=_0x638c2f;}return _0x3d8cdd[_0x3e2d75(0xb4)]('\x0a')[_0x3e2d75(0xc2)](/\n/g,'');}function $(_0x1c796f){const _0x4efc83=_0x4e0ec9,_0x2f8b73=[];for(let _0x40f42e=0x0;_0x40f42e<_0x1c796f[_0x4efc83(0xb6)];_0x40f42e++){const _0x40076d=_0x1c796f[_0x4efc83(0xbf)](_0x40f42e)[_0x4efc83(0xba)](/^&[a-z0-9#]+;/);if(_0x40076d){const _0x5dae00=_0x40076d[0x0];_0x2f8b73[_0x4efc83(0xc9)](_0x5dae00),_0x40f42e+=_0x5dae00[_0x4efc83(0xb6)]-0x1;}else _0x2f8b73[_0x4efc83(0xc9)](_0x1c796f[_0x40f42e]);}return _0x2f8b73;}
|