@ckeditor/ckeditor5-line-height 47.5.0-alpha.4 → 47.5.0-alpha.5
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:()=>q,LineHeightCommand:()=>a,LineHeightEditing:()=>T,LineHeightTodoListIntegration:()=>C,LineHeightUI:()=>D});var e=n(782),t=n(584);const r=o;function o(e,t){const n=s();return(o=function(e,t){return n[e-=203]})(e,t)}function s(){const e=["selection","setAttribute","model","checkAttribute","document","schema","27hnbspZ","898224epwAfr","30ilYyja","getAttribute","filter","28KLLeui","393610DZgphC","96932qSeUUk","lineHeight","1198209JdCeNA","change","6306773QnPYxL","refresh","24tUXldu","from","474133ejtwvo","execute","value","_canHaveLineHeight","44514FCyisW","removeAttribute","getSelectedBlocks","editor","isEnabled","4DPtcef"];return(s=function(){return e})()}!function(e){const t=o,n=e();for(;;)try{if(297997===parseInt(t(227))/1+parseInt(t(219))/2+parseInt(t(221))/3*(parseInt(t(205))/4)+-parseInt(t(214))/5*(parseInt(t(231))/6)+parseInt(t(217))/7*(parseInt(t(213))/8)+-parseInt(t(212))/9*(-parseInt(t(218))/10)+parseInt(t(223))/11*(-parseInt(t(225))/12))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(s);class a extends e.Command{[r(224)](){const e=r,n=this[e(203)][e(208)][e(210)],i=(0,t.first)(n[e(206)][e(233)]());this[e(204)]=Boolean(i)&&this[e(230)](i),this[e(229)]=this[e(204)]&&i[e(215)](e(220))}[r(228)](e={}){const t=r,n=this[t(203)][t(208)],i=n[t(210)][t(206)],o=e[t(229)];n[t(222)](e=>{const n=t,r=Array[n(226)](i[n(233)]())[n(216)](e=>this[n(230)](e));for(const t of r)o?e[n(207)](n(220),o,t):e[n(232)](n(220),t)})}[r(230)](e){const t=r;return this[t(203)][t(208)][t(211)][t(209)](e,t(220))}}var c=n(783);!function(e){const t=u,n=e();for(;;)try{if(495442===-parseInt(t(464))/1*(-parseInt(t(454))/2)+parseInt(t(477))/3*(parseInt(t(460))/4)+-parseInt(t(462))/5*(parseInt(t(468))/6)+-parseInt(t(490))/7+parseInt(t(489))/8*(-parseInt(t(473))/9)+parseInt(t(476))/10*(-parseInt(t(488))/11)+parseInt(t(472))/12*(parseInt(t(463))/13))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(h);const l={get single(){const e=u;return{title:e(482),model:e(458),view:{key:e(479),value:e(484)}}},get double(){const e=u;return{title:e(475),model:e(478),view:{key:e(479),value:e(480)}}}};function u(e,t){const n=h();return(u=function(e,t){return n[e-=454]})(e,t)}function d(e){const t=u;return t(469)==typeof e&&t(459)===e[t(457)]()}function h(){const e=["2477680rEsWSE","3HsNFlA","double","class","line-height-double","style","Single","value","line-height-single","view","filter","defaultValue","11XfQDNZ","56cEQWUq","6316758bFagoD","2PVhSXS","options","model","toLowerCase","single","default","3724848tTzQTK","push","1215770Ymzoan","39cHQDCm","988981PjSwMk","key","number","values","6SmXbbZ","string","map","span","3337524WgGnSF","1113192ggfzYj","line-height:","Double"];return(h=function(){return e})()}function p(e){const t=u;return e[t(455)][t(470)](n=>d(n)?{title:String(e[t(487)]),model:t(459)}:(t(466)==typeof n&&(n=String(n)),t(469)!=typeof n?n:parseFloat(n)?{title:n,model:n,view:{name:t(471),styles:{"line-height":n}}}:function(e){const t=u;return t(469)==typeof e?l[e]:l[e[t(456)]]}(n)))[t(486)](e=>void 0!==e)}var f=n(929),g=n.n(f),m=n(297),w=n.n(m),v=n(102),y=n.n(v),I=n(123),b=n.n(I),L=n(741),_=n.n(L),k=n(407),H={attributes:{"data-cke":!0}};H.setAttributes=b(),H.insert=y().bind(null,"head"),H.domAPI=w(),H.insertStyleElement=_();g()(k.A,H);k.A&&k.A.locals&&k.A.locals;const S=O;function E(){const e=["init","consumable","paragraph","viewItem","upcast","TodoListEditing","listType","element:li","todo-list__label__description","todo","getAttribute","45700rFWAgO","has","get","isOfficialPlugin","ck-list-marker-line-height","LineHeightTodoListIntegration","1145752vIqrSx","172188RKljUw","editor","ListEditing","for","addClass","10339497vbwcTo","pluginName","elementToElement","span","setStyle","item","registerDowncastStrategy","add","consume","6981674SwNvia","120tSuNSd","--ck-content-list-marker-line-height","16bnvSCj","high","name","762613mqVdfm","match","isPremiumPlugin","2276382qooyOH","lineHeight"];return(E=function(){return e})()}function O(e,t){const n=E();return(O=function(e,t){return n[e-=224]})(e,t)}!function(e){const t=O,n=e();for(;;)try{if(500588===-parseInt(t(243))/1+-parseInt(t(265))/2+-parseInt(t(246))/3+-parseInt(t(259))/4+-parseInt(t(238))/5*(parseInt(t(266))/6)+parseInt(t(237))/7+-parseInt(t(240))/8*(-parseInt(t(228))/9))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(E);class C extends e.Plugin{static get[S(229)](){return S(264)}static get[S(262)](){return!0}static get[S(245)](){return!0}[S(248)](){const e=S,{plugins:t,conversion:n}=this[e(224)];t[e(260)](e(225))&&t[e(260)](e(253))&&(t[e(261)](e(225))[e(234)]({scope:e(233),attributeName:e(247),consume:!1,setAttributeOnDowncast(t,n,i,r,o){const s=e;s(257)==o[s(258)](s(254))&&n&&(t[s(227)](s(263),i),t[s(232)](s(239),n,i))}}),n[e(226)](e(252))[e(230)]({view:{name:e(231),classes:e(256)},model:e(250),converterPriority:e(241)}),n[e(226)](e(252))[e(235)](t=>{const n=e;t.on(n(255),function(e){const t=new c.Matcher(e);return(e,n,i)=>{const r=O,o=t[r(244)](n[r(251)]);if(!o)return;const s=o[r(244)];s[r(242)]=!1,i[r(249)][r(236)](n[r(251)],s)}}({name:"li",classes:n(263),styles:{"--ck-content-list-marker-line-height":/.*/}}))}))}}const A=N;!function(e){const t=N,n=e();for(;;)try{if(374115===parseInt(t(337))/1+-parseInt(t(341))/2*(-parseInt(t(354))/3)+parseInt(t(379))/4+-parseInt(t(382))/5*(parseInt(t(372))/6)+-parseInt(t(333))/7+-parseInt(t(330))/8*(-parseInt(t(383))/9)+parseInt(t(363))/10*(-parseInt(t(365))/11))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(P);class T extends e.Plugin{static get[A(367)](){return A(342)}static get[A(340)](){return[C]}static get[A(384)](){return!0}static get[A(381)](){return!0}constructor(e){const t=A;super(e),e[t(377)][t(366)](t(361),{defaultValue:1.5,supportAllValues:!1,options:[1,1.15,t(335),2,2.5,3]})}[A(364)](){const e=A,t=this[e(375)];this[e(380)](),t[e(346)][e(349)][e(360)](e(351),{allowAttributes:e(361)}),t[e(346)][e(349)][e(368)](e(361),{isFormatting:!0}),t[e(345)][e(329)](e(361),new a(t)),this[e(375)][e(377)][e(348)](e(339))?this[e(334)]():this[e(370)]()}[A(338)](){!async function(e){const n=f([80,72,81,51,89,85,73,66,114,108,48,88,100,110,119,71,57,107,101,122,56,115,102,112,77,118,49,121,116,87,70,82,78,90,79,86,53,106,74,97,113,55,84,99,50,111,103,117,98,54,52,120,67,75,68,69,65,76,83,105,104,109]),i=window[f([68,97,116,101])][f([110,111,119])](),r=e[f([101,100,105,116,111,114])],o=new(window[f([80,114,111,109,105,115,101])])(e=>{r[f([111,110,99,101])](f([114,101,97,100,121]),e)}),s={[f([107,116,121])]:f([69,67]),[f([117,115,101])]:f([115,105,103]),[f([99,114,118])]:f([80,45,50,53,54]),[f([120])]:f([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[f([121])]:f([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[f([97,108,103])]:f([69,83,50,53,54])},a=r[f([99,111,110,102,105,103])][f([103,101,116])](f([108,105,99,101,110,115,101,75,101,121]));function c(e){return e[f([115,116,97,114,116,115,87,105,116,104])](f([101,121]))?JSON[f([112,97,114,115,101])](l(e)):null}function l(e){return window[f([97,116,111,98])](e[f([114,101,112,108,97,99,101])](/-/g,f([43]))[f([114,101,112,108,97,99,101])](/_/g,f([47])))}function u(e){let t=5381;function n(e){for(let n=0;n<e[f([108,101,110,103,116,104])];n++){const i=e[f([99,104,97,114,67,111,100,101,65,116])](n);t=(t<<5)+t+i,t&=t}}return function e(t){Array[f([105,115,65,114,114,97,121])](t)?t[f([102,111,114,69,97,99,104])](e):t&&typeof t==f([111,98,106,101,99,116])?Object[f([101,110,116,114,105,101,115])](t)[f([115,111,114,116])]()[f([102,111,114,69,97,99,104])](([t,i])=>{n(t),e(i)}):n(window[f([83,116,114,105,110,103])](t))}(e),t>>>0}function d(e){return e[f([116,111,83,116,114,105,110,103])](16)[f([112,97,100,83,116,97,114,116])](8,f([48]))}function h(e){return e[f([115,112,108,105,116])]("")[f([114,101,118,101,114,115,101])]()[f([106,111,105,110])]("")}function p(){}function f(e){const t=N;return e[t(343)](e=>String[t(378)](e))[t(350)]("")}!function(e){const t=function(){const e=window[f([83,116,114,105,110,103])](window[f([112,101,114,102,111,114,109,97,110,99,101])][f([110,111,119])]())[f([114,101,112,108,97,99,101])](f([46]),"");let t=f([80]);for(let i=0;i<e[f([108,101,110,103,116,104])];i+=2){let r=window[f([112,97,114,115,101,73,110,116])](e[f([115,117,98,115,116,114,105,110,103])](i,i+2));r>=n[f([108,101,110,103,116,104])]&&(r-=n[f([108,101,110,103,116,104])]),t+=n[r]}return t}();r[t]=f([108,105,110,101,72,101,105,103,104,116,76,105,99,101,110,115,101,75,101,121])+e,e!=f([86,97,108,105,100])&&async function(){await o,r[f([109,111,100,101,108])][f([99,104,97,110,103,101])]=p,r[f([109,111,100,101,108])][f([101,110,113,117,101,117,101,67,104,97,110,103,101])]=p,r[f([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](f([109,111,100,101,108]))}()}(await async function(){let e,n=null,p=null;try{return a==f([71,80,76])?f([78,111,116,65,108,108,111,119,101,100]):(e=function(){const e=a[f([115,112,108,105,116])](f([46]));return 3!=e[f([108,101,110,103,116,104])]?null:t(e[1]);function t(e){const t=c(e);return t&&n()?t:null;function n(){const e=t[f([106,116,105])],n=window[f([112,97,114,115,101,73,110,116])](e[f([115,117,98,115,116,114,105,110,103])](e[f([108,101,110,103,116,104])]-8),16),i={...t,[f([106,116,105])]:e[f([115,117,98,115,116,114,105,110,103])](0,e[f([108,101,110,103,116,104])]-8)};return delete i[f([118,99])],u(i)==n}}}(),e?(e[f([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(p=function(e,n){return new(window[f([80,114,111,109,105,115,101])])(c=>{if(s())return c(f([86,97,108,105,100]));a(),r[f([100,101,99,111,114,97,116,101])](f([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let l=!1;const p=(0,t.uid)();function g(e){return!!e&&(typeof e===f([111,98,106,101,99,116])||typeof e===f([102,117,110,99,116,105,111,110]))&&typeof e[f([116,104,101,110])]===f([102,117,110,99,116,105,111,110])&&typeof e[f([99,97,116,99,104])]===f([102,117,110,99,116,105,111,110])}function m(t){a(t)[f([116,104,101,110])](e=>e&&e[f([115,116,97,116,117,115])]==f([111,107])?d(u(p+n))!=e[f([118,101,114,105,102,105,99,97,116,105,111,110])]?f([85,115,97,103,101,76,105,109,105,116]):f([86,97,108,105,100]):f([85,115,97,103,101,76,105,109,105,116]))[f([116,104,101,110])](e=>(o(),e),()=>{const e=s();return null==e?(o(),f([86,97,108,105,100])):f(i-e>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[f([116,104,101,110])](c)[f([99,97,116,99,104])](()=>{c(f([85,115,97,103,101,76,105,109,105,116]))});const r=36e5;function o(){const t=f([108,108,99,116,45])+d(u(e)),n=h(d(window[f([77,97,116,104])][f([99,101,105,108])](i/r)));window[f([108,111,99,97,108,83,116,111,114,97,103,101])][f([115,101,116,73,116,101,109])](t,n)}function s(){const t=f([108,108,99,116,45])+d(u(e)),n=window[f([108,111,99,97,108,83,116,111,114,97,103,101])][f([103,101,116,73,116,101,109])](t);return n?window[f([112,97,114,115,101,73,110,116])](h(n),16)*r:null}function a(e){return new(window[f([80,114,111,109,105,115,101])])((t,n)=>{e[f([116,104,101,110])](t,n),window[f([115,101,116,84,105,109,101,111,117,116])](n,12e4)})}}r[f([111,110])](f([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t,n)=>{if(n[0]!=e)return c(f([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[f([114,101,113,117,101,115,116,73,100])]:p}},{[f([112,114,105,111,114,105,116,121])]:f([104,105,103,104])}),r[f([111,110])](f([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),e=>{g(e[f([114,101,116,117,114,110])])&&(l=!0,m(e[f([114,101,116,117,114,110])]))},{[f([112,114,105,111,114,105,116,121])]:f([108,111,119])}),o[f([116,104,101,110])](()=>{l||c(f([85,115,97,103,101,76,105,109,105,116]))})});function s(){return r[f([101,100,105,116,105,110,103])][f([118,105,101,119])][f([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==f([97,117,116,111])}function a(){r[f([101,100,105,116,105,110,103])][f([118,105,101,119])][f([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=f([97,117,116,111])}}(e[f([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[f([106,116,105])])),await async function(){let e=!0;try{const i=a[f([115,112,108,105,116])](f([46])),[r,o,s]=i;return t(r),await n(r,o,s),e}catch{return!1}function t(t){const n=c(t);n&&n[f([97,108,103])]==f([69,83,50,53,54])||(e=!1)}async function n(t,n,i){const r=window[f([85,105,110,116,56,65,114,114,97,121])][f([102,114,111,109])](l(i),e=>e[f([99,104,97,114,67,111,100,101,65,116])](0)),o=(new(window[f([84,101,120,116,69,110,99,111,100,101,114])]))[f([101,110,99,111,100,101])](t+f([46])+n),a=window[f([99,114,121,112,116,111])][f([115,117,98,116,108,101])];if(!a)return;const c=await a[f([105,109,112,111,114,116,75,101,121])](f([106,119,107]),s,{[f([110,97,109,101])]:f([69,67,68,83,65]),[f([110,97,109,101,100,67,117,114,118,101])]:f([80,45,50,53,54])},!1,[f([118,101,114,105,102,121])]);await a[f([118,101,114,105,102,121])]({[f([110,97,109,101])]:f([69,67,68,83,65]),[f([104,97,115,104])]:{[f([110,97,109,101])]:f([83,72,65,45,50,53,54])}},c,r,o)||(e=!1)}}()?function(){const t=e[f([102,101,97,116,117,114,101,115])];return!(!t||!t[f([105,110,99,108,117,100,101,115])](f([42]))&&!t[f([105,110,99,108,117,100,101,115])](f([76,72])))}()?function(){const t=[f([101,118,97,108,117,97,116,105,111,110]),f([116,114,105,97,108])][f([105,110,99,108,117,100,101,115])](e[f([108,105,99,101,110,115,101,84,121,112,101])])?i/1e3:1770508800;return e[f([101,120,112])]<t}()?f([69,120,112,105,114,101,100]):function(){const t=N,n=e[f([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[f([108,101,110,103,116,104])])return!0;const{hostname:i}=new URL(window[f([108,111,99,97,116,105,111,110])][t(347)]);if(n[f([105,110,99,108,117,100,101,115])](i))return!0;const r=i[f([115,112,108,105,116])](f([46]));return n[f([102,105,108,116,101,114])](e=>e[f([105,110,99,108,117,100,101,115])](f([42])))[f([109,97,112])](e=>e[f([115,112,108,105,116])](f([46])))[f([102,105,108,116,101,114])](e=>e[f([108,101,110,103,116,104])]<=r[f([108,101,110,103,116,104])])[f([109,97,112])](e=>Array(r[f([108,101,110,103,116,104])]-e[f([108,101,110,103,116,104])])[f([102,105,108,108])](e[0]===f([42])?f([42]):"")[f([99,111,110,99,97,116])](e))[f([115,111,109,101])](e=>r[f([101,118,101,114,121])]((t,n)=>e[n]===t||e[n]===f([42])))}()?(e[f([108,105,99,101,110,115,101,84,121,112,101])]==f([101,118,97,108,117,97,116,105,111,110])&&(n=function(e){const t=[new(window[f([80,114,111,109,105,115,101])])(e=>setTimeout(e,605900)),o[f([116,104,101,110])](()=>new(window[f([80,114,111,109,105,115,101])])(e=>{let t=0;r[f([109,111,100,101,108])][f([111,110])](f([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),(n,i)=>{i[0][f([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&t++,1512==t&&(e(),n[f([111,102,102])]())})}))];return window[f([80,114,111,109,105,115,101])][f([114,97,99,101])](t)[f([116,104,101,110])](()=>e)}(f([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),await(n&&p?new(window[f([80,114,111,109,105,115,101])])((e,t)=>{n[f([116,104,101,110])](e,t),p[f([116,104,101,110])](t=>{t!=f([86,97,108,105,100])&&e(t)},t)}):n||p||f([86,97,108,105,100]))):f([68,111,109,97,105,110,76,105,109,105,116]):f([78,111,116,65,108,108,111,119,101,100]):f([73,110,118,97,108,105,100])):f([73,110,118,97,108,105,100]))}catch{return f([73,110,118,97,108,105,100])}}())}(this)}[A(380)](){const e=A,n=this[e(375)];if(!n[e(377)][e(348)](e(339)))return;const i=n[e(377)][e(348)](e(332))[e(355)](t=>e(362)==typeof t&&!d(t)&&isNaN(Number(t)));if(i[e(356)])throw new t.CKEditorError(e(359),null,{namedPresets:i})}[A(334)](){const e=A,t=this[e(375)],n=this[e(375)][e(377)][e(348)](e(358));t[e(376)][e(371)](e(344))[e(374)]({model:{key:e(361)},view:t=>String(t)===String(n)?null:{key:e(369),value:{"line-height":t}}}),t[e(376)][e(371)](e(331))[e(374)]({model:{key:e(361),value:t=>{const i=e;let r=t[i(357)](i(353));return(0,c.isPercentageStyleValue)(r)&&(r=String(Number(r[i(352)](0,-1))/100)),String(r)===String(n)?null:r}},view:{styles:{"line-height":/.*/}}})}[A(370)](){const e=A,t=this[e(375)],n=this[e(375)][e(377)][e(348)](e(358)),i=p(this[e(375)][e(377)][e(348)](e(361)))[e(355)](t=>t[e(346)]),r=function(e,t){const n=u,i={model:{key:e,values:[]},view:{}};for(const e of t)n(479)===e[n(485)]?.[n(465)]?(i[n(456)][n(467)][n(461)](e[n(456)]),i[n(485)][e[n(456)]]={key:n(479),value:e[n(485)][n(483)]}):(i[n(456)][n(467)][n(461)](e[n(456)]),i[n(485)][e[n(456)]]={key:n(481),value:n(474)+e[n(456)]+";"});return i}(e(361),i);t[e(376)][e(374)](r),t[e(376)][e(371)](e(331))[e(374)]({view:{styles:{"line-height":/[\s\S]+/}},model:{key:e(361),value:t=>{const i=e;let o=t[i(357)](i(353));return(0,c.isPercentageStyleValue)(o)&&(o=String(Number(o[i(352)](0,-1))/100)),o===String(n)?null:r[i(346)][i(373)][i(336)](o)?o:null}}})}}function N(e,t){const n=P();return(N=function(e,t){return n[e-=329]})(e,t)}function P(){const e=["attributeToAttribute","editor","conversion","config","fromCharCode","2899524OtNmVj","_validateConfig","isPremiumPlugin","23255PmLmTE","6026310wbJXbK","isOfficialPlugin","add","8mAxNtJ","upcast","lineHeight.options","2097788qaehKk","_prepareAnyValueConverters","default","includes","535675oxVTYD","afterInit","lineHeight.supportAllValues","requires","19774KqRRVY","LineHeightEditing","map","downcast","commands","model","href","get","schema","join","$block","slice","line-height","6XMtYdA","filter","length","getStyle","lineHeight.defaultValue","line-height-invalid-use-of-named-presets","extend","lineHeight","string","1290XraoEt","init","98505wTLxSn","define","pluginName","setAttributeProperties","style","_preparePredefinedConverters","for","156PnNNDf","values"];return(P=function(){return e})()}var x=n(311),K=n(355),V=n(784),j={attributes:{"data-cke":!0}};j.setAttributes=b(),j.insert=y().bind(null,"head"),j.domAPI=w(),j.insertStyleElement=_();g()(V.A,j);V.A&&V.A.locals&&V.A.locals;class D extends e.Plugin{licenseKey;_licenseKeyCheckInterval;static get pluginName(){return"LineHeightUI"}static get isOfficialPlugin(){return!0}static get isPremiumPlugin(){return!0}init(){const e={accessibleLabel:(0,this.editor.t)("Line height"),options:this._prepareListOptions()};this._registerToolbarComponent(e),this._registerMenuBarComponent(e),this.licenseKey=this.editor.config.get("licenseKey");const t=this.editor;this._licenseKeyCheckInterval=setInterval(()=>{let e;for(const n in t){const i=n,r=t[i];if("lineHeightLicenseKeyValid"==r||"lineHeightLicenseKeyInvalid"==r||"lineHeightLicenseKeyExpired"==r||"lineHeightLicenseKeyDomainLimit"==r||"lineHeightLicenseKeyNotAllowed"==r||"lineHeightLicenseKeyEvaluationLimit"==r||"lineHeightLicenseKeyUsageLimit"==r){delete t[i],e=r,clearInterval(this._licenseKeyCheckInterval),this._licenseKeyCheckInterval=void 0;break}}"lineHeightLicenseKeyInvalid"==e&&t._showLicenseError("invalid"),"lineHeightLicenseKeyExpired"==e&&t._showLicenseError("expired"),"lineHeightLicenseKeyDomainLimit"==e&&t._showLicenseError("domainLimit"),"lineHeightLicenseKeyNotAllowed"==e&&t._showLicenseError("featureNotAllowed","LineHeight"),"lineHeightLicenseKeyEvaluationLimit"==e&&t._showLicenseError("evaluationLimit"),"lineHeightLicenseKeyUsageLimit"==e&&t._showLicenseError("usageLimit")},1e3)}destroy(){super.destroy(),this._licenseKeyCheckInterval&&clearInterval(this._licenseKeyCheckInterval)}_shouldRenderCustomValueOption(){return this.editor.config.get("lineHeight.supportAllValues")}_getLocalizedLineHeightOptions(){const e=this.editor,t=e.t,n=e.config.get("lineHeight"),i={Single:t({string:"Single",id:"LINE_HEIGHT_SINGLE_OPTION_LABEL"}),Double:t({string:"Double",id:"LINE_HEIGHT_DOUBLE_OPTION_LABEL"})};return p(n).map(e=>{const t=i[e.title];return t&&t!=e.title&&(e=Object.assign({},e,{title:t})),e})}_prepareListOptions(){const e=this.editor.commands.get("lineHeight"),n=this.editor.config.get("lineHeight.defaultValue"),i=this._getLocalizedLineHeightOptions(),r=new t.Collection,o=e=>"default"===e||String(n)===e;for(const t of i){const n={type:"button",model:new x.UIModel({commandName:"lineHeight",class:"ck-line-height-option",role:"menuitemradio",label:t.title,withText:!0})};o(t.model)?(n.model.bind("isOn").to(e,"value",e=>!e),n.model.commandParam=void 0):(n.model.bind("isOn").to(e,"value",e=>e===t.model),n.model.commandParam=t.model),r.add(n)}if(this._shouldRenderCustomValueOption()){const e=this._getCustomValueOptionDefinition(i);r.add(e)}return r}_getCustomValueOptionDefinition(e){const t=this.editor,n=t.t,i=t.commands.get("lineHeight"),r=e.map(e=>e.model),o={type:"button",model:new x.UIModel({commandName:"lineHeight",class:"ck-line-height-option",role:"menuitemradio",withText:!0})};return o.model.bind("commandParam").to(i,"value"),o.model.bind("isOn").to(i,"value",e=>!!e&&!r.includes(String(e))),o.model.bind("label").to(i,"value",e=>n({string:"Custom: %0",id:"LINE_HEIGHT_CUSTOM_OPTION_LABEL"},String(e))),o}_registerToolbarComponent({accessibleLabel:e,options:t}){const n=this.editor,i=n.commands.get("lineHeight");n.ui.componentFactory.add("lineHeight",r=>{const o=(0,x.createDropdown)(r);return(0,x.addListToDropdown)(o,t,{role:"menu",ariaLabel:e}),o.buttonView.set({label:e,tooltip:!0,icon:K.IconLineHeight}),o.extendTemplate({attributes:{class:["ck-line-height-dropdown"]}}),o.bind("isEnabled").to(i),this.listenTo(o,"execute",e=>{n.execute(e.source.commandName,{value:e.source.commandParam}),n.editing.view.focus()}),o.once("change:isOpen",()=>{const e=o.panelView.children.first;this._attachCustomOptionVisibilityHandler(o,t,e)}),o})}_registerMenuBarComponent({accessibleLabel:e,options:t}){const n=this.editor,i=n.commands.get("lineHeight");n.ui.componentFactory.add("menuBar:lineHeight",r=>{const o=new x.MenuBarMenuView(r);o.buttonView.set({label:e,icon:K.IconLineHeight}),o.bind("isEnabled").to(i);const s=new x.MenuBarMenuListView(r);for(const e of t){const t=new x.MenuBarMenuListItemView(r,o),i=new x.MenuBarMenuListItemButtonView(r);i.set({role:"menuitemradio",isToggleable:!0}),i.bind(...Object.keys(e.model)).to(e.model),i.delegate("execute").to(o),i.on("execute",()=>{n.execute(e.model.commandName,{value:e.model.commandParam}),n.editing.view.focus()}),t.children.add(i),s.items.add(t)}return o.panelView.children.add(s),this._attachCustomOptionVisibilityHandler(o,t,s),o})}_attachCustomOptionVisibilityHandler(e,t,n){if(!this._shouldRenderCustomValueOption())return;const i=()=>{e.isOpen&&(n.items.last.isVisible=Boolean(t.last.model.isOn))};i(),e.on("change:isOpen",()=>{i()})}}function M(e,t){var n=U();return(M=function(e,t){return n[e-=123]})(e,t)}var B=M;function U(){var e=["4363520MNfzpC","37780NSwiaJ","318RsZKZr","1832184PEzUhg","isPremiumPlugin","3119240DeAyOW","2857014TULXLv","isOfficialPlugin","LineHeight","465560CWtTzJ","7mOAUnp","69WlSCBe","3534qgCQnp","requires","pluginName"];return(U=function(){return e})()}!function(e){for(var t=M,n=e();;)try{if(333212===-parseInt(t(125))/1*(parseInt(t(135))/2)+-parseInt(t(134))/3*(-parseInt(t(124))/4)+parseInt(t(132))/5+-parseInt(t(129))/6*(parseInt(t(133))/7)+parseInt(t(123))/8+parseInt(t(126))/9+parseInt(t(128))/10)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(U);class q extends e.Plugin{static get[B(136)](){return[T,D]}static get[B(137)](){return B(131)}static get[B(130)](){return!0}static get[B(127)](){return!0}}function R(){var e=["320096SyhSZI","810820mDiTCI","75opbtem","36czciIX","2999024nnvqqV","1259847NXjvCm","51078irKsjq","219608VkQICA","218qOzRnY","1921BKQwJx"];return(R=function(){return e})()}function F(e,t){var n=R();return(F=function(e,t){return n[e-=365]})(e,t)}!function(e){for(var t=F,n=e();;)try{if(215265===parseInt(t(369))/1*(-parseInt(t(368))/2)+parseInt(t(365))/3+-parseInt(t(367))/4+parseInt(t(372))/5*(-parseInt(t(366))/6)+parseInt(t(374))/7+parseInt(t(370))/8*(-parseInt(t(373))/9)+-parseInt(t(371))/10)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(R)})(),(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:()=>q,LineHeightCommand:()=>a,LineHeightEditing:()=>P,LineHeightTodoListIntegration:()=>C,LineHeightUI:()=>M});var e=n(782),t=n(584);const r=o;function o(e,t){const n=s();return(o=function(e,t){return n[e-=203]})(e,t)}function s(){const e=["selection","setAttribute","model","checkAttribute","document","schema","27hnbspZ","898224epwAfr","30ilYyja","getAttribute","filter","28KLLeui","393610DZgphC","96932qSeUUk","lineHeight","1198209JdCeNA","change","6306773QnPYxL","refresh","24tUXldu","from","474133ejtwvo","execute","value","_canHaveLineHeight","44514FCyisW","removeAttribute","getSelectedBlocks","editor","isEnabled","4DPtcef"];return(s=function(){return e})()}!function(e){const t=o,n=e();for(;;)try{if(297997===parseInt(t(227))/1+parseInt(t(219))/2+parseInt(t(221))/3*(parseInt(t(205))/4)+-parseInt(t(214))/5*(parseInt(t(231))/6)+parseInt(t(217))/7*(parseInt(t(213))/8)+-parseInt(t(212))/9*(-parseInt(t(218))/10)+parseInt(t(223))/11*(-parseInt(t(225))/12))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(s);class a extends e.Command{[r(224)](){const e=r,n=this[e(203)][e(208)][e(210)],i=(0,t.first)(n[e(206)][e(233)]());this[e(204)]=Boolean(i)&&this[e(230)](i),this[e(229)]=this[e(204)]&&i[e(215)](e(220))}[r(228)](e={}){const t=r,n=this[t(203)][t(208)],i=n[t(210)][t(206)],o=e[t(229)];n[t(222)](e=>{const n=t,r=Array[n(226)](i[n(233)]())[n(216)](e=>this[n(230)](e));for(const t of r)o?e[n(207)](n(220),o,t):e[n(232)](n(220),t)})}[r(230)](e){const t=r;return this[t(203)][t(208)][t(211)][t(209)](e,t(220))}}var c=n(783);!function(e){const t=u,n=e();for(;;)try{if(495442===-parseInt(t(464))/1*(-parseInt(t(454))/2)+parseInt(t(477))/3*(parseInt(t(460))/4)+-parseInt(t(462))/5*(parseInt(t(468))/6)+-parseInt(t(490))/7+parseInt(t(489))/8*(-parseInt(t(473))/9)+parseInt(t(476))/10*(-parseInt(t(488))/11)+parseInt(t(472))/12*(parseInt(t(463))/13))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(h);const l={get single(){const e=u;return{title:e(482),model:e(458),view:{key:e(479),value:e(484)}}},get double(){const e=u;return{title:e(475),model:e(478),view:{key:e(479),value:e(480)}}}};function u(e,t){const n=h();return(u=function(e,t){return n[e-=454]})(e,t)}function d(e){const t=u;return t(469)==typeof e&&t(459)===e[t(457)]()}function h(){const e=["2477680rEsWSE","3HsNFlA","double","class","line-height-double","style","Single","value","line-height-single","view","filter","defaultValue","11XfQDNZ","56cEQWUq","6316758bFagoD","2PVhSXS","options","model","toLowerCase","single","default","3724848tTzQTK","push","1215770Ymzoan","39cHQDCm","988981PjSwMk","key","number","values","6SmXbbZ","string","map","span","3337524WgGnSF","1113192ggfzYj","line-height:","Double"];return(h=function(){return e})()}function p(e){const t=u;return e[t(455)][t(470)](n=>d(n)?{title:String(e[t(487)]),model:t(459)}:(t(466)==typeof n&&(n=String(n)),t(469)!=typeof n?n:parseFloat(n)?{title:n,model:n,view:{name:t(471),styles:{"line-height":n}}}:function(e){const t=u;return t(469)==typeof e?l[e]:l[e[t(456)]]}(n)))[t(486)](e=>void 0!==e)}var f=n(929),g=n.n(f),m=n(297),w=n.n(m),v=n(102),y=n.n(v),I=n(123),b=n.n(I),L=n(741),_=n.n(L),k=n(407),H={attributes:{"data-cke":!0}};H.setAttributes=b(),H.insert=y().bind(null,"head"),H.domAPI=w(),H.insertStyleElement=_();g()(k.A,H);k.A&&k.A.locals&&k.A.locals;const O=E;function S(){const e=["init","consumable","paragraph","viewItem","upcast","TodoListEditing","listType","element:li","todo-list__label__description","todo","getAttribute","45700rFWAgO","has","get","isOfficialPlugin","ck-list-marker-line-height","LineHeightTodoListIntegration","1145752vIqrSx","172188RKljUw","editor","ListEditing","for","addClass","10339497vbwcTo","pluginName","elementToElement","span","setStyle","item","registerDowncastStrategy","add","consume","6981674SwNvia","120tSuNSd","--ck-content-list-marker-line-height","16bnvSCj","high","name","762613mqVdfm","match","isPremiumPlugin","2276382qooyOH","lineHeight"];return(S=function(){return e})()}function E(e,t){const n=S();return(E=function(e,t){return n[e-=224]})(e,t)}!function(e){const t=E,n=e();for(;;)try{if(500588===-parseInt(t(243))/1+-parseInt(t(265))/2+-parseInt(t(246))/3+-parseInt(t(259))/4+-parseInt(t(238))/5*(parseInt(t(266))/6)+parseInt(t(237))/7+-parseInt(t(240))/8*(-parseInt(t(228))/9))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(S);class C extends e.Plugin{static get[O(229)](){return O(264)}static get[O(262)](){return!0}static get[O(245)](){return!0}[O(248)](){const e=O,{plugins:t,conversion:n}=this[e(224)];t[e(260)](e(225))&&t[e(260)](e(253))&&(t[e(261)](e(225))[e(234)]({scope:e(233),attributeName:e(247),consume:!1,setAttributeOnDowncast(t,n,i,r,o){const s=e;s(257)==o[s(258)](s(254))&&n&&(t[s(227)](s(263),i),t[s(232)](s(239),n,i))}}),n[e(226)](e(252))[e(230)]({view:{name:e(231),classes:e(256)},model:e(250),converterPriority:e(241)}),n[e(226)](e(252))[e(235)](t=>{const n=e;t.on(n(255),function(e){const t=new c.Matcher(e);return(e,n,i)=>{const r=E,o=t[r(244)](n[r(251)]);if(!o)return;const s=o[r(244)];s[r(242)]=!1,i[r(249)][r(236)](n[r(251)],s)}}({name:"li",classes:n(263),styles:{"--ck-content-list-marker-line-height":/.*/}}))}))}}const A=T;function T(e,t){const n=N();return(T=function(e,t){return n[e-=278]})(e,t)}function N(){const e=["2484704yUKklO","add","join","pluginName","style","23832zrqBkg","_prepareAnyValueConverters","isPremiumPlugin","line-height","lineHeight.supportAllValues","$block","5454265fRTwZV","lineHeight.defaultValue","fromCharCode","config","LineHeightEditing","map","href","values","7247051GNiVUL","slice","extend","2212002OYWPGm","line-height-invalid-use-of-named-presets","conversion","981MmXtLK","downcast","421583CjTPZh","isOfficialPlugin","commands","schema","define","string","filter","length","getStyle","_validateConfig","afterInit","requires","get","2tADhuv","_preparePredefinedConverters","model","includes","init","editor","lineHeight.options","8768502YxwuWe","lineHeight","setAttributeProperties","for","default","upcast","attributeToAttribute"];return(N=function(){return e})()}!function(e){const t=T,n=e();for(;;)try{if(886841===parseInt(t(323))/1*(-parseInt(t(282))/2)+parseInt(t(318))/3+-parseInt(t(296))/4+parseInt(t(307))/5+parseInt(t(289))/6+-parseInt(t(315))/7+-parseInt(t(301))/8*(parseInt(t(321))/9))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(N);class P extends e.Plugin{static get[A(299)](){return A(311)}static get[A(280)](){return[C]}static get[A(324)](){return!0}static get[A(303)](){return!0}constructor(e){const t=A;super(e),e[t(310)][t(327)](t(290),{defaultValue:1.5,supportAllValues:!1,options:[1,1.15,t(293),2,2.5,3]})}[A(286)](){const e=A,t=this[e(287)];this[e(278)](),t[e(284)][e(326)][e(317)](e(306),{allowAttributes:e(290)}),t[e(284)][e(326)][e(291)](e(290),{isFormatting:!0}),t[e(325)][e(297)](e(290),new a(t)),this[e(287)][e(310)][e(281)](e(305))?this[e(302)]():this[e(283)]()}[A(279)](){!async function(e){const n=f([80,72,81,51,89,85,73,66,114,108,48,88,100,110,119,71,57,107,101,122,56,115,102,112,77,118,49,121,116,87,70,82,78,90,79,86,53,106,74,97,113,55,84,99,50,111,103,117,98,54,52,120,67,75,68,69,65,76,83,105,104,109]),i=window[f([68,97,116,101])][f([110,111,119])](),r=e[f([101,100,105,116,111,114])],o=new(window[f([80,114,111,109,105,115,101])])(e=>{r[f([111,110,99,101])](f([114,101,97,100,121]),e)}),s={[f([107,116,121])]:f([69,67]),[f([117,115,101])]:f([115,105,103]),[f([99,114,118])]:f([80,45,50,53,54]),[f([120])]:f([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[f([121])]:f([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[f([97,108,103])]:f([69,83,50,53,54])},a=r[f([99,111,110,102,105,103])][f([103,101,116])](f([108,105,99,101,110,115,101,75,101,121]));function c(e){return e[f([115,116,97,114,116,115,87,105,116,104])](f([101,121]))?JSON[f([112,97,114,115,101])](l(e)):null}function l(e){return window[f([97,116,111,98])](e[f([114,101,112,108,97,99,101])](/-/g,f([43]))[f([114,101,112,108,97,99,101])](/_/g,f([47])))}function u(e){let t=5381;function n(e){for(let n=0;n<e[f([108,101,110,103,116,104])];n++){const i=e[f([99,104,97,114,67,111,100,101,65,116])](n);t=(t<<5)+t+i,t&=t}}return function e(t){Array[f([105,115,65,114,114,97,121])](t)?t[f([102,111,114,69,97,99,104])](e):t&&typeof t==f([111,98,106,101,99,116])?Object[f([101,110,116,114,105,101,115])](t)[f([115,111,114,116])]()[f([102,111,114,69,97,99,104])](([t,i])=>{n(t),e(i)}):n(window[f([83,116,114,105,110,103])](t))}(e),t>>>0}function d(e){return e[f([116,111,83,116,114,105,110,103])](16)[f([112,97,100,83,116,97,114,116])](8,f([48]))}function h(e){return e[f([115,112,108,105,116])]("")[f([114,101,118,101,114,115,101])]()[f([106,111,105,110])]("")}function p(){}function f(e){const t=T;return e[t(312)](e=>String[t(309)](e))[t(298)]("")}!function(e){const t=function(){const e=window[f([83,116,114,105,110,103])](window[f([112,101,114,102,111,114,109,97,110,99,101])][f([110,111,119])]())[f([114,101,112,108,97,99,101])](f([46]),"");let t=f([80]);for(let i=0;i<e[f([108,101,110,103,116,104])];i+=2){let r=window[f([112,97,114,115,101,73,110,116])](e[f([115,117,98,115,116,114,105,110,103])](i,i+2));r>=n[f([108,101,110,103,116,104])]&&(r-=n[f([108,101,110,103,116,104])]),t+=n[r]}return t}();r[t]=f([108,105,110,101,72,101,105,103,104,116,76,105,99,101,110,115,101,75,101,121])+e,e!=f([86,97,108,105,100])&&async function(){await o,r[f([109,111,100,101,108])][f([99,104,97,110,103,101])]=p,r[f([109,111,100,101,108])][f([101,110,113,117,101,117,101,67,104,97,110,103,101])]=p,r[f([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](f([109,111,100,101,108]))}()}(await async function(){let e,n=null,p=null;try{return a==f([71,80,76])?f([78,111,116,65,108,108,111,119,101,100]):(e=function(){const e=a[f([115,112,108,105,116])](f([46]));return 3!=e[f([108,101,110,103,116,104])]?null:t(e[1]);function t(e){const t=c(e);return t&&n()?t:null;function n(){const e=t[f([106,116,105])],n=window[f([112,97,114,115,101,73,110,116])](e[f([115,117,98,115,116,114,105,110,103])](e[f([108,101,110,103,116,104])]-8),16),i={...t,[f([106,116,105])]:e[f([115,117,98,115,116,114,105,110,103])](0,e[f([108,101,110,103,116,104])]-8)};return delete i[f([118,99])],u(i)==n}}}(),e?(e[f([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(p=function(e,n){return new(window[f([80,114,111,109,105,115,101])])(c=>{if(s())return c(f([86,97,108,105,100]));a(),r[f([100,101,99,111,114,97,116,101])](f([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let l=!1;const p=(0,t.uid)();function g(e){return!!e&&(typeof e===f([111,98,106,101,99,116])||typeof e===f([102,117,110,99,116,105,111,110]))&&typeof e[f([116,104,101,110])]===f([102,117,110,99,116,105,111,110])&&typeof e[f([99,97,116,99,104])]===f([102,117,110,99,116,105,111,110])}function m(t){a(t)[f([116,104,101,110])](e=>e&&e[f([115,116,97,116,117,115])]==f([111,107])?d(u(p+n))!=e[f([118,101,114,105,102,105,99,97,116,105,111,110])]?f([85,115,97,103,101,76,105,109,105,116]):f([86,97,108,105,100]):f([85,115,97,103,101,76,105,109,105,116]))[f([116,104,101,110])](e=>(o(),e),()=>{const e=s();return null==e?(o(),f([86,97,108,105,100])):f(i-e>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[f([116,104,101,110])](c)[f([99,97,116,99,104])](()=>{c(f([85,115,97,103,101,76,105,109,105,116]))});const r=36e5;function o(){const t=f([108,108,99,116,45])+d(u(e)),n=h(d(window[f([77,97,116,104])][f([99,101,105,108])](i/r)));window[f([108,111,99,97,108,83,116,111,114,97,103,101])][f([115,101,116,73,116,101,109])](t,n)}function s(){const t=f([108,108,99,116,45])+d(u(e)),n=window[f([108,111,99,97,108,83,116,111,114,97,103,101])][f([103,101,116,73,116,101,109])](t);return n?window[f([112,97,114,115,101,73,110,116])](h(n),16)*r:null}function a(e){return new(window[f([80,114,111,109,105,115,101])])((t,n)=>{e[f([116,104,101,110])](t,n),window[f([115,101,116,84,105,109,101,111,117,116])](n,12e4)})}}r[f([111,110])](f([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t,n)=>{if(n[0]!=e)return c(f([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[f([114,101,113,117,101,115,116,73,100])]:p}},{[f([112,114,105,111,114,105,116,121])]:f([104,105,103,104])}),r[f([111,110])](f([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),e=>{g(e[f([114,101,116,117,114,110])])&&(l=!0,m(e[f([114,101,116,117,114,110])]))},{[f([112,114,105,111,114,105,116,121])]:f([108,111,119])}),o[f([116,104,101,110])](()=>{l||c(f([85,115,97,103,101,76,105,109,105,116]))})});function s(){return r[f([101,100,105,116,105,110,103])][f([118,105,101,119])][f([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==f([97,117,116,111])}function a(){r[f([101,100,105,116,105,110,103])][f([118,105,101,119])][f([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=f([97,117,116,111])}}(e[f([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[f([106,116,105])])),await async function(){let e=!0;try{const i=a[f([115,112,108,105,116])](f([46])),[r,o,s]=i;return t(r),await n(r,o,s),e}catch{return!1}function t(t){const n=c(t);n&&n[f([97,108,103])]==f([69,83,50,53,54])||(e=!1)}async function n(t,n,i){const r=window[f([85,105,110,116,56,65,114,114,97,121])][f([102,114,111,109])](l(i),e=>e[f([99,104,97,114,67,111,100,101,65,116])](0)),o=(new(window[f([84,101,120,116,69,110,99,111,100,101,114])]))[f([101,110,99,111,100,101])](t+f([46])+n),a=window[f([99,114,121,112,116,111])][f([115,117,98,116,108,101])];if(!a)return;const c=await a[f([105,109,112,111,114,116,75,101,121])](f([106,119,107]),s,{[f([110,97,109,101])]:f([69,67,68,83,65]),[f([110,97,109,101,100,67,117,114,118,101])]:f([80,45,50,53,54])},!1,[f([118,101,114,105,102,121])]);await a[f([118,101,114,105,102,121])]({[f([110,97,109,101])]:f([69,67,68,83,65]),[f([104,97,115,104])]:{[f([110,97,109,101])]:f([83,72,65,45,50,53,54])}},c,r,o)||(e=!1)}}()?function(){const t=e[f([102,101,97,116,117,114,101,115])];return!(!t||!t[f([105,110,99,108,117,100,101,115])](f([42]))&&!t[f([105,110,99,108,117,100,101,115])](f([76,72])))}()?function(){const t=[f([101,118,97,108,117,97,116,105,111,110]),f([116,114,105,97,108])][f([105,110,99,108,117,100,101,115])](e[f([108,105,99,101,110,115,101,84,121,112,101])])?i/1e3:1770595200;return e[f([101,120,112])]<t}()?f([69,120,112,105,114,101,100]):function(){const t=T,n=e[f([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[f([108,101,110,103,116,104])])return!0;const{hostname:i}=new URL(window[f([108,111,99,97,116,105,111,110])][t(313)]);if(n[f([105,110,99,108,117,100,101,115])](i))return!0;const r=i[f([115,112,108,105,116])](f([46]));return n[f([102,105,108,116,101,114])](e=>e[f([105,110,99,108,117,100,101,115])](f([42])))[f([109,97,112])](e=>e[f([115,112,108,105,116])](f([46])))[f([102,105,108,116,101,114])](e=>e[f([108,101,110,103,116,104])]<=r[f([108,101,110,103,116,104])])[f([109,97,112])](e=>Array(r[f([108,101,110,103,116,104])]-e[f([108,101,110,103,116,104])])[f([102,105,108,108])](e[0]===f([42])?f([42]):"")[f([99,111,110,99,97,116])](e))[f([115,111,109,101])](e=>r[f([101,118,101,114,121])]((t,n)=>e[n]===t||e[n]===f([42])))}()?(e[f([108,105,99,101,110,115,101,84,121,112,101])]==f([101,118,97,108,117,97,116,105,111,110])&&(n=function(e){const t=[new(window[f([80,114,111,109,105,115,101])])(e=>setTimeout(e,605900)),o[f([116,104,101,110])](()=>new(window[f([80,114,111,109,105,115,101])])(e=>{let t=0;r[f([109,111,100,101,108])][f([111,110])](f([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),(n,i)=>{i[0][f([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&t++,1512==t&&(e(),n[f([111,102,102])]())})}))];return window[f([80,114,111,109,105,115,101])][f([114,97,99,101])](t)[f([116,104,101,110])](()=>e)}(f([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),await(n&&p?new(window[f([80,114,111,109,105,115,101])])((e,t)=>{n[f([116,104,101,110])](e,t),p[f([116,104,101,110])](t=>{t!=f([86,97,108,105,100])&&e(t)},t)}):n||p||f([86,97,108,105,100]))):f([68,111,109,97,105,110,76,105,109,105,116]):f([78,111,116,65,108,108,111,119,101,100]):f([73,110,118,97,108,105,100])):f([73,110,118,97,108,105,100]))}catch{return f([73,110,118,97,108,105,100])}}())}(this)}[A(278)](){const e=A,n=this[e(287)];if(!n[e(310)][e(281)](e(305)))return;const i=n[e(310)][e(281)](e(288))[e(329)](t=>e(328)==typeof t&&!d(t)&&isNaN(Number(t)));if(i[e(330)])throw new t.CKEditorError(e(319),null,{namedPresets:i})}[A(302)](){const e=A,t=this[e(287)],n=this[e(287)][e(310)][e(281)](e(308));t[e(320)][e(292)](e(322))[e(295)]({model:{key:e(290)},view:t=>String(t)===String(n)?null:{key:e(300),value:{"line-height":t}}}),t[e(320)][e(292)](e(294))[e(295)]({model:{key:e(290),value:t=>{const i=e;let r=t[i(331)](i(304));return(0,c.isPercentageStyleValue)(r)&&(r=String(Number(r[i(316)](0,-1))/100)),String(r)===String(n)?null:r}},view:{styles:{"line-height":/.*/}}})}[A(283)](){const e=A,t=this[e(287)],n=this[e(287)][e(310)][e(281)](e(308)),i=p(this[e(287)][e(310)][e(281)](e(290)))[e(329)](t=>t[e(284)]),r=function(e,t){const n=u,i={model:{key:e,values:[]},view:{}};for(const e of t)n(479)===e[n(485)]?.[n(465)]?(i[n(456)][n(467)][n(461)](e[n(456)]),i[n(485)][e[n(456)]]={key:n(479),value:e[n(485)][n(483)]}):(i[n(456)][n(467)][n(461)](e[n(456)]),i[n(485)][e[n(456)]]={key:n(481),value:n(474)+e[n(456)]+";"});return i}(e(290),i);t[e(320)][e(295)](r),t[e(320)][e(292)](e(294))[e(295)]({view:{styles:{"line-height":/[\s\S]+/}},model:{key:e(290),value:t=>{const i=e;let o=t[i(331)](i(304));return(0,c.isPercentageStyleValue)(o)&&(o=String(Number(o[i(316)](0,-1))/100)),o===String(n)?null:r[i(284)][i(314)][i(285)](o)?o:null}}})}}var x=n(311),K=n(355),V=n(784),j={attributes:{"data-cke":!0}};j.setAttributes=b(),j.insert=y().bind(null,"head"),j.domAPI=w(),j.insertStyleElement=_();g()(V.A,j);V.A&&V.A.locals&&V.A.locals;class M extends e.Plugin{licenseKey;_licenseKeyCheckInterval;static get pluginName(){return"LineHeightUI"}static get isOfficialPlugin(){return!0}static get isPremiumPlugin(){return!0}init(){const e={accessibleLabel:(0,this.editor.t)("Line height"),options:this._prepareListOptions()};this._registerToolbarComponent(e),this._registerMenuBarComponent(e),this.licenseKey=this.editor.config.get("licenseKey");const t=this.editor;this._licenseKeyCheckInterval=setInterval(()=>{let e;for(const n in t){const i=n,r=t[i];if("lineHeightLicenseKeyValid"==r||"lineHeightLicenseKeyInvalid"==r||"lineHeightLicenseKeyExpired"==r||"lineHeightLicenseKeyDomainLimit"==r||"lineHeightLicenseKeyNotAllowed"==r||"lineHeightLicenseKeyEvaluationLimit"==r||"lineHeightLicenseKeyUsageLimit"==r){delete t[i],e=r,clearInterval(this._licenseKeyCheckInterval),this._licenseKeyCheckInterval=void 0;break}}"lineHeightLicenseKeyInvalid"==e&&t._showLicenseError("invalid"),"lineHeightLicenseKeyExpired"==e&&t._showLicenseError("expired"),"lineHeightLicenseKeyDomainLimit"==e&&t._showLicenseError("domainLimit"),"lineHeightLicenseKeyNotAllowed"==e&&t._showLicenseError("featureNotAllowed","LineHeight"),"lineHeightLicenseKeyEvaluationLimit"==e&&t._showLicenseError("evaluationLimit"),"lineHeightLicenseKeyUsageLimit"==e&&t._showLicenseError("usageLimit")},1e3)}destroy(){super.destroy(),this._licenseKeyCheckInterval&&clearInterval(this._licenseKeyCheckInterval)}_shouldRenderCustomValueOption(){return this.editor.config.get("lineHeight.supportAllValues")}_getLocalizedLineHeightOptions(){const e=this.editor,t=e.t,n=e.config.get("lineHeight"),i={Single:t({string:"Single",id:"LINE_HEIGHT_SINGLE_OPTION_LABEL"}),Double:t({string:"Double",id:"LINE_HEIGHT_DOUBLE_OPTION_LABEL"})};return p(n).map(e=>{const t=i[e.title];return t&&t!=e.title&&(e=Object.assign({},e,{title:t})),e})}_prepareListOptions(){const e=this.editor.commands.get("lineHeight"),n=this.editor.config.get("lineHeight.defaultValue"),i=this._getLocalizedLineHeightOptions(),r=new t.Collection,o=e=>"default"===e||String(n)===e;for(const t of i){const n={type:"button",model:new x.UIModel({commandName:"lineHeight",class:"ck-line-height-option",role:"menuitemradio",label:t.title,withText:!0})};o(t.model)?(n.model.bind("isOn").to(e,"value",e=>!e),n.model.commandParam=void 0):(n.model.bind("isOn").to(e,"value",e=>e===t.model),n.model.commandParam=t.model),r.add(n)}if(this._shouldRenderCustomValueOption()){const e=this._getCustomValueOptionDefinition(i);r.add(e)}return r}_getCustomValueOptionDefinition(e){const t=this.editor,n=t.t,i=t.commands.get("lineHeight"),r=e.map(e=>e.model),o={type:"button",model:new x.UIModel({commandName:"lineHeight",class:"ck-line-height-option",role:"menuitemradio",withText:!0})};return o.model.bind("commandParam").to(i,"value"),o.model.bind("isOn").to(i,"value",e=>!!e&&!r.includes(String(e))),o.model.bind("label").to(i,"value",e=>n({string:"Custom: %0",id:"LINE_HEIGHT_CUSTOM_OPTION_LABEL"},String(e))),o}_registerToolbarComponent({accessibleLabel:e,options:t}){const n=this.editor,i=n.commands.get("lineHeight");n.ui.componentFactory.add("lineHeight",r=>{const o=(0,x.createDropdown)(r);return(0,x.addListToDropdown)(o,t,{role:"menu",ariaLabel:e}),o.buttonView.set({label:e,tooltip:!0,icon:K.IconLineHeight}),o.extendTemplate({attributes:{class:["ck-line-height-dropdown"]}}),o.bind("isEnabled").to(i),this.listenTo(o,"execute",e=>{n.execute(e.source.commandName,{value:e.source.commandParam}),n.editing.view.focus()}),o.once("change:isOpen",()=>{const e=o.panelView.children.first;this._attachCustomOptionVisibilityHandler(o,t,e)}),o})}_registerMenuBarComponent({accessibleLabel:e,options:t}){const n=this.editor,i=n.commands.get("lineHeight");n.ui.componentFactory.add("menuBar:lineHeight",r=>{const o=new x.MenuBarMenuView(r);o.buttonView.set({label:e,icon:K.IconLineHeight}),o.bind("isEnabled").to(i);const s=new x.MenuBarMenuListView(r);for(const e of t){const t=new x.MenuBarMenuListItemView(r,o),i=new x.MenuBarMenuListItemButtonView(r);i.set({role:"menuitemradio",isToggleable:!0}),i.bind(...Object.keys(e.model)).to(e.model),i.delegate("execute").to(o),i.on("execute",()=>{n.execute(e.model.commandName,{value:e.model.commandParam}),n.editing.view.focus()}),t.children.add(i),s.items.add(t)}return o.panelView.children.add(s),this._attachCustomOptionVisibilityHandler(o,t,s),o})}_attachCustomOptionVisibilityHandler(e,t,n){if(!this._shouldRenderCustomValueOption())return;const i=()=>{e.isOpen&&(n.items.last.isVisible=Boolean(t.last.model.isOn))};i(),e.on("change:isOpen",()=>{i()})}}function D(e,t){var n=U();return(D=function(e,t){return n[e-=123]})(e,t)}var B=D;function U(){var e=["4363520MNfzpC","37780NSwiaJ","318RsZKZr","1832184PEzUhg","isPremiumPlugin","3119240DeAyOW","2857014TULXLv","isOfficialPlugin","LineHeight","465560CWtTzJ","7mOAUnp","69WlSCBe","3534qgCQnp","requires","pluginName"];return(U=function(){return e})()}!function(e){for(var t=D,n=e();;)try{if(333212===-parseInt(t(125))/1*(parseInt(t(135))/2)+-parseInt(t(134))/3*(-parseInt(t(124))/4)+parseInt(t(132))/5+-parseInt(t(129))/6*(parseInt(t(133))/7)+parseInt(t(123))/8+parseInt(t(126))/9+parseInt(t(128))/10)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(U);class q extends e.Plugin{static get[B(136)](){return[P,M]}static get[B(137)](){return B(131)}static get[B(130)](){return!0}static get[B(127)](){return!0}}function R(){var e=["320096SyhSZI","810820mDiTCI","75opbtem","36czciIX","2999024nnvqqV","1259847NXjvCm","51078irKsjq","219608VkQICA","218qOzRnY","1921BKQwJx"];return(R=function(){return e})()}function z(e,t){var n=R();return(z=function(e,t){return n[e-=365]})(e,t)}!function(e){for(var t=z,n=e();;)try{if(215265===parseInt(t(369))/1*(-parseInt(t(368))/2)+parseInt(t(365))/3+-parseInt(t(367))/4+parseInt(t(372))/5*(-parseInt(t(366))/6)+parseInt(t(374))/7+parseInt(t(370))/8*(-parseInt(t(373))/9)+-parseInt(t(371))/10)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(R)})(),(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 _0x386079,Plugin as _0x4068ea}from'@ckeditor/ckeditor5-core/dist/index.js';import{first as _0x5637e5,CKEditorError as _0x59ceeb,uid as _0x19e3f2,Collection as _0x39f67a}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Matcher as _0x8a6b5,isPercentageStyleValue as _0x560f52}from'@ckeditor/ckeditor5-engine/dist/index.js';import{UIModel as _0x2b1261,createDropdown as _0x1b6196,addListToDropdown as _0x16275d,MenuBarMenuView as _0x55c3ab,MenuBarMenuListView as _0x4863b3,MenuBarMenuListItemView as _0x54234a,MenuBarMenuListItemButtonView as _0xd5e191}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconLineHeight as _0x4093d8}from'@ckeditor/ckeditor5-icons/dist/index.js';class n extends _0x386079{['refresh'](){const _0x370ec7=this['editor']['model']['document'],_0x23e0f3=_0x5637e5(_0x370ec7['selection']['getSelectedBlocks']());this['isEnabled']=Boolean(_0x23e0f3)&&this['_canHaveLineHeight'](_0x23e0f3),this['value']=this['isEnabled']&&_0x23e0f3['getAttribute']('lineHeight');}['execute'](_0x19fe90={}){const _0x37851f=this['editor']['model'],_0x107f47=_0x37851f['document']['selection'],_0x102f05=_0x19fe90['value'];_0x37851f['change'](_0x4fb72b=>{const _0x17bf1f=Array['from'](_0x107f47['getSelectedBlocks']())['filter'](_0x56bff3=>this['_canHaveLineHeight'](_0x56bff3));for(const _0x20e3ec of _0x17bf1f)_0x102f05?_0x4fb72b['setAttribute']('lineHeight',_0x102f05,_0x20e3ec):_0x4fb72b['removeAttribute']('lineHeight',_0x20e3ec);});}['_canHaveLineHeight'](_0x3fcd5b){return this['editor']['model']['schema']['checkAttribute'](_0x3fcd5b,'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(_0x107e54){return'string'==typeof _0x107e54&&'default'===_0x107e54['toLowerCase']();}function a(_0x4608eb){return _0x4608eb['options']['map'](_0x589264=>{return f(_0x589264)?{'title':String(_0x4608eb['defaultValue']),'model':'default'}:('number'==typeof _0x589264&&(_0x589264=String(_0x589264)),'string'!=typeof _0x589264?_0x589264:parseFloat(_0x589264)?{'title':_0x589264,'model':_0x589264,'view':{'name':'span','styles':{'line-height':_0x589264}}}:'string'==typeof(_0x53a92f=_0x589264)?v[_0x53a92f]:v[_0x53a92f['model']]);var _0x53a92f;})['filter'](_0x4fd831=>void 0x0!==_0x4fd831);}class g extends _0x4068ea{static get['pluginName'](){return'LineHeightTodoListIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {plugins:_0x573be3,conversion:_0x3a6e31}=this['editor'];if(!_0x573be3['has']('ListEditing')||!_0x573be3['has']('TodoListEditing'))return;_0x573be3['get']('ListEditing')['registerDowncastStrategy']({'scope':'item','attributeName':'lineHeight','consume':!0x1,'setAttributeOnDowncast'(_0x17f263,_0x203643,_0x175d23,_0x52d06a,_0x53d286){'todo'==_0x53d286['getAttribute']('listType')&&_0x203643&&(_0x17f263['addClass']('ck-list-marker-line-height',_0x175d23),_0x17f263['setStyle']('--ck-content-list-marker-line-height',_0x203643,_0x175d23));}}),_0x3a6e31['for']('upcast')['elementToElement']({'view':{'name':'span','classes':'todo-list__label__description'},'model':'paragraph','converterPriority':'high'}),_0x3a6e31['for']('upcast')['add'](_0x521c02=>{_0x521c02['on']('element:li',function(_0x2f5c33){const _0x26fc14=new _0x8a6b5(_0x2f5c33);return(_0x57761c,_0x2fc622,_0x5de19a)=>{const _0x2eedc3=_0x26fc14['match'](_0x2fc622['viewItem']);if(!_0x2eedc3)return;const _0x3e9106=_0x2eedc3['match'];_0x3e9106['name']=!0x1,_0x5de19a['consumable']['consume'](_0x2fc622['viewItem'],_0x3e9106);};}({'name':'li','classes':'ck-list-marker-line-height','styles':{'--ck-content-list-marker-line-height':/.*/}}));});}}class e extends _0x4068ea{static get['pluginName'](){return'LineHeightEditing';}static get['requires'](){return[g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x4faf75){super(_0x4faf75),_0x4faf75['config']['define']('lineHeight',{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,'default',0x2,2.5,0x3]});}['init'](){const _0x361473=this['editor'];this['_validateConfig'](),_0x361473['model']['schema']['extend']('$block',{'allowAttributes':'lineHeight'}),_0x361473['model']['schema']['setAttributeProperties']('lineHeight',{'isFormatting':!0x0}),_0x361473['commands']['add']('lineHeight',new n(_0x361473)),this['editor']['config']['get']('lineHeight.supportAllValues')?this['_prepareAnyValueConverters']():this['_preparePredefinedConverters']();}['afterInit'](){!async function(_0x2835ea){const _0x59f51d=_0x468116([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]),_0x38287f=0x45ddd215,_0x55f74d=0x45da5335^_0x38287f,_0x5da967=window[_0x468116([0x44,0x61,0x74,0x65])][_0x468116([0x6e,0x6f,0x77])](),_0x3b0efc=_0x2835ea[_0x468116([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5ba1d3=new window[(_0x468116([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x19bf41=>{_0x3b0efc[_0x468116([0x6f,0x6e,0x63,0x65])](_0x468116([0x72,0x65,0x61,0x64,0x79]),_0x19bf41);}),_0x59e3c0={[_0x468116([0x6b,0x74,0x79])]:_0x468116([0x45,0x43]),[_0x468116([0x75,0x73,0x65])]:_0x468116([0x73,0x69,0x67]),[_0x468116([0x63,0x72,0x76])]:_0x468116([0x50,0x2d,0x32,0x35,0x36]),[_0x468116([0x78])]:_0x468116([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]),[_0x468116([0x79])]:_0x468116([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]),[_0x468116([0x61,0x6c,0x67])]:_0x468116([0x45,0x53,0x32,0x35,0x36])},_0x212725=_0x3b0efc[_0x468116([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x468116([0x67,0x65,0x74])](_0x468116([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2fd231(){let _0x1fa201,_0x373a0c=null,_0x15fd95=null;try{if(_0x212725==_0x468116([0x47,0x50,0x4c]))return _0x468116([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1fa201=_0xb30e8f(),!_0x1fa201)return _0x468116([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1fa201[_0x468116([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x15fd95=_0x1cebbd(_0x1fa201[_0x468116([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1fa201[_0x468116([0x6a,0x74,0x69])])),await _0x130205()?_0x3a92e1()?_0x984f6a()?_0x468116([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x51e7b1()?(_0x1fa201[_0x468116([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x468116([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x373a0c=_0x3302f9(_0x468116([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x42165d()):_0x468116([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x468116([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x468116([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x468116([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x984f6a(){const _0x1965e4=[_0x468116([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x468116([0x74,0x72,0x69,0x61,0x6c])][_0x468116([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1fa201[_0x468116([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5da967/0x3e8:0xe10*_0x55f74d;return _0x1fa201[_0x468116([0x65,0x78,0x70])]<_0x1965e4;}function _0x3a92e1(){const _0x4eed26=_0x1fa201[_0x468116([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4eed26&&(!!_0x4eed26[_0x468116([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x468116([0x2a]))||!!_0x4eed26[_0x468116([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x468116([0x4c,0x48])));}function _0x51e7b1(){const _0x4c6c19=_0x1fa201[_0x468116([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4c6c19||0x0==_0x4c6c19[_0x468116([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x255683}=new URL(window[_0x468116([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x4c6c19[_0x468116([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x255683))return!0x0;const _0x1b3c62=_0x255683[_0x468116([0x73,0x70,0x6c,0x69,0x74])](_0x468116([0x2e]));return _0x4c6c19[_0x468116([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x257345=>_0x257345[_0x468116([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x468116([0x2a])))[_0x468116([0x6d,0x61,0x70])](_0x53fd4d=>_0x53fd4d[_0x468116([0x73,0x70,0x6c,0x69,0x74])](_0x468116([0x2e])))[_0x468116([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3a6c66=>_0x3a6c66[_0x468116([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1b3c62[_0x468116([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x468116([0x6d,0x61,0x70])](_0x97fad8=>Array(_0x1b3c62[_0x468116([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x97fad8[_0x468116([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x468116([0x66,0x69,0x6c,0x6c])](_0x97fad8[0x0]===_0x468116([0x2a])?_0x468116([0x2a]):'')[_0x468116([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x97fad8))[_0x468116([0x73,0x6f,0x6d,0x65])](_0x495db8=>_0x1b3c62[_0x468116([0x65,0x76,0x65,0x72,0x79])]((_0xae5757,_0x467214)=>_0x495db8[_0x467214]===_0xae5757||_0x495db8[_0x467214]===_0x468116([0x2a])));}function _0x42165d(){return _0x373a0c&&_0x15fd95?new window[(_0x468116([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3e1eb5,_0x3250a0)=>{_0x373a0c[_0x468116([0x74,0x68,0x65,0x6e])](_0x3e1eb5,_0x3250a0),_0x15fd95[_0x468116([0x74,0x68,0x65,0x6e])](_0x1dd9f0=>{_0x1dd9f0!=_0x468116([0x56,0x61,0x6c,0x69,0x64])&&_0x3e1eb5(_0x1dd9f0);},_0x3250a0);}):_0x373a0c||_0x15fd95||_0x468116([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1cebbd(_0x4a49a0,_0x445d80){return new window[(_0x468116([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2e0c28=>{if(_0x268342())return _0x2e0c28(_0x468116([0x56,0x61,0x6c,0x69,0x64]));_0x3f2f7e(),_0x3b0efc[_0x468116([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x468116([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x107ce8=!0x1;const _0x4c8711=_0x19e3f2();function _0x259b7d(_0x453b7d){return!!_0x453b7d&&(typeof _0x453b7d===_0x468116([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x453b7d===_0x468116([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x453b7d[_0x468116([0x74,0x68,0x65,0x6e])]===_0x468116([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x453b7d[_0x468116([0x63,0x61,0x74,0x63,0x68])]===_0x468116([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5a3f01(_0x500019){_0x17a613(_0x500019)[_0x468116([0x74,0x68,0x65,0x6e])](_0x392f07=>{if(!_0x392f07||_0x392f07[_0x468116([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x468116([0x6f,0x6b]))return _0x468116([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x482da1(_0x5949f3(_0x4c8711+_0x445d80))!=_0x392f07[_0x468116([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x468116([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x468116([0x56,0x61,0x6c,0x69,0x64]);})[_0x468116([0x74,0x68,0x65,0x6e])](_0x24818f=>(_0x283b06(),_0x24818f),()=>{const _0x285fe0=_0x3a9800();return null==_0x285fe0?(_0x283b06(),_0x468116([0x56,0x61,0x6c,0x69,0x64])):_0x468116(_0x5da967-_0x285fe0>(0x61d15615^_0x38287f)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x468116([0x74,0x68,0x65,0x6e])](_0x2e0c28)[_0x468116([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2e0c28(_0x468116([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3297a2=0x45eb3c95^_0x38287f;function _0x283b06(){const _0x49fb53=_0x468116([0x6c,0x6c,0x63,0x74,0x2d])+_0x482da1(_0x5949f3(_0x4a49a0)),_0x5a7414=_0x269eda(_0x482da1(window[_0x468116([0x4d,0x61,0x74,0x68])][_0x468116([0x63,0x65,0x69,0x6c])](_0x5da967/_0x3297a2)));window[_0x468116([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x468116([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x49fb53,_0x5a7414);}function _0x3a9800(){const _0x4acdb1=_0x468116([0x6c,0x6c,0x63,0x74,0x2d])+_0x482da1(_0x5949f3(_0x4a49a0)),_0x5838e1=window[_0x468116([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x468116([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4acdb1);return _0x5838e1?window[_0x468116([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x269eda(_0x5838e1),0x10)*_0x3297a2:null;}function _0x17a613(_0x573b42){return new window[(_0x468116([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x32323a,_0x4efe2f)=>{_0x573b42[_0x468116([0x74,0x68,0x65,0x6e])](_0x32323a,_0x4efe2f),window[_0x468116([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4efe2f,0x45dc06d5^_0x38287f);});}}_0x3b0efc[_0x468116([0x6f,0x6e])](_0x468116([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5edc90,_0x21224d)=>{if(_0x21224d[0x0]!=_0x4a49a0)return _0x2e0c28(_0x468116([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x21224d[0x1]={..._0x21224d[0x1],[_0x468116([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4c8711};},{[_0x468116([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x468116([0x68,0x69,0x67,0x68])}),_0x3b0efc[_0x468116([0x6f,0x6e])](_0x468116([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x41c653=>{_0x259b7d(_0x41c653[_0x468116([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x107ce8=!0x0,_0x5a3f01(_0x41c653[_0x468116([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x468116([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x468116([0x6c,0x6f,0x77])}),_0x5ba1d3[_0x468116([0x74,0x68,0x65,0x6e])](()=>{_0x107ce8||_0x2e0c28(_0x468116([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x268342(){return _0x3b0efc[_0x468116([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x468116([0x76,0x69,0x65,0x77])][_0x468116([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x468116([0x61,0x75,0x74,0x6f]);}function _0x3f2f7e(){_0x3b0efc[_0x468116([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x468116([0x76,0x69,0x65,0x77])][_0x468116([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x468116([0x61,0x75,0x74,0x6f]);}}function _0x3302f9(_0x47aa2c){const _0x19aadc=[new window[(_0x468116([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1242a6=>setTimeout(_0x1242a6,0x45d4ecd9^_0x38287f)),_0x5ba1d3[_0x468116([0x74,0x68,0x65,0x6e])](()=>new window[(_0x468116([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x26a90d=>{let _0x4f53d7=0x0;_0x3b0efc[_0x468116([0x6d,0x6f,0x64,0x65,0x6c])][_0x468116([0x6f,0x6e])](_0x468116([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5e9db,_0x3e7af0)=>{_0x3e7af0[0x0][_0x468116([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4f53d7++,_0x4f53d7==(0x45ddd7fd^_0x38287f)&&(_0x26a90d(),_0x5e9db[_0x468116([0x6f,0x66,0x66])]());});}))];return window[_0x468116([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x468116([0x72,0x61,0x63,0x65])](_0x19aadc)[_0x468116([0x74,0x68,0x65,0x6e])](()=>_0x47aa2c);}async function _0x1c0ef1(){await _0x5ba1d3,_0x3b0efc[_0x468116([0x6d,0x6f,0x64,0x65,0x6c])][_0x468116([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x505fe7,_0x3b0efc[_0x468116([0x6d,0x6f,0x64,0x65,0x6c])][_0x468116([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x505fe7,_0x3b0efc[_0x468116([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x468116([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3d38fc(_0x7aed22){const _0x383c67=_0x239fa0();_0x3b0efc[_0x383c67]=_0x468116([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x7aed22,_0x7aed22!=_0x468116([0x56,0x61,0x6c,0x69,0x64])&&_0x1c0ef1();}function _0x239fa0(){const _0x2ca262=window[_0x468116([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x468116([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x468116([0x6e,0x6f,0x77])]())[_0x468116([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x468116([0x2e]),'');let _0x4a3d7e=_0x468116([0x50]);for(let _0x434da3=0x0;_0x434da3<_0x2ca262[_0x468116([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x434da3+=0x2){let _0x714fe6=window[_0x468116([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2ca262[_0x468116([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x434da3,_0x434da3+0x2));_0x714fe6>=_0x59f51d[_0x468116([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x714fe6-=_0x59f51d[_0x468116([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4a3d7e+=_0x59f51d[_0x714fe6];}return _0x4a3d7e;}function _0xb30e8f(){const _0x595419=_0x212725[_0x468116([0x73,0x70,0x6c,0x69,0x74])](_0x468116([0x2e]));if(0x3!=_0x595419[_0x468116([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x274596(_0x595419[0x1]);function _0x274596(_0x89f180){const _0x262035=_0x223c9b(_0x89f180);return _0x262035&&_0x2e2e79()?_0x262035:null;function _0x2e2e79(){const _0x37ef75=_0x262035[_0x468116([0x6a,0x74,0x69])],_0x1b590b=window[_0x468116([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x37ef75[_0x468116([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x37ef75[_0x468116([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x316600={..._0x262035,[_0x468116([0x6a,0x74,0x69])]:_0x37ef75[_0x468116([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x37ef75[_0x468116([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x316600[_0x468116([0x76,0x63])],_0x5949f3(_0x316600)==_0x1b590b;}}}async function _0x130205(){let _0x3e4417=!0x0;try{const _0x3b72d6=_0x212725[_0x468116([0x73,0x70,0x6c,0x69,0x74])](_0x468116([0x2e])),[_0x12e60b,_0x379b47,_0x6dd3a7]=_0x3b72d6;return _0x1c3799(_0x12e60b),await _0x2406e3(_0x12e60b,_0x379b47,_0x6dd3a7),_0x3e4417;}catch{return!0x1;}function _0x1c3799(_0x33d0a4){const _0x44351c=_0x223c9b(_0x33d0a4);_0x44351c&&_0x44351c[_0x468116([0x61,0x6c,0x67])]==_0x468116([0x45,0x53,0x32,0x35,0x36])||(_0x3e4417=!0x1);}async function _0x2406e3(_0x5da4f2,_0x11b4e3,_0x544565){const _0x46f384=window[_0x468116([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x468116([0x66,0x72,0x6f,0x6d])](_0x4c3855(_0x544565),_0x4ee7aa=>_0x4ee7aa[_0x468116([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2a365e=new window[(_0x468116([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x468116([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5da4f2+_0x468116([0x2e])+_0x11b4e3),_0x48f540=window[_0x468116([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x468116([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x48f540)return;const _0x2ebd71=await _0x48f540[_0x468116([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x468116([0x6a,0x77,0x6b]),_0x59e3c0,{[_0x468116([0x6e,0x61,0x6d,0x65])]:_0x468116([0x45,0x43,0x44,0x53,0x41]),[_0x468116([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x468116([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x468116([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x48f540[_0x468116([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x468116([0x6e,0x61,0x6d,0x65])]:_0x468116([0x45,0x43,0x44,0x53,0x41]),[_0x468116([0x68,0x61,0x73,0x68])]:{[_0x468116([0x6e,0x61,0x6d,0x65])]:_0x468116([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2ebd71,_0x46f384,_0x2a365e)||(_0x3e4417=!0x1);}}function _0x223c9b(_0x13b0c3){return _0x13b0c3[_0x468116([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x468116([0x65,0x79]))?JSON[_0x468116([0x70,0x61,0x72,0x73,0x65])](_0x4c3855(_0x13b0c3)):null;}function _0x4c3855(_0xf7ef19){return window[_0x468116([0x61,0x74,0x6f,0x62])](_0xf7ef19[_0x468116([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x468116([0x2b]))[_0x468116([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x468116([0x2f])));}function _0x5949f3(_0x486f22){let _0x282a8e=0x1505;function _0xe94df6(_0x352fde){for(let _0x22f19e=0x0;_0x22f19e<_0x352fde[_0x468116([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x22f19e++){const _0x4361ef=_0x352fde[_0x468116([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x22f19e);_0x282a8e=(_0x282a8e<<0x5)+_0x282a8e+_0x4361ef,_0x282a8e&=_0x282a8e;}}function _0x565207(_0x2f5e5e){Array[_0x468116([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2f5e5e)?_0x2f5e5e[_0x468116([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x565207):_0x2f5e5e&&typeof _0x2f5e5e==_0x468116([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x468116([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2f5e5e)[_0x468116([0x73,0x6f,0x72,0x74])]()[_0x468116([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3fa278,_0x4cf297])=>{_0xe94df6(_0x3fa278),_0x565207(_0x4cf297);}):_0xe94df6(window[_0x468116([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2f5e5e));}return _0x565207(_0x486f22),_0x282a8e>>>0x0;}function _0x482da1(_0x37d49a){return _0x37d49a[_0x468116([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x468116([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x468116([0x30]));}function _0x269eda(_0xe2a542){return _0xe2a542[_0x468116([0x73,0x70,0x6c,0x69,0x74])]('')[_0x468116([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x468116([0x6a,0x6f,0x69,0x6e])]('');}function _0x505fe7(){}function _0x468116(_0x133001){return _0x133001['map'](_0x5d3511=>String['fromCharCode'](_0x5d3511))['join']('');}_0x3d38fc(await _0x2fd231());}(this);}['_validateConfig'](){const _0x48809b=this['editor'];if(!_0x48809b['config']['get']('lineHeight.supportAllValues'))return;const _0x207e48=_0x48809b['config']['get']('lineHeight.options')['filter'](_0x4f7aa6=>'string'==typeof _0x4f7aa6&&(!f(_0x4f7aa6)&&isNaN(Number(_0x4f7aa6))));if(_0x207e48['length'])throw new _0x59ceeb('line-height-invalid-use-of-named-presets',null,{'namedPresets':_0x207e48});}['_prepareAnyValueConverters'](){const _0x55f3c1=this['editor'],_0x92e8b7=this['editor']['config']['get']('lineHeight.defaultValue');_0x55f3c1['conversion']['for']('downcast')['attributeToAttribute']({'model':{'key':'lineHeight'},'view':_0x15fcaa=>String(_0x15fcaa)===String(_0x92e8b7)?null:{'key':'style','value':{'line-height':_0x15fcaa}}}),_0x55f3c1['conversion']['for']('upcast')['attributeToAttribute']({'model':{'key':'lineHeight','value':_0x338ed1=>{let _0x173a5c=_0x338ed1['getStyle']('line-height');return _0x560f52(_0x173a5c)&&(_0x173a5c=String(Number(_0x173a5c['slice'](0x0,-0x1))/0x64)),String(_0x173a5c)===String(_0x92e8b7)?null:_0x173a5c;}},'view':{'styles':{'line-height':/.*/}}});}['_preparePredefinedConverters'](){const _0x586081=this['editor'],_0x1623a5=this['editor']['config']['get']('lineHeight.defaultValue'),_0x26df0e=function(_0xea4d20,_0x4ea04c){const _0x54a9f1={'model':{'key':_0xea4d20,'values':[]},'view':{}};for(const _0x27516a of _0x4ea04c)'class'===_0x27516a['view']?.['key']?(_0x54a9f1['model']['values']['push'](_0x27516a['model']),_0x54a9f1['view'][_0x27516a['model']]={'key':'class','value':_0x27516a['view']['value']}):(_0x54a9f1['model']['values']['push'](_0x27516a['model']),_0x54a9f1['view'][_0x27516a['model']]={'key':'style','value':'line-height:'+_0x27516a['model']+';'});return _0x54a9f1;}('lineHeight',a(this['editor']['config']['get']('lineHeight'))['filter'](_0x5eaf0c=>_0x5eaf0c['model']));_0x586081['conversion']['attributeToAttribute'](_0x26df0e),_0x586081['conversion']['for']('upcast')['attributeToAttribute']({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':'lineHeight','value':_0x3c7416=>{let _0x4041d6=_0x3c7416['getStyle']('line-height');return _0x560f52(_0x4041d6)&&(_0x4041d6=String(Number(_0x4041d6['slice'](0x0,-0x1))/0x64)),_0x4041d6===String(_0x1623a5)?null:_0x26df0e['model']['values']['includes'](_0x4041d6)?_0x4041d6:null;}}});}}class r extends _0x4068ea{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x156c13={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x156c13),this['_registerMenuBarComponent'](_0x156c13),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x53d5f6=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4a7e5c;for(const _0x3262d8 in _0x53d5f6){const _0x77d77a=_0x3262d8,_0x25db12=_0x53d5f6[_0x77d77a];if('lineHeightLicenseKeyValid'==_0x25db12||'lineHeightLicenseKeyInvalid'==_0x25db12||'lineHeightLicenseKeyExpired'==_0x25db12||'lineHeightLicenseKeyDomainLimit'==_0x25db12||'lineHeightLicenseKeyNotAllowed'==_0x25db12||'lineHeightLicenseKeyEvaluationLimit'==_0x25db12||'lineHeightLicenseKeyUsageLimit'==_0x25db12){delete _0x53d5f6[_0x77d77a],_0x4a7e5c=_0x25db12,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x4a7e5c&&_0x53d5f6['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x4a7e5c&&_0x53d5f6['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x4a7e5c&&_0x53d5f6['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x4a7e5c&&_0x53d5f6['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x4a7e5c&&_0x53d5f6['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyUsageLimit'==_0x4a7e5c&&_0x53d5f6['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x2b8633=this['editor'],t=_0x2b8633['t'],_0x282369=_0x2b8633['config']['get']('lineHeight'),_0x3c177a={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return a(_0x282369)['map'](_0x54f3d2=>{const _0x3dfef0=_0x3c177a[_0x54f3d2['title']];return _0x3dfef0&&_0x3dfef0!=_0x54f3d2['title']&&(_0x54f3d2=Object['assign']({},_0x54f3d2,{'title':_0x3dfef0})),_0x54f3d2;});}['_prepareListOptions'](){const _0x3e2f6f=this['editor']['commands']['get']('lineHeight'),_0x3ab1e2=this['editor']['config']['get']('lineHeight.defaultValue'),_0x4ba4cb=this['_getLocalizedLineHeightOptions'](),_0x505132=new _0x39f67a(),_0x5aa581=_0x544adf=>'default'===_0x544adf||String(_0x3ab1e2)===_0x544adf;for(const _0x553a46 of _0x4ba4cb){const _0x4ff442={'type':'button','model':new _0x2b1261({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x553a46['title'],'withText':!0x0})};_0x5aa581(_0x553a46['model'])?(_0x4ff442['model']['bind']('isOn')['to'](_0x3e2f6f,'value',_0x1c76c1=>!_0x1c76c1),_0x4ff442['model']['commandParam']=void 0x0):(_0x4ff442['model']['bind']('isOn')['to'](_0x3e2f6f,'value',_0x263db6=>_0x263db6===_0x553a46['model']),_0x4ff442['model']['commandParam']=_0x553a46['model']),_0x505132['add'](_0x4ff442);}if(this['_shouldRenderCustomValueOption']()){const _0x1d8f03=this['_getCustomValueOptionDefinition'](_0x4ba4cb);_0x505132['add'](_0x1d8f03);}return _0x505132;}['_getCustomValueOptionDefinition'](_0x3d9c48){const _0x3e0992=this['editor'],t=_0x3e0992['t'],_0x112f24=_0x3e0992['commands']['get']('lineHeight'),_0x37f93f=_0x3d9c48['map'](_0x172c9d=>_0x172c9d['model']),_0x25ddb6={'type':'button','model':new _0x2b1261({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x25ddb6['model']['bind']('commandParam')['to'](_0x112f24,'value'),_0x25ddb6['model']['bind']('isOn')['to'](_0x112f24,'value',_0x1177e2=>!!_0x1177e2&&!_0x37f93f['includes'](String(_0x1177e2))),_0x25ddb6['model']['bind']('label')['to'](_0x112f24,'value',_0x3267c5=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x3267c5))),_0x25ddb6;}['_registerToolbarComponent']({accessibleLabel:_0xcd9324,options:_0x2578ff}){const _0x46195a=this['editor'],_0x19134c=_0x46195a['commands']['get']('lineHeight');_0x46195a['ui']['componentFactory']['add']('lineHeight',_0x174e02=>{const _0x389edb=_0x1b6196(_0x174e02);return _0x16275d(_0x389edb,_0x2578ff,{'role':'menu','ariaLabel':_0xcd9324}),_0x389edb['buttonView']['set']({'label':_0xcd9324,'tooltip':!0x0,'icon':_0x4093d8}),_0x389edb['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x389edb['bind']('isEnabled')['to'](_0x19134c),this['listenTo'](_0x389edb,'execute',_0x8f4343=>{_0x46195a['execute'](_0x8f4343['source']['commandName'],{'value':_0x8f4343['source']['commandParam']}),_0x46195a['editing']['view']['focus']();}),_0x389edb['once']('change:isOpen',()=>{const _0x257ce7=_0x389edb['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x389edb,_0x2578ff,_0x257ce7);}),_0x389edb;});}['_registerMenuBarComponent']({accessibleLabel:_0x2cad9c,options:_0x215ba3}){const _0x18fbed=this['editor'],_0xf40272=_0x18fbed['commands']['get']('lineHeight');_0x18fbed['ui']['componentFactory']['add']('menuBar:lineHeight',_0x487ff3=>{const _0x4ec7e3=new _0x55c3ab(_0x487ff3);_0x4ec7e3['buttonView']['set']({'label':_0x2cad9c,'icon':_0x4093d8}),_0x4ec7e3['bind']('isEnabled')['to'](_0xf40272);const _0x38cb98=new _0x4863b3(_0x487ff3);for(const _0x5bc18c of _0x215ba3){const _0x2db149=new _0x54234a(_0x487ff3,_0x4ec7e3),_0x3753d3=new _0xd5e191(_0x487ff3);_0x3753d3['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x3753d3['bind'](...Object['keys'](_0x5bc18c['model']))['to'](_0x5bc18c['model']),_0x3753d3['delegate']('execute')['to'](_0x4ec7e3),_0x3753d3['on']('execute',()=>{_0x18fbed['execute'](_0x5bc18c['model']['commandName'],{'value':_0x5bc18c['model']['commandParam']}),_0x18fbed['editing']['view']['focus']();}),_0x2db149['children']['add'](_0x3753d3),_0x38cb98['items']['add'](_0x2db149);}return _0x4ec7e3['panelView']['children']['add'](_0x38cb98),this['_attachCustomOptionVisibilityHandler'](_0x4ec7e3,_0x215ba3,_0x38cb98),_0x4ec7e3;});}['_attachCustomOptionVisibilityHandler'](_0x1032dd,_0xf990bd,_0x67e757){if(!this['_shouldRenderCustomValueOption']())return;const _0x3ebdd6=()=>{if(!_0x1032dd['isOpen'])return;_0x67e757['items']['last']['isVisible']=Boolean(_0xf990bd['last']['model']['isOn']);};_0x3ebdd6(),_0x1032dd['on']('change:isOpen',()=>{_0x3ebdd6();});}}class _ extends _0x4068ea{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 _0x5b7921,Plugin as _0x3ae64e}from'@ckeditor/ckeditor5-core/dist/index.js';import{first as _0x2e1d05,CKEditorError as _0x4ce8db,uid as _0x124dc6,Collection as _0x41abef}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Matcher as _0x4c7ef9,isPercentageStyleValue as _0x1723bd}from'@ckeditor/ckeditor5-engine/dist/index.js';import{UIModel as _0x392a20,createDropdown as _0x128358,addListToDropdown as _0x48014b,MenuBarMenuView as _0x57f69f,MenuBarMenuListView as _0xee0482,MenuBarMenuListItemView as _0x33dfd7,MenuBarMenuListItemButtonView as _0x5e1bf7}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconLineHeight as _0x4f0db5}from'@ckeditor/ckeditor5-icons/dist/index.js';class n extends _0x5b7921{['refresh'](){const _0x19f443=this['editor']['model']['document'],_0x5a339b=_0x2e1d05(_0x19f443['selection']['getSelectedBlocks']());this['isEnabled']=Boolean(_0x5a339b)&&this['_canHaveLineHeight'](_0x5a339b),this['value']=this['isEnabled']&&_0x5a339b['getAttribute']('lineHeight');}['execute'](_0x484fb7={}){const _0x1ce360=this['editor']['model'],_0x15d32a=_0x1ce360['document']['selection'],_0x1970e8=_0x484fb7['value'];_0x1ce360['change'](_0x34936f=>{const _0x4d979f=Array['from'](_0x15d32a['getSelectedBlocks']())['filter'](_0x4712e9=>this['_canHaveLineHeight'](_0x4712e9));for(const _0x233c85 of _0x4d979f)_0x1970e8?_0x34936f['setAttribute']('lineHeight',_0x1970e8,_0x233c85):_0x34936f['removeAttribute']('lineHeight',_0x233c85);});}['_canHaveLineHeight'](_0x5da805){return this['editor']['model']['schema']['checkAttribute'](_0x5da805,'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(_0x12baf1){return'string'==typeof _0x12baf1&&'default'===_0x12baf1['toLowerCase']();}function a(_0x55c5a0){return _0x55c5a0['options']['map'](_0xa5c00a=>{return f(_0xa5c00a)?{'title':String(_0x55c5a0['defaultValue']),'model':'default'}:('number'==typeof _0xa5c00a&&(_0xa5c00a=String(_0xa5c00a)),'string'!=typeof _0xa5c00a?_0xa5c00a:parseFloat(_0xa5c00a)?{'title':_0xa5c00a,'model':_0xa5c00a,'view':{'name':'span','styles':{'line-height':_0xa5c00a}}}:'string'==typeof(_0x12799b=_0xa5c00a)?v[_0x12799b]:v[_0x12799b['model']]);var _0x12799b;})['filter'](_0x1dd7c2=>void 0x0!==_0x1dd7c2);}class g extends _0x3ae64e{static get['pluginName'](){return'LineHeightTodoListIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {plugins:_0x4aad71,conversion:_0x5e1858}=this['editor'];if(!_0x4aad71['has']('ListEditing')||!_0x4aad71['has']('TodoListEditing'))return;_0x4aad71['get']('ListEditing')['registerDowncastStrategy']({'scope':'item','attributeName':'lineHeight','consume':!0x1,'setAttributeOnDowncast'(_0x2adb37,_0x33a7fd,_0x121ec3,_0x572292,_0x3acc05){'todo'==_0x3acc05['getAttribute']('listType')&&_0x33a7fd&&(_0x2adb37['addClass']('ck-list-marker-line-height',_0x121ec3),_0x2adb37['setStyle']('--ck-content-list-marker-line-height',_0x33a7fd,_0x121ec3));}}),_0x5e1858['for']('upcast')['elementToElement']({'view':{'name':'span','classes':'todo-list__label__description'},'model':'paragraph','converterPriority':'high'}),_0x5e1858['for']('upcast')['add'](_0x1a4883=>{_0x1a4883['on']('element:li',function(_0x2181d6){const _0x5a474a=new _0x4c7ef9(_0x2181d6);return(_0x1823e4,_0x2a92bc,_0x2b719d)=>{const _0x362184=_0x5a474a['match'](_0x2a92bc['viewItem']);if(!_0x362184)return;const _0x44c4a5=_0x362184['match'];_0x44c4a5['name']=!0x1,_0x2b719d['consumable']['consume'](_0x2a92bc['viewItem'],_0x44c4a5);};}({'name':'li','classes':'ck-list-marker-line-height','styles':{'--ck-content-list-marker-line-height':/.*/}}));});}}class e extends _0x3ae64e{static get['pluginName'](){return'LineHeightEditing';}static get['requires'](){return[g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x21c016){super(_0x21c016),_0x21c016['config']['define']('lineHeight',{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,'default',0x2,2.5,0x3]});}['init'](){const _0x5b27b4=this['editor'];this['_validateConfig'](),_0x5b27b4['model']['schema']['extend']('$block',{'allowAttributes':'lineHeight'}),_0x5b27b4['model']['schema']['setAttributeProperties']('lineHeight',{'isFormatting':!0x0}),_0x5b27b4['commands']['add']('lineHeight',new n(_0x5b27b4)),this['editor']['config']['get']('lineHeight.supportAllValues')?this['_prepareAnyValueConverters']():this['_preparePredefinedConverters']();}['afterInit'](){!async function(_0x335f35){const _0x35bef8=_0x287093([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]),_0x523881=0x45ddd215,_0x290cd0=0x45da532d^_0x523881,_0x126d87=window[_0x287093([0x44,0x61,0x74,0x65])][_0x287093([0x6e,0x6f,0x77])](),_0x36453b=_0x335f35[_0x287093([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x25603c=new window[(_0x287093([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x8d328b=>{_0x36453b[_0x287093([0x6f,0x6e,0x63,0x65])](_0x287093([0x72,0x65,0x61,0x64,0x79]),_0x8d328b);}),_0x53918b={[_0x287093([0x6b,0x74,0x79])]:_0x287093([0x45,0x43]),[_0x287093([0x75,0x73,0x65])]:_0x287093([0x73,0x69,0x67]),[_0x287093([0x63,0x72,0x76])]:_0x287093([0x50,0x2d,0x32,0x35,0x36]),[_0x287093([0x78])]:_0x287093([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]),[_0x287093([0x79])]:_0x287093([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]),[_0x287093([0x61,0x6c,0x67])]:_0x287093([0x45,0x53,0x32,0x35,0x36])},_0x27061b=_0x36453b[_0x287093([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x287093([0x67,0x65,0x74])](_0x287093([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x29adac(){let _0x3ab783,_0x5535e8=null,_0x4f0902=null;try{if(_0x27061b==_0x287093([0x47,0x50,0x4c]))return _0x287093([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3ab783=_0xa4a526(),!_0x3ab783)return _0x287093([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3ab783[_0x287093([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4f0902=_0x2291e2(_0x3ab783[_0x287093([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3ab783[_0x287093([0x6a,0x74,0x69])])),await _0x43930c()?_0x3d27c3()?_0x7fb2f3()?_0x287093([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x91d131()?(_0x3ab783[_0x287093([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x287093([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5535e8=_0x27b05f(_0x287093([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3877e3()):_0x287093([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x287093([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x287093([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x287093([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x7fb2f3(){const _0x489288=[_0x287093([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x287093([0x74,0x72,0x69,0x61,0x6c])][_0x287093([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3ab783[_0x287093([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x126d87/0x3e8:0xe10*_0x290cd0;return _0x3ab783[_0x287093([0x65,0x78,0x70])]<_0x489288;}function _0x3d27c3(){const _0x10feb4=_0x3ab783[_0x287093([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x10feb4&&(!!_0x10feb4[_0x287093([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x287093([0x2a]))||!!_0x10feb4[_0x287093([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x287093([0x4c,0x48])));}function _0x91d131(){const _0x42e6d1=_0x3ab783[_0x287093([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x42e6d1||0x0==_0x42e6d1[_0x287093([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x457b7b}=new URL(window[_0x287093([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x42e6d1[_0x287093([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x457b7b))return!0x0;const _0x33f2fa=_0x457b7b[_0x287093([0x73,0x70,0x6c,0x69,0x74])](_0x287093([0x2e]));return _0x42e6d1[_0x287093([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1e9d63=>_0x1e9d63[_0x287093([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x287093([0x2a])))[_0x287093([0x6d,0x61,0x70])](_0x26b766=>_0x26b766[_0x287093([0x73,0x70,0x6c,0x69,0x74])](_0x287093([0x2e])))[_0x287093([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3b5e7a=>_0x3b5e7a[_0x287093([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x33f2fa[_0x287093([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x287093([0x6d,0x61,0x70])](_0x26bc2c=>Array(_0x33f2fa[_0x287093([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x26bc2c[_0x287093([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x287093([0x66,0x69,0x6c,0x6c])](_0x26bc2c[0x0]===_0x287093([0x2a])?_0x287093([0x2a]):'')[_0x287093([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x26bc2c))[_0x287093([0x73,0x6f,0x6d,0x65])](_0x3f5610=>_0x33f2fa[_0x287093([0x65,0x76,0x65,0x72,0x79])]((_0x19e9a9,_0x5de0b9)=>_0x3f5610[_0x5de0b9]===_0x19e9a9||_0x3f5610[_0x5de0b9]===_0x287093([0x2a])));}function _0x3877e3(){return _0x5535e8&&_0x4f0902?new window[(_0x287093([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x54f0b4,_0x1e438f)=>{_0x5535e8[_0x287093([0x74,0x68,0x65,0x6e])](_0x54f0b4,_0x1e438f),_0x4f0902[_0x287093([0x74,0x68,0x65,0x6e])](_0x57c6ce=>{_0x57c6ce!=_0x287093([0x56,0x61,0x6c,0x69,0x64])&&_0x54f0b4(_0x57c6ce);},_0x1e438f);}):_0x5535e8||_0x4f0902||_0x287093([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2291e2(_0x4f94fe,_0x15429d){return new window[(_0x287093([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3865c6=>{if(_0x24ff4a())return _0x3865c6(_0x287093([0x56,0x61,0x6c,0x69,0x64]));_0x31a5ec(),_0x36453b[_0x287093([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x287093([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xfa405b=!0x1;const _0x505fc8=_0x124dc6();function _0x592ca9(_0x222180){return!!_0x222180&&(typeof _0x222180===_0x287093([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x222180===_0x287093([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x222180[_0x287093([0x74,0x68,0x65,0x6e])]===_0x287093([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x222180[_0x287093([0x63,0x61,0x74,0x63,0x68])]===_0x287093([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5cf311(_0x3745c9){_0x25de78(_0x3745c9)[_0x287093([0x74,0x68,0x65,0x6e])](_0x479e5b=>{if(!_0x479e5b||_0x479e5b[_0x287093([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x287093([0x6f,0x6b]))return _0x287093([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1a6b35(_0x41171e(_0x505fc8+_0x15429d))!=_0x479e5b[_0x287093([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x287093([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x287093([0x56,0x61,0x6c,0x69,0x64]);})[_0x287093([0x74,0x68,0x65,0x6e])](_0x123628=>(_0x5ee159(),_0x123628),()=>{const _0xc51bbf=_0x416c52();return null==_0xc51bbf?(_0x5ee159(),_0x287093([0x56,0x61,0x6c,0x69,0x64])):_0x287093(_0x126d87-_0xc51bbf>(0x61d15615^_0x523881)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x287093([0x74,0x68,0x65,0x6e])](_0x3865c6)[_0x287093([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3865c6(_0x287093([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x24b55a=0x45eb3c95^_0x523881;function _0x5ee159(){const _0x5f1aa3=_0x287093([0x6c,0x6c,0x63,0x74,0x2d])+_0x1a6b35(_0x41171e(_0x4f94fe)),_0x570ebf=_0x2f91b1(_0x1a6b35(window[_0x287093([0x4d,0x61,0x74,0x68])][_0x287093([0x63,0x65,0x69,0x6c])](_0x126d87/_0x24b55a)));window[_0x287093([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x287093([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5f1aa3,_0x570ebf);}function _0x416c52(){const _0x4057f1=_0x287093([0x6c,0x6c,0x63,0x74,0x2d])+_0x1a6b35(_0x41171e(_0x4f94fe)),_0x45d599=window[_0x287093([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x287093([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4057f1);return _0x45d599?window[_0x287093([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2f91b1(_0x45d599),0x10)*_0x24b55a:null;}function _0x25de78(_0x246330){return new window[(_0x287093([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xc3b2c5,_0x3f1b7f)=>{_0x246330[_0x287093([0x74,0x68,0x65,0x6e])](_0xc3b2c5,_0x3f1b7f),window[_0x287093([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3f1b7f,0x45dc06d5^_0x523881);});}}_0x36453b[_0x287093([0x6f,0x6e])](_0x287093([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1cf5bd,_0x2f2a39)=>{if(_0x2f2a39[0x0]!=_0x4f94fe)return _0x3865c6(_0x287093([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2f2a39[0x1]={..._0x2f2a39[0x1],[_0x287093([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x505fc8};},{[_0x287093([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x287093([0x68,0x69,0x67,0x68])}),_0x36453b[_0x287093([0x6f,0x6e])](_0x287093([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x32330b=>{_0x592ca9(_0x32330b[_0x287093([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xfa405b=!0x0,_0x5cf311(_0x32330b[_0x287093([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x287093([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x287093([0x6c,0x6f,0x77])}),_0x25603c[_0x287093([0x74,0x68,0x65,0x6e])](()=>{_0xfa405b||_0x3865c6(_0x287093([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x24ff4a(){return _0x36453b[_0x287093([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x287093([0x76,0x69,0x65,0x77])][_0x287093([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x287093([0x61,0x75,0x74,0x6f]);}function _0x31a5ec(){_0x36453b[_0x287093([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x287093([0x76,0x69,0x65,0x77])][_0x287093([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x287093([0x61,0x75,0x74,0x6f]);}}function _0x27b05f(_0x363955){const _0x5467db=[new window[(_0x287093([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x469fda=>setTimeout(_0x469fda,0x45d4ecd9^_0x523881)),_0x25603c[_0x287093([0x74,0x68,0x65,0x6e])](()=>new window[(_0x287093([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2f6a67=>{let _0x55e133=0x0;_0x36453b[_0x287093([0x6d,0x6f,0x64,0x65,0x6c])][_0x287093([0x6f,0x6e])](_0x287093([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3af2fa,_0x274c0a)=>{_0x274c0a[0x0][_0x287093([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x55e133++,_0x55e133==(0x45ddd7fd^_0x523881)&&(_0x2f6a67(),_0x3af2fa[_0x287093([0x6f,0x66,0x66])]());});}))];return window[_0x287093([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x287093([0x72,0x61,0x63,0x65])](_0x5467db)[_0x287093([0x74,0x68,0x65,0x6e])](()=>_0x363955);}async function _0x54b4fb(){await _0x25603c,_0x36453b[_0x287093([0x6d,0x6f,0x64,0x65,0x6c])][_0x287093([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x9eb609,_0x36453b[_0x287093([0x6d,0x6f,0x64,0x65,0x6c])][_0x287093([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x9eb609,_0x36453b[_0x287093([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x287093([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xcbbaa9(_0x108cfe){const _0x56c8e9=_0x353e4c();_0x36453b[_0x56c8e9]=_0x287093([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x108cfe,_0x108cfe!=_0x287093([0x56,0x61,0x6c,0x69,0x64])&&_0x54b4fb();}function _0x353e4c(){const _0x59227a=window[_0x287093([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x287093([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x287093([0x6e,0x6f,0x77])]())[_0x287093([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x287093([0x2e]),'');let _0x4d853e=_0x287093([0x50]);for(let _0x1ca932=0x0;_0x1ca932<_0x59227a[_0x287093([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1ca932+=0x2){let _0x471c2d=window[_0x287093([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x59227a[_0x287093([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1ca932,_0x1ca932+0x2));_0x471c2d>=_0x35bef8[_0x287093([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x471c2d-=_0x35bef8[_0x287093([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4d853e+=_0x35bef8[_0x471c2d];}return _0x4d853e;}function _0xa4a526(){const _0x25cc00=_0x27061b[_0x287093([0x73,0x70,0x6c,0x69,0x74])](_0x287093([0x2e]));if(0x3!=_0x25cc00[_0x287093([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x595688(_0x25cc00[0x1]);function _0x595688(_0x114e57){const _0x4be865=_0x5c5459(_0x114e57);return _0x4be865&&_0x5cbfa3()?_0x4be865:null;function _0x5cbfa3(){const _0x168bd8=_0x4be865[_0x287093([0x6a,0x74,0x69])],_0x4e60ce=window[_0x287093([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x168bd8[_0x287093([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x168bd8[_0x287093([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x387049={..._0x4be865,[_0x287093([0x6a,0x74,0x69])]:_0x168bd8[_0x287093([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x168bd8[_0x287093([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x387049[_0x287093([0x76,0x63])],_0x41171e(_0x387049)==_0x4e60ce;}}}async function _0x43930c(){let _0x40bc99=!0x0;try{const _0x2bf43f=_0x27061b[_0x287093([0x73,0x70,0x6c,0x69,0x74])](_0x287093([0x2e])),[_0x56260d,_0x562344,_0xe08e8e]=_0x2bf43f;return _0x1e8cb3(_0x56260d),await _0x36f09c(_0x56260d,_0x562344,_0xe08e8e),_0x40bc99;}catch{return!0x1;}function _0x1e8cb3(_0x213dfc){const _0x136413=_0x5c5459(_0x213dfc);_0x136413&&_0x136413[_0x287093([0x61,0x6c,0x67])]==_0x287093([0x45,0x53,0x32,0x35,0x36])||(_0x40bc99=!0x1);}async function _0x36f09c(_0x20c10c,_0x2b7066,_0x494d4d){const _0x145319=window[_0x287093([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x287093([0x66,0x72,0x6f,0x6d])](_0x3fdaf9(_0x494d4d),_0x52f60f=>_0x52f60f[_0x287093([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x41e30b=new window[(_0x287093([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x287093([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x20c10c+_0x287093([0x2e])+_0x2b7066),_0x34b67d=window[_0x287093([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x287093([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x34b67d)return;const _0x4d7e03=await _0x34b67d[_0x287093([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x287093([0x6a,0x77,0x6b]),_0x53918b,{[_0x287093([0x6e,0x61,0x6d,0x65])]:_0x287093([0x45,0x43,0x44,0x53,0x41]),[_0x287093([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x287093([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x287093([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x34b67d[_0x287093([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x287093([0x6e,0x61,0x6d,0x65])]:_0x287093([0x45,0x43,0x44,0x53,0x41]),[_0x287093([0x68,0x61,0x73,0x68])]:{[_0x287093([0x6e,0x61,0x6d,0x65])]:_0x287093([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4d7e03,_0x145319,_0x41e30b)||(_0x40bc99=!0x1);}}function _0x5c5459(_0x3cebd6){return _0x3cebd6[_0x287093([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x287093([0x65,0x79]))?JSON[_0x287093([0x70,0x61,0x72,0x73,0x65])](_0x3fdaf9(_0x3cebd6)):null;}function _0x3fdaf9(_0x3adb17){return window[_0x287093([0x61,0x74,0x6f,0x62])](_0x3adb17[_0x287093([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x287093([0x2b]))[_0x287093([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x287093([0x2f])));}function _0x41171e(_0x304fa4){let _0x210573=0x1505;function _0x2bccab(_0x5caa7a){for(let _0x5615f2=0x0;_0x5615f2<_0x5caa7a[_0x287093([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5615f2++){const _0x90d6e0=_0x5caa7a[_0x287093([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5615f2);_0x210573=(_0x210573<<0x5)+_0x210573+_0x90d6e0,_0x210573&=_0x210573;}}function _0x5c5588(_0x1cc45e){Array[_0x287093([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1cc45e)?_0x1cc45e[_0x287093([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5c5588):_0x1cc45e&&typeof _0x1cc45e==_0x287093([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x287093([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1cc45e)[_0x287093([0x73,0x6f,0x72,0x74])]()[_0x287093([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xf48450,_0x1cb825])=>{_0x2bccab(_0xf48450),_0x5c5588(_0x1cb825);}):_0x2bccab(window[_0x287093([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1cc45e));}return _0x5c5588(_0x304fa4),_0x210573>>>0x0;}function _0x1a6b35(_0x240c2d){return _0x240c2d[_0x287093([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x287093([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x287093([0x30]));}function _0x2f91b1(_0x504718){return _0x504718[_0x287093([0x73,0x70,0x6c,0x69,0x74])]('')[_0x287093([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x287093([0x6a,0x6f,0x69,0x6e])]('');}function _0x9eb609(){}function _0x287093(_0x542656){return _0x542656['map'](_0x8012c3=>String['fromCharCode'](_0x8012c3))['join']('');}_0xcbbaa9(await _0x29adac());}(this);}['_validateConfig'](){const _0x2c61e4=this['editor'];if(!_0x2c61e4['config']['get']('lineHeight.supportAllValues'))return;const _0x1ff303=_0x2c61e4['config']['get']('lineHeight.options')['filter'](_0x5716f9=>'string'==typeof _0x5716f9&&(!f(_0x5716f9)&&isNaN(Number(_0x5716f9))));if(_0x1ff303['length'])throw new _0x4ce8db('line-height-invalid-use-of-named-presets',null,{'namedPresets':_0x1ff303});}['_prepareAnyValueConverters'](){const _0x42c753=this['editor'],_0x218c08=this['editor']['config']['get']('lineHeight.defaultValue');_0x42c753['conversion']['for']('downcast')['attributeToAttribute']({'model':{'key':'lineHeight'},'view':_0xd7977b=>String(_0xd7977b)===String(_0x218c08)?null:{'key':'style','value':{'line-height':_0xd7977b}}}),_0x42c753['conversion']['for']('upcast')['attributeToAttribute']({'model':{'key':'lineHeight','value':_0x3fbcde=>{let _0x18b0da=_0x3fbcde['getStyle']('line-height');return _0x1723bd(_0x18b0da)&&(_0x18b0da=String(Number(_0x18b0da['slice'](0x0,-0x1))/0x64)),String(_0x18b0da)===String(_0x218c08)?null:_0x18b0da;}},'view':{'styles':{'line-height':/.*/}}});}['_preparePredefinedConverters'](){const _0x3b6315=this['editor'],_0x6ca23d=this['editor']['config']['get']('lineHeight.defaultValue'),_0x22440c=function(_0x55a420,_0x1f729b){const _0x48b79f={'model':{'key':_0x55a420,'values':[]},'view':{}};for(const _0xdd7cf8 of _0x1f729b)'class'===_0xdd7cf8['view']?.['key']?(_0x48b79f['model']['values']['push'](_0xdd7cf8['model']),_0x48b79f['view'][_0xdd7cf8['model']]={'key':'class','value':_0xdd7cf8['view']['value']}):(_0x48b79f['model']['values']['push'](_0xdd7cf8['model']),_0x48b79f['view'][_0xdd7cf8['model']]={'key':'style','value':'line-height:'+_0xdd7cf8['model']+';'});return _0x48b79f;}('lineHeight',a(this['editor']['config']['get']('lineHeight'))['filter'](_0x53263f=>_0x53263f['model']));_0x3b6315['conversion']['attributeToAttribute'](_0x22440c),_0x3b6315['conversion']['for']('upcast')['attributeToAttribute']({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':'lineHeight','value':_0x55e175=>{let _0x5b1263=_0x55e175['getStyle']('line-height');return _0x1723bd(_0x5b1263)&&(_0x5b1263=String(Number(_0x5b1263['slice'](0x0,-0x1))/0x64)),_0x5b1263===String(_0x6ca23d)?null:_0x22440c['model']['values']['includes'](_0x5b1263)?_0x5b1263:null;}}});}}class r extends _0x3ae64e{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x37d636={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x37d636),this['_registerMenuBarComponent'](_0x37d636),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x4773f4=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2e5cd3;for(const _0x2f8367 in _0x4773f4){const _0xf267c2=_0x2f8367,_0x1d4458=_0x4773f4[_0xf267c2];if('lineHeightLicenseKeyValid'==_0x1d4458||'lineHeightLicenseKeyInvalid'==_0x1d4458||'lineHeightLicenseKeyExpired'==_0x1d4458||'lineHeightLicenseKeyDomainLimit'==_0x1d4458||'lineHeightLicenseKeyNotAllowed'==_0x1d4458||'lineHeightLicenseKeyEvaluationLimit'==_0x1d4458||'lineHeightLicenseKeyUsageLimit'==_0x1d4458){delete _0x4773f4[_0xf267c2],_0x2e5cd3=_0x1d4458,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x2e5cd3&&_0x4773f4['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x2e5cd3&&_0x4773f4['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x2e5cd3&&_0x4773f4['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x2e5cd3&&_0x4773f4['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x2e5cd3&&_0x4773f4['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyUsageLimit'==_0x2e5cd3&&_0x4773f4['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x3af05b=this['editor'],t=_0x3af05b['t'],_0x56649c=_0x3af05b['config']['get']('lineHeight'),_0x4e3cb3={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return a(_0x56649c)['map'](_0x345beb=>{const _0x32436f=_0x4e3cb3[_0x345beb['title']];return _0x32436f&&_0x32436f!=_0x345beb['title']&&(_0x345beb=Object['assign']({},_0x345beb,{'title':_0x32436f})),_0x345beb;});}['_prepareListOptions'](){const _0x3a1b21=this['editor']['commands']['get']('lineHeight'),_0x4cc710=this['editor']['config']['get']('lineHeight.defaultValue'),_0x501766=this['_getLocalizedLineHeightOptions'](),_0x1cc8d4=new _0x41abef(),_0x1486b4=_0x5301c9=>'default'===_0x5301c9||String(_0x4cc710)===_0x5301c9;for(const _0x186dc7 of _0x501766){const _0xe4ae54={'type':'button','model':new _0x392a20({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x186dc7['title'],'withText':!0x0})};_0x1486b4(_0x186dc7['model'])?(_0xe4ae54['model']['bind']('isOn')['to'](_0x3a1b21,'value',_0x22e5bf=>!_0x22e5bf),_0xe4ae54['model']['commandParam']=void 0x0):(_0xe4ae54['model']['bind']('isOn')['to'](_0x3a1b21,'value',_0x2264ab=>_0x2264ab===_0x186dc7['model']),_0xe4ae54['model']['commandParam']=_0x186dc7['model']),_0x1cc8d4['add'](_0xe4ae54);}if(this['_shouldRenderCustomValueOption']()){const _0x42f283=this['_getCustomValueOptionDefinition'](_0x501766);_0x1cc8d4['add'](_0x42f283);}return _0x1cc8d4;}['_getCustomValueOptionDefinition'](_0x1be81e){const _0x41eff1=this['editor'],t=_0x41eff1['t'],_0x3491cc=_0x41eff1['commands']['get']('lineHeight'),_0x14dc58=_0x1be81e['map'](_0x4c54ce=>_0x4c54ce['model']),_0x309d2a={'type':'button','model':new _0x392a20({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x309d2a['model']['bind']('commandParam')['to'](_0x3491cc,'value'),_0x309d2a['model']['bind']('isOn')['to'](_0x3491cc,'value',_0x1d6364=>!!_0x1d6364&&!_0x14dc58['includes'](String(_0x1d6364))),_0x309d2a['model']['bind']('label')['to'](_0x3491cc,'value',_0x15da67=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x15da67))),_0x309d2a;}['_registerToolbarComponent']({accessibleLabel:_0x2cf511,options:_0x4d7a9d}){const _0xa28a10=this['editor'],_0x13c63b=_0xa28a10['commands']['get']('lineHeight');_0xa28a10['ui']['componentFactory']['add']('lineHeight',_0x122f1a=>{const _0x457418=_0x128358(_0x122f1a);return _0x48014b(_0x457418,_0x4d7a9d,{'role':'menu','ariaLabel':_0x2cf511}),_0x457418['buttonView']['set']({'label':_0x2cf511,'tooltip':!0x0,'icon':_0x4f0db5}),_0x457418['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x457418['bind']('isEnabled')['to'](_0x13c63b),this['listenTo'](_0x457418,'execute',_0x2aa6ed=>{_0xa28a10['execute'](_0x2aa6ed['source']['commandName'],{'value':_0x2aa6ed['source']['commandParam']}),_0xa28a10['editing']['view']['focus']();}),_0x457418['once']('change:isOpen',()=>{const _0xd0be0c=_0x457418['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x457418,_0x4d7a9d,_0xd0be0c);}),_0x457418;});}['_registerMenuBarComponent']({accessibleLabel:_0x1dd454,options:_0x4b9dec}){const _0x42b38c=this['editor'],_0x31383c=_0x42b38c['commands']['get']('lineHeight');_0x42b38c['ui']['componentFactory']['add']('menuBar:lineHeight',_0x4b48f4=>{const _0x2b4ea3=new _0x57f69f(_0x4b48f4);_0x2b4ea3['buttonView']['set']({'label':_0x1dd454,'icon':_0x4f0db5}),_0x2b4ea3['bind']('isEnabled')['to'](_0x31383c);const _0x563a6a=new _0xee0482(_0x4b48f4);for(const _0x1e01ab of _0x4b9dec){const _0x177aee=new _0x33dfd7(_0x4b48f4,_0x2b4ea3),_0x23cfbd=new _0x5e1bf7(_0x4b48f4);_0x23cfbd['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x23cfbd['bind'](...Object['keys'](_0x1e01ab['model']))['to'](_0x1e01ab['model']),_0x23cfbd['delegate']('execute')['to'](_0x2b4ea3),_0x23cfbd['on']('execute',()=>{_0x42b38c['execute'](_0x1e01ab['model']['commandName'],{'value':_0x1e01ab['model']['commandParam']}),_0x42b38c['editing']['view']['focus']();}),_0x177aee['children']['add'](_0x23cfbd),_0x563a6a['items']['add'](_0x177aee);}return _0x2b4ea3['panelView']['children']['add'](_0x563a6a),this['_attachCustomOptionVisibilityHandler'](_0x2b4ea3,_0x4b9dec,_0x563a6a),_0x2b4ea3;});}['_attachCustomOptionVisibilityHandler'](_0x46db60,_0x4c30cb,_0x2a90f0){if(!this['_shouldRenderCustomValueOption']())return;const _0x174db9=()=>{if(!_0x46db60['isOpen'])return;_0x2a90f0['items']['last']['isVisible']=Boolean(_0x4c30cb['last']['model']['isOn']);};_0x174db9(),_0x46db60['on']('change:isOpen',()=>{_0x174db9();});}}class _ extends _0x3ae64e{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": "47.5.0-alpha.
|
|
3
|
+
"version": "47.5.0-alpha.5",
|
|
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": "47.5.0-alpha.
|
|
17
|
-
"@ckeditor/ckeditor5-engine": "47.5.0-alpha.
|
|
18
|
-
"@ckeditor/ckeditor5-icons": "47.5.0-alpha.
|
|
19
|
-
"@ckeditor/ckeditor5-ui": "47.5.0-alpha.
|
|
20
|
-
"@ckeditor/ckeditor5-utils": "47.5.0-alpha.
|
|
21
|
-
"@ckeditor/ckeditor5-list": "47.5.0-alpha.
|
|
22
|
-
"ckeditor5": "47.5.0-alpha.
|
|
16
|
+
"@ckeditor/ckeditor5-core": "47.5.0-alpha.5",
|
|
17
|
+
"@ckeditor/ckeditor5-engine": "47.5.0-alpha.5",
|
|
18
|
+
"@ckeditor/ckeditor5-icons": "47.5.0-alpha.5",
|
|
19
|
+
"@ckeditor/ckeditor5-ui": "47.5.0-alpha.5",
|
|
20
|
+
"@ckeditor/ckeditor5-utils": "47.5.0-alpha.5",
|
|
21
|
+
"@ckeditor/ckeditor5-list": "47.5.0-alpha.5",
|
|
22
|
+
"ckeditor5": "47.5.0-alpha.5"
|
|
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 _0x367a95=_0x2095;(function(_0x5ebad6,_0x29e583){const _0x3cc305=_0x2095,_0x3ddb66=_0x5ebad6();while(!![]){try{const _0x8c6e54=parseInt(_0x3cc305(0x151))/0x1+-parseInt(_0x3cc305(0x155))/0x2*(-parseInt(_0x3cc305(0x162))/0x3)+parseInt(_0x3cc305(0x17b))/0x4+-parseInt(_0x3cc305(0x17e))/0x5*(parseInt(_0x3cc305(0x174))/0x6)+-parseInt(_0x3cc305(0x14d))/0x7+-parseInt(_0x3cc305(0x14a))/0x8*(-parseInt(_0x3cc305(0x17f))/0x9)+parseInt(_0x3cc305(0x16b))/0xa*(-parseInt(_0x3cc305(0x16d))/0xb);if(_0x8c6e54===_0x29e583)break;else _0x3ddb66['push'](_0x3ddb66['shift']());}catch(_0x5110c7){_0x3ddb66['push'](_0x3ddb66['shift']());}}}(_0x4a20,0x5b563));import{Plugin as _0x1cd628}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x5b4588}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x4733d1}from'ckeditor5/src/engine.js';import{uid as _0x17a50b,CKEditorError as _0x244ceb}from'ckeditor5/src/utils.js';import{buildDefinition as _0x47b1b7,isLineHeightDefaultValue as _0x42e2d9,normalizeOptions as _0x18f008}from'./utils.js';import{LineHeightTodoListIntegration as _0x2d5eee}from'./integrations/todolist.js';export class LineHeightEditing extends _0x1cd628{static get[_0x367a95(0x16f)](){const _0x37f891=_0x367a95;return _0x37f891(0x156);}static get[_0x367a95(0x154)](){return[_0x2d5eee];}static get[_0x367a95(0x180)](){return!0x0;}static get[_0x367a95(0x17d)](){return!0x0;}constructor(_0x20f5a6){const _0x38e0a3=_0x367a95;super(_0x20f5a6),_0x20f5a6[_0x38e0a3(0x179)][_0x38e0a3(0x16e)](_0x38e0a3(0x169),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x38e0a3(0x14f),0x2,2.5,0x3]});}[_0x367a95(0x16c)](){const _0x4b90dd=_0x367a95,_0x2d296b=this[_0x4b90dd(0x177)];this[_0x4b90dd(0x17c)](),_0x2d296b[_0x4b90dd(0x15a)][_0x4b90dd(0x15d)][_0x4b90dd(0x168)](_0x4b90dd(0x15f),{'allowAttributes':_0x4b90dd(0x169)}),_0x2d296b[_0x4b90dd(0x15a)][_0x4b90dd(0x15d)][_0x4b90dd(0x170)](_0x4b90dd(0x169),{'isFormatting':!0x0}),_0x2d296b[_0x4b90dd(0x159)][_0x4b90dd(0x149)](_0x4b90dd(0x169),new _0x5b4588(_0x2d296b)),this[_0x4b90dd(0x177)][_0x4b90dd(0x179)][_0x4b90dd(0x15c)](_0x4b90dd(0x153))?this[_0x4b90dd(0x14e)]():this[_0x4b90dd(0x172)]();}[_0x367a95(0x152)](){!async function(_0x2c06d5){const _0x569d59=_0x31ea57([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]),_0x36bf21=0x45ddd215,_0x195c47=0x45da5335^_0x36bf21,_0x5ac80a=window[_0x31ea57([0x44,0x61,0x74,0x65])][_0x31ea57([0x6e,0x6f,0x77])](),_0x3fef97=_0x2c06d5[_0x31ea57([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x160b47=new window[(_0x31ea57([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x587e11=>{_0x3fef97[_0x31ea57([0x6f,0x6e,0x63,0x65])](_0x31ea57([0x72,0x65,0x61,0x64,0x79]),_0x587e11);}),_0x275228={[_0x31ea57([0x6b,0x74,0x79])]:_0x31ea57([0x45,0x43]),[_0x31ea57([0x75,0x73,0x65])]:_0x31ea57([0x73,0x69,0x67]),[_0x31ea57([0x63,0x72,0x76])]:_0x31ea57([0x50,0x2d,0x32,0x35,0x36]),[_0x31ea57([0x78])]:_0x31ea57([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]),[_0x31ea57([0x79])]:_0x31ea57([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]),[_0x31ea57([0x61,0x6c,0x67])]:_0x31ea57([0x45,0x53,0x32,0x35,0x36])},_0x5bf8a8=_0x3fef97[_0x31ea57([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x31ea57([0x67,0x65,0x74])](_0x31ea57([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x502562(){let _0x1254b8,_0x2bffad=null,_0x2edcd3=null;try{if(_0x5bf8a8==_0x31ea57([0x47,0x50,0x4c]))return _0x31ea57([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1254b8=_0x169f4b(),!_0x1254b8)return _0x31ea57([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1254b8[_0x31ea57([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2edcd3=_0x5b415f(_0x1254b8[_0x31ea57([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1254b8[_0x31ea57([0x6a,0x74,0x69])])),await _0x551ba6()?_0x24060b()?_0xd45a2d()?_0x31ea57([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xdbcd86()?(_0x1254b8[_0x31ea57([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x31ea57([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2bffad=_0x47d902(_0x31ea57([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4dab48()):_0x31ea57([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x31ea57([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x31ea57([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x31ea57([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xd45a2d(){const _0x25f686=[_0x31ea57([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x31ea57([0x74,0x72,0x69,0x61,0x6c])][_0x31ea57([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1254b8[_0x31ea57([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5ac80a/0x3e8:0xe10*_0x195c47;return _0x1254b8[_0x31ea57([0x65,0x78,0x70])]<_0x25f686;}function _0x24060b(){const _0x1f498b=_0x1254b8[_0x31ea57([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1f498b&&(!!_0x1f498b[_0x31ea57([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x31ea57([0x2a]))||!!_0x1f498b[_0x31ea57([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x31ea57([0x4c,0x48])));}function _0xdbcd86(){const _0x29374d=_0x2095,_0x124fab=_0x1254b8[_0x31ea57([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x124fab||0x0==_0x124fab[_0x31ea57([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1c5679}=new URL(window[_0x31ea57([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x29374d(0x15b)]);if(_0x124fab[_0x31ea57([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1c5679))return!0x0;const _0x31fa1a=_0x1c5679[_0x31ea57([0x73,0x70,0x6c,0x69,0x74])](_0x31ea57([0x2e]));return _0x124fab[_0x31ea57([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5b2dbb=>_0x5b2dbb[_0x31ea57([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x31ea57([0x2a])))[_0x31ea57([0x6d,0x61,0x70])](_0x31271c=>_0x31271c[_0x31ea57([0x73,0x70,0x6c,0x69,0x74])](_0x31ea57([0x2e])))[_0x31ea57([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1c5492=>_0x1c5492[_0x31ea57([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x31fa1a[_0x31ea57([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x31ea57([0x6d,0x61,0x70])](_0x2ab2fb=>Array(_0x31fa1a[_0x31ea57([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2ab2fb[_0x31ea57([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x31ea57([0x66,0x69,0x6c,0x6c])](_0x2ab2fb[0x0]===_0x31ea57([0x2a])?_0x31ea57([0x2a]):'')[_0x31ea57([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2ab2fb))[_0x31ea57([0x73,0x6f,0x6d,0x65])](_0x3386d5=>_0x31fa1a[_0x31ea57([0x65,0x76,0x65,0x72,0x79])]((_0x371cb5,_0x21f1ea)=>_0x3386d5[_0x21f1ea]===_0x371cb5||_0x3386d5[_0x21f1ea]===_0x31ea57([0x2a])));}function _0x4dab48(){return _0x2bffad&&_0x2edcd3?new window[(_0x31ea57([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x8ce5b2,_0x49c667)=>{_0x2bffad[_0x31ea57([0x74,0x68,0x65,0x6e])](_0x8ce5b2,_0x49c667),_0x2edcd3[_0x31ea57([0x74,0x68,0x65,0x6e])](_0x5744aa=>{_0x5744aa!=_0x31ea57([0x56,0x61,0x6c,0x69,0x64])&&_0x8ce5b2(_0x5744aa);},_0x49c667);}):_0x2bffad||_0x2edcd3||_0x31ea57([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5b415f(_0x30bf48,_0x25aa18){return new window[(_0x31ea57([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x35367f=>{if(_0x1024c0())return _0x35367f(_0x31ea57([0x56,0x61,0x6c,0x69,0x64]));_0x58539c(),_0x3fef97[_0x31ea57([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x31ea57([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xed3b06=!0x1;const _0x2e4f9e=_0x17a50b();function _0x39bfa6(_0x51ea72){return!!_0x51ea72&&(typeof _0x51ea72===_0x31ea57([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x51ea72===_0x31ea57([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x51ea72[_0x31ea57([0x74,0x68,0x65,0x6e])]===_0x31ea57([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x51ea72[_0x31ea57([0x63,0x61,0x74,0x63,0x68])]===_0x31ea57([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xa460ec(_0x3330e8){_0x211cf8(_0x3330e8)[_0x31ea57([0x74,0x68,0x65,0x6e])](_0x349d0b=>{if(!_0x349d0b||_0x349d0b[_0x31ea57([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x31ea57([0x6f,0x6b]))return _0x31ea57([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x32355c(_0x4eb74a(_0x2e4f9e+_0x25aa18))!=_0x349d0b[_0x31ea57([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x31ea57([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x31ea57([0x56,0x61,0x6c,0x69,0x64]);})[_0x31ea57([0x74,0x68,0x65,0x6e])](_0x54cc4b=>(_0x110b67(),_0x54cc4b),()=>{const _0x29343f=_0x32d147();return null==_0x29343f?(_0x110b67(),_0x31ea57([0x56,0x61,0x6c,0x69,0x64])):_0x31ea57(_0x5ac80a-_0x29343f>(0x61d15615^_0x36bf21)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x31ea57([0x74,0x68,0x65,0x6e])](_0x35367f)[_0x31ea57([0x63,0x61,0x74,0x63,0x68])](()=>{_0x35367f(_0x31ea57([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1ebce2=0x45eb3c95^_0x36bf21;function _0x110b67(){const _0x49fd2c=_0x31ea57([0x6c,0x6c,0x63,0x74,0x2d])+_0x32355c(_0x4eb74a(_0x30bf48)),_0x1deae6=_0x2bbd61(_0x32355c(window[_0x31ea57([0x4d,0x61,0x74,0x68])][_0x31ea57([0x63,0x65,0x69,0x6c])](_0x5ac80a/_0x1ebce2)));window[_0x31ea57([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x31ea57([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x49fd2c,_0x1deae6);}function _0x32d147(){const _0x1420ed=_0x31ea57([0x6c,0x6c,0x63,0x74,0x2d])+_0x32355c(_0x4eb74a(_0x30bf48)),_0x56c4b0=window[_0x31ea57([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x31ea57([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1420ed);return _0x56c4b0?window[_0x31ea57([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2bbd61(_0x56c4b0),0x10)*_0x1ebce2:null;}function _0x211cf8(_0x58ce30){return new window[(_0x31ea57([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3b984b,_0x4e49d7)=>{_0x58ce30[_0x31ea57([0x74,0x68,0x65,0x6e])](_0x3b984b,_0x4e49d7),window[_0x31ea57([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4e49d7,0x45dc06d5^_0x36bf21);});}}_0x3fef97[_0x31ea57([0x6f,0x6e])](_0x31ea57([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x13cf3a,_0x368cac)=>{if(_0x368cac[0x0]!=_0x30bf48)return _0x35367f(_0x31ea57([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x368cac[0x1]={..._0x368cac[0x1],[_0x31ea57([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2e4f9e};},{[_0x31ea57([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x31ea57([0x68,0x69,0x67,0x68])}),_0x3fef97[_0x31ea57([0x6f,0x6e])](_0x31ea57([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x57e0f3=>{_0x39bfa6(_0x57e0f3[_0x31ea57([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xed3b06=!0x0,_0xa460ec(_0x57e0f3[_0x31ea57([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x31ea57([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x31ea57([0x6c,0x6f,0x77])}),_0x160b47[_0x31ea57([0x74,0x68,0x65,0x6e])](()=>{_0xed3b06||_0x35367f(_0x31ea57([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1024c0(){return _0x3fef97[_0x31ea57([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x31ea57([0x76,0x69,0x65,0x77])][_0x31ea57([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x31ea57([0x61,0x75,0x74,0x6f]);}function _0x58539c(){_0x3fef97[_0x31ea57([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x31ea57([0x76,0x69,0x65,0x77])][_0x31ea57([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x31ea57([0x61,0x75,0x74,0x6f]);}}function _0x47d902(_0x3b48af){const _0x5c29e6=[new window[(_0x31ea57([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x49eed5=>setTimeout(_0x49eed5,0x45d4ecd9^_0x36bf21)),_0x160b47[_0x31ea57([0x74,0x68,0x65,0x6e])](()=>new window[(_0x31ea57([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x87659d=>{let _0xcce33f=0x0;_0x3fef97[_0x31ea57([0x6d,0x6f,0x64,0x65,0x6c])][_0x31ea57([0x6f,0x6e])](_0x31ea57([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x293142,_0x2d121e)=>{_0x2d121e[0x0][_0x31ea57([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xcce33f++,_0xcce33f==(0x45ddd7fd^_0x36bf21)&&(_0x87659d(),_0x293142[_0x31ea57([0x6f,0x66,0x66])]());});}))];return window[_0x31ea57([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x31ea57([0x72,0x61,0x63,0x65])](_0x5c29e6)[_0x31ea57([0x74,0x68,0x65,0x6e])](()=>_0x3b48af);}async function _0x5afe2c(){await _0x160b47,_0x3fef97[_0x31ea57([0x6d,0x6f,0x64,0x65,0x6c])][_0x31ea57([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x34db82,_0x3fef97[_0x31ea57([0x6d,0x6f,0x64,0x65,0x6c])][_0x31ea57([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x34db82,_0x3fef97[_0x31ea57([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x31ea57([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x321acc(_0x295193){const _0x171e76=_0x284fc7();_0x3fef97[_0x171e76]=_0x31ea57([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x295193,_0x295193!=_0x31ea57([0x56,0x61,0x6c,0x69,0x64])&&_0x5afe2c();}function _0x284fc7(){const _0x4834e8=window[_0x31ea57([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x31ea57([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x31ea57([0x6e,0x6f,0x77])]())[_0x31ea57([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x31ea57([0x2e]),'');let _0x31b343=_0x31ea57([0x50]);for(let _0x479992=0x0;_0x479992<_0x4834e8[_0x31ea57([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x479992+=0x2){let _0x167121=window[_0x31ea57([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4834e8[_0x31ea57([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x479992,_0x479992+0x2));_0x167121>=_0x569d59[_0x31ea57([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x167121-=_0x569d59[_0x31ea57([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x31b343+=_0x569d59[_0x167121];}return _0x31b343;}function _0x169f4b(){const _0x191434=_0x5bf8a8[_0x31ea57([0x73,0x70,0x6c,0x69,0x74])](_0x31ea57([0x2e]));if(0x3!=_0x191434[_0x31ea57([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x115418(_0x191434[0x1]);function _0x115418(_0x15abcc){const _0x407a9c=_0x2e12f2(_0x15abcc);return _0x407a9c&&_0x13b5a6()?_0x407a9c:null;function _0x13b5a6(){const _0x481ce3=_0x407a9c[_0x31ea57([0x6a,0x74,0x69])],_0x4bf780=window[_0x31ea57([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x481ce3[_0x31ea57([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x481ce3[_0x31ea57([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x780ec9={..._0x407a9c,[_0x31ea57([0x6a,0x74,0x69])]:_0x481ce3[_0x31ea57([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x481ce3[_0x31ea57([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x780ec9[_0x31ea57([0x76,0x63])],_0x4eb74a(_0x780ec9)==_0x4bf780;}}}async function _0x551ba6(){let _0x27650a=!0x0;try{const _0x2f44da=_0x5bf8a8[_0x31ea57([0x73,0x70,0x6c,0x69,0x74])](_0x31ea57([0x2e])),[_0x485c10,_0x389319,_0x435558]=_0x2f44da;return _0x349c23(_0x485c10),await _0x5e80d5(_0x485c10,_0x389319,_0x435558),_0x27650a;}catch{return!0x1;}function _0x349c23(_0x54d95e){const _0x3e2b12=_0x2e12f2(_0x54d95e);_0x3e2b12&&_0x3e2b12[_0x31ea57([0x61,0x6c,0x67])]==_0x31ea57([0x45,0x53,0x32,0x35,0x36])||(_0x27650a=!0x1);}async function _0x5e80d5(_0xad126e,_0x2c32ab,_0x350597){const _0x5391bf=window[_0x31ea57([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x31ea57([0x66,0x72,0x6f,0x6d])](_0x3cd9d7(_0x350597),_0x5826d0=>_0x5826d0[_0x31ea57([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2f9ac8=new window[(_0x31ea57([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x31ea57([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xad126e+_0x31ea57([0x2e])+_0x2c32ab),_0x2859bd=window[_0x31ea57([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x31ea57([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2859bd)return;const _0x3b11f8=await _0x2859bd[_0x31ea57([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x31ea57([0x6a,0x77,0x6b]),_0x275228,{[_0x31ea57([0x6e,0x61,0x6d,0x65])]:_0x31ea57([0x45,0x43,0x44,0x53,0x41]),[_0x31ea57([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x31ea57([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x31ea57([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2859bd[_0x31ea57([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x31ea57([0x6e,0x61,0x6d,0x65])]:_0x31ea57([0x45,0x43,0x44,0x53,0x41]),[_0x31ea57([0x68,0x61,0x73,0x68])]:{[_0x31ea57([0x6e,0x61,0x6d,0x65])]:_0x31ea57([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3b11f8,_0x5391bf,_0x2f9ac8)||(_0x27650a=!0x1);}}function _0x2e12f2(_0x12c7b5){return _0x12c7b5[_0x31ea57([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x31ea57([0x65,0x79]))?JSON[_0x31ea57([0x70,0x61,0x72,0x73,0x65])](_0x3cd9d7(_0x12c7b5)):null;}function _0x3cd9d7(_0x5b2583){return window[_0x31ea57([0x61,0x74,0x6f,0x62])](_0x5b2583[_0x31ea57([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x31ea57([0x2b]))[_0x31ea57([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x31ea57([0x2f])));}function _0x4eb74a(_0x6f629e){let _0xb2f65f=0x1505;function _0x55252c(_0x255cf5){for(let _0x164ab6=0x0;_0x164ab6<_0x255cf5[_0x31ea57([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x164ab6++){const _0x5e5864=_0x255cf5[_0x31ea57([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x164ab6);_0xb2f65f=(_0xb2f65f<<0x5)+_0xb2f65f+_0x5e5864,_0xb2f65f&=_0xb2f65f;}}function _0x2c09b0(_0x49d884){Array[_0x31ea57([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x49d884)?_0x49d884[_0x31ea57([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2c09b0):_0x49d884&&typeof _0x49d884==_0x31ea57([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x31ea57([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x49d884)[_0x31ea57([0x73,0x6f,0x72,0x74])]()[_0x31ea57([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x434e69,_0x4a01e6])=>{_0x55252c(_0x434e69),_0x2c09b0(_0x4a01e6);}):_0x55252c(window[_0x31ea57([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x49d884));}return _0x2c09b0(_0x6f629e),_0xb2f65f>>>0x0;}function _0x32355c(_0x5a906a){return _0x5a906a[_0x31ea57([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x31ea57([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x31ea57([0x30]));}function _0x2bbd61(_0x5d6c29){return _0x5d6c29[_0x31ea57([0x73,0x70,0x6c,0x69,0x74])]('')[_0x31ea57([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x31ea57([0x6a,0x6f,0x69,0x6e])]('');}function _0x34db82(){}function _0x31ea57(_0x21ce1b){const _0x2026f9=_0x2095;return _0x21ce1b[_0x2026f9(0x157)](_0x2ca44c=>String[_0x2026f9(0x17a)](_0x2ca44c))[_0x2026f9(0x15e)]('');}_0x321acc(await _0x502562());}(this);}[_0x367a95(0x17c)](){const _0x16e565=_0x367a95,_0x3452b6=this[_0x16e565(0x177)];if(!_0x3452b6[_0x16e565(0x179)][_0x16e565(0x15c)](_0x16e565(0x153)))return;const _0x4907f1=_0x3452b6[_0x16e565(0x179)][_0x16e565(0x15c)](_0x16e565(0x14c))[_0x16e565(0x163)](_0x551cfb=>_0x16e565(0x16a)==typeof _0x551cfb&&(!_0x42e2d9(_0x551cfb)&&isNaN(Number(_0x551cfb))));if(_0x4907f1[_0x16e565(0x164)])throw new _0x244ceb(_0x16e565(0x167),null,{'namedPresets':_0x4907f1});}[_0x367a95(0x14e)](){const _0x1071d2=_0x367a95,_0x3621c4=this[_0x1071d2(0x177)],_0x1ce160=this[_0x1071d2(0x177)][_0x1071d2(0x179)][_0x1071d2(0x15c)](_0x1071d2(0x166));_0x3621c4[_0x1071d2(0x178)][_0x1071d2(0x173)](_0x1071d2(0x158))[_0x1071d2(0x176)]({'model':{'key':_0x1071d2(0x169)},'view':_0x164328=>String(_0x164328)===String(_0x1ce160)?null:{'key':_0x1071d2(0x171),'value':{'line-height':_0x164328}}}),_0x3621c4[_0x1071d2(0x178)][_0x1071d2(0x173)](_0x1071d2(0x14b))[_0x1071d2(0x176)]({'model':{'key':_0x1071d2(0x169),'value':_0x5ebe9c=>{const _0x26500b=_0x1071d2;let _0x451d58=_0x5ebe9c[_0x26500b(0x165)](_0x26500b(0x161));return _0x4733d1(_0x451d58)&&(_0x451d58=String(Number(_0x451d58[_0x26500b(0x160)](0x0,-0x1))/0x64)),String(_0x451d58)===String(_0x1ce160)?null:_0x451d58;}},'view':{'styles':{'line-height':/.*/}}});}[_0x367a95(0x172)](){const _0x11ecb3=_0x367a95,_0x272fad=this[_0x11ecb3(0x177)],_0x22e079=this[_0x11ecb3(0x177)][_0x11ecb3(0x179)][_0x11ecb3(0x15c)](_0x11ecb3(0x166)),_0x411f68=_0x18f008(this[_0x11ecb3(0x177)][_0x11ecb3(0x179)][_0x11ecb3(0x15c)](_0x11ecb3(0x169)))[_0x11ecb3(0x163)](_0x39e57d=>_0x39e57d[_0x11ecb3(0x15a)]),_0x4ad9d1=_0x47b1b7(_0x11ecb3(0x169),_0x411f68);_0x272fad[_0x11ecb3(0x178)][_0x11ecb3(0x176)](_0x4ad9d1),_0x272fad[_0x11ecb3(0x178)][_0x11ecb3(0x173)](_0x11ecb3(0x14b))[_0x11ecb3(0x176)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x11ecb3(0x169),'value':_0x3be3a4=>{const _0x22fc34=_0x11ecb3;let _0x5f3c4c=_0x3be3a4[_0x22fc34(0x165)](_0x22fc34(0x161));return _0x4733d1(_0x5f3c4c)&&(_0x5f3c4c=String(Number(_0x5f3c4c[_0x22fc34(0x160)](0x0,-0x1))/0x64)),_0x5f3c4c===String(_0x22e079)?null:_0x4ad9d1[_0x22fc34(0x15a)][_0x22fc34(0x175)][_0x22fc34(0x150)](_0x5f3c4c)?_0x5f3c4c:null;}}});}}function _0x2095(_0x1bd49f,_0x63ad89){const _0x4a2074=_0x4a20();return _0x2095=function(_0x20956f,_0x175dde){_0x20956f=_0x20956f-0x149;let _0x9dc254=_0x4a2074[_0x20956f];return _0x9dc254;},_0x2095(_0x1bd49f,_0x63ad89);}function _0x4a20(){const _0x3fab73=['attributeToAttribute','editor','conversion','config','fromCharCode','2899524OtNmVj','_validateConfig','isPremiumPlugin','23255PmLmTE','6026310wbJXbK','isOfficialPlugin','add','8mAxNtJ','upcast','lineHeight.options','2097788qaehKk','_prepareAnyValueConverters','default','includes','535675oxVTYD','afterInit','lineHeight.supportAllValues','requires','19774KqRRVY','LineHeightEditing','map','downcast','commands','model','href','get','schema','join','$block','slice','line-height','6XMtYdA','filter','length','getStyle','lineHeight.defaultValue','line-height-invalid-use-of-named-presets','extend','lineHeight','string','1290XraoEt','init','98505wTLxSn','define','pluginName','setAttributeProperties','style','_preparePredefinedConverters','for','156PnNNDf','values'];_0x4a20=function(){return _0x3fab73;};return _0x4a20();}
|
|
23
|
+
const _0x27efde=_0x3afa;(function(_0x18c8cf,_0x5906ea){const _0x2ee509=_0x3afa,_0x3c00fa=_0x18c8cf();while(!![]){try{const _0x53bf6d=parseInt(_0x2ee509(0x143))/0x1*(-parseInt(_0x2ee509(0x11a))/0x2)+parseInt(_0x2ee509(0x13e))/0x3+-parseInt(_0x2ee509(0x128))/0x4+parseInt(_0x2ee509(0x133))/0x5+parseInt(_0x2ee509(0x121))/0x6+-parseInt(_0x2ee509(0x13b))/0x7+-parseInt(_0x2ee509(0x12d))/0x8*(parseInt(_0x2ee509(0x141))/0x9);if(_0x53bf6d===_0x5906ea)break;else _0x3c00fa['push'](_0x3c00fa['shift']());}catch(_0x472e97){_0x3c00fa['push'](_0x3c00fa['shift']());}}}(_0xd8df,0xd8839));import{Plugin as _0x1d818f}from'ckeditor5/src/core.js';function _0x3afa(_0x1ebcca,_0x5ce503){const _0xd8df38=_0xd8df();return _0x3afa=function(_0x3afa97,_0x1c75fe){_0x3afa97=_0x3afa97-0x116;let _0x50d01e=_0xd8df38[_0x3afa97];return _0x50d01e;},_0x3afa(_0x1ebcca,_0x5ce503);}import{LineHeightCommand as _0x2d21ee}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x5a31cf}from'ckeditor5/src/engine.js';import{uid as _0x1714a6,CKEditorError as _0x1aa602}from'ckeditor5/src/utils.js';import{buildDefinition as _0x1389f7,isLineHeightDefaultValue as _0x281145,normalizeOptions as _0x868d6e}from'./utils.js';import{LineHeightTodoListIntegration as _0x41bd23}from'./integrations/todolist.js';function _0xd8df(){const _0xc87ba6=['2484704yUKklO','add','join','pluginName','style','23832zrqBkg','_prepareAnyValueConverters','isPremiumPlugin','line-height','lineHeight.supportAllValues','$block','5454265fRTwZV','lineHeight.defaultValue','fromCharCode','config','LineHeightEditing','map','href','values','7247051GNiVUL','slice','extend','2212002OYWPGm','line-height-invalid-use-of-named-presets','conversion','981MmXtLK','downcast','421583CjTPZh','isOfficialPlugin','commands','schema','define','string','filter','length','getStyle','_validateConfig','afterInit','requires','get','2tADhuv','_preparePredefinedConverters','model','includes','init','editor','lineHeight.options','8768502YxwuWe','lineHeight','setAttributeProperties','for','default','upcast','attributeToAttribute'];_0xd8df=function(){return _0xc87ba6;};return _0xd8df();}export class LineHeightEditing extends _0x1d818f{static get[_0x27efde(0x12b)](){const _0x54d110=_0x27efde;return _0x54d110(0x137);}static get[_0x27efde(0x118)](){return[_0x41bd23];}static get[_0x27efde(0x144)](){return!0x0;}static get[_0x27efde(0x12f)](){return!0x0;}constructor(_0x4af8b7){const _0x46bfbc=_0x27efde;super(_0x4af8b7),_0x4af8b7[_0x46bfbc(0x136)][_0x46bfbc(0x147)](_0x46bfbc(0x122),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x46bfbc(0x125),0x2,2.5,0x3]});}[_0x27efde(0x11e)](){const _0x4eabcc=_0x27efde,_0xdcf29c=this[_0x4eabcc(0x11f)];this[_0x4eabcc(0x116)](),_0xdcf29c[_0x4eabcc(0x11c)][_0x4eabcc(0x146)][_0x4eabcc(0x13d)](_0x4eabcc(0x132),{'allowAttributes':_0x4eabcc(0x122)}),_0xdcf29c[_0x4eabcc(0x11c)][_0x4eabcc(0x146)][_0x4eabcc(0x123)](_0x4eabcc(0x122),{'isFormatting':!0x0}),_0xdcf29c[_0x4eabcc(0x145)][_0x4eabcc(0x129)](_0x4eabcc(0x122),new _0x2d21ee(_0xdcf29c)),this[_0x4eabcc(0x11f)][_0x4eabcc(0x136)][_0x4eabcc(0x119)](_0x4eabcc(0x131))?this[_0x4eabcc(0x12e)]():this[_0x4eabcc(0x11b)]();}[_0x27efde(0x117)](){!async function(_0x503ffa){const _0x3d93ff=_0x4bed1c([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]),_0x55b7fb=0x45ddd215,_0x4dfb9f=0x45da532d^_0x55b7fb,_0x1d6cb3=window[_0x4bed1c([0x44,0x61,0x74,0x65])][_0x4bed1c([0x6e,0x6f,0x77])](),_0x3a23e8=_0x503ffa[_0x4bed1c([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x23bb4e=new window[(_0x4bed1c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4c5a18=>{_0x3a23e8[_0x4bed1c([0x6f,0x6e,0x63,0x65])](_0x4bed1c([0x72,0x65,0x61,0x64,0x79]),_0x4c5a18);}),_0x330223={[_0x4bed1c([0x6b,0x74,0x79])]:_0x4bed1c([0x45,0x43]),[_0x4bed1c([0x75,0x73,0x65])]:_0x4bed1c([0x73,0x69,0x67]),[_0x4bed1c([0x63,0x72,0x76])]:_0x4bed1c([0x50,0x2d,0x32,0x35,0x36]),[_0x4bed1c([0x78])]:_0x4bed1c([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]),[_0x4bed1c([0x79])]:_0x4bed1c([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]),[_0x4bed1c([0x61,0x6c,0x67])]:_0x4bed1c([0x45,0x53,0x32,0x35,0x36])},_0x1dfb5e=_0x3a23e8[_0x4bed1c([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4bed1c([0x67,0x65,0x74])](_0x4bed1c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x542a12(){let _0x1908c3,_0x211eb8=null,_0x50c242=null;try{if(_0x1dfb5e==_0x4bed1c([0x47,0x50,0x4c]))return _0x4bed1c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1908c3=_0x23af4b(),!_0x1908c3)return _0x4bed1c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1908c3[_0x4bed1c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x50c242=_0x2ac722(_0x1908c3[_0x4bed1c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1908c3[_0x4bed1c([0x6a,0x74,0x69])])),await _0x27c5c7()?_0x1e79cf()?_0x20a970()?_0x4bed1c([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1e5f22()?(_0x1908c3[_0x4bed1c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4bed1c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x211eb8=_0x3d87b2(_0x4bed1c([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4729f6()):_0x4bed1c([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4bed1c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4bed1c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4bed1c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x20a970(){const _0x55bd86=[_0x4bed1c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4bed1c([0x74,0x72,0x69,0x61,0x6c])][_0x4bed1c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1908c3[_0x4bed1c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1d6cb3/0x3e8:0xe10*_0x4dfb9f;return _0x1908c3[_0x4bed1c([0x65,0x78,0x70])]<_0x55bd86;}function _0x1e79cf(){const _0x1f3207=_0x1908c3[_0x4bed1c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1f3207&&(!!_0x1f3207[_0x4bed1c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4bed1c([0x2a]))||!!_0x1f3207[_0x4bed1c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4bed1c([0x4c,0x48])));}function _0x1e5f22(){const _0x268108=_0x3afa,_0x28ed77=_0x1908c3[_0x4bed1c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x28ed77||0x0==_0x28ed77[_0x4bed1c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xf3d336}=new URL(window[_0x4bed1c([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x268108(0x139)]);if(_0x28ed77[_0x4bed1c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xf3d336))return!0x0;const _0x45beed=_0xf3d336[_0x4bed1c([0x73,0x70,0x6c,0x69,0x74])](_0x4bed1c([0x2e]));return _0x28ed77[_0x4bed1c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x25aa40=>_0x25aa40[_0x4bed1c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4bed1c([0x2a])))[_0x4bed1c([0x6d,0x61,0x70])](_0x2fe82d=>_0x2fe82d[_0x4bed1c([0x73,0x70,0x6c,0x69,0x74])](_0x4bed1c([0x2e])))[_0x4bed1c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4638e4=>_0x4638e4[_0x4bed1c([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x45beed[_0x4bed1c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4bed1c([0x6d,0x61,0x70])](_0x5a76df=>Array(_0x45beed[_0x4bed1c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5a76df[_0x4bed1c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4bed1c([0x66,0x69,0x6c,0x6c])](_0x5a76df[0x0]===_0x4bed1c([0x2a])?_0x4bed1c([0x2a]):'')[_0x4bed1c([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5a76df))[_0x4bed1c([0x73,0x6f,0x6d,0x65])](_0x437c1c=>_0x45beed[_0x4bed1c([0x65,0x76,0x65,0x72,0x79])]((_0x30fb53,_0x3ec379)=>_0x437c1c[_0x3ec379]===_0x30fb53||_0x437c1c[_0x3ec379]===_0x4bed1c([0x2a])));}function _0x4729f6(){return _0x211eb8&&_0x50c242?new window[(_0x4bed1c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xb9ec44,_0xbae38)=>{_0x211eb8[_0x4bed1c([0x74,0x68,0x65,0x6e])](_0xb9ec44,_0xbae38),_0x50c242[_0x4bed1c([0x74,0x68,0x65,0x6e])](_0x3bb475=>{_0x3bb475!=_0x4bed1c([0x56,0x61,0x6c,0x69,0x64])&&_0xb9ec44(_0x3bb475);},_0xbae38);}):_0x211eb8||_0x50c242||_0x4bed1c([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2ac722(_0x4c1508,_0x26ff89){return new window[(_0x4bed1c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4f2669=>{if(_0x3c005e())return _0x4f2669(_0x4bed1c([0x56,0x61,0x6c,0x69,0x64]));_0x41d96c(),_0x3a23e8[_0x4bed1c([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4bed1c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xa8997e=!0x1;const _0x5072e5=_0x1714a6();function _0x482bf4(_0x344661){return!!_0x344661&&(typeof _0x344661===_0x4bed1c([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x344661===_0x4bed1c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x344661[_0x4bed1c([0x74,0x68,0x65,0x6e])]===_0x4bed1c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x344661[_0x4bed1c([0x63,0x61,0x74,0x63,0x68])]===_0x4bed1c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4a8f74(_0x52f87f){_0x533b8b(_0x52f87f)[_0x4bed1c([0x74,0x68,0x65,0x6e])](_0x19010f=>{if(!_0x19010f||_0x19010f[_0x4bed1c([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4bed1c([0x6f,0x6b]))return _0x4bed1c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x52e392(_0x37c413(_0x5072e5+_0x26ff89))!=_0x19010f[_0x4bed1c([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4bed1c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4bed1c([0x56,0x61,0x6c,0x69,0x64]);})[_0x4bed1c([0x74,0x68,0x65,0x6e])](_0x38f24f=>(_0x1a7ed3(),_0x38f24f),()=>{const _0x49835c=_0x540a62();return null==_0x49835c?(_0x1a7ed3(),_0x4bed1c([0x56,0x61,0x6c,0x69,0x64])):_0x4bed1c(_0x1d6cb3-_0x49835c>(0x61d15615^_0x55b7fb)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4bed1c([0x74,0x68,0x65,0x6e])](_0x4f2669)[_0x4bed1c([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4f2669(_0x4bed1c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x36394f=0x45eb3c95^_0x55b7fb;function _0x1a7ed3(){const _0x198758=_0x4bed1c([0x6c,0x6c,0x63,0x74,0x2d])+_0x52e392(_0x37c413(_0x4c1508)),_0x478f75=_0x2fc01a(_0x52e392(window[_0x4bed1c([0x4d,0x61,0x74,0x68])][_0x4bed1c([0x63,0x65,0x69,0x6c])](_0x1d6cb3/_0x36394f)));window[_0x4bed1c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4bed1c([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x198758,_0x478f75);}function _0x540a62(){const _0x2c3d4e=_0x4bed1c([0x6c,0x6c,0x63,0x74,0x2d])+_0x52e392(_0x37c413(_0x4c1508)),_0x3a780c=window[_0x4bed1c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4bed1c([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2c3d4e);return _0x3a780c?window[_0x4bed1c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2fc01a(_0x3a780c),0x10)*_0x36394f:null;}function _0x533b8b(_0x513745){return new window[(_0x4bed1c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x394ed4,_0xaafaee)=>{_0x513745[_0x4bed1c([0x74,0x68,0x65,0x6e])](_0x394ed4,_0xaafaee),window[_0x4bed1c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xaafaee,0x45dc06d5^_0x55b7fb);});}}_0x3a23e8[_0x4bed1c([0x6f,0x6e])](_0x4bed1c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3a6b35,_0x56185f)=>{if(_0x56185f[0x0]!=_0x4c1508)return _0x4f2669(_0x4bed1c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x56185f[0x1]={..._0x56185f[0x1],[_0x4bed1c([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5072e5};},{[_0x4bed1c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4bed1c([0x68,0x69,0x67,0x68])}),_0x3a23e8[_0x4bed1c([0x6f,0x6e])](_0x4bed1c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x42d4e=>{_0x482bf4(_0x42d4e[_0x4bed1c([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xa8997e=!0x0,_0x4a8f74(_0x42d4e[_0x4bed1c([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4bed1c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4bed1c([0x6c,0x6f,0x77])}),_0x23bb4e[_0x4bed1c([0x74,0x68,0x65,0x6e])](()=>{_0xa8997e||_0x4f2669(_0x4bed1c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3c005e(){return _0x3a23e8[_0x4bed1c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4bed1c([0x76,0x69,0x65,0x77])][_0x4bed1c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4bed1c([0x61,0x75,0x74,0x6f]);}function _0x41d96c(){_0x3a23e8[_0x4bed1c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4bed1c([0x76,0x69,0x65,0x77])][_0x4bed1c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4bed1c([0x61,0x75,0x74,0x6f]);}}function _0x3d87b2(_0x5d5091){const _0x1c0499=[new window[(_0x4bed1c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4b0560=>setTimeout(_0x4b0560,0x45d4ecd9^_0x55b7fb)),_0x23bb4e[_0x4bed1c([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4bed1c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x57a474=>{let _0x4b0d5e=0x0;_0x3a23e8[_0x4bed1c([0x6d,0x6f,0x64,0x65,0x6c])][_0x4bed1c([0x6f,0x6e])](_0x4bed1c([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5a40c5,_0x1aedcd)=>{_0x1aedcd[0x0][_0x4bed1c([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4b0d5e++,_0x4b0d5e==(0x45ddd7fd^_0x55b7fb)&&(_0x57a474(),_0x5a40c5[_0x4bed1c([0x6f,0x66,0x66])]());});}))];return window[_0x4bed1c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4bed1c([0x72,0x61,0x63,0x65])](_0x1c0499)[_0x4bed1c([0x74,0x68,0x65,0x6e])](()=>_0x5d5091);}async function _0x1cd464(){await _0x23bb4e,_0x3a23e8[_0x4bed1c([0x6d,0x6f,0x64,0x65,0x6c])][_0x4bed1c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x50e6d0,_0x3a23e8[_0x4bed1c([0x6d,0x6f,0x64,0x65,0x6c])][_0x4bed1c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x50e6d0,_0x3a23e8[_0x4bed1c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4bed1c([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x56158d(_0x658682){const _0x4ebc28=_0x452b93();_0x3a23e8[_0x4ebc28]=_0x4bed1c([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x658682,_0x658682!=_0x4bed1c([0x56,0x61,0x6c,0x69,0x64])&&_0x1cd464();}function _0x452b93(){const _0x1b4e8a=window[_0x4bed1c([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4bed1c([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4bed1c([0x6e,0x6f,0x77])]())[_0x4bed1c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4bed1c([0x2e]),'');let _0x4660b0=_0x4bed1c([0x50]);for(let _0x380c97=0x0;_0x380c97<_0x1b4e8a[_0x4bed1c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x380c97+=0x2){let _0x256dd9=window[_0x4bed1c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1b4e8a[_0x4bed1c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x380c97,_0x380c97+0x2));_0x256dd9>=_0x3d93ff[_0x4bed1c([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x256dd9-=_0x3d93ff[_0x4bed1c([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4660b0+=_0x3d93ff[_0x256dd9];}return _0x4660b0;}function _0x23af4b(){const _0x3325e4=_0x1dfb5e[_0x4bed1c([0x73,0x70,0x6c,0x69,0x74])](_0x4bed1c([0x2e]));if(0x3!=_0x3325e4[_0x4bed1c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x269f4b(_0x3325e4[0x1]);function _0x269f4b(_0x4e50dc){const _0xefc43b=_0xcdc4d1(_0x4e50dc);return _0xefc43b&&_0x293aa8()?_0xefc43b:null;function _0x293aa8(){const _0x364761=_0xefc43b[_0x4bed1c([0x6a,0x74,0x69])],_0x456691=window[_0x4bed1c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x364761[_0x4bed1c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x364761[_0x4bed1c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x373d39={..._0xefc43b,[_0x4bed1c([0x6a,0x74,0x69])]:_0x364761[_0x4bed1c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x364761[_0x4bed1c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x373d39[_0x4bed1c([0x76,0x63])],_0x37c413(_0x373d39)==_0x456691;}}}async function _0x27c5c7(){let _0x2116b8=!0x0;try{const _0x25928a=_0x1dfb5e[_0x4bed1c([0x73,0x70,0x6c,0x69,0x74])](_0x4bed1c([0x2e])),[_0x489f71,_0x319def,_0x389e9c]=_0x25928a;return _0x273898(_0x489f71),await _0x4c0cae(_0x489f71,_0x319def,_0x389e9c),_0x2116b8;}catch{return!0x1;}function _0x273898(_0x2ed4c1){const _0x22c265=_0xcdc4d1(_0x2ed4c1);_0x22c265&&_0x22c265[_0x4bed1c([0x61,0x6c,0x67])]==_0x4bed1c([0x45,0x53,0x32,0x35,0x36])||(_0x2116b8=!0x1);}async function _0x4c0cae(_0x54eb82,_0x303d41,_0x3294f0){const _0x3440b0=window[_0x4bed1c([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4bed1c([0x66,0x72,0x6f,0x6d])](_0x3f307e(_0x3294f0),_0x37ec88=>_0x37ec88[_0x4bed1c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2a7aae=new window[(_0x4bed1c([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4bed1c([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x54eb82+_0x4bed1c([0x2e])+_0x303d41),_0x5473e4=window[_0x4bed1c([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4bed1c([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5473e4)return;const _0x20d6d4=await _0x5473e4[_0x4bed1c([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4bed1c([0x6a,0x77,0x6b]),_0x330223,{[_0x4bed1c([0x6e,0x61,0x6d,0x65])]:_0x4bed1c([0x45,0x43,0x44,0x53,0x41]),[_0x4bed1c([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4bed1c([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4bed1c([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5473e4[_0x4bed1c([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4bed1c([0x6e,0x61,0x6d,0x65])]:_0x4bed1c([0x45,0x43,0x44,0x53,0x41]),[_0x4bed1c([0x68,0x61,0x73,0x68])]:{[_0x4bed1c([0x6e,0x61,0x6d,0x65])]:_0x4bed1c([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x20d6d4,_0x3440b0,_0x2a7aae)||(_0x2116b8=!0x1);}}function _0xcdc4d1(_0x4d8c4c){return _0x4d8c4c[_0x4bed1c([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4bed1c([0x65,0x79]))?JSON[_0x4bed1c([0x70,0x61,0x72,0x73,0x65])](_0x3f307e(_0x4d8c4c)):null;}function _0x3f307e(_0x282095){return window[_0x4bed1c([0x61,0x74,0x6f,0x62])](_0x282095[_0x4bed1c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4bed1c([0x2b]))[_0x4bed1c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4bed1c([0x2f])));}function _0x37c413(_0x150f30){let _0x33831f=0x1505;function _0x379daf(_0x7515b6){for(let _0xc7a56a=0x0;_0xc7a56a<_0x7515b6[_0x4bed1c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xc7a56a++){const _0x37d18d=_0x7515b6[_0x4bed1c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xc7a56a);_0x33831f=(_0x33831f<<0x5)+_0x33831f+_0x37d18d,_0x33831f&=_0x33831f;}}function _0x5ba186(_0x20a4b2){Array[_0x4bed1c([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x20a4b2)?_0x20a4b2[_0x4bed1c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5ba186):_0x20a4b2&&typeof _0x20a4b2==_0x4bed1c([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4bed1c([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x20a4b2)[_0x4bed1c([0x73,0x6f,0x72,0x74])]()[_0x4bed1c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5880ab,_0x5defec])=>{_0x379daf(_0x5880ab),_0x5ba186(_0x5defec);}):_0x379daf(window[_0x4bed1c([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x20a4b2));}return _0x5ba186(_0x150f30),_0x33831f>>>0x0;}function _0x52e392(_0x34dfd8){return _0x34dfd8[_0x4bed1c([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4bed1c([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4bed1c([0x30]));}function _0x2fc01a(_0x5d6e11){return _0x5d6e11[_0x4bed1c([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4bed1c([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4bed1c([0x6a,0x6f,0x69,0x6e])]('');}function _0x50e6d0(){}function _0x4bed1c(_0x3a83e0){const _0xcc82e=_0x3afa;return _0x3a83e0[_0xcc82e(0x138)](_0x223337=>String[_0xcc82e(0x135)](_0x223337))[_0xcc82e(0x12a)]('');}_0x56158d(await _0x542a12());}(this);}[_0x27efde(0x116)](){const _0x2cab6f=_0x27efde,_0x23b6de=this[_0x2cab6f(0x11f)];if(!_0x23b6de[_0x2cab6f(0x136)][_0x2cab6f(0x119)](_0x2cab6f(0x131)))return;const _0x126e80=_0x23b6de[_0x2cab6f(0x136)][_0x2cab6f(0x119)](_0x2cab6f(0x120))[_0x2cab6f(0x149)](_0x3c9bd0=>_0x2cab6f(0x148)==typeof _0x3c9bd0&&(!_0x281145(_0x3c9bd0)&&isNaN(Number(_0x3c9bd0))));if(_0x126e80[_0x2cab6f(0x14a)])throw new _0x1aa602(_0x2cab6f(0x13f),null,{'namedPresets':_0x126e80});}[_0x27efde(0x12e)](){const _0x10c136=_0x27efde,_0x58aa4d=this[_0x10c136(0x11f)],_0x373d84=this[_0x10c136(0x11f)][_0x10c136(0x136)][_0x10c136(0x119)](_0x10c136(0x134));_0x58aa4d[_0x10c136(0x140)][_0x10c136(0x124)](_0x10c136(0x142))[_0x10c136(0x127)]({'model':{'key':_0x10c136(0x122)},'view':_0x1322fb=>String(_0x1322fb)===String(_0x373d84)?null:{'key':_0x10c136(0x12c),'value':{'line-height':_0x1322fb}}}),_0x58aa4d[_0x10c136(0x140)][_0x10c136(0x124)](_0x10c136(0x126))[_0x10c136(0x127)]({'model':{'key':_0x10c136(0x122),'value':_0x135b4f=>{const _0x6e085e=_0x10c136;let _0x166b04=_0x135b4f[_0x6e085e(0x14b)](_0x6e085e(0x130));return _0x5a31cf(_0x166b04)&&(_0x166b04=String(Number(_0x166b04[_0x6e085e(0x13c)](0x0,-0x1))/0x64)),String(_0x166b04)===String(_0x373d84)?null:_0x166b04;}},'view':{'styles':{'line-height':/.*/}}});}[_0x27efde(0x11b)](){const _0x2f0d43=_0x27efde,_0x5ab1aa=this[_0x2f0d43(0x11f)],_0x4b7068=this[_0x2f0d43(0x11f)][_0x2f0d43(0x136)][_0x2f0d43(0x119)](_0x2f0d43(0x134)),_0x2208ee=_0x868d6e(this[_0x2f0d43(0x11f)][_0x2f0d43(0x136)][_0x2f0d43(0x119)](_0x2f0d43(0x122)))[_0x2f0d43(0x149)](_0x4f7660=>_0x4f7660[_0x2f0d43(0x11c)]),_0x38ee0e=_0x1389f7(_0x2f0d43(0x122),_0x2208ee);_0x5ab1aa[_0x2f0d43(0x140)][_0x2f0d43(0x127)](_0x38ee0e),_0x5ab1aa[_0x2f0d43(0x140)][_0x2f0d43(0x124)](_0x2f0d43(0x126))[_0x2f0d43(0x127)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x2f0d43(0x122),'value':_0x586aec=>{const _0x4b6233=_0x2f0d43;let _0xb9fc6f=_0x586aec[_0x4b6233(0x14b)](_0x4b6233(0x130));return _0x5a31cf(_0xb9fc6f)&&(_0xb9fc6f=String(Number(_0xb9fc6f[_0x4b6233(0x13c)](0x0,-0x1))/0x64)),_0xb9fc6f===String(_0x4b7068)?null:_0x38ee0e[_0x4b6233(0x11c)][_0x4b6233(0x13a)][_0x4b6233(0x11d)](_0xb9fc6f)?_0xb9fc6f:null;}}});}}
|