@ckeditor/ckeditor5-line-height 0.0.0-nightly-20251128.0 → 0.0.0-nightly-20251130.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/line-height.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +8 -8
- package/src/lineheightediting.js +1 -1
package/build/line-height.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
/*!
|
|
3
3
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
4
4
|
* For licensing, see LICENSE.md.
|
|
5
|
-
*/(()=>{var e={102:e=>{"use strict";var t={};e.exports=function(e,n){var i=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);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)}},106:e=>{"use strict";e.exports=function(e){return e[1]}},123:e=>{"use strict";e.exports=function(e,t){Object.keys(t).forEach(function(n){e.setAttribute(n,t[n])})}},237:e=>{"use strict";e.exports=CKEditor5.dll},297:e=>{"use strict";var t,n=(t=[],function(e,n){return t[e]=n,t.filter(Boolean).join("\n")});function i(e,t,i,r){var o;if(i)o="";else{o="",r.supports&&(o+="@supports (".concat(r.supports,") {")),r.media&&(o+="@media ".concat(r.media," {"));var s=void 0!==r.layer;s&&(o+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),o+=r.css,s&&(o+="}"),r.media&&(o+="}"),r.supports&&(o+="}")}if(e.styleSheet)e.styleSheet.cssText=n(t,o);else{var a=document.createTextNode(o),c=e.childNodes;c[t]&&e.removeChild(c[t]),c.length?e.insertBefore(a,c[t]):e.appendChild(a)}}var r={singleton:null,singletonCounter:0};e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=r.singletonCounter++,n=r.singleton||(r.singleton=e.insertStyleElement(e));return{update:function(e){i(n,t,!1,e)},remove:function(e){i(n,t,!0,e)}}}},311:(e,t,n)=>{e.exports=n(237)("./src/ui.js")},355:(e,t,n)=>{e.exports=n(237)("./src/icons.js")},407:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var i=n(106),r=n.n(i),o=n(779),s=n.n(o)()(r());s.push([e.id,':root{--ck-content-list-marker-line-height:var(--ck-content-line-height)}.ck-content .todo-list li.ck-list-marker-line-height:before{content:"";line-height:var(--ck-content-list-marker-line-height)}.ck-content .todo-list li.ck-list-marker-line-height>.todo-list__label.todo-list__label_without-description{line-height:var(--ck-content-list-marker-line-height);position:absolute;width:0}.ck-content .todo-list li.ck-list-marker-line-height>.todo-list__label.todo-list__label_without-description input[type=checkbox]{margin:0;position:relative}.ck-editor__editable.ck-content .todo-list li.ck-list-marker-line-height>.todo-list__label.todo-list__label_without-description>span[contenteditable=false]{display:inline-block;width:0}',""]);const a=s},584:(e,t,n)=>{e.exports=n(237)("./src/utils.js")},741:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},779:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n="",i=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),i&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),i&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n}).join("")},t.i=function(e,n,i,r,o){"string"==typeof e&&(e=[[null,e,void 0]]);var s={};if(i)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(s[c]=!0)}for(var l=0;l<e.length;l++){var u=[].concat(e[l]);i&&s[u[0]]||(void 0!==o&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=o),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),r&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=r):u[4]="".concat(r)),t.push(u))}},t}},782:(e,t,n)=>{e.exports=n(237)("./src/core.js")},783:(e,t,n)=>{e.exports=n(237)("./src/engine.js")},784:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var i=n(106),r=n.n(i),o=n(779),s=n.n(o)()(r());s.push([e.id,".ck-content .line-height-single{line-height:1}.ck-content .line-height-double{line-height:2}",""]);const a=s},929:e=>{"use strict";var t=[];function n(e){for(var n=-1,i=0;i<t.length;i++)if(t[i].identifier===e){n=i;break}return n}function i(e,i){for(var o={},s=[],a=0;a<e.length;a++){var c=e[a],l=i.base?c[0]+i.base:c[0],u=o[l]||0,d="".concat(l," ").concat(u);o[l]=u+1;var h=n(d),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==h)t[h].references++,t[h].updater(f);else{var p=r(f,i);i.byIndex=a,t.splice(a,0,{identifier:d,updater:p,references:1})}s.push(d)}return s}function r(e,t){var n=t.domAPI(t);n.update(e);return function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,r){var o=i(e=e||[],r=r||{});return function(e){e=e||[];for(var s=0;s<o.length;s++){var a=n(o[s]);t[a].references--}for(var c=i(e,r),l=0;l<o.length;l++){var u=n(o[l]);0===t[u].references&&(t[u].updater(),t.splice(u,1))}o=c}}}},t={};function n(i){var r=t[i];if(void 0!==r)return r.exports;var o=t[i]={id:i,exports:{}};return e[i](o,o.exports,n),o.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};(()=>{"use strict";n.r(i),n.d(i,{LineHeight:()=>Y,LineHeightCommand:()=>s,LineHeightEditing:()=>P,LineHeightTodoListIntegration:()=>C,LineHeightUI:()=>B});var e=n(782),t=n(584);function r(e,t){const n=a();return(r=function(e,t){return n[e-=419]})(e,t)}const o=r;!function(e){const t=r,n=e();for(;;)try{if(829476===parseInt(t(430))/1*(parseInt(t(425))/2)+-parseInt(t(422))/3*(-parseInt(t(426))/4)+parseInt(t(427))/5+-parseInt(t(447))/6+-parseInt(t(432))/7+parseInt(t(445))/8*(parseInt(t(436))/9)+-parseInt(t(434))/10*(-parseInt(t(439))/11))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(a);class s extends e.Command{[o(431)](){const e=o,n=this[e(429)][e(444)][e(446)],i=(0,t.first)(n[e(421)][e(437)]());this[e(428)]=Boolean(i)&&this[e(441)](i),this[e(442)]=this[e(428)]&&i[e(435)](e(440))}[o(438)](e={}){const t=o,n=this[t(429)][t(444)],i=n[t(446)][t(421)],r=e[t(442)];n[t(433)](e=>{const n=t,o=Array[n(420)](i[n(437)]())[n(419)](e=>this[n(441)](e));for(const t of o)r?e[n(424)](n(440),r,t):e[n(423)](n(440),t)})}[o(441)](e){const t=o;return this[t(429)][t(444)][t(443)][t(448)](e,t(440))}}function a(){const e=["getAttribute","9XbYNvC","getSelectedBlocks","execute","22BjRvmJ","lineHeight","_canHaveLineHeight","value","schema","model","6869544nOqOxF","document","7218402sdmcOY","checkAttribute","filter","from","selection","6243AstKWy","removeAttribute","setAttribute","26FLkpnb","748VLHcJd","2261535AXiUXr","isEnabled","editor","29042myKfBT","refresh","2407748opblOH","change","1494070rUmhgo"];return(a=function(){return e})()}var c=n(783);function l(){const e=["filter","default","1165266ndAgLX","string","key","value","map","5608CfsAvD","double","single","options","19243917NNOnju","Single","8CgYBwc","number","line-height:","view","model","3028195bRqYrS","5202876hYyeMh","line-height-single","style","push","4431qgkjWa","class","values","toLowerCase","defaultValue","line-height-double","Double","span","117812uwUQzc","3507771MTALvs"];return(l=function(){return e})()}!function(e){const t=d,n=e();for(;;)try{if(715676===-parseInt(t(391))/1*(parseInt(t(373))/2)+parseInt(t(392))/3+parseInt(t(379))/4+parseInt(t(378))/5+-parseInt(t(395))/6+parseInt(t(383))/7*(parseInt(t(367))/8)+-parseInt(t(371))/9)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(l);const u={get single(){const e=d;return{title:e(372),model:e(369),view:{key:e(384),value:e(380)}}},get double(){const e=d;return{title:e(389),model:e(368),view:{key:e(384),value:e(388)}}}};function d(e,t){const n=l();return(d=function(e,t){return n[e-=363]})(e,t)}function h(e){const t=d;return t(363)==typeof e&&t(394)===e[t(386)]()}function f(e){const t=d;return e[t(370)][t(366)](n=>h(n)?{title:String(e[t(387)]),model:t(394)}:(t(374)==typeof n&&(n=String(n)),t(363)!=typeof n?n:parseFloat(n)?{title:n,model:n,view:{name:t(390),styles:{"line-height":n}}}:function(e){const t=d;return t(363)==typeof e?u[e]:u[e[t(377)]]}(n)))[t(393)](e=>void 0!==e)}var p=n(929),g=n.n(p),m=n(297),w=n.n(m),v=n(102),y=n.n(v),b=n(123),I=n.n(b),L=n(741),_=n.n(L),H=n(407),k={attributes:{"data-cke":!0}};k.setAttributes=I(),k.insert=y().bind(null,"head"),k.domAPI=w(),k.insertStyleElement=_();g()(H.A,k);H.A&&H.A.locals&&H.A.locals;const O=E;function E(e,t){const n=A();return(E=function(e,t){return n[e-=344]})(e,t)}function A(){const e=["listType","pluginName","span","elementToElement","isPremiumPlugin","item","isOfficialPlugin","ListEditing","267885ZjXyBv","paragraph","consumable","5031592irEjrA","--ck-content-list-marker-line-height","4625730XrqesX","high","registerDowncastStrategy","has","editor","lineHeight","element:li","806290MNAIYB","match","viewItem","upcast","get","add","for","consume","addClass","TodoListEditing","826230pnhqgf","getAttribute","ck-list-marker-line-height","name","3790680NomjlG","LineHeightTodoListIntegration","init","30330335hcAUsN","setStyle","todo","todo-list__label__description"];return(A=function(){return e})()}!function(e){const t=E,n=e();for(;;)try{if(960461===parseInt(t(381))/1+-parseInt(t(354))/2+-parseInt(t(369))/3+-parseInt(t(372))/4+-parseInt(t(350))/5+-parseInt(t(374))/6+parseInt(t(357))/7)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(A);class C extends e.Plugin{static get[O(362)](){return O(355)}static get[O(367)](){return!0}static get[O(365)](){return!0}[O(356)](){const e=O,{plugins:t,conversion:n}=this[e(378)];t[e(377)](e(368))&&t[e(377)](e(349))&&(t[e(344)](e(368))[e(376)]({scope:e(366),attributeName:e(379),consume:!1,setAttributeOnDowncast(t,n,i,r,o){const s=e;s(359)==o[s(351)](s(361))&&n&&(t[s(348)](s(352),i),t[s(358)](s(373),n,i))}}),n[e(346)](e(384))[e(364)]({view:{name:e(363),classes:e(360)},model:e(370),converterPriority:e(375)}),n[e(346)](e(384))[e(345)](t=>{const n=e;t.on(n(380),function(e){const t=new c.Matcher(e);return(e,n,i)=>{const r=E,o=t[r(382)](n[r(383)]);if(!o)return;const s=o[r(382)];s[r(353)]=!1,i[r(371)][r(347)](n[r(383)],s)}}({name:"li",classes:n(352),styles:{"--ck-content-list-marker-line-height":/.*/}}))}))}}const S=N;function T(){const e=["8sOaPAE","requires","4FYBBgx","map","lineHeight","upcast","href","lineHeight.defaultValue","_preparePredefinedConverters","extend","attributeToAttribute","length","afterInit","conversion","editor","commands","_validateConfig","init","schema","line-height-invalid-use-of-named-presets","isOfficialPlugin","define","469185VajABg","isPremiumPlugin","model","add","setAttributeProperties","filter","config","default","_prepareAnyValueConverters","includes","lineHeight.supportAllValues","lineHeight.options","join","string","1354255xYYldv","fromCharCode","values","slice","$block","getStyle","downcast","for","127392bMcOYZ","line-height","LineHeightEditing","90480ZUkzLj","get","1033964WfqEYA","pluginName","style","98136hVyPZX","278201bzMidg"];return(T=function(){return e})()}function N(e,t){const n=T();return(N=function(e,t){return n[e-=376]})(e,t)}!function(e){const t=N,n=e();for(;;)try{if(190446===parseInt(t(406))/1+-parseInt(t(409))/2*(parseInt(t(397))/3)+parseInt(t(402))/4+-parseInt(t(429))/5+parseInt(t(400))/6+-parseInt(t(389))/7*(parseInt(t(407))/8)+parseInt(t(405))/9)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(T);class P extends e.Plugin{static get[S(403)](){return S(399)}static get[S(408)](){return[C]}static get[S(427)](){return!0}static get[S(376)](){return!0}constructor(e){const t=S;super(e),e[t(381)][t(428)](t(411),{defaultValue:1.5,supportAllValues:!1,options:[1,1.15,t(382),2,2.5,3]})}[S(424)](){const e=S,t=this[e(421)];this[e(423)](),t[e(377)][e(425)][e(416)](e(393),{allowAttributes:e(411)}),t[e(377)][e(425)][e(379)](e(411),{isFormatting:!0}),t[e(422)][e(378)](e(411),new s(t)),this[e(421)][e(381)][e(401)](e(385))?this[e(383)]():this[e(415)]()}[S(419)](){!async function(e){const n=g([80,72,81,51,89,85,73,66,114,108,48,88,100,110,119,71,57,107,101,122,56,115,102,112,77,118,49,121,116,87,70,82,78,90,79,86,53,106,74,97,113,55,84,99,50,111,103,117,98,54,52,120,67,75,68,69,65,76,83,105,104,109]),i=window[g([68,97,116,101])][g([110,111,119])](),r=e[g([101,100,105,116,111,114])],o=new(window[g([80,114,111,109,105,115,101])])(e=>{r[g([111,110,99,101])](g([114,101,97,100,121]),e)}),s={[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=r[g([99,111,110,102,105,103])][g([103,101,116])](g([108,105,99,101,110,115,101,75,101,121]));function c(e){const t=[new(window[g([80,114,111,109,105,115,101])])(e=>setTimeout(e,605900)),o[g([116,104,101,110])](()=>new(window[g([80,114,111,109,105,115,101])])(e=>{let t=0;r[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])]&&t++,504==t&&(e(),n[g([111,102,102])]())})}))];return window[g([80,114,111,109,105,115,101])][g([114,97,99,101])](t)[g([116,104,101,110])](()=>e)}function l(e){return e[g([115,116,97,114,116,115,87,105,116,104])](g([101,121]))?JSON[g([112,97,114,115,101])](u(e)):null}function u(e){return window[g([97,116,111,98])](e[g([114,101,112,108,97,99,101])](/-/g,g([43]))[g([114,101,112,108,97,99,101])](/_/g,g([47])))}function d(e){let t=5381;function n(e){for(let n=0;n<e[g([108,101,110,103,116,104])];n++){const i=e[g([99,104,97,114,67,111,100,101,65,116])](n);t=(t<<5)+t+i,t&=t}}return function e(t){Array[g([105,115,65,114,114,97,121])](t)?t[g([102,111,114,69,97,99,104])](e):t&&typeof t==g([111,98,106,101,99,116])?Object[g([101,110,116,114,105,101,115])](t)[g([115,111,114,116])]()[g([102,111,114,69,97,99,104])](([t,i])=>{n(t),e(i)}):n(window[g([83,116,114,105,110,103])](t))}(e),t>>>0}function h(e){return e[g([116,111,83,116,114,105,110,103])](16)[g([112,97,100,83,116,97,114,116])](8,g([48]))}function f(e){return e[g([115,112,108,105,116])]("")[g([114,101,118,101,114,115,101])]()[g([106,111,105,110])]("")}function p(){}function g(e){const t=N;return e[t(410)](e=>String[t(390)](e))[t(387)]("")}!function(e){const t=function(){const e=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 t=g([80]);for(let i=0;i<e[g([108,101,110,103,116,104])];i+=2){let r=window[g([112,97,114,115,101,73,110,116])](e[g([115,117,98,115,116,114,105,110,103])](i,i+2));r>=n[g([108,101,110,103,116,104])]&&(r-=n[g([108,101,110,103,116,104])]),t+=n[r]}return t}();r[t]=g([108,105,110,101,72,101,105,103,104,116,76,105,99,101,110,115,101,75,101,121])+e,e!=g([86,97,108,105,100])&&async function(){await o,r[g([109,111,100,101,108])][g([99,104,97,110,103,101])]=p,r[g([109,111,100,101,108])][g([101,110,113,117,101,117,101,67,104,97,110,103,101])]=p,r[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 e,n=null,p=null;try{return a==g([71,80,76])?g([78,111,116,65,108,108,111,119,101,100]):(e=function(){const e=a[g([115,112,108,105,116])](g([46]));return 3!=e[g([108,101,110,103,116,104])]?null:t(e[1]);function t(e){const t=l(e);return t&&n()?t:null;function n(){const e=t[g([106,116,105])],n=window[g([112,97,114,115,101,73,110,116])](e[g([115,117,98,115,116,114,105,110,103])](e[g([108,101,110,103,116,104])]-8),16),i={...t,[g([106,116,105])]:e[g([115,117,98,115,116,114,105,110,103])](0,e[g([108,101,110,103,116,104])]-8)};return delete i[g([118,99])],d(i)==n}}}(),e?(e[g([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(p=function(e,n){return new(window[g([80,114,111,109,105,115,101])])(c=>{if(s())return c(g([86,97,108,105,100]));a(),r[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 l=!1;const u=(0,t.uid)();function p(e){return!!e&&(typeof e===g([111,98,106,101,99,116])||typeof e===g([102,117,110,99,116,105,111,110]))&&typeof e[g([116,104,101,110])]===g([102,117,110,99,116,105,111,110])&&typeof e[g([99,97,116,99,104])]===g([102,117,110,99,116,105,111,110])}function m(t){a(t)[g([116,104,101,110])](e=>e&&e[g([115,116,97,116,117,115])]==g([111,107])?h(d(u+n))!=e[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])](e=>(o(),e),()=>{const e=s();return null==e?(o(),g([86,97,108,105,100])):g(i-e>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 r=36e5;function o(){const t=g([108,108,99,116,45])+h(d(e)),n=f(h(window[g([77,97,116,104])][g([99,101,105,108])](i/r)));window[g([108,111,99,97,108,83,116,111,114,97,103,101])][g([115,101,116,73,116,101,109])](t,n)}function s(){const t=g([108,108,99,116,45])+h(d(e)),n=window[g([108,111,99,97,108,83,116,111,114,97,103,101])][g([103,101,116,73,116,101,109])](t);return n?window[g([112,97,114,115,101,73,110,116])](f(n),16)*r:null}function a(e){return new(window[g([80,114,111,109,105,115,101])])((t,n)=>{e[g([116,104,101,110])](t,n),window[g([115,101,116,84,105,109,101,111,117,116])](n,12e4)})}}r[g([111,110])](g([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t,n)=>{if(n[0]!=e)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])]:u}},{[g([112,114,105,111,114,105,116,121])]:g([104,105,103,104])}),r[g([111,110])](g([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),e=>{p(e[g([114,101,116,117,114,110])])&&(l=!0,m(e[g([114,101,116,117,114,110])]))},{[g([112,114,105,111,114,105,116,121])]:g([108,111,119])}),o[g([116,104,101,110])](()=>{l||c(g([85,115,97,103,101,76,105,109,105,116]))})});function s(){return r[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(){r[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])}}(e[g([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[g([106,116,105])])),await async function(){let e=!0;try{const i=a[g([115,112,108,105,116])](g([46])),[r,o,s]=i;return t(r),await n(r,o,s),e}catch{return!1}function t(t){const n=l(t);n&&n[g([97,108,103])]==g([69,83,50,53,54])||(e=!1)}async function n(t,n,i){const r=window[g([85,105,110,116,56,65,114,114,97,121])][g([102,114,111,109])](u(i),e=>e[g([99,104,97,114,67,111,100,101,65,116])](0)),o=(new(window[g([84,101,120,116,69,110,99,111,100,101,114])]))[g([101,110,99,111,100,101])](t+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]),s,{[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,r,o)||(e=!1)}}()?function(){const t=e[g([102,101,97,116,117,114,101,115])];return!(!t||!t[g([105,110,99,108,117,100,101,115])](g([42]))&&!t[g([105,110,99,108,117,100,101,115])](g([76,72])))}()?function(){const t=[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])](e[g([108,105,99,101,110,115,101,84,121,112,101])])?i/1e3:1764288e3;return e[g([101,120,112])]<t}()?g([69,120,112,105,114,101,100]):function(){const t=N,n=e[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])][t(413)]);if(n[g([105,110,99,108,117,100,101,115])](i))return!0;const r=i[g([115,112,108,105,116])](g([46]));return n[g([102,105,108,116,101,114])](e=>e[g([105,110,99,108,117,100,101,115])](g([42])))[g([109,97,112])](e=>e[g([115,112,108,105,116])](g([46])))[g([102,105,108,116,101,114])](e=>e[g([108,101,110,103,116,104])]<=r[g([108,101,110,103,116,104])])[g([109,97,112])](e=>Array(r[g([108,101,110,103,116,104])]-e[g([108,101,110,103,116,104])])[g([102,105,108,108])](e[0]===g([42])?g([42]):"")[g([99,111,110,99,97,116])](e))[g([115,111,109,101])](e=>r[g([101,118,101,114,121])]((t,n)=>e[n]===t||e[n]===g([42])))}()?(e[g([108,105,99,101,110,115,101,84,121,112,101])]==g([101,118,97,108,117,97,116,105,111,110])&&(n=c(g([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[g([108,105,99,101,110,115,101,84,121,112,101])]==g([116,114,105,97,108])&&(n=c(g([84,114,105,97,108,76,105,109,105,116]))),await(n&&p?new(window[g([80,114,111,109,105,115,101])])((e,t)=>{n[g([116,104,101,110])](e,t),p[g([116,104,101,110])](t=>{t!=g([86,97,108,105,100])&&e(t)},t)}):n||p||g([86,97,108,105,100]))):g([68,111,109,97,105,110,76,105,109,105,116]):g([78,111,116,65,108,108,111,119,101,100]):g([73,110,118,97,108,105,100])):g([73,110,118,97,108,105,100]))}catch{return g([73,110,118,97,108,105,100])}}())}(this)}[S(423)](){const e=S,n=this[e(421)];if(!n[e(381)][e(401)](e(385)))return;const i=n[e(381)][e(401)](e(386))[e(380)](t=>e(388)==typeof t&&!h(t)&&isNaN(Number(t)));if(i[e(418)])throw new t.CKEditorError(e(426),null,{namedPresets:i})}[S(383)](){const e=S,t=this[e(421)],n=this[e(421)][e(381)][e(401)](e(414));t[e(420)][e(396)](e(395))[e(417)]({model:{key:e(411)},view:t=>String(t)===String(n)?null:{key:e(404),value:{"line-height":t}}}),t[e(420)][e(396)](e(412))[e(417)]({model:{key:e(411),value:t=>{const i=e;let r=t[i(394)](i(398));return(0,c.isPercentageStyleValue)(r)&&(r=String(Number(r[i(392)](0,-1))/100)),String(r)===String(n)?null:r}},view:{styles:{"line-height":/.*/}}})}[S(415)](){const e=S,t=this[e(421)],n=this[e(421)][e(381)][e(401)](e(414)),i=f(this[e(421)][e(381)][e(401)](e(411)))[e(380)](t=>t[e(377)]),r=function(e,t){const n=d,i={model:{key:e,values:[]},view:{}};for(const e of t)n(384)===e[n(376)]?.[n(364)]?(i[n(377)][n(385)][n(382)](e[n(377)]),i[n(376)][e[n(377)]]={key:n(384),value:e[n(376)][n(365)]}):(i[n(377)][n(385)][n(382)](e[n(377)]),i[n(376)][e[n(377)]]={key:n(381),value:n(375)+e[n(377)]+";"});return i}(e(411),i);t[e(420)][e(417)](r),t[e(420)][e(396)](e(412))[e(417)]({view:{styles:{"line-height":/[\s\S]+/}},model:{key:e(411),value:t=>{const i=e;let o=t[i(394)](i(398));return(0,c.isPercentageStyleValue)(o)&&(o=String(Number(o[i(392)](0,-1))/100)),o===String(n)?null:r[i(377)][i(391)][i(384)](o)?o:null}}})}}var x=n(311),V=n(355),K=n(784),M={attributes:{"data-cke":!0}};M.setAttributes=I(),M.insert=y().bind(null,"head"),M.domAPI=w(),M.insertStyleElement=_();g()(K.A,M);K.A&&K.A.locals&&K.A.locals;class B extends e.Plugin{licenseKey;_licenseKeyCheckInterval;static get pluginName(){return"LineHeightUI"}static get isOfficialPlugin(){return!0}static get isPremiumPlugin(){return!0}init(){const e={accessibleLabel:(0,this.editor.t)("Line height"),options:this._prepareListOptions()};this._registerToolbarComponent(e),this._registerMenuBarComponent(e),this.licenseKey=this.editor.config.get("licenseKey");const t=this.editor;this._licenseKeyCheckInterval=setInterval(()=>{let e;for(const n in t){const i=n,r=t[i];if("lineHeightLicenseKeyValid"==r||"lineHeightLicenseKeyInvalid"==r||"lineHeightLicenseKeyExpired"==r||"lineHeightLicenseKeyDomainLimit"==r||"lineHeightLicenseKeyNotAllowed"==r||"lineHeightLicenseKeyEvaluationLimit"==r||"lineHeightLicenseKeyTrialLimit"==r||"lineHeightLicenseKeyUsageLimit"==r){delete t[i],e=r,clearInterval(this._licenseKeyCheckInterval),this._licenseKeyCheckInterval=void 0;break}}"lineHeightLicenseKeyInvalid"==e&&t._showLicenseError("invalid"),"lineHeightLicenseKeyExpired"==e&&t._showLicenseError("expired"),"lineHeightLicenseKeyDomainLimit"==e&&t._showLicenseError("domainLimit"),"lineHeightLicenseKeyNotAllowed"==e&&t._showLicenseError("featureNotAllowed","LineHeight"),"lineHeightLicenseKeyEvaluationLimit"==e&&t._showLicenseError("evaluationLimit"),"lineHeightLicenseKeyTrialLimit"==e&&t._showLicenseError("trialLimit"),"lineHeightLicenseKeyUsageLimit"==e&&t._showLicenseError("usageLimit")},1e3)}destroy(){super.destroy(),this._licenseKeyCheckInterval&&clearInterval(this._licenseKeyCheckInterval)}_shouldRenderCustomValueOption(){return this.editor.config.get("lineHeight.supportAllValues")}_getLocalizedLineHeightOptions(){const e=this.editor,t=e.t,n=e.config.get("lineHeight"),i={Single:t({string:"Single",id:"LINE_HEIGHT_SINGLE_OPTION_LABEL"}),Double:t({string:"Double",id:"LINE_HEIGHT_DOUBLE_OPTION_LABEL"})};return f(n).map(e=>{const t=i[e.title];return t&&t!=e.title&&(e=Object.assign({},e,{title:t})),e})}_prepareListOptions(){const e=this.editor.commands.get("lineHeight"),n=this.editor.config.get("lineHeight.defaultValue"),i=this._getLocalizedLineHeightOptions(),r=new t.Collection,o=e=>"default"===e||String(n)===e;for(const t of i){const n={type:"button",model:new x.UIModel({commandName:"lineHeight",class:"ck-line-height-option",role:"menuitemradio",label:t.title,withText:!0})};o(t.model)?(n.model.bind("isOn").to(e,"value",e=>!e),n.model.commandParam=void 0):(n.model.bind("isOn").to(e,"value",e=>e===t.model),n.model.commandParam=t.model),r.add(n)}if(this._shouldRenderCustomValueOption()){const e=this._getCustomValueOptionDefinition(i);r.add(e)}return r}_getCustomValueOptionDefinition(e){const t=this.editor,n=t.t,i=t.commands.get("lineHeight"),r=e.map(e=>e.model),o={type:"button",model:new x.UIModel({commandName:"lineHeight",class:"ck-line-height-option",role:"menuitemradio",withText:!0})};return o.model.bind("commandParam").to(i,"value"),o.model.bind("isOn").to(i,"value",e=>!!e&&!r.includes(String(e))),o.model.bind("label").to(i,"value",e=>n({string:"Custom: %0",id:"LINE_HEIGHT_CUSTOM_OPTION_LABEL"},String(e))),o}_registerToolbarComponent({accessibleLabel:e,options:t}){const n=this.editor,i=n.commands.get("lineHeight");n.ui.componentFactory.add("lineHeight",r=>{const o=(0,x.createDropdown)(r);return(0,x.addListToDropdown)(o,t,{role:"menu",ariaLabel:e}),o.buttonView.set({label:e,tooltip:!0,icon:V.IconLineHeight}),o.extendTemplate({attributes:{class:["ck-line-height-dropdown"]}}),o.bind("isEnabled").to(i),this.listenTo(o,"execute",e=>{n.execute(e.source.commandName,{value:e.source.commandParam}),n.editing.view.focus()}),o.once("change:isOpen",()=>{const e=o.panelView.children.first;this._attachCustomOptionVisibilityHandler(o,t,e)}),o})}_registerMenuBarComponent({accessibleLabel:e,options:t}){const n=this.editor,i=n.commands.get("lineHeight");n.ui.componentFactory.add("menuBar:lineHeight",r=>{const o=new x.MenuBarMenuView(r);o.buttonView.set({label:e,icon:V.IconLineHeight}),o.bind("isEnabled").to(i);const s=new x.MenuBarMenuListView(r);for(const e of t){const t=new x.MenuBarMenuListItemView(r,o),i=new x.MenuBarMenuListItemButtonView(r);i.set({role:"menuitemradio",isToggleable:!0}),i.bind(...Object.keys(e.model)).to(e.model),i.delegate("execute").to(o),i.on("execute",()=>{n.execute(e.model.commandName,{value:e.model.commandParam}),n.editing.view.focus()}),t.children.add(i),s.items.add(t)}return o.panelView.children.add(s),this._attachCustomOptionVisibilityHandler(o,t,s),o})}_attachCustomOptionVisibilityHandler(e,t,n){if(!this._shouldRenderCustomValueOption())return;const i=()=>{e.isOpen&&(n.items.last.isVisible=Boolean(t.last.model.isOn))};i(),e.on("change:isOpen",()=>{i()})}}var j=U;function D(){var e=["18426490HXilpj","4fEOyGP","isPremiumPlugin","6416649YSJGCs","LineHeight","5727576OjXLHK","2152706tVBSaV","pluginName","6028145gssDjx","7wMVTFK","2450454CILgYf","3MPEmfG","isOfficialPlugin","requires","626816RNBNoL"];return(D=function(){return e})()}function U(e,t){var n=D();return(U=function(e,t){return n[e-=175]})(e,t)}!function(e){for(var t=U,n=e();;)try{if(681134===-parseInt(t(188))/1+parseInt(t(180))/2*(parseInt(t(185))/3)+-parseInt(t(175))/4*(parseInt(t(182))/5)+-parseInt(t(184))/6+-parseInt(t(183))/7*(-parseInt(t(179))/8)+-parseInt(t(177))/9+parseInt(t(189))/10)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(D);class Y extends e.Plugin{static get[j(187)](){return[P,B]}static get[j(181)](){return j(178)}static get[j(186)](){return!0}static get[j(176)](){return!0}}function G(e,t){var n=X();return(G=function(e,t){return n[e-=350]})(e,t)}function X(){var e=["36HvLLrx","140PXIjvg","1535823mMecVM","28rQklTM","1418286XOGpMf","10399660qKEMhx","1077OlipmS","7498848kydAQP","168679flddhZ","1215790drVChY"];return(X=function(){return e})()}!function(e){for(var t=G,n=e();;)try{if(852971===parseInt(t(357))/1+-parseInt(t(354))/2*(-parseInt(t(359))/3)+parseInt(t(356))/4*(parseInt(t(352))/5)+parseInt(t(353))/6*(-parseInt(t(351))/7)+-parseInt(t(350))/8+-parseInt(t(355))/9+-parseInt(t(358))/10)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(X)})(),(window.CKEditor5=window.CKEditor5||{}).lineHeight=i})();
|
|
5
|
+
*/(()=>{var e={102:e=>{"use strict";var t={};e.exports=function(e,n){var i=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);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)}},106:e=>{"use strict";e.exports=function(e){return e[1]}},123:e=>{"use strict";e.exports=function(e,t){Object.keys(t).forEach(function(n){e.setAttribute(n,t[n])})}},237:e=>{"use strict";e.exports=CKEditor5.dll},297:e=>{"use strict";var t,n=(t=[],function(e,n){return t[e]=n,t.filter(Boolean).join("\n")});function i(e,t,i,r){var o;if(i)o="";else{o="",r.supports&&(o+="@supports (".concat(r.supports,") {")),r.media&&(o+="@media ".concat(r.media," {"));var s=void 0!==r.layer;s&&(o+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),o+=r.css,s&&(o+="}"),r.media&&(o+="}"),r.supports&&(o+="}")}if(e.styleSheet)e.styleSheet.cssText=n(t,o);else{var a=document.createTextNode(o),c=e.childNodes;c[t]&&e.removeChild(c[t]),c.length?e.insertBefore(a,c[t]):e.appendChild(a)}}var r={singleton:null,singletonCounter:0};e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=r.singletonCounter++,n=r.singleton||(r.singleton=e.insertStyleElement(e));return{update:function(e){i(n,t,!1,e)},remove:function(e){i(n,t,!0,e)}}}},311:(e,t,n)=>{e.exports=n(237)("./src/ui.js")},355:(e,t,n)=>{e.exports=n(237)("./src/icons.js")},407:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var i=n(106),r=n.n(i),o=n(779),s=n.n(o)()(r());s.push([e.id,':root{--ck-content-list-marker-line-height:var(--ck-content-line-height)}.ck-content .todo-list li.ck-list-marker-line-height:before{content:"";line-height:var(--ck-content-list-marker-line-height)}.ck-content .todo-list li.ck-list-marker-line-height>.todo-list__label.todo-list__label_without-description{line-height:var(--ck-content-list-marker-line-height);position:absolute;width:0}.ck-content .todo-list li.ck-list-marker-line-height>.todo-list__label.todo-list__label_without-description input[type=checkbox]{margin:0;position:relative}.ck-editor__editable.ck-content .todo-list li.ck-list-marker-line-height>.todo-list__label.todo-list__label_without-description>span[contenteditable=false]{display:inline-block;width:0}',""]);const a=s},584:(e,t,n)=>{e.exports=n(237)("./src/utils.js")},741:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},779:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n="",i=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),i&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),i&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n}).join("")},t.i=function(e,n,i,r,o){"string"==typeof e&&(e=[[null,e,void 0]]);var s={};if(i)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(s[c]=!0)}for(var l=0;l<e.length;l++){var u=[].concat(e[l]);i&&s[u[0]]||(void 0!==o&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=o),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),r&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=r):u[4]="".concat(r)),t.push(u))}},t}},782:(e,t,n)=>{e.exports=n(237)("./src/core.js")},783:(e,t,n)=>{e.exports=n(237)("./src/engine.js")},784:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var i=n(106),r=n.n(i),o=n(779),s=n.n(o)()(r());s.push([e.id,".ck-content .line-height-single{line-height:1}.ck-content .line-height-double{line-height:2}",""]);const a=s},929:e=>{"use strict";var t=[];function n(e){for(var n=-1,i=0;i<t.length;i++)if(t[i].identifier===e){n=i;break}return n}function i(e,i){for(var o={},s=[],a=0;a<e.length;a++){var c=e[a],l=i.base?c[0]+i.base:c[0],u=o[l]||0,d="".concat(l," ").concat(u);o[l]=u+1;var h=n(d),p={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==h)t[h].references++,t[h].updater(p);else{var f=r(p,i);i.byIndex=a,t.splice(a,0,{identifier:d,updater:f,references:1})}s.push(d)}return s}function r(e,t){var n=t.domAPI(t);n.update(e);return function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,r){var o=i(e=e||[],r=r||{});return function(e){e=e||[];for(var s=0;s<o.length;s++){var a=n(o[s]);t[a].references--}for(var c=i(e,r),l=0;l<o.length;l++){var u=n(o[l]);0===t[u].references&&(t[u].updater(),t.splice(u,1))}o=c}}}},t={};function n(i){var r=t[i];if(void 0!==r)return r.exports;var o=t[i]={id:i,exports:{}};return e[i](o,o.exports,n),o.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};(()=>{"use strict";n.r(i),n.d(i,{LineHeight:()=>G,LineHeightCommand:()=>s,LineHeightEditing:()=>P,LineHeightTodoListIntegration:()=>C,LineHeightUI:()=>B});var e=n(782),t=n(584);function r(e,t){const n=a();return(r=function(e,t){return n[e-=419]})(e,t)}const o=r;!function(e){const t=r,n=e();for(;;)try{if(829476===parseInt(t(430))/1*(parseInt(t(425))/2)+-parseInt(t(422))/3*(-parseInt(t(426))/4)+parseInt(t(427))/5+-parseInt(t(447))/6+-parseInt(t(432))/7+parseInt(t(445))/8*(parseInt(t(436))/9)+-parseInt(t(434))/10*(-parseInt(t(439))/11))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(a);class s extends e.Command{[o(431)](){const e=o,n=this[e(429)][e(444)][e(446)],i=(0,t.first)(n[e(421)][e(437)]());this[e(428)]=Boolean(i)&&this[e(441)](i),this[e(442)]=this[e(428)]&&i[e(435)](e(440))}[o(438)](e={}){const t=o,n=this[t(429)][t(444)],i=n[t(446)][t(421)],r=e[t(442)];n[t(433)](e=>{const n=t,o=Array[n(420)](i[n(437)]())[n(419)](e=>this[n(441)](e));for(const t of o)r?e[n(424)](n(440),r,t):e[n(423)](n(440),t)})}[o(441)](e){const t=o;return this[t(429)][t(444)][t(443)][t(448)](e,t(440))}}function a(){const e=["getAttribute","9XbYNvC","getSelectedBlocks","execute","22BjRvmJ","lineHeight","_canHaveLineHeight","value","schema","model","6869544nOqOxF","document","7218402sdmcOY","checkAttribute","filter","from","selection","6243AstKWy","removeAttribute","setAttribute","26FLkpnb","748VLHcJd","2261535AXiUXr","isEnabled","editor","29042myKfBT","refresh","2407748opblOH","change","1494070rUmhgo"];return(a=function(){return e})()}var c=n(783);function l(){const e=["filter","default","1165266ndAgLX","string","key","value","map","5608CfsAvD","double","single","options","19243917NNOnju","Single","8CgYBwc","number","line-height:","view","model","3028195bRqYrS","5202876hYyeMh","line-height-single","style","push","4431qgkjWa","class","values","toLowerCase","defaultValue","line-height-double","Double","span","117812uwUQzc","3507771MTALvs"];return(l=function(){return e})()}!function(e){const t=d,n=e();for(;;)try{if(715676===-parseInt(t(391))/1*(parseInt(t(373))/2)+parseInt(t(392))/3+parseInt(t(379))/4+parseInt(t(378))/5+-parseInt(t(395))/6+parseInt(t(383))/7*(parseInt(t(367))/8)+-parseInt(t(371))/9)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(l);const u={get single(){const e=d;return{title:e(372),model:e(369),view:{key:e(384),value:e(380)}}},get double(){const e=d;return{title:e(389),model:e(368),view:{key:e(384),value:e(388)}}}};function d(e,t){const n=l();return(d=function(e,t){return n[e-=363]})(e,t)}function h(e){const t=d;return t(363)==typeof e&&t(394)===e[t(386)]()}function p(e){const t=d;return e[t(370)][t(366)](n=>h(n)?{title:String(e[t(387)]),model:t(394)}:(t(374)==typeof n&&(n=String(n)),t(363)!=typeof n?n:parseFloat(n)?{title:n,model:n,view:{name:t(390),styles:{"line-height":n}}}:function(e){const t=d;return t(363)==typeof e?u[e]:u[e[t(377)]]}(n)))[t(393)](e=>void 0!==e)}var f=n(929),g=n.n(f),m=n(297),w=n.n(m),v=n(102),y=n.n(v),I=n(123),b=n.n(I),L=n(741),_=n.n(L),H=n(407),k={attributes:{"data-cke":!0}};k.setAttributes=b(),k.insert=y().bind(null,"head"),k.domAPI=w(),k.insertStyleElement=_();g()(H.A,k);H.A&&H.A.locals&&H.A.locals;const O=E;function E(e,t){const n=A();return(E=function(e,t){return n[e-=344]})(e,t)}function A(){const e=["listType","pluginName","span","elementToElement","isPremiumPlugin","item","isOfficialPlugin","ListEditing","267885ZjXyBv","paragraph","consumable","5031592irEjrA","--ck-content-list-marker-line-height","4625730XrqesX","high","registerDowncastStrategy","has","editor","lineHeight","element:li","806290MNAIYB","match","viewItem","upcast","get","add","for","consume","addClass","TodoListEditing","826230pnhqgf","getAttribute","ck-list-marker-line-height","name","3790680NomjlG","LineHeightTodoListIntegration","init","30330335hcAUsN","setStyle","todo","todo-list__label__description"];return(A=function(){return e})()}!function(e){const t=E,n=e();for(;;)try{if(960461===parseInt(t(381))/1+-parseInt(t(354))/2+-parseInt(t(369))/3+-parseInt(t(372))/4+-parseInt(t(350))/5+-parseInt(t(374))/6+parseInt(t(357))/7)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(A);class C extends e.Plugin{static get[O(362)](){return O(355)}static get[O(367)](){return!0}static get[O(365)](){return!0}[O(356)](){const e=O,{plugins:t,conversion:n}=this[e(378)];t[e(377)](e(368))&&t[e(377)](e(349))&&(t[e(344)](e(368))[e(376)]({scope:e(366),attributeName:e(379),consume:!1,setAttributeOnDowncast(t,n,i,r,o){const s=e;s(359)==o[s(351)](s(361))&&n&&(t[s(348)](s(352),i),t[s(358)](s(373),n,i))}}),n[e(346)](e(384))[e(364)]({view:{name:e(363),classes:e(360)},model:e(370),converterPriority:e(375)}),n[e(346)](e(384))[e(345)](t=>{const n=e;t.on(n(380),function(e){const t=new c.Matcher(e);return(e,n,i)=>{const r=E,o=t[r(382)](n[r(383)]);if(!o)return;const s=o[r(382)];s[r(353)]=!1,i[r(371)][r(347)](n[r(383)],s)}}({name:"li",classes:n(352),styles:{"--ck-content-list-marker-line-height":/.*/}}))}))}}const S=T;function T(e,t){const n=N();return(T=function(e,t){return n[e-=264]})(e,t)}function N(){const e=["6AXaems","config","add","includes","upcast","38925270EzjEoA","join","7jhMFOB","4068360YdZCTA","setAttributeProperties","href","3348606YkPsXi","lineHeight","afterInit","downcast","conversion","14037543lcksLa","get","default","lineHeight.supportAllValues","length","937904NWZTBG","LineHeightEditing","pluginName","string","_validateConfig","commands","$block","getStyle","line-height","style","map","values","_prepareAnyValueConverters","init","model","line-height-invalid-use-of-named-presets","isOfficialPlugin","filter","attributeToAttribute","483994CFZlxi","fromCharCode","isPremiumPlugin","extend","schema","define","slice","4sDlPKw","editor","lineHeight.defaultValue","lineHeight.options","for","3173288mdSvKy","_preparePredefinedConverters","requires"];return(N=function(){return e})()}!function(e){const t=T,n=e();for(;;)try{if(858652===-parseInt(t(303))/1*(parseInt(t(296))/2)+-parseInt(t(311))/3*(-parseInt(t(277))/4)+-parseInt(t(264))/5+parseInt(t(267))/6*(-parseInt(t(318))/7)+parseInt(t(308))/8+-parseInt(t(272))/9+parseInt(t(316))/10)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(N);class P extends e.Plugin{static get[S(279)](){return S(278)}static get[S(310)](){return[C]}static get[S(293)](){return!0}static get[S(298)](){return!0}constructor(e){const t=S;super(e),e[t(312)][t(301)](t(268),{defaultValue:1.5,supportAllValues:!1,options:[1,1.15,t(274),2,2.5,3]})}[S(290)](){const e=S,t=this[e(304)];this[e(281)](),t[e(291)][e(300)][e(299)](e(283),{allowAttributes:e(268)}),t[e(291)][e(300)][e(265)](e(268),{isFormatting:!0}),t[e(282)][e(313)](e(268),new s(t)),this[e(304)][e(312)][e(273)](e(275))?this[e(289)]():this[e(309)]()}[S(269)](){!async function(e){const n=g([80,72,81,51,89,85,73,66,114,108,48,88,100,110,119,71,57,107,101,122,56,115,102,112,77,118,49,121,116,87,70,82,78,90,79,86,53,106,74,97,113,55,84,99,50,111,103,117,98,54,52,120,67,75,68,69,65,76,83,105,104,109]),i=window[g([68,97,116,101])][g([110,111,119])](),r=e[g([101,100,105,116,111,114])],o=new(window[g([80,114,111,109,105,115,101])])(e=>{r[g([111,110,99,101])](g([114,101,97,100,121]),e)}),s={[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=r[g([99,111,110,102,105,103])][g([103,101,116])](g([108,105,99,101,110,115,101,75,101,121]));function c(e){const t=[new(window[g([80,114,111,109,105,115,101])])(e=>setTimeout(e,605900)),o[g([116,104,101,110])](()=>new(window[g([80,114,111,109,105,115,101])])(e=>{let t=0;r[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])]&&t++,504==t&&(e(),n[g([111,102,102])]())})}))];return window[g([80,114,111,109,105,115,101])][g([114,97,99,101])](t)[g([116,104,101,110])](()=>e)}function l(e){return e[g([115,116,97,114,116,115,87,105,116,104])](g([101,121]))?JSON[g([112,97,114,115,101])](u(e)):null}function u(e){return window[g([97,116,111,98])](e[g([114,101,112,108,97,99,101])](/-/g,g([43]))[g([114,101,112,108,97,99,101])](/_/g,g([47])))}function d(e){let t=5381;function n(e){for(let n=0;n<e[g([108,101,110,103,116,104])];n++){const i=e[g([99,104,97,114,67,111,100,101,65,116])](n);t=(t<<5)+t+i,t&=t}}return function e(t){Array[g([105,115,65,114,114,97,121])](t)?t[g([102,111,114,69,97,99,104])](e):t&&typeof t==g([111,98,106,101,99,116])?Object[g([101,110,116,114,105,101,115])](t)[g([115,111,114,116])]()[g([102,111,114,69,97,99,104])](([t,i])=>{n(t),e(i)}):n(window[g([83,116,114,105,110,103])](t))}(e),t>>>0}function h(e){return e[g([116,111,83,116,114,105,110,103])](16)[g([112,97,100,83,116,97,114,116])](8,g([48]))}function p(e){return e[g([115,112,108,105,116])]("")[g([114,101,118,101,114,115,101])]()[g([106,111,105,110])]("")}function f(){}function g(e){const t=T;return e[t(287)](e=>String[t(297)](e))[t(317)]("")}!function(e){const t=function(){const e=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 t=g([80]);for(let i=0;i<e[g([108,101,110,103,116,104])];i+=2){let r=window[g([112,97,114,115,101,73,110,116])](e[g([115,117,98,115,116,114,105,110,103])](i,i+2));r>=n[g([108,101,110,103,116,104])]&&(r-=n[g([108,101,110,103,116,104])]),t+=n[r]}return t}();r[t]=g([108,105,110,101,72,101,105,103,104,116,76,105,99,101,110,115,101,75,101,121])+e,e!=g([86,97,108,105,100])&&async function(){await o,r[g([109,111,100,101,108])][g([99,104,97,110,103,101])]=f,r[g([109,111,100,101,108])][g([101,110,113,117,101,117,101,67,104,97,110,103,101])]=f,r[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 e,n=null,f=null;try{return a==g([71,80,76])?g([78,111,116,65,108,108,111,119,101,100]):(e=function(){const e=a[g([115,112,108,105,116])](g([46]));return 3!=e[g([108,101,110,103,116,104])]?null:t(e[1]);function t(e){const t=l(e);return t&&n()?t:null;function n(){const e=t[g([106,116,105])],n=window[g([112,97,114,115,101,73,110,116])](e[g([115,117,98,115,116,114,105,110,103])](e[g([108,101,110,103,116,104])]-8),16),i={...t,[g([106,116,105])]:e[g([115,117,98,115,116,114,105,110,103])](0,e[g([108,101,110,103,116,104])]-8)};return delete i[g([118,99])],d(i)==n}}}(),e?(e[g([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(f=function(e,n){return new(window[g([80,114,111,109,105,115,101])])(c=>{if(s())return c(g([86,97,108,105,100]));a(),r[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 l=!1;const u=(0,t.uid)();function f(e){return!!e&&(typeof e===g([111,98,106,101,99,116])||typeof e===g([102,117,110,99,116,105,111,110]))&&typeof e[g([116,104,101,110])]===g([102,117,110,99,116,105,111,110])&&typeof e[g([99,97,116,99,104])]===g([102,117,110,99,116,105,111,110])}function m(t){a(t)[g([116,104,101,110])](e=>e&&e[g([115,116,97,116,117,115])]==g([111,107])?h(d(u+n))!=e[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])](e=>(o(),e),()=>{const e=s();return null==e?(o(),g([86,97,108,105,100])):g(i-e>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 r=36e5;function o(){const t=g([108,108,99,116,45])+h(d(e)),n=p(h(window[g([77,97,116,104])][g([99,101,105,108])](i/r)));window[g([108,111,99,97,108,83,116,111,114,97,103,101])][g([115,101,116,73,116,101,109])](t,n)}function s(){const t=g([108,108,99,116,45])+h(d(e)),n=window[g([108,111,99,97,108,83,116,111,114,97,103,101])][g([103,101,116,73,116,101,109])](t);return n?window[g([112,97,114,115,101,73,110,116])](p(n),16)*r:null}function a(e){return new(window[g([80,114,111,109,105,115,101])])((t,n)=>{e[g([116,104,101,110])](t,n),window[g([115,101,116,84,105,109,101,111,117,116])](n,12e4)})}}r[g([111,110])](g([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t,n)=>{if(n[0]!=e)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])]:u}},{[g([112,114,105,111,114,105,116,121])]:g([104,105,103,104])}),r[g([111,110])](g([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),e=>{f(e[g([114,101,116,117,114,110])])&&(l=!0,m(e[g([114,101,116,117,114,110])]))},{[g([112,114,105,111,114,105,116,121])]:g([108,111,119])}),o[g([116,104,101,110])](()=>{l||c(g([85,115,97,103,101,76,105,109,105,116]))})});function s(){return r[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(){r[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])}}(e[g([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[g([106,116,105])])),await async function(){let e=!0;try{const i=a[g([115,112,108,105,116])](g([46])),[r,o,s]=i;return t(r),await n(r,o,s),e}catch{return!1}function t(t){const n=l(t);n&&n[g([97,108,103])]==g([69,83,50,53,54])||(e=!1)}async function n(t,n,i){const r=window[g([85,105,110,116,56,65,114,114,97,121])][g([102,114,111,109])](u(i),e=>e[g([99,104,97,114,67,111,100,101,65,116])](0)),o=(new(window[g([84,101,120,116,69,110,99,111,100,101,114])]))[g([101,110,99,111,100,101])](t+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]),s,{[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,r,o)||(e=!1)}}()?function(){const t=e[g([102,101,97,116,117,114,101,115])];return!(!t||!t[g([105,110,99,108,117,100,101,115])](g([42]))&&!t[g([105,110,99,108,117,100,101,115])](g([76,72])))}()?function(){const t=[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])](e[g([108,105,99,101,110,115,101,84,121,112,101])])?i/1e3:1764460800;return e[g([101,120,112])]<t}()?g([69,120,112,105,114,101,100]):function(){const t=T,n=e[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])][t(266)]);if(n[g([105,110,99,108,117,100,101,115])](i))return!0;const r=i[g([115,112,108,105,116])](g([46]));return n[g([102,105,108,116,101,114])](e=>e[g([105,110,99,108,117,100,101,115])](g([42])))[g([109,97,112])](e=>e[g([115,112,108,105,116])](g([46])))[g([102,105,108,116,101,114])](e=>e[g([108,101,110,103,116,104])]<=r[g([108,101,110,103,116,104])])[g([109,97,112])](e=>Array(r[g([108,101,110,103,116,104])]-e[g([108,101,110,103,116,104])])[g([102,105,108,108])](e[0]===g([42])?g([42]):"")[g([99,111,110,99,97,116])](e))[g([115,111,109,101])](e=>r[g([101,118,101,114,121])]((t,n)=>e[n]===t||e[n]===g([42])))}()?(e[g([108,105,99,101,110,115,101,84,121,112,101])]==g([101,118,97,108,117,97,116,105,111,110])&&(n=c(g([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[g([108,105,99,101,110,115,101,84,121,112,101])]==g([116,114,105,97,108])&&(n=c(g([84,114,105,97,108,76,105,109,105,116]))),await(n&&f?new(window[g([80,114,111,109,105,115,101])])((e,t)=>{n[g([116,104,101,110])](e,t),f[g([116,104,101,110])](t=>{t!=g([86,97,108,105,100])&&e(t)},t)}):n||f||g([86,97,108,105,100]))):g([68,111,109,97,105,110,76,105,109,105,116]):g([78,111,116,65,108,108,111,119,101,100]):g([73,110,118,97,108,105,100])):g([73,110,118,97,108,105,100]))}catch{return g([73,110,118,97,108,105,100])}}())}(this)}[S(281)](){const e=S,n=this[e(304)];if(!n[e(312)][e(273)](e(275)))return;const i=n[e(312)][e(273)](e(306))[e(294)](t=>e(280)==typeof t&&!h(t)&&isNaN(Number(t)));if(i[e(276)])throw new t.CKEditorError(e(292),null,{namedPresets:i})}[S(289)](){const e=S,t=this[e(304)],n=this[e(304)][e(312)][e(273)](e(305));t[e(271)][e(307)](e(270))[e(295)]({model:{key:e(268)},view:t=>String(t)===String(n)?null:{key:e(286),value:{"line-height":t}}}),t[e(271)][e(307)](e(315))[e(295)]({model:{key:e(268),value:t=>{const i=e;let r=t[i(284)](i(285));return(0,c.isPercentageStyleValue)(r)&&(r=String(Number(r[i(302)](0,-1))/100)),String(r)===String(n)?null:r}},view:{styles:{"line-height":/.*/}}})}[S(309)](){const e=S,t=this[e(304)],n=this[e(304)][e(312)][e(273)](e(305)),i=p(this[e(304)][e(312)][e(273)](e(268)))[e(294)](t=>t[e(291)]),r=function(e,t){const n=d,i={model:{key:e,values:[]},view:{}};for(const e of t)n(384)===e[n(376)]?.[n(364)]?(i[n(377)][n(385)][n(382)](e[n(377)]),i[n(376)][e[n(377)]]={key:n(384),value:e[n(376)][n(365)]}):(i[n(377)][n(385)][n(382)](e[n(377)]),i[n(376)][e[n(377)]]={key:n(381),value:n(375)+e[n(377)]+";"});return i}(e(268),i);t[e(271)][e(295)](r),t[e(271)][e(307)](e(315))[e(295)]({view:{styles:{"line-height":/[\s\S]+/}},model:{key:e(268),value:t=>{const i=e;let o=t[i(284)](i(285));return(0,c.isPercentageStyleValue)(o)&&(o=String(Number(o[i(302)](0,-1))/100)),o===String(n)?null:r[i(291)][i(288)][i(314)](o)?o:null}}})}}var x=n(311),K=n(355),M=n(784),V={attributes:{"data-cke":!0}};V.setAttributes=b(),V.insert=y().bind(null,"head"),V.domAPI=w(),V.insertStyleElement=_();g()(M.A,V);M.A&&M.A.locals&&M.A.locals;class B extends e.Plugin{licenseKey;_licenseKeyCheckInterval;static get pluginName(){return"LineHeightUI"}static get isOfficialPlugin(){return!0}static get isPremiumPlugin(){return!0}init(){const e={accessibleLabel:(0,this.editor.t)("Line height"),options:this._prepareListOptions()};this._registerToolbarComponent(e),this._registerMenuBarComponent(e),this.licenseKey=this.editor.config.get("licenseKey");const t=this.editor;this._licenseKeyCheckInterval=setInterval(()=>{let e;for(const n in t){const i=n,r=t[i];if("lineHeightLicenseKeyValid"==r||"lineHeightLicenseKeyInvalid"==r||"lineHeightLicenseKeyExpired"==r||"lineHeightLicenseKeyDomainLimit"==r||"lineHeightLicenseKeyNotAllowed"==r||"lineHeightLicenseKeyEvaluationLimit"==r||"lineHeightLicenseKeyTrialLimit"==r||"lineHeightLicenseKeyUsageLimit"==r){delete t[i],e=r,clearInterval(this._licenseKeyCheckInterval),this._licenseKeyCheckInterval=void 0;break}}"lineHeightLicenseKeyInvalid"==e&&t._showLicenseError("invalid"),"lineHeightLicenseKeyExpired"==e&&t._showLicenseError("expired"),"lineHeightLicenseKeyDomainLimit"==e&&t._showLicenseError("domainLimit"),"lineHeightLicenseKeyNotAllowed"==e&&t._showLicenseError("featureNotAllowed","LineHeight"),"lineHeightLicenseKeyEvaluationLimit"==e&&t._showLicenseError("evaluationLimit"),"lineHeightLicenseKeyTrialLimit"==e&&t._showLicenseError("trialLimit"),"lineHeightLicenseKeyUsageLimit"==e&&t._showLicenseError("usageLimit")},1e3)}destroy(){super.destroy(),this._licenseKeyCheckInterval&&clearInterval(this._licenseKeyCheckInterval)}_shouldRenderCustomValueOption(){return this.editor.config.get("lineHeight.supportAllValues")}_getLocalizedLineHeightOptions(){const e=this.editor,t=e.t,n=e.config.get("lineHeight"),i={Single:t({string:"Single",id:"LINE_HEIGHT_SINGLE_OPTION_LABEL"}),Double:t({string:"Double",id:"LINE_HEIGHT_DOUBLE_OPTION_LABEL"})};return p(n).map(e=>{const t=i[e.title];return t&&t!=e.title&&(e=Object.assign({},e,{title:t})),e})}_prepareListOptions(){const e=this.editor.commands.get("lineHeight"),n=this.editor.config.get("lineHeight.defaultValue"),i=this._getLocalizedLineHeightOptions(),r=new t.Collection,o=e=>"default"===e||String(n)===e;for(const t of i){const n={type:"button",model:new x.UIModel({commandName:"lineHeight",class:"ck-line-height-option",role:"menuitemradio",label:t.title,withText:!0})};o(t.model)?(n.model.bind("isOn").to(e,"value",e=>!e),n.model.commandParam=void 0):(n.model.bind("isOn").to(e,"value",e=>e===t.model),n.model.commandParam=t.model),r.add(n)}if(this._shouldRenderCustomValueOption()){const e=this._getCustomValueOptionDefinition(i);r.add(e)}return r}_getCustomValueOptionDefinition(e){const t=this.editor,n=t.t,i=t.commands.get("lineHeight"),r=e.map(e=>e.model),o={type:"button",model:new x.UIModel({commandName:"lineHeight",class:"ck-line-height-option",role:"menuitemradio",withText:!0})};return o.model.bind("commandParam").to(i,"value"),o.model.bind("isOn").to(i,"value",e=>!!e&&!r.includes(String(e))),o.model.bind("label").to(i,"value",e=>n({string:"Custom: %0",id:"LINE_HEIGHT_CUSTOM_OPTION_LABEL"},String(e))),o}_registerToolbarComponent({accessibleLabel:e,options:t}){const n=this.editor,i=n.commands.get("lineHeight");n.ui.componentFactory.add("lineHeight",r=>{const o=(0,x.createDropdown)(r);return(0,x.addListToDropdown)(o,t,{role:"menu",ariaLabel:e}),o.buttonView.set({label:e,tooltip:!0,icon:K.IconLineHeight}),o.extendTemplate({attributes:{class:["ck-line-height-dropdown"]}}),o.bind("isEnabled").to(i),this.listenTo(o,"execute",e=>{n.execute(e.source.commandName,{value:e.source.commandParam}),n.editing.view.focus()}),o.once("change:isOpen",()=>{const e=o.panelView.children.first;this._attachCustomOptionVisibilityHandler(o,t,e)}),o})}_registerMenuBarComponent({accessibleLabel:e,options:t}){const n=this.editor,i=n.commands.get("lineHeight");n.ui.componentFactory.add("menuBar:lineHeight",r=>{const o=new x.MenuBarMenuView(r);o.buttonView.set({label:e,icon:K.IconLineHeight}),o.bind("isEnabled").to(i);const s=new x.MenuBarMenuListView(r);for(const e of t){const t=new x.MenuBarMenuListItemView(r,o),i=new x.MenuBarMenuListItemButtonView(r);i.set({role:"menuitemradio",isToggleable:!0}),i.bind(...Object.keys(e.model)).to(e.model),i.delegate("execute").to(o),i.on("execute",()=>{n.execute(e.model.commandName,{value:e.model.commandParam}),n.editing.view.focus()}),t.children.add(i),s.items.add(t)}return o.panelView.children.add(s),this._attachCustomOptionVisibilityHandler(o,t,s),o})}_attachCustomOptionVisibilityHandler(e,t,n){if(!this._shouldRenderCustomValueOption())return;const i=()=>{e.isOpen&&(n.items.last.isVisible=Boolean(t.last.model.isOn))};i(),e.on("change:isOpen",()=>{i()})}}var j=U;function D(){var e=["18426490HXilpj","4fEOyGP","isPremiumPlugin","6416649YSJGCs","LineHeight","5727576OjXLHK","2152706tVBSaV","pluginName","6028145gssDjx","7wMVTFK","2450454CILgYf","3MPEmfG","isOfficialPlugin","requires","626816RNBNoL"];return(D=function(){return e})()}function U(e,t){var n=D();return(U=function(e,t){return n[e-=175]})(e,t)}!function(e){for(var t=U,n=e();;)try{if(681134===-parseInt(t(188))/1+parseInt(t(180))/2*(parseInt(t(185))/3)+-parseInt(t(175))/4*(parseInt(t(182))/5)+-parseInt(t(184))/6+-parseInt(t(183))/7*(-parseInt(t(179))/8)+-parseInt(t(177))/9+parseInt(t(189))/10)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(D);class G extends e.Plugin{static get[j(187)](){return[P,B]}static get[j(181)](){return j(178)}static get[j(186)](){return!0}static get[j(176)](){return!0}}function X(e,t){var n=F();return(X=function(e,t){return n[e-=350]})(e,t)}function F(){var e=["36HvLLrx","140PXIjvg","1535823mMecVM","28rQklTM","1418286XOGpMf","10399660qKEMhx","1077OlipmS","7498848kydAQP","168679flddhZ","1215790drVChY"];return(F=function(){return e})()}!function(e){for(var t=X,n=e();;)try{if(852971===parseInt(t(357))/1+-parseInt(t(354))/2*(-parseInt(t(359))/3)+parseInt(t(356))/4*(parseInt(t(352))/5)+parseInt(t(353))/6*(-parseInt(t(351))/7)+-parseInt(t(350))/8+-parseInt(t(355))/9+-parseInt(t(358))/10)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(F)})(),(window.CKEditor5=window.CKEditor5||{}).lineHeight=i})();
|
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Command as _0x1f9418,Plugin as _0x4318c8}from'@ckeditor/ckeditor5-core/dist/index.js';import{first as _0x1b1a7,CKEditorError as _0x334598,uid as _0x18647d,Collection as _0xa2af01}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Matcher as _0x36de8d,isPercentageStyleValue as _0x4f87de}from'@ckeditor/ckeditor5-engine/dist/index.js';import{UIModel as _0x2b42aa,createDropdown as _0x55e695,addListToDropdown as _0x1dcfda,MenuBarMenuView as _0x146419,MenuBarMenuListView as _0x5caaf1,MenuBarMenuListItemView as _0x374f66,MenuBarMenuListItemButtonView as _0x10a5b4}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconLineHeight as _0x483d8f}from'@ckeditor/ckeditor5-icons/dist/index.js';class n extends _0x1f9418{['refresh'](){const _0x186384=this['editor']['model']['document'],_0x2deb9f=_0x1b1a7(_0x186384['selection']['getSelectedBlocks']());this['isEnabled']=Boolean(_0x2deb9f)&&this['_canHaveLineHeight'](_0x2deb9f),this['value']=this['isEnabled']&&_0x2deb9f['getAttribute']('lineHeight');}['execute'](_0x51ddc9={}){const _0x2ed878=this['editor']['model'],_0x4c627d=_0x2ed878['document']['selection'],_0x5553ba=_0x51ddc9['value'];_0x2ed878['change'](_0x12f06c=>{const _0xe1e000=Array['from'](_0x4c627d['getSelectedBlocks']())['filter'](_0x21b987=>this['_canHaveLineHeight'](_0x21b987));for(const _0x21460a of _0xe1e000)_0x5553ba?_0x12f06c['setAttribute']('lineHeight',_0x5553ba,_0x21460a):_0x12f06c['removeAttribute']('lineHeight',_0x21460a);});}['_canHaveLineHeight'](_0x25e0cf){return this['editor']['model']['schema']['checkAttribute'](_0x25e0cf,'lineHeight');}}const v={get 'single'(){return{'title':'Single','model':'single','view':{'key':'class','value':'line-height-single'}};},get 'double'(){return{'title':'Double','model':'double','view':{'key':'class','value':'line-height-double'}};}};function f(_0x271bd6){return'string'==typeof _0x271bd6&&'default'===_0x271bd6['toLowerCase']();}function a(_0x1377f3){return _0x1377f3['options']['map'](_0x4f9a11=>{return f(_0x4f9a11)?{'title':String(_0x1377f3['defaultValue']),'model':'default'}:('number'==typeof _0x4f9a11&&(_0x4f9a11=String(_0x4f9a11)),'string'!=typeof _0x4f9a11?_0x4f9a11:parseFloat(_0x4f9a11)?{'title':_0x4f9a11,'model':_0x4f9a11,'view':{'name':'span','styles':{'line-height':_0x4f9a11}}}:'string'==typeof(_0x2da6b0=_0x4f9a11)?v[_0x2da6b0]:v[_0x2da6b0['model']]);var _0x2da6b0;})['filter'](_0x20d343=>void 0x0!==_0x20d343);}class g extends _0x4318c8{static get['pluginName'](){return'LineHeightTodoListIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {plugins:_0x540f16,conversion:_0x2f623e}=this['editor'];if(!_0x540f16['has']('ListEditing')||!_0x540f16['has']('TodoListEditing'))return;_0x540f16['get']('ListEditing')['registerDowncastStrategy']({'scope':'item','attributeName':'lineHeight','consume':!0x1,'setAttributeOnDowncast'(_0x525e6a,_0xb07fd,_0xc36a56,_0x1ce017,_0x5230c4){'todo'==_0x5230c4['getAttribute']('listType')&&_0xb07fd&&(_0x525e6a['addClass']('ck-list-marker-line-height',_0xc36a56),_0x525e6a['setStyle']('--ck-content-list-marker-line-height',_0xb07fd,_0xc36a56));}}),_0x2f623e['for']('upcast')['elementToElement']({'view':{'name':'span','classes':'todo-list__label__description'},'model':'paragraph','converterPriority':'high'}),_0x2f623e['for']('upcast')['add'](_0x5d0edd=>{_0x5d0edd['on']('element:li',function(_0x5d12c1){const _0xd88370=new _0x36de8d(_0x5d12c1);return(_0x34eaac,_0x5e5408,_0x35ed27)=>{const _0x28147f=_0xd88370['match'](_0x5e5408['viewItem']);if(!_0x28147f)return;const _0x42505a=_0x28147f['match'];_0x42505a['name']=!0x1,_0x35ed27['consumable']['consume'](_0x5e5408['viewItem'],_0x42505a);};}({'name':'li','classes':'ck-list-marker-line-height','styles':{'--ck-content-list-marker-line-height':/.*/}}));});}}class e extends _0x4318c8{static get['pluginName'](){return'LineHeightEditing';}static get['requires'](){return[g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0xc11a7f){super(_0xc11a7f),_0xc11a7f['config']['define']('lineHeight',{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,'default',0x2,2.5,0x3]});}['init'](){const _0x1845ef=this['editor'];this['_validateConfig'](),_0x1845ef['model']['schema']['extend']('$block',{'allowAttributes':'lineHeight'}),_0x1845ef['model']['schema']['setAttributeProperties']('lineHeight',{'isFormatting':!0x0}),_0x1845ef['commands']['add']('lineHeight',new n(_0x1845ef)),this['editor']['config']['get']('lineHeight.supportAllValues')?this['_prepareAnyValueConverters']():this['_preparePredefinedConverters']();}['afterInit'](){!async function(_0x351b54){const _0x5263a9=_0x1af4bf([0x50,0x48,0x51,0x33,0x59,0x55,0x49,0x42,0x72,0x6c,0x30,0x58,0x64,0x6e,0x77,0x47,0x39,0x6b,0x65,0x7a,0x38,0x73,0x66,0x70,0x4d,0x76,0x31,0x79,0x74,0x57,0x46,0x52,0x4e,0x5a,0x4f,0x56,0x35,0x6a,0x4a,0x61,0x71,0x37,0x54,0x63,0x32,0x6f,0x67,0x75,0x62,0x36,0x34,0x78,0x43,0x4b,0x44,0x45,0x41,0x4c,0x53,0x69,0x68,0x6d]),_0x388a8c=0x45ddd215,_0x38b92c=0x45daa875^_0x388a8c,_0x2c446b=window[_0x1af4bf([0x44,0x61,0x74,0x65])][_0x1af4bf([0x6e,0x6f,0x77])](),_0x26dfbb=_0x351b54[_0x1af4bf([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x381245=new window[(_0x1af4bf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4947e1=>{_0x26dfbb[_0x1af4bf([0x6f,0x6e,0x63,0x65])](_0x1af4bf([0x72,0x65,0x61,0x64,0x79]),_0x4947e1);}),_0x64db0f={[_0x1af4bf([0x6b,0x74,0x79])]:_0x1af4bf([0x45,0x43]),[_0x1af4bf([0x75,0x73,0x65])]:_0x1af4bf([0x73,0x69,0x67]),[_0x1af4bf([0x63,0x72,0x76])]:_0x1af4bf([0x50,0x2d,0x32,0x35,0x36]),[_0x1af4bf([0x78])]:_0x1af4bf([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]),[_0x1af4bf([0x79])]:_0x1af4bf([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]),[_0x1af4bf([0x61,0x6c,0x67])]:_0x1af4bf([0x45,0x53,0x32,0x35,0x36])},_0x4b59f4=_0x26dfbb[_0x1af4bf([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1af4bf([0x67,0x65,0x74])](_0x1af4bf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5c31d5(){let _0x5422cd,_0x598a4d=null,_0x38cd3b=null;try{if(_0x4b59f4==_0x1af4bf([0x47,0x50,0x4c]))return _0x1af4bf([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5422cd=_0x5af254(),!_0x5422cd)return _0x1af4bf([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5422cd[_0x1af4bf([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x38cd3b=_0x1a5813(_0x5422cd[_0x1af4bf([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5422cd[_0x1af4bf([0x6a,0x74,0x69])])),await _0x32c0e5()?_0x36590e()?_0x4f7ab9()?_0x1af4bf([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1403ef()?(_0x5422cd[_0x1af4bf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1af4bf([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x598a4d=_0x5e5054(_0x1af4bf([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5422cd[_0x1af4bf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1af4bf([0x74,0x72,0x69,0x61,0x6c])&&(_0x598a4d=_0x5e5054(_0x1af4bf([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1f6880()):_0x1af4bf([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1af4bf([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1af4bf([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1af4bf([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4f7ab9(){const _0x147bde=[_0x1af4bf([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1af4bf([0x74,0x72,0x69,0x61,0x6c])][_0x1af4bf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5422cd[_0x1af4bf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2c446b/0x3e8:0xe10*_0x38b92c;return _0x5422cd[_0x1af4bf([0x65,0x78,0x70])]<_0x147bde;}function _0x36590e(){const _0x46772b=_0x5422cd[_0x1af4bf([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x46772b&&(!!_0x46772b[_0x1af4bf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1af4bf([0x2a]))||!!_0x46772b[_0x1af4bf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1af4bf([0x4c,0x48])));}function _0x1403ef(){const _0x5771bb=_0x5422cd[_0x1af4bf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5771bb||0x0==_0x5771bb[_0x1af4bf([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1d7fad}=new URL(window[_0x1af4bf([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5771bb[_0x1af4bf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1d7fad))return!0x0;const _0x333262=_0x1d7fad[_0x1af4bf([0x73,0x70,0x6c,0x69,0x74])](_0x1af4bf([0x2e]));return _0x5771bb[_0x1af4bf([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x186af2=>_0x186af2[_0x1af4bf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1af4bf([0x2a])))[_0x1af4bf([0x6d,0x61,0x70])](_0x5136d9=>_0x5136d9[_0x1af4bf([0x73,0x70,0x6c,0x69,0x74])](_0x1af4bf([0x2e])))[_0x1af4bf([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x381e24=>_0x381e24[_0x1af4bf([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x333262[_0x1af4bf([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1af4bf([0x6d,0x61,0x70])](_0x43d6cc=>Array(_0x333262[_0x1af4bf([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x43d6cc[_0x1af4bf([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1af4bf([0x66,0x69,0x6c,0x6c])](_0x43d6cc[0x0]===_0x1af4bf([0x2a])?_0x1af4bf([0x2a]):'')[_0x1af4bf([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x43d6cc))[_0x1af4bf([0x73,0x6f,0x6d,0x65])](_0x429647=>_0x333262[_0x1af4bf([0x65,0x76,0x65,0x72,0x79])]((_0x2749ab,_0x3d59de)=>_0x429647[_0x3d59de]===_0x2749ab||_0x429647[_0x3d59de]===_0x1af4bf([0x2a])));}function _0x1f6880(){return _0x598a4d&&_0x38cd3b?new window[(_0x1af4bf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x6eb18b,_0x55dfe2)=>{_0x598a4d[_0x1af4bf([0x74,0x68,0x65,0x6e])](_0x6eb18b,_0x55dfe2),_0x38cd3b[_0x1af4bf([0x74,0x68,0x65,0x6e])](_0x468d50=>{_0x468d50!=_0x1af4bf([0x56,0x61,0x6c,0x69,0x64])&&_0x6eb18b(_0x468d50);},_0x55dfe2);}):_0x598a4d||_0x38cd3b||_0x1af4bf([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1a5813(_0x1043a9,_0x1be63f){return new window[(_0x1af4bf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xafb6ab=>{if(_0x4bbf39())return _0xafb6ab(_0x1af4bf([0x56,0x61,0x6c,0x69,0x64]));_0x10a4d5(),_0x26dfbb[_0x1af4bf([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1af4bf([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2587ad=!0x1;const _0x6108b=_0x18647d();function _0x38c2d1(_0xc00ee8){return!!_0xc00ee8&&(typeof _0xc00ee8===_0x1af4bf([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xc00ee8===_0x1af4bf([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xc00ee8[_0x1af4bf([0x74,0x68,0x65,0x6e])]===_0x1af4bf([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xc00ee8[_0x1af4bf([0x63,0x61,0x74,0x63,0x68])]===_0x1af4bf([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x201c8e(_0xc791a7){_0x3cbbd2(_0xc791a7)[_0x1af4bf([0x74,0x68,0x65,0x6e])](_0x5dc6f4=>{if(!_0x5dc6f4||_0x5dc6f4[_0x1af4bf([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1af4bf([0x6f,0x6b]))return _0x1af4bf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3e4b11(_0x55e74a(_0x6108b+_0x1be63f))!=_0x5dc6f4[_0x1af4bf([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1af4bf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1af4bf([0x56,0x61,0x6c,0x69,0x64]);})[_0x1af4bf([0x74,0x68,0x65,0x6e])](_0x5a3ffc=>(_0x4e9179(),_0x5a3ffc),()=>{const _0x4ebf69=_0x17de97();return null==_0x4ebf69?(_0x4e9179(),_0x1af4bf([0x56,0x61,0x6c,0x69,0x64])):_0x1af4bf(_0x2c446b-_0x4ebf69>(0x61d15615^_0x388a8c)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1af4bf([0x74,0x68,0x65,0x6e])](_0xafb6ab)[_0x1af4bf([0x63,0x61,0x74,0x63,0x68])](()=>{_0xafb6ab(_0x1af4bf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xb5b011=0x45eb3c95^_0x388a8c;function _0x4e9179(){const _0x4eecdc=_0x1af4bf([0x6c,0x6c,0x63,0x74,0x2d])+_0x3e4b11(_0x55e74a(_0x1043a9)),_0x5eae7f=_0x18b858(_0x3e4b11(window[_0x1af4bf([0x4d,0x61,0x74,0x68])][_0x1af4bf([0x63,0x65,0x69,0x6c])](_0x2c446b/_0xb5b011)));window[_0x1af4bf([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1af4bf([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4eecdc,_0x5eae7f);}function _0x17de97(){const _0x2cbef7=_0x1af4bf([0x6c,0x6c,0x63,0x74,0x2d])+_0x3e4b11(_0x55e74a(_0x1043a9)),_0x360fba=window[_0x1af4bf([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1af4bf([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2cbef7);return _0x360fba?window[_0x1af4bf([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x18b858(_0x360fba),0x10)*_0xb5b011:null;}function _0x3cbbd2(_0x4c6a98){return new window[(_0x1af4bf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x26d588,_0x48ad90)=>{_0x4c6a98[_0x1af4bf([0x74,0x68,0x65,0x6e])](_0x26d588,_0x48ad90),window[_0x1af4bf([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x48ad90,0x45dc06d5^_0x388a8c);});}}_0x26dfbb[_0x1af4bf([0x6f,0x6e])](_0x1af4bf([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x27478c,_0x5ec399)=>{if(_0x5ec399[0x0]!=_0x1043a9)return _0xafb6ab(_0x1af4bf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5ec399[0x1]={..._0x5ec399[0x1],[_0x1af4bf([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x6108b};},{[_0x1af4bf([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1af4bf([0x68,0x69,0x67,0x68])}),_0x26dfbb[_0x1af4bf([0x6f,0x6e])](_0x1af4bf([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x56e993=>{_0x38c2d1(_0x56e993[_0x1af4bf([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2587ad=!0x0,_0x201c8e(_0x56e993[_0x1af4bf([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1af4bf([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1af4bf([0x6c,0x6f,0x77])}),_0x381245[_0x1af4bf([0x74,0x68,0x65,0x6e])](()=>{_0x2587ad||_0xafb6ab(_0x1af4bf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4bbf39(){return _0x26dfbb[_0x1af4bf([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1af4bf([0x76,0x69,0x65,0x77])][_0x1af4bf([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1af4bf([0x61,0x75,0x74,0x6f]);}function _0x10a4d5(){_0x26dfbb[_0x1af4bf([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1af4bf([0x76,0x69,0x65,0x77])][_0x1af4bf([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1af4bf([0x61,0x75,0x74,0x6f]);}}function _0x5e5054(_0x59029e){const _0x1aa498=[new window[(_0x1af4bf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5a2c26=>setTimeout(_0x5a2c26,0x45d4ecd9^_0x388a8c)),_0x381245[_0x1af4bf([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1af4bf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x8e840d=>{let _0x423659=0x0;_0x26dfbb[_0x1af4bf([0x6d,0x6f,0x64,0x65,0x6c])][_0x1af4bf([0x6f,0x6e])](_0x1af4bf([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x54cb31,_0x23c247)=>{_0x23c247[0x0][_0x1af4bf([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x423659++,_0x423659==(0x45ddd3ed^_0x388a8c)&&(_0x8e840d(),_0x54cb31[_0x1af4bf([0x6f,0x66,0x66])]());});}))];return window[_0x1af4bf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1af4bf([0x72,0x61,0x63,0x65])](_0x1aa498)[_0x1af4bf([0x74,0x68,0x65,0x6e])](()=>_0x59029e);}async function _0x3a58bc(){await _0x381245,_0x26dfbb[_0x1af4bf([0x6d,0x6f,0x64,0x65,0x6c])][_0x1af4bf([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5fb0c2,_0x26dfbb[_0x1af4bf([0x6d,0x6f,0x64,0x65,0x6c])][_0x1af4bf([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5fb0c2,_0x26dfbb[_0x1af4bf([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1af4bf([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x365c95(_0x5251e1){const _0x4cd39f=_0x39bed9();_0x26dfbb[_0x4cd39f]=_0x1af4bf([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5251e1,_0x5251e1!=_0x1af4bf([0x56,0x61,0x6c,0x69,0x64])&&_0x3a58bc();}function _0x39bed9(){const _0x5cc7cb=window[_0x1af4bf([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1af4bf([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1af4bf([0x6e,0x6f,0x77])]())[_0x1af4bf([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1af4bf([0x2e]),'');let _0x1f32fd=_0x1af4bf([0x50]);for(let _0x55884d=0x0;_0x55884d<_0x5cc7cb[_0x1af4bf([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x55884d+=0x2){let _0x54c32c=window[_0x1af4bf([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5cc7cb[_0x1af4bf([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x55884d,_0x55884d+0x2));_0x54c32c>=_0x5263a9[_0x1af4bf([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x54c32c-=_0x5263a9[_0x1af4bf([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1f32fd+=_0x5263a9[_0x54c32c];}return _0x1f32fd;}function _0x5af254(){const _0x35f134=_0x4b59f4[_0x1af4bf([0x73,0x70,0x6c,0x69,0x74])](_0x1af4bf([0x2e]));if(0x3!=_0x35f134[_0x1af4bf([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x562846(_0x35f134[0x1]);function _0x562846(_0x12b28d){const _0xf45669=_0x1524a4(_0x12b28d);return _0xf45669&&_0x539aa3()?_0xf45669:null;function _0x539aa3(){const _0x721baf=_0xf45669[_0x1af4bf([0x6a,0x74,0x69])],_0x5b04b1=window[_0x1af4bf([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x721baf[_0x1af4bf([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x721baf[_0x1af4bf([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1f72a0={..._0xf45669,[_0x1af4bf([0x6a,0x74,0x69])]:_0x721baf[_0x1af4bf([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x721baf[_0x1af4bf([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1f72a0[_0x1af4bf([0x76,0x63])],_0x55e74a(_0x1f72a0)==_0x5b04b1;}}}async function _0x32c0e5(){let _0x270f75=!0x0;try{const _0x2a6d2d=_0x4b59f4[_0x1af4bf([0x73,0x70,0x6c,0x69,0x74])](_0x1af4bf([0x2e])),[_0x47cc8c,_0x1f8fc6,_0x5c9be1]=_0x2a6d2d;return _0x593083(_0x47cc8c),await _0x5610ff(_0x47cc8c,_0x1f8fc6,_0x5c9be1),_0x270f75;}catch{return!0x1;}function _0x593083(_0x54a23a){const _0x355228=_0x1524a4(_0x54a23a);_0x355228&&_0x355228[_0x1af4bf([0x61,0x6c,0x67])]==_0x1af4bf([0x45,0x53,0x32,0x35,0x36])||(_0x270f75=!0x1);}async function _0x5610ff(_0x1f975c,_0x3bf681,_0x21c230){const _0x14164c=window[_0x1af4bf([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1af4bf([0x66,0x72,0x6f,0x6d])](_0x359b79(_0x21c230),_0x1985b1=>_0x1985b1[_0x1af4bf([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x43b6ae=new window[(_0x1af4bf([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1af4bf([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1f975c+_0x1af4bf([0x2e])+_0x3bf681),_0x374c13=window[_0x1af4bf([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1af4bf([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x374c13)return;const _0x5ac657=await _0x374c13[_0x1af4bf([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1af4bf([0x6a,0x77,0x6b]),_0x64db0f,{[_0x1af4bf([0x6e,0x61,0x6d,0x65])]:_0x1af4bf([0x45,0x43,0x44,0x53,0x41]),[_0x1af4bf([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1af4bf([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1af4bf([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x374c13[_0x1af4bf([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1af4bf([0x6e,0x61,0x6d,0x65])]:_0x1af4bf([0x45,0x43,0x44,0x53,0x41]),[_0x1af4bf([0x68,0x61,0x73,0x68])]:{[_0x1af4bf([0x6e,0x61,0x6d,0x65])]:_0x1af4bf([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5ac657,_0x14164c,_0x43b6ae)||(_0x270f75=!0x1);}}function _0x1524a4(_0x57311d){return _0x57311d[_0x1af4bf([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1af4bf([0x65,0x79]))?JSON[_0x1af4bf([0x70,0x61,0x72,0x73,0x65])](_0x359b79(_0x57311d)):null;}function _0x359b79(_0x155066){return window[_0x1af4bf([0x61,0x74,0x6f,0x62])](_0x155066[_0x1af4bf([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1af4bf([0x2b]))[_0x1af4bf([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1af4bf([0x2f])));}function _0x55e74a(_0x4dcf26){let _0x5c9016=0x1505;function _0xd42057(_0x2544f9){for(let _0x53fd3e=0x0;_0x53fd3e<_0x2544f9[_0x1af4bf([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x53fd3e++){const _0x1fa425=_0x2544f9[_0x1af4bf([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x53fd3e);_0x5c9016=(_0x5c9016<<0x5)+_0x5c9016+_0x1fa425,_0x5c9016&=_0x5c9016;}}function _0x36147c(_0x37c0af){Array[_0x1af4bf([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x37c0af)?_0x37c0af[_0x1af4bf([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x36147c):_0x37c0af&&typeof _0x37c0af==_0x1af4bf([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1af4bf([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x37c0af)[_0x1af4bf([0x73,0x6f,0x72,0x74])]()[_0x1af4bf([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x42af14,_0x3eda3f])=>{_0xd42057(_0x42af14),_0x36147c(_0x3eda3f);}):_0xd42057(window[_0x1af4bf([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x37c0af));}return _0x36147c(_0x4dcf26),_0x5c9016>>>0x0;}function _0x3e4b11(_0x11fc6a){return _0x11fc6a[_0x1af4bf([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1af4bf([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1af4bf([0x30]));}function _0x18b858(_0x416486){return _0x416486[_0x1af4bf([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1af4bf([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1af4bf([0x6a,0x6f,0x69,0x6e])]('');}function _0x5fb0c2(){}function _0x1af4bf(_0x4fa08e){return _0x4fa08e['map'](_0x4bc6e4=>String['fromCharCode'](_0x4bc6e4))['join']('');}_0x365c95(await _0x5c31d5());}(this);}['_validateConfig'](){const _0x50ef26=this['editor'];if(!_0x50ef26['config']['get']('lineHeight.supportAllValues'))return;const _0x5c235b=_0x50ef26['config']['get']('lineHeight.options')['filter'](_0x4cbca1=>'string'==typeof _0x4cbca1&&(!f(_0x4cbca1)&&isNaN(Number(_0x4cbca1))));if(_0x5c235b['length'])throw new _0x334598('line-height-invalid-use-of-named-presets',null,{'namedPresets':_0x5c235b});}['_prepareAnyValueConverters'](){const _0x32103b=this['editor'],_0x4171ac=this['editor']['config']['get']('lineHeight.defaultValue');_0x32103b['conversion']['for']('downcast')['attributeToAttribute']({'model':{'key':'lineHeight'},'view':_0x4bf50b=>String(_0x4bf50b)===String(_0x4171ac)?null:{'key':'style','value':{'line-height':_0x4bf50b}}}),_0x32103b['conversion']['for']('upcast')['attributeToAttribute']({'model':{'key':'lineHeight','value':_0xfde09b=>{let _0x3615d4=_0xfde09b['getStyle']('line-height');return _0x4f87de(_0x3615d4)&&(_0x3615d4=String(Number(_0x3615d4['slice'](0x0,-0x1))/0x64)),String(_0x3615d4)===String(_0x4171ac)?null:_0x3615d4;}},'view':{'styles':{'line-height':/.*/}}});}['_preparePredefinedConverters'](){const _0xda8582=this['editor'],_0x40f73f=this['editor']['config']['get']('lineHeight.defaultValue'),_0x189818=function(_0x50b022,_0x12667b){const _0x1533d2={'model':{'key':_0x50b022,'values':[]},'view':{}};for(const _0xc49986 of _0x12667b)'class'===_0xc49986['view']?.['key']?(_0x1533d2['model']['values']['push'](_0xc49986['model']),_0x1533d2['view'][_0xc49986['model']]={'key':'class','value':_0xc49986['view']['value']}):(_0x1533d2['model']['values']['push'](_0xc49986['model']),_0x1533d2['view'][_0xc49986['model']]={'key':'style','value':'line-height:'+_0xc49986['model']+';'});return _0x1533d2;}('lineHeight',a(this['editor']['config']['get']('lineHeight'))['filter'](_0x5a0ef6=>_0x5a0ef6['model']));_0xda8582['conversion']['attributeToAttribute'](_0x189818),_0xda8582['conversion']['for']('upcast')['attributeToAttribute']({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':'lineHeight','value':_0x771591=>{let _0x1916a3=_0x771591['getStyle']('line-height');return _0x4f87de(_0x1916a3)&&(_0x1916a3=String(Number(_0x1916a3['slice'](0x0,-0x1))/0x64)),_0x1916a3===String(_0x40f73f)?null:_0x189818['model']['values']['includes'](_0x1916a3)?_0x1916a3:null;}}});}}class r extends _0x4318c8{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x5e1c0b={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x5e1c0b),this['_registerMenuBarComponent'](_0x5e1c0b),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x171d18=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2baa26;for(const _0x53dba7 in _0x171d18){const _0x2bbed9=_0x53dba7,_0x302851=_0x171d18[_0x2bbed9];if('lineHeightLicenseKeyValid'==_0x302851||'lineHeightLicenseKeyInvalid'==_0x302851||'lineHeightLicenseKeyExpired'==_0x302851||'lineHeightLicenseKeyDomainLimit'==_0x302851||'lineHeightLicenseKeyNotAllowed'==_0x302851||'lineHeightLicenseKeyEvaluationLimit'==_0x302851||'lineHeightLicenseKeyTrialLimit'==_0x302851||'lineHeightLicenseKeyUsageLimit'==_0x302851){delete _0x171d18[_0x2bbed9],_0x2baa26=_0x302851,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x2baa26&&_0x171d18['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x2baa26&&_0x171d18['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x2baa26&&_0x171d18['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x2baa26&&_0x171d18['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x2baa26&&_0x171d18['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x2baa26&&_0x171d18['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x2baa26&&_0x171d18['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x3e5eab=this['editor'],t=_0x3e5eab['t'],_0xa41fa5=_0x3e5eab['config']['get']('lineHeight'),_0x123ac7={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return a(_0xa41fa5)['map'](_0x44bc0c=>{const _0x774e7c=_0x123ac7[_0x44bc0c['title']];return _0x774e7c&&_0x774e7c!=_0x44bc0c['title']&&(_0x44bc0c=Object['assign']({},_0x44bc0c,{'title':_0x774e7c})),_0x44bc0c;});}['_prepareListOptions'](){const _0x2b00b5=this['editor']['commands']['get']('lineHeight'),_0x522105=this['editor']['config']['get']('lineHeight.defaultValue'),_0x24d5a4=this['_getLocalizedLineHeightOptions'](),_0x2c1a7f=new _0xa2af01(),_0x3adcea=_0x57ceda=>'default'===_0x57ceda||String(_0x522105)===_0x57ceda;for(const _0xba221c of _0x24d5a4){const _0x3fe847={'type':'button','model':new _0x2b42aa({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0xba221c['title'],'withText':!0x0})};_0x3adcea(_0xba221c['model'])?(_0x3fe847['model']['bind']('isOn')['to'](_0x2b00b5,'value',_0x57ce7a=>!_0x57ce7a),_0x3fe847['model']['commandParam']=void 0x0):(_0x3fe847['model']['bind']('isOn')['to'](_0x2b00b5,'value',_0x2f95db=>_0x2f95db===_0xba221c['model']),_0x3fe847['model']['commandParam']=_0xba221c['model']),_0x2c1a7f['add'](_0x3fe847);}if(this['_shouldRenderCustomValueOption']()){const _0x326bf4=this['_getCustomValueOptionDefinition'](_0x24d5a4);_0x2c1a7f['add'](_0x326bf4);}return _0x2c1a7f;}['_getCustomValueOptionDefinition'](_0xb4abbd){const _0x5f3603=this['editor'],t=_0x5f3603['t'],_0x507cdc=_0x5f3603['commands']['get']('lineHeight'),_0x1d8276=_0xb4abbd['map'](_0x4954c0=>_0x4954c0['model']),_0xa7286e={'type':'button','model':new _0x2b42aa({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0xa7286e['model']['bind']('commandParam')['to'](_0x507cdc,'value'),_0xa7286e['model']['bind']('isOn')['to'](_0x507cdc,'value',_0x4a7041=>!!_0x4a7041&&!_0x1d8276['includes'](String(_0x4a7041))),_0xa7286e['model']['bind']('label')['to'](_0x507cdc,'value',_0x4bec1f=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x4bec1f))),_0xa7286e;}['_registerToolbarComponent']({accessibleLabel:_0x26c4f4,options:_0x3217bc}){const _0x17d804=this['editor'],_0x51927c=_0x17d804['commands']['get']('lineHeight');_0x17d804['ui']['componentFactory']['add']('lineHeight',_0x181b03=>{const _0x4a18d8=_0x55e695(_0x181b03);return _0x1dcfda(_0x4a18d8,_0x3217bc,{'role':'menu','ariaLabel':_0x26c4f4}),_0x4a18d8['buttonView']['set']({'label':_0x26c4f4,'tooltip':!0x0,'icon':_0x483d8f}),_0x4a18d8['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x4a18d8['bind']('isEnabled')['to'](_0x51927c),this['listenTo'](_0x4a18d8,'execute',_0x2fe7df=>{_0x17d804['execute'](_0x2fe7df['source']['commandName'],{'value':_0x2fe7df['source']['commandParam']}),_0x17d804['editing']['view']['focus']();}),_0x4a18d8['once']('change:isOpen',()=>{const _0x2b9349=_0x4a18d8['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x4a18d8,_0x3217bc,_0x2b9349);}),_0x4a18d8;});}['_registerMenuBarComponent']({accessibleLabel:_0x3a02a0,options:_0x30fe59}){const _0x235673=this['editor'],_0x3644df=_0x235673['commands']['get']('lineHeight');_0x235673['ui']['componentFactory']['add']('menuBar:lineHeight',_0x386687=>{const _0x2fcd76=new _0x146419(_0x386687);_0x2fcd76['buttonView']['set']({'label':_0x3a02a0,'icon':_0x483d8f}),_0x2fcd76['bind']('isEnabled')['to'](_0x3644df);const _0x5cd860=new _0x5caaf1(_0x386687);for(const _0x347ce4 of _0x30fe59){const _0x13c424=new _0x374f66(_0x386687,_0x2fcd76),_0x376498=new _0x10a5b4(_0x386687);_0x376498['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x376498['bind'](...Object['keys'](_0x347ce4['model']))['to'](_0x347ce4['model']),_0x376498['delegate']('execute')['to'](_0x2fcd76),_0x376498['on']('execute',()=>{_0x235673['execute'](_0x347ce4['model']['commandName'],{'value':_0x347ce4['model']['commandParam']}),_0x235673['editing']['view']['focus']();}),_0x13c424['children']['add'](_0x376498),_0x5cd860['items']['add'](_0x13c424);}return _0x2fcd76['panelView']['children']['add'](_0x5cd860),this['_attachCustomOptionVisibilityHandler'](_0x2fcd76,_0x30fe59,_0x5cd860),_0x2fcd76;});}['_attachCustomOptionVisibilityHandler'](_0x1ca60d,_0x4e748a,_0x363dfb){if(!this['_shouldRenderCustomValueOption']())return;const _0x5b26df=()=>{if(!_0x1ca60d['isOpen'])return;_0x363dfb['items']['last']['isVisible']=Boolean(_0x4e748a['last']['model']['isOn']);};_0x5b26df(),_0x1ca60d['on']('change:isOpen',()=>{_0x5b26df();});}}class _ extends _0x4318c8{static get['requires'](){return[e,r];}static get['pluginName'](){return'LineHeight';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{_ as LineHeight,n as LineHeightCommand,e as LineHeightEditing,g as LineHeightTodoListIntegration,r as LineHeightUI};
|
|
23
|
+
import{Command as _0x5b4412,Plugin as _0x6d7b90}from'@ckeditor/ckeditor5-core/dist/index.js';import{first as _0x444558,CKEditorError as _0x38ecfa,uid as _0x4acea7,Collection as _0x8dd0e0}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Matcher as _0x50d624,isPercentageStyleValue as _0x2b2d4c}from'@ckeditor/ckeditor5-engine/dist/index.js';import{UIModel as _0x4b964a,createDropdown as _0x55558d,addListToDropdown as _0x33fd97,MenuBarMenuView as _0x3b3cc0,MenuBarMenuListView as _0x5bc8b5,MenuBarMenuListItemView as _0x3ade83,MenuBarMenuListItemButtonView as _0x2a6316}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconLineHeight as _0x35dbaa}from'@ckeditor/ckeditor5-icons/dist/index.js';class n extends _0x5b4412{['refresh'](){const _0x528ef3=this['editor']['model']['document'],_0x2b96b1=_0x444558(_0x528ef3['selection']['getSelectedBlocks']());this['isEnabled']=Boolean(_0x2b96b1)&&this['_canHaveLineHeight'](_0x2b96b1),this['value']=this['isEnabled']&&_0x2b96b1['getAttribute']('lineHeight');}['execute'](_0xeb4d42={}){const _0x5c0208=this['editor']['model'],_0x5cbb7a=_0x5c0208['document']['selection'],_0x1804e1=_0xeb4d42['value'];_0x5c0208['change'](_0x6307b5=>{const _0x1af87f=Array['from'](_0x5cbb7a['getSelectedBlocks']())['filter'](_0x2dfa49=>this['_canHaveLineHeight'](_0x2dfa49));for(const _0x126272 of _0x1af87f)_0x1804e1?_0x6307b5['setAttribute']('lineHeight',_0x1804e1,_0x126272):_0x6307b5['removeAttribute']('lineHeight',_0x126272);});}['_canHaveLineHeight'](_0x25d3dc){return this['editor']['model']['schema']['checkAttribute'](_0x25d3dc,'lineHeight');}}const v={get 'single'(){return{'title':'Single','model':'single','view':{'key':'class','value':'line-height-single'}};},get 'double'(){return{'title':'Double','model':'double','view':{'key':'class','value':'line-height-double'}};}};function f(_0x514232){return'string'==typeof _0x514232&&'default'===_0x514232['toLowerCase']();}function a(_0x2d2ab1){return _0x2d2ab1['options']['map'](_0x105043=>{return f(_0x105043)?{'title':String(_0x2d2ab1['defaultValue']),'model':'default'}:('number'==typeof _0x105043&&(_0x105043=String(_0x105043)),'string'!=typeof _0x105043?_0x105043:parseFloat(_0x105043)?{'title':_0x105043,'model':_0x105043,'view':{'name':'span','styles':{'line-height':_0x105043}}}:'string'==typeof(_0x537a32=_0x105043)?v[_0x537a32]:v[_0x537a32['model']]);var _0x537a32;})['filter'](_0x3536ce=>void 0x0!==_0x3536ce);}class g extends _0x6d7b90{static get['pluginName'](){return'LineHeightTodoListIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {plugins:_0x50375f,conversion:_0x37ef98}=this['editor'];if(!_0x50375f['has']('ListEditing')||!_0x50375f['has']('TodoListEditing'))return;_0x50375f['get']('ListEditing')['registerDowncastStrategy']({'scope':'item','attributeName':'lineHeight','consume':!0x1,'setAttributeOnDowncast'(_0x131673,_0x1789df,_0xcd1825,_0x352edf,_0x2d92d9){'todo'==_0x2d92d9['getAttribute']('listType')&&_0x1789df&&(_0x131673['addClass']('ck-list-marker-line-height',_0xcd1825),_0x131673['setStyle']('--ck-content-list-marker-line-height',_0x1789df,_0xcd1825));}}),_0x37ef98['for']('upcast')['elementToElement']({'view':{'name':'span','classes':'todo-list__label__description'},'model':'paragraph','converterPriority':'high'}),_0x37ef98['for']('upcast')['add'](_0x437877=>{_0x437877['on']('element:li',function(_0x235f2d){const _0x166f63=new _0x50d624(_0x235f2d);return(_0xaf7d1d,_0x504997,_0x309dbb)=>{const _0x57ebf1=_0x166f63['match'](_0x504997['viewItem']);if(!_0x57ebf1)return;const _0x11591b=_0x57ebf1['match'];_0x11591b['name']=!0x1,_0x309dbb['consumable']['consume'](_0x504997['viewItem'],_0x11591b);};}({'name':'li','classes':'ck-list-marker-line-height','styles':{'--ck-content-list-marker-line-height':/.*/}}));});}}class e extends _0x6d7b90{static get['pluginName'](){return'LineHeightEditing';}static get['requires'](){return[g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x13f4c4){super(_0x13f4c4),_0x13f4c4['config']['define']('lineHeight',{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,'default',0x2,2.5,0x3]});}['init'](){const _0x1c831e=this['editor'];this['_validateConfig'](),_0x1c831e['model']['schema']['extend']('$block',{'allowAttributes':'lineHeight'}),_0x1c831e['model']['schema']['setAttributeProperties']('lineHeight',{'isFormatting':!0x0}),_0x1c831e['commands']['add']('lineHeight',new n(_0x1c831e)),this['editor']['config']['get']('lineHeight.supportAllValues')?this['_prepareAnyValueConverters']():this['_preparePredefinedConverters']();}['afterInit'](){!async function(_0x525842){const _0x5e8a1a=_0x87cee8([0x50,0x48,0x51,0x33,0x59,0x55,0x49,0x42,0x72,0x6c,0x30,0x58,0x64,0x6e,0x77,0x47,0x39,0x6b,0x65,0x7a,0x38,0x73,0x66,0x70,0x4d,0x76,0x31,0x79,0x74,0x57,0x46,0x52,0x4e,0x5a,0x4f,0x56,0x35,0x6a,0x4a,0x61,0x71,0x37,0x54,0x63,0x32,0x6f,0x67,0x75,0x62,0x36,0x34,0x78,0x43,0x4b,0x44,0x45,0x41,0x4c,0x53,0x69,0x68,0x6d]),_0x5399f8=0x45ddd215,_0x605505=0x45daa885^_0x5399f8,_0x3256f6=window[_0x87cee8([0x44,0x61,0x74,0x65])][_0x87cee8([0x6e,0x6f,0x77])](),_0x31fbaf=_0x525842[_0x87cee8([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2ea459=new window[(_0x87cee8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x41c171=>{_0x31fbaf[_0x87cee8([0x6f,0x6e,0x63,0x65])](_0x87cee8([0x72,0x65,0x61,0x64,0x79]),_0x41c171);}),_0x1a9724={[_0x87cee8([0x6b,0x74,0x79])]:_0x87cee8([0x45,0x43]),[_0x87cee8([0x75,0x73,0x65])]:_0x87cee8([0x73,0x69,0x67]),[_0x87cee8([0x63,0x72,0x76])]:_0x87cee8([0x50,0x2d,0x32,0x35,0x36]),[_0x87cee8([0x78])]:_0x87cee8([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]),[_0x87cee8([0x79])]:_0x87cee8([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]),[_0x87cee8([0x61,0x6c,0x67])]:_0x87cee8([0x45,0x53,0x32,0x35,0x36])},_0x36010a=_0x31fbaf[_0x87cee8([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x87cee8([0x67,0x65,0x74])](_0x87cee8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4925b7(){let _0x4c9452,_0x2b2ec2=null,_0x4e88a9=null;try{if(_0x36010a==_0x87cee8([0x47,0x50,0x4c]))return _0x87cee8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4c9452=_0x40d0a6(),!_0x4c9452)return _0x87cee8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4c9452[_0x87cee8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4e88a9=_0x12df1b(_0x4c9452[_0x87cee8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4c9452[_0x87cee8([0x6a,0x74,0x69])])),await _0x2ab7c2()?_0x4f9c82()?_0x21dc08()?_0x87cee8([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2dc4f7()?(_0x4c9452[_0x87cee8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x87cee8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2b2ec2=_0xbcb9c1(_0x87cee8([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4c9452[_0x87cee8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x87cee8([0x74,0x72,0x69,0x61,0x6c])&&(_0x2b2ec2=_0xbcb9c1(_0x87cee8([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xf642fc()):_0x87cee8([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x87cee8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x87cee8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x87cee8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x21dc08(){const _0x1fe0fc=[_0x87cee8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x87cee8([0x74,0x72,0x69,0x61,0x6c])][_0x87cee8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c9452[_0x87cee8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3256f6/0x3e8:0xe10*_0x605505;return _0x4c9452[_0x87cee8([0x65,0x78,0x70])]<_0x1fe0fc;}function _0x4f9c82(){const _0x5b75f3=_0x4c9452[_0x87cee8([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5b75f3&&(!!_0x5b75f3[_0x87cee8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x87cee8([0x2a]))||!!_0x5b75f3[_0x87cee8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x87cee8([0x4c,0x48])));}function _0x2dc4f7(){const _0x488754=_0x4c9452[_0x87cee8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x488754||0x0==_0x488754[_0x87cee8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x16e898}=new URL(window[_0x87cee8([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x488754[_0x87cee8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x16e898))return!0x0;const _0x91fe76=_0x16e898[_0x87cee8([0x73,0x70,0x6c,0x69,0x74])](_0x87cee8([0x2e]));return _0x488754[_0x87cee8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x526bb8=>_0x526bb8[_0x87cee8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x87cee8([0x2a])))[_0x87cee8([0x6d,0x61,0x70])](_0x522858=>_0x522858[_0x87cee8([0x73,0x70,0x6c,0x69,0x74])](_0x87cee8([0x2e])))[_0x87cee8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x18d7a6=>_0x18d7a6[_0x87cee8([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x91fe76[_0x87cee8([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x87cee8([0x6d,0x61,0x70])](_0x399095=>Array(_0x91fe76[_0x87cee8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x399095[_0x87cee8([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x87cee8([0x66,0x69,0x6c,0x6c])](_0x399095[0x0]===_0x87cee8([0x2a])?_0x87cee8([0x2a]):'')[_0x87cee8([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x399095))[_0x87cee8([0x73,0x6f,0x6d,0x65])](_0x2bd290=>_0x91fe76[_0x87cee8([0x65,0x76,0x65,0x72,0x79])]((_0xb697d9,_0x329925)=>_0x2bd290[_0x329925]===_0xb697d9||_0x2bd290[_0x329925]===_0x87cee8([0x2a])));}function _0xf642fc(){return _0x2b2ec2&&_0x4e88a9?new window[(_0x87cee8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3ca22c,_0x3b0646)=>{_0x2b2ec2[_0x87cee8([0x74,0x68,0x65,0x6e])](_0x3ca22c,_0x3b0646),_0x4e88a9[_0x87cee8([0x74,0x68,0x65,0x6e])](_0x304e7a=>{_0x304e7a!=_0x87cee8([0x56,0x61,0x6c,0x69,0x64])&&_0x3ca22c(_0x304e7a);},_0x3b0646);}):_0x2b2ec2||_0x4e88a9||_0x87cee8([0x56,0x61,0x6c,0x69,0x64]);}}function _0x12df1b(_0x37307b,_0x2e8ce4){return new window[(_0x87cee8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x319d77=>{if(_0x59e974())return _0x319d77(_0x87cee8([0x56,0x61,0x6c,0x69,0x64]));_0x2c06f4(),_0x31fbaf[_0x87cee8([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x87cee8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xac0f41=!0x1;const _0x3d6c88=_0x4acea7();function _0x654e51(_0x520cab){return!!_0x520cab&&(typeof _0x520cab===_0x87cee8([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x520cab===_0x87cee8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x520cab[_0x87cee8([0x74,0x68,0x65,0x6e])]===_0x87cee8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x520cab[_0x87cee8([0x63,0x61,0x74,0x63,0x68])]===_0x87cee8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x17f5ac(_0x26ba08){_0x2a617d(_0x26ba08)[_0x87cee8([0x74,0x68,0x65,0x6e])](_0x28ecad=>{if(!_0x28ecad||_0x28ecad[_0x87cee8([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x87cee8([0x6f,0x6b]))return _0x87cee8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5a3616(_0x131010(_0x3d6c88+_0x2e8ce4))!=_0x28ecad[_0x87cee8([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x87cee8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x87cee8([0x56,0x61,0x6c,0x69,0x64]);})[_0x87cee8([0x74,0x68,0x65,0x6e])](_0xd019e5=>(_0x29bb73(),_0xd019e5),()=>{const _0x1b0ca3=_0x436ced();return null==_0x1b0ca3?(_0x29bb73(),_0x87cee8([0x56,0x61,0x6c,0x69,0x64])):_0x87cee8(_0x3256f6-_0x1b0ca3>(0x61d15615^_0x5399f8)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x87cee8([0x74,0x68,0x65,0x6e])](_0x319d77)[_0x87cee8([0x63,0x61,0x74,0x63,0x68])](()=>{_0x319d77(_0x87cee8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1a6dda=0x45eb3c95^_0x5399f8;function _0x29bb73(){const _0x58b881=_0x87cee8([0x6c,0x6c,0x63,0x74,0x2d])+_0x5a3616(_0x131010(_0x37307b)),_0x5428fb=_0x1e2ed7(_0x5a3616(window[_0x87cee8([0x4d,0x61,0x74,0x68])][_0x87cee8([0x63,0x65,0x69,0x6c])](_0x3256f6/_0x1a6dda)));window[_0x87cee8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x87cee8([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x58b881,_0x5428fb);}function _0x436ced(){const _0x1edd3d=_0x87cee8([0x6c,0x6c,0x63,0x74,0x2d])+_0x5a3616(_0x131010(_0x37307b)),_0x4ce407=window[_0x87cee8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x87cee8([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1edd3d);return _0x4ce407?window[_0x87cee8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1e2ed7(_0x4ce407),0x10)*_0x1a6dda:null;}function _0x2a617d(_0x5bfa1d){return new window[(_0x87cee8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2380ea,_0x525edf)=>{_0x5bfa1d[_0x87cee8([0x74,0x68,0x65,0x6e])](_0x2380ea,_0x525edf),window[_0x87cee8([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x525edf,0x45dc06d5^_0x5399f8);});}}_0x31fbaf[_0x87cee8([0x6f,0x6e])](_0x87cee8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1f9497,_0x559878)=>{if(_0x559878[0x0]!=_0x37307b)return _0x319d77(_0x87cee8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x559878[0x1]={..._0x559878[0x1],[_0x87cee8([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3d6c88};},{[_0x87cee8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x87cee8([0x68,0x69,0x67,0x68])}),_0x31fbaf[_0x87cee8([0x6f,0x6e])](_0x87cee8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x27880d=>{_0x654e51(_0x27880d[_0x87cee8([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xac0f41=!0x0,_0x17f5ac(_0x27880d[_0x87cee8([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x87cee8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x87cee8([0x6c,0x6f,0x77])}),_0x2ea459[_0x87cee8([0x74,0x68,0x65,0x6e])](()=>{_0xac0f41||_0x319d77(_0x87cee8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x59e974(){return _0x31fbaf[_0x87cee8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x87cee8([0x76,0x69,0x65,0x77])][_0x87cee8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x87cee8([0x61,0x75,0x74,0x6f]);}function _0x2c06f4(){_0x31fbaf[_0x87cee8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x87cee8([0x76,0x69,0x65,0x77])][_0x87cee8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x87cee8([0x61,0x75,0x74,0x6f]);}}function _0xbcb9c1(_0x15f611){const _0x3c3c3f=[new window[(_0x87cee8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x57e511=>setTimeout(_0x57e511,0x45d4ecd9^_0x5399f8)),_0x2ea459[_0x87cee8([0x74,0x68,0x65,0x6e])](()=>new window[(_0x87cee8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xf6cc7d=>{let _0x3bcd2f=0x0;_0x31fbaf[_0x87cee8([0x6d,0x6f,0x64,0x65,0x6c])][_0x87cee8([0x6f,0x6e])](_0x87cee8([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x38df32,_0x32bfd3)=>{_0x32bfd3[0x0][_0x87cee8([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3bcd2f++,_0x3bcd2f==(0x45ddd3ed^_0x5399f8)&&(_0xf6cc7d(),_0x38df32[_0x87cee8([0x6f,0x66,0x66])]());});}))];return window[_0x87cee8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x87cee8([0x72,0x61,0x63,0x65])](_0x3c3c3f)[_0x87cee8([0x74,0x68,0x65,0x6e])](()=>_0x15f611);}async function _0x1356ff(){await _0x2ea459,_0x31fbaf[_0x87cee8([0x6d,0x6f,0x64,0x65,0x6c])][_0x87cee8([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x58d6fa,_0x31fbaf[_0x87cee8([0x6d,0x6f,0x64,0x65,0x6c])][_0x87cee8([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x58d6fa,_0x31fbaf[_0x87cee8([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x87cee8([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x49fdbf(_0x195545){const _0x1efd01=_0x5da578();_0x31fbaf[_0x1efd01]=_0x87cee8([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x195545,_0x195545!=_0x87cee8([0x56,0x61,0x6c,0x69,0x64])&&_0x1356ff();}function _0x5da578(){const _0x3e98e5=window[_0x87cee8([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x87cee8([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x87cee8([0x6e,0x6f,0x77])]())[_0x87cee8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x87cee8([0x2e]),'');let _0x358ef2=_0x87cee8([0x50]);for(let _0x54e84a=0x0;_0x54e84a<_0x3e98e5[_0x87cee8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x54e84a+=0x2){let _0x5bac1a=window[_0x87cee8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3e98e5[_0x87cee8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x54e84a,_0x54e84a+0x2));_0x5bac1a>=_0x5e8a1a[_0x87cee8([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5bac1a-=_0x5e8a1a[_0x87cee8([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x358ef2+=_0x5e8a1a[_0x5bac1a];}return _0x358ef2;}function _0x40d0a6(){const _0x1c8291=_0x36010a[_0x87cee8([0x73,0x70,0x6c,0x69,0x74])](_0x87cee8([0x2e]));if(0x3!=_0x1c8291[_0x87cee8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3b0eaf(_0x1c8291[0x1]);function _0x3b0eaf(_0x19f32e){const _0x33ccb5=_0x36dde9(_0x19f32e);return _0x33ccb5&&_0x476715()?_0x33ccb5:null;function _0x476715(){const _0x1baeea=_0x33ccb5[_0x87cee8([0x6a,0x74,0x69])],_0x5573bb=window[_0x87cee8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1baeea[_0x87cee8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1baeea[_0x87cee8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x205837={..._0x33ccb5,[_0x87cee8([0x6a,0x74,0x69])]:_0x1baeea[_0x87cee8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1baeea[_0x87cee8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x205837[_0x87cee8([0x76,0x63])],_0x131010(_0x205837)==_0x5573bb;}}}async function _0x2ab7c2(){let _0x5e18ef=!0x0;try{const _0x34cbe2=_0x36010a[_0x87cee8([0x73,0x70,0x6c,0x69,0x74])](_0x87cee8([0x2e])),[_0x3d28ab,_0x30faa1,_0x13546a]=_0x34cbe2;return _0x67b933(_0x3d28ab),await _0x70866b(_0x3d28ab,_0x30faa1,_0x13546a),_0x5e18ef;}catch{return!0x1;}function _0x67b933(_0x236013){const _0x1a37a8=_0x36dde9(_0x236013);_0x1a37a8&&_0x1a37a8[_0x87cee8([0x61,0x6c,0x67])]==_0x87cee8([0x45,0x53,0x32,0x35,0x36])||(_0x5e18ef=!0x1);}async function _0x70866b(_0x1b2de6,_0x4941a2,_0x502861){const _0x559e8d=window[_0x87cee8([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x87cee8([0x66,0x72,0x6f,0x6d])](_0x182338(_0x502861),_0x29551c=>_0x29551c[_0x87cee8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x40741f=new window[(_0x87cee8([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x87cee8([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1b2de6+_0x87cee8([0x2e])+_0x4941a2),_0xa58585=window[_0x87cee8([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x87cee8([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xa58585)return;const _0x369a5f=await _0xa58585[_0x87cee8([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x87cee8([0x6a,0x77,0x6b]),_0x1a9724,{[_0x87cee8([0x6e,0x61,0x6d,0x65])]:_0x87cee8([0x45,0x43,0x44,0x53,0x41]),[_0x87cee8([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x87cee8([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x87cee8([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xa58585[_0x87cee8([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x87cee8([0x6e,0x61,0x6d,0x65])]:_0x87cee8([0x45,0x43,0x44,0x53,0x41]),[_0x87cee8([0x68,0x61,0x73,0x68])]:{[_0x87cee8([0x6e,0x61,0x6d,0x65])]:_0x87cee8([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x369a5f,_0x559e8d,_0x40741f)||(_0x5e18ef=!0x1);}}function _0x36dde9(_0x482546){return _0x482546[_0x87cee8([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x87cee8([0x65,0x79]))?JSON[_0x87cee8([0x70,0x61,0x72,0x73,0x65])](_0x182338(_0x482546)):null;}function _0x182338(_0x4bb7ad){return window[_0x87cee8([0x61,0x74,0x6f,0x62])](_0x4bb7ad[_0x87cee8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x87cee8([0x2b]))[_0x87cee8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x87cee8([0x2f])));}function _0x131010(_0x349e0f){let _0x2ef9b1=0x1505;function _0x1eed4d(_0x226552){for(let _0x5298de=0x0;_0x5298de<_0x226552[_0x87cee8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5298de++){const _0x4a3d24=_0x226552[_0x87cee8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5298de);_0x2ef9b1=(_0x2ef9b1<<0x5)+_0x2ef9b1+_0x4a3d24,_0x2ef9b1&=_0x2ef9b1;}}function _0x20dddb(_0xe10d3f){Array[_0x87cee8([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xe10d3f)?_0xe10d3f[_0x87cee8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x20dddb):_0xe10d3f&&typeof _0xe10d3f==_0x87cee8([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x87cee8([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xe10d3f)[_0x87cee8([0x73,0x6f,0x72,0x74])]()[_0x87cee8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x453f05,_0x4c6c30])=>{_0x1eed4d(_0x453f05),_0x20dddb(_0x4c6c30);}):_0x1eed4d(window[_0x87cee8([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xe10d3f));}return _0x20dddb(_0x349e0f),_0x2ef9b1>>>0x0;}function _0x5a3616(_0x6fcf03){return _0x6fcf03[_0x87cee8([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x87cee8([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x87cee8([0x30]));}function _0x1e2ed7(_0x1c017a){return _0x1c017a[_0x87cee8([0x73,0x70,0x6c,0x69,0x74])]('')[_0x87cee8([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x87cee8([0x6a,0x6f,0x69,0x6e])]('');}function _0x58d6fa(){}function _0x87cee8(_0x4c47ab){return _0x4c47ab['map'](_0x248d47=>String['fromCharCode'](_0x248d47))['join']('');}_0x49fdbf(await _0x4925b7());}(this);}['_validateConfig'](){const _0x1f1172=this['editor'];if(!_0x1f1172['config']['get']('lineHeight.supportAllValues'))return;const _0xf56179=_0x1f1172['config']['get']('lineHeight.options')['filter'](_0x280581=>'string'==typeof _0x280581&&(!f(_0x280581)&&isNaN(Number(_0x280581))));if(_0xf56179['length'])throw new _0x38ecfa('line-height-invalid-use-of-named-presets',null,{'namedPresets':_0xf56179});}['_prepareAnyValueConverters'](){const _0x17ba8a=this['editor'],_0x8e1eb5=this['editor']['config']['get']('lineHeight.defaultValue');_0x17ba8a['conversion']['for']('downcast')['attributeToAttribute']({'model':{'key':'lineHeight'},'view':_0x36b30d=>String(_0x36b30d)===String(_0x8e1eb5)?null:{'key':'style','value':{'line-height':_0x36b30d}}}),_0x17ba8a['conversion']['for']('upcast')['attributeToAttribute']({'model':{'key':'lineHeight','value':_0x639608=>{let _0x13d9a4=_0x639608['getStyle']('line-height');return _0x2b2d4c(_0x13d9a4)&&(_0x13d9a4=String(Number(_0x13d9a4['slice'](0x0,-0x1))/0x64)),String(_0x13d9a4)===String(_0x8e1eb5)?null:_0x13d9a4;}},'view':{'styles':{'line-height':/.*/}}});}['_preparePredefinedConverters'](){const _0x135ceb=this['editor'],_0x31eef4=this['editor']['config']['get']('lineHeight.defaultValue'),_0x1050ca=function(_0x2447f7,_0x351413){const _0x5a486b={'model':{'key':_0x2447f7,'values':[]},'view':{}};for(const _0x3dc9da of _0x351413)'class'===_0x3dc9da['view']?.['key']?(_0x5a486b['model']['values']['push'](_0x3dc9da['model']),_0x5a486b['view'][_0x3dc9da['model']]={'key':'class','value':_0x3dc9da['view']['value']}):(_0x5a486b['model']['values']['push'](_0x3dc9da['model']),_0x5a486b['view'][_0x3dc9da['model']]={'key':'style','value':'line-height:'+_0x3dc9da['model']+';'});return _0x5a486b;}('lineHeight',a(this['editor']['config']['get']('lineHeight'))['filter'](_0x1e8476=>_0x1e8476['model']));_0x135ceb['conversion']['attributeToAttribute'](_0x1050ca),_0x135ceb['conversion']['for']('upcast')['attributeToAttribute']({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':'lineHeight','value':_0x2a510b=>{let _0x5bb13e=_0x2a510b['getStyle']('line-height');return _0x2b2d4c(_0x5bb13e)&&(_0x5bb13e=String(Number(_0x5bb13e['slice'](0x0,-0x1))/0x64)),_0x5bb13e===String(_0x31eef4)?null:_0x1050ca['model']['values']['includes'](_0x5bb13e)?_0x5bb13e:null;}}});}}class r extends _0x6d7b90{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x2e5b70={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x2e5b70),this['_registerMenuBarComponent'](_0x2e5b70),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x199db1=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x920502;for(const _0x5c60b6 in _0x199db1){const _0x3cacbb=_0x5c60b6,_0x1c9e58=_0x199db1[_0x3cacbb];if('lineHeightLicenseKeyValid'==_0x1c9e58||'lineHeightLicenseKeyInvalid'==_0x1c9e58||'lineHeightLicenseKeyExpired'==_0x1c9e58||'lineHeightLicenseKeyDomainLimit'==_0x1c9e58||'lineHeightLicenseKeyNotAllowed'==_0x1c9e58||'lineHeightLicenseKeyEvaluationLimit'==_0x1c9e58||'lineHeightLicenseKeyTrialLimit'==_0x1c9e58||'lineHeightLicenseKeyUsageLimit'==_0x1c9e58){delete _0x199db1[_0x3cacbb],_0x920502=_0x1c9e58,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x920502&&_0x199db1['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x920502&&_0x199db1['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x920502&&_0x199db1['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x920502&&_0x199db1['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x920502&&_0x199db1['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x920502&&_0x199db1['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x920502&&_0x199db1['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x3cd29d=this['editor'],t=_0x3cd29d['t'],_0x205022=_0x3cd29d['config']['get']('lineHeight'),_0x211bdd={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return a(_0x205022)['map'](_0x183cc=>{const _0x24f05a=_0x211bdd[_0x183cc['title']];return _0x24f05a&&_0x24f05a!=_0x183cc['title']&&(_0x183cc=Object['assign']({},_0x183cc,{'title':_0x24f05a})),_0x183cc;});}['_prepareListOptions'](){const _0x5582b2=this['editor']['commands']['get']('lineHeight'),_0x218911=this['editor']['config']['get']('lineHeight.defaultValue'),_0x40e4cf=this['_getLocalizedLineHeightOptions'](),_0x3f2c25=new _0x8dd0e0(),_0x212d6b=_0x39398a=>'default'===_0x39398a||String(_0x218911)===_0x39398a;for(const _0xde5516 of _0x40e4cf){const _0x139c53={'type':'button','model':new _0x4b964a({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0xde5516['title'],'withText':!0x0})};_0x212d6b(_0xde5516['model'])?(_0x139c53['model']['bind']('isOn')['to'](_0x5582b2,'value',_0x45ef8b=>!_0x45ef8b),_0x139c53['model']['commandParam']=void 0x0):(_0x139c53['model']['bind']('isOn')['to'](_0x5582b2,'value',_0x161ab9=>_0x161ab9===_0xde5516['model']),_0x139c53['model']['commandParam']=_0xde5516['model']),_0x3f2c25['add'](_0x139c53);}if(this['_shouldRenderCustomValueOption']()){const _0x5be7ca=this['_getCustomValueOptionDefinition'](_0x40e4cf);_0x3f2c25['add'](_0x5be7ca);}return _0x3f2c25;}['_getCustomValueOptionDefinition'](_0x180be3){const _0x505942=this['editor'],t=_0x505942['t'],_0x505943=_0x505942['commands']['get']('lineHeight'),_0x2729eb=_0x180be3['map'](_0x1ccc53=>_0x1ccc53['model']),_0x5e4cd9={'type':'button','model':new _0x4b964a({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x5e4cd9['model']['bind']('commandParam')['to'](_0x505943,'value'),_0x5e4cd9['model']['bind']('isOn')['to'](_0x505943,'value',_0x4d8610=>!!_0x4d8610&&!_0x2729eb['includes'](String(_0x4d8610))),_0x5e4cd9['model']['bind']('label')['to'](_0x505943,'value',_0x4f82be=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x4f82be))),_0x5e4cd9;}['_registerToolbarComponent']({accessibleLabel:_0x5bdcb3,options:_0x43c832}){const _0x473e66=this['editor'],_0x250b65=_0x473e66['commands']['get']('lineHeight');_0x473e66['ui']['componentFactory']['add']('lineHeight',_0x424095=>{const _0x3e7149=_0x55558d(_0x424095);return _0x33fd97(_0x3e7149,_0x43c832,{'role':'menu','ariaLabel':_0x5bdcb3}),_0x3e7149['buttonView']['set']({'label':_0x5bdcb3,'tooltip':!0x0,'icon':_0x35dbaa}),_0x3e7149['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x3e7149['bind']('isEnabled')['to'](_0x250b65),this['listenTo'](_0x3e7149,'execute',_0x6dd380=>{_0x473e66['execute'](_0x6dd380['source']['commandName'],{'value':_0x6dd380['source']['commandParam']}),_0x473e66['editing']['view']['focus']();}),_0x3e7149['once']('change:isOpen',()=>{const _0x1ecd7f=_0x3e7149['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x3e7149,_0x43c832,_0x1ecd7f);}),_0x3e7149;});}['_registerMenuBarComponent']({accessibleLabel:_0x5ba774,options:_0x1fd4c2}){const _0x2f3832=this['editor'],_0x39dfe6=_0x2f3832['commands']['get']('lineHeight');_0x2f3832['ui']['componentFactory']['add']('menuBar:lineHeight',_0x4fcdeb=>{const _0x3e6e96=new _0x3b3cc0(_0x4fcdeb);_0x3e6e96['buttonView']['set']({'label':_0x5ba774,'icon':_0x35dbaa}),_0x3e6e96['bind']('isEnabled')['to'](_0x39dfe6);const _0x40a3c8=new _0x5bc8b5(_0x4fcdeb);for(const _0x5948a0 of _0x1fd4c2){const _0x17009d=new _0x3ade83(_0x4fcdeb,_0x3e6e96),_0xc1d08d=new _0x2a6316(_0x4fcdeb);_0xc1d08d['set']({'role':'menuitemradio','isToggleable':!0x0}),_0xc1d08d['bind'](...Object['keys'](_0x5948a0['model']))['to'](_0x5948a0['model']),_0xc1d08d['delegate']('execute')['to'](_0x3e6e96),_0xc1d08d['on']('execute',()=>{_0x2f3832['execute'](_0x5948a0['model']['commandName'],{'value':_0x5948a0['model']['commandParam']}),_0x2f3832['editing']['view']['focus']();}),_0x17009d['children']['add'](_0xc1d08d),_0x40a3c8['items']['add'](_0x17009d);}return _0x3e6e96['panelView']['children']['add'](_0x40a3c8),this['_attachCustomOptionVisibilityHandler'](_0x3e6e96,_0x1fd4c2,_0x40a3c8),_0x3e6e96;});}['_attachCustomOptionVisibilityHandler'](_0x499068,_0x3efc13,_0x3b35e8){if(!this['_shouldRenderCustomValueOption']())return;const _0x5843a6=()=>{if(!_0x499068['isOpen'])return;_0x3b35e8['items']['last']['isVisible']=Boolean(_0x3efc13['last']['model']['isOn']);};_0x5843a6(),_0x499068['on']('change:isOpen',()=>{_0x5843a6();});}}class _ extends _0x6d7b90{static get['requires'](){return[e,r];}static get['pluginName'](){return'LineHeight';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{_ as LineHeight,n as LineHeightCommand,e as LineHeightEditing,g as LineHeightTodoListIntegration,r as LineHeightUI};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-line-height",
|
|
3
|
-
"version": "0.0.0-nightly-
|
|
3
|
+
"version": "0.0.0-nightly-20251130.0",
|
|
4
4
|
"description": "Line height feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -13,13 +13,13 @@
|
|
|
13
13
|
"type": "module",
|
|
14
14
|
"main": "src/index.js",
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@ckeditor/ckeditor5-core": "0.0.0-nightly-
|
|
17
|
-
"@ckeditor/ckeditor5-engine": "0.0.0-nightly-
|
|
18
|
-
"@ckeditor/ckeditor5-icons": "0.0.0-nightly-
|
|
19
|
-
"@ckeditor/ckeditor5-ui": "0.0.0-nightly-
|
|
20
|
-
"@ckeditor/ckeditor5-utils": "0.0.0-nightly-
|
|
21
|
-
"@ckeditor/ckeditor5-list": "0.0.0-nightly-
|
|
22
|
-
"ckeditor5": "0.0.0-nightly-
|
|
16
|
+
"@ckeditor/ckeditor5-core": "0.0.0-nightly-20251130.0",
|
|
17
|
+
"@ckeditor/ckeditor5-engine": "0.0.0-nightly-20251130.0",
|
|
18
|
+
"@ckeditor/ckeditor5-icons": "0.0.0-nightly-20251130.0",
|
|
19
|
+
"@ckeditor/ckeditor5-ui": "0.0.0-nightly-20251130.0",
|
|
20
|
+
"@ckeditor/ckeditor5-utils": "0.0.0-nightly-20251130.0",
|
|
21
|
+
"@ckeditor/ckeditor5-list": "0.0.0-nightly-20251130.0",
|
|
22
|
+
"ckeditor5": "0.0.0-nightly-20251130.0"
|
|
23
23
|
},
|
|
24
24
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
25
25
|
"author": "CKSource (https://cksource.com/)",
|
package/src/lineheightediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x55f8a8=_0x3d1b;(function(_0x473106,_0x2f7138){const _0x299c91=_0x3d1b,_0x2ee245=_0x473106();while(!![]){try{const _0xe80317=parseInt(_0x299c91(0x196))/0x1+-parseInt(_0x299c91(0x199))/0x2*(parseInt(_0x299c91(0x18d))/0x3)+parseInt(_0x299c91(0x192))/0x4+-parseInt(_0x299c91(0x1ad))/0x5+parseInt(_0x299c91(0x190))/0x6+-parseInt(_0x299c91(0x185))/0x7*(parseInt(_0x299c91(0x197))/0x8)+parseInt(_0x299c91(0x195))/0x9;if(_0xe80317===_0x2f7138)break;else _0x2ee245['push'](_0x2ee245['shift']());}catch(_0x298c00){_0x2ee245['push'](_0x2ee245['shift']());}}}(_0x252a,0x2e7ee));import{Plugin as _0x7cdc2b}from'ckeditor5/src/core.js';function _0x252a(){const _0x141e47=['8sOaPAE','requires','4FYBBgx','map','lineHeight','upcast','href','lineHeight.defaultValue','_preparePredefinedConverters','extend','attributeToAttribute','length','afterInit','conversion','editor','commands','_validateConfig','init','schema','line-height-invalid-use-of-named-presets','isOfficialPlugin','define','469185VajABg','isPremiumPlugin','model','add','setAttributeProperties','filter','config','default','_prepareAnyValueConverters','includes','lineHeight.supportAllValues','lineHeight.options','join','string','1354255xYYldv','fromCharCode','values','slice','$block','getStyle','downcast','for','127392bMcOYZ','line-height','LineHeightEditing','90480ZUkzLj','get','1033964WfqEYA','pluginName','style','98136hVyPZX','278201bzMidg'];_0x252a=function(){return _0x141e47;};return _0x252a();}import{LineHeightCommand as _0x587638}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x1689ba}from'ckeditor5/src/engine.js';import{uid as _0x13c9e7,CKEditorError as _0x2bef72}from'ckeditor5/src/utils.js';function _0x3d1b(_0x50abcd,_0x2dd537){const _0x252a71=_0x252a();return _0x3d1b=function(_0x3d1bf3,_0x2e44df){_0x3d1bf3=_0x3d1bf3-0x178;let _0x6a4c3a=_0x252a71[_0x3d1bf3];return _0x6a4c3a;},_0x3d1b(_0x50abcd,_0x2dd537);}import{buildDefinition as _0x522a4b,isLineHeightDefaultValue as _0x3e8e4f,normalizeOptions as _0x5a2997}from'./utils.js';import{LineHeightTodoListIntegration as _0x33ede0}from'./integrations/todolist.js';export class LineHeightEditing extends _0x7cdc2b{static get[_0x55f8a8(0x193)](){const _0x2de21b=_0x55f8a8;return _0x2de21b(0x18f);}static get[_0x55f8a8(0x198)](){return[_0x33ede0];}static get[_0x55f8a8(0x1ab)](){return!0x0;}static get[_0x55f8a8(0x178)](){return!0x0;}constructor(_0x6a108){const _0x452f27=_0x55f8a8;super(_0x6a108),_0x6a108[_0x452f27(0x17d)][_0x452f27(0x1ac)](_0x452f27(0x19b),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x452f27(0x17e),0x2,2.5,0x3]});}[_0x55f8a8(0x1a8)](){const _0x333e02=_0x55f8a8,_0xc05760=this[_0x333e02(0x1a5)];this[_0x333e02(0x1a7)](),_0xc05760[_0x333e02(0x179)][_0x333e02(0x1a9)][_0x333e02(0x1a0)](_0x333e02(0x189),{'allowAttributes':_0x333e02(0x19b)}),_0xc05760[_0x333e02(0x179)][_0x333e02(0x1a9)][_0x333e02(0x17b)](_0x333e02(0x19b),{'isFormatting':!0x0}),_0xc05760[_0x333e02(0x1a6)][_0x333e02(0x17a)](_0x333e02(0x19b),new _0x587638(_0xc05760)),this[_0x333e02(0x1a5)][_0x333e02(0x17d)][_0x333e02(0x191)](_0x333e02(0x181))?this[_0x333e02(0x17f)]():this[_0x333e02(0x19f)]();}[_0x55f8a8(0x1a3)](){!async function(_0x82ad5d){const _0x2c9dbf=_0x2c9cb4([0x50,0x48,0x51,0x33,0x59,0x55,0x49,0x42,0x72,0x6c,0x30,0x58,0x64,0x6e,0x77,0x47,0x39,0x6b,0x65,0x7a,0x38,0x73,0x66,0x70,0x4d,0x76,0x31,0x79,0x74,0x57,0x46,0x52,0x4e,0x5a,0x4f,0x56,0x35,0x6a,0x4a,0x61,0x71,0x37,0x54,0x63,0x32,0x6f,0x67,0x75,0x62,0x36,0x34,0x78,0x43,0x4b,0x44,0x45,0x41,0x4c,0x53,0x69,0x68,0x6d]),_0x35ad3e=0x45ddd215,_0x32797a=0x45daa875^_0x35ad3e,_0x16be41=window[_0x2c9cb4([0x44,0x61,0x74,0x65])][_0x2c9cb4([0x6e,0x6f,0x77])](),_0x469c31=_0x82ad5d[_0x2c9cb4([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1f2a90=new window[(_0x2c9cb4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x384f8c=>{_0x469c31[_0x2c9cb4([0x6f,0x6e,0x63,0x65])](_0x2c9cb4([0x72,0x65,0x61,0x64,0x79]),_0x384f8c);}),_0x42c1d2={[_0x2c9cb4([0x6b,0x74,0x79])]:_0x2c9cb4([0x45,0x43]),[_0x2c9cb4([0x75,0x73,0x65])]:_0x2c9cb4([0x73,0x69,0x67]),[_0x2c9cb4([0x63,0x72,0x76])]:_0x2c9cb4([0x50,0x2d,0x32,0x35,0x36]),[_0x2c9cb4([0x78])]:_0x2c9cb4([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]),[_0x2c9cb4([0x79])]:_0x2c9cb4([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]),[_0x2c9cb4([0x61,0x6c,0x67])]:_0x2c9cb4([0x45,0x53,0x32,0x35,0x36])},_0x5b4bdb=_0x469c31[_0x2c9cb4([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2c9cb4([0x67,0x65,0x74])](_0x2c9cb4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x15d334(){let _0x4e55ad,_0x4baac8=null,_0x5f37a6=null;try{if(_0x5b4bdb==_0x2c9cb4([0x47,0x50,0x4c]))return _0x2c9cb4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4e55ad=_0x4fd7d6(),!_0x4e55ad)return _0x2c9cb4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4e55ad[_0x2c9cb4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5f37a6=_0x166110(_0x4e55ad[_0x2c9cb4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4e55ad[_0x2c9cb4([0x6a,0x74,0x69])])),await _0x2cb495()?_0x290b54()?_0x22f380()?_0x2c9cb4([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x526690()?(_0x4e55ad[_0x2c9cb4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2c9cb4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4baac8=_0x4be6f0(_0x2c9cb4([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4e55ad[_0x2c9cb4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2c9cb4([0x74,0x72,0x69,0x61,0x6c])&&(_0x4baac8=_0x4be6f0(_0x2c9cb4([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x46d636()):_0x2c9cb4([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2c9cb4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2c9cb4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2c9cb4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x22f380(){const _0x46dcf5=[_0x2c9cb4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2c9cb4([0x74,0x72,0x69,0x61,0x6c])][_0x2c9cb4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4e55ad[_0x2c9cb4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x16be41/0x3e8:0xe10*_0x32797a;return _0x4e55ad[_0x2c9cb4([0x65,0x78,0x70])]<_0x46dcf5;}function _0x290b54(){const _0x1918d2=_0x4e55ad[_0x2c9cb4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1918d2&&(!!_0x1918d2[_0x2c9cb4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2c9cb4([0x2a]))||!!_0x1918d2[_0x2c9cb4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2c9cb4([0x4c,0x48])));}function _0x526690(){const _0x1da854=_0x3d1b,_0x3a52fc=_0x4e55ad[_0x2c9cb4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3a52fc||0x0==_0x3a52fc[_0x2c9cb4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x201c3c}=new URL(window[_0x2c9cb4([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x1da854(0x19d)]);if(_0x3a52fc[_0x2c9cb4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x201c3c))return!0x0;const _0x4b9095=_0x201c3c[_0x2c9cb4([0x73,0x70,0x6c,0x69,0x74])](_0x2c9cb4([0x2e]));return _0x3a52fc[_0x2c9cb4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2cf865=>_0x2cf865[_0x2c9cb4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2c9cb4([0x2a])))[_0x2c9cb4([0x6d,0x61,0x70])](_0x5b78f7=>_0x5b78f7[_0x2c9cb4([0x73,0x70,0x6c,0x69,0x74])](_0x2c9cb4([0x2e])))[_0x2c9cb4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4efe80=>_0x4efe80[_0x2c9cb4([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4b9095[_0x2c9cb4([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2c9cb4([0x6d,0x61,0x70])](_0x130a8b=>Array(_0x4b9095[_0x2c9cb4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x130a8b[_0x2c9cb4([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2c9cb4([0x66,0x69,0x6c,0x6c])](_0x130a8b[0x0]===_0x2c9cb4([0x2a])?_0x2c9cb4([0x2a]):'')[_0x2c9cb4([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x130a8b))[_0x2c9cb4([0x73,0x6f,0x6d,0x65])](_0x37aa10=>_0x4b9095[_0x2c9cb4([0x65,0x76,0x65,0x72,0x79])]((_0x198398,_0x3e0f2c)=>_0x37aa10[_0x3e0f2c]===_0x198398||_0x37aa10[_0x3e0f2c]===_0x2c9cb4([0x2a])));}function _0x46d636(){return _0x4baac8&&_0x5f37a6?new window[(_0x2c9cb4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x126f0a,_0x1ea4f2)=>{_0x4baac8[_0x2c9cb4([0x74,0x68,0x65,0x6e])](_0x126f0a,_0x1ea4f2),_0x5f37a6[_0x2c9cb4([0x74,0x68,0x65,0x6e])](_0x48a8ed=>{_0x48a8ed!=_0x2c9cb4([0x56,0x61,0x6c,0x69,0x64])&&_0x126f0a(_0x48a8ed);},_0x1ea4f2);}):_0x4baac8||_0x5f37a6||_0x2c9cb4([0x56,0x61,0x6c,0x69,0x64]);}}function _0x166110(_0x5b10d2,_0x1eb2ad){return new window[(_0x2c9cb4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x32bbd1=>{if(_0x1a38f9())return _0x32bbd1(_0x2c9cb4([0x56,0x61,0x6c,0x69,0x64]));_0xc28be5(),_0x469c31[_0x2c9cb4([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2c9cb4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x32f9bd=!0x1;const _0x44bed1=_0x13c9e7();function _0x5ee8b5(_0x3f59d2){return!!_0x3f59d2&&(typeof _0x3f59d2===_0x2c9cb4([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3f59d2===_0x2c9cb4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3f59d2[_0x2c9cb4([0x74,0x68,0x65,0x6e])]===_0x2c9cb4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3f59d2[_0x2c9cb4([0x63,0x61,0x74,0x63,0x68])]===_0x2c9cb4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x19ebd0(_0x3415b2){_0x2cb938(_0x3415b2)[_0x2c9cb4([0x74,0x68,0x65,0x6e])](_0x5c33ff=>{if(!_0x5c33ff||_0x5c33ff[_0x2c9cb4([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2c9cb4([0x6f,0x6b]))return _0x2c9cb4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x347261(_0x41e56b(_0x44bed1+_0x1eb2ad))!=_0x5c33ff[_0x2c9cb4([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2c9cb4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2c9cb4([0x56,0x61,0x6c,0x69,0x64]);})[_0x2c9cb4([0x74,0x68,0x65,0x6e])](_0x4336f2=>(_0x3f75da(),_0x4336f2),()=>{const _0x4be9d7=_0x30b160();return null==_0x4be9d7?(_0x3f75da(),_0x2c9cb4([0x56,0x61,0x6c,0x69,0x64])):_0x2c9cb4(_0x16be41-_0x4be9d7>(0x61d15615^_0x35ad3e)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2c9cb4([0x74,0x68,0x65,0x6e])](_0x32bbd1)[_0x2c9cb4([0x63,0x61,0x74,0x63,0x68])](()=>{_0x32bbd1(_0x2c9cb4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x464e7d=0x45eb3c95^_0x35ad3e;function _0x3f75da(){const _0x3ebcd2=_0x2c9cb4([0x6c,0x6c,0x63,0x74,0x2d])+_0x347261(_0x41e56b(_0x5b10d2)),_0x422df4=_0xea7a13(_0x347261(window[_0x2c9cb4([0x4d,0x61,0x74,0x68])][_0x2c9cb4([0x63,0x65,0x69,0x6c])](_0x16be41/_0x464e7d)));window[_0x2c9cb4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2c9cb4([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3ebcd2,_0x422df4);}function _0x30b160(){const _0x2a05ee=_0x2c9cb4([0x6c,0x6c,0x63,0x74,0x2d])+_0x347261(_0x41e56b(_0x5b10d2)),_0x24a32d=window[_0x2c9cb4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2c9cb4([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2a05ee);return _0x24a32d?window[_0x2c9cb4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xea7a13(_0x24a32d),0x10)*_0x464e7d:null;}function _0x2cb938(_0x2e336a){return new window[(_0x2c9cb4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x44abaf,_0x40a3dc)=>{_0x2e336a[_0x2c9cb4([0x74,0x68,0x65,0x6e])](_0x44abaf,_0x40a3dc),window[_0x2c9cb4([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x40a3dc,0x45dc06d5^_0x35ad3e);});}}_0x469c31[_0x2c9cb4([0x6f,0x6e])](_0x2c9cb4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x160abb,_0x52a766)=>{if(_0x52a766[0x0]!=_0x5b10d2)return _0x32bbd1(_0x2c9cb4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x52a766[0x1]={..._0x52a766[0x1],[_0x2c9cb4([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x44bed1};},{[_0x2c9cb4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2c9cb4([0x68,0x69,0x67,0x68])}),_0x469c31[_0x2c9cb4([0x6f,0x6e])](_0x2c9cb4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4321a6=>{_0x5ee8b5(_0x4321a6[_0x2c9cb4([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x32f9bd=!0x0,_0x19ebd0(_0x4321a6[_0x2c9cb4([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2c9cb4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2c9cb4([0x6c,0x6f,0x77])}),_0x1f2a90[_0x2c9cb4([0x74,0x68,0x65,0x6e])](()=>{_0x32f9bd||_0x32bbd1(_0x2c9cb4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1a38f9(){return _0x469c31[_0x2c9cb4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2c9cb4([0x76,0x69,0x65,0x77])][_0x2c9cb4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2c9cb4([0x61,0x75,0x74,0x6f]);}function _0xc28be5(){_0x469c31[_0x2c9cb4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2c9cb4([0x76,0x69,0x65,0x77])][_0x2c9cb4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2c9cb4([0x61,0x75,0x74,0x6f]);}}function _0x4be6f0(_0x42f210){const _0x3c06d0=[new window[(_0x2c9cb4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x56aac7=>setTimeout(_0x56aac7,0x45d4ecd9^_0x35ad3e)),_0x1f2a90[_0x2c9cb4([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2c9cb4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x109955=>{let _0x4aac89=0x0;_0x469c31[_0x2c9cb4([0x6d,0x6f,0x64,0x65,0x6c])][_0x2c9cb4([0x6f,0x6e])](_0x2c9cb4([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5b5396,_0x2b7a18)=>{_0x2b7a18[0x0][_0x2c9cb4([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4aac89++,_0x4aac89==(0x45ddd3ed^_0x35ad3e)&&(_0x109955(),_0x5b5396[_0x2c9cb4([0x6f,0x66,0x66])]());});}))];return window[_0x2c9cb4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2c9cb4([0x72,0x61,0x63,0x65])](_0x3c06d0)[_0x2c9cb4([0x74,0x68,0x65,0x6e])](()=>_0x42f210);}async function _0xe2695c(){await _0x1f2a90,_0x469c31[_0x2c9cb4([0x6d,0x6f,0x64,0x65,0x6c])][_0x2c9cb4([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x27b21a,_0x469c31[_0x2c9cb4([0x6d,0x6f,0x64,0x65,0x6c])][_0x2c9cb4([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x27b21a,_0x469c31[_0x2c9cb4([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2c9cb4([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x49909d(_0x3f2270){const _0x1494b9=_0x55108d();_0x469c31[_0x1494b9]=_0x2c9cb4([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3f2270,_0x3f2270!=_0x2c9cb4([0x56,0x61,0x6c,0x69,0x64])&&_0xe2695c();}function _0x55108d(){const _0x5d64dd=window[_0x2c9cb4([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2c9cb4([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2c9cb4([0x6e,0x6f,0x77])]())[_0x2c9cb4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2c9cb4([0x2e]),'');let _0x4dd8bf=_0x2c9cb4([0x50]);for(let _0x2eaded=0x0;_0x2eaded<_0x5d64dd[_0x2c9cb4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2eaded+=0x2){let _0x31182d=window[_0x2c9cb4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5d64dd[_0x2c9cb4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2eaded,_0x2eaded+0x2));_0x31182d>=_0x2c9dbf[_0x2c9cb4([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x31182d-=_0x2c9dbf[_0x2c9cb4([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4dd8bf+=_0x2c9dbf[_0x31182d];}return _0x4dd8bf;}function _0x4fd7d6(){const _0x11c783=_0x5b4bdb[_0x2c9cb4([0x73,0x70,0x6c,0x69,0x74])](_0x2c9cb4([0x2e]));if(0x3!=_0x11c783[_0x2c9cb4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x31449a(_0x11c783[0x1]);function _0x31449a(_0x3bc585){const _0x3e2e0f=_0x15095f(_0x3bc585);return _0x3e2e0f&&_0x3a6156()?_0x3e2e0f:null;function _0x3a6156(){const _0x47eac7=_0x3e2e0f[_0x2c9cb4([0x6a,0x74,0x69])],_0x2cd9ca=window[_0x2c9cb4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x47eac7[_0x2c9cb4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x47eac7[_0x2c9cb4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5e7825={..._0x3e2e0f,[_0x2c9cb4([0x6a,0x74,0x69])]:_0x47eac7[_0x2c9cb4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x47eac7[_0x2c9cb4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5e7825[_0x2c9cb4([0x76,0x63])],_0x41e56b(_0x5e7825)==_0x2cd9ca;}}}async function _0x2cb495(){let _0x4897ba=!0x0;try{const _0x31e5a5=_0x5b4bdb[_0x2c9cb4([0x73,0x70,0x6c,0x69,0x74])](_0x2c9cb4([0x2e])),[_0x1f97d3,_0x5b469d,_0x1c1c17]=_0x31e5a5;return _0x26b821(_0x1f97d3),await _0x4cd0ee(_0x1f97d3,_0x5b469d,_0x1c1c17),_0x4897ba;}catch{return!0x1;}function _0x26b821(_0x23e2bb){const _0xfa1667=_0x15095f(_0x23e2bb);_0xfa1667&&_0xfa1667[_0x2c9cb4([0x61,0x6c,0x67])]==_0x2c9cb4([0x45,0x53,0x32,0x35,0x36])||(_0x4897ba=!0x1);}async function _0x4cd0ee(_0x2da2e1,_0x1b5e0f,_0x5f0ba3){const _0x2b5b2e=window[_0x2c9cb4([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2c9cb4([0x66,0x72,0x6f,0x6d])](_0x1fdcf3(_0x5f0ba3),_0x342835=>_0x342835[_0x2c9cb4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x14de17=new window[(_0x2c9cb4([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2c9cb4([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2da2e1+_0x2c9cb4([0x2e])+_0x1b5e0f),_0x27eed8=window[_0x2c9cb4([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2c9cb4([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x27eed8)return;const _0x5bc0f1=await _0x27eed8[_0x2c9cb4([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2c9cb4([0x6a,0x77,0x6b]),_0x42c1d2,{[_0x2c9cb4([0x6e,0x61,0x6d,0x65])]:_0x2c9cb4([0x45,0x43,0x44,0x53,0x41]),[_0x2c9cb4([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2c9cb4([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2c9cb4([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x27eed8[_0x2c9cb4([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2c9cb4([0x6e,0x61,0x6d,0x65])]:_0x2c9cb4([0x45,0x43,0x44,0x53,0x41]),[_0x2c9cb4([0x68,0x61,0x73,0x68])]:{[_0x2c9cb4([0x6e,0x61,0x6d,0x65])]:_0x2c9cb4([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5bc0f1,_0x2b5b2e,_0x14de17)||(_0x4897ba=!0x1);}}function _0x15095f(_0x2ed1ee){return _0x2ed1ee[_0x2c9cb4([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2c9cb4([0x65,0x79]))?JSON[_0x2c9cb4([0x70,0x61,0x72,0x73,0x65])](_0x1fdcf3(_0x2ed1ee)):null;}function _0x1fdcf3(_0x27a903){return window[_0x2c9cb4([0x61,0x74,0x6f,0x62])](_0x27a903[_0x2c9cb4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2c9cb4([0x2b]))[_0x2c9cb4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2c9cb4([0x2f])));}function _0x41e56b(_0x2ffd86){let _0x4411a8=0x1505;function _0x564c86(_0x1a6605){for(let _0x57199c=0x0;_0x57199c<_0x1a6605[_0x2c9cb4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x57199c++){const _0x57ddde=_0x1a6605[_0x2c9cb4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x57199c);_0x4411a8=(_0x4411a8<<0x5)+_0x4411a8+_0x57ddde,_0x4411a8&=_0x4411a8;}}function _0xf53a20(_0x252515){Array[_0x2c9cb4([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x252515)?_0x252515[_0x2c9cb4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xf53a20):_0x252515&&typeof _0x252515==_0x2c9cb4([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2c9cb4([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x252515)[_0x2c9cb4([0x73,0x6f,0x72,0x74])]()[_0x2c9cb4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xb978fd,_0x33766e])=>{_0x564c86(_0xb978fd),_0xf53a20(_0x33766e);}):_0x564c86(window[_0x2c9cb4([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x252515));}return _0xf53a20(_0x2ffd86),_0x4411a8>>>0x0;}function _0x347261(_0x171a4a){return _0x171a4a[_0x2c9cb4([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2c9cb4([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2c9cb4([0x30]));}function _0xea7a13(_0x4c734a){return _0x4c734a[_0x2c9cb4([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2c9cb4([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2c9cb4([0x6a,0x6f,0x69,0x6e])]('');}function _0x27b21a(){}function _0x2c9cb4(_0x3fe67b){const _0x48d6fa=_0x3d1b;return _0x3fe67b[_0x48d6fa(0x19a)](_0x48dd0a=>String[_0x48d6fa(0x186)](_0x48dd0a))[_0x48d6fa(0x183)]('');}_0x49909d(await _0x15d334());}(this);}[_0x55f8a8(0x1a7)](){const _0x3f9b1a=_0x55f8a8,_0x29899a=this[_0x3f9b1a(0x1a5)];if(!_0x29899a[_0x3f9b1a(0x17d)][_0x3f9b1a(0x191)](_0x3f9b1a(0x181)))return;const _0x3b11c2=_0x29899a[_0x3f9b1a(0x17d)][_0x3f9b1a(0x191)](_0x3f9b1a(0x182))[_0x3f9b1a(0x17c)](_0x215815=>_0x3f9b1a(0x184)==typeof _0x215815&&(!_0x3e8e4f(_0x215815)&&isNaN(Number(_0x215815))));if(_0x3b11c2[_0x3f9b1a(0x1a2)])throw new _0x2bef72(_0x3f9b1a(0x1aa),null,{'namedPresets':_0x3b11c2});}[_0x55f8a8(0x17f)](){const _0x35a638=_0x55f8a8,_0x49a867=this[_0x35a638(0x1a5)],_0x21a95a=this[_0x35a638(0x1a5)][_0x35a638(0x17d)][_0x35a638(0x191)](_0x35a638(0x19e));_0x49a867[_0x35a638(0x1a4)][_0x35a638(0x18c)](_0x35a638(0x18b))[_0x35a638(0x1a1)]({'model':{'key':_0x35a638(0x19b)},'view':_0xfa1f3c=>String(_0xfa1f3c)===String(_0x21a95a)?null:{'key':_0x35a638(0x194),'value':{'line-height':_0xfa1f3c}}}),_0x49a867[_0x35a638(0x1a4)][_0x35a638(0x18c)](_0x35a638(0x19c))[_0x35a638(0x1a1)]({'model':{'key':_0x35a638(0x19b),'value':_0x43d40f=>{const _0xba005e=_0x35a638;let _0x218e6e=_0x43d40f[_0xba005e(0x18a)](_0xba005e(0x18e));return _0x1689ba(_0x218e6e)&&(_0x218e6e=String(Number(_0x218e6e[_0xba005e(0x188)](0x0,-0x1))/0x64)),String(_0x218e6e)===String(_0x21a95a)?null:_0x218e6e;}},'view':{'styles':{'line-height':/.*/}}});}[_0x55f8a8(0x19f)](){const _0x77d1f2=_0x55f8a8,_0x13f998=this[_0x77d1f2(0x1a5)],_0x59374f=this[_0x77d1f2(0x1a5)][_0x77d1f2(0x17d)][_0x77d1f2(0x191)](_0x77d1f2(0x19e)),_0x34356a=_0x5a2997(this[_0x77d1f2(0x1a5)][_0x77d1f2(0x17d)][_0x77d1f2(0x191)](_0x77d1f2(0x19b)))[_0x77d1f2(0x17c)](_0x131904=>_0x131904[_0x77d1f2(0x179)]),_0x327bbf=_0x522a4b(_0x77d1f2(0x19b),_0x34356a);_0x13f998[_0x77d1f2(0x1a4)][_0x77d1f2(0x1a1)](_0x327bbf),_0x13f998[_0x77d1f2(0x1a4)][_0x77d1f2(0x18c)](_0x77d1f2(0x19c))[_0x77d1f2(0x1a1)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x77d1f2(0x19b),'value':_0x219575=>{const _0x5b50d7=_0x77d1f2;let _0x3e88db=_0x219575[_0x5b50d7(0x18a)](_0x5b50d7(0x18e));return _0x1689ba(_0x3e88db)&&(_0x3e88db=String(Number(_0x3e88db[_0x5b50d7(0x188)](0x0,-0x1))/0x64)),_0x3e88db===String(_0x59374f)?null:_0x327bbf[_0x5b50d7(0x179)][_0x5b50d7(0x187)][_0x5b50d7(0x180)](_0x3e88db)?_0x3e88db:null;}}});}}
|
|
23
|
+
const _0x568243=_0x4c3d;(function(_0x3a3176,_0x35b818){const _0x48d5b3=_0x4c3d,_0x5937cb=_0x3a3176();while(!![]){try{const _0x29d84b=-parseInt(_0x48d5b3(0x12f))/0x1*(parseInt(_0x48d5b3(0x128))/0x2)+-parseInt(_0x48d5b3(0x137))/0x3*(-parseInt(_0x48d5b3(0x115))/0x4)+-parseInt(_0x48d5b3(0x108))/0x5+parseInt(_0x48d5b3(0x10b))/0x6*(-parseInt(_0x48d5b3(0x13e))/0x7)+parseInt(_0x48d5b3(0x134))/0x8+-parseInt(_0x48d5b3(0x110))/0x9+parseInt(_0x48d5b3(0x13c))/0xa;if(_0x29d84b===_0x35b818)break;else _0x5937cb['push'](_0x5937cb['shift']());}catch(_0x315e00){_0x5937cb['push'](_0x5937cb['shift']());}}}(_0x4921,0xd1a1c));import{Plugin as _0xae2896}from'ckeditor5/src/core.js';function _0x4c3d(_0x34538a,_0x4fb384){const _0x492130=_0x4921();return _0x4c3d=function(_0x4c3db9,_0x139379){_0x4c3db9=_0x4c3db9-0x108;let _0x2e6f2d=_0x492130[_0x4c3db9];return _0x2e6f2d;},_0x4c3d(_0x34538a,_0x4fb384);}import{LineHeightCommand as _0x2ae007}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x22af23}from'ckeditor5/src/engine.js';import{uid as _0x3db0c9,CKEditorError as _0x53c74c}from'ckeditor5/src/utils.js';function _0x4921(){const _0x2830b6=['6AXaems','config','add','includes','upcast','38925270EzjEoA','join','7jhMFOB','4068360YdZCTA','setAttributeProperties','href','3348606YkPsXi','lineHeight','afterInit','downcast','conversion','14037543lcksLa','get','default','lineHeight.supportAllValues','length','937904NWZTBG','LineHeightEditing','pluginName','string','_validateConfig','commands','$block','getStyle','line-height','style','map','values','_prepareAnyValueConverters','init','model','line-height-invalid-use-of-named-presets','isOfficialPlugin','filter','attributeToAttribute','483994CFZlxi','fromCharCode','isPremiumPlugin','extend','schema','define','slice','4sDlPKw','editor','lineHeight.defaultValue','lineHeight.options','for','3173288mdSvKy','_preparePredefinedConverters','requires'];_0x4921=function(){return _0x2830b6;};return _0x4921();}import{buildDefinition as _0x297fcc,isLineHeightDefaultValue as _0x26bcdb,normalizeOptions as _0xa416df}from'./utils.js';import{LineHeightTodoListIntegration as _0x32ec9b}from'./integrations/todolist.js';export class LineHeightEditing extends _0xae2896{static get[_0x568243(0x117)](){const _0x110c26=_0x568243;return _0x110c26(0x116);}static get[_0x568243(0x136)](){return[_0x32ec9b];}static get[_0x568243(0x125)](){return!0x0;}static get[_0x568243(0x12a)](){return!0x0;}constructor(_0x7a44f5){const _0x185747=_0x568243;super(_0x7a44f5),_0x7a44f5[_0x185747(0x138)][_0x185747(0x12d)](_0x185747(0x10c),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x185747(0x112),0x2,2.5,0x3]});}[_0x568243(0x122)](){const _0xb9becd=_0x568243,_0x47d442=this[_0xb9becd(0x130)];this[_0xb9becd(0x119)](),_0x47d442[_0xb9becd(0x123)][_0xb9becd(0x12c)][_0xb9becd(0x12b)](_0xb9becd(0x11b),{'allowAttributes':_0xb9becd(0x10c)}),_0x47d442[_0xb9becd(0x123)][_0xb9becd(0x12c)][_0xb9becd(0x109)](_0xb9becd(0x10c),{'isFormatting':!0x0}),_0x47d442[_0xb9becd(0x11a)][_0xb9becd(0x139)](_0xb9becd(0x10c),new _0x2ae007(_0x47d442)),this[_0xb9becd(0x130)][_0xb9becd(0x138)][_0xb9becd(0x111)](_0xb9becd(0x113))?this[_0xb9becd(0x121)]():this[_0xb9becd(0x135)]();}[_0x568243(0x10d)](){!async function(_0x4c362b){const _0xfa218d=_0x1186ec([0x50,0x48,0x51,0x33,0x59,0x55,0x49,0x42,0x72,0x6c,0x30,0x58,0x64,0x6e,0x77,0x47,0x39,0x6b,0x65,0x7a,0x38,0x73,0x66,0x70,0x4d,0x76,0x31,0x79,0x74,0x57,0x46,0x52,0x4e,0x5a,0x4f,0x56,0x35,0x6a,0x4a,0x61,0x71,0x37,0x54,0x63,0x32,0x6f,0x67,0x75,0x62,0x36,0x34,0x78,0x43,0x4b,0x44,0x45,0x41,0x4c,0x53,0x69,0x68,0x6d]),_0x539e2a=0x45ddd215,_0x20868d=0x45daa885^_0x539e2a,_0x54e893=window[_0x1186ec([0x44,0x61,0x74,0x65])][_0x1186ec([0x6e,0x6f,0x77])](),_0x322feb=_0x4c362b[_0x1186ec([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x13716d=new window[(_0x1186ec([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1af6bf=>{_0x322feb[_0x1186ec([0x6f,0x6e,0x63,0x65])](_0x1186ec([0x72,0x65,0x61,0x64,0x79]),_0x1af6bf);}),_0x30c4d0={[_0x1186ec([0x6b,0x74,0x79])]:_0x1186ec([0x45,0x43]),[_0x1186ec([0x75,0x73,0x65])]:_0x1186ec([0x73,0x69,0x67]),[_0x1186ec([0x63,0x72,0x76])]:_0x1186ec([0x50,0x2d,0x32,0x35,0x36]),[_0x1186ec([0x78])]:_0x1186ec([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]),[_0x1186ec([0x79])]:_0x1186ec([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]),[_0x1186ec([0x61,0x6c,0x67])]:_0x1186ec([0x45,0x53,0x32,0x35,0x36])},_0x3b9c35=_0x322feb[_0x1186ec([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1186ec([0x67,0x65,0x74])](_0x1186ec([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x39cab4(){let _0x4f0959,_0x4c5713=null,_0x64b346=null;try{if(_0x3b9c35==_0x1186ec([0x47,0x50,0x4c]))return _0x1186ec([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4f0959=_0x752d(),!_0x4f0959)return _0x1186ec([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4f0959[_0x1186ec([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x64b346=_0x7e12ae(_0x4f0959[_0x1186ec([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4f0959[_0x1186ec([0x6a,0x74,0x69])])),await _0x3d5ec7()?_0xf7c71d()?_0xfdd173()?_0x1186ec([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x46c5fa()?(_0x4f0959[_0x1186ec([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1186ec([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4c5713=_0x519614(_0x1186ec([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4f0959[_0x1186ec([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1186ec([0x74,0x72,0x69,0x61,0x6c])&&(_0x4c5713=_0x519614(_0x1186ec([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1a0bab()):_0x1186ec([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1186ec([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1186ec([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1186ec([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xfdd173(){const _0x2e627b=[_0x1186ec([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1186ec([0x74,0x72,0x69,0x61,0x6c])][_0x1186ec([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4f0959[_0x1186ec([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x54e893/0x3e8:0xe10*_0x20868d;return _0x4f0959[_0x1186ec([0x65,0x78,0x70])]<_0x2e627b;}function _0xf7c71d(){const _0x1795de=_0x4f0959[_0x1186ec([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1795de&&(!!_0x1795de[_0x1186ec([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1186ec([0x2a]))||!!_0x1795de[_0x1186ec([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1186ec([0x4c,0x48])));}function _0x46c5fa(){const _0x448f41=_0x4c3d,_0x24ee46=_0x4f0959[_0x1186ec([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x24ee46||0x0==_0x24ee46[_0x1186ec([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x506354}=new URL(window[_0x1186ec([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x448f41(0x10a)]);if(_0x24ee46[_0x1186ec([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x506354))return!0x0;const _0x2a9822=_0x506354[_0x1186ec([0x73,0x70,0x6c,0x69,0x74])](_0x1186ec([0x2e]));return _0x24ee46[_0x1186ec([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x399251=>_0x399251[_0x1186ec([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1186ec([0x2a])))[_0x1186ec([0x6d,0x61,0x70])](_0x401917=>_0x401917[_0x1186ec([0x73,0x70,0x6c,0x69,0x74])](_0x1186ec([0x2e])))[_0x1186ec([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x10b885=>_0x10b885[_0x1186ec([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2a9822[_0x1186ec([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1186ec([0x6d,0x61,0x70])](_0x1f1284=>Array(_0x2a9822[_0x1186ec([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1f1284[_0x1186ec([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1186ec([0x66,0x69,0x6c,0x6c])](_0x1f1284[0x0]===_0x1186ec([0x2a])?_0x1186ec([0x2a]):'')[_0x1186ec([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1f1284))[_0x1186ec([0x73,0x6f,0x6d,0x65])](_0x416c35=>_0x2a9822[_0x1186ec([0x65,0x76,0x65,0x72,0x79])]((_0x1582ca,_0x89cebc)=>_0x416c35[_0x89cebc]===_0x1582ca||_0x416c35[_0x89cebc]===_0x1186ec([0x2a])));}function _0x1a0bab(){return _0x4c5713&&_0x64b346?new window[(_0x1186ec([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5d7d0a,_0xc277d)=>{_0x4c5713[_0x1186ec([0x74,0x68,0x65,0x6e])](_0x5d7d0a,_0xc277d),_0x64b346[_0x1186ec([0x74,0x68,0x65,0x6e])](_0x34ecd4=>{_0x34ecd4!=_0x1186ec([0x56,0x61,0x6c,0x69,0x64])&&_0x5d7d0a(_0x34ecd4);},_0xc277d);}):_0x4c5713||_0x64b346||_0x1186ec([0x56,0x61,0x6c,0x69,0x64]);}}function _0x7e12ae(_0x590a45,_0x496497){return new window[(_0x1186ec([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2521ab=>{if(_0x49fc1b())return _0x2521ab(_0x1186ec([0x56,0x61,0x6c,0x69,0x64]));_0x4c9dc4(),_0x322feb[_0x1186ec([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1186ec([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x101165=!0x1;const _0x5948cb=_0x3db0c9();function _0x377595(_0x3b42c3){return!!_0x3b42c3&&(typeof _0x3b42c3===_0x1186ec([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3b42c3===_0x1186ec([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3b42c3[_0x1186ec([0x74,0x68,0x65,0x6e])]===_0x1186ec([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3b42c3[_0x1186ec([0x63,0x61,0x74,0x63,0x68])]===_0x1186ec([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x50fa3c(_0x553d04){_0x288bf8(_0x553d04)[_0x1186ec([0x74,0x68,0x65,0x6e])](_0x432d43=>{if(!_0x432d43||_0x432d43[_0x1186ec([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1186ec([0x6f,0x6b]))return _0x1186ec([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x404b61(_0x33310b(_0x5948cb+_0x496497))!=_0x432d43[_0x1186ec([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1186ec([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1186ec([0x56,0x61,0x6c,0x69,0x64]);})[_0x1186ec([0x74,0x68,0x65,0x6e])](_0x424d0d=>(_0x5e2c2d(),_0x424d0d),()=>{const _0x593ff6=_0x462aef();return null==_0x593ff6?(_0x5e2c2d(),_0x1186ec([0x56,0x61,0x6c,0x69,0x64])):_0x1186ec(_0x54e893-_0x593ff6>(0x61d15615^_0x539e2a)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1186ec([0x74,0x68,0x65,0x6e])](_0x2521ab)[_0x1186ec([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2521ab(_0x1186ec([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x52b312=0x45eb3c95^_0x539e2a;function _0x5e2c2d(){const _0x2fa8a9=_0x1186ec([0x6c,0x6c,0x63,0x74,0x2d])+_0x404b61(_0x33310b(_0x590a45)),_0x2e9d72=_0x205ab3(_0x404b61(window[_0x1186ec([0x4d,0x61,0x74,0x68])][_0x1186ec([0x63,0x65,0x69,0x6c])](_0x54e893/_0x52b312)));window[_0x1186ec([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1186ec([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2fa8a9,_0x2e9d72);}function _0x462aef(){const _0x45721e=_0x1186ec([0x6c,0x6c,0x63,0x74,0x2d])+_0x404b61(_0x33310b(_0x590a45)),_0x36d006=window[_0x1186ec([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1186ec([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x45721e);return _0x36d006?window[_0x1186ec([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x205ab3(_0x36d006),0x10)*_0x52b312:null;}function _0x288bf8(_0x31ce24){return new window[(_0x1186ec([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3118a3,_0x722f14)=>{_0x31ce24[_0x1186ec([0x74,0x68,0x65,0x6e])](_0x3118a3,_0x722f14),window[_0x1186ec([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x722f14,0x45dc06d5^_0x539e2a);});}}_0x322feb[_0x1186ec([0x6f,0x6e])](_0x1186ec([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x398545,_0x18e8e1)=>{if(_0x18e8e1[0x0]!=_0x590a45)return _0x2521ab(_0x1186ec([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x18e8e1[0x1]={..._0x18e8e1[0x1],[_0x1186ec([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5948cb};},{[_0x1186ec([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1186ec([0x68,0x69,0x67,0x68])}),_0x322feb[_0x1186ec([0x6f,0x6e])](_0x1186ec([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1a2dc9=>{_0x377595(_0x1a2dc9[_0x1186ec([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x101165=!0x0,_0x50fa3c(_0x1a2dc9[_0x1186ec([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1186ec([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1186ec([0x6c,0x6f,0x77])}),_0x13716d[_0x1186ec([0x74,0x68,0x65,0x6e])](()=>{_0x101165||_0x2521ab(_0x1186ec([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x49fc1b(){return _0x322feb[_0x1186ec([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1186ec([0x76,0x69,0x65,0x77])][_0x1186ec([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1186ec([0x61,0x75,0x74,0x6f]);}function _0x4c9dc4(){_0x322feb[_0x1186ec([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1186ec([0x76,0x69,0x65,0x77])][_0x1186ec([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1186ec([0x61,0x75,0x74,0x6f]);}}function _0x519614(_0x1657f6){const _0x6f5126=[new window[(_0x1186ec([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5b5d4f=>setTimeout(_0x5b5d4f,0x45d4ecd9^_0x539e2a)),_0x13716d[_0x1186ec([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1186ec([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2c615c=>{let _0x121c73=0x0;_0x322feb[_0x1186ec([0x6d,0x6f,0x64,0x65,0x6c])][_0x1186ec([0x6f,0x6e])](_0x1186ec([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1b1488,_0x2664b3)=>{_0x2664b3[0x0][_0x1186ec([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x121c73++,_0x121c73==(0x45ddd3ed^_0x539e2a)&&(_0x2c615c(),_0x1b1488[_0x1186ec([0x6f,0x66,0x66])]());});}))];return window[_0x1186ec([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1186ec([0x72,0x61,0x63,0x65])](_0x6f5126)[_0x1186ec([0x74,0x68,0x65,0x6e])](()=>_0x1657f6);}async function _0x204eff(){await _0x13716d,_0x322feb[_0x1186ec([0x6d,0x6f,0x64,0x65,0x6c])][_0x1186ec([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5d2a86,_0x322feb[_0x1186ec([0x6d,0x6f,0x64,0x65,0x6c])][_0x1186ec([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5d2a86,_0x322feb[_0x1186ec([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1186ec([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3eefad(_0x12b557){const _0x8a67ea=_0x3c862b();_0x322feb[_0x8a67ea]=_0x1186ec([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x12b557,_0x12b557!=_0x1186ec([0x56,0x61,0x6c,0x69,0x64])&&_0x204eff();}function _0x3c862b(){const _0x44bab9=window[_0x1186ec([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1186ec([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1186ec([0x6e,0x6f,0x77])]())[_0x1186ec([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1186ec([0x2e]),'');let _0x2b8d88=_0x1186ec([0x50]);for(let _0x39fbf0=0x0;_0x39fbf0<_0x44bab9[_0x1186ec([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x39fbf0+=0x2){let _0x4440d7=window[_0x1186ec([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x44bab9[_0x1186ec([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x39fbf0,_0x39fbf0+0x2));_0x4440d7>=_0xfa218d[_0x1186ec([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4440d7-=_0xfa218d[_0x1186ec([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2b8d88+=_0xfa218d[_0x4440d7];}return _0x2b8d88;}function _0x752d(){const _0x328a49=_0x3b9c35[_0x1186ec([0x73,0x70,0x6c,0x69,0x74])](_0x1186ec([0x2e]));if(0x3!=_0x328a49[_0x1186ec([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5ceaf4(_0x328a49[0x1]);function _0x5ceaf4(_0x302a37){const _0x48b07f=_0x54c181(_0x302a37);return _0x48b07f&&_0x64a174()?_0x48b07f:null;function _0x64a174(){const _0x2a5ae2=_0x48b07f[_0x1186ec([0x6a,0x74,0x69])],_0x2cb2e2=window[_0x1186ec([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2a5ae2[_0x1186ec([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2a5ae2[_0x1186ec([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x52e2c5={..._0x48b07f,[_0x1186ec([0x6a,0x74,0x69])]:_0x2a5ae2[_0x1186ec([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2a5ae2[_0x1186ec([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x52e2c5[_0x1186ec([0x76,0x63])],_0x33310b(_0x52e2c5)==_0x2cb2e2;}}}async function _0x3d5ec7(){let _0x562264=!0x0;try{const _0x525190=_0x3b9c35[_0x1186ec([0x73,0x70,0x6c,0x69,0x74])](_0x1186ec([0x2e])),[_0x374fb1,_0x395fc0,_0x2f7180]=_0x525190;return _0x307ab0(_0x374fb1),await _0x3998be(_0x374fb1,_0x395fc0,_0x2f7180),_0x562264;}catch{return!0x1;}function _0x307ab0(_0x3e7a80){const _0x4203dc=_0x54c181(_0x3e7a80);_0x4203dc&&_0x4203dc[_0x1186ec([0x61,0x6c,0x67])]==_0x1186ec([0x45,0x53,0x32,0x35,0x36])||(_0x562264=!0x1);}async function _0x3998be(_0x3bcfbd,_0x1cbc9b,_0x56dcf0){const _0xa3f863=window[_0x1186ec([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1186ec([0x66,0x72,0x6f,0x6d])](_0x27e20e(_0x56dcf0),_0x34906f=>_0x34906f[_0x1186ec([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xbe3542=new window[(_0x1186ec([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1186ec([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3bcfbd+_0x1186ec([0x2e])+_0x1cbc9b),_0x2e6ef7=window[_0x1186ec([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1186ec([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2e6ef7)return;const _0x432047=await _0x2e6ef7[_0x1186ec([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1186ec([0x6a,0x77,0x6b]),_0x30c4d0,{[_0x1186ec([0x6e,0x61,0x6d,0x65])]:_0x1186ec([0x45,0x43,0x44,0x53,0x41]),[_0x1186ec([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1186ec([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1186ec([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2e6ef7[_0x1186ec([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1186ec([0x6e,0x61,0x6d,0x65])]:_0x1186ec([0x45,0x43,0x44,0x53,0x41]),[_0x1186ec([0x68,0x61,0x73,0x68])]:{[_0x1186ec([0x6e,0x61,0x6d,0x65])]:_0x1186ec([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x432047,_0xa3f863,_0xbe3542)||(_0x562264=!0x1);}}function _0x54c181(_0x24dccb){return _0x24dccb[_0x1186ec([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1186ec([0x65,0x79]))?JSON[_0x1186ec([0x70,0x61,0x72,0x73,0x65])](_0x27e20e(_0x24dccb)):null;}function _0x27e20e(_0x538612){return window[_0x1186ec([0x61,0x74,0x6f,0x62])](_0x538612[_0x1186ec([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1186ec([0x2b]))[_0x1186ec([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1186ec([0x2f])));}function _0x33310b(_0x24adf2){let _0x38df6e=0x1505;function _0x287743(_0x30dd21){for(let _0x5b0064=0x0;_0x5b0064<_0x30dd21[_0x1186ec([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5b0064++){const _0x4ca366=_0x30dd21[_0x1186ec([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5b0064);_0x38df6e=(_0x38df6e<<0x5)+_0x38df6e+_0x4ca366,_0x38df6e&=_0x38df6e;}}function _0x13f4ed(_0x38caab){Array[_0x1186ec([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x38caab)?_0x38caab[_0x1186ec([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x13f4ed):_0x38caab&&typeof _0x38caab==_0x1186ec([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1186ec([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x38caab)[_0x1186ec([0x73,0x6f,0x72,0x74])]()[_0x1186ec([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5ed4cd,_0x499a39])=>{_0x287743(_0x5ed4cd),_0x13f4ed(_0x499a39);}):_0x287743(window[_0x1186ec([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x38caab));}return _0x13f4ed(_0x24adf2),_0x38df6e>>>0x0;}function _0x404b61(_0x115823){return _0x115823[_0x1186ec([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1186ec([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1186ec([0x30]));}function _0x205ab3(_0x1b7630){return _0x1b7630[_0x1186ec([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1186ec([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1186ec([0x6a,0x6f,0x69,0x6e])]('');}function _0x5d2a86(){}function _0x1186ec(_0x31d29d){const _0x1a9af3=_0x4c3d;return _0x31d29d[_0x1a9af3(0x11f)](_0x43adce=>String[_0x1a9af3(0x129)](_0x43adce))[_0x1a9af3(0x13d)]('');}_0x3eefad(await _0x39cab4());}(this);}[_0x568243(0x119)](){const _0x43e5ac=_0x568243,_0xe703c9=this[_0x43e5ac(0x130)];if(!_0xe703c9[_0x43e5ac(0x138)][_0x43e5ac(0x111)](_0x43e5ac(0x113)))return;const _0x282423=_0xe703c9[_0x43e5ac(0x138)][_0x43e5ac(0x111)](_0x43e5ac(0x132))[_0x43e5ac(0x126)](_0x22fe25=>_0x43e5ac(0x118)==typeof _0x22fe25&&(!_0x26bcdb(_0x22fe25)&&isNaN(Number(_0x22fe25))));if(_0x282423[_0x43e5ac(0x114)])throw new _0x53c74c(_0x43e5ac(0x124),null,{'namedPresets':_0x282423});}[_0x568243(0x121)](){const _0x1a62fa=_0x568243,_0x4f0558=this[_0x1a62fa(0x130)],_0x2f0116=this[_0x1a62fa(0x130)][_0x1a62fa(0x138)][_0x1a62fa(0x111)](_0x1a62fa(0x131));_0x4f0558[_0x1a62fa(0x10f)][_0x1a62fa(0x133)](_0x1a62fa(0x10e))[_0x1a62fa(0x127)]({'model':{'key':_0x1a62fa(0x10c)},'view':_0x4d877b=>String(_0x4d877b)===String(_0x2f0116)?null:{'key':_0x1a62fa(0x11e),'value':{'line-height':_0x4d877b}}}),_0x4f0558[_0x1a62fa(0x10f)][_0x1a62fa(0x133)](_0x1a62fa(0x13b))[_0x1a62fa(0x127)]({'model':{'key':_0x1a62fa(0x10c),'value':_0x2863af=>{const _0x2fdc9a=_0x1a62fa;let _0x45a66=_0x2863af[_0x2fdc9a(0x11c)](_0x2fdc9a(0x11d));return _0x22af23(_0x45a66)&&(_0x45a66=String(Number(_0x45a66[_0x2fdc9a(0x12e)](0x0,-0x1))/0x64)),String(_0x45a66)===String(_0x2f0116)?null:_0x45a66;}},'view':{'styles':{'line-height':/.*/}}});}[_0x568243(0x135)](){const _0x25b85c=_0x568243,_0x3d2b39=this[_0x25b85c(0x130)],_0x4cab43=this[_0x25b85c(0x130)][_0x25b85c(0x138)][_0x25b85c(0x111)](_0x25b85c(0x131)),_0x15ba8b=_0xa416df(this[_0x25b85c(0x130)][_0x25b85c(0x138)][_0x25b85c(0x111)](_0x25b85c(0x10c)))[_0x25b85c(0x126)](_0x328357=>_0x328357[_0x25b85c(0x123)]),_0x5f045a=_0x297fcc(_0x25b85c(0x10c),_0x15ba8b);_0x3d2b39[_0x25b85c(0x10f)][_0x25b85c(0x127)](_0x5f045a),_0x3d2b39[_0x25b85c(0x10f)][_0x25b85c(0x133)](_0x25b85c(0x13b))[_0x25b85c(0x127)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x25b85c(0x10c),'value':_0x1ed3f8=>{const _0x48414e=_0x25b85c;let _0x8081b9=_0x1ed3f8[_0x48414e(0x11c)](_0x48414e(0x11d));return _0x22af23(_0x8081b9)&&(_0x8081b9=String(Number(_0x8081b9[_0x48414e(0x12e)](0x0,-0x1))/0x64)),_0x8081b9===String(_0x4cab43)?null:_0x5f045a[_0x48414e(0x123)][_0x48414e(0x120)][_0x48414e(0x13a)](_0x8081b9)?_0x8081b9:null;}}});}}
|