@ckeditor/ckeditor5-pagination 45.2.1-alpha.3 → 45.2.1-alpha.5
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),d={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==f)e[f].references++,e[f].updater(d);else{var h=o(d,i);i.byIndex=a,e.splice(a,0,{identifier:p,updater:h,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 p:first-child{padding-top:0}.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:not(.layout-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},d=function(...t){if(n?.aborted)return;o=this,s=t;const e=null==u;l(),r&&e&&c()};return d.schedule=l,d.cancel=f,d.flush=()=>{p(),c()},n?.addEventListener("abort",f,{once:!0}),d}const r=w;!function(t){const e=w,n=t();for(;;)try{if(723396===parseInt(e(239))/1+-parseInt(e(309))/2*(-parseInt(e(344))/3)+-parseInt(e(363))/4+-parseInt(e(290))/5*(-parseInt(e(257))/6)+parseInt(e(267))/7*(-parseInt(e(361))/8)+-parseInt(e(184))/9+parseInt(e(341))/10*(parseInt(e(325))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(v);class a extends t.Plugin{[r(346)]=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(304)]()),200);[r(291)]=null;static get[r(268)](){return r(357)}static get[r(343)](){return!0}static get[r(243)](){return!0}[r(342)](){const t=r;if(this[t(316)]({pageBreaks:[]}),!this[t(352)][t(199)][t(197)](t(226)))return void(0,o.logWarning)(t(299),this[t(352)][t(199)]);const e=this[t(352)][t(194)][t(197)](t(235));this[t(358)](t(289)).to(e),this[t(352)].ui[t(329)](t(254),(()=>this[t(321)]())),this.on(t(211),((e,n,i)=>{i&&this[t(346)]()}))}[r(277)](){!async function(t){const e=g([120,49,67,51,76,53,86,77,115,113,121,68,104,55,89,98,114,103,75,57,87,90,72,52,65,85,79,110,83,116,112,50,99,119,97,74,106,48,71,109,54,100,88,69,78,102,81,56,107,84,82,105,80,111,122,117,108,101,70,118,66,73]),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 d(t){return t[g([115,112,108,105,116])]("")[g([114,101,118,101,114,115,101])]()[g([106,111,105,110])]("")}function h(){}function g(t){const e=w;return t[e(281)]((t=>String[e(218)](t)))[e(262)]("")}!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([120]);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])]=h,i[g([109,111,100,101,108])][g([101,110,113,117,101,117,101,67,104,97,110,103,101])]=h,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,h=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])]&&(h=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 h(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=d(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])](d(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=>{h(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{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:1750032e3;return t[g([101,120,112])]<e}()?g([69,120,112,105,114,101,100]):function(){const e=w,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(336)]);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([102,105,108,116,101,114])]((t=>t[g([108,101,110,103,116,104])]<=o[g([108,101,110,103,116,104])]))[g([109,97,112])]((t=>Array(o[g([108,101,110,103,116,104])]-t[g([108,101,110,103,116,104])])[g([102,105,108,108])](t[0]===g([42])?g([42]):"")[g([99,111,110,99,97,116])](t)))[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&&h?new(window[g([80,114,111,109,105,115,101])])(((t,n)=>{e[g([116,104,101,110])](t,n),h[g([116,104,101,110])]((e=>{e!=g([86,97,108,105,100])&&t(e)}),n)})):e||h||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{return g([73,110,118,97,108,105,100])}}())}(this)}[r(252)](){const t=r;super[t(252)](),this[t(291)]&&(this[t(346)][t(324)](),this[t(291)][t(252)](),this[t(291)][t(283)][t(195)]())}[r(321)](){const t=r,n=this[t(352)],i=n[t(178)][t(310)],o=this[t(224)]();if(!o||0===o[t(186)])return void n.ui[t(329)](t(278),(()=>this[t(321)]()));const{pageWidth:s,pageHeight:a}=n[t(199)][t(197)](t(226)),{top:c,left:u,bottom:l,right:p}=this[t(317)];this[t(291)]=new e.View(n[t(293)]);const f=this[t(291)];f[t(316)](t(248),""),f[t(232)]({tag:t(285),attributes:{contenteditable:!0,style:{columnWidth:s,width:s,height:t(265)+a+t(255)+c+t(255)+l+" )",minWidth:t(322),minHeight:t(322),padding:"0 "+p+t(287)+u,columnGap:t(272),border:0,boxSizing:t(180),columnCount:t(322),columnFill:t(322),overflow:t(330),position:t(185),top:t(182),left:t(182)},tabindex:"-1",class:f[t(222)].to(t(248))}}),f[t(297)](),o[t(245)][t(192)](f[t(283)],o[t(258)]),this[t(269)](i,t(297),(()=>this[t(346)]()),{priority:t(335)}),this[t(346)]()}[r(224)](){const t=r;for(const e of this[t(352)][t(178)][t(310)][t(339)][t(331)]())if(e[t(176)][t(345)][t(193)](e))return e;return null}[r(304)](){const t=r;if(!this[t(289)])return Promise[t(294)]();const e=this[t(352)][t(178)][t(310)],n=this[t(291)],i=this[t(224)]();if(!i)return Promise[t(294)]();for(n[t(248)]=[t(196),t(179),...i[t(228)]][t(262)](" ");n[t(283)][t(207)];)n[t(283)][t(207)][t(195)]();const o=Array[t(306)](e[t(339)]);o[t(200)]((([,e],[,n])=>e[t(323)](n)==Node[t(314)]?1:-1));for(const[e,i]of o){const o=i[t(356)](!0);t(201)in o&&o[t(201)][t(216)](),o[t(212)]="",o[t(303)]("id"),o[t(205)][t(261)]=e,n[t(283)][t(183)](o)}return function(e){const n=t;return Promise[n(337)](e[n(281)]((t=>{return Promise[n(274)]([l(t),(e=1e3,new Promise((t=>setTimeout(t,e))))]);var e})))}(Array[t(306)](n[t(283)][t(242)](t(359))))[t(234)]((()=>this[t(367)]()))}[r(367)](){const t=r,e=this[t(291)][t(283)];if(!e[t(176)][t(345)][t(193)](e))return;const n=new o.Rect(e)[t(326)](),i=o.global[t(175)][t(353)](e),s=parseFloat(i[t(247)])+parseFloat(i[t(266)]),a=Math[t(351)](n[t(276)]+100-s),c=h(e,Math[t(351)](n[t(215)]-e[t(313)]),a,n[t(244)])[t(281)]((e=>this[t(249)](e)));c[t(250)]((t=>!!t))&&(this[t(251)]=c)}[r(249)](t){const e=r,n=this[e(352)][e(178)][e(310)],i=this[e(352)][e(178)][e(256)],o=n[e(217)],s=t[e(328)][e(362)](),a=this[e(291)][e(283)][e(187)][s][e(205)][e(261)],c=n[e(271)](a);if(!c)return null;const u=function(t,n){const i=e;let o=t;for(const t of n[i(328)]){if(!o)return null;o=o[i(187)][t]}return o}(c,t);if(!u)return null;const l=o[e(236)](u,t[e(219)]||0);return l?e(298)==t[e(311)]?this[e(349)](l,u):e(320)==t[e(311)]&&i[e(286)](l)[e(231)]?this[e(280)](l,u,t[e(219)]):this[e(282)](l,u,t[e(231)]):null}[r(349)](t,e){const n=r,i=this[n(352)][n(225)],o=this[n(352)][n(178)][n(256)][n(327)](t[n(312)]),s=i[n(295)](o);return new c({type:n(298),modelRange:s,domNode:e,offset:0})}[r(280)](t,e,n){const i=r,o=this[i(352)][i(225)],s=this[i(352)][i(178)][i(256)],a=this[i(352)][i(178)][i(310)][i(217)];if(n>=e[i(300)])return null;const l=s[i(286)](t),p=o[i(275)](l),f=s[i(365)](t),d=a[i(230)](f);return new c({type:i(320),modelRange:p,domNode:e,offset:u(e,n,d)})}[r(282)](t,e,n){const i=r,s=this[i(352)][i(225)],a=this[i(352)][i(178)],u=a[i(256)],l=a[i(310)][i(217)],f=u[i(365)](t),d=u[i(327)](f),h=function(t){const e=i,n=t[e(312)],o=n[e(229)][e(253)][e(225)],s=n[e(307)]({parentFirst:!0,includeSelf:!0});let r=null;for(const n of s){if(n.is(e(181)))return r;if(!o[e(241)](n)[e(301)](t))return r;r=n}}(s[i(241)](d))||d;let g=u[i(177)](h),m=s[i(295)](h);const b=s[i(241)](h)[i(259)];if(b&&b.is(i(283),i(238))){const t=u[i(177)](b),e=l[i(230)](t),n=o.global[i(175)][i(353)](e)[i(204)];i(215)!=n&&i(350)!=n||(m=s[i(295)](b))}for(;g[i(312)]!==g[i(229)]&&0===g[i(347)];)g=g[i(312)];const w=new o.Rect(y(e)?e:p(e)),v=n?w[i(244)]-n:0,k=l[i(230)](g),I=new o.Rect(k);return new c({type:i(283),modelRange:m,domNode:k,offset:Math[i(210)](v)?v+w[i(296)]-I[i(296)]:0})}get[r(317)](){const t=r,e=this[t(352)][t(199)][t(197)](t(237));return Object[t(246)]({top:t(279),bottom:t(279),left:t(279),right:t(279)},e)}static[r(333)](t,e,n,i,o){return h(t,e,n,i,o)}}class c{[r(311)];[r(348)];[r(334)];[r(202)];constructor({type:t,modelRange:e,domNode:n,offset:i}){const o=r;this[o(311)]=t,this[o(348)]=e,this[o(334)]=n,this[o(202)]=i}get[r(231)](){const t=r;if(!this[t(334)][t(176)][t(345)][t(193)](this[t(334)]))return 0;const e=new o.Rect(y(this[t(334)])?this[t(334)]:p(this[t(334)]));return t(298)==this[t(311)]?e[t(296)]+e[t(244)]/2:e[t(296)]+this[t(202)]}}function u(t,e,n){const i=r,s=p(t),a=function(t){const e=w,n=o.global[e(253)][e(275)]();return n[e(203)](t),n}(n);let c;c=0==e?d(a[i(273)],a[i(209)],t[i(245)],Array[i(306)](t[i(245)][i(187)])[i(223)](t)):d(a[i(273)],a[i(209)],t,e);const u=d(t,e,a[i(366)],a[i(270)]),l=new o.Rect(c)[i(233)];return(new o.Rect(u)[i(296)]+l)/2-new o.Rect(s)[i(296)]}function l(t){const e=r;return t[e(260)](e(276))&&t[e(260)](e(244))?Promise[e(294)]():new Promise((n=>{const i=e;function o(){const e=w;t[e(264)](e(332),o),t[e(264)](e(308),o),n()}t[i(206)]?n():(t[i(188)](i(332),o),t[i(188)](i(308),o))}))}function p(t){const e=r,n=o.global[e(253)][e(275)]();return n[e(221)](t),n}function f(t,e,n){const i=r,s=o.global[i(253)][i(275)]();return s[i(213)](t,e),s[i(360)](t,n),s}function d(t,e,n,i){const s=r,a=o.global[s(253)][s(275)]();return a[s(213)](t,e),a[s(360)](n,i),a}function h(t,e,n,i,o){const s=r,a=[];for(const[r,c]of t[s(187)][s(340)]()){let t=[];y(c)&&c[s(240)]&&!c[s(338)][s(227)]?t=g(c,r,e,n,i,o):I(c)&&(t=m(c,r,e,n,o)),t[s(300)]&&(a[s(198)](...t),e+=t[s(300)]*n,o=!1)}return a}function g(t,e,n,i,s,a){const c=r,u=[];var l;if((l=t[c(364)])&&y(l)&&Boolean(l[c(228)][c(193)](c(263))||l[c(220)](c(191)))&&(u[c(198)]({type:c(298),offset:0,path:[e-1]}),a=!0),c(190)==o.global[c(175)][c(353)](t)[c(302)]){let i=0,o=!1;for(const e of t[c(319)]())i+=e[c(244)],e[c(215)]>=n&&(o=!0);if(i<s&&o)return u[c(198)]({type:c(283),offset:0,path:[e]}),u}const p=t[c(220)](c(355));if(p&&function(t){const e=c;let n=!1;const i=t[e(189)][e(205)][e(261)],s=t[e(354)],r=t[e(318)],a=s&&o.global[e(175)][e(353)](s)[e(204)],u=s&&e(288)===s[e(212)];return!i||s||r||(n=!0),i&&!r&&u&&(n=!0),i&&!r&&e(284)!==a&&(n=!0),!n}(p)){const t=o.global[c(175)][c(353)](p)[c(204)];if(c(215)==t||c(350)==t)return u}const f=h(t,n,i,s,a);if(f[c(300)]){for(const t of f)u[c(198)]({type:t[c(311)],offset:t[c(231)],textOffset:t[c(219)],path:[e,...t[c(328)]]}),n+=i,a=!1;return u}return u[c(198)](...function(t,e,n,i,s){const r=c,a=[];if(r(292)==o.global[r(175)][r(353)](t)[r(302)])return[];const u=[];for(const e of t[r(319)]())if(e[r(215)]>=n){for(const t of u)t[r(244)]+=e[r(244)];u[r(198)]({height:e[r(244)]}),n+=i}for(const t of u)s||a[r(198)]({type:r(283),offset:t[r(244)],textOffset:0,path:[e]}),s=!1;return a}(t,e,n,i,a)),u}function m(t,e,n,i,o){const s=r,a=p(t),c=[];let u=0;for(const r of a[s(319)]())if(r[s(215)]>=n){const r=b(t,u,n,i);o||c[s(198)]({type:s(320),path:[e],textOffset:r}),u=r,n+=i,o=!1}return c}function b(t,e,n,i){const o=r;let s=e,a=t[o(300)];for(;a-s>1;){const e=Math[o(208)]((s+a)/2);k(f(t,s,e),n,i)?a=e:s=e}return s}function w(t,e){const n=v();return(w=function(t,e){return n[t-=175]})(t,e)}function v(){const t=["ownerDocument","toViewElement","editing","ck-pagination-view","border-box","rootElement","-99999px","append","11997378mMzRqu","absolute","childElementCount","childNodes","addEventListener","parentElement","table-row",".page-break","insertBefore","contains","plugins","remove","ck-reset","get","push","config","sort","attributeStyleMap","_offset","selectNodeContents","float","dataset","complete","firstChild","ceil","startOffset","round","change:isEnabled","className","setStart","TEXT_NODE","left","clear","domConverter","fromCharCode","textOffset","closest","selectNode","bindTemplate","indexOf","_getAttachedDomRoot","model","pagination","position","classList","root","mapViewToDom","offset","setTemplate","bottom","then","PaginationEditing","domPositionToView","pagination.pageMargins","imageBlock","507315cWVzEP","offsetParent","createPositionBefore","querySelectorAll","isPremiumPlugin","height","parentNode","assign","paddingLeft","class","_mapPageStarterInfoToPageBreakInfo","every","pageBreaks","destroy","document","ready"," - ","mapper","1474542JWhnVm","nextSibling","nodeBefore","hasAttribute","rootName","join","page-break","removeEventListener","calc( ","paddingRight","27153wjQoyl","pluginName","listenTo","endOffset","getDomRoot","100px","startContainer","race","createRange","width","afterInit","update","10mm","_mapTextPageStarterInfoToPageBreakInfo","map","_mapElementPageStarterInfoToPageBreakInfo","element","none","div","toModelPosition"," 0 ","ck-fake-selection-container","isEnabled","5OzJmpF","_pagesContainer","table-cell","locale","resolve","createRangeOn","top","render","manual","pagination-config-not-found","length","isTouching","display","removeAttribute","_recalculatePageBreaks","nodeType","from","getAncestors","error","24lKWRnC","view","type","parent","scrollLeft","DOCUMENT_POSITION_PRECEDING","ELEMENT_NODE","set","_configuredPaddings","previousElementSibling","getClientRects","text","_onUiReady","auto","compareDocumentPosition","cancel","56287lHjsjg","excludeScrollbarsAndBorders","toModelElement","path","once","hidden","values","load","_findPageStarterInfos","_domNode","low","href","all","style","domRoots","entries","1270UfTKzH","init","isOfficialPlugin","327867akPNrG","body","_recalculatePageBreaksDebounced","index","modelRange","_mapManualPageStarterInfoToPageBreakInfo","right","floor","editor","getComputedStyle","nextElementSibling","figure.image","cloneNode","PaginationLookup","bind","img","setEnd","712SDlGOT","shift","1250920cbqRPg","previousSibling","findMappedViewAncestor","endContainer","_updatePageBreaksData","window"];return(v=function(){return t})()}function k(t,e,n){const i=r;for(const o of t[i(319)]())if(o[i(215)]>=e&&o[i(215)]<e+n)return!0;return!1}function y(t){const e=r;return t[e(305)]==Node[e(315)]}function I(t){const e=r;return t[e(305)]==Node[e(214)]}var P=n(673),x=n.n(P),_=n(545),N=n.n(_),A=n(262),T=n.n(A),E=n(667),S=n.n(E),R=n(357),L=n.n(R),O=n(371),C={attributes:{"data-cke":!0}};C.setAttributes=S(),C.insert=T().bind(null,"head"),C.domAPI=N(),C.insertStyleElement=L();x()(O.A,C);O.A&&O.A.locals&&O.A.locals;function B(t,e){const n=D();return(B=function(t,e){return n[t-=201]})(t,e)}function D(){const t=["10rhJHMf","width","left","setTemplate","872928OaLPzd","2921628YdddVO","3433521RkAvAE","4026234dGNTmx","5810224Qbdcmh","set","isVisible","div","ck-pagination-view-line","429126utPPYI","ck-hidden","12bEXgnz","top","bindTemplate","25277661GeYaUd","pageNumber"];return(D=function(){return t})()}!function(t){const e=B,n=t();for(;;)try{if(751003===parseInt(e(206))/1+-parseInt(e(217))/2*(-parseInt(e(215))/3)+-parseInt(e(207))/4+parseInt(e(202))/5*(parseInt(e(209))/6)+parseInt(e(208))/7+parseInt(e(210))/8+-parseInt(e(220))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(D);const M=(0,o.toUnit)("px");class G extends e.View{constructor(){const t=B;super();const e=this[t(219)];this[t(211)]({isVisible:!1,left:null,top:null,width:null,pageNumber:null}),this[t(205)]({tag:t(213),attributes:{"data-page-number":e.to(t(201)),class:["ck",t(214),e.if(t(212),t(216),(t=>!t))],style:{left:e.to(t(204),(t=>M(t))),top:e.to(t(218),(t=>M(t))),width:e.to(t(203),(t=>M(t)))}}})}}function V(){const t=["_hiddenLines","326EsIPaU","size","body","remove","12268494WmOYKk","2326394dgLuBB","showLine","set","clear","10513912mKaFRb","7899900EAkpRV","destroy","isVisible","4914500ArWLjM","setViewCollection","4ajAiwS","4315VFZJoL","add","delete","_viewCollection","values","_visibleLines","1598403diGcUL","cleanLines","has","view"];return(V=function(){return t})()}function K(t,e){const n=V();return(K=function(t,e){return n[t-=299]})(t,e)}const j=K;!function(t){const e=K,n=t();for(;;)try{if(775167===parseInt(e(312))/1*(-parseInt(e(323))/2)+parseInt(e(318))/3*(-parseInt(e(311))/4)+parseInt(e(309))/5+-parseInt(e(306))/6+-parseInt(e(301))/7+parseInt(e(305))/8+parseInt(e(300))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(V);class U{[j(315)];[j(317)]=new Set;[j(322)]=new Set;constructor(t){const e=j;this[e(315)]=t.ui[e(321)][e(325)]}[j(307)](){const t=j;for(const e of this[t(322)])e[t(307)]()}[j(319)](){const t=j;for(const e of this[t(317)])e[t(308)]=!1,this[t(322)][t(313)](e);this[t(317)][t(304)]()}[j(302)](t,e,n,i){const s=j;let r;this[s(322)][s(324)]?(r=(0,o.first)(this[s(322)][s(316)]()),this[s(322)][s(314)](r)):r=new G,r[s(303)]({pageNumber:i,left:t,top:e,width:n}),r[s(308)]=!0,this[s(315)][s(320)](r)||this[s(315)][s(313)](r),this[s(317)][s(313)](r)}[j(310)](t){const e=j;for(const t of[...this[e(317)],...this[e(322)]])this[e(315)][e(320)](t)&&this[e(315)][e(299)](t);this[e(315)]=t}}const z=W;function F(){const t=["push","7382GsyZCr","instant","scrollTo","auto","ready","linesRepository","pluginName","contains","top","domRoots","isPremiumPlugin","offset","once","addClass","pageBreaks","change","resize","tagName","overflowY","removeClass","window","init","PaginationLookup","width","scroll","BODY","view","get","ck-pagination_enabled","destroy","plugins","7168990DoNLZD","_renderPageBreakLines","PaginationRenderer","editor","bottom","_onUiReady","height","3763143TUXBso","roots","scrollTop","document","set","21VEPMZP","left","120241THdVdp","_getAttachedDomRoot","2930jUoGtV","_updatePageBreakLines","439bAWNSt","_paginationLookupPlugin","showLine","values","3787554FfpNZb","PaginationEditing","scrollToPage","smooth","scrollLeft","body","getComputedStyle","setupScrollableAncestor","editing","excludeScrollbarsAndBorders","change:pageBreaks","_resizeObserver","length","isEnabled","1740560TdeQpN","update","ownerDocument","47382zpqBtf","_scrollableEditingRootDomAncestor","24qxIYck","change:isEnabled","stopListening","_getPageBreakLineOffset","_toggleEditingRootsClass","isOfficialPlugin","isMotionReduced","bind","listenTo","pageNumber","parentElement","cleanLines"];return(F=function(){return t})()}function W(t,e){const n=F();return(W=function(t,e){return n[t-=329]})(t,e)}!function(t){const e=W,n=t();for(;;)try{if(811970===-parseInt(e(413))/1*(-parseInt(e(364))/2)+parseInt(e(349))/3*(parseInt(e(351))/4)+parseInt(e(395))/5+parseInt(e(332))/6+parseInt(e(407))/7*(parseInt(e(346))/8)+-parseInt(e(402))/9+parseInt(e(411))/10*(-parseInt(e(409))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(F);const q=z(392);class J extends t.Plugin{[z(369)];[z(350)]=null;[z(343)]=null;[z(329)];static get[z(370)](){return z(397)}static get[z(356)](){return!0}static get[z(374)](){return!0}[z(385)](){const t=z;this[t(406)]({pageNumber:1}),this[t(369)]=new U(this[t(398)]),this[t(350)]=null,this[t(343)]=null,this[t(329)]=this[t(398)][t(394)][t(391)](t(386)),this[t(358)](t(345)).to(this[t(398)][t(394)][t(391)](t(333))),this[t(398)].ui[t(376)](t(368),(()=>this[t(400)]())),this[t(355)](q),this.on(t(352),((e,n,i)=>{const o=t;i||this[o(369)][o(362)](),this[o(355)](q,i)}))}[z(393)](){const t=z;this[t(355)](q,!1),this[t(369)][t(393)](),this[t(350)]=null,this[t(343)]&&this[t(343)][t(393)]()}[z(334)](t){const e=z;if(!this[e(345)])return;const n=t>1?this[e(354)](t-1):0;this[e(350)][e(366)]({top:n-10,left:this[e(350)][e(336)],behavior:o.env[e(357)]?e(365):e(335)})}[z(339)](){const t=z,e=this[t(398)],n=this[t(410)]();n?(this[t(350)]&&e.ui[t(390)][t(353)](this[t(350)],t(388)),this[t(350)]=function(e){const n=t;let i=e;do{i=i[n(361)];const t=o.global[n(384)][n(338)](i)[n(382)];if(n(367)==t||n(388)==t)break}while(n(389)!=i[n(381)]);return i}(n),e.ui[t(390)][t(359)](this[t(350)],t(388),(()=>{this[t(412)]()}),{usePassive:!0}),this[t(343)]&&this[t(343)][t(393)](),this[t(343)]=new o.ResizeObserver(this[t(350)],(()=>{this[t(412)]()}))):e.ui[t(376)](t(347),(()=>this[t(339)]()))}[z(400)](){const t=z,e=this[t(398)];this[t(410)]()?(this[t(339)](),e.ui[t(390)][t(359)](o.global[t(384)],t(380),(()=>this[t(412)]())),this[t(359)](this[t(329)],t(342),(()=>this[t(412)]()))):e.ui[t(376)](t(347),(()=>this[t(400)]()))}[z(410)](){const t=z;for(const e of this[t(398)][t(340)][t(390)][t(373)][t(331)]())if(e[t(348)][t(337)][t(371)](e))return e;return null}[z(412)](){const t=z;if(!this[t(345)])return;const e=this[t(410)](),n=this[t(329)][t(378)];if(this[t(369)][t(362)](),!e||1==n[t(344)])return void(this[t(360)]=1);const i=new o.Rect(e)[t(341)](),s=new o.Rect(this[t(350)])[t(341)](),r=s[t(372)]+s[t(401)]/3;let a=!1;const c=[];for(let e=1;e<n[t(344)];e++){const n=this[t(354)](e,s);if(!n)continue;const o=s[t(372)]+n-this[t(350)][t(404)];c[t(363)]({pageOffsetTop:o,domRootRect:i,domScrollableRect:s,pageNumber:e}),o>r&&!a&&(this[t(360)]=e,a=!0)}this[t(396)](c),a||(this[t(360)]=n[t(344)])}[z(396)](t){const e=z,{scrollX:n,scrollY:i}=o.global[e(384)];if(t[e(344)])for(const{domScrollableRect:o,pageOffsetTop:s,domRootRect:r,pageNumber:a}of t)o[e(372)]<s&&s<o[e(399)]&&this[e(369)][e(330)](r[e(408)]+n,s+i,r[e(387)],a+1)}[z(354)](t,e=null){const n=z,i=this[n(329)][n(378)][t][n(375)];return i?(e||(e=new o.Rect(this[n(350)])[n(341)]()),i-e[n(372)]+this[n(350)][n(404)]):0}[z(355)](t,e=!0){const n=z,i=this[n(398)][n(340)][n(390)];i[n(379)]((o=>{const s=n;for(const n of i[s(405)][s(403)])e?o[s(377)](t,n):o[s(383)](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),Z={attributes:{"data-cke":!0}};Z.setAttributes=S(),Z.insert=T().bind(null,"head"),Z.domAPI=N(),Z.insertStyleElement=L();x()(X.A,Z);X.A&&X.A.locals&&X.A.locals;const Y=Q;function Q(t,e){const n=$();return(Q=function(t,e){return n[t-=311]})(t,e)}function $(){const t=["start","pagination:","editing","licenseKey","12dVBEun","checkChild","pageNumber","for","modelRange","data","pagination","_showLicenseError","requires","isOfficialPlugin","conversion","addMarker","always","schema","7755565NFlmLk","root","expired","options","domainLimit","get","$text","mapper","featureNotAllowed","offset","locale","focus","getFillerOffset","bind","accessibility","_setupKeystrokes","trialLimit","954152BBgdfs","Keystrokes for navigating through documents","180172vjDyAy","paginationLicenseKeyValid","index","writer","change","removeMarker","pageBreaks","data-pagination-page","paginationLicenseKeyInvalid","markers","createContainerElement","pluginName","bindElementToMarker","model","19667632GyGgiW","PaginationEditing","paginationLicenseKeyUsageLimit","page-break-before","add","toViewPosition","consume","insert","_licenseKeyCheckInterval","getNearestSelectionRange","parent","_validatePageNumber","usageLimit","length","toViewElement","Shift+Pageup","manual","5360320MRdvLK","paginationLicenseKeyNotAllowed","updateMarker","nodeAfter","has","config","invalid","keystrokes","moveSelectionToPage","view","_updatePageBreakMarkers","editor","type","listenTo","scrollToPage","forward","isPremiumPlugin","setStyle","totalPages","paginationLicenseKeyTrialLimit","getContainedElement","createPositionAt","span","paginationLicenseKeyEvaluationLimit","addMarker:","isEnabled","_setUpDataDowncastConversion","paginationLicenseKeyExpired","1655699dAfJIy","setAttribute","element","Go to the next page (also move selection)","consumable","9353226DEOwOP","text","paginationLicenseKeyDomainLimit","textNode","change:pageBreaks","name","hasClass","set","evaluationLimit","destroy","setSelection","goToPreviousPage","goToNextPage","addKeystrokeInfoGroup","init","dataDowncast","Go to the previous page (also move selection)","Shift+Pagedown","page-break","end","substring","plugins","Pagination","stop"];return($=function(){return t})()}!function(t){const e=Q,n=t();for(;;)try{if(977391===-parseInt(e(387))/1+-parseInt(e(328))/2*(parseInt(e(420))/3)+-parseInt(e(326))/4+-parseInt(e(434))/5+parseInt(e(392))/6+parseInt(e(359))/7+parseInt(e(342))/8)break;n.push(n.shift())}catch(t){n.push(n.shift())}}($);class tt extends t.Plugin{[Y(419)];[Y(350)];static get[Y(339)](){return Y(343)}static get[Y(429)](){return!0}static get[Y(375)](){return!0}static get[Y(428)](){return[a,J]}[Y(406)](){const t=Y;this[t(399)]({pageNumber:1,totalPages:1});const e=this[t(370)][t(413)][t(314)](t(414)),n=this[t(370)][t(413)][t(314)](a),i=this[t(370)][t(413)][t(314)](J);this[t(322)](t(384)).to(e),this[t(385)](),this[t(322)](t(422)).to(i),this[t(372)](n,t(396),((e,n,i,o)=>{const s=t;this[s(377)]=i[s(355)],this[s(369)](i,o)})),this[t(324)](),this[t(419)]=this[t(370)][t(364)][t(314)](t(419));const o=this[t(370)];this[t(350)]=setInterval((()=>{const e=t;let n;for(const t in o){const i=t,s=o[i];if(e(329)==s||e(336)==s||e(386)==s||e(394)==s||e(360)==s||e(382)==s||e(378)==s||e(344)==s){delete o[i],n=s,clearInterval(this[e(350)]),this[e(350)]=void 0;break}}e(336)==n&&o[e(427)](e(365)),e(386)==n&&o[e(427)](e(311)),e(394)==n&&o[e(427)](e(313)),e(360)==n&&o[e(427)](e(317),e(414)),e(382)==n&&o[e(427)](e(400)),e(378)==n&&o[e(427)](e(325)),e(344)==n&&o[e(427)](e(354))}),1e3)}[Y(401)](){const t=Y;super[t(401)](),this[t(350)]&&clearInterval(this[t(350)])}[Y(373)](t){const e=Y;this[e(384)]&&this[e(370)][e(413)][e(314)](J)[e(373)](this[e(353)](t))}[Y(367)](t){const e=Y;if(!this[e(384)])return;const n=this[e(370)],i=this[e(370)][e(413)][e(314)](a)[e(334)][t-1];i&&n[e(341)][e(332)]((t=>{const o=e;switch(i[o(371)]){case o(358):{const e=n[o(341)][o(433)][o(351)](i[o(424)][o(411)],o(374));t[o(402)](e);break}case o(389):{const e=n[o(341)][o(433)][o(351)](i[o(424)][o(416)],o(374));t[o(402)](e);break}case o(393):{const e=i[o(424)][o(416)];if(e[o(395)]&&" "===e[o(395)][o(425)][e[o(318)]]){const n=t[o(380)](e[o(352)],e[o(318)]+1);t[o(402)](n)}else t[o(402)](i[o(424)])}}n[o(418)][o(368)][o(320)]()}))}[Y(404)](){const t=Y,e=this[t(353)](this[t(422)]+1);this[t(367)](e),this[t(373)](e)}[Y(403)](){const t=Y,e=this[t(353)](this[t(422)]-1);this[t(367)](e),this[t(373)](e)}[Y(369)](t,e){const n=Y,i=this[n(370)][n(341)];this[n(384)]&&i[n(332)]((o=>{const s=n;for(let e=1;e<t[s(355)];e++){const n=t[e][s(424)],r=s(417)+(e+1);i[s(337)][s(363)](r)?o[s(361)](r,{range:n}):o[s(431)](r,{range:n,usingOperation:!1,affectsData:!0})}for(let n=t[s(355)];n<e[s(355)];n++){const t=s(417)+(n+1);i[s(337)][s(363)](t)&&o[s(333)](t)}}))}[Y(385)](){const t=Y,e=t(426);this[t(370)][t(430)][t(423)](t(407))[t(346)]((n=>{const i=t;n.on(i(383)+e,((t,{markerRange:e,markerName:n},o)=>{const s=i;if(!o[s(312)][s(426)])return;if(!o[s(391)][s(348)](e,t[s(397)]))return;const r=e[s(379)]();let a=r?o[s(316)][s(356)](r):null;if(!a){const t=e[s(416)];if(o[s(433)][s(421)](t,s(315))){const e=o[s(316)][s(347)](t);a=o[s(331)][s(338)](s(381)),a[s(321)]=()=>null,o[s(331)][s(349)](e,a)}else{const e=t[s(362)];a=o[s(316)][s(356)](e)}}for(;a[s(352)]!==a[s(435)]&&0===a[s(330)];)a=a[s(352)];const c=n[s(412)](11);a[s(398)](s(410))||(o[s(331)][s(376)](s(345),s(432),a),o[s(331)][s(388)](s(335),c,a),o[s(316)][s(340)](a,n)),t[s(415)]()}))}))}[Y(324)](){const t=Y,e=this[t(370)];e[t(366)][t(399)](t(357),((e,n)=>{this[t(403)](),n()})),e[t(366)][t(399)](t(409),((e,n)=>{this[t(404)](),n()})),e[t(323)][t(405)]({id:t(426),label:H(e[t(319)],t(327)),keystrokes:[{label:H(e[t(319)],t(408)),keystroke:t(357),mayRequireFn:!0},{label:H(e[t(319)],t(390)),keystroke:t(409),mayRequireFn:!0}]})}[Y(353)](t){const e=Y;return t<1&&(t=1),t>this[e(377)]&&(t=this[e(377)]),t}}var et=n(355),nt=n(953),it={attributes:{"data-cke":!0}};it.setAttributes=S(),it.insert=T().bind(null,"head"),it.domAPI=N(),it.insertStyleElement=L();x()(nt.A,it);nt.A&&nt.A.locals&&nt.A.locals;const ot=rt;function st(){const t=["Current page number (from 1 to %0)","key","listenTo","1124319UjdAvT","stopPropagation","firstChild","isNaN","keyCode","isEnabled","enter","9302xFaRfF","pageNumberView","checkValidity","isReadOnly","ArrowUp","pageNumber","ck-disabled","focus","6rVdisK","div","60904HdEVgn","2809610SBbyxx","set","select","ariaLabel","fire","2811978OShpVZ","render","max","numeric","totalPages","preventDefault","ArrowDown","change:pageNumber","38GxSmEM","blur","value","bind","valueAsNumber","bindTemplate","1155936SvdhwD","371781eYCRZI","span","element","ck-page-navigator","20PkMYrv","keydown","navigation","setTemplate"];return(st=function(){return t})()}function rt(t,e){const n=st();return(rt=function(t,e){return n[t-=380]})(t,e)}!function(t){const e=rt,n=t();for(;;)try{if(161321===parseInt(e(416))/1*(parseInt(e(391))/2)+-parseInt(e(398))/3+parseInt(e(426))/4*(parseInt(e(402))/5)+parseInt(e(424))/6*(parseInt(e(409))/7)+-parseInt(e(397))/8+parseInt(e(383))/9+-parseInt(e(427))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(st);class at extends e.View{[ot(417)];constructor(t){const n=ot;super(t);const i=this[n(396)];this[n(428)]({pageNumber:1,totalPages:1,isEnabled:!0}),this[n(417)]=new e.InputNumberView(t,{min:1,step:1}),this[n(417)][n(428)]({inputMode:n(386),tabIndex:-1}),this[n(417)][n(394)](n(381)).to(this,n(387),(e=>H(t,n(406),e))),this[n(417)][n(394)](n(385)).to(this,n(387)),this[n(417)][n(394)](n(419)).to(this,n(414),(t=>!t)),this[n(405)]({tag:n(425),attributes:{class:["ck",n(401),i.if(n(414),n(422),(t=>!t))]},children:[this[n(417)],{tag:n(399),children:[{text:i.to(n(387))}]}]})}[ot(384)](){const t=ot;super[t(384)]();const e=this[t(417)][t(400)],n=e=>{const n=t;this[n(417)][n(400)][n(393)]=String(e)};n(this[t(421)]),this.on(t(390),((t,e,i)=>{n(i)})),this[t(408)](e,t(403),((n,i)=>{const s=t;if(s(420)===i[s(407)]||s(389)===i[s(407)])return void i[s(410)]();if(i[s(413)]!==o.keyCodes[s(415)])return;i[s(388)]();const r=e[s(395)];Number[s(412)](r)?e[s(393)]=String(this[s(421)]):(e[s(418)]()?this[s(421)]=r:r>this[s(387)]?(this[s(421)]=this[s(387)],e[s(393)]=String(this[s(387)])):(this[s(421)]=1,e[s(393)]="1"),this[s(382)](s(404),this[s(421)]))})),this[t(408)](e,t(392),(()=>{const n=t;e[n(393)]=String(this[n(421)])})),this[t(408)](e,t(423),(()=>{const e=t;this[e(417)][e(380)]()}))}[ot(423)](){const t=ot;this[t(400)][t(411)][t(423)]()}}function ct(){const t=["580717SheDtu","437234IVqqUI","isOfficialPlugin","5517vaPWVN","listenTo","componentFactory","label","execute","scrollToPage","214hZrRtf","Shift+PageUp","10ZmGzDw","7006417perKyJ","6461244UjuVqj","goToNextPage","keystroke","Shift+PageDown","isPremiumPlugin","9FbNXAX","init","moveSelectionToPage","pageNavigation","editor","PaginationUI","588IceTnW","plugins","previousPage","nextPage","bind","pluginName","isEnabled","4915LuCdPy","Go to previous page","goToPreviousPage","36pbfhXp","icon","navigation","locale","pageNumber","totalPages","add","get","416360SHkzAu","Go to next page","tooltip","PaginationEditing"];return(ct=function(){return t})()}const ut=lt;function lt(t,e){const n=ct();return(lt=function(t,e){return n[t-=465]})(t,e)}!function(t){const e=lt,n=t();for(;;)try{if(324212===-parseInt(e(467))/1+parseInt(e(476))/2*(parseInt(e(470))/3)+parseInt(e(491))/4*(-parseInt(e(498))/5)+-parseInt(e(501))/6*(parseInt(e(468))/7)+-parseInt(e(509))/8*(-parseInt(e(485))/9)+parseInt(e(478))/10*(parseInt(e(479))/11)+parseInt(e(480))/12)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ct);class pt extends t.Plugin{static get[ut(496)](){return ut(490)}static get[ut(469)](){return!0}static get[ut(484)](){return!0}[ut(486)](){const t=ut,n=this[t(489)],i=n[t(492)][t(508)](t(466));n.ui[t(472)][t(507)](t(488),(e=>{const n=t,o=new at(e);return o[n(495)](n(505)).to(i),o[n(495)](n(506)).to(i),o[n(495)](n(497)).to(i),o.on(n(503),((t,e)=>{const o=n;i[o(487)](e),i[o(475)](e)})),o})),n.ui[t(472)][t(507)](t(494),(o=>{const s=t,r=new e.ButtonView(o);return r[s(497)]=!0,r[s(473)]=H(n[s(504)],s(510)),r[s(502)]=et.IconArrowDown,r[s(465)]=!0,r[s(482)]=s(483),r[s(495)](s(497)).to(i),this[s(471)](r,s(474),(()=>{i[s(481)]()})),r})),n.ui[t(472)][t(507)](t(493),(o=>{const s=t,r=new e.ButtonView(o);return r[s(497)]=!0,r[s(473)]=H(n[s(504)],s(499)),r[s(502)]=et.IconArrowUp,r[s(465)]=!0,r[s(482)]=s(477),r[s(495)](s(497)).to(i),this[s(471)](r,s(474),(()=>{i[s(500)]()})),r}))}}function ft(t,e){const n=ht();return(ft=function(t,e){return n[t-=198]})(t,e)}const dt=ft;function ht(){const t=["bind","3336100bUnwgf","101267WSrhok","18MEGAjS","browserCheck","editor","6vptxXw","2954676RChHXO","isPremiumPlugin","requires","scrollToPage","351882BAQNWJ","isBlink","get","ready","plugins","pagination.enableOnUnsupportedBrowsers","pageNumber","24VmKwkA","94588ZxBwty","2506728NKezJZ","set","isOfficialPlugin","11JyBdJH","forceDisabled","isEnabled","Pagination","config","totalPages","pluginName","9784370KdVGbR","init"];return(ht=function(){return t})()}!function(t){const e=ft,n=t();for(;;)try{if(502185===parseInt(e(217))/1*(parseInt(e(218))/2)+-parseInt(e(222))/3+parseInt(e(202))/4+-parseInt(e(216))/5*(parseInt(e(221))/6)+parseInt(e(203))/7+parseInt(e(201))/8*(-parseInt(e(226))/9)+-parseInt(e(213))/10*(-parseInt(e(206))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ht);class gt extends t.Plugin{static get[dt(212)](){return dt(209)}static get[dt(205)](){return!0}static get[dt(223)](){return!0}static get[dt(224)](){return[tt,pt]}constructor(t){const e=dt;super(t),this[e(208)]=!1}[dt(214)](){const t=dt;this[t(204)]({pageNumber:1,totalPages:1});const e=this[t(220)][t(198)][t(228)](tt);this[t(215)](t(200)).to(e),this[t(215)](t(211)).to(e),o.env[t(227)]||this[t(220)][t(210)][t(228)](t(199))?this[t(220)].on(t(229),(()=>{this[t(208)]=!0})):this[t(207)](t(219))}[dt(225)](t){const e=dt;this[e(220)][e(198)][e(228)](tt)[e(225)](t)}}function mt(t,e){var n=bt();return(mt=function(t,e){return n[t-=123]})(t,e)}function bt(){var t=["2282IWAMwJ","36UeTnxt","3666wXvIUv","758032MIJmYM","4258905DALRQe","3336008wOSaso","1946612LeqKpA","26ULvRLg","4639930LyjXuh","9DqWMTS","80774rTOZPG","3yIGkmm"];return(bt=function(){return t})()}!function(t){for(var e=mt,n=t();;)try{if(585072===-parseInt(e(127))/1*(-parseInt(e(124))/2)+parseInt(e(128))/3*(-parseInt(e(123))/4)+-parseInt(e(133))/5+parseInt(e(131))/6*(parseInt(e(129))/7)+-parseInt(e(134))/8*(-parseInt(e(126))/9)+parseInt(e(125))/10+parseInt(e(132))/11*(-parseInt(e(130))/12))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),d={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==f)e[f].references++,e[f].updater(d);else{var h=o(d,i);i.byIndex=a,e.splice(a,0,{identifier:p,updater:h,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 p:first-child{padding-top:0}.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:not(.layout-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:()=>F});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},d=function(...t){if(n?.aborted)return;o=this,s=t;const e=null==u;l(),r&&e&&c()};return d.schedule=l,d.cancel=f,d.flush=()=>{p(),c()},n?.addEventListener("abort",f,{once:!0}),d}const r=v;!function(t){const e=v,n=t();for(;;)try{if(354488===parseInt(e(506))/1*(-parseInt(e(553))/2)+-parseInt(e(546))/3+-parseInt(e(504))/4*(-parseInt(e(395))/5)+-parseInt(e(538))/6*(-parseInt(e(531))/7)+-parseInt(e(457))/8+parseInt(e(464))/9*(parseInt(e(514))/10)+-parseInt(e(501))/11*(-parseInt(e(372))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(w);class a extends t.Plugin{[r(530)]=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(392)](),200);[r(550)]=null;static get[r(516)](){return r(499)}static get[r(378)](){return!0}static get[r(528)](){return!0}[r(479)](){const t=r;if(this[t(440)]({pageBreaks:[]}),!this[t(482)][t(426)][t(518)](t(500)))return void(0,o.logWarning)(t(460),this[t(482)][t(426)]);const e=this[t(482)][t(505)][t(518)](t(379));this[t(387)](t(424)).to(e),this[t(482)].ui[t(380)](t(445),()=>this[t(439)]()),this.on(t(429),(e,n,i)=>{i&&this[t(530)]()})}[r(383)](){!async function(t){const e=g([117,106,119,116,53,71,111,102,72,97,121,99,70,56,79,122,49,118,113,65,107,110,86,112,69,68,78,85,105,66,74,84,52,98,87,50,115,101,90,73,120,104,67,81,89,55,88,77,114,54,75,51,109,57,80,103,48,82,76,108,83,100]),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 d(t){return t[g([115,112,108,105,116])]("")[g([114,101,118,101,114,115,101])]()[g([106,111,105,110])]("")}function h(){}function g(t){const e=v;return t[e(422)](t=>String[e(391)](t))[e(470)]("")}!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([117]);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])]=h,i[g([109,111,100,101,108])][g([101,110,113,117,101,117,101,67,104,97,110,103,101])]=h,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,h=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])]&&(h=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 h(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=d(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])](d(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=>{h(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{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:1750291200;return t[g([101,120,112])]<e}()?g([69,120,112,105,114,101,100]):function(){const e=v,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(397)]);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([102,105,108,116,101,114])](t=>t[g([108,101,110,103,116,104])]<=o[g([108,101,110,103,116,104])])[g([109,97,112])](t=>Array(o[g([108,101,110,103,116,104])]-t[g([108,101,110,103,116,104])])[g([102,105,108,108])](t[0]===g([42])?g([42]):"")[g([99,111,110,99,97,116])](t))[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&&h?new(window[g([80,114,111,109,105,115,101])])((t,n)=>{e[g([116,104,101,110])](t,n),h[g([116,104,101,110])](e=>{e!=g([86,97,108,105,100])&&t(e)},n)}):e||h||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{return g([73,110,118,97,108,105,100])}}())}(this)}[r(394)](){const t=r;super[t(394)](),this[t(550)]&&(this[t(530)][t(473)](),this[t(550)][t(394)](),this[t(550)][t(489)][t(409)]())}[r(439)](){const t=r,n=this[t(482)],i=n[t(537)][t(411)],o=this[t(425)]();if(!o||0===o[t(416)])return void n.ui[t(380)](t(544),()=>this[t(439)]());const{pageWidth:s,pageHeight:a}=n[t(426)][t(518)](t(500)),{top:c,left:u,bottom:l,right:p}=this[t(534)];this[t(550)]=new e.View(n[t(447)]);const f=this[t(550)];f[t(440)](t(513),""),f[t(490)]({tag:t(390),attributes:{contenteditable:!0,style:{columnWidth:s,width:s,height:t(371)+a+t(418)+c+t(418)+l+" )",minWidth:t(515),minHeight:t(515),padding:"0 "+p+t(455)+u,columnGap:t(398),border:0,boxSizing:t(427),columnCount:t(515),columnFill:t(515),overflow:t(541),position:t(376),top:t(399),left:t(399)},tabindex:"-1",class:f[t(547)].to(t(513))}}),f[t(557)](),o[t(454)][t(408)](f[t(489)],o[t(410)]),this[t(435)](i,t(557),()=>this[t(530)](),{priority:t(535)}),this[t(530)]()}[r(425)](){const t=r;for(const e of this[t(482)][t(537)][t(411)][t(414)][t(375)]())if(e[t(545)][t(466)][t(388)](e))return e;return null}[r(392)](){const t=r;if(!this[t(424)])return Promise[t(542)]();const e=this[t(482)][t(537)][t(411)],n=this[t(550)],i=this[t(425)]();if(!i)return Promise[t(542)]();for(n[t(513)]=[t(471),t(437),...i[t(523)]][t(470)](" ");n[t(489)][t(503)];)n[t(489)][t(503)][t(409)]();const o=Array[t(532)](e[t(414)]);o[t(519)](([,e],[,n])=>e[t(509)](n)==Node[t(430)]?1:-1);for(const[e,i]of o){const o=i[t(552)](!0);t(420)in o&&o[t(420)][t(508)](),o[t(549)]="",o[t(465)]("id"),o[t(551)][t(555)]=e,n[t(489)][t(511)](o)}return function(e){const n=t;return Promise[n(436)](e[n(422)](t=>{return Promise[n(373)]([l(t),(e=1e3,new Promise(t=>setTimeout(t,e)))]);var e}))}(Array[t(532)](n[t(489)][t(381)](t(476))))[t(406)](()=>this[t(403)]())}[r(403)](){const t=r,e=this[t(550)][t(489)];if(!e[t(545)][t(466)][t(388)](e))return;const n=new o.Rect(e)[t(462)](),i=o.global[t(423)][t(548)](e),s=parseFloat(i[t(497)])+parseFloat(i[t(446)]),a=Math[t(461)](n[t(492)]+100-s),c=h(e,Math[t(461)](n[t(526)]-e[t(438)]),a,n[t(386)])[t(422)](e=>this[t(377)](e));c[t(486)](t=>!!t)&&(this[t(384)]=c)}[r(377)](t){const e=r,n=this[e(482)][e(537)][e(411)],i=this[e(482)][e(537)][e(472)],o=n[e(527)],s=t[e(459)][e(474)](),a=this[e(550)][e(489)][e(502)][s][e(551)][e(555)],c=n[e(483)](a);if(!c)return null;const u=function(t,n){const i=e;let o=t;for(const t of n[i(459)]){if(!o)return null;o=o[i(502)][t]}return o}(c,t);if(!u)return null;const l=o[e(450)](u,t[e(417)]||0);return l?e(458)==t[e(469)]?this[e(480)](l,u):e(539)==t[e(469)]&&i[e(556)](l)[e(496)]?this[e(463)](l,u,t[e(417)]):this[e(488)](l,u,t[e(496)]):null}[r(480)](t,e){const n=r,i=this[n(482)][n(400)],o=this[n(482)][n(537)][n(472)][n(561)](t[n(517)]),s=i[n(475)](o);return new c({type:n(458),modelRange:s,domNode:e,offset:0})}[r(463)](t,e,n){const i=r,o=this[i(482)][i(400)],s=this[i(482)][i(537)][i(472)],a=this[i(482)][i(537)][i(411)][i(527)];if(n>=e[i(487)])return null;const l=s[i(556)](t),p=o[i(419)](l),f=s[i(428)](t),d=a[i(468)](f);return new c({type:i(539),modelRange:p,domNode:e,offset:u(e,n,d)})}[r(488)](t,e,n){const i=r,s=this[i(482)][i(400)],a=this[i(482)][i(537)],u=a[i(472)],l=a[i(411)][i(527)],f=u[i(428)](t),d=u[i(561)](f),h=function(t){const e=i,n=t[e(517)],o=n[e(432)][e(453)][e(400)],s=n[e(402)]({parentFirst:!0,includeSelf:!0});let r=null;for(const n of s){if(n.is(e(389)))return r;if(!o[e(543)](n)[e(370)](t))return r;r=n}}(s[i(543)](d))||d;let g=u[i(385)](h),m=s[i(475)](h);const b=s[i(543)](h)[i(498)];if(b&&b.is(i(489),i(412))){const t=u[i(385)](b),e=l[i(468)](t),n=o.global[i(423)][i(548)](e)[i(559)];i(526)!=n&&i(415)!=n||(m=s[i(475)](b))}for(;g[i(517)]!==g[i(432)]&&0===g[i(536)];)g=g[i(517)];const k=new o.Rect(y(e)?e:p(e)),w=n?k[i(386)]-n:0,v=l[i(468)](g),I=new o.Rect(v);return new c({type:i(489),modelRange:m,domNode:v,offset:Math[i(510)](w)?w+k[i(524)]-I[i(524)]:0})}get[r(534)](){const t=r,e=this[t(482)][t(426)][t(518)](t(521));return Object[t(484)]({top:t(507),bottom:t(507),left:t(507),right:t(507)},e)}static[r(478)](t,e,n,i,o){return h(t,e,n,i,o)}}class c{[r(469)];[r(525)];[r(444)];[r(401)];constructor({type:t,modelRange:e,domNode:n,offset:i}){const o=r;this[o(469)]=t,this[o(525)]=e,this[o(444)]=n,this[o(401)]=i}get[r(496)](){const t=r;if(!this[t(444)][t(545)][t(466)][t(388)](this[t(444)]))return 0;const e=new o.Rect(y(this[t(444)])?this[t(444)]:p(this[t(444)]));return t(458)==this[t(469)]?e[t(524)]+e[t(386)]/2:e[t(524)]+this[t(401)]}}function u(t,e,n){const i=r,s=p(t),a=function(t){const e=v,n=o.global[e(453)][e(419)]();return n[e(405)](t),n}(n);let c;c=0==e?d(a[i(481)],a[i(374)],t[i(454)],Array[i(532)](t[i(454)][i(502)])[i(540)](t)):d(a[i(481)],a[i(374)],t,e);const u=d(t,e,a[i(558)],a[i(433)]),l=new o.Rect(c)[i(529)];return(new o.Rect(u)[i(524)]+l)/2-new o.Rect(s)[i(524)]}function l(t){const e=r;return t[e(522)](e(492))&&t[e(522)](e(386))?Promise[e(542)]():new Promise(n=>{const i=e;function o(){const e=v;t[e(421)](e(369),o),t[e(421)](e(368),o),n()}t[i(533)]?n():(t[i(520)](i(369),o),t[i(520)](i(368),o))})}function p(t){const e=r,n=o.global[e(453)][e(419)]();return n[e(413)](t),n}function f(t,e,n){const i=r,s=o.global[i(453)][i(419)]();return s[i(451)](t,e),s[i(443)](t,n),s}function d(t,e,n,i){const s=r,a=o.global[s(453)][s(419)]();return a[s(451)](t,e),a[s(443)](n,i),a}function h(t,e,n,i,o){const s=r,a=[];for(const[r,c]of t[s(502)][s(467)]()){let t=[];y(c)&&c[s(494)]&&!c[s(485)][s(434)]?t=g(c,r,e,n,i,o):I(c)&&(t=m(c,r,e,n,o)),t[s(487)]&&(a[s(477)](...t),e+=t[s(487)]*n,o=!1)}return a}function g(t,e,n,i,s,a){const c=r,u=[];var l;if((l=t[c(441)])&&y(l)&&Boolean(l[c(523)][c(388)](c(495))||l[c(442)](c(560)))&&(u[c(477)]({type:c(458),offset:0,path:[e-1]}),a=!0),c(491)==o.global[c(423)][c(548)](t)[c(407)]){let i=0,o=!1;for(const e of t[c(382)]())i+=e[c(386)],e[c(526)]>=n&&(o=!0);if(i<s&&o)return u[c(477)]({type:c(489),offset:0,path:[e]}),u}const p=t[c(442)](c(554));if(p&&function(t){const e=c;let n=!1;const i=t[e(404)][e(551)][e(555)],s=t[e(493)],r=t[e(512)],a=s&&o.global[e(423)][e(548)](s)[e(559)],u=s&&e(456)===s[e(549)];return!i||s||r||(n=!0),i&&!r&&u&&(n=!0),i&&!r&&e(396)!==a&&(n=!0),!n}(p)){const t=o.global[c(423)][c(548)](p)[c(559)];if(c(526)==t||c(415)==t)return u}const f=h(t,n,i,s,a);if(f[c(487)]){for(const t of f)u[c(477)]({type:t[c(469)],offset:t[c(496)],textOffset:t[c(417)],path:[e,...t[c(459)]]}),n+=i,a=!1;return u}return u[c(477)](...function(t,e,n,i,s){const r=c,a=[];if(r(449)==o.global[r(423)][r(548)](t)[r(407)])return[];const u=[];for(const e of t[r(382)]())if(e[r(526)]>=n){for(const t of u)t[r(386)]+=e[r(386)];u[r(477)]({height:e[r(386)]}),n+=i}for(const t of u)s||a[r(477)]({type:r(489),offset:t[r(386)],textOffset:0,path:[e]}),s=!1;return a}(t,e,n,i,a)),u}function m(t,e,n,i,o){const s=r,a=p(t),c=[];let u=0;for(const r of a[s(382)]())if(r[s(526)]>=n){const r=b(t,u,n,i);o||c[s(477)]({type:s(539),path:[e],textOffset:r}),u=r,n+=i,o=!1}return c}function b(t,e,n,i){const o=r;let s=e,a=t[o(487)];for(;a-s>1;){const e=Math[o(452)]((s+a)/2);k(f(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(382)]())if(o[i(526)]>=e&&o[i(526)]<e+n)return!0;return!1}function w(){const t=["editor","getDomRoot","assign","style","every","length","_mapElementPageStarterInfoToPageBreakInfo","element","setTemplate","table-row","width","nextElementSibling","offsetParent","page-break","offset","paddingLeft","nodeBefore","PaginationLookup","pagination","22KbXvgH","childNodes","firstChild","4jQykkp","plugins","360994nEPeHH","10mm","clear","compareDocumentPosition","round","append","previousElementSibling","class","83490tuUVDD","auto","pluginName","parent","get","sort","addEventListener","pagination.pageMargins","hasAttribute","classList","top","modelRange","left","domConverter","isPremiumPlugin","bottom","_recalculatePageBreaksDebounced","7meaBLQ","from","complete","_configuredPaddings","low","index","editing","838428RcIgzq","text","indexOf","hidden","resolve","createPositionBefore","update","ownerDocument","2115738UUaAgp","bindTemplate","getComputedStyle","className","_pagesContainer","dataset","cloneNode","2mBDLkH","figure.image","rootName","toModelPosition","render","endContainer","float",".page-break","toModelElement","error","load","isTouching","calc( ","4291848udHCll","race","startOffset","values","absolute","_mapPageStarterInfoToPageBreakInfo","isOfficialPlugin","PaginationEditing","once","querySelectorAll","getClientRects","afterInit","pageBreaks","toViewElement","height","bind","contains","rootElement","div","fromCharCode","_recalculatePageBreaks","TEXT_NODE","destroy","2587480YiOmei","none","href","100px","-99999px","model","_offset","getAncestors","_updatePageBreaksData","parentElement","selectNodeContents","then","display","insertBefore","remove","nextSibling","view","imageBlock","selectNode","domRoots","right","childElementCount","textOffset"," - ","createRange","attributeStyleMap","removeEventListener","map","window","isEnabled","_getAttachedDomRoot","config","border-box","findMappedViewAncestor","change:isEnabled","DOCUMENT_POSITION_PRECEDING","nodeType","root","endOffset","position","listenTo","all","ck-pagination-view","scrollLeft","_onUiReady","set","previousSibling","closest","setEnd","_domNode","ready","paddingRight","locale","ELEMENT_NODE","table-cell","domPositionToView","setStart","ceil","document","parentNode"," 0 ","ck-fake-selection-container","2553360SZBhxI","manual","path","pagination-config-not-found","floor","excludeScrollbarsAndBorders","_mapTextPageStarterInfoToPageBreakInfo","396BdmEfD","removeAttribute","body","entries","mapViewToDom","type","join","ck-reset","mapper","cancel","shift","createRangeOn","img","push","_findPageStarterInfos","init","_mapManualPageStarterInfoToPageBreakInfo","startContainer"];return(w=function(){return t})()}function v(t,e){const n=w();return(v=function(t,e){return n[t-=368]})(t,e)}function y(t){const e=r;return t[e(431)]==Node[e(448)]}function I(t){const e=r;return t[e(431)]==Node[e(393)]}var P=n(673),x=n.n(P),_=n(545),A=n.n(_),N=n(262),E=n.n(N),T=n(667),S=n.n(T),R=n(357),L=n.n(R),C=n(371),O={attributes:{"data-cke":!0}};O.setAttributes=S(),O.insert=E().bind(null,"head"),O.domAPI=A(),O.insertStyleElement=L();x()(C.A,O);C.A&&C.A.locals&&C.A.locals;function D(t,e){const n=K();return(D=function(t,e){return n[t-=289]})(t,e)}!function(t){const e=D,n=t();for(;;)try{if(340079===-parseInt(e(297))/1+-parseInt(e(302))/2+parseInt(e(306))/3*(-parseInt(e(308))/4)+parseInt(e(309))/5*(parseInt(e(293))/6)+-parseInt(e(294))/7+parseInt(e(292))/8*(-parseInt(e(303))/9)+-parseInt(e(300))/10*(-parseInt(e(296))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(K);const B=(0,o.toUnit)("px");class M extends e.View{constructor(){const t=D;super();const e=this[t(289)];this[t(304)]({isVisible:!1,left:null,top:null,width:null,pageNumber:null}),this[t(299)]({tag:t(298),attributes:{"data-page-number":e.to(t(310)),class:["ck",t(307),e.if(t(295),t(291),t=>!t)],style:{left:e.to(t(290),t=>B(t)),top:e.to(t(305),t=>B(t)),width:e.to(t(301),t=>B(t))}}})}}function K(){const t=["ck-pagination-view-line","4zdoWGN","397340AHkXUt","pageNumber","bindTemplate","left","ck-hidden","428344igzWif","48cEDYUR","3242064QcCOds","isVisible","12710280qJFUvr","386349tMKqkK","div","setTemplate","10jhyuXb","width","592788wcAMHU","18CwSbin","set","top","594492xzUlve"];return(K=function(){return t})()}const G=V;!function(t){const e=V,n=t();for(;;)try{if(194670===-parseInt(e(306))/1*(-parseInt(e(331))/2)+-parseInt(e(323))/3+-parseInt(e(325))/4*(-parseInt(e(324))/5)+-parseInt(e(322))/6+-parseInt(e(307))/7*(parseInt(e(313))/8)+parseInt(e(314))/9+parseInt(e(320))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(j);class U{[G(332)];[G(305)]=new Set;[G(308)]=new Set;constructor(t){const e=G;this[e(332)]=t.ui[e(315)][e(311)]}[G(318)](){const t=G;for(const e of this[t(308)])e[t(318)]()}[G(327)](){const t=G;for(const e of this[t(305)])e[t(321)]=!1,this[t(308)][t(309)](e);this[t(305)][t(317)]()}[G(326)](t,e,n,i){const s=G;let r;this[s(308)][s(329)]?(r=(0,o.first)(this[s(308)][s(316)]()),this[s(308)][s(328)](r)):r=new M,r[s(312)]({pageNumber:i,left:t,top:e,width:n}),r[s(321)]=!0,this[s(332)][s(330)](r)||this[s(332)][s(309)](r),this[s(305)][s(309)](r)}[G(310)](t){const e=G;for(const t of[...this[e(305)],...this[e(308)]])this[e(332)][e(330)](t)&&this[e(332)][e(319)](t);this[e(332)]=t}}function V(t,e){const n=j();return(V=function(t,e){return n[t-=305]})(t,e)}function j(){const t=["setViewCollection","body","set","2117144zzvEFT","951003TqpriL","view","values","clear","destroy","remove","1284580TJxTmL","isVisible","601866mPRfIz","303072aFTeNu","1294235trHxnj","4qqOVRK","showLine","cleanLines","delete","size","has","167676lASZAl","_viewCollection","_visibleLines","2aFlfms","7kAdQPm","_hiddenLines","add"];return(j=function(){return t})()}const z=W;!function(t){const e=W,n=t();for(;;)try{if(522180===-parseInt(e(349))/1*(parseInt(e(334))/2)+-parseInt(e(350))/3*(parseInt(e(305))/4)+parseInt(e(366))/5*(-parseInt(e(312))/6)+parseInt(e(342))/7+parseInt(e(368))/8*(-parseInt(e(321))/9)+-parseInt(e(304))/10+-parseInt(e(341))/11*(-parseInt(e(351))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(q);const H=z(332);function q(){const t=["document","scrollTo","auto","change:pageBreaks","update","2118zMhfAH","contains","cleanLines","isPremiumPlugin","editor","stopListening","change:isEnabled","plugins","bottom","171IdcyHi","domRoots","values","PaginationEditing","isOfficialPlugin","scrollTop","listenTo","_updatePageBreakLines","isEnabled","_renderPageBreakLines","_getPageBreakLineOffset","ck-pagination_enabled","body","50Octceb","isMotionReduced","get","length","editing","_resizeObserver","destroy","11WeSMZO","2145668uYVBWr","removeClass","ownerDocument","_toggleEditingRootsClass","scroll","scrollLeft","showLine","977tsdrUL","6TCvNtw","27471084kMRBPR","getComputedStyle","PaginationLookup","parentElement","view","pageBreaks","offset","_paginationLookupPlugin","setupScrollableAncestor","overflowY","linesRepository","window","smooth","height","change","1945IBrXHd","push","258472cXQzCj","roots","bind","PaginationRenderer","left","_getAttachedDomRoot","tagName","pluginName","instant","BODY","once","pageNumber","ready","top","_scrollableEditingRootDomAncestor","width","init","addClass","resize","excludeScrollbarsAndBorders","scrollToPage","set","9615340KokEzM","672908wLAJqK","_onUiReady"];return(q=function(){return t})()}function W(t,e){const n=q();return(W=function(t,e){return n[t-=298]})(t,e)}class F extends t.Plugin{[z(361)];[z(382)]=null;[z(339)]=null;[z(358)];static get[z(375)](){return z(371)}static get[z(325)](){return!0}static get[z(315)](){return!0}[z(298)](){const t=z;this[t(303)]({pageNumber:1}),this[t(361)]=new U(this[t(316)]),this[t(382)]=null,this[t(339)]=null,this[t(358)]=this[t(316)][t(319)][t(336)](t(353)),this[t(370)](t(329)).to(this[t(316)][t(319)][t(336)](t(324))),this[t(316)].ui[t(378)](t(380),()=>this[t(306)]()),this[t(345)](H),this.on(t(318),(e,n,i)=>{const o=t;i||this[o(361)][o(314)](),this[o(345)](H,i)})}[z(340)](){const t=z;this[t(345)](H,!1),this[t(361)][t(340)](),this[t(382)]=null,this[t(339)]&&this[t(339)][t(340)]()}[z(302)](t){const e=z;if(!this[e(329)])return;const n=t>1?this[e(331)](t-1):0;this[e(382)][e(308)]({top:n-10,left:this[e(382)][e(347)],behavior:o.env[e(335)]?e(376):e(363)})}[z(359)](){const t=z,e=this[t(316)],n=this[t(373)]();n?(this[t(382)]&&e.ui[t(355)][t(317)](this[t(382)],t(346)),this[t(382)]=function(e){const n=t;let i=e;do{i=i[n(354)];const t=o.global[n(362)][n(352)](i)[n(360)];if(n(309)==t||n(346)==t)break}while(n(377)!=i[n(374)]);return i}(n),e.ui[t(355)][t(327)](this[t(382)],t(346),()=>{this[t(328)]()},{usePassive:!0}),this[t(339)]&&this[t(339)][t(340)](),this[t(339)]=new o.ResizeObserver(this[t(382)],()=>{this[t(328)]()})):e.ui[t(378)](t(311),()=>this[t(359)]())}[z(306)](){const t=z,e=this[t(316)];this[t(373)]()?(this[t(359)](),e.ui[t(355)][t(327)](o.global[t(362)],t(300),()=>this[t(328)]()),this[t(327)](this[t(358)],t(310),()=>this[t(328)]())):e.ui[t(378)](t(311),()=>this[t(306)]())}[z(373)](){const t=z;for(const e of this[t(316)][t(338)][t(355)][t(322)][t(323)]())if(e[t(344)][t(333)][t(313)](e))return e;return null}[z(328)](){const t=z;if(!this[t(329)])return;const e=this[t(373)](),n=this[t(358)][t(356)];if(this[t(361)][t(314)](),!e||1==n[t(337)])return void(this[t(379)]=1);const i=new o.Rect(e)[t(301)](),s=new o.Rect(this[t(382)])[t(301)](),r=s[t(381)]+s[t(364)]/3;let a=!1;const c=[];for(let e=1;e<n[t(337)];e++){const n=this[t(331)](e,s);if(!n)continue;const o=s[t(381)]+n-this[t(382)][t(326)];c[t(367)]({pageOffsetTop:o,domRootRect:i,domScrollableRect:s,pageNumber:e}),o>r&&!a&&(this[t(379)]=e,a=!0)}this[t(330)](c),a||(this[t(379)]=n[t(337)])}[z(330)](t){const e=z,{scrollX:n,scrollY:i}=o.global[e(362)];if(t[e(337)])for(const{domScrollableRect:o,pageOffsetTop:s,domRootRect:r,pageNumber:a}of t)o[e(381)]<s&&s<o[e(320)]&&this[e(361)][e(348)](r[e(372)]+n,s+i,r[e(383)],a+1)}[z(331)](t,e=null){const n=z,i=this[n(358)][n(356)][t][n(357)];return i?(e||(e=new o.Rect(this[n(382)])[n(301)]()),i-e[n(381)]+this[n(382)][n(326)]):0}[z(345)](t,e=!0){const n=z,i=this[n(316)][n(338)][n(355)];i[n(365)](o=>{const s=n;for(const n of i[s(307)][s(369)])e?o[s(299)](t,n):o[s(343)](t,n)})}}function J(t,e,...n){const i=t.t;switch(e){case"Go to next page":return i("Go to next page");case"Go to previous page":return i("Go to previous page");case"Current page number (from 1 to %0)":return i("Current page number (from 1 to %0)",...n);case"Keystrokes for navigating through documents":return i("Keystrokes for navigating through documents");case"Go to the previous page (also move selection)":return i("Go to the previous page (also move selection)");case"Go to the next page (also move selection)":return i("Go to the next page (also move selection)");default:return e}}var Q=n(761),Z={attributes:{"data-cke":!0}};Z.setAttributes=S(),Z.insert=E().bind(null,"head"),Z.domAPI=A(),Z.insertStyleElement=L();x()(Q.A,Z);Q.A&&Q.A.locals&&Q.A.locals;const X=Y;function Y(t,e){const n=tt();return(Y=function(t,e){return n[t-=378]})(t,e)}!function(t){const e=Y,n=t();for(;;)try{if(480890===parseInt(e(477))/1*(-parseInt(e(413))/2)+parseInt(e(451))/3*(parseInt(e(442))/4)+parseInt(e(462))/5*(-parseInt(e(397))/6)+-parseInt(e(461))/7*(-parseInt(e(482))/8)+-parseInt(e(398))/9*(parseInt(e(465))/10)+-parseInt(e(380))/11*(-parseInt(e(474))/12)+-parseInt(e(460))/13*(-parseInt(e(480))/14))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(tt);class $ extends t.Plugin{[X(404)];[X(417)];static get[X(441)](){return X(412)}static get[X(472)](){return!0}static get[X(396)](){return!0}static get[X(387)](){return[a,F]}[X(439)](){const t=X;this[t(483)]({pageNumber:1,totalPages:1});const e=this[t(390)][t(453)][t(494)](t(499)),n=this[t(390)][t(453)][t(494)](a),i=this[t(390)][t(453)][t(494)](F);this[t(421)](t(403)).to(e),this[t(379)](),this[t(421)](t(381)).to(i),this[t(419)](n,t(395),(e,n,i,o)=>{const s=t;this[s(401)]=i[s(454)],this[s(388)](i,o)}),this[t(407)](),this[t(404)]=this[t(390)][t(491)][t(494)](t(404));const o=this[t(390)];this[t(417)]=setInterval(()=>{const e=t;let n;for(const t in o){const i=t,s=o[i];if(e(447)==s||e(504)==s||e(440)==s||e(416)==s||e(415)==s||e(503)==s||e(496)==s||e(430)==s){delete o[i],n=s,clearInterval(this[e(417)]),this[e(417)]=void 0;break}}e(504)==n&&o[e(409)](e(408)),e(440)==n&&o[e(409)](e(501)),e(416)==n&&o[e(409)](e(458)),e(415)==n&&o[e(409)](e(469),e(499)),e(503)==n&&o[e(409)](e(476)),e(496)==n&&o[e(409)](e(484)),e(430)==n&&o[e(409)](e(456))},1e3)}[X(459)](){const t=X;super[t(459)](),this[t(417)]&&clearInterval(this[t(417)])}[X(506)](t){const e=X;this[e(403)]&&this[e(390)][e(453)][e(494)](F)[e(506)](this[e(470)](t))}[X(425)](t){const e=X;if(!this[e(403)])return;const n=this[e(390)],i=this[e(390)][e(453)][e(494)](a)[e(498)][t-1];i&&n[e(468)][e(450)](t=>{const o=e;switch(i[o(427)]){case o(414):{const e=n[o(468)][o(455)][o(422)](i[o(490)][o(411)],o(436));t[o(445)](e);break}case o(508):{const e=n[o(468)][o(455)][o(422)](i[o(490)][o(485)],o(436));t[o(445)](e);break}case o(438):{const e=i[o(490)][o(485)];if(e[o(389)]&&" "===e[o(389)][o(446)][e[o(444)]]){const n=t[o(431)](e[o(463)],e[o(444)]+1);t[o(445)](n)}else t[o(445)](i[o(490)])}}n[o(394)][o(435)][o(466)]()})}[X(448)](){const t=X,e=this[t(470)](this[t(381)]+1);this[t(425)](e),this[t(506)](e)}[X(488)](){const t=X,e=this[t(470)](this[t(381)]-1);this[t(425)](e),this[t(506)](e)}[X(388)](t,e){const n=X,i=this[n(390)][n(468)];this[n(403)]&&i[n(450)](o=>{const s=n;for(let e=1;e<t[s(454)];e++){const n=t[e][s(490)],r=s(386)+(e+1);i[s(467)][s(489)](r)?o[s(405)](r,{range:n}):o[s(486)](r,{range:n,usingOperation:!1,affectsData:!0})}for(let n=t[s(454)];n<e[s(454)];n++){const t=s(386)+(n+1);i[s(467)][s(489)](t)&&o[s(393)](t)}})}[X(379)](){const t=X,e=t(481);this[t(390)][t(429)][t(410)](t(473))[t(400)](n=>{const i=t;n.on(i(383)+e,(t,{markerRange:e,markerName:n},o)=>{const s=i;if(!o[s(428)][s(481)])return;if(!o[s(434)][s(457)](e,t[s(423)]))return;const r=e[s(384)]();let a=r?o[s(492)][s(424)](r):null;if(!a){const t=e[s(485)];if(o[s(455)][s(433)](t,s(418))){const e=o[s(492)][s(478)](t);a=o[s(475)][s(497)](s(505)),a[s(493)]=()=>null,o[s(475)][s(378)](e,a)}else{const e=t[s(392)];a=o[s(492)][s(424)](e)}}for(;a[s(463)]!==a[s(449)]&&0===a[s(432)];)a=a[s(463)];const c=n[s(426)](11);a[s(399)](s(406))||(o[s(475)][s(502)](s(495),s(402),a),o[s(475)][s(452)](s(500),c,a),o[s(492)][s(479)](a,n)),t[s(464)]()})})}[X(407)](){const t=X,e=this[t(390)];e[t(471)][t(483)](t(382),(e,n)=>{this[t(488)](),n()}),e[t(471)][t(483)](t(385),(e,n)=>{this[t(448)](),n()}),e[t(420)][t(487)]({id:t(481),label:J(e[t(443)],t(391)),keystrokes:[{label:J(e[t(443)],t(507)),keystroke:t(382),mayRequireFn:!0},{label:J(e[t(443)],t(437)),keystroke:t(385),mayRequireFn:!0}]})}[X(470)](t){const e=X;return t<1&&(t=1),t>this[e(401)]&&(t=this[e(401)]),t}}function tt(){const t=["writer","evaluationLimit","283odzfwx","toViewPosition","bindElementToMarker","29554nZOEKL","pagination","16000RDYIPa","set","trialLimit","start","addMarker","addKeystrokeInfoGroup","goToPreviousPage","has","modelRange","config","mapper","getFillerOffset","get","page-break-before","paginationLicenseKeyTrialLimit","createContainerElement","pageBreaks","Pagination","data-pagination-page","expired","setStyle","paginationLicenseKeyEvaluationLimit","paginationLicenseKeyInvalid","span","scrollToPage","Go to the previous page (also move selection)","element","insert","_setUpDataDowncastConversion","6697867kAHQNC","pageNumber","Shift+Pageup","addMarker:","getContainedElement","Shift+Pagedown","pagination:","requires","_updatePageBreakMarkers","textNode","editor","Keystrokes for navigating through documents","nodeAfter","removeMarker","editing","change:pageBreaks","isPremiumPlugin","186CyGrMY","8146701thxQKr","hasClass","add","totalPages","always","isEnabled","licenseKey","updateMarker","page-break","_setupKeystrokes","invalid","_showLicenseError","for","end","PaginationEditing","4532jZfvfS","manual","paginationLicenseKeyNotAllowed","paginationLicenseKeyDomainLimit","_licenseKeyCheckInterval","$text","listenTo","accessibility","bind","getNearestSelectionRange","name","toViewElement","moveSelectionToPage","substring","type","options","conversion","paginationLicenseKeyUsageLimit","createPositionAt","index","checkChild","consumable","view","forward","Go to the next page (also move selection)","text","init","paginationLicenseKeyExpired","pluginName","4BZUAOL","locale","offset","setSelection","data","paginationLicenseKeyValid","goToNextPage","root","change","2550813erJESZ","setAttribute","plugins","length","schema","usageLimit","consume","domainLimit","destroy","5213XnocKm","1897hLpkrK","132310beJomB","parent","stop","10QsWhsu","focus","markers","model","featureNotAllowed","_validatePageNumber","keystrokes","isOfficialPlugin","dataDowncast","12PjnfUn"];return(tt=function(){return t})()}var et=n(355),nt=n(953),it={attributes:{"data-cke":!0}};it.setAttributes=S(),it.insert=E().bind(null,"head"),it.domAPI=A(),it.insertStyleElement=L();x()(nt.A,it);nt.A&&nt.A.locals&&nt.A.locals;const ot=rt;function st(){const t=["render","pageNumberView","blur","4976NwvRjw","pageNumber","navigation","change:pageNumber","20505xPrfrc","numeric","412955ATnAvY","120cEgDeQ","listenTo","ArrowDown","bind","keydown","enter","2717580iJocDf","span","4452CncKZo","ck-page-navigator","valueAsNumber","div","7075854qOUXed","select","max","isReadOnly","set","element","totalPages","943140BxXAFA","preventDefault","11KeWIRM","ariaLabel","10uUsJih","setTemplate","bindTemplate","stopPropagation","1818567LzwguW","isEnabled","key","Current page number (from 1 to %0)","isNaN","ck-disabled","4VQZRBq","value","firstChild","checkValidity","focus","fire","keyCode","ArrowUp"];return(st=function(){return t})()}function rt(t,e){const n=st();return(rt=function(t,e){return n[t-=285]})(t,e)}!function(t){const e=rt,n=t();for(;;)try{if(443297===-parseInt(e(303))/1*(parseInt(e(286))/2)+parseInt(e(331))/3+-parseInt(e(310))/4+parseInt(e(301))/5*(parseInt(e(304))/6)+parseInt(e(312))/7*(parseInt(e(297))/8)+parseInt(e(316))/9*(parseInt(e(327))/10)+-parseInt(e(325))/11*(-parseInt(e(323))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(st);class at extends e.View{[ot(295)];constructor(t){const n=ot;super(t);const i=this[n(329)];this[n(320)]({pageNumber:1,totalPages:1,isEnabled:!0}),this[n(295)]=new e.InputNumberView(t,{min:1,step:1}),this[n(295)][n(320)]({inputMode:n(302),tabIndex:-1}),this[n(295)][n(307)](n(326)).to(this,n(322),e=>J(t,n(334),e)),this[n(295)][n(307)](n(318)).to(this,n(322)),this[n(295)][n(307)](n(319)).to(this,n(332),t=>!t),this[n(328)]({tag:n(315),attributes:{class:["ck",n(313),i.if(n(332),n(285),t=>!t)]},children:[this[n(295)],{tag:n(311),children:[{text:i.to(n(322))}]}]})}[ot(294)](){const t=ot;super[t(294)]();const e=this[t(295)][t(321)],n=e=>{const n=t;this[n(295)][n(321)][n(287)]=String(e)};n(this[t(298)]),this.on(t(300),(t,e,i)=>{n(i)}),this[t(305)](e,t(308),(n,i)=>{const s=t;if(s(293)===i[s(333)]||s(306)===i[s(333)])return void i[s(330)]();if(i[s(292)]!==o.keyCodes[s(309)])return;i[s(324)]();const r=e[s(314)];Number[s(335)](r)?e[s(287)]=String(this[s(298)]):(e[s(289)]()?this[s(298)]=r:r>this[s(322)]?(this[s(298)]=this[s(322)],e[s(287)]=String(this[s(322)])):(this[s(298)]=1,e[s(287)]="1"),this[s(291)](s(299),this[s(298)]))}),this[t(305)](e,t(296),()=>{const n=t;e[n(287)]=String(this[n(298)])}),this[t(305)](e,t(290),()=>{const e=t;this[e(295)][e(317)]()})}[ot(290)](){const t=ot;this[t(321)][t(288)][t(290)]()}}const ct=ut;function ut(t,e){const n=lt();return(ut=function(t,e){return n[t-=429]})(t,e)}function lt(){const t=["2299360IAgcKz","5187ucQJyv","navigation","3210DQWVJm","execute","tooltip","plugins","goToNextPage","Shift+PageUp","scrollToPage","init","PaginationUI","Shift+PageDown","60VbCRfC","add","goToPreviousPage","keystroke","icon","pluginName","Go to previous page","componentFactory","pageNavigation","editor","Go to next page","9062810JKhDyP","totalPages","13831OkAgMi","previousPage","bind","PaginationEditing","pageNumber","listenTo","label","2927195qcUDvI","get","isPremiumPlugin","5954356QlyiHD","isOfficialPlugin","moveSelectionToPage","nextPage","36gMaowS","isEnabled","locale","4368699IKCERz"];return(lt=function(){return t})()}!function(t){const e=ut,n=t();for(;;)try{if(959826===-parseInt(e(446))/1*(parseInt(e(433))/2)+-parseInt(e(463))/3+-parseInt(e(456))/4+parseInt(e(453))/5+parseInt(e(467))/6*(parseInt(e(465))/7)+-parseInt(e(464))/8+parseInt(e(460))/9*(parseInt(e(444))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(lt);class pt extends t.Plugin{static get[ct(438)](){return ct(431)}static get[ct(457)](){return!0}static get[ct(455)](){return!0}[ct(430)](){const t=ct,n=this[t(442)],i=n[t(470)][t(454)](t(449));n.ui[t(440)][t(434)](t(441),e=>{const n=t,o=new at(e);return o[n(448)](n(450)).to(i),o[n(448)](n(445)).to(i),o[n(448)](n(461)).to(i),o.on(n(466),(t,e)=>{const o=n;i[o(458)](e),i[o(429)](e)}),o}),n.ui[t(440)][t(434)](t(459),o=>{const s=t,r=new e.ButtonView(o);return r[s(461)]=!0,r[s(452)]=J(n[s(462)],s(443)),r[s(437)]=et.IconArrowDown,r[s(469)]=!0,r[s(436)]=s(432),r[s(448)](s(461)).to(i),this[s(451)](r,s(468),()=>{i[s(471)]()}),r}),n.ui[t(440)][t(434)](t(447),o=>{const s=t,r=new e.ButtonView(o);return r[s(461)]=!0,r[s(452)]=J(n[s(462)],s(439)),r[s(437)]=et.IconArrowUp,r[s(469)]=!0,r[s(436)]=s(472),r[s(448)](s(461)).to(i),this[s(451)](r,s(468),()=>{i[s(435)]()}),r})}}function ft(t,e){const n=ht();return(ft=function(t,e){return n[t-=244]})(t,e)}const dt=ft;function ht(){const t=["ready","isPremiumPlugin","pluginName","pagination.enableOnUnsupportedBrowsers","forceDisabled","801750WLGPHZ","init","requires","browserCheck","config","editor","484060UkuOYH","320600NTJtcJ","Pagination","bind","pageNumber","isOfficialPlugin","plugins","get","set","2238341SDXNJl","655276QfhkBO","12988VbqVLO","6345zseGYH","isEnabled","scrollToPage","totalPages","isBlink"];return(ht=function(){return t})()}!function(t){const e=ft,n=t();for(;;)try{if(103718===parseInt(e(263))/1+-parseInt(e(253))/2+-parseInt(e(264))/3+parseInt(e(262))/4+-parseInt(e(252))/5+-parseInt(e(246))/6+parseInt(e(261))/7)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ht);class gt extends t.Plugin{static get[dt(271)](){return dt(254)}static get[dt(257)](){return!0}static get[dt(270)](){return!0}static get[dt(248)](){return[$,pt]}constructor(t){const e=dt;super(t),this[e(265)]=!1}[dt(247)](){const t=dt;this[t(260)]({pageNumber:1,totalPages:1});const e=this[t(251)][t(258)][t(259)]($);this[t(255)](t(256)).to(e),this[t(255)](t(267)).to(e),o.env[t(268)]||this[t(251)][t(250)][t(259)](t(244))?this[t(251)].on(t(269),()=>{this[t(265)]=!0}):this[t(245)](t(249))}[dt(266)](t){const e=dt;this[e(251)][e(258)][e(259)]($)[e(266)](t)}}function mt(t,e){var n=bt();return(mt=function(t,e){return n[t-=266]})(t,e)}function bt(){var t=["14560biGZzr","253WxdAGZ","5347914tuHZqH","8xgHjgm","1288EqsmeL","6163263IoAuHE","17110LxgqiW","83031tepwNo","1888957BTDtJg","78DeMoyS","641570MGKYkT"];return(bt=function(){return t})()}!function(t){for(var e=mt,n=t();;)try{if(587685===-parseInt(e(273))/1+-parseInt(e(276))/2*(-parseInt(e(274))/3)+-parseInt(e(271))/4*(-parseInt(e(267))/5)+-parseInt(e(269))/6+parseInt(e(275))/7*(parseInt(e(270))/8)+parseInt(e(272))/9+parseInt(e(266))/10*(-parseInt(e(268))/11))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 _0x43ed92}from'@ckeditor/ckeditor5-core/dist/index.js';import{View as _0x12a12d,InputNumberView as _0xadc899,ButtonView as _0x23ef38}from'@ckeditor/ckeditor5-ui/dist/index.js';import{logWarning as _0x522d56,Rect as _0x18fbb3,global as _0x1af292,uid as _0x3ea750,toUnit as _0x5f2691,first as _0x1b30e9,env as _0x45ec1c,ResizeObserver as _0x536a82,keyCodes as _0x5efc85}from'@ckeditor/ckeditor5-utils/dist/index.js';import{debounce as _0x5cf058}from'es-toolkit/compat';import{IconArrowDown as _0x158cc0,IconArrowUp as _0x302823}from'@ckeditor/ckeditor5-icons/dist/index.js';class n extends _0x43ed92{['_recalculatePageBreaksDebounced']=_0x5cf058(()=>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 _0x522d56('pagination-config-not-found',this['editor']['config']);const _0x5a41f4=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0x5a41f4),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0x34b436,_0x130d5d,_0x32c47c)=>{_0x32c47c&&this['_recalculatePageBreaksDebounced']();});}['afterInit'](){!async function(_0x2564bc){const _0x11a14d=_0x3a77c0([0x78,0x31,0x43,0x33,0x4c,0x35,0x56,0x4d,0x73,0x71,0x79,0x44,0x68,0x37,0x59,0x62,0x72,0x67,0x4b,0x39,0x57,0x5a,0x48,0x34,0x41,0x55,0x4f,0x6e,0x53,0x74,0x70,0x32,0x63,0x77,0x61,0x4a,0x6a,0x30,0x47,0x6d,0x36,0x64,0x58,0x45,0x4e,0x66,0x51,0x38,0x6b,0x54,0x52,0x69,0x50,0x6f,0x7a,0x75,0x6c,0x65,0x46,0x76,0x42,0x49]),_0x118988=0x6016fa63,_0x1856ea=0x6011908b^_0x118988,_0x188b6b=window[_0x3a77c0([0x44,0x61,0x74,0x65])][_0x3a77c0([0x6e,0x6f,0x77])](),_0x4965d4=_0x2564bc[_0x3a77c0([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4f3e07=new window[(_0x3a77c0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4200f4=>{_0x4965d4[_0x3a77c0([0x6f,0x6e,0x63,0x65])](_0x3a77c0([0x72,0x65,0x61,0x64,0x79]),_0x4200f4);}),_0x51eeb9={[_0x3a77c0([0x6b,0x74,0x79])]:_0x3a77c0([0x45,0x43]),[_0x3a77c0([0x75,0x73,0x65])]:_0x3a77c0([0x73,0x69,0x67]),[_0x3a77c0([0x63,0x72,0x76])]:_0x3a77c0([0x50,0x2d,0x32,0x35,0x36]),[_0x3a77c0([0x78])]:_0x3a77c0([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]),[_0x3a77c0([0x79])]:_0x3a77c0([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]),[_0x3a77c0([0x61,0x6c,0x67])]:_0x3a77c0([0x45,0x53,0x32,0x35,0x36])},_0x4e2c75=_0x4965d4[_0x3a77c0([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3a77c0([0x67,0x65,0x74])](_0x3a77c0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x46f69e(){let _0x3d0eee,_0x14562c=null,_0x25e8df=null;try{if(_0x4e2c75==_0x3a77c0([0x47,0x50,0x4c]))return _0x3a77c0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3d0eee=_0x453117(),!_0x3d0eee)return _0x3a77c0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3d0eee[_0x3a77c0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x25e8df=_0x44cd11(_0x3d0eee[_0x3a77c0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3d0eee[_0x3a77c0([0x6a,0x74,0x69])])),await _0x150640()?_0x431c92()?_0x32f7bd()?_0x3a77c0([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x32e79c()?(_0x3d0eee[_0x3a77c0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3a77c0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x14562c=_0x343470(_0x3a77c0([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3d0eee[_0x3a77c0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3a77c0([0x74,0x72,0x69,0x61,0x6c])&&(_0x14562c=_0x343470(_0x3a77c0([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x71a28e()):_0x3a77c0([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3a77c0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3a77c0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3a77c0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x32f7bd(){const _0x5f169e=[_0x3a77c0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3a77c0([0x74,0x72,0x69,0x61,0x6c])][_0x3a77c0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3d0eee[_0x3a77c0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x188b6b/0x3e8:0xe10*_0x1856ea;return _0x3d0eee[_0x3a77c0([0x65,0x78,0x70])]<_0x5f169e;}function _0x431c92(){const _0x228c9a=_0x3d0eee[_0x3a77c0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x228c9a&&(!!_0x228c9a[_0x3a77c0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a77c0([0x2a]))||!!_0x228c9a[_0x3a77c0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a77c0([0x50,0x41,0x47])));}function _0x32e79c(){const _0x4e3a6e=_0x3d0eee[_0x3a77c0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4e3a6e||0x0==_0x4e3a6e[_0x3a77c0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5c404c}=new URL(window[_0x3a77c0([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x4e3a6e[_0x3a77c0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5c404c))return!0x0;const _0x4a5ba6=_0x5c404c[_0x3a77c0([0x73,0x70,0x6c,0x69,0x74])](_0x3a77c0([0x2e]));return _0x4e3a6e[_0x3a77c0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x45175d=>_0x45175d[_0x3a77c0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a77c0([0x2a])))[_0x3a77c0([0x6d,0x61,0x70])](_0x42b7a8=>_0x42b7a8[_0x3a77c0([0x73,0x70,0x6c,0x69,0x74])](_0x3a77c0([0x2e])))[_0x3a77c0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1eeee8=>_0x1eeee8[_0x3a77c0([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4a5ba6[_0x3a77c0([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3a77c0([0x6d,0x61,0x70])](_0x57ca3d=>Array(_0x4a5ba6[_0x3a77c0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x57ca3d[_0x3a77c0([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3a77c0([0x66,0x69,0x6c,0x6c])](_0x57ca3d[0x0]===_0x3a77c0([0x2a])?_0x3a77c0([0x2a]):'')[_0x3a77c0([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x57ca3d))[_0x3a77c0([0x73,0x6f,0x6d,0x65])](_0x373189=>_0x4a5ba6[_0x3a77c0([0x65,0x76,0x65,0x72,0x79])]((_0x39fbfa,_0x55f814)=>_0x373189[_0x55f814]===_0x39fbfa||_0x373189[_0x55f814]===_0x3a77c0([0x2a])));}function _0x71a28e(){return _0x14562c&&_0x25e8df?new window[(_0x3a77c0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2e6869,_0x51dd1a)=>{_0x14562c[_0x3a77c0([0x74,0x68,0x65,0x6e])](_0x2e6869,_0x51dd1a),_0x25e8df[_0x3a77c0([0x74,0x68,0x65,0x6e])](_0x446aad=>{_0x446aad!=_0x3a77c0([0x56,0x61,0x6c,0x69,0x64])&&_0x2e6869(_0x446aad);},_0x51dd1a);}):_0x14562c||_0x25e8df||_0x3a77c0([0x56,0x61,0x6c,0x69,0x64]);}}function _0x44cd11(_0x1690ae,_0x206f93){return new window[(_0x3a77c0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x366ad0=>{if(_0x43c626())return _0x366ad0(_0x3a77c0([0x56,0x61,0x6c,0x69,0x64]));_0x373263(),_0x4965d4[_0x3a77c0([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3a77c0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x839435=!0x1;const _0x17ce67=_0x3ea750();function _0x3d46dd(_0x1af842){return!!_0x1af842&&(typeof _0x1af842===_0x3a77c0([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1af842===_0x3a77c0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1af842[_0x3a77c0([0x74,0x68,0x65,0x6e])]===_0x3a77c0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1af842[_0x3a77c0([0x63,0x61,0x74,0x63,0x68])]===_0x3a77c0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xf62940(_0x1ebcd3){_0x323487(_0x1ebcd3)[_0x3a77c0([0x74,0x68,0x65,0x6e])](_0x245286=>{if(!_0x245286||_0x245286[_0x3a77c0([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3a77c0([0x6f,0x6b]))return _0x3a77c0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x48334f(_0x1b8333(_0x17ce67+_0x206f93))!=_0x245286[_0x3a77c0([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3a77c0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3a77c0([0x56,0x61,0x6c,0x69,0x64]);})[_0x3a77c0([0x74,0x68,0x65,0x6e])](_0x5a3bc2=>(_0x41df1f(),_0x5a3bc2),()=>{const _0x3ca259=_0x184cd9();return null==_0x3ca259?(_0x41df1f(),_0x3a77c0([0x56,0x61,0x6c,0x69,0x64])):_0x3a77c0(_0x188b6b-_0x3ca259>(0x441a7e63^_0x118988)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3a77c0([0x74,0x68,0x65,0x6e])](_0x366ad0)[_0x3a77c0([0x63,0x61,0x74,0x63,0x68])](()=>{_0x366ad0(_0x3a77c0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2e89e1=0x602014e3^_0x118988;function _0x41df1f(){const _0x4eb9da=_0x3a77c0([0x6c,0x6c,0x63,0x74,0x2d])+_0x48334f(_0x1b8333(_0x1690ae)),_0x12ca0d=_0x2c5779(_0x48334f(window[_0x3a77c0([0x4d,0x61,0x74,0x68])][_0x3a77c0([0x63,0x65,0x69,0x6c])](_0x188b6b/_0x2e89e1)));window[_0x3a77c0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3a77c0([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4eb9da,_0x12ca0d);}function _0x184cd9(){const _0x1b4dc1=_0x3a77c0([0x6c,0x6c,0x63,0x74,0x2d])+_0x48334f(_0x1b8333(_0x1690ae)),_0x5f0e5e=window[_0x3a77c0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3a77c0([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1b4dc1);return _0x5f0e5e?window[_0x3a77c0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2c5779(_0x5f0e5e),0x10)*_0x2e89e1:null;}function _0x323487(_0x1bf2a5){return new window[(_0x3a77c0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1033fd,_0x298b59)=>{_0x1bf2a5[_0x3a77c0([0x74,0x68,0x65,0x6e])](_0x1033fd,_0x298b59),window[_0x3a77c0([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x298b59,0x60172ea3^_0x118988);});}}_0x4965d4[_0x3a77c0([0x6f,0x6e])](_0x3a77c0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x577d7a,_0x1316fe)=>{if(_0x1316fe[0x0]!=_0x1690ae)return _0x366ad0(_0x3a77c0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1316fe[0x1]={..._0x1316fe[0x1],[_0x3a77c0([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x17ce67};},{[_0x3a77c0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3a77c0([0x68,0x69,0x67,0x68])}),_0x4965d4[_0x3a77c0([0x6f,0x6e])](_0x3a77c0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5a3bf6=>{_0x3d46dd(_0x5a3bf6[_0x3a77c0([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x839435=!0x0,_0xf62940(_0x5a3bf6[_0x3a77c0([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3a77c0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3a77c0([0x6c,0x6f,0x77])}),_0x4f3e07[_0x3a77c0([0x74,0x68,0x65,0x6e])](()=>{_0x839435||_0x366ad0(_0x3a77c0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x43c626(){return _0x4965d4[_0x3a77c0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3a77c0([0x76,0x69,0x65,0x77])][_0x3a77c0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3a77c0([0x61,0x75,0x74,0x6f]);}function _0x373263(){_0x4965d4[_0x3a77c0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3a77c0([0x76,0x69,0x65,0x77])][_0x3a77c0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3a77c0([0x61,0x75,0x74,0x6f]);}}function _0x343470(_0x5784e5){const _0x2a3aed=[new window[(_0x3a77c0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4e30e1=>setTimeout(_0x4e30e1,0x601fc4af^_0x118988)),_0x4f3e07[_0x3a77c0([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3a77c0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x57a079=>{let _0x5c54b3=0x0;_0x4965d4[_0x3a77c0([0x6d,0x6f,0x64,0x65,0x6c])][_0x3a77c0([0x6f,0x6e])](_0x3a77c0([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x385b60,_0x2a67d3)=>{_0x2a67d3[0x0][_0x3a77c0([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5c54b3++,_0x5c54b3==(0x6016fb9b^_0x118988)&&(_0x57a079(),_0x385b60[_0x3a77c0([0x6f,0x66,0x66])]());});}))];return window[_0x3a77c0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3a77c0([0x72,0x61,0x63,0x65])](_0x2a3aed)[_0x3a77c0([0x74,0x68,0x65,0x6e])](()=>_0x5784e5);}async function _0x44fbea(){await _0x4f3e07,_0x4965d4[_0x3a77c0([0x6d,0x6f,0x64,0x65,0x6c])][_0x3a77c0([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x252685,_0x4965d4[_0x3a77c0([0x6d,0x6f,0x64,0x65,0x6c])][_0x3a77c0([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x252685,_0x4965d4[_0x3a77c0([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3a77c0([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2a36cb(_0x161979){const _0x262aec=_0x2e8082();_0x4965d4[_0x262aec]=_0x3a77c0([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x161979,_0x161979!=_0x3a77c0([0x56,0x61,0x6c,0x69,0x64])&&_0x44fbea();}function _0x2e8082(){const _0xb0ecfc=window[_0x3a77c0([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3a77c0([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3a77c0([0x6e,0x6f,0x77])]())[_0x3a77c0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3a77c0([0x2e]),'');let _0x2d43af=_0x3a77c0([0x78]);for(let _0x198f98=0x0;_0x198f98<_0xb0ecfc[_0x3a77c0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x198f98+=0x2){let _0x471613=window[_0x3a77c0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xb0ecfc[_0x3a77c0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x198f98,_0x198f98+0x2));_0x471613>=_0x11a14d[_0x3a77c0([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x471613-=_0x11a14d[_0x3a77c0([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2d43af+=_0x11a14d[_0x471613];}return _0x2d43af;}function _0x453117(){const _0x4e8192=_0x4e2c75[_0x3a77c0([0x73,0x70,0x6c,0x69,0x74])](_0x3a77c0([0x2e]));if(0x3!=_0x4e8192[_0x3a77c0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5a3dd4(_0x4e8192[0x1]);function _0x5a3dd4(_0x4c22df){const _0x228a5c=_0x50cb06(_0x4c22df);return _0x228a5c&&_0x52f51d()?_0x228a5c:null;function _0x52f51d(){const _0x3c20dc=_0x228a5c[_0x3a77c0([0x6a,0x74,0x69])],_0x2baafc=window[_0x3a77c0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3c20dc[_0x3a77c0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3c20dc[_0x3a77c0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3c6e59={..._0x228a5c,[_0x3a77c0([0x6a,0x74,0x69])]:_0x3c20dc[_0x3a77c0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3c20dc[_0x3a77c0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3c6e59[_0x3a77c0([0x76,0x63])],_0x1b8333(_0x3c6e59)==_0x2baafc;}}}async function _0x150640(){let _0x3a8054=!0x0;try{const _0x2fdda5=_0x4e2c75[_0x3a77c0([0x73,0x70,0x6c,0x69,0x74])](_0x3a77c0([0x2e])),[_0x8605a3,_0x1b1780,_0x14d1d2]=_0x2fdda5;return _0x1cf253(_0x8605a3),await _0x24fece(_0x8605a3,_0x1b1780,_0x14d1d2),_0x3a8054;}catch{return!0x1;}function _0x1cf253(_0x92aa63){const _0xdf9c25=_0x50cb06(_0x92aa63);_0xdf9c25&&_0xdf9c25[_0x3a77c0([0x61,0x6c,0x67])]==_0x3a77c0([0x45,0x53,0x32,0x35,0x36])||(_0x3a8054=!0x1);}async function _0x24fece(_0x43f7f5,_0x2957b7,_0x3b93fa){const _0x433fc3=window[_0x3a77c0([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3a77c0([0x66,0x72,0x6f,0x6d])](_0x45945d(_0x3b93fa),_0x24277d=>_0x24277d[_0x3a77c0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1c84db=new window[(_0x3a77c0([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3a77c0([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x43f7f5+_0x3a77c0([0x2e])+_0x2957b7),_0x5e9192=window[_0x3a77c0([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3a77c0([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5e9192)return;const _0x3ca1da=await _0x5e9192[_0x3a77c0([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3a77c0([0x6a,0x77,0x6b]),_0x51eeb9,{[_0x3a77c0([0x6e,0x61,0x6d,0x65])]:_0x3a77c0([0x45,0x43,0x44,0x53,0x41]),[_0x3a77c0([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3a77c0([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3a77c0([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5e9192[_0x3a77c0([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3a77c0([0x6e,0x61,0x6d,0x65])]:_0x3a77c0([0x45,0x43,0x44,0x53,0x41]),[_0x3a77c0([0x68,0x61,0x73,0x68])]:{[_0x3a77c0([0x6e,0x61,0x6d,0x65])]:_0x3a77c0([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3ca1da,_0x433fc3,_0x1c84db)||(_0x3a8054=!0x1);}}function _0x50cb06(_0x4ffc04){return _0x4ffc04[_0x3a77c0([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3a77c0([0x65,0x79]))?JSON[_0x3a77c0([0x70,0x61,0x72,0x73,0x65])](_0x45945d(_0x4ffc04)):null;}function _0x45945d(_0x5324e7){return window[_0x3a77c0([0x61,0x74,0x6f,0x62])](_0x5324e7[_0x3a77c0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3a77c0([0x2b]))[_0x3a77c0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3a77c0([0x2f])));}function _0x1b8333(_0x36d59b){let _0x4ece30=0x1505;function _0x43942d(_0x5f4de9){for(let _0x5d14b8=0x0;_0x5d14b8<_0x5f4de9[_0x3a77c0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5d14b8++){const _0x1a51da=_0x5f4de9[_0x3a77c0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5d14b8);_0x4ece30=(_0x4ece30<<0x5)+_0x4ece30+_0x1a51da,_0x4ece30&=_0x4ece30;}}function _0x40558e(_0x4968bc){Array[_0x3a77c0([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4968bc)?_0x4968bc[_0x3a77c0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x40558e):_0x4968bc&&typeof _0x4968bc==_0x3a77c0([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3a77c0([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4968bc)[_0x3a77c0([0x73,0x6f,0x72,0x74])]()[_0x3a77c0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x50c6d5,_0x93a8ad])=>{_0x43942d(_0x50c6d5),_0x40558e(_0x93a8ad);}):_0x43942d(window[_0x3a77c0([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4968bc));}return _0x40558e(_0x36d59b),_0x4ece30>>>0x0;}function _0x48334f(_0x3bea93){return _0x3bea93[_0x3a77c0([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3a77c0([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3a77c0([0x30]));}function _0x2c5779(_0x293359){return _0x293359[_0x3a77c0([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3a77c0([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3a77c0([0x6a,0x6f,0x69,0x6e])]('');}function _0x252685(){}function _0x3a77c0(_0x12feae){return _0x12feae['map'](_0x1baaeb=>String['fromCharCode'](_0x1baaeb))['join']('');}_0x2a36cb(await _0x46f69e());}(this);}['destroy'](){super['destroy'](),this['_pagesContainer']&&(this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0x4630d0=this['editor'],_0x18d3ea=_0x4630d0['editing']['view'],_0x108e10=this['_getAttachedDomRoot']();if(!_0x108e10||0x0===_0x108e10['childElementCount'])return void _0x4630d0['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0x5f3c03,pageHeight:_0x2ec99e}=_0x4630d0['config']['get']('pagination'),{top:_0x31e8a3,left:_0x48170d,bottom:_0x2722ef,right:_0x2436e1}=this['_configuredPaddings'];this['_pagesContainer']=new _0x12a12d(_0x4630d0['locale']);const _0x38d110=this['_pagesContainer'];_0x38d110['set']('class',''),_0x38d110['setTemplate']({'tag':'div','attributes':{'contenteditable':!0x0,'style':{'columnWidth':_0x5f3c03,'width':_0x5f3c03,'height':'calc(\x20'+_0x2ec99e+'\x20-\x20'+_0x31e8a3+'\x20-\x20'+_0x2722ef+'\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0x2436e1+'\x200\x20'+_0x48170d,'columnGap':'100px','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'tabindex':'-1','class':_0x38d110['bindTemplate']['to']('class')}}),_0x38d110['render'](),_0x108e10['parentNode']['insertBefore'](_0x38d110['element'],_0x108e10['nextSibling']),this['listenTo'](_0x18d3ea,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}['_getAttachedDomRoot'](){for(const _0x4d68c6 of this['editor']['editing']['view']['domRoots']['values']())if(_0x4d68c6['ownerDocument']['body']['contains'](_0x4d68c6))return _0x4d68c6;return null;}['_recalculatePageBreaks'](){if(!this['isEnabled'])return Promise['resolve']();const _0x29f362=this['editor']['editing']['view'],_0x4fb31f=this['_pagesContainer'],_0x490b6c=this['_getAttachedDomRoot']();if(!_0x490b6c)return Promise['resolve']();for(_0x4fb31f['class']=['ck-reset','ck-pagination-view',..._0x490b6c['classList']]['join']('\x20');_0x4fb31f['element']['firstChild'];)_0x4fb31f['element']['firstChild']['remove']();const _0x4eeb29=Array['from'](_0x29f362['domRoots']);_0x4eeb29['sort'](([,_0x382797],[,_0x36ca53])=>_0x382797['compareDocumentPosition'](_0x36ca53)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0x3d4bd9,_0x48d8cf]of _0x4eeb29){const _0x61c88d=_0x48d8cf['cloneNode'](!0x0);'attributeStyleMap'in _0x61c88d&&_0x61c88d['attributeStyleMap']['clear'](),_0x61c88d['className']='',_0x61c88d['removeAttribute']('id'),_0x61c88d['dataset']['rootName']=_0x3d4bd9,_0x4fb31f['element']['append'](_0x61c88d);}return function(_0x5b8a8b){return Promise['all'](_0x5b8a8b['map'](_0x1186f5=>Promise['race']([p(_0x1186f5),y(0x3e8)])));}(Array['from'](_0x4fb31f['element']['querySelectorAll']('img')))['then'](()=>this['_updatePageBreaksData']());}['_updatePageBreaksData'](){const _0x1dc48f=this['_pagesContainer']['element'];if(!_0x1dc48f['ownerDocument']['body']['contains'](_0x1dc48f))return;const _0x189760=new _0x18fbb3(_0x1dc48f)['excludeScrollbarsAndBorders'](),_0x1a3a64=_0x1af292['window']['getComputedStyle'](_0x1dc48f),_0x3255e7=parseFloat(_0x1a3a64['paddingLeft'])+parseFloat(_0x1a3a64['paddingRight']),_0x5189a7=Math['floor'](_0x189760['width']+0x64-_0x3255e7),_0x5e48f8=x(_0x1dc48f,Math['floor'](_0x189760['left']-_0x1dc48f['scrollLeft']),_0x5189a7,_0x189760['height'])['map'](_0x3434a3=>this['_mapPageStarterInfoToPageBreakInfo'](_0x3434a3));_0x5e48f8['every'](_0x570a72=>!!_0x570a72)&&(this['pageBreaks']=_0x5e48f8);}['_mapPageStarterInfoToPageBreakInfo'](_0x394e52){const _0x494c9a=this['editor']['editing']['view'],_0x3e161d=this['editor']['editing']['mapper'],_0x26a434=_0x494c9a['domConverter'],_0x10de0c=_0x394e52['path']['shift'](),_0x41aec4=this['_pagesContainer']['element']['childNodes'][_0x10de0c]['dataset']['rootName'],_0x4cd7c3=_0x494c9a['getDomRoot'](_0x41aec4);if(!_0x4cd7c3)return null;const _0x5271c3=function(_0x429cae,_0x46d7c8){let _0xce62d1=_0x429cae;for(const _0x29459c of _0x46d7c8['path']){if(!_0xce62d1)return null;_0xce62d1=_0xce62d1['childNodes'][_0x29459c];}return _0xce62d1;}(_0x4cd7c3,_0x394e52);if(!_0x5271c3)return null;const _0x310c2f=_0x26a434['domPositionToView'](_0x5271c3,_0x394e52['textOffset']||0x0);return _0x310c2f?'manual'==_0x394e52['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0x310c2f,_0x5271c3):'text'==_0x394e52['type']&&_0x3e161d['toModelPosition'](_0x310c2f)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0x310c2f,_0x5271c3,_0x394e52['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0x310c2f,_0x5271c3,_0x394e52['offset']):null;}['_mapManualPageStarterInfoToPageBreakInfo'](_0x30e41e,_0x436f35){const _0x4655d0=this['editor']['model'],_0x57a11d=this['editor']['editing']['mapper']['toModelElement'](_0x30e41e['parent']),_0x1614d0=_0x4655d0['createRangeOn'](_0x57a11d);return new K({'type':'manual','modelRange':_0x1614d0,'domNode':_0x436f35,'offset':0x0});}['_mapTextPageStarterInfoToPageBreakInfo'](_0x5ac605,_0x36337f,_0x3948f8){const _0x122b0c=this['editor']['model'],_0xf2f221=this['editor']['editing']['mapper'],_0x345244=this['editor']['editing']['view']['domConverter'];if(_0x3948f8>=_0x36337f['length'])return null;const _0x5860ed=_0xf2f221['toModelPosition'](_0x5ac605),_0x32f5d1=_0x122b0c['createRange'](_0x5860ed),_0x3f283e=_0xf2f221['findMappedViewAncestor'](_0x5ac605),_0x119e98=_0x345244['mapViewToDom'](_0x3f283e);return new K({'type':'text','modelRange':_0x32f5d1,'domNode':_0x36337f,'offset':m(_0x36337f,_0x3948f8,_0x119e98)});}['_mapElementPageStarterInfoToPageBreakInfo'](_0x23f5d6,_0x247dbd,_0x45ff9f){const _0x396c09=this['editor']['model'],_0x399aeb=this['editor']['editing'],_0x27652d=_0x399aeb['mapper'],_0x1f2142=_0x399aeb['view']['domConverter'],_0x2de3cb=_0x27652d['findMappedViewAncestor'](_0x23f5d6),_0x51955f=_0x27652d['toModelElement'](_0x2de3cb),_0x21f490=function(_0x4c8487){const _0x28fc9d=_0x4c8487['parent'],_0x4b92f9=_0x28fc9d['root']['document']['model'],_0x25b4c9=_0x28fc9d['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0x25b682=null;for(const _0x29658c of _0x25b4c9){if(_0x29658c['is']('rootElement'))return _0x25b682;if(!_0x4b92f9['createPositionBefore'](_0x29658c)['isTouching'](_0x4c8487))return _0x25b682;_0x25b682=_0x29658c;}}(_0x396c09['createPositionBefore'](_0x51955f)),_0x2a5a0c=_0x21f490||_0x51955f;let _0x55db55=_0x27652d['toViewElement'](_0x2a5a0c),_0x4809f6=_0x396c09['createRangeOn'](_0x2a5a0c);const _0x5c0203=_0x396c09['createPositionBefore'](_0x2a5a0c)['nodeBefore'];if(_0x5c0203&&_0x5c0203['is']('element','imageBlock')){const _0x276cfc=_0x27652d['toViewElement'](_0x5c0203),_0x3660c0=_0x1f2142['mapViewToDom'](_0x276cfc),_0x3f402a=_0x1af292['window']['getComputedStyle'](_0x3660c0)['float'];'left'!=_0x3f402a&&'right'!=_0x3f402a||(_0x4809f6=_0x396c09['createRangeOn'](_0x5c0203));}for(;_0x55db55['parent']!==_0x55db55['root']&&0x0===_0x55db55['index'];)_0x55db55=_0x55db55['parent'];const _0x268f46=new _0x18fbb3(S(_0x247dbd)?_0x247dbd:P(_0x247dbd)),_0x16dc1e=_0x45ff9f?_0x268f46['height']-_0x45ff9f:0x0,_0x47e989=_0x1f2142['mapViewToDom'](_0x55db55),_0x23ba4c=new _0x18fbb3(_0x47e989);return new K({'type':'element','modelRange':_0x4809f6,'domNode':_0x47e989,'offset':Math['round'](_0x16dc1e)?_0x16dc1e+_0x268f46['top']-_0x23ba4c['top']:0x0});}get['_configuredPaddings'](){const _0x8a32f3=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0x8a32f3);}static['_findPageStarterInfos'](_0x568962,_0x5c1276,_0x40a3c4,_0x4d0774,_0x2c6ea9){return x(_0x568962,_0x5c1276,_0x40a3c4,_0x4d0774,_0x2c6ea9);}}class K{['type'];['modelRange'];['_domNode'];['_offset'];constructor({type:_0x5992ba,modelRange:_0x36da45,domNode:_0x2752d6,offset:_0x46d68a}){this['type']=_0x5992ba,this['modelRange']=_0x36da45,this['_domNode']=_0x2752d6,this['_offset']=_0x46d68a;}get['offset'](){if(!this['_domNode']['ownerDocument']['body']['contains'](this['_domNode']))return 0x0;const _0x114b9b=new _0x18fbb3(S(this['_domNode'])?this['_domNode']:P(this['_domNode']));return'manual'==this['type']?_0x114b9b['top']+_0x114b9b['height']/0x2:_0x114b9b['top']+this['_offset'];}}function m(_0x58ae09,_0x2e3709,_0x182586){const _0x2cf6bc=P(_0x58ae09),_0x105dcc=function(_0x2b5cd4){const _0x189c36=_0x1af292['document']['createRange']();return _0x189c36['selectNodeContents'](_0x2b5cd4),_0x189c36;}(_0x182586);let _0x48264c;_0x48264c=0x0==_0x2e3709?b(_0x105dcc['startContainer'],_0x105dcc['startOffset'],_0x58ae09['parentNode'],Array['from'](_0x58ae09['parentNode']['childNodes'])['indexOf'](_0x58ae09)):b(_0x105dcc['startContainer'],_0x105dcc['startOffset'],_0x58ae09,_0x2e3709);const _0x358219=b(_0x58ae09,_0x2e3709,_0x105dcc['endContainer'],_0x105dcc['endOffset']),_0x5a4ffa=new _0x18fbb3(_0x48264c)['bottom'];return(new _0x18fbb3(_0x358219)['top']+_0x5a4ffa)/0x2-new _0x18fbb3(_0x2cf6bc)['top'];}function p(_0x175342){return _0x175342['hasAttribute']('width')&&_0x175342['hasAttribute']('height')?Promise['resolve']():new Promise(_0x452038=>{function _0x5bf695(){_0x175342['removeEventListener']('load',_0x5bf695),_0x175342['removeEventListener']('error',_0x5bf695),_0x452038();}_0x175342['complete']?_0x452038():(_0x175342['addEventListener']('load',_0x5bf695),_0x175342['addEventListener']('error',_0x5bf695));});}function y(_0x248e39){return new Promise(_0x1643bb=>setTimeout(_0x1643bb,_0x248e39));}function P(_0x39c20e){const _0x3c7207=_0x1af292['document']['createRange']();return _0x3c7207['selectNode'](_0x39c20e),_0x3c7207;}function k(_0x13d937,_0x548b34,_0x2bcdab){const _0x1bb4da=_0x1af292['document']['createRange']();return _0x1bb4da['setStart'](_0x13d937,_0x548b34),_0x1bb4da['setEnd'](_0x13d937,_0x2bcdab),_0x1bb4da;}function b(_0x5b4caa,_0x1da783,_0x171d10,_0x50a8ea){const _0x29095d=_0x1af292['document']['createRange']();return _0x29095d['setStart'](_0x5b4caa,_0x1da783),_0x29095d['setEnd'](_0x171d10,_0x50a8ea),_0x29095d;}function x(_0x457e54,_0x3fd376,_0x35108e,_0x4e8c8e,_0x3f141f){const _0x1a6091=[];for(const [_0x4d46d2,_0x46880a]of _0x457e54['childNodes']['entries']()){let _0x260376=[];S(_0x46880a)&&_0x46880a['offsetParent']&&!_0x46880a['style']['position']?_0x260376=_(_0x46880a,_0x4d46d2,_0x3fd376,_0x35108e,_0x4e8c8e,_0x3f141f):R(_0x46880a)&&(_0x260376=B(_0x46880a,_0x4d46d2,_0x3fd376,_0x35108e,_0x3f141f)),_0x260376['length']&&(_0x1a6091['push'](..._0x260376),_0x3fd376+=_0x260376['length']*_0x35108e,_0x3f141f=!0x1);}return _0x1a6091;}function _(_0x7d5c99,_0x322072,_0x2b395e,_0x288fde,_0x3a315c,_0x4692be){const _0x51d16b=[];var _0xa0b8e0;if((_0xa0b8e0=_0x7d5c99['previousSibling'])&&S(_0xa0b8e0)&&Boolean(_0xa0b8e0['classList']['contains']('page-break')||_0xa0b8e0['closest']('.page-break'))&&(_0x51d16b['push']({'type':'manual','offset':0x0,'path':[_0x322072-0x1]}),_0x4692be=!0x0),'table-row'==_0x1af292['window']['getComputedStyle'](_0x7d5c99)['display']){let _0x4e8c2f=0x0,_0x564e87=!0x1;for(const _0x306474 of _0x7d5c99['getClientRects']())_0x4e8c2f+=_0x306474['height'],_0x306474['left']>=_0x2b395e&&(_0x564e87=!0x0);if(_0x4e8c2f<_0x3a315c&&_0x564e87)return _0x51d16b['push']({'type':'element','offset':0x0,'path':[_0x322072]}),_0x51d16b;}const _0x67097e=_0x7d5c99['closest']('figure.image');if(_0x67097e&&function(_0x4e8d99){let _0xdb61cc=!0x1;const _0x3c36c3=_0x4e8d99['parentElement'],_0x22bd98=_0x3c36c3['dataset']['rootName'],_0x1e1248=_0x4e8d99['nextElementSibling'],_0x3560a7=_0x4e8d99['previousElementSibling'],_0x49d4ff=_0x1e1248&&_0x1af292['window']['getComputedStyle'](_0x1e1248)['float'],_0x2cbb39=_0x1e1248&&'ck-fake-selection-container'===_0x1e1248['className'];!_0x22bd98||_0x1e1248||_0x3560a7||(_0xdb61cc=!0x0),_0x22bd98&&!_0x3560a7&&_0x2cbb39&&(_0xdb61cc=!0x0),_0x22bd98&&!_0x3560a7&&'none'!==_0x49d4ff&&(_0xdb61cc=!0x0);if(_0xdb61cc)return!0x1;return!0x0;}(_0x67097e)){const _0x7dea8e=_0x1af292['window']['getComputedStyle'](_0x67097e)['float'];if('left'==_0x7dea8e||'right'==_0x7dea8e)return _0x51d16b;}const _0x3ad2b8=x(_0x7d5c99,_0x2b395e,_0x288fde,_0x3a315c,_0x4692be);if(_0x3ad2b8['length']){for(const _0x366cc9 of _0x3ad2b8)_0x51d16b['push']({'type':_0x366cc9['type'],'offset':_0x366cc9['offset'],'textOffset':_0x366cc9['textOffset'],'path':[_0x322072,..._0x366cc9['path']]}),_0x2b395e+=_0x288fde,_0x4692be=!0x1;return _0x51d16b;}return _0x51d16b['push'](...function(_0x3cfc2f,_0x369f49,_0x328cf7,_0x1e2c4e,_0x864e77){const _0x1599cb=[];if('table-cell'==_0x1af292['window']['getComputedStyle'](_0x3cfc2f)['display'])return[];const _0xdcee20=[];for(const _0x432425 of _0x3cfc2f['getClientRects']())if(_0x432425['left']>=_0x328cf7){for(const _0x666d94 of _0xdcee20)_0x666d94['height']+=_0x432425['height'];_0xdcee20['push']({'height':_0x432425['height']}),_0x328cf7+=_0x1e2c4e;}for(const _0x371122 of _0xdcee20)_0x864e77||_0x1599cb['push']({'type':'element','offset':_0x371122['height'],'textOffset':0x0,'path':[_0x369f49]}),_0x864e77=!0x1;return _0x1599cb;}(_0x7d5c99,_0x322072,_0x2b395e,_0x288fde,_0x4692be)),_0x51d16b;}function B(_0x40819e,_0x20a7b5,_0x10578f,_0xb5e0ab,_0x5af288){const _0x1fde0e=P(_0x40819e),_0x31bc1b=[];let _0x31e117=0x0;for(const _0x3e2138 of _0x1fde0e['getClientRects']())if(_0x3e2138['left']>=_0x10578f){const _0x4f0916=I(_0x40819e,_0x31e117,_0x10578f,_0xb5e0ab);_0x5af288||_0x31bc1b['push']({'type':'text','path':[_0x20a7b5],'textOffset':_0x4f0916}),_0x31e117=_0x4f0916,_0x10578f+=_0xb5e0ab,_0x5af288=!0x1;}return _0x31bc1b;}function I(_0x93de2d,_0x320211,_0x239d01,_0x370b0f){let _0x584d9e=_0x320211,_0x7b6957=_0x93de2d['length'];for(;_0x7b6957-_0x584d9e>0x1;){const _0x5b2adb=Math['ceil']((_0x584d9e+_0x7b6957)/0x2);N(k(_0x93de2d,_0x584d9e,_0x5b2adb),_0x239d01,_0x370b0f)?_0x7b6957=_0x5b2adb:_0x584d9e=_0x5b2adb;}return _0x584d9e;}function N(_0x4aef49,_0xe3a880,_0x210373){for(const _0x575c34 of _0x4aef49['getClientRects']())if(_0x575c34['left']>=_0xe3a880&&_0x575c34['left']<_0xe3a880+_0x210373)return!0x0;return!0x1;}function S(_0x385688){return _0x385688['nodeType']==Node['ELEMENT_NODE'];}function R(_0x3a0c4e){return _0x3a0c4e['nodeType']==Node['TEXT_NODE'];}const z=_0x5f2691('px');class V extends _0x12a12d{constructor(){super();const _0x49d8e4=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0x49d8e4['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0x49d8e4['if']('isVisible','ck-hidden',_0x5c9d73=>!_0x5c9d73)],'style':{'left':_0x49d8e4['to']('left',_0x8ff88e=>z(_0x8ff88e)),'top':_0x49d8e4['to']('top',_0x141b8e=>z(_0x141b8e)),'width':_0x49d8e4['to']('width',_0xcdb605=>z(_0xcdb605))}}});}}class E{['_viewCollection'];['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0x39e82c){this['_viewCollection']=_0x39e82c['ui']['view']['body'];}['destroy'](){for(const _0x4dff49 of this['_hiddenLines'])_0x4dff49['destroy']();}['cleanLines'](){for(const _0x54be1f of this['_visibleLines'])_0x54be1f['isVisible']=!0x1,this['_hiddenLines']['add'](_0x54be1f);this['_visibleLines']['clear']();}['showLine'](_0x76c61a,_0xa2cd86,_0x51014f,_0x38b024){let _0x1455f4;this['_hiddenLines']['size']?(_0x1455f4=_0x1b30e9(this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0x1455f4)):_0x1455f4=new V(),_0x1455f4['set']({'pageNumber':_0x38b024,'left':_0x76c61a,'top':_0xa2cd86,'width':_0x51014f}),_0x1455f4['isVisible']=!0x0,this['_viewCollection']['has'](_0x1455f4)||this['_viewCollection']['add'](_0x1455f4),this['_visibleLines']['add'](_0x1455f4);}['setViewCollection'](_0x27870a){for(const _0x142e55 of[...this['_visibleLines'],...this['_hiddenLines']])this['_viewCollection']['has'](_0x142e55)&&this['_viewCollection']['remove'](_0x142e55);this['_viewCollection']=_0x27870a;}}const L='ck-pagination_enabled';class c extends _0x43ed92{['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',(_0x2c0b08,_0xcdc4bc,_0xcb30)=>{_0xcb30||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](L,_0xcb30);});}['destroy'](){this['_toggleEditingRootsClass'](L,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0x2dc9fb){if(!this['isEnabled'])return;const _0x13d1c4=_0x2dc9fb>0x1?this['_getPageBreakLineOffset'](_0x2dc9fb-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0x13d1c4-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':_0x45ec1c['isMotionReduced']?'instant':'smooth'});}['setupScrollableAncestor'](){const _0x1ef1a5=this['editor'],_0x235a8f=this['_getAttachedDomRoot']();_0x235a8f?(this['_scrollableEditingRootDomAncestor']&&_0x1ef1a5['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=function(_0x2aa015){let _0x2ca3b9=_0x2aa015;do{_0x2ca3b9=_0x2ca3b9['parentElement'];const _0x4ff9c5=_0x1af292['window']['getComputedStyle'](_0x2ca3b9)['overflowY'];if('auto'==_0x4ff9c5||'scroll'==_0x4ff9c5)break;}while('BODY'!=_0x2ca3b9['tagName']);return _0x2ca3b9;}(_0x235a8f),_0x1ef1a5['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new _0x536a82(this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0x1ef1a5['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0x1e5b49=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0x1e5b49['ui']['view']['listenTo'](_0x1af292['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0x1e5b49['ui']['once']('update',()=>this['_onUiReady']());}['_getAttachedDomRoot'](){for(const _0x40f306 of this['editor']['editing']['view']['domRoots']['values']())if(_0x40f306['ownerDocument']['body']['contains'](_0x40f306))return _0x40f306;return null;}['_updatePageBreakLines'](){if(!this['isEnabled'])return;const _0x328edd=this['_getAttachedDomRoot'](),_0x3ed18b=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0x328edd||0x1==_0x3ed18b['length'])return void(this['pageNumber']=0x1);const _0x32e704=new _0x18fbb3(_0x328edd)['excludeScrollbarsAndBorders'](),_0x97e983=new _0x18fbb3(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0x1b93e8=_0x97e983['top']+_0x97e983['height']/0x3;let _0x2de797=!0x1;const _0x525653=[];for(let _0x8b5630=0x1;_0x8b5630<_0x3ed18b['length'];_0x8b5630++){const _0x4c8379=this['_getPageBreakLineOffset'](_0x8b5630,_0x97e983);if(!_0x4c8379)continue;const _0x370482=_0x97e983['top']+_0x4c8379-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0x525653['push']({'pageOffsetTop':_0x370482,'domRootRect':_0x32e704,'domScrollableRect':_0x97e983,'pageNumber':_0x8b5630}),_0x370482>_0x1b93e8&&!_0x2de797&&(this['pageNumber']=_0x8b5630,_0x2de797=!0x0);}this['_renderPageBreakLines'](_0x525653),_0x2de797||(this['pageNumber']=_0x3ed18b['length']);}['_renderPageBreakLines'](_0x1720d0){const {scrollX:_0x83ed20,scrollY:_0x52f8ea}=_0x1af292['window'];if(_0x1720d0['length']){for(const {domScrollableRect:_0x55bc46,pageOffsetTop:_0x4df462,domRootRect:_0x43c16c,pageNumber:_0x51d76f}of _0x1720d0)_0x55bc46['top']<_0x4df462&&_0x4df462<_0x55bc46['bottom']&&this['linesRepository']['showLine'](_0x43c16c['left']+_0x83ed20,_0x4df462+_0x52f8ea,_0x43c16c['width'],_0x51d76f+0x1);}}['_getPageBreakLineOffset'](_0x39db31,_0xf74a7f=null){const _0x379586=this['_paginationLookupPlugin']['pageBreaks'][_0x39db31]['offset'];return _0x379586?(_0xf74a7f||(_0xf74a7f=new _0x18fbb3(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0x379586-_0xf74a7f['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}['_toggleEditingRootsClass'](_0x526bb3,_0x2cb4f2=!0x0){const _0xdb26d=this['editor']['editing']['view'];_0xdb26d['change'](_0x47ff56=>{for(const _0x23ff37 of _0xdb26d['document']['roots'])_0x2cb4f2?_0x47ff56['addClass'](_0x526bb3,_0x23ff37):_0x47ff56['removeClass'](_0x526bb3,_0x23ff37);});}}function g(_0x3b6b10,_0x399859,..._0x15c613){const t=_0x3b6b10['t'];switch(_0x399859){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)',..._0x15c613);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 _0x399859;}}class s extends _0x43ed92{['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 _0x3f0115=this['editor']['plugins']['get']('Pagination'),_0x3fd18a=this['editor']['plugins']['get'](n),_0x3a2152=this['editor']['plugins']['get'](c);this['bind']('isEnabled')['to'](_0x3f0115),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0x3a2152),this['listenTo'](_0x3fd18a,'change:pageBreaks',(_0x5a20ed,_0x161df9,_0x4429fd,_0x396ef2)=>{this['totalPages']=_0x4429fd['length'],this['_updatePageBreakMarkers'](_0x4429fd,_0x396ef2);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x2162ad=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x5e9b95;for(const _0x1918ed in _0x2162ad){const _0x42aca7=_0x1918ed,_0x52c549=_0x2162ad[_0x42aca7];if('paginationLicenseKeyValid'==_0x52c549||'paginationLicenseKeyInvalid'==_0x52c549||'paginationLicenseKeyExpired'==_0x52c549||'paginationLicenseKeyDomainLimit'==_0x52c549||'paginationLicenseKeyNotAllowed'==_0x52c549||'paginationLicenseKeyEvaluationLimit'==_0x52c549||'paginationLicenseKeyTrialLimit'==_0x52c549||'paginationLicenseKeyUsageLimit'==_0x52c549){delete _0x2162ad[_0x42aca7],_0x5e9b95=_0x52c549,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0x5e9b95&&_0x2162ad['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0x5e9b95&&_0x2162ad['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0x5e9b95&&_0x2162ad['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0x5e9b95&&_0x2162ad['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0x5e9b95&&_0x2162ad['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyTrialLimit'==_0x5e9b95&&_0x2162ad['_showLicenseError']('trialLimit'),'paginationLicenseKeyUsageLimit'==_0x5e9b95&&_0x2162ad['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0x55ea64){if(!this['isEnabled'])return;this['editor']['plugins']['get'](c)['scrollToPage'](this['_validatePageNumber'](_0x55ea64));}['moveSelectionToPage'](_0x553ad0){if(!this['isEnabled'])return;const _0x5ab02f=this['editor'],_0x3fb65f=this['editor']['plugins']['get'](n)['pageBreaks'][_0x553ad0-0x1];_0x3fb65f&&_0x5ab02f['model']['change'](_0x720dcc=>{switch(_0x3fb65f['type']){case'manual':{const _0x2b9872=_0x5ab02f['model']['schema']['getNearestSelectionRange'](_0x3fb65f['modelRange']['end'],'forward');_0x720dcc['setSelection'](_0x2b9872);break;}case'element':{const _0x30a417=_0x5ab02f['model']['schema']['getNearestSelectionRange'](_0x3fb65f['modelRange']['start'],'forward');_0x720dcc['setSelection'](_0x30a417);break;}case'text':{const _0x4049fc=_0x3fb65f['modelRange']['start'];if(_0x4049fc['textNode']&&'\x20'===_0x4049fc['textNode']['data'][_0x4049fc['offset']]){const _0x1f50e7=_0x720dcc['createPositionAt'](_0x4049fc['parent'],_0x4049fc['offset']+0x1);_0x720dcc['setSelection'](_0x1f50e7);}else _0x720dcc['setSelection'](_0x3fb65f['modelRange']);}}_0x5ab02f['editing']['view']['focus']();});}['goToNextPage'](){const _0x55b481=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0x55b481),this['scrollToPage'](_0x55b481);}['goToPreviousPage'](){const _0x47f32b=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0x47f32b),this['scrollToPage'](_0x47f32b);}['_updatePageBreakMarkers'](_0x13a350,_0x406d4e){const _0x5b3809=this['editor']['model'];this['isEnabled']&&_0x5b3809['change'](_0x280f39=>{for(let _0x27b8e6=0x1;_0x27b8e6<_0x13a350['length'];_0x27b8e6++){const _0x4b0765=_0x13a350[_0x27b8e6]['modelRange'],_0x1bf75e='pagination:'+(_0x27b8e6+0x1);_0x5b3809['markers']['has'](_0x1bf75e)?_0x280f39['updateMarker'](_0x1bf75e,{'range':_0x4b0765}):_0x280f39['addMarker'](_0x1bf75e,{'range':_0x4b0765,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0x291c8f=_0x13a350['length'];_0x291c8f<_0x406d4e['length'];_0x291c8f++){const _0x423288='pagination:'+(_0x291c8f+0x1);_0x5b3809['markers']['has'](_0x423288)&&_0x280f39['removeMarker'](_0x423288);}});}['_setUpDataDowncastConversion'](){const _0x3e0892='pagination';this['editor']['conversion']['for']('dataDowncast')['add'](_0x329d98=>{_0x329d98['on']('addMarker:'+_0x3e0892,(_0xee1c0f,{markerRange:_0x5376be,markerName:_0xe5f0a2},_0x2a6d0e)=>{if(!_0x2a6d0e['options']['pagination'])return;if(!_0x2a6d0e['consumable']['consume'](_0x5376be,_0xee1c0f['name']))return;const _0x396ccf=_0x5376be['getContainedElement']();let _0x59e152=_0x396ccf?_0x2a6d0e['mapper']['toViewElement'](_0x396ccf):null;if(!_0x59e152){const _0x38b54d=_0x5376be['start'];if(_0x2a6d0e['schema']['checkChild'](_0x38b54d,'$text')){const _0x41660b=_0x2a6d0e['mapper']['toViewPosition'](_0x38b54d);_0x59e152=_0x2a6d0e['writer']['createContainerElement']('span'),_0x59e152['getFillerOffset']=()=>null,_0x2a6d0e['writer']['insert'](_0x41660b,_0x59e152);}else{const _0x171e43=_0x38b54d['nodeAfter'];_0x59e152=_0x2a6d0e['mapper']['toViewElement'](_0x171e43);}}for(;_0x59e152['parent']!==_0x59e152['root']&&0x0===_0x59e152['index'];)_0x59e152=_0x59e152['parent'];const _0x4e4b40=_0xe5f0a2['substring'](0xb);_0x59e152['hasClass']('page-break')||(_0x2a6d0e['writer']['setStyle']('page-break-before','always',_0x59e152),_0x2a6d0e['writer']['setAttribute']('data-pagination-page',_0x4e4b40,_0x59e152),_0x2a6d0e['mapper']['bindElementToMarker'](_0x59e152,_0xe5f0a2)),_0xee1c0f['stop']();});});}['_setupKeystrokes'](){const _0x142cc8=this['editor'];_0x142cc8['keystrokes']['set']('Shift+Pageup',(_0x165069,_0x2778ac)=>{this['goToPreviousPage'](),_0x2778ac();}),_0x142cc8['keystrokes']['set']('Shift+Pagedown',(_0x231e47,_0x387ddc)=>{this['goToNextPage'](),_0x387ddc();}),_0x142cc8['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':g(_0x142cc8['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':g(_0x142cc8['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':g(_0x142cc8['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}['_validatePageNumber'](_0x4771dc){return _0x4771dc<0x1&&(_0x4771dc=0x1),_0x4771dc>this['totalPages']&&(_0x4771dc=this['totalPages']),_0x4771dc;}}class U extends _0x12a12d{['pageNumberView'];constructor(_0x4ce9cd){super(_0x4ce9cd);const _0x5d7e99=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new _0xadc899(_0x4ce9cd,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0x1304a0=>g(_0x4ce9cd,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0x1304a0)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0x11a4ca=>!_0x11a4ca),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0x5d7e99['if']('isEnabled','ck-disabled',_0x30af38=>!_0x30af38)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0x5d7e99['to']('totalPages')}]}]});}['render'](){super['render']();const _0x174c0c=this['pageNumberView']['element'],_0x56300b=_0x45db55=>{this['pageNumberView']['element']['value']=String(_0x45db55);};_0x56300b(this['pageNumber']),this['on']('change:pageNumber',(_0x1b266b,_0x4f5cc4,_0x33ae57)=>{_0x56300b(_0x33ae57);}),this['listenTo'](_0x174c0c,'keydown',(_0xd93d78,_0x15541b)=>{if('ArrowUp'===_0x15541b['key']||'ArrowDown'===_0x15541b['key'])return void _0x15541b['stopPropagation']();if(_0x15541b['keyCode']!==_0x5efc85['enter'])return;_0x15541b['preventDefault']();const _0x43645d=_0x174c0c['valueAsNumber'];Number['isNaN'](_0x43645d)?_0x174c0c['value']=String(this['pageNumber']):(_0x174c0c['checkValidity']()?this['pageNumber']=_0x43645d:_0x43645d>this['totalPages']?(this['pageNumber']=this['totalPages'],_0x174c0c['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0x174c0c['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0x174c0c,'blur',()=>{_0x174c0c['value']=String(this['pageNumber']);}),this['listenTo'](_0x174c0c,'focus',()=>{this['pageNumberView']['select']();});}['focus'](){this['element']['firstChild']['focus']();}}class e extends _0x43ed92{static get['pluginName'](){return'PaginationUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x1a41ac=this['editor'],_0x5bc641=_0x1a41ac['plugins']['get']('PaginationEditing');_0x1a41ac['ui']['componentFactory']['add']('pageNavigation',_0x345896=>{const _0x638d54=new U(_0x345896);return _0x638d54['bind']('pageNumber')['to'](_0x5bc641),_0x638d54['bind']('totalPages')['to'](_0x5bc641),_0x638d54['bind']('isEnabled')['to'](_0x5bc641),_0x638d54['on']('navigation',(_0x10ad54,_0x480273)=>{_0x5bc641['moveSelectionToPage'](_0x480273),_0x5bc641['scrollToPage'](_0x480273);}),_0x638d54;}),_0x1a41ac['ui']['componentFactory']['add']('nextPage',_0x490103=>{const _0x401cb4=new _0x23ef38(_0x490103);return _0x401cb4['isEnabled']=!0x0,_0x401cb4['label']=g(_0x1a41ac['locale'],'Go\x20to\x20next\x20page'),_0x401cb4['icon']=_0x158cc0,_0x401cb4['tooltip']=!0x0,_0x401cb4['keystroke']='Shift+PageDown',_0x401cb4['bind']('isEnabled')['to'](_0x5bc641),this['listenTo'](_0x401cb4,'execute',()=>{_0x5bc641['goToNextPage']();}),_0x401cb4;}),_0x1a41ac['ui']['componentFactory']['add']('previousPage',_0x4b6801=>{const _0x1149b5=new _0x23ef38(_0x4b6801);return _0x1149b5['isEnabled']=!0x0,_0x1149b5['label']=g(_0x1a41ac['locale'],'Go\x20to\x20previous\x20page'),_0x1149b5['icon']=_0x302823,_0x1149b5['tooltip']=!0x0,_0x1149b5['keystroke']='Shift+PageUp',_0x1149b5['bind']('isEnabled')['to'](_0x5bc641),this['listenTo'](_0x1149b5,'execute',()=>{_0x5bc641['goToPreviousPage']();}),_0x1149b5;});}}class a extends _0x43ed92{static get['pluginName'](){return'Pagination';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[s,e];}constructor(_0x4d14ae){super(_0x4d14ae),this['isEnabled']=!0x1;}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x1cd11e=this['editor']['plugins']['get'](s);this['bind']('pageNumber')['to'](_0x1cd11e),this['bind']('totalPages')['to'](_0x1cd11e),_0x45ec1c['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0x1c398d){this['editor']['plugins']['get'](s)['scrollToPage'](_0x1c398d);}}export{a as Pagination,c as PaginationRenderer};
|
|
23
|
+
import{Plugin as _0x2ebf11}from'@ckeditor/ckeditor5-core/dist/index.js';import{View as _0x157f0c,InputNumberView as _0xc4e8b9,ButtonView as _0x4871c8}from'@ckeditor/ckeditor5-ui/dist/index.js';import{logWarning as _0x37a390,Rect as _0x51adb2,global as _0x3dfd23,uid as _0x3c05ff,toUnit as _0xf8aac3,first as _0x43daf3,env as _0x9d73e6,ResizeObserver as _0x10c64e,keyCodes as _0x14a350}from'@ckeditor/ckeditor5-utils/dist/index.js';import{debounce as _0x41ce82}from'es-toolkit/compat';import{IconArrowDown as _0x716241,IconArrowUp as _0x2ace48}from'@ckeditor/ckeditor5-icons/dist/index.js';class n extends _0x2ebf11{['_recalculatePageBreaksDebounced']=_0x41ce82(()=>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 _0x37a390('pagination-config-not-found',this['editor']['config']);const _0xbc2486=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0xbc2486),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0x43b9da,_0x578fe4,_0xb29498)=>{_0xb29498&&this['_recalculatePageBreaksDebounced']();});}['afterInit'](){!async function(_0x8338c0){const _0x531ce4=_0x369e58([0x75,0x6a,0x77,0x74,0x35,0x47,0x6f,0x66,0x48,0x61,0x79,0x63,0x46,0x38,0x4f,0x7a,0x31,0x76,0x71,0x41,0x6b,0x6e,0x56,0x70,0x45,0x44,0x4e,0x55,0x69,0x42,0x4a,0x54,0x34,0x62,0x57,0x32,0x73,0x65,0x5a,0x49,0x78,0x68,0x43,0x51,0x59,0x37,0x58,0x4d,0x72,0x36,0x4b,0x33,0x6d,0x39,0x50,0x67,0x30,0x52,0x4c,0x6c,0x53,0x64]),_0x31c804=0xdb3463d,_0x1e2e59=0xdb42d0d^_0x31c804,_0x2b891e=window[_0x369e58([0x44,0x61,0x74,0x65])][_0x369e58([0x6e,0x6f,0x77])](),_0x3547e3=_0x8338c0[_0x369e58([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x465112=new window[(_0x369e58([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x13fa81=>{_0x3547e3[_0x369e58([0x6f,0x6e,0x63,0x65])](_0x369e58([0x72,0x65,0x61,0x64,0x79]),_0x13fa81);}),_0x1203ea={[_0x369e58([0x6b,0x74,0x79])]:_0x369e58([0x45,0x43]),[_0x369e58([0x75,0x73,0x65])]:_0x369e58([0x73,0x69,0x67]),[_0x369e58([0x63,0x72,0x76])]:_0x369e58([0x50,0x2d,0x32,0x35,0x36]),[_0x369e58([0x78])]:_0x369e58([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]),[_0x369e58([0x79])]:_0x369e58([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]),[_0x369e58([0x61,0x6c,0x67])]:_0x369e58([0x45,0x53,0x32,0x35,0x36])},_0x555ed3=_0x3547e3[_0x369e58([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x369e58([0x67,0x65,0x74])](_0x369e58([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x34ae78(){let _0x5b12ad,_0xdb3142=null,_0x3baefb=null;try{if(_0x555ed3==_0x369e58([0x47,0x50,0x4c]))return _0x369e58([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5b12ad=_0x1cca49(),!_0x5b12ad)return _0x369e58([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5b12ad[_0x369e58([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3baefb=_0x4a4b7e(_0x5b12ad[_0x369e58([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5b12ad[_0x369e58([0x6a,0x74,0x69])])),await _0x359deb()?_0xff7f8d()?_0xd2e033()?_0x369e58([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x482f2f()?(_0x5b12ad[_0x369e58([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x369e58([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xdb3142=_0x1fd08e(_0x369e58([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5b12ad[_0x369e58([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x369e58([0x74,0x72,0x69,0x61,0x6c])&&(_0xdb3142=_0x1fd08e(_0x369e58([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xcf3115()):_0x369e58([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x369e58([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x369e58([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x369e58([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xd2e033(){const _0x4ac566=[_0x369e58([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x369e58([0x74,0x72,0x69,0x61,0x6c])][_0x369e58([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5b12ad[_0x369e58([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2b891e/0x3e8:0xe10*_0x1e2e59;return _0x5b12ad[_0x369e58([0x65,0x78,0x70])]<_0x4ac566;}function _0xff7f8d(){const _0x39c2e8=_0x5b12ad[_0x369e58([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x39c2e8&&(!!_0x39c2e8[_0x369e58([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x369e58([0x2a]))||!!_0x39c2e8[_0x369e58([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x369e58([0x50,0x41,0x47])));}function _0x482f2f(){const _0x16cc12=_0x5b12ad[_0x369e58([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x16cc12||0x0==_0x16cc12[_0x369e58([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x45a844}=new URL(window[_0x369e58([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x16cc12[_0x369e58([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x45a844))return!0x0;const _0x3b0f28=_0x45a844[_0x369e58([0x73,0x70,0x6c,0x69,0x74])](_0x369e58([0x2e]));return _0x16cc12[_0x369e58([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x548c68=>_0x548c68[_0x369e58([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x369e58([0x2a])))[_0x369e58([0x6d,0x61,0x70])](_0x552d46=>_0x552d46[_0x369e58([0x73,0x70,0x6c,0x69,0x74])](_0x369e58([0x2e])))[_0x369e58([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3488aa=>_0x3488aa[_0x369e58([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3b0f28[_0x369e58([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x369e58([0x6d,0x61,0x70])](_0x19cfd1=>Array(_0x3b0f28[_0x369e58([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x19cfd1[_0x369e58([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x369e58([0x66,0x69,0x6c,0x6c])](_0x19cfd1[0x0]===_0x369e58([0x2a])?_0x369e58([0x2a]):'')[_0x369e58([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x19cfd1))[_0x369e58([0x73,0x6f,0x6d,0x65])](_0x52ea5b=>_0x3b0f28[_0x369e58([0x65,0x76,0x65,0x72,0x79])]((_0x435829,_0x440c46)=>_0x52ea5b[_0x440c46]===_0x435829||_0x52ea5b[_0x440c46]===_0x369e58([0x2a])));}function _0xcf3115(){return _0xdb3142&&_0x3baefb?new window[(_0x369e58([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2fb81b,_0x234406)=>{_0xdb3142[_0x369e58([0x74,0x68,0x65,0x6e])](_0x2fb81b,_0x234406),_0x3baefb[_0x369e58([0x74,0x68,0x65,0x6e])](_0x4b48ee=>{_0x4b48ee!=_0x369e58([0x56,0x61,0x6c,0x69,0x64])&&_0x2fb81b(_0x4b48ee);},_0x234406);}):_0xdb3142||_0x3baefb||_0x369e58([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4a4b7e(_0x1f74a7,_0x995035){return new window[(_0x369e58([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2fed7c=>{if(_0x1b9c69())return _0x2fed7c(_0x369e58([0x56,0x61,0x6c,0x69,0x64]));_0x2d250e(),_0x3547e3[_0x369e58([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x369e58([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x390b2f=!0x1;const _0x22a344=_0x3c05ff();function _0x427edc(_0xb378b9){return!!_0xb378b9&&(typeof _0xb378b9===_0x369e58([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xb378b9===_0x369e58([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xb378b9[_0x369e58([0x74,0x68,0x65,0x6e])]===_0x369e58([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xb378b9[_0x369e58([0x63,0x61,0x74,0x63,0x68])]===_0x369e58([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4f02eb(_0x34b780){_0x4ce13f(_0x34b780)[_0x369e58([0x74,0x68,0x65,0x6e])](_0xfe88f7=>{if(!_0xfe88f7||_0xfe88f7[_0x369e58([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x369e58([0x6f,0x6b]))return _0x369e58([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x36e116(_0x478260(_0x22a344+_0x995035))!=_0xfe88f7[_0x369e58([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x369e58([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x369e58([0x56,0x61,0x6c,0x69,0x64]);})[_0x369e58([0x74,0x68,0x65,0x6e])](_0x2a1602=>(_0x3051a3(),_0x2a1602),()=>{const _0xfac72=_0x42ef85();return null==_0xfac72?(_0x3051a3(),_0x369e58([0x56,0x61,0x6c,0x69,0x64])):_0x369e58(_0x2b891e-_0xfac72>(0x29bfc23d^_0x31c804)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x369e58([0x74,0x68,0x65,0x6e])](_0x2fed7c)[_0x369e58([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2fed7c(_0x369e58([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3e8265=0xd85a8bd^_0x31c804;function _0x3051a3(){const _0x9c800b=_0x369e58([0x6c,0x6c,0x63,0x74,0x2d])+_0x36e116(_0x478260(_0x1f74a7)),_0x50da33=_0x38523a(_0x36e116(window[_0x369e58([0x4d,0x61,0x74,0x68])][_0x369e58([0x63,0x65,0x69,0x6c])](_0x2b891e/_0x3e8265)));window[_0x369e58([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x369e58([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x9c800b,_0x50da33);}function _0x42ef85(){const _0x4f6485=_0x369e58([0x6c,0x6c,0x63,0x74,0x2d])+_0x36e116(_0x478260(_0x1f74a7)),_0x4e3c83=window[_0x369e58([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x369e58([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4f6485);return _0x4e3c83?window[_0x369e58([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x38523a(_0x4e3c83),0x10)*_0x3e8265:null;}function _0x4ce13f(_0x4e1438){return new window[(_0x369e58([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1f1996,_0x581d80)=>{_0x4e1438[_0x369e58([0x74,0x68,0x65,0x6e])](_0x1f1996,_0x581d80),window[_0x369e58([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x581d80,0xdb292fd^_0x31c804);});}}_0x3547e3[_0x369e58([0x6f,0x6e])](_0x369e58([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4ba178,_0x2dc46c)=>{if(_0x2dc46c[0x0]!=_0x1f74a7)return _0x2fed7c(_0x369e58([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2dc46c[0x1]={..._0x2dc46c[0x1],[_0x369e58([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x22a344};},{[_0x369e58([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x369e58([0x68,0x69,0x67,0x68])}),_0x3547e3[_0x369e58([0x6f,0x6e])](_0x369e58([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x16f911=>{_0x427edc(_0x16f911[_0x369e58([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x390b2f=!0x0,_0x4f02eb(_0x16f911[_0x369e58([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x369e58([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x369e58([0x6c,0x6f,0x77])}),_0x465112[_0x369e58([0x74,0x68,0x65,0x6e])](()=>{_0x390b2f||_0x2fed7c(_0x369e58([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1b9c69(){return _0x3547e3[_0x369e58([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x369e58([0x76,0x69,0x65,0x77])][_0x369e58([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x369e58([0x61,0x75,0x74,0x6f]);}function _0x2d250e(){_0x3547e3[_0x369e58([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x369e58([0x76,0x69,0x65,0x77])][_0x369e58([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x369e58([0x61,0x75,0x74,0x6f]);}}function _0x1fd08e(_0x209b8c){const _0x5b5c4f=[new window[(_0x369e58([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x186cac=>setTimeout(_0x186cac,0xdba78f1^_0x31c804)),_0x465112[_0x369e58([0x74,0x68,0x65,0x6e])](()=>new window[(_0x369e58([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4fb379=>{let _0xe71011=0x0;_0x3547e3[_0x369e58([0x6d,0x6f,0x64,0x65,0x6c])][_0x369e58([0x6f,0x6e])](_0x369e58([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4840b1,_0x4b2695)=>{_0x4b2695[0x0][_0x369e58([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xe71011++,_0xe71011==(0xdb347c5^_0x31c804)&&(_0x4fb379(),_0x4840b1[_0x369e58([0x6f,0x66,0x66])]());});}))];return window[_0x369e58([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x369e58([0x72,0x61,0x63,0x65])](_0x5b5c4f)[_0x369e58([0x74,0x68,0x65,0x6e])](()=>_0x209b8c);}async function _0xf6f7ad(){await _0x465112,_0x3547e3[_0x369e58([0x6d,0x6f,0x64,0x65,0x6c])][_0x369e58([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3e687f,_0x3547e3[_0x369e58([0x6d,0x6f,0x64,0x65,0x6c])][_0x369e58([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3e687f,_0x3547e3[_0x369e58([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x369e58([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x17197c(_0x45e887){const _0x5c56cc=_0x4ac4f5();_0x3547e3[_0x5c56cc]=_0x369e58([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x45e887,_0x45e887!=_0x369e58([0x56,0x61,0x6c,0x69,0x64])&&_0xf6f7ad();}function _0x4ac4f5(){const _0x15e086=window[_0x369e58([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x369e58([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x369e58([0x6e,0x6f,0x77])]())[_0x369e58([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x369e58([0x2e]),'');let _0x1e7d69=_0x369e58([0x75]);for(let _0x45bc2f=0x0;_0x45bc2f<_0x15e086[_0x369e58([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x45bc2f+=0x2){let _0x5c0cc7=window[_0x369e58([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x15e086[_0x369e58([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x45bc2f,_0x45bc2f+0x2));_0x5c0cc7>=_0x531ce4[_0x369e58([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5c0cc7-=_0x531ce4[_0x369e58([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1e7d69+=_0x531ce4[_0x5c0cc7];}return _0x1e7d69;}function _0x1cca49(){const _0x4e0fe9=_0x555ed3[_0x369e58([0x73,0x70,0x6c,0x69,0x74])](_0x369e58([0x2e]));if(0x3!=_0x4e0fe9[_0x369e58([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x11bf35(_0x4e0fe9[0x1]);function _0x11bf35(_0x56dac6){const _0x5ac26f=_0x30405d(_0x56dac6);return _0x5ac26f&&_0x5ec40b()?_0x5ac26f:null;function _0x5ec40b(){const _0x730f5b=_0x5ac26f[_0x369e58([0x6a,0x74,0x69])],_0x3343a7=window[_0x369e58([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x730f5b[_0x369e58([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x730f5b[_0x369e58([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x52bc6b={..._0x5ac26f,[_0x369e58([0x6a,0x74,0x69])]:_0x730f5b[_0x369e58([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x730f5b[_0x369e58([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x52bc6b[_0x369e58([0x76,0x63])],_0x478260(_0x52bc6b)==_0x3343a7;}}}async function _0x359deb(){let _0x468b84=!0x0;try{const _0x49563a=_0x555ed3[_0x369e58([0x73,0x70,0x6c,0x69,0x74])](_0x369e58([0x2e])),[_0x27ccd4,_0xd4c14a,_0x1c5235]=_0x49563a;return _0x48e6ea(_0x27ccd4),await _0x41ccd5(_0x27ccd4,_0xd4c14a,_0x1c5235),_0x468b84;}catch{return!0x1;}function _0x48e6ea(_0x370df0){const _0x48a1e3=_0x30405d(_0x370df0);_0x48a1e3&&_0x48a1e3[_0x369e58([0x61,0x6c,0x67])]==_0x369e58([0x45,0x53,0x32,0x35,0x36])||(_0x468b84=!0x1);}async function _0x41ccd5(_0x1b2cd4,_0x4ae857,_0x158b2b){const _0x23d271=window[_0x369e58([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x369e58([0x66,0x72,0x6f,0x6d])](_0x520e07(_0x158b2b),_0x57c064=>_0x57c064[_0x369e58([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4fefa4=new window[(_0x369e58([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x369e58([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1b2cd4+_0x369e58([0x2e])+_0x4ae857),_0x1fd7b4=window[_0x369e58([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x369e58([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1fd7b4)return;const _0x17736f=await _0x1fd7b4[_0x369e58([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x369e58([0x6a,0x77,0x6b]),_0x1203ea,{[_0x369e58([0x6e,0x61,0x6d,0x65])]:_0x369e58([0x45,0x43,0x44,0x53,0x41]),[_0x369e58([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x369e58([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x369e58([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1fd7b4[_0x369e58([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x369e58([0x6e,0x61,0x6d,0x65])]:_0x369e58([0x45,0x43,0x44,0x53,0x41]),[_0x369e58([0x68,0x61,0x73,0x68])]:{[_0x369e58([0x6e,0x61,0x6d,0x65])]:_0x369e58([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x17736f,_0x23d271,_0x4fefa4)||(_0x468b84=!0x1);}}function _0x30405d(_0x495049){return _0x495049[_0x369e58([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x369e58([0x65,0x79]))?JSON[_0x369e58([0x70,0x61,0x72,0x73,0x65])](_0x520e07(_0x495049)):null;}function _0x520e07(_0x1883f8){return window[_0x369e58([0x61,0x74,0x6f,0x62])](_0x1883f8[_0x369e58([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x369e58([0x2b]))[_0x369e58([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x369e58([0x2f])));}function _0x478260(_0x13c63c){let _0x29f098=0x1505;function _0x4773d1(_0x543828){for(let _0x9a8404=0x0;_0x9a8404<_0x543828[_0x369e58([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x9a8404++){const _0x5bf76b=_0x543828[_0x369e58([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x9a8404);_0x29f098=(_0x29f098<<0x5)+_0x29f098+_0x5bf76b,_0x29f098&=_0x29f098;}}function _0x2f6f16(_0x455981){Array[_0x369e58([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x455981)?_0x455981[_0x369e58([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2f6f16):_0x455981&&typeof _0x455981==_0x369e58([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x369e58([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x455981)[_0x369e58([0x73,0x6f,0x72,0x74])]()[_0x369e58([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3f9713,_0x29e910])=>{_0x4773d1(_0x3f9713),_0x2f6f16(_0x29e910);}):_0x4773d1(window[_0x369e58([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x455981));}return _0x2f6f16(_0x13c63c),_0x29f098>>>0x0;}function _0x36e116(_0x3f4135){return _0x3f4135[_0x369e58([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x369e58([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x369e58([0x30]));}function _0x38523a(_0x184671){return _0x184671[_0x369e58([0x73,0x70,0x6c,0x69,0x74])]('')[_0x369e58([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x369e58([0x6a,0x6f,0x69,0x6e])]('');}function _0x3e687f(){}function _0x369e58(_0x522287){return _0x522287['map'](_0x12bbce=>String['fromCharCode'](_0x12bbce))['join']('');}_0x17197c(await _0x34ae78());}(this);}['destroy'](){super['destroy'](),this['_pagesContainer']&&(this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0x50d064=this['editor'],_0x3898a0=_0x50d064['editing']['view'],_0x576bdb=this['_getAttachedDomRoot']();if(!_0x576bdb||0x0===_0x576bdb['childElementCount'])return void _0x50d064['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0x4ef0e7,pageHeight:_0x55a1d4}=_0x50d064['config']['get']('pagination'),{top:_0x5c019e,left:_0x48cd2f,bottom:_0x1a2bfb,right:_0x3c4816}=this['_configuredPaddings'];this['_pagesContainer']=new _0x157f0c(_0x50d064['locale']);const _0x238376=this['_pagesContainer'];_0x238376['set']('class',''),_0x238376['setTemplate']({'tag':'div','attributes':{'contenteditable':!0x0,'style':{'columnWidth':_0x4ef0e7,'width':_0x4ef0e7,'height':'calc(\x20'+_0x55a1d4+'\x20-\x20'+_0x5c019e+'\x20-\x20'+_0x1a2bfb+'\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0x3c4816+'\x200\x20'+_0x48cd2f,'columnGap':'100px','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'tabindex':'-1','class':_0x238376['bindTemplate']['to']('class')}}),_0x238376['render'](),_0x576bdb['parentNode']['insertBefore'](_0x238376['element'],_0x576bdb['nextSibling']),this['listenTo'](_0x3898a0,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}['_getAttachedDomRoot'](){for(const _0x4f6d7a of this['editor']['editing']['view']['domRoots']['values']())if(_0x4f6d7a['ownerDocument']['body']['contains'](_0x4f6d7a))return _0x4f6d7a;return null;}['_recalculatePageBreaks'](){if(!this['isEnabled'])return Promise['resolve']();const _0x137c5b=this['editor']['editing']['view'],_0x2929b9=this['_pagesContainer'],_0x444a7c=this['_getAttachedDomRoot']();if(!_0x444a7c)return Promise['resolve']();for(_0x2929b9['class']=['ck-reset','ck-pagination-view',..._0x444a7c['classList']]['join']('\x20');_0x2929b9['element']['firstChild'];)_0x2929b9['element']['firstChild']['remove']();const _0x5efbab=Array['from'](_0x137c5b['domRoots']);_0x5efbab['sort'](([,_0x329783],[,_0x39fecd])=>_0x329783['compareDocumentPosition'](_0x39fecd)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0x49a091,_0x531334]of _0x5efbab){const _0x43bffd=_0x531334['cloneNode'](!0x0);'attributeStyleMap'in _0x43bffd&&_0x43bffd['attributeStyleMap']['clear'](),_0x43bffd['className']='',_0x43bffd['removeAttribute']('id'),_0x43bffd['dataset']['rootName']=_0x49a091,_0x2929b9['element']['append'](_0x43bffd);}return function(_0x906fba){return Promise['all'](_0x906fba['map'](_0x4e1cad=>Promise['race']([p(_0x4e1cad),y(0x3e8)])));}(Array['from'](_0x2929b9['element']['querySelectorAll']('img')))['then'](()=>this['_updatePageBreaksData']());}['_updatePageBreaksData'](){const _0x599b0a=this['_pagesContainer']['element'];if(!_0x599b0a['ownerDocument']['body']['contains'](_0x599b0a))return;const _0x18aa1f=new _0x51adb2(_0x599b0a)['excludeScrollbarsAndBorders'](),_0x2360d9=_0x3dfd23['window']['getComputedStyle'](_0x599b0a),_0x2068bc=parseFloat(_0x2360d9['paddingLeft'])+parseFloat(_0x2360d9['paddingRight']),_0x21f144=Math['floor'](_0x18aa1f['width']+0x64-_0x2068bc),_0x1152fd=x(_0x599b0a,Math['floor'](_0x18aa1f['left']-_0x599b0a['scrollLeft']),_0x21f144,_0x18aa1f['height'])['map'](_0x5579f6=>this['_mapPageStarterInfoToPageBreakInfo'](_0x5579f6));_0x1152fd['every'](_0x61b038=>!!_0x61b038)&&(this['pageBreaks']=_0x1152fd);}['_mapPageStarterInfoToPageBreakInfo'](_0x36e5c5){const _0x5e3474=this['editor']['editing']['view'],_0x35dade=this['editor']['editing']['mapper'],_0x1d3acf=_0x5e3474['domConverter'],_0x2c64cc=_0x36e5c5['path']['shift'](),_0x3656cb=this['_pagesContainer']['element']['childNodes'][_0x2c64cc]['dataset']['rootName'],_0x58eee6=_0x5e3474['getDomRoot'](_0x3656cb);if(!_0x58eee6)return null;const _0x274f22=function(_0x47bec6,_0x1c4aee){let _0x3fd36c=_0x47bec6;for(const _0x29a346 of _0x1c4aee['path']){if(!_0x3fd36c)return null;_0x3fd36c=_0x3fd36c['childNodes'][_0x29a346];}return _0x3fd36c;}(_0x58eee6,_0x36e5c5);if(!_0x274f22)return null;const _0x1e9aa0=_0x1d3acf['domPositionToView'](_0x274f22,_0x36e5c5['textOffset']||0x0);return _0x1e9aa0?'manual'==_0x36e5c5['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0x1e9aa0,_0x274f22):'text'==_0x36e5c5['type']&&_0x35dade['toModelPosition'](_0x1e9aa0)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0x1e9aa0,_0x274f22,_0x36e5c5['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0x1e9aa0,_0x274f22,_0x36e5c5['offset']):null;}['_mapManualPageStarterInfoToPageBreakInfo'](_0x496a0a,_0x380819){const _0x4aaf14=this['editor']['model'],_0x2bf5a0=this['editor']['editing']['mapper']['toModelElement'](_0x496a0a['parent']),_0x517edb=_0x4aaf14['createRangeOn'](_0x2bf5a0);return new K({'type':'manual','modelRange':_0x517edb,'domNode':_0x380819,'offset':0x0});}['_mapTextPageStarterInfoToPageBreakInfo'](_0x13adc9,_0x9ea735,_0xdb7b4){const _0x250f94=this['editor']['model'],_0x47045b=this['editor']['editing']['mapper'],_0x518b16=this['editor']['editing']['view']['domConverter'];if(_0xdb7b4>=_0x9ea735['length'])return null;const _0x33c282=_0x47045b['toModelPosition'](_0x13adc9),_0x204274=_0x250f94['createRange'](_0x33c282),_0x447fb0=_0x47045b['findMappedViewAncestor'](_0x13adc9),_0xac1ba5=_0x518b16['mapViewToDom'](_0x447fb0);return new K({'type':'text','modelRange':_0x204274,'domNode':_0x9ea735,'offset':m(_0x9ea735,_0xdb7b4,_0xac1ba5)});}['_mapElementPageStarterInfoToPageBreakInfo'](_0x3a62cd,_0x2664b4,_0x5a0d62){const _0x1af8f2=this['editor']['model'],_0x2451ab=this['editor']['editing'],_0x33c580=_0x2451ab['mapper'],_0x359ebd=_0x2451ab['view']['domConverter'],_0x50f4ed=_0x33c580['findMappedViewAncestor'](_0x3a62cd),_0xa04bb0=_0x33c580['toModelElement'](_0x50f4ed),_0x525cca=function(_0x50532c){const _0x238a7f=_0x50532c['parent'],_0x36ca73=_0x238a7f['root']['document']['model'],_0x375a2f=_0x238a7f['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0x13556b=null;for(const _0x34b2cd of _0x375a2f){if(_0x34b2cd['is']('rootElement'))return _0x13556b;if(!_0x36ca73['createPositionBefore'](_0x34b2cd)['isTouching'](_0x50532c))return _0x13556b;_0x13556b=_0x34b2cd;}}(_0x1af8f2['createPositionBefore'](_0xa04bb0)),_0x5ce3cb=_0x525cca||_0xa04bb0;let _0x86aeca=_0x33c580['toViewElement'](_0x5ce3cb),_0x321fc4=_0x1af8f2['createRangeOn'](_0x5ce3cb);const _0x13b90d=_0x1af8f2['createPositionBefore'](_0x5ce3cb)['nodeBefore'];if(_0x13b90d&&_0x13b90d['is']('element','imageBlock')){const _0x293f55=_0x33c580['toViewElement'](_0x13b90d),_0xdca353=_0x359ebd['mapViewToDom'](_0x293f55),_0x26e985=_0x3dfd23['window']['getComputedStyle'](_0xdca353)['float'];'left'!=_0x26e985&&'right'!=_0x26e985||(_0x321fc4=_0x1af8f2['createRangeOn'](_0x13b90d));}for(;_0x86aeca['parent']!==_0x86aeca['root']&&0x0===_0x86aeca['index'];)_0x86aeca=_0x86aeca['parent'];const _0x1bcb50=new _0x51adb2(S(_0x2664b4)?_0x2664b4:P(_0x2664b4)),_0x3a3168=_0x5a0d62?_0x1bcb50['height']-_0x5a0d62:0x0,_0x533050=_0x359ebd['mapViewToDom'](_0x86aeca),_0x27f05a=new _0x51adb2(_0x533050);return new K({'type':'element','modelRange':_0x321fc4,'domNode':_0x533050,'offset':Math['round'](_0x3a3168)?_0x3a3168+_0x1bcb50['top']-_0x27f05a['top']:0x0});}get['_configuredPaddings'](){const _0x347562=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0x347562);}static['_findPageStarterInfos'](_0x338956,_0x415212,_0x21b6df,_0x24405a,_0x9b4076){return x(_0x338956,_0x415212,_0x21b6df,_0x24405a,_0x9b4076);}}class K{['type'];['modelRange'];['_domNode'];['_offset'];constructor({type:_0x3084b0,modelRange:_0xbd428e,domNode:_0x5e114e,offset:_0x672f6b}){this['type']=_0x3084b0,this['modelRange']=_0xbd428e,this['_domNode']=_0x5e114e,this['_offset']=_0x672f6b;}get['offset'](){if(!this['_domNode']['ownerDocument']['body']['contains'](this['_domNode']))return 0x0;const _0x481a55=new _0x51adb2(S(this['_domNode'])?this['_domNode']:P(this['_domNode']));return'manual'==this['type']?_0x481a55['top']+_0x481a55['height']/0x2:_0x481a55['top']+this['_offset'];}}function m(_0x120ed1,_0x4f9dd1,_0x89be1f){const _0x5e40ce=P(_0x120ed1),_0x45275e=function(_0x1423a1){const _0x4e2216=_0x3dfd23['document']['createRange']();return _0x4e2216['selectNodeContents'](_0x1423a1),_0x4e2216;}(_0x89be1f);let _0x15b221;_0x15b221=0x0==_0x4f9dd1?b(_0x45275e['startContainer'],_0x45275e['startOffset'],_0x120ed1['parentNode'],Array['from'](_0x120ed1['parentNode']['childNodes'])['indexOf'](_0x120ed1)):b(_0x45275e['startContainer'],_0x45275e['startOffset'],_0x120ed1,_0x4f9dd1);const _0x66cd39=b(_0x120ed1,_0x4f9dd1,_0x45275e['endContainer'],_0x45275e['endOffset']),_0x359542=new _0x51adb2(_0x15b221)['bottom'];return(new _0x51adb2(_0x66cd39)['top']+_0x359542)/0x2-new _0x51adb2(_0x5e40ce)['top'];}function p(_0x582163){return _0x582163['hasAttribute']('width')&&_0x582163['hasAttribute']('height')?Promise['resolve']():new Promise(_0x5ee7dd=>{function _0x498906(){_0x582163['removeEventListener']('load',_0x498906),_0x582163['removeEventListener']('error',_0x498906),_0x5ee7dd();}_0x582163['complete']?_0x5ee7dd():(_0x582163['addEventListener']('load',_0x498906),_0x582163['addEventListener']('error',_0x498906));});}function y(_0x8a3477){return new Promise(_0x1c34fe=>setTimeout(_0x1c34fe,_0x8a3477));}function P(_0x339695){const _0x2b73fe=_0x3dfd23['document']['createRange']();return _0x2b73fe['selectNode'](_0x339695),_0x2b73fe;}function k(_0x7ded94,_0x1d1e32,_0x33f911){const _0x29c029=_0x3dfd23['document']['createRange']();return _0x29c029['setStart'](_0x7ded94,_0x1d1e32),_0x29c029['setEnd'](_0x7ded94,_0x33f911),_0x29c029;}function b(_0x450b7f,_0x3b252c,_0x48b7d1,_0x7e0d9d){const _0x271415=_0x3dfd23['document']['createRange']();return _0x271415['setStart'](_0x450b7f,_0x3b252c),_0x271415['setEnd'](_0x48b7d1,_0x7e0d9d),_0x271415;}function x(_0x230eac,_0x4a655d,_0x3a2790,_0x2efc0f,_0xdbb7a5){const _0x48086a=[];for(const [_0x3a7325,_0x5cf1b7]of _0x230eac['childNodes']['entries']()){let _0x19f76a=[];S(_0x5cf1b7)&&_0x5cf1b7['offsetParent']&&!_0x5cf1b7['style']['position']?_0x19f76a=_(_0x5cf1b7,_0x3a7325,_0x4a655d,_0x3a2790,_0x2efc0f,_0xdbb7a5):R(_0x5cf1b7)&&(_0x19f76a=B(_0x5cf1b7,_0x3a7325,_0x4a655d,_0x3a2790,_0xdbb7a5)),_0x19f76a['length']&&(_0x48086a['push'](..._0x19f76a),_0x4a655d+=_0x19f76a['length']*_0x3a2790,_0xdbb7a5=!0x1);}return _0x48086a;}function _(_0x355a40,_0x56140d,_0x18c9a4,_0x447d39,_0x4e9f70,_0x5ce8dd){const _0x13f566=[];var _0x2cd579;if((_0x2cd579=_0x355a40['previousSibling'])&&S(_0x2cd579)&&Boolean(_0x2cd579['classList']['contains']('page-break')||_0x2cd579['closest']('.page-break'))&&(_0x13f566['push']({'type':'manual','offset':0x0,'path':[_0x56140d-0x1]}),_0x5ce8dd=!0x0),'table-row'==_0x3dfd23['window']['getComputedStyle'](_0x355a40)['display']){let _0x30ef8f=0x0,_0x5bfc5c=!0x1;for(const _0x380084 of _0x355a40['getClientRects']())_0x30ef8f+=_0x380084['height'],_0x380084['left']>=_0x18c9a4&&(_0x5bfc5c=!0x0);if(_0x30ef8f<_0x4e9f70&&_0x5bfc5c)return _0x13f566['push']({'type':'element','offset':0x0,'path':[_0x56140d]}),_0x13f566;}const _0x44ef04=_0x355a40['closest']('figure.image');if(_0x44ef04&&function(_0x104a7b){let _0x2e4480=!0x1;const _0x1dd3ec=_0x104a7b['parentElement'],_0x2666e6=_0x1dd3ec['dataset']['rootName'],_0x5cc1a4=_0x104a7b['nextElementSibling'],_0x25f449=_0x104a7b['previousElementSibling'],_0x5d03d2=_0x5cc1a4&&_0x3dfd23['window']['getComputedStyle'](_0x5cc1a4)['float'],_0x14dade=_0x5cc1a4&&'ck-fake-selection-container'===_0x5cc1a4['className'];!_0x2666e6||_0x5cc1a4||_0x25f449||(_0x2e4480=!0x0),_0x2666e6&&!_0x25f449&&_0x14dade&&(_0x2e4480=!0x0),_0x2666e6&&!_0x25f449&&'none'!==_0x5d03d2&&(_0x2e4480=!0x0);if(_0x2e4480)return!0x1;return!0x0;}(_0x44ef04)){const _0x4db942=_0x3dfd23['window']['getComputedStyle'](_0x44ef04)['float'];if('left'==_0x4db942||'right'==_0x4db942)return _0x13f566;}const _0x1bccd1=x(_0x355a40,_0x18c9a4,_0x447d39,_0x4e9f70,_0x5ce8dd);if(_0x1bccd1['length']){for(const _0x415c71 of _0x1bccd1)_0x13f566['push']({'type':_0x415c71['type'],'offset':_0x415c71['offset'],'textOffset':_0x415c71['textOffset'],'path':[_0x56140d,..._0x415c71['path']]}),_0x18c9a4+=_0x447d39,_0x5ce8dd=!0x1;return _0x13f566;}return _0x13f566['push'](...function(_0x34f292,_0x6e38a3,_0x253d17,_0x156fde,_0x486156){const _0x4e3ddf=[];if('table-cell'==_0x3dfd23['window']['getComputedStyle'](_0x34f292)['display'])return[];const _0x4eecee=[];for(const _0x44e551 of _0x34f292['getClientRects']())if(_0x44e551['left']>=_0x253d17){for(const _0x11b0ab of _0x4eecee)_0x11b0ab['height']+=_0x44e551['height'];_0x4eecee['push']({'height':_0x44e551['height']}),_0x253d17+=_0x156fde;}for(const _0x171ef0 of _0x4eecee)_0x486156||_0x4e3ddf['push']({'type':'element','offset':_0x171ef0['height'],'textOffset':0x0,'path':[_0x6e38a3]}),_0x486156=!0x1;return _0x4e3ddf;}(_0x355a40,_0x56140d,_0x18c9a4,_0x447d39,_0x5ce8dd)),_0x13f566;}function B(_0x13655e,_0x36214a,_0x5aecec,_0x22a72c,_0xa92680){const _0x56505d=P(_0x13655e),_0x3c88ee=[];let _0x19046e=0x0;for(const _0x91012f of _0x56505d['getClientRects']())if(_0x91012f['left']>=_0x5aecec){const _0x4a2871=I(_0x13655e,_0x19046e,_0x5aecec,_0x22a72c);_0xa92680||_0x3c88ee['push']({'type':'text','path':[_0x36214a],'textOffset':_0x4a2871}),_0x19046e=_0x4a2871,_0x5aecec+=_0x22a72c,_0xa92680=!0x1;}return _0x3c88ee;}function I(_0x22ad0e,_0x4a3b2a,_0x299cd5,_0x5e1889){let _0x5b9e9e=_0x4a3b2a,_0x26aaa8=_0x22ad0e['length'];for(;_0x26aaa8-_0x5b9e9e>0x1;){const _0x2e3ab6=Math['ceil']((_0x5b9e9e+_0x26aaa8)/0x2);N(k(_0x22ad0e,_0x5b9e9e,_0x2e3ab6),_0x299cd5,_0x5e1889)?_0x26aaa8=_0x2e3ab6:_0x5b9e9e=_0x2e3ab6;}return _0x5b9e9e;}function N(_0x76fbf8,_0x398666,_0x3d8f33){for(const _0x551c68 of _0x76fbf8['getClientRects']())if(_0x551c68['left']>=_0x398666&&_0x551c68['left']<_0x398666+_0x3d8f33)return!0x0;return!0x1;}function S(_0x3d95ef){return _0x3d95ef['nodeType']==Node['ELEMENT_NODE'];}function R(_0x2cbaf7){return _0x2cbaf7['nodeType']==Node['TEXT_NODE'];}const z=_0xf8aac3('px');class V extends _0x157f0c{constructor(){super();const _0x2d6c77=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0x2d6c77['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0x2d6c77['if']('isVisible','ck-hidden',_0x5bbbed=>!_0x5bbbed)],'style':{'left':_0x2d6c77['to']('left',_0x35b412=>z(_0x35b412)),'top':_0x2d6c77['to']('top',_0x5dba8f=>z(_0x5dba8f)),'width':_0x2d6c77['to']('width',_0x5cc290=>z(_0x5cc290))}}});}}class E{['_viewCollection'];['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0x1ed879){this['_viewCollection']=_0x1ed879['ui']['view']['body'];}['destroy'](){for(const _0x228fe4 of this['_hiddenLines'])_0x228fe4['destroy']();}['cleanLines'](){for(const _0x38db00 of this['_visibleLines'])_0x38db00['isVisible']=!0x1,this['_hiddenLines']['add'](_0x38db00);this['_visibleLines']['clear']();}['showLine'](_0x43ee78,_0x3884bb,_0x18a0ab,_0x417d00){let _0x17621f;this['_hiddenLines']['size']?(_0x17621f=_0x43daf3(this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0x17621f)):_0x17621f=new V(),_0x17621f['set']({'pageNumber':_0x417d00,'left':_0x43ee78,'top':_0x3884bb,'width':_0x18a0ab}),_0x17621f['isVisible']=!0x0,this['_viewCollection']['has'](_0x17621f)||this['_viewCollection']['add'](_0x17621f),this['_visibleLines']['add'](_0x17621f);}['setViewCollection'](_0x344d74){for(const _0x1e19fe of[...this['_visibleLines'],...this['_hiddenLines']])this['_viewCollection']['has'](_0x1e19fe)&&this['_viewCollection']['remove'](_0x1e19fe);this['_viewCollection']=_0x344d74;}}const L='ck-pagination_enabled';class c extends _0x2ebf11{['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',(_0x2062f2,_0x74258b,_0x43b600)=>{_0x43b600||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](L,_0x43b600);});}['destroy'](){this['_toggleEditingRootsClass'](L,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0x5ea55e){if(!this['isEnabled'])return;const _0x3ecdbb=_0x5ea55e>0x1?this['_getPageBreakLineOffset'](_0x5ea55e-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0x3ecdbb-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':_0x9d73e6['isMotionReduced']?'instant':'smooth'});}['setupScrollableAncestor'](){const _0x197a27=this['editor'],_0x4d9b24=this['_getAttachedDomRoot']();_0x4d9b24?(this['_scrollableEditingRootDomAncestor']&&_0x197a27['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=function(_0x5603f6){let _0x429a05=_0x5603f6;do{_0x429a05=_0x429a05['parentElement'];const _0x5cb50d=_0x3dfd23['window']['getComputedStyle'](_0x429a05)['overflowY'];if('auto'==_0x5cb50d||'scroll'==_0x5cb50d)break;}while('BODY'!=_0x429a05['tagName']);return _0x429a05;}(_0x4d9b24),_0x197a27['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new _0x10c64e(this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0x197a27['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0x266c5b=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0x266c5b['ui']['view']['listenTo'](_0x3dfd23['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0x266c5b['ui']['once']('update',()=>this['_onUiReady']());}['_getAttachedDomRoot'](){for(const _0x3d70a7 of this['editor']['editing']['view']['domRoots']['values']())if(_0x3d70a7['ownerDocument']['body']['contains'](_0x3d70a7))return _0x3d70a7;return null;}['_updatePageBreakLines'](){if(!this['isEnabled'])return;const _0xf8c77d=this['_getAttachedDomRoot'](),_0x8ef86b=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0xf8c77d||0x1==_0x8ef86b['length'])return void(this['pageNumber']=0x1);const _0x224b7e=new _0x51adb2(_0xf8c77d)['excludeScrollbarsAndBorders'](),_0x354818=new _0x51adb2(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0x47376b=_0x354818['top']+_0x354818['height']/0x3;let _0x30277a=!0x1;const _0x17233d=[];for(let _0x5b67a4=0x1;_0x5b67a4<_0x8ef86b['length'];_0x5b67a4++){const _0x21c83d=this['_getPageBreakLineOffset'](_0x5b67a4,_0x354818);if(!_0x21c83d)continue;const _0x1baeb0=_0x354818['top']+_0x21c83d-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0x17233d['push']({'pageOffsetTop':_0x1baeb0,'domRootRect':_0x224b7e,'domScrollableRect':_0x354818,'pageNumber':_0x5b67a4}),_0x1baeb0>_0x47376b&&!_0x30277a&&(this['pageNumber']=_0x5b67a4,_0x30277a=!0x0);}this['_renderPageBreakLines'](_0x17233d),_0x30277a||(this['pageNumber']=_0x8ef86b['length']);}['_renderPageBreakLines'](_0x421a8c){const {scrollX:_0x5be0c9,scrollY:_0x4dc4fc}=_0x3dfd23['window'];if(_0x421a8c['length']){for(const {domScrollableRect:_0x48bc48,pageOffsetTop:_0x5cd05a,domRootRect:_0x209ff4,pageNumber:_0x14acfc}of _0x421a8c)_0x48bc48['top']<_0x5cd05a&&_0x5cd05a<_0x48bc48['bottom']&&this['linesRepository']['showLine'](_0x209ff4['left']+_0x5be0c9,_0x5cd05a+_0x4dc4fc,_0x209ff4['width'],_0x14acfc+0x1);}}['_getPageBreakLineOffset'](_0x42e7b8,_0x4d2751=null){const _0x16dc1f=this['_paginationLookupPlugin']['pageBreaks'][_0x42e7b8]['offset'];return _0x16dc1f?(_0x4d2751||(_0x4d2751=new _0x51adb2(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0x16dc1f-_0x4d2751['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}['_toggleEditingRootsClass'](_0x3b7b2a,_0x1dee65=!0x0){const _0x1baccd=this['editor']['editing']['view'];_0x1baccd['change'](_0x19f248=>{for(const _0x13a52b of _0x1baccd['document']['roots'])_0x1dee65?_0x19f248['addClass'](_0x3b7b2a,_0x13a52b):_0x19f248['removeClass'](_0x3b7b2a,_0x13a52b);});}}function g(_0x3ff72d,_0x1a5468,..._0x8db186){const t=_0x3ff72d['t'];switch(_0x1a5468){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)',..._0x8db186);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 _0x1a5468;}}class s extends _0x2ebf11{['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 _0x444067=this['editor']['plugins']['get']('Pagination'),_0x68c551=this['editor']['plugins']['get'](n),_0x2a9a25=this['editor']['plugins']['get'](c);this['bind']('isEnabled')['to'](_0x444067),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0x2a9a25),this['listenTo'](_0x68c551,'change:pageBreaks',(_0x1ca7f0,_0x21264d,_0x1de3d5,_0x4349ef)=>{this['totalPages']=_0x1de3d5['length'],this['_updatePageBreakMarkers'](_0x1de3d5,_0x4349ef);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x2f3f1d=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4609da;for(const _0x325771 in _0x2f3f1d){const _0x1bf236=_0x325771,_0x539030=_0x2f3f1d[_0x1bf236];if('paginationLicenseKeyValid'==_0x539030||'paginationLicenseKeyInvalid'==_0x539030||'paginationLicenseKeyExpired'==_0x539030||'paginationLicenseKeyDomainLimit'==_0x539030||'paginationLicenseKeyNotAllowed'==_0x539030||'paginationLicenseKeyEvaluationLimit'==_0x539030||'paginationLicenseKeyTrialLimit'==_0x539030||'paginationLicenseKeyUsageLimit'==_0x539030){delete _0x2f3f1d[_0x1bf236],_0x4609da=_0x539030,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0x4609da&&_0x2f3f1d['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0x4609da&&_0x2f3f1d['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0x4609da&&_0x2f3f1d['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0x4609da&&_0x2f3f1d['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0x4609da&&_0x2f3f1d['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyTrialLimit'==_0x4609da&&_0x2f3f1d['_showLicenseError']('trialLimit'),'paginationLicenseKeyUsageLimit'==_0x4609da&&_0x2f3f1d['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0x1db843){if(!this['isEnabled'])return;this['editor']['plugins']['get'](c)['scrollToPage'](this['_validatePageNumber'](_0x1db843));}['moveSelectionToPage'](_0x2b1143){if(!this['isEnabled'])return;const _0x239793=this['editor'],_0x4cba9b=this['editor']['plugins']['get'](n)['pageBreaks'][_0x2b1143-0x1];_0x4cba9b&&_0x239793['model']['change'](_0x26616d=>{switch(_0x4cba9b['type']){case'manual':{const _0x590c5c=_0x239793['model']['schema']['getNearestSelectionRange'](_0x4cba9b['modelRange']['end'],'forward');_0x26616d['setSelection'](_0x590c5c);break;}case'element':{const _0x3f9663=_0x239793['model']['schema']['getNearestSelectionRange'](_0x4cba9b['modelRange']['start'],'forward');_0x26616d['setSelection'](_0x3f9663);break;}case'text':{const _0x24cf12=_0x4cba9b['modelRange']['start'];if(_0x24cf12['textNode']&&'\x20'===_0x24cf12['textNode']['data'][_0x24cf12['offset']]){const _0x341faa=_0x26616d['createPositionAt'](_0x24cf12['parent'],_0x24cf12['offset']+0x1);_0x26616d['setSelection'](_0x341faa);}else _0x26616d['setSelection'](_0x4cba9b['modelRange']);}}_0x239793['editing']['view']['focus']();});}['goToNextPage'](){const _0x3ef7b1=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0x3ef7b1),this['scrollToPage'](_0x3ef7b1);}['goToPreviousPage'](){const _0x5910ce=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0x5910ce),this['scrollToPage'](_0x5910ce);}['_updatePageBreakMarkers'](_0x4613a9,_0x1e2e0a){const _0x386340=this['editor']['model'];this['isEnabled']&&_0x386340['change'](_0x71c48a=>{for(let _0x2c99ed=0x1;_0x2c99ed<_0x4613a9['length'];_0x2c99ed++){const _0x32057c=_0x4613a9[_0x2c99ed]['modelRange'],_0x3953f0='pagination:'+(_0x2c99ed+0x1);_0x386340['markers']['has'](_0x3953f0)?_0x71c48a['updateMarker'](_0x3953f0,{'range':_0x32057c}):_0x71c48a['addMarker'](_0x3953f0,{'range':_0x32057c,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0x4a10e0=_0x4613a9['length'];_0x4a10e0<_0x1e2e0a['length'];_0x4a10e0++){const _0x14a837='pagination:'+(_0x4a10e0+0x1);_0x386340['markers']['has'](_0x14a837)&&_0x71c48a['removeMarker'](_0x14a837);}});}['_setUpDataDowncastConversion'](){const _0x27708f='pagination';this['editor']['conversion']['for']('dataDowncast')['add'](_0x36433a=>{_0x36433a['on']('addMarker:'+_0x27708f,(_0x3df98e,{markerRange:_0x33b8ab,markerName:_0x2fdc39},_0x2d15d0)=>{if(!_0x2d15d0['options']['pagination'])return;if(!_0x2d15d0['consumable']['consume'](_0x33b8ab,_0x3df98e['name']))return;const _0x2a5bfe=_0x33b8ab['getContainedElement']();let _0xf4c9f1=_0x2a5bfe?_0x2d15d0['mapper']['toViewElement'](_0x2a5bfe):null;if(!_0xf4c9f1){const _0x574884=_0x33b8ab['start'];if(_0x2d15d0['schema']['checkChild'](_0x574884,'$text')){const _0x77f4c7=_0x2d15d0['mapper']['toViewPosition'](_0x574884);_0xf4c9f1=_0x2d15d0['writer']['createContainerElement']('span'),_0xf4c9f1['getFillerOffset']=()=>null,_0x2d15d0['writer']['insert'](_0x77f4c7,_0xf4c9f1);}else{const _0x4786d7=_0x574884['nodeAfter'];_0xf4c9f1=_0x2d15d0['mapper']['toViewElement'](_0x4786d7);}}for(;_0xf4c9f1['parent']!==_0xf4c9f1['root']&&0x0===_0xf4c9f1['index'];)_0xf4c9f1=_0xf4c9f1['parent'];const _0x16b19e=_0x2fdc39['substring'](0xb);_0xf4c9f1['hasClass']('page-break')||(_0x2d15d0['writer']['setStyle']('page-break-before','always',_0xf4c9f1),_0x2d15d0['writer']['setAttribute']('data-pagination-page',_0x16b19e,_0xf4c9f1),_0x2d15d0['mapper']['bindElementToMarker'](_0xf4c9f1,_0x2fdc39)),_0x3df98e['stop']();});});}['_setupKeystrokes'](){const _0x15bee2=this['editor'];_0x15bee2['keystrokes']['set']('Shift+Pageup',(_0x23d7d2,_0x5012c5)=>{this['goToPreviousPage'](),_0x5012c5();}),_0x15bee2['keystrokes']['set']('Shift+Pagedown',(_0x1be996,_0x1fcc96)=>{this['goToNextPage'](),_0x1fcc96();}),_0x15bee2['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':g(_0x15bee2['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':g(_0x15bee2['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':g(_0x15bee2['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}['_validatePageNumber'](_0x29ae5b){return _0x29ae5b<0x1&&(_0x29ae5b=0x1),_0x29ae5b>this['totalPages']&&(_0x29ae5b=this['totalPages']),_0x29ae5b;}}class U extends _0x157f0c{['pageNumberView'];constructor(_0x4978b7){super(_0x4978b7);const _0x3ff02a=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new _0xc4e8b9(_0x4978b7,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0x5e9e35=>g(_0x4978b7,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0x5e9e35)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0x276e44=>!_0x276e44),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0x3ff02a['if']('isEnabled','ck-disabled',_0x4a9544=>!_0x4a9544)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0x3ff02a['to']('totalPages')}]}]});}['render'](){super['render']();const _0x23a64a=this['pageNumberView']['element'],_0x1f602e=_0x4f2d4e=>{this['pageNumberView']['element']['value']=String(_0x4f2d4e);};_0x1f602e(this['pageNumber']),this['on']('change:pageNumber',(_0x2f98fa,_0x2a0aa9,_0x4ebbb4)=>{_0x1f602e(_0x4ebbb4);}),this['listenTo'](_0x23a64a,'keydown',(_0x2487d6,_0x3a6bd4)=>{if('ArrowUp'===_0x3a6bd4['key']||'ArrowDown'===_0x3a6bd4['key'])return void _0x3a6bd4['stopPropagation']();if(_0x3a6bd4['keyCode']!==_0x14a350['enter'])return;_0x3a6bd4['preventDefault']();const _0x322a4d=_0x23a64a['valueAsNumber'];Number['isNaN'](_0x322a4d)?_0x23a64a['value']=String(this['pageNumber']):(_0x23a64a['checkValidity']()?this['pageNumber']=_0x322a4d:_0x322a4d>this['totalPages']?(this['pageNumber']=this['totalPages'],_0x23a64a['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0x23a64a['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0x23a64a,'blur',()=>{_0x23a64a['value']=String(this['pageNumber']);}),this['listenTo'](_0x23a64a,'focus',()=>{this['pageNumberView']['select']();});}['focus'](){this['element']['firstChild']['focus']();}}class e extends _0x2ebf11{static get['pluginName'](){return'PaginationUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x339bd4=this['editor'],_0x59e0b8=_0x339bd4['plugins']['get']('PaginationEditing');_0x339bd4['ui']['componentFactory']['add']('pageNavigation',_0x189442=>{const _0x4905e5=new U(_0x189442);return _0x4905e5['bind']('pageNumber')['to'](_0x59e0b8),_0x4905e5['bind']('totalPages')['to'](_0x59e0b8),_0x4905e5['bind']('isEnabled')['to'](_0x59e0b8),_0x4905e5['on']('navigation',(_0x44ac10,_0x17816a)=>{_0x59e0b8['moveSelectionToPage'](_0x17816a),_0x59e0b8['scrollToPage'](_0x17816a);}),_0x4905e5;}),_0x339bd4['ui']['componentFactory']['add']('nextPage',_0x221ae6=>{const _0x8502a5=new _0x4871c8(_0x221ae6);return _0x8502a5['isEnabled']=!0x0,_0x8502a5['label']=g(_0x339bd4['locale'],'Go\x20to\x20next\x20page'),_0x8502a5['icon']=_0x716241,_0x8502a5['tooltip']=!0x0,_0x8502a5['keystroke']='Shift+PageDown',_0x8502a5['bind']('isEnabled')['to'](_0x59e0b8),this['listenTo'](_0x8502a5,'execute',()=>{_0x59e0b8['goToNextPage']();}),_0x8502a5;}),_0x339bd4['ui']['componentFactory']['add']('previousPage',_0x2e385a=>{const _0x24a6cb=new _0x4871c8(_0x2e385a);return _0x24a6cb['isEnabled']=!0x0,_0x24a6cb['label']=g(_0x339bd4['locale'],'Go\x20to\x20previous\x20page'),_0x24a6cb['icon']=_0x2ace48,_0x24a6cb['tooltip']=!0x0,_0x24a6cb['keystroke']='Shift+PageUp',_0x24a6cb['bind']('isEnabled')['to'](_0x59e0b8),this['listenTo'](_0x24a6cb,'execute',()=>{_0x59e0b8['goToPreviousPage']();}),_0x24a6cb;});}}class a extends _0x2ebf11{static get['pluginName'](){return'Pagination';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[s,e];}constructor(_0x10bc54){super(_0x10bc54),this['isEnabled']=!0x1;}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x482093=this['editor']['plugins']['get'](s);this['bind']('pageNumber')['to'](_0x482093),this['bind']('totalPages')['to'](_0x482093),_0x9d73e6['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0x95f4cd){this['editor']['plugins']['get'](s)['scrollToPage'](_0x95f4cd);}}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':_0x425f00=>0x1!=_0x425f00}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2de666=>{const {af:{dictionary:_0x5abc99,getPluralForm:_0x4f102b}}={'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':_0x27e27b=>0x1!=_0x27e27b}};_0x2de666['af']||={'dictionary':{},'getPluralForm':null},_0x2de666['af']['dictionary']=Object['assign'](_0x2de666['af']['dictionary'],_0x5abc99),_0x2de666['af']['getPluralForm']=_0x4f102b;})(window['CKEDITOR_TRANSLATIONS']||={});
|