@ckeditor/ckeditor5-pagination 49.0.0-alpha.2 → 49.0.0-alpha.4
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 +2 -1
- package/dist/index.css +2 -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
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
--ck-pagination-divider-color: var(--ck-color-pagination-divider, #ababab);
|
|
7
7
|
--ck-pagination-label-background-color: #c4c4c4;
|
|
8
8
|
--ck-pagination-label-border-radius: 0 var(--ck-border-radius-control-small) var(--ck-border-radius-control-small) 0;
|
|
9
|
+
--ck-pagination-label-padding: var(--ck-spacing-padding-compact);
|
|
9
10
|
}
|
|
10
11
|
|
|
11
12
|
.ck.ck-pagination_enabled {
|
|
@@ -151,7 +152,7 @@
|
|
|
151
152
|
color: var(--ck-color-text-inverse);
|
|
152
153
|
text-align: center;
|
|
153
154
|
min-width: 18px;
|
|
154
|
-
padding: var(--ck-
|
|
155
|
+
padding: var(--ck-pagination-label-padding);
|
|
155
156
|
display: inline-block;
|
|
156
157
|
position: absolute;
|
|
157
158
|
top: -1px;
|
package/dist/index.css
CHANGED
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
--ck-pagination-divider-color: var(--ck-color-pagination-divider, #ababab);
|
|
7
7
|
--ck-pagination-label-background-color: #c4c4c4;
|
|
8
8
|
--ck-pagination-label-border-radius: 0 var(--ck-border-radius-control-small) var(--ck-border-radius-control-small) 0;
|
|
9
|
+
--ck-pagination-label-padding: var(--ck-spacing-padding-compact);
|
|
9
10
|
}
|
|
10
11
|
|
|
11
12
|
.ck.ck-pagination_enabled {
|
|
@@ -151,7 +152,7 @@
|
|
|
151
152
|
color: var(--ck-color-text-inverse);
|
|
152
153
|
text-align: center;
|
|
153
154
|
min-width: 18px;
|
|
154
|
-
padding: var(--ck-
|
|
155
|
+
padding: var(--ck-pagination-label-padding);
|
|
155
156
|
display: inline-block;
|
|
156
157
|
position: absolute;
|
|
157
158
|
top: -1px;
|
package/dist/index.js
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as _0x1e4161}from'@ckeditor/ckeditor5-core';import{ButtonView as _0x11da14,InputNumberView as _0x417777,View as _0x5aed76}from'@ckeditor/ckeditor5-ui';import{Rect as _0x5f3199,ResizeObserver as _0x3a7e63,env as _0x3a8cd5,findClosestScrollableAncestor as _0x1cf72b,first as _0x52eb00,getParentElement as _0x3c6f87,getParentNode as _0x161fba,getPositionedAncestor as _0x301b5a,global as _0x34425f,keyCodes as _0x31e909,logWarning as _0x34913a,toUnit as _0xda0d3a,uid as _0x45efef}from'@ckeditor/ckeditor5-utils';import{debounce as _0x37d66b}from'es-toolkit/compat';import{IconArrowDown as _0x1cdfce,IconArrowUp as _0x154c5b}from'@ckeditor/ckeditor5-icons';var v=class extends _0x1e4161{_recalculatePageBreaksDebounced=_0x37d66b(()=>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 _0x34913a('pagination-config-not-found',this['editor']['config']);const _0x23aac7=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0x23aac7),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0x3c2c95,_0xb79ee0,_0x1badb1)=>{_0x1badb1&&this['_recalculatePageBreaksDebounced']();});}afterInit(){!async function(_0x2a2f8d){const _0x36ac78='vsmL4TPpuR53MlqSj2VXwH9oEAN8FxJtGUOdbDCZ01ihyfkBQY6acgz7rIeWKn',_0x1bd542=0x79740,_0x58b39a={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'};async function _0xf860ea(_0x46c926){const _0x4e9256=new window['Promise'](_0x5b8397=>{_0x46c926['once']('ready',_0x5b8397);}),_0x422913=window['Date']['now'](),_0x47e396=_0x46c926['config']['get']('licenseKey');async function _0x196aa6(){let _0x9d1e17,_0x4e11eb=null,_0x28b976=null;try{return'GPL'==_0x47e396?'NotAllowed':(_0x9d1e17=_0x15a569(),_0x9d1e17?(_0x9d1e17['usageEndpoint']&&(_0x28b976=_0x45448c(_0x9d1e17['usageEndpoint'],_0x9d1e17['jti'])),await _0x1ff538()?_0x34f33a()?_0x12537a()?'Expired':_0x5d8644()?('evaluation'==_0x9d1e17['licenseType']&&(_0x4e11eb=_0x461152('EvaluationLimit')),await _0x37af72()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x12537a(){const _0x250746=['evaluation','trial']['includes'](_0x9d1e17['licenseType'])?_0x422913/0x3e8:0xe10*_0x1bd542;return _0x9d1e17['exp']<_0x250746;}function _0x34f33a(){const _0x6b2d17=_0x9d1e17['features'];return!!_0x6b2d17&&(!!_0x6b2d17['includes']('*')||!!_0x6b2d17['includes']('PAG'));}function _0x5d8644(){const _0x55d30d=_0x9d1e17['licensedHosts'];if(!_0x55d30d||0x0==_0x55d30d['length'])return!0x0;const {hostname:_0x10f18b}=new URL(window['location']['href']);if(_0x55d30d['includes'](_0x10f18b))return!0x0;const _0xb201c=_0x10f18b['split']('.');return _0x55d30d['filter'](_0x307ea5=>_0x307ea5['includes']('*'))['map'](_0x171280=>_0x171280['split']('.'))['filter'](_0x7fc7a0=>_0x7fc7a0['length']<=_0xb201c['length'])['map'](_0x22d8d6=>Array(_0xb201c['length']-_0x22d8d6['length'])['fill']('*'===_0x22d8d6[0x0]?'*':'')['concat'](_0x22d8d6))['some'](_0x1c40fa=>_0xb201c['every']((_0x3b686a,_0x2b012b)=>_0x1c40fa[_0x2b012b]===_0x3b686a||'*'===_0x1c40fa[_0x2b012b]));}function _0x37af72(){return _0x4e11eb&&_0x28b976?new window['Promise']((_0x54015d,_0x5e4ce1)=>{_0x4e11eb['then'](_0x54015d,_0x5e4ce1),_0x28b976['then'](_0x1df252=>{'Valid'!=_0x1df252&&_0x54015d(_0x1df252);},_0x5e4ce1);}):_0x4e11eb||_0x28b976||'Valid';}}function _0x45448c(_0x3a4596,_0x4c59c3){return new window['Promise'](_0x5cc2bc=>{if(_0x3f34e7())return _0x5cc2bc('Valid');_0x4422ac(),_0x46c926['decorate']('_sendUsageRequest');let _0x4f07cc=!0x1;const _0x3f8a71=_0x45efef();function _0x28f8ef(_0x3c5426){return!!_0x3c5426&&('object'==typeof _0x3c5426||'function'==typeof _0x3c5426)&&'function'==typeof _0x3c5426['then']&&'function'==typeof _0x3c5426['catch'];}function _0x41f6c5(_0x3cfb5f){_0x8f5aaa(_0x3cfb5f)['then'](_0x3320f8=>_0x3320f8&&'ok'==_0x3320f8['status']?_0x51ccd7(_0x4dc795(_0x3f8a71+_0x4c59c3))!=_0x3320f8['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x28c73f=>(_0x570c82(),_0x28c73f),()=>{const _0x2bea98=_0x38ba70();return null==_0x2bea98?(_0x570c82(),'Valid'):_0x422913-_0x2bea98>0x240c8400?'UsageLimit':'Valid';})['then'](_0x5cc2bc)['catch'](()=>{_0x5cc2bc('UsageLimit');});const _0x4af9cf=0x36ee80;function _0x570c82(){const _0x38cc04='llct-'+_0x51ccd7(_0x4dc795(_0x3a4596)),_0xc9acbc=_0xb49fa1(_0x51ccd7(window['Math']['ceil'](_0x422913/_0x4af9cf)));window['localStorage']['setItem'](_0x38cc04,_0xc9acbc);}function _0x38ba70(){const _0x1e570e='llct-'+_0x51ccd7(_0x4dc795(_0x3a4596)),_0x4eb176=window['localStorage']['getItem'](_0x1e570e);return _0x4eb176?window['parseInt'](_0xb49fa1(_0x4eb176),0x10)*_0x4af9cf:null;}function _0x8f5aaa(_0xc135de){return new window['Promise']((_0x3e5f7b,_0x160870)=>{_0xc135de['then'](_0x3e5f7b,_0x160870),window['setTimeout'](_0x160870,0x1d4c0);});}}_0x46c926['on']('_sendUsageRequest',(_0x1ad2a1,_0x504f1c)=>{if(_0x504f1c[0x0]!=_0x3a4596)return _0x5cc2bc('UsageLimit');_0x504f1c[0x1]={..._0x504f1c[0x1],'requestId':_0x3f8a71};},{'priority':'high'}),_0x46c926['on']('_sendUsageRequest',_0x29401a=>{_0x28f8ef(_0x29401a['return'])&&(_0x4f07cc=!0x0,_0x41f6c5(_0x29401a['return']));},{'priority':'low'}),_0x4e9256['then'](()=>{_0x4f07cc||_0x5cc2bc('UsageLimit');});});function _0x3f34e7(){return'auto'==_0x46c926['editing']['view']['_overlayModeHint'];}function _0x4422ac(){_0x46c926['editing']['view']['_overlayModeHint']='auto';}}function _0x461152(_0x4c21cf){const _0x3aa248=[new window['Promise'](_0x276555=>setTimeout(_0x276555,0x93ecc)),_0x4e9256['then'](()=>new window['Promise'](_0x133075=>{let _0x44d9f9=0x0;_0x46c926['model']['on']('applyOperation',(_0x5f0118,_0x377c48)=>{_0x377c48[0x0]['isDocumentOperation']&&_0x44d9f9++,0x5e8==_0x44d9f9&&(_0x133075(),_0x5f0118['off']());});}))];return window['Promise']['race'](_0x3aa248)['then'](()=>_0x4c21cf);}async function _0x24618f(){await _0x4e9256,_0x46c926['model']['change']=_0x5806a7,_0x46c926['model']['enqueueChange']=_0x5806a7,_0x46c926['enableReadOnlyMode']('model');}function _0x1b1a45(_0x96df72){const _0x210b6d=_0x5065b7();_0x46c926[_0x210b6d]='paginationLicenseKey'+_0x96df72,'Valid'!=_0x96df72&&_0x24618f();}function _0x5065b7(){const _0x480430=window['String'](window['performance']['now']())['replace']('.','');let _0x3792b0='v';for(let _0x32129d=0x0;_0x32129d<_0x480430['length'];_0x32129d+=0x2){let _0x1ce71a=window['parseInt'](_0x480430['substring'](_0x32129d,_0x32129d+0x2));_0x1ce71a>=0x3e&&(_0x1ce71a-=0x3e),_0x3792b0+=_0x36ac78[_0x1ce71a];}return _0x3792b0;}function _0x15a569(){const _0x18bc79=_0x47e396['split']('.');if(0x3!=_0x18bc79['length'])return null;return _0x5bc53b(_0x18bc79[0x1]);function _0x5bc53b(_0x179428){const _0x5b8359=_0x4eb08d(_0x179428);return _0x5b8359&&_0x270b8e()?_0x5b8359:null;function _0x270b8e(){const _0x54e51e=_0x5b8359['jti'],_0x521c72=window['parseInt'](_0x54e51e['substring'](_0x54e51e['length']-0x8),0x10),_0x24d18b={..._0x5b8359,'jti':_0x54e51e['substring'](0x0,_0x54e51e['length']-0x8)};return delete _0x24d18b['vc'],_0x4dc795(_0x24d18b)==_0x521c72;}}}async function _0x1ff538(){let _0x50c20f=!0x0;try{const [_0x476345,_0x836d4b,_0x165f9d]=_0x47e396['split']('.');return _0x1f41fe(_0x476345),await _0x5268b4(_0x476345,_0x836d4b,_0x165f9d),_0x50c20f;}catch{return!0x1;}function _0x1f41fe(_0x4982a9){const _0x59b82d=_0x4eb08d(_0x4982a9);_0x59b82d&&'ES256'==_0x59b82d['alg']||(_0x50c20f=!0x1);}async function _0x5268b4(_0x13fae6,_0x53a11c,_0x166068){const _0x5c1c5e=window['Uint8Array']['from'](_0x2f628a(_0x166068),_0x497317=>_0x497317['charCodeAt'](0x0)),_0x433deb=new window['TextEncoder']()['encode'](_0x13fae6+'.'+_0x53a11c),_0x274d9c=window['crypto']['subtle'];if(!_0x274d9c)return;const _0x1f8d20=await _0x274d9c['importKey']('jwk',_0x58b39a,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x274d9c['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x1f8d20,_0x5c1c5e,_0x433deb)||(_0x50c20f=!0x1);}}function _0x4eb08d(_0x14c38d){return _0x14c38d['startsWith']('ey')?JSON['parse'](_0x2f628a(_0x14c38d)):null;}function _0x2f628a(_0x3e44a8){return window['atob'](_0x3e44a8['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x4dc795(_0x372163){let _0x5217d6=0x1505;function _0x30740e(_0x147cfc){for(let _0x1f9d34=0x0;_0x1f9d34<_0x147cfc['length'];_0x1f9d34++){const _0x5ebe90=_0x147cfc['charCodeAt'](_0x1f9d34);_0x5217d6=(_0x5217d6<<0x5)+_0x5217d6+_0x5ebe90,_0x5217d6&=_0x5217d6;}}function _0x378e9b(_0x558464){Array['isArray'](_0x558464)?_0x558464['forEach'](_0x378e9b):_0x558464&&'object'==typeof _0x558464?Object['entries'](_0x558464)['sort']()['forEach'](([_0x887c36,_0x1e1bdc])=>{_0x30740e(_0x887c36),_0x378e9b(_0x1e1bdc);}):_0x30740e(window['String'](_0x558464));}return _0x378e9b(_0x372163),_0x5217d6>>>0x0;}function _0x51ccd7(_0x3177c3){return _0x3177c3['toString'](0x10)['padStart'](0x8,'0');}function _0xb49fa1(_0x484c2c){return _0x484c2c['split']('')['reverse']()['join']('');}function _0x5806a7(){}_0x1b1a45(await _0x196aa6());}_0xf860ea(_0x2a2f8d['editor']);}(this);}destroy(){super['destroy'](),this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']&&(this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0x3dbb67=this['editor'],_0x441b16=_0x3dbb67['editing']['view'],_0x3634fe=this['_getAttachedDomRoot']();if(!_0x3634fe||!_0x3634fe['hasChildNodes']())return void _0x3dbb67['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0x4942b7,pageHeight:_0x38b0b6}=_0x3dbb67['config']['get']('pagination'),{top:_0x19875b,left:_0x363e58,bottom:_0x43c38c,right:_0x1ad3f5}=this['_configuredPaddings'];this['_pagesContainer']=new _0x5aed76(_0x3dbb67['locale']);const _0x7ea8ab=this['_pagesContainer'];_0x7ea8ab['set']('class',''),_0x7ea8ab['setTemplate']({'tag':'div','attributes':{'style':{'columnWidth':_0x4942b7,'width':_0x4942b7,'height':'calc(\x20'+_0x38b0b6+'\x20-\x20'+_0x19875b+'\x20-\x20'+_0x43c38c+'\x20+\x200.5mm\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0x1ad3f5+'\x200\x20'+_0x363e58,'columnGap':'calc('+_0x363e58+'\x20+\x20'+_0x1ad3f5+'\x20+\x20100px)','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'class':_0x7ea8ab['bindTemplate']['to']('class')}}),_0x7ea8ab['render'](),_0x161fba(_0x3634fe)['insertBefore'](_0x7ea8ab['element'],_0x3634fe['nextSibling']),this['listenTo'](_0x441b16,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}_getAttachedDomRoot(){for(const _0x1b7f45 of this['editor']['editing']['view']['domRoots']['values']())if(_0x1b7f45['isConnected'])return _0x1b7f45;return null;}_recalculatePageBreaks(){if(!this['isEnabled'])return Promise['resolve']();const _0x390c9c=this['editor']['editing']['view'],_0x2d8940=this['_pagesContainer'],_0x203449=this['_getAttachedDomRoot']();if(!_0x203449||!_0x2d8940)return Promise['resolve']();for(_0x2d8940['class']=['ck-reset','ck-pagination-view',..._0x203449['classList']]['join']('\x20');_0x2d8940['element']['firstChild'];)_0x2d8940['element']['firstChild']['remove']();const _0x1db51d=Array['from'](_0x390c9c['domRoots']);_0x1db51d['sort'](([,_0x484ba8],[,_0x13ecd4])=>_0x484ba8['compareDocumentPosition'](_0x13ecd4)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0x276dfc,_0x1882aa]of _0x1db51d){const _0x5dcbb6=_0x1882aa['cloneNode'](!0x0);'attributeStyleMap'in _0x5dcbb6&&_0x5dcbb6['attributeStyleMap']['clear'](),_0x5dcbb6['dataset']['rootName']=_0x276dfc,_0x5dcbb6['className']='ck-content\x20ck-pagination_enabled',_0x5dcbb6['removeAttribute']('id'),_0x5dcbb6['tabIndex']=-0x1,_0x2d8940['element']['append'](_0x5dcbb6);}const _0x4a0633=Array['from'](_0x2d8940['element']['querySelectorAll']('img'));return function(_0xd51361){return Promise['all'](_0xd51361['map'](_0x50bf62=>Promise['race']([N(_0x50bf62),_(0x3e8)])));}(_0x4a0633)['then'](()=>{for(const _0x50d57e of _0x4a0633['filter'](_0x444d38=>!_0x444d38['closest']('table')))if(_0x50d57e['offsetParent']){const _0x461220=_0x34425f['window']['getComputedStyle'](_0x50d57e),_0x52f519=_0x34425f['document']['createElement']('span');for(const _0x60ba41 of _0x461220)_0x52f519['style']['setProperty'](_0x60ba41,_0x461220[_0x60ba41]);_0x52f519['style']['backgroundImage']='url(\x20'+_0x50d57e['src']+'\x20)',_0x52f519['style']['breakInside']='avoid','PICTURE'==_0x50d57e['parentElement']?.['tagName']?_0x50d57e['parentElement']['replaceWith'](_0x52f519):_0x50d57e['replaceWith'](_0x52f519);}return new Promise(_0x3e564d=>_0x34425f['window']['requestAnimationFrame'](()=>_0x3e564d()));})['then'](()=>{this['_updatePageBreaksData']();});}_updatePageBreaksData(){const _0x493e28=this['_pagesContainer']['element'];if(!_0x493e28['isConnected'])return;const _0x7c13c7=new _0x5f3199(_0x493e28)['excludeScrollbarsAndBorders'](),_0x1e9952=Math['floor'](_0x7c13c7['width']+0x64),_0x185325=I(_0x493e28,Math['floor'](_0x7c13c7['left']-_0x493e28['scrollLeft']),_0x1e9952,_0x7c13c7['height'])['map'](_0x44ef59=>this['_mapPageStarterInfoToPageBreakInfo'](_0x44ef59))['filter'](_0x3baa2f=>!0x1!==_0x3baa2f);_0x185325['every'](_0x35bd93=>!!_0x35bd93)&&(this['pageBreaks']=_0x185325);}_mapPageStarterInfoToPageBreakInfo(_0x3494c3){const _0x50336f=this['editor']['editing']['view'],_0x28e0a0=this['editor']['editing']['mapper'],_0x17a363=_0x50336f['domConverter'],_0x3d0e51=_0x3494c3['path']['shift'](),_0x43801e=this['_pagesContainer']['element']['childNodes'][_0x3d0e51]['dataset']['rootName'],_0x38e11c=_0x50336f['getDomRoot'](_0x43801e);if(!_0x38e11c)return null;const _0x482dc6=function(_0x4bb73b,_0x16ece5){let _0x492cff=_0x4bb73b;for(const _0x17224c of _0x16ece5['path']){if(!_0x492cff)return null;_0x492cff=_0x492cff['childNodes'][_0x17224c];}return _0x492cff;}(_0x38e11c,_0x3494c3);if(!_0x482dc6)return null;const _0x5cf5fd=_0x17a363['domPositionToView'](_0x482dc6,_0x3494c3['textOffset']||0x0);return _0x5cf5fd?'manual'==_0x3494c3['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0x5cf5fd,_0x482dc6):'text'==_0x3494c3['type']&&_0x28e0a0['toModelPosition'](_0x5cf5fd)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0x5cf5fd,_0x482dc6,_0x3494c3['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0x5cf5fd,_0x482dc6,_0x3494c3['offset']):null;}_mapManualPageStarterInfoToPageBreakInfo(_0xf5c2cf,_0xbda5b9){const _0x16d6d3=this['editor']['model'],_0x2fef66=this['editor']['editing']['mapper']['toModelElement'](_0xf5c2cf['parent']),_0x4b48a2=_0x16d6d3['createRangeOn'](_0x2fef66);return new k({'type':'manual','modelRange':_0x4b48a2,'domNode':_0xbda5b9,'offset':0x0});}_mapTextPageStarterInfoToPageBreakInfo(_0x4c38ae,_0x14805c,_0x412e41){const _0x1e0676=this['editor']['model'],_0x246f24=this['editor']['editing']['mapper'],_0x3eb48a=this['editor']['editing']['view']['domConverter'];if(_0x412e41>=_0x14805c['length'])return null;const _0x2ba597=_0x246f24['toModelPosition'](_0x4c38ae),_0xd6b96e=_0x1e0676['createRange'](_0x2ba597),_0x38df89=_0x246f24['findMappedViewAncestor'](_0x4c38ae),_0x4c56ad=_0x3eb48a['mapViewToDom'](_0x38df89);return new k({'type':'text','modelRange':_0xd6b96e,'domNode':_0x14805c,'offset':L(_0x14805c,_0x412e41,_0x4c56ad)});}_mapElementPageStarterInfoToPageBreakInfo(_0x4ec11a,_0x277857,_0x5cd4a5){const _0x388de9=this['editor']['model'],_0x4f533f=this['editor']['editing'],_0x452ba0=_0x4f533f['mapper'],_0x3e9103=_0x4f533f['view']['domConverter'],_0x16ccf0=_0x452ba0['findMappedViewAncestor'](_0x4ec11a),_0x3f3cc8=_0x452ba0['toModelElement'](_0x16ccf0);if(!_0x3f3cc8||_0x3f3cc8['is']('rootElement'))return!0x1;const _0x205395=function(_0x1d7049){const _0x4c3a82=_0x1d7049['parent'],_0x256b66=_0x4c3a82['root']['document']['model'],_0x3b2725=_0x4c3a82['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0x138f89=null;for(const _0x25f598 of _0x3b2725){if(_0x25f598['is']('rootElement'))return _0x138f89;if(!_0x256b66['createPositionBefore'](_0x25f598)['isTouching'](_0x1d7049))return _0x138f89;_0x138f89=_0x25f598;}}(_0x388de9['createPositionBefore'](_0x3f3cc8))||_0x3f3cc8;let _0x4a7211=_0x452ba0['toViewElement'](_0x205395),_0xe53bf6=_0x388de9['createRangeOn'](_0x205395);const _0xb7e447=_0x388de9['createPositionBefore'](_0x205395)['nodeBefore'];if(_0xb7e447&&_0xb7e447['is']('element','imageBlock')){const _0x4d1980=_0x452ba0['toViewElement'](_0xb7e447),_0x2b7163=_0x3e9103['mapViewToDom'](_0x4d1980),_0x39af47=_0x34425f['window']['getComputedStyle'](_0x2b7163)['float'];'left'!=_0x39af47&&'right'!=_0x39af47||(_0xe53bf6=_0x388de9['createRangeOn'](_0xb7e447));}for(;_0x4a7211['parent']!==_0x4a7211['root']&&0x0===_0x4a7211['index'];)_0x4a7211=_0x4a7211['parent'];const _0x25fe54=new _0x5f3199(C(_0x277857)?_0x277857:E(_0x277857)),_0x317fa0=_0x5cd4a5?_0x25fe54['height']-_0x5cd4a5:0x0,_0x2e59d2=_0x3e9103['mapViewToDom'](_0x4a7211),_0xa952a0=new _0x5f3199(_0x2e59d2);return new k({'type':'element','modelRange':_0xe53bf6,'domNode':_0x2e59d2,'offset':Math['round'](_0x317fa0)||_0x16ccf0!=x(_0x4ec11a)?_0x317fa0+_0x25fe54['top']-_0xa952a0['top']:0x0});}get['_configuredPaddings'](){const _0x450f30=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0x450f30);}static _findPageStarterInfos(_0x2a9fec,_0x289d82,_0x12d674,_0x470e6b,_0x330853){return I(_0x2a9fec,_0x289d82,_0x12d674,_0x470e6b,_0x330853);}},k=class{type;['modelRange'];['_domNode'];_offset;constructor({type:_0x9e9ea,modelRange:_0x2d52a0,domNode:_0xed5907,offset:_0x330bd1}){this['type']=_0x9e9ea,this['modelRange']=_0x2d52a0,this['_domNode']=_0xed5907,this['_offset']=_0x330bd1;}get offset(){if(!this['_domNode']['isConnected'])return 0x0;const _0x3284c5=new _0x5f3199(C(this['_domNode'])?this['_domNode']:E(this['_domNode']));return'manual'==this['type']?_0x3284c5['top']+_0x3284c5['height']/0x2:_0x3284c5['top']+this['_offset'];}};function L(_0x2b00ba,_0x1c015c,_0x3a4f44){const _0x54bfb9=E(_0x2b00ba),_0x543634=function(_0xbd9787){const _0x3a61bb=_0x34425f['document']['createRange']();return _0x3a61bb['selectNodeContents'](_0xbd9787),_0x3a61bb;}(_0x3a4f44);let _0x461f1b;if(0x0==_0x1c015c){const _0x44e8c0=_0x161fba(_0x2b00ba);_0x461f1b=R(_0x543634['startContainer'],_0x543634['startOffset'],_0x44e8c0,Array['from'](_0x44e8c0['childNodes'])['indexOf'](_0x2b00ba));}else _0x461f1b=R(_0x543634['startContainer'],_0x543634['startOffset'],_0x2b00ba,_0x1c015c);const _0x1f023d=R(_0x2b00ba,_0x1c015c,_0x543634['endContainer'],_0x543634['endOffset']),_0x41921c=new _0x5f3199(_0x461f1b)['bottom'];return(new _0x5f3199(_0x1f023d)['top']+_0x41921c)/0x2-new _0x5f3199(_0x54bfb9)['top'];}function x(_0x473151){let _0x26972f=_0x473151['parent'];for(;_0x26972f['is']('$text')||_0x26972f['is']('attributeElement');)_0x26972f=_0x26972f['parent'];return _0x26972f;}function N(_0x2ff6aa){return _0x2ff6aa['hasAttribute']('width')&&_0x2ff6aa['hasAttribute']('height')?Promise['resolve']():new Promise(_0x29bb39=>{function _0x3d72f3(){_0x2ff6aa['removeEventListener']('load',_0x3d72f3),_0x2ff6aa['removeEventListener']('error',_0x3d72f3),_0x29bb39();}_0x2ff6aa['complete']?_0x29bb39():(_0x2ff6aa['addEventListener']('load',_0x3d72f3),_0x2ff6aa['addEventListener']('error',_0x3d72f3));});}function _(_0x20f5f9){return new Promise(_0x48c8ea=>setTimeout(_0x48c8ea,_0x20f5f9));}function E(_0x42678a){const _0x14e222=_0x34425f['document']['createRange']();return _0x14e222['selectNode'](_0x42678a),_0x14e222;}function S(_0x30e6f7,_0xda0daa,_0x27e8fc){const _0x357c0f=_0x34425f['document']['createRange']();return _0x357c0f['setStart'](_0x30e6f7,_0xda0daa),_0x357c0f['setEnd'](_0x30e6f7,_0x27e8fc),_0x357c0f;}function R(_0x22a4c7,_0x3466f7,_0x3729e9,_0x3219dc){const _0x4c737d=_0x34425f['document']['createRange']();return _0x4c737d['setStart'](_0x22a4c7,_0x3466f7),_0x4c737d['setEnd'](_0x3729e9,_0x3219dc),_0x4c737d;}function I(_0x3011cf,_0x25a8d5,_0x235d28,_0x136788,_0x5329fd){const _0x5f119d=[];for(const [_0x12b224,_0x31f4f5]of _0x3011cf['childNodes']['entries']()){let _0x3703f0=[];C(_0x31f4f5)&&_0x31f4f5['offsetParent']&&['static','relative']['includes'](_0x34425f['window']['getComputedStyle'](_0x31f4f5)['position'])?_0x3703f0=K(_0x31f4f5,_0x12b224,_0x25a8d5,_0x235d28,_0x136788,_0x5329fd):D(_0x31f4f5)&&(_0x3703f0=A(_0x31f4f5,_0x12b224,_0x25a8d5,_0x235d28,_0x5329fd)),_0x3703f0['length']&&(_0x5f119d['push'](..._0x3703f0),_0x25a8d5+=_0x3703f0['length']*_0x235d28,_0x5329fd=!0x1);}return _0x5f119d;}function K(_0x68c84c,_0x25b5b1,_0x821827,_0x4391bd,_0x2be45f,_0x568edd){const _0x289ee7=[];var _0x163179;if((_0x163179=_0x68c84c['previousSibling'])&&C(_0x163179)&&Boolean(_0x163179['classList']['contains']('page-break')||_0x163179['closest']('.page-break'))&&(_0x289ee7['push']({'type':'manual','offset':0x0,'path':[_0x25b5b1-0x1]}),_0x568edd=!0x0),'table-row'==_0x34425f['window']['getComputedStyle'](_0x68c84c)['display']){let _0x5d308a=0x0,_0x1ebdae=!0x1;for(const _0x22b332 of _0x68c84c['getClientRects']())_0x5d308a+=_0x22b332['height'],_0x22b332['left']>=_0x821827&&(_0x1ebdae=!0x0);if(_0x5d308a<_0x2be45f&&_0x1ebdae)return _0x568edd||_0x289ee7['push']({'type':'element','offset':0x0,'path':[_0x25b5b1]}),_0x289ee7;}const _0x7fe0fd=_0x68c84c['closest']('figure.image');if(_0x7fe0fd&&function(_0x1d7fcb){let _0x431039=!0x1;const _0x106d5c=_0x3c6f87(_0x1d7fcb)['dataset']['rootName'],_0x24cd65=_0x1d7fcb['nextElementSibling'],_0x4a1c91=_0x1d7fcb['previousElementSibling'],_0x2e06cd=_0x24cd65&&_0x34425f['window']['getComputedStyle'](_0x24cd65)['float'],_0x13b2ae=_0x24cd65&&'ck-fake-selection-container'===_0x24cd65['className'];return!_0x106d5c||_0x24cd65||_0x4a1c91||(_0x431039=!0x0),_0x106d5c&&!_0x4a1c91&&_0x13b2ae&&(_0x431039=!0x0),_0x106d5c&&!_0x4a1c91&&'none'!==_0x2e06cd&&(_0x431039=!0x0),!_0x431039;}(_0x7fe0fd)){const _0x520219=_0x34425f['window']['getComputedStyle'](_0x7fe0fd)['float'];if('left'==_0x520219||'right'==_0x520219)return _0x289ee7;}const _0x3cfaca=I(_0x68c84c,_0x821827,_0x4391bd,_0x2be45f,_0x568edd);if(_0x3cfaca['length']){for(const _0x1cb517 of _0x3cfaca)_0x289ee7['push']({'type':_0x1cb517['type'],'offset':_0x1cb517['offset'],'textOffset':_0x1cb517['textOffset'],'path':[_0x25b5b1,..._0x1cb517['path']]}),_0x821827+=_0x4391bd;return _0x289ee7;}return _0x289ee7['push'](...function(_0x3a9e43,_0x455eea,_0x430e48,_0x35867d,_0x34107a){const _0x3a6549=[];if('table-cell'==_0x34425f['window']['getComputedStyle'](_0x3a9e43)['display'])return[];const _0x71a9dc=[];for(const _0xff9c73 of _0x3a9e43['getClientRects']())if(_0xff9c73['left']>=_0x430e48){for(const _0x31eb96 of _0x71a9dc)_0x31eb96['height']+=_0xff9c73['height'];_0x71a9dc['push']({'height':_0xff9c73['height']}),_0x430e48+=_0x35867d;}for(const _0x5be96d of _0x71a9dc)_0x34107a||_0x3a6549['push']({'type':'element','offset':_0x5be96d['height'],'textOffset':0x0,'path':[_0x455eea]}),_0x34107a=!0x1;return _0x3a6549;}(_0x68c84c,_0x25b5b1,_0x821827,_0x4391bd,_0x568edd)),_0x289ee7;}function A(_0x3fe088,_0x2127b8,_0x5bd5b8,_0x45921d,_0x493e40){const _0x30e843=E(_0x3fe088),_0x23f85a=[];let _0x1eccd5=0x0;for(const _0x409128 of _0x30e843['getClientRects']())if(_0x409128['left']>=_0x5bd5b8){const _0x24427a=O(_0x3fe088,_0x1eccd5,_0x5bd5b8,_0x45921d);_0x493e40||_0x23f85a['push']({'type':'text','path':[_0x2127b8],'textOffset':_0x24427a}),_0x1eccd5=_0x24427a,_0x5bd5b8+=_0x45921d,_0x493e40=!0x1;}return _0x23f85a;}function O(_0x7cc8cf,_0x30e919,_0x5a9f4d,_0x9e7689){let _0x41b217=_0x30e919,_0xe28b7b=_0x7cc8cf['length'];for(;_0xe28b7b-_0x41b217>0x1;){const _0x13db0a=Math['ceil']((_0x41b217+_0xe28b7b)/0x2);U(S(_0x7cc8cf,_0x41b217,_0x13db0a),_0x5a9f4d,_0x9e7689)?_0xe28b7b=_0x13db0a:_0x41b217=_0x13db0a;}return _0x41b217;}function U(_0x921b7e,_0x2874f1,_0x32fd09){for(const _0x329919 of _0x921b7e['getClientRects']())if(_0x329919['left']>=_0x2874f1&&_0x329919['left']<_0x2874f1+_0x32fd09)return!0x0;return!0x1;}function C(_0x227634){return _0x227634['nodeType']==Node['ELEMENT_NODE'];}function D(_0x43de73){return _0x43de73['nodeType']==Node['TEXT_NODE'];}const T=/* #__PURE__ -- @preserve */
|
|
24
|
-
_0xda0d3a('px');var B=class extends _0x5aed76{constructor(){super();const _0x893e19=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0x893e19['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0x893e19['if']('isVisible','ck-hidden',_0x18a989=>!_0x18a989)],'style':{'left':_0x893e19['to']('left',_0x31dfdb=>T(_0x31dfdb)),'top':_0x893e19['to']('top',_0x1424ec=>T(_0x1424ec)),'width':_0x893e19['to']('width',_0x56811b=>T(_0x56811b))}}});}},G=class{_viewCollection;['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0x2e9628){this['_viewCollection']=_0x2e9628['ui']['view']['body'];}get containerElement(){return this['_viewCollection']['bodyCollectionContainer'];}destroy(){for(const _0x4da4d6 of this['_hiddenLines'])_0x4da4d6['destroy']();}['cleanLines'](){for(const _0x670805 of this['_visibleLines'])_0x670805['isVisible']=!0x1,this['_hiddenLines']['add'](_0x670805);this['_visibleLines']['clear']();}['showLine'](_0x25841f,_0x318e3c,_0x56ec4a,_0x12d693){let _0x2aaaea;this['_hiddenLines']['size']?(_0x2aaaea=_0x52eb00(this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0x2aaaea)):_0x2aaaea=new B(),_0x2aaaea['set']({'pageNumber':_0x12d693,'left':_0x25841f,'top':_0x318e3c,'width':_0x56ec4a}),_0x2aaaea['isVisible']=!0x0,this['_viewCollection']['has'](_0x2aaaea)||this['_viewCollection']['add'](_0x2aaaea),this['_visibleLines']['add'](_0x2aaaea);}setViewCollection(_0x573a4d){for(const _0x1cfc1f of[...this['_visibleLines'],...this['_hiddenLines']])this['_viewCollection']['has'](_0x1cfc1f)&&this['_viewCollection']['remove'](_0x1cfc1f);this['_viewCollection']=_0x573a4d;}};const V='ck-pagination_enabled';var M=class extends _0x1e4161{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',(_0x402868,_0x2f3e06,_0x414e58)=>{_0x414e58||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](V,_0x414e58);});}destroy(){this['_toggleEditingRootsClass'](V,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0x23ff63){if(!this['isEnabled'])return;const _0x4c3766=_0x23ff63>0x1?this['_getPageBreakLineOffset'](_0x23ff63-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0x4c3766-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':_0x3a8cd5['isMotionReduced']?'instant':'smooth'});}setupScrollableAncestor(){const _0x39747c=this['editor'],_0x5cbbc3=this['_getAttachedDomRoot']();_0x5cbbc3?(this['_scrollableEditingRootDomAncestor']&&_0x39747c['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=_0x1cf72b(_0x5cbbc3),_0x39747c['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new _0x3a7e63(this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0x39747c['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0x38f3a6=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0x38f3a6['ui']['view']['listenTo'](_0x34425f['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0x38f3a6['ui']['once']('update',()=>this['_onUiReady']());}_getAttachedDomRoot(){for(const _0x194bf7 of this['editor']['editing']['view']['domRoots']['values']())if(_0x194bf7['isConnected'])return _0x194bf7;return null;}_updatePageBreakLines(){if(!this['isEnabled'])return;const _0x3d4a09=this['_getAttachedDomRoot'](),_0x48ddc3=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0x3d4a09||0x1==_0x48ddc3['length'])return void(this['pageNumber']=0x1);const _0x454975=new _0x5f3199(_0x3d4a09)['excludeScrollbarsAndBorders'](),_0x5907c6=new _0x5f3199(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0x4b4d1d=_0x5907c6['top']+_0x5907c6['height']/0x3;let _0x505a6c=!0x1;const _0x3c4dda=[];for(let _0x28d0a0=0x1;_0x28d0a0<_0x48ddc3['length'];_0x28d0a0++){const _0x58e066=this['_getPageBreakLineOffset'](_0x28d0a0,_0x5907c6);if(!_0x58e066)continue;const _0x2679ce=_0x5907c6['top']+_0x58e066-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0x3c4dda['push']({'pageOffsetTop':_0x2679ce,'domRootRect':_0x454975,'domScrollableRect':_0x5907c6,'pageNumber':_0x28d0a0}),_0x2679ce>_0x4b4d1d&&!_0x505a6c&&(this['pageNumber']=_0x28d0a0,_0x505a6c=!0x0);}this['_renderPageBreakLines'](_0x3c4dda),_0x505a6c||(this['pageNumber']=_0x48ddc3['length']);}['_renderPageBreakLines'](_0x399fb0){if(!_0x399fb0['length'])return;const {scrollX:_0x6268fc,scrollY:_0x1cf9ab}=_0x34425f['window'],_0x38078e=_0x301b5a(this['linesRepository']['containerElement']);let _0xc481c8,_0x1d465e;if(_0x38078e){const _0x1c90d1=new _0x5f3199(_0x38078e);_0xc481c8=_0x1c90d1['top']+_0x38078e['clientTop']-_0x38078e['scrollTop'],_0x1d465e=_0x1c90d1['left']+_0x38078e['clientLeft']-_0x38078e['scrollLeft'];}else _0xc481c8=-_0x1cf9ab,_0x1d465e=-_0x6268fc;for(const {domScrollableRect:_0x36d640,pageOffsetTop:_0x3a1a64,domRootRect:_0x546b0f,pageNumber:_0x56c169}of _0x399fb0)_0x36d640['top']<_0x3a1a64&&_0x3a1a64<_0x36d640['bottom']&&this['linesRepository']['showLine'](_0x546b0f['left']-_0x1d465e,_0x3a1a64-_0xc481c8,_0x546b0f['width'],_0x56c169+0x1);}_getPageBreakLineOffset(_0x55a3c4,_0x3054f8=null){const _0x4d046e=this['_paginationLookupPlugin']['pageBreaks'][_0x55a3c4]['offset'];return _0x4d046e?(_0x3054f8||(_0x3054f8=new _0x5f3199(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0x4d046e-_0x3054f8['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}_toggleEditingRootsClass(_0x36ea70,_0x5ced9c=!0x0){const _0xccff50=this['editor']['editing']['view'];_0xccff50['change'](_0x12262d=>{for(const _0x20442d of _0xccff50['document']['roots'])_0x5ced9c?_0x12262d['addClass'](_0x36ea70,_0x20442d):_0x12262d['removeClass'](_0x36ea70,_0x20442d);});}};function $(_0x4ae63a,_0x2f3bdf,..._0x27a33c){const t=_0x4ae63a['t'];switch(_0x2f3bdf){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)',..._0x27a33c);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 _0x2f3bdf;}}var j=class extends _0x1e4161{['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 _0x1a81cb=this['editor']['plugins']['get']('Pagination'),_0x5c8d38=this['editor']['plugins']['get'](v),_0x179a19=this['editor']['plugins']['get'](M);this['bind']('isEnabled')['to'](_0x1a81cb),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0x179a19),this['listenTo'](_0x5c8d38,'change:pageBreaks',(_0x2ea64f,_0x3705a1,_0x5b5481,_0x5290ff)=>{this['totalPages']=_0x5b5481['length'],this['_updatePageBreakMarkers'](_0x5b5481,_0x5290ff);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey'),this['_licenseKeyCheckInterval']=setInterval(()=>{const _0x500c49=[this['editor']];for(const _0x160744 of _0x500c49){let _0x3e76ee;for(const _0x4c761f in _0x160744){const _0x464387=_0x4c761f,_0x235b07=_0x160744[_0x464387];if('paginationLicenseKeyValid'==_0x235b07||'paginationLicenseKeyInvalid'==_0x235b07||'paginationLicenseKeyExpired'==_0x235b07||'paginationLicenseKeyDomainLimit'==_0x235b07||'paginationLicenseKeyNotAllowed'==_0x235b07||'paginationLicenseKeyEvaluationLimit'==_0x235b07||'paginationLicenseKeyUsageLimit'==_0x235b07){delete _0x160744[_0x464387],_0x3e76ee=_0x235b07,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0x3e76ee&&_0x160744['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0x3e76ee&&_0x160744['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0x3e76ee&&_0x160744['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0x3e76ee&&_0x160744['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0x3e76ee&&_0x160744['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyUsageLimit'==_0x3e76ee&&_0x160744['_showLicenseError']('usageLimit');}},0x3e8);}destroy(){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0x168e01){this['isEnabled']&&this['editor']['plugins']['get'](M)['scrollToPage'](this['_validatePageNumber'](_0x168e01));}moveSelectionToPage(_0x15a928){if(!this['isEnabled'])return;const _0x24be11=this['editor'],_0x5af960=this['editor']['plugins']['get'](v)['pageBreaks'][_0x15a928-0x1];_0x5af960&&_0x24be11['model']['change'](_0x5d2c5e=>{switch(_0x5af960['type']){case'manual':{const _0x4ae0bd=_0x24be11['model']['schema']['getNearestSelectionRange'](_0x5af960['modelRange']['end'],'forward');_0x5d2c5e['setSelection'](_0x4ae0bd);break;}case'element':{const _0x3265da=_0x24be11['model']['schema']['getNearestSelectionRange'](_0x5af960['modelRange']['start'],'forward');_0x5d2c5e['setSelection'](_0x3265da);break;}case'text':{const _0x226057=_0x5af960['modelRange']['start'];if(_0x226057['textNode']&&'\x20'===_0x226057['textNode']['data'][_0x226057['offset']]){const _0x446f5a=_0x5d2c5e['createPositionAt'](_0x226057['parent'],_0x226057['offset']+0x1);_0x5d2c5e['setSelection'](_0x446f5a);}else _0x5d2c5e['setSelection'](_0x5af960['modelRange']);}}_0x24be11['editing']['view']['focus']();});}goToNextPage(){const _0x5ca8df=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0x5ca8df),this['scrollToPage'](_0x5ca8df);}['goToPreviousPage'](){const _0x4d1a1f=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0x4d1a1f),this['scrollToPage'](_0x4d1a1f);}_updatePageBreakMarkers(_0x456d33,_0x5d4142){const _0x5b4d6e=this['editor']['model'];this['isEnabled']&&_0x5b4d6e['change'](_0x2610ab=>{for(let _0x3365c7=0x1;_0x3365c7<_0x456d33['length'];_0x3365c7++){const _0x2aa3cb=_0x456d33[_0x3365c7]['modelRange'],_0x20daf7='pagination:'+(_0x3365c7+0x1);_0x5b4d6e['markers']['has'](_0x20daf7)?_0x2610ab['updateMarker'](_0x20daf7,{'range':_0x2aa3cb}):_0x2610ab['addMarker'](_0x20daf7,{'range':_0x2aa3cb,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0x56d7ea=_0x456d33['length'];_0x56d7ea<_0x5d4142['length'];_0x56d7ea++){const _0x24c5ac='pagination:'+(_0x56d7ea+0x1);_0x5b4d6e['markers']['has'](_0x24c5ac)&&_0x2610ab['removeMarker'](_0x24c5ac);}});}_setUpDataDowncastConversion(){this['editor']['conversion']['for']('dataDowncast')['add'](_0x3f6763=>{_0x3f6763['on']('addMarker:pagination',(_0x51f069,{markerRange:_0x438478,markerName:_0x246ca1},_0x40ce59)=>{if(!_0x40ce59['options']['pagination'])return;if(!_0x40ce59['consumable']['consume'](_0x438478,_0x51f069['name']))return;const _0x421b98=_0x438478['getContainedElement']();let _0x539797=_0x421b98?_0x40ce59['mapper']['toViewElement'](_0x421b98):null;if(!_0x539797){const _0x40e012=_0x438478['start'];if(_0x40ce59['schema']['checkChild'](_0x40e012,'$text')){const _0x136c80=_0x40ce59['mapper']['toViewPosition'](_0x40e012);_0x539797=_0x40ce59['writer']['createContainerElement']('span'),_0x539797['getFillerOffset']=()=>null,_0x40ce59['writer']['insert'](_0x136c80,_0x539797);}else{const _0x5a57df=_0x40e012['nodeAfter'];_0x539797=_0x40ce59['mapper']['toViewElement'](_0x5a57df);}}for(;_0x539797['parent']!==_0x539797['root']&&0x0===_0x539797['index'];)_0x539797=_0x539797['parent'];const _0x773f58=_0x246ca1['substring'](0xb);_0x539797['hasClass']('page-break')||(_0x40ce59['writer']['setStyle']('page-break-before','always',_0x539797),_0x40ce59['writer']['setAttribute']('data-pagination-page',_0x773f58,_0x539797),_0x40ce59['mapper']['bindElementToMarker'](_0x539797,_0x246ca1)),_0x51f069['stop']();});});}_setupKeystrokes(){const _0x533d86=this['editor'];_0x533d86['keystrokes']['set']('Shift+Pageup',(_0xa1b72d,_0x58a269)=>{this['goToPreviousPage'](),_0x58a269();}),_0x533d86['keystrokes']['set']('Shift+Pagedown',(_0x4369ba,_0x67b0f6)=>{this['goToNextPage'](),_0x67b0f6();}),_0x533d86['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':$(_0x533d86['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':$(_0x533d86['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':$(_0x533d86['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}_validatePageNumber(_0x2432a3){return _0x2432a3<0x1&&(_0x2432a3=0x1),_0x2432a3>this['totalPages']&&(_0x2432a3=this['totalPages']),_0x2432a3;}},q=class extends _0x5aed76{['pageNumberView'];constructor(_0x297bc8){super(_0x297bc8);const _0x1a1c06=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new _0x417777(_0x297bc8,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0xc614bb=>$(_0x297bc8,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0xc614bb)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0x59f75c=>!_0x59f75c),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0x1a1c06['if']('isEnabled','ck-disabled',_0x1d10c8=>!_0x1d10c8)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0x1a1c06['to']('totalPages')}]}]});}['render'](){super['render']();const _0x4b611f=this['pageNumberView']['element'],_0x5cd8bf=_0x1c8e1a=>{this['pageNumberView']['element']['value']=String(_0x1c8e1a);};_0x5cd8bf(this['pageNumber']),this['on']('change:pageNumber',(_0x139993,_0xd43bd7,_0x1b2088)=>{_0x5cd8bf(_0x1b2088);}),this['listenTo'](_0x4b611f,'keydown',(_0x4c3da9,_0x12a341)=>{if('ArrowUp'===_0x12a341['key']||'ArrowDown'===_0x12a341['key'])return void _0x12a341['stopPropagation']();if(_0x12a341['keyCode']!==_0x31e909['enter'])return;_0x12a341['preventDefault']();const _0x4ea152=_0x4b611f['valueAsNumber'];Number['isNaN'](_0x4ea152)?_0x4b611f['value']=String(this['pageNumber']):(_0x4b611f['checkValidity']()?this['pageNumber']=_0x4ea152:_0x4ea152>this['totalPages']?(this['pageNumber']=this['totalPages'],_0x4b611f['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0x4b611f['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0x4b611f,'blur',()=>{_0x4b611f['value']=String(this['pageNumber']);}),this['listenTo'](_0x4b611f,'focus',()=>{this['pageNumberView']['select']();});}['focus'](){this['pageNumberView']['element']['focus']();}},F=class extends _0x1e4161{static get['pluginName'](){return'PaginationUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const _0x4dc9ea=this['editor'],_0x5dc2e9=_0x4dc9ea['plugins']['get']('PaginationEditing');_0x4dc9ea['ui']['componentFactory']['add']('pageNavigation',_0x5dc22d=>{const _0xa347e9=new q(_0x5dc22d);return _0xa347e9['bind']('pageNumber')['to'](_0x5dc2e9),_0xa347e9['bind']('totalPages')['to'](_0x5dc2e9),_0xa347e9['bind']('isEnabled')['to'](_0x5dc2e9),_0xa347e9['on']('navigation',(_0x4f004c,_0x2c14c9)=>{_0x5dc2e9['moveSelectionToPage'](_0x2c14c9),_0x5dc2e9['scrollToPage'](_0x2c14c9);}),_0xa347e9;}),_0x4dc9ea['ui']['componentFactory']['add']('nextPage',_0x4001ce=>{const _0x44c842=new _0x11da14(_0x4001ce);return _0x44c842['isEnabled']=!0x0,_0x44c842['label']=$(_0x4dc9ea['locale'],'Go\x20to\x20next\x20page'),_0x44c842['icon']=_0x1cdfce,_0x44c842['tooltip']=!0x0,_0x44c842['keystroke']='Shift+PageDown',_0x44c842['bind']('isEnabled')['to'](_0x5dc2e9),this['listenTo'](_0x44c842,'execute',()=>{_0x5dc2e9['goToNextPage']();}),_0x44c842;}),_0x4dc9ea['ui']['componentFactory']['add']('previousPage',_0x283cc9=>{const _0x405f35=new _0x11da14(_0x283cc9);return _0x405f35['isEnabled']=!0x0,_0x405f35['label']=$(_0x4dc9ea['locale'],'Go\x20to\x20previous\x20page'),_0x405f35['icon']=_0x154c5b,_0x405f35['tooltip']=!0x0,_0x405f35['keystroke']='Shift+PageUp',_0x405f35['bind']('isEnabled')['to'](_0x5dc2e9),this['listenTo'](_0x405f35,'execute',()=>{_0x5dc2e9['goToPreviousPage']();}),_0x405f35;});}},H=class extends _0x1e4161{static get['pluginName'](){return'Pagination';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get requires(){return[j,F];}constructor(_0x86c44c){super(_0x86c44c),this['isEnabled']=!0x1;}init(){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x38f008=this['editor']['plugins']['get'](j);this['bind']('pageNumber')['to'](_0x38f008),this['bind']('totalPages')['to'](_0x38f008),_0x3a8cd5['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0x2c6eb0){this['editor']['plugins']['get'](j)['scrollToPage'](_0x2c6eb0);}};export{H as Pagination,M as PaginationRenderer};
|
|
23
|
+
import{Plugin as _0x1bd894}from'@ckeditor/ckeditor5-core';import{ButtonView as _0x13f1c6,InputNumberView as _0x4a3fb3,View as _0x13c7e2}from'@ckeditor/ckeditor5-ui';import{Rect as _0x3f915f,ResizeObserver as _0x1313b1,env as _0x2dcecc,findClosestScrollableAncestor as _0x124803,first as _0x4a7337,getParentElement as _0x142b49,getParentNode as _0x2622b2,getPositionedAncestor as _0x37a75b,global as _0x3d873,keyCodes as _0x2ffa8b,logWarning as _0x1477b3,toUnit as _0x18af12,uid as _0x5f35e2}from'@ckeditor/ckeditor5-utils';import{debounce as _0x2ade6d}from'es-toolkit/compat';import{IconArrowDown as _0x30bf85,IconArrowUp as _0x52a062}from'@ckeditor/ckeditor5-icons';var v=class extends _0x1bd894{_recalculatePageBreaksDebounced=_0x2ade6d(()=>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 _0x1477b3('pagination-config-not-found',this['editor']['config']);const _0x1421ed=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0x1421ed),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0x32a0e1,_0x4b4b18,_0x1e6172)=>{_0x1e6172&&this['_recalculatePageBreaksDebounced']();});}afterInit(){!async function(_0x251a44){const _0x300629='vsmL4TPpuR53MlqSj2VXwH9oEAN8FxJtGUOdbDCZ01ihyfkBQY6acgz7rIeWKn',_0x44bd7a=0x79770,_0x2cbcc2={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'};async function _0x225f23(_0x1a803d){const _0xf65e49=new window['Promise'](_0x3e519d=>{_0x1a803d['once']('ready',_0x3e519d);}),_0x527585=window['Date']['now'](),_0x202b05=_0x1a803d['config']['get']('licenseKey');async function _0x1f9267(){let _0xd9dd55,_0x504d81=null,_0x144c61=null;try{return'GPL'==_0x202b05?'NotAllowed':(_0xd9dd55=_0x1e8628(),_0xd9dd55?(_0xd9dd55['usageEndpoint']&&(_0x144c61=_0x541834(_0xd9dd55['usageEndpoint'],_0xd9dd55['jti'])),await _0x5c4694()?_0x355f34()?_0x29da57()?'Expired':_0x32c905()?('evaluation'==_0xd9dd55['licenseType']&&(_0x504d81=_0x387399('EvaluationLimit')),await _0x142f7()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x29da57(){const _0x78f1e8=['evaluation','trial']['includes'](_0xd9dd55['licenseType'])?_0x527585/0x3e8:0xe10*_0x44bd7a;return _0xd9dd55['exp']<_0x78f1e8;}function _0x355f34(){const _0x3a6527=_0xd9dd55['features'];return!!_0x3a6527&&(!!_0x3a6527['includes']('*')||!!_0x3a6527['includes']('PAG'));}function _0x32c905(){const _0x38fb2d=_0xd9dd55['licensedHosts'];if(!_0x38fb2d||0x0==_0x38fb2d['length'])return!0x0;const {hostname:_0x11cf18}=new URL(window['location']['href']);if(_0x38fb2d['includes'](_0x11cf18))return!0x0;const _0x513702=_0x11cf18['split']('.');return _0x38fb2d['filter'](_0x467ec8=>_0x467ec8['includes']('*'))['map'](_0x299154=>_0x299154['split']('.'))['filter'](_0x270a8e=>_0x270a8e['length']<=_0x513702['length'])['map'](_0x462e67=>Array(_0x513702['length']-_0x462e67['length'])['fill']('*'===_0x462e67[0x0]?'*':'')['concat'](_0x462e67))['some'](_0x3e132a=>_0x513702['every']((_0x592c0c,_0x58f6f8)=>_0x3e132a[_0x58f6f8]===_0x592c0c||'*'===_0x3e132a[_0x58f6f8]));}function _0x142f7(){return _0x504d81&&_0x144c61?new window['Promise']((_0x5a54af,_0x4cd93b)=>{_0x504d81['then'](_0x5a54af,_0x4cd93b),_0x144c61['then'](_0x5108b3=>{'Valid'!=_0x5108b3&&_0x5a54af(_0x5108b3);},_0x4cd93b);}):_0x504d81||_0x144c61||'Valid';}}function _0x541834(_0x161e9e,_0x4511ab){return new window['Promise'](_0x2ea309=>{if(_0x1d797f())return _0x2ea309('Valid');_0x481ed0(),_0x1a803d['decorate']('_sendUsageRequest');let _0x17f481=!0x1;const _0x206bd7=_0x5f35e2();function _0x545189(_0x450e49){return!!_0x450e49&&('object'==typeof _0x450e49||'function'==typeof _0x450e49)&&'function'==typeof _0x450e49['then']&&'function'==typeof _0x450e49['catch'];}function _0x5ad30f(_0x1af684){_0x5b4d3d(_0x1af684)['then'](_0x417f10=>_0x417f10&&'ok'==_0x417f10['status']?_0xfbe5a6(_0x4d822b(_0x206bd7+_0x4511ab))!=_0x417f10['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x3f9cd2=>(_0x21feca(),_0x3f9cd2),()=>{const _0x5808e7=_0x593478();return null==_0x5808e7?(_0x21feca(),'Valid'):_0x527585-_0x5808e7>0x240c8400?'UsageLimit':'Valid';})['then'](_0x2ea309)['catch'](()=>{_0x2ea309('UsageLimit');});const _0xf13806=0x36ee80;function _0x21feca(){const _0x42aeb9='llct-'+_0xfbe5a6(_0x4d822b(_0x161e9e)),_0x567c44=_0x4a3ef5(_0xfbe5a6(window['Math']['ceil'](_0x527585/_0xf13806)));window['localStorage']['setItem'](_0x42aeb9,_0x567c44);}function _0x593478(){const _0x392b94='llct-'+_0xfbe5a6(_0x4d822b(_0x161e9e)),_0xee387e=window['localStorage']['getItem'](_0x392b94);return _0xee387e?window['parseInt'](_0x4a3ef5(_0xee387e),0x10)*_0xf13806:null;}function _0x5b4d3d(_0x45f2f8){return new window['Promise']((_0x11377a,_0x4f8272)=>{_0x45f2f8['then'](_0x11377a,_0x4f8272),window['setTimeout'](_0x4f8272,0x1d4c0);});}}_0x1a803d['on']('_sendUsageRequest',(_0x345172,_0x3e78ac)=>{if(_0x3e78ac[0x0]!=_0x161e9e)return _0x2ea309('UsageLimit');_0x3e78ac[0x1]={..._0x3e78ac[0x1],'requestId':_0x206bd7};},{'priority':'high'}),_0x1a803d['on']('_sendUsageRequest',_0x104709=>{_0x545189(_0x104709['return'])&&(_0x17f481=!0x0,_0x5ad30f(_0x104709['return']));},{'priority':'low'}),_0xf65e49['then'](()=>{_0x17f481||_0x2ea309('UsageLimit');});});function _0x1d797f(){return'auto'==_0x1a803d['editing']['view']['_overlayModeHint'];}function _0x481ed0(){_0x1a803d['editing']['view']['_overlayModeHint']='auto';}}function _0x387399(_0x375008){const _0x536c00=[new window['Promise'](_0x4f52fc=>setTimeout(_0x4f52fc,0x93ecc)),_0xf65e49['then'](()=>new window['Promise'](_0x4da896=>{let _0x27d0ca=0x0;_0x1a803d['model']['on']('applyOperation',(_0x1a9930,_0x519090)=>{_0x519090[0x0]['isDocumentOperation']&&_0x27d0ca++,0x5e8==_0x27d0ca&&(_0x4da896(),_0x1a9930['off']());});}))];return window['Promise']['race'](_0x536c00)['then'](()=>_0x375008);}async function _0x234620(){await _0xf65e49,_0x1a803d['model']['change']=_0x3399b6,_0x1a803d['model']['enqueueChange']=_0x3399b6,_0x1a803d['enableReadOnlyMode']('model');}function _0x4666dd(_0x502acd){const _0x56f890=_0x562032();_0x1a803d[_0x56f890]='paginationLicenseKey'+_0x502acd,'Valid'!=_0x502acd&&_0x234620();}function _0x562032(){const _0x5c01a9=window['String'](window['performance']['now']())['replace']('.','');let _0x2dbe33='v';for(let _0xddd4bb=0x0;_0xddd4bb<_0x5c01a9['length'];_0xddd4bb+=0x2){let _0x4621bb=window['parseInt'](_0x5c01a9['substring'](_0xddd4bb,_0xddd4bb+0x2));_0x4621bb>=0x3e&&(_0x4621bb-=0x3e),_0x2dbe33+=_0x300629[_0x4621bb];}return _0x2dbe33;}function _0x1e8628(){const _0x5b8337=_0x202b05['split']('.');if(0x3!=_0x5b8337['length'])return null;return _0xa510bd(_0x5b8337[0x1]);function _0xa510bd(_0x34c368){const _0x5cc2d5=_0x29e447(_0x34c368);return _0x5cc2d5&&_0x296b8a()?_0x5cc2d5:null;function _0x296b8a(){const _0x89cb68=_0x5cc2d5['jti'],_0x2abb75=window['parseInt'](_0x89cb68['substring'](_0x89cb68['length']-0x8),0x10),_0x5b92e3={..._0x5cc2d5,'jti':_0x89cb68['substring'](0x0,_0x89cb68['length']-0x8)};return delete _0x5b92e3['vc'],_0x4d822b(_0x5b92e3)==_0x2abb75;}}}async function _0x5c4694(){let _0xe1285d=!0x0;try{const [_0x22a1e2,_0xdda4b3,_0xc7229a]=_0x202b05['split']('.');return _0x32bb97(_0x22a1e2),await _0x91f083(_0x22a1e2,_0xdda4b3,_0xc7229a),_0xe1285d;}catch{return!0x1;}function _0x32bb97(_0x2e8e89){const _0x33b578=_0x29e447(_0x2e8e89);_0x33b578&&'ES256'==_0x33b578['alg']||(_0xe1285d=!0x1);}async function _0x91f083(_0x503b04,_0x290a14,_0x371b6e){const _0x3b5265=window['Uint8Array']['from'](_0xf3c1c1(_0x371b6e),_0x5b4d9e=>_0x5b4d9e['charCodeAt'](0x0)),_0xe37172=new window['TextEncoder']()['encode'](_0x503b04+'.'+_0x290a14),_0x33b130=window['crypto']['subtle'];if(!_0x33b130)return;const _0x59185c=await _0x33b130['importKey']('jwk',_0x2cbcc2,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x33b130['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x59185c,_0x3b5265,_0xe37172)||(_0xe1285d=!0x1);}}function _0x29e447(_0x221ded){return _0x221ded['startsWith']('ey')?JSON['parse'](_0xf3c1c1(_0x221ded)):null;}function _0xf3c1c1(_0x253150){return window['atob'](_0x253150['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x4d822b(_0x2f2d84){let _0x34e70b=0x1505;function _0x389078(_0x54f9ac){for(let _0x17508d=0x0;_0x17508d<_0x54f9ac['length'];_0x17508d++){const _0x8eeb7b=_0x54f9ac['charCodeAt'](_0x17508d);_0x34e70b=(_0x34e70b<<0x5)+_0x34e70b+_0x8eeb7b,_0x34e70b&=_0x34e70b;}}function _0x74cc8d(_0x2456b9){Array['isArray'](_0x2456b9)?_0x2456b9['forEach'](_0x74cc8d):_0x2456b9&&'object'==typeof _0x2456b9?Object['entries'](_0x2456b9)['sort']()['forEach'](([_0x203720,_0x57070d])=>{_0x389078(_0x203720),_0x74cc8d(_0x57070d);}):_0x389078(window['String'](_0x2456b9));}return _0x74cc8d(_0x2f2d84),_0x34e70b>>>0x0;}function _0xfbe5a6(_0x246bc4){return _0x246bc4['toString'](0x10)['padStart'](0x8,'0');}function _0x4a3ef5(_0x57c901){return _0x57c901['split']('')['reverse']()['join']('');}function _0x3399b6(){}_0x4666dd(await _0x1f9267());}_0x225f23(_0x251a44['editor']);}(this);}destroy(){super['destroy'](),this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']&&(this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0x48c57a=this['editor'],_0x1a653f=_0x48c57a['editing']['view'],_0x581926=this['_getAttachedDomRoot']();if(!_0x581926||!_0x581926['hasChildNodes']())return void _0x48c57a['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0x3b34b0,pageHeight:_0x19205c}=_0x48c57a['config']['get']('pagination'),{top:_0x4c97aa,left:_0x2e921f,bottom:_0x1abe66,right:_0x55740a}=this['_configuredPaddings'];this['_pagesContainer']=new _0x13c7e2(_0x48c57a['locale']);const _0x18f8b3=this['_pagesContainer'];_0x18f8b3['set']('class',''),_0x18f8b3['setTemplate']({'tag':'div','attributes':{'style':{'columnWidth':_0x3b34b0,'width':_0x3b34b0,'height':'calc(\x20'+_0x19205c+'\x20-\x20'+_0x4c97aa+'\x20-\x20'+_0x1abe66+'\x20+\x200.5mm\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0x55740a+'\x200\x20'+_0x2e921f,'columnGap':'calc('+_0x2e921f+'\x20+\x20'+_0x55740a+'\x20+\x20100px)','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'class':_0x18f8b3['bindTemplate']['to']('class')}}),_0x18f8b3['render'](),_0x2622b2(_0x581926)['insertBefore'](_0x18f8b3['element'],_0x581926['nextSibling']),this['listenTo'](_0x1a653f,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}_getAttachedDomRoot(){for(const _0x2f0cc9 of this['editor']['editing']['view']['domRoots']['values']())if(_0x2f0cc9['isConnected'])return _0x2f0cc9;return null;}_recalculatePageBreaks(){if(!this['isEnabled'])return Promise['resolve']();const _0x37b3b9=this['editor']['editing']['view'],_0x1700cd=this['_pagesContainer'],_0x3a9d13=this['_getAttachedDomRoot']();if(!_0x3a9d13||!_0x1700cd)return Promise['resolve']();for(_0x1700cd['class']=['ck-reset','ck-pagination-view',..._0x3a9d13['classList']]['join']('\x20');_0x1700cd['element']['firstChild'];)_0x1700cd['element']['firstChild']['remove']();const _0x1b9ccf=Array['from'](_0x37b3b9['domRoots']);_0x1b9ccf['sort'](([,_0x325756],[,_0xec514b])=>_0x325756['compareDocumentPosition'](_0xec514b)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0x226746,_0x250341]of _0x1b9ccf){const _0x179a9d=_0x250341['cloneNode'](!0x0);'attributeStyleMap'in _0x179a9d&&_0x179a9d['attributeStyleMap']['clear'](),_0x179a9d['dataset']['rootName']=_0x226746,_0x179a9d['className']='ck-content\x20ck-pagination_enabled',_0x179a9d['removeAttribute']('id'),_0x179a9d['tabIndex']=-0x1,_0x1700cd['element']['append'](_0x179a9d);}const _0x113da7=Array['from'](_0x1700cd['element']['querySelectorAll']('img'));return function(_0x4fa3cf){return Promise['all'](_0x4fa3cf['map'](_0x57ad19=>Promise['race']([N(_0x57ad19),_(0x3e8)])));}(_0x113da7)['then'](()=>{for(const _0x34083d of _0x113da7['filter'](_0x5118a0=>!_0x5118a0['closest']('table')))if(_0x34083d['offsetParent']){const _0xd4c079=_0x3d873['window']['getComputedStyle'](_0x34083d),_0x450cfc=_0x3d873['document']['createElement']('span');for(const _0x19b227 of _0xd4c079)_0x450cfc['style']['setProperty'](_0x19b227,_0xd4c079[_0x19b227]);_0x450cfc['style']['backgroundImage']='url(\x20'+_0x34083d['src']+'\x20)',_0x450cfc['style']['breakInside']='avoid','PICTURE'==_0x34083d['parentElement']?.['tagName']?_0x34083d['parentElement']['replaceWith'](_0x450cfc):_0x34083d['replaceWith'](_0x450cfc);}return new Promise(_0x5ec1e7=>_0x3d873['window']['requestAnimationFrame'](()=>_0x5ec1e7()));})['then'](()=>{this['_updatePageBreaksData']();});}_updatePageBreaksData(){const _0x29a85a=this['_pagesContainer']['element'];if(!_0x29a85a['isConnected'])return;const _0x57940b=new _0x3f915f(_0x29a85a)['excludeScrollbarsAndBorders'](),_0x21335a=Math['floor'](_0x57940b['width']+0x64),_0x24d5ed=I(_0x29a85a,Math['floor'](_0x57940b['left']-_0x29a85a['scrollLeft']),_0x21335a,_0x57940b['height'])['map'](_0x5ea084=>this['_mapPageStarterInfoToPageBreakInfo'](_0x5ea084))['filter'](_0x43cbce=>!0x1!==_0x43cbce);_0x24d5ed['every'](_0x52756d=>!!_0x52756d)&&(this['pageBreaks']=_0x24d5ed);}_mapPageStarterInfoToPageBreakInfo(_0x282a90){const _0x1a59f8=this['editor']['editing']['view'],_0x26b0ed=this['editor']['editing']['mapper'],_0x2861ba=_0x1a59f8['domConverter'],_0x2423fc=_0x282a90['path']['shift'](),_0x5f16dc=this['_pagesContainer']['element']['childNodes'][_0x2423fc]['dataset']['rootName'],_0x2e7e35=_0x1a59f8['getDomRoot'](_0x5f16dc);if(!_0x2e7e35)return null;const _0x5eef41=function(_0x309b8d,_0x5d8a5b){let _0x54eb9e=_0x309b8d;for(const _0xb4c505 of _0x5d8a5b['path']){if(!_0x54eb9e)return null;_0x54eb9e=_0x54eb9e['childNodes'][_0xb4c505];}return _0x54eb9e;}(_0x2e7e35,_0x282a90);if(!_0x5eef41)return null;const _0x3b6116=_0x2861ba['domPositionToView'](_0x5eef41,_0x282a90['textOffset']||0x0);return _0x3b6116?'manual'==_0x282a90['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0x3b6116,_0x5eef41):'text'==_0x282a90['type']&&_0x26b0ed['toModelPosition'](_0x3b6116)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0x3b6116,_0x5eef41,_0x282a90['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0x3b6116,_0x5eef41,_0x282a90['offset']):null;}_mapManualPageStarterInfoToPageBreakInfo(_0x15d522,_0x4cc506){const _0x1a60e5=this['editor']['model'],_0xc024da=this['editor']['editing']['mapper']['toModelElement'](_0x15d522['parent']),_0x28ad12=_0x1a60e5['createRangeOn'](_0xc024da);return new k({'type':'manual','modelRange':_0x28ad12,'domNode':_0x4cc506,'offset':0x0});}_mapTextPageStarterInfoToPageBreakInfo(_0x286d8c,_0x2668f1,_0x2bf5e3){const _0x409d19=this['editor']['model'],_0x19974d=this['editor']['editing']['mapper'],_0x4b8458=this['editor']['editing']['view']['domConverter'];if(_0x2bf5e3>=_0x2668f1['length'])return null;const _0x1af850=_0x19974d['toModelPosition'](_0x286d8c),_0xdf6770=_0x409d19['createRange'](_0x1af850),_0x401441=_0x19974d['findMappedViewAncestor'](_0x286d8c),_0x57fd43=_0x4b8458['mapViewToDom'](_0x401441);return new k({'type':'text','modelRange':_0xdf6770,'domNode':_0x2668f1,'offset':L(_0x2668f1,_0x2bf5e3,_0x57fd43)});}_mapElementPageStarterInfoToPageBreakInfo(_0x5e66bb,_0x5cc84f,_0x150d11){const _0x1e4520=this['editor']['model'],_0x56e336=this['editor']['editing'],_0x30add7=_0x56e336['mapper'],_0x3a5d9b=_0x56e336['view']['domConverter'],_0x2a1ebb=_0x30add7['findMappedViewAncestor'](_0x5e66bb),_0x7ef549=_0x30add7['toModelElement'](_0x2a1ebb);if(!_0x7ef549||_0x7ef549['is']('rootElement'))return!0x1;const _0x403b2a=function(_0x565034){const _0x561f48=_0x565034['parent'],_0xcfb184=_0x561f48['root']['document']['model'],_0x39edf5=_0x561f48['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0x2f313f=null;for(const _0x4bf072 of _0x39edf5){if(_0x4bf072['is']('rootElement'))return _0x2f313f;if(!_0xcfb184['createPositionBefore'](_0x4bf072)['isTouching'](_0x565034))return _0x2f313f;_0x2f313f=_0x4bf072;}}(_0x1e4520['createPositionBefore'](_0x7ef549))||_0x7ef549;let _0x31e447=_0x30add7['toViewElement'](_0x403b2a),_0x2b2558=_0x1e4520['createRangeOn'](_0x403b2a);const _0xf88a8c=_0x1e4520['createPositionBefore'](_0x403b2a)['nodeBefore'];if(_0xf88a8c&&_0xf88a8c['is']('element','imageBlock')){const _0x4679a6=_0x30add7['toViewElement'](_0xf88a8c),_0x5bf3b7=_0x3a5d9b['mapViewToDom'](_0x4679a6),_0x1c6935=_0x3d873['window']['getComputedStyle'](_0x5bf3b7)['float'];'left'!=_0x1c6935&&'right'!=_0x1c6935||(_0x2b2558=_0x1e4520['createRangeOn'](_0xf88a8c));}for(;_0x31e447['parent']!==_0x31e447['root']&&0x0===_0x31e447['index'];)_0x31e447=_0x31e447['parent'];const _0x1ab51a=new _0x3f915f(C(_0x5cc84f)?_0x5cc84f:E(_0x5cc84f)),_0x576e7f=_0x150d11?_0x1ab51a['height']-_0x150d11:0x0,_0x372674=_0x3a5d9b['mapViewToDom'](_0x31e447),_0x1ea8ef=new _0x3f915f(_0x372674);return new k({'type':'element','modelRange':_0x2b2558,'domNode':_0x372674,'offset':Math['round'](_0x576e7f)||_0x2a1ebb!=x(_0x5e66bb)?_0x576e7f+_0x1ab51a['top']-_0x1ea8ef['top']:0x0});}get['_configuredPaddings'](){const _0x57afa8=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0x57afa8);}static _findPageStarterInfos(_0x463757,_0x5c8e15,_0x506694,_0x2e9dcb,_0x57b4d6){return I(_0x463757,_0x5c8e15,_0x506694,_0x2e9dcb,_0x57b4d6);}},k=class{type;['modelRange'];['_domNode'];_offset;constructor({type:_0x564fa5,modelRange:_0x5553c3,domNode:_0x217478,offset:_0xcb8542}){this['type']=_0x564fa5,this['modelRange']=_0x5553c3,this['_domNode']=_0x217478,this['_offset']=_0xcb8542;}get offset(){if(!this['_domNode']['isConnected'])return 0x0;const _0x3af3ad=new _0x3f915f(C(this['_domNode'])?this['_domNode']:E(this['_domNode']));return'manual'==this['type']?_0x3af3ad['top']+_0x3af3ad['height']/0x2:_0x3af3ad['top']+this['_offset'];}};function L(_0x5ba3c0,_0x11135e,_0x1ddef6){const _0x545fe7=E(_0x5ba3c0),_0x43e581=function(_0x36c47f){const _0x5d14cc=_0x3d873['document']['createRange']();return _0x5d14cc['selectNodeContents'](_0x36c47f),_0x5d14cc;}(_0x1ddef6);let _0x49106e;if(0x0==_0x11135e){const _0x9cc99c=_0x2622b2(_0x5ba3c0);_0x49106e=R(_0x43e581['startContainer'],_0x43e581['startOffset'],_0x9cc99c,Array['from'](_0x9cc99c['childNodes'])['indexOf'](_0x5ba3c0));}else _0x49106e=R(_0x43e581['startContainer'],_0x43e581['startOffset'],_0x5ba3c0,_0x11135e);const _0x2ed2dd=R(_0x5ba3c0,_0x11135e,_0x43e581['endContainer'],_0x43e581['endOffset']),_0x670a09=new _0x3f915f(_0x49106e)['bottom'];return(new _0x3f915f(_0x2ed2dd)['top']+_0x670a09)/0x2-new _0x3f915f(_0x545fe7)['top'];}function x(_0x20fcef){let _0x3f9ef7=_0x20fcef['parent'];for(;_0x3f9ef7['is']('$text')||_0x3f9ef7['is']('attributeElement');)_0x3f9ef7=_0x3f9ef7['parent'];return _0x3f9ef7;}function N(_0x50fbb7){return _0x50fbb7['hasAttribute']('width')&&_0x50fbb7['hasAttribute']('height')?Promise['resolve']():new Promise(_0x4e1390=>{function _0x53abe4(){_0x50fbb7['removeEventListener']('load',_0x53abe4),_0x50fbb7['removeEventListener']('error',_0x53abe4),_0x4e1390();}_0x50fbb7['complete']?_0x4e1390():(_0x50fbb7['addEventListener']('load',_0x53abe4),_0x50fbb7['addEventListener']('error',_0x53abe4));});}function _(_0x17422e){return new Promise(_0x173fbd=>setTimeout(_0x173fbd,_0x17422e));}function E(_0x12f5d9){const _0x10388e=_0x3d873['document']['createRange']();return _0x10388e['selectNode'](_0x12f5d9),_0x10388e;}function S(_0x55829e,_0xc68a8c,_0x24094e){const _0x4dfb7f=_0x3d873['document']['createRange']();return _0x4dfb7f['setStart'](_0x55829e,_0xc68a8c),_0x4dfb7f['setEnd'](_0x55829e,_0x24094e),_0x4dfb7f;}function R(_0x20931c,_0x54609d,_0x3e4809,_0x5c9b7c){const _0x15d24c=_0x3d873['document']['createRange']();return _0x15d24c['setStart'](_0x20931c,_0x54609d),_0x15d24c['setEnd'](_0x3e4809,_0x5c9b7c),_0x15d24c;}function I(_0x10bc32,_0x12b0c5,_0x44657a,_0x5c7f0b,_0x486050){const _0x2e3d99=[];for(const [_0x3ed117,_0xf5d4bf]of _0x10bc32['childNodes']['entries']()){let _0x2ee26c=[];C(_0xf5d4bf)&&_0xf5d4bf['offsetParent']&&['static','relative']['includes'](_0x3d873['window']['getComputedStyle'](_0xf5d4bf)['position'])?_0x2ee26c=K(_0xf5d4bf,_0x3ed117,_0x12b0c5,_0x44657a,_0x5c7f0b,_0x486050):D(_0xf5d4bf)&&(_0x2ee26c=A(_0xf5d4bf,_0x3ed117,_0x12b0c5,_0x44657a,_0x486050)),_0x2ee26c['length']&&(_0x2e3d99['push'](..._0x2ee26c),_0x12b0c5+=_0x2ee26c['length']*_0x44657a,_0x486050=!0x1);}return _0x2e3d99;}function K(_0x55d63e,_0x3b2d90,_0x49465c,_0x187463,_0x1498d0,_0x4eaeec){const _0x298e22=[];var _0x44a7ad;if((_0x44a7ad=_0x55d63e['previousSibling'])&&C(_0x44a7ad)&&Boolean(_0x44a7ad['classList']['contains']('page-break')||_0x44a7ad['closest']('.page-break'))&&(_0x298e22['push']({'type':'manual','offset':0x0,'path':[_0x3b2d90-0x1]}),_0x4eaeec=!0x0),'table-row'==_0x3d873['window']['getComputedStyle'](_0x55d63e)['display']){let _0x567977=0x0,_0xd4627=!0x1;for(const _0x4b4d3f of _0x55d63e['getClientRects']())_0x567977+=_0x4b4d3f['height'],_0x4b4d3f['left']>=_0x49465c&&(_0xd4627=!0x0);if(_0x567977<_0x1498d0&&_0xd4627)return _0x4eaeec||_0x298e22['push']({'type':'element','offset':0x0,'path':[_0x3b2d90]}),_0x298e22;}const _0x1f7536=_0x55d63e['closest']('figure.image');if(_0x1f7536&&function(_0x589ba1){let _0x7414e8=!0x1;const _0x2d625d=_0x142b49(_0x589ba1)['dataset']['rootName'],_0x5018bf=_0x589ba1['nextElementSibling'],_0x37fc9b=_0x589ba1['previousElementSibling'],_0x3fbca7=_0x5018bf&&_0x3d873['window']['getComputedStyle'](_0x5018bf)['float'],_0x2c4fbd=_0x5018bf&&'ck-fake-selection-container'===_0x5018bf['className'];return!_0x2d625d||_0x5018bf||_0x37fc9b||(_0x7414e8=!0x0),_0x2d625d&&!_0x37fc9b&&_0x2c4fbd&&(_0x7414e8=!0x0),_0x2d625d&&!_0x37fc9b&&'none'!==_0x3fbca7&&(_0x7414e8=!0x0),!_0x7414e8;}(_0x1f7536)){const _0xf1d28c=_0x3d873['window']['getComputedStyle'](_0x1f7536)['float'];if('left'==_0xf1d28c||'right'==_0xf1d28c)return _0x298e22;}const _0x3c4e3a=I(_0x55d63e,_0x49465c,_0x187463,_0x1498d0,_0x4eaeec);if(_0x3c4e3a['length']){for(const _0x2915ca of _0x3c4e3a)_0x298e22['push']({'type':_0x2915ca['type'],'offset':_0x2915ca['offset'],'textOffset':_0x2915ca['textOffset'],'path':[_0x3b2d90,..._0x2915ca['path']]}),_0x49465c+=_0x187463;return _0x298e22;}return _0x298e22['push'](...function(_0x2ea13a,_0x2e25db,_0x5cb86b,_0x29090d,_0x399004){const _0x17426a=[];if('table-cell'==_0x3d873['window']['getComputedStyle'](_0x2ea13a)['display'])return[];const _0x440bf7=[];for(const _0x4d6e0d of _0x2ea13a['getClientRects']())if(_0x4d6e0d['left']>=_0x5cb86b){for(const _0x5d8984 of _0x440bf7)_0x5d8984['height']+=_0x4d6e0d['height'];_0x440bf7['push']({'height':_0x4d6e0d['height']}),_0x5cb86b+=_0x29090d;}for(const _0x38b524 of _0x440bf7)_0x399004||_0x17426a['push']({'type':'element','offset':_0x38b524['height'],'textOffset':0x0,'path':[_0x2e25db]}),_0x399004=!0x1;return _0x17426a;}(_0x55d63e,_0x3b2d90,_0x49465c,_0x187463,_0x4eaeec)),_0x298e22;}function A(_0x20bd5a,_0x1ddea4,_0x3e9c39,_0x5a15f7,_0x245753){const _0x545167=E(_0x20bd5a),_0x462967=[];let _0x2e563a=0x0;for(const _0x5c155d of _0x545167['getClientRects']())if(_0x5c155d['left']>=_0x3e9c39){const _0x3b376d=O(_0x20bd5a,_0x2e563a,_0x3e9c39,_0x5a15f7);_0x245753||_0x462967['push']({'type':'text','path':[_0x1ddea4],'textOffset':_0x3b376d}),_0x2e563a=_0x3b376d,_0x3e9c39+=_0x5a15f7,_0x245753=!0x1;}return _0x462967;}function O(_0x50372c,_0x3f1b83,_0x494834,_0x71a346){let _0x25c00c=_0x3f1b83,_0xed1676=_0x50372c['length'];for(;_0xed1676-_0x25c00c>0x1;){const _0x30c89d=Math['ceil']((_0x25c00c+_0xed1676)/0x2);U(S(_0x50372c,_0x25c00c,_0x30c89d),_0x494834,_0x71a346)?_0xed1676=_0x30c89d:_0x25c00c=_0x30c89d;}return _0x25c00c;}function U(_0x174938,_0x3bba32,_0x1b4141){for(const _0x38da8c of _0x174938['getClientRects']())if(_0x38da8c['left']>=_0x3bba32&&_0x38da8c['left']<_0x3bba32+_0x1b4141)return!0x0;return!0x1;}function C(_0x26ccee){return _0x26ccee['nodeType']==Node['ELEMENT_NODE'];}function D(_0x4fef86){return _0x4fef86['nodeType']==Node['TEXT_NODE'];}const T=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x18af12('px');var B=class extends _0x13c7e2{constructor(){super();const _0x5c59a0=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0x5c59a0['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0x5c59a0['if']('isVisible','ck-hidden',_0xe79dd5=>!_0xe79dd5)],'style':{'left':_0x5c59a0['to']('left',_0x5b7462=>T(_0x5b7462)),'top':_0x5c59a0['to']('top',_0x38e0c8=>T(_0x38e0c8)),'width':_0x5c59a0['to']('width',_0x1db869=>T(_0x1db869))}}});}},G=class{_viewCollection;['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0x48db4a){this['_viewCollection']=_0x48db4a['ui']['view']['body'];}get containerElement(){return this['_viewCollection']['bodyCollectionContainer'];}destroy(){for(const _0x48cc69 of this['_hiddenLines'])_0x48cc69['destroy']();}['cleanLines'](){for(const _0x17c47e of this['_visibleLines'])_0x17c47e['isVisible']=!0x1,this['_hiddenLines']['add'](_0x17c47e);this['_visibleLines']['clear']();}['showLine'](_0x5ceb2f,_0x4337d3,_0x342f22,_0x168660){let _0x588149;this['_hiddenLines']['size']?(_0x588149=_0x4a7337(this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0x588149)):_0x588149=new B(),_0x588149['set']({'pageNumber':_0x168660,'left':_0x5ceb2f,'top':_0x4337d3,'width':_0x342f22}),_0x588149['isVisible']=!0x0,this['_viewCollection']['has'](_0x588149)||this['_viewCollection']['add'](_0x588149),this['_visibleLines']['add'](_0x588149);}setViewCollection(_0x27219b){for(const _0x228ab6 of[...this['_visibleLines'],...this['_hiddenLines']])this['_viewCollection']['has'](_0x228ab6)&&this['_viewCollection']['remove'](_0x228ab6);this['_viewCollection']=_0x27219b;}};const V='ck-pagination_enabled';var M=class extends _0x1bd894{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',(_0x11d062,_0x323280,_0x5e9e04)=>{_0x5e9e04||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](V,_0x5e9e04);});}destroy(){this['_toggleEditingRootsClass'](V,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0x4d14d8){if(!this['isEnabled'])return;const _0x49f632=_0x4d14d8>0x1?this['_getPageBreakLineOffset'](_0x4d14d8-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0x49f632-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':_0x2dcecc['isMotionReduced']?'instant':'smooth'});}setupScrollableAncestor(){const _0xe48a05=this['editor'],_0x539105=this['_getAttachedDomRoot']();_0x539105?(this['_scrollableEditingRootDomAncestor']&&_0xe48a05['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=_0x124803(_0x539105),_0xe48a05['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new _0x1313b1(this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0xe48a05['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0x201aab=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0x201aab['ui']['view']['listenTo'](_0x3d873['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0x201aab['ui']['once']('update',()=>this['_onUiReady']());}_getAttachedDomRoot(){for(const _0x141a80 of this['editor']['editing']['view']['domRoots']['values']())if(_0x141a80['isConnected'])return _0x141a80;return null;}_updatePageBreakLines(){if(!this['isEnabled'])return;const _0x49a74d=this['_getAttachedDomRoot'](),_0x4cc56b=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0x49a74d||0x1==_0x4cc56b['length'])return void(this['pageNumber']=0x1);const _0x5c6007=new _0x3f915f(_0x49a74d)['excludeScrollbarsAndBorders'](),_0x2fadd5=new _0x3f915f(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0x4cf92a=_0x2fadd5['top']+_0x2fadd5['height']/0x3;let _0x4d3160=!0x1;const _0x58429a=[];for(let _0x563141=0x1;_0x563141<_0x4cc56b['length'];_0x563141++){const _0x3c09bd=this['_getPageBreakLineOffset'](_0x563141,_0x2fadd5);if(!_0x3c09bd)continue;const _0x190940=_0x2fadd5['top']+_0x3c09bd-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0x58429a['push']({'pageOffsetTop':_0x190940,'domRootRect':_0x5c6007,'domScrollableRect':_0x2fadd5,'pageNumber':_0x563141}),_0x190940>_0x4cf92a&&!_0x4d3160&&(this['pageNumber']=_0x563141,_0x4d3160=!0x0);}this['_renderPageBreakLines'](_0x58429a),_0x4d3160||(this['pageNumber']=_0x4cc56b['length']);}['_renderPageBreakLines'](_0x4ebc8c){if(!_0x4ebc8c['length'])return;const {scrollX:_0xcb1ba7,scrollY:_0x681cf1}=_0x3d873['window'],_0x2423e9=_0x37a75b(this['linesRepository']['containerElement']);let _0x515309,_0x28a8e8;if(_0x2423e9){const _0x3f8d48=new _0x3f915f(_0x2423e9);_0x515309=_0x3f8d48['top']+_0x2423e9['clientTop']-_0x2423e9['scrollTop'],_0x28a8e8=_0x3f8d48['left']+_0x2423e9['clientLeft']-_0x2423e9['scrollLeft'];}else _0x515309=-_0x681cf1,_0x28a8e8=-_0xcb1ba7;for(const {domScrollableRect:_0x546285,pageOffsetTop:_0x46389f,domRootRect:_0x174bfa,pageNumber:_0x41ab51}of _0x4ebc8c)_0x546285['top']<_0x46389f&&_0x46389f<_0x546285['bottom']&&this['linesRepository']['showLine'](_0x174bfa['left']-_0x28a8e8,_0x46389f-_0x515309,_0x174bfa['width'],_0x41ab51+0x1);}_getPageBreakLineOffset(_0x3cacd9,_0x35f135=null){const _0x3e5344=this['_paginationLookupPlugin']['pageBreaks'][_0x3cacd9]['offset'];return _0x3e5344?(_0x35f135||(_0x35f135=new _0x3f915f(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0x3e5344-_0x35f135['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}_toggleEditingRootsClass(_0x8db266,_0x7d8f32=!0x0){const _0x3ed932=this['editor']['editing']['view'];_0x3ed932['change'](_0xc5bf4f=>{for(const _0x1ae132 of _0x3ed932['document']['roots'])_0x7d8f32?_0xc5bf4f['addClass'](_0x8db266,_0x1ae132):_0xc5bf4f['removeClass'](_0x8db266,_0x1ae132);});}};function $(_0x36ec86,_0xd8560b,..._0x3f4e1d){const t=_0x36ec86['t'];switch(_0xd8560b){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)',..._0x3f4e1d);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 _0xd8560b;}}var j=class extends _0x1bd894{['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 _0x47cbfc=this['editor']['plugins']['get']('Pagination'),_0x9d2a21=this['editor']['plugins']['get'](v),_0x31adcc=this['editor']['plugins']['get'](M);this['bind']('isEnabled')['to'](_0x47cbfc),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0x31adcc),this['listenTo'](_0x9d2a21,'change:pageBreaks',(_0x70db91,_0x52d298,_0x1f7f89,_0x1aa220)=>{this['totalPages']=_0x1f7f89['length'],this['_updatePageBreakMarkers'](_0x1f7f89,_0x1aa220);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey'),this['_licenseKeyCheckInterval']=setInterval(()=>{const _0x7b3ae4=[this['editor']];for(const _0x345dd1 of _0x7b3ae4){let _0x1e272b;for(const _0x376ef5 in _0x345dd1){const _0x26750b=_0x376ef5,_0x20cc09=_0x345dd1[_0x26750b];if('paginationLicenseKeyValid'==_0x20cc09||'paginationLicenseKeyInvalid'==_0x20cc09||'paginationLicenseKeyExpired'==_0x20cc09||'paginationLicenseKeyDomainLimit'==_0x20cc09||'paginationLicenseKeyNotAllowed'==_0x20cc09||'paginationLicenseKeyEvaluationLimit'==_0x20cc09||'paginationLicenseKeyUsageLimit'==_0x20cc09){delete _0x345dd1[_0x26750b],_0x1e272b=_0x20cc09,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0x1e272b&&_0x345dd1['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0x1e272b&&_0x345dd1['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0x1e272b&&_0x345dd1['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0x1e272b&&_0x345dd1['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0x1e272b&&_0x345dd1['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyUsageLimit'==_0x1e272b&&_0x345dd1['_showLicenseError']('usageLimit');}},0x3e8);}destroy(){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0x3059d8){this['isEnabled']&&this['editor']['plugins']['get'](M)['scrollToPage'](this['_validatePageNumber'](_0x3059d8));}moveSelectionToPage(_0x56167d){if(!this['isEnabled'])return;const _0x2de633=this['editor'],_0x24768d=this['editor']['plugins']['get'](v)['pageBreaks'][_0x56167d-0x1];_0x24768d&&_0x2de633['model']['change'](_0x51e1ed=>{switch(_0x24768d['type']){case'manual':{const _0x5afbee=_0x2de633['model']['schema']['getNearestSelectionRange'](_0x24768d['modelRange']['end'],'forward');_0x51e1ed['setSelection'](_0x5afbee);break;}case'element':{const _0x436c27=_0x2de633['model']['schema']['getNearestSelectionRange'](_0x24768d['modelRange']['start'],'forward');_0x51e1ed['setSelection'](_0x436c27);break;}case'text':{const _0x302a17=_0x24768d['modelRange']['start'];if(_0x302a17['textNode']&&'\x20'===_0x302a17['textNode']['data'][_0x302a17['offset']]){const _0x5d318f=_0x51e1ed['createPositionAt'](_0x302a17['parent'],_0x302a17['offset']+0x1);_0x51e1ed['setSelection'](_0x5d318f);}else _0x51e1ed['setSelection'](_0x24768d['modelRange']);}}_0x2de633['editing']['view']['focus']();});}goToNextPage(){const _0x5a8539=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0x5a8539),this['scrollToPage'](_0x5a8539);}['goToPreviousPage'](){const _0x55366b=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0x55366b),this['scrollToPage'](_0x55366b);}_updatePageBreakMarkers(_0x33b01e,_0xcc0629){const _0x3a9a9e=this['editor']['model'];this['isEnabled']&&_0x3a9a9e['change'](_0x1b3e52=>{for(let _0x64ba92=0x1;_0x64ba92<_0x33b01e['length'];_0x64ba92++){const _0x50d59f=_0x33b01e[_0x64ba92]['modelRange'],_0x170afe='pagination:'+(_0x64ba92+0x1);_0x3a9a9e['markers']['has'](_0x170afe)?_0x1b3e52['updateMarker'](_0x170afe,{'range':_0x50d59f}):_0x1b3e52['addMarker'](_0x170afe,{'range':_0x50d59f,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0x187204=_0x33b01e['length'];_0x187204<_0xcc0629['length'];_0x187204++){const _0x42437a='pagination:'+(_0x187204+0x1);_0x3a9a9e['markers']['has'](_0x42437a)&&_0x1b3e52['removeMarker'](_0x42437a);}});}_setUpDataDowncastConversion(){this['editor']['conversion']['for']('dataDowncast')['add'](_0x25dccf=>{_0x25dccf['on']('addMarker:pagination',(_0x47e839,{markerRange:_0x2c350a,markerName:_0x3b4d45},_0x275313)=>{if(!_0x275313['options']['pagination'])return;if(!_0x275313['consumable']['consume'](_0x2c350a,_0x47e839['name']))return;const _0x32d727=_0x2c350a['getContainedElement']();let _0x45bca9=_0x32d727?_0x275313['mapper']['toViewElement'](_0x32d727):null;if(!_0x45bca9){const _0x270bf5=_0x2c350a['start'];if(_0x275313['schema']['checkChild'](_0x270bf5,'$text')){const _0xde6e5c=_0x275313['mapper']['toViewPosition'](_0x270bf5);_0x45bca9=_0x275313['writer']['createContainerElement']('span'),_0x45bca9['getFillerOffset']=()=>null,_0x275313['writer']['insert'](_0xde6e5c,_0x45bca9);}else{const _0x36d67e=_0x270bf5['nodeAfter'];_0x45bca9=_0x275313['mapper']['toViewElement'](_0x36d67e);}}for(;_0x45bca9['parent']!==_0x45bca9['root']&&0x0===_0x45bca9['index'];)_0x45bca9=_0x45bca9['parent'];const _0xc355b8=_0x3b4d45['substring'](0xb);_0x45bca9['hasClass']('page-break')||(_0x275313['writer']['setStyle']('page-break-before','always',_0x45bca9),_0x275313['writer']['setAttribute']('data-pagination-page',_0xc355b8,_0x45bca9),_0x275313['mapper']['bindElementToMarker'](_0x45bca9,_0x3b4d45)),_0x47e839['stop']();});});}_setupKeystrokes(){const _0x2953cb=this['editor'];_0x2953cb['keystrokes']['set']('Shift+Pageup',(_0x5774f7,_0xa9225d)=>{this['goToPreviousPage'](),_0xa9225d();}),_0x2953cb['keystrokes']['set']('Shift+Pagedown',(_0x3e774a,_0x3aacab)=>{this['goToNextPage'](),_0x3aacab();}),_0x2953cb['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':$(_0x2953cb['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':$(_0x2953cb['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':$(_0x2953cb['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}_validatePageNumber(_0x578f67){return _0x578f67<0x1&&(_0x578f67=0x1),_0x578f67>this['totalPages']&&(_0x578f67=this['totalPages']),_0x578f67;}},q=class extends _0x13c7e2{['pageNumberView'];constructor(_0x414bdd){super(_0x414bdd);const _0xcc86c5=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new _0x4a3fb3(_0x414bdd,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0x4fa22c=>$(_0x414bdd,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0x4fa22c)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0xa379ab=>!_0xa379ab),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0xcc86c5['if']('isEnabled','ck-disabled',_0x191277=>!_0x191277)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0xcc86c5['to']('totalPages')}]}]});}['render'](){super['render']();const _0x46e6a6=this['pageNumberView']['element'],_0x4c47bd=_0x1c84ee=>{this['pageNumberView']['element']['value']=String(_0x1c84ee);};_0x4c47bd(this['pageNumber']),this['on']('change:pageNumber',(_0x52f872,_0x3fedd1,_0xcfc200)=>{_0x4c47bd(_0xcfc200);}),this['listenTo'](_0x46e6a6,'keydown',(_0x4e9020,_0xdb3d1d)=>{if('ArrowUp'===_0xdb3d1d['key']||'ArrowDown'===_0xdb3d1d['key'])return void _0xdb3d1d['stopPropagation']();if(_0xdb3d1d['keyCode']!==_0x2ffa8b['enter'])return;_0xdb3d1d['preventDefault']();const _0x3131b3=_0x46e6a6['valueAsNumber'];Number['isNaN'](_0x3131b3)?_0x46e6a6['value']=String(this['pageNumber']):(_0x46e6a6['checkValidity']()?this['pageNumber']=_0x3131b3:_0x3131b3>this['totalPages']?(this['pageNumber']=this['totalPages'],_0x46e6a6['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0x46e6a6['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0x46e6a6,'blur',()=>{_0x46e6a6['value']=String(this['pageNumber']);}),this['listenTo'](_0x46e6a6,'focus',()=>{this['pageNumberView']['select']();});}['focus'](){this['pageNumberView']['element']['focus']();}},F=class extends _0x1bd894{static get['pluginName'](){return'PaginationUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const _0x5a06ec=this['editor'],_0x2c7b79=_0x5a06ec['plugins']['get']('PaginationEditing');_0x5a06ec['ui']['componentFactory']['add']('pageNavigation',_0x1fd09f=>{const _0x4c7e11=new q(_0x1fd09f);return _0x4c7e11['bind']('pageNumber')['to'](_0x2c7b79),_0x4c7e11['bind']('totalPages')['to'](_0x2c7b79),_0x4c7e11['bind']('isEnabled')['to'](_0x2c7b79),_0x4c7e11['on']('navigation',(_0x1530a3,_0x2fc76c)=>{_0x2c7b79['moveSelectionToPage'](_0x2fc76c),_0x2c7b79['scrollToPage'](_0x2fc76c);}),_0x4c7e11;}),_0x5a06ec['ui']['componentFactory']['add']('nextPage',_0x5d0cc5=>{const _0x52e653=new _0x13f1c6(_0x5d0cc5);return _0x52e653['isEnabled']=!0x0,_0x52e653['label']=$(_0x5a06ec['locale'],'Go\x20to\x20next\x20page'),_0x52e653['icon']=_0x30bf85,_0x52e653['tooltip']=!0x0,_0x52e653['keystroke']='Shift+PageDown',_0x52e653['bind']('isEnabled')['to'](_0x2c7b79),this['listenTo'](_0x52e653,'execute',()=>{_0x2c7b79['goToNextPage']();}),_0x52e653;}),_0x5a06ec['ui']['componentFactory']['add']('previousPage',_0x374939=>{const _0x22a6ef=new _0x13f1c6(_0x374939);return _0x22a6ef['isEnabled']=!0x0,_0x22a6ef['label']=$(_0x5a06ec['locale'],'Go\x20to\x20previous\x20page'),_0x22a6ef['icon']=_0x52a062,_0x22a6ef['tooltip']=!0x0,_0x22a6ef['keystroke']='Shift+PageUp',_0x22a6ef['bind']('isEnabled')['to'](_0x2c7b79),this['listenTo'](_0x22a6ef,'execute',()=>{_0x2c7b79['goToPreviousPage']();}),_0x22a6ef;});}},H=class extends _0x1bd894{static get['pluginName'](){return'Pagination';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get requires(){return[j,F];}constructor(_0x13417b){super(_0x13417b),this['isEnabled']=!0x1;}init(){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x245f8e=this['editor']['plugins']['get'](j);this['bind']('pageNumber')['to'](_0x245f8e),this['bind']('totalPages')['to'](_0x245f8e),_0x2dcecc['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0x389d30){this['editor']['plugins']['get'](j)['scrollToPage'](_0x389d30);}};export{H as Pagination,M as PaginationRenderer};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2a2f4a=>{const {af:_0x29f4dc}={'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)':''}}};_0x2a2f4a['af']||={'dictionary':{},'getPluralForm':null},_0x2a2f4a['af']['dictionary']=Object['assign'](_0x2a2f4a['af']['dictionary'],_0x29f4dc['dictionary']),_0x29f4dc['getPluralForm']&&(_0x2a2f4a['af']['getPluralForm']=_0x29f4dc['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3e88a8=>{const {ar:_0x534cea}={'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أيضاً)'}}};_0x3e88a8['ar']||={'dictionary':{},'getPluralForm':null},_0x3e88a8['ar']['dictionary']=Object['assign'](_0x3e88a8['ar']['dictionary'],_0x534cea['dictionary']),_0x534cea['getPluralForm']&&(_0x3e88a8['ar']['getPluralForm']=_0x534cea['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x390c4e=>{const {ast:_0xd3c3d7}={'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)':''}}};_0x390c4e['ast']||={'dictionary':{},'getPluralForm':null},_0x390c4e['ast']['dictionary']=Object['assign'](_0x390c4e['ast']['dictionary'],_0xd3c3d7['dictionary']),_0xd3c3d7['getPluralForm']&&(_0x390c4e['ast']['getPluralForm']=_0xd3c3d7['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x57d3ff=>{const {az:_0x4a639c}={'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)':''}}};_0x57d3ff['az']||={'dictionary':{},'getPluralForm':null},_0x57d3ff['az']['dictionary']=Object['assign'](_0x57d3ff['az']['dictionary'],_0x4a639c['dictionary']),_0x4a639c['getPluralForm']&&(_0x57d3ff['az']['getPluralForm']=_0x4a639c['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x401757=>{const {be:_0x440f76}={'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)':''}}};_0x401757['be']||={'dictionary':{},'getPluralForm':null},_0x401757['be']['dictionary']=Object['assign'](_0x401757['be']['dictionary'],_0x440f76['dictionary']),_0x440f76['getPluralForm']&&(_0x401757['be']['getPluralForm']=_0x440f76['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x432fb6=>{const {bg:_0x19cc8f}={'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селекцията)'}}};_0x432fb6['bg']||={'dictionary':{},'getPluralForm':null},_0x432fb6['bg']['dictionary']=Object['assign'](_0x432fb6['bg']['dictionary'],_0x19cc8f['dictionary']),_0x19cc8f['getPluralForm']&&(_0x432fb6['bg']['getPluralForm']=_0x19cc8f['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1bf1ca=>{const {bn:_0x52df35}={'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নিন)'}}};_0x1bf1ca['bn']||={'dictionary':{},'getPluralForm':null},_0x1bf1ca['bn']['dictionary']=Object['assign'](_0x1bf1ca['bn']['dictionary'],_0x52df35['dictionary']),_0x52df35['getPluralForm']&&(_0x1bf1ca['bn']['getPluralForm']=_0x52df35['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x376c22=>{const {bs:_0x4dd1ff}={'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)':''}}};_0x376c22['bs']||={'dictionary':{},'getPluralForm':null},_0x376c22['bs']['dictionary']=Object['assign'](_0x376c22['bs']['dictionary'],_0x4dd1ff['dictionary']),_0x4dd1ff['getPluralForm']&&(_0x376c22['bs']['getPluralForm']=_0x4dd1ff['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x435b4a=>{const {ca:_0x4827bd}={'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ó)'}}};_0x435b4a['ca']||={'dictionary':{},'getPluralForm':null},_0x435b4a['ca']['dictionary']=Object['assign'](_0x435b4a['ca']['dictionary'],_0x4827bd['dictionary']),_0x4827bd['getPluralForm']&&(_0x435b4a['ca']['getPluralForm']=_0x4827bd['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x250a52=>{const {cs:_0x165f7f}={'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)'}}};_0x250a52['cs']||={'dictionary':{},'getPluralForm':null},_0x250a52['cs']['dictionary']=Object['assign'](_0x250a52['cs']['dictionary'],_0x165f7f['dictionary']),_0x165f7f['getPluralForm']&&(_0x250a52['cs']['getPluralForm']=_0x165f7f['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5da4a0=>{const {da:_0x36896d}={'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)'}}};_0x5da4a0['da']||={'dictionary':{},'getPluralForm':null},_0x5da4a0['da']['dictionary']=Object['assign'](_0x5da4a0['da']['dictionary'],_0x36896d['dictionary']),_0x36896d['getPluralForm']&&(_0x5da4a0['da']['getPluralForm']=_0x36896d['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x412d78=>{const {'de-ch':_0x213aac}={'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)':''}}};_0x412d78['de-ch']||={'dictionary':{},'getPluralForm':null},_0x412d78['de-ch']['dictionary']=Object['assign'](_0x412d78['de-ch']['dictionary'],_0x213aac['dictionary']),_0x213aac['getPluralForm']&&(_0x412d78['de-ch']['getPluralForm']=_0x213aac['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xb563d1=>{const {de:_0xa56f15}={'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)'}}};_0xb563d1['de']||={'dictionary':{},'getPluralForm':null},_0xb563d1['de']['dictionary']=Object['assign'](_0xb563d1['de']['dictionary'],_0xa56f15['dictionary']),_0xa56f15['getPluralForm']&&(_0xb563d1['de']['getPluralForm']=_0xa56f15['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3d72ec=>{const {el:_0x43096a}={'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μετακίνησης)'}}};_0x3d72ec['el']||={'dictionary':{},'getPluralForm':null},_0x3d72ec['el']['dictionary']=Object['assign'](_0x3d72ec['el']['dictionary'],_0x43096a['dictionary']),_0x43096a['getPluralForm']&&(_0x3d72ec['el']['getPluralForm']=_0x43096a['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2a4148=>{const {'en-au':_0x5353a4}={'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)':''}}};_0x2a4148['en-au']||={'dictionary':{},'getPluralForm':null},_0x2a4148['en-au']['dictionary']=Object['assign'](_0x2a4148['en-au']['dictionary'],_0x5353a4['dictionary']),_0x5353a4['getPluralForm']&&(_0x2a4148['en-au']['getPluralForm']=_0x5353a4['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x98110f=>{const {'en-gb':_0x24f0b3}={'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)':''}}};_0x98110f['en-gb']||={'dictionary':{},'getPluralForm':null},_0x98110f['en-gb']['dictionary']=Object['assign'](_0x98110f['en-gb']['dictionary'],_0x24f0b3['dictionary']),_0x24f0b3['getPluralForm']&&(_0x98110f['en-gb']['getPluralForm']=_0x24f0b3['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1821c0=>{const {en:_0x195131}={'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)'}}};_0x1821c0['en']||={'dictionary':{},'getPluralForm':null},_0x1821c0['en']['dictionary']=Object['assign'](_0x1821c0['en']['dictionary'],_0x195131['dictionary']),_0x195131['getPluralForm']&&(_0x1821c0['en']['getPluralForm']=_0x195131['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1dc262=>{const {eo:_0x5d3e46}={'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)':''}}};_0x1dc262['eo']||={'dictionary':{},'getPluralForm':null},_0x1dc262['eo']['dictionary']=Object['assign'](_0x1dc262['eo']['dictionary'],_0x5d3e46['dictionary']),_0x5d3e46['getPluralForm']&&(_0x1dc262['eo']['getPluralForm']=_0x5d3e46['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2d2094=>{const {'es-co':_0x1d46b2}={'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)':''}}};_0x2d2094['es-co']||={'dictionary':{},'getPluralForm':null},_0x2d2094['es-co']['dictionary']=Object['assign'](_0x2d2094['es-co']['dictionary'],_0x1d46b2['dictionary']),_0x1d46b2['getPluralForm']&&(_0x2d2094['es-co']['getPluralForm']=_0x1d46b2['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1f1ca2=>{const {es:_0x412fb5}={'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)'}}};_0x1f1ca2['es']||={'dictionary':{},'getPluralForm':null},_0x1f1ca2['es']['dictionary']=Object['assign'](_0x1f1ca2['es']['dictionary'],_0x412fb5['dictionary']),_0x412fb5['getPluralForm']&&(_0x1f1ca2['es']['getPluralForm']=_0x412fb5['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x48e4eb=>{const {et:_0x285fb4}={'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)'}}};_0x48e4eb['et']||={'dictionary':{},'getPluralForm':null},_0x48e4eb['et']['dictionary']=Object['assign'](_0x48e4eb['et']['dictionary'],_0x285fb4['dictionary']),_0x285fb4['getPluralForm']&&(_0x48e4eb['et']['getPluralForm']=_0x285fb4['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x16c523=>{const {eu:_0x388778}={'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)':''}}};_0x16c523['eu']||={'dictionary':{},'getPluralForm':null},_0x16c523['eu']['dictionary']=Object['assign'](_0x16c523['eu']['dictionary'],_0x388778['dictionary']),_0x388778['getPluralForm']&&(_0x16c523['eu']['getPluralForm']=_0x388778['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2896cd=>{const {fa:_0x234370}={'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)':''}}};_0x2896cd['fa']||={'dictionary':{},'getPluralForm':null},_0x2896cd['fa']['dictionary']=Object['assign'](_0x2896cd['fa']['dictionary'],_0x234370['dictionary']),_0x234370['getPluralForm']&&(_0x2896cd['fa']['getPluralForm']=_0x234370['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|