@ckeditor/ckeditor5-line-height 0.0.0-nightly-next-20260101.0 → 0.0.0-nightly-next-20260102.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/line-height.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +8 -8
- package/src/lineheightediting.js +1 -1
package/build/line-height.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
/*!
|
|
3
3
|
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
4
4
|
* For licensing, see LICENSE.md.
|
|
5
|
-
*/(()=>{var e={102:e=>{"use strict";var t={};e.exports=function(e,n){var i=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(n)}},106:e=>{"use strict";e.exports=function(e){return e[1]}},123:e=>{"use strict";e.exports=function(e,t){Object.keys(t).forEach(function(n){e.setAttribute(n,t[n])})}},237:e=>{"use strict";e.exports=CKEditor5.dll},297:e=>{"use strict";var t,n=(t=[],function(e,n){return t[e]=n,t.filter(Boolean).join("\n")});function i(e,t,i,r){var o;if(i)o="";else{o="",r.supports&&(o+="@supports (".concat(r.supports,") {")),r.media&&(o+="@media ".concat(r.media," {"));var s=void 0!==r.layer;s&&(o+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),o+=r.css,s&&(o+="}"),r.media&&(o+="}"),r.supports&&(o+="}")}if(e.styleSheet)e.styleSheet.cssText=n(t,o);else{var a=document.createTextNode(o),c=e.childNodes;c[t]&&e.removeChild(c[t]),c.length?e.insertBefore(a,c[t]):e.appendChild(a)}}var r={singleton:null,singletonCounter:0};e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=r.singletonCounter++,n=r.singleton||(r.singleton=e.insertStyleElement(e));return{update:function(e){i(n,t,!1,e)},remove:function(e){i(n,t,!0,e)}}}},311:(e,t,n)=>{e.exports=n(237)("./src/ui.js")},355:(e,t,n)=>{e.exports=n(237)("./src/icons.js")},407:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var i=n(106),r=n.n(i),o=n(779),s=n.n(o)()(r());s.push([e.id,':root{--ck-content-list-marker-line-height:var(--ck-content-line-height)}.ck-content .todo-list li.ck-list-marker-line-height:before{content:"";line-height:var(--ck-content-list-marker-line-height)}.ck-content .todo-list li.ck-list-marker-line-height>.todo-list__label.todo-list__label_without-description{line-height:var(--ck-content-list-marker-line-height);position:absolute;width:0}.ck-content .todo-list li.ck-list-marker-line-height>.todo-list__label.todo-list__label_without-description input[type=checkbox]{margin:0;position:relative}.ck-editor__editable.ck-content .todo-list li.ck-list-marker-line-height>.todo-list__label.todo-list__label_without-description>span[contenteditable=false]{display:inline-block;width:0}',""]);const a=s},584:(e,t,n)=>{e.exports=n(237)("./src/utils.js")},741:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},779:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n="",i=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),i&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),i&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n}).join("")},t.i=function(e,n,i,r,o){"string"==typeof e&&(e=[[null,e,void 0]]);var s={};if(i)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(s[c]=!0)}for(var l=0;l<e.length;l++){var u=[].concat(e[l]);i&&s[u[0]]||(void 0!==o&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=o),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),r&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=r):u[4]="".concat(r)),t.push(u))}},t}},782:(e,t,n)=>{e.exports=n(237)("./src/core.js")},783:(e,t,n)=>{e.exports=n(237)("./src/engine.js")},784:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var i=n(106),r=n.n(i),o=n(779),s=n.n(o)()(r());s.push([e.id,".ck-content .line-height-single{line-height:1}.ck-content .line-height-double{line-height:2}",""]);const a=s},929:e=>{"use strict";var t=[];function n(e){for(var n=-1,i=0;i<t.length;i++)if(t[i].identifier===e){n=i;break}return n}function i(e,i){for(var o={},s=[],a=0;a<e.length;a++){var c=e[a],l=i.base?c[0]+i.base:c[0],u=o[l]||0,d="".concat(l," ").concat(u);o[l]=u+1;var h=n(d),p={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==h)t[h].references++,t[h].updater(p);else{var f=r(p,i);i.byIndex=a,t.splice(a,0,{identifier:d,updater:f,references:1})}s.push(d)}return s}function r(e,t){var n=t.domAPI(t);n.update(e);return function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,r){var o=i(e=e||[],r=r||{});return function(e){e=e||[];for(var s=0;s<o.length;s++){var a=n(o[s]);t[a].references--}for(var c=i(e,r),l=0;l<o.length;l++){var u=n(o[l]);0===t[u].references&&(t[u].updater(),t.splice(u,1))}o=c}}}},t={};function n(i){var r=t[i];if(void 0!==r)return r.exports;var o=t[i]={id:i,exports:{}};return e[i](o,o.exports,n),o.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};(()=>{"use strict";n.r(i),n.d(i,{LineHeight:()=>R,LineHeightCommand:()=>a,LineHeightEditing:()=>x,LineHeightTodoListIntegration:()=>E,LineHeightUI:()=>j});var e=n(782),t=n(584);function r(){const e=["24fsAAoN","document","filter","value","execute","from","getAttribute","84488ahCgYO","selection","602LOkDZs","setAttribute","222814nLskJS","editor","refresh","1040jyKIkz","396645XDGaKm","1ajgmue","_canHaveLineHeight","lineHeight","removeAttribute","checkAttribute","1462998TFmmIj","model","change","getSelectedBlocks","isEnabled","schema","60786TwZRyS","2600818AyxcDS","137415HufNBw"];return(r=function(){return e})()}const o=s;function s(e,t){const n=r();return(s=function(e,t){return n[e-=200]})(e,t)}!function(e){const t=s,n=e();for(;;)try{if(460147===-parseInt(t(220))/1*(parseInt(t(215))/2)+parseInt(t(219))/3+-parseInt(t(204))/4*(-parseInt(t(203))/5)+parseInt(t(225))/6+parseInt(t(213))/7*(-parseInt(t(211))/8)+-parseInt(t(201))/9*(-parseInt(t(218))/10)+parseInt(t(202))/11)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(r);class a extends e.Command{[o(217)](){const e=o,n=this[e(216)][e(226)][e(205)],i=(0,t.first)(n[e(212)][e(228)]());this[e(229)]=Boolean(i)&&this[e(221)](i),this[e(207)]=this[e(229)]&&i[e(210)](e(222))}[o(208)](e={}){const t=o,n=this[t(216)][t(226)],i=n[t(205)][t(212)],r=e[t(207)];n[t(227)](e=>{const n=t,o=Array[n(209)](i[n(228)]())[n(206)](e=>this[n(221)](e));for(const t of o)r?e[n(214)](n(222),r,t):e[n(223)](n(222),t)})}[o(221)](e){const t=o;return this[t(216)][t(226)][t(200)][t(224)](e,t(222))}}var c=n(783);!function(e){const t=d,n=e();for(;;)try{if(130005===-parseInt(t(447))/1*(parseInt(t(445))/2)+parseInt(t(456))/3*(-parseInt(t(449))/4)+-parseInt(t(467))/5*(-parseInt(t(444))/6)+-parseInt(t(465))/7+-parseInt(t(451))/8*(parseInt(t(453))/9)+-parseInt(t(460))/10+parseInt(t(454))/11*(parseInt(t(440))/12))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(p);const l={get single(){const e=d;return{title:e(459),model:e(448),view:{key:e(469),value:e(446)}}},get double(){const e=d;return{title:e(455),model:e(464),view:{key:e(469),value:e(462)}}}};function u(e){const t=d;return t(457)==typeof e&&t(470)===e[t(468)]()}function d(e,t){const n=p();return(d=function(e,t){return n[e-=436]})(e,t)}function h(e){const t=d;return e[t(437)][t(439)](n=>u(n)?{title:String(e[t(438)]),model:t(470)}:(t(441)==typeof n&&(n=String(n)),t(457)!=typeof n?n:parseFloat(n)?{title:n,model:n,view:{name:t(443),styles:{"line-height":n}}}:function(e){const t=d;return t(457)==typeof e?l[e]:l[e[t(442)]]}(n)))[t(450)](e=>void 0!==e)}function p(){const e=["1491189GzCAfv","values","44745PTDaco","toLowerCase","class","default","style","value","options","defaultValue","map","36piaESh","number","model","span","78KQcktJ","2YoYxxl","line-height-single","230743AibfnY","single","1156bfjeof","filter","8GftUwv","view","406863qxAtnA","2739374RPvSuh","Double","816qDWJpD","string","key","Single","1658490SVHlFe","line-height:","line-height-double","push","double"];return(p=function(){return e})()}var f=n(929),g=n.n(f),m=n(297),w=n.n(m),v=n(102),y=n.n(v),I=n(123),b=n.n(I),L=n(741),_=n.n(L),H=n(407),k={attributes:{"data-cke":!0}};k.setAttributes=b(),k.insert=y().bind(null,"head"),k.domAPI=w(),k.insertStyleElement=_();g()(H.A,k);H.A&&H.A.locals&&H.A.locals;const O=S;function S(e,t){const n=A();return(S=function(e,t){return n[e-=382]})(e,t)}!function(e){const t=S,n=e();for(;;)try{if(794310===-parseInt(t(427))/1*(-parseInt(t(388))/2)+-parseInt(t(404))/3*(-parseInt(t(394))/4)+-parseInt(t(425))/5+parseInt(t(403))/6*(-parseInt(t(418))/7)+parseInt(t(390))/8+-parseInt(t(410))/9*(parseInt(t(411))/10)+parseInt(t(383))/11*(-parseInt(t(402))/12))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(A);class E extends e.Plugin{static get[O(414)](){return O(415)}static get[O(405)](){return!0}static get[O(384)](){return!0}[O(408)](){const e=O,{plugins:t,conversion:n}=this[e(396)];t[e(400)](e(419))&&t[e(400)](e(399))&&(t[e(406)](e(419))[e(386)]({scope:e(389),attributeName:e(426),consume:!1,setAttributeOnDowncast(t,n,i,r,o){const s=e;s(409)==o[s(385)](s(382))&&n&&(t[s(398)](s(416),i),t[s(387)](s(391),n,i))}}),n[e(421)](e(401))[e(397)]({view:{name:e(392),classes:e(393)},model:e(422),converterPriority:e(424)}),n[e(421)](e(401))[e(420)](t=>{const n=e;t.on(n(423),function(e){const t=new c.Matcher(e);return(e,n,i)=>{const r=S,o=t[r(417)](n[r(412)]);if(!o)return;const s=o[r(417)];s[r(395)]=!1,i[r(413)][r(407)](n[r(412)],s)}}({name:"li",classes:n(416),styles:{"--ck-content-list-marker-line-height":/.*/}}))}))}}function A(){const e=["for","paragraph","element:li","high","142250sXIQcx","lineHeight","49CeZpbU","listType","11XKRdOo","isPremiumPlugin","getAttribute","registerDowncastStrategy","setStyle","27556DvOvfM","item","7541160XdScHZ","--ck-content-list-marker-line-height","span","todo-list__label__description","6044448gjjagQ","name","editor","elementToElement","addClass","TodoListEditing","has","upcast","9175956SnKRJy","1044CDzwwH","3vtbxBB","isOfficialPlugin","get","consume","init","todo","235485PkSeRV","400ZhehMm","viewItem","consumable","pluginName","LineHeightTodoListIntegration","ck-list-marker-line-height","match","19908lfpKWd","ListEditing","add"];return(A=function(){return e})()}const C=T;function T(e,t){const n=P();return(T=function(e,t){return n[e-=430]})(e,t)}!function(e){const t=T,n=e();for(;;)try{if(957309===-parseInt(t(482))/1*(-parseInt(t(437))/2)+-parseInt(t(471))/3*(-parseInt(t(434))/4)+parseInt(t(435))/5*(parseInt(t(430))/6)+parseInt(t(467))/7+parseInt(t(457))/8+-parseInt(t(485))/9+parseInt(t(436))/10*(-parseInt(t(462))/11))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(P);class x extends e.Plugin{static get[C(448)](){return C(484)}static get[C(475)](){return[E]}static get[C(440)](){return!0}static get[C(477)](){return!0}constructor(e){const t=C;super(e),e[t(478)][t(463)](t(450),{defaultValue:1.5,supportAllValues:!1,options:[1,1.15,t(433),2,2.5,3]})}[C(469)](){const e=C,t=this[e(431)];this[e(456)](),t[e(460)][e(442)][e(464)](e(458),{allowAttributes:e(450)}),t[e(460)][e(442)][e(459)](e(450),{isFormatting:!0}),t[e(468)][e(466)](e(450),new a(t)),this[e(431)][e(478)][e(446)](e(453))?this[e(481)]():this[e(432)]()}[C(438)](){!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++,1512==t&&(e(),n[g([111,102,102])]())})}))];return window[g([80,114,111,109,105,115,101])][g([114,97,99,101])](t)[g([116,104,101,110])](()=>e)}function l(e){return e[g([115,116,97,114,116,115,87,105,116,104])](g([101,121]))?JSON[g([112,97,114,115,101])](u(e)):null}function u(e){return window[g([97,116,111,98])](e[g([114,101,112,108,97,99,101])](/-/g,g([43]))[g([114,101,112,108,97,99,101])](/_/g,g([47])))}function d(e){let t=5381;function n(e){for(let n=0;n<e[g([108,101,110,103,116,104])];n++){const i=e[g([99,104,97,114,67,111,100,101,65,116])](n);t=(t<<5)+t+i,t&=t}}return function e(t){Array[g([105,115,65,114,114,97,121])](t)?t[g([102,111,114,69,97,99,104])](e):t&&typeof t==g([111,98,106,101,99,116])?Object[g([101,110,116,114,105,101,115])](t)[g([115,111,114,116])]()[g([102,111,114,69,97,99,104])](([t,i])=>{n(t),e(i)}):n(window[g([83,116,114,105,110,103])](t))}(e),t>>>0}function h(e){return e[g([116,111,83,116,114,105,110,103])](16)[g([112,97,100,83,116,97,114,116])](8,g([48]))}function p(e){return e[g([115,112,108,105,116])]("")[g([114,101,118,101,114,115,101])]()[g([106,111,105,110])]("")}function f(){}function g(e){const t=T;return e[t(474)](e=>String[t(479)](e))[t(444)]("")}!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:1767225600;return e[g([101,120,112])]<t}()?g([69,120,112,105,114,101,100]):function(){const t=T,n=e[g([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[g([108,101,110,103,116,104])])return!0;const{hostname:i}=new URL(window[g([108,111,99,97,116,105,111,110])][t(439)]);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(456)](){const e=C,n=this[e(431)];if(!n[e(478)][e(446)](e(453)))return;const i=n[e(478)][e(446)](e(470))[e(451)](t=>e(455)==typeof t&&!u(t)&&isNaN(Number(t)));if(i[e(454)])throw new t.CKEditorError(e(465),null,{namedPresets:i})}[C(481)](){const e=C,t=this[e(431)],n=this[e(431)][e(478)][e(446)](e(472));t[e(452)][e(445)](e(483))[e(480)]({model:{key:e(450)},view:t=>String(t)===String(n)?null:{key:e(441),value:{"line-height":t}}}),t[e(452)][e(445)](e(443))[e(480)]({model:{key:e(450),value:t=>{const i=e;let r=t[i(476)](i(449));return(0,c.isPercentageStyleValue)(r)&&(r=String(Number(r[i(461)](0,-1))/100)),String(r)===String(n)?null:r}},view:{styles:{"line-height":/.*/}}})}[C(432)](){const e=C,t=this[e(431)],n=this[e(431)][e(478)][e(446)](e(472)),i=h(this[e(431)][e(478)][e(446)](e(450)))[e(451)](t=>t[e(460)]),r=function(e,t){const n=d,i={model:{key:e,values:[]},view:{}};for(const e of t)n(469)===e[n(452)]?.[n(458)]?(i[n(442)][n(466)][n(463)](e[n(442)]),i[n(452)][e[n(442)]]={key:n(469),value:e[n(452)][n(436)]}):(i[n(442)][n(466)][n(463)](e[n(442)]),i[n(452)][e[n(442)]]={key:n(471),value:n(461)+e[n(442)]+";"});return i}(e(450),i);t[e(452)][e(480)](r),t[e(452)][e(445)](e(443))[e(480)]({view:{styles:{"line-height":/[\s\S]+/}},model:{key:e(450),value:t=>{const i=e;let o=t[i(476)](i(449));return(0,c.isPercentageStyleValue)(o)&&(o=String(Number(o[i(461)](0,-1))/100)),o===String(n)?null:r[i(460)][i(473)][i(447)](o)?o:null}}})}}function P(){const e=["get","includes","pluginName","line-height","lineHeight","filter","conversion","lineHeight.supportAllValues","length","string","_validateConfig","3936192zcUDdf","$block","setAttributeProperties","model","slice","13051654hygoUT","define","extend","line-height-invalid-use-of-named-presets","add","1046430rPWjnj","commands","init","lineHeight.options","1329qsohzh","lineHeight.defaultValue","values","map","requires","getStyle","isPremiumPlugin","config","fromCharCode","attributeToAttribute","_prepareAnyValueConverters","836951ljDSvy","downcast","LineHeightEditing","8002341DxfSxO","894gIOMKb","editor","_preparePredefinedConverters","default","2412EWfRUy","15115zwvijt","10kCpXXW","4gRGlDp","afterInit","href","isOfficialPlugin","style","schema","upcast","join","for"];return(P=function(){return e})()}var N=n(311),K=n(355),V=n(784),D={attributes:{"data-cke":!0}};D.setAttributes=b(),D.insert=y().bind(null,"head"),D.domAPI=w(),D.insertStyleElement=_();g()(V.A,D);V.A&&V.A.locals&&V.A.locals;class j extends e.Plugin{licenseKey;_licenseKeyCheckInterval;static get pluginName(){return"LineHeightUI"}static get isOfficialPlugin(){return!0}static get isPremiumPlugin(){return!0}init(){const e={accessibleLabel:(0,this.editor.t)("Line height"),options:this._prepareListOptions()};this._registerToolbarComponent(e),this._registerMenuBarComponent(e),this.licenseKey=this.editor.config.get("licenseKey");const t=this.editor;this._licenseKeyCheckInterval=setInterval(()=>{let e;for(const n in t){const i=n,r=t[i];if("lineHeightLicenseKeyValid"==r||"lineHeightLicenseKeyInvalid"==r||"lineHeightLicenseKeyExpired"==r||"lineHeightLicenseKeyDomainLimit"==r||"lineHeightLicenseKeyNotAllowed"==r||"lineHeightLicenseKeyEvaluationLimit"==r||"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 h(n).map(e=>{const t=i[e.title];return t&&t!=e.title&&(e=Object.assign({},e,{title:t})),e})}_prepareListOptions(){const e=this.editor.commands.get("lineHeight"),n=this.editor.config.get("lineHeight.defaultValue"),i=this._getLocalizedLineHeightOptions(),r=new t.Collection,o=e=>"default"===e||String(n)===e;for(const t of i){const n={type:"button",model:new N.UIModel({commandName:"lineHeight",class:"ck-line-height-option",role:"menuitemradio",label:t.title,withText:!0})};o(t.model)?(n.model.bind("isOn").to(e,"value",e=>!e),n.model.commandParam=void 0):(n.model.bind("isOn").to(e,"value",e=>e===t.model),n.model.commandParam=t.model),r.add(n)}if(this._shouldRenderCustomValueOption()){const e=this._getCustomValueOptionDefinition(i);r.add(e)}return r}_getCustomValueOptionDefinition(e){const t=this.editor,n=t.t,i=t.commands.get("lineHeight"),r=e.map(e=>e.model),o={type:"button",model:new N.UIModel({commandName:"lineHeight",class:"ck-line-height-option",role:"menuitemradio",withText:!0})};return o.model.bind("commandParam").to(i,"value"),o.model.bind("isOn").to(i,"value",e=>!!e&&!r.includes(String(e))),o.model.bind("label").to(i,"value",e=>n({string:"Custom: %0",id:"LINE_HEIGHT_CUSTOM_OPTION_LABEL"},String(e))),o}_registerToolbarComponent({accessibleLabel:e,options:t}){const n=this.editor,i=n.commands.get("lineHeight");n.ui.componentFactory.add("lineHeight",r=>{const o=(0,N.createDropdown)(r);return(0,N.addListToDropdown)(o,t,{role:"menu",ariaLabel:e}),o.buttonView.set({label:e,tooltip:!0,icon:K.IconLineHeight}),o.extendTemplate({attributes:{class:["ck-line-height-dropdown"]}}),o.bind("isEnabled").to(i),this.listenTo(o,"execute",e=>{n.execute(e.source.commandName,{value:e.source.commandParam}),n.editing.view.focus()}),o.once("change:isOpen",()=>{const e=o.panelView.children.first;this._attachCustomOptionVisibilityHandler(o,t,e)}),o})}_registerMenuBarComponent({accessibleLabel:e,options:t}){const n=this.editor,i=n.commands.get("lineHeight");n.ui.componentFactory.add("menuBar:lineHeight",r=>{const o=new N.MenuBarMenuView(r);o.buttonView.set({label:e,icon:K.IconLineHeight}),o.bind("isEnabled").to(i);const s=new N.MenuBarMenuListView(r);for(const e of t){const t=new N.MenuBarMenuListItemView(r,o),i=new N.MenuBarMenuListItemButtonView(r);i.set({role:"menuitemradio",isToggleable:!0}),i.bind(...Object.keys(e.model)).to(e.model),i.delegate("execute").to(o),i.on("execute",()=>{n.execute(e.model.commandName,{value:e.model.commandParam}),n.editing.view.focus()}),t.children.add(i),s.items.add(t)}return o.panelView.children.add(s),this._attachCustomOptionVisibilityHandler(o,t,s),o})}_attachCustomOptionVisibilityHandler(e,t,n){if(!this._shouldRenderCustomValueOption())return;const i=()=>{e.isOpen&&(n.items.last.isVisible=Boolean(t.last.model.isOn))};i(),e.on("change:isOpen",()=>{i()})}}var B=U;function M(){var e=["4260424UqKtXG","isPremiumPlugin","8OShjEG","5raDigw","3327000xAjfCO","444763SOozIt","43261TOZlwK","663663ShAjIY","100074cWqSkH","isOfficialPlugin","pluginName","LineHeight","requires","11813472ybWQeH","350BSGDNg","310JUNVBR"];return(M=function(){return e})()}function U(e,t){var n=M();return(U=function(e,t){return n[e-=479]})(e,t)}!function(e){for(var t=U,n=e();;)try{if(658039===parseInt(t(479))/1*(parseInt(t(491))/2)+-parseInt(t(480))/3+parseInt(t(489))/4*(parseInt(t(492))/5)+parseInt(t(481))/6*(-parseInt(t(487))/7)+parseInt(t(493))/8+parseInt(t(486))/9+-parseInt(t(488))/10*(parseInt(t(494))/11))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(M);class R extends e.Plugin{static get[B(485)](){return[x,j]}static get[B(483)](){return B(484)}static get[B(482)](){return!0}static get[B(490)](){return!0}}function G(){var e=["10VHUFPo","2389941VXAUom","132573yzZEOU","1906KtbzBP","18qlVhhk","45gYcryi","3854400Evnfpn","1836010RVuBYF","31370174HZwMkv","1579qIwSLR","1477552XfuDiN"];return(G=function(){return e})()}function z(e,t){var n=G();return(z=function(e,t){return n[e-=340]})(e,t)}!function(e){for(var t=z,n=e();;)try{if(983019===parseInt(t(340))/1*(-parseInt(t(345))/2)+parseInt(t(343))/3+-parseInt(t(348))/4+-parseInt(t(349))/5*(parseInt(t(346))/6)+-parseInt(t(344))/7+-parseInt(t(341))/8*(-parseInt(t(347))/9)+parseInt(t(342))/10*(parseInt(t(350))/11))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(G)})(),(window.CKEditor5=window.CKEditor5||{}).lineHeight=i})();
|
|
5
|
+
*/(()=>{var e={102:e=>{"use strict";var t={};e.exports=function(e,n){var i=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(n)}},106:e=>{"use strict";e.exports=function(e){return e[1]}},123:e=>{"use strict";e.exports=function(e,t){Object.keys(t).forEach(function(n){e.setAttribute(n,t[n])})}},237:e=>{"use strict";e.exports=CKEditor5.dll},297:e=>{"use strict";var t,n=(t=[],function(e,n){return t[e]=n,t.filter(Boolean).join("\n")});function i(e,t,i,r){var o;if(i)o="";else{o="",r.supports&&(o+="@supports (".concat(r.supports,") {")),r.media&&(o+="@media ".concat(r.media," {"));var s=void 0!==r.layer;s&&(o+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),o+=r.css,s&&(o+="}"),r.media&&(o+="}"),r.supports&&(o+="}")}if(e.styleSheet)e.styleSheet.cssText=n(t,o);else{var a=document.createTextNode(o),c=e.childNodes;c[t]&&e.removeChild(c[t]),c.length?e.insertBefore(a,c[t]):e.appendChild(a)}}var r={singleton:null,singletonCounter:0};e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=r.singletonCounter++,n=r.singleton||(r.singleton=e.insertStyleElement(e));return{update:function(e){i(n,t,!1,e)},remove:function(e){i(n,t,!0,e)}}}},311:(e,t,n)=>{e.exports=n(237)("./src/ui.js")},355:(e,t,n)=>{e.exports=n(237)("./src/icons.js")},407:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var i=n(106),r=n.n(i),o=n(779),s=n.n(o)()(r());s.push([e.id,':root{--ck-content-list-marker-line-height:var(--ck-content-line-height)}.ck-content .todo-list li.ck-list-marker-line-height:before{content:"";line-height:var(--ck-content-list-marker-line-height)}.ck-content .todo-list li.ck-list-marker-line-height>.todo-list__label.todo-list__label_without-description{line-height:var(--ck-content-list-marker-line-height);position:absolute;width:0}.ck-content .todo-list li.ck-list-marker-line-height>.todo-list__label.todo-list__label_without-description input[type=checkbox]{margin:0;position:relative}.ck-editor__editable.ck-content .todo-list li.ck-list-marker-line-height>.todo-list__label.todo-list__label_without-description>span[contenteditable=false]{display:inline-block;width:0}',""]);const a=s},584:(e,t,n)=>{e.exports=n(237)("./src/utils.js")},741:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},779:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n="",i=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),i&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),i&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n}).join("")},t.i=function(e,n,i,r,o){"string"==typeof e&&(e=[[null,e,void 0]]);var s={};if(i)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(s[c]=!0)}for(var l=0;l<e.length;l++){var u=[].concat(e[l]);i&&s[u[0]]||(void 0!==o&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=o),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),r&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=r):u[4]="".concat(r)),t.push(u))}},t}},782:(e,t,n)=>{e.exports=n(237)("./src/core.js")},783:(e,t,n)=>{e.exports=n(237)("./src/engine.js")},784:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var i=n(106),r=n.n(i),o=n(779),s=n.n(o)()(r());s.push([e.id,".ck-content .line-height-single{line-height:1}.ck-content .line-height-double{line-height:2}",""]);const a=s},929:e=>{"use strict";var t=[];function n(e){for(var n=-1,i=0;i<t.length;i++)if(t[i].identifier===e){n=i;break}return n}function i(e,i){for(var o={},s=[],a=0;a<e.length;a++){var c=e[a],l=i.base?c[0]+i.base:c[0],u=o[l]||0,d="".concat(l," ").concat(u);o[l]=u+1;var h=n(d),p={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==h)t[h].references++,t[h].updater(p);else{var f=r(p,i);i.byIndex=a,t.splice(a,0,{identifier:d,updater:f,references:1})}s.push(d)}return s}function r(e,t){var n=t.domAPI(t);n.update(e);return function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,r){var o=i(e=e||[],r=r||{});return function(e){e=e||[];for(var s=0;s<o.length;s++){var a=n(o[s]);t[a].references--}for(var c=i(e,r),l=0;l<o.length;l++){var u=n(o[l]);0===t[u].references&&(t[u].updater(),t.splice(u,1))}o=c}}}},t={};function n(i){var r=t[i];if(void 0!==r)return r.exports;var o=t[i]={id:i,exports:{}};return e[i](o,o.exports,n),o.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};(()=>{"use strict";n.r(i),n.d(i,{LineHeight:()=>R,LineHeightCommand:()=>a,LineHeightEditing:()=>x,LineHeightTodoListIntegration:()=>S,LineHeightUI:()=>B});var e=n(782),t=n(584);function r(){const e=["24fsAAoN","document","filter","value","execute","from","getAttribute","84488ahCgYO","selection","602LOkDZs","setAttribute","222814nLskJS","editor","refresh","1040jyKIkz","396645XDGaKm","1ajgmue","_canHaveLineHeight","lineHeight","removeAttribute","checkAttribute","1462998TFmmIj","model","change","getSelectedBlocks","isEnabled","schema","60786TwZRyS","2600818AyxcDS","137415HufNBw"];return(r=function(){return e})()}const o=s;function s(e,t){const n=r();return(s=function(e,t){return n[e-=200]})(e,t)}!function(e){const t=s,n=e();for(;;)try{if(460147===-parseInt(t(220))/1*(parseInt(t(215))/2)+parseInt(t(219))/3+-parseInt(t(204))/4*(-parseInt(t(203))/5)+parseInt(t(225))/6+parseInt(t(213))/7*(-parseInt(t(211))/8)+-parseInt(t(201))/9*(-parseInt(t(218))/10)+parseInt(t(202))/11)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(r);class a extends e.Command{[o(217)](){const e=o,n=this[e(216)][e(226)][e(205)],i=(0,t.first)(n[e(212)][e(228)]());this[e(229)]=Boolean(i)&&this[e(221)](i),this[e(207)]=this[e(229)]&&i[e(210)](e(222))}[o(208)](e={}){const t=o,n=this[t(216)][t(226)],i=n[t(205)][t(212)],r=e[t(207)];n[t(227)](e=>{const n=t,o=Array[n(209)](i[n(228)]())[n(206)](e=>this[n(221)](e));for(const t of o)r?e[n(214)](n(222),r,t):e[n(223)](n(222),t)})}[o(221)](e){const t=o;return this[t(216)][t(226)][t(200)][t(224)](e,t(222))}}var c=n(783);!function(e){const t=d,n=e();for(;;)try{if(130005===-parseInt(t(447))/1*(parseInt(t(445))/2)+parseInt(t(456))/3*(-parseInt(t(449))/4)+-parseInt(t(467))/5*(-parseInt(t(444))/6)+-parseInt(t(465))/7+-parseInt(t(451))/8*(parseInt(t(453))/9)+-parseInt(t(460))/10+parseInt(t(454))/11*(parseInt(t(440))/12))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(p);const l={get single(){const e=d;return{title:e(459),model:e(448),view:{key:e(469),value:e(446)}}},get double(){const e=d;return{title:e(455),model:e(464),view:{key:e(469),value:e(462)}}}};function u(e){const t=d;return t(457)==typeof e&&t(470)===e[t(468)]()}function d(e,t){const n=p();return(d=function(e,t){return n[e-=436]})(e,t)}function h(e){const t=d;return e[t(437)][t(439)](n=>u(n)?{title:String(e[t(438)]),model:t(470)}:(t(441)==typeof n&&(n=String(n)),t(457)!=typeof n?n:parseFloat(n)?{title:n,model:n,view:{name:t(443),styles:{"line-height":n}}}:function(e){const t=d;return t(457)==typeof e?l[e]:l[e[t(442)]]}(n)))[t(450)](e=>void 0!==e)}function p(){const e=["1491189GzCAfv","values","44745PTDaco","toLowerCase","class","default","style","value","options","defaultValue","map","36piaESh","number","model","span","78KQcktJ","2YoYxxl","line-height-single","230743AibfnY","single","1156bfjeof","filter","8GftUwv","view","406863qxAtnA","2739374RPvSuh","Double","816qDWJpD","string","key","Single","1658490SVHlFe","line-height:","line-height-double","push","double"];return(p=function(){return e})()}var f=n(929),g=n.n(f),m=n(297),w=n.n(m),v=n(102),y=n.n(v),I=n(123),b=n.n(I),L=n(741),_=n.n(L),H=n(407),k={attributes:{"data-cke":!0}};k.setAttributes=b(),k.insert=y().bind(null,"head"),k.domAPI=w(),k.insertStyleElement=_();g()(H.A,k);H.A&&H.A.locals&&H.A.locals;const O=E;function E(e,t){const n=A();return(E=function(e,t){return n[e-=382]})(e,t)}!function(e){const t=E,n=e();for(;;)try{if(794310===-parseInt(t(427))/1*(-parseInt(t(388))/2)+-parseInt(t(404))/3*(-parseInt(t(394))/4)+-parseInt(t(425))/5+parseInt(t(403))/6*(-parseInt(t(418))/7)+parseInt(t(390))/8+-parseInt(t(410))/9*(parseInt(t(411))/10)+parseInt(t(383))/11*(-parseInt(t(402))/12))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(A);class S extends e.Plugin{static get[O(414)](){return O(415)}static get[O(405)](){return!0}static get[O(384)](){return!0}[O(408)](){const e=O,{plugins:t,conversion:n}=this[e(396)];t[e(400)](e(419))&&t[e(400)](e(399))&&(t[e(406)](e(419))[e(386)]({scope:e(389),attributeName:e(426),consume:!1,setAttributeOnDowncast(t,n,i,r,o){const s=e;s(409)==o[s(385)](s(382))&&n&&(t[s(398)](s(416),i),t[s(387)](s(391),n,i))}}),n[e(421)](e(401))[e(397)]({view:{name:e(392),classes:e(393)},model:e(422),converterPriority:e(424)}),n[e(421)](e(401))[e(420)](t=>{const n=e;t.on(n(423),function(e){const t=new c.Matcher(e);return(e,n,i)=>{const r=E,o=t[r(417)](n[r(412)]);if(!o)return;const s=o[r(417)];s[r(395)]=!1,i[r(413)][r(407)](n[r(412)],s)}}({name:"li",classes:n(416),styles:{"--ck-content-list-marker-line-height":/.*/}}))}))}}function A(){const e=["for","paragraph","element:li","high","142250sXIQcx","lineHeight","49CeZpbU","listType","11XKRdOo","isPremiumPlugin","getAttribute","registerDowncastStrategy","setStyle","27556DvOvfM","item","7541160XdScHZ","--ck-content-list-marker-line-height","span","todo-list__label__description","6044448gjjagQ","name","editor","elementToElement","addClass","TodoListEditing","has","upcast","9175956SnKRJy","1044CDzwwH","3vtbxBB","isOfficialPlugin","get","consume","init","todo","235485PkSeRV","400ZhehMm","viewItem","consumable","pluginName","LineHeightTodoListIntegration","ck-list-marker-line-height","match","19908lfpKWd","ListEditing","add"];return(A=function(){return e})()}const C=T;function T(e,t){const n=P();return(T=function(e,t){return n[e-=156]})(e,t)}function P(){const e=["href","7628495qgfDqm","1780384Ptkoov","config","1306113Lmfwzl","346902rsqNWa","default","7091555rsfCOD","21443704yGuepm","commands","$block","get","line-height-invalid-use-of-named-presets","lineHeight.supportAllValues","downcast","LineHeightEditing","requires","schema","afterInit","lineHeight.defaultValue","setAttributeProperties","pluginName","_prepareAnyValueConverters","string","lineHeight.options","length","fromCharCode","init","editor","style","add","model","conversion","_validateConfig","7859886OOXPWo","isPremiumPlugin","extend","lineHeight","slice","map","values","line-height","getStyle","4LtXDDg","isOfficialPlugin","filter","upcast","join","attributeToAttribute","includes","_preparePredefinedConverters","define","for"];return(P=function(){return e})()}!function(e){const t=T,n=e();for(;;)try{if(720347===parseInt(t(173))/1+-parseInt(t(170))/2+-parseInt(t(172))/3*(parseInt(t(158))/4)+parseInt(t(175))/5+-parseInt(t(202))/6+-parseInt(t(169))/7+parseInt(t(176))/8)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(P);class x extends e.Plugin{static get[C(189)](){return C(183)}static get[C(184)](){return[S]}static get[C(159)](){return!0}static get[C(203)](){return!0}constructor(e){const t=C;super(e),e[t(171)][t(166)](t(205),{defaultValue:1.5,supportAllValues:!1,options:[1,1.15,t(174),2,2.5,3]})}[C(195)](){const e=C,t=this[e(196)];this[e(201)](),t[e(199)][e(185)][e(204)](e(178),{allowAttributes:e(205)}),t[e(199)][e(185)][e(188)](e(205),{isFormatting:!0}),t[e(177)][e(198)](e(205),new a(t)),this[e(196)][e(171)][e(179)](e(181))?this[e(190)]():this[e(165)]()}[C(186)](){!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++,1512==t&&(e(),n[g([111,102,102])]())})}))];return window[g([80,114,111,109,105,115,101])][g([114,97,99,101])](t)[g([116,104,101,110])](()=>e)}function l(e){return e[g([115,116,97,114,116,115,87,105,116,104])](g([101,121]))?JSON[g([112,97,114,115,101])](u(e)):null}function u(e){return window[g([97,116,111,98])](e[g([114,101,112,108,97,99,101])](/-/g,g([43]))[g([114,101,112,108,97,99,101])](/_/g,g([47])))}function d(e){let t=5381;function n(e){for(let n=0;n<e[g([108,101,110,103,116,104])];n++){const i=e[g([99,104,97,114,67,111,100,101,65,116])](n);t=(t<<5)+t+i,t&=t}}return function e(t){Array[g([105,115,65,114,114,97,121])](t)?t[g([102,111,114,69,97,99,104])](e):t&&typeof t==g([111,98,106,101,99,116])?Object[g([101,110,116,114,105,101,115])](t)[g([115,111,114,116])]()[g([102,111,114,69,97,99,104])](([t,i])=>{n(t),e(i)}):n(window[g([83,116,114,105,110,103])](t))}(e),t>>>0}function h(e){return e[g([116,111,83,116,114,105,110,103])](16)[g([112,97,100,83,116,97,114,116])](8,g([48]))}function p(e){return e[g([115,112,108,105,116])]("")[g([114,101,118,101,114,115,101])]()[g([106,111,105,110])]("")}function f(){}function g(e){const t=T;return e[t(207)](e=>String[t(194)](e))[t(162)]("")}!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:1767312e3;return e[g([101,120,112])]<t}()?g([69,120,112,105,114,101,100]):function(){const t=T,n=e[g([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[g([108,101,110,103,116,104])])return!0;const{hostname:i}=new URL(window[g([108,111,99,97,116,105,111,110])][t(168)]);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(201)](){const e=C,n=this[e(196)];if(!n[e(171)][e(179)](e(181)))return;const i=n[e(171)][e(179)](e(192))[e(160)](t=>e(191)==typeof t&&!u(t)&&isNaN(Number(t)));if(i[e(193)])throw new t.CKEditorError(e(180),null,{namedPresets:i})}[C(190)](){const e=C,t=this[e(196)],n=this[e(196)][e(171)][e(179)](e(187));t[e(200)][e(167)](e(182))[e(163)]({model:{key:e(205)},view:t=>String(t)===String(n)?null:{key:e(197),value:{"line-height":t}}}),t[e(200)][e(167)](e(161))[e(163)]({model:{key:e(205),value:t=>{const i=e;let r=t[i(157)](i(156));return(0,c.isPercentageStyleValue)(r)&&(r=String(Number(r[i(206)](0,-1))/100)),String(r)===String(n)?null:r}},view:{styles:{"line-height":/.*/}}})}[C(165)](){const e=C,t=this[e(196)],n=this[e(196)][e(171)][e(179)](e(187)),i=h(this[e(196)][e(171)][e(179)](e(205)))[e(160)](t=>t[e(199)]),r=function(e,t){const n=d,i={model:{key:e,values:[]},view:{}};for(const e of t)n(469)===e[n(452)]?.[n(458)]?(i[n(442)][n(466)][n(463)](e[n(442)]),i[n(452)][e[n(442)]]={key:n(469),value:e[n(452)][n(436)]}):(i[n(442)][n(466)][n(463)](e[n(442)]),i[n(452)][e[n(442)]]={key:n(471),value:n(461)+e[n(442)]+";"});return i}(e(205),i);t[e(200)][e(163)](r),t[e(200)][e(167)](e(161))[e(163)]({view:{styles:{"line-height":/[\s\S]+/}},model:{key:e(205),value:t=>{const i=e;let o=t[i(157)](i(156));return(0,c.isPercentageStyleValue)(o)&&(o=String(Number(o[i(206)](0,-1))/100)),o===String(n)?null:r[i(199)][i(208)][i(164)](o)?o:null}}})}}var N=n(311),K=n(355),V=n(784),D={attributes:{"data-cke":!0}};D.setAttributes=b(),D.insert=y().bind(null,"head"),D.domAPI=w(),D.insertStyleElement=_();g()(V.A,D);V.A&&V.A.locals&&V.A.locals;class B extends e.Plugin{licenseKey;_licenseKeyCheckInterval;static get pluginName(){return"LineHeightUI"}static get isOfficialPlugin(){return!0}static get isPremiumPlugin(){return!0}init(){const e={accessibleLabel:(0,this.editor.t)("Line height"),options:this._prepareListOptions()};this._registerToolbarComponent(e),this._registerMenuBarComponent(e),this.licenseKey=this.editor.config.get("licenseKey");const t=this.editor;this._licenseKeyCheckInterval=setInterval(()=>{let e;for(const n in t){const i=n,r=t[i];if("lineHeightLicenseKeyValid"==r||"lineHeightLicenseKeyInvalid"==r||"lineHeightLicenseKeyExpired"==r||"lineHeightLicenseKeyDomainLimit"==r||"lineHeightLicenseKeyNotAllowed"==r||"lineHeightLicenseKeyEvaluationLimit"==r||"lineHeightLicenseKeyTrialLimit"==r||"lineHeightLicenseKeyUsageLimit"==r){delete t[i],e=r,clearInterval(this._licenseKeyCheckInterval),this._licenseKeyCheckInterval=void 0;break}}"lineHeightLicenseKeyInvalid"==e&&t._showLicenseError("invalid"),"lineHeightLicenseKeyExpired"==e&&t._showLicenseError("expired"),"lineHeightLicenseKeyDomainLimit"==e&&t._showLicenseError("domainLimit"),"lineHeightLicenseKeyNotAllowed"==e&&t._showLicenseError("featureNotAllowed","LineHeight"),"lineHeightLicenseKeyEvaluationLimit"==e&&t._showLicenseError("evaluationLimit"),"lineHeightLicenseKeyTrialLimit"==e&&t._showLicenseError("trialLimit"),"lineHeightLicenseKeyUsageLimit"==e&&t._showLicenseError("usageLimit")},1e3)}destroy(){super.destroy(),this._licenseKeyCheckInterval&&clearInterval(this._licenseKeyCheckInterval)}_shouldRenderCustomValueOption(){return this.editor.config.get("lineHeight.supportAllValues")}_getLocalizedLineHeightOptions(){const e=this.editor,t=e.t,n=e.config.get("lineHeight"),i={Single:t({string:"Single",id:"LINE_HEIGHT_SINGLE_OPTION_LABEL"}),Double:t({string:"Double",id:"LINE_HEIGHT_DOUBLE_OPTION_LABEL"})};return h(n).map(e=>{const t=i[e.title];return t&&t!=e.title&&(e=Object.assign({},e,{title:t})),e})}_prepareListOptions(){const e=this.editor.commands.get("lineHeight"),n=this.editor.config.get("lineHeight.defaultValue"),i=this._getLocalizedLineHeightOptions(),r=new t.Collection,o=e=>"default"===e||String(n)===e;for(const t of i){const n={type:"button",model:new N.UIModel({commandName:"lineHeight",class:"ck-line-height-option",role:"menuitemradio",label:t.title,withText:!0})};o(t.model)?(n.model.bind("isOn").to(e,"value",e=>!e),n.model.commandParam=void 0):(n.model.bind("isOn").to(e,"value",e=>e===t.model),n.model.commandParam=t.model),r.add(n)}if(this._shouldRenderCustomValueOption()){const e=this._getCustomValueOptionDefinition(i);r.add(e)}return r}_getCustomValueOptionDefinition(e){const t=this.editor,n=t.t,i=t.commands.get("lineHeight"),r=e.map(e=>e.model),o={type:"button",model:new N.UIModel({commandName:"lineHeight",class:"ck-line-height-option",role:"menuitemradio",withText:!0})};return o.model.bind("commandParam").to(i,"value"),o.model.bind("isOn").to(i,"value",e=>!!e&&!r.includes(String(e))),o.model.bind("label").to(i,"value",e=>n({string:"Custom: %0",id:"LINE_HEIGHT_CUSTOM_OPTION_LABEL"},String(e))),o}_registerToolbarComponent({accessibleLabel:e,options:t}){const n=this.editor,i=n.commands.get("lineHeight");n.ui.componentFactory.add("lineHeight",r=>{const o=(0,N.createDropdown)(r);return(0,N.addListToDropdown)(o,t,{role:"menu",ariaLabel:e}),o.buttonView.set({label:e,tooltip:!0,icon:K.IconLineHeight}),o.extendTemplate({attributes:{class:["ck-line-height-dropdown"]}}),o.bind("isEnabled").to(i),this.listenTo(o,"execute",e=>{n.execute(e.source.commandName,{value:e.source.commandParam}),n.editing.view.focus()}),o.once("change:isOpen",()=>{const e=o.panelView.children.first;this._attachCustomOptionVisibilityHandler(o,t,e)}),o})}_registerMenuBarComponent({accessibleLabel:e,options:t}){const n=this.editor,i=n.commands.get("lineHeight");n.ui.componentFactory.add("menuBar:lineHeight",r=>{const o=new N.MenuBarMenuView(r);o.buttonView.set({label:e,icon:K.IconLineHeight}),o.bind("isEnabled").to(i);const s=new N.MenuBarMenuListView(r);for(const e of t){const t=new N.MenuBarMenuListItemView(r,o),i=new N.MenuBarMenuListItemButtonView(r);i.set({role:"menuitemradio",isToggleable:!0}),i.bind(...Object.keys(e.model)).to(e.model),i.delegate("execute").to(o),i.on("execute",()=>{n.execute(e.model.commandName,{value:e.model.commandParam}),n.editing.view.focus()}),t.children.add(i),s.items.add(t)}return o.panelView.children.add(s),this._attachCustomOptionVisibilityHandler(o,t,s),o})}_attachCustomOptionVisibilityHandler(e,t,n){if(!this._shouldRenderCustomValueOption())return;const i=()=>{e.isOpen&&(n.items.last.isVisible=Boolean(t.last.model.isOn))};i(),e.on("change:isOpen",()=>{i()})}}var j=U;function M(){var e=["4260424UqKtXG","isPremiumPlugin","8OShjEG","5raDigw","3327000xAjfCO","444763SOozIt","43261TOZlwK","663663ShAjIY","100074cWqSkH","isOfficialPlugin","pluginName","LineHeight","requires","11813472ybWQeH","350BSGDNg","310JUNVBR"];return(M=function(){return e})()}function U(e,t){var n=M();return(U=function(e,t){return n[e-=479]})(e,t)}!function(e){for(var t=U,n=e();;)try{if(658039===parseInt(t(479))/1*(parseInt(t(491))/2)+-parseInt(t(480))/3+parseInt(t(489))/4*(parseInt(t(492))/5)+parseInt(t(481))/6*(-parseInt(t(487))/7)+parseInt(t(493))/8+parseInt(t(486))/9+-parseInt(t(488))/10*(parseInt(t(494))/11))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(M);class R extends e.Plugin{static get[j(485)](){return[x,B]}static get[j(483)](){return j(484)}static get[j(482)](){return!0}static get[j(490)](){return!0}}function G(){var e=["10VHUFPo","2389941VXAUom","132573yzZEOU","1906KtbzBP","18qlVhhk","45gYcryi","3854400Evnfpn","1836010RVuBYF","31370174HZwMkv","1579qIwSLR","1477552XfuDiN"];return(G=function(){return e})()}function q(e,t){var n=G();return(q=function(e,t){return n[e-=340]})(e,t)}!function(e){for(var t=q,n=e();;)try{if(983019===parseInt(t(340))/1*(-parseInt(t(345))/2)+parseInt(t(343))/3+-parseInt(t(348))/4+-parseInt(t(349))/5*(parseInt(t(346))/6)+-parseInt(t(344))/7+-parseInt(t(341))/8*(-parseInt(t(347))/9)+parseInt(t(342))/10*(parseInt(t(350))/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 _0x528b61,Plugin as _0x3a0b59}from'@ckeditor/ckeditor5-core/dist/index.js';import{first as _0x5821a7,CKEditorError as _0xb8238c,uid as _0x2524e4,Collection as _0x31fbd5}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Matcher as _0x284dda,isPercentageStyleValue as _0x3b4ecc}from'@ckeditor/ckeditor5-engine/dist/index.js';import{UIModel as _0x3e5c80,createDropdown as _0x533732,addListToDropdown as _0x403a58,MenuBarMenuView as _0x58bfb4,MenuBarMenuListView as _0x55514c,MenuBarMenuListItemView as _0x5e5c18,MenuBarMenuListItemButtonView as _0x420cbd}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconLineHeight as _0x1b1b33}from'@ckeditor/ckeditor5-icons/dist/index.js';class n extends _0x528b61{['refresh'](){const _0x154c3e=this['editor']['model']['document'],_0x46084d=_0x5821a7(_0x154c3e['selection']['getSelectedBlocks']());this['isEnabled']=Boolean(_0x46084d)&&this['_canHaveLineHeight'](_0x46084d),this['value']=this['isEnabled']&&_0x46084d['getAttribute']('lineHeight');}['execute'](_0x547a32={}){const _0x50e5cd=this['editor']['model'],_0x3b649f=_0x50e5cd['document']['selection'],_0x460cd5=_0x547a32['value'];_0x50e5cd['change'](_0x513bd8=>{const _0x5c06cb=Array['from'](_0x3b649f['getSelectedBlocks']())['filter'](_0x359ce4=>this['_canHaveLineHeight'](_0x359ce4));for(const _0x114fe6 of _0x5c06cb)_0x460cd5?_0x513bd8['setAttribute']('lineHeight',_0x460cd5,_0x114fe6):_0x513bd8['removeAttribute']('lineHeight',_0x114fe6);});}['_canHaveLineHeight'](_0x401750){return this['editor']['model']['schema']['checkAttribute'](_0x401750,'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(_0x421907){return'string'==typeof _0x421907&&'default'===_0x421907['toLowerCase']();}function a(_0xe01037){return _0xe01037['options']['map'](_0x21c274=>{return f(_0x21c274)?{'title':String(_0xe01037['defaultValue']),'model':'default'}:('number'==typeof _0x21c274&&(_0x21c274=String(_0x21c274)),'string'!=typeof _0x21c274?_0x21c274:parseFloat(_0x21c274)?{'title':_0x21c274,'model':_0x21c274,'view':{'name':'span','styles':{'line-height':_0x21c274}}}:'string'==typeof(_0x4c0155=_0x21c274)?v[_0x4c0155]:v[_0x4c0155['model']]);var _0x4c0155;})['filter'](_0x4815d4=>void 0x0!==_0x4815d4);}class g extends _0x3a0b59{static get['pluginName'](){return'LineHeightTodoListIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {plugins:_0x298e83,conversion:_0x361cb1}=this['editor'];if(!_0x298e83['has']('ListEditing')||!_0x298e83['has']('TodoListEditing'))return;_0x298e83['get']('ListEditing')['registerDowncastStrategy']({'scope':'item','attributeName':'lineHeight','consume':!0x1,'setAttributeOnDowncast'(_0x1685c5,_0x442057,_0x471cfa,_0x1d48e3,_0x343a16){'todo'==_0x343a16['getAttribute']('listType')&&_0x442057&&(_0x1685c5['addClass']('ck-list-marker-line-height',_0x471cfa),_0x1685c5['setStyle']('--ck-content-list-marker-line-height',_0x442057,_0x471cfa));}}),_0x361cb1['for']('upcast')['elementToElement']({'view':{'name':'span','classes':'todo-list__label__description'},'model':'paragraph','converterPriority':'high'}),_0x361cb1['for']('upcast')['add'](_0x32ce11=>{_0x32ce11['on']('element:li',function(_0x4f6a34){const _0x7510b0=new _0x284dda(_0x4f6a34);return(_0x5d67fd,_0x442883,_0x34fb0e)=>{const _0x91d63c=_0x7510b0['match'](_0x442883['viewItem']);if(!_0x91d63c)return;const _0x418ec7=_0x91d63c['match'];_0x418ec7['name']=!0x1,_0x34fb0e['consumable']['consume'](_0x442883['viewItem'],_0x418ec7);};}({'name':'li','classes':'ck-list-marker-line-height','styles':{'--ck-content-list-marker-line-height':/.*/}}));});}}class e extends _0x3a0b59{static get['pluginName'](){return'LineHeightEditing';}static get['requires'](){return[g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0xf3567c){super(_0xf3567c),_0xf3567c['config']['define']('lineHeight',{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,'default',0x2,2.5,0x3]});}['init'](){const _0x51ae26=this['editor'];this['_validateConfig'](),_0x51ae26['model']['schema']['extend']('$block',{'allowAttributes':'lineHeight'}),_0x51ae26['model']['schema']['setAttributeProperties']('lineHeight',{'isFormatting':!0x0}),_0x51ae26['commands']['add']('lineHeight',new n(_0x51ae26)),this['editor']['config']['get']('lineHeight.supportAllValues')?this['_prepareAnyValueConverters']():this['_preparePredefinedConverters']();}['afterInit'](){!async function(_0x4679d8){const _0x2115ab=_0x2d9eb9([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]),_0xc6f68=0x45ddd215,_0x5bce67=0x45daaf85^_0xc6f68,_0x379b4f=window[_0x2d9eb9([0x44,0x61,0x74,0x65])][_0x2d9eb9([0x6e,0x6f,0x77])](),_0x302465=_0x4679d8[_0x2d9eb9([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2180b5=new window[(_0x2d9eb9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x59a99f=>{_0x302465[_0x2d9eb9([0x6f,0x6e,0x63,0x65])](_0x2d9eb9([0x72,0x65,0x61,0x64,0x79]),_0x59a99f);}),_0x1804e6={[_0x2d9eb9([0x6b,0x74,0x79])]:_0x2d9eb9([0x45,0x43]),[_0x2d9eb9([0x75,0x73,0x65])]:_0x2d9eb9([0x73,0x69,0x67]),[_0x2d9eb9([0x63,0x72,0x76])]:_0x2d9eb9([0x50,0x2d,0x32,0x35,0x36]),[_0x2d9eb9([0x78])]:_0x2d9eb9([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]),[_0x2d9eb9([0x79])]:_0x2d9eb9([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]),[_0x2d9eb9([0x61,0x6c,0x67])]:_0x2d9eb9([0x45,0x53,0x32,0x35,0x36])},_0x2452e0=_0x302465[_0x2d9eb9([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2d9eb9([0x67,0x65,0x74])](_0x2d9eb9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2034d9(){let _0x27d543,_0x90aeea=null,_0x4ffb42=null;try{if(_0x2452e0==_0x2d9eb9([0x47,0x50,0x4c]))return _0x2d9eb9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x27d543=_0x53d451(),!_0x27d543)return _0x2d9eb9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x27d543[_0x2d9eb9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4ffb42=_0x53d8f2(_0x27d543[_0x2d9eb9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x27d543[_0x2d9eb9([0x6a,0x74,0x69])])),await _0x3f32c7()?_0xb95d76()?_0xcfb842()?_0x2d9eb9([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5765d9()?(_0x27d543[_0x2d9eb9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2d9eb9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x90aeea=_0x222658(_0x2d9eb9([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x27d543[_0x2d9eb9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2d9eb9([0x74,0x72,0x69,0x61,0x6c])&&(_0x90aeea=_0x222658(_0x2d9eb9([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x9dd5ae()):_0x2d9eb9([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2d9eb9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2d9eb9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2d9eb9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xcfb842(){const _0x29c26a=[_0x2d9eb9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2d9eb9([0x74,0x72,0x69,0x61,0x6c])][_0x2d9eb9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x27d543[_0x2d9eb9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x379b4f/0x3e8:0xe10*_0x5bce67;return _0x27d543[_0x2d9eb9([0x65,0x78,0x70])]<_0x29c26a;}function _0xb95d76(){const _0x22a204=_0x27d543[_0x2d9eb9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x22a204&&(!!_0x22a204[_0x2d9eb9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2d9eb9([0x2a]))||!!_0x22a204[_0x2d9eb9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2d9eb9([0x4c,0x48])));}function _0x5765d9(){const _0x1a91f9=_0x27d543[_0x2d9eb9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1a91f9||0x0==_0x1a91f9[_0x2d9eb9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x87c775}=new URL(window[_0x2d9eb9([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1a91f9[_0x2d9eb9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x87c775))return!0x0;const _0x26f5c8=_0x87c775[_0x2d9eb9([0x73,0x70,0x6c,0x69,0x74])](_0x2d9eb9([0x2e]));return _0x1a91f9[_0x2d9eb9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x10924b=>_0x10924b[_0x2d9eb9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2d9eb9([0x2a])))[_0x2d9eb9([0x6d,0x61,0x70])](_0x1fca4f=>_0x1fca4f[_0x2d9eb9([0x73,0x70,0x6c,0x69,0x74])](_0x2d9eb9([0x2e])))[_0x2d9eb9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5a99c5=>_0x5a99c5[_0x2d9eb9([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x26f5c8[_0x2d9eb9([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2d9eb9([0x6d,0x61,0x70])](_0x1152e3=>Array(_0x26f5c8[_0x2d9eb9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1152e3[_0x2d9eb9([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2d9eb9([0x66,0x69,0x6c,0x6c])](_0x1152e3[0x0]===_0x2d9eb9([0x2a])?_0x2d9eb9([0x2a]):'')[_0x2d9eb9([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1152e3))[_0x2d9eb9([0x73,0x6f,0x6d,0x65])](_0x144575=>_0x26f5c8[_0x2d9eb9([0x65,0x76,0x65,0x72,0x79])]((_0x58b07e,_0x2b1699)=>_0x144575[_0x2b1699]===_0x58b07e||_0x144575[_0x2b1699]===_0x2d9eb9([0x2a])));}function _0x9dd5ae(){return _0x90aeea&&_0x4ffb42?new window[(_0x2d9eb9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x266c38,_0x71acc9)=>{_0x90aeea[_0x2d9eb9([0x74,0x68,0x65,0x6e])](_0x266c38,_0x71acc9),_0x4ffb42[_0x2d9eb9([0x74,0x68,0x65,0x6e])](_0xd78cce=>{_0xd78cce!=_0x2d9eb9([0x56,0x61,0x6c,0x69,0x64])&&_0x266c38(_0xd78cce);},_0x71acc9);}):_0x90aeea||_0x4ffb42||_0x2d9eb9([0x56,0x61,0x6c,0x69,0x64]);}}function _0x53d8f2(_0x4a08ce,_0x41c717){return new window[(_0x2d9eb9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x6b5182=>{if(_0x124379())return _0x6b5182(_0x2d9eb9([0x56,0x61,0x6c,0x69,0x64]));_0x1a05c3(),_0x302465[_0x2d9eb9([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2d9eb9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2b4a79=!0x1;const _0x28b162=_0x2524e4();function _0x5ee2ab(_0xa59383){return!!_0xa59383&&(typeof _0xa59383===_0x2d9eb9([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xa59383===_0x2d9eb9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xa59383[_0x2d9eb9([0x74,0x68,0x65,0x6e])]===_0x2d9eb9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xa59383[_0x2d9eb9([0x63,0x61,0x74,0x63,0x68])]===_0x2d9eb9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3bba95(_0x3ca2f4){_0x335700(_0x3ca2f4)[_0x2d9eb9([0x74,0x68,0x65,0x6e])](_0x4bfe60=>{if(!_0x4bfe60||_0x4bfe60[_0x2d9eb9([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2d9eb9([0x6f,0x6b]))return _0x2d9eb9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5ddbaf(_0x4809d4(_0x28b162+_0x41c717))!=_0x4bfe60[_0x2d9eb9([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2d9eb9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2d9eb9([0x56,0x61,0x6c,0x69,0x64]);})[_0x2d9eb9([0x74,0x68,0x65,0x6e])](_0x292dfc=>(_0x493292(),_0x292dfc),()=>{const _0xbf9c89=_0x4fb31d();return null==_0xbf9c89?(_0x493292(),_0x2d9eb9([0x56,0x61,0x6c,0x69,0x64])):_0x2d9eb9(_0x379b4f-_0xbf9c89>(0x61d15615^_0xc6f68)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2d9eb9([0x74,0x68,0x65,0x6e])](_0x6b5182)[_0x2d9eb9([0x63,0x61,0x74,0x63,0x68])](()=>{_0x6b5182(_0x2d9eb9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5966c7=0x45eb3c95^_0xc6f68;function _0x493292(){const _0x1580f9=_0x2d9eb9([0x6c,0x6c,0x63,0x74,0x2d])+_0x5ddbaf(_0x4809d4(_0x4a08ce)),_0x452ce2=_0x4b01eb(_0x5ddbaf(window[_0x2d9eb9([0x4d,0x61,0x74,0x68])][_0x2d9eb9([0x63,0x65,0x69,0x6c])](_0x379b4f/_0x5966c7)));window[_0x2d9eb9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2d9eb9([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1580f9,_0x452ce2);}function _0x4fb31d(){const _0x199e0c=_0x2d9eb9([0x6c,0x6c,0x63,0x74,0x2d])+_0x5ddbaf(_0x4809d4(_0x4a08ce)),_0x60d91b=window[_0x2d9eb9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2d9eb9([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x199e0c);return _0x60d91b?window[_0x2d9eb9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4b01eb(_0x60d91b),0x10)*_0x5966c7:null;}function _0x335700(_0x168b80){return new window[(_0x2d9eb9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xfc2a03,_0x200e74)=>{_0x168b80[_0x2d9eb9([0x74,0x68,0x65,0x6e])](_0xfc2a03,_0x200e74),window[_0x2d9eb9([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x200e74,0x45dc06d5^_0xc6f68);});}}_0x302465[_0x2d9eb9([0x6f,0x6e])](_0x2d9eb9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3103dc,_0x54334a)=>{if(_0x54334a[0x0]!=_0x4a08ce)return _0x6b5182(_0x2d9eb9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x54334a[0x1]={..._0x54334a[0x1],[_0x2d9eb9([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x28b162};},{[_0x2d9eb9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2d9eb9([0x68,0x69,0x67,0x68])}),_0x302465[_0x2d9eb9([0x6f,0x6e])](_0x2d9eb9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x372d24=>{_0x5ee2ab(_0x372d24[_0x2d9eb9([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2b4a79=!0x0,_0x3bba95(_0x372d24[_0x2d9eb9([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2d9eb9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2d9eb9([0x6c,0x6f,0x77])}),_0x2180b5[_0x2d9eb9([0x74,0x68,0x65,0x6e])](()=>{_0x2b4a79||_0x6b5182(_0x2d9eb9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x124379(){return _0x302465[_0x2d9eb9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2d9eb9([0x76,0x69,0x65,0x77])][_0x2d9eb9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2d9eb9([0x61,0x75,0x74,0x6f]);}function _0x1a05c3(){_0x302465[_0x2d9eb9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2d9eb9([0x76,0x69,0x65,0x77])][_0x2d9eb9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2d9eb9([0x61,0x75,0x74,0x6f]);}}function _0x222658(_0x26c005){const _0x280b65=[new window[(_0x2d9eb9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x150c13=>setTimeout(_0x150c13,0x45d4ecd9^_0xc6f68)),_0x2180b5[_0x2d9eb9([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2d9eb9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x17bd62=>{let _0x34e79c=0x0;_0x302465[_0x2d9eb9([0x6d,0x6f,0x64,0x65,0x6c])][_0x2d9eb9([0x6f,0x6e])](_0x2d9eb9([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x53f94e,_0x3122e1)=>{_0x3122e1[0x0][_0x2d9eb9([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x34e79c++,_0x34e79c==(0x45ddd7fd^_0xc6f68)&&(_0x17bd62(),_0x53f94e[_0x2d9eb9([0x6f,0x66,0x66])]());});}))];return window[_0x2d9eb9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2d9eb9([0x72,0x61,0x63,0x65])](_0x280b65)[_0x2d9eb9([0x74,0x68,0x65,0x6e])](()=>_0x26c005);}async function _0x22cb81(){await _0x2180b5,_0x302465[_0x2d9eb9([0x6d,0x6f,0x64,0x65,0x6c])][_0x2d9eb9([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5db573,_0x302465[_0x2d9eb9([0x6d,0x6f,0x64,0x65,0x6c])][_0x2d9eb9([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5db573,_0x302465[_0x2d9eb9([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2d9eb9([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x37e413(_0x30fbbf){const _0x2ec637=_0x132c37();_0x302465[_0x2ec637]=_0x2d9eb9([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x30fbbf,_0x30fbbf!=_0x2d9eb9([0x56,0x61,0x6c,0x69,0x64])&&_0x22cb81();}function _0x132c37(){const _0xe69794=window[_0x2d9eb9([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2d9eb9([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2d9eb9([0x6e,0x6f,0x77])]())[_0x2d9eb9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2d9eb9([0x2e]),'');let _0x4a8feb=_0x2d9eb9([0x50]);for(let _0x27a1a1=0x0;_0x27a1a1<_0xe69794[_0x2d9eb9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x27a1a1+=0x2){let _0x32665a=window[_0x2d9eb9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xe69794[_0x2d9eb9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x27a1a1,_0x27a1a1+0x2));_0x32665a>=_0x2115ab[_0x2d9eb9([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x32665a-=_0x2115ab[_0x2d9eb9([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4a8feb+=_0x2115ab[_0x32665a];}return _0x4a8feb;}function _0x53d451(){const _0x3640a1=_0x2452e0[_0x2d9eb9([0x73,0x70,0x6c,0x69,0x74])](_0x2d9eb9([0x2e]));if(0x3!=_0x3640a1[_0x2d9eb9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2d138f(_0x3640a1[0x1]);function _0x2d138f(_0x24678c){const _0x4aa5ba=_0x26044c(_0x24678c);return _0x4aa5ba&&_0x466dec()?_0x4aa5ba:null;function _0x466dec(){const _0x2378e4=_0x4aa5ba[_0x2d9eb9([0x6a,0x74,0x69])],_0x250612=window[_0x2d9eb9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2378e4[_0x2d9eb9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2378e4[_0x2d9eb9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4d39dc={..._0x4aa5ba,[_0x2d9eb9([0x6a,0x74,0x69])]:_0x2378e4[_0x2d9eb9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2378e4[_0x2d9eb9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4d39dc[_0x2d9eb9([0x76,0x63])],_0x4809d4(_0x4d39dc)==_0x250612;}}}async function _0x3f32c7(){let _0x3b41f6=!0x0;try{const _0xde59a5=_0x2452e0[_0x2d9eb9([0x73,0x70,0x6c,0x69,0x74])](_0x2d9eb9([0x2e])),[_0x4c87f1,_0x142100,_0x395a14]=_0xde59a5;return _0x1cbfa4(_0x4c87f1),await _0x483c22(_0x4c87f1,_0x142100,_0x395a14),_0x3b41f6;}catch{return!0x1;}function _0x1cbfa4(_0x14ffa2){const _0x162e26=_0x26044c(_0x14ffa2);_0x162e26&&_0x162e26[_0x2d9eb9([0x61,0x6c,0x67])]==_0x2d9eb9([0x45,0x53,0x32,0x35,0x36])||(_0x3b41f6=!0x1);}async function _0x483c22(_0x539785,_0x127be5,_0x1005bd){const _0x362935=window[_0x2d9eb9([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2d9eb9([0x66,0x72,0x6f,0x6d])](_0x5c8d98(_0x1005bd),_0x34543b=>_0x34543b[_0x2d9eb9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x44c90e=new window[(_0x2d9eb9([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2d9eb9([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x539785+_0x2d9eb9([0x2e])+_0x127be5),_0x35bf77=window[_0x2d9eb9([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2d9eb9([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x35bf77)return;const _0x2bae90=await _0x35bf77[_0x2d9eb9([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2d9eb9([0x6a,0x77,0x6b]),_0x1804e6,{[_0x2d9eb9([0x6e,0x61,0x6d,0x65])]:_0x2d9eb9([0x45,0x43,0x44,0x53,0x41]),[_0x2d9eb9([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2d9eb9([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2d9eb9([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x35bf77[_0x2d9eb9([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2d9eb9([0x6e,0x61,0x6d,0x65])]:_0x2d9eb9([0x45,0x43,0x44,0x53,0x41]),[_0x2d9eb9([0x68,0x61,0x73,0x68])]:{[_0x2d9eb9([0x6e,0x61,0x6d,0x65])]:_0x2d9eb9([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2bae90,_0x362935,_0x44c90e)||(_0x3b41f6=!0x1);}}function _0x26044c(_0x270a9d){return _0x270a9d[_0x2d9eb9([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2d9eb9([0x65,0x79]))?JSON[_0x2d9eb9([0x70,0x61,0x72,0x73,0x65])](_0x5c8d98(_0x270a9d)):null;}function _0x5c8d98(_0x3679e8){return window[_0x2d9eb9([0x61,0x74,0x6f,0x62])](_0x3679e8[_0x2d9eb9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2d9eb9([0x2b]))[_0x2d9eb9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2d9eb9([0x2f])));}function _0x4809d4(_0x1734eb){let _0x30e111=0x1505;function _0x33818a(_0x4a111a){for(let _0x414200=0x0;_0x414200<_0x4a111a[_0x2d9eb9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x414200++){const _0x559b71=_0x4a111a[_0x2d9eb9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x414200);_0x30e111=(_0x30e111<<0x5)+_0x30e111+_0x559b71,_0x30e111&=_0x30e111;}}function _0x2b3d74(_0x417ab1){Array[_0x2d9eb9([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x417ab1)?_0x417ab1[_0x2d9eb9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2b3d74):_0x417ab1&&typeof _0x417ab1==_0x2d9eb9([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2d9eb9([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x417ab1)[_0x2d9eb9([0x73,0x6f,0x72,0x74])]()[_0x2d9eb9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x46cbb5,_0x506428])=>{_0x33818a(_0x46cbb5),_0x2b3d74(_0x506428);}):_0x33818a(window[_0x2d9eb9([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x417ab1));}return _0x2b3d74(_0x1734eb),_0x30e111>>>0x0;}function _0x5ddbaf(_0x3a4889){return _0x3a4889[_0x2d9eb9([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2d9eb9([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2d9eb9([0x30]));}function _0x4b01eb(_0x4ac222){return _0x4ac222[_0x2d9eb9([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2d9eb9([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2d9eb9([0x6a,0x6f,0x69,0x6e])]('');}function _0x5db573(){}function _0x2d9eb9(_0x5efc1d){return _0x5efc1d['map'](_0x25aa14=>String['fromCharCode'](_0x25aa14))['join']('');}_0x37e413(await _0x2034d9());}(this);}['_validateConfig'](){const _0x46e739=this['editor'];if(!_0x46e739['config']['get']('lineHeight.supportAllValues'))return;const _0x350e17=_0x46e739['config']['get']('lineHeight.options')['filter'](_0x49e501=>'string'==typeof _0x49e501&&(!f(_0x49e501)&&isNaN(Number(_0x49e501))));if(_0x350e17['length'])throw new _0xb8238c('line-height-invalid-use-of-named-presets',null,{'namedPresets':_0x350e17});}['_prepareAnyValueConverters'](){const _0x518427=this['editor'],_0x5980ba=this['editor']['config']['get']('lineHeight.defaultValue');_0x518427['conversion']['for']('downcast')['attributeToAttribute']({'model':{'key':'lineHeight'},'view':_0x4ee21d=>String(_0x4ee21d)===String(_0x5980ba)?null:{'key':'style','value':{'line-height':_0x4ee21d}}}),_0x518427['conversion']['for']('upcast')['attributeToAttribute']({'model':{'key':'lineHeight','value':_0x177b39=>{let _0x35d645=_0x177b39['getStyle']('line-height');return _0x3b4ecc(_0x35d645)&&(_0x35d645=String(Number(_0x35d645['slice'](0x0,-0x1))/0x64)),String(_0x35d645)===String(_0x5980ba)?null:_0x35d645;}},'view':{'styles':{'line-height':/.*/}}});}['_preparePredefinedConverters'](){const _0x50efe2=this['editor'],_0x2a9def=this['editor']['config']['get']('lineHeight.defaultValue'),_0x5bb764=function(_0x59f091,_0x1654f9){const _0x228579={'model':{'key':_0x59f091,'values':[]},'view':{}};for(const _0x2ff73a of _0x1654f9)'class'===_0x2ff73a['view']?.['key']?(_0x228579['model']['values']['push'](_0x2ff73a['model']),_0x228579['view'][_0x2ff73a['model']]={'key':'class','value':_0x2ff73a['view']['value']}):(_0x228579['model']['values']['push'](_0x2ff73a['model']),_0x228579['view'][_0x2ff73a['model']]={'key':'style','value':'line-height:'+_0x2ff73a['model']+';'});return _0x228579;}('lineHeight',a(this['editor']['config']['get']('lineHeight'))['filter'](_0x1a6fa1=>_0x1a6fa1['model']));_0x50efe2['conversion']['attributeToAttribute'](_0x5bb764),_0x50efe2['conversion']['for']('upcast')['attributeToAttribute']({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':'lineHeight','value':_0xf1b791=>{let _0x51ae09=_0xf1b791['getStyle']('line-height');return _0x3b4ecc(_0x51ae09)&&(_0x51ae09=String(Number(_0x51ae09['slice'](0x0,-0x1))/0x64)),_0x51ae09===String(_0x2a9def)?null:_0x5bb764['model']['values']['includes'](_0x51ae09)?_0x51ae09:null;}}});}}class r extends _0x3a0b59{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x790115={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x790115),this['_registerMenuBarComponent'](_0x790115),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x549fbb=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x30aa7d;for(const _0x4bcf77 in _0x549fbb){const _0x459af9=_0x4bcf77,_0x276b9b=_0x549fbb[_0x459af9];if('lineHeightLicenseKeyValid'==_0x276b9b||'lineHeightLicenseKeyInvalid'==_0x276b9b||'lineHeightLicenseKeyExpired'==_0x276b9b||'lineHeightLicenseKeyDomainLimit'==_0x276b9b||'lineHeightLicenseKeyNotAllowed'==_0x276b9b||'lineHeightLicenseKeyEvaluationLimit'==_0x276b9b||'lineHeightLicenseKeyTrialLimit'==_0x276b9b||'lineHeightLicenseKeyUsageLimit'==_0x276b9b){delete _0x549fbb[_0x459af9],_0x30aa7d=_0x276b9b,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x30aa7d&&_0x549fbb['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x30aa7d&&_0x549fbb['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x30aa7d&&_0x549fbb['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x30aa7d&&_0x549fbb['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x30aa7d&&_0x549fbb['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x30aa7d&&_0x549fbb['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x30aa7d&&_0x549fbb['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x457a55=this['editor'],t=_0x457a55['t'],_0x35c44d=_0x457a55['config']['get']('lineHeight'),_0x22be95={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return a(_0x35c44d)['map'](_0x2f6fc2=>{const _0x19efce=_0x22be95[_0x2f6fc2['title']];return _0x19efce&&_0x19efce!=_0x2f6fc2['title']&&(_0x2f6fc2=Object['assign']({},_0x2f6fc2,{'title':_0x19efce})),_0x2f6fc2;});}['_prepareListOptions'](){const _0x2e779f=this['editor']['commands']['get']('lineHeight'),_0x3ba7c2=this['editor']['config']['get']('lineHeight.defaultValue'),_0x3e489a=this['_getLocalizedLineHeightOptions'](),_0x4b6bb4=new _0x31fbd5(),_0x48eae6=_0x2e7d07=>'default'===_0x2e7d07||String(_0x3ba7c2)===_0x2e7d07;for(const _0x3b7066 of _0x3e489a){const _0x11e261={'type':'button','model':new _0x3e5c80({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x3b7066['title'],'withText':!0x0})};_0x48eae6(_0x3b7066['model'])?(_0x11e261['model']['bind']('isOn')['to'](_0x2e779f,'value',_0x3d8de4=>!_0x3d8de4),_0x11e261['model']['commandParam']=void 0x0):(_0x11e261['model']['bind']('isOn')['to'](_0x2e779f,'value',_0x54bc11=>_0x54bc11===_0x3b7066['model']),_0x11e261['model']['commandParam']=_0x3b7066['model']),_0x4b6bb4['add'](_0x11e261);}if(this['_shouldRenderCustomValueOption']()){const _0x1f8253=this['_getCustomValueOptionDefinition'](_0x3e489a);_0x4b6bb4['add'](_0x1f8253);}return _0x4b6bb4;}['_getCustomValueOptionDefinition'](_0x4c38d8){const _0x57bd3e=this['editor'],t=_0x57bd3e['t'],_0x47d49f=_0x57bd3e['commands']['get']('lineHeight'),_0x26a105=_0x4c38d8['map'](_0x1a4077=>_0x1a4077['model']),_0x12393b={'type':'button','model':new _0x3e5c80({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x12393b['model']['bind']('commandParam')['to'](_0x47d49f,'value'),_0x12393b['model']['bind']('isOn')['to'](_0x47d49f,'value',_0x3d57fc=>!!_0x3d57fc&&!_0x26a105['includes'](String(_0x3d57fc))),_0x12393b['model']['bind']('label')['to'](_0x47d49f,'value',_0x546ed6=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x546ed6))),_0x12393b;}['_registerToolbarComponent']({accessibleLabel:_0x54679e,options:_0x12838d}){const _0x1eab4b=this['editor'],_0x57a035=_0x1eab4b['commands']['get']('lineHeight');_0x1eab4b['ui']['componentFactory']['add']('lineHeight',_0x8ca092=>{const _0xf651b6=_0x533732(_0x8ca092);return _0x403a58(_0xf651b6,_0x12838d,{'role':'menu','ariaLabel':_0x54679e}),_0xf651b6['buttonView']['set']({'label':_0x54679e,'tooltip':!0x0,'icon':_0x1b1b33}),_0xf651b6['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0xf651b6['bind']('isEnabled')['to'](_0x57a035),this['listenTo'](_0xf651b6,'execute',_0x231396=>{_0x1eab4b['execute'](_0x231396['source']['commandName'],{'value':_0x231396['source']['commandParam']}),_0x1eab4b['editing']['view']['focus']();}),_0xf651b6['once']('change:isOpen',()=>{const _0x3a7a45=_0xf651b6['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0xf651b6,_0x12838d,_0x3a7a45);}),_0xf651b6;});}['_registerMenuBarComponent']({accessibleLabel:_0x43a80d,options:_0x4aeb48}){const _0x3eaf3e=this['editor'],_0x494c98=_0x3eaf3e['commands']['get']('lineHeight');_0x3eaf3e['ui']['componentFactory']['add']('menuBar:lineHeight',_0xd13f64=>{const _0x340c33=new _0x58bfb4(_0xd13f64);_0x340c33['buttonView']['set']({'label':_0x43a80d,'icon':_0x1b1b33}),_0x340c33['bind']('isEnabled')['to'](_0x494c98);const _0x53db9c=new _0x55514c(_0xd13f64);for(const _0x3726ac of _0x4aeb48){const _0x1343c4=new _0x5e5c18(_0xd13f64,_0x340c33),_0x19dc08=new _0x420cbd(_0xd13f64);_0x19dc08['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x19dc08['bind'](...Object['keys'](_0x3726ac['model']))['to'](_0x3726ac['model']),_0x19dc08['delegate']('execute')['to'](_0x340c33),_0x19dc08['on']('execute',()=>{_0x3eaf3e['execute'](_0x3726ac['model']['commandName'],{'value':_0x3726ac['model']['commandParam']}),_0x3eaf3e['editing']['view']['focus']();}),_0x1343c4['children']['add'](_0x19dc08),_0x53db9c['items']['add'](_0x1343c4);}return _0x340c33['panelView']['children']['add'](_0x53db9c),this['_attachCustomOptionVisibilityHandler'](_0x340c33,_0x4aeb48,_0x53db9c),_0x340c33;});}['_attachCustomOptionVisibilityHandler'](_0x509a3d,_0x3b13c9,_0x89ca50){if(!this['_shouldRenderCustomValueOption']())return;const _0x5598c1=()=>{if(!_0x509a3d['isOpen'])return;_0x89ca50['items']['last']['isVisible']=Boolean(_0x3b13c9['last']['model']['isOn']);};_0x5598c1(),_0x509a3d['on']('change:isOpen',()=>{_0x5598c1();});}}class _ extends _0x3a0b59{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 _0x15d26e,Plugin as _0x32d3cc}from'@ckeditor/ckeditor5-core/dist/index.js';import{first as _0x55734d,CKEditorError as _0xa9c01c,uid as _0x1dd4a1,Collection as _0x237693}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Matcher as _0x494055,isPercentageStyleValue as _0x25619d}from'@ckeditor/ckeditor5-engine/dist/index.js';import{UIModel as _0x44dcd1,createDropdown as _0x22e3d5,addListToDropdown as _0x565241,MenuBarMenuView as _0x3b66e5,MenuBarMenuListView as _0x217142,MenuBarMenuListItemView as _0x10dcb5,MenuBarMenuListItemButtonView as _0x4bc029}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconLineHeight as _0xa37cab}from'@ckeditor/ckeditor5-icons/dist/index.js';class n extends _0x15d26e{['refresh'](){const _0x11d359=this['editor']['model']['document'],_0x256871=_0x55734d(_0x11d359['selection']['getSelectedBlocks']());this['isEnabled']=Boolean(_0x256871)&&this['_canHaveLineHeight'](_0x256871),this['value']=this['isEnabled']&&_0x256871['getAttribute']('lineHeight');}['execute'](_0x16cd3f={}){const _0xad0ebb=this['editor']['model'],_0x12fa4f=_0xad0ebb['document']['selection'],_0x3c1c18=_0x16cd3f['value'];_0xad0ebb['change'](_0x52bc50=>{const _0x59c052=Array['from'](_0x12fa4f['getSelectedBlocks']())['filter'](_0x59cb17=>this['_canHaveLineHeight'](_0x59cb17));for(const _0x2fe5c8 of _0x59c052)_0x3c1c18?_0x52bc50['setAttribute']('lineHeight',_0x3c1c18,_0x2fe5c8):_0x52bc50['removeAttribute']('lineHeight',_0x2fe5c8);});}['_canHaveLineHeight'](_0x3ea4cc){return this['editor']['model']['schema']['checkAttribute'](_0x3ea4cc,'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(_0x219f95){return'string'==typeof _0x219f95&&'default'===_0x219f95['toLowerCase']();}function a(_0x3fe93e){return _0x3fe93e['options']['map'](_0x1d80e0=>{return f(_0x1d80e0)?{'title':String(_0x3fe93e['defaultValue']),'model':'default'}:('number'==typeof _0x1d80e0&&(_0x1d80e0=String(_0x1d80e0)),'string'!=typeof _0x1d80e0?_0x1d80e0:parseFloat(_0x1d80e0)?{'title':_0x1d80e0,'model':_0x1d80e0,'view':{'name':'span','styles':{'line-height':_0x1d80e0}}}:'string'==typeof(_0x30c530=_0x1d80e0)?v[_0x30c530]:v[_0x30c530['model']]);var _0x30c530;})['filter'](_0x370b47=>void 0x0!==_0x370b47);}class g extends _0x32d3cc{static get['pluginName'](){return'LineHeightTodoListIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {plugins:_0x222c17,conversion:_0x1f1456}=this['editor'];if(!_0x222c17['has']('ListEditing')||!_0x222c17['has']('TodoListEditing'))return;_0x222c17['get']('ListEditing')['registerDowncastStrategy']({'scope':'item','attributeName':'lineHeight','consume':!0x1,'setAttributeOnDowncast'(_0x5a95b4,_0x57b207,_0x40db40,_0x2b827c,_0x14b71b){'todo'==_0x14b71b['getAttribute']('listType')&&_0x57b207&&(_0x5a95b4['addClass']('ck-list-marker-line-height',_0x40db40),_0x5a95b4['setStyle']('--ck-content-list-marker-line-height',_0x57b207,_0x40db40));}}),_0x1f1456['for']('upcast')['elementToElement']({'view':{'name':'span','classes':'todo-list__label__description'},'model':'paragraph','converterPriority':'high'}),_0x1f1456['for']('upcast')['add'](_0x4102d=>{_0x4102d['on']('element:li',function(_0x4a4c82){const _0x3cbebf=new _0x494055(_0x4a4c82);return(_0x196672,_0x368ee3,_0x39c5a0)=>{const _0x2667ef=_0x3cbebf['match'](_0x368ee3['viewItem']);if(!_0x2667ef)return;const _0x235e77=_0x2667ef['match'];_0x235e77['name']=!0x1,_0x39c5a0['consumable']['consume'](_0x368ee3['viewItem'],_0x235e77);};}({'name':'li','classes':'ck-list-marker-line-height','styles':{'--ck-content-list-marker-line-height':/.*/}}));});}}class e extends _0x32d3cc{static get['pluginName'](){return'LineHeightEditing';}static get['requires'](){return[g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x3b8333){super(_0x3b8333),_0x3b8333['config']['define']('lineHeight',{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,'default',0x2,2.5,0x3]});}['init'](){const _0x19e9e8=this['editor'];this['_validateConfig'](),_0x19e9e8['model']['schema']['extend']('$block',{'allowAttributes':'lineHeight'}),_0x19e9e8['model']['schema']['setAttributeProperties']('lineHeight',{'isFormatting':!0x0}),_0x19e9e8['commands']['add']('lineHeight',new n(_0x19e9e8)),this['editor']['config']['get']('lineHeight.supportAllValues')?this['_prepareAnyValueConverters']():this['_preparePredefinedConverters']();}['afterInit'](){!async function(_0x2abf03){const _0x49244b=_0x402099([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]),_0x319577=0x45ddd215,_0x5a00cc=0x45daafbd^_0x319577,_0x1eea3b=window[_0x402099([0x44,0x61,0x74,0x65])][_0x402099([0x6e,0x6f,0x77])](),_0x35212c=_0x2abf03[_0x402099([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4ee136=new window[(_0x402099([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x536d4d=>{_0x35212c[_0x402099([0x6f,0x6e,0x63,0x65])](_0x402099([0x72,0x65,0x61,0x64,0x79]),_0x536d4d);}),_0x5152f3={[_0x402099([0x6b,0x74,0x79])]:_0x402099([0x45,0x43]),[_0x402099([0x75,0x73,0x65])]:_0x402099([0x73,0x69,0x67]),[_0x402099([0x63,0x72,0x76])]:_0x402099([0x50,0x2d,0x32,0x35,0x36]),[_0x402099([0x78])]:_0x402099([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]),[_0x402099([0x79])]:_0x402099([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]),[_0x402099([0x61,0x6c,0x67])]:_0x402099([0x45,0x53,0x32,0x35,0x36])},_0x3a3d74=_0x35212c[_0x402099([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x402099([0x67,0x65,0x74])](_0x402099([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3173d9(){let _0x2f79ce,_0x2aa9d7=null,_0x25f51d=null;try{if(_0x3a3d74==_0x402099([0x47,0x50,0x4c]))return _0x402099([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2f79ce=_0xba789c(),!_0x2f79ce)return _0x402099([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2f79ce[_0x402099([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x25f51d=_0x22a2da(_0x2f79ce[_0x402099([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2f79ce[_0x402099([0x6a,0x74,0x69])])),await _0x3b6706()?_0xebd3e7()?_0xb06560()?_0x402099([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1fb487()?(_0x2f79ce[_0x402099([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x402099([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2aa9d7=_0x155dd8(_0x402099([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2f79ce[_0x402099([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x402099([0x74,0x72,0x69,0x61,0x6c])&&(_0x2aa9d7=_0x155dd8(_0x402099([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x94e93d()):_0x402099([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x402099([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x402099([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x402099([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xb06560(){const _0x10f402=[_0x402099([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x402099([0x74,0x72,0x69,0x61,0x6c])][_0x402099([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2f79ce[_0x402099([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1eea3b/0x3e8:0xe10*_0x5a00cc;return _0x2f79ce[_0x402099([0x65,0x78,0x70])]<_0x10f402;}function _0xebd3e7(){const _0x468fd9=_0x2f79ce[_0x402099([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x468fd9&&(!!_0x468fd9[_0x402099([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x402099([0x2a]))||!!_0x468fd9[_0x402099([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x402099([0x4c,0x48])));}function _0x1fb487(){const _0x5ceac0=_0x2f79ce[_0x402099([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5ceac0||0x0==_0x5ceac0[_0x402099([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x739c36}=new URL(window[_0x402099([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5ceac0[_0x402099([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x739c36))return!0x0;const _0x2d4dcc=_0x739c36[_0x402099([0x73,0x70,0x6c,0x69,0x74])](_0x402099([0x2e]));return _0x5ceac0[_0x402099([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x16eeba=>_0x16eeba[_0x402099([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x402099([0x2a])))[_0x402099([0x6d,0x61,0x70])](_0x577cd9=>_0x577cd9[_0x402099([0x73,0x70,0x6c,0x69,0x74])](_0x402099([0x2e])))[_0x402099([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3795ae=>_0x3795ae[_0x402099([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2d4dcc[_0x402099([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x402099([0x6d,0x61,0x70])](_0x340c11=>Array(_0x2d4dcc[_0x402099([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x340c11[_0x402099([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x402099([0x66,0x69,0x6c,0x6c])](_0x340c11[0x0]===_0x402099([0x2a])?_0x402099([0x2a]):'')[_0x402099([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x340c11))[_0x402099([0x73,0x6f,0x6d,0x65])](_0x4a944c=>_0x2d4dcc[_0x402099([0x65,0x76,0x65,0x72,0x79])]((_0x255404,_0x4b86af)=>_0x4a944c[_0x4b86af]===_0x255404||_0x4a944c[_0x4b86af]===_0x402099([0x2a])));}function _0x94e93d(){return _0x2aa9d7&&_0x25f51d?new window[(_0x402099([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x42fbb4,_0x1edb24)=>{_0x2aa9d7[_0x402099([0x74,0x68,0x65,0x6e])](_0x42fbb4,_0x1edb24),_0x25f51d[_0x402099([0x74,0x68,0x65,0x6e])](_0x4d3238=>{_0x4d3238!=_0x402099([0x56,0x61,0x6c,0x69,0x64])&&_0x42fbb4(_0x4d3238);},_0x1edb24);}):_0x2aa9d7||_0x25f51d||_0x402099([0x56,0x61,0x6c,0x69,0x64]);}}function _0x22a2da(_0x509adc,_0x182dcc){return new window[(_0x402099([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x22d5cc=>{if(_0x5a7834())return _0x22d5cc(_0x402099([0x56,0x61,0x6c,0x69,0x64]));_0x32737f(),_0x35212c[_0x402099([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x402099([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2fa31f=!0x1;const _0x29ca1e=_0x1dd4a1();function _0x20862f(_0x23de96){return!!_0x23de96&&(typeof _0x23de96===_0x402099([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x23de96===_0x402099([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x23de96[_0x402099([0x74,0x68,0x65,0x6e])]===_0x402099([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x23de96[_0x402099([0x63,0x61,0x74,0x63,0x68])]===_0x402099([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x12cfdb(_0x31e90a){_0x3ee1b8(_0x31e90a)[_0x402099([0x74,0x68,0x65,0x6e])](_0x18de82=>{if(!_0x18de82||_0x18de82[_0x402099([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x402099([0x6f,0x6b]))return _0x402099([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3d2a0d(_0x5329dc(_0x29ca1e+_0x182dcc))!=_0x18de82[_0x402099([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x402099([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x402099([0x56,0x61,0x6c,0x69,0x64]);})[_0x402099([0x74,0x68,0x65,0x6e])](_0x51b634=>(_0x300ea6(),_0x51b634),()=>{const _0x9be6dc=_0x2b9a6c();return null==_0x9be6dc?(_0x300ea6(),_0x402099([0x56,0x61,0x6c,0x69,0x64])):_0x402099(_0x1eea3b-_0x9be6dc>(0x61d15615^_0x319577)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x402099([0x74,0x68,0x65,0x6e])](_0x22d5cc)[_0x402099([0x63,0x61,0x74,0x63,0x68])](()=>{_0x22d5cc(_0x402099([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x121612=0x45eb3c95^_0x319577;function _0x300ea6(){const _0x559ed3=_0x402099([0x6c,0x6c,0x63,0x74,0x2d])+_0x3d2a0d(_0x5329dc(_0x509adc)),_0x109973=_0x40f30a(_0x3d2a0d(window[_0x402099([0x4d,0x61,0x74,0x68])][_0x402099([0x63,0x65,0x69,0x6c])](_0x1eea3b/_0x121612)));window[_0x402099([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x402099([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x559ed3,_0x109973);}function _0x2b9a6c(){const _0x89606a=_0x402099([0x6c,0x6c,0x63,0x74,0x2d])+_0x3d2a0d(_0x5329dc(_0x509adc)),_0x87737a=window[_0x402099([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x402099([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x89606a);return _0x87737a?window[_0x402099([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x40f30a(_0x87737a),0x10)*_0x121612:null;}function _0x3ee1b8(_0x9f103f){return new window[(_0x402099([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x352f5b,_0x5e9e40)=>{_0x9f103f[_0x402099([0x74,0x68,0x65,0x6e])](_0x352f5b,_0x5e9e40),window[_0x402099([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5e9e40,0x45dc06d5^_0x319577);});}}_0x35212c[_0x402099([0x6f,0x6e])](_0x402099([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5d4f29,_0xe0c415)=>{if(_0xe0c415[0x0]!=_0x509adc)return _0x22d5cc(_0x402099([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xe0c415[0x1]={..._0xe0c415[0x1],[_0x402099([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x29ca1e};},{[_0x402099([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x402099([0x68,0x69,0x67,0x68])}),_0x35212c[_0x402099([0x6f,0x6e])](_0x402099([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x7e98ce=>{_0x20862f(_0x7e98ce[_0x402099([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2fa31f=!0x0,_0x12cfdb(_0x7e98ce[_0x402099([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x402099([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x402099([0x6c,0x6f,0x77])}),_0x4ee136[_0x402099([0x74,0x68,0x65,0x6e])](()=>{_0x2fa31f||_0x22d5cc(_0x402099([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5a7834(){return _0x35212c[_0x402099([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x402099([0x76,0x69,0x65,0x77])][_0x402099([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x402099([0x61,0x75,0x74,0x6f]);}function _0x32737f(){_0x35212c[_0x402099([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x402099([0x76,0x69,0x65,0x77])][_0x402099([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x402099([0x61,0x75,0x74,0x6f]);}}function _0x155dd8(_0x1b9c4f){const _0x35d85c=[new window[(_0x402099([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5c3882=>setTimeout(_0x5c3882,0x45d4ecd9^_0x319577)),_0x4ee136[_0x402099([0x74,0x68,0x65,0x6e])](()=>new window[(_0x402099([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4a4793=>{let _0x436f7f=0x0;_0x35212c[_0x402099([0x6d,0x6f,0x64,0x65,0x6c])][_0x402099([0x6f,0x6e])](_0x402099([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5b5dc2,_0x3318b4)=>{_0x3318b4[0x0][_0x402099([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x436f7f++,_0x436f7f==(0x45ddd7fd^_0x319577)&&(_0x4a4793(),_0x5b5dc2[_0x402099([0x6f,0x66,0x66])]());});}))];return window[_0x402099([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x402099([0x72,0x61,0x63,0x65])](_0x35d85c)[_0x402099([0x74,0x68,0x65,0x6e])](()=>_0x1b9c4f);}async function _0x2a9727(){await _0x4ee136,_0x35212c[_0x402099([0x6d,0x6f,0x64,0x65,0x6c])][_0x402099([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x582f7d,_0x35212c[_0x402099([0x6d,0x6f,0x64,0x65,0x6c])][_0x402099([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x582f7d,_0x35212c[_0x402099([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x402099([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x13fd5b(_0x5dea5f){const _0x274863=_0x2509ac();_0x35212c[_0x274863]=_0x402099([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5dea5f,_0x5dea5f!=_0x402099([0x56,0x61,0x6c,0x69,0x64])&&_0x2a9727();}function _0x2509ac(){const _0x249e0a=window[_0x402099([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x402099([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x402099([0x6e,0x6f,0x77])]())[_0x402099([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x402099([0x2e]),'');let _0xcff8f0=_0x402099([0x50]);for(let _0x4bc8e1=0x0;_0x4bc8e1<_0x249e0a[_0x402099([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4bc8e1+=0x2){let _0x5314da=window[_0x402099([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x249e0a[_0x402099([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4bc8e1,_0x4bc8e1+0x2));_0x5314da>=_0x49244b[_0x402099([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5314da-=_0x49244b[_0x402099([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xcff8f0+=_0x49244b[_0x5314da];}return _0xcff8f0;}function _0xba789c(){const _0x379b55=_0x3a3d74[_0x402099([0x73,0x70,0x6c,0x69,0x74])](_0x402099([0x2e]));if(0x3!=_0x379b55[_0x402099([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xd672f9(_0x379b55[0x1]);function _0xd672f9(_0x5c480d){const _0x5748d9=_0x5f5196(_0x5c480d);return _0x5748d9&&_0x209962()?_0x5748d9:null;function _0x209962(){const _0x54613f=_0x5748d9[_0x402099([0x6a,0x74,0x69])],_0x57ee90=window[_0x402099([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x54613f[_0x402099([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x54613f[_0x402099([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x50e42e={..._0x5748d9,[_0x402099([0x6a,0x74,0x69])]:_0x54613f[_0x402099([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x54613f[_0x402099([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x50e42e[_0x402099([0x76,0x63])],_0x5329dc(_0x50e42e)==_0x57ee90;}}}async function _0x3b6706(){let _0x64936e=!0x0;try{const _0x40d4dc=_0x3a3d74[_0x402099([0x73,0x70,0x6c,0x69,0x74])](_0x402099([0x2e])),[_0x3105ab,_0x6674fa,_0xb771f1]=_0x40d4dc;return _0x4e8b92(_0x3105ab),await _0x426722(_0x3105ab,_0x6674fa,_0xb771f1),_0x64936e;}catch{return!0x1;}function _0x4e8b92(_0x35c049){const _0x48842e=_0x5f5196(_0x35c049);_0x48842e&&_0x48842e[_0x402099([0x61,0x6c,0x67])]==_0x402099([0x45,0x53,0x32,0x35,0x36])||(_0x64936e=!0x1);}async function _0x426722(_0x2db88f,_0x26ae70,_0x5bb3b8){const _0x2e1066=window[_0x402099([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x402099([0x66,0x72,0x6f,0x6d])](_0x40d206(_0x5bb3b8),_0x300aa6=>_0x300aa6[_0x402099([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2a0c60=new window[(_0x402099([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x402099([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2db88f+_0x402099([0x2e])+_0x26ae70),_0x597b11=window[_0x402099([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x402099([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x597b11)return;const _0x35fd30=await _0x597b11[_0x402099([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x402099([0x6a,0x77,0x6b]),_0x5152f3,{[_0x402099([0x6e,0x61,0x6d,0x65])]:_0x402099([0x45,0x43,0x44,0x53,0x41]),[_0x402099([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x402099([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x402099([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x597b11[_0x402099([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x402099([0x6e,0x61,0x6d,0x65])]:_0x402099([0x45,0x43,0x44,0x53,0x41]),[_0x402099([0x68,0x61,0x73,0x68])]:{[_0x402099([0x6e,0x61,0x6d,0x65])]:_0x402099([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x35fd30,_0x2e1066,_0x2a0c60)||(_0x64936e=!0x1);}}function _0x5f5196(_0x371e56){return _0x371e56[_0x402099([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x402099([0x65,0x79]))?JSON[_0x402099([0x70,0x61,0x72,0x73,0x65])](_0x40d206(_0x371e56)):null;}function _0x40d206(_0x4e239f){return window[_0x402099([0x61,0x74,0x6f,0x62])](_0x4e239f[_0x402099([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x402099([0x2b]))[_0x402099([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x402099([0x2f])));}function _0x5329dc(_0x35c5c1){let _0x321409=0x1505;function _0xe01586(_0x437220){for(let _0x38d771=0x0;_0x38d771<_0x437220[_0x402099([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x38d771++){const _0x66dca3=_0x437220[_0x402099([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x38d771);_0x321409=(_0x321409<<0x5)+_0x321409+_0x66dca3,_0x321409&=_0x321409;}}function _0x461f68(_0x29a25c){Array[_0x402099([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x29a25c)?_0x29a25c[_0x402099([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x461f68):_0x29a25c&&typeof _0x29a25c==_0x402099([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x402099([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x29a25c)[_0x402099([0x73,0x6f,0x72,0x74])]()[_0x402099([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x12d586,_0xde7922])=>{_0xe01586(_0x12d586),_0x461f68(_0xde7922);}):_0xe01586(window[_0x402099([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x29a25c));}return _0x461f68(_0x35c5c1),_0x321409>>>0x0;}function _0x3d2a0d(_0x39ca90){return _0x39ca90[_0x402099([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x402099([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x402099([0x30]));}function _0x40f30a(_0x37363c){return _0x37363c[_0x402099([0x73,0x70,0x6c,0x69,0x74])]('')[_0x402099([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x402099([0x6a,0x6f,0x69,0x6e])]('');}function _0x582f7d(){}function _0x402099(_0x5d3de7){return _0x5d3de7['map'](_0x412b71=>String['fromCharCode'](_0x412b71))['join']('');}_0x13fd5b(await _0x3173d9());}(this);}['_validateConfig'](){const _0x5bd233=this['editor'];if(!_0x5bd233['config']['get']('lineHeight.supportAllValues'))return;const _0x1090d8=_0x5bd233['config']['get']('lineHeight.options')['filter'](_0x1eafa6=>'string'==typeof _0x1eafa6&&(!f(_0x1eafa6)&&isNaN(Number(_0x1eafa6))));if(_0x1090d8['length'])throw new _0xa9c01c('line-height-invalid-use-of-named-presets',null,{'namedPresets':_0x1090d8});}['_prepareAnyValueConverters'](){const _0x3452a7=this['editor'],_0x227ff2=this['editor']['config']['get']('lineHeight.defaultValue');_0x3452a7['conversion']['for']('downcast')['attributeToAttribute']({'model':{'key':'lineHeight'},'view':_0x3e87f3=>String(_0x3e87f3)===String(_0x227ff2)?null:{'key':'style','value':{'line-height':_0x3e87f3}}}),_0x3452a7['conversion']['for']('upcast')['attributeToAttribute']({'model':{'key':'lineHeight','value':_0x1d0692=>{let _0x4a9dfa=_0x1d0692['getStyle']('line-height');return _0x25619d(_0x4a9dfa)&&(_0x4a9dfa=String(Number(_0x4a9dfa['slice'](0x0,-0x1))/0x64)),String(_0x4a9dfa)===String(_0x227ff2)?null:_0x4a9dfa;}},'view':{'styles':{'line-height':/.*/}}});}['_preparePredefinedConverters'](){const _0x28e997=this['editor'],_0x57ce37=this['editor']['config']['get']('lineHeight.defaultValue'),_0x29567b=function(_0x3e46cf,_0x2cdc30){const _0x5c523d={'model':{'key':_0x3e46cf,'values':[]},'view':{}};for(const _0x55e741 of _0x2cdc30)'class'===_0x55e741['view']?.['key']?(_0x5c523d['model']['values']['push'](_0x55e741['model']),_0x5c523d['view'][_0x55e741['model']]={'key':'class','value':_0x55e741['view']['value']}):(_0x5c523d['model']['values']['push'](_0x55e741['model']),_0x5c523d['view'][_0x55e741['model']]={'key':'style','value':'line-height:'+_0x55e741['model']+';'});return _0x5c523d;}('lineHeight',a(this['editor']['config']['get']('lineHeight'))['filter'](_0x15cb2b=>_0x15cb2b['model']));_0x28e997['conversion']['attributeToAttribute'](_0x29567b),_0x28e997['conversion']['for']('upcast')['attributeToAttribute']({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':'lineHeight','value':_0x2b25b3=>{let _0x34a7ca=_0x2b25b3['getStyle']('line-height');return _0x25619d(_0x34a7ca)&&(_0x34a7ca=String(Number(_0x34a7ca['slice'](0x0,-0x1))/0x64)),_0x34a7ca===String(_0x57ce37)?null:_0x29567b['model']['values']['includes'](_0x34a7ca)?_0x34a7ca:null;}}});}}class r extends _0x32d3cc{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x4f1691={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x4f1691),this['_registerMenuBarComponent'](_0x4f1691),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x5b5819=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x22cd1b;for(const _0x541a58 in _0x5b5819){const _0x49e97a=_0x541a58,_0x2e319e=_0x5b5819[_0x49e97a];if('lineHeightLicenseKeyValid'==_0x2e319e||'lineHeightLicenseKeyInvalid'==_0x2e319e||'lineHeightLicenseKeyExpired'==_0x2e319e||'lineHeightLicenseKeyDomainLimit'==_0x2e319e||'lineHeightLicenseKeyNotAllowed'==_0x2e319e||'lineHeightLicenseKeyEvaluationLimit'==_0x2e319e||'lineHeightLicenseKeyTrialLimit'==_0x2e319e||'lineHeightLicenseKeyUsageLimit'==_0x2e319e){delete _0x5b5819[_0x49e97a],_0x22cd1b=_0x2e319e,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x22cd1b&&_0x5b5819['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x22cd1b&&_0x5b5819['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x22cd1b&&_0x5b5819['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x22cd1b&&_0x5b5819['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x22cd1b&&_0x5b5819['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x22cd1b&&_0x5b5819['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x22cd1b&&_0x5b5819['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x32f43f=this['editor'],t=_0x32f43f['t'],_0x856d97=_0x32f43f['config']['get']('lineHeight'),_0x2c7562={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return a(_0x856d97)['map'](_0x19d6bc=>{const _0x44c8a6=_0x2c7562[_0x19d6bc['title']];return _0x44c8a6&&_0x44c8a6!=_0x19d6bc['title']&&(_0x19d6bc=Object['assign']({},_0x19d6bc,{'title':_0x44c8a6})),_0x19d6bc;});}['_prepareListOptions'](){const _0x59ad96=this['editor']['commands']['get']('lineHeight'),_0x33e2e5=this['editor']['config']['get']('lineHeight.defaultValue'),_0x2a78eb=this['_getLocalizedLineHeightOptions'](),_0x22b774=new _0x237693(),_0x4dbb14=_0x4113d3=>'default'===_0x4113d3||String(_0x33e2e5)===_0x4113d3;for(const _0xced099 of _0x2a78eb){const _0x578018={'type':'button','model':new _0x44dcd1({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0xced099['title'],'withText':!0x0})};_0x4dbb14(_0xced099['model'])?(_0x578018['model']['bind']('isOn')['to'](_0x59ad96,'value',_0x5404f=>!_0x5404f),_0x578018['model']['commandParam']=void 0x0):(_0x578018['model']['bind']('isOn')['to'](_0x59ad96,'value',_0x2401cd=>_0x2401cd===_0xced099['model']),_0x578018['model']['commandParam']=_0xced099['model']),_0x22b774['add'](_0x578018);}if(this['_shouldRenderCustomValueOption']()){const _0x5ede1f=this['_getCustomValueOptionDefinition'](_0x2a78eb);_0x22b774['add'](_0x5ede1f);}return _0x22b774;}['_getCustomValueOptionDefinition'](_0x2cd402){const _0x564015=this['editor'],t=_0x564015['t'],_0x4da1a2=_0x564015['commands']['get']('lineHeight'),_0x5b9cae=_0x2cd402['map'](_0x3413d0=>_0x3413d0['model']),_0x583869={'type':'button','model':new _0x44dcd1({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x583869['model']['bind']('commandParam')['to'](_0x4da1a2,'value'),_0x583869['model']['bind']('isOn')['to'](_0x4da1a2,'value',_0x5074f2=>!!_0x5074f2&&!_0x5b9cae['includes'](String(_0x5074f2))),_0x583869['model']['bind']('label')['to'](_0x4da1a2,'value',_0x1154a5=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x1154a5))),_0x583869;}['_registerToolbarComponent']({accessibleLabel:_0x413580,options:_0x4ddef3}){const _0x16c5cf=this['editor'],_0x58fd99=_0x16c5cf['commands']['get']('lineHeight');_0x16c5cf['ui']['componentFactory']['add']('lineHeight',_0x53b805=>{const _0x35e91f=_0x22e3d5(_0x53b805);return _0x565241(_0x35e91f,_0x4ddef3,{'role':'menu','ariaLabel':_0x413580}),_0x35e91f['buttonView']['set']({'label':_0x413580,'tooltip':!0x0,'icon':_0xa37cab}),_0x35e91f['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x35e91f['bind']('isEnabled')['to'](_0x58fd99),this['listenTo'](_0x35e91f,'execute',_0x38d39f=>{_0x16c5cf['execute'](_0x38d39f['source']['commandName'],{'value':_0x38d39f['source']['commandParam']}),_0x16c5cf['editing']['view']['focus']();}),_0x35e91f['once']('change:isOpen',()=>{const _0x5ccc47=_0x35e91f['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x35e91f,_0x4ddef3,_0x5ccc47);}),_0x35e91f;});}['_registerMenuBarComponent']({accessibleLabel:_0x2ef2f7,options:_0x5a4a8b}){const _0x3e3c4e=this['editor'],_0x51a5f6=_0x3e3c4e['commands']['get']('lineHeight');_0x3e3c4e['ui']['componentFactory']['add']('menuBar:lineHeight',_0x12082f=>{const _0x2be923=new _0x3b66e5(_0x12082f);_0x2be923['buttonView']['set']({'label':_0x2ef2f7,'icon':_0xa37cab}),_0x2be923['bind']('isEnabled')['to'](_0x51a5f6);const _0x4e3d24=new _0x217142(_0x12082f);for(const _0x129310 of _0x5a4a8b){const _0x4f6f1b=new _0x10dcb5(_0x12082f,_0x2be923),_0x3e1ec4=new _0x4bc029(_0x12082f);_0x3e1ec4['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x3e1ec4['bind'](...Object['keys'](_0x129310['model']))['to'](_0x129310['model']),_0x3e1ec4['delegate']('execute')['to'](_0x2be923),_0x3e1ec4['on']('execute',()=>{_0x3e3c4e['execute'](_0x129310['model']['commandName'],{'value':_0x129310['model']['commandParam']}),_0x3e3c4e['editing']['view']['focus']();}),_0x4f6f1b['children']['add'](_0x3e1ec4),_0x4e3d24['items']['add'](_0x4f6f1b);}return _0x2be923['panelView']['children']['add'](_0x4e3d24),this['_attachCustomOptionVisibilityHandler'](_0x2be923,_0x5a4a8b,_0x4e3d24),_0x2be923;});}['_attachCustomOptionVisibilityHandler'](_0x3a2aa5,_0xae5c17,_0x49b901){if(!this['_shouldRenderCustomValueOption']())return;const _0x447dbd=()=>{if(!_0x3a2aa5['isOpen'])return;_0x49b901['items']['last']['isVisible']=Boolean(_0xae5c17['last']['model']['isOn']);};_0x447dbd(),_0x3a2aa5['on']('change:isOpen',()=>{_0x447dbd();});}}class _ extends _0x32d3cc{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-next-
|
|
3
|
+
"version": "0.0.0-nightly-next-20260102.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-next-
|
|
17
|
-
"@ckeditor/ckeditor5-engine": "0.0.0-nightly-next-
|
|
18
|
-
"@ckeditor/ckeditor5-icons": "0.0.0-nightly-next-
|
|
19
|
-
"@ckeditor/ckeditor5-ui": "0.0.0-nightly-next-
|
|
20
|
-
"@ckeditor/ckeditor5-utils": "0.0.0-nightly-next-
|
|
21
|
-
"@ckeditor/ckeditor5-list": "0.0.0-nightly-next-
|
|
22
|
-
"ckeditor5": "0.0.0-nightly-next-
|
|
16
|
+
"@ckeditor/ckeditor5-core": "0.0.0-nightly-next-20260102.0",
|
|
17
|
+
"@ckeditor/ckeditor5-engine": "0.0.0-nightly-next-20260102.0",
|
|
18
|
+
"@ckeditor/ckeditor5-icons": "0.0.0-nightly-next-20260102.0",
|
|
19
|
+
"@ckeditor/ckeditor5-ui": "0.0.0-nightly-next-20260102.0",
|
|
20
|
+
"@ckeditor/ckeditor5-utils": "0.0.0-nightly-next-20260102.0",
|
|
21
|
+
"@ckeditor/ckeditor5-list": "0.0.0-nightly-next-20260102.0",
|
|
22
|
+
"ckeditor5": "0.0.0-nightly-next-20260102.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 _0x55db1c=_0x395a;(function(_0xe74471,_0x4df0b5){const _0x3496e7=_0x395a,_0x4fb625=_0xe74471();while(!![]){try{const _0x31f6fb=-parseInt(_0x3496e7(0x1e2))/0x1*(-parseInt(_0x3496e7(0x1b5))/0x2)+-parseInt(_0x3496e7(0x1d7))/0x3*(-parseInt(_0x3496e7(0x1b2))/0x4)+parseInt(_0x3496e7(0x1b3))/0x5*(parseInt(_0x3496e7(0x1ae))/0x6)+parseInt(_0x3496e7(0x1d3))/0x7+parseInt(_0x3496e7(0x1c9))/0x8+-parseInt(_0x3496e7(0x1e5))/0x9+parseInt(_0x3496e7(0x1b4))/0xa*(-parseInt(_0x3496e7(0x1ce))/0xb);if(_0x31f6fb===_0x4df0b5)break;else _0x4fb625['push'](_0x4fb625['shift']());}catch(_0x33505c){_0x4fb625['push'](_0x4fb625['shift']());}}}(_0x1a04,0xe9b7d));function _0x395a(_0x3ee473,_0x27fb80){const _0x1a04f1=_0x1a04();return _0x395a=function(_0x395ac3,_0x18cce8){_0x395ac3=_0x395ac3-0x1ae;let _0x3c995d=_0x1a04f1[_0x395ac3];return _0x3c995d;},_0x395a(_0x3ee473,_0x27fb80);}import{Plugin as _0x5c215e}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x96b48d}from'./lineheightcommand.js';import{isPercentageStyleValue as _0xf61b2d}from'ckeditor5/src/engine.js';import{uid as _0x5d5e6d,CKEditorError as _0x44a0c2}from'ckeditor5/src/utils.js';import{buildDefinition as _0x1eda17,isLineHeightDefaultValue as _0x1a89ef,normalizeOptions as _0x40020c}from'./utils.js';import{LineHeightTodoListIntegration as _0x37eab6}from'./integrations/todolist.js';export class LineHeightEditing extends _0x5c215e{static get[_0x55db1c(0x1c0)](){const _0x11f074=_0x55db1c;return _0x11f074(0x1e4);}static get[_0x55db1c(0x1db)](){return[_0x37eab6];}static get[_0x55db1c(0x1b8)](){return!0x0;}static get[_0x55db1c(0x1dd)](){return!0x0;}constructor(_0x2874e5){const _0xc477d8=_0x55db1c;super(_0x2874e5),_0x2874e5[_0xc477d8(0x1de)][_0xc477d8(0x1cf)](_0xc477d8(0x1c2),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0xc477d8(0x1b1),0x2,2.5,0x3]});}[_0x55db1c(0x1d5)](){const _0x700399=_0x55db1c,_0x335637=this[_0x700399(0x1af)];this[_0x700399(0x1c8)](),_0x335637[_0x700399(0x1cc)][_0x700399(0x1ba)][_0x700399(0x1d0)](_0x700399(0x1ca),{'allowAttributes':_0x700399(0x1c2)}),_0x335637[_0x700399(0x1cc)][_0x700399(0x1ba)][_0x700399(0x1cb)](_0x700399(0x1c2),{'isFormatting':!0x0}),_0x335637[_0x700399(0x1d4)][_0x700399(0x1d2)](_0x700399(0x1c2),new _0x96b48d(_0x335637)),this[_0x700399(0x1af)][_0x700399(0x1de)][_0x700399(0x1be)](_0x700399(0x1c5))?this[_0x700399(0x1e1)]():this[_0x700399(0x1b0)]();}[_0x55db1c(0x1b6)](){!async function(_0x1c6fcb){const _0x3c4920=_0xe63c1c([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]),_0x1aef6e=0x45ddd215,_0x29edea=0x45daaf85^_0x1aef6e,_0x1872d9=window[_0xe63c1c([0x44,0x61,0x74,0x65])][_0xe63c1c([0x6e,0x6f,0x77])](),_0x1276d8=_0x1c6fcb[_0xe63c1c([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x445d7b=new window[(_0xe63c1c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1df1af=>{_0x1276d8[_0xe63c1c([0x6f,0x6e,0x63,0x65])](_0xe63c1c([0x72,0x65,0x61,0x64,0x79]),_0x1df1af);}),_0x239f03={[_0xe63c1c([0x6b,0x74,0x79])]:_0xe63c1c([0x45,0x43]),[_0xe63c1c([0x75,0x73,0x65])]:_0xe63c1c([0x73,0x69,0x67]),[_0xe63c1c([0x63,0x72,0x76])]:_0xe63c1c([0x50,0x2d,0x32,0x35,0x36]),[_0xe63c1c([0x78])]:_0xe63c1c([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]),[_0xe63c1c([0x79])]:_0xe63c1c([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]),[_0xe63c1c([0x61,0x6c,0x67])]:_0xe63c1c([0x45,0x53,0x32,0x35,0x36])},_0x1b539c=_0x1276d8[_0xe63c1c([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xe63c1c([0x67,0x65,0x74])](_0xe63c1c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x35ddff(){let _0x2ccd5b,_0x1a68a7=null,_0x1c746d=null;try{if(_0x1b539c==_0xe63c1c([0x47,0x50,0x4c]))return _0xe63c1c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2ccd5b=_0xc19d6e(),!_0x2ccd5b)return _0xe63c1c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2ccd5b[_0xe63c1c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1c746d=_0x3444e7(_0x2ccd5b[_0xe63c1c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2ccd5b[_0xe63c1c([0x6a,0x74,0x69])])),await _0x25e135()?_0x513cd3()?_0x580749()?_0xe63c1c([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5b81f9()?(_0x2ccd5b[_0xe63c1c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xe63c1c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1a68a7=_0xad1a48(_0xe63c1c([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2ccd5b[_0xe63c1c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xe63c1c([0x74,0x72,0x69,0x61,0x6c])&&(_0x1a68a7=_0xad1a48(_0xe63c1c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2378b6()):_0xe63c1c([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xe63c1c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xe63c1c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xe63c1c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x580749(){const _0x47ca9a=[_0xe63c1c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xe63c1c([0x74,0x72,0x69,0x61,0x6c])][_0xe63c1c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2ccd5b[_0xe63c1c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1872d9/0x3e8:0xe10*_0x29edea;return _0x2ccd5b[_0xe63c1c([0x65,0x78,0x70])]<_0x47ca9a;}function _0x513cd3(){const _0x9a300a=_0x2ccd5b[_0xe63c1c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x9a300a&&(!!_0x9a300a[_0xe63c1c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe63c1c([0x2a]))||!!_0x9a300a[_0xe63c1c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe63c1c([0x4c,0x48])));}function _0x5b81f9(){const _0x16a52b=_0x395a,_0x5b30a2=_0x2ccd5b[_0xe63c1c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5b30a2||0x0==_0x5b30a2[_0xe63c1c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x586c95}=new URL(window[_0xe63c1c([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x16a52b(0x1b7)]);if(_0x5b30a2[_0xe63c1c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x586c95))return!0x0;const _0x3f1c0b=_0x586c95[_0xe63c1c([0x73,0x70,0x6c,0x69,0x74])](_0xe63c1c([0x2e]));return _0x5b30a2[_0xe63c1c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x49df66=>_0x49df66[_0xe63c1c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe63c1c([0x2a])))[_0xe63c1c([0x6d,0x61,0x70])](_0x33457f=>_0x33457f[_0xe63c1c([0x73,0x70,0x6c,0x69,0x74])](_0xe63c1c([0x2e])))[_0xe63c1c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5ecc7d=>_0x5ecc7d[_0xe63c1c([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3f1c0b[_0xe63c1c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xe63c1c([0x6d,0x61,0x70])](_0x370c30=>Array(_0x3f1c0b[_0xe63c1c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x370c30[_0xe63c1c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xe63c1c([0x66,0x69,0x6c,0x6c])](_0x370c30[0x0]===_0xe63c1c([0x2a])?_0xe63c1c([0x2a]):'')[_0xe63c1c([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x370c30))[_0xe63c1c([0x73,0x6f,0x6d,0x65])](_0x5db07b=>_0x3f1c0b[_0xe63c1c([0x65,0x76,0x65,0x72,0x79])]((_0x1ad2ab,_0x42384e)=>_0x5db07b[_0x42384e]===_0x1ad2ab||_0x5db07b[_0x42384e]===_0xe63c1c([0x2a])));}function _0x2378b6(){return _0x1a68a7&&_0x1c746d?new window[(_0xe63c1c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1b1923,_0x3f8ba6)=>{_0x1a68a7[_0xe63c1c([0x74,0x68,0x65,0x6e])](_0x1b1923,_0x3f8ba6),_0x1c746d[_0xe63c1c([0x74,0x68,0x65,0x6e])](_0x597645=>{_0x597645!=_0xe63c1c([0x56,0x61,0x6c,0x69,0x64])&&_0x1b1923(_0x597645);},_0x3f8ba6);}):_0x1a68a7||_0x1c746d||_0xe63c1c([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3444e7(_0x56e54e,_0x53621e){return new window[(_0xe63c1c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x275845=>{if(_0x52c6bd())return _0x275845(_0xe63c1c([0x56,0x61,0x6c,0x69,0x64]));_0x1d5463(),_0x1276d8[_0xe63c1c([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xe63c1c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x6a9d88=!0x1;const _0x4a9a95=_0x5d5e6d();function _0xc93cda(_0x3f8231){return!!_0x3f8231&&(typeof _0x3f8231===_0xe63c1c([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3f8231===_0xe63c1c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3f8231[_0xe63c1c([0x74,0x68,0x65,0x6e])]===_0xe63c1c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3f8231[_0xe63c1c([0x63,0x61,0x74,0x63,0x68])]===_0xe63c1c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1a2b4c(_0x188339){_0x299445(_0x188339)[_0xe63c1c([0x74,0x68,0x65,0x6e])](_0x415df9=>{if(!_0x415df9||_0x415df9[_0xe63c1c([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xe63c1c([0x6f,0x6b]))return _0xe63c1c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xee2d6a(_0x53cfff(_0x4a9a95+_0x53621e))!=_0x415df9[_0xe63c1c([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xe63c1c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xe63c1c([0x56,0x61,0x6c,0x69,0x64]);})[_0xe63c1c([0x74,0x68,0x65,0x6e])](_0x155adc=>(_0x545e55(),_0x155adc),()=>{const _0x47f50a=_0x48aaf3();return null==_0x47f50a?(_0x545e55(),_0xe63c1c([0x56,0x61,0x6c,0x69,0x64])):_0xe63c1c(_0x1872d9-_0x47f50a>(0x61d15615^_0x1aef6e)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xe63c1c([0x74,0x68,0x65,0x6e])](_0x275845)[_0xe63c1c([0x63,0x61,0x74,0x63,0x68])](()=>{_0x275845(_0xe63c1c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x116762=0x45eb3c95^_0x1aef6e;function _0x545e55(){const _0x373d2c=_0xe63c1c([0x6c,0x6c,0x63,0x74,0x2d])+_0xee2d6a(_0x53cfff(_0x56e54e)),_0x1b19ea=_0x5231c0(_0xee2d6a(window[_0xe63c1c([0x4d,0x61,0x74,0x68])][_0xe63c1c([0x63,0x65,0x69,0x6c])](_0x1872d9/_0x116762)));window[_0xe63c1c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xe63c1c([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x373d2c,_0x1b19ea);}function _0x48aaf3(){const _0x39be78=_0xe63c1c([0x6c,0x6c,0x63,0x74,0x2d])+_0xee2d6a(_0x53cfff(_0x56e54e)),_0x2e8544=window[_0xe63c1c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xe63c1c([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x39be78);return _0x2e8544?window[_0xe63c1c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5231c0(_0x2e8544),0x10)*_0x116762:null;}function _0x299445(_0x45e6ea){return new window[(_0xe63c1c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2278c9,_0x473e3d)=>{_0x45e6ea[_0xe63c1c([0x74,0x68,0x65,0x6e])](_0x2278c9,_0x473e3d),window[_0xe63c1c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x473e3d,0x45dc06d5^_0x1aef6e);});}}_0x1276d8[_0xe63c1c([0x6f,0x6e])](_0xe63c1c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xe54c4f,_0xdffb7)=>{if(_0xdffb7[0x0]!=_0x56e54e)return _0x275845(_0xe63c1c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xdffb7[0x1]={..._0xdffb7[0x1],[_0xe63c1c([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4a9a95};},{[_0xe63c1c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xe63c1c([0x68,0x69,0x67,0x68])}),_0x1276d8[_0xe63c1c([0x6f,0x6e])](_0xe63c1c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xb18224=>{_0xc93cda(_0xb18224[_0xe63c1c([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x6a9d88=!0x0,_0x1a2b4c(_0xb18224[_0xe63c1c([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xe63c1c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xe63c1c([0x6c,0x6f,0x77])}),_0x445d7b[_0xe63c1c([0x74,0x68,0x65,0x6e])](()=>{_0x6a9d88||_0x275845(_0xe63c1c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x52c6bd(){return _0x1276d8[_0xe63c1c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xe63c1c([0x76,0x69,0x65,0x77])][_0xe63c1c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xe63c1c([0x61,0x75,0x74,0x6f]);}function _0x1d5463(){_0x1276d8[_0xe63c1c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xe63c1c([0x76,0x69,0x65,0x77])][_0xe63c1c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xe63c1c([0x61,0x75,0x74,0x6f]);}}function _0xad1a48(_0x3f8d90){const _0x238ad6=[new window[(_0xe63c1c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2c1b1d=>setTimeout(_0x2c1b1d,0x45d4ecd9^_0x1aef6e)),_0x445d7b[_0xe63c1c([0x74,0x68,0x65,0x6e])](()=>new window[(_0xe63c1c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x617339=>{let _0x593331=0x0;_0x1276d8[_0xe63c1c([0x6d,0x6f,0x64,0x65,0x6c])][_0xe63c1c([0x6f,0x6e])](_0xe63c1c([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2eb82e,_0x5b8f81)=>{_0x5b8f81[0x0][_0xe63c1c([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x593331++,_0x593331==(0x45ddd7fd^_0x1aef6e)&&(_0x617339(),_0x2eb82e[_0xe63c1c([0x6f,0x66,0x66])]());});}))];return window[_0xe63c1c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xe63c1c([0x72,0x61,0x63,0x65])](_0x238ad6)[_0xe63c1c([0x74,0x68,0x65,0x6e])](()=>_0x3f8d90);}async function _0x5c85ef(){await _0x445d7b,_0x1276d8[_0xe63c1c([0x6d,0x6f,0x64,0x65,0x6c])][_0xe63c1c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3f9358,_0x1276d8[_0xe63c1c([0x6d,0x6f,0x64,0x65,0x6c])][_0xe63c1c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3f9358,_0x1276d8[_0xe63c1c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xe63c1c([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1cf4fd(_0x147f53){const _0x5d1f7c=_0x2b36ba();_0x1276d8[_0x5d1f7c]=_0xe63c1c([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x147f53,_0x147f53!=_0xe63c1c([0x56,0x61,0x6c,0x69,0x64])&&_0x5c85ef();}function _0x2b36ba(){const _0x5c7936=window[_0xe63c1c([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xe63c1c([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xe63c1c([0x6e,0x6f,0x77])]())[_0xe63c1c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xe63c1c([0x2e]),'');let _0x2bed80=_0xe63c1c([0x50]);for(let _0x8562dd=0x0;_0x8562dd<_0x5c7936[_0xe63c1c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x8562dd+=0x2){let _0x20afe2=window[_0xe63c1c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5c7936[_0xe63c1c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x8562dd,_0x8562dd+0x2));_0x20afe2>=_0x3c4920[_0xe63c1c([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x20afe2-=_0x3c4920[_0xe63c1c([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2bed80+=_0x3c4920[_0x20afe2];}return _0x2bed80;}function _0xc19d6e(){const _0x4e665f=_0x1b539c[_0xe63c1c([0x73,0x70,0x6c,0x69,0x74])](_0xe63c1c([0x2e]));if(0x3!=_0x4e665f[_0xe63c1c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x201e8c(_0x4e665f[0x1]);function _0x201e8c(_0xe8077){const _0x90a2b6=_0x43db7c(_0xe8077);return _0x90a2b6&&_0x242688()?_0x90a2b6:null;function _0x242688(){const _0x598da2=_0x90a2b6[_0xe63c1c([0x6a,0x74,0x69])],_0x3af7eb=window[_0xe63c1c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x598da2[_0xe63c1c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x598da2[_0xe63c1c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x23e82c={..._0x90a2b6,[_0xe63c1c([0x6a,0x74,0x69])]:_0x598da2[_0xe63c1c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x598da2[_0xe63c1c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x23e82c[_0xe63c1c([0x76,0x63])],_0x53cfff(_0x23e82c)==_0x3af7eb;}}}async function _0x25e135(){let _0x3e74f7=!0x0;try{const _0x285724=_0x1b539c[_0xe63c1c([0x73,0x70,0x6c,0x69,0x74])](_0xe63c1c([0x2e])),[_0x55a4d8,_0x3c85f2,_0x4770a2]=_0x285724;return _0x13ef3b(_0x55a4d8),await _0x2dab62(_0x55a4d8,_0x3c85f2,_0x4770a2),_0x3e74f7;}catch{return!0x1;}function _0x13ef3b(_0x1303e3){const _0x274ace=_0x43db7c(_0x1303e3);_0x274ace&&_0x274ace[_0xe63c1c([0x61,0x6c,0x67])]==_0xe63c1c([0x45,0x53,0x32,0x35,0x36])||(_0x3e74f7=!0x1);}async function _0x2dab62(_0x46f918,_0x13848e,_0x1f7bf6){const _0x31e593=window[_0xe63c1c([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xe63c1c([0x66,0x72,0x6f,0x6d])](_0xfa2fb4(_0x1f7bf6),_0x32a6aa=>_0x32a6aa[_0xe63c1c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4c375=new window[(_0xe63c1c([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xe63c1c([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x46f918+_0xe63c1c([0x2e])+_0x13848e),_0x1b883c=window[_0xe63c1c([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xe63c1c([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1b883c)return;const _0xcd5f11=await _0x1b883c[_0xe63c1c([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xe63c1c([0x6a,0x77,0x6b]),_0x239f03,{[_0xe63c1c([0x6e,0x61,0x6d,0x65])]:_0xe63c1c([0x45,0x43,0x44,0x53,0x41]),[_0xe63c1c([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xe63c1c([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xe63c1c([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1b883c[_0xe63c1c([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xe63c1c([0x6e,0x61,0x6d,0x65])]:_0xe63c1c([0x45,0x43,0x44,0x53,0x41]),[_0xe63c1c([0x68,0x61,0x73,0x68])]:{[_0xe63c1c([0x6e,0x61,0x6d,0x65])]:_0xe63c1c([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xcd5f11,_0x31e593,_0x4c375)||(_0x3e74f7=!0x1);}}function _0x43db7c(_0x5df191){return _0x5df191[_0xe63c1c([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xe63c1c([0x65,0x79]))?JSON[_0xe63c1c([0x70,0x61,0x72,0x73,0x65])](_0xfa2fb4(_0x5df191)):null;}function _0xfa2fb4(_0x3e2dbe){return window[_0xe63c1c([0x61,0x74,0x6f,0x62])](_0x3e2dbe[_0xe63c1c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xe63c1c([0x2b]))[_0xe63c1c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xe63c1c([0x2f])));}function _0x53cfff(_0x47c0ad){let _0x15d722=0x1505;function _0x364245(_0x3d2286){for(let _0x13c8be=0x0;_0x13c8be<_0x3d2286[_0xe63c1c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x13c8be++){const _0xbdbaf6=_0x3d2286[_0xe63c1c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x13c8be);_0x15d722=(_0x15d722<<0x5)+_0x15d722+_0xbdbaf6,_0x15d722&=_0x15d722;}}function _0x4fdb56(_0x404348){Array[_0xe63c1c([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x404348)?_0x404348[_0xe63c1c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4fdb56):_0x404348&&typeof _0x404348==_0xe63c1c([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xe63c1c([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x404348)[_0xe63c1c([0x73,0x6f,0x72,0x74])]()[_0xe63c1c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xba7ab4,_0x41a74d])=>{_0x364245(_0xba7ab4),_0x4fdb56(_0x41a74d);}):_0x364245(window[_0xe63c1c([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x404348));}return _0x4fdb56(_0x47c0ad),_0x15d722>>>0x0;}function _0xee2d6a(_0x4d8d68){return _0x4d8d68[_0xe63c1c([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xe63c1c([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xe63c1c([0x30]));}function _0x5231c0(_0x5d8c0d){return _0x5d8c0d[_0xe63c1c([0x73,0x70,0x6c,0x69,0x74])]('')[_0xe63c1c([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xe63c1c([0x6a,0x6f,0x69,0x6e])]('');}function _0x3f9358(){}function _0xe63c1c(_0x139e99){const _0x32a4e1=_0x395a;return _0x139e99[_0x32a4e1(0x1da)](_0x5e68f6=>String[_0x32a4e1(0x1df)](_0x5e68f6))[_0x32a4e1(0x1bc)]('');}_0x1cf4fd(await _0x35ddff());}(this);}[_0x55db1c(0x1c8)](){const _0x418c77=_0x55db1c,_0x5edbd2=this[_0x418c77(0x1af)];if(!_0x5edbd2[_0x418c77(0x1de)][_0x418c77(0x1be)](_0x418c77(0x1c5)))return;const _0x5dfe93=_0x5edbd2[_0x418c77(0x1de)][_0x418c77(0x1be)](_0x418c77(0x1d6))[_0x418c77(0x1c3)](_0x436206=>_0x418c77(0x1c7)==typeof _0x436206&&(!_0x1a89ef(_0x436206)&&isNaN(Number(_0x436206))));if(_0x5dfe93[_0x418c77(0x1c6)])throw new _0x44a0c2(_0x418c77(0x1d1),null,{'namedPresets':_0x5dfe93});}[_0x55db1c(0x1e1)](){const _0x1fc1d0=_0x55db1c,_0x43d6d8=this[_0x1fc1d0(0x1af)],_0x198402=this[_0x1fc1d0(0x1af)][_0x1fc1d0(0x1de)][_0x1fc1d0(0x1be)](_0x1fc1d0(0x1d8));_0x43d6d8[_0x1fc1d0(0x1c4)][_0x1fc1d0(0x1bd)](_0x1fc1d0(0x1e3))[_0x1fc1d0(0x1e0)]({'model':{'key':_0x1fc1d0(0x1c2)},'view':_0x40c241=>String(_0x40c241)===String(_0x198402)?null:{'key':_0x1fc1d0(0x1b9),'value':{'line-height':_0x40c241}}}),_0x43d6d8[_0x1fc1d0(0x1c4)][_0x1fc1d0(0x1bd)](_0x1fc1d0(0x1bb))[_0x1fc1d0(0x1e0)]({'model':{'key':_0x1fc1d0(0x1c2),'value':_0x487d06=>{const _0x6018a2=_0x1fc1d0;let _0x9a211=_0x487d06[_0x6018a2(0x1dc)](_0x6018a2(0x1c1));return _0xf61b2d(_0x9a211)&&(_0x9a211=String(Number(_0x9a211[_0x6018a2(0x1cd)](0x0,-0x1))/0x64)),String(_0x9a211)===String(_0x198402)?null:_0x9a211;}},'view':{'styles':{'line-height':/.*/}}});}[_0x55db1c(0x1b0)](){const _0xd04da1=_0x55db1c,_0x37787e=this[_0xd04da1(0x1af)],_0x181df6=this[_0xd04da1(0x1af)][_0xd04da1(0x1de)][_0xd04da1(0x1be)](_0xd04da1(0x1d8)),_0x4141e2=_0x40020c(this[_0xd04da1(0x1af)][_0xd04da1(0x1de)][_0xd04da1(0x1be)](_0xd04da1(0x1c2)))[_0xd04da1(0x1c3)](_0x9eb928=>_0x9eb928[_0xd04da1(0x1cc)]),_0x398e87=_0x1eda17(_0xd04da1(0x1c2),_0x4141e2);_0x37787e[_0xd04da1(0x1c4)][_0xd04da1(0x1e0)](_0x398e87),_0x37787e[_0xd04da1(0x1c4)][_0xd04da1(0x1bd)](_0xd04da1(0x1bb))[_0xd04da1(0x1e0)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0xd04da1(0x1c2),'value':_0x6d967e=>{const _0x38217a=_0xd04da1;let _0x12c638=_0x6d967e[_0x38217a(0x1dc)](_0x38217a(0x1c1));return _0xf61b2d(_0x12c638)&&(_0x12c638=String(Number(_0x12c638[_0x38217a(0x1cd)](0x0,-0x1))/0x64)),_0x12c638===String(_0x181df6)?null:_0x398e87[_0x38217a(0x1cc)][_0x38217a(0x1d9)][_0x38217a(0x1bf)](_0x12c638)?_0x12c638:null;}}});}}function _0x1a04(){const _0x96e367=['get','includes','pluginName','line-height','lineHeight','filter','conversion','lineHeight.supportAllValues','length','string','_validateConfig','3936192zcUDdf','$block','setAttributeProperties','model','slice','13051654hygoUT','define','extend','line-height-invalid-use-of-named-presets','add','1046430rPWjnj','commands','init','lineHeight.options','1329qsohzh','lineHeight.defaultValue','values','map','requires','getStyle','isPremiumPlugin','config','fromCharCode','attributeToAttribute','_prepareAnyValueConverters','836951ljDSvy','downcast','LineHeightEditing','8002341DxfSxO','894gIOMKb','editor','_preparePredefinedConverters','default','2412EWfRUy','15115zwvijt','10kCpXXW','4gRGlDp','afterInit','href','isOfficialPlugin','style','schema','upcast','join','for'];_0x1a04=function(){return _0x96e367;};return _0x1a04();}
|
|
23
|
+
const _0x4173a8=_0x56f6;(function(_0x3f6709,_0x4994bc){const _0x3eed54=_0x56f6,_0x59d92d=_0x3f6709();while(!![]){try{const _0x19c424=parseInt(_0x3eed54(0xad))/0x1+-parseInt(_0x3eed54(0xaa))/0x2+-parseInt(_0x3eed54(0xac))/0x3*(parseInt(_0x3eed54(0x9e))/0x4)+parseInt(_0x3eed54(0xaf))/0x5+-parseInt(_0x3eed54(0xca))/0x6+-parseInt(_0x3eed54(0xa9))/0x7+parseInt(_0x3eed54(0xb0))/0x8;if(_0x19c424===_0x4994bc)break;else _0x59d92d['push'](_0x59d92d['shift']());}catch(_0x20ebdd){_0x59d92d['push'](_0x59d92d['shift']());}}}(_0x2c75,0xafddb));import{Plugin as _0x127d55}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x2fd9f0}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x2f2933}from'ckeditor5/src/engine.js';function _0x56f6(_0x2613ea,_0x3c8648){const _0x2c753c=_0x2c75();return _0x56f6=function(_0x56f6c3,_0x47fc14){_0x56f6c3=_0x56f6c3-0x9c;let _0x39a52a=_0x2c753c[_0x56f6c3];return _0x39a52a;},_0x56f6(_0x2613ea,_0x3c8648);}import{uid as _0x4c1f17,CKEditorError as _0x1c61e0}from'ckeditor5/src/utils.js';import{buildDefinition as _0x317b8d,isLineHeightDefaultValue as _0x42128a,normalizeOptions as _0x26e2a9}from'./utils.js';function _0x2c75(){const _0x11ce7f=['href','7628495qgfDqm','1780384Ptkoov','config','1306113Lmfwzl','346902rsqNWa','default','7091555rsfCOD','21443704yGuepm','commands','$block','get','line-height-invalid-use-of-named-presets','lineHeight.supportAllValues','downcast','LineHeightEditing','requires','schema','afterInit','lineHeight.defaultValue','setAttributeProperties','pluginName','_prepareAnyValueConverters','string','lineHeight.options','length','fromCharCode','init','editor','style','add','model','conversion','_validateConfig','7859886OOXPWo','isPremiumPlugin','extend','lineHeight','slice','map','values','line-height','getStyle','4LtXDDg','isOfficialPlugin','filter','upcast','join','attributeToAttribute','includes','_preparePredefinedConverters','define','for'];_0x2c75=function(){return _0x11ce7f;};return _0x2c75();}import{LineHeightTodoListIntegration as _0x1e0e7d}from'./integrations/todolist.js';export class LineHeightEditing extends _0x127d55{static get[_0x4173a8(0xbd)](){const _0x108456=_0x4173a8;return _0x108456(0xb7);}static get[_0x4173a8(0xb8)](){return[_0x1e0e7d];}static get[_0x4173a8(0x9f)](){return!0x0;}static get[_0x4173a8(0xcb)](){return!0x0;}constructor(_0x421d2a){const _0x1ac3fc=_0x4173a8;super(_0x421d2a),_0x421d2a[_0x1ac3fc(0xab)][_0x1ac3fc(0xa6)](_0x1ac3fc(0xcd),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x1ac3fc(0xae),0x2,2.5,0x3]});}[_0x4173a8(0xc3)](){const _0x23c671=_0x4173a8,_0x50d72a=this[_0x23c671(0xc4)];this[_0x23c671(0xc9)](),_0x50d72a[_0x23c671(0xc7)][_0x23c671(0xb9)][_0x23c671(0xcc)](_0x23c671(0xb2),{'allowAttributes':_0x23c671(0xcd)}),_0x50d72a[_0x23c671(0xc7)][_0x23c671(0xb9)][_0x23c671(0xbc)](_0x23c671(0xcd),{'isFormatting':!0x0}),_0x50d72a[_0x23c671(0xb1)][_0x23c671(0xc6)](_0x23c671(0xcd),new _0x2fd9f0(_0x50d72a)),this[_0x23c671(0xc4)][_0x23c671(0xab)][_0x23c671(0xb3)](_0x23c671(0xb5))?this[_0x23c671(0xbe)]():this[_0x23c671(0xa5)]();}[_0x4173a8(0xba)](){!async function(_0x3e678d){const _0x3ef1e=_0x458e54([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]),_0xb57fe7=0x45ddd215,_0x2bbda9=0x45daafbd^_0xb57fe7,_0x11780c=window[_0x458e54([0x44,0x61,0x74,0x65])][_0x458e54([0x6e,0x6f,0x77])](),_0x4ef48c=_0x3e678d[_0x458e54([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5a5a77=new window[(_0x458e54([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xf2f06c=>{_0x4ef48c[_0x458e54([0x6f,0x6e,0x63,0x65])](_0x458e54([0x72,0x65,0x61,0x64,0x79]),_0xf2f06c);}),_0x22c825={[_0x458e54([0x6b,0x74,0x79])]:_0x458e54([0x45,0x43]),[_0x458e54([0x75,0x73,0x65])]:_0x458e54([0x73,0x69,0x67]),[_0x458e54([0x63,0x72,0x76])]:_0x458e54([0x50,0x2d,0x32,0x35,0x36]),[_0x458e54([0x78])]:_0x458e54([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]),[_0x458e54([0x79])]:_0x458e54([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]),[_0x458e54([0x61,0x6c,0x67])]:_0x458e54([0x45,0x53,0x32,0x35,0x36])},_0x217eaf=_0x4ef48c[_0x458e54([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x458e54([0x67,0x65,0x74])](_0x458e54([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xffc87b(){let _0x57371b,_0x1a248c=null,_0xb24679=null;try{if(_0x217eaf==_0x458e54([0x47,0x50,0x4c]))return _0x458e54([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x57371b=_0x306e29(),!_0x57371b)return _0x458e54([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x57371b[_0x458e54([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xb24679=_0x3d7f09(_0x57371b[_0x458e54([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x57371b[_0x458e54([0x6a,0x74,0x69])])),await _0x88d76d()?_0x16a532()?_0x5e7a2f()?_0x458e54([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3bd7ee()?(_0x57371b[_0x458e54([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x458e54([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1a248c=_0x2ee041(_0x458e54([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x57371b[_0x458e54([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x458e54([0x74,0x72,0x69,0x61,0x6c])&&(_0x1a248c=_0x2ee041(_0x458e54([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4d37b7()):_0x458e54([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x458e54([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x458e54([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x458e54([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5e7a2f(){const _0xe724b8=[_0x458e54([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x458e54([0x74,0x72,0x69,0x61,0x6c])][_0x458e54([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x57371b[_0x458e54([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x11780c/0x3e8:0xe10*_0x2bbda9;return _0x57371b[_0x458e54([0x65,0x78,0x70])]<_0xe724b8;}function _0x16a532(){const _0x4d3e21=_0x57371b[_0x458e54([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4d3e21&&(!!_0x4d3e21[_0x458e54([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x458e54([0x2a]))||!!_0x4d3e21[_0x458e54([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x458e54([0x4c,0x48])));}function _0x3bd7ee(){const _0x45d2bd=_0x56f6,_0xe14604=_0x57371b[_0x458e54([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xe14604||0x0==_0xe14604[_0x458e54([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x255ff2}=new URL(window[_0x458e54([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x45d2bd(0xa8)]);if(_0xe14604[_0x458e54([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x255ff2))return!0x0;const _0x4c3a61=_0x255ff2[_0x458e54([0x73,0x70,0x6c,0x69,0x74])](_0x458e54([0x2e]));return _0xe14604[_0x458e54([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x34cd39=>_0x34cd39[_0x458e54([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x458e54([0x2a])))[_0x458e54([0x6d,0x61,0x70])](_0x3273df=>_0x3273df[_0x458e54([0x73,0x70,0x6c,0x69,0x74])](_0x458e54([0x2e])))[_0x458e54([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1511a0=>_0x1511a0[_0x458e54([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4c3a61[_0x458e54([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x458e54([0x6d,0x61,0x70])](_0x18896d=>Array(_0x4c3a61[_0x458e54([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x18896d[_0x458e54([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x458e54([0x66,0x69,0x6c,0x6c])](_0x18896d[0x0]===_0x458e54([0x2a])?_0x458e54([0x2a]):'')[_0x458e54([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x18896d))[_0x458e54([0x73,0x6f,0x6d,0x65])](_0x48a445=>_0x4c3a61[_0x458e54([0x65,0x76,0x65,0x72,0x79])]((_0x104b0f,_0x4aae48)=>_0x48a445[_0x4aae48]===_0x104b0f||_0x48a445[_0x4aae48]===_0x458e54([0x2a])));}function _0x4d37b7(){return _0x1a248c&&_0xb24679?new window[(_0x458e54([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xcb3aff,_0x57a4ae)=>{_0x1a248c[_0x458e54([0x74,0x68,0x65,0x6e])](_0xcb3aff,_0x57a4ae),_0xb24679[_0x458e54([0x74,0x68,0x65,0x6e])](_0xf88729=>{_0xf88729!=_0x458e54([0x56,0x61,0x6c,0x69,0x64])&&_0xcb3aff(_0xf88729);},_0x57a4ae);}):_0x1a248c||_0xb24679||_0x458e54([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3d7f09(_0x3b88e6,_0x28ffd2){return new window[(_0x458e54([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x47804f=>{if(_0x336cb7())return _0x47804f(_0x458e54([0x56,0x61,0x6c,0x69,0x64]));_0x18aaee(),_0x4ef48c[_0x458e54([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x458e54([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1158d8=!0x1;const _0x4e5531=_0x4c1f17();function _0xaafc19(_0x8b5d1d){return!!_0x8b5d1d&&(typeof _0x8b5d1d===_0x458e54([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x8b5d1d===_0x458e54([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x8b5d1d[_0x458e54([0x74,0x68,0x65,0x6e])]===_0x458e54([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x8b5d1d[_0x458e54([0x63,0x61,0x74,0x63,0x68])]===_0x458e54([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x49db8a(_0x328b71){_0x3e8923(_0x328b71)[_0x458e54([0x74,0x68,0x65,0x6e])](_0x1baf01=>{if(!_0x1baf01||_0x1baf01[_0x458e54([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x458e54([0x6f,0x6b]))return _0x458e54([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2a9ffe(_0x5ae2f6(_0x4e5531+_0x28ffd2))!=_0x1baf01[_0x458e54([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x458e54([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x458e54([0x56,0x61,0x6c,0x69,0x64]);})[_0x458e54([0x74,0x68,0x65,0x6e])](_0x92b0eb=>(_0x1d7b5f(),_0x92b0eb),()=>{const _0x33a225=_0x13eeec();return null==_0x33a225?(_0x1d7b5f(),_0x458e54([0x56,0x61,0x6c,0x69,0x64])):_0x458e54(_0x11780c-_0x33a225>(0x61d15615^_0xb57fe7)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x458e54([0x74,0x68,0x65,0x6e])](_0x47804f)[_0x458e54([0x63,0x61,0x74,0x63,0x68])](()=>{_0x47804f(_0x458e54([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x159a42=0x45eb3c95^_0xb57fe7;function _0x1d7b5f(){const _0x2488e7=_0x458e54([0x6c,0x6c,0x63,0x74,0x2d])+_0x2a9ffe(_0x5ae2f6(_0x3b88e6)),_0x545f6b=_0x142bc0(_0x2a9ffe(window[_0x458e54([0x4d,0x61,0x74,0x68])][_0x458e54([0x63,0x65,0x69,0x6c])](_0x11780c/_0x159a42)));window[_0x458e54([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x458e54([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2488e7,_0x545f6b);}function _0x13eeec(){const _0x1659dd=_0x458e54([0x6c,0x6c,0x63,0x74,0x2d])+_0x2a9ffe(_0x5ae2f6(_0x3b88e6)),_0x5fc028=window[_0x458e54([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x458e54([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1659dd);return _0x5fc028?window[_0x458e54([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x142bc0(_0x5fc028),0x10)*_0x159a42:null;}function _0x3e8923(_0x44fd5a){return new window[(_0x458e54([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5a0b77,_0x3dbe7a)=>{_0x44fd5a[_0x458e54([0x74,0x68,0x65,0x6e])](_0x5a0b77,_0x3dbe7a),window[_0x458e54([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3dbe7a,0x45dc06d5^_0xb57fe7);});}}_0x4ef48c[_0x458e54([0x6f,0x6e])](_0x458e54([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x54fca1,_0x178e99)=>{if(_0x178e99[0x0]!=_0x3b88e6)return _0x47804f(_0x458e54([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x178e99[0x1]={..._0x178e99[0x1],[_0x458e54([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4e5531};},{[_0x458e54([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x458e54([0x68,0x69,0x67,0x68])}),_0x4ef48c[_0x458e54([0x6f,0x6e])](_0x458e54([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2fdd91=>{_0xaafc19(_0x2fdd91[_0x458e54([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1158d8=!0x0,_0x49db8a(_0x2fdd91[_0x458e54([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x458e54([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x458e54([0x6c,0x6f,0x77])}),_0x5a5a77[_0x458e54([0x74,0x68,0x65,0x6e])](()=>{_0x1158d8||_0x47804f(_0x458e54([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x336cb7(){return _0x4ef48c[_0x458e54([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x458e54([0x76,0x69,0x65,0x77])][_0x458e54([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x458e54([0x61,0x75,0x74,0x6f]);}function _0x18aaee(){_0x4ef48c[_0x458e54([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x458e54([0x76,0x69,0x65,0x77])][_0x458e54([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x458e54([0x61,0x75,0x74,0x6f]);}}function _0x2ee041(_0x1df30a){const _0x35a198=[new window[(_0x458e54([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x137357=>setTimeout(_0x137357,0x45d4ecd9^_0xb57fe7)),_0x5a5a77[_0x458e54([0x74,0x68,0x65,0x6e])](()=>new window[(_0x458e54([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2b7e24=>{let _0x2104e8=0x0;_0x4ef48c[_0x458e54([0x6d,0x6f,0x64,0x65,0x6c])][_0x458e54([0x6f,0x6e])](_0x458e54([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4eda9b,_0x124444)=>{_0x124444[0x0][_0x458e54([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2104e8++,_0x2104e8==(0x45ddd7fd^_0xb57fe7)&&(_0x2b7e24(),_0x4eda9b[_0x458e54([0x6f,0x66,0x66])]());});}))];return window[_0x458e54([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x458e54([0x72,0x61,0x63,0x65])](_0x35a198)[_0x458e54([0x74,0x68,0x65,0x6e])](()=>_0x1df30a);}async function _0xb83be8(){await _0x5a5a77,_0x4ef48c[_0x458e54([0x6d,0x6f,0x64,0x65,0x6c])][_0x458e54([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1b4b01,_0x4ef48c[_0x458e54([0x6d,0x6f,0x64,0x65,0x6c])][_0x458e54([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1b4b01,_0x4ef48c[_0x458e54([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x458e54([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x322ad6(_0xa1e882){const _0x265fd1=_0x461053();_0x4ef48c[_0x265fd1]=_0x458e54([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xa1e882,_0xa1e882!=_0x458e54([0x56,0x61,0x6c,0x69,0x64])&&_0xb83be8();}function _0x461053(){const _0xb51904=window[_0x458e54([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x458e54([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x458e54([0x6e,0x6f,0x77])]())[_0x458e54([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x458e54([0x2e]),'');let _0x4b366d=_0x458e54([0x50]);for(let _0x5a6796=0x0;_0x5a6796<_0xb51904[_0x458e54([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5a6796+=0x2){let _0x4027b3=window[_0x458e54([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xb51904[_0x458e54([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5a6796,_0x5a6796+0x2));_0x4027b3>=_0x3ef1e[_0x458e54([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4027b3-=_0x3ef1e[_0x458e54([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4b366d+=_0x3ef1e[_0x4027b3];}return _0x4b366d;}function _0x306e29(){const _0x52c5e0=_0x217eaf[_0x458e54([0x73,0x70,0x6c,0x69,0x74])](_0x458e54([0x2e]));if(0x3!=_0x52c5e0[_0x458e54([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1b93ee(_0x52c5e0[0x1]);function _0x1b93ee(_0xb4d1c0){const _0x3925f6=_0x2eb957(_0xb4d1c0);return _0x3925f6&&_0x5385f3()?_0x3925f6:null;function _0x5385f3(){const _0x274be1=_0x3925f6[_0x458e54([0x6a,0x74,0x69])],_0x29e79b=window[_0x458e54([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x274be1[_0x458e54([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x274be1[_0x458e54([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x35bf4c={..._0x3925f6,[_0x458e54([0x6a,0x74,0x69])]:_0x274be1[_0x458e54([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x274be1[_0x458e54([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x35bf4c[_0x458e54([0x76,0x63])],_0x5ae2f6(_0x35bf4c)==_0x29e79b;}}}async function _0x88d76d(){let _0x1dbad1=!0x0;try{const _0x133405=_0x217eaf[_0x458e54([0x73,0x70,0x6c,0x69,0x74])](_0x458e54([0x2e])),[_0x3d1d7d,_0x34689d,_0x3dc444]=_0x133405;return _0xbd30c1(_0x3d1d7d),await _0x103680(_0x3d1d7d,_0x34689d,_0x3dc444),_0x1dbad1;}catch{return!0x1;}function _0xbd30c1(_0x48aa2f){const _0x47af56=_0x2eb957(_0x48aa2f);_0x47af56&&_0x47af56[_0x458e54([0x61,0x6c,0x67])]==_0x458e54([0x45,0x53,0x32,0x35,0x36])||(_0x1dbad1=!0x1);}async function _0x103680(_0x36dccc,_0x2dca27,_0x5c4126){const _0x26402a=window[_0x458e54([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x458e54([0x66,0x72,0x6f,0x6d])](_0x29a5bd(_0x5c4126),_0x7d5020=>_0x7d5020[_0x458e54([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x291bc6=new window[(_0x458e54([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x458e54([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x36dccc+_0x458e54([0x2e])+_0x2dca27),_0x49d9ac=window[_0x458e54([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x458e54([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x49d9ac)return;const _0x57beae=await _0x49d9ac[_0x458e54([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x458e54([0x6a,0x77,0x6b]),_0x22c825,{[_0x458e54([0x6e,0x61,0x6d,0x65])]:_0x458e54([0x45,0x43,0x44,0x53,0x41]),[_0x458e54([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x458e54([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x458e54([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x49d9ac[_0x458e54([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x458e54([0x6e,0x61,0x6d,0x65])]:_0x458e54([0x45,0x43,0x44,0x53,0x41]),[_0x458e54([0x68,0x61,0x73,0x68])]:{[_0x458e54([0x6e,0x61,0x6d,0x65])]:_0x458e54([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x57beae,_0x26402a,_0x291bc6)||(_0x1dbad1=!0x1);}}function _0x2eb957(_0xb1ae3f){return _0xb1ae3f[_0x458e54([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x458e54([0x65,0x79]))?JSON[_0x458e54([0x70,0x61,0x72,0x73,0x65])](_0x29a5bd(_0xb1ae3f)):null;}function _0x29a5bd(_0x19ec76){return window[_0x458e54([0x61,0x74,0x6f,0x62])](_0x19ec76[_0x458e54([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x458e54([0x2b]))[_0x458e54([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x458e54([0x2f])));}function _0x5ae2f6(_0x49a616){let _0x18472a=0x1505;function _0x223487(_0x1d65a5){for(let _0x33214=0x0;_0x33214<_0x1d65a5[_0x458e54([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x33214++){const _0x3f3def=_0x1d65a5[_0x458e54([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x33214);_0x18472a=(_0x18472a<<0x5)+_0x18472a+_0x3f3def,_0x18472a&=_0x18472a;}}function _0x1a8ef2(_0x2addef){Array[_0x458e54([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2addef)?_0x2addef[_0x458e54([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1a8ef2):_0x2addef&&typeof _0x2addef==_0x458e54([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x458e54([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2addef)[_0x458e54([0x73,0x6f,0x72,0x74])]()[_0x458e54([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xedd7af,_0x3dd2b9])=>{_0x223487(_0xedd7af),_0x1a8ef2(_0x3dd2b9);}):_0x223487(window[_0x458e54([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2addef));}return _0x1a8ef2(_0x49a616),_0x18472a>>>0x0;}function _0x2a9ffe(_0x37b70f){return _0x37b70f[_0x458e54([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x458e54([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x458e54([0x30]));}function _0x142bc0(_0x16e979){return _0x16e979[_0x458e54([0x73,0x70,0x6c,0x69,0x74])]('')[_0x458e54([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x458e54([0x6a,0x6f,0x69,0x6e])]('');}function _0x1b4b01(){}function _0x458e54(_0x4c4d1b){const _0x37e66f=_0x56f6;return _0x4c4d1b[_0x37e66f(0xcf)](_0x3f6aed=>String[_0x37e66f(0xc2)](_0x3f6aed))[_0x37e66f(0xa2)]('');}_0x322ad6(await _0xffc87b());}(this);}[_0x4173a8(0xc9)](){const _0x890a59=_0x4173a8,_0x4673af=this[_0x890a59(0xc4)];if(!_0x4673af[_0x890a59(0xab)][_0x890a59(0xb3)](_0x890a59(0xb5)))return;const _0x21bda6=_0x4673af[_0x890a59(0xab)][_0x890a59(0xb3)](_0x890a59(0xc0))[_0x890a59(0xa0)](_0x4bb505=>_0x890a59(0xbf)==typeof _0x4bb505&&(!_0x42128a(_0x4bb505)&&isNaN(Number(_0x4bb505))));if(_0x21bda6[_0x890a59(0xc1)])throw new _0x1c61e0(_0x890a59(0xb4),null,{'namedPresets':_0x21bda6});}[_0x4173a8(0xbe)](){const _0x5e08a0=_0x4173a8,_0x5ad765=this[_0x5e08a0(0xc4)],_0x33220f=this[_0x5e08a0(0xc4)][_0x5e08a0(0xab)][_0x5e08a0(0xb3)](_0x5e08a0(0xbb));_0x5ad765[_0x5e08a0(0xc8)][_0x5e08a0(0xa7)](_0x5e08a0(0xb6))[_0x5e08a0(0xa3)]({'model':{'key':_0x5e08a0(0xcd)},'view':_0x48f76e=>String(_0x48f76e)===String(_0x33220f)?null:{'key':_0x5e08a0(0xc5),'value':{'line-height':_0x48f76e}}}),_0x5ad765[_0x5e08a0(0xc8)][_0x5e08a0(0xa7)](_0x5e08a0(0xa1))[_0x5e08a0(0xa3)]({'model':{'key':_0x5e08a0(0xcd),'value':_0x47936e=>{const _0x3f8278=_0x5e08a0;let _0x4a4622=_0x47936e[_0x3f8278(0x9d)](_0x3f8278(0x9c));return _0x2f2933(_0x4a4622)&&(_0x4a4622=String(Number(_0x4a4622[_0x3f8278(0xce)](0x0,-0x1))/0x64)),String(_0x4a4622)===String(_0x33220f)?null:_0x4a4622;}},'view':{'styles':{'line-height':/.*/}}});}[_0x4173a8(0xa5)](){const _0x537b0e=_0x4173a8,_0x3a5892=this[_0x537b0e(0xc4)],_0x547cae=this[_0x537b0e(0xc4)][_0x537b0e(0xab)][_0x537b0e(0xb3)](_0x537b0e(0xbb)),_0x5c2819=_0x26e2a9(this[_0x537b0e(0xc4)][_0x537b0e(0xab)][_0x537b0e(0xb3)](_0x537b0e(0xcd)))[_0x537b0e(0xa0)](_0x28704d=>_0x28704d[_0x537b0e(0xc7)]),_0x50e7a0=_0x317b8d(_0x537b0e(0xcd),_0x5c2819);_0x3a5892[_0x537b0e(0xc8)][_0x537b0e(0xa3)](_0x50e7a0),_0x3a5892[_0x537b0e(0xc8)][_0x537b0e(0xa7)](_0x537b0e(0xa1))[_0x537b0e(0xa3)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x537b0e(0xcd),'value':_0x430928=>{const _0x5bf11a=_0x537b0e;let _0x1dfd83=_0x430928[_0x5bf11a(0x9d)](_0x5bf11a(0x9c));return _0x2f2933(_0x1dfd83)&&(_0x1dfd83=String(Number(_0x1dfd83[_0x5bf11a(0xce)](0x0,-0x1))/0x64)),_0x1dfd83===String(_0x547cae)?null:_0x50e7a0[_0x5bf11a(0xc7)][_0x5bf11a(0xd0)][_0x5bf11a(0xa4)](_0x1dfd83)?_0x1dfd83:null;}}});}}
|