@ckeditor/ckeditor5-list-multi-level 48.8.1-alpha.1 → 48.8.1-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/package.json +8 -8
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Command as _0x25f82c,Plugin as _0xd26acf}from'@ckeditor/ckeditor5-core/dist/index.js';import{Matcher as _0x2fa2ed,ViewUpcastWriter as _0x2b0360}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ListEditing as _0xbd11b1,_isFirstBlockOfListItem as _0x1afc00}from'@ckeditor/ckeditor5-list/dist/index.js';import{first as _0x310b31,createElement as _0x5d0501,uid as _0x44c0bc,FocusTracker as _0x1907e3,KeystrokeHandler as _0x1d1448,global as _0x2896e1}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconMultiLevelList as _0x234366}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0x20cc9d,ViewCollection as _0x2ec06c,FocusCycler as _0xd5405,addKeyboardHandlingForGrid as _0x209e87,CollapsibleView as _0x13cf4e,LabeledFieldView as _0x28285c,createLabeledInputNumber as _0xc21c81,MenuBarMenuListItemButtonView as _0x53a90b,ButtonView as _0x3de3f7,createDropdown as _0x3432b7,SplitButtonView as _0x396d99}from'@ckeditor/ckeditor5-ui/dist/index.js';class MultiLevelListCommand extends _0x25f82c{['defaultListMarkerStyle'];['_listDefinitions'];['_listUtils'];constructor(_0x1ef3e0,_0x33887e,_0x43069b){super(_0x1ef3e0),this['defaultListMarkerStyle']=_0x33887e,this['_listDefinitions']=_0x43069b,this['_listUtils']=this['editor']['plugins']['get']('ListUtils');}['refresh'](){this['value']=this['_getValue'](),this['isEnabled']=this['_checkEnabled']();}['execute'](_0xbb620b={}){const _0x371fe6=this['editor']['model'],_0x37cc54=_0xbb620b['listMarkerStyle']||this['defaultListMarkerStyle'];_0x371fe6['change'](()=>{const _0x267a73=this['_getListTypeFromListMarkerStyle'](_0x37cc54);if(!_0x267a73)return;const _0x12de75=_0x267a73+'List';this['editor']['execute'](_0x12de75,{'additionalAttributes':{'listMarkerStyle':_0x37cc54}});});}['_getValue'](){const _0x36ad83=_0x310b31(this['editor']['model']['document']['selection']['getSelectedBlocks']());return this['_listUtils']['isListItemBlock'](_0x36ad83)?_0x36ad83['getAttribute']('listMarkerStyle'):null;}['_checkEnabled'](){const _0x5060e1=this['editor'],_0x4cc347=_0x5060e1['commands']['get']('customNumberedList'),_0x368db7=_0x5060e1['commands']['get']('customBulletedList');return _0x4cc347['isEnabled']||_0x368db7['isEnabled'];}['_getListTypeFromListMarkerStyle'](_0x2f598f){const _0x5be108=this['_listDefinitions']['find'](_0x29bf5e=>_0x29bf5e['listMarkerStyle']==_0x2f598f);return _0x5be108?_0x5be108['listType']:null;}}class MultiLevelListEditing extends _0xd26acf{['_listDefinitions'];static get['pluginName'](){return'MultiLevelListEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0xbd11b1];}constructor(_0x22fd62){super(_0x22fd62);const _0x1a6caf=this['editor']['config']['get']('listMultiLevel.listDefinitions')||[];this['_listDefinitions']=[{'listType':'customNumbered','listMarkerStyle':'legal','className':'legal-list','listMarkers':[{'marker':_0x1e9355=>_0x1e9355+'.'}]},..._0x1a6caf];}['init'](){const _0x3ae1c4=this['editor'],_0x510cfd=_0x3ae1c4['model'],_0x22a8be=_0x3ae1c4['editing']['view'],_0x13bba7=_0x3ae1c4['plugins']['get'](_0xbd11b1);_0x3ae1c4['commands']['add']('multiLevelList',new MultiLevelListCommand(_0x3ae1c4,'legal',this['_listDefinitions'])),_0x510cfd['schema']['extend']('$listItem',{'allowAttributes':['listMarkerStyle','listMarker']}),_0x510cfd['schema']['addAttributeCheck']((_0x1e028b,_0xc25603)=>{const _0xf42571=_0x1e028b['last'];if('listMarker'==_0xc25603||'listMarkerStyle'==_0xc25603)return!(!_0xf42571['getAttribute']('listItemId')||!this['_listDefinitions']['find'](_0x47c0eb=>_0x47c0eb['listType']==_0xf42571['getAttribute']('listType')))&&void 0x0;});for(const _0x464167 of this['_listDefinitions'])_0x3ae1c4['conversion']['for']('upcast')['add'](_0x3596b5=>{_0x3596b5['on']('element:'+('customNumbered'==_0x464167['listType']?'ol':'ul'),N(_0x464167,_0x510cfd['schema']),{'priority':'low'});}),_0x13bba7['registerDowncastStrategy']({'scope':'list','attributeName':'listMarkerStyle','setAttributeOnDowncast'(_0xebd03f,_0x1d5db2,_0x3a9b79){_0x1d5db2==_0x464167['listMarkerStyle']?(_0xebd03f['addClass'](['multi-level-list',_0x464167['className']],_0x3a9b79),_0xebd03f['setStyle']('list-style-type','none',_0x3a9b79)):(_0xebd03f['removeClass'](['multi-level-list',_0x464167['className']],_0x3a9b79),_0xebd03f['removeStyle']('list-style-type',_0x3a9b79));}}),_0x13bba7['registerDowncastStrategy']({'scope':'itemMarker','attributeName':'listMarker','createElement'(_0x21458a,_0x45fee6,{dataPipeline:_0x368551}){if(!_0x45fee6['hasAttribute']('listMarker'))return null;if(_0x45fee6['getAttribute']('listType')!=_0x464167['listType']||_0x45fee6['getAttribute']('listMarkerStyle')!=_0x464167['listMarkerStyle'])return null;const _0x44bb52=String(_0x45fee6['getAttribute']('listMarker')),_0x573a82=this['canInjectMarkerIntoElement'](_0x45fee6);return _0x21458a['createUIElement']('span',{'class':'multi-level-list__marker',...!_0x368551&&{'contenteditable':'false','data-multi-level-list-marker':_0x44bb52}},function(_0x2f0611){const _0x238d86=this['toDomElement'](_0x2f0611);return _0x573a82?(_0x238d86['appendChild'](_0x5d0501(_0x2f0611,'span',{},_0x368551?_0x2f0611['createTextNode'](_0x44bb52):[])),_0x238d86['appendChild'](_0x2f0611['createTextNode']('\u00a0'))):_0x368551&&_0x238d86['appendChild'](_0x2f0611['createTextNode'](_0x44bb52)),_0x238d86;});},'canInjectMarkerIntoElement':_0x48ba40=>_0x510cfd['schema']['checkChild'](_0x48ba40,'$text')&&_0x510cfd['schema']['checkChild'](_0x48ba40,'$inlineObject')&&!_0x510cfd['schema']['isLimit'](_0x48ba40)&&_0x48ba40['getAttribute']('listType')==_0x464167['listType']&&_0x48ba40['getAttribute']('listMarkerStyle')==_0x464167['listMarkerStyle']});_0x3ae1c4['conversion']['for']('upcast')['add'](_0x473c80=>{_0x473c80['on']('element:span',function(_0x32d327){return(_0x2503ad,_0x434ea0,{writer:_0xe7e4b0,consumable:_0x137915})=>{const _0x4c39b1=_0x434ea0['modelCursor'],_0x459520=_0x4c39b1['parent'],_0xaf77cf=_0x434ea0['viewItem'];if(_0x137915['consume'](_0xaf77cf,{'name':!0x0,'classes':'multi-level-list__marker'})&&_0x4c39b1['isAtStart']&&_0x459520['hasAttribute']('listType')&&_0xaf77cf['childCount']>0x0){const _0x18e3cb=_0x32d327['createRangeIn'](_0xaf77cf);let _0x55360c='';for(const _0x477ff4 of _0x18e3cb['getItems']())_0x477ff4['is']('$textProxy')?(_0x55360c+=_0x477ff4['data']['trim'](),_0x137915['consume'](_0x477ff4['textNode'])):_0x137915['consume'](_0x477ff4,{'name':!0x0});_0xe7e4b0['setAttribute']('listMarker',_0x55360c['trim'](),_0x459520);}};}(_0x22a8be));}),_0x13bba7['on']('postFixer',(_0x3f3d64,{listNodes:_0x1f32d4,writer:_0x309845})=>{const _0x4dc1a5=[];for(const {node:_0x47ec24,previousNodeInList:_0x214e24}of _0x1f32d4){const _0x41f4a2=_0x47ec24['getAttribute']('listType'),_0x549687=_0x47ec24['getAttribute']('listMarkerStyle')||('customNumbered'==_0x41f4a2?'legal':void 0x0),_0x37f955=this['_listDefinitions']['find'](_0x55e7cf=>_0x55e7cf['listType']==_0x41f4a2&&_0x55e7cf['listMarkerStyle']==_0x549687);if('customNumbered'!=_0x41f4a2&&'customBulleted'!=_0x41f4a2&&(_0x47ec24['hasAttribute']('listMarker')&&(_0x309845['removeAttribute']('listMarker',_0x47ec24),_0x3f3d64['return']=!0x0),_0x47ec24['hasAttribute']('listMarkerStyle')&&(_0x309845['removeAttribute']('listMarkerStyle',_0x47ec24),_0x3f3d64['return']=!0x0)),!_0x37f955){'customBulleted'!=_0x41f4a2||_0x549687||(_0x309845['setAttribute']('listType','bulleted',_0x47ec24),_0x3f3d64['return']=!0x0);continue;}_0x47ec24['hasAttribute']('listMarkerStyle')||(_0x309845['setAttribute']('listMarkerStyle',_0x549687,_0x47ec24),_0x3f3d64['return']=!0x0);const _0x2ddc70=_0x47ec24['getAttribute']('listIndent');if(_0x214e24&&_0x214e24['getAttribute']('listItemId')==_0x47ec24['getAttribute']('listItemId'))continue;_0x4dc1a5['length']=_0x2ddc70+0x1,_0x214e24||_0x4dc1a5[_0x2ddc70]?_0x214e24&&_0x214e24['getAttribute']('listType')!=_0x37f955['listType']?_0x4dc1a5[_0x2ddc70]=0x1:_0x4dc1a5[_0x2ddc70]++:_0x4dc1a5[_0x2ddc70]=_0x47ec24['getAttribute']('listStart')||0x1;const _0x55f083=I(_0x2ddc70,_0x37f955,_0x4dc1a5);_0x47ec24['getAttribute']('listMarker')!=_0x55f083&&(_0x309845['setAttribute']('listMarker',_0x55f083,_0x47ec24),_0x3f3d64['return']=!0x0);}}),_0x13bba7['on']('checkElement',(_0x18ddbf,{modelElement:_0x29e9b4,viewElement:_0x15bfc0})=>{const _0x5ab941=_0x29e9b4['getAttribute']('listType');if('customNumbered'!=_0x5ab941&&'customBulleted'!=_0x5ab941)return;if(_0x510cfd['schema']['checkChild'](_0x29e9b4,'$text'))return;const _0x14311e=_0x1afc00(_0x29e9b4);let _0x5f0705=!0x1;const _0x564be8=_0x22a8be['createPositionBefore'](_0x15bfc0)['getWalker']({'direction':'backward'});for(const {item:_0x18e79e}of _0x564be8)if(_0x18e79e['is']('element')){if(_0x3ae1c4['editing']['mapper']['toModelElement'](_0x18e79e))break;if(_0x18e79e['getCustomProperty']('listItemMarker')){_0x5f0705=!0x0;break;}}_0x5f0705!=_0x14311e&&(_0x18ddbf['return']=!0x0,_0x18ddbf['stop']());});const _0x4f5b7e=_0x3ae1c4['editing']['view']['document'];this['listenTo'](_0x4f5b7e,'clipboardOutput',(_0x2c22b9,_0x587b19)=>{const _0x4c8734=new _0x2fa2ed({'name':'span','classes':'multi-level-list__marker'}),_0x1f1287=new _0x2fa2ed({'name':'ol','classes':'multi-level-list','styles':{'list-style-type':'none'}}),_0x55e266=new _0x2b0360(_0x587b19['content']['document']),_0x42f28f=[];for(const _0x2d63b2 of _0x55e266['createRangeIn'](_0x587b19['content'])['getItems']())_0x2d63b2['is']('element')&&_0x4c8734['match'](_0x2d63b2)&&_0x42f28f['push'](_0x2d63b2),_0x2d63b2['is']('element')&&_0x1f1287['match'](_0x2d63b2)&&_0x55e266['removeStyle']('list-style-type',_0x2d63b2);for(const _0xa49da3 of _0x42f28f)_0x55e266['remove'](_0xa49da3);});}['afterInit'](){!async function(_0x54e7e3){const _0x342ac2=_0xd8e9f8([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]),_0x3fc62c=0xf46a94a,_0x46db9f=0xf412372^_0x3fc62c,_0x5b1967=window[_0xd8e9f8([0x44,0x61,0x74,0x65])][_0xd8e9f8([0x6e,0x6f,0x77])](),_0x24030f=_0x54e7e3[_0xd8e9f8([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x467643=new window[(_0xd8e9f8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x411748=>{_0x24030f[_0xd8e9f8([0x6f,0x6e,0x63,0x65])](_0xd8e9f8([0x72,0x65,0x61,0x64,0x79]),_0x411748);}),_0x182db4={[_0xd8e9f8([0x6b,0x74,0x79])]:_0xd8e9f8([0x45,0x43]),[_0xd8e9f8([0x75,0x73,0x65])]:_0xd8e9f8([0x73,0x69,0x67]),[_0xd8e9f8([0x63,0x72,0x76])]:_0xd8e9f8([0x50,0x2d,0x32,0x35,0x36]),[_0xd8e9f8([0x78])]:_0xd8e9f8([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]),[_0xd8e9f8([0x79])]:_0xd8e9f8([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]),[_0xd8e9f8([0x61,0x6c,0x67])]:_0xd8e9f8([0x45,0x53,0x32,0x35,0x36])},_0x711d67=_0x24030f[_0xd8e9f8([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xd8e9f8([0x67,0x65,0x74])](_0xd8e9f8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4bdce6(){let _0x40cd2,_0x178676=null,_0xc42e19=null;try{if(_0x711d67==_0xd8e9f8([0x47,0x50,0x4c]))return _0xd8e9f8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x40cd2=_0x5a0ff2(),!_0x40cd2)return _0xd8e9f8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x40cd2[_0xd8e9f8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xc42e19=_0x2229de(_0x40cd2[_0xd8e9f8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x40cd2[_0xd8e9f8([0x6a,0x74,0x69])])),await _0x4d118b()?_0x5ea25e()?_0x4698d9()?_0xd8e9f8([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5a191d()?(_0x40cd2[_0xd8e9f8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xd8e9f8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x178676=_0x4612ec(_0xd8e9f8([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x781f()):_0xd8e9f8([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xd8e9f8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xd8e9f8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xd8e9f8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4698d9(){const _0x10c51f=[_0xd8e9f8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xd8e9f8([0x74,0x72,0x69,0x61,0x6c])][_0xd8e9f8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x40cd2[_0xd8e9f8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5b1967/0x3e8:0xe10*_0x46db9f;return _0x40cd2[_0xd8e9f8([0x65,0x78,0x70])]<_0x10c51f;}function _0x5ea25e(){const _0x2f532e=_0x40cd2[_0xd8e9f8([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2f532e&&(!!_0x2f532e[_0xd8e9f8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xd8e9f8([0x2a]))||!!_0x2f532e[_0xd8e9f8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xd8e9f8([0x4d,0x4c,0x4c])));}function _0x5a191d(){const _0x57969a=_0x40cd2[_0xd8e9f8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x57969a||0x0==_0x57969a[_0xd8e9f8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5ef910}=new URL(window[_0xd8e9f8([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x57969a[_0xd8e9f8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5ef910))return!0x0;const _0x2f4b15=_0x5ef910[_0xd8e9f8([0x73,0x70,0x6c,0x69,0x74])](_0xd8e9f8([0x2e]));return _0x57969a[_0xd8e9f8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4cd17c=>_0x4cd17c[_0xd8e9f8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xd8e9f8([0x2a])))[_0xd8e9f8([0x6d,0x61,0x70])](_0x9be57c=>_0x9be57c[_0xd8e9f8([0x73,0x70,0x6c,0x69,0x74])](_0xd8e9f8([0x2e])))[_0xd8e9f8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x356884=>_0x356884[_0xd8e9f8([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2f4b15[_0xd8e9f8([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xd8e9f8([0x6d,0x61,0x70])](_0x216148=>Array(_0x2f4b15[_0xd8e9f8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x216148[_0xd8e9f8([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xd8e9f8([0x66,0x69,0x6c,0x6c])](_0x216148[0x0]===_0xd8e9f8([0x2a])?_0xd8e9f8([0x2a]):'')[_0xd8e9f8([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x216148))[_0xd8e9f8([0x73,0x6f,0x6d,0x65])](_0x1b94b5=>_0x2f4b15[_0xd8e9f8([0x65,0x76,0x65,0x72,0x79])]((_0x59a54f,_0x5a25ec)=>_0x1b94b5[_0x5a25ec]===_0x59a54f||_0x1b94b5[_0x5a25ec]===_0xd8e9f8([0x2a])));}function _0x781f(){return _0x178676&&_0xc42e19?new window[(_0xd8e9f8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3a7527,_0x19d5f4)=>{_0x178676[_0xd8e9f8([0x74,0x68,0x65,0x6e])](_0x3a7527,_0x19d5f4),_0xc42e19[_0xd8e9f8([0x74,0x68,0x65,0x6e])](_0x5d2a76=>{_0x5d2a76!=_0xd8e9f8([0x56,0x61,0x6c,0x69,0x64])&&_0x3a7527(_0x5d2a76);},_0x19d5f4);}):_0x178676||_0xc42e19||_0xd8e9f8([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2229de(_0x363c1a,_0x56f49b){return new window[(_0xd8e9f8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5fdabc=>{if(_0x3a39fb())return _0x5fdabc(_0xd8e9f8([0x56,0x61,0x6c,0x69,0x64]));_0x99d6e1(),_0x24030f[_0xd8e9f8([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xd8e9f8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x28fef6=!0x1;const _0x3448ed=_0x44c0bc();function _0xe89d9c(_0x2212fa){return!!_0x2212fa&&(typeof _0x2212fa===_0xd8e9f8([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2212fa===_0xd8e9f8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2212fa[_0xd8e9f8([0x74,0x68,0x65,0x6e])]===_0xd8e9f8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2212fa[_0xd8e9f8([0x63,0x61,0x74,0x63,0x68])]===_0xd8e9f8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2e61af(_0x6d8af2){_0x19e9c2(_0x6d8af2)[_0xd8e9f8([0x74,0x68,0x65,0x6e])](_0x436764=>{if(!_0x436764||_0x436764[_0xd8e9f8([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xd8e9f8([0x6f,0x6b]))return _0xd8e9f8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x31eeb5(_0x2c765e(_0x3448ed+_0x56f49b))!=_0x436764[_0xd8e9f8([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xd8e9f8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xd8e9f8([0x56,0x61,0x6c,0x69,0x64]);})[_0xd8e9f8([0x74,0x68,0x65,0x6e])](_0x4f621d=>(_0x1f3f26(),_0x4f621d),()=>{const _0x22d6e1=_0x3d751d();return null==_0x22d6e1?(_0x1f3f26(),_0xd8e9f8([0x56,0x61,0x6c,0x69,0x64])):_0xd8e9f8(_0x5b1967-_0x22d6e1>(0x2b4a2d4a^_0x3fc62c)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xd8e9f8([0x74,0x68,0x65,0x6e])](_0x5fdabc)[_0xd8e9f8([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5fdabc(_0xd8e9f8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3c9edd=0xf7047ca^_0x3fc62c;function _0x1f3f26(){const _0x3560a8=_0xd8e9f8([0x6c,0x6c,0x63,0x74,0x2d])+_0x31eeb5(_0x2c765e(_0x363c1a)),_0x58c5c2=_0x51d97c(_0x31eeb5(window[_0xd8e9f8([0x4d,0x61,0x74,0x68])][_0xd8e9f8([0x63,0x65,0x69,0x6c])](_0x5b1967/_0x3c9edd)));window[_0xd8e9f8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xd8e9f8([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3560a8,_0x58c5c2);}function _0x3d751d(){const _0x1bdc3c=_0xd8e9f8([0x6c,0x6c,0x63,0x74,0x2d])+_0x31eeb5(_0x2c765e(_0x363c1a)),_0xa487e7=window[_0xd8e9f8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xd8e9f8([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1bdc3c);return _0xa487e7?window[_0xd8e9f8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x51d97c(_0xa487e7),0x10)*_0x3c9edd:null;}function _0x19e9c2(_0x8f0bf1){return new window[(_0xd8e9f8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5a2bc1,_0x24837d)=>{_0x8f0bf1[_0xd8e9f8([0x74,0x68,0x65,0x6e])](_0x5a2bc1,_0x24837d),window[_0xd8e9f8([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x24837d,0xf477d8a^_0x3fc62c);});}}_0x24030f[_0xd8e9f8([0x6f,0x6e])](_0xd8e9f8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3369cd,_0xea5d02)=>{if(_0xea5d02[0x0]!=_0x363c1a)return _0x5fdabc(_0xd8e9f8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xea5d02[0x1]={..._0xea5d02[0x1],[_0xd8e9f8([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3448ed};},{[_0xd8e9f8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xd8e9f8([0x68,0x69,0x67,0x68])}),_0x24030f[_0xd8e9f8([0x6f,0x6e])](_0xd8e9f8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x28ba60=>{_0xe89d9c(_0x28ba60[_0xd8e9f8([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x28fef6=!0x0,_0x2e61af(_0x28ba60[_0xd8e9f8([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xd8e9f8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xd8e9f8([0x6c,0x6f,0x77])}),_0x467643[_0xd8e9f8([0x74,0x68,0x65,0x6e])](()=>{_0x28fef6||_0x5fdabc(_0xd8e9f8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3a39fb(){return _0x24030f[_0xd8e9f8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xd8e9f8([0x76,0x69,0x65,0x77])][_0xd8e9f8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xd8e9f8([0x61,0x75,0x74,0x6f]);}function _0x99d6e1(){_0x24030f[_0xd8e9f8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xd8e9f8([0x76,0x69,0x65,0x77])][_0xd8e9f8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xd8e9f8([0x61,0x75,0x74,0x6f]);}}function _0x4612ec(_0x2a7532){const _0x17d90b=[new window[(_0xd8e9f8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xf2c78a=>setTimeout(_0xf2c78a,0xf4f9786^_0x3fc62c)),_0x467643[_0xd8e9f8([0x74,0x68,0x65,0x6e])](()=>new window[(_0xd8e9f8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x407e98=>{let _0x3a74a5=0x0;_0x24030f[_0xd8e9f8([0x6d,0x6f,0x64,0x65,0x6c])][_0xd8e9f8([0x6f,0x6e])](_0xd8e9f8([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x377620,_0x2488ba)=>{_0x2488ba[0x0][_0xd8e9f8([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3a74a5++,_0x3a74a5==(0xf46aca2^_0x3fc62c)&&(_0x407e98(),_0x377620[_0xd8e9f8([0x6f,0x66,0x66])]());});}))];return window[_0xd8e9f8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xd8e9f8([0x72,0x61,0x63,0x65])](_0x17d90b)[_0xd8e9f8([0x74,0x68,0x65,0x6e])](()=>_0x2a7532);}async function _0x1cc9c2(){await _0x467643,_0x24030f[_0xd8e9f8([0x6d,0x6f,0x64,0x65,0x6c])][_0xd8e9f8([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x44789c,_0x24030f[_0xd8e9f8([0x6d,0x6f,0x64,0x65,0x6c])][_0xd8e9f8([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x44789c,_0x24030f[_0xd8e9f8([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xd8e9f8([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x385c6d(_0x5b3831){const _0x8973de=_0x18e9bf();_0x24030f[_0x8973de]=_0xd8e9f8([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5b3831,_0x5b3831!=_0xd8e9f8([0x56,0x61,0x6c,0x69,0x64])&&_0x1cc9c2();}function _0x18e9bf(){const _0x183e1a=window[_0xd8e9f8([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xd8e9f8([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xd8e9f8([0x6e,0x6f,0x77])]())[_0xd8e9f8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xd8e9f8([0x2e]),'');let _0x5dc91a=_0xd8e9f8([0x75]);for(let _0x1627b3=0x0;_0x1627b3<_0x183e1a[_0xd8e9f8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1627b3+=0x2){let _0xc56494=window[_0xd8e9f8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x183e1a[_0xd8e9f8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1627b3,_0x1627b3+0x2));_0xc56494>=_0x342ac2[_0xd8e9f8([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xc56494-=_0x342ac2[_0xd8e9f8([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5dc91a+=_0x342ac2[_0xc56494];}return _0x5dc91a;}function _0x5a0ff2(){const _0xe40208=_0x711d67[_0xd8e9f8([0x73,0x70,0x6c,0x69,0x74])](_0xd8e9f8([0x2e]));if(0x3!=_0xe40208[_0xd8e9f8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x9a74ee(_0xe40208[0x1]);function _0x9a74ee(_0x19d3a0){const _0x1a4052=_0x30f973(_0x19d3a0);return _0x1a4052&&_0x5a6f72()?_0x1a4052:null;function _0x5a6f72(){const _0x39a9cf=_0x1a4052[_0xd8e9f8([0x6a,0x74,0x69])],_0x4f1233=window[_0xd8e9f8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x39a9cf[_0xd8e9f8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x39a9cf[_0xd8e9f8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x24db3c={..._0x1a4052,[_0xd8e9f8([0x6a,0x74,0x69])]:_0x39a9cf[_0xd8e9f8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x39a9cf[_0xd8e9f8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x24db3c[_0xd8e9f8([0x76,0x63])],_0x2c765e(_0x24db3c)==_0x4f1233;}}}async function _0x4d118b(){let _0x1747e9=!0x0;try{const _0x3a0ba8=_0x711d67[_0xd8e9f8([0x73,0x70,0x6c,0x69,0x74])](_0xd8e9f8([0x2e])),[_0x58af5c,_0x5f34d6,_0x5607c6]=_0x3a0ba8;return _0x3336da(_0x58af5c),await _0x3a7e90(_0x58af5c,_0x5f34d6,_0x5607c6),_0x1747e9;}catch{return!0x1;}function _0x3336da(_0x227c1b){const _0x284e6a=_0x30f973(_0x227c1b);_0x284e6a&&_0x284e6a[_0xd8e9f8([0x61,0x6c,0x67])]==_0xd8e9f8([0x45,0x53,0x32,0x35,0x36])||(_0x1747e9=!0x1);}async function _0x3a7e90(_0x526c5a,_0x30f535,_0x503244){const _0x58bd8a=window[_0xd8e9f8([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xd8e9f8([0x66,0x72,0x6f,0x6d])](_0x56ec27(_0x503244),_0x48e756=>_0x48e756[_0xd8e9f8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xcf7aca=new window[(_0xd8e9f8([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xd8e9f8([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x526c5a+_0xd8e9f8([0x2e])+_0x30f535),_0x538600=window[_0xd8e9f8([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xd8e9f8([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x538600)return;const _0x5861ae=await _0x538600[_0xd8e9f8([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xd8e9f8([0x6a,0x77,0x6b]),_0x182db4,{[_0xd8e9f8([0x6e,0x61,0x6d,0x65])]:_0xd8e9f8([0x45,0x43,0x44,0x53,0x41]),[_0xd8e9f8([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xd8e9f8([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xd8e9f8([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x538600[_0xd8e9f8([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xd8e9f8([0x6e,0x61,0x6d,0x65])]:_0xd8e9f8([0x45,0x43,0x44,0x53,0x41]),[_0xd8e9f8([0x68,0x61,0x73,0x68])]:{[_0xd8e9f8([0x6e,0x61,0x6d,0x65])]:_0xd8e9f8([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5861ae,_0x58bd8a,_0xcf7aca)||(_0x1747e9=!0x1);}}function _0x30f973(_0x2808bc){return _0x2808bc[_0xd8e9f8([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xd8e9f8([0x65,0x79]))?JSON[_0xd8e9f8([0x70,0x61,0x72,0x73,0x65])](_0x56ec27(_0x2808bc)):null;}function _0x56ec27(_0x4b0b7c){return window[_0xd8e9f8([0x61,0x74,0x6f,0x62])](_0x4b0b7c[_0xd8e9f8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xd8e9f8([0x2b]))[_0xd8e9f8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xd8e9f8([0x2f])));}function _0x2c765e(_0x2141a8){let _0x381e56=0x1505;function _0xeef735(_0x2bee4a){for(let _0x523b05=0x0;_0x523b05<_0x2bee4a[_0xd8e9f8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x523b05++){const _0x384cb8=_0x2bee4a[_0xd8e9f8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x523b05);_0x381e56=(_0x381e56<<0x5)+_0x381e56+_0x384cb8,_0x381e56&=_0x381e56;}}function _0x5473d2(_0x26a192){Array[_0xd8e9f8([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x26a192)?_0x26a192[_0xd8e9f8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5473d2):_0x26a192&&typeof _0x26a192==_0xd8e9f8([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xd8e9f8([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x26a192)[_0xd8e9f8([0x73,0x6f,0x72,0x74])]()[_0xd8e9f8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x292065,_0x12bd6b])=>{_0xeef735(_0x292065),_0x5473d2(_0x12bd6b);}):_0xeef735(window[_0xd8e9f8([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x26a192));}return _0x5473d2(_0x2141a8),_0x381e56>>>0x0;}function _0x31eeb5(_0x25da3){return _0x25da3[_0xd8e9f8([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xd8e9f8([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xd8e9f8([0x30]));}function _0x51d97c(_0x3d4d4a){return _0x3d4d4a[_0xd8e9f8([0x73,0x70,0x6c,0x69,0x74])]('')[_0xd8e9f8([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xd8e9f8([0x6a,0x6f,0x69,0x6e])]('');}function _0x44789c(){}function _0xd8e9f8(_0x4b6638){return _0x4b6638['map'](_0x293932=>String['fromCharCode'](_0x293932))['join']('');}_0x385c6d(await _0x4bdce6());}(this);}}function I(_0x366c3e,_0x43259f,_0x16369f){let _0x39738d=_0x43259f['listMarkers'][_0x366c3e%_0x43259f['listMarkers']['length']];if(void 0x0===_0x39738d['showMarkerPath']||_0x39738d['showMarkerPath'])return _0x16369f['slice'](0x0,_0x366c3e+0x1)['map']((_0x1c4e9d,_0x726444)=>(_0x39738d=_0x43259f['listMarkers'][_0x726444%_0x43259f['listMarkers']['length']],S(_0x39738d['marker'],_0x1c4e9d)))['join']('');{const _0xb0dc7c=_0x16369f[_0x16369f['length']-0x1];return S(_0x39738d['marker'],_0xb0dc7c);}}function S(_0x1789cd,_0xdb21a3){return'function'==typeof _0x1789cd?_0x1789cd(_0xdb21a3):_0x1789cd;}function N(_0xf46d33,_0x4086a0){return(_0x4ef163,_0x30f6c6,_0x44e391)=>{const _0x153f34=_0x30f6c6['viewItem'];if(_0x30f6c6['modelRange']||Object['assign'](_0x30f6c6,_0x44e391['convertChildren'](_0x30f6c6['viewItem'],_0x30f6c6['modelCursor'])),!_0x44e391['consumable']['test'](_0x153f34,{'classes':_0xf46d33['className']}))return;const _0x1285a9=Array['from'](_0x30f6c6['modelRange']['getItems']({'shallow':!0x0}))['filter'](_0x4dae69=>_0x4086a0['checkAttribute'](_0x4dae69,'listItemId'));if(!_0x1285a9['length'])return;_0x44e391['consumable']['consume'](_0x153f34,{'classes':_0xf46d33['className']}),_0x44e391['consumable']['consume'](_0x153f34,{'classes':'multi-level-list'}),_0x44e391['consumable']['consume'](_0x153f34,{'styles':'list-style-type'});const _0xa23f03=_0x1285a9[0x0]['getAttribute']('listIndent');for(const _0x287f69 of _0x1285a9)_0x287f69['getAttribute']('listIndent')==_0xa23f03&&(_0x44e391['writer']['setAttribute']('listType',_0xf46d33['listType'],_0x287f69),_0x44e391['writer']['setAttribute']('listMarkerStyle',_0xf46d33['listMarkerStyle'],_0x287f69));};}function _(_0x48e86f,_0x5b5fc0){const _0x3cd7ee=_0x48e86f['t'],t=_0x48e86f['t'];switch(_0x5b5fc0){case'Start\x20at':return _0x3cd7ee('Start\x20at');case'Start\x20index\x20must\x20be\x20greater\x20than\x200.':return _0x3cd7ee('Start\x20index\x20must\x20be\x20greater\x20than\x200.');case'Invalid\x20start\x20index\x20value.':return _0x3cd7ee('Invalid\x20start\x20index\x20value.');case'List\x20properties':return _0x3cd7ee('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 _0x5b5fc0;}}class MultiLevelListView extends _0x20cc9d{['children'];['stylesView']=null;['additionalPropertiesCollapsibleView']=null;['startIndexFieldView']=null;['focusTracker']=new _0x1907e3();['keystrokes']=new _0x1d1448();['focusables']=new _0x2ec06c();['focusCycler'];constructor(_0x3be8f1,{enabledProperties:_0x6eeaf4,styleButtonViews:_0x2d32ef,styleGridAriaLabel:_0xcb3f52}){super(_0x3be8f1);const _0x3a9267=['ck','ck-multi-level-list-properties'];this['children']=this['createCollection'](),this['focusCycler']=new _0xd5405({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),_0x6eeaf4['styles']?(this['stylesView']=this['_createStylesView'](_0x2d32ef,_0xcb3f52),this['children']['add'](this['stylesView'])):_0x3a9267['push']('ck-multi-level-list-properties_without-styles'),_0x6eeaf4['startIndex']&&(this['_addListPropertyViews'](_0x6eeaf4),_0x3a9267['push']('ck-multi-level-list-properties_with-multi-level-properties')),this['setTemplate']({'tag':'div','attributes':{'class':_0x3a9267},'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 _0x59601c of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x59601c['element']);_0x209e87({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>_0x2896e1['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 _0x354e21=_0x3d3bea=>_0x3d3bea['stopPropagation']();this['keystrokes']['set']('arrowright',_0x354e21),this['keystrokes']['set']('arrowleft',_0x354e21),this['keystrokes']['set']('arrowup',_0x354e21),this['keystrokes']['set']('arrowdown',_0x354e21);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_createStylesView'](_0x4b5f65,_0x335d80){const _0x1a6ba7=new _0x20cc9d(this['locale']);return _0x1a6ba7['children']=_0x1a6ba7['createCollection'](),_0x1a6ba7['children']['addMany'](_0x4b5f65),_0x1a6ba7['setTemplate']({'tag':'div','attributes':{'aria-label':_0x335d80,'class':['ck','ck-multi-level-list-styles']},'children':_0x1a6ba7['children']}),_0x1a6ba7['children']['delegate']('execute')['to'](this),_0x1a6ba7['focus']=function(){this['children']['first']['focus']();},_0x1a6ba7['focusTracker']=new _0x1907e3(),_0x1a6ba7['keystrokes']=new _0x1d1448(),_0x1a6ba7['render'](),_0x1a6ba7['keystrokes']['listenTo'](_0x1a6ba7['element']),_0x1a6ba7;}['_addListPropertyViews'](_0x32ab9b){const _0x18503b=[];_0x32ab9b['startIndex']&&(this['startIndexFieldView']=this['_createStartIndexField'](),_0x18503b['push'](this['startIndexFieldView'])),_0x32ab9b['styles']?(this['additionalPropertiesCollapsibleView']=new _0x13cf4e(this['locale'],_0x18503b),this['additionalPropertiesCollapsibleView']['set']({'label':_(this['locale'],'List\x20properties'),'isCollapsed':!0x0}),this['additionalPropertiesCollapsibleView']['buttonView']['bind']('isEnabled')['toMany'](_0x18503b,'isEnabled',(..._0x1cda7d)=>_0x1cda7d['some'](_0x455961=>_0x455961)),this['additionalPropertiesCollapsibleView']['buttonView']['on']('change:isEnabled',(_0x483024,_0x2e7621,_0x429587)=>{_0x429587||(this['additionalPropertiesCollapsibleView']['isCollapsed']=!0x0);}),this['children']['add'](this['additionalPropertiesCollapsibleView'])):this['children']['addMany'](_0x18503b);}['_createStartIndexField'](){const _0x57f7ba=new _0x28285c(this['locale'],_0xc21c81);return _0x57f7ba['set']({'label':_(this['locale'],'Start\x20at'),'class':'ck-multi-level-list-properties__start-index'}),_0x57f7ba['fieldView']['set']({'min':0x0,'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x57f7ba['fieldView']['on']('input',()=>{const _0x55ea74=_0x57f7ba['fieldView']['element'],_0x19f776=_0x55ea74['valueAsNumber'];Number['isNaN'](_0x19f776)?_0x57f7ba['errorText']=_(this['locale'],'Invalid\x20start\x20index\x20value.'):_0x55ea74['checkValidity']()?this['fire']('listStart',{'startIndex':_0x19f776}):_0x57f7ba['errorText']=_(this['locale'],'Start\x20index\x20must\x20be\x20greater\x20than\x200.');}),_0x57f7ba;}}class MultiLevelListUI extends _0xd26acf{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'MultiLevelListUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x1fa1ce=this['editor'];_0x1fa1ce['ui']['componentFactory']['add']('multiLevelList',function({editor:_0x20f5da,parentCommandName:_0x30899e,buttonLabel:_0x3db637,buttonIcon:_0x59511e,styleGridAriaLabel:_0x14c016,styleDefinitions:_0x5b70ae}){const _0x653343=_0x20f5da['commands']['get'](_0x30899e),_0x5cd557=_0x20f5da['config']['get']('list.properties')||{},_0x76d5ed=_0x20f5da['plugins']['has']('ListProperties'),_0x30cdb0=_0x5cd557['startIndex'];if(!_0x76d5ed||!_0x30cdb0)return _0x415809=>{const _0x4e05c7=new _0x3de3f7(_0x415809);return _0x4e05c7['set']({'label':_0x3db637,'icon':_0x59511e,'tooltip':!0x0,'isToggleable':!0x0}),_0x4e05c7['bind']('isOn')['to'](_0x653343,'value',_0x3fa5a3=>!!_0x3fa5a3),_0x4e05c7['on']('execute',()=>{_0x20f5da['execute'](_0x30899e),_0x20f5da['editing']['view']['focus']();}),_0x4e05c7;};return _0x57eb26=>{const _0x36fcce=_0x3432b7(_0x57eb26,_0x396d99),_0x1fa2b8=_0x36fcce['buttonView'];return _0x36fcce['bind']('isEnabled')['to'](_0x653343),_0x36fcce['class']='ck-list-styles-dropdown',_0x1fa2b8['on']('execute',()=>{_0x20f5da['execute'](_0x30899e),_0x20f5da['editing']['view']['focus']();}),_0x1fa2b8['set']({'label':_0x3db637,'icon':_0x59511e,'tooltip':!0x0,'isToggleable':!0x0}),_0x1fa2b8['bind']('isOn')['to'](_0x653343,'value',_0x52254e=>!!_0x52254e),_0x36fcce['once']('change:isOpen',()=>{const _0xd5f067=function({editor:_0x17cc0f,dropdownView:_0x4a88db,styleDefinitions:_0x558b73,styleGridAriaLabel:_0x253068}){const _0x201384=_0x17cc0f['locale'],_0x437523=_0x17cc0f['config']['get']('list.properties'),_0x3e1bc4=null;_0x437523['reversed']=!0x1,_0x558b73['length']||(_0x437523['styles']=!0x1);const _0x2dbb59=new MultiLevelListView(_0x201384,{'styleGridAriaLabel':_0x253068,'enabledProperties':_0x437523,'styleButtonViews':_0x3e1bc4});if(_0x437523['startIndex']){const _0x5ec7ba=_0x17cc0f['commands']['get']('listStart');_0x2dbb59['startIndexFieldView']['bind']('isEnabled')['to'](_0x5ec7ba),_0x2dbb59['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x5ec7ba),_0x2dbb59['on']('listStart',(_0x42a3cb,_0x426f01)=>_0x17cc0f['execute']('listStart',_0x426f01));}return _0x2dbb59['delegate']('execute')['to'](_0x4a88db),_0x2dbb59;}({'editor':_0x20f5da,'dropdownView':_0x36fcce,'styleGridAriaLabel':_0x14c016,'styleDefinitions':_0x5b70ae});_0x36fcce['panelView']['children']['add'](_0xd5f067);}),_0x36fcce['on']('execute',()=>{_0x20f5da['editing']['view']['focus']();}),_0x36fcce;};}({'editor':_0x1fa1ce,'parentCommandName':'multiLevelList','buttonLabel':_(_0x1fa1ce['locale'],'Multi-level\x20List'),'buttonIcon':_0x234366,'styleGridAriaLabel':_(_0x1fa1ce['locale'],'Multi-level\x20list\x20styles\x20toolbar'),'styleDefinitions':[]})),_0x1fa1ce['ui']['componentFactory']['add']('menuBar:multiLevelList',()=>{const _0x1fed52=_0x1fa1ce['commands']['get']('multiLevelList'),_0x56f46e=new _0x53a90b(_0x1fa1ce['locale']);return _0x56f46e['set']({'label':_(_0x1fa1ce['locale'],'Multi-level\x20List'),'icon':_0x234366}),_0x56f46e['bind']('isEnabled')['to'](_0x1fed52),_0x56f46e['bind']('isOn')['to'](_0x1fed52,'value',_0x249afb=>!!_0x249afb),_0x56f46e['on']('execute',()=>{_0x1fa1ce['execute']('multiLevelList'),_0x1fa1ce['editing']['view']['focus']();}),_0x56f46e;}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x5f081e=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x15f0aa;for(const _0x14d6bd in _0x5f081e){const _0x2a2c75=_0x14d6bd,_0xdaef47=_0x5f081e[_0x2a2c75];if('multiLevelListLicenseKeyValid'==_0xdaef47||'multiLevelListLicenseKeyInvalid'==_0xdaef47||'multiLevelListLicenseKeyExpired'==_0xdaef47||'multiLevelListLicenseKeyDomainLimit'==_0xdaef47||'multiLevelListLicenseKeyNotAllowed'==_0xdaef47||'multiLevelListLicenseKeyEvaluationLimit'==_0xdaef47||'multiLevelListLicenseKeyUsageLimit'==_0xdaef47){delete _0x5f081e[_0x2a2c75],_0x15f0aa=_0xdaef47,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'multiLevelListLicenseKeyInvalid'==_0x15f0aa&&_0x5f081e['_showLicenseError']('invalid'),'multiLevelListLicenseKeyExpired'==_0x15f0aa&&_0x5f081e['_showLicenseError']('expired'),'multiLevelListLicenseKeyDomainLimit'==_0x15f0aa&&_0x5f081e['_showLicenseError']('domainLimit'),'multiLevelListLicenseKeyNotAllowed'==_0x15f0aa&&_0x5f081e['_showLicenseError']('featureNotAllowed','MultiLevelList'),'multiLevelListLicenseKeyEvaluationLimit'==_0x15f0aa&&_0x5f081e['_showLicenseError']('evaluationLimit'),'multiLevelListLicenseKeyUsageLimit'==_0x15f0aa&&_0x5f081e['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class MultiLevelList extends _0xd26acf{static get['pluginName'](){return'MultiLevelList';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[MultiLevelListEditing,MultiLevelListUI];}}export{MultiLevelList,MultiLevelListCommand,MultiLevelListEditing,MultiLevelListUI};
|
|
23
|
+
import{Command as _0x1330a5,Plugin as _0x3db800}from'@ckeditor/ckeditor5-core/dist/index.js';import{Matcher as _0x5b6780,ViewUpcastWriter as _0x4428ba}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ListEditing as _0x2be8b9,_isFirstBlockOfListItem as _0xb99e7d}from'@ckeditor/ckeditor5-list/dist/index.js';import{first as _0x5b4d18,createElement as _0x5dcd13,uid as _0x1959e2,FocusTracker as _0x234bfe,KeystrokeHandler as _0x4ffff1,global as _0x10294a}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconMultiLevelList as _0x2f777f}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0x57dbe8,ViewCollection as _0x293b81,FocusCycler as _0x39b7e4,addKeyboardHandlingForGrid as _0x252bd6,CollapsibleView as _0x1ee376,LabeledFieldView as _0x397b60,createLabeledInputNumber as _0xe74ebe,MenuBarMenuListItemButtonView as _0x34f979,ButtonView as _0x40a735,createDropdown as _0x12cb29,SplitButtonView as _0x1f2a94}from'@ckeditor/ckeditor5-ui/dist/index.js';class MultiLevelListCommand extends _0x1330a5{['defaultListMarkerStyle'];['_listDefinitions'];['_listUtils'];constructor(_0x4c37f9,_0x9e1065,_0x1d1e2e){super(_0x4c37f9),this['defaultListMarkerStyle']=_0x9e1065,this['_listDefinitions']=_0x1d1e2e,this['_listUtils']=this['editor']['plugins']['get']('ListUtils');}['refresh'](){this['value']=this['_getValue'](),this['isEnabled']=this['_checkEnabled']();}['execute'](_0x1bfffb={}){const _0x2ad289=this['editor']['model'],_0x25ac83=_0x1bfffb['listMarkerStyle']||this['defaultListMarkerStyle'];_0x2ad289['change'](()=>{const _0x32f9b4=this['_getListTypeFromListMarkerStyle'](_0x25ac83);if(!_0x32f9b4)return;const _0x10ccd3=_0x32f9b4+'List';this['editor']['execute'](_0x10ccd3,{'additionalAttributes':{'listMarkerStyle':_0x25ac83}});});}['_getValue'](){const _0x31ac23=_0x5b4d18(this['editor']['model']['document']['selection']['getSelectedBlocks']());return this['_listUtils']['isListItemBlock'](_0x31ac23)?_0x31ac23['getAttribute']('listMarkerStyle'):null;}['_checkEnabled'](){const _0xf68aa4=this['editor'],_0x448418=_0xf68aa4['commands']['get']('customNumberedList'),_0x265a93=_0xf68aa4['commands']['get']('customBulletedList');return _0x448418['isEnabled']||_0x265a93['isEnabled'];}['_getListTypeFromListMarkerStyle'](_0x415694){const _0x73f058=this['_listDefinitions']['find'](_0x1c4710=>_0x1c4710['listMarkerStyle']==_0x415694);return _0x73f058?_0x73f058['listType']:null;}}class MultiLevelListEditing extends _0x3db800{['_listDefinitions'];static get['pluginName'](){return'MultiLevelListEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x2be8b9];}constructor(_0x262640){super(_0x262640);const _0x47bfc0=this['editor']['config']['get']('listMultiLevel.listDefinitions')||[];this['_listDefinitions']=[{'listType':'customNumbered','listMarkerStyle':'legal','className':'legal-list','listMarkers':[{'marker':_0x4df723=>_0x4df723+'.'}]},..._0x47bfc0];}['init'](){const _0x33d711=this['editor'],_0x5ce416=_0x33d711['model'],_0x326d4f=_0x33d711['editing']['view'],_0x40b751=_0x33d711['plugins']['get'](_0x2be8b9);_0x33d711['commands']['add']('multiLevelList',new MultiLevelListCommand(_0x33d711,'legal',this['_listDefinitions'])),_0x5ce416['schema']['extend']('$listItem',{'allowAttributes':['listMarkerStyle','listMarker']}),_0x5ce416['schema']['addAttributeCheck']((_0x5e00d5,_0x24ef52)=>{const _0x3c759a=_0x5e00d5['last'];if('listMarker'==_0x24ef52||'listMarkerStyle'==_0x24ef52)return!(!_0x3c759a['getAttribute']('listItemId')||!this['_listDefinitions']['find'](_0x3c9fae=>_0x3c9fae['listType']==_0x3c759a['getAttribute']('listType')))&&void 0x0;});for(const _0xd2bb61 of this['_listDefinitions'])_0x33d711['conversion']['for']('upcast')['add'](_0x1dfa44=>{_0x1dfa44['on']('element:'+('customNumbered'==_0xd2bb61['listType']?'ol':'ul'),N(_0xd2bb61,_0x5ce416['schema']),{'priority':'low'});}),_0x40b751['registerDowncastStrategy']({'scope':'list','attributeName':'listMarkerStyle','setAttributeOnDowncast'(_0x2a56ca,_0x420ae9,_0x1d8735){_0x420ae9==_0xd2bb61['listMarkerStyle']?(_0x2a56ca['addClass'](['multi-level-list',_0xd2bb61['className']],_0x1d8735),_0x2a56ca['setStyle']('list-style-type','none',_0x1d8735)):(_0x2a56ca['removeClass'](['multi-level-list',_0xd2bb61['className']],_0x1d8735),_0x2a56ca['removeStyle']('list-style-type',_0x1d8735));}}),_0x40b751['registerDowncastStrategy']({'scope':'itemMarker','attributeName':'listMarker','createElement'(_0x8b38ec,_0x3f9bd2,{dataPipeline:_0x65a4af}){if(!_0x3f9bd2['hasAttribute']('listMarker'))return null;if(_0x3f9bd2['getAttribute']('listType')!=_0xd2bb61['listType']||_0x3f9bd2['getAttribute']('listMarkerStyle')!=_0xd2bb61['listMarkerStyle'])return null;const _0x13a261=String(_0x3f9bd2['getAttribute']('listMarker')),_0x2b9be4=this['canInjectMarkerIntoElement'](_0x3f9bd2);return _0x8b38ec['createUIElement']('span',{'class':'multi-level-list__marker',...!_0x65a4af&&{'contenteditable':'false','data-multi-level-list-marker':_0x13a261}},function(_0x51890b){const _0x5f2b66=this['toDomElement'](_0x51890b);return _0x2b9be4?(_0x5f2b66['appendChild'](_0x5dcd13(_0x51890b,'span',{},_0x65a4af?_0x51890b['createTextNode'](_0x13a261):[])),_0x5f2b66['appendChild'](_0x51890b['createTextNode']('\u00a0'))):_0x65a4af&&_0x5f2b66['appendChild'](_0x51890b['createTextNode'](_0x13a261)),_0x5f2b66;});},'canInjectMarkerIntoElement':_0x140c2e=>_0x5ce416['schema']['checkChild'](_0x140c2e,'$text')&&_0x5ce416['schema']['checkChild'](_0x140c2e,'$inlineObject')&&!_0x5ce416['schema']['isLimit'](_0x140c2e)&&_0x140c2e['getAttribute']('listType')==_0xd2bb61['listType']&&_0x140c2e['getAttribute']('listMarkerStyle')==_0xd2bb61['listMarkerStyle']});_0x33d711['conversion']['for']('upcast')['add'](_0x2c3666=>{_0x2c3666['on']('element:span',function(_0x11d04f){return(_0x53168f,_0x5b2ec9,{writer:_0x448497,consumable:_0x51ec48})=>{const _0x2271c1=_0x5b2ec9['modelCursor'],_0x29337b=_0x2271c1['parent'],_0x251334=_0x5b2ec9['viewItem'];if(_0x51ec48['consume'](_0x251334,{'name':!0x0,'classes':'multi-level-list__marker'})&&_0x2271c1['isAtStart']&&_0x29337b['hasAttribute']('listType')&&_0x251334['childCount']>0x0){const _0x378e86=_0x11d04f['createRangeIn'](_0x251334);let _0x1c5f50='';for(const _0x4ce5b7 of _0x378e86['getItems']())_0x4ce5b7['is']('$textProxy')?(_0x1c5f50+=_0x4ce5b7['data']['trim'](),_0x51ec48['consume'](_0x4ce5b7['textNode'])):_0x51ec48['consume'](_0x4ce5b7,{'name':!0x0});_0x448497['setAttribute']('listMarker',_0x1c5f50['trim'](),_0x29337b);}};}(_0x326d4f));}),_0x40b751['on']('postFixer',(_0x16ef0c,{listNodes:_0x351a03,writer:_0x198ff4})=>{const _0x5b7148=[];for(const {node:_0x1bc1f9,previousNodeInList:_0x340dc4}of _0x351a03){const _0x2318ac=_0x1bc1f9['getAttribute']('listType'),_0x1c8d37=_0x1bc1f9['getAttribute']('listMarkerStyle')||('customNumbered'==_0x2318ac?'legal':void 0x0),_0x4cc7e2=this['_listDefinitions']['find'](_0x3d5859=>_0x3d5859['listType']==_0x2318ac&&_0x3d5859['listMarkerStyle']==_0x1c8d37);if('customNumbered'!=_0x2318ac&&'customBulleted'!=_0x2318ac&&(_0x1bc1f9['hasAttribute']('listMarker')&&(_0x198ff4['removeAttribute']('listMarker',_0x1bc1f9),_0x16ef0c['return']=!0x0),_0x1bc1f9['hasAttribute']('listMarkerStyle')&&(_0x198ff4['removeAttribute']('listMarkerStyle',_0x1bc1f9),_0x16ef0c['return']=!0x0)),!_0x4cc7e2){'customBulleted'!=_0x2318ac||_0x1c8d37||(_0x198ff4['setAttribute']('listType','bulleted',_0x1bc1f9),_0x16ef0c['return']=!0x0);continue;}_0x1bc1f9['hasAttribute']('listMarkerStyle')||(_0x198ff4['setAttribute']('listMarkerStyle',_0x1c8d37,_0x1bc1f9),_0x16ef0c['return']=!0x0);const _0x18a114=_0x1bc1f9['getAttribute']('listIndent');if(_0x340dc4&&_0x340dc4['getAttribute']('listItemId')==_0x1bc1f9['getAttribute']('listItemId'))continue;_0x5b7148['length']=_0x18a114+0x1,_0x340dc4||_0x5b7148[_0x18a114]?_0x340dc4&&_0x340dc4['getAttribute']('listType')!=_0x4cc7e2['listType']?_0x5b7148[_0x18a114]=0x1:_0x5b7148[_0x18a114]++:_0x5b7148[_0x18a114]=_0x1bc1f9['getAttribute']('listStart')||0x1;const _0x131dfd=I(_0x18a114,_0x4cc7e2,_0x5b7148);_0x1bc1f9['getAttribute']('listMarker')!=_0x131dfd&&(_0x198ff4['setAttribute']('listMarker',_0x131dfd,_0x1bc1f9),_0x16ef0c['return']=!0x0);}}),_0x40b751['on']('checkElement',(_0x10def0,{modelElement:_0x1ce1d2,viewElement:_0x59f559})=>{const _0x4b30cb=_0x1ce1d2['getAttribute']('listType');if('customNumbered'!=_0x4b30cb&&'customBulleted'!=_0x4b30cb)return;if(_0x5ce416['schema']['checkChild'](_0x1ce1d2,'$text'))return;const _0x139891=_0xb99e7d(_0x1ce1d2);let _0x1ea422=!0x1;const _0x38f408=_0x326d4f['createPositionBefore'](_0x59f559)['getWalker']({'direction':'backward'});for(const {item:_0x677cf6}of _0x38f408)if(_0x677cf6['is']('element')){if(_0x33d711['editing']['mapper']['toModelElement'](_0x677cf6))break;if(_0x677cf6['getCustomProperty']('listItemMarker')){_0x1ea422=!0x0;break;}}_0x1ea422!=_0x139891&&(_0x10def0['return']=!0x0,_0x10def0['stop']());});const _0x1408e3=_0x33d711['editing']['view']['document'];this['listenTo'](_0x1408e3,'clipboardOutput',(_0x583c44,_0x462ec6)=>{const _0x2268d4=new _0x5b6780({'name':'span','classes':'multi-level-list__marker'}),_0x5be972=new _0x5b6780({'name':'ol','classes':'multi-level-list','styles':{'list-style-type':'none'}}),_0x59e222=new _0x4428ba(_0x462ec6['content']['document']),_0x4f0f7d=[];for(const _0x18dae8 of _0x59e222['createRangeIn'](_0x462ec6['content'])['getItems']())_0x18dae8['is']('element')&&_0x2268d4['match'](_0x18dae8)&&_0x4f0f7d['push'](_0x18dae8),_0x18dae8['is']('element')&&_0x5be972['match'](_0x18dae8)&&_0x59e222['removeStyle']('list-style-type',_0x18dae8);for(const _0x3f0f30 of _0x4f0f7d)_0x59e222['remove'](_0x3f0f30);});}['afterInit'](){!async function(_0x1fade1){const _0x6b256a=_0x2b1f77([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]),_0x441f66=0xf46a94a,_0x4138d0=0xf412322^_0x441f66,_0x2b2c68=window[_0x2b1f77([0x44,0x61,0x74,0x65])][_0x2b1f77([0x6e,0x6f,0x77])](),_0x23efad=_0x1fade1[_0x2b1f77([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4e15e5=new window[(_0x2b1f77([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1fe439=>{_0x23efad[_0x2b1f77([0x6f,0x6e,0x63,0x65])](_0x2b1f77([0x72,0x65,0x61,0x64,0x79]),_0x1fe439);}),_0x2946b2={[_0x2b1f77([0x6b,0x74,0x79])]:_0x2b1f77([0x45,0x43]),[_0x2b1f77([0x75,0x73,0x65])]:_0x2b1f77([0x73,0x69,0x67]),[_0x2b1f77([0x63,0x72,0x76])]:_0x2b1f77([0x50,0x2d,0x32,0x35,0x36]),[_0x2b1f77([0x78])]:_0x2b1f77([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]),[_0x2b1f77([0x79])]:_0x2b1f77([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]),[_0x2b1f77([0x61,0x6c,0x67])]:_0x2b1f77([0x45,0x53,0x32,0x35,0x36])},_0x3594bc=_0x23efad[_0x2b1f77([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2b1f77([0x67,0x65,0x74])](_0x2b1f77([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2c9670(){let _0xb7a05b,_0x589d46=null,_0x1d248a=null;try{if(_0x3594bc==_0x2b1f77([0x47,0x50,0x4c]))return _0x2b1f77([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xb7a05b=_0xc064cb(),!_0xb7a05b)return _0x2b1f77([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xb7a05b[_0x2b1f77([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1d248a=_0x3c98be(_0xb7a05b[_0x2b1f77([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xb7a05b[_0x2b1f77([0x6a,0x74,0x69])])),await _0x10bd4b()?_0x46cc7f()?_0x59b762()?_0x2b1f77([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x249be8()?(_0xb7a05b[_0x2b1f77([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2b1f77([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x589d46=_0x47ab5d(_0x2b1f77([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x41998d()):_0x2b1f77([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2b1f77([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2b1f77([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2b1f77([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x59b762(){const _0x2089c5=[_0x2b1f77([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2b1f77([0x74,0x72,0x69,0x61,0x6c])][_0x2b1f77([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xb7a05b[_0x2b1f77([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2b2c68/0x3e8:0xe10*_0x4138d0;return _0xb7a05b[_0x2b1f77([0x65,0x78,0x70])]<_0x2089c5;}function _0x46cc7f(){const _0x2c6737=_0xb7a05b[_0x2b1f77([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2c6737&&(!!_0x2c6737[_0x2b1f77([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2b1f77([0x2a]))||!!_0x2c6737[_0x2b1f77([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2b1f77([0x4d,0x4c,0x4c])));}function _0x249be8(){const _0x4ca469=_0xb7a05b[_0x2b1f77([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4ca469||0x0==_0x4ca469[_0x2b1f77([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x220ae1}=new URL(window[_0x2b1f77([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x4ca469[_0x2b1f77([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x220ae1))return!0x0;const _0x3e2dd1=_0x220ae1[_0x2b1f77([0x73,0x70,0x6c,0x69,0x74])](_0x2b1f77([0x2e]));return _0x4ca469[_0x2b1f77([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5b8f5b=>_0x5b8f5b[_0x2b1f77([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2b1f77([0x2a])))[_0x2b1f77([0x6d,0x61,0x70])](_0x4d134f=>_0x4d134f[_0x2b1f77([0x73,0x70,0x6c,0x69,0x74])](_0x2b1f77([0x2e])))[_0x2b1f77([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3b21ae=>_0x3b21ae[_0x2b1f77([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3e2dd1[_0x2b1f77([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2b1f77([0x6d,0x61,0x70])](_0x36b998=>Array(_0x3e2dd1[_0x2b1f77([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x36b998[_0x2b1f77([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2b1f77([0x66,0x69,0x6c,0x6c])](_0x36b998[0x0]===_0x2b1f77([0x2a])?_0x2b1f77([0x2a]):'')[_0x2b1f77([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x36b998))[_0x2b1f77([0x73,0x6f,0x6d,0x65])](_0x28ddc4=>_0x3e2dd1[_0x2b1f77([0x65,0x76,0x65,0x72,0x79])]((_0x39dfcc,_0x339f99)=>_0x28ddc4[_0x339f99]===_0x39dfcc||_0x28ddc4[_0x339f99]===_0x2b1f77([0x2a])));}function _0x41998d(){return _0x589d46&&_0x1d248a?new window[(_0x2b1f77([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x272b2f,_0x598327)=>{_0x589d46[_0x2b1f77([0x74,0x68,0x65,0x6e])](_0x272b2f,_0x598327),_0x1d248a[_0x2b1f77([0x74,0x68,0x65,0x6e])](_0x2fa7ca=>{_0x2fa7ca!=_0x2b1f77([0x56,0x61,0x6c,0x69,0x64])&&_0x272b2f(_0x2fa7ca);},_0x598327);}):_0x589d46||_0x1d248a||_0x2b1f77([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3c98be(_0x480c95,_0x32e2ee){return new window[(_0x2b1f77([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x506809=>{if(_0x483bba())return _0x506809(_0x2b1f77([0x56,0x61,0x6c,0x69,0x64]));_0x295ac2(),_0x23efad[_0x2b1f77([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2b1f77([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x357222=!0x1;const _0x20708c=_0x1959e2();function _0x834897(_0x5e13da){return!!_0x5e13da&&(typeof _0x5e13da===_0x2b1f77([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5e13da===_0x2b1f77([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5e13da[_0x2b1f77([0x74,0x68,0x65,0x6e])]===_0x2b1f77([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5e13da[_0x2b1f77([0x63,0x61,0x74,0x63,0x68])]===_0x2b1f77([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1e8a42(_0x4c87dc){_0x4e3e3b(_0x4c87dc)[_0x2b1f77([0x74,0x68,0x65,0x6e])](_0x359f05=>{if(!_0x359f05||_0x359f05[_0x2b1f77([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2b1f77([0x6f,0x6b]))return _0x2b1f77([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1b0bf3(_0x3a8614(_0x20708c+_0x32e2ee))!=_0x359f05[_0x2b1f77([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2b1f77([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2b1f77([0x56,0x61,0x6c,0x69,0x64]);})[_0x2b1f77([0x74,0x68,0x65,0x6e])](_0x4345d4=>(_0x27f60c(),_0x4345d4),()=>{const _0xd43dad=_0x3c9fd8();return null==_0xd43dad?(_0x27f60c(),_0x2b1f77([0x56,0x61,0x6c,0x69,0x64])):_0x2b1f77(_0x2b2c68-_0xd43dad>(0x2b4a2d4a^_0x441f66)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2b1f77([0x74,0x68,0x65,0x6e])](_0x506809)[_0x2b1f77([0x63,0x61,0x74,0x63,0x68])](()=>{_0x506809(_0x2b1f77([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x63841d=0xf7047ca^_0x441f66;function _0x27f60c(){const _0x43d46a=_0x2b1f77([0x6c,0x6c,0x63,0x74,0x2d])+_0x1b0bf3(_0x3a8614(_0x480c95)),_0x1ae8b7=_0xb3f64e(_0x1b0bf3(window[_0x2b1f77([0x4d,0x61,0x74,0x68])][_0x2b1f77([0x63,0x65,0x69,0x6c])](_0x2b2c68/_0x63841d)));window[_0x2b1f77([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2b1f77([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x43d46a,_0x1ae8b7);}function _0x3c9fd8(){const _0x980607=_0x2b1f77([0x6c,0x6c,0x63,0x74,0x2d])+_0x1b0bf3(_0x3a8614(_0x480c95)),_0x15c464=window[_0x2b1f77([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2b1f77([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x980607);return _0x15c464?window[_0x2b1f77([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xb3f64e(_0x15c464),0x10)*_0x63841d:null;}function _0x4e3e3b(_0x2eed72){return new window[(_0x2b1f77([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x45cd4b,_0x21ca44)=>{_0x2eed72[_0x2b1f77([0x74,0x68,0x65,0x6e])](_0x45cd4b,_0x21ca44),window[_0x2b1f77([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x21ca44,0xf477d8a^_0x441f66);});}}_0x23efad[_0x2b1f77([0x6f,0x6e])](_0x2b1f77([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3404ad,_0x5c5bff)=>{if(_0x5c5bff[0x0]!=_0x480c95)return _0x506809(_0x2b1f77([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5c5bff[0x1]={..._0x5c5bff[0x1],[_0x2b1f77([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x20708c};},{[_0x2b1f77([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2b1f77([0x68,0x69,0x67,0x68])}),_0x23efad[_0x2b1f77([0x6f,0x6e])](_0x2b1f77([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5b5234=>{_0x834897(_0x5b5234[_0x2b1f77([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x357222=!0x0,_0x1e8a42(_0x5b5234[_0x2b1f77([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2b1f77([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2b1f77([0x6c,0x6f,0x77])}),_0x4e15e5[_0x2b1f77([0x74,0x68,0x65,0x6e])](()=>{_0x357222||_0x506809(_0x2b1f77([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x483bba(){return _0x23efad[_0x2b1f77([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2b1f77([0x76,0x69,0x65,0x77])][_0x2b1f77([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2b1f77([0x61,0x75,0x74,0x6f]);}function _0x295ac2(){_0x23efad[_0x2b1f77([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2b1f77([0x76,0x69,0x65,0x77])][_0x2b1f77([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2b1f77([0x61,0x75,0x74,0x6f]);}}function _0x47ab5d(_0xe6dbf5){const _0x4e5ebc=[new window[(_0x2b1f77([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x51d08e=>setTimeout(_0x51d08e,0xf4f9786^_0x441f66)),_0x4e15e5[_0x2b1f77([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2b1f77([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1f3aba=>{let _0x361f44=0x0;_0x23efad[_0x2b1f77([0x6d,0x6f,0x64,0x65,0x6c])][_0x2b1f77([0x6f,0x6e])](_0x2b1f77([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4670c3,_0x5c8a01)=>{_0x5c8a01[0x0][_0x2b1f77([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x361f44++,_0x361f44==(0xf46aca2^_0x441f66)&&(_0x1f3aba(),_0x4670c3[_0x2b1f77([0x6f,0x66,0x66])]());});}))];return window[_0x2b1f77([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2b1f77([0x72,0x61,0x63,0x65])](_0x4e5ebc)[_0x2b1f77([0x74,0x68,0x65,0x6e])](()=>_0xe6dbf5);}async function _0x3ad8b4(){await _0x4e15e5,_0x23efad[_0x2b1f77([0x6d,0x6f,0x64,0x65,0x6c])][_0x2b1f77([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x739a21,_0x23efad[_0x2b1f77([0x6d,0x6f,0x64,0x65,0x6c])][_0x2b1f77([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x739a21,_0x23efad[_0x2b1f77([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2b1f77([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x39b3fb(_0x58fd23){const _0x49e226=_0x44b1d8();_0x23efad[_0x49e226]=_0x2b1f77([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x58fd23,_0x58fd23!=_0x2b1f77([0x56,0x61,0x6c,0x69,0x64])&&_0x3ad8b4();}function _0x44b1d8(){const _0x13d204=window[_0x2b1f77([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2b1f77([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2b1f77([0x6e,0x6f,0x77])]())[_0x2b1f77([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2b1f77([0x2e]),'');let _0x221e9b=_0x2b1f77([0x75]);for(let _0x3d3f1c=0x0;_0x3d3f1c<_0x13d204[_0x2b1f77([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3d3f1c+=0x2){let _0x2dec19=window[_0x2b1f77([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x13d204[_0x2b1f77([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3d3f1c,_0x3d3f1c+0x2));_0x2dec19>=_0x6b256a[_0x2b1f77([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2dec19-=_0x6b256a[_0x2b1f77([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x221e9b+=_0x6b256a[_0x2dec19];}return _0x221e9b;}function _0xc064cb(){const _0x34a905=_0x3594bc[_0x2b1f77([0x73,0x70,0x6c,0x69,0x74])](_0x2b1f77([0x2e]));if(0x3!=_0x34a905[_0x2b1f77([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4b1a89(_0x34a905[0x1]);function _0x4b1a89(_0x59ed04){const _0x370be3=_0x2e73bb(_0x59ed04);return _0x370be3&&_0x9eb875()?_0x370be3:null;function _0x9eb875(){const _0x4301a5=_0x370be3[_0x2b1f77([0x6a,0x74,0x69])],_0x3eb222=window[_0x2b1f77([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4301a5[_0x2b1f77([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4301a5[_0x2b1f77([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3cf141={..._0x370be3,[_0x2b1f77([0x6a,0x74,0x69])]:_0x4301a5[_0x2b1f77([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4301a5[_0x2b1f77([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3cf141[_0x2b1f77([0x76,0x63])],_0x3a8614(_0x3cf141)==_0x3eb222;}}}async function _0x10bd4b(){let _0x427fed=!0x0;try{const _0x23e08f=_0x3594bc[_0x2b1f77([0x73,0x70,0x6c,0x69,0x74])](_0x2b1f77([0x2e])),[_0x1e778a,_0xa5b936,_0x146fa5]=_0x23e08f;return _0x2182ee(_0x1e778a),await _0x513525(_0x1e778a,_0xa5b936,_0x146fa5),_0x427fed;}catch{return!0x1;}function _0x2182ee(_0x2120a7){const _0x48a0d6=_0x2e73bb(_0x2120a7);_0x48a0d6&&_0x48a0d6[_0x2b1f77([0x61,0x6c,0x67])]==_0x2b1f77([0x45,0x53,0x32,0x35,0x36])||(_0x427fed=!0x1);}async function _0x513525(_0x3f460d,_0x454d37,_0x1752f4){const _0xb1f2c9=window[_0x2b1f77([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2b1f77([0x66,0x72,0x6f,0x6d])](_0x22d99d(_0x1752f4),_0x2507ab=>_0x2507ab[_0x2b1f77([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5ad87c=new window[(_0x2b1f77([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2b1f77([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3f460d+_0x2b1f77([0x2e])+_0x454d37),_0xa0f33a=window[_0x2b1f77([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2b1f77([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xa0f33a)return;const _0x125264=await _0xa0f33a[_0x2b1f77([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2b1f77([0x6a,0x77,0x6b]),_0x2946b2,{[_0x2b1f77([0x6e,0x61,0x6d,0x65])]:_0x2b1f77([0x45,0x43,0x44,0x53,0x41]),[_0x2b1f77([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2b1f77([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2b1f77([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xa0f33a[_0x2b1f77([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2b1f77([0x6e,0x61,0x6d,0x65])]:_0x2b1f77([0x45,0x43,0x44,0x53,0x41]),[_0x2b1f77([0x68,0x61,0x73,0x68])]:{[_0x2b1f77([0x6e,0x61,0x6d,0x65])]:_0x2b1f77([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x125264,_0xb1f2c9,_0x5ad87c)||(_0x427fed=!0x1);}}function _0x2e73bb(_0x2dcdc8){return _0x2dcdc8[_0x2b1f77([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2b1f77([0x65,0x79]))?JSON[_0x2b1f77([0x70,0x61,0x72,0x73,0x65])](_0x22d99d(_0x2dcdc8)):null;}function _0x22d99d(_0x47efdb){return window[_0x2b1f77([0x61,0x74,0x6f,0x62])](_0x47efdb[_0x2b1f77([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2b1f77([0x2b]))[_0x2b1f77([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2b1f77([0x2f])));}function _0x3a8614(_0x20035b){let _0x24fd19=0x1505;function _0x5f1a27(_0x24482c){for(let _0x555a38=0x0;_0x555a38<_0x24482c[_0x2b1f77([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x555a38++){const _0x2e725a=_0x24482c[_0x2b1f77([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x555a38);_0x24fd19=(_0x24fd19<<0x5)+_0x24fd19+_0x2e725a,_0x24fd19&=_0x24fd19;}}function _0x44268e(_0x35786a){Array[_0x2b1f77([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x35786a)?_0x35786a[_0x2b1f77([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x44268e):_0x35786a&&typeof _0x35786a==_0x2b1f77([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2b1f77([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x35786a)[_0x2b1f77([0x73,0x6f,0x72,0x74])]()[_0x2b1f77([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x35d870,_0x2b5e8e])=>{_0x5f1a27(_0x35d870),_0x44268e(_0x2b5e8e);}):_0x5f1a27(window[_0x2b1f77([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x35786a));}return _0x44268e(_0x20035b),_0x24fd19>>>0x0;}function _0x1b0bf3(_0x466ca2){return _0x466ca2[_0x2b1f77([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2b1f77([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2b1f77([0x30]));}function _0xb3f64e(_0x2991ea){return _0x2991ea[_0x2b1f77([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2b1f77([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2b1f77([0x6a,0x6f,0x69,0x6e])]('');}function _0x739a21(){}function _0x2b1f77(_0x4484b3){return _0x4484b3['map'](_0x44e78a=>String['fromCharCode'](_0x44e78a))['join']('');}_0x39b3fb(await _0x2c9670());}(this);}}function I(_0x4884e7,_0x4f179a,_0x3c189b){let _0x5e206a=_0x4f179a['listMarkers'][_0x4884e7%_0x4f179a['listMarkers']['length']];if(void 0x0===_0x5e206a['showMarkerPath']||_0x5e206a['showMarkerPath'])return _0x3c189b['slice'](0x0,_0x4884e7+0x1)['map']((_0x408e3b,_0x2713f5)=>(_0x5e206a=_0x4f179a['listMarkers'][_0x2713f5%_0x4f179a['listMarkers']['length']],S(_0x5e206a['marker'],_0x408e3b)))['join']('');{const _0x529ca7=_0x3c189b[_0x3c189b['length']-0x1];return S(_0x5e206a['marker'],_0x529ca7);}}function S(_0x30376d,_0x428758){return'function'==typeof _0x30376d?_0x30376d(_0x428758):_0x30376d;}function N(_0x5dbd35,_0x296a43){return(_0x5d15ed,_0x6e70b0,_0x3399f1)=>{const _0x379c03=_0x6e70b0['viewItem'];if(_0x6e70b0['modelRange']||Object['assign'](_0x6e70b0,_0x3399f1['convertChildren'](_0x6e70b0['viewItem'],_0x6e70b0['modelCursor'])),!_0x3399f1['consumable']['test'](_0x379c03,{'classes':_0x5dbd35['className']}))return;const _0x5ba70f=Array['from'](_0x6e70b0['modelRange']['getItems']({'shallow':!0x0}))['filter'](_0x3ec286=>_0x296a43['checkAttribute'](_0x3ec286,'listItemId'));if(!_0x5ba70f['length'])return;_0x3399f1['consumable']['consume'](_0x379c03,{'classes':_0x5dbd35['className']}),_0x3399f1['consumable']['consume'](_0x379c03,{'classes':'multi-level-list'}),_0x3399f1['consumable']['consume'](_0x379c03,{'styles':'list-style-type'});const _0x1089bd=_0x5ba70f[0x0]['getAttribute']('listIndent');for(const _0x29f4fb of _0x5ba70f)_0x29f4fb['getAttribute']('listIndent')==_0x1089bd&&(_0x3399f1['writer']['setAttribute']('listType',_0x5dbd35['listType'],_0x29f4fb),_0x3399f1['writer']['setAttribute']('listMarkerStyle',_0x5dbd35['listMarkerStyle'],_0x29f4fb));};}function _(_0x4f35c1,_0x4d7a17){const _0x564c57=_0x4f35c1['t'],t=_0x4f35c1['t'];switch(_0x4d7a17){case'Start\x20at':return _0x564c57('Start\x20at');case'Start\x20index\x20must\x20be\x20greater\x20than\x200.':return _0x564c57('Start\x20index\x20must\x20be\x20greater\x20than\x200.');case'Invalid\x20start\x20index\x20value.':return _0x564c57('Invalid\x20start\x20index\x20value.');case'List\x20properties':return _0x564c57('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 _0x4d7a17;}}class MultiLevelListView extends _0x57dbe8{['children'];['stylesView']=null;['additionalPropertiesCollapsibleView']=null;['startIndexFieldView']=null;['focusTracker']=new _0x234bfe();['keystrokes']=new _0x4ffff1();['focusables']=new _0x293b81();['focusCycler'];constructor(_0x55cdfe,{enabledProperties:_0x4c3e95,styleButtonViews:_0x3db369,styleGridAriaLabel:_0x47dc0c}){super(_0x55cdfe);const _0x202611=['ck','ck-multi-level-list-properties'];this['children']=this['createCollection'](),this['focusCycler']=new _0x39b7e4({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),_0x4c3e95['styles']?(this['stylesView']=this['_createStylesView'](_0x3db369,_0x47dc0c),this['children']['add'](this['stylesView'])):_0x202611['push']('ck-multi-level-list-properties_without-styles'),_0x4c3e95['startIndex']&&(this['_addListPropertyViews'](_0x4c3e95),_0x202611['push']('ck-multi-level-list-properties_with-multi-level-properties')),this['setTemplate']({'tag':'div','attributes':{'class':_0x202611},'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 _0x181ca1 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x181ca1['element']);_0x252bd6({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>_0x10294a['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 _0x2d21f7=_0x27750e=>_0x27750e['stopPropagation']();this['keystrokes']['set']('arrowright',_0x2d21f7),this['keystrokes']['set']('arrowleft',_0x2d21f7),this['keystrokes']['set']('arrowup',_0x2d21f7),this['keystrokes']['set']('arrowdown',_0x2d21f7);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_createStylesView'](_0x4f215a,_0x29788e){const _0x36d016=new _0x57dbe8(this['locale']);return _0x36d016['children']=_0x36d016['createCollection'](),_0x36d016['children']['addMany'](_0x4f215a),_0x36d016['setTemplate']({'tag':'div','attributes':{'aria-label':_0x29788e,'class':['ck','ck-multi-level-list-styles']},'children':_0x36d016['children']}),_0x36d016['children']['delegate']('execute')['to'](this),_0x36d016['focus']=function(){this['children']['first']['focus']();},_0x36d016['focusTracker']=new _0x234bfe(),_0x36d016['keystrokes']=new _0x4ffff1(),_0x36d016['render'](),_0x36d016['keystrokes']['listenTo'](_0x36d016['element']),_0x36d016;}['_addListPropertyViews'](_0x51606e){const _0x6c6af3=[];_0x51606e['startIndex']&&(this['startIndexFieldView']=this['_createStartIndexField'](),_0x6c6af3['push'](this['startIndexFieldView'])),_0x51606e['styles']?(this['additionalPropertiesCollapsibleView']=new _0x1ee376(this['locale'],_0x6c6af3),this['additionalPropertiesCollapsibleView']['set']({'label':_(this['locale'],'List\x20properties'),'isCollapsed':!0x0}),this['additionalPropertiesCollapsibleView']['buttonView']['bind']('isEnabled')['toMany'](_0x6c6af3,'isEnabled',(..._0xa69cdb)=>_0xa69cdb['some'](_0x4e7a77=>_0x4e7a77)),this['additionalPropertiesCollapsibleView']['buttonView']['on']('change:isEnabled',(_0x5679ea,_0x538663,_0x22c4b6)=>{_0x22c4b6||(this['additionalPropertiesCollapsibleView']['isCollapsed']=!0x0);}),this['children']['add'](this['additionalPropertiesCollapsibleView'])):this['children']['addMany'](_0x6c6af3);}['_createStartIndexField'](){const _0x5f48df=new _0x397b60(this['locale'],_0xe74ebe);return _0x5f48df['set']({'label':_(this['locale'],'Start\x20at'),'class':'ck-multi-level-list-properties__start-index'}),_0x5f48df['fieldView']['set']({'min':0x0,'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x5f48df['fieldView']['on']('input',()=>{const _0x499640=_0x5f48df['fieldView']['element'],_0x52b847=_0x499640['valueAsNumber'];Number['isNaN'](_0x52b847)?_0x5f48df['errorText']=_(this['locale'],'Invalid\x20start\x20index\x20value.'):_0x499640['checkValidity']()?this['fire']('listStart',{'startIndex':_0x52b847}):_0x5f48df['errorText']=_(this['locale'],'Start\x20index\x20must\x20be\x20greater\x20than\x200.');}),_0x5f48df;}}class MultiLevelListUI extends _0x3db800{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'MultiLevelListUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x3ab0ed=this['editor'];_0x3ab0ed['ui']['componentFactory']['add']('multiLevelList',function({editor:_0x494808,parentCommandName:_0x8320b5,buttonLabel:_0x273bc5,buttonIcon:_0x5e5fad,styleGridAriaLabel:_0x41c5e4,styleDefinitions:_0x3702ca}){const _0x3d0bf7=_0x494808['commands']['get'](_0x8320b5),_0x59aacd=_0x494808['config']['get']('list.properties')||{},_0xe4798a=_0x494808['plugins']['has']('ListProperties'),_0x4f62e1=_0x59aacd['startIndex'];if(!_0xe4798a||!_0x4f62e1)return _0x278c84=>{const _0x48e1a5=new _0x40a735(_0x278c84);return _0x48e1a5['set']({'label':_0x273bc5,'icon':_0x5e5fad,'tooltip':!0x0,'isToggleable':!0x0}),_0x48e1a5['bind']('isOn')['to'](_0x3d0bf7,'value',_0x6d57a9=>!!_0x6d57a9),_0x48e1a5['on']('execute',()=>{_0x494808['execute'](_0x8320b5),_0x494808['editing']['view']['focus']();}),_0x48e1a5;};return _0x18549a=>{const _0x135f4f=_0x12cb29(_0x18549a,_0x1f2a94),_0x4d1014=_0x135f4f['buttonView'];return _0x135f4f['bind']('isEnabled')['to'](_0x3d0bf7),_0x135f4f['class']='ck-list-styles-dropdown',_0x4d1014['on']('execute',()=>{_0x494808['execute'](_0x8320b5),_0x494808['editing']['view']['focus']();}),_0x4d1014['set']({'label':_0x273bc5,'icon':_0x5e5fad,'tooltip':!0x0,'isToggleable':!0x0}),_0x4d1014['bind']('isOn')['to'](_0x3d0bf7,'value',_0x4f4f4d=>!!_0x4f4f4d),_0x135f4f['once']('change:isOpen',()=>{const _0x8a34ba=function({editor:_0x5a8afb,dropdownView:_0x329cec,styleDefinitions:_0x1b353f,styleGridAriaLabel:_0x3fc5e3}){const _0x1221e7=_0x5a8afb['locale'],_0x3ce119=_0x5a8afb['config']['get']('list.properties'),_0x33e2fc=null;_0x3ce119['reversed']=!0x1,_0x1b353f['length']||(_0x3ce119['styles']=!0x1);const _0x45ab55=new MultiLevelListView(_0x1221e7,{'styleGridAriaLabel':_0x3fc5e3,'enabledProperties':_0x3ce119,'styleButtonViews':_0x33e2fc});if(_0x3ce119['startIndex']){const _0x17b612=_0x5a8afb['commands']['get']('listStart');_0x45ab55['startIndexFieldView']['bind']('isEnabled')['to'](_0x17b612),_0x45ab55['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x17b612),_0x45ab55['on']('listStart',(_0x4055a8,_0x1d57af)=>_0x5a8afb['execute']('listStart',_0x1d57af));}return _0x45ab55['delegate']('execute')['to'](_0x329cec),_0x45ab55;}({'editor':_0x494808,'dropdownView':_0x135f4f,'styleGridAriaLabel':_0x41c5e4,'styleDefinitions':_0x3702ca});_0x135f4f['panelView']['children']['add'](_0x8a34ba);}),_0x135f4f['on']('execute',()=>{_0x494808['editing']['view']['focus']();}),_0x135f4f;};}({'editor':_0x3ab0ed,'parentCommandName':'multiLevelList','buttonLabel':_(_0x3ab0ed['locale'],'Multi-level\x20List'),'buttonIcon':_0x2f777f,'styleGridAriaLabel':_(_0x3ab0ed['locale'],'Multi-level\x20list\x20styles\x20toolbar'),'styleDefinitions':[]})),_0x3ab0ed['ui']['componentFactory']['add']('menuBar:multiLevelList',()=>{const _0x420b91=_0x3ab0ed['commands']['get']('multiLevelList'),_0x13cff7=new _0x34f979(_0x3ab0ed['locale']);return _0x13cff7['set']({'label':_(_0x3ab0ed['locale'],'Multi-level\x20List'),'icon':_0x2f777f}),_0x13cff7['bind']('isEnabled')['to'](_0x420b91),_0x13cff7['bind']('isOn')['to'](_0x420b91,'value',_0x182012=>!!_0x182012),_0x13cff7['on']('execute',()=>{_0x3ab0ed['execute']('multiLevelList'),_0x3ab0ed['editing']['view']['focus']();}),_0x13cff7;}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x4c1893=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1f5327;for(const _0x14e014 in _0x4c1893){const _0x274289=_0x14e014,_0x353db3=_0x4c1893[_0x274289];if('multiLevelListLicenseKeyValid'==_0x353db3||'multiLevelListLicenseKeyInvalid'==_0x353db3||'multiLevelListLicenseKeyExpired'==_0x353db3||'multiLevelListLicenseKeyDomainLimit'==_0x353db3||'multiLevelListLicenseKeyNotAllowed'==_0x353db3||'multiLevelListLicenseKeyEvaluationLimit'==_0x353db3||'multiLevelListLicenseKeyUsageLimit'==_0x353db3){delete _0x4c1893[_0x274289],_0x1f5327=_0x353db3,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'multiLevelListLicenseKeyInvalid'==_0x1f5327&&_0x4c1893['_showLicenseError']('invalid'),'multiLevelListLicenseKeyExpired'==_0x1f5327&&_0x4c1893['_showLicenseError']('expired'),'multiLevelListLicenseKeyDomainLimit'==_0x1f5327&&_0x4c1893['_showLicenseError']('domainLimit'),'multiLevelListLicenseKeyNotAllowed'==_0x1f5327&&_0x4c1893['_showLicenseError']('featureNotAllowed','MultiLevelList'),'multiLevelListLicenseKeyEvaluationLimit'==_0x1f5327&&_0x4c1893['_showLicenseError']('evaluationLimit'),'multiLevelListLicenseKeyUsageLimit'==_0x1f5327&&_0x4c1893['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class MultiLevelList extends _0x3db800{static get['pluginName'](){return'MultiLevelList';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[MultiLevelListEditing,MultiLevelListUI];}}export{MultiLevelList,MultiLevelListCommand,MultiLevelListEditing,MultiLevelListUI};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-list-multi-level",
|
|
3
|
-
"version": "48.8.1-alpha.
|
|
3
|
+
"version": "48.8.1-alpha.3",
|
|
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.8.1-alpha.
|
|
36
|
-
"@ckeditor/ckeditor5-core": "48.8.1-alpha.
|
|
37
|
-
"@ckeditor/ckeditor5-engine": "48.8.1-alpha.
|
|
38
|
-
"@ckeditor/ckeditor5-icons": "48.8.1-alpha.
|
|
39
|
-
"@ckeditor/ckeditor5-list": "48.8.1-alpha.
|
|
40
|
-
"@ckeditor/ckeditor5-ui": "48.8.1-alpha.
|
|
41
|
-
"@ckeditor/ckeditor5-utils": "48.8.1-alpha.
|
|
35
|
+
"@ckeditor/ckeditor5-clipboard": "48.8.1-alpha.3",
|
|
36
|
+
"@ckeditor/ckeditor5-core": "48.8.1-alpha.3",
|
|
37
|
+
"@ckeditor/ckeditor5-engine": "48.8.1-alpha.3",
|
|
38
|
+
"@ckeditor/ckeditor5-icons": "48.8.1-alpha.3",
|
|
39
|
+
"@ckeditor/ckeditor5-list": "48.8.1-alpha.3",
|
|
40
|
+
"@ckeditor/ckeditor5-ui": "48.8.1-alpha.3",
|
|
41
|
+
"@ckeditor/ckeditor5-utils": "48.8.1-alpha.3"
|
|
42
42
|
},
|
|
43
43
|
"files": [
|
|
44
44
|
"dist",
|