@ckeditor/ckeditor5-pagination 49.0.0-alpha.8 → 49.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -2
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as _0x1558a0}from'@ckeditor/ckeditor5-core';import{ButtonView as _0x2d53ce,InputNumberView as _0x1687d4,View as _0x5f6445}from'@ckeditor/ckeditor5-ui';import{Rect as _0x4c22bd,ResizeObserver as _0x42aa79,env as _0x3048c9,findClosestScrollableAncestor as _0x12cc90,first as _0x256669,getParentElement as _0x5a7ca1,getParentNode as _0x35db90,getPositionedAncestor as _0x43d32e,global as _0x579a1a,keyCodes as _0x237375,logWarning as _0x446e00,toUnit as _0x4d0886,uid as _0x5d3d1f}from'@ckeditor/ckeditor5-utils';import{debounce as _0xd0d68d}from'es-toolkit/compat';import{IconArrowDown as _0x38c35e,IconArrowUp as _0x45ad66}from'@ckeditor/ckeditor5-icons';var v=class extends _0x1558a0{_recalculatePageBreaksDebounced=_0xd0d68d(()=>this['_recalculatePageBreaks'](),0xc8);_pagesContainer=null;static get['pluginName'](){return'PaginationLookup';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){if(this['set']({'pageBreaks':[]}),!this['editor']['config']['get']('pagination'))return void _0x446e00('pagination-config-not-found',this['editor']['config']);const _0x290eb2=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0x290eb2),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0x57d9b9,_0x5885db,_0xc347d1)=>{_0xc347d1&&this['_recalculatePageBreaksDebounced']();});}afterInit(){!async function(_0x3333c0){const _0x404bcd='vsmL4TPpuR53MlqSj2VXwH9oEAN8FxJtGUOdbDCZ01ihyfkBQY6acgz7rIeWKn',_0x34ce31=0x797b8,_0x5ce2cb={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'};async function _0x32fbb2(_0x55820f){const _0x3410a1=new window['Promise'](_0x469068=>{_0x55820f['once']('ready',_0x469068);}),_0x44f090=window['Date']['now'](),_0x4d68f7=_0x55820f['config']['get']('licenseKey');async function _0x2c6cd6(){let _0x3b4f57,_0x8abc25=null,_0x1397a4=null;try{return'GPL'==_0x4d68f7?'NotAllowed':(_0x3b4f57=_0x417437(),_0x3b4f57?(_0x3b4f57['usageEndpoint']&&(_0x1397a4=_0x1450f5(_0x3b4f57['usageEndpoint'],_0x3b4f57['jti'])),await _0x40fe78()?_0x100d1a()?_0x5586f1()?'Expired':_0x1d8b39()?('evaluation'==_0x3b4f57['licenseType']&&(_0x8abc25=_0x24e0ca('EvaluationLimit')),await _0x59b72e()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x5586f1(){const _0x438b57=['evaluation','trial']['includes'](_0x3b4f57['licenseType'])?_0x44f090/0x3e8:0xe10*_0x34ce31;return _0x3b4f57['exp']<_0x438b57;}function _0x100d1a(){const _0x29d0dd=_0x3b4f57['features'];return!!_0x29d0dd&&(!!_0x29d0dd['includes']('*')||!!_0x29d0dd['includes']('PAG'));}function _0x1d8b39(){const _0x483fe0=_0x3b4f57['licensedHosts'];if(!_0x483fe0||0x0==_0x483fe0['length'])return!0x0;const {hostname:_0x3a5417}=new URL(window['location']['href']);if(_0x483fe0['includes'](_0x3a5417))return!0x0;const _0x332235=_0x3a5417['split']('.');return _0x483fe0['filter'](_0x31d6ec=>_0x31d6ec['includes']('*'))['map'](_0x2a8444=>_0x2a8444['split']('.'))['filter'](_0x5130bb=>_0x5130bb['length']<=_0x332235['length'])['map'](_0x426c22=>Array(_0x332235['length']-_0x426c22['length'])['fill']('*'===_0x426c22[0x0]?'*':'')['concat'](_0x426c22))['some'](_0x30d3c9=>_0x332235['every']((_0x1fabd3,_0x1a6dcf)=>_0x30d3c9[_0x1a6dcf]===_0x1fabd3||'*'===_0x30d3c9[_0x1a6dcf]));}function _0x59b72e(){return _0x8abc25&&_0x1397a4?new window['Promise']((_0x10620c,_0x3563a2)=>{_0x8abc25['then'](_0x10620c,_0x3563a2),_0x1397a4['then'](_0x283e47=>{'Valid'!=_0x283e47&&_0x10620c(_0x283e47);},_0x3563a2);}):_0x8abc25||_0x1397a4||'Valid';}}function _0x1450f5(_0x509769,_0x50b5e9){return new window['Promise'](_0x5a5e3b=>{if(_0x10afdc())return _0x5a5e3b('Valid');_0x395399(),_0x55820f['decorate']('_sendUsageRequest');let _0x1fc096=!0x1;const _0x6212b3=_0x5d3d1f();function _0x3ab8df(_0x4dc26d){return!!_0x4dc26d&&('object'==typeof _0x4dc26d||'function'==typeof _0x4dc26d)&&'function'==typeof _0x4dc26d['then']&&'function'==typeof _0x4dc26d['catch'];}function _0x1b151a(_0x424677){_0x538c78(_0x424677)['then'](_0x29f5cc=>_0x29f5cc&&'ok'==_0x29f5cc['status']?_0x41da36(_0x31a487(_0x6212b3+_0x50b5e9))!=_0x29f5cc['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x2c29e5=>(_0x9b868f(),_0x2c29e5),()=>{const _0x1ec455=_0x3f0871();return null==_0x1ec455?(_0x9b868f(),'Valid'):_0x44f090-_0x1ec455>0x240c8400?'UsageLimit':'Valid';})['then'](_0x5a5e3b)['catch'](()=>{_0x5a5e3b('UsageLimit');});const _0x2684be=0x36ee80;function _0x9b868f(){const _0x241b19='llct-'+_0x41da36(_0x31a487(_0x509769)),_0x581348=_0x51fe61(_0x41da36(window['Math']['ceil'](_0x44f090/_0x2684be)));window['localStorage']['setItem'](_0x241b19,_0x581348);}function _0x3f0871(){const _0x356647='llct-'+_0x41da36(_0x31a487(_0x509769)),_0x4611b5=window['localStorage']['getItem'](_0x356647);return _0x4611b5?window['parseInt'](_0x51fe61(_0x4611b5),0x10)*_0x2684be:null;}function _0x538c78(_0x13ddb1){return new window['Promise']((_0x35d622,_0x5734e4)=>{_0x13ddb1['then'](_0x35d622,_0x5734e4),window['setTimeout'](_0x5734e4,0x1d4c0);});}}_0x55820f['on']('_sendUsageRequest',(_0x29caa1,_0x15d002)=>{if(_0x15d002[0x0]!=_0x509769)return _0x5a5e3b('UsageLimit');_0x15d002[0x1]={..._0x15d002[0x1],'requestId':_0x6212b3};},{'priority':'high'}),_0x55820f['on']('_sendUsageRequest',_0x359ceb=>{_0x3ab8df(_0x359ceb['return'])&&(_0x1fc096=!0x0,_0x1b151a(_0x359ceb['return']));},{'priority':'low'}),_0x3410a1['then'](()=>{_0x1fc096||_0x5a5e3b('UsageLimit');});});function _0x10afdc(){return'auto'==_0x55820f['editing']['view']['_overlayModeHint'];}function _0x395399(){_0x55820f['editing']['view']['_overlayModeHint']='auto';}}function _0x24e0ca(_0x40771d){const _0x5d96c1=[new window['Promise'](_0x54a5d3=>setTimeout(_0x54a5d3,0x93ecc)),_0x3410a1['then'](()=>new window['Promise'](_0x2a9bd0=>{let _0x1c3243=0x0;_0x55820f['model']['on']('applyOperation',(_0x2e108e,_0x4c448f)=>{_0x4c448f[0x0]['isDocumentOperation']&&_0x1c3243++,0x5e8==_0x1c3243&&(_0x2a9bd0(),_0x2e108e['off']());});}))];return window['Promise']['race'](_0x5d96c1)['then'](()=>_0x40771d);}async function _0xdb5ab8(){await _0x3410a1,_0x55820f['model']['change']=_0x43fb24,_0x55820f['model']['enqueueChange']=_0x43fb24,_0x55820f['enableReadOnlyMode']('model');}function _0x1611ca(_0x57e654){const _0x3b0b68=_0x1eb67f();_0x55820f[_0x3b0b68]='paginationLicenseKey'+_0x57e654,'Valid'!=_0x57e654&&_0xdb5ab8();}function _0x1eb67f(){const _0x1d6f88=window['String'](window['performance']['now']())['replace']('.','');let _0x10b1f7='v';for(let _0xf22099=0x0;_0xf22099<_0x1d6f88['length'];_0xf22099+=0x2){let _0x1e1b41=window['parseInt'](_0x1d6f88['substring'](_0xf22099,_0xf22099+0x2));_0x1e1b41>=0x3e&&(_0x1e1b41-=0x3e),_0x10b1f7+=_0x404bcd[_0x1e1b41];}return _0x10b1f7;}function _0x417437(){const _0x5f2009=_0x4d68f7['split']('.');if(0x3!=_0x5f2009['length'])return null;return _0x124cc8(_0x5f2009[0x1]);function _0x124cc8(_0x1109c4){const _0x25785d=_0x8c7bf2(_0x1109c4);return _0x25785d&&_0x2faca0()?_0x25785d:null;function _0x2faca0(){const _0x4d82eb=_0x25785d['jti'],_0x4d507c=window['parseInt'](_0x4d82eb['substring'](_0x4d82eb['length']-0x8),0x10),_0x1be5ab={..._0x25785d,'jti':_0x4d82eb['substring'](0x0,_0x4d82eb['length']-0x8)};return delete _0x1be5ab['vc'],_0x31a487(_0x1be5ab)==_0x4d507c;}}}async function _0x40fe78(){let _0x3e8e40=!0x0;try{const [_0x16b3a3,_0x3dd6cb,_0x9d0e12]=_0x4d68f7['split']('.');return _0x7ec48e(_0x16b3a3),await _0x39d630(_0x16b3a3,_0x3dd6cb,_0x9d0e12),_0x3e8e40;}catch{return!0x1;}function _0x7ec48e(_0x9f9980){const _0x393ee2=_0x8c7bf2(_0x9f9980);_0x393ee2&&'ES256'==_0x393ee2['alg']||(_0x3e8e40=!0x1);}async function _0x39d630(_0x3d3bb0,_0x326b62,_0x1751c0){const _0x4a61db=window['Uint8Array']['from'](_0x16886f(_0x1751c0),_0x42bf02=>_0x42bf02['charCodeAt'](0x0)),_0x5deacd=new window['TextEncoder']()['encode'](_0x3d3bb0+'.'+_0x326b62),_0x251c71=window['crypto']['subtle'];if(!_0x251c71)return;const _0x5de3fe=await _0x251c71['importKey']('jwk',_0x5ce2cb,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x251c71['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x5de3fe,_0x4a61db,_0x5deacd)||(_0x3e8e40=!0x1);}}function _0x8c7bf2(_0x24ba2f){return _0x24ba2f['startsWith']('ey')?JSON['parse'](_0x16886f(_0x24ba2f)):null;}function _0x16886f(_0x74ae45){return window['atob'](_0x74ae45['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x31a487(_0x5cc7d6){let _0xc7d1d6=0x1505;function _0x4ed6f4(_0x46350f){for(let _0x184de5=0x0;_0x184de5<_0x46350f['length'];_0x184de5++){const _0xa8e4cc=_0x46350f['charCodeAt'](_0x184de5);_0xc7d1d6=(_0xc7d1d6<<0x5)+_0xc7d1d6+_0xa8e4cc,_0xc7d1d6&=_0xc7d1d6;}}function _0x5473d9(_0x35f29a){Array['isArray'](_0x35f29a)?_0x35f29a['forEach'](_0x5473d9):_0x35f29a&&'object'==typeof _0x35f29a?Object['entries'](_0x35f29a)['sort']()['forEach'](([_0x5c0a0b,_0x3e4b1a])=>{_0x4ed6f4(_0x5c0a0b),_0x5473d9(_0x3e4b1a);}):_0x4ed6f4(window['String'](_0x35f29a));}return _0x5473d9(_0x5cc7d6),_0xc7d1d6>>>0x0;}function _0x41da36(_0xc421b7){return _0xc421b7['toString'](0x10)['padStart'](0x8,'0');}function _0x51fe61(_0x19b8fd){return _0x19b8fd['split']('')['reverse']()['join']('');}function _0x43fb24(){}_0x1611ca(await _0x2c6cd6());}_0x32fbb2(_0x3333c0['editor']);}(this);}destroy(){super['destroy'](),this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']&&(this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0x5d70ea=this['editor'],_0x53f47b=_0x5d70ea['editing']['view'],_0x428a8b=this['_getAttachedDomRoot']();if(!_0x428a8b||!_0x428a8b['hasChildNodes']())return void _0x5d70ea['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0x380c06,pageHeight:_0x5aa8c2}=_0x5d70ea['config']['get']('pagination'),{top:_0x115d8d,left:_0x4d0d5b,bottom:_0x426bf6,right:_0x6d6c67}=this['_configuredPaddings'];this['_pagesContainer']=new _0x5f6445(_0x5d70ea['locale']);const _0x17508b=this['_pagesContainer'];_0x17508b['set']('class',''),_0x17508b['setTemplate']({'tag':'div','attributes':{'style':{'columnWidth':_0x380c06,'width':_0x380c06,'height':'calc(\x20'+_0x5aa8c2+'\x20-\x20'+_0x115d8d+'\x20-\x20'+_0x426bf6+'\x20+\x200.5mm\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0x6d6c67+'\x200\x20'+_0x4d0d5b,'columnGap':'calc('+_0x4d0d5b+'\x20+\x20'+_0x6d6c67+'\x20+\x20100px)','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'class':_0x17508b['bindTemplate']['to']('class')}}),_0x17508b['render'](),_0x35db90(_0x428a8b)['insertBefore'](_0x17508b['element'],_0x428a8b['nextSibling']),this['listenTo'](_0x53f47b,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}_getAttachedDomRoot(){for(const _0x1516e2 of this['editor']['editing']['view']['domRoots']['values']())if(_0x1516e2['isConnected'])return _0x1516e2;return null;}_recalculatePageBreaks(){if(!this['isEnabled'])return Promise['resolve']();const _0x5dc412=this['editor']['editing']['view'],_0x3de05e=this['_pagesContainer'],_0x38874b=this['_getAttachedDomRoot']();if(!_0x38874b||!_0x3de05e)return Promise['resolve']();for(_0x3de05e['class']=['ck-reset','ck-pagination-view',..._0x38874b['classList']]['join']('\x20');_0x3de05e['element']['firstChild'];)_0x3de05e['element']['firstChild']['remove']();const _0x357bc7=Array['from'](_0x5dc412['domRoots']);_0x357bc7['sort'](([,_0x3cab77],[,_0x588200])=>_0x3cab77['compareDocumentPosition'](_0x588200)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0x3a78a3,_0x317c2f]of _0x357bc7){const _0x1aecab=_0x317c2f['cloneNode'](!0x0);'attributeStyleMap'in _0x1aecab&&_0x1aecab['attributeStyleMap']['clear'](),_0x1aecab['dataset']['rootName']=_0x3a78a3,_0x1aecab['className']='ck-content\x20ck-pagination_enabled',_0x1aecab['removeAttribute']('id'),_0x1aecab['tabIndex']=-0x1,_0x3de05e['element']['append'](_0x1aecab);}const _0x1cf32f=Array['from'](_0x3de05e['element']['querySelectorAll']('img'));return function(_0x106f41){return Promise['all'](_0x106f41['map'](_0x4e1ad6=>Promise['race']([N(_0x4e1ad6),_(0x3e8)])));}(_0x1cf32f)['then'](()=>{for(const _0x22b975 of _0x1cf32f['filter'](_0x5d0dd3=>!_0x5d0dd3['closest']('table')))if(_0x22b975['offsetParent']){const _0x4efaf=_0x579a1a['window']['getComputedStyle'](_0x22b975),_0x4b99c1=_0x579a1a['document']['createElement']('span');for(const _0x330c0a of _0x4efaf)_0x4b99c1['style']['setProperty'](_0x330c0a,_0x4efaf[_0x330c0a]);_0x4b99c1['style']['backgroundImage']='url(\x20'+_0x22b975['src']+'\x20)',_0x4b99c1['style']['breakInside']='avoid','PICTURE'==_0x22b975['parentElement']?.['tagName']?_0x22b975['parentElement']['replaceWith'](_0x4b99c1):_0x22b975['replaceWith'](_0x4b99c1);}return new Promise(_0x44b59a=>_0x579a1a['window']['requestAnimationFrame'](()=>_0x44b59a()));})['then'](()=>{this['_updatePageBreaksData']();});}_updatePageBreaksData(){const _0x1a916a=this['_pagesContainer']['element'];if(!_0x1a916a['isConnected'])return;const _0xd0b905=new _0x4c22bd(_0x1a916a)['excludeScrollbarsAndBorders'](),_0x434872=Math['floor'](_0xd0b905['width']+0x64),_0x2e194d=I(_0x1a916a,Math['floor'](_0xd0b905['left']-_0x1a916a['scrollLeft']),_0x434872,_0xd0b905['height'])['map'](_0x13a07c=>this['_mapPageStarterInfoToPageBreakInfo'](_0x13a07c))['filter'](_0x3cc62f=>!0x1!==_0x3cc62f);_0x2e194d['every'](_0x1819e1=>!!_0x1819e1)&&(this['pageBreaks']=_0x2e194d);}_mapPageStarterInfoToPageBreakInfo(_0x13afa0){const _0x3743f2=this['editor']['editing']['view'],_0x4a5228=this['editor']['editing']['mapper'],_0x2f3003=_0x3743f2['domConverter'],_0x4c7002=_0x13afa0['path']['shift'](),_0x4ded6a=this['_pagesContainer']['element']['childNodes'][_0x4c7002]['dataset']['rootName'],_0x36c079=_0x3743f2['getDomRoot'](_0x4ded6a);if(!_0x36c079)return null;const _0xb7cb29=function(_0x1cf288,_0x46eb5d){let _0x2a7738=_0x1cf288;for(const _0x4350b1 of _0x46eb5d['path']){if(!_0x2a7738)return null;_0x2a7738=_0x2a7738['childNodes'][_0x4350b1];}return _0x2a7738;}(_0x36c079,_0x13afa0);if(!_0xb7cb29)return null;const _0x4b463b=_0x2f3003['domPositionToView'](_0xb7cb29,_0x13afa0['textOffset']||0x0);return _0x4b463b?'manual'==_0x13afa0['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0x4b463b,_0xb7cb29):'text'==_0x13afa0['type']&&_0x4a5228['toModelPosition'](_0x4b463b)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0x4b463b,_0xb7cb29,_0x13afa0['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0x4b463b,_0xb7cb29,_0x13afa0['offset']):null;}_mapManualPageStarterInfoToPageBreakInfo(_0x2a5e41,_0x22fb77){const _0x171d34=this['editor']['model'],_0x39c73e=this['editor']['editing']['mapper']['toModelElement'](_0x2a5e41['parent']),_0x252150=_0x171d34['createRangeOn'](_0x39c73e);return new k({'type':'manual','modelRange':_0x252150,'domNode':_0x22fb77,'offset':0x0});}_mapTextPageStarterInfoToPageBreakInfo(_0x29705d,_0x21bbc9,_0x2fece7){const _0x3a3811=this['editor']['model'],_0x2fe0f3=this['editor']['editing']['mapper'],_0x3819ef=this['editor']['editing']['view']['domConverter'];if(_0x2fece7>=_0x21bbc9['length'])return null;const _0x1cf3d4=_0x2fe0f3['toModelPosition'](_0x29705d),_0x5bfff4=_0x3a3811['createRange'](_0x1cf3d4),_0x4b3b85=_0x2fe0f3['findMappedViewAncestor'](_0x29705d),_0x393173=_0x3819ef['mapViewToDom'](_0x4b3b85);return new k({'type':'text','modelRange':_0x5bfff4,'domNode':_0x21bbc9,'offset':L(_0x21bbc9,_0x2fece7,_0x393173)});}_mapElementPageStarterInfoToPageBreakInfo(_0x29016d,_0x42b538,_0x132ae9){const _0x41d46f=this['editor']['model'],_0x36914e=this['editor']['editing'],_0x236755=_0x36914e['mapper'],_0x21e8fd=_0x36914e['view']['domConverter'],_0x7b0aae=_0x236755['findMappedViewAncestor'](_0x29016d),_0x3e7646=_0x236755['toModelElement'](_0x7b0aae);if(!_0x3e7646||_0x3e7646['is']('rootElement'))return!0x1;const _0x82e7b1=function(_0x3fd487){const _0x3b0eea=_0x3fd487['parent'],_0x2d4e7c=_0x3b0eea['root']['document']['model'],_0x2fe15a=_0x3b0eea['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0x58ea2a=null;for(const _0x42d525 of _0x2fe15a){if(_0x42d525['is']('rootElement'))return _0x58ea2a;if(!_0x2d4e7c['createPositionBefore'](_0x42d525)['isTouching'](_0x3fd487))return _0x58ea2a;_0x58ea2a=_0x42d525;}}(_0x41d46f['createPositionBefore'](_0x3e7646))||_0x3e7646;let _0xb4846c=_0x236755['toViewElement'](_0x82e7b1),_0x165cb1=_0x41d46f['createRangeOn'](_0x82e7b1);const _0x53dbb7=_0x41d46f['createPositionBefore'](_0x82e7b1)['nodeBefore'];if(_0x53dbb7&&_0x53dbb7['is']('element','imageBlock')){const _0x55d9c6=_0x236755['toViewElement'](_0x53dbb7),_0x13dd78=_0x21e8fd['mapViewToDom'](_0x55d9c6),_0x4e5f1c=_0x579a1a['window']['getComputedStyle'](_0x13dd78)['float'];'left'!=_0x4e5f1c&&'right'!=_0x4e5f1c||(_0x165cb1=_0x41d46f['createRangeOn'](_0x53dbb7));}for(;_0xb4846c['parent']!==_0xb4846c['root']&&0x0===_0xb4846c['index'];)_0xb4846c=_0xb4846c['parent'];const _0x511ee0=new _0x4c22bd(C(_0x42b538)?_0x42b538:E(_0x42b538)),_0x33fa53=_0x132ae9?_0x511ee0['height']-_0x132ae9:0x0,_0x4d799b=_0x21e8fd['mapViewToDom'](_0xb4846c),_0x2db319=new _0x4c22bd(_0x4d799b);return new k({'type':'element','modelRange':_0x165cb1,'domNode':_0x4d799b,'offset':Math['round'](_0x33fa53)||_0x7b0aae!=x(_0x29016d)?_0x33fa53+_0x511ee0['top']-_0x2db319['top']:0x0});}get['_configuredPaddings'](){const _0x35636d=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0x35636d);}static _findPageStarterInfos(_0x360b01,_0x2f2902,_0x36b494,_0x55601b,_0x32714b){return I(_0x360b01,_0x2f2902,_0x36b494,_0x55601b,_0x32714b);}},k=class{type;['modelRange'];['_domNode'];_offset;constructor({type:_0x1a3cc2,modelRange:_0x3959f7,domNode:_0x5d09c5,offset:_0x6c8b7d}){this['type']=_0x1a3cc2,this['modelRange']=_0x3959f7,this['_domNode']=_0x5d09c5,this['_offset']=_0x6c8b7d;}get offset(){if(!this['_domNode']['isConnected'])return 0x0;const _0x321029=new _0x4c22bd(C(this['_domNode'])?this['_domNode']:E(this['_domNode']));return'manual'==this['type']?_0x321029['top']+_0x321029['height']/0x2:_0x321029['top']+this['_offset'];}};function L(_0xc8ffae,_0x4565f9,_0x31ccad){const _0xbc1a14=E(_0xc8ffae),_0x488c85=function(_0x1eb622){const _0x41b3af=_0x579a1a['document']['createRange']();return _0x41b3af['selectNodeContents'](_0x1eb622),_0x41b3af;}(_0x31ccad);let _0x5dce34;if(0x0==_0x4565f9){const _0x4fb78d=_0x35db90(_0xc8ffae);_0x5dce34=R(_0x488c85['startContainer'],_0x488c85['startOffset'],_0x4fb78d,Array['from'](_0x4fb78d['childNodes'])['indexOf'](_0xc8ffae));}else _0x5dce34=R(_0x488c85['startContainer'],_0x488c85['startOffset'],_0xc8ffae,_0x4565f9);const _0x159ace=R(_0xc8ffae,_0x4565f9,_0x488c85['endContainer'],_0x488c85['endOffset']),_0x3daf24=new _0x4c22bd(_0x5dce34)['bottom'];return(new _0x4c22bd(_0x159ace)['top']+_0x3daf24)/0x2-new _0x4c22bd(_0xbc1a14)['top'];}function x(_0x328d2c){let _0x2735a0=_0x328d2c['parent'];for(;_0x2735a0['is']('$text')||_0x2735a0['is']('attributeElement');)_0x2735a0=_0x2735a0['parent'];return _0x2735a0;}function N(_0x5346b8){return _0x5346b8['hasAttribute']('width')&&_0x5346b8['hasAttribute']('height')?Promise['resolve']():new Promise(_0x1f31ec=>{function _0x2ba64f(){_0x5346b8['removeEventListener']('load',_0x2ba64f),_0x5346b8['removeEventListener']('error',_0x2ba64f),_0x1f31ec();}_0x5346b8['complete']?_0x1f31ec():(_0x5346b8['addEventListener']('load',_0x2ba64f),_0x5346b8['addEventListener']('error',_0x2ba64f));});}function _(_0x267527){return new Promise(_0x2957d2=>setTimeout(_0x2957d2,_0x267527));}function E(_0x1e3a29){const _0x6f2bb7=_0x579a1a['document']['createRange']();return _0x6f2bb7['selectNode'](_0x1e3a29),_0x6f2bb7;}function S(_0x34de9f,_0x591ab9,_0x3590ea){const _0x4e42ee=_0x579a1a['document']['createRange']();return _0x4e42ee['setStart'](_0x34de9f,_0x591ab9),_0x4e42ee['setEnd'](_0x34de9f,_0x3590ea),_0x4e42ee;}function R(_0x8bc84a,_0xa95288,_0x1b0e07,_0x19869f){const _0x3baa9c=_0x579a1a['document']['createRange']();return _0x3baa9c['setStart'](_0x8bc84a,_0xa95288),_0x3baa9c['setEnd'](_0x1b0e07,_0x19869f),_0x3baa9c;}function I(_0x1446d8,_0x49fd2b,_0x33e4ac,_0x173760,_0x1e6f80){const _0x547589=[];for(const [_0x52c165,_0x5b9307]of _0x1446d8['childNodes']['entries']()){let _0x556a43=[];C(_0x5b9307)&&_0x5b9307['offsetParent']&&['static','relative']['includes'](_0x579a1a['window']['getComputedStyle'](_0x5b9307)['position'])?_0x556a43=K(_0x5b9307,_0x52c165,_0x49fd2b,_0x33e4ac,_0x173760,_0x1e6f80):D(_0x5b9307)&&(_0x556a43=A(_0x5b9307,_0x52c165,_0x49fd2b,_0x33e4ac,_0x1e6f80)),_0x556a43['length']&&(_0x547589['push'](..._0x556a43),_0x49fd2b+=_0x556a43['length']*_0x33e4ac,_0x1e6f80=!0x1);}return _0x547589;}function K(_0x375f40,_0x3c6620,_0x29fa51,_0x16c5a2,_0xd2096b,_0x2ff02d){const _0x101f64=[];var _0x499231;if((_0x499231=_0x375f40['previousSibling'])&&C(_0x499231)&&Boolean(_0x499231['classList']['contains']('page-break')||_0x499231['closest']('.page-break'))&&(_0x101f64['push']({'type':'manual','offset':0x0,'path':[_0x3c6620-0x1]}),_0x2ff02d=!0x0),'table-row'==_0x579a1a['window']['getComputedStyle'](_0x375f40)['display']){let _0x14170f=0x0,_0x3df2ae=!0x1;for(const _0xa0c948 of _0x375f40['getClientRects']())_0x14170f+=_0xa0c948['height'],_0xa0c948['left']>=_0x29fa51&&(_0x3df2ae=!0x0);if(_0x14170f<_0xd2096b&&_0x3df2ae)return _0x2ff02d||_0x101f64['push']({'type':'element','offset':0x0,'path':[_0x3c6620]}),_0x101f64;}const _0x164dfc=_0x375f40['closest']('figure.image');if(_0x164dfc&&function(_0xbb3dc0){let _0x142009=!0x1;const _0x2ce82e=_0x5a7ca1(_0xbb3dc0)['dataset']['rootName'],_0x2c03f6=_0xbb3dc0['nextElementSibling'],_0x1b45c6=_0xbb3dc0['previousElementSibling'],_0x248028=_0x2c03f6&&_0x579a1a['window']['getComputedStyle'](_0x2c03f6)['float'],_0xce03f9=_0x2c03f6&&'ck-fake-selection-container'===_0x2c03f6['className'];return!_0x2ce82e||_0x2c03f6||_0x1b45c6||(_0x142009=!0x0),_0x2ce82e&&!_0x1b45c6&&_0xce03f9&&(_0x142009=!0x0),_0x2ce82e&&!_0x1b45c6&&'none'!==_0x248028&&(_0x142009=!0x0),!_0x142009;}(_0x164dfc)){const _0x1f2db4=_0x579a1a['window']['getComputedStyle'](_0x164dfc)['float'];if('left'==_0x1f2db4||'right'==_0x1f2db4)return _0x101f64;}const _0xc47625=I(_0x375f40,_0x29fa51,_0x16c5a2,_0xd2096b,_0x2ff02d);if(_0xc47625['length']){for(const _0xf82fb2 of _0xc47625)_0x101f64['push']({'type':_0xf82fb2['type'],'offset':_0xf82fb2['offset'],'textOffset':_0xf82fb2['textOffset'],'path':[_0x3c6620,..._0xf82fb2['path']]}),_0x29fa51+=_0x16c5a2;return _0x101f64;}return _0x101f64['push'](...function(_0x18a276,_0x4f61dc,_0x1c58a7,_0x48b124,_0x5a0dcd){const _0x51de20=[];if('table-cell'==_0x579a1a['window']['getComputedStyle'](_0x18a276)['display'])return[];const _0x4029da=[];for(const _0x481666 of _0x18a276['getClientRects']())if(_0x481666['left']>=_0x1c58a7){for(const _0x10e365 of _0x4029da)_0x10e365['height']+=_0x481666['height'];_0x4029da['push']({'height':_0x481666['height']}),_0x1c58a7+=_0x48b124;}for(const _0x37df6c of _0x4029da)_0x5a0dcd||_0x51de20['push']({'type':'element','offset':_0x37df6c['height'],'textOffset':0x0,'path':[_0x4f61dc]}),_0x5a0dcd=!0x1;return _0x51de20;}(_0x375f40,_0x3c6620,_0x29fa51,_0x16c5a2,_0x2ff02d)),_0x101f64;}function A(_0x56a6e8,_0x377de4,_0x402107,_0x8b7c27,_0x3aa77c){const _0x3fbbee=E(_0x56a6e8),_0x3160d6=[];let _0x4928f5=0x0;for(const _0x3de83d of _0x3fbbee['getClientRects']())if(_0x3de83d['left']>=_0x402107){const _0x5792b8=O(_0x56a6e8,_0x4928f5,_0x402107,_0x8b7c27);_0x3aa77c||_0x3160d6['push']({'type':'text','path':[_0x377de4],'textOffset':_0x5792b8}),_0x4928f5=_0x5792b8,_0x402107+=_0x8b7c27,_0x3aa77c=!0x1;}return _0x3160d6;}function O(_0x3ce80f,_0x2329c0,_0x1815c6,_0x14b0cc){let _0x23f68f=_0x2329c0,_0x160577=_0x3ce80f['length'];for(;_0x160577-_0x23f68f>0x1;){const _0x1174a7=Math['ceil']((_0x23f68f+_0x160577)/0x2);U(S(_0x3ce80f,_0x23f68f,_0x1174a7),_0x1815c6,_0x14b0cc)?_0x160577=_0x1174a7:_0x23f68f=_0x1174a7;}return _0x23f68f;}function U(_0x30171d,_0x28b095,_0x4440d0){for(const _0x20f24c of _0x30171d['getClientRects']())if(_0x20f24c['left']>=_0x28b095&&_0x20f24c['left']<_0x28b095+_0x4440d0)return!0x0;return!0x1;}function C(_0x3aa51d){return _0x3aa51d['nodeType']==Node['ELEMENT_NODE'];}function D(_0x39f981){return _0x39f981['nodeType']==Node['TEXT_NODE'];}const T=/* #__PURE__ -- @preserve */
|
|
24
|
-
_0x4d0886('px');var B=class extends _0x5f6445{constructor(){super();const _0x39724d=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0x39724d['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0x39724d['if']('isVisible','ck-hidden',_0x4b5d20=>!_0x4b5d20)],'style':{'left':_0x39724d['to']('left',_0x3df2ea=>T(_0x3df2ea)),'top':_0x39724d['to']('top',_0x4ea923=>T(_0x4ea923)),'width':_0x39724d['to']('width',_0x901017=>T(_0x901017))}}});}},G=class{_viewCollection;['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0x8c6b){this['_viewCollection']=_0x8c6b['ui']['view']['body'];}get containerElement(){return this['_viewCollection']['bodyCollectionContainer'];}destroy(){for(const _0x23f6ff of this['_hiddenLines'])_0x23f6ff['destroy']();}['cleanLines'](){for(const _0x5bee50 of this['_visibleLines'])_0x5bee50['isVisible']=!0x1,this['_hiddenLines']['add'](_0x5bee50);this['_visibleLines']['clear']();}['showLine'](_0x1ef0bb,_0xdb978a,_0x542592,_0x543c50){let _0x49cf5a;this['_hiddenLines']['size']?(_0x49cf5a=_0x256669(this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0x49cf5a)):_0x49cf5a=new B(),_0x49cf5a['set']({'pageNumber':_0x543c50,'left':_0x1ef0bb,'top':_0xdb978a,'width':_0x542592}),_0x49cf5a['isVisible']=!0x0,this['_viewCollection']['has'](_0x49cf5a)||this['_viewCollection']['add'](_0x49cf5a),this['_visibleLines']['add'](_0x49cf5a);}setViewCollection(_0x52bceb){for(const _0x4fd26f of[...this['_visibleLines'],...this['_hiddenLines']])this['_viewCollection']['has'](_0x4fd26f)&&this['_viewCollection']['remove'](_0x4fd26f);this['_viewCollection']=_0x52bceb;}};const V='ck-pagination_enabled';var M=class extends _0x1558a0{linesRepository;_scrollableEditingRootDomAncestor=null;['_resizeObserver']=null;_paginationLookupPlugin;static get['pluginName'](){return'PaginationRenderer';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){this['set']({'pageNumber':0x1}),this['linesRepository']=new G(this['editor']),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']=null,this['_paginationLookupPlugin']=this['editor']['plugins']['get']('PaginationLookup'),this['bind']('isEnabled')['to'](this['editor']['plugins']['get']('PaginationEditing')),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['_toggleEditingRootsClass'](V),this['on']('change:isEnabled',(_0xe9be51,_0x2e0160,_0x386a4c)=>{_0x386a4c||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](V,_0x386a4c);});}destroy(){this['_toggleEditingRootsClass'](V,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0x4a5b67){if(!this['isEnabled'])return;const _0xf2b2d9=_0x4a5b67>0x1?this['_getPageBreakLineOffset'](_0x4a5b67-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0xf2b2d9-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':_0x3048c9['isMotionReduced']?'instant':'smooth'});}setupScrollableAncestor(){const _0x24b933=this['editor'],_0x22d7a8=this['_getAttachedDomRoot']();_0x22d7a8?(this['_scrollableEditingRootDomAncestor']&&_0x24b933['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=_0x12cc90(_0x22d7a8),_0x24b933['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new _0x42aa79(this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0x24b933['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0x484342=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0x484342['ui']['view']['listenTo'](_0x579a1a['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0x484342['ui']['once']('update',()=>this['_onUiReady']());}_getAttachedDomRoot(){for(const _0x5300cd of this['editor']['editing']['view']['domRoots']['values']())if(_0x5300cd['isConnected'])return _0x5300cd;return null;}_updatePageBreakLines(){if(!this['isEnabled'])return;const _0x5d2083=this['_getAttachedDomRoot'](),_0x2b25fb=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0x5d2083||0x1==_0x2b25fb['length'])return void(this['pageNumber']=0x1);const _0x5cf9b0=new _0x4c22bd(_0x5d2083)['excludeScrollbarsAndBorders'](),_0xd69868=new _0x4c22bd(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0x52c551=_0xd69868['top']+_0xd69868['height']/0x3;let _0x1c8fc1=!0x1;const _0x470db9=[];for(let _0x1265c3=0x1;_0x1265c3<_0x2b25fb['length'];_0x1265c3++){const _0xaa1be8=this['_getPageBreakLineOffset'](_0x1265c3,_0xd69868);if(!_0xaa1be8)continue;const _0x180706=_0xd69868['top']+_0xaa1be8-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0x470db9['push']({'pageOffsetTop':_0x180706,'domRootRect':_0x5cf9b0,'domScrollableRect':_0xd69868,'pageNumber':_0x1265c3}),_0x180706>_0x52c551&&!_0x1c8fc1&&(this['pageNumber']=_0x1265c3,_0x1c8fc1=!0x0);}this['_renderPageBreakLines'](_0x470db9),_0x1c8fc1||(this['pageNumber']=_0x2b25fb['length']);}['_renderPageBreakLines'](_0x369914){if(!_0x369914['length'])return;const {scrollX:_0x1ee8ce,scrollY:_0x2e2f8d}=_0x579a1a['window'],_0x40aaa1=_0x43d32e(this['linesRepository']['containerElement']);let _0x50dfbb,_0x54b8a0;if(_0x40aaa1){const _0x368209=new _0x4c22bd(_0x40aaa1);_0x50dfbb=_0x368209['top']+_0x40aaa1['clientTop']-_0x40aaa1['scrollTop'],_0x54b8a0=_0x368209['left']+_0x40aaa1['clientLeft']-_0x40aaa1['scrollLeft'];}else _0x50dfbb=-_0x2e2f8d,_0x54b8a0=-_0x1ee8ce;for(const {domScrollableRect:_0x22952c,pageOffsetTop:_0xaeaf40,domRootRect:_0x53d826,pageNumber:_0x49a480}of _0x369914)_0x22952c['top']<_0xaeaf40&&_0xaeaf40<_0x22952c['bottom']&&this['linesRepository']['showLine'](_0x53d826['left']-_0x54b8a0,_0xaeaf40-_0x50dfbb,_0x53d826['width'],_0x49a480+0x1);}_getPageBreakLineOffset(_0x3d1232,_0x53ccc9=null){const _0x3da860=this['_paginationLookupPlugin']['pageBreaks'][_0x3d1232]['offset'];return _0x3da860?(_0x53ccc9||(_0x53ccc9=new _0x4c22bd(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0x3da860-_0x53ccc9['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}_toggleEditingRootsClass(_0x40f954,_0x3f2a9e=!0x0){const _0x2ef186=this['editor']['editing']['view'];_0x2ef186['change'](_0x36b99f=>{for(const _0x147c1c of _0x2ef186['document']['roots'])_0x3f2a9e?_0x36b99f['addClass'](_0x40f954,_0x147c1c):_0x36b99f['removeClass'](_0x40f954,_0x147c1c);});}};function $(_0x281eff,_0x2c135a,..._0x2e6213){const t=_0x281eff['t'];switch(_0x2c135a){case'Go\x20to\x20next\x20page':return t('Go\x20to\x20next\x20page');case'Go\x20to\x20previous\x20page':return t('Go\x20to\x20previous\x20page');case'Current\x20page\x20number\x20(from\x201\x20to\x20%0)':return t('Current\x20page\x20number\x20(from\x201\x20to\x20%0)',..._0x2e6213);case'Keystrokes\x20for\x20navigating\x20through\x20documents':return t('Keystrokes\x20for\x20navigating\x20through\x20documents');case'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':return t('Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)');case'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':return t('Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)');default:return _0x2c135a;}}var j=class extends _0x1558a0{['licenseKey'];_licenseKeyCheckInterval;static get['pluginName'](){return'PaginationEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get requires(){return[v,M];}init(){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x54d8d8=this['editor']['plugins']['get']('Pagination'),_0x181d26=this['editor']['plugins']['get'](v),_0x52af47=this['editor']['plugins']['get'](M);this['bind']('isEnabled')['to'](_0x54d8d8),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0x52af47),this['listenTo'](_0x181d26,'change:pageBreaks',(_0x34beff,_0x5a1b77,_0x5d0191,_0x49103b)=>{this['totalPages']=_0x5d0191['length'],this['_updatePageBreakMarkers'](_0x5d0191,_0x49103b);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey'),this['_licenseKeyCheckInterval']=setInterval(()=>{const _0x159a4f=[this['editor']];for(const _0x5f0afc of _0x159a4f){let _0x19f47b;for(const _0x8c0d16 in _0x5f0afc){const _0x5f3cbf=_0x8c0d16,_0x103d10=_0x5f0afc[_0x5f3cbf];if('paginationLicenseKeyValid'==_0x103d10||'paginationLicenseKeyInvalid'==_0x103d10||'paginationLicenseKeyExpired'==_0x103d10||'paginationLicenseKeyDomainLimit'==_0x103d10||'paginationLicenseKeyNotAllowed'==_0x103d10||'paginationLicenseKeyEvaluationLimit'==_0x103d10||'paginationLicenseKeyUsageLimit'==_0x103d10){delete _0x5f0afc[_0x5f3cbf],_0x19f47b=_0x103d10,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0x19f47b&&_0x5f0afc['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0x19f47b&&_0x5f0afc['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0x19f47b&&_0x5f0afc['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0x19f47b&&_0x5f0afc['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0x19f47b&&_0x5f0afc['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyUsageLimit'==_0x19f47b&&_0x5f0afc['_showLicenseError']('usageLimit');}},0x3e8);}destroy(){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0x3ce152){this['isEnabled']&&this['editor']['plugins']['get'](M)['scrollToPage'](this['_validatePageNumber'](_0x3ce152));}moveSelectionToPage(_0x1bdb42){if(!this['isEnabled'])return;const _0x3ba7c6=this['editor'],_0x3ce0c1=this['editor']['plugins']['get'](v)['pageBreaks'][_0x1bdb42-0x1];_0x3ce0c1&&_0x3ba7c6['model']['change'](_0x3e1e45=>{switch(_0x3ce0c1['type']){case'manual':{const _0xbec793=_0x3ba7c6['model']['schema']['getNearestSelectionRange'](_0x3ce0c1['modelRange']['end'],'forward');_0x3e1e45['setSelection'](_0xbec793);break;}case'element':{const _0x17d7c4=_0x3ba7c6['model']['schema']['getNearestSelectionRange'](_0x3ce0c1['modelRange']['start'],'forward');_0x3e1e45['setSelection'](_0x17d7c4);break;}case'text':{const _0x3c6340=_0x3ce0c1['modelRange']['start'];if(_0x3c6340['textNode']&&'\x20'===_0x3c6340['textNode']['data'][_0x3c6340['offset']]){const _0x2e525b=_0x3e1e45['createPositionAt'](_0x3c6340['parent'],_0x3c6340['offset']+0x1);_0x3e1e45['setSelection'](_0x2e525b);}else _0x3e1e45['setSelection'](_0x3ce0c1['modelRange']);}}_0x3ba7c6['editing']['view']['focus']();});}goToNextPage(){const _0x472131=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0x472131),this['scrollToPage'](_0x472131);}['goToPreviousPage'](){const _0x293557=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0x293557),this['scrollToPage'](_0x293557);}_updatePageBreakMarkers(_0x53f703,_0x2d92c5){const _0x3b317b=this['editor']['model'];this['isEnabled']&&_0x3b317b['change'](_0x3a5efb=>{for(let _0x378358=0x1;_0x378358<_0x53f703['length'];_0x378358++){const _0x4d526b=_0x53f703[_0x378358]['modelRange'],_0x4693c5='pagination:'+(_0x378358+0x1);_0x3b317b['markers']['has'](_0x4693c5)?_0x3a5efb['updateMarker'](_0x4693c5,{'range':_0x4d526b}):_0x3a5efb['addMarker'](_0x4693c5,{'range':_0x4d526b,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0x3f7d9d=_0x53f703['length'];_0x3f7d9d<_0x2d92c5['length'];_0x3f7d9d++){const _0x3ad269='pagination:'+(_0x3f7d9d+0x1);_0x3b317b['markers']['has'](_0x3ad269)&&_0x3a5efb['removeMarker'](_0x3ad269);}});}_setUpDataDowncastConversion(){this['editor']['conversion']['for']('dataDowncast')['add'](_0x97dfa7=>{_0x97dfa7['on']('addMarker:pagination',(_0x21b722,{markerRange:_0x318b82,markerName:_0x5939a2},_0x3c5bc8)=>{if(!_0x3c5bc8['options']['pagination'])return;if(!_0x3c5bc8['consumable']['consume'](_0x318b82,_0x21b722['name']))return;const _0x541ae4=_0x318b82['getContainedElement']();let _0x3ecfc6=_0x541ae4?_0x3c5bc8['mapper']['toViewElement'](_0x541ae4):null;if(!_0x3ecfc6){const _0x5e19bd=_0x318b82['start'];if(_0x3c5bc8['schema']['checkChild'](_0x5e19bd,'$text')){const _0x5aefaf=_0x3c5bc8['mapper']['toViewPosition'](_0x5e19bd);_0x3ecfc6=_0x3c5bc8['writer']['createContainerElement']('span'),_0x3ecfc6['getFillerOffset']=()=>null,_0x3c5bc8['writer']['insert'](_0x5aefaf,_0x3ecfc6);}else{const _0x18a57c=_0x5e19bd['nodeAfter'];_0x3ecfc6=_0x3c5bc8['mapper']['toViewElement'](_0x18a57c);}}for(;_0x3ecfc6['parent']!==_0x3ecfc6['root']&&0x0===_0x3ecfc6['index'];)_0x3ecfc6=_0x3ecfc6['parent'];const _0x825719=_0x5939a2['substring'](0xb);_0x3ecfc6['hasClass']('page-break')||(_0x3c5bc8['writer']['setStyle']('page-break-before','always',_0x3ecfc6),_0x3c5bc8['writer']['setAttribute']('data-pagination-page',_0x825719,_0x3ecfc6),_0x3c5bc8['mapper']['bindElementToMarker'](_0x3ecfc6,_0x5939a2)),_0x21b722['stop']();});});}_setupKeystrokes(){const _0x44c07d=this['editor'];_0x44c07d['keystrokes']['set']('Shift+Pageup',(_0x3e9e5a,_0x59106f)=>{this['goToPreviousPage'](),_0x59106f();}),_0x44c07d['keystrokes']['set']('Shift+Pagedown',(_0x542257,_0x4bb5de)=>{this['goToNextPage'](),_0x4bb5de();}),_0x44c07d['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':$(_0x44c07d['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':$(_0x44c07d['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':$(_0x44c07d['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}_validatePageNumber(_0x1847c3){return _0x1847c3<0x1&&(_0x1847c3=0x1),_0x1847c3>this['totalPages']&&(_0x1847c3=this['totalPages']),_0x1847c3;}},q=class extends _0x5f6445{['pageNumberView'];constructor(_0xb8a6e2){super(_0xb8a6e2);const _0x4f47b4=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new _0x1687d4(_0xb8a6e2,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0x2adb1d=>$(_0xb8a6e2,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0x2adb1d)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0x43c733=>!_0x43c733),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0x4f47b4['if']('isEnabled','ck-disabled',_0x32e721=>!_0x32e721)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0x4f47b4['to']('totalPages')}]}]});}['render'](){super['render']();const _0x2308a7=this['pageNumberView']['element'],_0x3f9038=_0x267f27=>{this['pageNumberView']['element']['value']=String(_0x267f27);};_0x3f9038(this['pageNumber']),this['on']('change:pageNumber',(_0x162f21,_0x169ed6,_0x494be8)=>{_0x3f9038(_0x494be8);}),this['listenTo'](_0x2308a7,'keydown',(_0x53d2d1,_0x37c834)=>{if('ArrowUp'===_0x37c834['key']||'ArrowDown'===_0x37c834['key'])return void _0x37c834['stopPropagation']();if(_0x37c834['keyCode']!==_0x237375['enter'])return;_0x37c834['preventDefault']();const _0x49be0c=_0x2308a7['valueAsNumber'];Number['isNaN'](_0x49be0c)?_0x2308a7['value']=String(this['pageNumber']):(_0x2308a7['checkValidity']()?this['pageNumber']=_0x49be0c:_0x49be0c>this['totalPages']?(this['pageNumber']=this['totalPages'],_0x2308a7['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0x2308a7['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0x2308a7,'blur',()=>{_0x2308a7['value']=String(this['pageNumber']);}),this['listenTo'](_0x2308a7,'focus',()=>{this['pageNumberView']['select']();});}['focus'](){this['pageNumberView']['element']['focus']();}},F=class extends _0x1558a0{static get['pluginName'](){return'PaginationUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const _0xd88861=this['editor'],_0x11da49=_0xd88861['plugins']['get']('PaginationEditing');_0xd88861['ui']['componentFactory']['add']('pageNavigation',_0x457c0d=>{const _0x476781=new q(_0x457c0d);return _0x476781['bind']('pageNumber')['to'](_0x11da49),_0x476781['bind']('totalPages')['to'](_0x11da49),_0x476781['bind']('isEnabled')['to'](_0x11da49),_0x476781['on']('navigation',(_0x35ffca,_0x33f192)=>{_0x11da49['moveSelectionToPage'](_0x33f192),_0x11da49['scrollToPage'](_0x33f192);}),_0x476781;}),_0xd88861['ui']['componentFactory']['add']('nextPage',_0x437b9f=>{const _0x491a21=new _0x2d53ce(_0x437b9f);return _0x491a21['isEnabled']=!0x0,_0x491a21['label']=$(_0xd88861['locale'],'Go\x20to\x20next\x20page'),_0x491a21['icon']=_0x38c35e,_0x491a21['tooltip']=!0x0,_0x491a21['keystroke']='Shift+PageDown',_0x491a21['bind']('isEnabled')['to'](_0x11da49),this['listenTo'](_0x491a21,'execute',()=>{_0x11da49['goToNextPage']();}),_0x491a21;}),_0xd88861['ui']['componentFactory']['add']('previousPage',_0xd390b1=>{const _0x3e8cf1=new _0x2d53ce(_0xd390b1);return _0x3e8cf1['isEnabled']=!0x0,_0x3e8cf1['label']=$(_0xd88861['locale'],'Go\x20to\x20previous\x20page'),_0x3e8cf1['icon']=_0x45ad66,_0x3e8cf1['tooltip']=!0x0,_0x3e8cf1['keystroke']='Shift+PageUp',_0x3e8cf1['bind']('isEnabled')['to'](_0x11da49),this['listenTo'](_0x3e8cf1,'execute',()=>{_0x11da49['goToPreviousPage']();}),_0x3e8cf1;});}},H=class extends _0x1558a0{static get['pluginName'](){return'Pagination';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get requires(){return[j,F];}constructor(_0x5d9cef){super(_0x5d9cef),this['isEnabled']=!0x1;}init(){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x18637a=this['editor']['plugins']['get'](j);this['bind']('pageNumber')['to'](_0x18637a),this['bind']('totalPages')['to'](_0x18637a),_0x3048c9['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0x460599){this['editor']['plugins']['get'](j)['scrollToPage'](_0x460599);}};export{H as Pagination,M as PaginationRenderer};
|
|
23
|
+
import{Plugin as _0x165034}from'@ckeditor/ckeditor5-core';import{ButtonView as _0x4d04b1,InputNumberView as _0x2a2a4d,View as _0x290290}from'@ckeditor/ckeditor5-ui';import{Rect as _0x18b435,ResizeObserver as _0x1f0d87,env as _0x5ab1dd,findClosestScrollableAncestor as _0x4d8752,first as _0x2f7bca,getParentElement as _0x2e83b3,getParentNode as _0x1a5af7,getPositionedAncestor as _0x20afdf,global as _0x4a66bf,keyCodes as _0x3cbc83,logWarning as _0x3b20d2,toUnit as _0xcd8d61,uid as _0x2e1b44}from'@ckeditor/ckeditor5-utils';import{debounce as _0x41d0bd}from'es-toolkit/compat';import{IconArrowDown as _0x362ada,IconArrowUp as _0x17a758}from'@ckeditor/ckeditor5-icons';var v=class extends _0x165034{_recalculatePageBreaksDebounced=_0x41d0bd(()=>this['_recalculatePageBreaks'](),0xc8);_pagesContainer=null;static get['pluginName'](){return'PaginationLookup';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){if(this['set']({'pageBreaks':[]}),!this['editor']['config']['get']('pagination'))return void _0x3b20d2('pagination-config-not-found',this['editor']['config']);const _0x2ea3a2=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0x2ea3a2),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0x38b67a,_0x92d2c6,_0x2aafc5)=>{_0x2aafc5&&this['_recalculatePageBreaksDebounced']();});}afterInit(){!async function(_0x5dfb7b){const _0x1048f9='vsmL4TPpuR53MlqSj2VXwH9oEAN8FxJtGUOdbDCZ01ihyfkBQY6acgz7rIeWKn',_0x480fe4=0x797d0,_0x3f6444={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'};async function _0x261698(_0xf4d8d2){const _0x438fc7=new window['Promise'](_0x1e63fc=>{_0xf4d8d2['once']('ready',_0x1e63fc);}),_0x2ebaf7=window['Date']['now'](),_0x2e7236=_0xf4d8d2['config']['get']('licenseKey');async function _0x183fd4(){let _0x3300ee,_0x4f6a88=null,_0x41837b=null;try{return'GPL'==_0x2e7236?'NotAllowed':(_0x3300ee=_0x3687d0(),_0x3300ee?(_0x3300ee['usageEndpoint']&&(_0x41837b=_0x13d5db(_0x3300ee['usageEndpoint'],_0x3300ee['jti'])),await _0x31251e()?_0x4c8b9e()?_0x49a3dd()?'Expired':_0x5e4c5f()?('evaluation'==_0x3300ee['licenseType']&&(_0x4f6a88=_0x577c69('EvaluationLimit')),await _0x541b54()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x49a3dd(){const _0x355ba6=['evaluation','trial']['includes'](_0x3300ee['licenseType'])?_0x2ebaf7/0x3e8:0xe10*_0x480fe4;return _0x3300ee['exp']<_0x355ba6;}function _0x4c8b9e(){const _0x2733eb=_0x3300ee['features'];return!!_0x2733eb&&(!!_0x2733eb['includes']('*')||!!_0x2733eb['includes']('PAG'));}function _0x5e4c5f(){const _0x1b5f91=_0x3300ee['licensedHosts'];if(!_0x1b5f91||0x0==_0x1b5f91['length'])return!0x0;const {hostname:_0x39c9aa}=new URL(window['location']['href']);if(_0x1b5f91['includes'](_0x39c9aa))return!0x0;const _0x37093b=_0x39c9aa['split']('.');return _0x1b5f91['filter'](_0x566ae1=>_0x566ae1['includes']('*'))['map'](_0x44fbe9=>_0x44fbe9['split']('.'))['filter'](_0x26ab1e=>_0x26ab1e['length']<=_0x37093b['length'])['map'](_0x41f738=>Array(_0x37093b['length']-_0x41f738['length'])['fill']('*'===_0x41f738[0x0]?'*':'')['concat'](_0x41f738))['some'](_0x14920e=>_0x37093b['every']((_0x1ea38e,_0x5b3f1a)=>_0x14920e[_0x5b3f1a]===_0x1ea38e||'*'===_0x14920e[_0x5b3f1a]));}function _0x541b54(){return _0x4f6a88&&_0x41837b?new window['Promise']((_0x5d594a,_0x58066a)=>{_0x4f6a88['then'](_0x5d594a,_0x58066a),_0x41837b['then'](_0x26c1e9=>{'Valid'!=_0x26c1e9&&_0x5d594a(_0x26c1e9);},_0x58066a);}):_0x4f6a88||_0x41837b||'Valid';}}function _0x13d5db(_0x3991c6,_0x505715){return new window['Promise'](_0x322277=>{if(_0x698098())return _0x322277('Valid');_0x31ebdc(),_0xf4d8d2['decorate']('_sendUsageRequest');let _0x53bb1c=!0x1;const _0x456721=_0x2e1b44();function _0x5d2731(_0x2fef05){return!!_0x2fef05&&('object'==typeof _0x2fef05||'function'==typeof _0x2fef05)&&'function'==typeof _0x2fef05['then']&&'function'==typeof _0x2fef05['catch'];}function _0x39231a(_0x4904bb){_0x52809e(_0x4904bb)['then'](_0x2efd7b=>_0x2efd7b&&'ok'==_0x2efd7b['status']?_0x2dbfe8(_0x532367(_0x456721+_0x505715))!=_0x2efd7b['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x455fae=>(_0x2384ac(),_0x455fae),()=>{const _0x38326b=_0x1b12f5();return null==_0x38326b?(_0x2384ac(),'Valid'):_0x2ebaf7-_0x38326b>0x240c8400?'UsageLimit':'Valid';})['then'](_0x322277)['catch'](()=>{_0x322277('UsageLimit');});const _0xd0dfa=0x36ee80;function _0x2384ac(){const _0x4aef98='llct-'+_0x2dbfe8(_0x532367(_0x3991c6)),_0x5285cb=_0x5a32b7(_0x2dbfe8(window['Math']['ceil'](_0x2ebaf7/_0xd0dfa)));window['localStorage']['setItem'](_0x4aef98,_0x5285cb);}function _0x1b12f5(){const _0x2305bc='llct-'+_0x2dbfe8(_0x532367(_0x3991c6)),_0x257192=window['localStorage']['getItem'](_0x2305bc);return _0x257192?window['parseInt'](_0x5a32b7(_0x257192),0x10)*_0xd0dfa:null;}function _0x52809e(_0x2b43f3){return new window['Promise']((_0x136174,_0x2348cf)=>{_0x2b43f3['then'](_0x136174,_0x2348cf),window['setTimeout'](_0x2348cf,0x1d4c0);});}}_0xf4d8d2['on']('_sendUsageRequest',(_0xf6eeed,_0x788a4b)=>{if(_0x788a4b[0x0]!=_0x3991c6)return _0x322277('UsageLimit');_0x788a4b[0x1]={..._0x788a4b[0x1],'requestId':_0x456721};},{'priority':'high'}),_0xf4d8d2['on']('_sendUsageRequest',_0x570e1f=>{_0x5d2731(_0x570e1f['return'])&&(_0x53bb1c=!0x0,_0x39231a(_0x570e1f['return']));},{'priority':'low'}),_0x438fc7['then'](()=>{_0x53bb1c||_0x322277('UsageLimit');});});function _0x698098(){return'auto'==_0xf4d8d2['editing']['view']['_overlayModeHint'];}function _0x31ebdc(){_0xf4d8d2['editing']['view']['_overlayModeHint']='auto';}}function _0x577c69(_0xbe5ba){const _0x592f32=[new window['Promise'](_0x2808d0=>setTimeout(_0x2808d0,0x93ecc)),_0x438fc7['then'](()=>new window['Promise'](_0x2f7a85=>{let _0x18847b=0x0;_0xf4d8d2['model']['on']('applyOperation',(_0x72998f,_0x195260)=>{_0x195260[0x0]['isDocumentOperation']&&_0x18847b++,0x5e8==_0x18847b&&(_0x2f7a85(),_0x72998f['off']());});}))];return window['Promise']['race'](_0x592f32)['then'](()=>_0xbe5ba);}async function _0xa93ee7(){await _0x438fc7,_0xf4d8d2['model']['change']=_0xa5c24d,_0xf4d8d2['model']['enqueueChange']=_0xa5c24d,_0xf4d8d2['enableReadOnlyMode']('model');}function _0xbaa6c4(_0x245b2a){const _0x2df466=_0x566e8f();_0xf4d8d2[_0x2df466]='paginationLicenseKey'+_0x245b2a,'Valid'!=_0x245b2a&&_0xa93ee7();}function _0x566e8f(){const _0x63bf1d=window['String'](window['performance']['now']())['replace']('.','');let _0x1cd25c='v';for(let _0x27a027=0x0;_0x27a027<_0x63bf1d['length'];_0x27a027+=0x2){let _0x29967c=window['parseInt'](_0x63bf1d['substring'](_0x27a027,_0x27a027+0x2));_0x29967c>=0x3e&&(_0x29967c-=0x3e),_0x1cd25c+=_0x1048f9[_0x29967c];}return _0x1cd25c;}function _0x3687d0(){const _0x24a094=_0x2e7236['split']('.');if(0x3!=_0x24a094['length'])return null;return _0x3a60b8(_0x24a094[0x1]);function _0x3a60b8(_0x3a8422){const _0x2b43fc=_0x103419(_0x3a8422);return _0x2b43fc&&_0x456ea0()?_0x2b43fc:null;function _0x456ea0(){const _0x3d51cc=_0x2b43fc['jti'],_0x5e38fc=window['parseInt'](_0x3d51cc['substring'](_0x3d51cc['length']-0x8),0x10),_0x22cac1={..._0x2b43fc,'jti':_0x3d51cc['substring'](0x0,_0x3d51cc['length']-0x8)};return delete _0x22cac1['vc'],_0x532367(_0x22cac1)==_0x5e38fc;}}}async function _0x31251e(){let _0x32c3e7=!0x0;try{const [_0x516248,_0x142854,_0x5516fd]=_0x2e7236['split']('.');return _0x4bd0fe(_0x516248),await _0x94a7aa(_0x516248,_0x142854,_0x5516fd),_0x32c3e7;}catch{return!0x1;}function _0x4bd0fe(_0x1d8cac){const _0x5771f2=_0x103419(_0x1d8cac);_0x5771f2&&'ES256'==_0x5771f2['alg']||(_0x32c3e7=!0x1);}async function _0x94a7aa(_0x387a25,_0x4e7540,_0x5c6d27){const _0xd81806=window['Uint8Array']['from'](_0x258dca(_0x5c6d27),_0x4d6199=>_0x4d6199['charCodeAt'](0x0)),_0x41cd24=new window['TextEncoder']()['encode'](_0x387a25+'.'+_0x4e7540),_0xa74172=window['crypto']['subtle'];if(!_0xa74172)return;const _0x245ba7=await _0xa74172['importKey']('jwk',_0x3f6444,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0xa74172['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x245ba7,_0xd81806,_0x41cd24)||(_0x32c3e7=!0x1);}}function _0x103419(_0x3aa6f5){return _0x3aa6f5['startsWith']('ey')?JSON['parse'](_0x258dca(_0x3aa6f5)):null;}function _0x258dca(_0x3ce913){return window['atob'](_0x3ce913['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x532367(_0xe7e856){let _0x541e81=0x1505;function _0x23f24c(_0x1b173e){for(let _0x15f37c=0x0;_0x15f37c<_0x1b173e['length'];_0x15f37c++){const _0x28f9a8=_0x1b173e['charCodeAt'](_0x15f37c);_0x541e81=(_0x541e81<<0x5)+_0x541e81+_0x28f9a8,_0x541e81&=_0x541e81;}}function _0x4c63a5(_0x49f1ea){Array['isArray'](_0x49f1ea)?_0x49f1ea['forEach'](_0x4c63a5):_0x49f1ea&&'object'==typeof _0x49f1ea?Object['entries'](_0x49f1ea)['sort']()['forEach'](([_0x2c2e57,_0x558ac7])=>{_0x23f24c(_0x2c2e57),_0x4c63a5(_0x558ac7);}):_0x23f24c(window['String'](_0x49f1ea));}return _0x4c63a5(_0xe7e856),_0x541e81>>>0x0;}function _0x2dbfe8(_0x26a1e2){return _0x26a1e2['toString'](0x10)['padStart'](0x8,'0');}function _0x5a32b7(_0x3bbdd1){return _0x3bbdd1['split']('')['reverse']()['join']('');}function _0xa5c24d(){}_0xbaa6c4(await _0x183fd4());}_0x261698(_0x5dfb7b['editor']);}(this);}destroy(){super['destroy'](),this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']&&(this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0x35e539=this['editor'],_0x5c227c=_0x35e539['editing']['view'],_0x5de969=this['_getAttachedDomRoot']();if(!_0x5de969||!_0x5de969['hasChildNodes']())return void _0x35e539['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0x469446,pageHeight:_0x3f6ff6}=_0x35e539['config']['get']('pagination'),{top:_0x14b8ad,left:_0x17574c,bottom:_0x311c0d,right:_0x15d5f2}=this['_configuredPaddings'];this['_pagesContainer']=new _0x290290(_0x35e539['locale']);const _0x7dae3b=this['_pagesContainer'];_0x7dae3b['set']('class',''),_0x7dae3b['setTemplate']({'tag':'div','attributes':{'style':{'columnWidth':_0x469446,'width':_0x469446,'height':'calc(\x20'+_0x3f6ff6+'\x20-\x20'+_0x14b8ad+'\x20-\x20'+_0x311c0d+'\x20+\x200.5mm\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0x15d5f2+'\x200\x20'+_0x17574c,'columnGap':'calc('+_0x17574c+'\x20+\x20'+_0x15d5f2+'\x20+\x20100px)','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'class':_0x7dae3b['bindTemplate']['to']('class')}}),_0x7dae3b['render'](),_0x1a5af7(_0x5de969)['insertBefore'](_0x7dae3b['element'],_0x5de969['nextSibling']),this['listenTo'](_0x5c227c,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}_getAttachedDomRoot(){for(const _0xf59574 of this['editor']['editing']['view']['domRoots']['values']())if(_0xf59574['isConnected'])return _0xf59574;return null;}_recalculatePageBreaks(){if(!this['isEnabled'])return Promise['resolve']();const _0x4347cb=this['editor']['editing']['view'],_0x295a73=this['_pagesContainer'],_0x4284bf=this['_getAttachedDomRoot']();if(!_0x4284bf||!_0x295a73)return Promise['resolve']();for(_0x295a73['class']=['ck-reset','ck-pagination-view',..._0x4284bf['classList']]['join']('\x20');_0x295a73['element']['firstChild'];)_0x295a73['element']['firstChild']['remove']();const _0xf6647d=Array['from'](_0x4347cb['domRoots']);_0xf6647d['sort'](([,_0x1a92a5],[,_0x3f1047])=>_0x1a92a5['compareDocumentPosition'](_0x3f1047)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0x31c66d,_0x52f71d]of _0xf6647d){const _0x37eee5=_0x52f71d['cloneNode'](!0x0);'attributeStyleMap'in _0x37eee5&&_0x37eee5['attributeStyleMap']['clear'](),_0x37eee5['dataset']['rootName']=_0x31c66d,_0x37eee5['className']='ck-content\x20ck-pagination_enabled',_0x37eee5['removeAttribute']('id'),_0x37eee5['tabIndex']=-0x1,_0x295a73['element']['append'](_0x37eee5);}const _0x328a0b=Array['from'](_0x295a73['element']['querySelectorAll']('img'));return function(_0x9181e8){return Promise['all'](_0x9181e8['map'](_0x20410b=>Promise['race']([N(_0x20410b),_(0x3e8)])));}(_0x328a0b)['then'](()=>{for(const _0x1ef01c of _0x328a0b['filter'](_0x2c92c6=>!_0x2c92c6['closest']('table')))if(_0x1ef01c['offsetParent']){const _0x256574=_0x4a66bf['window']['getComputedStyle'](_0x1ef01c),_0x24c6bf=_0x4a66bf['document']['createElement']('span');for(const _0x5effad of _0x256574)_0x24c6bf['style']['setProperty'](_0x5effad,_0x256574[_0x5effad]);_0x24c6bf['style']['backgroundImage']='url(\x20'+_0x1ef01c['src']+'\x20)',_0x24c6bf['style']['breakInside']='avoid','PICTURE'==_0x1ef01c['parentElement']?.['tagName']?_0x1ef01c['parentElement']['replaceWith'](_0x24c6bf):_0x1ef01c['replaceWith'](_0x24c6bf);}return new Promise(_0x42e6a8=>_0x4a66bf['window']['requestAnimationFrame'](()=>_0x42e6a8()));})['then'](()=>{this['_updatePageBreaksData']();});}_updatePageBreaksData(){const _0x5b7abb=this['_pagesContainer']['element'];if(!_0x5b7abb['isConnected'])return;const _0x422b3d=new _0x18b435(_0x5b7abb)['excludeScrollbarsAndBorders'](),_0x2ad19f=Math['floor'](_0x422b3d['width']+0x64),_0x1975dc=I(_0x5b7abb,Math['floor'](_0x422b3d['left']-_0x5b7abb['scrollLeft']),_0x2ad19f,_0x422b3d['height'])['map'](_0x2bdaf5=>this['_mapPageStarterInfoToPageBreakInfo'](_0x2bdaf5))['filter'](_0x4af22d=>!0x1!==_0x4af22d);_0x1975dc['every'](_0x1f493c=>!!_0x1f493c)&&(this['pageBreaks']=_0x1975dc);}_mapPageStarterInfoToPageBreakInfo(_0x3b2e81){const _0xa6c7=this['editor']['editing']['view'],_0x540f22=this['editor']['editing']['mapper'],_0x5613f2=_0xa6c7['domConverter'],_0x2dc195=_0x3b2e81['path']['shift'](),_0x2fa45c=this['_pagesContainer']['element']['childNodes'][_0x2dc195]['dataset']['rootName'],_0x3b4260=_0xa6c7['getDomRoot'](_0x2fa45c);if(!_0x3b4260)return null;const _0xf68c61=function(_0x21fa71,_0x1a2243){let _0xaddac1=_0x21fa71;for(const _0x11477b of _0x1a2243['path']){if(!_0xaddac1)return null;_0xaddac1=_0xaddac1['childNodes'][_0x11477b];}return _0xaddac1;}(_0x3b4260,_0x3b2e81);if(!_0xf68c61)return null;const _0xed4998=_0x5613f2['domPositionToView'](_0xf68c61,_0x3b2e81['textOffset']||0x0);return _0xed4998?'manual'==_0x3b2e81['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0xed4998,_0xf68c61):'text'==_0x3b2e81['type']&&_0x540f22['toModelPosition'](_0xed4998)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0xed4998,_0xf68c61,_0x3b2e81['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0xed4998,_0xf68c61,_0x3b2e81['offset']):null;}_mapManualPageStarterInfoToPageBreakInfo(_0x1b9161,_0x172dcd){const _0x15f386=this['editor']['model'],_0x3c9cb0=this['editor']['editing']['mapper']['toModelElement'](_0x1b9161['parent']),_0x40dcce=_0x15f386['createRangeOn'](_0x3c9cb0);return new k({'type':'manual','modelRange':_0x40dcce,'domNode':_0x172dcd,'offset':0x0});}_mapTextPageStarterInfoToPageBreakInfo(_0x38bc5c,_0x3cb530,_0x223ed9){const _0x4bcce7=this['editor']['model'],_0xb9a08c=this['editor']['editing']['mapper'],_0x476958=this['editor']['editing']['view']['domConverter'];if(_0x223ed9>=_0x3cb530['length'])return null;const _0x452a99=_0xb9a08c['toModelPosition'](_0x38bc5c),_0x38db67=_0x4bcce7['createRange'](_0x452a99),_0x3b5037=_0xb9a08c['findMappedViewAncestor'](_0x38bc5c),_0x5b792b=_0x476958['mapViewToDom'](_0x3b5037);return new k({'type':'text','modelRange':_0x38db67,'domNode':_0x3cb530,'offset':L(_0x3cb530,_0x223ed9,_0x5b792b)});}_mapElementPageStarterInfoToPageBreakInfo(_0x484555,_0x43e46d,_0x1ad335){const _0x76622f=this['editor']['model'],_0x571199=this['editor']['editing'],_0x3fbe86=_0x571199['mapper'],_0x22a35f=_0x571199['view']['domConverter'],_0x2666f8=_0x3fbe86['findMappedViewAncestor'](_0x484555),_0x175a53=_0x3fbe86['toModelElement'](_0x2666f8);if(!_0x175a53||_0x175a53['is']('rootElement'))return!0x1;const _0x24e96b=function(_0xbd884e){const _0x296c80=_0xbd884e['parent'],_0x2c0ef4=_0x296c80['root']['document']['model'],_0x5cd3e5=_0x296c80['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0x42a583=null;for(const _0x5b1018 of _0x5cd3e5){if(_0x5b1018['is']('rootElement'))return _0x42a583;if(!_0x2c0ef4['createPositionBefore'](_0x5b1018)['isTouching'](_0xbd884e))return _0x42a583;_0x42a583=_0x5b1018;}}(_0x76622f['createPositionBefore'](_0x175a53))||_0x175a53;let _0x475479=_0x3fbe86['toViewElement'](_0x24e96b),_0x8c4217=_0x76622f['createRangeOn'](_0x24e96b);const _0x26e5d9=_0x76622f['createPositionBefore'](_0x24e96b)['nodeBefore'];if(_0x26e5d9&&_0x26e5d9['is']('element','imageBlock')){const _0x3cfac4=_0x3fbe86['toViewElement'](_0x26e5d9),_0x36af25=_0x22a35f['mapViewToDom'](_0x3cfac4),_0x3241d7=_0x4a66bf['window']['getComputedStyle'](_0x36af25)['float'];'left'!=_0x3241d7&&'right'!=_0x3241d7||(_0x8c4217=_0x76622f['createRangeOn'](_0x26e5d9));}for(;_0x475479['parent']!==_0x475479['root']&&0x0===_0x475479['index'];)_0x475479=_0x475479['parent'];const _0x3984fb=new _0x18b435(C(_0x43e46d)?_0x43e46d:E(_0x43e46d)),_0x15b664=_0x1ad335?_0x3984fb['height']-_0x1ad335:0x0,_0x4dcfe2=_0x22a35f['mapViewToDom'](_0x475479),_0x1738a1=new _0x18b435(_0x4dcfe2);return new k({'type':'element','modelRange':_0x8c4217,'domNode':_0x4dcfe2,'offset':Math['round'](_0x15b664)||_0x2666f8!=x(_0x484555)?_0x15b664+_0x3984fb['top']-_0x1738a1['top']:0x0});}get['_configuredPaddings'](){const _0x5b5a2d=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0x5b5a2d);}static _findPageStarterInfos(_0xd780fb,_0x57e48a,_0x4c0bed,_0x22a931,_0x68aec3){return I(_0xd780fb,_0x57e48a,_0x4c0bed,_0x22a931,_0x68aec3);}},k=class{type;['modelRange'];['_domNode'];_offset;constructor({type:_0x15bd86,modelRange:_0xc41aec,domNode:_0x5b0a63,offset:_0x332feb}){this['type']=_0x15bd86,this['modelRange']=_0xc41aec,this['_domNode']=_0x5b0a63,this['_offset']=_0x332feb;}get offset(){if(!this['_domNode']['isConnected'])return 0x0;const _0x4b4b56=new _0x18b435(C(this['_domNode'])?this['_domNode']:E(this['_domNode']));return'manual'==this['type']?_0x4b4b56['top']+_0x4b4b56['height']/0x2:_0x4b4b56['top']+this['_offset'];}};function L(_0x5bc691,_0x18d62a,_0x251cf8){const _0x3dbe0a=E(_0x5bc691),_0x49e77c=function(_0x3cc822){const _0xa764fe=_0x4a66bf['document']['createRange']();return _0xa764fe['selectNodeContents'](_0x3cc822),_0xa764fe;}(_0x251cf8);let _0x4263ea;if(0x0==_0x18d62a){const _0x3ed38e=_0x1a5af7(_0x5bc691);_0x4263ea=R(_0x49e77c['startContainer'],_0x49e77c['startOffset'],_0x3ed38e,Array['from'](_0x3ed38e['childNodes'])['indexOf'](_0x5bc691));}else _0x4263ea=R(_0x49e77c['startContainer'],_0x49e77c['startOffset'],_0x5bc691,_0x18d62a);const _0x1c7b3c=R(_0x5bc691,_0x18d62a,_0x49e77c['endContainer'],_0x49e77c['endOffset']),_0xb78f8b=new _0x18b435(_0x4263ea)['bottom'];return(new _0x18b435(_0x1c7b3c)['top']+_0xb78f8b)/0x2-new _0x18b435(_0x3dbe0a)['top'];}function x(_0x3ec119){let _0x43c2c3=_0x3ec119['parent'];for(;_0x43c2c3['is']('$text')||_0x43c2c3['is']('attributeElement');)_0x43c2c3=_0x43c2c3['parent'];return _0x43c2c3;}function N(_0x2a931d){return _0x2a931d['hasAttribute']('width')&&_0x2a931d['hasAttribute']('height')?Promise['resolve']():new Promise(_0x33826a=>{function _0x554c79(){_0x2a931d['removeEventListener']('load',_0x554c79),_0x2a931d['removeEventListener']('error',_0x554c79),_0x33826a();}_0x2a931d['complete']?_0x33826a():(_0x2a931d['addEventListener']('load',_0x554c79),_0x2a931d['addEventListener']('error',_0x554c79));});}function _(_0x5771c7){return new Promise(_0x1e1911=>setTimeout(_0x1e1911,_0x5771c7));}function E(_0x3ddc64){const _0x52b559=_0x4a66bf['document']['createRange']();return _0x52b559['selectNode'](_0x3ddc64),_0x52b559;}function S(_0x297c2b,_0x5a47ac,_0x470483){const _0x33cdd0=_0x4a66bf['document']['createRange']();return _0x33cdd0['setStart'](_0x297c2b,_0x5a47ac),_0x33cdd0['setEnd'](_0x297c2b,_0x470483),_0x33cdd0;}function R(_0x3a42ef,_0x48e190,_0x569a4b,_0x3cb70c){const _0x1ac0ab=_0x4a66bf['document']['createRange']();return _0x1ac0ab['setStart'](_0x3a42ef,_0x48e190),_0x1ac0ab['setEnd'](_0x569a4b,_0x3cb70c),_0x1ac0ab;}function I(_0x105c66,_0x585a71,_0x1f8bb7,_0x3beaad,_0x227ead){const _0x450b70=[];for(const [_0x1317b5,_0xe98d9e]of _0x105c66['childNodes']['entries']()){let _0x469fee=[];C(_0xe98d9e)&&_0xe98d9e['offsetParent']&&['static','relative']['includes'](_0x4a66bf['window']['getComputedStyle'](_0xe98d9e)['position'])?_0x469fee=K(_0xe98d9e,_0x1317b5,_0x585a71,_0x1f8bb7,_0x3beaad,_0x227ead):D(_0xe98d9e)&&(_0x469fee=A(_0xe98d9e,_0x1317b5,_0x585a71,_0x1f8bb7,_0x227ead)),_0x469fee['length']&&(_0x450b70['push'](..._0x469fee),_0x585a71+=_0x469fee['length']*_0x1f8bb7,_0x227ead=!0x1);}return _0x450b70;}function K(_0x19a24b,_0x18b8ad,_0x42f861,_0x441067,_0x507163,_0x25f4b1){const _0x20527f=[];var _0x528552;if((_0x528552=_0x19a24b['previousSibling'])&&C(_0x528552)&&Boolean(_0x528552['classList']['contains']('page-break')||_0x528552['closest']('.page-break'))&&(_0x20527f['push']({'type':'manual','offset':0x0,'path':[_0x18b8ad-0x1]}),_0x25f4b1=!0x0),'table-row'==_0x4a66bf['window']['getComputedStyle'](_0x19a24b)['display']){let _0x758460=0x0,_0x5a721b=!0x1;for(const _0x564758 of _0x19a24b['getClientRects']())_0x758460+=_0x564758['height'],_0x564758['left']>=_0x42f861&&(_0x5a721b=!0x0);if(_0x758460<_0x507163&&_0x5a721b)return _0x25f4b1||_0x20527f['push']({'type':'element','offset':0x0,'path':[_0x18b8ad]}),_0x20527f;}const _0x24d615=_0x19a24b['closest']('figure.image');if(_0x24d615&&function(_0x1ce4db){let _0xb7e9e9=!0x1;const _0xe823c=_0x2e83b3(_0x1ce4db)['dataset']['rootName'],_0x342d2e=_0x1ce4db['nextElementSibling'],_0xa966ee=_0x1ce4db['previousElementSibling'],_0x579edd=_0x342d2e&&_0x4a66bf['window']['getComputedStyle'](_0x342d2e)['float'],_0x51b74e=_0x342d2e&&'ck-fake-selection-container'===_0x342d2e['className'];return!_0xe823c||_0x342d2e||_0xa966ee||(_0xb7e9e9=!0x0),_0xe823c&&!_0xa966ee&&_0x51b74e&&(_0xb7e9e9=!0x0),_0xe823c&&!_0xa966ee&&'none'!==_0x579edd&&(_0xb7e9e9=!0x0),!_0xb7e9e9;}(_0x24d615)){const _0x22c743=_0x4a66bf['window']['getComputedStyle'](_0x24d615)['float'];if('left'==_0x22c743||'right'==_0x22c743)return _0x20527f;}const _0x5155de=I(_0x19a24b,_0x42f861,_0x441067,_0x507163,_0x25f4b1);if(_0x5155de['length']){for(const _0x249391 of _0x5155de)_0x20527f['push']({'type':_0x249391['type'],'offset':_0x249391['offset'],'textOffset':_0x249391['textOffset'],'path':[_0x18b8ad,..._0x249391['path']]}),_0x42f861+=_0x441067;return _0x20527f;}return _0x20527f['push'](...function(_0x2fb96b,_0x583f79,_0x3cfaa8,_0x388ea2,_0x294e8c){const _0x339f5f=[];if('table-cell'==_0x4a66bf['window']['getComputedStyle'](_0x2fb96b)['display'])return[];const _0x1695a3=[];for(const _0x19a6ff of _0x2fb96b['getClientRects']())if(_0x19a6ff['left']>=_0x3cfaa8){for(const _0x2c7560 of _0x1695a3)_0x2c7560['height']+=_0x19a6ff['height'];_0x1695a3['push']({'height':_0x19a6ff['height']}),_0x3cfaa8+=_0x388ea2;}for(const _0x1f3e89 of _0x1695a3)_0x294e8c||_0x339f5f['push']({'type':'element','offset':_0x1f3e89['height'],'textOffset':0x0,'path':[_0x583f79]}),_0x294e8c=!0x1;return _0x339f5f;}(_0x19a24b,_0x18b8ad,_0x42f861,_0x441067,_0x25f4b1)),_0x20527f;}function A(_0x2762b3,_0xbf75ae,_0x3ab1dd,_0xb89a24,_0x25dac6){const _0x5cee0d=E(_0x2762b3),_0x16b2df=[];let _0x111f52=0x0;for(const _0x3f8739 of _0x5cee0d['getClientRects']())if(_0x3f8739['left']>=_0x3ab1dd){const _0x56f91b=O(_0x2762b3,_0x111f52,_0x3ab1dd,_0xb89a24);_0x25dac6||_0x16b2df['push']({'type':'text','path':[_0xbf75ae],'textOffset':_0x56f91b}),_0x111f52=_0x56f91b,_0x3ab1dd+=_0xb89a24,_0x25dac6=!0x1;}return _0x16b2df;}function O(_0x2ef771,_0x30f6ec,_0x381e33,_0x53a1f2){let _0x168e0a=_0x30f6ec,_0x1e519d=_0x2ef771['length'];for(;_0x1e519d-_0x168e0a>0x1;){const _0x2e4b7c=Math['ceil']((_0x168e0a+_0x1e519d)/0x2);U(S(_0x2ef771,_0x168e0a,_0x2e4b7c),_0x381e33,_0x53a1f2)?_0x1e519d=_0x2e4b7c:_0x168e0a=_0x2e4b7c;}return _0x168e0a;}function U(_0x566a4f,_0x56b36b,_0x1a2709){for(const _0x509d5a of _0x566a4f['getClientRects']())if(_0x509d5a['left']>=_0x56b36b&&_0x509d5a['left']<_0x56b36b+_0x1a2709)return!0x0;return!0x1;}function C(_0x321642){return _0x321642['nodeType']==Node['ELEMENT_NODE'];}function D(_0x15553d){return _0x15553d['nodeType']==Node['TEXT_NODE'];}const T=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0xcd8d61('px');var B=class extends _0x290290{constructor(){super();const _0x56544b=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0x56544b['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0x56544b['if']('isVisible','ck-hidden',_0x186ab2=>!_0x186ab2)],'style':{'left':_0x56544b['to']('left',_0x3d114b=>T(_0x3d114b)),'top':_0x56544b['to']('top',_0x4229f9=>T(_0x4229f9)),'width':_0x56544b['to']('width',_0x5b67b0=>T(_0x5b67b0))}}});}},G=class{_viewCollection;['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0x50cff0){this['_viewCollection']=_0x50cff0['ui']['view']['body'];}get containerElement(){return this['_viewCollection']['bodyCollectionContainer'];}destroy(){for(const _0x48f731 of this['_hiddenLines'])_0x48f731['destroy']();}['cleanLines'](){for(const _0x34a41b of this['_visibleLines'])_0x34a41b['isVisible']=!0x1,this['_hiddenLines']['add'](_0x34a41b);this['_visibleLines']['clear']();}['showLine'](_0x449a6c,_0x3ddb7f,_0x4c7bb2,_0x2309d6){let _0x45e7d1;this['_hiddenLines']['size']?(_0x45e7d1=_0x2f7bca(this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0x45e7d1)):_0x45e7d1=new B(),_0x45e7d1['set']({'pageNumber':_0x2309d6,'left':_0x449a6c,'top':_0x3ddb7f,'width':_0x4c7bb2}),_0x45e7d1['isVisible']=!0x0,this['_viewCollection']['has'](_0x45e7d1)||this['_viewCollection']['add'](_0x45e7d1),this['_visibleLines']['add'](_0x45e7d1);}setViewCollection(_0x19e318){for(const _0x3627fa of[...this['_visibleLines'],...this['_hiddenLines']])this['_viewCollection']['has'](_0x3627fa)&&this['_viewCollection']['remove'](_0x3627fa);this['_viewCollection']=_0x19e318;}};const V='ck-pagination_enabled';var M=class extends _0x165034{linesRepository;_scrollableEditingRootDomAncestor=null;['_resizeObserver']=null;_paginationLookupPlugin;static get['pluginName'](){return'PaginationRenderer';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){this['set']({'pageNumber':0x1}),this['linesRepository']=new G(this['editor']),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']=null,this['_paginationLookupPlugin']=this['editor']['plugins']['get']('PaginationLookup'),this['bind']('isEnabled')['to'](this['editor']['plugins']['get']('PaginationEditing')),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['_toggleEditingRootsClass'](V),this['on']('change:isEnabled',(_0x3fcfa3,_0x5b9c6f,_0x4968a8)=>{_0x4968a8||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](V,_0x4968a8);});}destroy(){this['_toggleEditingRootsClass'](V,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0x4fb6ad){if(!this['isEnabled'])return;const _0x34d2f7=_0x4fb6ad>0x1?this['_getPageBreakLineOffset'](_0x4fb6ad-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0x34d2f7-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':_0x5ab1dd['isMotionReduced']?'instant':'smooth'});}setupScrollableAncestor(){const _0x12cc47=this['editor'],_0x3694c4=this['_getAttachedDomRoot']();_0x3694c4?(this['_scrollableEditingRootDomAncestor']&&_0x12cc47['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=_0x4d8752(_0x3694c4),_0x12cc47['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new _0x1f0d87(this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0x12cc47['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0x4707b3=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0x4707b3['ui']['view']['listenTo'](_0x4a66bf['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0x4707b3['ui']['once']('update',()=>this['_onUiReady']());}_getAttachedDomRoot(){for(const _0x515925 of this['editor']['editing']['view']['domRoots']['values']())if(_0x515925['isConnected'])return _0x515925;return null;}_updatePageBreakLines(){if(!this['isEnabled'])return;const _0x25cc96=this['_getAttachedDomRoot'](),_0x422c24=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0x25cc96||0x1==_0x422c24['length'])return void(this['pageNumber']=0x1);const _0x1cd738=new _0x18b435(_0x25cc96)['excludeScrollbarsAndBorders'](),_0x4e6329=new _0x18b435(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0x395701=_0x4e6329['top']+_0x4e6329['height']/0x3;let _0xfbb27e=!0x1;const _0xc8bbfa=[];for(let _0x49a53a=0x1;_0x49a53a<_0x422c24['length'];_0x49a53a++){const _0x3d21fc=this['_getPageBreakLineOffset'](_0x49a53a,_0x4e6329);if(!_0x3d21fc)continue;const _0x26652a=_0x4e6329['top']+_0x3d21fc-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0xc8bbfa['push']({'pageOffsetTop':_0x26652a,'domRootRect':_0x1cd738,'domScrollableRect':_0x4e6329,'pageNumber':_0x49a53a}),_0x26652a>_0x395701&&!_0xfbb27e&&(this['pageNumber']=_0x49a53a,_0xfbb27e=!0x0);}this['_renderPageBreakLines'](_0xc8bbfa),_0xfbb27e||(this['pageNumber']=_0x422c24['length']);}['_renderPageBreakLines'](_0x193466){if(!_0x193466['length'])return;const {scrollX:_0x6eaccc,scrollY:_0x26dc76}=_0x4a66bf['window'],_0x1ce276=_0x20afdf(this['linesRepository']['containerElement']);let _0xd4b724,_0x184383;if(_0x1ce276){const _0x4f65f7=new _0x18b435(_0x1ce276);_0xd4b724=_0x4f65f7['top']+_0x1ce276['clientTop']-_0x1ce276['scrollTop'],_0x184383=_0x4f65f7['left']+_0x1ce276['clientLeft']-_0x1ce276['scrollLeft'];}else _0xd4b724=-_0x26dc76,_0x184383=-_0x6eaccc;for(const {domScrollableRect:_0x3274a3,pageOffsetTop:_0x498283,domRootRect:_0x138fc2,pageNumber:_0x161f31}of _0x193466)_0x3274a3['top']<_0x498283&&_0x498283<_0x3274a3['bottom']&&this['linesRepository']['showLine'](_0x138fc2['left']-_0x184383,_0x498283-_0xd4b724,_0x138fc2['width'],_0x161f31+0x1);}_getPageBreakLineOffset(_0x2a3f7e,_0x1130c6=null){const _0x220842=this['_paginationLookupPlugin']['pageBreaks'][_0x2a3f7e]['offset'];return _0x220842?(_0x1130c6||(_0x1130c6=new _0x18b435(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0x220842-_0x1130c6['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}_toggleEditingRootsClass(_0x2d7ca4,_0x5772ce=!0x0){const _0x27b3b6=this['editor']['editing']['view'];_0x27b3b6['change'](_0x45006b=>{for(const _0x2df6f2 of _0x27b3b6['document']['roots'])_0x5772ce?_0x45006b['addClass'](_0x2d7ca4,_0x2df6f2):_0x45006b['removeClass'](_0x2d7ca4,_0x2df6f2);});}};function $(_0xf4c7ea,_0x852809,..._0x514bf7){const t=_0xf4c7ea['t'];switch(_0x852809){case'Go\x20to\x20next\x20page':return t('Go\x20to\x20next\x20page');case'Go\x20to\x20previous\x20page':return t('Go\x20to\x20previous\x20page');case'Current\x20page\x20number\x20(from\x201\x20to\x20%0)':return t('Current\x20page\x20number\x20(from\x201\x20to\x20%0)',..._0x514bf7);case'Keystrokes\x20for\x20navigating\x20through\x20documents':return t('Keystrokes\x20for\x20navigating\x20through\x20documents');case'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':return t('Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)');case'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':return t('Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)');default:return _0x852809;}}var j=class extends _0x165034{['licenseKey'];_licenseKeyCheckInterval;static get['pluginName'](){return'PaginationEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get requires(){return[v,M];}init(){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x57122c=this['editor']['plugins']['get']('Pagination'),_0x3a1415=this['editor']['plugins']['get'](v),_0x5d8973=this['editor']['plugins']['get'](M);this['bind']('isEnabled')['to'](_0x57122c),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0x5d8973),this['listenTo'](_0x3a1415,'change:pageBreaks',(_0x9f3b0c,_0x24e869,_0x56194c,_0x492fe7)=>{this['totalPages']=_0x56194c['length'],this['_updatePageBreakMarkers'](_0x56194c,_0x492fe7);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey'),this['_licenseKeyCheckInterval']=setInterval(()=>{const _0x438265=[this['editor']];for(const _0x10739f of _0x438265){let _0x56a615;for(const _0x2e4333 in _0x10739f){const _0x4d19e7=_0x2e4333,_0xbc9b64=_0x10739f[_0x4d19e7];if('paginationLicenseKeyValid'==_0xbc9b64||'paginationLicenseKeyInvalid'==_0xbc9b64||'paginationLicenseKeyExpired'==_0xbc9b64||'paginationLicenseKeyDomainLimit'==_0xbc9b64||'paginationLicenseKeyNotAllowed'==_0xbc9b64||'paginationLicenseKeyEvaluationLimit'==_0xbc9b64||'paginationLicenseKeyUsageLimit'==_0xbc9b64){delete _0x10739f[_0x4d19e7],_0x56a615=_0xbc9b64,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0x56a615&&_0x10739f['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0x56a615&&_0x10739f['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0x56a615&&_0x10739f['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0x56a615&&_0x10739f['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0x56a615&&_0x10739f['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyUsageLimit'==_0x56a615&&_0x10739f['_showLicenseError']('usageLimit');}},0x3e8);}destroy(){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0x1d7ab1){this['isEnabled']&&this['editor']['plugins']['get'](M)['scrollToPage'](this['_validatePageNumber'](_0x1d7ab1));}moveSelectionToPage(_0x339656){if(!this['isEnabled'])return;const _0x3c81e9=this['editor'],_0x4b442d=this['editor']['plugins']['get'](v)['pageBreaks'][_0x339656-0x1];_0x4b442d&&_0x3c81e9['model']['change'](_0x23bf3a=>{switch(_0x4b442d['type']){case'manual':{const _0x260319=_0x3c81e9['model']['schema']['getNearestSelectionRange'](_0x4b442d['modelRange']['end'],'forward');_0x23bf3a['setSelection'](_0x260319);break;}case'element':{const _0x292c35=_0x3c81e9['model']['schema']['getNearestSelectionRange'](_0x4b442d['modelRange']['start'],'forward');_0x23bf3a['setSelection'](_0x292c35);break;}case'text':{const _0x5bb12d=_0x4b442d['modelRange']['start'];if(_0x5bb12d['textNode']&&'\x20'===_0x5bb12d['textNode']['data'][_0x5bb12d['offset']]){const _0x8984cf=_0x23bf3a['createPositionAt'](_0x5bb12d['parent'],_0x5bb12d['offset']+0x1);_0x23bf3a['setSelection'](_0x8984cf);}else _0x23bf3a['setSelection'](_0x4b442d['modelRange']);}}_0x3c81e9['editing']['view']['focus']();});}goToNextPage(){const _0x99bb41=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0x99bb41),this['scrollToPage'](_0x99bb41);}['goToPreviousPage'](){const _0x3fdb9f=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0x3fdb9f),this['scrollToPage'](_0x3fdb9f);}_updatePageBreakMarkers(_0x430c52,_0x26e4a2){const _0x4615c3=this['editor']['model'];this['isEnabled']&&_0x4615c3['change'](_0x2319a4=>{for(let _0x31007f=0x1;_0x31007f<_0x430c52['length'];_0x31007f++){const _0x575a4c=_0x430c52[_0x31007f]['modelRange'],_0x2171d0='pagination:'+(_0x31007f+0x1);_0x4615c3['markers']['has'](_0x2171d0)?_0x2319a4['updateMarker'](_0x2171d0,{'range':_0x575a4c}):_0x2319a4['addMarker'](_0x2171d0,{'range':_0x575a4c,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0x115ee1=_0x430c52['length'];_0x115ee1<_0x26e4a2['length'];_0x115ee1++){const _0x3e580a='pagination:'+(_0x115ee1+0x1);_0x4615c3['markers']['has'](_0x3e580a)&&_0x2319a4['removeMarker'](_0x3e580a);}});}_setUpDataDowncastConversion(){this['editor']['conversion']['for']('dataDowncast')['add'](_0x505752=>{_0x505752['on']('addMarker:pagination',(_0x15b71d,{markerRange:_0x2bc2a9,markerName:_0xefba9a},_0x2f12bd)=>{if(!_0x2f12bd['options']['pagination'])return;if(!_0x2f12bd['consumable']['consume'](_0x2bc2a9,_0x15b71d['name']))return;const _0x370f0c=_0x2bc2a9['getContainedElement']();let _0x54e0c5=_0x370f0c?_0x2f12bd['mapper']['toViewElement'](_0x370f0c):null;if(!_0x54e0c5){const _0x3023c4=_0x2bc2a9['start'];if(_0x2f12bd['schema']['checkChild'](_0x3023c4,'$text')){const _0x155490=_0x2f12bd['mapper']['toViewPosition'](_0x3023c4);_0x54e0c5=_0x2f12bd['writer']['createContainerElement']('span'),_0x54e0c5['getFillerOffset']=()=>null,_0x2f12bd['writer']['insert'](_0x155490,_0x54e0c5);}else{const _0x1d7352=_0x3023c4['nodeAfter'];_0x54e0c5=_0x2f12bd['mapper']['toViewElement'](_0x1d7352);}}for(;_0x54e0c5['parent']!==_0x54e0c5['root']&&0x0===_0x54e0c5['index'];)_0x54e0c5=_0x54e0c5['parent'];const _0x3849a2=_0xefba9a['substring'](0xb);_0x54e0c5['hasClass']('page-break')||(_0x2f12bd['writer']['setStyle']('page-break-before','always',_0x54e0c5),_0x2f12bd['writer']['setAttribute']('data-pagination-page',_0x3849a2,_0x54e0c5),_0x2f12bd['mapper']['bindElementToMarker'](_0x54e0c5,_0xefba9a)),_0x15b71d['stop']();});});}_setupKeystrokes(){const _0x2a2bb4=this['editor'];_0x2a2bb4['keystrokes']['set']('Shift+Pageup',(_0x3b15ea,_0xcb51d5)=>{this['goToPreviousPage'](),_0xcb51d5();}),_0x2a2bb4['keystrokes']['set']('Shift+Pagedown',(_0x469759,_0xafc89f)=>{this['goToNextPage'](),_0xafc89f();}),_0x2a2bb4['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':$(_0x2a2bb4['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':$(_0x2a2bb4['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':$(_0x2a2bb4['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}_validatePageNumber(_0x47a63d){return _0x47a63d<0x1&&(_0x47a63d=0x1),_0x47a63d>this['totalPages']&&(_0x47a63d=this['totalPages']),_0x47a63d;}},q=class extends _0x290290{['pageNumberView'];constructor(_0x3ea513){super(_0x3ea513);const _0x2b6fdd=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new _0x2a2a4d(_0x3ea513,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0x31a698=>$(_0x3ea513,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0x31a698)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0x7e67ca=>!_0x7e67ca),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0x2b6fdd['if']('isEnabled','ck-disabled',_0x54347f=>!_0x54347f)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0x2b6fdd['to']('totalPages')}]}]});}['render'](){super['render']();const _0x2e9d85=this['pageNumberView']['element'],_0x46059b=_0x1a3674=>{this['pageNumberView']['element']['value']=String(_0x1a3674);};_0x46059b(this['pageNumber']),this['on']('change:pageNumber',(_0x3668de,_0x98d271,_0x5c0149)=>{_0x46059b(_0x5c0149);}),this['listenTo'](_0x2e9d85,'keydown',(_0x262558,_0x3e2aaf)=>{if('ArrowUp'===_0x3e2aaf['key']||'ArrowDown'===_0x3e2aaf['key'])return void _0x3e2aaf['stopPropagation']();if(_0x3e2aaf['keyCode']!==_0x3cbc83['enter'])return;_0x3e2aaf['preventDefault']();const _0x262d45=_0x2e9d85['valueAsNumber'];Number['isNaN'](_0x262d45)?_0x2e9d85['value']=String(this['pageNumber']):(_0x2e9d85['checkValidity']()?this['pageNumber']=_0x262d45:_0x262d45>this['totalPages']?(this['pageNumber']=this['totalPages'],_0x2e9d85['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0x2e9d85['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0x2e9d85,'blur',()=>{_0x2e9d85['value']=String(this['pageNumber']);}),this['listenTo'](_0x2e9d85,'focus',()=>{this['pageNumberView']['select']();});}['focus'](){this['pageNumberView']['element']['focus']();}},F=class extends _0x165034{static get['pluginName'](){return'PaginationUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const _0x517050=this['editor'],_0x3e7343=_0x517050['plugins']['get']('PaginationEditing');_0x517050['ui']['componentFactory']['add']('pageNavigation',_0x5a66ed=>{const _0x54aede=new q(_0x5a66ed);return _0x54aede['bind']('pageNumber')['to'](_0x3e7343),_0x54aede['bind']('totalPages')['to'](_0x3e7343),_0x54aede['bind']('isEnabled')['to'](_0x3e7343),_0x54aede['on']('navigation',(_0x3bf1e9,_0x42b765)=>{_0x3e7343['moveSelectionToPage'](_0x42b765),_0x3e7343['scrollToPage'](_0x42b765);}),_0x54aede;}),_0x517050['ui']['componentFactory']['add']('nextPage',_0x6cd84a=>{const _0x342edc=new _0x4d04b1(_0x6cd84a);return _0x342edc['isEnabled']=!0x0,_0x342edc['label']=$(_0x517050['locale'],'Go\x20to\x20next\x20page'),_0x342edc['icon']=_0x362ada,_0x342edc['tooltip']=!0x0,_0x342edc['keystroke']='Shift+PageDown',_0x342edc['bind']('isEnabled')['to'](_0x3e7343),this['listenTo'](_0x342edc,'execute',()=>{_0x3e7343['goToNextPage']();}),_0x342edc;}),_0x517050['ui']['componentFactory']['add']('previousPage',_0x343b22=>{const _0xc94cb3=new _0x4d04b1(_0x343b22);return _0xc94cb3['isEnabled']=!0x0,_0xc94cb3['label']=$(_0x517050['locale'],'Go\x20to\x20previous\x20page'),_0xc94cb3['icon']=_0x17a758,_0xc94cb3['tooltip']=!0x0,_0xc94cb3['keystroke']='Shift+PageUp',_0xc94cb3['bind']('isEnabled')['to'](_0x3e7343),this['listenTo'](_0xc94cb3,'execute',()=>{_0x3e7343['goToPreviousPage']();}),_0xc94cb3;});}},H=class extends _0x165034{static get['pluginName'](){return'Pagination';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get requires(){return[j,F];}constructor(_0x55d5b1){super(_0x55d5b1),this['isEnabled']=!0x1;}init(){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x2ee22b=this['editor']['plugins']['get'](j);this['bind']('pageNumber')['to'](_0x2ee22b),this['bind']('totalPages')['to'](_0x2ee22b),_0x5ab1dd['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0x4a005d){this['editor']['plugins']['get'](j)['scrollToPage'](_0x4a005d);}};export{H as Pagination,M as PaginationRenderer};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2b03ba=>{const {af:_0x50b639}={'af':{'dictionary':{'Go\x20to\x20next\x20page':'','Go\x20to\x20previous\x20page':'','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'','Keystrokes\x20for\x20navigating\x20through\x20documents':'','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':''}}};_0x2b03ba['af']||={'dictionary':{},'getPluralForm':null},_0x2b03ba['af']['dictionary']=Object['assign'](_0x2b03ba['af']['dictionary'],_0x50b639['dictionary']),_0x50b639['getPluralForm']&&(_0x2b03ba['af']['getPluralForm']=_0x50b639['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4059eb=>{const {ar:_0x2f2bb8}={'ar':{'dictionary':{'Go\x20to\x20next\x20page':'انتقلْ\x20إلى\x20الصفحة\x20التالية','Go\x20to\x20previous\x20page':'انتقلْ\x20إلى\x20الصفحة\x20السابقة','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'رقم\x20الصفحة\x20الحالية\x20(من\x201\x20إلى\x20%0)','Keystrokes\x20for\x20navigating\x20through\x20documents':'الضغط\x20على\x20المفاتيح\x20للتنقل\x20عبر\x20المستندات','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'انتقلْ\x20إلى\x20الصفحة\x20السابقة\x20(انقلْ\x20التحديد\x20أيضاً)','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':'انتقلْ\x20إلى\x20الصفحة\x20التالية\x20(انقلْ\x20التحديد\x20أيضاً)'}}};_0x4059eb['ar']||={'dictionary':{},'getPluralForm':null},_0x4059eb['ar']['dictionary']=Object['assign'](_0x4059eb['ar']['dictionary'],_0x2f2bb8['dictionary']),_0x2f2bb8['getPluralForm']&&(_0x4059eb['ar']['getPluralForm']=_0x2f2bb8['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x106e94=>{const {ast:_0x2c45e2}={'ast':{'dictionary':{'Go\x20to\x20next\x20page':'','Go\x20to\x20previous\x20page':'','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'','Keystrokes\x20for\x20navigating\x20through\x20documents':'','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':''}}};_0x106e94['ast']||={'dictionary':{},'getPluralForm':null},_0x106e94['ast']['dictionary']=Object['assign'](_0x106e94['ast']['dictionary'],_0x2c45e2['dictionary']),_0x2c45e2['getPluralForm']&&(_0x106e94['ast']['getPluralForm']=_0x2c45e2['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x182c2e=>{const {az:_0x405a8e}={'az':{'dictionary':{'Go\x20to\x20next\x20page':'','Go\x20to\x20previous\x20page':'','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'','Keystrokes\x20for\x20navigating\x20through\x20documents':'','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':''}}};_0x182c2e['az']||={'dictionary':{},'getPluralForm':null},_0x182c2e['az']['dictionary']=Object['assign'](_0x182c2e['az']['dictionary'],_0x405a8e['dictionary']),_0x405a8e['getPluralForm']&&(_0x182c2e['az']['getPluralForm']=_0x405a8e['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x336c00=>{const {be:_0x4da544}={'be':{'dictionary':{'Go\x20to\x20next\x20page':'','Go\x20to\x20previous\x20page':'','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'','Keystrokes\x20for\x20navigating\x20through\x20documents':'','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':''}}};_0x336c00['be']||={'dictionary':{},'getPluralForm':null},_0x336c00['be']['dictionary']=Object['assign'](_0x336c00['be']['dictionary'],_0x4da544['dictionary']),_0x4da544['getPluralForm']&&(_0x336c00['be']['getPluralForm']=_0x4da544['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xa4971c=>{const {bg:_0xed793a}={'bg':{'dictionary':{'Go\x20to\x20next\x20page':'Отидете\x20на\x20следващата\x20страница','Go\x20to\x20previous\x20page':'Отидете\x20на\x20предишната\x20страница','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'Текущ\x20номер\x20на\x20страница\x20(от\x201\x20до\x20%0)','Keystrokes\x20for\x20navigating\x20through\x20documents':'Натискания\x20на\x20клавиши\x20за\x20навигация\x20в\x20документи','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'Отидете\x20на\x20предишната\x20страница\x20(също\x20преместете\x20селекцията)','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':'Отидете\x20на\x20следващата\x20страница\x20(също\x20преместете\x20селекцията)'}}};_0xa4971c['bg']||={'dictionary':{},'getPluralForm':null},_0xa4971c['bg']['dictionary']=Object['assign'](_0xa4971c['bg']['dictionary'],_0xed793a['dictionary']),_0xed793a['getPluralForm']&&(_0xa4971c['bg']['getPluralForm']=_0xed793a['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5d6204=>{const {bn:_0x25cea3}={'bn':{'dictionary':{'Go\x20to\x20next\x20page':'পরবর্তী\x20পৃষ্ঠায়\x20যান','Go\x20to\x20previous\x20page':'পূর্ববর্তী\x20পৃষ্ঠায়\x20যান','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'বর্তমান\x20পৃষ্ঠা\x20নম্বর\x20(1\x20থেকে\x20%0)','Keystrokes\x20for\x20navigating\x20through\x20documents':'ডকুমেন্টের\x20মধ্যে\x20নেভিগেট\x20করার\x20জন্য\x20কীস্ট্রোক','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'পূর্ববর্তী\x20পৃষ্ঠায়\x20যান\x20(এছাড়াও\x20নির্বাচন\x20সরিয়ে\x20নিন)','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':'পরবর্তী\x20পৃষ্ঠায়\x20যান\x20(এছাড়াও\x20নির্বাচন\x20সরিয়ে\x20নিন)'}}};_0x5d6204['bn']||={'dictionary':{},'getPluralForm':null},_0x5d6204['bn']['dictionary']=Object['assign'](_0x5d6204['bn']['dictionary'],_0x25cea3['dictionary']),_0x25cea3['getPluralForm']&&(_0x5d6204['bn']['getPluralForm']=_0x25cea3['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x42a5de=>{const {bs:_0x438cbd}={'bs':{'dictionary':{'Go\x20to\x20next\x20page':'','Go\x20to\x20previous\x20page':'','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'','Keystrokes\x20for\x20navigating\x20through\x20documents':'','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':''}}};_0x42a5de['bs']||={'dictionary':{},'getPluralForm':null},_0x42a5de['bs']['dictionary']=Object['assign'](_0x42a5de['bs']['dictionary'],_0x438cbd['dictionary']),_0x438cbd['getPluralForm']&&(_0x42a5de['bs']['getPluralForm']=_0x438cbd['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x45d57=>{const {ca:_0x392d2a}={'ca':{'dictionary':{'Go\x20to\x20next\x20page':'Ves\x20a\x20la\x20següent\x20pàgina','Go\x20to\x20previous\x20page':'Ves\x20a\x20la\x20pàgina\x20anterior','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'Pàgina\x20actual\x20número\x20(des\x20de\x20l\x271\x20fins\x20a\x20%0)','Keystrokes\x20for\x20navigating\x20through\x20documents':'Tecles\x20per\x20a\x20navegar\x20pels\x20documents','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'Ves\x20a\x20la\x20pàgina\x20anterior\x20(i\x20mou\x20la\x20selecció)','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':'Ves\x20a\x20la\x20següent\x20pàgina\x20(i\x20mou\x20la\x20selecció)'}}};_0x45d57['ca']||={'dictionary':{},'getPluralForm':null},_0x45d57['ca']['dictionary']=Object['assign'](_0x45d57['ca']['dictionary'],_0x392d2a['dictionary']),_0x392d2a['getPluralForm']&&(_0x45d57['ca']['getPluralForm']=_0x392d2a['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4b61be=>{const {cs:_0x19efbf}={'cs':{'dictionary':{'Go\x20to\x20next\x20page':'Přejít\x20na\x20další\x20stránku','Go\x20to\x20previous\x20page':'Přejít\x20na\x20předchozí\x20stránku','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'Číslo\x20aktuální\x20stránky\x20(od\x201\x20do\x20%0)','Keystrokes\x20for\x20navigating\x20through\x20documents':'Stisky\x20kláves\x20pro\x20procházení\x20dokumentů','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'Přejít\x20na\x20předchozí\x20stránku\x20(také\x20přesune\x20výběr)','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':'Přejít\x20na\x20další\x20stránku\x20(také\x20přesune\x20výběr)'}}};_0x4b61be['cs']||={'dictionary':{},'getPluralForm':null},_0x4b61be['cs']['dictionary']=Object['assign'](_0x4b61be['cs']['dictionary'],_0x19efbf['dictionary']),_0x19efbf['getPluralForm']&&(_0x4b61be['cs']['getPluralForm']=_0x19efbf['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x57f98e=>{const {da:_0x2ca999}={'da':{'dictionary':{'Go\x20to\x20next\x20page':'Gå\x20til\x20næste\x20side','Go\x20to\x20previous\x20page':'Gå\x20til\x20forrige\x20side','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'Aktuelt\x20sidetal\x20(fra\x201\x20til\x20%0)','Keystrokes\x20for\x20navigating\x20through\x20documents':'Tastetryk\x20til\x20at\x20navigere\x20gennem\x20dokumenter','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'Gå\x20til\x20forrige\x20side\x20(flyt\x20også\x20markering)','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':'Gå\x20til\x20næste\x20side\x20(flyt\x20også\x20markering)'}}};_0x57f98e['da']||={'dictionary':{},'getPluralForm':null},_0x57f98e['da']['dictionary']=Object['assign'](_0x57f98e['da']['dictionary'],_0x2ca999['dictionary']),_0x2ca999['getPluralForm']&&(_0x57f98e['da']['getPluralForm']=_0x2ca999['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x25ce92=>{const {'de-ch':_0x706b60}={'de-ch':{'dictionary':{'Go\x20to\x20next\x20page':'','Go\x20to\x20previous\x20page':'','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'','Keystrokes\x20for\x20navigating\x20through\x20documents':'','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':''}}};_0x25ce92['de-ch']||={'dictionary':{},'getPluralForm':null},_0x25ce92['de-ch']['dictionary']=Object['assign'](_0x25ce92['de-ch']['dictionary'],_0x706b60['dictionary']),_0x706b60['getPluralForm']&&(_0x25ce92['de-ch']['getPluralForm']=_0x706b60['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x36b5e6=>{const {de:_0x5c38e2}={'de':{'dictionary':{'Go\x20to\x20next\x20page':'Zur\x20nächsten\x20Seite\x20gehen','Go\x20to\x20previous\x20page':'Zur\x20vorherigen\x20Seite\x20gehen','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'Aktuelle\x20Seitenzahl\x20(von\x201\x20bis\x20%0)','Keystrokes\x20for\x20navigating\x20through\x20documents':'Tastenkombinationen\x20für\x20die\x20Navigation\x20durch\x20Dokumente','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'Zur\x20vorherigen\x20Seite\x20gehen\x20(auch\x20Auswahl\x20verschieben)','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':'Zur\x20nächsten\x20Seite\x20gehen\x20(auch\x20Auswahl\x20verschieben)'}}};_0x36b5e6['de']||={'dictionary':{},'getPluralForm':null},_0x36b5e6['de']['dictionary']=Object['assign'](_0x36b5e6['de']['dictionary'],_0x5c38e2['dictionary']),_0x5c38e2['getPluralForm']&&(_0x36b5e6['de']['getPluralForm']=_0x5c38e2['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x550cde=>{const {el:_0x564110}={'el':{'dictionary':{'Go\x20to\x20next\x20page':'Μετάβαση\x20στην\x20επόμενη\x20σελίδα','Go\x20to\x20previous\x20page':'Επιστροφή\x20στην\x20προηγούμενη\x20σελίδα','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'Αριθμός\x20τρέχουσας\x20σελίδας\x20(από\x201\x20έως\x20%0)','Keystrokes\x20for\x20navigating\x20through\x20documents':'Πληκτρολογήσεις\x20για\x20πλοήγηση\x20μεταξύ\x20των\x20εγγράφων','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'Μετάβαση\x20στην\x20προηγούμενη\x20σελίδα\x20(επίσης\x20επιλογή\x20μετακίνησης)','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':'Μετάβαση\x20στην\x20επόμενη\x20σελίδα\x20(επίσης\x20επιλογή\x20μετακίνησης)'}}};_0x550cde['el']||={'dictionary':{},'getPluralForm':null},_0x550cde['el']['dictionary']=Object['assign'](_0x550cde['el']['dictionary'],_0x564110['dictionary']),_0x564110['getPluralForm']&&(_0x550cde['el']['getPluralForm']=_0x564110['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2eb691=>{const {'en-au':_0x50a984}={'en-au':{'dictionary':{'Go\x20to\x20next\x20page':'','Go\x20to\x20previous\x20page':'','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'','Keystrokes\x20for\x20navigating\x20through\x20documents':'','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':''}}};_0x2eb691['en-au']||={'dictionary':{},'getPluralForm':null},_0x2eb691['en-au']['dictionary']=Object['assign'](_0x2eb691['en-au']['dictionary'],_0x50a984['dictionary']),_0x50a984['getPluralForm']&&(_0x2eb691['en-au']['getPluralForm']=_0x50a984['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2152e2=>{const {'en-gb':_0x548d93}={'en-gb':{'dictionary':{'Go\x20to\x20next\x20page':'','Go\x20to\x20previous\x20page':'','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'','Keystrokes\x20for\x20navigating\x20through\x20documents':'','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':''}}};_0x2152e2['en-gb']||={'dictionary':{},'getPluralForm':null},_0x2152e2['en-gb']['dictionary']=Object['assign'](_0x2152e2['en-gb']['dictionary'],_0x548d93['dictionary']),_0x548d93['getPluralForm']&&(_0x2152e2['en-gb']['getPluralForm']=_0x548d93['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5ed9d2=>{const {en:_0x460c24}={'en':{'dictionary':{'Go\x20to\x20next\x20page':'Go\x20to\x20next\x20page','Go\x20to\x20previous\x20page':'Go\x20to\x20previous\x20page','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'Current\x20page\x20number\x20(from\x201\x20to\x20%0)','Keystrokes\x20for\x20navigating\x20through\x20documents':'Keystrokes\x20for\x20navigating\x20through\x20documents','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'}}};_0x5ed9d2['en']||={'dictionary':{},'getPluralForm':null},_0x5ed9d2['en']['dictionary']=Object['assign'](_0x5ed9d2['en']['dictionary'],_0x460c24['dictionary']),_0x460c24['getPluralForm']&&(_0x5ed9d2['en']['getPluralForm']=_0x460c24['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1b8b93=>{const {eo:_0x247272}={'eo':{'dictionary':{'Go\x20to\x20next\x20page':'','Go\x20to\x20previous\x20page':'','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'','Keystrokes\x20for\x20navigating\x20through\x20documents':'','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':''}}};_0x1b8b93['eo']||={'dictionary':{},'getPluralForm':null},_0x1b8b93['eo']['dictionary']=Object['assign'](_0x1b8b93['eo']['dictionary'],_0x247272['dictionary']),_0x247272['getPluralForm']&&(_0x1b8b93['eo']['getPluralForm']=_0x247272['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x43cecb=>{const {'es-co':_0x3dcfe1}={'es-co':{'dictionary':{'Go\x20to\x20next\x20page':'','Go\x20to\x20previous\x20page':'','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'','Keystrokes\x20for\x20navigating\x20through\x20documents':'','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':''}}};_0x43cecb['es-co']||={'dictionary':{},'getPluralForm':null},_0x43cecb['es-co']['dictionary']=Object['assign'](_0x43cecb['es-co']['dictionary'],_0x3dcfe1['dictionary']),_0x3dcfe1['getPluralForm']&&(_0x43cecb['es-co']['getPluralForm']=_0x3dcfe1['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x59f0a0=>{const {es:_0x16848f}={'es':{'dictionary':{'Go\x20to\x20next\x20page':'Ir\x20a\x20la\x20página\x20siguiente','Go\x20to\x20previous\x20page':'Ir\x20a\x20la\x20pagina\x20anterior','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'Número\x20de\x20página\x20actual\x20(de\x201\x20a\x20%0)','Keystrokes\x20for\x20navigating\x20through\x20documents':'Pulsaciones\x20de\x20teclas\x20para\x20navegar\x20por\x20los\x20documentos','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'Ir\x20a\x20la\x20página\x20anterior\x20(también\x20mover\x20selección)','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':'Ir\x20a\x20la\x20página\x20siguiente\x20(también\x20mover\x20selección)'}}};_0x59f0a0['es']||={'dictionary':{},'getPluralForm':null},_0x59f0a0['es']['dictionary']=Object['assign'](_0x59f0a0['es']['dictionary'],_0x16848f['dictionary']),_0x16848f['getPluralForm']&&(_0x59f0a0['es']['getPluralForm']=_0x16848f['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4c71df=>{const {et:_0x2a8bed}={'et':{'dictionary':{'Go\x20to\x20next\x20page':'Mine\x20järgmisele\x20lehele','Go\x20to\x20previous\x20page':'Mine\x20eelmisele\x20lehele','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'Praeguse\x20lehe\x20number\x20(alates\x201\x20kuni\x20%0)','Keystrokes\x20for\x20navigating\x20through\x20documents':'Kiirklahvid\x20dokumendis\x20liikumiseks','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'Mine\x20eelmisele\x20lehele\x20(lisaks\x20vaheta\x20valikut)','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':'Mine\x20järgmisele\x20lehele\x20(lisaks\x20vaheta\x20valikut)'}}};_0x4c71df['et']||={'dictionary':{},'getPluralForm':null},_0x4c71df['et']['dictionary']=Object['assign'](_0x4c71df['et']['dictionary'],_0x2a8bed['dictionary']),_0x2a8bed['getPluralForm']&&(_0x4c71df['et']['getPluralForm']=_0x2a8bed['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x46a7b7=>{const {eu:_0x40ce6f}={'eu':{'dictionary':{'Go\x20to\x20next\x20page':'','Go\x20to\x20previous\x20page':'','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'','Keystrokes\x20for\x20navigating\x20through\x20documents':'','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':''}}};_0x46a7b7['eu']||={'dictionary':{},'getPluralForm':null},_0x46a7b7['eu']['dictionary']=Object['assign'](_0x46a7b7['eu']['dictionary'],_0x40ce6f['dictionary']),_0x40ce6f['getPluralForm']&&(_0x46a7b7['eu']['getPluralForm']=_0x40ce6f['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x191058=>{const {fa:_0x5dcf58}={'fa':{'dictionary':{'Go\x20to\x20next\x20page':'','Go\x20to\x20previous\x20page':'','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'','Keystrokes\x20for\x20navigating\x20through\x20documents':'','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':''}}};_0x191058['fa']||={'dictionary':{},'getPluralForm':null},_0x191058['fa']['dictionary']=Object['assign'](_0x191058['fa']['dictionary'],_0x5dcf58['dictionary']),_0x5dcf58['getPluralForm']&&(_0x191058['fa']['getPluralForm']=_0x5dcf58['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xd5a824=>{const {fi:_0x543330}={'fi':{'dictionary':{'Go\x20to\x20next\x20page':'Siirry\x20seuraavalle\x20sivulle','Go\x20to\x20previous\x20page':'Siirry\x20edelliselle\x20sivulle','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'Tämänhetkinen\x20sivunumero\x20(välillä\x201-%0)','Keystrokes\x20for\x20navigating\x20through\x20documents':'Näppäimet\x20asiakirjasta\x20toiseen\x20siirtymiseen','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'Siirry\x20edelliselle\x20sivulle\x20(siirtää\x20myös\x20valinnan)','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':'Siirry\x20seuraavalle\x20sivulle\x20(siirtää\x20myös\x20valinnan)'}}};_0xd5a824['fi']||={'dictionary':{},'getPluralForm':null},_0xd5a824['fi']['dictionary']=Object['assign'](_0xd5a824['fi']['dictionary'],_0x543330['dictionary']),_0x543330['getPluralForm']&&(_0xd5a824['fi']['getPluralForm']=_0x543330['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x14d9b6=>{const {fr:_0x42d093}={'fr':{'dictionary':{'Go\x20to\x20next\x20page':'Aller\x20à\x20la\x20page\x20suivante','Go\x20to\x20previous\x20page':'Aller\x20à\x20la\x20page\x20précédente','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'Numéro\x20de\x20la\x20page\x20actuelle\x20(de\x201\x20à\x20%0)','Keystrokes\x20for\x20navigating\x20through\x20documents':'Frappes\x20permettant\x20de\x20naviguer\x20à\x20travers\x20les\x20documents','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'Aller\x20à\x20la\x20page\x20précédente\x20(également\x20déplacer\x20la\x20sélection)','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':'Aller\x20à\x20la\x20page\x20suivante\x20(déplacer\x20également\x20la\x20sélection)'}}};_0x14d9b6['fr']||={'dictionary':{},'getPluralForm':null},_0x14d9b6['fr']['dictionary']=Object['assign'](_0x14d9b6['fr']['dictionary'],_0x42d093['dictionary']),_0x42d093['getPluralForm']&&(_0x14d9b6['fr']['getPluralForm']=_0x42d093['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x27e5da=>{const {gl:_0x3e4f9a}={'gl':{'dictionary':{'Go\x20to\x20next\x20page':'Ir\x20á\x20páxina\x20seguinte','Go\x20to\x20previous\x20page':'Ir\x20á\x20páxina\x20anterior','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'Número\x20de\x20páxina\x20actual\x20(do\x201\x20ao\x20%0)','Keystrokes\x20for\x20navigating\x20through\x20documents':'Teclas\x20de\x20atallo\x20para\x20navegar\x20polos\x20documentos','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'Ir\x20á\x20páxina\x20anterior\x20(tamén\x20mover\x20a\x20selección)','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':'Ir\x20á\x20páxina\x20seguinte\x20(tamén\x20mover\x20a\x20selección)'}}};_0x27e5da['gl']||={'dictionary':{},'getPluralForm':null},_0x27e5da['gl']['dictionary']=Object['assign'](_0x27e5da['gl']['dictionary'],_0x3e4f9a['dictionary']),_0x3e4f9a['getPluralForm']&&(_0x27e5da['gl']['getPluralForm']=_0x3e4f9a['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|