@ckeditor/ckeditor5-pagination 45.0.0 → 45.1.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/pagination.js +1 -1
- package/dist/index.js +1 -1
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +7 -7
- package/src/index.js +1 -1
- package/src/legacyerrors.js +1 -1
- package/src/pagination.js +1 -1
- package/src/paginationediting.js +1 -1
- package/src/paginationlookup.js +1 -1
- package/src/paginationrenderer.js +1 -1
- package/src/paginationui.js +1 -1
- package/src/ui/linesrepository.js +1 -1
- package/src/ui/lineview.js +1 -1
- package/src/ui/pagenavigatorview.js +1 -1
- package/src/utils/common-translations.js +1 -1
package/build/pagination.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
/*!
|
|
3
3
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
4
4
|
* For licensing, see LICENSE.md.
|
|
5
|
-
*/(()=>{var t={168:t=>{"use strict";t.exports=function(t){return t[1]}},237:t=>{"use strict";t.exports=CKEditor5.dll},262:t=>{"use strict";var e={};t.exports=function(t,n){var i=function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}e[t]=n}return e[t]}(t);if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(n)}},311:(t,e,n)=>{t.exports=n(237)("./src/ui.js")},355:(t,e,n)=>{t.exports=n(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},371:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(168),o=n.n(i),s=n(433),r=n.n(s)()(o());r.push([t.id,".ck.ck-pagination-view-line{border-top:1px dotted var(--ck-color-pagination-divider);height:0;pointer-events:none;position:absolute}.ck.ck-pagination-view-line:after{background:#c4c4c4;color:var(--ck-color-base-background);content:attr(data-page-number);display:inline-block;font-size:10px;min-width:18px;padding:var(--ck-spacing-tiny) var(--ck-spacing-medium);position:absolute;right:-1px;text-align:center;top:-1px;transform:translateX(100%)}",""]);const a=r},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n="",i=void 0!==e[5];return e[4]&&(n+="@supports (".concat(e[4],") {")),e[2]&&(n+="@media ".concat(e[2]," {")),i&&(n+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),n+=t(e),i&&(n+="}"),e[2]&&(n+="}"),e[4]&&(n+="}"),n})).join("")},e.i=function(t,n,i,o,s){"string"==typeof t&&(t=[[null,t,void 0]]);var r={};if(i)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(r[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);i&&r[l[0]]||(void 0!==s&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=s),n&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=n):l[2]=n),o&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=o):l[4]="".concat(o)),e.push(l))}},e}},545:t=>{"use strict";var e,n=(e=[],function(t,n){return e[t]=n,e.filter(Boolean).join("\n")});function i(t,e,i,o){var s;if(i)s="";else{s="",o.supports&&(s+="@supports (".concat(o.supports,") {")),o.media&&(s+="@media ".concat(o.media," {"));var r=void 0!==o.layer;r&&(s+="@layer".concat(o.layer.length>0?" ".concat(o.layer):""," {")),s+=o.css,r&&(s+="}"),o.media&&(s+="}"),o.supports&&(s+="}")}if(t.styleSheet)t.styleSheet.cssText=n(e,s);else{var a=document.createTextNode(s),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var o={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=o.singletonCounter++,n=o.singleton||(o.singleton=t.insertStyleElement(t));return{update:function(t){i(n,e,!1,t)},remove:function(t){i(n,e,!0,t)}}}},584:(t,e,n)=>{t.exports=n(237)("./src/utils.js")},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach((function(n){t.setAttribute(n,e[n])}))}},673:t=>{"use strict";var e=[];function n(t){for(var n=-1,i=0;i<e.length;i++)if(e[i].identifier===t){n=i;break}return n}function i(t,i){for(var s={},r=[],a=0;a<t.length;a++){var c=t[a],u=i.base?c[0]+i.base:c[0],l=s[u]||0,p="".concat(u," ").concat(l);s[u]=l+1;var f=n(p),h={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==f)e[f].references++,e[f].updater(h);else{var d=o(h,i);i.byIndex=a,e.splice(a,0,{identifier:p,updater:d,references:1})}r.push(p)}return r}function o(t,e){var n=e.domAPI(e);n.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;n.update(t=e)}else n.remove()}}t.exports=function(t,o){var s=i(t=t||[],o=o||{});return function(t){t=t||[];for(var r=0;r<s.length;r++){var a=n(s[r]);e[a].references--}for(var c=i(t,o),u=0;u<s.length;u++){var l=n(s[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}s=c}}},761:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(168),o=n.n(i),s=n(433),r=n.n(s)()(o());r.push([t.id,":root{--ck-color-pagination-divider:#ababab}.ck.ck-pagination_enabled.ck-content .page-break:after,.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .ck-widget__type-around{display:none}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view :has(+.page-break){margin-bottom:0}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .page-break{break-after:column;display:block;height:0;margin:0;padding:0}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .ck-table-column-resizer,.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .page-break .page-break__label,.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .page-break:after{display:none}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .table table{overflow:initial}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .ck-bookmark{display:none}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view figure.table:has(>table){display:block}",""]);const a=r},782:(t,e,n)=>{t.exports=n(237)("./src/core.js")},953:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(168),o=n.n(i),s=n(433),r=n.n(s)()(o());r.push([t.id,'.ck.ck-page-navigator{line-height:1;padding:0 var(--ck-spacing-standard)}.ck.ck-page-navigator>.ck-input-number{-moz-appearance:textfield;background:transparent;min-width:var(--ck-ui-component-min-height);text-align:center;width:var(--ck-ui-component-min-height)}.ck.ck-page-navigator>.ck-input-number::-webkit-inner-spin-button,.ck.ck-page-navigator>.ck-input-number::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.ck.ck-page-navigator>.ck-input-number:not(:focus){border:1px solid transparent;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-page-navigator>span:before{content:"/";margin:0 var(--ck-spacing-standard)}',""]);const a=r}},e={};function n(i){var o=e[i];if(void 0!==o)return o.exports;var s=e[i]={id:i,exports:{}};return t[i](s,s.exports,n),s.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var i in e)n.o(e,i)&&!n.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var i={};(()=>{"use strict";n.r(i),n.d(i,{Pagination:()=>gt,PaginationRenderer:()=>q});var t=n(782),e=n(311),o=n(584);function s(t,e,{signal:n,edges:i}={}){let o,s=null;const r=null!=i&&i.includes("leading"),a=null==i||i.includes("trailing"),c=()=>{null!==s&&(t.apply(o,s),o=void 0,s=null)};let u=null;const l=()=>{null!=u&&clearTimeout(u),u=setTimeout((()=>{u=null,a&&c(),f()}),e)},p=()=>{null!==u&&(clearTimeout(u),u=null)},f=()=>{p(),o=void 0,s=null},h=function(...t){if(n?.aborted)return;o=this,s=t;const e=null==u;l(),r&&e&&c()};return h.schedule=l,h.cancel=f,h.flush=()=>{p(),c()},n?.addEventListener("abort",f,{once:!0}),h}const r=b;!function(t){const e=b,n=t();for(;;)try{if(964734===parseInt(e(211))/1*(-parseInt(e(348))/2)+parseInt(e(171))/3*(parseInt(e(178))/4)+-parseInt(e(344))/5*(-parseInt(e(205))/6)+-parseInt(e(194))/7+-parseInt(e(204))/8*(-parseInt(e(192))/9)+-parseInt(e(210))/10*(parseInt(e(295))/11)+parseInt(e(272))/12)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(d);class a extends t.Plugin{[r(302)]=function(t,e=0,n={}){"object"!=typeof n&&(n={});const{signal:i,leading:o=!1,trailing:r=!0,maxWait:a}=n,c=Array(2);let u;o&&(c[0]="leading"),r&&(c[1]="trailing");let l=null;const p=s((function(...e){u=t.apply(this,e),l=null}),e,{signal:i,edges:c}),f=function(...e){if(null!=a)if(null===l)l=Date.now();else if(Date.now()-l>=a)return u=t.apply(this,e),l=Date.now(),p.cancel(),p.schedule(),u;return p.apply(this,e),u};return f.cancel=p.cancel,f.flush=()=>(p.flush(),u),f}((()=>this[r(200)]()),200);[r(338)]=null;static get[r(226)](){return r(299)}static get[r(215)](){return!0}static get[r(315)](){return!0}[r(291)](){const t=r;if(this[t(290)]({pageBreaks:[]}),!this[t(296)][t(158)][t(313)](t(275)))return void(0,o.logWarning)(t(279),this[t(296)][t(158)]);const e=this[t(296)][t(201)][t(313)](t(172));this[t(191)](t(335)).to(e),this[t(296)].ui[t(328)](t(181),(()=>this[t(271)]())),this.on(t(301),((e,n,i)=>{i&&this[t(302)]()}))}[r(197)](){!async function(t){const e=g([50,65,55,110,121,86,111,77,49,83,118,84,120,108,56,66,100,78,68,107,101,90,53,104,72,99,69,98,73,87,48,71,115,117,105,74,113,85,106,112,57,67,119,89,54,76,109,70,97,116,103,51,75,122,80,88,82,52,79,102,81,114]),n=window[g([68,97,116,101])][g([110,111,119])](),i=t[g([101,100,105,116,111,114])],s=new(window[g([80,114,111,109,105,115,101])])((t=>{i[g([111,110,99,101])](g([114,101,97,100,121]),t)})),r={[g([107,116,121])]:g([69,67]),[g([117,115,101])]:g([115,105,103]),[g([99,114,118])]:g([80,45,50,53,54]),[g([120])]:g([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[g([121])]:g([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[g([97,108,103])]:g([69,83,50,53,54])},a=i[g([99,111,110,102,105,103])][g([103,101,116])](g([108,105,99,101,110,115,101,75,101,121]));function c(t){const e=[new(window[g([80,114,111,109,105,115,101])])((t=>setTimeout(t,605900))),s[g([116,104,101,110])]((()=>new(window[g([80,114,111,109,105,115,101])])((t=>{let e=0;i[g([109,111,100,101,108])][g([111,110])](g([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),((n,i)=>{i[0][g([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&e++,504==e&&(t(),n[g([111,102,102])]())}))}))))];return window[g([80,114,111,109,105,115,101])][g([114,97,99,101])](e)[g([116,104,101,110])]((()=>t))}function u(t){return t[g([115,116,97,114,116,115,87,105,116,104])](g([101,121]))?JSON[g([112,97,114,115,101])](l(t)):null}function l(t){return window[g([97,116,111,98])](t[g([114,101,112,108,97,99,101])](/-/g,g([43]))[g([114,101,112,108,97,99,101])](/_/g,g([47])))}function p(t){let e=5381;function n(t){for(let n=0;n<t[g([108,101,110,103,116,104])];n++){const i=t[g([99,104,97,114,67,111,100,101,65,116])](n);e=(e<<5)+e+i,e&=e}}return function t(e){Array[g([105,115,65,114,114,97,121])](e)?e[g([102,111,114,69,97,99,104])](t):e&&typeof e==g([111,98,106,101,99,116])?Object[g([101,110,116,114,105,101,115])](e)[g([115,111,114,116])]()[g([102,111,114,69,97,99,104])]((([e,i])=>{n(e),t(i)})):n(window[g([83,116,114,105,110,103])](e))}(t),e>>>0}function f(t){return t[g([116,111,83,116,114,105,110,103])](16)[g([112,97,100,83,116,97,114,116])](8,g([48]))}function h(t){return t[g([115,112,108,105,116])]("")[g([114,101,118,101,114,115,101])]()[g([106,111,105,110])]("")}function d(){}function g(t){const e=b;return t[e(284)]((t=>String[e(164)](t)))[e(165)]("")}!function(t){const n=function(){const t=window[g([83,116,114,105,110,103])](window[g([112,101,114,102,111,114,109,97,110,99,101])][g([110,111,119])]())[g([114,101,112,108,97,99,101])](g([46]),"");let n=g([65]);for(let i=0;i<t[g([108,101,110,103,116,104])];i+=2){let o=window[g([112,97,114,115,101,73,110,116])](t[g([115,117,98,115,116,114,105,110,103])](i,i+2));o>=e[g([108,101,110,103,116,104])]&&(o-=e[g([108,101,110,103,116,104])]),n+=e[o]}return n}();i[n]=g([112,97,103,105,110,97,116,105,111,110,76,105,99,101,110,115,101,75,101,121])+t,t!=g([86,97,108,105,100])&&async function(){await s,i[g([109,111,100,101,108])][g([99,104,97,110,103,101])]=d,i[g([109,111,100,101,108])][g([101,110,113,117,101,117,101,67,104,97,110,103,101])]=d,i[g([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](g([109,111,100,101,108]))}()}(await async function(){let t,e=null,d=null;try{return a==g([71,80,76])?g([78,111,116,65,108,108,111,119,101,100]):(t=function(){const t=a[g([115,112,108,105,116])](g([46]));return 3!=t[g([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=u(t);return e&&n()?e:null;function n(){const t=e[g([106,116,105])],n=window[g([112,97,114,115,101,73,110,116])](t[g([115,117,98,115,116,114,105,110,103])](t[g([108,101,110,103,116,104])]-8),16),i={...e,[g([106,116,105])]:t[g([115,117,98,115,116,114,105,110,103])](0,t[g([108,101,110,103,116,104])]-8)};return delete i[g([118,99])],p(i)==n}}}(),t?(t[g([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(d=function(t,e){return new(window[g([80,114,111,109,105,115,101])])((c=>{if(r())return c(g([86,97,108,105,100]));a(),i[g([100,101,99,111,114,97,116,101])](g([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let u=!1;const l=(0,o.uid)();function d(t){return!!t&&(typeof t===g([111,98,106,101,99,116])||typeof t===g([102,117,110,99,116,105,111,110]))&&typeof t[g([116,104,101,110])]===g([102,117,110,99,116,105,111,110])&&typeof t[g([99,97,116,99,104])]===g([102,117,110,99,116,105,111,110])}function m(i){a(i)[g([116,104,101,110])]((t=>t&&t[g([115,116,97,116,117,115])]==g([111,107])?f(p(l+e))!=t[g([118,101,114,105,102,105,99,97,116,105,111,110])]?g([85,115,97,103,101,76,105,109,105,116]):g([86,97,108,105,100]):g([85,115,97,103,101,76,105,109,105,116])))[g([116,104,101,110])]((t=>(s(),t)),(()=>{const t=r();return null==t?(s(),g([86,97,108,105,100])):g(n-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])}))[g([116,104,101,110])](c)[g([99,97,116,99,104])]((()=>{c(g([85,115,97,103,101,76,105,109,105,116]))}));const o=36e5;function s(){const e=g([108,108,99,116,45])+f(p(t)),i=h(f(window[g([77,97,116,104])][g([99,101,105,108])](n/o)));window[g([108,111,99,97,108,83,116,111,114,97,103,101])][g([115,101,116,73,116,101,109])](e,i)}function r(){const e=g([108,108,99,116,45])+f(p(t)),n=window[g([108,111,99,97,108,83,116,111,114,97,103,101])][g([103,101,116,73,116,101,109])](e);return n?window[g([112,97,114,115,101,73,110,116])](h(n),16)*o:null}function a(t){return new(window[g([80,114,111,109,105,115,101])])(((e,n)=>{t[g([116,104,101,110])](e,n),window[g([115,101,116,84,105,109,101,111,117,116])](n,12e4)}))}}i[g([111,110])](g([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),((e,n)=>{if(n[0]!=t)return c(g([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[g([114,101,113,117,101,115,116,73,100])]:l}}),{[g([112,114,105,111,114,105,116,121])]:g([104,105,103,104])}),i[g([111,110])](g([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t=>{d(t[g([114,101,116,117,114,110])])&&(u=!0,m(t[g([114,101,116,117,114,110])]))}),{[g([112,114,105,111,114,105,116,121])]:g([108,111,119])}),s[g([116,104,101,110])]((()=>{u||c(g([85,115,97,103,101,76,105,109,105,116]))}))}));function r(){return i[g([101,100,105,116,105,110,103])][g([118,105,101,119])][g([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==g([97,117,116,111])}function a(){i[g([101,100,105,116,105,110,103])][g([118,105,101,119])][g([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=g([97,117,116,111])}}(t[g([117,115,97,103,101,69,110,100,112,111,105,110,116])],t[g([106,116,105])])),await async function(){let t=!0;try{const i=a[g([115,112,108,105,116])](g([46])),[o,s,r]=i;return e(o),await n(o,s,r),t}catch(t){return!1}function e(e){const n=u(e);n&&n[g([97,108,103])]==g([69,83,50,53,54])||(t=!1)}async function n(e,n,i){const o=window[g([85,105,110,116,56,65,114,114,97,121])][g([102,114,111,109])](l(i),(t=>t[g([99,104,97,114,67,111,100,101,65,116])](0))),s=(new(window[g([84,101,120,116,69,110,99,111,100,101,114])]))[g([101,110,99,111,100,101])](e+g([46])+n),a=window[g([99,114,121,112,116,111])][g([115,117,98,116,108,101])];if(!a)return;const c=await a[g([105,109,112,111,114,116,75,101,121])](g([106,119,107]),r,{[g([110,97,109,101])]:g([69,67,68,83,65]),[g([110,97,109,101,100,67,117,114,118,101])]:g([80,45,50,53,54])},!1,[g([118,101,114,105,102,121])]);await a[g([118,101,114,105,102,121])]({[g([110,97,109,101])]:g([69,67,68,83,65]),[g([104,97,115,104])]:{[g([110,97,109,101])]:g([83,72,65,45,50,53,54])}},c,o,s)||(t=!1)}}()?function(){const e=t[g([102,101,97,116,117,114,101,115])];return!(!e||!e[g([105,110,99,108,117,100,101,115])](g([42]))&&!e[g([105,110,99,108,117,100,101,115])](g([80,65,71])))}()?function(){const e=[g([101,118,97,108,117,97,116,105,111,110]),g([116,114,105,97,108])][g([105,110,99,108,117,100,101,115])](t[g([108,105,99,101,110,115,101,84,121,112,101])])?n/1e3:1743984e3;return t[g([101,120,112])]<e}()?g([69,120,112,105,114,101,100]):function(){const e=b,n=t[g([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[g([108,101,110,103,116,104])])return!0;const{hostname:i}=new URL(window[g([108,111,99,97,116,105,111,110])][e(258)]);if(n[g([105,110,99,108,117,100,101,115])](i))return!0;const o=i[g([115,112,108,105,116])](g([46]));return n[g([102,105,108,116,101,114])]((t=>t[g([105,110,99,108,117,100,101,115])](g([42]))))[g([109,97,112])]((t=>t[g([115,112,108,105,116])](g([46]))))[g([115,111,109,101])]((t=>o[g([101,118,101,114,121])](((e,n)=>t[n]===e||t[n]===g([42])))))}()?(t[g([108,105,99,101,110,115,101,84,121,112,101])]==g([101,118,97,108,117,97,116,105,111,110])&&(e=c(g([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),t[g([108,105,99,101,110,115,101,84,121,112,101])]==g([116,114,105,97,108])&&(e=c(g([84,114,105,97,108,76,105,109,105,116]))),await(e&&d?new(window[g([80,114,111,109,105,115,101])])(((t,n)=>{e[g([116,104,101,110])](t,n),d[g([116,104,101,110])]((e=>{e!=g([86,97,108,105,100])&&t(e)}),n)})):e||d||g([86,97,108,105,100]))):g([68,111,109,97,105,110,76,105,109,105,116]):g([78,111,116,65,108,108,111,119,101,100]):g([73,110,118,97,108,105,100])):g([73,110,118,97,108,105,100]))}catch(t){return g([73,110,118,97,108,105,100])}}())}(this)}[r(287)](){const t=r;super[t(287)](),this[t(338)]&&(this[t(302)][t(206)](),this[t(338)][t(287)](),this[t(338)][t(184)][t(340)]())}[r(271)](){const t=r,n=this[t(296)],i=n[t(175)][t(189)],o=this[t(255)]();if(!o||0===o[t(277)])return void n.ui[t(328)](t(273),(()=>this[t(271)]()));const{pageWidth:s,pageHeight:a}=n[t(158)][t(313)](t(275)),{top:c,left:u,bottom:l,right:p}=this[t(266)];this[t(338)]=new e.View(n[t(196)]);const f=this[t(338)];f[t(290)](t(222),""),f[t(309)]({tag:t(292),attributes:{contenteditable:!0,style:{columnWidth:s,width:s,height:t(289)+a+t(245)+c+t(245)+l+" )",minWidth:t(300),minHeight:t(300),padding:"0 "+p+t(316)+u,columnGap:t(343),border:0,boxSizing:t(288),columnCount:t(300),columnFill:t(300),overflow:t(314),position:t(224),top:t(244),left:t(244)},tabindex:"-1",class:f[t(217)].to(t(222))}}),f[t(235)](),o[t(238)][t(347)](f[t(184)],o[t(268)]),this[t(198)](i,t(235),(()=>this[t(302)]()),{priority:t(182)}),this[t(302)]()}[r(255)](){const t=r;for(const e of this[t(296)][t(175)][t(189)][t(249)][t(270)]())if(e[t(220)][t(251)][t(257)](e))return e;return null}[r(200)](){const t=r;if(!this[t(335)])return Promise[t(228)]();const e=this[t(296)][t(175)][t(189)],n=this[t(338)],i=this[t(255)]();if(!i)return Promise[t(228)]();for(n[t(222)]=[t(349),t(193),...i[t(221)]][t(165)](" ");n[t(184)][t(179)];)n[t(184)][t(179)][t(340)]();const o=Array[t(208)](e[t(249)]);o[t(321)]((([,e],[,n])=>e[t(157)](n)==Node[t(242)]?1:-1));for(const[e,i]of o){const o=i[t(176)](!0);t(199)in o&&o[t(199)][t(207)](),o[t(337)]="",o[t(225)]("id"),o[t(265)][t(231)]=e,n[t(184)][t(227)](o)}return function(e){const n=t;return Promise[n(267)](e[n(284)]((t=>{return Promise[n(310)]([l(t),(e=1e3,new Promise((t=>setTimeout(t,e))))]);var e})))}(Array[t(208)](n[t(184)][t(311)](t(326))))[t(163)]((()=>this[t(269)]()))}[r(269)](){const t=r,e=this[t(338)][t(184)];if(!e[t(220)][t(251)][t(257)](e))return;const n=new o.Rect(e)[t(186)](),i=o.global[t(243)][t(247)](e),s=parseFloat(i[t(174)])+parseFloat(i[t(346)]),a=Math[t(209)](n[t(166)]+100-s),c=g(e,Math[t(209)](n[t(216)]-e[t(304)]),a,n[t(282)])[t(284)]((e=>this[t(180)](e)));c[t(248)]((t=>!!t))&&(this[t(306)]=c)}[r(180)](t){const e=r,n=this[e(296)][e(175)][e(189)],i=this[e(296)][e(175)][e(246)],o=n[e(195)],s=t[e(293)][e(190)](),a=this[e(338)][e(184)][e(223)][s][e(265)][e(231)],c=n[e(320)](a);if(!c)return null;const u=function(t,n){const i=e;let o=t;for(const t of n[i(293)]){if(!o)return null;o=o[i(223)][t]}return o}(c,t);if(!u)return null;const l=o[e(156)](u,t[e(324)]||0);return l?e(170)==t[e(331)]?this[e(330)](l,u):e(232)==t[e(331)]&&i[e(333)](l)[e(281)]?this[e(334)](l,u,t[e(324)]):this[e(161)](l,u,t[e(281)]):null}[r(330)](t,e){const n=r,i=this[n(296)][n(327)],o=this[n(296)][n(175)][n(246)][n(298)](t[n(214)]),s=i[n(342)](o);return new c({type:n(170),modelRange:s,domNode:e,offset:0})}[r(334)](t,e,n){const i=r,o=this[i(296)][i(327)],s=this[i(296)][i(175)][i(246)],a=this[i(296)][i(175)][i(189)][i(195)];if(n>=e[i(256)])return null;const l=s[i(333)](t),p=o[i(283)](l),f=s[i(305)](t),h=a[i(325)](f);return new c({type:i(232),modelRange:p,domNode:e,offset:u(e,n,h)})}[r(161)](t,e,n){const i=r,s=this[i(296)][i(327)],a=this[i(296)][i(175)],u=a[i(246)],l=a[i(189)][i(195)],f=u[i(305)](t),h=u[i(298)](f),d=function(t){const e=i,n=t[e(214)],o=n[e(345)][e(280)][e(327)],s=n[e(323)]({parentFirst:!0,includeSelf:!0});let r=null;for(const n of s){if(n.is(e(318)))return r;if(!o[e(276)](n)[e(169)](t))return r;r=n}}(s[i(276)](h))||h;let g=u[i(250)](d),m=s[i(342)](d);const b=s[i(276)](d)[i(177)];if(b&&b.is(i(184),i(261))){const t=u[i(250)](b),e=l[i(325)](t),n=o.global[i(243)][i(247)](e)[i(252)];i(216)!=n&&i(233)!=n||(m=s[i(342)](b))}for(;g[i(214)]!==g[i(345)]&&0===g[i(262)];)g=g[i(214)];const k=new o.Rect(y(e)?e:p(e)),w=n?k[i(282)]-n:0,v=l[i(325)](g),I=new o.Rect(v);return new c({type:i(184),modelRange:m,domNode:v,offset:Math[i(285)](w)?w+k[i(188)]-I[i(188)]:0})}get[r(266)](){const t=r,e=this[t(296)][t(158)][t(313)](t(322));return Object[t(234)]({top:t(213),bottom:t(213),left:t(213),right:t(213)},e)}static[r(336)](t,e,n,i,o){return g(t,e,n,i,o)}}class c{[r(331)];[r(202)];[r(297)];[r(230)];constructor({type:t,modelRange:e,domNode:n,offset:i}){const o=r;this[o(331)]=t,this[o(202)]=e,this[o(297)]=n,this[o(230)]=i}get[r(281)](){const t=r;if(!this[t(297)][t(220)][t(251)][t(257)](this[t(297)]))return 0;const e=new o.Rect(y(this[t(297)])?this[t(297)]:p(this[t(297)]));return t(170)==this[t(331)]?e[t(188)]+e[t(282)]/2:e[t(188)]+this[t(230)]}}function u(t,e,n){const i=r,s=p(t),a=function(t){const e=b,n=o.global[e(280)][e(283)]();return n[e(173)](t),n}(n);let c;c=0==e?h(a[i(237)],a[i(183)],t[i(238)],Array[i(208)](t[i(238)][i(223)])[i(286)](t)):h(a[i(237)],a[i(183)],t,e);const u=h(t,e,a[i(264)],a[i(160)]),l=new o.Rect(c)[i(339)];return(new o.Rect(u)[i(188)]+l)/2-new o.Rect(s)[i(188)]}function l(t){const e=r;return t[e(274)](e(166))&&t[e(274)](e(282))?Promise[e(228)]():new Promise((n=>{const i=e;function o(){const e=b;t[e(212)](e(341),o),t[e(212)](e(240),o),n()}t[i(260)]?n():(t[i(303)](i(341),o),t[i(303)](i(240),o))}))}function p(t){const e=r,n=o.global[e(280)][e(283)]();return n[e(253)](t),n}function f(t,e,n){const i=r,s=o.global[i(280)][i(283)]();return s[i(317)](t,e),s[i(168)](t,n),s}function h(t,e,n,i){const s=r,a=o.global[s(280)][s(283)]();return a[s(317)](t,e),a[s(168)](n,i),a}function d(){const t=["complete","imageBlock","index","entries","endContainer","dataset","_configuredPaddings","all","nextSibling","_updatePageBreaksData","values","_onUiReady","10956768kiNaaI","update","hasAttribute","pagination","createPositionBefore","childElementCount","figure.image","pagination-config-not-found","document","offset","height","createRange","map","round","indexOf","destroy","border-box","calc( ","set","init","div","path","parentElement","20227999iUZjhi","editor","_domNode","toModelElement","PaginationLookup","auto","change:isEnabled","_recalculatePageBreaksDebounced","addEventListener","scrollLeft","findMappedViewAncestor","pageBreaks","getClientRects","style","setTemplate","race","querySelectorAll","position","get","hidden","isPremiumPlugin"," 0 ","setStart","rootElement","none","getDomRoot","sort","pagination.pageMargins","getAncestors","textOffset","mapViewToDom","img","model","once","TEXT_NODE","_mapManualPageStarterInfoToPageBreakInfo","type","table-cell","toModelPosition","_mapTextPageStarterInfoToPageBreakInfo","isEnabled","_findPageStarterInfos","className","_pagesContainer","bottom","remove","load","createRangeOn","100px","98985sKenED","root","paddingRight","insertBefore","442pXiSLD","ck-reset","domPositionToView","compareDocumentPosition","config","previousSibling","endOffset","_mapElementPageStarterInfoToPageBreakInfo",".page-break","then","fromCharCode","join","width","ceil","setEnd","isTouching","manual","9WjasEi","PaginationEditing","selectNodeContents","paddingLeft","editing","cloneNode","nodeBefore","2408984LByoNi","firstChild","_mapPageStarterInfoToPageBreakInfo","ready","low","startOffset","element","display","excludeScrollbarsAndBorders","closest","top","view","shift","bind","153hcDgrA","ck-pagination-view","11783219jMOhlX","domConverter","locale","afterInit","listenTo","attributeStyleMap","_recalculatePageBreaks","plugins","modelRange","ck-fake-selection-container","599080TeuFrR","402InWZef","cancel","clear","from","floor","10tZYuaO","3766bAhFhj","removeEventListener","10mm","parent","isOfficialPlugin","left","bindTemplate","ELEMENT_NODE","push","ownerDocument","classList","class","childNodes","absolute","removeAttribute","pluginName","append","resolve","nextElementSibling","_offset","rootName","text","right","assign","render","table-row","startContainer","parentNode","nodeType","error","offsetParent","DOCUMENT_POSITION_PRECEDING","window","-99999px"," - ","mapper","getComputedStyle","every","domRoots","toViewElement","body","float","selectNode","previousElementSibling","_getAttachedDomRoot","length","contains","href","page-break"];return(d=function(){return t})()}function g(t,e,n,i,o){const s=r,a=[];for(const[r,c]of t[s(223)][s(263)]()){let t=[];y(c)&&c[s(241)]&&!c[s(308)][s(312)]?t=m(c,r,e,n,i,o):I(c)&&(t=k(c,r,e,n,o)),t[s(256)]&&(a[s(219)](...t),e+=t[s(256)]*n,o=!1)}return a}function m(t,e,n,i,s,a){const c=r,u=[];var l;if((l=t[c(159)])&&y(l)&&Boolean(l[c(221)][c(257)](c(259))||l[c(187)](c(162)))&&(u[c(219)]({type:c(170),offset:0,path:[e-1]}),a=!0),c(236)==o.global[c(243)][c(247)](t)[c(185)]){let i=0,o=!1;for(const e of t[c(307)]())i+=e[c(282)],e[c(216)]>=n&&(o=!0);if(i<s&&o)return u[c(219)]({type:c(184),offset:0,path:[e]}),u}const p=t[c(187)](c(278));if(p&&function(t){const e=c;let n=!1;const i=t[e(294)][e(265)][e(231)],s=t[e(229)],r=t[e(254)],a=s&&o.global[e(243)][e(247)](s)[e(252)],u=s&&e(203)===s[e(337)];return!i||s||r||(n=!0),i&&!r&&u&&(n=!0),i&&!r&&e(319)!==a&&(n=!0),!n}(p)){const t=o.global[c(243)][c(247)](p)[c(252)];if(c(216)==t||c(233)==t)return u}const f=g(t,n,i,s,a);if(f[c(256)]){for(const t of f)u[c(219)]({type:t[c(331)],offset:t[c(281)],textOffset:t[c(324)],path:[e,...t[c(293)]]}),n+=i,a=!1;return u}return u[c(219)](...function(t,e,n,i,s){const r=c,a=[];if(r(332)==o.global[r(243)][r(247)](t)[r(185)])return[];const u=[];for(const e of t[r(307)]())if(e[r(216)]>=n){for(const t of u)t[r(282)]+=e[r(282)];u[r(219)]({height:e[r(282)]}),n+=i}for(const t of u)s||a[r(219)]({type:r(184),offset:t[r(282)],textOffset:0,path:[e]}),s=!1;return a}(t,e,n,i,a)),u}function b(t,e){const n=d();return(b=function(t,e){return n[t-=156]})(t,e)}function k(t,e,n,i,o){const s=r,a=p(t),c=[];let u=0;for(const r of a[s(307)]())if(r[s(216)]>=n){const r=w(t,u,n,i);o||c[s(219)]({type:s(232),path:[e],textOffset:r}),u=r,n+=i,o=!1}return c}function w(t,e,n,i){const o=r;let s=e,a=t[o(256)];for(;a-s>1;){const e=Math[o(167)]((s+a)/2);v(f(t,s,e),n,i)?a=e:s=e}return s}function v(t,e,n){const i=r;for(const o of t[i(307)]())if(o[i(216)]>=e&&o[i(216)]<e+n)return!0;return!1}function y(t){const e=r;return t[e(239)]==Node[e(218)]}function I(t){const e=r;return t[e(239)]==Node[e(329)]}var P=n(673),N=n.n(P),x=n(545),_=n.n(x),E=n(262),T=n.n(E),A=n(667),R=n.n(A),S=n(357),C=n.n(S),L=n(371),D={attributes:{"data-cke":!0}};D.setAttributes=R(),D.insert=T().bind(null,"head"),D.domAPI=_(),D.insertStyleElement=C();N()(L.A,D);L.A&&L.A.locals&&L.A.locals;function O(t,e){const n=M();return(O=function(t,e){return n[t-=173]})(t,e)}!function(t){const e=O,n=t();for(;;)try{if(291133===parseInt(e(178))/1+-parseInt(e(192))/2*(parseInt(e(184))/3)+parseInt(e(179))/4+-parseInt(e(191))/5*(parseInt(e(177))/6)+-parseInt(e(187))/7+-parseInt(e(190))/8*(parseInt(e(188))/9)+-parseInt(e(189))/10*(-parseInt(e(194))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(M);const B=(0,o.toUnit)("px");class G extends e.View{constructor(){const t=O;super();const e=this[t(193)];this[t(174)]({isVisible:!1,left:null,top:null,width:null,pageNumber:null}),this[t(182)]({tag:t(175),attributes:{"data-page-number":e.to(t(183)),class:["ck",t(180),e.if(t(186),t(176),(t=>!t))],style:{left:e.to(t(185),(t=>B(t))),top:e.to(t(173),(t=>B(t))),width:e.to(t(181),(t=>B(t)))}}})}}function M(){const t=["2081556lvRkCK","ck-pagination-view-line","width","setTemplate","pageNumber","413859UpANei","left","isVisible","2344587liBpIy","18VmgPUn","10ZDSmXn","1083032BGnNRl","10PCOYFK","4bafNVr","bindTemplate","9614341dsdvlq","top","set","div","ck-hidden","1228242wMbUOi","187732UyDifH"];return(M=function(){return t})()}const K=j;function j(t,e){const n=U();return(j=function(t,e){return n[t-=243]})(t,e)}!function(t){const e=j,n=t();for(;;)try{if(188775===parseInt(e(271))/1+parseInt(e(258))/2+-parseInt(e(267))/3*(-parseInt(e(255))/4)+parseInt(e(269))/5*(parseInt(e(243))/6)+parseInt(e(264))/7*(-parseInt(e(262))/8)+parseInt(e(248))/9+parseInt(e(247))/10*(-parseInt(e(252))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(U);class V{[K(259)];[K(261)]=new Set;[K(260)]=new Set;constructor(t){const e=K;this[e(259)]=t.ui[e(245)][e(257)]}[K(244)](){const t=K;for(const e of this[t(260)])e[t(244)]()}[K(246)](){const t=K;for(const e of this[t(261)])e[t(263)]=!1,this[t(260)][t(250)](e);this[t(261)][t(268)]()}[K(253)](t,e,n,i){const s=K;let r;this[s(260)][s(249)]?(r=(0,o.first)(this[s(260)][s(266)]()),this[s(260)][s(256)](r)):r=new G,r[s(270)]({pageNumber:i,left:t,top:e,width:n}),r[s(263)]=!0,this[s(259)][s(254)](r)||this[s(259)][s(250)](r),this[s(261)][s(250)](r)}[K(265)](t){const e=K;for(const t of[...this[e(261)],...this[e(260)]])this[e(259)][e(254)](t)&&this[e(259)][e(251)](t);this[e(259)]=t}}function U(){const t=["6nMcJTD","destroy","view","cleanLines","490IBnwIC","608229huMCgA","size","add","remove","38093ibFibb","showLine","has","4TIpxND","delete","body","357438fthuHo","_viewCollection","_hiddenLines","_visibleLines","376JbDBcD","isVisible","9688bWzBhu","setViewCollection","values","99996UsDbrm","clear","36430aTyniL","set","136592NTACEE"];return(U=function(){return t})()}function F(t,e){const n=J();return(F=function(t,e){return n[t-=238]})(t,e)}const z=F;function J(){const t=["ck-pagination_enabled","PaginationLookup","15bEKOYF","removeClass","stopListening","get","1779268oVjZXJ","1339755iIVVwv","linesRepository","view","update","isOfficialPlugin","cleanLines","scrollLeft","2fikUnI","getComputedStyle","scrollToPage","2738150ybtETK","init","document","isPremiumPlugin","plugins","offset","push","411531ACBYzV","tagName","auto","_paginationLookupPlugin","scrollTop","_resizeObserver","body","excludeScrollbarsAndBorders","_getAttachedDomRoot","change:pageBreaks","overflowY","PaginationEditing","396cHQrpM","scrollTo","527622fDUJXY","parentElement","smooth","length","151736ydSGQY","destroy","PaginationRenderer","_onUiReady","_getPageBreakLineOffset","editing","bind","change","_renderPageBreakLines","change:isEnabled","ownerDocument","_toggleEditingRootsClass","values","top","window","BODY","listenTo","roots","height","showLine","contains","setupScrollableAncestor","21JnnNMR","pageNumber","left","addClass","width","instant","domRoots","_scrollableEditingRootDomAncestor","pageBreaks","bottom","_updatePageBreakLines","isMotionReduced","editor","once","12087504etZJem","scroll","ready","resize","set","pluginName","isEnabled"];return(J=function(){return t})()}!function(t){const e=F,n=t();for(;;)try{if(670069===parseInt(e(262))/1+-parseInt(e(269))/2*(parseInt(e(279))/3)+-parseInt(e(261))/4*(parseInt(e(257))/5)+parseInt(e(293))/6*(parseInt(e(319))/7)+parseInt(e(297))/8*(-parseInt(e(291))/9)+parseInt(e(272))/10+parseInt(e(248))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(J);const Y=z(255);class q extends t.Plugin{[z(263)];[z(241)]=null;[z(284)]=null;[z(282)];static get[z(253)](){return z(299)}static get[z(266)](){return!0}static get[z(275)](){return!0}[z(273)](){const t=z;this[t(252)]({pageNumber:1}),this[t(263)]=new V(this[t(246)]),this[t(241)]=null,this[t(284)]=null,this[t(282)]=this[t(246)][t(276)][t(260)](t(256)),this[t(303)](t(254)).to(this[t(246)][t(276)][t(260)](t(290))),this[t(246)].ui[t(247)](t(250),(()=>this[t(300)]())),this[t(308)](Y),this.on(t(306),((e,n,i)=>{const o=t;i||this[o(263)][o(267)](),this[o(308)](Y,i)}))}[z(298)](){const t=z;this[t(308)](Y,!1),this[t(263)][t(298)](),this[t(241)]=null,this[t(284)]&&this[t(284)][t(298)]()}[z(271)](t){const e=z;if(!this[e(254)])return;const n=t>1?this[e(301)](t-1):0;this[e(241)][e(292)]({top:n-10,left:this[e(241)][e(268)],behavior:o.env[e(245)]?e(239):e(295)})}[z(318)](){const t=z,e=this[t(246)],n=this[t(287)]();n?(this[t(241)]&&e.ui[t(264)][t(259)](this[t(241)],t(249)),this[t(241)]=function(e){const n=t;let i=e;do{i=i[n(294)];const t=o.global[n(311)][n(270)](i)[n(289)];if(n(281)==t||n(249)==t)break}while(n(312)!=i[n(280)]);return i}(n),e.ui[t(264)][t(313)](this[t(241)],t(249),(()=>{this[t(244)]()}),{usePassive:!0}),this[t(284)]&&this[t(284)][t(298)](),this[t(284)]=new o.ResizeObserver(this[t(241)],(()=>{this[t(244)]()}))):e.ui[t(247)](t(265),(()=>this[t(318)]()))}[z(300)](){const t=z,e=this[t(246)];this[t(287)]()?(this[t(318)](),e.ui[t(264)][t(313)](o.global[t(311)],t(251),(()=>this[t(244)]())),this[t(313)](this[t(282)],t(288),(()=>this[t(244)]()))):e.ui[t(247)](t(265),(()=>this[t(300)]()))}[z(287)](){const t=z;for(const e of this[t(246)][t(302)][t(264)][t(240)][t(309)]())if(e[t(307)][t(285)][t(317)](e))return e;return null}[z(244)](){const t=z;if(!this[t(254)])return;const e=this[t(287)](),n=this[t(282)][t(242)];if(this[t(263)][t(267)](),!e||1==n[t(296)])return void(this[t(320)]=1);const i=new o.Rect(e)[t(286)](),s=new o.Rect(this[t(241)])[t(286)](),r=s[t(310)]+s[t(315)]/3;let a=!1;const c=[];for(let e=1;e<n[t(296)];e++){const n=this[t(301)](e,s);if(!n)continue;const o=s[t(310)]+n-this[t(241)][t(283)];c[t(278)]({pageOffsetTop:o,domRootRect:i,domScrollableRect:s,pageNumber:e}),o>r&&!a&&(this[t(320)]=e,a=!0)}this[t(305)](c),a||(this[t(320)]=n[t(296)])}[z(305)](t){const e=z,{scrollX:n,scrollY:i}=o.global[e(311)];if(t[e(296)])for(const{domScrollableRect:o,pageOffsetTop:s,domRootRect:r,pageNumber:a}of t)o[e(310)]<s&&s<o[e(243)]&&this[e(263)][e(316)](r[e(321)]+n,s+i,r[e(238)],a+1)}[z(301)](t,e=null){const n=z,i=this[n(282)][n(242)][t][n(277)];return i?(e||(e=new o.Rect(this[n(241)])[n(286)]()),i-e[n(310)]+this[n(241)][n(283)]):0}[z(308)](t,e=!0){const n=z,i=this[n(246)][n(302)][n(264)];i[n(304)]((o=>{const s=n;for(const n of i[s(274)][s(314)])e?o[s(322)](t,n):o[s(258)](t,n)}))}}function H(t,e,...n){const i=t.t;switch(e){case"Go to next page":return i("Go to next page");case"Go to previous page":return i("Go to previous page");case"Current page number (from 1 to %0)":return i("Current page number (from 1 to %0)",...n);case"Keystrokes for navigating through documents":return i("Keystrokes for navigating through documents");case"Go to the previous page (also move selection)":return i("Go to the previous page (also move selection)");case"Go to the next page (also move selection)":return i("Go to the next page (also move selection)");default:return e}}var X=n(761),W={attributes:{"data-cke":!0}};W.setAttributes=R(),W.insert=T().bind(null,"head"),W.domAPI=_(),W.insertStyleElement=C();N()(X.A,W);X.A&&X.A.locals&&X.A.locals;const Z=$;function Q(){const t=["evaluationLimit","requires","end","Pagination","usageLimit","checkChild","toViewPosition","init","toViewElement","20799559OjJhae","_updatePageBreakMarkers","paginationLicenseKeyEvaluationLimit","_showLicenseError","forward","element","data","goToNextPage","consumable","add","Go to the next page (also move selection)","bindElementToMarker","setSelection","getContainedElement","focus","hasClass","text","goToPreviousPage","_setUpDataDowncastConversion","invalid","index","has","conversion","moveSelectionToPage","view","modelRange","get","textNode","page-break","licenseKey","isOfficialPlugin","43915HYCAUn","paginationLicenseKeyUsageLimit","config","paginationLicenseKeyExpired","paginationLicenseKeyValid","markers","addMarker:","type","isPremiumPlugin","bind","for","writer","setAttribute","1920897hlzolE","Shift+Pagedown","isEnabled","model","pageBreaks","createContainerElement","paginationLicenseKeyTrialLimit","_validatePageNumber","featureNotAllowed","set","4OnADXJ","data-pagination-page","locale","pagination","removeMarker","schema","addKeystrokeInfoGroup","offset","addMarker","Go to the previous page (also move selection)","length","domainLimit","pluginName","Keystrokes for navigating through documents","editing","change:pageBreaks","pageNumber","span","plugins","_licenseKeyCheckInterval","always","start","expired","page-break-before","change","dataDowncast","pagination:","editor","1140142KkkCXZ","insert","listenTo","totalPages","createPositionAt","getNearestSelectionRange","accessibility","66388hOVlvS","destroy","1SDGLns","1855443GLojYH","getFillerOffset","manual","_setupKeystrokes","56uyoPqw","updateMarker","paginationLicenseKeyDomainLimit","Shift+Pageup","setStyle","paginationLicenseKeyNotAllowed","substring","root","parent","scrollToPage","stop","paginationLicenseKeyInvalid","consume","mapper","1394550FyBQXD","trialLimit","$text","nodeAfter","132jVjxJl","name","keystrokes","PaginationEditing","options"];return(Q=function(){return t})()}function $(t,e){const n=Q();return($=function(t,e){return n[t-=178]})(t,e)}!function(t){const e=$,n=t();for(;;)try{if(368725===parseInt(e(254))/1*(-parseInt(e(245))/2)+-parseInt(e(255))/3*(parseInt(e(217))/4)+-parseInt(e(194))/5*(parseInt(e(277))/6)+parseInt(e(252))/7*(-parseInt(e(259))/8)+-parseInt(e(207))/9+parseInt(e(273))/10+parseInt(e(291))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Q);class tt extends t.Plugin{[Z(192)];[Z(236)];static get[Z(229)](){return Z(280)}static get[Z(193)](){return!0}static get[Z(202)](){return!0}static get[Z(283)](){return[a,q]}[Z(289)](){const t=Z;this[t(216)]({pageNumber:1,totalPages:1});const e=this[t(244)][t(235)][t(189)](t(285)),n=this[t(244)][t(235)][t(189)](a),i=this[t(244)][t(235)][t(189)](q);this[t(203)](t(209)).to(e),this[t(181)](),this[t(203)](t(233)).to(i),this[t(247)](n,t(232),((e,n,i,o)=>{const s=t;this[s(248)]=i[s(227)],this[s(292)](i,o)})),this[t(258)](),this[t(192)]=this[t(244)][t(196)][t(189)](t(192));const o=this[t(244)];this[t(236)]=setInterval((()=>{const e=t;let n;for(const t in o){const i=t,s=o[i];if(e(198)==s||e(270)==s||e(197)==s||e(261)==s||e(264)==s||e(293)==s||e(213)==s||e(195)==s){delete o[i],n=s,clearInterval(this[e(236)]),this[e(236)]=void 0;break}}e(270)==n&&o[e(294)](e(182)),e(197)==n&&o[e(294)](e(239)),e(261)==n&&o[e(294)](e(228)),e(264)==n&&o[e(294)](e(215),e(285)),e(293)==n&&o[e(294)](e(282)),e(213)==n&&o[e(294)](e(274)),e(195)==n&&o[e(294)](e(286))}),1e3)}[Z(253)](){const t=Z;super[t(253)](),this[t(236)]&&clearInterval(this[t(236)])}[Z(268)](t){const e=Z;this[e(209)]&&this[e(244)][e(235)][e(189)](q)[e(268)](this[e(214)](t))}[Z(186)](t){const e=Z;if(!this[e(209)])return;const n=this[e(244)],i=this[e(244)][e(235)][e(189)](a)[e(211)][t-1];i&&n[e(210)][e(241)]((t=>{const o=e;switch(i[o(201)]){case o(257):{const e=n[o(210)][o(222)][o(250)](i[o(188)][o(284)],o(295));t[o(303)](e);break}case o(296):{const e=n[o(210)][o(222)][o(250)](i[o(188)][o(238)],o(295));t[o(303)](e);break}case o(179):{const e=i[o(188)][o(238)];if(e[o(190)]&&" "===e[o(190)][o(297)][e[o(224)]]){const n=t[o(249)](e[o(267)],e[o(224)]+1);t[o(303)](n)}else t[o(303)](i[o(188)])}}n[o(231)][o(187)][o(305)]()}))}[Z(298)](){const t=Z,e=this[t(214)](this[t(233)]+1);this[t(186)](e),this[t(268)](e)}[Z(180)](){const t=Z,e=this[t(214)](this[t(233)]-1);this[t(186)](e),this[t(268)](e)}[Z(292)](t,e){const n=Z,i=this[n(244)][n(210)];this[n(209)]&&i[n(241)]((o=>{const s=n;for(let e=1;e<t[s(227)];e++){const n=t[e][s(188)],r=s(243)+(e+1);i[s(199)][s(184)](r)?o[s(260)](r,{range:n}):o[s(225)](r,{range:n,usingOperation:!1,affectsData:!0})}for(let n=t[s(227)];n<e[s(227)];n++){const t=s(243)+(n+1);i[s(199)][s(184)](t)&&o[s(221)](t)}}))}[Z(181)](){const t=Z,e=t(220);this[t(244)][t(185)][t(204)](t(242))[t(300)]((n=>{const i=t;n.on(i(200)+e,((t,{markerRange:e,markerName:n},o)=>{const s=i;if(!o[s(281)][s(220)])return;if(!o[s(299)][s(271)](e,t[s(278)]))return;const r=e[s(304)]();let a=r?o[s(272)][s(290)](r):null;if(!a){const t=e[s(238)];if(o[s(222)][s(287)](t,s(275))){const e=o[s(272)][s(288)](t);a=o[s(205)][s(212)](s(234)),a[s(256)]=()=>null,o[s(205)][s(246)](e,a)}else{const e=t[s(276)];a=o[s(272)][s(290)](e)}}for(;a[s(267)]!==a[s(266)]&&0===a[s(183)];)a=a[s(267)];const c=n[s(265)](11);a[s(178)](s(191))||(o[s(205)][s(263)](s(240),s(237),a),o[s(205)][s(206)](s(218),c,a),o[s(272)][s(302)](a,n)),t[s(269)]()}))}))}[Z(258)](){const t=Z,e=this[t(244)];e[t(279)][t(216)](t(262),((e,n)=>{this[t(180)](),n()})),e[t(279)][t(216)](t(208),((e,n)=>{this[t(298)](),n()})),e[t(251)][t(223)]({id:t(220),label:H(e[t(219)],t(230)),keystrokes:[{label:H(e[t(219)],t(226)),keystroke:t(262),mayRequireFn:!0},{label:H(e[t(219)],t(301)),keystroke:t(208),mayRequireFn:!0}]})}[Z(214)](t){const e=Z;return t<1&&(t=1),t>this[e(248)]&&(t=this[e(248)]),t}}var et=n(355),nt=n(953),it={attributes:{"data-cke":!0}};it.setAttributes=R(),it.insert=T().bind(null,"head"),it.domAPI=_(),it.insertStyleElement=C();N()(nt.A,it);nt.A&&nt.A.locals&&nt.A.locals;const ot=st;function st(t,e){const n=rt();return(st=function(t,e){return n[t-=254]})(t,e)}function rt(){const t=["enter","isReadOnly","3708072QRyyPN","blur","focus","preventDefault","isEnabled","keydown","select","50zSWGVU","value","pageNumberView","set","element","fire","numeric","4510731aWZeeN","119314iuNNaQ","bindTemplate","3605859jYAtOX","stopPropagation","div","listenTo","4mToqDH","navigation","change:pageNumber","4563510rJrxCB","checkValidity","render","span","ck-disabled","valueAsNumber","bind","isNaN","1125211ibsZkr","totalPages","ariaLabel","keyCode","pageNumber","ck-page-navigator","ArrowDown","setTemplate","Current page number (from 1 to %0)","max","key","30rATlYB","ArrowUp","firstChild","7616qwtgtF"];return(rt=function(){return t})()}!function(t){const e=st,n=t();for(;;)try{if(815775===-parseInt(e(271))/1+parseInt(e(254))/2+-parseInt(e(302))/3+parseInt(e(260))/4*(parseInt(e(263))/5)+parseInt(e(282))/6*(parseInt(e(285))/7)+parseInt(e(288))/8+parseInt(e(256))/9*(parseInt(e(295))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(rt);class at extends e.View{[ot(297)];constructor(t){const n=ot;super(t);const i=this[n(255)];this[n(298)]({pageNumber:1,totalPages:1,isEnabled:!0}),this[n(297)]=new e.InputNumberView(t,{min:1,step:1}),this[n(297)][n(298)]({inputMode:n(301),tabIndex:-1}),this[n(297)][n(269)](n(273)).to(this,n(272),(e=>H(t,n(279),e))),this[n(297)][n(269)](n(280)).to(this,n(272)),this[n(297)][n(269)](n(287)).to(this,n(292),(t=>!t)),this[n(278)]({tag:n(258),attributes:{class:["ck",n(276),i.if(n(292),n(267),(t=>!t))]},children:[this[n(297)],{tag:n(266),children:[{text:i.to(n(272))}]}]})}[ot(265)](){const t=ot;super[t(265)]();const e=this[t(297)][t(299)],n=e=>{const n=t;this[n(297)][n(299)][n(296)]=String(e)};n(this[t(275)]),this.on(t(262),((t,e,i)=>{n(i)})),this[t(259)](e,t(293),((n,i)=>{const s=t;if(s(283)===i[s(281)]||s(277)===i[s(281)])return void i[s(257)]();if(i[s(274)]!==o.keyCodes[s(286)])return;i[s(291)]();const r=e[s(268)];Number[s(270)](r)?e[s(296)]=String(this[s(275)]):(e[s(264)]()?this[s(275)]=r:r>this[s(272)]?(this[s(275)]=this[s(272)],e[s(296)]=String(this[s(272)])):(this[s(275)]=1,e[s(296)]="1"),this[s(300)](s(261),this[s(275)]))})),this[t(259)](e,t(289),(()=>{const n=t;e[n(296)]=String(this[n(275)])})),this[t(259)](e,t(290),(()=>{const e=t;this[e(297)][e(294)]()}))}[ot(290)](){const t=ot;this[t(299)][t(284)][t(290)]()}}const ct=lt;function ut(){const t=["listenTo","componentFactory","pluginName","init","12cVvPht","7kuVksu","nextPage","PaginationUI","pageNavigation","get","34032rMmRJP","locale","bind","2359629DGLGzG","pageNumber","totalPages","1600386NAJQik","985056DbEqGb","icon","label","previousPage","214725eptGmE","isPremiumPlugin","Go to previous page","execute","Shift+PageUp","tooltip","174CgFDhv","plugins","scrollToPage","add","isEnabled","2075898KLYuWV","20iENRzN","keystroke","goToNextPage","PaginationEditing","moveSelectionToPage","goToPreviousPage","205QhkIGf","editor","isOfficialPlugin","Go to next page","navigation","Shift+PageDown"];return(ut=function(){return t})()}function lt(t,e){const n=ut();return(lt=function(t,e){return n[t-=290]})(t,e)}!function(t){const e=lt,n=t();for(;;)try{if(232106===-parseInt(e(317))/1*(parseInt(e(305))/2)+-parseInt(e(327))/3*(-parseInt(e(333))/4)+-parseInt(e(299))/5+parseInt(e(294))/6+parseInt(e(328))/7*(-parseInt(e(295))/8)+-parseInt(e(291))/9+parseInt(e(311))/10*(parseInt(e(310))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ut);class pt extends t.Plugin{static get[ct(325)](){return ct(330)}static get[ct(319)](){return!0}static get[ct(300)](){return!0}[ct(326)](){const t=ct,n=this[t(318)],i=n[t(306)][t(332)](t(314));n.ui[t(324)][t(308)](t(331),(e=>{const n=t,o=new at(e);return o[n(290)](n(292)).to(i),o[n(290)](n(293)).to(i),o[n(290)](n(309)).to(i),o.on(n(321),((t,e)=>{const o=n;i[o(315)](e),i[o(307)](e)})),o})),n.ui[t(324)][t(308)](t(329),(o=>{const s=t,r=new e.ButtonView(o);return r[s(309)]=!0,r[s(297)]=H(n[s(334)],s(320)),r[s(296)]=et.IconArrowDown,r[s(304)]=!0,r[s(312)]=s(322),r[s(290)](s(309)).to(i),this[s(323)](r,s(302),(()=>{i[s(313)]()})),r})),n.ui[t(324)][t(308)](t(298),(o=>{const s=t,r=new e.ButtonView(o);return r[s(309)]=!0,r[s(297)]=H(n[s(334)],s(301)),r[s(296)]=et.IconArrowUp,r[s(304)]=!0,r[s(312)]=s(303),r[s(290)](s(309)).to(i),this[s(323)](r,s(302),(()=>{i[s(316)]()})),r}))}}const ft=dt;function ht(){const t=["isBlink","4315jHQGnE","plugins","922008PhDJjg","bind","isPremiumPlugin","totalPages","ready","isOfficialPlugin","init","browserCheck","requires","forceDisabled","pagination.enableOnUnsupportedBrowsers","Pagination","set","203CPzlys","2277096KyuqTa","editor","2212664tkZLuj","402888rzJDxK","1460578SNNnsc","isEnabled","config","6012swIEAU","pageNumber","pluginName","get","23108049iBtIWJ","scrollToPage"];return(ht=function(){return t})()}function dt(t,e){const n=ht();return(dt=function(t,e){return n[t-=361]})(t,e)}!function(t){const e=dt,n=t();for(;;)try{if(877654===-parseInt(e(380))/1+parseInt(e(378))/2+parseInt(e(376))/3+parseInt(e(362))/4+parseInt(e(390))/5*(-parseInt(e(383))/6)+parseInt(e(375))/7*(-parseInt(e(379))/8)+parseInt(e(387))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ht);class gt extends t.Plugin{static get[ft(385)](){return ft(373)}static get[ft(367)](){return!0}static get[ft(364)](){return!0}static get[ft(370)](){return[tt,pt]}constructor(t){const e=ft;super(t),this[e(381)]=!1}[ft(368)](){const t=ft;this[t(374)]({pageNumber:1,totalPages:1});const e=this[t(377)][t(361)][t(386)](tt);this[t(363)](t(384)).to(e),this[t(363)](t(365)).to(e),o.env[t(389)]||this[t(377)][t(382)][t(386)](t(372))?this[t(377)].on(t(366),(()=>{this[t(381)]=!0})):this[t(371)](t(369))}[ft(388)](t){const e=ft;this[e(377)][e(361)][e(386)](tt)[e(388)](t)}}function mt(t,e){var n=bt();return(mt=function(t,e){return n[t-=104]})(t,e)}function bt(){var t=["1548DKRdHT","1897oNnNqH","1713195RpBjYl","223252XAsefx","26764ckRPCr","8176920ezFkKM","83340RGfRIJ","160cNyCgB","3424gqLHuB","1bXMoty","4807022xGwjNz"];return(bt=function(){return t})()}!function(t){for(var e=mt,n=t();;)try{if(718965===parseInt(e(109))/1*(parseInt(e(114))/2)+parseInt(e(113))/3+-parseInt(e(104))/4*(parseInt(e(107))/5)+parseInt(e(105))/6+parseInt(e(112))/7*(-parseInt(e(108))/8)+-parseInt(e(111))/9*(parseInt(e(106))/10)+parseInt(e(110))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(bt)})(),(window.CKEditor5=window.CKEditor5||{}).pagination=i})();
|
|
5
|
+
*/(()=>{var t={168:t=>{"use strict";t.exports=function(t){return t[1]}},237:t=>{"use strict";t.exports=CKEditor5.dll},262:t=>{"use strict";var e={};t.exports=function(t,n){var i=function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}e[t]=n}return e[t]}(t);if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(n)}},311:(t,e,n)=>{t.exports=n(237)("./src/ui.js")},355:(t,e,n)=>{t.exports=n(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},371:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(168),o=n.n(i),s=n(433),r=n.n(s)()(o());r.push([t.id,".ck.ck-pagination-view-line{border-top:1px dotted var(--ck-color-pagination-divider);height:0;pointer-events:none;position:absolute}.ck.ck-pagination-view-line:after{background:#c4c4c4;color:var(--ck-color-base-background);content:attr(data-page-number);display:inline-block;font-size:10px;min-width:18px;padding:var(--ck-spacing-tiny) var(--ck-spacing-medium);position:absolute;right:-1px;text-align:center;top:-1px;transform:translateX(100%)}",""]);const a=r},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n="",i=void 0!==e[5];return e[4]&&(n+="@supports (".concat(e[4],") {")),e[2]&&(n+="@media ".concat(e[2]," {")),i&&(n+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),n+=t(e),i&&(n+="}"),e[2]&&(n+="}"),e[4]&&(n+="}"),n})).join("")},e.i=function(t,n,i,o,s){"string"==typeof t&&(t=[[null,t,void 0]]);var r={};if(i)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(r[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);i&&r[l[0]]||(void 0!==s&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=s),n&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=n):l[2]=n),o&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=o):l[4]="".concat(o)),e.push(l))}},e}},545:t=>{"use strict";var e,n=(e=[],function(t,n){return e[t]=n,e.filter(Boolean).join("\n")});function i(t,e,i,o){var s;if(i)s="";else{s="",o.supports&&(s+="@supports (".concat(o.supports,") {")),o.media&&(s+="@media ".concat(o.media," {"));var r=void 0!==o.layer;r&&(s+="@layer".concat(o.layer.length>0?" ".concat(o.layer):""," {")),s+=o.css,r&&(s+="}"),o.media&&(s+="}"),o.supports&&(s+="}")}if(t.styleSheet)t.styleSheet.cssText=n(e,s);else{var a=document.createTextNode(s),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var o={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=o.singletonCounter++,n=o.singleton||(o.singleton=t.insertStyleElement(t));return{update:function(t){i(n,e,!1,t)},remove:function(t){i(n,e,!0,t)}}}},584:(t,e,n)=>{t.exports=n(237)("./src/utils.js")},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach((function(n){t.setAttribute(n,e[n])}))}},673:t=>{"use strict";var e=[];function n(t){for(var n=-1,i=0;i<e.length;i++)if(e[i].identifier===t){n=i;break}return n}function i(t,i){for(var s={},r=[],a=0;a<t.length;a++){var c=t[a],u=i.base?c[0]+i.base:c[0],l=s[u]||0,p="".concat(u," ").concat(l);s[u]=l+1;var f=n(p),h={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==f)e[f].references++,e[f].updater(h);else{var d=o(h,i);i.byIndex=a,e.splice(a,0,{identifier:p,updater:d,references:1})}r.push(p)}return r}function o(t,e){var n=e.domAPI(e);n.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;n.update(t=e)}else n.remove()}}t.exports=function(t,o){var s=i(t=t||[],o=o||{});return function(t){t=t||[];for(var r=0;r<s.length;r++){var a=n(s[r]);e[a].references--}for(var c=i(t,o),u=0;u<s.length;u++){var l=n(s[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}s=c}}},761:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(168),o=n.n(i),s=n(433),r=n.n(s)()(o());r.push([t.id,":root{--ck-color-pagination-divider:#ababab}.ck.ck-pagination_enabled.ck-content .page-break:after,.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .ck-widget__type-around{display:none}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view :has(+.page-break){margin-bottom:0}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .page-break{break-after:column;display:block;height:0;margin:0;padding:0}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .ck-table-column-resizer,.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .page-break .page-break__label,.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .page-break:after{display:none}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .table table{overflow:initial}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .ck-bookmark{display:none}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view figure.table:has(>table){display:block}",""]);const a=r},782:(t,e,n)=>{t.exports=n(237)("./src/core.js")},953:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(168),o=n.n(i),s=n(433),r=n.n(s)()(o());r.push([t.id,'.ck.ck-page-navigator{line-height:1;padding:0 var(--ck-spacing-standard)}.ck.ck-page-navigator>.ck-input-number{-moz-appearance:textfield;background:transparent;min-width:var(--ck-ui-component-min-height);text-align:center;width:var(--ck-ui-component-min-height)}.ck.ck-page-navigator>.ck-input-number::-webkit-inner-spin-button,.ck.ck-page-navigator>.ck-input-number::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.ck.ck-page-navigator>.ck-input-number:not(:focus){border:1px solid transparent;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-page-navigator>span:before{content:"/";margin:0 var(--ck-spacing-standard)}',""]);const a=r}},e={};function n(i){var o=e[i];if(void 0!==o)return o.exports;var s=e[i]={id:i,exports:{}};return t[i](s,s.exports,n),s.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var i in e)n.o(e,i)&&!n.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var i={};(()=>{"use strict";n.r(i),n.d(i,{Pagination:()=>gt,PaginationRenderer:()=>z});var t=n(782),e=n(311),o=n(584);function s(t,e,{signal:n,edges:i}={}){let o,s=null;const r=null!=i&&i.includes("leading"),a=null==i||i.includes("trailing"),c=()=>{null!==s&&(t.apply(o,s),o=void 0,s=null)};let u=null;const l=()=>{null!=u&&clearTimeout(u),u=setTimeout((()=>{u=null,a&&c(),f()}),e)},p=()=>{null!==u&&(clearTimeout(u),u=null)},f=()=>{p(),o=void 0,s=null},h=function(...t){if(n?.aborted)return;o=this,s=t;const e=null==u;l(),r&&e&&c()};return h.schedule=l,h.cancel=f,h.flush=()=>{p(),c()},n?.addEventListener("abort",f,{once:!0}),h}const r=b;function a(){const t=["PaginationLookup","hidden","join","pluginName","6172JEbdpb","contains","table-cell","path","ck-pagination-view","isOfficialPlugin","selectNode","querySelectorAll","rootElement","compareDocumentPosition","hasAttribute","parentNode","537oFxBmK","shift","offset","div","assign","change:isEnabled","root","TEXT_NODE","map","left","index","imageBlock","sort","type","scrollLeft",".page-break","1524908HbfRvJ","pagination-config-not-found","findMappedViewAncestor","set","startContainer","every","ELEMENT_NODE","className","update","_findPageStarterInfos","table-row","parentElement","_mapTextPageStarterInfoToPageBreakInfo","element","createRange"," - ","removeEventListener","round","pagination.pageMargins","toViewElement","getComputedStyle","createRangeOn","createPositionBefore","getAncestors","height","closest","ceil","position"," 0 ","low","offsetParent","firstChild","258020HFZPBM","insertBefore","class","manual","length","10mm","clear","_recalculatePageBreaksDebounced","setEnd","figure.image","_onUiReady","772552bPORdr","mapViewToDom","ck-reset","excludeScrollbarsAndBorders","classList","view","isPremiumPlugin","_recalculatePageBreaks","nodeBefore","toModelPosition","once","calc( ","cloneNode","error","absolute","editing","previousElementSibling","PaginationEditing","top","bindTemplate","_mapElementPageStarterInfoToPageBreakInfo","dataset","isTouching","pagination","domConverter","2649267HSApDQ","floor","parent","setStart","right","ownerDocument","DOCUMENT_POSITION_PRECEDING","append","locale","pageBreaks","border-box","document","previousSibling","childNodes","push","all","indexOf","rootName","fromCharCode","removeAttribute","endOffset","values","100px","text","config","getDomRoot","endContainer","load","startOffset","_offset","get","toModelElement","domRoots","_getAttachedDomRoot","entries","textOffset","float","none","_pagesContainer","mapper","domPositionToView","race","getClientRects","paddingLeft","resolve","isEnabled","bottom","-99999px","_updatePageBreaksData","style","nextElementSibling","_configuredPaddings","bind","1827792KggiCJ","render","nodeType","listenTo","addEventListener","attributeStyleMap","window","_mapManualPageStarterInfoToPageBreakInfo","modelRange","page-break","ck-fake-selection-container","model","nextSibling","auto","init","_mapPageStarterInfoToPageBreakInfo","then","paddingRight","body","destroy","img","selectNodeContents","_domNode","ready","editor","complete","from","display","width","afterInit","childElementCount","cancel","339hbHMau","setTemplate","1502hENCdo","href","remove","plugins"];return(a=function(){return t})()}!function(t){const e=b,n=t();for(;;)try{if(184218===-parseInt(e(223))/1*(parseInt(e(225))/2)+parseInt(e(245))/3*(parseInt(e(233))/4)+parseInt(e(293))/5+-parseInt(e(382))/6+parseInt(e(261))/7+-parseInt(e(304))/8+parseInt(e(329))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(a);class c extends t.Plugin{[r(300)]=function(t,e=0,n={}){"object"!=typeof n&&(n={});const{signal:i,leading:o=!1,trailing:r=!0,maxWait:a}=n,c=Array(2);let u;o&&(c[0]="leading"),r&&(c[1]="trailing");let l=null;const p=s((function(...e){u=t.apply(this,e),l=null}),e,{signal:i,edges:c}),f=function(...e){if(null!=a)if(null===l)l=Date.now();else if(Date.now()-l>=a)return u=t.apply(this,e),l=Date.now(),p.cancel(),p.schedule(),u;return p.apply(this,e),u};return f.cancel=p.cancel,f.flush=()=>(p.flush(),u),f}((()=>this[r(311)]()),200);[r(367)]=null;static get[r(232)](){return r(229)}static get[r(238)](){return!0}static get[r(310)](){return!0}[r(396)](){const t=r;if(this[t(264)]({pageBreaks:[]}),!this[t(215)][t(353)][t(359)](t(327)))return void(0,o.logWarning)(t(262),this[t(215)][t(353)]);const e=this[t(215)][t(228)][t(359)](t(321));this[t(381)](t(374)).to(e),this[t(215)].ui[t(314)](t(214),(()=>this[t(303)]())),this.on(t(250),((e,n,i)=>{i&&this[t(300)]()}))}[r(220)](){!async function(t){const e=g([100,106,122,88,57,82,73,87,118,85,107,65,49,68,120,66,84,114,78,115,83,81,102,86,109,119,75,52,48,89,117,54,101,90,50,77,103,105,67,79,110,111,72,108,116,80,56,71,55,104,112,53,69,99,121,98,76,70,74,97,113,51]),n=window[g([68,97,116,101])][g([110,111,119])](),i=t[g([101,100,105,116,111,114])],s=new(window[g([80,114,111,109,105,115,101])])((t=>{i[g([111,110,99,101])](g([114,101,97,100,121]),t)})),r={[g([107,116,121])]:g([69,67]),[g([117,115,101])]:g([115,105,103]),[g([99,114,118])]:g([80,45,50,53,54]),[g([120])]:g([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[g([121])]:g([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[g([97,108,103])]:g([69,83,50,53,54])},a=i[g([99,111,110,102,105,103])][g([103,101,116])](g([108,105,99,101,110,115,101,75,101,121]));function c(t){const e=[new(window[g([80,114,111,109,105,115,101])])((t=>setTimeout(t,605900))),s[g([116,104,101,110])]((()=>new(window[g([80,114,111,109,105,115,101])])((t=>{let e=0;i[g([109,111,100,101,108])][g([111,110])](g([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),((n,i)=>{i[0][g([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&e++,504==e&&(t(),n[g([111,102,102])]())}))}))))];return window[g([80,114,111,109,105,115,101])][g([114,97,99,101])](e)[g([116,104,101,110])]((()=>t))}function u(t){return t[g([115,116,97,114,116,115,87,105,116,104])](g([101,121]))?JSON[g([112,97,114,115,101])](l(t)):null}function l(t){return window[g([97,116,111,98])](t[g([114,101,112,108,97,99,101])](/-/g,g([43]))[g([114,101,112,108,97,99,101])](/_/g,g([47])))}function p(t){let e=5381;function n(t){for(let n=0;n<t[g([108,101,110,103,116,104])];n++){const i=t[g([99,104,97,114,67,111,100,101,65,116])](n);e=(e<<5)+e+i,e&=e}}return function t(e){Array[g([105,115,65,114,114,97,121])](e)?e[g([102,111,114,69,97,99,104])](t):e&&typeof e==g([111,98,106,101,99,116])?Object[g([101,110,116,114,105,101,115])](e)[g([115,111,114,116])]()[g([102,111,114,69,97,99,104])]((([e,i])=>{n(e),t(i)})):n(window[g([83,116,114,105,110,103])](e))}(t),e>>>0}function f(t){return t[g([116,111,83,116,114,105,110,103])](16)[g([112,97,100,83,116,97,114,116])](8,g([48]))}function h(t){return t[g([115,112,108,105,116])]("")[g([114,101,118,101,114,115,101])]()[g([106,111,105,110])]("")}function d(){}function g(t){const e=b;return t[e(253)]((t=>String[e(347)](t)))[e(231)]("")}!function(t){const n=function(){const t=window[g([83,116,114,105,110,103])](window[g([112,101,114,102,111,114,109,97,110,99,101])][g([110,111,119])]())[g([114,101,112,108,97,99,101])](g([46]),"");let n=g([100]);for(let i=0;i<t[g([108,101,110,103,116,104])];i+=2){let o=window[g([112,97,114,115,101,73,110,116])](t[g([115,117,98,115,116,114,105,110,103])](i,i+2));o>=e[g([108,101,110,103,116,104])]&&(o-=e[g([108,101,110,103,116,104])]),n+=e[o]}return n}();i[n]=g([112,97,103,105,110,97,116,105,111,110,76,105,99,101,110,115,101,75,101,121])+t,t!=g([86,97,108,105,100])&&async function(){await s,i[g([109,111,100,101,108])][g([99,104,97,110,103,101])]=d,i[g([109,111,100,101,108])][g([101,110,113,117,101,117,101,67,104,97,110,103,101])]=d,i[g([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](g([109,111,100,101,108]))}()}(await async function(){let t,e=null,d=null;try{return a==g([71,80,76])?g([78,111,116,65,108,108,111,119,101,100]):(t=function(){const t=a[g([115,112,108,105,116])](g([46]));return 3!=t[g([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=u(t);return e&&n()?e:null;function n(){const t=e[g([106,116,105])],n=window[g([112,97,114,115,101,73,110,116])](t[g([115,117,98,115,116,114,105,110,103])](t[g([108,101,110,103,116,104])]-8),16),i={...e,[g([106,116,105])]:t[g([115,117,98,115,116,114,105,110,103])](0,t[g([108,101,110,103,116,104])]-8)};return delete i[g([118,99])],p(i)==n}}}(),t?(t[g([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(d=function(t,e){return new(window[g([80,114,111,109,105,115,101])])((c=>{if(r())return c(g([86,97,108,105,100]));a(),i[g([100,101,99,111,114,97,116,101])](g([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let u=!1;const l=(0,o.uid)();function d(t){return!!t&&(typeof t===g([111,98,106,101,99,116])||typeof t===g([102,117,110,99,116,105,111,110]))&&typeof t[g([116,104,101,110])]===g([102,117,110,99,116,105,111,110])&&typeof t[g([99,97,116,99,104])]===g([102,117,110,99,116,105,111,110])}function m(i){a(i)[g([116,104,101,110])]((t=>t&&t[g([115,116,97,116,117,115])]==g([111,107])?f(p(l+e))!=t[g([118,101,114,105,102,105,99,97,116,105,111,110])]?g([85,115,97,103,101,76,105,109,105,116]):g([86,97,108,105,100]):g([85,115,97,103,101,76,105,109,105,116])))[g([116,104,101,110])]((t=>(s(),t)),(()=>{const t=r();return null==t?(s(),g([86,97,108,105,100])):g(n-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])}))[g([116,104,101,110])](c)[g([99,97,116,99,104])]((()=>{c(g([85,115,97,103,101,76,105,109,105,116]))}));const o=36e5;function s(){const e=g([108,108,99,116,45])+f(p(t)),i=h(f(window[g([77,97,116,104])][g([99,101,105,108])](n/o)));window[g([108,111,99,97,108,83,116,111,114,97,103,101])][g([115,101,116,73,116,101,109])](e,i)}function r(){const e=g([108,108,99,116,45])+f(p(t)),n=window[g([108,111,99,97,108,83,116,111,114,97,103,101])][g([103,101,116,73,116,101,109])](e);return n?window[g([112,97,114,115,101,73,110,116])](h(n),16)*o:null}function a(t){return new(window[g([80,114,111,109,105,115,101])])(((e,n)=>{t[g([116,104,101,110])](e,n),window[g([115,101,116,84,105,109,101,111,117,116])](n,12e4)}))}}i[g([111,110])](g([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),((e,n)=>{if(n[0]!=t)return c(g([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[g([114,101,113,117,101,115,116,73,100])]:l}}),{[g([112,114,105,111,114,105,116,121])]:g([104,105,103,104])}),i[g([111,110])](g([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t=>{d(t[g([114,101,116,117,114,110])])&&(u=!0,m(t[g([114,101,116,117,114,110])]))}),{[g([112,114,105,111,114,105,116,121])]:g([108,111,119])}),s[g([116,104,101,110])]((()=>{u||c(g([85,115,97,103,101,76,105,109,105,116]))}))}));function r(){return i[g([101,100,105,116,105,110,103])][g([118,105,101,119])][g([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==g([97,117,116,111])}function a(){i[g([101,100,105,116,105,110,103])][g([118,105,101,119])][g([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=g([97,117,116,111])}}(t[g([117,115,97,103,101,69,110,100,112,111,105,110,116])],t[g([106,116,105])])),await async function(){let t=!0;try{const i=a[g([115,112,108,105,116])](g([46])),[o,s,r]=i;return e(o),await n(o,s,r),t}catch(t){return!1}function e(e){const n=u(e);n&&n[g([97,108,103])]==g([69,83,50,53,54])||(t=!1)}async function n(e,n,i){const o=window[g([85,105,110,116,56,65,114,114,97,121])][g([102,114,111,109])](l(i),(t=>t[g([99,104,97,114,67,111,100,101,65,116])](0))),s=(new(window[g([84,101,120,116,69,110,99,111,100,101,114])]))[g([101,110,99,111,100,101])](e+g([46])+n),a=window[g([99,114,121,112,116,111])][g([115,117,98,116,108,101])];if(!a)return;const c=await a[g([105,109,112,111,114,116,75,101,121])](g([106,119,107]),r,{[g([110,97,109,101])]:g([69,67,68,83,65]),[g([110,97,109,101,100,67,117,114,118,101])]:g([80,45,50,53,54])},!1,[g([118,101,114,105,102,121])]);await a[g([118,101,114,105,102,121])]({[g([110,97,109,101])]:g([69,67,68,83,65]),[g([104,97,115,104])]:{[g([110,97,109,101])]:g([83,72,65,45,50,53,54])}},c,o,s)||(t=!1)}}()?function(){const e=t[g([102,101,97,116,117,114,101,115])];return!(!e||!e[g([105,110,99,108,117,100,101,115])](g([42]))&&!e[g([105,110,99,108,117,100,101,115])](g([80,65,71])))}()?function(){const e=[g([101,118,97,108,117,97,116,105,111,110]),g([116,114,105,97,108])][g([105,110,99,108,117,100,101,115])](t[g([108,105,99,101,110,115,101,84,121,112,101])])?n/1e3:1746576e3;return t[g([101,120,112])]<e}()?g([69,120,112,105,114,101,100]):function(){const e=b,n=t[g([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[g([108,101,110,103,116,104])])return!0;const{hostname:i}=new URL(window[g([108,111,99,97,116,105,111,110])][e(226)]);if(n[g([105,110,99,108,117,100,101,115])](i))return!0;const o=i[g([115,112,108,105,116])](g([46]));return n[g([102,105,108,116,101,114])]((t=>t[g([105,110,99,108,117,100,101,115])](g([42]))))[g([109,97,112])]((t=>t[g([115,112,108,105,116])](g([46]))))[g([115,111,109,101])]((t=>o[g([101,118,101,114,121])](((e,n)=>t[n]===e||t[n]===g([42])))))}()?(t[g([108,105,99,101,110,115,101,84,121,112,101])]==g([101,118,97,108,117,97,116,105,111,110])&&(e=c(g([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),t[g([108,105,99,101,110,115,101,84,121,112,101])]==g([116,114,105,97,108])&&(e=c(g([84,114,105,97,108,76,105,109,105,116]))),await(e&&d?new(window[g([80,114,111,109,105,115,101])])(((t,n)=>{e[g([116,104,101,110])](t,n),d[g([116,104,101,110])]((e=>{e!=g([86,97,108,105,100])&&t(e)}),n)})):e||d||g([86,97,108,105,100]))):g([68,111,109,97,105,110,76,105,109,105,116]):g([78,111,116,65,108,108,111,119,101,100]):g([73,110,118,97,108,105,100])):g([73,110,118,97,108,105,100]))}catch(t){return g([73,110,118,97,108,105,100])}}())}(this)}[r(210)](){const t=r;super[t(210)](),this[t(367)]&&(this[t(300)][t(222)](),this[t(367)][t(210)](),this[t(367)][t(274)][t(227)]())}[r(303)](){const t=r,n=this[t(215)],i=n[t(319)][t(309)],o=this[t(362)]();if(!o||0===o[t(221)])return void n.ui[t(314)](t(269),(()=>this[t(303)]()));const{pageWidth:s,pageHeight:a}=n[t(353)][t(359)](t(327)),{top:c,left:u,bottom:l,right:p}=this[t(380)];this[t(367)]=new e.View(n[t(337)]);const f=this[t(367)];f[t(264)](t(295),""),f[t(224)]({tag:t(248),attributes:{contenteditable:!0,style:{columnWidth:s,width:s,height:t(315)+a+t(276)+c+t(276)+l+" )",minWidth:t(395),minHeight:t(395),padding:"0 "+p+t(289)+u,columnGap:t(351),border:0,boxSizing:t(339),columnCount:t(395),columnFill:t(395),overflow:t(230),position:t(318),top:t(376),left:t(376)},tabindex:"-1",class:f[t(323)].to(t(295))}}),f[t(383)](),o[t(244)][t(294)](f[t(274)],o[t(394)]),this[t(385)](i,t(383),(()=>this[t(300)]()),{priority:t(290)}),this[t(300)]()}[r(362)](){const t=r;for(const e of this[t(215)][t(319)][t(309)][t(361)][t(350)]())if(e[t(334)][t(209)][t(234)](e))return e;return null}[r(311)](){const t=r;if(!this[t(374)])return Promise[t(373)]();const e=this[t(215)][t(319)][t(309)],n=this[t(367)],i=this[t(362)]();if(!i)return Promise[t(373)]();for(n[t(295)]=[t(306),t(237),...i[t(308)]][t(231)](" ");n[t(274)][t(292)];)n[t(274)][t(292)][t(227)]();const o=Array[t(217)](e[t(361)]);o[t(257)]((([,e],[,n])=>e[t(242)](n)==Node[t(335)]?1:-1));for(const[e,i]of o){const o=i[t(316)](!0);t(387)in o&&o[t(387)][t(299)](),o[t(268)]="",o[t(348)]("id"),o[t(325)][t(346)]=e,n[t(274)][t(336)](o)}return function(e){const n=t;return Promise[n(344)](e[n(253)]((t=>{return Promise[n(370)]([p(t),(e=1e3,new Promise((t=>setTimeout(t,e))))]);var e})))}(Array[t(217)](n[t(274)][t(240)](t(211))))[t(207)]((()=>this[t(377)]()))}[r(377)](){const t=r,e=this[t(367)][t(274)];if(!e[t(334)][t(209)][t(234)](e))return;const n=new o.Rect(e)[t(307)](),i=o.global[t(388)][t(281)](e),s=parseFloat(i[t(372)])+parseFloat(i[t(208)]),a=Math[t(330)](n[t(219)]+100-s),c=g(e,Math[t(330)](n[t(254)]-e[t(259)]),a,n[t(285)])[t(253)]((e=>this[t(206)](e)));c[t(266)]((t=>!!t))&&(this[t(338)]=c)}[r(206)](t){const e=r,n=this[e(215)][e(319)][e(309)],i=this[e(215)][e(319)][e(368)],o=n[e(328)],s=t[e(236)][e(246)](),a=this[e(367)][e(274)][e(342)][s][e(325)][e(346)],c=n[e(354)](a);if(!c)return null;const u=function(t,n){const i=e;let o=t;for(const t of n[i(236)]){if(!o)return null;o=o[i(342)][t]}return o}(c,t);if(!u)return null;const l=o[e(369)](u,t[e(364)]||0);return l?e(296)==t[e(258)]?this[e(389)](l,u):e(352)==t[e(258)]&&i[e(313)](l)[e(247)]?this[e(273)](l,u,t[e(364)]):this[e(324)](l,u,t[e(247)]):null}[r(389)](t,e){const n=r,i=this[n(215)][n(393)],o=this[n(215)][n(319)][n(368)][n(360)](t[n(331)]),s=i[n(282)](o);return new u({type:n(296),modelRange:s,domNode:e,offset:0})}[r(273)](t,e,n){const i=r,o=this[i(215)][i(393)],s=this[i(215)][i(319)][i(368)],a=this[i(215)][i(319)][i(309)][i(328)];if(n>=e[i(297)])return null;const c=s[i(313)](t),p=o[i(275)](c),f=s[i(263)](t),h=a[i(305)](f);return new u({type:i(352),modelRange:p,domNode:e,offset:l(e,n,h)})}[r(324)](t,e,n){const i=r,s=this[i(215)][i(393)],a=this[i(215)][i(319)],c=a[i(368)],l=a[i(309)][i(328)],p=c[i(263)](t),h=c[i(360)](p),d=function(t){const e=i,n=t[e(331)],o=n[e(251)][e(340)][e(393)],s=n[e(284)]({parentFirst:!0,includeSelf:!0});let r=null;for(const n of s){if(n.is(e(241)))return r;if(!o[e(283)](n)[e(326)](t))return r;r=n}}(s[i(283)](h))||h;let g=c[i(280)](d),m=s[i(282)](d);const b=s[i(283)](d)[i(312)];if(b&&b.is(i(274),i(256))){const t=c[i(280)](b),e=l[i(305)](t),n=o.global[i(388)][i(281)](e)[i(365)];i(254)!=n&&i(333)!=n||(m=s[i(282)](b))}for(;g[i(331)]!==g[i(251)]&&0===g[i(255)];)g=g[i(331)];const w=new o.Rect(y(e)?e:f(e)),v=n?w[i(285)]-n:0,k=l[i(305)](g),I=new o.Rect(k);return new u({type:i(274),modelRange:m,domNode:k,offset:Math[i(278)](v)?v+w[i(322)]-I[i(322)]:0})}get[r(380)](){const t=r,e=this[t(215)][t(353)][t(359)](t(279));return Object[t(249)]({top:t(298),bottom:t(298),left:t(298),right:t(298)},e)}static[r(270)](t,e,n,i,o){return g(t,e,n,i,o)}}class u{[r(258)];[r(390)];[r(213)];[r(358)];constructor({type:t,modelRange:e,domNode:n,offset:i}){const o=r;this[o(258)]=t,this[o(390)]=e,this[o(213)]=n,this[o(358)]=i}get[r(247)](){const t=r;if(!this[t(213)][t(334)][t(209)][t(234)](this[t(213)]))return 0;const e=new o.Rect(y(this[t(213)])?this[t(213)]:f(this[t(213)]));return t(296)==this[t(258)]?e[t(322)]+e[t(285)]/2:e[t(322)]+this[t(358)]}}function l(t,e,n){const i=r,s=f(t),a=function(t){const e=b,n=o.global[e(340)][e(275)]();return n[e(212)](t),n}(n);let c;c=0==e?d(a[i(265)],a[i(357)],t[i(244)],Array[i(217)](t[i(244)][i(342)])[i(345)](t)):d(a[i(265)],a[i(357)],t,e);const u=d(t,e,a[i(355)],a[i(349)]),l=new o.Rect(c)[i(375)];return(new o.Rect(u)[i(322)]+l)/2-new o.Rect(s)[i(322)]}function p(t){const e=r;return t[e(243)](e(219))&&t[e(243)](e(285))?Promise[e(373)]():new Promise((n=>{const i=e;function o(){const e=b;t[e(277)](e(356),o),t[e(277)](e(317),o),n()}t[i(216)]?n():(t[i(386)](i(356),o),t[i(386)](i(317),o))}))}function f(t){const e=r,n=o.global[e(340)][e(275)]();return n[e(239)](t),n}function h(t,e,n){const i=r,s=o.global[i(340)][i(275)]();return s[i(332)](t,e),s[i(301)](t,n),s}function d(t,e,n,i){const s=r,a=o.global[s(340)][s(275)]();return a[s(332)](t,e),a[s(301)](n,i),a}function g(t,e,n,i,o){const s=r,a=[];for(const[r,c]of t[s(342)][s(363)]()){let t=[];y(c)&&c[s(291)]&&!c[s(378)][s(288)]?t=m(c,r,e,n,i,o):I(c)&&(t=w(c,r,e,n,o)),t[s(297)]&&(a[s(343)](...t),e+=t[s(297)]*n,o=!1)}return a}function m(t,e,n,i,s,a){const c=r,u=[];var l;if((l=t[c(341)])&&y(l)&&Boolean(l[c(308)][c(234)](c(391))||l[c(286)](c(260)))&&(u[c(343)]({type:c(296),offset:0,path:[e-1]}),a=!0),c(271)==o.global[c(388)][c(281)](t)[c(218)]){let i=0,o=!1;for(const e of t[c(371)]())i+=e[c(285)],e[c(254)]>=n&&(o=!0);if(i<s&&o)return u[c(343)]({type:c(274),offset:0,path:[e]}),u}const p=t[c(286)](c(302));if(p&&function(t){const e=c;let n=!1;const i=t[e(272)][e(325)][e(346)],s=t[e(379)],r=t[e(320)],a=s&&o.global[e(388)][e(281)](s)[e(365)],u=s&&e(392)===s[e(268)];return!i||s||r||(n=!0),i&&!r&&u&&(n=!0),i&&!r&&e(366)!==a&&(n=!0),!n}(p)){const t=o.global[c(388)][c(281)](p)[c(365)];if(c(254)==t||c(333)==t)return u}const f=g(t,n,i,s,a);if(f[c(297)]){for(const t of f)u[c(343)]({type:t[c(258)],offset:t[c(247)],textOffset:t[c(364)],path:[e,...t[c(236)]]}),n+=i,a=!1;return u}return u[c(343)](...function(t,e,n,i,s){const r=c,a=[];if(r(235)==o.global[r(388)][r(281)](t)[r(218)])return[];const u=[];for(const e of t[r(371)]())if(e[r(254)]>=n){for(const t of u)t[r(285)]+=e[r(285)];u[r(343)]({height:e[r(285)]}),n+=i}for(const t of u)s||a[r(343)]({type:r(274),offset:t[r(285)],textOffset:0,path:[e]}),s=!1;return a}(t,e,n,i,a)),u}function b(t,e){const n=a();return(b=function(t,e){return n[t-=206]})(t,e)}function w(t,e,n,i,o){const s=r,a=f(t),c=[];let u=0;for(const r of a[s(371)]())if(r[s(254)]>=n){const r=v(t,u,n,i);o||c[s(343)]({type:s(352),path:[e],textOffset:r}),u=r,n+=i,o=!1}return c}function v(t,e,n,i){const o=r;let s=e,a=t[o(297)];for(;a-s>1;){const e=Math[o(287)]((s+a)/2);k(h(t,s,e),n,i)?a=e:s=e}return s}function k(t,e,n){const i=r;for(const o of t[i(371)]())if(o[i(254)]>=e&&o[i(254)]<e+n)return!0;return!1}function y(t){const e=r;return t[e(384)]==Node[e(267)]}function I(t){const e=r;return t[e(384)]==Node[e(252)]}var P=n(673),x=n.n(P),N=n(545),_=n.n(N),E=n(262),A=n.n(E),T=n(667),S=n.n(T),R=n(357),C=n.n(R),L=n(371),O={attributes:{"data-cke":!0}};O.setAttributes=S(),O.insert=A().bind(null,"head"),O.domAPI=_(),O.insertStyleElement=C();x()(L.A,O);L.A&&L.A.locals&&L.A.locals;function B(t,e){const n=M();return(B=function(t,e){return n[t-=287]})(t,e)}function M(){const t=["setTemplate","26arAbDN","124725jBtwtO","width","220550yBetsy","left","1810971HVvwFF","ck-hidden","pageNumber","594564dGKfoS","455264ZWkfSW","set","47088rrYEjW","ck-pagination-view-line","top","bindTemplate","1790aUQJwM","div","7ihXguE","isVisible"];return(M=function(){return t})()}!function(t){const e=B,n=t();for(;;)try{if(205828===parseInt(e(304))/1*(-parseInt(e(289))/2)+parseInt(e(290))/3+-parseInt(e(300))/4+-parseInt(e(292))/5+parseInt(e(297))/6+-parseInt(e(306))/7*(parseInt(e(298))/8)+parseInt(e(294))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(M);const D=(0,o.toUnit)("px");class K extends e.View{constructor(){const t=B;super();const e=this[t(303)];this[t(299)]({isVisible:!1,left:null,top:null,width:null,pageNumber:null}),this[t(288)]({tag:t(305),attributes:{"data-page-number":e.to(t(296)),class:["ck",t(301),e.if(t(287),t(295),(t=>!t))],style:{left:e.to(t(293),(t=>D(t))),top:e.to(t(302),(t=>D(t))),width:e.to(t(291),(t=>D(t)))}}})}}const G=j;function V(){const t=["3064455rdNxQn","remove","_hiddenLines","has","body","5484560NsrKKU","setViewCollection","17390896erlPYs","cleanLines","75414BTYJxq","301KTqlew","_visibleLines","showLine","isVisible","view","set","2131906KUklrT","destroy","_viewCollection","981762GRLAmA","clear","values","size","add","delete","994869YIhTwu"];return(V=function(){return t})()}function j(t,e){const n=V();return(j=function(t,e){return n[t-=482]})(t,e)}!function(t){const e=j,n=t();for(;;)try{if(748974===-parseInt(e(505))/1+parseInt(e(496))/2+parseInt(e(499))/3+parseInt(e(485))/4+parseInt(e(506))/5+parseInt(e(489))/6*(parseInt(e(490))/7)+-parseInt(e(487))/8)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(V);class F{[G(498)];[G(491)]=new Set;[G(482)]=new Set;constructor(t){const e=G;this[e(498)]=t.ui[e(494)][e(484)]}[G(497)](){const t=G;for(const e of this[t(482)])e[t(497)]()}[G(488)](){const t=G;for(const e of this[t(491)])e[t(493)]=!1,this[t(482)][t(503)](e);this[t(491)][t(500)]()}[G(492)](t,e,n,i){const s=G;let r;this[s(482)][s(502)]?(r=(0,o.first)(this[s(482)][s(501)]()),this[s(482)][s(504)](r)):r=new K,r[s(495)]({pageNumber:i,left:t,top:e,width:n}),r[s(493)]=!0,this[s(498)][s(483)](r)||this[s(498)][s(503)](r),this[s(491)][s(503)](r)}[G(486)](t){const e=G;for(const t of[...this[e(491)],...this[e(482)]])this[e(498)][e(483)](t)&&this[e(498)][e(507)](t);this[e(498)]=t}}const U=Y;function Y(t,e){const n=H();return(Y=function(t,e){return n[t-=238]})(t,e)}!function(t){const e=Y,n=t();for(;;)try{if(862535===parseInt(e(273))/1*(-parseInt(e(257))/2)+-parseInt(e(315))/3*(-parseInt(e(274))/4)+parseInt(e(289))/5+parseInt(e(299))/6*(-parseInt(e(316))/7)+parseInt(e(249))/8+-parseInt(e(253))/9+-parseInt(e(245))/10*(-parseInt(e(244))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(H);const q=U(259);class z extends t.Plugin{[U(255)];[U(261)]=null;[U(288)]=null;[U(241)];static get[U(263)](){return U(254)}static get[U(302)](){return!0}static get[U(303)](){return!0}[U(269)](){const t=U;this[t(242)]({pageNumber:1}),this[t(255)]=new F(this[t(307)]),this[t(261)]=null,this[t(288)]=null,this[t(241)]=this[t(307)][t(265)][t(247)](t(260)),this[t(246)](t(286)).to(this[t(307)][t(265)][t(247)](t(281))),this[t(307)].ui[t(321)](t(276),(()=>this[t(306)]())),this[t(258)](q),this.on(t(292),((e,n,i)=>{const o=t;i||this[o(255)][o(317)](),this[o(258)](q,i)}))}[U(272)](){const t=U;this[t(258)](q,!1),this[t(255)][t(272)](),this[t(261)]=null,this[t(288)]&&this[t(288)][t(272)]()}[U(309)](t){const e=U;if(!this[e(286)])return;const n=t>1?this[e(284)](t-1):0;this[e(261)][e(319)]({top:n-10,left:this[e(261)][e(277)],behavior:o.env[e(285)]?e(298):e(279)})}[U(294)](){const t=U,e=this[t(307)],n=this[t(295)]();n?(this[t(261)]&&e.ui[t(243)][t(300)](this[t(261)],t(318)),this[t(261)]=function(e){const n=t;let i=e;do{i=i[n(313)];const t=o.global[n(320)][n(252)](i)[n(270)];if(n(304)==t||n(318)==t)break}while(n(240)!=i[n(282)]);return i}(n),e.ui[t(243)][t(293)](this[t(261)],t(318),(()=>{this[t(291)]()}),{usePassive:!0}),this[t(288)]&&this[t(288)][t(272)](),this[t(288)]=new o.ResizeObserver(this[t(261)],(()=>{this[t(291)]()}))):e.ui[t(321)](t(239),(()=>this[t(294)]()))}[U(306)](){const t=U,e=this[t(307)];this[t(295)]()?(this[t(294)](),e.ui[t(243)][t(293)](o.global[t(320)],t(311),(()=>this[t(291)]())),this[t(293)](this[t(241)],t(297),(()=>this[t(291)]()))):e.ui[t(321)](t(239),(()=>this[t(306)]()))}[U(295)](){const t=U;for(const e of this[t(307)][t(308)][t(243)][t(251)][t(268)]())if(e[t(301)][t(280)][t(256)](e))return e;return null}[U(291)](){const t=U;if(!this[t(286)])return;const e=this[t(295)](),n=this[t(241)][t(296)];if(this[t(255)][t(317)](),!e||1==n[t(275)])return void(this[t(287)]=1);const i=new o.Rect(e)[t(248)](),s=new o.Rect(this[t(261)])[t(248)](),r=s[t(238)]+s[t(267)]/3;let a=!1;const c=[];for(let e=1;e<n[t(275)];e++){const n=this[t(284)](e,s);if(!n)continue;const o=s[t(238)]+n-this[t(261)][t(305)];c[t(312)]({pageOffsetTop:o,domRootRect:i,domScrollableRect:s,pageNumber:e}),o>r&&!a&&(this[t(287)]=e,a=!0)}this[t(310)](c),a||(this[t(287)]=n[t(275)])}[U(310)](t){const e=U,{scrollX:n,scrollY:i}=o.global[e(320)];if(t[e(275)])for(const{domScrollableRect:o,pageOffsetTop:s,domRootRect:r,pageNumber:a}of t)o[e(238)]<s&&s<o[e(262)]&&this[e(255)][e(250)](r[e(271)]+n,s+i,r[e(278)],a+1)}[U(284)](t,e=null){const n=U,i=this[n(241)][n(296)][t][n(283)];return i?(e||(e=new o.Rect(this[n(261)])[n(248)]()),i-e[n(238)]+this[n(261)][n(305)]):0}[U(258)](t,e=!0){const n=U,i=this[n(307)][n(308)][n(243)];i[n(322)]((o=>{const s=n;for(const n of i[s(266)][s(264)])e?o[s(314)](t,n):o[s(290)](t,n)}))}}function H(){const t=["length","ready","scrollLeft","width","smooth","body","PaginationEditing","tagName","offset","_getPageBreakLineOffset","isMotionReduced","isEnabled","pageNumber","_resizeObserver","1846865sQnrSg","removeClass","_updatePageBreakLines","change:isEnabled","listenTo","setupScrollableAncestor","_getAttachedDomRoot","pageBreaks","change:pageBreaks","instant","6YUGROw","stopListening","ownerDocument","isOfficialPlugin","isPremiumPlugin","auto","scrollTop","_onUiReady","editor","editing","scrollToPage","_renderPageBreakLines","resize","push","parentElement","addClass","12651piKyvs","7576366kCBWeV","cleanLines","scroll","scrollTo","window","once","change","top","update","BODY","_paginationLookupPlugin","set","view","4015ysfcuk","66910yqWBEA","bind","get","excludeScrollbarsAndBorders","1515960VnDAFx","showLine","domRoots","getComputedStyle","7620354Shymhc","PaginationRenderer","linesRepository","contains","2ZZSVwt","_toggleEditingRootsClass","ck-pagination_enabled","PaginationLookup","_scrollableEditingRootDomAncestor","bottom","pluginName","roots","plugins","document","height","values","init","overflowY","left","destroy","1335443seiqAj","1068KawGqs"];return(H=function(){return t})()}function J(t,e,...n){const i=t.t;switch(e){case"Go to next page":return i("Go to next page");case"Go to previous page":return i("Go to previous page");case"Current page number (from 1 to %0)":return i("Current page number (from 1 to %0)",...n);case"Keystrokes for navigating through documents":return i("Keystrokes for navigating through documents");case"Go to the previous page (also move selection)":return i("Go to the previous page (also move selection)");case"Go to the next page (also move selection)":return i("Go to the next page (also move selection)");default:return e}}var W=n(761),Z={attributes:{"data-cke":!0}};Z.setAttributes=S(),Z.insert=A().bind(null,"head"),Z.domAPI=_(),Z.insertStyleElement=C();x()(W.A,Z);W.A&&W.A.locals&&W.A.locals;const X=Q;function Q(t,e){const n=$();return(Q=function(t,e){return n[t-=297]})(t,e)}function $(){const t=["isOfficialPlugin","offset","editing","for","bindElementToMarker","paginationLicenseKeyNotAllowed","config","index","$text","expired","span","featureNotAllowed","paginationLicenseKeyTrialLimit","accessibility","consume","conversion","isEnabled","paginationLicenseKeyUsageLimit","getNearestSelectionRange","nodeAfter","Shift+Pagedown","_updatePageBreakMarkers","440163LYMhJy","Go to the next page (also move selection)","start","goToNextPage","view","consumable","Shift+Pageup","keystrokes","domainLimit","always","9aEtXTh","_validatePageNumber","scrollToPage","name","951506xvMVjo","editor","type","locale","paginationLicenseKeyDomainLimit","createContainerElement","destroy","paginationLicenseKeyInvalid","Keystrokes for navigating through documents","writer","invalid","156YfFuhd","setAttribute","data-pagination-page","goToPreviousPage","usageLimit","bind","page-break-before","parent","add","root","change","setSelection","pageNumber","pagination","3008930cEDnjH","focus","dataDowncast","paginationLicenseKeyEvaluationLimit","getFillerOffset","substring","init","138GHKkuw","PaginationEditing","createPositionAt","addKeystrokeInfoGroup","model","toViewPosition","4YauJwx","get","Pagination","hasClass","end","modelRange","paginationLicenseKeyExpired","totalPages","listenTo","trialLimit","moveSelectionToPage","text","1kncNCJ","1415235IrINvd","54229sFXTcB","_licenseKeyCheckInterval","_setupKeystrokes","textNode","data","options","pluginName","_showLicenseError","set","mapper","getContainedElement","addMarker","isPremiumPlugin","pagination:","pageBreaks","checkChild","forward","schema","plugins","_setUpDataDowncastConversion","page-break","addMarker:","requires","removeMarker","change:pageBreaks","97955ZVnvmw","has","insert","manual","Go to the previous page (also move selection)","markers","4930624RXSDWa","toViewElement","element","setStyle","length","licenseKey","stop","evaluationLimit","paginationLicenseKeyValid","updateMarker"];return($=function(){return t})()}!function(t){const e=Q,n=t();for(;;)try{if(331866===parseInt(e(415))/1*(-parseInt(e(365))/2)+-parseInt(e(351))/3*(-parseInt(e(403))/4)+parseInt(e(416))/5+-parseInt(e(397))/6*(-parseInt(e(417))/7)+parseInt(e(319))/8+-parseInt(e(361))/9*(parseInt(e(390))/10)+parseInt(e(313))/11*(-parseInt(e(376))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}($);class tt extends t.Plugin{[X(324)];[X(418)];static get[X(423)](){return X(398)}static get[X(329)](){return!0}static get[X(300)](){return!0}static get[X(310)](){return[c,z]}[X(396)](){const t=X;this[t(425)]({pageNumber:1,totalPages:1});const e=this[t(366)][t(306)][t(404)](t(405)),n=this[t(366)][t(306)][t(404)](c),i=this[t(366)][t(306)][t(404)](z);this[t(381)](t(345)).to(e),this[t(307)](),this[t(381)](t(388)).to(i),this[t(411)](n,t(312),((e,n,i,o)=>{const s=t;this[s(410)]=i[s(323)],this[s(350)](i,o)})),this[t(419)](),this[t(324)]=this[t(366)][t(335)][t(404)](t(324));const o=this[t(366)];this[t(418)]=setInterval((()=>{const e=t;let n;for(const t in o){const i=t,s=o[i];if(e(327)==s||e(372)==s||e(409)==s||e(369)==s||e(334)==s||e(393)==s||e(341)==s||e(346)==s){delete o[i],n=s,clearInterval(this[e(418)]),this[e(418)]=void 0;break}}e(372)==n&&o[e(424)](e(375)),e(409)==n&&o[e(424)](e(338)),e(369)==n&&o[e(424)](e(359)),e(334)==n&&o[e(424)](e(340),e(405)),e(393)==n&&o[e(424)](e(326)),e(341)==n&&o[e(424)](e(412)),e(346)==n&&o[e(424)](e(380))}),1e3)}[X(371)](){const t=X;super[t(371)](),this[t(418)]&&clearInterval(this[t(418)])}[X(363)](t){const e=X;this[e(345)]&&this[e(366)][e(306)][e(404)](z)[e(363)](this[e(362)](t))}[X(413)](t){const e=X;if(!this[e(345)])return;const n=this[e(366)],i=this[e(366)][e(306)][e(404)](c)[e(302)][t-1];i&&n[e(401)][e(386)]((t=>{const o=e;switch(i[o(367)]){case o(316):{const e=n[o(401)][o(305)][o(347)](i[o(408)][o(407)],o(304));t[o(387)](e);break}case o(321):{const e=n[o(401)][o(305)][o(347)](i[o(408)][o(353)],o(304));t[o(387)](e);break}case o(414):{const e=i[o(408)][o(353)];if(e[o(420)]&&" "===e[o(420)][o(421)][e[o(330)]]){const n=t[o(399)](e[o(383)],e[o(330)]+1);t[o(387)](n)}else t[o(387)](i[o(408)])}}n[o(331)][o(355)][o(391)]()}))}[X(354)](){const t=X,e=this[t(362)](this[t(388)]+1);this[t(413)](e),this[t(363)](e)}[X(379)](){const t=X,e=this[t(362)](this[t(388)]-1);this[t(413)](e),this[t(363)](e)}[X(350)](t,e){const n=X,i=this[n(366)][n(401)];this[n(345)]&&i[n(386)]((o=>{const s=n;for(let e=1;e<t[s(323)];e++){const n=t[e][s(408)],r=s(301)+(e+1);i[s(318)][s(314)](r)?o[s(328)](r,{range:n}):o[s(299)](r,{range:n,usingOperation:!1,affectsData:!0})}for(let n=t[s(323)];n<e[s(323)];n++){const t=s(301)+(n+1);i[s(318)][s(314)](t)&&o[s(311)](t)}}))}[X(307)](){const t=X,e=t(389);this[t(366)][t(344)][t(332)](t(392))[t(384)]((n=>{const i=t;n.on(i(309)+e,((t,{markerRange:e,markerName:n},o)=>{const s=i;if(!o[s(422)][s(389)])return;if(!o[s(356)][s(343)](e,t[s(364)]))return;const r=e[s(298)]();let a=r?o[s(297)][s(320)](r):null;if(!a){const t=e[s(353)];if(o[s(305)][s(303)](t,s(337))){const e=o[s(297)][s(402)](t);a=o[s(374)][s(370)](s(339)),a[s(394)]=()=>null,o[s(374)][s(315)](e,a)}else{const e=t[s(348)];a=o[s(297)][s(320)](e)}}for(;a[s(383)]!==a[s(385)]&&0===a[s(336)];)a=a[s(383)];const c=n[s(395)](11);a[s(406)](s(308))||(o[s(374)][s(322)](s(382),s(360),a),o[s(374)][s(377)](s(378),c,a),o[s(297)][s(333)](a,n)),t[s(325)]()}))}))}[X(419)](){const t=X,e=this[t(366)];e[t(358)][t(425)](t(357),((e,n)=>{this[t(379)](),n()})),e[t(358)][t(425)](t(349),((e,n)=>{this[t(354)](),n()})),e[t(342)][t(400)]({id:t(389),label:J(e[t(368)],t(373)),keystrokes:[{label:J(e[t(368)],t(317)),keystroke:t(357),mayRequireFn:!0},{label:J(e[t(368)],t(352)),keystroke:t(349),mayRequireFn:!0}]})}[X(362)](t){const e=X;return t<1&&(t=1),t>this[e(410)]&&(t=this[e(410)]),t}}var et=n(355),nt=n(953),it={attributes:{"data-cke":!0}};it.setAttributes=S(),it.insert=A().bind(null,"head"),it.domAPI=_(),it.insertStyleElement=C();x()(nt.A,it);nt.A&&nt.A.locals&&nt.A.locals;const ot=st;function st(t,e){const n=rt();return(st=function(t,e){return n[t-=181]})(t,e)}function rt(){const t=["navigation","fire","ArrowDown","value","ariaLabel","keydown","42Fkcisz","div","isNaN","bindTemplate","1736120siEcJH","keyCode","totalPages","1518tAgSBJ","248823tursuA","key","listenTo","max","40dQdSnC","121838cCilzf","select","pageNumberView","blur","2PXYNxf","150316wIcEPp","span","ck-page-navigator","ck-disabled","set","isEnabled","8028VvloMF","30waFuWz","pageNumber","1017980EbGZGa","numeric","bind","render","isReadOnly","valueAsNumber","element","stopPropagation","Current page number (from 1 to %0)","firstChild","321209fNBhyI","setTemplate","focus","preventDefault","checkValidity","ArrowUp","enter","change:pageNumber"];return(rt=function(){return t})()}!function(t){const e=st,n=t();for(;;)try{if(193284===-parseInt(e(228))/1*(parseInt(e(224))/2)+-parseInt(e(185))/3*(-parseInt(e(229))/4)+parseInt(e(187))/5+parseInt(e(211))/6*(-parseInt(e(197))/7)+parseInt(e(223))/8*(parseInt(e(219))/9)+-parseInt(e(215))/10+-parseInt(e(218))/11*(-parseInt(e(184))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(rt);class at extends e.View{[ot(226)];constructor(t){const n=ot;super(t);const i=this[n(214)];this[n(182)]({pageNumber:1,totalPages:1,isEnabled:!0}),this[n(226)]=new e.InputNumberView(t,{min:1,step:1}),this[n(226)][n(182)]({inputMode:n(188),tabIndex:-1}),this[n(226)][n(189)](n(209)).to(this,n(217),(e=>J(t,n(195),e))),this[n(226)][n(189)](n(222)).to(this,n(217)),this[n(226)][n(189)](n(191)).to(this,n(183),(t=>!t)),this[n(198)]({tag:n(212),attributes:{class:["ck",n(231),i.if(n(183),n(181),(t=>!t))]},children:[this[n(226)],{tag:n(230),children:[{text:i.to(n(217))}]}]})}[ot(190)](){const t=ot;super[t(190)]();const e=this[t(226)][t(193)],n=e=>{const n=t;this[n(226)][n(193)][n(208)]=String(e)};n(this[t(186)]),this.on(t(204),((t,e,i)=>{n(i)})),this[t(221)](e,t(210),((n,i)=>{const s=t;if(s(202)===i[s(220)]||s(207)===i[s(220)])return void i[s(194)]();if(i[s(216)]!==o.keyCodes[s(203)])return;i[s(200)]();const r=e[s(192)];Number[s(213)](r)?e[s(208)]=String(this[s(186)]):(e[s(201)]()?this[s(186)]=r:r>this[s(217)]?(this[s(186)]=this[s(217)],e[s(208)]=String(this[s(217)])):(this[s(186)]=1,e[s(208)]="1"),this[s(206)](s(205),this[s(186)]))})),this[t(221)](e,t(227),(()=>{const n=t;e[n(208)]=String(this[n(186)])})),this[t(221)](e,t(199),(()=>{const e=t;this[e(226)][e(225)]()}))}[ot(199)](){const t=ot;this[t(193)][t(196)][t(199)]()}}const ct=lt;function ut(){const t=["isEnabled","3399iSvYgM","pageNavigation","101670OdxYkm","30fjyoMI","isPremiumPlugin","PaginationUI","Shift+PageDown","12paxjlz","navigation","execute","add","previousPage","icon","Go to previous page","Go to next page","moveSelectionToPage","8768880dlbNdu","goToNextPage","locale","bind","8UBqKup","nextPage","tooltip","4065228DUyzJp","totalPages","3048745VKLtqx","Shift+PageUp","label","3448230myEhuX","editor","pageNumber","PaginationEditing","init","17747kKMPxb","listenTo","1669134FPnqHO","componentFactory","get","pluginName","goToPreviousPage","isOfficialPlugin","scrollToPage","keystroke","plugins"];return(ut=function(){return t})()}function lt(t,e){const n=ut();return(lt=function(t,e){return n[t-=279]})(t,e)}!function(t){const e=lt,n=t();for(;;)try{if(696603===parseInt(e(315))/1*(parseInt(e(285))/2)+-parseInt(e(317))/3*(-parseInt(e(302))/4)+parseInt(e(310))/5*(parseInt(e(289))/6)+parseInt(e(307))/7+parseInt(e(298))/8+-parseInt(e(305))/9+-parseInt(e(284))/10*(parseInt(e(282))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ut);class pt extends t.Plugin{static get[ct(320)](){return ct(287)}static get[ct(322)](){return!0}static get[ct(286)](){return!0}[ct(314)](){const t=ct,n=this[t(311)],i=n[t(280)][t(319)](t(313));n.ui[t(318)][t(292)](t(283),(e=>{const n=t,o=new at(e);return o[n(301)](n(312)).to(i),o[n(301)](n(306)).to(i),o[n(301)](n(281)).to(i),o.on(n(290),((t,e)=>{const o=n;i[o(297)](e),i[o(323)](e)})),o})),n.ui[t(318)][t(292)](t(303),(o=>{const s=t,r=new e.ButtonView(o);return r[s(281)]=!0,r[s(309)]=J(n[s(300)],s(296)),r[s(294)]=et.IconArrowDown,r[s(304)]=!0,r[s(279)]=s(288),r[s(301)](s(281)).to(i),this[s(316)](r,s(291),(()=>{i[s(299)]()})),r})),n.ui[t(318)][t(292)](t(293),(o=>{const s=t,r=new e.ButtonView(o);return r[s(281)]=!0,r[s(309)]=J(n[s(300)],s(295)),r[s(294)]=et.IconArrowUp,r[s(304)]=!0,r[s(279)]=s(308),r[s(301)](s(281)).to(i),this[s(316)](r,s(291),(()=>{i[s(321)]()})),r}))}}const ft=ht;function ht(t,e){const n=dt();return(ht=function(t,e){return n[t-=348]})(t,e)}function dt(){const t=["1299LkQoYE","requires","118auyjnx","4619216tWrwKj","editor","browserCheck","6TdxlAq","6647679NeCGED","plugins","1718EMfNlL","config","set","isEnabled","pagination.enableOnUnsupportedBrowsers","get","Pagination","init","1375724vVZIOa","1364RIEchn","2795060gKIcIU","totalPages","forceDisabled","scrollToPage","isBlink","isOfficialPlugin","ready","pageNumber","3451555BCpAmq","pluginName","bind","isPremiumPlugin"];return(dt=function(){return t})()}!function(t){const e=ht,n=t();for(;;)try{if(399817===-parseInt(e(378))/1*(-parseInt(e(354))/2)+-parseInt(e(376))/3*(parseInt(e(363))/4)+parseInt(e(372))/5+-parseInt(e(351))/6*(-parseInt(e(362))/7)+parseInt(e(348))/8+-parseInt(e(352))/9+-parseInt(e(364))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(dt);class gt extends t.Plugin{static get[ft(373)](){return ft(360)}static get[ft(369)](){return!0}static get[ft(375)](){return!0}static get[ft(377)](){return[tt,pt]}constructor(t){const e=ft;super(t),this[e(357)]=!1}[ft(361)](){const t=ft;this[t(356)]({pageNumber:1,totalPages:1});const e=this[t(349)][t(353)][t(359)](tt);this[t(374)](t(371)).to(e),this[t(374)](t(365)).to(e),o.env[t(368)]||this[t(349)][t(355)][t(359)](t(358))?this[t(349)].on(t(370),(()=>{this[t(357)]=!0})):this[t(366)](t(350))}[ft(367)](t){const e=ft;this[e(349)][e(353)][e(359)](tt)[e(367)](t)}}function mt(t,e){var n=bt();return(mt=function(t,e){return n[t-=282]})(t,e)}function bt(){var t=["9406824FEZXCT","7770435gKJZgr","16MWwBoQ","394409GbtRGs","4OAQYyJ","13361247AZpatc","1026009PvNTVV","174bZMAzx","349832YNBYka","69590530hdEpzH"];return(bt=function(){return t})()}!function(t){for(var e=mt,n=t();;)try{if(861604===-parseInt(e(283))/1*(-parseInt(e(284))/2)+-parseInt(e(286))/3*(-parseInt(e(282))/4)+parseInt(e(291))/5+-parseInt(e(287))/6*(-parseInt(e(288))/7)+parseInt(e(290))/8+parseInt(e(285))/9+-parseInt(e(289))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(bt)})(),(window.CKEditor5=window.CKEditor5||{}).pagination=i})();
|
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as _0x367ce8}from'@ckeditor/ckeditor5-core/dist/index.js';import{View as _0x39feeb,InputNumberView as _0x4382f6,ButtonView as _0x69e73f}from'@ckeditor/ckeditor5-ui/dist/index.js';import{logWarning as _0x4a70d3,Rect as _0x4988fb,global as _0x2a06a4,uid as _0x287980,toUnit as _0x113328,first as _0x52e6f2,env as _0x326a9c,ResizeObserver as _0x546fce,keyCodes as _0x19462b}from'@ckeditor/ckeditor5-utils/dist/index.js';import{debounce as _0x340dd4}from'es-toolkit/compat';import{IconArrowDown as _0xe6c53f,IconArrowUp as _0x30a6b}from'@ckeditor/ckeditor5-icons/dist/index.js';class n extends _0x367ce8{['_recalculatePageBreaksDebounced']=_0x340dd4(()=>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 _0x4a70d3('pagination-config-not-found',this['editor']['config']);const _0xd3da62=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0xd3da62),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0x15542d,_0x4d048e,_0x3292cc)=>{_0x3292cc&&this['_recalculatePageBreaksDebounced']();});}['afterInit'](){!async function(_0x13cb29){const _0x283a93=_0x5387fb([0x32,0x41,0x37,0x6e,0x79,0x56,0x6f,0x4d,0x31,0x53,0x76,0x54,0x78,0x6c,0x38,0x42,0x64,0x4e,0x44,0x6b,0x65,0x5a,0x35,0x68,0x48,0x63,0x45,0x62,0x49,0x57,0x30,0x47,0x73,0x75,0x69,0x4a,0x71,0x55,0x6a,0x70,0x39,0x43,0x77,0x59,0x36,0x4c,0x6d,0x46,0x61,0x74,0x67,0x33,0x4b,0x7a,0x50,0x58,0x52,0x34,0x4f,0x66,0x51,0x72]),_0x4c7691=0x47a7925f,_0x565be6=0x47a0f607^_0x4c7691,_0x11e8ad=window[_0x5387fb([0x44,0x61,0x74,0x65])][_0x5387fb([0x6e,0x6f,0x77])](),_0x27204e=_0x13cb29[_0x5387fb([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x342d4d=new window[(_0x5387fb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x487af3=>{_0x27204e[_0x5387fb([0x6f,0x6e,0x63,0x65])](_0x5387fb([0x72,0x65,0x61,0x64,0x79]),_0x487af3);}),_0x9bbe52={[_0x5387fb([0x6b,0x74,0x79])]:_0x5387fb([0x45,0x43]),[_0x5387fb([0x75,0x73,0x65])]:_0x5387fb([0x73,0x69,0x67]),[_0x5387fb([0x63,0x72,0x76])]:_0x5387fb([0x50,0x2d,0x32,0x35,0x36]),[_0x5387fb([0x78])]:_0x5387fb([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x5387fb([0x79])]:_0x5387fb([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x5387fb([0x61,0x6c,0x67])]:_0x5387fb([0x45,0x53,0x32,0x35,0x36])},_0x4285c3=_0x27204e[_0x5387fb([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5387fb([0x67,0x65,0x74])](_0x5387fb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x30c534(){let _0x27782d,_0x38b10d=null,_0x10b24e=null;try{if(_0x4285c3==_0x5387fb([0x47,0x50,0x4c]))return _0x5387fb([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x27782d=_0x2ea801(),!_0x27782d)return _0x5387fb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x27782d[_0x5387fb([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x10b24e=_0x239c6c(_0x27782d[_0x5387fb([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x27782d[_0x5387fb([0x6a,0x74,0x69])])),await _0x4d77ae()?_0x5430d0()?_0x34f4a1()?_0x5387fb([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x213dce()?(_0x27782d[_0x5387fb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5387fb([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x38b10d=_0x1d2dde(_0x5387fb([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x27782d[_0x5387fb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5387fb([0x74,0x72,0x69,0x61,0x6c])&&(_0x38b10d=_0x1d2dde(_0x5387fb([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x69321b()):_0x5387fb([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5387fb([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5387fb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x2245f7){return _0x5387fb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x34f4a1(){const _0x1d4fda=[_0x5387fb([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5387fb([0x74,0x72,0x69,0x61,0x6c])][_0x5387fb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x27782d[_0x5387fb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x11e8ad/0x3e8:0xe10*_0x565be6;return _0x27782d[_0x5387fb([0x65,0x78,0x70])]<_0x1d4fda;}function _0x5430d0(){const _0x42f5fd=_0x27782d[_0x5387fb([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x42f5fd&&(!!_0x42f5fd[_0x5387fb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5387fb([0x2a]))||!!_0x42f5fd[_0x5387fb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5387fb([0x50,0x41,0x47])));}function _0x213dce(){const _0x1eaa5a=_0x27782d[_0x5387fb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1eaa5a||0x0==_0x1eaa5a[_0x5387fb([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x48aa93}=new URL(window[_0x5387fb([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1eaa5a[_0x5387fb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x48aa93))return!0x0;const _0x1534c3=_0x48aa93[_0x5387fb([0x73,0x70,0x6c,0x69,0x74])](_0x5387fb([0x2e]));return _0x1eaa5a[_0x5387fb([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2d99f1=>_0x2d99f1[_0x5387fb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5387fb([0x2a])))[_0x5387fb([0x6d,0x61,0x70])](_0x29239c=>_0x29239c[_0x5387fb([0x73,0x70,0x6c,0x69,0x74])](_0x5387fb([0x2e])))[_0x5387fb([0x73,0x6f,0x6d,0x65])](_0x50d6db=>_0x1534c3[_0x5387fb([0x65,0x76,0x65,0x72,0x79])]((_0x5b8473,_0x1a82f2)=>_0x50d6db[_0x1a82f2]===_0x5b8473||_0x50d6db[_0x1a82f2]===_0x5387fb([0x2a])));}function _0x69321b(){return _0x38b10d&&_0x10b24e?new window[(_0x5387fb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2d5dbd,_0x1cddba)=>{_0x38b10d[_0x5387fb([0x74,0x68,0x65,0x6e])](_0x2d5dbd,_0x1cddba),_0x10b24e[_0x5387fb([0x74,0x68,0x65,0x6e])](_0x45ffd9=>{_0x45ffd9!=_0x5387fb([0x56,0x61,0x6c,0x69,0x64])&&_0x2d5dbd(_0x45ffd9);},_0x1cddba);}):_0x38b10d||_0x10b24e||_0x5387fb([0x56,0x61,0x6c,0x69,0x64]);}}function _0x239c6c(_0x45c8ee,_0x3fed9c){return new window[(_0x5387fb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3fef05=>{if(_0x4990ff())return _0x3fef05(_0x5387fb([0x56,0x61,0x6c,0x69,0x64]));_0x540259(),_0x27204e[_0x5387fb([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5387fb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x49edac=!0x1;const _0x452791=_0x287980();function _0x4dfc5f(_0x86c4f){return!!_0x86c4f&&(typeof _0x86c4f===_0x5387fb([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x86c4f===_0x5387fb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x86c4f[_0x5387fb([0x74,0x68,0x65,0x6e])]===_0x5387fb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x86c4f[_0x5387fb([0x63,0x61,0x74,0x63,0x68])]===_0x5387fb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x29b065(_0x4bc2ae){_0x2d3b3d(_0x4bc2ae)[_0x5387fb([0x74,0x68,0x65,0x6e])](_0x8c53c7=>{if(!_0x8c53c7||_0x8c53c7[_0x5387fb([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5387fb([0x6f,0x6b]))return _0x5387fb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1e821d(_0x5a216e(_0x452791+_0x3fed9c))!=_0x8c53c7[_0x5387fb([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5387fb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5387fb([0x56,0x61,0x6c,0x69,0x64]);})[_0x5387fb([0x74,0x68,0x65,0x6e])](_0xfc5876=>(_0xcde1d3(),_0xfc5876),()=>{const _0x40029f=_0x3a2161();return null==_0x40029f?(_0xcde1d3(),_0x5387fb([0x56,0x61,0x6c,0x69,0x64])):_0x5387fb(_0x11e8ad-_0x40029f>(0x63ab165f^_0x4c7691)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5387fb([0x74,0x68,0x65,0x6e])](_0x3fef05)[_0x5387fb([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3fef05(_0x5387fb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1bc142=0x47917cdf^_0x4c7691;function _0xcde1d3(){const _0x45101b=_0x5387fb([0x6c,0x6c,0x63,0x74,0x2d])+_0x1e821d(_0x5a216e(_0x45c8ee)),_0x390c6=_0x4c172f(_0x1e821d(window[_0x5387fb([0x4d,0x61,0x74,0x68])][_0x5387fb([0x63,0x65,0x69,0x6c])](_0x11e8ad/_0x1bc142)));window[_0x5387fb([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5387fb([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x45101b,_0x390c6);}function _0x3a2161(){const _0x27eb3a=_0x5387fb([0x6c,0x6c,0x63,0x74,0x2d])+_0x1e821d(_0x5a216e(_0x45c8ee)),_0x46acc3=window[_0x5387fb([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5387fb([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x27eb3a);return _0x46acc3?window[_0x5387fb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4c172f(_0x46acc3),0x10)*_0x1bc142:null;}function _0x2d3b3d(_0x4ca2a9){return new window[(_0x5387fb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1cc743,_0x4817f3)=>{_0x4ca2a9[_0x5387fb([0x74,0x68,0x65,0x6e])](_0x1cc743,_0x4817f3),window[_0x5387fb([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4817f3,0x47a6469f^_0x4c7691);});}}_0x27204e[_0x5387fb([0x6f,0x6e])](_0x5387fb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x28d088,_0x27c889)=>{if(_0x27c889[0x0]!=_0x45c8ee)return _0x3fef05(_0x5387fb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x27c889[0x1]={..._0x27c889[0x1],[_0x5387fb([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x452791};},{[_0x5387fb([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5387fb([0x68,0x69,0x67,0x68])}),_0x27204e[_0x5387fb([0x6f,0x6e])](_0x5387fb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4dc748=>{_0x4dfc5f(_0x4dc748[_0x5387fb([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x49edac=!0x0,_0x29b065(_0x4dc748[_0x5387fb([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5387fb([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5387fb([0x6c,0x6f,0x77])}),_0x342d4d[_0x5387fb([0x74,0x68,0x65,0x6e])](()=>{_0x49edac||_0x3fef05(_0x5387fb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4990ff(){return _0x27204e[_0x5387fb([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5387fb([0x76,0x69,0x65,0x77])][_0x5387fb([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5387fb([0x61,0x75,0x74,0x6f]);}function _0x540259(){_0x27204e[_0x5387fb([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5387fb([0x76,0x69,0x65,0x77])][_0x5387fb([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5387fb([0x61,0x75,0x74,0x6f]);}}function _0x1d2dde(_0x33b141){const _0x32a01d=[new window[(_0x5387fb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x46d84d=>setTimeout(_0x46d84d,0x47aeac93^_0x4c7691)),_0x342d4d[_0x5387fb([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5387fb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5ba11a=>{let _0x148db9=0x0;_0x27204e[_0x5387fb([0x6d,0x6f,0x64,0x65,0x6c])][_0x5387fb([0x6f,0x6e])](_0x5387fb([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5263b6,_0x4176a4)=>{_0x4176a4[0x0][_0x5387fb([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x148db9++,_0x148db9==(0x47a793a7^_0x4c7691)&&(_0x5ba11a(),_0x5263b6[_0x5387fb([0x6f,0x66,0x66])]());});}))];return window[_0x5387fb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5387fb([0x72,0x61,0x63,0x65])](_0x32a01d)[_0x5387fb([0x74,0x68,0x65,0x6e])](()=>_0x33b141);}async function _0x58e613(){await _0x342d4d,_0x27204e[_0x5387fb([0x6d,0x6f,0x64,0x65,0x6c])][_0x5387fb([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4033e4,_0x27204e[_0x5387fb([0x6d,0x6f,0x64,0x65,0x6c])][_0x5387fb([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4033e4,_0x27204e[_0x5387fb([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5387fb([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3c3ba2(_0x1b5323){const _0x5b5bee=_0x19f5ac();_0x27204e[_0x5b5bee]=_0x5387fb([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1b5323,_0x1b5323!=_0x5387fb([0x56,0x61,0x6c,0x69,0x64])&&_0x58e613();}function _0x19f5ac(){const _0x18ff1f=window[_0x5387fb([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5387fb([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5387fb([0x6e,0x6f,0x77])]())[_0x5387fb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5387fb([0x2e]),'');let _0x2e3e11=_0x5387fb([0x41]);for(let _0x4efebf=0x0;_0x4efebf<_0x18ff1f[_0x5387fb([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4efebf+=0x2){let _0x8e7532=window[_0x5387fb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x18ff1f[_0x5387fb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4efebf,_0x4efebf+0x2));_0x8e7532>=_0x283a93[_0x5387fb([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x8e7532-=_0x283a93[_0x5387fb([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2e3e11+=_0x283a93[_0x8e7532];}return _0x2e3e11;}function _0x2ea801(){const _0x554e86=_0x4285c3[_0x5387fb([0x73,0x70,0x6c,0x69,0x74])](_0x5387fb([0x2e]));if(0x3!=_0x554e86[_0x5387fb([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4065e4(_0x554e86[0x1]);function _0x4065e4(_0x578cd6){const _0x1007ae=_0x5b9641(_0x578cd6);return _0x1007ae&&_0x2569da()?_0x1007ae:null;function _0x2569da(){const _0x50c513=_0x1007ae[_0x5387fb([0x6a,0x74,0x69])],_0x224322=window[_0x5387fb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x50c513[_0x5387fb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x50c513[_0x5387fb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x183db2={..._0x1007ae,[_0x5387fb([0x6a,0x74,0x69])]:_0x50c513[_0x5387fb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x50c513[_0x5387fb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x183db2[_0x5387fb([0x76,0x63])],_0x5a216e(_0x183db2)==_0x224322;}}}async function _0x4d77ae(){let _0x2eab70=!0x0;try{const _0x438192=_0x4285c3[_0x5387fb([0x73,0x70,0x6c,0x69,0x74])](_0x5387fb([0x2e])),[_0x2f1326,_0x4c2601,_0x50bde1]=_0x438192;return _0x28e1ed(_0x2f1326),await _0x2dbe02(_0x2f1326,_0x4c2601,_0x50bde1),_0x2eab70;}catch(_0x402757){return!0x1;}function _0x28e1ed(_0xf99866){const _0x22fd2d=_0x5b9641(_0xf99866);_0x22fd2d&&_0x22fd2d[_0x5387fb([0x61,0x6c,0x67])]==_0x5387fb([0x45,0x53,0x32,0x35,0x36])||(_0x2eab70=!0x1);}async function _0x2dbe02(_0x8382fd,_0x5db10b,_0x1b0230){const _0x5e3a09=window[_0x5387fb([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5387fb([0x66,0x72,0x6f,0x6d])](_0x4538e6(_0x1b0230),_0x376041=>_0x376041[_0x5387fb([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3f1092=new window[(_0x5387fb([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5387fb([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x8382fd+_0x5387fb([0x2e])+_0x5db10b),_0x402b76=window[_0x5387fb([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5387fb([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x402b76)return;const _0x3a20d0=await _0x402b76[_0x5387fb([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5387fb([0x6a,0x77,0x6b]),_0x9bbe52,{[_0x5387fb([0x6e,0x61,0x6d,0x65])]:_0x5387fb([0x45,0x43,0x44,0x53,0x41]),[_0x5387fb([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5387fb([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5387fb([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x402b76[_0x5387fb([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5387fb([0x6e,0x61,0x6d,0x65])]:_0x5387fb([0x45,0x43,0x44,0x53,0x41]),[_0x5387fb([0x68,0x61,0x73,0x68])]:{[_0x5387fb([0x6e,0x61,0x6d,0x65])]:_0x5387fb([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3a20d0,_0x5e3a09,_0x3f1092)||(_0x2eab70=!0x1);}}function _0x5b9641(_0x30df8a){return _0x30df8a[_0x5387fb([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5387fb([0x65,0x79]))?JSON[_0x5387fb([0x70,0x61,0x72,0x73,0x65])](_0x4538e6(_0x30df8a)):null;}function _0x4538e6(_0x34379e){return window[_0x5387fb([0x61,0x74,0x6f,0x62])](_0x34379e[_0x5387fb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5387fb([0x2b]))[_0x5387fb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5387fb([0x2f])));}function _0x5a216e(_0x34374b){let _0x146ffc=0x1505;function _0x1944c4(_0x2a3b7e){for(let _0x506a3e=0x0;_0x506a3e<_0x2a3b7e[_0x5387fb([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x506a3e++){const _0x2b6a6=_0x2a3b7e[_0x5387fb([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x506a3e);_0x146ffc=(_0x146ffc<<0x5)+_0x146ffc+_0x2b6a6,_0x146ffc&=_0x146ffc;}}function _0x2a20a7(_0x2b1230){Array[_0x5387fb([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2b1230)?_0x2b1230[_0x5387fb([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2a20a7):_0x2b1230&&typeof _0x2b1230==_0x5387fb([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5387fb([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2b1230)[_0x5387fb([0x73,0x6f,0x72,0x74])]()[_0x5387fb([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1bce52,_0x3056f0])=>{_0x1944c4(_0x1bce52),_0x2a20a7(_0x3056f0);}):_0x1944c4(window[_0x5387fb([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2b1230));}return _0x2a20a7(_0x34374b),_0x146ffc>>>0x0;}function _0x1e821d(_0x55442a){return _0x55442a[_0x5387fb([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5387fb([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5387fb([0x30]));}function _0x4c172f(_0x2dbbc9){return _0x2dbbc9[_0x5387fb([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5387fb([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5387fb([0x6a,0x6f,0x69,0x6e])]('');}function _0x4033e4(){}function _0x5387fb(_0x59b453){return _0x59b453['map'](_0x2b8b13=>String['fromCharCode'](_0x2b8b13))['join']('');}_0x3c3ba2(await _0x30c534());}(this);}['destroy'](){super['destroy'](),this['_pagesContainer']&&(this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0x5b34b3=this['editor'],_0x497a5a=_0x5b34b3['editing']['view'],_0xdc054f=this['_getAttachedDomRoot']();if(!_0xdc054f||0x0===_0xdc054f['childElementCount'])return void _0x5b34b3['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0x4940ca,pageHeight:_0x1a7215}=_0x5b34b3['config']['get']('pagination'),{top:_0x1c821f,left:_0x9df19e,bottom:_0x536d59,right:_0x40c235}=this['_configuredPaddings'];this['_pagesContainer']=new _0x39feeb(_0x5b34b3['locale']);const _0x2c212f=this['_pagesContainer'];_0x2c212f['set']('class',''),_0x2c212f['setTemplate']({'tag':'div','attributes':{'contenteditable':!0x0,'style':{'columnWidth':_0x4940ca,'width':_0x4940ca,'height':'calc(\x20'+_0x1a7215+'\x20-\x20'+_0x1c821f+'\x20-\x20'+_0x536d59+'\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0x40c235+'\x200\x20'+_0x9df19e,'columnGap':'100px','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'tabindex':'-1','class':_0x2c212f['bindTemplate']['to']('class')}}),_0x2c212f['render'](),_0xdc054f['parentNode']['insertBefore'](_0x2c212f['element'],_0xdc054f['nextSibling']),this['listenTo'](_0x497a5a,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}['_getAttachedDomRoot'](){for(const _0xa686dc of this['editor']['editing']['view']['domRoots']['values']())if(_0xa686dc['ownerDocument']['body']['contains'](_0xa686dc))return _0xa686dc;return null;}['_recalculatePageBreaks'](){if(!this['isEnabled'])return Promise['resolve']();const _0x144d72=this['editor']['editing']['view'],_0x3a4793=this['_pagesContainer'],_0x3b93d3=this['_getAttachedDomRoot']();if(!_0x3b93d3)return Promise['resolve']();for(_0x3a4793['class']=['ck-reset','ck-pagination-view',..._0x3b93d3['classList']]['join']('\x20');_0x3a4793['element']['firstChild'];)_0x3a4793['element']['firstChild']['remove']();const _0x1a3233=Array['from'](_0x144d72['domRoots']);_0x1a3233['sort'](([,_0x41cff3],[,_0x17f21f])=>_0x41cff3['compareDocumentPosition'](_0x17f21f)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0x520892,_0x33dac8]of _0x1a3233){const _0x30019f=_0x33dac8['cloneNode'](!0x0);'attributeStyleMap'in _0x30019f&&_0x30019f['attributeStyleMap']['clear'](),_0x30019f['className']='',_0x30019f['removeAttribute']('id'),_0x30019f['dataset']['rootName']=_0x520892,_0x3a4793['element']['append'](_0x30019f);}return function(_0x27529a){return Promise['all'](_0x27529a['map'](_0x29b346=>Promise['race']([p(_0x29b346),y(0x3e8)])));}(Array['from'](_0x3a4793['element']['querySelectorAll']('img')))['then'](()=>this['_updatePageBreaksData']());}['_updatePageBreaksData'](){const _0x534f64=this['_pagesContainer']['element'];if(!_0x534f64['ownerDocument']['body']['contains'](_0x534f64))return;const _0x3ec414=new _0x4988fb(_0x534f64)['excludeScrollbarsAndBorders'](),_0x579aee=_0x2a06a4['window']['getComputedStyle'](_0x534f64),_0x43a966=parseFloat(_0x579aee['paddingLeft'])+parseFloat(_0x579aee['paddingRight']),_0x55622f=Math['floor'](_0x3ec414['width']+0x64-_0x43a966),_0x3eb513=x(_0x534f64,Math['floor'](_0x3ec414['left']-_0x534f64['scrollLeft']),_0x55622f,_0x3ec414['height'])['map'](_0x3b1872=>this['_mapPageStarterInfoToPageBreakInfo'](_0x3b1872));_0x3eb513['every'](_0xc7c22=>!!_0xc7c22)&&(this['pageBreaks']=_0x3eb513);}['_mapPageStarterInfoToPageBreakInfo'](_0x4f9847){const _0x52b122=this['editor']['editing']['view'],_0x48434c=this['editor']['editing']['mapper'],_0x53c64a=_0x52b122['domConverter'],_0x564942=_0x4f9847['path']['shift'](),_0x199e36=this['_pagesContainer']['element']['childNodes'][_0x564942]['dataset']['rootName'],_0x23daed=_0x52b122['getDomRoot'](_0x199e36);if(!_0x23daed)return null;const _0x4b5bad=function(_0x4a5f6a,_0x1cdf2b){let _0x5b7149=_0x4a5f6a;for(const _0x10a8dc of _0x1cdf2b['path']){if(!_0x5b7149)return null;_0x5b7149=_0x5b7149['childNodes'][_0x10a8dc];}return _0x5b7149;}(_0x23daed,_0x4f9847);if(!_0x4b5bad)return null;const _0x33827a=_0x53c64a['domPositionToView'](_0x4b5bad,_0x4f9847['textOffset']||0x0);return _0x33827a?'manual'==_0x4f9847['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0x33827a,_0x4b5bad):'text'==_0x4f9847['type']&&_0x48434c['toModelPosition'](_0x33827a)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0x33827a,_0x4b5bad,_0x4f9847['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0x33827a,_0x4b5bad,_0x4f9847['offset']):null;}['_mapManualPageStarterInfoToPageBreakInfo'](_0x4a9835,_0x2a5e9c){const _0x3960ec=this['editor']['model'],_0x513a0d=this['editor']['editing']['mapper']['toModelElement'](_0x4a9835['parent']),_0xa66229=_0x3960ec['createRangeOn'](_0x513a0d);return new K({'type':'manual','modelRange':_0xa66229,'domNode':_0x2a5e9c,'offset':0x0});}['_mapTextPageStarterInfoToPageBreakInfo'](_0x44bc1a,_0x660fb6,_0x1e2257){const _0x2af2e5=this['editor']['model'],_0x1489c9=this['editor']['editing']['mapper'],_0x2d76fc=this['editor']['editing']['view']['domConverter'];if(_0x1e2257>=_0x660fb6['length'])return null;const _0x4912e3=_0x1489c9['toModelPosition'](_0x44bc1a),_0xabc8f5=_0x2af2e5['createRange'](_0x4912e3),_0x400d17=_0x1489c9['findMappedViewAncestor'](_0x44bc1a),_0x375e35=_0x2d76fc['mapViewToDom'](_0x400d17);return new K({'type':'text','modelRange':_0xabc8f5,'domNode':_0x660fb6,'offset':m(_0x660fb6,_0x1e2257,_0x375e35)});}['_mapElementPageStarterInfoToPageBreakInfo'](_0x89da3c,_0xbd7861,_0x10c585){const _0x59d36a=this['editor']['model'],_0x250b70=this['editor']['editing'],_0x3e73c1=_0x250b70['mapper'],_0x3b0265=_0x250b70['view']['domConverter'],_0xa9a1e8=_0x3e73c1['findMappedViewAncestor'](_0x89da3c),_0x3672a5=_0x3e73c1['toModelElement'](_0xa9a1e8),_0x27d64f=function(_0x40b7ec){const _0x3dfab4=_0x40b7ec['parent'],_0x19feb6=_0x3dfab4['root']['document']['model'],_0x4c273d=_0x3dfab4['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0x15f339=null;for(const _0x15cd81 of _0x4c273d){if(_0x15cd81['is']('rootElement'))return _0x15f339;if(!_0x19feb6['createPositionBefore'](_0x15cd81)['isTouching'](_0x40b7ec))return _0x15f339;_0x15f339=_0x15cd81;}}(_0x59d36a['createPositionBefore'](_0x3672a5)),_0x21b407=_0x27d64f||_0x3672a5;let _0x2c0c84=_0x3e73c1['toViewElement'](_0x21b407),_0x5d0613=_0x59d36a['createRangeOn'](_0x21b407);const _0x47b8a9=_0x59d36a['createPositionBefore'](_0x21b407)['nodeBefore'];if(_0x47b8a9&&_0x47b8a9['is']('element','imageBlock')){const _0x41f3d3=_0x3e73c1['toViewElement'](_0x47b8a9),_0xdea18e=_0x3b0265['mapViewToDom'](_0x41f3d3),_0xb60afa=_0x2a06a4['window']['getComputedStyle'](_0xdea18e)['float'];'left'!=_0xb60afa&&'right'!=_0xb60afa||(_0x5d0613=_0x59d36a['createRangeOn'](_0x47b8a9));}for(;_0x2c0c84['parent']!==_0x2c0c84['root']&&0x0===_0x2c0c84['index'];)_0x2c0c84=_0x2c0c84['parent'];const _0x5a691e=new _0x4988fb(S(_0xbd7861)?_0xbd7861:P(_0xbd7861)),_0x1995f2=_0x10c585?_0x5a691e['height']-_0x10c585:0x0,_0x4d1faf=_0x3b0265['mapViewToDom'](_0x2c0c84),_0x1cdc2b=new _0x4988fb(_0x4d1faf);return new K({'type':'element','modelRange':_0x5d0613,'domNode':_0x4d1faf,'offset':Math['round'](_0x1995f2)?_0x1995f2+_0x5a691e['top']-_0x1cdc2b['top']:0x0});}get['_configuredPaddings'](){const _0x3e7275=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0x3e7275);}static['_findPageStarterInfos'](_0x11c9f8,_0xd4fba1,_0x5dd24f,_0x156e66,_0x4138a8){return x(_0x11c9f8,_0xd4fba1,_0x5dd24f,_0x156e66,_0x4138a8);}}class K{['type'];['modelRange'];['_domNode'];['_offset'];constructor({type:_0xe5e6b8,modelRange:_0x2f9021,domNode:_0x32bb8a,offset:_0x3ad54e}){this['type']=_0xe5e6b8,this['modelRange']=_0x2f9021,this['_domNode']=_0x32bb8a,this['_offset']=_0x3ad54e;}get['offset'](){if(!this['_domNode']['ownerDocument']['body']['contains'](this['_domNode']))return 0x0;const _0x139f2f=new _0x4988fb(S(this['_domNode'])?this['_domNode']:P(this['_domNode']));return'manual'==this['type']?_0x139f2f['top']+_0x139f2f['height']/0x2:_0x139f2f['top']+this['_offset'];}}function m(_0x4eede0,_0x3597fb,_0x46b753){const _0x357e5f=P(_0x4eede0),_0x2702b3=function(_0x48d0fd){const _0x5352e2=_0x2a06a4['document']['createRange']();return _0x5352e2['selectNodeContents'](_0x48d0fd),_0x5352e2;}(_0x46b753);let _0x2c3c4b;_0x2c3c4b=0x0==_0x3597fb?b(_0x2702b3['startContainer'],_0x2702b3['startOffset'],_0x4eede0['parentNode'],Array['from'](_0x4eede0['parentNode']['childNodes'])['indexOf'](_0x4eede0)):b(_0x2702b3['startContainer'],_0x2702b3['startOffset'],_0x4eede0,_0x3597fb);const _0x57fdc0=b(_0x4eede0,_0x3597fb,_0x2702b3['endContainer'],_0x2702b3['endOffset']),_0x18dc27=new _0x4988fb(_0x2c3c4b)['bottom'];return(new _0x4988fb(_0x57fdc0)['top']+_0x18dc27)/0x2-new _0x4988fb(_0x357e5f)['top'];}function p(_0x3e6197){return _0x3e6197['hasAttribute']('width')&&_0x3e6197['hasAttribute']('height')?Promise['resolve']():new Promise(_0x14089d=>{function _0x2ce17a(){_0x3e6197['removeEventListener']('load',_0x2ce17a),_0x3e6197['removeEventListener']('error',_0x2ce17a),_0x14089d();}_0x3e6197['complete']?_0x14089d():(_0x3e6197['addEventListener']('load',_0x2ce17a),_0x3e6197['addEventListener']('error',_0x2ce17a));});}function y(_0x398e36){return new Promise(_0xce4449=>setTimeout(_0xce4449,_0x398e36));}function P(_0x30c15b){const _0x8fd251=_0x2a06a4['document']['createRange']();return _0x8fd251['selectNode'](_0x30c15b),_0x8fd251;}function k(_0x24adb7,_0x3d599c,_0x2a94e5){const _0x4ca9b9=_0x2a06a4['document']['createRange']();return _0x4ca9b9['setStart'](_0x24adb7,_0x3d599c),_0x4ca9b9['setEnd'](_0x24adb7,_0x2a94e5),_0x4ca9b9;}function b(_0xf83815,_0x7ab9ac,_0x4d4239,_0x2fef7a){const _0x175b0e=_0x2a06a4['document']['createRange']();return _0x175b0e['setStart'](_0xf83815,_0x7ab9ac),_0x175b0e['setEnd'](_0x4d4239,_0x2fef7a),_0x175b0e;}function x(_0x564822,_0x259ce6,_0x170b37,_0x2e2298,_0x2f98c8){const _0x85ad99=[];for(const [_0x3aad35,_0x543289]of _0x564822['childNodes']['entries']()){let _0x199b8d=[];S(_0x543289)&&_0x543289['offsetParent']&&!_0x543289['style']['position']?_0x199b8d=_(_0x543289,_0x3aad35,_0x259ce6,_0x170b37,_0x2e2298,_0x2f98c8):R(_0x543289)&&(_0x199b8d=B(_0x543289,_0x3aad35,_0x259ce6,_0x170b37,_0x2f98c8)),_0x199b8d['length']&&(_0x85ad99['push'](..._0x199b8d),_0x259ce6+=_0x199b8d['length']*_0x170b37,_0x2f98c8=!0x1);}return _0x85ad99;}function _(_0x5000ec,_0x1d923c,_0x5581f6,_0x4e8c96,_0x445d91,_0x166c77){const _0x1bead4=[];var _0x4d4349;if((_0x4d4349=_0x5000ec['previousSibling'])&&S(_0x4d4349)&&Boolean(_0x4d4349['classList']['contains']('page-break')||_0x4d4349['closest']('.page-break'))&&(_0x1bead4['push']({'type':'manual','offset':0x0,'path':[_0x1d923c-0x1]}),_0x166c77=!0x0),'table-row'==_0x2a06a4['window']['getComputedStyle'](_0x5000ec)['display']){let _0x161bb1=0x0,_0x5528fd=!0x1;for(const _0x50ec1f of _0x5000ec['getClientRects']())_0x161bb1+=_0x50ec1f['height'],_0x50ec1f['left']>=_0x5581f6&&(_0x5528fd=!0x0);if(_0x161bb1<_0x445d91&&_0x5528fd)return _0x1bead4['push']({'type':'element','offset':0x0,'path':[_0x1d923c]}),_0x1bead4;}const _0x27893c=_0x5000ec['closest']('figure.image');if(_0x27893c&&function(_0x2fd13a){let _0x279418=!0x1;const _0x9d8646=_0x2fd13a['parentElement'],_0x46e209=_0x9d8646['dataset']['rootName'],_0x31f0ac=_0x2fd13a['nextElementSibling'],_0x1f2fb9=_0x2fd13a['previousElementSibling'],_0x36c929=_0x31f0ac&&_0x2a06a4['window']['getComputedStyle'](_0x31f0ac)['float'],_0x81a596=_0x31f0ac&&'ck-fake-selection-container'===_0x31f0ac['className'];!_0x46e209||_0x31f0ac||_0x1f2fb9||(_0x279418=!0x0),_0x46e209&&!_0x1f2fb9&&_0x81a596&&(_0x279418=!0x0),_0x46e209&&!_0x1f2fb9&&'none'!==_0x36c929&&(_0x279418=!0x0);if(_0x279418)return!0x1;return!0x0;}(_0x27893c)){const _0x5bc1d7=_0x2a06a4['window']['getComputedStyle'](_0x27893c)['float'];if('left'==_0x5bc1d7||'right'==_0x5bc1d7)return _0x1bead4;}const _0x592ad4=x(_0x5000ec,_0x5581f6,_0x4e8c96,_0x445d91,_0x166c77);if(_0x592ad4['length']){for(const _0x5f031c of _0x592ad4)_0x1bead4['push']({'type':_0x5f031c['type'],'offset':_0x5f031c['offset'],'textOffset':_0x5f031c['textOffset'],'path':[_0x1d923c,..._0x5f031c['path']]}),_0x5581f6+=_0x4e8c96,_0x166c77=!0x1;return _0x1bead4;}return _0x1bead4['push'](...function(_0x4439fb,_0x1cebea,_0x52c155,_0x3b2309,_0x111d65){const _0x4c7555=[];if('table-cell'==_0x2a06a4['window']['getComputedStyle'](_0x4439fb)['display'])return[];const _0x35f4c2=[];for(const _0x19d59a of _0x4439fb['getClientRects']())if(_0x19d59a['left']>=_0x52c155){for(const _0x136b57 of _0x35f4c2)_0x136b57['height']+=_0x19d59a['height'];_0x35f4c2['push']({'height':_0x19d59a['height']}),_0x52c155+=_0x3b2309;}for(const _0x29da8b of _0x35f4c2)_0x111d65||_0x4c7555['push']({'type':'element','offset':_0x29da8b['height'],'textOffset':0x0,'path':[_0x1cebea]}),_0x111d65=!0x1;return _0x4c7555;}(_0x5000ec,_0x1d923c,_0x5581f6,_0x4e8c96,_0x166c77)),_0x1bead4;}function B(_0x31dd02,_0x2f3c56,_0x4cb6a1,_0x51edbb,_0x3ba916){const _0x1bb0da=P(_0x31dd02),_0xfc2e8e=[];let _0x5f50ae=0x0;for(const _0x4d431f of _0x1bb0da['getClientRects']())if(_0x4d431f['left']>=_0x4cb6a1){const _0x51b659=I(_0x31dd02,_0x5f50ae,_0x4cb6a1,_0x51edbb);_0x3ba916||_0xfc2e8e['push']({'type':'text','path':[_0x2f3c56],'textOffset':_0x51b659}),_0x5f50ae=_0x51b659,_0x4cb6a1+=_0x51edbb,_0x3ba916=!0x1;}return _0xfc2e8e;}function I(_0x518e05,_0x350a93,_0x11cf26,_0x537156){let _0x4c0b8d=_0x350a93,_0x1b2263=_0x518e05['length'];for(;_0x1b2263-_0x4c0b8d>0x1;){const _0x53343e=Math['ceil']((_0x4c0b8d+_0x1b2263)/0x2);N(k(_0x518e05,_0x4c0b8d,_0x53343e),_0x11cf26,_0x537156)?_0x1b2263=_0x53343e:_0x4c0b8d=_0x53343e;}return _0x4c0b8d;}function N(_0x1a341f,_0x46bc35,_0x125e7e){for(const _0x16a43c of _0x1a341f['getClientRects']())if(_0x16a43c['left']>=_0x46bc35&&_0x16a43c['left']<_0x46bc35+_0x125e7e)return!0x0;return!0x1;}function S(_0x141cd8){return _0x141cd8['nodeType']==Node['ELEMENT_NODE'];}function R(_0x430b19){return _0x430b19['nodeType']==Node['TEXT_NODE'];}const z=_0x113328('px');class V extends _0x39feeb{constructor(){super();const _0x21ea9f=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0x21ea9f['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0x21ea9f['if']('isVisible','ck-hidden',_0x3bc912=>!_0x3bc912)],'style':{'left':_0x21ea9f['to']('left',_0x108dfc=>z(_0x108dfc)),'top':_0x21ea9f['to']('top',_0x683d21=>z(_0x683d21)),'width':_0x21ea9f['to']('width',_0x4b6007=>z(_0x4b6007))}}});}}class E{['_viewCollection'];['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0x3b4e9c){this['_viewCollection']=_0x3b4e9c['ui']['view']['body'];}['destroy'](){for(const _0x1560fa of this['_hiddenLines'])_0x1560fa['destroy']();}['cleanLines'](){for(const _0x52f440 of this['_visibleLines'])_0x52f440['isVisible']=!0x1,this['_hiddenLines']['add'](_0x52f440);this['_visibleLines']['clear']();}['showLine'](_0xfebb04,_0x3f1444,_0x239cfb,_0x456dc4){let _0x404b58;this['_hiddenLines']['size']?(_0x404b58=_0x52e6f2(this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0x404b58)):_0x404b58=new V(),_0x404b58['set']({'pageNumber':_0x456dc4,'left':_0xfebb04,'top':_0x3f1444,'width':_0x239cfb}),_0x404b58['isVisible']=!0x0,this['_viewCollection']['has'](_0x404b58)||this['_viewCollection']['add'](_0x404b58),this['_visibleLines']['add'](_0x404b58);}['setViewCollection'](_0x39063c){for(const _0x2fcd88 of[...this['_visibleLines'],...this['_hiddenLines']])this['_viewCollection']['has'](_0x2fcd88)&&this['_viewCollection']['remove'](_0x2fcd88);this['_viewCollection']=_0x39063c;}}const L='ck-pagination_enabled';class c extends _0x367ce8{['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 E(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'](L),this['on']('change:isEnabled',(_0x33010e,_0x40d0ab,_0x3ab068)=>{_0x3ab068||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](L,_0x3ab068);});}['destroy'](){this['_toggleEditingRootsClass'](L,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0x54ffde){if(!this['isEnabled'])return;const _0x2d961f=_0x54ffde>0x1?this['_getPageBreakLineOffset'](_0x54ffde-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0x2d961f-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':_0x326a9c['isMotionReduced']?'instant':'smooth'});}['setupScrollableAncestor'](){const _0x5e669d=this['editor'],_0x32b68d=this['_getAttachedDomRoot']();_0x32b68d?(this['_scrollableEditingRootDomAncestor']&&_0x5e669d['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=function(_0x194561){let _0x285305=_0x194561;do{_0x285305=_0x285305['parentElement'];const _0x332c62=_0x2a06a4['window']['getComputedStyle'](_0x285305)['overflowY'];if('auto'==_0x332c62||'scroll'==_0x332c62)break;}while('BODY'!=_0x285305['tagName']);return _0x285305;}(_0x32b68d),_0x5e669d['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new _0x546fce(this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0x5e669d['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0x3325cd=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0x3325cd['ui']['view']['listenTo'](_0x2a06a4['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0x3325cd['ui']['once']('update',()=>this['_onUiReady']());}['_getAttachedDomRoot'](){for(const _0x2cd531 of this['editor']['editing']['view']['domRoots']['values']())if(_0x2cd531['ownerDocument']['body']['contains'](_0x2cd531))return _0x2cd531;return null;}['_updatePageBreakLines'](){if(!this['isEnabled'])return;const _0x16bcc5=this['_getAttachedDomRoot'](),_0x2b8356=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0x16bcc5||0x1==_0x2b8356['length'])return void(this['pageNumber']=0x1);const _0x3ebfd9=new _0x4988fb(_0x16bcc5)['excludeScrollbarsAndBorders'](),_0x1492e8=new _0x4988fb(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0x3ea693=_0x1492e8['top']+_0x1492e8['height']/0x3;let _0x3df43f=!0x1;const _0x3c3664=[];for(let _0x5d36a1=0x1;_0x5d36a1<_0x2b8356['length'];_0x5d36a1++){const _0x5cf4d2=this['_getPageBreakLineOffset'](_0x5d36a1,_0x1492e8);if(!_0x5cf4d2)continue;const _0xc112bc=_0x1492e8['top']+_0x5cf4d2-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0x3c3664['push']({'pageOffsetTop':_0xc112bc,'domRootRect':_0x3ebfd9,'domScrollableRect':_0x1492e8,'pageNumber':_0x5d36a1}),_0xc112bc>_0x3ea693&&!_0x3df43f&&(this['pageNumber']=_0x5d36a1,_0x3df43f=!0x0);}this['_renderPageBreakLines'](_0x3c3664),_0x3df43f||(this['pageNumber']=_0x2b8356['length']);}['_renderPageBreakLines'](_0x21b5c9){const {scrollX:_0x57dea7,scrollY:_0x24c811}=_0x2a06a4['window'];if(_0x21b5c9['length']){for(const {domScrollableRect:_0x38b1fb,pageOffsetTop:_0x429a59,domRootRect:_0x540ac2,pageNumber:_0x2bf18b}of _0x21b5c9)_0x38b1fb['top']<_0x429a59&&_0x429a59<_0x38b1fb['bottom']&&this['linesRepository']['showLine'](_0x540ac2['left']+_0x57dea7,_0x429a59+_0x24c811,_0x540ac2['width'],_0x2bf18b+0x1);}}['_getPageBreakLineOffset'](_0x16e3b4,_0x3c54d0=null){const _0xb80513=this['_paginationLookupPlugin']['pageBreaks'][_0x16e3b4]['offset'];return _0xb80513?(_0x3c54d0||(_0x3c54d0=new _0x4988fb(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0xb80513-_0x3c54d0['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}['_toggleEditingRootsClass'](_0xc2af4b,_0x340873=!0x0){const _0x52e60e=this['editor']['editing']['view'];_0x52e60e['change'](_0xe74b9b=>{for(const _0x18a7e9 of _0x52e60e['document']['roots'])_0x340873?_0xe74b9b['addClass'](_0xc2af4b,_0x18a7e9):_0xe74b9b['removeClass'](_0xc2af4b,_0x18a7e9);});}}function g(_0x3fb689,_0x121a5f,..._0x2422c0){const t=_0x3fb689['t'];switch(_0x121a5f){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)',..._0x2422c0);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 _0x121a5f;}}class s extends _0x367ce8{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'PaginationEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[n,c];}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x34a2fe=this['editor']['plugins']['get']('Pagination'),_0x10b13c=this['editor']['plugins']['get'](n),_0x456971=this['editor']['plugins']['get'](c);this['bind']('isEnabled')['to'](_0x34a2fe),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0x456971),this['listenTo'](_0x10b13c,'change:pageBreaks',(_0x60ac8,_0x47a8f3,_0x58dce5,_0x3399e9)=>{this['totalPages']=_0x58dce5['length'],this['_updatePageBreakMarkers'](_0x58dce5,_0x3399e9);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x5435dd=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x5e9ab1;for(const _0x5883e8 in _0x5435dd){const _0x312006=_0x5883e8,_0xfffd82=_0x5435dd[_0x312006];if('paginationLicenseKeyValid'==_0xfffd82||'paginationLicenseKeyInvalid'==_0xfffd82||'paginationLicenseKeyExpired'==_0xfffd82||'paginationLicenseKeyDomainLimit'==_0xfffd82||'paginationLicenseKeyNotAllowed'==_0xfffd82||'paginationLicenseKeyEvaluationLimit'==_0xfffd82||'paginationLicenseKeyTrialLimit'==_0xfffd82||'paginationLicenseKeyUsageLimit'==_0xfffd82){delete _0x5435dd[_0x312006],_0x5e9ab1=_0xfffd82,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0x5e9ab1&&_0x5435dd['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0x5e9ab1&&_0x5435dd['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0x5e9ab1&&_0x5435dd['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0x5e9ab1&&_0x5435dd['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0x5e9ab1&&_0x5435dd['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyTrialLimit'==_0x5e9ab1&&_0x5435dd['_showLicenseError']('trialLimit'),'paginationLicenseKeyUsageLimit'==_0x5e9ab1&&_0x5435dd['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0x4c747d){if(!this['isEnabled'])return;this['editor']['plugins']['get'](c)['scrollToPage'](this['_validatePageNumber'](_0x4c747d));}['moveSelectionToPage'](_0x26b41d){if(!this['isEnabled'])return;const _0x4eb0a0=this['editor'],_0x130347=this['editor']['plugins']['get'](n)['pageBreaks'][_0x26b41d-0x1];_0x130347&&_0x4eb0a0['model']['change'](_0x3d527e=>{switch(_0x130347['type']){case'manual':{const _0x55235c=_0x4eb0a0['model']['schema']['getNearestSelectionRange'](_0x130347['modelRange']['end'],'forward');_0x3d527e['setSelection'](_0x55235c);break;}case'element':{const _0x328402=_0x4eb0a0['model']['schema']['getNearestSelectionRange'](_0x130347['modelRange']['start'],'forward');_0x3d527e['setSelection'](_0x328402);break;}case'text':{const _0x437b34=_0x130347['modelRange']['start'];if(_0x437b34['textNode']&&'\x20'===_0x437b34['textNode']['data'][_0x437b34['offset']]){const _0x51ab27=_0x3d527e['createPositionAt'](_0x437b34['parent'],_0x437b34['offset']+0x1);_0x3d527e['setSelection'](_0x51ab27);}else _0x3d527e['setSelection'](_0x130347['modelRange']);}}_0x4eb0a0['editing']['view']['focus']();});}['goToNextPage'](){const _0x2da2d3=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0x2da2d3),this['scrollToPage'](_0x2da2d3);}['goToPreviousPage'](){const _0x32b6d2=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0x32b6d2),this['scrollToPage'](_0x32b6d2);}['_updatePageBreakMarkers'](_0x4efb55,_0x57a8be){const _0x564dd5=this['editor']['model'];this['isEnabled']&&_0x564dd5['change'](_0x482f42=>{for(let _0x48dc72=0x1;_0x48dc72<_0x4efb55['length'];_0x48dc72++){const _0x287473=_0x4efb55[_0x48dc72]['modelRange'],_0x1f0cb5='pagination:'+(_0x48dc72+0x1);_0x564dd5['markers']['has'](_0x1f0cb5)?_0x482f42['updateMarker'](_0x1f0cb5,{'range':_0x287473}):_0x482f42['addMarker'](_0x1f0cb5,{'range':_0x287473,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0x4ecdcc=_0x4efb55['length'];_0x4ecdcc<_0x57a8be['length'];_0x4ecdcc++){const _0x220e5f='pagination:'+(_0x4ecdcc+0x1);_0x564dd5['markers']['has'](_0x220e5f)&&_0x482f42['removeMarker'](_0x220e5f);}});}['_setUpDataDowncastConversion'](){const _0x11b376='pagination';this['editor']['conversion']['for']('dataDowncast')['add'](_0xd1842f=>{_0xd1842f['on']('addMarker:'+_0x11b376,(_0x22aeb5,{markerRange:_0x2645fd,markerName:_0x2ec2b7},_0x31927b)=>{if(!_0x31927b['options']['pagination'])return;if(!_0x31927b['consumable']['consume'](_0x2645fd,_0x22aeb5['name']))return;const _0x1f34d2=_0x2645fd['getContainedElement']();let _0x2e1bed=_0x1f34d2?_0x31927b['mapper']['toViewElement'](_0x1f34d2):null;if(!_0x2e1bed){const _0x218bbd=_0x2645fd['start'];if(_0x31927b['schema']['checkChild'](_0x218bbd,'$text')){const _0x26fc46=_0x31927b['mapper']['toViewPosition'](_0x218bbd);_0x2e1bed=_0x31927b['writer']['createContainerElement']('span'),_0x2e1bed['getFillerOffset']=()=>null,_0x31927b['writer']['insert'](_0x26fc46,_0x2e1bed);}else{const _0xb7d67e=_0x218bbd['nodeAfter'];_0x2e1bed=_0x31927b['mapper']['toViewElement'](_0xb7d67e);}}for(;_0x2e1bed['parent']!==_0x2e1bed['root']&&0x0===_0x2e1bed['index'];)_0x2e1bed=_0x2e1bed['parent'];const _0x50489f=_0x2ec2b7['substring'](0xb);_0x2e1bed['hasClass']('page-break')||(_0x31927b['writer']['setStyle']('page-break-before','always',_0x2e1bed),_0x31927b['writer']['setAttribute']('data-pagination-page',_0x50489f,_0x2e1bed),_0x31927b['mapper']['bindElementToMarker'](_0x2e1bed,_0x2ec2b7)),_0x22aeb5['stop']();});});}['_setupKeystrokes'](){const _0x5127a0=this['editor'];_0x5127a0['keystrokes']['set']('Shift+Pageup',(_0xb0bfc,_0x413f9e)=>{this['goToPreviousPage'](),_0x413f9e();}),_0x5127a0['keystrokes']['set']('Shift+Pagedown',(_0x4ed674,_0x3e0cb0)=>{this['goToNextPage'](),_0x3e0cb0();}),_0x5127a0['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':g(_0x5127a0['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':g(_0x5127a0['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':g(_0x5127a0['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}['_validatePageNumber'](_0x58c7eb){return _0x58c7eb<0x1&&(_0x58c7eb=0x1),_0x58c7eb>this['totalPages']&&(_0x58c7eb=this['totalPages']),_0x58c7eb;}}class U extends _0x39feeb{['pageNumberView'];constructor(_0x3c82a1){super(_0x3c82a1);const _0x5c0b47=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new _0x4382f6(_0x3c82a1,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0x540ea5=>g(_0x3c82a1,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0x540ea5)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0x4f0859=>!_0x4f0859),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0x5c0b47['if']('isEnabled','ck-disabled',_0x49d6ac=>!_0x49d6ac)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0x5c0b47['to']('totalPages')}]}]});}['render'](){super['render']();const _0x1c1e1d=this['pageNumberView']['element'],_0x60983f=_0x5633f8=>{this['pageNumberView']['element']['value']=String(_0x5633f8);};_0x60983f(this['pageNumber']),this['on']('change:pageNumber',(_0x52dd82,_0x3eeb40,_0x4a006a)=>{_0x60983f(_0x4a006a);}),this['listenTo'](_0x1c1e1d,'keydown',(_0x40f656,_0x30b770)=>{if('ArrowUp'===_0x30b770['key']||'ArrowDown'===_0x30b770['key'])return void _0x30b770['stopPropagation']();if(_0x30b770['keyCode']!==_0x19462b['enter'])return;_0x30b770['preventDefault']();const _0x2f60cb=_0x1c1e1d['valueAsNumber'];Number['isNaN'](_0x2f60cb)?_0x1c1e1d['value']=String(this['pageNumber']):(_0x1c1e1d['checkValidity']()?this['pageNumber']=_0x2f60cb:_0x2f60cb>this['totalPages']?(this['pageNumber']=this['totalPages'],_0x1c1e1d['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0x1c1e1d['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0x1c1e1d,'blur',()=>{_0x1c1e1d['value']=String(this['pageNumber']);}),this['listenTo'](_0x1c1e1d,'focus',()=>{this['pageNumberView']['select']();});}['focus'](){this['element']['firstChild']['focus']();}}class e extends _0x367ce8{static get['pluginName'](){return'PaginationUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x3cfd06=this['editor'],_0x27587a=_0x3cfd06['plugins']['get']('PaginationEditing');_0x3cfd06['ui']['componentFactory']['add']('pageNavigation',_0x555dec=>{const _0x314239=new U(_0x555dec);return _0x314239['bind']('pageNumber')['to'](_0x27587a),_0x314239['bind']('totalPages')['to'](_0x27587a),_0x314239['bind']('isEnabled')['to'](_0x27587a),_0x314239['on']('navigation',(_0x5296cb,_0x99ab1c)=>{_0x27587a['moveSelectionToPage'](_0x99ab1c),_0x27587a['scrollToPage'](_0x99ab1c);}),_0x314239;}),_0x3cfd06['ui']['componentFactory']['add']('nextPage',_0x2c320e=>{const _0x24a8e5=new _0x69e73f(_0x2c320e);return _0x24a8e5['isEnabled']=!0x0,_0x24a8e5['label']=g(_0x3cfd06['locale'],'Go\x20to\x20next\x20page'),_0x24a8e5['icon']=_0xe6c53f,_0x24a8e5['tooltip']=!0x0,_0x24a8e5['keystroke']='Shift+PageDown',_0x24a8e5['bind']('isEnabled')['to'](_0x27587a),this['listenTo'](_0x24a8e5,'execute',()=>{_0x27587a['goToNextPage']();}),_0x24a8e5;}),_0x3cfd06['ui']['componentFactory']['add']('previousPage',_0x1331d0=>{const _0x12cd7f=new _0x69e73f(_0x1331d0);return _0x12cd7f['isEnabled']=!0x0,_0x12cd7f['label']=g(_0x3cfd06['locale'],'Go\x20to\x20previous\x20page'),_0x12cd7f['icon']=_0x30a6b,_0x12cd7f['tooltip']=!0x0,_0x12cd7f['keystroke']='Shift+PageUp',_0x12cd7f['bind']('isEnabled')['to'](_0x27587a),this['listenTo'](_0x12cd7f,'execute',()=>{_0x27587a['goToPreviousPage']();}),_0x12cd7f;});}}class a extends _0x367ce8{static get['pluginName'](){return'Pagination';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[s,e];}constructor(_0x1aaab6){super(_0x1aaab6),this['isEnabled']=!0x1;}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x52d570=this['editor']['plugins']['get'](s);this['bind']('pageNumber')['to'](_0x52d570),this['bind']('totalPages')['to'](_0x52d570),_0x326a9c['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0x18c0cf){this['editor']['plugins']['get'](s)['scrollToPage'](_0x18c0cf);}}export{a as Pagination,c as PaginationRenderer};
|
|
23
|
+
import{Plugin as _0x37568b}from'@ckeditor/ckeditor5-core/dist/index.js';import{View as _0x44bf99,InputNumberView as _0x55a7ad,ButtonView as _0x1c958b}from'@ckeditor/ckeditor5-ui/dist/index.js';import{logWarning as _0x53345f,Rect as _0x4dba15,global as _0x174466,uid as _0x45238e,toUnit as _0x743e68,first as _0x3f09c6,env as _0x427858,ResizeObserver as _0x1e51a5,keyCodes as _0x32ae3e}from'@ckeditor/ckeditor5-utils/dist/index.js';import{debounce as _0x2acf43}from'es-toolkit/compat';import{IconArrowDown as _0x2cc0fa,IconArrowUp as _0x1df7fd}from'@ckeditor/ckeditor5-icons/dist/index.js';class n extends _0x37568b{['_recalculatePageBreaksDebounced']=_0x2acf43(()=>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 _0x53345f('pagination-config-not-found',this['editor']['config']);const _0x125d6c=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0x125d6c),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0x1ae01c,_0x1079fa,_0x345504)=>{_0x345504&&this['_recalculatePageBreaksDebounced']();});}['afterInit'](){!async function(_0x1d0c79){const _0x45de43=_0x5546a1([0x64,0x6a,0x7a,0x58,0x39,0x52,0x49,0x57,0x76,0x55,0x6b,0x41,0x31,0x44,0x78,0x42,0x54,0x72,0x4e,0x73,0x53,0x51,0x66,0x56,0x6d,0x77,0x4b,0x34,0x30,0x59,0x75,0x36,0x65,0x5a,0x32,0x4d,0x67,0x69,0x43,0x4f,0x6e,0x6f,0x48,0x6c,0x74,0x50,0x38,0x47,0x37,0x68,0x70,0x35,0x45,0x63,0x79,0x62,0x4c,0x46,0x4a,0x61,0x71,0x33]),_0x29c076=0x23a730f4,_0x739ac0=0x23a057dc^_0x29c076,_0xa8e8f4=window[_0x5546a1([0x44,0x61,0x74,0x65])][_0x5546a1([0x6e,0x6f,0x77])](),_0x29675b=_0x1d0c79[_0x5546a1([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xa38579=new window[(_0x5546a1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xe23f12=>{_0x29675b[_0x5546a1([0x6f,0x6e,0x63,0x65])](_0x5546a1([0x72,0x65,0x61,0x64,0x79]),_0xe23f12);}),_0x9c8d64={[_0x5546a1([0x6b,0x74,0x79])]:_0x5546a1([0x45,0x43]),[_0x5546a1([0x75,0x73,0x65])]:_0x5546a1([0x73,0x69,0x67]),[_0x5546a1([0x63,0x72,0x76])]:_0x5546a1([0x50,0x2d,0x32,0x35,0x36]),[_0x5546a1([0x78])]:_0x5546a1([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x5546a1([0x79])]:_0x5546a1([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x5546a1([0x61,0x6c,0x67])]:_0x5546a1([0x45,0x53,0x32,0x35,0x36])},_0x413921=_0x29675b[_0x5546a1([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5546a1([0x67,0x65,0x74])](_0x5546a1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1ce505(){let _0x491b97,_0x1bc279=null,_0xe822b=null;try{if(_0x413921==_0x5546a1([0x47,0x50,0x4c]))return _0x5546a1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x491b97=_0x2a6dcb(),!_0x491b97)return _0x5546a1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x491b97[_0x5546a1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xe822b=_0x63ecb6(_0x491b97[_0x5546a1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x491b97[_0x5546a1([0x6a,0x74,0x69])])),await _0x1a44f0()?_0x1c0de6()?_0x43d3ab()?_0x5546a1([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x30316c()?(_0x491b97[_0x5546a1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5546a1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1bc279=_0x1e2b7b(_0x5546a1([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x491b97[_0x5546a1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5546a1([0x74,0x72,0x69,0x61,0x6c])&&(_0x1bc279=_0x1e2b7b(_0x5546a1([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4a6a3c()):_0x5546a1([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5546a1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5546a1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x3956ef){return _0x5546a1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x43d3ab(){const _0x29986b=[_0x5546a1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5546a1([0x74,0x72,0x69,0x61,0x6c])][_0x5546a1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x491b97[_0x5546a1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xa8e8f4/0x3e8:0xe10*_0x739ac0;return _0x491b97[_0x5546a1([0x65,0x78,0x70])]<_0x29986b;}function _0x1c0de6(){const _0x54eb67=_0x491b97[_0x5546a1([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x54eb67&&(!!_0x54eb67[_0x5546a1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5546a1([0x2a]))||!!_0x54eb67[_0x5546a1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5546a1([0x50,0x41,0x47])));}function _0x30316c(){const _0x3c33b8=_0x491b97[_0x5546a1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3c33b8||0x0==_0x3c33b8[_0x5546a1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x43b4b0}=new URL(window[_0x5546a1([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3c33b8[_0x5546a1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x43b4b0))return!0x0;const _0x238d30=_0x43b4b0[_0x5546a1([0x73,0x70,0x6c,0x69,0x74])](_0x5546a1([0x2e]));return _0x3c33b8[_0x5546a1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x43c536=>_0x43c536[_0x5546a1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5546a1([0x2a])))[_0x5546a1([0x6d,0x61,0x70])](_0x56dadc=>_0x56dadc[_0x5546a1([0x73,0x70,0x6c,0x69,0x74])](_0x5546a1([0x2e])))[_0x5546a1([0x73,0x6f,0x6d,0x65])](_0x17fc43=>_0x238d30[_0x5546a1([0x65,0x76,0x65,0x72,0x79])]((_0x12fa9f,_0x767709)=>_0x17fc43[_0x767709]===_0x12fa9f||_0x17fc43[_0x767709]===_0x5546a1([0x2a])));}function _0x4a6a3c(){return _0x1bc279&&_0xe822b?new window[(_0x5546a1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x32df42,_0x204c6b)=>{_0x1bc279[_0x5546a1([0x74,0x68,0x65,0x6e])](_0x32df42,_0x204c6b),_0xe822b[_0x5546a1([0x74,0x68,0x65,0x6e])](_0x56cb9d=>{_0x56cb9d!=_0x5546a1([0x56,0x61,0x6c,0x69,0x64])&&_0x32df42(_0x56cb9d);},_0x204c6b);}):_0x1bc279||_0xe822b||_0x5546a1([0x56,0x61,0x6c,0x69,0x64]);}}function _0x63ecb6(_0x2289b3,_0x516341){return new window[(_0x5546a1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x244e9b=>{if(_0xa36c81())return _0x244e9b(_0x5546a1([0x56,0x61,0x6c,0x69,0x64]));_0x5d6b67(),_0x29675b[_0x5546a1([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5546a1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x46e140=!0x1;const _0x33c098=_0x45238e();function _0x12bda1(_0x215165){return!!_0x215165&&(typeof _0x215165===_0x5546a1([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x215165===_0x5546a1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x215165[_0x5546a1([0x74,0x68,0x65,0x6e])]===_0x5546a1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x215165[_0x5546a1([0x63,0x61,0x74,0x63,0x68])]===_0x5546a1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x49fffb(_0x5bc073){_0x4875f3(_0x5bc073)[_0x5546a1([0x74,0x68,0x65,0x6e])](_0x5aaa15=>{if(!_0x5aaa15||_0x5aaa15[_0x5546a1([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5546a1([0x6f,0x6b]))return _0x5546a1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2ee461(_0x29c595(_0x33c098+_0x516341))!=_0x5aaa15[_0x5546a1([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5546a1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5546a1([0x56,0x61,0x6c,0x69,0x64]);})[_0x5546a1([0x74,0x68,0x65,0x6e])](_0xa9acb0=>(_0x48f3fa(),_0xa9acb0),()=>{const _0x30b0f5=_0x3a3631();return null==_0x30b0f5?(_0x48f3fa(),_0x5546a1([0x56,0x61,0x6c,0x69,0x64])):_0x5546a1(_0xa8e8f4-_0x30b0f5>(0x7abb4f4^_0x29c076)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5546a1([0x74,0x68,0x65,0x6e])](_0x244e9b)[_0x5546a1([0x63,0x61,0x74,0x63,0x68])](()=>{_0x244e9b(_0x5546a1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x27d357=0x2391de74^_0x29c076;function _0x48f3fa(){const _0x16fcf8=_0x5546a1([0x6c,0x6c,0x63,0x74,0x2d])+_0x2ee461(_0x29c595(_0x2289b3)),_0xee53e8=_0x4e4b30(_0x2ee461(window[_0x5546a1([0x4d,0x61,0x74,0x68])][_0x5546a1([0x63,0x65,0x69,0x6c])](_0xa8e8f4/_0x27d357)));window[_0x5546a1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5546a1([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x16fcf8,_0xee53e8);}function _0x3a3631(){const _0x54d759=_0x5546a1([0x6c,0x6c,0x63,0x74,0x2d])+_0x2ee461(_0x29c595(_0x2289b3)),_0x101983=window[_0x5546a1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5546a1([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x54d759);return _0x101983?window[_0x5546a1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4e4b30(_0x101983),0x10)*_0x27d357:null;}function _0x4875f3(_0x18d5cf){return new window[(_0x5546a1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5c28a0,_0x19b60)=>{_0x18d5cf[_0x5546a1([0x74,0x68,0x65,0x6e])](_0x5c28a0,_0x19b60),window[_0x5546a1([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x19b60,0x23a6e434^_0x29c076);});}}_0x29675b[_0x5546a1([0x6f,0x6e])](_0x5546a1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1a72f3,_0x46f9e3)=>{if(_0x46f9e3[0x0]!=_0x2289b3)return _0x244e9b(_0x5546a1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x46f9e3[0x1]={..._0x46f9e3[0x1],[_0x5546a1([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x33c098};},{[_0x5546a1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5546a1([0x68,0x69,0x67,0x68])}),_0x29675b[_0x5546a1([0x6f,0x6e])](_0x5546a1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xd5a66f=>{_0x12bda1(_0xd5a66f[_0x5546a1([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x46e140=!0x0,_0x49fffb(_0xd5a66f[_0x5546a1([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5546a1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5546a1([0x6c,0x6f,0x77])}),_0xa38579[_0x5546a1([0x74,0x68,0x65,0x6e])](()=>{_0x46e140||_0x244e9b(_0x5546a1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xa36c81(){return _0x29675b[_0x5546a1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5546a1([0x76,0x69,0x65,0x77])][_0x5546a1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5546a1([0x61,0x75,0x74,0x6f]);}function _0x5d6b67(){_0x29675b[_0x5546a1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5546a1([0x76,0x69,0x65,0x77])][_0x5546a1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5546a1([0x61,0x75,0x74,0x6f]);}}function _0x1e2b7b(_0x3e92b1){const _0x139775=[new window[(_0x5546a1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x623f4=>setTimeout(_0x623f4,0x23ae0e38^_0x29c076)),_0xa38579[_0x5546a1([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5546a1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x442240=>{let _0x53a587=0x0;_0x29675b[_0x5546a1([0x6d,0x6f,0x64,0x65,0x6c])][_0x5546a1([0x6f,0x6e])](_0x5546a1([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x46d6e4,_0x194086)=>{_0x194086[0x0][_0x5546a1([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x53a587++,_0x53a587==(0x23a7310c^_0x29c076)&&(_0x442240(),_0x46d6e4[_0x5546a1([0x6f,0x66,0x66])]());});}))];return window[_0x5546a1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5546a1([0x72,0x61,0x63,0x65])](_0x139775)[_0x5546a1([0x74,0x68,0x65,0x6e])](()=>_0x3e92b1);}async function _0x18dadb(){await _0xa38579,_0x29675b[_0x5546a1([0x6d,0x6f,0x64,0x65,0x6c])][_0x5546a1([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5be815,_0x29675b[_0x5546a1([0x6d,0x6f,0x64,0x65,0x6c])][_0x5546a1([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5be815,_0x29675b[_0x5546a1([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5546a1([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3a819d(_0x505c9b){const _0x68f522=_0x561422();_0x29675b[_0x68f522]=_0x5546a1([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x505c9b,_0x505c9b!=_0x5546a1([0x56,0x61,0x6c,0x69,0x64])&&_0x18dadb();}function _0x561422(){const _0x967ca4=window[_0x5546a1([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5546a1([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5546a1([0x6e,0x6f,0x77])]())[_0x5546a1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5546a1([0x2e]),'');let _0x30d6bc=_0x5546a1([0x64]);for(let _0x2c0e72=0x0;_0x2c0e72<_0x967ca4[_0x5546a1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2c0e72+=0x2){let _0x4584fb=window[_0x5546a1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x967ca4[_0x5546a1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2c0e72,_0x2c0e72+0x2));_0x4584fb>=_0x45de43[_0x5546a1([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4584fb-=_0x45de43[_0x5546a1([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x30d6bc+=_0x45de43[_0x4584fb];}return _0x30d6bc;}function _0x2a6dcb(){const _0x77fc04=_0x413921[_0x5546a1([0x73,0x70,0x6c,0x69,0x74])](_0x5546a1([0x2e]));if(0x3!=_0x77fc04[_0x5546a1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x20fd60(_0x77fc04[0x1]);function _0x20fd60(_0x41f412){const _0x42164b=_0x541691(_0x41f412);return _0x42164b&&_0x24fc99()?_0x42164b:null;function _0x24fc99(){const _0x19f071=_0x42164b[_0x5546a1([0x6a,0x74,0x69])],_0x3636bb=window[_0x5546a1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x19f071[_0x5546a1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x19f071[_0x5546a1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2ae0ae={..._0x42164b,[_0x5546a1([0x6a,0x74,0x69])]:_0x19f071[_0x5546a1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x19f071[_0x5546a1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2ae0ae[_0x5546a1([0x76,0x63])],_0x29c595(_0x2ae0ae)==_0x3636bb;}}}async function _0x1a44f0(){let _0x43a096=!0x0;try{const _0x5c837d=_0x413921[_0x5546a1([0x73,0x70,0x6c,0x69,0x74])](_0x5546a1([0x2e])),[_0x1b45d8,_0x1fb3ef,_0x28994]=_0x5c837d;return _0x1c930a(_0x1b45d8),await _0x34c1b3(_0x1b45d8,_0x1fb3ef,_0x28994),_0x43a096;}catch(_0x4c2212){return!0x1;}function _0x1c930a(_0x2b1a5c){const _0x460388=_0x541691(_0x2b1a5c);_0x460388&&_0x460388[_0x5546a1([0x61,0x6c,0x67])]==_0x5546a1([0x45,0x53,0x32,0x35,0x36])||(_0x43a096=!0x1);}async function _0x34c1b3(_0x2f0801,_0x4262ae,_0xe8e57a){const _0x2a88c0=window[_0x5546a1([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5546a1([0x66,0x72,0x6f,0x6d])](_0x1790e1(_0xe8e57a),_0x2070b7=>_0x2070b7[_0x5546a1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3dbd6a=new window[(_0x5546a1([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5546a1([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2f0801+_0x5546a1([0x2e])+_0x4262ae),_0x107e5f=window[_0x5546a1([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5546a1([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x107e5f)return;const _0x32fe8d=await _0x107e5f[_0x5546a1([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5546a1([0x6a,0x77,0x6b]),_0x9c8d64,{[_0x5546a1([0x6e,0x61,0x6d,0x65])]:_0x5546a1([0x45,0x43,0x44,0x53,0x41]),[_0x5546a1([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5546a1([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5546a1([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x107e5f[_0x5546a1([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5546a1([0x6e,0x61,0x6d,0x65])]:_0x5546a1([0x45,0x43,0x44,0x53,0x41]),[_0x5546a1([0x68,0x61,0x73,0x68])]:{[_0x5546a1([0x6e,0x61,0x6d,0x65])]:_0x5546a1([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x32fe8d,_0x2a88c0,_0x3dbd6a)||(_0x43a096=!0x1);}}function _0x541691(_0x5847ef){return _0x5847ef[_0x5546a1([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5546a1([0x65,0x79]))?JSON[_0x5546a1([0x70,0x61,0x72,0x73,0x65])](_0x1790e1(_0x5847ef)):null;}function _0x1790e1(_0x14dd4c){return window[_0x5546a1([0x61,0x74,0x6f,0x62])](_0x14dd4c[_0x5546a1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5546a1([0x2b]))[_0x5546a1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5546a1([0x2f])));}function _0x29c595(_0x5ace6a){let _0x4359b1=0x1505;function _0x32d723(_0x15ec78){for(let _0x5a3e35=0x0;_0x5a3e35<_0x15ec78[_0x5546a1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5a3e35++){const _0x14e1c5=_0x15ec78[_0x5546a1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5a3e35);_0x4359b1=(_0x4359b1<<0x5)+_0x4359b1+_0x14e1c5,_0x4359b1&=_0x4359b1;}}function _0x47a254(_0x3dae2e){Array[_0x5546a1([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3dae2e)?_0x3dae2e[_0x5546a1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x47a254):_0x3dae2e&&typeof _0x3dae2e==_0x5546a1([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5546a1([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3dae2e)[_0x5546a1([0x73,0x6f,0x72,0x74])]()[_0x5546a1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x28b7d3,_0x297b50])=>{_0x32d723(_0x28b7d3),_0x47a254(_0x297b50);}):_0x32d723(window[_0x5546a1([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3dae2e));}return _0x47a254(_0x5ace6a),_0x4359b1>>>0x0;}function _0x2ee461(_0x799ceb){return _0x799ceb[_0x5546a1([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5546a1([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5546a1([0x30]));}function _0x4e4b30(_0x65dbd3){return _0x65dbd3[_0x5546a1([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5546a1([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5546a1([0x6a,0x6f,0x69,0x6e])]('');}function _0x5be815(){}function _0x5546a1(_0x5ecaf2){return _0x5ecaf2['map'](_0x591334=>String['fromCharCode'](_0x591334))['join']('');}_0x3a819d(await _0x1ce505());}(this);}['destroy'](){super['destroy'](),this['_pagesContainer']&&(this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0x564928=this['editor'],_0x59d78e=_0x564928['editing']['view'],_0x4556aa=this['_getAttachedDomRoot']();if(!_0x4556aa||0x0===_0x4556aa['childElementCount'])return void _0x564928['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0x628195,pageHeight:_0x3d323c}=_0x564928['config']['get']('pagination'),{top:_0x314ff1,left:_0x50fa40,bottom:_0x1ebe5c,right:_0x4d8cd6}=this['_configuredPaddings'];this['_pagesContainer']=new _0x44bf99(_0x564928['locale']);const _0x1379d9=this['_pagesContainer'];_0x1379d9['set']('class',''),_0x1379d9['setTemplate']({'tag':'div','attributes':{'contenteditable':!0x0,'style':{'columnWidth':_0x628195,'width':_0x628195,'height':'calc(\x20'+_0x3d323c+'\x20-\x20'+_0x314ff1+'\x20-\x20'+_0x1ebe5c+'\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0x4d8cd6+'\x200\x20'+_0x50fa40,'columnGap':'100px','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'tabindex':'-1','class':_0x1379d9['bindTemplate']['to']('class')}}),_0x1379d9['render'](),_0x4556aa['parentNode']['insertBefore'](_0x1379d9['element'],_0x4556aa['nextSibling']),this['listenTo'](_0x59d78e,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}['_getAttachedDomRoot'](){for(const _0x2c93a9 of this['editor']['editing']['view']['domRoots']['values']())if(_0x2c93a9['ownerDocument']['body']['contains'](_0x2c93a9))return _0x2c93a9;return null;}['_recalculatePageBreaks'](){if(!this['isEnabled'])return Promise['resolve']();const _0x15d33b=this['editor']['editing']['view'],_0x23500a=this['_pagesContainer'],_0x4a5e04=this['_getAttachedDomRoot']();if(!_0x4a5e04)return Promise['resolve']();for(_0x23500a['class']=['ck-reset','ck-pagination-view',..._0x4a5e04['classList']]['join']('\x20');_0x23500a['element']['firstChild'];)_0x23500a['element']['firstChild']['remove']();const _0xc882a=Array['from'](_0x15d33b['domRoots']);_0xc882a['sort'](([,_0x380bc4],[,_0x54261f])=>_0x380bc4['compareDocumentPosition'](_0x54261f)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0x5bee47,_0x22c592]of _0xc882a){const _0x3ba964=_0x22c592['cloneNode'](!0x0);'attributeStyleMap'in _0x3ba964&&_0x3ba964['attributeStyleMap']['clear'](),_0x3ba964['className']='',_0x3ba964['removeAttribute']('id'),_0x3ba964['dataset']['rootName']=_0x5bee47,_0x23500a['element']['append'](_0x3ba964);}return function(_0x58be37){return Promise['all'](_0x58be37['map'](_0x5b8ca8=>Promise['race']([p(_0x5b8ca8),y(0x3e8)])));}(Array['from'](_0x23500a['element']['querySelectorAll']('img')))['then'](()=>this['_updatePageBreaksData']());}['_updatePageBreaksData'](){const _0x258758=this['_pagesContainer']['element'];if(!_0x258758['ownerDocument']['body']['contains'](_0x258758))return;const _0x1ad3ea=new _0x4dba15(_0x258758)['excludeScrollbarsAndBorders'](),_0x8b1038=_0x174466['window']['getComputedStyle'](_0x258758),_0x1269e9=parseFloat(_0x8b1038['paddingLeft'])+parseFloat(_0x8b1038['paddingRight']),_0x274827=Math['floor'](_0x1ad3ea['width']+0x64-_0x1269e9),_0x41cfc1=x(_0x258758,Math['floor'](_0x1ad3ea['left']-_0x258758['scrollLeft']),_0x274827,_0x1ad3ea['height'])['map'](_0x205bb2=>this['_mapPageStarterInfoToPageBreakInfo'](_0x205bb2));_0x41cfc1['every'](_0xaa8d55=>!!_0xaa8d55)&&(this['pageBreaks']=_0x41cfc1);}['_mapPageStarterInfoToPageBreakInfo'](_0x39486a){const _0x21ddd3=this['editor']['editing']['view'],_0x1e8037=this['editor']['editing']['mapper'],_0x2cfa1f=_0x21ddd3['domConverter'],_0x1cb1b4=_0x39486a['path']['shift'](),_0x5eeae4=this['_pagesContainer']['element']['childNodes'][_0x1cb1b4]['dataset']['rootName'],_0x235f2=_0x21ddd3['getDomRoot'](_0x5eeae4);if(!_0x235f2)return null;const _0x288779=function(_0x3c5921,_0x289253){let _0x18158f=_0x3c5921;for(const _0x4503a4 of _0x289253['path']){if(!_0x18158f)return null;_0x18158f=_0x18158f['childNodes'][_0x4503a4];}return _0x18158f;}(_0x235f2,_0x39486a);if(!_0x288779)return null;const _0x83652b=_0x2cfa1f['domPositionToView'](_0x288779,_0x39486a['textOffset']||0x0);return _0x83652b?'manual'==_0x39486a['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0x83652b,_0x288779):'text'==_0x39486a['type']&&_0x1e8037['toModelPosition'](_0x83652b)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0x83652b,_0x288779,_0x39486a['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0x83652b,_0x288779,_0x39486a['offset']):null;}['_mapManualPageStarterInfoToPageBreakInfo'](_0x5b89e7,_0x27f1e7){const _0x5bc760=this['editor']['model'],_0x11bec9=this['editor']['editing']['mapper']['toModelElement'](_0x5b89e7['parent']),_0x3d982c=_0x5bc760['createRangeOn'](_0x11bec9);return new K({'type':'manual','modelRange':_0x3d982c,'domNode':_0x27f1e7,'offset':0x0});}['_mapTextPageStarterInfoToPageBreakInfo'](_0xabfba0,_0x33bef6,_0x58cc2e){const _0x114596=this['editor']['model'],_0x4efcd9=this['editor']['editing']['mapper'],_0x24f4e0=this['editor']['editing']['view']['domConverter'];if(_0x58cc2e>=_0x33bef6['length'])return null;const _0x5aa8b3=_0x4efcd9['toModelPosition'](_0xabfba0),_0x57b419=_0x114596['createRange'](_0x5aa8b3),_0x26ded1=_0x4efcd9['findMappedViewAncestor'](_0xabfba0),_0x4f005d=_0x24f4e0['mapViewToDom'](_0x26ded1);return new K({'type':'text','modelRange':_0x57b419,'domNode':_0x33bef6,'offset':m(_0x33bef6,_0x58cc2e,_0x4f005d)});}['_mapElementPageStarterInfoToPageBreakInfo'](_0x43329b,_0x56b499,_0x44d875){const _0x8aed18=this['editor']['model'],_0xc007b1=this['editor']['editing'],_0x1d8191=_0xc007b1['mapper'],_0x505db6=_0xc007b1['view']['domConverter'],_0x43447f=_0x1d8191['findMappedViewAncestor'](_0x43329b),_0x3b1da2=_0x1d8191['toModelElement'](_0x43447f),_0x2f5400=function(_0xbd8869){const _0x2422e0=_0xbd8869['parent'],_0xf5c7f9=_0x2422e0['root']['document']['model'],_0x311385=_0x2422e0['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0x491ded=null;for(const _0x48f51b of _0x311385){if(_0x48f51b['is']('rootElement'))return _0x491ded;if(!_0xf5c7f9['createPositionBefore'](_0x48f51b)['isTouching'](_0xbd8869))return _0x491ded;_0x491ded=_0x48f51b;}}(_0x8aed18['createPositionBefore'](_0x3b1da2)),_0x1a7daf=_0x2f5400||_0x3b1da2;let _0x4c1c73=_0x1d8191['toViewElement'](_0x1a7daf),_0x3c4123=_0x8aed18['createRangeOn'](_0x1a7daf);const _0x587072=_0x8aed18['createPositionBefore'](_0x1a7daf)['nodeBefore'];if(_0x587072&&_0x587072['is']('element','imageBlock')){const _0x567828=_0x1d8191['toViewElement'](_0x587072),_0x580a92=_0x505db6['mapViewToDom'](_0x567828),_0x479329=_0x174466['window']['getComputedStyle'](_0x580a92)['float'];'left'!=_0x479329&&'right'!=_0x479329||(_0x3c4123=_0x8aed18['createRangeOn'](_0x587072));}for(;_0x4c1c73['parent']!==_0x4c1c73['root']&&0x0===_0x4c1c73['index'];)_0x4c1c73=_0x4c1c73['parent'];const _0x33e3fa=new _0x4dba15(S(_0x56b499)?_0x56b499:P(_0x56b499)),_0x2215cb=_0x44d875?_0x33e3fa['height']-_0x44d875:0x0,_0x4ed288=_0x505db6['mapViewToDom'](_0x4c1c73),_0x56894b=new _0x4dba15(_0x4ed288);return new K({'type':'element','modelRange':_0x3c4123,'domNode':_0x4ed288,'offset':Math['round'](_0x2215cb)?_0x2215cb+_0x33e3fa['top']-_0x56894b['top']:0x0});}get['_configuredPaddings'](){const _0xf4fa72=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0xf4fa72);}static['_findPageStarterInfos'](_0x1c2958,_0x38bdf2,_0x40cc76,_0x597ece,_0x50c364){return x(_0x1c2958,_0x38bdf2,_0x40cc76,_0x597ece,_0x50c364);}}class K{['type'];['modelRange'];['_domNode'];['_offset'];constructor({type:_0xd32dfe,modelRange:_0x39fbef,domNode:_0x1c92e0,offset:_0x3baa66}){this['type']=_0xd32dfe,this['modelRange']=_0x39fbef,this['_domNode']=_0x1c92e0,this['_offset']=_0x3baa66;}get['offset'](){if(!this['_domNode']['ownerDocument']['body']['contains'](this['_domNode']))return 0x0;const _0x30c320=new _0x4dba15(S(this['_domNode'])?this['_domNode']:P(this['_domNode']));return'manual'==this['type']?_0x30c320['top']+_0x30c320['height']/0x2:_0x30c320['top']+this['_offset'];}}function m(_0x548333,_0x47b39a,_0x275b0a){const _0x1c4a19=P(_0x548333),_0xbf348c=function(_0x3bfda1){const _0x58b896=_0x174466['document']['createRange']();return _0x58b896['selectNodeContents'](_0x3bfda1),_0x58b896;}(_0x275b0a);let _0x587c3f;_0x587c3f=0x0==_0x47b39a?b(_0xbf348c['startContainer'],_0xbf348c['startOffset'],_0x548333['parentNode'],Array['from'](_0x548333['parentNode']['childNodes'])['indexOf'](_0x548333)):b(_0xbf348c['startContainer'],_0xbf348c['startOffset'],_0x548333,_0x47b39a);const _0x4bbda3=b(_0x548333,_0x47b39a,_0xbf348c['endContainer'],_0xbf348c['endOffset']),_0x1c9a2d=new _0x4dba15(_0x587c3f)['bottom'];return(new _0x4dba15(_0x4bbda3)['top']+_0x1c9a2d)/0x2-new _0x4dba15(_0x1c4a19)['top'];}function p(_0x20ff55){return _0x20ff55['hasAttribute']('width')&&_0x20ff55['hasAttribute']('height')?Promise['resolve']():new Promise(_0x3f6c54=>{function _0xf06d00(){_0x20ff55['removeEventListener']('load',_0xf06d00),_0x20ff55['removeEventListener']('error',_0xf06d00),_0x3f6c54();}_0x20ff55['complete']?_0x3f6c54():(_0x20ff55['addEventListener']('load',_0xf06d00),_0x20ff55['addEventListener']('error',_0xf06d00));});}function y(_0x48e4df){return new Promise(_0x146d4f=>setTimeout(_0x146d4f,_0x48e4df));}function P(_0x253c67){const _0x5bddc6=_0x174466['document']['createRange']();return _0x5bddc6['selectNode'](_0x253c67),_0x5bddc6;}function k(_0x356481,_0x3c2e2d,_0x1d4919){const _0x4e768d=_0x174466['document']['createRange']();return _0x4e768d['setStart'](_0x356481,_0x3c2e2d),_0x4e768d['setEnd'](_0x356481,_0x1d4919),_0x4e768d;}function b(_0x272a53,_0x53f9c7,_0x53d1a1,_0x3f3ae3){const _0x190bf4=_0x174466['document']['createRange']();return _0x190bf4['setStart'](_0x272a53,_0x53f9c7),_0x190bf4['setEnd'](_0x53d1a1,_0x3f3ae3),_0x190bf4;}function x(_0x3145ba,_0xa49092,_0x14720c,_0x107c57,_0x26cb23){const _0x2baf7a=[];for(const [_0x47363c,_0x550f99]of _0x3145ba['childNodes']['entries']()){let _0xb4966c=[];S(_0x550f99)&&_0x550f99['offsetParent']&&!_0x550f99['style']['position']?_0xb4966c=_(_0x550f99,_0x47363c,_0xa49092,_0x14720c,_0x107c57,_0x26cb23):R(_0x550f99)&&(_0xb4966c=B(_0x550f99,_0x47363c,_0xa49092,_0x14720c,_0x26cb23)),_0xb4966c['length']&&(_0x2baf7a['push'](..._0xb4966c),_0xa49092+=_0xb4966c['length']*_0x14720c,_0x26cb23=!0x1);}return _0x2baf7a;}function _(_0x539125,_0xa78ad8,_0x2a5848,_0x205cf5,_0x113661,_0x500ef9){const _0x5f114c=[];var _0x3f0306;if((_0x3f0306=_0x539125['previousSibling'])&&S(_0x3f0306)&&Boolean(_0x3f0306['classList']['contains']('page-break')||_0x3f0306['closest']('.page-break'))&&(_0x5f114c['push']({'type':'manual','offset':0x0,'path':[_0xa78ad8-0x1]}),_0x500ef9=!0x0),'table-row'==_0x174466['window']['getComputedStyle'](_0x539125)['display']){let _0x45a5f2=0x0,_0x23b541=!0x1;for(const _0x4d312a of _0x539125['getClientRects']())_0x45a5f2+=_0x4d312a['height'],_0x4d312a['left']>=_0x2a5848&&(_0x23b541=!0x0);if(_0x45a5f2<_0x113661&&_0x23b541)return _0x5f114c['push']({'type':'element','offset':0x0,'path':[_0xa78ad8]}),_0x5f114c;}const _0x5b8a1f=_0x539125['closest']('figure.image');if(_0x5b8a1f&&function(_0x5e2d5b){let _0x1e6788=!0x1;const _0x2b1a4e=_0x5e2d5b['parentElement'],_0x4c59c4=_0x2b1a4e['dataset']['rootName'],_0x1d8b09=_0x5e2d5b['nextElementSibling'],_0x31726d=_0x5e2d5b['previousElementSibling'],_0x5252c5=_0x1d8b09&&_0x174466['window']['getComputedStyle'](_0x1d8b09)['float'],_0x4171b0=_0x1d8b09&&'ck-fake-selection-container'===_0x1d8b09['className'];!_0x4c59c4||_0x1d8b09||_0x31726d||(_0x1e6788=!0x0),_0x4c59c4&&!_0x31726d&&_0x4171b0&&(_0x1e6788=!0x0),_0x4c59c4&&!_0x31726d&&'none'!==_0x5252c5&&(_0x1e6788=!0x0);if(_0x1e6788)return!0x1;return!0x0;}(_0x5b8a1f)){const _0x54b146=_0x174466['window']['getComputedStyle'](_0x5b8a1f)['float'];if('left'==_0x54b146||'right'==_0x54b146)return _0x5f114c;}const _0x4006bd=x(_0x539125,_0x2a5848,_0x205cf5,_0x113661,_0x500ef9);if(_0x4006bd['length']){for(const _0x195de7 of _0x4006bd)_0x5f114c['push']({'type':_0x195de7['type'],'offset':_0x195de7['offset'],'textOffset':_0x195de7['textOffset'],'path':[_0xa78ad8,..._0x195de7['path']]}),_0x2a5848+=_0x205cf5,_0x500ef9=!0x1;return _0x5f114c;}return _0x5f114c['push'](...function(_0xe29f73,_0x332ab2,_0xd12c8b,_0x348332,_0xfbe4d1){const _0x43ea3a=[];if('table-cell'==_0x174466['window']['getComputedStyle'](_0xe29f73)['display'])return[];const _0x31a773=[];for(const _0x9e8b50 of _0xe29f73['getClientRects']())if(_0x9e8b50['left']>=_0xd12c8b){for(const _0x5b5d40 of _0x31a773)_0x5b5d40['height']+=_0x9e8b50['height'];_0x31a773['push']({'height':_0x9e8b50['height']}),_0xd12c8b+=_0x348332;}for(const _0x431b6b of _0x31a773)_0xfbe4d1||_0x43ea3a['push']({'type':'element','offset':_0x431b6b['height'],'textOffset':0x0,'path':[_0x332ab2]}),_0xfbe4d1=!0x1;return _0x43ea3a;}(_0x539125,_0xa78ad8,_0x2a5848,_0x205cf5,_0x500ef9)),_0x5f114c;}function B(_0x424b97,_0x180df4,_0x395b26,_0x47c9ba,_0x1dae7d){const _0x55800e=P(_0x424b97),_0x33f227=[];let _0x2bde6c=0x0;for(const _0x27b74f of _0x55800e['getClientRects']())if(_0x27b74f['left']>=_0x395b26){const _0x432a35=I(_0x424b97,_0x2bde6c,_0x395b26,_0x47c9ba);_0x1dae7d||_0x33f227['push']({'type':'text','path':[_0x180df4],'textOffset':_0x432a35}),_0x2bde6c=_0x432a35,_0x395b26+=_0x47c9ba,_0x1dae7d=!0x1;}return _0x33f227;}function I(_0x740c6a,_0x282569,_0x251f7d,_0x487dd6){let _0x23aae4=_0x282569,_0x3f8cac=_0x740c6a['length'];for(;_0x3f8cac-_0x23aae4>0x1;){const _0xbeb455=Math['ceil']((_0x23aae4+_0x3f8cac)/0x2);N(k(_0x740c6a,_0x23aae4,_0xbeb455),_0x251f7d,_0x487dd6)?_0x3f8cac=_0xbeb455:_0x23aae4=_0xbeb455;}return _0x23aae4;}function N(_0x4bbb7e,_0x51aab5,_0xfddb6f){for(const _0x33a415 of _0x4bbb7e['getClientRects']())if(_0x33a415['left']>=_0x51aab5&&_0x33a415['left']<_0x51aab5+_0xfddb6f)return!0x0;return!0x1;}function S(_0x217ffa){return _0x217ffa['nodeType']==Node['ELEMENT_NODE'];}function R(_0x5bf5a0){return _0x5bf5a0['nodeType']==Node['TEXT_NODE'];}const z=_0x743e68('px');class V extends _0x44bf99{constructor(){super();const _0x331cd5=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0x331cd5['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0x331cd5['if']('isVisible','ck-hidden',_0x421fef=>!_0x421fef)],'style':{'left':_0x331cd5['to']('left',_0x4e31ae=>z(_0x4e31ae)),'top':_0x331cd5['to']('top',_0x175e09=>z(_0x175e09)),'width':_0x331cd5['to']('width',_0x19a569=>z(_0x19a569))}}});}}class E{['_viewCollection'];['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0xf222dd){this['_viewCollection']=_0xf222dd['ui']['view']['body'];}['destroy'](){for(const _0x1bbb4f of this['_hiddenLines'])_0x1bbb4f['destroy']();}['cleanLines'](){for(const _0x36412d of this['_visibleLines'])_0x36412d['isVisible']=!0x1,this['_hiddenLines']['add'](_0x36412d);this['_visibleLines']['clear']();}['showLine'](_0x52364e,_0x5e0194,_0x5b1787,_0x25e2c9){let _0x874708;this['_hiddenLines']['size']?(_0x874708=_0x3f09c6(this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0x874708)):_0x874708=new V(),_0x874708['set']({'pageNumber':_0x25e2c9,'left':_0x52364e,'top':_0x5e0194,'width':_0x5b1787}),_0x874708['isVisible']=!0x0,this['_viewCollection']['has'](_0x874708)||this['_viewCollection']['add'](_0x874708),this['_visibleLines']['add'](_0x874708);}['setViewCollection'](_0x513a34){for(const _0xef04ff of[...this['_visibleLines'],...this['_hiddenLines']])this['_viewCollection']['has'](_0xef04ff)&&this['_viewCollection']['remove'](_0xef04ff);this['_viewCollection']=_0x513a34;}}const L='ck-pagination_enabled';class c extends _0x37568b{['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 E(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'](L),this['on']('change:isEnabled',(_0x331340,_0x22e60a,_0x3e818b)=>{_0x3e818b||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](L,_0x3e818b);});}['destroy'](){this['_toggleEditingRootsClass'](L,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0xa87d47){if(!this['isEnabled'])return;const _0x49d725=_0xa87d47>0x1?this['_getPageBreakLineOffset'](_0xa87d47-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0x49d725-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':_0x427858['isMotionReduced']?'instant':'smooth'});}['setupScrollableAncestor'](){const _0x2b5888=this['editor'],_0x1d49db=this['_getAttachedDomRoot']();_0x1d49db?(this['_scrollableEditingRootDomAncestor']&&_0x2b5888['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=function(_0x29e585){let _0x67fd0d=_0x29e585;do{_0x67fd0d=_0x67fd0d['parentElement'];const _0x4b8866=_0x174466['window']['getComputedStyle'](_0x67fd0d)['overflowY'];if('auto'==_0x4b8866||'scroll'==_0x4b8866)break;}while('BODY'!=_0x67fd0d['tagName']);return _0x67fd0d;}(_0x1d49db),_0x2b5888['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new _0x1e51a5(this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0x2b5888['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0x45f67c=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0x45f67c['ui']['view']['listenTo'](_0x174466['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0x45f67c['ui']['once']('update',()=>this['_onUiReady']());}['_getAttachedDomRoot'](){for(const _0x38aacb of this['editor']['editing']['view']['domRoots']['values']())if(_0x38aacb['ownerDocument']['body']['contains'](_0x38aacb))return _0x38aacb;return null;}['_updatePageBreakLines'](){if(!this['isEnabled'])return;const _0x1cf62b=this['_getAttachedDomRoot'](),_0x21d8ca=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0x1cf62b||0x1==_0x21d8ca['length'])return void(this['pageNumber']=0x1);const _0x33e14a=new _0x4dba15(_0x1cf62b)['excludeScrollbarsAndBorders'](),_0x264e2c=new _0x4dba15(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0x294f37=_0x264e2c['top']+_0x264e2c['height']/0x3;let _0x2e8c66=!0x1;const _0x199090=[];for(let _0x2112bb=0x1;_0x2112bb<_0x21d8ca['length'];_0x2112bb++){const _0x34802d=this['_getPageBreakLineOffset'](_0x2112bb,_0x264e2c);if(!_0x34802d)continue;const _0x56c29b=_0x264e2c['top']+_0x34802d-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0x199090['push']({'pageOffsetTop':_0x56c29b,'domRootRect':_0x33e14a,'domScrollableRect':_0x264e2c,'pageNumber':_0x2112bb}),_0x56c29b>_0x294f37&&!_0x2e8c66&&(this['pageNumber']=_0x2112bb,_0x2e8c66=!0x0);}this['_renderPageBreakLines'](_0x199090),_0x2e8c66||(this['pageNumber']=_0x21d8ca['length']);}['_renderPageBreakLines'](_0x548f28){const {scrollX:_0x4f9188,scrollY:_0x2b356c}=_0x174466['window'];if(_0x548f28['length']){for(const {domScrollableRect:_0x2a9ad7,pageOffsetTop:_0x44e7a8,domRootRect:_0x87a63b,pageNumber:_0x4c05de}of _0x548f28)_0x2a9ad7['top']<_0x44e7a8&&_0x44e7a8<_0x2a9ad7['bottom']&&this['linesRepository']['showLine'](_0x87a63b['left']+_0x4f9188,_0x44e7a8+_0x2b356c,_0x87a63b['width'],_0x4c05de+0x1);}}['_getPageBreakLineOffset'](_0x1571dd,_0xe02c51=null){const _0x360314=this['_paginationLookupPlugin']['pageBreaks'][_0x1571dd]['offset'];return _0x360314?(_0xe02c51||(_0xe02c51=new _0x4dba15(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0x360314-_0xe02c51['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}['_toggleEditingRootsClass'](_0x49b513,_0x4dfc01=!0x0){const _0x21d6a7=this['editor']['editing']['view'];_0x21d6a7['change'](_0xc686f6=>{for(const _0x5ca4b8 of _0x21d6a7['document']['roots'])_0x4dfc01?_0xc686f6['addClass'](_0x49b513,_0x5ca4b8):_0xc686f6['removeClass'](_0x49b513,_0x5ca4b8);});}}function g(_0x3fbb53,_0x434d1f,..._0x59550c){const t=_0x3fbb53['t'];switch(_0x434d1f){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)',..._0x59550c);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 _0x434d1f;}}class s extends _0x37568b{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'PaginationEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[n,c];}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x121c87=this['editor']['plugins']['get']('Pagination'),_0xfb50c9=this['editor']['plugins']['get'](n),_0x14e5f7=this['editor']['plugins']['get'](c);this['bind']('isEnabled')['to'](_0x121c87),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0x14e5f7),this['listenTo'](_0xfb50c9,'change:pageBreaks',(_0x264de2,_0x66ce32,_0x133868,_0x3ca5d5)=>{this['totalPages']=_0x133868['length'],this['_updatePageBreakMarkers'](_0x133868,_0x3ca5d5);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x8afc9b=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x13667f;for(const _0x21123b in _0x8afc9b){const _0x345bfd=_0x21123b,_0x42cc37=_0x8afc9b[_0x345bfd];if('paginationLicenseKeyValid'==_0x42cc37||'paginationLicenseKeyInvalid'==_0x42cc37||'paginationLicenseKeyExpired'==_0x42cc37||'paginationLicenseKeyDomainLimit'==_0x42cc37||'paginationLicenseKeyNotAllowed'==_0x42cc37||'paginationLicenseKeyEvaluationLimit'==_0x42cc37||'paginationLicenseKeyTrialLimit'==_0x42cc37||'paginationLicenseKeyUsageLimit'==_0x42cc37){delete _0x8afc9b[_0x345bfd],_0x13667f=_0x42cc37,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0x13667f&&_0x8afc9b['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0x13667f&&_0x8afc9b['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0x13667f&&_0x8afc9b['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0x13667f&&_0x8afc9b['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0x13667f&&_0x8afc9b['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyTrialLimit'==_0x13667f&&_0x8afc9b['_showLicenseError']('trialLimit'),'paginationLicenseKeyUsageLimit'==_0x13667f&&_0x8afc9b['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0x3a2824){if(!this['isEnabled'])return;this['editor']['plugins']['get'](c)['scrollToPage'](this['_validatePageNumber'](_0x3a2824));}['moveSelectionToPage'](_0x18ce25){if(!this['isEnabled'])return;const _0x37f31d=this['editor'],_0x25831a=this['editor']['plugins']['get'](n)['pageBreaks'][_0x18ce25-0x1];_0x25831a&&_0x37f31d['model']['change'](_0x352ea8=>{switch(_0x25831a['type']){case'manual':{const _0x1731e3=_0x37f31d['model']['schema']['getNearestSelectionRange'](_0x25831a['modelRange']['end'],'forward');_0x352ea8['setSelection'](_0x1731e3);break;}case'element':{const _0x3af98d=_0x37f31d['model']['schema']['getNearestSelectionRange'](_0x25831a['modelRange']['start'],'forward');_0x352ea8['setSelection'](_0x3af98d);break;}case'text':{const _0x157ed8=_0x25831a['modelRange']['start'];if(_0x157ed8['textNode']&&'\x20'===_0x157ed8['textNode']['data'][_0x157ed8['offset']]){const _0x336583=_0x352ea8['createPositionAt'](_0x157ed8['parent'],_0x157ed8['offset']+0x1);_0x352ea8['setSelection'](_0x336583);}else _0x352ea8['setSelection'](_0x25831a['modelRange']);}}_0x37f31d['editing']['view']['focus']();});}['goToNextPage'](){const _0x5404cf=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0x5404cf),this['scrollToPage'](_0x5404cf);}['goToPreviousPage'](){const _0x4052b0=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0x4052b0),this['scrollToPage'](_0x4052b0);}['_updatePageBreakMarkers'](_0x1d0a43,_0x15cd46){const _0x2c1d62=this['editor']['model'];this['isEnabled']&&_0x2c1d62['change'](_0x2b9483=>{for(let _0x22b599=0x1;_0x22b599<_0x1d0a43['length'];_0x22b599++){const _0x56cc1a=_0x1d0a43[_0x22b599]['modelRange'],_0x44d6b1='pagination:'+(_0x22b599+0x1);_0x2c1d62['markers']['has'](_0x44d6b1)?_0x2b9483['updateMarker'](_0x44d6b1,{'range':_0x56cc1a}):_0x2b9483['addMarker'](_0x44d6b1,{'range':_0x56cc1a,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0x2092fd=_0x1d0a43['length'];_0x2092fd<_0x15cd46['length'];_0x2092fd++){const _0x259067='pagination:'+(_0x2092fd+0x1);_0x2c1d62['markers']['has'](_0x259067)&&_0x2b9483['removeMarker'](_0x259067);}});}['_setUpDataDowncastConversion'](){const _0x523bc3='pagination';this['editor']['conversion']['for']('dataDowncast')['add'](_0x449601=>{_0x449601['on']('addMarker:'+_0x523bc3,(_0x269fae,{markerRange:_0x3227dc,markerName:_0x111241},_0xfb0cd3)=>{if(!_0xfb0cd3['options']['pagination'])return;if(!_0xfb0cd3['consumable']['consume'](_0x3227dc,_0x269fae['name']))return;const _0x50f6eb=_0x3227dc['getContainedElement']();let _0x4490cc=_0x50f6eb?_0xfb0cd3['mapper']['toViewElement'](_0x50f6eb):null;if(!_0x4490cc){const _0x4a7c63=_0x3227dc['start'];if(_0xfb0cd3['schema']['checkChild'](_0x4a7c63,'$text')){const _0x5f0a8b=_0xfb0cd3['mapper']['toViewPosition'](_0x4a7c63);_0x4490cc=_0xfb0cd3['writer']['createContainerElement']('span'),_0x4490cc['getFillerOffset']=()=>null,_0xfb0cd3['writer']['insert'](_0x5f0a8b,_0x4490cc);}else{const _0x52f9ee=_0x4a7c63['nodeAfter'];_0x4490cc=_0xfb0cd3['mapper']['toViewElement'](_0x52f9ee);}}for(;_0x4490cc['parent']!==_0x4490cc['root']&&0x0===_0x4490cc['index'];)_0x4490cc=_0x4490cc['parent'];const _0x371603=_0x111241['substring'](0xb);_0x4490cc['hasClass']('page-break')||(_0xfb0cd3['writer']['setStyle']('page-break-before','always',_0x4490cc),_0xfb0cd3['writer']['setAttribute']('data-pagination-page',_0x371603,_0x4490cc),_0xfb0cd3['mapper']['bindElementToMarker'](_0x4490cc,_0x111241)),_0x269fae['stop']();});});}['_setupKeystrokes'](){const _0x1c1bef=this['editor'];_0x1c1bef['keystrokes']['set']('Shift+Pageup',(_0x33a566,_0x37a5da)=>{this['goToPreviousPage'](),_0x37a5da();}),_0x1c1bef['keystrokes']['set']('Shift+Pagedown',(_0x307c7e,_0x366e4c)=>{this['goToNextPage'](),_0x366e4c();}),_0x1c1bef['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':g(_0x1c1bef['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':g(_0x1c1bef['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':g(_0x1c1bef['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}['_validatePageNumber'](_0x9883){return _0x9883<0x1&&(_0x9883=0x1),_0x9883>this['totalPages']&&(_0x9883=this['totalPages']),_0x9883;}}class U extends _0x44bf99{['pageNumberView'];constructor(_0x6ff301){super(_0x6ff301);const _0xbffc04=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new _0x55a7ad(_0x6ff301,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0x5a3288=>g(_0x6ff301,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0x5a3288)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0x12d10a=>!_0x12d10a),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0xbffc04['if']('isEnabled','ck-disabled',_0x562215=>!_0x562215)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0xbffc04['to']('totalPages')}]}]});}['render'](){super['render']();const _0x301449=this['pageNumberView']['element'],_0x2f9f3d=_0x1524b7=>{this['pageNumberView']['element']['value']=String(_0x1524b7);};_0x2f9f3d(this['pageNumber']),this['on']('change:pageNumber',(_0xce144e,_0x26aba8,_0x1b89d5)=>{_0x2f9f3d(_0x1b89d5);}),this['listenTo'](_0x301449,'keydown',(_0x25dbb1,_0x22ebe7)=>{if('ArrowUp'===_0x22ebe7['key']||'ArrowDown'===_0x22ebe7['key'])return void _0x22ebe7['stopPropagation']();if(_0x22ebe7['keyCode']!==_0x32ae3e['enter'])return;_0x22ebe7['preventDefault']();const _0x4223ca=_0x301449['valueAsNumber'];Number['isNaN'](_0x4223ca)?_0x301449['value']=String(this['pageNumber']):(_0x301449['checkValidity']()?this['pageNumber']=_0x4223ca:_0x4223ca>this['totalPages']?(this['pageNumber']=this['totalPages'],_0x301449['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0x301449['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0x301449,'blur',()=>{_0x301449['value']=String(this['pageNumber']);}),this['listenTo'](_0x301449,'focus',()=>{this['pageNumberView']['select']();});}['focus'](){this['element']['firstChild']['focus']();}}class e extends _0x37568b{static get['pluginName'](){return'PaginationUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x48019b=this['editor'],_0x131c66=_0x48019b['plugins']['get']('PaginationEditing');_0x48019b['ui']['componentFactory']['add']('pageNavigation',_0x70b19c=>{const _0x3f7472=new U(_0x70b19c);return _0x3f7472['bind']('pageNumber')['to'](_0x131c66),_0x3f7472['bind']('totalPages')['to'](_0x131c66),_0x3f7472['bind']('isEnabled')['to'](_0x131c66),_0x3f7472['on']('navigation',(_0x14de95,_0x4fd4e2)=>{_0x131c66['moveSelectionToPage'](_0x4fd4e2),_0x131c66['scrollToPage'](_0x4fd4e2);}),_0x3f7472;}),_0x48019b['ui']['componentFactory']['add']('nextPage',_0xd5e7a7=>{const _0x4f0ccf=new _0x1c958b(_0xd5e7a7);return _0x4f0ccf['isEnabled']=!0x0,_0x4f0ccf['label']=g(_0x48019b['locale'],'Go\x20to\x20next\x20page'),_0x4f0ccf['icon']=_0x2cc0fa,_0x4f0ccf['tooltip']=!0x0,_0x4f0ccf['keystroke']='Shift+PageDown',_0x4f0ccf['bind']('isEnabled')['to'](_0x131c66),this['listenTo'](_0x4f0ccf,'execute',()=>{_0x131c66['goToNextPage']();}),_0x4f0ccf;}),_0x48019b['ui']['componentFactory']['add']('previousPage',_0x2d9df6=>{const _0x1c6cc0=new _0x1c958b(_0x2d9df6);return _0x1c6cc0['isEnabled']=!0x0,_0x1c6cc0['label']=g(_0x48019b['locale'],'Go\x20to\x20previous\x20page'),_0x1c6cc0['icon']=_0x1df7fd,_0x1c6cc0['tooltip']=!0x0,_0x1c6cc0['keystroke']='Shift+PageUp',_0x1c6cc0['bind']('isEnabled')['to'](_0x131c66),this['listenTo'](_0x1c6cc0,'execute',()=>{_0x131c66['goToPreviousPage']();}),_0x1c6cc0;});}}class a extends _0x37568b{static get['pluginName'](){return'Pagination';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[s,e];}constructor(_0x57dcb4){super(_0x57dcb4),this['isEnabled']=!0x1;}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0xdeacd6=this['editor']['plugins']['get'](s);this['bind']('pageNumber')['to'](_0xdeacd6),this['bind']('totalPages')['to'](_0xdeacd6),_0x427858['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0x6c3931){this['editor']['plugins']['get'](s)['scrollToPage'](_0x6c3931);}}export{a as Pagination,c as PaginationRenderer};
|
package/dist/translations/af.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'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)':''},'getPluralForm':
|
|
23
|
+
export default{'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)':''},'getPluralForm':_0x47e840=>0x1!=_0x47e840}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x37a073=>{const {af:{dictionary:_0x298829,getPluralForm:_0x413c40}}={'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)':''},'getPluralForm':_0x1a1502=>0x1!=_0x1a1502}};_0x37a073['af']||={'dictionary':{},'getPluralForm':null},_0x37a073['af']['dictionary']=Object['assign'](_0x37a073['af']['dictionary'],_0x298829),_0x37a073['af']['getPluralForm']=_0x413c40;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/ar.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'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إلى\x200%)','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أيضاً)'},'getPluralForm':
|
|
23
|
+
export default{'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إلى\x200%)','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أيضاً)'},'getPluralForm':_0x166742=>0x0==_0x166742?0x0:0x1==_0x166742?0x1:0x2==_0x166742?0x2:_0x166742%0x64>=0x3&&_0x166742%0x64<=0xa?0x3:_0x166742%0x64>=0xb?0x4:0x5}};
|