@ckeditor/ckeditor5-pagination 46.0.0-alpha.1 → 46.0.0-alpha.2
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 +2 -2
- 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 +2 -2
- 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 o=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(!o)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");o.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 o=n(168),i=n.n(o),s=n(433),r=n.n(s)()(i());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="",o=void 0!==e[5];return e[4]&&(n+="@supports (".concat(e[4],") {")),e[2]&&(n+="@media ".concat(e[2]," {")),o&&(n+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),n+=t(e),o&&(n+="}"),e[2]&&(n+="}"),e[4]&&(n+="}"),n}).join("")},e.i=function(t,n,o,i,s){"string"==typeof t&&(t=[[null,t,void 0]]);var r={};if(o)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]);o&&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),i&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=i):l[4]="".concat(i)),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 o(t,e,o,i){var s;if(o)s="";else{s="",i.supports&&(s+="@supports (".concat(i.supports,") {")),i.media&&(s+="@media ".concat(i.media," {"));var r=void 0!==i.layer;r&&(s+="@layer".concat(i.layer.length>0?" ".concat(i.layer):""," {")),s+=i.css,r&&(s+="}"),i.media&&(s+="}"),i.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 i={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=i.singletonCounter++,n=i.singleton||(i.singleton=t.insertStyleElement(t));return{update:function(t){o(n,e,!1,t)},remove:function(t){o(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,o=0;o<e.length;o++)if(e[o].identifier===t){n=o;break}return n}function o(t,o){for(var s={},r=[],a=0;a<t.length;a++){var c=t[a],u=o.base?c[0]+o.base:c[0],l=s[u]||0,p="".concat(u," ").concat(l);s[u]=l+1;var f=n(p),h={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==f)e[f].references++,e[f].updater(h);else{var d=i(h,o);o.byIndex=a,e.splice(a,0,{identifier:p,updater:d,references:1})}r.push(p)}return r}function i(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,i){var s=o(t=t||[],i=i||{});return function(t){t=t||[];for(var r=0;r<s.length;r++){var a=n(s[r]);e[a].references--}for(var c=o(t,i),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 o=n(168),i=n.n(o),s=n(433),r=n.n(s)()(i());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 o=n(168),i=n.n(o),s=n(433),r=n.n(s)()(i());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(o){var i=e[o];if(void 0!==i)return i.exports;var s=e[o]={id:o,exports:{}};return t[o](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 o in e)n.o(e,o)&&!n.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},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 o={};(()=>{"use strict";n.r(o),n.d(o,{Pagination:()=>gt,PaginationRenderer:()=>z});var t=n(782),e=n(311),i=n(584);function s(t,e,{signal:n,edges:o}={}){let i,s=null;const r=null!=o&&o.includes("leading"),a=null==o||o.includes("trailing"),c=()=>{null!==s&&(t.apply(i,s),i=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(),i=void 0,s=null},h=function(...t){if(n?.aborted)return;i=this,s=t;const e=null==u;l(),r&&e&&c()};return h.schedule=l,h.cancel=f,h.flush=()=>{p(),c()},n?.addEventListener("abort",f,{once:!0}),h}const r=a;function a(t,e){const n=m();return(a=function(t,e){return n[t-=182]})(t,e)}!function(t){const e=a,n=t();for(;;)try{if(671934===parseInt(e(200))/1+-parseInt(e(309))/2+parseInt(e(231))/3*(parseInt(e(267))/4)+-parseInt(e(371))/5+parseInt(e(227))/6+-parseInt(e(297))/7+-parseInt(e(356))/8*(parseInt(e(258))/9))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(m);class c extends t.Plugin{[r(218)]=function(t,e=0,n={}){"object"!=typeof n&&(n={});const{leading:o=!1,trailing:i=!0,maxWait:r}=n,a=Array(2);let c;o&&(a[0]="leading"),i&&(a[1]="trailing");let u=null;const l=s(function(...e){c=t.apply(this,e),u=null},e,{edges:a}),p=function(...e){return null!=r&&(null===u&&(u=Date.now()),Date.now()-u>=r)?(c=t.apply(this,e),u=Date.now(),l.cancel(),l.schedule(),c):(l.apply(this,e),c)};return p.cancel=l.cancel,p.flush=()=>(l.flush(),c),p}(()=>this[r(283)](),200);[r(229)]=null;static get[r(370)](){return r(344)}static get[r(368)](){return!0}static get[r(360)](){return!0}[r(205)](){const t=r;if(this[t(369)]({pageBreaks:[]}),!this[t(280)][t(212)][t(248)](t(254)))return void(0,i.logWarning)(t(323),this[t(280)][t(212)]);const e=this[t(280)][t(237)][t(248)](t(294));this[t(362)](t(358)).to(e),this[t(280)].ui[t(247)](t(331),()=>this[t(366)]()),this.on(t(335),(e,n,o)=>{o&&this[t(218)]()})}[r(242)](){!async function(t){const e=m([53,77,101,106,71,89,99,90,81,97,98,121,50,74,65,51,73,122,108,111,109,105,107,48,119,52,88,120,115,84,113,85,70,72,56,79,69,75,55,66,82,118,76,87,83,67,100,54,49,57,114,103,110,116,104,86,102,80,78,112,117,68]),n=window[m([68,97,116,101])][m([110,111,119])](),o=t[m([101,100,105,116,111,114])],s=new(window[m([80,114,111,109,105,115,101])])(t=>{o[m([111,110,99,101])](m([114,101,97,100,121]),t)}),r={[m([107,116,121])]:m([69,67]),[m([117,115,101])]:m([115,105,103]),[m([99,114,118])]:m([80,45,50,53,54]),[m([120])]:m([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[m([121])]:m([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[m([97,108,103])]:m([69,83,50,53,54])},c=o[m([99,111,110,102,105,103])][m([103,101,116])](m([108,105,99,101,110,115,101,75,101,121]));function u(t){const e=[new(window[m([80,114,111,109,105,115,101])])(t=>setTimeout(t,605900)),s[m([116,104,101,110])](()=>new(window[m([80,114,111,109,105,115,101])])(t=>{let e=0;o[m([109,111,100,101,108])][m([111,110])](m([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),(n,o)=>{o[0][m([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&e++,504==e&&(t(),n[m([111,102,102])]())})}))];return window[m([80,114,111,109,105,115,101])][m([114,97,99,101])](e)[m([116,104,101,110])](()=>t)}function l(t){return t[m([115,116,97,114,116,115,87,105,116,104])](m([101,121]))?JSON[m([112,97,114,115,101])](p(t)):null}function p(t){return window[m([97,116,111,98])](t[m([114,101,112,108,97,99,101])](/-/g,m([43]))[m([114,101,112,108,97,99,101])](/_/g,m([47])))}function f(t){let e=5381;function n(t){for(let n=0;n<t[m([108,101,110,103,116,104])];n++){const o=t[m([99,104,97,114,67,111,100,101,65,116])](n);e=(e<<5)+e+o,e&=e}}return function t(e){Array[m([105,115,65,114,114,97,121])](e)?e[m([102,111,114,69,97,99,104])](t):e&&typeof e==m([111,98,106,101,99,116])?Object[m([101,110,116,114,105,101,115])](e)[m([115,111,114,116])]()[m([102,111,114,69,97,99,104])](([e,o])=>{n(e),t(o)}):n(window[m([83,116,114,105,110,103])](e))}(t),e>>>0}function h(t){return t[m([116,111,83,116,114,105,110,103])](16)[m([112,97,100,83,116,97,114,116])](8,m([48]))}function d(t){return t[m([115,112,108,105,116])]("")[m([114,101,118,101,114,115,101])]()[m([106,111,105,110])]("")}function g(){}function m(t){const e=a;return t[e(251)](t=>String[e(364)](t))[e(345)]("")}!function(t){const n=function(){const t=window[m([83,116,114,105,110,103])](window[m([112,101,114,102,111,114,109,97,110,99,101])][m([110,111,119])]())[m([114,101,112,108,97,99,101])](m([46]),"");let n=m([77]);for(let o=0;o<t[m([108,101,110,103,116,104])];o+=2){let i=window[m([112,97,114,115,101,73,110,116])](t[m([115,117,98,115,116,114,105,110,103])](o,o+2));i>=e[m([108,101,110,103,116,104])]&&(i-=e[m([108,101,110,103,116,104])]),n+=e[i]}return n}();o[n]=m([112,97,103,105,110,97,116,105,111,110,76,105,99,101,110,115,101,75,101,121])+t,t!=m([86,97,108,105,100])&&async function(){await s,o[m([109,111,100,101,108])][m([99,104,97,110,103,101])]=g,o[m([109,111,100,101,108])][m([101,110,113,117,101,117,101,67,104,97,110,103,101])]=g,o[m([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](m([109,111,100,101,108]))}()}(await async function(){let t,e=null,g=null;try{return c==m([71,80,76])?m([78,111,116,65,108,108,111,119,101,100]):(t=function(){const t=c[m([115,112,108,105,116])](m([46]));return 3!=t[m([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=l(t);return e&&n()?e:null;function n(){const t=e[m([106,116,105])],n=window[m([112,97,114,115,101,73,110,116])](t[m([115,117,98,115,116,114,105,110,103])](t[m([108,101,110,103,116,104])]-8),16),o={...e,[m([106,116,105])]:t[m([115,117,98,115,116,114,105,110,103])](0,t[m([108,101,110,103,116,104])]-8)};return delete o[m([118,99])],f(o)==n}}}(),t?(t[m([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(g=function(t,e){return new(window[m([80,114,111,109,105,115,101])])(c=>{if(r())return c(m([86,97,108,105,100]));a(),o[m([100,101,99,111,114,97,116,101])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let u=!1;const l=(0,i.uid)();function p(t){return!!t&&(typeof t===m([111,98,106,101,99,116])||typeof t===m([102,117,110,99,116,105,111,110]))&&typeof t[m([116,104,101,110])]===m([102,117,110,99,116,105,111,110])&&typeof t[m([99,97,116,99,104])]===m([102,117,110,99,116,105,111,110])}function g(o){a(o)[m([116,104,101,110])](t=>t&&t[m([115,116,97,116,117,115])]==m([111,107])?h(f(l+e))!=t[m([118,101,114,105,102,105,99,97,116,105,111,110])]?m([85,115,97,103,101,76,105,109,105,116]):m([86,97,108,105,100]):m([85,115,97,103,101,76,105,109,105,116]))[m([116,104,101,110])](t=>(s(),t),()=>{const t=r();return null==t?(s(),m([86,97,108,105,100])):m(n-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[m([116,104,101,110])](c)[m([99,97,116,99,104])](()=>{c(m([85,115,97,103,101,76,105,109,105,116]))});const i=36e5;function s(){const e=m([108,108,99,116,45])+h(f(t)),o=d(h(window[m([77,97,116,104])][m([99,101,105,108])](n/i)));window[m([108,111,99,97,108,83,116,111,114,97,103,101])][m([115,101,116,73,116,101,109])](e,o)}function r(){const e=m([108,108,99,116,45])+h(f(t)),n=window[m([108,111,99,97,108,83,116,111,114,97,103,101])][m([103,101,116,73,116,101,109])](e);return n?window[m([112,97,114,115,101,73,110,116])](d(n),16)*i:null}function a(t){return new(window[m([80,114,111,109,105,115,101])])((e,n)=>{t[m([116,104,101,110])](e,n),window[m([115,101,116,84,105,109,101,111,117,116])](n,12e4)})}}o[m([111,110])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(e,n)=>{if(n[0]!=t)return c(m([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[m([114,101,113,117,101,115,116,73,100])]:l}},{[m([112,114,105,111,114,105,116,121])]:m([104,105,103,104])}),o[m([111,110])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),t=>{p(t[m([114,101,116,117,114,110])])&&(u=!0,g(t[m([114,101,116,117,114,110])]))},{[m([112,114,105,111,114,105,116,121])]:m([108,111,119])}),s[m([116,104,101,110])](()=>{u||c(m([85,115,97,103,101,76,105,109,105,116]))})});function r(){return o[m([101,100,105,116,105,110,103])][m([118,105,101,119])][m([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==m([97,117,116,111])}function a(){o[m([101,100,105,116,105,110,103])][m([118,105,101,119])][m([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=m([97,117,116,111])}}(t[m([117,115,97,103,101,69,110,100,112,111,105,110,116])],t[m([106,116,105])])),await async function(){let t=!0;try{const o=c[m([115,112,108,105,116])](m([46])),[i,s,r]=o;return e(i),await n(i,s,r),t}catch{return!1}function e(e){const n=l(e);n&&n[m([97,108,103])]==m([69,83,50,53,54])||(t=!1)}async function n(e,n,o){const i=window[m([85,105,110,116,56,65,114,114,97,121])][m([102,114,111,109])](p(o),t=>t[m([99,104,97,114,67,111,100,101,65,116])](0)),s=(new(window[m([84,101,120,116,69,110,99,111,100,101,114])]))[m([101,110,99,111,100,101])](e+m([46])+n),a=window[m([99,114,121,112,116,111])][m([115,117,98,116,108,101])];if(!a)return;const c=await a[m([105,109,112,111,114,116,75,101,121])](m([106,119,107]),r,{[m([110,97,109,101])]:m([69,67,68,83,65]),[m([110,97,109,101,100,67,117,114,118,101])]:m([80,45,50,53,54])},!1,[m([118,101,114,105,102,121])]);await a[m([118,101,114,105,102,121])]({[m([110,97,109,101])]:m([69,67,68,83,65]),[m([104,97,115,104])]:{[m([110,97,109,101])]:m([83,72,65,45,50,53,54])}},c,i,s)||(t=!1)}}()?function(){const e=t[m([102,101,97,116,117,114,101,115])];return!(!e||!e[m([105,110,99,108,117,100,101,115])](m([42]))&&!e[m([105,110,99,108,117,100,101,115])](m([80,65,71])))}()?function(){const e=[m([101,118,97,108,117,97,116,105,111,110]),m([116,114,105,97,108])][m([105,110,99,108,117,100,101,115])](t[m([108,105,99,101,110,115,101,84,121,112,101])])?n/1e3:1751414400;return t[m([101,120,112])]<e}()?m([69,120,112,105,114,101,100]):function(){const e=a,n=t[m([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[m([108,101,110,103,116,104])])return!0;const{hostname:o}=new URL(window[m([108,111,99,97,116,105,111,110])][e(186)]);if(n[m([105,110,99,108,117,100,101,115])](o))return!0;const i=o[m([115,112,108,105,116])](m([46]));return n[m([102,105,108,116,101,114])](t=>t[m([105,110,99,108,117,100,101,115])](m([42])))[m([109,97,112])](t=>t[m([115,112,108,105,116])](m([46])))[m([102,105,108,116,101,114])](t=>t[m([108,101,110,103,116,104])]<=i[m([108,101,110,103,116,104])])[m([109,97,112])](t=>Array(i[m([108,101,110,103,116,104])]-t[m([108,101,110,103,116,104])])[m([102,105,108,108])](t[0]===m([42])?m([42]):"")[m([99,111,110,99,97,116])](t))[m([115,111,109,101])](t=>i[m([101,118,101,114,121])]((e,n)=>t[n]===e||t[n]===m([42])))}()?(t[m([108,105,99,101,110,115,101,84,121,112,101])]==m([101,118,97,108,117,97,116,105,111,110])&&(e=u(m([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),t[m([108,105,99,101,110,115,101,84,121,112,101])]==m([116,114,105,97,108])&&(e=u(m([84,114,105,97,108,76,105,109,105,116]))),await(e&&g?new(window[m([80,114,111,109,105,115,101])])((t,n)=>{e[m([116,104,101,110])](t,n),g[m([116,104,101,110])](e=>{e!=m([86,97,108,105,100])&&t(e)},n)}):e||g||m([86,97,108,105,100]))):m([68,111,109,97,105,110,76,105,109,105,116]):m([78,111,116,65,108,108,111,119,101,100]):m([73,110,118,97,108,105,100])):m([73,110,118,97,108,105,100]))}catch{return m([73,110,118,97,108,105,100])}}())}(this)}[r(324)](){const t=r;super[t(324)](),this[t(229)]&&(this[t(218)][t(199)](),this[t(229)][t(324)](),this[t(229)][t(349)][t(326)]())}[r(366)](){const t=r,n=this[t(280)],o=n[t(209)][t(305)],i=this[t(238)]();if(!i||0===i[t(312)])return void n.ui[t(247)](t(325),()=>this[t(366)]());const{pageWidth:s,pageHeight:a}=n[t(212)][t(248)](t(254)),{top:c,left:u,bottom:l,right:p}=this[t(343)];this[t(229)]=new e.View(n[t(263)]);const f=this[t(229)];f[t(369)](t(188),""),f[t(285)]({tag:t(240),attributes:{contenteditable:!0,style:{columnWidth:s,width:s,height:t(352)+a+t(295)+c+t(295)+l+" )",minWidth:t(217),minHeight:t(217),padding:"0 "+p+t(230)+u,columnGap:t(271),border:0,boxSizing:t(308),columnCount:t(217),columnFill:t(217),overflow:t(259),position:t(342),top:t(306),left:t(306)},tabindex:"-1",class:f[t(202)].to(t(188))}}),f[t(195)](),i[t(304)][t(270)](f[t(349)],i[t(350)]),this[t(222)](o,t(195),()=>this[t(218)](),{priority:t(329)}),this[t(218)]()}[r(238)](){const t=r;for(const e of this[t(280)][t(209)][t(305)][t(225)][t(215)]())if(e[t(196)][t(252)][t(313)](e))return e;return null}[r(283)](){const t=r;if(!this[t(358)])return Promise[t(293)]();const e=this[t(280)][t(209)][t(305)],n=this[t(229)],o=this[t(238)]();if(!o)return Promise[t(293)]();for(n[t(188)]=[t(353),t(211),...o[t(189)]][t(345)](" ");n[t(349)][t(253)];)n[t(349)][t(253)][t(326)]();const i=Array[t(276)](e[t(225)]);i[t(221)](([,e],[,n])=>e[t(233)](n)==Node[t(315)]?1:-1);for(const[e,o]of i){const i=o[t(206)](!0);t(191)in i&&i[t(191)][t(339)](),i[t(269)]="",i[t(322)]("id"),i[t(193)][t(185)]=e,n[t(349)][t(220)](i)}return function(e){const n=t;return Promise[n(197)](e[n(251)](t=>{return Promise[n(190)]([p(t),(e=1e3,new Promise(t=>setTimeout(t,e)))]);var e}))}(Array[t(276)](n[t(349)][t(198)](t(268))))[t(228)](()=>this[t(187)]())}[r(187)](){const t=r,e=this[t(229)][t(349)];if(!e[t(196)][t(252)][t(313)](e))return;const n=new i.Rect(e)[t(256)](),o=i.global[t(292)][t(194)](e),s=parseFloat(o[t(300)])+parseFloat(o[t(354)]),a=Math[t(330)](n[t(301)]+100-s),c=g(e,Math[t(330)](n[t(213)]-e[t(333)]),a,n[t(249)])[t(251)](e=>this[t(264)](e));c[t(346)](t=>!!t)&&(this[t(311)]=c)}[r(264)](t){const e=r,n=this[e(280)][e(209)][e(305)],o=this[e(280)][e(209)][e(287)],i=n[e(236)],s=t[e(201)][e(288)](),a=this[e(229)][e(349)][e(337)][s][e(193)][e(185)],c=n[e(272)](a);if(!c)return null;const u=function(t,n){const o=e;let i=t;for(const t of n[o(201)]){if(!i)return null;i=i[o(337)][t]}return i}(c,t);if(!u)return null;const l=i[e(336)](u,t[e(241)]||0);return l?e(299)==t[e(279)]?this[e(338)](l,u):e(341)==t[e(279)]&&o[e(255)](l)[e(316)]?this[e(321)](l,u,t[e(241)]):this[e(284)](l,u,t[e(316)]):null}[r(338)](t,e){const n=r,o=this[n(280)][n(183)],i=this[n(280)][n(209)][n(287)][n(257)](t[n(216)]),s=o[n(357)](i);return new u({type:n(299),modelRange:s,domNode:e,offset:0})}[r(321)](t,e,n){const o=r,i=this[o(280)][o(183)],s=this[o(280)][o(209)][o(287)],a=this[o(280)][o(209)][o(305)][o(236)];if(n>=e[o(235)])return null;const c=s[o(255)](t),p=i[o(203)](c),f=s[o(289)](t),h=a[o(214)](f);return new u({type:o(341),modelRange:p,domNode:e,offset:l(e,n,h)})}[r(284)](t,e,n){const o=r,s=this[o(280)][o(183)],a=this[o(280)][o(209)],c=a[o(287)],l=a[o(305)][o(236)],p=c[o(289)](t),h=c[o(257)](p),d=function(t){const e=o,n=t[e(216)],i=n[e(184)][e(239)][e(183)],s=n[e(277)]({parentFirst:!0,includeSelf:!0});let r=null;for(const n of s){if(n.is(e(361)))return r;if(!i[e(192)](n)[e(243)](t))return r;r=n}}(s[o(192)](h))||h;let g=c[o(278)](d),m=s[o(357)](d);const b=s[o(192)](d)[o(303)];if(b&&b.is(o(349),o(340))){const t=c[o(278)](b),e=l[o(214)](t),n=i.global[o(292)][o(194)](e)[o(372)];o(213)!=n&&o(224)!=n||(m=s[o(357)](b))}for(;g[o(216)]!==g[o(184)]&&0===g[o(182)];)g=g[o(216)];const w=new i.Rect(y(e)?e:f(e)),v=n?w[o(249)]-n:0,k=l[o(214)](g),I=new i.Rect(k);return new u({type:o(349),modelRange:m,domNode:k,offset:Math[o(291)](v)?v+w[o(351)]-I[o(351)]:0})}get[r(343)](){const t=r,e=this[t(280)][t(212)][t(248)](t(207));return Object[t(319)]({top:t(260),bottom:t(260),left:t(260),right:t(260)},e)}static[r(273)](t,e,n,o,i){return g(t,e,n,o,i)}}class u{[r(279)];[r(266)];[r(208)];[r(232)];constructor({type:t,modelRange:e,domNode:n,offset:o}){const i=r;this[i(279)]=t,this[i(266)]=e,this[i(208)]=n,this[i(232)]=o}get[r(316)](){const t=r;if(!this[t(208)][t(196)][t(252)][t(313)](this[t(208)]))return 0;const e=new i.Rect(y(this[t(208)])?this[t(208)]:f(this[t(208)]));return t(299)==this[t(279)]?e[t(351)]+e[t(249)]/2:e[t(351)]+this[t(232)]}}function l(t,e,n){const o=r,s=f(t),c=function(t){const e=a,n=i.global[e(239)][e(203)]();return n[e(282)](t),n}(n);let u;u=0==e?d(c[o(334)],c[o(245)],t[o(304)],Array[o(276)](t[o(304)][o(337)])[o(265)](t)):d(c[o(334)],c[o(245)],t,e);const l=d(t,e,c[o(286)],c[o(210)]),p=new i.Rect(u)[o(250)];return(new i.Rect(l)[o(351)]+p)/2-new i.Rect(s)[o(351)]}function p(t){const e=r;return t[e(281)](e(301))&&t[e(281)](e(249))?Promise[e(293)]():new Promise(n=>{const o=e;function i(){const e=a;t[e(296)](e(246),i),t[e(296)](e(365),i),n()}t[o(302)]?n():(t[o(363)](o(246),i),t[o(363)](o(365),i))})}function f(t){const e=r,n=i.global[e(239)][e(203)]();return n[e(274)](t),n}function h(t,e,n){const o=r,s=i.global[o(239)][o(203)]();return s[o(314)](t,e),s[o(355)](t,n),s}function d(t,e,n,o){const s=r,a=i.global[s(239)][s(203)]();return a[s(314)](t,e),a[s(355)](n,o),a}function g(t,e,n,o,i){const s=r,a=[];for(const[r,c]of t[s(337)][s(328)]()){let t=[];y(c)&&c[s(261)]&&!c[s(275)][s(234)]?t=b(c,r,e,n,o,i):I(c)&&(t=w(c,r,e,n,i)),t[s(235)]&&(a[s(327)](...t),e+=t[s(235)]*n,i=!1)}return a}function m(){const t=["listenTo","TEXT_NODE","right","domRoots","figure.image","3955446JUqHRn","then","_pagesContainer"," 0 ","3BYBYCt","_offset","compareDocumentPosition","position","length","domConverter","plugins","_getAttachedDomRoot","document","div","textOffset","afterInit","isTouching",".page-break","startOffset","load","once","get","height","bottom","map","body","firstChild","pagination","toModelPosition","excludeScrollbarsAndBorders","toModelElement","2439iwqDvE","hidden","10mm","offsetParent","nodeType","locale","_mapPageStarterInfoToPageBreakInfo","indexOf","modelRange","4800144AssKPV","img","className","insertBefore","100px","getDomRoot","_findPageStarterInfos","selectNode","style","from","getAncestors","toViewElement","type","editor","hasAttribute","selectNodeContents","_recalculatePageBreaks","_mapElementPageStarterInfoToPageBreakInfo","setTemplate","endContainer","mapper","shift","findMappedViewAncestor","ceil","round","window","resolve","PaginationEditing"," - ","removeEventListener","2463517cCBeVG","previousSibling","manual","paddingLeft","width","complete","nodeBefore","parentNode","view","-99999px","parentElement","border-box","2186126WfIHsA","ck-fake-selection-container","pageBreaks","childElementCount","contains","setStart","DOCUMENT_POSITION_PRECEDING","offset","table-cell","table-row","assign","display","_mapTextPageStarterInfoToPageBreakInfo","removeAttribute","pagination-config-not-found","destroy","update","remove","push","entries","low","floor","ready","nextElementSibling","scrollLeft","startContainer","change:isEnabled","domPositionToView","childNodes","_mapManualPageStarterInfoToPageBreakInfo","clear","imageBlock","text","absolute","_configuredPaddings","PaginationLookup","join","every","page-break","previousElementSibling","element","nextSibling","top","calc( ","ck-reset","paddingRight","setEnd","22856kxQPkh","createRangeOn","isEnabled","ELEMENT_NODE","isPremiumPlugin","rootElement","bind","addEventListener","fromCharCode","error","_onUiReady","closest","isOfficialPlugin","set","pluginName","10535dRWHlE","float","index","model","root","rootName","href","_updatePageBreaksData","class","classList","race","attributeStyleMap","createPositionBefore","dataset","getComputedStyle","render","ownerDocument","all","querySelectorAll","cancel","1034005ghSdEo","path","bindTemplate","createRange","none","init","cloneNode","pagination.pageMargins","_domNode","editing","endOffset","ck-pagination-view","config","left","mapViewToDom","values","parent","auto","_recalculatePageBreaksDebounced","getClientRects","append","sort"];return(m=function(){return t})()}function b(t,e,n,o,s,a){const c=r,u=[];var l;if((l=t[c(298)])&&y(l)&&Boolean(l[c(189)][c(313)](c(347))||l[c(367)](c(244)))&&(u[c(327)]({type:c(299),offset:0,path:[e-1]}),a=!0),c(318)==i.global[c(292)][c(194)](t)[c(320)]){let o=0,i=!1;for(const e of t[c(219)]())o+=e[c(249)],e[c(213)]>=n&&(i=!0);if(o<s&&i)return u[c(327)]({type:c(349),offset:0,path:[e]}),u}const p=t[c(367)](c(226));if(p&&function(t){const e=c;let n=!1;const o=t[e(307)][e(193)][e(185)],s=t[e(332)],r=t[e(348)],a=s&&i.global[e(292)][e(194)](s)[e(372)],u=s&&e(310)===s[e(269)];return!o||s||r||(n=!0),o&&!r&&u&&(n=!0),o&&!r&&e(204)!==a&&(n=!0),!n}(p)){const t=i.global[c(292)][c(194)](p)[c(372)];if(c(213)==t||c(224)==t)return u}const f=g(t,n,o,s,a);if(f[c(235)]){for(const t of f)u[c(327)]({type:t[c(279)],offset:t[c(316)],textOffset:t[c(241)],path:[e,...t[c(201)]]}),n+=o,a=!1;return u}return u[c(327)](...function(t,e,n,o,s){const r=c,a=[];if(r(317)==i.global[r(292)][r(194)](t)[r(320)])return[];const u=[];for(const e of t[r(219)]())if(e[r(213)]>=n){for(const t of u)t[r(249)]+=e[r(249)];u[r(327)]({height:e[r(249)]}),n+=o}for(const t of u)s||a[r(327)]({type:r(349),offset:t[r(249)],textOffset:0,path:[e]}),s=!1;return a}(t,e,n,o,a)),u}function w(t,e,n,o,i){const s=r,a=f(t),c=[];let u=0;for(const r of a[s(219)]())if(r[s(213)]>=n){const r=v(t,u,n,o);i||c[s(327)]({type:s(341),path:[e],textOffset:r}),u=r,n+=o,i=!1}return c}function v(t,e,n,o){const i=r;let s=e,a=t[i(235)];for(;a-s>1;){const e=Math[i(290)]((s+a)/2);k(h(t,s,e),n,o)?a=e:s=e}return s}function k(t,e,n){const o=r;for(const i of t[o(219)]())if(i[o(213)]>=e&&i[o(213)]<e+n)return!0;return!1}function y(t){const e=r;return t[e(262)]==Node[e(359)]}function I(t){const e=r;return t[e(262)]==Node[e(223)]}var P=n(673),x=n.n(P),_=n(545),N=n.n(_),E=n(262),A=n.n(E),S=n(667),R=n.n(S),T=n(357),C=n.n(T),O=n(371),L={attributes:{"data-cke":!0}};L.setAttributes=R(),L.insert=A().bind(null,"head"),L.domAPI=N(),L.insertStyleElement=C();x()(O.A,L);O.A&&O.A.locals&&O.A.locals;function D(){const t=["16260580hMhPJb","setTemplate","7273EjhPAR","829457kFZuRk","width","top","10123443fPgWfe","bindTemplate","4uBNDWJ","set","116FRdvaL","760566EHohhW","div","pageNumber","ck-pagination-view-line","564hEARWr","17350mIwSDX","ck-hidden","isVisible","left","1860624ZmsctP"];return(D=function(){return t})()}function B(t,e){const n=D();return(B=function(t,e){return n[t-=457]})(t,e)}!function(t){const e=B,n=t();for(;;)try{if(609692===-parseInt(e(462))/1+-parseInt(e(467))/2*(-parseInt(e(470))/3)+-parseInt(e(469))/4*(-parseInt(e(475))/5)+parseInt(e(474))/6*(parseInt(e(461))/7)+parseInt(e(458))/8+-parseInt(e(465))/9+parseInt(e(459))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(D);const M=(0,i.toUnit)("px");class G extends e.View{constructor(){const t=B;super();const e=this[t(466)];this[t(468)]({isVisible:!1,left:null,top:null,width:null,pageNumber:null}),this[t(460)]({tag:t(471),attributes:{"data-page-number":e.to(t(472)),class:["ck",t(473),e.if(t(477),t(476),t=>!t)],style:{left:e.to(t(457),t=>M(t)),top:e.to(t(464),t=>M(t)),width:e.to(t(463),t=>M(t))}}})}}const K=V;function V(t,e){const n=j();return(V=function(t,e){return n[t-=390]})(t,e)}function j(){const t=["3983889DvDjbo","isVisible","_visibleLines","63HISULo","cleanLines","6ngEqoD","setViewCollection","remove","size","693584MHdVkS","destroy","_hiddenLines","add","showLine","set","delete","has","3282831XIRSol","2537040DztxLU","clear","355857NTQoUX","values","body","_viewCollection","view","4074196zwXaqB","340586cISJps"];return(j=function(){return t})()}!function(t){const e=V,n=t();for(;;)try{if(614969===parseInt(e(404))/1+-parseInt(e(410))/2+parseInt(e(401))/3+parseInt(e(409))/4+-parseInt(e(402))/5+parseInt(e(416))/6*(-parseInt(e(411))/7)+parseInt(e(393))/8*(-parseInt(e(414))/9))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(j);class U{[K(407)];[K(413)]=new Set;[K(395)]=new Set;constructor(t){const e=K;this[e(407)]=t.ui[e(408)][e(406)]}[K(394)](){const t=K;for(const e of this[t(395)])e[t(394)]()}[K(415)](){const t=K;for(const e of this[t(413)])e[t(412)]=!1,this[t(395)][t(396)](e);this[t(413)][t(403)]()}[K(397)](t,e,n,o){const s=K;let r;this[s(395)][s(392)]?(r=(0,i.first)(this[s(395)][s(405)]()),this[s(395)][s(399)](r)):r=new G,r[s(398)]({pageNumber:o,left:t,top:e,width:n}),r[s(412)]=!0,this[s(407)][s(400)](r)||this[s(407)][s(396)](r),this[s(413)][s(396)](r)}[K(390)](t){const e=K;for(const t of[...this[e(413)],...this[e(395)]])this[e(407)][e(400)](t)&&this[e(407)][e(391)](t);this[e(407)]=t}}const F=H;function H(t,e){const n=q();return(H=function(t,e){return n[t-=241]})(t,e)}!function(t){const e=H,n=t();for(;;)try{if(174685===-parseInt(e(297))/1*(-parseInt(e(325))/2)+parseInt(e(265))/3+parseInt(e(271))/4*(-parseInt(e(281))/5)+-parseInt(e(288))/6+-parseInt(e(251))/7*(-parseInt(e(324))/8)+parseInt(e(291))/9+-parseInt(e(280))/10*(parseInt(e(268))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(q);const W=F(295);class z extends t.Plugin{[F(323)];[F(270)]=null;[F(286)]=null;[F(272)];static get[F(245)](){return F(311)}static get[F(289)](){return!0}static get[F(275)](){return!0}[F(279)](){const t=F;this[t(273)]({pageNumber:1}),this[t(323)]=new U(this[t(307)]),this[t(270)]=null,this[t(286)]=null,this[t(272)]=this[t(307)][t(314)][t(248)](t(293)),this[t(269)](t(315)).to(this[t(307)][t(314)][t(248)](t(246))),this[t(307)].ui[t(298)](t(254),()=>this[t(299)]()),this[t(312)](W),this.on(t(320),(e,n,o)=>{const i=t;o||this[i(323)][i(284)](),this[i(312)](W,o)})}[F(290)](){const t=F;this[t(312)](W,!1),this[t(323)][t(290)](),this[t(270)]=null,this[t(286)]&&this[t(286)][t(290)]()}[F(256)](t){const e=F;if(!this[e(315)])return;const n=t>1?this[e(285)](t-1):0;this[e(270)][e(282)]({top:n-10,left:this[e(270)][e(301)],behavior:i.env[e(277)]?e(260):e(294)})}[F(303)](){const t=F,e=this[t(307)],n=this[t(310)]();n?(this[t(270)]&&e.ui[t(262)][t(274)](this[t(270)],t(300)),this[t(270)]=function(e){const n=t;let o=e;do{o=o[n(309)];const t=i.global[n(264)][n(252)](o)[n(249)];if(n(278)==t||n(300)==t)break}while(n(261)!=o[n(242)]);return o}(n),e.ui[t(262)][t(244)](this[t(270)],t(300),()=>{this[t(247)]()},{usePassive:!0}),this[t(286)]&&this[t(286)][t(290)](),this[t(286)]=new i.ResizeObserver(this[t(270)],()=>{this[t(247)]()})):e.ui[t(298)](t(292),()=>this[t(303)]())}[F(299)](){const t=F,e=this[t(307)];this[t(310)]()?(this[t(303)](),e.ui[t(262)][t(244)](i.global[t(264)],t(304),()=>this[t(247)]()),this[t(244)](this[t(272)],t(243),()=>this[t(247)]())):e.ui[t(298)](t(292),()=>this[t(299)]())}[F(310)](){const t=F;for(const e of this[t(307)][t(305)][t(262)][t(308)][t(257)]())if(e[t(302)][t(313)][t(306)](e))return e;return null}[F(247)](){const t=F;if(!this[t(315)])return;const e=this[t(310)](),n=this[t(272)][t(322)];if(this[t(323)][t(284)](),!e||1==n[t(317)])return void(this[t(321)]=1);const o=new i.Rect(e)[t(316)](),s=new i.Rect(this[t(270)])[t(316)](),r=s[t(296)]+s[t(263)]/3;let a=!1;const c=[];for(let e=1;e<n[t(317)];e++){const n=this[t(285)](e,s);if(!n)continue;const i=s[t(296)]+n-this[t(270)][t(267)];c[t(319)]({pageOffsetTop:i,domRootRect:o,domScrollableRect:s,pageNumber:e}),i>r&&!a&&(this[t(321)]=e,a=!0)}this[t(276)](c),a||(this[t(321)]=n[t(317)])}[F(276)](t){const e=F,{scrollX:n,scrollY:o}=i.global[e(264)];if(t[e(317)])for(const{domScrollableRect:i,pageOffsetTop:s,domRootRect:r,pageNumber:a}of t)i[e(296)]<s&&s<i[e(250)]&&this[e(323)][e(266)](r[e(253)]+n,s+o,r[e(258)],a+1)}[F(285)](t,e=null){const n=F,o=this[n(272)][n(322)][t][n(255)];return o?(e||(e=new i.Rect(this[n(270)])[n(316)]()),o-e[n(296)]+this[n(270)][n(267)]):0}[F(312)](t,e=!0){const n=F,o=this[n(307)][n(305)][n(262)];o[n(283)](i=>{const s=n;for(const n of o[s(259)][s(287)])e?i[s(241)](t,n):i[s(318)](t,n)})}}function q(){const t=["plugins","isEnabled","excludeScrollbarsAndBorders","length","removeClass","push","change:isEnabled","pageNumber","pageBreaks","linesRepository","407224GUQAvN","1182FxKRqA","addClass","tagName","change:pageBreaks","listenTo","pluginName","PaginationEditing","_updatePageBreakLines","get","overflowY","bottom","21FGQdaH","getComputedStyle","left","ready","offset","scrollToPage","values","width","document","instant","BODY","view","height","window","256362sjIDIR","showLine","scrollTop","45034tETCoD","bind","_scrollableEditingRootDomAncestor","149924BlMart","_paginationLookupPlugin","set","stopListening","isPremiumPlugin","_renderPageBreakLines","isMotionReduced","auto","init","330ogqvsu","20MqMATz","scrollTo","change","cleanLines","_getPageBreakLineOffset","_resizeObserver","roots","907476gIzfgA","isOfficialPlugin","destroy","2488149IEWGwg","update","PaginationLookup","smooth","ck-pagination_enabled","top","163cuwsNV","once","_onUiReady","scroll","scrollLeft","ownerDocument","setupScrollableAncestor","resize","editing","contains","editor","domRoots","parentElement","_getAttachedDomRoot","PaginationRenderer","_toggleEditingRootsClass","body"];return(q=function(){return t})()}function J(t,e,...n){const o=t.t;switch(e){case"Go to next page":return o("Go to next page");case"Go to previous page":return o("Go to previous page");case"Current page number (from 1 to %0)":return o("Current page number (from 1 to %0)",...n);case"Keystrokes for navigating through documents":return o("Keystrokes for navigating through documents");case"Go to the previous page (also move selection)":return o("Go to the previous page (also move selection)");case"Go to the next page (also move selection)":return o("Go to the next page (also move selection)");default:return e}}var X=n(761),Q={attributes:{"data-cke":!0}};Q.setAttributes=R(),Q.insert=A().bind(null,"head"),Q.domAPI=N(),Q.insertStyleElement=C();x()(X.A,Q);X.A&&X.A.locals&&X.A.locals;const Y=Z;function Z(t,e){const n=$();return(Z=function(t,e){return n[t-=468]})(t,e)}function $(){const t=["model","domainLimit","49975222UHuCeL","length","Shift+Pagedown","type","isEnabled","change:pageBreaks","index","editing","name","requires","setAttribute","paginationLicenseKeyValid","text","paginationLicenseKeyExpired","_setUpDataDowncastConversion","scrollToPage","element","invalid","has","expired","676418cWNZNf","getNearestSelectionRange","destroy","forward","paginationLicenseKeyNotAllowed","options","consume","isPremiumPlugin","paginationLicenseKeyUsageLimit","add","7432328ndEoyg","consumable","getFillerOffset","checkChild","root","Pagination","24IDHITe","Go to the previous page (also move selection)","193899NuXOvV","view","paginationLicenseKeyTrialLimit","$text","stop","_showLicenseError","pagination","plugins","insert","evaluationLimit","7RwvWIO","data","accessibility","paginationLicenseKeyInvalid","PaginationEditing","locale","end","conversion","textNode","1639552JHSocS","updateMarker","10gSRHQS","focus","26TiBrZb","_updatePageBreakMarkers","schema","addMarker","setSelection","Keystrokes for navigating through documents","paginationLicenseKeyEvaluationLimit","data-pagination-page","addMarker:","mapper","_validatePageNumber","isOfficialPlugin","config","_setupKeystrokes","markers","writer","manual","pageNumber","pluginName","createPositionAt","substring","createContainerElement","toViewPosition","Go to the next page (also move selection)","page-break-before","always","dataDowncast","796170cCxeEu","editor","init","span","set","paginationLicenseKeyDomainLimit","parent","hasClass","featureNotAllowed","page-break","_licenseKeyCheckInterval","licenseKey","goToNextPage","addKeystrokeInfoGroup","moveSelectionToPage","keystrokes","usageLimit","toViewElement","pageBreaks","for","modelRange","goToPreviousPage","bindElementToMarker","setStyle","totalPages","get","pagination:","getContainedElement","start","listenTo","offset","removeMarker","trialLimit","nodeAfter","change","4200381nogMNU","Shift+Pageup","bind"];return($=function(){return t})()}!function(t){const e=Z,n=t();for(;;)try{if(583981===-parseInt(e(562))/1+parseInt(e(475))/2*(-parseInt(e(580))/3)+-parseInt(e(471))/4+-parseInt(e(502))/5*(parseInt(e(578))/6)+parseInt(e(590))/7*(-parseInt(e(572))/8)+parseInt(e(537))/9*(-parseInt(e(473))/10)+parseInt(e(542))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}($);class tt extends t.Plugin{[Y(513)];[Y(512)];static get[Y(493)](){return Y(594)}static get[Y(486)](){return!0}static get[Y(569)](){return!0}static get[Y(551)](){return[c,z]}[Y(504)](){const t=Y;this[t(506)]({pageNumber:1,totalPages:1});const e=this[t(503)][t(587)][t(527)](t(577)),n=this[t(503)][t(587)][t(527)](c),o=this[t(503)][t(587)][t(527)](z);this[t(539)](t(546)).to(e),this[t(556)](),this[t(539)](t(492)).to(o),this[t(531)](n,t(547),(e,n,o,i)=>{const s=t;this[s(526)]=o[s(543)],this[s(476)](o,i)}),this[t(488)](),this[t(513)]=this[t(503)][t(487)][t(527)](t(513));const i=this[t(503)];this[t(512)]=setInterval(()=>{const e=t;let n;for(const t in i){const o=t,s=i[o];if(e(553)==s||e(593)==s||e(555)==s||e(507)==s||e(566)==s||e(481)==s||e(582)==s||e(570)==s){delete i[o],n=s,clearInterval(this[e(512)]),this[e(512)]=void 0;break}}e(593)==n&&i[e(585)](e(559)),e(555)==n&&i[e(585)](e(561)),e(507)==n&&i[e(585)](e(541)),e(566)==n&&i[e(585)](e(510),e(577)),e(481)==n&&i[e(585)](e(589)),e(582)==n&&i[e(585)](e(534)),e(570)==n&&i[e(585)](e(518))},1e3)}[Y(564)](){const t=Y;super[t(564)](),this[t(512)]&&clearInterval(this[t(512)])}[Y(557)](t){const e=Y;this[e(546)]&&this[e(503)][e(587)][e(527)](z)[e(557)](this[e(485)](t))}[Y(516)](t){const e=Y;if(!this[e(546)])return;const n=this[e(503)],o=this[e(503)][e(587)][e(527)](c)[e(520)][t-1];o&&n[e(540)][e(536)](t=>{const i=e;switch(o[i(545)]){case i(491):{const e=n[i(540)][i(477)][i(563)](o[i(522)][i(468)],i(565));t[i(479)](e);break}case i(558):{const e=n[i(540)][i(477)][i(563)](o[i(522)][i(530)],i(565));t[i(479)](e);break}case i(554):{const e=o[i(522)][i(530)];if(e[i(470)]&&" "===e[i(470)][i(591)][e[i(532)]]){const n=t[i(494)](e[i(508)],e[i(532)]+1);t[i(479)](n)}else t[i(479)](o[i(522)])}}n[i(549)][i(581)][i(474)]()})}[Y(514)](){const t=Y,e=this[t(485)](this[t(492)]+1);this[t(516)](e),this[t(557)](e)}[Y(523)](){const t=Y,e=this[t(485)](this[t(492)]-1);this[t(516)](e),this[t(557)](e)}[Y(476)](t,e){const n=Y,o=this[n(503)][n(540)];this[n(546)]&&o[n(536)](i=>{const s=n;for(let e=1;e<t[s(543)];e++){const n=t[e][s(522)],r=s(528)+(e+1);o[s(489)][s(560)](r)?i[s(472)](r,{range:n}):i[s(478)](r,{range:n,usingOperation:!1,affectsData:!0})}for(let n=t[s(543)];n<e[s(543)];n++){const t=s(528)+(n+1);o[s(489)][s(560)](t)&&i[s(533)](t)}})}[Y(556)](){const t=Y,e=t(586);this[t(503)][t(469)][t(521)](t(501))[t(571)](n=>{const o=t;n.on(o(483)+e,(t,{markerRange:e,markerName:n},i)=>{const s=o;if(!i[s(567)][s(586)])return;if(!i[s(573)][s(568)](e,t[s(550)]))return;const r=e[s(529)]();let a=r?i[s(484)][s(519)](r):null;if(!a){const t=e[s(530)];if(i[s(477)][s(575)](t,s(583))){const e=i[s(484)][s(497)](t);a=i[s(490)][s(496)](s(505)),a[s(574)]=()=>null,i[s(490)][s(588)](e,a)}else{const e=t[s(535)];a=i[s(484)][s(519)](e)}}for(;a[s(508)]!==a[s(576)]&&0===a[s(548)];)a=a[s(508)];const c=n[s(495)](11);a[s(509)](s(511))||(i[s(490)][s(525)](s(499),s(500),a),i[s(490)][s(552)](s(482),c,a),i[s(484)][s(524)](a,n)),t[s(584)]()})})}[Y(488)](){const t=Y,e=this[t(503)];e[t(517)][t(506)](t(538),(e,n)=>{this[t(523)](),n()}),e[t(517)][t(506)](t(544),(e,n)=>{this[t(514)](),n()}),e[t(592)][t(515)]({id:t(586),label:J(e[t(595)],t(480)),keystrokes:[{label:J(e[t(595)],t(579)),keystroke:t(538),mayRequireFn:!0},{label:J(e[t(595)],t(498)),keystroke:t(544),mayRequireFn:!0}]})}[Y(485)](t){const e=Y;return t<1&&(t=1),t>this[e(526)]&&(t=this[e(526)]),t}}var et=n(355),nt=n(953),ot={attributes:{"data-cke":!0}};ot.setAttributes=R(),ot.insert=A().bind(null,"head"),ot.domAPI=N(),ot.insertStyleElement=C();x()(nt.A,ot);nt.A&&nt.A.locals&&nt.A.locals;const it=rt;function st(){const t=["totalPages","ArrowUp","isNaN","3048ESDxSy","ArrowDown","ck-page-navigator","max","listenTo","focus","key","keyCode","ck-disabled","change:pageNumber","1359KIcImJ","isReadOnly","set","24FFOaOk","keydown","pageNumber","checkValidity","value","Current page number (from 1 to %0)","setTemplate","blur","2338806QcNgxe","11QpuVet","ariaLabel","bindTemplate","447FwnUOg","div","3269513syAOAj","188qhwADC","7evUhBF","2198IyWJBz","5958850gmSxMT","numeric","firstChild","fire","select","bind","27128gqsfBG","enter","navigation","span","pageNumberView","element","2238870cfRARP","render","stopPropagation","isEnabled","valueAsNumber","preventDefault"];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(325725===parseInt(e(382))/1*(parseInt(e(384))/2)+-parseInt(e(431))/3*(parseInt(e(406))/4)+parseInt(e(397))/5+parseInt(e(427))/6*(parseInt(e(383))/7)+parseInt(e(391))/8*(-parseInt(e(416))/9)+-parseInt(e(385))/10*(parseInt(e(428))/11)+parseInt(e(419))/12*(parseInt(e(381))/13))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(st);class at extends e.View{[it(395)];constructor(t){const n=it;super(t);const o=this[n(430)];this[n(418)]({pageNumber:1,totalPages:1,isEnabled:!0}),this[n(395)]=new e.InputNumberView(t,{min:1,step:1}),this[n(395)][n(418)]({inputMode:n(386),tabIndex:-1}),this[n(395)][n(390)](n(429)).to(this,n(403),e=>J(t,n(424),e)),this[n(395)][n(390)](n(409)).to(this,n(403)),this[n(395)][n(390)](n(417)).to(this,n(400),t=>!t),this[n(425)]({tag:n(380),attributes:{class:["ck",n(408),o.if(n(400),n(414),t=>!t)]},children:[this[n(395)],{tag:n(394),children:[{text:o.to(n(403))}]}]})}[it(398)](){const t=it;super[t(398)]();const e=this[t(395)][t(396)],n=e=>{const n=t;this[n(395)][n(396)][n(423)]=String(e)};n(this[t(421)]),this.on(t(415),(t,e,o)=>{n(o)}),this[t(410)](e,t(420),(n,o)=>{const s=t;if(s(404)===o[s(412)]||s(407)===o[s(412)])return void o[s(399)]();if(o[s(413)]!==i.keyCodes[s(392)])return;o[s(402)]();const r=e[s(401)];Number[s(405)](r)?e[s(423)]=String(this[s(421)]):(e[s(422)]()?this[s(421)]=r:r>this[s(403)]?(this[s(421)]=this[s(403)],e[s(423)]=String(this[s(403)])):(this[s(421)]=1,e[s(423)]="1"),this[s(388)](s(393),this[s(421)]))}),this[t(410)](e,t(426),()=>{const n=t;e[n(423)]=String(this[n(421)])}),this[t(410)](e,t(411),()=>{const e=t;this[e(395)][e(389)]()})}[it(411)](){const t=it;this[t(396)][t(387)][t(411)]()}}const ct=ut;function ut(t,e){const n=lt();return(ut=function(t,e){return n[t-=322]})(t,e)}function lt(){const t=["3056200dXAgMI","pageNavigation","50AlehcC","Go to next page","bind","1531920WTQHuK","keystroke","icon","execute","tooltip","1617868uzNFei","init","50rJOMwS","PaginationEditing","moveSelectionToPage","12912lSgYEZ","plugins","isOfficialPlugin","goToNextPage","label","613570OjnClw","Shift+PageDown","isPremiumPlugin","Go to previous page","pluginName","navigation","locale","get","totalPages","componentFactory","282132OdtGQk","45585eOJpsU","add","listenTo","goToPreviousPage","previousPage","pageNumber","PaginationUI","243LRajff","scrollToPage","editor","isEnabled","Shift+PageUp","nextPage"];return(lt=function(){return t})()}!function(t){const e=ut,n=t();for(;;)try{if(252305===-parseInt(e(361))/1+parseInt(e(342))/2*(parseInt(e(345))/3)+-parseInt(e(335))/4+-parseInt(e(332))/5*(parseInt(e(360))/6)+-parseInt(e(340))/7+-parseInt(e(330))/8+-parseInt(e(324))/9*(-parseInt(e(350))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(lt);class pt extends t.Plugin{static get[ct(354)](){return ct(323)}static get[ct(347)](){return!0}static get[ct(352)](){return!0}[ct(341)](){const t=ct,n=this[t(326)],o=n[t(346)][t(357)](t(343));n.ui[t(359)][t(362)](t(331),e=>{const n=t,i=new at(e);return i[n(334)](n(322)).to(o),i[n(334)](n(358)).to(o),i[n(334)](n(327)).to(o),i.on(n(355),(t,e)=>{const i=n;o[i(344)](e),o[i(325)](e)}),i}),n.ui[t(359)][t(362)](t(329),i=>{const s=t,r=new e.ButtonView(i);return r[s(327)]=!0,r[s(349)]=J(n[s(356)],s(333)),r[s(337)]=et.IconArrowDown,r[s(339)]=!0,r[s(336)]=s(351),r[s(334)](s(327)).to(o),this[s(363)](r,s(338),()=>{o[s(348)]()}),r}),n.ui[t(359)][t(362)](t(365),i=>{const s=t,r=new e.ButtonView(i);return r[s(327)]=!0,r[s(349)]=J(n[s(356)],s(353)),r[s(337)]=et.IconArrowUp,r[s(339)]=!0,r[s(336)]=s(328),r[s(334)](s(327)).to(o),this[s(363)](r,s(338),()=>{o[s(364)]()}),r})}}function ft(){const t=["9688984jahoCI","set","totalPages","Pagination","isEnabled","scrollToPage","get","pageNumber","329484tFEgKZ","requires","config","isBlink","15tCOlEa","6wNPwTn","13210MqIHRx","ready","3260kPeyGI","bind","pluginName","isPremiumPlugin","166zzeLKJ","browserCheck","forceDisabled","init","5191080oXWmsE","11cyPJcl","5949WCXRxP","5489505MaUzRA","2122674RiiSin","plugins","pagination.enableOnUnsupportedBrowsers","editor","isOfficialPlugin"];return(ft=function(){return t})()}const ht=dt;function dt(t,e){const n=ft();return(dt=function(t,e){return n[t-=175]})(t,e)}!function(t){const e=dt,n=t();for(;;)try{if(612332===-parseInt(e(198))/1*(parseInt(e(202))/2)+parseInt(e(195))/3*(-parseInt(e(190))/4)+parseInt(e(194))/5*(parseInt(e(177))/6)+-parseInt(e(176))/7+parseInt(e(182))/8+parseInt(e(175))/9*(-parseInt(e(196))/10)+-parseInt(e(207))/11*(-parseInt(e(206))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ft);class gt extends t.Plugin{static get[ht(200)](){return ht(185)}static get[ht(181)](){return!0}static get[ht(201)](){return!0}static get[ht(191)](){return[tt,pt]}constructor(t){const e=ht;super(t),this[e(186)]=!1}[ht(205)](){const t=ht;this[t(183)]({pageNumber:1,totalPages:1});const e=this[t(180)][t(178)][t(188)](tt);this[t(199)](t(189)).to(e),this[t(199)](t(184)).to(e),i.env[t(193)]||this[t(180)][t(192)][t(188)](t(179))?this[t(180)].on(t(197),()=>{this[t(186)]=!0}):this[t(204)](t(203))}[ht(187)](t){const e=ht;this[e(180)][e(178)][e(188)](tt)[e(187)](t)}}function mt(){var t=["290344vDiFxn","2GcJXCS","752MKizyA","138IYkmup","18529wrWTle","812826TKVUYl","20490ILLurf","3602576eFCAPH","2212113GAPxDj","11opuKXB","14288510QRVmKH"];return(mt=function(){return t})()}function bt(t,e){var n=mt();return(bt=function(t,e){return n[t-=234]})(t,e)}!function(t){for(var e=bt,n=t();;)try{if(390117===-parseInt(e(242))/1+parseInt(e(243))/2*(parseInt(e(239))/3)+parseInt(e(244))/4*(parseInt(e(237))/5)+-parseInt(e(234))/6*(-parseInt(e(235))/7)+parseInt(e(238))/8+parseInt(e(236))/9+-parseInt(e(241))/10*(parseInt(e(240))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(mt)})(),(window.CKEditor5=window.CKEditor5||{}).pagination=o})();
|
|
5
|
+
*/(()=>{var t={168:t=>{"use strict";t.exports=function(t){return t[1]}},237:t=>{"use strict";t.exports=CKEditor5.dll},262:t=>{"use strict";var e={};t.exports=function(t,n){var i=function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}e[t]=n}return e[t]}(t);if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(n)}},311:(t,e,n)=>{t.exports=n(237)("./src/ui.js")},355:(t,e,n)=>{t.exports=n(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},371:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(168),o=n.n(i),s=n(433),r=n.n(s)()(o());r.push([t.id,".ck.ck-pagination-view-line{border-top:1px dotted var(--ck-color-pagination-divider);height:0;pointer-events:none;position:absolute}.ck.ck-pagination-view-line:after{background:#c4c4c4;color:var(--ck-color-base-background);content:attr(data-page-number);display:inline-block;font-size:10px;min-width:18px;padding:var(--ck-spacing-tiny) var(--ck-spacing-medium);position:absolute;right:-1px;text-align:center;top:-1px;transform:translateX(100%)}",""]);const a=r},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var n="",i=void 0!==e[5];return e[4]&&(n+="@supports (".concat(e[4],") {")),e[2]&&(n+="@media ".concat(e[2]," {")),i&&(n+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),n+=t(e),i&&(n+="}"),e[2]&&(n+="}"),e[4]&&(n+="}"),n}).join("")},e.i=function(t,n,i,o,s){"string"==typeof t&&(t=[[null,t,void 0]]);var r={};if(i)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(r[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);i&&r[l[0]]||(void 0!==s&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=s),n&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=n):l[2]=n),o&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=o):l[4]="".concat(o)),e.push(l))}},e}},545:t=>{"use strict";var e,n=(e=[],function(t,n){return e[t]=n,e.filter(Boolean).join("\n")});function i(t,e,i,o){var s;if(i)s="";else{s="",o.supports&&(s+="@supports (".concat(o.supports,") {")),o.media&&(s+="@media ".concat(o.media," {"));var r=void 0!==o.layer;r&&(s+="@layer".concat(o.layer.length>0?" ".concat(o.layer):""," {")),s+=o.css,r&&(s+="}"),o.media&&(s+="}"),o.supports&&(s+="}")}if(t.styleSheet)t.styleSheet.cssText=n(e,s);else{var a=document.createTextNode(s),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var o={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=o.singletonCounter++,n=o.singleton||(o.singleton=t.insertStyleElement(t));return{update:function(t){i(n,e,!1,t)},remove:function(t){i(n,e,!0,t)}}}},584:(t,e,n)=>{t.exports=n(237)("./src/utils.js")},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach(function(n){t.setAttribute(n,e[n])})}},673:t=>{"use strict";var e=[];function n(t){for(var n=-1,i=0;i<e.length;i++)if(e[i].identifier===t){n=i;break}return n}function i(t,i){for(var s={},r=[],a=0;a<t.length;a++){var c=t[a],u=i.base?c[0]+i.base:c[0],l=s[u]||0,p="".concat(u," ").concat(l);s[u]=l+1;var f=n(p),h={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==f)e[f].references++,e[f].updater(h);else{var d=o(h,i);i.byIndex=a,e.splice(a,0,{identifier:p,updater:d,references:1})}r.push(p)}return r}function o(t,e){var n=e.domAPI(e);n.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;n.update(t=e)}else n.remove()}}t.exports=function(t,o){var s=i(t=t||[],o=o||{});return function(t){t=t||[];for(var r=0;r<s.length;r++){var a=n(s[r]);e[a].references--}for(var c=i(t,o),u=0;u<s.length;u++){var l=n(s[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}s=c}}},761:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(168),o=n.n(i),s=n(433),r=n.n(s)()(o());r.push([t.id,":root{--ck-color-pagination-divider:#ababab}.ck.ck-pagination_enabled.ck-content .page-break:after,.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .ck-widget__type-around{display:none}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view 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:()=>q});var t=n(782),e=n(311),o=n(584);function s(t,e,{signal:n,edges:i}={}){let o,s=null;const r=null!=i&&i.includes("leading"),a=null==i||i.includes("trailing"),c=()=>{null!==s&&(t.apply(o,s),o=void 0,s=null)};let u=null;const l=()=>{null!=u&&clearTimeout(u),u=setTimeout(()=>{u=null,a&&c(),f()},e)},p=()=>{null!==u&&(clearTimeout(u),u=null)},f=()=>{p(),o=void 0,s=null},h=function(...t){if(n?.aborted)return;o=this,s=t;const e=null==u;l(),r&&e&&c()};return h.schedule=l,h.cancel=f,h.flush=()=>{p(),c()},n?.addEventListener("abort",f,{once:!0}),h}const r=m;function a(){const t=["config","pageBreaks","manual","error","startOffset","removeAttribute","change:isEnabled","removeEventListener","offset","162fYUnFf","nodeType","type","100px","hasAttribute","textOffset","_recalculatePageBreaks","calc( ","attributeStyleMap","165nQkvDa","auto","previousElementSibling","toModelElement","pagination.pageMargins","ownerDocument","cloneNode","index","addEventListener","40gPcllc","domPositionToView","position",".page-break","every","complete","map","plugins","TEXT_NODE","push","78BcVcmo","endContainer","isPremiumPlugin","createRange","getClientRects","bind","rootName","table-cell","_mapManualPageStarterInfoToPageBreakInfo","modelRange","domRoots","toModelPosition","parent","pagination-config-not-found","top","clear","floor","fromCharCode","querySelectorAll","1922805MeIVPL","get","afterInit","destroy","nextElementSibling","selectNodeContents","nodeBefore","float","getAncestors","PaginationLookup","view","update","1040aofIFq","editor","assign","_pagesContainer","_recalculatePageBreaksDebounced","document","setTemplate","pagination","firstChild","249560cmZZJf","findMappedViewAncestor","listenTo","once","classList","scrollLeft","height","DOCUMENT_POSITION_PRECEDING","offsetParent","href","_onUiReady","cancel","mapper","resolve","ck-fake-selection-container","display","right","window","domConverter"," 0 ","table-row","rootElement","path","mapViewToDom","indexOf","setEnd","excludeScrollbarsAndBorders","none","createRangeOn","root","sort","ck-pagination-view","append","width","figure.image","10mm","isTouching","className","previousSibling","selectNode","childElementCount","paddingRight","bottom","childNodes","ck-reset","ready","_domNode","ELEMENT_NODE","toViewElement","setStart","isEnabled","init","join","startContainer","length","_findPageStarterInfos","_mapElementPageStarterInfoToPageBreakInfo","_mapTextPageStarterInfoToPageBreakInfo","absolute","hidden","shift","body","dataset","class","_getAttachedDomRoot","29028fIOEkI","left","_mapPageStarterInfoToPageBreakInfo","1020648XGjdvz","low","isOfficialPlugin","border-box","_updatePageBreaksData","img","bindTemplate","createPositionBefore","imageBlock","render","paddingLeft","text","values","then","div","load","set","-99999px","147812fMzakc","style","race","from","_offset","ceil"," - ","10365IxjVCv","element","_configuredPaddings","closest","pluginName","getComputedStyle","PaginationEditing","parentElement","round","locale","entries","getDomRoot","67780UcfWiz","insertBefore","editing","contains","remove","nextSibling","parentNode","page-break","endOffset","compareDocumentPosition","all","model"];return(a=function(){return t})()}!function(t){const e=m,n=t();for(;;)try{if(378327===-parseInt(e(505))/1*(-parseInt(e(390))/2)+-parseInt(e(419))/3+-parseInt(e(431))/4*(-parseInt(e(533))/5)+parseInt(e(400))/6*(parseInt(e(526))/7)+parseInt(e(440))/8*(-parseInt(e(566))/9)+parseInt(e(545))/10*(parseInt(e(381))/11)+parseInt(e(508))/12)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(a);class c extends t.Plugin{[r(435)]=function(t,e=0,n={}){"object"!=typeof n&&(n={});const{leading:i=!1,trailing:o=!0,maxWait:r}=n,a=Array(2);let c;i&&(a[0]="leading"),o&&(a[1]="trailing");let u=null;const l=s(function(...e){c=t.apply(this,e),u=null},e,{edges:a}),p=function(...e){return null!=r&&(null===u&&(u=Date.now()),Date.now()-u>=r)?(c=t.apply(this,e),u=Date.now(),l.cancel(),l.schedule(),c):(l.apply(this,e),c)};return p.cancel=l.cancel,p.flush=()=>(l.flush(),c),p}(()=>this[r(572)](),200);[r(434)]=null;static get[r(537)](){return r(428)}static get[r(510)](){return!0}static get[r(402)](){return!0}[r(491)](){const t=r;if(this[t(524)]({pageBreaks:[]}),!this[t(432)][t(557)][t(420)](t(438)))return void(0,o.logWarning)(t(413),this[t(432)][t(557)]);const e=this[t(432)][t(397)][t(420)](t(539));this[t(405)](t(490)).to(e),this[t(432)].ui[t(443)](t(485),()=>this[t(450)]()),this.on(t(563),(e,n,i)=>{i&&this[t(435)]()})}[r(421)](){!async function(t){const e=g([114,48,80,103,54,98,65,119,50,108,79,82,81,117,118,102,86,49,89,56,121,88,73,69,71,66,84,51,78,107,67,85,74,53,87,83,113,101,97,116,90,109,52,76,77,57,111,72,122,110,68,106,120,115,70,104,112,99,105,55,75,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 h(t){return t[g([115,112,108,105,116])]("")[g([114,101,118,101,114,115,101])]()[g([106,111,105,110])]("")}function d(){}function g(t){const e=m;return t[e(396)](t=>String[e(417)](t))[e(492)]("")}!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([114]);for(let i=0;i<t[g([108,101,110,103,116,104])];i+=2){let o=window[g([112,97,114,115,101,73,110,116])](t[g([115,117,98,115,116,114,105,110,103])](i,i+2));o>=e[g([108,101,110,103,116,104])]&&(o-=e[g([108,101,110,103,116,104])]),n+=e[o]}return n}();i[n]=g([112,97,103,105,110,97,116,105,111,110,76,105,99,101,110,115,101,75,101,121])+t,t!=g([86,97,108,105,100])&&async function(){await s,i[g([109,111,100,101,108])][g([99,104,97,110,103,101])]=d,i[g([109,111,100,101,108])][g([101,110,113,117,101,117,101,67,104,97,110,103,101])]=d,i[g([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](g([109,111,100,101,108]))}()}(await async function(){let t,e=null,d=null;try{return a==g([71,80,76])?g([78,111,116,65,108,108,111,119,101,100]):(t=function(){const t=a[g([115,112,108,105,116])](g([46]));return 3!=t[g([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=u(t);return e&&n()?e:null;function n(){const t=e[g([106,116,105])],n=window[g([112,97,114,115,101,73,110,116])](t[g([115,117,98,115,116,114,105,110,103])](t[g([108,101,110,103,116,104])]-8),16),i={...e,[g([106,116,105])]:t[g([115,117,98,115,116,114,105,110,103])](0,t[g([108,101,110,103,116,104])]-8)};return delete i[g([118,99])],p(i)==n}}}(),t?(t[g([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(d=function(t,e){return new(window[g([80,114,111,109,105,115,101])])(c=>{if(r())return c(g([86,97,108,105,100]));a(),i[g([100,101,99,111,114,97,116,101])](g([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let u=!1;const l=(0,o.uid)();function d(t){return!!t&&(typeof t===g([111,98,106,101,99,116])||typeof t===g([102,117,110,99,116,105,111,110]))&&typeof t[g([116,104,101,110])]===g([102,117,110,99,116,105,111,110])&&typeof t[g([99,97,116,99,104])]===g([102,117,110,99,116,105,111,110])}function m(i){a(i)[g([116,104,101,110])](t=>t&&t[g([115,116,97,116,117,115])]==g([111,107])?f(p(l+e))!=t[g([118,101,114,105,102,105,99,97,116,105,111,110])]?g([85,115,97,103,101,76,105,109,105,116]):g([86,97,108,105,100]):g([85,115,97,103,101,76,105,109,105,116]))[g([116,104,101,110])](t=>(s(),t),()=>{const t=r();return null==t?(s(),g([86,97,108,105,100])):g(n-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[g([116,104,101,110])](c)[g([99,97,116,99,104])](()=>{c(g([85,115,97,103,101,76,105,109,105,116]))});const o=36e5;function s(){const e=g([108,108,99,116,45])+f(p(t)),i=h(f(window[g([77,97,116,104])][g([99,101,105,108])](n/o)));window[g([108,111,99,97,108,83,116,111,114,97,103,101])][g([115,101,116,73,116,101,109])](e,i)}function r(){const e=g([108,108,99,116,45])+f(p(t)),n=window[g([108,111,99,97,108,83,116,111,114,97,103,101])][g([103,101,116,73,116,101,109])](e);return n?window[g([112,97,114,115,101,73,110,116])](h(n),16)*o:null}function a(t){return new(window[g([80,114,111,109,105,115,101])])((e,n)=>{t[g([116,104,101,110])](e,n),window[g([115,101,116,84,105,109,101,111,117,116])](n,12e4)})}}i[g([111,110])](g([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(e,n)=>{if(n[0]!=t)return c(g([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[g([114,101,113,117,101,115,116,73,100])]:l}},{[g([112,114,105,111,114,105,116,121])]:g([104,105,103,104])}),i[g([111,110])](g([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),t=>{d(t[g([114,101,116,117,114,110])])&&(u=!0,m(t[g([114,101,116,117,114,110])]))},{[g([112,114,105,111,114,105,116,121])]:g([108,111,119])}),s[g([116,104,101,110])](()=>{u||c(g([85,115,97,103,101,76,105,109,105,116]))})});function r(){return i[g([101,100,105,116,105,110,103])][g([118,105,101,119])][g([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==g([97,117,116,111])}function a(){i[g([101,100,105,116,105,110,103])][g([118,105,101,119])][g([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=g([97,117,116,111])}}(t[g([117,115,97,103,101,69,110,100,112,111,105,110,116])],t[g([106,116,105])])),await async function(){let t=!0;try{const i=a[g([115,112,108,105,116])](g([46])),[o,s,r]=i;return e(o),await n(o,s,r),t}catch{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:1751500800;return t[g([101,120,112])]<e}()?g([69,120,112,105,114,101,100]):function(){const e=m,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(449)]);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&&d?new(window[g([80,114,111,109,105,115,101])])((t,n)=>{e[g([116,104,101,110])](t,n),d[g([116,104,101,110])](e=>{e!=g([86,97,108,105,100])&&t(e)},n)}):e||d||g([86,97,108,105,100]))):g([68,111,109,97,105,110,76,105,109,105,116]):g([78,111,116,65,108,108,111,119,101,100]):g([73,110,118,97,108,105,100])):g([73,110,118,97,108,105,100]))}catch{return g([73,110,118,97,108,105,100])}}())}(this)}[r(422)](){const t=r;super[t(422)](),this[t(434)]&&(this[t(435)][t(451)](),this[t(434)][t(422)](),this[t(434)][t(534)][t(549)]())}[r(450)](){const t=r,n=this[t(432)],i=n[t(547)][t(429)],o=this[t(504)]();if(!o||0===o[t(480)])return void n.ui[t(443)](t(430),()=>this[t(450)]());const{pageWidth:s,pageHeight:a}=n[t(557)][t(420)](t(438)),{top:c,left:u,bottom:l,right:p}=this[t(535)];this[t(434)]=new e.View(n[t(542)]);const f=this[t(434)];f[t(524)](t(503),""),f[t(437)]({tag:t(522),attributes:{contenteditable:!0,style:{columnWidth:s,width:s,height:t(379)+a+t(532)+c+t(532)+l+" )",minWidth:t(382),minHeight:t(382),padding:"0 "+p+t(459)+u,columnGap:t(569),border:0,boxSizing:t(511),columnCount:t(382),columnFill:t(382),overflow:t(499),position:t(498),top:t(525),left:t(525)},tabindex:"-1",class:f[t(514)].to(t(503))}}),f[t(517)](),o[t(551)][t(546)](f[t(534)],o[t(550)]),this[t(442)](i,t(517),()=>this[t(435)](),{priority:t(509)}),this[t(435)]()}[r(504)](){const t=r;for(const e of this[t(432)][t(547)][t(429)][t(410)][t(520)]())if(e[t(386)][t(501)][t(548)](e))return e;return null}[r(572)](){const t=r;if(!this[t(490)])return Promise[t(453)]();const e=this[t(432)][t(547)][t(429)],n=this[t(434)],i=this[t(504)]();if(!i)return Promise[t(453)]();for(n[t(503)]=[t(484),t(471),...i[t(444)]][t(492)](" ");n[t(534)][t(439)];)n[t(534)][t(439)][t(549)]();const o=Array[t(529)](e[t(410)]);o[t(470)](([,e],[,n])=>e[t(554)](n)==Node[t(447)]?1:-1);for(const[e,i]of o){const o=i[t(387)](!0);t(380)in o&&o[t(380)][t(415)](),o[t(477)]="",o[t(562)]("id"),o[t(502)][t(406)]=e,n[t(534)][t(472)](o)}return function(e){const n=t;return Promise[n(555)](e[n(396)](t=>{return Promise[n(528)]([p(t),(e=1e3,new Promise(t=>setTimeout(t,e)))]);var e}))}(Array[t(529)](n[t(534)][t(418)](t(513))))[t(521)](()=>this[t(512)]())}[r(512)](){const t=r,e=this[t(434)][t(534)];if(!e[t(386)][t(501)][t(548)](e))return;const n=new o.Rect(e)[t(466)](),i=o.global[t(457)][t(538)](e),s=parseFloat(i[t(518)])+parseFloat(i[t(481)]),a=Math[t(416)](n[t(473)]+100-s),c=g(e,Math[t(416)](n[t(506)]-e[t(445)]),a,n[t(446)])[t(396)](e=>this[t(507)](e));c[t(394)](t=>!!t)&&(this[t(558)]=c)}[r(507)](t){const e=r,n=this[e(432)][e(547)][e(429)],i=this[e(432)][e(547)][e(452)],o=n[e(458)],s=t[e(462)][e(500)](),a=this[e(434)][e(534)][e(483)][s][e(502)][e(406)],c=n[e(544)](a);if(!c)return null;const u=function(t,n){const i=e;let o=t;for(const t of n[i(462)]){if(!o)return null;o=o[i(483)][t]}return o}(c,t);if(!u)return null;const l=o[e(391)](u,t[e(571)]||0);return l?e(559)==t[e(568)]?this[e(408)](l,u):e(519)==t[e(568)]&&i[e(411)](l)[e(565)]?this[e(497)](l,u,t[e(571)]):this[e(496)](l,u,t[e(565)]):null}[r(408)](t,e){const n=r,i=this[n(432)][n(556)],o=this[n(432)][n(547)][n(452)][n(384)](t[n(412)]),s=i[n(468)](o);return new u({type:n(559),modelRange:s,domNode:e,offset:0})}[r(497)](t,e,n){const i=r,o=this[i(432)][i(556)],s=this[i(432)][i(547)][i(452)],a=this[i(432)][i(547)][i(429)][i(458)];if(n>=e[i(494)])return null;const c=s[i(411)](t),p=o[i(403)](c),f=s[i(441)](t),h=a[i(463)](f);return new u({type:i(519),modelRange:p,domNode:e,offset:l(e,n,h)})}[r(496)](t,e,n){const i=r,s=this[i(432)][i(556)],a=this[i(432)][i(547)],c=a[i(452)],l=a[i(429)][i(458)],p=c[i(441)](t),h=c[i(384)](p),d=function(t){const e=i,n=t[e(412)],o=n[e(469)][e(436)][e(556)],s=n[e(427)]({parentFirst:!0,includeSelf:!0});let r=null;for(const n of s){if(n.is(e(461)))return r;if(!o[e(515)](n)[e(476)](t))return r;r=n}}(s[i(515)](h))||h;let g=c[i(488)](d),m=s[i(468)](d);const b=s[i(515)](d)[i(425)];if(b&&b.is(i(534),i(516))){const t=c[i(488)](b),e=l[i(463)](t),n=o.global[i(457)][i(538)](e)[i(426)];i(506)!=n&&i(456)!=n||(m=s[i(468)](b))}for(;g[i(412)]!==g[i(469)]&&0===g[i(388)];)g=g[i(412)];const w=new o.Rect(y(e)?e:f(e)),k=n?w[i(446)]-n:0,v=l[i(463)](g),I=new o.Rect(v);return new u({type:i(534),modelRange:m,domNode:v,offset:Math[i(541)](k)?k+w[i(414)]-I[i(414)]:0})}get[r(535)](){const t=r,e=this[t(432)][t(557)][t(420)](t(385));return Object[t(433)]({top:t(475),bottom:t(475),left:t(475),right:t(475)},e)}static[r(495)](t,e,n,i,o){return g(t,e,n,i,o)}}class u{[r(568)];[r(409)];[r(486)];[r(530)];constructor({type:t,modelRange:e,domNode:n,offset:i}){const o=r;this[o(568)]=t,this[o(409)]=e,this[o(486)]=n,this[o(530)]=i}get[r(565)](){const t=r;if(!this[t(486)][t(386)][t(501)][t(548)](this[t(486)]))return 0;const e=new o.Rect(y(this[t(486)])?this[t(486)]:f(this[t(486)]));return t(559)==this[t(568)]?e[t(414)]+e[t(446)]/2:e[t(414)]+this[t(530)]}}function l(t,e,n){const i=r,s=f(t),a=function(t){const e=m,n=o.global[e(436)][e(403)]();return n[e(424)](t),n}(n);let c;c=0==e?d(a[i(493)],a[i(561)],t[i(551)],Array[i(529)](t[i(551)][i(483)])[i(464)](t)):d(a[i(493)],a[i(561)],t,e);const u=d(t,e,a[i(401)],a[i(553)]),l=new o.Rect(c)[i(482)];return(new o.Rect(u)[i(414)]+l)/2-new o.Rect(s)[i(414)]}function p(t){const e=r;return t[e(570)](e(473))&&t[e(570)](e(446))?Promise[e(453)]():new Promise(n=>{const i=e;function o(){const e=m;t[e(564)](e(523),o),t[e(564)](e(560),o),n()}t[i(395)]?n():(t[i(389)](i(523),o),t[i(389)](i(560),o))})}function f(t){const e=r,n=o.global[e(436)][e(403)]();return n[e(479)](t),n}function h(t,e,n){const i=r,s=o.global[i(436)][i(403)]();return s[i(489)](t,e),s[i(465)](t,n),s}function d(t,e,n,i){const s=r,a=o.global[s(436)][s(403)]();return a[s(489)](t,e),a[s(465)](n,i),a}function g(t,e,n,i,o){const s=r,a=[];for(const[r,c]of t[s(483)][s(543)]()){let t=[];y(c)&&c[s(448)]&&!c[s(527)][s(392)]?t=b(c,r,e,n,i,o):I(c)&&(t=w(c,r,e,n,o)),t[s(494)]&&(a[s(399)](...t),e+=t[s(494)]*n,o=!1)}return a}function m(t,e){const n=a();return(m=function(t,e){return n[t-=379]})(t,e)}function b(t,e,n,i,s,a){const c=r,u=[];var l;if((l=t[c(478)])&&y(l)&&Boolean(l[c(444)][c(548)](c(552))||l[c(536)](c(393)))&&(u[c(399)]({type:c(559),offset:0,path:[e-1]}),a=!0),c(460)==o.global[c(457)][c(538)](t)[c(455)]){let i=0,o=!1;for(const e of t[c(404)]())i+=e[c(446)],e[c(506)]>=n&&(o=!0);if(i<s&&o)return u[c(399)]({type:c(534),offset:0,path:[e]}),u}const p=t[c(536)](c(474));if(p&&function(t){const e=c;let n=!1;const i=t[e(540)][e(502)][e(406)],s=t[e(423)],r=t[e(383)],a=s&&o.global[e(457)][e(538)](s)[e(426)],u=s&&e(454)===s[e(477)];return!i||s||r||(n=!0),i&&!r&&u&&(n=!0),i&&!r&&e(467)!==a&&(n=!0),!n}(p)){const t=o.global[c(457)][c(538)](p)[c(426)];if(c(506)==t||c(456)==t)return u}const f=g(t,n,i,s,a);if(f[c(494)]){for(const t of f)u[c(399)]({type:t[c(568)],offset:t[c(565)],textOffset:t[c(571)],path:[e,...t[c(462)]]}),n+=i,a=!1;return u}return u[c(399)](...function(t,e,n,i,s){const r=c,a=[];if(r(407)==o.global[r(457)][r(538)](t)[r(455)])return[];const u=[];for(const e of t[r(404)]())if(e[r(506)]>=n){for(const t of u)t[r(446)]+=e[r(446)];u[r(399)]({height:e[r(446)]}),n+=i}for(const t of u)s||a[r(399)]({type:r(534),offset:t[r(446)],textOffset:0,path:[e]}),s=!1;return a}(t,e,n,i,a)),u}function w(t,e,n,i,o){const s=r,a=f(t),c=[];let u=0;for(const r of a[s(404)]())if(r[s(506)]>=n){const r=k(t,u,n,i);o||c[s(399)]({type:s(519),path:[e],textOffset:r}),u=r,n+=i,o=!1}return c}function k(t,e,n,i){const o=r;let s=e,a=t[o(494)];for(;a-s>1;){const e=Math[o(531)]((s+a)/2);v(h(t,s,e),n,i)?a=e:s=e}return s}function v(t,e,n){const i=r;for(const o of t[i(404)]())if(o[i(506)]>=e&&o[i(506)]<e+n)return!0;return!1}function y(t){const e=r;return t[e(567)]==Node[e(487)]}function I(t){const e=r;return t[e(567)]==Node[e(398)]}var P=n(673),x=n.n(P),_=n(545),N=n.n(_),E=n(262),T=n.n(E),S=n(667),R=n.n(S),A=n(357),C=n.n(A),L=n(371),O={attributes:{"data-cke":!0}};O.setAttributes=R(),O.insert=T().bind(null,"head"),O.domAPI=N(),O.insertStyleElement=C();x()(L.A,O);L.A&&L.A.locals&&L.A.locals;function M(t,e){const n=G();return(M=function(t,e){return n[t-=448]})(t,e)}!function(t){const e=M,n=t();for(;;)try{if(476576===-parseInt(e(457))/1*(-parseInt(e(468))/2)+-parseInt(e(456))/3*(parseInt(e(462))/4)+parseInt(e(454))/5+-parseInt(e(450))/6+parseInt(e(451))/7*(parseInt(e(455))/8)+parseInt(e(453))/9*(-parseInt(e(469))/10)+-parseInt(e(460))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(G);const B=(0,o.toUnit)("px");class D extends e.View{constructor(){const t=M;super();const e=this[t(459)];this[t(461)]({isVisible:!1,left:null,top:null,width:null,pageNumber:null}),this[t(452)]({tag:t(465),attributes:{"data-page-number":e.to(t(463)),class:["ck",t(467),e.if(t(448),t(449),t=>!t)],style:{left:e.to(t(458),t=>B(t)),top:e.to(t(464),t=>B(t)),width:e.to(t(466),t=>B(t))}}})}}function G(){const t=["width","ck-pagination-view-line","38KCdNla","1061870lwyMlB","isVisible","ck-hidden","1225908XOieHX","679DwWNpt","setTemplate","36wnetrT","2648335lHjoqG","74280oFdHgF","1599lHzhYR","7826gtIfwU","left","bindTemplate","885973egaaYt","set","2948lavBMZ","pageNumber","top","div"];return(G=function(){return t})()}function K(t,e){const n=j();return(K=function(t,e){return n[t-=143]})(t,e)}const V=K;function j(){const t=["228MmSwUC","6DCmJkl","193919ILwIZi","showLine","159hCpESF","4232fRuZKX","delete","1skWwaQ","cleanLines","isVisible","155246ioftmC","57554hGWuds","330ZYoRHT","7ZsaOca","35145Jjrgrc","_hiddenLines","1318025kLfBYB","setViewCollection","_viewCollection","has","clear","destroy","_visibleLines","338fSCDQH","add","values","body","3406808YyXhDr","view","remove","size","set"];return(j=function(){return t})()}!function(t){const e=K,n=t();for(;;)try{if(222353===parseInt(e(149))/1*(-parseInt(e(153))/2)+-parseInt(e(146))/3*(-parseInt(e(147))/4)+parseInt(e(158))/5*(parseInt(e(143))/6)+parseInt(e(155))/7*(parseInt(e(169))/8)+-parseInt(e(156))/9*(-parseInt(e(154))/10)+-parseInt(e(144))/11*(parseInt(e(174))/12)+-parseInt(e(165))/13*(parseInt(e(152))/14))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(j);class F{[V(160)];[V(164)]=new Set;[V(157)]=new Set;constructor(t){const e=V;this[e(160)]=t.ui[e(170)][e(168)]}[V(163)](){const t=V;for(const e of this[t(157)])e[t(163)]()}[V(150)](){const t=V;for(const e of this[t(164)])e[t(151)]=!1,this[t(157)][t(166)](e);this[t(164)][t(162)]()}[V(145)](t,e,n,i){const s=V;let r;this[s(157)][s(172)]?(r=(0,o.first)(this[s(157)][s(167)]()),this[s(157)][s(148)](r)):r=new D,r[s(173)]({pageNumber:i,left:t,top:e,width:n}),r[s(151)]=!0,this[s(160)][s(161)](r)||this[s(160)][s(166)](r),this[s(164)][s(166)](r)}[V(159)](t){const e=V;for(const t of[...this[e(164)],...this[e(157)]])this[e(160)][e(161)](t)&&this[e(160)][e(171)](t);this[e(160)]=t}}function H(){const t=["update","scrollTop","_scrollableEditingRootDomAncestor","41016NbubsI","scrollToPage","1943200nCATaU","contains","parentElement","smooth","pageNumber","isEnabled","_resizeObserver","addClass","height","scrollLeft","editing","push","domRoots","_toggleEditingRootsClass","getComputedStyle","left","top","134pItfol","pageBreaks","_getAttachedDomRoot","init","once","ownerDocument","cleanLines","11596kVZeEt","PaginationEditing","destroy","333578kKzLVP","isOfficialPlugin","3515920kaaIOs","5130026KeqEYY","roots","width","values","8666OSjEhH","stopListening","removeClass","showLine","bottom","change:pageBreaks","_renderPageBreakLines","PaginationLookup","excludeScrollbarsAndBorders","tagName","linesRepository","9OPilvu","_onUiReady","24kaTJZJ","length","isPremiumPlugin","get","offset","_getPageBreakLineOffset","scrollTo","change","auto","body","_updatePageBreakLines","instant","isMotionReduced","ck-pagination_enabled","scroll","BODY","window","resize","bind","listenTo","plugins","492RMFkCy","pluginName","document","ready","overflowY","change:isEnabled","editor","setupScrollableAncestor","PaginationRenderer","_paginationLookupPlugin","110GqiMRF","view","set"];return(H=function(){return t})()}const U=z;function z(t,e){const n=H();return(z=function(t,e){return n[t-=485]})(t,e)}!function(t){const e=z,n=t();for(;;)try{if(479638===-parseInt(e(533))/1*(parseInt(e(516))/2)+parseInt(e(567))/3*(parseInt(e(523))/4)+parseInt(e(491))/5*(-parseInt(e(497))/6)+parseInt(e(526))/7+-parseInt(e(528))/8*(parseInt(e(544))/9)+parseInt(e(499))/10+-parseInt(e(529))/11*(-parseInt(e(546))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(H);const Y=U(559);class q extends t.Plugin{[U(543)];[U(496)]=null;[U(505)]=null;[U(490)];static get[U(568)](){return U(489)}static get[U(527)](){return!0}static get[U(548)](){return!0}[U(519)](){const t=U;this[t(493)]({pageNumber:1}),this[t(543)]=new F(this[t(487)]),this[t(496)]=null,this[t(505)]=null,this[t(490)]=this[t(487)][t(566)][t(549)](t(540)),this[t(564)](t(504)).to(this[t(487)][t(566)][t(549)](t(524))),this[t(487)].ui[t(520)](t(570),()=>this[t(545)]()),this[t(512)](Y),this.on(t(486),(e,n,i)=>{const o=t;i||this[o(543)][o(522)](),this[o(512)](Y,i)})}[U(525)](){const t=U;this[t(512)](Y,!1),this[t(543)][t(525)](),this[t(496)]=null,this[t(505)]&&this[t(505)][t(525)]()}[U(498)](t){const e=U;if(!this[e(504)])return;const n=t>1?this[e(551)](t-1):0;this[e(496)][e(552)]({top:n-10,left:this[e(496)][e(508)],behavior:o.env[e(558)]?e(557):e(502)})}[U(488)](){const t=U,e=this[t(487)],n=this[t(518)]();n?(this[t(496)]&&e.ui[t(492)][t(534)](this[t(496)],t(560)),this[t(496)]=function(e){const n=t;let i=e;do{i=i[n(501)];const t=o.global[n(562)][n(513)](i)[n(485)];if(n(554)==t||n(560)==t)break}while(n(561)!=i[n(542)]);return i}(n),e.ui[t(492)][t(565)](this[t(496)],t(560),()=>{this[t(556)]()},{usePassive:!0}),this[t(505)]&&this[t(505)][t(525)](),this[t(505)]=new o.ResizeObserver(this[t(496)],()=>{this[t(556)]()})):e.ui[t(520)](t(494),()=>this[t(488)]())}[U(545)](){const t=U,e=this[t(487)];this[t(518)]()?(this[t(488)](),e.ui[t(492)][t(565)](o.global[t(562)],t(563),()=>this[t(556)]()),this[t(565)](this[t(490)],t(538),()=>this[t(556)]())):e.ui[t(520)](t(494),()=>this[t(545)]())}[U(518)](){const t=U;for(const e of this[t(487)][t(509)][t(492)][t(511)][t(532)]())if(e[t(521)][t(555)][t(500)](e))return e;return null}[U(556)](){const t=U;if(!this[t(504)])return;const e=this[t(518)](),n=this[t(490)][t(517)];if(this[t(543)][t(522)](),!e||1==n[t(547)])return void(this[t(503)]=1);const i=new o.Rect(e)[t(541)](),s=new o.Rect(this[t(496)])[t(541)](),r=s[t(515)]+s[t(507)]/3;let a=!1;const c=[];for(let e=1;e<n[t(547)];e++){const n=this[t(551)](e,s);if(!n)continue;const o=s[t(515)]+n-this[t(496)][t(495)];c[t(510)]({pageOffsetTop:o,domRootRect:i,domScrollableRect:s,pageNumber:e}),o>r&&!a&&(this[t(503)]=e,a=!0)}this[t(539)](c),a||(this[t(503)]=n[t(547)])}[U(539)](t){const e=U,{scrollX:n,scrollY:i}=o.global[e(562)];if(t[e(547)])for(const{domScrollableRect:o,pageOffsetTop:s,domRootRect:r,pageNumber:a}of t)o[e(515)]<s&&s<o[e(537)]&&this[e(543)][e(536)](r[e(514)]+n,s+i,r[e(531)],a+1)}[U(551)](t,e=null){const n=U,i=this[n(490)][n(517)][t][n(550)];return i?(e||(e=new o.Rect(this[n(496)])[n(541)]()),i-e[n(515)]+this[n(496)][n(495)]):0}[U(512)](t,e=!0){const n=U,i=this[n(487)][n(509)][n(492)];i[n(553)](o=>{const s=n;for(const n of i[s(569)][s(530)])e?o[s(506)](t,n):o[s(535)](t,n)})}}function Z(t,e,...n){const i=t.t;switch(e){case"Go to next page":return i("Go to next page");case"Go to previous page":return i("Go to previous page");case"Current page number (from 1 to %0)":return i("Current page number (from 1 to %0)",...n);case"Keystrokes for navigating through documents":return i("Keystrokes for navigating through documents");case"Go to the previous page (also move selection)":return i("Go to the previous page (also move selection)");case"Go to the next page (also move selection)":return i("Go to the next page (also move selection)");default:return e}}var W=n(761),J={attributes:{"data-cke":!0}};J.setAttributes=R(),J.insert=T().bind(null,"head"),J.domAPI=N(),J.insertStyleElement=C();x()(W.A,J);W.A&&W.A.locals&&W.A.locals;const Q=X;function X(t,e){const n=$();return(X=function(t,e){return n[t-=339]})(t,e)}function $(){const t=["plugins","goToPreviousPage","createContainerElement","add","name","20536bigAHe","5427568iLGEms","stop","Pagination","updateMarker","isOfficialPlugin","schema","data","element","type","addMarker","moveSelectionToPage","addMarker:","paginationLicenseKeyValid","always","paginationLicenseKeyNotAllowed","textNode","mapper","parent","init","licenseKey","pagination","accessibility","paginationLicenseKeyTrialLimit","$text","page-break","expired","paginationLicenseKeyUsageLimit","index","Keystrokes for navigating through documents","bind","focus","Go to the next page (also move selection)","totalPages","addKeystrokeInfoGroup","destroy","Shift+Pagedown","_setUpDataDowncastConversion","has","data-pagination-page","hasClass","pagination:","2750694GNMKHc","editor","change:pageBreaks","Shift+Pageup","dataDowncast","goToNextPage","pageNumber","listenTo","495lFnbdM","getFillerOffset","525442qnPRwA","for","27713079KyrNiR","_setupKeystrokes","locale","_validatePageNumber","page-break-before","span","getNearestSelectionRange","markers","PaginationEditing","consumable","requires","14TirvsS","_updatePageBreakMarkers","createPositionAt","setAttribute","conversion","model","paginationLicenseKeyEvaluationLimit","paginationLicenseKeyDomainLimit","editing","2376816OSsOAH","change","checkChild","Go to the previous page (also move selection)","_showLicenseError","root","manual","set","substring","text","paginationLicenseKeyInvalid","consume","config","paginationLicenseKeyExpired","length","_licenseKeyCheckInterval","start","keystrokes","removeMarker","isPremiumPlugin","toViewPosition","pageBreaks","bindElementToMarker","modelRange","forward","toViewElement","get","trialLimit","end","evaluationLimit","invalid","isEnabled","pluginName","scrollToPage","getContainedElement","view","setStyle","offset","1343757lGZNod","usageLimit","featureNotAllowed","writer","setSelection","nodeAfter","domainLimit","insert","options"];return($=function(){return t})()}!function(t){const e=X,n=t();for(;;)try{if(686857===-parseInt(e(368))/1+parseInt(e(434))/2+-parseInt(e(424))/3+-parseInt(e(382))/4*(parseInt(e(432))/5)+-parseInt(e(456))/6*(-parseInt(e(447))/7)+-parseInt(e(383))/8+parseInt(e(436))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}($);class tt extends t.Plugin{[Q(402)];[Q(345)];static get[Q(362)](){return Q(444)}static get[Q(387)](){return!0}static get[Q(349)](){return!0}static get[Q(446)](){return[c,q]}[Q(401)](){const t=Q;this[t(463)]({pageNumber:1,totalPages:1});const e=this[t(425)][t(377)][t(356)](t(385)),n=this[t(425)][t(377)][t(356)](c),i=this[t(425)][t(377)][t(356)](q);this[t(412)](t(361)).to(e),this[t(419)](),this[t(412)](t(430)).to(i),this[t(431)](n,t(426),(e,n,i,o)=>{const s=t;this[s(415)]=i[s(344)],this[s(448)](i,o)}),this[t(437)](),this[t(402)]=this[t(425)][t(342)][t(356)](t(402));const o=this[t(425)];this[t(345)]=setInterval(()=>{const e=t;let n;for(const t in o){const i=t,s=o[i];if(e(395)==s||e(340)==s||e(343)==s||e(454)==s||e(397)==s||e(453)==s||e(405)==s||e(409)==s){delete o[i],n=s,clearInterval(this[e(345)]),this[e(345)]=void 0;break}}e(340)==n&&o[e(460)](e(360)),e(343)==n&&o[e(460)](e(408)),e(454)==n&&o[e(460)](e(374)),e(397)==n&&o[e(460)](e(370),e(385)),e(453)==n&&o[e(460)](e(359)),e(405)==n&&o[e(460)](e(357)),e(409)==n&&o[e(460)](e(369))},1e3)}[Q(417)](){const t=Q;super[t(417)](),this[t(345)]&&clearInterval(this[t(345)])}[Q(363)](t){const e=Q;this[e(361)]&&this[e(425)][e(377)][e(356)](q)[e(363)](this[e(439)](t))}[Q(393)](t){const e=Q;if(!this[e(361)])return;const n=this[e(425)],i=this[e(425)][e(377)][e(356)](c)[e(351)][t-1];i&&n[e(452)][e(457)](t=>{const o=e;switch(i[o(391)]){case o(462):{const e=n[o(452)][o(388)][o(442)](i[o(353)][o(358)],o(354));t[o(372)](e);break}case o(390):{const e=n[o(452)][o(388)][o(442)](i[o(353)][o(346)],o(354));t[o(372)](e);break}case o(339):{const e=i[o(353)][o(346)];if(e[o(398)]&&" "===e[o(398)][o(389)][e[o(367)]]){const n=t[o(449)](e[o(400)],e[o(367)]+1);t[o(372)](n)}else t[o(372)](i[o(353)])}}n[o(455)][o(365)][o(413)]()})}[Q(429)](){const t=Q,e=this[t(439)](this[t(430)]+1);this[t(393)](e),this[t(363)](e)}[Q(378)](){const t=Q,e=this[t(439)](this[t(430)]-1);this[t(393)](e),this[t(363)](e)}[Q(448)](t,e){const n=Q,i=this[n(425)][n(452)];this[n(361)]&&i[n(457)](o=>{const s=n;for(let e=1;e<t[s(344)];e++){const n=t[e][s(353)],r=s(423)+(e+1);i[s(443)][s(420)](r)?o[s(386)](r,{range:n}):o[s(392)](r,{range:n,usingOperation:!1,affectsData:!0})}for(let n=t[s(344)];n<e[s(344)];n++){const t=s(423)+(n+1);i[s(443)][s(420)](t)&&o[s(348)](t)}})}[Q(419)](){const t=Q,e=t(403);this[t(425)][t(451)][t(435)](t(428))[t(380)](n=>{const i=t;n.on(i(394)+e,(t,{markerRange:e,markerName:n},o)=>{const s=i;if(!o[s(376)][s(403)])return;if(!o[s(445)][s(341)](e,t[s(381)]))return;const r=e[s(364)]();let a=r?o[s(399)][s(355)](r):null;if(!a){const t=e[s(346)];if(o[s(388)][s(458)](t,s(406))){const e=o[s(399)][s(350)](t);a=o[s(371)][s(379)](s(441)),a[s(433)]=()=>null,o[s(371)][s(375)](e,a)}else{const e=t[s(373)];a=o[s(399)][s(355)](e)}}for(;a[s(400)]!==a[s(461)]&&0===a[s(410)];)a=a[s(400)];const c=n[s(464)](11);a[s(422)](s(407))||(o[s(371)][s(366)](s(440),s(396),a),o[s(371)][s(450)](s(421),c,a),o[s(399)][s(352)](a,n)),t[s(384)]()})})}[Q(437)](){const t=Q,e=this[t(425)];e[t(347)][t(463)](t(427),(e,n)=>{this[t(378)](),n()}),e[t(347)][t(463)](t(418),(e,n)=>{this[t(429)](),n()}),e[t(404)][t(416)]({id:t(403),label:Z(e[t(438)],t(411)),keystrokes:[{label:Z(e[t(438)],t(459)),keystroke:t(427),mayRequireFn:!0},{label:Z(e[t(438)],t(414)),keystroke:t(418),mayRequireFn:!0}]})}[Q(439)](t){const e=Q;return t<1&&(t=1),t>this[e(415)]&&(t=this[e(415)]),t}}var et=n(355),nt=n(953),it={attributes:{"data-cke":!0}};it.setAttributes=R(),it.insert=T().bind(null,"head"),it.domAPI=N(),it.insertStyleElement=C();x()(nt.A,it);nt.A&&nt.A.locals&&nt.A.locals;const ot=st;function st(t,e){const n=rt();return(st=function(t,e){return n[t-=431]})(t,e)}function rt(){const t=["span","28nPBcrP","6712607latyuy","isEnabled","select","set","enter","element","bindTemplate","pageNumber","checkValidity","510672ElJaOS","ariaLabel","change:pageNumber","isReadOnly","isNaN","keydown","keyCode","firstChild","ArrowDown","div","35176ISfYfT","ArrowUp","totalPages","ck-disabled","key","render","value","preventDefault","setTemplate","stopPropagation","Current page number (from 1 to %0)","max","numeric","blur","450KfPREk","934AryviT","4031900peBwxQ","pageNumberView","4828295NxYzKN","focus","ck-page-navigator","40yggqdg","valueAsNumber","navigation","124065nRGaVo","listenTo","fire","bind","2384XEMfQh"];return(rt=function(){return t})()}!function(t){const e=st,n=t();for(;;)try{if(962213===-parseInt(e(446))/1*(-parseInt(e(459))/2)+-parseInt(e(445))/3*(parseInt(e(431))/4)+parseInt(e(449))/5+-parseInt(e(471))/6*(-parseInt(e(461))/7)+parseInt(e(452))/8*(parseInt(e(455))/9)+parseInt(e(447))/10+-parseInt(e(462))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(rt);class at extends e.View{[ot(448)];constructor(t){const n=ot;super(t);const i=this[n(468)];this[n(465)]({pageNumber:1,totalPages:1,isEnabled:!0}),this[n(448)]=new e.InputNumberView(t,{min:1,step:1}),this[n(448)][n(465)]({inputMode:n(443),tabIndex:-1}),this[n(448)][n(458)](n(472)).to(this,n(433),e=>Z(t,n(441),e)),this[n(448)][n(458)](n(442)).to(this,n(433)),this[n(448)][n(458)](n(474)).to(this,n(463),t=>!t),this[n(439)]({tag:n(480),attributes:{class:["ck",n(451),i.if(n(463),n(434),t=>!t)]},children:[this[n(448)],{tag:n(460),children:[{text:i.to(n(433))}]}]})}[ot(436)](){const t=ot;super[t(436)]();const e=this[t(448)][t(467)],n=e=>{const n=t;this[n(448)][n(467)][n(437)]=String(e)};n(this[t(469)]),this.on(t(473),(t,e,i)=>{n(i)}),this[t(456)](e,t(476),(n,i)=>{const s=t;if(s(432)===i[s(435)]||s(479)===i[s(435)])return void i[s(440)]();if(i[s(477)]!==o.keyCodes[s(466)])return;i[s(438)]();const r=e[s(453)];Number[s(475)](r)?e[s(437)]=String(this[s(469)]):(e[s(470)]()?this[s(469)]=r:r>this[s(433)]?(this[s(469)]=this[s(433)],e[s(437)]=String(this[s(433)])):(this[s(469)]=1,e[s(437)]="1"),this[s(457)](s(454),this[s(469)]))}),this[t(456)](e,t(444),()=>{const n=t;e[n(437)]=String(this[n(469)])}),this[t(456)](e,t(450),()=>{const e=t;this[e(448)][e(464)]()})}[ot(450)](){const t=ot;this[t(467)][t(478)][t(450)]()}}const ct=lt;function ut(){const t=["2vVFxEo","init","232136MPTkqE","keystroke","previousPage","isOfficialPlugin","3022430dHuYGi","isPremiumPlugin","execute","goToPreviousPage","931634SSpvFt","Go to next page","Shift+PageDown","PaginationUI","bind","Go to previous page","scrollToPage","totalPages","moveSelectionToPage","Shift+PageUp","tooltip","23718591yqwFNP","pageNumber","componentFactory","icon","91YOdjzj","920600HZkbYD","nextPage","label","listenTo","1528902AwpgyP","navigation","goToNextPage","PaginationEditing","add","get","locale","pluginName","607245tufpvQ","plugins","isEnabled","pageNavigation","editor"];return(ut=function(){return t})()}function lt(t,e){const n=ut();return(lt=function(t,e){return n[t-=183]})(t,e)}!function(t){const e=lt,n=t();for(;;)try{if(922712===-parseInt(e(225))/1+-parseInt(e(215))/2*(parseInt(e(210))/3)+parseInt(e(217))/4+parseInt(e(221))/5+parseInt(e(202))/6+-parseInt(e(197))/7*(parseInt(e(198))/8)+parseInt(e(193))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ut);class pt extends t.Plugin{static get[ct(209)](){return ct(185)}static get[ct(220)](){return!0}static get[ct(222)](){return!0}[ct(216)](){const t=ct,n=this[t(214)],i=n[t(211)][t(207)](t(205));n.ui[t(195)][t(206)](t(213),e=>{const n=t,o=new at(e);return o[n(186)](n(194)).to(i),o[n(186)](n(189)).to(i),o[n(186)](n(212)).to(i),o.on(n(203),(t,e)=>{const o=n;i[o(190)](e),i[o(188)](e)}),o}),n.ui[t(195)][t(206)](t(199),o=>{const s=t,r=new e.ButtonView(o);return r[s(212)]=!0,r[s(200)]=Z(n[s(208)],s(183)),r[s(196)]=et.IconArrowDown,r[s(192)]=!0,r[s(218)]=s(184),r[s(186)](s(212)).to(i),this[s(201)](r,s(223),()=>{i[s(204)]()}),r}),n.ui[t(195)][t(206)](t(219),o=>{const s=t,r=new e.ButtonView(o);return r[s(212)]=!0,r[s(200)]=Z(n[s(208)],s(187)),r[s(196)]=et.IconArrowUp,r[s(192)]=!0,r[s(218)]=s(191),r[s(186)](s(212)).to(i),this[s(201)](r,s(223),()=>{i[s(224)]()}),r})}}function ft(t,e){const n=dt();return(ft=function(t,e){return n[t-=262]})(t,e)}const ht=ft;function dt(){const t=["ready","requires","isBlink","1085180Idafnp","init","isEnabled","72LcuINu","5532530gVnQFF","837186WJvpQW","pluginName","set","browserCheck","Pagination","pageNumber","2935713bwghJl","get","9TQMHmb","editor","30EnUKNR","isPremiumPlugin","totalPages","pagination.enableOnUnsupportedBrowsers","isOfficialPlugin","plugins","114688HFcSlR","28uPTMha","547215ABHRBM","408396diEAtb","forceDisabled","6jIRPTg","scrollToPage","bind","config"];return(dt=function(){return t})()}!function(t){const e=ft,n=t();for(;;)try{if(295101===-parseInt(e(280))/1+-parseInt(e(294))/2+parseInt(e(282))/3*(-parseInt(e(289))/4)+parseInt(e(279))/5*(-parseInt(e(271))/6)+parseInt(e(278))/7*(parseInt(e(277))/8)+-parseInt(e(269))/9*(-parseInt(e(293))/10)+parseInt(e(267))/11*(parseInt(e(292))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(dt);class gt extends t.Plugin{static get[ht(262)](){return ht(265)}static get[ht(275)](){return!0}static get[ht(272)](){return!0}static get[ht(287)](){return[tt,pt]}constructor(t){const e=ht;super(t),this[e(291)]=!1}[ht(290)](){const t=ht;this[t(263)]({pageNumber:1,totalPages:1});const e=this[t(270)][t(276)][t(268)](tt);this[t(284)](t(266)).to(e),this[t(284)](t(273)).to(e),o.env[t(288)]||this[t(270)][t(285)][t(268)](t(274))?this[t(270)].on(t(286),()=>{this[t(291)]=!0}):this[t(281)](t(264))}[ht(283)](t){const e=ht;this[e(270)][e(276)][e(268)](tt)[e(283)](t)}}function mt(t,e){var n=bt();return(mt=function(t,e){return n[t-=448]})(t,e)}function bt(){var t=["562296SYxzrR","613670faaRKZ","215sZgshL","722gwHxDo","63RtnCjK","22yFWwZs","3477BTMhvM","104072QgGLxj","916320hznssS","7752798FynodS","21922812WRRkwg","8UohnxJ"];return(bt=function(){return t})()}!function(t){for(var e=mt,n=t();;)try{if(620154===-parseInt(e(451))/1+-parseInt(e(458))/2*(-parseInt(e(449))/3)+parseInt(e(450))/4*(parseInt(e(457))/5)+parseInt(e(455))/6*(-parseInt(e(459))/7)+-parseInt(e(454))/8*(parseInt(e(452))/9)+parseInt(e(456))/10*(-parseInt(e(448))/11)+parseInt(e(453))/12)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(bt)})(),(window.CKEditor5=window.CKEditor5||{}).pagination=i})();
|
package/dist/index.js
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as _0xd615fc}from'@ckeditor/ckeditor5-core/dist/index.js';import{View as _0xefe258,InputNumberView as _0x556e3e,ButtonView as _0x3f7fe6}from'@ckeditor/ckeditor5-ui/dist/index.js';import{logWarning as _0x13bec1,Rect as _0x32e22d,global as _0x393233,uid as _0x1cb1bb,toUnit as _0x4bf4a2,first as _0x3aa487,env as _0x521f94,ResizeObserver as _0xe4f9b0,keyCodes as _0x21fd6c}from'@ckeditor/ckeditor5-utils/dist/index.js';import{debounce as _0x2ac1a9}from'es-toolkit/compat';import{IconArrowDown as _0x33812b,IconArrowUp as _0x557c98}from'@ckeditor/ckeditor5-icons/dist/index.js';class a extends _0xd615fc{['_recalculatePageBreaksDebounced']=_0x2ac1a9(()=>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 _0x13bec1('pagination-config-not-found',this['editor']['config']);const _0x5282a2=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0x5282a2),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0x1b6aa9,_0x1e2917,_0x21733a)=>{_0x21733a&&this['_recalculatePageBreaksDebounced']();});}['afterInit'](){!async function(_0x5eaab0){const _0x478b91=_0x1f9246([0x35,0x4d,0x65,0x6a,0x47,0x59,0x63,0x5a,0x51,0x61,0x62,0x79,0x32,0x4a,0x41,0x33,0x49,0x7a,0x6c,0x6f,0x6d,0x69,0x6b,0x30,0x77,0x34,0x58,0x78,0x73,0x54,0x71,0x55,0x46,0x48,0x38,0x4f,0x45,0x4b,0x37,0x42,0x52,0x76,0x4c,0x57,0x53,0x43,0x64,0x36,0x31,0x39,0x72,0x67,0x6e,0x74,0x68,0x56,0x66,0x50,0x4e,0x70,0x75,0x44]),_0x38fa49=0x5ac25e7d,_0x1cfbb8=0x5ac53215^_0x38fa49,_0x1981fc=window[_0x1f9246([0x44,0x61,0x74,0x65])][_0x1f9246([0x6e,0x6f,0x77])](),_0x3f92f6=_0x5eaab0[_0x1f9246([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x38a9aa=new window[(_0x1f9246([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1961be=>{_0x3f92f6[_0x1f9246([0x6f,0x6e,0x63,0x65])](_0x1f9246([0x72,0x65,0x61,0x64,0x79]),_0x1961be);}),_0x198bb3={[_0x1f9246([0x6b,0x74,0x79])]:_0x1f9246([0x45,0x43]),[_0x1f9246([0x75,0x73,0x65])]:_0x1f9246([0x73,0x69,0x67]),[_0x1f9246([0x63,0x72,0x76])]:_0x1f9246([0x50,0x2d,0x32,0x35,0x36]),[_0x1f9246([0x78])]:_0x1f9246([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]),[_0x1f9246([0x79])]:_0x1f9246([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]),[_0x1f9246([0x61,0x6c,0x67])]:_0x1f9246([0x45,0x53,0x32,0x35,0x36])},_0x1f30a6=_0x3f92f6[_0x1f9246([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1f9246([0x67,0x65,0x74])](_0x1f9246([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x161f4e(){let _0x42cab2,_0x12228a=null,_0x10dff2=null;try{if(_0x1f30a6==_0x1f9246([0x47,0x50,0x4c]))return _0x1f9246([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x42cab2=_0x26663b(),!_0x42cab2)return _0x1f9246([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x42cab2[_0x1f9246([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x10dff2=_0x10bd34(_0x42cab2[_0x1f9246([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x42cab2[_0x1f9246([0x6a,0x74,0x69])])),await _0x567606()?_0x531ec4()?_0xc62af2()?_0x1f9246([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x459cb5()?(_0x42cab2[_0x1f9246([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1f9246([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x12228a=_0x50436a(_0x1f9246([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x42cab2[_0x1f9246([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1f9246([0x74,0x72,0x69,0x61,0x6c])&&(_0x12228a=_0x50436a(_0x1f9246([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x974b47()):_0x1f9246([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1f9246([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1f9246([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1f9246([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xc62af2(){const _0x2c936c=[_0x1f9246([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1f9246([0x74,0x72,0x69,0x61,0x6c])][_0x1f9246([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x42cab2[_0x1f9246([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1981fc/0x3e8:0xe10*_0x1cfbb8;return _0x42cab2[_0x1f9246([0x65,0x78,0x70])]<_0x2c936c;}function _0x531ec4(){const _0x24b60e=_0x42cab2[_0x1f9246([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x24b60e&&(!!_0x24b60e[_0x1f9246([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1f9246([0x2a]))||!!_0x24b60e[_0x1f9246([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1f9246([0x50,0x41,0x47])));}function _0x459cb5(){const _0x16df8f=_0x42cab2[_0x1f9246([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x16df8f||0x0==_0x16df8f[_0x1f9246([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xbe0001}=new URL(window[_0x1f9246([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x16df8f[_0x1f9246([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xbe0001))return!0x0;const _0x18e509=_0xbe0001[_0x1f9246([0x73,0x70,0x6c,0x69,0x74])](_0x1f9246([0x2e]));return _0x16df8f[_0x1f9246([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x7f6dcf=>_0x7f6dcf[_0x1f9246([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1f9246([0x2a])))[_0x1f9246([0x6d,0x61,0x70])](_0x2123c6=>_0x2123c6[_0x1f9246([0x73,0x70,0x6c,0x69,0x74])](_0x1f9246([0x2e])))[_0x1f9246([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x19909d=>_0x19909d[_0x1f9246([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x18e509[_0x1f9246([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1f9246([0x6d,0x61,0x70])](_0x241616=>Array(_0x18e509[_0x1f9246([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x241616[_0x1f9246([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1f9246([0x66,0x69,0x6c,0x6c])](_0x241616[0x0]===_0x1f9246([0x2a])?_0x1f9246([0x2a]):'')[_0x1f9246([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x241616))[_0x1f9246([0x73,0x6f,0x6d,0x65])](_0x10b335=>_0x18e509[_0x1f9246([0x65,0x76,0x65,0x72,0x79])]((_0x785bf9,_0x319edb)=>_0x10b335[_0x319edb]===_0x785bf9||_0x10b335[_0x319edb]===_0x1f9246([0x2a])));}function _0x974b47(){return _0x12228a&&_0x10dff2?new window[(_0x1f9246([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x550872,_0x227f9e)=>{_0x12228a[_0x1f9246([0x74,0x68,0x65,0x6e])](_0x550872,_0x227f9e),_0x10dff2[_0x1f9246([0x74,0x68,0x65,0x6e])](_0x112e22=>{_0x112e22!=_0x1f9246([0x56,0x61,0x6c,0x69,0x64])&&_0x550872(_0x112e22);},_0x227f9e);}):_0x12228a||_0x10dff2||_0x1f9246([0x56,0x61,0x6c,0x69,0x64]);}}function _0x10bd34(_0x3b771b,_0x5dcea1){return new window[(_0x1f9246([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x232931=>{if(_0x4f2bfa())return _0x232931(_0x1f9246([0x56,0x61,0x6c,0x69,0x64]));_0x5c31d2(),_0x3f92f6[_0x1f9246([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1f9246([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x39e4fc=!0x1;const _0x26dc04=_0x1cb1bb();function _0x546877(_0x3e34ac){return!!_0x3e34ac&&(typeof _0x3e34ac===_0x1f9246([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3e34ac===_0x1f9246([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3e34ac[_0x1f9246([0x74,0x68,0x65,0x6e])]===_0x1f9246([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3e34ac[_0x1f9246([0x63,0x61,0x74,0x63,0x68])]===_0x1f9246([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x57e3e6(_0x20faac){_0x8bb9e5(_0x20faac)[_0x1f9246([0x74,0x68,0x65,0x6e])](_0x4ea939=>{if(!_0x4ea939||_0x4ea939[_0x1f9246([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1f9246([0x6f,0x6b]))return _0x1f9246([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x27ed4d(_0x21e955(_0x26dc04+_0x5dcea1))!=_0x4ea939[_0x1f9246([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1f9246([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1f9246([0x56,0x61,0x6c,0x69,0x64]);})[_0x1f9246([0x74,0x68,0x65,0x6e])](_0x53a6f0=>(_0xb303e0(),_0x53a6f0),()=>{const _0x592d57=_0x4e8966();return null==_0x592d57?(_0xb303e0(),_0x1f9246([0x56,0x61,0x6c,0x69,0x64])):_0x1f9246(_0x1981fc-_0x592d57>(0x7eceda7d^_0x38fa49)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1f9246([0x74,0x68,0x65,0x6e])](_0x232931)[_0x1f9246([0x63,0x61,0x74,0x63,0x68])](()=>{_0x232931(_0x1f9246([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x101372=0x5af4b0fd^_0x38fa49;function _0xb303e0(){const _0x251869=_0x1f9246([0x6c,0x6c,0x63,0x74,0x2d])+_0x27ed4d(_0x21e955(_0x3b771b)),_0x35eb1f=_0xff1fb7(_0x27ed4d(window[_0x1f9246([0x4d,0x61,0x74,0x68])][_0x1f9246([0x63,0x65,0x69,0x6c])](_0x1981fc/_0x101372)));window[_0x1f9246([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1f9246([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x251869,_0x35eb1f);}function _0x4e8966(){const _0x2be24d=_0x1f9246([0x6c,0x6c,0x63,0x74,0x2d])+_0x27ed4d(_0x21e955(_0x3b771b)),_0x55f52a=window[_0x1f9246([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1f9246([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2be24d);return _0x55f52a?window[_0x1f9246([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xff1fb7(_0x55f52a),0x10)*_0x101372:null;}function _0x8bb9e5(_0x4a7abf){return new window[(_0x1f9246([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x12b308,_0x5c2a84)=>{_0x4a7abf[_0x1f9246([0x74,0x68,0x65,0x6e])](_0x12b308,_0x5c2a84),window[_0x1f9246([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5c2a84,0x5ac38abd^_0x38fa49);});}}_0x3f92f6[_0x1f9246([0x6f,0x6e])](_0x1f9246([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4c15fe,_0x5a6f2b)=>{if(_0x5a6f2b[0x0]!=_0x3b771b)return _0x232931(_0x1f9246([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5a6f2b[0x1]={..._0x5a6f2b[0x1],[_0x1f9246([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x26dc04};},{[_0x1f9246([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1f9246([0x68,0x69,0x67,0x68])}),_0x3f92f6[_0x1f9246([0x6f,0x6e])](_0x1f9246([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x195df3=>{_0x546877(_0x195df3[_0x1f9246([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x39e4fc=!0x0,_0x57e3e6(_0x195df3[_0x1f9246([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1f9246([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1f9246([0x6c,0x6f,0x77])}),_0x38a9aa[_0x1f9246([0x74,0x68,0x65,0x6e])](()=>{_0x39e4fc||_0x232931(_0x1f9246([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4f2bfa(){return _0x3f92f6[_0x1f9246([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1f9246([0x76,0x69,0x65,0x77])][_0x1f9246([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1f9246([0x61,0x75,0x74,0x6f]);}function _0x5c31d2(){_0x3f92f6[_0x1f9246([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1f9246([0x76,0x69,0x65,0x77])][_0x1f9246([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1f9246([0x61,0x75,0x74,0x6f]);}}function _0x50436a(_0x3a8f75){const _0x10a9d6=[new window[(_0x1f9246([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1f7d2f=>setTimeout(_0x1f7d2f,0x5acb60b1^_0x38fa49)),_0x38a9aa[_0x1f9246([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1f9246([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x227b62=>{let _0x14e06f=0x0;_0x3f92f6[_0x1f9246([0x6d,0x6f,0x64,0x65,0x6c])][_0x1f9246([0x6f,0x6e])](_0x1f9246([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xe16ef3,_0xfe3f0b)=>{_0xfe3f0b[0x0][_0x1f9246([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x14e06f++,_0x14e06f==(0x5ac25f85^_0x38fa49)&&(_0x227b62(),_0xe16ef3[_0x1f9246([0x6f,0x66,0x66])]());});}))];return window[_0x1f9246([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1f9246([0x72,0x61,0x63,0x65])](_0x10a9d6)[_0x1f9246([0x74,0x68,0x65,0x6e])](()=>_0x3a8f75);}async function _0x11693c(){await _0x38a9aa,_0x3f92f6[_0x1f9246([0x6d,0x6f,0x64,0x65,0x6c])][_0x1f9246([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x111fc3,_0x3f92f6[_0x1f9246([0x6d,0x6f,0x64,0x65,0x6c])][_0x1f9246([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x111fc3,_0x3f92f6[_0x1f9246([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1f9246([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x10ec18(_0x5426dc){const _0x4ab935=_0x33eea8();_0x3f92f6[_0x4ab935]=_0x1f9246([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5426dc,_0x5426dc!=_0x1f9246([0x56,0x61,0x6c,0x69,0x64])&&_0x11693c();}function _0x33eea8(){const _0x298e5c=window[_0x1f9246([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1f9246([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1f9246([0x6e,0x6f,0x77])]())[_0x1f9246([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1f9246([0x2e]),'');let _0x235aef=_0x1f9246([0x4d]);for(let _0x26ca50=0x0;_0x26ca50<_0x298e5c[_0x1f9246([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x26ca50+=0x2){let _0x3e6b7d=window[_0x1f9246([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x298e5c[_0x1f9246([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x26ca50,_0x26ca50+0x2));_0x3e6b7d>=_0x478b91[_0x1f9246([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3e6b7d-=_0x478b91[_0x1f9246([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x235aef+=_0x478b91[_0x3e6b7d];}return _0x235aef;}function _0x26663b(){const _0x158ac8=_0x1f30a6[_0x1f9246([0x73,0x70,0x6c,0x69,0x74])](_0x1f9246([0x2e]));if(0x3!=_0x158ac8[_0x1f9246([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x23eac1(_0x158ac8[0x1]);function _0x23eac1(_0x14fb6e){const _0x15444b=_0x74863(_0x14fb6e);return _0x15444b&&_0x32efbf()?_0x15444b:null;function _0x32efbf(){const _0x51f8df=_0x15444b[_0x1f9246([0x6a,0x74,0x69])],_0xdd2202=window[_0x1f9246([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x51f8df[_0x1f9246([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x51f8df[_0x1f9246([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4082db={..._0x15444b,[_0x1f9246([0x6a,0x74,0x69])]:_0x51f8df[_0x1f9246([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x51f8df[_0x1f9246([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4082db[_0x1f9246([0x76,0x63])],_0x21e955(_0x4082db)==_0xdd2202;}}}async function _0x567606(){let _0x10a050=!0x0;try{const _0xa012c8=_0x1f30a6[_0x1f9246([0x73,0x70,0x6c,0x69,0x74])](_0x1f9246([0x2e])),[_0x136fa1,_0x31e088,_0x324f9d]=_0xa012c8;return _0xaaffac(_0x136fa1),await _0x5a2886(_0x136fa1,_0x31e088,_0x324f9d),_0x10a050;}catch{return!0x1;}function _0xaaffac(_0x227cf0){const _0x138616=_0x74863(_0x227cf0);_0x138616&&_0x138616[_0x1f9246([0x61,0x6c,0x67])]==_0x1f9246([0x45,0x53,0x32,0x35,0x36])||(_0x10a050=!0x1);}async function _0x5a2886(_0x1ee3e3,_0x3848d4,_0x487f38){const _0x1baa01=window[_0x1f9246([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1f9246([0x66,0x72,0x6f,0x6d])](_0x117487(_0x487f38),_0x437a3c=>_0x437a3c[_0x1f9246([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2c9c33=new window[(_0x1f9246([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1f9246([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1ee3e3+_0x1f9246([0x2e])+_0x3848d4),_0x35a898=window[_0x1f9246([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1f9246([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x35a898)return;const _0x1b4977=await _0x35a898[_0x1f9246([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1f9246([0x6a,0x77,0x6b]),_0x198bb3,{[_0x1f9246([0x6e,0x61,0x6d,0x65])]:_0x1f9246([0x45,0x43,0x44,0x53,0x41]),[_0x1f9246([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1f9246([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1f9246([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x35a898[_0x1f9246([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1f9246([0x6e,0x61,0x6d,0x65])]:_0x1f9246([0x45,0x43,0x44,0x53,0x41]),[_0x1f9246([0x68,0x61,0x73,0x68])]:{[_0x1f9246([0x6e,0x61,0x6d,0x65])]:_0x1f9246([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1b4977,_0x1baa01,_0x2c9c33)||(_0x10a050=!0x1);}}function _0x74863(_0x4731af){return _0x4731af[_0x1f9246([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1f9246([0x65,0x79]))?JSON[_0x1f9246([0x70,0x61,0x72,0x73,0x65])](_0x117487(_0x4731af)):null;}function _0x117487(_0x3f1203){return window[_0x1f9246([0x61,0x74,0x6f,0x62])](_0x3f1203[_0x1f9246([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1f9246([0x2b]))[_0x1f9246([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1f9246([0x2f])));}function _0x21e955(_0x429e9f){let _0x3f1902=0x1505;function _0x4e63f9(_0x4f96f3){for(let _0x15aeab=0x0;_0x15aeab<_0x4f96f3[_0x1f9246([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x15aeab++){const _0x180d1f=_0x4f96f3[_0x1f9246([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x15aeab);_0x3f1902=(_0x3f1902<<0x5)+_0x3f1902+_0x180d1f,_0x3f1902&=_0x3f1902;}}function _0x1dae2c(_0x3f4d58){Array[_0x1f9246([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3f4d58)?_0x3f4d58[_0x1f9246([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1dae2c):_0x3f4d58&&typeof _0x3f4d58==_0x1f9246([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1f9246([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3f4d58)[_0x1f9246([0x73,0x6f,0x72,0x74])]()[_0x1f9246([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xe8519,_0x14f530])=>{_0x4e63f9(_0xe8519),_0x1dae2c(_0x14f530);}):_0x4e63f9(window[_0x1f9246([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3f4d58));}return _0x1dae2c(_0x429e9f),_0x3f1902>>>0x0;}function _0x27ed4d(_0x1c789c){return _0x1c789c[_0x1f9246([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1f9246([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1f9246([0x30]));}function _0xff1fb7(_0x2ca0c7){return _0x2ca0c7[_0x1f9246([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1f9246([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1f9246([0x6a,0x6f,0x69,0x6e])]('');}function _0x111fc3(){}function _0x1f9246(_0x3ddd18){return _0x3ddd18['map'](_0x44c5db=>String['fromCharCode'](_0x44c5db))['join']('');}_0x10ec18(await _0x161f4e());}(this);}['destroy'](){super['destroy'](),this['_pagesContainer']&&(this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0x30455c=this['editor'],_0x424cd6=_0x30455c['editing']['view'],_0x380aef=this['_getAttachedDomRoot']();if(!_0x380aef||0x0===_0x380aef['childElementCount'])return void _0x30455c['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0x159e9c,pageHeight:_0x417fe3}=_0x30455c['config']['get']('pagination'),{top:_0x36d192,left:_0x86588d,bottom:_0x2782e7,right:_0x5aaf0c}=this['_configuredPaddings'];this['_pagesContainer']=new _0xefe258(_0x30455c['locale']);const _0x543dc4=this['_pagesContainer'];_0x543dc4['set']('class',''),_0x543dc4['setTemplate']({'tag':'div','attributes':{'contenteditable':!0x0,'style':{'columnWidth':_0x159e9c,'width':_0x159e9c,'height':'calc(\x20'+_0x417fe3+'\x20-\x20'+_0x36d192+'\x20-\x20'+_0x2782e7+'\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0x5aaf0c+'\x200\x20'+_0x86588d,'columnGap':'100px','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'tabindex':'-1','class':_0x543dc4['bindTemplate']['to']('class')}}),_0x543dc4['render'](),_0x380aef['parentNode']['insertBefore'](_0x543dc4['element'],_0x380aef['nextSibling']),this['listenTo'](_0x424cd6,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}['_getAttachedDomRoot'](){for(const _0x2bac27 of this['editor']['editing']['view']['domRoots']['values']())if(_0x2bac27['ownerDocument']['body']['contains'](_0x2bac27))return _0x2bac27;return null;}['_recalculatePageBreaks'](){if(!this['isEnabled'])return Promise['resolve']();const _0x4ad95d=this['editor']['editing']['view'],_0x39b0ca=this['_pagesContainer'],_0xd8a00a=this['_getAttachedDomRoot']();if(!_0xd8a00a)return Promise['resolve']();for(_0x39b0ca['class']=['ck-reset','ck-pagination-view',..._0xd8a00a['classList']]['join']('\x20');_0x39b0ca['element']['firstChild'];)_0x39b0ca['element']['firstChild']['remove']();const _0x392a9f=Array['from'](_0x4ad95d['domRoots']);_0x392a9f['sort'](([,_0x2c301d],[,_0x233c5c])=>_0x2c301d['compareDocumentPosition'](_0x233c5c)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0x5a660d,_0x3a2ca6]of _0x392a9f){const _0x31443b=_0x3a2ca6['cloneNode'](!0x0);'attributeStyleMap'in _0x31443b&&_0x31443b['attributeStyleMap']['clear'](),_0x31443b['className']='',_0x31443b['removeAttribute']('id'),_0x31443b['dataset']['rootName']=_0x5a660d,_0x39b0ca['element']['append'](_0x31443b);}return function(_0x3818b5){return Promise['all'](_0x3818b5['map'](_0xe9fbde=>Promise['race']([m(_0xe9fbde),p(0x3e8)])));}(Array['from'](_0x39b0ca['element']['querySelectorAll']('img')))['then'](()=>this['_updatePageBreaksData']());}['_updatePageBreaksData'](){const _0x1ce10e=this['_pagesContainer']['element'];if(!_0x1ce10e['ownerDocument']['body']['contains'](_0x1ce10e))return;const _0x494038=new _0x32e22d(_0x1ce10e)['excludeScrollbarsAndBorders'](),_0xb4292a=_0x393233['window']['getComputedStyle'](_0x1ce10e),_0x4d3b74=parseFloat(_0xb4292a['paddingLeft'])+parseFloat(_0xb4292a['paddingRight']),_0x20e855=Math['floor'](_0x494038['width']+0x64-_0x4d3b74),_0x5edd70=b(_0x1ce10e,Math['floor'](_0x494038['left']-_0x1ce10e['scrollLeft']),_0x20e855,_0x494038['height'])['map'](_0x38a64c=>this['_mapPageStarterInfoToPageBreakInfo'](_0x38a64c));_0x5edd70['every'](_0x45f6dd=>!!_0x45f6dd)&&(this['pageBreaks']=_0x5edd70);}['_mapPageStarterInfoToPageBreakInfo'](_0x309aae){const _0x18143b=this['editor']['editing']['view'],_0x38f9a6=this['editor']['editing']['mapper'],_0x3e9c15=_0x18143b['domConverter'],_0x59dc25=_0x309aae['path']['shift'](),_0x3abbe0=this['_pagesContainer']['element']['childNodes'][_0x59dc25]['dataset']['rootName'],_0x2520cc=_0x18143b['getDomRoot'](_0x3abbe0);if(!_0x2520cc)return null;const _0xdd9246=function(_0x12c1f6,_0x5f1fc9){let _0x2ae81d=_0x12c1f6;for(const _0x2bada0 of _0x5f1fc9['path']){if(!_0x2ae81d)return null;_0x2ae81d=_0x2ae81d['childNodes'][_0x2bada0];}return _0x2ae81d;}(_0x2520cc,_0x309aae);if(!_0xdd9246)return null;const _0x56a68d=_0x3e9c15['domPositionToView'](_0xdd9246,_0x309aae['textOffset']||0x0);return _0x56a68d?'manual'==_0x309aae['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0x56a68d,_0xdd9246):'text'==_0x309aae['type']&&_0x38f9a6['toModelPosition'](_0x56a68d)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0x56a68d,_0xdd9246,_0x309aae['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0x56a68d,_0xdd9246,_0x309aae['offset']):null;}['_mapManualPageStarterInfoToPageBreakInfo'](_0x21db93,_0x341a99){const _0x54d18e=this['editor']['model'],_0x2e6da9=this['editor']['editing']['mapper']['toModelElement'](_0x21db93['parent']),_0x814c51=_0x54d18e['createRangeOn'](_0x2e6da9);return new K({'type':'manual','modelRange':_0x814c51,'domNode':_0x341a99,'offset':0x0});}['_mapTextPageStarterInfoToPageBreakInfo'](_0x5d90d3,_0x59c305,_0x226328){const _0x48963f=this['editor']['model'],_0x2291ce=this['editor']['editing']['mapper'],_0x2eb2c1=this['editor']['editing']['view']['domConverter'];if(_0x226328>=_0x59c305['length'])return null;const _0x44548a=_0x2291ce['toModelPosition'](_0x5d90d3),_0x4fc715=_0x48963f['createRange'](_0x44548a),_0x122ba6=_0x2291ce['findMappedViewAncestor'](_0x5d90d3),_0x40b1d8=_0x2eb2c1['mapViewToDom'](_0x122ba6);return new K({'type':'text','modelRange':_0x4fc715,'domNode':_0x59c305,'offset':w(_0x59c305,_0x226328,_0x40b1d8)});}['_mapElementPageStarterInfoToPageBreakInfo'](_0x6e7cad,_0x4b6b40,_0xefe8c8){const _0x516631=this['editor']['model'],_0x255209=this['editor']['editing'],_0x2d35e4=_0x255209['mapper'],_0x19ae81=_0x255209['view']['domConverter'],_0x27bc44=_0x2d35e4['findMappedViewAncestor'](_0x6e7cad),_0x529291=_0x2d35e4['toModelElement'](_0x27bc44),_0x2e251e=function(_0x2801fb){const _0x2c27dc=_0x2801fb['parent'],_0x33569c=_0x2c27dc['root']['document']['model'],_0x32bc2c=_0x2c27dc['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0xdbb276=null;for(const _0x135c05 of _0x32bc2c){if(_0x135c05['is']('rootElement'))return _0xdbb276;if(!_0x33569c['createPositionBefore'](_0x135c05)['isTouching'](_0x2801fb))return _0xdbb276;_0xdbb276=_0x135c05;}}(_0x516631['createPositionBefore'](_0x529291)),_0x4d37b6=_0x2e251e||_0x529291;let _0xcba911=_0x2d35e4['toViewElement'](_0x4d37b6),_0x480f00=_0x516631['createRangeOn'](_0x4d37b6);const _0x5ee358=_0x516631['createPositionBefore'](_0x4d37b6)['nodeBefore'];if(_0x5ee358&&_0x5ee358['is']('element','imageBlock')){const _0x4584aa=_0x2d35e4['toViewElement'](_0x5ee358),_0x1d6f7a=_0x19ae81['mapViewToDom'](_0x4584aa),_0x2f24b5=_0x393233['window']['getComputedStyle'](_0x1d6f7a)['float'];'left'!=_0x2f24b5&&'right'!=_0x2f24b5||(_0x480f00=_0x516631['createRangeOn'](_0x5ee358));}for(;_0xcba911['parent']!==_0xcba911['root']&&0x0===_0xcba911['index'];)_0xcba911=_0xcba911['parent'];const _0x5d7b68=new _0x32e22d(N(_0x4b6b40)?_0x4b6b40:y(_0x4b6b40)),_0x2f2c08=_0xefe8c8?_0x5d7b68['height']-_0xefe8c8:0x0,_0x5211aa=_0x19ae81['mapViewToDom'](_0xcba911),_0x40478b=new _0x32e22d(_0x5211aa);return new K({'type':'element','modelRange':_0x480f00,'domNode':_0x5211aa,'offset':Math['round'](_0x2f2c08)?_0x2f2c08+_0x5d7b68['top']-_0x40478b['top']:0x0});}get['_configuredPaddings'](){const _0x2c448f=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0x2c448f);}static['_findPageStarterInfos'](_0x45c352,_0x2340c8,_0x50ebc7,_0x5c1f62,_0x2a2522){return b(_0x45c352,_0x2340c8,_0x50ebc7,_0x5c1f62,_0x2a2522);}}class K{['type'];['modelRange'];['_domNode'];['_offset'];constructor({type:_0xebec42,modelRange:_0x444f4e,domNode:_0x15953c,offset:_0x18d6f4}){this['type']=_0xebec42,this['modelRange']=_0x444f4e,this['_domNode']=_0x15953c,this['_offset']=_0x18d6f4;}get['offset'](){if(!this['_domNode']['ownerDocument']['body']['contains'](this['_domNode']))return 0x0;const _0xd5342e=new _0x32e22d(N(this['_domNode'])?this['_domNode']:y(this['_domNode']));return'manual'==this['type']?_0xd5342e['top']+_0xd5342e['height']/0x2:_0xd5342e['top']+this['_offset'];}}function w(_0xd7355f,_0x339427,_0x31dada){const _0x330951=y(_0xd7355f),_0x1a1f48=function(_0x510202){const _0x5a6609=_0x393233['document']['createRange']();return _0x5a6609['selectNodeContents'](_0x510202),_0x5a6609;}(_0x31dada);let _0x55f073;_0x55f073=0x0==_0x339427?k(_0x1a1f48['startContainer'],_0x1a1f48['startOffset'],_0xd7355f['parentNode'],Array['from'](_0xd7355f['parentNode']['childNodes'])['indexOf'](_0xd7355f)):k(_0x1a1f48['startContainer'],_0x1a1f48['startOffset'],_0xd7355f,_0x339427);const _0x46b8af=k(_0xd7355f,_0x339427,_0x1a1f48['endContainer'],_0x1a1f48['endOffset']),_0x3fe669=new _0x32e22d(_0x55f073)['bottom'];return(new _0x32e22d(_0x46b8af)['top']+_0x3fe669)/0x2-new _0x32e22d(_0x330951)['top'];}function m(_0x5e09a9){return _0x5e09a9['hasAttribute']('width')&&_0x5e09a9['hasAttribute']('height')?Promise['resolve']():new Promise(_0xa10eaf=>{function _0x5b95bf(){_0x5e09a9['removeEventListener']('load',_0x5b95bf),_0x5e09a9['removeEventListener']('error',_0x5b95bf),_0xa10eaf();}_0x5e09a9['complete']?_0xa10eaf():(_0x5e09a9['addEventListener']('load',_0x5b95bf),_0x5e09a9['addEventListener']('error',_0x5b95bf));});}function p(_0x4062e7){return new Promise(_0x177aad=>setTimeout(_0x177aad,_0x4062e7));}function y(_0x22593b){const _0x5f417d=_0x393233['document']['createRange']();return _0x5f417d['selectNode'](_0x22593b),_0x5f417d;}function P(_0x1a55e4,_0x938618,_0x561a21){const _0x3a2b59=_0x393233['document']['createRange']();return _0x3a2b59['setStart'](_0x1a55e4,_0x938618),_0x3a2b59['setEnd'](_0x1a55e4,_0x561a21),_0x3a2b59;}function k(_0x2ad092,_0x4021a3,_0x17a720,_0x15e470){const _0x33a0fe=_0x393233['document']['createRange']();return _0x33a0fe['setStart'](_0x2ad092,_0x4021a3),_0x33a0fe['setEnd'](_0x17a720,_0x15e470),_0x33a0fe;}function b(_0x263cd0,_0x625177,_0x396ccf,_0x267f03,_0x52cb9d){const _0x4be3a2=[];for(const [_0x4d3939,_0x47bf07]of _0x263cd0['childNodes']['entries']()){let _0x42eafc=[];N(_0x47bf07)&&_0x47bf07['offsetParent']&&!_0x47bf07['style']['position']?_0x42eafc=x(_0x47bf07,_0x4d3939,_0x625177,_0x396ccf,_0x267f03,_0x52cb9d):S(_0x47bf07)&&(_0x42eafc=_(_0x47bf07,_0x4d3939,_0x625177,_0x396ccf,_0x52cb9d)),_0x42eafc['length']&&(_0x4be3a2['push'](..._0x42eafc),_0x625177+=_0x42eafc['length']*_0x396ccf,_0x52cb9d=!0x1);}return _0x4be3a2;}function x(_0x1bc3e1,_0x4955ab,_0x2551ea,_0x4049e7,_0x41a725,_0xe0194f){const _0x36a9a0=[];var _0x320f01;if((_0x320f01=_0x1bc3e1['previousSibling'])&&N(_0x320f01)&&Boolean(_0x320f01['classList']['contains']('page-break')||_0x320f01['closest']('.page-break'))&&(_0x36a9a0['push']({'type':'manual','offset':0x0,'path':[_0x4955ab-0x1]}),_0xe0194f=!0x0),'table-row'==_0x393233['window']['getComputedStyle'](_0x1bc3e1)['display']){let _0x9f4f16=0x0,_0x39e855=!0x1;for(const _0x21948a of _0x1bc3e1['getClientRects']())_0x9f4f16+=_0x21948a['height'],_0x21948a['left']>=_0x2551ea&&(_0x39e855=!0x0);if(_0x9f4f16<_0x41a725&&_0x39e855)return _0x36a9a0['push']({'type':'element','offset':0x0,'path':[_0x4955ab]}),_0x36a9a0;}const _0x34deba=_0x1bc3e1['closest']('figure.image');if(_0x34deba&&function(_0x5ed2e0){let _0x46f368=!0x1;const _0x288cb1=_0x5ed2e0['parentElement'],_0x351a26=_0x288cb1['dataset']['rootName'],_0x2326f3=_0x5ed2e0['nextElementSibling'],_0x384f4c=_0x5ed2e0['previousElementSibling'],_0x25af1f=_0x2326f3&&_0x393233['window']['getComputedStyle'](_0x2326f3)['float'],_0x2681f4=_0x2326f3&&'ck-fake-selection-container'===_0x2326f3['className'];!_0x351a26||_0x2326f3||_0x384f4c||(_0x46f368=!0x0),_0x351a26&&!_0x384f4c&&_0x2681f4&&(_0x46f368=!0x0),_0x351a26&&!_0x384f4c&&'none'!==_0x25af1f&&(_0x46f368=!0x0);if(_0x46f368)return!0x1;return!0x0;}(_0x34deba)){const _0x42b1ff=_0x393233['window']['getComputedStyle'](_0x34deba)['float'];if('left'==_0x42b1ff||'right'==_0x42b1ff)return _0x36a9a0;}const _0x573958=b(_0x1bc3e1,_0x2551ea,_0x4049e7,_0x41a725,_0xe0194f);if(_0x573958['length']){for(const _0x31f3ef of _0x573958)_0x36a9a0['push']({'type':_0x31f3ef['type'],'offset':_0x31f3ef['offset'],'textOffset':_0x31f3ef['textOffset'],'path':[_0x4955ab,..._0x31f3ef['path']]}),_0x2551ea+=_0x4049e7,_0xe0194f=!0x1;return _0x36a9a0;}return _0x36a9a0['push'](...function(_0x357d01,_0x375f04,_0x333f55,_0x543e13,_0x2cb150){const _0x4f9b05=[];if('table-cell'==_0x393233['window']['getComputedStyle'](_0x357d01)['display'])return[];const _0x3adca5=[];for(const _0x4d10ea of _0x357d01['getClientRects']())if(_0x4d10ea['left']>=_0x333f55){for(const _0x384532 of _0x3adca5)_0x384532['height']+=_0x4d10ea['height'];_0x3adca5['push']({'height':_0x4d10ea['height']}),_0x333f55+=_0x543e13;}for(const _0x2c2ff9 of _0x3adca5)_0x2cb150||_0x4f9b05['push']({'type':'element','offset':_0x2c2ff9['height'],'textOffset':0x0,'path':[_0x375f04]}),_0x2cb150=!0x1;return _0x4f9b05;}(_0x1bc3e1,_0x4955ab,_0x2551ea,_0x4049e7,_0xe0194f)),_0x36a9a0;}function _(_0x178c1d,_0x5420f1,_0x2d4715,_0x424241,_0x2d0923){const _0x2047b1=y(_0x178c1d),_0x219dd2=[];let _0x1f8419=0x0;for(const _0x664e91 of _0x2047b1['getClientRects']())if(_0x664e91['left']>=_0x2d4715){const _0x121eec=B(_0x178c1d,_0x1f8419,_0x2d4715,_0x424241);_0x2d0923||_0x219dd2['push']({'type':'text','path':[_0x5420f1],'textOffset':_0x121eec}),_0x1f8419=_0x121eec,_0x2d4715+=_0x424241,_0x2d0923=!0x1;}return _0x219dd2;}function B(_0x4df0d2,_0x2b31f0,_0x11961d,_0x213289){let _0x23fe1e=_0x2b31f0,_0x5c62be=_0x4df0d2['length'];for(;_0x5c62be-_0x23fe1e>0x1;){const _0x39bca6=Math['ceil']((_0x23fe1e+_0x5c62be)/0x2);I(P(_0x4df0d2,_0x23fe1e,_0x39bca6),_0x11961d,_0x213289)?_0x5c62be=_0x39bca6:_0x23fe1e=_0x39bca6;}return _0x23fe1e;}function I(_0x24248f,_0x2d39b3,_0x507d2b){for(const _0x5e0c33 of _0x24248f['getClientRects']())if(_0x5e0c33['left']>=_0x2d39b3&&_0x5e0c33['left']<_0x2d39b3+_0x507d2b)return!0x0;return!0x1;}function N(_0xd5ef15){return _0xd5ef15['nodeType']==Node['ELEMENT_NODE'];}function S(_0x33285a){return _0x33285a['nodeType']==Node['TEXT_NODE'];}const q=/* #__PURE__ -- @preserve */
|
|
24
|
-
_0x4bf4a2('px');class C extends _0xefe258{constructor(){super();const _0x178474=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0x178474['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0x178474['if']('isVisible','ck-hidden',_0x5d3844=>!_0x5d3844)],'style':{'left':_0x178474['to']('left',_0x204730=>q(_0x204730)),'top':_0x178474['to']('top',_0x34d11b=>q(_0x34d11b)),'width':_0x178474['to']('width',_0x3921c1=>q(_0x3921c1))}}});}}class O{['_viewCollection'];['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0x5871d4){this['_viewCollection']=_0x5871d4['ui']['view']['body'];}['destroy'](){for(const _0x2455f2 of this['_hiddenLines'])_0x2455f2['destroy']();}['cleanLines'](){for(const _0x3e0c4c of this['_visibleLines'])_0x3e0c4c['isVisible']=!0x1,this['_hiddenLines']['add'](_0x3e0c4c);this['_visibleLines']['clear']();}['showLine'](_0x4318ee,_0x5250bf,_0x5806ab,_0x2791ef){let _0x3c7cfd;this['_hiddenLines']['size']?(_0x3c7cfd=_0x3aa487(this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0x3c7cfd)):_0x3c7cfd=new C(),_0x3c7cfd['set']({'pageNumber':_0x2791ef,'left':_0x4318ee,'top':_0x5250bf,'width':_0x5806ab}),_0x3c7cfd['isVisible']=!0x0,this['_viewCollection']['has'](_0x3c7cfd)||this['_viewCollection']['add'](_0x3c7cfd),this['_visibleLines']['add'](_0x3c7cfd);}['setViewCollection'](_0x1572cc){for(const _0x2b79da of[...this['_visibleLines'],...this['_hiddenLines']])this['_viewCollection']['has'](_0x2b79da)&&this['_viewCollection']['remove'](_0x2b79da);this['_viewCollection']=_0x1572cc;}}const E='ck-pagination_enabled';class n extends _0xd615fc{['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 O(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'](E),this['on']('change:isEnabled',(_0x4925c6,_0x11a31d,_0x57f6fd)=>{_0x57f6fd||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](E,_0x57f6fd);});}['destroy'](){this['_toggleEditingRootsClass'](E,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0x9ef384){if(!this['isEnabled'])return;const _0x5bc957=_0x9ef384>0x1?this['_getPageBreakLineOffset'](_0x9ef384-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0x5bc957-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':_0x521f94['isMotionReduced']?'instant':'smooth'});}['setupScrollableAncestor'](){const _0x2ef9cf=this['editor'],_0x4f66f3=this['_getAttachedDomRoot']();_0x4f66f3?(this['_scrollableEditingRootDomAncestor']&&_0x2ef9cf['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=function(_0x567294){let _0x33f48d=_0x567294;do{_0x33f48d=_0x33f48d['parentElement'];const _0x541132=_0x393233['window']['getComputedStyle'](_0x33f48d)['overflowY'];if('auto'==_0x541132||'scroll'==_0x541132)break;}while('BODY'!=_0x33f48d['tagName']);return _0x33f48d;}(_0x4f66f3),_0x2ef9cf['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new _0xe4f9b0(this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0x2ef9cf['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0x40f07b=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0x40f07b['ui']['view']['listenTo'](_0x393233['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0x40f07b['ui']['once']('update',()=>this['_onUiReady']());}['_getAttachedDomRoot'](){for(const _0x2fb6ab of this['editor']['editing']['view']['domRoots']['values']())if(_0x2fb6ab['ownerDocument']['body']['contains'](_0x2fb6ab))return _0x2fb6ab;return null;}['_updatePageBreakLines'](){if(!this['isEnabled'])return;const _0x7fa5fe=this['_getAttachedDomRoot'](),_0x4d2a5e=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0x7fa5fe||0x1==_0x4d2a5e['length'])return void(this['pageNumber']=0x1);const _0x535b8e=new _0x32e22d(_0x7fa5fe)['excludeScrollbarsAndBorders'](),_0x490383=new _0x32e22d(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0x5b6aa6=_0x490383['top']+_0x490383['height']/0x3;let _0x4f2574=!0x1;const _0x52cfb1=[];for(let _0x48b0de=0x1;_0x48b0de<_0x4d2a5e['length'];_0x48b0de++){const _0x16485a=this['_getPageBreakLineOffset'](_0x48b0de,_0x490383);if(!_0x16485a)continue;const _0x16781b=_0x490383['top']+_0x16485a-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0x52cfb1['push']({'pageOffsetTop':_0x16781b,'domRootRect':_0x535b8e,'domScrollableRect':_0x490383,'pageNumber':_0x48b0de}),_0x16781b>_0x5b6aa6&&!_0x4f2574&&(this['pageNumber']=_0x48b0de,_0x4f2574=!0x0);}this['_renderPageBreakLines'](_0x52cfb1),_0x4f2574||(this['pageNumber']=_0x4d2a5e['length']);}['_renderPageBreakLines'](_0x167446){const {scrollX:_0xe80e6a,scrollY:_0xb6e409}=_0x393233['window'];if(_0x167446['length']){for(const {domScrollableRect:_0x1de5e4,pageOffsetTop:_0xb061d5,domRootRect:_0x613a67,pageNumber:_0x43b6ec}of _0x167446)_0x1de5e4['top']<_0xb061d5&&_0xb061d5<_0x1de5e4['bottom']&&this['linesRepository']['showLine'](_0x613a67['left']+_0xe80e6a,_0xb061d5+_0xb6e409,_0x613a67['width'],_0x43b6ec+0x1);}}['_getPageBreakLineOffset'](_0x50e17e,_0x20dfa4=null){const _0x553c2b=this['_paginationLookupPlugin']['pageBreaks'][_0x50e17e]['offset'];return _0x553c2b?(_0x20dfa4||(_0x20dfa4=new _0x32e22d(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0x553c2b-_0x20dfa4['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}['_toggleEditingRootsClass'](_0x1e48a9,_0x1efa8b=!0x0){const _0x1c134f=this['editor']['editing']['view'];_0x1c134f['change'](_0xb3a44e=>{for(const _0x16114c of _0x1c134f['document']['roots'])_0x1efa8b?_0xb3a44e['addClass'](_0x1e48a9,_0x16114c):_0xb3a44e['removeClass'](_0x1e48a9,_0x16114c);});}}function g(_0x5d9649,_0x474f95,..._0xb5a0a4){const t=_0x5d9649['t'];switch(_0x474f95){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)',..._0xb5a0a4);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 _0x474f95;}}class s extends _0xd615fc{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'PaginationEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[a,n];}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x40f3d3=this['editor']['plugins']['get']('Pagination'),_0x3da284=this['editor']['plugins']['get'](a),_0x4d78be=this['editor']['plugins']['get'](n);this['bind']('isEnabled')['to'](_0x40f3d3),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0x4d78be),this['listenTo'](_0x3da284,'change:pageBreaks',(_0x44c6bc,_0x4cc049,_0x78407b,_0x17cc28)=>{this['totalPages']=_0x78407b['length'],this['_updatePageBreakMarkers'](_0x78407b,_0x17cc28);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x23ec50=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x24072e;for(const _0x18c425 in _0x23ec50){const _0x3da3e2=_0x18c425,_0x5017bd=_0x23ec50[_0x3da3e2];if('paginationLicenseKeyValid'==_0x5017bd||'paginationLicenseKeyInvalid'==_0x5017bd||'paginationLicenseKeyExpired'==_0x5017bd||'paginationLicenseKeyDomainLimit'==_0x5017bd||'paginationLicenseKeyNotAllowed'==_0x5017bd||'paginationLicenseKeyEvaluationLimit'==_0x5017bd||'paginationLicenseKeyTrialLimit'==_0x5017bd||'paginationLicenseKeyUsageLimit'==_0x5017bd){delete _0x23ec50[_0x3da3e2],_0x24072e=_0x5017bd,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0x24072e&&_0x23ec50['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0x24072e&&_0x23ec50['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0x24072e&&_0x23ec50['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0x24072e&&_0x23ec50['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0x24072e&&_0x23ec50['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyTrialLimit'==_0x24072e&&_0x23ec50['_showLicenseError']('trialLimit'),'paginationLicenseKeyUsageLimit'==_0x24072e&&_0x23ec50['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0x8fe4ee){if(!this['isEnabled'])return;this['editor']['plugins']['get'](n)['scrollToPage'](this['_validatePageNumber'](_0x8fe4ee));}['moveSelectionToPage'](_0x191d83){if(!this['isEnabled'])return;const _0x1cc341=this['editor'],_0x197e8f=this['editor']['plugins']['get'](a)['pageBreaks'][_0x191d83-0x1];_0x197e8f&&_0x1cc341['model']['change'](_0x4c7ee2=>{switch(_0x197e8f['type']){case'manual':{const _0x1b291d=_0x1cc341['model']['schema']['getNearestSelectionRange'](_0x197e8f['modelRange']['end'],'forward');_0x4c7ee2['setSelection'](_0x1b291d);break;}case'element':{const _0x43418b=_0x1cc341['model']['schema']['getNearestSelectionRange'](_0x197e8f['modelRange']['start'],'forward');_0x4c7ee2['setSelection'](_0x43418b);break;}case'text':{const _0x45597a=_0x197e8f['modelRange']['start'];if(_0x45597a['textNode']&&'\x20'===_0x45597a['textNode']['data'][_0x45597a['offset']]){const _0xa90090=_0x4c7ee2['createPositionAt'](_0x45597a['parent'],_0x45597a['offset']+0x1);_0x4c7ee2['setSelection'](_0xa90090);}else _0x4c7ee2['setSelection'](_0x197e8f['modelRange']);}}_0x1cc341['editing']['view']['focus']();});}['goToNextPage'](){const _0x569e81=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0x569e81),this['scrollToPage'](_0x569e81);}['goToPreviousPage'](){const _0x46025c=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0x46025c),this['scrollToPage'](_0x46025c);}['_updatePageBreakMarkers'](_0xd5690a,_0x1772fb){const _0x409969=this['editor']['model'];this['isEnabled']&&_0x409969['change'](_0x45f1f1=>{for(let _0x3cb754=0x1;_0x3cb754<_0xd5690a['length'];_0x3cb754++){const _0x176f01=_0xd5690a[_0x3cb754]['modelRange'],_0x245c0a='pagination:'+(_0x3cb754+0x1);_0x409969['markers']['has'](_0x245c0a)?_0x45f1f1['updateMarker'](_0x245c0a,{'range':_0x176f01}):_0x45f1f1['addMarker'](_0x245c0a,{'range':_0x176f01,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0x4e7e9c=_0xd5690a['length'];_0x4e7e9c<_0x1772fb['length'];_0x4e7e9c++){const _0x329315='pagination:'+(_0x4e7e9c+0x1);_0x409969['markers']['has'](_0x329315)&&_0x45f1f1['removeMarker'](_0x329315);}});}['_setUpDataDowncastConversion'](){const _0x2bb967='pagination';this['editor']['conversion']['for']('dataDowncast')['add'](_0x4e7e4b=>{_0x4e7e4b['on']('addMarker:'+_0x2bb967,(_0x3e8f6d,{markerRange:_0x22efd8,markerName:_0x277acc},_0x5ec227)=>{if(!_0x5ec227['options']['pagination'])return;if(!_0x5ec227['consumable']['consume'](_0x22efd8,_0x3e8f6d['name']))return;const _0x55e7e3=_0x22efd8['getContainedElement']();let _0x463486=_0x55e7e3?_0x5ec227['mapper']['toViewElement'](_0x55e7e3):null;if(!_0x463486){const _0x32552b=_0x22efd8['start'];if(_0x5ec227['schema']['checkChild'](_0x32552b,'$text')){const _0x31ac8f=_0x5ec227['mapper']['toViewPosition'](_0x32552b);_0x463486=_0x5ec227['writer']['createContainerElement']('span'),_0x463486['getFillerOffset']=()=>null,_0x5ec227['writer']['insert'](_0x31ac8f,_0x463486);}else{const _0x22fd54=_0x32552b['nodeAfter'];_0x463486=_0x5ec227['mapper']['toViewElement'](_0x22fd54);}}for(;_0x463486['parent']!==_0x463486['root']&&0x0===_0x463486['index'];)_0x463486=_0x463486['parent'];const _0x3e8696=_0x277acc['substring'](0xb);_0x463486['hasClass']('page-break')||(_0x5ec227['writer']['setStyle']('page-break-before','always',_0x463486),_0x5ec227['writer']['setAttribute']('data-pagination-page',_0x3e8696,_0x463486),_0x5ec227['mapper']['bindElementToMarker'](_0x463486,_0x277acc)),_0x3e8f6d['stop']();});});}['_setupKeystrokes'](){const _0x5280ed=this['editor'];_0x5280ed['keystrokes']['set']('Shift+Pageup',(_0x32cf66,_0x4c7eaa)=>{this['goToPreviousPage'](),_0x4c7eaa();}),_0x5280ed['keystrokes']['set']('Shift+Pagedown',(_0x2586f6,_0xfc1d6a)=>{this['goToNextPage'](),_0xfc1d6a();}),_0x5280ed['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':g(_0x5280ed['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':g(_0x5280ed['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':g(_0x5280ed['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}['_validatePageNumber'](_0x185bbe){return _0x185bbe<0x1&&(_0x185bbe=0x1),_0x185bbe>this['totalPages']&&(_0x185bbe=this['totalPages']),_0x185bbe;}}class G extends _0xefe258{['pageNumberView'];constructor(_0x5d1bc5){super(_0x5d1bc5);const _0x11955f=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new _0x556e3e(_0x5d1bc5,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0x56eabf=>g(_0x5d1bc5,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0x56eabf)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0x45d718=>!_0x45d718),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0x11955f['if']('isEnabled','ck-disabled',_0x1b7afb=>!_0x1b7afb)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0x11955f['to']('totalPages')}]}]});}['render'](){super['render']();const _0xe3e699=this['pageNumberView']['element'],_0x3d9925=_0x4f13b3=>{this['pageNumberView']['element']['value']=String(_0x4f13b3);};_0x3d9925(this['pageNumber']),this['on']('change:pageNumber',(_0xe457ce,_0x519535,_0x46b3ab)=>{_0x3d9925(_0x46b3ab);}),this['listenTo'](_0xe3e699,'keydown',(_0x12d0d2,_0x52d487)=>{if('ArrowUp'===_0x52d487['key']||'ArrowDown'===_0x52d487['key'])return void _0x52d487['stopPropagation']();if(_0x52d487['keyCode']!==_0x21fd6c['enter'])return;_0x52d487['preventDefault']();const _0x399ea3=_0xe3e699['valueAsNumber'];Number['isNaN'](_0x399ea3)?_0xe3e699['value']=String(this['pageNumber']):(_0xe3e699['checkValidity']()?this['pageNumber']=_0x399ea3:_0x399ea3>this['totalPages']?(this['pageNumber']=this['totalPages'],_0xe3e699['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0xe3e699['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0xe3e699,'blur',()=>{_0xe3e699['value']=String(this['pageNumber']);}),this['listenTo'](_0xe3e699,'focus',()=>{this['pageNumberView']['select']();});}['focus'](){this['element']['firstChild']['focus']();}}class e extends _0xd615fc{static get['pluginName'](){return'PaginationUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x4f92fb=this['editor'],_0x2e1ad4=_0x4f92fb['plugins']['get']('PaginationEditing');_0x4f92fb['ui']['componentFactory']['add']('pageNavigation',_0x410bfa=>{const _0x3d8877=new G(_0x410bfa);return _0x3d8877['bind']('pageNumber')['to'](_0x2e1ad4),_0x3d8877['bind']('totalPages')['to'](_0x2e1ad4),_0x3d8877['bind']('isEnabled')['to'](_0x2e1ad4),_0x3d8877['on']('navigation',(_0x328df7,_0xa18e68)=>{_0x2e1ad4['moveSelectionToPage'](_0xa18e68),_0x2e1ad4['scrollToPage'](_0xa18e68);}),_0x3d8877;}),_0x4f92fb['ui']['componentFactory']['add']('nextPage',_0x409923=>{const _0x6cd323=new _0x3f7fe6(_0x409923);return _0x6cd323['isEnabled']=!0x0,_0x6cd323['label']=g(_0x4f92fb['locale'],'Go\x20to\x20next\x20page'),_0x6cd323['icon']=_0x33812b,_0x6cd323['tooltip']=!0x0,_0x6cd323['keystroke']='Shift+PageDown',_0x6cd323['bind']('isEnabled')['to'](_0x2e1ad4),this['listenTo'](_0x6cd323,'execute',()=>{_0x2e1ad4['goToNextPage']();}),_0x6cd323;}),_0x4f92fb['ui']['componentFactory']['add']('previousPage',_0x212192=>{const _0x352621=new _0x3f7fe6(_0x212192);return _0x352621['isEnabled']=!0x0,_0x352621['label']=g(_0x4f92fb['locale'],'Go\x20to\x20previous\x20page'),_0x352621['icon']=_0x557c98,_0x352621['tooltip']=!0x0,_0x352621['keystroke']='Shift+PageUp',_0x352621['bind']('isEnabled')['to'](_0x2e1ad4),this['listenTo'](_0x352621,'execute',()=>{_0x2e1ad4['goToPreviousPage']();}),_0x352621;});}}class T extends _0xd615fc{static get['pluginName'](){return'Pagination';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[s,e];}constructor(_0x23ce9a){super(_0x23ce9a),this['isEnabled']=!0x1;}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x3fa75e=this['editor']['plugins']['get'](s);this['bind']('pageNumber')['to'](_0x3fa75e),this['bind']('totalPages')['to'](_0x3fa75e),_0x521f94['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0x107846){this['editor']['plugins']['get'](s)['scrollToPage'](_0x107846);}}export{T as Pagination,n as PaginationRenderer};
|
|
23
|
+
import{Plugin as _0x23625b}from'@ckeditor/ckeditor5-core/dist/index.js';import{View as _0xa13169,InputNumberView as _0x3c75d4,ButtonView as _0x250e2f}from'@ckeditor/ckeditor5-ui/dist/index.js';import{logWarning as _0x3ac6c9,Rect as _0x350105,global as _0x115b23,uid as _0x60ff53,toUnit as _0x423911,first as _0x13c440,env as _0x1969bf,ResizeObserver as _0x591e44,keyCodes as _0x30416c}from'@ckeditor/ckeditor5-utils/dist/index.js';import{debounce as _0x2712df}from'es-toolkit/compat';import{IconArrowDown as _0x5ba245,IconArrowUp as _0x59ed82}from'@ckeditor/ckeditor5-icons/dist/index.js';class a extends _0x23625b{['_recalculatePageBreaksDebounced']=_0x2712df(()=>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 _0x3ac6c9('pagination-config-not-found',this['editor']['config']);const _0x56a969=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0x56a969),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0x3aef83,_0x4c02d0,_0x58cb35)=>{_0x58cb35&&this['_recalculatePageBreaksDebounced']();});}['afterInit'](){!async function(_0x5464d5){const _0x20b92f=_0x6fca40([0x72,0x30,0x50,0x67,0x36,0x62,0x41,0x77,0x32,0x6c,0x4f,0x52,0x51,0x75,0x76,0x66,0x56,0x31,0x59,0x38,0x79,0x58,0x49,0x45,0x47,0x42,0x54,0x33,0x4e,0x6b,0x43,0x55,0x4a,0x35,0x57,0x53,0x71,0x65,0x61,0x74,0x5a,0x6d,0x34,0x4c,0x4d,0x39,0x6f,0x48,0x7a,0x6e,0x44,0x6a,0x78,0x73,0x46,0x68,0x70,0x63,0x69,0x37,0x4b,0x64]),_0x72815c=0x327e5a82,_0x1838f8=0x32793602^_0x72815c,_0xfe3f33=window[_0x6fca40([0x44,0x61,0x74,0x65])][_0x6fca40([0x6e,0x6f,0x77])](),_0x30307a=_0x5464d5[_0x6fca40([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x10129b=new window[(_0x6fca40([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x213276=>{_0x30307a[_0x6fca40([0x6f,0x6e,0x63,0x65])](_0x6fca40([0x72,0x65,0x61,0x64,0x79]),_0x213276);}),_0x394489={[_0x6fca40([0x6b,0x74,0x79])]:_0x6fca40([0x45,0x43]),[_0x6fca40([0x75,0x73,0x65])]:_0x6fca40([0x73,0x69,0x67]),[_0x6fca40([0x63,0x72,0x76])]:_0x6fca40([0x50,0x2d,0x32,0x35,0x36]),[_0x6fca40([0x78])]:_0x6fca40([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]),[_0x6fca40([0x79])]:_0x6fca40([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]),[_0x6fca40([0x61,0x6c,0x67])]:_0x6fca40([0x45,0x53,0x32,0x35,0x36])},_0x37a638=_0x30307a[_0x6fca40([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x6fca40([0x67,0x65,0x74])](_0x6fca40([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3c52f0(){let _0x288aac,_0x1314d8=null,_0x1fd13d=null;try{if(_0x37a638==_0x6fca40([0x47,0x50,0x4c]))return _0x6fca40([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x288aac=_0x3b2657(),!_0x288aac)return _0x6fca40([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x288aac[_0x6fca40([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1fd13d=_0x5804ee(_0x288aac[_0x6fca40([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x288aac[_0x6fca40([0x6a,0x74,0x69])])),await _0x2926b2()?_0x2fc988()?_0xcf46ac()?_0x6fca40([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4599f0()?(_0x288aac[_0x6fca40([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x6fca40([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1314d8=_0x695c17(_0x6fca40([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x288aac[_0x6fca40([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x6fca40([0x74,0x72,0x69,0x61,0x6c])&&(_0x1314d8=_0x695c17(_0x6fca40([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5dc5dd()):_0x6fca40([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x6fca40([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x6fca40([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x6fca40([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xcf46ac(){const _0x28c316=[_0x6fca40([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x6fca40([0x74,0x72,0x69,0x61,0x6c])][_0x6fca40([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x288aac[_0x6fca40([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xfe3f33/0x3e8:0xe10*_0x1838f8;return _0x288aac[_0x6fca40([0x65,0x78,0x70])]<_0x28c316;}function _0x2fc988(){const _0x59a574=_0x288aac[_0x6fca40([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x59a574&&(!!_0x59a574[_0x6fca40([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x6fca40([0x2a]))||!!_0x59a574[_0x6fca40([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x6fca40([0x50,0x41,0x47])));}function _0x4599f0(){const _0x4e34fd=_0x288aac[_0x6fca40([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4e34fd||0x0==_0x4e34fd[_0x6fca40([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x55d41e}=new URL(window[_0x6fca40([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x4e34fd[_0x6fca40([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x55d41e))return!0x0;const _0x2b5438=_0x55d41e[_0x6fca40([0x73,0x70,0x6c,0x69,0x74])](_0x6fca40([0x2e]));return _0x4e34fd[_0x6fca40([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x21e683=>_0x21e683[_0x6fca40([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x6fca40([0x2a])))[_0x6fca40([0x6d,0x61,0x70])](_0x465f14=>_0x465f14[_0x6fca40([0x73,0x70,0x6c,0x69,0x74])](_0x6fca40([0x2e])))[_0x6fca40([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x43e545=>_0x43e545[_0x6fca40([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2b5438[_0x6fca40([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x6fca40([0x6d,0x61,0x70])](_0x5ea489=>Array(_0x2b5438[_0x6fca40([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5ea489[_0x6fca40([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x6fca40([0x66,0x69,0x6c,0x6c])](_0x5ea489[0x0]===_0x6fca40([0x2a])?_0x6fca40([0x2a]):'')[_0x6fca40([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5ea489))[_0x6fca40([0x73,0x6f,0x6d,0x65])](_0xe3fe2d=>_0x2b5438[_0x6fca40([0x65,0x76,0x65,0x72,0x79])]((_0x5a11ea,_0x4e77b0)=>_0xe3fe2d[_0x4e77b0]===_0x5a11ea||_0xe3fe2d[_0x4e77b0]===_0x6fca40([0x2a])));}function _0x5dc5dd(){return _0x1314d8&&_0x1fd13d?new window[(_0x6fca40([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1c3a2c,_0x246aa3)=>{_0x1314d8[_0x6fca40([0x74,0x68,0x65,0x6e])](_0x1c3a2c,_0x246aa3),_0x1fd13d[_0x6fca40([0x74,0x68,0x65,0x6e])](_0x5b7099=>{_0x5b7099!=_0x6fca40([0x56,0x61,0x6c,0x69,0x64])&&_0x1c3a2c(_0x5b7099);},_0x246aa3);}):_0x1314d8||_0x1fd13d||_0x6fca40([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5804ee(_0x59329a,_0x9a6d84){return new window[(_0x6fca40([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5db5f5=>{if(_0x4a02d8())return _0x5db5f5(_0x6fca40([0x56,0x61,0x6c,0x69,0x64]));_0x44de92(),_0x30307a[_0x6fca40([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x6fca40([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xc7dd99=!0x1;const _0x5f3c3d=_0x60ff53();function _0x41ba29(_0x32c261){return!!_0x32c261&&(typeof _0x32c261===_0x6fca40([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x32c261===_0x6fca40([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x32c261[_0x6fca40([0x74,0x68,0x65,0x6e])]===_0x6fca40([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x32c261[_0x6fca40([0x63,0x61,0x74,0x63,0x68])]===_0x6fca40([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1600db(_0x128f80){_0x4ee298(_0x128f80)[_0x6fca40([0x74,0x68,0x65,0x6e])](_0x154133=>{if(!_0x154133||_0x154133[_0x6fca40([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x6fca40([0x6f,0x6b]))return _0x6fca40([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1d6ab1(_0x2c3453(_0x5f3c3d+_0x9a6d84))!=_0x154133[_0x6fca40([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x6fca40([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x6fca40([0x56,0x61,0x6c,0x69,0x64]);})[_0x6fca40([0x74,0x68,0x65,0x6e])](_0x5d4762=>(_0x215653(),_0x5d4762),()=>{const _0x4acbdb=_0x163b47();return null==_0x4acbdb?(_0x215653(),_0x6fca40([0x56,0x61,0x6c,0x69,0x64])):_0x6fca40(_0xfe3f33-_0x4acbdb>(0x1672de82^_0x72815c)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x6fca40([0x74,0x68,0x65,0x6e])](_0x5db5f5)[_0x6fca40([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5db5f5(_0x6fca40([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x24385e=0x3248b402^_0x72815c;function _0x215653(){const _0x3aed5b=_0x6fca40([0x6c,0x6c,0x63,0x74,0x2d])+_0x1d6ab1(_0x2c3453(_0x59329a)),_0xe93e31=_0xdc38d4(_0x1d6ab1(window[_0x6fca40([0x4d,0x61,0x74,0x68])][_0x6fca40([0x63,0x65,0x69,0x6c])](_0xfe3f33/_0x24385e)));window[_0x6fca40([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x6fca40([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3aed5b,_0xe93e31);}function _0x163b47(){const _0xfb9ee1=_0x6fca40([0x6c,0x6c,0x63,0x74,0x2d])+_0x1d6ab1(_0x2c3453(_0x59329a)),_0x2534b5=window[_0x6fca40([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x6fca40([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xfb9ee1);return _0x2534b5?window[_0x6fca40([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xdc38d4(_0x2534b5),0x10)*_0x24385e:null;}function _0x4ee298(_0x181aa5){return new window[(_0x6fca40([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4a75c6,_0x3b601d)=>{_0x181aa5[_0x6fca40([0x74,0x68,0x65,0x6e])](_0x4a75c6,_0x3b601d),window[_0x6fca40([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3b601d,0x327f8e42^_0x72815c);});}}_0x30307a[_0x6fca40([0x6f,0x6e])](_0x6fca40([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4f2b74,_0xf50538)=>{if(_0xf50538[0x0]!=_0x59329a)return _0x5db5f5(_0x6fca40([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xf50538[0x1]={..._0xf50538[0x1],[_0x6fca40([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5f3c3d};},{[_0x6fca40([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x6fca40([0x68,0x69,0x67,0x68])}),_0x30307a[_0x6fca40([0x6f,0x6e])](_0x6fca40([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x242060=>{_0x41ba29(_0x242060[_0x6fca40([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xc7dd99=!0x0,_0x1600db(_0x242060[_0x6fca40([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x6fca40([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x6fca40([0x6c,0x6f,0x77])}),_0x10129b[_0x6fca40([0x74,0x68,0x65,0x6e])](()=>{_0xc7dd99||_0x5db5f5(_0x6fca40([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4a02d8(){return _0x30307a[_0x6fca40([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x6fca40([0x76,0x69,0x65,0x77])][_0x6fca40([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x6fca40([0x61,0x75,0x74,0x6f]);}function _0x44de92(){_0x30307a[_0x6fca40([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x6fca40([0x76,0x69,0x65,0x77])][_0x6fca40([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x6fca40([0x61,0x75,0x74,0x6f]);}}function _0x695c17(_0x1aba0e){const _0xda8eb4=[new window[(_0x6fca40([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4b9ae7=>setTimeout(_0x4b9ae7,0x3277644e^_0x72815c)),_0x10129b[_0x6fca40([0x74,0x68,0x65,0x6e])](()=>new window[(_0x6fca40([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2258b7=>{let _0x1b14e4=0x0;_0x30307a[_0x6fca40([0x6d,0x6f,0x64,0x65,0x6c])][_0x6fca40([0x6f,0x6e])](_0x6fca40([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4f8489,_0x246d17)=>{_0x246d17[0x0][_0x6fca40([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1b14e4++,_0x1b14e4==(0x327e5b7a^_0x72815c)&&(_0x2258b7(),_0x4f8489[_0x6fca40([0x6f,0x66,0x66])]());});}))];return window[_0x6fca40([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x6fca40([0x72,0x61,0x63,0x65])](_0xda8eb4)[_0x6fca40([0x74,0x68,0x65,0x6e])](()=>_0x1aba0e);}async function _0x70fc00(){await _0x10129b,_0x30307a[_0x6fca40([0x6d,0x6f,0x64,0x65,0x6c])][_0x6fca40([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4b7b9b,_0x30307a[_0x6fca40([0x6d,0x6f,0x64,0x65,0x6c])][_0x6fca40([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4b7b9b,_0x30307a[_0x6fca40([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x6fca40([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2b6017(_0x1f95df){const _0x36ee28=_0x47d450();_0x30307a[_0x36ee28]=_0x6fca40([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1f95df,_0x1f95df!=_0x6fca40([0x56,0x61,0x6c,0x69,0x64])&&_0x70fc00();}function _0x47d450(){const _0x52b56c=window[_0x6fca40([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x6fca40([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x6fca40([0x6e,0x6f,0x77])]())[_0x6fca40([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x6fca40([0x2e]),'');let _0x5cf68b=_0x6fca40([0x72]);for(let _0x323ed7=0x0;_0x323ed7<_0x52b56c[_0x6fca40([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x323ed7+=0x2){let _0x233744=window[_0x6fca40([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x52b56c[_0x6fca40([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x323ed7,_0x323ed7+0x2));_0x233744>=_0x20b92f[_0x6fca40([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x233744-=_0x20b92f[_0x6fca40([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5cf68b+=_0x20b92f[_0x233744];}return _0x5cf68b;}function _0x3b2657(){const _0x21c673=_0x37a638[_0x6fca40([0x73,0x70,0x6c,0x69,0x74])](_0x6fca40([0x2e]));if(0x3!=_0x21c673[_0x6fca40([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x32c10b(_0x21c673[0x1]);function _0x32c10b(_0x3522b3){const _0x48ef8c=_0x32325a(_0x3522b3);return _0x48ef8c&&_0x47bd67()?_0x48ef8c:null;function _0x47bd67(){const _0x242dd4=_0x48ef8c[_0x6fca40([0x6a,0x74,0x69])],_0x444783=window[_0x6fca40([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x242dd4[_0x6fca40([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x242dd4[_0x6fca40([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2f064a={..._0x48ef8c,[_0x6fca40([0x6a,0x74,0x69])]:_0x242dd4[_0x6fca40([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x242dd4[_0x6fca40([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2f064a[_0x6fca40([0x76,0x63])],_0x2c3453(_0x2f064a)==_0x444783;}}}async function _0x2926b2(){let _0x83823f=!0x0;try{const _0x59ada1=_0x37a638[_0x6fca40([0x73,0x70,0x6c,0x69,0x74])](_0x6fca40([0x2e])),[_0x262511,_0x546a8e,_0x5575c0]=_0x59ada1;return _0x422c8d(_0x262511),await _0x537ff0(_0x262511,_0x546a8e,_0x5575c0),_0x83823f;}catch{return!0x1;}function _0x422c8d(_0x4a3c37){const _0x5646dc=_0x32325a(_0x4a3c37);_0x5646dc&&_0x5646dc[_0x6fca40([0x61,0x6c,0x67])]==_0x6fca40([0x45,0x53,0x32,0x35,0x36])||(_0x83823f=!0x1);}async function _0x537ff0(_0x385be3,_0x2edc71,_0xf5dce){const _0x17b7cc=window[_0x6fca40([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x6fca40([0x66,0x72,0x6f,0x6d])](_0x227e51(_0xf5dce),_0x134c71=>_0x134c71[_0x6fca40([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x47c33f=new window[(_0x6fca40([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x6fca40([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x385be3+_0x6fca40([0x2e])+_0x2edc71),_0x57671c=window[_0x6fca40([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x6fca40([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x57671c)return;const _0x144523=await _0x57671c[_0x6fca40([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x6fca40([0x6a,0x77,0x6b]),_0x394489,{[_0x6fca40([0x6e,0x61,0x6d,0x65])]:_0x6fca40([0x45,0x43,0x44,0x53,0x41]),[_0x6fca40([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x6fca40([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x6fca40([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x57671c[_0x6fca40([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x6fca40([0x6e,0x61,0x6d,0x65])]:_0x6fca40([0x45,0x43,0x44,0x53,0x41]),[_0x6fca40([0x68,0x61,0x73,0x68])]:{[_0x6fca40([0x6e,0x61,0x6d,0x65])]:_0x6fca40([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x144523,_0x17b7cc,_0x47c33f)||(_0x83823f=!0x1);}}function _0x32325a(_0xcda6c1){return _0xcda6c1[_0x6fca40([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x6fca40([0x65,0x79]))?JSON[_0x6fca40([0x70,0x61,0x72,0x73,0x65])](_0x227e51(_0xcda6c1)):null;}function _0x227e51(_0x2fafdc){return window[_0x6fca40([0x61,0x74,0x6f,0x62])](_0x2fafdc[_0x6fca40([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x6fca40([0x2b]))[_0x6fca40([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x6fca40([0x2f])));}function _0x2c3453(_0x567dea){let _0x561ec8=0x1505;function _0x160d52(_0x4b060a){for(let _0x4cc678=0x0;_0x4cc678<_0x4b060a[_0x6fca40([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4cc678++){const _0x161bc7=_0x4b060a[_0x6fca40([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4cc678);_0x561ec8=(_0x561ec8<<0x5)+_0x561ec8+_0x161bc7,_0x561ec8&=_0x561ec8;}}function _0x101224(_0x3f2589){Array[_0x6fca40([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3f2589)?_0x3f2589[_0x6fca40([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x101224):_0x3f2589&&typeof _0x3f2589==_0x6fca40([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x6fca40([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3f2589)[_0x6fca40([0x73,0x6f,0x72,0x74])]()[_0x6fca40([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x314c1f,_0x564e52])=>{_0x160d52(_0x314c1f),_0x101224(_0x564e52);}):_0x160d52(window[_0x6fca40([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3f2589));}return _0x101224(_0x567dea),_0x561ec8>>>0x0;}function _0x1d6ab1(_0x209713){return _0x209713[_0x6fca40([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x6fca40([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x6fca40([0x30]));}function _0xdc38d4(_0x2d64b6){return _0x2d64b6[_0x6fca40([0x73,0x70,0x6c,0x69,0x74])]('')[_0x6fca40([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x6fca40([0x6a,0x6f,0x69,0x6e])]('');}function _0x4b7b9b(){}function _0x6fca40(_0x3c4e2c){return _0x3c4e2c['map'](_0x56b192=>String['fromCharCode'](_0x56b192))['join']('');}_0x2b6017(await _0x3c52f0());}(this);}['destroy'](){super['destroy'](),this['_pagesContainer']&&(this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0x25992d=this['editor'],_0x2ad4d7=_0x25992d['editing']['view'],_0xea5ed=this['_getAttachedDomRoot']();if(!_0xea5ed||0x0===_0xea5ed['childElementCount'])return void _0x25992d['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0x5ea902,pageHeight:_0x3a5db7}=_0x25992d['config']['get']('pagination'),{top:_0x5e9d56,left:_0x469272,bottom:_0xb75433,right:_0x4ea36d}=this['_configuredPaddings'];this['_pagesContainer']=new _0xa13169(_0x25992d['locale']);const _0x6d380f=this['_pagesContainer'];_0x6d380f['set']('class',''),_0x6d380f['setTemplate']({'tag':'div','attributes':{'contenteditable':!0x0,'style':{'columnWidth':_0x5ea902,'width':_0x5ea902,'height':'calc(\x20'+_0x3a5db7+'\x20-\x20'+_0x5e9d56+'\x20-\x20'+_0xb75433+'\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0x4ea36d+'\x200\x20'+_0x469272,'columnGap':'100px','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'tabindex':'-1','class':_0x6d380f['bindTemplate']['to']('class')}}),_0x6d380f['render'](),_0xea5ed['parentNode']['insertBefore'](_0x6d380f['element'],_0xea5ed['nextSibling']),this['listenTo'](_0x2ad4d7,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}['_getAttachedDomRoot'](){for(const _0x34c54d of this['editor']['editing']['view']['domRoots']['values']())if(_0x34c54d['ownerDocument']['body']['contains'](_0x34c54d))return _0x34c54d;return null;}['_recalculatePageBreaks'](){if(!this['isEnabled'])return Promise['resolve']();const _0x8ef6b6=this['editor']['editing']['view'],_0x5e4c1d=this['_pagesContainer'],_0x5b48f1=this['_getAttachedDomRoot']();if(!_0x5b48f1)return Promise['resolve']();for(_0x5e4c1d['class']=['ck-reset','ck-pagination-view',..._0x5b48f1['classList']]['join']('\x20');_0x5e4c1d['element']['firstChild'];)_0x5e4c1d['element']['firstChild']['remove']();const _0x2fc65f=Array['from'](_0x8ef6b6['domRoots']);_0x2fc65f['sort'](([,_0x169258],[,_0x510d99])=>_0x169258['compareDocumentPosition'](_0x510d99)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0x1e0f7f,_0x2c2089]of _0x2fc65f){const _0x2c7c69=_0x2c2089['cloneNode'](!0x0);'attributeStyleMap'in _0x2c7c69&&_0x2c7c69['attributeStyleMap']['clear'](),_0x2c7c69['className']='',_0x2c7c69['removeAttribute']('id'),_0x2c7c69['dataset']['rootName']=_0x1e0f7f,_0x5e4c1d['element']['append'](_0x2c7c69);}return function(_0x2b28f8){return Promise['all'](_0x2b28f8['map'](_0x262bb9=>Promise['race']([m(_0x262bb9),p(0x3e8)])));}(Array['from'](_0x5e4c1d['element']['querySelectorAll']('img')))['then'](()=>this['_updatePageBreaksData']());}['_updatePageBreaksData'](){const _0x2dde12=this['_pagesContainer']['element'];if(!_0x2dde12['ownerDocument']['body']['contains'](_0x2dde12))return;const _0x360e29=new _0x350105(_0x2dde12)['excludeScrollbarsAndBorders'](),_0x43aa7c=_0x115b23['window']['getComputedStyle'](_0x2dde12),_0x5f3281=parseFloat(_0x43aa7c['paddingLeft'])+parseFloat(_0x43aa7c['paddingRight']),_0x354c50=Math['floor'](_0x360e29['width']+0x64-_0x5f3281),_0x209117=b(_0x2dde12,Math['floor'](_0x360e29['left']-_0x2dde12['scrollLeft']),_0x354c50,_0x360e29['height'])['map'](_0x19d667=>this['_mapPageStarterInfoToPageBreakInfo'](_0x19d667));_0x209117['every'](_0x4dae1b=>!!_0x4dae1b)&&(this['pageBreaks']=_0x209117);}['_mapPageStarterInfoToPageBreakInfo'](_0x481124){const _0x24b15f=this['editor']['editing']['view'],_0x32eadf=this['editor']['editing']['mapper'],_0x310879=_0x24b15f['domConverter'],_0x55e5e1=_0x481124['path']['shift'](),_0x344ae1=this['_pagesContainer']['element']['childNodes'][_0x55e5e1]['dataset']['rootName'],_0x36d7c8=_0x24b15f['getDomRoot'](_0x344ae1);if(!_0x36d7c8)return null;const _0x6437af=function(_0x53a996,_0x7023cf){let _0x23fede=_0x53a996;for(const _0x3215c9 of _0x7023cf['path']){if(!_0x23fede)return null;_0x23fede=_0x23fede['childNodes'][_0x3215c9];}return _0x23fede;}(_0x36d7c8,_0x481124);if(!_0x6437af)return null;const _0x1f1afd=_0x310879['domPositionToView'](_0x6437af,_0x481124['textOffset']||0x0);return _0x1f1afd?'manual'==_0x481124['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0x1f1afd,_0x6437af):'text'==_0x481124['type']&&_0x32eadf['toModelPosition'](_0x1f1afd)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0x1f1afd,_0x6437af,_0x481124['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0x1f1afd,_0x6437af,_0x481124['offset']):null;}['_mapManualPageStarterInfoToPageBreakInfo'](_0x7fb713,_0x50a6b7){const _0x4062e9=this['editor']['model'],_0x463de5=this['editor']['editing']['mapper']['toModelElement'](_0x7fb713['parent']),_0x461dc8=_0x4062e9['createRangeOn'](_0x463de5);return new K({'type':'manual','modelRange':_0x461dc8,'domNode':_0x50a6b7,'offset':0x0});}['_mapTextPageStarterInfoToPageBreakInfo'](_0x5d98b9,_0x381ccd,_0x266936){const _0x3e590e=this['editor']['model'],_0x19f64a=this['editor']['editing']['mapper'],_0x66110f=this['editor']['editing']['view']['domConverter'];if(_0x266936>=_0x381ccd['length'])return null;const _0x1e22ae=_0x19f64a['toModelPosition'](_0x5d98b9),_0x4e2465=_0x3e590e['createRange'](_0x1e22ae),_0x530fd6=_0x19f64a['findMappedViewAncestor'](_0x5d98b9),_0x1f54fa=_0x66110f['mapViewToDom'](_0x530fd6);return new K({'type':'text','modelRange':_0x4e2465,'domNode':_0x381ccd,'offset':w(_0x381ccd,_0x266936,_0x1f54fa)});}['_mapElementPageStarterInfoToPageBreakInfo'](_0x3be64d,_0x4cf167,_0x42f58e){const _0x49959b=this['editor']['model'],_0x4adde1=this['editor']['editing'],_0x2397ff=_0x4adde1['mapper'],_0x1af131=_0x4adde1['view']['domConverter'],_0x4f4f2f=_0x2397ff['findMappedViewAncestor'](_0x3be64d),_0x3870ab=_0x2397ff['toModelElement'](_0x4f4f2f),_0x396882=function(_0x20bd9c){const _0x43f664=_0x20bd9c['parent'],_0x49b18a=_0x43f664['root']['document']['model'],_0x2b7f7d=_0x43f664['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0x1d7c76=null;for(const _0x352aa4 of _0x2b7f7d){if(_0x352aa4['is']('rootElement'))return _0x1d7c76;if(!_0x49b18a['createPositionBefore'](_0x352aa4)['isTouching'](_0x20bd9c))return _0x1d7c76;_0x1d7c76=_0x352aa4;}}(_0x49959b['createPositionBefore'](_0x3870ab)),_0x46d322=_0x396882||_0x3870ab;let _0x3a7ae8=_0x2397ff['toViewElement'](_0x46d322),_0x1d229c=_0x49959b['createRangeOn'](_0x46d322);const _0x4c5ee9=_0x49959b['createPositionBefore'](_0x46d322)['nodeBefore'];if(_0x4c5ee9&&_0x4c5ee9['is']('element','imageBlock')){const _0xc3284f=_0x2397ff['toViewElement'](_0x4c5ee9),_0x49b653=_0x1af131['mapViewToDom'](_0xc3284f),_0x580cb4=_0x115b23['window']['getComputedStyle'](_0x49b653)['float'];'left'!=_0x580cb4&&'right'!=_0x580cb4||(_0x1d229c=_0x49959b['createRangeOn'](_0x4c5ee9));}for(;_0x3a7ae8['parent']!==_0x3a7ae8['root']&&0x0===_0x3a7ae8['index'];)_0x3a7ae8=_0x3a7ae8['parent'];const _0x24621b=new _0x350105(N(_0x4cf167)?_0x4cf167:y(_0x4cf167)),_0x34417c=_0x42f58e?_0x24621b['height']-_0x42f58e:0x0,_0x2486c8=_0x1af131['mapViewToDom'](_0x3a7ae8),_0x56ed49=new _0x350105(_0x2486c8);return new K({'type':'element','modelRange':_0x1d229c,'domNode':_0x2486c8,'offset':Math['round'](_0x34417c)?_0x34417c+_0x24621b['top']-_0x56ed49['top']:0x0});}get['_configuredPaddings'](){const _0xbba2a0=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0xbba2a0);}static['_findPageStarterInfos'](_0x128751,_0x23f696,_0x357219,_0x298d36,_0x39f242){return b(_0x128751,_0x23f696,_0x357219,_0x298d36,_0x39f242);}}class K{['type'];['modelRange'];['_domNode'];['_offset'];constructor({type:_0x58d248,modelRange:_0x25a3e3,domNode:_0x20ebd4,offset:_0x4b8dae}){this['type']=_0x58d248,this['modelRange']=_0x25a3e3,this['_domNode']=_0x20ebd4,this['_offset']=_0x4b8dae;}get['offset'](){if(!this['_domNode']['ownerDocument']['body']['contains'](this['_domNode']))return 0x0;const _0x5f4c42=new _0x350105(N(this['_domNode'])?this['_domNode']:y(this['_domNode']));return'manual'==this['type']?_0x5f4c42['top']+_0x5f4c42['height']/0x2:_0x5f4c42['top']+this['_offset'];}}function w(_0x282f94,_0xe80c35,_0x37c04e){const _0x456cf8=y(_0x282f94),_0x3aebe4=function(_0xdeed25){const _0x135175=_0x115b23['document']['createRange']();return _0x135175['selectNodeContents'](_0xdeed25),_0x135175;}(_0x37c04e);let _0xe555c;_0xe555c=0x0==_0xe80c35?k(_0x3aebe4['startContainer'],_0x3aebe4['startOffset'],_0x282f94['parentNode'],Array['from'](_0x282f94['parentNode']['childNodes'])['indexOf'](_0x282f94)):k(_0x3aebe4['startContainer'],_0x3aebe4['startOffset'],_0x282f94,_0xe80c35);const _0x500e56=k(_0x282f94,_0xe80c35,_0x3aebe4['endContainer'],_0x3aebe4['endOffset']),_0x432c7a=new _0x350105(_0xe555c)['bottom'];return(new _0x350105(_0x500e56)['top']+_0x432c7a)/0x2-new _0x350105(_0x456cf8)['top'];}function m(_0x9efc28){return _0x9efc28['hasAttribute']('width')&&_0x9efc28['hasAttribute']('height')?Promise['resolve']():new Promise(_0x142e75=>{function _0x5afc6a(){_0x9efc28['removeEventListener']('load',_0x5afc6a),_0x9efc28['removeEventListener']('error',_0x5afc6a),_0x142e75();}_0x9efc28['complete']?_0x142e75():(_0x9efc28['addEventListener']('load',_0x5afc6a),_0x9efc28['addEventListener']('error',_0x5afc6a));});}function p(_0x64d8f0){return new Promise(_0x1b8eff=>setTimeout(_0x1b8eff,_0x64d8f0));}function y(_0x2f7039){const _0x447871=_0x115b23['document']['createRange']();return _0x447871['selectNode'](_0x2f7039),_0x447871;}function P(_0x157841,_0x51af87,_0x3f6298){const _0x28b93c=_0x115b23['document']['createRange']();return _0x28b93c['setStart'](_0x157841,_0x51af87),_0x28b93c['setEnd'](_0x157841,_0x3f6298),_0x28b93c;}function k(_0x2d4f95,_0xa54dc6,_0x4cab7f,_0xd1475c){const _0x280b44=_0x115b23['document']['createRange']();return _0x280b44['setStart'](_0x2d4f95,_0xa54dc6),_0x280b44['setEnd'](_0x4cab7f,_0xd1475c),_0x280b44;}function b(_0x2bca3b,_0x2cd47b,_0x41a362,_0x488f9b,_0x18a687){const _0x2e2934=[];for(const [_0x12da15,_0x37c1bd]of _0x2bca3b['childNodes']['entries']()){let _0x4eefb1=[];N(_0x37c1bd)&&_0x37c1bd['offsetParent']&&!_0x37c1bd['style']['position']?_0x4eefb1=x(_0x37c1bd,_0x12da15,_0x2cd47b,_0x41a362,_0x488f9b,_0x18a687):S(_0x37c1bd)&&(_0x4eefb1=_(_0x37c1bd,_0x12da15,_0x2cd47b,_0x41a362,_0x18a687)),_0x4eefb1['length']&&(_0x2e2934['push'](..._0x4eefb1),_0x2cd47b+=_0x4eefb1['length']*_0x41a362,_0x18a687=!0x1);}return _0x2e2934;}function x(_0x29aeea,_0x220b86,_0x3cb340,_0xba1a6a,_0x4562a3,_0x9da29e){const _0x4c0bce=[];var _0x52f5e4;if((_0x52f5e4=_0x29aeea['previousSibling'])&&N(_0x52f5e4)&&Boolean(_0x52f5e4['classList']['contains']('page-break')||_0x52f5e4['closest']('.page-break'))&&(_0x4c0bce['push']({'type':'manual','offset':0x0,'path':[_0x220b86-0x1]}),_0x9da29e=!0x0),'table-row'==_0x115b23['window']['getComputedStyle'](_0x29aeea)['display']){let _0xc7f779=0x0,_0x18adbe=!0x1;for(const _0x58def3 of _0x29aeea['getClientRects']())_0xc7f779+=_0x58def3['height'],_0x58def3['left']>=_0x3cb340&&(_0x18adbe=!0x0);if(_0xc7f779<_0x4562a3&&_0x18adbe)return _0x4c0bce['push']({'type':'element','offset':0x0,'path':[_0x220b86]}),_0x4c0bce;}const _0x1229c4=_0x29aeea['closest']('figure.image');if(_0x1229c4&&function(_0x5769fe){let _0x34d92f=!0x1;const _0x37e0a2=_0x5769fe['parentElement'],_0xa357e6=_0x37e0a2['dataset']['rootName'],_0x4f0529=_0x5769fe['nextElementSibling'],_0x354a20=_0x5769fe['previousElementSibling'],_0x157185=_0x4f0529&&_0x115b23['window']['getComputedStyle'](_0x4f0529)['float'],_0x25cd5a=_0x4f0529&&'ck-fake-selection-container'===_0x4f0529['className'];!_0xa357e6||_0x4f0529||_0x354a20||(_0x34d92f=!0x0),_0xa357e6&&!_0x354a20&&_0x25cd5a&&(_0x34d92f=!0x0),_0xa357e6&&!_0x354a20&&'none'!==_0x157185&&(_0x34d92f=!0x0);if(_0x34d92f)return!0x1;return!0x0;}(_0x1229c4)){const _0x334441=_0x115b23['window']['getComputedStyle'](_0x1229c4)['float'];if('left'==_0x334441||'right'==_0x334441)return _0x4c0bce;}const _0x4f2db0=b(_0x29aeea,_0x3cb340,_0xba1a6a,_0x4562a3,_0x9da29e);if(_0x4f2db0['length']){for(const _0x820052 of _0x4f2db0)_0x4c0bce['push']({'type':_0x820052['type'],'offset':_0x820052['offset'],'textOffset':_0x820052['textOffset'],'path':[_0x220b86,..._0x820052['path']]}),_0x3cb340+=_0xba1a6a,_0x9da29e=!0x1;return _0x4c0bce;}return _0x4c0bce['push'](...function(_0x4fdb7d,_0x40e36c,_0x1f8d4d,_0x20264b,_0x181f0c){const _0x409170=[];if('table-cell'==_0x115b23['window']['getComputedStyle'](_0x4fdb7d)['display'])return[];const _0x519267=[];for(const _0x241664 of _0x4fdb7d['getClientRects']())if(_0x241664['left']>=_0x1f8d4d){for(const _0x334561 of _0x519267)_0x334561['height']+=_0x241664['height'];_0x519267['push']({'height':_0x241664['height']}),_0x1f8d4d+=_0x20264b;}for(const _0x1b0066 of _0x519267)_0x181f0c||_0x409170['push']({'type':'element','offset':_0x1b0066['height'],'textOffset':0x0,'path':[_0x40e36c]}),_0x181f0c=!0x1;return _0x409170;}(_0x29aeea,_0x220b86,_0x3cb340,_0xba1a6a,_0x9da29e)),_0x4c0bce;}function _(_0x1ed85f,_0x518757,_0x5f4664,_0x4a1bdf,_0x1644fd){const _0x6408ce=y(_0x1ed85f),_0x20080c=[];let _0x38b513=0x0;for(const _0x3c5259 of _0x6408ce['getClientRects']())if(_0x3c5259['left']>=_0x5f4664){const _0x15e9de=B(_0x1ed85f,_0x38b513,_0x5f4664,_0x4a1bdf);_0x1644fd||_0x20080c['push']({'type':'text','path':[_0x518757],'textOffset':_0x15e9de}),_0x38b513=_0x15e9de,_0x5f4664+=_0x4a1bdf,_0x1644fd=!0x1;}return _0x20080c;}function B(_0xe67b40,_0x12f066,_0x114a54,_0x259b30){let _0x44dda7=_0x12f066,_0x498762=_0xe67b40['length'];for(;_0x498762-_0x44dda7>0x1;){const _0x5307b3=Math['ceil']((_0x44dda7+_0x498762)/0x2);I(P(_0xe67b40,_0x44dda7,_0x5307b3),_0x114a54,_0x259b30)?_0x498762=_0x5307b3:_0x44dda7=_0x5307b3;}return _0x44dda7;}function I(_0x10745d,_0x22d0c4,_0x9903dd){for(const _0x56a538 of _0x10745d['getClientRects']())if(_0x56a538['left']>=_0x22d0c4&&_0x56a538['left']<_0x22d0c4+_0x9903dd)return!0x0;return!0x1;}function N(_0x4a7d6b){return _0x4a7d6b['nodeType']==Node['ELEMENT_NODE'];}function S(_0x465965){return _0x465965['nodeType']==Node['TEXT_NODE'];}const q=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x423911('px');class C extends _0xa13169{constructor(){super();const _0x31f2bb=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0x31f2bb['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0x31f2bb['if']('isVisible','ck-hidden',_0x1ccbc2=>!_0x1ccbc2)],'style':{'left':_0x31f2bb['to']('left',_0x5964ff=>q(_0x5964ff)),'top':_0x31f2bb['to']('top',_0x5dd9cb=>q(_0x5dd9cb)),'width':_0x31f2bb['to']('width',_0x190030=>q(_0x190030))}}});}}class O{['_viewCollection'];['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0x2f46db){this['_viewCollection']=_0x2f46db['ui']['view']['body'];}['destroy'](){for(const _0x209b0c of this['_hiddenLines'])_0x209b0c['destroy']();}['cleanLines'](){for(const _0x467955 of this['_visibleLines'])_0x467955['isVisible']=!0x1,this['_hiddenLines']['add'](_0x467955);this['_visibleLines']['clear']();}['showLine'](_0x3c60b7,_0x285bf2,_0x2bef4b,_0x257685){let _0x20c90a;this['_hiddenLines']['size']?(_0x20c90a=_0x13c440(this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0x20c90a)):_0x20c90a=new C(),_0x20c90a['set']({'pageNumber':_0x257685,'left':_0x3c60b7,'top':_0x285bf2,'width':_0x2bef4b}),_0x20c90a['isVisible']=!0x0,this['_viewCollection']['has'](_0x20c90a)||this['_viewCollection']['add'](_0x20c90a),this['_visibleLines']['add'](_0x20c90a);}['setViewCollection'](_0x5572aa){for(const _0x4b5066 of[...this['_visibleLines'],...this['_hiddenLines']])this['_viewCollection']['has'](_0x4b5066)&&this['_viewCollection']['remove'](_0x4b5066);this['_viewCollection']=_0x5572aa;}}const E='ck-pagination_enabled';class n extends _0x23625b{['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 O(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'](E),this['on']('change:isEnabled',(_0x15a157,_0x2eed02,_0x1d9a34)=>{_0x1d9a34||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](E,_0x1d9a34);});}['destroy'](){this['_toggleEditingRootsClass'](E,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0x168c87){if(!this['isEnabled'])return;const _0x23030e=_0x168c87>0x1?this['_getPageBreakLineOffset'](_0x168c87-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0x23030e-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':_0x1969bf['isMotionReduced']?'instant':'smooth'});}['setupScrollableAncestor'](){const _0x440317=this['editor'],_0x49001a=this['_getAttachedDomRoot']();_0x49001a?(this['_scrollableEditingRootDomAncestor']&&_0x440317['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=function(_0x43f733){let _0x5cf5d9=_0x43f733;do{_0x5cf5d9=_0x5cf5d9['parentElement'];const _0x5ba2c2=_0x115b23['window']['getComputedStyle'](_0x5cf5d9)['overflowY'];if('auto'==_0x5ba2c2||'scroll'==_0x5ba2c2)break;}while('BODY'!=_0x5cf5d9['tagName']);return _0x5cf5d9;}(_0x49001a),_0x440317['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new _0x591e44(this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0x440317['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0x324018=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0x324018['ui']['view']['listenTo'](_0x115b23['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0x324018['ui']['once']('update',()=>this['_onUiReady']());}['_getAttachedDomRoot'](){for(const _0x4d45ec of this['editor']['editing']['view']['domRoots']['values']())if(_0x4d45ec['ownerDocument']['body']['contains'](_0x4d45ec))return _0x4d45ec;return null;}['_updatePageBreakLines'](){if(!this['isEnabled'])return;const _0x46694a=this['_getAttachedDomRoot'](),_0x406a6d=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0x46694a||0x1==_0x406a6d['length'])return void(this['pageNumber']=0x1);const _0x38920a=new _0x350105(_0x46694a)['excludeScrollbarsAndBorders'](),_0x56ee9f=new _0x350105(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0x23f627=_0x56ee9f['top']+_0x56ee9f['height']/0x3;let _0x9b45ab=!0x1;const _0x20a85f=[];for(let _0x18b510=0x1;_0x18b510<_0x406a6d['length'];_0x18b510++){const _0x517b03=this['_getPageBreakLineOffset'](_0x18b510,_0x56ee9f);if(!_0x517b03)continue;const _0x3c36cd=_0x56ee9f['top']+_0x517b03-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0x20a85f['push']({'pageOffsetTop':_0x3c36cd,'domRootRect':_0x38920a,'domScrollableRect':_0x56ee9f,'pageNumber':_0x18b510}),_0x3c36cd>_0x23f627&&!_0x9b45ab&&(this['pageNumber']=_0x18b510,_0x9b45ab=!0x0);}this['_renderPageBreakLines'](_0x20a85f),_0x9b45ab||(this['pageNumber']=_0x406a6d['length']);}['_renderPageBreakLines'](_0x333c40){const {scrollX:_0x12d4f3,scrollY:_0x255585}=_0x115b23['window'];if(_0x333c40['length']){for(const {domScrollableRect:_0x373cfb,pageOffsetTop:_0x436f97,domRootRect:_0x21bf57,pageNumber:_0x57632e}of _0x333c40)_0x373cfb['top']<_0x436f97&&_0x436f97<_0x373cfb['bottom']&&this['linesRepository']['showLine'](_0x21bf57['left']+_0x12d4f3,_0x436f97+_0x255585,_0x21bf57['width'],_0x57632e+0x1);}}['_getPageBreakLineOffset'](_0xc5762b,_0x22a6d3=null){const _0x5862d8=this['_paginationLookupPlugin']['pageBreaks'][_0xc5762b]['offset'];return _0x5862d8?(_0x22a6d3||(_0x22a6d3=new _0x350105(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0x5862d8-_0x22a6d3['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}['_toggleEditingRootsClass'](_0x564ad6,_0x2cba13=!0x0){const _0x3e7ebb=this['editor']['editing']['view'];_0x3e7ebb['change'](_0x42da8d=>{for(const _0x17abc3 of _0x3e7ebb['document']['roots'])_0x2cba13?_0x42da8d['addClass'](_0x564ad6,_0x17abc3):_0x42da8d['removeClass'](_0x564ad6,_0x17abc3);});}}function g(_0x285f16,_0x1db305,..._0x37e1f4){const t=_0x285f16['t'];switch(_0x1db305){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)',..._0x37e1f4);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 _0x1db305;}}class s extends _0x23625b{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'PaginationEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[a,n];}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x11fe6e=this['editor']['plugins']['get']('Pagination'),_0x281610=this['editor']['plugins']['get'](a),_0x155d45=this['editor']['plugins']['get'](n);this['bind']('isEnabled')['to'](_0x11fe6e),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0x155d45),this['listenTo'](_0x281610,'change:pageBreaks',(_0x16e544,_0x5af041,_0xc42ac2,_0x337c84)=>{this['totalPages']=_0xc42ac2['length'],this['_updatePageBreakMarkers'](_0xc42ac2,_0x337c84);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x554e0e=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1991b3;for(const _0x3b696f in _0x554e0e){const _0x438de0=_0x3b696f,_0x3b110d=_0x554e0e[_0x438de0];if('paginationLicenseKeyValid'==_0x3b110d||'paginationLicenseKeyInvalid'==_0x3b110d||'paginationLicenseKeyExpired'==_0x3b110d||'paginationLicenseKeyDomainLimit'==_0x3b110d||'paginationLicenseKeyNotAllowed'==_0x3b110d||'paginationLicenseKeyEvaluationLimit'==_0x3b110d||'paginationLicenseKeyTrialLimit'==_0x3b110d||'paginationLicenseKeyUsageLimit'==_0x3b110d){delete _0x554e0e[_0x438de0],_0x1991b3=_0x3b110d,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0x1991b3&&_0x554e0e['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0x1991b3&&_0x554e0e['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0x1991b3&&_0x554e0e['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0x1991b3&&_0x554e0e['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0x1991b3&&_0x554e0e['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyTrialLimit'==_0x1991b3&&_0x554e0e['_showLicenseError']('trialLimit'),'paginationLicenseKeyUsageLimit'==_0x1991b3&&_0x554e0e['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0x5c32b8){if(!this['isEnabled'])return;this['editor']['plugins']['get'](n)['scrollToPage'](this['_validatePageNumber'](_0x5c32b8));}['moveSelectionToPage'](_0x57ec59){if(!this['isEnabled'])return;const _0x210ff8=this['editor'],_0x2b2814=this['editor']['plugins']['get'](a)['pageBreaks'][_0x57ec59-0x1];_0x2b2814&&_0x210ff8['model']['change'](_0x5af147=>{switch(_0x2b2814['type']){case'manual':{const _0x30fd45=_0x210ff8['model']['schema']['getNearestSelectionRange'](_0x2b2814['modelRange']['end'],'forward');_0x5af147['setSelection'](_0x30fd45);break;}case'element':{const _0x1452e5=_0x210ff8['model']['schema']['getNearestSelectionRange'](_0x2b2814['modelRange']['start'],'forward');_0x5af147['setSelection'](_0x1452e5);break;}case'text':{const _0x47dd5c=_0x2b2814['modelRange']['start'];if(_0x47dd5c['textNode']&&'\x20'===_0x47dd5c['textNode']['data'][_0x47dd5c['offset']]){const _0x3bb387=_0x5af147['createPositionAt'](_0x47dd5c['parent'],_0x47dd5c['offset']+0x1);_0x5af147['setSelection'](_0x3bb387);}else _0x5af147['setSelection'](_0x2b2814['modelRange']);}}_0x210ff8['editing']['view']['focus']();});}['goToNextPage'](){const _0x220d92=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0x220d92),this['scrollToPage'](_0x220d92);}['goToPreviousPage'](){const _0x43f5ec=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0x43f5ec),this['scrollToPage'](_0x43f5ec);}['_updatePageBreakMarkers'](_0x3eb88b,_0x2438ef){const _0x1a8744=this['editor']['model'];this['isEnabled']&&_0x1a8744['change'](_0x538f85=>{for(let _0x5d0ac3=0x1;_0x5d0ac3<_0x3eb88b['length'];_0x5d0ac3++){const _0xaad14e=_0x3eb88b[_0x5d0ac3]['modelRange'],_0x1bd358='pagination:'+(_0x5d0ac3+0x1);_0x1a8744['markers']['has'](_0x1bd358)?_0x538f85['updateMarker'](_0x1bd358,{'range':_0xaad14e}):_0x538f85['addMarker'](_0x1bd358,{'range':_0xaad14e,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0x335ff1=_0x3eb88b['length'];_0x335ff1<_0x2438ef['length'];_0x335ff1++){const _0x27b421='pagination:'+(_0x335ff1+0x1);_0x1a8744['markers']['has'](_0x27b421)&&_0x538f85['removeMarker'](_0x27b421);}});}['_setUpDataDowncastConversion'](){const _0x192605='pagination';this['editor']['conversion']['for']('dataDowncast')['add'](_0x6a019e=>{_0x6a019e['on']('addMarker:'+_0x192605,(_0x1d1070,{markerRange:_0x963c38,markerName:_0x3de035},_0x3f6281)=>{if(!_0x3f6281['options']['pagination'])return;if(!_0x3f6281['consumable']['consume'](_0x963c38,_0x1d1070['name']))return;const _0x347007=_0x963c38['getContainedElement']();let _0x1041ae=_0x347007?_0x3f6281['mapper']['toViewElement'](_0x347007):null;if(!_0x1041ae){const _0x5932b6=_0x963c38['start'];if(_0x3f6281['schema']['checkChild'](_0x5932b6,'$text')){const _0xe21b02=_0x3f6281['mapper']['toViewPosition'](_0x5932b6);_0x1041ae=_0x3f6281['writer']['createContainerElement']('span'),_0x1041ae['getFillerOffset']=()=>null,_0x3f6281['writer']['insert'](_0xe21b02,_0x1041ae);}else{const _0x4a23ae=_0x5932b6['nodeAfter'];_0x1041ae=_0x3f6281['mapper']['toViewElement'](_0x4a23ae);}}for(;_0x1041ae['parent']!==_0x1041ae['root']&&0x0===_0x1041ae['index'];)_0x1041ae=_0x1041ae['parent'];const _0x1cdfc4=_0x3de035['substring'](0xb);_0x1041ae['hasClass']('page-break')||(_0x3f6281['writer']['setStyle']('page-break-before','always',_0x1041ae),_0x3f6281['writer']['setAttribute']('data-pagination-page',_0x1cdfc4,_0x1041ae),_0x3f6281['mapper']['bindElementToMarker'](_0x1041ae,_0x3de035)),_0x1d1070['stop']();});});}['_setupKeystrokes'](){const _0x355217=this['editor'];_0x355217['keystrokes']['set']('Shift+Pageup',(_0x7b038a,_0x127d7e)=>{this['goToPreviousPage'](),_0x127d7e();}),_0x355217['keystrokes']['set']('Shift+Pagedown',(_0x5f31e1,_0x4e9abd)=>{this['goToNextPage'](),_0x4e9abd();}),_0x355217['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':g(_0x355217['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':g(_0x355217['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':g(_0x355217['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}['_validatePageNumber'](_0x28aac4){return _0x28aac4<0x1&&(_0x28aac4=0x1),_0x28aac4>this['totalPages']&&(_0x28aac4=this['totalPages']),_0x28aac4;}}class G extends _0xa13169{['pageNumberView'];constructor(_0x16ed17){super(_0x16ed17);const _0x1b3daf=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new _0x3c75d4(_0x16ed17,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0x2e4e66=>g(_0x16ed17,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0x2e4e66)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0x1f1989=>!_0x1f1989),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0x1b3daf['if']('isEnabled','ck-disabled',_0x555a8e=>!_0x555a8e)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0x1b3daf['to']('totalPages')}]}]});}['render'](){super['render']();const _0x15d41c=this['pageNumberView']['element'],_0x39657e=_0x4fa0d3=>{this['pageNumberView']['element']['value']=String(_0x4fa0d3);};_0x39657e(this['pageNumber']),this['on']('change:pageNumber',(_0x3a4cc8,_0x25bd32,_0x15687c)=>{_0x39657e(_0x15687c);}),this['listenTo'](_0x15d41c,'keydown',(_0x35759b,_0x384089)=>{if('ArrowUp'===_0x384089['key']||'ArrowDown'===_0x384089['key'])return void _0x384089['stopPropagation']();if(_0x384089['keyCode']!==_0x30416c['enter'])return;_0x384089['preventDefault']();const _0xc063b0=_0x15d41c['valueAsNumber'];Number['isNaN'](_0xc063b0)?_0x15d41c['value']=String(this['pageNumber']):(_0x15d41c['checkValidity']()?this['pageNumber']=_0xc063b0:_0xc063b0>this['totalPages']?(this['pageNumber']=this['totalPages'],_0x15d41c['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0x15d41c['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0x15d41c,'blur',()=>{_0x15d41c['value']=String(this['pageNumber']);}),this['listenTo'](_0x15d41c,'focus',()=>{this['pageNumberView']['select']();});}['focus'](){this['element']['firstChild']['focus']();}}class e extends _0x23625b{static get['pluginName'](){return'PaginationUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x586f07=this['editor'],_0x62dd51=_0x586f07['plugins']['get']('PaginationEditing');_0x586f07['ui']['componentFactory']['add']('pageNavigation',_0x7cb4a5=>{const _0x4c3f0c=new G(_0x7cb4a5);return _0x4c3f0c['bind']('pageNumber')['to'](_0x62dd51),_0x4c3f0c['bind']('totalPages')['to'](_0x62dd51),_0x4c3f0c['bind']('isEnabled')['to'](_0x62dd51),_0x4c3f0c['on']('navigation',(_0x202c4d,_0x13181a)=>{_0x62dd51['moveSelectionToPage'](_0x13181a),_0x62dd51['scrollToPage'](_0x13181a);}),_0x4c3f0c;}),_0x586f07['ui']['componentFactory']['add']('nextPage',_0x3fbb0e=>{const _0x5d36ab=new _0x250e2f(_0x3fbb0e);return _0x5d36ab['isEnabled']=!0x0,_0x5d36ab['label']=g(_0x586f07['locale'],'Go\x20to\x20next\x20page'),_0x5d36ab['icon']=_0x5ba245,_0x5d36ab['tooltip']=!0x0,_0x5d36ab['keystroke']='Shift+PageDown',_0x5d36ab['bind']('isEnabled')['to'](_0x62dd51),this['listenTo'](_0x5d36ab,'execute',()=>{_0x62dd51['goToNextPage']();}),_0x5d36ab;}),_0x586f07['ui']['componentFactory']['add']('previousPage',_0x4cb7dd=>{const _0x5bd2f6=new _0x250e2f(_0x4cb7dd);return _0x5bd2f6['isEnabled']=!0x0,_0x5bd2f6['label']=g(_0x586f07['locale'],'Go\x20to\x20previous\x20page'),_0x5bd2f6['icon']=_0x59ed82,_0x5bd2f6['tooltip']=!0x0,_0x5bd2f6['keystroke']='Shift+PageUp',_0x5bd2f6['bind']('isEnabled')['to'](_0x62dd51),this['listenTo'](_0x5bd2f6,'execute',()=>{_0x62dd51['goToPreviousPage']();}),_0x5bd2f6;});}}class T extends _0x23625b{static get['pluginName'](){return'Pagination';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[s,e];}constructor(_0x8cf50b){super(_0x8cf50b),this['isEnabled']=!0x1;}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x273678=this['editor']['plugins']['get'](s);this['bind']('pageNumber')['to'](_0x273678),this['bind']('totalPages')['to'](_0x273678),_0x1969bf['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0x512575){this['editor']['plugins']['get'](s)['scrollToPage'](_0x512575);}}export{T as Pagination,n 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':_0x3dabf7=>0x1!=_0x3dabf7}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1303e7=>{const {af:{dictionary:_0x157048,getPluralForm:_0x4e1bf6}}={'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':_0x7d54ec=>0x1!=_0x7d54ec}};_0x1303e7['af']||={'dictionary':{},'getPluralForm':null},_0x1303e7['af']['dictionary']=Object['assign'](_0x1303e7['af']['dictionary'],_0x157048),_0x1303e7['af']['getPluralForm']=_0x4e1bf6;})(window['CKEDITOR_TRANSLATIONS']||={});
|