@ckeditor/ckeditor5-line-height 0.0.0-nightly-20251214.0 → 0.0.0-nightly-20251215.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/line-height.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +8 -8
- package/src/lineheightediting.js +1 -1
package/build/line-height.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
/*!
|
|
3
3
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
4
4
|
* For licensing, see LICENSE.md.
|
|
5
|
-
*/(()=>{var e={102:e=>{"use strict";var t={};e.exports=function(e,n){var i=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(n)}},106:e=>{"use strict";e.exports=function(e){return e[1]}},123:e=>{"use strict";e.exports=function(e,t){Object.keys(t).forEach(function(n){e.setAttribute(n,t[n])})}},237:e=>{"use strict";e.exports=CKEditor5.dll},297:e=>{"use strict";var t,n=(t=[],function(e,n){return t[e]=n,t.filter(Boolean).join("\n")});function i(e,t,i,r){var o;if(i)o="";else{o="",r.supports&&(o+="@supports (".concat(r.supports,") {")),r.media&&(o+="@media ".concat(r.media," {"));var s=void 0!==r.layer;s&&(o+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),o+=r.css,s&&(o+="}"),r.media&&(o+="}"),r.supports&&(o+="}")}if(e.styleSheet)e.styleSheet.cssText=n(t,o);else{var a=document.createTextNode(o),c=e.childNodes;c[t]&&e.removeChild(c[t]),c.length?e.insertBefore(a,c[t]):e.appendChild(a)}}var r={singleton:null,singletonCounter:0};e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=r.singletonCounter++,n=r.singleton||(r.singleton=e.insertStyleElement(e));return{update:function(e){i(n,t,!1,e)},remove:function(e){i(n,t,!0,e)}}}},311:(e,t,n)=>{e.exports=n(237)("./src/ui.js")},355:(e,t,n)=>{e.exports=n(237)("./src/icons.js")},407:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var i=n(106),r=n.n(i),o=n(779),s=n.n(o)()(r());s.push([e.id,':root{--ck-content-list-marker-line-height:var(--ck-content-line-height)}.ck-content .todo-list li.ck-list-marker-line-height:before{content:"";line-height:var(--ck-content-list-marker-line-height)}.ck-content .todo-list li.ck-list-marker-line-height>.todo-list__label.todo-list__label_without-description{line-height:var(--ck-content-list-marker-line-height);position:absolute;width:0}.ck-content .todo-list li.ck-list-marker-line-height>.todo-list__label.todo-list__label_without-description input[type=checkbox]{margin:0;position:relative}.ck-editor__editable.ck-content .todo-list li.ck-list-marker-line-height>.todo-list__label.todo-list__label_without-description>span[contenteditable=false]{display:inline-block;width:0}',""]);const a=s},584:(e,t,n)=>{e.exports=n(237)("./src/utils.js")},741:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},779:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n="",i=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),i&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),i&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n}).join("")},t.i=function(e,n,i,r,o){"string"==typeof e&&(e=[[null,e,void 0]]);var s={};if(i)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(s[c]=!0)}for(var l=0;l<e.length;l++){var u=[].concat(e[l]);i&&s[u[0]]||(void 0!==o&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=o),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),r&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=r):u[4]="".concat(r)),t.push(u))}},t}},782:(e,t,n)=>{e.exports=n(237)("./src/core.js")},783:(e,t,n)=>{e.exports=n(237)("./src/engine.js")},784:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var i=n(106),r=n.n(i),o=n(779),s=n.n(o)()(r());s.push([e.id,".ck-content .line-height-single{line-height:1}.ck-content .line-height-double{line-height:2}",""]);const a=s},929:e=>{"use strict";var t=[];function n(e){for(var n=-1,i=0;i<t.length;i++)if(t[i].identifier===e){n=i;break}return n}function i(e,i){for(var o={},s=[],a=0;a<e.length;a++){var c=e[a],l=i.base?c[0]+i.base:c[0],u=o[l]||0,d="".concat(l," ").concat(u);o[l]=u+1;var h=n(d),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:()=>R,LineHeightCommand:()=>a,LineHeightEditing:()=>P,LineHeightTodoListIntegration:()=>S,LineHeightUI:()=>M});var e=n(782),t=n(584);function r(e,t){const n=o();return(r=function(e,t){return n[e-=398]})(e,t)}function o(){const e=["editor","lineHeight","221723QvXQnu","value","_canHaveLineHeight","document","model","selection","112RkLSyG","161098BEpFyY","48xOmNUj","filter","execute","from","2281456PyekvZ","setAttribute","refresh","2YyEHGu","281133SuOzMz","schema","checkAttribute","14019xFcrGk","getAttribute","1096870dtByBn","isEnabled","change","getSelectedBlocks","removeAttribute","749790QPedUq"];return(o=function(){return e})()}const s=r;!function(e){const t=r,n=e();for(;;)try{if(280691===parseInt(t(399))/1*(parseInt(t(414))/2)+-parseInt(t(418))/3*(parseInt(t(405))/4)+parseInt(t(425))/5+parseInt(t(407))/6*(parseInt(t(406))/7)+-parseInt(t(411))/8+parseInt(t(415))/9+parseInt(t(420))/10)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(o);class a extends e.Command{[s(413)](){const e=s,n=this[e(426)][e(403)][e(402)],i=(0,t.first)(n[e(404)][e(423)]());this[e(421)]=Boolean(i)&&this[e(401)](i),this[e(400)]=this[e(421)]&&i[e(419)](e(398))}[s(409)](e={}){const t=s,n=this[t(426)][t(403)],i=n[t(402)][t(404)],r=e[t(400)];n[t(422)](e=>{const n=t,o=Array[n(410)](i[n(423)]())[n(408)](e=>this[n(401)](e));for(const t of o)r?e[n(412)](n(398),r,t):e[n(424)](n(398),t)})}[s(401)](e){const t=s;return this[t(426)][t(403)][t(416)][t(417)](e,t(398))}}var c=n(783);!function(e){const t=h,n=e();for(;;)try{if(654146===-parseInt(t(306))/1+-parseInt(t(291))/2*(-parseInt(t(298))/3)+-parseInt(t(278))/4+parseInt(t(287))/5*(parseInt(t(279))/6)+-parseInt(t(302))/7*(-parseInt(t(296))/8)+-parseInt(t(290))/9+-parseInt(t(312))/10*(parseInt(t(295))/11))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(u);const l={get single(){const e=h;return{title:e(284),model:e(280),view:{key:e(310),value:e(292)}}},get double(){const e=h;return{title:e(293),model:e(289),view:{key:e(310),value:e(285)}}}};function u(){const e=["96430rUMlpc","357608gvjrTc","299406AiziTo","single","values","span","options","Single","line-height-double","string","115HKfaLP","style","double","3190599FCkIjH","4oKiVKn","line-height-single","Double","value","1430BfIbtm","6021144WAPrnD","defaultValue","1796412btYIWJ","number","push","filter","7oDQKIT","line-height:","view","map","746325srBoqR","key","model","default","class","toLowerCase"];return(u=function(){return e})()}function d(e){const t=h;return t(286)==typeof e&&t(309)===e[t(311)]()}function h(e,t){const n=u();return(h=function(e,t){return n[e-=278]})(e,t)}function p(e){const t=h;return e[t(283)][t(305)](n=>d(n)?{title:String(e[t(297)]),model:t(309)}:(t(299)==typeof n&&(n=String(n)),t(286)!=typeof n?n:parseFloat(n)?{title:n,model:n,view:{name:t(282),styles:{"line-height":n}}}:function(e){const t=h;return t(286)==typeof e?l[e]:l[e[t(308)]]}(n)))[t(301)](e=>void 0!==e)}var f=n(929),g=n.n(f),m=n(297),v=n.n(m),w=n(102),y=n.n(w),I=n(123),b=n.n(I),L=n(741),_=n.n(L),k=n(407),H={attributes:{"data-cke":!0}};H.setAttributes=b(),H.insert=y().bind(null,"head"),H.domAPI=v(),H.insertStyleElement=_();g()(k.A,H);k.A&&k.A.locals&&k.A.locals;function E(){const e=["isPremiumPlugin","37619504XYYrhr","1866MhNfVk","4683785EmItNJ","todo-list__label__description","get","element:li","item","add","match","pluginName","consume","325652KAnBSU","setStyle","todo","listType","viewItem","LineHeightTodoListIntegration","addClass","TodoListEditing","init","ListEditing","consumable","name","editor","registerDowncastStrategy","getAttribute","ck-list-marker-line-height","upcast","--ck-content-list-marker-line-height","for","2472916iEOouA","1067519bJtkYv","2072067mCYkoY","span","high","has","elementToElement","31745ATBcvx","lineHeight","isOfficialPlugin","paragraph"];return(E=function(){return e})()}const O=A;function A(e,t){const n=E();return(A=function(e,t){return n[e-=138]})(e,t)}!function(e){const t=A,n=e();for(;;)try{if(720783===parseInt(t(143))/1+parseInt(t(142))/2+parseInt(t(144))/3+parseInt(t(165))/4+parseInt(t(156))/5+-parseInt(t(155))/6*(-parseInt(t(149))/7)+-parseInt(t(154))/8)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(E);class S extends e.Plugin{static get[O(163)](){return O(170)}static get[O(151)](){return!0}static get[O(153)](){return!0}[O(173)](){const e=O,{plugins:t,conversion:n}=this[e(177)];t[e(147)](e(174))&&t[e(147)](e(172))&&(t[e(158)](e(174))[e(178)]({scope:e(160),attributeName:e(150),consume:!1,setAttributeOnDowncast(t,n,i,r,o){const s=e;s(167)==o[s(179)](s(168))&&n&&(t[s(171)](s(138),i),t[s(166)](s(140),n,i))}}),n[e(141)](e(139))[e(148)]({view:{name:e(145),classes:e(157)},model:e(152),converterPriority:e(146)}),n[e(141)](e(139))[e(161)](t=>{const n=e;t.on(n(159),function(e){const t=new c.Matcher(e);return(e,n,i)=>{const r=A,o=t[r(162)](n[r(169)]);if(!o)return;const s=o[r(162)];s[r(176)]=!1,i[r(175)][r(164)](n[r(169)],s)}}({name:"li",classes:n(138),styles:{"--ck-content-list-marker-line-height":/.*/}}))}))}}const T=x;function x(e,t){const n=C();return(x=function(e,t){return n[e-=231]})(e,t)}function C(){const e=["model","length","lineHeight","extend","commands","getStyle","138139AemgxM","slice","map","pluginName","values","includes","line-height-invalid-use-of-named-presets","attributeToAttribute","18NxhxRt","filter","conversion","get","lineHeight.options","config","760151iKkHnU","join","lineHeight.defaultValue","define","LineHeightEditing","_prepareAnyValueConverters","_validateConfig","6884604JsRifM","afterInit","schema","init","lineHeight.supportAllValues","setAttributeProperties","isOfficialPlugin","1049520DnzvAJ","requires","upcast","$block","3457896oFAaRK","default","style","782350QZWRfK","string","line-height","56xleOAc","editor","_preparePredefinedConverters","for","isPremiumPlugin","href","add","fromCharCode","2585832yVeBBo","downcast"];return(C=function(){return e})()}!function(e){const t=x,n=e();for(;;)try{if(809752===parseInt(t(280))/1*(-parseInt(t(234))/2)+parseInt(t(272))/3+parseInt(t(258))/4+parseInt(t(261))/5+parseInt(t(254))/6+parseInt(t(240))/7*(parseInt(t(264))/8)+-parseInt(t(247))/9)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(C);class P extends e.Plugin{static get[T(283)](){return T(244)}static get[T(255)](){return[S]}static get[T(253)](){return!0}static get[T(268)](){return!0}constructor(e){const t=T;super(e),e[t(239)][t(243)](t(276),{defaultValue:1.5,supportAllValues:!1,options:[1,1.15,t(259),2,2.5,3]})}[T(250)](){const e=T,t=this[e(265)];this[e(246)](),t[e(274)][e(249)][e(277)](e(257),{allowAttributes:e(276)}),t[e(274)][e(249)][e(252)](e(276),{isFormatting:!0}),t[e(278)][e(270)](e(276),new a(t)),this[e(265)][e(239)][e(237)](e(251))?this[e(245)]():this[e(266)]()}[T(248)](){!async function(e){const n=g([80,72,81,51,89,85,73,66,114,108,48,88,100,110,119,71,57,107,101,122,56,115,102,112,77,118,49,121,116,87,70,82,78,90,79,86,53,106,74,97,113,55,84,99,50,111,103,117,98,54,52,120,67,75,68,69,65,76,83,105,104,109]),i=window[g([68,97,116,101])][g([110,111,119])](),r=e[g([101,100,105,116,111,114])],o=new(window[g([80,114,111,109,105,115,101])])(e=>{r[g([111,110,99,101])](g([114,101,97,100,121]),e)}),s={[g([107,116,121])]:g([69,67]),[g([117,115,101])]:g([115,105,103]),[g([99,114,118])]:g([80,45,50,53,54]),[g([120])]:g([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[g([121])]:g([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[g([97,108,103])]:g([69,83,50,53,54])},a=r[g([99,111,110,102,105,103])][g([103,101,116])](g([108,105,99,101,110,115,101,75,101,121]));function c(e){const t=[new(window[g([80,114,111,109,105,115,101])])(e=>setTimeout(e,605900)),o[g([116,104,101,110])](()=>new(window[g([80,114,111,109,105,115,101])])(e=>{let t=0;r[g([109,111,100,101,108])][g([111,110])](g([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),(n,i)=>{i[0][g([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&t++,504==t&&(e(),n[g([111,102,102])]())})}))];return window[g([80,114,111,109,105,115,101])][g([114,97,99,101])](t)[g([116,104,101,110])](()=>e)}function l(e){return e[g([115,116,97,114,116,115,87,105,116,104])](g([101,121]))?JSON[g([112,97,114,115,101])](u(e)):null}function u(e){return window[g([97,116,111,98])](e[g([114,101,112,108,97,99,101])](/-/g,g([43]))[g([114,101,112,108,97,99,101])](/_/g,g([47])))}function d(e){let t=5381;function n(e){for(let n=0;n<e[g([108,101,110,103,116,104])];n++){const i=e[g([99,104,97,114,67,111,100,101,65,116])](n);t=(t<<5)+t+i,t&=t}}return function e(t){Array[g([105,115,65,114,114,97,121])](t)?t[g([102,111,114,69,97,99,104])](e):t&&typeof t==g([111,98,106,101,99,116])?Object[g([101,110,116,114,105,101,115])](t)[g([115,111,114,116])]()[g([102,111,114,69,97,99,104])](([t,i])=>{n(t),e(i)}):n(window[g([83,116,114,105,110,103])](t))}(e),t>>>0}function h(e){return e[g([116,111,83,116,114,105,110,103])](16)[g([112,97,100,83,116,97,114,116])](8,g([48]))}function p(e){return e[g([115,112,108,105,116])]("")[g([114,101,118,101,114,115,101])]()[g([106,111,105,110])]("")}function f(){}function g(e){const t=x;return e[t(282)](e=>String[t(271)](e))[t(241)]("")}!function(e){const t=function(){const e=window[g([83,116,114,105,110,103])](window[g([112,101,114,102,111,114,109,97,110,99,101])][g([110,111,119])]())[g([114,101,112,108,97,99,101])](g([46]),"");let t=g([80]);for(let i=0;i<e[g([108,101,110,103,116,104])];i+=2){let r=window[g([112,97,114,115,101,73,110,116])](e[g([115,117,98,115,116,114,105,110,103])](i,i+2));r>=n[g([108,101,110,103,116,104])]&&(r-=n[g([108,101,110,103,116,104])]),t+=n[r]}return t}();r[t]=g([108,105,110,101,72,101,105,103,104,116,76,105,99,101,110,115,101,75,101,121])+e,e!=g([86,97,108,105,100])&&async function(){await o,r[g([109,111,100,101,108])][g([99,104,97,110,103,101])]=f,r[g([109,111,100,101,108])][g([101,110,113,117,101,117,101,67,104,97,110,103,101])]=f,r[g([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](g([109,111,100,101,108]))}()}(await async function(){let e,n=null,f=null;try{return a==g([71,80,76])?g([78,111,116,65,108,108,111,119,101,100]):(e=function(){const e=a[g([115,112,108,105,116])](g([46]));return 3!=e[g([108,101,110,103,116,104])]?null:t(e[1]);function t(e){const t=l(e);return t&&n()?t:null;function n(){const e=t[g([106,116,105])],n=window[g([112,97,114,115,101,73,110,116])](e[g([115,117,98,115,116,114,105,110,103])](e[g([108,101,110,103,116,104])]-8),16),i={...t,[g([106,116,105])]:e[g([115,117,98,115,116,114,105,110,103])](0,e[g([108,101,110,103,116,104])]-8)};return delete i[g([118,99])],d(i)==n}}}(),e?(e[g([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(f=function(e,n){return new(window[g([80,114,111,109,105,115,101])])(c=>{if(s())return c(g([86,97,108,105,100]));a(),r[g([100,101,99,111,114,97,116,101])](g([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let l=!1;const u=(0,t.uid)();function f(e){return!!e&&(typeof e===g([111,98,106,101,99,116])||typeof e===g([102,117,110,99,116,105,111,110]))&&typeof e[g([116,104,101,110])]===g([102,117,110,99,116,105,111,110])&&typeof e[g([99,97,116,99,104])]===g([102,117,110,99,116,105,111,110])}function m(t){a(t)[g([116,104,101,110])](e=>e&&e[g([115,116,97,116,117,115])]==g([111,107])?h(d(u+n))!=e[g([118,101,114,105,102,105,99,97,116,105,111,110])]?g([85,115,97,103,101,76,105,109,105,116]):g([86,97,108,105,100]):g([85,115,97,103,101,76,105,109,105,116]))[g([116,104,101,110])](e=>(o(),e),()=>{const e=s();return null==e?(o(),g([86,97,108,105,100])):g(i-e>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[g([116,104,101,110])](c)[g([99,97,116,99,104])](()=>{c(g([85,115,97,103,101,76,105,109,105,116]))});const r=36e5;function o(){const t=g([108,108,99,116,45])+h(d(e)),n=p(h(window[g([77,97,116,104])][g([99,101,105,108])](i/r)));window[g([108,111,99,97,108,83,116,111,114,97,103,101])][g([115,101,116,73,116,101,109])](t,n)}function s(){const t=g([108,108,99,116,45])+h(d(e)),n=window[g([108,111,99,97,108,83,116,111,114,97,103,101])][g([103,101,116,73,116,101,109])](t);return n?window[g([112,97,114,115,101,73,110,116])](p(n),16)*r:null}function a(e){return new(window[g([80,114,111,109,105,115,101])])((t,n)=>{e[g([116,104,101,110])](t,n),window[g([115,101,116,84,105,109,101,111,117,116])](n,12e4)})}}r[g([111,110])](g([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t,n)=>{if(n[0]!=e)return c(g([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[g([114,101,113,117,101,115,116,73,100])]:u}},{[g([112,114,105,111,114,105,116,121])]:g([104,105,103,104])}),r[g([111,110])](g([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),e=>{f(e[g([114,101,116,117,114,110])])&&(l=!0,m(e[g([114,101,116,117,114,110])]))},{[g([112,114,105,111,114,105,116,121])]:g([108,111,119])}),o[g([116,104,101,110])](()=>{l||c(g([85,115,97,103,101,76,105,109,105,116]))})});function s(){return r[g([101,100,105,116,105,110,103])][g([118,105,101,119])][g([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==g([97,117,116,111])}function a(){r[g([101,100,105,116,105,110,103])][g([118,105,101,119])][g([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=g([97,117,116,111])}}(e[g([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[g([106,116,105])])),await async function(){let e=!0;try{const i=a[g([115,112,108,105,116])](g([46])),[r,o,s]=i;return t(r),await n(r,o,s),e}catch{return!1}function t(t){const n=l(t);n&&n[g([97,108,103])]==g([69,83,50,53,54])||(e=!1)}async function n(t,n,i){const r=window[g([85,105,110,116,56,65,114,114,97,121])][g([102,114,111,109])](u(i),e=>e[g([99,104,97,114,67,111,100,101,65,116])](0)),o=(new(window[g([84,101,120,116,69,110,99,111,100,101,114])]))[g([101,110,99,111,100,101])](t+g([46])+n),a=window[g([99,114,121,112,116,111])][g([115,117,98,116,108,101])];if(!a)return;const c=await a[g([105,109,112,111,114,116,75,101,121])](g([106,119,107]),s,{[g([110,97,109,101])]:g([69,67,68,83,65]),[g([110,97,109,101,100,67,117,114,118,101])]:g([80,45,50,53,54])},!1,[g([118,101,114,105,102,121])]);await a[g([118,101,114,105,102,121])]({[g([110,97,109,101])]:g([69,67,68,83,65]),[g([104,97,115,104])]:{[g([110,97,109,101])]:g([83,72,65,45,50,53,54])}},c,r,o)||(e=!1)}}()?function(){const t=e[g([102,101,97,116,117,114,101,115])];return!(!t||!t[g([105,110,99,108,117,100,101,115])](g([42]))&&!t[g([105,110,99,108,117,100,101,115])](g([76,72])))}()?function(){const t=[g([101,118,97,108,117,97,116,105,111,110]),g([116,114,105,97,108])][g([105,110,99,108,117,100,101,115])](e[g([108,105,99,101,110,115,101,84,121,112,101])])?i/1e3:1765670400;return e[g([101,120,112])]<t}()?g([69,120,112,105,114,101,100]):function(){const t=x,n=e[g([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[g([108,101,110,103,116,104])])return!0;const{hostname:i}=new URL(window[g([108,111,99,97,116,105,111,110])][t(269)]);if(n[g([105,110,99,108,117,100,101,115])](i))return!0;const r=i[g([115,112,108,105,116])](g([46]));return n[g([102,105,108,116,101,114])](e=>e[g([105,110,99,108,117,100,101,115])](g([42])))[g([109,97,112])](e=>e[g([115,112,108,105,116])](g([46])))[g([102,105,108,116,101,114])](e=>e[g([108,101,110,103,116,104])]<=r[g([108,101,110,103,116,104])])[g([109,97,112])](e=>Array(r[g([108,101,110,103,116,104])]-e[g([108,101,110,103,116,104])])[g([102,105,108,108])](e[0]===g([42])?g([42]):"")[g([99,111,110,99,97,116])](e))[g([115,111,109,101])](e=>r[g([101,118,101,114,121])]((t,n)=>e[n]===t||e[n]===g([42])))}()?(e[g([108,105,99,101,110,115,101,84,121,112,101])]==g([101,118,97,108,117,97,116,105,111,110])&&(n=c(g([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[g([108,105,99,101,110,115,101,84,121,112,101])]==g([116,114,105,97,108])&&(n=c(g([84,114,105,97,108,76,105,109,105,116]))),await(n&&f?new(window[g([80,114,111,109,105,115,101])])((e,t)=>{n[g([116,104,101,110])](e,t),f[g([116,104,101,110])](t=>{t!=g([86,97,108,105,100])&&e(t)},t)}):n||f||g([86,97,108,105,100]))):g([68,111,109,97,105,110,76,105,109,105,116]):g([78,111,116,65,108,108,111,119,101,100]):g([73,110,118,97,108,105,100])):g([73,110,118,97,108,105,100]))}catch{return g([73,110,118,97,108,105,100])}}())}(this)}[T(246)](){const e=T,n=this[e(265)];if(!n[e(239)][e(237)](e(251)))return;const i=n[e(239)][e(237)](e(238))[e(235)](t=>e(262)==typeof t&&!d(t)&&isNaN(Number(t)));if(i[e(275)])throw new t.CKEditorError(e(232),null,{namedPresets:i})}[T(245)](){const e=T,t=this[e(265)],n=this[e(265)][e(239)][e(237)](e(242));t[e(236)][e(267)](e(273))[e(233)]({model:{key:e(276)},view:t=>String(t)===String(n)?null:{key:e(260),value:{"line-height":t}}}),t[e(236)][e(267)](e(256))[e(233)]({model:{key:e(276),value:t=>{const i=e;let r=t[i(279)](i(263));return(0,c.isPercentageStyleValue)(r)&&(r=String(Number(r[i(281)](0,-1))/100)),String(r)===String(n)?null:r}},view:{styles:{"line-height":/.*/}}})}[T(266)](){const e=T,t=this[e(265)],n=this[e(265)][e(239)][e(237)](e(242)),i=p(this[e(265)][e(239)][e(237)](e(276)))[e(235)](t=>t[e(274)]),r=function(e,t){const n=h,i={model:{key:e,values:[]},view:{}};for(const e of t)n(310)===e[n(304)]?.[n(307)]?(i[n(308)][n(281)][n(300)](e[n(308)]),i[n(304)][e[n(308)]]={key:n(310),value:e[n(304)][n(294)]}):(i[n(308)][n(281)][n(300)](e[n(308)]),i[n(304)][e[n(308)]]={key:n(288),value:n(303)+e[n(308)]+";"});return i}(e(276),i);t[e(236)][e(233)](r),t[e(236)][e(267)](e(256))[e(233)]({view:{styles:{"line-height":/[\s\S]+/}},model:{key:e(276),value:t=>{const i=e;let o=t[i(279)](i(263));return(0,c.isPercentageStyleValue)(o)&&(o=String(Number(o[i(281)](0,-1))/100)),o===String(n)?null:r[i(274)][i(284)][i(231)](o)?o:null}}})}}var K=n(311),N=n(355),V=n(784),B={attributes:{"data-cke":!0}};B.setAttributes=b(),B.insert=y().bind(null,"head"),B.domAPI=v(),B.insertStyleElement=_();g()(V.A,B);V.A&&V.A.locals&&V.A.locals;class M extends e.Plugin{licenseKey;_licenseKeyCheckInterval;static get pluginName(){return"LineHeightUI"}static get isOfficialPlugin(){return!0}static get isPremiumPlugin(){return!0}init(){const e={accessibleLabel:(0,this.editor.t)("Line height"),options:this._prepareListOptions()};this._registerToolbarComponent(e),this._registerMenuBarComponent(e),this.licenseKey=this.editor.config.get("licenseKey");const t=this.editor;this._licenseKeyCheckInterval=setInterval(()=>{let e;for(const n in t){const i=n,r=t[i];if("lineHeightLicenseKeyValid"==r||"lineHeightLicenseKeyInvalid"==r||"lineHeightLicenseKeyExpired"==r||"lineHeightLicenseKeyDomainLimit"==r||"lineHeightLicenseKeyNotAllowed"==r||"lineHeightLicenseKeyEvaluationLimit"==r||"lineHeightLicenseKeyTrialLimit"==r||"lineHeightLicenseKeyUsageLimit"==r){delete t[i],e=r,clearInterval(this._licenseKeyCheckInterval),this._licenseKeyCheckInterval=void 0;break}}"lineHeightLicenseKeyInvalid"==e&&t._showLicenseError("invalid"),"lineHeightLicenseKeyExpired"==e&&t._showLicenseError("expired"),"lineHeightLicenseKeyDomainLimit"==e&&t._showLicenseError("domainLimit"),"lineHeightLicenseKeyNotAllowed"==e&&t._showLicenseError("featureNotAllowed","LineHeight"),"lineHeightLicenseKeyEvaluationLimit"==e&&t._showLicenseError("evaluationLimit"),"lineHeightLicenseKeyTrialLimit"==e&&t._showLicenseError("trialLimit"),"lineHeightLicenseKeyUsageLimit"==e&&t._showLicenseError("usageLimit")},1e3)}destroy(){super.destroy(),this._licenseKeyCheckInterval&&clearInterval(this._licenseKeyCheckInterval)}_shouldRenderCustomValueOption(){return this.editor.config.get("lineHeight.supportAllValues")}_getLocalizedLineHeightOptions(){const e=this.editor,t=e.t,n=e.config.get("lineHeight"),i={Single:t({string:"Single",id:"LINE_HEIGHT_SINGLE_OPTION_LABEL"}),Double:t({string:"Double",id:"LINE_HEIGHT_DOUBLE_OPTION_LABEL"})};return p(n).map(e=>{const t=i[e.title];return t&&t!=e.title&&(e=Object.assign({},e,{title:t})),e})}_prepareListOptions(){const e=this.editor.commands.get("lineHeight"),n=this.editor.config.get("lineHeight.defaultValue"),i=this._getLocalizedLineHeightOptions(),r=new t.Collection,o=e=>"default"===e||String(n)===e;for(const t of i){const n={type:"button",model:new K.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 K.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,K.createDropdown)(r);return(0,K.addListToDropdown)(o,t,{role:"menu",ariaLabel:e}),o.buttonView.set({label:e,tooltip:!0,icon:N.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 K.MenuBarMenuView(r);o.buttonView.set({label:e,icon:N.IconLineHeight}),o.bind("isEnabled").to(i);const s=new K.MenuBarMenuListView(r);for(const e of t){const t=new K.MenuBarMenuListItemView(r,o),i=new K.MenuBarMenuListItemButtonView(r);i.set({role:"menuitemradio",isToggleable:!0}),i.bind(...Object.keys(e.model)).to(e.model),i.delegate("execute").to(o),i.on("execute",()=>{n.execute(e.model.commandName,{value:e.model.commandParam}),n.editing.view.focus()}),t.children.add(i),s.items.add(t)}return o.panelView.children.add(s),this._attachCustomOptionVisibilityHandler(o,t,s),o})}_attachCustomOptionVisibilityHandler(e,t,n){if(!this._shouldRenderCustomValueOption())return;const i=()=>{e.isOpen&&(n.items.last.isVisible=Boolean(t.last.model.isOn))};i(),e.on("change:isOpen",()=>{i()})}}var j=U;function D(){var e=["9ouDtsP","14NsktLF","1490062ynmUZy","1012500zfehZK","isOfficialPlugin","5155968eEuTLi","isPremiumPlugin","9745YOsLgY","385566HrSLvr","3qHbSWK","pluginName","1228vqgRKI","1346610gReccA","7501483rksHkj","requires","LineHeight"];return(D=function(){return e})()}function U(e,t){var n=D();return(U=function(e,t){return n[e-=208]})(e,t)}!function(e){for(var t=U,n=e();;)try{if(565172===parseInt(t(217))/1+-parseInt(t(216))/2*(parseInt(t(223))/3)+parseInt(t(209))/4*(parseInt(t(221))/5)+-parseInt(t(222))/6*(parseInt(t(215))/7)+parseInt(t(219))/8+-parseInt(t(214))/9*(parseInt(t(210))/10)+-parseInt(t(211))/11)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(D);class R extends e.Plugin{static get[j(212)](){return[P,M]}static get[j(208)](){return j(213)}static get[j(218)](){return!0}static get[j(220)](){return!0}}function F(){var e=["4evFoMy","3BVqjLQ","78MyesmU","8zqTcLu","133115slchFK","31235974uoGKbo","4755156dHsbSL","5717103yOwbcI","1190358UYfLyV","13639540iMrSFj","159202vmXmTY"];return(F=function(){return e})()}function G(e,t){var n=F();return(G=function(e,t){return n[e-=445]})(e,t)}!function(e){for(var t=G,n=e();;)try{if(999053===parseInt(t(447))/1*(-parseInt(t(448))/2)+parseInt(t(449))/3*(-parseInt(t(454))/4)+parseInt(t(452))/5*(parseInt(t(450))/6)+parseInt(t(455))/7+-parseInt(t(451))/8*(parseInt(t(445))/9)+-parseInt(t(446))/10+parseInt(t(453))/11)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(F)})(),(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:()=>R,LineHeightCommand:()=>a,LineHeightEditing:()=>N,LineHeightTodoListIntegration:()=>S,LineHeightUI:()=>M});var e=n(782),t=n(584);function r(e,t){const n=o();return(r=function(e,t){return n[e-=398]})(e,t)}function o(){const e=["editor","lineHeight","221723QvXQnu","value","_canHaveLineHeight","document","model","selection","112RkLSyG","161098BEpFyY","48xOmNUj","filter","execute","from","2281456PyekvZ","setAttribute","refresh","2YyEHGu","281133SuOzMz","schema","checkAttribute","14019xFcrGk","getAttribute","1096870dtByBn","isEnabled","change","getSelectedBlocks","removeAttribute","749790QPedUq"];return(o=function(){return e})()}const s=r;!function(e){const t=r,n=e();for(;;)try{if(280691===parseInt(t(399))/1*(parseInt(t(414))/2)+-parseInt(t(418))/3*(parseInt(t(405))/4)+parseInt(t(425))/5+parseInt(t(407))/6*(parseInt(t(406))/7)+-parseInt(t(411))/8+parseInt(t(415))/9+parseInt(t(420))/10)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(o);class a extends e.Command{[s(413)](){const e=s,n=this[e(426)][e(403)][e(402)],i=(0,t.first)(n[e(404)][e(423)]());this[e(421)]=Boolean(i)&&this[e(401)](i),this[e(400)]=this[e(421)]&&i[e(419)](e(398))}[s(409)](e={}){const t=s,n=this[t(426)][t(403)],i=n[t(402)][t(404)],r=e[t(400)];n[t(422)](e=>{const n=t,o=Array[n(410)](i[n(423)]())[n(408)](e=>this[n(401)](e));for(const t of o)r?e[n(412)](n(398),r,t):e[n(424)](n(398),t)})}[s(401)](e){const t=s;return this[t(426)][t(403)][t(416)][t(417)](e,t(398))}}var c=n(783);!function(e){const t=h,n=e();for(;;)try{if(654146===-parseInt(t(306))/1+-parseInt(t(291))/2*(-parseInt(t(298))/3)+-parseInt(t(278))/4+parseInt(t(287))/5*(parseInt(t(279))/6)+-parseInt(t(302))/7*(-parseInt(t(296))/8)+-parseInt(t(290))/9+-parseInt(t(312))/10*(parseInt(t(295))/11))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(u);const l={get single(){const e=h;return{title:e(284),model:e(280),view:{key:e(310),value:e(292)}}},get double(){const e=h;return{title:e(293),model:e(289),view:{key:e(310),value:e(285)}}}};function u(){const e=["96430rUMlpc","357608gvjrTc","299406AiziTo","single","values","span","options","Single","line-height-double","string","115HKfaLP","style","double","3190599FCkIjH","4oKiVKn","line-height-single","Double","value","1430BfIbtm","6021144WAPrnD","defaultValue","1796412btYIWJ","number","push","filter","7oDQKIT","line-height:","view","map","746325srBoqR","key","model","default","class","toLowerCase"];return(u=function(){return e})()}function d(e){const t=h;return t(286)==typeof e&&t(309)===e[t(311)]()}function h(e,t){const n=u();return(h=function(e,t){return n[e-=278]})(e,t)}function p(e){const t=h;return e[t(283)][t(305)](n=>d(n)?{title:String(e[t(297)]),model:t(309)}:(t(299)==typeof n&&(n=String(n)),t(286)!=typeof n?n:parseFloat(n)?{title:n,model:n,view:{name:t(282),styles:{"line-height":n}}}:function(e){const t=h;return t(286)==typeof e?l[e]:l[e[t(308)]]}(n)))[t(301)](e=>void 0!==e)}var f=n(929),g=n.n(f),m=n(297),v=n.n(m),w=n(102),y=n.n(w),I=n(123),b=n.n(I),L=n(741),_=n.n(L),k=n(407),H={attributes:{"data-cke":!0}};H.setAttributes=b(),H.insert=y().bind(null,"head"),H.domAPI=v(),H.insertStyleElement=_();g()(k.A,H);k.A&&k.A.locals&&k.A.locals;function E(){const e=["isPremiumPlugin","37619504XYYrhr","1866MhNfVk","4683785EmItNJ","todo-list__label__description","get","element:li","item","add","match","pluginName","consume","325652KAnBSU","setStyle","todo","listType","viewItem","LineHeightTodoListIntegration","addClass","TodoListEditing","init","ListEditing","consumable","name","editor","registerDowncastStrategy","getAttribute","ck-list-marker-line-height","upcast","--ck-content-list-marker-line-height","for","2472916iEOouA","1067519bJtkYv","2072067mCYkoY","span","high","has","elementToElement","31745ATBcvx","lineHeight","isOfficialPlugin","paragraph"];return(E=function(){return e})()}const O=A;function A(e,t){const n=E();return(A=function(e,t){return n[e-=138]})(e,t)}!function(e){const t=A,n=e();for(;;)try{if(720783===parseInt(t(143))/1+parseInt(t(142))/2+parseInt(t(144))/3+parseInt(t(165))/4+parseInt(t(156))/5+-parseInt(t(155))/6*(-parseInt(t(149))/7)+-parseInt(t(154))/8)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(E);class S extends e.Plugin{static get[O(163)](){return O(170)}static get[O(151)](){return!0}static get[O(153)](){return!0}[O(173)](){const e=O,{plugins:t,conversion:n}=this[e(177)];t[e(147)](e(174))&&t[e(147)](e(172))&&(t[e(158)](e(174))[e(178)]({scope:e(160),attributeName:e(150),consume:!1,setAttributeOnDowncast(t,n,i,r,o){const s=e;s(167)==o[s(179)](s(168))&&n&&(t[s(171)](s(138),i),t[s(166)](s(140),n,i))}}),n[e(141)](e(139))[e(148)]({view:{name:e(145),classes:e(157)},model:e(152),converterPriority:e(146)}),n[e(141)](e(139))[e(161)](t=>{const n=e;t.on(n(159),function(e){const t=new c.Matcher(e);return(e,n,i)=>{const r=A,o=t[r(162)](n[r(169)]);if(!o)return;const s=o[r(162)];s[r(176)]=!1,i[r(175)][r(164)](n[r(169)],s)}}({name:"li",classes:n(138),styles:{"--ck-content-list-marker-line-height":/.*/}}))}))}}function T(){const e=["filter","href","upcast","fromCharCode","attributeToAttribute","lineHeight","init","for","downcast","requires","slice","commands","isOfficialPlugin","lineHeight.supportAllValues","pluginName","isPremiumPlugin","config","get","121209JCGyeR","2RDQRse","model","add","define","lineHeight.options","107618vfkECf","641394AHCSaT","setAttributeProperties","lineHeight.defaultValue","_prepareAnyValueConverters","1088315IZrQij","schema","873384DnOdcd","line-height","string","length","getStyle","123059Zfuihj","_validateConfig","8ZutltU","values","style","join","conversion","editor","LineHeightEditing","130NGrdWU","702111zEDjOc","extend","afterInit","_preparePredefinedConverters","map","includes","48NHuizu","$block","default","line-height-invalid-use-of-named-presets"];return(T=function(){return e})()}const C=P;function P(e,t){const n=T();return(P=function(e,t){return n[e-=438]})(e,t)}!function(e){const t=P,n=e();for(;;)try{if(129924===-parseInt(t(465))/1*(parseInt(t(448))/2)+-parseInt(t(475))/3+parseInt(t(460))/4+parseInt(t(458))/5+-parseInt(t(481))/6*(-parseInt(t(453))/7)+parseInt(t(467))/8*(parseInt(t(454))/9)+-parseInt(t(474))/10*(parseInt(t(447))/11))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(T);class N extends e.Plugin{static get[C(443)](){return C(473)}static get[C(438)](){return[S]}static get[C(441)](){return!0}static get[C(444)](){return!0}constructor(e){const t=C;super(e),e[t(445)][t(451)](t(490),{defaultValue:1.5,supportAllValues:!1,options:[1,1.15,t(483),2,2.5,3]})}[C(491)](){const e=C,t=this[e(472)];this[e(466)](),t[e(449)][e(459)][e(476)](e(482),{allowAttributes:e(490)}),t[e(449)][e(459)][e(455)](e(490),{isFormatting:!0}),t[e(440)][e(450)](e(490),new a(t)),this[e(472)][e(445)][e(446)](e(442))?this[e(457)]():this[e(478)]()}[C(477)](){!async function(e){const n=g([80,72,81,51,89,85,73,66,114,108,48,88,100,110,119,71,57,107,101,122,56,115,102,112,77,118,49,121,116,87,70,82,78,90,79,86,53,106,74,97,113,55,84,99,50,111,103,117,98,54,52,120,67,75,68,69,65,76,83,105,104,109]),i=window[g([68,97,116,101])][g([110,111,119])](),r=e[g([101,100,105,116,111,114])],o=new(window[g([80,114,111,109,105,115,101])])(e=>{r[g([111,110,99,101])](g([114,101,97,100,121]),e)}),s={[g([107,116,121])]:g([69,67]),[g([117,115,101])]:g([115,105,103]),[g([99,114,118])]:g([80,45,50,53,54]),[g([120])]:g([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[g([121])]:g([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[g([97,108,103])]:g([69,83,50,53,54])},a=r[g([99,111,110,102,105,103])][g([103,101,116])](g([108,105,99,101,110,115,101,75,101,121]));function c(e){const t=[new(window[g([80,114,111,109,105,115,101])])(e=>setTimeout(e,605900)),o[g([116,104,101,110])](()=>new(window[g([80,114,111,109,105,115,101])])(e=>{let t=0;r[g([109,111,100,101,108])][g([111,110])](g([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),(n,i)=>{i[0][g([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&t++,504==t&&(e(),n[g([111,102,102])]())})}))];return window[g([80,114,111,109,105,115,101])][g([114,97,99,101])](t)[g([116,104,101,110])](()=>e)}function l(e){return e[g([115,116,97,114,116,115,87,105,116,104])](g([101,121]))?JSON[g([112,97,114,115,101])](u(e)):null}function u(e){return window[g([97,116,111,98])](e[g([114,101,112,108,97,99,101])](/-/g,g([43]))[g([114,101,112,108,97,99,101])](/_/g,g([47])))}function d(e){let t=5381;function n(e){for(let n=0;n<e[g([108,101,110,103,116,104])];n++){const i=e[g([99,104,97,114,67,111,100,101,65,116])](n);t=(t<<5)+t+i,t&=t}}return function e(t){Array[g([105,115,65,114,114,97,121])](t)?t[g([102,111,114,69,97,99,104])](e):t&&typeof t==g([111,98,106,101,99,116])?Object[g([101,110,116,114,105,101,115])](t)[g([115,111,114,116])]()[g([102,111,114,69,97,99,104])](([t,i])=>{n(t),e(i)}):n(window[g([83,116,114,105,110,103])](t))}(e),t>>>0}function h(e){return e[g([116,111,83,116,114,105,110,103])](16)[g([112,97,100,83,116,97,114,116])](8,g([48]))}function p(e){return e[g([115,112,108,105,116])]("")[g([114,101,118,101,114,115,101])]()[g([106,111,105,110])]("")}function f(){}function g(e){const t=P;return e[t(479)](e=>String[t(488)](e))[t(470)]("")}!function(e){const t=function(){const e=window[g([83,116,114,105,110,103])](window[g([112,101,114,102,111,114,109,97,110,99,101])][g([110,111,119])]())[g([114,101,112,108,97,99,101])](g([46]),"");let t=g([80]);for(let i=0;i<e[g([108,101,110,103,116,104])];i+=2){let r=window[g([112,97,114,115,101,73,110,116])](e[g([115,117,98,115,116,114,105,110,103])](i,i+2));r>=n[g([108,101,110,103,116,104])]&&(r-=n[g([108,101,110,103,116,104])]),t+=n[r]}return t}();r[t]=g([108,105,110,101,72,101,105,103,104,116,76,105,99,101,110,115,101,75,101,121])+e,e!=g([86,97,108,105,100])&&async function(){await o,r[g([109,111,100,101,108])][g([99,104,97,110,103,101])]=f,r[g([109,111,100,101,108])][g([101,110,113,117,101,117,101,67,104,97,110,103,101])]=f,r[g([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](g([109,111,100,101,108]))}()}(await async function(){let e,n=null,f=null;try{return a==g([71,80,76])?g([78,111,116,65,108,108,111,119,101,100]):(e=function(){const e=a[g([115,112,108,105,116])](g([46]));return 3!=e[g([108,101,110,103,116,104])]?null:t(e[1]);function t(e){const t=l(e);return t&&n()?t:null;function n(){const e=t[g([106,116,105])],n=window[g([112,97,114,115,101,73,110,116])](e[g([115,117,98,115,116,114,105,110,103])](e[g([108,101,110,103,116,104])]-8),16),i={...t,[g([106,116,105])]:e[g([115,117,98,115,116,114,105,110,103])](0,e[g([108,101,110,103,116,104])]-8)};return delete i[g([118,99])],d(i)==n}}}(),e?(e[g([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(f=function(e,n){return new(window[g([80,114,111,109,105,115,101])])(c=>{if(s())return c(g([86,97,108,105,100]));a(),r[g([100,101,99,111,114,97,116,101])](g([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let l=!1;const u=(0,t.uid)();function f(e){return!!e&&(typeof e===g([111,98,106,101,99,116])||typeof e===g([102,117,110,99,116,105,111,110]))&&typeof e[g([116,104,101,110])]===g([102,117,110,99,116,105,111,110])&&typeof e[g([99,97,116,99,104])]===g([102,117,110,99,116,105,111,110])}function m(t){a(t)[g([116,104,101,110])](e=>e&&e[g([115,116,97,116,117,115])]==g([111,107])?h(d(u+n))!=e[g([118,101,114,105,102,105,99,97,116,105,111,110])]?g([85,115,97,103,101,76,105,109,105,116]):g([86,97,108,105,100]):g([85,115,97,103,101,76,105,109,105,116]))[g([116,104,101,110])](e=>(o(),e),()=>{const e=s();return null==e?(o(),g([86,97,108,105,100])):g(i-e>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[g([116,104,101,110])](c)[g([99,97,116,99,104])](()=>{c(g([85,115,97,103,101,76,105,109,105,116]))});const r=36e5;function o(){const t=g([108,108,99,116,45])+h(d(e)),n=p(h(window[g([77,97,116,104])][g([99,101,105,108])](i/r)));window[g([108,111,99,97,108,83,116,111,114,97,103,101])][g([115,101,116,73,116,101,109])](t,n)}function s(){const t=g([108,108,99,116,45])+h(d(e)),n=window[g([108,111,99,97,108,83,116,111,114,97,103,101])][g([103,101,116,73,116,101,109])](t);return n?window[g([112,97,114,115,101,73,110,116])](p(n),16)*r:null}function a(e){return new(window[g([80,114,111,109,105,115,101])])((t,n)=>{e[g([116,104,101,110])](t,n),window[g([115,101,116,84,105,109,101,111,117,116])](n,12e4)})}}r[g([111,110])](g([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t,n)=>{if(n[0]!=e)return c(g([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[g([114,101,113,117,101,115,116,73,100])]:u}},{[g([112,114,105,111,114,105,116,121])]:g([104,105,103,104])}),r[g([111,110])](g([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),e=>{f(e[g([114,101,116,117,114,110])])&&(l=!0,m(e[g([114,101,116,117,114,110])]))},{[g([112,114,105,111,114,105,116,121])]:g([108,111,119])}),o[g([116,104,101,110])](()=>{l||c(g([85,115,97,103,101,76,105,109,105,116]))})});function s(){return r[g([101,100,105,116,105,110,103])][g([118,105,101,119])][g([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==g([97,117,116,111])}function a(){r[g([101,100,105,116,105,110,103])][g([118,105,101,119])][g([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=g([97,117,116,111])}}(e[g([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[g([106,116,105])])),await async function(){let e=!0;try{const i=a[g([115,112,108,105,116])](g([46])),[r,o,s]=i;return t(r),await n(r,o,s),e}catch{return!1}function t(t){const n=l(t);n&&n[g([97,108,103])]==g([69,83,50,53,54])||(e=!1)}async function n(t,n,i){const r=window[g([85,105,110,116,56,65,114,114,97,121])][g([102,114,111,109])](u(i),e=>e[g([99,104,97,114,67,111,100,101,65,116])](0)),o=(new(window[g([84,101,120,116,69,110,99,111,100,101,114])]))[g([101,110,99,111,100,101])](t+g([46])+n),a=window[g([99,114,121,112,116,111])][g([115,117,98,116,108,101])];if(!a)return;const c=await a[g([105,109,112,111,114,116,75,101,121])](g([106,119,107]),s,{[g([110,97,109,101])]:g([69,67,68,83,65]),[g([110,97,109,101,100,67,117,114,118,101])]:g([80,45,50,53,54])},!1,[g([118,101,114,105,102,121])]);await a[g([118,101,114,105,102,121])]({[g([110,97,109,101])]:g([69,67,68,83,65]),[g([104,97,115,104])]:{[g([110,97,109,101])]:g([83,72,65,45,50,53,54])}},c,r,o)||(e=!1)}}()?function(){const t=e[g([102,101,97,116,117,114,101,115])];return!(!t||!t[g([105,110,99,108,117,100,101,115])](g([42]))&&!t[g([105,110,99,108,117,100,101,115])](g([76,72])))}()?function(){const t=[g([101,118,97,108,117,97,116,105,111,110]),g([116,114,105,97,108])][g([105,110,99,108,117,100,101,115])](e[g([108,105,99,101,110,115,101,84,121,112,101])])?i/1e3:1765756800;return e[g([101,120,112])]<t}()?g([69,120,112,105,114,101,100]):function(){const t=P,n=e[g([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[g([108,101,110,103,116,104])])return!0;const{hostname:i}=new URL(window[g([108,111,99,97,116,105,111,110])][t(486)]);if(n[g([105,110,99,108,117,100,101,115])](i))return!0;const r=i[g([115,112,108,105,116])](g([46]));return n[g([102,105,108,116,101,114])](e=>e[g([105,110,99,108,117,100,101,115])](g([42])))[g([109,97,112])](e=>e[g([115,112,108,105,116])](g([46])))[g([102,105,108,116,101,114])](e=>e[g([108,101,110,103,116,104])]<=r[g([108,101,110,103,116,104])])[g([109,97,112])](e=>Array(r[g([108,101,110,103,116,104])]-e[g([108,101,110,103,116,104])])[g([102,105,108,108])](e[0]===g([42])?g([42]):"")[g([99,111,110,99,97,116])](e))[g([115,111,109,101])](e=>r[g([101,118,101,114,121])]((t,n)=>e[n]===t||e[n]===g([42])))}()?(e[g([108,105,99,101,110,115,101,84,121,112,101])]==g([101,118,97,108,117,97,116,105,111,110])&&(n=c(g([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[g([108,105,99,101,110,115,101,84,121,112,101])]==g([116,114,105,97,108])&&(n=c(g([84,114,105,97,108,76,105,109,105,116]))),await(n&&f?new(window[g([80,114,111,109,105,115,101])])((e,t)=>{n[g([116,104,101,110])](e,t),f[g([116,104,101,110])](t=>{t!=g([86,97,108,105,100])&&e(t)},t)}):n||f||g([86,97,108,105,100]))):g([68,111,109,97,105,110,76,105,109,105,116]):g([78,111,116,65,108,108,111,119,101,100]):g([73,110,118,97,108,105,100])):g([73,110,118,97,108,105,100]))}catch{return g([73,110,118,97,108,105,100])}}())}(this)}[C(466)](){const e=C,n=this[e(472)];if(!n[e(445)][e(446)](e(442)))return;const i=n[e(445)][e(446)](e(452))[e(485)](t=>e(462)==typeof t&&!d(t)&&isNaN(Number(t)));if(i[e(463)])throw new t.CKEditorError(e(484),null,{namedPresets:i})}[C(457)](){const e=C,t=this[e(472)],n=this[e(472)][e(445)][e(446)](e(456));t[e(471)][e(492)](e(493))[e(489)]({model:{key:e(490)},view:t=>String(t)===String(n)?null:{key:e(469),value:{"line-height":t}}}),t[e(471)][e(492)](e(487))[e(489)]({model:{key:e(490),value:t=>{const i=e;let r=t[i(464)](i(461));return(0,c.isPercentageStyleValue)(r)&&(r=String(Number(r[i(439)](0,-1))/100)),String(r)===String(n)?null:r}},view:{styles:{"line-height":/.*/}}})}[C(478)](){const e=C,t=this[e(472)],n=this[e(472)][e(445)][e(446)](e(456)),i=p(this[e(472)][e(445)][e(446)](e(490)))[e(485)](t=>t[e(449)]),r=function(e,t){const n=h,i={model:{key:e,values:[]},view:{}};for(const e of t)n(310)===e[n(304)]?.[n(307)]?(i[n(308)][n(281)][n(300)](e[n(308)]),i[n(304)][e[n(308)]]={key:n(310),value:e[n(304)][n(294)]}):(i[n(308)][n(281)][n(300)](e[n(308)]),i[n(304)][e[n(308)]]={key:n(288),value:n(303)+e[n(308)]+";"});return i}(e(490),i);t[e(471)][e(489)](r),t[e(471)][e(492)](e(487))[e(489)]({view:{styles:{"line-height":/[\s\S]+/}},model:{key:e(490),value:t=>{const i=e;let o=t[i(464)](i(461));return(0,c.isPercentageStyleValue)(o)&&(o=String(Number(o[i(439)](0,-1))/100)),o===String(n)?null:r[i(449)][i(468)][i(480)](o)?o:null}}})}}var x=n(311),K=n(355),V=n(784),B={attributes:{"data-cke":!0}};B.setAttributes=b(),B.insert=y().bind(null,"head"),B.domAPI=v(),B.insertStyleElement=_();g()(V.A,B);V.A&&V.A.locals&&V.A.locals;class M extends e.Plugin{licenseKey;_licenseKeyCheckInterval;static get pluginName(){return"LineHeightUI"}static get isOfficialPlugin(){return!0}static get isPremiumPlugin(){return!0}init(){const e={accessibleLabel:(0,this.editor.t)("Line height"),options:this._prepareListOptions()};this._registerToolbarComponent(e),this._registerMenuBarComponent(e),this.licenseKey=this.editor.config.get("licenseKey");const t=this.editor;this._licenseKeyCheckInterval=setInterval(()=>{let e;for(const n in t){const i=n,r=t[i];if("lineHeightLicenseKeyValid"==r||"lineHeightLicenseKeyInvalid"==r||"lineHeightLicenseKeyExpired"==r||"lineHeightLicenseKeyDomainLimit"==r||"lineHeightLicenseKeyNotAllowed"==r||"lineHeightLicenseKeyEvaluationLimit"==r||"lineHeightLicenseKeyTrialLimit"==r||"lineHeightLicenseKeyUsageLimit"==r){delete t[i],e=r,clearInterval(this._licenseKeyCheckInterval),this._licenseKeyCheckInterval=void 0;break}}"lineHeightLicenseKeyInvalid"==e&&t._showLicenseError("invalid"),"lineHeightLicenseKeyExpired"==e&&t._showLicenseError("expired"),"lineHeightLicenseKeyDomainLimit"==e&&t._showLicenseError("domainLimit"),"lineHeightLicenseKeyNotAllowed"==e&&t._showLicenseError("featureNotAllowed","LineHeight"),"lineHeightLicenseKeyEvaluationLimit"==e&&t._showLicenseError("evaluationLimit"),"lineHeightLicenseKeyTrialLimit"==e&&t._showLicenseError("trialLimit"),"lineHeightLicenseKeyUsageLimit"==e&&t._showLicenseError("usageLimit")},1e3)}destroy(){super.destroy(),this._licenseKeyCheckInterval&&clearInterval(this._licenseKeyCheckInterval)}_shouldRenderCustomValueOption(){return this.editor.config.get("lineHeight.supportAllValues")}_getLocalizedLineHeightOptions(){const e=this.editor,t=e.t,n=e.config.get("lineHeight"),i={Single:t({string:"Single",id:"LINE_HEIGHT_SINGLE_OPTION_LABEL"}),Double:t({string:"Double",id:"LINE_HEIGHT_DOUBLE_OPTION_LABEL"})};return p(n).map(e=>{const t=i[e.title];return t&&t!=e.title&&(e=Object.assign({},e,{title:t})),e})}_prepareListOptions(){const e=this.editor.commands.get("lineHeight"),n=this.editor.config.get("lineHeight.defaultValue"),i=this._getLocalizedLineHeightOptions(),r=new t.Collection,o=e=>"default"===e||String(n)===e;for(const t of i){const n={type:"button",model:new x.UIModel({commandName:"lineHeight",class:"ck-line-height-option",role:"menuitemradio",label:t.title,withText:!0})};o(t.model)?(n.model.bind("isOn").to(e,"value",e=>!e),n.model.commandParam=void 0):(n.model.bind("isOn").to(e,"value",e=>e===t.model),n.model.commandParam=t.model),r.add(n)}if(this._shouldRenderCustomValueOption()){const e=this._getCustomValueOptionDefinition(i);r.add(e)}return r}_getCustomValueOptionDefinition(e){const t=this.editor,n=t.t,i=t.commands.get("lineHeight"),r=e.map(e=>e.model),o={type:"button",model:new x.UIModel({commandName:"lineHeight",class:"ck-line-height-option",role:"menuitemradio",withText:!0})};return o.model.bind("commandParam").to(i,"value"),o.model.bind("isOn").to(i,"value",e=>!!e&&!r.includes(String(e))),o.model.bind("label").to(i,"value",e=>n({string:"Custom: %0",id:"LINE_HEIGHT_CUSTOM_OPTION_LABEL"},String(e))),o}_registerToolbarComponent({accessibleLabel:e,options:t}){const n=this.editor,i=n.commands.get("lineHeight");n.ui.componentFactory.add("lineHeight",r=>{const o=(0,x.createDropdown)(r);return(0,x.addListToDropdown)(o,t,{role:"menu",ariaLabel:e}),o.buttonView.set({label:e,tooltip:!0,icon:K.IconLineHeight}),o.extendTemplate({attributes:{class:["ck-line-height-dropdown"]}}),o.bind("isEnabled").to(i),this.listenTo(o,"execute",e=>{n.execute(e.source.commandName,{value:e.source.commandParam}),n.editing.view.focus()}),o.once("change:isOpen",()=>{const e=o.panelView.children.first;this._attachCustomOptionVisibilityHandler(o,t,e)}),o})}_registerMenuBarComponent({accessibleLabel:e,options:t}){const n=this.editor,i=n.commands.get("lineHeight");n.ui.componentFactory.add("menuBar:lineHeight",r=>{const o=new x.MenuBarMenuView(r);o.buttonView.set({label:e,icon:K.IconLineHeight}),o.bind("isEnabled").to(i);const s=new x.MenuBarMenuListView(r);for(const e of t){const t=new x.MenuBarMenuListItemView(r,o),i=new x.MenuBarMenuListItemButtonView(r);i.set({role:"menuitemradio",isToggleable:!0}),i.bind(...Object.keys(e.model)).to(e.model),i.delegate("execute").to(o),i.on("execute",()=>{n.execute(e.model.commandName,{value:e.model.commandParam}),n.editing.view.focus()}),t.children.add(i),s.items.add(t)}return o.panelView.children.add(s),this._attachCustomOptionVisibilityHandler(o,t,s),o})}_attachCustomOptionVisibilityHandler(e,t,n){if(!this._shouldRenderCustomValueOption())return;const i=()=>{e.isOpen&&(n.items.last.isVisible=Boolean(t.last.model.isOn))};i(),e.on("change:isOpen",()=>{i()})}}var j=U;function D(){var e=["9ouDtsP","14NsktLF","1490062ynmUZy","1012500zfehZK","isOfficialPlugin","5155968eEuTLi","isPremiumPlugin","9745YOsLgY","385566HrSLvr","3qHbSWK","pluginName","1228vqgRKI","1346610gReccA","7501483rksHkj","requires","LineHeight"];return(D=function(){return e})()}function U(e,t){var n=D();return(U=function(e,t){return n[e-=208]})(e,t)}!function(e){for(var t=U,n=e();;)try{if(565172===parseInt(t(217))/1+-parseInt(t(216))/2*(parseInt(t(223))/3)+parseInt(t(209))/4*(parseInt(t(221))/5)+-parseInt(t(222))/6*(parseInt(t(215))/7)+parseInt(t(219))/8+-parseInt(t(214))/9*(parseInt(t(210))/10)+-parseInt(t(211))/11)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(D);class R extends e.Plugin{static get[j(212)](){return[N,M]}static get[j(208)](){return j(213)}static get[j(218)](){return!0}static get[j(220)](){return!0}}function G(){var e=["4evFoMy","3BVqjLQ","78MyesmU","8zqTcLu","133115slchFK","31235974uoGKbo","4755156dHsbSL","5717103yOwbcI","1190358UYfLyV","13639540iMrSFj","159202vmXmTY"];return(G=function(){return e})()}function F(e,t){var n=G();return(F=function(e,t){return n[e-=445]})(e,t)}!function(e){for(var t=F,n=e();;)try{if(999053===parseInt(t(447))/1*(-parseInt(t(448))/2)+parseInt(t(449))/3*(-parseInt(t(454))/4)+parseInt(t(452))/5*(parseInt(t(450))/6)+parseInt(t(455))/7+-parseInt(t(451))/8*(parseInt(t(445))/9)+-parseInt(t(446))/10+parseInt(t(453))/11)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 _0x3f822c,Plugin as _0x1e2eeb}from'@ckeditor/ckeditor5-core/dist/index.js';import{first as _0x1d4e4f,CKEditorError as _0x3cabaa,uid as _0x57cec7,Collection as _0x3c2329}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Matcher as _0x33ce4e,isPercentageStyleValue as _0xc8d743}from'@ckeditor/ckeditor5-engine/dist/index.js';import{UIModel as _0x39d98c,createDropdown as _0x3b03d8,addListToDropdown as _0x4f6358,MenuBarMenuView as _0x1c6fc9,MenuBarMenuListView as _0x21b5cd,MenuBarMenuListItemView as _0x19f6ed,MenuBarMenuListItemButtonView as _0x558da0}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconLineHeight as _0x2d784b}from'@ckeditor/ckeditor5-icons/dist/index.js';class n extends _0x3f822c{['refresh'](){const _0xb29655=this['editor']['model']['document'],_0xcb9802=_0x1d4e4f(_0xb29655['selection']['getSelectedBlocks']());this['isEnabled']=Boolean(_0xcb9802)&&this['_canHaveLineHeight'](_0xcb9802),this['value']=this['isEnabled']&&_0xcb9802['getAttribute']('lineHeight');}['execute'](_0x19743f={}){const _0x4eda25=this['editor']['model'],_0x4c2555=_0x4eda25['document']['selection'],_0x1e5bd4=_0x19743f['value'];_0x4eda25['change'](_0x37ea89=>{const _0x865060=Array['from'](_0x4c2555['getSelectedBlocks']())['filter'](_0x556225=>this['_canHaveLineHeight'](_0x556225));for(const _0x4dafee of _0x865060)_0x1e5bd4?_0x37ea89['setAttribute']('lineHeight',_0x1e5bd4,_0x4dafee):_0x37ea89['removeAttribute']('lineHeight',_0x4dafee);});}['_canHaveLineHeight'](_0x367ce1){return this['editor']['model']['schema']['checkAttribute'](_0x367ce1,'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(_0x1ddcdf){return'string'==typeof _0x1ddcdf&&'default'===_0x1ddcdf['toLowerCase']();}function a(_0x56f108){return _0x56f108['options']['map'](_0x5c9ce4=>{return f(_0x5c9ce4)?{'title':String(_0x56f108['defaultValue']),'model':'default'}:('number'==typeof _0x5c9ce4&&(_0x5c9ce4=String(_0x5c9ce4)),'string'!=typeof _0x5c9ce4?_0x5c9ce4:parseFloat(_0x5c9ce4)?{'title':_0x5c9ce4,'model':_0x5c9ce4,'view':{'name':'span','styles':{'line-height':_0x5c9ce4}}}:'string'==typeof(_0x5544f2=_0x5c9ce4)?v[_0x5544f2]:v[_0x5544f2['model']]);var _0x5544f2;})['filter'](_0x18d04e=>void 0x0!==_0x18d04e);}class g extends _0x1e2eeb{static get['pluginName'](){return'LineHeightTodoListIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {plugins:_0x95db24,conversion:_0x2fa980}=this['editor'];if(!_0x95db24['has']('ListEditing')||!_0x95db24['has']('TodoListEditing'))return;_0x95db24['get']('ListEditing')['registerDowncastStrategy']({'scope':'item','attributeName':'lineHeight','consume':!0x1,'setAttributeOnDowncast'(_0x65ce42,_0x553bc4,_0x1dbec3,_0x1dfaf8,_0x2e078c){'todo'==_0x2e078c['getAttribute']('listType')&&_0x553bc4&&(_0x65ce42['addClass']('ck-list-marker-line-height',_0x1dbec3),_0x65ce42['setStyle']('--ck-content-list-marker-line-height',_0x553bc4,_0x1dbec3));}}),_0x2fa980['for']('upcast')['elementToElement']({'view':{'name':'span','classes':'todo-list__label__description'},'model':'paragraph','converterPriority':'high'}),_0x2fa980['for']('upcast')['add'](_0xf2f16b=>{_0xf2f16b['on']('element:li',function(_0x552895){const _0x3a0fa9=new _0x33ce4e(_0x552895);return(_0x4c6d4c,_0x47e4e1,_0x3ebdda)=>{const _0x2d8ff1=_0x3a0fa9['match'](_0x47e4e1['viewItem']);if(!_0x2d8ff1)return;const _0x5b33ca=_0x2d8ff1['match'];_0x5b33ca['name']=!0x1,_0x3ebdda['consumable']['consume'](_0x47e4e1['viewItem'],_0x5b33ca);};}({'name':'li','classes':'ck-list-marker-line-height','styles':{'--ck-content-list-marker-line-height':/.*/}}));});}}class e extends _0x1e2eeb{static get['pluginName'](){return'LineHeightEditing';}static get['requires'](){return[g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x21650b){super(_0x21650b),_0x21650b['config']['define']('lineHeight',{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,'default',0x2,2.5,0x3]});}['init'](){const _0x22c954=this['editor'];this['_validateConfig'](),_0x22c954['model']['schema']['extend']('$block',{'allowAttributes':'lineHeight'}),_0x22c954['model']['schema']['setAttributeProperties']('lineHeight',{'isFormatting':!0x0}),_0x22c954['commands']['add']('lineHeight',new n(_0x22c954)),this['editor']['config']['get']('lineHeight.supportAllValues')?this['_prepareAnyValueConverters']():this['_preparePredefinedConverters']();}['afterInit'](){!async function(_0x499c32){const _0x38d6e7=_0xfebdc6([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]),_0x21d504=0x45ddd215,_0x3eb8bb=0x45daa9f5^_0x21d504,_0x4e9965=window[_0xfebdc6([0x44,0x61,0x74,0x65])][_0xfebdc6([0x6e,0x6f,0x77])](),_0xb0c479=_0x499c32[_0xfebdc6([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x533615=new window[(_0xfebdc6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x123e93=>{_0xb0c479[_0xfebdc6([0x6f,0x6e,0x63,0x65])](_0xfebdc6([0x72,0x65,0x61,0x64,0x79]),_0x123e93);}),_0x332b5a={[_0xfebdc6([0x6b,0x74,0x79])]:_0xfebdc6([0x45,0x43]),[_0xfebdc6([0x75,0x73,0x65])]:_0xfebdc6([0x73,0x69,0x67]),[_0xfebdc6([0x63,0x72,0x76])]:_0xfebdc6([0x50,0x2d,0x32,0x35,0x36]),[_0xfebdc6([0x78])]:_0xfebdc6([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]),[_0xfebdc6([0x79])]:_0xfebdc6([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]),[_0xfebdc6([0x61,0x6c,0x67])]:_0xfebdc6([0x45,0x53,0x32,0x35,0x36])},_0x4b6c82=_0xb0c479[_0xfebdc6([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xfebdc6([0x67,0x65,0x74])](_0xfebdc6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xe5ec05(){let _0x16b3f0,_0x4aea56=null,_0x2d0d44=null;try{if(_0x4b6c82==_0xfebdc6([0x47,0x50,0x4c]))return _0xfebdc6([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x16b3f0=_0x1513e6(),!_0x16b3f0)return _0xfebdc6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x16b3f0[_0xfebdc6([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2d0d44=_0x3f7ff3(_0x16b3f0[_0xfebdc6([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x16b3f0[_0xfebdc6([0x6a,0x74,0x69])])),await _0x53a6d5()?_0x3dcee8()?_0x31492e()?_0xfebdc6([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4aaa30()?(_0x16b3f0[_0xfebdc6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xfebdc6([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4aea56=_0xdd7820(_0xfebdc6([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x16b3f0[_0xfebdc6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xfebdc6([0x74,0x72,0x69,0x61,0x6c])&&(_0x4aea56=_0xdd7820(_0xfebdc6([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x28d943()):_0xfebdc6([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xfebdc6([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xfebdc6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xfebdc6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x31492e(){const _0x33e6d6=[_0xfebdc6([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xfebdc6([0x74,0x72,0x69,0x61,0x6c])][_0xfebdc6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x16b3f0[_0xfebdc6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4e9965/0x3e8:0xe10*_0x3eb8bb;return _0x16b3f0[_0xfebdc6([0x65,0x78,0x70])]<_0x33e6d6;}function _0x3dcee8(){const _0xb3b5d2=_0x16b3f0[_0xfebdc6([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xb3b5d2&&(!!_0xb3b5d2[_0xfebdc6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xfebdc6([0x2a]))||!!_0xb3b5d2[_0xfebdc6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xfebdc6([0x4c,0x48])));}function _0x4aaa30(){const _0x2bf2e3=_0x16b3f0[_0xfebdc6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2bf2e3||0x0==_0x2bf2e3[_0xfebdc6([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x59cb32}=new URL(window[_0xfebdc6([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2bf2e3[_0xfebdc6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x59cb32))return!0x0;const _0x2b70b4=_0x59cb32[_0xfebdc6([0x73,0x70,0x6c,0x69,0x74])](_0xfebdc6([0x2e]));return _0x2bf2e3[_0xfebdc6([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xa5d980=>_0xa5d980[_0xfebdc6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xfebdc6([0x2a])))[_0xfebdc6([0x6d,0x61,0x70])](_0x1070d4=>_0x1070d4[_0xfebdc6([0x73,0x70,0x6c,0x69,0x74])](_0xfebdc6([0x2e])))[_0xfebdc6([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3f1f07=>_0x3f1f07[_0xfebdc6([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2b70b4[_0xfebdc6([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xfebdc6([0x6d,0x61,0x70])](_0x11d128=>Array(_0x2b70b4[_0xfebdc6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x11d128[_0xfebdc6([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xfebdc6([0x66,0x69,0x6c,0x6c])](_0x11d128[0x0]===_0xfebdc6([0x2a])?_0xfebdc6([0x2a]):'')[_0xfebdc6([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x11d128))[_0xfebdc6([0x73,0x6f,0x6d,0x65])](_0x59769e=>_0x2b70b4[_0xfebdc6([0x65,0x76,0x65,0x72,0x79])]((_0x4444b9,_0x403a94)=>_0x59769e[_0x403a94]===_0x4444b9||_0x59769e[_0x403a94]===_0xfebdc6([0x2a])));}function _0x28d943(){return _0x4aea56&&_0x2d0d44?new window[(_0xfebdc6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x39751e,_0x2d8dab)=>{_0x4aea56[_0xfebdc6([0x74,0x68,0x65,0x6e])](_0x39751e,_0x2d8dab),_0x2d0d44[_0xfebdc6([0x74,0x68,0x65,0x6e])](_0x11e256=>{_0x11e256!=_0xfebdc6([0x56,0x61,0x6c,0x69,0x64])&&_0x39751e(_0x11e256);},_0x2d8dab);}):_0x4aea56||_0x2d0d44||_0xfebdc6([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3f7ff3(_0x4e336a,_0x10e31d){return new window[(_0xfebdc6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x547e74=>{if(_0x8b513c())return _0x547e74(_0xfebdc6([0x56,0x61,0x6c,0x69,0x64]));_0x4d6aa6(),_0xb0c479[_0xfebdc6([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xfebdc6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1ddbc6=!0x1;const _0x588c38=_0x57cec7();function _0x206648(_0x2c21d5){return!!_0x2c21d5&&(typeof _0x2c21d5===_0xfebdc6([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2c21d5===_0xfebdc6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2c21d5[_0xfebdc6([0x74,0x68,0x65,0x6e])]===_0xfebdc6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2c21d5[_0xfebdc6([0x63,0x61,0x74,0x63,0x68])]===_0xfebdc6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x9bfbb6(_0x1c0ba9){_0x405402(_0x1c0ba9)[_0xfebdc6([0x74,0x68,0x65,0x6e])](_0x106984=>{if(!_0x106984||_0x106984[_0xfebdc6([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xfebdc6([0x6f,0x6b]))return _0xfebdc6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x58119c(_0x5d22c7(_0x588c38+_0x10e31d))!=_0x106984[_0xfebdc6([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xfebdc6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xfebdc6([0x56,0x61,0x6c,0x69,0x64]);})[_0xfebdc6([0x74,0x68,0x65,0x6e])](_0x55a007=>(_0x1104cf(),_0x55a007),()=>{const _0x4b9d3f=_0x43aa62();return null==_0x4b9d3f?(_0x1104cf(),_0xfebdc6([0x56,0x61,0x6c,0x69,0x64])):_0xfebdc6(_0x4e9965-_0x4b9d3f>(0x61d15615^_0x21d504)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xfebdc6([0x74,0x68,0x65,0x6e])](_0x547e74)[_0xfebdc6([0x63,0x61,0x74,0x63,0x68])](()=>{_0x547e74(_0xfebdc6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x56f424=0x45eb3c95^_0x21d504;function _0x1104cf(){const _0x29c299=_0xfebdc6([0x6c,0x6c,0x63,0x74,0x2d])+_0x58119c(_0x5d22c7(_0x4e336a)),_0x2bb142=_0x284198(_0x58119c(window[_0xfebdc6([0x4d,0x61,0x74,0x68])][_0xfebdc6([0x63,0x65,0x69,0x6c])](_0x4e9965/_0x56f424)));window[_0xfebdc6([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xfebdc6([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x29c299,_0x2bb142);}function _0x43aa62(){const _0x5b1281=_0xfebdc6([0x6c,0x6c,0x63,0x74,0x2d])+_0x58119c(_0x5d22c7(_0x4e336a)),_0x1e2d0f=window[_0xfebdc6([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xfebdc6([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5b1281);return _0x1e2d0f?window[_0xfebdc6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x284198(_0x1e2d0f),0x10)*_0x56f424:null;}function _0x405402(_0x98bbe){return new window[(_0xfebdc6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x51800b,_0x298f49)=>{_0x98bbe[_0xfebdc6([0x74,0x68,0x65,0x6e])](_0x51800b,_0x298f49),window[_0xfebdc6([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x298f49,0x45dc06d5^_0x21d504);});}}_0xb0c479[_0xfebdc6([0x6f,0x6e])](_0xfebdc6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5be481,_0x599196)=>{if(_0x599196[0x0]!=_0x4e336a)return _0x547e74(_0xfebdc6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x599196[0x1]={..._0x599196[0x1],[_0xfebdc6([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x588c38};},{[_0xfebdc6([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xfebdc6([0x68,0x69,0x67,0x68])}),_0xb0c479[_0xfebdc6([0x6f,0x6e])](_0xfebdc6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x19b366=>{_0x206648(_0x19b366[_0xfebdc6([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1ddbc6=!0x0,_0x9bfbb6(_0x19b366[_0xfebdc6([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xfebdc6([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xfebdc6([0x6c,0x6f,0x77])}),_0x533615[_0xfebdc6([0x74,0x68,0x65,0x6e])](()=>{_0x1ddbc6||_0x547e74(_0xfebdc6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x8b513c(){return _0xb0c479[_0xfebdc6([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xfebdc6([0x76,0x69,0x65,0x77])][_0xfebdc6([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xfebdc6([0x61,0x75,0x74,0x6f]);}function _0x4d6aa6(){_0xb0c479[_0xfebdc6([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xfebdc6([0x76,0x69,0x65,0x77])][_0xfebdc6([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xfebdc6([0x61,0x75,0x74,0x6f]);}}function _0xdd7820(_0x301d77){const _0x4dd459=[new window[(_0xfebdc6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5dee57=>setTimeout(_0x5dee57,0x45d4ecd9^_0x21d504)),_0x533615[_0xfebdc6([0x74,0x68,0x65,0x6e])](()=>new window[(_0xfebdc6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4c5f90=>{let _0x4153a8=0x0;_0xb0c479[_0xfebdc6([0x6d,0x6f,0x64,0x65,0x6c])][_0xfebdc6([0x6f,0x6e])](_0xfebdc6([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4c2973,_0x47f494)=>{_0x47f494[0x0][_0xfebdc6([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4153a8++,_0x4153a8==(0x45ddd3ed^_0x21d504)&&(_0x4c5f90(),_0x4c2973[_0xfebdc6([0x6f,0x66,0x66])]());});}))];return window[_0xfebdc6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xfebdc6([0x72,0x61,0x63,0x65])](_0x4dd459)[_0xfebdc6([0x74,0x68,0x65,0x6e])](()=>_0x301d77);}async function _0x382184(){await _0x533615,_0xb0c479[_0xfebdc6([0x6d,0x6f,0x64,0x65,0x6c])][_0xfebdc6([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2e6797,_0xb0c479[_0xfebdc6([0x6d,0x6f,0x64,0x65,0x6c])][_0xfebdc6([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2e6797,_0xb0c479[_0xfebdc6([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xfebdc6([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3ad57e(_0x504f3b){const _0x2190bc=_0x24e2ee();_0xb0c479[_0x2190bc]=_0xfebdc6([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x504f3b,_0x504f3b!=_0xfebdc6([0x56,0x61,0x6c,0x69,0x64])&&_0x382184();}function _0x24e2ee(){const _0x47885f=window[_0xfebdc6([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xfebdc6([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xfebdc6([0x6e,0x6f,0x77])]())[_0xfebdc6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xfebdc6([0x2e]),'');let _0x4ecee5=_0xfebdc6([0x50]);for(let _0x5d6bb8=0x0;_0x5d6bb8<_0x47885f[_0xfebdc6([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5d6bb8+=0x2){let _0x138d38=window[_0xfebdc6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x47885f[_0xfebdc6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5d6bb8,_0x5d6bb8+0x2));_0x138d38>=_0x38d6e7[_0xfebdc6([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x138d38-=_0x38d6e7[_0xfebdc6([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4ecee5+=_0x38d6e7[_0x138d38];}return _0x4ecee5;}function _0x1513e6(){const _0x29b56b=_0x4b6c82[_0xfebdc6([0x73,0x70,0x6c,0x69,0x74])](_0xfebdc6([0x2e]));if(0x3!=_0x29b56b[_0xfebdc6([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x27c02a(_0x29b56b[0x1]);function _0x27c02a(_0x34b0e1){const _0x2b0109=_0x597e53(_0x34b0e1);return _0x2b0109&&_0x43bbbc()?_0x2b0109:null;function _0x43bbbc(){const _0x8d863f=_0x2b0109[_0xfebdc6([0x6a,0x74,0x69])],_0x336855=window[_0xfebdc6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x8d863f[_0xfebdc6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x8d863f[_0xfebdc6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3039c4={..._0x2b0109,[_0xfebdc6([0x6a,0x74,0x69])]:_0x8d863f[_0xfebdc6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x8d863f[_0xfebdc6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3039c4[_0xfebdc6([0x76,0x63])],_0x5d22c7(_0x3039c4)==_0x336855;}}}async function _0x53a6d5(){let _0x578907=!0x0;try{const _0x403c7e=_0x4b6c82[_0xfebdc6([0x73,0x70,0x6c,0x69,0x74])](_0xfebdc6([0x2e])),[_0x367fad,_0x299262,_0x568e7d]=_0x403c7e;return _0x1691bf(_0x367fad),await _0x47e678(_0x367fad,_0x299262,_0x568e7d),_0x578907;}catch{return!0x1;}function _0x1691bf(_0x3b7172){const _0x346f98=_0x597e53(_0x3b7172);_0x346f98&&_0x346f98[_0xfebdc6([0x61,0x6c,0x67])]==_0xfebdc6([0x45,0x53,0x32,0x35,0x36])||(_0x578907=!0x1);}async function _0x47e678(_0x1971cc,_0xba3f4a,_0x4fa75c){const _0x5a043c=window[_0xfebdc6([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xfebdc6([0x66,0x72,0x6f,0x6d])](_0x296877(_0x4fa75c),_0x55acd6=>_0x55acd6[_0xfebdc6([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x47bb29=new window[(_0xfebdc6([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xfebdc6([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1971cc+_0xfebdc6([0x2e])+_0xba3f4a),_0x344299=window[_0xfebdc6([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xfebdc6([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x344299)return;const _0x1de6f9=await _0x344299[_0xfebdc6([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xfebdc6([0x6a,0x77,0x6b]),_0x332b5a,{[_0xfebdc6([0x6e,0x61,0x6d,0x65])]:_0xfebdc6([0x45,0x43,0x44,0x53,0x41]),[_0xfebdc6([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xfebdc6([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xfebdc6([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x344299[_0xfebdc6([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xfebdc6([0x6e,0x61,0x6d,0x65])]:_0xfebdc6([0x45,0x43,0x44,0x53,0x41]),[_0xfebdc6([0x68,0x61,0x73,0x68])]:{[_0xfebdc6([0x6e,0x61,0x6d,0x65])]:_0xfebdc6([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1de6f9,_0x5a043c,_0x47bb29)||(_0x578907=!0x1);}}function _0x597e53(_0x46a7bb){return _0x46a7bb[_0xfebdc6([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xfebdc6([0x65,0x79]))?JSON[_0xfebdc6([0x70,0x61,0x72,0x73,0x65])](_0x296877(_0x46a7bb)):null;}function _0x296877(_0x548d65){return window[_0xfebdc6([0x61,0x74,0x6f,0x62])](_0x548d65[_0xfebdc6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xfebdc6([0x2b]))[_0xfebdc6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xfebdc6([0x2f])));}function _0x5d22c7(_0x4d8f72){let _0xf8f04d=0x1505;function _0x566c98(_0x468d59){for(let _0x444728=0x0;_0x444728<_0x468d59[_0xfebdc6([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x444728++){const _0x5c7f59=_0x468d59[_0xfebdc6([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x444728);_0xf8f04d=(_0xf8f04d<<0x5)+_0xf8f04d+_0x5c7f59,_0xf8f04d&=_0xf8f04d;}}function _0xad78da(_0x3c8f1a){Array[_0xfebdc6([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3c8f1a)?_0x3c8f1a[_0xfebdc6([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xad78da):_0x3c8f1a&&typeof _0x3c8f1a==_0xfebdc6([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xfebdc6([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3c8f1a)[_0xfebdc6([0x73,0x6f,0x72,0x74])]()[_0xfebdc6([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x249a28,_0x2d55ff])=>{_0x566c98(_0x249a28),_0xad78da(_0x2d55ff);}):_0x566c98(window[_0xfebdc6([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3c8f1a));}return _0xad78da(_0x4d8f72),_0xf8f04d>>>0x0;}function _0x58119c(_0x1710c9){return _0x1710c9[_0xfebdc6([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xfebdc6([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xfebdc6([0x30]));}function _0x284198(_0x2b4965){return _0x2b4965[_0xfebdc6([0x73,0x70,0x6c,0x69,0x74])]('')[_0xfebdc6([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xfebdc6([0x6a,0x6f,0x69,0x6e])]('');}function _0x2e6797(){}function _0xfebdc6(_0x55e6e7){return _0x55e6e7['map'](_0x1597b2=>String['fromCharCode'](_0x1597b2))['join']('');}_0x3ad57e(await _0xe5ec05());}(this);}['_validateConfig'](){const _0x360295=this['editor'];if(!_0x360295['config']['get']('lineHeight.supportAllValues'))return;const _0x154984=_0x360295['config']['get']('lineHeight.options')['filter'](_0x33b817=>'string'==typeof _0x33b817&&(!f(_0x33b817)&&isNaN(Number(_0x33b817))));if(_0x154984['length'])throw new _0x3cabaa('line-height-invalid-use-of-named-presets',null,{'namedPresets':_0x154984});}['_prepareAnyValueConverters'](){const _0x211840=this['editor'],_0x50de49=this['editor']['config']['get']('lineHeight.defaultValue');_0x211840['conversion']['for']('downcast')['attributeToAttribute']({'model':{'key':'lineHeight'},'view':_0x4f25cc=>String(_0x4f25cc)===String(_0x50de49)?null:{'key':'style','value':{'line-height':_0x4f25cc}}}),_0x211840['conversion']['for']('upcast')['attributeToAttribute']({'model':{'key':'lineHeight','value':_0x4d4490=>{let _0x4ca961=_0x4d4490['getStyle']('line-height');return _0xc8d743(_0x4ca961)&&(_0x4ca961=String(Number(_0x4ca961['slice'](0x0,-0x1))/0x64)),String(_0x4ca961)===String(_0x50de49)?null:_0x4ca961;}},'view':{'styles':{'line-height':/.*/}}});}['_preparePredefinedConverters'](){const _0x5e2561=this['editor'],_0x5e65ba=this['editor']['config']['get']('lineHeight.defaultValue'),_0xc0b88a=function(_0x4b557b,_0xa0548e){const _0x89c58a={'model':{'key':_0x4b557b,'values':[]},'view':{}};for(const _0x1f61d2 of _0xa0548e)'class'===_0x1f61d2['view']?.['key']?(_0x89c58a['model']['values']['push'](_0x1f61d2['model']),_0x89c58a['view'][_0x1f61d2['model']]={'key':'class','value':_0x1f61d2['view']['value']}):(_0x89c58a['model']['values']['push'](_0x1f61d2['model']),_0x89c58a['view'][_0x1f61d2['model']]={'key':'style','value':'line-height:'+_0x1f61d2['model']+';'});return _0x89c58a;}('lineHeight',a(this['editor']['config']['get']('lineHeight'))['filter'](_0x54aaad=>_0x54aaad['model']));_0x5e2561['conversion']['attributeToAttribute'](_0xc0b88a),_0x5e2561['conversion']['for']('upcast')['attributeToAttribute']({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':'lineHeight','value':_0x2f837a=>{let _0x63ef54=_0x2f837a['getStyle']('line-height');return _0xc8d743(_0x63ef54)&&(_0x63ef54=String(Number(_0x63ef54['slice'](0x0,-0x1))/0x64)),_0x63ef54===String(_0x5e65ba)?null:_0xc0b88a['model']['values']['includes'](_0x63ef54)?_0x63ef54:null;}}});}}class r extends _0x1e2eeb{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x4a0cba={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x4a0cba),this['_registerMenuBarComponent'](_0x4a0cba),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x2c152a=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x59fc13;for(const _0x51c469 in _0x2c152a){const _0x4fbeea=_0x51c469,_0x574382=_0x2c152a[_0x4fbeea];if('lineHeightLicenseKeyValid'==_0x574382||'lineHeightLicenseKeyInvalid'==_0x574382||'lineHeightLicenseKeyExpired'==_0x574382||'lineHeightLicenseKeyDomainLimit'==_0x574382||'lineHeightLicenseKeyNotAllowed'==_0x574382||'lineHeightLicenseKeyEvaluationLimit'==_0x574382||'lineHeightLicenseKeyTrialLimit'==_0x574382||'lineHeightLicenseKeyUsageLimit'==_0x574382){delete _0x2c152a[_0x4fbeea],_0x59fc13=_0x574382,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x59fc13&&_0x2c152a['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x59fc13&&_0x2c152a['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x59fc13&&_0x2c152a['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x59fc13&&_0x2c152a['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x59fc13&&_0x2c152a['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x59fc13&&_0x2c152a['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x59fc13&&_0x2c152a['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x54b50b=this['editor'],t=_0x54b50b['t'],_0x2c9aff=_0x54b50b['config']['get']('lineHeight'),_0x352005={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return a(_0x2c9aff)['map'](_0x3e091d=>{const _0x300c79=_0x352005[_0x3e091d['title']];return _0x300c79&&_0x300c79!=_0x3e091d['title']&&(_0x3e091d=Object['assign']({},_0x3e091d,{'title':_0x300c79})),_0x3e091d;});}['_prepareListOptions'](){const _0x19ebc3=this['editor']['commands']['get']('lineHeight'),_0xb5e5a4=this['editor']['config']['get']('lineHeight.defaultValue'),_0x2c5481=this['_getLocalizedLineHeightOptions'](),_0x4f0826=new _0x3c2329(),_0xe22c27=_0x15e38e=>'default'===_0x15e38e||String(_0xb5e5a4)===_0x15e38e;for(const _0x5bb96f of _0x2c5481){const _0x18cd37={'type':'button','model':new _0x39d98c({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x5bb96f['title'],'withText':!0x0})};_0xe22c27(_0x5bb96f['model'])?(_0x18cd37['model']['bind']('isOn')['to'](_0x19ebc3,'value',_0x35d2cf=>!_0x35d2cf),_0x18cd37['model']['commandParam']=void 0x0):(_0x18cd37['model']['bind']('isOn')['to'](_0x19ebc3,'value',_0x42b53f=>_0x42b53f===_0x5bb96f['model']),_0x18cd37['model']['commandParam']=_0x5bb96f['model']),_0x4f0826['add'](_0x18cd37);}if(this['_shouldRenderCustomValueOption']()){const _0x2ceb5e=this['_getCustomValueOptionDefinition'](_0x2c5481);_0x4f0826['add'](_0x2ceb5e);}return _0x4f0826;}['_getCustomValueOptionDefinition'](_0x27d934){const _0x3442f0=this['editor'],t=_0x3442f0['t'],_0x14437b=_0x3442f0['commands']['get']('lineHeight'),_0x22da14=_0x27d934['map'](_0x28d561=>_0x28d561['model']),_0x517679={'type':'button','model':new _0x39d98c({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x517679['model']['bind']('commandParam')['to'](_0x14437b,'value'),_0x517679['model']['bind']('isOn')['to'](_0x14437b,'value',_0x272159=>!!_0x272159&&!_0x22da14['includes'](String(_0x272159))),_0x517679['model']['bind']('label')['to'](_0x14437b,'value',_0x6d6c7d=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x6d6c7d))),_0x517679;}['_registerToolbarComponent']({accessibleLabel:_0x1b4787,options:_0x52bace}){const _0x48750b=this['editor'],_0xd19f59=_0x48750b['commands']['get']('lineHeight');_0x48750b['ui']['componentFactory']['add']('lineHeight',_0x1d2def=>{const _0x372a85=_0x3b03d8(_0x1d2def);return _0x4f6358(_0x372a85,_0x52bace,{'role':'menu','ariaLabel':_0x1b4787}),_0x372a85['buttonView']['set']({'label':_0x1b4787,'tooltip':!0x0,'icon':_0x2d784b}),_0x372a85['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x372a85['bind']('isEnabled')['to'](_0xd19f59),this['listenTo'](_0x372a85,'execute',_0x33b8c5=>{_0x48750b['execute'](_0x33b8c5['source']['commandName'],{'value':_0x33b8c5['source']['commandParam']}),_0x48750b['editing']['view']['focus']();}),_0x372a85['once']('change:isOpen',()=>{const _0x5949ca=_0x372a85['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x372a85,_0x52bace,_0x5949ca);}),_0x372a85;});}['_registerMenuBarComponent']({accessibleLabel:_0x2ee741,options:_0x3a1faa}){const _0x33a233=this['editor'],_0x33570a=_0x33a233['commands']['get']('lineHeight');_0x33a233['ui']['componentFactory']['add']('menuBar:lineHeight',_0x445424=>{const _0x5b9880=new _0x1c6fc9(_0x445424);_0x5b9880['buttonView']['set']({'label':_0x2ee741,'icon':_0x2d784b}),_0x5b9880['bind']('isEnabled')['to'](_0x33570a);const _0x1b2415=new _0x21b5cd(_0x445424);for(const _0x53f256 of _0x3a1faa){const _0x1b3f77=new _0x19f6ed(_0x445424,_0x5b9880),_0x3c8e09=new _0x558da0(_0x445424);_0x3c8e09['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x3c8e09['bind'](...Object['keys'](_0x53f256['model']))['to'](_0x53f256['model']),_0x3c8e09['delegate']('execute')['to'](_0x5b9880),_0x3c8e09['on']('execute',()=>{_0x33a233['execute'](_0x53f256['model']['commandName'],{'value':_0x53f256['model']['commandParam']}),_0x33a233['editing']['view']['focus']();}),_0x1b3f77['children']['add'](_0x3c8e09),_0x1b2415['items']['add'](_0x1b3f77);}return _0x5b9880['panelView']['children']['add'](_0x1b2415),this['_attachCustomOptionVisibilityHandler'](_0x5b9880,_0x3a1faa,_0x1b2415),_0x5b9880;});}['_attachCustomOptionVisibilityHandler'](_0x4a02c8,_0x4527ee,_0x1451c7){if(!this['_shouldRenderCustomValueOption']())return;const _0x1a4e5d=()=>{if(!_0x4a02c8['isOpen'])return;_0x1451c7['items']['last']['isVisible']=Boolean(_0x4527ee['last']['model']['isOn']);};_0x1a4e5d(),_0x4a02c8['on']('change:isOpen',()=>{_0x1a4e5d();});}}class _ extends _0x1e2eeb{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 _0x215718,Plugin as _0x1e5ce6}from'@ckeditor/ckeditor5-core/dist/index.js';import{first as _0x307c9c,CKEditorError as _0x19bdfc,uid as _0x20d9a6,Collection as _0x415644}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Matcher as _0x365c2c,isPercentageStyleValue as _0x4341ef}from'@ckeditor/ckeditor5-engine/dist/index.js';import{UIModel as _0x4f60df,createDropdown as _0x384c87,addListToDropdown as _0x529463,MenuBarMenuView as _0x520434,MenuBarMenuListView as _0x2eba2e,MenuBarMenuListItemView as _0x4d0802,MenuBarMenuListItemButtonView as _0x187671}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconLineHeight as _0xf93124}from'@ckeditor/ckeditor5-icons/dist/index.js';class n extends _0x215718{['refresh'](){const _0x3a2c07=this['editor']['model']['document'],_0x494296=_0x307c9c(_0x3a2c07['selection']['getSelectedBlocks']());this['isEnabled']=Boolean(_0x494296)&&this['_canHaveLineHeight'](_0x494296),this['value']=this['isEnabled']&&_0x494296['getAttribute']('lineHeight');}['execute'](_0x1ff7e2={}){const _0x3650be=this['editor']['model'],_0x222f64=_0x3650be['document']['selection'],_0x17ccfb=_0x1ff7e2['value'];_0x3650be['change'](_0xbf9b6=>{const _0x4b4611=Array['from'](_0x222f64['getSelectedBlocks']())['filter'](_0xa1dd3=>this['_canHaveLineHeight'](_0xa1dd3));for(const _0x29278b of _0x4b4611)_0x17ccfb?_0xbf9b6['setAttribute']('lineHeight',_0x17ccfb,_0x29278b):_0xbf9b6['removeAttribute']('lineHeight',_0x29278b);});}['_canHaveLineHeight'](_0x228439){return this['editor']['model']['schema']['checkAttribute'](_0x228439,'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(_0x228ad8){return'string'==typeof _0x228ad8&&'default'===_0x228ad8['toLowerCase']();}function a(_0x6e5daf){return _0x6e5daf['options']['map'](_0x183a09=>{return f(_0x183a09)?{'title':String(_0x6e5daf['defaultValue']),'model':'default'}:('number'==typeof _0x183a09&&(_0x183a09=String(_0x183a09)),'string'!=typeof _0x183a09?_0x183a09:parseFloat(_0x183a09)?{'title':_0x183a09,'model':_0x183a09,'view':{'name':'span','styles':{'line-height':_0x183a09}}}:'string'==typeof(_0x2c915c=_0x183a09)?v[_0x2c915c]:v[_0x2c915c['model']]);var _0x2c915c;})['filter'](_0x301fe6=>void 0x0!==_0x301fe6);}class g extends _0x1e5ce6{static get['pluginName'](){return'LineHeightTodoListIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {plugins:_0x5d4b71,conversion:_0x128fed}=this['editor'];if(!_0x5d4b71['has']('ListEditing')||!_0x5d4b71['has']('TodoListEditing'))return;_0x5d4b71['get']('ListEditing')['registerDowncastStrategy']({'scope':'item','attributeName':'lineHeight','consume':!0x1,'setAttributeOnDowncast'(_0x22c59e,_0x29a0c8,_0x11ed27,_0x52acde,_0x31ad8b){'todo'==_0x31ad8b['getAttribute']('listType')&&_0x29a0c8&&(_0x22c59e['addClass']('ck-list-marker-line-height',_0x11ed27),_0x22c59e['setStyle']('--ck-content-list-marker-line-height',_0x29a0c8,_0x11ed27));}}),_0x128fed['for']('upcast')['elementToElement']({'view':{'name':'span','classes':'todo-list__label__description'},'model':'paragraph','converterPriority':'high'}),_0x128fed['for']('upcast')['add'](_0x40d955=>{_0x40d955['on']('element:li',function(_0xa3e744){const _0x559761=new _0x365c2c(_0xa3e744);return(_0x1b578c,_0x3fa06b,_0x230d59)=>{const _0x5e72cd=_0x559761['match'](_0x3fa06b['viewItem']);if(!_0x5e72cd)return;const _0x23505d=_0x5e72cd['match'];_0x23505d['name']=!0x1,_0x230d59['consumable']['consume'](_0x3fa06b['viewItem'],_0x23505d);};}({'name':'li','classes':'ck-list-marker-line-height','styles':{'--ck-content-list-marker-line-height':/.*/}}));});}}class e extends _0x1e5ce6{static get['pluginName'](){return'LineHeightEditing';}static get['requires'](){return[g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x5ef7eb){super(_0x5ef7eb),_0x5ef7eb['config']['define']('lineHeight',{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,'default',0x2,2.5,0x3]});}['init'](){const _0x2ddee7=this['editor'];this['_validateConfig'](),_0x2ddee7['model']['schema']['extend']('$block',{'allowAttributes':'lineHeight'}),_0x2ddee7['model']['schema']['setAttributeProperties']('lineHeight',{'isFormatting':!0x0}),_0x2ddee7['commands']['add']('lineHeight',new n(_0x2ddee7)),this['editor']['config']['get']('lineHeight.supportAllValues')?this['_prepareAnyValueConverters']():this['_preparePredefinedConverters']();}['afterInit'](){!async function(_0x1c94c0){const _0x4bf8aa=_0x77f67a([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]),_0x5bd181=0x45ddd215,_0x5dd520=0x45daa9ed^_0x5bd181,_0x1674b8=window[_0x77f67a([0x44,0x61,0x74,0x65])][_0x77f67a([0x6e,0x6f,0x77])](),_0x7e4420=_0x1c94c0[_0x77f67a([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x54118d=new window[(_0x77f67a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4f7700=>{_0x7e4420[_0x77f67a([0x6f,0x6e,0x63,0x65])](_0x77f67a([0x72,0x65,0x61,0x64,0x79]),_0x4f7700);}),_0x40456f={[_0x77f67a([0x6b,0x74,0x79])]:_0x77f67a([0x45,0x43]),[_0x77f67a([0x75,0x73,0x65])]:_0x77f67a([0x73,0x69,0x67]),[_0x77f67a([0x63,0x72,0x76])]:_0x77f67a([0x50,0x2d,0x32,0x35,0x36]),[_0x77f67a([0x78])]:_0x77f67a([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]),[_0x77f67a([0x79])]:_0x77f67a([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]),[_0x77f67a([0x61,0x6c,0x67])]:_0x77f67a([0x45,0x53,0x32,0x35,0x36])},_0x2488a3=_0x7e4420[_0x77f67a([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x77f67a([0x67,0x65,0x74])](_0x77f67a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x44212d(){let _0x321771,_0x3fbcb1=null,_0xd9fd2=null;try{if(_0x2488a3==_0x77f67a([0x47,0x50,0x4c]))return _0x77f67a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x321771=_0x3e3ac2(),!_0x321771)return _0x77f67a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x321771[_0x77f67a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xd9fd2=_0xf05b40(_0x321771[_0x77f67a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x321771[_0x77f67a([0x6a,0x74,0x69])])),await _0x757fe8()?_0x59e605()?_0x506ce0()?_0x77f67a([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x53eb9a()?(_0x321771[_0x77f67a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x77f67a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3fbcb1=_0xd2020(_0x77f67a([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x321771[_0x77f67a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x77f67a([0x74,0x72,0x69,0x61,0x6c])&&(_0x3fbcb1=_0xd2020(_0x77f67a([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x39b35d()):_0x77f67a([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x77f67a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x77f67a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x77f67a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x506ce0(){const _0x5ed51c=[_0x77f67a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x77f67a([0x74,0x72,0x69,0x61,0x6c])][_0x77f67a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x321771[_0x77f67a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1674b8/0x3e8:0xe10*_0x5dd520;return _0x321771[_0x77f67a([0x65,0x78,0x70])]<_0x5ed51c;}function _0x59e605(){const _0x199525=_0x321771[_0x77f67a([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x199525&&(!!_0x199525[_0x77f67a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x77f67a([0x2a]))||!!_0x199525[_0x77f67a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x77f67a([0x4c,0x48])));}function _0x53eb9a(){const _0x704b62=_0x321771[_0x77f67a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x704b62||0x0==_0x704b62[_0x77f67a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x376310}=new URL(window[_0x77f67a([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x704b62[_0x77f67a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x376310))return!0x0;const _0x168619=_0x376310[_0x77f67a([0x73,0x70,0x6c,0x69,0x74])](_0x77f67a([0x2e]));return _0x704b62[_0x77f67a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x44decf=>_0x44decf[_0x77f67a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x77f67a([0x2a])))[_0x77f67a([0x6d,0x61,0x70])](_0x2a0e3c=>_0x2a0e3c[_0x77f67a([0x73,0x70,0x6c,0x69,0x74])](_0x77f67a([0x2e])))[_0x77f67a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1ca733=>_0x1ca733[_0x77f67a([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x168619[_0x77f67a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x77f67a([0x6d,0x61,0x70])](_0x115736=>Array(_0x168619[_0x77f67a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x115736[_0x77f67a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x77f67a([0x66,0x69,0x6c,0x6c])](_0x115736[0x0]===_0x77f67a([0x2a])?_0x77f67a([0x2a]):'')[_0x77f67a([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x115736))[_0x77f67a([0x73,0x6f,0x6d,0x65])](_0x3f583b=>_0x168619[_0x77f67a([0x65,0x76,0x65,0x72,0x79])]((_0x24e431,_0x556dfc)=>_0x3f583b[_0x556dfc]===_0x24e431||_0x3f583b[_0x556dfc]===_0x77f67a([0x2a])));}function _0x39b35d(){return _0x3fbcb1&&_0xd9fd2?new window[(_0x77f67a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x317698,_0x21f4e3)=>{_0x3fbcb1[_0x77f67a([0x74,0x68,0x65,0x6e])](_0x317698,_0x21f4e3),_0xd9fd2[_0x77f67a([0x74,0x68,0x65,0x6e])](_0xeffd6c=>{_0xeffd6c!=_0x77f67a([0x56,0x61,0x6c,0x69,0x64])&&_0x317698(_0xeffd6c);},_0x21f4e3);}):_0x3fbcb1||_0xd9fd2||_0x77f67a([0x56,0x61,0x6c,0x69,0x64]);}}function _0xf05b40(_0x57e949,_0x107d59){return new window[(_0x77f67a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x49fc22=>{if(_0x148be5())return _0x49fc22(_0x77f67a([0x56,0x61,0x6c,0x69,0x64]));_0x5f0f40(),_0x7e4420[_0x77f67a([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x77f67a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x15a049=!0x1;const _0x15ac02=_0x20d9a6();function _0x426b7c(_0x52f493){return!!_0x52f493&&(typeof _0x52f493===_0x77f67a([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x52f493===_0x77f67a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x52f493[_0x77f67a([0x74,0x68,0x65,0x6e])]===_0x77f67a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x52f493[_0x77f67a([0x63,0x61,0x74,0x63,0x68])]===_0x77f67a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x544b6f(_0x27ae23){_0x2def35(_0x27ae23)[_0x77f67a([0x74,0x68,0x65,0x6e])](_0x438a3a=>{if(!_0x438a3a||_0x438a3a[_0x77f67a([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x77f67a([0x6f,0x6b]))return _0x77f67a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1f9dc8(_0x3e2379(_0x15ac02+_0x107d59))!=_0x438a3a[_0x77f67a([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x77f67a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x77f67a([0x56,0x61,0x6c,0x69,0x64]);})[_0x77f67a([0x74,0x68,0x65,0x6e])](_0x4c65f1=>(_0x207b81(),_0x4c65f1),()=>{const _0x55473e=_0x345f84();return null==_0x55473e?(_0x207b81(),_0x77f67a([0x56,0x61,0x6c,0x69,0x64])):_0x77f67a(_0x1674b8-_0x55473e>(0x61d15615^_0x5bd181)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x77f67a([0x74,0x68,0x65,0x6e])](_0x49fc22)[_0x77f67a([0x63,0x61,0x74,0x63,0x68])](()=>{_0x49fc22(_0x77f67a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x57789a=0x45eb3c95^_0x5bd181;function _0x207b81(){const _0x4d8d8a=_0x77f67a([0x6c,0x6c,0x63,0x74,0x2d])+_0x1f9dc8(_0x3e2379(_0x57e949)),_0x3b3610=_0x40415d(_0x1f9dc8(window[_0x77f67a([0x4d,0x61,0x74,0x68])][_0x77f67a([0x63,0x65,0x69,0x6c])](_0x1674b8/_0x57789a)));window[_0x77f67a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x77f67a([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4d8d8a,_0x3b3610);}function _0x345f84(){const _0x39d271=_0x77f67a([0x6c,0x6c,0x63,0x74,0x2d])+_0x1f9dc8(_0x3e2379(_0x57e949)),_0x58823f=window[_0x77f67a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x77f67a([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x39d271);return _0x58823f?window[_0x77f67a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x40415d(_0x58823f),0x10)*_0x57789a:null;}function _0x2def35(_0x89bcfa){return new window[(_0x77f67a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3cc539,_0x324954)=>{_0x89bcfa[_0x77f67a([0x74,0x68,0x65,0x6e])](_0x3cc539,_0x324954),window[_0x77f67a([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x324954,0x45dc06d5^_0x5bd181);});}}_0x7e4420[_0x77f67a([0x6f,0x6e])](_0x77f67a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2c50aa,_0x15b7b7)=>{if(_0x15b7b7[0x0]!=_0x57e949)return _0x49fc22(_0x77f67a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x15b7b7[0x1]={..._0x15b7b7[0x1],[_0x77f67a([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x15ac02};},{[_0x77f67a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x77f67a([0x68,0x69,0x67,0x68])}),_0x7e4420[_0x77f67a([0x6f,0x6e])](_0x77f67a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x38d01b=>{_0x426b7c(_0x38d01b[_0x77f67a([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x15a049=!0x0,_0x544b6f(_0x38d01b[_0x77f67a([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x77f67a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x77f67a([0x6c,0x6f,0x77])}),_0x54118d[_0x77f67a([0x74,0x68,0x65,0x6e])](()=>{_0x15a049||_0x49fc22(_0x77f67a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x148be5(){return _0x7e4420[_0x77f67a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x77f67a([0x76,0x69,0x65,0x77])][_0x77f67a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x77f67a([0x61,0x75,0x74,0x6f]);}function _0x5f0f40(){_0x7e4420[_0x77f67a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x77f67a([0x76,0x69,0x65,0x77])][_0x77f67a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x77f67a([0x61,0x75,0x74,0x6f]);}}function _0xd2020(_0x36e12b){const _0x9ec85f=[new window[(_0x77f67a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2ae13f=>setTimeout(_0x2ae13f,0x45d4ecd9^_0x5bd181)),_0x54118d[_0x77f67a([0x74,0x68,0x65,0x6e])](()=>new window[(_0x77f67a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x382a0a=>{let _0x17d9f6=0x0;_0x7e4420[_0x77f67a([0x6d,0x6f,0x64,0x65,0x6c])][_0x77f67a([0x6f,0x6e])](_0x77f67a([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2e9c26,_0x4b4204)=>{_0x4b4204[0x0][_0x77f67a([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x17d9f6++,_0x17d9f6==(0x45ddd3ed^_0x5bd181)&&(_0x382a0a(),_0x2e9c26[_0x77f67a([0x6f,0x66,0x66])]());});}))];return window[_0x77f67a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x77f67a([0x72,0x61,0x63,0x65])](_0x9ec85f)[_0x77f67a([0x74,0x68,0x65,0x6e])](()=>_0x36e12b);}async function _0x105b46(){await _0x54118d,_0x7e4420[_0x77f67a([0x6d,0x6f,0x64,0x65,0x6c])][_0x77f67a([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x6317da,_0x7e4420[_0x77f67a([0x6d,0x6f,0x64,0x65,0x6c])][_0x77f67a([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x6317da,_0x7e4420[_0x77f67a([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x77f67a([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xf9d5c7(_0xd85010){const _0x469a22=_0x2c169c();_0x7e4420[_0x469a22]=_0x77f67a([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xd85010,_0xd85010!=_0x77f67a([0x56,0x61,0x6c,0x69,0x64])&&_0x105b46();}function _0x2c169c(){const _0x549988=window[_0x77f67a([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x77f67a([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x77f67a([0x6e,0x6f,0x77])]())[_0x77f67a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x77f67a([0x2e]),'');let _0xcce26=_0x77f67a([0x50]);for(let _0x42dc84=0x0;_0x42dc84<_0x549988[_0x77f67a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x42dc84+=0x2){let _0x15e0e9=window[_0x77f67a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x549988[_0x77f67a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x42dc84,_0x42dc84+0x2));_0x15e0e9>=_0x4bf8aa[_0x77f67a([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x15e0e9-=_0x4bf8aa[_0x77f67a([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xcce26+=_0x4bf8aa[_0x15e0e9];}return _0xcce26;}function _0x3e3ac2(){const _0x4a3a86=_0x2488a3[_0x77f67a([0x73,0x70,0x6c,0x69,0x74])](_0x77f67a([0x2e]));if(0x3!=_0x4a3a86[_0x77f67a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x28ca56(_0x4a3a86[0x1]);function _0x28ca56(_0x4384fc){const _0x50e234=_0x464271(_0x4384fc);return _0x50e234&&_0x1350ff()?_0x50e234:null;function _0x1350ff(){const _0x1a1dfc=_0x50e234[_0x77f67a([0x6a,0x74,0x69])],_0x267ba2=window[_0x77f67a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1a1dfc[_0x77f67a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1a1dfc[_0x77f67a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xc0efa={..._0x50e234,[_0x77f67a([0x6a,0x74,0x69])]:_0x1a1dfc[_0x77f67a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1a1dfc[_0x77f67a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xc0efa[_0x77f67a([0x76,0x63])],_0x3e2379(_0xc0efa)==_0x267ba2;}}}async function _0x757fe8(){let _0xf885a8=!0x0;try{const _0x50c75a=_0x2488a3[_0x77f67a([0x73,0x70,0x6c,0x69,0x74])](_0x77f67a([0x2e])),[_0x31fb03,_0x29da96,_0x88584c]=_0x50c75a;return _0x4b43ea(_0x31fb03),await _0x1b69f7(_0x31fb03,_0x29da96,_0x88584c),_0xf885a8;}catch{return!0x1;}function _0x4b43ea(_0x1e0ac9){const _0x428138=_0x464271(_0x1e0ac9);_0x428138&&_0x428138[_0x77f67a([0x61,0x6c,0x67])]==_0x77f67a([0x45,0x53,0x32,0x35,0x36])||(_0xf885a8=!0x1);}async function _0x1b69f7(_0x284b31,_0x3ebdf8,_0x27a183){const _0x54c40d=window[_0x77f67a([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x77f67a([0x66,0x72,0x6f,0x6d])](_0x34f0c1(_0x27a183),_0x4b4722=>_0x4b4722[_0x77f67a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x197423=new window[(_0x77f67a([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x77f67a([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x284b31+_0x77f67a([0x2e])+_0x3ebdf8),_0x17b085=window[_0x77f67a([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x77f67a([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x17b085)return;const _0x1f6ee0=await _0x17b085[_0x77f67a([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x77f67a([0x6a,0x77,0x6b]),_0x40456f,{[_0x77f67a([0x6e,0x61,0x6d,0x65])]:_0x77f67a([0x45,0x43,0x44,0x53,0x41]),[_0x77f67a([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x77f67a([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x77f67a([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x17b085[_0x77f67a([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x77f67a([0x6e,0x61,0x6d,0x65])]:_0x77f67a([0x45,0x43,0x44,0x53,0x41]),[_0x77f67a([0x68,0x61,0x73,0x68])]:{[_0x77f67a([0x6e,0x61,0x6d,0x65])]:_0x77f67a([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1f6ee0,_0x54c40d,_0x197423)||(_0xf885a8=!0x1);}}function _0x464271(_0x41c3ad){return _0x41c3ad[_0x77f67a([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x77f67a([0x65,0x79]))?JSON[_0x77f67a([0x70,0x61,0x72,0x73,0x65])](_0x34f0c1(_0x41c3ad)):null;}function _0x34f0c1(_0x544b58){return window[_0x77f67a([0x61,0x74,0x6f,0x62])](_0x544b58[_0x77f67a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x77f67a([0x2b]))[_0x77f67a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x77f67a([0x2f])));}function _0x3e2379(_0x14f4f5){let _0x2b1928=0x1505;function _0x5bbf90(_0x238df0){for(let _0x297f83=0x0;_0x297f83<_0x238df0[_0x77f67a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x297f83++){const _0x4b9c52=_0x238df0[_0x77f67a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x297f83);_0x2b1928=(_0x2b1928<<0x5)+_0x2b1928+_0x4b9c52,_0x2b1928&=_0x2b1928;}}function _0x5d86ba(_0x5c42e9){Array[_0x77f67a([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5c42e9)?_0x5c42e9[_0x77f67a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5d86ba):_0x5c42e9&&typeof _0x5c42e9==_0x77f67a([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x77f67a([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5c42e9)[_0x77f67a([0x73,0x6f,0x72,0x74])]()[_0x77f67a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x588151,_0xa93167])=>{_0x5bbf90(_0x588151),_0x5d86ba(_0xa93167);}):_0x5bbf90(window[_0x77f67a([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5c42e9));}return _0x5d86ba(_0x14f4f5),_0x2b1928>>>0x0;}function _0x1f9dc8(_0x42b0d6){return _0x42b0d6[_0x77f67a([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x77f67a([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x77f67a([0x30]));}function _0x40415d(_0x3a5404){return _0x3a5404[_0x77f67a([0x73,0x70,0x6c,0x69,0x74])]('')[_0x77f67a([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x77f67a([0x6a,0x6f,0x69,0x6e])]('');}function _0x6317da(){}function _0x77f67a(_0xe5ed0b){return _0xe5ed0b['map'](_0x1907d4=>String['fromCharCode'](_0x1907d4))['join']('');}_0xf9d5c7(await _0x44212d());}(this);}['_validateConfig'](){const _0x1fb988=this['editor'];if(!_0x1fb988['config']['get']('lineHeight.supportAllValues'))return;const _0x560325=_0x1fb988['config']['get']('lineHeight.options')['filter'](_0x813680=>'string'==typeof _0x813680&&(!f(_0x813680)&&isNaN(Number(_0x813680))));if(_0x560325['length'])throw new _0x19bdfc('line-height-invalid-use-of-named-presets',null,{'namedPresets':_0x560325});}['_prepareAnyValueConverters'](){const _0x522a5b=this['editor'],_0x5302ad=this['editor']['config']['get']('lineHeight.defaultValue');_0x522a5b['conversion']['for']('downcast')['attributeToAttribute']({'model':{'key':'lineHeight'},'view':_0x4e3b17=>String(_0x4e3b17)===String(_0x5302ad)?null:{'key':'style','value':{'line-height':_0x4e3b17}}}),_0x522a5b['conversion']['for']('upcast')['attributeToAttribute']({'model':{'key':'lineHeight','value':_0x5455d6=>{let _0x512175=_0x5455d6['getStyle']('line-height');return _0x4341ef(_0x512175)&&(_0x512175=String(Number(_0x512175['slice'](0x0,-0x1))/0x64)),String(_0x512175)===String(_0x5302ad)?null:_0x512175;}},'view':{'styles':{'line-height':/.*/}}});}['_preparePredefinedConverters'](){const _0x5a2ae4=this['editor'],_0xa7a355=this['editor']['config']['get']('lineHeight.defaultValue'),_0x295957=function(_0x4d8ec0,_0x3a06b0){const _0x2e8f23={'model':{'key':_0x4d8ec0,'values':[]},'view':{}};for(const _0x4bff6b of _0x3a06b0)'class'===_0x4bff6b['view']?.['key']?(_0x2e8f23['model']['values']['push'](_0x4bff6b['model']),_0x2e8f23['view'][_0x4bff6b['model']]={'key':'class','value':_0x4bff6b['view']['value']}):(_0x2e8f23['model']['values']['push'](_0x4bff6b['model']),_0x2e8f23['view'][_0x4bff6b['model']]={'key':'style','value':'line-height:'+_0x4bff6b['model']+';'});return _0x2e8f23;}('lineHeight',a(this['editor']['config']['get']('lineHeight'))['filter'](_0x3b958e=>_0x3b958e['model']));_0x5a2ae4['conversion']['attributeToAttribute'](_0x295957),_0x5a2ae4['conversion']['for']('upcast')['attributeToAttribute']({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':'lineHeight','value':_0x94c8cc=>{let _0x4667cb=_0x94c8cc['getStyle']('line-height');return _0x4341ef(_0x4667cb)&&(_0x4667cb=String(Number(_0x4667cb['slice'](0x0,-0x1))/0x64)),_0x4667cb===String(_0xa7a355)?null:_0x295957['model']['values']['includes'](_0x4667cb)?_0x4667cb:null;}}});}}class r extends _0x1e5ce6{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x3d5661={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x3d5661),this['_registerMenuBarComponent'](_0x3d5661),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x5833ad=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2c8e12;for(const _0x13f2aa in _0x5833ad){const _0xfd256d=_0x13f2aa,_0x49ceda=_0x5833ad[_0xfd256d];if('lineHeightLicenseKeyValid'==_0x49ceda||'lineHeightLicenseKeyInvalid'==_0x49ceda||'lineHeightLicenseKeyExpired'==_0x49ceda||'lineHeightLicenseKeyDomainLimit'==_0x49ceda||'lineHeightLicenseKeyNotAllowed'==_0x49ceda||'lineHeightLicenseKeyEvaluationLimit'==_0x49ceda||'lineHeightLicenseKeyTrialLimit'==_0x49ceda||'lineHeightLicenseKeyUsageLimit'==_0x49ceda){delete _0x5833ad[_0xfd256d],_0x2c8e12=_0x49ceda,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x2c8e12&&_0x5833ad['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x2c8e12&&_0x5833ad['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x2c8e12&&_0x5833ad['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x2c8e12&&_0x5833ad['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x2c8e12&&_0x5833ad['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x2c8e12&&_0x5833ad['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x2c8e12&&_0x5833ad['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x440f46=this['editor'],t=_0x440f46['t'],_0x2349b9=_0x440f46['config']['get']('lineHeight'),_0x16f56e={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return a(_0x2349b9)['map'](_0x1581da=>{const _0x43b5a9=_0x16f56e[_0x1581da['title']];return _0x43b5a9&&_0x43b5a9!=_0x1581da['title']&&(_0x1581da=Object['assign']({},_0x1581da,{'title':_0x43b5a9})),_0x1581da;});}['_prepareListOptions'](){const _0x52378b=this['editor']['commands']['get']('lineHeight'),_0x3c5884=this['editor']['config']['get']('lineHeight.defaultValue'),_0x3f7c78=this['_getLocalizedLineHeightOptions'](),_0x271e47=new _0x415644(),_0x14cd24=_0x5de047=>'default'===_0x5de047||String(_0x3c5884)===_0x5de047;for(const _0x26846e of _0x3f7c78){const _0x331c12={'type':'button','model':new _0x4f60df({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x26846e['title'],'withText':!0x0})};_0x14cd24(_0x26846e['model'])?(_0x331c12['model']['bind']('isOn')['to'](_0x52378b,'value',_0x12ae4f=>!_0x12ae4f),_0x331c12['model']['commandParam']=void 0x0):(_0x331c12['model']['bind']('isOn')['to'](_0x52378b,'value',_0x366aeb=>_0x366aeb===_0x26846e['model']),_0x331c12['model']['commandParam']=_0x26846e['model']),_0x271e47['add'](_0x331c12);}if(this['_shouldRenderCustomValueOption']()){const _0x564a50=this['_getCustomValueOptionDefinition'](_0x3f7c78);_0x271e47['add'](_0x564a50);}return _0x271e47;}['_getCustomValueOptionDefinition'](_0xbe1f70){const _0xe8767b=this['editor'],t=_0xe8767b['t'],_0x18d793=_0xe8767b['commands']['get']('lineHeight'),_0x438acf=_0xbe1f70['map'](_0x1cc710=>_0x1cc710['model']),_0x1a8bbc={'type':'button','model':new _0x4f60df({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x1a8bbc['model']['bind']('commandParam')['to'](_0x18d793,'value'),_0x1a8bbc['model']['bind']('isOn')['to'](_0x18d793,'value',_0x7419aa=>!!_0x7419aa&&!_0x438acf['includes'](String(_0x7419aa))),_0x1a8bbc['model']['bind']('label')['to'](_0x18d793,'value',_0x9ae0a=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x9ae0a))),_0x1a8bbc;}['_registerToolbarComponent']({accessibleLabel:_0x2ee4af,options:_0x386f91}){const _0xd2db65=this['editor'],_0x49458b=_0xd2db65['commands']['get']('lineHeight');_0xd2db65['ui']['componentFactory']['add']('lineHeight',_0x5b55e3=>{const _0x5176b4=_0x384c87(_0x5b55e3);return _0x529463(_0x5176b4,_0x386f91,{'role':'menu','ariaLabel':_0x2ee4af}),_0x5176b4['buttonView']['set']({'label':_0x2ee4af,'tooltip':!0x0,'icon':_0xf93124}),_0x5176b4['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x5176b4['bind']('isEnabled')['to'](_0x49458b),this['listenTo'](_0x5176b4,'execute',_0x1832cd=>{_0xd2db65['execute'](_0x1832cd['source']['commandName'],{'value':_0x1832cd['source']['commandParam']}),_0xd2db65['editing']['view']['focus']();}),_0x5176b4['once']('change:isOpen',()=>{const _0x402440=_0x5176b4['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x5176b4,_0x386f91,_0x402440);}),_0x5176b4;});}['_registerMenuBarComponent']({accessibleLabel:_0x1d7e0e,options:_0x43e56b}){const _0xe80295=this['editor'],_0x3434f3=_0xe80295['commands']['get']('lineHeight');_0xe80295['ui']['componentFactory']['add']('menuBar:lineHeight',_0x4c64c3=>{const _0x20252a=new _0x520434(_0x4c64c3);_0x20252a['buttonView']['set']({'label':_0x1d7e0e,'icon':_0xf93124}),_0x20252a['bind']('isEnabled')['to'](_0x3434f3);const _0x1247d6=new _0x2eba2e(_0x4c64c3);for(const _0x2760ec of _0x43e56b){const _0x3a0c4c=new _0x4d0802(_0x4c64c3,_0x20252a),_0x202b11=new _0x187671(_0x4c64c3);_0x202b11['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x202b11['bind'](...Object['keys'](_0x2760ec['model']))['to'](_0x2760ec['model']),_0x202b11['delegate']('execute')['to'](_0x20252a),_0x202b11['on']('execute',()=>{_0xe80295['execute'](_0x2760ec['model']['commandName'],{'value':_0x2760ec['model']['commandParam']}),_0xe80295['editing']['view']['focus']();}),_0x3a0c4c['children']['add'](_0x202b11),_0x1247d6['items']['add'](_0x3a0c4c);}return _0x20252a['panelView']['children']['add'](_0x1247d6),this['_attachCustomOptionVisibilityHandler'](_0x20252a,_0x43e56b,_0x1247d6),_0x20252a;});}['_attachCustomOptionVisibilityHandler'](_0x1b4ed1,_0x28de95,_0x15b3c5){if(!this['_shouldRenderCustomValueOption']())return;const _0x46c149=()=>{if(!_0x1b4ed1['isOpen'])return;_0x15b3c5['items']['last']['isVisible']=Boolean(_0x28de95['last']['model']['isOn']);};_0x46c149(),_0x1b4ed1['on']('change:isOpen',()=>{_0x46c149();});}}class _ extends _0x1e5ce6{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-20251215.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-20251215.0",
|
|
17
|
+
"@ckeditor/ckeditor5-engine": "0.0.0-nightly-20251215.0",
|
|
18
|
+
"@ckeditor/ckeditor5-icons": "0.0.0-nightly-20251215.0",
|
|
19
|
+
"@ckeditor/ckeditor5-ui": "0.0.0-nightly-20251215.0",
|
|
20
|
+
"@ckeditor/ckeditor5-utils": "0.0.0-nightly-20251215.0",
|
|
21
|
+
"@ckeditor/ckeditor5-list": "0.0.0-nightly-20251215.0",
|
|
22
|
+
"ckeditor5": "0.0.0-nightly-20251215.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 _0x19c393=_0x2595;(function(_0x582308,_0x9c18f7){const _0x1e9e0c=_0x2595,_0xdad2cf=_0x582308();while(!![]){try{const _0x532656=parseInt(_0x1e9e0c(0x118))/0x1*(-parseInt(_0x1e9e0c(0xea))/0x2)+parseInt(_0x1e9e0c(0x110))/0x3+parseInt(_0x1e9e0c(0x102))/0x4+parseInt(_0x1e9e0c(0x105))/0x5+parseInt(_0x1e9e0c(0xfe))/0x6+parseInt(_0x1e9e0c(0xf0))/0x7*(parseInt(_0x1e9e0c(0x108))/0x8)+-parseInt(_0x1e9e0c(0xf7))/0x9;if(_0x532656===_0x9c18f7)break;else _0xdad2cf['push'](_0xdad2cf['shift']());}catch(_0x3a313d){_0xdad2cf['push'](_0xdad2cf['shift']());}}}(_0x386e,0xc5b18));function _0x2595(_0x1fe296,_0x39a815){const _0x386e0f=_0x386e();return _0x2595=function(_0x259582,_0x250676){_0x259582=_0x259582-0xe7;let _0x4dff2f=_0x386e0f[_0x259582];return _0x4dff2f;},_0x2595(_0x1fe296,_0x39a815);}import{Plugin as _0x512966}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x52cb66}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x4c418c}from'ckeditor5/src/engine.js';import{uid as _0xa09c35,CKEditorError as _0x42c919}from'ckeditor5/src/utils.js';function _0x386e(){const _0x22f77d=['model','length','lineHeight','extend','commands','getStyle','138139AemgxM','slice','map','pluginName','values','includes','line-height-invalid-use-of-named-presets','attributeToAttribute','18NxhxRt','filter','conversion','get','lineHeight.options','config','760151iKkHnU','join','lineHeight.defaultValue','define','LineHeightEditing','_prepareAnyValueConverters','_validateConfig','6884604JsRifM','afterInit','schema','init','lineHeight.supportAllValues','setAttributeProperties','isOfficialPlugin','1049520DnzvAJ','requires','upcast','$block','3457896oFAaRK','default','style','782350QZWRfK','string','line-height','56xleOAc','editor','_preparePredefinedConverters','for','isPremiumPlugin','href','add','fromCharCode','2585832yVeBBo','downcast'];_0x386e=function(){return _0x22f77d;};return _0x386e();}import{buildDefinition as _0x514396,isLineHeightDefaultValue as _0x362397,normalizeOptions as _0x37e2d5}from'./utils.js';import{LineHeightTodoListIntegration as _0x111e07}from'./integrations/todolist.js';export class LineHeightEditing extends _0x512966{static get[_0x19c393(0x11b)](){const _0x330bd3=_0x19c393;return _0x330bd3(0xf4);}static get[_0x19c393(0xff)](){return[_0x111e07];}static get[_0x19c393(0xfd)](){return!0x0;}static get[_0x19c393(0x10c)](){return!0x0;}constructor(_0x3ae599){const _0x427b41=_0x19c393;super(_0x3ae599),_0x3ae599[_0x427b41(0xef)][_0x427b41(0xf3)](_0x427b41(0x114),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x427b41(0x103),0x2,2.5,0x3]});}[_0x19c393(0xfa)](){const _0x350578=_0x19c393,_0x3df169=this[_0x350578(0x109)];this[_0x350578(0xf6)](),_0x3df169[_0x350578(0x112)][_0x350578(0xf9)][_0x350578(0x115)](_0x350578(0x101),{'allowAttributes':_0x350578(0x114)}),_0x3df169[_0x350578(0x112)][_0x350578(0xf9)][_0x350578(0xfc)](_0x350578(0x114),{'isFormatting':!0x0}),_0x3df169[_0x350578(0x116)][_0x350578(0x10e)](_0x350578(0x114),new _0x52cb66(_0x3df169)),this[_0x350578(0x109)][_0x350578(0xef)][_0x350578(0xed)](_0x350578(0xfb))?this[_0x350578(0xf5)]():this[_0x350578(0x10a)]();}[_0x19c393(0xf8)](){!async function(_0x5c337a){const _0x4ebdf3=_0x40f0f4([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]),_0x321a9d=0x45ddd215,_0x5bf35c=0x45daa9f5^_0x321a9d,_0x4e4981=window[_0x40f0f4([0x44,0x61,0x74,0x65])][_0x40f0f4([0x6e,0x6f,0x77])](),_0x283076=_0x5c337a[_0x40f0f4([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5083b5=new window[(_0x40f0f4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x21dc14=>{_0x283076[_0x40f0f4([0x6f,0x6e,0x63,0x65])](_0x40f0f4([0x72,0x65,0x61,0x64,0x79]),_0x21dc14);}),_0x4a01ff={[_0x40f0f4([0x6b,0x74,0x79])]:_0x40f0f4([0x45,0x43]),[_0x40f0f4([0x75,0x73,0x65])]:_0x40f0f4([0x73,0x69,0x67]),[_0x40f0f4([0x63,0x72,0x76])]:_0x40f0f4([0x50,0x2d,0x32,0x35,0x36]),[_0x40f0f4([0x78])]:_0x40f0f4([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]),[_0x40f0f4([0x79])]:_0x40f0f4([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]),[_0x40f0f4([0x61,0x6c,0x67])]:_0x40f0f4([0x45,0x53,0x32,0x35,0x36])},_0x3709dd=_0x283076[_0x40f0f4([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x40f0f4([0x67,0x65,0x74])](_0x40f0f4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x151f4d(){let _0x31543d,_0x59d9bb=null,_0x4303a9=null;try{if(_0x3709dd==_0x40f0f4([0x47,0x50,0x4c]))return _0x40f0f4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x31543d=_0x1a28e2(),!_0x31543d)return _0x40f0f4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x31543d[_0x40f0f4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4303a9=_0x143474(_0x31543d[_0x40f0f4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x31543d[_0x40f0f4([0x6a,0x74,0x69])])),await _0x4f3ee6()?_0x40b0e0()?_0x4c2b4e()?_0x40f0f4([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4d33d8()?(_0x31543d[_0x40f0f4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x40f0f4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x59d9bb=_0x520056(_0x40f0f4([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x31543d[_0x40f0f4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x40f0f4([0x74,0x72,0x69,0x61,0x6c])&&(_0x59d9bb=_0x520056(_0x40f0f4([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1060b7()):_0x40f0f4([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x40f0f4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x40f0f4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x40f0f4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4c2b4e(){const _0x380886=[_0x40f0f4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x40f0f4([0x74,0x72,0x69,0x61,0x6c])][_0x40f0f4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x31543d[_0x40f0f4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4e4981/0x3e8:0xe10*_0x5bf35c;return _0x31543d[_0x40f0f4([0x65,0x78,0x70])]<_0x380886;}function _0x40b0e0(){const _0x33becb=_0x31543d[_0x40f0f4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x33becb&&(!!_0x33becb[_0x40f0f4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x40f0f4([0x2a]))||!!_0x33becb[_0x40f0f4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x40f0f4([0x4c,0x48])));}function _0x4d33d8(){const _0x39c39e=_0x2595,_0x14e6ac=_0x31543d[_0x40f0f4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x14e6ac||0x0==_0x14e6ac[_0x40f0f4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3cf975}=new URL(window[_0x40f0f4([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x39c39e(0x10d)]);if(_0x14e6ac[_0x40f0f4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3cf975))return!0x0;const _0x144a74=_0x3cf975[_0x40f0f4([0x73,0x70,0x6c,0x69,0x74])](_0x40f0f4([0x2e]));return _0x14e6ac[_0x40f0f4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x343b4b=>_0x343b4b[_0x40f0f4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x40f0f4([0x2a])))[_0x40f0f4([0x6d,0x61,0x70])](_0x48234e=>_0x48234e[_0x40f0f4([0x73,0x70,0x6c,0x69,0x74])](_0x40f0f4([0x2e])))[_0x40f0f4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xd0db7b=>_0xd0db7b[_0x40f0f4([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x144a74[_0x40f0f4([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x40f0f4([0x6d,0x61,0x70])](_0x2de23d=>Array(_0x144a74[_0x40f0f4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2de23d[_0x40f0f4([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x40f0f4([0x66,0x69,0x6c,0x6c])](_0x2de23d[0x0]===_0x40f0f4([0x2a])?_0x40f0f4([0x2a]):'')[_0x40f0f4([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2de23d))[_0x40f0f4([0x73,0x6f,0x6d,0x65])](_0x2eff90=>_0x144a74[_0x40f0f4([0x65,0x76,0x65,0x72,0x79])]((_0x369d5b,_0x27e6e7)=>_0x2eff90[_0x27e6e7]===_0x369d5b||_0x2eff90[_0x27e6e7]===_0x40f0f4([0x2a])));}function _0x1060b7(){return _0x59d9bb&&_0x4303a9?new window[(_0x40f0f4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2c2ebe,_0x5d1e25)=>{_0x59d9bb[_0x40f0f4([0x74,0x68,0x65,0x6e])](_0x2c2ebe,_0x5d1e25),_0x4303a9[_0x40f0f4([0x74,0x68,0x65,0x6e])](_0x46ead6=>{_0x46ead6!=_0x40f0f4([0x56,0x61,0x6c,0x69,0x64])&&_0x2c2ebe(_0x46ead6);},_0x5d1e25);}):_0x59d9bb||_0x4303a9||_0x40f0f4([0x56,0x61,0x6c,0x69,0x64]);}}function _0x143474(_0x329784,_0x4c4bc6){return new window[(_0x40f0f4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x28bd9b=>{if(_0x1960fe())return _0x28bd9b(_0x40f0f4([0x56,0x61,0x6c,0x69,0x64]));_0x3c8fab(),_0x283076[_0x40f0f4([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x40f0f4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2648c2=!0x1;const _0x5dc53e=_0xa09c35();function _0x26ba2e(_0x3d8979){return!!_0x3d8979&&(typeof _0x3d8979===_0x40f0f4([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3d8979===_0x40f0f4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3d8979[_0x40f0f4([0x74,0x68,0x65,0x6e])]===_0x40f0f4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3d8979[_0x40f0f4([0x63,0x61,0x74,0x63,0x68])]===_0x40f0f4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2a6d3d(_0x287f37){_0x395e52(_0x287f37)[_0x40f0f4([0x74,0x68,0x65,0x6e])](_0x14f2a2=>{if(!_0x14f2a2||_0x14f2a2[_0x40f0f4([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x40f0f4([0x6f,0x6b]))return _0x40f0f4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x40109e(_0x2cc983(_0x5dc53e+_0x4c4bc6))!=_0x14f2a2[_0x40f0f4([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x40f0f4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x40f0f4([0x56,0x61,0x6c,0x69,0x64]);})[_0x40f0f4([0x74,0x68,0x65,0x6e])](_0x2437b3=>(_0x1d142a(),_0x2437b3),()=>{const _0x11c467=_0x3b3049();return null==_0x11c467?(_0x1d142a(),_0x40f0f4([0x56,0x61,0x6c,0x69,0x64])):_0x40f0f4(_0x4e4981-_0x11c467>(0x61d15615^_0x321a9d)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x40f0f4([0x74,0x68,0x65,0x6e])](_0x28bd9b)[_0x40f0f4([0x63,0x61,0x74,0x63,0x68])](()=>{_0x28bd9b(_0x40f0f4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x59bf71=0x45eb3c95^_0x321a9d;function _0x1d142a(){const _0x391564=_0x40f0f4([0x6c,0x6c,0x63,0x74,0x2d])+_0x40109e(_0x2cc983(_0x329784)),_0x40e8a1=_0x1d3580(_0x40109e(window[_0x40f0f4([0x4d,0x61,0x74,0x68])][_0x40f0f4([0x63,0x65,0x69,0x6c])](_0x4e4981/_0x59bf71)));window[_0x40f0f4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x40f0f4([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x391564,_0x40e8a1);}function _0x3b3049(){const _0x1de0fd=_0x40f0f4([0x6c,0x6c,0x63,0x74,0x2d])+_0x40109e(_0x2cc983(_0x329784)),_0x2ca8fe=window[_0x40f0f4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x40f0f4([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1de0fd);return _0x2ca8fe?window[_0x40f0f4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1d3580(_0x2ca8fe),0x10)*_0x59bf71:null;}function _0x395e52(_0x25a025){return new window[(_0x40f0f4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x99b7dc,_0x1d193b)=>{_0x25a025[_0x40f0f4([0x74,0x68,0x65,0x6e])](_0x99b7dc,_0x1d193b),window[_0x40f0f4([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1d193b,0x45dc06d5^_0x321a9d);});}}_0x283076[_0x40f0f4([0x6f,0x6e])](_0x40f0f4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xdd35e8,_0x2a0791)=>{if(_0x2a0791[0x0]!=_0x329784)return _0x28bd9b(_0x40f0f4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2a0791[0x1]={..._0x2a0791[0x1],[_0x40f0f4([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5dc53e};},{[_0x40f0f4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x40f0f4([0x68,0x69,0x67,0x68])}),_0x283076[_0x40f0f4([0x6f,0x6e])](_0x40f0f4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x33c86d=>{_0x26ba2e(_0x33c86d[_0x40f0f4([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2648c2=!0x0,_0x2a6d3d(_0x33c86d[_0x40f0f4([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x40f0f4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x40f0f4([0x6c,0x6f,0x77])}),_0x5083b5[_0x40f0f4([0x74,0x68,0x65,0x6e])](()=>{_0x2648c2||_0x28bd9b(_0x40f0f4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1960fe(){return _0x283076[_0x40f0f4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x40f0f4([0x76,0x69,0x65,0x77])][_0x40f0f4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x40f0f4([0x61,0x75,0x74,0x6f]);}function _0x3c8fab(){_0x283076[_0x40f0f4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x40f0f4([0x76,0x69,0x65,0x77])][_0x40f0f4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x40f0f4([0x61,0x75,0x74,0x6f]);}}function _0x520056(_0x24a65a){const _0xe5aefc=[new window[(_0x40f0f4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5d5882=>setTimeout(_0x5d5882,0x45d4ecd9^_0x321a9d)),_0x5083b5[_0x40f0f4([0x74,0x68,0x65,0x6e])](()=>new window[(_0x40f0f4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5c7983=>{let _0x44ad77=0x0;_0x283076[_0x40f0f4([0x6d,0x6f,0x64,0x65,0x6c])][_0x40f0f4([0x6f,0x6e])](_0x40f0f4([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5525f2,_0x3fef12)=>{_0x3fef12[0x0][_0x40f0f4([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x44ad77++,_0x44ad77==(0x45ddd3ed^_0x321a9d)&&(_0x5c7983(),_0x5525f2[_0x40f0f4([0x6f,0x66,0x66])]());});}))];return window[_0x40f0f4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x40f0f4([0x72,0x61,0x63,0x65])](_0xe5aefc)[_0x40f0f4([0x74,0x68,0x65,0x6e])](()=>_0x24a65a);}async function _0x3e12a6(){await _0x5083b5,_0x283076[_0x40f0f4([0x6d,0x6f,0x64,0x65,0x6c])][_0x40f0f4([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2a1c1c,_0x283076[_0x40f0f4([0x6d,0x6f,0x64,0x65,0x6c])][_0x40f0f4([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2a1c1c,_0x283076[_0x40f0f4([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x40f0f4([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3c279c(_0x4a1df6){const _0x59798b=_0x4b299a();_0x283076[_0x59798b]=_0x40f0f4([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4a1df6,_0x4a1df6!=_0x40f0f4([0x56,0x61,0x6c,0x69,0x64])&&_0x3e12a6();}function _0x4b299a(){const _0x140361=window[_0x40f0f4([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x40f0f4([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x40f0f4([0x6e,0x6f,0x77])]())[_0x40f0f4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x40f0f4([0x2e]),'');let _0x117c91=_0x40f0f4([0x50]);for(let _0x27c337=0x0;_0x27c337<_0x140361[_0x40f0f4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x27c337+=0x2){let _0x180d40=window[_0x40f0f4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x140361[_0x40f0f4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x27c337,_0x27c337+0x2));_0x180d40>=_0x4ebdf3[_0x40f0f4([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x180d40-=_0x4ebdf3[_0x40f0f4([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x117c91+=_0x4ebdf3[_0x180d40];}return _0x117c91;}function _0x1a28e2(){const _0x4d3ea0=_0x3709dd[_0x40f0f4([0x73,0x70,0x6c,0x69,0x74])](_0x40f0f4([0x2e]));if(0x3!=_0x4d3ea0[_0x40f0f4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x357993(_0x4d3ea0[0x1]);function _0x357993(_0x4fb6a8){const _0x4148c6=_0x483658(_0x4fb6a8);return _0x4148c6&&_0xb39b2f()?_0x4148c6:null;function _0xb39b2f(){const _0x2532c9=_0x4148c6[_0x40f0f4([0x6a,0x74,0x69])],_0x2f608a=window[_0x40f0f4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2532c9[_0x40f0f4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2532c9[_0x40f0f4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x40b4fe={..._0x4148c6,[_0x40f0f4([0x6a,0x74,0x69])]:_0x2532c9[_0x40f0f4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2532c9[_0x40f0f4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x40b4fe[_0x40f0f4([0x76,0x63])],_0x2cc983(_0x40b4fe)==_0x2f608a;}}}async function _0x4f3ee6(){let _0x7ebd5b=!0x0;try{const _0x48fbb1=_0x3709dd[_0x40f0f4([0x73,0x70,0x6c,0x69,0x74])](_0x40f0f4([0x2e])),[_0x3a77dc,_0x59cf4f,_0x4a4968]=_0x48fbb1;return _0x67603c(_0x3a77dc),await _0x15f5ab(_0x3a77dc,_0x59cf4f,_0x4a4968),_0x7ebd5b;}catch{return!0x1;}function _0x67603c(_0x29c12a){const _0xaa62c9=_0x483658(_0x29c12a);_0xaa62c9&&_0xaa62c9[_0x40f0f4([0x61,0x6c,0x67])]==_0x40f0f4([0x45,0x53,0x32,0x35,0x36])||(_0x7ebd5b=!0x1);}async function _0x15f5ab(_0x15e87f,_0x45989a,_0x7e3a17){const _0xd0cb7c=window[_0x40f0f4([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x40f0f4([0x66,0x72,0x6f,0x6d])](_0x2de2ab(_0x7e3a17),_0x37a773=>_0x37a773[_0x40f0f4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1e62e3=new window[(_0x40f0f4([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x40f0f4([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x15e87f+_0x40f0f4([0x2e])+_0x45989a),_0x20c9e0=window[_0x40f0f4([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x40f0f4([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x20c9e0)return;const _0x339321=await _0x20c9e0[_0x40f0f4([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x40f0f4([0x6a,0x77,0x6b]),_0x4a01ff,{[_0x40f0f4([0x6e,0x61,0x6d,0x65])]:_0x40f0f4([0x45,0x43,0x44,0x53,0x41]),[_0x40f0f4([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x40f0f4([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x40f0f4([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x20c9e0[_0x40f0f4([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x40f0f4([0x6e,0x61,0x6d,0x65])]:_0x40f0f4([0x45,0x43,0x44,0x53,0x41]),[_0x40f0f4([0x68,0x61,0x73,0x68])]:{[_0x40f0f4([0x6e,0x61,0x6d,0x65])]:_0x40f0f4([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x339321,_0xd0cb7c,_0x1e62e3)||(_0x7ebd5b=!0x1);}}function _0x483658(_0x20aca0){return _0x20aca0[_0x40f0f4([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x40f0f4([0x65,0x79]))?JSON[_0x40f0f4([0x70,0x61,0x72,0x73,0x65])](_0x2de2ab(_0x20aca0)):null;}function _0x2de2ab(_0x4f110a){return window[_0x40f0f4([0x61,0x74,0x6f,0x62])](_0x4f110a[_0x40f0f4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x40f0f4([0x2b]))[_0x40f0f4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x40f0f4([0x2f])));}function _0x2cc983(_0x2954d5){let _0x10a8bd=0x1505;function _0x1fdbb3(_0x3ebe19){for(let _0xa6fe79=0x0;_0xa6fe79<_0x3ebe19[_0x40f0f4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xa6fe79++){const _0xd8b6ea=_0x3ebe19[_0x40f0f4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xa6fe79);_0x10a8bd=(_0x10a8bd<<0x5)+_0x10a8bd+_0xd8b6ea,_0x10a8bd&=_0x10a8bd;}}function _0x45afb1(_0x40f5f3){Array[_0x40f0f4([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x40f5f3)?_0x40f5f3[_0x40f0f4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x45afb1):_0x40f5f3&&typeof _0x40f5f3==_0x40f0f4([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x40f0f4([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x40f5f3)[_0x40f0f4([0x73,0x6f,0x72,0x74])]()[_0x40f0f4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5a8ecb,_0x2e91b7])=>{_0x1fdbb3(_0x5a8ecb),_0x45afb1(_0x2e91b7);}):_0x1fdbb3(window[_0x40f0f4([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x40f5f3));}return _0x45afb1(_0x2954d5),_0x10a8bd>>>0x0;}function _0x40109e(_0x56bbf9){return _0x56bbf9[_0x40f0f4([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x40f0f4([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x40f0f4([0x30]));}function _0x1d3580(_0x210a11){return _0x210a11[_0x40f0f4([0x73,0x70,0x6c,0x69,0x74])]('')[_0x40f0f4([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x40f0f4([0x6a,0x6f,0x69,0x6e])]('');}function _0x2a1c1c(){}function _0x40f0f4(_0x3dc1c7){const _0x5a81f6=_0x2595;return _0x3dc1c7[_0x5a81f6(0x11a)](_0x3f49b2=>String[_0x5a81f6(0x10f)](_0x3f49b2))[_0x5a81f6(0xf1)]('');}_0x3c279c(await _0x151f4d());}(this);}[_0x19c393(0xf6)](){const _0x4da163=_0x19c393,_0x3ce3ea=this[_0x4da163(0x109)];if(!_0x3ce3ea[_0x4da163(0xef)][_0x4da163(0xed)](_0x4da163(0xfb)))return;const _0x38ecfb=_0x3ce3ea[_0x4da163(0xef)][_0x4da163(0xed)](_0x4da163(0xee))[_0x4da163(0xeb)](_0x3cdb37=>_0x4da163(0x106)==typeof _0x3cdb37&&(!_0x362397(_0x3cdb37)&&isNaN(Number(_0x3cdb37))));if(_0x38ecfb[_0x4da163(0x113)])throw new _0x42c919(_0x4da163(0xe8),null,{'namedPresets':_0x38ecfb});}[_0x19c393(0xf5)](){const _0x2f7ffe=_0x19c393,_0x335f7f=this[_0x2f7ffe(0x109)],_0x1f585c=this[_0x2f7ffe(0x109)][_0x2f7ffe(0xef)][_0x2f7ffe(0xed)](_0x2f7ffe(0xf2));_0x335f7f[_0x2f7ffe(0xec)][_0x2f7ffe(0x10b)](_0x2f7ffe(0x111))[_0x2f7ffe(0xe9)]({'model':{'key':_0x2f7ffe(0x114)},'view':_0x21e038=>String(_0x21e038)===String(_0x1f585c)?null:{'key':_0x2f7ffe(0x104),'value':{'line-height':_0x21e038}}}),_0x335f7f[_0x2f7ffe(0xec)][_0x2f7ffe(0x10b)](_0x2f7ffe(0x100))[_0x2f7ffe(0xe9)]({'model':{'key':_0x2f7ffe(0x114),'value':_0x186834=>{const _0xf7aa4a=_0x2f7ffe;let _0x5c341a=_0x186834[_0xf7aa4a(0x117)](_0xf7aa4a(0x107));return _0x4c418c(_0x5c341a)&&(_0x5c341a=String(Number(_0x5c341a[_0xf7aa4a(0x119)](0x0,-0x1))/0x64)),String(_0x5c341a)===String(_0x1f585c)?null:_0x5c341a;}},'view':{'styles':{'line-height':/.*/}}});}[_0x19c393(0x10a)](){const _0x442f35=_0x19c393,_0x3b0775=this[_0x442f35(0x109)],_0x29e957=this[_0x442f35(0x109)][_0x442f35(0xef)][_0x442f35(0xed)](_0x442f35(0xf2)),_0x58037e=_0x37e2d5(this[_0x442f35(0x109)][_0x442f35(0xef)][_0x442f35(0xed)](_0x442f35(0x114)))[_0x442f35(0xeb)](_0xab0b59=>_0xab0b59[_0x442f35(0x112)]),_0x59c41d=_0x514396(_0x442f35(0x114),_0x58037e);_0x3b0775[_0x442f35(0xec)][_0x442f35(0xe9)](_0x59c41d),_0x3b0775[_0x442f35(0xec)][_0x442f35(0x10b)](_0x442f35(0x100))[_0x442f35(0xe9)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x442f35(0x114),'value':_0xd0c3f=>{const _0x2e87f4=_0x442f35;let _0x35f898=_0xd0c3f[_0x2e87f4(0x117)](_0x2e87f4(0x107));return _0x4c418c(_0x35f898)&&(_0x35f898=String(Number(_0x35f898[_0x2e87f4(0x119)](0x0,-0x1))/0x64)),_0x35f898===String(_0x29e957)?null:_0x59c41d[_0x2e87f4(0x112)][_0x2e87f4(0x11c)][_0x2e87f4(0xe7)](_0x35f898)?_0x35f898:null;}}});}}
|
|
23
|
+
function _0x4c47(){const _0x3daa1e=['filter','href','upcast','fromCharCode','attributeToAttribute','lineHeight','init','for','downcast','requires','slice','commands','isOfficialPlugin','lineHeight.supportAllValues','pluginName','isPremiumPlugin','config','get','121209JCGyeR','2RDQRse','model','add','define','lineHeight.options','107618vfkECf','641394AHCSaT','setAttributeProperties','lineHeight.defaultValue','_prepareAnyValueConverters','1088315IZrQij','schema','873384DnOdcd','line-height','string','length','getStyle','123059Zfuihj','_validateConfig','8ZutltU','values','style','join','conversion','editor','LineHeightEditing','130NGrdWU','702111zEDjOc','extend','afterInit','_preparePredefinedConverters','map','includes','48NHuizu','$block','default','line-height-invalid-use-of-named-presets'];_0x4c47=function(){return _0x3daa1e;};return _0x4c47();}const _0x493f7e=_0x2b5d;(function(_0x3a4c7a,_0x2011fd){const _0x34a973=_0x2b5d,_0x781b14=_0x3a4c7a();while(!![]){try{const _0x4e93ac=-parseInt(_0x34a973(0x1d1))/0x1*(parseInt(_0x34a973(0x1c0))/0x2)+-parseInt(_0x34a973(0x1db))/0x3+parseInt(_0x34a973(0x1cc))/0x4+parseInt(_0x34a973(0x1ca))/0x5+-parseInt(_0x34a973(0x1e1))/0x6*(-parseInt(_0x34a973(0x1c5))/0x7)+parseInt(_0x34a973(0x1d3))/0x8*(parseInt(_0x34a973(0x1c6))/0x9)+-parseInt(_0x34a973(0x1da))/0xa*(parseInt(_0x34a973(0x1bf))/0xb);if(_0x4e93ac===_0x2011fd)break;else _0x781b14['push'](_0x781b14['shift']());}catch(_0x53676e){_0x781b14['push'](_0x781b14['shift']());}}}(_0x4c47,0x1fb84));import{Plugin as _0x378921}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x1c0f6a}from'./lineheightcommand.js';import{isPercentageStyleValue as _0xcd9270}from'ckeditor5/src/engine.js';function _0x2b5d(_0x35d554,_0x389253){const _0x4c476a=_0x4c47();return _0x2b5d=function(_0x2b5dfc,_0x10c70b){_0x2b5dfc=_0x2b5dfc-0x1b6;let _0x53814f=_0x4c476a[_0x2b5dfc];return _0x53814f;},_0x2b5d(_0x35d554,_0x389253);}import{uid as _0x2d4c43,CKEditorError as _0x34dda0}from'ckeditor5/src/utils.js';import{buildDefinition as _0x222ea8,isLineHeightDefaultValue as _0x3f2875,normalizeOptions as _0x146a54}from'./utils.js';import{LineHeightTodoListIntegration as _0x788b2d}from'./integrations/todolist.js';export class LineHeightEditing extends _0x378921{static get[_0x493f7e(0x1bb)](){const _0xe2724a=_0x493f7e;return _0xe2724a(0x1d9);}static get[_0x493f7e(0x1b6)](){return[_0x788b2d];}static get[_0x493f7e(0x1b9)](){return!0x0;}static get[_0x493f7e(0x1bc)](){return!0x0;}constructor(_0x2ad703){const _0x4c70cd=_0x493f7e;super(_0x2ad703),_0x2ad703[_0x4c70cd(0x1bd)][_0x4c70cd(0x1c3)](_0x4c70cd(0x1ea),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x4c70cd(0x1e3),0x2,2.5,0x3]});}[_0x493f7e(0x1eb)](){const _0x47c1ec=_0x493f7e,_0x2c3c84=this[_0x47c1ec(0x1d8)];this[_0x47c1ec(0x1d2)](),_0x2c3c84[_0x47c1ec(0x1c1)][_0x47c1ec(0x1cb)][_0x47c1ec(0x1dc)](_0x47c1ec(0x1e2),{'allowAttributes':_0x47c1ec(0x1ea)}),_0x2c3c84[_0x47c1ec(0x1c1)][_0x47c1ec(0x1cb)][_0x47c1ec(0x1c7)](_0x47c1ec(0x1ea),{'isFormatting':!0x0}),_0x2c3c84[_0x47c1ec(0x1b8)][_0x47c1ec(0x1c2)](_0x47c1ec(0x1ea),new _0x1c0f6a(_0x2c3c84)),this[_0x47c1ec(0x1d8)][_0x47c1ec(0x1bd)][_0x47c1ec(0x1be)](_0x47c1ec(0x1ba))?this[_0x47c1ec(0x1c9)]():this[_0x47c1ec(0x1de)]();}[_0x493f7e(0x1dd)](){!async function(_0x5a00b9){const _0x10a77c=_0x29a4b0([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]),_0x3dae1f=0x45ddd215,_0x3ed419=0x45daa9ed^_0x3dae1f,_0x2b4387=window[_0x29a4b0([0x44,0x61,0x74,0x65])][_0x29a4b0([0x6e,0x6f,0x77])](),_0xca71ba=_0x5a00b9[_0x29a4b0([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3a3b1c=new window[(_0x29a4b0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x16f88e=>{_0xca71ba[_0x29a4b0([0x6f,0x6e,0x63,0x65])](_0x29a4b0([0x72,0x65,0x61,0x64,0x79]),_0x16f88e);}),_0x135c90={[_0x29a4b0([0x6b,0x74,0x79])]:_0x29a4b0([0x45,0x43]),[_0x29a4b0([0x75,0x73,0x65])]:_0x29a4b0([0x73,0x69,0x67]),[_0x29a4b0([0x63,0x72,0x76])]:_0x29a4b0([0x50,0x2d,0x32,0x35,0x36]),[_0x29a4b0([0x78])]:_0x29a4b0([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]),[_0x29a4b0([0x79])]:_0x29a4b0([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]),[_0x29a4b0([0x61,0x6c,0x67])]:_0x29a4b0([0x45,0x53,0x32,0x35,0x36])},_0x131724=_0xca71ba[_0x29a4b0([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x29a4b0([0x67,0x65,0x74])](_0x29a4b0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x10457f(){let _0xb21ce3,_0x5002b1=null,_0x48ddcd=null;try{if(_0x131724==_0x29a4b0([0x47,0x50,0x4c]))return _0x29a4b0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xb21ce3=_0x3d46ab(),!_0xb21ce3)return _0x29a4b0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xb21ce3[_0x29a4b0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x48ddcd=_0x393c02(_0xb21ce3[_0x29a4b0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xb21ce3[_0x29a4b0([0x6a,0x74,0x69])])),await _0x19d095()?_0x14c24e()?_0x56d22e()?_0x29a4b0([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x52b2b5()?(_0xb21ce3[_0x29a4b0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x29a4b0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5002b1=_0x2b6c54(_0x29a4b0([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0xb21ce3[_0x29a4b0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x29a4b0([0x74,0x72,0x69,0x61,0x6c])&&(_0x5002b1=_0x2b6c54(_0x29a4b0([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x296cb4()):_0x29a4b0([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x29a4b0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x29a4b0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x29a4b0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x56d22e(){const _0x16344e=[_0x29a4b0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x29a4b0([0x74,0x72,0x69,0x61,0x6c])][_0x29a4b0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xb21ce3[_0x29a4b0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2b4387/0x3e8:0xe10*_0x3ed419;return _0xb21ce3[_0x29a4b0([0x65,0x78,0x70])]<_0x16344e;}function _0x14c24e(){const _0x4b9c87=_0xb21ce3[_0x29a4b0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4b9c87&&(!!_0x4b9c87[_0x29a4b0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x29a4b0([0x2a]))||!!_0x4b9c87[_0x29a4b0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x29a4b0([0x4c,0x48])));}function _0x52b2b5(){const _0x587707=_0x2b5d,_0xe25f87=_0xb21ce3[_0x29a4b0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xe25f87||0x0==_0xe25f87[_0x29a4b0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x322332}=new URL(window[_0x29a4b0([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x587707(0x1e6)]);if(_0xe25f87[_0x29a4b0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x322332))return!0x0;const _0x4b9119=_0x322332[_0x29a4b0([0x73,0x70,0x6c,0x69,0x74])](_0x29a4b0([0x2e]));return _0xe25f87[_0x29a4b0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4ff1a3=>_0x4ff1a3[_0x29a4b0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x29a4b0([0x2a])))[_0x29a4b0([0x6d,0x61,0x70])](_0x28fcc7=>_0x28fcc7[_0x29a4b0([0x73,0x70,0x6c,0x69,0x74])](_0x29a4b0([0x2e])))[_0x29a4b0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x54529c=>_0x54529c[_0x29a4b0([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4b9119[_0x29a4b0([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x29a4b0([0x6d,0x61,0x70])](_0x39d77a=>Array(_0x4b9119[_0x29a4b0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x39d77a[_0x29a4b0([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x29a4b0([0x66,0x69,0x6c,0x6c])](_0x39d77a[0x0]===_0x29a4b0([0x2a])?_0x29a4b0([0x2a]):'')[_0x29a4b0([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x39d77a))[_0x29a4b0([0x73,0x6f,0x6d,0x65])](_0x326964=>_0x4b9119[_0x29a4b0([0x65,0x76,0x65,0x72,0x79])]((_0x2dbfc3,_0xd2b463)=>_0x326964[_0xd2b463]===_0x2dbfc3||_0x326964[_0xd2b463]===_0x29a4b0([0x2a])));}function _0x296cb4(){return _0x5002b1&&_0x48ddcd?new window[(_0x29a4b0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x198274,_0x335a54)=>{_0x5002b1[_0x29a4b0([0x74,0x68,0x65,0x6e])](_0x198274,_0x335a54),_0x48ddcd[_0x29a4b0([0x74,0x68,0x65,0x6e])](_0x5690e6=>{_0x5690e6!=_0x29a4b0([0x56,0x61,0x6c,0x69,0x64])&&_0x198274(_0x5690e6);},_0x335a54);}):_0x5002b1||_0x48ddcd||_0x29a4b0([0x56,0x61,0x6c,0x69,0x64]);}}function _0x393c02(_0x231a23,_0x3ac7d9){return new window[(_0x29a4b0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4e949a=>{if(_0x2feaa9())return _0x4e949a(_0x29a4b0([0x56,0x61,0x6c,0x69,0x64]));_0x19d583(),_0xca71ba[_0x29a4b0([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x29a4b0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2bff36=!0x1;const _0x43e281=_0x2d4c43();function _0x137adf(_0x3ee788){return!!_0x3ee788&&(typeof _0x3ee788===_0x29a4b0([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3ee788===_0x29a4b0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3ee788[_0x29a4b0([0x74,0x68,0x65,0x6e])]===_0x29a4b0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3ee788[_0x29a4b0([0x63,0x61,0x74,0x63,0x68])]===_0x29a4b0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1d4e6e(_0x5aa758){_0x5dddc4(_0x5aa758)[_0x29a4b0([0x74,0x68,0x65,0x6e])](_0x18772c=>{if(!_0x18772c||_0x18772c[_0x29a4b0([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x29a4b0([0x6f,0x6b]))return _0x29a4b0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5ac7c3(_0x4304bf(_0x43e281+_0x3ac7d9))!=_0x18772c[_0x29a4b0([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x29a4b0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x29a4b0([0x56,0x61,0x6c,0x69,0x64]);})[_0x29a4b0([0x74,0x68,0x65,0x6e])](_0x520348=>(_0x4caa75(),_0x520348),()=>{const _0x983e46=_0x3796db();return null==_0x983e46?(_0x4caa75(),_0x29a4b0([0x56,0x61,0x6c,0x69,0x64])):_0x29a4b0(_0x2b4387-_0x983e46>(0x61d15615^_0x3dae1f)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x29a4b0([0x74,0x68,0x65,0x6e])](_0x4e949a)[_0x29a4b0([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4e949a(_0x29a4b0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1e4911=0x45eb3c95^_0x3dae1f;function _0x4caa75(){const _0x1ac5b9=_0x29a4b0([0x6c,0x6c,0x63,0x74,0x2d])+_0x5ac7c3(_0x4304bf(_0x231a23)),_0x36c7b5=_0x94062d(_0x5ac7c3(window[_0x29a4b0([0x4d,0x61,0x74,0x68])][_0x29a4b0([0x63,0x65,0x69,0x6c])](_0x2b4387/_0x1e4911)));window[_0x29a4b0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x29a4b0([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1ac5b9,_0x36c7b5);}function _0x3796db(){const _0x4aa9f3=_0x29a4b0([0x6c,0x6c,0x63,0x74,0x2d])+_0x5ac7c3(_0x4304bf(_0x231a23)),_0x3e6049=window[_0x29a4b0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x29a4b0([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4aa9f3);return _0x3e6049?window[_0x29a4b0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x94062d(_0x3e6049),0x10)*_0x1e4911:null;}function _0x5dddc4(_0x232ff7){return new window[(_0x29a4b0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x88069e,_0x51dd2e)=>{_0x232ff7[_0x29a4b0([0x74,0x68,0x65,0x6e])](_0x88069e,_0x51dd2e),window[_0x29a4b0([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x51dd2e,0x45dc06d5^_0x3dae1f);});}}_0xca71ba[_0x29a4b0([0x6f,0x6e])](_0x29a4b0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x442609,_0x4fd01b)=>{if(_0x4fd01b[0x0]!=_0x231a23)return _0x4e949a(_0x29a4b0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4fd01b[0x1]={..._0x4fd01b[0x1],[_0x29a4b0([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x43e281};},{[_0x29a4b0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x29a4b0([0x68,0x69,0x67,0x68])}),_0xca71ba[_0x29a4b0([0x6f,0x6e])](_0x29a4b0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3d1136=>{_0x137adf(_0x3d1136[_0x29a4b0([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2bff36=!0x0,_0x1d4e6e(_0x3d1136[_0x29a4b0([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x29a4b0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x29a4b0([0x6c,0x6f,0x77])}),_0x3a3b1c[_0x29a4b0([0x74,0x68,0x65,0x6e])](()=>{_0x2bff36||_0x4e949a(_0x29a4b0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2feaa9(){return _0xca71ba[_0x29a4b0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x29a4b0([0x76,0x69,0x65,0x77])][_0x29a4b0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x29a4b0([0x61,0x75,0x74,0x6f]);}function _0x19d583(){_0xca71ba[_0x29a4b0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x29a4b0([0x76,0x69,0x65,0x77])][_0x29a4b0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x29a4b0([0x61,0x75,0x74,0x6f]);}}function _0x2b6c54(_0x688713){const _0x53107c=[new window[(_0x29a4b0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1855e0=>setTimeout(_0x1855e0,0x45d4ecd9^_0x3dae1f)),_0x3a3b1c[_0x29a4b0([0x74,0x68,0x65,0x6e])](()=>new window[(_0x29a4b0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x43606f=>{let _0x4021bd=0x0;_0xca71ba[_0x29a4b0([0x6d,0x6f,0x64,0x65,0x6c])][_0x29a4b0([0x6f,0x6e])](_0x29a4b0([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4986e9,_0x72b39f)=>{_0x72b39f[0x0][_0x29a4b0([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4021bd++,_0x4021bd==(0x45ddd3ed^_0x3dae1f)&&(_0x43606f(),_0x4986e9[_0x29a4b0([0x6f,0x66,0x66])]());});}))];return window[_0x29a4b0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x29a4b0([0x72,0x61,0x63,0x65])](_0x53107c)[_0x29a4b0([0x74,0x68,0x65,0x6e])](()=>_0x688713);}async function _0x5c8d22(){await _0x3a3b1c,_0xca71ba[_0x29a4b0([0x6d,0x6f,0x64,0x65,0x6c])][_0x29a4b0([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x7ea97f,_0xca71ba[_0x29a4b0([0x6d,0x6f,0x64,0x65,0x6c])][_0x29a4b0([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x7ea97f,_0xca71ba[_0x29a4b0([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x29a4b0([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x19d2ed(_0x15c00f){const _0x4ac845=_0xc6dd87();_0xca71ba[_0x4ac845]=_0x29a4b0([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x15c00f,_0x15c00f!=_0x29a4b0([0x56,0x61,0x6c,0x69,0x64])&&_0x5c8d22();}function _0xc6dd87(){const _0x50ee20=window[_0x29a4b0([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x29a4b0([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x29a4b0([0x6e,0x6f,0x77])]())[_0x29a4b0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x29a4b0([0x2e]),'');let _0x300a4c=_0x29a4b0([0x50]);for(let _0xefa14e=0x0;_0xefa14e<_0x50ee20[_0x29a4b0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xefa14e+=0x2){let _0x3609b4=window[_0x29a4b0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x50ee20[_0x29a4b0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xefa14e,_0xefa14e+0x2));_0x3609b4>=_0x10a77c[_0x29a4b0([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3609b4-=_0x10a77c[_0x29a4b0([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x300a4c+=_0x10a77c[_0x3609b4];}return _0x300a4c;}function _0x3d46ab(){const _0x572f44=_0x131724[_0x29a4b0([0x73,0x70,0x6c,0x69,0x74])](_0x29a4b0([0x2e]));if(0x3!=_0x572f44[_0x29a4b0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x490c86(_0x572f44[0x1]);function _0x490c86(_0x4dec27){const _0x1b9355=_0xed1b8c(_0x4dec27);return _0x1b9355&&_0x208c72()?_0x1b9355:null;function _0x208c72(){const _0x1896b7=_0x1b9355[_0x29a4b0([0x6a,0x74,0x69])],_0x3ff421=window[_0x29a4b0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1896b7[_0x29a4b0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1896b7[_0x29a4b0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2bdb0e={..._0x1b9355,[_0x29a4b0([0x6a,0x74,0x69])]:_0x1896b7[_0x29a4b0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1896b7[_0x29a4b0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2bdb0e[_0x29a4b0([0x76,0x63])],_0x4304bf(_0x2bdb0e)==_0x3ff421;}}}async function _0x19d095(){let _0x4ca2ec=!0x0;try{const _0x4966cd=_0x131724[_0x29a4b0([0x73,0x70,0x6c,0x69,0x74])](_0x29a4b0([0x2e])),[_0x4f0c98,_0x4f5c90,_0x5df7e5]=_0x4966cd;return _0xf4d304(_0x4f0c98),await _0xb1878d(_0x4f0c98,_0x4f5c90,_0x5df7e5),_0x4ca2ec;}catch{return!0x1;}function _0xf4d304(_0x26f15d){const _0x54e721=_0xed1b8c(_0x26f15d);_0x54e721&&_0x54e721[_0x29a4b0([0x61,0x6c,0x67])]==_0x29a4b0([0x45,0x53,0x32,0x35,0x36])||(_0x4ca2ec=!0x1);}async function _0xb1878d(_0x38b888,_0xb1f7af,_0x4d5321){const _0x2dbb5c=window[_0x29a4b0([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x29a4b0([0x66,0x72,0x6f,0x6d])](_0x406256(_0x4d5321),_0x21c819=>_0x21c819[_0x29a4b0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x154107=new window[(_0x29a4b0([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x29a4b0([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x38b888+_0x29a4b0([0x2e])+_0xb1f7af),_0x15cf11=window[_0x29a4b0([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x29a4b0([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x15cf11)return;const _0x2d7577=await _0x15cf11[_0x29a4b0([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x29a4b0([0x6a,0x77,0x6b]),_0x135c90,{[_0x29a4b0([0x6e,0x61,0x6d,0x65])]:_0x29a4b0([0x45,0x43,0x44,0x53,0x41]),[_0x29a4b0([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x29a4b0([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x29a4b0([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x15cf11[_0x29a4b0([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x29a4b0([0x6e,0x61,0x6d,0x65])]:_0x29a4b0([0x45,0x43,0x44,0x53,0x41]),[_0x29a4b0([0x68,0x61,0x73,0x68])]:{[_0x29a4b0([0x6e,0x61,0x6d,0x65])]:_0x29a4b0([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2d7577,_0x2dbb5c,_0x154107)||(_0x4ca2ec=!0x1);}}function _0xed1b8c(_0x5bea89){return _0x5bea89[_0x29a4b0([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x29a4b0([0x65,0x79]))?JSON[_0x29a4b0([0x70,0x61,0x72,0x73,0x65])](_0x406256(_0x5bea89)):null;}function _0x406256(_0x39de2a){return window[_0x29a4b0([0x61,0x74,0x6f,0x62])](_0x39de2a[_0x29a4b0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x29a4b0([0x2b]))[_0x29a4b0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x29a4b0([0x2f])));}function _0x4304bf(_0x15a898){let _0x546479=0x1505;function _0x51dbd5(_0x4bc150){for(let _0x3da158=0x0;_0x3da158<_0x4bc150[_0x29a4b0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3da158++){const _0x2c609c=_0x4bc150[_0x29a4b0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3da158);_0x546479=(_0x546479<<0x5)+_0x546479+_0x2c609c,_0x546479&=_0x546479;}}function _0x4f0808(_0x468561){Array[_0x29a4b0([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x468561)?_0x468561[_0x29a4b0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4f0808):_0x468561&&typeof _0x468561==_0x29a4b0([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x29a4b0([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x468561)[_0x29a4b0([0x73,0x6f,0x72,0x74])]()[_0x29a4b0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2666f4,_0x1833c1])=>{_0x51dbd5(_0x2666f4),_0x4f0808(_0x1833c1);}):_0x51dbd5(window[_0x29a4b0([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x468561));}return _0x4f0808(_0x15a898),_0x546479>>>0x0;}function _0x5ac7c3(_0x493597){return _0x493597[_0x29a4b0([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x29a4b0([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x29a4b0([0x30]));}function _0x94062d(_0x211e58){return _0x211e58[_0x29a4b0([0x73,0x70,0x6c,0x69,0x74])]('')[_0x29a4b0([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x29a4b0([0x6a,0x6f,0x69,0x6e])]('');}function _0x7ea97f(){}function _0x29a4b0(_0x271297){const _0x39aabf=_0x2b5d;return _0x271297[_0x39aabf(0x1df)](_0x167d84=>String[_0x39aabf(0x1e8)](_0x167d84))[_0x39aabf(0x1d6)]('');}_0x19d2ed(await _0x10457f());}(this);}[_0x493f7e(0x1d2)](){const _0x33a57d=_0x493f7e,_0x4d41a7=this[_0x33a57d(0x1d8)];if(!_0x4d41a7[_0x33a57d(0x1bd)][_0x33a57d(0x1be)](_0x33a57d(0x1ba)))return;const _0x24d8c2=_0x4d41a7[_0x33a57d(0x1bd)][_0x33a57d(0x1be)](_0x33a57d(0x1c4))[_0x33a57d(0x1e5)](_0x2e96ae=>_0x33a57d(0x1ce)==typeof _0x2e96ae&&(!_0x3f2875(_0x2e96ae)&&isNaN(Number(_0x2e96ae))));if(_0x24d8c2[_0x33a57d(0x1cf)])throw new _0x34dda0(_0x33a57d(0x1e4),null,{'namedPresets':_0x24d8c2});}[_0x493f7e(0x1c9)](){const _0x3d2a7e=_0x493f7e,_0x59cf2a=this[_0x3d2a7e(0x1d8)],_0x4b619b=this[_0x3d2a7e(0x1d8)][_0x3d2a7e(0x1bd)][_0x3d2a7e(0x1be)](_0x3d2a7e(0x1c8));_0x59cf2a[_0x3d2a7e(0x1d7)][_0x3d2a7e(0x1ec)](_0x3d2a7e(0x1ed))[_0x3d2a7e(0x1e9)]({'model':{'key':_0x3d2a7e(0x1ea)},'view':_0x55e71b=>String(_0x55e71b)===String(_0x4b619b)?null:{'key':_0x3d2a7e(0x1d5),'value':{'line-height':_0x55e71b}}}),_0x59cf2a[_0x3d2a7e(0x1d7)][_0x3d2a7e(0x1ec)](_0x3d2a7e(0x1e7))[_0x3d2a7e(0x1e9)]({'model':{'key':_0x3d2a7e(0x1ea),'value':_0xd5a877=>{const _0x48d3cb=_0x3d2a7e;let _0x12302d=_0xd5a877[_0x48d3cb(0x1d0)](_0x48d3cb(0x1cd));return _0xcd9270(_0x12302d)&&(_0x12302d=String(Number(_0x12302d[_0x48d3cb(0x1b7)](0x0,-0x1))/0x64)),String(_0x12302d)===String(_0x4b619b)?null:_0x12302d;}},'view':{'styles':{'line-height':/.*/}}});}[_0x493f7e(0x1de)](){const _0x3fdf60=_0x493f7e,_0x65c9ee=this[_0x3fdf60(0x1d8)],_0x4800d0=this[_0x3fdf60(0x1d8)][_0x3fdf60(0x1bd)][_0x3fdf60(0x1be)](_0x3fdf60(0x1c8)),_0x104413=_0x146a54(this[_0x3fdf60(0x1d8)][_0x3fdf60(0x1bd)][_0x3fdf60(0x1be)](_0x3fdf60(0x1ea)))[_0x3fdf60(0x1e5)](_0x10cca6=>_0x10cca6[_0x3fdf60(0x1c1)]),_0x19d5e8=_0x222ea8(_0x3fdf60(0x1ea),_0x104413);_0x65c9ee[_0x3fdf60(0x1d7)][_0x3fdf60(0x1e9)](_0x19d5e8),_0x65c9ee[_0x3fdf60(0x1d7)][_0x3fdf60(0x1ec)](_0x3fdf60(0x1e7))[_0x3fdf60(0x1e9)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x3fdf60(0x1ea),'value':_0x224cef=>{const _0x303567=_0x3fdf60;let _0x59c2d9=_0x224cef[_0x303567(0x1d0)](_0x303567(0x1cd));return _0xcd9270(_0x59c2d9)&&(_0x59c2d9=String(Number(_0x59c2d9[_0x303567(0x1b7)](0x0,-0x1))/0x64)),_0x59c2d9===String(_0x4800d0)?null:_0x19d5e8[_0x303567(0x1c1)][_0x303567(0x1d4)][_0x303567(0x1e0)](_0x59c2d9)?_0x59c2d9:null;}}});}}
|