@ckeditor/ckeditor5-template 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/template.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +6 -6
- package/src/templateui.js +1 -1
package/build/template.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 t={49:(t,e,n)=>{"use strict";n.d(e,{A:()=>c});var r=n(106),i=n.n(r),s=n(779),a=n.n(s)()(i());a.push([t.id,':root{--ck-template-dropdown-view-width:345px;--ck-template-dropdown-view-height:300px;--ck-template-icon-size:45px}.ck-button.ck-template-button .ck.ck-icon,.ck-button.ck-template-button .ck.ck-icon *{color:unset}.ck-button.ck-template-button .ck.ck-icon :not([fill]){fill:unset}.ck.ck-template-form{width:var(--ck-template-dropdown-view-width)}@media screen and (max-width:600px){.ck.ck-template-form{--ck-template-dropdown-view-width:260px}}.ck.ck-template-form>.ck-labeled-field-view{padding:var(--ck-spacing-large)}.ck.ck-template-form>.ck-search__results{border-top:1px solid var(--ck-color-base-border)}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list{max-height:var(--ck-template-dropdown-view-height);overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;padding:var(--ck-spacing-large)}.ck-rounded-corners .ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list{border-radius:0}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item:not(.ck-hidden)~.ck.ck-list__item{margin-top:var(--ck-spacing-large)}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button{align-items:center;border-radius:var(--ck-border-radius);display:grid;gap:var(--ck-spacing-large) var(--ck-spacing-large);grid-auto-columns:1fr;grid-auto-flow:column dense;grid-template-areas:"ck-template-icon ck-template-content";grid-template-columns:var(--ck-template-icon-size) 1fr;grid-template-rows:var(--ck-template-icon-size);margin:0;overflow:hidden;padding:0;width:100%}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button:not(:focus){border-color:var(--ck-color-dropdown-panel-background)}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button>.ck.ck-icon{grid-area:ck-template-icon;height:auto;margin:0;width:var(--ck-template-icon-size)}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button>.ck-template-form__text-part{display:flex;flex-direction:column;grid-area:ck-template-content;height:100%;justify-content:space-evenly;margin:0;min-width:0}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button>.ck-template-form__text-part>.ck.ck-button__label{color:var(--ck-color-text);display:block;font-size:var(--ck-font-size-base);font-weight:700;line-height:1.1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button>.ck-template-form__text-part .ck-template-form__description{color:var(--ck-color-text);display:-webkit-box;font-size:.85em;line-height:1.1;margin-top:var(--ck-spacing-tiny);overflow:hidden;text-overflow:ellipsis;white-space:normal;-webkit-box-orient:vertical;-webkit-line-clamp:2}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button>.ck-template-form__text-part mark{background:var(--ck-color-highlight-background);font-size:inherit;font-weight:inherit;line-height:inherit;vertical-align:initial}',""]);const c=a},102:t=>{"use strict";var e={};t.exports=function(t,n){var r=function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}e[t]=n}return e[t]}(t);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},106:t=>{"use strict";t.exports=function(t){return t[1]}},123:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach(function(n){t.setAttribute(n,e[n])})}},237:t=>{"use strict";t.exports=CKEditor5.dll},297:t=>{"use strict";var e,n=(e=[],function(t,n){return e[t]=n,e.filter(Boolean).join("\n")});function r(t,e,r,i){var s;if(r)s="";else{s="",i.supports&&(s+="@supports (".concat(i.supports,") {")),i.media&&(s+="@media ".concat(i.media," {"));var a=void 0!==i.layer;a&&(s+="@layer".concat(i.layer.length>0?" ".concat(i.layer):""," {")),s+=i.css,a&&(s+="}"),i.media&&(s+="}"),i.supports&&(s+="}")}if(t.styleSheet)t.styleSheet.cssText=n(e,s);else{var c=document.createTextNode(s),o=t.childNodes;o[e]&&t.removeChild(o[e]),o.length?t.insertBefore(c,o[e]):t.appendChild(c)}}var i={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=i.singletonCounter++,n=i.singleton||(i.singleton=t.insertStyleElement(t));return{update:function(t){r(n,e,!1,t)},remove:function(t){r(n,e,!0,t)}}}},311:(t,e,n)=>{t.exports=n(237)("./src/ui.js")},355:(t,e,n)=>{t.exports=n(237)("./src/icons.js")},584:(t,e,n)=>{t.exports=n(237)("./src/utils.js")},741:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},779:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var n="",r=void 0!==e[5];return e[4]&&(n+="@supports (".concat(e[4],") {")),e[2]&&(n+="@media ".concat(e[2]," {")),r&&(n+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),n+=t(e),r&&(n+="}"),e[2]&&(n+="}"),e[4]&&(n+="}"),n}).join("")},e.i=function(t,n,r,i,s){"string"==typeof t&&(t=[[null,t,void 0]]);var a={};if(r)for(var c=0;c<this.length;c++){var o=this[c][0];null!=o&&(a[o]=!0)}for(var l=0;l<t.length;l++){var u=[].concat(t[l]);r&&a[u[0]]||(void 0!==s&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=s),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),i&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=i):u[4]="".concat(i)),e.push(u))}},e}},782:(t,e,n)=>{t.exports=n(237)("./src/core.js")},929:t=>{"use strict";var e=[];function n(t){for(var n=-1,r=0;r<e.length;r++)if(e[r].identifier===t){n=r;break}return n}function r(t,r){for(var s={},a=[],c=0;c<t.length;c++){var o=t[c],l=r.base?o[0]+r.base:o[0],u=s[l]||0,p="".concat(l," ").concat(u);s[l]=u+1;var f=n(p),d={css:o[1],media:o[2],sourceMap:o[3],supports:o[4],layer:o[5]};if(-1!==f)e[f].references++,e[f].updater(d);else{var m=i(d,r);r.byIndex=c,e.splice(c,0,{identifier:p,updater:m,references:1})}a.push(p)}return a}function i(t,e){var n=e.domAPI(e);n.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;n.update(t=e)}else n.remove()}}t.exports=function(t,i){var s=r(t=t||[],i=i||{});return function(t){t=t||[];for(var a=0;a<s.length;a++){var c=n(s[a]);e[c].references--}for(var o=r(t,i),l=0;l<s.length;l++){var u=n(s[l]);0===e[u].references&&(e[u].updater(),e.splice(u,1))}s=o}}}},e={};function n(r){var i=e[r];if(void 0!==i)return i.exports;var s=e[r]={id:r,exports:{}};return t[r](s,s.exports,n),s.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var r={};(()=>{"use strict";n.r(r),n.d(r,{Template:()=>Z,TemplateCommand:()=>a,TemplateEditing:()=>u,TemplateUI:()=>q});var t=n(782);function e(){const t=["insertContent","972znwSRc","563780yeRNUq","htmlProcessor","function","409974oBpaMC","change","data","editor","toView","execute","42128vuSfNn","697440FfeKqV","1236bgAjQD","string","19641LqODMf","toModel","1061780BdKocE","1883JikGPh"];return(e=function(){return t})()}function i(t,n){const r=e();return(i=function(t,e){return r[t-=373]})(t,n)}const s=i;!function(t){const e=i,n=t();for(;;)try{if(179698===-parseInt(e(382))/1+parseInt(e(388))/2+parseInt(e(391))/3+parseInt(e(384))/4+parseInt(e(379))/5+-parseInt(e(380))/6*(parseInt(e(385))/7)+-parseInt(e(378))/8*(parseInt(e(387))/9))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(e);class a extends t.Command{[s(377)](t){const e=s,{model:n}=this[e(375)];let r;switch(typeof t){case e(381):r=t;break;case e(390):r=t()}e(381)==typeof r&&n[e(373)](()=>{const t=e,i=this[t(375)][t(374)][t(389)][t(376)](r),s=this[t(375)][t(374)][t(383)](i);n[t(386)](s)})}}function c(){const t=["get","templateLicenseKeyEvaluationLimit","invalid","isPremiumPlugin","2140248Phzmis","2546355XuLKCf","_licenseKeyCheckInterval","486410DzHRYp","domainLimit","33oyAiUH","destroy","init","evaluationLimit","templateLicenseKeyValid","config","13860tHmRqL","featureNotAllowed","24bsyAqt","1889196SOpxSY","1362sPbFyD","8972019IXVzus","isOfficialPlugin","templateLicenseKeyDomainLimit","expired","commands","licenseKey","templateLicenseKeyNotAllowed","editor","add","_showLicenseError","pluginName","usageLimit","TemplateEditing","Template","18615ZGknbj","templateLicenseKeyUsageLimit","templateLicenseKeyInvalid","4OkwTMj","templateLicenseKeyExpired","insertTemplate"];return(c=function(){return t})()}const o=l;function l(t,e){const n=c();return(l=function(t,e){return n[t-=156]})(t,e)}!function(t){const e=l,n=t();for(;;)try{if(847924===parseInt(e(158))/1+parseInt(e(168))/2+parseInt(e(182))/3*(-parseInt(e(161))/4)+-parseInt(e(179))/5*(-parseInt(e(183))/6)+parseInt(e(169))/7*(-parseInt(e(181))/8)+parseInt(e(184))/9+parseInt(e(171))/10*(-parseInt(e(173))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(c);class u extends t.Plugin{[o(189)];[o(170)];static get[o(194)](){return o(156)}static get[o(185)](){return!0}static get[o(167)](){return!0}[o(175)](){const t=o,{editor:e}=this;e[t(188)][t(192)](t(163),new a(e)),this[t(189)]=this[t(191)][t(178)][t(164)](t(189));const n=this[t(191)];this[t(170)]=setInterval(()=>{const e=t;let r;for(const t in n){const i=t,s=n[i];if(e(177)==s||e(160)==s||e(162)==s||e(186)==s||e(190)==s||e(165)==s||e(159)==s){delete n[i],r=s,clearInterval(this[e(170)]),this[e(170)]=void 0;break}}e(160)==r&&n[e(193)](e(166)),e(162)==r&&n[e(193)](e(187)),e(186)==r&&n[e(193)](e(172)),e(190)==r&&n[e(193)](e(180),e(157)),e(165)==r&&n[e(193)](e(176)),e(159)==r&&n[e(193)](e(195))},1e3)}[o(174)](){const t=o;super[t(174)](),this[t(170)]&&clearInterval(this[t(170)])}}var p=n(355),f=n(311),d=n(584);function m(){const t=["18cHVOVE","42473HGUUhb","forEach","3983gKFmem","map","2603375HwizLP","buttonView","originalIndex","set","highlightText","1057098wjSFHE","isVisible","48KHaGFm","sort","title","isMatching","items","298017tPgtxX","clear","size","get","_resetFiltering","8934UhAFFx","addMany","20ZREwyr","3039248aiKoxj","length","7628357ZJYrVt","filter"];return(m=function(){return t})()}const h=k;function k(t,e){const n=m();return(k=function(t,e){return n[t-=334]})(t,e)}!function(t){const e=k,n=t();for(;;)try{if(469383===parseInt(e(359))/1*(-parseInt(e(358))/2)+parseInt(e(339))/3+-parseInt(e(354))/4+parseInt(e(334))/5+-parseInt(e(351))/6*(parseInt(e(361))/7)+-parseInt(e(341))/8*(-parseInt(e(346))/9)+-parseInt(e(353))/10*(-parseInt(e(356))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(m);class w extends f.ListView{[h(357)](t){const e=h;if(!t)return this[e(350)]();const n=new Map,r=this[e(345)][e(362)](r=>{const i=e,s=r[i(335)][i(344)](t);return r[i(340)]=!!s,r[i(335)][i(338)](s?t:null),s&&n[i(337)](r,s),r})[e(342)](g)[e(342)]((i=n,function(t,e){const n=k,r=i[n(349)](t),s=i[n(349)](e);return r&&!s?-1:s&&!r?1:r||s?r[n(343)]&&!s[n(343)]?-1:!r[n(343)]&&s[n(343)]?1:0:0}));var i;return this[e(345)][e(347)](),this[e(345)][e(352)](r),{resultsCount:n[e(348)],totalItemsCount:this[e(345)][e(355)]}}[h(350)](){const t=h,e=this[t(345)][t(362)](t=>t)[t(342)](g);return e[t(360)](e=>{const n=t;e[n(340)]=!0,e[n(335)][n(338)](null)}),this[t(345)][t(347)](),this[t(345)][t(352)](e),{resultsCount:e[t(355)],totalItemsCount:e[t(355)]}}}function g(t,e){const n=h;return t[n(336)]-e[n(336)]}function I(t,e){var n=b();return(I=function(t,e){return n[t-=186]})(t,e)}var v=I;function b(){var t=["7DkuMLG","2902476IVlidM","48afttBe","3jyrVxw","5956379vlFDcg","1427508AxkWpk","18461091nBxxzD","originalIndex","3883038tMJLOb","1641007jaOJza","buttonView","7124492bzbGex","5hSvltU","10fzpnVP","72teBpsy"];return(b=function(){return t})()}!function(t){for(var e=I,n=t();;)try{if(965470===-parseInt(e(199))/1+-parseInt(e(191))/2*(-parseInt(e(193))/3)+-parseInt(e(186))/4*(-parseInt(e(187))/5)+-parseInt(e(198))/6*(-parseInt(e(190))/7)+-parseInt(e(189))/8*(parseInt(e(195))/9)+-parseInt(e(188))/10*(parseInt(e(196))/11)+-parseInt(e(192))/12*(-parseInt(e(194))/13))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(b);class y extends f.ListItemView{[v(197)];[v(200)];constructor(t,e){var n=v;super(t),this[n(197)]=e,this[n(200)]=null}}function x(t,e){const n=L();return(x=function(t,e){return n[t-=309]})(t,e)}const _=x;!function(t){const e=x,n=t();for(;;)try{if(248518===parseInt(e(316))/1+-parseInt(e(320))/2+parseInt(e(309))/3*(parseInt(e(345))/4)+parseInt(e(315))/5+-parseInt(e(330))/6*(parseInt(e(341))/7)+-parseInt(e(343))/8*(-parseInt(e(326))/9)+-parseInt(e(314))/10*(parseInt(e(318))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(L);class T extends f.ButtonView{[_(317)];[_(311)];constructor(t,e){const n=_;super(t),this[n(317)]=e,this[n(311)]=null;const{icon:r=p.IconTemplateGeneric}=e;this[n(337)]({withText:!0,class:n(350),role:n(344),icon:r}),this[n(321)][n(340)]=!1}[_(327)](){const t=_;super[t(327)](),this[t(311)]=new V(this[t(329)],this[t(317)],this[t(349)][t(323)].id),this[t(348)][t(335)](this[t(349)]),this[t(348)][t(336)](this[t(311)])}[_(333)](){const t=_;super[t(333)](),this[t(349)][t(333)]()}[_(328)](t){const e=_,{title:n,description:r}=this[e(317)],i=!!n[e(332)](t),s=!(!r||!r[e(332)](t));return i||s?{title:i,description:s}:null}[_(322)](t){const e=_;this[e(311)][e(322)](t)}}class V extends f.View{constructor(t,e,n){const r=_;super(t),this[r(338)]=e[r(338)],this[r(312)]=e[r(312)],this[r(325)]=new f.HighlightedTextView,this[r(325)][r(310)]=this[r(338)],this[r(325)][r(334)]({tag:r(346),attributes:{class:[r(347)],id:n}});const i=[this[r(325)]];this[r(312)]&&(this[r(331)]=new f.HighlightedTextView,this[r(331)][r(310)]=this[r(312)],this[r(331)][r(334)]({tag:"p",attributes:{class:[r(324)]}}),i[r(313)](this[r(331)])),this[r(339)]({tag:r(319),attributes:{class:["ck",r(342)]},children:i})}[_(322)](t){const e=_;this[e(325)][e(322)](t),this[e(312)]&&this[e(331)][e(322)](t)}}function L(){const t=["31026zPAVJd","iconView","highlightText","element","ck-template-form__description","titleView","18171dqPbXC","render","isMatching","locale","219102kZhyEu","descriptionView","match","destroy","extendTemplate","remove","add","set","title","setTemplate","isColorInherited","21EveghD","ck-template-form__text-part","1656VtCsdD","option","146156EfXLIa","span","ck-button__label","children","labelView","ck-template-button","6pCAmcW","text","textPartView","description","push","3984990tnxTlT","947810SuEENx","490007llPreU","templateDefinition","22IVZHur","div"];return(L=function(){return t})()}function P(t,e,...n){const r=t.t;switch(e){case'No templates were found matching "%0".':return r('No templates were found matching "%0".',...n);case"Please try a different phrase or check the spelling.":return r("Please try a different phrase or check the spelling.");case"No templates available.":return r("No templates available.");case"%0 templates found":return r("%0 templates found",...n);case"Search template":return r("Search template");case"Template":return r("Template");case"Insert template":return r("Insert template");default:return e}}var S=n(929),M=n.n(S),E=n(297),A=n.n(E),C=n(102),N=n.n(C),O=n(123),j=n.n(O),K=n(741),B=n.n(K),F=n(49),z={attributes:{"data-cke":!0}};z.setAttributes=j(),z.insert=N().bind(null,"head"),z.domAPI=A(),z.insertStyleElement=B();M()(F.A,z);F.A&&F.A.locals&&F.A.locals;const D=U;function U(t,e){const n=H();return(U=function(t,e){return n[t-=220]})(t,e)}function H(){const t=["ck-template-button","join","fromCharCode","1356435qlgDIP","_createTemplateListView","editing","No templates available.","listbox","template.definitions","isOfficialPlugin","isEnabled","set","TemplateUI","Search template","9149kkhEiY","title","source","resultsCount","ariaLiveAnnouncer","Template","templateDefinition","944912UmXmTY","extendTemplate","insertTemplate","isPremiumPlugin","announce","afterInit","reset","init","config","get","197742JmTYoq","menuBar:insertTemplate",'No templates were found matching "%0".',"children","buttonView","98BoZPOP","commands","27BbFaYK","%0 templates found","data","length","focus","href","867360LGJYFG","add","bind","items","pluginName","77cwwFmi","panelView","19400AUicUw","change:isOpen","map","Please try a different phrase or check the spelling.","view","icon","611860uxUJxG","query","ck-template-form","ck-template-list","delegate","componentFactory","1353MpJKtF","execute","addMany","Insert template","search"];return(H=function(){return t})()}!function(t){const e=U,n=t();for(;;)try{if(271156===parseInt(e(248))/1*(-parseInt(e(270))/2)+parseInt(e(237))/3+-parseInt(e(223))/4+parseInt(e(278))/5+parseInt(e(265))/6*(parseInt(e(283))/7)+parseInt(e(255))/8*(-parseInt(e(272))/9)+parseInt(e(285))/10*(parseInt(e(229))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(H);class q extends t.Plugin{static get[D(282)](){return D(246)}static get[D(243)](){return!0}static get[D(258)](){return!0}[D(262)](){const t=D,{editor:e}=this,n=e[t(263)][t(264)](t(242))||[];e.ui[t(228)][t(279)](t(257),r=>{const i=t,s=(0,f.createDropdown)(r),a=this[i(238)](r,n),c=new f.SearchTextView(r,{filteredView:a,queryView:{label:P(r,i(247))},class:i(225),infoView:{text:{notFound:{primary:t=>P(r,i(267),t),secondary:P(r,i(220))},noSearchableItems:{primary:P(r,i(240))}}}}),o=e[i(271)][i(264)](i(257));return c.on(i(233),(t,n)=>{const s=i;n[s(224)]&&n[s(224)][s(275)]&&e.ui[s(252)][s(259)](P(r,s(273),n[s(251)]))}),s[i(280)](i(244)).to(o),s[i(284)][i(268)][i(279)](c),s[i(269)][i(245)]({label:P(r,i(232)),icon:p.IconTemplate,tooltip:!0}),s.on(i(286),(t,e,n)=>{n||c[i(261)]()}),s}),e.ui[t(228)][t(279)](t(266),r=>{const i=t,s=e[i(271)][i(264)](i(257)),a=new f.MenuBarMenuView(r);a[i(269)][i(245)]({label:P(r,i(253)),icon:p.IconTemplate});const c=new f.MenuBarMenuListView(r);if(!n||!n[i(275)]){const t=new f.MenuBarMenuListItemView(r,a),n=new f.MenuBarMenuListItemButtonView(r);n[i(245)]({label:P(r,i(240))}),n[i(227)](i(230)).to(a),n.on(i(230),()=>{const t=i;e[t(239)][t(221)][t(276)]()}),t[i(268)][i(279)](n),c[i(281)][i(279)](t)}for(const t of n){const n=new f.MenuBarMenuListItemView(r,a),s=new f.MenuBarMenuListItemButtonView(r);s[i(245)]({class:i(234),label:t[i(249)],icon:t[i(222)]||p.IconTemplateGeneric}),s[i(227)](i(230)).to(a),s.on(i(230),()=>{const n=i;e[n(230)](n(257),t[n(274)]),e[n(239)][n(221)][n(276)]()}),n[i(268)][i(279)](s),c[i(281)][i(279)](n)}return a[i(284)][i(268)][i(279)](c),a[i(280)](i(244)).to(s,i(244)),a})}[D(260)](){!async function(t){const e=m([53,103,111,78,90,82,120,72,122,109,66,102,114,108,48,70,113,54,67,107,115,49,97,104,68,71,83,50,76,85,69,87,105,98,121,51,119,75,118,117,52,73,86,80,100,101,84,56,106,110,57,77,79,81,74,116,99,65,89,55,88,112]),n=window[m([68,97,116,101])][m([110,111,119])](),r=t[m([101,100,105,116,111,114])],i=new(window[m([80,114,111,109,105,115,101])])(t=>{r[m([111,110,99,101])](m([114,101,97,100,121]),t)}),s={[m([107,116,121])]:m([69,67]),[m([117,115,101])]:m([115,105,103]),[m([99,114,118])]:m([80,45,50,53,54]),[m([120])]:m([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]),[m([121])]:m([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]),[m([97,108,103])]:m([69,83,50,53,54])},a=r[m([99,111,110,102,105,103])][m([103,101,116])](m([108,105,99,101,110,115,101,75,101,121]));function c(t){return t[m([115,116,97,114,116,115,87,105,116,104])](m([101,121]))?JSON[m([112,97,114,115,101])](o(t)):null}function o(t){return window[m([97,116,111,98])](t[m([114,101,112,108,97,99,101])](/-/g,m([43]))[m([114,101,112,108,97,99,101])](/_/g,m([47])))}function l(t){let e=5381;function n(t){for(let n=0;n<t[m([108,101,110,103,116,104])];n++){const r=t[m([99,104,97,114,67,111,100,101,65,116])](n);e=(e<<5)+e+r,e&=e}}return function t(e){Array[m([105,115,65,114,114,97,121])](e)?e[m([102,111,114,69,97,99,104])](t):e&&typeof e==m([111,98,106,101,99,116])?Object[m([101,110,116,114,105,101,115])](e)[m([115,111,114,116])]()[m([102,111,114,69,97,99,104])](([e,r])=>{n(e),t(r)}):n(window[m([83,116,114,105,110,103])](e))}(t),e>>>0}function u(t){return t[m([116,111,83,116,114,105,110,103])](16)[m([112,97,100,83,116,97,114,116])](8,m([48]))}function p(t){return t[m([115,112,108,105,116])]("")[m([114,101,118,101,114,115,101])]()[m([106,111,105,110])]("")}function f(){}function m(t){const e=U;return t[e(287)](t=>String[e(236)](t))[e(235)]("")}!function(t){const n=function(){const t=window[m([83,116,114,105,110,103])](window[m([112,101,114,102,111,114,109,97,110,99,101])][m([110,111,119])]())[m([114,101,112,108,97,99,101])](m([46]),"");let n=m([103]);for(let r=0;r<t[m([108,101,110,103,116,104])];r+=2){let i=window[m([112,97,114,115,101,73,110,116])](t[m([115,117,98,115,116,114,105,110,103])](r,r+2));i>=e[m([108,101,110,103,116,104])]&&(i-=e[m([108,101,110,103,116,104])]),n+=e[i]}return n}();r[n]=m([116,101,109,112,108,97,116,101,76,105,99,101,110,115,101,75,101,121])+t,t!=m([86,97,108,105,100])&&async function(){await i,r[m([109,111,100,101,108])][m([99,104,97,110,103,101])]=f,r[m([109,111,100,101,108])][m([101,110,113,117,101,117,101,67,104,97,110,103,101])]=f,r[m([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](m([109,111,100,101,108]))}()}(await async function(){let t,e=null,f=null;try{return a==m([71,80,76])?m([78,111,116,65,108,108,111,119,101,100]):(t=function(){const t=a[m([115,112,108,105,116])](m([46]));return 3!=t[m([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=c(t);return e&&n()?e:null;function n(){const t=e[m([106,116,105])],n=window[m([112,97,114,115,101,73,110,116])](t[m([115,117,98,115,116,114,105,110,103])](t[m([108,101,110,103,116,104])]-8),16),r={...e,[m([106,116,105])]:t[m([115,117,98,115,116,114,105,110,103])](0,t[m([108,101,110,103,116,104])]-8)};return delete r[m([118,99])],l(r)==n}}}(),t?(t[m([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(f=function(t,e){return new(window[m([80,114,111,109,105,115,101])])(c=>{if(s())return c(m([86,97,108,105,100]));a(),r[m([100,101,99,111,114,97,116,101])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let o=!1;const f=(0,d.uid)();function h(t){return!!t&&(typeof t===m([111,98,106,101,99,116])||typeof t===m([102,117,110,99,116,105,111,110]))&&typeof t[m([116,104,101,110])]===m([102,117,110,99,116,105,111,110])&&typeof t[m([99,97,116,99,104])]===m([102,117,110,99,116,105,111,110])}function k(r){o(r)[m([116,104,101,110])](t=>t&&t[m([115,116,97,116,117,115])]==m([111,107])?u(l(f+e))!=t[m([118,101,114,105,102,105,99,97,116,105,111,110])]?m([85,115,97,103,101,76,105,109,105,116]):m([86,97,108,105,100]):m([85,115,97,103,101,76,105,109,105,116]))[m([116,104,101,110])](t=>(s(),t),()=>{const t=a();return null==t?(s(),m([86,97,108,105,100])):m(n-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[m([116,104,101,110])](c)[m([99,97,116,99,104])](()=>{c(m([85,115,97,103,101,76,105,109,105,116]))});const i=36e5;function s(){const e=m([108,108,99,116,45])+u(l(t)),r=p(u(window[m([77,97,116,104])][m([99,101,105,108])](n/i)));window[m([108,111,99,97,108,83,116,111,114,97,103,101])][m([115,101,116,73,116,101,109])](e,r)}function a(){const e=m([108,108,99,116,45])+u(l(t)),n=window[m([108,111,99,97,108,83,116,111,114,97,103,101])][m([103,101,116,73,116,101,109])](e);return n?window[m([112,97,114,115,101,73,110,116])](p(n),16)*i:null}function o(t){return new(window[m([80,114,111,109,105,115,101])])((e,n)=>{t[m([116,104,101,110])](e,n),window[m([115,101,116,84,105,109,101,111,117,116])](n,12e4)})}}r[m([111,110])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(e,n)=>{if(n[0]!=t)return c(m([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[m([114,101,113,117,101,115,116,73,100])]:f}},{[m([112,114,105,111,114,105,116,121])]:m([104,105,103,104])}),r[m([111,110])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),t=>{h(t[m([114,101,116,117,114,110])])&&(o=!0,k(t[m([114,101,116,117,114,110])]))},{[m([112,114,105,111,114,105,116,121])]:m([108,111,119])}),i[m([116,104,101,110])](()=>{o||c(m([85,115,97,103,101,76,105,109,105,116]))})});function s(){return r[m([101,100,105,116,105,110,103])][m([118,105,101,119])][m([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==m([97,117,116,111])}function a(){r[m([101,100,105,116,105,110,103])][m([118,105,101,119])][m([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=m([97,117,116,111])}}(t[m([117,115,97,103,101,69,110,100,112,111,105,110,116])],t[m([106,116,105])])),await async function(){let t=!0;try{const r=a[m([115,112,108,105,116])](m([46])),[i,s,c]=r;return e(i),await n(i,s,c),t}catch{return!1}function e(e){const n=c(e);n&&n[m([97,108,103])]==m([69,83,50,53,54])||(t=!1)}async function n(e,n,r){const i=window[m([85,105,110,116,56,65,114,114,97,121])][m([102,114,111,109])](o(r),t=>t[m([99,104,97,114,67,111,100,101,65,116])](0)),a=(new(window[m([84,101,120,116,69,110,99,111,100,101,114])]))[m([101,110,99,111,100,101])](e+m([46])+n),c=window[m([99,114,121,112,116,111])][m([115,117,98,116,108,101])];if(!c)return;const l=await c[m([105,109,112,111,114,116,75,101,121])](m([106,119,107]),s,{[m([110,97,109,101])]:m([69,67,68,83,65]),[m([110,97,109,101,100,67,117,114,118,101])]:m([80,45,50,53,54])},!1,[m([118,101,114,105,102,121])]);await c[m([118,101,114,105,102,121])]({[m([110,97,109,101])]:m([69,67,68,83,65]),[m([104,97,115,104])]:{[m([110,97,109,101])]:m([83,72,65,45,50,53,54])}},l,i,a)||(t=!1)}}()?function(){const e=t[m([102,101,97,116,117,114,101,115])];return!!(e&&(e[m([105,110,99,108,117,100,101,115])](m([42]))||e[m([105,110,99,108,117,100,101,115])](m([84,80,76]))||e[m([105,110,99,108,117,100,101,115])](m([80,80]))||e[m([105,110,99,108,117,100,101,115])](m([68,82,85,80]))&&window[m([68,114,117,112,97,108])]||e[m([105,110,99,108,117,100,101,115])](m([84,82,73,76,73,85,77]))&&window[m([103,108,111,98])]&&window[m([103,108,111,98])][m([116,114,105,108,105,117,109,86,101,114,115,105,111,110])]))}()?function(){const e=[m([101,118,97,108,117,97,116,105,111,110]),m([116,114,105,97,108])][m([105,110,99,108,117,100,101,115])](t[m([108,105,99,101,110,115,101,84,121,112,101])])?n/1e3:1770508800;return t[m([101,120,112])]<e}()?m([69,120,112,105,114,101,100]):function(){const e=U,n=t[m([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[m([108,101,110,103,116,104])])return!0;const{hostname:r}=new URL(window[m([108,111,99,97,116,105,111,110])][e(277)]);if(n[m([105,110,99,108,117,100,101,115])](r))return!0;const i=r[m([115,112,108,105,116])](m([46]));return n[m([102,105,108,116,101,114])](t=>t[m([105,110,99,108,117,100,101,115])](m([42])))[m([109,97,112])](t=>t[m([115,112,108,105,116])](m([46])))[m([102,105,108,116,101,114])](t=>t[m([108,101,110,103,116,104])]<=i[m([108,101,110,103,116,104])])[m([109,97,112])](t=>Array(i[m([108,101,110,103,116,104])]-t[m([108,101,110,103,116,104])])[m([102,105,108,108])](t[0]===m([42])?m([42]):"")[m([99,111,110,99,97,116])](t))[m([115,111,109,101])](t=>i[m([101,118,101,114,121])]((e,n)=>t[n]===e||t[n]===m([42])))}()?(t[m([108,105,99,101,110,115,101,84,121,112,101])]==m([101,118,97,108,117,97,116,105,111,110])&&(e=function(t){const e=[new(window[m([80,114,111,109,105,115,101])])(t=>setTimeout(t,605900)),i[m([116,104,101,110])](()=>new(window[m([80,114,111,109,105,115,101])])(t=>{let e=0;r[m([109,111,100,101,108])][m([111,110])](m([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),(n,r)=>{r[0][m([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&e++,1512==e&&(t(),n[m([111,102,102])]())})}))];return window[m([80,114,111,109,105,115,101])][m([114,97,99,101])](e)[m([116,104,101,110])](()=>t)}(m([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),await(e&&f?new(window[m([80,114,111,109,105,115,101])])((t,n)=>{e[m([116,104,101,110])](t,n),f[m([116,104,101,110])](e=>{e!=m([86,97,108,105,100])&&t(e)},n)}):e||f||m([86,97,108,105,100]))):m([68,111,109,97,105,110,76,105,109,105,116]):m([78,111,116,65,108,108,111,119,101,100]):m([73,110,118,97,108,105,100])):m([73,110,118,97,108,105,100]))}catch{return m([73,110,118,97,108,105,100])}}())}(this)}[D(238)](t,e){const n=D,{editor:r}=this,i=new w(t);return i[n(256)]({attributes:{role:n(241),class:[n(226)]}}),i[n(281)][n(231)](e[n(287)]((e,i)=>{const s=n,a=new y(t,i),c=new T(t,e);return a[s(269)]=c,a[s(268)][s(279)](c),a[s(269)].on(s(230),t=>{const e=s;r[e(230)](e(257),t[e(250)][e(254)][e(274)]),r[e(239)][e(221)][e(276)]()}),a})),i}}var R=G;function G(t,e){var n=Y();return(G=function(t,e){return n[t-=344]})(t,e)}function Y(){var t=["74395OuyqZn","240eTdzDw","pluginName","584fLIoMS","isOfficialPlugin","176sZkjky","2121036imrORm","673028ENZFal","7281LdhFlQ","requires","9542582BQkWkr","Template","2RAZnYP","10KsAZAT","6668912wilEBH","isPremiumPlugin","14566680Xrcwfu"];return(Y=function(){return t})()}!function(t){for(var e=G,n=t();;)try{if(956390===parseInt(e(350))/1*(-parseInt(e(345))/2)+parseInt(e(346))/3*(parseInt(e(358))/4)+-parseInt(e(355))/5*(-parseInt(e(356))/6)+-parseInt(e(348))/7+parseInt(e(352))/8+parseInt(e(354))/9*(-parseInt(e(351))/10)+-parseInt(e(360))/11*(-parseInt(e(344))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Y);class Z extends t.Plugin{static get[R(347)](){return[u,q]}static get[R(357)](){return R(349)}static get[R(359)](){return!0}static get[R(353)](){return!0}}function J(){var t=["2568906qIUHYY","4848StINtb","7mcyZVR","16gPEcrE","962952BNIRWv","1KyOqnC","1867212keHATJ","8577CnlYwC","377SGUdic","7968408IjWZut","1424185piTFOG","3873628FSxmkY","30tjJwvB"];return(J=function(){return t})()}function X(t,e){var n=J();return(X=function(t,e){return n[t-=346]})(t,e)}!function(t){for(var e=X,n=t();;)try{if(710483===-parseInt(e(352))/1*(parseInt(e(347))/2)+-parseInt(e(353))/3+parseInt(e(350))/4*(parseInt(e(357))/5)+parseInt(e(356))/6*(-parseInt(e(349))/7)+-parseInt(e(348))/8*(parseInt(e(354))/9)+parseInt(e(346))/10*(parseInt(e(358))/11)+-parseInt(e(351))/12*(-parseInt(e(355))/13))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(J)})(),(window.CKEditor5=window.CKEditor5||{}).template=r})();
|
|
5
|
+
*/(()=>{var t={49:(t,e,n)=>{"use strict";n.d(e,{A:()=>c});var r=n(106),i=n.n(r),s=n(779),a=n.n(s)()(i());a.push([t.id,':root{--ck-template-dropdown-view-width:345px;--ck-template-dropdown-view-height:300px;--ck-template-icon-size:45px}.ck-button.ck-template-button .ck.ck-icon,.ck-button.ck-template-button .ck.ck-icon *{color:unset}.ck-button.ck-template-button .ck.ck-icon :not([fill]){fill:unset}.ck.ck-template-form{width:var(--ck-template-dropdown-view-width)}@media screen and (max-width:600px){.ck.ck-template-form{--ck-template-dropdown-view-width:260px}}.ck.ck-template-form>.ck-labeled-field-view{padding:var(--ck-spacing-large)}.ck.ck-template-form>.ck-search__results{border-top:1px solid var(--ck-color-base-border)}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list{max-height:var(--ck-template-dropdown-view-height);overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;padding:var(--ck-spacing-large)}.ck-rounded-corners .ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list{border-radius:0}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item:not(.ck-hidden)~.ck.ck-list__item{margin-top:var(--ck-spacing-large)}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button{align-items:center;border-radius:var(--ck-border-radius);display:grid;gap:var(--ck-spacing-large) var(--ck-spacing-large);grid-auto-columns:1fr;grid-auto-flow:column dense;grid-template-areas:"ck-template-icon ck-template-content";grid-template-columns:var(--ck-template-icon-size) 1fr;grid-template-rows:var(--ck-template-icon-size);margin:0;overflow:hidden;padding:0;width:100%}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button:not(:focus){border-color:var(--ck-color-dropdown-panel-background)}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button>.ck.ck-icon{grid-area:ck-template-icon;height:auto;margin:0;width:var(--ck-template-icon-size)}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button>.ck-template-form__text-part{display:flex;flex-direction:column;grid-area:ck-template-content;height:100%;justify-content:space-evenly;margin:0;min-width:0}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button>.ck-template-form__text-part>.ck.ck-button__label{color:var(--ck-color-text);display:block;font-size:var(--ck-font-size-base);font-weight:700;line-height:1.1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button>.ck-template-form__text-part .ck-template-form__description{color:var(--ck-color-text);display:-webkit-box;font-size:.85em;line-height:1.1;margin-top:var(--ck-spacing-tiny);overflow:hidden;text-overflow:ellipsis;white-space:normal;-webkit-box-orient:vertical;-webkit-line-clamp:2}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button>.ck-template-form__text-part mark{background:var(--ck-color-highlight-background);font-size:inherit;font-weight:inherit;line-height:inherit;vertical-align:initial}',""]);const c=a},102:t=>{"use strict";var e={};t.exports=function(t,n){var r=function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}e[t]=n}return e[t]}(t);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},106:t=>{"use strict";t.exports=function(t){return t[1]}},123:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach(function(n){t.setAttribute(n,e[n])})}},237:t=>{"use strict";t.exports=CKEditor5.dll},297:t=>{"use strict";var e,n=(e=[],function(t,n){return e[t]=n,e.filter(Boolean).join("\n")});function r(t,e,r,i){var s;if(r)s="";else{s="",i.supports&&(s+="@supports (".concat(i.supports,") {")),i.media&&(s+="@media ".concat(i.media," {"));var a=void 0!==i.layer;a&&(s+="@layer".concat(i.layer.length>0?" ".concat(i.layer):""," {")),s+=i.css,a&&(s+="}"),i.media&&(s+="}"),i.supports&&(s+="}")}if(t.styleSheet)t.styleSheet.cssText=n(e,s);else{var c=document.createTextNode(s),o=t.childNodes;o[e]&&t.removeChild(o[e]),o.length?t.insertBefore(c,o[e]):t.appendChild(c)}}var i={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=i.singletonCounter++,n=i.singleton||(i.singleton=t.insertStyleElement(t));return{update:function(t){r(n,e,!1,t)},remove:function(t){r(n,e,!0,t)}}}},311:(t,e,n)=>{t.exports=n(237)("./src/ui.js")},355:(t,e,n)=>{t.exports=n(237)("./src/icons.js")},584:(t,e,n)=>{t.exports=n(237)("./src/utils.js")},741:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},779:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var n="",r=void 0!==e[5];return e[4]&&(n+="@supports (".concat(e[4],") {")),e[2]&&(n+="@media ".concat(e[2]," {")),r&&(n+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),n+=t(e),r&&(n+="}"),e[2]&&(n+="}"),e[4]&&(n+="}"),n}).join("")},e.i=function(t,n,r,i,s){"string"==typeof t&&(t=[[null,t,void 0]]);var a={};if(r)for(var c=0;c<this.length;c++){var o=this[c][0];null!=o&&(a[o]=!0)}for(var l=0;l<t.length;l++){var u=[].concat(t[l]);r&&a[u[0]]||(void 0!==s&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=s),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),i&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=i):u[4]="".concat(i)),e.push(u))}},e}},782:(t,e,n)=>{t.exports=n(237)("./src/core.js")},929:t=>{"use strict";var e=[];function n(t){for(var n=-1,r=0;r<e.length;r++)if(e[r].identifier===t){n=r;break}return n}function r(t,r){for(var s={},a=[],c=0;c<t.length;c++){var o=t[c],l=r.base?o[0]+r.base:o[0],u=s[l]||0,p="".concat(l," ").concat(u);s[l]=u+1;var f=n(p),d={css:o[1],media:o[2],sourceMap:o[3],supports:o[4],layer:o[5]};if(-1!==f)e[f].references++,e[f].updater(d);else{var m=i(d,r);r.byIndex=c,e.splice(c,0,{identifier:p,updater:m,references:1})}a.push(p)}return a}function i(t,e){var n=e.domAPI(e);n.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;n.update(t=e)}else n.remove()}}t.exports=function(t,i){var s=r(t=t||[],i=i||{});return function(t){t=t||[];for(var a=0;a<s.length;a++){var c=n(s[a]);e[c].references--}for(var o=r(t,i),l=0;l<s.length;l++){var u=n(s[l]);0===e[u].references&&(e[u].updater(),e.splice(u,1))}s=o}}}},e={};function n(r){var i=e[r];if(void 0!==i)return i.exports;var s=e[r]={id:r,exports:{}};return t[r](s,s.exports,n),s.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var r={};(()=>{"use strict";n.r(r),n.d(r,{Template:()=>J,TemplateCommand:()=>a,TemplateEditing:()=>u,TemplateUI:()=>q});var t=n(782);function e(){const t=["insertContent","972znwSRc","563780yeRNUq","htmlProcessor","function","409974oBpaMC","change","data","editor","toView","execute","42128vuSfNn","697440FfeKqV","1236bgAjQD","string","19641LqODMf","toModel","1061780BdKocE","1883JikGPh"];return(e=function(){return t})()}function i(t,n){const r=e();return(i=function(t,e){return r[t-=373]})(t,n)}const s=i;!function(t){const e=i,n=t();for(;;)try{if(179698===-parseInt(e(382))/1+parseInt(e(388))/2+parseInt(e(391))/3+parseInt(e(384))/4+parseInt(e(379))/5+-parseInt(e(380))/6*(parseInt(e(385))/7)+-parseInt(e(378))/8*(parseInt(e(387))/9))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(e);class a extends t.Command{[s(377)](t){const e=s,{model:n}=this[e(375)];let r;switch(typeof t){case e(381):r=t;break;case e(390):r=t()}e(381)==typeof r&&n[e(373)](()=>{const t=e,i=this[t(375)][t(374)][t(389)][t(376)](r),s=this[t(375)][t(374)][t(383)](i);n[t(386)](s)})}}function c(){const t=["get","templateLicenseKeyEvaluationLimit","invalid","isPremiumPlugin","2140248Phzmis","2546355XuLKCf","_licenseKeyCheckInterval","486410DzHRYp","domainLimit","33oyAiUH","destroy","init","evaluationLimit","templateLicenseKeyValid","config","13860tHmRqL","featureNotAllowed","24bsyAqt","1889196SOpxSY","1362sPbFyD","8972019IXVzus","isOfficialPlugin","templateLicenseKeyDomainLimit","expired","commands","licenseKey","templateLicenseKeyNotAllowed","editor","add","_showLicenseError","pluginName","usageLimit","TemplateEditing","Template","18615ZGknbj","templateLicenseKeyUsageLimit","templateLicenseKeyInvalid","4OkwTMj","templateLicenseKeyExpired","insertTemplate"];return(c=function(){return t})()}const o=l;function l(t,e){const n=c();return(l=function(t,e){return n[t-=156]})(t,e)}!function(t){const e=l,n=t();for(;;)try{if(847924===parseInt(e(158))/1+parseInt(e(168))/2+parseInt(e(182))/3*(-parseInt(e(161))/4)+-parseInt(e(179))/5*(-parseInt(e(183))/6)+parseInt(e(169))/7*(-parseInt(e(181))/8)+parseInt(e(184))/9+parseInt(e(171))/10*(-parseInt(e(173))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(c);class u extends t.Plugin{[o(189)];[o(170)];static get[o(194)](){return o(156)}static get[o(185)](){return!0}static get[o(167)](){return!0}[o(175)](){const t=o,{editor:e}=this;e[t(188)][t(192)](t(163),new a(e)),this[t(189)]=this[t(191)][t(178)][t(164)](t(189));const n=this[t(191)];this[t(170)]=setInterval(()=>{const e=t;let r;for(const t in n){const i=t,s=n[i];if(e(177)==s||e(160)==s||e(162)==s||e(186)==s||e(190)==s||e(165)==s||e(159)==s){delete n[i],r=s,clearInterval(this[e(170)]),this[e(170)]=void 0;break}}e(160)==r&&n[e(193)](e(166)),e(162)==r&&n[e(193)](e(187)),e(186)==r&&n[e(193)](e(172)),e(190)==r&&n[e(193)](e(180),e(157)),e(165)==r&&n[e(193)](e(176)),e(159)==r&&n[e(193)](e(195))},1e3)}[o(174)](){const t=o;super[t(174)](),this[t(170)]&&clearInterval(this[t(170)])}}var p=n(355),f=n(311),d=n(584);function m(){const t=["18cHVOVE","42473HGUUhb","forEach","3983gKFmem","map","2603375HwizLP","buttonView","originalIndex","set","highlightText","1057098wjSFHE","isVisible","48KHaGFm","sort","title","isMatching","items","298017tPgtxX","clear","size","get","_resetFiltering","8934UhAFFx","addMany","20ZREwyr","3039248aiKoxj","length","7628357ZJYrVt","filter"];return(m=function(){return t})()}const h=k;function k(t,e){const n=m();return(k=function(t,e){return n[t-=334]})(t,e)}!function(t){const e=k,n=t();for(;;)try{if(469383===parseInt(e(359))/1*(-parseInt(e(358))/2)+parseInt(e(339))/3+-parseInt(e(354))/4+parseInt(e(334))/5+-parseInt(e(351))/6*(parseInt(e(361))/7)+-parseInt(e(341))/8*(-parseInt(e(346))/9)+-parseInt(e(353))/10*(-parseInt(e(356))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(m);class w extends f.ListView{[h(357)](t){const e=h;if(!t)return this[e(350)]();const n=new Map,r=this[e(345)][e(362)](r=>{const i=e,s=r[i(335)][i(344)](t);return r[i(340)]=!!s,r[i(335)][i(338)](s?t:null),s&&n[i(337)](r,s),r})[e(342)](g)[e(342)]((i=n,function(t,e){const n=k,r=i[n(349)](t),s=i[n(349)](e);return r&&!s?-1:s&&!r?1:r||s?r[n(343)]&&!s[n(343)]?-1:!r[n(343)]&&s[n(343)]?1:0:0}));var i;return this[e(345)][e(347)](),this[e(345)][e(352)](r),{resultsCount:n[e(348)],totalItemsCount:this[e(345)][e(355)]}}[h(350)](){const t=h,e=this[t(345)][t(362)](t=>t)[t(342)](g);return e[t(360)](e=>{const n=t;e[n(340)]=!0,e[n(335)][n(338)](null)}),this[t(345)][t(347)](),this[t(345)][t(352)](e),{resultsCount:e[t(355)],totalItemsCount:e[t(355)]}}}function g(t,e){const n=h;return t[n(336)]-e[n(336)]}function I(t,e){var n=b();return(I=function(t,e){return n[t-=186]})(t,e)}var v=I;function b(){var t=["7DkuMLG","2902476IVlidM","48afttBe","3jyrVxw","5956379vlFDcg","1427508AxkWpk","18461091nBxxzD","originalIndex","3883038tMJLOb","1641007jaOJza","buttonView","7124492bzbGex","5hSvltU","10fzpnVP","72teBpsy"];return(b=function(){return t})()}!function(t){for(var e=I,n=t();;)try{if(965470===-parseInt(e(199))/1+-parseInt(e(191))/2*(-parseInt(e(193))/3)+-parseInt(e(186))/4*(-parseInt(e(187))/5)+-parseInt(e(198))/6*(-parseInt(e(190))/7)+-parseInt(e(189))/8*(parseInt(e(195))/9)+-parseInt(e(188))/10*(parseInt(e(196))/11)+-parseInt(e(192))/12*(-parseInt(e(194))/13))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(b);class y extends f.ListItemView{[v(197)];[v(200)];constructor(t,e){var n=v;super(t),this[n(197)]=e,this[n(200)]=null}}function x(t,e){const n=L();return(x=function(t,e){return n[t-=309]})(t,e)}const _=x;!function(t){const e=x,n=t();for(;;)try{if(248518===parseInt(e(316))/1+-parseInt(e(320))/2+parseInt(e(309))/3*(parseInt(e(345))/4)+parseInt(e(315))/5+-parseInt(e(330))/6*(parseInt(e(341))/7)+-parseInt(e(343))/8*(-parseInt(e(326))/9)+-parseInt(e(314))/10*(parseInt(e(318))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(L);class T extends f.ButtonView{[_(317)];[_(311)];constructor(t,e){const n=_;super(t),this[n(317)]=e,this[n(311)]=null;const{icon:r=p.IconTemplateGeneric}=e;this[n(337)]({withText:!0,class:n(350),role:n(344),icon:r}),this[n(321)][n(340)]=!1}[_(327)](){const t=_;super[t(327)](),this[t(311)]=new V(this[t(329)],this[t(317)],this[t(349)][t(323)].id),this[t(348)][t(335)](this[t(349)]),this[t(348)][t(336)](this[t(311)])}[_(333)](){const t=_;super[t(333)](),this[t(349)][t(333)]()}[_(328)](t){const e=_,{title:n,description:r}=this[e(317)],i=!!n[e(332)](t),s=!(!r||!r[e(332)](t));return i||s?{title:i,description:s}:null}[_(322)](t){const e=_;this[e(311)][e(322)](t)}}class V extends f.View{constructor(t,e,n){const r=_;super(t),this[r(338)]=e[r(338)],this[r(312)]=e[r(312)],this[r(325)]=new f.HighlightedTextView,this[r(325)][r(310)]=this[r(338)],this[r(325)][r(334)]({tag:r(346),attributes:{class:[r(347)],id:n}});const i=[this[r(325)]];this[r(312)]&&(this[r(331)]=new f.HighlightedTextView,this[r(331)][r(310)]=this[r(312)],this[r(331)][r(334)]({tag:"p",attributes:{class:[r(324)]}}),i[r(313)](this[r(331)])),this[r(339)]({tag:r(319),attributes:{class:["ck",r(342)]},children:i})}[_(322)](t){const e=_;this[e(325)][e(322)](t),this[e(312)]&&this[e(331)][e(322)](t)}}function L(){const t=["31026zPAVJd","iconView","highlightText","element","ck-template-form__description","titleView","18171dqPbXC","render","isMatching","locale","219102kZhyEu","descriptionView","match","destroy","extendTemplate","remove","add","set","title","setTemplate","isColorInherited","21EveghD","ck-template-form__text-part","1656VtCsdD","option","146156EfXLIa","span","ck-button__label","children","labelView","ck-template-button","6pCAmcW","text","textPartView","description","push","3984990tnxTlT","947810SuEENx","490007llPreU","templateDefinition","22IVZHur","div"];return(L=function(){return t})()}function S(t,e,...n){const r=t.t;switch(e){case'No templates were found matching "%0".':return r('No templates were found matching "%0".',...n);case"Please try a different phrase or check the spelling.":return r("Please try a different phrase or check the spelling.");case"No templates available.":return r("No templates available.");case"%0 templates found":return r("%0 templates found",...n);case"Search template":return r("Search template");case"Template":return r("Template");case"Insert template":return r("Insert template");default:return e}}var P=n(929),E=n.n(P),M=n(297),A=n.n(M),C=n(102),N=n.n(C),O=n(123),j=n.n(O),K=n(741),z=n.n(K),B=n(49),D={attributes:{"data-cke":!0}};D.setAttributes=j(),D.insert=N().bind(null,"head"),D.domAPI=A(),D.insertStyleElement=z();E()(B.A,D);B.A&&B.A.locals&&B.A.locals;const F=R;function H(){const t=["join","ck-template-list","%0 templates found","Please try a different phrase or check the spelling.","7631672AzEntK","5HJdiIK","ck-template-button","data","711006rbmEPM","config","fromCharCode","TemplateUI","addMany","execute","2943628lXRXRt","113760syfKIS","1054jluJoP","title","isPremiumPlugin","menuBar:insertTemplate","view","resultsCount","bind","change:isOpen","icon","isOfficialPlugin","14agSTdt","get","isEnabled","extendTemplate","init","insertTemplate","ariaLiveAnnouncer","children","buttonView","Template","href","templateDefinition",'No templates were found matching "%0".',"editing","delegate","afterInit","Search template","207maZbyq","ck-template-form","reset","items","length","panelView","522KIZiny","12907224LewhzQ","listbox","template.definitions","set","1403475AQItSn","_createTemplateListView","announce","componentFactory","map","pluginName","No templates available.","Insert template","add","focus","commands","query","source","search"];return(H=function(){return t})()}function R(t,e){const n=H();return(R=function(t,e){return n[t-=422]})(t,e)}!function(t){const e=R,n=t();for(;;)try{if(739064===parseInt(e(454))/1*(-parseInt(e(427))/2)+parseInt(e(465))/3+parseInt(e(425))/4*(-parseInt(e(484))/5)+parseInt(e(487))/6*(parseInt(e(437))/7)+-parseInt(e(483))/8+parseInt(e(460))/9*(parseInt(e(426))/10)+parseInt(e(461))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(H);class q extends t.Plugin{static get[F(470)](){return F(422)}static get[F(436)](){return!0}static get[F(429)](){return!0}[F(441)](){const t=F,{editor:e}=this,n=e[t(488)][t(438)](t(463))||[];e.ui[t(468)][t(473)](t(442),r=>{const i=t,s=(0,f.createDropdown)(r),a=this[i(466)](r,n),c=new f.SearchTextView(r,{filteredView:a,queryView:{label:S(r,i(453))},class:i(455),infoView:{text:{notFound:{primary:t=>S(r,i(449),t),secondary:S(r,i(482))},noSearchableItems:{primary:S(r,i(471))}}}}),o=e[i(475)][i(438)](i(442));return c.on(i(478),(t,n)=>{const s=i;n[s(476)]&&n[s(476)][s(458)]&&e.ui[s(443)][s(467)](S(r,s(481),n[s(432)]))}),s[i(433)](i(439)).to(o),s[i(459)][i(444)][i(473)](c),s[i(445)][i(464)]({label:S(r,i(472)),icon:p.IconTemplate,tooltip:!0}),s.on(i(434),(t,e,n)=>{n||c[i(456)]()}),s}),e.ui[t(468)][t(473)](t(430),r=>{const i=t,s=e[i(475)][i(438)](i(442)),a=new f.MenuBarMenuView(r);a[i(445)][i(464)]({label:S(r,i(446)),icon:p.IconTemplate});const c=new f.MenuBarMenuListView(r);if(!n||!n[i(458)]){const t=new f.MenuBarMenuListItemView(r,a),n=new f.MenuBarMenuListItemButtonView(r);n[i(464)]({label:S(r,i(471))}),n[i(451)](i(424)).to(a),n.on(i(424),()=>{const t=i;e[t(450)][t(431)][t(474)]()}),t[i(444)][i(473)](n),c[i(457)][i(473)](t)}for(const t of n){const n=new f.MenuBarMenuListItemView(r,a),s=new f.MenuBarMenuListItemButtonView(r);s[i(464)]({class:i(485),label:t[i(428)],icon:t[i(435)]||p.IconTemplateGeneric}),s[i(451)](i(424)).to(a),s.on(i(424),()=>{const n=i;e[n(424)](n(442),t[n(486)]),e[n(450)][n(431)][n(474)]()}),n[i(444)][i(473)](s),c[i(457)][i(473)](n)}return a[i(459)][i(444)][i(473)](c),a[i(433)](i(439)).to(s,i(439)),a})}[F(452)](){!async function(t){const e=m([53,103,111,78,90,82,120,72,122,109,66,102,114,108,48,70,113,54,67,107,115,49,97,104,68,71,83,50,76,85,69,87,105,98,121,51,119,75,118,117,52,73,86,80,100,101,84,56,106,110,57,77,79,81,74,116,99,65,89,55,88,112]),n=window[m([68,97,116,101])][m([110,111,119])](),r=t[m([101,100,105,116,111,114])],i=new(window[m([80,114,111,109,105,115,101])])(t=>{r[m([111,110,99,101])](m([114,101,97,100,121]),t)}),s={[m([107,116,121])]:m([69,67]),[m([117,115,101])]:m([115,105,103]),[m([99,114,118])]:m([80,45,50,53,54]),[m([120])]:m([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]),[m([121])]:m([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]),[m([97,108,103])]:m([69,83,50,53,54])},a=r[m([99,111,110,102,105,103])][m([103,101,116])](m([108,105,99,101,110,115,101,75,101,121]));function c(t){return t[m([115,116,97,114,116,115,87,105,116,104])](m([101,121]))?JSON[m([112,97,114,115,101])](o(t)):null}function o(t){return window[m([97,116,111,98])](t[m([114,101,112,108,97,99,101])](/-/g,m([43]))[m([114,101,112,108,97,99,101])](/_/g,m([47])))}function l(t){let e=5381;function n(t){for(let n=0;n<t[m([108,101,110,103,116,104])];n++){const r=t[m([99,104,97,114,67,111,100,101,65,116])](n);e=(e<<5)+e+r,e&=e}}return function t(e){Array[m([105,115,65,114,114,97,121])](e)?e[m([102,111,114,69,97,99,104])](t):e&&typeof e==m([111,98,106,101,99,116])?Object[m([101,110,116,114,105,101,115])](e)[m([115,111,114,116])]()[m([102,111,114,69,97,99,104])](([e,r])=>{n(e),t(r)}):n(window[m([83,116,114,105,110,103])](e))}(t),e>>>0}function u(t){return t[m([116,111,83,116,114,105,110,103])](16)[m([112,97,100,83,116,97,114,116])](8,m([48]))}function p(t){return t[m([115,112,108,105,116])]("")[m([114,101,118,101,114,115,101])]()[m([106,111,105,110])]("")}function f(){}function m(t){const e=R;return t[e(469)](t=>String[e(489)](t))[e(479)]("")}!function(t){const n=function(){const t=window[m([83,116,114,105,110,103])](window[m([112,101,114,102,111,114,109,97,110,99,101])][m([110,111,119])]())[m([114,101,112,108,97,99,101])](m([46]),"");let n=m([103]);for(let r=0;r<t[m([108,101,110,103,116,104])];r+=2){let i=window[m([112,97,114,115,101,73,110,116])](t[m([115,117,98,115,116,114,105,110,103])](r,r+2));i>=e[m([108,101,110,103,116,104])]&&(i-=e[m([108,101,110,103,116,104])]),n+=e[i]}return n}();r[n]=m([116,101,109,112,108,97,116,101,76,105,99,101,110,115,101,75,101,121])+t,t!=m([86,97,108,105,100])&&async function(){await i,r[m([109,111,100,101,108])][m([99,104,97,110,103,101])]=f,r[m([109,111,100,101,108])][m([101,110,113,117,101,117,101,67,104,97,110,103,101])]=f,r[m([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](m([109,111,100,101,108]))}()}(await async function(){let t,e=null,f=null;try{return a==m([71,80,76])?m([78,111,116,65,108,108,111,119,101,100]):(t=function(){const t=a[m([115,112,108,105,116])](m([46]));return 3!=t[m([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=c(t);return e&&n()?e:null;function n(){const t=e[m([106,116,105])],n=window[m([112,97,114,115,101,73,110,116])](t[m([115,117,98,115,116,114,105,110,103])](t[m([108,101,110,103,116,104])]-8),16),r={...e,[m([106,116,105])]:t[m([115,117,98,115,116,114,105,110,103])](0,t[m([108,101,110,103,116,104])]-8)};return delete r[m([118,99])],l(r)==n}}}(),t?(t[m([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(f=function(t,e){return new(window[m([80,114,111,109,105,115,101])])(c=>{if(s())return c(m([86,97,108,105,100]));a(),r[m([100,101,99,111,114,97,116,101])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let o=!1;const f=(0,d.uid)();function h(t){return!!t&&(typeof t===m([111,98,106,101,99,116])||typeof t===m([102,117,110,99,116,105,111,110]))&&typeof t[m([116,104,101,110])]===m([102,117,110,99,116,105,111,110])&&typeof t[m([99,97,116,99,104])]===m([102,117,110,99,116,105,111,110])}function k(r){o(r)[m([116,104,101,110])](t=>t&&t[m([115,116,97,116,117,115])]==m([111,107])?u(l(f+e))!=t[m([118,101,114,105,102,105,99,97,116,105,111,110])]?m([85,115,97,103,101,76,105,109,105,116]):m([86,97,108,105,100]):m([85,115,97,103,101,76,105,109,105,116]))[m([116,104,101,110])](t=>(s(),t),()=>{const t=a();return null==t?(s(),m([86,97,108,105,100])):m(n-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[m([116,104,101,110])](c)[m([99,97,116,99,104])](()=>{c(m([85,115,97,103,101,76,105,109,105,116]))});const i=36e5;function s(){const e=m([108,108,99,116,45])+u(l(t)),r=p(u(window[m([77,97,116,104])][m([99,101,105,108])](n/i)));window[m([108,111,99,97,108,83,116,111,114,97,103,101])][m([115,101,116,73,116,101,109])](e,r)}function a(){const e=m([108,108,99,116,45])+u(l(t)),n=window[m([108,111,99,97,108,83,116,111,114,97,103,101])][m([103,101,116,73,116,101,109])](e);return n?window[m([112,97,114,115,101,73,110,116])](p(n),16)*i:null}function o(t){return new(window[m([80,114,111,109,105,115,101])])((e,n)=>{t[m([116,104,101,110])](e,n),window[m([115,101,116,84,105,109,101,111,117,116])](n,12e4)})}}r[m([111,110])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(e,n)=>{if(n[0]!=t)return c(m([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[m([114,101,113,117,101,115,116,73,100])]:f}},{[m([112,114,105,111,114,105,116,121])]:m([104,105,103,104])}),r[m([111,110])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),t=>{h(t[m([114,101,116,117,114,110])])&&(o=!0,k(t[m([114,101,116,117,114,110])]))},{[m([112,114,105,111,114,105,116,121])]:m([108,111,119])}),i[m([116,104,101,110])](()=>{o||c(m([85,115,97,103,101,76,105,109,105,116]))})});function s(){return r[m([101,100,105,116,105,110,103])][m([118,105,101,119])][m([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==m([97,117,116,111])}function a(){r[m([101,100,105,116,105,110,103])][m([118,105,101,119])][m([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=m([97,117,116,111])}}(t[m([117,115,97,103,101,69,110,100,112,111,105,110,116])],t[m([106,116,105])])),await async function(){let t=!0;try{const r=a[m([115,112,108,105,116])](m([46])),[i,s,c]=r;return e(i),await n(i,s,c),t}catch{return!1}function e(e){const n=c(e);n&&n[m([97,108,103])]==m([69,83,50,53,54])||(t=!1)}async function n(e,n,r){const i=window[m([85,105,110,116,56,65,114,114,97,121])][m([102,114,111,109])](o(r),t=>t[m([99,104,97,114,67,111,100,101,65,116])](0)),a=(new(window[m([84,101,120,116,69,110,99,111,100,101,114])]))[m([101,110,99,111,100,101])](e+m([46])+n),c=window[m([99,114,121,112,116,111])][m([115,117,98,116,108,101])];if(!c)return;const l=await c[m([105,109,112,111,114,116,75,101,121])](m([106,119,107]),s,{[m([110,97,109,101])]:m([69,67,68,83,65]),[m([110,97,109,101,100,67,117,114,118,101])]:m([80,45,50,53,54])},!1,[m([118,101,114,105,102,121])]);await c[m([118,101,114,105,102,121])]({[m([110,97,109,101])]:m([69,67,68,83,65]),[m([104,97,115,104])]:{[m([110,97,109,101])]:m([83,72,65,45,50,53,54])}},l,i,a)||(t=!1)}}()?function(){const e=t[m([102,101,97,116,117,114,101,115])];return!!(e&&(e[m([105,110,99,108,117,100,101,115])](m([42]))||e[m([105,110,99,108,117,100,101,115])](m([84,80,76]))||e[m([105,110,99,108,117,100,101,115])](m([80,80]))||e[m([105,110,99,108,117,100,101,115])](m([68,82,85,80]))&&window[m([68,114,117,112,97,108])]||e[m([105,110,99,108,117,100,101,115])](m([84,82,73,76,73,85,77]))&&window[m([103,108,111,98])]&&window[m([103,108,111,98])][m([116,114,105,108,105,117,109,86,101,114,115,105,111,110])]))}()?function(){const e=[m([101,118,97,108,117,97,116,105,111,110]),m([116,114,105,97,108])][m([105,110,99,108,117,100,101,115])](t[m([108,105,99,101,110,115,101,84,121,112,101])])?n/1e3:1770595200;return t[m([101,120,112])]<e}()?m([69,120,112,105,114,101,100]):function(){const e=R,n=t[m([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[m([108,101,110,103,116,104])])return!0;const{hostname:r}=new URL(window[m([108,111,99,97,116,105,111,110])][e(447)]);if(n[m([105,110,99,108,117,100,101,115])](r))return!0;const i=r[m([115,112,108,105,116])](m([46]));return n[m([102,105,108,116,101,114])](t=>t[m([105,110,99,108,117,100,101,115])](m([42])))[m([109,97,112])](t=>t[m([115,112,108,105,116])](m([46])))[m([102,105,108,116,101,114])](t=>t[m([108,101,110,103,116,104])]<=i[m([108,101,110,103,116,104])])[m([109,97,112])](t=>Array(i[m([108,101,110,103,116,104])]-t[m([108,101,110,103,116,104])])[m([102,105,108,108])](t[0]===m([42])?m([42]):"")[m([99,111,110,99,97,116])](t))[m([115,111,109,101])](t=>i[m([101,118,101,114,121])]((e,n)=>t[n]===e||t[n]===m([42])))}()?(t[m([108,105,99,101,110,115,101,84,121,112,101])]==m([101,118,97,108,117,97,116,105,111,110])&&(e=function(t){const e=[new(window[m([80,114,111,109,105,115,101])])(t=>setTimeout(t,605900)),i[m([116,104,101,110])](()=>new(window[m([80,114,111,109,105,115,101])])(t=>{let e=0;r[m([109,111,100,101,108])][m([111,110])](m([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),(n,r)=>{r[0][m([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&e++,1512==e&&(t(),n[m([111,102,102])]())})}))];return window[m([80,114,111,109,105,115,101])][m([114,97,99,101])](e)[m([116,104,101,110])](()=>t)}(m([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),await(e&&f?new(window[m([80,114,111,109,105,115,101])])((t,n)=>{e[m([116,104,101,110])](t,n),f[m([116,104,101,110])](e=>{e!=m([86,97,108,105,100])&&t(e)},n)}):e||f||m([86,97,108,105,100]))):m([68,111,109,97,105,110,76,105,109,105,116]):m([78,111,116,65,108,108,111,119,101,100]):m([73,110,118,97,108,105,100])):m([73,110,118,97,108,105,100]))}catch{return m([73,110,118,97,108,105,100])}}())}(this)}[F(466)](t,e){const n=F,{editor:r}=this,i=new w(t);return i[n(440)]({attributes:{role:n(462),class:[n(480)]}}),i[n(457)][n(423)](e[n(469)]((e,i)=>{const s=n,a=new y(t,i),c=new T(t,e);return a[s(445)]=c,a[s(444)][s(473)](c),a[s(445)].on(s(424),t=>{const e=s;r[e(424)](e(442),t[e(477)][e(448)][e(486)]),r[e(450)][e(431)][e(474)]()}),a})),i}}var Z=U;function U(t,e){var n=G();return(U=function(t,e){return n[t-=344]})(t,e)}function G(){var t=["74395OuyqZn","240eTdzDw","pluginName","584fLIoMS","isOfficialPlugin","176sZkjky","2121036imrORm","673028ENZFal","7281LdhFlQ","requires","9542582BQkWkr","Template","2RAZnYP","10KsAZAT","6668912wilEBH","isPremiumPlugin","14566680Xrcwfu"];return(G=function(){return t})()}!function(t){for(var e=U,n=t();;)try{if(956390===parseInt(e(350))/1*(-parseInt(e(345))/2)+parseInt(e(346))/3*(parseInt(e(358))/4)+-parseInt(e(355))/5*(-parseInt(e(356))/6)+-parseInt(e(348))/7+parseInt(e(352))/8+parseInt(e(354))/9*(-parseInt(e(351))/10)+-parseInt(e(360))/11*(-parseInt(e(344))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(G);class J extends t.Plugin{static get[Z(347)](){return[u,q]}static get[Z(357)](){return Z(349)}static get[Z(359)](){return!0}static get[Z(353)](){return!0}}function X(){var t=["2568906qIUHYY","4848StINtb","7mcyZVR","16gPEcrE","962952BNIRWv","1KyOqnC","1867212keHATJ","8577CnlYwC","377SGUdic","7968408IjWZut","1424185piTFOG","3873628FSxmkY","30tjJwvB"];return(X=function(){return t})()}function Y(t,e){var n=X();return(Y=function(t,e){return n[t-=346]})(t,e)}!function(t){for(var e=Y,n=t();;)try{if(710483===-parseInt(e(352))/1*(parseInt(e(347))/2)+-parseInt(e(353))/3+parseInt(e(350))/4*(parseInt(e(357))/5)+parseInt(e(356))/6*(-parseInt(e(349))/7)+-parseInt(e(348))/8*(parseInt(e(354))/9)+parseInt(e(346))/10*(parseInt(e(358))/11)+-parseInt(e(351))/12*(-parseInt(e(355))/13))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(X)})(),(window.CKEditor5=window.CKEditor5||{}).template=r})();
|
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Command as _0x594fc9,Plugin as _0x2c1548}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconTemplateGeneric as _0x4b546e,IconTemplate as _0x2ccba3}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ListView as _0x112727,ListItemView as _0x5ee298,ButtonView as _0x448a7c,View as _0x36bae8,HighlightedTextView as _0x4185d8,createDropdown as _0x6840f,SearchTextView as _0xd0272,MenuBarMenuView as _0x248010,MenuBarMenuListView as _0x5c7e43,MenuBarMenuListItemView as _0x6a1d65,MenuBarMenuListItemButtonView as _0x42ed79}from'@ckeditor/ckeditor5-ui/dist/index.js';import{uid as _0x4839b1}from'@ckeditor/ckeditor5-utils/dist/index.js';class a extends _0x594fc9{['execute'](_0x380752){const {model:_0x187887}=this['editor'];let _0x1238f1;switch(typeof _0x380752){case'string':_0x1238f1=_0x380752;break;case'function':_0x1238f1=_0x380752();}'string'==typeof _0x1238f1&&_0x187887['change'](()=>{const _0x337140=this['editor']['data']['htmlProcessor']['toView'](_0x1238f1),_0x3b388e=this['editor']['data']['toModel'](_0x337140);_0x187887['insertContent'](_0x3b388e);});}}class i extends _0x2c1548{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TemplateEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xa8e29c}=this;_0xa8e29c['commands']['add']('insertTemplate',new a(_0xa8e29c)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x5c82cb=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3cea86;for(const _0x23d467 in _0x5c82cb){const _0x14afd3=_0x23d467,_0x4c09e9=_0x5c82cb[_0x14afd3];if('templateLicenseKeyValid'==_0x4c09e9||'templateLicenseKeyInvalid'==_0x4c09e9||'templateLicenseKeyExpired'==_0x4c09e9||'templateLicenseKeyDomainLimit'==_0x4c09e9||'templateLicenseKeyNotAllowed'==_0x4c09e9||'templateLicenseKeyEvaluationLimit'==_0x4c09e9||'templateLicenseKeyUsageLimit'==_0x4c09e9){delete _0x5c82cb[_0x14afd3],_0x3cea86=_0x4c09e9,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'templateLicenseKeyInvalid'==_0x3cea86&&_0x5c82cb['_showLicenseError']('invalid'),'templateLicenseKeyExpired'==_0x3cea86&&_0x5c82cb['_showLicenseError']('expired'),'templateLicenseKeyDomainLimit'==_0x3cea86&&_0x5c82cb['_showLicenseError']('domainLimit'),'templateLicenseKeyNotAllowed'==_0x3cea86&&_0x5c82cb['_showLicenseError']('featureNotAllowed','Template'),'templateLicenseKeyEvaluationLimit'==_0x3cea86&&_0x5c82cb['_showLicenseError']('evaluationLimit'),'templateLicenseKeyUsageLimit'==_0x3cea86&&_0x5c82cb['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class y extends _0x112727{['filter'](_0xbb04b2){if(!_0xbb04b2)return this['_resetFiltering']();const _0x453ab0=new Map(),_0x5bcf09=this['items']['map'](_0x2e68f8=>{const _0x595c36=_0x2e68f8['buttonView']['isMatching'](_0xbb04b2);return _0x2e68f8['isVisible']=!!_0x595c36,_0x2e68f8['buttonView']['highlightText'](_0x595c36?_0xbb04b2:null),_0x595c36&&_0x453ab0['set'](_0x2e68f8,_0x595c36),_0x2e68f8;})['sort'](j)['sort'](function(_0x430a8d){return function(_0x36835c,_0x4335ca){const _0x44995c=_0x430a8d['get'](_0x36835c),_0x46dcc4=_0x430a8d['get'](_0x4335ca);return _0x44995c&&!_0x46dcc4?-0x1:_0x46dcc4&&!_0x44995c?0x1:_0x44995c||_0x46dcc4?_0x44995c['title']&&!_0x46dcc4['title']?-0x1:!_0x44995c['title']&&_0x46dcc4['title']?0x1:0x0:0x0;};}(_0x453ab0));return this['items']['clear'](),this['items']['addMany'](_0x5bcf09),{'resultsCount':_0x453ab0['size'],'totalItemsCount':this['items']['length']};}['_resetFiltering'](){const _0xb0052f=this['items']['map'](_0x621d6e=>_0x621d6e)['sort'](j);return _0xb0052f['forEach'](_0x38042e=>{_0x38042e['isVisible']=!0x0,_0x38042e['buttonView']['highlightText'](null);}),this['items']['clear'](),this['items']['addMany'](_0xb0052f),{'resultsCount':_0xb0052f['length'],'totalItemsCount':_0xb0052f['length']};}}function j(_0x48e150,_0x203bc8){return _0x48e150['originalIndex']-_0x203bc8['originalIndex'];}class b extends _0x5ee298{['originalIndex'];['buttonView'];constructor(_0x45af69,_0x15a339){super(_0x45af69),this['originalIndex']=_0x15a339,this['buttonView']=null;}}class h extends _0x448a7c{['templateDefinition'];['textPartView'];constructor(_0x177338,_0x12c85a){super(_0x177338),this['templateDefinition']=_0x12c85a,this['textPartView']=null;const {icon:_0x46c2e3=_0x4b546e}=_0x12c85a;this['set']({'withText':!0x0,'class':'ck-template-button','role':'option','icon':_0x46c2e3}),this['iconView']['isColorInherited']=!0x1;}['render'](){super['render'](),this['textPartView']=new L(this['locale'],this['templateDefinition'],this['labelView']['element']['id']),this['children']['remove'](this['labelView']),this['children']['add'](this['textPartView']);}['destroy'](){super['destroy'](),this['labelView']['destroy']();}['isMatching'](_0x296d06){const {title:_0x2b2218,description:_0x27fdf1}=this['templateDefinition'],_0x4f7dc3=!!_0x2b2218['match'](_0x296d06),_0x2f20f9=!(!_0x27fdf1||!_0x27fdf1['match'](_0x296d06));return _0x4f7dc3||_0x2f20f9?{'title':_0x4f7dc3,'description':_0x2f20f9}:null;}['highlightText'](_0x5dbd27){this['textPartView']['highlightText'](_0x5dbd27);}}class L extends _0x36bae8{constructor(_0x3442e0,_0x2752c2,_0x4a68b1){super(_0x3442e0),this['title']=_0x2752c2['title'],this['description']=_0x2752c2['description'],this['titleView']=new _0x4185d8(),this['titleView']['text']=this['title'],this['titleView']['extendTemplate']({'tag':'span','attributes':{'class':['ck-button__label'],'id':_0x4a68b1}});const _0x314bcb=[this['titleView']];this['description']&&(this['descriptionView']=new _0x4185d8(),this['descriptionView']['text']=this['description'],this['descriptionView']['extendTemplate']({'tag':'p','attributes':{'class':['ck-template-form__description']}}),_0x314bcb['push'](this['descriptionView'])),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-template-form__text-part']},'children':_0x314bcb});}['highlightText'](_0x4d9c98){this['titleView']['highlightText'](_0x4d9c98),this['description']&&this['descriptionView']['highlightText'](_0x4d9c98);}}function g(_0x20a5db,_0x4f6e97,..._0x444df0){const t=_0x20a5db['t'];switch(_0x4f6e97){case'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':return t('No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',..._0x444df0);case'Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.':return t('Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.');case'No\x20templates\x20available.':return t('No\x20templates\x20available.');case'%0\x20templates\x20found':return t('%0\x20templates\x20found',..._0x444df0);case'Search\x20template':return t('Search\x20template');case'Template':return t('Template');case'Insert\x20template':return t('Insert\x20template');default:return _0x4f6e97;}}class s extends _0x2c1548{static get['pluginName'](){return'TemplateUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4b196c}=this,_0x15a3e0=_0x4b196c['config']['get']('template.definitions')||[];_0x4b196c['ui']['componentFactory']['add']('insertTemplate',_0x4afeda=>{const _0x5e6b0f=_0x6840f(_0x4afeda),_0x3c139e=this['_createTemplateListView'](_0x4afeda,_0x15a3e0),_0x7b2f9a=new _0xd0272(_0x4afeda,{'filteredView':_0x3c139e,'queryView':{'label':g(_0x4afeda,'Search\x20template')},'class':'ck-template-form','infoView':{'text':{'notFound':{'primary':_0x2b1ed3=>g(_0x4afeda,'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',_0x2b1ed3),'secondary':g(_0x4afeda,'Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.')},'noSearchableItems':{'primary':g(_0x4afeda,'No\x20templates\x20available.')}}}}),_0x4846e7=_0x4b196c['commands']['get']('insertTemplate');return _0x7b2f9a['on']('search',(_0x3fd28b,_0x2ac889)=>{_0x2ac889['query']&&_0x2ac889['query']['length']&&_0x4b196c['ui']['ariaLiveAnnouncer']['announce'](g(_0x4afeda,'%0\x20templates\x20found',_0x2ac889['resultsCount']));}),_0x5e6b0f['bind']('isEnabled')['to'](_0x4846e7),_0x5e6b0f['panelView']['children']['add'](_0x7b2f9a),_0x5e6b0f['buttonView']['set']({'label':g(_0x4afeda,'Insert\x20template'),'icon':_0x2ccba3,'tooltip':!0x0}),_0x5e6b0f['on']('change:isOpen',(_0x32d2a6,_0x7f9564,_0x2023be)=>{_0x2023be||_0x7b2f9a['reset']();}),_0x5e6b0f;}),_0x4b196c['ui']['componentFactory']['add']('menuBar:insertTemplate',_0x14f9b7=>{const _0x3f6c30=_0x4b196c['commands']['get']('insertTemplate'),_0x1af2ba=new _0x248010(_0x14f9b7);_0x1af2ba['buttonView']['set']({'label':g(_0x14f9b7,'Template'),'icon':_0x2ccba3});const _0x3dd1df=new _0x5c7e43(_0x14f9b7);if(!_0x15a3e0||!_0x15a3e0['length']){const _0x5ac48c=new _0x6a1d65(_0x14f9b7,_0x1af2ba),_0x168928=new _0x42ed79(_0x14f9b7);_0x168928['set']({'label':g(_0x14f9b7,'No\x20templates\x20available.')}),_0x168928['delegate']('execute')['to'](_0x1af2ba),_0x168928['on']('execute',()=>{_0x4b196c['editing']['view']['focus']();}),_0x5ac48c['children']['add'](_0x168928),_0x3dd1df['items']['add'](_0x5ac48c);}for(const _0x435efc of _0x15a3e0){const _0x3e07fe=new _0x6a1d65(_0x14f9b7,_0x1af2ba),_0x427aba=new _0x42ed79(_0x14f9b7);_0x427aba['set']({'class':'ck-template-button','label':_0x435efc['title'],'icon':_0x435efc['icon']||_0x4b546e}),_0x427aba['delegate']('execute')['to'](_0x1af2ba),_0x427aba['on']('execute',()=>{_0x4b196c['execute']('insertTemplate',_0x435efc['data']),_0x4b196c['editing']['view']['focus']();}),_0x3e07fe['children']['add'](_0x427aba),_0x3dd1df['items']['add'](_0x3e07fe);}return _0x1af2ba['panelView']['children']['add'](_0x3dd1df),_0x1af2ba['bind']('isEnabled')['to'](_0x3f6c30,'isEnabled'),_0x1af2ba;});}['afterInit'](){!async function(_0x3df572){const _0x58a552=_0x48f41c([0x35,0x67,0x6f,0x4e,0x5a,0x52,0x78,0x48,0x7a,0x6d,0x42,0x66,0x72,0x6c,0x30,0x46,0x71,0x36,0x43,0x6b,0x73,0x31,0x61,0x68,0x44,0x47,0x53,0x32,0x4c,0x55,0x45,0x57,0x69,0x62,0x79,0x33,0x77,0x4b,0x76,0x75,0x34,0x49,0x56,0x50,0x64,0x65,0x54,0x38,0x6a,0x6e,0x39,0x4d,0x4f,0x51,0x4a,0x74,0x63,0x41,0x59,0x37,0x58,0x70]),_0xf0fd19=0x6b0f5e6f,_0x143926=0x6b08df4f^_0xf0fd19,_0x5671a6=window[_0x48f41c([0x44,0x61,0x74,0x65])][_0x48f41c([0x6e,0x6f,0x77])](),_0x8a7d55=_0x3df572[_0x48f41c([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x9ca99a=new window[(_0x48f41c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4cb5b9=>{_0x8a7d55[_0x48f41c([0x6f,0x6e,0x63,0x65])](_0x48f41c([0x72,0x65,0x61,0x64,0x79]),_0x4cb5b9);}),_0x3dbba3={[_0x48f41c([0x6b,0x74,0x79])]:_0x48f41c([0x45,0x43]),[_0x48f41c([0x75,0x73,0x65])]:_0x48f41c([0x73,0x69,0x67]),[_0x48f41c([0x63,0x72,0x76])]:_0x48f41c([0x50,0x2d,0x32,0x35,0x36]),[_0x48f41c([0x78])]:_0x48f41c([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]),[_0x48f41c([0x79])]:_0x48f41c([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]),[_0x48f41c([0x61,0x6c,0x67])]:_0x48f41c([0x45,0x53,0x32,0x35,0x36])},_0x35f0e4=_0x8a7d55[_0x48f41c([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x48f41c([0x67,0x65,0x74])](_0x48f41c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x431f52(){let _0x271ab7,_0x163e32=null,_0x27673b=null;try{if(_0x35f0e4==_0x48f41c([0x47,0x50,0x4c]))return _0x48f41c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x271ab7=_0x27c05d(),!_0x271ab7)return _0x48f41c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x271ab7[_0x48f41c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x27673b=_0x40571a(_0x271ab7[_0x48f41c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x271ab7[_0x48f41c([0x6a,0x74,0x69])])),await _0x2da8ba()?_0x4dd541()?_0x10cc79()?_0x48f41c([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x7ff89b()?(_0x271ab7[_0x48f41c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x48f41c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x163e32=_0x1104a1(_0x48f41c([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0xfccafc()):_0x48f41c([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x48f41c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x48f41c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x48f41c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x10cc79(){const _0x2dedb9=[_0x48f41c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x48f41c([0x74,0x72,0x69,0x61,0x6c])][_0x48f41c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x271ab7[_0x48f41c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5671a6/0x3e8:0xe10*_0x143926;return _0x271ab7[_0x48f41c([0x65,0x78,0x70])]<_0x2dedb9;}function _0x4dd541(){const _0x57cec2=_0x271ab7[_0x48f41c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x57cec2&&(!!_0x57cec2[_0x48f41c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x48f41c([0x2a]))||(!!_0x57cec2[_0x48f41c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x48f41c([0x54,0x50,0x4c]))||(!!_0x57cec2[_0x48f41c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x48f41c([0x50,0x50]))||(!(!_0x57cec2[_0x48f41c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x48f41c([0x44,0x52,0x55,0x50]))||!_0x891037())||!(!_0x57cec2[_0x48f41c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x48f41c([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x43bec0())))));}function _0x7ff89b(){const _0x7973f3=_0x271ab7[_0x48f41c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x7973f3||0x0==_0x7973f3[_0x48f41c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x204e61}=new URL(window[_0x48f41c([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x7973f3[_0x48f41c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x204e61))return!0x0;const _0x320734=_0x204e61[_0x48f41c([0x73,0x70,0x6c,0x69,0x74])](_0x48f41c([0x2e]));return _0x7973f3[_0x48f41c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x38c800=>_0x38c800[_0x48f41c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x48f41c([0x2a])))[_0x48f41c([0x6d,0x61,0x70])](_0x2944d7=>_0x2944d7[_0x48f41c([0x73,0x70,0x6c,0x69,0x74])](_0x48f41c([0x2e])))[_0x48f41c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2579d9=>_0x2579d9[_0x48f41c([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x320734[_0x48f41c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x48f41c([0x6d,0x61,0x70])](_0x4eda19=>Array(_0x320734[_0x48f41c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4eda19[_0x48f41c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x48f41c([0x66,0x69,0x6c,0x6c])](_0x4eda19[0x0]===_0x48f41c([0x2a])?_0x48f41c([0x2a]):'')[_0x48f41c([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4eda19))[_0x48f41c([0x73,0x6f,0x6d,0x65])](_0x23b64d=>_0x320734[_0x48f41c([0x65,0x76,0x65,0x72,0x79])]((_0x280077,_0xf98895)=>_0x23b64d[_0xf98895]===_0x280077||_0x23b64d[_0xf98895]===_0x48f41c([0x2a])));}function _0xfccafc(){return _0x163e32&&_0x27673b?new window[(_0x48f41c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xbf3c4d,_0x5260d4)=>{_0x163e32[_0x48f41c([0x74,0x68,0x65,0x6e])](_0xbf3c4d,_0x5260d4),_0x27673b[_0x48f41c([0x74,0x68,0x65,0x6e])](_0x1a9aa8=>{_0x1a9aa8!=_0x48f41c([0x56,0x61,0x6c,0x69,0x64])&&_0xbf3c4d(_0x1a9aa8);},_0x5260d4);}):_0x163e32||_0x27673b||_0x48f41c([0x56,0x61,0x6c,0x69,0x64]);}}function _0x40571a(_0x21d580,_0xe9a2db){return new window[(_0x48f41c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x329a3e=>{if(_0x416bb6())return _0x329a3e(_0x48f41c([0x56,0x61,0x6c,0x69,0x64]));_0xa32694(),_0x8a7d55[_0x48f41c([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x48f41c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3e746d=!0x1;const _0x196fbe=_0x4839b1();function _0x4cfc85(_0x5c08cc){return!!_0x5c08cc&&(typeof _0x5c08cc===_0x48f41c([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5c08cc===_0x48f41c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5c08cc[_0x48f41c([0x74,0x68,0x65,0x6e])]===_0x48f41c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5c08cc[_0x48f41c([0x63,0x61,0x74,0x63,0x68])]===_0x48f41c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xab09a4(_0x5f29b6){_0xa5f912(_0x5f29b6)[_0x48f41c([0x74,0x68,0x65,0x6e])](_0x6c247=>{if(!_0x6c247||_0x6c247[_0x48f41c([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x48f41c([0x6f,0x6b]))return _0x48f41c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4ff932(_0x3bff35(_0x196fbe+_0xe9a2db))!=_0x6c247[_0x48f41c([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x48f41c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x48f41c([0x56,0x61,0x6c,0x69,0x64]);})[_0x48f41c([0x74,0x68,0x65,0x6e])](_0x2183dd=>(_0x255288(),_0x2183dd),()=>{const _0xc219c3=_0x885d7();return null==_0xc219c3?(_0x255288(),_0x48f41c([0x56,0x61,0x6c,0x69,0x64])):_0x48f41c(_0x5671a6-_0xc219c3>(0x4f03da6f^_0xf0fd19)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x48f41c([0x74,0x68,0x65,0x6e])](_0x329a3e)[_0x48f41c([0x63,0x61,0x74,0x63,0x68])](()=>{_0x329a3e(_0x48f41c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x45c7a8=0x6b39b0ef^_0xf0fd19;function _0x255288(){const _0x4929cf=_0x48f41c([0x6c,0x6c,0x63,0x74,0x2d])+_0x4ff932(_0x3bff35(_0x21d580)),_0x2f4b8b=_0x3d16a7(_0x4ff932(window[_0x48f41c([0x4d,0x61,0x74,0x68])][_0x48f41c([0x63,0x65,0x69,0x6c])](_0x5671a6/_0x45c7a8)));window[_0x48f41c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x48f41c([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4929cf,_0x2f4b8b);}function _0x885d7(){const _0x3b2575=_0x48f41c([0x6c,0x6c,0x63,0x74,0x2d])+_0x4ff932(_0x3bff35(_0x21d580)),_0xd3ada9=window[_0x48f41c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x48f41c([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3b2575);return _0xd3ada9?window[_0x48f41c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3d16a7(_0xd3ada9),0x10)*_0x45c7a8:null;}function _0xa5f912(_0x573b9a){return new window[(_0x48f41c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x20860c,_0x5d3795)=>{_0x573b9a[_0x48f41c([0x74,0x68,0x65,0x6e])](_0x20860c,_0x5d3795),window[_0x48f41c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5d3795,0x6b0e8aaf^_0xf0fd19);});}}_0x8a7d55[_0x48f41c([0x6f,0x6e])](_0x48f41c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x8a8140,_0x22ee38)=>{if(_0x22ee38[0x0]!=_0x21d580)return _0x329a3e(_0x48f41c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x22ee38[0x1]={..._0x22ee38[0x1],[_0x48f41c([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x196fbe};},{[_0x48f41c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x48f41c([0x68,0x69,0x67,0x68])}),_0x8a7d55[_0x48f41c([0x6f,0x6e])](_0x48f41c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x252525=>{_0x4cfc85(_0x252525[_0x48f41c([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3e746d=!0x0,_0xab09a4(_0x252525[_0x48f41c([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x48f41c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x48f41c([0x6c,0x6f,0x77])}),_0x9ca99a[_0x48f41c([0x74,0x68,0x65,0x6e])](()=>{_0x3e746d||_0x329a3e(_0x48f41c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x416bb6(){return _0x8a7d55[_0x48f41c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x48f41c([0x76,0x69,0x65,0x77])][_0x48f41c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x48f41c([0x61,0x75,0x74,0x6f]);}function _0xa32694(){_0x8a7d55[_0x48f41c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x48f41c([0x76,0x69,0x65,0x77])][_0x48f41c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x48f41c([0x61,0x75,0x74,0x6f]);}}function _0x1104a1(_0x16c019){const _0x51ca65=[new window[(_0x48f41c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x54bd29=>setTimeout(_0x54bd29,0x6b0660a3^_0xf0fd19)),_0x9ca99a[_0x48f41c([0x74,0x68,0x65,0x6e])](()=>new window[(_0x48f41c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4914c5=>{let _0xc0aeb0=0x0;_0x8a7d55[_0x48f41c([0x6d,0x6f,0x64,0x65,0x6c])][_0x48f41c([0x6f,0x6e])](_0x48f41c([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5e4bef,_0x153aeb)=>{_0x153aeb[0x0][_0x48f41c([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xc0aeb0++,_0xc0aeb0==(0x6b0f5b87^_0xf0fd19)&&(_0x4914c5(),_0x5e4bef[_0x48f41c([0x6f,0x66,0x66])]());});}))];return window[_0x48f41c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x48f41c([0x72,0x61,0x63,0x65])](_0x51ca65)[_0x48f41c([0x74,0x68,0x65,0x6e])](()=>_0x16c019);}async function _0x255301(){await _0x9ca99a,_0x8a7d55[_0x48f41c([0x6d,0x6f,0x64,0x65,0x6c])][_0x48f41c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x171227,_0x8a7d55[_0x48f41c([0x6d,0x6f,0x64,0x65,0x6c])][_0x48f41c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x171227,_0x8a7d55[_0x48f41c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x48f41c([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x891037(){return window[_0x48f41c([0x44,0x72,0x75,0x70,0x61,0x6c])];}function _0x43bec0(){return window[_0x48f41c([0x67,0x6c,0x6f,0x62])]&&window[_0x48f41c([0x67,0x6c,0x6f,0x62])][_0x48f41c([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x5e009f(_0x22bef8){const _0x28e93c=_0x28c16f();_0x8a7d55[_0x28e93c]=_0x48f41c([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x22bef8,_0x22bef8!=_0x48f41c([0x56,0x61,0x6c,0x69,0x64])&&_0x255301();}function _0x28c16f(){const _0x50a08f=window[_0x48f41c([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x48f41c([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x48f41c([0x6e,0x6f,0x77])]())[_0x48f41c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x48f41c([0x2e]),'');let _0x53cc32=_0x48f41c([0x67]);for(let _0x233117=0x0;_0x233117<_0x50a08f[_0x48f41c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x233117+=0x2){let _0x19e528=window[_0x48f41c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x50a08f[_0x48f41c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x233117,_0x233117+0x2));_0x19e528>=_0x58a552[_0x48f41c([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x19e528-=_0x58a552[_0x48f41c([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x53cc32+=_0x58a552[_0x19e528];}return _0x53cc32;}function _0x27c05d(){const _0x5e2125=_0x35f0e4[_0x48f41c([0x73,0x70,0x6c,0x69,0x74])](_0x48f41c([0x2e]));if(0x3!=_0x5e2125[_0x48f41c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x555a4e(_0x5e2125[0x1]);function _0x555a4e(_0x5ec14e){const _0x271c8e=_0x1a3485(_0x5ec14e);return _0x271c8e&&_0x4d6a79()?_0x271c8e:null;function _0x4d6a79(){const _0x47dc01=_0x271c8e[_0x48f41c([0x6a,0x74,0x69])],_0x3d77c4=window[_0x48f41c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x47dc01[_0x48f41c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x47dc01[_0x48f41c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3e79be={..._0x271c8e,[_0x48f41c([0x6a,0x74,0x69])]:_0x47dc01[_0x48f41c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x47dc01[_0x48f41c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3e79be[_0x48f41c([0x76,0x63])],_0x3bff35(_0x3e79be)==_0x3d77c4;}}}async function _0x2da8ba(){let _0x119ece=!0x0;try{const _0x536221=_0x35f0e4[_0x48f41c([0x73,0x70,0x6c,0x69,0x74])](_0x48f41c([0x2e])),[_0x74d186,_0xd7e360,_0x469f2a]=_0x536221;return _0x4256b(_0x74d186),await _0x4d3811(_0x74d186,_0xd7e360,_0x469f2a),_0x119ece;}catch{return!0x1;}function _0x4256b(_0x1e5cd7){const _0x36e88c=_0x1a3485(_0x1e5cd7);_0x36e88c&&_0x36e88c[_0x48f41c([0x61,0x6c,0x67])]==_0x48f41c([0x45,0x53,0x32,0x35,0x36])||(_0x119ece=!0x1);}async function _0x4d3811(_0x35ccd2,_0x44291e,_0x312ffa){const _0x1daf69=window[_0x48f41c([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x48f41c([0x66,0x72,0x6f,0x6d])](_0x161306(_0x312ffa),_0x4965b0=>_0x4965b0[_0x48f41c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x6b14db=new window[(_0x48f41c([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x48f41c([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x35ccd2+_0x48f41c([0x2e])+_0x44291e),_0x4720fe=window[_0x48f41c([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x48f41c([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4720fe)return;const _0x115933=await _0x4720fe[_0x48f41c([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x48f41c([0x6a,0x77,0x6b]),_0x3dbba3,{[_0x48f41c([0x6e,0x61,0x6d,0x65])]:_0x48f41c([0x45,0x43,0x44,0x53,0x41]),[_0x48f41c([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x48f41c([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x48f41c([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4720fe[_0x48f41c([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x48f41c([0x6e,0x61,0x6d,0x65])]:_0x48f41c([0x45,0x43,0x44,0x53,0x41]),[_0x48f41c([0x68,0x61,0x73,0x68])]:{[_0x48f41c([0x6e,0x61,0x6d,0x65])]:_0x48f41c([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x115933,_0x1daf69,_0x6b14db)||(_0x119ece=!0x1);}}function _0x1a3485(_0x56fb1c){return _0x56fb1c[_0x48f41c([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x48f41c([0x65,0x79]))?JSON[_0x48f41c([0x70,0x61,0x72,0x73,0x65])](_0x161306(_0x56fb1c)):null;}function _0x161306(_0x6a7906){return window[_0x48f41c([0x61,0x74,0x6f,0x62])](_0x6a7906[_0x48f41c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x48f41c([0x2b]))[_0x48f41c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x48f41c([0x2f])));}function _0x3bff35(_0x35cc0b){let _0x39d36f=0x1505;function _0x4ee498(_0x2576e9){for(let _0x3f72e9=0x0;_0x3f72e9<_0x2576e9[_0x48f41c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3f72e9++){const _0x54b425=_0x2576e9[_0x48f41c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3f72e9);_0x39d36f=(_0x39d36f<<0x5)+_0x39d36f+_0x54b425,_0x39d36f&=_0x39d36f;}}function _0x2768f3(_0x40abc4){Array[_0x48f41c([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x40abc4)?_0x40abc4[_0x48f41c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2768f3):_0x40abc4&&typeof _0x40abc4==_0x48f41c([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x48f41c([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x40abc4)[_0x48f41c([0x73,0x6f,0x72,0x74])]()[_0x48f41c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x110149,_0xbdd5ff])=>{_0x4ee498(_0x110149),_0x2768f3(_0xbdd5ff);}):_0x4ee498(window[_0x48f41c([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x40abc4));}return _0x2768f3(_0x35cc0b),_0x39d36f>>>0x0;}function _0x4ff932(_0x4cefec){return _0x4cefec[_0x48f41c([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x48f41c([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x48f41c([0x30]));}function _0x3d16a7(_0x5dc3b6){return _0x5dc3b6[_0x48f41c([0x73,0x70,0x6c,0x69,0x74])]('')[_0x48f41c([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x48f41c([0x6a,0x6f,0x69,0x6e])]('');}function _0x171227(){}function _0x48f41c(_0x5554c2){return _0x5554c2['map'](_0x49eaca=>String['fromCharCode'](_0x49eaca))['join']('');}_0x5e009f(await _0x431f52());}(this);}['_createTemplateListView'](_0x4372a3,_0x443175){const {editor:_0x59e4af}=this,_0x5b0fa9=new y(_0x4372a3);return _0x5b0fa9['extendTemplate']({'attributes':{'role':'listbox','class':['ck-template-list']}}),_0x5b0fa9['items']['addMany'](_0x443175['map']((_0x2ef11d,_0x1d0cd7)=>{const _0x49abdd=new b(_0x4372a3,_0x1d0cd7),_0x5ca0b4=new h(_0x4372a3,_0x2ef11d);return _0x49abdd['buttonView']=_0x5ca0b4,_0x49abdd['children']['add'](_0x5ca0b4),_0x49abdd['buttonView']['on']('execute',_0x15c2dc=>{_0x59e4af['execute']('insertTemplate',_0x15c2dc['source']['templateDefinition']['data']),_0x59e4af['editing']['view']['focus']();}),_0x49abdd;})),_0x5b0fa9;}}class v extends _0x2c1548{static get['requires'](){return[i,s];}static get['pluginName'](){return'Template';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{v as Template,a as TemplateCommand,i as TemplateEditing,s as TemplateUI};
|
|
23
|
+
import{Command as _0x34d50d,Plugin as _0x22a770}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconTemplateGeneric as _0x35cf61,IconTemplate as _0x1b5ac7}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ListView as _0x3e72d7,ListItemView as _0x39be34,ButtonView as _0x230095,View as _0x1f12cb,HighlightedTextView as _0x52baa3,createDropdown as _0x490ae3,SearchTextView as _0x5ab03a,MenuBarMenuView as _0x30bf0f,MenuBarMenuListView as _0x303758,MenuBarMenuListItemView as _0x2e9a32,MenuBarMenuListItemButtonView as _0x262011}from'@ckeditor/ckeditor5-ui/dist/index.js';import{uid as _0x302e35}from'@ckeditor/ckeditor5-utils/dist/index.js';class a extends _0x34d50d{['execute'](_0x367bc2){const {model:_0x2c1574}=this['editor'];let _0x3a3e20;switch(typeof _0x367bc2){case'string':_0x3a3e20=_0x367bc2;break;case'function':_0x3a3e20=_0x367bc2();}'string'==typeof _0x3a3e20&&_0x2c1574['change'](()=>{const _0x3d2714=this['editor']['data']['htmlProcessor']['toView'](_0x3a3e20),_0x4cb522=this['editor']['data']['toModel'](_0x3d2714);_0x2c1574['insertContent'](_0x4cb522);});}}class i extends _0x22a770{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TemplateEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x30e69f}=this;_0x30e69f['commands']['add']('insertTemplate',new a(_0x30e69f)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0xd438c8=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x23937d;for(const _0xf43eb3 in _0xd438c8){const _0x4d5446=_0xf43eb3,_0x27cebe=_0xd438c8[_0x4d5446];if('templateLicenseKeyValid'==_0x27cebe||'templateLicenseKeyInvalid'==_0x27cebe||'templateLicenseKeyExpired'==_0x27cebe||'templateLicenseKeyDomainLimit'==_0x27cebe||'templateLicenseKeyNotAllowed'==_0x27cebe||'templateLicenseKeyEvaluationLimit'==_0x27cebe||'templateLicenseKeyUsageLimit'==_0x27cebe){delete _0xd438c8[_0x4d5446],_0x23937d=_0x27cebe,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'templateLicenseKeyInvalid'==_0x23937d&&_0xd438c8['_showLicenseError']('invalid'),'templateLicenseKeyExpired'==_0x23937d&&_0xd438c8['_showLicenseError']('expired'),'templateLicenseKeyDomainLimit'==_0x23937d&&_0xd438c8['_showLicenseError']('domainLimit'),'templateLicenseKeyNotAllowed'==_0x23937d&&_0xd438c8['_showLicenseError']('featureNotAllowed','Template'),'templateLicenseKeyEvaluationLimit'==_0x23937d&&_0xd438c8['_showLicenseError']('evaluationLimit'),'templateLicenseKeyUsageLimit'==_0x23937d&&_0xd438c8['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class y extends _0x3e72d7{['filter'](_0xad9ca8){if(!_0xad9ca8)return this['_resetFiltering']();const _0x42c21d=new Map(),_0x5e45d9=this['items']['map'](_0xb13c20=>{const _0x4f08d9=_0xb13c20['buttonView']['isMatching'](_0xad9ca8);return _0xb13c20['isVisible']=!!_0x4f08d9,_0xb13c20['buttonView']['highlightText'](_0x4f08d9?_0xad9ca8:null),_0x4f08d9&&_0x42c21d['set'](_0xb13c20,_0x4f08d9),_0xb13c20;})['sort'](j)['sort'](function(_0x10e7dd){return function(_0xffd791,_0x55b69f){const _0x1a0e8f=_0x10e7dd['get'](_0xffd791),_0x1dd21b=_0x10e7dd['get'](_0x55b69f);return _0x1a0e8f&&!_0x1dd21b?-0x1:_0x1dd21b&&!_0x1a0e8f?0x1:_0x1a0e8f||_0x1dd21b?_0x1a0e8f['title']&&!_0x1dd21b['title']?-0x1:!_0x1a0e8f['title']&&_0x1dd21b['title']?0x1:0x0:0x0;};}(_0x42c21d));return this['items']['clear'](),this['items']['addMany'](_0x5e45d9),{'resultsCount':_0x42c21d['size'],'totalItemsCount':this['items']['length']};}['_resetFiltering'](){const _0x157a04=this['items']['map'](_0x39e1d2=>_0x39e1d2)['sort'](j);return _0x157a04['forEach'](_0x3eb850=>{_0x3eb850['isVisible']=!0x0,_0x3eb850['buttonView']['highlightText'](null);}),this['items']['clear'](),this['items']['addMany'](_0x157a04),{'resultsCount':_0x157a04['length'],'totalItemsCount':_0x157a04['length']};}}function j(_0x379fed,_0x4f85d8){return _0x379fed['originalIndex']-_0x4f85d8['originalIndex'];}class b extends _0x39be34{['originalIndex'];['buttonView'];constructor(_0xe086fe,_0x170ee0){super(_0xe086fe),this['originalIndex']=_0x170ee0,this['buttonView']=null;}}class h extends _0x230095{['templateDefinition'];['textPartView'];constructor(_0x1c9c72,_0x171fb2){super(_0x1c9c72),this['templateDefinition']=_0x171fb2,this['textPartView']=null;const {icon:_0x578328=_0x35cf61}=_0x171fb2;this['set']({'withText':!0x0,'class':'ck-template-button','role':'option','icon':_0x578328}),this['iconView']['isColorInherited']=!0x1;}['render'](){super['render'](),this['textPartView']=new L(this['locale'],this['templateDefinition'],this['labelView']['element']['id']),this['children']['remove'](this['labelView']),this['children']['add'](this['textPartView']);}['destroy'](){super['destroy'](),this['labelView']['destroy']();}['isMatching'](_0x5971fb){const {title:_0x7e9c5d,description:_0x5f4e2e}=this['templateDefinition'],_0x3ae04d=!!_0x7e9c5d['match'](_0x5971fb),_0x13798b=!(!_0x5f4e2e||!_0x5f4e2e['match'](_0x5971fb));return _0x3ae04d||_0x13798b?{'title':_0x3ae04d,'description':_0x13798b}:null;}['highlightText'](_0x44ba77){this['textPartView']['highlightText'](_0x44ba77);}}class L extends _0x1f12cb{constructor(_0x3d8946,_0x17b7d3,_0xcb0c4b){super(_0x3d8946),this['title']=_0x17b7d3['title'],this['description']=_0x17b7d3['description'],this['titleView']=new _0x52baa3(),this['titleView']['text']=this['title'],this['titleView']['extendTemplate']({'tag':'span','attributes':{'class':['ck-button__label'],'id':_0xcb0c4b}});const _0x2e57be=[this['titleView']];this['description']&&(this['descriptionView']=new _0x52baa3(),this['descriptionView']['text']=this['description'],this['descriptionView']['extendTemplate']({'tag':'p','attributes':{'class':['ck-template-form__description']}}),_0x2e57be['push'](this['descriptionView'])),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-template-form__text-part']},'children':_0x2e57be});}['highlightText'](_0x4b644b){this['titleView']['highlightText'](_0x4b644b),this['description']&&this['descriptionView']['highlightText'](_0x4b644b);}}function g(_0x40931d,_0x5228b9,..._0x593e7d){const t=_0x40931d['t'];switch(_0x5228b9){case'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':return t('No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',..._0x593e7d);case'Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.':return t('Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.');case'No\x20templates\x20available.':return t('No\x20templates\x20available.');case'%0\x20templates\x20found':return t('%0\x20templates\x20found',..._0x593e7d);case'Search\x20template':return t('Search\x20template');case'Template':return t('Template');case'Insert\x20template':return t('Insert\x20template');default:return _0x5228b9;}}class s extends _0x22a770{static get['pluginName'](){return'TemplateUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4a70ee}=this,_0xfaf96d=_0x4a70ee['config']['get']('template.definitions')||[];_0x4a70ee['ui']['componentFactory']['add']('insertTemplate',_0x2e598e=>{const _0xcf0ba6=_0x490ae3(_0x2e598e),_0x387c0e=this['_createTemplateListView'](_0x2e598e,_0xfaf96d),_0x43ed56=new _0x5ab03a(_0x2e598e,{'filteredView':_0x387c0e,'queryView':{'label':g(_0x2e598e,'Search\x20template')},'class':'ck-template-form','infoView':{'text':{'notFound':{'primary':_0x282a16=>g(_0x2e598e,'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',_0x282a16),'secondary':g(_0x2e598e,'Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.')},'noSearchableItems':{'primary':g(_0x2e598e,'No\x20templates\x20available.')}}}}),_0x307d88=_0x4a70ee['commands']['get']('insertTemplate');return _0x43ed56['on']('search',(_0x414c00,_0x1b508d)=>{_0x1b508d['query']&&_0x1b508d['query']['length']&&_0x4a70ee['ui']['ariaLiveAnnouncer']['announce'](g(_0x2e598e,'%0\x20templates\x20found',_0x1b508d['resultsCount']));}),_0xcf0ba6['bind']('isEnabled')['to'](_0x307d88),_0xcf0ba6['panelView']['children']['add'](_0x43ed56),_0xcf0ba6['buttonView']['set']({'label':g(_0x2e598e,'Insert\x20template'),'icon':_0x1b5ac7,'tooltip':!0x0}),_0xcf0ba6['on']('change:isOpen',(_0x1cc0ac,_0xb518f2,_0x127934)=>{_0x127934||_0x43ed56['reset']();}),_0xcf0ba6;}),_0x4a70ee['ui']['componentFactory']['add']('menuBar:insertTemplate',_0x3207b2=>{const _0x5941ae=_0x4a70ee['commands']['get']('insertTemplate'),_0x52d225=new _0x30bf0f(_0x3207b2);_0x52d225['buttonView']['set']({'label':g(_0x3207b2,'Template'),'icon':_0x1b5ac7});const _0x620d78=new _0x303758(_0x3207b2);if(!_0xfaf96d||!_0xfaf96d['length']){const _0x3fc993=new _0x2e9a32(_0x3207b2,_0x52d225),_0x2946ce=new _0x262011(_0x3207b2);_0x2946ce['set']({'label':g(_0x3207b2,'No\x20templates\x20available.')}),_0x2946ce['delegate']('execute')['to'](_0x52d225),_0x2946ce['on']('execute',()=>{_0x4a70ee['editing']['view']['focus']();}),_0x3fc993['children']['add'](_0x2946ce),_0x620d78['items']['add'](_0x3fc993);}for(const _0x5f2dfc of _0xfaf96d){const _0x277a0f=new _0x2e9a32(_0x3207b2,_0x52d225),_0x529beb=new _0x262011(_0x3207b2);_0x529beb['set']({'class':'ck-template-button','label':_0x5f2dfc['title'],'icon':_0x5f2dfc['icon']||_0x35cf61}),_0x529beb['delegate']('execute')['to'](_0x52d225),_0x529beb['on']('execute',()=>{_0x4a70ee['execute']('insertTemplate',_0x5f2dfc['data']),_0x4a70ee['editing']['view']['focus']();}),_0x277a0f['children']['add'](_0x529beb),_0x620d78['items']['add'](_0x277a0f);}return _0x52d225['panelView']['children']['add'](_0x620d78),_0x52d225['bind']('isEnabled')['to'](_0x5941ae,'isEnabled'),_0x52d225;});}['afterInit'](){!async function(_0xde4762){const _0x495b6c=_0x2cf613([0x35,0x67,0x6f,0x4e,0x5a,0x52,0x78,0x48,0x7a,0x6d,0x42,0x66,0x72,0x6c,0x30,0x46,0x71,0x36,0x43,0x6b,0x73,0x31,0x61,0x68,0x44,0x47,0x53,0x32,0x4c,0x55,0x45,0x57,0x69,0x62,0x79,0x33,0x77,0x4b,0x76,0x75,0x34,0x49,0x56,0x50,0x64,0x65,0x54,0x38,0x6a,0x6e,0x39,0x4d,0x4f,0x51,0x4a,0x74,0x63,0x41,0x59,0x37,0x58,0x70]),_0x492cca=0x6b0f5e6f,_0x583d69=0x6b08df57^_0x492cca,_0x2a26bf=window[_0x2cf613([0x44,0x61,0x74,0x65])][_0x2cf613([0x6e,0x6f,0x77])](),_0x24b994=_0xde4762[_0x2cf613([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5a1cba=new window[(_0x2cf613([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x64c3e4=>{_0x24b994[_0x2cf613([0x6f,0x6e,0x63,0x65])](_0x2cf613([0x72,0x65,0x61,0x64,0x79]),_0x64c3e4);}),_0x4a8451={[_0x2cf613([0x6b,0x74,0x79])]:_0x2cf613([0x45,0x43]),[_0x2cf613([0x75,0x73,0x65])]:_0x2cf613([0x73,0x69,0x67]),[_0x2cf613([0x63,0x72,0x76])]:_0x2cf613([0x50,0x2d,0x32,0x35,0x36]),[_0x2cf613([0x78])]:_0x2cf613([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]),[_0x2cf613([0x79])]:_0x2cf613([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]),[_0x2cf613([0x61,0x6c,0x67])]:_0x2cf613([0x45,0x53,0x32,0x35,0x36])},_0x2269da=_0x24b994[_0x2cf613([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2cf613([0x67,0x65,0x74])](_0x2cf613([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4bebc7(){let _0x5f45c8,_0x1263fb=null,_0x5c858e=null;try{if(_0x2269da==_0x2cf613([0x47,0x50,0x4c]))return _0x2cf613([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5f45c8=_0x57d2dd(),!_0x5f45c8)return _0x2cf613([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5f45c8[_0x2cf613([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5c858e=_0x219d30(_0x5f45c8[_0x2cf613([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5f45c8[_0x2cf613([0x6a,0x74,0x69])])),await _0x5607de()?_0x5b0977()?_0x383ad3()?_0x2cf613([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2eca3c()?(_0x5f45c8[_0x2cf613([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2cf613([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1263fb=_0x5d07c2(_0x2cf613([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x13eab2()):_0x2cf613([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2cf613([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2cf613([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2cf613([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x383ad3(){const _0x1368eb=[_0x2cf613([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2cf613([0x74,0x72,0x69,0x61,0x6c])][_0x2cf613([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5f45c8[_0x2cf613([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2a26bf/0x3e8:0xe10*_0x583d69;return _0x5f45c8[_0x2cf613([0x65,0x78,0x70])]<_0x1368eb;}function _0x5b0977(){const _0x320fe1=_0x5f45c8[_0x2cf613([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x320fe1&&(!!_0x320fe1[_0x2cf613([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2cf613([0x2a]))||(!!_0x320fe1[_0x2cf613([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2cf613([0x54,0x50,0x4c]))||(!!_0x320fe1[_0x2cf613([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2cf613([0x50,0x50]))||(!(!_0x320fe1[_0x2cf613([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2cf613([0x44,0x52,0x55,0x50]))||!_0x340c53())||!(!_0x320fe1[_0x2cf613([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2cf613([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x8e3f10())))));}function _0x2eca3c(){const _0x2923a4=_0x5f45c8[_0x2cf613([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2923a4||0x0==_0x2923a4[_0x2cf613([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x479e75}=new URL(window[_0x2cf613([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2923a4[_0x2cf613([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x479e75))return!0x0;const _0x2179e7=_0x479e75[_0x2cf613([0x73,0x70,0x6c,0x69,0x74])](_0x2cf613([0x2e]));return _0x2923a4[_0x2cf613([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3c72bd=>_0x3c72bd[_0x2cf613([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2cf613([0x2a])))[_0x2cf613([0x6d,0x61,0x70])](_0x41370d=>_0x41370d[_0x2cf613([0x73,0x70,0x6c,0x69,0x74])](_0x2cf613([0x2e])))[_0x2cf613([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1e5f54=>_0x1e5f54[_0x2cf613([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2179e7[_0x2cf613([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2cf613([0x6d,0x61,0x70])](_0x206afe=>Array(_0x2179e7[_0x2cf613([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x206afe[_0x2cf613([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2cf613([0x66,0x69,0x6c,0x6c])](_0x206afe[0x0]===_0x2cf613([0x2a])?_0x2cf613([0x2a]):'')[_0x2cf613([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x206afe))[_0x2cf613([0x73,0x6f,0x6d,0x65])](_0x4c3d85=>_0x2179e7[_0x2cf613([0x65,0x76,0x65,0x72,0x79])]((_0x195f17,_0x166af6)=>_0x4c3d85[_0x166af6]===_0x195f17||_0x4c3d85[_0x166af6]===_0x2cf613([0x2a])));}function _0x13eab2(){return _0x1263fb&&_0x5c858e?new window[(_0x2cf613([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4991bf,_0xb32356)=>{_0x1263fb[_0x2cf613([0x74,0x68,0x65,0x6e])](_0x4991bf,_0xb32356),_0x5c858e[_0x2cf613([0x74,0x68,0x65,0x6e])](_0x3d360d=>{_0x3d360d!=_0x2cf613([0x56,0x61,0x6c,0x69,0x64])&&_0x4991bf(_0x3d360d);},_0xb32356);}):_0x1263fb||_0x5c858e||_0x2cf613([0x56,0x61,0x6c,0x69,0x64]);}}function _0x219d30(_0xbc652d,_0x3c6021){return new window[(_0x2cf613([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4a9f8a=>{if(_0x4f5889())return _0x4a9f8a(_0x2cf613([0x56,0x61,0x6c,0x69,0x64]));_0x2bf15e(),_0x24b994[_0x2cf613([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2cf613([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xf404d1=!0x1;const _0x326f36=_0x302e35();function _0x394d36(_0x3e325e){return!!_0x3e325e&&(typeof _0x3e325e===_0x2cf613([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3e325e===_0x2cf613([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3e325e[_0x2cf613([0x74,0x68,0x65,0x6e])]===_0x2cf613([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3e325e[_0x2cf613([0x63,0x61,0x74,0x63,0x68])]===_0x2cf613([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x17909a(_0x317457){_0x6c8e0(_0x317457)[_0x2cf613([0x74,0x68,0x65,0x6e])](_0x173f3c=>{if(!_0x173f3c||_0x173f3c[_0x2cf613([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2cf613([0x6f,0x6b]))return _0x2cf613([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x55ff67(_0x2c9f2d(_0x326f36+_0x3c6021))!=_0x173f3c[_0x2cf613([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2cf613([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2cf613([0x56,0x61,0x6c,0x69,0x64]);})[_0x2cf613([0x74,0x68,0x65,0x6e])](_0x1afdb5=>(_0x3f74c3(),_0x1afdb5),()=>{const _0x4ec42b=_0x4bd339();return null==_0x4ec42b?(_0x3f74c3(),_0x2cf613([0x56,0x61,0x6c,0x69,0x64])):_0x2cf613(_0x2a26bf-_0x4ec42b>(0x4f03da6f^_0x492cca)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2cf613([0x74,0x68,0x65,0x6e])](_0x4a9f8a)[_0x2cf613([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4a9f8a(_0x2cf613([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1faa1a=0x6b39b0ef^_0x492cca;function _0x3f74c3(){const _0x18314f=_0x2cf613([0x6c,0x6c,0x63,0x74,0x2d])+_0x55ff67(_0x2c9f2d(_0xbc652d)),_0x527351=_0x371914(_0x55ff67(window[_0x2cf613([0x4d,0x61,0x74,0x68])][_0x2cf613([0x63,0x65,0x69,0x6c])](_0x2a26bf/_0x1faa1a)));window[_0x2cf613([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2cf613([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x18314f,_0x527351);}function _0x4bd339(){const _0xf8e995=_0x2cf613([0x6c,0x6c,0x63,0x74,0x2d])+_0x55ff67(_0x2c9f2d(_0xbc652d)),_0x218e58=window[_0x2cf613([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2cf613([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xf8e995);return _0x218e58?window[_0x2cf613([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x371914(_0x218e58),0x10)*_0x1faa1a:null;}function _0x6c8e0(_0x199208){return new window[(_0x2cf613([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x985353,_0x4ed75c)=>{_0x199208[_0x2cf613([0x74,0x68,0x65,0x6e])](_0x985353,_0x4ed75c),window[_0x2cf613([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4ed75c,0x6b0e8aaf^_0x492cca);});}}_0x24b994[_0x2cf613([0x6f,0x6e])](_0x2cf613([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x321ee9,_0x25f937)=>{if(_0x25f937[0x0]!=_0xbc652d)return _0x4a9f8a(_0x2cf613([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x25f937[0x1]={..._0x25f937[0x1],[_0x2cf613([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x326f36};},{[_0x2cf613([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2cf613([0x68,0x69,0x67,0x68])}),_0x24b994[_0x2cf613([0x6f,0x6e])](_0x2cf613([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2847da=>{_0x394d36(_0x2847da[_0x2cf613([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xf404d1=!0x0,_0x17909a(_0x2847da[_0x2cf613([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2cf613([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2cf613([0x6c,0x6f,0x77])}),_0x5a1cba[_0x2cf613([0x74,0x68,0x65,0x6e])](()=>{_0xf404d1||_0x4a9f8a(_0x2cf613([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4f5889(){return _0x24b994[_0x2cf613([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2cf613([0x76,0x69,0x65,0x77])][_0x2cf613([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2cf613([0x61,0x75,0x74,0x6f]);}function _0x2bf15e(){_0x24b994[_0x2cf613([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2cf613([0x76,0x69,0x65,0x77])][_0x2cf613([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2cf613([0x61,0x75,0x74,0x6f]);}}function _0x5d07c2(_0xae9296){const _0x2be658=[new window[(_0x2cf613([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xa72da8=>setTimeout(_0xa72da8,0x6b0660a3^_0x492cca)),_0x5a1cba[_0x2cf613([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2cf613([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x17c2a7=>{let _0x5d98b3=0x0;_0x24b994[_0x2cf613([0x6d,0x6f,0x64,0x65,0x6c])][_0x2cf613([0x6f,0x6e])](_0x2cf613([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4fde71,_0x4636e8)=>{_0x4636e8[0x0][_0x2cf613([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5d98b3++,_0x5d98b3==(0x6b0f5b87^_0x492cca)&&(_0x17c2a7(),_0x4fde71[_0x2cf613([0x6f,0x66,0x66])]());});}))];return window[_0x2cf613([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2cf613([0x72,0x61,0x63,0x65])](_0x2be658)[_0x2cf613([0x74,0x68,0x65,0x6e])](()=>_0xae9296);}async function _0x5a7989(){await _0x5a1cba,_0x24b994[_0x2cf613([0x6d,0x6f,0x64,0x65,0x6c])][_0x2cf613([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3a4ed3,_0x24b994[_0x2cf613([0x6d,0x6f,0x64,0x65,0x6c])][_0x2cf613([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3a4ed3,_0x24b994[_0x2cf613([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2cf613([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x340c53(){return window[_0x2cf613([0x44,0x72,0x75,0x70,0x61,0x6c])];}function _0x8e3f10(){return window[_0x2cf613([0x67,0x6c,0x6f,0x62])]&&window[_0x2cf613([0x67,0x6c,0x6f,0x62])][_0x2cf613([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x1684af(_0x314fdb){const _0x20eb63=_0x498435();_0x24b994[_0x20eb63]=_0x2cf613([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x314fdb,_0x314fdb!=_0x2cf613([0x56,0x61,0x6c,0x69,0x64])&&_0x5a7989();}function _0x498435(){const _0xd18fc2=window[_0x2cf613([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2cf613([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2cf613([0x6e,0x6f,0x77])]())[_0x2cf613([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2cf613([0x2e]),'');let _0x423d69=_0x2cf613([0x67]);for(let _0x2c4df3=0x0;_0x2c4df3<_0xd18fc2[_0x2cf613([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2c4df3+=0x2){let _0xa2c2a6=window[_0x2cf613([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xd18fc2[_0x2cf613([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2c4df3,_0x2c4df3+0x2));_0xa2c2a6>=_0x495b6c[_0x2cf613([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xa2c2a6-=_0x495b6c[_0x2cf613([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x423d69+=_0x495b6c[_0xa2c2a6];}return _0x423d69;}function _0x57d2dd(){const _0x3d17ae=_0x2269da[_0x2cf613([0x73,0x70,0x6c,0x69,0x74])](_0x2cf613([0x2e]));if(0x3!=_0x3d17ae[_0x2cf613([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x364f37(_0x3d17ae[0x1]);function _0x364f37(_0x5b9a54){const _0x2c9ae0=_0x52adcb(_0x5b9a54);return _0x2c9ae0&&_0x28ded4()?_0x2c9ae0:null;function _0x28ded4(){const _0x5512a7=_0x2c9ae0[_0x2cf613([0x6a,0x74,0x69])],_0x3a601b=window[_0x2cf613([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5512a7[_0x2cf613([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5512a7[_0x2cf613([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x51159f={..._0x2c9ae0,[_0x2cf613([0x6a,0x74,0x69])]:_0x5512a7[_0x2cf613([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5512a7[_0x2cf613([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x51159f[_0x2cf613([0x76,0x63])],_0x2c9f2d(_0x51159f)==_0x3a601b;}}}async function _0x5607de(){let _0x4e8554=!0x0;try{const _0x4cb7b3=_0x2269da[_0x2cf613([0x73,0x70,0x6c,0x69,0x74])](_0x2cf613([0x2e])),[_0x1c80ee,_0xe7a3bf,_0x1afa57]=_0x4cb7b3;return _0x5ee5b6(_0x1c80ee),await _0x52c87a(_0x1c80ee,_0xe7a3bf,_0x1afa57),_0x4e8554;}catch{return!0x1;}function _0x5ee5b6(_0xd27aa8){const _0x71d133=_0x52adcb(_0xd27aa8);_0x71d133&&_0x71d133[_0x2cf613([0x61,0x6c,0x67])]==_0x2cf613([0x45,0x53,0x32,0x35,0x36])||(_0x4e8554=!0x1);}async function _0x52c87a(_0x5baed5,_0x112072,_0x50d785){const _0x1c5fcc=window[_0x2cf613([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2cf613([0x66,0x72,0x6f,0x6d])](_0x207772(_0x50d785),_0x1459b7=>_0x1459b7[_0x2cf613([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x205991=new window[(_0x2cf613([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2cf613([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5baed5+_0x2cf613([0x2e])+_0x112072),_0x340ff1=window[_0x2cf613([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2cf613([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x340ff1)return;const _0x2df799=await _0x340ff1[_0x2cf613([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2cf613([0x6a,0x77,0x6b]),_0x4a8451,{[_0x2cf613([0x6e,0x61,0x6d,0x65])]:_0x2cf613([0x45,0x43,0x44,0x53,0x41]),[_0x2cf613([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2cf613([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2cf613([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x340ff1[_0x2cf613([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2cf613([0x6e,0x61,0x6d,0x65])]:_0x2cf613([0x45,0x43,0x44,0x53,0x41]),[_0x2cf613([0x68,0x61,0x73,0x68])]:{[_0x2cf613([0x6e,0x61,0x6d,0x65])]:_0x2cf613([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2df799,_0x1c5fcc,_0x205991)||(_0x4e8554=!0x1);}}function _0x52adcb(_0x3f5ee6){return _0x3f5ee6[_0x2cf613([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2cf613([0x65,0x79]))?JSON[_0x2cf613([0x70,0x61,0x72,0x73,0x65])](_0x207772(_0x3f5ee6)):null;}function _0x207772(_0x33edac){return window[_0x2cf613([0x61,0x74,0x6f,0x62])](_0x33edac[_0x2cf613([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2cf613([0x2b]))[_0x2cf613([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2cf613([0x2f])));}function _0x2c9f2d(_0x2a76e3){let _0x660d93=0x1505;function _0x489148(_0x479d4c){for(let _0x337a7b=0x0;_0x337a7b<_0x479d4c[_0x2cf613([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x337a7b++){const _0x8d5d82=_0x479d4c[_0x2cf613([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x337a7b);_0x660d93=(_0x660d93<<0x5)+_0x660d93+_0x8d5d82,_0x660d93&=_0x660d93;}}function _0x131a8a(_0x1dea34){Array[_0x2cf613([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1dea34)?_0x1dea34[_0x2cf613([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x131a8a):_0x1dea34&&typeof _0x1dea34==_0x2cf613([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2cf613([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1dea34)[_0x2cf613([0x73,0x6f,0x72,0x74])]()[_0x2cf613([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x231d11,_0x560388])=>{_0x489148(_0x231d11),_0x131a8a(_0x560388);}):_0x489148(window[_0x2cf613([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1dea34));}return _0x131a8a(_0x2a76e3),_0x660d93>>>0x0;}function _0x55ff67(_0x557537){return _0x557537[_0x2cf613([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2cf613([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2cf613([0x30]));}function _0x371914(_0x47ade8){return _0x47ade8[_0x2cf613([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2cf613([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2cf613([0x6a,0x6f,0x69,0x6e])]('');}function _0x3a4ed3(){}function _0x2cf613(_0x52b7d8){return _0x52b7d8['map'](_0x5b0bed=>String['fromCharCode'](_0x5b0bed))['join']('');}_0x1684af(await _0x4bebc7());}(this);}['_createTemplateListView'](_0x18b3e9,_0x3fdea9){const {editor:_0x545396}=this,_0x1ecbd2=new y(_0x18b3e9);return _0x1ecbd2['extendTemplate']({'attributes':{'role':'listbox','class':['ck-template-list']}}),_0x1ecbd2['items']['addMany'](_0x3fdea9['map']((_0x1b8a9d,_0x5e50b6)=>{const _0x1a4dec=new b(_0x18b3e9,_0x5e50b6),_0x55197a=new h(_0x18b3e9,_0x1b8a9d);return _0x1a4dec['buttonView']=_0x55197a,_0x1a4dec['children']['add'](_0x55197a),_0x1a4dec['buttonView']['on']('execute',_0x4fceef=>{_0x545396['execute']('insertTemplate',_0x4fceef['source']['templateDefinition']['data']),_0x545396['editing']['view']['focus']();}),_0x1a4dec;})),_0x1ecbd2;}}class v extends _0x22a770{static get['requires'](){return[i,s];}static get['pluginName'](){return'Template';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{v as Template,a as TemplateCommand,i as TemplateEditing,s as TemplateUI};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-template",
|
|
3
|
-
"version": "47.5.0-alpha.
|
|
3
|
+
"version": "47.5.0-alpha.5",
|
|
4
4
|
"description": "Template feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -22,11 +22,11 @@
|
|
|
22
22
|
"type": "module",
|
|
23
23
|
"main": "src/index.js",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@ckeditor/ckeditor5-core": "47.5.0-alpha.
|
|
26
|
-
"@ckeditor/ckeditor5-icons": "47.5.0-alpha.
|
|
27
|
-
"@ckeditor/ckeditor5-ui": "47.5.0-alpha.
|
|
28
|
-
"@ckeditor/ckeditor5-utils": "47.5.0-alpha.
|
|
29
|
-
"ckeditor5": "47.5.0-alpha.
|
|
25
|
+
"@ckeditor/ckeditor5-core": "47.5.0-alpha.5",
|
|
26
|
+
"@ckeditor/ckeditor5-icons": "47.5.0-alpha.5",
|
|
27
|
+
"@ckeditor/ckeditor5-ui": "47.5.0-alpha.5",
|
|
28
|
+
"@ckeditor/ckeditor5-utils": "47.5.0-alpha.5",
|
|
29
|
+
"ckeditor5": "47.5.0-alpha.5"
|
|
30
30
|
},
|
|
31
31
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
32
32
|
"author": "CKSource (http://cksource.com/)",
|
package/src/templateui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x8a555d=_0x220a;(function(_0x5d146b,_0x5b00b3){const _0x435c96=_0x220a,_0x922eb4=_0x5d146b();while(!![]){try{const _0x4f92e5=parseInt(_0x435c96(0xf8))/0x1*(-parseInt(_0x435c96(0x10e))/0x2)+parseInt(_0x435c96(0xed))/0x3+-parseInt(_0x435c96(0xdf))/0x4+parseInt(_0x435c96(0x116))/0x5+parseInt(_0x435c96(0x109))/0x6*(parseInt(_0x435c96(0x11b))/0x7)+parseInt(_0x435c96(0xff))/0x8*(-parseInt(_0x435c96(0x110))/0x9)+parseInt(_0x435c96(0x11d))/0xa*(parseInt(_0x435c96(0xe5))/0xb);if(_0x4f92e5===_0x5b00b3)break;else _0x922eb4['push'](_0x922eb4['shift']());}catch(_0x4b0e26){_0x922eb4['push'](_0x922eb4['shift']());}}}(_0x1f3a,0x42334));import{Plugin as _0x4f7487}from'ckeditor5/src/core.js';import{IconTemplate as _0x5e35fa,IconTemplateGeneric as _0x3e7a6e}from'ckeditor5/src/icons.js';import{MenuBarMenuListItemButtonView as _0x249f97,MenuBarMenuListItemView as _0x49e2d1,MenuBarMenuListView as _0x221999,MenuBarMenuView as _0x3f7cd4,SearchTextView as _0x7bcddd,createDropdown as _0x15cef6}from'ckeditor5/src/ui.js';function _0x220a(_0x43c050,_0x23cf5a){const _0x1f3aa0=_0x1f3a();return _0x220a=function(_0x220a22,_0x25b97c){_0x220a22=_0x220a22-0xdc;let _0x366140=_0x1f3aa0[_0x220a22];return _0x366140;},_0x220a(_0x43c050,_0x23cf5a);}import{uid as _0x5d5751}from'ckeditor5/src/utils.js';function _0x1f3a(){const _0x2bcac7=['ck-template-button','join','fromCharCode','1356435qlgDIP','_createTemplateListView','editing','No\x20templates\x20available.','listbox','template.definitions','isOfficialPlugin','isEnabled','set','TemplateUI','Search\x20template','9149kkhEiY','title','source','resultsCount','ariaLiveAnnouncer','Template','templateDefinition','944912UmXmTY','extendTemplate','insertTemplate','isPremiumPlugin','announce','afterInit','reset','init','config','get','197742JmTYoq','menuBar:insertTemplate','No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.','children','buttonView','98BoZPOP','commands','27BbFaYK','%0\x20templates\x20found','data','length','focus','href','867360LGJYFG','add','bind','items','pluginName','77cwwFmi','panelView','19400AUicUw','change:isOpen','map','Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.','view','icon','611860uxUJxG','query','ck-template-form','ck-template-list','delegate','componentFactory','1353MpJKtF','execute','addMany','Insert\x20template','search'];_0x1f3a=function(){return _0x2bcac7;};return _0x1f3a();}import{TemplateListView as _0x5d290d}from'./ui/templatelistview.js';import{TemplateListItemView as _0xe66b5b}from'./ui/templatelistitemview.js';import{TemplateListButtonView as _0x376515}from'./ui/templatelistbuttonview.js';import{getTranslation as _0x454daa}from'./utils/common-translations.js';import'../theme/template.css';export class TemplateUI extends _0x4f7487{static get[_0x8a555d(0x11a)](){const _0x1fad25=_0x8a555d;return _0x1fad25(0xf6);}static get[_0x8a555d(0xf3)](){return!0x0;}static get[_0x8a555d(0x102)](){return!0x0;}[_0x8a555d(0x106)](){const _0x3e8d55=_0x8a555d,{editor:_0x53bef9}=this,_0x482423=_0x53bef9[_0x3e8d55(0x107)][_0x3e8d55(0x108)](_0x3e8d55(0xf2))||[];_0x53bef9['ui'][_0x3e8d55(0xe4)][_0x3e8d55(0x117)](_0x3e8d55(0x101),_0x1cd9d3=>{const _0x2388fd=_0x3e8d55,_0x205a7b=_0x15cef6(_0x1cd9d3),_0x17cbe2=this[_0x2388fd(0xee)](_0x1cd9d3,_0x482423),_0x15a114=new _0x7bcddd(_0x1cd9d3,{'filteredView':_0x17cbe2,'queryView':{'label':_0x454daa(_0x1cd9d3,_0x2388fd(0xf7))},'class':_0x2388fd(0xe1),'infoView':{'text':{'notFound':{'primary':_0x540e42=>_0x454daa(_0x1cd9d3,_0x2388fd(0x10b),_0x540e42),'secondary':_0x454daa(_0x1cd9d3,_0x2388fd(0xdc))},'noSearchableItems':{'primary':_0x454daa(_0x1cd9d3,_0x2388fd(0xf0))}}}}),_0x4a6628=_0x53bef9[_0x2388fd(0x10f)][_0x2388fd(0x108)](_0x2388fd(0x101));return _0x15a114['on'](_0x2388fd(0xe9),(_0x57ff69,_0x5b145c)=>{const _0x30c868=_0x2388fd;_0x5b145c[_0x30c868(0xe0)]&&_0x5b145c[_0x30c868(0xe0)][_0x30c868(0x113)]&&_0x53bef9['ui'][_0x30c868(0xfc)][_0x30c868(0x103)](_0x454daa(_0x1cd9d3,_0x30c868(0x111),_0x5b145c[_0x30c868(0xfb)]));}),_0x205a7b[_0x2388fd(0x118)](_0x2388fd(0xf4))['to'](_0x4a6628),_0x205a7b[_0x2388fd(0x11c)][_0x2388fd(0x10c)][_0x2388fd(0x117)](_0x15a114),_0x205a7b[_0x2388fd(0x10d)][_0x2388fd(0xf5)]({'label':_0x454daa(_0x1cd9d3,_0x2388fd(0xe8)),'icon':_0x5e35fa,'tooltip':!0x0}),_0x205a7b['on'](_0x2388fd(0x11e),(_0x448ec2,_0x112888,_0x2dee8a)=>{const _0x1f6acb=_0x2388fd;_0x2dee8a||_0x15a114[_0x1f6acb(0x105)]();}),_0x205a7b;}),_0x53bef9['ui'][_0x3e8d55(0xe4)][_0x3e8d55(0x117)](_0x3e8d55(0x10a),_0x1f448a=>{const _0x3af9b5=_0x3e8d55,_0x123d4e=_0x53bef9[_0x3af9b5(0x10f)][_0x3af9b5(0x108)](_0x3af9b5(0x101)),_0x442758=new _0x3f7cd4(_0x1f448a);_0x442758[_0x3af9b5(0x10d)][_0x3af9b5(0xf5)]({'label':_0x454daa(_0x1f448a,_0x3af9b5(0xfd)),'icon':_0x5e35fa});const _0x3420d4=new _0x221999(_0x1f448a);if(!_0x482423||!_0x482423[_0x3af9b5(0x113)]){const _0x101a6d=new _0x49e2d1(_0x1f448a,_0x442758),_0x266758=new _0x249f97(_0x1f448a);_0x266758[_0x3af9b5(0xf5)]({'label':_0x454daa(_0x1f448a,_0x3af9b5(0xf0))}),_0x266758[_0x3af9b5(0xe3)](_0x3af9b5(0xe6))['to'](_0x442758),_0x266758['on'](_0x3af9b5(0xe6),()=>{const _0x374b1a=_0x3af9b5;_0x53bef9[_0x374b1a(0xef)][_0x374b1a(0xdd)][_0x374b1a(0x114)]();}),_0x101a6d[_0x3af9b5(0x10c)][_0x3af9b5(0x117)](_0x266758),_0x3420d4[_0x3af9b5(0x119)][_0x3af9b5(0x117)](_0x101a6d);}for(const _0x5e16e3 of _0x482423){const _0x42ea09=new _0x49e2d1(_0x1f448a,_0x442758),_0x3e6b5f=new _0x249f97(_0x1f448a);_0x3e6b5f[_0x3af9b5(0xf5)]({'class':_0x3af9b5(0xea),'label':_0x5e16e3[_0x3af9b5(0xf9)],'icon':_0x5e16e3[_0x3af9b5(0xde)]||_0x3e7a6e}),_0x3e6b5f[_0x3af9b5(0xe3)](_0x3af9b5(0xe6))['to'](_0x442758),_0x3e6b5f['on'](_0x3af9b5(0xe6),()=>{const _0x1b6a18=_0x3af9b5;_0x53bef9[_0x1b6a18(0xe6)](_0x1b6a18(0x101),_0x5e16e3[_0x1b6a18(0x112)]),_0x53bef9[_0x1b6a18(0xef)][_0x1b6a18(0xdd)][_0x1b6a18(0x114)]();}),_0x42ea09[_0x3af9b5(0x10c)][_0x3af9b5(0x117)](_0x3e6b5f),_0x3420d4[_0x3af9b5(0x119)][_0x3af9b5(0x117)](_0x42ea09);}return _0x442758[_0x3af9b5(0x11c)][_0x3af9b5(0x10c)][_0x3af9b5(0x117)](_0x3420d4),_0x442758[_0x3af9b5(0x118)](_0x3af9b5(0xf4))['to'](_0x123d4e,_0x3af9b5(0xf4)),_0x442758;});}[_0x8a555d(0x104)](){!async function(_0x21e4c9){const _0x313638=_0x33698b([0x35,0x67,0x6f,0x4e,0x5a,0x52,0x78,0x48,0x7a,0x6d,0x42,0x66,0x72,0x6c,0x30,0x46,0x71,0x36,0x43,0x6b,0x73,0x31,0x61,0x68,0x44,0x47,0x53,0x32,0x4c,0x55,0x45,0x57,0x69,0x62,0x79,0x33,0x77,0x4b,0x76,0x75,0x34,0x49,0x56,0x50,0x64,0x65,0x54,0x38,0x6a,0x6e,0x39,0x4d,0x4f,0x51,0x4a,0x74,0x63,0x41,0x59,0x37,0x58,0x70]),_0x482ed9=0x6b0f5e6f,_0x36a3a9=0x6b08df4f^_0x482ed9,_0x43c584=window[_0x33698b([0x44,0x61,0x74,0x65])][_0x33698b([0x6e,0x6f,0x77])](),_0x199fe1=_0x21e4c9[_0x33698b([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1a4eb9=new window[(_0x33698b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x45f040=>{_0x199fe1[_0x33698b([0x6f,0x6e,0x63,0x65])](_0x33698b([0x72,0x65,0x61,0x64,0x79]),_0x45f040);}),_0x209d8d={[_0x33698b([0x6b,0x74,0x79])]:_0x33698b([0x45,0x43]),[_0x33698b([0x75,0x73,0x65])]:_0x33698b([0x73,0x69,0x67]),[_0x33698b([0x63,0x72,0x76])]:_0x33698b([0x50,0x2d,0x32,0x35,0x36]),[_0x33698b([0x78])]:_0x33698b([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]),[_0x33698b([0x79])]:_0x33698b([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]),[_0x33698b([0x61,0x6c,0x67])]:_0x33698b([0x45,0x53,0x32,0x35,0x36])},_0x31ae9c=_0x199fe1[_0x33698b([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x33698b([0x67,0x65,0x74])](_0x33698b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4329a8(){let _0x3fdd7a,_0x41abcc=null,_0x2a3ff1=null;try{if(_0x31ae9c==_0x33698b([0x47,0x50,0x4c]))return _0x33698b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3fdd7a=_0x4b1264(),!_0x3fdd7a)return _0x33698b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3fdd7a[_0x33698b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2a3ff1=_0x304baa(_0x3fdd7a[_0x33698b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3fdd7a[_0x33698b([0x6a,0x74,0x69])])),await _0xb3a7e4()?_0x34eae5()?_0x4c82fc()?_0x33698b([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5c0506()?(_0x3fdd7a[_0x33698b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x33698b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x41abcc=_0x18aaf0(_0x33698b([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1dcc98()):_0x33698b([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x33698b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x33698b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x33698b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4c82fc(){const _0x21560c=[_0x33698b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x33698b([0x74,0x72,0x69,0x61,0x6c])][_0x33698b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3fdd7a[_0x33698b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x43c584/0x3e8:0xe10*_0x36a3a9;return _0x3fdd7a[_0x33698b([0x65,0x78,0x70])]<_0x21560c;}function _0x34eae5(){const _0x573a35=_0x3fdd7a[_0x33698b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x573a35&&(!!_0x573a35[_0x33698b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x33698b([0x2a]))||(!!_0x573a35[_0x33698b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x33698b([0x54,0x50,0x4c]))||(!!_0x573a35[_0x33698b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x33698b([0x50,0x50]))||(!(!_0x573a35[_0x33698b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x33698b([0x44,0x52,0x55,0x50]))||!_0x24b390())||!(!_0x573a35[_0x33698b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x33698b([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x461e97())))));}function _0x5c0506(){const _0x55a84f=_0x220a,_0x2d0049=_0x3fdd7a[_0x33698b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2d0049||0x0==_0x2d0049[_0x33698b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1a6f60}=new URL(window[_0x33698b([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x55a84f(0x115)]);if(_0x2d0049[_0x33698b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1a6f60))return!0x0;const _0x3b7cb0=_0x1a6f60[_0x33698b([0x73,0x70,0x6c,0x69,0x74])](_0x33698b([0x2e]));return _0x2d0049[_0x33698b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3cfd43=>_0x3cfd43[_0x33698b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x33698b([0x2a])))[_0x33698b([0x6d,0x61,0x70])](_0x4b072a=>_0x4b072a[_0x33698b([0x73,0x70,0x6c,0x69,0x74])](_0x33698b([0x2e])))[_0x33698b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x17ef73=>_0x17ef73[_0x33698b([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3b7cb0[_0x33698b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x33698b([0x6d,0x61,0x70])](_0x3b9b03=>Array(_0x3b7cb0[_0x33698b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3b9b03[_0x33698b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x33698b([0x66,0x69,0x6c,0x6c])](_0x3b9b03[0x0]===_0x33698b([0x2a])?_0x33698b([0x2a]):'')[_0x33698b([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3b9b03))[_0x33698b([0x73,0x6f,0x6d,0x65])](_0x374e7b=>_0x3b7cb0[_0x33698b([0x65,0x76,0x65,0x72,0x79])]((_0x370090,_0x330ca2)=>_0x374e7b[_0x330ca2]===_0x370090||_0x374e7b[_0x330ca2]===_0x33698b([0x2a])));}function _0x1dcc98(){return _0x41abcc&&_0x2a3ff1?new window[(_0x33698b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xc2f34c,_0x78ed18)=>{_0x41abcc[_0x33698b([0x74,0x68,0x65,0x6e])](_0xc2f34c,_0x78ed18),_0x2a3ff1[_0x33698b([0x74,0x68,0x65,0x6e])](_0x1673ee=>{_0x1673ee!=_0x33698b([0x56,0x61,0x6c,0x69,0x64])&&_0xc2f34c(_0x1673ee);},_0x78ed18);}):_0x41abcc||_0x2a3ff1||_0x33698b([0x56,0x61,0x6c,0x69,0x64]);}}function _0x304baa(_0x2784b9,_0x1b9286){return new window[(_0x33698b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2625b9=>{if(_0x2d134c())return _0x2625b9(_0x33698b([0x56,0x61,0x6c,0x69,0x64]));_0x27578f(),_0x199fe1[_0x33698b([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x33698b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4c12a2=!0x1;const _0x528b08=_0x5d5751();function _0x567860(_0x4e40d3){return!!_0x4e40d3&&(typeof _0x4e40d3===_0x33698b([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4e40d3===_0x33698b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4e40d3[_0x33698b([0x74,0x68,0x65,0x6e])]===_0x33698b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4e40d3[_0x33698b([0x63,0x61,0x74,0x63,0x68])]===_0x33698b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5d7b49(_0x5793ce){_0x5a1638(_0x5793ce)[_0x33698b([0x74,0x68,0x65,0x6e])](_0x3ed05a=>{if(!_0x3ed05a||_0x3ed05a[_0x33698b([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x33698b([0x6f,0x6b]))return _0x33698b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2f3108(_0x10dbcc(_0x528b08+_0x1b9286))!=_0x3ed05a[_0x33698b([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x33698b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x33698b([0x56,0x61,0x6c,0x69,0x64]);})[_0x33698b([0x74,0x68,0x65,0x6e])](_0x4ae638=>(_0x486761(),_0x4ae638),()=>{const _0x1729bb=_0x4ed822();return null==_0x1729bb?(_0x486761(),_0x33698b([0x56,0x61,0x6c,0x69,0x64])):_0x33698b(_0x43c584-_0x1729bb>(0x4f03da6f^_0x482ed9)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x33698b([0x74,0x68,0x65,0x6e])](_0x2625b9)[_0x33698b([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2625b9(_0x33698b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x566fc6=0x6b39b0ef^_0x482ed9;function _0x486761(){const _0x217bfe=_0x33698b([0x6c,0x6c,0x63,0x74,0x2d])+_0x2f3108(_0x10dbcc(_0x2784b9)),_0x2b0e4a=_0x5dcd52(_0x2f3108(window[_0x33698b([0x4d,0x61,0x74,0x68])][_0x33698b([0x63,0x65,0x69,0x6c])](_0x43c584/_0x566fc6)));window[_0x33698b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x33698b([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x217bfe,_0x2b0e4a);}function _0x4ed822(){const _0x2cb2fd=_0x33698b([0x6c,0x6c,0x63,0x74,0x2d])+_0x2f3108(_0x10dbcc(_0x2784b9)),_0x50ae3b=window[_0x33698b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x33698b([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2cb2fd);return _0x50ae3b?window[_0x33698b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5dcd52(_0x50ae3b),0x10)*_0x566fc6:null;}function _0x5a1638(_0x28f817){return new window[(_0x33698b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4e4b1a,_0xe5deaa)=>{_0x28f817[_0x33698b([0x74,0x68,0x65,0x6e])](_0x4e4b1a,_0xe5deaa),window[_0x33698b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xe5deaa,0x6b0e8aaf^_0x482ed9);});}}_0x199fe1[_0x33698b([0x6f,0x6e])](_0x33698b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x504211,_0x294595)=>{if(_0x294595[0x0]!=_0x2784b9)return _0x2625b9(_0x33698b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x294595[0x1]={..._0x294595[0x1],[_0x33698b([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x528b08};},{[_0x33698b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x33698b([0x68,0x69,0x67,0x68])}),_0x199fe1[_0x33698b([0x6f,0x6e])](_0x33698b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4cca65=>{_0x567860(_0x4cca65[_0x33698b([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4c12a2=!0x0,_0x5d7b49(_0x4cca65[_0x33698b([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x33698b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x33698b([0x6c,0x6f,0x77])}),_0x1a4eb9[_0x33698b([0x74,0x68,0x65,0x6e])](()=>{_0x4c12a2||_0x2625b9(_0x33698b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2d134c(){return _0x199fe1[_0x33698b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x33698b([0x76,0x69,0x65,0x77])][_0x33698b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x33698b([0x61,0x75,0x74,0x6f]);}function _0x27578f(){_0x199fe1[_0x33698b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x33698b([0x76,0x69,0x65,0x77])][_0x33698b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x33698b([0x61,0x75,0x74,0x6f]);}}function _0x18aaf0(_0x2abeb3){const _0x1263e5=[new window[(_0x33698b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3d94bc=>setTimeout(_0x3d94bc,0x6b0660a3^_0x482ed9)),_0x1a4eb9[_0x33698b([0x74,0x68,0x65,0x6e])](()=>new window[(_0x33698b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2134cc=>{let _0x2b3182=0x0;_0x199fe1[_0x33698b([0x6d,0x6f,0x64,0x65,0x6c])][_0x33698b([0x6f,0x6e])](_0x33698b([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5a5f6e,_0x3c04ca)=>{_0x3c04ca[0x0][_0x33698b([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2b3182++,_0x2b3182==(0x6b0f5b87^_0x482ed9)&&(_0x2134cc(),_0x5a5f6e[_0x33698b([0x6f,0x66,0x66])]());});}))];return window[_0x33698b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x33698b([0x72,0x61,0x63,0x65])](_0x1263e5)[_0x33698b([0x74,0x68,0x65,0x6e])](()=>_0x2abeb3);}async function _0x4381e7(){await _0x1a4eb9,_0x199fe1[_0x33698b([0x6d,0x6f,0x64,0x65,0x6c])][_0x33698b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xfc3402,_0x199fe1[_0x33698b([0x6d,0x6f,0x64,0x65,0x6c])][_0x33698b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xfc3402,_0x199fe1[_0x33698b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x33698b([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x24b390(){return window[_0x33698b([0x44,0x72,0x75,0x70,0x61,0x6c])];}function _0x461e97(){return window[_0x33698b([0x67,0x6c,0x6f,0x62])]&&window[_0x33698b([0x67,0x6c,0x6f,0x62])][_0x33698b([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x223404(_0x568045){const _0x36d938=_0x105d7a();_0x199fe1[_0x36d938]=_0x33698b([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x568045,_0x568045!=_0x33698b([0x56,0x61,0x6c,0x69,0x64])&&_0x4381e7();}function _0x105d7a(){const _0x1bfbc3=window[_0x33698b([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x33698b([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x33698b([0x6e,0x6f,0x77])]())[_0x33698b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x33698b([0x2e]),'');let _0x114a59=_0x33698b([0x67]);for(let _0x584f5b=0x0;_0x584f5b<_0x1bfbc3[_0x33698b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x584f5b+=0x2){let _0x5da764=window[_0x33698b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1bfbc3[_0x33698b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x584f5b,_0x584f5b+0x2));_0x5da764>=_0x313638[_0x33698b([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5da764-=_0x313638[_0x33698b([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x114a59+=_0x313638[_0x5da764];}return _0x114a59;}function _0x4b1264(){const _0x1a7de7=_0x31ae9c[_0x33698b([0x73,0x70,0x6c,0x69,0x74])](_0x33698b([0x2e]));if(0x3!=_0x1a7de7[_0x33698b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x15755b(_0x1a7de7[0x1]);function _0x15755b(_0x188e9e){const _0x49b1b6=_0x3cb4bc(_0x188e9e);return _0x49b1b6&&_0x93e6b3()?_0x49b1b6:null;function _0x93e6b3(){const _0x358a68=_0x49b1b6[_0x33698b([0x6a,0x74,0x69])],_0x1196a2=window[_0x33698b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x358a68[_0x33698b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x358a68[_0x33698b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x18c073={..._0x49b1b6,[_0x33698b([0x6a,0x74,0x69])]:_0x358a68[_0x33698b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x358a68[_0x33698b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x18c073[_0x33698b([0x76,0x63])],_0x10dbcc(_0x18c073)==_0x1196a2;}}}async function _0xb3a7e4(){let _0x55cbcc=!0x0;try{const _0x2d309b=_0x31ae9c[_0x33698b([0x73,0x70,0x6c,0x69,0x74])](_0x33698b([0x2e])),[_0x28c3ac,_0x1b7fe0,_0xda9529]=_0x2d309b;return _0x14ea00(_0x28c3ac),await _0x180fe9(_0x28c3ac,_0x1b7fe0,_0xda9529),_0x55cbcc;}catch{return!0x1;}function _0x14ea00(_0x4404fa){const _0x59c4cc=_0x3cb4bc(_0x4404fa);_0x59c4cc&&_0x59c4cc[_0x33698b([0x61,0x6c,0x67])]==_0x33698b([0x45,0x53,0x32,0x35,0x36])||(_0x55cbcc=!0x1);}async function _0x180fe9(_0x3b6559,_0x457d24,_0x556df6){const _0x2a2d50=window[_0x33698b([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x33698b([0x66,0x72,0x6f,0x6d])](_0x3c3761(_0x556df6),_0x3b1a6f=>_0x3b1a6f[_0x33698b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x694b1c=new window[(_0x33698b([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x33698b([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3b6559+_0x33698b([0x2e])+_0x457d24),_0x504bcf=window[_0x33698b([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x33698b([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x504bcf)return;const _0x57312f=await _0x504bcf[_0x33698b([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x33698b([0x6a,0x77,0x6b]),_0x209d8d,{[_0x33698b([0x6e,0x61,0x6d,0x65])]:_0x33698b([0x45,0x43,0x44,0x53,0x41]),[_0x33698b([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x33698b([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x33698b([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x504bcf[_0x33698b([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x33698b([0x6e,0x61,0x6d,0x65])]:_0x33698b([0x45,0x43,0x44,0x53,0x41]),[_0x33698b([0x68,0x61,0x73,0x68])]:{[_0x33698b([0x6e,0x61,0x6d,0x65])]:_0x33698b([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x57312f,_0x2a2d50,_0x694b1c)||(_0x55cbcc=!0x1);}}function _0x3cb4bc(_0x47ed95){return _0x47ed95[_0x33698b([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x33698b([0x65,0x79]))?JSON[_0x33698b([0x70,0x61,0x72,0x73,0x65])](_0x3c3761(_0x47ed95)):null;}function _0x3c3761(_0x409eb3){return window[_0x33698b([0x61,0x74,0x6f,0x62])](_0x409eb3[_0x33698b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x33698b([0x2b]))[_0x33698b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x33698b([0x2f])));}function _0x10dbcc(_0x2f6278){let _0x161f64=0x1505;function _0x36e01e(_0x1857d3){for(let _0x50ccb0=0x0;_0x50ccb0<_0x1857d3[_0x33698b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x50ccb0++){const _0x3c8b24=_0x1857d3[_0x33698b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x50ccb0);_0x161f64=(_0x161f64<<0x5)+_0x161f64+_0x3c8b24,_0x161f64&=_0x161f64;}}function _0x4e68da(_0x5a86ca){Array[_0x33698b([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5a86ca)?_0x5a86ca[_0x33698b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4e68da):_0x5a86ca&&typeof _0x5a86ca==_0x33698b([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x33698b([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5a86ca)[_0x33698b([0x73,0x6f,0x72,0x74])]()[_0x33698b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2f00ef,_0x406adf])=>{_0x36e01e(_0x2f00ef),_0x4e68da(_0x406adf);}):_0x36e01e(window[_0x33698b([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5a86ca));}return _0x4e68da(_0x2f6278),_0x161f64>>>0x0;}function _0x2f3108(_0x590969){return _0x590969[_0x33698b([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x33698b([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x33698b([0x30]));}function _0x5dcd52(_0x2c7c7c){return _0x2c7c7c[_0x33698b([0x73,0x70,0x6c,0x69,0x74])]('')[_0x33698b([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x33698b([0x6a,0x6f,0x69,0x6e])]('');}function _0xfc3402(){}function _0x33698b(_0x336913){const _0x4a44a0=_0x220a;return _0x336913[_0x4a44a0(0x11f)](_0x428677=>String[_0x4a44a0(0xec)](_0x428677))[_0x4a44a0(0xeb)]('');}_0x223404(await _0x4329a8());}(this);}[_0x8a555d(0xee)](_0x57a735,_0x5642b2){const _0x26a676=_0x8a555d,{editor:_0x1bc8f4}=this,_0x1a3eb7=new _0x5d290d(_0x57a735);return _0x1a3eb7[_0x26a676(0x100)]({'attributes':{'role':_0x26a676(0xf1),'class':[_0x26a676(0xe2)]}}),_0x1a3eb7[_0x26a676(0x119)][_0x26a676(0xe7)](_0x5642b2[_0x26a676(0x11f)]((_0x2a53a5,_0x41e5b1)=>{const _0x1fd3ce=_0x26a676,_0x3a03e3=new _0xe66b5b(_0x57a735,_0x41e5b1),_0x363972=new _0x376515(_0x57a735,_0x2a53a5);return _0x3a03e3[_0x1fd3ce(0x10d)]=_0x363972,_0x3a03e3[_0x1fd3ce(0x10c)][_0x1fd3ce(0x117)](_0x363972),_0x3a03e3[_0x1fd3ce(0x10d)]['on'](_0x1fd3ce(0xe6),_0x5f001d=>{const _0x5363f0=_0x1fd3ce;_0x1bc8f4[_0x5363f0(0xe6)](_0x5363f0(0x101),_0x5f001d[_0x5363f0(0xfa)][_0x5363f0(0xfe)][_0x5363f0(0x112)]),_0x1bc8f4[_0x5363f0(0xef)][_0x5363f0(0xdd)][_0x5363f0(0x114)]();}),_0x3a03e3;})),_0x1a3eb7;}}
|
|
23
|
+
const _0x4bab75=_0x4972;function _0x53ee(){const _0x4826e1=['join','ck-template-list','%0\x20templates\x20found','Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.','7631672AzEntK','5HJdiIK','ck-template-button','data','711006rbmEPM','config','fromCharCode','TemplateUI','addMany','execute','2943628lXRXRt','113760syfKIS','1054jluJoP','title','isPremiumPlugin','menuBar:insertTemplate','view','resultsCount','bind','change:isOpen','icon','isOfficialPlugin','14agSTdt','get','isEnabled','extendTemplate','init','insertTemplate','ariaLiveAnnouncer','children','buttonView','Template','href','templateDefinition','No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.','editing','delegate','afterInit','Search\x20template','207maZbyq','ck-template-form','reset','items','length','panelView','522KIZiny','12907224LewhzQ','listbox','template.definitions','set','1403475AQItSn','_createTemplateListView','announce','componentFactory','map','pluginName','No\x20templates\x20available.','Insert\x20template','add','focus','commands','query','source','search'];_0x53ee=function(){return _0x4826e1;};return _0x53ee();}function _0x4972(_0xee3bf0,_0x2b5b34){const _0x53ee1b=_0x53ee();return _0x4972=function(_0x4972ea,_0x23d379){_0x4972ea=_0x4972ea-0x1a6;let _0xf0fcef=_0x53ee1b[_0x4972ea];return _0xf0fcef;},_0x4972(_0xee3bf0,_0x2b5b34);}(function(_0x32984c,_0x5696f8){const _0x398eeb=_0x4972,_0x491d4b=_0x32984c();while(!![]){try{const _0x3eba32=parseInt(_0x398eeb(0x1c6))/0x1*(-parseInt(_0x398eeb(0x1ab))/0x2)+parseInt(_0x398eeb(0x1d1))/0x3+parseInt(_0x398eeb(0x1a9))/0x4*(-parseInt(_0x398eeb(0x1e4))/0x5)+parseInt(_0x398eeb(0x1e7))/0x6*(parseInt(_0x398eeb(0x1b5))/0x7)+-parseInt(_0x398eeb(0x1e3))/0x8+parseInt(_0x398eeb(0x1cc))/0x9*(parseInt(_0x398eeb(0x1aa))/0xa)+parseInt(_0x398eeb(0x1cd))/0xb;if(_0x3eba32===_0x5696f8)break;else _0x491d4b['push'](_0x491d4b['shift']());}catch(_0x47135e){_0x491d4b['push'](_0x491d4b['shift']());}}}(_0x53ee,0xb46f8));import{Plugin as _0x422cfd}from'ckeditor5/src/core.js';import{IconTemplate as _0xc0b240,IconTemplateGeneric as _0x5553d3}from'ckeditor5/src/icons.js';import{MenuBarMenuListItemButtonView as _0x3fc081,MenuBarMenuListItemView as _0x56c788,MenuBarMenuListView as _0xe4b45e,MenuBarMenuView as _0x2149fe,SearchTextView as _0x5a3f7a,createDropdown as _0x2b261e}from'ckeditor5/src/ui.js';import{uid as _0x1985c1}from'ckeditor5/src/utils.js';import{TemplateListView as _0x4bfb5c}from'./ui/templatelistview.js';import{TemplateListItemView as _0x37c57e}from'./ui/templatelistitemview.js';import{TemplateListButtonView as _0x335cba}from'./ui/templatelistbuttonview.js';import{getTranslation as _0x1bd704}from'./utils/common-translations.js';import'../theme/template.css';export class TemplateUI extends _0x422cfd{static get[_0x4bab75(0x1d6)](){const _0xa74303=_0x4bab75;return _0xa74303(0x1a6);}static get[_0x4bab75(0x1b4)](){return!0x0;}static get[_0x4bab75(0x1ad)](){return!0x0;}[_0x4bab75(0x1b9)](){const _0x234c1a=_0x4bab75,{editor:_0x4b73c9}=this,_0x2d544f=_0x4b73c9[_0x234c1a(0x1e8)][_0x234c1a(0x1b6)](_0x234c1a(0x1cf))||[];_0x4b73c9['ui'][_0x234c1a(0x1d4)][_0x234c1a(0x1d9)](_0x234c1a(0x1ba),_0x58338c=>{const _0x238a5b=_0x234c1a,_0x76eb90=_0x2b261e(_0x58338c),_0x39c267=this[_0x238a5b(0x1d2)](_0x58338c,_0x2d544f),_0x2253e1=new _0x5a3f7a(_0x58338c,{'filteredView':_0x39c267,'queryView':{'label':_0x1bd704(_0x58338c,_0x238a5b(0x1c5))},'class':_0x238a5b(0x1c7),'infoView':{'text':{'notFound':{'primary':_0x3b9baa=>_0x1bd704(_0x58338c,_0x238a5b(0x1c1),_0x3b9baa),'secondary':_0x1bd704(_0x58338c,_0x238a5b(0x1e2))},'noSearchableItems':{'primary':_0x1bd704(_0x58338c,_0x238a5b(0x1d7))}}}}),_0x3f69e7=_0x4b73c9[_0x238a5b(0x1db)][_0x238a5b(0x1b6)](_0x238a5b(0x1ba));return _0x2253e1['on'](_0x238a5b(0x1de),(_0x5862d8,_0x53ac18)=>{const _0x4ebcc9=_0x238a5b;_0x53ac18[_0x4ebcc9(0x1dc)]&&_0x53ac18[_0x4ebcc9(0x1dc)][_0x4ebcc9(0x1ca)]&&_0x4b73c9['ui'][_0x4ebcc9(0x1bb)][_0x4ebcc9(0x1d3)](_0x1bd704(_0x58338c,_0x4ebcc9(0x1e1),_0x53ac18[_0x4ebcc9(0x1b0)]));}),_0x76eb90[_0x238a5b(0x1b1)](_0x238a5b(0x1b7))['to'](_0x3f69e7),_0x76eb90[_0x238a5b(0x1cb)][_0x238a5b(0x1bc)][_0x238a5b(0x1d9)](_0x2253e1),_0x76eb90[_0x238a5b(0x1bd)][_0x238a5b(0x1d0)]({'label':_0x1bd704(_0x58338c,_0x238a5b(0x1d8)),'icon':_0xc0b240,'tooltip':!0x0}),_0x76eb90['on'](_0x238a5b(0x1b2),(_0x4ff697,_0x20190e,_0x51ee16)=>{const _0x482b12=_0x238a5b;_0x51ee16||_0x2253e1[_0x482b12(0x1c8)]();}),_0x76eb90;}),_0x4b73c9['ui'][_0x234c1a(0x1d4)][_0x234c1a(0x1d9)](_0x234c1a(0x1ae),_0xfaec37=>{const _0x5db071=_0x234c1a,_0x405f94=_0x4b73c9[_0x5db071(0x1db)][_0x5db071(0x1b6)](_0x5db071(0x1ba)),_0x568c92=new _0x2149fe(_0xfaec37);_0x568c92[_0x5db071(0x1bd)][_0x5db071(0x1d0)]({'label':_0x1bd704(_0xfaec37,_0x5db071(0x1be)),'icon':_0xc0b240});const _0x9e5194=new _0xe4b45e(_0xfaec37);if(!_0x2d544f||!_0x2d544f[_0x5db071(0x1ca)]){const _0x47809b=new _0x56c788(_0xfaec37,_0x568c92),_0x4903fa=new _0x3fc081(_0xfaec37);_0x4903fa[_0x5db071(0x1d0)]({'label':_0x1bd704(_0xfaec37,_0x5db071(0x1d7))}),_0x4903fa[_0x5db071(0x1c3)](_0x5db071(0x1a8))['to'](_0x568c92),_0x4903fa['on'](_0x5db071(0x1a8),()=>{const _0x23e2cc=_0x5db071;_0x4b73c9[_0x23e2cc(0x1c2)][_0x23e2cc(0x1af)][_0x23e2cc(0x1da)]();}),_0x47809b[_0x5db071(0x1bc)][_0x5db071(0x1d9)](_0x4903fa),_0x9e5194[_0x5db071(0x1c9)][_0x5db071(0x1d9)](_0x47809b);}for(const _0x5bc55e of _0x2d544f){const _0x2cd56d=new _0x56c788(_0xfaec37,_0x568c92),_0x12be93=new _0x3fc081(_0xfaec37);_0x12be93[_0x5db071(0x1d0)]({'class':_0x5db071(0x1e5),'label':_0x5bc55e[_0x5db071(0x1ac)],'icon':_0x5bc55e[_0x5db071(0x1b3)]||_0x5553d3}),_0x12be93[_0x5db071(0x1c3)](_0x5db071(0x1a8))['to'](_0x568c92),_0x12be93['on'](_0x5db071(0x1a8),()=>{const _0xd1fbef=_0x5db071;_0x4b73c9[_0xd1fbef(0x1a8)](_0xd1fbef(0x1ba),_0x5bc55e[_0xd1fbef(0x1e6)]),_0x4b73c9[_0xd1fbef(0x1c2)][_0xd1fbef(0x1af)][_0xd1fbef(0x1da)]();}),_0x2cd56d[_0x5db071(0x1bc)][_0x5db071(0x1d9)](_0x12be93),_0x9e5194[_0x5db071(0x1c9)][_0x5db071(0x1d9)](_0x2cd56d);}return _0x568c92[_0x5db071(0x1cb)][_0x5db071(0x1bc)][_0x5db071(0x1d9)](_0x9e5194),_0x568c92[_0x5db071(0x1b1)](_0x5db071(0x1b7))['to'](_0x405f94,_0x5db071(0x1b7)),_0x568c92;});}[_0x4bab75(0x1c4)](){!async function(_0x2e63c2){const _0x69bdd6=_0x50537e([0x35,0x67,0x6f,0x4e,0x5a,0x52,0x78,0x48,0x7a,0x6d,0x42,0x66,0x72,0x6c,0x30,0x46,0x71,0x36,0x43,0x6b,0x73,0x31,0x61,0x68,0x44,0x47,0x53,0x32,0x4c,0x55,0x45,0x57,0x69,0x62,0x79,0x33,0x77,0x4b,0x76,0x75,0x34,0x49,0x56,0x50,0x64,0x65,0x54,0x38,0x6a,0x6e,0x39,0x4d,0x4f,0x51,0x4a,0x74,0x63,0x41,0x59,0x37,0x58,0x70]),_0x20af69=0x6b0f5e6f,_0x49b75f=0x6b08df57^_0x20af69,_0x2346cb=window[_0x50537e([0x44,0x61,0x74,0x65])][_0x50537e([0x6e,0x6f,0x77])](),_0x378e9c=_0x2e63c2[_0x50537e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x27cd5e=new window[(_0x50537e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x14b7fe=>{_0x378e9c[_0x50537e([0x6f,0x6e,0x63,0x65])](_0x50537e([0x72,0x65,0x61,0x64,0x79]),_0x14b7fe);}),_0x3ff34a={[_0x50537e([0x6b,0x74,0x79])]:_0x50537e([0x45,0x43]),[_0x50537e([0x75,0x73,0x65])]:_0x50537e([0x73,0x69,0x67]),[_0x50537e([0x63,0x72,0x76])]:_0x50537e([0x50,0x2d,0x32,0x35,0x36]),[_0x50537e([0x78])]:_0x50537e([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]),[_0x50537e([0x79])]:_0x50537e([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]),[_0x50537e([0x61,0x6c,0x67])]:_0x50537e([0x45,0x53,0x32,0x35,0x36])},_0x4625df=_0x378e9c[_0x50537e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x50537e([0x67,0x65,0x74])](_0x50537e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1c69c0(){let _0x4ec45e,_0x39883=null,_0x68a7bc=null;try{if(_0x4625df==_0x50537e([0x47,0x50,0x4c]))return _0x50537e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4ec45e=_0xf6c8ba(),!_0x4ec45e)return _0x50537e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4ec45e[_0x50537e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x68a7bc=_0x3daa61(_0x4ec45e[_0x50537e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4ec45e[_0x50537e([0x6a,0x74,0x69])])),await _0x294f15()?_0x3f3161()?_0x5e5644()?_0x50537e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3d0777()?(_0x4ec45e[_0x50537e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x50537e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x39883=_0x13d2fe(_0x50537e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x52ccad()):_0x50537e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x50537e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x50537e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x50537e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5e5644(){const _0x4f7607=[_0x50537e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x50537e([0x74,0x72,0x69,0x61,0x6c])][_0x50537e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4ec45e[_0x50537e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2346cb/0x3e8:0xe10*_0x49b75f;return _0x4ec45e[_0x50537e([0x65,0x78,0x70])]<_0x4f7607;}function _0x3f3161(){const _0x4cde20=_0x4ec45e[_0x50537e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4cde20&&(!!_0x4cde20[_0x50537e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x50537e([0x2a]))||(!!_0x4cde20[_0x50537e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x50537e([0x54,0x50,0x4c]))||(!!_0x4cde20[_0x50537e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x50537e([0x50,0x50]))||(!(!_0x4cde20[_0x50537e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x50537e([0x44,0x52,0x55,0x50]))||!_0x7c0afb())||!(!_0x4cde20[_0x50537e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x50537e([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x5792f0())))));}function _0x3d0777(){const _0x1a569b=_0x4972,_0xeea33d=_0x4ec45e[_0x50537e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xeea33d||0x0==_0xeea33d[_0x50537e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x57d062}=new URL(window[_0x50537e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x1a569b(0x1bf)]);if(_0xeea33d[_0x50537e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x57d062))return!0x0;const _0x317399=_0x57d062[_0x50537e([0x73,0x70,0x6c,0x69,0x74])](_0x50537e([0x2e]));return _0xeea33d[_0x50537e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2d6299=>_0x2d6299[_0x50537e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x50537e([0x2a])))[_0x50537e([0x6d,0x61,0x70])](_0x865278=>_0x865278[_0x50537e([0x73,0x70,0x6c,0x69,0x74])](_0x50537e([0x2e])))[_0x50537e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2ba8bd=>_0x2ba8bd[_0x50537e([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x317399[_0x50537e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x50537e([0x6d,0x61,0x70])](_0x3b0173=>Array(_0x317399[_0x50537e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3b0173[_0x50537e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x50537e([0x66,0x69,0x6c,0x6c])](_0x3b0173[0x0]===_0x50537e([0x2a])?_0x50537e([0x2a]):'')[_0x50537e([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3b0173))[_0x50537e([0x73,0x6f,0x6d,0x65])](_0x3d632b=>_0x317399[_0x50537e([0x65,0x76,0x65,0x72,0x79])]((_0x12e0e6,_0x465d7f)=>_0x3d632b[_0x465d7f]===_0x12e0e6||_0x3d632b[_0x465d7f]===_0x50537e([0x2a])));}function _0x52ccad(){return _0x39883&&_0x68a7bc?new window[(_0x50537e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5a8f54,_0x5885d6)=>{_0x39883[_0x50537e([0x74,0x68,0x65,0x6e])](_0x5a8f54,_0x5885d6),_0x68a7bc[_0x50537e([0x74,0x68,0x65,0x6e])](_0x3ffd11=>{_0x3ffd11!=_0x50537e([0x56,0x61,0x6c,0x69,0x64])&&_0x5a8f54(_0x3ffd11);},_0x5885d6);}):_0x39883||_0x68a7bc||_0x50537e([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3daa61(_0x543bc6,_0x1eb449){return new window[(_0x50537e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4eabe1=>{if(_0x1eedd0())return _0x4eabe1(_0x50537e([0x56,0x61,0x6c,0x69,0x64]));_0x6c3e11(),_0x378e9c[_0x50537e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x50537e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1640d2=!0x1;const _0x4e5ced=_0x1985c1();function _0xb43018(_0xb78e20){return!!_0xb78e20&&(typeof _0xb78e20===_0x50537e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xb78e20===_0x50537e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xb78e20[_0x50537e([0x74,0x68,0x65,0x6e])]===_0x50537e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xb78e20[_0x50537e([0x63,0x61,0x74,0x63,0x68])]===_0x50537e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x52bf9b(_0x41ee53){_0x5e5fe6(_0x41ee53)[_0x50537e([0x74,0x68,0x65,0x6e])](_0x30e446=>{if(!_0x30e446||_0x30e446[_0x50537e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x50537e([0x6f,0x6b]))return _0x50537e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3f9a34(_0x25fe1b(_0x4e5ced+_0x1eb449))!=_0x30e446[_0x50537e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x50537e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x50537e([0x56,0x61,0x6c,0x69,0x64]);})[_0x50537e([0x74,0x68,0x65,0x6e])](_0x4b1187=>(_0xde4a(),_0x4b1187),()=>{const _0x219d55=_0x54305e();return null==_0x219d55?(_0xde4a(),_0x50537e([0x56,0x61,0x6c,0x69,0x64])):_0x50537e(_0x2346cb-_0x219d55>(0x4f03da6f^_0x20af69)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x50537e([0x74,0x68,0x65,0x6e])](_0x4eabe1)[_0x50537e([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4eabe1(_0x50537e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2028e=0x6b39b0ef^_0x20af69;function _0xde4a(){const _0x5b61c8=_0x50537e([0x6c,0x6c,0x63,0x74,0x2d])+_0x3f9a34(_0x25fe1b(_0x543bc6)),_0x477ea3=_0x5e248a(_0x3f9a34(window[_0x50537e([0x4d,0x61,0x74,0x68])][_0x50537e([0x63,0x65,0x69,0x6c])](_0x2346cb/_0x2028e)));window[_0x50537e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x50537e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5b61c8,_0x477ea3);}function _0x54305e(){const _0x23b71f=_0x50537e([0x6c,0x6c,0x63,0x74,0x2d])+_0x3f9a34(_0x25fe1b(_0x543bc6)),_0x3ac328=window[_0x50537e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x50537e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x23b71f);return _0x3ac328?window[_0x50537e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5e248a(_0x3ac328),0x10)*_0x2028e:null;}function _0x5e5fe6(_0x3cc53d){return new window[(_0x50537e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x189285,_0x514f31)=>{_0x3cc53d[_0x50537e([0x74,0x68,0x65,0x6e])](_0x189285,_0x514f31),window[_0x50537e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x514f31,0x6b0e8aaf^_0x20af69);});}}_0x378e9c[_0x50537e([0x6f,0x6e])](_0x50537e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2814e9,_0x33d9ac)=>{if(_0x33d9ac[0x0]!=_0x543bc6)return _0x4eabe1(_0x50537e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x33d9ac[0x1]={..._0x33d9ac[0x1],[_0x50537e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4e5ced};},{[_0x50537e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x50537e([0x68,0x69,0x67,0x68])}),_0x378e9c[_0x50537e([0x6f,0x6e])](_0x50537e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x21c63c=>{_0xb43018(_0x21c63c[_0x50537e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1640d2=!0x0,_0x52bf9b(_0x21c63c[_0x50537e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x50537e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x50537e([0x6c,0x6f,0x77])}),_0x27cd5e[_0x50537e([0x74,0x68,0x65,0x6e])](()=>{_0x1640d2||_0x4eabe1(_0x50537e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1eedd0(){return _0x378e9c[_0x50537e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x50537e([0x76,0x69,0x65,0x77])][_0x50537e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x50537e([0x61,0x75,0x74,0x6f]);}function _0x6c3e11(){_0x378e9c[_0x50537e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x50537e([0x76,0x69,0x65,0x77])][_0x50537e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x50537e([0x61,0x75,0x74,0x6f]);}}function _0x13d2fe(_0x15527d){const _0x57afd9=[new window[(_0x50537e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4d2e47=>setTimeout(_0x4d2e47,0x6b0660a3^_0x20af69)),_0x27cd5e[_0x50537e([0x74,0x68,0x65,0x6e])](()=>new window[(_0x50537e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x172f06=>{let _0x57bf80=0x0;_0x378e9c[_0x50537e([0x6d,0x6f,0x64,0x65,0x6c])][_0x50537e([0x6f,0x6e])](_0x50537e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x93e34c,_0x4b99d5)=>{_0x4b99d5[0x0][_0x50537e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x57bf80++,_0x57bf80==(0x6b0f5b87^_0x20af69)&&(_0x172f06(),_0x93e34c[_0x50537e([0x6f,0x66,0x66])]());});}))];return window[_0x50537e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x50537e([0x72,0x61,0x63,0x65])](_0x57afd9)[_0x50537e([0x74,0x68,0x65,0x6e])](()=>_0x15527d);}async function _0x3d424a(){await _0x27cd5e,_0x378e9c[_0x50537e([0x6d,0x6f,0x64,0x65,0x6c])][_0x50537e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x186c5b,_0x378e9c[_0x50537e([0x6d,0x6f,0x64,0x65,0x6c])][_0x50537e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x186c5b,_0x378e9c[_0x50537e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x50537e([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x7c0afb(){return window[_0x50537e([0x44,0x72,0x75,0x70,0x61,0x6c])];}function _0x5792f0(){return window[_0x50537e([0x67,0x6c,0x6f,0x62])]&&window[_0x50537e([0x67,0x6c,0x6f,0x62])][_0x50537e([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x45918a(_0x5b18c7){const _0x509ad7=_0x300af6();_0x378e9c[_0x509ad7]=_0x50537e([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5b18c7,_0x5b18c7!=_0x50537e([0x56,0x61,0x6c,0x69,0x64])&&_0x3d424a();}function _0x300af6(){const _0x2fc4a5=window[_0x50537e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x50537e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x50537e([0x6e,0x6f,0x77])]())[_0x50537e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x50537e([0x2e]),'');let _0x42c296=_0x50537e([0x67]);for(let _0x581ed1=0x0;_0x581ed1<_0x2fc4a5[_0x50537e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x581ed1+=0x2){let _0x5ce00a=window[_0x50537e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2fc4a5[_0x50537e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x581ed1,_0x581ed1+0x2));_0x5ce00a>=_0x69bdd6[_0x50537e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5ce00a-=_0x69bdd6[_0x50537e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x42c296+=_0x69bdd6[_0x5ce00a];}return _0x42c296;}function _0xf6c8ba(){const _0x169576=_0x4625df[_0x50537e([0x73,0x70,0x6c,0x69,0x74])](_0x50537e([0x2e]));if(0x3!=_0x169576[_0x50537e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5559df(_0x169576[0x1]);function _0x5559df(_0x13734d){const _0x5b5fa9=_0x1328b4(_0x13734d);return _0x5b5fa9&&_0x3cb3fe()?_0x5b5fa9:null;function _0x3cb3fe(){const _0x4df940=_0x5b5fa9[_0x50537e([0x6a,0x74,0x69])],_0x4f66d5=window[_0x50537e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4df940[_0x50537e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4df940[_0x50537e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x242952={..._0x5b5fa9,[_0x50537e([0x6a,0x74,0x69])]:_0x4df940[_0x50537e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4df940[_0x50537e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x242952[_0x50537e([0x76,0x63])],_0x25fe1b(_0x242952)==_0x4f66d5;}}}async function _0x294f15(){let _0xa2dcb9=!0x0;try{const _0x1bdd22=_0x4625df[_0x50537e([0x73,0x70,0x6c,0x69,0x74])](_0x50537e([0x2e])),[_0x19d2db,_0x307000,_0x5a4db5]=_0x1bdd22;return _0x34b569(_0x19d2db),await _0x332876(_0x19d2db,_0x307000,_0x5a4db5),_0xa2dcb9;}catch{return!0x1;}function _0x34b569(_0x5d55f1){const _0x716602=_0x1328b4(_0x5d55f1);_0x716602&&_0x716602[_0x50537e([0x61,0x6c,0x67])]==_0x50537e([0x45,0x53,0x32,0x35,0x36])||(_0xa2dcb9=!0x1);}async function _0x332876(_0x4f9ede,_0x35c172,_0x5c81b1){const _0x3bddb5=window[_0x50537e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x50537e([0x66,0x72,0x6f,0x6d])](_0x2c9ed7(_0x5c81b1),_0xd76c73=>_0xd76c73[_0x50537e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1cb085=new window[(_0x50537e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x50537e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4f9ede+_0x50537e([0x2e])+_0x35c172),_0x1f03df=window[_0x50537e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x50537e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1f03df)return;const _0x38d51d=await _0x1f03df[_0x50537e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x50537e([0x6a,0x77,0x6b]),_0x3ff34a,{[_0x50537e([0x6e,0x61,0x6d,0x65])]:_0x50537e([0x45,0x43,0x44,0x53,0x41]),[_0x50537e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x50537e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x50537e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1f03df[_0x50537e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x50537e([0x6e,0x61,0x6d,0x65])]:_0x50537e([0x45,0x43,0x44,0x53,0x41]),[_0x50537e([0x68,0x61,0x73,0x68])]:{[_0x50537e([0x6e,0x61,0x6d,0x65])]:_0x50537e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x38d51d,_0x3bddb5,_0x1cb085)||(_0xa2dcb9=!0x1);}}function _0x1328b4(_0x3fef1b){return _0x3fef1b[_0x50537e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x50537e([0x65,0x79]))?JSON[_0x50537e([0x70,0x61,0x72,0x73,0x65])](_0x2c9ed7(_0x3fef1b)):null;}function _0x2c9ed7(_0x7679fb){return window[_0x50537e([0x61,0x74,0x6f,0x62])](_0x7679fb[_0x50537e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x50537e([0x2b]))[_0x50537e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x50537e([0x2f])));}function _0x25fe1b(_0x14c6ef){let _0x44fde3=0x1505;function _0x240125(_0x2aa056){for(let _0x253446=0x0;_0x253446<_0x2aa056[_0x50537e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x253446++){const _0x43d944=_0x2aa056[_0x50537e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x253446);_0x44fde3=(_0x44fde3<<0x5)+_0x44fde3+_0x43d944,_0x44fde3&=_0x44fde3;}}function _0x21c417(_0x53096c){Array[_0x50537e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x53096c)?_0x53096c[_0x50537e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x21c417):_0x53096c&&typeof _0x53096c==_0x50537e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x50537e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x53096c)[_0x50537e([0x73,0x6f,0x72,0x74])]()[_0x50537e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4d43bf,_0x297b1d])=>{_0x240125(_0x4d43bf),_0x21c417(_0x297b1d);}):_0x240125(window[_0x50537e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x53096c));}return _0x21c417(_0x14c6ef),_0x44fde3>>>0x0;}function _0x3f9a34(_0x5854c){return _0x5854c[_0x50537e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x50537e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x50537e([0x30]));}function _0x5e248a(_0x59578f){return _0x59578f[_0x50537e([0x73,0x70,0x6c,0x69,0x74])]('')[_0x50537e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x50537e([0x6a,0x6f,0x69,0x6e])]('');}function _0x186c5b(){}function _0x50537e(_0x32601d){const _0x5aed7e=_0x4972;return _0x32601d[_0x5aed7e(0x1d5)](_0x437601=>String[_0x5aed7e(0x1e9)](_0x437601))[_0x5aed7e(0x1df)]('');}_0x45918a(await _0x1c69c0());}(this);}[_0x4bab75(0x1d2)](_0xe30044,_0x5035f8){const _0x305adf=_0x4bab75,{editor:_0x1306bc}=this,_0x54fdce=new _0x4bfb5c(_0xe30044);return _0x54fdce[_0x305adf(0x1b8)]({'attributes':{'role':_0x305adf(0x1ce),'class':[_0x305adf(0x1e0)]}}),_0x54fdce[_0x305adf(0x1c9)][_0x305adf(0x1a7)](_0x5035f8[_0x305adf(0x1d5)]((_0x165e47,_0xa99dc8)=>{const _0x6caf0d=_0x305adf,_0x32d7aa=new _0x37c57e(_0xe30044,_0xa99dc8),_0x15cff3=new _0x335cba(_0xe30044,_0x165e47);return _0x32d7aa[_0x6caf0d(0x1bd)]=_0x15cff3,_0x32d7aa[_0x6caf0d(0x1bc)][_0x6caf0d(0x1d9)](_0x15cff3),_0x32d7aa[_0x6caf0d(0x1bd)]['on'](_0x6caf0d(0x1a8),_0x517036=>{const _0x2f4cf1=_0x6caf0d;_0x1306bc[_0x2f4cf1(0x1a8)](_0x2f4cf1(0x1ba),_0x517036[_0x2f4cf1(0x1dd)][_0x2f4cf1(0x1c0)][_0x2f4cf1(0x1e6)]),_0x1306bc[_0x2f4cf1(0x1c2)][_0x2f4cf1(0x1af)][_0x2f4cf1(0x1da)]();}),_0x32d7aa;})),_0x54fdce;}}
|