@ckeditor/ckeditor5-track-changes 34.0.0 → 35.0.1
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/LICENSE.md +2 -2
- package/README.md +2 -2
- package/build/track-changes.js +2 -2
- package/build/translations/ar.js +1 -0
- package/build/translations/az.js +1 -1
- 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 -1
- package/build/translations/da.js +1 -1
- package/build/translations/de.js +1 -1
- package/build/translations/el.js +1 -1
- package/build/translations/en-au.js +1 -1
- package/build/translations/es.js +1 -1
- package/build/translations/et.js +1 -1
- package/build/translations/fi.js +1 -0
- package/build/translations/fr.js +1 -1
- package/build/translations/gl.js +1 -1
- package/build/translations/he.js +1 -0
- package/build/translations/hi.js +1 -1
- package/build/translations/hr.js +1 -1
- package/build/translations/hu.js +1 -0
- package/build/translations/id.js +1 -1
- package/build/translations/it.js +1 -1
- 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 -1
- package/build/translations/no.js +1 -0
- package/build/translations/pl.js +1 -1
- package/build/translations/pt-br.js +1 -1
- 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 -1
- package/build/translations/sr-latn.js +1 -1
- package/build/translations/sr.js +1 -1
- package/build/translations/sv.js +1 -0
- package/build/translations/th.js +1 -0
- package/build/translations/tk.js +1 -1
- package/build/translations/tr.js +1 -1
- package/build/translations/uk.js +1 -0
- package/build/translations/vi.js +1 -0
- package/build/translations/zh-cn.js +1 -1
- package/build/translations/zh.js +1 -1
- package/lang/contexts.json +2 -0
- package/lang/translations/ar.po +469 -0
- package/lang/translations/az.po +10 -0
- package/lang/translations/bg.po +397 -0
- package/lang/translations/bn.po +423 -0
- package/lang/translations/ca.po +397 -0
- package/lang/translations/cs.po +39 -27
- package/lang/translations/da.po +41 -31
- package/lang/translations/de.po +12 -2
- package/lang/translations/el.po +10 -0
- package/lang/translations/en-au.po +10 -0
- package/lang/translations/en.po +10 -0
- package/lang/translations/es.po +72 -44
- package/lang/translations/et.po +107 -97
- package/lang/translations/fi.po +397 -0
- package/lang/translations/fr.po +34 -6
- package/lang/translations/gl.po +10 -0
- package/lang/translations/he.po +433 -0
- package/lang/translations/hi.po +21 -11
- package/lang/translations/hr.po +11 -0
- package/lang/translations/hu.po +397 -0
- package/lang/translations/id.po +84 -75
- package/lang/translations/it.po +29 -1
- package/lang/translations/ja.po +379 -0
- package/lang/translations/ko.po +379 -0
- package/lang/translations/lt.po +433 -0
- package/lang/translations/lv.po +415 -0
- package/lang/translations/ms.po +379 -0
- package/lang/translations/nl.po +48 -38
- package/lang/translations/no.po +397 -0
- package/lang/translations/pl.po +25 -13
- package/lang/translations/pt-br.po +29 -1
- package/lang/translations/pt.po +415 -0
- package/lang/translations/ro.po +415 -0
- package/lang/translations/ru.po +435 -0
- package/lang/translations/sk.po +12 -0
- package/lang/translations/sr-latn.po +11 -0
- package/lang/translations/sr.po +62 -51
- package/lang/translations/sv.po +397 -0
- package/lang/translations/th.po +379 -0
- package/lang/translations/tk.po +10 -0
- package/lang/translations/tr.po +21 -11
- package/lang/translations/uk.po +433 -0
- package/lang/translations/vi.po +379 -0
- package/lang/translations/zh-cn.po +13 -4
- package/lang/translations/zh.po +73 -64
- package/package.json +5 -4
- package/src/commands/acceptallsuggestionscommand.js +1 -1
- package/src/commands/acceptselectedsuggestionscommand.js +1 -1
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardallsuggestionscommand.js +1 -1
- package/src/commands/discardselectedsuggestionscommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/ckbox.js +23 -0
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +23 -0
- package/src/integrations/image.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +23 -0
- package/src/integrations/table.js +1 -1
- package/src/integrations/tableclipboard.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +1 -1
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +1 -1
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/utils/common-translations.js +23 -0
- package/src/utils/getrangesofblockgroups.js +23 -0
- package/src/utils/getselectedsuggestions.js +1 -1
- package/src/utils/hashobject.js +1 -1
- package/src/utils/normalizedescription.js +1 -1
- package/src/utils/sortsuggestions.js +1 -1
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2016 - 2022, 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(_0x276e75,_0x2be3be,_0x4cacb2){const t=_0x276e75['t'];switch(_0x2be3be){case'Track\x20changes':return t('Track\x20changes');case'Accept\x20suggestion':return t('Accept\x20suggestion');case'Discard\x20suggestion':return t('Discard\x20suggestion');case'Accept\x20all\x20suggestions':return t('Accept\x20all\x20suggestions');case'Accept\x20all\x20selected\x20suggestions':return t('Accept\x20all\x20selected\x20suggestions');case'Discard\x20all\x20suggestions':return t('Discard\x20all\x20suggestions');case'Discard\x20all\x20selected\x20suggestions':return t('Discard\x20all\x20selected\x20suggestions');case'*Reset\x20font\x20size*':return t('*Reset\x20font\x20size*');case'*Reset\x20font\x20family*':return t('*Reset\x20font\x20family*');case'*Reset\x20font\x20color*':return t('*Reset\x20font\x20color*');case'*Reset\x20font\x20background\x20color*':return t('*Reset\x20font\x20background\x20color*');case'*Remove\x20image\x20text\x20alternative*':return t('*Remove\x20image\x20text\x20alternative*');case'*Reset\x20image\x20width*':return t('*Reset\x20image\x20width*');case'*Remove\x20link*':return t('*Remove\x20link*');case'*Check\x20item*':return t('*Check\x20item*');case'*Uncheck\x20item*':return t('*Uncheck\x20item*');case'*Remove\x20all\x20formatting*':return t('*Remove\x20all\x20formatting*');case'*Replace\x20table\x20cells*':return t('*Replace\x20table\x20cells*');case'*Merge\x20cells*':return t('*Merge\x20cells*');case'*Split\x20cell:*\x20vertically':return t('*Split\x20cell:*\x20vertically');case'*Split\x20cell:*\x20horizontally':return t('*Split\x20cell:*\x20horizontally');case'*Indent:*\x20%0':return t('*Indent:*\x20%0',_0x4cacb2);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x4cacb2);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x4cacb2);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x4cacb2);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x4cacb2);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x4cacb2);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x4cacb2);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x4cacb2);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x4cacb2);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x4cacb2);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x4cacb2);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x4cacb2);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x4cacb2);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x4cacb2);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x4cacb2);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x4cacb2);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x4cacb2);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x4cacb2);case'*Remove\x20highlight*':return t('*Remove\x20highlight*');case'FORMAT_HIGHLIGHT':return t({'string':'highlight','id':'FORMAT_HIGHLIGHT'});case'FORMAT_RESTRICTED_ENABLED':return t({'string':'*Enable\x20in\x20restricted\x20editing\x20mode*','id':'FORMAT_RESTRICTED_ENABLED'});case'FORMAT_RESTRICTED_DISABLED':return t({'string':'*Disable\x20in\x20restricted\x20editing\x20mode*','id':'FORMAT_RESTRICTED_DISABLED'});case'ELEMENT_TABLE':return t({'string':'table','plural':'%0\x20tables','id':'ELEMENT_TABLE'},_0x4cacb2);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x4cacb2);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x4cacb2);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x4cacb2);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x4cacb2);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x4cacb2);case'FORMAT_SIDE_IMAGE':return t({'string':'side\x20image','id':'FORMAT_SIDE_IMAGE'});case'ELEMENT_CAPTION':return t({'string':'caption','id':'ELEMENT_CAPTION'});case'ELEMENT_HORIZONTAL_LINE':return t({'string':'horizontal\x20line','plural':'%0\x20horizontal\x20lines','id':'ELEMENT_HORIZONTAL_LINE'},_0x4cacb2);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x4cacb2);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x4cacb2);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x4cacb2);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x4cacb2);case'ELEMENT_BULLETED_LIST':return t({'string':'bulleted\x20list','id':'ELEMENT_BULLETED_LIST'});case'ELEMENT_NUMBERED_LIST':return t({'string':'numbered\x20list','id':'ELEMENT_NUMBERED_LIST'});case'ELEMENT_TODO_LIST':return t({'string':'to-do\x20list','id':'ELEMENT_TODO_LIST'});case'REPLACE_TEXT':return t({'string':'*Replace:*\x20%0\x20*with*\x20%1','id':'REPLACE_TEXT'},_0x4cacb2);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x4cacb2);case'FORMAT_ALIGN_TO_LEFT':return t({'string':'align\x20to\x20left','id':'FORMAT_ALIGN_TO_LEFT'});case'FORMAT_ALIGN_TO_RIGHT':return t({'string':'align\x20to\x20right','id':'FORMAT_ALIGN_TO_RIGHT'});case'FORMAT_ALIGN_TO_CENTER':return t({'string':'align\x20to\x20center','id':'FORMAT_ALIGN_TO_CENTER'});case'FORMAT_JUSTIFY_TEXT':return t({'string':'justify','id':'FORMAT_JUSTIFY_TEXT'});case'FORMAT_BOLD':return t({'string':'bold','id':'FORMAT_BOLD'});case'FORMAT_ITALIC':return t({'string':'italic','id':'FORMAT_ITALIC'});case'FORMAT_UNDERLINE':return t({'string':'underline','id':'FORMAT_UNDERLINE'});case'FORMAT_CODE':return t({'string':'code','id':'FORMAT_CODE'});case'FORMAT_STRIKETHROUGH':return t({'string':'strikethrough','id':'FORMAT_STRIKETHROUGH'});case'FORMAT_SUBSCRIPT':return t({'string':'subscript','id':'FORMAT_SUBSCRIPT'});case'FORMAT_SUPERSCRIPT':return t({'string':'superscript','id':'FORMAT_SUPERSCRIPT'});case'ELEMENT_BLOCK_QUOTE':return t({'string':'block\x20quote','id':'ELEMENT_BLOCK_QUOTE'});case'ELEMENT_CODE_BLOCK':return t({'string':'code\x20block','plural':'%0\x20code\x20blocks','id':'ELEMENT_CODE_BLOCK'},_0x4cacb2);case'FORMAT_HEADER_COLUMN':return t({'string':'header\x20column','id':'FORMAT_HEADER_COLUMN'});case'FORMAT_REGULAR_COLUMN':return t({'string':'regular\x20column','id':'FORMAT_REGULAR_COLUMN'});case'FORMAT_HEADER_ROW':return t({'string':'header\x20row','id':'FORMAT_HEADER_ROW'});case'FORMAT_REGULAR_ROW':return t({'string':'regular\x20row','id':'FORMAT_REGULAR_ROW'});case'PENDING_ACTION_SUGGESTION':return t({'string':'Unsaved\x20change\x20in\x20suggestion.','id':'PENDING_ACTION_SUGGESTION'});case'ELEMENT_TABLE_WITH_TEXT':return t({'string':'table\x20*with\x20text*\x20%0','id':'ELEMENT_TABLE_WITH_TEXT'},_0x4cacb2);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x4cacb2);case'ELEMENT_TABLE_ROW_WITH_TEXT':return t({'string':'table\x20row\x20*with\x20text*\x20%1','plural':'%0\x20table\x20rows\x20*with\x20text*\x20%1','id':'ELEMENT_TABLE_ROW_WITH_TEXT'},_0x4cacb2);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x4cacb2);case'ELEMENT_TABLE_COLUMN_WITH_TEXT':return t({'string':'table\x20column\x20*with\x20text*\x20%1','plural':'%0\x20table\x20columns\x20*with\x20text*\x20%1','id':'ELEMENT_TABLE_COLUMN_WITH_TEXT'},_0x4cacb2);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x4cacb2);case'ELEMENT_TITLE':return t({'id':'ELEMENT_TITLE','string':'title'});}}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2016 - 2022, 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 _0x5068=['schema','createRange','createPositionAfter','length','createPositionAt','createPositionBefore','isTouching','end','push','isObject'];(function(_0x4513f3,_0x5068b9){const _0x1eb1d9=function(_0x3cfdd6){while(--_0x3cfdd6){_0x4513f3['push'](_0x4513f3['shift']());}};_0x1eb1d9(++_0x5068b9);}(_0x5068,0x186));const _0x1eb1=function(_0x4513f3,_0x5068b9){_0x4513f3=_0x4513f3-0x0;let _0x1eb1d9=_0x5068[_0x4513f3];return _0x1eb1d9;};export function getRangesOfBlockGroups(_0x4020cd,_0x4daafb){let _0x4b8ede,_0x476505=0x0;const _0x1189e7=[],_0x17cf6a=_0x4daafb[_0x1eb1('0x0')];for(;_0x476505<_0x4020cd[_0x1eb1('0x3')];){const _0x5df403=_0x4020cd[_0x476505],_0x27fac1=_0x4020cd[_0x476505+0x1];_0x4b8ede||(_0x4b8ede=_0x4daafb[_0x1eb1('0x5')](_0x5df403)),nn(_0x4daafb,_0x5df403,_0x27fac1)||(_0x1189e7[_0x1eb1('0x8')](_0x4daafb[_0x1eb1('0x1')](_0x4b8ede,_0x17cf6a[_0x1eb1('0x9')](_0x5df403)?_0x4daafb['createPositionAfter'](_0x5df403):_0x4daafb[_0x1eb1('0x4')](_0x5df403,_0x1eb1('0x7')))),_0x4b8ede=null),_0x476505++;}return _0x1189e7;}function nn(_0x58b27,_0x4d7ceb,_0x6bfeb2){if(!_0x6bfeb2)return!0x1;const _0x191e2f=_0x58b27[_0x1eb1('0x2')](_0x4d7ceb),_0x583540=_0x58b27[_0x1eb1('0x5')](_0x6bfeb2);return _0x191e2f[_0x1eb1('0x6')](_0x583540);}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1eb5=['from','isCollapsed','isIntersecting','start','isTouching','getMarkers','getRange','add','isMultiRange'];(function(_0x263f93,_0x1eb5fa){const _0x35098f=function(_0x3e6a1b){while(--_0x3e6a1b){_0x263f93['push'](_0x263f93['shift']());}};_0x35098f(++_0x1eb5fa);}(_0x1eb5,0x104));const _0x3509=function(_0x263f93,_0x1eb5fa){_0x263f93=_0x263f93-0x0;let _0x35098f=_0x1eb5[_0x263f93];return _0x35098f;};export default function jt(_0x4644fa,_0x40e1ce){const _0x13f02b=Array[_0x3509('0x1')](_0x4644fa['getRanges']()),_0x598b87=new Set();for(const _0x23911f of _0x40e1ce)if(_0x23911f['isInContent'])for(const _0x1f08b5 of _0x13f02b)for(const _0x22d2ee of _0x23911f[_0x3509('0x6')]()){const _0x1c32dd=_0x22d2ee[_0x3509('0x7')]();(_0x1f08b5[_0x3509('0x3')](_0x1c32dd)||_0x4644fa[_0x3509('0x2')]&&!_0x23911f[_0x3509('0x0')]&&_0x23911f['next']&&_0x1c32dd['end'][_0x3509('0x5')](_0x1f08b5[_0x3509('0x4')]))&&_0x598b87[_0x3509('0x8')](_0x23911f);}return _0x598b87;}
|
package/src/utils/hashobject.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2e70=['number','isArray','charCodeAt','object','toString','string','keys','boolean'];(function(_0x57a13f,_0x2e7098){const _0x19dcd4=function(_0x1d98f3){while(--_0x1d98f3){_0x57a13f['push'](_0x57a13f['shift']());}};_0x19dcd4(++_0x2e7098);}(_0x2e70,0x1d4));const _0x19dc=function(_0x57a13f,_0x2e7098){_0x57a13f=_0x57a13f-0x0;let _0x19dcd4=_0x2e70[_0x57a13f];return _0x19dcd4;};export default function pt(_0x5d4c57){let _0x38d98d=0x0,_0x3047fb=0x0;for(const _0x326b1a of oe(_0x5d4c57))_0x38d98d=(_0x38d98d<<0x5)-_0x38d98d+_0x326b1a,_0x38d98d&=_0x38d98d,[_0x38d98d,_0x3047fb]=[_0x3047fb,_0x38d98d];return ie(_0x38d98d)+ie(_0x3047fb);}function*ee(_0x49e213){_0x49e213?_0x19dc('0x3')==typeof _0x49e213?yield 0x1:Array[_0x19dc('0x5')](_0x49e213)?yield*function*(_0x3c9f22){for(const _0x1f5b04 of _0x3c9f22)yield*ee(_0x1f5b04);}(_0x49e213):_0x19dc('0x7')==typeof _0x49e213?yield*oe(_0x49e213):_0x19dc('0x1')==typeof _0x49e213?yield*te(_0x49e213):_0x19dc('0x4')==typeof _0x49e213&&(yield _0x49e213):yield 0x0;}function*oe(_0x49df6d){if(yield ne('{'),_0x49df6d){const _0x2c6721=Object[_0x19dc('0x2')](_0x49df6d)['sort']();for(const _0x4fe508 of _0x2c6721){yield*te(_0x4fe508),yield ne(':');const _0x3eb750=_0x49df6d[_0x4fe508];yield*ee(_0x3eb750);}}yield ne('}');}function*te(_0x1186c0){yield ne('\x22');for(const _0x1c39c8 of _0x1186c0)yield ne(_0x1c39c8);yield ne('\x22');}function ne(_0x43c710){return _0x43c710[_0x19dc('0x6')](0x0);}function ie(_0x1901fd){return(_0x1901fd*=Math['sign'](_0x1901fd))[_0x19dc('0x0')](0x24);}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x42e7=['content','map','type','value','color','isArray','\x20[color\x20'];(function(_0x130e76,_0x42e7b3){const _0x54e681=function(_0x164d22){while(--_0x164d22){_0x130e76['push'](_0x130e76['shift']());}};_0x54e681(++_0x42e7b3);}(_0x42e7,0xb4));const _0x54e6=function(_0x130e76,_0x42e7b3){_0x130e76=_0x130e76-0x0;let _0x54e681=_0x42e7[_0x130e76];return _0x54e681;};export function normalizeDescription(_0x36ecbb){return Array[_0x54e6('0x0')](_0x36ecbb)||(_0x36ecbb=[_0x36ecbb]),_0x36ecbb[_0x54e6('0x3')](_0x273099=>{const _0xd71049=_0x273099[_0x54e6('0x2')]['replace'](/\*/g,''),_0x2e6fb3=_0x273099[_0x54e6('0x6')]?_0x54e6('0x1')+_0x273099['color'][_0x54e6('0x5')]+']':'';return'['+_0x273099[_0x54e6('0x4')]+']\x20'+_0xd71049+_0x2e6fb3;})['join'](';\x20');}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x9304=['type','sort','deletion'];(function(_0x1f83e2,_0x93042f){var _0x4fa165=function(_0x3d1fa2){while(--_0x3d1fa2){_0x1f83e2['push'](_0x1f83e2['shift']());}};_0x4fa165(++_0x93042f);}(_0x9304,0xe8));var _0x4fa1=function(_0x1f83e2,_0x93042f){_0x1f83e2=_0x1f83e2-0x0;var _0x4fa165=_0x9304[_0x1f83e2];return _0x4fa165;};export default function ts(_0x4df677){return _0x4df677[_0x4fa1('0x0')]((_0xfd5a60,_0x4e6e4c)=>'deletion'==_0xfd5a60[_0x4fa1('0x2')]&&_0x4fa1('0x1')!=_0x4e6e4c[_0x4fa1('0x2')]?-0x1:_0x4fa1('0x1')!=_0xfd5a60['type']&&'deletion'==_0x4e6e4c[_0x4fa1('0x2')]?0x1:0x0);}
|