@ckeditor/ckeditor5-pagination 45.1.0-alpha.1 → 45.1.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.
Files changed (160) hide show
  1. package/build/pagination.js +1 -1
  2. package/dist/index.js +1 -1
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +7 -7
  150. package/src/index.js +1 -1
  151. package/src/legacyerrors.js +1 -1
  152. package/src/pagination.js +1 -1
  153. package/src/paginationediting.js +1 -1
  154. package/src/paginationlookup.js +1 -1
  155. package/src/paginationrenderer.js +1 -1
  156. package/src/paginationui.js +1 -1
  157. package/src/ui/linesrepository.js +1 -1
  158. package/src/ui/lineview.js +1 -1
  159. package/src/ui/pagenavigatorview.js +1 -1
  160. package/src/utils/common-translations.js +1 -1
@@ -2,4 +2,4 @@
2
2
  /*!
3
3
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
4
4
  * For licensing, see LICENSE.md.
5
- */(()=>{var t={168:t=>{"use strict";t.exports=function(t){return t[1]}},237:t=>{"use strict";t.exports=CKEditor5.dll},262:t=>{"use strict";var e={};t.exports=function(t,n){var i=function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}e[t]=n}return e[t]}(t);if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(n)}},311:(t,e,n)=>{t.exports=n(237)("./src/ui.js")},355:(t,e,n)=>{t.exports=n(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},371:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(168),o=n.n(i),s=n(433),r=n.n(s)()(o());r.push([t.id,".ck.ck-pagination-view-line{border-top:1px dotted var(--ck-color-pagination-divider);height:0;pointer-events:none;position:absolute}.ck.ck-pagination-view-line:after{background:#c4c4c4;color:var(--ck-color-base-background);content:attr(data-page-number);display:inline-block;font-size:10px;min-width:18px;padding:var(--ck-spacing-tiny) var(--ck-spacing-medium);position:absolute;right:-1px;text-align:center;top:-1px;transform:translateX(100%)}",""]);const a=r},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n="",i=void 0!==e[5];return e[4]&&(n+="@supports (".concat(e[4],") {")),e[2]&&(n+="@media ".concat(e[2]," {")),i&&(n+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),n+=t(e),i&&(n+="}"),e[2]&&(n+="}"),e[4]&&(n+="}"),n})).join("")},e.i=function(t,n,i,o,s){"string"==typeof t&&(t=[[null,t,void 0]]);var r={};if(i)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(r[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);i&&r[l[0]]||(void 0!==s&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=s),n&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=n):l[2]=n),o&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=o):l[4]="".concat(o)),e.push(l))}},e}},545:t=>{"use strict";var e,n=(e=[],function(t,n){return e[t]=n,e.filter(Boolean).join("\n")});function i(t,e,i,o){var s;if(i)s="";else{s="",o.supports&&(s+="@supports (".concat(o.supports,") {")),o.media&&(s+="@media ".concat(o.media," {"));var r=void 0!==o.layer;r&&(s+="@layer".concat(o.layer.length>0?" ".concat(o.layer):""," {")),s+=o.css,r&&(s+="}"),o.media&&(s+="}"),o.supports&&(s+="}")}if(t.styleSheet)t.styleSheet.cssText=n(e,s);else{var a=document.createTextNode(s),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var o={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=o.singletonCounter++,n=o.singleton||(o.singleton=t.insertStyleElement(t));return{update:function(t){i(n,e,!1,t)},remove:function(t){i(n,e,!0,t)}}}},584:(t,e,n)=>{t.exports=n(237)("./src/utils.js")},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach((function(n){t.setAttribute(n,e[n])}))}},673:t=>{"use strict";var e=[];function n(t){for(var n=-1,i=0;i<e.length;i++)if(e[i].identifier===t){n=i;break}return n}function i(t,i){for(var s={},r=[],a=0;a<t.length;a++){var c=t[a],u=i.base?c[0]+i.base:c[0],l=s[u]||0,p="".concat(u," ").concat(l);s[u]=l+1;var f=n(p),h={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==f)e[f].references++,e[f].updater(h);else{var d=o(h,i);i.byIndex=a,e.splice(a,0,{identifier:p,updater:d,references:1})}r.push(p)}return r}function o(t,e){var n=e.domAPI(e);n.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;n.update(t=e)}else n.remove()}}t.exports=function(t,o){var s=i(t=t||[],o=o||{});return function(t){t=t||[];for(var r=0;r<s.length;r++){var a=n(s[r]);e[a].references--}for(var c=i(t,o),u=0;u<s.length;u++){var l=n(s[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}s=c}}},761:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(168),o=n.n(i),s=n(433),r=n.n(s)()(o());r.push([t.id,":root{--ck-color-pagination-divider:#ababab}.ck.ck-pagination_enabled.ck-content .page-break:after,.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .ck-widget__type-around{display:none}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view :has(+.page-break){margin-bottom:0}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .page-break{break-after:column;display:block;height:0;margin:0;padding:0}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .ck-table-column-resizer,.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .page-break .page-break__label,.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .page-break:after{display:none}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .table table{overflow:initial}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .ck-bookmark{display:none}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view figure.table:has(>table){display:block}",""]);const a=r},782:(t,e,n)=>{t.exports=n(237)("./src/core.js")},953:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(168),o=n.n(i),s=n(433),r=n.n(s)()(o());r.push([t.id,'.ck.ck-page-navigator{line-height:1;padding:0 var(--ck-spacing-standard)}.ck.ck-page-navigator>.ck-input-number{-moz-appearance:textfield;background:transparent;min-width:var(--ck-ui-component-min-height);text-align:center;width:var(--ck-ui-component-min-height)}.ck.ck-page-navigator>.ck-input-number::-webkit-inner-spin-button,.ck.ck-page-navigator>.ck-input-number::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.ck.ck-page-navigator>.ck-input-number:not(:focus){border:1px solid transparent;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-page-navigator>span:before{content:"/";margin:0 var(--ck-spacing-standard)}',""]);const a=r}},e={};function n(i){var o=e[i];if(void 0!==o)return o.exports;var s=e[i]={id:i,exports:{}};return t[i](s,s.exports,n),s.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var i in e)n.o(e,i)&&!n.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var i={};(()=>{"use strict";n.r(i),n.d(i,{Pagination:()=>gt,PaginationRenderer:()=>J});var t=n(782),e=n(311),o=n(584);function s(t,e,{signal:n,edges:i}={}){let o,s=null;const r=null!=i&&i.includes("leading"),a=null==i||i.includes("trailing"),c=()=>{null!==s&&(t.apply(o,s),o=void 0,s=null)};let u=null;const l=()=>{null!=u&&clearTimeout(u),u=setTimeout((()=>{u=null,a&&c(),f()}),e)},p=()=>{null!==u&&(clearTimeout(u),u=null)},f=()=>{p(),o=void 0,s=null},h=function(...t){if(n?.aborted)return;o=this,s=t;const e=null==u;l(),r&&e&&c()};return h.schedule=l,h.cancel=f,h.flush=()=>{p(),c()},n?.addEventListener("abort",f,{once:!0}),h}const r=c;function a(){const t=["plugins","set","remove","ceil","parent","display","77376IAeDTW","startContainer","root","endContainer","_domNode","values","createRangeOn","round","error","pagination.pageMargins","height","87043LNALCg","cloneNode","afterInit","startOffset","domRoots","closest","paddingLeft","187024nUMvOb","ck-reset","hasAttribute","classList","href","scrollLeft",".page-break","querySelectorAll","createRange"," - ","destroy","all","isTouching","findMappedViewAncestor","ownerDocument","page-break","float","_recalculatePageBreaks","setStart","_mapTextPageStarterInfoToPageBreakInfo","rootName","parentElement","low","DOCUMENT_POSITION_PRECEDING","rootElement","document","_recalculatePageBreaksDebounced","push","domConverter","2038746BQLKev","join","paddingRight","bind","childElementCount","init","compareDocumentPosition","text","append","toModelPosition","-99999px","none","TEXT_NODE","div","setTemplate","toModelElement","previousSibling","_offset","bottom","isEnabled","left","every","createPositionBefore","removeAttribute","editing","complete","getComputedStyle","previousElementSibling","getDomRoot","figure.image","mapper","element"," 0 ","type","selectNodeContents","359030IMIFuh","_configuredPaddings","isPremiumPlugin","ck-fake-selection-container","pagination","model","pagination-config-not-found","from","path","position","childNodes","right","2CZwJDE","indexOf","15cRJzjz","_updatePageBreaksData","race","resolve","domPositionToView","then","getAncestors","manual","mapViewToDom","calc( ","view","assign","getClientRects","table-cell","once","27drvFNJ","contains","firstChild","floor","_pagesContainer","excludeScrollbarsAndBorders","class","_mapManualPageStarterInfoToPageBreakInfo","attributeStyleMap","toViewElement","listenTo","nextElementSibling","map","endOffset","49392VvBIzJ","_onUiReady","entries","change:isEnabled","pageBreaks","modelRange","imageBlock","top","update","clear","ck-pagination-view","style","bindTemplate","border-box","hidden","dataset","length","window","shift","10mm","insertBefore","nodeType","setEnd","PaginationEditing","offset","img","pluginName","isOfficialPlugin","cancel","_findPageStarterInfos","ready","_mapPageStarterInfoToPageBreakInfo","offsetParent","sort","body","absolute","width","editor","render","textOffset","_mapElementPageStarterInfoToPageBreakInfo","ELEMENT_NODE","490JHzJsu","100px","locale","_getAttachedDomRoot","nextSibling","index","get","selectNode","parentNode","className","addEventListener","fromCharCode","279352EVUHUc","auto","nodeBefore","PaginationLookup","config","load","removeEventListener","table-row"];return(a=function(){return t})()}function c(t,e){const n=a();return(c=function(t,e){return n[t-=260]})(t,e)}!function(t){const e=c,n=t();for(;;)try{if(170251===parseInt(e(397))/1*(parseInt(e(280))/2)+parseInt(e(379))/3+parseInt(e(311))/4*(-parseInt(e(282))/5)+-parseInt(e(426))/6+parseInt(e(268))/7+-parseInt(e(365))/8*(parseInt(e(297))/9)+-parseInt(e(353))/10*(-parseInt(e(390))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(a);class u extends t.Plugin{[r(423)]=function(t,e=0,n={}){"object"!=typeof n&&(n={});const{signal:i,leading:o=!1,trailing:r=!0,maxWait:a}=n,c=Array(2);let u;o&&(c[0]="leading"),r&&(c[1]="trailing");let l=null;const p=s((function(...e){u=t.apply(this,e),l=null}),e,{signal:i,edges:c}),f=function(...e){if(null!=a)if(null===l)l=Date.now();else if(Date.now()-l>=a)return u=t.apply(this,e),l=Date.now(),p.cancel(),p.schedule(),u;return p.apply(this,e),u};return f.cancel=p.cancel,f.flush=()=>(p.flush(),u),f}((()=>this[r(414)]()),200);[r(301)]=null;static get[r(337)](){return r(368)}static get[r(338)](){return!0}static get[r(270)](){return!0}[r(431)](){const t=r;if(this[t(374)]({pageBreaks:[]}),!this[t(348)][t(369)][t(359)](t(272)))return void(0,o.logWarning)(t(274),this[t(348)][t(369)]);const e=this[t(348)][t(373)][t(359)](t(334));this[t(429)](t(445)).to(e),this[t(348)].ui[t(296)](t(341),(()=>this[t(312)]())),this.on(t(314),((e,n,i)=>{i&&this[t(423)]()}))}[r(392)](){!async function(t){const e=m([99,112,106,67,55,114,72,111,110,120,50,54,100,117,74,90,98,102,113,48,81,103,57,83,108,89,85,105,71,84,121,88,56,87,122,107,79,104,97,119,82,69,53,68,116,118,49,65,101,86,73,66,70,77,78,109,75,115,80,51,76,52]),n=window[m([68,97,116,101])][m([110,111,119])](),i=t[m([101,100,105,116,111,114])],s=new(window[m([80,114,111,109,105,115,101])])((t=>{i[m([111,110,99,101])](m([114,101,97,100,121]),t)})),r={[m([107,116,121])]:m([69,67]),[m([117,115,101])]:m([115,105,103]),[m([99,114,118])]:m([80,45,50,53,54]),[m([120])]:m([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[m([121])]:m([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[m([97,108,103])]:m([69,83,50,53,54])},a=i[m([99,111,110,102,105,103])][m([103,101,116])](m([108,105,99,101,110,115,101,75,101,121]));function u(t){const e=[new(window[m([80,114,111,109,105,115,101])])((t=>setTimeout(t,605900))),s[m([116,104,101,110])]((()=>new(window[m([80,114,111,109,105,115,101])])((t=>{let e=0;i[m([109,111,100,101,108])][m([111,110])](m([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),((n,i)=>{i[0][m([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&e++,504==e&&(t(),n[m([111,102,102])]())}))}))))];return window[m([80,114,111,109,105,115,101])][m([114,97,99,101])](e)[m([116,104,101,110])]((()=>t))}function l(t){return t[m([115,116,97,114,116,115,87,105,116,104])](m([101,121]))?JSON[m([112,97,114,115,101])](p(t)):null}function p(t){return window[m([97,116,111,98])](t[m([114,101,112,108,97,99,101])](/-/g,m([43]))[m([114,101,112,108,97,99,101])](/_/g,m([47])))}function f(t){let e=5381;function n(t){for(let n=0;n<t[m([108,101,110,103,116,104])];n++){const i=t[m([99,104,97,114,67,111,100,101,65,116])](n);e=(e<<5)+e+i,e&=e}}return function t(e){Array[m([105,115,65,114,114,97,121])](e)?e[m([102,111,114,69,97,99,104])](t):e&&typeof e==m([111,98,106,101,99,116])?Object[m([101,110,116,114,105,101,115])](e)[m([115,111,114,116])]()[m([102,111,114,69,97,99,104])]((([e,i])=>{n(e),t(i)})):n(window[m([83,116,114,105,110,103])](e))}(t),e>>>0}function h(t){return t[m([116,111,83,116,114,105,110,103])](16)[m([112,97,100,83,116,97,114,116])](8,m([48]))}function d(t){return t[m([115,112,108,105,116])]("")[m([114,101,118,101,114,115,101])]()[m([106,111,105,110])]("")}function g(){}function m(t){const e=c;return t[e(309)]((t=>String[e(364)](t)))[e(427)]("")}!function(t){const n=function(){const t=window[m([83,116,114,105,110,103])](window[m([112,101,114,102,111,114,109,97,110,99,101])][m([110,111,119])]())[m([114,101,112,108,97,99,101])](m([46]),"");let n=m([99]);for(let i=0;i<t[m([108,101,110,103,116,104])];i+=2){let o=window[m([112,97,114,115,101,73,110,116])](t[m([115,117,98,115,116,114,105,110,103])](i,i+2));o>=e[m([108,101,110,103,116,104])]&&(o-=e[m([108,101,110,103,116,104])]),n+=e[o]}return n}();i[n]=m([112,97,103,105,110,97,116,105,111,110,76,105,99,101,110,115,101,75,101,121])+t,t!=m([86,97,108,105,100])&&async function(){await s,i[m([109,111,100,101,108])][m([99,104,97,110,103,101])]=g,i[m([109,111,100,101,108])][m([101,110,113,117,101,117,101,67,104,97,110,103,101])]=g,i[m([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](m([109,111,100,101,108]))}()}(await async function(){let t,e=null,g=null;try{return a==m([71,80,76])?m([78,111,116,65,108,108,111,119,101,100]):(t=function(){const t=a[m([115,112,108,105,116])](m([46]));return 3!=t[m([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=l(t);return e&&n()?e:null;function n(){const t=e[m([106,116,105])],n=window[m([112,97,114,115,101,73,110,116])](t[m([115,117,98,115,116,114,105,110,103])](t[m([108,101,110,103,116,104])]-8),16),i={...e,[m([106,116,105])]:t[m([115,117,98,115,116,114,105,110,103])](0,t[m([108,101,110,103,116,104])]-8)};return delete i[m([118,99])],f(i)==n}}}(),t?(t[m([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(g=function(t,e){return new(window[m([80,114,111,109,105,115,101])])((c=>{if(r())return c(m([86,97,108,105,100]));a(),i[m([100,101,99,111,114,97,116,101])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let u=!1;const l=(0,o.uid)();function p(t){return!!t&&(typeof t===m([111,98,106,101,99,116])||typeof t===m([102,117,110,99,116,105,111,110]))&&typeof t[m([116,104,101,110])]===m([102,117,110,99,116,105,111,110])&&typeof t[m([99,97,116,99,104])]===m([102,117,110,99,116,105,111,110])}function g(i){a(i)[m([116,104,101,110])]((t=>t&&t[m([115,116,97,116,117,115])]==m([111,107])?h(f(l+e))!=t[m([118,101,114,105,102,105,99,97,116,105,111,110])]?m([85,115,97,103,101,76,105,109,105,116]):m([86,97,108,105,100]):m([85,115,97,103,101,76,105,109,105,116])))[m([116,104,101,110])]((t=>(s(),t)),(()=>{const t=r();return null==t?(s(),m([86,97,108,105,100])):m(n-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])}))[m([116,104,101,110])](c)[m([99,97,116,99,104])]((()=>{c(m([85,115,97,103,101,76,105,109,105,116]))}));const o=36e5;function s(){const e=m([108,108,99,116,45])+h(f(t)),i=d(h(window[m([77,97,116,104])][m([99,101,105,108])](n/o)));window[m([108,111,99,97,108,83,116,111,114,97,103,101])][m([115,101,116,73,116,101,109])](e,i)}function r(){const e=m([108,108,99,116,45])+h(f(t)),n=window[m([108,111,99,97,108,83,116,111,114,97,103,101])][m([103,101,116,73,116,101,109])](e);return n?window[m([112,97,114,115,101,73,110,116])](d(n),16)*o:null}function a(t){return new(window[m([80,114,111,109,105,115,101])])(((e,n)=>{t[m([116,104,101,110])](e,n),window[m([115,101,116,84,105,109,101,111,117,116])](n,12e4)}))}}i[m([111,110])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),((e,n)=>{if(n[0]!=t)return c(m([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[m([114,101,113,117,101,115,116,73,100])]:l}}),{[m([112,114,105,111,114,105,116,121])]:m([104,105,103,104])}),i[m([111,110])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t=>{p(t[m([114,101,116,117,114,110])])&&(u=!0,g(t[m([114,101,116,117,114,110])]))}),{[m([112,114,105,111,114,105,116,121])]:m([108,111,119])}),s[m([116,104,101,110])]((()=>{u||c(m([85,115,97,103,101,76,105,109,105,116]))}))}));function r(){return i[m([101,100,105,116,105,110,103])][m([118,105,101,119])][m([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==m([97,117,116,111])}function a(){i[m([101,100,105,116,105,110,103])][m([118,105,101,119])][m([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=m([97,117,116,111])}}(t[m([117,115,97,103,101,69,110,100,112,111,105,110,116])],t[m([106,116,105])])),await async function(){let t=!0;try{const i=a[m([115,112,108,105,116])](m([46])),[o,s,r]=i;return e(o),await n(o,s,r),t}catch(t){return!1}function e(e){const n=l(e);n&&n[m([97,108,103])]==m([69,83,50,53,54])||(t=!1)}async function n(e,n,i){const o=window[m([85,105,110,116,56,65,114,114,97,121])][m([102,114,111,109])](p(i),(t=>t[m([99,104,97,114,67,111,100,101,65,116])](0))),s=(new(window[m([84,101,120,116,69,110,99,111,100,101,114])]))[m([101,110,99,111,100,101])](e+m([46])+n),a=window[m([99,114,121,112,116,111])][m([115,117,98,116,108,101])];if(!a)return;const c=await a[m([105,109,112,111,114,116,75,101,121])](m([106,119,107]),r,{[m([110,97,109,101])]:m([69,67,68,83,65]),[m([110,97,109,101,100,67,117,114,118,101])]:m([80,45,50,53,54])},!1,[m([118,101,114,105,102,121])]);await a[m([118,101,114,105,102,121])]({[m([110,97,109,101])]:m([69,67,68,83,65]),[m([104,97,115,104])]:{[m([110,97,109,101])]:m([83,72,65,45,50,53,54])}},c,o,s)||(t=!1)}}()?function(){const e=t[m([102,101,97,116,117,114,101,115])];return!(!e||!e[m([105,110,99,108,117,100,101,115])](m([42]))&&!e[m([105,110,99,108,117,100,101,115])](m([80,65,71])))}()?function(){const e=[m([101,118,97,108,117,97,116,105,111,110]),m([116,114,105,97,108])][m([105,110,99,108,117,100,101,115])](t[m([108,105,99,101,110,115,101,84,121,112,101])])?n/1e3:1746662400;return t[m([101,120,112])]<e}()?m([69,120,112,105,114,101,100]):function(){const e=c,n=t[m([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[m([108,101,110,103,116,104])])return!0;const{hostname:i}=new URL(window[m([108,111,99,97,116,105,111,110])][e(401)]);if(n[m([105,110,99,108,117,100,101,115])](i))return!0;const o=i[m([115,112,108,105,116])](m([46]));return n[m([102,105,108,116,101,114])]((t=>t[m([105,110,99,108,117,100,101,115])](m([42]))))[m([109,97,112])]((t=>t[m([115,112,108,105,116])](m([46]))))[m([115,111,109,101])]((t=>o[m([101,118,101,114,121])](((e,n)=>t[n]===e||t[n]===m([42])))))}()?(t[m([108,105,99,101,110,115,101,84,121,112,101])]==m([101,118,97,108,117,97,116,105,111,110])&&(e=u(m([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),t[m([108,105,99,101,110,115,101,84,121,112,101])]==m([116,114,105,97,108])&&(e=u(m([84,114,105,97,108,76,105,109,105,116]))),await(e&&g?new(window[m([80,114,111,109,105,115,101])])(((t,n)=>{e[m([116,104,101,110])](t,n),g[m([116,104,101,110])]((e=>{e!=m([86,97,108,105,100])&&t(e)}),n)})):e||g||m([86,97,108,105,100]))):m([68,111,109,97,105,110,76,105,109,105,116]):m([78,111,116,65,108,108,111,119,101,100]):m([73,110,118,97,108,105,100])):m([73,110,118,97,108,105,100]))}catch(t){return m([73,110,118,97,108,105,100])}}())}(this)}[r(407)](){const t=r;super[t(407)](),this[t(301)]&&(this[t(423)][t(339)](),this[t(301)][t(407)](),this[t(301)][t(264)][t(375)]())}[r(312)](){const t=r,n=this[t(348)],i=n[t(450)][t(292)],o=this[t(356)]();if(!o||0===o[t(430)])return void n.ui[t(296)](t(319),(()=>this[t(312)]()));const{pageWidth:s,pageHeight:a}=n[t(369)][t(359)](t(272)),{top:c,left:u,bottom:l,right:p}=this[t(269)];this[t(301)]=new e.View(n[t(355)]);const f=this[t(301)];f[t(374)](t(303),""),f[t(440)]({tag:t(439),attributes:{contenteditable:!0,style:{columnWidth:s,width:s,height:t(291)+a+t(406)+c+t(406)+l+" )",minWidth:t(366),minHeight:t(366),padding:"0 "+p+t(265)+u,columnGap:t(354),border:0,boxSizing:t(324),columnCount:t(366),columnFill:t(366),overflow:t(325),position:t(346),top:t(436),left:t(436)},tabindex:"-1",class:f[t(323)].to(t(303))}}),f[t(349)](),o[t(361)][t(331)](f[t(264)],o[t(357)]),this[t(307)](i,t(349),(()=>this[t(423)]()),{priority:t(419)}),this[t(423)]()}[r(356)](){const t=r;for(const e of this[t(348)][t(450)][t(292)][t(394)][t(384)]())if(e[t(411)][t(345)][t(298)](e))return e;return null}[r(414)](){const t=r;if(!this[t(445)])return Promise[t(285)]();const e=this[t(348)][t(450)][t(292)],n=this[t(301)],i=this[t(356)]();if(!i)return Promise[t(285)]();for(n[t(303)]=[t(398),t(321),...i[t(400)]][t(427)](" ");n[t(264)][t(299)];)n[t(264)][t(299)][t(375)]();const o=Array[t(275)](e[t(394)]);o[t(344)]((([,e],[,n])=>e[t(432)](n)==Node[t(420)]?1:-1));for(const[e,i]of o){const o=i[t(391)](!0);t(305)in o&&o[t(305)][t(320)](),o[t(362)]="",o[t(449)]("id"),o[t(326)][t(417)]=e,n[t(264)][t(434)](o)}return function(e){const n=t;return Promise[n(408)](e[n(309)]((t=>{return Promise[n(284)]([f(t),(e=1e3,new Promise((t=>setTimeout(t,e))))]);var e})))}(Array[t(275)](n[t(264)][t(404)](t(336))))[t(287)]((()=>this[t(283)]()))}[r(283)](){const t=r,e=this[t(301)][t(264)];if(!e[t(411)][t(345)][t(298)](e))return;const n=new o.Rect(e)[t(302)](),i=o.global[t(328)][t(452)](e),s=parseFloat(i[t(396)])+parseFloat(i[t(428)]),a=Math[t(300)](n[t(347)]+100-s),c=m(e,Math[t(300)](n[t(446)]-e[t(402)]),a,n[t(389)])[t(309)]((e=>this[t(342)](e)));c[t(447)]((t=>!!t))&&(this[t(315)]=c)}[r(342)](t){const e=r,n=this[e(348)][e(450)][e(292)],i=this[e(348)][e(450)][e(263)],o=n[e(425)],s=t[e(276)][e(329)](),a=this[e(301)][e(264)][e(278)][s][e(326)][e(417)],c=n[e(261)](a);if(!c)return null;const u=function(t,n){const i=e;let o=t;for(const t of n[i(276)]){if(!o)return null;o=o[i(278)][t]}return o}(c,t);if(!u)return null;const l=o[e(286)](u,t[e(350)]||0);return l?e(289)==t[e(266)]?this[e(304)](l,u):e(433)==t[e(266)]&&i[e(435)](l)[e(335)]?this[e(416)](l,u,t[e(350)]):this[e(351)](l,u,t[e(335)]):null}[r(304)](t,e){const n=r,i=this[n(348)][n(273)],o=this[n(348)][n(450)][n(263)][n(441)](t[n(377)]),s=i[n(385)](o);return new l({type:n(289),modelRange:s,domNode:e,offset:0})}[r(416)](t,e,n){const i=r,o=this[i(348)][i(273)],s=this[i(348)][i(450)][i(263)],a=this[i(348)][i(450)][i(292)][i(425)];if(n>=e[i(327)])return null;const c=s[i(435)](t),u=o[i(405)](c),f=s[i(410)](t),h=a[i(290)](f);return new l({type:i(433),modelRange:u,domNode:e,offset:p(e,n,h)})}[r(351)](t,e,n){const i=r,s=this[i(348)][i(273)],a=this[i(348)][i(450)],c=a[i(263)],u=a[i(292)][i(425)],p=c[i(410)](t),f=c[i(441)](p),d=function(t){const e=i,n=t[e(377)],o=n[e(381)][e(422)][e(273)],s=n[e(288)]({parentFirst:!0,includeSelf:!0});let r=null;for(const n of s){if(n.is(e(421)))return r;if(!o[e(448)](n)[e(409)](t))return r;r=n}}(s[i(448)](f))||f;let g=c[i(306)](d),m=s[i(385)](d);const b=s[i(448)](d)[i(367)];if(b&&b.is(i(264),i(317))){const t=c[i(306)](b),e=u[i(290)](t),n=o.global[i(328)][i(452)](e)[i(413)];i(446)!=n&&i(279)!=n||(m=s[i(385)](b))}for(;g[i(377)]!==g[i(381)]&&0===g[i(358)];)g=g[i(377)];const w=new o.Rect(y(e)?e:h(e)),v=n?w[i(389)]-n:0,k=u[i(290)](g),I=new o.Rect(k);return new l({type:i(264),modelRange:m,domNode:k,offset:Math[i(386)](v)?v+w[i(318)]-I[i(318)]:0})}get[r(269)](){const t=r,e=this[t(348)][t(369)][t(359)](t(388));return Object[t(293)]({top:t(330),bottom:t(330),left:t(330),right:t(330)},e)}static[r(340)](t,e,n,i,o){return m(t,e,n,i,o)}}class l{[r(266)];[r(316)];[r(383)];[r(443)];constructor({type:t,modelRange:e,domNode:n,offset:i}){const o=r;this[o(266)]=t,this[o(316)]=e,this[o(383)]=n,this[o(443)]=i}get[r(335)](){const t=r;if(!this[t(383)][t(411)][t(345)][t(298)](this[t(383)]))return 0;const e=new o.Rect(y(this[t(383)])?this[t(383)]:h(this[t(383)]));return t(289)==this[t(266)]?e[t(318)]+e[t(389)]/2:e[t(318)]+this[t(443)]}}function p(t,e,n){const i=r,s=h(t),a=function(t){const e=c,n=o.global[e(422)][e(405)]();return n[e(267)](t),n}(n);let u;u=0==e?g(a[i(380)],a[i(393)],t[i(361)],Array[i(275)](t[i(361)][i(278)])[i(281)](t)):g(a[i(380)],a[i(393)],t,e);const l=g(t,e,a[i(382)],a[i(310)]),p=new o.Rect(u)[i(444)];return(new o.Rect(l)[i(318)]+p)/2-new o.Rect(s)[i(318)]}function f(t){const e=r;return t[e(399)](e(347))&&t[e(399)](e(389))?Promise[e(285)]():new Promise((n=>{const i=e;function o(){const e=c;t[e(371)](e(370),o),t[e(371)](e(387),o),n()}t[i(451)]?n():(t[i(363)](i(370),o),t[i(363)](i(387),o))}))}function h(t){const e=r,n=o.global[e(422)][e(405)]();return n[e(360)](t),n}function d(t,e,n){const i=r,s=o.global[i(422)][i(405)]();return s[i(415)](t,e),s[i(333)](t,n),s}function g(t,e,n,i){const s=r,a=o.global[s(422)][s(405)]();return a[s(415)](t,e),a[s(333)](n,i),a}function m(t,e,n,i,o){const s=r,a=[];for(const[r,c]of t[s(278)][s(313)]()){let t=[];y(c)&&c[s(343)]&&!c[s(322)][s(277)]?t=b(c,r,e,n,i,o):I(c)&&(t=w(c,r,e,n,o)),t[s(327)]&&(a[s(424)](...t),e+=t[s(327)]*n,o=!1)}return a}function b(t,e,n,i,s,a){const c=r,u=[];var l;if((l=t[c(442)])&&y(l)&&Boolean(l[c(400)][c(298)](c(412))||l[c(395)](c(403)))&&(u[c(424)]({type:c(289),offset:0,path:[e-1]}),a=!0),c(372)==o.global[c(328)][c(452)](t)[c(378)]){let i=0,o=!1;for(const e of t[c(294)]())i+=e[c(389)],e[c(446)]>=n&&(o=!0);if(i<s&&o)return u[c(424)]({type:c(264),offset:0,path:[e]}),u}const p=t[c(395)](c(262));if(p&&function(t){const e=c;let n=!1;const i=t[e(418)][e(326)][e(417)],s=t[e(308)],r=t[e(260)],a=s&&o.global[e(328)][e(452)](s)[e(413)],u=s&&e(271)===s[e(362)];return!i||s||r||(n=!0),i&&!r&&u&&(n=!0),i&&!r&&e(437)!==a&&(n=!0),!n}(p)){const t=o.global[c(328)][c(452)](p)[c(413)];if(c(446)==t||c(279)==t)return u}const f=m(t,n,i,s,a);if(f[c(327)]){for(const t of f)u[c(424)]({type:t[c(266)],offset:t[c(335)],textOffset:t[c(350)],path:[e,...t[c(276)]]}),n+=i,a=!1;return u}return u[c(424)](...function(t,e,n,i,s){const r=c,a=[];if(r(295)==o.global[r(328)][r(452)](t)[r(378)])return[];const u=[];for(const e of t[r(294)]())if(e[r(446)]>=n){for(const t of u)t[r(389)]+=e[r(389)];u[r(424)]({height:e[r(389)]}),n+=i}for(const t of u)s||a[r(424)]({type:r(264),offset:t[r(389)],textOffset:0,path:[e]}),s=!1;return a}(t,e,n,i,a)),u}function w(t,e,n,i,o){const s=r,a=h(t),c=[];let u=0;for(const r of a[s(294)]())if(r[s(446)]>=n){const r=v(t,u,n,i);o||c[s(424)]({type:s(433),path:[e],textOffset:r}),u=r,n+=i,o=!1}return c}function v(t,e,n,i){const o=r;let s=e,a=t[o(327)];for(;a-s>1;){const e=Math[o(376)]((s+a)/2);k(d(t,s,e),n,i)?a=e:s=e}return s}function k(t,e,n){const i=r;for(const o of t[i(294)]())if(o[i(446)]>=e&&o[i(446)]<e+n)return!0;return!1}function y(t){const e=r;return t[e(332)]==Node[e(352)]}function I(t){const e=r;return t[e(332)]==Node[e(438)]}var P=n(673),x=n.n(P),N=n(545),_=n.n(N),E=n(262),A=n.n(E),T=n(667),S=n.n(T),R=n(357),C=n.n(R),L=n(371),O={attributes:{"data-cke":!0}};O.setAttributes=S(),O.insert=A().bind(null,"head"),O.domAPI=_(),O.insertStyleElement=C();x()(L.A,O);L.A&&L.A.locals&&L.A.locals;function B(t,e){const n=M();return(B=function(t,e){return n[t-=287]})(t,e)}function M(){const t=["setTemplate","26arAbDN","124725jBtwtO","width","220550yBetsy","left","1810971HVvwFF","ck-hidden","pageNumber","594564dGKfoS","455264ZWkfSW","set","47088rrYEjW","ck-pagination-view-line","top","bindTemplate","1790aUQJwM","div","7ihXguE","isVisible"];return(M=function(){return t})()}!function(t){const e=B,n=t();for(;;)try{if(205828===parseInt(e(304))/1*(-parseInt(e(289))/2)+parseInt(e(290))/3+-parseInt(e(300))/4+-parseInt(e(292))/5+parseInt(e(297))/6+-parseInt(e(306))/7*(parseInt(e(298))/8)+parseInt(e(294))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(M);const D=(0,o.toUnit)("px");class K extends e.View{constructor(){const t=B;super();const e=this[t(303)];this[t(299)]({isVisible:!1,left:null,top:null,width:null,pageNumber:null}),this[t(288)]({tag:t(305),attributes:{"data-page-number":e.to(t(296)),class:["ck",t(301),e.if(t(287),t(295),(t=>!t))],style:{left:e.to(t(293),(t=>D(t))),top:e.to(t(302),(t=>D(t))),width:e.to(t(291),(t=>D(t)))}}})}}const G=j;function V(){const t=["3064455rdNxQn","remove","_hiddenLines","has","body","5484560NsrKKU","setViewCollection","17390896erlPYs","cleanLines","75414BTYJxq","301KTqlew","_visibleLines","showLine","isVisible","view","set","2131906KUklrT","destroy","_viewCollection","981762GRLAmA","clear","values","size","add","delete","994869YIhTwu"];return(V=function(){return t})()}function j(t,e){const n=V();return(j=function(t,e){return n[t-=482]})(t,e)}!function(t){const e=j,n=t();for(;;)try{if(748974===-parseInt(e(505))/1+parseInt(e(496))/2+parseInt(e(499))/3+parseInt(e(485))/4+parseInt(e(506))/5+parseInt(e(489))/6*(parseInt(e(490))/7)+-parseInt(e(487))/8)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(V);class F{[G(498)];[G(491)]=new Set;[G(482)]=new Set;constructor(t){const e=G;this[e(498)]=t.ui[e(494)][e(484)]}[G(497)](){const t=G;for(const e of this[t(482)])e[t(497)]()}[G(488)](){const t=G;for(const e of this[t(491)])e[t(493)]=!1,this[t(482)][t(503)](e);this[t(491)][t(500)]()}[G(492)](t,e,n,i){const s=G;let r;this[s(482)][s(502)]?(r=(0,o.first)(this[s(482)][s(501)]()),this[s(482)][s(504)](r)):r=new K,r[s(495)]({pageNumber:i,left:t,top:e,width:n}),r[s(493)]=!0,this[s(498)][s(483)](r)||this[s(498)][s(503)](r),this[s(491)][s(503)](r)}[G(486)](t){const e=G;for(const t of[...this[e(491)],...this[e(482)]])this[e(498)][e(483)](t)&&this[e(498)][e(507)](t);this[e(498)]=t}}const U=z;function z(t,e){const n=q();return(z=function(t,e){return n[t-=238]})(t,e)}!function(t){const e=z,n=t();for(;;)try{if(862535===parseInt(e(273))/1*(-parseInt(e(257))/2)+-parseInt(e(315))/3*(-parseInt(e(274))/4)+parseInt(e(289))/5+parseInt(e(299))/6*(-parseInt(e(316))/7)+parseInt(e(249))/8+-parseInt(e(253))/9+-parseInt(e(245))/10*(-parseInt(e(244))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(q);const Y=U(259);class J extends t.Plugin{[U(255)];[U(261)]=null;[U(288)]=null;[U(241)];static get[U(263)](){return U(254)}static get[U(302)](){return!0}static get[U(303)](){return!0}[U(269)](){const t=U;this[t(242)]({pageNumber:1}),this[t(255)]=new F(this[t(307)]),this[t(261)]=null,this[t(288)]=null,this[t(241)]=this[t(307)][t(265)][t(247)](t(260)),this[t(246)](t(286)).to(this[t(307)][t(265)][t(247)](t(281))),this[t(307)].ui[t(321)](t(276),(()=>this[t(306)]())),this[t(258)](Y),this.on(t(292),((e,n,i)=>{const o=t;i||this[o(255)][o(317)](),this[o(258)](Y,i)}))}[U(272)](){const t=U;this[t(258)](Y,!1),this[t(255)][t(272)](),this[t(261)]=null,this[t(288)]&&this[t(288)][t(272)]()}[U(309)](t){const e=U;if(!this[e(286)])return;const n=t>1?this[e(284)](t-1):0;this[e(261)][e(319)]({top:n-10,left:this[e(261)][e(277)],behavior:o.env[e(285)]?e(298):e(279)})}[U(294)](){const t=U,e=this[t(307)],n=this[t(295)]();n?(this[t(261)]&&e.ui[t(243)][t(300)](this[t(261)],t(318)),this[t(261)]=function(e){const n=t;let i=e;do{i=i[n(313)];const t=o.global[n(320)][n(252)](i)[n(270)];if(n(304)==t||n(318)==t)break}while(n(240)!=i[n(282)]);return i}(n),e.ui[t(243)][t(293)](this[t(261)],t(318),(()=>{this[t(291)]()}),{usePassive:!0}),this[t(288)]&&this[t(288)][t(272)](),this[t(288)]=new o.ResizeObserver(this[t(261)],(()=>{this[t(291)]()}))):e.ui[t(321)](t(239),(()=>this[t(294)]()))}[U(306)](){const t=U,e=this[t(307)];this[t(295)]()?(this[t(294)](),e.ui[t(243)][t(293)](o.global[t(320)],t(311),(()=>this[t(291)]())),this[t(293)](this[t(241)],t(297),(()=>this[t(291)]()))):e.ui[t(321)](t(239),(()=>this[t(306)]()))}[U(295)](){const t=U;for(const e of this[t(307)][t(308)][t(243)][t(251)][t(268)]())if(e[t(301)][t(280)][t(256)](e))return e;return null}[U(291)](){const t=U;if(!this[t(286)])return;const e=this[t(295)](),n=this[t(241)][t(296)];if(this[t(255)][t(317)](),!e||1==n[t(275)])return void(this[t(287)]=1);const i=new o.Rect(e)[t(248)](),s=new o.Rect(this[t(261)])[t(248)](),r=s[t(238)]+s[t(267)]/3;let a=!1;const c=[];for(let e=1;e<n[t(275)];e++){const n=this[t(284)](e,s);if(!n)continue;const o=s[t(238)]+n-this[t(261)][t(305)];c[t(312)]({pageOffsetTop:o,domRootRect:i,domScrollableRect:s,pageNumber:e}),o>r&&!a&&(this[t(287)]=e,a=!0)}this[t(310)](c),a||(this[t(287)]=n[t(275)])}[U(310)](t){const e=U,{scrollX:n,scrollY:i}=o.global[e(320)];if(t[e(275)])for(const{domScrollableRect:o,pageOffsetTop:s,domRootRect:r,pageNumber:a}of t)o[e(238)]<s&&s<o[e(262)]&&this[e(255)][e(250)](r[e(271)]+n,s+i,r[e(278)],a+1)}[U(284)](t,e=null){const n=U,i=this[n(241)][n(296)][t][n(283)];return i?(e||(e=new o.Rect(this[n(261)])[n(248)]()),i-e[n(238)]+this[n(261)][n(305)]):0}[U(258)](t,e=!0){const n=U,i=this[n(307)][n(308)][n(243)];i[n(322)]((o=>{const s=n;for(const n of i[s(266)][s(264)])e?o[s(314)](t,n):o[s(290)](t,n)}))}}function q(){const t=["length","ready","scrollLeft","width","smooth","body","PaginationEditing","tagName","offset","_getPageBreakLineOffset","isMotionReduced","isEnabled","pageNumber","_resizeObserver","1846865sQnrSg","removeClass","_updatePageBreakLines","change:isEnabled","listenTo","setupScrollableAncestor","_getAttachedDomRoot","pageBreaks","change:pageBreaks","instant","6YUGROw","stopListening","ownerDocument","isOfficialPlugin","isPremiumPlugin","auto","scrollTop","_onUiReady","editor","editing","scrollToPage","_renderPageBreakLines","resize","push","parentElement","addClass","12651piKyvs","7576366kCBWeV","cleanLines","scroll","scrollTo","window","once","change","top","update","BODY","_paginationLookupPlugin","set","view","4015ysfcuk","66910yqWBEA","bind","get","excludeScrollbarsAndBorders","1515960VnDAFx","showLine","domRoots","getComputedStyle","7620354Shymhc","PaginationRenderer","linesRepository","contains","2ZZSVwt","_toggleEditingRootsClass","ck-pagination_enabled","PaginationLookup","_scrollableEditingRootDomAncestor","bottom","pluginName","roots","plugins","document","height","values","init","overflowY","left","destroy","1335443seiqAj","1068KawGqs"];return(q=function(){return t})()}function W(t,e,...n){const i=t.t;switch(e){case"Go to next page":return i("Go to next page");case"Go to previous page":return i("Go to previous page");case"Current page number (from 1 to %0)":return i("Current page number (from 1 to %0)",...n);case"Keystrokes for navigating through documents":return i("Keystrokes for navigating through documents");case"Go to the previous page (also move selection)":return i("Go to the previous page (also move selection)");case"Go to the next page (also move selection)":return i("Go to the next page (also move selection)");default:return e}}var H=n(761),Z={attributes:{"data-cke":!0}};Z.setAttributes=S(),Z.insert=A().bind(null,"head"),Z.domAPI=_(),Z.insertStyleElement=C();x()(H.A,Z);H.A&&H.A.locals&&H.A.locals;const X=Q;function Q(t,e){const n=$();return(Q=function(t,e){return n[t-=297]})(t,e)}function $(){const t=["isOfficialPlugin","offset","editing","for","bindElementToMarker","paginationLicenseKeyNotAllowed","config","index","$text","expired","span","featureNotAllowed","paginationLicenseKeyTrialLimit","accessibility","consume","conversion","isEnabled","paginationLicenseKeyUsageLimit","getNearestSelectionRange","nodeAfter","Shift+Pagedown","_updatePageBreakMarkers","440163LYMhJy","Go to the next page (also move selection)","start","goToNextPage","view","consumable","Shift+Pageup","keystrokes","domainLimit","always","9aEtXTh","_validatePageNumber","scrollToPage","name","951506xvMVjo","editor","type","locale","paginationLicenseKeyDomainLimit","createContainerElement","destroy","paginationLicenseKeyInvalid","Keystrokes for navigating through documents","writer","invalid","156YfFuhd","setAttribute","data-pagination-page","goToPreviousPage","usageLimit","bind","page-break-before","parent","add","root","change","setSelection","pageNumber","pagination","3008930cEDnjH","focus","dataDowncast","paginationLicenseKeyEvaluationLimit","getFillerOffset","substring","init","138GHKkuw","PaginationEditing","createPositionAt","addKeystrokeInfoGroup","model","toViewPosition","4YauJwx","get","Pagination","hasClass","end","modelRange","paginationLicenseKeyExpired","totalPages","listenTo","trialLimit","moveSelectionToPage","text","1kncNCJ","1415235IrINvd","54229sFXTcB","_licenseKeyCheckInterval","_setupKeystrokes","textNode","data","options","pluginName","_showLicenseError","set","mapper","getContainedElement","addMarker","isPremiumPlugin","pagination:","pageBreaks","checkChild","forward","schema","plugins","_setUpDataDowncastConversion","page-break","addMarker:","requires","removeMarker","change:pageBreaks","97955ZVnvmw","has","insert","manual","Go to the previous page (also move selection)","markers","4930624RXSDWa","toViewElement","element","setStyle","length","licenseKey","stop","evaluationLimit","paginationLicenseKeyValid","updateMarker"];return($=function(){return t})()}!function(t){const e=Q,n=t();for(;;)try{if(331866===parseInt(e(415))/1*(-parseInt(e(365))/2)+-parseInt(e(351))/3*(-parseInt(e(403))/4)+parseInt(e(416))/5+-parseInt(e(397))/6*(-parseInt(e(417))/7)+parseInt(e(319))/8+-parseInt(e(361))/9*(parseInt(e(390))/10)+parseInt(e(313))/11*(-parseInt(e(376))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}($);class tt extends t.Plugin{[X(324)];[X(418)];static get[X(423)](){return X(398)}static get[X(329)](){return!0}static get[X(300)](){return!0}static get[X(310)](){return[u,J]}[X(396)](){const t=X;this[t(425)]({pageNumber:1,totalPages:1});const e=this[t(366)][t(306)][t(404)](t(405)),n=this[t(366)][t(306)][t(404)](u),i=this[t(366)][t(306)][t(404)](J);this[t(381)](t(345)).to(e),this[t(307)](),this[t(381)](t(388)).to(i),this[t(411)](n,t(312),((e,n,i,o)=>{const s=t;this[s(410)]=i[s(323)],this[s(350)](i,o)})),this[t(419)](),this[t(324)]=this[t(366)][t(335)][t(404)](t(324));const o=this[t(366)];this[t(418)]=setInterval((()=>{const e=t;let n;for(const t in o){const i=t,s=o[i];if(e(327)==s||e(372)==s||e(409)==s||e(369)==s||e(334)==s||e(393)==s||e(341)==s||e(346)==s){delete o[i],n=s,clearInterval(this[e(418)]),this[e(418)]=void 0;break}}e(372)==n&&o[e(424)](e(375)),e(409)==n&&o[e(424)](e(338)),e(369)==n&&o[e(424)](e(359)),e(334)==n&&o[e(424)](e(340),e(405)),e(393)==n&&o[e(424)](e(326)),e(341)==n&&o[e(424)](e(412)),e(346)==n&&o[e(424)](e(380))}),1e3)}[X(371)](){const t=X;super[t(371)](),this[t(418)]&&clearInterval(this[t(418)])}[X(363)](t){const e=X;this[e(345)]&&this[e(366)][e(306)][e(404)](J)[e(363)](this[e(362)](t))}[X(413)](t){const e=X;if(!this[e(345)])return;const n=this[e(366)],i=this[e(366)][e(306)][e(404)](u)[e(302)][t-1];i&&n[e(401)][e(386)]((t=>{const o=e;switch(i[o(367)]){case o(316):{const e=n[o(401)][o(305)][o(347)](i[o(408)][o(407)],o(304));t[o(387)](e);break}case o(321):{const e=n[o(401)][o(305)][o(347)](i[o(408)][o(353)],o(304));t[o(387)](e);break}case o(414):{const e=i[o(408)][o(353)];if(e[o(420)]&&" "===e[o(420)][o(421)][e[o(330)]]){const n=t[o(399)](e[o(383)],e[o(330)]+1);t[o(387)](n)}else t[o(387)](i[o(408)])}}n[o(331)][o(355)][o(391)]()}))}[X(354)](){const t=X,e=this[t(362)](this[t(388)]+1);this[t(413)](e),this[t(363)](e)}[X(379)](){const t=X,e=this[t(362)](this[t(388)]-1);this[t(413)](e),this[t(363)](e)}[X(350)](t,e){const n=X,i=this[n(366)][n(401)];this[n(345)]&&i[n(386)]((o=>{const s=n;for(let e=1;e<t[s(323)];e++){const n=t[e][s(408)],r=s(301)+(e+1);i[s(318)][s(314)](r)?o[s(328)](r,{range:n}):o[s(299)](r,{range:n,usingOperation:!1,affectsData:!0})}for(let n=t[s(323)];n<e[s(323)];n++){const t=s(301)+(n+1);i[s(318)][s(314)](t)&&o[s(311)](t)}}))}[X(307)](){const t=X,e=t(389);this[t(366)][t(344)][t(332)](t(392))[t(384)]((n=>{const i=t;n.on(i(309)+e,((t,{markerRange:e,markerName:n},o)=>{const s=i;if(!o[s(422)][s(389)])return;if(!o[s(356)][s(343)](e,t[s(364)]))return;const r=e[s(298)]();let a=r?o[s(297)][s(320)](r):null;if(!a){const t=e[s(353)];if(o[s(305)][s(303)](t,s(337))){const e=o[s(297)][s(402)](t);a=o[s(374)][s(370)](s(339)),a[s(394)]=()=>null,o[s(374)][s(315)](e,a)}else{const e=t[s(348)];a=o[s(297)][s(320)](e)}}for(;a[s(383)]!==a[s(385)]&&0===a[s(336)];)a=a[s(383)];const c=n[s(395)](11);a[s(406)](s(308))||(o[s(374)][s(322)](s(382),s(360),a),o[s(374)][s(377)](s(378),c,a),o[s(297)][s(333)](a,n)),t[s(325)]()}))}))}[X(419)](){const t=X,e=this[t(366)];e[t(358)][t(425)](t(357),((e,n)=>{this[t(379)](),n()})),e[t(358)][t(425)](t(349),((e,n)=>{this[t(354)](),n()})),e[t(342)][t(400)]({id:t(389),label:W(e[t(368)],t(373)),keystrokes:[{label:W(e[t(368)],t(317)),keystroke:t(357),mayRequireFn:!0},{label:W(e[t(368)],t(352)),keystroke:t(349),mayRequireFn:!0}]})}[X(362)](t){const e=X;return t<1&&(t=1),t>this[e(410)]&&(t=this[e(410)]),t}}var et=n(355),nt=n(953),it={attributes:{"data-cke":!0}};it.setAttributes=S(),it.insert=A().bind(null,"head"),it.domAPI=_(),it.insertStyleElement=C();x()(nt.A,it);nt.A&&nt.A.locals&&nt.A.locals;const ot=st;function st(t,e){const n=rt();return(st=function(t,e){return n[t-=181]})(t,e)}function rt(){const t=["navigation","fire","ArrowDown","value","ariaLabel","keydown","42Fkcisz","div","isNaN","bindTemplate","1736120siEcJH","keyCode","totalPages","1518tAgSBJ","248823tursuA","key","listenTo","max","40dQdSnC","121838cCilzf","select","pageNumberView","blur","2PXYNxf","150316wIcEPp","span","ck-page-navigator","ck-disabled","set","isEnabled","8028VvloMF","30waFuWz","pageNumber","1017980EbGZGa","numeric","bind","render","isReadOnly","valueAsNumber","element","stopPropagation","Current page number (from 1 to %0)","firstChild","321209fNBhyI","setTemplate","focus","preventDefault","checkValidity","ArrowUp","enter","change:pageNumber"];return(rt=function(){return t})()}!function(t){const e=st,n=t();for(;;)try{if(193284===-parseInt(e(228))/1*(parseInt(e(224))/2)+-parseInt(e(185))/3*(-parseInt(e(229))/4)+parseInt(e(187))/5+parseInt(e(211))/6*(-parseInt(e(197))/7)+parseInt(e(223))/8*(parseInt(e(219))/9)+-parseInt(e(215))/10+-parseInt(e(218))/11*(-parseInt(e(184))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(rt);class at extends e.View{[ot(226)];constructor(t){const n=ot;super(t);const i=this[n(214)];this[n(182)]({pageNumber:1,totalPages:1,isEnabled:!0}),this[n(226)]=new e.InputNumberView(t,{min:1,step:1}),this[n(226)][n(182)]({inputMode:n(188),tabIndex:-1}),this[n(226)][n(189)](n(209)).to(this,n(217),(e=>W(t,n(195),e))),this[n(226)][n(189)](n(222)).to(this,n(217)),this[n(226)][n(189)](n(191)).to(this,n(183),(t=>!t)),this[n(198)]({tag:n(212),attributes:{class:["ck",n(231),i.if(n(183),n(181),(t=>!t))]},children:[this[n(226)],{tag:n(230),children:[{text:i.to(n(217))}]}]})}[ot(190)](){const t=ot;super[t(190)]();const e=this[t(226)][t(193)],n=e=>{const n=t;this[n(226)][n(193)][n(208)]=String(e)};n(this[t(186)]),this.on(t(204),((t,e,i)=>{n(i)})),this[t(221)](e,t(210),((n,i)=>{const s=t;if(s(202)===i[s(220)]||s(207)===i[s(220)])return void i[s(194)]();if(i[s(216)]!==o.keyCodes[s(203)])return;i[s(200)]();const r=e[s(192)];Number[s(213)](r)?e[s(208)]=String(this[s(186)]):(e[s(201)]()?this[s(186)]=r:r>this[s(217)]?(this[s(186)]=this[s(217)],e[s(208)]=String(this[s(217)])):(this[s(186)]=1,e[s(208)]="1"),this[s(206)](s(205),this[s(186)]))})),this[t(221)](e,t(227),(()=>{const n=t;e[n(208)]=String(this[n(186)])})),this[t(221)](e,t(199),(()=>{const e=t;this[e(226)][e(225)]()}))}[ot(199)](){const t=ot;this[t(193)][t(196)][t(199)]()}}const ct=lt;function ut(){const t=["isEnabled","3399iSvYgM","pageNavigation","101670OdxYkm","30fjyoMI","isPremiumPlugin","PaginationUI","Shift+PageDown","12paxjlz","navigation","execute","add","previousPage","icon","Go to previous page","Go to next page","moveSelectionToPage","8768880dlbNdu","goToNextPage","locale","bind","8UBqKup","nextPage","tooltip","4065228DUyzJp","totalPages","3048745VKLtqx","Shift+PageUp","label","3448230myEhuX","editor","pageNumber","PaginationEditing","init","17747kKMPxb","listenTo","1669134FPnqHO","componentFactory","get","pluginName","goToPreviousPage","isOfficialPlugin","scrollToPage","keystroke","plugins"];return(ut=function(){return t})()}function lt(t,e){const n=ut();return(lt=function(t,e){return n[t-=279]})(t,e)}!function(t){const e=lt,n=t();for(;;)try{if(696603===parseInt(e(315))/1*(parseInt(e(285))/2)+-parseInt(e(317))/3*(-parseInt(e(302))/4)+parseInt(e(310))/5*(parseInt(e(289))/6)+parseInt(e(307))/7+parseInt(e(298))/8+-parseInt(e(305))/9+-parseInt(e(284))/10*(parseInt(e(282))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ut);class pt extends t.Plugin{static get[ct(320)](){return ct(287)}static get[ct(322)](){return!0}static get[ct(286)](){return!0}[ct(314)](){const t=ct,n=this[t(311)],i=n[t(280)][t(319)](t(313));n.ui[t(318)][t(292)](t(283),(e=>{const n=t,o=new at(e);return o[n(301)](n(312)).to(i),o[n(301)](n(306)).to(i),o[n(301)](n(281)).to(i),o.on(n(290),((t,e)=>{const o=n;i[o(297)](e),i[o(323)](e)})),o})),n.ui[t(318)][t(292)](t(303),(o=>{const s=t,r=new e.ButtonView(o);return r[s(281)]=!0,r[s(309)]=W(n[s(300)],s(296)),r[s(294)]=et.IconArrowDown,r[s(304)]=!0,r[s(279)]=s(288),r[s(301)](s(281)).to(i),this[s(316)](r,s(291),(()=>{i[s(299)]()})),r})),n.ui[t(318)][t(292)](t(293),(o=>{const s=t,r=new e.ButtonView(o);return r[s(281)]=!0,r[s(309)]=W(n[s(300)],s(295)),r[s(294)]=et.IconArrowUp,r[s(304)]=!0,r[s(279)]=s(308),r[s(301)](s(281)).to(i),this[s(316)](r,s(291),(()=>{i[s(321)]()})),r}))}}const ft=ht;function ht(t,e){const n=dt();return(ht=function(t,e){return n[t-=348]})(t,e)}function dt(){const t=["1299LkQoYE","requires","118auyjnx","4619216tWrwKj","editor","browserCheck","6TdxlAq","6647679NeCGED","plugins","1718EMfNlL","config","set","isEnabled","pagination.enableOnUnsupportedBrowsers","get","Pagination","init","1375724vVZIOa","1364RIEchn","2795060gKIcIU","totalPages","forceDisabled","scrollToPage","isBlink","isOfficialPlugin","ready","pageNumber","3451555BCpAmq","pluginName","bind","isPremiumPlugin"];return(dt=function(){return t})()}!function(t){const e=ht,n=t();for(;;)try{if(399817===-parseInt(e(378))/1*(-parseInt(e(354))/2)+-parseInt(e(376))/3*(parseInt(e(363))/4)+parseInt(e(372))/5+-parseInt(e(351))/6*(-parseInt(e(362))/7)+parseInt(e(348))/8+-parseInt(e(352))/9+-parseInt(e(364))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(dt);class gt extends t.Plugin{static get[ft(373)](){return ft(360)}static get[ft(369)](){return!0}static get[ft(375)](){return!0}static get[ft(377)](){return[tt,pt]}constructor(t){const e=ft;super(t),this[e(357)]=!1}[ft(361)](){const t=ft;this[t(356)]({pageNumber:1,totalPages:1});const e=this[t(349)][t(353)][t(359)](tt);this[t(374)](t(371)).to(e),this[t(374)](t(365)).to(e),o.env[t(368)]||this[t(349)][t(355)][t(359)](t(358))?this[t(349)].on(t(370),(()=>{this[t(357)]=!0})):this[t(366)](t(350))}[ft(367)](t){const e=ft;this[e(349)][e(353)][e(359)](tt)[e(367)](t)}}function mt(t,e){var n=bt();return(mt=function(t,e){return n[t-=282]})(t,e)}function bt(){var t=["9406824FEZXCT","7770435gKJZgr","16MWwBoQ","394409GbtRGs","4OAQYyJ","13361247AZpatc","1026009PvNTVV","174bZMAzx","349832YNBYka","69590530hdEpzH"];return(bt=function(){return t})()}!function(t){for(var e=mt,n=t();;)try{if(861604===-parseInt(e(283))/1*(-parseInt(e(284))/2)+-parseInt(e(286))/3*(-parseInt(e(282))/4)+parseInt(e(291))/5+-parseInt(e(287))/6*(-parseInt(e(288))/7)+parseInt(e(290))/8+parseInt(e(285))/9+-parseInt(e(289))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(bt)})(),(window.CKEditor5=window.CKEditor5||{}).pagination=i})();
5
+ */(()=>{var t={168:t=>{"use strict";t.exports=function(t){return t[1]}},237:t=>{"use strict";t.exports=CKEditor5.dll},262:t=>{"use strict";var e={};t.exports=function(t,n){var i=function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}e[t]=n}return e[t]}(t);if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(n)}},311:(t,e,n)=>{t.exports=n(237)("./src/ui.js")},355:(t,e,n)=>{t.exports=n(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},371:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(168),o=n.n(i),s=n(433),r=n.n(s)()(o());r.push([t.id,".ck.ck-pagination-view-line{border-top:1px dotted var(--ck-color-pagination-divider);height:0;pointer-events:none;position:absolute}.ck.ck-pagination-view-line:after{background:#c4c4c4;color:var(--ck-color-base-background);content:attr(data-page-number);display:inline-block;font-size:10px;min-width:18px;padding:var(--ck-spacing-tiny) var(--ck-spacing-medium);position:absolute;right:-1px;text-align:center;top:-1px;transform:translateX(100%)}",""]);const a=r},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n="",i=void 0!==e[5];return e[4]&&(n+="@supports (".concat(e[4],") {")),e[2]&&(n+="@media ".concat(e[2]," {")),i&&(n+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),n+=t(e),i&&(n+="}"),e[2]&&(n+="}"),e[4]&&(n+="}"),n})).join("")},e.i=function(t,n,i,o,s){"string"==typeof t&&(t=[[null,t,void 0]]);var r={};if(i)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(r[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);i&&r[l[0]]||(void 0!==s&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=s),n&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=n):l[2]=n),o&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=o):l[4]="".concat(o)),e.push(l))}},e}},545:t=>{"use strict";var e,n=(e=[],function(t,n){return e[t]=n,e.filter(Boolean).join("\n")});function i(t,e,i,o){var s;if(i)s="";else{s="",o.supports&&(s+="@supports (".concat(o.supports,") {")),o.media&&(s+="@media ".concat(o.media," {"));var r=void 0!==o.layer;r&&(s+="@layer".concat(o.layer.length>0?" ".concat(o.layer):""," {")),s+=o.css,r&&(s+="}"),o.media&&(s+="}"),o.supports&&(s+="}")}if(t.styleSheet)t.styleSheet.cssText=n(e,s);else{var a=document.createTextNode(s),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var o={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=o.singletonCounter++,n=o.singleton||(o.singleton=t.insertStyleElement(t));return{update:function(t){i(n,e,!1,t)},remove:function(t){i(n,e,!0,t)}}}},584:(t,e,n)=>{t.exports=n(237)("./src/utils.js")},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach((function(n){t.setAttribute(n,e[n])}))}},673:t=>{"use strict";var e=[];function n(t){for(var n=-1,i=0;i<e.length;i++)if(e[i].identifier===t){n=i;break}return n}function i(t,i){for(var s={},r=[],a=0;a<t.length;a++){var c=t[a],u=i.base?c[0]+i.base:c[0],l=s[u]||0,p="".concat(u," ").concat(l);s[u]=l+1;var f=n(p),d={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==f)e[f].references++,e[f].updater(d);else{var h=o(d,i);i.byIndex=a,e.splice(a,0,{identifier:p,updater:h,references:1})}r.push(p)}return r}function o(t,e){var n=e.domAPI(e);n.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;n.update(t=e)}else n.remove()}}t.exports=function(t,o){var s=i(t=t||[],o=o||{});return function(t){t=t||[];for(var r=0;r<s.length;r++){var a=n(s[r]);e[a].references--}for(var c=i(t,o),u=0;u<s.length;u++){var l=n(s[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}s=c}}},761:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(168),o=n.n(i),s=n(433),r=n.n(s)()(o());r.push([t.id,":root{--ck-color-pagination-divider:#ababab}.ck.ck-pagination_enabled.ck-content .page-break:after,.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .ck-widget__type-around{display:none}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view :has(+.page-break){margin-bottom:0}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .page-break{break-after:column;display:block;height:0;margin:0;padding:0}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .ck-table-column-resizer,.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .page-break .page-break__label,.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .page-break:after{display:none}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .table table{overflow:initial}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .ck-bookmark{display:none}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view figure.table:has(>table){display:block}",""]);const a=r},782:(t,e,n)=>{t.exports=n(237)("./src/core.js")},953:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(168),o=n.n(i),s=n(433),r=n.n(s)()(o());r.push([t.id,'.ck.ck-page-navigator{line-height:1;padding:0 var(--ck-spacing-standard)}.ck.ck-page-navigator>.ck-input-number{-moz-appearance:textfield;background:transparent;min-width:var(--ck-ui-component-min-height);text-align:center;width:var(--ck-ui-component-min-height)}.ck.ck-page-navigator>.ck-input-number::-webkit-inner-spin-button,.ck.ck-page-navigator>.ck-input-number::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.ck.ck-page-navigator>.ck-input-number:not(:focus){border:1px solid transparent;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-page-navigator>span:before{content:"/";margin:0 var(--ck-spacing-standard)}',""]);const a=r}},e={};function n(i){var o=e[i];if(void 0!==o)return o.exports;var s=e[i]={id:i,exports:{}};return t[i](s,s.exports,n),s.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var i in e)n.o(e,i)&&!n.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var i={};(()=>{"use strict";n.r(i),n.d(i,{Pagination:()=>gt,PaginationRenderer:()=>Q});var t=n(782),e=n(311),o=n(584);function s(t,e,{signal:n,edges:i}={}){let o,s=null;const r=null!=i&&i.includes("leading"),a=null==i||i.includes("trailing"),c=()=>{null!==s&&(t.apply(o,s),o=void 0,s=null)};let u=null;const l=()=>{null!=u&&clearTimeout(u),u=setTimeout((()=>{u=null,a&&c(),f()}),e)},p=()=>{null!==u&&(clearTimeout(u),u=null)},f=()=>{p(),o=void 0,s=null},d=function(...t){if(n?.aborted)return;o=this,s=t;const e=null==u;l(),r&&e&&c()};return d.schedule=l,d.cancel=f,d.flush=()=>{p(),c()},n?.addEventListener("abort",f,{once:!0}),d}const r=m;!function(t){const e=m,n=t();for(;;)try{if(981572===parseInt(e(359))/1+parseInt(e(276))/2*(-parseInt(e(311))/3)+-parseInt(e(193))/4+-parseInt(e(330))/5*(-parseInt(e(232))/6)+-parseInt(e(326))/7+parseInt(e(360))/8+parseInt(e(251))/9*(parseInt(e(255))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(c);class a extends t.Plugin{[r(205)]=function(t,e=0,n={}){"object"!=typeof n&&(n={});const{signal:i,leading:o=!1,trailing:r=!0,maxWait:a}=n,c=Array(2);let u;o&&(c[0]="leading"),r&&(c[1]="trailing");let l=null;const p=s((function(...e){u=t.apply(this,e),l=null}),e,{signal:i,edges:c}),f=function(...e){if(null!=a)if(null===l)l=Date.now();else if(Date.now()-l>=a)return u=t.apply(this,e),l=Date.now(),p.cancel(),p.schedule(),u;return p.apply(this,e),u};return f.cancel=p.cancel,f.flush=()=>(p.flush(),u),f}((()=>this[r(373)]()),200);[r(372)]=null;static get[r(225)](){return r(259)}static get[r(209)](){return!0}static get[r(323)](){return!0}[r(252)](){const t=r;if(this[t(275)]({pageBreaks:[]}),!this[t(227)][t(201)][t(219)](t(281)))return void(0,o.logWarning)(t(279),this[t(227)][t(201)]);const e=this[t(227)][t(366)][t(219)](t(267));this[t(257)](t(352)).to(e),this[t(227)].ui[t(335)](t(333),(()=>this[t(308)]())),this.on(t(226),((e,n,i)=>{i&&this[t(205)]()}))}[r(274)](){!async function(t){const e=g([85,70,51,90,117,50,65,74,82,80,69,87,48,103,114,66,118,55,110,98,75,100,120,119,112,101,73,109,86,115,67,78,116,122,52,53,54,121,71,72,88,106,99,57,76,77,79,56,68,97,105,102,84,113,89,104,107,83,111,108,49,81]),n=window[g([68,97,116,101])][g([110,111,119])](),i=t[g([101,100,105,116,111,114])],s=new(window[g([80,114,111,109,105,115,101])])((t=>{i[g([111,110,99,101])](g([114,101,97,100,121]),t)})),r={[g([107,116,121])]:g([69,67]),[g([117,115,101])]:g([115,105,103]),[g([99,114,118])]:g([80,45,50,53,54]),[g([120])]:g([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[g([121])]:g([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[g([97,108,103])]:g([69,83,50,53,54])},a=i[g([99,111,110,102,105,103])][g([103,101,116])](g([108,105,99,101,110,115,101,75,101,121]));function c(t){const e=[new(window[g([80,114,111,109,105,115,101])])((t=>setTimeout(t,605900))),s[g([116,104,101,110])]((()=>new(window[g([80,114,111,109,105,115,101])])((t=>{let e=0;i[g([109,111,100,101,108])][g([111,110])](g([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),((n,i)=>{i[0][g([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&e++,504==e&&(t(),n[g([111,102,102])]())}))}))))];return window[g([80,114,111,109,105,115,101])][g([114,97,99,101])](e)[g([116,104,101,110])]((()=>t))}function u(t){return t[g([115,116,97,114,116,115,87,105,116,104])](g([101,121]))?JSON[g([112,97,114,115,101])](l(t)):null}function l(t){return window[g([97,116,111,98])](t[g([114,101,112,108,97,99,101])](/-/g,g([43]))[g([114,101,112,108,97,99,101])](/_/g,g([47])))}function p(t){let e=5381;function n(t){for(let n=0;n<t[g([108,101,110,103,116,104])];n++){const i=t[g([99,104,97,114,67,111,100,101,65,116])](n);e=(e<<5)+e+i,e&=e}}return function t(e){Array[g([105,115,65,114,114,97,121])](e)?e[g([102,111,114,69,97,99,104])](t):e&&typeof e==g([111,98,106,101,99,116])?Object[g([101,110,116,114,105,101,115])](e)[g([115,111,114,116])]()[g([102,111,114,69,97,99,104])]((([e,i])=>{n(e),t(i)})):n(window[g([83,116,114,105,110,103])](e))}(t),e>>>0}function f(t){return t[g([116,111,83,116,114,105,110,103])](16)[g([112,97,100,83,116,97,114,116])](8,g([48]))}function d(t){return t[g([115,112,108,105,116])]("")[g([114,101,118,101,114,115,101])]()[g([106,111,105,110])]("")}function h(){}function g(t){const e=m;return t[e(297)]((t=>String[e(361)](t)))[e(316)]("")}!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([85]);for(let i=0;i<t[g([108,101,110,103,116,104])];i+=2){let o=window[g([112,97,114,115,101,73,110,116])](t[g([115,117,98,115,116,114,105,110,103])](i,i+2));o>=e[g([108,101,110,103,116,104])]&&(o-=e[g([108,101,110,103,116,104])]),n+=e[o]}return n}();i[n]=g([112,97,103,105,110,97,116,105,111,110,76,105,99,101,110,115,101,75,101,121])+t,t!=g([86,97,108,105,100])&&async function(){await s,i[g([109,111,100,101,108])][g([99,104,97,110,103,101])]=h,i[g([109,111,100,101,108])][g([101,110,113,117,101,117,101,67,104,97,110,103,101])]=h,i[g([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](g([109,111,100,101,108]))}()}(await async function(){let t,e=null,h=null;try{return a==g([71,80,76])?g([78,111,116,65,108,108,111,119,101,100]):(t=function(){const t=a[g([115,112,108,105,116])](g([46]));return 3!=t[g([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=u(t);return e&&n()?e:null;function n(){const t=e[g([106,116,105])],n=window[g([112,97,114,115,101,73,110,116])](t[g([115,117,98,115,116,114,105,110,103])](t[g([108,101,110,103,116,104])]-8),16),i={...e,[g([106,116,105])]:t[g([115,117,98,115,116,114,105,110,103])](0,t[g([108,101,110,103,116,104])]-8)};return delete i[g([118,99])],p(i)==n}}}(),t?(t[g([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(h=function(t,e){return new(window[g([80,114,111,109,105,115,101])])((c=>{if(r())return c(g([86,97,108,105,100]));a(),i[g([100,101,99,111,114,97,116,101])](g([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let u=!1;const l=(0,o.uid)();function h(t){return!!t&&(typeof t===g([111,98,106,101,99,116])||typeof t===g([102,117,110,99,116,105,111,110]))&&typeof t[g([116,104,101,110])]===g([102,117,110,99,116,105,111,110])&&typeof t[g([99,97,116,99,104])]===g([102,117,110,99,116,105,111,110])}function m(i){a(i)[g([116,104,101,110])]((t=>t&&t[g([115,116,97,116,117,115])]==g([111,107])?f(p(l+e))!=t[g([118,101,114,105,102,105,99,97,116,105,111,110])]?g([85,115,97,103,101,76,105,109,105,116]):g([86,97,108,105,100]):g([85,115,97,103,101,76,105,109,105,116])))[g([116,104,101,110])]((t=>(s(),t)),(()=>{const t=r();return null==t?(s(),g([86,97,108,105,100])):g(n-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])}))[g([116,104,101,110])](c)[g([99,97,116,99,104])]((()=>{c(g([85,115,97,103,101,76,105,109,105,116]))}));const o=36e5;function s(){const e=g([108,108,99,116,45])+f(p(t)),i=d(f(window[g([77,97,116,104])][g([99,101,105,108])](n/o)));window[g([108,111,99,97,108,83,116,111,114,97,103,101])][g([115,101,116,73,116,101,109])](e,i)}function r(){const e=g([108,108,99,116,45])+f(p(t)),n=window[g([108,111,99,97,108,83,116,111,114,97,103,101])][g([103,101,116,73,116,101,109])](e);return n?window[g([112,97,114,115,101,73,110,116])](d(n),16)*o:null}function a(t){return new(window[g([80,114,111,109,105,115,101])])(((e,n)=>{t[g([116,104,101,110])](e,n),window[g([115,101,116,84,105,109,101,111,117,116])](n,12e4)}))}}i[g([111,110])](g([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),((e,n)=>{if(n[0]!=t)return c(g([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[g([114,101,113,117,101,115,116,73,100])]:l}}),{[g([112,114,105,111,114,105,116,121])]:g([104,105,103,104])}),i[g([111,110])](g([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t=>{h(t[g([114,101,116,117,114,110])])&&(u=!0,m(t[g([114,101,116,117,114,110])]))}),{[g([112,114,105,111,114,105,116,121])]:g([108,111,119])}),s[g([116,104,101,110])]((()=>{u||c(g([85,115,97,103,101,76,105,109,105,116]))}))}));function r(){return i[g([101,100,105,116,105,110,103])][g([118,105,101,119])][g([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==g([97,117,116,111])}function a(){i[g([101,100,105,116,105,110,103])][g([118,105,101,119])][g([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=g([97,117,116,111])}}(t[g([117,115,97,103,101,69,110,100,112,111,105,110,116])],t[g([106,116,105])])),await async function(){let t=!0;try{const i=a[g([115,112,108,105,116])](g([46])),[o,s,r]=i;return e(o),await n(o,s,r),t}catch(t){return!1}function e(e){const n=u(e);n&&n[g([97,108,103])]==g([69,83,50,53,54])||(t=!1)}async function n(e,n,i){const o=window[g([85,105,110,116,56,65,114,114,97,121])][g([102,114,111,109])](l(i),(t=>t[g([99,104,97,114,67,111,100,101,65,116])](0))),s=(new(window[g([84,101,120,116,69,110,99,111,100,101,114])]))[g([101,110,99,111,100,101])](e+g([46])+n),a=window[g([99,114,121,112,116,111])][g([115,117,98,116,108,101])];if(!a)return;const c=await a[g([105,109,112,111,114,116,75,101,121])](g([106,119,107]),r,{[g([110,97,109,101])]:g([69,67,68,83,65]),[g([110,97,109,101,100,67,117,114,118,101])]:g([80,45,50,53,54])},!1,[g([118,101,114,105,102,121])]);await a[g([118,101,114,105,102,121])]({[g([110,97,109,101])]:g([69,67,68,83,65]),[g([104,97,115,104])]:{[g([110,97,109,101])]:g([83,72,65,45,50,53,54])}},c,o,s)||(t=!1)}}()?function(){const e=t[g([102,101,97,116,117,114,101,115])];return!(!e||!e[g([105,110,99,108,117,100,101,115])](g([42]))&&!e[g([105,110,99,108,117,100,101,115])](g([80,65,71])))}()?function(){const e=[g([101,118,97,108,117,97,116,105,111,110]),g([116,114,105,97,108])][g([105,110,99,108,117,100,101,115])](t[g([108,105,99,101,110,115,101,84,121,112,101])])?n/1e3:1746748800;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(238)]);if(n[g([105,110,99,108,117,100,101,115])](i))return!0;const o=i[g([115,112,108,105,116])](g([46]));return n[g([102,105,108,116,101,114])]((t=>t[g([105,110,99,108,117,100,101,115])](g([42]))))[g([109,97,112])]((t=>t[g([115,112,108,105,116])](g([46]))))[g([115,111,109,101])]((t=>o[g([101,118,101,114,121])](((e,n)=>t[n]===e||t[n]===g([42])))))}()?(t[g([108,105,99,101,110,115,101,84,121,112,101])]==g([101,118,97,108,117,97,116,105,111,110])&&(e=c(g([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),t[g([108,105,99,101,110,115,101,84,121,112,101])]==g([116,114,105,97,108])&&(e=c(g([84,114,105,97,108,76,105,109,105,116]))),await(e&&h?new(window[g([80,114,111,109,105,115,101])])(((t,n)=>{e[g([116,104,101,110])](t,n),h[g([116,104,101,110])]((e=>{e!=g([86,97,108,105,100])&&t(e)}),n)})):e||h||g([86,97,108,105,100]))):g([68,111,109,97,105,110,76,105,109,105,116]):g([78,111,116,65,108,108,111,119,101,100]):g([73,110,118,97,108,105,100])):g([73,110,118,97,108,105,100]))}catch(t){return g([73,110,118,97,108,105,100])}}())}(this)}[r(289)](){const t=r;super[t(289)](),this[t(372)]&&(this[t(205)][t(290)](),this[t(372)][t(289)](),this[t(372)][t(315)][t(203)]())}[r(308)](){const t=r,n=this[t(227)],i=n[t(344)][t(253)],o=this[t(337)]();if(!o||0===o[t(292)])return void n.ui[t(335)](t(222),(()=>this[t(308)]()));const{pageWidth:s,pageHeight:a}=n[t(201)][t(219)](t(281)),{top:c,left:u,bottom:l,right:p}=this[t(262)];this[t(372)]=new e.View(n[t(207)]);const f=this[t(372)];f[t(275)](t(188),""),f[t(199)]({tag:t(243),attributes:{contenteditable:!0,style:{columnWidth:s,width:s,height:t(310)+a+t(353)+c+t(353)+l+" )",minWidth:t(270),minHeight:t(270),padding:"0 "+p+t(347)+u,columnGap:t(345),border:0,boxSizing:t(224),columnCount:t(270),columnFill:t(270),overflow:t(296),position:t(341),top:t(304),left:t(304)},tabindex:"-1",class:f[t(324)].to(t(188))}}),f[t(268)](),o[t(278)][t(322)](f[t(315)],o[t(340)]),this[t(198)](i,t(268),(()=>this[t(205)]()),{priority:t(339)}),this[t(205)]()}[r(337)](){const t=r;for(const e of this[t(227)][t(344)][t(253)][t(200)][t(331)]())if(e[t(233)][t(300)][t(192)](e))return e;return null}[r(373)](){const t=r;if(!this[t(352)])return Promise[t(363)]();const e=this[t(227)][t(344)][t(253)],n=this[t(372)],i=this[t(337)]();if(!i)return Promise[t(363)]();for(n[t(188)]=[t(287),t(197),...i[t(212)]][t(316)](" ");n[t(315)][t(329)];)n[t(315)][t(329)][t(203)]();const o=Array[t(187)](e[t(200)]);o[t(284)]((([,e],[,n])=>e[t(213)](n)==Node[t(237)]?1:-1));for(const[e,i]of o){const o=i[t(189)](!0);t(348)in o&&o[t(348)][t(307)](),o[t(364)]="",o[t(190)]("id"),o[t(186)][t(338)]=e,n[t(315)][t(194)](o)}return function(e){const n=t;return Promise[n(285)](e[n(297)]((t=>{return Promise[n(216)]([p(t),(e=1e3,new Promise((t=>setTimeout(t,e))))]);var e})))}(Array[t(187)](n[t(315)][t(298)](t(230))))[t(362)]((()=>this[t(236)]()))}[r(236)](){const t=r,e=this[t(372)][t(315)];if(!e[t(233)][t(300)][t(192)](e))return;const n=new o.Rect(e)[t(248)](),i=o.global[t(185)][t(301)](e),s=parseFloat(i[t(367)])+parseFloat(i[t(208)]),a=Math[t(312)](n[t(242)]+100-s),c=g(e,Math[t(312)](n[t(246)]-e[t(195)]),a,n[t(368)])[t(297)]((e=>this[t(336)](e)));c[t(355)]((t=>!!t))&&(this[t(291)]=c)}[r(336)](t){const e=r,n=this[e(227)][e(344)][e(253)],i=this[e(227)][e(344)][e(283)],o=n[e(271)],s=t[e(234)][e(295)](),a=this[e(372)][e(315)][e(302)][s][e(186)][e(338)],c=n[e(206)](a);if(!c)return null;const u=function(t,n){const i=e;let o=t;for(const t of n[i(234)]){if(!o)return null;o=o[i(302)][t]}return o}(c,t);if(!u)return null;const l=o[e(332)](u,t[e(365)]||0);return l?e(235)==t[e(241)]?this[e(211)](l,u):e(318)==t[e(241)]&&i[e(351)](l)[e(272)]?this[e(218)](l,u,t[e(365)]):this[e(231)](l,u,t[e(272)]):null}[r(211)](t,e){const n=r,i=this[n(227)][n(354)],o=this[n(227)][n(344)][n(283)][n(261)](t[n(314)]),s=i[n(305)](o);return new u({type:n(235),modelRange:s,domNode:e,offset:0})}[r(218)](t,e,n){const i=r,o=this[i(227)][i(354)],s=this[i(227)][i(344)][i(283)],a=this[i(227)][i(344)][i(253)][i(271)];if(n>=e[i(309)])return null;const c=s[i(351)](t),p=o[i(239)](c),f=s[i(254)](t),d=a[i(342)](f);return new u({type:i(318),modelRange:p,domNode:e,offset:l(e,n,d)})}[r(231)](t,e,n){const i=r,s=this[i(227)][i(354)],a=this[i(227)][i(344)],c=a[i(283)],l=a[i(253)][i(271)],p=c[i(254)](t),d=c[i(261)](p),h=function(t){const e=i,n=t[e(314)],o=n[e(223)][e(288)][e(354)],s=n[e(369)]({parentFirst:!0,includeSelf:!0});let r=null;for(const n of s){if(n.is(e(196)))return r;if(!o[e(286)](n)[e(356)](t))return r;r=n}}(s[i(286)](d))||d;let g=c[i(258)](h),m=s[i(305)](h);const b=s[i(286)](h)[i(202)];if(b&&b.is(i(315),i(214))){const t=c[i(258)](b),e=l[i(342)](t),n=o.global[i(185)][i(301)](e)[i(343)];i(246)!=n&&i(328)!=n||(m=s[i(305)](b))}for(;g[i(314)]!==g[i(223)]&&0===g[i(264)];)g=g[i(314)];const w=new o.Rect(y(e)?e:f(e)),v=n?w[i(368)]-n:0,k=l[i(342)](g),I=new o.Rect(k);return new u({type:i(315),modelRange:m,domNode:k,offset:Math[i(220)](v)?v+w[i(334)]-I[i(334)]:0})}get[r(262)](){const t=r,e=this[t(227)][t(201)][t(219)](t(294));return Object[t(263)]({top:t(244),bottom:t(244),left:t(244),right:t(244)},e)}static[r(215)](t,e,n,i,o){return g(t,e,n,i,o)}}function c(){const t=["none","insertBefore","isPremiumPlugin","bindTemplate","selectNode","7555695AgWQnF","push","right","firstChild","11140jnuPkt","values","domPositionToView","ready","top","once","_mapPageStarterInfoToPageBreakInfo","_getAttachedDomRoot","rootName","low","nextSibling","absolute","mapViewToDom","float","editing","100px","setStart"," 0 ","attributeStyleMap","page-break","_domNode","toModelPosition","isEnabled"," - ","model","every","isTouching","style","figure.image","271188DjkwBw","5557592idSZzX","fromCharCode","then","resolve","className","textOffset","plugins","paddingLeft","height","getAncestors","offsetParent","indexOf","_pagesContainer","_recalculatePageBreaks","modelRange","load","setEnd","window","dataset","from","class","cloneNode","removeAttribute","_offset","contains","2830204XcGlvD","append","scrollLeft","rootElement","ck-pagination-view","listenTo","setTemplate","domRoots","config","nodeBefore","remove","nodeType","_recalculatePageBreaksDebounced","getDomRoot","locale","paddingRight","isOfficialPlugin","complete","_mapManualPageStarterInfoToPageBreakInfo","classList","compareDocumentPosition","imageBlock","_findPageStarterInfos","race","error","_mapTextPageStarterInfoToPageBreakInfo","get","round","entries","update","root","border-box","pluginName","change:isEnabled","editor","position","endContainer","img","_mapElementPageStarterInfoToPageBreakInfo","2802QOEwCg","ownerDocument","path","manual","_updatePageBreaksData","DOCUMENT_POSITION_PRECEDING","href","createRange","selectNodeContents","type","width","div","10mm","previousElementSibling","left","closest","excludeScrollbarsAndBorders","startContainer","removeEventListener","14886cmvIXa","init","view","findMappedViewAncestor","12440HMYnFC","ceil","bind","toViewElement","PaginationLookup","parentElement","toModelElement","_configuredPaddings","assign","index","endOffset","addEventListener","PaginationEditing","render","hasAttribute","auto","domConverter","offset","getClientRects","afterInit","set","2NBtipX","startOffset","parentNode","pagination-config-not-found","bottom","pagination","table-row","mapper","sort","all","createPositionBefore","ck-reset","document","destroy","cancel","pageBreaks","childElementCount","previousSibling","pagination.pageMargins","shift","hidden","map","querySelectorAll","TEXT_NODE","body","getComputedStyle","childNodes","display","-99999px","createRangeOn","ELEMENT_NODE","clear","_onUiReady","length","calc( ","3886293heCScf","floor","table-cell","parent","element","join","nextElementSibling","text",".page-break","ck-fake-selection-container"];return(c=function(){return t})()}class u{[r(241)];[r(374)];[r(350)];[r(191)];constructor({type:t,modelRange:e,domNode:n,offset:i}){const o=r;this[o(241)]=t,this[o(374)]=e,this[o(350)]=n,this[o(191)]=i}get[r(272)](){const t=r;if(!this[t(350)][t(233)][t(300)][t(192)](this[t(350)]))return 0;const e=new o.Rect(y(this[t(350)])?this[t(350)]:f(this[t(350)]));return t(235)==this[t(241)]?e[t(334)]+e[t(368)]/2:e[t(334)]+this[t(191)]}}function l(t,e,n){const i=r,s=f(t),a=function(t){const e=m,n=o.global[e(288)][e(239)]();return n[e(240)](t),n}(n);let c;c=0==e?h(a[i(249)],a[i(277)],t[i(278)],Array[i(187)](t[i(278)][i(302)])[i(371)](t)):h(a[i(249)],a[i(277)],t,e);const u=h(t,e,a[i(229)],a[i(265)]),l=new o.Rect(c)[i(280)];return(new o.Rect(u)[i(334)]+l)/2-new o.Rect(s)[i(334)]}function p(t){const e=r;return t[e(269)](e(242))&&t[e(269)](e(368))?Promise[e(363)]():new Promise((n=>{const i=e;function o(){const e=m;t[e(250)](e(375),o),t[e(250)](e(217),o),n()}t[i(210)]?n():(t[i(266)](i(375),o),t[i(266)](i(217),o))}))}function f(t){const e=r,n=o.global[e(288)][e(239)]();return n[e(325)](t),n}function d(t,e,n){const i=r,s=o.global[i(288)][i(239)]();return s[i(346)](t,e),s[i(376)](t,n),s}function h(t,e,n,i){const s=r,a=o.global[s(288)][s(239)]();return a[s(346)](t,e),a[s(376)](n,i),a}function g(t,e,n,i,o){const s=r,a=[];for(const[r,c]of t[s(302)][s(221)]()){let t=[];y(c)&&c[s(370)]&&!c[s(357)][s(228)]?t=b(c,r,e,n,i,o):I(c)&&(t=w(c,r,e,n,o)),t[s(309)]&&(a[s(327)](...t),e+=t[s(309)]*n,o=!1)}return a}function m(t,e){const n=c();return(m=function(t,e){return n[t-=185]})(t,e)}function b(t,e,n,i,s,a){const c=r,u=[];var l;if((l=t[c(293)])&&y(l)&&Boolean(l[c(212)][c(192)](c(349))||l[c(247)](c(319)))&&(u[c(327)]({type:c(235),offset:0,path:[e-1]}),a=!0),c(282)==o.global[c(185)][c(301)](t)[c(303)]){let i=0,o=!1;for(const e of t[c(273)]())i+=e[c(368)],e[c(246)]>=n&&(o=!0);if(i<s&&o)return u[c(327)]({type:c(315),offset:0,path:[e]}),u}const p=t[c(247)](c(358));if(p&&function(t){const e=c;let n=!1;const i=t[e(260)][e(186)][e(338)],s=t[e(317)],r=t[e(245)],a=s&&o.global[e(185)][e(301)](s)[e(343)],u=s&&e(320)===s[e(364)];return!i||s||r||(n=!0),i&&!r&&u&&(n=!0),i&&!r&&e(321)!==a&&(n=!0),!n}(p)){const t=o.global[c(185)][c(301)](p)[c(343)];if(c(246)==t||c(328)==t)return u}const f=g(t,n,i,s,a);if(f[c(309)]){for(const t of f)u[c(327)]({type:t[c(241)],offset:t[c(272)],textOffset:t[c(365)],path:[e,...t[c(234)]]}),n+=i,a=!1;return u}return u[c(327)](...function(t,e,n,i,s){const r=c,a=[];if(r(313)==o.global[r(185)][r(301)](t)[r(303)])return[];const u=[];for(const e of t[r(273)]())if(e[r(246)]>=n){for(const t of u)t[r(368)]+=e[r(368)];u[r(327)]({height:e[r(368)]}),n+=i}for(const t of u)s||a[r(327)]({type:r(315),offset:t[r(368)],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(273)]())if(r[s(246)]>=n){const r=v(t,u,n,i);o||c[s(327)]({type:s(318),path:[e],textOffset:r}),u=r,n+=i,o=!1}return c}function v(t,e,n,i){const o=r;let s=e,a=t[o(309)];for(;a-s>1;){const e=Math[o(256)]((s+a)/2);k(d(t,s,e),n,i)?a=e:s=e}return s}function k(t,e,n){const i=r;for(const o of t[i(273)]())if(o[i(246)]>=e&&o[i(246)]<e+n)return!0;return!1}function y(t){const e=r;return t[e(204)]==Node[e(306)]}function I(t){const e=r;return t[e(204)]==Node[e(299)]}var P=n(673),x=n.n(P),_=n(545),N=n.n(_),T=n(262),E=n.n(T),S=n(667),A=n.n(S),R=n(357),O=n.n(R),C=n(371),L={attributes:{"data-cke":!0}};L.setAttributes=A(),L.insert=E().bind(null,"head"),L.domAPI=N(),L.insertStyleElement=O();x()(C.A,L);C.A&&C.A.locals&&C.A.locals;function B(){const t=["left","set","div","8394972yZNQzl","top","pageNumber","ck-pagination-view-line","1081612VUoaEn","482066pDTBFv","7523845eYkUeW","70aKoOQX","bindTemplate","width","1261118YFRJaN","ck-hidden","1606128PdBRrE","4117434kGUZxH","setTemplate","isVisible"];return(B=function(){return t})()}function D(t,e){const n=B();return(D=function(t,e){return n[t-=145]})(t,e)}!function(t){const e=D,n=t();for(;;)try{if(885721===-parseInt(e(152))/1+-parseInt(e(157))/2+parseInt(e(160))/3+-parseInt(e(151))/4+parseInt(e(153))/5+parseInt(e(147))/6+parseInt(e(154))/7*(-parseInt(e(159))/8))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(B);const M=(0,o.toUnit)("px");class K extends e.View{constructor(){const t=D;super();const e=this[t(155)];this[t(145)]({isVisible:!1,left:null,top:null,width:null,pageNumber:null}),this[t(161)]({tag:t(146),attributes:{"data-page-number":e.to(t(149)),class:["ck",t(150),e.if(t(162),t(158),(t=>!t))],style:{left:e.to(t(163),(t=>M(t))),top:e.to(t(148),(t=>M(t))),width:e.to(t(156),(t=>M(t)))}}})}}const G=j;function j(t,e){const n=V();return(j=function(t,e){return n[t-=275]})(t,e)}function V(){const t=["2KgOCRD","180mKxffy","destroy","clear","1693202WeTOGN","body","1624685mdrzDQ","_hiddenLines","2022273HXtcTj","setViewCollection","has","1576332pQxdSE","set","80201SAHicI","4QAZhYj","1174052Qdcrmd","cleanLines","add","12daeZaU","size","remove","958048DMyVxa","showLine","values","delete","_viewCollection","_visibleLines","view","isVisible"];return(V=function(){return t})()}!function(t){const e=j,n=t();for(;;)try{if(322771===parseInt(e(297))/1*(parseInt(e(284))/2)+-parseInt(e(295))/3+parseInt(e(298))/4*(-parseInt(e(290))/5)+-parseInt(e(302))/6*(parseInt(e(288))/7)+-parseInt(e(276))/8+-parseInt(e(292))/9+-parseInt(e(285))/10*(-parseInt(e(299))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(V);class U{[G(280)];[G(281)]=new Set;[G(291)]=new Set;constructor(t){const e=G;this[e(280)]=t.ui[e(282)][e(289)]}[G(286)](){const t=G;for(const e of this[t(291)])e[t(286)]()}[G(300)](){const t=G;for(const e of this[t(281)])e[t(283)]=!1,this[t(291)][t(301)](e);this[t(281)][t(287)]()}[G(277)](t,e,n,i){const s=G;let r;this[s(291)][s(303)]?(r=(0,o.first)(this[s(291)][s(278)]()),this[s(291)][s(279)](r)):r=new K,r[s(296)]({pageNumber:i,left:t,top:e,width:n}),r[s(283)]=!0,this[s(280)][s(294)](r)||this[s(280)][s(301)](r),this[s(281)][s(301)](r)}[G(293)](t){const e=G;for(const t of[...this[e(281)],...this[e(291)]])this[e(280)][e(294)](t)&&this[e(280)][e(275)](t);this[e(280)]=t}}function X(){const t=["scrollTop","BODY","bind","view","change","left","auto","instant","pageBreaks","10155294rZlHwJ","body","ready","once","stopListening","editing","top","_getAttachedDomRoot","_scrollableEditingRootDomAncestor","isEnabled","294393ySQMqp","listenTo","_paginationLookupPlugin","parentElement","4558810YAYWmT","change:pageBreaks","domRoots","destroy","change:isEnabled","_renderPageBreakLines","window","bottom","getComputedStyle","overflowY","showLine","_updatePageBreakLines","510504OGkGEX","pluginName","isMotionReduced","PaginationEditing","scrollTo","91yeSNWK","setupScrollableAncestor","ownerDocument","get","excludeScrollbarsAndBorders","height","PaginationRenderer","4866306MxMGlD","_toggleEditingRootsClass","editor","set","document","width","scrollLeft","cleanLines","offset","pageNumber","push","750210qOrRqd","_resizeObserver","_onUiReady","linesRepository","resize","ck-pagination_enabled","init","smooth","isOfficialPlugin","1730Rckrcg","removeClass","addClass","contains","tagName","update","4xucgHx","PaginationLookup","scrollToPage","_getPageBreakLineOffset","length","scroll","values","roots","isPremiumPlugin","769fjBeRu","plugins"];return(X=function(){return t})()}const W=F;function F(t,e){const n=X();return(F=function(t,e){return n[t-=176]})(t,e)}!function(t){const e=F,n=t();for(;;)try{if(856985===-parseInt(e(238))/1*(-parseInt(e(223))/2)+parseInt(e(259))/3*(parseInt(e(229))/4)+parseInt(e(214))/5+-parseInt(e(203))/6+parseInt(e(196))/7*(-parseInt(e(191))/8)+parseInt(e(249))/9+parseInt(e(179))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(X);const H=W(219);class Q extends t.Plugin{[W(217)];[W(257)]=null;[W(215)]=null;[W(177)];static get[W(192)](){return W(202)}static get[W(222)](){return!0}static get[W(237)](){return!0}[W(220)](){const t=W;this[t(206)]({pageNumber:1}),this[t(217)]=new U(this[t(205)]),this[t(257)]=null,this[t(215)]=null,this[t(177)]=this[t(205)][t(239)][t(199)](t(230)),this[t(242)](t(258)).to(this[t(205)][t(239)][t(199)](t(194))),this[t(205)].ui[t(252)](t(251),(()=>this[t(216)]())),this[t(204)](H),this.on(t(183),((e,n,i)=>{const o=t;i||this[o(217)][o(210)](),this[o(204)](H,i)}))}[W(182)](){const t=W;this[t(204)](H,!1),this[t(217)][t(182)](),this[t(257)]=null,this[t(215)]&&this[t(215)][t(182)]()}[W(231)](t){const e=W;if(!this[e(258)])return;const n=t>1?this[e(232)](t-1):0;this[e(257)][e(195)]({top:n-10,left:this[e(257)][e(209)],behavior:o.env[e(193)]?e(247):e(221)})}[W(197)](){const t=W,e=this[t(205)],n=this[t(256)]();n?(this[t(257)]&&e.ui[t(243)][t(253)](this[t(257)],t(234)),this[t(257)]=function(e){const n=t;let i=e;do{i=i[n(178)];const t=o.global[n(185)][n(187)](i)[n(188)];if(n(246)==t||n(234)==t)break}while(n(241)!=i[n(227)]);return i}(n),e.ui[t(243)][t(176)](this[t(257)],t(234),(()=>{this[t(190)]()}),{usePassive:!0}),this[t(215)]&&this[t(215)][t(182)](),this[t(215)]=new o.ResizeObserver(this[t(257)],(()=>{this[t(190)]()}))):e.ui[t(252)](t(228),(()=>this[t(197)]()))}[W(216)](){const t=W,e=this[t(205)];this[t(256)]()?(this[t(197)](),e.ui[t(243)][t(176)](o.global[t(185)],t(218),(()=>this[t(190)]())),this[t(176)](this[t(177)],t(180),(()=>this[t(190)]()))):e.ui[t(252)](t(228),(()=>this[t(216)]()))}[W(256)](){const t=W;for(const e of this[t(205)][t(254)][t(243)][t(181)][t(235)]())if(e[t(198)][t(250)][t(226)](e))return e;return null}[W(190)](){const t=W;if(!this[t(258)])return;const e=this[t(256)](),n=this[t(177)][t(248)];if(this[t(217)][t(210)](),!e||1==n[t(233)])return void(this[t(212)]=1);const i=new o.Rect(e)[t(200)](),s=new o.Rect(this[t(257)])[t(200)](),r=s[t(255)]+s[t(201)]/3;let a=!1;const c=[];for(let e=1;e<n[t(233)];e++){const n=this[t(232)](e,s);if(!n)continue;const o=s[t(255)]+n-this[t(257)][t(240)];c[t(213)]({pageOffsetTop:o,domRootRect:i,domScrollableRect:s,pageNumber:e}),o>r&&!a&&(this[t(212)]=e,a=!0)}this[t(184)](c),a||(this[t(212)]=n[t(233)])}[W(184)](t){const e=W,{scrollX:n,scrollY:i}=o.global[e(185)];if(t[e(233)])for(const{domScrollableRect:o,pageOffsetTop:s,domRootRect:r,pageNumber:a}of t)o[e(255)]<s&&s<o[e(186)]&&this[e(217)][e(189)](r[e(245)]+n,s+i,r[e(208)],a+1)}[W(232)](t,e=null){const n=W,i=this[n(177)][n(248)][t][n(211)];return i?(e||(e=new o.Rect(this[n(257)])[n(200)]()),i-e[n(255)]+this[n(257)][n(240)]):0}[W(204)](t,e=!0){const n=W,i=this[n(205)][n(254)][n(243)];i[n(244)]((o=>{const s=n;for(const n of i[s(207)][s(236)])e?o[s(225)](t,n):o[s(224)](t,n)}))}}function q(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 z=n(761),Y={attributes:{"data-cke":!0}};Y.setAttributes=A(),Y.insert=E().bind(null,"head"),Y.domAPI=N(),Y.insertStyleElement=O();x()(z.A,Y);z.A&&z.A.locals&&z.A.locals;const Z=J;function J(t,e){const n=$();return(J=function(t,e){return n[t-=420]})(t,e)}function $(){const t=["locale","Pagination","getFillerOffset","model","config","$text","addKeystrokeInfoGroup","for","pagination","focus","markers","_updatePageBreakMarkers","set","keystrokes","schema","addMarker","element","bindElementToMarker","data-pagination-page","Shift+Pagedown","checkChild","get","_setUpDataDowncastConversion","2062179ezWiwz","paginationLicenseKeyExpired","end","init","requires","has","editing","_licenseKeyCheckInterval","always","toViewPosition","licenseKey","paginationLicenseKeyInvalid","getContainedElement","accessibility","toViewElement","writer","pageNumber","span","Shift+Pageup","evaluationLimit","paginationLicenseKeyEvaluationLimit","offset","moveSelectionToPage","consumable","goToNextPage","PaginationEditing","bind","destroy","modelRange","name","goToPreviousPage","6ekUDXE","createPositionAt","totalPages","Go to the next page (also move selection)","isPremiumPlugin","paginationLicenseKeyUsageLimit","paginationLicenseKeyTrialLimit","120922ccDuvm","_setupKeystrokes","listenTo","pagination:","Keystrokes for navigating through documents","index","invalid","textNode","pageBreaks","consume","scrollToPage","isOfficialPlugin","14339030PiTWbQ","getNearestSelectionRange","Go to the previous page (also move selection)","editor","86212OKedUk","change","substring","createContainerElement","nodeAfter","manual","paginationLicenseKeyValid","text","domainLimit","11AFJazs","10HKwajv","updateMarker","paginationLicenseKeyDomainLimit","type","usageLimit","conversion","trialLimit","6028744KSCwhW","expired","isEnabled","plugins","hasClass","addMarker:","6515334ZckOQm","dataDowncast","length","7213086LbBTaI","view","featureNotAllowed","options","_validatePageNumber","change:pageBreaks","removeMarker","setAttribute","parent","forward","data","pluginName","root","insert","page-break-before","setStyle","paginationLicenseKeyNotAllowed","mapper","_showLicenseError","195aDdOFR","setSelection","add","page-break","stop","start"];return($=function(){return t})()}!function(t){const e=J,n=t();for(;;)try{if(600470===-parseInt(e(521))/1*(parseInt(e(495))/2)+-parseInt(e(457))/3+parseInt(e(511))/4*(parseInt(e(428))/5)+parseInt(e(488))/6*(parseInt(e(534))/7)+parseInt(e(528))/8+parseInt(e(537))/9+parseInt(e(507))/10*(-parseInt(e(520))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}($);class tt extends t.Plugin{[Z(467)];[Z(464)];static get[Z(420)](){return Z(482)}static get[Z(506)](){return!0}static get[Z(492)](){return!0}static get[Z(461)](){return[a,Q]}[Z(460)](){const t=Z;this[t(446)]({pageNumber:1,totalPages:1});const e=this[t(510)][t(531)][t(455)](t(435)),n=this[t(510)][t(531)][t(455)](a),i=this[t(510)][t(531)][t(455)](Q);this[t(483)](t(530)).to(e),this[t(456)](),this[t(483)](t(473)).to(i),this[t(497)](n,t(542),((e,n,i,o)=>{const s=t;this[s(490)]=i[s(536)],this[s(445)](i,o)})),this[t(496)](),this[t(467)]=this[t(510)][t(438)][t(455)](t(467));const o=this[t(510)];this[t(464)]=setInterval((()=>{const e=t;let n;for(const t in o){const i=t,s=o[i];if(e(517)==s||e(468)==s||e(458)==s||e(523)==s||e(425)==s||e(477)==s||e(494)==s||e(493)==s){delete o[i],n=s,clearInterval(this[e(464)]),this[e(464)]=void 0;break}}e(468)==n&&o[e(427)](e(501)),e(458)==n&&o[e(427)](e(529)),e(523)==n&&o[e(427)](e(519)),e(425)==n&&o[e(427)](e(539),e(435)),e(477)==n&&o[e(427)](e(476)),e(494)==n&&o[e(427)](e(527)),e(493)==n&&o[e(427)](e(525))}),1e3)}[Z(484)](){const t=Z;super[t(484)](),this[t(464)]&&clearInterval(this[t(464)])}[Z(505)](t){const e=Z;this[e(530)]&&this[e(510)][e(531)][e(455)](Q)[e(505)](this[e(541)](t))}[Z(479)](t){const e=Z;if(!this[e(530)])return;const n=this[e(510)],i=this[e(510)][e(531)][e(455)](a)[e(503)][t-1];i&&n[e(437)][e(512)]((t=>{const o=e;switch(i[o(524)]){case o(516):{const e=n[o(437)][o(448)][o(508)](i[o(485)][o(459)],o(546));t[o(429)](e);break}case o(450):{const e=n[o(437)][o(448)][o(508)](i[o(485)][o(433)],o(546));t[o(429)](e);break}case o(518):{const e=i[o(485)][o(433)];if(e[o(502)]&&" "===e[o(502)][o(547)][e[o(478)]]){const n=t[o(489)](e[o(545)],e[o(478)]+1);t[o(429)](n)}else t[o(429)](i[o(485)])}}n[o(463)][o(538)][o(443)]()}))}[Z(481)](){const t=Z,e=this[t(541)](this[t(473)]+1);this[t(479)](e),this[t(505)](e)}[Z(487)](){const t=Z,e=this[t(541)](this[t(473)]-1);this[t(479)](e),this[t(505)](e)}[Z(445)](t,e){const n=Z,i=this[n(510)][n(437)];this[n(530)]&&i[n(512)]((o=>{const s=n;for(let e=1;e<t[s(536)];e++){const n=t[e][s(485)],r=s(498)+(e+1);i[s(444)][s(462)](r)?o[s(522)](r,{range:n}):o[s(449)](r,{range:n,usingOperation:!1,affectsData:!0})}for(let n=t[s(536)];n<e[s(536)];n++){const t=s(498)+(n+1);i[s(444)][s(462)](t)&&o[s(543)](t)}}))}[Z(456)](){const t=Z,e=t(442);this[t(510)][t(526)][t(441)](t(535))[t(430)]((n=>{const i=t;n.on(i(533)+e,((t,{markerRange:e,markerName:n},o)=>{const s=i;if(!o[s(540)][s(442)])return;if(!o[s(480)][s(504)](e,t[s(486)]))return;const r=e[s(469)]();let a=r?o[s(426)][s(471)](r):null;if(!a){const t=e[s(433)];if(o[s(448)][s(454)](t,s(439))){const e=o[s(426)][s(466)](t);a=o[s(472)][s(514)](s(474)),a[s(436)]=()=>null,o[s(472)][s(422)](e,a)}else{const e=t[s(515)];a=o[s(426)][s(471)](e)}}for(;a[s(545)]!==a[s(421)]&&0===a[s(500)];)a=a[s(545)];const c=n[s(513)](11);a[s(532)](s(431))||(o[s(472)][s(424)](s(423),s(465),a),o[s(472)][s(544)](s(452),c,a),o[s(426)][s(451)](a,n)),t[s(432)]()}))}))}[Z(496)](){const t=Z,e=this[t(510)];e[t(447)][t(446)](t(475),((e,n)=>{this[t(487)](),n()})),e[t(447)][t(446)](t(453),((e,n)=>{this[t(481)](),n()})),e[t(470)][t(440)]({id:t(442),label:q(e[t(434)],t(499)),keystrokes:[{label:q(e[t(434)],t(509)),keystroke:t(475),mayRequireFn:!0},{label:q(e[t(434)],t(491)),keystroke:t(453),mayRequireFn:!0}]})}[Z(541)](t){const e=Z;return t<1&&(t=1),t>this[e(490)]&&(t=this[e(490)]),t}}var et=n(355),nt=n(953),it={attributes:{"data-cke":!0}};it.setAttributes=A(),it.insert=E().bind(null,"head"),it.domAPI=N(),it.insertStyleElement=O();x()(nt.A,it);nt.A&&nt.A.locals&&nt.A.locals;function ot(){const t=["isNaN","render","valueAsNumber","ariaLabel","pageNumberView","513366oBrTUn","ArrowDown","isReadOnly","ck-page-navigator","119722HvmQVs","blur","checkValidity","totalPages","value","Current page number (from 1 to %0)","key","2628460LQaBLx","preventDefault","keydown","3580848BhKZEg","set","setTemplate","firstChild","element","892901UOdNVp","pageNumber","fire","ArrowUp","bindTemplate","focus","stopPropagation","enter","17345286xoRLif","change:pageNumber","3FaqUaR","select","keyCode","div","120fSovvP","3432365BrZmDu","ck-disabled","span","max","listenTo","isEnabled","navigation","bind","numeric"];return(ot=function(){return t})()}const st=rt;function rt(t,e){const n=ot();return(rt=function(t,e){return n[t-=164]})(t,e)}!function(t){const e=rt,n=t();for(;;)try{if(751744===parseInt(e(209))/1+parseInt(e(194))/2*(parseInt(e(171))/3)+-parseInt(e(201))/4+parseInt(e(176))/5+parseInt(e(204))/6+parseInt(e(190))/7*(parseInt(e(175))/8)+-parseInt(e(169))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ot);class at extends e.View{[st(189)];constructor(t){const n=st;super(t);const i=this[n(165)];this[n(205)]({pageNumber:1,totalPages:1,isEnabled:!0}),this[n(189)]=new e.InputNumberView(t,{min:1,step:1}),this[n(189)][n(205)]({inputMode:n(184),tabIndex:-1}),this[n(189)][n(183)](n(188)).to(this,n(197),(e=>q(t,n(199),e))),this[n(189)][n(183)](n(179)).to(this,n(197)),this[n(189)][n(183)](n(192)).to(this,n(181),(t=>!t)),this[n(206)]({tag:n(174),attributes:{class:["ck",n(193),i.if(n(181),n(177),(t=>!t))]},children:[this[n(189)],{tag:n(178),children:[{text:i.to(n(197))}]}]})}[st(186)](){const t=st;super[t(186)]();const e=this[t(189)][t(208)],n=e=>{const n=t;this[n(189)][n(208)][n(198)]=String(e)};n(this[t(210)]),this.on(t(170),((t,e,i)=>{n(i)})),this[t(180)](e,t(203),((n,i)=>{const s=t;if(s(164)===i[s(200)]||s(191)===i[s(200)])return void i[s(167)]();if(i[s(173)]!==o.keyCodes[s(168)])return;i[s(202)]();const r=e[s(187)];Number[s(185)](r)?e[s(198)]=String(this[s(210)]):(e[s(196)]()?this[s(210)]=r:r>this[s(197)]?(this[s(210)]=this[s(197)],e[s(198)]=String(this[s(197)])):(this[s(210)]=1,e[s(198)]="1"),this[s(211)](s(182),this[s(210)]))})),this[t(180)](e,t(195),(()=>{const n=t;e[n(198)]=String(this[n(210)])})),this[t(180)](e,t(166),(()=>{const e=t;this[e(189)][e(172)]()}))}[st(166)](){const t=st;this[t(208)][t(207)][t(166)]()}}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=["nextPage","scrollToPage","51MiLKFD","goToNextPage","3587388bMAxst","componentFactory","listenTo","init","Shift+PageDown","tooltip","moveSelectionToPage","editor","PaginationEditing","navigation","plugins","Go to previous page","get","pageNavigation","77vlWDnk","label","Shift+PageUp","icon","keystroke","pluginName","previousPage","1755927XAiBTK","8886uqwuXH","bind","isEnabled","Go to next page","totalPages","execute","16XNNTOP","PaginationUI","locale","isOfficialPlugin","10618rgJtIk","add","925TUAfze","1547104xQMHQS","1597760CXHXeV","pageNumber","isPremiumPlugin","313578oKpiQi","goToPreviousPage"];return(lt=function(){return t})()}!function(t){const e=ut,n=t();for(;;)try{if(279577===parseInt(e(351))/1*(-parseInt(e(340))/2)+-parseInt(e(347))/3*(parseInt(e(336))/4)+parseInt(e(342))/5*(-parseInt(e(330))/6)+parseInt(e(353))/7+-parseInt(e(343))/8+-parseInt(e(329))/9+parseInt(e(344))/10*(parseInt(e(322))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(lt);class pt extends t.Plugin{static get[ct(327)](){return ct(337)}static get[ct(339)](){return!0}static get[ct(346)](){return!0}[ct(356)](){const t=ct,n=this[t(360)],i=n[t(363)][t(365)](t(361));n.ui[t(354)][t(341)](t(366),(e=>{const n=t,o=new at(e);return o[n(331)](n(345)).to(i),o[n(331)](n(334)).to(i),o[n(331)](n(332)).to(i),o.on(n(362),((t,e)=>{const o=n;i[o(359)](e),i[o(350)](e)})),o})),n.ui[t(354)][t(341)](t(349),(o=>{const s=t,r=new e.ButtonView(o);return r[s(332)]=!0,r[s(323)]=q(n[s(338)],s(333)),r[s(325)]=et.IconArrowDown,r[s(358)]=!0,r[s(326)]=s(357),r[s(331)](s(332)).to(i),this[s(355)](r,s(335),(()=>{i[s(352)]()})),r})),n.ui[t(354)][t(341)](t(328),(o=>{const s=t,r=new e.ButtonView(o);return r[s(332)]=!0,r[s(323)]=q(n[s(338)],s(364)),r[s(325)]=et.IconArrowUp,r[s(358)]=!0,r[s(326)]=s(324),r[s(331)](s(332)).to(i),this[s(355)](r,s(335),(()=>{i[s(348)]()})),r}))}}const ft=ht;function dt(){const t=["requires","isEnabled","6588416PWvpIf","pluginName","browserCheck","plugins","42305626RAnEqs","get","forceDisabled","editor","totalPages","ready","25jpDOnM","config","365596LeVUbw","pageNumber","isPremiumPlugin","scrollToPage","bind","init","set","4704165IvwJwl","126282XxxWjB","isBlink","1569hWdcdt","pagination.enableOnUnsupportedBrowsers","330UtKgUC","387qqBjwn","16jpWhXj","isOfficialPlugin","292770wASehT","Pagination"];return(dt=function(){return t})()}function ht(t,e){const n=dt();return(ht=function(t,e){return n[t-=336]})(t,e)}!function(t){const e=ht,n=t();for(;;)try{if(886210===parseInt(e(350))/1*(parseInt(e(352))/2)+parseInt(e(347))/3+parseInt(e(360))/4+-parseInt(e(338))/5*(parseInt(e(348))/6)+parseInt(e(340))/7*(parseInt(e(354))/8)+-parseInt(e(353))/9*(-parseInt(e(356))/10)+-parseInt(e(364))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(dt);class gt extends t.Plugin{static get[ft(361)](){return ft(357)}static get[ft(355)](){return!0}static get[ft(342)](){return!0}static get[ft(358)](){return[tt,pt]}constructor(t){const e=ft;super(t),this[e(359)]=!1}[ft(345)](){const t=ft;this[t(346)]({pageNumber:1,totalPages:1});const e=this[t(367)][t(363)][t(365)](tt);this[t(344)](t(341)).to(e),this[t(344)](t(336)).to(e),o.env[t(349)]||this[t(367)][t(339)][t(365)](t(351))?this[t(367)].on(t(337),(()=>{this[t(359)]=!0})):this[t(366)](t(362))}[ft(343)](t){const e=ft;this[e(367)][e(363)][e(365)](tt)[e(343)](t)}}function mt(t,e){var n=bt();return(mt=function(t,e){return n[t-=395]})(t,e)}function bt(){var t=["1861520jCANkZ","470096doIyXH","13198BEtGOX","1837094fyBVqn","57exYdkE","736803ucnfhv","2769888QWLHmu","1481940DsvPky"];return(bt=function(){return t})()}!function(t){for(var e=mt,n=t();;)try{if(312308===-parseInt(e(397))/1*(-parseInt(e(395))/2)+parseInt(e(398))/3+-parseInt(e(401))/4+parseInt(e(400))/5+-parseInt(e(399))/6+parseInt(e(396))/7+parseInt(e(402))/8)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(bt)})(),(window.CKEditor5=window.CKEditor5||{}).pagination=i})();
package/dist/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x3f5ba0}from'@ckeditor/ckeditor5-core/dist/index.js';import{View as _0x24eb69,InputNumberView as _0x4f5e1f,ButtonView as _0x502d74}from'@ckeditor/ckeditor5-ui/dist/index.js';import{logWarning as _0x2b8f29,Rect as _0x336f93,global as _0x58e437,uid as _0x214835,toUnit as _0x4bfea4,first as _0x32ed4b,env as _0x288504,ResizeObserver as _0x2b6ce2,keyCodes as _0x2a2a38}from'@ckeditor/ckeditor5-utils/dist/index.js';import{debounce as _0xa804ae}from'es-toolkit/compat';import{IconArrowDown as _0x3225ef,IconArrowUp as _0xf07fd7}from'@ckeditor/ckeditor5-icons/dist/index.js';class n extends _0x3f5ba0{['_recalculatePageBreaksDebounced']=_0xa804ae(()=>this['_recalculatePageBreaks'](),0xc8);['_pagesContainer']=null;static get['pluginName'](){return'PaginationLookup';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){if(this['set']({'pageBreaks':[]}),!this['editor']['config']['get']('pagination'))return void _0x2b8f29('pagination-config-not-found',this['editor']['config']);const _0x588337=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0x588337),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0x39ac7b,_0x1f3a86,_0x112f14)=>{_0x112f14&&this['_recalculatePageBreaksDebounced']();});}['afterInit'](){!async function(_0x531951){const _0x228103=_0x4068e8([0x63,0x70,0x6a,0x43,0x37,0x72,0x48,0x6f,0x6e,0x78,0x32,0x36,0x64,0x75,0x4a,0x5a,0x62,0x66,0x71,0x30,0x51,0x67,0x39,0x53,0x6c,0x59,0x55,0x69,0x47,0x54,0x79,0x58,0x38,0x57,0x7a,0x6b,0x4f,0x68,0x61,0x77,0x52,0x45,0x35,0x44,0x74,0x76,0x31,0x41,0x65,0x56,0x49,0x42,0x46,0x4d,0x4e,0x6d,0x4b,0x73,0x50,0x33,0x4c,0x34]),_0x4f03bd=0x459733a0,_0x264f03=0x459054e0^_0x4f03bd,_0x4251a8=window[_0x4068e8([0x44,0x61,0x74,0x65])][_0x4068e8([0x6e,0x6f,0x77])](),_0x4a4ab6=_0x531951[_0x4068e8([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x27ade2=new window[(_0x4068e8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2dc601=>{_0x4a4ab6[_0x4068e8([0x6f,0x6e,0x63,0x65])](_0x4068e8([0x72,0x65,0x61,0x64,0x79]),_0x2dc601);}),_0x5eebfa={[_0x4068e8([0x6b,0x74,0x79])]:_0x4068e8([0x45,0x43]),[_0x4068e8([0x75,0x73,0x65])]:_0x4068e8([0x73,0x69,0x67]),[_0x4068e8([0x63,0x72,0x76])]:_0x4068e8([0x50,0x2d,0x32,0x35,0x36]),[_0x4068e8([0x78])]:_0x4068e8([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x4068e8([0x79])]:_0x4068e8([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x4068e8([0x61,0x6c,0x67])]:_0x4068e8([0x45,0x53,0x32,0x35,0x36])},_0x570bd2=_0x4a4ab6[_0x4068e8([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4068e8([0x67,0x65,0x74])](_0x4068e8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xe28712(){let _0x51a6a2,_0x462d1a=null,_0x46f83c=null;try{if(_0x570bd2==_0x4068e8([0x47,0x50,0x4c]))return _0x4068e8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x51a6a2=_0xb08992(),!_0x51a6a2)return _0x4068e8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x51a6a2[_0x4068e8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x46f83c=_0x4ed063(_0x51a6a2[_0x4068e8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x51a6a2[_0x4068e8([0x6a,0x74,0x69])])),await _0x4e8175()?_0xd4758()?_0x43ba2b()?_0x4068e8([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x845d59()?(_0x51a6a2[_0x4068e8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4068e8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x462d1a=_0x3fdd57(_0x4068e8([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x51a6a2[_0x4068e8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4068e8([0x74,0x72,0x69,0x61,0x6c])&&(_0x462d1a=_0x3fdd57(_0x4068e8([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x264ced()):_0x4068e8([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4068e8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4068e8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x28820d){return _0x4068e8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x43ba2b(){const _0x37551f=[_0x4068e8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4068e8([0x74,0x72,0x69,0x61,0x6c])][_0x4068e8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x51a6a2[_0x4068e8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4251a8/0x3e8:0xe10*_0x264f03;return _0x51a6a2[_0x4068e8([0x65,0x78,0x70])]<_0x37551f;}function _0xd4758(){const _0x1f6ec0=_0x51a6a2[_0x4068e8([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1f6ec0&&(!!_0x1f6ec0[_0x4068e8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4068e8([0x2a]))||!!_0x1f6ec0[_0x4068e8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4068e8([0x50,0x41,0x47])));}function _0x845d59(){const _0x3713e4=_0x51a6a2[_0x4068e8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3713e4||0x0==_0x3713e4[_0x4068e8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1c7b19}=new URL(window[_0x4068e8([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3713e4[_0x4068e8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1c7b19))return!0x0;const _0x2f59d3=_0x1c7b19[_0x4068e8([0x73,0x70,0x6c,0x69,0x74])](_0x4068e8([0x2e]));return _0x3713e4[_0x4068e8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x139616=>_0x139616[_0x4068e8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4068e8([0x2a])))[_0x4068e8([0x6d,0x61,0x70])](_0x9741a7=>_0x9741a7[_0x4068e8([0x73,0x70,0x6c,0x69,0x74])](_0x4068e8([0x2e])))[_0x4068e8([0x73,0x6f,0x6d,0x65])](_0x571c76=>_0x2f59d3[_0x4068e8([0x65,0x76,0x65,0x72,0x79])]((_0x4f2fb5,_0x49b42b)=>_0x571c76[_0x49b42b]===_0x4f2fb5||_0x571c76[_0x49b42b]===_0x4068e8([0x2a])));}function _0x264ced(){return _0x462d1a&&_0x46f83c?new window[(_0x4068e8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xd9cb89,_0x3f538e)=>{_0x462d1a[_0x4068e8([0x74,0x68,0x65,0x6e])](_0xd9cb89,_0x3f538e),_0x46f83c[_0x4068e8([0x74,0x68,0x65,0x6e])](_0x50d77e=>{_0x50d77e!=_0x4068e8([0x56,0x61,0x6c,0x69,0x64])&&_0xd9cb89(_0x50d77e);},_0x3f538e);}):_0x462d1a||_0x46f83c||_0x4068e8([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4ed063(_0x2d9b45,_0x38171c){return new window[(_0x4068e8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x273247=>{if(_0x36a4ca())return _0x273247(_0x4068e8([0x56,0x61,0x6c,0x69,0x64]));_0x1c8cda(),_0x4a4ab6[_0x4068e8([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4068e8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x29cfa9=!0x1;const _0x43bfbb=_0x214835();function _0x4ea82b(_0x40c82e){return!!_0x40c82e&&(typeof _0x40c82e===_0x4068e8([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x40c82e===_0x4068e8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x40c82e[_0x4068e8([0x74,0x68,0x65,0x6e])]===_0x4068e8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x40c82e[_0x4068e8([0x63,0x61,0x74,0x63,0x68])]===_0x4068e8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x24307b(_0x27f1ed){_0x324ac3(_0x27f1ed)[_0x4068e8([0x74,0x68,0x65,0x6e])](_0x34dfe1=>{if(!_0x34dfe1||_0x34dfe1[_0x4068e8([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4068e8([0x6f,0x6b]))return _0x4068e8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x57ae84(_0x307cbf(_0x43bfbb+_0x38171c))!=_0x34dfe1[_0x4068e8([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4068e8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4068e8([0x56,0x61,0x6c,0x69,0x64]);})[_0x4068e8([0x74,0x68,0x65,0x6e])](_0x37a4d0=>(_0x1eed04(),_0x37a4d0),()=>{const _0x4d3aa1=_0x2571cf();return null==_0x4d3aa1?(_0x1eed04(),_0x4068e8([0x56,0x61,0x6c,0x69,0x64])):_0x4068e8(_0x4251a8-_0x4d3aa1>(0x619bb7a0^_0x4f03bd)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4068e8([0x74,0x68,0x65,0x6e])](_0x273247)[_0x4068e8([0x63,0x61,0x74,0x63,0x68])](()=>{_0x273247(_0x4068e8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4a14fd=0x45a1dd20^_0x4f03bd;function _0x1eed04(){const _0x3883d5=_0x4068e8([0x6c,0x6c,0x63,0x74,0x2d])+_0x57ae84(_0x307cbf(_0x2d9b45)),_0x136c75=_0xf39517(_0x57ae84(window[_0x4068e8([0x4d,0x61,0x74,0x68])][_0x4068e8([0x63,0x65,0x69,0x6c])](_0x4251a8/_0x4a14fd)));window[_0x4068e8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4068e8([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3883d5,_0x136c75);}function _0x2571cf(){const _0x267c5b=_0x4068e8([0x6c,0x6c,0x63,0x74,0x2d])+_0x57ae84(_0x307cbf(_0x2d9b45)),_0x48413b=window[_0x4068e8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4068e8([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x267c5b);return _0x48413b?window[_0x4068e8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xf39517(_0x48413b),0x10)*_0x4a14fd:null;}function _0x324ac3(_0x3107aa){return new window[(_0x4068e8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5ab176,_0x171df1)=>{_0x3107aa[_0x4068e8([0x74,0x68,0x65,0x6e])](_0x5ab176,_0x171df1),window[_0x4068e8([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x171df1,0x4596e760^_0x4f03bd);});}}_0x4a4ab6[_0x4068e8([0x6f,0x6e])](_0x4068e8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x82d1f5,_0x125819)=>{if(_0x125819[0x0]!=_0x2d9b45)return _0x273247(_0x4068e8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x125819[0x1]={..._0x125819[0x1],[_0x4068e8([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x43bfbb};},{[_0x4068e8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4068e8([0x68,0x69,0x67,0x68])}),_0x4a4ab6[_0x4068e8([0x6f,0x6e])](_0x4068e8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x548bbe=>{_0x4ea82b(_0x548bbe[_0x4068e8([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x29cfa9=!0x0,_0x24307b(_0x548bbe[_0x4068e8([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4068e8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4068e8([0x6c,0x6f,0x77])}),_0x27ade2[_0x4068e8([0x74,0x68,0x65,0x6e])](()=>{_0x29cfa9||_0x273247(_0x4068e8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x36a4ca(){return _0x4a4ab6[_0x4068e8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4068e8([0x76,0x69,0x65,0x77])][_0x4068e8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4068e8([0x61,0x75,0x74,0x6f]);}function _0x1c8cda(){_0x4a4ab6[_0x4068e8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4068e8([0x76,0x69,0x65,0x77])][_0x4068e8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4068e8([0x61,0x75,0x74,0x6f]);}}function _0x3fdd57(_0xd4dc2b){const _0x4938e4=[new window[(_0x4068e8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3c9a94=>setTimeout(_0x3c9a94,0x459e0d6c^_0x4f03bd)),_0x27ade2[_0x4068e8([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4068e8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3166f6=>{let _0x49d943=0x0;_0x4a4ab6[_0x4068e8([0x6d,0x6f,0x64,0x65,0x6c])][_0x4068e8([0x6f,0x6e])](_0x4068e8([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x22c334,_0x376f41)=>{_0x376f41[0x0][_0x4068e8([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x49d943++,_0x49d943==(0x45973258^_0x4f03bd)&&(_0x3166f6(),_0x22c334[_0x4068e8([0x6f,0x66,0x66])]());});}))];return window[_0x4068e8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4068e8([0x72,0x61,0x63,0x65])](_0x4938e4)[_0x4068e8([0x74,0x68,0x65,0x6e])](()=>_0xd4dc2b);}async function _0x4636e1(){await _0x27ade2,_0x4a4ab6[_0x4068e8([0x6d,0x6f,0x64,0x65,0x6c])][_0x4068e8([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xbb06c3,_0x4a4ab6[_0x4068e8([0x6d,0x6f,0x64,0x65,0x6c])][_0x4068e8([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xbb06c3,_0x4a4ab6[_0x4068e8([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4068e8([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x376688(_0x5d4a38){const _0xb1318c=_0xb520b6();_0x4a4ab6[_0xb1318c]=_0x4068e8([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5d4a38,_0x5d4a38!=_0x4068e8([0x56,0x61,0x6c,0x69,0x64])&&_0x4636e1();}function _0xb520b6(){const _0x1650b3=window[_0x4068e8([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4068e8([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4068e8([0x6e,0x6f,0x77])]())[_0x4068e8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4068e8([0x2e]),'');let _0x393ad0=_0x4068e8([0x63]);for(let _0x29d2e6=0x0;_0x29d2e6<_0x1650b3[_0x4068e8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x29d2e6+=0x2){let _0x21ade0=window[_0x4068e8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1650b3[_0x4068e8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x29d2e6,_0x29d2e6+0x2));_0x21ade0>=_0x228103[_0x4068e8([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x21ade0-=_0x228103[_0x4068e8([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x393ad0+=_0x228103[_0x21ade0];}return _0x393ad0;}function _0xb08992(){const _0x1ad005=_0x570bd2[_0x4068e8([0x73,0x70,0x6c,0x69,0x74])](_0x4068e8([0x2e]));if(0x3!=_0x1ad005[_0x4068e8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x20b780(_0x1ad005[0x1]);function _0x20b780(_0x1b329a){const _0x210cec=_0x42cede(_0x1b329a);return _0x210cec&&_0x24fecc()?_0x210cec:null;function _0x24fecc(){const _0x3f8f5e=_0x210cec[_0x4068e8([0x6a,0x74,0x69])],_0x40d6a2=window[_0x4068e8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3f8f5e[_0x4068e8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3f8f5e[_0x4068e8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2d024a={..._0x210cec,[_0x4068e8([0x6a,0x74,0x69])]:_0x3f8f5e[_0x4068e8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3f8f5e[_0x4068e8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2d024a[_0x4068e8([0x76,0x63])],_0x307cbf(_0x2d024a)==_0x40d6a2;}}}async function _0x4e8175(){let _0x2345f1=!0x0;try{const _0x3bd634=_0x570bd2[_0x4068e8([0x73,0x70,0x6c,0x69,0x74])](_0x4068e8([0x2e])),[_0x17713a,_0x159169,_0x30c480]=_0x3bd634;return _0x2f6ce0(_0x17713a),await _0x4ed8e5(_0x17713a,_0x159169,_0x30c480),_0x2345f1;}catch(_0x16fd73){return!0x1;}function _0x2f6ce0(_0x26c532){const _0x5f1373=_0x42cede(_0x26c532);_0x5f1373&&_0x5f1373[_0x4068e8([0x61,0x6c,0x67])]==_0x4068e8([0x45,0x53,0x32,0x35,0x36])||(_0x2345f1=!0x1);}async function _0x4ed8e5(_0x9705ac,_0x318828,_0x5443cc){const _0x522fef=window[_0x4068e8([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4068e8([0x66,0x72,0x6f,0x6d])](_0x37d26f(_0x5443cc),_0x4d30a9=>_0x4d30a9[_0x4068e8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3d5b92=new window[(_0x4068e8([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4068e8([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x9705ac+_0x4068e8([0x2e])+_0x318828),_0x3e65c5=window[_0x4068e8([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4068e8([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3e65c5)return;const _0x214b4c=await _0x3e65c5[_0x4068e8([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4068e8([0x6a,0x77,0x6b]),_0x5eebfa,{[_0x4068e8([0x6e,0x61,0x6d,0x65])]:_0x4068e8([0x45,0x43,0x44,0x53,0x41]),[_0x4068e8([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4068e8([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4068e8([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3e65c5[_0x4068e8([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4068e8([0x6e,0x61,0x6d,0x65])]:_0x4068e8([0x45,0x43,0x44,0x53,0x41]),[_0x4068e8([0x68,0x61,0x73,0x68])]:{[_0x4068e8([0x6e,0x61,0x6d,0x65])]:_0x4068e8([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x214b4c,_0x522fef,_0x3d5b92)||(_0x2345f1=!0x1);}}function _0x42cede(_0x419756){return _0x419756[_0x4068e8([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4068e8([0x65,0x79]))?JSON[_0x4068e8([0x70,0x61,0x72,0x73,0x65])](_0x37d26f(_0x419756)):null;}function _0x37d26f(_0x587d49){return window[_0x4068e8([0x61,0x74,0x6f,0x62])](_0x587d49[_0x4068e8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4068e8([0x2b]))[_0x4068e8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4068e8([0x2f])));}function _0x307cbf(_0x32ed58){let _0x33fd27=0x1505;function _0x80594b(_0x239850){for(let _0x1d8f04=0x0;_0x1d8f04<_0x239850[_0x4068e8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1d8f04++){const _0x3aa3e4=_0x239850[_0x4068e8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1d8f04);_0x33fd27=(_0x33fd27<<0x5)+_0x33fd27+_0x3aa3e4,_0x33fd27&=_0x33fd27;}}function _0x1c8340(_0x47d2aa){Array[_0x4068e8([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x47d2aa)?_0x47d2aa[_0x4068e8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1c8340):_0x47d2aa&&typeof _0x47d2aa==_0x4068e8([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4068e8([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x47d2aa)[_0x4068e8([0x73,0x6f,0x72,0x74])]()[_0x4068e8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x30bec1,_0x55bd4a])=>{_0x80594b(_0x30bec1),_0x1c8340(_0x55bd4a);}):_0x80594b(window[_0x4068e8([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x47d2aa));}return _0x1c8340(_0x32ed58),_0x33fd27>>>0x0;}function _0x57ae84(_0x356f74){return _0x356f74[_0x4068e8([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4068e8([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4068e8([0x30]));}function _0xf39517(_0x5f1acb){return _0x5f1acb[_0x4068e8([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4068e8([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4068e8([0x6a,0x6f,0x69,0x6e])]('');}function _0xbb06c3(){}function _0x4068e8(_0x214644){return _0x214644['map'](_0x537a82=>String['fromCharCode'](_0x537a82))['join']('');}_0x376688(await _0xe28712());}(this);}['destroy'](){super['destroy'](),this['_pagesContainer']&&(this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0xe21fc0=this['editor'],_0x2b72d1=_0xe21fc0['editing']['view'],_0x266730=this['_getAttachedDomRoot']();if(!_0x266730||0x0===_0x266730['childElementCount'])return void _0xe21fc0['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0x3be8b6,pageHeight:_0x65741d}=_0xe21fc0['config']['get']('pagination'),{top:_0x357c84,left:_0x183638,bottom:_0x4a050c,right:_0x597cae}=this['_configuredPaddings'];this['_pagesContainer']=new _0x24eb69(_0xe21fc0['locale']);const _0x14ffc0=this['_pagesContainer'];_0x14ffc0['set']('class',''),_0x14ffc0['setTemplate']({'tag':'div','attributes':{'contenteditable':!0x0,'style':{'columnWidth':_0x3be8b6,'width':_0x3be8b6,'height':'calc(\x20'+_0x65741d+'\x20-\x20'+_0x357c84+'\x20-\x20'+_0x4a050c+'\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0x597cae+'\x200\x20'+_0x183638,'columnGap':'100px','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'tabindex':'-1','class':_0x14ffc0['bindTemplate']['to']('class')}}),_0x14ffc0['render'](),_0x266730['parentNode']['insertBefore'](_0x14ffc0['element'],_0x266730['nextSibling']),this['listenTo'](_0x2b72d1,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}['_getAttachedDomRoot'](){for(const _0x9e06cb of this['editor']['editing']['view']['domRoots']['values']())if(_0x9e06cb['ownerDocument']['body']['contains'](_0x9e06cb))return _0x9e06cb;return null;}['_recalculatePageBreaks'](){if(!this['isEnabled'])return Promise['resolve']();const _0x492f92=this['editor']['editing']['view'],_0x2231cd=this['_pagesContainer'],_0x43d1a9=this['_getAttachedDomRoot']();if(!_0x43d1a9)return Promise['resolve']();for(_0x2231cd['class']=['ck-reset','ck-pagination-view',..._0x43d1a9['classList']]['join']('\x20');_0x2231cd['element']['firstChild'];)_0x2231cd['element']['firstChild']['remove']();const _0x56b6e6=Array['from'](_0x492f92['domRoots']);_0x56b6e6['sort'](([,_0xf8ef74],[,_0x491f6a])=>_0xf8ef74['compareDocumentPosition'](_0x491f6a)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0x3f70d9,_0x5d0c09]of _0x56b6e6){const _0x6f6d1a=_0x5d0c09['cloneNode'](!0x0);'attributeStyleMap'in _0x6f6d1a&&_0x6f6d1a['attributeStyleMap']['clear'](),_0x6f6d1a['className']='',_0x6f6d1a['removeAttribute']('id'),_0x6f6d1a['dataset']['rootName']=_0x3f70d9,_0x2231cd['element']['append'](_0x6f6d1a);}return function(_0x2af240){return Promise['all'](_0x2af240['map'](_0x5cbf74=>Promise['race']([p(_0x5cbf74),y(0x3e8)])));}(Array['from'](_0x2231cd['element']['querySelectorAll']('img')))['then'](()=>this['_updatePageBreaksData']());}['_updatePageBreaksData'](){const _0x25a5a5=this['_pagesContainer']['element'];if(!_0x25a5a5['ownerDocument']['body']['contains'](_0x25a5a5))return;const _0x4f2a0e=new _0x336f93(_0x25a5a5)['excludeScrollbarsAndBorders'](),_0x2b69d4=_0x58e437['window']['getComputedStyle'](_0x25a5a5),_0x4aacfa=parseFloat(_0x2b69d4['paddingLeft'])+parseFloat(_0x2b69d4['paddingRight']),_0x149db2=Math['floor'](_0x4f2a0e['width']+0x64-_0x4aacfa),_0x15304e=x(_0x25a5a5,Math['floor'](_0x4f2a0e['left']-_0x25a5a5['scrollLeft']),_0x149db2,_0x4f2a0e['height'])['map'](_0x49a392=>this['_mapPageStarterInfoToPageBreakInfo'](_0x49a392));_0x15304e['every'](_0x222f13=>!!_0x222f13)&&(this['pageBreaks']=_0x15304e);}['_mapPageStarterInfoToPageBreakInfo'](_0x59b900){const _0x201d11=this['editor']['editing']['view'],_0x12c13a=this['editor']['editing']['mapper'],_0x55e34a=_0x201d11['domConverter'],_0x84ff6f=_0x59b900['path']['shift'](),_0x13f292=this['_pagesContainer']['element']['childNodes'][_0x84ff6f]['dataset']['rootName'],_0xfa66e1=_0x201d11['getDomRoot'](_0x13f292);if(!_0xfa66e1)return null;const _0x4bd9a9=function(_0x205fea,_0x3a8266){let _0x14dce2=_0x205fea;for(const _0x599ed2 of _0x3a8266['path']){if(!_0x14dce2)return null;_0x14dce2=_0x14dce2['childNodes'][_0x599ed2];}return _0x14dce2;}(_0xfa66e1,_0x59b900);if(!_0x4bd9a9)return null;const _0xb7ffb5=_0x55e34a['domPositionToView'](_0x4bd9a9,_0x59b900['textOffset']||0x0);return _0xb7ffb5?'manual'==_0x59b900['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0xb7ffb5,_0x4bd9a9):'text'==_0x59b900['type']&&_0x12c13a['toModelPosition'](_0xb7ffb5)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0xb7ffb5,_0x4bd9a9,_0x59b900['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0xb7ffb5,_0x4bd9a9,_0x59b900['offset']):null;}['_mapManualPageStarterInfoToPageBreakInfo'](_0x56f969,_0x32c2ac){const _0x26a3c1=this['editor']['model'],_0x17b54a=this['editor']['editing']['mapper']['toModelElement'](_0x56f969['parent']),_0x54c37a=_0x26a3c1['createRangeOn'](_0x17b54a);return new K({'type':'manual','modelRange':_0x54c37a,'domNode':_0x32c2ac,'offset':0x0});}['_mapTextPageStarterInfoToPageBreakInfo'](_0x7886aa,_0x1b86fb,_0x7b8e3e){const _0x231056=this['editor']['model'],_0x4b04b3=this['editor']['editing']['mapper'],_0x4f4c0c=this['editor']['editing']['view']['domConverter'];if(_0x7b8e3e>=_0x1b86fb['length'])return null;const _0x56e89e=_0x4b04b3['toModelPosition'](_0x7886aa),_0x1110d8=_0x231056['createRange'](_0x56e89e),_0x584e29=_0x4b04b3['findMappedViewAncestor'](_0x7886aa),_0x4583ff=_0x4f4c0c['mapViewToDom'](_0x584e29);return new K({'type':'text','modelRange':_0x1110d8,'domNode':_0x1b86fb,'offset':m(_0x1b86fb,_0x7b8e3e,_0x4583ff)});}['_mapElementPageStarterInfoToPageBreakInfo'](_0x4dd22b,_0x24650a,_0x63d4f2){const _0x2f64b1=this['editor']['model'],_0x54ebfd=this['editor']['editing'],_0x43271d=_0x54ebfd['mapper'],_0x5bd94f=_0x54ebfd['view']['domConverter'],_0x519e95=_0x43271d['findMappedViewAncestor'](_0x4dd22b),_0x487383=_0x43271d['toModelElement'](_0x519e95),_0x514f09=function(_0x1c894f){const _0x176d8a=_0x1c894f['parent'],_0x340759=_0x176d8a['root']['document']['model'],_0xbbb7b=_0x176d8a['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0x21b762=null;for(const _0x3db002 of _0xbbb7b){if(_0x3db002['is']('rootElement'))return _0x21b762;if(!_0x340759['createPositionBefore'](_0x3db002)['isTouching'](_0x1c894f))return _0x21b762;_0x21b762=_0x3db002;}}(_0x2f64b1['createPositionBefore'](_0x487383)),_0x5ac6ba=_0x514f09||_0x487383;let _0x47fcea=_0x43271d['toViewElement'](_0x5ac6ba),_0x3c52cd=_0x2f64b1['createRangeOn'](_0x5ac6ba);const _0x40ef31=_0x2f64b1['createPositionBefore'](_0x5ac6ba)['nodeBefore'];if(_0x40ef31&&_0x40ef31['is']('element','imageBlock')){const _0x271ab0=_0x43271d['toViewElement'](_0x40ef31),_0x27cfce=_0x5bd94f['mapViewToDom'](_0x271ab0),_0x26399d=_0x58e437['window']['getComputedStyle'](_0x27cfce)['float'];'left'!=_0x26399d&&'right'!=_0x26399d||(_0x3c52cd=_0x2f64b1['createRangeOn'](_0x40ef31));}for(;_0x47fcea['parent']!==_0x47fcea['root']&&0x0===_0x47fcea['index'];)_0x47fcea=_0x47fcea['parent'];const _0x2cfa17=new _0x336f93(S(_0x24650a)?_0x24650a:P(_0x24650a)),_0x322b78=_0x63d4f2?_0x2cfa17['height']-_0x63d4f2:0x0,_0x256c62=_0x5bd94f['mapViewToDom'](_0x47fcea),_0x2444d2=new _0x336f93(_0x256c62);return new K({'type':'element','modelRange':_0x3c52cd,'domNode':_0x256c62,'offset':Math['round'](_0x322b78)?_0x322b78+_0x2cfa17['top']-_0x2444d2['top']:0x0});}get['_configuredPaddings'](){const _0x223524=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0x223524);}static['_findPageStarterInfos'](_0x5e428c,_0x236d3c,_0x2e0958,_0x55cc5c,_0xc9b411){return x(_0x5e428c,_0x236d3c,_0x2e0958,_0x55cc5c,_0xc9b411);}}class K{['type'];['modelRange'];['_domNode'];['_offset'];constructor({type:_0xd65388,modelRange:_0x577741,domNode:_0xef3954,offset:_0x4134f9}){this['type']=_0xd65388,this['modelRange']=_0x577741,this['_domNode']=_0xef3954,this['_offset']=_0x4134f9;}get['offset'](){if(!this['_domNode']['ownerDocument']['body']['contains'](this['_domNode']))return 0x0;const _0x4da953=new _0x336f93(S(this['_domNode'])?this['_domNode']:P(this['_domNode']));return'manual'==this['type']?_0x4da953['top']+_0x4da953['height']/0x2:_0x4da953['top']+this['_offset'];}}function m(_0x349603,_0x27453a,_0x4d9e07){const _0x19f69b=P(_0x349603),_0x4de646=function(_0x320eb7){const _0xb65da7=_0x58e437['document']['createRange']();return _0xb65da7['selectNodeContents'](_0x320eb7),_0xb65da7;}(_0x4d9e07);let _0x247102;_0x247102=0x0==_0x27453a?b(_0x4de646['startContainer'],_0x4de646['startOffset'],_0x349603['parentNode'],Array['from'](_0x349603['parentNode']['childNodes'])['indexOf'](_0x349603)):b(_0x4de646['startContainer'],_0x4de646['startOffset'],_0x349603,_0x27453a);const _0x6aa297=b(_0x349603,_0x27453a,_0x4de646['endContainer'],_0x4de646['endOffset']),_0x118886=new _0x336f93(_0x247102)['bottom'];return(new _0x336f93(_0x6aa297)['top']+_0x118886)/0x2-new _0x336f93(_0x19f69b)['top'];}function p(_0x510370){return _0x510370['hasAttribute']('width')&&_0x510370['hasAttribute']('height')?Promise['resolve']():new Promise(_0x25d1d6=>{function _0x540e27(){_0x510370['removeEventListener']('load',_0x540e27),_0x510370['removeEventListener']('error',_0x540e27),_0x25d1d6();}_0x510370['complete']?_0x25d1d6():(_0x510370['addEventListener']('load',_0x540e27),_0x510370['addEventListener']('error',_0x540e27));});}function y(_0x588802){return new Promise(_0xffe90b=>setTimeout(_0xffe90b,_0x588802));}function P(_0x204e64){const _0x313d8c=_0x58e437['document']['createRange']();return _0x313d8c['selectNode'](_0x204e64),_0x313d8c;}function k(_0x4a3b77,_0x31fe4d,_0x5a5963){const _0x14c109=_0x58e437['document']['createRange']();return _0x14c109['setStart'](_0x4a3b77,_0x31fe4d),_0x14c109['setEnd'](_0x4a3b77,_0x5a5963),_0x14c109;}function b(_0x13bfda,_0x4cf3a9,_0x18ed1e,_0xf721c8){const _0x53e39e=_0x58e437['document']['createRange']();return _0x53e39e['setStart'](_0x13bfda,_0x4cf3a9),_0x53e39e['setEnd'](_0x18ed1e,_0xf721c8),_0x53e39e;}function x(_0x1b2a2c,_0x29e5a7,_0x1f03d8,_0x1c4a33,_0x36dbba){const _0x526cbd=[];for(const [_0x2ab1d5,_0x227e66]of _0x1b2a2c['childNodes']['entries']()){let _0x445f69=[];S(_0x227e66)&&_0x227e66['offsetParent']&&!_0x227e66['style']['position']?_0x445f69=_(_0x227e66,_0x2ab1d5,_0x29e5a7,_0x1f03d8,_0x1c4a33,_0x36dbba):R(_0x227e66)&&(_0x445f69=B(_0x227e66,_0x2ab1d5,_0x29e5a7,_0x1f03d8,_0x36dbba)),_0x445f69['length']&&(_0x526cbd['push'](..._0x445f69),_0x29e5a7+=_0x445f69['length']*_0x1f03d8,_0x36dbba=!0x1);}return _0x526cbd;}function _(_0x324eb1,_0x2526d3,_0x23dcfc,_0x1e2bb6,_0x3f2be0,_0x535e29){const _0x1c2a22=[];var _0x2b5197;if((_0x2b5197=_0x324eb1['previousSibling'])&&S(_0x2b5197)&&Boolean(_0x2b5197['classList']['contains']('page-break')||_0x2b5197['closest']('.page-break'))&&(_0x1c2a22['push']({'type':'manual','offset':0x0,'path':[_0x2526d3-0x1]}),_0x535e29=!0x0),'table-row'==_0x58e437['window']['getComputedStyle'](_0x324eb1)['display']){let _0x433825=0x0,_0x5047e9=!0x1;for(const _0x5cccca of _0x324eb1['getClientRects']())_0x433825+=_0x5cccca['height'],_0x5cccca['left']>=_0x23dcfc&&(_0x5047e9=!0x0);if(_0x433825<_0x3f2be0&&_0x5047e9)return _0x1c2a22['push']({'type':'element','offset':0x0,'path':[_0x2526d3]}),_0x1c2a22;}const _0x242c29=_0x324eb1['closest']('figure.image');if(_0x242c29&&function(_0x122761){let _0x4a8d4b=!0x1;const _0x5cc14f=_0x122761['parentElement'],_0x2278a8=_0x5cc14f['dataset']['rootName'],_0x226ea8=_0x122761['nextElementSibling'],_0x28a91e=_0x122761['previousElementSibling'],_0x49e48a=_0x226ea8&&_0x58e437['window']['getComputedStyle'](_0x226ea8)['float'],_0x33d0bb=_0x226ea8&&'ck-fake-selection-container'===_0x226ea8['className'];!_0x2278a8||_0x226ea8||_0x28a91e||(_0x4a8d4b=!0x0),_0x2278a8&&!_0x28a91e&&_0x33d0bb&&(_0x4a8d4b=!0x0),_0x2278a8&&!_0x28a91e&&'none'!==_0x49e48a&&(_0x4a8d4b=!0x0);if(_0x4a8d4b)return!0x1;return!0x0;}(_0x242c29)){const _0x56fcbc=_0x58e437['window']['getComputedStyle'](_0x242c29)['float'];if('left'==_0x56fcbc||'right'==_0x56fcbc)return _0x1c2a22;}const _0x111dd3=x(_0x324eb1,_0x23dcfc,_0x1e2bb6,_0x3f2be0,_0x535e29);if(_0x111dd3['length']){for(const _0x52ebee of _0x111dd3)_0x1c2a22['push']({'type':_0x52ebee['type'],'offset':_0x52ebee['offset'],'textOffset':_0x52ebee['textOffset'],'path':[_0x2526d3,..._0x52ebee['path']]}),_0x23dcfc+=_0x1e2bb6,_0x535e29=!0x1;return _0x1c2a22;}return _0x1c2a22['push'](...function(_0x35d2e7,_0x522f71,_0x37bc6a,_0x49c940,_0x7d84e7){const _0x2b3635=[];if('table-cell'==_0x58e437['window']['getComputedStyle'](_0x35d2e7)['display'])return[];const _0x210f64=[];for(const _0x4c5fab of _0x35d2e7['getClientRects']())if(_0x4c5fab['left']>=_0x37bc6a){for(const _0xc8793f of _0x210f64)_0xc8793f['height']+=_0x4c5fab['height'];_0x210f64['push']({'height':_0x4c5fab['height']}),_0x37bc6a+=_0x49c940;}for(const _0x318e28 of _0x210f64)_0x7d84e7||_0x2b3635['push']({'type':'element','offset':_0x318e28['height'],'textOffset':0x0,'path':[_0x522f71]}),_0x7d84e7=!0x1;return _0x2b3635;}(_0x324eb1,_0x2526d3,_0x23dcfc,_0x1e2bb6,_0x535e29)),_0x1c2a22;}function B(_0x40709d,_0x3a93fe,_0x59ef4e,_0x2866a4,_0x3ec9b5){const _0x53bc1a=P(_0x40709d),_0x1d1026=[];let _0x2cbe50=0x0;for(const _0x147165 of _0x53bc1a['getClientRects']())if(_0x147165['left']>=_0x59ef4e){const _0x5ed775=I(_0x40709d,_0x2cbe50,_0x59ef4e,_0x2866a4);_0x3ec9b5||_0x1d1026['push']({'type':'text','path':[_0x3a93fe],'textOffset':_0x5ed775}),_0x2cbe50=_0x5ed775,_0x59ef4e+=_0x2866a4,_0x3ec9b5=!0x1;}return _0x1d1026;}function I(_0x224855,_0xb97e9d,_0xf885d,_0x2b38ff){let _0x118ba4=_0xb97e9d,_0x180526=_0x224855['length'];for(;_0x180526-_0x118ba4>0x1;){const _0x15ada6=Math['ceil']((_0x118ba4+_0x180526)/0x2);N(k(_0x224855,_0x118ba4,_0x15ada6),_0xf885d,_0x2b38ff)?_0x180526=_0x15ada6:_0x118ba4=_0x15ada6;}return _0x118ba4;}function N(_0x1e3da3,_0x18e9d2,_0x311b20){for(const _0x545c1d of _0x1e3da3['getClientRects']())if(_0x545c1d['left']>=_0x18e9d2&&_0x545c1d['left']<_0x18e9d2+_0x311b20)return!0x0;return!0x1;}function S(_0x2e7ebe){return _0x2e7ebe['nodeType']==Node['ELEMENT_NODE'];}function R(_0x27701e){return _0x27701e['nodeType']==Node['TEXT_NODE'];}const z=_0x4bfea4('px');class V extends _0x24eb69{constructor(){super();const _0x1cd094=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0x1cd094['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0x1cd094['if']('isVisible','ck-hidden',_0xc05097=>!_0xc05097)],'style':{'left':_0x1cd094['to']('left',_0x4a647e=>z(_0x4a647e)),'top':_0x1cd094['to']('top',_0x3309c4=>z(_0x3309c4)),'width':_0x1cd094['to']('width',_0x328f54=>z(_0x328f54))}}});}}class E{['_viewCollection'];['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0x33b86f){this['_viewCollection']=_0x33b86f['ui']['view']['body'];}['destroy'](){for(const _0x1cd80e of this['_hiddenLines'])_0x1cd80e['destroy']();}['cleanLines'](){for(const _0x354658 of this['_visibleLines'])_0x354658['isVisible']=!0x1,this['_hiddenLines']['add'](_0x354658);this['_visibleLines']['clear']();}['showLine'](_0x443bbd,_0x4b2fe9,_0x21e3f0,_0x2a9391){let _0x524adb;this['_hiddenLines']['size']?(_0x524adb=_0x32ed4b(this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0x524adb)):_0x524adb=new V(),_0x524adb['set']({'pageNumber':_0x2a9391,'left':_0x443bbd,'top':_0x4b2fe9,'width':_0x21e3f0}),_0x524adb['isVisible']=!0x0,this['_viewCollection']['has'](_0x524adb)||this['_viewCollection']['add'](_0x524adb),this['_visibleLines']['add'](_0x524adb);}['setViewCollection'](_0x4502bf){for(const _0x21c69b of[...this['_visibleLines'],...this['_hiddenLines']])this['_viewCollection']['has'](_0x21c69b)&&this['_viewCollection']['remove'](_0x21c69b);this['_viewCollection']=_0x4502bf;}}const L='ck-pagination_enabled';class c extends _0x3f5ba0{['linesRepository'];['_scrollableEditingRootDomAncestor']=null;['_resizeObserver']=null;['_paginationLookupPlugin'];static get['pluginName'](){return'PaginationRenderer';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['set']({'pageNumber':0x1}),this['linesRepository']=new E(this['editor']),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']=null,this['_paginationLookupPlugin']=this['editor']['plugins']['get']('PaginationLookup'),this['bind']('isEnabled')['to'](this['editor']['plugins']['get']('PaginationEditing')),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['_toggleEditingRootsClass'](L),this['on']('change:isEnabled',(_0x426ece,_0x5c6359,_0x3534e4)=>{_0x3534e4||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](L,_0x3534e4);});}['destroy'](){this['_toggleEditingRootsClass'](L,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0x5506f8){if(!this['isEnabled'])return;const _0x4c0833=_0x5506f8>0x1?this['_getPageBreakLineOffset'](_0x5506f8-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0x4c0833-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':_0x288504['isMotionReduced']?'instant':'smooth'});}['setupScrollableAncestor'](){const _0xe1e33a=this['editor'],_0x32922f=this['_getAttachedDomRoot']();_0x32922f?(this['_scrollableEditingRootDomAncestor']&&_0xe1e33a['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=function(_0x200989){let _0x4b59e0=_0x200989;do{_0x4b59e0=_0x4b59e0['parentElement'];const _0x50cdc7=_0x58e437['window']['getComputedStyle'](_0x4b59e0)['overflowY'];if('auto'==_0x50cdc7||'scroll'==_0x50cdc7)break;}while('BODY'!=_0x4b59e0['tagName']);return _0x4b59e0;}(_0x32922f),_0xe1e33a['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new _0x2b6ce2(this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0xe1e33a['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0x3c244b=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0x3c244b['ui']['view']['listenTo'](_0x58e437['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0x3c244b['ui']['once']('update',()=>this['_onUiReady']());}['_getAttachedDomRoot'](){for(const _0x28f1ad of this['editor']['editing']['view']['domRoots']['values']())if(_0x28f1ad['ownerDocument']['body']['contains'](_0x28f1ad))return _0x28f1ad;return null;}['_updatePageBreakLines'](){if(!this['isEnabled'])return;const _0x5d89fe=this['_getAttachedDomRoot'](),_0x2cf68e=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0x5d89fe||0x1==_0x2cf68e['length'])return void(this['pageNumber']=0x1);const _0x1a2ac6=new _0x336f93(_0x5d89fe)['excludeScrollbarsAndBorders'](),_0x2b90d1=new _0x336f93(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0x185c4f=_0x2b90d1['top']+_0x2b90d1['height']/0x3;let _0x4c43b0=!0x1;const _0x1f5b2a=[];for(let _0x2d0bfc=0x1;_0x2d0bfc<_0x2cf68e['length'];_0x2d0bfc++){const _0x195577=this['_getPageBreakLineOffset'](_0x2d0bfc,_0x2b90d1);if(!_0x195577)continue;const _0x1d7d1f=_0x2b90d1['top']+_0x195577-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0x1f5b2a['push']({'pageOffsetTop':_0x1d7d1f,'domRootRect':_0x1a2ac6,'domScrollableRect':_0x2b90d1,'pageNumber':_0x2d0bfc}),_0x1d7d1f>_0x185c4f&&!_0x4c43b0&&(this['pageNumber']=_0x2d0bfc,_0x4c43b0=!0x0);}this['_renderPageBreakLines'](_0x1f5b2a),_0x4c43b0||(this['pageNumber']=_0x2cf68e['length']);}['_renderPageBreakLines'](_0x3de2d4){const {scrollX:_0x24ed7b,scrollY:_0x5661c6}=_0x58e437['window'];if(_0x3de2d4['length']){for(const {domScrollableRect:_0x587b6e,pageOffsetTop:_0x5b527f,domRootRect:_0x1f6b2d,pageNumber:_0x281deb}of _0x3de2d4)_0x587b6e['top']<_0x5b527f&&_0x5b527f<_0x587b6e['bottom']&&this['linesRepository']['showLine'](_0x1f6b2d['left']+_0x24ed7b,_0x5b527f+_0x5661c6,_0x1f6b2d['width'],_0x281deb+0x1);}}['_getPageBreakLineOffset'](_0x25e573,_0x12f10d=null){const _0x3ef2a7=this['_paginationLookupPlugin']['pageBreaks'][_0x25e573]['offset'];return _0x3ef2a7?(_0x12f10d||(_0x12f10d=new _0x336f93(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0x3ef2a7-_0x12f10d['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}['_toggleEditingRootsClass'](_0x377e73,_0x413dd2=!0x0){const _0x159a10=this['editor']['editing']['view'];_0x159a10['change'](_0x36a933=>{for(const _0x45a7f5 of _0x159a10['document']['roots'])_0x413dd2?_0x36a933['addClass'](_0x377e73,_0x45a7f5):_0x36a933['removeClass'](_0x377e73,_0x45a7f5);});}}function g(_0x2b19ab,_0x3cfdcc,..._0x39f30){const t=_0x2b19ab['t'];switch(_0x3cfdcc){case'Go\x20to\x20next\x20page':return t('Go\x20to\x20next\x20page');case'Go\x20to\x20previous\x20page':return t('Go\x20to\x20previous\x20page');case'Current\x20page\x20number\x20(from\x201\x20to\x20%0)':return t('Current\x20page\x20number\x20(from\x201\x20to\x20%0)',..._0x39f30);case'Keystrokes\x20for\x20navigating\x20through\x20documents':return t('Keystrokes\x20for\x20navigating\x20through\x20documents');case'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':return t('Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)');case'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':return t('Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)');default:return _0x3cfdcc;}}class s extends _0x3f5ba0{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'PaginationEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[n,c];}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x1a37ab=this['editor']['plugins']['get']('Pagination'),_0x4abac4=this['editor']['plugins']['get'](n),_0x17d3c3=this['editor']['plugins']['get'](c);this['bind']('isEnabled')['to'](_0x1a37ab),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0x17d3c3),this['listenTo'](_0x4abac4,'change:pageBreaks',(_0x2b31e4,_0x186954,_0x3028ba,_0x5bd6b7)=>{this['totalPages']=_0x3028ba['length'],this['_updatePageBreakMarkers'](_0x3028ba,_0x5bd6b7);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x836f6e=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1ec3aa;for(const _0x18802f in _0x836f6e){const _0x37bbac=_0x18802f,_0x3c9f3d=_0x836f6e[_0x37bbac];if('paginationLicenseKeyValid'==_0x3c9f3d||'paginationLicenseKeyInvalid'==_0x3c9f3d||'paginationLicenseKeyExpired'==_0x3c9f3d||'paginationLicenseKeyDomainLimit'==_0x3c9f3d||'paginationLicenseKeyNotAllowed'==_0x3c9f3d||'paginationLicenseKeyEvaluationLimit'==_0x3c9f3d||'paginationLicenseKeyTrialLimit'==_0x3c9f3d||'paginationLicenseKeyUsageLimit'==_0x3c9f3d){delete _0x836f6e[_0x37bbac],_0x1ec3aa=_0x3c9f3d,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0x1ec3aa&&_0x836f6e['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0x1ec3aa&&_0x836f6e['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0x1ec3aa&&_0x836f6e['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0x1ec3aa&&_0x836f6e['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0x1ec3aa&&_0x836f6e['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyTrialLimit'==_0x1ec3aa&&_0x836f6e['_showLicenseError']('trialLimit'),'paginationLicenseKeyUsageLimit'==_0x1ec3aa&&_0x836f6e['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0x43f222){if(!this['isEnabled'])return;this['editor']['plugins']['get'](c)['scrollToPage'](this['_validatePageNumber'](_0x43f222));}['moveSelectionToPage'](_0x57331a){if(!this['isEnabled'])return;const _0x1606c9=this['editor'],_0x17f6d2=this['editor']['plugins']['get'](n)['pageBreaks'][_0x57331a-0x1];_0x17f6d2&&_0x1606c9['model']['change'](_0x4257d1=>{switch(_0x17f6d2['type']){case'manual':{const _0x1a5f6b=_0x1606c9['model']['schema']['getNearestSelectionRange'](_0x17f6d2['modelRange']['end'],'forward');_0x4257d1['setSelection'](_0x1a5f6b);break;}case'element':{const _0x324b1a=_0x1606c9['model']['schema']['getNearestSelectionRange'](_0x17f6d2['modelRange']['start'],'forward');_0x4257d1['setSelection'](_0x324b1a);break;}case'text':{const _0x7b7ce7=_0x17f6d2['modelRange']['start'];if(_0x7b7ce7['textNode']&&'\x20'===_0x7b7ce7['textNode']['data'][_0x7b7ce7['offset']]){const _0x62add9=_0x4257d1['createPositionAt'](_0x7b7ce7['parent'],_0x7b7ce7['offset']+0x1);_0x4257d1['setSelection'](_0x62add9);}else _0x4257d1['setSelection'](_0x17f6d2['modelRange']);}}_0x1606c9['editing']['view']['focus']();});}['goToNextPage'](){const _0x5ea083=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0x5ea083),this['scrollToPage'](_0x5ea083);}['goToPreviousPage'](){const _0x364ef2=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0x364ef2),this['scrollToPage'](_0x364ef2);}['_updatePageBreakMarkers'](_0x3281b8,_0x15a33e){const _0x3db4b2=this['editor']['model'];this['isEnabled']&&_0x3db4b2['change'](_0x2238d6=>{for(let _0x8cd6e0=0x1;_0x8cd6e0<_0x3281b8['length'];_0x8cd6e0++){const _0x58d9be=_0x3281b8[_0x8cd6e0]['modelRange'],_0xa7f8d7='pagination:'+(_0x8cd6e0+0x1);_0x3db4b2['markers']['has'](_0xa7f8d7)?_0x2238d6['updateMarker'](_0xa7f8d7,{'range':_0x58d9be}):_0x2238d6['addMarker'](_0xa7f8d7,{'range':_0x58d9be,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0xfd36a1=_0x3281b8['length'];_0xfd36a1<_0x15a33e['length'];_0xfd36a1++){const _0x121621='pagination:'+(_0xfd36a1+0x1);_0x3db4b2['markers']['has'](_0x121621)&&_0x2238d6['removeMarker'](_0x121621);}});}['_setUpDataDowncastConversion'](){const _0xdb0131='pagination';this['editor']['conversion']['for']('dataDowncast')['add'](_0x2a8f45=>{_0x2a8f45['on']('addMarker:'+_0xdb0131,(_0x4c8349,{markerRange:_0x2a78f2,markerName:_0x5b1ae5},_0x3b956a)=>{if(!_0x3b956a['options']['pagination'])return;if(!_0x3b956a['consumable']['consume'](_0x2a78f2,_0x4c8349['name']))return;const _0x289faa=_0x2a78f2['getContainedElement']();let _0xa14d81=_0x289faa?_0x3b956a['mapper']['toViewElement'](_0x289faa):null;if(!_0xa14d81){const _0x3f8e8b=_0x2a78f2['start'];if(_0x3b956a['schema']['checkChild'](_0x3f8e8b,'$text')){const _0x1f2b78=_0x3b956a['mapper']['toViewPosition'](_0x3f8e8b);_0xa14d81=_0x3b956a['writer']['createContainerElement']('span'),_0xa14d81['getFillerOffset']=()=>null,_0x3b956a['writer']['insert'](_0x1f2b78,_0xa14d81);}else{const _0x254fae=_0x3f8e8b['nodeAfter'];_0xa14d81=_0x3b956a['mapper']['toViewElement'](_0x254fae);}}for(;_0xa14d81['parent']!==_0xa14d81['root']&&0x0===_0xa14d81['index'];)_0xa14d81=_0xa14d81['parent'];const _0x537505=_0x5b1ae5['substring'](0xb);_0xa14d81['hasClass']('page-break')||(_0x3b956a['writer']['setStyle']('page-break-before','always',_0xa14d81),_0x3b956a['writer']['setAttribute']('data-pagination-page',_0x537505,_0xa14d81),_0x3b956a['mapper']['bindElementToMarker'](_0xa14d81,_0x5b1ae5)),_0x4c8349['stop']();});});}['_setupKeystrokes'](){const _0x29ac28=this['editor'];_0x29ac28['keystrokes']['set']('Shift+Pageup',(_0x2754d3,_0x4aa171)=>{this['goToPreviousPage'](),_0x4aa171();}),_0x29ac28['keystrokes']['set']('Shift+Pagedown',(_0x5d48c1,_0x556607)=>{this['goToNextPage'](),_0x556607();}),_0x29ac28['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':g(_0x29ac28['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':g(_0x29ac28['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':g(_0x29ac28['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}['_validatePageNumber'](_0x3e7fbb){return _0x3e7fbb<0x1&&(_0x3e7fbb=0x1),_0x3e7fbb>this['totalPages']&&(_0x3e7fbb=this['totalPages']),_0x3e7fbb;}}class U extends _0x24eb69{['pageNumberView'];constructor(_0x3c535c){super(_0x3c535c);const _0x5799df=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new _0x4f5e1f(_0x3c535c,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0xf9558a=>g(_0x3c535c,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0xf9558a)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0x14d4a9=>!_0x14d4a9),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0x5799df['if']('isEnabled','ck-disabled',_0x53e18e=>!_0x53e18e)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0x5799df['to']('totalPages')}]}]});}['render'](){super['render']();const _0x4a8169=this['pageNumberView']['element'],_0x26514b=_0x5f1236=>{this['pageNumberView']['element']['value']=String(_0x5f1236);};_0x26514b(this['pageNumber']),this['on']('change:pageNumber',(_0x1066be,_0x24e415,_0x545570)=>{_0x26514b(_0x545570);}),this['listenTo'](_0x4a8169,'keydown',(_0x30cac5,_0x4a2ea3)=>{if('ArrowUp'===_0x4a2ea3['key']||'ArrowDown'===_0x4a2ea3['key'])return void _0x4a2ea3['stopPropagation']();if(_0x4a2ea3['keyCode']!==_0x2a2a38['enter'])return;_0x4a2ea3['preventDefault']();const _0x61699=_0x4a8169['valueAsNumber'];Number['isNaN'](_0x61699)?_0x4a8169['value']=String(this['pageNumber']):(_0x4a8169['checkValidity']()?this['pageNumber']=_0x61699:_0x61699>this['totalPages']?(this['pageNumber']=this['totalPages'],_0x4a8169['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0x4a8169['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0x4a8169,'blur',()=>{_0x4a8169['value']=String(this['pageNumber']);}),this['listenTo'](_0x4a8169,'focus',()=>{this['pageNumberView']['select']();});}['focus'](){this['element']['firstChild']['focus']();}}class e extends _0x3f5ba0{static get['pluginName'](){return'PaginationUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x4e2581=this['editor'],_0x293881=_0x4e2581['plugins']['get']('PaginationEditing');_0x4e2581['ui']['componentFactory']['add']('pageNavigation',_0x423a69=>{const _0x1c75b0=new U(_0x423a69);return _0x1c75b0['bind']('pageNumber')['to'](_0x293881),_0x1c75b0['bind']('totalPages')['to'](_0x293881),_0x1c75b0['bind']('isEnabled')['to'](_0x293881),_0x1c75b0['on']('navigation',(_0x3e7db3,_0x4bda84)=>{_0x293881['moveSelectionToPage'](_0x4bda84),_0x293881['scrollToPage'](_0x4bda84);}),_0x1c75b0;}),_0x4e2581['ui']['componentFactory']['add']('nextPage',_0x4652c4=>{const _0x26d91a=new _0x502d74(_0x4652c4);return _0x26d91a['isEnabled']=!0x0,_0x26d91a['label']=g(_0x4e2581['locale'],'Go\x20to\x20next\x20page'),_0x26d91a['icon']=_0x3225ef,_0x26d91a['tooltip']=!0x0,_0x26d91a['keystroke']='Shift+PageDown',_0x26d91a['bind']('isEnabled')['to'](_0x293881),this['listenTo'](_0x26d91a,'execute',()=>{_0x293881['goToNextPage']();}),_0x26d91a;}),_0x4e2581['ui']['componentFactory']['add']('previousPage',_0x8353e0=>{const _0x428276=new _0x502d74(_0x8353e0);return _0x428276['isEnabled']=!0x0,_0x428276['label']=g(_0x4e2581['locale'],'Go\x20to\x20previous\x20page'),_0x428276['icon']=_0xf07fd7,_0x428276['tooltip']=!0x0,_0x428276['keystroke']='Shift+PageUp',_0x428276['bind']('isEnabled')['to'](_0x293881),this['listenTo'](_0x428276,'execute',()=>{_0x293881['goToPreviousPage']();}),_0x428276;});}}class a extends _0x3f5ba0{static get['pluginName'](){return'Pagination';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[s,e];}constructor(_0x39e1f7){super(_0x39e1f7),this['isEnabled']=!0x1;}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x30403c=this['editor']['plugins']['get'](s);this['bind']('pageNumber')['to'](_0x30403c),this['bind']('totalPages')['to'](_0x30403c),_0x288504['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0x922344){this['editor']['plugins']['get'](s)['scrollToPage'](_0x922344);}}export{a as Pagination,c as PaginationRenderer};
23
+ import{Plugin as _0x1f99f7}from'@ckeditor/ckeditor5-core/dist/index.js';import{View as _0x5aafcd,InputNumberView as _0x301ba0,ButtonView as _0x1c4a80}from'@ckeditor/ckeditor5-ui/dist/index.js';import{logWarning as _0x22d57e,Rect as _0x247ffc,global as _0x569c27,uid as _0x2411ff,toUnit as _0x502658,first as _0x266482,env as _0x30afc0,ResizeObserver as _0x2f6199,keyCodes as _0x1dc9b3}from'@ckeditor/ckeditor5-utils/dist/index.js';import{debounce as _0x2ececf}from'es-toolkit/compat';import{IconArrowDown as _0x28d1f2,IconArrowUp as _0x57bc69}from'@ckeditor/ckeditor5-icons/dist/index.js';class n extends _0x1f99f7{['_recalculatePageBreaksDebounced']=_0x2ececf(()=>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 _0x22d57e('pagination-config-not-found',this['editor']['config']);const _0x59ff3a=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0x59ff3a),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0x1eb328,_0x459d03,_0x1dee54)=>{_0x1dee54&&this['_recalculatePageBreaksDebounced']();});}['afterInit'](){!async function(_0x3ee327){const _0x4ff14f=_0x4b626d([0x55,0x46,0x33,0x5a,0x75,0x32,0x41,0x4a,0x52,0x50,0x45,0x57,0x30,0x67,0x72,0x42,0x76,0x37,0x6e,0x62,0x4b,0x64,0x78,0x77,0x70,0x65,0x49,0x6d,0x56,0x73,0x43,0x4e,0x74,0x7a,0x34,0x35,0x36,0x79,0x47,0x48,0x58,0x6a,0x63,0x39,0x4c,0x4d,0x4f,0x38,0x44,0x61,0x69,0x66,0x54,0x71,0x59,0x68,0x6b,0x53,0x6f,0x6c,0x31,0x51]),_0x29171a=0x200801c6,_0x5d8dc3=0x200f669e^_0x29171a,_0x432123=window[_0x4b626d([0x44,0x61,0x74,0x65])][_0x4b626d([0x6e,0x6f,0x77])](),_0x2491a8=_0x3ee327[_0x4b626d([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x333990=new window[(_0x4b626d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1364bf=>{_0x2491a8[_0x4b626d([0x6f,0x6e,0x63,0x65])](_0x4b626d([0x72,0x65,0x61,0x64,0x79]),_0x1364bf);}),_0x2f64dc={[_0x4b626d([0x6b,0x74,0x79])]:_0x4b626d([0x45,0x43]),[_0x4b626d([0x75,0x73,0x65])]:_0x4b626d([0x73,0x69,0x67]),[_0x4b626d([0x63,0x72,0x76])]:_0x4b626d([0x50,0x2d,0x32,0x35,0x36]),[_0x4b626d([0x78])]:_0x4b626d([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]),[_0x4b626d([0x79])]:_0x4b626d([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]),[_0x4b626d([0x61,0x6c,0x67])]:_0x4b626d([0x45,0x53,0x32,0x35,0x36])},_0xdd528a=_0x2491a8[_0x4b626d([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4b626d([0x67,0x65,0x74])](_0x4b626d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5b5d42(){let _0x132d8e,_0x22ccd0=null,_0x475bc9=null;try{if(_0xdd528a==_0x4b626d([0x47,0x50,0x4c]))return _0x4b626d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x132d8e=_0x1d77e7(),!_0x132d8e)return _0x4b626d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x132d8e[_0x4b626d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x475bc9=_0x3bed9c(_0x132d8e[_0x4b626d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x132d8e[_0x4b626d([0x6a,0x74,0x69])])),await _0x348448()?_0x1c4cfa()?_0x291f67()?_0x4b626d([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5c721f()?(_0x132d8e[_0x4b626d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4b626d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x22ccd0=_0x3d61b5(_0x4b626d([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x132d8e[_0x4b626d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4b626d([0x74,0x72,0x69,0x61,0x6c])&&(_0x22ccd0=_0x3d61b5(_0x4b626d([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3e578f()):_0x4b626d([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4b626d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4b626d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x29a692){return _0x4b626d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x291f67(){const _0x6d0826=[_0x4b626d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4b626d([0x74,0x72,0x69,0x61,0x6c])][_0x4b626d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x132d8e[_0x4b626d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x432123/0x3e8:0xe10*_0x5d8dc3;return _0x132d8e[_0x4b626d([0x65,0x78,0x70])]<_0x6d0826;}function _0x1c4cfa(){const _0xb05416=_0x132d8e[_0x4b626d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xb05416&&(!!_0xb05416[_0x4b626d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b626d([0x2a]))||!!_0xb05416[_0x4b626d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b626d([0x50,0x41,0x47])));}function _0x5c721f(){const _0x41fba6=_0x132d8e[_0x4b626d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x41fba6||0x0==_0x41fba6[_0x4b626d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x399eba}=new URL(window[_0x4b626d([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x41fba6[_0x4b626d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x399eba))return!0x0;const _0x4b25eb=_0x399eba[_0x4b626d([0x73,0x70,0x6c,0x69,0x74])](_0x4b626d([0x2e]));return _0x41fba6[_0x4b626d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xc813a3=>_0xc813a3[_0x4b626d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b626d([0x2a])))[_0x4b626d([0x6d,0x61,0x70])](_0x140a35=>_0x140a35[_0x4b626d([0x73,0x70,0x6c,0x69,0x74])](_0x4b626d([0x2e])))[_0x4b626d([0x73,0x6f,0x6d,0x65])](_0x5595ed=>_0x4b25eb[_0x4b626d([0x65,0x76,0x65,0x72,0x79])]((_0x3ef37b,_0x5decb6)=>_0x5595ed[_0x5decb6]===_0x3ef37b||_0x5595ed[_0x5decb6]===_0x4b626d([0x2a])));}function _0x3e578f(){return _0x22ccd0&&_0x475bc9?new window[(_0x4b626d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x552c37,_0x5d75f9)=>{_0x22ccd0[_0x4b626d([0x74,0x68,0x65,0x6e])](_0x552c37,_0x5d75f9),_0x475bc9[_0x4b626d([0x74,0x68,0x65,0x6e])](_0x851b33=>{_0x851b33!=_0x4b626d([0x56,0x61,0x6c,0x69,0x64])&&_0x552c37(_0x851b33);},_0x5d75f9);}):_0x22ccd0||_0x475bc9||_0x4b626d([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3bed9c(_0x4962cb,_0x3b28b9){return new window[(_0x4b626d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5001c8=>{if(_0xfc73a3())return _0x5001c8(_0x4b626d([0x56,0x61,0x6c,0x69,0x64]));_0x3c7f68(),_0x2491a8[_0x4b626d([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4b626d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1f5353=!0x1;const _0x2b91bb=_0x2411ff();function _0x573294(_0x51e962){return!!_0x51e962&&(typeof _0x51e962===_0x4b626d([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x51e962===_0x4b626d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x51e962[_0x4b626d([0x74,0x68,0x65,0x6e])]===_0x4b626d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x51e962[_0x4b626d([0x63,0x61,0x74,0x63,0x68])]===_0x4b626d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x35d46b(_0x403611){_0x4281f4(_0x403611)[_0x4b626d([0x74,0x68,0x65,0x6e])](_0xce6eac=>{if(!_0xce6eac||_0xce6eac[_0x4b626d([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4b626d([0x6f,0x6b]))return _0x4b626d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4ba625(_0x3f0b0f(_0x2b91bb+_0x3b28b9))!=_0xce6eac[_0x4b626d([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4b626d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4b626d([0x56,0x61,0x6c,0x69,0x64]);})[_0x4b626d([0x74,0x68,0x65,0x6e])](_0x5ef7c8=>(_0x121ecf(),_0x5ef7c8),()=>{const _0xae87e7=_0xb8f1ac();return null==_0xae87e7?(_0x121ecf(),_0x4b626d([0x56,0x61,0x6c,0x69,0x64])):_0x4b626d(_0x432123-_0xae87e7>(0x40485c6^_0x29171a)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4b626d([0x74,0x68,0x65,0x6e])](_0x5001c8)[_0x4b626d([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5001c8(_0x4b626d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x24182f=0x203eef46^_0x29171a;function _0x121ecf(){const _0x428400=_0x4b626d([0x6c,0x6c,0x63,0x74,0x2d])+_0x4ba625(_0x3f0b0f(_0x4962cb)),_0x4cb2b7=_0x2dc378(_0x4ba625(window[_0x4b626d([0x4d,0x61,0x74,0x68])][_0x4b626d([0x63,0x65,0x69,0x6c])](_0x432123/_0x24182f)));window[_0x4b626d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4b626d([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x428400,_0x4cb2b7);}function _0xb8f1ac(){const _0x3fc5f5=_0x4b626d([0x6c,0x6c,0x63,0x74,0x2d])+_0x4ba625(_0x3f0b0f(_0x4962cb)),_0x382da9=window[_0x4b626d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4b626d([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3fc5f5);return _0x382da9?window[_0x4b626d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2dc378(_0x382da9),0x10)*_0x24182f:null;}function _0x4281f4(_0xb99d14){return new window[(_0x4b626d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2c1c65,_0x1b3b2c)=>{_0xb99d14[_0x4b626d([0x74,0x68,0x65,0x6e])](_0x2c1c65,_0x1b3b2c),window[_0x4b626d([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1b3b2c,0x2009d506^_0x29171a);});}}_0x2491a8[_0x4b626d([0x6f,0x6e])](_0x4b626d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x522163,_0x53805b)=>{if(_0x53805b[0x0]!=_0x4962cb)return _0x5001c8(_0x4b626d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x53805b[0x1]={..._0x53805b[0x1],[_0x4b626d([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2b91bb};},{[_0x4b626d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4b626d([0x68,0x69,0x67,0x68])}),_0x2491a8[_0x4b626d([0x6f,0x6e])](_0x4b626d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x93cbef=>{_0x573294(_0x93cbef[_0x4b626d([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1f5353=!0x0,_0x35d46b(_0x93cbef[_0x4b626d([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4b626d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4b626d([0x6c,0x6f,0x77])}),_0x333990[_0x4b626d([0x74,0x68,0x65,0x6e])](()=>{_0x1f5353||_0x5001c8(_0x4b626d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xfc73a3(){return _0x2491a8[_0x4b626d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4b626d([0x76,0x69,0x65,0x77])][_0x4b626d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4b626d([0x61,0x75,0x74,0x6f]);}function _0x3c7f68(){_0x2491a8[_0x4b626d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4b626d([0x76,0x69,0x65,0x77])][_0x4b626d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4b626d([0x61,0x75,0x74,0x6f]);}}function _0x3d61b5(_0x4d0aba){const _0x52ade9=[new window[(_0x4b626d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xdaba1b=>setTimeout(_0xdaba1b,0x20013f0a^_0x29171a)),_0x333990[_0x4b626d([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4b626d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4e2442=>{let _0x1ce3e5=0x0;_0x2491a8[_0x4b626d([0x6d,0x6f,0x64,0x65,0x6c])][_0x4b626d([0x6f,0x6e])](_0x4b626d([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5790a0,_0x2510c3)=>{_0x2510c3[0x0][_0x4b626d([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1ce3e5++,_0x1ce3e5==(0x2008003e^_0x29171a)&&(_0x4e2442(),_0x5790a0[_0x4b626d([0x6f,0x66,0x66])]());});}))];return window[_0x4b626d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4b626d([0x72,0x61,0x63,0x65])](_0x52ade9)[_0x4b626d([0x74,0x68,0x65,0x6e])](()=>_0x4d0aba);}async function _0x530357(){await _0x333990,_0x2491a8[_0x4b626d([0x6d,0x6f,0x64,0x65,0x6c])][_0x4b626d([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x433ae6,_0x2491a8[_0x4b626d([0x6d,0x6f,0x64,0x65,0x6c])][_0x4b626d([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x433ae6,_0x2491a8[_0x4b626d([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4b626d([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x34f3dc(_0x367d8e){const _0xe3685f=_0x257dca();_0x2491a8[_0xe3685f]=_0x4b626d([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x367d8e,_0x367d8e!=_0x4b626d([0x56,0x61,0x6c,0x69,0x64])&&_0x530357();}function _0x257dca(){const _0x476c12=window[_0x4b626d([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4b626d([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4b626d([0x6e,0x6f,0x77])]())[_0x4b626d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4b626d([0x2e]),'');let _0x1b901b=_0x4b626d([0x55]);for(let _0x2f5a78=0x0;_0x2f5a78<_0x476c12[_0x4b626d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2f5a78+=0x2){let _0x20cbe9=window[_0x4b626d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x476c12[_0x4b626d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2f5a78,_0x2f5a78+0x2));_0x20cbe9>=_0x4ff14f[_0x4b626d([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x20cbe9-=_0x4ff14f[_0x4b626d([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1b901b+=_0x4ff14f[_0x20cbe9];}return _0x1b901b;}function _0x1d77e7(){const _0x5895b8=_0xdd528a[_0x4b626d([0x73,0x70,0x6c,0x69,0x74])](_0x4b626d([0x2e]));if(0x3!=_0x5895b8[_0x4b626d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5aca88(_0x5895b8[0x1]);function _0x5aca88(_0x3cc969){const _0x5c484c=_0xe8597c(_0x3cc969);return _0x5c484c&&_0x4570d8()?_0x5c484c:null;function _0x4570d8(){const _0x12c512=_0x5c484c[_0x4b626d([0x6a,0x74,0x69])],_0x27380b=window[_0x4b626d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x12c512[_0x4b626d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x12c512[_0x4b626d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1f5847={..._0x5c484c,[_0x4b626d([0x6a,0x74,0x69])]:_0x12c512[_0x4b626d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x12c512[_0x4b626d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1f5847[_0x4b626d([0x76,0x63])],_0x3f0b0f(_0x1f5847)==_0x27380b;}}}async function _0x348448(){let _0x46aee3=!0x0;try{const _0x3995d0=_0xdd528a[_0x4b626d([0x73,0x70,0x6c,0x69,0x74])](_0x4b626d([0x2e])),[_0x311ab0,_0x17d7c8,_0x3582be]=_0x3995d0;return _0x380077(_0x311ab0),await _0x5b0719(_0x311ab0,_0x17d7c8,_0x3582be),_0x46aee3;}catch(_0x33069d){return!0x1;}function _0x380077(_0x4a96b9){const _0x23db9b=_0xe8597c(_0x4a96b9);_0x23db9b&&_0x23db9b[_0x4b626d([0x61,0x6c,0x67])]==_0x4b626d([0x45,0x53,0x32,0x35,0x36])||(_0x46aee3=!0x1);}async function _0x5b0719(_0x19746b,_0x159a3d,_0x42857e){const _0x59359e=window[_0x4b626d([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4b626d([0x66,0x72,0x6f,0x6d])](_0x149563(_0x42857e),_0x399594=>_0x399594[_0x4b626d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x597bb8=new window[(_0x4b626d([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4b626d([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x19746b+_0x4b626d([0x2e])+_0x159a3d),_0x143f60=window[_0x4b626d([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4b626d([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x143f60)return;const _0xe8c4c6=await _0x143f60[_0x4b626d([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4b626d([0x6a,0x77,0x6b]),_0x2f64dc,{[_0x4b626d([0x6e,0x61,0x6d,0x65])]:_0x4b626d([0x45,0x43,0x44,0x53,0x41]),[_0x4b626d([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4b626d([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4b626d([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x143f60[_0x4b626d([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4b626d([0x6e,0x61,0x6d,0x65])]:_0x4b626d([0x45,0x43,0x44,0x53,0x41]),[_0x4b626d([0x68,0x61,0x73,0x68])]:{[_0x4b626d([0x6e,0x61,0x6d,0x65])]:_0x4b626d([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xe8c4c6,_0x59359e,_0x597bb8)||(_0x46aee3=!0x1);}}function _0xe8597c(_0x48d5e4){return _0x48d5e4[_0x4b626d([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4b626d([0x65,0x79]))?JSON[_0x4b626d([0x70,0x61,0x72,0x73,0x65])](_0x149563(_0x48d5e4)):null;}function _0x149563(_0x17db1e){return window[_0x4b626d([0x61,0x74,0x6f,0x62])](_0x17db1e[_0x4b626d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4b626d([0x2b]))[_0x4b626d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4b626d([0x2f])));}function _0x3f0b0f(_0x585250){let _0x11031e=0x1505;function _0x1df6fd(_0x217b19){for(let _0x1bad80=0x0;_0x1bad80<_0x217b19[_0x4b626d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1bad80++){const _0x345344=_0x217b19[_0x4b626d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1bad80);_0x11031e=(_0x11031e<<0x5)+_0x11031e+_0x345344,_0x11031e&=_0x11031e;}}function _0x548eb6(_0x28d5cd){Array[_0x4b626d([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x28d5cd)?_0x28d5cd[_0x4b626d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x548eb6):_0x28d5cd&&typeof _0x28d5cd==_0x4b626d([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4b626d([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x28d5cd)[_0x4b626d([0x73,0x6f,0x72,0x74])]()[_0x4b626d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5ebb22,_0x317a3f])=>{_0x1df6fd(_0x5ebb22),_0x548eb6(_0x317a3f);}):_0x1df6fd(window[_0x4b626d([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x28d5cd));}return _0x548eb6(_0x585250),_0x11031e>>>0x0;}function _0x4ba625(_0x125939){return _0x125939[_0x4b626d([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4b626d([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4b626d([0x30]));}function _0x2dc378(_0x201eed){return _0x201eed[_0x4b626d([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4b626d([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4b626d([0x6a,0x6f,0x69,0x6e])]('');}function _0x433ae6(){}function _0x4b626d(_0x25cc03){return _0x25cc03['map'](_0x1d5752=>String['fromCharCode'](_0x1d5752))['join']('');}_0x34f3dc(await _0x5b5d42());}(this);}['destroy'](){super['destroy'](),this['_pagesContainer']&&(this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0x288d38=this['editor'],_0x5ef149=_0x288d38['editing']['view'],_0x3c9643=this['_getAttachedDomRoot']();if(!_0x3c9643||0x0===_0x3c9643['childElementCount'])return void _0x288d38['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0x214442,pageHeight:_0x2c68db}=_0x288d38['config']['get']('pagination'),{top:_0x924cf8,left:_0x270802,bottom:_0xc3c564,right:_0x3cfd19}=this['_configuredPaddings'];this['_pagesContainer']=new _0x5aafcd(_0x288d38['locale']);const _0x4a62c0=this['_pagesContainer'];_0x4a62c0['set']('class',''),_0x4a62c0['setTemplate']({'tag':'div','attributes':{'contenteditable':!0x0,'style':{'columnWidth':_0x214442,'width':_0x214442,'height':'calc(\x20'+_0x2c68db+'\x20-\x20'+_0x924cf8+'\x20-\x20'+_0xc3c564+'\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0x3cfd19+'\x200\x20'+_0x270802,'columnGap':'100px','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'tabindex':'-1','class':_0x4a62c0['bindTemplate']['to']('class')}}),_0x4a62c0['render'](),_0x3c9643['parentNode']['insertBefore'](_0x4a62c0['element'],_0x3c9643['nextSibling']),this['listenTo'](_0x5ef149,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}['_getAttachedDomRoot'](){for(const _0x669732 of this['editor']['editing']['view']['domRoots']['values']())if(_0x669732['ownerDocument']['body']['contains'](_0x669732))return _0x669732;return null;}['_recalculatePageBreaks'](){if(!this['isEnabled'])return Promise['resolve']();const _0x1a2449=this['editor']['editing']['view'],_0x2ef7e0=this['_pagesContainer'],_0x30211b=this['_getAttachedDomRoot']();if(!_0x30211b)return Promise['resolve']();for(_0x2ef7e0['class']=['ck-reset','ck-pagination-view',..._0x30211b['classList']]['join']('\x20');_0x2ef7e0['element']['firstChild'];)_0x2ef7e0['element']['firstChild']['remove']();const _0x42db5d=Array['from'](_0x1a2449['domRoots']);_0x42db5d['sort'](([,_0x9fa34b],[,_0x4f739c])=>_0x9fa34b['compareDocumentPosition'](_0x4f739c)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0x425274,_0x494646]of _0x42db5d){const _0x58c870=_0x494646['cloneNode'](!0x0);'attributeStyleMap'in _0x58c870&&_0x58c870['attributeStyleMap']['clear'](),_0x58c870['className']='',_0x58c870['removeAttribute']('id'),_0x58c870['dataset']['rootName']=_0x425274,_0x2ef7e0['element']['append'](_0x58c870);}return function(_0xccbc28){return Promise['all'](_0xccbc28['map'](_0x3e96cf=>Promise['race']([p(_0x3e96cf),y(0x3e8)])));}(Array['from'](_0x2ef7e0['element']['querySelectorAll']('img')))['then'](()=>this['_updatePageBreaksData']());}['_updatePageBreaksData'](){const _0x3fb4b7=this['_pagesContainer']['element'];if(!_0x3fb4b7['ownerDocument']['body']['contains'](_0x3fb4b7))return;const _0x28013c=new _0x247ffc(_0x3fb4b7)['excludeScrollbarsAndBorders'](),_0x163c13=_0x569c27['window']['getComputedStyle'](_0x3fb4b7),_0x43ec67=parseFloat(_0x163c13['paddingLeft'])+parseFloat(_0x163c13['paddingRight']),_0x5de367=Math['floor'](_0x28013c['width']+0x64-_0x43ec67),_0x249b17=x(_0x3fb4b7,Math['floor'](_0x28013c['left']-_0x3fb4b7['scrollLeft']),_0x5de367,_0x28013c['height'])['map'](_0x42f759=>this['_mapPageStarterInfoToPageBreakInfo'](_0x42f759));_0x249b17['every'](_0x161f20=>!!_0x161f20)&&(this['pageBreaks']=_0x249b17);}['_mapPageStarterInfoToPageBreakInfo'](_0x29c5cf){const _0x26669b=this['editor']['editing']['view'],_0x26c97d=this['editor']['editing']['mapper'],_0x2c3f95=_0x26669b['domConverter'],_0x27de70=_0x29c5cf['path']['shift'](),_0x505d2b=this['_pagesContainer']['element']['childNodes'][_0x27de70]['dataset']['rootName'],_0x193e82=_0x26669b['getDomRoot'](_0x505d2b);if(!_0x193e82)return null;const _0x2beb38=function(_0xdf2805,_0x5009c4){let _0x5854a0=_0xdf2805;for(const _0x5b3679 of _0x5009c4['path']){if(!_0x5854a0)return null;_0x5854a0=_0x5854a0['childNodes'][_0x5b3679];}return _0x5854a0;}(_0x193e82,_0x29c5cf);if(!_0x2beb38)return null;const _0xe19ab9=_0x2c3f95['domPositionToView'](_0x2beb38,_0x29c5cf['textOffset']||0x0);return _0xe19ab9?'manual'==_0x29c5cf['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0xe19ab9,_0x2beb38):'text'==_0x29c5cf['type']&&_0x26c97d['toModelPosition'](_0xe19ab9)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0xe19ab9,_0x2beb38,_0x29c5cf['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0xe19ab9,_0x2beb38,_0x29c5cf['offset']):null;}['_mapManualPageStarterInfoToPageBreakInfo'](_0x307fbe,_0x6442c9){const _0xe9541f=this['editor']['model'],_0x286949=this['editor']['editing']['mapper']['toModelElement'](_0x307fbe['parent']),_0x218cfb=_0xe9541f['createRangeOn'](_0x286949);return new K({'type':'manual','modelRange':_0x218cfb,'domNode':_0x6442c9,'offset':0x0});}['_mapTextPageStarterInfoToPageBreakInfo'](_0x220bbd,_0x19b9e2,_0x1010bd){const _0x189996=this['editor']['model'],_0x3a8441=this['editor']['editing']['mapper'],_0x14df98=this['editor']['editing']['view']['domConverter'];if(_0x1010bd>=_0x19b9e2['length'])return null;const _0x245ab6=_0x3a8441['toModelPosition'](_0x220bbd),_0x3fa590=_0x189996['createRange'](_0x245ab6),_0x51ce2d=_0x3a8441['findMappedViewAncestor'](_0x220bbd),_0x4f2b95=_0x14df98['mapViewToDom'](_0x51ce2d);return new K({'type':'text','modelRange':_0x3fa590,'domNode':_0x19b9e2,'offset':m(_0x19b9e2,_0x1010bd,_0x4f2b95)});}['_mapElementPageStarterInfoToPageBreakInfo'](_0x4986fa,_0x253727,_0x3b0d9a){const _0x14efc1=this['editor']['model'],_0x16fdc4=this['editor']['editing'],_0x20c386=_0x16fdc4['mapper'],_0x2f2dd3=_0x16fdc4['view']['domConverter'],_0x351f6a=_0x20c386['findMappedViewAncestor'](_0x4986fa),_0x5bfd1e=_0x20c386['toModelElement'](_0x351f6a),_0x224103=function(_0x541cb5){const _0x4a8451=_0x541cb5['parent'],_0x5f5caa=_0x4a8451['root']['document']['model'],_0x4ee239=_0x4a8451['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0x3372ab=null;for(const _0x29ebd2 of _0x4ee239){if(_0x29ebd2['is']('rootElement'))return _0x3372ab;if(!_0x5f5caa['createPositionBefore'](_0x29ebd2)['isTouching'](_0x541cb5))return _0x3372ab;_0x3372ab=_0x29ebd2;}}(_0x14efc1['createPositionBefore'](_0x5bfd1e)),_0x2c5d6e=_0x224103||_0x5bfd1e;let _0x31c800=_0x20c386['toViewElement'](_0x2c5d6e),_0x4e2350=_0x14efc1['createRangeOn'](_0x2c5d6e);const _0x1c1fe2=_0x14efc1['createPositionBefore'](_0x2c5d6e)['nodeBefore'];if(_0x1c1fe2&&_0x1c1fe2['is']('element','imageBlock')){const _0x47000e=_0x20c386['toViewElement'](_0x1c1fe2),_0x37cfa6=_0x2f2dd3['mapViewToDom'](_0x47000e),_0x145b1d=_0x569c27['window']['getComputedStyle'](_0x37cfa6)['float'];'left'!=_0x145b1d&&'right'!=_0x145b1d||(_0x4e2350=_0x14efc1['createRangeOn'](_0x1c1fe2));}for(;_0x31c800['parent']!==_0x31c800['root']&&0x0===_0x31c800['index'];)_0x31c800=_0x31c800['parent'];const _0x420ab9=new _0x247ffc(S(_0x253727)?_0x253727:P(_0x253727)),_0x463a43=_0x3b0d9a?_0x420ab9['height']-_0x3b0d9a:0x0,_0x4df8ab=_0x2f2dd3['mapViewToDom'](_0x31c800),_0x37128b=new _0x247ffc(_0x4df8ab);return new K({'type':'element','modelRange':_0x4e2350,'domNode':_0x4df8ab,'offset':Math['round'](_0x463a43)?_0x463a43+_0x420ab9['top']-_0x37128b['top']:0x0});}get['_configuredPaddings'](){const _0x517c3a=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0x517c3a);}static['_findPageStarterInfos'](_0x4e1ab6,_0x33e4be,_0x14bc00,_0x26ff36,_0x1c15cd){return x(_0x4e1ab6,_0x33e4be,_0x14bc00,_0x26ff36,_0x1c15cd);}}class K{['type'];['modelRange'];['_domNode'];['_offset'];constructor({type:_0x1ac187,modelRange:_0x59ac9e,domNode:_0x483910,offset:_0x1f483f}){this['type']=_0x1ac187,this['modelRange']=_0x59ac9e,this['_domNode']=_0x483910,this['_offset']=_0x1f483f;}get['offset'](){if(!this['_domNode']['ownerDocument']['body']['contains'](this['_domNode']))return 0x0;const _0x3390a0=new _0x247ffc(S(this['_domNode'])?this['_domNode']:P(this['_domNode']));return'manual'==this['type']?_0x3390a0['top']+_0x3390a0['height']/0x2:_0x3390a0['top']+this['_offset'];}}function m(_0x44d44c,_0x23b372,_0x33a50a){const _0x573cb4=P(_0x44d44c),_0x55f9bf=function(_0x1a5b87){const _0x13185b=_0x569c27['document']['createRange']();return _0x13185b['selectNodeContents'](_0x1a5b87),_0x13185b;}(_0x33a50a);let _0x47627e;_0x47627e=0x0==_0x23b372?b(_0x55f9bf['startContainer'],_0x55f9bf['startOffset'],_0x44d44c['parentNode'],Array['from'](_0x44d44c['parentNode']['childNodes'])['indexOf'](_0x44d44c)):b(_0x55f9bf['startContainer'],_0x55f9bf['startOffset'],_0x44d44c,_0x23b372);const _0x3f068e=b(_0x44d44c,_0x23b372,_0x55f9bf['endContainer'],_0x55f9bf['endOffset']),_0x556feb=new _0x247ffc(_0x47627e)['bottom'];return(new _0x247ffc(_0x3f068e)['top']+_0x556feb)/0x2-new _0x247ffc(_0x573cb4)['top'];}function p(_0x133692){return _0x133692['hasAttribute']('width')&&_0x133692['hasAttribute']('height')?Promise['resolve']():new Promise(_0x2daffb=>{function _0x206263(){_0x133692['removeEventListener']('load',_0x206263),_0x133692['removeEventListener']('error',_0x206263),_0x2daffb();}_0x133692['complete']?_0x2daffb():(_0x133692['addEventListener']('load',_0x206263),_0x133692['addEventListener']('error',_0x206263));});}function y(_0xc34d44){return new Promise(_0x5073a4=>setTimeout(_0x5073a4,_0xc34d44));}function P(_0x3b808c){const _0xf8fc66=_0x569c27['document']['createRange']();return _0xf8fc66['selectNode'](_0x3b808c),_0xf8fc66;}function k(_0x46b9ee,_0x5885ca,_0x538fab){const _0x26bfd5=_0x569c27['document']['createRange']();return _0x26bfd5['setStart'](_0x46b9ee,_0x5885ca),_0x26bfd5['setEnd'](_0x46b9ee,_0x538fab),_0x26bfd5;}function b(_0x538bcd,_0x20db89,_0x2dc920,_0x234816){const _0x35918f=_0x569c27['document']['createRange']();return _0x35918f['setStart'](_0x538bcd,_0x20db89),_0x35918f['setEnd'](_0x2dc920,_0x234816),_0x35918f;}function x(_0xb69402,_0x28e045,_0x1ca72d,_0x595280,_0x7fe2bc){const _0x3e4ccf=[];for(const [_0x379941,_0x971fb7]of _0xb69402['childNodes']['entries']()){let _0x5865b7=[];S(_0x971fb7)&&_0x971fb7['offsetParent']&&!_0x971fb7['style']['position']?_0x5865b7=_(_0x971fb7,_0x379941,_0x28e045,_0x1ca72d,_0x595280,_0x7fe2bc):R(_0x971fb7)&&(_0x5865b7=B(_0x971fb7,_0x379941,_0x28e045,_0x1ca72d,_0x7fe2bc)),_0x5865b7['length']&&(_0x3e4ccf['push'](..._0x5865b7),_0x28e045+=_0x5865b7['length']*_0x1ca72d,_0x7fe2bc=!0x1);}return _0x3e4ccf;}function _(_0x3d9757,_0x4eacd0,_0x4abbac,_0x16e54a,_0x5bea0c,_0x306445){const _0x33ba2a=[];var _0x257abe;if((_0x257abe=_0x3d9757['previousSibling'])&&S(_0x257abe)&&Boolean(_0x257abe['classList']['contains']('page-break')||_0x257abe['closest']('.page-break'))&&(_0x33ba2a['push']({'type':'manual','offset':0x0,'path':[_0x4eacd0-0x1]}),_0x306445=!0x0),'table-row'==_0x569c27['window']['getComputedStyle'](_0x3d9757)['display']){let _0x489c46=0x0,_0x264c00=!0x1;for(const _0x28b8dd of _0x3d9757['getClientRects']())_0x489c46+=_0x28b8dd['height'],_0x28b8dd['left']>=_0x4abbac&&(_0x264c00=!0x0);if(_0x489c46<_0x5bea0c&&_0x264c00)return _0x33ba2a['push']({'type':'element','offset':0x0,'path':[_0x4eacd0]}),_0x33ba2a;}const _0x585fb0=_0x3d9757['closest']('figure.image');if(_0x585fb0&&function(_0x317f12){let _0x1d223c=!0x1;const _0x50d77b=_0x317f12['parentElement'],_0x2f178b=_0x50d77b['dataset']['rootName'],_0x1edc26=_0x317f12['nextElementSibling'],_0x1f6898=_0x317f12['previousElementSibling'],_0x59749e=_0x1edc26&&_0x569c27['window']['getComputedStyle'](_0x1edc26)['float'],_0x355a5b=_0x1edc26&&'ck-fake-selection-container'===_0x1edc26['className'];!_0x2f178b||_0x1edc26||_0x1f6898||(_0x1d223c=!0x0),_0x2f178b&&!_0x1f6898&&_0x355a5b&&(_0x1d223c=!0x0),_0x2f178b&&!_0x1f6898&&'none'!==_0x59749e&&(_0x1d223c=!0x0);if(_0x1d223c)return!0x1;return!0x0;}(_0x585fb0)){const _0x1909f0=_0x569c27['window']['getComputedStyle'](_0x585fb0)['float'];if('left'==_0x1909f0||'right'==_0x1909f0)return _0x33ba2a;}const _0x5484dc=x(_0x3d9757,_0x4abbac,_0x16e54a,_0x5bea0c,_0x306445);if(_0x5484dc['length']){for(const _0xb2c16d of _0x5484dc)_0x33ba2a['push']({'type':_0xb2c16d['type'],'offset':_0xb2c16d['offset'],'textOffset':_0xb2c16d['textOffset'],'path':[_0x4eacd0,..._0xb2c16d['path']]}),_0x4abbac+=_0x16e54a,_0x306445=!0x1;return _0x33ba2a;}return _0x33ba2a['push'](...function(_0x4d4e53,_0x3d2812,_0x507d52,_0xa290fb,_0x386951){const _0x2f1e48=[];if('table-cell'==_0x569c27['window']['getComputedStyle'](_0x4d4e53)['display'])return[];const _0x4beca0=[];for(const _0x35ffdd of _0x4d4e53['getClientRects']())if(_0x35ffdd['left']>=_0x507d52){for(const _0x4af7f0 of _0x4beca0)_0x4af7f0['height']+=_0x35ffdd['height'];_0x4beca0['push']({'height':_0x35ffdd['height']}),_0x507d52+=_0xa290fb;}for(const _0x4a1631 of _0x4beca0)_0x386951||_0x2f1e48['push']({'type':'element','offset':_0x4a1631['height'],'textOffset':0x0,'path':[_0x3d2812]}),_0x386951=!0x1;return _0x2f1e48;}(_0x3d9757,_0x4eacd0,_0x4abbac,_0x16e54a,_0x306445)),_0x33ba2a;}function B(_0x4bc5b1,_0x344ca6,_0x436826,_0x18422c,_0x161d1b){const _0x5acfeb=P(_0x4bc5b1),_0x345070=[];let _0x539fcf=0x0;for(const _0x148220 of _0x5acfeb['getClientRects']())if(_0x148220['left']>=_0x436826){const _0x9f0dd0=I(_0x4bc5b1,_0x539fcf,_0x436826,_0x18422c);_0x161d1b||_0x345070['push']({'type':'text','path':[_0x344ca6],'textOffset':_0x9f0dd0}),_0x539fcf=_0x9f0dd0,_0x436826+=_0x18422c,_0x161d1b=!0x1;}return _0x345070;}function I(_0x559334,_0x2b8aa3,_0x51ff90,_0x3867b4){let _0x1dd071=_0x2b8aa3,_0x359dfb=_0x559334['length'];for(;_0x359dfb-_0x1dd071>0x1;){const _0x15ef5f=Math['ceil']((_0x1dd071+_0x359dfb)/0x2);N(k(_0x559334,_0x1dd071,_0x15ef5f),_0x51ff90,_0x3867b4)?_0x359dfb=_0x15ef5f:_0x1dd071=_0x15ef5f;}return _0x1dd071;}function N(_0x16b19b,_0xd4a999,_0x2e20a8){for(const _0x50d301 of _0x16b19b['getClientRects']())if(_0x50d301['left']>=_0xd4a999&&_0x50d301['left']<_0xd4a999+_0x2e20a8)return!0x0;return!0x1;}function S(_0x2548e5){return _0x2548e5['nodeType']==Node['ELEMENT_NODE'];}function R(_0x148263){return _0x148263['nodeType']==Node['TEXT_NODE'];}const z=_0x502658('px');class V extends _0x5aafcd{constructor(){super();const _0x223677=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0x223677['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0x223677['if']('isVisible','ck-hidden',_0x210304=>!_0x210304)],'style':{'left':_0x223677['to']('left',_0x10ec45=>z(_0x10ec45)),'top':_0x223677['to']('top',_0x1d8bbe=>z(_0x1d8bbe)),'width':_0x223677['to']('width',_0x4f7fca=>z(_0x4f7fca))}}});}}class E{['_viewCollection'];['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0x1388a8){this['_viewCollection']=_0x1388a8['ui']['view']['body'];}['destroy'](){for(const _0xf5e7b6 of this['_hiddenLines'])_0xf5e7b6['destroy']();}['cleanLines'](){for(const _0x1be0df of this['_visibleLines'])_0x1be0df['isVisible']=!0x1,this['_hiddenLines']['add'](_0x1be0df);this['_visibleLines']['clear']();}['showLine'](_0x18a90b,_0x184022,_0x1adf36,_0x33ce91){let _0x38e659;this['_hiddenLines']['size']?(_0x38e659=_0x266482(this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0x38e659)):_0x38e659=new V(),_0x38e659['set']({'pageNumber':_0x33ce91,'left':_0x18a90b,'top':_0x184022,'width':_0x1adf36}),_0x38e659['isVisible']=!0x0,this['_viewCollection']['has'](_0x38e659)||this['_viewCollection']['add'](_0x38e659),this['_visibleLines']['add'](_0x38e659);}['setViewCollection'](_0x1d23d5){for(const _0x5dc7bb of[...this['_visibleLines'],...this['_hiddenLines']])this['_viewCollection']['has'](_0x5dc7bb)&&this['_viewCollection']['remove'](_0x5dc7bb);this['_viewCollection']=_0x1d23d5;}}const L='ck-pagination_enabled';class c extends _0x1f99f7{['linesRepository'];['_scrollableEditingRootDomAncestor']=null;['_resizeObserver']=null;['_paginationLookupPlugin'];static get['pluginName'](){return'PaginationRenderer';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['set']({'pageNumber':0x1}),this['linesRepository']=new E(this['editor']),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']=null,this['_paginationLookupPlugin']=this['editor']['plugins']['get']('PaginationLookup'),this['bind']('isEnabled')['to'](this['editor']['plugins']['get']('PaginationEditing')),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['_toggleEditingRootsClass'](L),this['on']('change:isEnabled',(_0x19be33,_0x252eaf,_0xb8b038)=>{_0xb8b038||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](L,_0xb8b038);});}['destroy'](){this['_toggleEditingRootsClass'](L,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0x3664c1){if(!this['isEnabled'])return;const _0x436a64=_0x3664c1>0x1?this['_getPageBreakLineOffset'](_0x3664c1-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0x436a64-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':_0x30afc0['isMotionReduced']?'instant':'smooth'});}['setupScrollableAncestor'](){const _0x2a5501=this['editor'],_0x4b28e6=this['_getAttachedDomRoot']();_0x4b28e6?(this['_scrollableEditingRootDomAncestor']&&_0x2a5501['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=function(_0x4b0e1b){let _0x9867f9=_0x4b0e1b;do{_0x9867f9=_0x9867f9['parentElement'];const _0x2ff01e=_0x569c27['window']['getComputedStyle'](_0x9867f9)['overflowY'];if('auto'==_0x2ff01e||'scroll'==_0x2ff01e)break;}while('BODY'!=_0x9867f9['tagName']);return _0x9867f9;}(_0x4b28e6),_0x2a5501['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new _0x2f6199(this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0x2a5501['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0x1d05b0=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0x1d05b0['ui']['view']['listenTo'](_0x569c27['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0x1d05b0['ui']['once']('update',()=>this['_onUiReady']());}['_getAttachedDomRoot'](){for(const _0x31d7d8 of this['editor']['editing']['view']['domRoots']['values']())if(_0x31d7d8['ownerDocument']['body']['contains'](_0x31d7d8))return _0x31d7d8;return null;}['_updatePageBreakLines'](){if(!this['isEnabled'])return;const _0x5968aa=this['_getAttachedDomRoot'](),_0x43fa90=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0x5968aa||0x1==_0x43fa90['length'])return void(this['pageNumber']=0x1);const _0x4362e6=new _0x247ffc(_0x5968aa)['excludeScrollbarsAndBorders'](),_0x35fd18=new _0x247ffc(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0xac9ce=_0x35fd18['top']+_0x35fd18['height']/0x3;let _0x4204b9=!0x1;const _0x1dbc9f=[];for(let _0x1a9361=0x1;_0x1a9361<_0x43fa90['length'];_0x1a9361++){const _0xf9c38c=this['_getPageBreakLineOffset'](_0x1a9361,_0x35fd18);if(!_0xf9c38c)continue;const _0x3cb074=_0x35fd18['top']+_0xf9c38c-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0x1dbc9f['push']({'pageOffsetTop':_0x3cb074,'domRootRect':_0x4362e6,'domScrollableRect':_0x35fd18,'pageNumber':_0x1a9361}),_0x3cb074>_0xac9ce&&!_0x4204b9&&(this['pageNumber']=_0x1a9361,_0x4204b9=!0x0);}this['_renderPageBreakLines'](_0x1dbc9f),_0x4204b9||(this['pageNumber']=_0x43fa90['length']);}['_renderPageBreakLines'](_0x3d72cf){const {scrollX:_0x1672de,scrollY:_0x1a24b5}=_0x569c27['window'];if(_0x3d72cf['length']){for(const {domScrollableRect:_0x3cf296,pageOffsetTop:_0x1c90c6,domRootRect:_0x28c7a5,pageNumber:_0x27106f}of _0x3d72cf)_0x3cf296['top']<_0x1c90c6&&_0x1c90c6<_0x3cf296['bottom']&&this['linesRepository']['showLine'](_0x28c7a5['left']+_0x1672de,_0x1c90c6+_0x1a24b5,_0x28c7a5['width'],_0x27106f+0x1);}}['_getPageBreakLineOffset'](_0x4729d8,_0x2f4fff=null){const _0x3bc214=this['_paginationLookupPlugin']['pageBreaks'][_0x4729d8]['offset'];return _0x3bc214?(_0x2f4fff||(_0x2f4fff=new _0x247ffc(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0x3bc214-_0x2f4fff['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}['_toggleEditingRootsClass'](_0x48e7d0,_0x390f0=!0x0){const _0x5edc48=this['editor']['editing']['view'];_0x5edc48['change'](_0x4f44fb=>{for(const _0x336ab3 of _0x5edc48['document']['roots'])_0x390f0?_0x4f44fb['addClass'](_0x48e7d0,_0x336ab3):_0x4f44fb['removeClass'](_0x48e7d0,_0x336ab3);});}}function g(_0x553ff2,_0x163198,..._0x570c24){const t=_0x553ff2['t'];switch(_0x163198){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)',..._0x570c24);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 _0x163198;}}class s extends _0x1f99f7{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'PaginationEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[n,c];}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x5d9960=this['editor']['plugins']['get']('Pagination'),_0x3992b8=this['editor']['plugins']['get'](n),_0x566143=this['editor']['plugins']['get'](c);this['bind']('isEnabled')['to'](_0x5d9960),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0x566143),this['listenTo'](_0x3992b8,'change:pageBreaks',(_0x36ca78,_0x2058f2,_0x547a44,_0x325596)=>{this['totalPages']=_0x547a44['length'],this['_updatePageBreakMarkers'](_0x547a44,_0x325596);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x5b6e85=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x39d35e;for(const _0x2da331 in _0x5b6e85){const _0xd34378=_0x2da331,_0x53165b=_0x5b6e85[_0xd34378];if('paginationLicenseKeyValid'==_0x53165b||'paginationLicenseKeyInvalid'==_0x53165b||'paginationLicenseKeyExpired'==_0x53165b||'paginationLicenseKeyDomainLimit'==_0x53165b||'paginationLicenseKeyNotAllowed'==_0x53165b||'paginationLicenseKeyEvaluationLimit'==_0x53165b||'paginationLicenseKeyTrialLimit'==_0x53165b||'paginationLicenseKeyUsageLimit'==_0x53165b){delete _0x5b6e85[_0xd34378],_0x39d35e=_0x53165b,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0x39d35e&&_0x5b6e85['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0x39d35e&&_0x5b6e85['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0x39d35e&&_0x5b6e85['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0x39d35e&&_0x5b6e85['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0x39d35e&&_0x5b6e85['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyTrialLimit'==_0x39d35e&&_0x5b6e85['_showLicenseError']('trialLimit'),'paginationLicenseKeyUsageLimit'==_0x39d35e&&_0x5b6e85['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0x1623e8){if(!this['isEnabled'])return;this['editor']['plugins']['get'](c)['scrollToPage'](this['_validatePageNumber'](_0x1623e8));}['moveSelectionToPage'](_0x11ca69){if(!this['isEnabled'])return;const _0x5eff1d=this['editor'],_0x48eaa0=this['editor']['plugins']['get'](n)['pageBreaks'][_0x11ca69-0x1];_0x48eaa0&&_0x5eff1d['model']['change'](_0x1dfd00=>{switch(_0x48eaa0['type']){case'manual':{const _0x3c5393=_0x5eff1d['model']['schema']['getNearestSelectionRange'](_0x48eaa0['modelRange']['end'],'forward');_0x1dfd00['setSelection'](_0x3c5393);break;}case'element':{const _0x14fd71=_0x5eff1d['model']['schema']['getNearestSelectionRange'](_0x48eaa0['modelRange']['start'],'forward');_0x1dfd00['setSelection'](_0x14fd71);break;}case'text':{const _0x5b5a36=_0x48eaa0['modelRange']['start'];if(_0x5b5a36['textNode']&&'\x20'===_0x5b5a36['textNode']['data'][_0x5b5a36['offset']]){const _0x37fd21=_0x1dfd00['createPositionAt'](_0x5b5a36['parent'],_0x5b5a36['offset']+0x1);_0x1dfd00['setSelection'](_0x37fd21);}else _0x1dfd00['setSelection'](_0x48eaa0['modelRange']);}}_0x5eff1d['editing']['view']['focus']();});}['goToNextPage'](){const _0x51c487=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0x51c487),this['scrollToPage'](_0x51c487);}['goToPreviousPage'](){const _0x3f0125=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0x3f0125),this['scrollToPage'](_0x3f0125);}['_updatePageBreakMarkers'](_0x2c426d,_0x28012a){const _0xa2de76=this['editor']['model'];this['isEnabled']&&_0xa2de76['change'](_0x32d4ef=>{for(let _0x4161c8=0x1;_0x4161c8<_0x2c426d['length'];_0x4161c8++){const _0x78ef43=_0x2c426d[_0x4161c8]['modelRange'],_0x4262ff='pagination:'+(_0x4161c8+0x1);_0xa2de76['markers']['has'](_0x4262ff)?_0x32d4ef['updateMarker'](_0x4262ff,{'range':_0x78ef43}):_0x32d4ef['addMarker'](_0x4262ff,{'range':_0x78ef43,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0x434dca=_0x2c426d['length'];_0x434dca<_0x28012a['length'];_0x434dca++){const _0x11bbc3='pagination:'+(_0x434dca+0x1);_0xa2de76['markers']['has'](_0x11bbc3)&&_0x32d4ef['removeMarker'](_0x11bbc3);}});}['_setUpDataDowncastConversion'](){const _0x252a19='pagination';this['editor']['conversion']['for']('dataDowncast')['add'](_0xc77d5f=>{_0xc77d5f['on']('addMarker:'+_0x252a19,(_0x3bca8d,{markerRange:_0x4f34e6,markerName:_0x582ebc},_0x4481f3)=>{if(!_0x4481f3['options']['pagination'])return;if(!_0x4481f3['consumable']['consume'](_0x4f34e6,_0x3bca8d['name']))return;const _0x3f263a=_0x4f34e6['getContainedElement']();let _0x4cc44e=_0x3f263a?_0x4481f3['mapper']['toViewElement'](_0x3f263a):null;if(!_0x4cc44e){const _0x3456f0=_0x4f34e6['start'];if(_0x4481f3['schema']['checkChild'](_0x3456f0,'$text')){const _0x5f2cc8=_0x4481f3['mapper']['toViewPosition'](_0x3456f0);_0x4cc44e=_0x4481f3['writer']['createContainerElement']('span'),_0x4cc44e['getFillerOffset']=()=>null,_0x4481f3['writer']['insert'](_0x5f2cc8,_0x4cc44e);}else{const _0x374bc7=_0x3456f0['nodeAfter'];_0x4cc44e=_0x4481f3['mapper']['toViewElement'](_0x374bc7);}}for(;_0x4cc44e['parent']!==_0x4cc44e['root']&&0x0===_0x4cc44e['index'];)_0x4cc44e=_0x4cc44e['parent'];const _0x3e5ff1=_0x582ebc['substring'](0xb);_0x4cc44e['hasClass']('page-break')||(_0x4481f3['writer']['setStyle']('page-break-before','always',_0x4cc44e),_0x4481f3['writer']['setAttribute']('data-pagination-page',_0x3e5ff1,_0x4cc44e),_0x4481f3['mapper']['bindElementToMarker'](_0x4cc44e,_0x582ebc)),_0x3bca8d['stop']();});});}['_setupKeystrokes'](){const _0xcad680=this['editor'];_0xcad680['keystrokes']['set']('Shift+Pageup',(_0x5b6dde,_0x2ecd8e)=>{this['goToPreviousPage'](),_0x2ecd8e();}),_0xcad680['keystrokes']['set']('Shift+Pagedown',(_0x251672,_0x314d26)=>{this['goToNextPage'](),_0x314d26();}),_0xcad680['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':g(_0xcad680['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':g(_0xcad680['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':g(_0xcad680['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}['_validatePageNumber'](_0xed8d63){return _0xed8d63<0x1&&(_0xed8d63=0x1),_0xed8d63>this['totalPages']&&(_0xed8d63=this['totalPages']),_0xed8d63;}}class U extends _0x5aafcd{['pageNumberView'];constructor(_0x2e13ff){super(_0x2e13ff);const _0x15ee22=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new _0x301ba0(_0x2e13ff,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0x3d4006=>g(_0x2e13ff,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0x3d4006)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0x25b322=>!_0x25b322),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0x15ee22['if']('isEnabled','ck-disabled',_0x38156d=>!_0x38156d)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0x15ee22['to']('totalPages')}]}]});}['render'](){super['render']();const _0x4c909d=this['pageNumberView']['element'],_0x20dccb=_0x54b518=>{this['pageNumberView']['element']['value']=String(_0x54b518);};_0x20dccb(this['pageNumber']),this['on']('change:pageNumber',(_0xb35523,_0x15ecb6,_0x54e5dd)=>{_0x20dccb(_0x54e5dd);}),this['listenTo'](_0x4c909d,'keydown',(_0x5651b5,_0x4b9bd9)=>{if('ArrowUp'===_0x4b9bd9['key']||'ArrowDown'===_0x4b9bd9['key'])return void _0x4b9bd9['stopPropagation']();if(_0x4b9bd9['keyCode']!==_0x1dc9b3['enter'])return;_0x4b9bd9['preventDefault']();const _0x5a3d83=_0x4c909d['valueAsNumber'];Number['isNaN'](_0x5a3d83)?_0x4c909d['value']=String(this['pageNumber']):(_0x4c909d['checkValidity']()?this['pageNumber']=_0x5a3d83:_0x5a3d83>this['totalPages']?(this['pageNumber']=this['totalPages'],_0x4c909d['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0x4c909d['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0x4c909d,'blur',()=>{_0x4c909d['value']=String(this['pageNumber']);}),this['listenTo'](_0x4c909d,'focus',()=>{this['pageNumberView']['select']();});}['focus'](){this['element']['firstChild']['focus']();}}class e extends _0x1f99f7{static get['pluginName'](){return'PaginationUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x22634d=this['editor'],_0x4ee055=_0x22634d['plugins']['get']('PaginationEditing');_0x22634d['ui']['componentFactory']['add']('pageNavigation',_0x4f6e48=>{const _0x29370b=new U(_0x4f6e48);return _0x29370b['bind']('pageNumber')['to'](_0x4ee055),_0x29370b['bind']('totalPages')['to'](_0x4ee055),_0x29370b['bind']('isEnabled')['to'](_0x4ee055),_0x29370b['on']('navigation',(_0x24d73f,_0x26a115)=>{_0x4ee055['moveSelectionToPage'](_0x26a115),_0x4ee055['scrollToPage'](_0x26a115);}),_0x29370b;}),_0x22634d['ui']['componentFactory']['add']('nextPage',_0x22c58b=>{const _0x18281b=new _0x1c4a80(_0x22c58b);return _0x18281b['isEnabled']=!0x0,_0x18281b['label']=g(_0x22634d['locale'],'Go\x20to\x20next\x20page'),_0x18281b['icon']=_0x28d1f2,_0x18281b['tooltip']=!0x0,_0x18281b['keystroke']='Shift+PageDown',_0x18281b['bind']('isEnabled')['to'](_0x4ee055),this['listenTo'](_0x18281b,'execute',()=>{_0x4ee055['goToNextPage']();}),_0x18281b;}),_0x22634d['ui']['componentFactory']['add']('previousPage',_0x141408=>{const _0x122cc0=new _0x1c4a80(_0x141408);return _0x122cc0['isEnabled']=!0x0,_0x122cc0['label']=g(_0x22634d['locale'],'Go\x20to\x20previous\x20page'),_0x122cc0['icon']=_0x57bc69,_0x122cc0['tooltip']=!0x0,_0x122cc0['keystroke']='Shift+PageUp',_0x122cc0['bind']('isEnabled')['to'](_0x4ee055),this['listenTo'](_0x122cc0,'execute',()=>{_0x4ee055['goToPreviousPage']();}),_0x122cc0;});}}class a extends _0x1f99f7{static get['pluginName'](){return'Pagination';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[s,e];}constructor(_0x532525){super(_0x532525),this['isEnabled']=!0x1;}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x1d1986=this['editor']['plugins']['get'](s);this['bind']('pageNumber')['to'](_0x1d1986),this['bind']('totalPages')['to'](_0x1d1986),_0x30afc0['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0x4ead9c){this['editor']['plugins']['get'](s)['scrollToPage'](_0x4ead9c);}}export{a as Pagination,c as PaginationRenderer};
@@ -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':_0x47e840=>0x1!=_0x47e840}};
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':_0xd6af4c=>0x1!=_0xd6af4c}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x37a073=>{const {af:{dictionary:_0x298829,getPluralForm:_0x413c40}}={'af':{'dictionary':{'Go\x20to\x20next\x20page':'','Go\x20to\x20previous\x20page':'','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'','Keystrokes\x20for\x20navigating\x20through\x20documents':'','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':''},'getPluralForm':_0x1a1502=>0x1!=_0x1a1502}};_0x37a073['af']||={'dictionary':{},'getPluralForm':null},_0x37a073['af']['dictionary']=Object['assign'](_0x37a073['af']['dictionary'],_0x298829),_0x37a073['af']['getPluralForm']=_0x413c40;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x535e8d=>{const {af:{dictionary:_0x3e5c30,getPluralForm:_0x120a2c}}={'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':_0x569901=>0x1!=_0x569901}};_0x535e8d['af']||={'dictionary':{},'getPluralForm':null},_0x535e8d['af']['dictionary']=Object['assign'](_0x535e8d['af']['dictionary'],_0x3e5c30),_0x535e8d['af']['getPluralForm']=_0x120a2c;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'ar':{'dictionary':{'Go\x20to\x20next\x20page':'انتقلْ\x20إلى\x20الصفحة\x20التالية','Go\x20to\x20previous\x20page':'انتقلْ\x20إلى\x20الصفحة\x20السابقة','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'رقم\x20الصفحة\x20الحالية\x20(من\x201\x20إلى\x200%)','Keystrokes\x20for\x20navigating\x20through\x20documents':'الضغط\x20على\x20المفاتيح\x20للتنقل\x20عبر\x20المستندات','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'انتقلْ\x20إلى\x20الصفحة\x20السابقة\x20(انقلْ\x20التحديد\x20أيضاً)','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':'انتقلْ\x20إلى\x20الصفحة\x20التالية\x20(انقلْ\x20التحديد\x20أيضاً)'},'getPluralForm':_0x166742=>0x0==_0x166742?0x0:0x1==_0x166742?0x1:0x2==_0x166742?0x2:_0x166742%0x64>=0x3&&_0x166742%0x64<=0xa?0x3:_0x166742%0x64>=0xb?0x4:0x5}};
23
+ export default{'ar':{'dictionary':{'Go\x20to\x20next\x20page':'انتقلْ\x20إلى\x20الصفحة\x20التالية','Go\x20to\x20previous\x20page':'انتقلْ\x20إلى\x20الصفحة\x20السابقة','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'رقم\x20الصفحة\x20الحالية\x20(من\x201\x20إلى\x200%)','Keystrokes\x20for\x20navigating\x20through\x20documents':'الضغط\x20على\x20المفاتيح\x20للتنقل\x20عبر\x20المستندات','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'انتقلْ\x20إلى\x20الصفحة\x20السابقة\x20(انقلْ\x20التحديد\x20أيضاً)','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':'انتقلْ\x20إلى\x20الصفحة\x20التالية\x20(انقلْ\x20التحديد\x20أيضاً)'},'getPluralForm':_0xdb1b7c=>0x0==_0xdb1b7c?0x0:0x1==_0xdb1b7c?0x1:0x2==_0xdb1b7c?0x2:_0xdb1b7c%0x64>=0x3&&_0xdb1b7c%0x64<=0xa?0x3:_0xdb1b7c%0x64>=0xb?0x4:0x5}};