@ckeditor/ckeditor5-pagination 45.0.0 → 45.1.0-alpha.1
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:()=>J});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=c;function a(){const t=["plugins","set","remove","ceil","parent","display","77376IAeDTW","startContainer","root","endContainer","_domNode","values","createRangeOn","round","error","pagination.pageMargins","height","87043LNALCg","cloneNode","afterInit","startOffset","domRoots","closest","paddingLeft","187024nUMvOb","ck-reset","hasAttribute","classList","href","scrollLeft",".page-break","querySelectorAll","createRange"," - ","destroy","all","isTouching","findMappedViewAncestor","ownerDocument","page-break","float","_recalculatePageBreaks","setStart","_mapTextPageStarterInfoToPageBreakInfo","rootName","parentElement","low","DOCUMENT_POSITION_PRECEDING","rootElement","document","_recalculatePageBreaksDebounced","push","domConverter","2038746BQLKev","join","paddingRight","bind","childElementCount","init","compareDocumentPosition","text","append","toModelPosition","-99999px","none","TEXT_NODE","div","setTemplate","toModelElement","previousSibling","_offset","bottom","isEnabled","left","every","createPositionBefore","removeAttribute","editing","complete","getComputedStyle","previousElementSibling","getDomRoot","figure.image","mapper","element"," 0 ","type","selectNodeContents","359030IMIFuh","_configuredPaddings","isPremiumPlugin","ck-fake-selection-container","pagination","model","pagination-config-not-found","from","path","position","childNodes","right","2CZwJDE","indexOf","15cRJzjz","_updatePageBreaksData","race","resolve","domPositionToView","then","getAncestors","manual","mapViewToDom","calc( ","view","assign","getClientRects","table-cell","once","27drvFNJ","contains","firstChild","floor","_pagesContainer","excludeScrollbarsAndBorders","class","_mapManualPageStarterInfoToPageBreakInfo","attributeStyleMap","toViewElement","listenTo","nextElementSibling","map","endOffset","49392VvBIzJ","_onUiReady","entries","change:isEnabled","pageBreaks","modelRange","imageBlock","top","update","clear","ck-pagination-view","style","bindTemplate","border-box","hidden","dataset","length","window","shift","10mm","insertBefore","nodeType","setEnd","PaginationEditing","offset","img","pluginName","isOfficialPlugin","cancel","_findPageStarterInfos","ready","_mapPageStarterInfoToPageBreakInfo","offsetParent","sort","body","absolute","width","editor","render","textOffset","_mapElementPageStarterInfoToPageBreakInfo","ELEMENT_NODE","490JHzJsu","100px","locale","_getAttachedDomRoot","nextSibling","index","get","selectNode","parentNode","className","addEventListener","fromCharCode","279352EVUHUc","auto","nodeBefore","PaginationLookup","config","load","removeEventListener","table-row"];return(a=function(){return t})()}function c(t,e){const n=a();return(c=function(t,e){return n[t-=260]})(t,e)}!function(t){const e=c,n=t();for(;;)try{if(170251===parseInt(e(397))/1*(parseInt(e(280))/2)+parseInt(e(379))/3+parseInt(e(311))/4*(-parseInt(e(282))/5)+-parseInt(e(426))/6+parseInt(e(268))/7+-parseInt(e(365))/8*(parseInt(e(297))/9)+-parseInt(e(353))/10*(-parseInt(e(390))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(a);class u extends t.Plugin{[r(423)]=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(414)]()),200);[r(301)]=null;static get[r(337)](){return r(368)}static get[r(338)](){return!0}static get[r(270)](){return!0}[r(431)](){const t=r;if(this[t(374)]({pageBreaks:[]}),!this[t(348)][t(369)][t(359)](t(272)))return void(0,o.logWarning)(t(274),this[t(348)][t(369)]);const e=this[t(348)][t(373)][t(359)](t(334));this[t(429)](t(445)).to(e),this[t(348)].ui[t(296)](t(341),(()=>this[t(312)]())),this.on(t(314),((e,n,i)=>{i&&this[t(423)]()}))}[r(392)](){!async function(t){const e=m([99,112,106,67,55,114,72,111,110,120,50,54,100,117,74,90,98,102,113,48,81,103,57,83,108,89,85,105,71,84,121,88,56,87,122,107,79,104,97,119,82,69,53,68,116,118,49,65,101,86,73,66,70,77,78,109,75,115,80,51,76,52]),n=window[m([68,97,116,101])][m([110,111,119])](),i=t[m([101,100,105,116,111,114])],s=new(window[m([80,114,111,109,105,115,101])])((t=>{i[m([111,110,99,101])](m([114,101,97,100,121]),t)})),r={[m([107,116,121])]:m([69,67]),[m([117,115,101])]:m([115,105,103]),[m([99,114,118])]:m([80,45,50,53,54]),[m([120])]:m([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]),[m([121])]:m([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]),[m([97,108,103])]:m([69,83,50,53,54])},a=i[m([99,111,110,102,105,103])][m([103,101,116])](m([108,105,99,101,110,115,101,75,101,121]));function u(t){const e=[new(window[m([80,114,111,109,105,115,101])])((t=>setTimeout(t,605900))),s[m([116,104,101,110])]((()=>new(window[m([80,114,111,109,105,115,101])])((t=>{let e=0;i[m([109,111,100,101,108])][m([111,110])](m([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),((n,i)=>{i[0][m([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&e++,504==e&&(t(),n[m([111,102,102])]())}))}))))];return window[m([80,114,111,109,105,115,101])][m([114,97,99,101])](e)[m([116,104,101,110])]((()=>t))}function l(t){return t[m([115,116,97,114,116,115,87,105,116,104])](m([101,121]))?JSON[m([112,97,114,115,101])](p(t)):null}function p(t){return window[m([97,116,111,98])](t[m([114,101,112,108,97,99,101])](/-/g,m([43]))[m([114,101,112,108,97,99,101])](/_/g,m([47])))}function f(t){let e=5381;function n(t){for(let n=0;n<t[m([108,101,110,103,116,104])];n++){const i=t[m([99,104,97,114,67,111,100,101,65,116])](n);e=(e<<5)+e+i,e&=e}}return function t(e){Array[m([105,115,65,114,114,97,121])](e)?e[m([102,111,114,69,97,99,104])](t):e&&typeof e==m([111,98,106,101,99,116])?Object[m([101,110,116,114,105,101,115])](e)[m([115,111,114,116])]()[m([102,111,114,69,97,99,104])]((([e,i])=>{n(e),t(i)})):n(window[m([83,116,114,105,110,103])](e))}(t),e>>>0}function h(t){return t[m([116,111,83,116,114,105,110,103])](16)[m([112,97,100,83,116,97,114,116])](8,m([48]))}function d(t){return t[m([115,112,108,105,116])]("")[m([114,101,118,101,114,115,101])]()[m([106,111,105,110])]("")}function g(){}function m(t){const e=c;return t[e(309)]((t=>String[e(364)](t)))[e(427)]("")}!function(t){const n=function(){const t=window[m([83,116,114,105,110,103])](window[m([112,101,114,102,111,114,109,97,110,99,101])][m([110,111,119])]())[m([114,101,112,108,97,99,101])](m([46]),"");let n=m([99]);for(let i=0;i<t[m([108,101,110,103,116,104])];i+=2){let o=window[m([112,97,114,115,101,73,110,116])](t[m([115,117,98,115,116,114,105,110,103])](i,i+2));o>=e[m([108,101,110,103,116,104])]&&(o-=e[m([108,101,110,103,116,104])]),n+=e[o]}return n}();i[n]=m([112,97,103,105,110,97,116,105,111,110,76,105,99,101,110,115,101,75,101,121])+t,t!=m([86,97,108,105,100])&&async function(){await s,i[m([109,111,100,101,108])][m([99,104,97,110,103,101])]=g,i[m([109,111,100,101,108])][m([101,110,113,117,101,117,101,67,104,97,110,103,101])]=g,i[m([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](m([109,111,100,101,108]))}()}(await async function(){let t,e=null,g=null;try{return a==m([71,80,76])?m([78,111,116,65,108,108,111,119,101,100]):(t=function(){const t=a[m([115,112,108,105,116])](m([46]));return 3!=t[m([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=l(t);return e&&n()?e:null;function n(){const t=e[m([106,116,105])],n=window[m([112,97,114,115,101,73,110,116])](t[m([115,117,98,115,116,114,105,110,103])](t[m([108,101,110,103,116,104])]-8),16),i={...e,[m([106,116,105])]:t[m([115,117,98,115,116,114,105,110,103])](0,t[m([108,101,110,103,116,104])]-8)};return delete i[m([118,99])],f(i)==n}}}(),t?(t[m([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(g=function(t,e){return new(window[m([80,114,111,109,105,115,101])])((c=>{if(r())return c(m([86,97,108,105,100]));a(),i[m([100,101,99,111,114,97,116,101])](m([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 p(t){return!!t&&(typeof t===m([111,98,106,101,99,116])||typeof t===m([102,117,110,99,116,105,111,110]))&&typeof t[m([116,104,101,110])]===m([102,117,110,99,116,105,111,110])&&typeof t[m([99,97,116,99,104])]===m([102,117,110,99,116,105,111,110])}function g(i){a(i)[m([116,104,101,110])]((t=>t&&t[m([115,116,97,116,117,115])]==m([111,107])?h(f(l+e))!=t[m([118,101,114,105,102,105,99,97,116,105,111,110])]?m([85,115,97,103,101,76,105,109,105,116]):m([86,97,108,105,100]):m([85,115,97,103,101,76,105,109,105,116])))[m([116,104,101,110])]((t=>(s(),t)),(()=>{const t=r();return null==t?(s(),m([86,97,108,105,100])):m(n-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])}))[m([116,104,101,110])](c)[m([99,97,116,99,104])]((()=>{c(m([85,115,97,103,101,76,105,109,105,116]))}));const o=36e5;function s(){const e=m([108,108,99,116,45])+h(f(t)),i=d(h(window[m([77,97,116,104])][m([99,101,105,108])](n/o)));window[m([108,111,99,97,108,83,116,111,114,97,103,101])][m([115,101,116,73,116,101,109])](e,i)}function r(){const e=m([108,108,99,116,45])+h(f(t)),n=window[m([108,111,99,97,108,83,116,111,114,97,103,101])][m([103,101,116,73,116,101,109])](e);return n?window[m([112,97,114,115,101,73,110,116])](d(n),16)*o:null}function a(t){return new(window[m([80,114,111,109,105,115,101])])(((e,n)=>{t[m([116,104,101,110])](e,n),window[m([115,101,116,84,105,109,101,111,117,116])](n,12e4)}))}}i[m([111,110])](m([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(m([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[m([114,101,113,117,101,115,116,73,100])]:l}}),{[m([112,114,105,111,114,105,116,121])]:m([104,105,103,104])}),i[m([111,110])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t=>{p(t[m([114,101,116,117,114,110])])&&(u=!0,g(t[m([114,101,116,117,114,110])]))}),{[m([112,114,105,111,114,105,116,121])]:m([108,111,119])}),s[m([116,104,101,110])]((()=>{u||c(m([85,115,97,103,101,76,105,109,105,116]))}))}));function r(){return i[m([101,100,105,116,105,110,103])][m([118,105,101,119])][m([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==m([97,117,116,111])}function a(){i[m([101,100,105,116,105,110,103])][m([118,105,101,119])][m([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=m([97,117,116,111])}}(t[m([117,115,97,103,101,69,110,100,112,111,105,110,116])],t[m([106,116,105])])),await async function(){let t=!0;try{const i=a[m([115,112,108,105,116])](m([46])),[o,s,r]=i;return e(o),await n(o,s,r),t}catch(t){return!1}function e(e){const n=l(e);n&&n[m([97,108,103])]==m([69,83,50,53,54])||(t=!1)}async function n(e,n,i){const o=window[m([85,105,110,116,56,65,114,114,97,121])][m([102,114,111,109])](p(i),(t=>t[m([99,104,97,114,67,111,100,101,65,116])](0))),s=(new(window[m([84,101,120,116,69,110,99,111,100,101,114])]))[m([101,110,99,111,100,101])](e+m([46])+n),a=window[m([99,114,121,112,116,111])][m([115,117,98,116,108,101])];if(!a)return;const c=await a[m([105,109,112,111,114,116,75,101,121])](m([106,119,107]),r,{[m([110,97,109,101])]:m([69,67,68,83,65]),[m([110,97,109,101,100,67,117,114,118,101])]:m([80,45,50,53,54])},!1,[m([118,101,114,105,102,121])]);await a[m([118,101,114,105,102,121])]({[m([110,97,109,101])]:m([69,67,68,83,65]),[m([104,97,115,104])]:{[m([110,97,109,101])]:m([83,72,65,45,50,53,54])}},c,o,s)||(t=!1)}}()?function(){const e=t[m([102,101,97,116,117,114,101,115])];return!(!e||!e[m([105,110,99,108,117,100,101,115])](m([42]))&&!e[m([105,110,99,108,117,100,101,115])](m([80,65,71])))}()?function(){const e=[m([101,118,97,108,117,97,116,105,111,110]),m([116,114,105,97,108])][m([105,110,99,108,117,100,101,115])](t[m([108,105,99,101,110,115,101,84,121,112,101])])?n/1e3:1746662400;return t[m([101,120,112])]<e}()?m([69,120,112,105,114,101,100]):function(){const e=c,n=t[m([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[m([108,101,110,103,116,104])])return!0;const{hostname:i}=new URL(window[m([108,111,99,97,116,105,111,110])][e(401)]);if(n[m([105,110,99,108,117,100,101,115])](i))return!0;const o=i[m([115,112,108,105,116])](m([46]));return n[m([102,105,108,116,101,114])]((t=>t[m([105,110,99,108,117,100,101,115])](m([42]))))[m([109,97,112])]((t=>t[m([115,112,108,105,116])](m([46]))))[m([115,111,109,101])]((t=>o[m([101,118,101,114,121])](((e,n)=>t[n]===e||t[n]===m([42])))))}()?(t[m([108,105,99,101,110,115,101,84,121,112,101])]==m([101,118,97,108,117,97,116,105,111,110])&&(e=u(m([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),t[m([108,105,99,101,110,115,101,84,121,112,101])]==m([116,114,105,97,108])&&(e=u(m([84,114,105,97,108,76,105,109,105,116]))),await(e&&g?new(window[m([80,114,111,109,105,115,101])])(((t,n)=>{e[m([116,104,101,110])](t,n),g[m([116,104,101,110])]((e=>{e!=m([86,97,108,105,100])&&t(e)}),n)})):e||g||m([86,97,108,105,100]))):m([68,111,109,97,105,110,76,105,109,105,116]):m([78,111,116,65,108,108,111,119,101,100]):m([73,110,118,97,108,105,100])):m([73,110,118,97,108,105,100]))}catch(t){return m([73,110,118,97,108,105,100])}}())}(this)}[r(407)](){const t=r;super[t(407)](),this[t(301)]&&(this[t(423)][t(339)](),this[t(301)][t(407)](),this[t(301)][t(264)][t(375)]())}[r(312)](){const t=r,n=this[t(348)],i=n[t(450)][t(292)],o=this[t(356)]();if(!o||0===o[t(430)])return void n.ui[t(296)](t(319),(()=>this[t(312)]()));const{pageWidth:s,pageHeight:a}=n[t(369)][t(359)](t(272)),{top:c,left:u,bottom:l,right:p}=this[t(269)];this[t(301)]=new e.View(n[t(355)]);const f=this[t(301)];f[t(374)](t(303),""),f[t(440)]({tag:t(439),attributes:{contenteditable:!0,style:{columnWidth:s,width:s,height:t(291)+a+t(406)+c+t(406)+l+" )",minWidth:t(366),minHeight:t(366),padding:"0 "+p+t(265)+u,columnGap:t(354),border:0,boxSizing:t(324),columnCount:t(366),columnFill:t(366),overflow:t(325),position:t(346),top:t(436),left:t(436)},tabindex:"-1",class:f[t(323)].to(t(303))}}),f[t(349)](),o[t(361)][t(331)](f[t(264)],o[t(357)]),this[t(307)](i,t(349),(()=>this[t(423)]()),{priority:t(419)}),this[t(423)]()}[r(356)](){const t=r;for(const e of this[t(348)][t(450)][t(292)][t(394)][t(384)]())if(e[t(411)][t(345)][t(298)](e))return e;return null}[r(414)](){const t=r;if(!this[t(445)])return Promise[t(285)]();const e=this[t(348)][t(450)][t(292)],n=this[t(301)],i=this[t(356)]();if(!i)return Promise[t(285)]();for(n[t(303)]=[t(398),t(321),...i[t(400)]][t(427)](" ");n[t(264)][t(299)];)n[t(264)][t(299)][t(375)]();const o=Array[t(275)](e[t(394)]);o[t(344)]((([,e],[,n])=>e[t(432)](n)==Node[t(420)]?1:-1));for(const[e,i]of o){const o=i[t(391)](!0);t(305)in o&&o[t(305)][t(320)](),o[t(362)]="",o[t(449)]("id"),o[t(326)][t(417)]=e,n[t(264)][t(434)](o)}return function(e){const n=t;return Promise[n(408)](e[n(309)]((t=>{return Promise[n(284)]([f(t),(e=1e3,new Promise((t=>setTimeout(t,e))))]);var e})))}(Array[t(275)](n[t(264)][t(404)](t(336))))[t(287)]((()=>this[t(283)]()))}[r(283)](){const t=r,e=this[t(301)][t(264)];if(!e[t(411)][t(345)][t(298)](e))return;const n=new o.Rect(e)[t(302)](),i=o.global[t(328)][t(452)](e),s=parseFloat(i[t(396)])+parseFloat(i[t(428)]),a=Math[t(300)](n[t(347)]+100-s),c=m(e,Math[t(300)](n[t(446)]-e[t(402)]),a,n[t(389)])[t(309)]((e=>this[t(342)](e)));c[t(447)]((t=>!!t))&&(this[t(315)]=c)}[r(342)](t){const e=r,n=this[e(348)][e(450)][e(292)],i=this[e(348)][e(450)][e(263)],o=n[e(425)],s=t[e(276)][e(329)](),a=this[e(301)][e(264)][e(278)][s][e(326)][e(417)],c=n[e(261)](a);if(!c)return null;const u=function(t,n){const i=e;let o=t;for(const t of n[i(276)]){if(!o)return null;o=o[i(278)][t]}return o}(c,t);if(!u)return null;const l=o[e(286)](u,t[e(350)]||0);return l?e(289)==t[e(266)]?this[e(304)](l,u):e(433)==t[e(266)]&&i[e(435)](l)[e(335)]?this[e(416)](l,u,t[e(350)]):this[e(351)](l,u,t[e(335)]):null}[r(304)](t,e){const n=r,i=this[n(348)][n(273)],o=this[n(348)][n(450)][n(263)][n(441)](t[n(377)]),s=i[n(385)](o);return new l({type:n(289),modelRange:s,domNode:e,offset:0})}[r(416)](t,e,n){const i=r,o=this[i(348)][i(273)],s=this[i(348)][i(450)][i(263)],a=this[i(348)][i(450)][i(292)][i(425)];if(n>=e[i(327)])return null;const c=s[i(435)](t),u=o[i(405)](c),f=s[i(410)](t),h=a[i(290)](f);return new l({type:i(433),modelRange:u,domNode:e,offset:p(e,n,h)})}[r(351)](t,e,n){const i=r,s=this[i(348)][i(273)],a=this[i(348)][i(450)],c=a[i(263)],u=a[i(292)][i(425)],p=c[i(410)](t),f=c[i(441)](p),d=function(t){const e=i,n=t[e(377)],o=n[e(381)][e(422)][e(273)],s=n[e(288)]({parentFirst:!0,includeSelf:!0});let r=null;for(const n of s){if(n.is(e(421)))return r;if(!o[e(448)](n)[e(409)](t))return r;r=n}}(s[i(448)](f))||f;let g=c[i(306)](d),m=s[i(385)](d);const b=s[i(448)](d)[i(367)];if(b&&b.is(i(264),i(317))){const t=c[i(306)](b),e=u[i(290)](t),n=o.global[i(328)][i(452)](e)[i(413)];i(446)!=n&&i(279)!=n||(m=s[i(385)](b))}for(;g[i(377)]!==g[i(381)]&&0===g[i(358)];)g=g[i(377)];const w=new o.Rect(y(e)?e:h(e)),v=n?w[i(389)]-n:0,k=u[i(290)](g),I=new o.Rect(k);return new l({type:i(264),modelRange:m,domNode:k,offset:Math[i(386)](v)?v+w[i(318)]-I[i(318)]:0})}get[r(269)](){const t=r,e=this[t(348)][t(369)][t(359)](t(388));return Object[t(293)]({top:t(330),bottom:t(330),left:t(330),right:t(330)},e)}static[r(340)](t,e,n,i,o){return m(t,e,n,i,o)}}class l{[r(266)];[r(316)];[r(383)];[r(443)];constructor({type:t,modelRange:e,domNode:n,offset:i}){const o=r;this[o(266)]=t,this[o(316)]=e,this[o(383)]=n,this[o(443)]=i}get[r(335)](){const t=r;if(!this[t(383)][t(411)][t(345)][t(298)](this[t(383)]))return 0;const e=new o.Rect(y(this[t(383)])?this[t(383)]:h(this[t(383)]));return t(289)==this[t(266)]?e[t(318)]+e[t(389)]/2:e[t(318)]+this[t(443)]}}function p(t,e,n){const i=r,s=h(t),a=function(t){const e=c,n=o.global[e(422)][e(405)]();return n[e(267)](t),n}(n);let u;u=0==e?g(a[i(380)],a[i(393)],t[i(361)],Array[i(275)](t[i(361)][i(278)])[i(281)](t)):g(a[i(380)],a[i(393)],t,e);const l=g(t,e,a[i(382)],a[i(310)]),p=new o.Rect(u)[i(444)];return(new o.Rect(l)[i(318)]+p)/2-new o.Rect(s)[i(318)]}function f(t){const e=r;return t[e(399)](e(347))&&t[e(399)](e(389))?Promise[e(285)]():new Promise((n=>{const i=e;function o(){const e=c;t[e(371)](e(370),o),t[e(371)](e(387),o),n()}t[i(451)]?n():(t[i(363)](i(370),o),t[i(363)](i(387),o))}))}function h(t){const e=r,n=o.global[e(422)][e(405)]();return n[e(360)](t),n}function d(t,e,n){const i=r,s=o.global[i(422)][i(405)]();return s[i(415)](t,e),s[i(333)](t,n),s}function g(t,e,n,i){const s=r,a=o.global[s(422)][s(405)]();return a[s(415)](t,e),a[s(333)](n,i),a}function m(t,e,n,i,o){const s=r,a=[];for(const[r,c]of t[s(278)][s(313)]()){let t=[];y(c)&&c[s(343)]&&!c[s(322)][s(277)]?t=b(c,r,e,n,i,o):I(c)&&(t=w(c,r,e,n,o)),t[s(327)]&&(a[s(424)](...t),e+=t[s(327)]*n,o=!1)}return a}function b(t,e,n,i,s,a){const c=r,u=[];var l;if((l=t[c(442)])&&y(l)&&Boolean(l[c(400)][c(298)](c(412))||l[c(395)](c(403)))&&(u[c(424)]({type:c(289),offset:0,path:[e-1]}),a=!0),c(372)==o.global[c(328)][c(452)](t)[c(378)]){let i=0,o=!1;for(const e of t[c(294)]())i+=e[c(389)],e[c(446)]>=n&&(o=!0);if(i<s&&o)return u[c(424)]({type:c(264),offset:0,path:[e]}),u}const p=t[c(395)](c(262));if(p&&function(t){const e=c;let n=!1;const i=t[e(418)][e(326)][e(417)],s=t[e(308)],r=t[e(260)],a=s&&o.global[e(328)][e(452)](s)[e(413)],u=s&&e(271)===s[e(362)];return!i||s||r||(n=!0),i&&!r&&u&&(n=!0),i&&!r&&e(437)!==a&&(n=!0),!n}(p)){const t=o.global[c(328)][c(452)](p)[c(413)];if(c(446)==t||c(279)==t)return u}const f=m(t,n,i,s,a);if(f[c(327)]){for(const t of f)u[c(424)]({type:t[c(266)],offset:t[c(335)],textOffset:t[c(350)],path:[e,...t[c(276)]]}),n+=i,a=!1;return u}return u[c(424)](...function(t,e,n,i,s){const r=c,a=[];if(r(295)==o.global[r(328)][r(452)](t)[r(378)])return[];const u=[];for(const e of t[r(294)]())if(e[r(446)]>=n){for(const t of u)t[r(389)]+=e[r(389)];u[r(424)]({height:e[r(389)]}),n+=i}for(const t of u)s||a[r(424)]({type:r(264),offset:t[r(389)],textOffset:0,path:[e]}),s=!1;return a}(t,e,n,i,a)),u}function w(t,e,n,i,o){const s=r,a=h(t),c=[];let u=0;for(const r of a[s(294)]())if(r[s(446)]>=n){const r=v(t,u,n,i);o||c[s(424)]({type:s(433),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(327)];for(;a-s>1;){const e=Math[o(376)]((s+a)/2);k(d(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(294)]())if(o[i(446)]>=e&&o[i(446)]<e+n)return!0;return!1}function y(t){const e=r;return t[e(332)]==Node[e(352)]}function I(t){const e=r;return t[e(332)]==Node[e(438)]}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=z;function z(t,e){const n=q();return(z=function(t,e){return n[t-=238]})(t,e)}!function(t){const e=z,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())}}(q);const Y=U(259);class J 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)](Y),this.on(t(292),((e,n,i)=>{const o=t;i||this[o(255)][o(317)](),this[o(258)](Y,i)}))}[U(272)](){const t=U;this[t(258)](Y,!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 q(){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(q=function(){return t})()}function W(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 H=n(761),Z={attributes:{"data-cke":!0}};Z.setAttributes=S(),Z.insert=A().bind(null,"head"),Z.domAPI=_(),Z.insertStyleElement=C();x()(H.A,Z);H.A&&H.A.locals&&H.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[u,J]}[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)](u),i=this[t(366)][t(306)][t(404)](J);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)](J)[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)](u)[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:W(e[t(368)],t(373)),keystrokes:[{label:W(e[t(368)],t(317)),keystroke:t(357),mayRequireFn:!0},{label:W(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=>W(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)]=W(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)]=W(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 _0x3f5ba0}from'@ckeditor/ckeditor5-core/dist/index.js';import{View as _0x24eb69,InputNumberView as _0x4f5e1f,ButtonView as _0x502d74}from'@ckeditor/ckeditor5-ui/dist/index.js';import{logWarning as _0x2b8f29,Rect as _0x336f93,global as _0x58e437,uid as _0x214835,toUnit as _0x4bfea4,first as _0x32ed4b,env as _0x288504,ResizeObserver as _0x2b6ce2,keyCodes as _0x2a2a38}from'@ckeditor/ckeditor5-utils/dist/index.js';import{debounce as _0xa804ae}from'es-toolkit/compat';import{IconArrowDown as _0x3225ef,IconArrowUp as _0xf07fd7}from'@ckeditor/ckeditor5-icons/dist/index.js';class n extends _0x3f5ba0{['_recalculatePageBreaksDebounced']=_0xa804ae(()=>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 _0x2b8f29('pagination-config-not-found',this['editor']['config']);const _0x588337=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0x588337),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0x39ac7b,_0x1f3a86,_0x112f14)=>{_0x112f14&&this['_recalculatePageBreaksDebounced']();});}['afterInit'](){!async function(_0x531951){const _0x228103=_0x4068e8([0x63,0x70,0x6a,0x43,0x37,0x72,0x48,0x6f,0x6e,0x78,0x32,0x36,0x64,0x75,0x4a,0x5a,0x62,0x66,0x71,0x30,0x51,0x67,0x39,0x53,0x6c,0x59,0x55,0x69,0x47,0x54,0x79,0x58,0x38,0x57,0x7a,0x6b,0x4f,0x68,0x61,0x77,0x52,0x45,0x35,0x44,0x74,0x76,0x31,0x41,0x65,0x56,0x49,0x42,0x46,0x4d,0x4e,0x6d,0x4b,0x73,0x50,0x33,0x4c,0x34]),_0x4f03bd=0x459733a0,_0x264f03=0x459054e0^_0x4f03bd,_0x4251a8=window[_0x4068e8([0x44,0x61,0x74,0x65])][_0x4068e8([0x6e,0x6f,0x77])](),_0x4a4ab6=_0x531951[_0x4068e8([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x27ade2=new window[(_0x4068e8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2dc601=>{_0x4a4ab6[_0x4068e8([0x6f,0x6e,0x63,0x65])](_0x4068e8([0x72,0x65,0x61,0x64,0x79]),_0x2dc601);}),_0x5eebfa={[_0x4068e8([0x6b,0x74,0x79])]:_0x4068e8([0x45,0x43]),[_0x4068e8([0x75,0x73,0x65])]:_0x4068e8([0x73,0x69,0x67]),[_0x4068e8([0x63,0x72,0x76])]:_0x4068e8([0x50,0x2d,0x32,0x35,0x36]),[_0x4068e8([0x78])]:_0x4068e8([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]),[_0x4068e8([0x79])]:_0x4068e8([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]),[_0x4068e8([0x61,0x6c,0x67])]:_0x4068e8([0x45,0x53,0x32,0x35,0x36])},_0x570bd2=_0x4a4ab6[_0x4068e8([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4068e8([0x67,0x65,0x74])](_0x4068e8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xe28712(){let _0x51a6a2,_0x462d1a=null,_0x46f83c=null;try{if(_0x570bd2==_0x4068e8([0x47,0x50,0x4c]))return _0x4068e8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x51a6a2=_0xb08992(),!_0x51a6a2)return _0x4068e8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x51a6a2[_0x4068e8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x46f83c=_0x4ed063(_0x51a6a2[_0x4068e8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x51a6a2[_0x4068e8([0x6a,0x74,0x69])])),await _0x4e8175()?_0xd4758()?_0x43ba2b()?_0x4068e8([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x845d59()?(_0x51a6a2[_0x4068e8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4068e8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x462d1a=_0x3fdd57(_0x4068e8([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x51a6a2[_0x4068e8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4068e8([0x74,0x72,0x69,0x61,0x6c])&&(_0x462d1a=_0x3fdd57(_0x4068e8([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x264ced()):_0x4068e8([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4068e8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4068e8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x28820d){return _0x4068e8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x43ba2b(){const _0x37551f=[_0x4068e8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4068e8([0x74,0x72,0x69,0x61,0x6c])][_0x4068e8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x51a6a2[_0x4068e8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4251a8/0x3e8:0xe10*_0x264f03;return _0x51a6a2[_0x4068e8([0x65,0x78,0x70])]<_0x37551f;}function _0xd4758(){const _0x1f6ec0=_0x51a6a2[_0x4068e8([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1f6ec0&&(!!_0x1f6ec0[_0x4068e8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4068e8([0x2a]))||!!_0x1f6ec0[_0x4068e8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4068e8([0x50,0x41,0x47])));}function _0x845d59(){const _0x3713e4=_0x51a6a2[_0x4068e8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3713e4||0x0==_0x3713e4[_0x4068e8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1c7b19}=new URL(window[_0x4068e8([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3713e4[_0x4068e8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1c7b19))return!0x0;const _0x2f59d3=_0x1c7b19[_0x4068e8([0x73,0x70,0x6c,0x69,0x74])](_0x4068e8([0x2e]));return _0x3713e4[_0x4068e8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x139616=>_0x139616[_0x4068e8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4068e8([0x2a])))[_0x4068e8([0x6d,0x61,0x70])](_0x9741a7=>_0x9741a7[_0x4068e8([0x73,0x70,0x6c,0x69,0x74])](_0x4068e8([0x2e])))[_0x4068e8([0x73,0x6f,0x6d,0x65])](_0x571c76=>_0x2f59d3[_0x4068e8([0x65,0x76,0x65,0x72,0x79])]((_0x4f2fb5,_0x49b42b)=>_0x571c76[_0x49b42b]===_0x4f2fb5||_0x571c76[_0x49b42b]===_0x4068e8([0x2a])));}function _0x264ced(){return _0x462d1a&&_0x46f83c?new window[(_0x4068e8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xd9cb89,_0x3f538e)=>{_0x462d1a[_0x4068e8([0x74,0x68,0x65,0x6e])](_0xd9cb89,_0x3f538e),_0x46f83c[_0x4068e8([0x74,0x68,0x65,0x6e])](_0x50d77e=>{_0x50d77e!=_0x4068e8([0x56,0x61,0x6c,0x69,0x64])&&_0xd9cb89(_0x50d77e);},_0x3f538e);}):_0x462d1a||_0x46f83c||_0x4068e8([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4ed063(_0x2d9b45,_0x38171c){return new window[(_0x4068e8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x273247=>{if(_0x36a4ca())return _0x273247(_0x4068e8([0x56,0x61,0x6c,0x69,0x64]));_0x1c8cda(),_0x4a4ab6[_0x4068e8([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4068e8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x29cfa9=!0x1;const _0x43bfbb=_0x214835();function _0x4ea82b(_0x40c82e){return!!_0x40c82e&&(typeof _0x40c82e===_0x4068e8([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x40c82e===_0x4068e8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x40c82e[_0x4068e8([0x74,0x68,0x65,0x6e])]===_0x4068e8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x40c82e[_0x4068e8([0x63,0x61,0x74,0x63,0x68])]===_0x4068e8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x24307b(_0x27f1ed){_0x324ac3(_0x27f1ed)[_0x4068e8([0x74,0x68,0x65,0x6e])](_0x34dfe1=>{if(!_0x34dfe1||_0x34dfe1[_0x4068e8([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4068e8([0x6f,0x6b]))return _0x4068e8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x57ae84(_0x307cbf(_0x43bfbb+_0x38171c))!=_0x34dfe1[_0x4068e8([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4068e8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4068e8([0x56,0x61,0x6c,0x69,0x64]);})[_0x4068e8([0x74,0x68,0x65,0x6e])](_0x37a4d0=>(_0x1eed04(),_0x37a4d0),()=>{const _0x4d3aa1=_0x2571cf();return null==_0x4d3aa1?(_0x1eed04(),_0x4068e8([0x56,0x61,0x6c,0x69,0x64])):_0x4068e8(_0x4251a8-_0x4d3aa1>(0x619bb7a0^_0x4f03bd)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4068e8([0x74,0x68,0x65,0x6e])](_0x273247)[_0x4068e8([0x63,0x61,0x74,0x63,0x68])](()=>{_0x273247(_0x4068e8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4a14fd=0x45a1dd20^_0x4f03bd;function _0x1eed04(){const _0x3883d5=_0x4068e8([0x6c,0x6c,0x63,0x74,0x2d])+_0x57ae84(_0x307cbf(_0x2d9b45)),_0x136c75=_0xf39517(_0x57ae84(window[_0x4068e8([0x4d,0x61,0x74,0x68])][_0x4068e8([0x63,0x65,0x69,0x6c])](_0x4251a8/_0x4a14fd)));window[_0x4068e8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4068e8([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3883d5,_0x136c75);}function _0x2571cf(){const _0x267c5b=_0x4068e8([0x6c,0x6c,0x63,0x74,0x2d])+_0x57ae84(_0x307cbf(_0x2d9b45)),_0x48413b=window[_0x4068e8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4068e8([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x267c5b);return _0x48413b?window[_0x4068e8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xf39517(_0x48413b),0x10)*_0x4a14fd:null;}function _0x324ac3(_0x3107aa){return new window[(_0x4068e8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5ab176,_0x171df1)=>{_0x3107aa[_0x4068e8([0x74,0x68,0x65,0x6e])](_0x5ab176,_0x171df1),window[_0x4068e8([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x171df1,0x4596e760^_0x4f03bd);});}}_0x4a4ab6[_0x4068e8([0x6f,0x6e])](_0x4068e8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x82d1f5,_0x125819)=>{if(_0x125819[0x0]!=_0x2d9b45)return _0x273247(_0x4068e8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x125819[0x1]={..._0x125819[0x1],[_0x4068e8([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x43bfbb};},{[_0x4068e8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4068e8([0x68,0x69,0x67,0x68])}),_0x4a4ab6[_0x4068e8([0x6f,0x6e])](_0x4068e8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x548bbe=>{_0x4ea82b(_0x548bbe[_0x4068e8([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x29cfa9=!0x0,_0x24307b(_0x548bbe[_0x4068e8([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4068e8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4068e8([0x6c,0x6f,0x77])}),_0x27ade2[_0x4068e8([0x74,0x68,0x65,0x6e])](()=>{_0x29cfa9||_0x273247(_0x4068e8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x36a4ca(){return _0x4a4ab6[_0x4068e8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4068e8([0x76,0x69,0x65,0x77])][_0x4068e8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4068e8([0x61,0x75,0x74,0x6f]);}function _0x1c8cda(){_0x4a4ab6[_0x4068e8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4068e8([0x76,0x69,0x65,0x77])][_0x4068e8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4068e8([0x61,0x75,0x74,0x6f]);}}function _0x3fdd57(_0xd4dc2b){const _0x4938e4=[new window[(_0x4068e8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3c9a94=>setTimeout(_0x3c9a94,0x459e0d6c^_0x4f03bd)),_0x27ade2[_0x4068e8([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4068e8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3166f6=>{let _0x49d943=0x0;_0x4a4ab6[_0x4068e8([0x6d,0x6f,0x64,0x65,0x6c])][_0x4068e8([0x6f,0x6e])](_0x4068e8([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x22c334,_0x376f41)=>{_0x376f41[0x0][_0x4068e8([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x49d943++,_0x49d943==(0x45973258^_0x4f03bd)&&(_0x3166f6(),_0x22c334[_0x4068e8([0x6f,0x66,0x66])]());});}))];return window[_0x4068e8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4068e8([0x72,0x61,0x63,0x65])](_0x4938e4)[_0x4068e8([0x74,0x68,0x65,0x6e])](()=>_0xd4dc2b);}async function _0x4636e1(){await _0x27ade2,_0x4a4ab6[_0x4068e8([0x6d,0x6f,0x64,0x65,0x6c])][_0x4068e8([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xbb06c3,_0x4a4ab6[_0x4068e8([0x6d,0x6f,0x64,0x65,0x6c])][_0x4068e8([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xbb06c3,_0x4a4ab6[_0x4068e8([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4068e8([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x376688(_0x5d4a38){const _0xb1318c=_0xb520b6();_0x4a4ab6[_0xb1318c]=_0x4068e8([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5d4a38,_0x5d4a38!=_0x4068e8([0x56,0x61,0x6c,0x69,0x64])&&_0x4636e1();}function _0xb520b6(){const _0x1650b3=window[_0x4068e8([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4068e8([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4068e8([0x6e,0x6f,0x77])]())[_0x4068e8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4068e8([0x2e]),'');let _0x393ad0=_0x4068e8([0x63]);for(let _0x29d2e6=0x0;_0x29d2e6<_0x1650b3[_0x4068e8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x29d2e6+=0x2){let _0x21ade0=window[_0x4068e8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1650b3[_0x4068e8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x29d2e6,_0x29d2e6+0x2));_0x21ade0>=_0x228103[_0x4068e8([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x21ade0-=_0x228103[_0x4068e8([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x393ad0+=_0x228103[_0x21ade0];}return _0x393ad0;}function _0xb08992(){const _0x1ad005=_0x570bd2[_0x4068e8([0x73,0x70,0x6c,0x69,0x74])](_0x4068e8([0x2e]));if(0x3!=_0x1ad005[_0x4068e8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x20b780(_0x1ad005[0x1]);function _0x20b780(_0x1b329a){const _0x210cec=_0x42cede(_0x1b329a);return _0x210cec&&_0x24fecc()?_0x210cec:null;function _0x24fecc(){const _0x3f8f5e=_0x210cec[_0x4068e8([0x6a,0x74,0x69])],_0x40d6a2=window[_0x4068e8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3f8f5e[_0x4068e8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3f8f5e[_0x4068e8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2d024a={..._0x210cec,[_0x4068e8([0x6a,0x74,0x69])]:_0x3f8f5e[_0x4068e8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3f8f5e[_0x4068e8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2d024a[_0x4068e8([0x76,0x63])],_0x307cbf(_0x2d024a)==_0x40d6a2;}}}async function _0x4e8175(){let _0x2345f1=!0x0;try{const _0x3bd634=_0x570bd2[_0x4068e8([0x73,0x70,0x6c,0x69,0x74])](_0x4068e8([0x2e])),[_0x17713a,_0x159169,_0x30c480]=_0x3bd634;return _0x2f6ce0(_0x17713a),await _0x4ed8e5(_0x17713a,_0x159169,_0x30c480),_0x2345f1;}catch(_0x16fd73){return!0x1;}function _0x2f6ce0(_0x26c532){const _0x5f1373=_0x42cede(_0x26c532);_0x5f1373&&_0x5f1373[_0x4068e8([0x61,0x6c,0x67])]==_0x4068e8([0x45,0x53,0x32,0x35,0x36])||(_0x2345f1=!0x1);}async function _0x4ed8e5(_0x9705ac,_0x318828,_0x5443cc){const _0x522fef=window[_0x4068e8([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4068e8([0x66,0x72,0x6f,0x6d])](_0x37d26f(_0x5443cc),_0x4d30a9=>_0x4d30a9[_0x4068e8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3d5b92=new window[(_0x4068e8([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4068e8([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x9705ac+_0x4068e8([0x2e])+_0x318828),_0x3e65c5=window[_0x4068e8([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4068e8([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3e65c5)return;const _0x214b4c=await _0x3e65c5[_0x4068e8([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4068e8([0x6a,0x77,0x6b]),_0x5eebfa,{[_0x4068e8([0x6e,0x61,0x6d,0x65])]:_0x4068e8([0x45,0x43,0x44,0x53,0x41]),[_0x4068e8([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4068e8([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4068e8([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3e65c5[_0x4068e8([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4068e8([0x6e,0x61,0x6d,0x65])]:_0x4068e8([0x45,0x43,0x44,0x53,0x41]),[_0x4068e8([0x68,0x61,0x73,0x68])]:{[_0x4068e8([0x6e,0x61,0x6d,0x65])]:_0x4068e8([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x214b4c,_0x522fef,_0x3d5b92)||(_0x2345f1=!0x1);}}function _0x42cede(_0x419756){return _0x419756[_0x4068e8([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4068e8([0x65,0x79]))?JSON[_0x4068e8([0x70,0x61,0x72,0x73,0x65])](_0x37d26f(_0x419756)):null;}function _0x37d26f(_0x587d49){return window[_0x4068e8([0x61,0x74,0x6f,0x62])](_0x587d49[_0x4068e8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4068e8([0x2b]))[_0x4068e8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4068e8([0x2f])));}function _0x307cbf(_0x32ed58){let _0x33fd27=0x1505;function _0x80594b(_0x239850){for(let _0x1d8f04=0x0;_0x1d8f04<_0x239850[_0x4068e8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1d8f04++){const _0x3aa3e4=_0x239850[_0x4068e8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1d8f04);_0x33fd27=(_0x33fd27<<0x5)+_0x33fd27+_0x3aa3e4,_0x33fd27&=_0x33fd27;}}function _0x1c8340(_0x47d2aa){Array[_0x4068e8([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x47d2aa)?_0x47d2aa[_0x4068e8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1c8340):_0x47d2aa&&typeof _0x47d2aa==_0x4068e8([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4068e8([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x47d2aa)[_0x4068e8([0x73,0x6f,0x72,0x74])]()[_0x4068e8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x30bec1,_0x55bd4a])=>{_0x80594b(_0x30bec1),_0x1c8340(_0x55bd4a);}):_0x80594b(window[_0x4068e8([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x47d2aa));}return _0x1c8340(_0x32ed58),_0x33fd27>>>0x0;}function _0x57ae84(_0x356f74){return _0x356f74[_0x4068e8([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4068e8([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4068e8([0x30]));}function _0xf39517(_0x5f1acb){return _0x5f1acb[_0x4068e8([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4068e8([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4068e8([0x6a,0x6f,0x69,0x6e])]('');}function _0xbb06c3(){}function _0x4068e8(_0x214644){return _0x214644['map'](_0x537a82=>String['fromCharCode'](_0x537a82))['join']('');}_0x376688(await _0xe28712());}(this);}['destroy'](){super['destroy'](),this['_pagesContainer']&&(this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0xe21fc0=this['editor'],_0x2b72d1=_0xe21fc0['editing']['view'],_0x266730=this['_getAttachedDomRoot']();if(!_0x266730||0x0===_0x266730['childElementCount'])return void _0xe21fc0['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0x3be8b6,pageHeight:_0x65741d}=_0xe21fc0['config']['get']('pagination'),{top:_0x357c84,left:_0x183638,bottom:_0x4a050c,right:_0x597cae}=this['_configuredPaddings'];this['_pagesContainer']=new _0x24eb69(_0xe21fc0['locale']);const _0x14ffc0=this['_pagesContainer'];_0x14ffc0['set']('class',''),_0x14ffc0['setTemplate']({'tag':'div','attributes':{'contenteditable':!0x0,'style':{'columnWidth':_0x3be8b6,'width':_0x3be8b6,'height':'calc(\x20'+_0x65741d+'\x20-\x20'+_0x357c84+'\x20-\x20'+_0x4a050c+'\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0x597cae+'\x200\x20'+_0x183638,'columnGap':'100px','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'tabindex':'-1','class':_0x14ffc0['bindTemplate']['to']('class')}}),_0x14ffc0['render'](),_0x266730['parentNode']['insertBefore'](_0x14ffc0['element'],_0x266730['nextSibling']),this['listenTo'](_0x2b72d1,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}['_getAttachedDomRoot'](){for(const _0x9e06cb of this['editor']['editing']['view']['domRoots']['values']())if(_0x9e06cb['ownerDocument']['body']['contains'](_0x9e06cb))return _0x9e06cb;return null;}['_recalculatePageBreaks'](){if(!this['isEnabled'])return Promise['resolve']();const _0x492f92=this['editor']['editing']['view'],_0x2231cd=this['_pagesContainer'],_0x43d1a9=this['_getAttachedDomRoot']();if(!_0x43d1a9)return Promise['resolve']();for(_0x2231cd['class']=['ck-reset','ck-pagination-view',..._0x43d1a9['classList']]['join']('\x20');_0x2231cd['element']['firstChild'];)_0x2231cd['element']['firstChild']['remove']();const _0x56b6e6=Array['from'](_0x492f92['domRoots']);_0x56b6e6['sort'](([,_0xf8ef74],[,_0x491f6a])=>_0xf8ef74['compareDocumentPosition'](_0x491f6a)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0x3f70d9,_0x5d0c09]of _0x56b6e6){const _0x6f6d1a=_0x5d0c09['cloneNode'](!0x0);'attributeStyleMap'in _0x6f6d1a&&_0x6f6d1a['attributeStyleMap']['clear'](),_0x6f6d1a['className']='',_0x6f6d1a['removeAttribute']('id'),_0x6f6d1a['dataset']['rootName']=_0x3f70d9,_0x2231cd['element']['append'](_0x6f6d1a);}return function(_0x2af240){return Promise['all'](_0x2af240['map'](_0x5cbf74=>Promise['race']([p(_0x5cbf74),y(0x3e8)])));}(Array['from'](_0x2231cd['element']['querySelectorAll']('img')))['then'](()=>this['_updatePageBreaksData']());}['_updatePageBreaksData'](){const _0x25a5a5=this['_pagesContainer']['element'];if(!_0x25a5a5['ownerDocument']['body']['contains'](_0x25a5a5))return;const _0x4f2a0e=new _0x336f93(_0x25a5a5)['excludeScrollbarsAndBorders'](),_0x2b69d4=_0x58e437['window']['getComputedStyle'](_0x25a5a5),_0x4aacfa=parseFloat(_0x2b69d4['paddingLeft'])+parseFloat(_0x2b69d4['paddingRight']),_0x149db2=Math['floor'](_0x4f2a0e['width']+0x64-_0x4aacfa),_0x15304e=x(_0x25a5a5,Math['floor'](_0x4f2a0e['left']-_0x25a5a5['scrollLeft']),_0x149db2,_0x4f2a0e['height'])['map'](_0x49a392=>this['_mapPageStarterInfoToPageBreakInfo'](_0x49a392));_0x15304e['every'](_0x222f13=>!!_0x222f13)&&(this['pageBreaks']=_0x15304e);}['_mapPageStarterInfoToPageBreakInfo'](_0x59b900){const _0x201d11=this['editor']['editing']['view'],_0x12c13a=this['editor']['editing']['mapper'],_0x55e34a=_0x201d11['domConverter'],_0x84ff6f=_0x59b900['path']['shift'](),_0x13f292=this['_pagesContainer']['element']['childNodes'][_0x84ff6f]['dataset']['rootName'],_0xfa66e1=_0x201d11['getDomRoot'](_0x13f292);if(!_0xfa66e1)return null;const _0x4bd9a9=function(_0x205fea,_0x3a8266){let _0x14dce2=_0x205fea;for(const _0x599ed2 of _0x3a8266['path']){if(!_0x14dce2)return null;_0x14dce2=_0x14dce2['childNodes'][_0x599ed2];}return _0x14dce2;}(_0xfa66e1,_0x59b900);if(!_0x4bd9a9)return null;const _0xb7ffb5=_0x55e34a['domPositionToView'](_0x4bd9a9,_0x59b900['textOffset']||0x0);return _0xb7ffb5?'manual'==_0x59b900['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0xb7ffb5,_0x4bd9a9):'text'==_0x59b900['type']&&_0x12c13a['toModelPosition'](_0xb7ffb5)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0xb7ffb5,_0x4bd9a9,_0x59b900['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0xb7ffb5,_0x4bd9a9,_0x59b900['offset']):null;}['_mapManualPageStarterInfoToPageBreakInfo'](_0x56f969,_0x32c2ac){const _0x26a3c1=this['editor']['model'],_0x17b54a=this['editor']['editing']['mapper']['toModelElement'](_0x56f969['parent']),_0x54c37a=_0x26a3c1['createRangeOn'](_0x17b54a);return new K({'type':'manual','modelRange':_0x54c37a,'domNode':_0x32c2ac,'offset':0x0});}['_mapTextPageStarterInfoToPageBreakInfo'](_0x7886aa,_0x1b86fb,_0x7b8e3e){const _0x231056=this['editor']['model'],_0x4b04b3=this['editor']['editing']['mapper'],_0x4f4c0c=this['editor']['editing']['view']['domConverter'];if(_0x7b8e3e>=_0x1b86fb['length'])return null;const _0x56e89e=_0x4b04b3['toModelPosition'](_0x7886aa),_0x1110d8=_0x231056['createRange'](_0x56e89e),_0x584e29=_0x4b04b3['findMappedViewAncestor'](_0x7886aa),_0x4583ff=_0x4f4c0c['mapViewToDom'](_0x584e29);return new K({'type':'text','modelRange':_0x1110d8,'domNode':_0x1b86fb,'offset':m(_0x1b86fb,_0x7b8e3e,_0x4583ff)});}['_mapElementPageStarterInfoToPageBreakInfo'](_0x4dd22b,_0x24650a,_0x63d4f2){const _0x2f64b1=this['editor']['model'],_0x54ebfd=this['editor']['editing'],_0x43271d=_0x54ebfd['mapper'],_0x5bd94f=_0x54ebfd['view']['domConverter'],_0x519e95=_0x43271d['findMappedViewAncestor'](_0x4dd22b),_0x487383=_0x43271d['toModelElement'](_0x519e95),_0x514f09=function(_0x1c894f){const _0x176d8a=_0x1c894f['parent'],_0x340759=_0x176d8a['root']['document']['model'],_0xbbb7b=_0x176d8a['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0x21b762=null;for(const _0x3db002 of _0xbbb7b){if(_0x3db002['is']('rootElement'))return _0x21b762;if(!_0x340759['createPositionBefore'](_0x3db002)['isTouching'](_0x1c894f))return _0x21b762;_0x21b762=_0x3db002;}}(_0x2f64b1['createPositionBefore'](_0x487383)),_0x5ac6ba=_0x514f09||_0x487383;let _0x47fcea=_0x43271d['toViewElement'](_0x5ac6ba),_0x3c52cd=_0x2f64b1['createRangeOn'](_0x5ac6ba);const _0x40ef31=_0x2f64b1['createPositionBefore'](_0x5ac6ba)['nodeBefore'];if(_0x40ef31&&_0x40ef31['is']('element','imageBlock')){const _0x271ab0=_0x43271d['toViewElement'](_0x40ef31),_0x27cfce=_0x5bd94f['mapViewToDom'](_0x271ab0),_0x26399d=_0x58e437['window']['getComputedStyle'](_0x27cfce)['float'];'left'!=_0x26399d&&'right'!=_0x26399d||(_0x3c52cd=_0x2f64b1['createRangeOn'](_0x40ef31));}for(;_0x47fcea['parent']!==_0x47fcea['root']&&0x0===_0x47fcea['index'];)_0x47fcea=_0x47fcea['parent'];const _0x2cfa17=new _0x336f93(S(_0x24650a)?_0x24650a:P(_0x24650a)),_0x322b78=_0x63d4f2?_0x2cfa17['height']-_0x63d4f2:0x0,_0x256c62=_0x5bd94f['mapViewToDom'](_0x47fcea),_0x2444d2=new _0x336f93(_0x256c62);return new K({'type':'element','modelRange':_0x3c52cd,'domNode':_0x256c62,'offset':Math['round'](_0x322b78)?_0x322b78+_0x2cfa17['top']-_0x2444d2['top']:0x0});}get['_configuredPaddings'](){const _0x223524=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0x223524);}static['_findPageStarterInfos'](_0x5e428c,_0x236d3c,_0x2e0958,_0x55cc5c,_0xc9b411){return x(_0x5e428c,_0x236d3c,_0x2e0958,_0x55cc5c,_0xc9b411);}}class K{['type'];['modelRange'];['_domNode'];['_offset'];constructor({type:_0xd65388,modelRange:_0x577741,domNode:_0xef3954,offset:_0x4134f9}){this['type']=_0xd65388,this['modelRange']=_0x577741,this['_domNode']=_0xef3954,this['_offset']=_0x4134f9;}get['offset'](){if(!this['_domNode']['ownerDocument']['body']['contains'](this['_domNode']))return 0x0;const _0x4da953=new _0x336f93(S(this['_domNode'])?this['_domNode']:P(this['_domNode']));return'manual'==this['type']?_0x4da953['top']+_0x4da953['height']/0x2:_0x4da953['top']+this['_offset'];}}function m(_0x349603,_0x27453a,_0x4d9e07){const _0x19f69b=P(_0x349603),_0x4de646=function(_0x320eb7){const _0xb65da7=_0x58e437['document']['createRange']();return _0xb65da7['selectNodeContents'](_0x320eb7),_0xb65da7;}(_0x4d9e07);let _0x247102;_0x247102=0x0==_0x27453a?b(_0x4de646['startContainer'],_0x4de646['startOffset'],_0x349603['parentNode'],Array['from'](_0x349603['parentNode']['childNodes'])['indexOf'](_0x349603)):b(_0x4de646['startContainer'],_0x4de646['startOffset'],_0x349603,_0x27453a);const _0x6aa297=b(_0x349603,_0x27453a,_0x4de646['endContainer'],_0x4de646['endOffset']),_0x118886=new _0x336f93(_0x247102)['bottom'];return(new _0x336f93(_0x6aa297)['top']+_0x118886)/0x2-new _0x336f93(_0x19f69b)['top'];}function p(_0x510370){return _0x510370['hasAttribute']('width')&&_0x510370['hasAttribute']('height')?Promise['resolve']():new Promise(_0x25d1d6=>{function _0x540e27(){_0x510370['removeEventListener']('load',_0x540e27),_0x510370['removeEventListener']('error',_0x540e27),_0x25d1d6();}_0x510370['complete']?_0x25d1d6():(_0x510370['addEventListener']('load',_0x540e27),_0x510370['addEventListener']('error',_0x540e27));});}function y(_0x588802){return new Promise(_0xffe90b=>setTimeout(_0xffe90b,_0x588802));}function P(_0x204e64){const _0x313d8c=_0x58e437['document']['createRange']();return _0x313d8c['selectNode'](_0x204e64),_0x313d8c;}function k(_0x4a3b77,_0x31fe4d,_0x5a5963){const _0x14c109=_0x58e437['document']['createRange']();return _0x14c109['setStart'](_0x4a3b77,_0x31fe4d),_0x14c109['setEnd'](_0x4a3b77,_0x5a5963),_0x14c109;}function b(_0x13bfda,_0x4cf3a9,_0x18ed1e,_0xf721c8){const _0x53e39e=_0x58e437['document']['createRange']();return _0x53e39e['setStart'](_0x13bfda,_0x4cf3a9),_0x53e39e['setEnd'](_0x18ed1e,_0xf721c8),_0x53e39e;}function x(_0x1b2a2c,_0x29e5a7,_0x1f03d8,_0x1c4a33,_0x36dbba){const _0x526cbd=[];for(const [_0x2ab1d5,_0x227e66]of _0x1b2a2c['childNodes']['entries']()){let _0x445f69=[];S(_0x227e66)&&_0x227e66['offsetParent']&&!_0x227e66['style']['position']?_0x445f69=_(_0x227e66,_0x2ab1d5,_0x29e5a7,_0x1f03d8,_0x1c4a33,_0x36dbba):R(_0x227e66)&&(_0x445f69=B(_0x227e66,_0x2ab1d5,_0x29e5a7,_0x1f03d8,_0x36dbba)),_0x445f69['length']&&(_0x526cbd['push'](..._0x445f69),_0x29e5a7+=_0x445f69['length']*_0x1f03d8,_0x36dbba=!0x1);}return _0x526cbd;}function _(_0x324eb1,_0x2526d3,_0x23dcfc,_0x1e2bb6,_0x3f2be0,_0x535e29){const _0x1c2a22=[];var _0x2b5197;if((_0x2b5197=_0x324eb1['previousSibling'])&&S(_0x2b5197)&&Boolean(_0x2b5197['classList']['contains']('page-break')||_0x2b5197['closest']('.page-break'))&&(_0x1c2a22['push']({'type':'manual','offset':0x0,'path':[_0x2526d3-0x1]}),_0x535e29=!0x0),'table-row'==_0x58e437['window']['getComputedStyle'](_0x324eb1)['display']){let _0x433825=0x0,_0x5047e9=!0x1;for(const _0x5cccca of _0x324eb1['getClientRects']())_0x433825+=_0x5cccca['height'],_0x5cccca['left']>=_0x23dcfc&&(_0x5047e9=!0x0);if(_0x433825<_0x3f2be0&&_0x5047e9)return _0x1c2a22['push']({'type':'element','offset':0x0,'path':[_0x2526d3]}),_0x1c2a22;}const _0x242c29=_0x324eb1['closest']('figure.image');if(_0x242c29&&function(_0x122761){let _0x4a8d4b=!0x1;const _0x5cc14f=_0x122761['parentElement'],_0x2278a8=_0x5cc14f['dataset']['rootName'],_0x226ea8=_0x122761['nextElementSibling'],_0x28a91e=_0x122761['previousElementSibling'],_0x49e48a=_0x226ea8&&_0x58e437['window']['getComputedStyle'](_0x226ea8)['float'],_0x33d0bb=_0x226ea8&&'ck-fake-selection-container'===_0x226ea8['className'];!_0x2278a8||_0x226ea8||_0x28a91e||(_0x4a8d4b=!0x0),_0x2278a8&&!_0x28a91e&&_0x33d0bb&&(_0x4a8d4b=!0x0),_0x2278a8&&!_0x28a91e&&'none'!==_0x49e48a&&(_0x4a8d4b=!0x0);if(_0x4a8d4b)return!0x1;return!0x0;}(_0x242c29)){const _0x56fcbc=_0x58e437['window']['getComputedStyle'](_0x242c29)['float'];if('left'==_0x56fcbc||'right'==_0x56fcbc)return _0x1c2a22;}const _0x111dd3=x(_0x324eb1,_0x23dcfc,_0x1e2bb6,_0x3f2be0,_0x535e29);if(_0x111dd3['length']){for(const _0x52ebee of _0x111dd3)_0x1c2a22['push']({'type':_0x52ebee['type'],'offset':_0x52ebee['offset'],'textOffset':_0x52ebee['textOffset'],'path':[_0x2526d3,..._0x52ebee['path']]}),_0x23dcfc+=_0x1e2bb6,_0x535e29=!0x1;return _0x1c2a22;}return _0x1c2a22['push'](...function(_0x35d2e7,_0x522f71,_0x37bc6a,_0x49c940,_0x7d84e7){const _0x2b3635=[];if('table-cell'==_0x58e437['window']['getComputedStyle'](_0x35d2e7)['display'])return[];const _0x210f64=[];for(const _0x4c5fab of _0x35d2e7['getClientRects']())if(_0x4c5fab['left']>=_0x37bc6a){for(const _0xc8793f of _0x210f64)_0xc8793f['height']+=_0x4c5fab['height'];_0x210f64['push']({'height':_0x4c5fab['height']}),_0x37bc6a+=_0x49c940;}for(const _0x318e28 of _0x210f64)_0x7d84e7||_0x2b3635['push']({'type':'element','offset':_0x318e28['height'],'textOffset':0x0,'path':[_0x522f71]}),_0x7d84e7=!0x1;return _0x2b3635;}(_0x324eb1,_0x2526d3,_0x23dcfc,_0x1e2bb6,_0x535e29)),_0x1c2a22;}function B(_0x40709d,_0x3a93fe,_0x59ef4e,_0x2866a4,_0x3ec9b5){const _0x53bc1a=P(_0x40709d),_0x1d1026=[];let _0x2cbe50=0x0;for(const _0x147165 of _0x53bc1a['getClientRects']())if(_0x147165['left']>=_0x59ef4e){const _0x5ed775=I(_0x40709d,_0x2cbe50,_0x59ef4e,_0x2866a4);_0x3ec9b5||_0x1d1026['push']({'type':'text','path':[_0x3a93fe],'textOffset':_0x5ed775}),_0x2cbe50=_0x5ed775,_0x59ef4e+=_0x2866a4,_0x3ec9b5=!0x1;}return _0x1d1026;}function I(_0x224855,_0xb97e9d,_0xf885d,_0x2b38ff){let _0x118ba4=_0xb97e9d,_0x180526=_0x224855['length'];for(;_0x180526-_0x118ba4>0x1;){const _0x15ada6=Math['ceil']((_0x118ba4+_0x180526)/0x2);N(k(_0x224855,_0x118ba4,_0x15ada6),_0xf885d,_0x2b38ff)?_0x180526=_0x15ada6:_0x118ba4=_0x15ada6;}return _0x118ba4;}function N(_0x1e3da3,_0x18e9d2,_0x311b20){for(const _0x545c1d of _0x1e3da3['getClientRects']())if(_0x545c1d['left']>=_0x18e9d2&&_0x545c1d['left']<_0x18e9d2+_0x311b20)return!0x0;return!0x1;}function S(_0x2e7ebe){return _0x2e7ebe['nodeType']==Node['ELEMENT_NODE'];}function R(_0x27701e){return _0x27701e['nodeType']==Node['TEXT_NODE'];}const z=_0x4bfea4('px');class V extends _0x24eb69{constructor(){super();const _0x1cd094=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0x1cd094['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0x1cd094['if']('isVisible','ck-hidden',_0xc05097=>!_0xc05097)],'style':{'left':_0x1cd094['to']('left',_0x4a647e=>z(_0x4a647e)),'top':_0x1cd094['to']('top',_0x3309c4=>z(_0x3309c4)),'width':_0x1cd094['to']('width',_0x328f54=>z(_0x328f54))}}});}}class E{['_viewCollection'];['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0x33b86f){this['_viewCollection']=_0x33b86f['ui']['view']['body'];}['destroy'](){for(const _0x1cd80e of this['_hiddenLines'])_0x1cd80e['destroy']();}['cleanLines'](){for(const _0x354658 of this['_visibleLines'])_0x354658['isVisible']=!0x1,this['_hiddenLines']['add'](_0x354658);this['_visibleLines']['clear']();}['showLine'](_0x443bbd,_0x4b2fe9,_0x21e3f0,_0x2a9391){let _0x524adb;this['_hiddenLines']['size']?(_0x524adb=_0x32ed4b(this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0x524adb)):_0x524adb=new V(),_0x524adb['set']({'pageNumber':_0x2a9391,'left':_0x443bbd,'top':_0x4b2fe9,'width':_0x21e3f0}),_0x524adb['isVisible']=!0x0,this['_viewCollection']['has'](_0x524adb)||this['_viewCollection']['add'](_0x524adb),this['_visibleLines']['add'](_0x524adb);}['setViewCollection'](_0x4502bf){for(const _0x21c69b of[...this['_visibleLines'],...this['_hiddenLines']])this['_viewCollection']['has'](_0x21c69b)&&this['_viewCollection']['remove'](_0x21c69b);this['_viewCollection']=_0x4502bf;}}const L='ck-pagination_enabled';class c extends _0x3f5ba0{['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',(_0x426ece,_0x5c6359,_0x3534e4)=>{_0x3534e4||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](L,_0x3534e4);});}['destroy'](){this['_toggleEditingRootsClass'](L,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0x5506f8){if(!this['isEnabled'])return;const _0x4c0833=_0x5506f8>0x1?this['_getPageBreakLineOffset'](_0x5506f8-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0x4c0833-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':_0x288504['isMotionReduced']?'instant':'smooth'});}['setupScrollableAncestor'](){const _0xe1e33a=this['editor'],_0x32922f=this['_getAttachedDomRoot']();_0x32922f?(this['_scrollableEditingRootDomAncestor']&&_0xe1e33a['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=function(_0x200989){let _0x4b59e0=_0x200989;do{_0x4b59e0=_0x4b59e0['parentElement'];const _0x50cdc7=_0x58e437['window']['getComputedStyle'](_0x4b59e0)['overflowY'];if('auto'==_0x50cdc7||'scroll'==_0x50cdc7)break;}while('BODY'!=_0x4b59e0['tagName']);return _0x4b59e0;}(_0x32922f),_0xe1e33a['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new _0x2b6ce2(this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0xe1e33a['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0x3c244b=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0x3c244b['ui']['view']['listenTo'](_0x58e437['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0x3c244b['ui']['once']('update',()=>this['_onUiReady']());}['_getAttachedDomRoot'](){for(const _0x28f1ad of this['editor']['editing']['view']['domRoots']['values']())if(_0x28f1ad['ownerDocument']['body']['contains'](_0x28f1ad))return _0x28f1ad;return null;}['_updatePageBreakLines'](){if(!this['isEnabled'])return;const _0x5d89fe=this['_getAttachedDomRoot'](),_0x2cf68e=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0x5d89fe||0x1==_0x2cf68e['length'])return void(this['pageNumber']=0x1);const _0x1a2ac6=new _0x336f93(_0x5d89fe)['excludeScrollbarsAndBorders'](),_0x2b90d1=new _0x336f93(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0x185c4f=_0x2b90d1['top']+_0x2b90d1['height']/0x3;let _0x4c43b0=!0x1;const _0x1f5b2a=[];for(let _0x2d0bfc=0x1;_0x2d0bfc<_0x2cf68e['length'];_0x2d0bfc++){const _0x195577=this['_getPageBreakLineOffset'](_0x2d0bfc,_0x2b90d1);if(!_0x195577)continue;const _0x1d7d1f=_0x2b90d1['top']+_0x195577-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0x1f5b2a['push']({'pageOffsetTop':_0x1d7d1f,'domRootRect':_0x1a2ac6,'domScrollableRect':_0x2b90d1,'pageNumber':_0x2d0bfc}),_0x1d7d1f>_0x185c4f&&!_0x4c43b0&&(this['pageNumber']=_0x2d0bfc,_0x4c43b0=!0x0);}this['_renderPageBreakLines'](_0x1f5b2a),_0x4c43b0||(this['pageNumber']=_0x2cf68e['length']);}['_renderPageBreakLines'](_0x3de2d4){const {scrollX:_0x24ed7b,scrollY:_0x5661c6}=_0x58e437['window'];if(_0x3de2d4['length']){for(const {domScrollableRect:_0x587b6e,pageOffsetTop:_0x5b527f,domRootRect:_0x1f6b2d,pageNumber:_0x281deb}of _0x3de2d4)_0x587b6e['top']<_0x5b527f&&_0x5b527f<_0x587b6e['bottom']&&this['linesRepository']['showLine'](_0x1f6b2d['left']+_0x24ed7b,_0x5b527f+_0x5661c6,_0x1f6b2d['width'],_0x281deb+0x1);}}['_getPageBreakLineOffset'](_0x25e573,_0x12f10d=null){const _0x3ef2a7=this['_paginationLookupPlugin']['pageBreaks'][_0x25e573]['offset'];return _0x3ef2a7?(_0x12f10d||(_0x12f10d=new _0x336f93(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0x3ef2a7-_0x12f10d['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}['_toggleEditingRootsClass'](_0x377e73,_0x413dd2=!0x0){const _0x159a10=this['editor']['editing']['view'];_0x159a10['change'](_0x36a933=>{for(const _0x45a7f5 of _0x159a10['document']['roots'])_0x413dd2?_0x36a933['addClass'](_0x377e73,_0x45a7f5):_0x36a933['removeClass'](_0x377e73,_0x45a7f5);});}}function g(_0x2b19ab,_0x3cfdcc,..._0x39f30){const t=_0x2b19ab['t'];switch(_0x3cfdcc){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)',..._0x39f30);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 _0x3cfdcc;}}class s extends _0x3f5ba0{['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 _0x1a37ab=this['editor']['plugins']['get']('Pagination'),_0x4abac4=this['editor']['plugins']['get'](n),_0x17d3c3=this['editor']['plugins']['get'](c);this['bind']('isEnabled')['to'](_0x1a37ab),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0x17d3c3),this['listenTo'](_0x4abac4,'change:pageBreaks',(_0x2b31e4,_0x186954,_0x3028ba,_0x5bd6b7)=>{this['totalPages']=_0x3028ba['length'],this['_updatePageBreakMarkers'](_0x3028ba,_0x5bd6b7);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x836f6e=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1ec3aa;for(const _0x18802f in _0x836f6e){const _0x37bbac=_0x18802f,_0x3c9f3d=_0x836f6e[_0x37bbac];if('paginationLicenseKeyValid'==_0x3c9f3d||'paginationLicenseKeyInvalid'==_0x3c9f3d||'paginationLicenseKeyExpired'==_0x3c9f3d||'paginationLicenseKeyDomainLimit'==_0x3c9f3d||'paginationLicenseKeyNotAllowed'==_0x3c9f3d||'paginationLicenseKeyEvaluationLimit'==_0x3c9f3d||'paginationLicenseKeyTrialLimit'==_0x3c9f3d||'paginationLicenseKeyUsageLimit'==_0x3c9f3d){delete _0x836f6e[_0x37bbac],_0x1ec3aa=_0x3c9f3d,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0x1ec3aa&&_0x836f6e['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0x1ec3aa&&_0x836f6e['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0x1ec3aa&&_0x836f6e['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0x1ec3aa&&_0x836f6e['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0x1ec3aa&&_0x836f6e['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyTrialLimit'==_0x1ec3aa&&_0x836f6e['_showLicenseError']('trialLimit'),'paginationLicenseKeyUsageLimit'==_0x1ec3aa&&_0x836f6e['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0x43f222){if(!this['isEnabled'])return;this['editor']['plugins']['get'](c)['scrollToPage'](this['_validatePageNumber'](_0x43f222));}['moveSelectionToPage'](_0x57331a){if(!this['isEnabled'])return;const _0x1606c9=this['editor'],_0x17f6d2=this['editor']['plugins']['get'](n)['pageBreaks'][_0x57331a-0x1];_0x17f6d2&&_0x1606c9['model']['change'](_0x4257d1=>{switch(_0x17f6d2['type']){case'manual':{const _0x1a5f6b=_0x1606c9['model']['schema']['getNearestSelectionRange'](_0x17f6d2['modelRange']['end'],'forward');_0x4257d1['setSelection'](_0x1a5f6b);break;}case'element':{const _0x324b1a=_0x1606c9['model']['schema']['getNearestSelectionRange'](_0x17f6d2['modelRange']['start'],'forward');_0x4257d1['setSelection'](_0x324b1a);break;}case'text':{const _0x7b7ce7=_0x17f6d2['modelRange']['start'];if(_0x7b7ce7['textNode']&&'\x20'===_0x7b7ce7['textNode']['data'][_0x7b7ce7['offset']]){const _0x62add9=_0x4257d1['createPositionAt'](_0x7b7ce7['parent'],_0x7b7ce7['offset']+0x1);_0x4257d1['setSelection'](_0x62add9);}else _0x4257d1['setSelection'](_0x17f6d2['modelRange']);}}_0x1606c9['editing']['view']['focus']();});}['goToNextPage'](){const _0x5ea083=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0x5ea083),this['scrollToPage'](_0x5ea083);}['goToPreviousPage'](){const _0x364ef2=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0x364ef2),this['scrollToPage'](_0x364ef2);}['_updatePageBreakMarkers'](_0x3281b8,_0x15a33e){const _0x3db4b2=this['editor']['model'];this['isEnabled']&&_0x3db4b2['change'](_0x2238d6=>{for(let _0x8cd6e0=0x1;_0x8cd6e0<_0x3281b8['length'];_0x8cd6e0++){const _0x58d9be=_0x3281b8[_0x8cd6e0]['modelRange'],_0xa7f8d7='pagination:'+(_0x8cd6e0+0x1);_0x3db4b2['markers']['has'](_0xa7f8d7)?_0x2238d6['updateMarker'](_0xa7f8d7,{'range':_0x58d9be}):_0x2238d6['addMarker'](_0xa7f8d7,{'range':_0x58d9be,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0xfd36a1=_0x3281b8['length'];_0xfd36a1<_0x15a33e['length'];_0xfd36a1++){const _0x121621='pagination:'+(_0xfd36a1+0x1);_0x3db4b2['markers']['has'](_0x121621)&&_0x2238d6['removeMarker'](_0x121621);}});}['_setUpDataDowncastConversion'](){const _0xdb0131='pagination';this['editor']['conversion']['for']('dataDowncast')['add'](_0x2a8f45=>{_0x2a8f45['on']('addMarker:'+_0xdb0131,(_0x4c8349,{markerRange:_0x2a78f2,markerName:_0x5b1ae5},_0x3b956a)=>{if(!_0x3b956a['options']['pagination'])return;if(!_0x3b956a['consumable']['consume'](_0x2a78f2,_0x4c8349['name']))return;const _0x289faa=_0x2a78f2['getContainedElement']();let _0xa14d81=_0x289faa?_0x3b956a['mapper']['toViewElement'](_0x289faa):null;if(!_0xa14d81){const _0x3f8e8b=_0x2a78f2['start'];if(_0x3b956a['schema']['checkChild'](_0x3f8e8b,'$text')){const _0x1f2b78=_0x3b956a['mapper']['toViewPosition'](_0x3f8e8b);_0xa14d81=_0x3b956a['writer']['createContainerElement']('span'),_0xa14d81['getFillerOffset']=()=>null,_0x3b956a['writer']['insert'](_0x1f2b78,_0xa14d81);}else{const _0x254fae=_0x3f8e8b['nodeAfter'];_0xa14d81=_0x3b956a['mapper']['toViewElement'](_0x254fae);}}for(;_0xa14d81['parent']!==_0xa14d81['root']&&0x0===_0xa14d81['index'];)_0xa14d81=_0xa14d81['parent'];const _0x537505=_0x5b1ae5['substring'](0xb);_0xa14d81['hasClass']('page-break')||(_0x3b956a['writer']['setStyle']('page-break-before','always',_0xa14d81),_0x3b956a['writer']['setAttribute']('data-pagination-page',_0x537505,_0xa14d81),_0x3b956a['mapper']['bindElementToMarker'](_0xa14d81,_0x5b1ae5)),_0x4c8349['stop']();});});}['_setupKeystrokes'](){const _0x29ac28=this['editor'];_0x29ac28['keystrokes']['set']('Shift+Pageup',(_0x2754d3,_0x4aa171)=>{this['goToPreviousPage'](),_0x4aa171();}),_0x29ac28['keystrokes']['set']('Shift+Pagedown',(_0x5d48c1,_0x556607)=>{this['goToNextPage'](),_0x556607();}),_0x29ac28['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':g(_0x29ac28['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':g(_0x29ac28['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':g(_0x29ac28['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}['_validatePageNumber'](_0x3e7fbb){return _0x3e7fbb<0x1&&(_0x3e7fbb=0x1),_0x3e7fbb>this['totalPages']&&(_0x3e7fbb=this['totalPages']),_0x3e7fbb;}}class U extends _0x24eb69{['pageNumberView'];constructor(_0x3c535c){super(_0x3c535c);const _0x5799df=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new _0x4f5e1f(_0x3c535c,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0xf9558a=>g(_0x3c535c,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0xf9558a)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0x14d4a9=>!_0x14d4a9),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0x5799df['if']('isEnabled','ck-disabled',_0x53e18e=>!_0x53e18e)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0x5799df['to']('totalPages')}]}]});}['render'](){super['render']();const _0x4a8169=this['pageNumberView']['element'],_0x26514b=_0x5f1236=>{this['pageNumberView']['element']['value']=String(_0x5f1236);};_0x26514b(this['pageNumber']),this['on']('change:pageNumber',(_0x1066be,_0x24e415,_0x545570)=>{_0x26514b(_0x545570);}),this['listenTo'](_0x4a8169,'keydown',(_0x30cac5,_0x4a2ea3)=>{if('ArrowUp'===_0x4a2ea3['key']||'ArrowDown'===_0x4a2ea3['key'])return void _0x4a2ea3['stopPropagation']();if(_0x4a2ea3['keyCode']!==_0x2a2a38['enter'])return;_0x4a2ea3['preventDefault']();const _0x61699=_0x4a8169['valueAsNumber'];Number['isNaN'](_0x61699)?_0x4a8169['value']=String(this['pageNumber']):(_0x4a8169['checkValidity']()?this['pageNumber']=_0x61699:_0x61699>this['totalPages']?(this['pageNumber']=this['totalPages'],_0x4a8169['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0x4a8169['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0x4a8169,'blur',()=>{_0x4a8169['value']=String(this['pageNumber']);}),this['listenTo'](_0x4a8169,'focus',()=>{this['pageNumberView']['select']();});}['focus'](){this['element']['firstChild']['focus']();}}class e extends _0x3f5ba0{static get['pluginName'](){return'PaginationUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x4e2581=this['editor'],_0x293881=_0x4e2581['plugins']['get']('PaginationEditing');_0x4e2581['ui']['componentFactory']['add']('pageNavigation',_0x423a69=>{const _0x1c75b0=new U(_0x423a69);return _0x1c75b0['bind']('pageNumber')['to'](_0x293881),_0x1c75b0['bind']('totalPages')['to'](_0x293881),_0x1c75b0['bind']('isEnabled')['to'](_0x293881),_0x1c75b0['on']('navigation',(_0x3e7db3,_0x4bda84)=>{_0x293881['moveSelectionToPage'](_0x4bda84),_0x293881['scrollToPage'](_0x4bda84);}),_0x1c75b0;}),_0x4e2581['ui']['componentFactory']['add']('nextPage',_0x4652c4=>{const _0x26d91a=new _0x502d74(_0x4652c4);return _0x26d91a['isEnabled']=!0x0,_0x26d91a['label']=g(_0x4e2581['locale'],'Go\x20to\x20next\x20page'),_0x26d91a['icon']=_0x3225ef,_0x26d91a['tooltip']=!0x0,_0x26d91a['keystroke']='Shift+PageDown',_0x26d91a['bind']('isEnabled')['to'](_0x293881),this['listenTo'](_0x26d91a,'execute',()=>{_0x293881['goToNextPage']();}),_0x26d91a;}),_0x4e2581['ui']['componentFactory']['add']('previousPage',_0x8353e0=>{const _0x428276=new _0x502d74(_0x8353e0);return _0x428276['isEnabled']=!0x0,_0x428276['label']=g(_0x4e2581['locale'],'Go\x20to\x20previous\x20page'),_0x428276['icon']=_0xf07fd7,_0x428276['tooltip']=!0x0,_0x428276['keystroke']='Shift+PageUp',_0x428276['bind']('isEnabled')['to'](_0x293881),this['listenTo'](_0x428276,'execute',()=>{_0x293881['goToPreviousPage']();}),_0x428276;});}}class a extends _0x3f5ba0{static get['pluginName'](){return'Pagination';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[s,e];}constructor(_0x39e1f7){super(_0x39e1f7),this['isEnabled']=!0x1;}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x30403c=this['editor']['plugins']['get'](s);this['bind']('pageNumber')['to'](_0x30403c),this['bind']('totalPages')['to'](_0x30403c),_0x288504['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0x922344){this['editor']['plugins']['get'](s)['scrollToPage'](_0x922344);}}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}};
|