@ckeditor/ckeditor5-list-multi-level 48.0.1-alpha.0 → 48.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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +8 -8
package/dist/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Command as _0x4e334a,Plugin as _0x6e182e}from'@ckeditor/ckeditor5-core/dist/index.js';import{Matcher as _0x1e2309,ViewUpcastWriter as _0x23b83e}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ListEditing as _0x292630}from'@ckeditor/ckeditor5-list/dist/index.js';import{first as _0x580525,createElement as _0x12c5a3,uid as _0x53b104,FocusTracker as _0x2da260,KeystrokeHandler as _0x453e86,global as _0x4c3ee7}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconMultiLevelList as _0xb6e56c}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0xe1401c,ViewCollection as _0x519260,FocusCycler as _0x5ca61d,addKeyboardHandlingForGrid as _0x4d003c,CollapsibleView as _0x5464be,LabeledFieldView as _0x150680,createLabeledInputNumber as _0x127784,MenuBarMenuListItemButtonView as _0x162247,ButtonView as _0x58d2a3,createDropdown as _0x50f4ba,SplitButtonView as _0x2af656}from'@ckeditor/ckeditor5-ui/dist/index.js';class x extends _0x4e334a{['defaultListMarkerStyle'];['_listDefinitions'];['_listUtils'];constructor(_0x48032d,_0x1b3d51,_0x2e011f){super(_0x48032d),this['defaultListMarkerStyle']=_0x1b3d51,this['_listDefinitions']=_0x2e011f,this['_listUtils']=this['editor']['plugins']['get']('ListUtils');}['refresh'](){this['value']=this['_getValue'](),this['isEnabled']=this['_checkEnabled']();}['execute'](_0x4f0b0e={}){const _0x2db61c=this['editor']['model'],_0x59b958=_0x4f0b0e['listMarkerStyle']||this['defaultListMarkerStyle'];_0x2db61c['change'](()=>{const _0x4b6077=this['_getListTypeFromListMarkerStyle'](_0x59b958);if(!_0x4b6077)return;const _0x7450b8=_0x4b6077+'List';this['editor']['execute'](_0x7450b8,{'additionalAttributes':{'listMarkerStyle':_0x59b958}});});}['_getValue'](){const _0x36e0c7=_0x580525(this['editor']['model']['document']['selection']['getSelectedBlocks']());return this['_listUtils']['isListItemBlock'](_0x36e0c7)?_0x36e0c7['getAttribute']('listMarkerStyle'):null;}['_checkEnabled'](){const _0x1560c6=this['editor'],_0x507028=_0x1560c6['commands']['get']('customNumberedList'),_0x589e3e=_0x1560c6['commands']['get']('customBulletedList');return _0x507028['isEnabled']||_0x589e3e['isEnabled'];}['_getListTypeFromListMarkerStyle'](_0x20eee5){const _0x46e805=this['_listDefinitions']['find'](_0x3404fd=>_0x3404fd['listMarkerStyle']==_0x20eee5);return _0x46e805?_0x46e805['listType']:null;}}class I extends _0x6e182e{['_listDefinitions'];static get['pluginName'](){return'MultiLevelListEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x292630];}constructor(_0x4e366f){super(_0x4e366f);const _0x4cfcfb=this['editor']['config']['get']('listMultiLevel.listDefinitions')||[];this['_listDefinitions']=[{'listType':'customNumbered','listMarkerStyle':'legal','className':'legal-list','listMarkers':[{'marker':_0x331cd3=>_0x331cd3+'.'}]},..._0x4cfcfb];}['init'](){const _0x1349b4=this['editor'],_0x2b20f8=_0x1349b4['model'],_0x24e28e=_0x1349b4['editing']['view'],_0x557c6e=_0x1349b4['plugins']['get'](_0x292630);_0x1349b4['commands']['add']('multiLevelList',new x(_0x1349b4,'legal',this['_listDefinitions'])),_0x2b20f8['schema']['extend']('$listItem',{'allowAttributes':['listMarkerStyle','listMarker']}),_0x2b20f8['schema']['addAttributeCheck']((_0x148352,_0x180264)=>{const _0x2af81d=_0x148352['last'];if('listMarker'==_0x180264||'listMarkerStyle'==_0x180264)return!(!_0x2af81d['getAttribute']('listItemId')||!this['_listDefinitions']['find'](_0x4f2ff0=>_0x4f2ff0['listType']==_0x2af81d['getAttribute']('listType')))&&void 0x0;});for(const _0x3248c3 of this['_listDefinitions'])_0x1349b4['conversion']['for']('upcast')['add'](_0x1125ca=>{_0x1125ca['on']('element:'+('customNumbered'==_0x3248c3['listType']?'ol':'ul'),_(_0x3248c3,_0x2b20f8['schema']),{'priority':'low'});}),_0x557c6e['registerDowncastStrategy']({'scope':'list','attributeName':'listMarkerStyle','setAttributeOnDowncast'(_0x36600c,_0xc0685b,_0x2896e2){_0xc0685b==_0x3248c3['listMarkerStyle']?(_0x36600c['addClass'](['multi-level-list',_0x3248c3['className']],_0x2896e2),_0x36600c['setStyle']('list-style-type','none',_0x2896e2)):(_0x36600c['removeClass'](['multi-level-list',_0x3248c3['className']],_0x2896e2),_0x36600c['removeStyle']('list-style-type',_0x2896e2));}}),_0x557c6e['registerDowncastStrategy']({'scope':'itemMarker','attributeName':'listMarker','createElement'(_0x368fd4,_0x5c875a,{dataPipeline:_0x287105}){if(!_0x5c875a['hasAttribute']('listMarker'))return null;if(_0x5c875a['getAttribute']('listType')!=_0x3248c3['listType']||_0x5c875a['getAttribute']('listMarkerStyle')!=_0x3248c3['listMarkerStyle'])return null;const _0x439f40=String(_0x5c875a['getAttribute']('listMarker')),_0x3da675=this['canInjectMarkerIntoElement'](_0x5c875a);return _0x368fd4['createUIElement']('span',{'class':'multi-level-list__marker',...!_0x287105&&{'contenteditable':'false','data-multi-level-list-marker':_0x439f40}},function(_0x5dd5e3){const _0x28714c=this['toDomElement'](_0x5dd5e3);return _0x3da675?(_0x28714c['appendChild'](_0x12c5a3(_0x5dd5e3,'span',{},_0x287105?_0x5dd5e3['createTextNode'](_0x439f40):[])),_0x28714c['appendChild'](_0x5dd5e3['createTextNode']('\u00a0'))):_0x287105&&_0x28714c['appendChild'](_0x5dd5e3['createTextNode'](_0x439f40)),_0x28714c;});},'canInjectMarkerIntoElement':_0x12cc0f=>_0x2b20f8['schema']['checkChild'](_0x12cc0f,'$text')&&_0x2b20f8['schema']['checkChild'](_0x12cc0f,'$inlineObject')&&!_0x2b20f8['schema']['isLimit'](_0x12cc0f)&&_0x12cc0f['getAttribute']('listType')==_0x3248c3['listType']&&_0x12cc0f['getAttribute']('listMarkerStyle')==_0x3248c3['listMarkerStyle']});_0x1349b4['conversion']['for']('upcast')['add'](_0x56fbc2=>{_0x56fbc2['on']('element:span',function(_0x37a0c8){return(_0x2ec238,_0x2f3ff3,{writer:_0x56dcce,consumable:_0x289289})=>{const _0x414141=_0x2f3ff3['modelCursor'],_0x32a3b6=_0x414141['parent'],_0x424275=_0x2f3ff3['viewItem'];if(_0x289289['consume'](_0x424275,{'name':!0x0,'classes':'multi-level-list__marker'})&&_0x414141['isAtStart']&&_0x32a3b6['hasAttribute']('listType')&&_0x424275['childCount']>0x0){const _0x471065=_0x37a0c8['createRangeIn'](_0x424275);let _0x49126c='';for(const _0x5b54ba of _0x471065['getItems']())_0x5b54ba['is']('$textProxy')?(_0x49126c+=_0x5b54ba['data']['trim'](),_0x289289['consume'](_0x5b54ba['textNode'])):_0x289289['consume'](_0x5b54ba,{'name':!0x0});_0x56dcce['setAttribute']('listMarker',_0x49126c['trim'](),_0x32a3b6);}};}(_0x24e28e));}),_0x557c6e['on']('postFixer',(_0x3e4bc8,{listNodes:_0x159680,writer:_0x507053})=>{const _0x483472=[];for(const {node:_0xe4179d,previousNodeInList:_0x1935e1}of _0x159680){const _0x58a52f=_0xe4179d['getAttribute']('listType'),_0x194293=_0xe4179d['getAttribute']('listMarkerStyle')||('customNumbered'==_0x58a52f?'legal':void 0x0),_0x30e140=this['_listDefinitions']['find'](_0x416cfd=>_0x416cfd['listType']==_0x58a52f&&_0x416cfd['listMarkerStyle']==_0x194293);if('customNumbered'!=_0x58a52f&&'customBulleted'!=_0x58a52f&&(_0xe4179d['hasAttribute']('listMarker')&&(_0x507053['removeAttribute']('listMarker',_0xe4179d),_0x3e4bc8['return']=!0x0),_0xe4179d['hasAttribute']('listMarkerStyle')&&(_0x507053['removeAttribute']('listMarkerStyle',_0xe4179d),_0x3e4bc8['return']=!0x0)),!_0x30e140){'customBulleted'!=_0x58a52f||_0x194293||(_0x507053['setAttribute']('listType','bulleted',_0xe4179d),_0x3e4bc8['return']=!0x0);continue;}_0xe4179d['hasAttribute']('listMarkerStyle')||(_0x507053['setAttribute']('listMarkerStyle',_0x194293,_0xe4179d),_0x3e4bc8['return']=!0x0);const _0x52e028=_0xe4179d['getAttribute']('listIndent');if(_0x1935e1&&_0x1935e1['getAttribute']('listItemId')==_0xe4179d['getAttribute']('listItemId'))continue;_0x483472['length']=_0x52e028+0x1,_0x1935e1||_0x483472[_0x52e028]?_0x1935e1&&_0x1935e1['getAttribute']('listType')!=_0x30e140['listType']?_0x483472[_0x52e028]=0x1:_0x483472[_0x52e028]++:_0x483472[_0x52e028]=_0xe4179d['getAttribute']('listStart')||0x1;const _0x399526=S(_0x52e028,_0x30e140,_0x483472);_0xe4179d['getAttribute']('listMarker')!=_0x399526&&(_0x507053['setAttribute']('listMarker',_0x399526,_0xe4179d),_0x3e4bc8['return']=!0x0);}});const _0x5deb6d=_0x1349b4['editing']['view']['document'];this['listenTo'](_0x5deb6d,'clipboardOutput',(_0x1270de,_0x24beed)=>{const _0x33eb8c=new _0x1e2309({'name':'span','classes':'multi-level-list__marker'}),_0x29cac3=new _0x1e2309({'name':'ol','classes':'multi-level-list','styles':{'list-style-type':'none'}}),_0x3eb77c=new _0x23b83e(_0x24beed['content']['document']),_0x2de4f6=[];for(const _0x14048e of _0x3eb77c['createRangeIn'](_0x24beed['content'])['getItems']())_0x14048e['is']('element')&&_0x33eb8c['match'](_0x14048e)&&_0x2de4f6['push'](_0x14048e),_0x14048e['is']('element')&&_0x29cac3['match'](_0x14048e)&&_0x3eb77c['removeStyle']('list-style-type',_0x14048e);for(const _0x14b3f7 of _0x2de4f6)_0x3eb77c['remove'](_0x14b3f7);});}['afterInit'](){!async function(_0x1f00c0){const _0x20ec29=_0x1f2ee2([0x75,0x6e,0x30,0x4e,0x46,0x51,0x55,0x6f,0x58,0x31,0x65,0x76,0x7a,0x6b,0x33,0x79,0x4d,0x45,0x66,0x77,0x6c,0x37,0x54,0x78,0x62,0x44,0x72,0x69,0x73,0x4f,0x5a,0x61,0x57,0x74,0x4b,0x71,0x35,0x32,0x50,0x39,0x38,0x64,0x63,0x68,0x42,0x56,0x70,0x6a,0x53,0x34,0x6d,0x59,0x4c,0x43,0x36,0x67,0x4a,0x49,0x48,0x47,0x52,0x41]),_0x240f93=0xf46a94a,_0x113148=0xf412eaa^_0x240f93,_0x42e3bc=window[_0x1f2ee2([0x44,0x61,0x74,0x65])][_0x1f2ee2([0x6e,0x6f,0x77])](),_0x529108=_0x1f00c0[_0x1f2ee2([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3f84e6=new window[(_0x1f2ee2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xb9c421=>{_0x529108[_0x1f2ee2([0x6f,0x6e,0x63,0x65])](_0x1f2ee2([0x72,0x65,0x61,0x64,0x79]),_0xb9c421);}),_0x4ac49f={[_0x1f2ee2([0x6b,0x74,0x79])]:_0x1f2ee2([0x45,0x43]),[_0x1f2ee2([0x75,0x73,0x65])]:_0x1f2ee2([0x73,0x69,0x67]),[_0x1f2ee2([0x63,0x72,0x76])]:_0x1f2ee2([0x50,0x2d,0x32,0x35,0x36]),[_0x1f2ee2([0x78])]:_0x1f2ee2([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x1f2ee2([0x79])]:_0x1f2ee2([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x1f2ee2([0x61,0x6c,0x67])]:_0x1f2ee2([0x45,0x53,0x32,0x35,0x36])},_0x18b416=_0x529108[_0x1f2ee2([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1f2ee2([0x67,0x65,0x74])](_0x1f2ee2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3953ff(){let _0x170ef0,_0x27f77d=null,_0x50836a=null;try{if(_0x18b416==_0x1f2ee2([0x47,0x50,0x4c]))return _0x1f2ee2([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x170ef0=_0x30a163(),!_0x170ef0)return _0x1f2ee2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x170ef0[_0x1f2ee2([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x50836a=_0x4f43b4(_0x170ef0[_0x1f2ee2([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x170ef0[_0x1f2ee2([0x6a,0x74,0x69])])),await _0x598ed1()?_0x1d8aed()?_0x527b12()?_0x1f2ee2([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xd2af63()?(_0x170ef0[_0x1f2ee2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1f2ee2([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x27f77d=_0x31f050(_0x1f2ee2([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4f2484()):_0x1f2ee2([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1f2ee2([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1f2ee2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1f2ee2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x527b12(){const _0x36eff1=[_0x1f2ee2([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1f2ee2([0x74,0x72,0x69,0x61,0x6c])][_0x1f2ee2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x170ef0[_0x1f2ee2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x42e3bc/0x3e8:0xe10*_0x113148;return _0x170ef0[_0x1f2ee2([0x65,0x78,0x70])]<_0x36eff1;}function _0x1d8aed(){const _0x536f45=_0x170ef0[_0x1f2ee2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x536f45&&(!!_0x536f45[_0x1f2ee2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1f2ee2([0x2a]))||!!_0x536f45[_0x1f2ee2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1f2ee2([0x4d,0x4c,0x4c])));}function _0xd2af63(){const _0x35db09=_0x170ef0[_0x1f2ee2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x35db09||0x0==_0x35db09[_0x1f2ee2([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x41d07}=new URL(window[_0x1f2ee2([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x35db09[_0x1f2ee2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x41d07))return!0x0;const _0x475023=_0x41d07[_0x1f2ee2([0x73,0x70,0x6c,0x69,0x74])](_0x1f2ee2([0x2e]));return _0x35db09[_0x1f2ee2([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x48c67f=>_0x48c67f[_0x1f2ee2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1f2ee2([0x2a])))[_0x1f2ee2([0x6d,0x61,0x70])](_0x372de7=>_0x372de7[_0x1f2ee2([0x73,0x70,0x6c,0x69,0x74])](_0x1f2ee2([0x2e])))[_0x1f2ee2([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x565364=>_0x565364[_0x1f2ee2([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x475023[_0x1f2ee2([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1f2ee2([0x6d,0x61,0x70])](_0x25835e=>Array(_0x475023[_0x1f2ee2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x25835e[_0x1f2ee2([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1f2ee2([0x66,0x69,0x6c,0x6c])](_0x25835e[0x0]===_0x1f2ee2([0x2a])?_0x1f2ee2([0x2a]):'')[_0x1f2ee2([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x25835e))[_0x1f2ee2([0x73,0x6f,0x6d,0x65])](_0x12f9ff=>_0x475023[_0x1f2ee2([0x65,0x76,0x65,0x72,0x79])]((_0x17989d,_0x2739ea)=>_0x12f9ff[_0x2739ea]===_0x17989d||_0x12f9ff[_0x2739ea]===_0x1f2ee2([0x2a])));}function _0x4f2484(){return _0x27f77d&&_0x50836a?new window[(_0x1f2ee2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x9d7bbe,_0x39b95f)=>{_0x27f77d[_0x1f2ee2([0x74,0x68,0x65,0x6e])](_0x9d7bbe,_0x39b95f),_0x50836a[_0x1f2ee2([0x74,0x68,0x65,0x6e])](_0x1cb672=>{_0x1cb672!=_0x1f2ee2([0x56,0x61,0x6c,0x69,0x64])&&_0x9d7bbe(_0x1cb672);},_0x39b95f);}):_0x27f77d||_0x50836a||_0x1f2ee2([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4f43b4(_0x5f2996,_0x526a33){return new window[(_0x1f2ee2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x850b19=>{if(_0x5c65e6())return _0x850b19(_0x1f2ee2([0x56,0x61,0x6c,0x69,0x64]));_0x4efcba(),_0x529108[_0x1f2ee2([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1f2ee2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x16ff34=!0x1;const _0x59d25a=_0x53b104();function _0x13a8b9(_0x4d5d72){return!!_0x4d5d72&&(typeof _0x4d5d72===_0x1f2ee2([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4d5d72===_0x1f2ee2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4d5d72[_0x1f2ee2([0x74,0x68,0x65,0x6e])]===_0x1f2ee2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4d5d72[_0x1f2ee2([0x63,0x61,0x74,0x63,0x68])]===_0x1f2ee2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2cabb6(_0x1fffff){_0x589ee8(_0x1fffff)[_0x1f2ee2([0x74,0x68,0x65,0x6e])](_0x136012=>{if(!_0x136012||_0x136012[_0x1f2ee2([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1f2ee2([0x6f,0x6b]))return _0x1f2ee2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x16727e(_0x3fdb5d(_0x59d25a+_0x526a33))!=_0x136012[_0x1f2ee2([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1f2ee2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1f2ee2([0x56,0x61,0x6c,0x69,0x64]);})[_0x1f2ee2([0x74,0x68,0x65,0x6e])](_0x5687ec=>(_0x1893f1(),_0x5687ec),()=>{const _0x2b9772=_0x5ec939();return null==_0x2b9772?(_0x1893f1(),_0x1f2ee2([0x56,0x61,0x6c,0x69,0x64])):_0x1f2ee2(_0x42e3bc-_0x2b9772>(0x2b4a2d4a^_0x240f93)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1f2ee2([0x74,0x68,0x65,0x6e])](_0x850b19)[_0x1f2ee2([0x63,0x61,0x74,0x63,0x68])](()=>{_0x850b19(_0x1f2ee2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x16ddd5=0xf7047ca^_0x240f93;function _0x1893f1(){const _0x10d60e=_0x1f2ee2([0x6c,0x6c,0x63,0x74,0x2d])+_0x16727e(_0x3fdb5d(_0x5f2996)),_0x13b978=_0x38cabf(_0x16727e(window[_0x1f2ee2([0x4d,0x61,0x74,0x68])][_0x1f2ee2([0x63,0x65,0x69,0x6c])](_0x42e3bc/_0x16ddd5)));window[_0x1f2ee2([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1f2ee2([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x10d60e,_0x13b978);}function _0x5ec939(){const _0x504e4d=_0x1f2ee2([0x6c,0x6c,0x63,0x74,0x2d])+_0x16727e(_0x3fdb5d(_0x5f2996)),_0x12a72d=window[_0x1f2ee2([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1f2ee2([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x504e4d);return _0x12a72d?window[_0x1f2ee2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x38cabf(_0x12a72d),0x10)*_0x16ddd5:null;}function _0x589ee8(_0xe60edb){return new window[(_0x1f2ee2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x182223,_0x128f50)=>{_0xe60edb[_0x1f2ee2([0x74,0x68,0x65,0x6e])](_0x182223,_0x128f50),window[_0x1f2ee2([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x128f50,0xf477d8a^_0x240f93);});}}_0x529108[_0x1f2ee2([0x6f,0x6e])](_0x1f2ee2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x37f118,_0x337daf)=>{if(_0x337daf[0x0]!=_0x5f2996)return _0x850b19(_0x1f2ee2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x337daf[0x1]={..._0x337daf[0x1],[_0x1f2ee2([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x59d25a};},{[_0x1f2ee2([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1f2ee2([0x68,0x69,0x67,0x68])}),_0x529108[_0x1f2ee2([0x6f,0x6e])](_0x1f2ee2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x585c7c=>{_0x13a8b9(_0x585c7c[_0x1f2ee2([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x16ff34=!0x0,_0x2cabb6(_0x585c7c[_0x1f2ee2([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1f2ee2([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1f2ee2([0x6c,0x6f,0x77])}),_0x3f84e6[_0x1f2ee2([0x74,0x68,0x65,0x6e])](()=>{_0x16ff34||_0x850b19(_0x1f2ee2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5c65e6(){return _0x529108[_0x1f2ee2([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1f2ee2([0x76,0x69,0x65,0x77])][_0x1f2ee2([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1f2ee2([0x61,0x75,0x74,0x6f]);}function _0x4efcba(){_0x529108[_0x1f2ee2([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1f2ee2([0x76,0x69,0x65,0x77])][_0x1f2ee2([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1f2ee2([0x61,0x75,0x74,0x6f]);}}function _0x31f050(_0x2d1b9e){const _0x44ac16=[new window[(_0x1f2ee2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5ec8a8=>setTimeout(_0x5ec8a8,0xf4f9786^_0x240f93)),_0x3f84e6[_0x1f2ee2([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1f2ee2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x307dc0=>{let _0x3c791b=0x0;_0x529108[_0x1f2ee2([0x6d,0x6f,0x64,0x65,0x6c])][_0x1f2ee2([0x6f,0x6e])](_0x1f2ee2([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x18da72,_0x1318ba)=>{_0x1318ba[0x0][_0x1f2ee2([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3c791b++,_0x3c791b==(0xf46aca2^_0x240f93)&&(_0x307dc0(),_0x18da72[_0x1f2ee2([0x6f,0x66,0x66])]());});}))];return window[_0x1f2ee2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1f2ee2([0x72,0x61,0x63,0x65])](_0x44ac16)[_0x1f2ee2([0x74,0x68,0x65,0x6e])](()=>_0x2d1b9e);}async function _0x5ca600(){await _0x3f84e6,_0x529108[_0x1f2ee2([0x6d,0x6f,0x64,0x65,0x6c])][_0x1f2ee2([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5c6660,_0x529108[_0x1f2ee2([0x6d,0x6f,0x64,0x65,0x6c])][_0x1f2ee2([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5c6660,_0x529108[_0x1f2ee2([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1f2ee2([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5de4ac(_0x5d1117){const _0x6787ab=_0xd06d7a();_0x529108[_0x6787ab]=_0x1f2ee2([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5d1117,_0x5d1117!=_0x1f2ee2([0x56,0x61,0x6c,0x69,0x64])&&_0x5ca600();}function _0xd06d7a(){const _0x4336f9=window[_0x1f2ee2([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1f2ee2([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1f2ee2([0x6e,0x6f,0x77])]())[_0x1f2ee2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1f2ee2([0x2e]),'');let _0x4b0011=_0x1f2ee2([0x75]);for(let _0x74d6da=0x0;_0x74d6da<_0x4336f9[_0x1f2ee2([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x74d6da+=0x2){let _0x371afc=window[_0x1f2ee2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4336f9[_0x1f2ee2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x74d6da,_0x74d6da+0x2));_0x371afc>=_0x20ec29[_0x1f2ee2([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x371afc-=_0x20ec29[_0x1f2ee2([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4b0011+=_0x20ec29[_0x371afc];}return _0x4b0011;}function _0x30a163(){const _0x31d6bc=_0x18b416[_0x1f2ee2([0x73,0x70,0x6c,0x69,0x74])](_0x1f2ee2([0x2e]));if(0x3!=_0x31d6bc[_0x1f2ee2([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xa487ef(_0x31d6bc[0x1]);function _0xa487ef(_0xdaeb00){const _0x3fab41=_0x590f4a(_0xdaeb00);return _0x3fab41&&_0x5bee6e()?_0x3fab41:null;function _0x5bee6e(){const _0x40c26f=_0x3fab41[_0x1f2ee2([0x6a,0x74,0x69])],_0x3519ce=window[_0x1f2ee2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x40c26f[_0x1f2ee2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x40c26f[_0x1f2ee2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4f724b={..._0x3fab41,[_0x1f2ee2([0x6a,0x74,0x69])]:_0x40c26f[_0x1f2ee2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x40c26f[_0x1f2ee2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4f724b[_0x1f2ee2([0x76,0x63])],_0x3fdb5d(_0x4f724b)==_0x3519ce;}}}async function _0x598ed1(){let _0x559970=!0x0;try{const _0x5c9a38=_0x18b416[_0x1f2ee2([0x73,0x70,0x6c,0x69,0x74])](_0x1f2ee2([0x2e])),[_0x22a54b,_0x26e335,_0x35fd32]=_0x5c9a38;return _0x3d6d7b(_0x22a54b),await _0x316d50(_0x22a54b,_0x26e335,_0x35fd32),_0x559970;}catch{return!0x1;}function _0x3d6d7b(_0x414467){const _0x5aca3e=_0x590f4a(_0x414467);_0x5aca3e&&_0x5aca3e[_0x1f2ee2([0x61,0x6c,0x67])]==_0x1f2ee2([0x45,0x53,0x32,0x35,0x36])||(_0x559970=!0x1);}async function _0x316d50(_0x2a94ab,_0x3f2fa3,_0xc0c7){const _0x535ed2=window[_0x1f2ee2([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1f2ee2([0x66,0x72,0x6f,0x6d])](_0x35b416(_0xc0c7),_0x212344=>_0x212344[_0x1f2ee2([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4324b5=new window[(_0x1f2ee2([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1f2ee2([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2a94ab+_0x1f2ee2([0x2e])+_0x3f2fa3),_0x3d94c3=window[_0x1f2ee2([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1f2ee2([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3d94c3)return;const _0x5e5ba9=await _0x3d94c3[_0x1f2ee2([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1f2ee2([0x6a,0x77,0x6b]),_0x4ac49f,{[_0x1f2ee2([0x6e,0x61,0x6d,0x65])]:_0x1f2ee2([0x45,0x43,0x44,0x53,0x41]),[_0x1f2ee2([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1f2ee2([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1f2ee2([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3d94c3[_0x1f2ee2([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1f2ee2([0x6e,0x61,0x6d,0x65])]:_0x1f2ee2([0x45,0x43,0x44,0x53,0x41]),[_0x1f2ee2([0x68,0x61,0x73,0x68])]:{[_0x1f2ee2([0x6e,0x61,0x6d,0x65])]:_0x1f2ee2([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5e5ba9,_0x535ed2,_0x4324b5)||(_0x559970=!0x1);}}function _0x590f4a(_0x1b7404){return _0x1b7404[_0x1f2ee2([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1f2ee2([0x65,0x79]))?JSON[_0x1f2ee2([0x70,0x61,0x72,0x73,0x65])](_0x35b416(_0x1b7404)):null;}function _0x35b416(_0x59a5a0){return window[_0x1f2ee2([0x61,0x74,0x6f,0x62])](_0x59a5a0[_0x1f2ee2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1f2ee2([0x2b]))[_0x1f2ee2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1f2ee2([0x2f])));}function _0x3fdb5d(_0xf931e4){let _0x5cdb6c=0x1505;function _0x1af7a3(_0x34a6d9){for(let _0x8392b6=0x0;_0x8392b6<_0x34a6d9[_0x1f2ee2([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x8392b6++){const _0x1d4f26=_0x34a6d9[_0x1f2ee2([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x8392b6);_0x5cdb6c=(_0x5cdb6c<<0x5)+_0x5cdb6c+_0x1d4f26,_0x5cdb6c&=_0x5cdb6c;}}function _0x5ae6f9(_0xe9f733){Array[_0x1f2ee2([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xe9f733)?_0xe9f733[_0x1f2ee2([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5ae6f9):_0xe9f733&&typeof _0xe9f733==_0x1f2ee2([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1f2ee2([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xe9f733)[_0x1f2ee2([0x73,0x6f,0x72,0x74])]()[_0x1f2ee2([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xc8028b,_0x4e5d6f])=>{_0x1af7a3(_0xc8028b),_0x5ae6f9(_0x4e5d6f);}):_0x1af7a3(window[_0x1f2ee2([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xe9f733));}return _0x5ae6f9(_0xf931e4),_0x5cdb6c>>>0x0;}function _0x16727e(_0x2a096a){return _0x2a096a[_0x1f2ee2([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1f2ee2([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1f2ee2([0x30]));}function _0x38cabf(_0x2d1ca1){return _0x2d1ca1[_0x1f2ee2([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1f2ee2([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1f2ee2([0x6a,0x6f,0x69,0x6e])]('');}function _0x5c6660(){}function _0x1f2ee2(_0x53f7a0){return _0x53f7a0['map'](_0x1aeb8f=>String['fromCharCode'](_0x1aeb8f))['join']('');}_0x5de4ac(await _0x3953ff());}(this);}}function S(_0x52f39f,_0x448ac9,_0x3d8621){let _0x31ce1f=_0x448ac9['listMarkers'][_0x52f39f%_0x448ac9['listMarkers']['length']];if(void 0x0===_0x31ce1f['showMarkerPath']||_0x31ce1f['showMarkerPath'])return _0x3d8621['slice'](0x0,_0x52f39f+0x1)['map']((_0x5ee7ac,_0x15c5f5)=>(_0x31ce1f=_0x448ac9['listMarkers'][_0x15c5f5%_0x448ac9['listMarkers']['length']],N(_0x31ce1f['marker'],_0x5ee7ac)))['join']('');{const _0x46b469=_0x3d8621[_0x3d8621['length']-0x1];return N(_0x31ce1f['marker'],_0x46b469);}}function N(_0x17e7c4,_0x2372ca){return'function'==typeof _0x17e7c4?_0x17e7c4(_0x2372ca):_0x17e7c4;}function _(_0x4e1b65,_0x53bae1){return(_0x120b65,_0x20725b,_0x41e375)=>{const _0x33b05e=_0x20725b['viewItem'];if(_0x20725b['modelRange']||Object['assign'](_0x20725b,_0x41e375['convertChildren'](_0x20725b['viewItem'],_0x20725b['modelCursor'])),!_0x41e375['consumable']['test'](_0x33b05e,{'classes':_0x4e1b65['className']}))return;const _0x281d5c=Array['from'](_0x20725b['modelRange']['getItems']({'shallow':!0x0}))['filter'](_0x13f094=>_0x53bae1['checkAttribute'](_0x13f094,'listItemId'));if(!_0x281d5c['length'])return;_0x41e375['consumable']['consume'](_0x33b05e,{'classes':_0x4e1b65['className']}),_0x41e375['consumable']['consume'](_0x33b05e,{'classes':'multi-level-list'}),_0x41e375['consumable']['consume'](_0x33b05e,{'styles':'list-style-type'});const _0x271982=_0x281d5c[0x0]['getAttribute']('listIndent');for(const _0x32c488 of _0x281d5c)_0x32c488['getAttribute']('listIndent')==_0x271982&&(_0x41e375['writer']['setAttribute']('listType',_0x4e1b65['listType'],_0x32c488),_0x41e375['writer']['setAttribute']('listMarkerStyle',_0x4e1b65['listMarkerStyle'],_0x32c488));};}function P(_0x1ac674,_0x215ea0){const _0x24ecd7=_0x1ac674['t'],t=_0x1ac674['t'];switch(_0x215ea0){case'Start\x20at':return _0x24ecd7('Start\x20at');case'Start\x20index\x20must\x20be\x20greater\x20than\x200.':return _0x24ecd7('Start\x20index\x20must\x20be\x20greater\x20than\x200.');case'Invalid\x20start\x20index\x20value.':return _0x24ecd7('Invalid\x20start\x20index\x20value.');case'List\x20properties':return _0x24ecd7('List\x20properties');case'Multi-level\x20List':return t('Multi-level\x20List');case'Multi-level\x20list\x20styles\x20toolbar':return t('Multi-level\x20list\x20styles\x20toolbar');default:return _0x215ea0;}}class K extends _0xe1401c{['children'];['stylesView']=null;['additionalPropertiesCollapsibleView']=null;['startIndexFieldView']=null;['focusTracker']=new _0x2da260();['keystrokes']=new _0x453e86();['focusables']=new _0x519260();['focusCycler'];constructor(_0x5152a5,{enabledProperties:_0x3bf371,styleButtonViews:_0x28979a,styleGridAriaLabel:_0x3d5f19}){super(_0x5152a5);const _0x505ca3=['ck','ck-multi-level-list-properties'];this['children']=this['createCollection'](),this['focusCycler']=new _0x5ca61d({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),_0x3bf371['styles']?(this['stylesView']=this['_createStylesView'](_0x28979a,_0x3d5f19),this['children']['add'](this['stylesView'])):_0x505ca3['push']('ck-multi-level-list-properties_without-styles'),_0x3bf371['startIndex']&&(this['_addListPropertyViews'](_0x3bf371),_0x505ca3['push']('ck-multi-level-list-properties_with-multi-level-properties')),this['setTemplate']({'tag':'div','attributes':{'class':_0x505ca3},'children':this['children']});}['render'](){if(super['render'](),this['stylesView']){this['focusables']['add'](this['stylesView']),this['focusTracker']['add'](this['stylesView']['element']),this['startIndexFieldView']&&(this['focusables']['add'](this['children']['last']['buttonView']),this['focusTracker']['add'](this['children']['last']['buttonView']['element']));for(const _0x5ca484 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x5ca484['element']);_0x4d003c({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>_0x4c3ee7['window']['getComputedStyle'](this['stylesView']['element'])['getPropertyValue']('grid-template-columns')['split']('\x20')['length'],'uiLanguageDirection':this['locale']&&this['locale']['uiLanguageDirection']});}if(this['startIndexFieldView']){this['focusables']['add'](this['startIndexFieldView']),this['focusTracker']['add'](this['startIndexFieldView']['element']);const _0x2fc1fb=_0x3c1ab3=>_0x3c1ab3['stopPropagation']();this['keystrokes']['set']('arrowright',_0x2fc1fb),this['keystrokes']['set']('arrowleft',_0x2fc1fb),this['keystrokes']['set']('arrowup',_0x2fc1fb),this['keystrokes']['set']('arrowdown',_0x2fc1fb);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_createStylesView'](_0x515e82,_0x5d71d0){const _0x52889c=new _0xe1401c(this['locale']);return _0x52889c['children']=_0x52889c['createCollection'](),_0x52889c['children']['addMany'](_0x515e82),_0x52889c['setTemplate']({'tag':'div','attributes':{'aria-label':_0x5d71d0,'class':['ck','ck-multi-level-list-styles']},'children':_0x52889c['children']}),_0x52889c['children']['delegate']('execute')['to'](this),_0x52889c['focus']=function(){this['children']['first']['focus']();},_0x52889c['focusTracker']=new _0x2da260(),_0x52889c['keystrokes']=new _0x453e86(),_0x52889c['render'](),_0x52889c['keystrokes']['listenTo'](_0x52889c['element']),_0x52889c;}['_addListPropertyViews'](_0x48ed91){const _0x39026e=[];_0x48ed91['startIndex']&&(this['startIndexFieldView']=this['_createStartIndexField'](),_0x39026e['push'](this['startIndexFieldView'])),_0x48ed91['styles']?(this['additionalPropertiesCollapsibleView']=new _0x5464be(this['locale'],_0x39026e),this['additionalPropertiesCollapsibleView']['set']({'label':P(this['locale'],'List\x20properties'),'isCollapsed':!0x0}),this['additionalPropertiesCollapsibleView']['buttonView']['bind']('isEnabled')['toMany'](_0x39026e,'isEnabled',(..._0x453efa)=>_0x453efa['some'](_0x2b259b=>_0x2b259b)),this['additionalPropertiesCollapsibleView']['buttonView']['on']('change:isEnabled',(_0x5cc193,_0x481871,_0x136871)=>{_0x136871||(this['additionalPropertiesCollapsibleView']['isCollapsed']=!0x0);}),this['children']['add'](this['additionalPropertiesCollapsibleView'])):this['children']['addMany'](_0x39026e);}['_createStartIndexField'](){const _0x10050d=new _0x150680(this['locale'],_0x127784);return _0x10050d['set']({'label':P(this['locale'],'Start\x20at'),'class':'ck-multi-level-list-properties__start-index'}),_0x10050d['fieldView']['set']({'min':0x0,'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x10050d['fieldView']['on']('input',()=>{const _0x56fa66=_0x10050d['fieldView']['element'],_0x544f51=_0x56fa66['valueAsNumber'];Number['isNaN'](_0x544f51)?_0x10050d['errorText']=P(this['locale'],'Invalid\x20start\x20index\x20value.'):_0x56fa66['checkValidity']()?this['fire']('listStart',{'startIndex':_0x544f51}):_0x10050d['errorText']=P(this['locale'],'Start\x20index\x20must\x20be\x20greater\x20than\x200.');}),_0x10050d;}}class T extends _0x6e182e{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'MultiLevelListUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x489ac6=this['editor'];_0x489ac6['ui']['componentFactory']['add']('multiLevelList',function({editor:_0x1d94cf,parentCommandName:_0x51bbdc,buttonLabel:_0x1f6ca9,buttonIcon:_0x3056a2,styleGridAriaLabel:_0x47101d,styleDefinitions:_0x32ae21}){const _0x334d6c=_0x1d94cf['commands']['get'](_0x51bbdc),_0x46f1dc=_0x1d94cf['config']['get']('list.properties')||{},_0x992212=_0x1d94cf['plugins']['has']('ListProperties'),_0x154838=_0x46f1dc['startIndex'];if(!_0x992212||!_0x154838)return _0x47b13e=>{const _0x527b2e=new _0x58d2a3(_0x47b13e);return _0x527b2e['set']({'label':_0x1f6ca9,'icon':_0x3056a2,'tooltip':!0x0,'isToggleable':!0x0}),_0x527b2e['bind']('isOn')['to'](_0x334d6c,'value',_0x36d564=>!!_0x36d564),_0x527b2e['on']('execute',()=>{_0x1d94cf['execute'](_0x51bbdc),_0x1d94cf['editing']['view']['focus']();}),_0x527b2e;};return _0x28f01c=>{const _0x26fdaa=_0x50f4ba(_0x28f01c,_0x2af656),_0x5cfa00=_0x26fdaa['buttonView'];return _0x26fdaa['bind']('isEnabled')['to'](_0x334d6c),_0x26fdaa['class']='ck-list-styles-dropdown',_0x5cfa00['on']('execute',()=>{_0x1d94cf['execute'](_0x51bbdc),_0x1d94cf['editing']['view']['focus']();}),_0x5cfa00['set']({'label':_0x1f6ca9,'icon':_0x3056a2,'tooltip':!0x0,'isToggleable':!0x0}),_0x5cfa00['bind']('isOn')['to'](_0x334d6c,'value',_0x561d7c=>!!_0x561d7c),_0x26fdaa['once']('change:isOpen',()=>{const _0x541663=function({editor:_0x392e64,dropdownView:_0x577aba,styleDefinitions:_0x299fd9,styleGridAriaLabel:_0x4db457}){const _0x2b9325=_0x392e64['locale'],_0x45df22=_0x392e64['config']['get']('list.properties'),_0x58a568=null;_0x45df22['reversed']=!0x1,_0x299fd9['length']||(_0x45df22['styles']=!0x1);const _0x50b412=new K(_0x2b9325,{'styleGridAriaLabel':_0x4db457,'enabledProperties':_0x45df22,'styleButtonViews':_0x58a568});if(_0x45df22['startIndex']){const _0x222e6a=_0x392e64['commands']['get']('listStart');_0x50b412['startIndexFieldView']['bind']('isEnabled')['to'](_0x222e6a),_0x50b412['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x222e6a),_0x50b412['on']('listStart',(_0x2353af,_0x379c09)=>_0x392e64['execute']('listStart',_0x379c09));}return _0x50b412['delegate']('execute')['to'](_0x577aba),_0x50b412;}({'editor':_0x1d94cf,'dropdownView':_0x26fdaa,'styleGridAriaLabel':_0x47101d,'styleDefinitions':_0x32ae21});_0x26fdaa['panelView']['children']['add'](_0x541663);}),_0x26fdaa['on']('execute',()=>{_0x1d94cf['editing']['view']['focus']();}),_0x26fdaa;};}({'editor':_0x489ac6,'parentCommandName':'multiLevelList','buttonLabel':P(_0x489ac6['locale'],'Multi-level\x20List'),'buttonIcon':_0xb6e56c,'styleGridAriaLabel':P(_0x489ac6['locale'],'Multi-level\x20list\x20styles\x20toolbar'),'styleDefinitions':[]})),_0x489ac6['ui']['componentFactory']['add']('menuBar:multiLevelList',()=>{const _0x348e27=_0x489ac6['commands']['get']('multiLevelList'),_0x891d1=new _0x162247(_0x489ac6['locale']);return _0x891d1['set']({'label':P(_0x489ac6['locale'],'Multi-level\x20List'),'icon':_0xb6e56c}),_0x891d1['bind']('isEnabled')['to'](_0x348e27),_0x891d1['bind']('isOn')['to'](_0x348e27,'value',_0x27ffb0=>!!_0x27ffb0),_0x891d1['on']('execute',()=>{_0x489ac6['execute']('multiLevelList'),_0x489ac6['editing']['view']['focus']();}),_0x891d1;}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x32aaf0=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x5dada0;for(const _0x1183d5 in _0x32aaf0){const _0x31289c=_0x1183d5,_0x3b27bc=_0x32aaf0[_0x31289c];if('multiLevelListLicenseKeyValid'==_0x3b27bc||'multiLevelListLicenseKeyInvalid'==_0x3b27bc||'multiLevelListLicenseKeyExpired'==_0x3b27bc||'multiLevelListLicenseKeyDomainLimit'==_0x3b27bc||'multiLevelListLicenseKeyNotAllowed'==_0x3b27bc||'multiLevelListLicenseKeyEvaluationLimit'==_0x3b27bc||'multiLevelListLicenseKeyUsageLimit'==_0x3b27bc){delete _0x32aaf0[_0x31289c],_0x5dada0=_0x3b27bc,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'multiLevelListLicenseKeyInvalid'==_0x5dada0&&_0x32aaf0['_showLicenseError']('invalid'),'multiLevelListLicenseKeyExpired'==_0x5dada0&&_0x32aaf0['_showLicenseError']('expired'),'multiLevelListLicenseKeyDomainLimit'==_0x5dada0&&_0x32aaf0['_showLicenseError']('domainLimit'),'multiLevelListLicenseKeyNotAllowed'==_0x5dada0&&_0x32aaf0['_showLicenseError']('featureNotAllowed','MultiLevelList'),'multiLevelListLicenseKeyEvaluationLimit'==_0x5dada0&&_0x32aaf0['_showLicenseError']('evaluationLimit'),'multiLevelListLicenseKeyUsageLimit'==_0x5dada0&&_0x32aaf0['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class A extends _0x6e182e{static get['pluginName'](){return'MultiLevelList';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[I,T];}}export{A as MultiLevelList,x as MultiLevelListCommand,I as MultiLevelListEditing,T as MultiLevelListUI};
23
+ import{Command as _0x459c6c,Plugin as _0x53f5f8}from'@ckeditor/ckeditor5-core/dist/index.js';import{Matcher as _0x1008e6,ViewUpcastWriter as _0x2767d5}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ListEditing as _0x57aadf}from'@ckeditor/ckeditor5-list/dist/index.js';import{first as _0x9f23bd,createElement as _0x5e5425,uid as _0x3a3dc9,FocusTracker as _0x1f6437,KeystrokeHandler as _0x29aa22,global as _0x543451}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconMultiLevelList as _0x59b485}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0x1f44cf,ViewCollection as _0x36426b,FocusCycler as _0x2857db,addKeyboardHandlingForGrid as _0xe95471,CollapsibleView as _0x13aed4,LabeledFieldView as _0x188716,createLabeledInputNumber as _0x20cdec,MenuBarMenuListItemButtonView as _0x199263,ButtonView as _0x40cfec,createDropdown as _0x47efd7,SplitButtonView as _0x21c5f6}from'@ckeditor/ckeditor5-ui/dist/index.js';class x extends _0x459c6c{['defaultListMarkerStyle'];['_listDefinitions'];['_listUtils'];constructor(_0x275955,_0xe2f8cb,_0x258b8c){super(_0x275955),this['defaultListMarkerStyle']=_0xe2f8cb,this['_listDefinitions']=_0x258b8c,this['_listUtils']=this['editor']['plugins']['get']('ListUtils');}['refresh'](){this['value']=this['_getValue'](),this['isEnabled']=this['_checkEnabled']();}['execute'](_0x416cb2={}){const _0x103a0a=this['editor']['model'],_0x2503f0=_0x416cb2['listMarkerStyle']||this['defaultListMarkerStyle'];_0x103a0a['change'](()=>{const _0x5168c3=this['_getListTypeFromListMarkerStyle'](_0x2503f0);if(!_0x5168c3)return;const _0x540efd=_0x5168c3+'List';this['editor']['execute'](_0x540efd,{'additionalAttributes':{'listMarkerStyle':_0x2503f0}});});}['_getValue'](){const _0x55bd5c=_0x9f23bd(this['editor']['model']['document']['selection']['getSelectedBlocks']());return this['_listUtils']['isListItemBlock'](_0x55bd5c)?_0x55bd5c['getAttribute']('listMarkerStyle'):null;}['_checkEnabled'](){const _0x30ceee=this['editor'],_0x1d983f=_0x30ceee['commands']['get']('customNumberedList'),_0x4269ee=_0x30ceee['commands']['get']('customBulletedList');return _0x1d983f['isEnabled']||_0x4269ee['isEnabled'];}['_getListTypeFromListMarkerStyle'](_0x51f23d){const _0x33d999=this['_listDefinitions']['find'](_0x258c3e=>_0x258c3e['listMarkerStyle']==_0x51f23d);return _0x33d999?_0x33d999['listType']:null;}}class I extends _0x53f5f8{['_listDefinitions'];static get['pluginName'](){return'MultiLevelListEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x57aadf];}constructor(_0x3f8924){super(_0x3f8924);const _0x3cd35e=this['editor']['config']['get']('listMultiLevel.listDefinitions')||[];this['_listDefinitions']=[{'listType':'customNumbered','listMarkerStyle':'legal','className':'legal-list','listMarkers':[{'marker':_0x2a4720=>_0x2a4720+'.'}]},..._0x3cd35e];}['init'](){const _0xe3a8db=this['editor'],_0x30a9c9=_0xe3a8db['model'],_0x56f6bc=_0xe3a8db['editing']['view'],_0xc599cf=_0xe3a8db['plugins']['get'](_0x57aadf);_0xe3a8db['commands']['add']('multiLevelList',new x(_0xe3a8db,'legal',this['_listDefinitions'])),_0x30a9c9['schema']['extend']('$listItem',{'allowAttributes':['listMarkerStyle','listMarker']}),_0x30a9c9['schema']['addAttributeCheck']((_0x64f3f1,_0x1bdd23)=>{const _0x4e0d8e=_0x64f3f1['last'];if('listMarker'==_0x1bdd23||'listMarkerStyle'==_0x1bdd23)return!(!_0x4e0d8e['getAttribute']('listItemId')||!this['_listDefinitions']['find'](_0x588789=>_0x588789['listType']==_0x4e0d8e['getAttribute']('listType')))&&void 0x0;});for(const _0x49d6e8 of this['_listDefinitions'])_0xe3a8db['conversion']['for']('upcast')['add'](_0x143ef2=>{_0x143ef2['on']('element:'+('customNumbered'==_0x49d6e8['listType']?'ol':'ul'),_(_0x49d6e8,_0x30a9c9['schema']),{'priority':'low'});}),_0xc599cf['registerDowncastStrategy']({'scope':'list','attributeName':'listMarkerStyle','setAttributeOnDowncast'(_0x2fe7ae,_0x5270ac,_0x3ae28b){_0x5270ac==_0x49d6e8['listMarkerStyle']?(_0x2fe7ae['addClass'](['multi-level-list',_0x49d6e8['className']],_0x3ae28b),_0x2fe7ae['setStyle']('list-style-type','none',_0x3ae28b)):(_0x2fe7ae['removeClass'](['multi-level-list',_0x49d6e8['className']],_0x3ae28b),_0x2fe7ae['removeStyle']('list-style-type',_0x3ae28b));}}),_0xc599cf['registerDowncastStrategy']({'scope':'itemMarker','attributeName':'listMarker','createElement'(_0x334cae,_0x1029b3,{dataPipeline:_0x15d296}){if(!_0x1029b3['hasAttribute']('listMarker'))return null;if(_0x1029b3['getAttribute']('listType')!=_0x49d6e8['listType']||_0x1029b3['getAttribute']('listMarkerStyle')!=_0x49d6e8['listMarkerStyle'])return null;const _0x22b307=String(_0x1029b3['getAttribute']('listMarker')),_0xf46fcd=this['canInjectMarkerIntoElement'](_0x1029b3);return _0x334cae['createUIElement']('span',{'class':'multi-level-list__marker',...!_0x15d296&&{'contenteditable':'false','data-multi-level-list-marker':_0x22b307}},function(_0x4b15fb){const _0x402f4c=this['toDomElement'](_0x4b15fb);return _0xf46fcd?(_0x402f4c['appendChild'](_0x5e5425(_0x4b15fb,'span',{},_0x15d296?_0x4b15fb['createTextNode'](_0x22b307):[])),_0x402f4c['appendChild'](_0x4b15fb['createTextNode']('\u00a0'))):_0x15d296&&_0x402f4c['appendChild'](_0x4b15fb['createTextNode'](_0x22b307)),_0x402f4c;});},'canInjectMarkerIntoElement':_0x153be3=>_0x30a9c9['schema']['checkChild'](_0x153be3,'$text')&&_0x30a9c9['schema']['checkChild'](_0x153be3,'$inlineObject')&&!_0x30a9c9['schema']['isLimit'](_0x153be3)&&_0x153be3['getAttribute']('listType')==_0x49d6e8['listType']&&_0x153be3['getAttribute']('listMarkerStyle')==_0x49d6e8['listMarkerStyle']});_0xe3a8db['conversion']['for']('upcast')['add'](_0x1a3ec4=>{_0x1a3ec4['on']('element:span',function(_0x9a829a){return(_0x5d32f3,_0x3de48c,{writer:_0x2edee4,consumable:_0x32783e})=>{const _0x407924=_0x3de48c['modelCursor'],_0x33a297=_0x407924['parent'],_0x15ce26=_0x3de48c['viewItem'];if(_0x32783e['consume'](_0x15ce26,{'name':!0x0,'classes':'multi-level-list__marker'})&&_0x407924['isAtStart']&&_0x33a297['hasAttribute']('listType')&&_0x15ce26['childCount']>0x0){const _0x579f9c=_0x9a829a['createRangeIn'](_0x15ce26);let _0x38452b='';for(const _0x47f449 of _0x579f9c['getItems']())_0x47f449['is']('$textProxy')?(_0x38452b+=_0x47f449['data']['trim'](),_0x32783e['consume'](_0x47f449['textNode'])):_0x32783e['consume'](_0x47f449,{'name':!0x0});_0x2edee4['setAttribute']('listMarker',_0x38452b['trim'](),_0x33a297);}};}(_0x56f6bc));}),_0xc599cf['on']('postFixer',(_0x54b822,{listNodes:_0x4dc63c,writer:_0x34e13e})=>{const _0x36105a=[];for(const {node:_0x599c9b,previousNodeInList:_0xe6f1bb}of _0x4dc63c){const _0x55321d=_0x599c9b['getAttribute']('listType'),_0x1a3a59=_0x599c9b['getAttribute']('listMarkerStyle')||('customNumbered'==_0x55321d?'legal':void 0x0),_0x5799e5=this['_listDefinitions']['find'](_0x3a71d8=>_0x3a71d8['listType']==_0x55321d&&_0x3a71d8['listMarkerStyle']==_0x1a3a59);if('customNumbered'!=_0x55321d&&'customBulleted'!=_0x55321d&&(_0x599c9b['hasAttribute']('listMarker')&&(_0x34e13e['removeAttribute']('listMarker',_0x599c9b),_0x54b822['return']=!0x0),_0x599c9b['hasAttribute']('listMarkerStyle')&&(_0x34e13e['removeAttribute']('listMarkerStyle',_0x599c9b),_0x54b822['return']=!0x0)),!_0x5799e5){'customBulleted'!=_0x55321d||_0x1a3a59||(_0x34e13e['setAttribute']('listType','bulleted',_0x599c9b),_0x54b822['return']=!0x0);continue;}_0x599c9b['hasAttribute']('listMarkerStyle')||(_0x34e13e['setAttribute']('listMarkerStyle',_0x1a3a59,_0x599c9b),_0x54b822['return']=!0x0);const _0x18421a=_0x599c9b['getAttribute']('listIndent');if(_0xe6f1bb&&_0xe6f1bb['getAttribute']('listItemId')==_0x599c9b['getAttribute']('listItemId'))continue;_0x36105a['length']=_0x18421a+0x1,_0xe6f1bb||_0x36105a[_0x18421a]?_0xe6f1bb&&_0xe6f1bb['getAttribute']('listType')!=_0x5799e5['listType']?_0x36105a[_0x18421a]=0x1:_0x36105a[_0x18421a]++:_0x36105a[_0x18421a]=_0x599c9b['getAttribute']('listStart')||0x1;const _0x3e8acd=S(_0x18421a,_0x5799e5,_0x36105a);_0x599c9b['getAttribute']('listMarker')!=_0x3e8acd&&(_0x34e13e['setAttribute']('listMarker',_0x3e8acd,_0x599c9b),_0x54b822['return']=!0x0);}});const _0x2f199f=_0xe3a8db['editing']['view']['document'];this['listenTo'](_0x2f199f,'clipboardOutput',(_0x2672a9,_0x44de3d)=>{const _0x49072a=new _0x1008e6({'name':'span','classes':'multi-level-list__marker'}),_0x4f7ca2=new _0x1008e6({'name':'ol','classes':'multi-level-list','styles':{'list-style-type':'none'}}),_0x45aca5=new _0x2767d5(_0x44de3d['content']['document']),_0x949134=[];for(const _0x41dc7f of _0x45aca5['createRangeIn'](_0x44de3d['content'])['getItems']())_0x41dc7f['is']('element')&&_0x49072a['match'](_0x41dc7f)&&_0x949134['push'](_0x41dc7f),_0x41dc7f['is']('element')&&_0x4f7ca2['match'](_0x41dc7f)&&_0x45aca5['removeStyle']('list-style-type',_0x41dc7f);for(const _0x488914 of _0x949134)_0x45aca5['remove'](_0x488914);});}['afterInit'](){!async function(_0x44e650){const _0x57e01d=_0x5afe7a([0x75,0x6e,0x30,0x4e,0x46,0x51,0x55,0x6f,0x58,0x31,0x65,0x76,0x7a,0x6b,0x33,0x79,0x4d,0x45,0x66,0x77,0x6c,0x37,0x54,0x78,0x62,0x44,0x72,0x69,0x73,0x4f,0x5a,0x61,0x57,0x74,0x4b,0x71,0x35,0x32,0x50,0x39,0x38,0x64,0x63,0x68,0x42,0x56,0x70,0x6a,0x53,0x34,0x6d,0x59,0x4c,0x43,0x36,0x67,0x4a,0x49,0x48,0x47,0x52,0x41]),_0x5a35df=0xf46a94a,_0x9e08b9=0xf412eb2^_0x5a35df,_0x5a8011=window[_0x5afe7a([0x44,0x61,0x74,0x65])][_0x5afe7a([0x6e,0x6f,0x77])](),_0x4fc981=_0x44e650[_0x5afe7a([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x51a89d=new window[(_0x5afe7a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3996ef=>{_0x4fc981[_0x5afe7a([0x6f,0x6e,0x63,0x65])](_0x5afe7a([0x72,0x65,0x61,0x64,0x79]),_0x3996ef);}),_0x9b1c5f={[_0x5afe7a([0x6b,0x74,0x79])]:_0x5afe7a([0x45,0x43]),[_0x5afe7a([0x75,0x73,0x65])]:_0x5afe7a([0x73,0x69,0x67]),[_0x5afe7a([0x63,0x72,0x76])]:_0x5afe7a([0x50,0x2d,0x32,0x35,0x36]),[_0x5afe7a([0x78])]:_0x5afe7a([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x5afe7a([0x79])]:_0x5afe7a([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x5afe7a([0x61,0x6c,0x67])]:_0x5afe7a([0x45,0x53,0x32,0x35,0x36])},_0x2d23da=_0x4fc981[_0x5afe7a([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5afe7a([0x67,0x65,0x74])](_0x5afe7a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1e7636(){let _0x260944,_0x16e206=null,_0x1431a1=null;try{if(_0x2d23da==_0x5afe7a([0x47,0x50,0x4c]))return _0x5afe7a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x260944=_0x527f82(),!_0x260944)return _0x5afe7a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x260944[_0x5afe7a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1431a1=_0x23e063(_0x260944[_0x5afe7a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x260944[_0x5afe7a([0x6a,0x74,0x69])])),await _0xba03e0()?_0x13e1aa()?_0x1eaab4()?_0x5afe7a([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1b3d47()?(_0x260944[_0x5afe7a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5afe7a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x16e206=_0x553af9(_0x5afe7a([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x197159()):_0x5afe7a([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5afe7a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5afe7a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5afe7a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1eaab4(){const _0x257fe2=[_0x5afe7a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5afe7a([0x74,0x72,0x69,0x61,0x6c])][_0x5afe7a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x260944[_0x5afe7a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5a8011/0x3e8:0xe10*_0x9e08b9;return _0x260944[_0x5afe7a([0x65,0x78,0x70])]<_0x257fe2;}function _0x13e1aa(){const _0x28e7f6=_0x260944[_0x5afe7a([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x28e7f6&&(!!_0x28e7f6[_0x5afe7a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5afe7a([0x2a]))||!!_0x28e7f6[_0x5afe7a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5afe7a([0x4d,0x4c,0x4c])));}function _0x1b3d47(){const _0x4b3929=_0x260944[_0x5afe7a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4b3929||0x0==_0x4b3929[_0x5afe7a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x18d62c}=new URL(window[_0x5afe7a([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x4b3929[_0x5afe7a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x18d62c))return!0x0;const _0x546b3c=_0x18d62c[_0x5afe7a([0x73,0x70,0x6c,0x69,0x74])](_0x5afe7a([0x2e]));return _0x4b3929[_0x5afe7a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3f718d=>_0x3f718d[_0x5afe7a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5afe7a([0x2a])))[_0x5afe7a([0x6d,0x61,0x70])](_0x4f2f45=>_0x4f2f45[_0x5afe7a([0x73,0x70,0x6c,0x69,0x74])](_0x5afe7a([0x2e])))[_0x5afe7a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x318c2e=>_0x318c2e[_0x5afe7a([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x546b3c[_0x5afe7a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5afe7a([0x6d,0x61,0x70])](_0x4220e2=>Array(_0x546b3c[_0x5afe7a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4220e2[_0x5afe7a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5afe7a([0x66,0x69,0x6c,0x6c])](_0x4220e2[0x0]===_0x5afe7a([0x2a])?_0x5afe7a([0x2a]):'')[_0x5afe7a([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4220e2))[_0x5afe7a([0x73,0x6f,0x6d,0x65])](_0x56e7db=>_0x546b3c[_0x5afe7a([0x65,0x76,0x65,0x72,0x79])]((_0x2b70a0,_0x50efb2)=>_0x56e7db[_0x50efb2]===_0x2b70a0||_0x56e7db[_0x50efb2]===_0x5afe7a([0x2a])));}function _0x197159(){return _0x16e206&&_0x1431a1?new window[(_0x5afe7a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x59b43d,_0x233624)=>{_0x16e206[_0x5afe7a([0x74,0x68,0x65,0x6e])](_0x59b43d,_0x233624),_0x1431a1[_0x5afe7a([0x74,0x68,0x65,0x6e])](_0xc7861e=>{_0xc7861e!=_0x5afe7a([0x56,0x61,0x6c,0x69,0x64])&&_0x59b43d(_0xc7861e);},_0x233624);}):_0x16e206||_0x1431a1||_0x5afe7a([0x56,0x61,0x6c,0x69,0x64]);}}function _0x23e063(_0x172ac6,_0x54e232){return new window[(_0x5afe7a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xf4a8cf=>{if(_0x168d13())return _0xf4a8cf(_0x5afe7a([0x56,0x61,0x6c,0x69,0x64]));_0xe41cfe(),_0x4fc981[_0x5afe7a([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5afe7a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x265f53=!0x1;const _0x273313=_0x3a3dc9();function _0xfddd3a(_0x59954f){return!!_0x59954f&&(typeof _0x59954f===_0x5afe7a([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x59954f===_0x5afe7a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x59954f[_0x5afe7a([0x74,0x68,0x65,0x6e])]===_0x5afe7a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x59954f[_0x5afe7a([0x63,0x61,0x74,0x63,0x68])]===_0x5afe7a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2e1a75(_0x5a8fa0){_0x3b9186(_0x5a8fa0)[_0x5afe7a([0x74,0x68,0x65,0x6e])](_0x5b8c98=>{if(!_0x5b8c98||_0x5b8c98[_0x5afe7a([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5afe7a([0x6f,0x6b]))return _0x5afe7a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1415b2(_0x448b1d(_0x273313+_0x54e232))!=_0x5b8c98[_0x5afe7a([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5afe7a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5afe7a([0x56,0x61,0x6c,0x69,0x64]);})[_0x5afe7a([0x74,0x68,0x65,0x6e])](_0x5058c9=>(_0x4d97d1(),_0x5058c9),()=>{const _0x4b67b4=_0x119179();return null==_0x4b67b4?(_0x4d97d1(),_0x5afe7a([0x56,0x61,0x6c,0x69,0x64])):_0x5afe7a(_0x5a8011-_0x4b67b4>(0x2b4a2d4a^_0x5a35df)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5afe7a([0x74,0x68,0x65,0x6e])](_0xf4a8cf)[_0x5afe7a([0x63,0x61,0x74,0x63,0x68])](()=>{_0xf4a8cf(_0x5afe7a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2075ee=0xf7047ca^_0x5a35df;function _0x4d97d1(){const _0x1d6329=_0x5afe7a([0x6c,0x6c,0x63,0x74,0x2d])+_0x1415b2(_0x448b1d(_0x172ac6)),_0x3cd68a=_0x3033ed(_0x1415b2(window[_0x5afe7a([0x4d,0x61,0x74,0x68])][_0x5afe7a([0x63,0x65,0x69,0x6c])](_0x5a8011/_0x2075ee)));window[_0x5afe7a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5afe7a([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1d6329,_0x3cd68a);}function _0x119179(){const _0x4b1962=_0x5afe7a([0x6c,0x6c,0x63,0x74,0x2d])+_0x1415b2(_0x448b1d(_0x172ac6)),_0x70de4d=window[_0x5afe7a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5afe7a([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4b1962);return _0x70de4d?window[_0x5afe7a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3033ed(_0x70de4d),0x10)*_0x2075ee:null;}function _0x3b9186(_0x593670){return new window[(_0x5afe7a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3f8c89,_0x19c493)=>{_0x593670[_0x5afe7a([0x74,0x68,0x65,0x6e])](_0x3f8c89,_0x19c493),window[_0x5afe7a([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x19c493,0xf477d8a^_0x5a35df);});}}_0x4fc981[_0x5afe7a([0x6f,0x6e])](_0x5afe7a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x37e352,_0x464e23)=>{if(_0x464e23[0x0]!=_0x172ac6)return _0xf4a8cf(_0x5afe7a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x464e23[0x1]={..._0x464e23[0x1],[_0x5afe7a([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x273313};},{[_0x5afe7a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5afe7a([0x68,0x69,0x67,0x68])}),_0x4fc981[_0x5afe7a([0x6f,0x6e])](_0x5afe7a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xa1d58f=>{_0xfddd3a(_0xa1d58f[_0x5afe7a([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x265f53=!0x0,_0x2e1a75(_0xa1d58f[_0x5afe7a([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5afe7a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5afe7a([0x6c,0x6f,0x77])}),_0x51a89d[_0x5afe7a([0x74,0x68,0x65,0x6e])](()=>{_0x265f53||_0xf4a8cf(_0x5afe7a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x168d13(){return _0x4fc981[_0x5afe7a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5afe7a([0x76,0x69,0x65,0x77])][_0x5afe7a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5afe7a([0x61,0x75,0x74,0x6f]);}function _0xe41cfe(){_0x4fc981[_0x5afe7a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5afe7a([0x76,0x69,0x65,0x77])][_0x5afe7a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5afe7a([0x61,0x75,0x74,0x6f]);}}function _0x553af9(_0x66b525){const _0x523005=[new window[(_0x5afe7a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2da28e=>setTimeout(_0x2da28e,0xf4f9786^_0x5a35df)),_0x51a89d[_0x5afe7a([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5afe7a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x407183=>{let _0xf4c734=0x0;_0x4fc981[_0x5afe7a([0x6d,0x6f,0x64,0x65,0x6c])][_0x5afe7a([0x6f,0x6e])](_0x5afe7a([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3aa5aa,_0x2dbe86)=>{_0x2dbe86[0x0][_0x5afe7a([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xf4c734++,_0xf4c734==(0xf46aca2^_0x5a35df)&&(_0x407183(),_0x3aa5aa[_0x5afe7a([0x6f,0x66,0x66])]());});}))];return window[_0x5afe7a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5afe7a([0x72,0x61,0x63,0x65])](_0x523005)[_0x5afe7a([0x74,0x68,0x65,0x6e])](()=>_0x66b525);}async function _0x2121e6(){await _0x51a89d,_0x4fc981[_0x5afe7a([0x6d,0x6f,0x64,0x65,0x6c])][_0x5afe7a([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x341741,_0x4fc981[_0x5afe7a([0x6d,0x6f,0x64,0x65,0x6c])][_0x5afe7a([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x341741,_0x4fc981[_0x5afe7a([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5afe7a([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x43f8c8(_0x4bfa40){const _0x2f1c0d=_0x373b42();_0x4fc981[_0x2f1c0d]=_0x5afe7a([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4bfa40,_0x4bfa40!=_0x5afe7a([0x56,0x61,0x6c,0x69,0x64])&&_0x2121e6();}function _0x373b42(){const _0x9e6159=window[_0x5afe7a([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5afe7a([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5afe7a([0x6e,0x6f,0x77])]())[_0x5afe7a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5afe7a([0x2e]),'');let _0x51158b=_0x5afe7a([0x75]);for(let _0x1f4a37=0x0;_0x1f4a37<_0x9e6159[_0x5afe7a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1f4a37+=0x2){let _0x18574b=window[_0x5afe7a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x9e6159[_0x5afe7a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1f4a37,_0x1f4a37+0x2));_0x18574b>=_0x57e01d[_0x5afe7a([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x18574b-=_0x57e01d[_0x5afe7a([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x51158b+=_0x57e01d[_0x18574b];}return _0x51158b;}function _0x527f82(){const _0x3d312c=_0x2d23da[_0x5afe7a([0x73,0x70,0x6c,0x69,0x74])](_0x5afe7a([0x2e]));if(0x3!=_0x3d312c[_0x5afe7a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1d3c50(_0x3d312c[0x1]);function _0x1d3c50(_0x5a8d02){const _0xf0e04=_0x31de91(_0x5a8d02);return _0xf0e04&&_0x9a8ff3()?_0xf0e04:null;function _0x9a8ff3(){const _0x20a64b=_0xf0e04[_0x5afe7a([0x6a,0x74,0x69])],_0x3308a2=window[_0x5afe7a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x20a64b[_0x5afe7a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x20a64b[_0x5afe7a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x343c27={..._0xf0e04,[_0x5afe7a([0x6a,0x74,0x69])]:_0x20a64b[_0x5afe7a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x20a64b[_0x5afe7a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x343c27[_0x5afe7a([0x76,0x63])],_0x448b1d(_0x343c27)==_0x3308a2;}}}async function _0xba03e0(){let _0x3c3354=!0x0;try{const _0x86b331=_0x2d23da[_0x5afe7a([0x73,0x70,0x6c,0x69,0x74])](_0x5afe7a([0x2e])),[_0x3de779,_0x5912a6,_0x404530]=_0x86b331;return _0x404686(_0x3de779),await _0x61de22(_0x3de779,_0x5912a6,_0x404530),_0x3c3354;}catch{return!0x1;}function _0x404686(_0xadd5cc){const _0x42af68=_0x31de91(_0xadd5cc);_0x42af68&&_0x42af68[_0x5afe7a([0x61,0x6c,0x67])]==_0x5afe7a([0x45,0x53,0x32,0x35,0x36])||(_0x3c3354=!0x1);}async function _0x61de22(_0x567066,_0x2d2d3d,_0x4761bb){const _0x552ce8=window[_0x5afe7a([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5afe7a([0x66,0x72,0x6f,0x6d])](_0x31992b(_0x4761bb),_0x33d61=>_0x33d61[_0x5afe7a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x44f280=new window[(_0x5afe7a([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5afe7a([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x567066+_0x5afe7a([0x2e])+_0x2d2d3d),_0x3ea290=window[_0x5afe7a([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5afe7a([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3ea290)return;const _0x4293be=await _0x3ea290[_0x5afe7a([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5afe7a([0x6a,0x77,0x6b]),_0x9b1c5f,{[_0x5afe7a([0x6e,0x61,0x6d,0x65])]:_0x5afe7a([0x45,0x43,0x44,0x53,0x41]),[_0x5afe7a([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5afe7a([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5afe7a([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3ea290[_0x5afe7a([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5afe7a([0x6e,0x61,0x6d,0x65])]:_0x5afe7a([0x45,0x43,0x44,0x53,0x41]),[_0x5afe7a([0x68,0x61,0x73,0x68])]:{[_0x5afe7a([0x6e,0x61,0x6d,0x65])]:_0x5afe7a([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4293be,_0x552ce8,_0x44f280)||(_0x3c3354=!0x1);}}function _0x31de91(_0x4acf37){return _0x4acf37[_0x5afe7a([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5afe7a([0x65,0x79]))?JSON[_0x5afe7a([0x70,0x61,0x72,0x73,0x65])](_0x31992b(_0x4acf37)):null;}function _0x31992b(_0x4f8000){return window[_0x5afe7a([0x61,0x74,0x6f,0x62])](_0x4f8000[_0x5afe7a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5afe7a([0x2b]))[_0x5afe7a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5afe7a([0x2f])));}function _0x448b1d(_0x44c8bf){let _0x2c43f0=0x1505;function _0x3614c2(_0x42eb83){for(let _0x30f508=0x0;_0x30f508<_0x42eb83[_0x5afe7a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x30f508++){const _0x3d351e=_0x42eb83[_0x5afe7a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x30f508);_0x2c43f0=(_0x2c43f0<<0x5)+_0x2c43f0+_0x3d351e,_0x2c43f0&=_0x2c43f0;}}function _0x4f51f7(_0x443851){Array[_0x5afe7a([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x443851)?_0x443851[_0x5afe7a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4f51f7):_0x443851&&typeof _0x443851==_0x5afe7a([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5afe7a([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x443851)[_0x5afe7a([0x73,0x6f,0x72,0x74])]()[_0x5afe7a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5a3095,_0x46f1f9])=>{_0x3614c2(_0x5a3095),_0x4f51f7(_0x46f1f9);}):_0x3614c2(window[_0x5afe7a([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x443851));}return _0x4f51f7(_0x44c8bf),_0x2c43f0>>>0x0;}function _0x1415b2(_0x58ccef){return _0x58ccef[_0x5afe7a([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5afe7a([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5afe7a([0x30]));}function _0x3033ed(_0xe36e8a){return _0xe36e8a[_0x5afe7a([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5afe7a([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5afe7a([0x6a,0x6f,0x69,0x6e])]('');}function _0x341741(){}function _0x5afe7a(_0x284d0b){return _0x284d0b['map'](_0xd82f6=>String['fromCharCode'](_0xd82f6))['join']('');}_0x43f8c8(await _0x1e7636());}(this);}}function S(_0x242b8f,_0x157a41,_0x120354){let _0x2862fe=_0x157a41['listMarkers'][_0x242b8f%_0x157a41['listMarkers']['length']];if(void 0x0===_0x2862fe['showMarkerPath']||_0x2862fe['showMarkerPath'])return _0x120354['slice'](0x0,_0x242b8f+0x1)['map']((_0x3270c7,_0xac9f46)=>(_0x2862fe=_0x157a41['listMarkers'][_0xac9f46%_0x157a41['listMarkers']['length']],N(_0x2862fe['marker'],_0x3270c7)))['join']('');{const _0x5e5459=_0x120354[_0x120354['length']-0x1];return N(_0x2862fe['marker'],_0x5e5459);}}function N(_0x235ced,_0x208614){return'function'==typeof _0x235ced?_0x235ced(_0x208614):_0x235ced;}function _(_0x4f06f7,_0x54d84e){return(_0x1af023,_0x985556,_0x12ed30)=>{const _0x3a03c6=_0x985556['viewItem'];if(_0x985556['modelRange']||Object['assign'](_0x985556,_0x12ed30['convertChildren'](_0x985556['viewItem'],_0x985556['modelCursor'])),!_0x12ed30['consumable']['test'](_0x3a03c6,{'classes':_0x4f06f7['className']}))return;const _0x54da0c=Array['from'](_0x985556['modelRange']['getItems']({'shallow':!0x0}))['filter'](_0x2d5c5f=>_0x54d84e['checkAttribute'](_0x2d5c5f,'listItemId'));if(!_0x54da0c['length'])return;_0x12ed30['consumable']['consume'](_0x3a03c6,{'classes':_0x4f06f7['className']}),_0x12ed30['consumable']['consume'](_0x3a03c6,{'classes':'multi-level-list'}),_0x12ed30['consumable']['consume'](_0x3a03c6,{'styles':'list-style-type'});const _0x39c528=_0x54da0c[0x0]['getAttribute']('listIndent');for(const _0x72d735 of _0x54da0c)_0x72d735['getAttribute']('listIndent')==_0x39c528&&(_0x12ed30['writer']['setAttribute']('listType',_0x4f06f7['listType'],_0x72d735),_0x12ed30['writer']['setAttribute']('listMarkerStyle',_0x4f06f7['listMarkerStyle'],_0x72d735));};}function P(_0x48cf71,_0x36403e){const _0x879c55=_0x48cf71['t'],t=_0x48cf71['t'];switch(_0x36403e){case'Start\x20at':return _0x879c55('Start\x20at');case'Start\x20index\x20must\x20be\x20greater\x20than\x200.':return _0x879c55('Start\x20index\x20must\x20be\x20greater\x20than\x200.');case'Invalid\x20start\x20index\x20value.':return _0x879c55('Invalid\x20start\x20index\x20value.');case'List\x20properties':return _0x879c55('List\x20properties');case'Multi-level\x20List':return t('Multi-level\x20List');case'Multi-level\x20list\x20styles\x20toolbar':return t('Multi-level\x20list\x20styles\x20toolbar');default:return _0x36403e;}}class K extends _0x1f44cf{['children'];['stylesView']=null;['additionalPropertiesCollapsibleView']=null;['startIndexFieldView']=null;['focusTracker']=new _0x1f6437();['keystrokes']=new _0x29aa22();['focusables']=new _0x36426b();['focusCycler'];constructor(_0x4a5060,{enabledProperties:_0x44bc55,styleButtonViews:_0x3830e7,styleGridAriaLabel:_0xc81677}){super(_0x4a5060);const _0x16ab6e=['ck','ck-multi-level-list-properties'];this['children']=this['createCollection'](),this['focusCycler']=new _0x2857db({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),_0x44bc55['styles']?(this['stylesView']=this['_createStylesView'](_0x3830e7,_0xc81677),this['children']['add'](this['stylesView'])):_0x16ab6e['push']('ck-multi-level-list-properties_without-styles'),_0x44bc55['startIndex']&&(this['_addListPropertyViews'](_0x44bc55),_0x16ab6e['push']('ck-multi-level-list-properties_with-multi-level-properties')),this['setTemplate']({'tag':'div','attributes':{'class':_0x16ab6e},'children':this['children']});}['render'](){if(super['render'](),this['stylesView']){this['focusables']['add'](this['stylesView']),this['focusTracker']['add'](this['stylesView']['element']),this['startIndexFieldView']&&(this['focusables']['add'](this['children']['last']['buttonView']),this['focusTracker']['add'](this['children']['last']['buttonView']['element']));for(const _0x1ebd7e of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x1ebd7e['element']);_0xe95471({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>_0x543451['window']['getComputedStyle'](this['stylesView']['element'])['getPropertyValue']('grid-template-columns')['split']('\x20')['length'],'uiLanguageDirection':this['locale']&&this['locale']['uiLanguageDirection']});}if(this['startIndexFieldView']){this['focusables']['add'](this['startIndexFieldView']),this['focusTracker']['add'](this['startIndexFieldView']['element']);const _0x512b66=_0xa04c12=>_0xa04c12['stopPropagation']();this['keystrokes']['set']('arrowright',_0x512b66),this['keystrokes']['set']('arrowleft',_0x512b66),this['keystrokes']['set']('arrowup',_0x512b66),this['keystrokes']['set']('arrowdown',_0x512b66);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_createStylesView'](_0x5a3750,_0xb29a19){const _0x48efba=new _0x1f44cf(this['locale']);return _0x48efba['children']=_0x48efba['createCollection'](),_0x48efba['children']['addMany'](_0x5a3750),_0x48efba['setTemplate']({'tag':'div','attributes':{'aria-label':_0xb29a19,'class':['ck','ck-multi-level-list-styles']},'children':_0x48efba['children']}),_0x48efba['children']['delegate']('execute')['to'](this),_0x48efba['focus']=function(){this['children']['first']['focus']();},_0x48efba['focusTracker']=new _0x1f6437(),_0x48efba['keystrokes']=new _0x29aa22(),_0x48efba['render'](),_0x48efba['keystrokes']['listenTo'](_0x48efba['element']),_0x48efba;}['_addListPropertyViews'](_0x55a4b2){const _0x3f42d7=[];_0x55a4b2['startIndex']&&(this['startIndexFieldView']=this['_createStartIndexField'](),_0x3f42d7['push'](this['startIndexFieldView'])),_0x55a4b2['styles']?(this['additionalPropertiesCollapsibleView']=new _0x13aed4(this['locale'],_0x3f42d7),this['additionalPropertiesCollapsibleView']['set']({'label':P(this['locale'],'List\x20properties'),'isCollapsed':!0x0}),this['additionalPropertiesCollapsibleView']['buttonView']['bind']('isEnabled')['toMany'](_0x3f42d7,'isEnabled',(..._0x5cc2bf)=>_0x5cc2bf['some'](_0x127007=>_0x127007)),this['additionalPropertiesCollapsibleView']['buttonView']['on']('change:isEnabled',(_0x4f85e8,_0x2c1c99,_0xf6d6ca)=>{_0xf6d6ca||(this['additionalPropertiesCollapsibleView']['isCollapsed']=!0x0);}),this['children']['add'](this['additionalPropertiesCollapsibleView'])):this['children']['addMany'](_0x3f42d7);}['_createStartIndexField'](){const _0x3141fc=new _0x188716(this['locale'],_0x20cdec);return _0x3141fc['set']({'label':P(this['locale'],'Start\x20at'),'class':'ck-multi-level-list-properties__start-index'}),_0x3141fc['fieldView']['set']({'min':0x0,'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x3141fc['fieldView']['on']('input',()=>{const _0x5653b9=_0x3141fc['fieldView']['element'],_0x271d4b=_0x5653b9['valueAsNumber'];Number['isNaN'](_0x271d4b)?_0x3141fc['errorText']=P(this['locale'],'Invalid\x20start\x20index\x20value.'):_0x5653b9['checkValidity']()?this['fire']('listStart',{'startIndex':_0x271d4b}):_0x3141fc['errorText']=P(this['locale'],'Start\x20index\x20must\x20be\x20greater\x20than\x200.');}),_0x3141fc;}}class T extends _0x53f5f8{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'MultiLevelListUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x33d806=this['editor'];_0x33d806['ui']['componentFactory']['add']('multiLevelList',function({editor:_0x1c7f24,parentCommandName:_0x42fb2c,buttonLabel:_0x5bb805,buttonIcon:_0x4b2efd,styleGridAriaLabel:_0x3aa1d2,styleDefinitions:_0x1967d9}){const _0x51dc44=_0x1c7f24['commands']['get'](_0x42fb2c),_0x5706c1=_0x1c7f24['config']['get']('list.properties')||{},_0x41df2b=_0x1c7f24['plugins']['has']('ListProperties'),_0x3df4ca=_0x5706c1['startIndex'];if(!_0x41df2b||!_0x3df4ca)return _0x1ec187=>{const _0x976bca=new _0x40cfec(_0x1ec187);return _0x976bca['set']({'label':_0x5bb805,'icon':_0x4b2efd,'tooltip':!0x0,'isToggleable':!0x0}),_0x976bca['bind']('isOn')['to'](_0x51dc44,'value',_0x29f3e0=>!!_0x29f3e0),_0x976bca['on']('execute',()=>{_0x1c7f24['execute'](_0x42fb2c),_0x1c7f24['editing']['view']['focus']();}),_0x976bca;};return _0x3329ac=>{const _0x1293aa=_0x47efd7(_0x3329ac,_0x21c5f6),_0x1779be=_0x1293aa['buttonView'];return _0x1293aa['bind']('isEnabled')['to'](_0x51dc44),_0x1293aa['class']='ck-list-styles-dropdown',_0x1779be['on']('execute',()=>{_0x1c7f24['execute'](_0x42fb2c),_0x1c7f24['editing']['view']['focus']();}),_0x1779be['set']({'label':_0x5bb805,'icon':_0x4b2efd,'tooltip':!0x0,'isToggleable':!0x0}),_0x1779be['bind']('isOn')['to'](_0x51dc44,'value',_0x3e8986=>!!_0x3e8986),_0x1293aa['once']('change:isOpen',()=>{const _0x567b63=function({editor:_0x3da174,dropdownView:_0xb5f26d,styleDefinitions:_0x39a931,styleGridAriaLabel:_0x1ed484}){const _0x1ca823=_0x3da174['locale'],_0x384271=_0x3da174['config']['get']('list.properties'),_0x4c81fc=null;_0x384271['reversed']=!0x1,_0x39a931['length']||(_0x384271['styles']=!0x1);const _0x270497=new K(_0x1ca823,{'styleGridAriaLabel':_0x1ed484,'enabledProperties':_0x384271,'styleButtonViews':_0x4c81fc});if(_0x384271['startIndex']){const _0x2cd840=_0x3da174['commands']['get']('listStart');_0x270497['startIndexFieldView']['bind']('isEnabled')['to'](_0x2cd840),_0x270497['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x2cd840),_0x270497['on']('listStart',(_0x4eb2d7,_0x2a8863)=>_0x3da174['execute']('listStart',_0x2a8863));}return _0x270497['delegate']('execute')['to'](_0xb5f26d),_0x270497;}({'editor':_0x1c7f24,'dropdownView':_0x1293aa,'styleGridAriaLabel':_0x3aa1d2,'styleDefinitions':_0x1967d9});_0x1293aa['panelView']['children']['add'](_0x567b63);}),_0x1293aa['on']('execute',()=>{_0x1c7f24['editing']['view']['focus']();}),_0x1293aa;};}({'editor':_0x33d806,'parentCommandName':'multiLevelList','buttonLabel':P(_0x33d806['locale'],'Multi-level\x20List'),'buttonIcon':_0x59b485,'styleGridAriaLabel':P(_0x33d806['locale'],'Multi-level\x20list\x20styles\x20toolbar'),'styleDefinitions':[]})),_0x33d806['ui']['componentFactory']['add']('menuBar:multiLevelList',()=>{const _0x5316a3=_0x33d806['commands']['get']('multiLevelList'),_0x160633=new _0x199263(_0x33d806['locale']);return _0x160633['set']({'label':P(_0x33d806['locale'],'Multi-level\x20List'),'icon':_0x59b485}),_0x160633['bind']('isEnabled')['to'](_0x5316a3),_0x160633['bind']('isOn')['to'](_0x5316a3,'value',_0x18c6f8=>!!_0x18c6f8),_0x160633['on']('execute',()=>{_0x33d806['execute']('multiLevelList'),_0x33d806['editing']['view']['focus']();}),_0x160633;}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x41317a=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3b57c2;for(const _0x1fbd58 in _0x41317a){const _0x27e699=_0x1fbd58,_0x1bd750=_0x41317a[_0x27e699];if('multiLevelListLicenseKeyValid'==_0x1bd750||'multiLevelListLicenseKeyInvalid'==_0x1bd750||'multiLevelListLicenseKeyExpired'==_0x1bd750||'multiLevelListLicenseKeyDomainLimit'==_0x1bd750||'multiLevelListLicenseKeyNotAllowed'==_0x1bd750||'multiLevelListLicenseKeyEvaluationLimit'==_0x1bd750||'multiLevelListLicenseKeyUsageLimit'==_0x1bd750){delete _0x41317a[_0x27e699],_0x3b57c2=_0x1bd750,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'multiLevelListLicenseKeyInvalid'==_0x3b57c2&&_0x41317a['_showLicenseError']('invalid'),'multiLevelListLicenseKeyExpired'==_0x3b57c2&&_0x41317a['_showLicenseError']('expired'),'multiLevelListLicenseKeyDomainLimit'==_0x3b57c2&&_0x41317a['_showLicenseError']('domainLimit'),'multiLevelListLicenseKeyNotAllowed'==_0x3b57c2&&_0x41317a['_showLicenseError']('featureNotAllowed','MultiLevelList'),'multiLevelListLicenseKeyEvaluationLimit'==_0x3b57c2&&_0x41317a['_showLicenseError']('evaluationLimit'),'multiLevelListLicenseKeyUsageLimit'==_0x3b57c2&&_0x41317a['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class A extends _0x53f5f8{static get['pluginName'](){return'MultiLevelList';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[I,T];}}export{A as MultiLevelList,x as MultiLevelListCommand,I as MultiLevelListEditing,T as MultiLevelListUI};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-list-multi-level",
3
- "version": "48.0.1-alpha.0",
3
+ "version": "48.0.1",
4
4
  "description": "Multi-level list feature for CKEditor 5.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "CKSource (http://cksource.com/)",
@@ -32,13 +32,13 @@
32
32
  "./package.json": "./package.json"
33
33
  },
34
34
  "dependencies": {
35
- "@ckeditor/ckeditor5-clipboard": "48.0.1-alpha.0",
36
- "@ckeditor/ckeditor5-core": "48.0.1-alpha.0",
37
- "@ckeditor/ckeditor5-engine": "48.0.1-alpha.0",
38
- "@ckeditor/ckeditor5-icons": "48.0.1-alpha.0",
39
- "@ckeditor/ckeditor5-list": "48.0.1-alpha.0",
40
- "@ckeditor/ckeditor5-ui": "48.0.1-alpha.0",
41
- "@ckeditor/ckeditor5-utils": "48.0.1-alpha.0"
35
+ "@ckeditor/ckeditor5-clipboard": "48.0.1",
36
+ "@ckeditor/ckeditor5-core": "48.0.1",
37
+ "@ckeditor/ckeditor5-engine": "48.0.1",
38
+ "@ckeditor/ckeditor5-icons": "48.0.1",
39
+ "@ckeditor/ckeditor5-list": "48.0.1",
40
+ "@ckeditor/ckeditor5-ui": "48.0.1",
41
+ "@ckeditor/ckeditor5-utils": "48.0.1"
42
42
  },
43
43
  "files": [
44
44
  "dist",