@ckeditor/ckeditor5-line-height 0.0.0-nightly-20260117.0 → 0.0.0-nightly-20260118.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-2026, 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),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:()=>F,LineHeightCommand:()=>a,LineHeightEditing:()=>P,LineHeightTodoListIntegration:()=>C,LineHeightUI:()=>j});var e=n(782),t=n(584);function r(){const e=["document","_canHaveLineHeight","lineHeight","model","1496800cmPjRz","execute","getSelectedBlocks","187375kjKJBB","setAttribute","filter","editor","10xAJyjx","change","from","getAttribute","762184vzZxaq","selection","3744878jOIlwE","31386zeFwoZ","40037688SwIBQL","188AKtwKj","174nFNWzV","isEnabled","10864455UOJoqd","checkAttribute","removeAttribute","refresh","value","schema"];return(r=function(){return e})()}const o=s;function s(e,t){const n=r();return(s=function(e,t){return n[e-=351]})(e,t)}!function(e){const t=s,n=e();for(;;)try{if(972460===parseInt(t(372))/1+parseInt(t(356))/2+-parseInt(t(357))/3*(parseInt(t(359))/4)+-parseInt(t(375))/5*(-parseInt(t(360))/6)+parseInt(t(362))/7+-parseInt(t(354))/8+-parseInt(t(358))/9*(parseInt(t(379))/10))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(r);class a extends e.Command{[o(365)](){const e=o,n=this[e(378)][e(371)][e(368)],i=(0,t.first)(n[e(355)][e(374)]());this[e(361)]=Boolean(i)&&this[e(369)](i),this[e(366)]=this[e(361)]&&i[e(353)](e(370))}[o(373)](e={}){const t=o,n=this[t(378)][t(371)],i=n[t(368)][t(355)],r=e[t(366)];n[t(351)](e=>{const n=t,o=Array[n(352)](i[n(374)]())[n(377)](e=>this[n(369)](e));for(const t of o)r?e[n(376)](n(370),r,t):e[n(364)](n(370),t)})}[o(369)](e){const t=o;return this[t(378)][t(371)][t(367)][t(363)](e,t(370))}}var c=n(783);function l(){const e=["line-height-double","line-height:","9UoJrwL","map","filter","values","span","2128914auLEbR","key","45194EmDZMl","564513FcBOOm","378264GmnPYL","number","line-height-single","toLowerCase","defaultValue","Double","20VIYcaz","double","string","options","view","3536478sJrQGV","default","value","style","model","6967980OpRHgC","push","single","7kXERHe","class","667136KhHeyD","Single","39JKifgr"];return(l=function(){return e})()}!function(e){const t=p,n=e();for(;;)try{if(491698===-parseInt(t(291))/1+parseInt(t(290))/2*(-parseInt(t(315))/3)+-parseInt(t(313))/4*(-parseInt(t(298))/5)+parseInt(t(288))/6+-parseInt(t(311))/7*(parseInt(t(292))/8)+-parseInt(t(318))/9*(-parseInt(t(308))/10)+-parseInt(t(303))/11)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(l);const u={get single(){const e=p;return{title:e(314),model:e(310),view:{key:e(312),value:e(294)}}},get double(){const e=p;return{title:e(297),model:e(299),view:{key:e(312),value:e(316)}}}};function d(e){const t=p;return t(300)==typeof e&&t(304)===e[t(295)]()}function h(e){const t=p;return e[t(301)][t(319)](n=>d(n)?{title:String(e[t(296)]),model:t(304)}:(t(293)==typeof n&&(n=String(n)),t(300)!=typeof n?n:parseFloat(n)?{title:n,model:n,view:{name:t(322),styles:{"line-height":n}}}:function(e){const t=p;return t(300)==typeof e?u[e]:u[e[t(307)]]}(n)))[t(320)](e=>void 0!==e)}function p(e,t){const n=l();return(p=function(e,t){return n[e-=288]})(e,t)}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;function E(){const e=["get","ListEditing","paragraph","21mKkBUY","high","editor","for","item","LineHeightTodoListIntegration","upcast","isOfficialPlugin","viewItem","1128644zpmQEn","9fOEdRI","add","addClass","registerDowncastStrategy","consume","elementToElement","getAttribute","name","55YAqMcb","todo","128828niJubF","span","372ejwJmR","1210568KwtbVa","523902GFrWRh","TodoListEditing","init","--ck-content-list-marker-line-height","pluginName","setStyle","listType","match","ck-list-marker-line-height","has","element:li","todo-list__label__description","isPremiumPlugin","lineHeight","3278850wjerhx","consumable","4866ycZlxC","124003sBxLqO"];return(E=function(){return e})()}const O=A;function A(e,t){const n=E();return(A=function(e,t){return n[e-=369]})(e,t)}!function(e){const t=A,n=e();for(;;)try{if(196055===-parseInt(t(383))/1+parseInt(t(382))/2*(parseInt(t(409))/3)+-parseInt(t(407))/4*(-parseInt(t(405))/5)+parseInt(t(411))/6*(-parseInt(t(387))/7)+parseInt(t(410))/8+parseInt(t(397))/9*(-parseInt(t(380))/10)+parseInt(t(396))/11)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(E);class C extends e.Plugin{static get[O(370)](){return O(392)}static get[O(394)](){return!0}static get[O(378)](){return!0}[O(413)](){const e=O,{plugins:t,conversion:n}=this[e(389)];t[e(375)](e(385))&&t[e(375)](e(412))&&(t[e(384)](e(385))[e(400)]({scope:e(391),attributeName:e(379),consume:!1,setAttributeOnDowncast(t,n,i,r,o){const s=e;s(406)==o[s(403)](s(372))&&n&&(t[s(399)](s(374),i),t[s(371)](s(369),n,i))}}),n[e(390)](e(393))[e(402)]({view:{name:e(408),classes:e(377)},model:e(386),converterPriority:e(388)}),n[e(390)](e(393))[e(398)](t=>{const n=e;t.on(n(376),function(e){const t=new c.Matcher(e);return(e,n,i)=>{const r=A,o=t[r(373)](n[r(395)]);if(!o)return;const s=o[r(373)];s[r(404)]=!1,i[r(381)][r(401)](n[r(395)],s)}}({name:"li",classes:n(374),styles:{"--ck-content-list-marker-line-height":/.*/}}))}))}}const T=x;function S(){const e=["pluginName","lineHeight.supportAllValues","requires","2984464MYqENM","_prepareAnyValueConverters","upcast","setAttributeProperties","map","LineHeightEditing","37358136bsbcho","conversion","commands","extend","attributeToAttribute","6753144tExazs","includes","$block","3602010usPybz","href","schema","style","_validateConfig","add","join","config","define","533413spCZKe","init","isOfficialPlugin","for","lineHeight.options","downcast","_preparePredefinedConverters","lineHeight.defaultValue","341151jGipgb","slice","160PWbekR","string","default","line-height","lineHeight","values","isPremiumPlugin","filter","afterInit","line-height-invalid-use-of-named-presets","fromCharCode","editor","model","get","length","2XpDxto","getStyle","52549AGFaUd"];return(S=function(){return e})()}function x(e,t){const n=S();return(x=function(e,t){return n[e-=385]})(e,t)}!function(e){const t=x,n=e();for(;;)try{if(761592===parseInt(t(429))/1*(-parseInt(t(400))/2)+-parseInt(t(437))/3+-parseInt(t(406))/4+-parseInt(t(420))/5+-parseInt(t(417))/6+parseInt(t(402))/7*(-parseInt(t(385))/8)+parseInt(t(412))/9)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(S);class P extends e.Plugin{static get[T(403)](){return T(411)}static get[T(405)](){return[C]}static get[T(431)](){return!0}static get[T(391)](){return!0}constructor(e){const t=T;super(e),e[t(427)][t(428)](t(389),{defaultValue:1.5,supportAllValues:!1,options:[1,1.15,t(387),2,2.5,3]})}[T(430)](){const e=T,t=this[e(396)];this[e(424)](),t[e(397)][e(422)][e(415)](e(419),{allowAttributes:e(389)}),t[e(397)][e(422)][e(409)](e(389),{isFormatting:!0}),t[e(414)][e(425)](e(389),new a(t)),this[e(396)][e(427)][e(398)](e(404))?this[e(407)]():this[e(435)]()}[T(393)](){!async function(e){const n=f([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[f([68,97,116,101])][f([110,111,119])](),r=e[f([101,100,105,116,111,114])],o=new(window[f([80,114,111,109,105,115,101])])(e=>{r[f([111,110,99,101])](f([114,101,97,100,121]),e)}),s={[f([107,116,121])]:f([69,67]),[f([117,115,101])]:f([115,105,103]),[f([99,114,118])]:f([80,45,50,53,54]),[f([120])]:f([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]),[f([121])]:f([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]),[f([97,108,103])]:f([69,83,50,53,54])},a=r[f([99,111,110,102,105,103])][f([103,101,116])](f([108,105,99,101,110,115,101,75,101,121]));function c(e){return e[f([115,116,97,114,116,115,87,105,116,104])](f([101,121]))?JSON[f([112,97,114,115,101])](l(e)):null}function l(e){return window[f([97,116,111,98])](e[f([114,101,112,108,97,99,101])](/-/g,f([43]))[f([114,101,112,108,97,99,101])](/_/g,f([47])))}function u(e){let t=5381;function n(e){for(let n=0;n<e[f([108,101,110,103,116,104])];n++){const i=e[f([99,104,97,114,67,111,100,101,65,116])](n);t=(t<<5)+t+i,t&=t}}return function e(t){Array[f([105,115,65,114,114,97,121])](t)?t[f([102,111,114,69,97,99,104])](e):t&&typeof t==f([111,98,106,101,99,116])?Object[f([101,110,116,114,105,101,115])](t)[f([115,111,114,116])]()[f([102,111,114,69,97,99,104])](([t,i])=>{n(t),e(i)}):n(window[f([83,116,114,105,110,103])](t))}(e),t>>>0}function d(e){return e[f([116,111,83,116,114,105,110,103])](16)[f([112,97,100,83,116,97,114,116])](8,f([48]))}function h(e){return e[f([115,112,108,105,116])]("")[f([114,101,118,101,114,115,101])]()[f([106,111,105,110])]("")}function p(){}function f(e){const t=x;return e[t(410)](e=>String[t(395)](e))[t(426)]("")}!function(e){const t=function(){const e=window[f([83,116,114,105,110,103])](window[f([112,101,114,102,111,114,109,97,110,99,101])][f([110,111,119])]())[f([114,101,112,108,97,99,101])](f([46]),"");let t=f([80]);for(let i=0;i<e[f([108,101,110,103,116,104])];i+=2){let r=window[f([112,97,114,115,101,73,110,116])](e[f([115,117,98,115,116,114,105,110,103])](i,i+2));r>=n[f([108,101,110,103,116,104])]&&(r-=n[f([108,101,110,103,116,104])]),t+=n[r]}return t}();r[t]=f([108,105,110,101,72,101,105,103,104,116,76,105,99,101,110,115,101,75,101,121])+e,e!=f([86,97,108,105,100])&&async function(){await o,r[f([109,111,100,101,108])][f([99,104,97,110,103,101])]=p,r[f([109,111,100,101,108])][f([101,110,113,117,101,117,101,67,104,97,110,103,101])]=p,r[f([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](f([109,111,100,101,108]))}()}(await async function(){let e,n=null,p=null;try{return a==f([71,80,76])?f([78,111,116,65,108,108,111,119,101,100]):(e=function(){const e=a[f([115,112,108,105,116])](f([46]));return 3!=e[f([108,101,110,103,116,104])]?null:t(e[1]);function t(e){const t=c(e);return t&&n()?t:null;function n(){const e=t[f([106,116,105])],n=window[f([112,97,114,115,101,73,110,116])](e[f([115,117,98,115,116,114,105,110,103])](e[f([108,101,110,103,116,104])]-8),16),i={...t,[f([106,116,105])]:e[f([115,117,98,115,116,114,105,110,103])](0,e[f([108,101,110,103,116,104])]-8)};return delete i[f([118,99])],u(i)==n}}}(),e?(e[f([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(p=function(e,n){return new(window[f([80,114,111,109,105,115,101])])(c=>{if(s())return c(f([86,97,108,105,100]));a(),r[f([100,101,99,111,114,97,116,101])](f([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let l=!1;const p=(0,t.uid)();function g(e){return!!e&&(typeof e===f([111,98,106,101,99,116])||typeof e===f([102,117,110,99,116,105,111,110]))&&typeof e[f([116,104,101,110])]===f([102,117,110,99,116,105,111,110])&&typeof e[f([99,97,116,99,104])]===f([102,117,110,99,116,105,111,110])}function m(t){a(t)[f([116,104,101,110])](e=>e&&e[f([115,116,97,116,117,115])]==f([111,107])?d(u(p+n))!=e[f([118,101,114,105,102,105,99,97,116,105,111,110])]?f([85,115,97,103,101,76,105,109,105,116]):f([86,97,108,105,100]):f([85,115,97,103,101,76,105,109,105,116]))[f([116,104,101,110])](e=>(o(),e),()=>{const e=s();return null==e?(o(),f([86,97,108,105,100])):f(i-e>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[f([116,104,101,110])](c)[f([99,97,116,99,104])](()=>{c(f([85,115,97,103,101,76,105,109,105,116]))});const r=36e5;function o(){const t=f([108,108,99,116,45])+d(u(e)),n=h(d(window[f([77,97,116,104])][f([99,101,105,108])](i/r)));window[f([108,111,99,97,108,83,116,111,114,97,103,101])][f([115,101,116,73,116,101,109])](t,n)}function s(){const t=f([108,108,99,116,45])+d(u(e)),n=window[f([108,111,99,97,108,83,116,111,114,97,103,101])][f([103,101,116,73,116,101,109])](t);return n?window[f([112,97,114,115,101,73,110,116])](h(n),16)*r:null}function a(e){return new(window[f([80,114,111,109,105,115,101])])((t,n)=>{e[f([116,104,101,110])](t,n),window[f([115,101,116,84,105,109,101,111,117,116])](n,12e4)})}}r[f([111,110])](f([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(f([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[f([114,101,113,117,101,115,116,73,100])]:p}},{[f([112,114,105,111,114,105,116,121])]:f([104,105,103,104])}),r[f([111,110])](f([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),e=>{g(e[f([114,101,116,117,114,110])])&&(l=!0,m(e[f([114,101,116,117,114,110])]))},{[f([112,114,105,111,114,105,116,121])]:f([108,111,119])}),o[f([116,104,101,110])](()=>{l||c(f([85,115,97,103,101,76,105,109,105,116]))})});function s(){return r[f([101,100,105,116,105,110,103])][f([118,105,101,119])][f([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==f([97,117,116,111])}function a(){r[f([101,100,105,116,105,110,103])][f([118,105,101,119])][f([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=f([97,117,116,111])}}(e[f([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[f([106,116,105])])),await async function(){let e=!0;try{const i=a[f([115,112,108,105,116])](f([46])),[r,o,s]=i;return t(r),await n(r,o,s),e}catch{return!1}function t(t){const n=c(t);n&&n[f([97,108,103])]==f([69,83,50,53,54])||(e=!1)}async function n(t,n,i){const r=window[f([85,105,110,116,56,65,114,114,97,121])][f([102,114,111,109])](l(i),e=>e[f([99,104,97,114,67,111,100,101,65,116])](0)),o=(new(window[f([84,101,120,116,69,110,99,111,100,101,114])]))[f([101,110,99,111,100,101])](t+f([46])+n),a=window[f([99,114,121,112,116,111])][f([115,117,98,116,108,101])];if(!a)return;const c=await a[f([105,109,112,111,114,116,75,101,121])](f([106,119,107]),s,{[f([110,97,109,101])]:f([69,67,68,83,65]),[f([110,97,109,101,100,67,117,114,118,101])]:f([80,45,50,53,54])},!1,[f([118,101,114,105,102,121])]);await a[f([118,101,114,105,102,121])]({[f([110,97,109,101])]:f([69,67,68,83,65]),[f([104,97,115,104])]:{[f([110,97,109,101])]:f([83,72,65,45,50,53,54])}},c,r,o)||(e=!1)}}()?function(){const t=e[f([102,101,97,116,117,114,101,115])];return!(!t||!t[f([105,110,99,108,117,100,101,115])](f([42]))&&!t[f([105,110,99,108,117,100,101,115])](f([76,72])))}()?function(){const t=[f([101,118,97,108,117,97,116,105,111,110]),f([116,114,105,97,108])][f([105,110,99,108,117,100,101,115])](e[f([108,105,99,101,110,115,101,84,121,112,101])])?i/1e3:1768608e3;return e[f([101,120,112])]<t}()?f([69,120,112,105,114,101,100]):function(){const t=x,n=e[f([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[f([108,101,110,103,116,104])])return!0;const{hostname:i}=new URL(window[f([108,111,99,97,116,105,111,110])][t(421)]);if(n[f([105,110,99,108,117,100,101,115])](i))return!0;const r=i[f([115,112,108,105,116])](f([46]));return n[f([102,105,108,116,101,114])](e=>e[f([105,110,99,108,117,100,101,115])](f([42])))[f([109,97,112])](e=>e[f([115,112,108,105,116])](f([46])))[f([102,105,108,116,101,114])](e=>e[f([108,101,110,103,116,104])]<=r[f([108,101,110,103,116,104])])[f([109,97,112])](e=>Array(r[f([108,101,110,103,116,104])]-e[f([108,101,110,103,116,104])])[f([102,105,108,108])](e[0]===f([42])?f([42]):"")[f([99,111,110,99,97,116])](e))[f([115,111,109,101])](e=>r[f([101,118,101,114,121])]((t,n)=>e[n]===t||e[n]===f([42])))}()?(e[f([108,105,99,101,110,115,101,84,121,112,101])]==f([101,118,97,108,117,97,116,105,111,110])&&(n=function(e){const t=[new(window[f([80,114,111,109,105,115,101])])(e=>setTimeout(e,605900)),o[f([116,104,101,110])](()=>new(window[f([80,114,111,109,105,115,101])])(e=>{let t=0;r[f([109,111,100,101,108])][f([111,110])](f([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),(n,i)=>{i[0][f([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&t++,1512==t&&(e(),n[f([111,102,102])]())})}))];return window[f([80,114,111,109,105,115,101])][f([114,97,99,101])](t)[f([116,104,101,110])](()=>e)}(f([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),await(n&&p?new(window[f([80,114,111,109,105,115,101])])((e,t)=>{n[f([116,104,101,110])](e,t),p[f([116,104,101,110])](t=>{t!=f([86,97,108,105,100])&&e(t)},t)}):n||p||f([86,97,108,105,100]))):f([68,111,109,97,105,110,76,105,109,105,116]):f([78,111,116,65,108,108,111,119,101,100]):f([73,110,118,97,108,105,100])):f([73,110,118,97,108,105,100]))}catch{return f([73,110,118,97,108,105,100])}}())}(this)}[T(424)](){const e=T,n=this[e(396)];if(!n[e(427)][e(398)](e(404)))return;const i=n[e(427)][e(398)](e(433))[e(392)](t=>e(386)==typeof t&&!d(t)&&isNaN(Number(t)));if(i[e(399)])throw new t.CKEditorError(e(394),null,{namedPresets:i})}[T(407)](){const e=T,t=this[e(396)],n=this[e(396)][e(427)][e(398)](e(436));t[e(413)][e(432)](e(434))[e(416)]({model:{key:e(389)},view:t=>String(t)===String(n)?null:{key:e(423),value:{"line-height":t}}}),t[e(413)][e(432)](e(408))[e(416)]({model:{key:e(389),value:t=>{const i=e;let r=t[i(401)](i(388));return(0,c.isPercentageStyleValue)(r)&&(r=String(Number(r[i(438)](0,-1))/100)),String(r)===String(n)?null:r}},view:{styles:{"line-height":/.*/}}})}[T(435)](){const e=T,t=this[e(396)],n=this[e(396)][e(427)][e(398)](e(436)),i=h(this[e(396)][e(427)][e(398)](e(389)))[e(392)](t=>t[e(397)]),r=function(e,t){const n=p,i={model:{key:e,values:[]},view:{}};for(const e of t)n(312)===e[n(302)]?.[n(289)]?(i[n(307)][n(321)][n(309)](e[n(307)]),i[n(302)][e[n(307)]]={key:n(312),value:e[n(302)][n(305)]}):(i[n(307)][n(321)][n(309)](e[n(307)]),i[n(302)][e[n(307)]]={key:n(306),value:n(317)+e[n(307)]+";"});return i}(e(389),i);t[e(413)][e(416)](r),t[e(413)][e(432)](e(408))[e(416)]({view:{styles:{"line-height":/[\s\S]+/}},model:{key:e(389),value:t=>{const i=e;let o=t[i(401)](i(388));return(0,c.isPercentageStyleValue)(o)&&(o=String(Number(o[i(438)](0,-1))/100)),o===String(n)?null:r[i(397)][i(390)][i(418)](o)?o:null}}})}}var N=n(311),K=n(355),V=n(784),M={attributes:{"data-cke":!0}};M.setAttributes=b(),M.insert=y().bind(null,"head"),M.domAPI=w(),M.insertStyleElement=_();g()(V.A,M);V.A&&V.A.locals&&V.A.locals;class j 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||"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"),"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 h(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 N.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 N.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,N.createDropdown)(r);return(0,N.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 N.MenuBarMenuView(r);o.buttonView.set({label:e,icon:K.IconLineHeight}),o.bind("isEnabled").to(i);const s=new N.MenuBarMenuListView(r);for(const e of t){const t=new N.MenuBarMenuListItemView(r,o),i=new N.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 B=R;function D(){var e=["requires","3969918BlPefC","1rhnSmT","5925090gKnEBV","3auVRLn","isPremiumPlugin","373790fOHbDG","6556944orTPTC","2263948yiFTdF","2889187EceCFM","isOfficialPlugin","pluginName","6537378YzHjAt","10EjSGih","LineHeight"];return(D=function(){return e})()}function R(e,t){var n=D();return(R=function(e,t){return n[e-=117]})(e,t)}!function(e){for(var t=R,n=e();;)try{if(673720===-parseInt(t(122))/1*(parseInt(t(126))/2)+-parseInt(t(124))/3*(parseInt(t(128))/4)+parseInt(t(123))/5+parseInt(t(117))/6+parseInt(t(129))/7+-parseInt(t(127))/8+parseInt(t(121))/9*(-parseInt(t(118))/10))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(D);class F extends e.Plugin{static get[B(120)](){return[P,j]}static get[B(131)](){return B(119)}static get[B(130)](){return!0}static get[B(125)](){return!0}}function G(){var e=["4tsoZTj","7358596FXnMhL","8231274RXidNT","2452599JEgMRW","1356548oeFTwc","5VCUIff","298847lchWhF","7243264DzdEmz","9tziHyG","3286830QTdIjo"];return(G=function(){return e})()}function U(e,t){var n=G();return(U=function(e,t){return n[e-=335]})(e,t)}!function(e){for(var t=U,n=e();;)try{if(766234===parseInt(t(335))/1*(parseInt(t(339))/2)+parseInt(t(337))/3*(-parseInt(t(343))/4)+-parseInt(t(344))/5*(parseInt(t(341))/6)+parseInt(t(340))/7+parseInt(t(336))/8+parseInt(t(342))/9+parseInt(t(338))/10)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(G)})(),(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:()=>F,LineHeightCommand:()=>a,LineHeightEditing:()=>P,LineHeightTodoListIntegration:()=>A,LineHeightUI:()=>j});var e=n(782),t=n(584);function r(){const e=["document","_canHaveLineHeight","lineHeight","model","1496800cmPjRz","execute","getSelectedBlocks","187375kjKJBB","setAttribute","filter","editor","10xAJyjx","change","from","getAttribute","762184vzZxaq","selection","3744878jOIlwE","31386zeFwoZ","40037688SwIBQL","188AKtwKj","174nFNWzV","isEnabled","10864455UOJoqd","checkAttribute","removeAttribute","refresh","value","schema"];return(r=function(){return e})()}const o=s;function s(e,t){const n=r();return(s=function(e,t){return n[e-=351]})(e,t)}!function(e){const t=s,n=e();for(;;)try{if(972460===parseInt(t(372))/1+parseInt(t(356))/2+-parseInt(t(357))/3*(parseInt(t(359))/4)+-parseInt(t(375))/5*(-parseInt(t(360))/6)+parseInt(t(362))/7+-parseInt(t(354))/8+-parseInt(t(358))/9*(parseInt(t(379))/10))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(r);class a extends e.Command{[o(365)](){const e=o,n=this[e(378)][e(371)][e(368)],i=(0,t.first)(n[e(355)][e(374)]());this[e(361)]=Boolean(i)&&this[e(369)](i),this[e(366)]=this[e(361)]&&i[e(353)](e(370))}[o(373)](e={}){const t=o,n=this[t(378)][t(371)],i=n[t(368)][t(355)],r=e[t(366)];n[t(351)](e=>{const n=t,o=Array[n(352)](i[n(374)]())[n(377)](e=>this[n(369)](e));for(const t of o)r?e[n(376)](n(370),r,t):e[n(364)](n(370),t)})}[o(369)](e){const t=o;return this[t(378)][t(371)][t(367)][t(363)](e,t(370))}}var c=n(783);function l(){const e=["line-height-double","line-height:","9UoJrwL","map","filter","values","span","2128914auLEbR","key","45194EmDZMl","564513FcBOOm","378264GmnPYL","number","line-height-single","toLowerCase","defaultValue","Double","20VIYcaz","double","string","options","view","3536478sJrQGV","default","value","style","model","6967980OpRHgC","push","single","7kXERHe","class","667136KhHeyD","Single","39JKifgr"];return(l=function(){return e})()}!function(e){const t=p,n=e();for(;;)try{if(491698===-parseInt(t(291))/1+parseInt(t(290))/2*(-parseInt(t(315))/3)+-parseInt(t(313))/4*(-parseInt(t(298))/5)+parseInt(t(288))/6+-parseInt(t(311))/7*(parseInt(t(292))/8)+-parseInt(t(318))/9*(-parseInt(t(308))/10)+-parseInt(t(303))/11)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(l);const u={get single(){const e=p;return{title:e(314),model:e(310),view:{key:e(312),value:e(294)}}},get double(){const e=p;return{title:e(297),model:e(299),view:{key:e(312),value:e(316)}}}};function d(e){const t=p;return t(300)==typeof e&&t(304)===e[t(295)]()}function h(e){const t=p;return e[t(301)][t(319)](n=>d(n)?{title:String(e[t(296)]),model:t(304)}:(t(293)==typeof n&&(n=String(n)),t(300)!=typeof n?n:parseFloat(n)?{title:n,model:n,view:{name:t(322),styles:{"line-height":n}}}:function(e){const t=p;return t(300)==typeof e?u[e]:u[e[t(307)]]}(n)))[t(320)](e=>void 0!==e)}function p(e,t){const n=l();return(p=function(e,t){return n[e-=288]})(e,t)}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;function E(){const e=["get","ListEditing","paragraph","21mKkBUY","high","editor","for","item","LineHeightTodoListIntegration","upcast","isOfficialPlugin","viewItem","1128644zpmQEn","9fOEdRI","add","addClass","registerDowncastStrategy","consume","elementToElement","getAttribute","name","55YAqMcb","todo","128828niJubF","span","372ejwJmR","1210568KwtbVa","523902GFrWRh","TodoListEditing","init","--ck-content-list-marker-line-height","pluginName","setStyle","listType","match","ck-list-marker-line-height","has","element:li","todo-list__label__description","isPremiumPlugin","lineHeight","3278850wjerhx","consumable","4866ycZlxC","124003sBxLqO"];return(E=function(){return e})()}const O=T;function T(e,t){const n=E();return(T=function(e,t){return n[e-=369]})(e,t)}!function(e){const t=T,n=e();for(;;)try{if(196055===-parseInt(t(383))/1+parseInt(t(382))/2*(parseInt(t(409))/3)+-parseInt(t(407))/4*(-parseInt(t(405))/5)+parseInt(t(411))/6*(-parseInt(t(387))/7)+parseInt(t(410))/8+parseInt(t(397))/9*(-parseInt(t(380))/10)+parseInt(t(396))/11)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(E);class A extends e.Plugin{static get[O(370)](){return O(392)}static get[O(394)](){return!0}static get[O(378)](){return!0}[O(413)](){const e=O,{plugins:t,conversion:n}=this[e(389)];t[e(375)](e(385))&&t[e(375)](e(412))&&(t[e(384)](e(385))[e(400)]({scope:e(391),attributeName:e(379),consume:!1,setAttributeOnDowncast(t,n,i,r,o){const s=e;s(406)==o[s(403)](s(372))&&n&&(t[s(399)](s(374),i),t[s(371)](s(369),n,i))}}),n[e(390)](e(393))[e(402)]({view:{name:e(408),classes:e(377)},model:e(386),converterPriority:e(388)}),n[e(390)](e(393))[e(398)](t=>{const n=e;t.on(n(376),function(e){const t=new c.Matcher(e);return(e,n,i)=>{const r=T,o=t[r(373)](n[r(395)]);if(!o)return;const s=o[r(373)];s[r(404)]=!1,i[r(381)][r(401)](n[r(395)],s)}}({name:"li",classes:n(374),styles:{"--ck-content-list-marker-line-height":/.*/}}))}))}}function C(){const e=["$block","values","lineHeight","commands","1205110FSDRwA","add","lineHeight.options","line-height-invalid-use-of-named-presets","afterInit","_preparePredefinedConverters","lineHeight.defaultValue","string","requires","fromCharCode","attributeToAttribute","href","init","config","864508NrhXTT","isPremiumPlugin","upcast","schema","12HdbxRt","includes","lineHeight.supportAllValues","10IKRvvt","1751912hoGlNl","get","line-height","LineHeightEditing","length","conversion","_validateConfig","376YJPQmg","model","filter","extend","1274436pxOCyk","for","2852003zukTlZ","join","88BvivbD","_prepareAnyValueConverters","style","setAttributeProperties","86031OkoDpd","836293ocBlhH","getStyle","define","default","editor","downcast","slice","pluginName","map","isOfficialPlugin"];return(C=function(){return e})()}const S=x;function x(e,t){const n=C();return(x=function(e,t){return n[e-=485]})(e,t)}!function(e){const t=x,n=e();for(;;)try{if(499315===-parseInt(t(495))/1+-parseInt(t(531))/2+-parseInt(t(527))/3*(-parseInt(t(523))/4)+-parseInt(t(530))/5*(-parseInt(t(486))/6)+parseInt(t(488))/7+-parseInt(t(538))/8*(parseInt(t(494))/9)+parseInt(t(509))/10*(parseInt(t(490))/11))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(C);class P extends e.Plugin{static get[S(502)](){return S(534)}static get[S(517)](){return[A]}static get[S(504)](){return!0}static get[S(524)](){return!0}constructor(e){const t=S;super(e),e[t(522)][t(497)](t(507),{defaultValue:1.5,supportAllValues:!1,options:[1,1.15,t(498),2,2.5,3]})}[S(521)](){const e=S,t=this[e(499)];this[e(537)](),t[e(539)][e(526)][e(485)](e(505),{allowAttributes:e(507)}),t[e(539)][e(526)][e(493)](e(507),{isFormatting:!0}),t[e(508)][e(510)](e(507),new a(t)),this[e(499)][e(522)][e(532)](e(529))?this[e(491)]():this[e(514)]()}[S(513)](){!async function(e){const n=f([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[f([68,97,116,101])][f([110,111,119])](),r=e[f([101,100,105,116,111,114])],o=new(window[f([80,114,111,109,105,115,101])])(e=>{r[f([111,110,99,101])](f([114,101,97,100,121]),e)}),s={[f([107,116,121])]:f([69,67]),[f([117,115,101])]:f([115,105,103]),[f([99,114,118])]:f([80,45,50,53,54]),[f([120])]:f([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]),[f([121])]:f([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]),[f([97,108,103])]:f([69,83,50,53,54])},a=r[f([99,111,110,102,105,103])][f([103,101,116])](f([108,105,99,101,110,115,101,75,101,121]));function c(e){return e[f([115,116,97,114,116,115,87,105,116,104])](f([101,121]))?JSON[f([112,97,114,115,101])](l(e)):null}function l(e){return window[f([97,116,111,98])](e[f([114,101,112,108,97,99,101])](/-/g,f([43]))[f([114,101,112,108,97,99,101])](/_/g,f([47])))}function u(e){let t=5381;function n(e){for(let n=0;n<e[f([108,101,110,103,116,104])];n++){const i=e[f([99,104,97,114,67,111,100,101,65,116])](n);t=(t<<5)+t+i,t&=t}}return function e(t){Array[f([105,115,65,114,114,97,121])](t)?t[f([102,111,114,69,97,99,104])](e):t&&typeof t==f([111,98,106,101,99,116])?Object[f([101,110,116,114,105,101,115])](t)[f([115,111,114,116])]()[f([102,111,114,69,97,99,104])](([t,i])=>{n(t),e(i)}):n(window[f([83,116,114,105,110,103])](t))}(e),t>>>0}function d(e){return e[f([116,111,83,116,114,105,110,103])](16)[f([112,97,100,83,116,97,114,116])](8,f([48]))}function h(e){return e[f([115,112,108,105,116])]("")[f([114,101,118,101,114,115,101])]()[f([106,111,105,110])]("")}function p(){}function f(e){const t=x;return e[t(503)](e=>String[t(518)](e))[t(489)]("")}!function(e){const t=function(){const e=window[f([83,116,114,105,110,103])](window[f([112,101,114,102,111,114,109,97,110,99,101])][f([110,111,119])]())[f([114,101,112,108,97,99,101])](f([46]),"");let t=f([80]);for(let i=0;i<e[f([108,101,110,103,116,104])];i+=2){let r=window[f([112,97,114,115,101,73,110,116])](e[f([115,117,98,115,116,114,105,110,103])](i,i+2));r>=n[f([108,101,110,103,116,104])]&&(r-=n[f([108,101,110,103,116,104])]),t+=n[r]}return t}();r[t]=f([108,105,110,101,72,101,105,103,104,116,76,105,99,101,110,115,101,75,101,121])+e,e!=f([86,97,108,105,100])&&async function(){await o,r[f([109,111,100,101,108])][f([99,104,97,110,103,101])]=p,r[f([109,111,100,101,108])][f([101,110,113,117,101,117,101,67,104,97,110,103,101])]=p,r[f([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](f([109,111,100,101,108]))}()}(await async function(){let e,n=null,p=null;try{return a==f([71,80,76])?f([78,111,116,65,108,108,111,119,101,100]):(e=function(){const e=a[f([115,112,108,105,116])](f([46]));return 3!=e[f([108,101,110,103,116,104])]?null:t(e[1]);function t(e){const t=c(e);return t&&n()?t:null;function n(){const e=t[f([106,116,105])],n=window[f([112,97,114,115,101,73,110,116])](e[f([115,117,98,115,116,114,105,110,103])](e[f([108,101,110,103,116,104])]-8),16),i={...t,[f([106,116,105])]:e[f([115,117,98,115,116,114,105,110,103])](0,e[f([108,101,110,103,116,104])]-8)};return delete i[f([118,99])],u(i)==n}}}(),e?(e[f([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(p=function(e,n){return new(window[f([80,114,111,109,105,115,101])])(c=>{if(s())return c(f([86,97,108,105,100]));a(),r[f([100,101,99,111,114,97,116,101])](f([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let l=!1;const p=(0,t.uid)();function g(e){return!!e&&(typeof e===f([111,98,106,101,99,116])||typeof e===f([102,117,110,99,116,105,111,110]))&&typeof e[f([116,104,101,110])]===f([102,117,110,99,116,105,111,110])&&typeof e[f([99,97,116,99,104])]===f([102,117,110,99,116,105,111,110])}function m(t){a(t)[f([116,104,101,110])](e=>e&&e[f([115,116,97,116,117,115])]==f([111,107])?d(u(p+n))!=e[f([118,101,114,105,102,105,99,97,116,105,111,110])]?f([85,115,97,103,101,76,105,109,105,116]):f([86,97,108,105,100]):f([85,115,97,103,101,76,105,109,105,116]))[f([116,104,101,110])](e=>(o(),e),()=>{const e=s();return null==e?(o(),f([86,97,108,105,100])):f(i-e>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[f([116,104,101,110])](c)[f([99,97,116,99,104])](()=>{c(f([85,115,97,103,101,76,105,109,105,116]))});const r=36e5;function o(){const t=f([108,108,99,116,45])+d(u(e)),n=h(d(window[f([77,97,116,104])][f([99,101,105,108])](i/r)));window[f([108,111,99,97,108,83,116,111,114,97,103,101])][f([115,101,116,73,116,101,109])](t,n)}function s(){const t=f([108,108,99,116,45])+d(u(e)),n=window[f([108,111,99,97,108,83,116,111,114,97,103,101])][f([103,101,116,73,116,101,109])](t);return n?window[f([112,97,114,115,101,73,110,116])](h(n),16)*r:null}function a(e){return new(window[f([80,114,111,109,105,115,101])])((t,n)=>{e[f([116,104,101,110])](t,n),window[f([115,101,116,84,105,109,101,111,117,116])](n,12e4)})}}r[f([111,110])](f([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(f([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[f([114,101,113,117,101,115,116,73,100])]:p}},{[f([112,114,105,111,114,105,116,121])]:f([104,105,103,104])}),r[f([111,110])](f([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),e=>{g(e[f([114,101,116,117,114,110])])&&(l=!0,m(e[f([114,101,116,117,114,110])]))},{[f([112,114,105,111,114,105,116,121])]:f([108,111,119])}),o[f([116,104,101,110])](()=>{l||c(f([85,115,97,103,101,76,105,109,105,116]))})});function s(){return r[f([101,100,105,116,105,110,103])][f([118,105,101,119])][f([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==f([97,117,116,111])}function a(){r[f([101,100,105,116,105,110,103])][f([118,105,101,119])][f([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=f([97,117,116,111])}}(e[f([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[f([106,116,105])])),await async function(){let e=!0;try{const i=a[f([115,112,108,105,116])](f([46])),[r,o,s]=i;return t(r),await n(r,o,s),e}catch{return!1}function t(t){const n=c(t);n&&n[f([97,108,103])]==f([69,83,50,53,54])||(e=!1)}async function n(t,n,i){const r=window[f([85,105,110,116,56,65,114,114,97,121])][f([102,114,111,109])](l(i),e=>e[f([99,104,97,114,67,111,100,101,65,116])](0)),o=(new(window[f([84,101,120,116,69,110,99,111,100,101,114])]))[f([101,110,99,111,100,101])](t+f([46])+n),a=window[f([99,114,121,112,116,111])][f([115,117,98,116,108,101])];if(!a)return;const c=await a[f([105,109,112,111,114,116,75,101,121])](f([106,119,107]),s,{[f([110,97,109,101])]:f([69,67,68,83,65]),[f([110,97,109,101,100,67,117,114,118,101])]:f([80,45,50,53,54])},!1,[f([118,101,114,105,102,121])]);await a[f([118,101,114,105,102,121])]({[f([110,97,109,101])]:f([69,67,68,83,65]),[f([104,97,115,104])]:{[f([110,97,109,101])]:f([83,72,65,45,50,53,54])}},c,r,o)||(e=!1)}}()?function(){const t=e[f([102,101,97,116,117,114,101,115])];return!(!t||!t[f([105,110,99,108,117,100,101,115])](f([42]))&&!t[f([105,110,99,108,117,100,101,115])](f([76,72])))}()?function(){const t=[f([101,118,97,108,117,97,116,105,111,110]),f([116,114,105,97,108])][f([105,110,99,108,117,100,101,115])](e[f([108,105,99,101,110,115,101,84,121,112,101])])?i/1e3:1768694400;return e[f([101,120,112])]<t}()?f([69,120,112,105,114,101,100]):function(){const t=x,n=e[f([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[f([108,101,110,103,116,104])])return!0;const{hostname:i}=new URL(window[f([108,111,99,97,116,105,111,110])][t(520)]);if(n[f([105,110,99,108,117,100,101,115])](i))return!0;const r=i[f([115,112,108,105,116])](f([46]));return n[f([102,105,108,116,101,114])](e=>e[f([105,110,99,108,117,100,101,115])](f([42])))[f([109,97,112])](e=>e[f([115,112,108,105,116])](f([46])))[f([102,105,108,116,101,114])](e=>e[f([108,101,110,103,116,104])]<=r[f([108,101,110,103,116,104])])[f([109,97,112])](e=>Array(r[f([108,101,110,103,116,104])]-e[f([108,101,110,103,116,104])])[f([102,105,108,108])](e[0]===f([42])?f([42]):"")[f([99,111,110,99,97,116])](e))[f([115,111,109,101])](e=>r[f([101,118,101,114,121])]((t,n)=>e[n]===t||e[n]===f([42])))}()?(e[f([108,105,99,101,110,115,101,84,121,112,101])]==f([101,118,97,108,117,97,116,105,111,110])&&(n=function(e){const t=[new(window[f([80,114,111,109,105,115,101])])(e=>setTimeout(e,605900)),o[f([116,104,101,110])](()=>new(window[f([80,114,111,109,105,115,101])])(e=>{let t=0;r[f([109,111,100,101,108])][f([111,110])](f([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),(n,i)=>{i[0][f([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&t++,1512==t&&(e(),n[f([111,102,102])]())})}))];return window[f([80,114,111,109,105,115,101])][f([114,97,99,101])](t)[f([116,104,101,110])](()=>e)}(f([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),await(n&&p?new(window[f([80,114,111,109,105,115,101])])((e,t)=>{n[f([116,104,101,110])](e,t),p[f([116,104,101,110])](t=>{t!=f([86,97,108,105,100])&&e(t)},t)}):n||p||f([86,97,108,105,100]))):f([68,111,109,97,105,110,76,105,109,105,116]):f([78,111,116,65,108,108,111,119,101,100]):f([73,110,118,97,108,105,100])):f([73,110,118,97,108,105,100]))}catch{return f([73,110,118,97,108,105,100])}}())}(this)}[S(537)](){const e=S,n=this[e(499)];if(!n[e(522)][e(532)](e(529)))return;const i=n[e(522)][e(532)](e(511))[e(540)](t=>e(516)==typeof t&&!d(t)&&isNaN(Number(t)));if(i[e(535)])throw new t.CKEditorError(e(512),null,{namedPresets:i})}[S(491)](){const e=S,t=this[e(499)],n=this[e(499)][e(522)][e(532)](e(515));t[e(536)][e(487)](e(500))[e(519)]({model:{key:e(507)},view:t=>String(t)===String(n)?null:{key:e(492),value:{"line-height":t}}}),t[e(536)][e(487)](e(525))[e(519)]({model:{key:e(507),value:t=>{const i=e;let r=t[i(496)](i(533));return(0,c.isPercentageStyleValue)(r)&&(r=String(Number(r[i(501)](0,-1))/100)),String(r)===String(n)?null:r}},view:{styles:{"line-height":/.*/}}})}[S(514)](){const e=S,t=this[e(499)],n=this[e(499)][e(522)][e(532)](e(515)),i=h(this[e(499)][e(522)][e(532)](e(507)))[e(540)](t=>t[e(539)]),r=function(e,t){const n=p,i={model:{key:e,values:[]},view:{}};for(const e of t)n(312)===e[n(302)]?.[n(289)]?(i[n(307)][n(321)][n(309)](e[n(307)]),i[n(302)][e[n(307)]]={key:n(312),value:e[n(302)][n(305)]}):(i[n(307)][n(321)][n(309)](e[n(307)]),i[n(302)][e[n(307)]]={key:n(306),value:n(317)+e[n(307)]+";"});return i}(e(507),i);t[e(536)][e(519)](r),t[e(536)][e(487)](e(525))[e(519)]({view:{styles:{"line-height":/[\s\S]+/}},model:{key:e(507),value:t=>{const i=e;let o=t[i(496)](i(533));return(0,c.isPercentageStyleValue)(o)&&(o=String(Number(o[i(501)](0,-1))/100)),o===String(n)?null:r[i(539)][i(506)][i(528)](o)?o:null}}})}}var N=n(311),K=n(355),V=n(784),B={attributes:{"data-cke":!0}};B.setAttributes=b(),B.insert=y().bind(null,"head"),B.domAPI=w(),B.insertStyleElement=_();g()(V.A,B);V.A&&V.A.locals&&V.A.locals;class j 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||"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"),"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 h(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 N.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 N.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,N.createDropdown)(r);return(0,N.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 N.MenuBarMenuView(r);o.buttonView.set({label:e,icon:K.IconLineHeight}),o.bind("isEnabled").to(i);const s=new N.MenuBarMenuListView(r);for(const e of t){const t=new N.MenuBarMenuListItemView(r,o),i=new N.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 M=R;function D(){var e=["requires","3969918BlPefC","1rhnSmT","5925090gKnEBV","3auVRLn","isPremiumPlugin","373790fOHbDG","6556944orTPTC","2263948yiFTdF","2889187EceCFM","isOfficialPlugin","pluginName","6537378YzHjAt","10EjSGih","LineHeight"];return(D=function(){return e})()}function R(e,t){var n=D();return(R=function(e,t){return n[e-=117]})(e,t)}!function(e){for(var t=R,n=e();;)try{if(673720===-parseInt(t(122))/1*(parseInt(t(126))/2)+-parseInt(t(124))/3*(parseInt(t(128))/4)+parseInt(t(123))/5+parseInt(t(117))/6+parseInt(t(129))/7+-parseInt(t(127))/8+parseInt(t(121))/9*(-parseInt(t(118))/10))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(D);class F extends e.Plugin{static get[M(120)](){return[P,j]}static get[M(131)](){return M(119)}static get[M(130)](){return!0}static get[M(125)](){return!0}}function G(){var e=["4tsoZTj","7358596FXnMhL","8231274RXidNT","2452599JEgMRW","1356548oeFTwc","5VCUIff","298847lchWhF","7243264DzdEmz","9tziHyG","3286830QTdIjo"];return(G=function(){return e})()}function U(e,t){var n=G();return(U=function(e,t){return n[e-=335]})(e,t)}!function(e){for(var t=U,n=e();;)try{if(766234===parseInt(t(335))/1*(parseInt(t(339))/2)+parseInt(t(337))/3*(-parseInt(t(343))/4)+-parseInt(t(344))/5*(parseInt(t(341))/6)+parseInt(t(340))/7+parseInt(t(336))/8+parseInt(t(342))/9+parseInt(t(338))/10)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(G)})(),(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 _0x3b1ff4,Plugin as _0x53d09b}from'@ckeditor/ckeditor5-core/dist/index.js';import{first as _0xecfa87,CKEditorError as _0x381266,uid as _0xad400b,Collection as _0x56c0a9}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Matcher as _0x404069,isPercentageStyleValue as _0x2fe85d}from'@ckeditor/ckeditor5-engine/dist/index.js';import{UIModel as _0x1752a0,createDropdown as _0x5d4e47,addListToDropdown as _0x16d4d3,MenuBarMenuView as _0x444849,MenuBarMenuListView as _0x15a4b0,MenuBarMenuListItemView as _0x4d87bd,MenuBarMenuListItemButtonView as _0x39c913}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconLineHeight as _0x1051a3}from'@ckeditor/ckeditor5-icons/dist/index.js';class n extends _0x3b1ff4{['refresh'](){const _0x265181=this['editor']['model']['document'],_0x4c04b0=_0xecfa87(_0x265181['selection']['getSelectedBlocks']());this['isEnabled']=Boolean(_0x4c04b0)&&this['_canHaveLineHeight'](_0x4c04b0),this['value']=this['isEnabled']&&_0x4c04b0['getAttribute']('lineHeight');}['execute'](_0x32fd9b={}){const _0x2ccbc3=this['editor']['model'],_0x48ae8a=_0x2ccbc3['document']['selection'],_0x41fd42=_0x32fd9b['value'];_0x2ccbc3['change'](_0x3c5ab7=>{const _0x14e47a=Array['from'](_0x48ae8a['getSelectedBlocks']())['filter'](_0x24ade1=>this['_canHaveLineHeight'](_0x24ade1));for(const _0x156b66 of _0x14e47a)_0x41fd42?_0x3c5ab7['setAttribute']('lineHeight',_0x41fd42,_0x156b66):_0x3c5ab7['removeAttribute']('lineHeight',_0x156b66);});}['_canHaveLineHeight'](_0x5f4d50){return this['editor']['model']['schema']['checkAttribute'](_0x5f4d50,'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(_0x15f6a1){return'string'==typeof _0x15f6a1&&'default'===_0x15f6a1['toLowerCase']();}function a(_0xd565f2){return _0xd565f2['options']['map'](_0x42432a=>{return f(_0x42432a)?{'title':String(_0xd565f2['defaultValue']),'model':'default'}:('number'==typeof _0x42432a&&(_0x42432a=String(_0x42432a)),'string'!=typeof _0x42432a?_0x42432a:parseFloat(_0x42432a)?{'title':_0x42432a,'model':_0x42432a,'view':{'name':'span','styles':{'line-height':_0x42432a}}}:'string'==typeof(_0x3e584a=_0x42432a)?v[_0x3e584a]:v[_0x3e584a['model']]);var _0x3e584a;})['filter'](_0x3c1dad=>void 0x0!==_0x3c1dad);}class g extends _0x53d09b{static get['pluginName'](){return'LineHeightTodoListIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {plugins:_0x25f8ca,conversion:_0x10244}=this['editor'];if(!_0x25f8ca['has']('ListEditing')||!_0x25f8ca['has']('TodoListEditing'))return;_0x25f8ca['get']('ListEditing')['registerDowncastStrategy']({'scope':'item','attributeName':'lineHeight','consume':!0x1,'setAttributeOnDowncast'(_0x2606e7,_0x16f185,_0x167694,_0x352840,_0x3e7ea5){'todo'==_0x3e7ea5['getAttribute']('listType')&&_0x16f185&&(_0x2606e7['addClass']('ck-list-marker-line-height',_0x167694),_0x2606e7['setStyle']('--ck-content-list-marker-line-height',_0x16f185,_0x167694));}}),_0x10244['for']('upcast')['elementToElement']({'view':{'name':'span','classes':'todo-list__label__description'},'model':'paragraph','converterPriority':'high'}),_0x10244['for']('upcast')['add'](_0x5672c4=>{_0x5672c4['on']('element:li',function(_0x59b90a){const _0x278908=new _0x404069(_0x59b90a);return(_0x1efe35,_0x2d94b3,_0x4eaca5)=>{const _0x2b79f6=_0x278908['match'](_0x2d94b3['viewItem']);if(!_0x2b79f6)return;const _0x380ef9=_0x2b79f6['match'];_0x380ef9['name']=!0x1,_0x4eaca5['consumable']['consume'](_0x2d94b3['viewItem'],_0x380ef9);};}({'name':'li','classes':'ck-list-marker-line-height','styles':{'--ck-content-list-marker-line-height':/.*/}}));});}}class e extends _0x53d09b{static get['pluginName'](){return'LineHeightEditing';}static get['requires'](){return[g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x4487ef){super(_0x4487ef),_0x4487ef['config']['define']('lineHeight',{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,'default',0x2,2.5,0x3]});}['init'](){const _0x3673ab=this['editor'];this['_validateConfig'](),_0x3673ab['model']['schema']['extend']('$block',{'allowAttributes':'lineHeight'}),_0x3673ab['model']['schema']['setAttributeProperties']('lineHeight',{'isFormatting':!0x0}),_0x3673ab['commands']['add']('lineHeight',new n(_0x3673ab)),this['editor']['config']['get']('lineHeight.supportAllValues')?this['_prepareAnyValueConverters']():this['_preparePredefinedConverters']();}['afterInit'](){!async function(_0x469c30){const _0x28f749=_0x292b6a([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]),_0xd279c1=0x45ddd215,_0x50c7e7=0x45daad05^_0xd279c1,_0x3f8f7a=window[_0x292b6a([0x44,0x61,0x74,0x65])][_0x292b6a([0x6e,0x6f,0x77])](),_0x436c57=_0x469c30[_0x292b6a([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3cb7d0=new window[(_0x292b6a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x357b75=>{_0x436c57[_0x292b6a([0x6f,0x6e,0x63,0x65])](_0x292b6a([0x72,0x65,0x61,0x64,0x79]),_0x357b75);}),_0x418db2={[_0x292b6a([0x6b,0x74,0x79])]:_0x292b6a([0x45,0x43]),[_0x292b6a([0x75,0x73,0x65])]:_0x292b6a([0x73,0x69,0x67]),[_0x292b6a([0x63,0x72,0x76])]:_0x292b6a([0x50,0x2d,0x32,0x35,0x36]),[_0x292b6a([0x78])]:_0x292b6a([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]),[_0x292b6a([0x79])]:_0x292b6a([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]),[_0x292b6a([0x61,0x6c,0x67])]:_0x292b6a([0x45,0x53,0x32,0x35,0x36])},_0x4bc7bf=_0x436c57[_0x292b6a([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x292b6a([0x67,0x65,0x74])](_0x292b6a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x38a1ad(){let _0x22ef69,_0x5a3f9f=null,_0x941a04=null;try{if(_0x4bc7bf==_0x292b6a([0x47,0x50,0x4c]))return _0x292b6a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x22ef69=_0x471eaa(),!_0x22ef69)return _0x292b6a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x22ef69[_0x292b6a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x941a04=_0x1a8af1(_0x22ef69[_0x292b6a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x22ef69[_0x292b6a([0x6a,0x74,0x69])])),await _0x4bec7f()?_0x110e69()?_0x341500()?_0x292b6a([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1e12fb()?(_0x22ef69[_0x292b6a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x292b6a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5a3f9f=_0x5bd9ed(_0x292b6a([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x58a360()):_0x292b6a([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x292b6a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x292b6a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x292b6a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x341500(){const _0x5dcf98=[_0x292b6a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x292b6a([0x74,0x72,0x69,0x61,0x6c])][_0x292b6a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x22ef69[_0x292b6a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3f8f7a/0x3e8:0xe10*_0x50c7e7;return _0x22ef69[_0x292b6a([0x65,0x78,0x70])]<_0x5dcf98;}function _0x110e69(){const _0x3d3902=_0x22ef69[_0x292b6a([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3d3902&&(!!_0x3d3902[_0x292b6a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x292b6a([0x2a]))||!!_0x3d3902[_0x292b6a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x292b6a([0x4c,0x48])));}function _0x1e12fb(){const _0x5d6a7f=_0x22ef69[_0x292b6a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5d6a7f||0x0==_0x5d6a7f[_0x292b6a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x385c72}=new URL(window[_0x292b6a([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5d6a7f[_0x292b6a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x385c72))return!0x0;const _0x1d4cf2=_0x385c72[_0x292b6a([0x73,0x70,0x6c,0x69,0x74])](_0x292b6a([0x2e]));return _0x5d6a7f[_0x292b6a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4ba30e=>_0x4ba30e[_0x292b6a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x292b6a([0x2a])))[_0x292b6a([0x6d,0x61,0x70])](_0x579a20=>_0x579a20[_0x292b6a([0x73,0x70,0x6c,0x69,0x74])](_0x292b6a([0x2e])))[_0x292b6a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5cbddb=>_0x5cbddb[_0x292b6a([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1d4cf2[_0x292b6a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x292b6a([0x6d,0x61,0x70])](_0x241c9f=>Array(_0x1d4cf2[_0x292b6a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x241c9f[_0x292b6a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x292b6a([0x66,0x69,0x6c,0x6c])](_0x241c9f[0x0]===_0x292b6a([0x2a])?_0x292b6a([0x2a]):'')[_0x292b6a([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x241c9f))[_0x292b6a([0x73,0x6f,0x6d,0x65])](_0x489ead=>_0x1d4cf2[_0x292b6a([0x65,0x76,0x65,0x72,0x79])]((_0x5a6a05,_0x3cb45e)=>_0x489ead[_0x3cb45e]===_0x5a6a05||_0x489ead[_0x3cb45e]===_0x292b6a([0x2a])));}function _0x58a360(){return _0x5a3f9f&&_0x941a04?new window[(_0x292b6a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1a737e,_0x54d609)=>{_0x5a3f9f[_0x292b6a([0x74,0x68,0x65,0x6e])](_0x1a737e,_0x54d609),_0x941a04[_0x292b6a([0x74,0x68,0x65,0x6e])](_0x5e1e67=>{_0x5e1e67!=_0x292b6a([0x56,0x61,0x6c,0x69,0x64])&&_0x1a737e(_0x5e1e67);},_0x54d609);}):_0x5a3f9f||_0x941a04||_0x292b6a([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1a8af1(_0x505874,_0x380ea4){return new window[(_0x292b6a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2de893=>{if(_0x36e049())return _0x2de893(_0x292b6a([0x56,0x61,0x6c,0x69,0x64]));_0x2bfc7b(),_0x436c57[_0x292b6a([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x292b6a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4e8717=!0x1;const _0x3e2800=_0xad400b();function _0x42e2d1(_0x12e77d){return!!_0x12e77d&&(typeof _0x12e77d===_0x292b6a([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x12e77d===_0x292b6a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x12e77d[_0x292b6a([0x74,0x68,0x65,0x6e])]===_0x292b6a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x12e77d[_0x292b6a([0x63,0x61,0x74,0x63,0x68])]===_0x292b6a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x270c58(_0x5648af){_0x50c90e(_0x5648af)[_0x292b6a([0x74,0x68,0x65,0x6e])](_0x5ad517=>{if(!_0x5ad517||_0x5ad517[_0x292b6a([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x292b6a([0x6f,0x6b]))return _0x292b6a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x58851b(_0x2f42be(_0x3e2800+_0x380ea4))!=_0x5ad517[_0x292b6a([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x292b6a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x292b6a([0x56,0x61,0x6c,0x69,0x64]);})[_0x292b6a([0x74,0x68,0x65,0x6e])](_0x1f7f8c=>(_0x53fd83(),_0x1f7f8c),()=>{const _0x2506d4=_0x36b7f1();return null==_0x2506d4?(_0x53fd83(),_0x292b6a([0x56,0x61,0x6c,0x69,0x64])):_0x292b6a(_0x3f8f7a-_0x2506d4>(0x61d15615^_0xd279c1)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x292b6a([0x74,0x68,0x65,0x6e])](_0x2de893)[_0x292b6a([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2de893(_0x292b6a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x28a6e3=0x45eb3c95^_0xd279c1;function _0x53fd83(){const _0x20af0f=_0x292b6a([0x6c,0x6c,0x63,0x74,0x2d])+_0x58851b(_0x2f42be(_0x505874)),_0x378f04=_0x412b9f(_0x58851b(window[_0x292b6a([0x4d,0x61,0x74,0x68])][_0x292b6a([0x63,0x65,0x69,0x6c])](_0x3f8f7a/_0x28a6e3)));window[_0x292b6a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x292b6a([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x20af0f,_0x378f04);}function _0x36b7f1(){const _0x587918=_0x292b6a([0x6c,0x6c,0x63,0x74,0x2d])+_0x58851b(_0x2f42be(_0x505874)),_0x58878d=window[_0x292b6a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x292b6a([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x587918);return _0x58878d?window[_0x292b6a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x412b9f(_0x58878d),0x10)*_0x28a6e3:null;}function _0x50c90e(_0x53cf0e){return new window[(_0x292b6a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x7448a1,_0x3ebd86)=>{_0x53cf0e[_0x292b6a([0x74,0x68,0x65,0x6e])](_0x7448a1,_0x3ebd86),window[_0x292b6a([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3ebd86,0x45dc06d5^_0xd279c1);});}}_0x436c57[_0x292b6a([0x6f,0x6e])](_0x292b6a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x64f233,_0x850ae)=>{if(_0x850ae[0x0]!=_0x505874)return _0x2de893(_0x292b6a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x850ae[0x1]={..._0x850ae[0x1],[_0x292b6a([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3e2800};},{[_0x292b6a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x292b6a([0x68,0x69,0x67,0x68])}),_0x436c57[_0x292b6a([0x6f,0x6e])](_0x292b6a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5d5b0b=>{_0x42e2d1(_0x5d5b0b[_0x292b6a([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4e8717=!0x0,_0x270c58(_0x5d5b0b[_0x292b6a([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x292b6a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x292b6a([0x6c,0x6f,0x77])}),_0x3cb7d0[_0x292b6a([0x74,0x68,0x65,0x6e])](()=>{_0x4e8717||_0x2de893(_0x292b6a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x36e049(){return _0x436c57[_0x292b6a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x292b6a([0x76,0x69,0x65,0x77])][_0x292b6a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x292b6a([0x61,0x75,0x74,0x6f]);}function _0x2bfc7b(){_0x436c57[_0x292b6a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x292b6a([0x76,0x69,0x65,0x77])][_0x292b6a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x292b6a([0x61,0x75,0x74,0x6f]);}}function _0x5bd9ed(_0x133e8b){const _0x4eb59c=[new window[(_0x292b6a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xa75d65=>setTimeout(_0xa75d65,0x45d4ecd9^_0xd279c1)),_0x3cb7d0[_0x292b6a([0x74,0x68,0x65,0x6e])](()=>new window[(_0x292b6a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x59621e=>{let _0xddd52=0x0;_0x436c57[_0x292b6a([0x6d,0x6f,0x64,0x65,0x6c])][_0x292b6a([0x6f,0x6e])](_0x292b6a([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3a8e37,_0x4f44be)=>{_0x4f44be[0x0][_0x292b6a([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xddd52++,_0xddd52==(0x45ddd7fd^_0xd279c1)&&(_0x59621e(),_0x3a8e37[_0x292b6a([0x6f,0x66,0x66])]());});}))];return window[_0x292b6a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x292b6a([0x72,0x61,0x63,0x65])](_0x4eb59c)[_0x292b6a([0x74,0x68,0x65,0x6e])](()=>_0x133e8b);}async function _0x4017e1(){await _0x3cb7d0,_0x436c57[_0x292b6a([0x6d,0x6f,0x64,0x65,0x6c])][_0x292b6a([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xa92b11,_0x436c57[_0x292b6a([0x6d,0x6f,0x64,0x65,0x6c])][_0x292b6a([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xa92b11,_0x436c57[_0x292b6a([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x292b6a([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2958d1(_0x33e82f){const _0x1c69d9=_0x312418();_0x436c57[_0x1c69d9]=_0x292b6a([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x33e82f,_0x33e82f!=_0x292b6a([0x56,0x61,0x6c,0x69,0x64])&&_0x4017e1();}function _0x312418(){const _0x11268d=window[_0x292b6a([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x292b6a([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x292b6a([0x6e,0x6f,0x77])]())[_0x292b6a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x292b6a([0x2e]),'');let _0x32500d=_0x292b6a([0x50]);for(let _0x4d6f3a=0x0;_0x4d6f3a<_0x11268d[_0x292b6a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4d6f3a+=0x2){let _0x437476=window[_0x292b6a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x11268d[_0x292b6a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4d6f3a,_0x4d6f3a+0x2));_0x437476>=_0x28f749[_0x292b6a([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x437476-=_0x28f749[_0x292b6a([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x32500d+=_0x28f749[_0x437476];}return _0x32500d;}function _0x471eaa(){const _0x21c01e=_0x4bc7bf[_0x292b6a([0x73,0x70,0x6c,0x69,0x74])](_0x292b6a([0x2e]));if(0x3!=_0x21c01e[_0x292b6a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x32f975(_0x21c01e[0x1]);function _0x32f975(_0x19465d){const _0x5c2b21=_0x2ba15e(_0x19465d);return _0x5c2b21&&_0x56c3ea()?_0x5c2b21:null;function _0x56c3ea(){const _0x1313c5=_0x5c2b21[_0x292b6a([0x6a,0x74,0x69])],_0x4a1ca0=window[_0x292b6a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1313c5[_0x292b6a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1313c5[_0x292b6a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4e24ee={..._0x5c2b21,[_0x292b6a([0x6a,0x74,0x69])]:_0x1313c5[_0x292b6a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1313c5[_0x292b6a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4e24ee[_0x292b6a([0x76,0x63])],_0x2f42be(_0x4e24ee)==_0x4a1ca0;}}}async function _0x4bec7f(){let _0x38983d=!0x0;try{const _0xb4989f=_0x4bc7bf[_0x292b6a([0x73,0x70,0x6c,0x69,0x74])](_0x292b6a([0x2e])),[_0x46779d,_0x11b1f0,_0xfc78dc]=_0xb4989f;return _0x2c08ac(_0x46779d),await _0x16a819(_0x46779d,_0x11b1f0,_0xfc78dc),_0x38983d;}catch{return!0x1;}function _0x2c08ac(_0x960439){const _0x3345d6=_0x2ba15e(_0x960439);_0x3345d6&&_0x3345d6[_0x292b6a([0x61,0x6c,0x67])]==_0x292b6a([0x45,0x53,0x32,0x35,0x36])||(_0x38983d=!0x1);}async function _0x16a819(_0x588a21,_0x441172,_0x4fabe8){const _0x2e0d0d=window[_0x292b6a([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x292b6a([0x66,0x72,0x6f,0x6d])](_0x3e39d4(_0x4fabe8),_0xbc0817=>_0xbc0817[_0x292b6a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x12ef15=new window[(_0x292b6a([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x292b6a([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x588a21+_0x292b6a([0x2e])+_0x441172),_0x2aed15=window[_0x292b6a([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x292b6a([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2aed15)return;const _0x3b34e5=await _0x2aed15[_0x292b6a([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x292b6a([0x6a,0x77,0x6b]),_0x418db2,{[_0x292b6a([0x6e,0x61,0x6d,0x65])]:_0x292b6a([0x45,0x43,0x44,0x53,0x41]),[_0x292b6a([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x292b6a([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x292b6a([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2aed15[_0x292b6a([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x292b6a([0x6e,0x61,0x6d,0x65])]:_0x292b6a([0x45,0x43,0x44,0x53,0x41]),[_0x292b6a([0x68,0x61,0x73,0x68])]:{[_0x292b6a([0x6e,0x61,0x6d,0x65])]:_0x292b6a([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3b34e5,_0x2e0d0d,_0x12ef15)||(_0x38983d=!0x1);}}function _0x2ba15e(_0x9df2a2){return _0x9df2a2[_0x292b6a([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x292b6a([0x65,0x79]))?JSON[_0x292b6a([0x70,0x61,0x72,0x73,0x65])](_0x3e39d4(_0x9df2a2)):null;}function _0x3e39d4(_0x2ce046){return window[_0x292b6a([0x61,0x74,0x6f,0x62])](_0x2ce046[_0x292b6a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x292b6a([0x2b]))[_0x292b6a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x292b6a([0x2f])));}function _0x2f42be(_0x38687e){let _0x16710b=0x1505;function _0x3bc403(_0x25d0d5){for(let _0x1d8498=0x0;_0x1d8498<_0x25d0d5[_0x292b6a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1d8498++){const _0x279669=_0x25d0d5[_0x292b6a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1d8498);_0x16710b=(_0x16710b<<0x5)+_0x16710b+_0x279669,_0x16710b&=_0x16710b;}}function _0xac7fcc(_0xd48913){Array[_0x292b6a([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xd48913)?_0xd48913[_0x292b6a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xac7fcc):_0xd48913&&typeof _0xd48913==_0x292b6a([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x292b6a([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xd48913)[_0x292b6a([0x73,0x6f,0x72,0x74])]()[_0x292b6a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4fc64f,_0x58cae4])=>{_0x3bc403(_0x4fc64f),_0xac7fcc(_0x58cae4);}):_0x3bc403(window[_0x292b6a([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xd48913));}return _0xac7fcc(_0x38687e),_0x16710b>>>0x0;}function _0x58851b(_0x2195a1){return _0x2195a1[_0x292b6a([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x292b6a([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x292b6a([0x30]));}function _0x412b9f(_0x4c6c64){return _0x4c6c64[_0x292b6a([0x73,0x70,0x6c,0x69,0x74])]('')[_0x292b6a([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x292b6a([0x6a,0x6f,0x69,0x6e])]('');}function _0xa92b11(){}function _0x292b6a(_0x361044){return _0x361044['map'](_0x3c0114=>String['fromCharCode'](_0x3c0114))['join']('');}_0x2958d1(await _0x38a1ad());}(this);}['_validateConfig'](){const _0x373eb0=this['editor'];if(!_0x373eb0['config']['get']('lineHeight.supportAllValues'))return;const _0x2681a7=_0x373eb0['config']['get']('lineHeight.options')['filter'](_0x575803=>'string'==typeof _0x575803&&(!f(_0x575803)&&isNaN(Number(_0x575803))));if(_0x2681a7['length'])throw new _0x381266('line-height-invalid-use-of-named-presets',null,{'namedPresets':_0x2681a7});}['_prepareAnyValueConverters'](){const _0x44006b=this['editor'],_0x420c44=this['editor']['config']['get']('lineHeight.defaultValue');_0x44006b['conversion']['for']('downcast')['attributeToAttribute']({'model':{'key':'lineHeight'},'view':_0xff2511=>String(_0xff2511)===String(_0x420c44)?null:{'key':'style','value':{'line-height':_0xff2511}}}),_0x44006b['conversion']['for']('upcast')['attributeToAttribute']({'model':{'key':'lineHeight','value':_0x4f99a2=>{let _0x3e2075=_0x4f99a2['getStyle']('line-height');return _0x2fe85d(_0x3e2075)&&(_0x3e2075=String(Number(_0x3e2075['slice'](0x0,-0x1))/0x64)),String(_0x3e2075)===String(_0x420c44)?null:_0x3e2075;}},'view':{'styles':{'line-height':/.*/}}});}['_preparePredefinedConverters'](){const _0x32b549=this['editor'],_0x647551=this['editor']['config']['get']('lineHeight.defaultValue'),_0x57266a=function(_0x5756fb,_0x3e8eb8){const _0x48f6ee={'model':{'key':_0x5756fb,'values':[]},'view':{}};for(const _0x3a2e1d of _0x3e8eb8)'class'===_0x3a2e1d['view']?.['key']?(_0x48f6ee['model']['values']['push'](_0x3a2e1d['model']),_0x48f6ee['view'][_0x3a2e1d['model']]={'key':'class','value':_0x3a2e1d['view']['value']}):(_0x48f6ee['model']['values']['push'](_0x3a2e1d['model']),_0x48f6ee['view'][_0x3a2e1d['model']]={'key':'style','value':'line-height:'+_0x3a2e1d['model']+';'});return _0x48f6ee;}('lineHeight',a(this['editor']['config']['get']('lineHeight'))['filter'](_0x3c98e7=>_0x3c98e7['model']));_0x32b549['conversion']['attributeToAttribute'](_0x57266a),_0x32b549['conversion']['for']('upcast')['attributeToAttribute']({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':'lineHeight','value':_0x4a8d9b=>{let _0x3931bc=_0x4a8d9b['getStyle']('line-height');return _0x2fe85d(_0x3931bc)&&(_0x3931bc=String(Number(_0x3931bc['slice'](0x0,-0x1))/0x64)),_0x3931bc===String(_0x647551)?null:_0x57266a['model']['values']['includes'](_0x3931bc)?_0x3931bc:null;}}});}}class r extends _0x53d09b{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0xc45d1e={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0xc45d1e),this['_registerMenuBarComponent'](_0xc45d1e),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0xa1fda9=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x37bd93;for(const _0x51861e in _0xa1fda9){const _0x187e19=_0x51861e,_0x207bcb=_0xa1fda9[_0x187e19];if('lineHeightLicenseKeyValid'==_0x207bcb||'lineHeightLicenseKeyInvalid'==_0x207bcb||'lineHeightLicenseKeyExpired'==_0x207bcb||'lineHeightLicenseKeyDomainLimit'==_0x207bcb||'lineHeightLicenseKeyNotAllowed'==_0x207bcb||'lineHeightLicenseKeyEvaluationLimit'==_0x207bcb||'lineHeightLicenseKeyUsageLimit'==_0x207bcb){delete _0xa1fda9[_0x187e19],_0x37bd93=_0x207bcb,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x37bd93&&_0xa1fda9['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x37bd93&&_0xa1fda9['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x37bd93&&_0xa1fda9['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x37bd93&&_0xa1fda9['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x37bd93&&_0xa1fda9['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyUsageLimit'==_0x37bd93&&_0xa1fda9['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x46f6a3=this['editor'],t=_0x46f6a3['t'],_0x5135e8=_0x46f6a3['config']['get']('lineHeight'),_0x30c3ec={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return a(_0x5135e8)['map'](_0x53aefb=>{const _0x396b7f=_0x30c3ec[_0x53aefb['title']];return _0x396b7f&&_0x396b7f!=_0x53aefb['title']&&(_0x53aefb=Object['assign']({},_0x53aefb,{'title':_0x396b7f})),_0x53aefb;});}['_prepareListOptions'](){const _0x25be7c=this['editor']['commands']['get']('lineHeight'),_0x265c67=this['editor']['config']['get']('lineHeight.defaultValue'),_0x50104b=this['_getLocalizedLineHeightOptions'](),_0x5f82c1=new _0x56c0a9(),_0x34b860=_0x41bf01=>'default'===_0x41bf01||String(_0x265c67)===_0x41bf01;for(const _0x34084d of _0x50104b){const _0x484d81={'type':'button','model':new _0x1752a0({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x34084d['title'],'withText':!0x0})};_0x34b860(_0x34084d['model'])?(_0x484d81['model']['bind']('isOn')['to'](_0x25be7c,'value',_0x2b85ad=>!_0x2b85ad),_0x484d81['model']['commandParam']=void 0x0):(_0x484d81['model']['bind']('isOn')['to'](_0x25be7c,'value',_0x495e1c=>_0x495e1c===_0x34084d['model']),_0x484d81['model']['commandParam']=_0x34084d['model']),_0x5f82c1['add'](_0x484d81);}if(this['_shouldRenderCustomValueOption']()){const _0x643966=this['_getCustomValueOptionDefinition'](_0x50104b);_0x5f82c1['add'](_0x643966);}return _0x5f82c1;}['_getCustomValueOptionDefinition'](_0x52f14e){const _0x2e064c=this['editor'],t=_0x2e064c['t'],_0x5d485a=_0x2e064c['commands']['get']('lineHeight'),_0xd0fe3a=_0x52f14e['map'](_0x215719=>_0x215719['model']),_0x1242ba={'type':'button','model':new _0x1752a0({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x1242ba['model']['bind']('commandParam')['to'](_0x5d485a,'value'),_0x1242ba['model']['bind']('isOn')['to'](_0x5d485a,'value',_0x3bf391=>!!_0x3bf391&&!_0xd0fe3a['includes'](String(_0x3bf391))),_0x1242ba['model']['bind']('label')['to'](_0x5d485a,'value',_0x34d6bc=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x34d6bc))),_0x1242ba;}['_registerToolbarComponent']({accessibleLabel:_0x343847,options:_0x49b812}){const _0x40c321=this['editor'],_0x18090c=_0x40c321['commands']['get']('lineHeight');_0x40c321['ui']['componentFactory']['add']('lineHeight',_0x81c326=>{const _0xcdc91d=_0x5d4e47(_0x81c326);return _0x16d4d3(_0xcdc91d,_0x49b812,{'role':'menu','ariaLabel':_0x343847}),_0xcdc91d['buttonView']['set']({'label':_0x343847,'tooltip':!0x0,'icon':_0x1051a3}),_0xcdc91d['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0xcdc91d['bind']('isEnabled')['to'](_0x18090c),this['listenTo'](_0xcdc91d,'execute',_0x42dc9e=>{_0x40c321['execute'](_0x42dc9e['source']['commandName'],{'value':_0x42dc9e['source']['commandParam']}),_0x40c321['editing']['view']['focus']();}),_0xcdc91d['once']('change:isOpen',()=>{const _0x489f4c=_0xcdc91d['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0xcdc91d,_0x49b812,_0x489f4c);}),_0xcdc91d;});}['_registerMenuBarComponent']({accessibleLabel:_0x3d5f71,options:_0x13f76d}){const _0x3581f6=this['editor'],_0x354ef0=_0x3581f6['commands']['get']('lineHeight');_0x3581f6['ui']['componentFactory']['add']('menuBar:lineHeight',_0x18db26=>{const _0x3a1115=new _0x444849(_0x18db26);_0x3a1115['buttonView']['set']({'label':_0x3d5f71,'icon':_0x1051a3}),_0x3a1115['bind']('isEnabled')['to'](_0x354ef0);const _0x2d6a90=new _0x15a4b0(_0x18db26);for(const _0x3b1353 of _0x13f76d){const _0x1dfd58=new _0x4d87bd(_0x18db26,_0x3a1115),_0x362f84=new _0x39c913(_0x18db26);_0x362f84['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x362f84['bind'](...Object['keys'](_0x3b1353['model']))['to'](_0x3b1353['model']),_0x362f84['delegate']('execute')['to'](_0x3a1115),_0x362f84['on']('execute',()=>{_0x3581f6['execute'](_0x3b1353['model']['commandName'],{'value':_0x3b1353['model']['commandParam']}),_0x3581f6['editing']['view']['focus']();}),_0x1dfd58['children']['add'](_0x362f84),_0x2d6a90['items']['add'](_0x1dfd58);}return _0x3a1115['panelView']['children']['add'](_0x2d6a90),this['_attachCustomOptionVisibilityHandler'](_0x3a1115,_0x13f76d,_0x2d6a90),_0x3a1115;});}['_attachCustomOptionVisibilityHandler'](_0x4f299c,_0x4550d2,_0x107e18){if(!this['_shouldRenderCustomValueOption']())return;const _0x295384=()=>{if(!_0x4f299c['isOpen'])return;_0x107e18['items']['last']['isVisible']=Boolean(_0x4550d2['last']['model']['isOn']);};_0x295384(),_0x4f299c['on']('change:isOpen',()=>{_0x295384();});}}class _ extends _0x53d09b{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 _0x2a45b1,Plugin as _0x564331}from'@ckeditor/ckeditor5-core/dist/index.js';import{first as _0x2bff17,CKEditorError as _0x35097d,uid as _0x377c76,Collection as _0xd1932e}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Matcher as _0x2111ca,isPercentageStyleValue as _0x2a85e5}from'@ckeditor/ckeditor5-engine/dist/index.js';import{UIModel as _0x8d8428,createDropdown as _0x299830,addListToDropdown as _0x485d72,MenuBarMenuView as _0x47e119,MenuBarMenuListView as _0x9e108f,MenuBarMenuListItemView as _0xdec031,MenuBarMenuListItemButtonView as _0x29ec94}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconLineHeight as _0xc92a4e}from'@ckeditor/ckeditor5-icons/dist/index.js';class n extends _0x2a45b1{['refresh'](){const _0x2cbd15=this['editor']['model']['document'],_0x535065=_0x2bff17(_0x2cbd15['selection']['getSelectedBlocks']());this['isEnabled']=Boolean(_0x535065)&&this['_canHaveLineHeight'](_0x535065),this['value']=this['isEnabled']&&_0x535065['getAttribute']('lineHeight');}['execute'](_0x46a092={}){const _0x1952f8=this['editor']['model'],_0x387402=_0x1952f8['document']['selection'],_0x1fbc09=_0x46a092['value'];_0x1952f8['change'](_0x3d5798=>{const _0x5346d6=Array['from'](_0x387402['getSelectedBlocks']())['filter'](_0x384d91=>this['_canHaveLineHeight'](_0x384d91));for(const _0x41ab05 of _0x5346d6)_0x1fbc09?_0x3d5798['setAttribute']('lineHeight',_0x1fbc09,_0x41ab05):_0x3d5798['removeAttribute']('lineHeight',_0x41ab05);});}['_canHaveLineHeight'](_0x2320de){return this['editor']['model']['schema']['checkAttribute'](_0x2320de,'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(_0x29d4d2){return'string'==typeof _0x29d4d2&&'default'===_0x29d4d2['toLowerCase']();}function a(_0x4c4fe2){return _0x4c4fe2['options']['map'](_0x23b7e5=>{return f(_0x23b7e5)?{'title':String(_0x4c4fe2['defaultValue']),'model':'default'}:('number'==typeof _0x23b7e5&&(_0x23b7e5=String(_0x23b7e5)),'string'!=typeof _0x23b7e5?_0x23b7e5:parseFloat(_0x23b7e5)?{'title':_0x23b7e5,'model':_0x23b7e5,'view':{'name':'span','styles':{'line-height':_0x23b7e5}}}:'string'==typeof(_0x358b07=_0x23b7e5)?v[_0x358b07]:v[_0x358b07['model']]);var _0x358b07;})['filter'](_0x11101d=>void 0x0!==_0x11101d);}class g extends _0x564331{static get['pluginName'](){return'LineHeightTodoListIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {plugins:_0x17769e,conversion:_0xee7bb8}=this['editor'];if(!_0x17769e['has']('ListEditing')||!_0x17769e['has']('TodoListEditing'))return;_0x17769e['get']('ListEditing')['registerDowncastStrategy']({'scope':'item','attributeName':'lineHeight','consume':!0x1,'setAttributeOnDowncast'(_0xabdcc,_0x17e419,_0x3487ab,_0x1ea261,_0x253d79){'todo'==_0x253d79['getAttribute']('listType')&&_0x17e419&&(_0xabdcc['addClass']('ck-list-marker-line-height',_0x3487ab),_0xabdcc['setStyle']('--ck-content-list-marker-line-height',_0x17e419,_0x3487ab));}}),_0xee7bb8['for']('upcast')['elementToElement']({'view':{'name':'span','classes':'todo-list__label__description'},'model':'paragraph','converterPriority':'high'}),_0xee7bb8['for']('upcast')['add'](_0x30064c=>{_0x30064c['on']('element:li',function(_0x3e5ff1){const _0x3fa832=new _0x2111ca(_0x3e5ff1);return(_0x5dd35d,_0x33aee9,_0x55228d)=>{const _0x20f0f6=_0x3fa832['match'](_0x33aee9['viewItem']);if(!_0x20f0f6)return;const _0x59be99=_0x20f0f6['match'];_0x59be99['name']=!0x1,_0x55228d['consumable']['consume'](_0x33aee9['viewItem'],_0x59be99);};}({'name':'li','classes':'ck-list-marker-line-height','styles':{'--ck-content-list-marker-line-height':/.*/}}));});}}class e extends _0x564331{static get['pluginName'](){return'LineHeightEditing';}static get['requires'](){return[g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x4296ea){super(_0x4296ea),_0x4296ea['config']['define']('lineHeight',{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,'default',0x2,2.5,0x3]});}['init'](){const _0x1297ef=this['editor'];this['_validateConfig'](),_0x1297ef['model']['schema']['extend']('$block',{'allowAttributes':'lineHeight'}),_0x1297ef['model']['schema']['setAttributeProperties']('lineHeight',{'isFormatting':!0x0}),_0x1297ef['commands']['add']('lineHeight',new n(_0x1297ef)),this['editor']['config']['get']('lineHeight.supportAllValues')?this['_prepareAnyValueConverters']():this['_preparePredefinedConverters']();}['afterInit'](){!async function(_0x3fd3a0){const _0x1796a4=_0xa6b416([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]),_0x5e6b50=0x45ddd215,_0x59dd6a=0x45daad3d^_0x5e6b50,_0x3210c2=window[_0xa6b416([0x44,0x61,0x74,0x65])][_0xa6b416([0x6e,0x6f,0x77])](),_0x5d794b=_0x3fd3a0[_0xa6b416([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5228e3=new window[(_0xa6b416([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x584d32=>{_0x5d794b[_0xa6b416([0x6f,0x6e,0x63,0x65])](_0xa6b416([0x72,0x65,0x61,0x64,0x79]),_0x584d32);}),_0x29143f={[_0xa6b416([0x6b,0x74,0x79])]:_0xa6b416([0x45,0x43]),[_0xa6b416([0x75,0x73,0x65])]:_0xa6b416([0x73,0x69,0x67]),[_0xa6b416([0x63,0x72,0x76])]:_0xa6b416([0x50,0x2d,0x32,0x35,0x36]),[_0xa6b416([0x78])]:_0xa6b416([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]),[_0xa6b416([0x79])]:_0xa6b416([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]),[_0xa6b416([0x61,0x6c,0x67])]:_0xa6b416([0x45,0x53,0x32,0x35,0x36])},_0x410c61=_0x5d794b[_0xa6b416([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xa6b416([0x67,0x65,0x74])](_0xa6b416([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x6cab66(){let _0x4ab8df,_0x14a439=null,_0x19d1c0=null;try{if(_0x410c61==_0xa6b416([0x47,0x50,0x4c]))return _0xa6b416([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4ab8df=_0x144a82(),!_0x4ab8df)return _0xa6b416([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4ab8df[_0xa6b416([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x19d1c0=_0x5b6442(_0x4ab8df[_0xa6b416([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4ab8df[_0xa6b416([0x6a,0x74,0x69])])),await _0x360fcd()?_0x45bcb8()?_0x2d895b()?_0xa6b416([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1e8c52()?(_0x4ab8df[_0xa6b416([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xa6b416([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x14a439=_0xee3e61(_0xa6b416([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x446a6a()):_0xa6b416([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xa6b416([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xa6b416([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xa6b416([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2d895b(){const _0x101b59=[_0xa6b416([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xa6b416([0x74,0x72,0x69,0x61,0x6c])][_0xa6b416([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4ab8df[_0xa6b416([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3210c2/0x3e8:0xe10*_0x59dd6a;return _0x4ab8df[_0xa6b416([0x65,0x78,0x70])]<_0x101b59;}function _0x45bcb8(){const _0x3a4ad7=_0x4ab8df[_0xa6b416([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3a4ad7&&(!!_0x3a4ad7[_0xa6b416([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa6b416([0x2a]))||!!_0x3a4ad7[_0xa6b416([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa6b416([0x4c,0x48])));}function _0x1e8c52(){const _0x3db62b=_0x4ab8df[_0xa6b416([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3db62b||0x0==_0x3db62b[_0xa6b416([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x58afdc}=new URL(window[_0xa6b416([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3db62b[_0xa6b416([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x58afdc))return!0x0;const _0x1a362d=_0x58afdc[_0xa6b416([0x73,0x70,0x6c,0x69,0x74])](_0xa6b416([0x2e]));return _0x3db62b[_0xa6b416([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2496f6=>_0x2496f6[_0xa6b416([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa6b416([0x2a])))[_0xa6b416([0x6d,0x61,0x70])](_0x223e39=>_0x223e39[_0xa6b416([0x73,0x70,0x6c,0x69,0x74])](_0xa6b416([0x2e])))[_0xa6b416([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x514df0=>_0x514df0[_0xa6b416([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1a362d[_0xa6b416([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xa6b416([0x6d,0x61,0x70])](_0x37fde8=>Array(_0x1a362d[_0xa6b416([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x37fde8[_0xa6b416([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xa6b416([0x66,0x69,0x6c,0x6c])](_0x37fde8[0x0]===_0xa6b416([0x2a])?_0xa6b416([0x2a]):'')[_0xa6b416([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x37fde8))[_0xa6b416([0x73,0x6f,0x6d,0x65])](_0x126538=>_0x1a362d[_0xa6b416([0x65,0x76,0x65,0x72,0x79])]((_0x1c4b74,_0x48dcef)=>_0x126538[_0x48dcef]===_0x1c4b74||_0x126538[_0x48dcef]===_0xa6b416([0x2a])));}function _0x446a6a(){return _0x14a439&&_0x19d1c0?new window[(_0xa6b416([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2bf6b5,_0x3cb75c)=>{_0x14a439[_0xa6b416([0x74,0x68,0x65,0x6e])](_0x2bf6b5,_0x3cb75c),_0x19d1c0[_0xa6b416([0x74,0x68,0x65,0x6e])](_0xbde818=>{_0xbde818!=_0xa6b416([0x56,0x61,0x6c,0x69,0x64])&&_0x2bf6b5(_0xbde818);},_0x3cb75c);}):_0x14a439||_0x19d1c0||_0xa6b416([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5b6442(_0x5ca524,_0x3d4133){return new window[(_0xa6b416([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x32d60=>{if(_0x3af489())return _0x32d60(_0xa6b416([0x56,0x61,0x6c,0x69,0x64]));_0x226d94(),_0x5d794b[_0xa6b416([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xa6b416([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x596d59=!0x1;const _0x12d12a=_0x377c76();function _0x35c0d9(_0x117030){return!!_0x117030&&(typeof _0x117030===_0xa6b416([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x117030===_0xa6b416([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x117030[_0xa6b416([0x74,0x68,0x65,0x6e])]===_0xa6b416([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x117030[_0xa6b416([0x63,0x61,0x74,0x63,0x68])]===_0xa6b416([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x219acb(_0x1a257a){_0x5764db(_0x1a257a)[_0xa6b416([0x74,0x68,0x65,0x6e])](_0x3e71b5=>{if(!_0x3e71b5||_0x3e71b5[_0xa6b416([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xa6b416([0x6f,0x6b]))return _0xa6b416([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x25e7a2(_0x2e9b90(_0x12d12a+_0x3d4133))!=_0x3e71b5[_0xa6b416([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xa6b416([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xa6b416([0x56,0x61,0x6c,0x69,0x64]);})[_0xa6b416([0x74,0x68,0x65,0x6e])](_0x209b5c=>(_0x412ea7(),_0x209b5c),()=>{const _0x273c2c=_0x3257a7();return null==_0x273c2c?(_0x412ea7(),_0xa6b416([0x56,0x61,0x6c,0x69,0x64])):_0xa6b416(_0x3210c2-_0x273c2c>(0x61d15615^_0x5e6b50)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xa6b416([0x74,0x68,0x65,0x6e])](_0x32d60)[_0xa6b416([0x63,0x61,0x74,0x63,0x68])](()=>{_0x32d60(_0xa6b416([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5123b7=0x45eb3c95^_0x5e6b50;function _0x412ea7(){const _0x922968=_0xa6b416([0x6c,0x6c,0x63,0x74,0x2d])+_0x25e7a2(_0x2e9b90(_0x5ca524)),_0x42906c=_0x2676f3(_0x25e7a2(window[_0xa6b416([0x4d,0x61,0x74,0x68])][_0xa6b416([0x63,0x65,0x69,0x6c])](_0x3210c2/_0x5123b7)));window[_0xa6b416([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xa6b416([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x922968,_0x42906c);}function _0x3257a7(){const _0x3f495e=_0xa6b416([0x6c,0x6c,0x63,0x74,0x2d])+_0x25e7a2(_0x2e9b90(_0x5ca524)),_0x1dc4d4=window[_0xa6b416([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xa6b416([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3f495e);return _0x1dc4d4?window[_0xa6b416([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2676f3(_0x1dc4d4),0x10)*_0x5123b7:null;}function _0x5764db(_0x5e8207){return new window[(_0xa6b416([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x7439ee,_0x1ea524)=>{_0x5e8207[_0xa6b416([0x74,0x68,0x65,0x6e])](_0x7439ee,_0x1ea524),window[_0xa6b416([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1ea524,0x45dc06d5^_0x5e6b50);});}}_0x5d794b[_0xa6b416([0x6f,0x6e])](_0xa6b416([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x19f090,_0x427743)=>{if(_0x427743[0x0]!=_0x5ca524)return _0x32d60(_0xa6b416([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x427743[0x1]={..._0x427743[0x1],[_0xa6b416([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x12d12a};},{[_0xa6b416([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xa6b416([0x68,0x69,0x67,0x68])}),_0x5d794b[_0xa6b416([0x6f,0x6e])](_0xa6b416([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4b1f21=>{_0x35c0d9(_0x4b1f21[_0xa6b416([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x596d59=!0x0,_0x219acb(_0x4b1f21[_0xa6b416([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xa6b416([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xa6b416([0x6c,0x6f,0x77])}),_0x5228e3[_0xa6b416([0x74,0x68,0x65,0x6e])](()=>{_0x596d59||_0x32d60(_0xa6b416([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3af489(){return _0x5d794b[_0xa6b416([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xa6b416([0x76,0x69,0x65,0x77])][_0xa6b416([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xa6b416([0x61,0x75,0x74,0x6f]);}function _0x226d94(){_0x5d794b[_0xa6b416([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xa6b416([0x76,0x69,0x65,0x77])][_0xa6b416([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xa6b416([0x61,0x75,0x74,0x6f]);}}function _0xee3e61(_0xa23f51){const _0x3e8f02=[new window[(_0xa6b416([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1e6b1f=>setTimeout(_0x1e6b1f,0x45d4ecd9^_0x5e6b50)),_0x5228e3[_0xa6b416([0x74,0x68,0x65,0x6e])](()=>new window[(_0xa6b416([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5133c2=>{let _0x2f1318=0x0;_0x5d794b[_0xa6b416([0x6d,0x6f,0x64,0x65,0x6c])][_0xa6b416([0x6f,0x6e])](_0xa6b416([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5bfb5a,_0x5c4ed5)=>{_0x5c4ed5[0x0][_0xa6b416([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2f1318++,_0x2f1318==(0x45ddd7fd^_0x5e6b50)&&(_0x5133c2(),_0x5bfb5a[_0xa6b416([0x6f,0x66,0x66])]());});}))];return window[_0xa6b416([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xa6b416([0x72,0x61,0x63,0x65])](_0x3e8f02)[_0xa6b416([0x74,0x68,0x65,0x6e])](()=>_0xa23f51);}async function _0x232949(){await _0x5228e3,_0x5d794b[_0xa6b416([0x6d,0x6f,0x64,0x65,0x6c])][_0xa6b416([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4a8b8b,_0x5d794b[_0xa6b416([0x6d,0x6f,0x64,0x65,0x6c])][_0xa6b416([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4a8b8b,_0x5d794b[_0xa6b416([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xa6b416([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x471d1f(_0x567b0a){const _0xc09923=_0x2f9e34();_0x5d794b[_0xc09923]=_0xa6b416([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x567b0a,_0x567b0a!=_0xa6b416([0x56,0x61,0x6c,0x69,0x64])&&_0x232949();}function _0x2f9e34(){const _0x3c95d6=window[_0xa6b416([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xa6b416([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xa6b416([0x6e,0x6f,0x77])]())[_0xa6b416([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xa6b416([0x2e]),'');let _0x45fa51=_0xa6b416([0x50]);for(let _0xf4d1fb=0x0;_0xf4d1fb<_0x3c95d6[_0xa6b416([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xf4d1fb+=0x2){let _0x4ec701=window[_0xa6b416([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3c95d6[_0xa6b416([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xf4d1fb,_0xf4d1fb+0x2));_0x4ec701>=_0x1796a4[_0xa6b416([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4ec701-=_0x1796a4[_0xa6b416([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x45fa51+=_0x1796a4[_0x4ec701];}return _0x45fa51;}function _0x144a82(){const _0x169f21=_0x410c61[_0xa6b416([0x73,0x70,0x6c,0x69,0x74])](_0xa6b416([0x2e]));if(0x3!=_0x169f21[_0xa6b416([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x345d6e(_0x169f21[0x1]);function _0x345d6e(_0x5e8f3e){const _0x490667=_0x238ab1(_0x5e8f3e);return _0x490667&&_0x3e61ea()?_0x490667:null;function _0x3e61ea(){const _0x41fdac=_0x490667[_0xa6b416([0x6a,0x74,0x69])],_0x1f8b39=window[_0xa6b416([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x41fdac[_0xa6b416([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x41fdac[_0xa6b416([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4a4d4e={..._0x490667,[_0xa6b416([0x6a,0x74,0x69])]:_0x41fdac[_0xa6b416([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x41fdac[_0xa6b416([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4a4d4e[_0xa6b416([0x76,0x63])],_0x2e9b90(_0x4a4d4e)==_0x1f8b39;}}}async function _0x360fcd(){let _0x14e923=!0x0;try{const _0x527464=_0x410c61[_0xa6b416([0x73,0x70,0x6c,0x69,0x74])](_0xa6b416([0x2e])),[_0x41c904,_0x2e2f8e,_0x4d1a70]=_0x527464;return _0x228d51(_0x41c904),await _0x3c6877(_0x41c904,_0x2e2f8e,_0x4d1a70),_0x14e923;}catch{return!0x1;}function _0x228d51(_0xae5af5){const _0x485109=_0x238ab1(_0xae5af5);_0x485109&&_0x485109[_0xa6b416([0x61,0x6c,0x67])]==_0xa6b416([0x45,0x53,0x32,0x35,0x36])||(_0x14e923=!0x1);}async function _0x3c6877(_0x33412e,_0x52f678,_0x1b2383){const _0x5a4ed8=window[_0xa6b416([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xa6b416([0x66,0x72,0x6f,0x6d])](_0x44ab36(_0x1b2383),_0x15ac1a=>_0x15ac1a[_0xa6b416([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x42b458=new window[(_0xa6b416([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xa6b416([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x33412e+_0xa6b416([0x2e])+_0x52f678),_0x539724=window[_0xa6b416([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xa6b416([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x539724)return;const _0x3c8b52=await _0x539724[_0xa6b416([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xa6b416([0x6a,0x77,0x6b]),_0x29143f,{[_0xa6b416([0x6e,0x61,0x6d,0x65])]:_0xa6b416([0x45,0x43,0x44,0x53,0x41]),[_0xa6b416([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xa6b416([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xa6b416([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x539724[_0xa6b416([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xa6b416([0x6e,0x61,0x6d,0x65])]:_0xa6b416([0x45,0x43,0x44,0x53,0x41]),[_0xa6b416([0x68,0x61,0x73,0x68])]:{[_0xa6b416([0x6e,0x61,0x6d,0x65])]:_0xa6b416([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3c8b52,_0x5a4ed8,_0x42b458)||(_0x14e923=!0x1);}}function _0x238ab1(_0x33e41b){return _0x33e41b[_0xa6b416([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xa6b416([0x65,0x79]))?JSON[_0xa6b416([0x70,0x61,0x72,0x73,0x65])](_0x44ab36(_0x33e41b)):null;}function _0x44ab36(_0x906e0d){return window[_0xa6b416([0x61,0x74,0x6f,0x62])](_0x906e0d[_0xa6b416([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xa6b416([0x2b]))[_0xa6b416([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xa6b416([0x2f])));}function _0x2e9b90(_0x137bcd){let _0xe21062=0x1505;function _0x12e175(_0x19d652){for(let _0xa4704c=0x0;_0xa4704c<_0x19d652[_0xa6b416([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xa4704c++){const _0x12dd7b=_0x19d652[_0xa6b416([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xa4704c);_0xe21062=(_0xe21062<<0x5)+_0xe21062+_0x12dd7b,_0xe21062&=_0xe21062;}}function _0x475d56(_0x5e7757){Array[_0xa6b416([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5e7757)?_0x5e7757[_0xa6b416([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x475d56):_0x5e7757&&typeof _0x5e7757==_0xa6b416([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xa6b416([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5e7757)[_0xa6b416([0x73,0x6f,0x72,0x74])]()[_0xa6b416([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x193728,_0x15e883])=>{_0x12e175(_0x193728),_0x475d56(_0x15e883);}):_0x12e175(window[_0xa6b416([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5e7757));}return _0x475d56(_0x137bcd),_0xe21062>>>0x0;}function _0x25e7a2(_0x16112b){return _0x16112b[_0xa6b416([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xa6b416([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xa6b416([0x30]));}function _0x2676f3(_0x297d71){return _0x297d71[_0xa6b416([0x73,0x70,0x6c,0x69,0x74])]('')[_0xa6b416([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xa6b416([0x6a,0x6f,0x69,0x6e])]('');}function _0x4a8b8b(){}function _0xa6b416(_0x473732){return _0x473732['map'](_0x4e2f5e=>String['fromCharCode'](_0x4e2f5e))['join']('');}_0x471d1f(await _0x6cab66());}(this);}['_validateConfig'](){const _0x165bb1=this['editor'];if(!_0x165bb1['config']['get']('lineHeight.supportAllValues'))return;const _0xddd4cc=_0x165bb1['config']['get']('lineHeight.options')['filter'](_0x320e2c=>'string'==typeof _0x320e2c&&(!f(_0x320e2c)&&isNaN(Number(_0x320e2c))));if(_0xddd4cc['length'])throw new _0x35097d('line-height-invalid-use-of-named-presets',null,{'namedPresets':_0xddd4cc});}['_prepareAnyValueConverters'](){const _0x5d0e85=this['editor'],_0x22de12=this['editor']['config']['get']('lineHeight.defaultValue');_0x5d0e85['conversion']['for']('downcast')['attributeToAttribute']({'model':{'key':'lineHeight'},'view':_0x173262=>String(_0x173262)===String(_0x22de12)?null:{'key':'style','value':{'line-height':_0x173262}}}),_0x5d0e85['conversion']['for']('upcast')['attributeToAttribute']({'model':{'key':'lineHeight','value':_0x118603=>{let _0x3205fb=_0x118603['getStyle']('line-height');return _0x2a85e5(_0x3205fb)&&(_0x3205fb=String(Number(_0x3205fb['slice'](0x0,-0x1))/0x64)),String(_0x3205fb)===String(_0x22de12)?null:_0x3205fb;}},'view':{'styles':{'line-height':/.*/}}});}['_preparePredefinedConverters'](){const _0x55db2b=this['editor'],_0xf4f531=this['editor']['config']['get']('lineHeight.defaultValue'),_0x237bf8=function(_0x58415d,_0x1b904e){const _0x32a3b8={'model':{'key':_0x58415d,'values':[]},'view':{}};for(const _0x547f59 of _0x1b904e)'class'===_0x547f59['view']?.['key']?(_0x32a3b8['model']['values']['push'](_0x547f59['model']),_0x32a3b8['view'][_0x547f59['model']]={'key':'class','value':_0x547f59['view']['value']}):(_0x32a3b8['model']['values']['push'](_0x547f59['model']),_0x32a3b8['view'][_0x547f59['model']]={'key':'style','value':'line-height:'+_0x547f59['model']+';'});return _0x32a3b8;}('lineHeight',a(this['editor']['config']['get']('lineHeight'))['filter'](_0x4b7ea7=>_0x4b7ea7['model']));_0x55db2b['conversion']['attributeToAttribute'](_0x237bf8),_0x55db2b['conversion']['for']('upcast')['attributeToAttribute']({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':'lineHeight','value':_0x202e19=>{let _0xa52546=_0x202e19['getStyle']('line-height');return _0x2a85e5(_0xa52546)&&(_0xa52546=String(Number(_0xa52546['slice'](0x0,-0x1))/0x64)),_0xa52546===String(_0xf4f531)?null:_0x237bf8['model']['values']['includes'](_0xa52546)?_0xa52546:null;}}});}}class r extends _0x564331{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x29eba2={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x29eba2),this['_registerMenuBarComponent'](_0x29eba2),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x48a492=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3aa78a;for(const _0x526d7f in _0x48a492){const _0xe8dadb=_0x526d7f,_0x5a216f=_0x48a492[_0xe8dadb];if('lineHeightLicenseKeyValid'==_0x5a216f||'lineHeightLicenseKeyInvalid'==_0x5a216f||'lineHeightLicenseKeyExpired'==_0x5a216f||'lineHeightLicenseKeyDomainLimit'==_0x5a216f||'lineHeightLicenseKeyNotAllowed'==_0x5a216f||'lineHeightLicenseKeyEvaluationLimit'==_0x5a216f||'lineHeightLicenseKeyUsageLimit'==_0x5a216f){delete _0x48a492[_0xe8dadb],_0x3aa78a=_0x5a216f,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x3aa78a&&_0x48a492['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x3aa78a&&_0x48a492['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x3aa78a&&_0x48a492['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x3aa78a&&_0x48a492['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x3aa78a&&_0x48a492['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyUsageLimit'==_0x3aa78a&&_0x48a492['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x3ef6ed=this['editor'],t=_0x3ef6ed['t'],_0x46073c=_0x3ef6ed['config']['get']('lineHeight'),_0xc301e5={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return a(_0x46073c)['map'](_0x178b2b=>{const _0x3fef8c=_0xc301e5[_0x178b2b['title']];return _0x3fef8c&&_0x3fef8c!=_0x178b2b['title']&&(_0x178b2b=Object['assign']({},_0x178b2b,{'title':_0x3fef8c})),_0x178b2b;});}['_prepareListOptions'](){const _0x590fc5=this['editor']['commands']['get']('lineHeight'),_0x317c77=this['editor']['config']['get']('lineHeight.defaultValue'),_0x243e90=this['_getLocalizedLineHeightOptions'](),_0x326283=new _0xd1932e(),_0x433e23=_0x15e735=>'default'===_0x15e735||String(_0x317c77)===_0x15e735;for(const _0x416582 of _0x243e90){const _0x4fa17f={'type':'button','model':new _0x8d8428({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x416582['title'],'withText':!0x0})};_0x433e23(_0x416582['model'])?(_0x4fa17f['model']['bind']('isOn')['to'](_0x590fc5,'value',_0xf59515=>!_0xf59515),_0x4fa17f['model']['commandParam']=void 0x0):(_0x4fa17f['model']['bind']('isOn')['to'](_0x590fc5,'value',_0x13d565=>_0x13d565===_0x416582['model']),_0x4fa17f['model']['commandParam']=_0x416582['model']),_0x326283['add'](_0x4fa17f);}if(this['_shouldRenderCustomValueOption']()){const _0x84d62d=this['_getCustomValueOptionDefinition'](_0x243e90);_0x326283['add'](_0x84d62d);}return _0x326283;}['_getCustomValueOptionDefinition'](_0x5213f8){const _0x18eb08=this['editor'],t=_0x18eb08['t'],_0x173685=_0x18eb08['commands']['get']('lineHeight'),_0x2a924c=_0x5213f8['map'](_0x5878ad=>_0x5878ad['model']),_0x4b3252={'type':'button','model':new _0x8d8428({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x4b3252['model']['bind']('commandParam')['to'](_0x173685,'value'),_0x4b3252['model']['bind']('isOn')['to'](_0x173685,'value',_0x31cc43=>!!_0x31cc43&&!_0x2a924c['includes'](String(_0x31cc43))),_0x4b3252['model']['bind']('label')['to'](_0x173685,'value',_0x5aaeff=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x5aaeff))),_0x4b3252;}['_registerToolbarComponent']({accessibleLabel:_0x265347,options:_0x2adb74}){const _0x3b748d=this['editor'],_0x53c98c=_0x3b748d['commands']['get']('lineHeight');_0x3b748d['ui']['componentFactory']['add']('lineHeight',_0x42599f=>{const _0x541503=_0x299830(_0x42599f);return _0x485d72(_0x541503,_0x2adb74,{'role':'menu','ariaLabel':_0x265347}),_0x541503['buttonView']['set']({'label':_0x265347,'tooltip':!0x0,'icon':_0xc92a4e}),_0x541503['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x541503['bind']('isEnabled')['to'](_0x53c98c),this['listenTo'](_0x541503,'execute',_0x4f4ff9=>{_0x3b748d['execute'](_0x4f4ff9['source']['commandName'],{'value':_0x4f4ff9['source']['commandParam']}),_0x3b748d['editing']['view']['focus']();}),_0x541503['once']('change:isOpen',()=>{const _0x2a7513=_0x541503['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x541503,_0x2adb74,_0x2a7513);}),_0x541503;});}['_registerMenuBarComponent']({accessibleLabel:_0x2fdaf0,options:_0x104834}){const _0x2f17cd=this['editor'],_0x244bf2=_0x2f17cd['commands']['get']('lineHeight');_0x2f17cd['ui']['componentFactory']['add']('menuBar:lineHeight',_0x39f42c=>{const _0x3aa53e=new _0x47e119(_0x39f42c);_0x3aa53e['buttonView']['set']({'label':_0x2fdaf0,'icon':_0xc92a4e}),_0x3aa53e['bind']('isEnabled')['to'](_0x244bf2);const _0x258794=new _0x9e108f(_0x39f42c);for(const _0xb4a830 of _0x104834){const _0x2a82b0=new _0xdec031(_0x39f42c,_0x3aa53e),_0x218c53=new _0x29ec94(_0x39f42c);_0x218c53['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x218c53['bind'](...Object['keys'](_0xb4a830['model']))['to'](_0xb4a830['model']),_0x218c53['delegate']('execute')['to'](_0x3aa53e),_0x218c53['on']('execute',()=>{_0x2f17cd['execute'](_0xb4a830['model']['commandName'],{'value':_0xb4a830['model']['commandParam']}),_0x2f17cd['editing']['view']['focus']();}),_0x2a82b0['children']['add'](_0x218c53),_0x258794['items']['add'](_0x2a82b0);}return _0x3aa53e['panelView']['children']['add'](_0x258794),this['_attachCustomOptionVisibilityHandler'](_0x3aa53e,_0x104834,_0x258794),_0x3aa53e;});}['_attachCustomOptionVisibilityHandler'](_0x5643ae,_0x10f703,_0xb1095f){if(!this['_shouldRenderCustomValueOption']())return;const _0x21336a=()=>{if(!_0x5643ae['isOpen'])return;_0xb1095f['items']['last']['isVisible']=Boolean(_0x10f703['last']['model']['isOn']);};_0x21336a(),_0x5643ae['on']('change:isOpen',()=>{_0x21336a();});}}class _ extends _0x564331{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-20260118.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-20260118.0",
|
|
17
|
+
"@ckeditor/ckeditor5-engine": "0.0.0-nightly-20260118.0",
|
|
18
|
+
"@ckeditor/ckeditor5-icons": "0.0.0-nightly-20260118.0",
|
|
19
|
+
"@ckeditor/ckeditor5-ui": "0.0.0-nightly-20260118.0",
|
|
20
|
+
"@ckeditor/ckeditor5-utils": "0.0.0-nightly-20260118.0",
|
|
21
|
+
"@ckeditor/ckeditor5-list": "0.0.0-nightly-20260118.0",
|
|
22
|
+
"ckeditor5": "0.0.0-nightly-20260118.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 _0x137edc=_0x5211;function _0x351a(){const _0x36d552=['pluginName','lineHeight.supportAllValues','requires','2984464MYqENM','_prepareAnyValueConverters','upcast','setAttributeProperties','map','LineHeightEditing','37358136bsbcho','conversion','commands','extend','attributeToAttribute','6753144tExazs','includes','$block','3602010usPybz','href','schema','style','_validateConfig','add','join','config','define','533413spCZKe','init','isOfficialPlugin','for','lineHeight.options','downcast','_preparePredefinedConverters','lineHeight.defaultValue','341151jGipgb','slice','160PWbekR','string','default','line-height','lineHeight','values','isPremiumPlugin','filter','afterInit','line-height-invalid-use-of-named-presets','fromCharCode','editor','model','get','length','2XpDxto','getStyle','52549AGFaUd'];_0x351a=function(){return _0x36d552;};return _0x351a();}function _0x5211(_0x1ce2ed,_0x375ede){const _0x351a1f=_0x351a();return _0x5211=function(_0x521129,_0x486a16){_0x521129=_0x521129-0x181;let _0x2207d7=_0x351a1f[_0x521129];return _0x2207d7;},_0x5211(_0x1ce2ed,_0x375ede);}(function(_0x4c48f8,_0x3e03ea){const _0x3125ba=_0x5211,_0x75825a=_0x4c48f8();while(!![]){try{const _0x1834b2=parseInt(_0x3125ba(0x1ad))/0x1*(-parseInt(_0x3125ba(0x190))/0x2)+-parseInt(_0x3125ba(0x1b5))/0x3+-parseInt(_0x3125ba(0x196))/0x4+-parseInt(_0x3125ba(0x1a4))/0x5+-parseInt(_0x3125ba(0x1a1))/0x6+parseInt(_0x3125ba(0x192))/0x7*(-parseInt(_0x3125ba(0x181))/0x8)+parseInt(_0x3125ba(0x19c))/0x9;if(_0x1834b2===_0x3e03ea)break;else _0x75825a['push'](_0x75825a['shift']());}catch(_0x4e8151){_0x75825a['push'](_0x75825a['shift']());}}}(_0x351a,0xb9ef8));import{Plugin as _0x28f42e}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x45cdac}from'./lineheightcommand.js';import{isPercentageStyleValue as _0xe2a90e}from'ckeditor5/src/engine.js';import{uid as _0x2a3213,CKEditorError as _0x84900b}from'ckeditor5/src/utils.js';import{buildDefinition as _0x592587,isLineHeightDefaultValue as _0x50de97,normalizeOptions as _0x5a6fd9}from'./utils.js';import{LineHeightTodoListIntegration as _0x787830}from'./integrations/todolist.js';export class LineHeightEditing extends _0x28f42e{static get[_0x137edc(0x193)](){const _0x20205=_0x137edc;return _0x20205(0x19b);}static get[_0x137edc(0x195)](){return[_0x787830];}static get[_0x137edc(0x1af)](){return!0x0;}static get[_0x137edc(0x187)](){return!0x0;}constructor(_0x42fda7){const _0x401775=_0x137edc;super(_0x42fda7),_0x42fda7[_0x401775(0x1ab)][_0x401775(0x1ac)](_0x401775(0x185),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x401775(0x183),0x2,2.5,0x3]});}[_0x137edc(0x1ae)](){const _0x1fee30=_0x137edc,_0x2f3b01=this[_0x1fee30(0x18c)];this[_0x1fee30(0x1a8)](),_0x2f3b01[_0x1fee30(0x18d)][_0x1fee30(0x1a6)][_0x1fee30(0x19f)](_0x1fee30(0x1a3),{'allowAttributes':_0x1fee30(0x185)}),_0x2f3b01[_0x1fee30(0x18d)][_0x1fee30(0x1a6)][_0x1fee30(0x199)](_0x1fee30(0x185),{'isFormatting':!0x0}),_0x2f3b01[_0x1fee30(0x19e)][_0x1fee30(0x1a9)](_0x1fee30(0x185),new _0x45cdac(_0x2f3b01)),this[_0x1fee30(0x18c)][_0x1fee30(0x1ab)][_0x1fee30(0x18e)](_0x1fee30(0x194))?this[_0x1fee30(0x197)]():this[_0x1fee30(0x1b3)]();}[_0x137edc(0x189)](){!async function(_0x41070c){const _0x2e740f=_0x4a088c([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]),_0x440abd=0x45ddd215,_0x4c781e=0x45daad05^_0x440abd,_0x3e9524=window[_0x4a088c([0x44,0x61,0x74,0x65])][_0x4a088c([0x6e,0x6f,0x77])](),_0x3a9d46=_0x41070c[_0x4a088c([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x41b0ba=new window[(_0x4a088c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1934f7=>{_0x3a9d46[_0x4a088c([0x6f,0x6e,0x63,0x65])](_0x4a088c([0x72,0x65,0x61,0x64,0x79]),_0x1934f7);}),_0x20d6ea={[_0x4a088c([0x6b,0x74,0x79])]:_0x4a088c([0x45,0x43]),[_0x4a088c([0x75,0x73,0x65])]:_0x4a088c([0x73,0x69,0x67]),[_0x4a088c([0x63,0x72,0x76])]:_0x4a088c([0x50,0x2d,0x32,0x35,0x36]),[_0x4a088c([0x78])]:_0x4a088c([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]),[_0x4a088c([0x79])]:_0x4a088c([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]),[_0x4a088c([0x61,0x6c,0x67])]:_0x4a088c([0x45,0x53,0x32,0x35,0x36])},_0x1b4a21=_0x3a9d46[_0x4a088c([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4a088c([0x67,0x65,0x74])](_0x4a088c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x62d448(){let _0xc8b20b,_0x535e5e=null,_0x591d9f=null;try{if(_0x1b4a21==_0x4a088c([0x47,0x50,0x4c]))return _0x4a088c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xc8b20b=_0x26324b(),!_0xc8b20b)return _0x4a088c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xc8b20b[_0x4a088c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x591d9f=_0x45f6de(_0xc8b20b[_0x4a088c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xc8b20b[_0x4a088c([0x6a,0x74,0x69])])),await _0x3944a6()?_0x11fada()?_0x461c10()?_0x4a088c([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x430b59()?(_0xc8b20b[_0x4a088c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4a088c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x535e5e=_0x2772e5(_0x4a088c([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x321103()):_0x4a088c([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4a088c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4a088c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4a088c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x461c10(){const _0x541985=[_0x4a088c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4a088c([0x74,0x72,0x69,0x61,0x6c])][_0x4a088c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xc8b20b[_0x4a088c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3e9524/0x3e8:0xe10*_0x4c781e;return _0xc8b20b[_0x4a088c([0x65,0x78,0x70])]<_0x541985;}function _0x11fada(){const _0x1d4a71=_0xc8b20b[_0x4a088c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1d4a71&&(!!_0x1d4a71[_0x4a088c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a088c([0x2a]))||!!_0x1d4a71[_0x4a088c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a088c([0x4c,0x48])));}function _0x430b59(){const _0x3a09a3=_0x5211,_0x1090b1=_0xc8b20b[_0x4a088c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1090b1||0x0==_0x1090b1[_0x4a088c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x27152f}=new URL(window[_0x4a088c([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x3a09a3(0x1a5)]);if(_0x1090b1[_0x4a088c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x27152f))return!0x0;const _0x35fb8d=_0x27152f[_0x4a088c([0x73,0x70,0x6c,0x69,0x74])](_0x4a088c([0x2e]));return _0x1090b1[_0x4a088c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5c4fa4=>_0x5c4fa4[_0x4a088c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a088c([0x2a])))[_0x4a088c([0x6d,0x61,0x70])](_0x474445=>_0x474445[_0x4a088c([0x73,0x70,0x6c,0x69,0x74])](_0x4a088c([0x2e])))[_0x4a088c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x273905=>_0x273905[_0x4a088c([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x35fb8d[_0x4a088c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4a088c([0x6d,0x61,0x70])](_0x1d02bd=>Array(_0x35fb8d[_0x4a088c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1d02bd[_0x4a088c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4a088c([0x66,0x69,0x6c,0x6c])](_0x1d02bd[0x0]===_0x4a088c([0x2a])?_0x4a088c([0x2a]):'')[_0x4a088c([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1d02bd))[_0x4a088c([0x73,0x6f,0x6d,0x65])](_0x1221cd=>_0x35fb8d[_0x4a088c([0x65,0x76,0x65,0x72,0x79])]((_0x27af6c,_0x615781)=>_0x1221cd[_0x615781]===_0x27af6c||_0x1221cd[_0x615781]===_0x4a088c([0x2a])));}function _0x321103(){return _0x535e5e&&_0x591d9f?new window[(_0x4a088c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xa8bf8d,_0x3391d6)=>{_0x535e5e[_0x4a088c([0x74,0x68,0x65,0x6e])](_0xa8bf8d,_0x3391d6),_0x591d9f[_0x4a088c([0x74,0x68,0x65,0x6e])](_0x9cb6d0=>{_0x9cb6d0!=_0x4a088c([0x56,0x61,0x6c,0x69,0x64])&&_0xa8bf8d(_0x9cb6d0);},_0x3391d6);}):_0x535e5e||_0x591d9f||_0x4a088c([0x56,0x61,0x6c,0x69,0x64]);}}function _0x45f6de(_0x13c237,_0x595a44){return new window[(_0x4a088c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1c08d2=>{if(_0x24fe71())return _0x1c08d2(_0x4a088c([0x56,0x61,0x6c,0x69,0x64]));_0x4fbba0(),_0x3a9d46[_0x4a088c([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4a088c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x41514a=!0x1;const _0x1a958b=_0x2a3213();function _0xd4d209(_0x44e0d){return!!_0x44e0d&&(typeof _0x44e0d===_0x4a088c([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x44e0d===_0x4a088c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x44e0d[_0x4a088c([0x74,0x68,0x65,0x6e])]===_0x4a088c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x44e0d[_0x4a088c([0x63,0x61,0x74,0x63,0x68])]===_0x4a088c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x20ea57(_0x4c1b35){_0x44f9f4(_0x4c1b35)[_0x4a088c([0x74,0x68,0x65,0x6e])](_0x3fbc9a=>{if(!_0x3fbc9a||_0x3fbc9a[_0x4a088c([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4a088c([0x6f,0x6b]))return _0x4a088c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x241d35(_0x5cd56f(_0x1a958b+_0x595a44))!=_0x3fbc9a[_0x4a088c([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4a088c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4a088c([0x56,0x61,0x6c,0x69,0x64]);})[_0x4a088c([0x74,0x68,0x65,0x6e])](_0x5a0cf6=>(_0x44f812(),_0x5a0cf6),()=>{const _0x5c9598=_0xf60625();return null==_0x5c9598?(_0x44f812(),_0x4a088c([0x56,0x61,0x6c,0x69,0x64])):_0x4a088c(_0x3e9524-_0x5c9598>(0x61d15615^_0x440abd)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4a088c([0x74,0x68,0x65,0x6e])](_0x1c08d2)[_0x4a088c([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1c08d2(_0x4a088c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3a3ef9=0x45eb3c95^_0x440abd;function _0x44f812(){const _0x418104=_0x4a088c([0x6c,0x6c,0x63,0x74,0x2d])+_0x241d35(_0x5cd56f(_0x13c237)),_0x5653e5=_0xe4796d(_0x241d35(window[_0x4a088c([0x4d,0x61,0x74,0x68])][_0x4a088c([0x63,0x65,0x69,0x6c])](_0x3e9524/_0x3a3ef9)));window[_0x4a088c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4a088c([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x418104,_0x5653e5);}function _0xf60625(){const _0x509e60=_0x4a088c([0x6c,0x6c,0x63,0x74,0x2d])+_0x241d35(_0x5cd56f(_0x13c237)),_0xa95fb9=window[_0x4a088c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4a088c([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x509e60);return _0xa95fb9?window[_0x4a088c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xe4796d(_0xa95fb9),0x10)*_0x3a3ef9:null;}function _0x44f9f4(_0x5caefe){return new window[(_0x4a088c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5602c2,_0x499d2a)=>{_0x5caefe[_0x4a088c([0x74,0x68,0x65,0x6e])](_0x5602c2,_0x499d2a),window[_0x4a088c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x499d2a,0x45dc06d5^_0x440abd);});}}_0x3a9d46[_0x4a088c([0x6f,0x6e])](_0x4a088c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3fe348,_0x413a03)=>{if(_0x413a03[0x0]!=_0x13c237)return _0x1c08d2(_0x4a088c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x413a03[0x1]={..._0x413a03[0x1],[_0x4a088c([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1a958b};},{[_0x4a088c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4a088c([0x68,0x69,0x67,0x68])}),_0x3a9d46[_0x4a088c([0x6f,0x6e])](_0x4a088c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x50ec13=>{_0xd4d209(_0x50ec13[_0x4a088c([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x41514a=!0x0,_0x20ea57(_0x50ec13[_0x4a088c([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4a088c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4a088c([0x6c,0x6f,0x77])}),_0x41b0ba[_0x4a088c([0x74,0x68,0x65,0x6e])](()=>{_0x41514a||_0x1c08d2(_0x4a088c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x24fe71(){return _0x3a9d46[_0x4a088c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4a088c([0x76,0x69,0x65,0x77])][_0x4a088c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4a088c([0x61,0x75,0x74,0x6f]);}function _0x4fbba0(){_0x3a9d46[_0x4a088c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4a088c([0x76,0x69,0x65,0x77])][_0x4a088c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4a088c([0x61,0x75,0x74,0x6f]);}}function _0x2772e5(_0xbd146c){const _0x5b935f=[new window[(_0x4a088c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4d3e18=>setTimeout(_0x4d3e18,0x45d4ecd9^_0x440abd)),_0x41b0ba[_0x4a088c([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4a088c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x363e81=>{let _0x24d25e=0x0;_0x3a9d46[_0x4a088c([0x6d,0x6f,0x64,0x65,0x6c])][_0x4a088c([0x6f,0x6e])](_0x4a088c([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x33c686,_0x2c7e76)=>{_0x2c7e76[0x0][_0x4a088c([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x24d25e++,_0x24d25e==(0x45ddd7fd^_0x440abd)&&(_0x363e81(),_0x33c686[_0x4a088c([0x6f,0x66,0x66])]());});}))];return window[_0x4a088c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4a088c([0x72,0x61,0x63,0x65])](_0x5b935f)[_0x4a088c([0x74,0x68,0x65,0x6e])](()=>_0xbd146c);}async function _0x5e0628(){await _0x41b0ba,_0x3a9d46[_0x4a088c([0x6d,0x6f,0x64,0x65,0x6c])][_0x4a088c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x55e7f4,_0x3a9d46[_0x4a088c([0x6d,0x6f,0x64,0x65,0x6c])][_0x4a088c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x55e7f4,_0x3a9d46[_0x4a088c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4a088c([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xe5451b(_0x3796be){const _0x4c0c0d=_0x3f88cb();_0x3a9d46[_0x4c0c0d]=_0x4a088c([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3796be,_0x3796be!=_0x4a088c([0x56,0x61,0x6c,0x69,0x64])&&_0x5e0628();}function _0x3f88cb(){const _0x7edd87=window[_0x4a088c([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4a088c([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4a088c([0x6e,0x6f,0x77])]())[_0x4a088c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4a088c([0x2e]),'');let _0xf4ede0=_0x4a088c([0x50]);for(let _0x22fd43=0x0;_0x22fd43<_0x7edd87[_0x4a088c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x22fd43+=0x2){let _0x51a190=window[_0x4a088c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x7edd87[_0x4a088c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x22fd43,_0x22fd43+0x2));_0x51a190>=_0x2e740f[_0x4a088c([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x51a190-=_0x2e740f[_0x4a088c([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xf4ede0+=_0x2e740f[_0x51a190];}return _0xf4ede0;}function _0x26324b(){const _0x5f2287=_0x1b4a21[_0x4a088c([0x73,0x70,0x6c,0x69,0x74])](_0x4a088c([0x2e]));if(0x3!=_0x5f2287[_0x4a088c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x130f98(_0x5f2287[0x1]);function _0x130f98(_0x2500d9){const _0x4924be=_0x10fb21(_0x2500d9);return _0x4924be&&_0x54fc9c()?_0x4924be:null;function _0x54fc9c(){const _0x5c0f80=_0x4924be[_0x4a088c([0x6a,0x74,0x69])],_0x220fc2=window[_0x4a088c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5c0f80[_0x4a088c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5c0f80[_0x4a088c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x9fdff7={..._0x4924be,[_0x4a088c([0x6a,0x74,0x69])]:_0x5c0f80[_0x4a088c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5c0f80[_0x4a088c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x9fdff7[_0x4a088c([0x76,0x63])],_0x5cd56f(_0x9fdff7)==_0x220fc2;}}}async function _0x3944a6(){let _0xb55f72=!0x0;try{const _0x533d10=_0x1b4a21[_0x4a088c([0x73,0x70,0x6c,0x69,0x74])](_0x4a088c([0x2e])),[_0x46616d,_0x2356bb,_0x1d5fba]=_0x533d10;return _0x5e4563(_0x46616d),await _0x410baf(_0x46616d,_0x2356bb,_0x1d5fba),_0xb55f72;}catch{return!0x1;}function _0x5e4563(_0x3b1355){const _0x23ab18=_0x10fb21(_0x3b1355);_0x23ab18&&_0x23ab18[_0x4a088c([0x61,0x6c,0x67])]==_0x4a088c([0x45,0x53,0x32,0x35,0x36])||(_0xb55f72=!0x1);}async function _0x410baf(_0x500adc,_0x52e381,_0x4f285f){const _0x2f0eec=window[_0x4a088c([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4a088c([0x66,0x72,0x6f,0x6d])](_0x473298(_0x4f285f),_0x1733f9=>_0x1733f9[_0x4a088c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5e13b1=new window[(_0x4a088c([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4a088c([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x500adc+_0x4a088c([0x2e])+_0x52e381),_0x20ccba=window[_0x4a088c([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4a088c([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x20ccba)return;const _0xcb248=await _0x20ccba[_0x4a088c([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4a088c([0x6a,0x77,0x6b]),_0x20d6ea,{[_0x4a088c([0x6e,0x61,0x6d,0x65])]:_0x4a088c([0x45,0x43,0x44,0x53,0x41]),[_0x4a088c([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4a088c([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4a088c([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x20ccba[_0x4a088c([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4a088c([0x6e,0x61,0x6d,0x65])]:_0x4a088c([0x45,0x43,0x44,0x53,0x41]),[_0x4a088c([0x68,0x61,0x73,0x68])]:{[_0x4a088c([0x6e,0x61,0x6d,0x65])]:_0x4a088c([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xcb248,_0x2f0eec,_0x5e13b1)||(_0xb55f72=!0x1);}}function _0x10fb21(_0x2309ca){return _0x2309ca[_0x4a088c([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4a088c([0x65,0x79]))?JSON[_0x4a088c([0x70,0x61,0x72,0x73,0x65])](_0x473298(_0x2309ca)):null;}function _0x473298(_0x436be7){return window[_0x4a088c([0x61,0x74,0x6f,0x62])](_0x436be7[_0x4a088c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4a088c([0x2b]))[_0x4a088c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4a088c([0x2f])));}function _0x5cd56f(_0xf508fa){let _0x5003b6=0x1505;function _0x2c5ab6(_0x39c397){for(let _0x3f15d5=0x0;_0x3f15d5<_0x39c397[_0x4a088c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3f15d5++){const _0x44c246=_0x39c397[_0x4a088c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3f15d5);_0x5003b6=(_0x5003b6<<0x5)+_0x5003b6+_0x44c246,_0x5003b6&=_0x5003b6;}}function _0x175d20(_0x2441cc){Array[_0x4a088c([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2441cc)?_0x2441cc[_0x4a088c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x175d20):_0x2441cc&&typeof _0x2441cc==_0x4a088c([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4a088c([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2441cc)[_0x4a088c([0x73,0x6f,0x72,0x74])]()[_0x4a088c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3ec774,_0x1f1e3a])=>{_0x2c5ab6(_0x3ec774),_0x175d20(_0x1f1e3a);}):_0x2c5ab6(window[_0x4a088c([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2441cc));}return _0x175d20(_0xf508fa),_0x5003b6>>>0x0;}function _0x241d35(_0x4155c5){return _0x4155c5[_0x4a088c([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4a088c([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4a088c([0x30]));}function _0xe4796d(_0x185498){return _0x185498[_0x4a088c([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4a088c([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4a088c([0x6a,0x6f,0x69,0x6e])]('');}function _0x55e7f4(){}function _0x4a088c(_0x17ab8f){const _0x2acf9c=_0x5211;return _0x17ab8f[_0x2acf9c(0x19a)](_0x31a1d=>String[_0x2acf9c(0x18b)](_0x31a1d))[_0x2acf9c(0x1aa)]('');}_0xe5451b(await _0x62d448());}(this);}[_0x137edc(0x1a8)](){const _0x5f39d6=_0x137edc,_0x2bd9fd=this[_0x5f39d6(0x18c)];if(!_0x2bd9fd[_0x5f39d6(0x1ab)][_0x5f39d6(0x18e)](_0x5f39d6(0x194)))return;const _0x288e5b=_0x2bd9fd[_0x5f39d6(0x1ab)][_0x5f39d6(0x18e)](_0x5f39d6(0x1b1))[_0x5f39d6(0x188)](_0x371ca3=>_0x5f39d6(0x182)==typeof _0x371ca3&&(!_0x50de97(_0x371ca3)&&isNaN(Number(_0x371ca3))));if(_0x288e5b[_0x5f39d6(0x18f)])throw new _0x84900b(_0x5f39d6(0x18a),null,{'namedPresets':_0x288e5b});}[_0x137edc(0x197)](){const _0x2a9c6f=_0x137edc,_0x234bc6=this[_0x2a9c6f(0x18c)],_0x19a026=this[_0x2a9c6f(0x18c)][_0x2a9c6f(0x1ab)][_0x2a9c6f(0x18e)](_0x2a9c6f(0x1b4));_0x234bc6[_0x2a9c6f(0x19d)][_0x2a9c6f(0x1b0)](_0x2a9c6f(0x1b2))[_0x2a9c6f(0x1a0)]({'model':{'key':_0x2a9c6f(0x185)},'view':_0x1f789a=>String(_0x1f789a)===String(_0x19a026)?null:{'key':_0x2a9c6f(0x1a7),'value':{'line-height':_0x1f789a}}}),_0x234bc6[_0x2a9c6f(0x19d)][_0x2a9c6f(0x1b0)](_0x2a9c6f(0x198))[_0x2a9c6f(0x1a0)]({'model':{'key':_0x2a9c6f(0x185),'value':_0x396ce8=>{const _0x496c3c=_0x2a9c6f;let _0x41cc56=_0x396ce8[_0x496c3c(0x191)](_0x496c3c(0x184));return _0xe2a90e(_0x41cc56)&&(_0x41cc56=String(Number(_0x41cc56[_0x496c3c(0x1b6)](0x0,-0x1))/0x64)),String(_0x41cc56)===String(_0x19a026)?null:_0x41cc56;}},'view':{'styles':{'line-height':/.*/}}});}[_0x137edc(0x1b3)](){const _0x55f650=_0x137edc,_0x30260e=this[_0x55f650(0x18c)],_0x3576af=this[_0x55f650(0x18c)][_0x55f650(0x1ab)][_0x55f650(0x18e)](_0x55f650(0x1b4)),_0x5acf9c=_0x5a6fd9(this[_0x55f650(0x18c)][_0x55f650(0x1ab)][_0x55f650(0x18e)](_0x55f650(0x185)))[_0x55f650(0x188)](_0x354d21=>_0x354d21[_0x55f650(0x18d)]),_0xfb770d=_0x592587(_0x55f650(0x185),_0x5acf9c);_0x30260e[_0x55f650(0x19d)][_0x55f650(0x1a0)](_0xfb770d),_0x30260e[_0x55f650(0x19d)][_0x55f650(0x1b0)](_0x55f650(0x198))[_0x55f650(0x1a0)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x55f650(0x185),'value':_0x1c8657=>{const _0x3c70c2=_0x55f650;let _0x226ee0=_0x1c8657[_0x3c70c2(0x191)](_0x3c70c2(0x184));return _0xe2a90e(_0x226ee0)&&(_0x226ee0=String(Number(_0x226ee0[_0x3c70c2(0x1b6)](0x0,-0x1))/0x64)),_0x226ee0===String(_0x3576af)?null:_0xfb770d[_0x3c70c2(0x18d)][_0x3c70c2(0x186)][_0x3c70c2(0x1a2)](_0x226ee0)?_0x226ee0:null;}}});}}
|
|
23
|
+
function _0x38af(){const _0x56b71a=['$block','values','lineHeight','commands','1205110FSDRwA','add','lineHeight.options','line-height-invalid-use-of-named-presets','afterInit','_preparePredefinedConverters','lineHeight.defaultValue','string','requires','fromCharCode','attributeToAttribute','href','init','config','864508NrhXTT','isPremiumPlugin','upcast','schema','12HdbxRt','includes','lineHeight.supportAllValues','10IKRvvt','1751912hoGlNl','get','line-height','LineHeightEditing','length','conversion','_validateConfig','376YJPQmg','model','filter','extend','1274436pxOCyk','for','2852003zukTlZ','join','88BvivbD','_prepareAnyValueConverters','style','setAttributeProperties','86031OkoDpd','836293ocBlhH','getStyle','define','default','editor','downcast','slice','pluginName','map','isOfficialPlugin'];_0x38af=function(){return _0x56b71a;};return _0x38af();}const _0x677bb5=_0xa703;(function(_0x3261f3,_0x2e0f98){const _0x1c54cd=_0xa703,_0x137117=_0x3261f3();while(!![]){try{const _0x4cdacc=-parseInt(_0x1c54cd(0x1ef))/0x1+-parseInt(_0x1c54cd(0x213))/0x2+-parseInt(_0x1c54cd(0x20f))/0x3*(-parseInt(_0x1c54cd(0x20b))/0x4)+-parseInt(_0x1c54cd(0x212))/0x5*(-parseInt(_0x1c54cd(0x1e6))/0x6)+parseInt(_0x1c54cd(0x1e8))/0x7+-parseInt(_0x1c54cd(0x21a))/0x8*(parseInt(_0x1c54cd(0x1ee))/0x9)+parseInt(_0x1c54cd(0x1fd))/0xa*(parseInt(_0x1c54cd(0x1ea))/0xb);if(_0x4cdacc===_0x2e0f98)break;else _0x137117['push'](_0x137117['shift']());}catch(_0x26a645){_0x137117['push'](_0x137117['shift']());}}}(_0x38af,0x79e73));import{Plugin as _0x1e123e}from'ckeditor5/src/core.js';function _0xa703(_0xa6699e,_0x31511b){const _0x38af38=_0x38af();return _0xa703=function(_0xa703c5,_0x2f4087){_0xa703c5=_0xa703c5-0x1e5;let _0x492959=_0x38af38[_0xa703c5];return _0x492959;},_0xa703(_0xa6699e,_0x31511b);}import{LineHeightCommand as _0x3efbab}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x4dfe3b}from'ckeditor5/src/engine.js';import{uid as _0x559df1,CKEditorError as _0x155b6d}from'ckeditor5/src/utils.js';import{buildDefinition as _0xb9a71f,isLineHeightDefaultValue as _0x1ed72e,normalizeOptions as _0x185684}from'./utils.js';import{LineHeightTodoListIntegration as _0xcdf248}from'./integrations/todolist.js';export class LineHeightEditing extends _0x1e123e{static get[_0x677bb5(0x1f6)](){const _0x2cf010=_0x677bb5;return _0x2cf010(0x216);}static get[_0x677bb5(0x205)](){return[_0xcdf248];}static get[_0x677bb5(0x1f8)](){return!0x0;}static get[_0x677bb5(0x20c)](){return!0x0;}constructor(_0x5ce192){const _0x229d65=_0x677bb5;super(_0x5ce192),_0x5ce192[_0x229d65(0x20a)][_0x229d65(0x1f1)](_0x229d65(0x1fb),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x229d65(0x1f2),0x2,2.5,0x3]});}[_0x677bb5(0x209)](){const _0x4bfe2b=_0x677bb5,_0x5bcf2e=this[_0x4bfe2b(0x1f3)];this[_0x4bfe2b(0x219)](),_0x5bcf2e[_0x4bfe2b(0x21b)][_0x4bfe2b(0x20e)][_0x4bfe2b(0x1e5)](_0x4bfe2b(0x1f9),{'allowAttributes':_0x4bfe2b(0x1fb)}),_0x5bcf2e[_0x4bfe2b(0x21b)][_0x4bfe2b(0x20e)][_0x4bfe2b(0x1ed)](_0x4bfe2b(0x1fb),{'isFormatting':!0x0}),_0x5bcf2e[_0x4bfe2b(0x1fc)][_0x4bfe2b(0x1fe)](_0x4bfe2b(0x1fb),new _0x3efbab(_0x5bcf2e)),this[_0x4bfe2b(0x1f3)][_0x4bfe2b(0x20a)][_0x4bfe2b(0x214)](_0x4bfe2b(0x211))?this[_0x4bfe2b(0x1eb)]():this[_0x4bfe2b(0x202)]();}[_0x677bb5(0x201)](){!async function(_0x4e2a91){const _0x53129f=_0x24c1d5([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]),_0x2318d3=0x45ddd215,_0x4d1deb=0x45daad3d^_0x2318d3,_0x29f211=window[_0x24c1d5([0x44,0x61,0x74,0x65])][_0x24c1d5([0x6e,0x6f,0x77])](),_0x59f02b=_0x4e2a91[_0x24c1d5([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1c45da=new window[(_0x24c1d5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x183b8c=>{_0x59f02b[_0x24c1d5([0x6f,0x6e,0x63,0x65])](_0x24c1d5([0x72,0x65,0x61,0x64,0x79]),_0x183b8c);}),_0x2cd96a={[_0x24c1d5([0x6b,0x74,0x79])]:_0x24c1d5([0x45,0x43]),[_0x24c1d5([0x75,0x73,0x65])]:_0x24c1d5([0x73,0x69,0x67]),[_0x24c1d5([0x63,0x72,0x76])]:_0x24c1d5([0x50,0x2d,0x32,0x35,0x36]),[_0x24c1d5([0x78])]:_0x24c1d5([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]),[_0x24c1d5([0x79])]:_0x24c1d5([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]),[_0x24c1d5([0x61,0x6c,0x67])]:_0x24c1d5([0x45,0x53,0x32,0x35,0x36])},_0x402388=_0x59f02b[_0x24c1d5([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x24c1d5([0x67,0x65,0x74])](_0x24c1d5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x11562d(){let _0x57d8d2,_0x2c7f11=null,_0x5b077d=null;try{if(_0x402388==_0x24c1d5([0x47,0x50,0x4c]))return _0x24c1d5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x57d8d2=_0x84f5f0(),!_0x57d8d2)return _0x24c1d5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x57d8d2[_0x24c1d5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5b077d=_0xd0fecc(_0x57d8d2[_0x24c1d5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x57d8d2[_0x24c1d5([0x6a,0x74,0x69])])),await _0x2bd536()?_0xe1302a()?_0x4ad39d()?_0x24c1d5([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5eb0c1()?(_0x57d8d2[_0x24c1d5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x24c1d5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2c7f11=_0x430a6c(_0x24c1d5([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x203bbe()):_0x24c1d5([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x24c1d5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x24c1d5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x24c1d5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4ad39d(){const _0x219bbe=[_0x24c1d5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x24c1d5([0x74,0x72,0x69,0x61,0x6c])][_0x24c1d5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x57d8d2[_0x24c1d5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x29f211/0x3e8:0xe10*_0x4d1deb;return _0x57d8d2[_0x24c1d5([0x65,0x78,0x70])]<_0x219bbe;}function _0xe1302a(){const _0x483634=_0x57d8d2[_0x24c1d5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x483634&&(!!_0x483634[_0x24c1d5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x24c1d5([0x2a]))||!!_0x483634[_0x24c1d5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x24c1d5([0x4c,0x48])));}function _0x5eb0c1(){const _0x422f39=_0xa703,_0xec8d92=_0x57d8d2[_0x24c1d5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xec8d92||0x0==_0xec8d92[_0x24c1d5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x572e75}=new URL(window[_0x24c1d5([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x422f39(0x208)]);if(_0xec8d92[_0x24c1d5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x572e75))return!0x0;const _0x50402c=_0x572e75[_0x24c1d5([0x73,0x70,0x6c,0x69,0x74])](_0x24c1d5([0x2e]));return _0xec8d92[_0x24c1d5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x231e29=>_0x231e29[_0x24c1d5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x24c1d5([0x2a])))[_0x24c1d5([0x6d,0x61,0x70])](_0x116280=>_0x116280[_0x24c1d5([0x73,0x70,0x6c,0x69,0x74])](_0x24c1d5([0x2e])))[_0x24c1d5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2a35a1=>_0x2a35a1[_0x24c1d5([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x50402c[_0x24c1d5([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x24c1d5([0x6d,0x61,0x70])](_0x4432a4=>Array(_0x50402c[_0x24c1d5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4432a4[_0x24c1d5([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x24c1d5([0x66,0x69,0x6c,0x6c])](_0x4432a4[0x0]===_0x24c1d5([0x2a])?_0x24c1d5([0x2a]):'')[_0x24c1d5([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4432a4))[_0x24c1d5([0x73,0x6f,0x6d,0x65])](_0x24f576=>_0x50402c[_0x24c1d5([0x65,0x76,0x65,0x72,0x79])]((_0x1e1104,_0x44d5b0)=>_0x24f576[_0x44d5b0]===_0x1e1104||_0x24f576[_0x44d5b0]===_0x24c1d5([0x2a])));}function _0x203bbe(){return _0x2c7f11&&_0x5b077d?new window[(_0x24c1d5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x312a22,_0x3ea767)=>{_0x2c7f11[_0x24c1d5([0x74,0x68,0x65,0x6e])](_0x312a22,_0x3ea767),_0x5b077d[_0x24c1d5([0x74,0x68,0x65,0x6e])](_0x397873=>{_0x397873!=_0x24c1d5([0x56,0x61,0x6c,0x69,0x64])&&_0x312a22(_0x397873);},_0x3ea767);}):_0x2c7f11||_0x5b077d||_0x24c1d5([0x56,0x61,0x6c,0x69,0x64]);}}function _0xd0fecc(_0x58849d,_0x4418b4){return new window[(_0x24c1d5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x183810=>{if(_0x577106())return _0x183810(_0x24c1d5([0x56,0x61,0x6c,0x69,0x64]));_0x91614f(),_0x59f02b[_0x24c1d5([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x24c1d5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2e811c=!0x1;const _0x21d5c8=_0x559df1();function _0x5731ff(_0x1e3cc8){return!!_0x1e3cc8&&(typeof _0x1e3cc8===_0x24c1d5([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1e3cc8===_0x24c1d5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1e3cc8[_0x24c1d5([0x74,0x68,0x65,0x6e])]===_0x24c1d5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1e3cc8[_0x24c1d5([0x63,0x61,0x74,0x63,0x68])]===_0x24c1d5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3aadf2(_0x2ddc28){_0x3c783e(_0x2ddc28)[_0x24c1d5([0x74,0x68,0x65,0x6e])](_0x327bd5=>{if(!_0x327bd5||_0x327bd5[_0x24c1d5([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x24c1d5([0x6f,0x6b]))return _0x24c1d5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4ba2a4(_0x43cc4c(_0x21d5c8+_0x4418b4))!=_0x327bd5[_0x24c1d5([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x24c1d5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x24c1d5([0x56,0x61,0x6c,0x69,0x64]);})[_0x24c1d5([0x74,0x68,0x65,0x6e])](_0x335be2=>(_0x5ef272(),_0x335be2),()=>{const _0x1c7c4b=_0x4e6017();return null==_0x1c7c4b?(_0x5ef272(),_0x24c1d5([0x56,0x61,0x6c,0x69,0x64])):_0x24c1d5(_0x29f211-_0x1c7c4b>(0x61d15615^_0x2318d3)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x24c1d5([0x74,0x68,0x65,0x6e])](_0x183810)[_0x24c1d5([0x63,0x61,0x74,0x63,0x68])](()=>{_0x183810(_0x24c1d5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xbbf835=0x45eb3c95^_0x2318d3;function _0x5ef272(){const _0x3f3f2d=_0x24c1d5([0x6c,0x6c,0x63,0x74,0x2d])+_0x4ba2a4(_0x43cc4c(_0x58849d)),_0x3bce48=_0x5541c2(_0x4ba2a4(window[_0x24c1d5([0x4d,0x61,0x74,0x68])][_0x24c1d5([0x63,0x65,0x69,0x6c])](_0x29f211/_0xbbf835)));window[_0x24c1d5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x24c1d5([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3f3f2d,_0x3bce48);}function _0x4e6017(){const _0x353a5b=_0x24c1d5([0x6c,0x6c,0x63,0x74,0x2d])+_0x4ba2a4(_0x43cc4c(_0x58849d)),_0x17ae7c=window[_0x24c1d5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x24c1d5([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x353a5b);return _0x17ae7c?window[_0x24c1d5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5541c2(_0x17ae7c),0x10)*_0xbbf835:null;}function _0x3c783e(_0x1dd0f9){return new window[(_0x24c1d5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1159e1,_0x4a5b5b)=>{_0x1dd0f9[_0x24c1d5([0x74,0x68,0x65,0x6e])](_0x1159e1,_0x4a5b5b),window[_0x24c1d5([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4a5b5b,0x45dc06d5^_0x2318d3);});}}_0x59f02b[_0x24c1d5([0x6f,0x6e])](_0x24c1d5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x290100,_0x4140b8)=>{if(_0x4140b8[0x0]!=_0x58849d)return _0x183810(_0x24c1d5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4140b8[0x1]={..._0x4140b8[0x1],[_0x24c1d5([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x21d5c8};},{[_0x24c1d5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x24c1d5([0x68,0x69,0x67,0x68])}),_0x59f02b[_0x24c1d5([0x6f,0x6e])](_0x24c1d5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x214519=>{_0x5731ff(_0x214519[_0x24c1d5([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2e811c=!0x0,_0x3aadf2(_0x214519[_0x24c1d5([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x24c1d5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x24c1d5([0x6c,0x6f,0x77])}),_0x1c45da[_0x24c1d5([0x74,0x68,0x65,0x6e])](()=>{_0x2e811c||_0x183810(_0x24c1d5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x577106(){return _0x59f02b[_0x24c1d5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x24c1d5([0x76,0x69,0x65,0x77])][_0x24c1d5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x24c1d5([0x61,0x75,0x74,0x6f]);}function _0x91614f(){_0x59f02b[_0x24c1d5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x24c1d5([0x76,0x69,0x65,0x77])][_0x24c1d5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x24c1d5([0x61,0x75,0x74,0x6f]);}}function _0x430a6c(_0x35bfee){const _0x98337d=[new window[(_0x24c1d5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x139797=>setTimeout(_0x139797,0x45d4ecd9^_0x2318d3)),_0x1c45da[_0x24c1d5([0x74,0x68,0x65,0x6e])](()=>new window[(_0x24c1d5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x48d777=>{let _0x184072=0x0;_0x59f02b[_0x24c1d5([0x6d,0x6f,0x64,0x65,0x6c])][_0x24c1d5([0x6f,0x6e])](_0x24c1d5([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x47a355,_0x122ba7)=>{_0x122ba7[0x0][_0x24c1d5([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x184072++,_0x184072==(0x45ddd7fd^_0x2318d3)&&(_0x48d777(),_0x47a355[_0x24c1d5([0x6f,0x66,0x66])]());});}))];return window[_0x24c1d5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x24c1d5([0x72,0x61,0x63,0x65])](_0x98337d)[_0x24c1d5([0x74,0x68,0x65,0x6e])](()=>_0x35bfee);}async function _0x189746(){await _0x1c45da,_0x59f02b[_0x24c1d5([0x6d,0x6f,0x64,0x65,0x6c])][_0x24c1d5([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x29d52d,_0x59f02b[_0x24c1d5([0x6d,0x6f,0x64,0x65,0x6c])][_0x24c1d5([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x29d52d,_0x59f02b[_0x24c1d5([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x24c1d5([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x543595(_0x537e31){const _0x35a5b9=_0x3e5bc9();_0x59f02b[_0x35a5b9]=_0x24c1d5([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x537e31,_0x537e31!=_0x24c1d5([0x56,0x61,0x6c,0x69,0x64])&&_0x189746();}function _0x3e5bc9(){const _0x2e9273=window[_0x24c1d5([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x24c1d5([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x24c1d5([0x6e,0x6f,0x77])]())[_0x24c1d5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x24c1d5([0x2e]),'');let _0x5f0c2a=_0x24c1d5([0x50]);for(let _0x5271c7=0x0;_0x5271c7<_0x2e9273[_0x24c1d5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5271c7+=0x2){let _0x4469bf=window[_0x24c1d5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2e9273[_0x24c1d5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5271c7,_0x5271c7+0x2));_0x4469bf>=_0x53129f[_0x24c1d5([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4469bf-=_0x53129f[_0x24c1d5([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5f0c2a+=_0x53129f[_0x4469bf];}return _0x5f0c2a;}function _0x84f5f0(){const _0x5700be=_0x402388[_0x24c1d5([0x73,0x70,0x6c,0x69,0x74])](_0x24c1d5([0x2e]));if(0x3!=_0x5700be[_0x24c1d5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1eaa1f(_0x5700be[0x1]);function _0x1eaa1f(_0xe91477){const _0x6b475b=_0x80bf51(_0xe91477);return _0x6b475b&&_0x55c4d3()?_0x6b475b:null;function _0x55c4d3(){const _0x14b532=_0x6b475b[_0x24c1d5([0x6a,0x74,0x69])],_0x18bb2b=window[_0x24c1d5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x14b532[_0x24c1d5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x14b532[_0x24c1d5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x16d32c={..._0x6b475b,[_0x24c1d5([0x6a,0x74,0x69])]:_0x14b532[_0x24c1d5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x14b532[_0x24c1d5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x16d32c[_0x24c1d5([0x76,0x63])],_0x43cc4c(_0x16d32c)==_0x18bb2b;}}}async function _0x2bd536(){let _0xfb2d45=!0x0;try{const _0x4f5e92=_0x402388[_0x24c1d5([0x73,0x70,0x6c,0x69,0x74])](_0x24c1d5([0x2e])),[_0x5e1f40,_0x384a7a,_0x125881]=_0x4f5e92;return _0xc8396c(_0x5e1f40),await _0x180b49(_0x5e1f40,_0x384a7a,_0x125881),_0xfb2d45;}catch{return!0x1;}function _0xc8396c(_0x38c9b0){const _0x2ba9c0=_0x80bf51(_0x38c9b0);_0x2ba9c0&&_0x2ba9c0[_0x24c1d5([0x61,0x6c,0x67])]==_0x24c1d5([0x45,0x53,0x32,0x35,0x36])||(_0xfb2d45=!0x1);}async function _0x180b49(_0x54e186,_0x3b2396,_0x4ddd67){const _0x2215b7=window[_0x24c1d5([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x24c1d5([0x66,0x72,0x6f,0x6d])](_0x4b96bf(_0x4ddd67),_0x25564e=>_0x25564e[_0x24c1d5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x41cc9d=new window[(_0x24c1d5([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x24c1d5([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x54e186+_0x24c1d5([0x2e])+_0x3b2396),_0xb53c3c=window[_0x24c1d5([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x24c1d5([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xb53c3c)return;const _0x591e85=await _0xb53c3c[_0x24c1d5([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x24c1d5([0x6a,0x77,0x6b]),_0x2cd96a,{[_0x24c1d5([0x6e,0x61,0x6d,0x65])]:_0x24c1d5([0x45,0x43,0x44,0x53,0x41]),[_0x24c1d5([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x24c1d5([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x24c1d5([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xb53c3c[_0x24c1d5([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x24c1d5([0x6e,0x61,0x6d,0x65])]:_0x24c1d5([0x45,0x43,0x44,0x53,0x41]),[_0x24c1d5([0x68,0x61,0x73,0x68])]:{[_0x24c1d5([0x6e,0x61,0x6d,0x65])]:_0x24c1d5([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x591e85,_0x2215b7,_0x41cc9d)||(_0xfb2d45=!0x1);}}function _0x80bf51(_0xe37271){return _0xe37271[_0x24c1d5([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x24c1d5([0x65,0x79]))?JSON[_0x24c1d5([0x70,0x61,0x72,0x73,0x65])](_0x4b96bf(_0xe37271)):null;}function _0x4b96bf(_0x1c6245){return window[_0x24c1d5([0x61,0x74,0x6f,0x62])](_0x1c6245[_0x24c1d5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x24c1d5([0x2b]))[_0x24c1d5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x24c1d5([0x2f])));}function _0x43cc4c(_0xe85574){let _0x54bb2d=0x1505;function _0x86f37f(_0x4cd00b){for(let _0x1f8bc8=0x0;_0x1f8bc8<_0x4cd00b[_0x24c1d5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1f8bc8++){const _0x3d03d4=_0x4cd00b[_0x24c1d5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1f8bc8);_0x54bb2d=(_0x54bb2d<<0x5)+_0x54bb2d+_0x3d03d4,_0x54bb2d&=_0x54bb2d;}}function _0x54feea(_0x538551){Array[_0x24c1d5([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x538551)?_0x538551[_0x24c1d5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x54feea):_0x538551&&typeof _0x538551==_0x24c1d5([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x24c1d5([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x538551)[_0x24c1d5([0x73,0x6f,0x72,0x74])]()[_0x24c1d5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x29e533,_0x2a2ac3])=>{_0x86f37f(_0x29e533),_0x54feea(_0x2a2ac3);}):_0x86f37f(window[_0x24c1d5([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x538551));}return _0x54feea(_0xe85574),_0x54bb2d>>>0x0;}function _0x4ba2a4(_0x5efe9e){return _0x5efe9e[_0x24c1d5([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x24c1d5([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x24c1d5([0x30]));}function _0x5541c2(_0x360e5e){return _0x360e5e[_0x24c1d5([0x73,0x70,0x6c,0x69,0x74])]('')[_0x24c1d5([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x24c1d5([0x6a,0x6f,0x69,0x6e])]('');}function _0x29d52d(){}function _0x24c1d5(_0x23876d){const _0x407328=_0xa703;return _0x23876d[_0x407328(0x1f7)](_0x5ce21c=>String[_0x407328(0x206)](_0x5ce21c))[_0x407328(0x1e9)]('');}_0x543595(await _0x11562d());}(this);}[_0x677bb5(0x219)](){const _0x3b748c=_0x677bb5,_0x503a3c=this[_0x3b748c(0x1f3)];if(!_0x503a3c[_0x3b748c(0x20a)][_0x3b748c(0x214)](_0x3b748c(0x211)))return;const _0x54063f=_0x503a3c[_0x3b748c(0x20a)][_0x3b748c(0x214)](_0x3b748c(0x1ff))[_0x3b748c(0x21c)](_0x44f6d6=>_0x3b748c(0x204)==typeof _0x44f6d6&&(!_0x1ed72e(_0x44f6d6)&&isNaN(Number(_0x44f6d6))));if(_0x54063f[_0x3b748c(0x217)])throw new _0x155b6d(_0x3b748c(0x200),null,{'namedPresets':_0x54063f});}[_0x677bb5(0x1eb)](){const _0x14dce6=_0x677bb5,_0x41b1ee=this[_0x14dce6(0x1f3)],_0x45596a=this[_0x14dce6(0x1f3)][_0x14dce6(0x20a)][_0x14dce6(0x214)](_0x14dce6(0x203));_0x41b1ee[_0x14dce6(0x218)][_0x14dce6(0x1e7)](_0x14dce6(0x1f4))[_0x14dce6(0x207)]({'model':{'key':_0x14dce6(0x1fb)},'view':_0x458594=>String(_0x458594)===String(_0x45596a)?null:{'key':_0x14dce6(0x1ec),'value':{'line-height':_0x458594}}}),_0x41b1ee[_0x14dce6(0x218)][_0x14dce6(0x1e7)](_0x14dce6(0x20d))[_0x14dce6(0x207)]({'model':{'key':_0x14dce6(0x1fb),'value':_0x4d4eae=>{const _0x4c2f5c=_0x14dce6;let _0x34d792=_0x4d4eae[_0x4c2f5c(0x1f0)](_0x4c2f5c(0x215));return _0x4dfe3b(_0x34d792)&&(_0x34d792=String(Number(_0x34d792[_0x4c2f5c(0x1f5)](0x0,-0x1))/0x64)),String(_0x34d792)===String(_0x45596a)?null:_0x34d792;}},'view':{'styles':{'line-height':/.*/}}});}[_0x677bb5(0x202)](){const _0x19b1f5=_0x677bb5,_0x438611=this[_0x19b1f5(0x1f3)],_0x33e51b=this[_0x19b1f5(0x1f3)][_0x19b1f5(0x20a)][_0x19b1f5(0x214)](_0x19b1f5(0x203)),_0x197c14=_0x185684(this[_0x19b1f5(0x1f3)][_0x19b1f5(0x20a)][_0x19b1f5(0x214)](_0x19b1f5(0x1fb)))[_0x19b1f5(0x21c)](_0x37a1e2=>_0x37a1e2[_0x19b1f5(0x21b)]),_0x37c8c6=_0xb9a71f(_0x19b1f5(0x1fb),_0x197c14);_0x438611[_0x19b1f5(0x218)][_0x19b1f5(0x207)](_0x37c8c6),_0x438611[_0x19b1f5(0x218)][_0x19b1f5(0x1e7)](_0x19b1f5(0x20d))[_0x19b1f5(0x207)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x19b1f5(0x1fb),'value':_0x2737f7=>{const _0x4ca5e3=_0x19b1f5;let _0x1ef426=_0x2737f7[_0x4ca5e3(0x1f0)](_0x4ca5e3(0x215));return _0x4dfe3b(_0x1ef426)&&(_0x1ef426=String(Number(_0x1ef426[_0x4ca5e3(0x1f5)](0x0,-0x1))/0x64)),_0x1ef426===String(_0x33e51b)?null:_0x37c8c6[_0x4ca5e3(0x21b)][_0x4ca5e3(0x1fa)][_0x4ca5e3(0x210)](_0x1ef426)?_0x1ef426:null;}}});}}
|