@ckeditor/ckeditor5-pagination 49.0.0-alpha.5 → 49.0.0-alpha.7
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-editor.css +1 -1
- package/dist/index.css +1 -1
- 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-editor.css
CHANGED
|
@@ -146,7 +146,7 @@
|
|
|
146
146
|
|
|
147
147
|
&:after {
|
|
148
148
|
content: attr(data-page-number);
|
|
149
|
-
font-size: var(--ck-font-size-xs);
|
|
149
|
+
font-size: var(--ck-font-size-tiny, var(--ck-font-size-xs));
|
|
150
150
|
background: var(--ck-pagination-label-background-color);
|
|
151
151
|
border-radius: var(--ck-pagination-label-border-radius);
|
|
152
152
|
color: var(--ck-color-text-inverse);
|
package/dist/index.css
CHANGED
|
@@ -146,7 +146,7 @@
|
|
|
146
146
|
|
|
147
147
|
&:after {
|
|
148
148
|
content: attr(data-page-number);
|
|
149
|
-
font-size: var(--ck-font-size-xs);
|
|
149
|
+
font-size: var(--ck-font-size-tiny, var(--ck-font-size-xs));
|
|
150
150
|
background: var(--ck-pagination-label-background-color);
|
|
151
151
|
border-radius: var(--ck-pagination-label-border-radius);
|
|
152
152
|
color: var(--ck-color-text-inverse);
|
package/dist/index.js
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as _0x27e762}from'@ckeditor/ckeditor5-core';import{ButtonView as _0x46239a,InputNumberView as _0x3ac860,View as _0x3afe1c}from'@ckeditor/ckeditor5-ui';import{Rect as _0x1200ae,ResizeObserver as _0x325303,env as _0x5b1b95,findClosestScrollableAncestor as _0x2b1bd5,first as _0x18e51a,getParentElement as _0xd9649c,getParentNode as _0x3ad0b5,getPositionedAncestor as _0x34fde7,global as _0x4e80eb,keyCodes as _0x1262af,logWarning as _0x584043,toUnit as _0x1c63ad,uid as _0x1d1587}from'@ckeditor/ckeditor5-utils';import{debounce as _0x5398e4}from'es-toolkit/compat';import{IconArrowDown as _0x203d95,IconArrowUp as _0x591476}from'@ckeditor/ckeditor5-icons';var v=class extends _0x27e762{_recalculatePageBreaksDebounced=_0x5398e4(()=>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 _0x584043('pagination-config-not-found',this['editor']['config']);const _0x548a43=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0x548a43),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0x2b61e8,_0x2b2ba2,_0x126bea)=>{_0x126bea&&this['_recalculatePageBreaksDebounced']();});}afterInit(){!async function(_0x39ce02){const _0x4b0e43='vsmL4TPpuR53MlqSj2VXwH9oEAN8FxJtGUOdbDCZ01ihyfkBQY6acgz7rIeWKn',_0x1ed2c0=0x79788,_0x25b032={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'};async function _0x9ab7bd(_0x26c3b4){const _0x56d730=new window['Promise'](_0x26b237=>{_0x26c3b4['once']('ready',_0x26b237);}),_0x469b7e=window['Date']['now'](),_0x156fa8=_0x26c3b4['config']['get']('licenseKey');async function _0x70c90c(){let _0x21cd06,_0x24eecc=null,_0x53474b=null;try{return'GPL'==_0x156fa8?'NotAllowed':(_0x21cd06=_0x2eacc7(),_0x21cd06?(_0x21cd06['usageEndpoint']&&(_0x53474b=_0x306a24(_0x21cd06['usageEndpoint'],_0x21cd06['jti'])),await _0x155c39()?_0x5afa55()?_0x372fc1()?'Expired':_0x2e356a()?('evaluation'==_0x21cd06['licenseType']&&(_0x24eecc=_0x177fc9('EvaluationLimit')),await _0x5e013f()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x372fc1(){const _0x76f757=['evaluation','trial']['includes'](_0x21cd06['licenseType'])?_0x469b7e/0x3e8:0xe10*_0x1ed2c0;return _0x21cd06['exp']<_0x76f757;}function _0x5afa55(){const _0x2b8c6e=_0x21cd06['features'];return!!_0x2b8c6e&&(!!_0x2b8c6e['includes']('*')||!!_0x2b8c6e['includes']('PAG'));}function _0x2e356a(){const _0x32d55e=_0x21cd06['licensedHosts'];if(!_0x32d55e||0x0==_0x32d55e['length'])return!0x0;const {hostname:_0x92f070}=new URL(window['location']['href']);if(_0x32d55e['includes'](_0x92f070))return!0x0;const _0x1f9ac0=_0x92f070['split']('.');return _0x32d55e['filter'](_0x2fe2ad=>_0x2fe2ad['includes']('*'))['map'](_0x2d7644=>_0x2d7644['split']('.'))['filter'](_0x407916=>_0x407916['length']<=_0x1f9ac0['length'])['map'](_0x125449=>Array(_0x1f9ac0['length']-_0x125449['length'])['fill']('*'===_0x125449[0x0]?'*':'')['concat'](_0x125449))['some'](_0x4a3d42=>_0x1f9ac0['every']((_0x4fea56,_0x267983)=>_0x4a3d42[_0x267983]===_0x4fea56||'*'===_0x4a3d42[_0x267983]));}function _0x5e013f(){return _0x24eecc&&_0x53474b?new window['Promise']((_0x378fae,_0x1c2c2d)=>{_0x24eecc['then'](_0x378fae,_0x1c2c2d),_0x53474b['then'](_0x304cdf=>{'Valid'!=_0x304cdf&&_0x378fae(_0x304cdf);},_0x1c2c2d);}):_0x24eecc||_0x53474b||'Valid';}}function _0x306a24(_0x43be63,_0x49cbb1){return new window['Promise'](_0x448178=>{if(_0x486991())return _0x448178('Valid');_0x259656(),_0x26c3b4['decorate']('_sendUsageRequest');let _0x57b8c9=!0x1;const _0x3b8d6b=_0x1d1587();function _0x453284(_0x1017fa){return!!_0x1017fa&&('object'==typeof _0x1017fa||'function'==typeof _0x1017fa)&&'function'==typeof _0x1017fa['then']&&'function'==typeof _0x1017fa['catch'];}function _0xe43e14(_0x1b90c7){_0x58fea2(_0x1b90c7)['then'](_0x5df869=>_0x5df869&&'ok'==_0x5df869['status']?_0x4eff44(_0x4c289b(_0x3b8d6b+_0x49cbb1))!=_0x5df869['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x48c1c9=>(_0x1ffbaa(),_0x48c1c9),()=>{const _0x469328=_0x4776cf();return null==_0x469328?(_0x1ffbaa(),'Valid'):_0x469b7e-_0x469328>0x240c8400?'UsageLimit':'Valid';})['then'](_0x448178)['catch'](()=>{_0x448178('UsageLimit');});const _0x195e46=0x36ee80;function _0x1ffbaa(){const _0x590dd6='llct-'+_0x4eff44(_0x4c289b(_0x43be63)),_0x33cec3=_0xf7b5ed(_0x4eff44(window['Math']['ceil'](_0x469b7e/_0x195e46)));window['localStorage']['setItem'](_0x590dd6,_0x33cec3);}function _0x4776cf(){const _0x1ec498='llct-'+_0x4eff44(_0x4c289b(_0x43be63)),_0x387b70=window['localStorage']['getItem'](_0x1ec498);return _0x387b70?window['parseInt'](_0xf7b5ed(_0x387b70),0x10)*_0x195e46:null;}function _0x58fea2(_0x510fef){return new window['Promise']((_0x2fbb36,_0x3f4636)=>{_0x510fef['then'](_0x2fbb36,_0x3f4636),window['setTimeout'](_0x3f4636,0x1d4c0);});}}_0x26c3b4['on']('_sendUsageRequest',(_0x2a9934,_0x94e9f5)=>{if(_0x94e9f5[0x0]!=_0x43be63)return _0x448178('UsageLimit');_0x94e9f5[0x1]={..._0x94e9f5[0x1],'requestId':_0x3b8d6b};},{'priority':'high'}),_0x26c3b4['on']('_sendUsageRequest',_0x325cfb=>{_0x453284(_0x325cfb['return'])&&(_0x57b8c9=!0x0,_0xe43e14(_0x325cfb['return']));},{'priority':'low'}),_0x56d730['then'](()=>{_0x57b8c9||_0x448178('UsageLimit');});});function _0x486991(){return'auto'==_0x26c3b4['editing']['view']['_overlayModeHint'];}function _0x259656(){_0x26c3b4['editing']['view']['_overlayModeHint']='auto';}}function _0x177fc9(_0x543d84){const _0x52f186=[new window['Promise'](_0x145580=>setTimeout(_0x145580,0x93ecc)),_0x56d730['then'](()=>new window['Promise'](_0x20f2bd=>{let _0xb981bd=0x0;_0x26c3b4['model']['on']('applyOperation',(_0x40bd19,_0x24bf8b)=>{_0x24bf8b[0x0]['isDocumentOperation']&&_0xb981bd++,0x5e8==_0xb981bd&&(_0x20f2bd(),_0x40bd19['off']());});}))];return window['Promise']['race'](_0x52f186)['then'](()=>_0x543d84);}async function _0x5a599e(){await _0x56d730,_0x26c3b4['model']['change']=_0x2c49f5,_0x26c3b4['model']['enqueueChange']=_0x2c49f5,_0x26c3b4['enableReadOnlyMode']('model');}function _0x251554(_0x1d3182){const _0x2767af=_0x55b37a();_0x26c3b4[_0x2767af]='paginationLicenseKey'+_0x1d3182,'Valid'!=_0x1d3182&&_0x5a599e();}function _0x55b37a(){const _0x234580=window['String'](window['performance']['now']())['replace']('.','');let _0x1ec548='v';for(let _0x448b17=0x0;_0x448b17<_0x234580['length'];_0x448b17+=0x2){let _0x2f39cb=window['parseInt'](_0x234580['substring'](_0x448b17,_0x448b17+0x2));_0x2f39cb>=0x3e&&(_0x2f39cb-=0x3e),_0x1ec548+=_0x4b0e43[_0x2f39cb];}return _0x1ec548;}function _0x2eacc7(){const _0x5828cf=_0x156fa8['split']('.');if(0x3!=_0x5828cf['length'])return null;return _0x3b9ab6(_0x5828cf[0x1]);function _0x3b9ab6(_0x3c6ccd){const _0x4445e2=_0x2a8e35(_0x3c6ccd);return _0x4445e2&&_0x224616()?_0x4445e2:null;function _0x224616(){const _0xb0f119=_0x4445e2['jti'],_0x31f74e=window['parseInt'](_0xb0f119['substring'](_0xb0f119['length']-0x8),0x10),_0x3b40ab={..._0x4445e2,'jti':_0xb0f119['substring'](0x0,_0xb0f119['length']-0x8)};return delete _0x3b40ab['vc'],_0x4c289b(_0x3b40ab)==_0x31f74e;}}}async function _0x155c39(){let _0x3f1d11=!0x0;try{const [_0x387a32,_0x45ec47,_0x3d6888]=_0x156fa8['split']('.');return _0x263573(_0x387a32),await _0x2b204d(_0x387a32,_0x45ec47,_0x3d6888),_0x3f1d11;}catch{return!0x1;}function _0x263573(_0x10d251){const _0x2d5b6e=_0x2a8e35(_0x10d251);_0x2d5b6e&&'ES256'==_0x2d5b6e['alg']||(_0x3f1d11=!0x1);}async function _0x2b204d(_0x17dd22,_0x50b85c,_0x21a487){const _0x569b69=window['Uint8Array']['from'](_0x2ea837(_0x21a487),_0x43d166=>_0x43d166['charCodeAt'](0x0)),_0x5f1227=new window['TextEncoder']()['encode'](_0x17dd22+'.'+_0x50b85c),_0x4baa75=window['crypto']['subtle'];if(!_0x4baa75)return;const _0x3f246c=await _0x4baa75['importKey']('jwk',_0x25b032,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x4baa75['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x3f246c,_0x569b69,_0x5f1227)||(_0x3f1d11=!0x1);}}function _0x2a8e35(_0x5198a2){return _0x5198a2['startsWith']('ey')?JSON['parse'](_0x2ea837(_0x5198a2)):null;}function _0x2ea837(_0x553f01){return window['atob'](_0x553f01['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x4c289b(_0x2e0921){let _0x3ae23a=0x1505;function _0x42e18a(_0x1b6510){for(let _0x1cacad=0x0;_0x1cacad<_0x1b6510['length'];_0x1cacad++){const _0x3e046b=_0x1b6510['charCodeAt'](_0x1cacad);_0x3ae23a=(_0x3ae23a<<0x5)+_0x3ae23a+_0x3e046b,_0x3ae23a&=_0x3ae23a;}}function _0x83f4c9(_0x35b6d5){Array['isArray'](_0x35b6d5)?_0x35b6d5['forEach'](_0x83f4c9):_0x35b6d5&&'object'==typeof _0x35b6d5?Object['entries'](_0x35b6d5)['sort']()['forEach'](([_0x1e3c06,_0x5614c2])=>{_0x42e18a(_0x1e3c06),_0x83f4c9(_0x5614c2);}):_0x42e18a(window['String'](_0x35b6d5));}return _0x83f4c9(_0x2e0921),_0x3ae23a>>>0x0;}function _0x4eff44(_0x1e0947){return _0x1e0947['toString'](0x10)['padStart'](0x8,'0');}function _0xf7b5ed(_0x2d3b75){return _0x2d3b75['split']('')['reverse']()['join']('');}function _0x2c49f5(){}_0x251554(await _0x70c90c());}_0x9ab7bd(_0x39ce02['editor']);}(this);}destroy(){super['destroy'](),this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']&&(this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0x5eaede=this['editor'],_0x41ea89=_0x5eaede['editing']['view'],_0x55a531=this['_getAttachedDomRoot']();if(!_0x55a531||!_0x55a531['hasChildNodes']())return void _0x5eaede['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0x34b471,pageHeight:_0x2e8447}=_0x5eaede['config']['get']('pagination'),{top:_0x1d385a,left:_0x116d22,bottom:_0x571fca,right:_0x41ec53}=this['_configuredPaddings'];this['_pagesContainer']=new _0x3afe1c(_0x5eaede['locale']);const _0x113abb=this['_pagesContainer'];_0x113abb['set']('class',''),_0x113abb['setTemplate']({'tag':'div','attributes':{'style':{'columnWidth':_0x34b471,'width':_0x34b471,'height':'calc(\x20'+_0x2e8447+'\x20-\x20'+_0x1d385a+'\x20-\x20'+_0x571fca+'\x20+\x200.5mm\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0x41ec53+'\x200\x20'+_0x116d22,'columnGap':'calc('+_0x116d22+'\x20+\x20'+_0x41ec53+'\x20+\x20100px)','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'class':_0x113abb['bindTemplate']['to']('class')}}),_0x113abb['render'](),_0x3ad0b5(_0x55a531)['insertBefore'](_0x113abb['element'],_0x55a531['nextSibling']),this['listenTo'](_0x41ea89,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}_getAttachedDomRoot(){for(const _0x39a57b of this['editor']['editing']['view']['domRoots']['values']())if(_0x39a57b['isConnected'])return _0x39a57b;return null;}_recalculatePageBreaks(){if(!this['isEnabled'])return Promise['resolve']();const _0x56c356=this['editor']['editing']['view'],_0x3a9427=this['_pagesContainer'],_0x241858=this['_getAttachedDomRoot']();if(!_0x241858||!_0x3a9427)return Promise['resolve']();for(_0x3a9427['class']=['ck-reset','ck-pagination-view',..._0x241858['classList']]['join']('\x20');_0x3a9427['element']['firstChild'];)_0x3a9427['element']['firstChild']['remove']();const _0x13be81=Array['from'](_0x56c356['domRoots']);_0x13be81['sort'](([,_0x389324],[,_0xf66fb4])=>_0x389324['compareDocumentPosition'](_0xf66fb4)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0x466eb3,_0x506880]of _0x13be81){const _0x2e3c6f=_0x506880['cloneNode'](!0x0);'attributeStyleMap'in _0x2e3c6f&&_0x2e3c6f['attributeStyleMap']['clear'](),_0x2e3c6f['dataset']['rootName']=_0x466eb3,_0x2e3c6f['className']='ck-content\x20ck-pagination_enabled',_0x2e3c6f['removeAttribute']('id'),_0x2e3c6f['tabIndex']=-0x1,_0x3a9427['element']['append'](_0x2e3c6f);}const _0x39bd6b=Array['from'](_0x3a9427['element']['querySelectorAll']('img'));return function(_0x3f489a){return Promise['all'](_0x3f489a['map'](_0x6b2a55=>Promise['race']([N(_0x6b2a55),_(0x3e8)])));}(_0x39bd6b)['then'](()=>{for(const _0x22549c of _0x39bd6b['filter'](_0x2b4b88=>!_0x2b4b88['closest']('table')))if(_0x22549c['offsetParent']){const _0xcc23ee=_0x4e80eb['window']['getComputedStyle'](_0x22549c),_0x52d19e=_0x4e80eb['document']['createElement']('span');for(const _0x25a20d of _0xcc23ee)_0x52d19e['style']['setProperty'](_0x25a20d,_0xcc23ee[_0x25a20d]);_0x52d19e['style']['backgroundImage']='url(\x20'+_0x22549c['src']+'\x20)',_0x52d19e['style']['breakInside']='avoid','PICTURE'==_0x22549c['parentElement']?.['tagName']?_0x22549c['parentElement']['replaceWith'](_0x52d19e):_0x22549c['replaceWith'](_0x52d19e);}return new Promise(_0x5b6683=>_0x4e80eb['window']['requestAnimationFrame'](()=>_0x5b6683()));})['then'](()=>{this['_updatePageBreaksData']();});}_updatePageBreaksData(){const _0x450140=this['_pagesContainer']['element'];if(!_0x450140['isConnected'])return;const _0x58bcee=new _0x1200ae(_0x450140)['excludeScrollbarsAndBorders'](),_0x54bc02=Math['floor'](_0x58bcee['width']+0x64),_0x3915d8=I(_0x450140,Math['floor'](_0x58bcee['left']-_0x450140['scrollLeft']),_0x54bc02,_0x58bcee['height'])['map'](_0x5cb323=>this['_mapPageStarterInfoToPageBreakInfo'](_0x5cb323))['filter'](_0x152458=>!0x1!==_0x152458);_0x3915d8['every'](_0x456431=>!!_0x456431)&&(this['pageBreaks']=_0x3915d8);}_mapPageStarterInfoToPageBreakInfo(_0x8aec18){const _0x515354=this['editor']['editing']['view'],_0x5d1ec5=this['editor']['editing']['mapper'],_0x2c3bbb=_0x515354['domConverter'],_0x2bba90=_0x8aec18['path']['shift'](),_0x4e6a42=this['_pagesContainer']['element']['childNodes'][_0x2bba90]['dataset']['rootName'],_0x4ff50b=_0x515354['getDomRoot'](_0x4e6a42);if(!_0x4ff50b)return null;const _0xfed17e=function(_0x42fdac,_0x48cec4){let _0x4caee0=_0x42fdac;for(const _0x2cbffa of _0x48cec4['path']){if(!_0x4caee0)return null;_0x4caee0=_0x4caee0['childNodes'][_0x2cbffa];}return _0x4caee0;}(_0x4ff50b,_0x8aec18);if(!_0xfed17e)return null;const _0x255cd4=_0x2c3bbb['domPositionToView'](_0xfed17e,_0x8aec18['textOffset']||0x0);return _0x255cd4?'manual'==_0x8aec18['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0x255cd4,_0xfed17e):'text'==_0x8aec18['type']&&_0x5d1ec5['toModelPosition'](_0x255cd4)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0x255cd4,_0xfed17e,_0x8aec18['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0x255cd4,_0xfed17e,_0x8aec18['offset']):null;}_mapManualPageStarterInfoToPageBreakInfo(_0x27e58d,_0x7770ac){const _0x206554=this['editor']['model'],_0x2d28b8=this['editor']['editing']['mapper']['toModelElement'](_0x27e58d['parent']),_0x9325ea=_0x206554['createRangeOn'](_0x2d28b8);return new k({'type':'manual','modelRange':_0x9325ea,'domNode':_0x7770ac,'offset':0x0});}_mapTextPageStarterInfoToPageBreakInfo(_0xad0663,_0x6b2331,_0x549c61){const _0x140c00=this['editor']['model'],_0x2a9fc3=this['editor']['editing']['mapper'],_0x1fccab=this['editor']['editing']['view']['domConverter'];if(_0x549c61>=_0x6b2331['length'])return null;const _0x1ed83b=_0x2a9fc3['toModelPosition'](_0xad0663),_0x286bea=_0x140c00['createRange'](_0x1ed83b),_0x48cf90=_0x2a9fc3['findMappedViewAncestor'](_0xad0663),_0x3262ad=_0x1fccab['mapViewToDom'](_0x48cf90);return new k({'type':'text','modelRange':_0x286bea,'domNode':_0x6b2331,'offset':L(_0x6b2331,_0x549c61,_0x3262ad)});}_mapElementPageStarterInfoToPageBreakInfo(_0xc264d1,_0xbcce81,_0x26a9e6){const _0x39cfc1=this['editor']['model'],_0xd20988=this['editor']['editing'],_0xfa37ee=_0xd20988['mapper'],_0x335c12=_0xd20988['view']['domConverter'],_0x4905d1=_0xfa37ee['findMappedViewAncestor'](_0xc264d1),_0x4881a2=_0xfa37ee['toModelElement'](_0x4905d1);if(!_0x4881a2||_0x4881a2['is']('rootElement'))return!0x1;const _0x2d0686=function(_0x53892a){const _0x437944=_0x53892a['parent'],_0x323b46=_0x437944['root']['document']['model'],_0xc53fba=_0x437944['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0x281719=null;for(const _0x13cff6 of _0xc53fba){if(_0x13cff6['is']('rootElement'))return _0x281719;if(!_0x323b46['createPositionBefore'](_0x13cff6)['isTouching'](_0x53892a))return _0x281719;_0x281719=_0x13cff6;}}(_0x39cfc1['createPositionBefore'](_0x4881a2))||_0x4881a2;let _0x228521=_0xfa37ee['toViewElement'](_0x2d0686),_0x2f4a52=_0x39cfc1['createRangeOn'](_0x2d0686);const _0x4374c2=_0x39cfc1['createPositionBefore'](_0x2d0686)['nodeBefore'];if(_0x4374c2&&_0x4374c2['is']('element','imageBlock')){const _0x2186bc=_0xfa37ee['toViewElement'](_0x4374c2),_0x467f6e=_0x335c12['mapViewToDom'](_0x2186bc),_0x1f1405=_0x4e80eb['window']['getComputedStyle'](_0x467f6e)['float'];'left'!=_0x1f1405&&'right'!=_0x1f1405||(_0x2f4a52=_0x39cfc1['createRangeOn'](_0x4374c2));}for(;_0x228521['parent']!==_0x228521['root']&&0x0===_0x228521['index'];)_0x228521=_0x228521['parent'];const _0x38e21f=new _0x1200ae(C(_0xbcce81)?_0xbcce81:E(_0xbcce81)),_0xe3b785=_0x26a9e6?_0x38e21f['height']-_0x26a9e6:0x0,_0x26a130=_0x335c12['mapViewToDom'](_0x228521),_0x165269=new _0x1200ae(_0x26a130);return new k({'type':'element','modelRange':_0x2f4a52,'domNode':_0x26a130,'offset':Math['round'](_0xe3b785)||_0x4905d1!=x(_0xc264d1)?_0xe3b785+_0x38e21f['top']-_0x165269['top']:0x0});}get['_configuredPaddings'](){const _0x1b9f77=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0x1b9f77);}static _findPageStarterInfos(_0x198a56,_0x27cf73,_0x2b5b75,_0x2d8bbd,_0x319af5){return I(_0x198a56,_0x27cf73,_0x2b5b75,_0x2d8bbd,_0x319af5);}},k=class{type;['modelRange'];['_domNode'];_offset;constructor({type:_0x419b95,modelRange:_0x5885cc,domNode:_0xda2b5a,offset:_0x5d5467}){this['type']=_0x419b95,this['modelRange']=_0x5885cc,this['_domNode']=_0xda2b5a,this['_offset']=_0x5d5467;}get offset(){if(!this['_domNode']['isConnected'])return 0x0;const _0x17f166=new _0x1200ae(C(this['_domNode'])?this['_domNode']:E(this['_domNode']));return'manual'==this['type']?_0x17f166['top']+_0x17f166['height']/0x2:_0x17f166['top']+this['_offset'];}};function L(_0x513ed9,_0x386b92,_0x19a529){const _0x573f8c=E(_0x513ed9),_0x1212bf=function(_0xf2e84d){const _0x469a93=_0x4e80eb['document']['createRange']();return _0x469a93['selectNodeContents'](_0xf2e84d),_0x469a93;}(_0x19a529);let _0x1bf9d3;if(0x0==_0x386b92){const _0x2a6230=_0x3ad0b5(_0x513ed9);_0x1bf9d3=R(_0x1212bf['startContainer'],_0x1212bf['startOffset'],_0x2a6230,Array['from'](_0x2a6230['childNodes'])['indexOf'](_0x513ed9));}else _0x1bf9d3=R(_0x1212bf['startContainer'],_0x1212bf['startOffset'],_0x513ed9,_0x386b92);const _0x3ef78b=R(_0x513ed9,_0x386b92,_0x1212bf['endContainer'],_0x1212bf['endOffset']),_0x200e3f=new _0x1200ae(_0x1bf9d3)['bottom'];return(new _0x1200ae(_0x3ef78b)['top']+_0x200e3f)/0x2-new _0x1200ae(_0x573f8c)['top'];}function x(_0x28be93){let _0x1ee3d7=_0x28be93['parent'];for(;_0x1ee3d7['is']('$text')||_0x1ee3d7['is']('attributeElement');)_0x1ee3d7=_0x1ee3d7['parent'];return _0x1ee3d7;}function N(_0x2e99ca){return _0x2e99ca['hasAttribute']('width')&&_0x2e99ca['hasAttribute']('height')?Promise['resolve']():new Promise(_0x16046d=>{function _0x19c2bf(){_0x2e99ca['removeEventListener']('load',_0x19c2bf),_0x2e99ca['removeEventListener']('error',_0x19c2bf),_0x16046d();}_0x2e99ca['complete']?_0x16046d():(_0x2e99ca['addEventListener']('load',_0x19c2bf),_0x2e99ca['addEventListener']('error',_0x19c2bf));});}function _(_0x5187c4){return new Promise(_0x1c8641=>setTimeout(_0x1c8641,_0x5187c4));}function E(_0x45554f){const _0x5aec63=_0x4e80eb['document']['createRange']();return _0x5aec63['selectNode'](_0x45554f),_0x5aec63;}function S(_0x12d486,_0x16c299,_0x4ea6f){const _0x2a2c74=_0x4e80eb['document']['createRange']();return _0x2a2c74['setStart'](_0x12d486,_0x16c299),_0x2a2c74['setEnd'](_0x12d486,_0x4ea6f),_0x2a2c74;}function R(_0x580f89,_0xbf2c4f,_0x25fcc1,_0x45b280){const _0x55f518=_0x4e80eb['document']['createRange']();return _0x55f518['setStart'](_0x580f89,_0xbf2c4f),_0x55f518['setEnd'](_0x25fcc1,_0x45b280),_0x55f518;}function I(_0x414d3d,_0xe944cf,_0x246007,_0x5b9864,_0x1f84a4){const _0x4c5789=[];for(const [_0x792b13,_0x704cb4]of _0x414d3d['childNodes']['entries']()){let _0x52ef57=[];C(_0x704cb4)&&_0x704cb4['offsetParent']&&['static','relative']['includes'](_0x4e80eb['window']['getComputedStyle'](_0x704cb4)['position'])?_0x52ef57=K(_0x704cb4,_0x792b13,_0xe944cf,_0x246007,_0x5b9864,_0x1f84a4):D(_0x704cb4)&&(_0x52ef57=A(_0x704cb4,_0x792b13,_0xe944cf,_0x246007,_0x1f84a4)),_0x52ef57['length']&&(_0x4c5789['push'](..._0x52ef57),_0xe944cf+=_0x52ef57['length']*_0x246007,_0x1f84a4=!0x1);}return _0x4c5789;}function K(_0x49feac,_0xdbeb2e,_0x2b341d,_0x17c3cb,_0x1df968,_0x33fd74){const _0x19dbbd=[];var _0x5ae66c;if((_0x5ae66c=_0x49feac['previousSibling'])&&C(_0x5ae66c)&&Boolean(_0x5ae66c['classList']['contains']('page-break')||_0x5ae66c['closest']('.page-break'))&&(_0x19dbbd['push']({'type':'manual','offset':0x0,'path':[_0xdbeb2e-0x1]}),_0x33fd74=!0x0),'table-row'==_0x4e80eb['window']['getComputedStyle'](_0x49feac)['display']){let _0x2434b8=0x0,_0x3662d5=!0x1;for(const _0xa78d46 of _0x49feac['getClientRects']())_0x2434b8+=_0xa78d46['height'],_0xa78d46['left']>=_0x2b341d&&(_0x3662d5=!0x0);if(_0x2434b8<_0x1df968&&_0x3662d5)return _0x33fd74||_0x19dbbd['push']({'type':'element','offset':0x0,'path':[_0xdbeb2e]}),_0x19dbbd;}const _0x47c23e=_0x49feac['closest']('figure.image');if(_0x47c23e&&function(_0x21efc6){let _0x372d88=!0x1;const _0x2ad14d=_0xd9649c(_0x21efc6)['dataset']['rootName'],_0x1b6797=_0x21efc6['nextElementSibling'],_0x26a4a6=_0x21efc6['previousElementSibling'],_0x5e33a2=_0x1b6797&&_0x4e80eb['window']['getComputedStyle'](_0x1b6797)['float'],_0x402b53=_0x1b6797&&'ck-fake-selection-container'===_0x1b6797['className'];return!_0x2ad14d||_0x1b6797||_0x26a4a6||(_0x372d88=!0x0),_0x2ad14d&&!_0x26a4a6&&_0x402b53&&(_0x372d88=!0x0),_0x2ad14d&&!_0x26a4a6&&'none'!==_0x5e33a2&&(_0x372d88=!0x0),!_0x372d88;}(_0x47c23e)){const _0x56c051=_0x4e80eb['window']['getComputedStyle'](_0x47c23e)['float'];if('left'==_0x56c051||'right'==_0x56c051)return _0x19dbbd;}const _0x49ce9f=I(_0x49feac,_0x2b341d,_0x17c3cb,_0x1df968,_0x33fd74);if(_0x49ce9f['length']){for(const _0x367f0d of _0x49ce9f)_0x19dbbd['push']({'type':_0x367f0d['type'],'offset':_0x367f0d['offset'],'textOffset':_0x367f0d['textOffset'],'path':[_0xdbeb2e,..._0x367f0d['path']]}),_0x2b341d+=_0x17c3cb;return _0x19dbbd;}return _0x19dbbd['push'](...function(_0x25a863,_0x123c3e,_0x323176,_0x2db837,_0xe4c34b){const _0x5c16fe=[];if('table-cell'==_0x4e80eb['window']['getComputedStyle'](_0x25a863)['display'])return[];const _0x406ee4=[];for(const _0x2e3122 of _0x25a863['getClientRects']())if(_0x2e3122['left']>=_0x323176){for(const _0x278ada of _0x406ee4)_0x278ada['height']+=_0x2e3122['height'];_0x406ee4['push']({'height':_0x2e3122['height']}),_0x323176+=_0x2db837;}for(const _0x35ebce of _0x406ee4)_0xe4c34b||_0x5c16fe['push']({'type':'element','offset':_0x35ebce['height'],'textOffset':0x0,'path':[_0x123c3e]}),_0xe4c34b=!0x1;return _0x5c16fe;}(_0x49feac,_0xdbeb2e,_0x2b341d,_0x17c3cb,_0x33fd74)),_0x19dbbd;}function A(_0x22bbec,_0x42f37e,_0x10d907,_0x51354e,_0x553e38){const _0x3bbb6a=E(_0x22bbec),_0x373e2f=[];let _0x4c7510=0x0;for(const _0x34be71 of _0x3bbb6a['getClientRects']())if(_0x34be71['left']>=_0x10d907){const _0x3bbf04=O(_0x22bbec,_0x4c7510,_0x10d907,_0x51354e);_0x553e38||_0x373e2f['push']({'type':'text','path':[_0x42f37e],'textOffset':_0x3bbf04}),_0x4c7510=_0x3bbf04,_0x10d907+=_0x51354e,_0x553e38=!0x1;}return _0x373e2f;}function O(_0x329d47,_0x15d08a,_0x2a2099,_0x538dfa){let _0x241069=_0x15d08a,_0x3a2690=_0x329d47['length'];for(;_0x3a2690-_0x241069>0x1;){const _0x1d5385=Math['ceil']((_0x241069+_0x3a2690)/0x2);U(S(_0x329d47,_0x241069,_0x1d5385),_0x2a2099,_0x538dfa)?_0x3a2690=_0x1d5385:_0x241069=_0x1d5385;}return _0x241069;}function U(_0x5a5abd,_0x82c804,_0xc5be00){for(const _0x11dcbd of _0x5a5abd['getClientRects']())if(_0x11dcbd['left']>=_0x82c804&&_0x11dcbd['left']<_0x82c804+_0xc5be00)return!0x0;return!0x1;}function C(_0x2e4e94){return _0x2e4e94['nodeType']==Node['ELEMENT_NODE'];}function D(_0x5e4af0){return _0x5e4af0['nodeType']==Node['TEXT_NODE'];}const T=/* #__PURE__ -- @preserve */
|
|
24
|
-
_0x1c63ad('px');var B=class extends _0x3afe1c{constructor(){super();const _0x129db5=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0x129db5['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0x129db5['if']('isVisible','ck-hidden',_0x1d0ac4=>!_0x1d0ac4)],'style':{'left':_0x129db5['to']('left',_0x290fbb=>T(_0x290fbb)),'top':_0x129db5['to']('top',_0x1fbbfd=>T(_0x1fbbfd)),'width':_0x129db5['to']('width',_0x1f5f36=>T(_0x1f5f36))}}});}},G=class{_viewCollection;['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0x32cdc5){this['_viewCollection']=_0x32cdc5['ui']['view']['body'];}get containerElement(){return this['_viewCollection']['bodyCollectionContainer'];}destroy(){for(const _0x36e0b9 of this['_hiddenLines'])_0x36e0b9['destroy']();}['cleanLines'](){for(const _0x4b6193 of this['_visibleLines'])_0x4b6193['isVisible']=!0x1,this['_hiddenLines']['add'](_0x4b6193);this['_visibleLines']['clear']();}['showLine'](_0x491c00,_0x308d3a,_0x21f955,_0x19ea58){let _0x4d8ea4;this['_hiddenLines']['size']?(_0x4d8ea4=_0x18e51a(this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0x4d8ea4)):_0x4d8ea4=new B(),_0x4d8ea4['set']({'pageNumber':_0x19ea58,'left':_0x491c00,'top':_0x308d3a,'width':_0x21f955}),_0x4d8ea4['isVisible']=!0x0,this['_viewCollection']['has'](_0x4d8ea4)||this['_viewCollection']['add'](_0x4d8ea4),this['_visibleLines']['add'](_0x4d8ea4);}setViewCollection(_0x2dc11a){for(const _0x4a9f5a of[...this['_visibleLines'],...this['_hiddenLines']])this['_viewCollection']['has'](_0x4a9f5a)&&this['_viewCollection']['remove'](_0x4a9f5a);this['_viewCollection']=_0x2dc11a;}};const V='ck-pagination_enabled';var M=class extends _0x27e762{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',(_0x3e038c,_0x2f73fa,_0x259bac)=>{_0x259bac||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](V,_0x259bac);});}destroy(){this['_toggleEditingRootsClass'](V,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0x2ae5d9){if(!this['isEnabled'])return;const _0x2cc30e=_0x2ae5d9>0x1?this['_getPageBreakLineOffset'](_0x2ae5d9-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0x2cc30e-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':_0x5b1b95['isMotionReduced']?'instant':'smooth'});}setupScrollableAncestor(){const _0x4ef34d=this['editor'],_0x181e45=this['_getAttachedDomRoot']();_0x181e45?(this['_scrollableEditingRootDomAncestor']&&_0x4ef34d['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=_0x2b1bd5(_0x181e45),_0x4ef34d['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new _0x325303(this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0x4ef34d['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0x43d037=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0x43d037['ui']['view']['listenTo'](_0x4e80eb['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0x43d037['ui']['once']('update',()=>this['_onUiReady']());}_getAttachedDomRoot(){for(const _0x5efb36 of this['editor']['editing']['view']['domRoots']['values']())if(_0x5efb36['isConnected'])return _0x5efb36;return null;}_updatePageBreakLines(){if(!this['isEnabled'])return;const _0x1c5c7b=this['_getAttachedDomRoot'](),_0x1fb36e=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0x1c5c7b||0x1==_0x1fb36e['length'])return void(this['pageNumber']=0x1);const _0x58ea45=new _0x1200ae(_0x1c5c7b)['excludeScrollbarsAndBorders'](),_0x2c3df0=new _0x1200ae(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0x36d193=_0x2c3df0['top']+_0x2c3df0['height']/0x3;let _0x1bbf4a=!0x1;const _0x2feec6=[];for(let _0x185395=0x1;_0x185395<_0x1fb36e['length'];_0x185395++){const _0x160176=this['_getPageBreakLineOffset'](_0x185395,_0x2c3df0);if(!_0x160176)continue;const _0xab582b=_0x2c3df0['top']+_0x160176-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0x2feec6['push']({'pageOffsetTop':_0xab582b,'domRootRect':_0x58ea45,'domScrollableRect':_0x2c3df0,'pageNumber':_0x185395}),_0xab582b>_0x36d193&&!_0x1bbf4a&&(this['pageNumber']=_0x185395,_0x1bbf4a=!0x0);}this['_renderPageBreakLines'](_0x2feec6),_0x1bbf4a||(this['pageNumber']=_0x1fb36e['length']);}['_renderPageBreakLines'](_0x10875c){if(!_0x10875c['length'])return;const {scrollX:_0x2457fb,scrollY:_0x431f5a}=_0x4e80eb['window'],_0x2892f4=_0x34fde7(this['linesRepository']['containerElement']);let _0x10b7c5,_0x1823df;if(_0x2892f4){const _0x4b5ed7=new _0x1200ae(_0x2892f4);_0x10b7c5=_0x4b5ed7['top']+_0x2892f4['clientTop']-_0x2892f4['scrollTop'],_0x1823df=_0x4b5ed7['left']+_0x2892f4['clientLeft']-_0x2892f4['scrollLeft'];}else _0x10b7c5=-_0x431f5a,_0x1823df=-_0x2457fb;for(const {domScrollableRect:_0x5cfc67,pageOffsetTop:_0x38542c,domRootRect:_0x5810a6,pageNumber:_0x4b7367}of _0x10875c)_0x5cfc67['top']<_0x38542c&&_0x38542c<_0x5cfc67['bottom']&&this['linesRepository']['showLine'](_0x5810a6['left']-_0x1823df,_0x38542c-_0x10b7c5,_0x5810a6['width'],_0x4b7367+0x1);}_getPageBreakLineOffset(_0x36c754,_0x28bf2e=null){const _0x3d116b=this['_paginationLookupPlugin']['pageBreaks'][_0x36c754]['offset'];return _0x3d116b?(_0x28bf2e||(_0x28bf2e=new _0x1200ae(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0x3d116b-_0x28bf2e['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}_toggleEditingRootsClass(_0x12c7a3,_0x3c3bed=!0x0){const _0x2f6f8e=this['editor']['editing']['view'];_0x2f6f8e['change'](_0x40ee71=>{for(const _0x377f44 of _0x2f6f8e['document']['roots'])_0x3c3bed?_0x40ee71['addClass'](_0x12c7a3,_0x377f44):_0x40ee71['removeClass'](_0x12c7a3,_0x377f44);});}};function $(_0x2c4c9f,_0x38c007,..._0x9453fb){const t=_0x2c4c9f['t'];switch(_0x38c007){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)',..._0x9453fb);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 _0x38c007;}}var j=class extends _0x27e762{['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 _0x1e416e=this['editor']['plugins']['get']('Pagination'),_0xf7cc11=this['editor']['plugins']['get'](v),_0x4a8508=this['editor']['plugins']['get'](M);this['bind']('isEnabled')['to'](_0x1e416e),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0x4a8508),this['listenTo'](_0xf7cc11,'change:pageBreaks',(_0x1e7617,_0x2e4eb2,_0xa1eda3,_0x20c07e)=>{this['totalPages']=_0xa1eda3['length'],this['_updatePageBreakMarkers'](_0xa1eda3,_0x20c07e);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey'),this['_licenseKeyCheckInterval']=setInterval(()=>{const _0x1bc1ed=[this['editor']];for(const _0x5e1ea4 of _0x1bc1ed){let _0x2d1f5a;for(const _0x2d9c44 in _0x5e1ea4){const _0x371935=_0x2d9c44,_0x49922d=_0x5e1ea4[_0x371935];if('paginationLicenseKeyValid'==_0x49922d||'paginationLicenseKeyInvalid'==_0x49922d||'paginationLicenseKeyExpired'==_0x49922d||'paginationLicenseKeyDomainLimit'==_0x49922d||'paginationLicenseKeyNotAllowed'==_0x49922d||'paginationLicenseKeyEvaluationLimit'==_0x49922d||'paginationLicenseKeyUsageLimit'==_0x49922d){delete _0x5e1ea4[_0x371935],_0x2d1f5a=_0x49922d,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0x2d1f5a&&_0x5e1ea4['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0x2d1f5a&&_0x5e1ea4['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0x2d1f5a&&_0x5e1ea4['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0x2d1f5a&&_0x5e1ea4['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0x2d1f5a&&_0x5e1ea4['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyUsageLimit'==_0x2d1f5a&&_0x5e1ea4['_showLicenseError']('usageLimit');}},0x3e8);}destroy(){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0x1febec){this['isEnabled']&&this['editor']['plugins']['get'](M)['scrollToPage'](this['_validatePageNumber'](_0x1febec));}moveSelectionToPage(_0x4f983c){if(!this['isEnabled'])return;const _0x47d770=this['editor'],_0x219570=this['editor']['plugins']['get'](v)['pageBreaks'][_0x4f983c-0x1];_0x219570&&_0x47d770['model']['change'](_0x4fa17c=>{switch(_0x219570['type']){case'manual':{const _0x2a960c=_0x47d770['model']['schema']['getNearestSelectionRange'](_0x219570['modelRange']['end'],'forward');_0x4fa17c['setSelection'](_0x2a960c);break;}case'element':{const _0x188911=_0x47d770['model']['schema']['getNearestSelectionRange'](_0x219570['modelRange']['start'],'forward');_0x4fa17c['setSelection'](_0x188911);break;}case'text':{const _0x1808b4=_0x219570['modelRange']['start'];if(_0x1808b4['textNode']&&'\x20'===_0x1808b4['textNode']['data'][_0x1808b4['offset']]){const _0x910420=_0x4fa17c['createPositionAt'](_0x1808b4['parent'],_0x1808b4['offset']+0x1);_0x4fa17c['setSelection'](_0x910420);}else _0x4fa17c['setSelection'](_0x219570['modelRange']);}}_0x47d770['editing']['view']['focus']();});}goToNextPage(){const _0x34ddf6=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0x34ddf6),this['scrollToPage'](_0x34ddf6);}['goToPreviousPage'](){const _0x3d23a3=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0x3d23a3),this['scrollToPage'](_0x3d23a3);}_updatePageBreakMarkers(_0x2d65e9,_0x510cf2){const _0x387af3=this['editor']['model'];this['isEnabled']&&_0x387af3['change'](_0x20eeac=>{for(let _0x1329da=0x1;_0x1329da<_0x2d65e9['length'];_0x1329da++){const _0x31dbd5=_0x2d65e9[_0x1329da]['modelRange'],_0x20c120='pagination:'+(_0x1329da+0x1);_0x387af3['markers']['has'](_0x20c120)?_0x20eeac['updateMarker'](_0x20c120,{'range':_0x31dbd5}):_0x20eeac['addMarker'](_0x20c120,{'range':_0x31dbd5,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0x43108f=_0x2d65e9['length'];_0x43108f<_0x510cf2['length'];_0x43108f++){const _0x19e03b='pagination:'+(_0x43108f+0x1);_0x387af3['markers']['has'](_0x19e03b)&&_0x20eeac['removeMarker'](_0x19e03b);}});}_setUpDataDowncastConversion(){this['editor']['conversion']['for']('dataDowncast')['add'](_0x35bcf6=>{_0x35bcf6['on']('addMarker:pagination',(_0x2d74fc,{markerRange:_0x42802c,markerName:_0x14311b},_0x572ad2)=>{if(!_0x572ad2['options']['pagination'])return;if(!_0x572ad2['consumable']['consume'](_0x42802c,_0x2d74fc['name']))return;const _0x235983=_0x42802c['getContainedElement']();let _0x599308=_0x235983?_0x572ad2['mapper']['toViewElement'](_0x235983):null;if(!_0x599308){const _0x11698a=_0x42802c['start'];if(_0x572ad2['schema']['checkChild'](_0x11698a,'$text')){const _0xe282b=_0x572ad2['mapper']['toViewPosition'](_0x11698a);_0x599308=_0x572ad2['writer']['createContainerElement']('span'),_0x599308['getFillerOffset']=()=>null,_0x572ad2['writer']['insert'](_0xe282b,_0x599308);}else{const _0x2a6768=_0x11698a['nodeAfter'];_0x599308=_0x572ad2['mapper']['toViewElement'](_0x2a6768);}}for(;_0x599308['parent']!==_0x599308['root']&&0x0===_0x599308['index'];)_0x599308=_0x599308['parent'];const _0x272995=_0x14311b['substring'](0xb);_0x599308['hasClass']('page-break')||(_0x572ad2['writer']['setStyle']('page-break-before','always',_0x599308),_0x572ad2['writer']['setAttribute']('data-pagination-page',_0x272995,_0x599308),_0x572ad2['mapper']['bindElementToMarker'](_0x599308,_0x14311b)),_0x2d74fc['stop']();});});}_setupKeystrokes(){const _0x449d72=this['editor'];_0x449d72['keystrokes']['set']('Shift+Pageup',(_0x32d4c9,_0x5dac24)=>{this['goToPreviousPage'](),_0x5dac24();}),_0x449d72['keystrokes']['set']('Shift+Pagedown',(_0x2b267e,_0x4324ed)=>{this['goToNextPage'](),_0x4324ed();}),_0x449d72['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':$(_0x449d72['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':$(_0x449d72['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':$(_0x449d72['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}_validatePageNumber(_0x4b92b2){return _0x4b92b2<0x1&&(_0x4b92b2=0x1),_0x4b92b2>this['totalPages']&&(_0x4b92b2=this['totalPages']),_0x4b92b2;}},q=class extends _0x3afe1c{['pageNumberView'];constructor(_0x5912a5){super(_0x5912a5);const _0x460c25=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new _0x3ac860(_0x5912a5,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0x4da6d9=>$(_0x5912a5,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0x4da6d9)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0x531d20=>!_0x531d20),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0x460c25['if']('isEnabled','ck-disabled',_0x1e29e6=>!_0x1e29e6)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0x460c25['to']('totalPages')}]}]});}['render'](){super['render']();const _0x526b47=this['pageNumberView']['element'],_0x2d3fcb=_0x55a266=>{this['pageNumberView']['element']['value']=String(_0x55a266);};_0x2d3fcb(this['pageNumber']),this['on']('change:pageNumber',(_0x49e76c,_0x1d0d75,_0x3a0831)=>{_0x2d3fcb(_0x3a0831);}),this['listenTo'](_0x526b47,'keydown',(_0x933abc,_0x23d23d)=>{if('ArrowUp'===_0x23d23d['key']||'ArrowDown'===_0x23d23d['key'])return void _0x23d23d['stopPropagation']();if(_0x23d23d['keyCode']!==_0x1262af['enter'])return;_0x23d23d['preventDefault']();const _0x1dea5b=_0x526b47['valueAsNumber'];Number['isNaN'](_0x1dea5b)?_0x526b47['value']=String(this['pageNumber']):(_0x526b47['checkValidity']()?this['pageNumber']=_0x1dea5b:_0x1dea5b>this['totalPages']?(this['pageNumber']=this['totalPages'],_0x526b47['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0x526b47['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0x526b47,'blur',()=>{_0x526b47['value']=String(this['pageNumber']);}),this['listenTo'](_0x526b47,'focus',()=>{this['pageNumberView']['select']();});}['focus'](){this['pageNumberView']['element']['focus']();}},F=class extends _0x27e762{static get['pluginName'](){return'PaginationUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const _0x2cac0c=this['editor'],_0x25cb64=_0x2cac0c['plugins']['get']('PaginationEditing');_0x2cac0c['ui']['componentFactory']['add']('pageNavigation',_0x41f0a3=>{const _0x3d1bec=new q(_0x41f0a3);return _0x3d1bec['bind']('pageNumber')['to'](_0x25cb64),_0x3d1bec['bind']('totalPages')['to'](_0x25cb64),_0x3d1bec['bind']('isEnabled')['to'](_0x25cb64),_0x3d1bec['on']('navigation',(_0x221184,_0x4360c6)=>{_0x25cb64['moveSelectionToPage'](_0x4360c6),_0x25cb64['scrollToPage'](_0x4360c6);}),_0x3d1bec;}),_0x2cac0c['ui']['componentFactory']['add']('nextPage',_0xed5f0e=>{const _0x1bc2c2=new _0x46239a(_0xed5f0e);return _0x1bc2c2['isEnabled']=!0x0,_0x1bc2c2['label']=$(_0x2cac0c['locale'],'Go\x20to\x20next\x20page'),_0x1bc2c2['icon']=_0x203d95,_0x1bc2c2['tooltip']=!0x0,_0x1bc2c2['keystroke']='Shift+PageDown',_0x1bc2c2['bind']('isEnabled')['to'](_0x25cb64),this['listenTo'](_0x1bc2c2,'execute',()=>{_0x25cb64['goToNextPage']();}),_0x1bc2c2;}),_0x2cac0c['ui']['componentFactory']['add']('previousPage',_0x47bad3=>{const _0x30e68d=new _0x46239a(_0x47bad3);return _0x30e68d['isEnabled']=!0x0,_0x30e68d['label']=$(_0x2cac0c['locale'],'Go\x20to\x20previous\x20page'),_0x30e68d['icon']=_0x591476,_0x30e68d['tooltip']=!0x0,_0x30e68d['keystroke']='Shift+PageUp',_0x30e68d['bind']('isEnabled')['to'](_0x25cb64),this['listenTo'](_0x30e68d,'execute',()=>{_0x25cb64['goToPreviousPage']();}),_0x30e68d;});}},H=class extends _0x27e762{static get['pluginName'](){return'Pagination';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get requires(){return[j,F];}constructor(_0x50ddcf){super(_0x50ddcf),this['isEnabled']=!0x1;}init(){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x4f70e2=this['editor']['plugins']['get'](j);this['bind']('pageNumber')['to'](_0x4f70e2),this['bind']('totalPages')['to'](_0x4f70e2),_0x5b1b95['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0x2bfcc0){this['editor']['plugins']['get'](j)['scrollToPage'](_0x2bfcc0);}};export{H as Pagination,M as PaginationRenderer};
|
|
23
|
+
import{Plugin as _0x465d44}from'@ckeditor/ckeditor5-core';import{ButtonView as _0x44d701,InputNumberView as _0x30c727,View as _0x297e8b}from'@ckeditor/ckeditor5-ui';import{Rect as _0x470b3e,ResizeObserver as _0x2c93df,env as _0x39a8d0,findClosestScrollableAncestor as _0x1e323a,first as _0x476260,getParentElement as _0x1c2e05,getParentNode as _0xc686b9,getPositionedAncestor as _0x47738c,global as _0xaf6589,keyCodes as _0x493113,logWarning as _0x563e05,toUnit as _0x5373f6,uid as _0xb2807f}from'@ckeditor/ckeditor5-utils';import{debounce as _0x3f99f4}from'es-toolkit/compat';import{IconArrowDown as _0x13d5f0,IconArrowUp as _0x201772}from'@ckeditor/ckeditor5-icons';var v=class extends _0x465d44{_recalculatePageBreaksDebounced=_0x3f99f4(()=>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 _0x563e05('pagination-config-not-found',this['editor']['config']);const _0xbe1ae4=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0xbe1ae4),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0x179d32,_0x44a4e2,_0x443910)=>{_0x443910&&this['_recalculatePageBreaksDebounced']();});}afterInit(){!async function(_0x12bb91){const _0x269510='vsmL4TPpuR53MlqSj2VXwH9oEAN8FxJtGUOdbDCZ01ihyfkBQY6acgz7rIeWKn',_0x5cce5d=0x797a0,_0x5389d0={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'};async function _0x26b18d(_0x18ae66){const _0x404f7e=new window['Promise'](_0x5745ad=>{_0x18ae66['once']('ready',_0x5745ad);}),_0x3e0687=window['Date']['now'](),_0x1d1e50=_0x18ae66['config']['get']('licenseKey');async function _0x15b95c(){let _0x4f47a4,_0x9c7283=null,_0x37ee78=null;try{return'GPL'==_0x1d1e50?'NotAllowed':(_0x4f47a4=_0x299e6e(),_0x4f47a4?(_0x4f47a4['usageEndpoint']&&(_0x37ee78=_0x253ffc(_0x4f47a4['usageEndpoint'],_0x4f47a4['jti'])),await _0x502309()?_0x3aef0d()?_0xcfbfb0()?'Expired':_0x4e8b40()?('evaluation'==_0x4f47a4['licenseType']&&(_0x9c7283=_0x26b270('EvaluationLimit')),await _0x20fd32()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0xcfbfb0(){const _0xbb999b=['evaluation','trial']['includes'](_0x4f47a4['licenseType'])?_0x3e0687/0x3e8:0xe10*_0x5cce5d;return _0x4f47a4['exp']<_0xbb999b;}function _0x3aef0d(){const _0x4f663a=_0x4f47a4['features'];return!!_0x4f663a&&(!!_0x4f663a['includes']('*')||!!_0x4f663a['includes']('PAG'));}function _0x4e8b40(){const _0x2bb8f0=_0x4f47a4['licensedHosts'];if(!_0x2bb8f0||0x0==_0x2bb8f0['length'])return!0x0;const {hostname:_0x4c8879}=new URL(window['location']['href']);if(_0x2bb8f0['includes'](_0x4c8879))return!0x0;const _0x559d16=_0x4c8879['split']('.');return _0x2bb8f0['filter'](_0x157b30=>_0x157b30['includes']('*'))['map'](_0x4c820b=>_0x4c820b['split']('.'))['filter'](_0x3ea4ca=>_0x3ea4ca['length']<=_0x559d16['length'])['map'](_0x219461=>Array(_0x559d16['length']-_0x219461['length'])['fill']('*'===_0x219461[0x0]?'*':'')['concat'](_0x219461))['some'](_0x339f82=>_0x559d16['every']((_0x142c7b,_0x5d2142)=>_0x339f82[_0x5d2142]===_0x142c7b||'*'===_0x339f82[_0x5d2142]));}function _0x20fd32(){return _0x9c7283&&_0x37ee78?new window['Promise']((_0x4b87cd,_0x36ab46)=>{_0x9c7283['then'](_0x4b87cd,_0x36ab46),_0x37ee78['then'](_0x1ce89e=>{'Valid'!=_0x1ce89e&&_0x4b87cd(_0x1ce89e);},_0x36ab46);}):_0x9c7283||_0x37ee78||'Valid';}}function _0x253ffc(_0x4da49e,_0x5d52cc){return new window['Promise'](_0x10b029=>{if(_0x1c5856())return _0x10b029('Valid');_0x5b5656(),_0x18ae66['decorate']('_sendUsageRequest');let _0x34ec86=!0x1;const _0x2eb7ca=_0xb2807f();function _0x3e2ddb(_0x1c4235){return!!_0x1c4235&&('object'==typeof _0x1c4235||'function'==typeof _0x1c4235)&&'function'==typeof _0x1c4235['then']&&'function'==typeof _0x1c4235['catch'];}function _0x307fb3(_0x560764){_0x2dceea(_0x560764)['then'](_0x5af7f9=>_0x5af7f9&&'ok'==_0x5af7f9['status']?_0x1d19e9(_0x1286b6(_0x2eb7ca+_0x5d52cc))!=_0x5af7f9['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x477cd1=>(_0x18a2c2(),_0x477cd1),()=>{const _0x464b94=_0x3e977c();return null==_0x464b94?(_0x18a2c2(),'Valid'):_0x3e0687-_0x464b94>0x240c8400?'UsageLimit':'Valid';})['then'](_0x10b029)['catch'](()=>{_0x10b029('UsageLimit');});const _0x4ee287=0x36ee80;function _0x18a2c2(){const _0x5a9b4a='llct-'+_0x1d19e9(_0x1286b6(_0x4da49e)),_0x43029d=_0x1fc254(_0x1d19e9(window['Math']['ceil'](_0x3e0687/_0x4ee287)));window['localStorage']['setItem'](_0x5a9b4a,_0x43029d);}function _0x3e977c(){const _0x15643c='llct-'+_0x1d19e9(_0x1286b6(_0x4da49e)),_0x1a8852=window['localStorage']['getItem'](_0x15643c);return _0x1a8852?window['parseInt'](_0x1fc254(_0x1a8852),0x10)*_0x4ee287:null;}function _0x2dceea(_0x542c46){return new window['Promise']((_0xfef899,_0x5e39e2)=>{_0x542c46['then'](_0xfef899,_0x5e39e2),window['setTimeout'](_0x5e39e2,0x1d4c0);});}}_0x18ae66['on']('_sendUsageRequest',(_0x43a869,_0x5c4374)=>{if(_0x5c4374[0x0]!=_0x4da49e)return _0x10b029('UsageLimit');_0x5c4374[0x1]={..._0x5c4374[0x1],'requestId':_0x2eb7ca};},{'priority':'high'}),_0x18ae66['on']('_sendUsageRequest',_0x39448d=>{_0x3e2ddb(_0x39448d['return'])&&(_0x34ec86=!0x0,_0x307fb3(_0x39448d['return']));},{'priority':'low'}),_0x404f7e['then'](()=>{_0x34ec86||_0x10b029('UsageLimit');});});function _0x1c5856(){return'auto'==_0x18ae66['editing']['view']['_overlayModeHint'];}function _0x5b5656(){_0x18ae66['editing']['view']['_overlayModeHint']='auto';}}function _0x26b270(_0x59965a){const _0x132fa3=[new window['Promise'](_0x260b71=>setTimeout(_0x260b71,0x93ecc)),_0x404f7e['then'](()=>new window['Promise'](_0x1e0580=>{let _0x5d0487=0x0;_0x18ae66['model']['on']('applyOperation',(_0x432483,_0x24ca70)=>{_0x24ca70[0x0]['isDocumentOperation']&&_0x5d0487++,0x5e8==_0x5d0487&&(_0x1e0580(),_0x432483['off']());});}))];return window['Promise']['race'](_0x132fa3)['then'](()=>_0x59965a);}async function _0x45a8a2(){await _0x404f7e,_0x18ae66['model']['change']=_0x50a4a6,_0x18ae66['model']['enqueueChange']=_0x50a4a6,_0x18ae66['enableReadOnlyMode']('model');}function _0x2527b6(_0x320d3a){const _0x388542=_0x2b94e4();_0x18ae66[_0x388542]='paginationLicenseKey'+_0x320d3a,'Valid'!=_0x320d3a&&_0x45a8a2();}function _0x2b94e4(){const _0x59ea03=window['String'](window['performance']['now']())['replace']('.','');let _0x1a3b68='v';for(let _0x29aaf9=0x0;_0x29aaf9<_0x59ea03['length'];_0x29aaf9+=0x2){let _0x2f82d9=window['parseInt'](_0x59ea03['substring'](_0x29aaf9,_0x29aaf9+0x2));_0x2f82d9>=0x3e&&(_0x2f82d9-=0x3e),_0x1a3b68+=_0x269510[_0x2f82d9];}return _0x1a3b68;}function _0x299e6e(){const _0x1d19f2=_0x1d1e50['split']('.');if(0x3!=_0x1d19f2['length'])return null;return _0x35c2ec(_0x1d19f2[0x1]);function _0x35c2ec(_0x209815){const _0x6eccea=_0x2ced9f(_0x209815);return _0x6eccea&&_0x36c840()?_0x6eccea:null;function _0x36c840(){const _0x57a23b=_0x6eccea['jti'],_0x5e2f5a=window['parseInt'](_0x57a23b['substring'](_0x57a23b['length']-0x8),0x10),_0x5a39b9={..._0x6eccea,'jti':_0x57a23b['substring'](0x0,_0x57a23b['length']-0x8)};return delete _0x5a39b9['vc'],_0x1286b6(_0x5a39b9)==_0x5e2f5a;}}}async function _0x502309(){let _0x81f3ba=!0x0;try{const [_0x34e46a,_0x3f3650,_0x5436d9]=_0x1d1e50['split']('.');return _0x2b16fa(_0x34e46a),await _0x3a24f3(_0x34e46a,_0x3f3650,_0x5436d9),_0x81f3ba;}catch{return!0x1;}function _0x2b16fa(_0x3b093d){const _0x104396=_0x2ced9f(_0x3b093d);_0x104396&&'ES256'==_0x104396['alg']||(_0x81f3ba=!0x1);}async function _0x3a24f3(_0x44eb5e,_0x24de1,_0x100511){const _0x43e82c=window['Uint8Array']['from'](_0x421fec(_0x100511),_0x121aa7=>_0x121aa7['charCodeAt'](0x0)),_0x56be89=new window['TextEncoder']()['encode'](_0x44eb5e+'.'+_0x24de1),_0x5cdddc=window['crypto']['subtle'];if(!_0x5cdddc)return;const _0x4fc96e=await _0x5cdddc['importKey']('jwk',_0x5389d0,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x5cdddc['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x4fc96e,_0x43e82c,_0x56be89)||(_0x81f3ba=!0x1);}}function _0x2ced9f(_0x156c8f){return _0x156c8f['startsWith']('ey')?JSON['parse'](_0x421fec(_0x156c8f)):null;}function _0x421fec(_0x29f56b){return window['atob'](_0x29f56b['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x1286b6(_0x130218){let _0x38e97e=0x1505;function _0x3ab02e(_0x3db0f8){for(let _0x4d228b=0x0;_0x4d228b<_0x3db0f8['length'];_0x4d228b++){const _0x2003e3=_0x3db0f8['charCodeAt'](_0x4d228b);_0x38e97e=(_0x38e97e<<0x5)+_0x38e97e+_0x2003e3,_0x38e97e&=_0x38e97e;}}function _0x373259(_0x5c676f){Array['isArray'](_0x5c676f)?_0x5c676f['forEach'](_0x373259):_0x5c676f&&'object'==typeof _0x5c676f?Object['entries'](_0x5c676f)['sort']()['forEach'](([_0x1ef70e,_0x2b21e3])=>{_0x3ab02e(_0x1ef70e),_0x373259(_0x2b21e3);}):_0x3ab02e(window['String'](_0x5c676f));}return _0x373259(_0x130218),_0x38e97e>>>0x0;}function _0x1d19e9(_0x134d11){return _0x134d11['toString'](0x10)['padStart'](0x8,'0');}function _0x1fc254(_0x30fd3b){return _0x30fd3b['split']('')['reverse']()['join']('');}function _0x50a4a6(){}_0x2527b6(await _0x15b95c());}_0x26b18d(_0x12bb91['editor']);}(this);}destroy(){super['destroy'](),this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']&&(this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0x58e98b=this['editor'],_0x371781=_0x58e98b['editing']['view'],_0x2f1434=this['_getAttachedDomRoot']();if(!_0x2f1434||!_0x2f1434['hasChildNodes']())return void _0x58e98b['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0x34361b,pageHeight:_0x345865}=_0x58e98b['config']['get']('pagination'),{top:_0x1a16cb,left:_0x58a8ff,bottom:_0x4affed,right:_0x4ebe31}=this['_configuredPaddings'];this['_pagesContainer']=new _0x297e8b(_0x58e98b['locale']);const _0x42631b=this['_pagesContainer'];_0x42631b['set']('class',''),_0x42631b['setTemplate']({'tag':'div','attributes':{'style':{'columnWidth':_0x34361b,'width':_0x34361b,'height':'calc(\x20'+_0x345865+'\x20-\x20'+_0x1a16cb+'\x20-\x20'+_0x4affed+'\x20+\x200.5mm\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0x4ebe31+'\x200\x20'+_0x58a8ff,'columnGap':'calc('+_0x58a8ff+'\x20+\x20'+_0x4ebe31+'\x20+\x20100px)','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'class':_0x42631b['bindTemplate']['to']('class')}}),_0x42631b['render'](),_0xc686b9(_0x2f1434)['insertBefore'](_0x42631b['element'],_0x2f1434['nextSibling']),this['listenTo'](_0x371781,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}_getAttachedDomRoot(){for(const _0xeead00 of this['editor']['editing']['view']['domRoots']['values']())if(_0xeead00['isConnected'])return _0xeead00;return null;}_recalculatePageBreaks(){if(!this['isEnabled'])return Promise['resolve']();const _0x5627f8=this['editor']['editing']['view'],_0x2cb8de=this['_pagesContainer'],_0x1b02b9=this['_getAttachedDomRoot']();if(!_0x1b02b9||!_0x2cb8de)return Promise['resolve']();for(_0x2cb8de['class']=['ck-reset','ck-pagination-view',..._0x1b02b9['classList']]['join']('\x20');_0x2cb8de['element']['firstChild'];)_0x2cb8de['element']['firstChild']['remove']();const _0x1ddc7f=Array['from'](_0x5627f8['domRoots']);_0x1ddc7f['sort'](([,_0x326876],[,_0x2d620d])=>_0x326876['compareDocumentPosition'](_0x2d620d)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0x6a912d,_0x21289b]of _0x1ddc7f){const _0x22ea23=_0x21289b['cloneNode'](!0x0);'attributeStyleMap'in _0x22ea23&&_0x22ea23['attributeStyleMap']['clear'](),_0x22ea23['dataset']['rootName']=_0x6a912d,_0x22ea23['className']='ck-content\x20ck-pagination_enabled',_0x22ea23['removeAttribute']('id'),_0x22ea23['tabIndex']=-0x1,_0x2cb8de['element']['append'](_0x22ea23);}const _0x578358=Array['from'](_0x2cb8de['element']['querySelectorAll']('img'));return function(_0x352bf1){return Promise['all'](_0x352bf1['map'](_0x36f26a=>Promise['race']([N(_0x36f26a),_(0x3e8)])));}(_0x578358)['then'](()=>{for(const _0x5b4c5d of _0x578358['filter'](_0x49ca9d=>!_0x49ca9d['closest']('table')))if(_0x5b4c5d['offsetParent']){const _0x1ad037=_0xaf6589['window']['getComputedStyle'](_0x5b4c5d),_0xe5989e=_0xaf6589['document']['createElement']('span');for(const _0x324b75 of _0x1ad037)_0xe5989e['style']['setProperty'](_0x324b75,_0x1ad037[_0x324b75]);_0xe5989e['style']['backgroundImage']='url(\x20'+_0x5b4c5d['src']+'\x20)',_0xe5989e['style']['breakInside']='avoid','PICTURE'==_0x5b4c5d['parentElement']?.['tagName']?_0x5b4c5d['parentElement']['replaceWith'](_0xe5989e):_0x5b4c5d['replaceWith'](_0xe5989e);}return new Promise(_0xfc54ec=>_0xaf6589['window']['requestAnimationFrame'](()=>_0xfc54ec()));})['then'](()=>{this['_updatePageBreaksData']();});}_updatePageBreaksData(){const _0x555b5e=this['_pagesContainer']['element'];if(!_0x555b5e['isConnected'])return;const _0x463333=new _0x470b3e(_0x555b5e)['excludeScrollbarsAndBorders'](),_0x26cfcf=Math['floor'](_0x463333['width']+0x64),_0x4fddbe=I(_0x555b5e,Math['floor'](_0x463333['left']-_0x555b5e['scrollLeft']),_0x26cfcf,_0x463333['height'])['map'](_0x17c649=>this['_mapPageStarterInfoToPageBreakInfo'](_0x17c649))['filter'](_0x4aba94=>!0x1!==_0x4aba94);_0x4fddbe['every'](_0x1e2fa2=>!!_0x1e2fa2)&&(this['pageBreaks']=_0x4fddbe);}_mapPageStarterInfoToPageBreakInfo(_0x24d74e){const _0x1b057a=this['editor']['editing']['view'],_0x5dde84=this['editor']['editing']['mapper'],_0x31527b=_0x1b057a['domConverter'],_0x49d265=_0x24d74e['path']['shift'](),_0x9c7296=this['_pagesContainer']['element']['childNodes'][_0x49d265]['dataset']['rootName'],_0x40d1e2=_0x1b057a['getDomRoot'](_0x9c7296);if(!_0x40d1e2)return null;const _0x47e7cb=function(_0x5a11f1,_0x5d522d){let _0x3d1be5=_0x5a11f1;for(const _0x554a72 of _0x5d522d['path']){if(!_0x3d1be5)return null;_0x3d1be5=_0x3d1be5['childNodes'][_0x554a72];}return _0x3d1be5;}(_0x40d1e2,_0x24d74e);if(!_0x47e7cb)return null;const _0xaa3971=_0x31527b['domPositionToView'](_0x47e7cb,_0x24d74e['textOffset']||0x0);return _0xaa3971?'manual'==_0x24d74e['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0xaa3971,_0x47e7cb):'text'==_0x24d74e['type']&&_0x5dde84['toModelPosition'](_0xaa3971)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0xaa3971,_0x47e7cb,_0x24d74e['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0xaa3971,_0x47e7cb,_0x24d74e['offset']):null;}_mapManualPageStarterInfoToPageBreakInfo(_0xb76d96,_0x228ed0){const _0x19704b=this['editor']['model'],_0x18114f=this['editor']['editing']['mapper']['toModelElement'](_0xb76d96['parent']),_0x2ebca1=_0x19704b['createRangeOn'](_0x18114f);return new k({'type':'manual','modelRange':_0x2ebca1,'domNode':_0x228ed0,'offset':0x0});}_mapTextPageStarterInfoToPageBreakInfo(_0x3c5cb7,_0x2e23c6,_0x470a08){const _0x5eccdd=this['editor']['model'],_0x153fe2=this['editor']['editing']['mapper'],_0x23344f=this['editor']['editing']['view']['domConverter'];if(_0x470a08>=_0x2e23c6['length'])return null;const _0x4f1b06=_0x153fe2['toModelPosition'](_0x3c5cb7),_0x88adf1=_0x5eccdd['createRange'](_0x4f1b06),_0x31f17e=_0x153fe2['findMappedViewAncestor'](_0x3c5cb7),_0x27e5e7=_0x23344f['mapViewToDom'](_0x31f17e);return new k({'type':'text','modelRange':_0x88adf1,'domNode':_0x2e23c6,'offset':L(_0x2e23c6,_0x470a08,_0x27e5e7)});}_mapElementPageStarterInfoToPageBreakInfo(_0x3fbb6e,_0x19e7f2,_0x2ec35f){const _0x55bd9d=this['editor']['model'],_0x3d4b14=this['editor']['editing'],_0x4d4c45=_0x3d4b14['mapper'],_0x5396f7=_0x3d4b14['view']['domConverter'],_0x15b981=_0x4d4c45['findMappedViewAncestor'](_0x3fbb6e),_0x451d23=_0x4d4c45['toModelElement'](_0x15b981);if(!_0x451d23||_0x451d23['is']('rootElement'))return!0x1;const _0x344be1=function(_0x492dce){const _0x593673=_0x492dce['parent'],_0x1c30cb=_0x593673['root']['document']['model'],_0x5535ae=_0x593673['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0x441c2e=null;for(const _0x1015a3 of _0x5535ae){if(_0x1015a3['is']('rootElement'))return _0x441c2e;if(!_0x1c30cb['createPositionBefore'](_0x1015a3)['isTouching'](_0x492dce))return _0x441c2e;_0x441c2e=_0x1015a3;}}(_0x55bd9d['createPositionBefore'](_0x451d23))||_0x451d23;let _0xccba62=_0x4d4c45['toViewElement'](_0x344be1),_0x4db147=_0x55bd9d['createRangeOn'](_0x344be1);const _0x2e5344=_0x55bd9d['createPositionBefore'](_0x344be1)['nodeBefore'];if(_0x2e5344&&_0x2e5344['is']('element','imageBlock')){const _0x384802=_0x4d4c45['toViewElement'](_0x2e5344),_0x7e4de5=_0x5396f7['mapViewToDom'](_0x384802),_0x202bbf=_0xaf6589['window']['getComputedStyle'](_0x7e4de5)['float'];'left'!=_0x202bbf&&'right'!=_0x202bbf||(_0x4db147=_0x55bd9d['createRangeOn'](_0x2e5344));}for(;_0xccba62['parent']!==_0xccba62['root']&&0x0===_0xccba62['index'];)_0xccba62=_0xccba62['parent'];const _0x207a64=new _0x470b3e(C(_0x19e7f2)?_0x19e7f2:E(_0x19e7f2)),_0x29ed03=_0x2ec35f?_0x207a64['height']-_0x2ec35f:0x0,_0x4a367b=_0x5396f7['mapViewToDom'](_0xccba62),_0xd1003c=new _0x470b3e(_0x4a367b);return new k({'type':'element','modelRange':_0x4db147,'domNode':_0x4a367b,'offset':Math['round'](_0x29ed03)||_0x15b981!=x(_0x3fbb6e)?_0x29ed03+_0x207a64['top']-_0xd1003c['top']:0x0});}get['_configuredPaddings'](){const _0x4edb59=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0x4edb59);}static _findPageStarterInfos(_0x1a806f,_0x4fc238,_0x338a68,_0x338bee,_0x2aeb03){return I(_0x1a806f,_0x4fc238,_0x338a68,_0x338bee,_0x2aeb03);}},k=class{type;['modelRange'];['_domNode'];_offset;constructor({type:_0x446517,modelRange:_0x3b943d,domNode:_0x595ddd,offset:_0x2e37a5}){this['type']=_0x446517,this['modelRange']=_0x3b943d,this['_domNode']=_0x595ddd,this['_offset']=_0x2e37a5;}get offset(){if(!this['_domNode']['isConnected'])return 0x0;const _0x2e154e=new _0x470b3e(C(this['_domNode'])?this['_domNode']:E(this['_domNode']));return'manual'==this['type']?_0x2e154e['top']+_0x2e154e['height']/0x2:_0x2e154e['top']+this['_offset'];}};function L(_0x167e12,_0x353c5e,_0x4bb557){const _0x36f7b6=E(_0x167e12),_0x9d8354=function(_0x360ceb){const _0x49bbe7=_0xaf6589['document']['createRange']();return _0x49bbe7['selectNodeContents'](_0x360ceb),_0x49bbe7;}(_0x4bb557);let _0x29a84c;if(0x0==_0x353c5e){const _0x476367=_0xc686b9(_0x167e12);_0x29a84c=R(_0x9d8354['startContainer'],_0x9d8354['startOffset'],_0x476367,Array['from'](_0x476367['childNodes'])['indexOf'](_0x167e12));}else _0x29a84c=R(_0x9d8354['startContainer'],_0x9d8354['startOffset'],_0x167e12,_0x353c5e);const _0x73689=R(_0x167e12,_0x353c5e,_0x9d8354['endContainer'],_0x9d8354['endOffset']),_0x3f8ba0=new _0x470b3e(_0x29a84c)['bottom'];return(new _0x470b3e(_0x73689)['top']+_0x3f8ba0)/0x2-new _0x470b3e(_0x36f7b6)['top'];}function x(_0x1625f1){let _0x1fb11b=_0x1625f1['parent'];for(;_0x1fb11b['is']('$text')||_0x1fb11b['is']('attributeElement');)_0x1fb11b=_0x1fb11b['parent'];return _0x1fb11b;}function N(_0x333a70){return _0x333a70['hasAttribute']('width')&&_0x333a70['hasAttribute']('height')?Promise['resolve']():new Promise(_0x9d76db=>{function _0x7af270(){_0x333a70['removeEventListener']('load',_0x7af270),_0x333a70['removeEventListener']('error',_0x7af270),_0x9d76db();}_0x333a70['complete']?_0x9d76db():(_0x333a70['addEventListener']('load',_0x7af270),_0x333a70['addEventListener']('error',_0x7af270));});}function _(_0x152d40){return new Promise(_0x181192=>setTimeout(_0x181192,_0x152d40));}function E(_0x361e93){const _0x1e9ab4=_0xaf6589['document']['createRange']();return _0x1e9ab4['selectNode'](_0x361e93),_0x1e9ab4;}function S(_0x390b48,_0x1be13d,_0x3225ca){const _0x2192b1=_0xaf6589['document']['createRange']();return _0x2192b1['setStart'](_0x390b48,_0x1be13d),_0x2192b1['setEnd'](_0x390b48,_0x3225ca),_0x2192b1;}function R(_0xe91eba,_0x2fdc71,_0x3f40a4,_0x1e9343){const _0x3c3fd1=_0xaf6589['document']['createRange']();return _0x3c3fd1['setStart'](_0xe91eba,_0x2fdc71),_0x3c3fd1['setEnd'](_0x3f40a4,_0x1e9343),_0x3c3fd1;}function I(_0x84934c,_0x2da540,_0x416d5a,_0x49636f,_0x1c8661){const _0x5bc7fc=[];for(const [_0x31df25,_0x57b0ac]of _0x84934c['childNodes']['entries']()){let _0x5aa28a=[];C(_0x57b0ac)&&_0x57b0ac['offsetParent']&&['static','relative']['includes'](_0xaf6589['window']['getComputedStyle'](_0x57b0ac)['position'])?_0x5aa28a=K(_0x57b0ac,_0x31df25,_0x2da540,_0x416d5a,_0x49636f,_0x1c8661):D(_0x57b0ac)&&(_0x5aa28a=A(_0x57b0ac,_0x31df25,_0x2da540,_0x416d5a,_0x1c8661)),_0x5aa28a['length']&&(_0x5bc7fc['push'](..._0x5aa28a),_0x2da540+=_0x5aa28a['length']*_0x416d5a,_0x1c8661=!0x1);}return _0x5bc7fc;}function K(_0x30860e,_0x50635f,_0x49e66f,_0x53931b,_0x325687,_0x281857){const _0x2722b2=[];var _0x427f6e;if((_0x427f6e=_0x30860e['previousSibling'])&&C(_0x427f6e)&&Boolean(_0x427f6e['classList']['contains']('page-break')||_0x427f6e['closest']('.page-break'))&&(_0x2722b2['push']({'type':'manual','offset':0x0,'path':[_0x50635f-0x1]}),_0x281857=!0x0),'table-row'==_0xaf6589['window']['getComputedStyle'](_0x30860e)['display']){let _0x351761=0x0,_0x3e0b1c=!0x1;for(const _0x26baa7 of _0x30860e['getClientRects']())_0x351761+=_0x26baa7['height'],_0x26baa7['left']>=_0x49e66f&&(_0x3e0b1c=!0x0);if(_0x351761<_0x325687&&_0x3e0b1c)return _0x281857||_0x2722b2['push']({'type':'element','offset':0x0,'path':[_0x50635f]}),_0x2722b2;}const _0x567406=_0x30860e['closest']('figure.image');if(_0x567406&&function(_0x469d2c){let _0x1b00a1=!0x1;const _0x25e3d1=_0x1c2e05(_0x469d2c)['dataset']['rootName'],_0x351fe2=_0x469d2c['nextElementSibling'],_0x8a5a97=_0x469d2c['previousElementSibling'],_0x2a92a2=_0x351fe2&&_0xaf6589['window']['getComputedStyle'](_0x351fe2)['float'],_0x3fb0f1=_0x351fe2&&'ck-fake-selection-container'===_0x351fe2['className'];return!_0x25e3d1||_0x351fe2||_0x8a5a97||(_0x1b00a1=!0x0),_0x25e3d1&&!_0x8a5a97&&_0x3fb0f1&&(_0x1b00a1=!0x0),_0x25e3d1&&!_0x8a5a97&&'none'!==_0x2a92a2&&(_0x1b00a1=!0x0),!_0x1b00a1;}(_0x567406)){const _0x37c4fc=_0xaf6589['window']['getComputedStyle'](_0x567406)['float'];if('left'==_0x37c4fc||'right'==_0x37c4fc)return _0x2722b2;}const _0x4772f8=I(_0x30860e,_0x49e66f,_0x53931b,_0x325687,_0x281857);if(_0x4772f8['length']){for(const _0x345eea of _0x4772f8)_0x2722b2['push']({'type':_0x345eea['type'],'offset':_0x345eea['offset'],'textOffset':_0x345eea['textOffset'],'path':[_0x50635f,..._0x345eea['path']]}),_0x49e66f+=_0x53931b;return _0x2722b2;}return _0x2722b2['push'](...function(_0x493f15,_0x3e6586,_0x23d399,_0x243d31,_0xa88d1){const _0x213106=[];if('table-cell'==_0xaf6589['window']['getComputedStyle'](_0x493f15)['display'])return[];const _0x2fca08=[];for(const _0x119f33 of _0x493f15['getClientRects']())if(_0x119f33['left']>=_0x23d399){for(const _0x1e031d of _0x2fca08)_0x1e031d['height']+=_0x119f33['height'];_0x2fca08['push']({'height':_0x119f33['height']}),_0x23d399+=_0x243d31;}for(const _0x33278b of _0x2fca08)_0xa88d1||_0x213106['push']({'type':'element','offset':_0x33278b['height'],'textOffset':0x0,'path':[_0x3e6586]}),_0xa88d1=!0x1;return _0x213106;}(_0x30860e,_0x50635f,_0x49e66f,_0x53931b,_0x281857)),_0x2722b2;}function A(_0x12211b,_0x57fc6c,_0x400a9b,_0x244874,_0x3177af){const _0x235f12=E(_0x12211b),_0x1fdeb3=[];let _0x141ab9=0x0;for(const _0x37c478 of _0x235f12['getClientRects']())if(_0x37c478['left']>=_0x400a9b){const _0x2cbd69=O(_0x12211b,_0x141ab9,_0x400a9b,_0x244874);_0x3177af||_0x1fdeb3['push']({'type':'text','path':[_0x57fc6c],'textOffset':_0x2cbd69}),_0x141ab9=_0x2cbd69,_0x400a9b+=_0x244874,_0x3177af=!0x1;}return _0x1fdeb3;}function O(_0x5bd2ce,_0x54da92,_0x107ea5,_0x1d92eb){let _0x248fc9=_0x54da92,_0x7abb3e=_0x5bd2ce['length'];for(;_0x7abb3e-_0x248fc9>0x1;){const _0x36dec7=Math['ceil']((_0x248fc9+_0x7abb3e)/0x2);U(S(_0x5bd2ce,_0x248fc9,_0x36dec7),_0x107ea5,_0x1d92eb)?_0x7abb3e=_0x36dec7:_0x248fc9=_0x36dec7;}return _0x248fc9;}function U(_0x5143c1,_0x3a4627,_0x24b945){for(const _0x5c8191 of _0x5143c1['getClientRects']())if(_0x5c8191['left']>=_0x3a4627&&_0x5c8191['left']<_0x3a4627+_0x24b945)return!0x0;return!0x1;}function C(_0x334960){return _0x334960['nodeType']==Node['ELEMENT_NODE'];}function D(_0x4679ee){return _0x4679ee['nodeType']==Node['TEXT_NODE'];}const T=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x5373f6('px');var B=class extends _0x297e8b{constructor(){super();const _0x5d6c71=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0x5d6c71['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0x5d6c71['if']('isVisible','ck-hidden',_0x4ab255=>!_0x4ab255)],'style':{'left':_0x5d6c71['to']('left',_0x4f4860=>T(_0x4f4860)),'top':_0x5d6c71['to']('top',_0x29e50a=>T(_0x29e50a)),'width':_0x5d6c71['to']('width',_0x466529=>T(_0x466529))}}});}},G=class{_viewCollection;['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0x267e95){this['_viewCollection']=_0x267e95['ui']['view']['body'];}get containerElement(){return this['_viewCollection']['bodyCollectionContainer'];}destroy(){for(const _0x54527f of this['_hiddenLines'])_0x54527f['destroy']();}['cleanLines'](){for(const _0x57b3cd of this['_visibleLines'])_0x57b3cd['isVisible']=!0x1,this['_hiddenLines']['add'](_0x57b3cd);this['_visibleLines']['clear']();}['showLine'](_0x164aae,_0x5ac66d,_0x46e8bb,_0x3ded2f){let _0x573029;this['_hiddenLines']['size']?(_0x573029=_0x476260(this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0x573029)):_0x573029=new B(),_0x573029['set']({'pageNumber':_0x3ded2f,'left':_0x164aae,'top':_0x5ac66d,'width':_0x46e8bb}),_0x573029['isVisible']=!0x0,this['_viewCollection']['has'](_0x573029)||this['_viewCollection']['add'](_0x573029),this['_visibleLines']['add'](_0x573029);}setViewCollection(_0x5f3dd7){for(const _0x3b0968 of[...this['_visibleLines'],...this['_hiddenLines']])this['_viewCollection']['has'](_0x3b0968)&&this['_viewCollection']['remove'](_0x3b0968);this['_viewCollection']=_0x5f3dd7;}};const V='ck-pagination_enabled';var M=class extends _0x465d44{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',(_0x416874,_0x16b17b,_0x1a8f85)=>{_0x1a8f85||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](V,_0x1a8f85);});}destroy(){this['_toggleEditingRootsClass'](V,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0x51a99a){if(!this['isEnabled'])return;const _0x31f4ee=_0x51a99a>0x1?this['_getPageBreakLineOffset'](_0x51a99a-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0x31f4ee-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':_0x39a8d0['isMotionReduced']?'instant':'smooth'});}setupScrollableAncestor(){const _0x50b5da=this['editor'],_0x4c289a=this['_getAttachedDomRoot']();_0x4c289a?(this['_scrollableEditingRootDomAncestor']&&_0x50b5da['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=_0x1e323a(_0x4c289a),_0x50b5da['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new _0x2c93df(this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0x50b5da['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0x36ce9e=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0x36ce9e['ui']['view']['listenTo'](_0xaf6589['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0x36ce9e['ui']['once']('update',()=>this['_onUiReady']());}_getAttachedDomRoot(){for(const _0x2a72de of this['editor']['editing']['view']['domRoots']['values']())if(_0x2a72de['isConnected'])return _0x2a72de;return null;}_updatePageBreakLines(){if(!this['isEnabled'])return;const _0x54dd6a=this['_getAttachedDomRoot'](),_0x24bfc1=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0x54dd6a||0x1==_0x24bfc1['length'])return void(this['pageNumber']=0x1);const _0x423c3d=new _0x470b3e(_0x54dd6a)['excludeScrollbarsAndBorders'](),_0xbbccdf=new _0x470b3e(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0x1069fc=_0xbbccdf['top']+_0xbbccdf['height']/0x3;let _0x27ca85=!0x1;const _0x316949=[];for(let _0x54d6a7=0x1;_0x54d6a7<_0x24bfc1['length'];_0x54d6a7++){const _0x40de37=this['_getPageBreakLineOffset'](_0x54d6a7,_0xbbccdf);if(!_0x40de37)continue;const _0x1cb5e3=_0xbbccdf['top']+_0x40de37-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0x316949['push']({'pageOffsetTop':_0x1cb5e3,'domRootRect':_0x423c3d,'domScrollableRect':_0xbbccdf,'pageNumber':_0x54d6a7}),_0x1cb5e3>_0x1069fc&&!_0x27ca85&&(this['pageNumber']=_0x54d6a7,_0x27ca85=!0x0);}this['_renderPageBreakLines'](_0x316949),_0x27ca85||(this['pageNumber']=_0x24bfc1['length']);}['_renderPageBreakLines'](_0x5bc364){if(!_0x5bc364['length'])return;const {scrollX:_0x344a77,scrollY:_0x4f013b}=_0xaf6589['window'],_0x51c67c=_0x47738c(this['linesRepository']['containerElement']);let _0x1c83fe,_0x27c0fa;if(_0x51c67c){const _0x1c0b2e=new _0x470b3e(_0x51c67c);_0x1c83fe=_0x1c0b2e['top']+_0x51c67c['clientTop']-_0x51c67c['scrollTop'],_0x27c0fa=_0x1c0b2e['left']+_0x51c67c['clientLeft']-_0x51c67c['scrollLeft'];}else _0x1c83fe=-_0x4f013b,_0x27c0fa=-_0x344a77;for(const {domScrollableRect:_0x46ec12,pageOffsetTop:_0x17869c,domRootRect:_0x1927d5,pageNumber:_0x2cdbfb}of _0x5bc364)_0x46ec12['top']<_0x17869c&&_0x17869c<_0x46ec12['bottom']&&this['linesRepository']['showLine'](_0x1927d5['left']-_0x27c0fa,_0x17869c-_0x1c83fe,_0x1927d5['width'],_0x2cdbfb+0x1);}_getPageBreakLineOffset(_0x4927a0,_0x55ec01=null){const _0x429129=this['_paginationLookupPlugin']['pageBreaks'][_0x4927a0]['offset'];return _0x429129?(_0x55ec01||(_0x55ec01=new _0x470b3e(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0x429129-_0x55ec01['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}_toggleEditingRootsClass(_0x48f4cc,_0x5141f9=!0x0){const _0xa4e951=this['editor']['editing']['view'];_0xa4e951['change'](_0x159550=>{for(const _0x45cabe of _0xa4e951['document']['roots'])_0x5141f9?_0x159550['addClass'](_0x48f4cc,_0x45cabe):_0x159550['removeClass'](_0x48f4cc,_0x45cabe);});}};function $(_0x170093,_0x65f87d,..._0x4a5d2a){const t=_0x170093['t'];switch(_0x65f87d){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)',..._0x4a5d2a);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 _0x65f87d;}}var j=class extends _0x465d44{['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 _0x45b5c5=this['editor']['plugins']['get']('Pagination'),_0x167e0e=this['editor']['plugins']['get'](v),_0x3ee7fa=this['editor']['plugins']['get'](M);this['bind']('isEnabled')['to'](_0x45b5c5),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0x3ee7fa),this['listenTo'](_0x167e0e,'change:pageBreaks',(_0x27e33a,_0x4242de,_0x2a5784,_0x3fcae8)=>{this['totalPages']=_0x2a5784['length'],this['_updatePageBreakMarkers'](_0x2a5784,_0x3fcae8);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey'),this['_licenseKeyCheckInterval']=setInterval(()=>{const _0x43fe93=[this['editor']];for(const _0x2c5774 of _0x43fe93){let _0x159c6b;for(const _0x2d438d in _0x2c5774){const _0x5631c3=_0x2d438d,_0x124ac8=_0x2c5774[_0x5631c3];if('paginationLicenseKeyValid'==_0x124ac8||'paginationLicenseKeyInvalid'==_0x124ac8||'paginationLicenseKeyExpired'==_0x124ac8||'paginationLicenseKeyDomainLimit'==_0x124ac8||'paginationLicenseKeyNotAllowed'==_0x124ac8||'paginationLicenseKeyEvaluationLimit'==_0x124ac8||'paginationLicenseKeyUsageLimit'==_0x124ac8){delete _0x2c5774[_0x5631c3],_0x159c6b=_0x124ac8,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0x159c6b&&_0x2c5774['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0x159c6b&&_0x2c5774['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0x159c6b&&_0x2c5774['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0x159c6b&&_0x2c5774['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0x159c6b&&_0x2c5774['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyUsageLimit'==_0x159c6b&&_0x2c5774['_showLicenseError']('usageLimit');}},0x3e8);}destroy(){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0x30d9d1){this['isEnabled']&&this['editor']['plugins']['get'](M)['scrollToPage'](this['_validatePageNumber'](_0x30d9d1));}moveSelectionToPage(_0x135971){if(!this['isEnabled'])return;const _0x3af4ac=this['editor'],_0xd07d7e=this['editor']['plugins']['get'](v)['pageBreaks'][_0x135971-0x1];_0xd07d7e&&_0x3af4ac['model']['change'](_0x4715e6=>{switch(_0xd07d7e['type']){case'manual':{const _0x46ba77=_0x3af4ac['model']['schema']['getNearestSelectionRange'](_0xd07d7e['modelRange']['end'],'forward');_0x4715e6['setSelection'](_0x46ba77);break;}case'element':{const _0x48cde4=_0x3af4ac['model']['schema']['getNearestSelectionRange'](_0xd07d7e['modelRange']['start'],'forward');_0x4715e6['setSelection'](_0x48cde4);break;}case'text':{const _0x3840c8=_0xd07d7e['modelRange']['start'];if(_0x3840c8['textNode']&&'\x20'===_0x3840c8['textNode']['data'][_0x3840c8['offset']]){const _0x41e9de=_0x4715e6['createPositionAt'](_0x3840c8['parent'],_0x3840c8['offset']+0x1);_0x4715e6['setSelection'](_0x41e9de);}else _0x4715e6['setSelection'](_0xd07d7e['modelRange']);}}_0x3af4ac['editing']['view']['focus']();});}goToNextPage(){const _0x48e8f1=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0x48e8f1),this['scrollToPage'](_0x48e8f1);}['goToPreviousPage'](){const _0x1dc665=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0x1dc665),this['scrollToPage'](_0x1dc665);}_updatePageBreakMarkers(_0x3e6c67,_0x501a8f){const _0x124b43=this['editor']['model'];this['isEnabled']&&_0x124b43['change'](_0x2e75a1=>{for(let _0x5ae46f=0x1;_0x5ae46f<_0x3e6c67['length'];_0x5ae46f++){const _0x3050ff=_0x3e6c67[_0x5ae46f]['modelRange'],_0x5b37e3='pagination:'+(_0x5ae46f+0x1);_0x124b43['markers']['has'](_0x5b37e3)?_0x2e75a1['updateMarker'](_0x5b37e3,{'range':_0x3050ff}):_0x2e75a1['addMarker'](_0x5b37e3,{'range':_0x3050ff,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0x5e22e4=_0x3e6c67['length'];_0x5e22e4<_0x501a8f['length'];_0x5e22e4++){const _0x3c3aea='pagination:'+(_0x5e22e4+0x1);_0x124b43['markers']['has'](_0x3c3aea)&&_0x2e75a1['removeMarker'](_0x3c3aea);}});}_setUpDataDowncastConversion(){this['editor']['conversion']['for']('dataDowncast')['add'](_0x438686=>{_0x438686['on']('addMarker:pagination',(_0xdc9e59,{markerRange:_0xd5abaf,markerName:_0x94c9e6},_0xac97b9)=>{if(!_0xac97b9['options']['pagination'])return;if(!_0xac97b9['consumable']['consume'](_0xd5abaf,_0xdc9e59['name']))return;const _0x4cba76=_0xd5abaf['getContainedElement']();let _0x14d4e5=_0x4cba76?_0xac97b9['mapper']['toViewElement'](_0x4cba76):null;if(!_0x14d4e5){const _0x4fead7=_0xd5abaf['start'];if(_0xac97b9['schema']['checkChild'](_0x4fead7,'$text')){const _0xe798f0=_0xac97b9['mapper']['toViewPosition'](_0x4fead7);_0x14d4e5=_0xac97b9['writer']['createContainerElement']('span'),_0x14d4e5['getFillerOffset']=()=>null,_0xac97b9['writer']['insert'](_0xe798f0,_0x14d4e5);}else{const _0x40e8fc=_0x4fead7['nodeAfter'];_0x14d4e5=_0xac97b9['mapper']['toViewElement'](_0x40e8fc);}}for(;_0x14d4e5['parent']!==_0x14d4e5['root']&&0x0===_0x14d4e5['index'];)_0x14d4e5=_0x14d4e5['parent'];const _0x5219b4=_0x94c9e6['substring'](0xb);_0x14d4e5['hasClass']('page-break')||(_0xac97b9['writer']['setStyle']('page-break-before','always',_0x14d4e5),_0xac97b9['writer']['setAttribute']('data-pagination-page',_0x5219b4,_0x14d4e5),_0xac97b9['mapper']['bindElementToMarker'](_0x14d4e5,_0x94c9e6)),_0xdc9e59['stop']();});});}_setupKeystrokes(){const _0xf8857b=this['editor'];_0xf8857b['keystrokes']['set']('Shift+Pageup',(_0x264b6e,_0x4b3cbb)=>{this['goToPreviousPage'](),_0x4b3cbb();}),_0xf8857b['keystrokes']['set']('Shift+Pagedown',(_0x4d90d6,_0x18cf3b)=>{this['goToNextPage'](),_0x18cf3b();}),_0xf8857b['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':$(_0xf8857b['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':$(_0xf8857b['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':$(_0xf8857b['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}_validatePageNumber(_0x18abf7){return _0x18abf7<0x1&&(_0x18abf7=0x1),_0x18abf7>this['totalPages']&&(_0x18abf7=this['totalPages']),_0x18abf7;}},q=class extends _0x297e8b{['pageNumberView'];constructor(_0xb852fe){super(_0xb852fe);const _0x180242=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new _0x30c727(_0xb852fe,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0x4859fe=>$(_0xb852fe,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0x4859fe)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0xf5ecba=>!_0xf5ecba),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0x180242['if']('isEnabled','ck-disabled',_0x45d3c8=>!_0x45d3c8)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0x180242['to']('totalPages')}]}]});}['render'](){super['render']();const _0xcb333a=this['pageNumberView']['element'],_0x5d4723=_0x1c095b=>{this['pageNumberView']['element']['value']=String(_0x1c095b);};_0x5d4723(this['pageNumber']),this['on']('change:pageNumber',(_0x2e9c02,_0x5862ac,_0x240d69)=>{_0x5d4723(_0x240d69);}),this['listenTo'](_0xcb333a,'keydown',(_0x4217cf,_0x51d92e)=>{if('ArrowUp'===_0x51d92e['key']||'ArrowDown'===_0x51d92e['key'])return void _0x51d92e['stopPropagation']();if(_0x51d92e['keyCode']!==_0x493113['enter'])return;_0x51d92e['preventDefault']();const _0x43ef8d=_0xcb333a['valueAsNumber'];Number['isNaN'](_0x43ef8d)?_0xcb333a['value']=String(this['pageNumber']):(_0xcb333a['checkValidity']()?this['pageNumber']=_0x43ef8d:_0x43ef8d>this['totalPages']?(this['pageNumber']=this['totalPages'],_0xcb333a['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0xcb333a['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0xcb333a,'blur',()=>{_0xcb333a['value']=String(this['pageNumber']);}),this['listenTo'](_0xcb333a,'focus',()=>{this['pageNumberView']['select']();});}['focus'](){this['pageNumberView']['element']['focus']();}},F=class extends _0x465d44{static get['pluginName'](){return'PaginationUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const _0x491137=this['editor'],_0x19bd37=_0x491137['plugins']['get']('PaginationEditing');_0x491137['ui']['componentFactory']['add']('pageNavigation',_0x2aaec9=>{const _0x2eaf86=new q(_0x2aaec9);return _0x2eaf86['bind']('pageNumber')['to'](_0x19bd37),_0x2eaf86['bind']('totalPages')['to'](_0x19bd37),_0x2eaf86['bind']('isEnabled')['to'](_0x19bd37),_0x2eaf86['on']('navigation',(_0x523098,_0x5e3b07)=>{_0x19bd37['moveSelectionToPage'](_0x5e3b07),_0x19bd37['scrollToPage'](_0x5e3b07);}),_0x2eaf86;}),_0x491137['ui']['componentFactory']['add']('nextPage',_0x19f4d0=>{const _0x476013=new _0x44d701(_0x19f4d0);return _0x476013['isEnabled']=!0x0,_0x476013['label']=$(_0x491137['locale'],'Go\x20to\x20next\x20page'),_0x476013['icon']=_0x13d5f0,_0x476013['tooltip']=!0x0,_0x476013['keystroke']='Shift+PageDown',_0x476013['bind']('isEnabled')['to'](_0x19bd37),this['listenTo'](_0x476013,'execute',()=>{_0x19bd37['goToNextPage']();}),_0x476013;}),_0x491137['ui']['componentFactory']['add']('previousPage',_0x3e0d99=>{const _0xf259c2=new _0x44d701(_0x3e0d99);return _0xf259c2['isEnabled']=!0x0,_0xf259c2['label']=$(_0x491137['locale'],'Go\x20to\x20previous\x20page'),_0xf259c2['icon']=_0x201772,_0xf259c2['tooltip']=!0x0,_0xf259c2['keystroke']='Shift+PageUp',_0xf259c2['bind']('isEnabled')['to'](_0x19bd37),this['listenTo'](_0xf259c2,'execute',()=>{_0x19bd37['goToPreviousPage']();}),_0xf259c2;});}},H=class extends _0x465d44{static get['pluginName'](){return'Pagination';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get requires(){return[j,F];}constructor(_0x39b417){super(_0x39b417),this['isEnabled']=!0x1;}init(){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x2816b2=this['editor']['plugins']['get'](j);this['bind']('pageNumber')['to'](_0x2816b2),this['bind']('totalPages')['to'](_0x2816b2),_0x39a8d0['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0x49d755){this['editor']['plugins']['get'](j)['scrollToPage'](_0x49d755);}};export{H as Pagination,M as PaginationRenderer};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5d9431=>{const {af:_0x4d4050}={'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)':''}}};_0x5d9431['af']||={'dictionary':{},'getPluralForm':null},_0x5d9431['af']['dictionary']=Object['assign'](_0x5d9431['af']['dictionary'],_0x4d4050['dictionary']),_0x4d4050['getPluralForm']&&(_0x5d9431['af']['getPluralForm']=_0x4d4050['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2e1ccb=>{const {ar:_0x516ad6}={'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أيضاً)'}}};_0x2e1ccb['ar']||={'dictionary':{},'getPluralForm':null},_0x2e1ccb['ar']['dictionary']=Object['assign'](_0x2e1ccb['ar']['dictionary'],_0x516ad6['dictionary']),_0x516ad6['getPluralForm']&&(_0x2e1ccb['ar']['getPluralForm']=_0x516ad6['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x24aae4=>{const {ast:_0xd22165}={'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)':''}}};_0x24aae4['ast']||={'dictionary':{},'getPluralForm':null},_0x24aae4['ast']['dictionary']=Object['assign'](_0x24aae4['ast']['dictionary'],_0xd22165['dictionary']),_0xd22165['getPluralForm']&&(_0x24aae4['ast']['getPluralForm']=_0xd22165['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x14226a=>{const {az:_0x47685c}={'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)':''}}};_0x14226a['az']||={'dictionary':{},'getPluralForm':null},_0x14226a['az']['dictionary']=Object['assign'](_0x14226a['az']['dictionary'],_0x47685c['dictionary']),_0x47685c['getPluralForm']&&(_0x14226a['az']['getPluralForm']=_0x47685c['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x7002e2=>{const {be:_0x275240}={'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)':''}}};_0x7002e2['be']||={'dictionary':{},'getPluralForm':null},_0x7002e2['be']['dictionary']=Object['assign'](_0x7002e2['be']['dictionary'],_0x275240['dictionary']),_0x275240['getPluralForm']&&(_0x7002e2['be']['getPluralForm']=_0x275240['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3bb1fe=>{const {bg:_0x4cd038}={'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селекцията)'}}};_0x3bb1fe['bg']||={'dictionary':{},'getPluralForm':null},_0x3bb1fe['bg']['dictionary']=Object['assign'](_0x3bb1fe['bg']['dictionary'],_0x4cd038['dictionary']),_0x4cd038['getPluralForm']&&(_0x3bb1fe['bg']['getPluralForm']=_0x4cd038['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xb14eea=>{const {bn:_0x148cdc}={'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নিন)'}}};_0xb14eea['bn']||={'dictionary':{},'getPluralForm':null},_0xb14eea['bn']['dictionary']=Object['assign'](_0xb14eea['bn']['dictionary'],_0x148cdc['dictionary']),_0x148cdc['getPluralForm']&&(_0xb14eea['bn']['getPluralForm']=_0x148cdc['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3e27d4=>{const {bs:_0xf8c5d2}={'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)':''}}};_0x3e27d4['bs']||={'dictionary':{},'getPluralForm':null},_0x3e27d4['bs']['dictionary']=Object['assign'](_0x3e27d4['bs']['dictionary'],_0xf8c5d2['dictionary']),_0xf8c5d2['getPluralForm']&&(_0x3e27d4['bs']['getPluralForm']=_0xf8c5d2['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x14101f=>{const {ca:_0x36fda6}={'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ó)'}}};_0x14101f['ca']||={'dictionary':{},'getPluralForm':null},_0x14101f['ca']['dictionary']=Object['assign'](_0x14101f['ca']['dictionary'],_0x36fda6['dictionary']),_0x36fda6['getPluralForm']&&(_0x14101f['ca']['getPluralForm']=_0x36fda6['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4e7c85=>{const {cs:_0x3611a1}={'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)'}}};_0x4e7c85['cs']||={'dictionary':{},'getPluralForm':null},_0x4e7c85['cs']['dictionary']=Object['assign'](_0x4e7c85['cs']['dictionary'],_0x3611a1['dictionary']),_0x3611a1['getPluralForm']&&(_0x4e7c85['cs']['getPluralForm']=_0x3611a1['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4de229=>{const {da:_0x82fd53}={'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)'}}};_0x4de229['da']||={'dictionary':{},'getPluralForm':null},_0x4de229['da']['dictionary']=Object['assign'](_0x4de229['da']['dictionary'],_0x82fd53['dictionary']),_0x82fd53['getPluralForm']&&(_0x4de229['da']['getPluralForm']=_0x82fd53['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x26f6b3=>{const {'de-ch':_0x38b363}={'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)':''}}};_0x26f6b3['de-ch']||={'dictionary':{},'getPluralForm':null},_0x26f6b3['de-ch']['dictionary']=Object['assign'](_0x26f6b3['de-ch']['dictionary'],_0x38b363['dictionary']),_0x38b363['getPluralForm']&&(_0x26f6b3['de-ch']['getPluralForm']=_0x38b363['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x40abf1=>{const {de:_0x49e592}={'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)'}}};_0x40abf1['de']||={'dictionary':{},'getPluralForm':null},_0x40abf1['de']['dictionary']=Object['assign'](_0x40abf1['de']['dictionary'],_0x49e592['dictionary']),_0x49e592['getPluralForm']&&(_0x40abf1['de']['getPluralForm']=_0x49e592['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x522e45=>{const {el:_0x413ade}={'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μετακίνησης)'}}};_0x522e45['el']||={'dictionary':{},'getPluralForm':null},_0x522e45['el']['dictionary']=Object['assign'](_0x522e45['el']['dictionary'],_0x413ade['dictionary']),_0x413ade['getPluralForm']&&(_0x522e45['el']['getPluralForm']=_0x413ade['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2782dc=>{const {'en-au':_0x13f9ee}={'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)':''}}};_0x2782dc['en-au']||={'dictionary':{},'getPluralForm':null},_0x2782dc['en-au']['dictionary']=Object['assign'](_0x2782dc['en-au']['dictionary'],_0x13f9ee['dictionary']),_0x13f9ee['getPluralForm']&&(_0x2782dc['en-au']['getPluralForm']=_0x13f9ee['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4cb83d=>{const {'en-gb':_0x50575a}={'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)':''}}};_0x4cb83d['en-gb']||={'dictionary':{},'getPluralForm':null},_0x4cb83d['en-gb']['dictionary']=Object['assign'](_0x4cb83d['en-gb']['dictionary'],_0x50575a['dictionary']),_0x50575a['getPluralForm']&&(_0x4cb83d['en-gb']['getPluralForm']=_0x50575a['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x32641c=>{const {en:_0x5a14a6}={'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)'}}};_0x32641c['en']||={'dictionary':{},'getPluralForm':null},_0x32641c['en']['dictionary']=Object['assign'](_0x32641c['en']['dictionary'],_0x5a14a6['dictionary']),_0x5a14a6['getPluralForm']&&(_0x32641c['en']['getPluralForm']=_0x5a14a6['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x45fd41=>{const {eo:_0x30df3b}={'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)':''}}};_0x45fd41['eo']||={'dictionary':{},'getPluralForm':null},_0x45fd41['eo']['dictionary']=Object['assign'](_0x45fd41['eo']['dictionary'],_0x30df3b['dictionary']),_0x30df3b['getPluralForm']&&(_0x45fd41['eo']['getPluralForm']=_0x30df3b['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1789bf=>{const {'es-co':_0x219a7e}={'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)':''}}};_0x1789bf['es-co']||={'dictionary':{},'getPluralForm':null},_0x1789bf['es-co']['dictionary']=Object['assign'](_0x1789bf['es-co']['dictionary'],_0x219a7e['dictionary']),_0x219a7e['getPluralForm']&&(_0x1789bf['es-co']['getPluralForm']=_0x219a7e['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x53a197=>{const {es:_0x3f34ea}={'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)'}}};_0x53a197['es']||={'dictionary':{},'getPluralForm':null},_0x53a197['es']['dictionary']=Object['assign'](_0x53a197['es']['dictionary'],_0x3f34ea['dictionary']),_0x3f34ea['getPluralForm']&&(_0x53a197['es']['getPluralForm']=_0x3f34ea['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5cd3ed=>{const {et:_0x1bf1ac}={'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)'}}};_0x5cd3ed['et']||={'dictionary':{},'getPluralForm':null},_0x5cd3ed['et']['dictionary']=Object['assign'](_0x5cd3ed['et']['dictionary'],_0x1bf1ac['dictionary']),_0x1bf1ac['getPluralForm']&&(_0x5cd3ed['et']['getPluralForm']=_0x1bf1ac['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3eaef8=>{const {eu:_0x375a31}={'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)':''}}};_0x3eaef8['eu']||={'dictionary':{},'getPluralForm':null},_0x3eaef8['eu']['dictionary']=Object['assign'](_0x3eaef8['eu']['dictionary'],_0x375a31['dictionary']),_0x375a31['getPluralForm']&&(_0x3eaef8['eu']['getPluralForm']=_0x375a31['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5a92c6=>{const {fa:_0x3f0783}={'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)':''}}};_0x5a92c6['fa']||={'dictionary':{},'getPluralForm':null},_0x5a92c6['fa']['dictionary']=Object['assign'](_0x5a92c6['fa']['dictionary'],_0x3f0783['dictionary']),_0x3f0783['getPluralForm']&&(_0x5a92c6['fa']['getPluralForm']=_0x3f0783['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x57d14d=>{const {fi:_0x35325d}={'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)'}}};_0x57d14d['fi']||={'dictionary':{},'getPluralForm':null},_0x57d14d['fi']['dictionary']=Object['assign'](_0x57d14d['fi']['dictionary'],_0x35325d['dictionary']),_0x35325d['getPluralForm']&&(_0x57d14d['fi']['getPluralForm']=_0x35325d['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|