@ckeditor/ckeditor5-template 46.0.1-alpha.3 → 46.0.1-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 CHANGED
@@ -2,4 +2,4 @@
2
2
  /*!
3
3
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
4
4
  * For licensing, see LICENSE.md.
5
- */(()=>{var t={168:t=>{"use strict";t.exports=function(t){return t[1]}},175:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var r=n(168),i=n.n(r),s=n(433),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 o=a},237:t=>{"use strict";t.exports=CKEditor5.dll},262: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)}},311:(t,e,n)=>{t.exports=n(237)("./src/ui.js")},355:(t,e,n)=>{t.exports=n(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},433: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 o=0;o<this.length;o++){var c=this[o][0];null!=c&&(a[c]=!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}},545: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 o=document.createTextNode(s),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(o,c[e]):t.appendChild(o)}}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)}}}},584:(t,e,n)=>{t.exports=n(237)("./src/utils.js")},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach(function(n){t.setAttribute(n,e[n])})}},673: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=[],o=0;o<t.length;o++){var c=t[o],l=r.base?c[0]+r.base:c[0],u=s[l]||0,p="".concat(l," ").concat(u);s[l]=u+1;var f=n(p),d={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==f)e[f].references++,e[f].updater(d);else{var m=i(d,r);r.byIndex=o,e.splice(o,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 o=n(s[a]);e[o].references--}for(var c=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=c}}},782:(t,e,n)=>{t.exports=n(237)("./src/core.js")}},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:()=>X,TemplateCommand:()=>a,TemplateEditing:()=>u,TemplateUI:()=>H});var t=n(782);const e=s;function i(){const t=["2LVWaVV","function","htmlProcessor","insertContent","999316DMyeHL","5822467LkfdEx","string","data","18510tBWiQZ","toModel","6498sYcFin","toView","3363296mXxaQY","5409880qdxMZF","2278623fbnauX","editor","1405bVhdud","change","execute"];return(i=function(){return t})()}function s(t,e){const n=i();return(s=function(t,e){return n[t-=256]})(t,e)}!function(t){const e=s,n=t();for(;;)try{if(728109===-parseInt(e(265))/1+-parseInt(e(261))/2*(-parseInt(e(256))/3)+parseInt(e(274))/4+parseInt(e(258))/5*(parseInt(e(269))/6)+-parseInt(e(266))/7+-parseInt(e(273))/8+parseInt(e(271))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(i);class a extends t.Command{[e(260)](t){const n=e,{model:r}=this[n(257)];let i;switch(typeof t){case n(267):i=t;break;case n(262):i=t()}n(267)==typeof i&&r[n(259)](()=>{const t=n,e=this[t(257)][t(268)][t(263)][t(272)](i),s=this[t(257)][t(268)][t(270)](e);r[t(264)](s)})}}const o=c;function c(t,e){const n=l();return(c=function(t,e){return n[t-=359]})(t,e)}function l(){const t=["templateLicenseKeyDomainLimit","templateLicenseKeyUsageLimit","5535ifuitg","invalid","9tgzFMN","2013100USToKj","licenseKey","templateLicenseKeyExpired","init","TemplateEditing","6164914qBcULY","insertTemplate","destroy","trialLimit","pluginName","domainLimit","editor","templateLicenseKeyTrialLimit","get","1924dLLSGP","featureNotAllowed","isPremiumPlugin","Template","4528974toEnzi","315934YEZiyU","commands","templateLicenseKeyNotAllowed","config","_licenseKeyCheckInterval","9924130THVqAI","6145104xHCayt","usageLimit","_showLicenseError","evaluationLimit","templateLicenseKeyInvalid","isOfficialPlugin","templateLicenseKeyValid","2fiwhSJ","add","templateLicenseKeyEvaluationLimit","expired"];return(l=function(){return t})()}!function(t){const e=c,n=t();for(;;)try{if(623983===parseInt(e(364))/1*(-parseInt(e(392))/2)+-parseInt(e(370))/3*(-parseInt(e(387))/4)+parseInt(e(373))/5+parseInt(e(391))/6+-parseInt(e(378))/7+parseInt(e(398))/8+-parseInt(e(372))/9*(parseInt(e(397))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(l);class u extends t.Plugin{[o(374)];[o(396)];static get[o(382)](){return o(377)}static get[o(362)](){return!0}static get[o(389)](){return!0}[o(376)](){const t=o,{editor:e}=this;e[t(393)][t(365)](t(379),new a(e)),this[t(374)]=this[t(384)][t(395)][t(386)](t(374));const n=this[t(384)];this[t(396)]=setInterval(()=>{const e=t;let r;for(const t in n){const i=t,s=n[i];if(e(363)==s||e(361)==s||e(375)==s||e(368)==s||e(394)==s||e(366)==s||e(385)==s||e(369)==s){delete n[i],r=s,clearInterval(this[e(396)]),this[e(396)]=void 0;break}}e(361)==r&&n[e(359)](e(371)),e(375)==r&&n[e(359)](e(367)),e(368)==r&&n[e(359)](e(383)),e(394)==r&&n[e(359)](e(388),e(390)),e(366)==r&&n[e(359)](e(360)),e(385)==r&&n[e(359)](e(381)),e(369)==r&&n[e(359)](e(399))},1e3)}[o(380)](){const t=o;super[t(380)](),this[t(396)]&&clearInterval(this[t(396)])}}var p=n(355),f=n(311),d=n(584);const m=k;!function(t){const e=k,n=t();for(;;)try{if(462927===-parseInt(e(368))/1+parseInt(e(363))/2+-parseInt(e(367))/3*(parseInt(e(373))/4)+-parseInt(e(361))/5+parseInt(e(360))/6+-parseInt(e(378))/7+parseInt(e(377))/8)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(g);class h extends f.ListView{[m(359)](t){const e=m;if(!t)return this[e(364)]();const n=new Map,r=this[e(376)][e(355)](r=>{const i=e,s=r[i(372)][i(354)](t);return r[i(362)]=!!s,r[i(372)][i(356)](s?t:null),s&&n[i(365)](r,s),r})[e(371)](w)[e(371)]((i=n,function(t,e){const n=k,r=i[n(370)](t),s=i[n(370)](e);return r&&!s?-1:s&&!r?1:r||s?r[n(374)]&&!s[n(374)]?-1:!r[n(374)]&&s[n(374)]?1:0:0}));var i;return this[e(376)][e(366)](),this[e(376)][e(369)](r),{resultsCount:n[e(358)],totalItemsCount:this[e(376)][e(375)]}}[m(364)](){const t=m,e=this[t(376)][t(355)](t=>t)[t(371)](w);return e[t(353)](e=>{const n=t;e[n(362)]=!0,e[n(372)][n(356)](null)}),this[t(376)][t(366)](),this[t(376)][t(369)](e),{resultsCount:e[t(375)],totalItemsCount:e[t(375)]}}}function k(t,e){const n=g();return(k=function(t,e){return n[t-=353]})(t,e)}function w(t,e){const n=m;return t[n(357)]-e[n(357)]}function g(){const t=["length","items","18323640FbUbly","3285156mSEsGD","forEach","isMatching","map","highlightText","originalIndex","size","filter","5132802cpvDGl","4519200wrYHiL","isVisible","99208wqIuqo","_resetFiltering","set","clear","85479zFwvAe","704112VRUoXr","addMany","get","sort","buttonView","92pxQunp","title"];return(g=function(){return t})()}function v(t,e){var n=b();return(v=function(t,e){return n[t-=401]})(t,e)}var I=v;function b(){var t=["244CXNIou","25977TgOyBN","1075740ThLZeF","6940868MnWZPN","222838avxEAl","20zrbdpp","1TEQptH","2209725tDNFEd","3198426zoRbFC","originalIndex","buttonView","360LXvtCf","4112631OWFvyr"];return(b=function(){return t})()}!function(t){for(var e=v,n=t();;)try{if(750115===-parseInt(e(403))/1*(-parseInt(e(412))/2)+parseInt(e(411))/3*(-parseInt(e(410))/4)+-parseInt(e(404))/5+-parseInt(e(405))/6+-parseInt(e(401))/7*(-parseInt(e(408))/8)+-parseInt(e(409))/9*(-parseInt(e(402))/10)+-parseInt(e(413))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(b);class y extends f.ListItemView{[I(406)];[I(407)];constructor(t,e){var n=I;super(t),this[n(406)]=e,this[n(407)]=null}}const x=_;function _(t,e){const n=T();return(_=function(t,e){return n[t-=275]})(t,e)}function T(){const t=["ck-template-button","templateDefinition","ck-button__label","locale","102120jvaFEw","textPartView","ck-template-form__text-part","2344741PgCAZb","add","option","labelView","ck-template-form__description","remove","div","children","iconView","310332hiJDMd","431076WYxcxz","descriptionView","match","setTemplate","set","description","span","destroy","1144995qbdKSu","6YjCvHu","push","titleView","6FLrydU","render","632728qRaahL","isMatching","2655150AoHrbI","highlightText","18CqnTgi","element","title","extendTemplate","text","isColorInherited"];return(T=function(){return t})()}!function(t){const e=_,n=t();for(;;)try{if(239993===-parseInt(e(292))/1+-parseInt(e(307))/2+parseInt(e(305))/3*(-parseInt(e(293))/4)+parseInt(e(301))/5+parseInt(e(302))/6*(parseInt(e(283))/7)+-parseInt(e(280))/8+-parseInt(e(311))/9*(-parseInt(e(309))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(T);class L extends f.ButtonView{[x(277)];[x(281)];constructor(t,e){const n=x;super(t),this[n(277)]=e,this[n(281)]=null;const{icon:r=p.IconTemplateGeneric}=e;this[n(297)]({withText:!0,class:n(276),role:n(285),icon:r}),this[n(291)][n(275)]=!1}[x(306)](){const t=x;super[t(306)](),this[t(281)]=new V(this[t(279)],this[t(277)],this[t(286)][t(312)].id),this[t(290)][t(288)](this[t(286)]),this[t(290)][t(284)](this[t(281)])}[x(300)](){const t=x;super[t(300)](),this[t(286)][t(300)]()}[x(308)](t){const e=x,{title:n,description:r}=this[e(277)],i=!!n[e(295)](t),s=!(!r||!r[e(295)](t));return i||s?{title:i,description:s}:null}[x(310)](t){const e=x;this[e(281)][e(310)](t)}}class V extends f.View{constructor(t,e,n){const r=x;super(t),this[r(313)]=e[r(313)],this[r(298)]=e[r(298)],this[r(304)]=new f.HighlightedTextView,this[r(304)][r(315)]=this[r(313)],this[r(304)][r(314)]({tag:r(299),attributes:{class:[r(278)],id:n}});const i=[this[r(304)]];this[r(298)]&&(this[r(294)]=new f.HighlightedTextView,this[r(294)][r(315)]=this[r(298)],this[r(294)][r(314)]({tag:"p",attributes:{class:[r(287)]}}),i[r(303)](this[r(294)])),this[r(296)]({tag:r(289),attributes:{class:["ck",r(282)]},children:i})}[x(310)](t){const e=x;this[e(304)][e(310)](t),this[e(298)]&&this[e(294)][e(310)](t)}}function C(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(673),M=n.n(S),E=n(545),N=n.n(E),P=n(262),A=n.n(P),F=n(667),K=n.n(F),O=n(357),j=n.n(O),z=n(175),B={attributes:{"data-cke":!0}};B.setAttributes=K(),B.insert=A().bind(null,"head"),B.domAPI=N(),B.insertStyleElement=j();M()(z.A,B);z.A&&z.A.locals&&z.A.locals;const U=D;function q(){const t=["Please try a different phrase or check the spelling.","isOfficialPlugin","items","data",'No templates were found matching "%0".',"execute","panelView","resultsCount","query","1364650YCKkzh","ck-template-button","TemplateUI","editing","config","announce","focus","buttonView","templateDefinition","change:isOpen","ariaLiveAnnouncer","ck-template-list","set","extendTemplate","60939eictVK","isEnabled","add","componentFactory","398xpSxwD","bind","map","%0 templates found","commands","href","menuBar:insertTemplate","template.definitions","addMany","source","490892YtxodT","2780500krpHGk","Search template","title","No templates available.","view","delegate","init","search","ck-template-form","afterInit","pluginName","insertTemplate","Template","5217hHVoYF","_createTemplateListView","join","44250YYRtSh","Insert template","reset","136XEhFqF","icon","get","81495twOhCt","listbox","125hwirvl","length","isPremiumPlugin","fromCharCode","children"];return(q=function(){return t})()}function D(t,e){const n=q();return(D=function(t,e){return n[t-=413]})(t,e)}!function(t){const e=D,n=t();for(;;)try{if(222203===-parseInt(e(425))/1+-parseInt(e(459))/2*(parseInt(e(416))/3)+-parseInt(e(469))/4+-parseInt(e(427))/5*(-parseInt(e(419))/6)+parseInt(e(441))/7+parseInt(e(422))/8*(parseInt(e(455))/9)+parseInt(e(470))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(q);class H extends t.Plugin{static get[U(413)](){return U(443)}static get[U(433)](){return!0}static get[U(429)](){return!0}[U(476)](){const t=U,{editor:e}=this,n=e[t(445)][t(424)](t(466))||[];e.ui[t(458)][t(457)](t(414),r=>{const i=t,s=(0,f.createDropdown)(r),a=this[i(417)](r,n),o=new f.SearchTextView(r,{filteredView:a,queryView:{label:C(r,i(471))},class:i(478),infoView:{text:{notFound:{primary:t=>C(r,i(436),t),secondary:C(r,i(432))},noSearchableItems:{primary:C(r,i(473))}}}}),c=e[i(463)][i(424)](i(414));return o.on(i(477),(t,n)=>{const s=i;n[s(440)]&&n[s(440)][s(428)]&&e.ui[s(451)][s(446)](C(r,s(462),n[s(439)]))}),s[i(460)](i(456)).to(c),s[i(438)][i(431)][i(457)](o),s[i(448)][i(453)]({label:C(r,i(420)),icon:p.IconTemplate,tooltip:!0}),s.on(i(450),(t,e,n)=>{n||o[i(421)]()}),s}),e.ui[t(458)][t(457)](t(465),r=>{const i=t,s=e[i(463)][i(424)](i(414)),a=new f.MenuBarMenuView(r);a[i(448)][i(453)]({label:C(r,i(415)),icon:p.IconTemplate});const o=new f.MenuBarMenuListView(r);if(!n||!n[i(428)]){const t=new f.MenuBarMenuListItemView(r,a),n=new f.MenuBarMenuListItemButtonView(r);n[i(453)]({label:C(r,i(473))}),n[i(475)](i(437)).to(a),n.on(i(437),()=>{const t=i;e[t(444)][t(474)][t(447)]()}),t[i(431)][i(457)](n),o[i(434)][i(457)](t)}for(const t of n){const n=new f.MenuBarMenuListItemView(r,a),s=new f.MenuBarMenuListItemButtonView(r);s[i(453)]({class:i(442),label:t[i(472)],icon:t[i(423)]||p.IconTemplateGeneric}),s[i(475)](i(437)).to(a),s.on(i(437),()=>{const n=i;e[n(437)](n(414),t[n(435)]),e[n(444)][n(474)][n(447)]()}),n[i(431)][i(457)](s),o[i(434)][i(457)](n)}return a[i(438)][i(431)][i(457)](o),a[i(460)](i(456)).to(s,i(456)),a})}[U(479)](){!async function(t){const e=h([111,107,105,119,103,66,116,50,88,114,90,49,97,115,53,109,81,84,112,55,68,100,80,102,113,104,48,83,54,106,52,78,73,85,72,99,67,117,77,51,79,65,89,74,87,86,71,98,56,120,82,118,121,76,110,108,122,57,101,70,69,75]),n=window[h([68,97,116,101])][h([110,111,119])](),r=t[h([101,100,105,116,111,114])],i=new(window[h([80,114,111,109,105,115,101])])(t=>{r[h([111,110,99,101])](h([114,101,97,100,121]),t)}),s={[h([107,116,121])]:h([69,67]),[h([117,115,101])]:h([115,105,103]),[h([99,114,118])]:h([80,45,50,53,54]),[h([120])]:h([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]),[h([121])]:h([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]),[h([97,108,103])]:h([69,83,50,53,54])},a=r[h([99,111,110,102,105,103])][h([103,101,116])](h([108,105,99,101,110,115,101,75,101,121]));function o(t){const e=[new(window[h([80,114,111,109,105,115,101])])(t=>setTimeout(t,605900)),i[h([116,104,101,110])](()=>new(window[h([80,114,111,109,105,115,101])])(t=>{let e=0;r[h([109,111,100,101,108])][h([111,110])](h([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),(n,r)=>{r[0][h([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&e++,504==e&&(t(),n[h([111,102,102])]())})}))];return window[h([80,114,111,109,105,115,101])][h([114,97,99,101])](e)[h([116,104,101,110])](()=>t)}function c(t){return t[h([115,116,97,114,116,115,87,105,116,104])](h([101,121]))?JSON[h([112,97,114,115,101])](l(t)):null}function l(t){return window[h([97,116,111,98])](t[h([114,101,112,108,97,99,101])](/-/g,h([43]))[h([114,101,112,108,97,99,101])](/_/g,h([47])))}function u(t){let e=5381;function n(t){for(let n=0;n<t[h([108,101,110,103,116,104])];n++){const r=t[h([99,104,97,114,67,111,100,101,65,116])](n);e=(e<<5)+e+r,e&=e}}return function t(e){Array[h([105,115,65,114,114,97,121])](e)?e[h([102,111,114,69,97,99,104])](t):e&&typeof e==h([111,98,106,101,99,116])?Object[h([101,110,116,114,105,101,115])](e)[h([115,111,114,116])]()[h([102,111,114,69,97,99,104])](([e,r])=>{n(e),t(r)}):n(window[h([83,116,114,105,110,103])](e))}(t),e>>>0}function p(t){return t[h([116,111,83,116,114,105,110,103])](16)[h([112,97,100,83,116,97,114,116])](8,h([48]))}function f(t){return t[h([115,112,108,105,116])]("")[h([114,101,118,101,114,115,101])]()[h([106,111,105,110])]("")}function m(){}function h(t){const e=D;return t[e(461)](t=>String[e(430)](t))[e(418)]("")}!function(t){const n=function(){const t=window[h([83,116,114,105,110,103])](window[h([112,101,114,102,111,114,109,97,110,99,101])][h([110,111,119])]())[h([114,101,112,108,97,99,101])](h([46]),"");let n=h([111]);for(let r=0;r<t[h([108,101,110,103,116,104])];r+=2){let i=window[h([112,97,114,115,101,73,110,116])](t[h([115,117,98,115,116,114,105,110,103])](r,r+2));i>=e[h([108,101,110,103,116,104])]&&(i-=e[h([108,101,110,103,116,104])]),n+=e[i]}return n}();r[n]=h([116,101,109,112,108,97,116,101,76,105,99,101,110,115,101,75,101,121])+t,t!=h([86,97,108,105,100])&&async function(){await i,r[h([109,111,100,101,108])][h([99,104,97,110,103,101])]=m,r[h([109,111,100,101,108])][h([101,110,113,117,101,117,101,67,104,97,110,103,101])]=m,r[h([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](h([109,111,100,101,108]))}()}(await async function(){let t,e=null,m=null;try{return a==h([71,80,76])?h([78,111,116,65,108,108,111,119,101,100]):(t=function(){const t=a[h([115,112,108,105,116])](h([46]));return 3!=t[h([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[h([106,116,105])],n=window[h([112,97,114,115,101,73,110,116])](t[h([115,117,98,115,116,114,105,110,103])](t[h([108,101,110,103,116,104])]-8),16),r={...e,[h([106,116,105])]:t[h([115,117,98,115,116,114,105,110,103])](0,t[h([108,101,110,103,116,104])]-8)};return delete r[h([118,99])],u(r)==n}}}(),t?(t[h([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(m=function(t,e){return new(window[h([80,114,111,109,105,115,101])])(o=>{if(s())return o(h([86,97,108,105,100]));a(),r[h([100,101,99,111,114,97,116,101])](h([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let c=!1;const l=(0,d.uid)();function m(t){return!!t&&(typeof t===h([111,98,106,101,99,116])||typeof t===h([102,117,110,99,116,105,111,110]))&&typeof t[h([116,104,101,110])]===h([102,117,110,99,116,105,111,110])&&typeof t[h([99,97,116,99,104])]===h([102,117,110,99,116,105,111,110])}function k(r){c(r)[h([116,104,101,110])](t=>t&&t[h([115,116,97,116,117,115])]==h([111,107])?p(u(l+e))!=t[h([118,101,114,105,102,105,99,97,116,105,111,110])]?h([85,115,97,103,101,76,105,109,105,116]):h([86,97,108,105,100]):h([85,115,97,103,101,76,105,109,105,116]))[h([116,104,101,110])](t=>(s(),t),()=>{const t=a();return null==t?(s(),h([86,97,108,105,100])):h(n-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[h([116,104,101,110])](o)[h([99,97,116,99,104])](()=>{o(h([85,115,97,103,101,76,105,109,105,116]))});const i=36e5;function s(){const e=h([108,108,99,116,45])+p(u(t)),r=f(p(window[h([77,97,116,104])][h([99,101,105,108])](n/i)));window[h([108,111,99,97,108,83,116,111,114,97,103,101])][h([115,101,116,73,116,101,109])](e,r)}function a(){const e=h([108,108,99,116,45])+p(u(t)),n=window[h([108,111,99,97,108,83,116,111,114,97,103,101])][h([103,101,116,73,116,101,109])](e);return n?window[h([112,97,114,115,101,73,110,116])](f(n),16)*i:null}function c(t){return new(window[h([80,114,111,109,105,115,101])])((e,n)=>{t[h([116,104,101,110])](e,n),window[h([115,101,116,84,105,109,101,111,117,116])](n,12e4)})}}r[h([111,110])](h([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(e,n)=>{if(n[0]!=t)return o(h([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[h([114,101,113,117,101,115,116,73,100])]:l}},{[h([112,114,105,111,114,105,116,121])]:h([104,105,103,104])}),r[h([111,110])](h([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),t=>{m(t[h([114,101,116,117,114,110])])&&(c=!0,k(t[h([114,101,116,117,114,110])]))},{[h([112,114,105,111,114,105,116,121])]:h([108,111,119])}),i[h([116,104,101,110])](()=>{c||o(h([85,115,97,103,101,76,105,109,105,116]))})});function s(){return r[h([101,100,105,116,105,110,103])][h([118,105,101,119])][h([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==h([97,117,116,111])}function a(){r[h([101,100,105,116,105,110,103])][h([118,105,101,119])][h([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=h([97,117,116,111])}}(t[h([117,115,97,103,101,69,110,100,112,111,105,110,116])],t[h([106,116,105])])),await async function(){let t=!0;try{const r=a[h([115,112,108,105,116])](h([46])),[i,s,o]=r;return e(i),await n(i,s,o),t}catch{return!1}function e(e){const n=c(e);n&&n[h([97,108,103])]==h([69,83,50,53,54])||(t=!1)}async function n(e,n,r){const i=window[h([85,105,110,116,56,65,114,114,97,121])][h([102,114,111,109])](l(r),t=>t[h([99,104,97,114,67,111,100,101,65,116])](0)),a=(new(window[h([84,101,120,116,69,110,99,111,100,101,114])]))[h([101,110,99,111,100,101])](e+h([46])+n),o=window[h([99,114,121,112,116,111])][h([115,117,98,116,108,101])];if(!o)return;const c=await o[h([105,109,112,111,114,116,75,101,121])](h([106,119,107]),s,{[h([110,97,109,101])]:h([69,67,68,83,65]),[h([110,97,109,101,100,67,117,114,118,101])]:h([80,45,50,53,54])},!1,[h([118,101,114,105,102,121])]);await o[h([118,101,114,105,102,121])]({[h([110,97,109,101])]:h([69,67,68,83,65]),[h([104,97,115,104])]:{[h([110,97,109,101])]:h([83,72,65,45,50,53,54])}},c,i,a)||(t=!1)}}()?function(){const e=t[h([102,101,97,116,117,114,101,115])];return!!(e&&(e[h([105,110,99,108,117,100,101,115])](h([42]))||e[h([105,110,99,108,117,100,101,115])](h([84,80,76]))||e[h([105,110,99,108,117,100,101,115])](h([80,80]))||e[h([105,110,99,108,117,100,101,115])](h([68,82,85,80]))&&window[h([68,114,117,112,97,108])]))}()?function(){const e=[h([101,118,97,108,117,97,116,105,111,110]),h([116,114,105,97,108])][h([105,110,99,108,117,100,101,115])](t[h([108,105,99,101,110,115,101,84,121,112,101])])?n/1e3:1754092800;return t[h([101,120,112])]<e}()?h([69,120,112,105,114,101,100]):function(){const e=D,n=t[h([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[h([108,101,110,103,116,104])])return!0;const{hostname:r}=new URL(window[h([108,111,99,97,116,105,111,110])][e(464)]);if(n[h([105,110,99,108,117,100,101,115])](r))return!0;const i=r[h([115,112,108,105,116])](h([46]));return n[h([102,105,108,116,101,114])](t=>t[h([105,110,99,108,117,100,101,115])](h([42])))[h([109,97,112])](t=>t[h([115,112,108,105,116])](h([46])))[h([102,105,108,116,101,114])](t=>t[h([108,101,110,103,116,104])]<=i[h([108,101,110,103,116,104])])[h([109,97,112])](t=>Array(i[h([108,101,110,103,116,104])]-t[h([108,101,110,103,116,104])])[h([102,105,108,108])](t[0]===h([42])?h([42]):"")[h([99,111,110,99,97,116])](t))[h([115,111,109,101])](t=>i[h([101,118,101,114,121])]((e,n)=>t[n]===e||t[n]===h([42])))}()?(t[h([108,105,99,101,110,115,101,84,121,112,101])]==h([101,118,97,108,117,97,116,105,111,110])&&(e=o(h([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),t[h([108,105,99,101,110,115,101,84,121,112,101])]==h([116,114,105,97,108])&&(e=o(h([84,114,105,97,108,76,105,109,105,116]))),await(e&&m?new(window[h([80,114,111,109,105,115,101])])((t,n)=>{e[h([116,104,101,110])](t,n),m[h([116,104,101,110])](e=>{e!=h([86,97,108,105,100])&&t(e)},n)}):e||m||h([86,97,108,105,100]))):h([68,111,109,97,105,110,76,105,109,105,116]):h([78,111,116,65,108,108,111,119,101,100]):h([73,110,118,97,108,105,100])):h([73,110,118,97,108,105,100]))}catch{return h([73,110,118,97,108,105,100])}}())}(this)}[U(417)](t,e){const n=U,{editor:r}=this,i=new h(t);return i[n(454)]({attributes:{role:n(426),class:[n(452)]}}),i[n(434)][n(467)](e[n(461)]((e,i)=>{const s=n,a=new y(t,i),o=new L(t,e);return a[s(448)]=o,a[s(431)][s(457)](o),a[s(448)].on(s(437),t=>{const e=s;r[e(437)](e(414),t[e(468)][e(449)][e(435)]),r[e(444)][e(474)][e(447)]()}),a})),i}}var Y=R;function R(t,e){var n=Z();return(R=function(t,e){return n[t-=170]})(t,e)}!function(t){for(var e=R,n=t();;)try{if(927292===-parseInt(e(170))/1+parseInt(e(172))/2*(-parseInt(e(178))/3)+parseInt(e(175))/4+-parseInt(e(177))/5*(-parseInt(e(176))/6)+-parseInt(e(184))/7*(-parseInt(e(181))/8)+-parseInt(e(180))/9+-parseInt(e(173))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Z);class X extends t.Plugin{static get[Y(174)](){return[u,H]}static get[Y(179)](){return Y(183)}static get[Y(182)](){return!0}static get[Y(171)](){return!0}}function Z(){var t=["141906IQEcCN","330AzUjPw","874287ZIxOCf","pluginName","6517881EFQIWW","88piixtr","isOfficialPlugin","Template","612857abNowg","49362dUPNXD","isPremiumPlugin","4fJMngz","16928700aHZrDq","requires","5810256txSUEI"];return(Z=function(){return t})()}function G(){var t=["46320QzJFZJ","1057YwAatd","203271pxMaGM","79791yRCQSU","1269bmHkbS","6oQxXGh","3240890KRJBaL","8971182LCoXoo","4KUjXGr","518190YZaqUX","15666pkSpPd"];return(G=function(){return t})()}function Q(t,e){var n=G();return(Q=function(t,e){return n[t-=422]})(t,e)}!function(t){for(var e=Q,n=t();;)try{if(469716===-parseInt(e(428))/1*(parseInt(e(430))/2)+parseInt(e(427))/3+parseInt(e(422))/4*(-parseInt(e(431))/5)+-parseInt(e(424))/6*(parseInt(e(426))/7)+-parseInt(e(425))/8*(-parseInt(e(429))/9)+parseInt(e(423))/10+parseInt(e(432))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(G)})(),(window.CKEditor5=window.CKEditor5||{}).template=r})();
5
+ */(()=>{var t={168:t=>{"use strict";t.exports=function(t){return t[1]}},175:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var r=n(168),i=n.n(r),s=n(433),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 o=a},237:t=>{"use strict";t.exports=CKEditor5.dll},262: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)}},311:(t,e,n)=>{t.exports=n(237)("./src/ui.js")},355:(t,e,n)=>{t.exports=n(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},433: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 o=0;o<this.length;o++){var c=this[o][0];null!=c&&(a[c]=!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}},545: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 o=document.createTextNode(s),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(o,c[e]):t.appendChild(o)}}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)}}}},584:(t,e,n)=>{t.exports=n(237)("./src/utils.js")},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach(function(n){t.setAttribute(n,e[n])})}},673: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=[],o=0;o<t.length;o++){var c=t[o],l=r.base?c[0]+r.base:c[0],u=s[l]||0,p="".concat(l," ").concat(u);s[l]=u+1;var f=n(p),d={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==f)e[f].references++,e[f].updater(d);else{var m=i(d,r);r.byIndex=o,e.splice(o,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 o=n(s[a]);e[o].references--}for(var c=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=c}}},782:(t,e,n)=>{t.exports=n(237)("./src/core.js")}},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:()=>G,TemplateCommand:()=>a,TemplateEditing:()=>u,TemplateUI:()=>q});var t=n(782);const e=s;function i(){const t=["2LVWaVV","function","htmlProcessor","insertContent","999316DMyeHL","5822467LkfdEx","string","data","18510tBWiQZ","toModel","6498sYcFin","toView","3363296mXxaQY","5409880qdxMZF","2278623fbnauX","editor","1405bVhdud","change","execute"];return(i=function(){return t})()}function s(t,e){const n=i();return(s=function(t,e){return n[t-=256]})(t,e)}!function(t){const e=s,n=t();for(;;)try{if(728109===-parseInt(e(265))/1+-parseInt(e(261))/2*(-parseInt(e(256))/3)+parseInt(e(274))/4+parseInt(e(258))/5*(parseInt(e(269))/6)+-parseInt(e(266))/7+-parseInt(e(273))/8+parseInt(e(271))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(i);class a extends t.Command{[e(260)](t){const n=e,{model:r}=this[n(257)];let i;switch(typeof t){case n(267):i=t;break;case n(262):i=t()}n(267)==typeof i&&r[n(259)](()=>{const t=n,e=this[t(257)][t(268)][t(263)][t(272)](i),s=this[t(257)][t(268)][t(270)](e);r[t(264)](s)})}}const o=c;function c(t,e){const n=l();return(c=function(t,e){return n[t-=359]})(t,e)}function l(){const t=["templateLicenseKeyDomainLimit","templateLicenseKeyUsageLimit","5535ifuitg","invalid","9tgzFMN","2013100USToKj","licenseKey","templateLicenseKeyExpired","init","TemplateEditing","6164914qBcULY","insertTemplate","destroy","trialLimit","pluginName","domainLimit","editor","templateLicenseKeyTrialLimit","get","1924dLLSGP","featureNotAllowed","isPremiumPlugin","Template","4528974toEnzi","315934YEZiyU","commands","templateLicenseKeyNotAllowed","config","_licenseKeyCheckInterval","9924130THVqAI","6145104xHCayt","usageLimit","_showLicenseError","evaluationLimit","templateLicenseKeyInvalid","isOfficialPlugin","templateLicenseKeyValid","2fiwhSJ","add","templateLicenseKeyEvaluationLimit","expired"];return(l=function(){return t})()}!function(t){const e=c,n=t();for(;;)try{if(623983===parseInt(e(364))/1*(-parseInt(e(392))/2)+-parseInt(e(370))/3*(-parseInt(e(387))/4)+parseInt(e(373))/5+parseInt(e(391))/6+-parseInt(e(378))/7+parseInt(e(398))/8+-parseInt(e(372))/9*(parseInt(e(397))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(l);class u extends t.Plugin{[o(374)];[o(396)];static get[o(382)](){return o(377)}static get[o(362)](){return!0}static get[o(389)](){return!0}[o(376)](){const t=o,{editor:e}=this;e[t(393)][t(365)](t(379),new a(e)),this[t(374)]=this[t(384)][t(395)][t(386)](t(374));const n=this[t(384)];this[t(396)]=setInterval(()=>{const e=t;let r;for(const t in n){const i=t,s=n[i];if(e(363)==s||e(361)==s||e(375)==s||e(368)==s||e(394)==s||e(366)==s||e(385)==s||e(369)==s){delete n[i],r=s,clearInterval(this[e(396)]),this[e(396)]=void 0;break}}e(361)==r&&n[e(359)](e(371)),e(375)==r&&n[e(359)](e(367)),e(368)==r&&n[e(359)](e(383)),e(394)==r&&n[e(359)](e(388),e(390)),e(366)==r&&n[e(359)](e(360)),e(385)==r&&n[e(359)](e(381)),e(369)==r&&n[e(359)](e(399))},1e3)}[o(380)](){const t=o;super[t(380)](),this[t(396)]&&clearInterval(this[t(396)])}}var p=n(355),f=n(311),d=n(584);const m=k;!function(t){const e=k,n=t();for(;;)try{if(462927===-parseInt(e(368))/1+parseInt(e(363))/2+-parseInt(e(367))/3*(parseInt(e(373))/4)+-parseInt(e(361))/5+parseInt(e(360))/6+-parseInt(e(378))/7+parseInt(e(377))/8)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(g);class h extends f.ListView{[m(359)](t){const e=m;if(!t)return this[e(364)]();const n=new Map,r=this[e(376)][e(355)](r=>{const i=e,s=r[i(372)][i(354)](t);return r[i(362)]=!!s,r[i(372)][i(356)](s?t:null),s&&n[i(365)](r,s),r})[e(371)](w)[e(371)]((i=n,function(t,e){const n=k,r=i[n(370)](t),s=i[n(370)](e);return r&&!s?-1:s&&!r?1:r||s?r[n(374)]&&!s[n(374)]?-1:!r[n(374)]&&s[n(374)]?1:0:0}));var i;return this[e(376)][e(366)](),this[e(376)][e(369)](r),{resultsCount:n[e(358)],totalItemsCount:this[e(376)][e(375)]}}[m(364)](){const t=m,e=this[t(376)][t(355)](t=>t)[t(371)](w);return e[t(353)](e=>{const n=t;e[n(362)]=!0,e[n(372)][n(356)](null)}),this[t(376)][t(366)](),this[t(376)][t(369)](e),{resultsCount:e[t(375)],totalItemsCount:e[t(375)]}}}function k(t,e){const n=g();return(k=function(t,e){return n[t-=353]})(t,e)}function w(t,e){const n=m;return t[n(357)]-e[n(357)]}function g(){const t=["length","items","18323640FbUbly","3285156mSEsGD","forEach","isMatching","map","highlightText","originalIndex","size","filter","5132802cpvDGl","4519200wrYHiL","isVisible","99208wqIuqo","_resetFiltering","set","clear","85479zFwvAe","704112VRUoXr","addMany","get","sort","buttonView","92pxQunp","title"];return(g=function(){return t})()}function v(t,e){var n=b();return(v=function(t,e){return n[t-=401]})(t,e)}var I=v;function b(){var t=["244CXNIou","25977TgOyBN","1075740ThLZeF","6940868MnWZPN","222838avxEAl","20zrbdpp","1TEQptH","2209725tDNFEd","3198426zoRbFC","originalIndex","buttonView","360LXvtCf","4112631OWFvyr"];return(b=function(){return t})()}!function(t){for(var e=v,n=t();;)try{if(750115===-parseInt(e(403))/1*(-parseInt(e(412))/2)+parseInt(e(411))/3*(-parseInt(e(410))/4)+-parseInt(e(404))/5+-parseInt(e(405))/6+-parseInt(e(401))/7*(-parseInt(e(408))/8)+-parseInt(e(409))/9*(-parseInt(e(402))/10)+-parseInt(e(413))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(b);class y extends f.ListItemView{[I(406)];[I(407)];constructor(t,e){var n=I;super(t),this[n(406)]=e,this[n(407)]=null}}const x=_;function _(t,e){const n=T();return(_=function(t,e){return n[t-=275]})(t,e)}function T(){const t=["ck-template-button","templateDefinition","ck-button__label","locale","102120jvaFEw","textPartView","ck-template-form__text-part","2344741PgCAZb","add","option","labelView","ck-template-form__description","remove","div","children","iconView","310332hiJDMd","431076WYxcxz","descriptionView","match","setTemplate","set","description","span","destroy","1144995qbdKSu","6YjCvHu","push","titleView","6FLrydU","render","632728qRaahL","isMatching","2655150AoHrbI","highlightText","18CqnTgi","element","title","extendTemplate","text","isColorInherited"];return(T=function(){return t})()}!function(t){const e=_,n=t();for(;;)try{if(239993===-parseInt(e(292))/1+-parseInt(e(307))/2+parseInt(e(305))/3*(-parseInt(e(293))/4)+parseInt(e(301))/5+parseInt(e(302))/6*(parseInt(e(283))/7)+-parseInt(e(280))/8+-parseInt(e(311))/9*(-parseInt(e(309))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(T);class L extends f.ButtonView{[x(277)];[x(281)];constructor(t,e){const n=x;super(t),this[n(277)]=e,this[n(281)]=null;const{icon:r=p.IconTemplateGeneric}=e;this[n(297)]({withText:!0,class:n(276),role:n(285),icon:r}),this[n(291)][n(275)]=!1}[x(306)](){const t=x;super[t(306)](),this[t(281)]=new M(this[t(279)],this[t(277)],this[t(286)][t(312)].id),this[t(290)][t(288)](this[t(286)]),this[t(290)][t(284)](this[t(281)])}[x(300)](){const t=x;super[t(300)](),this[t(286)][t(300)]()}[x(308)](t){const e=x,{title:n,description:r}=this[e(277)],i=!!n[e(295)](t),s=!(!r||!r[e(295)](t));return i||s?{title:i,description:s}:null}[x(310)](t){const e=x;this[e(281)][e(310)](t)}}class M extends f.View{constructor(t,e,n){const r=x;super(t),this[r(313)]=e[r(313)],this[r(298)]=e[r(298)],this[r(304)]=new f.HighlightedTextView,this[r(304)][r(315)]=this[r(313)],this[r(304)][r(314)]({tag:r(299),attributes:{class:[r(278)],id:n}});const i=[this[r(304)]];this[r(298)]&&(this[r(294)]=new f.HighlightedTextView,this[r(294)][r(315)]=this[r(298)],this[r(294)][r(314)]({tag:"p",attributes:{class:[r(287)]}}),i[r(303)](this[r(294)])),this[r(296)]({tag:r(289),attributes:{class:["ck",r(282)]},children:i})}[x(310)](t){const e=x;this[e(304)][e(310)](t),this[e(298)]&&this[e(294)][e(310)](t)}}function C(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(673),V=n.n(S),N=n(545),P=n.n(N),E=n(262),A=n.n(E),j=n(667),O=n.n(j),F=n(357),K=n.n(F),z=n(175),B={attributes:{"data-cke":!0}};B.setAttributes=O(),B.insert=A().bind(null,"head"),B.domAPI=P(),B.insertStyleElement=K();V()(z.A,B);z.A&&z.A.locals&&z.A.locals;const D=U;function U(t,e){const n=H();return(U=function(t,e){return n[t-=162]})(t,e)}!function(t){const e=U,n=t();for(;;)try{if(608732===-parseInt(e(187))/1*(parseInt(e(181))/2)+-parseInt(e(210))/3+parseInt(e(209))/4*(parseInt(e(197))/5)+parseInt(e(217))/6+parseInt(e(201))/7+parseInt(e(170))/8+-parseInt(e(173))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(H);class q extends t.Plugin{static get[D(205)](){return D(167)}static get[D(178)](){return!0}static get[D(211)](){return!0}[D(223)](){const t=D,{editor:e}=this,n=e[t(207)][t(195)](t(216))||[];e.ui[t(203)][t(182)](t(204),r=>{const i=t,s=(0,f.createDropdown)(r),a=this[i(206)](r,n),o=new f.SearchTextView(r,{filteredView:a,queryView:{label:C(r,i(172))},class:i(162),infoView:{text:{notFound:{primary:t=>C(r,i(165),t),secondary:C(r,i(213))},noSearchableItems:{primary:C(r,i(218))}}}}),c=e[i(224)][i(195)](i(204));return o.on(i(221),(t,n)=>{const s=i;n[s(219)]&&n[s(219)][s(200)]&&e.ui[s(188)][s(174)](C(r,s(199),n[s(225)]))}),s[i(175)](i(196)).to(c),s[i(169)][i(186)][i(182)](o),s[i(226)][i(180)]({label:C(r,i(193)),icon:p.IconTemplate,tooltip:!0}),s.on(i(166),(t,e,n)=>{n||o[i(202)]()}),s}),e.ui[t(203)][t(182)](t(171),r=>{const i=t,s=e[i(224)][i(195)](i(204)),a=new f.MenuBarMenuView(r);a[i(226)][i(180)]({label:C(r,i(190)),icon:p.IconTemplate});const o=new f.MenuBarMenuListView(r);if(!n||!n[i(200)]){const t=new f.MenuBarMenuListItemView(r,a),n=new f.MenuBarMenuListItemButtonView(r);n[i(180)]({label:C(r,i(218))}),n[i(222)](i(176)).to(a),n.on(i(176),()=>{const t=i;e[t(163)][t(198)][t(212)]()}),t[i(186)][i(182)](n),o[i(227)][i(182)](t)}for(const t of n){const n=new f.MenuBarMenuListItemView(r,a),s=new f.MenuBarMenuListItemButtonView(r);s[i(180)]({class:i(184),label:t[i(183)],icon:t[i(189)]||p.IconTemplateGeneric}),s[i(222)](i(176)).to(a),s.on(i(176),()=>{const n=i;e[n(176)](n(204),t[n(179)]),e[n(163)][n(198)][n(212)]()}),n[i(186)][i(182)](s),o[i(227)][i(182)](n)}return a[i(169)][i(186)][i(182)](o),a[i(175)](i(196)).to(s,i(196)),a})}[D(220)](){!async function(t){const e=h([90,112,119,109,111,97,57,110,102,99,77,118,80,113,85,98,49,53,122,83,71,74,55,87,100,115,108,68,104,101,75,82,114,106,84,70,50,78,105,54,117,120,65,121,103,79,66,73,88,72,56,76,67,52,89,107,51,86,48,69,116,81]),n=window[h([68,97,116,101])][h([110,111,119])](),r=t[h([101,100,105,116,111,114])],i=new(window[h([80,114,111,109,105,115,101])])(t=>{r[h([111,110,99,101])](h([114,101,97,100,121]),t)}),s={[h([107,116,121])]:h([69,67]),[h([117,115,101])]:h([115,105,103]),[h([99,114,118])]:h([80,45,50,53,54]),[h([120])]:h([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]),[h([121])]:h([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]),[h([97,108,103])]:h([69,83,50,53,54])},a=r[h([99,111,110,102,105,103])][h([103,101,116])](h([108,105,99,101,110,115,101,75,101,121]));function o(t){const e=[new(window[h([80,114,111,109,105,115,101])])(t=>setTimeout(t,605900)),i[h([116,104,101,110])](()=>new(window[h([80,114,111,109,105,115,101])])(t=>{let e=0;r[h([109,111,100,101,108])][h([111,110])](h([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),(n,r)=>{r[0][h([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&e++,504==e&&(t(),n[h([111,102,102])]())})}))];return window[h([80,114,111,109,105,115,101])][h([114,97,99,101])](e)[h([116,104,101,110])](()=>t)}function c(t){return t[h([115,116,97,114,116,115,87,105,116,104])](h([101,121]))?JSON[h([112,97,114,115,101])](l(t)):null}function l(t){return window[h([97,116,111,98])](t[h([114,101,112,108,97,99,101])](/-/g,h([43]))[h([114,101,112,108,97,99,101])](/_/g,h([47])))}function u(t){let e=5381;function n(t){for(let n=0;n<t[h([108,101,110,103,116,104])];n++){const r=t[h([99,104,97,114,67,111,100,101,65,116])](n);e=(e<<5)+e+r,e&=e}}return function t(e){Array[h([105,115,65,114,114,97,121])](e)?e[h([102,111,114,69,97,99,104])](t):e&&typeof e==h([111,98,106,101,99,116])?Object[h([101,110,116,114,105,101,115])](e)[h([115,111,114,116])]()[h([102,111,114,69,97,99,104])](([e,r])=>{n(e),t(r)}):n(window[h([83,116,114,105,110,103])](e))}(t),e>>>0}function p(t){return t[h([116,111,83,116,114,105,110,103])](16)[h([112,97,100,83,116,97,114,116])](8,h([48]))}function f(t){return t[h([115,112,108,105,116])]("")[h([114,101,118,101,114,115,101])]()[h([106,111,105,110])]("")}function m(){}function h(t){const e=U;return t[e(191)](t=>String[e(194)](t))[e(208)]("")}!function(t){const n=function(){const t=window[h([83,116,114,105,110,103])](window[h([112,101,114,102,111,114,109,97,110,99,101])][h([110,111,119])]())[h([114,101,112,108,97,99,101])](h([46]),"");let n=h([90]);for(let r=0;r<t[h([108,101,110,103,116,104])];r+=2){let i=window[h([112,97,114,115,101,73,110,116])](t[h([115,117,98,115,116,114,105,110,103])](r,r+2));i>=e[h([108,101,110,103,116,104])]&&(i-=e[h([108,101,110,103,116,104])]),n+=e[i]}return n}();r[n]=h([116,101,109,112,108,97,116,101,76,105,99,101,110,115,101,75,101,121])+t,t!=h([86,97,108,105,100])&&async function(){await i,r[h([109,111,100,101,108])][h([99,104,97,110,103,101])]=m,r[h([109,111,100,101,108])][h([101,110,113,117,101,117,101,67,104,97,110,103,101])]=m,r[h([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](h([109,111,100,101,108]))}()}(await async function(){let t,e=null,m=null;try{return a==h([71,80,76])?h([78,111,116,65,108,108,111,119,101,100]):(t=function(){const t=a[h([115,112,108,105,116])](h([46]));return 3!=t[h([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[h([106,116,105])],n=window[h([112,97,114,115,101,73,110,116])](t[h([115,117,98,115,116,114,105,110,103])](t[h([108,101,110,103,116,104])]-8),16),r={...e,[h([106,116,105])]:t[h([115,117,98,115,116,114,105,110,103])](0,t[h([108,101,110,103,116,104])]-8)};return delete r[h([118,99])],u(r)==n}}}(),t?(t[h([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(m=function(t,e){return new(window[h([80,114,111,109,105,115,101])])(o=>{if(s())return o(h([86,97,108,105,100]));a(),r[h([100,101,99,111,114,97,116,101])](h([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let c=!1;const l=(0,d.uid)();function m(t){return!!t&&(typeof t===h([111,98,106,101,99,116])||typeof t===h([102,117,110,99,116,105,111,110]))&&typeof t[h([116,104,101,110])]===h([102,117,110,99,116,105,111,110])&&typeof t[h([99,97,116,99,104])]===h([102,117,110,99,116,105,111,110])}function k(r){c(r)[h([116,104,101,110])](t=>t&&t[h([115,116,97,116,117,115])]==h([111,107])?p(u(l+e))!=t[h([118,101,114,105,102,105,99,97,116,105,111,110])]?h([85,115,97,103,101,76,105,109,105,116]):h([86,97,108,105,100]):h([85,115,97,103,101,76,105,109,105,116]))[h([116,104,101,110])](t=>(s(),t),()=>{const t=a();return null==t?(s(),h([86,97,108,105,100])):h(n-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[h([116,104,101,110])](o)[h([99,97,116,99,104])](()=>{o(h([85,115,97,103,101,76,105,109,105,116]))});const i=36e5;function s(){const e=h([108,108,99,116,45])+p(u(t)),r=f(p(window[h([77,97,116,104])][h([99,101,105,108])](n/i)));window[h([108,111,99,97,108,83,116,111,114,97,103,101])][h([115,101,116,73,116,101,109])](e,r)}function a(){const e=h([108,108,99,116,45])+p(u(t)),n=window[h([108,111,99,97,108,83,116,111,114,97,103,101])][h([103,101,116,73,116,101,109])](e);return n?window[h([112,97,114,115,101,73,110,116])](f(n),16)*i:null}function c(t){return new(window[h([80,114,111,109,105,115,101])])((e,n)=>{t[h([116,104,101,110])](e,n),window[h([115,101,116,84,105,109,101,111,117,116])](n,12e4)})}}r[h([111,110])](h([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(e,n)=>{if(n[0]!=t)return o(h([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[h([114,101,113,117,101,115,116,73,100])]:l}},{[h([112,114,105,111,114,105,116,121])]:h([104,105,103,104])}),r[h([111,110])](h([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),t=>{m(t[h([114,101,116,117,114,110])])&&(c=!0,k(t[h([114,101,116,117,114,110])]))},{[h([112,114,105,111,114,105,116,121])]:h([108,111,119])}),i[h([116,104,101,110])](()=>{c||o(h([85,115,97,103,101,76,105,109,105,116]))})});function s(){return r[h([101,100,105,116,105,110,103])][h([118,105,101,119])][h([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==h([97,117,116,111])}function a(){r[h([101,100,105,116,105,110,103])][h([118,105,101,119])][h([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=h([97,117,116,111])}}(t[h([117,115,97,103,101,69,110,100,112,111,105,110,116])],t[h([106,116,105])])),await async function(){let t=!0;try{const r=a[h([115,112,108,105,116])](h([46])),[i,s,o]=r;return e(i),await n(i,s,o),t}catch{return!1}function e(e){const n=c(e);n&&n[h([97,108,103])]==h([69,83,50,53,54])||(t=!1)}async function n(e,n,r){const i=window[h([85,105,110,116,56,65,114,114,97,121])][h([102,114,111,109])](l(r),t=>t[h([99,104,97,114,67,111,100,101,65,116])](0)),a=(new(window[h([84,101,120,116,69,110,99,111,100,101,114])]))[h([101,110,99,111,100,101])](e+h([46])+n),o=window[h([99,114,121,112,116,111])][h([115,117,98,116,108,101])];if(!o)return;const c=await o[h([105,109,112,111,114,116,75,101,121])](h([106,119,107]),s,{[h([110,97,109,101])]:h([69,67,68,83,65]),[h([110,97,109,101,100,67,117,114,118,101])]:h([80,45,50,53,54])},!1,[h([118,101,114,105,102,121])]);await o[h([118,101,114,105,102,121])]({[h([110,97,109,101])]:h([69,67,68,83,65]),[h([104,97,115,104])]:{[h([110,97,109,101])]:h([83,72,65,45,50,53,54])}},c,i,a)||(t=!1)}}()?function(){const e=t[h([102,101,97,116,117,114,101,115])];return!!(e&&(e[h([105,110,99,108,117,100,101,115])](h([42]))||e[h([105,110,99,108,117,100,101,115])](h([84,80,76]))||e[h([105,110,99,108,117,100,101,115])](h([80,80]))||e[h([105,110,99,108,117,100,101,115])](h([68,82,85,80]))&&window[h([68,114,117,112,97,108])]))}()?function(){const e=[h([101,118,97,108,117,97,116,105,111,110]),h([116,114,105,97,108])][h([105,110,99,108,117,100,101,115])](t[h([108,105,99,101,110,115,101,84,121,112,101])])?n/1e3:1754265600;return t[h([101,120,112])]<e}()?h([69,120,112,105,114,101,100]):function(){const e=U,n=t[h([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[h([108,101,110,103,116,104])])return!0;const{hostname:r}=new URL(window[h([108,111,99,97,116,105,111,110])][e(215)]);if(n[h([105,110,99,108,117,100,101,115])](r))return!0;const i=r[h([115,112,108,105,116])](h([46]));return n[h([102,105,108,116,101,114])](t=>t[h([105,110,99,108,117,100,101,115])](h([42])))[h([109,97,112])](t=>t[h([115,112,108,105,116])](h([46])))[h([102,105,108,116,101,114])](t=>t[h([108,101,110,103,116,104])]<=i[h([108,101,110,103,116,104])])[h([109,97,112])](t=>Array(i[h([108,101,110,103,116,104])]-t[h([108,101,110,103,116,104])])[h([102,105,108,108])](t[0]===h([42])?h([42]):"")[h([99,111,110,99,97,116])](t))[h([115,111,109,101])](t=>i[h([101,118,101,114,121])]((e,n)=>t[n]===e||t[n]===h([42])))}()?(t[h([108,105,99,101,110,115,101,84,121,112,101])]==h([101,118,97,108,117,97,116,105,111,110])&&(e=o(h([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),t[h([108,105,99,101,110,115,101,84,121,112,101])]==h([116,114,105,97,108])&&(e=o(h([84,114,105,97,108,76,105,109,105,116]))),await(e&&m?new(window[h([80,114,111,109,105,115,101])])((t,n)=>{e[h([116,104,101,110])](t,n),m[h([116,104,101,110])](e=>{e!=h([86,97,108,105,100])&&t(e)},n)}):e||m||h([86,97,108,105,100]))):h([68,111,109,97,105,110,76,105,109,105,116]):h([78,111,116,65,108,108,111,119,101,100]):h([73,110,118,97,108,105,100])):h([73,110,118,97,108,105,100]))}catch{return h([73,110,118,97,108,105,100])}}())}(this)}[D(206)](t,e){const n=D,{editor:r}=this,i=new h(t);return i[n(164)]({attributes:{role:n(214),class:[n(168)]}}),i[n(227)][n(177)](e[n(191)]((e,i)=>{const s=n,a=new y(t,i),o=new L(t,e);return a[s(226)]=o,a[s(186)][s(182)](o),a[s(226)].on(s(176),t=>{const e=s;r[e(176)](e(204),t[e(192)][e(185)][e(179)]),r[e(163)][e(198)][e(212)]()}),a})),i}}function H(){const t=["_createTemplateListView","config","join","94676hPyyNx","750843uuOpMD","isPremiumPlugin","focus","Please try a different phrase or check the spelling.","listbox","href","template.definitions","2437860pbexrj","No templates available.","query","afterInit","search","delegate","init","commands","resultsCount","buttonView","items","ck-template-form","editing","extendTemplate",'No templates were found matching "%0".',"change:isOpen","TemplateUI","ck-template-list","panelView","162496RYBlyt","menuBar:insertTemplate","Search template","3830040SXyJsD","announce","bind","execute","addMany","isOfficialPlugin","data","set","2122NFjmXS","add","title","ck-template-button","templateDefinition","children","597KGixBC","ariaLiveAnnouncer","icon","Template","map","source","Insert template","fromCharCode","get","isEnabled","70tPRuTM","view","%0 templates found","length","8120014zGGFZR","reset","componentFactory","insertTemplate","pluginName"];return(H=function(){return t})()}var R=X;function X(t,e){var n=Z();return(X=function(t,e){return n[t-=170]})(t,e)}!function(t){for(var e=X,n=t();;)try{if(927292===-parseInt(e(170))/1+parseInt(e(172))/2*(-parseInt(e(178))/3)+parseInt(e(175))/4+-parseInt(e(177))/5*(-parseInt(e(176))/6)+-parseInt(e(184))/7*(-parseInt(e(181))/8)+-parseInt(e(180))/9+-parseInt(e(173))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Z);class G extends t.Plugin{static get[R(174)](){return[u,q]}static get[R(179)](){return R(183)}static get[R(182)](){return!0}static get[R(171)](){return!0}}function Z(){var t=["141906IQEcCN","330AzUjPw","874287ZIxOCf","pluginName","6517881EFQIWW","88piixtr","isOfficialPlugin","Template","612857abNowg","49362dUPNXD","isPremiumPlugin","4fJMngz","16928700aHZrDq","requires","5810256txSUEI"];return(Z=function(){return t})()}function Y(){var t=["46320QzJFZJ","1057YwAatd","203271pxMaGM","79791yRCQSU","1269bmHkbS","6oQxXGh","3240890KRJBaL","8971182LCoXoo","4KUjXGr","518190YZaqUX","15666pkSpPd"];return(Y=function(){return t})()}function Q(t,e){var n=Y();return(Q=function(t,e){return n[t-=422]})(t,e)}!function(t){for(var e=Q,n=t();;)try{if(469716===-parseInt(e(428))/1*(parseInt(e(430))/2)+parseInt(e(427))/3+parseInt(e(422))/4*(-parseInt(e(431))/5)+-parseInt(e(424))/6*(parseInt(e(426))/7)+-parseInt(e(425))/8*(-parseInt(e(429))/9)+parseInt(e(423))/10+parseInt(e(432))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Y)})(),(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 _0x57773a,Plugin as _0x1887a2}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconTemplateGeneric as _0x1223f6,IconTemplate as _0x247b4c}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ListView as _0x248dc5,ListItemView as _0x171e47,ButtonView as _0x32b234,View as _0x475245,HighlightedTextView as _0x45980a,createDropdown as _0x391283,SearchTextView as _0x5bce7d,MenuBarMenuView as _0xb4c5f3,MenuBarMenuListView as _0x5d1d14,MenuBarMenuListItemView as _0x430a33,MenuBarMenuListItemButtonView as _0x55e83d}from'@ckeditor/ckeditor5-ui/dist/index.js';import{uid as _0x286d9f}from'@ckeditor/ckeditor5-utils/dist/index.js';class a extends _0x57773a{['execute'](_0x1bda75){const {model:_0x2e7b6b}=this['editor'];let _0x569761;switch(typeof _0x1bda75){case'string':_0x569761=_0x1bda75;break;case'function':_0x569761=_0x1bda75();}'string'==typeof _0x569761&&_0x2e7b6b['change'](()=>{const _0x178ea5=this['editor']['data']['htmlProcessor']['toView'](_0x569761),_0x4274dc=this['editor']['data']['toModel'](_0x178ea5);_0x2e7b6b['insertContent'](_0x4274dc);});}}class i extends _0x1887a2{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TemplateEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x3f93e1}=this;_0x3f93e1['commands']['add']('insertTemplate',new a(_0x3f93e1)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x2737f0=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2da769;for(const _0x4e5764 in _0x2737f0){const _0x235992=_0x4e5764,_0x498ecd=_0x2737f0[_0x235992];if('templateLicenseKeyValid'==_0x498ecd||'templateLicenseKeyInvalid'==_0x498ecd||'templateLicenseKeyExpired'==_0x498ecd||'templateLicenseKeyDomainLimit'==_0x498ecd||'templateLicenseKeyNotAllowed'==_0x498ecd||'templateLicenseKeyEvaluationLimit'==_0x498ecd||'templateLicenseKeyTrialLimit'==_0x498ecd||'templateLicenseKeyUsageLimit'==_0x498ecd){delete _0x2737f0[_0x235992],_0x2da769=_0x498ecd,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'templateLicenseKeyInvalid'==_0x2da769&&_0x2737f0['_showLicenseError']('invalid'),'templateLicenseKeyExpired'==_0x2da769&&_0x2737f0['_showLicenseError']('expired'),'templateLicenseKeyDomainLimit'==_0x2da769&&_0x2737f0['_showLicenseError']('domainLimit'),'templateLicenseKeyNotAllowed'==_0x2da769&&_0x2737f0['_showLicenseError']('featureNotAllowed','Template'),'templateLicenseKeyEvaluationLimit'==_0x2da769&&_0x2737f0['_showLicenseError']('evaluationLimit'),'templateLicenseKeyTrialLimit'==_0x2da769&&_0x2737f0['_showLicenseError']('trialLimit'),'templateLicenseKeyUsageLimit'==_0x2da769&&_0x2737f0['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class y extends _0x248dc5{['filter'](_0x41c391){if(!_0x41c391)return this['_resetFiltering']();const _0x361e38=new Map(),_0x172af9=this['items']['map'](_0x5d291a=>{const _0x20152c=_0x5d291a['buttonView']['isMatching'](_0x41c391);return _0x5d291a['isVisible']=!!_0x20152c,_0x5d291a['buttonView']['highlightText'](_0x20152c?_0x41c391:null),_0x20152c&&_0x361e38['set'](_0x5d291a,_0x20152c),_0x5d291a;})['sort'](j)['sort'](function(_0x56e905){return function(_0x1a7f2d,_0x25413d){const _0x206dd6=_0x56e905['get'](_0x1a7f2d),_0x1095e2=_0x56e905['get'](_0x25413d);return _0x206dd6&&!_0x1095e2?-0x1:_0x1095e2&&!_0x206dd6?0x1:_0x206dd6||_0x1095e2?_0x206dd6['title']&&!_0x1095e2['title']?-0x1:!_0x206dd6['title']&&_0x1095e2['title']?0x1:0x0:0x0;};}(_0x361e38));return this['items']['clear'](),this['items']['addMany'](_0x172af9),{'resultsCount':_0x361e38['size'],'totalItemsCount':this['items']['length']};}['_resetFiltering'](){const _0x636434=this['items']['map'](_0x3878e3=>_0x3878e3)['sort'](j);return _0x636434['forEach'](_0x4b5a9a=>{_0x4b5a9a['isVisible']=!0x0,_0x4b5a9a['buttonView']['highlightText'](null);}),this['items']['clear'](),this['items']['addMany'](_0x636434),{'resultsCount':_0x636434['length'],'totalItemsCount':_0x636434['length']};}}function j(_0x24658,_0x239d01){return _0x24658['originalIndex']-_0x239d01['originalIndex'];}class b extends _0x171e47{['originalIndex'];['buttonView'];constructor(_0x49f140,_0x5599ee){super(_0x49f140),this['originalIndex']=_0x5599ee,this['buttonView']=null;}}class h extends _0x32b234{['templateDefinition'];['textPartView'];constructor(_0xf905e7,_0x928ffb){super(_0xf905e7),this['templateDefinition']=_0x928ffb,this['textPartView']=null;const {icon:_0x36a009=_0x1223f6}=_0x928ffb;this['set']({'withText':!0x0,'class':'ck-template-button','role':'option','icon':_0x36a009}),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'](_0x301427){const {title:_0x8ddb4d,description:_0xa5cc70}=this['templateDefinition'],_0x3bff34=!!_0x8ddb4d['match'](_0x301427),_0x2e8396=!(!_0xa5cc70||!_0xa5cc70['match'](_0x301427));return _0x3bff34||_0x2e8396?{'title':_0x3bff34,'description':_0x2e8396}:null;}['highlightText'](_0x8009c8){this['textPartView']['highlightText'](_0x8009c8);}}class L extends _0x475245{constructor(_0x1cb271,_0x2cd85e,_0x3ac60a){super(_0x1cb271),this['title']=_0x2cd85e['title'],this['description']=_0x2cd85e['description'],this['titleView']=new _0x45980a(),this['titleView']['text']=this['title'],this['titleView']['extendTemplate']({'tag':'span','attributes':{'class':['ck-button__label'],'id':_0x3ac60a}});const _0x4db4f6=[this['titleView']];this['description']&&(this['descriptionView']=new _0x45980a(),this['descriptionView']['text']=this['description'],this['descriptionView']['extendTemplate']({'tag':'p','attributes':{'class':['ck-template-form__description']}}),_0x4db4f6['push'](this['descriptionView'])),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-template-form__text-part']},'children':_0x4db4f6});}['highlightText'](_0x4a2182){this['titleView']['highlightText'](_0x4a2182),this['description']&&this['descriptionView']['highlightText'](_0x4a2182);}}function g(_0x1a4ae4,_0x30cb09,..._0xc5b733){const t=_0x1a4ae4['t'];switch(_0x30cb09){case'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':return t('No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',..._0xc5b733);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',..._0xc5b733);case'Search\x20template':return t('Search\x20template');case'Template':return t('Template');case'Insert\x20template':return t('Insert\x20template');default:return _0x30cb09;}}class s extends _0x1887a2{static get['pluginName'](){return'TemplateUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x8a29d1}=this,_0x30a0d9=_0x8a29d1['config']['get']('template.definitions')||[];_0x8a29d1['ui']['componentFactory']['add']('insertTemplate',_0x4f8f8b=>{const _0x4f2530=_0x391283(_0x4f8f8b),_0x24835b=this['_createTemplateListView'](_0x4f8f8b,_0x30a0d9),_0x17a9d8=new _0x5bce7d(_0x4f8f8b,{'filteredView':_0x24835b,'queryView':{'label':g(_0x4f8f8b,'Search\x20template')},'class':'ck-template-form','infoView':{'text':{'notFound':{'primary':_0x2693ed=>g(_0x4f8f8b,'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',_0x2693ed),'secondary':g(_0x4f8f8b,'Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.')},'noSearchableItems':{'primary':g(_0x4f8f8b,'No\x20templates\x20available.')}}}}),_0x456cd6=_0x8a29d1['commands']['get']('insertTemplate');return _0x17a9d8['on']('search',(_0x30dd8f,_0x1d9e0d)=>{_0x1d9e0d['query']&&_0x1d9e0d['query']['length']&&_0x8a29d1['ui']['ariaLiveAnnouncer']['announce'](g(_0x4f8f8b,'%0\x20templates\x20found',_0x1d9e0d['resultsCount']));}),_0x4f2530['bind']('isEnabled')['to'](_0x456cd6),_0x4f2530['panelView']['children']['add'](_0x17a9d8),_0x4f2530['buttonView']['set']({'label':g(_0x4f8f8b,'Insert\x20template'),'icon':_0x247b4c,'tooltip':!0x0}),_0x4f2530['on']('change:isOpen',(_0xda5f67,_0x1e3508,_0x47b051)=>{_0x47b051||_0x17a9d8['reset']();}),_0x4f2530;}),_0x8a29d1['ui']['componentFactory']['add']('menuBar:insertTemplate',_0x455812=>{const _0x2f7222=_0x8a29d1['commands']['get']('insertTemplate'),_0x43ce46=new _0xb4c5f3(_0x455812);_0x43ce46['buttonView']['set']({'label':g(_0x455812,'Template'),'icon':_0x247b4c});const _0x7814e7=new _0x5d1d14(_0x455812);if(!_0x30a0d9||!_0x30a0d9['length']){const _0x15d2c5=new _0x430a33(_0x455812,_0x43ce46),_0xdd94c7=new _0x55e83d(_0x455812);_0xdd94c7['set']({'label':g(_0x455812,'No\x20templates\x20available.')}),_0xdd94c7['delegate']('execute')['to'](_0x43ce46),_0xdd94c7['on']('execute',()=>{_0x8a29d1['editing']['view']['focus']();}),_0x15d2c5['children']['add'](_0xdd94c7),_0x7814e7['items']['add'](_0x15d2c5);}for(const _0x37c6f9 of _0x30a0d9){const _0x42eab3=new _0x430a33(_0x455812,_0x43ce46),_0x1ee8ca=new _0x55e83d(_0x455812);_0x1ee8ca['set']({'class':'ck-template-button','label':_0x37c6f9['title'],'icon':_0x37c6f9['icon']||_0x1223f6}),_0x1ee8ca['delegate']('execute')['to'](_0x43ce46),_0x1ee8ca['on']('execute',()=>{_0x8a29d1['execute']('insertTemplate',_0x37c6f9['data']),_0x8a29d1['editing']['view']['focus']();}),_0x42eab3['children']['add'](_0x1ee8ca),_0x7814e7['items']['add'](_0x42eab3);}return _0x43ce46['panelView']['children']['add'](_0x7814e7),_0x43ce46['bind']('isEnabled')['to'](_0x2f7222,'isEnabled'),_0x43ce46;});}['afterInit'](){!async function(_0x2886ba){const _0x197763=_0x170484([0x6f,0x6b,0x69,0x77,0x67,0x42,0x74,0x32,0x58,0x72,0x5a,0x31,0x61,0x73,0x35,0x6d,0x51,0x54,0x70,0x37,0x44,0x64,0x50,0x66,0x71,0x68,0x30,0x53,0x36,0x6a,0x34,0x4e,0x49,0x55,0x48,0x63,0x43,0x75,0x4d,0x33,0x4f,0x41,0x59,0x4a,0x57,0x56,0x47,0x62,0x38,0x78,0x52,0x76,0x79,0x4c,0x6e,0x6c,0x7a,0x39,0x65,0x46,0x45,0x4b]),_0x252ba3=0x54464891,_0x39409a=0x544127c1^_0x252ba3,_0x28f529=window[_0x170484([0x44,0x61,0x74,0x65])][_0x170484([0x6e,0x6f,0x77])](),_0x47421f=_0x2886ba[_0x170484([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x302eb8=new window[(_0x170484([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5e51b9=>{_0x47421f[_0x170484([0x6f,0x6e,0x63,0x65])](_0x170484([0x72,0x65,0x61,0x64,0x79]),_0x5e51b9);}),_0x13ad06={[_0x170484([0x6b,0x74,0x79])]:_0x170484([0x45,0x43]),[_0x170484([0x75,0x73,0x65])]:_0x170484([0x73,0x69,0x67]),[_0x170484([0x63,0x72,0x76])]:_0x170484([0x50,0x2d,0x32,0x35,0x36]),[_0x170484([0x78])]:_0x170484([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]),[_0x170484([0x79])]:_0x170484([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]),[_0x170484([0x61,0x6c,0x67])]:_0x170484([0x45,0x53,0x32,0x35,0x36])},_0x5bf4d2=_0x47421f[_0x170484([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x170484([0x67,0x65,0x74])](_0x170484([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x8a6cf4(){let _0x3fdf5b,_0x6398ec=null,_0x3bd71b=null;try{if(_0x5bf4d2==_0x170484([0x47,0x50,0x4c]))return _0x170484([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3fdf5b=_0x1eee6d(),!_0x3fdf5b)return _0x170484([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3fdf5b[_0x170484([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3bd71b=_0x34658a(_0x3fdf5b[_0x170484([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3fdf5b[_0x170484([0x6a,0x74,0x69])])),await _0x1a6e2f()?_0x279eb5()?_0x1539f6()?_0x170484([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2fcbc6()?(_0x3fdf5b[_0x170484([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x170484([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x6398ec=_0x4a7424(_0x170484([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3fdf5b[_0x170484([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x170484([0x74,0x72,0x69,0x61,0x6c])&&(_0x6398ec=_0x4a7424(_0x170484([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2b9312()):_0x170484([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x170484([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x170484([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x170484([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1539f6(){const _0x3d5de8=[_0x170484([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x170484([0x74,0x72,0x69,0x61,0x6c])][_0x170484([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3fdf5b[_0x170484([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x28f529/0x3e8:0xe10*_0x39409a;return _0x3fdf5b[_0x170484([0x65,0x78,0x70])]<_0x3d5de8;}function _0x279eb5(){const _0x15448a=_0x3fdf5b[_0x170484([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x15448a&&(!!_0x15448a[_0x170484([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x170484([0x2a]))||(!!_0x15448a[_0x170484([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x170484([0x54,0x50,0x4c]))||(!!_0x15448a[_0x170484([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x170484([0x50,0x50]))||!(!_0x15448a[_0x170484([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x170484([0x44,0x52,0x55,0x50]))||!_0x587724()))));}function _0x2fcbc6(){const _0x22eb7a=_0x3fdf5b[_0x170484([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x22eb7a||0x0==_0x22eb7a[_0x170484([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x478925}=new URL(window[_0x170484([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x22eb7a[_0x170484([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x478925))return!0x0;const _0x20734c=_0x478925[_0x170484([0x73,0x70,0x6c,0x69,0x74])](_0x170484([0x2e]));return _0x22eb7a[_0x170484([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x67306c=>_0x67306c[_0x170484([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x170484([0x2a])))[_0x170484([0x6d,0x61,0x70])](_0x25d170=>_0x25d170[_0x170484([0x73,0x70,0x6c,0x69,0x74])](_0x170484([0x2e])))[_0x170484([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x23c7e7=>_0x23c7e7[_0x170484([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x20734c[_0x170484([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x170484([0x6d,0x61,0x70])](_0x164b5e=>Array(_0x20734c[_0x170484([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x164b5e[_0x170484([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x170484([0x66,0x69,0x6c,0x6c])](_0x164b5e[0x0]===_0x170484([0x2a])?_0x170484([0x2a]):'')[_0x170484([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x164b5e))[_0x170484([0x73,0x6f,0x6d,0x65])](_0x5bedb0=>_0x20734c[_0x170484([0x65,0x76,0x65,0x72,0x79])]((_0x120ac7,_0x5d3211)=>_0x5bedb0[_0x5d3211]===_0x120ac7||_0x5bedb0[_0x5d3211]===_0x170484([0x2a])));}function _0x2b9312(){return _0x6398ec&&_0x3bd71b?new window[(_0x170484([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x305737,_0x29f46e)=>{_0x6398ec[_0x170484([0x74,0x68,0x65,0x6e])](_0x305737,_0x29f46e),_0x3bd71b[_0x170484([0x74,0x68,0x65,0x6e])](_0x500458=>{_0x500458!=_0x170484([0x56,0x61,0x6c,0x69,0x64])&&_0x305737(_0x500458);},_0x29f46e);}):_0x6398ec||_0x3bd71b||_0x170484([0x56,0x61,0x6c,0x69,0x64]);}}function _0x34658a(_0x4b8fc5,_0x54cc5a){return new window[(_0x170484([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4211a7=>{if(_0x5882ae())return _0x4211a7(_0x170484([0x56,0x61,0x6c,0x69,0x64]));_0x237a74(),_0x47421f[_0x170484([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x170484([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x936fd7=!0x1;const _0x16dfa3=_0x286d9f();function _0x34539b(_0x13128e){return!!_0x13128e&&(typeof _0x13128e===_0x170484([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x13128e===_0x170484([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x13128e[_0x170484([0x74,0x68,0x65,0x6e])]===_0x170484([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x13128e[_0x170484([0x63,0x61,0x74,0x63,0x68])]===_0x170484([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xf61744(_0x3d4a2e){_0x11e45d(_0x3d4a2e)[_0x170484([0x74,0x68,0x65,0x6e])](_0x5bf966=>{if(!_0x5bf966||_0x5bf966[_0x170484([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x170484([0x6f,0x6b]))return _0x170484([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5bf3d3(_0x22bbc8(_0x16dfa3+_0x54cc5a))!=_0x5bf966[_0x170484([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x170484([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x170484([0x56,0x61,0x6c,0x69,0x64]);})[_0x170484([0x74,0x68,0x65,0x6e])](_0x31a705=>(_0x150b64(),_0x31a705),()=>{const _0x4e74f7=_0x3a0e0b();return null==_0x4e74f7?(_0x150b64(),_0x170484([0x56,0x61,0x6c,0x69,0x64])):_0x170484(_0x28f529-_0x4e74f7>(0x704acc91^_0x252ba3)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x170484([0x74,0x68,0x65,0x6e])](_0x4211a7)[_0x170484([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4211a7(_0x170484([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4d440d=0x5470a611^_0x252ba3;function _0x150b64(){const _0x2d9758=_0x170484([0x6c,0x6c,0x63,0x74,0x2d])+_0x5bf3d3(_0x22bbc8(_0x4b8fc5)),_0x88893d=_0x5087eb(_0x5bf3d3(window[_0x170484([0x4d,0x61,0x74,0x68])][_0x170484([0x63,0x65,0x69,0x6c])](_0x28f529/_0x4d440d)));window[_0x170484([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x170484([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2d9758,_0x88893d);}function _0x3a0e0b(){const _0x1f1299=_0x170484([0x6c,0x6c,0x63,0x74,0x2d])+_0x5bf3d3(_0x22bbc8(_0x4b8fc5)),_0x3f9d19=window[_0x170484([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x170484([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1f1299);return _0x3f9d19?window[_0x170484([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5087eb(_0x3f9d19),0x10)*_0x4d440d:null;}function _0x11e45d(_0x36a56e){return new window[(_0x170484([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x43e8bc,_0x485f87)=>{_0x36a56e[_0x170484([0x74,0x68,0x65,0x6e])](_0x43e8bc,_0x485f87),window[_0x170484([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x485f87,0x54479c51^_0x252ba3);});}}_0x47421f[_0x170484([0x6f,0x6e])](_0x170484([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x6a8905,_0x253f59)=>{if(_0x253f59[0x0]!=_0x4b8fc5)return _0x4211a7(_0x170484([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x253f59[0x1]={..._0x253f59[0x1],[_0x170484([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x16dfa3};},{[_0x170484([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x170484([0x68,0x69,0x67,0x68])}),_0x47421f[_0x170484([0x6f,0x6e])](_0x170484([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x291b09=>{_0x34539b(_0x291b09[_0x170484([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x936fd7=!0x0,_0xf61744(_0x291b09[_0x170484([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x170484([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x170484([0x6c,0x6f,0x77])}),_0x302eb8[_0x170484([0x74,0x68,0x65,0x6e])](()=>{_0x936fd7||_0x4211a7(_0x170484([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5882ae(){return _0x47421f[_0x170484([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x170484([0x76,0x69,0x65,0x77])][_0x170484([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x170484([0x61,0x75,0x74,0x6f]);}function _0x237a74(){_0x47421f[_0x170484([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x170484([0x76,0x69,0x65,0x77])][_0x170484([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x170484([0x61,0x75,0x74,0x6f]);}}function _0x4a7424(_0x3c2626){const _0x40f826=[new window[(_0x170484([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x49f5fb=>setTimeout(_0x49f5fb,0x544f765d^_0x252ba3)),_0x302eb8[_0x170484([0x74,0x68,0x65,0x6e])](()=>new window[(_0x170484([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x34ff94=>{let _0x52aa84=0x0;_0x47421f[_0x170484([0x6d,0x6f,0x64,0x65,0x6c])][_0x170484([0x6f,0x6e])](_0x170484([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5fac67,_0x57bc8b)=>{_0x57bc8b[0x0][_0x170484([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x52aa84++,_0x52aa84==(0x54464969^_0x252ba3)&&(_0x34ff94(),_0x5fac67[_0x170484([0x6f,0x66,0x66])]());});}))];return window[_0x170484([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x170484([0x72,0x61,0x63,0x65])](_0x40f826)[_0x170484([0x74,0x68,0x65,0x6e])](()=>_0x3c2626);}async function _0x326a9a(){await _0x302eb8,_0x47421f[_0x170484([0x6d,0x6f,0x64,0x65,0x6c])][_0x170484([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2f05b3,_0x47421f[_0x170484([0x6d,0x6f,0x64,0x65,0x6c])][_0x170484([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2f05b3,_0x47421f[_0x170484([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x170484([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x587724(){return window[_0x170484([0x44,0x72,0x75,0x70,0x61,0x6c])];}function _0x1a2999(_0x3ce09f){const _0x2d9e32=_0x16596d();_0x47421f[_0x2d9e32]=_0x170484([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3ce09f,_0x3ce09f!=_0x170484([0x56,0x61,0x6c,0x69,0x64])&&_0x326a9a();}function _0x16596d(){const _0xf1e419=window[_0x170484([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x170484([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x170484([0x6e,0x6f,0x77])]())[_0x170484([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x170484([0x2e]),'');let _0x2f15e8=_0x170484([0x6f]);for(let _0x520254=0x0;_0x520254<_0xf1e419[_0x170484([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x520254+=0x2){let _0x54054c=window[_0x170484([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xf1e419[_0x170484([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x520254,_0x520254+0x2));_0x54054c>=_0x197763[_0x170484([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x54054c-=_0x197763[_0x170484([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2f15e8+=_0x197763[_0x54054c];}return _0x2f15e8;}function _0x1eee6d(){const _0x2351eb=_0x5bf4d2[_0x170484([0x73,0x70,0x6c,0x69,0x74])](_0x170484([0x2e]));if(0x3!=_0x2351eb[_0x170484([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x24d3e5(_0x2351eb[0x1]);function _0x24d3e5(_0xe0d5ca){const _0x594619=_0x5c88da(_0xe0d5ca);return _0x594619&&_0x21b32e()?_0x594619:null;function _0x21b32e(){const _0x467515=_0x594619[_0x170484([0x6a,0x74,0x69])],_0x5c034=window[_0x170484([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x467515[_0x170484([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x467515[_0x170484([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x511377={..._0x594619,[_0x170484([0x6a,0x74,0x69])]:_0x467515[_0x170484([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x467515[_0x170484([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x511377[_0x170484([0x76,0x63])],_0x22bbc8(_0x511377)==_0x5c034;}}}async function _0x1a6e2f(){let _0x29a1f8=!0x0;try{const _0x2f6575=_0x5bf4d2[_0x170484([0x73,0x70,0x6c,0x69,0x74])](_0x170484([0x2e])),[_0x488e5e,_0x16d16f,_0x5b5995]=_0x2f6575;return _0x35b9a1(_0x488e5e),await _0x27b4fc(_0x488e5e,_0x16d16f,_0x5b5995),_0x29a1f8;}catch{return!0x1;}function _0x35b9a1(_0x1016af){const _0x8670c1=_0x5c88da(_0x1016af);_0x8670c1&&_0x8670c1[_0x170484([0x61,0x6c,0x67])]==_0x170484([0x45,0x53,0x32,0x35,0x36])||(_0x29a1f8=!0x1);}async function _0x27b4fc(_0x11777b,_0x13e2fc,_0x519acd){const _0x8ec2e3=window[_0x170484([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x170484([0x66,0x72,0x6f,0x6d])](_0x56dd2c(_0x519acd),_0x4da428=>_0x4da428[_0x170484([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2f3874=new window[(_0x170484([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x170484([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x11777b+_0x170484([0x2e])+_0x13e2fc),_0x3571ce=window[_0x170484([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x170484([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3571ce)return;const _0x4e1641=await _0x3571ce[_0x170484([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x170484([0x6a,0x77,0x6b]),_0x13ad06,{[_0x170484([0x6e,0x61,0x6d,0x65])]:_0x170484([0x45,0x43,0x44,0x53,0x41]),[_0x170484([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x170484([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x170484([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3571ce[_0x170484([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x170484([0x6e,0x61,0x6d,0x65])]:_0x170484([0x45,0x43,0x44,0x53,0x41]),[_0x170484([0x68,0x61,0x73,0x68])]:{[_0x170484([0x6e,0x61,0x6d,0x65])]:_0x170484([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4e1641,_0x8ec2e3,_0x2f3874)||(_0x29a1f8=!0x1);}}function _0x5c88da(_0x48b19a){return _0x48b19a[_0x170484([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x170484([0x65,0x79]))?JSON[_0x170484([0x70,0x61,0x72,0x73,0x65])](_0x56dd2c(_0x48b19a)):null;}function _0x56dd2c(_0x52c060){return window[_0x170484([0x61,0x74,0x6f,0x62])](_0x52c060[_0x170484([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x170484([0x2b]))[_0x170484([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x170484([0x2f])));}function _0x22bbc8(_0x23638b){let _0x31313b=0x1505;function _0x1f2517(_0x574a73){for(let _0x4e2894=0x0;_0x4e2894<_0x574a73[_0x170484([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4e2894++){const _0x234090=_0x574a73[_0x170484([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4e2894);_0x31313b=(_0x31313b<<0x5)+_0x31313b+_0x234090,_0x31313b&=_0x31313b;}}function _0xcee474(_0x37b895){Array[_0x170484([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x37b895)?_0x37b895[_0x170484([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xcee474):_0x37b895&&typeof _0x37b895==_0x170484([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x170484([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x37b895)[_0x170484([0x73,0x6f,0x72,0x74])]()[_0x170484([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x29af11,_0x4a8723])=>{_0x1f2517(_0x29af11),_0xcee474(_0x4a8723);}):_0x1f2517(window[_0x170484([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x37b895));}return _0xcee474(_0x23638b),_0x31313b>>>0x0;}function _0x5bf3d3(_0x3b8101){return _0x3b8101[_0x170484([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x170484([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x170484([0x30]));}function _0x5087eb(_0x1a5d1f){return _0x1a5d1f[_0x170484([0x73,0x70,0x6c,0x69,0x74])]('')[_0x170484([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x170484([0x6a,0x6f,0x69,0x6e])]('');}function _0x2f05b3(){}function _0x170484(_0x5a9278){return _0x5a9278['map'](_0x16caf9=>String['fromCharCode'](_0x16caf9))['join']('');}_0x1a2999(await _0x8a6cf4());}(this);}['_createTemplateListView'](_0x1054d6,_0x1dc459){const {editor:_0x561d9f}=this,_0x4d9afb=new y(_0x1054d6);return _0x4d9afb['extendTemplate']({'attributes':{'role':'listbox','class':['ck-template-list']}}),_0x4d9afb['items']['addMany'](_0x1dc459['map']((_0x5e3d01,_0x38e855)=>{const _0xa5b793=new b(_0x1054d6,_0x38e855),_0x2ffa3e=new h(_0x1054d6,_0x5e3d01);return _0xa5b793['buttonView']=_0x2ffa3e,_0xa5b793['children']['add'](_0x2ffa3e),_0xa5b793['buttonView']['on']('execute',_0x2ecd2a=>{_0x561d9f['execute']('insertTemplate',_0x2ecd2a['source']['templateDefinition']['data']),_0x561d9f['editing']['view']['focus']();}),_0xa5b793;})),_0x4d9afb;}}class K extends _0x1887a2{static get['requires'](){return[i,s];}static get['pluginName'](){return'Template';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{K as Template,a as TemplateCommand,i as TemplateEditing,s as TemplateUI};
23
+ import{Command as _0x4bba7d,Plugin as _0xaf8c0}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconTemplateGeneric as _0x5038fc,IconTemplate as _0x35a270}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ListView as _0x14fe35,ListItemView as _0x5b6d67,ButtonView as _0x5df7fe,View as _0x5e807e,HighlightedTextView as _0x2fbda3,createDropdown as _0x42607f,SearchTextView as _0x326b82,MenuBarMenuView as _0xc65f9e,MenuBarMenuListView as _0x4bec37,MenuBarMenuListItemView as _0x265704,MenuBarMenuListItemButtonView as _0x155229}from'@ckeditor/ckeditor5-ui/dist/index.js';import{uid as _0x5b067b}from'@ckeditor/ckeditor5-utils/dist/index.js';class a extends _0x4bba7d{['execute'](_0x537025){const {model:_0x115679}=this['editor'];let _0xfa4b3f;switch(typeof _0x537025){case'string':_0xfa4b3f=_0x537025;break;case'function':_0xfa4b3f=_0x537025();}'string'==typeof _0xfa4b3f&&_0x115679['change'](()=>{const _0x1f816c=this['editor']['data']['htmlProcessor']['toView'](_0xfa4b3f),_0x10417c=this['editor']['data']['toModel'](_0x1f816c);_0x115679['insertContent'](_0x10417c);});}}class i extends _0xaf8c0{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TemplateEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1bcfa8}=this;_0x1bcfa8['commands']['add']('insertTemplate',new a(_0x1bcfa8)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x2381f6=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x34db8c;for(const _0x1ca1ad in _0x2381f6){const _0xb81d4b=_0x1ca1ad,_0x1df70a=_0x2381f6[_0xb81d4b];if('templateLicenseKeyValid'==_0x1df70a||'templateLicenseKeyInvalid'==_0x1df70a||'templateLicenseKeyExpired'==_0x1df70a||'templateLicenseKeyDomainLimit'==_0x1df70a||'templateLicenseKeyNotAllowed'==_0x1df70a||'templateLicenseKeyEvaluationLimit'==_0x1df70a||'templateLicenseKeyTrialLimit'==_0x1df70a||'templateLicenseKeyUsageLimit'==_0x1df70a){delete _0x2381f6[_0xb81d4b],_0x34db8c=_0x1df70a,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'templateLicenseKeyInvalid'==_0x34db8c&&_0x2381f6['_showLicenseError']('invalid'),'templateLicenseKeyExpired'==_0x34db8c&&_0x2381f6['_showLicenseError']('expired'),'templateLicenseKeyDomainLimit'==_0x34db8c&&_0x2381f6['_showLicenseError']('domainLimit'),'templateLicenseKeyNotAllowed'==_0x34db8c&&_0x2381f6['_showLicenseError']('featureNotAllowed','Template'),'templateLicenseKeyEvaluationLimit'==_0x34db8c&&_0x2381f6['_showLicenseError']('evaluationLimit'),'templateLicenseKeyTrialLimit'==_0x34db8c&&_0x2381f6['_showLicenseError']('trialLimit'),'templateLicenseKeyUsageLimit'==_0x34db8c&&_0x2381f6['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class y extends _0x14fe35{['filter'](_0x1ebddb){if(!_0x1ebddb)return this['_resetFiltering']();const _0x12ca92=new Map(),_0x5331b3=this['items']['map'](_0xe82110=>{const _0x11afc6=_0xe82110['buttonView']['isMatching'](_0x1ebddb);return _0xe82110['isVisible']=!!_0x11afc6,_0xe82110['buttonView']['highlightText'](_0x11afc6?_0x1ebddb:null),_0x11afc6&&_0x12ca92['set'](_0xe82110,_0x11afc6),_0xe82110;})['sort'](j)['sort'](function(_0x3309fc){return function(_0x45ed54,_0x3d0ab9){const _0x47e412=_0x3309fc['get'](_0x45ed54),_0x2290e5=_0x3309fc['get'](_0x3d0ab9);return _0x47e412&&!_0x2290e5?-0x1:_0x2290e5&&!_0x47e412?0x1:_0x47e412||_0x2290e5?_0x47e412['title']&&!_0x2290e5['title']?-0x1:!_0x47e412['title']&&_0x2290e5['title']?0x1:0x0:0x0;};}(_0x12ca92));return this['items']['clear'](),this['items']['addMany'](_0x5331b3),{'resultsCount':_0x12ca92['size'],'totalItemsCount':this['items']['length']};}['_resetFiltering'](){const _0x4e72cd=this['items']['map'](_0x630df=>_0x630df)['sort'](j);return _0x4e72cd['forEach'](_0x315131=>{_0x315131['isVisible']=!0x0,_0x315131['buttonView']['highlightText'](null);}),this['items']['clear'](),this['items']['addMany'](_0x4e72cd),{'resultsCount':_0x4e72cd['length'],'totalItemsCount':_0x4e72cd['length']};}}function j(_0x3facf2,_0x596e7e){return _0x3facf2['originalIndex']-_0x596e7e['originalIndex'];}class b extends _0x5b6d67{['originalIndex'];['buttonView'];constructor(_0x305e7f,_0x1eeaad){super(_0x305e7f),this['originalIndex']=_0x1eeaad,this['buttonView']=null;}}class h extends _0x5df7fe{['templateDefinition'];['textPartView'];constructor(_0x34d90f,_0x161c82){super(_0x34d90f),this['templateDefinition']=_0x161c82,this['textPartView']=null;const {icon:_0xa45bc1=_0x5038fc}=_0x161c82;this['set']({'withText':!0x0,'class':'ck-template-button','role':'option','icon':_0xa45bc1}),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'](_0x29f95e){const {title:_0x57a380,description:_0x324c7c}=this['templateDefinition'],_0x4161c6=!!_0x57a380['match'](_0x29f95e),_0x365804=!(!_0x324c7c||!_0x324c7c['match'](_0x29f95e));return _0x4161c6||_0x365804?{'title':_0x4161c6,'description':_0x365804}:null;}['highlightText'](_0x55ae0f){this['textPartView']['highlightText'](_0x55ae0f);}}class L extends _0x5e807e{constructor(_0x27b58f,_0x54d987,_0x11eb36){super(_0x27b58f),this['title']=_0x54d987['title'],this['description']=_0x54d987['description'],this['titleView']=new _0x2fbda3(),this['titleView']['text']=this['title'],this['titleView']['extendTemplate']({'tag':'span','attributes':{'class':['ck-button__label'],'id':_0x11eb36}});const _0x309958=[this['titleView']];this['description']&&(this['descriptionView']=new _0x2fbda3(),this['descriptionView']['text']=this['description'],this['descriptionView']['extendTemplate']({'tag':'p','attributes':{'class':['ck-template-form__description']}}),_0x309958['push'](this['descriptionView'])),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-template-form__text-part']},'children':_0x309958});}['highlightText'](_0x19fe5a){this['titleView']['highlightText'](_0x19fe5a),this['description']&&this['descriptionView']['highlightText'](_0x19fe5a);}}function g(_0x568251,_0x6ece15,..._0x35bde6){const t=_0x568251['t'];switch(_0x6ece15){case'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':return t('No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',..._0x35bde6);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',..._0x35bde6);case'Search\x20template':return t('Search\x20template');case'Template':return t('Template');case'Insert\x20template':return t('Insert\x20template');default:return _0x6ece15;}}class s extends _0xaf8c0{static get['pluginName'](){return'TemplateUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2eff46}=this,_0x14241b=_0x2eff46['config']['get']('template.definitions')||[];_0x2eff46['ui']['componentFactory']['add']('insertTemplate',_0x1fbd32=>{const _0x3a92b7=_0x42607f(_0x1fbd32),_0xcb87f0=this['_createTemplateListView'](_0x1fbd32,_0x14241b),_0x3cc8fb=new _0x326b82(_0x1fbd32,{'filteredView':_0xcb87f0,'queryView':{'label':g(_0x1fbd32,'Search\x20template')},'class':'ck-template-form','infoView':{'text':{'notFound':{'primary':_0x47c82b=>g(_0x1fbd32,'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',_0x47c82b),'secondary':g(_0x1fbd32,'Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.')},'noSearchableItems':{'primary':g(_0x1fbd32,'No\x20templates\x20available.')}}}}),_0x504e47=_0x2eff46['commands']['get']('insertTemplate');return _0x3cc8fb['on']('search',(_0x278f1e,_0x51aa66)=>{_0x51aa66['query']&&_0x51aa66['query']['length']&&_0x2eff46['ui']['ariaLiveAnnouncer']['announce'](g(_0x1fbd32,'%0\x20templates\x20found',_0x51aa66['resultsCount']));}),_0x3a92b7['bind']('isEnabled')['to'](_0x504e47),_0x3a92b7['panelView']['children']['add'](_0x3cc8fb),_0x3a92b7['buttonView']['set']({'label':g(_0x1fbd32,'Insert\x20template'),'icon':_0x35a270,'tooltip':!0x0}),_0x3a92b7['on']('change:isOpen',(_0x4d86dd,_0x152d58,_0x1676ba)=>{_0x1676ba||_0x3cc8fb['reset']();}),_0x3a92b7;}),_0x2eff46['ui']['componentFactory']['add']('menuBar:insertTemplate',_0x220819=>{const _0x4851d9=_0x2eff46['commands']['get']('insertTemplate'),_0x105ece=new _0xc65f9e(_0x220819);_0x105ece['buttonView']['set']({'label':g(_0x220819,'Template'),'icon':_0x35a270});const _0x3f2d2a=new _0x4bec37(_0x220819);if(!_0x14241b||!_0x14241b['length']){const _0x2b3872=new _0x265704(_0x220819,_0x105ece),_0x326646=new _0x155229(_0x220819);_0x326646['set']({'label':g(_0x220819,'No\x20templates\x20available.')}),_0x326646['delegate']('execute')['to'](_0x105ece),_0x326646['on']('execute',()=>{_0x2eff46['editing']['view']['focus']();}),_0x2b3872['children']['add'](_0x326646),_0x3f2d2a['items']['add'](_0x2b3872);}for(const _0x5b4d11 of _0x14241b){const _0x3f4a1c=new _0x265704(_0x220819,_0x105ece),_0xe935d9=new _0x155229(_0x220819);_0xe935d9['set']({'class':'ck-template-button','label':_0x5b4d11['title'],'icon':_0x5b4d11['icon']||_0x5038fc}),_0xe935d9['delegate']('execute')['to'](_0x105ece),_0xe935d9['on']('execute',()=>{_0x2eff46['execute']('insertTemplate',_0x5b4d11['data']),_0x2eff46['editing']['view']['focus']();}),_0x3f4a1c['children']['add'](_0xe935d9),_0x3f2d2a['items']['add'](_0x3f4a1c);}return _0x105ece['panelView']['children']['add'](_0x3f2d2a),_0x105ece['bind']('isEnabled')['to'](_0x4851d9,'isEnabled'),_0x105ece;});}['afterInit'](){!async function(_0x284391){const _0x1f0c55=_0x3e96be([0x5a,0x70,0x77,0x6d,0x6f,0x61,0x39,0x6e,0x66,0x63,0x4d,0x76,0x50,0x71,0x55,0x62,0x31,0x35,0x7a,0x53,0x47,0x4a,0x37,0x57,0x64,0x73,0x6c,0x44,0x68,0x65,0x4b,0x52,0x72,0x6a,0x54,0x46,0x32,0x4e,0x69,0x36,0x75,0x78,0x41,0x79,0x67,0x4f,0x42,0x49,0x58,0x48,0x38,0x4c,0x43,0x34,0x59,0x6b,0x33,0x56,0x30,0x45,0x74,0x51]),_0x5dd828=0x80aecc6,_0x44edcc=0x80d8346^_0x5dd828,_0x50fcca=window[_0x3e96be([0x44,0x61,0x74,0x65])][_0x3e96be([0x6e,0x6f,0x77])](),_0x308cb2=_0x284391[_0x3e96be([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x32dcce=new window[(_0x3e96be([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x556a1c=>{_0x308cb2[_0x3e96be([0x6f,0x6e,0x63,0x65])](_0x3e96be([0x72,0x65,0x61,0x64,0x79]),_0x556a1c);}),_0xbab774={[_0x3e96be([0x6b,0x74,0x79])]:_0x3e96be([0x45,0x43]),[_0x3e96be([0x75,0x73,0x65])]:_0x3e96be([0x73,0x69,0x67]),[_0x3e96be([0x63,0x72,0x76])]:_0x3e96be([0x50,0x2d,0x32,0x35,0x36]),[_0x3e96be([0x78])]:_0x3e96be([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]),[_0x3e96be([0x79])]:_0x3e96be([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]),[_0x3e96be([0x61,0x6c,0x67])]:_0x3e96be([0x45,0x53,0x32,0x35,0x36])},_0x18baf3=_0x308cb2[_0x3e96be([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3e96be([0x67,0x65,0x74])](_0x3e96be([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x315e34(){let _0x1a07da,_0xa13269=null,_0x5a8673=null;try{if(_0x18baf3==_0x3e96be([0x47,0x50,0x4c]))return _0x3e96be([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1a07da=_0x301785(),!_0x1a07da)return _0x3e96be([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1a07da[_0x3e96be([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5a8673=_0x32f4b5(_0x1a07da[_0x3e96be([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1a07da[_0x3e96be([0x6a,0x74,0x69])])),await _0x9e3bf2()?_0x4ec2bc()?_0x2de54a()?_0x3e96be([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x550c74()?(_0x1a07da[_0x3e96be([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3e96be([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xa13269=_0x18bb2b(_0x3e96be([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1a07da[_0x3e96be([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3e96be([0x74,0x72,0x69,0x61,0x6c])&&(_0xa13269=_0x18bb2b(_0x3e96be([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4171d4()):_0x3e96be([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3e96be([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3e96be([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3e96be([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2de54a(){const _0x5a9a79=[_0x3e96be([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3e96be([0x74,0x72,0x69,0x61,0x6c])][_0x3e96be([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1a07da[_0x3e96be([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x50fcca/0x3e8:0xe10*_0x44edcc;return _0x1a07da[_0x3e96be([0x65,0x78,0x70])]<_0x5a9a79;}function _0x4ec2bc(){const _0x378164=_0x1a07da[_0x3e96be([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x378164&&(!!_0x378164[_0x3e96be([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e96be([0x2a]))||(!!_0x378164[_0x3e96be([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e96be([0x54,0x50,0x4c]))||(!!_0x378164[_0x3e96be([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e96be([0x50,0x50]))||!(!_0x378164[_0x3e96be([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e96be([0x44,0x52,0x55,0x50]))||!_0x5daa32()))));}function _0x550c74(){const _0x3908e4=_0x1a07da[_0x3e96be([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3908e4||0x0==_0x3908e4[_0x3e96be([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4dd40c}=new URL(window[_0x3e96be([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3908e4[_0x3e96be([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4dd40c))return!0x0;const _0x46bd79=_0x4dd40c[_0x3e96be([0x73,0x70,0x6c,0x69,0x74])](_0x3e96be([0x2e]));return _0x3908e4[_0x3e96be([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x473028=>_0x473028[_0x3e96be([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e96be([0x2a])))[_0x3e96be([0x6d,0x61,0x70])](_0x55c3c0=>_0x55c3c0[_0x3e96be([0x73,0x70,0x6c,0x69,0x74])](_0x3e96be([0x2e])))[_0x3e96be([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2e9a57=>_0x2e9a57[_0x3e96be([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x46bd79[_0x3e96be([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3e96be([0x6d,0x61,0x70])](_0x2b72f9=>Array(_0x46bd79[_0x3e96be([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2b72f9[_0x3e96be([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3e96be([0x66,0x69,0x6c,0x6c])](_0x2b72f9[0x0]===_0x3e96be([0x2a])?_0x3e96be([0x2a]):'')[_0x3e96be([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2b72f9))[_0x3e96be([0x73,0x6f,0x6d,0x65])](_0x3b6c68=>_0x46bd79[_0x3e96be([0x65,0x76,0x65,0x72,0x79])]((_0x9a23a9,_0x21deb6)=>_0x3b6c68[_0x21deb6]===_0x9a23a9||_0x3b6c68[_0x21deb6]===_0x3e96be([0x2a])));}function _0x4171d4(){return _0xa13269&&_0x5a8673?new window[(_0x3e96be([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4740a7,_0x5db365)=>{_0xa13269[_0x3e96be([0x74,0x68,0x65,0x6e])](_0x4740a7,_0x5db365),_0x5a8673[_0x3e96be([0x74,0x68,0x65,0x6e])](_0x488dc0=>{_0x488dc0!=_0x3e96be([0x56,0x61,0x6c,0x69,0x64])&&_0x4740a7(_0x488dc0);},_0x5db365);}):_0xa13269||_0x5a8673||_0x3e96be([0x56,0x61,0x6c,0x69,0x64]);}}function _0x32f4b5(_0x5e0487,_0x5ed5ee){return new window[(_0x3e96be([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x105c5c=>{if(_0x1e320f())return _0x105c5c(_0x3e96be([0x56,0x61,0x6c,0x69,0x64]));_0x400534(),_0x308cb2[_0x3e96be([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3e96be([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3461d8=!0x1;const _0x2333ba=_0x5b067b();function _0x238b1b(_0xf0c99d){return!!_0xf0c99d&&(typeof _0xf0c99d===_0x3e96be([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xf0c99d===_0x3e96be([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xf0c99d[_0x3e96be([0x74,0x68,0x65,0x6e])]===_0x3e96be([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xf0c99d[_0x3e96be([0x63,0x61,0x74,0x63,0x68])]===_0x3e96be([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3c0382(_0x17ae45){_0x3f84af(_0x17ae45)[_0x3e96be([0x74,0x68,0x65,0x6e])](_0xbefef=>{if(!_0xbefef||_0xbefef[_0x3e96be([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3e96be([0x6f,0x6b]))return _0x3e96be([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4566ec(_0x56282a(_0x2333ba+_0x5ed5ee))!=_0xbefef[_0x3e96be([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3e96be([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3e96be([0x56,0x61,0x6c,0x69,0x64]);})[_0x3e96be([0x74,0x68,0x65,0x6e])](_0x38900e=>(_0x23c46b(),_0x38900e),()=>{const _0x1cfdd6=_0x147394();return null==_0x1cfdd6?(_0x23c46b(),_0x3e96be([0x56,0x61,0x6c,0x69,0x64])):_0x3e96be(_0x50fcca-_0x1cfdd6>(0x2c0668c6^_0x5dd828)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3e96be([0x74,0x68,0x65,0x6e])](_0x105c5c)[_0x3e96be([0x63,0x61,0x74,0x63,0x68])](()=>{_0x105c5c(_0x3e96be([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5ec6bc=0x83c0246^_0x5dd828;function _0x23c46b(){const _0x5c78cf=_0x3e96be([0x6c,0x6c,0x63,0x74,0x2d])+_0x4566ec(_0x56282a(_0x5e0487)),_0x39f8e6=_0x5b4251(_0x4566ec(window[_0x3e96be([0x4d,0x61,0x74,0x68])][_0x3e96be([0x63,0x65,0x69,0x6c])](_0x50fcca/_0x5ec6bc)));window[_0x3e96be([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3e96be([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5c78cf,_0x39f8e6);}function _0x147394(){const _0x311fa4=_0x3e96be([0x6c,0x6c,0x63,0x74,0x2d])+_0x4566ec(_0x56282a(_0x5e0487)),_0x3f7c11=window[_0x3e96be([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3e96be([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x311fa4);return _0x3f7c11?window[_0x3e96be([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5b4251(_0x3f7c11),0x10)*_0x5ec6bc:null;}function _0x3f84af(_0x4465a4){return new window[(_0x3e96be([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x289008,_0x36be63)=>{_0x4465a4[_0x3e96be([0x74,0x68,0x65,0x6e])](_0x289008,_0x36be63),window[_0x3e96be([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x36be63,0x80b3806^_0x5dd828);});}}_0x308cb2[_0x3e96be([0x6f,0x6e])](_0x3e96be([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x15bbff,_0x24ce7e)=>{if(_0x24ce7e[0x0]!=_0x5e0487)return _0x105c5c(_0x3e96be([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x24ce7e[0x1]={..._0x24ce7e[0x1],[_0x3e96be([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2333ba};},{[_0x3e96be([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3e96be([0x68,0x69,0x67,0x68])}),_0x308cb2[_0x3e96be([0x6f,0x6e])](_0x3e96be([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3e8dd2=>{_0x238b1b(_0x3e8dd2[_0x3e96be([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3461d8=!0x0,_0x3c0382(_0x3e8dd2[_0x3e96be([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3e96be([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3e96be([0x6c,0x6f,0x77])}),_0x32dcce[_0x3e96be([0x74,0x68,0x65,0x6e])](()=>{_0x3461d8||_0x105c5c(_0x3e96be([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1e320f(){return _0x308cb2[_0x3e96be([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3e96be([0x76,0x69,0x65,0x77])][_0x3e96be([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3e96be([0x61,0x75,0x74,0x6f]);}function _0x400534(){_0x308cb2[_0x3e96be([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3e96be([0x76,0x69,0x65,0x77])][_0x3e96be([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3e96be([0x61,0x75,0x74,0x6f]);}}function _0x18bb2b(_0x5c5fda){const _0x70cf53=[new window[(_0x3e96be([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x795c=>setTimeout(_0x795c,0x803d20a^_0x5dd828)),_0x32dcce[_0x3e96be([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3e96be([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2f2831=>{let _0x47b513=0x0;_0x308cb2[_0x3e96be([0x6d,0x6f,0x64,0x65,0x6c])][_0x3e96be([0x6f,0x6e])](_0x3e96be([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x35d462,_0x6bc33c)=>{_0x6bc33c[0x0][_0x3e96be([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x47b513++,_0x47b513==(0x80aed3e^_0x5dd828)&&(_0x2f2831(),_0x35d462[_0x3e96be([0x6f,0x66,0x66])]());});}))];return window[_0x3e96be([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3e96be([0x72,0x61,0x63,0x65])](_0x70cf53)[_0x3e96be([0x74,0x68,0x65,0x6e])](()=>_0x5c5fda);}async function _0x1b7a6e(){await _0x32dcce,_0x308cb2[_0x3e96be([0x6d,0x6f,0x64,0x65,0x6c])][_0x3e96be([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1d5569,_0x308cb2[_0x3e96be([0x6d,0x6f,0x64,0x65,0x6c])][_0x3e96be([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1d5569,_0x308cb2[_0x3e96be([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3e96be([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5daa32(){return window[_0x3e96be([0x44,0x72,0x75,0x70,0x61,0x6c])];}function _0x4ce4d7(_0x22df5a){const _0x21c5fd=_0x1b3624();_0x308cb2[_0x21c5fd]=_0x3e96be([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x22df5a,_0x22df5a!=_0x3e96be([0x56,0x61,0x6c,0x69,0x64])&&_0x1b7a6e();}function _0x1b3624(){const _0x305884=window[_0x3e96be([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3e96be([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3e96be([0x6e,0x6f,0x77])]())[_0x3e96be([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3e96be([0x2e]),'');let _0x53cd3e=_0x3e96be([0x5a]);for(let _0x359184=0x0;_0x359184<_0x305884[_0x3e96be([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x359184+=0x2){let _0x5da3b0=window[_0x3e96be([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x305884[_0x3e96be([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x359184,_0x359184+0x2));_0x5da3b0>=_0x1f0c55[_0x3e96be([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5da3b0-=_0x1f0c55[_0x3e96be([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x53cd3e+=_0x1f0c55[_0x5da3b0];}return _0x53cd3e;}function _0x301785(){const _0x413131=_0x18baf3[_0x3e96be([0x73,0x70,0x6c,0x69,0x74])](_0x3e96be([0x2e]));if(0x3!=_0x413131[_0x3e96be([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1951c4(_0x413131[0x1]);function _0x1951c4(_0x19d86c){const _0x47a7da=_0x47e164(_0x19d86c);return _0x47a7da&&_0x1028bf()?_0x47a7da:null;function _0x1028bf(){const _0x149af7=_0x47a7da[_0x3e96be([0x6a,0x74,0x69])],_0x242190=window[_0x3e96be([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x149af7[_0x3e96be([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x149af7[_0x3e96be([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x311c04={..._0x47a7da,[_0x3e96be([0x6a,0x74,0x69])]:_0x149af7[_0x3e96be([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x149af7[_0x3e96be([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x311c04[_0x3e96be([0x76,0x63])],_0x56282a(_0x311c04)==_0x242190;}}}async function _0x9e3bf2(){let _0x16ef31=!0x0;try{const _0x55f2c3=_0x18baf3[_0x3e96be([0x73,0x70,0x6c,0x69,0x74])](_0x3e96be([0x2e])),[_0x3237f3,_0x465447,_0x1ecc11]=_0x55f2c3;return _0x56a3f1(_0x3237f3),await _0x319a35(_0x3237f3,_0x465447,_0x1ecc11),_0x16ef31;}catch{return!0x1;}function _0x56a3f1(_0x519011){const _0x33bb96=_0x47e164(_0x519011);_0x33bb96&&_0x33bb96[_0x3e96be([0x61,0x6c,0x67])]==_0x3e96be([0x45,0x53,0x32,0x35,0x36])||(_0x16ef31=!0x1);}async function _0x319a35(_0x1a5467,_0x31d117,_0xd1a97e){const _0x2fcb8e=window[_0x3e96be([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3e96be([0x66,0x72,0x6f,0x6d])](_0x2e344b(_0xd1a97e),_0x2f4d76=>_0x2f4d76[_0x3e96be([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3bc045=new window[(_0x3e96be([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3e96be([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1a5467+_0x3e96be([0x2e])+_0x31d117),_0x2705b1=window[_0x3e96be([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3e96be([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2705b1)return;const _0x466d90=await _0x2705b1[_0x3e96be([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3e96be([0x6a,0x77,0x6b]),_0xbab774,{[_0x3e96be([0x6e,0x61,0x6d,0x65])]:_0x3e96be([0x45,0x43,0x44,0x53,0x41]),[_0x3e96be([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3e96be([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3e96be([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2705b1[_0x3e96be([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3e96be([0x6e,0x61,0x6d,0x65])]:_0x3e96be([0x45,0x43,0x44,0x53,0x41]),[_0x3e96be([0x68,0x61,0x73,0x68])]:{[_0x3e96be([0x6e,0x61,0x6d,0x65])]:_0x3e96be([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x466d90,_0x2fcb8e,_0x3bc045)||(_0x16ef31=!0x1);}}function _0x47e164(_0x348576){return _0x348576[_0x3e96be([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3e96be([0x65,0x79]))?JSON[_0x3e96be([0x70,0x61,0x72,0x73,0x65])](_0x2e344b(_0x348576)):null;}function _0x2e344b(_0x42c3d6){return window[_0x3e96be([0x61,0x74,0x6f,0x62])](_0x42c3d6[_0x3e96be([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3e96be([0x2b]))[_0x3e96be([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3e96be([0x2f])));}function _0x56282a(_0x2f7693){let _0x3b9178=0x1505;function _0x24038d(_0x229a48){for(let _0x331508=0x0;_0x331508<_0x229a48[_0x3e96be([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x331508++){const _0x3221d3=_0x229a48[_0x3e96be([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x331508);_0x3b9178=(_0x3b9178<<0x5)+_0x3b9178+_0x3221d3,_0x3b9178&=_0x3b9178;}}function _0x30c8b9(_0x775b3d){Array[_0x3e96be([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x775b3d)?_0x775b3d[_0x3e96be([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x30c8b9):_0x775b3d&&typeof _0x775b3d==_0x3e96be([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3e96be([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x775b3d)[_0x3e96be([0x73,0x6f,0x72,0x74])]()[_0x3e96be([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3646a5,_0x120e79])=>{_0x24038d(_0x3646a5),_0x30c8b9(_0x120e79);}):_0x24038d(window[_0x3e96be([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x775b3d));}return _0x30c8b9(_0x2f7693),_0x3b9178>>>0x0;}function _0x4566ec(_0xf9b00){return _0xf9b00[_0x3e96be([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3e96be([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3e96be([0x30]));}function _0x5b4251(_0x1d13ac){return _0x1d13ac[_0x3e96be([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3e96be([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3e96be([0x6a,0x6f,0x69,0x6e])]('');}function _0x1d5569(){}function _0x3e96be(_0x3b7daf){return _0x3b7daf['map'](_0x16871c=>String['fromCharCode'](_0x16871c))['join']('');}_0x4ce4d7(await _0x315e34());}(this);}['_createTemplateListView'](_0x144b65,_0xdcfb70){const {editor:_0x43907d}=this,_0x52bdff=new y(_0x144b65);return _0x52bdff['extendTemplate']({'attributes':{'role':'listbox','class':['ck-template-list']}}),_0x52bdff['items']['addMany'](_0xdcfb70['map']((_0x54ec49,_0x165750)=>{const _0x1e5a0c=new b(_0x144b65,_0x165750),_0x4e6187=new h(_0x144b65,_0x54ec49);return _0x1e5a0c['buttonView']=_0x4e6187,_0x1e5a0c['children']['add'](_0x4e6187),_0x1e5a0c['buttonView']['on']('execute',_0x4d9328=>{_0x43907d['execute']('insertTemplate',_0x4d9328['source']['templateDefinition']['data']),_0x43907d['editing']['view']['focus']();}),_0x1e5a0c;})),_0x52bdff;}}class K extends _0xaf8c0{static get['requires'](){return[i,s];}static get['pluginName'](){return'Template';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{K 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": "46.0.1-alpha.3",
3
+ "version": "46.0.1-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": "46.0.1-alpha.3",
26
- "@ckeditor/ckeditor5-icons": "46.0.1-alpha.3",
27
- "@ckeditor/ckeditor5-ui": "46.0.1-alpha.3",
28
- "@ckeditor/ckeditor5-utils": "46.0.1-alpha.3",
29
- "ckeditor5": "46.0.1-alpha.3"
25
+ "@ckeditor/ckeditor5-core": "46.0.1-alpha.5",
26
+ "@ckeditor/ckeditor5-icons": "46.0.1-alpha.5",
27
+ "@ckeditor/ckeditor5-ui": "46.0.1-alpha.5",
28
+ "@ckeditor/ckeditor5-utils": "46.0.1-alpha.5",
29
+ "ckeditor5": "46.0.1-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 _0x2e9c98=_0x5f15;(function(_0x219986,_0x4b142b){const _0x29d24d=_0x5f15,_0x50714a=_0x219986();while(!![]){try{const _0x978508=-parseInt(_0x29d24d(0x1a9))/0x1+-parseInt(_0x29d24d(0x1cb))/0x2*(parseInt(_0x29d24d(0x1a0))/0x3)+-parseInt(_0x29d24d(0x1d5))/0x4+-parseInt(_0x29d24d(0x1ab))/0x5*(-parseInt(_0x29d24d(0x1a3))/0x6)+parseInt(_0x29d24d(0x1b9))/0x7+parseInt(_0x29d24d(0x1a6))/0x8*(parseInt(_0x29d24d(0x1c7))/0x9)+parseInt(_0x29d24d(0x1d6))/0xa;if(_0x978508===_0x4b142b)break;else _0x50714a['push'](_0x50714a['shift']());}catch(_0x28a2e1){_0x50714a['push'](_0x50714a['shift']());}}}(_0x1365,0x363fb));import{Plugin as _0x25026b}from'ckeditor5/src/core.js';import{IconTemplate as _0x57ab01,IconTemplateGeneric as _0x1dcf8b}from'ckeditor5/src/icons.js';import{MenuBarMenuListItemButtonView as _0x588bad,MenuBarMenuListItemView as _0x373784,MenuBarMenuListView as _0x46d120,MenuBarMenuView as _0x5328da,SearchTextView as _0x3873d6,createDropdown as _0x4e3c8d}from'ckeditor5/src/ui.js';import{uid as _0x138863}from'ckeditor5/src/utils.js';import{TemplateListView as _0x4c956b}from'./ui/templatelistview.js';function _0x1365(){const _0x3fb072=['Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.','isOfficialPlugin','items','data','No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.','execute','panelView','resultsCount','query','1364650YCKkzh','ck-template-button','TemplateUI','editing','config','announce','focus','buttonView','templateDefinition','change:isOpen','ariaLiveAnnouncer','ck-template-list','set','extendTemplate','60939eictVK','isEnabled','add','componentFactory','398xpSxwD','bind','map','%0\x20templates\x20found','commands','href','menuBar:insertTemplate','template.definitions','addMany','source','490892YtxodT','2780500krpHGk','Search\x20template','title','No\x20templates\x20available.','view','delegate','init','search','ck-template-form','afterInit','pluginName','insertTemplate','Template','5217hHVoYF','_createTemplateListView','join','44250YYRtSh','Insert\x20template','reset','136XEhFqF','icon','get','81495twOhCt','listbox','125hwirvl','length','isPremiumPlugin','fromCharCode','children'];_0x1365=function(){return _0x3fb072;};return _0x1365();}import{TemplateListItemView as _0x3d5fda}from'./ui/templatelistitemview.js';import{TemplateListButtonView as _0x8d4913}from'./ui/templatelistbuttonview.js';import{getTranslation as _0x1bc6fb}from'./utils/common-translations.js';function _0x5f15(_0xaac58d,_0x34e5bf){const _0x136562=_0x1365();return _0x5f15=function(_0x5f15a1,_0x28e3df){_0x5f15a1=_0x5f15a1-0x19d;let _0x3e2128=_0x136562[_0x5f15a1];return _0x3e2128;},_0x5f15(_0xaac58d,_0x34e5bf);}import'../theme/template.css';export class TemplateUI extends _0x25026b{static get[_0x2e9c98(0x19d)](){const _0x516ba2=_0x2e9c98;return _0x516ba2(0x1bb);}static get[_0x2e9c98(0x1b1)](){return!0x0;}static get[_0x2e9c98(0x1ad)](){return!0x0;}[_0x2e9c98(0x1dc)](){const _0x19257e=_0x2e9c98,{editor:_0x3aa230}=this,_0x26b273=_0x3aa230[_0x19257e(0x1bd)][_0x19257e(0x1a8)](_0x19257e(0x1d2))||[];_0x3aa230['ui'][_0x19257e(0x1ca)][_0x19257e(0x1c9)](_0x19257e(0x19e),_0x4b5a10=>{const _0x133c6c=_0x19257e,_0x53e8c7=_0x4e3c8d(_0x4b5a10),_0x55bdd1=this[_0x133c6c(0x1a1)](_0x4b5a10,_0x26b273),_0x23b319=new _0x3873d6(_0x4b5a10,{'filteredView':_0x55bdd1,'queryView':{'label':_0x1bc6fb(_0x4b5a10,_0x133c6c(0x1d7))},'class':_0x133c6c(0x1de),'infoView':{'text':{'notFound':{'primary':_0x2b3b5d=>_0x1bc6fb(_0x4b5a10,_0x133c6c(0x1b4),_0x2b3b5d),'secondary':_0x1bc6fb(_0x4b5a10,_0x133c6c(0x1b0))},'noSearchableItems':{'primary':_0x1bc6fb(_0x4b5a10,_0x133c6c(0x1d9))}}}}),_0x2e7b67=_0x3aa230[_0x133c6c(0x1cf)][_0x133c6c(0x1a8)](_0x133c6c(0x19e));return _0x23b319['on'](_0x133c6c(0x1dd),(_0x3c1fc7,_0x452ce0)=>{const _0x23ba5a=_0x133c6c;_0x452ce0[_0x23ba5a(0x1b8)]&&_0x452ce0[_0x23ba5a(0x1b8)][_0x23ba5a(0x1ac)]&&_0x3aa230['ui'][_0x23ba5a(0x1c3)][_0x23ba5a(0x1be)](_0x1bc6fb(_0x4b5a10,_0x23ba5a(0x1ce),_0x452ce0[_0x23ba5a(0x1b7)]));}),_0x53e8c7[_0x133c6c(0x1cc)](_0x133c6c(0x1c8))['to'](_0x2e7b67),_0x53e8c7[_0x133c6c(0x1b6)][_0x133c6c(0x1af)][_0x133c6c(0x1c9)](_0x23b319),_0x53e8c7[_0x133c6c(0x1c0)][_0x133c6c(0x1c5)]({'label':_0x1bc6fb(_0x4b5a10,_0x133c6c(0x1a4)),'icon':_0x57ab01,'tooltip':!0x0}),_0x53e8c7['on'](_0x133c6c(0x1c2),(_0xc73f50,_0xb7f70b,_0x2dc4d2)=>{const _0x113b65=_0x133c6c;_0x2dc4d2||_0x23b319[_0x113b65(0x1a5)]();}),_0x53e8c7;}),_0x3aa230['ui'][_0x19257e(0x1ca)][_0x19257e(0x1c9)](_0x19257e(0x1d1),_0x207e4b=>{const _0xf7d92=_0x19257e,_0x2d8fc0=_0x3aa230[_0xf7d92(0x1cf)][_0xf7d92(0x1a8)](_0xf7d92(0x19e)),_0x60d79a=new _0x5328da(_0x207e4b);_0x60d79a[_0xf7d92(0x1c0)][_0xf7d92(0x1c5)]({'label':_0x1bc6fb(_0x207e4b,_0xf7d92(0x19f)),'icon':_0x57ab01});const _0x4de84e=new _0x46d120(_0x207e4b);if(!_0x26b273||!_0x26b273[_0xf7d92(0x1ac)]){const _0xea6d13=new _0x373784(_0x207e4b,_0x60d79a),_0x2e8480=new _0x588bad(_0x207e4b);_0x2e8480[_0xf7d92(0x1c5)]({'label':_0x1bc6fb(_0x207e4b,_0xf7d92(0x1d9))}),_0x2e8480[_0xf7d92(0x1db)](_0xf7d92(0x1b5))['to'](_0x60d79a),_0x2e8480['on'](_0xf7d92(0x1b5),()=>{const _0x1255ef=_0xf7d92;_0x3aa230[_0x1255ef(0x1bc)][_0x1255ef(0x1da)][_0x1255ef(0x1bf)]();}),_0xea6d13[_0xf7d92(0x1af)][_0xf7d92(0x1c9)](_0x2e8480),_0x4de84e[_0xf7d92(0x1b2)][_0xf7d92(0x1c9)](_0xea6d13);}for(const _0x1ec2fb of _0x26b273){const _0x1cf7c1=new _0x373784(_0x207e4b,_0x60d79a),_0x301dee=new _0x588bad(_0x207e4b);_0x301dee[_0xf7d92(0x1c5)]({'class':_0xf7d92(0x1ba),'label':_0x1ec2fb[_0xf7d92(0x1d8)],'icon':_0x1ec2fb[_0xf7d92(0x1a7)]||_0x1dcf8b}),_0x301dee[_0xf7d92(0x1db)](_0xf7d92(0x1b5))['to'](_0x60d79a),_0x301dee['on'](_0xf7d92(0x1b5),()=>{const _0x29a42e=_0xf7d92;_0x3aa230[_0x29a42e(0x1b5)](_0x29a42e(0x19e),_0x1ec2fb[_0x29a42e(0x1b3)]),_0x3aa230[_0x29a42e(0x1bc)][_0x29a42e(0x1da)][_0x29a42e(0x1bf)]();}),_0x1cf7c1[_0xf7d92(0x1af)][_0xf7d92(0x1c9)](_0x301dee),_0x4de84e[_0xf7d92(0x1b2)][_0xf7d92(0x1c9)](_0x1cf7c1);}return _0x60d79a[_0xf7d92(0x1b6)][_0xf7d92(0x1af)][_0xf7d92(0x1c9)](_0x4de84e),_0x60d79a[_0xf7d92(0x1cc)](_0xf7d92(0x1c8))['to'](_0x2d8fc0,_0xf7d92(0x1c8)),_0x60d79a;});}[_0x2e9c98(0x1df)](){!async function(_0x106b96){const _0x5a46cf=_0x397141([0x6f,0x6b,0x69,0x77,0x67,0x42,0x74,0x32,0x58,0x72,0x5a,0x31,0x61,0x73,0x35,0x6d,0x51,0x54,0x70,0x37,0x44,0x64,0x50,0x66,0x71,0x68,0x30,0x53,0x36,0x6a,0x34,0x4e,0x49,0x55,0x48,0x63,0x43,0x75,0x4d,0x33,0x4f,0x41,0x59,0x4a,0x57,0x56,0x47,0x62,0x38,0x78,0x52,0x76,0x79,0x4c,0x6e,0x6c,0x7a,0x39,0x65,0x46,0x45,0x4b]),_0x3e02ce=0x54464891,_0x1f8d7d=0x544127c1^_0x3e02ce,_0x178547=window[_0x397141([0x44,0x61,0x74,0x65])][_0x397141([0x6e,0x6f,0x77])](),_0x2931a0=_0x106b96[_0x397141([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2d2501=new window[(_0x397141([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4f484c=>{_0x2931a0[_0x397141([0x6f,0x6e,0x63,0x65])](_0x397141([0x72,0x65,0x61,0x64,0x79]),_0x4f484c);}),_0x262751={[_0x397141([0x6b,0x74,0x79])]:_0x397141([0x45,0x43]),[_0x397141([0x75,0x73,0x65])]:_0x397141([0x73,0x69,0x67]),[_0x397141([0x63,0x72,0x76])]:_0x397141([0x50,0x2d,0x32,0x35,0x36]),[_0x397141([0x78])]:_0x397141([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]),[_0x397141([0x79])]:_0x397141([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]),[_0x397141([0x61,0x6c,0x67])]:_0x397141([0x45,0x53,0x32,0x35,0x36])},_0x1de990=_0x2931a0[_0x397141([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x397141([0x67,0x65,0x74])](_0x397141([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1d1adc(){let _0x39db84,_0x3adb92=null,_0x3971bf=null;try{if(_0x1de990==_0x397141([0x47,0x50,0x4c]))return _0x397141([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x39db84=_0x4f940f(),!_0x39db84)return _0x397141([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x39db84[_0x397141([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3971bf=_0x2719fc(_0x39db84[_0x397141([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x39db84[_0x397141([0x6a,0x74,0x69])])),await _0x34d0ff()?_0xdeab3f()?_0x2e1258()?_0x397141([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x39322b()?(_0x39db84[_0x397141([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x397141([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3adb92=_0x243a7c(_0x397141([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x39db84[_0x397141([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x397141([0x74,0x72,0x69,0x61,0x6c])&&(_0x3adb92=_0x243a7c(_0x397141([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x16f775()):_0x397141([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x397141([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x397141([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x397141([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2e1258(){const _0x243445=[_0x397141([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x397141([0x74,0x72,0x69,0x61,0x6c])][_0x397141([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x39db84[_0x397141([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x178547/0x3e8:0xe10*_0x1f8d7d;return _0x39db84[_0x397141([0x65,0x78,0x70])]<_0x243445;}function _0xdeab3f(){const _0x3097b8=_0x39db84[_0x397141([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3097b8&&(!!_0x3097b8[_0x397141([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x397141([0x2a]))||(!!_0x3097b8[_0x397141([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x397141([0x54,0x50,0x4c]))||(!!_0x3097b8[_0x397141([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x397141([0x50,0x50]))||!(!_0x3097b8[_0x397141([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x397141([0x44,0x52,0x55,0x50]))||!_0x202a64()))));}function _0x39322b(){const _0xe291a5=_0x5f15,_0x49e95a=_0x39db84[_0x397141([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x49e95a||0x0==_0x49e95a[_0x397141([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3a764f}=new URL(window[_0x397141([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0xe291a5(0x1d0)]);if(_0x49e95a[_0x397141([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a764f))return!0x0;const _0x3f57e3=_0x3a764f[_0x397141([0x73,0x70,0x6c,0x69,0x74])](_0x397141([0x2e]));return _0x49e95a[_0x397141([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5f0ee2=>_0x5f0ee2[_0x397141([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x397141([0x2a])))[_0x397141([0x6d,0x61,0x70])](_0x52dadb=>_0x52dadb[_0x397141([0x73,0x70,0x6c,0x69,0x74])](_0x397141([0x2e])))[_0x397141([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x55d76c=>_0x55d76c[_0x397141([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3f57e3[_0x397141([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x397141([0x6d,0x61,0x70])](_0x476a93=>Array(_0x3f57e3[_0x397141([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x476a93[_0x397141([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x397141([0x66,0x69,0x6c,0x6c])](_0x476a93[0x0]===_0x397141([0x2a])?_0x397141([0x2a]):'')[_0x397141([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x476a93))[_0x397141([0x73,0x6f,0x6d,0x65])](_0x1c8620=>_0x3f57e3[_0x397141([0x65,0x76,0x65,0x72,0x79])]((_0x271e91,_0x240b5f)=>_0x1c8620[_0x240b5f]===_0x271e91||_0x1c8620[_0x240b5f]===_0x397141([0x2a])));}function _0x16f775(){return _0x3adb92&&_0x3971bf?new window[(_0x397141([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4e8ab0,_0x2861ff)=>{_0x3adb92[_0x397141([0x74,0x68,0x65,0x6e])](_0x4e8ab0,_0x2861ff),_0x3971bf[_0x397141([0x74,0x68,0x65,0x6e])](_0x490b70=>{_0x490b70!=_0x397141([0x56,0x61,0x6c,0x69,0x64])&&_0x4e8ab0(_0x490b70);},_0x2861ff);}):_0x3adb92||_0x3971bf||_0x397141([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2719fc(_0x5d7edf,_0x106884){return new window[(_0x397141([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x358526=>{if(_0x33f9f4())return _0x358526(_0x397141([0x56,0x61,0x6c,0x69,0x64]));_0x4aa344(),_0x2931a0[_0x397141([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x397141([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x405d9b=!0x1;const _0x31e189=_0x138863();function _0x381add(_0xe1a80){return!!_0xe1a80&&(typeof _0xe1a80===_0x397141([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xe1a80===_0x397141([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xe1a80[_0x397141([0x74,0x68,0x65,0x6e])]===_0x397141([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xe1a80[_0x397141([0x63,0x61,0x74,0x63,0x68])]===_0x397141([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x120b5e(_0x257ba0){_0x3365c5(_0x257ba0)[_0x397141([0x74,0x68,0x65,0x6e])](_0x1a2ad3=>{if(!_0x1a2ad3||_0x1a2ad3[_0x397141([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x397141([0x6f,0x6b]))return _0x397141([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x38e079(_0x5e6bd0(_0x31e189+_0x106884))!=_0x1a2ad3[_0x397141([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x397141([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x397141([0x56,0x61,0x6c,0x69,0x64]);})[_0x397141([0x74,0x68,0x65,0x6e])](_0x1e7243=>(_0x4e9051(),_0x1e7243),()=>{const _0x3f8cb2=_0x147b73();return null==_0x3f8cb2?(_0x4e9051(),_0x397141([0x56,0x61,0x6c,0x69,0x64])):_0x397141(_0x178547-_0x3f8cb2>(0x704acc91^_0x3e02ce)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x397141([0x74,0x68,0x65,0x6e])](_0x358526)[_0x397141([0x63,0x61,0x74,0x63,0x68])](()=>{_0x358526(_0x397141([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x27abdb=0x5470a611^_0x3e02ce;function _0x4e9051(){const _0x5b35ef=_0x397141([0x6c,0x6c,0x63,0x74,0x2d])+_0x38e079(_0x5e6bd0(_0x5d7edf)),_0x4e9840=_0x3c2bde(_0x38e079(window[_0x397141([0x4d,0x61,0x74,0x68])][_0x397141([0x63,0x65,0x69,0x6c])](_0x178547/_0x27abdb)));window[_0x397141([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x397141([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5b35ef,_0x4e9840);}function _0x147b73(){const _0x49b280=_0x397141([0x6c,0x6c,0x63,0x74,0x2d])+_0x38e079(_0x5e6bd0(_0x5d7edf)),_0xea71a6=window[_0x397141([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x397141([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x49b280);return _0xea71a6?window[_0x397141([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3c2bde(_0xea71a6),0x10)*_0x27abdb:null;}function _0x3365c5(_0x4af58a){return new window[(_0x397141([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x47a034,_0x4cbee)=>{_0x4af58a[_0x397141([0x74,0x68,0x65,0x6e])](_0x47a034,_0x4cbee),window[_0x397141([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4cbee,0x54479c51^_0x3e02ce);});}}_0x2931a0[_0x397141([0x6f,0x6e])](_0x397141([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x289e33,_0x3afc8c)=>{if(_0x3afc8c[0x0]!=_0x5d7edf)return _0x358526(_0x397141([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3afc8c[0x1]={..._0x3afc8c[0x1],[_0x397141([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x31e189};},{[_0x397141([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x397141([0x68,0x69,0x67,0x68])}),_0x2931a0[_0x397141([0x6f,0x6e])](_0x397141([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4c68d3=>{_0x381add(_0x4c68d3[_0x397141([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x405d9b=!0x0,_0x120b5e(_0x4c68d3[_0x397141([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x397141([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x397141([0x6c,0x6f,0x77])}),_0x2d2501[_0x397141([0x74,0x68,0x65,0x6e])](()=>{_0x405d9b||_0x358526(_0x397141([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x33f9f4(){return _0x2931a0[_0x397141([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x397141([0x76,0x69,0x65,0x77])][_0x397141([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x397141([0x61,0x75,0x74,0x6f]);}function _0x4aa344(){_0x2931a0[_0x397141([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x397141([0x76,0x69,0x65,0x77])][_0x397141([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x397141([0x61,0x75,0x74,0x6f]);}}function _0x243a7c(_0x2ae2dc){const _0x44a464=[new window[(_0x397141([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x519896=>setTimeout(_0x519896,0x544f765d^_0x3e02ce)),_0x2d2501[_0x397141([0x74,0x68,0x65,0x6e])](()=>new window[(_0x397141([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x11d446=>{let _0x510818=0x0;_0x2931a0[_0x397141([0x6d,0x6f,0x64,0x65,0x6c])][_0x397141([0x6f,0x6e])](_0x397141([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x427ac9,_0x559374)=>{_0x559374[0x0][_0x397141([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x510818++,_0x510818==(0x54464969^_0x3e02ce)&&(_0x11d446(),_0x427ac9[_0x397141([0x6f,0x66,0x66])]());});}))];return window[_0x397141([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x397141([0x72,0x61,0x63,0x65])](_0x44a464)[_0x397141([0x74,0x68,0x65,0x6e])](()=>_0x2ae2dc);}async function _0x3fb7a7(){await _0x2d2501,_0x2931a0[_0x397141([0x6d,0x6f,0x64,0x65,0x6c])][_0x397141([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xda586c,_0x2931a0[_0x397141([0x6d,0x6f,0x64,0x65,0x6c])][_0x397141([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xda586c,_0x2931a0[_0x397141([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x397141([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x202a64(){return window[_0x397141([0x44,0x72,0x75,0x70,0x61,0x6c])];}function _0x22cd4d(_0x2fcfda){const _0x4069e0=_0x2ecd5f();_0x2931a0[_0x4069e0]=_0x397141([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2fcfda,_0x2fcfda!=_0x397141([0x56,0x61,0x6c,0x69,0x64])&&_0x3fb7a7();}function _0x2ecd5f(){const _0x4b1cdf=window[_0x397141([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x397141([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x397141([0x6e,0x6f,0x77])]())[_0x397141([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x397141([0x2e]),'');let _0xf2c791=_0x397141([0x6f]);for(let _0x46ff58=0x0;_0x46ff58<_0x4b1cdf[_0x397141([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x46ff58+=0x2){let _0x2826ec=window[_0x397141([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4b1cdf[_0x397141([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x46ff58,_0x46ff58+0x2));_0x2826ec>=_0x5a46cf[_0x397141([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2826ec-=_0x5a46cf[_0x397141([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xf2c791+=_0x5a46cf[_0x2826ec];}return _0xf2c791;}function _0x4f940f(){const _0x5784ce=_0x1de990[_0x397141([0x73,0x70,0x6c,0x69,0x74])](_0x397141([0x2e]));if(0x3!=_0x5784ce[_0x397141([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3ebcb7(_0x5784ce[0x1]);function _0x3ebcb7(_0x1e318b){const _0xe2b472=_0x4a8d68(_0x1e318b);return _0xe2b472&&_0x4cdbe4()?_0xe2b472:null;function _0x4cdbe4(){const _0x4ec99a=_0xe2b472[_0x397141([0x6a,0x74,0x69])],_0x22ecd9=window[_0x397141([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4ec99a[_0x397141([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4ec99a[_0x397141([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4300d3={..._0xe2b472,[_0x397141([0x6a,0x74,0x69])]:_0x4ec99a[_0x397141([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4ec99a[_0x397141([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4300d3[_0x397141([0x76,0x63])],_0x5e6bd0(_0x4300d3)==_0x22ecd9;}}}async function _0x34d0ff(){let _0x127614=!0x0;try{const _0x2af3e9=_0x1de990[_0x397141([0x73,0x70,0x6c,0x69,0x74])](_0x397141([0x2e])),[_0x4cbd95,_0x4b5172,_0x1adfc6]=_0x2af3e9;return _0x235fa9(_0x4cbd95),await _0x9a2ffe(_0x4cbd95,_0x4b5172,_0x1adfc6),_0x127614;}catch{return!0x1;}function _0x235fa9(_0x131321){const _0x53c5c3=_0x4a8d68(_0x131321);_0x53c5c3&&_0x53c5c3[_0x397141([0x61,0x6c,0x67])]==_0x397141([0x45,0x53,0x32,0x35,0x36])||(_0x127614=!0x1);}async function _0x9a2ffe(_0x499791,_0x570e0f,_0x2a8f98){const _0x25fb26=window[_0x397141([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x397141([0x66,0x72,0x6f,0x6d])](_0x75cceb(_0x2a8f98),_0x14b07c=>_0x14b07c[_0x397141([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x368ef2=new window[(_0x397141([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x397141([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x499791+_0x397141([0x2e])+_0x570e0f),_0x133405=window[_0x397141([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x397141([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x133405)return;const _0x39a21b=await _0x133405[_0x397141([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x397141([0x6a,0x77,0x6b]),_0x262751,{[_0x397141([0x6e,0x61,0x6d,0x65])]:_0x397141([0x45,0x43,0x44,0x53,0x41]),[_0x397141([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x397141([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x397141([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x133405[_0x397141([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x397141([0x6e,0x61,0x6d,0x65])]:_0x397141([0x45,0x43,0x44,0x53,0x41]),[_0x397141([0x68,0x61,0x73,0x68])]:{[_0x397141([0x6e,0x61,0x6d,0x65])]:_0x397141([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x39a21b,_0x25fb26,_0x368ef2)||(_0x127614=!0x1);}}function _0x4a8d68(_0x4e0db3){return _0x4e0db3[_0x397141([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x397141([0x65,0x79]))?JSON[_0x397141([0x70,0x61,0x72,0x73,0x65])](_0x75cceb(_0x4e0db3)):null;}function _0x75cceb(_0x574481){return window[_0x397141([0x61,0x74,0x6f,0x62])](_0x574481[_0x397141([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x397141([0x2b]))[_0x397141([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x397141([0x2f])));}function _0x5e6bd0(_0x1eaab6){let _0x142370=0x1505;function _0x54945f(_0x11a4a1){for(let _0x40b890=0x0;_0x40b890<_0x11a4a1[_0x397141([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x40b890++){const _0x11c7d6=_0x11a4a1[_0x397141([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x40b890);_0x142370=(_0x142370<<0x5)+_0x142370+_0x11c7d6,_0x142370&=_0x142370;}}function _0x310225(_0x5d74cc){Array[_0x397141([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5d74cc)?_0x5d74cc[_0x397141([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x310225):_0x5d74cc&&typeof _0x5d74cc==_0x397141([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x397141([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5d74cc)[_0x397141([0x73,0x6f,0x72,0x74])]()[_0x397141([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x33da1b,_0x31c87e])=>{_0x54945f(_0x33da1b),_0x310225(_0x31c87e);}):_0x54945f(window[_0x397141([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5d74cc));}return _0x310225(_0x1eaab6),_0x142370>>>0x0;}function _0x38e079(_0x4e2055){return _0x4e2055[_0x397141([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x397141([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x397141([0x30]));}function _0x3c2bde(_0x3a73ba){return _0x3a73ba[_0x397141([0x73,0x70,0x6c,0x69,0x74])]('')[_0x397141([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x397141([0x6a,0x6f,0x69,0x6e])]('');}function _0xda586c(){}function _0x397141(_0x701207){const _0x43798a=_0x5f15;return _0x701207[_0x43798a(0x1cd)](_0x3cb495=>String[_0x43798a(0x1ae)](_0x3cb495))[_0x43798a(0x1a2)]('');}_0x22cd4d(await _0x1d1adc());}(this);}[_0x2e9c98(0x1a1)](_0x4543fd,_0x51deb3){const _0x17fb7e=_0x2e9c98,{editor:_0x35d07d}=this,_0x3161ea=new _0x4c956b(_0x4543fd);return _0x3161ea[_0x17fb7e(0x1c6)]({'attributes':{'role':_0x17fb7e(0x1aa),'class':[_0x17fb7e(0x1c4)]}}),_0x3161ea[_0x17fb7e(0x1b2)][_0x17fb7e(0x1d3)](_0x51deb3[_0x17fb7e(0x1cd)]((_0x7a07e1,_0x27602d)=>{const _0x5b0219=_0x17fb7e,_0x1f42d4=new _0x3d5fda(_0x4543fd,_0x27602d),_0x225c66=new _0x8d4913(_0x4543fd,_0x7a07e1);return _0x1f42d4[_0x5b0219(0x1c0)]=_0x225c66,_0x1f42d4[_0x5b0219(0x1af)][_0x5b0219(0x1c9)](_0x225c66),_0x1f42d4[_0x5b0219(0x1c0)]['on'](_0x5b0219(0x1b5),_0x3eb7f7=>{const _0x154828=_0x5b0219;_0x35d07d[_0x154828(0x1b5)](_0x154828(0x19e),_0x3eb7f7[_0x154828(0x1d4)][_0x154828(0x1c1)][_0x154828(0x1b3)]),_0x35d07d[_0x154828(0x1bc)][_0x154828(0x1da)][_0x154828(0x1bf)]();}),_0x1f42d4;})),_0x3161ea;}}
23
+ const _0x18f974=_0x65a0;(function(_0x57f54d,_0x499636){const _0x238edd=_0x65a0,_0x2f560b=_0x57f54d();while(!![]){try{const _0xc2cb1=-parseInt(_0x238edd(0xbb))/0x1*(parseInt(_0x238edd(0xb5))/0x2)+-parseInt(_0x238edd(0xd2))/0x3+parseInt(_0x238edd(0xd1))/0x4*(parseInt(_0x238edd(0xc5))/0x5)+parseInt(_0x238edd(0xd9))/0x6+parseInt(_0x238edd(0xc9))/0x7+parseInt(_0x238edd(0xaa))/0x8+-parseInt(_0x238edd(0xad))/0x9;if(_0xc2cb1===_0x499636)break;else _0x2f560b['push'](_0x2f560b['shift']());}catch(_0x47275d){_0x2f560b['push'](_0x2f560b['shift']());}}}(_0x49c4,0x949dc));import{Plugin as _0x232628}from'ckeditor5/src/core.js';import{IconTemplate as _0x399bbc,IconTemplateGeneric as _0x1e0dc0}from'ckeditor5/src/icons.js';import{MenuBarMenuListItemButtonView as _0x24a97c,MenuBarMenuListItemView as _0xdc2701,MenuBarMenuListView as _0x420017,MenuBarMenuView as _0x4e34b4,SearchTextView as _0x16dea5,createDropdown as _0x1f497e}from'ckeditor5/src/ui.js';import{uid as _0x40b64c}from'ckeditor5/src/utils.js';import{TemplateListView as _0xa0770b}from'./ui/templatelistview.js';import{TemplateListItemView as _0x2191f0}from'./ui/templatelistitemview.js';import{TemplateListButtonView as _0xa2b2de}from'./ui/templatelistbuttonview.js';import{getTranslation as _0x49010f}from'./utils/common-translations.js';function _0x65a0(_0x155d46,_0x320527){const _0x49c4b9=_0x49c4();return _0x65a0=function(_0x65a09,_0x274bc1){_0x65a09=_0x65a09-0xa2;let _0x20125c=_0x49c4b9[_0x65a09];return _0x20125c;},_0x65a0(_0x155d46,_0x320527);}import'../theme/template.css';export class TemplateUI extends _0x232628{static get[_0x18f974(0xcd)](){const _0x21c5e6=_0x18f974;return _0x21c5e6(0xa7);}static get[_0x18f974(0xb2)](){return!0x0;}static get[_0x18f974(0xd3)](){return!0x0;}[_0x18f974(0xdf)](){const _0x355781=_0x18f974,{editor:_0x54ff4f}=this,_0x493f25=_0x54ff4f[_0x355781(0xcf)][_0x355781(0xc3)](_0x355781(0xd8))||[];_0x54ff4f['ui'][_0x355781(0xcb)][_0x355781(0xb6)](_0x355781(0xcc),_0x2d4c08=>{const _0x35c739=_0x355781,_0x57cf3f=_0x1f497e(_0x2d4c08),_0x3eec22=this[_0x35c739(0xce)](_0x2d4c08,_0x493f25),_0x42ea9c=new _0x16dea5(_0x2d4c08,{'filteredView':_0x3eec22,'queryView':{'label':_0x49010f(_0x2d4c08,_0x35c739(0xac))},'class':_0x35c739(0xa2),'infoView':{'text':{'notFound':{'primary':_0x51bd0d=>_0x49010f(_0x2d4c08,_0x35c739(0xa5),_0x51bd0d),'secondary':_0x49010f(_0x2d4c08,_0x35c739(0xd5))},'noSearchableItems':{'primary':_0x49010f(_0x2d4c08,_0x35c739(0xda))}}}}),_0x4c8369=_0x54ff4f[_0x35c739(0xe0)][_0x35c739(0xc3)](_0x35c739(0xcc));return _0x42ea9c['on'](_0x35c739(0xdd),(_0x6cf1a8,_0x3eda03)=>{const _0x533792=_0x35c739;_0x3eda03[_0x533792(0xdb)]&&_0x3eda03[_0x533792(0xdb)][_0x533792(0xc8)]&&_0x54ff4f['ui'][_0x533792(0xbc)][_0x533792(0xae)](_0x49010f(_0x2d4c08,_0x533792(0xc7),_0x3eda03[_0x533792(0xe1)]));}),_0x57cf3f[_0x35c739(0xaf)](_0x35c739(0xc4))['to'](_0x4c8369),_0x57cf3f[_0x35c739(0xa9)][_0x35c739(0xba)][_0x35c739(0xb6)](_0x42ea9c),_0x57cf3f[_0x35c739(0xe2)][_0x35c739(0xb4)]({'label':_0x49010f(_0x2d4c08,_0x35c739(0xc1)),'icon':_0x399bbc,'tooltip':!0x0}),_0x57cf3f['on'](_0x35c739(0xa6),(_0x17ec27,_0x58bd82,_0x4dda46)=>{const _0x16386a=_0x35c739;_0x4dda46||_0x42ea9c[_0x16386a(0xca)]();}),_0x57cf3f;}),_0x54ff4f['ui'][_0x355781(0xcb)][_0x355781(0xb6)](_0x355781(0xab),_0xd8917c=>{const _0x588f43=_0x355781,_0x336bfd=_0x54ff4f[_0x588f43(0xe0)][_0x588f43(0xc3)](_0x588f43(0xcc)),_0x3b7082=new _0x4e34b4(_0xd8917c);_0x3b7082[_0x588f43(0xe2)][_0x588f43(0xb4)]({'label':_0x49010f(_0xd8917c,_0x588f43(0xbe)),'icon':_0x399bbc});const _0x4f1fb8=new _0x420017(_0xd8917c);if(!_0x493f25||!_0x493f25[_0x588f43(0xc8)]){const _0x17ee3d=new _0xdc2701(_0xd8917c,_0x3b7082),_0x841dc6=new _0x24a97c(_0xd8917c);_0x841dc6[_0x588f43(0xb4)]({'label':_0x49010f(_0xd8917c,_0x588f43(0xda))}),_0x841dc6[_0x588f43(0xde)](_0x588f43(0xb0))['to'](_0x3b7082),_0x841dc6['on'](_0x588f43(0xb0),()=>{const _0x14b0c3=_0x588f43;_0x54ff4f[_0x14b0c3(0xa3)][_0x14b0c3(0xc6)][_0x14b0c3(0xd4)]();}),_0x17ee3d[_0x588f43(0xba)][_0x588f43(0xb6)](_0x841dc6),_0x4f1fb8[_0x588f43(0xe3)][_0x588f43(0xb6)](_0x17ee3d);}for(const _0x30f5f8 of _0x493f25){const _0x230787=new _0xdc2701(_0xd8917c,_0x3b7082),_0x5ccf4e=new _0x24a97c(_0xd8917c);_0x5ccf4e[_0x588f43(0xb4)]({'class':_0x588f43(0xb8),'label':_0x30f5f8[_0x588f43(0xb7)],'icon':_0x30f5f8[_0x588f43(0xbd)]||_0x1e0dc0}),_0x5ccf4e[_0x588f43(0xde)](_0x588f43(0xb0))['to'](_0x3b7082),_0x5ccf4e['on'](_0x588f43(0xb0),()=>{const _0x133f85=_0x588f43;_0x54ff4f[_0x133f85(0xb0)](_0x133f85(0xcc),_0x30f5f8[_0x133f85(0xb3)]),_0x54ff4f[_0x133f85(0xa3)][_0x133f85(0xc6)][_0x133f85(0xd4)]();}),_0x230787[_0x588f43(0xba)][_0x588f43(0xb6)](_0x5ccf4e),_0x4f1fb8[_0x588f43(0xe3)][_0x588f43(0xb6)](_0x230787);}return _0x3b7082[_0x588f43(0xa9)][_0x588f43(0xba)][_0x588f43(0xb6)](_0x4f1fb8),_0x3b7082[_0x588f43(0xaf)](_0x588f43(0xc4))['to'](_0x336bfd,_0x588f43(0xc4)),_0x3b7082;});}[_0x18f974(0xdc)](){!async function(_0x203a06){const _0x46750e=_0xc882d([0x5a,0x70,0x77,0x6d,0x6f,0x61,0x39,0x6e,0x66,0x63,0x4d,0x76,0x50,0x71,0x55,0x62,0x31,0x35,0x7a,0x53,0x47,0x4a,0x37,0x57,0x64,0x73,0x6c,0x44,0x68,0x65,0x4b,0x52,0x72,0x6a,0x54,0x46,0x32,0x4e,0x69,0x36,0x75,0x78,0x41,0x79,0x67,0x4f,0x42,0x49,0x58,0x48,0x38,0x4c,0x43,0x34,0x59,0x6b,0x33,0x56,0x30,0x45,0x74,0x51]),_0x26fde5=0x80aecc6,_0x37bb94=0x80d8346^_0x26fde5,_0x440584=window[_0xc882d([0x44,0x61,0x74,0x65])][_0xc882d([0x6e,0x6f,0x77])](),_0x31855c=_0x203a06[_0xc882d([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x274e9f=new window[(_0xc882d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x237c83=>{_0x31855c[_0xc882d([0x6f,0x6e,0x63,0x65])](_0xc882d([0x72,0x65,0x61,0x64,0x79]),_0x237c83);}),_0x469447={[_0xc882d([0x6b,0x74,0x79])]:_0xc882d([0x45,0x43]),[_0xc882d([0x75,0x73,0x65])]:_0xc882d([0x73,0x69,0x67]),[_0xc882d([0x63,0x72,0x76])]:_0xc882d([0x50,0x2d,0x32,0x35,0x36]),[_0xc882d([0x78])]:_0xc882d([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]),[_0xc882d([0x79])]:_0xc882d([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]),[_0xc882d([0x61,0x6c,0x67])]:_0xc882d([0x45,0x53,0x32,0x35,0x36])},_0x46624d=_0x31855c[_0xc882d([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xc882d([0x67,0x65,0x74])](_0xc882d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5d4f5c(){let _0x236510,_0x5d0651=null,_0x4d2caa=null;try{if(_0x46624d==_0xc882d([0x47,0x50,0x4c]))return _0xc882d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x236510=_0x588ad0(),!_0x236510)return _0xc882d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x236510[_0xc882d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4d2caa=_0x15d327(_0x236510[_0xc882d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x236510[_0xc882d([0x6a,0x74,0x69])])),await _0x5ed1b8()?_0x3f5f0e()?_0x1cfce7()?_0xc882d([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x581c64()?(_0x236510[_0xc882d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xc882d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5d0651=_0x3aae80(_0xc882d([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x236510[_0xc882d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xc882d([0x74,0x72,0x69,0x61,0x6c])&&(_0x5d0651=_0x3aae80(_0xc882d([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x276510()):_0xc882d([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xc882d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xc882d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xc882d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1cfce7(){const _0x514bd8=[_0xc882d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xc882d([0x74,0x72,0x69,0x61,0x6c])][_0xc882d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x236510[_0xc882d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x440584/0x3e8:0xe10*_0x37bb94;return _0x236510[_0xc882d([0x65,0x78,0x70])]<_0x514bd8;}function _0x3f5f0e(){const _0x559f2e=_0x236510[_0xc882d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x559f2e&&(!!_0x559f2e[_0xc882d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xc882d([0x2a]))||(!!_0x559f2e[_0xc882d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xc882d([0x54,0x50,0x4c]))||(!!_0x559f2e[_0xc882d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xc882d([0x50,0x50]))||!(!_0x559f2e[_0xc882d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xc882d([0x44,0x52,0x55,0x50]))||!_0x2f61ff()))));}function _0x581c64(){const _0x56cf28=_0x65a0,_0x4c7179=_0x236510[_0xc882d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4c7179||0x0==_0x4c7179[_0xc882d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x357fee}=new URL(window[_0xc882d([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x56cf28(0xd7)]);if(_0x4c7179[_0xc882d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x357fee))return!0x0;const _0x5d8a55=_0x357fee[_0xc882d([0x73,0x70,0x6c,0x69,0x74])](_0xc882d([0x2e]));return _0x4c7179[_0xc882d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x263a20=>_0x263a20[_0xc882d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xc882d([0x2a])))[_0xc882d([0x6d,0x61,0x70])](_0x22d398=>_0x22d398[_0xc882d([0x73,0x70,0x6c,0x69,0x74])](_0xc882d([0x2e])))[_0xc882d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x9cee91=>_0x9cee91[_0xc882d([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5d8a55[_0xc882d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xc882d([0x6d,0x61,0x70])](_0x4b9f20=>Array(_0x5d8a55[_0xc882d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4b9f20[_0xc882d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xc882d([0x66,0x69,0x6c,0x6c])](_0x4b9f20[0x0]===_0xc882d([0x2a])?_0xc882d([0x2a]):'')[_0xc882d([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4b9f20))[_0xc882d([0x73,0x6f,0x6d,0x65])](_0x39b8e7=>_0x5d8a55[_0xc882d([0x65,0x76,0x65,0x72,0x79])]((_0x46f90c,_0x23ba8d)=>_0x39b8e7[_0x23ba8d]===_0x46f90c||_0x39b8e7[_0x23ba8d]===_0xc882d([0x2a])));}function _0x276510(){return _0x5d0651&&_0x4d2caa?new window[(_0xc882d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1bcf5c,_0x2af694)=>{_0x5d0651[_0xc882d([0x74,0x68,0x65,0x6e])](_0x1bcf5c,_0x2af694),_0x4d2caa[_0xc882d([0x74,0x68,0x65,0x6e])](_0xf73cb7=>{_0xf73cb7!=_0xc882d([0x56,0x61,0x6c,0x69,0x64])&&_0x1bcf5c(_0xf73cb7);},_0x2af694);}):_0x5d0651||_0x4d2caa||_0xc882d([0x56,0x61,0x6c,0x69,0x64]);}}function _0x15d327(_0x246473,_0x4b392c){return new window[(_0xc882d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2632f4=>{if(_0x34aa0f())return _0x2632f4(_0xc882d([0x56,0x61,0x6c,0x69,0x64]));_0x73206a(),_0x31855c[_0xc882d([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xc882d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x483fec=!0x1;const _0x2d1f07=_0x40b64c();function _0x19c5af(_0xad1cc){return!!_0xad1cc&&(typeof _0xad1cc===_0xc882d([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xad1cc===_0xc882d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xad1cc[_0xc882d([0x74,0x68,0x65,0x6e])]===_0xc882d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xad1cc[_0xc882d([0x63,0x61,0x74,0x63,0x68])]===_0xc882d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x56bee4(_0xbdc16f){_0x10158f(_0xbdc16f)[_0xc882d([0x74,0x68,0x65,0x6e])](_0x2de138=>{if(!_0x2de138||_0x2de138[_0xc882d([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xc882d([0x6f,0x6b]))return _0xc882d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x44e840(_0x563749(_0x2d1f07+_0x4b392c))!=_0x2de138[_0xc882d([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xc882d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xc882d([0x56,0x61,0x6c,0x69,0x64]);})[_0xc882d([0x74,0x68,0x65,0x6e])](_0x3bdcc2=>(_0x5a047c(),_0x3bdcc2),()=>{const _0x4ae6fd=_0x4b9ed7();return null==_0x4ae6fd?(_0x5a047c(),_0xc882d([0x56,0x61,0x6c,0x69,0x64])):_0xc882d(_0x440584-_0x4ae6fd>(0x2c0668c6^_0x26fde5)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xc882d([0x74,0x68,0x65,0x6e])](_0x2632f4)[_0xc882d([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2632f4(_0xc882d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2424d3=0x83c0246^_0x26fde5;function _0x5a047c(){const _0x2f4060=_0xc882d([0x6c,0x6c,0x63,0x74,0x2d])+_0x44e840(_0x563749(_0x246473)),_0x11e441=_0x2d2534(_0x44e840(window[_0xc882d([0x4d,0x61,0x74,0x68])][_0xc882d([0x63,0x65,0x69,0x6c])](_0x440584/_0x2424d3)));window[_0xc882d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xc882d([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2f4060,_0x11e441);}function _0x4b9ed7(){const _0x296e97=_0xc882d([0x6c,0x6c,0x63,0x74,0x2d])+_0x44e840(_0x563749(_0x246473)),_0x1abe20=window[_0xc882d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xc882d([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x296e97);return _0x1abe20?window[_0xc882d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2d2534(_0x1abe20),0x10)*_0x2424d3:null;}function _0x10158f(_0x1c5baa){return new window[(_0xc882d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x7d08dc,_0x58fec7)=>{_0x1c5baa[_0xc882d([0x74,0x68,0x65,0x6e])](_0x7d08dc,_0x58fec7),window[_0xc882d([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x58fec7,0x80b3806^_0x26fde5);});}}_0x31855c[_0xc882d([0x6f,0x6e])](_0xc882d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4a7062,_0x2ca16c)=>{if(_0x2ca16c[0x0]!=_0x246473)return _0x2632f4(_0xc882d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2ca16c[0x1]={..._0x2ca16c[0x1],[_0xc882d([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2d1f07};},{[_0xc882d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xc882d([0x68,0x69,0x67,0x68])}),_0x31855c[_0xc882d([0x6f,0x6e])](_0xc882d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x16257a=>{_0x19c5af(_0x16257a[_0xc882d([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x483fec=!0x0,_0x56bee4(_0x16257a[_0xc882d([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xc882d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xc882d([0x6c,0x6f,0x77])}),_0x274e9f[_0xc882d([0x74,0x68,0x65,0x6e])](()=>{_0x483fec||_0x2632f4(_0xc882d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x34aa0f(){return _0x31855c[_0xc882d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xc882d([0x76,0x69,0x65,0x77])][_0xc882d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xc882d([0x61,0x75,0x74,0x6f]);}function _0x73206a(){_0x31855c[_0xc882d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xc882d([0x76,0x69,0x65,0x77])][_0xc882d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xc882d([0x61,0x75,0x74,0x6f]);}}function _0x3aae80(_0x354358){const _0x244ed6=[new window[(_0xc882d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x26fa81=>setTimeout(_0x26fa81,0x803d20a^_0x26fde5)),_0x274e9f[_0xc882d([0x74,0x68,0x65,0x6e])](()=>new window[(_0xc882d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x13ec47=>{let _0xd0529d=0x0;_0x31855c[_0xc882d([0x6d,0x6f,0x64,0x65,0x6c])][_0xc882d([0x6f,0x6e])](_0xc882d([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x518d6e,_0x50d058)=>{_0x50d058[0x0][_0xc882d([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xd0529d++,_0xd0529d==(0x80aed3e^_0x26fde5)&&(_0x13ec47(),_0x518d6e[_0xc882d([0x6f,0x66,0x66])]());});}))];return window[_0xc882d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xc882d([0x72,0x61,0x63,0x65])](_0x244ed6)[_0xc882d([0x74,0x68,0x65,0x6e])](()=>_0x354358);}async function _0x205076(){await _0x274e9f,_0x31855c[_0xc882d([0x6d,0x6f,0x64,0x65,0x6c])][_0xc882d([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x9a0f48,_0x31855c[_0xc882d([0x6d,0x6f,0x64,0x65,0x6c])][_0xc882d([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x9a0f48,_0x31855c[_0xc882d([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xc882d([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2f61ff(){return window[_0xc882d([0x44,0x72,0x75,0x70,0x61,0x6c])];}function _0x213190(_0x1b1096){const _0x345cfc=_0x1b0c05();_0x31855c[_0x345cfc]=_0xc882d([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1b1096,_0x1b1096!=_0xc882d([0x56,0x61,0x6c,0x69,0x64])&&_0x205076();}function _0x1b0c05(){const _0x3e3e17=window[_0xc882d([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xc882d([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xc882d([0x6e,0x6f,0x77])]())[_0xc882d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xc882d([0x2e]),'');let _0x19a937=_0xc882d([0x5a]);for(let _0xe4567=0x0;_0xe4567<_0x3e3e17[_0xc882d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xe4567+=0x2){let _0x490544=window[_0xc882d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3e3e17[_0xc882d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xe4567,_0xe4567+0x2));_0x490544>=_0x46750e[_0xc882d([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x490544-=_0x46750e[_0xc882d([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x19a937+=_0x46750e[_0x490544];}return _0x19a937;}function _0x588ad0(){const _0x350bfa=_0x46624d[_0xc882d([0x73,0x70,0x6c,0x69,0x74])](_0xc882d([0x2e]));if(0x3!=_0x350bfa[_0xc882d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1fd82a(_0x350bfa[0x1]);function _0x1fd82a(_0x2a38a2){const _0x3f8040=_0xd1f92d(_0x2a38a2);return _0x3f8040&&_0x2b2b24()?_0x3f8040:null;function _0x2b2b24(){const _0x18b62b=_0x3f8040[_0xc882d([0x6a,0x74,0x69])],_0x1218ac=window[_0xc882d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x18b62b[_0xc882d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x18b62b[_0xc882d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xc9a9e3={..._0x3f8040,[_0xc882d([0x6a,0x74,0x69])]:_0x18b62b[_0xc882d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x18b62b[_0xc882d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xc9a9e3[_0xc882d([0x76,0x63])],_0x563749(_0xc9a9e3)==_0x1218ac;}}}async function _0x5ed1b8(){let _0x39823c=!0x0;try{const _0x40ef50=_0x46624d[_0xc882d([0x73,0x70,0x6c,0x69,0x74])](_0xc882d([0x2e])),[_0x3446cf,_0x588485,_0x1f96cc]=_0x40ef50;return _0xfd4926(_0x3446cf),await _0x3fb013(_0x3446cf,_0x588485,_0x1f96cc),_0x39823c;}catch{return!0x1;}function _0xfd4926(_0x540cf9){const _0xce5ed0=_0xd1f92d(_0x540cf9);_0xce5ed0&&_0xce5ed0[_0xc882d([0x61,0x6c,0x67])]==_0xc882d([0x45,0x53,0x32,0x35,0x36])||(_0x39823c=!0x1);}async function _0x3fb013(_0x5782f2,_0xbcded,_0x1491a8){const _0x30f101=window[_0xc882d([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xc882d([0x66,0x72,0x6f,0x6d])](_0x2cfd8e(_0x1491a8),_0x2ad86a=>_0x2ad86a[_0xc882d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5b5c93=new window[(_0xc882d([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xc882d([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5782f2+_0xc882d([0x2e])+_0xbcded),_0x195ab7=window[_0xc882d([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xc882d([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x195ab7)return;const _0x583094=await _0x195ab7[_0xc882d([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xc882d([0x6a,0x77,0x6b]),_0x469447,{[_0xc882d([0x6e,0x61,0x6d,0x65])]:_0xc882d([0x45,0x43,0x44,0x53,0x41]),[_0xc882d([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xc882d([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xc882d([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x195ab7[_0xc882d([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xc882d([0x6e,0x61,0x6d,0x65])]:_0xc882d([0x45,0x43,0x44,0x53,0x41]),[_0xc882d([0x68,0x61,0x73,0x68])]:{[_0xc882d([0x6e,0x61,0x6d,0x65])]:_0xc882d([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x583094,_0x30f101,_0x5b5c93)||(_0x39823c=!0x1);}}function _0xd1f92d(_0x1217d9){return _0x1217d9[_0xc882d([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xc882d([0x65,0x79]))?JSON[_0xc882d([0x70,0x61,0x72,0x73,0x65])](_0x2cfd8e(_0x1217d9)):null;}function _0x2cfd8e(_0x2ae236){return window[_0xc882d([0x61,0x74,0x6f,0x62])](_0x2ae236[_0xc882d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xc882d([0x2b]))[_0xc882d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xc882d([0x2f])));}function _0x563749(_0x32e7ec){let _0x1478fd=0x1505;function _0x17eeea(_0xd2a3a2){for(let _0x564390=0x0;_0x564390<_0xd2a3a2[_0xc882d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x564390++){const _0x3f9b92=_0xd2a3a2[_0xc882d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x564390);_0x1478fd=(_0x1478fd<<0x5)+_0x1478fd+_0x3f9b92,_0x1478fd&=_0x1478fd;}}function _0x47cc8d(_0x491300){Array[_0xc882d([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x491300)?_0x491300[_0xc882d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x47cc8d):_0x491300&&typeof _0x491300==_0xc882d([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xc882d([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x491300)[_0xc882d([0x73,0x6f,0x72,0x74])]()[_0xc882d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x20604e,_0x43bb0c])=>{_0x17eeea(_0x20604e),_0x47cc8d(_0x43bb0c);}):_0x17eeea(window[_0xc882d([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x491300));}return _0x47cc8d(_0x32e7ec),_0x1478fd>>>0x0;}function _0x44e840(_0x111a03){return _0x111a03[_0xc882d([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xc882d([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xc882d([0x30]));}function _0x2d2534(_0x23beec){return _0x23beec[_0xc882d([0x73,0x70,0x6c,0x69,0x74])]('')[_0xc882d([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xc882d([0x6a,0x6f,0x69,0x6e])]('');}function _0x9a0f48(){}function _0xc882d(_0x119400){const _0x4d845b=_0x65a0;return _0x119400[_0x4d845b(0xbf)](_0xce0e01=>String[_0x4d845b(0xc2)](_0xce0e01))[_0x4d845b(0xd0)]('');}_0x213190(await _0x5d4f5c());}(this);}[_0x18f974(0xce)](_0x58220f,_0xb97830){const _0x19166d=_0x18f974,{editor:_0x363ead}=this,_0x1eb5ea=new _0xa0770b(_0x58220f);return _0x1eb5ea[_0x19166d(0xa4)]({'attributes':{'role':_0x19166d(0xd6),'class':[_0x19166d(0xa8)]}}),_0x1eb5ea[_0x19166d(0xe3)][_0x19166d(0xb1)](_0xb97830[_0x19166d(0xbf)]((_0x5f48d8,_0x6ec52e)=>{const _0x48343d=_0x19166d,_0x546d4d=new _0x2191f0(_0x58220f,_0x6ec52e),_0x45584c=new _0xa2b2de(_0x58220f,_0x5f48d8);return _0x546d4d[_0x48343d(0xe2)]=_0x45584c,_0x546d4d[_0x48343d(0xba)][_0x48343d(0xb6)](_0x45584c),_0x546d4d[_0x48343d(0xe2)]['on'](_0x48343d(0xb0),_0x13f463=>{const _0x26c3d8=_0x48343d;_0x363ead[_0x26c3d8(0xb0)](_0x26c3d8(0xcc),_0x13f463[_0x26c3d8(0xc0)][_0x26c3d8(0xb9)][_0x26c3d8(0xb3)]),_0x363ead[_0x26c3d8(0xa3)][_0x26c3d8(0xc6)][_0x26c3d8(0xd4)]();}),_0x546d4d;})),_0x1eb5ea;}}function _0x49c4(){const _0x453f8e=['_createTemplateListView','config','join','94676hPyyNx','750843uuOpMD','isPremiumPlugin','focus','Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.','listbox','href','template.definitions','2437860pbexrj','No\x20templates\x20available.','query','afterInit','search','delegate','init','commands','resultsCount','buttonView','items','ck-template-form','editing','extendTemplate','No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.','change:isOpen','TemplateUI','ck-template-list','panelView','162496RYBlyt','menuBar:insertTemplate','Search\x20template','3830040SXyJsD','announce','bind','execute','addMany','isOfficialPlugin','data','set','2122NFjmXS','add','title','ck-template-button','templateDefinition','children','597KGixBC','ariaLiveAnnouncer','icon','Template','map','source','Insert\x20template','fromCharCode','get','isEnabled','70tPRuTM','view','%0\x20templates\x20found','length','8120014zGGFZR','reset','componentFactory','insertTemplate','pluginName'];_0x49c4=function(){return _0x453f8e;};return _0x49c4();}