@ckeditor/ckeditor5-template 46.0.0-alpha.5 → 46.0.0-alpha.6

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:()=>c});var r=n(168),i=n.n(r),s=n(433),o=n.n(s)()(i());o.push([t.id,':root{--ck-template-dropdown-view-width:345px;--ck-template-dropdown-view-height:300px;--ck-template-icon-size:45px}.ck-button.ck-template-button .ck.ck-icon,.ck-button.ck-template-button .ck.ck-icon *{color:unset}.ck-button.ck-template-button .ck.ck-icon :not([fill]){fill:unset}.ck.ck-template-form{width:var(--ck-template-dropdown-view-width)}@media screen and (max-width:600px){.ck.ck-template-form{--ck-template-dropdown-view-width:260px}}.ck.ck-template-form>.ck-labeled-field-view{padding:var(--ck-spacing-large)}.ck.ck-template-form>.ck-search__results{border-top:1px solid var(--ck-color-base-border)}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list{max-height:var(--ck-template-dropdown-view-height);overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;padding:var(--ck-spacing-large)}.ck-rounded-corners .ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list{border-radius:0}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item:not(.ck-hidden)~.ck.ck-list__item{margin-top:var(--ck-spacing-large)}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button{align-items:center;border-radius:var(--ck-border-radius);display:grid;gap:var(--ck-spacing-large) var(--ck-spacing-large);grid-auto-columns:1fr;grid-auto-flow:column dense;grid-template-areas:"ck-template-icon ck-template-content";grid-template-columns:var(--ck-template-icon-size) 1fr;grid-template-rows:var(--ck-template-icon-size);margin:0;overflow:hidden;padding:0;width:100%}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button:not(:focus){border-color:var(--ck-color-dropdown-panel-background)}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button>.ck.ck-icon{grid-area:ck-template-icon;height:auto;margin:0;width:var(--ck-template-icon-size)}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button>.ck-template-form__text-part{display:flex;flex-direction:column;grid-area:ck-template-content;height:100%;justify-content:space-evenly;margin:0;min-width:0}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button>.ck-template-form__text-part>.ck.ck-button__label{color:var(--ck-color-text);display:block;font-size:var(--ck-font-size-base);font-weight:700;line-height:1.1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button>.ck-template-form__text-part .ck-template-form__description{color:var(--ck-color-text);display:-webkit-box;font-size:.85em;line-height:1.1;margin-top:var(--ck-spacing-tiny);overflow:hidden;text-overflow:ellipsis;white-space:normal;-webkit-box-orient:vertical;-webkit-line-clamp:2}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button>.ck-template-form__text-part mark{background:var(--ck-color-highlight-background);font-size:inherit;font-weight:inherit;line-height:inherit;vertical-align:initial}',""]);const c=o},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 o={};if(r)for(var c=0;c<this.length;c++){var a=this[c][0];null!=a&&(o[a]=!0)}for(var l=0;l<t.length;l++){var u=[].concat(t[l]);r&&o[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 o=void 0!==i.layer;o&&(s+="@layer".concat(i.layer.length>0?" ".concat(i.layer):""," {")),s+=i.css,o&&(s+="}"),i.media&&(s+="}"),i.supports&&(s+="}")}if(t.styleSheet)t.styleSheet.cssText=n(e,s);else{var c=document.createTextNode(s),a=t.childNodes;a[e]&&t.removeChild(a[e]),a.length?t.insertBefore(c,a[e]):t.appendChild(c)}}var i={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=i.singletonCounter++,n=i.singleton||(i.singleton=t.insertStyleElement(t));return{update:function(t){r(n,e,!1,t)},remove:function(t){r(n,e,!0,t)}}}},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={},o=[],c=0;c<t.length;c++){var a=t[c],l=r.base?a[0]+r.base:a[0],u=s[l]||0,p="".concat(l," ").concat(u);s[l]=u+1;var f=n(p),d={css:a[1],media:a[2],sourceMap:a[3],supports:a[4],layer:a[5]};if(-1!==f)e[f].references++,e[f].updater(d);else{var m=i(d,r);r.byIndex=c,e.splice(c,0,{identifier:p,updater:m,references:1})}o.push(p)}return o}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 o=0;o<s.length;o++){var c=n(s[o]);e[c].references--}for(var a=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=a}}},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:()=>H,TemplateCommand:()=>o,TemplateEditing:()=>u,TemplateUI:()=>D});var t=n(782);function e(t,n){const r=s();return(e=function(t,e){return r[t-=381]})(t,n)}const i=e;function s(){const t=["6456OToGmz","execute","59341QFFvcW","25ozzGKt","2tyZcha","insertContent","20lAhobr","1648368UIJvJs","18898dSEJYx","data","298470XjLoVL","change","htmlProcessor","463764BtrnGx","3792VwFVxf","648820liJiWB","toView","1463qYcPWp","toModel","function","string","editor"];return(s=function(){return t})()}!function(t){const n=e,r=t();for(;;)try{if(189688===parseInt(n(402))/1*(-parseInt(n(382))/2)+parseInt(n(391))/3+-parseInt(n(393))/4+-parseInt(n(381))/5*(-parseInt(n(388))/6)+-parseInt(n(395))/7*(parseInt(n(400))/8)+parseInt(n(385))/9*(-parseInt(n(384))/10)+-parseInt(n(386))/11*(-parseInt(n(392))/12))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(s);class o extends t.Command{[i(401)](t){const e=i,{model:n}=this[e(399)];let r;switch(typeof t){case e(398):r=t;break;case e(397):r=t()}e(398)==typeof r&&n[e(389)](()=>{const t=e,i=this[t(399)][t(387)][t(390)][t(394)](r),s=this[t(399)][t(387)][t(396)](i);n[t(383)](s)})}}const c=l;function a(){const t=["templateLicenseKeyEvaluationLimit","insertTemplate","templateLicenseKeyValid","usageLimit","get","isOfficialPlugin","templateLicenseKeyInvalid","templateLicenseKeyTrialLimit","init","templateLicenseKeyUsageLimit","templateLicenseKeyDomainLimit","templateLicenseKeyExpired","editor","trialLimit","invalid","expired","domainLimit","commands","templateLicenseKeyNotAllowed","3954955nviJYI","2953062wZkXBY","3602032hoqKVN","TemplateEditing","config","destroy","licenseKey","Template","8BwLFHu","2XXyEYq","2419437cZGtQW","featureNotAllowed","1254328sVCcCn","evaluationLimit","_licenseKeyCheckInterval","38564TLSAVH","isPremiumPlugin","_showLicenseError","21536820RJSetf","add","pluginName"];return(a=function(){return t})()}function l(t,e){const n=a();return(l=function(t,e){return n[t-=356]})(t,e)}!function(t){const e=l,n=t();for(;;)try{if(420965===-parseInt(e(370))/1+parseInt(e(364))/2*(-parseInt(e(365))/3)+-parseInt(e(367))/4+-parseInt(e(395))/5+parseInt(e(356))/6+-parseInt(e(357))/7+parseInt(e(363))/8*(parseInt(e(373))/9))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(a);class u extends t.Plugin{[c(361)];[c(369)];static get[c(375)](){return c(358)}static get[c(381)](){return!0}static get[c(371)](){return!0}[c(384)](){const t=c,{editor:e}=this;e[t(393)][t(374)](t(377),new o(e)),this[t(361)]=this[t(388)][t(359)][t(380)](t(361));const n=this[t(388)];this[t(369)]=setInterval(()=>{const e=t;let r;for(const t in n){const i=t,s=n[i];if(e(378)==s||e(382)==s||e(387)==s||e(386)==s||e(394)==s||e(376)==s||e(383)==s||e(385)==s){delete n[i],r=s,clearInterval(this[e(369)]),this[e(369)]=void 0;break}}e(382)==r&&n[e(372)](e(390)),e(387)==r&&n[e(372)](e(391)),e(386)==r&&n[e(372)](e(392)),e(394)==r&&n[e(372)](e(366),e(362)),e(376)==r&&n[e(372)](e(368)),e(383)==r&&n[e(372)](e(389)),e(385)==r&&n[e(372)](e(379))},1e3)}[c(360)](){const t=c;super[t(360)](),this[t(369)]&&clearInterval(this[t(369)])}}var p=n(355),f=n(311),d=n(584);function m(){const t=["map","buttonView","1897371lVbYFh","1021980uXeRwX","_resetFiltering","167081gMgDzj","forEach","clear","originalIndex","2974hHZHzN","704845TottlR","97348jhCYeU","3647984pJLclI","372tTqOzl","items","title","sort","size","highlightText","set","isVisible","addMany","filter","length","get","isMatching"];return(m=function(){return t})()}const h=w;!function(t){const e=w,n=t();for(;;)try{if(220222===parseInt(e(351))/1+-parseInt(e(355))/2*(-parseInt(e(359))/3)+parseInt(e(357))/4+-parseInt(e(356))/5+parseInt(e(349))/6+parseInt(e(348))/7+-parseInt(e(358))/8)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(m);class k extends f.ListView{[h(368)](t){const e=h;if(!t)return this[e(350)]();const n=new Map,r=this[e(360)][e(372)](r=>{const i=e,s=r[i(373)][i(371)](t);return r[i(366)]=!!s,r[i(373)][i(364)](s?t:null),s&&n[i(365)](r,s),r})[e(362)](g)[e(362)]((i=n,function(t,e){const n=w,r=i[n(370)](t),s=i[n(370)](e);return r&&!s?-1:s&&!r?1:r||s?r[n(361)]&&!s[n(361)]?-1:!r[n(361)]&&s[n(361)]?1:0:0}));var i;return this[e(360)][e(353)](),this[e(360)][e(367)](r),{resultsCount:n[e(363)],totalItemsCount:this[e(360)][e(369)]}}[h(350)](){const t=h,e=this[t(360)][t(372)](t=>t)[t(362)](g);return e[t(352)](e=>{const n=t;e[n(366)]=!0,e[n(373)][n(364)](null)}),this[t(360)][t(353)](),this[t(360)][t(367)](e),{resultsCount:e[t(369)],totalItemsCount:e[t(369)]}}}function w(t,e){const n=m();return(w=function(t,e){return n[t-=348]})(t,e)}function g(t,e){const n=h;return t[n(354)]-e[n(354)]}var v=b;function I(){var t=["8428728lATqIL","93546zFMSEG","45078yMQQbs","1641093GhtVwm","buttonView","6QWiHeL","181375ozYuSL","16wshCvI","184jknNRP","707QkiMWh","originalIndex","4023580vHDgmr","188041xFYwdo"];return(I=function(){return t})()}function b(t,e){var n=I();return(b=function(t,e){return n[t-=102]})(t,e)}!function(t){for(var e=b,n=t();;)try{if(432103===parseInt(e(110))/1*(-parseInt(e(103))/2)+-parseInt(e(114))/3+parseInt(e(105))/4*(-parseInt(e(104))/5)+-parseInt(e(113))/6*(-parseInt(e(107))/7)+parseInt(e(106))/8*(-parseInt(e(112))/9)+parseInt(e(109))/10+parseInt(e(111))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(I);class y extends f.ListItemView{[v(108)];[v(102)];constructor(t,e){var n=v;super(t),this[n(108)]=e,this[n(102)]=null}}const x=T;function _(){const t=["2290358ytqpyW","ck-template-form__text-part","span","option","textPartView","698472UsXmuo","div","4UnLYmt","isMatching","setTemplate","set","templateDefinition","titleView","descriptionView","685722cLKQOy","destroy","render","ck-template-form__description","4BDfAaL","locale","143898bADoOc","text","highlightText","extendTemplate","23046jNKyEm","ck-template-button","add","description","iconView","labelView","match","title","push","4000338xPrrMG","1351535jYRPFK","children","remove","isColorInherited","element","ck-button__label"];return(_=function(){return t})()}function T(t,e){const n=_();return(T=function(t,e){return n[t-=488]})(t,e)}!function(t){const e=T,n=t();for(;;)try{if(177265===parseInt(e(503))/1*(-parseInt(e(516))/2)+parseInt(e(510))/3+-parseInt(e(514))/4*(-parseInt(e(490))/5)+-parseInt(e(520))/6+parseInt(e(496))/7+parseInt(e(501))/8+-parseInt(e(489))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(_);class L extends f.ButtonView{[x(507)];[x(500)];constructor(t,e){const n=x;super(t),this[n(507)]=e,this[n(500)]=null;const{icon:r=p.IconTemplateGeneric}=e;this[n(506)]({withText:!0,class:n(521),role:n(499),icon:r}),this[n(524)][n(493)]=!1}[x(512)](){const t=x;super[t(512)](),this[t(500)]=new V(this[t(515)],this[t(507)],this[t(525)][t(494)].id),this[t(491)][t(492)](this[t(525)]),this[t(491)][t(522)](this[t(500)])}[x(511)](){const t=x;super[t(511)](),this[t(525)][t(511)]()}[x(504)](t){const e=x,{title:n,description:r}=this[e(507)],i=!!n[e(526)](t),s=!(!r||!r[e(526)](t));return i||s?{title:i,description:s}:null}[x(518)](t){const e=x;this[e(500)][e(518)](t)}}class V extends f.View{constructor(t,e,n){const r=x;super(t),this[r(527)]=e[r(527)],this[r(523)]=e[r(523)],this[r(508)]=new f.HighlightedTextView,this[r(508)][r(517)]=this[r(527)],this[r(508)][r(519)]({tag:r(498),attributes:{class:[r(495)],id:n}});const i=[this[r(508)]];this[r(523)]&&(this[r(509)]=new f.HighlightedTextView,this[r(509)][r(517)]=this[r(523)],this[r(509)][r(519)]({tag:"p",attributes:{class:[r(513)]}}),i[r(488)](this[r(509)])),this[r(505)]({tag:r(502),attributes:{class:["ck",r(497)]},children:i})}[x(518)](t){const e=x;this[e(508)][e(518)](t),this[e(523)]&&this[e(509)][e(518)](t)}}function M(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 A=n(673),S=n.n(A),E=n(545),N=n.n(E),P=n(262),C=n.n(P),O=n(667),j=n.n(O),K=n(357),B=n.n(K),z=n(175),F={attributes:{"data-cke":!0}};F.setAttributes=j(),F.insert=C().bind(null,"head"),F.domAPI=N(),F.insertStyleElement=B();S()(z.A,F);z.A&&z.A.locals&&z.A.locals;const Y=G;function G(t,e){const n=q();return(G=function(t,e){return n[t-=451]})(t,e)}function q(){const t=["No templates available.","isEnabled","Search template","ck-template-list","buttonView","panelView","delegate","title","bind","%0 templates found","source","focus","resultsCount","commands","12ArbKfS","61083JTEAbi","afterInit","length","extendTemplate","view","data",'No templates were found matching "%0".',"isOfficialPlugin","set","ck-template-form","templateDefinition","search","712tqYSZd","children","Insert template","8870nLLloE","componentFactory","get","init","join","template.definitions","execute","href","announce","ck-template-button","498jAUKQm","listbox","isPremiumPlugin","5922448pTBEhp","Template","_createTemplateListView","change:isOpen","pluginName","insertTemplate","config","1249478orLWrE","add","query","menuBar:insertTemplate","148050FiGYNw","2296680AtAgeo","reset","map","addMany","Please try a different phrase or check the spelling.","items","411342BgMfYG","icon","ariaLiveAnnouncer","editing","fromCharCode","TemplateUI"];return(q=function(){return t})()}!function(t){const e=G,n=t();for(;;)try{if(563584===-parseInt(e(511))/1+parseInt(e(507))/2+-parseInt(e(451))/3*(-parseInt(e(471))/4)+parseInt(e(487))/5*(parseInt(e(497))/6)+-parseInt(e(500))/7+-parseInt(e(484))/8*(-parseInt(e(472))/9)+-parseInt(e(512))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(q);class D extends t.Plugin{static get[Y(504)](){return Y(456)}static get[Y(479)](){return!0}static get[Y(499)](){return!0}[Y(490)](){const t=Y,{editor:e}=this,n=e[t(506)][t(489)](t(492))||[];e.ui[t(488)][t(508)](t(505),r=>{const i=t,s=(0,f.createDropdown)(r),o=this[i(502)](r,n),c=new f.SearchTextView(r,{filteredView:o,queryView:{label:M(r,i(459))},class:i(481),infoView:{text:{notFound:{primary:t=>M(r,i(478),t),secondary:M(r,i(516))},noSearchableItems:{primary:M(r,i(457))}}}}),a=e[i(470)][i(489)](i(505));return c.on(i(483),(t,n)=>{const s=i;n[s(509)]&&n[s(509)][s(474)]&&e.ui[s(453)][s(495)](M(r,s(466),n[s(469)]))}),s[i(465)](i(458)).to(a),s[i(462)][i(485)][i(508)](c),s[i(461)][i(480)]({label:M(r,i(486)),icon:p.IconTemplate,tooltip:!0}),s.on(i(503),(t,e,n)=>{n||c[i(513)]()}),s}),e.ui[t(488)][t(508)](t(510),r=>{const i=t,s=e[i(470)][i(489)](i(505)),o=new f.MenuBarMenuView(r);o[i(461)][i(480)]({label:M(r,i(501)),icon:p.IconTemplate});const c=new f.MenuBarMenuListView(r);if(!n||!n[i(474)]){const t=new f.MenuBarMenuListItemView(r,o),n=new f.MenuBarMenuListItemButtonView(r);n[i(480)]({label:M(r,i(457))}),n[i(463)](i(493)).to(o),n.on(i(493),()=>{const t=i;e[t(454)][t(476)][t(468)]()}),t[i(485)][i(508)](n),c[i(517)][i(508)](t)}for(const t of n){const n=new f.MenuBarMenuListItemView(r,o),s=new f.MenuBarMenuListItemButtonView(r);s[i(480)]({class:i(496),label:t[i(464)],icon:t[i(452)]||p.IconTemplateGeneric}),s[i(463)](i(493)).to(o),s.on(i(493),()=>{const n=i;e[n(493)](n(505),t[n(477)]),e[n(454)][n(476)][n(468)]()}),n[i(485)][i(508)](s),c[i(517)][i(508)](n)}return o[i(462)][i(485)][i(508)](c),o[i(465)](i(458)).to(s,i(458)),o})}[Y(473)](){!async function(t){const e=h([111,104,68,83,57,105,53,84,116,71,67,102,87,112,78,88,70,80,115,82,50,89,85,65,81,118,97,108,79,113,54,49,72,66,52,73,107,117,100,120,103,69,110,75,99,98,74,101,119,86,121,55,48,51,122,77,90,109,114,76,56,106]),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])},o=r[h([99,111,110,102,105,103])][h([103,101,116])](h([108,105,99,101,110,115,101,75,101,121]));function c(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 a(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=G;return t[e(514)](t=>String[e(455)](t))[e(491)]("")}!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 o==h([71,80,76])?h([78,111,116,65,108,108,111,119,101,100]):(t=function(){const t=o[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=a(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])])(c=>{if(s())return c(h([86,97,108,105,100]));o(),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 a=!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){a(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=o();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])](c)[h([99,97,116,99,104])](()=>{c(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 o(){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 a(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 c(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])])&&(a=!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])](()=>{a||c(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 o(){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=o[h([115,112,108,105,116])](h([46])),[i,s,c]=r;return e(i),await n(i,s,c),t}catch{return!1}function e(e){const n=a(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)),o=(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),c=window[h([99,114,121,112,116,111])][h([115,117,98,116,108,101])];if(!c)return;const a=await c[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 c[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])}},a,i,o)||(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:175176e4;return t[h([101,120,112])]<e}()?h([69,120,112,105,114,101,100]):function(){const e=G,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(494)]);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=c(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=c(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)}[Y(502)](t,e){const n=Y,{editor:r}=this,i=new k(t);return i[n(475)]({attributes:{role:n(498),class:[n(460)]}}),i[n(517)][n(515)](e[n(514)]((e,i)=>{const s=n,o=new y(t,i),c=new L(t,e);return o[s(461)]=c,o[s(485)][s(508)](c),o[s(461)].on(s(493),t=>{const e=s;r[e(493)](e(505),t[e(467)][e(482)][e(477)]),r[e(454)][e(476)][e(468)]()}),o})),i}}function J(){var t=["11qhOjhV","3581286gOrRAz","10ZGSxJC","Template","60GDENES","1208696KQgiUY","77OLQGsE","requires","154730owOJFc","isPremiumPlugin","2560752orpYDJ","23788677MEchyu","isOfficialPlugin","pluginName","4741095LntxDh","147536FyCnIq"];return(J=function(){return t})()}function R(t,e){var n=J();return(R=function(t,e){return n[t-=235]})(t,e)}var U=R;!function(t){for(var e=R,n=t();;)try{if(954383===-parseInt(e(245))/1*(parseInt(e(237))/2)+-parseInt(e(243))/3+parseInt(e(244))/4*(parseInt(e(249))/5)+-parseInt(e(246))/6+-parseInt(e(235))/7*(-parseInt(e(250))/8)+parseInt(e(239))/9*(-parseInt(e(247))/10)+parseInt(e(240))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(J);class H extends t.Plugin{static get[U(236)](){return[u,D]}static get[U(242)](){return U(248)}static get[U(241)](){return!0}static get[U(238)](){return!0}}function Q(t,e){var n=X();return(Q=function(t,e){return n[t-=356]})(t,e)}function X(){var t=["2LPEija","3438580yFdrmq","990936PGQXfP","4071468HYdAYM","18752877UIGdrv","6466788NsFBUo","5yXXWmN","4627266mAoZAd","1449128wRqfZG"];return(X=function(){return t})()}!function(t){for(var e=Q,n=t();;)try{if(775353===parseInt(e(359))/1*(parseInt(e(360))/2)+-parseInt(e(363))/3+parseInt(e(361))/4*(-parseInt(e(357))/5)+-parseInt(e(356))/6+parseInt(e(358))/7+-parseInt(e(362))/8+parseInt(e(364))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(X)})(),(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:()=>c});var r=n(168),i=n.n(r),s=n(433),o=n.n(s)()(i());o.push([t.id,':root{--ck-template-dropdown-view-width:345px;--ck-template-dropdown-view-height:300px;--ck-template-icon-size:45px}.ck-button.ck-template-button .ck.ck-icon,.ck-button.ck-template-button .ck.ck-icon *{color:unset}.ck-button.ck-template-button .ck.ck-icon :not([fill]){fill:unset}.ck.ck-template-form{width:var(--ck-template-dropdown-view-width)}@media screen and (max-width:600px){.ck.ck-template-form{--ck-template-dropdown-view-width:260px}}.ck.ck-template-form>.ck-labeled-field-view{padding:var(--ck-spacing-large)}.ck.ck-template-form>.ck-search__results{border-top:1px solid var(--ck-color-base-border)}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list{max-height:var(--ck-template-dropdown-view-height);overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;padding:var(--ck-spacing-large)}.ck-rounded-corners .ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list{border-radius:0}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item:not(.ck-hidden)~.ck.ck-list__item{margin-top:var(--ck-spacing-large)}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button{align-items:center;border-radius:var(--ck-border-radius);display:grid;gap:var(--ck-spacing-large) var(--ck-spacing-large);grid-auto-columns:1fr;grid-auto-flow:column dense;grid-template-areas:"ck-template-icon ck-template-content";grid-template-columns:var(--ck-template-icon-size) 1fr;grid-template-rows:var(--ck-template-icon-size);margin:0;overflow:hidden;padding:0;width:100%}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button:not(:focus){border-color:var(--ck-color-dropdown-panel-background)}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button>.ck.ck-icon{grid-area:ck-template-icon;height:auto;margin:0;width:var(--ck-template-icon-size)}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button>.ck-template-form__text-part{display:flex;flex-direction:column;grid-area:ck-template-content;height:100%;justify-content:space-evenly;margin:0;min-width:0}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button>.ck-template-form__text-part>.ck.ck-button__label{color:var(--ck-color-text);display:block;font-size:var(--ck-font-size-base);font-weight:700;line-height:1.1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button>.ck-template-form__text-part .ck-template-form__description{color:var(--ck-color-text);display:-webkit-box;font-size:.85em;line-height:1.1;margin-top:var(--ck-spacing-tiny);overflow:hidden;text-overflow:ellipsis;white-space:normal;-webkit-box-orient:vertical;-webkit-line-clamp:2}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button>.ck-template-form__text-part mark{background:var(--ck-color-highlight-background);font-size:inherit;font-weight:inherit;line-height:inherit;vertical-align:initial}',""]);const c=o},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 o={};if(r)for(var c=0;c<this.length;c++){var a=this[c][0];null!=a&&(o[a]=!0)}for(var l=0;l<t.length;l++){var u=[].concat(t[l]);r&&o[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 o=void 0!==i.layer;o&&(s+="@layer".concat(i.layer.length>0?" ".concat(i.layer):""," {")),s+=i.css,o&&(s+="}"),i.media&&(s+="}"),i.supports&&(s+="}")}if(t.styleSheet)t.styleSheet.cssText=n(e,s);else{var c=document.createTextNode(s),a=t.childNodes;a[e]&&t.removeChild(a[e]),a.length?t.insertBefore(c,a[e]):t.appendChild(c)}}var i={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=i.singletonCounter++,n=i.singleton||(i.singleton=t.insertStyleElement(t));return{update:function(t){r(n,e,!1,t)},remove:function(t){r(n,e,!0,t)}}}},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={},o=[],c=0;c<t.length;c++){var a=t[c],l=r.base?a[0]+r.base:a[0],u=s[l]||0,p="".concat(l," ").concat(u);s[l]=u+1;var f=n(p),d={css:a[1],media:a[2],sourceMap:a[3],supports:a[4],layer:a[5]};if(-1!==f)e[f].references++,e[f].updater(d);else{var m=i(d,r);r.byIndex=c,e.splice(c,0,{identifier:p,updater:m,references:1})}o.push(p)}return o}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 o=0;o<s.length;o++){var c=n(s[o]);e[c].references--}for(var a=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=a}}},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:()=>Q,TemplateCommand:()=>o,TemplateEditing:()=>u,TemplateUI:()=>R});var t=n(782);function e(t,n){const r=s();return(e=function(t,e){return r[t-=381]})(t,n)}const i=e;function s(){const t=["6456OToGmz","execute","59341QFFvcW","25ozzGKt","2tyZcha","insertContent","20lAhobr","1648368UIJvJs","18898dSEJYx","data","298470XjLoVL","change","htmlProcessor","463764BtrnGx","3792VwFVxf","648820liJiWB","toView","1463qYcPWp","toModel","function","string","editor"];return(s=function(){return t})()}!function(t){const n=e,r=t();for(;;)try{if(189688===parseInt(n(402))/1*(-parseInt(n(382))/2)+parseInt(n(391))/3+-parseInt(n(393))/4+-parseInt(n(381))/5*(-parseInt(n(388))/6)+-parseInt(n(395))/7*(parseInt(n(400))/8)+parseInt(n(385))/9*(-parseInt(n(384))/10)+-parseInt(n(386))/11*(-parseInt(n(392))/12))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(s);class o extends t.Command{[i(401)](t){const e=i,{model:n}=this[e(399)];let r;switch(typeof t){case e(398):r=t;break;case e(397):r=t()}e(398)==typeof r&&n[e(389)](()=>{const t=e,i=this[t(399)][t(387)][t(390)][t(394)](r),s=this[t(399)][t(387)][t(396)](i);n[t(383)](s)})}}const c=l;function a(){const t=["templateLicenseKeyEvaluationLimit","insertTemplate","templateLicenseKeyValid","usageLimit","get","isOfficialPlugin","templateLicenseKeyInvalid","templateLicenseKeyTrialLimit","init","templateLicenseKeyUsageLimit","templateLicenseKeyDomainLimit","templateLicenseKeyExpired","editor","trialLimit","invalid","expired","domainLimit","commands","templateLicenseKeyNotAllowed","3954955nviJYI","2953062wZkXBY","3602032hoqKVN","TemplateEditing","config","destroy","licenseKey","Template","8BwLFHu","2XXyEYq","2419437cZGtQW","featureNotAllowed","1254328sVCcCn","evaluationLimit","_licenseKeyCheckInterval","38564TLSAVH","isPremiumPlugin","_showLicenseError","21536820RJSetf","add","pluginName"];return(a=function(){return t})()}function l(t,e){const n=a();return(l=function(t,e){return n[t-=356]})(t,e)}!function(t){const e=l,n=t();for(;;)try{if(420965===-parseInt(e(370))/1+parseInt(e(364))/2*(-parseInt(e(365))/3)+-parseInt(e(367))/4+-parseInt(e(395))/5+parseInt(e(356))/6+-parseInt(e(357))/7+parseInt(e(363))/8*(parseInt(e(373))/9))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(a);class u extends t.Plugin{[c(361)];[c(369)];static get[c(375)](){return c(358)}static get[c(381)](){return!0}static get[c(371)](){return!0}[c(384)](){const t=c,{editor:e}=this;e[t(393)][t(374)](t(377),new o(e)),this[t(361)]=this[t(388)][t(359)][t(380)](t(361));const n=this[t(388)];this[t(369)]=setInterval(()=>{const e=t;let r;for(const t in n){const i=t,s=n[i];if(e(378)==s||e(382)==s||e(387)==s||e(386)==s||e(394)==s||e(376)==s||e(383)==s||e(385)==s){delete n[i],r=s,clearInterval(this[e(369)]),this[e(369)]=void 0;break}}e(382)==r&&n[e(372)](e(390)),e(387)==r&&n[e(372)](e(391)),e(386)==r&&n[e(372)](e(392)),e(394)==r&&n[e(372)](e(366),e(362)),e(376)==r&&n[e(372)](e(368)),e(383)==r&&n[e(372)](e(389)),e(385)==r&&n[e(372)](e(379))},1e3)}[c(360)](){const t=c;super[t(360)](),this[t(369)]&&clearInterval(this[t(369)])}}var p=n(355),f=n(311),d=n(584);function m(){const t=["map","buttonView","1897371lVbYFh","1021980uXeRwX","_resetFiltering","167081gMgDzj","forEach","clear","originalIndex","2974hHZHzN","704845TottlR","97348jhCYeU","3647984pJLclI","372tTqOzl","items","title","sort","size","highlightText","set","isVisible","addMany","filter","length","get","isMatching"];return(m=function(){return t})()}const h=w;!function(t){const e=w,n=t();for(;;)try{if(220222===parseInt(e(351))/1+-parseInt(e(355))/2*(-parseInt(e(359))/3)+parseInt(e(357))/4+-parseInt(e(356))/5+parseInt(e(349))/6+parseInt(e(348))/7+-parseInt(e(358))/8)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(m);class k extends f.ListView{[h(368)](t){const e=h;if(!t)return this[e(350)]();const n=new Map,r=this[e(360)][e(372)](r=>{const i=e,s=r[i(373)][i(371)](t);return r[i(366)]=!!s,r[i(373)][i(364)](s?t:null),s&&n[i(365)](r,s),r})[e(362)](g)[e(362)]((i=n,function(t,e){const n=w,r=i[n(370)](t),s=i[n(370)](e);return r&&!s?-1:s&&!r?1:r||s?r[n(361)]&&!s[n(361)]?-1:!r[n(361)]&&s[n(361)]?1:0:0}));var i;return this[e(360)][e(353)](),this[e(360)][e(367)](r),{resultsCount:n[e(363)],totalItemsCount:this[e(360)][e(369)]}}[h(350)](){const t=h,e=this[t(360)][t(372)](t=>t)[t(362)](g);return e[t(352)](e=>{const n=t;e[n(366)]=!0,e[n(373)][n(364)](null)}),this[t(360)][t(353)](),this[t(360)][t(367)](e),{resultsCount:e[t(369)],totalItemsCount:e[t(369)]}}}function w(t,e){const n=m();return(w=function(t,e){return n[t-=348]})(t,e)}function g(t,e){const n=h;return t[n(354)]-e[n(354)]}var v=y;function I(){var t=["8428728lATqIL","93546zFMSEG","45078yMQQbs","1641093GhtVwm","buttonView","6QWiHeL","181375ozYuSL","16wshCvI","184jknNRP","707QkiMWh","originalIndex","4023580vHDgmr","188041xFYwdo"];return(I=function(){return t})()}function y(t,e){var n=I();return(y=function(t,e){return n[t-=102]})(t,e)}!function(t){for(var e=y,n=t();;)try{if(432103===parseInt(e(110))/1*(-parseInt(e(103))/2)+-parseInt(e(114))/3+parseInt(e(105))/4*(-parseInt(e(104))/5)+-parseInt(e(113))/6*(-parseInt(e(107))/7)+parseInt(e(106))/8*(-parseInt(e(112))/9)+parseInt(e(109))/10+parseInt(e(111))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(I);class b extends f.ListItemView{[v(108)];[v(102)];constructor(t,e){var n=v;super(t),this[n(108)]=e,this[n(102)]=null}}const x=T;function _(){const t=["2290358ytqpyW","ck-template-form__text-part","span","option","textPartView","698472UsXmuo","div","4UnLYmt","isMatching","setTemplate","set","templateDefinition","titleView","descriptionView","685722cLKQOy","destroy","render","ck-template-form__description","4BDfAaL","locale","143898bADoOc","text","highlightText","extendTemplate","23046jNKyEm","ck-template-button","add","description","iconView","labelView","match","title","push","4000338xPrrMG","1351535jYRPFK","children","remove","isColorInherited","element","ck-button__label"];return(_=function(){return t})()}function T(t,e){const n=_();return(T=function(t,e){return n[t-=488]})(t,e)}!function(t){const e=T,n=t();for(;;)try{if(177265===parseInt(e(503))/1*(-parseInt(e(516))/2)+parseInt(e(510))/3+-parseInt(e(514))/4*(-parseInt(e(490))/5)+-parseInt(e(520))/6+parseInt(e(496))/7+parseInt(e(501))/8+-parseInt(e(489))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(_);class L extends f.ButtonView{[x(507)];[x(500)];constructor(t,e){const n=x;super(t),this[n(507)]=e,this[n(500)]=null;const{icon:r=p.IconTemplateGeneric}=e;this[n(506)]({withText:!0,class:n(521),role:n(499),icon:r}),this[n(524)][n(493)]=!1}[x(512)](){const t=x;super[t(512)](),this[t(500)]=new V(this[t(515)],this[t(507)],this[t(525)][t(494)].id),this[t(491)][t(492)](this[t(525)]),this[t(491)][t(522)](this[t(500)])}[x(511)](){const t=x;super[t(511)](),this[t(525)][t(511)]()}[x(504)](t){const e=x,{title:n,description:r}=this[e(507)],i=!!n[e(526)](t),s=!(!r||!r[e(526)](t));return i||s?{title:i,description:s}:null}[x(518)](t){const e=x;this[e(500)][e(518)](t)}}class V extends f.View{constructor(t,e,n){const r=x;super(t),this[r(527)]=e[r(527)],this[r(523)]=e[r(523)],this[r(508)]=new f.HighlightedTextView,this[r(508)][r(517)]=this[r(527)],this[r(508)][r(519)]({tag:r(498),attributes:{class:[r(495)],id:n}});const i=[this[r(508)]];this[r(523)]&&(this[r(509)]=new f.HighlightedTextView,this[r(509)][r(517)]=this[r(523)],this[r(509)][r(519)]({tag:"p",attributes:{class:[r(513)]}}),i[r(488)](this[r(509)])),this[r(505)]({tag:r(502),attributes:{class:["ck",r(497)]},children:i})}[x(518)](t){const e=x;this[e(508)][e(518)](t),this[e(523)]&&this[e(509)][e(518)](t)}}function M(t,e,...n){const r=t.t;switch(e){case'No templates were found matching "%0".':return r('No templates were found matching "%0".',...n);case"Please try a different phrase or check the spelling.":return r("Please try a different phrase or check the spelling.");case"No templates available.":return r("No templates available.");case"%0 templates found":return r("%0 templates found",...n);case"Search template":return r("Search template");case"Template":return r("Template");case"Insert template":return r("Insert template");default:return e}}var P=n(673),S=n.n(P),C=n(545),A=n.n(C),E=n(262),N=n.n(E),O=n(667),j=n.n(O),K=n(357),F=n.n(K),z=n(175),B={attributes:{"data-cke":!0}};B.setAttributes=j(),B.insert=N().bind(null,"head"),B.domAPI=A(),B.insertStyleElement=F();S()(z.A,B);z.A&&z.A.locals&&z.A.locals;function D(){const t=["No templates available.","ck-template-list","set","get","items","search","template.definitions","href","ck-template-form","Insert template","source","announce","Search template","insertTemplate","view","change:isOpen","title","menuBar:insertTemplate","1QiQohj","1163800KLJoCF","add","focus","12968bEDIKS","componentFactory","isPremiumPlugin","afterInit","pluginName","icon","commands","execute","buttonView","addMany","ck-template-button","10kpoODY","query","resultsCount","49420FFWWnz","5792058HJJvyR","isEnabled","5280594VDzABl","fromCharCode","editing","map","extendTemplate","_createTemplateListView","isOfficialPlugin",'No templates were found matching "%0".',"1232VsRZUF","listbox","1725RnPcBC","721128wdYQgH","ariaLiveAnnouncer","data","TemplateUI","bind","delegate","init","children","%0 templates found","length","reset","Please try a different phrase or check the spelling.","config","templateDefinition","panelView","14998779lvIoeP","join","Template"];return(D=function(){return t})()}const Y=G;function G(t,e){const n=D();return(G=function(t,e){return n[t-=316]})(t,e)}!function(t){const e=G,n=t();for(;;)try{if(999809===-parseInt(e(376))/1*(parseInt(e(377))/2)+-parseInt(e(327))/3+-parseInt(e(380))/4*(-parseInt(e(339))/5)+parseInt(e(340))/6+-parseInt(e(326))/7*(-parseInt(e(337))/8)+parseInt(e(355))/9*(parseInt(e(323))/10)+-parseInt(e(329))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(D);class R extends t.Plugin{static get[Y(316)](){return Y(343)}static get[Y(335)](){return!0}static get[Y(382)](){return!0}[Y(346)](){const t=Y,{editor:e}=this,n=e[t(352)][t(361)](t(364))||[];e.ui[t(381)][t(378)](t(371),r=>{const i=t,s=(0,f.createDropdown)(r),o=this[i(334)](r,n),c=new f.SearchTextView(r,{filteredView:o,queryView:{label:M(r,i(370))},class:i(366),infoView:{text:{notFound:{primary:t=>M(r,i(336),t),secondary:M(r,i(351))},noSearchableItems:{primary:M(r,i(358))}}}}),a=e[i(318)][i(361)](i(371));return c.on(i(363),(t,n)=>{const s=i;n[s(324)]&&n[s(324)][s(349)]&&e.ui[s(341)][s(369)](M(r,s(348),n[s(325)]))}),s[i(344)](i(328)).to(a),s[i(354)][i(347)][i(378)](c),s[i(320)][i(360)]({label:M(r,i(367)),icon:p.IconTemplate,tooltip:!0}),s.on(i(373),(t,e,n)=>{n||c[i(350)]()}),s}),e.ui[t(381)][t(378)](t(375),r=>{const i=t,s=e[i(318)][i(361)](i(371)),o=new f.MenuBarMenuView(r);o[i(320)][i(360)]({label:M(r,i(357)),icon:p.IconTemplate});const c=new f.MenuBarMenuListView(r);if(!n||!n[i(349)]){const t=new f.MenuBarMenuListItemView(r,o),n=new f.MenuBarMenuListItemButtonView(r);n[i(360)]({label:M(r,i(358))}),n[i(345)](i(319)).to(o),n.on(i(319),()=>{const t=i;e[t(331)][t(372)][t(379)]()}),t[i(347)][i(378)](n),c[i(362)][i(378)](t)}for(const t of n){const n=new f.MenuBarMenuListItemView(r,o),s=new f.MenuBarMenuListItemButtonView(r);s[i(360)]({class:i(322),label:t[i(374)],icon:t[i(317)]||p.IconTemplateGeneric}),s[i(345)](i(319)).to(o),s.on(i(319),()=>{const n=i;e[n(319)](n(371),t[n(342)]),e[n(331)][n(372)][n(379)]()}),n[i(347)][i(378)](s),c[i(362)][i(378)](n)}return o[i(354)][i(347)][i(378)](c),o[i(344)](i(328)).to(s,i(328)),o})}[Y(383)](){!async function(t){const e=h([87,65,48,73,99,98,53,80,78,122,102,117,108,109,100,89,68,51,107,74,69,50,88,82,67,79,115,86,111,116,77,97,57,72,110,55,70,106,121,66,49,90,113,104,101,81,119,85,75,103,83,52,112,105,114,84,76,56,120,54,71,118]),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])},o=r[h([99,111,110,102,105,103])][h([103,101,116])](h([108,105,99,101,110,115,101,75,101,121]));function c(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 a(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=G;return t[e(332)](t=>String[e(330)](t))[e(356)]("")}!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([87]);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 o==h([71,80,76])?h([78,111,116,65,108,108,111,119,101,100]):(t=function(){const t=o[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=a(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])])(c=>{if(s())return c(h([86,97,108,105,100]));o(),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 a=!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){a(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=o();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])](c)[h([99,97,116,99,104])](()=>{c(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 o(){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 a(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 c(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])])&&(a=!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])](()=>{a||c(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 o(){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=o[h([115,112,108,105,116])](h([46])),[i,s,c]=r;return e(i),await n(i,s,c),t}catch{return!1}function e(e){const n=a(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)),o=(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),c=window[h([99,114,121,112,116,111])][h([115,117,98,116,108,101])];if(!c)return;const a=await c[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 c[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])}},a,i,o)||(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:1751846400;return t[h([101,120,112])]<e}()?h([69,120,112,105,114,101,100]):function(){const e=G,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(365)]);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=c(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=c(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)}[Y(334)](t,e){const n=Y,{editor:r}=this,i=new k(t);return i[n(333)]({attributes:{role:n(338),class:[n(359)]}}),i[n(362)][n(321)](e[n(332)]((e,i)=>{const s=n,o=new b(t,i),c=new L(t,e);return o[s(320)]=c,o[s(347)][s(378)](c),o[s(320)].on(s(319),t=>{const e=s;r[e(319)](e(371),t[e(368)][e(353)][e(342)]),r[e(331)][e(372)][e(379)]()}),o})),i}}function q(){var t=["11qhOjhV","3581286gOrRAz","10ZGSxJC","Template","60GDENES","1208696KQgiUY","77OLQGsE","requires","154730owOJFc","isPremiumPlugin","2560752orpYDJ","23788677MEchyu","isOfficialPlugin","pluginName","4741095LntxDh","147536FyCnIq"];return(q=function(){return t})()}function J(t,e){var n=q();return(J=function(t,e){return n[t-=235]})(t,e)}var H=J;!function(t){for(var e=J,n=t();;)try{if(954383===-parseInt(e(245))/1*(parseInt(e(237))/2)+-parseInt(e(243))/3+parseInt(e(244))/4*(parseInt(e(249))/5)+-parseInt(e(246))/6+-parseInt(e(235))/7*(-parseInt(e(250))/8)+parseInt(e(239))/9*(-parseInt(e(247))/10)+parseInt(e(240))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(q);class Q extends t.Plugin{static get[H(236)](){return[u,R]}static get[H(242)](){return H(248)}static get[H(241)](){return!0}static get[H(238)](){return!0}}function U(t,e){var n=W();return(U=function(t,e){return n[t-=356]})(t,e)}function W(){var t=["2LPEija","3438580yFdrmq","990936PGQXfP","4071468HYdAYM","18752877UIGdrv","6466788NsFBUo","5yXXWmN","4627266mAoZAd","1449128wRqfZG"];return(W=function(){return t})()}!function(t){for(var e=U,n=t();;)try{if(775353===parseInt(e(359))/1*(parseInt(e(360))/2)+-parseInt(e(363))/3+parseInt(e(361))/4*(-parseInt(e(357))/5)+-parseInt(e(356))/6+parseInt(e(358))/7+-parseInt(e(362))/8+parseInt(e(364))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(W)})(),(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 _0x4cfb67,Plugin as _0x2810d0}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconTemplateGeneric as _0x1c1e55,IconTemplate as _0x23a13b}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ListView as _0x5db5a3,ListItemView as _0x4aad36,ButtonView as _0x12e6fc,View as _0x3eb153,HighlightedTextView as _0x3eeed7,createDropdown as _0x5996c0,SearchTextView as _0x19713f,MenuBarMenuView as _0x1af1ad,MenuBarMenuListView as _0x18948f,MenuBarMenuListItemView as _0x3a2b4d,MenuBarMenuListItemButtonView as _0x2be4fc}from'@ckeditor/ckeditor5-ui/dist/index.js';import{uid as _0x158ff4}from'@ckeditor/ckeditor5-utils/dist/index.js';class a extends _0x4cfb67{['execute'](_0x3508fa){const {model:_0x3f8aa0}=this['editor'];let _0x2e10a1;switch(typeof _0x3508fa){case'string':_0x2e10a1=_0x3508fa;break;case'function':_0x2e10a1=_0x3508fa();}'string'==typeof _0x2e10a1&&_0x3f8aa0['change'](()=>{const _0x34b93a=this['editor']['data']['htmlProcessor']['toView'](_0x2e10a1),_0x41f64c=this['editor']['data']['toModel'](_0x34b93a);_0x3f8aa0['insertContent'](_0x41f64c);});}}class i extends _0x2810d0{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TemplateEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x40e49f}=this;_0x40e49f['commands']['add']('insertTemplate',new a(_0x40e49f)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0xbabeb2=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xbb6aa6;for(const _0x13fc65 in _0xbabeb2){const _0xb844db=_0x13fc65,_0x4bf76a=_0xbabeb2[_0xb844db];if('templateLicenseKeyValid'==_0x4bf76a||'templateLicenseKeyInvalid'==_0x4bf76a||'templateLicenseKeyExpired'==_0x4bf76a||'templateLicenseKeyDomainLimit'==_0x4bf76a||'templateLicenseKeyNotAllowed'==_0x4bf76a||'templateLicenseKeyEvaluationLimit'==_0x4bf76a||'templateLicenseKeyTrialLimit'==_0x4bf76a||'templateLicenseKeyUsageLimit'==_0x4bf76a){delete _0xbabeb2[_0xb844db],_0xbb6aa6=_0x4bf76a,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'templateLicenseKeyInvalid'==_0xbb6aa6&&_0xbabeb2['_showLicenseError']('invalid'),'templateLicenseKeyExpired'==_0xbb6aa6&&_0xbabeb2['_showLicenseError']('expired'),'templateLicenseKeyDomainLimit'==_0xbb6aa6&&_0xbabeb2['_showLicenseError']('domainLimit'),'templateLicenseKeyNotAllowed'==_0xbb6aa6&&_0xbabeb2['_showLicenseError']('featureNotAllowed','Template'),'templateLicenseKeyEvaluationLimit'==_0xbb6aa6&&_0xbabeb2['_showLicenseError']('evaluationLimit'),'templateLicenseKeyTrialLimit'==_0xbb6aa6&&_0xbabeb2['_showLicenseError']('trialLimit'),'templateLicenseKeyUsageLimit'==_0xbb6aa6&&_0xbabeb2['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class y extends _0x5db5a3{['filter'](_0x57531a){if(!_0x57531a)return this['_resetFiltering']();const _0x4e5231=new Map(),_0x37bba9=this['items']['map'](_0x2befb1=>{const _0x1c7c88=_0x2befb1['buttonView']['isMatching'](_0x57531a);return _0x2befb1['isVisible']=!!_0x1c7c88,_0x2befb1['buttonView']['highlightText'](_0x1c7c88?_0x57531a:null),_0x1c7c88&&_0x4e5231['set'](_0x2befb1,_0x1c7c88),_0x2befb1;})['sort'](j)['sort'](function(_0x114561){return function(_0x2b4b3c,_0x45a765){const _0x166d90=_0x114561['get'](_0x2b4b3c),_0x204a43=_0x114561['get'](_0x45a765);return _0x166d90&&!_0x204a43?-0x1:_0x204a43&&!_0x166d90?0x1:_0x166d90||_0x204a43?_0x166d90['title']&&!_0x204a43['title']?-0x1:!_0x166d90['title']&&_0x204a43['title']?0x1:0x0:0x0;};}(_0x4e5231));return this['items']['clear'](),this['items']['addMany'](_0x37bba9),{'resultsCount':_0x4e5231['size'],'totalItemsCount':this['items']['length']};}['_resetFiltering'](){const _0x1ad56e=this['items']['map'](_0x10ebea=>_0x10ebea)['sort'](j);return _0x1ad56e['forEach'](_0x13a64b=>{_0x13a64b['isVisible']=!0x0,_0x13a64b['buttonView']['highlightText'](null);}),this['items']['clear'](),this['items']['addMany'](_0x1ad56e),{'resultsCount':_0x1ad56e['length'],'totalItemsCount':_0x1ad56e['length']};}}function j(_0x12c756,_0x4c2f56){return _0x12c756['originalIndex']-_0x4c2f56['originalIndex'];}class b extends _0x4aad36{['originalIndex'];['buttonView'];constructor(_0x6d8e12,_0x4c12cd){super(_0x6d8e12),this['originalIndex']=_0x4c12cd,this['buttonView']=null;}}class h extends _0x12e6fc{['templateDefinition'];['textPartView'];constructor(_0x34aae9,_0x2f5b94){super(_0x34aae9),this['templateDefinition']=_0x2f5b94,this['textPartView']=null;const {icon:_0x4adb9e=_0x1c1e55}=_0x2f5b94;this['set']({'withText':!0x0,'class':'ck-template-button','role':'option','icon':_0x4adb9e}),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'](_0x2eca66){const {title:_0x19fba9,description:_0x13b3da}=this['templateDefinition'],_0x14d00d=!!_0x19fba9['match'](_0x2eca66),_0x2ef158=!(!_0x13b3da||!_0x13b3da['match'](_0x2eca66));return _0x14d00d||_0x2ef158?{'title':_0x14d00d,'description':_0x2ef158}:null;}['highlightText'](_0x46ae97){this['textPartView']['highlightText'](_0x46ae97);}}class L extends _0x3eb153{constructor(_0x55d998,_0x7b157f,_0x499869){super(_0x55d998),this['title']=_0x7b157f['title'],this['description']=_0x7b157f['description'],this['titleView']=new _0x3eeed7(),this['titleView']['text']=this['title'],this['titleView']['extendTemplate']({'tag':'span','attributes':{'class':['ck-button__label'],'id':_0x499869}});const _0xd7aedb=[this['titleView']];this['description']&&(this['descriptionView']=new _0x3eeed7(),this['descriptionView']['text']=this['description'],this['descriptionView']['extendTemplate']({'tag':'p','attributes':{'class':['ck-template-form__description']}}),_0xd7aedb['push'](this['descriptionView'])),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-template-form__text-part']},'children':_0xd7aedb});}['highlightText'](_0x1a7aa7){this['titleView']['highlightText'](_0x1a7aa7),this['description']&&this['descriptionView']['highlightText'](_0x1a7aa7);}}function g(_0x424025,_0xa3cda8,..._0x1674f6){const t=_0x424025['t'];switch(_0xa3cda8){case'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':return t('No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',..._0x1674f6);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',..._0x1674f6);case'Search\x20template':return t('Search\x20template');case'Template':return t('Template');case'Insert\x20template':return t('Insert\x20template');default:return _0xa3cda8;}}class s extends _0x2810d0{static get['pluginName'](){return'TemplateUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x48c152}=this,_0x5dd7f7=_0x48c152['config']['get']('template.definitions')||[];_0x48c152['ui']['componentFactory']['add']('insertTemplate',_0x513431=>{const _0xdad37c=_0x5996c0(_0x513431),_0x591627=this['_createTemplateListView'](_0x513431,_0x5dd7f7),_0x53fd75=new _0x19713f(_0x513431,{'filteredView':_0x591627,'queryView':{'label':g(_0x513431,'Search\x20template')},'class':'ck-template-form','infoView':{'text':{'notFound':{'primary':_0x1c4773=>g(_0x513431,'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',_0x1c4773),'secondary':g(_0x513431,'Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.')},'noSearchableItems':{'primary':g(_0x513431,'No\x20templates\x20available.')}}}}),_0x2525a3=_0x48c152['commands']['get']('insertTemplate');return _0x53fd75['on']('search',(_0x392c89,_0x55fbd8)=>{_0x55fbd8['query']&&_0x55fbd8['query']['length']&&_0x48c152['ui']['ariaLiveAnnouncer']['announce'](g(_0x513431,'%0\x20templates\x20found',_0x55fbd8['resultsCount']));}),_0xdad37c['bind']('isEnabled')['to'](_0x2525a3),_0xdad37c['panelView']['children']['add'](_0x53fd75),_0xdad37c['buttonView']['set']({'label':g(_0x513431,'Insert\x20template'),'icon':_0x23a13b,'tooltip':!0x0}),_0xdad37c['on']('change:isOpen',(_0x284fb4,_0x4c0cbc,_0x50bcb9)=>{_0x50bcb9||_0x53fd75['reset']();}),_0xdad37c;}),_0x48c152['ui']['componentFactory']['add']('menuBar:insertTemplate',_0x4d1c23=>{const _0x510460=_0x48c152['commands']['get']('insertTemplate'),_0x37acfe=new _0x1af1ad(_0x4d1c23);_0x37acfe['buttonView']['set']({'label':g(_0x4d1c23,'Template'),'icon':_0x23a13b});const _0x34c39d=new _0x18948f(_0x4d1c23);if(!_0x5dd7f7||!_0x5dd7f7['length']){const _0x2be5cf=new _0x3a2b4d(_0x4d1c23,_0x37acfe),_0x579ad6=new _0x2be4fc(_0x4d1c23);_0x579ad6['set']({'label':g(_0x4d1c23,'No\x20templates\x20available.')}),_0x579ad6['delegate']('execute')['to'](_0x37acfe),_0x579ad6['on']('execute',()=>{_0x48c152['editing']['view']['focus']();}),_0x2be5cf['children']['add'](_0x579ad6),_0x34c39d['items']['add'](_0x2be5cf);}for(const _0x280d0c of _0x5dd7f7){const _0x1b29b3=new _0x3a2b4d(_0x4d1c23,_0x37acfe),_0x961993=new _0x2be4fc(_0x4d1c23);_0x961993['set']({'class':'ck-template-button','label':_0x280d0c['title'],'icon':_0x280d0c['icon']||_0x1c1e55}),_0x961993['delegate']('execute')['to'](_0x37acfe),_0x961993['on']('execute',()=>{_0x48c152['execute']('insertTemplate',_0x280d0c['data']),_0x48c152['editing']['view']['focus']();}),_0x1b29b3['children']['add'](_0x961993),_0x34c39d['items']['add'](_0x1b29b3);}return _0x37acfe['panelView']['children']['add'](_0x34c39d),_0x37acfe['bind']('isEnabled')['to'](_0x510460,'isEnabled'),_0x37acfe;});}['afterInit'](){!async function(_0x59adf1){const _0x2a0ff9=_0x4a7e6d([0x6f,0x68,0x44,0x53,0x39,0x69,0x35,0x54,0x74,0x47,0x43,0x66,0x57,0x70,0x4e,0x58,0x46,0x50,0x73,0x52,0x32,0x59,0x55,0x41,0x51,0x76,0x61,0x6c,0x4f,0x71,0x36,0x31,0x48,0x42,0x34,0x49,0x6b,0x75,0x64,0x78,0x67,0x45,0x6e,0x4b,0x63,0x62,0x4a,0x65,0x77,0x56,0x79,0x37,0x30,0x33,0x7a,0x4d,0x5a,0x6d,0x72,0x4c,0x38,0x6a]),_0x161034=0x62ad44e4,_0x102dfc=0x62aa282c^_0x161034,_0x977430=window[_0x4a7e6d([0x44,0x61,0x74,0x65])][_0x4a7e6d([0x6e,0x6f,0x77])](),_0x51a65d=_0x59adf1[_0x4a7e6d([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1a13b0=new window[(_0x4a7e6d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x31de91=>{_0x51a65d[_0x4a7e6d([0x6f,0x6e,0x63,0x65])](_0x4a7e6d([0x72,0x65,0x61,0x64,0x79]),_0x31de91);}),_0x3442b9={[_0x4a7e6d([0x6b,0x74,0x79])]:_0x4a7e6d([0x45,0x43]),[_0x4a7e6d([0x75,0x73,0x65])]:_0x4a7e6d([0x73,0x69,0x67]),[_0x4a7e6d([0x63,0x72,0x76])]:_0x4a7e6d([0x50,0x2d,0x32,0x35,0x36]),[_0x4a7e6d([0x78])]:_0x4a7e6d([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]),[_0x4a7e6d([0x79])]:_0x4a7e6d([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]),[_0x4a7e6d([0x61,0x6c,0x67])]:_0x4a7e6d([0x45,0x53,0x32,0x35,0x36])},_0x2725b3=_0x51a65d[_0x4a7e6d([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4a7e6d([0x67,0x65,0x74])](_0x4a7e6d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x309673(){let _0x272451,_0x445e53=null,_0xbab18c=null;try{if(_0x2725b3==_0x4a7e6d([0x47,0x50,0x4c]))return _0x4a7e6d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x272451=_0x4a0a31(),!_0x272451)return _0x4a7e6d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x272451[_0x4a7e6d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xbab18c=_0x55838b(_0x272451[_0x4a7e6d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x272451[_0x4a7e6d([0x6a,0x74,0x69])])),await _0x585a0e()?_0x44f19a()?_0x21062b()?_0x4a7e6d([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1d0501()?(_0x272451[_0x4a7e6d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4a7e6d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x445e53=_0x27d096(_0x4a7e6d([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x272451[_0x4a7e6d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4a7e6d([0x74,0x72,0x69,0x61,0x6c])&&(_0x445e53=_0x27d096(_0x4a7e6d([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x234b03()):_0x4a7e6d([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4a7e6d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4a7e6d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4a7e6d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x21062b(){const _0x9c6a43=[_0x4a7e6d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4a7e6d([0x74,0x72,0x69,0x61,0x6c])][_0x4a7e6d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x272451[_0x4a7e6d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x977430/0x3e8:0xe10*_0x102dfc;return _0x272451[_0x4a7e6d([0x65,0x78,0x70])]<_0x9c6a43;}function _0x44f19a(){const _0x59ba3b=_0x272451[_0x4a7e6d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x59ba3b&&(!!_0x59ba3b[_0x4a7e6d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a7e6d([0x2a]))||(!!_0x59ba3b[_0x4a7e6d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a7e6d([0x54,0x50,0x4c]))||(!!_0x59ba3b[_0x4a7e6d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a7e6d([0x50,0x50]))||!(!_0x59ba3b[_0x4a7e6d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a7e6d([0x44,0x52,0x55,0x50]))||!_0x591a3f()))));}function _0x1d0501(){const _0x1656f8=_0x272451[_0x4a7e6d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1656f8||0x0==_0x1656f8[_0x4a7e6d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x27dfbd}=new URL(window[_0x4a7e6d([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1656f8[_0x4a7e6d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x27dfbd))return!0x0;const _0x4aaf0a=_0x27dfbd[_0x4a7e6d([0x73,0x70,0x6c,0x69,0x74])](_0x4a7e6d([0x2e]));return _0x1656f8[_0x4a7e6d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x13fa23=>_0x13fa23[_0x4a7e6d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a7e6d([0x2a])))[_0x4a7e6d([0x6d,0x61,0x70])](_0x401342=>_0x401342[_0x4a7e6d([0x73,0x70,0x6c,0x69,0x74])](_0x4a7e6d([0x2e])))[_0x4a7e6d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5a7834=>_0x5a7834[_0x4a7e6d([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4aaf0a[_0x4a7e6d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4a7e6d([0x6d,0x61,0x70])](_0x2c5d02=>Array(_0x4aaf0a[_0x4a7e6d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2c5d02[_0x4a7e6d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4a7e6d([0x66,0x69,0x6c,0x6c])](_0x2c5d02[0x0]===_0x4a7e6d([0x2a])?_0x4a7e6d([0x2a]):'')[_0x4a7e6d([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2c5d02))[_0x4a7e6d([0x73,0x6f,0x6d,0x65])](_0x253cfd=>_0x4aaf0a[_0x4a7e6d([0x65,0x76,0x65,0x72,0x79])]((_0x58b25c,_0x393526)=>_0x253cfd[_0x393526]===_0x58b25c||_0x253cfd[_0x393526]===_0x4a7e6d([0x2a])));}function _0x234b03(){return _0x445e53&&_0xbab18c?new window[(_0x4a7e6d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3a90a3,_0x5af25a)=>{_0x445e53[_0x4a7e6d([0x74,0x68,0x65,0x6e])](_0x3a90a3,_0x5af25a),_0xbab18c[_0x4a7e6d([0x74,0x68,0x65,0x6e])](_0x2c65db=>{_0x2c65db!=_0x4a7e6d([0x56,0x61,0x6c,0x69,0x64])&&_0x3a90a3(_0x2c65db);},_0x5af25a);}):_0x445e53||_0xbab18c||_0x4a7e6d([0x56,0x61,0x6c,0x69,0x64]);}}function _0x55838b(_0x84da17,_0x37e037){return new window[(_0x4a7e6d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x44f47d=>{if(_0x28e8bd())return _0x44f47d(_0x4a7e6d([0x56,0x61,0x6c,0x69,0x64]));_0x3558a2(),_0x51a65d[_0x4a7e6d([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4a7e6d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2c3dd0=!0x1;const _0x34af61=_0x158ff4();function _0x436529(_0xfd0d02){return!!_0xfd0d02&&(typeof _0xfd0d02===_0x4a7e6d([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xfd0d02===_0x4a7e6d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xfd0d02[_0x4a7e6d([0x74,0x68,0x65,0x6e])]===_0x4a7e6d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xfd0d02[_0x4a7e6d([0x63,0x61,0x74,0x63,0x68])]===_0x4a7e6d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x30da8d(_0x1c7747){_0xc4df4b(_0x1c7747)[_0x4a7e6d([0x74,0x68,0x65,0x6e])](_0x24376f=>{if(!_0x24376f||_0x24376f[_0x4a7e6d([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4a7e6d([0x6f,0x6b]))return _0x4a7e6d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xdd7693(_0x5653e5(_0x34af61+_0x37e037))!=_0x24376f[_0x4a7e6d([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4a7e6d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4a7e6d([0x56,0x61,0x6c,0x69,0x64]);})[_0x4a7e6d([0x74,0x68,0x65,0x6e])](_0x24c6b1=>(_0x422670(),_0x24c6b1),()=>{const _0x388f35=_0xb991c5();return null==_0x388f35?(_0x422670(),_0x4a7e6d([0x56,0x61,0x6c,0x69,0x64])):_0x4a7e6d(_0x977430-_0x388f35>(0x46a1c0e4^_0x161034)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4a7e6d([0x74,0x68,0x65,0x6e])](_0x44f47d)[_0x4a7e6d([0x63,0x61,0x74,0x63,0x68])](()=>{_0x44f47d(_0x4a7e6d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2d4646=0x629baa64^_0x161034;function _0x422670(){const _0x5777dc=_0x4a7e6d([0x6c,0x6c,0x63,0x74,0x2d])+_0xdd7693(_0x5653e5(_0x84da17)),_0x42ebd3=_0x3a39b3(_0xdd7693(window[_0x4a7e6d([0x4d,0x61,0x74,0x68])][_0x4a7e6d([0x63,0x65,0x69,0x6c])](_0x977430/_0x2d4646)));window[_0x4a7e6d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4a7e6d([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5777dc,_0x42ebd3);}function _0xb991c5(){const _0x3c2dc6=_0x4a7e6d([0x6c,0x6c,0x63,0x74,0x2d])+_0xdd7693(_0x5653e5(_0x84da17)),_0x52be60=window[_0x4a7e6d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4a7e6d([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3c2dc6);return _0x52be60?window[_0x4a7e6d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3a39b3(_0x52be60),0x10)*_0x2d4646:null;}function _0xc4df4b(_0x15fe36){return new window[(_0x4a7e6d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5211be,_0x55a26b)=>{_0x15fe36[_0x4a7e6d([0x74,0x68,0x65,0x6e])](_0x5211be,_0x55a26b),window[_0x4a7e6d([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x55a26b,0x62ac9024^_0x161034);});}}_0x51a65d[_0x4a7e6d([0x6f,0x6e])](_0x4a7e6d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x12db24,_0x431f4f)=>{if(_0x431f4f[0x0]!=_0x84da17)return _0x44f47d(_0x4a7e6d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x431f4f[0x1]={..._0x431f4f[0x1],[_0x4a7e6d([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x34af61};},{[_0x4a7e6d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4a7e6d([0x68,0x69,0x67,0x68])}),_0x51a65d[_0x4a7e6d([0x6f,0x6e])](_0x4a7e6d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5c7278=>{_0x436529(_0x5c7278[_0x4a7e6d([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2c3dd0=!0x0,_0x30da8d(_0x5c7278[_0x4a7e6d([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4a7e6d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4a7e6d([0x6c,0x6f,0x77])}),_0x1a13b0[_0x4a7e6d([0x74,0x68,0x65,0x6e])](()=>{_0x2c3dd0||_0x44f47d(_0x4a7e6d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x28e8bd(){return _0x51a65d[_0x4a7e6d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4a7e6d([0x76,0x69,0x65,0x77])][_0x4a7e6d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4a7e6d([0x61,0x75,0x74,0x6f]);}function _0x3558a2(){_0x51a65d[_0x4a7e6d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4a7e6d([0x76,0x69,0x65,0x77])][_0x4a7e6d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4a7e6d([0x61,0x75,0x74,0x6f]);}}function _0x27d096(_0x1f8c96){const _0x185d81=[new window[(_0x4a7e6d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2b9579=>setTimeout(_0x2b9579,0x62a47a28^_0x161034)),_0x1a13b0[_0x4a7e6d([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4a7e6d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4e44c4=>{let _0x4874e5=0x0;_0x51a65d[_0x4a7e6d([0x6d,0x6f,0x64,0x65,0x6c])][_0x4a7e6d([0x6f,0x6e])](_0x4a7e6d([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2cf0bf,_0x5b33d3)=>{_0x5b33d3[0x0][_0x4a7e6d([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4874e5++,_0x4874e5==(0x62ad451c^_0x161034)&&(_0x4e44c4(),_0x2cf0bf[_0x4a7e6d([0x6f,0x66,0x66])]());});}))];return window[_0x4a7e6d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4a7e6d([0x72,0x61,0x63,0x65])](_0x185d81)[_0x4a7e6d([0x74,0x68,0x65,0x6e])](()=>_0x1f8c96);}async function _0x2a16e8(){await _0x1a13b0,_0x51a65d[_0x4a7e6d([0x6d,0x6f,0x64,0x65,0x6c])][_0x4a7e6d([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x478c78,_0x51a65d[_0x4a7e6d([0x6d,0x6f,0x64,0x65,0x6c])][_0x4a7e6d([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x478c78,_0x51a65d[_0x4a7e6d([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4a7e6d([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x591a3f(){return window[_0x4a7e6d([0x44,0x72,0x75,0x70,0x61,0x6c])];}function _0x382d14(_0x3e339b){const _0x1d4e99=_0x5a6197();_0x51a65d[_0x1d4e99]=_0x4a7e6d([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3e339b,_0x3e339b!=_0x4a7e6d([0x56,0x61,0x6c,0x69,0x64])&&_0x2a16e8();}function _0x5a6197(){const _0x4104dc=window[_0x4a7e6d([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4a7e6d([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4a7e6d([0x6e,0x6f,0x77])]())[_0x4a7e6d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4a7e6d([0x2e]),'');let _0x37eb90=_0x4a7e6d([0x6f]);for(let _0x35095f=0x0;_0x35095f<_0x4104dc[_0x4a7e6d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x35095f+=0x2){let _0x1d46c3=window[_0x4a7e6d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4104dc[_0x4a7e6d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x35095f,_0x35095f+0x2));_0x1d46c3>=_0x2a0ff9[_0x4a7e6d([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1d46c3-=_0x2a0ff9[_0x4a7e6d([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x37eb90+=_0x2a0ff9[_0x1d46c3];}return _0x37eb90;}function _0x4a0a31(){const _0x6c88d8=_0x2725b3[_0x4a7e6d([0x73,0x70,0x6c,0x69,0x74])](_0x4a7e6d([0x2e]));if(0x3!=_0x6c88d8[_0x4a7e6d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x31d4df(_0x6c88d8[0x1]);function _0x31d4df(_0x1633fd){const _0x3ba60b=_0x3609d1(_0x1633fd);return _0x3ba60b&&_0x5395ca()?_0x3ba60b:null;function _0x5395ca(){const _0x1c46ab=_0x3ba60b[_0x4a7e6d([0x6a,0x74,0x69])],_0x53feaf=window[_0x4a7e6d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1c46ab[_0x4a7e6d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1c46ab[_0x4a7e6d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3e3544={..._0x3ba60b,[_0x4a7e6d([0x6a,0x74,0x69])]:_0x1c46ab[_0x4a7e6d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1c46ab[_0x4a7e6d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3e3544[_0x4a7e6d([0x76,0x63])],_0x5653e5(_0x3e3544)==_0x53feaf;}}}async function _0x585a0e(){let _0x32a2de=!0x0;try{const _0x5f44f1=_0x2725b3[_0x4a7e6d([0x73,0x70,0x6c,0x69,0x74])](_0x4a7e6d([0x2e])),[_0x382517,_0x4813d4,_0x1608e5]=_0x5f44f1;return _0x489b0d(_0x382517),await _0x31e8ee(_0x382517,_0x4813d4,_0x1608e5),_0x32a2de;}catch{return!0x1;}function _0x489b0d(_0x5871e0){const _0xc34516=_0x3609d1(_0x5871e0);_0xc34516&&_0xc34516[_0x4a7e6d([0x61,0x6c,0x67])]==_0x4a7e6d([0x45,0x53,0x32,0x35,0x36])||(_0x32a2de=!0x1);}async function _0x31e8ee(_0xce3847,_0x555b1b,_0x51c26e){const _0x22f2a1=window[_0x4a7e6d([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4a7e6d([0x66,0x72,0x6f,0x6d])](_0x407048(_0x51c26e),_0x24bab7=>_0x24bab7[_0x4a7e6d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x55db75=new window[(_0x4a7e6d([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4a7e6d([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xce3847+_0x4a7e6d([0x2e])+_0x555b1b),_0x50259e=window[_0x4a7e6d([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4a7e6d([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x50259e)return;const _0x47d617=await _0x50259e[_0x4a7e6d([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4a7e6d([0x6a,0x77,0x6b]),_0x3442b9,{[_0x4a7e6d([0x6e,0x61,0x6d,0x65])]:_0x4a7e6d([0x45,0x43,0x44,0x53,0x41]),[_0x4a7e6d([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4a7e6d([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4a7e6d([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x50259e[_0x4a7e6d([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4a7e6d([0x6e,0x61,0x6d,0x65])]:_0x4a7e6d([0x45,0x43,0x44,0x53,0x41]),[_0x4a7e6d([0x68,0x61,0x73,0x68])]:{[_0x4a7e6d([0x6e,0x61,0x6d,0x65])]:_0x4a7e6d([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x47d617,_0x22f2a1,_0x55db75)||(_0x32a2de=!0x1);}}function _0x3609d1(_0x50c199){return _0x50c199[_0x4a7e6d([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4a7e6d([0x65,0x79]))?JSON[_0x4a7e6d([0x70,0x61,0x72,0x73,0x65])](_0x407048(_0x50c199)):null;}function _0x407048(_0xbb5ca6){return window[_0x4a7e6d([0x61,0x74,0x6f,0x62])](_0xbb5ca6[_0x4a7e6d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4a7e6d([0x2b]))[_0x4a7e6d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4a7e6d([0x2f])));}function _0x5653e5(_0x391195){let _0x5ea288=0x1505;function _0x156de1(_0x46813e){for(let _0x43f8f3=0x0;_0x43f8f3<_0x46813e[_0x4a7e6d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x43f8f3++){const _0x2accff=_0x46813e[_0x4a7e6d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x43f8f3);_0x5ea288=(_0x5ea288<<0x5)+_0x5ea288+_0x2accff,_0x5ea288&=_0x5ea288;}}function _0xae3d18(_0x57facd){Array[_0x4a7e6d([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x57facd)?_0x57facd[_0x4a7e6d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xae3d18):_0x57facd&&typeof _0x57facd==_0x4a7e6d([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4a7e6d([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x57facd)[_0x4a7e6d([0x73,0x6f,0x72,0x74])]()[_0x4a7e6d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x33332b,_0x109c85])=>{_0x156de1(_0x33332b),_0xae3d18(_0x109c85);}):_0x156de1(window[_0x4a7e6d([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x57facd));}return _0xae3d18(_0x391195),_0x5ea288>>>0x0;}function _0xdd7693(_0x22fe28){return _0x22fe28[_0x4a7e6d([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4a7e6d([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4a7e6d([0x30]));}function _0x3a39b3(_0x953069){return _0x953069[_0x4a7e6d([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4a7e6d([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4a7e6d([0x6a,0x6f,0x69,0x6e])]('');}function _0x478c78(){}function _0x4a7e6d(_0x2e4e2e){return _0x2e4e2e['map'](_0x488ee8=>String['fromCharCode'](_0x488ee8))['join']('');}_0x382d14(await _0x309673());}(this);}['_createTemplateListView'](_0x122e33,_0x6e645e){const {editor:_0x159c30}=this,_0x2d81d0=new y(_0x122e33);return _0x2d81d0['extendTemplate']({'attributes':{'role':'listbox','class':['ck-template-list']}}),_0x2d81d0['items']['addMany'](_0x6e645e['map']((_0x10fa6f,_0x1be3d0)=>{const _0x2d3098=new b(_0x122e33,_0x1be3d0),_0x1777ff=new h(_0x122e33,_0x10fa6f);return _0x2d3098['buttonView']=_0x1777ff,_0x2d3098['children']['add'](_0x1777ff),_0x2d3098['buttonView']['on']('execute',_0x46d463=>{_0x159c30['execute']('insertTemplate',_0x46d463['source']['templateDefinition']['data']),_0x159c30['editing']['view']['focus']();}),_0x2d3098;})),_0x2d81d0;}}class K extends _0x2810d0{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 _0x19b6f9,Plugin as _0x7ca472}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconTemplateGeneric as _0x33bd21,IconTemplate as _0x59b1b4}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ListView as _0x1c9dcf,ListItemView as _0x38c76c,ButtonView as _0x35fe5e,View as _0x55be72,HighlightedTextView as _0x37c80f,createDropdown as _0x323132,SearchTextView as _0x298a75,MenuBarMenuView as _0x5b7a23,MenuBarMenuListView as _0x2d5d15,MenuBarMenuListItemView as _0x5441c5,MenuBarMenuListItemButtonView as _0x353790}from'@ckeditor/ckeditor5-ui/dist/index.js';import{uid as _0x1a385d}from'@ckeditor/ckeditor5-utils/dist/index.js';class a extends _0x19b6f9{['execute'](_0x40b518){const {model:_0xff77e3}=this['editor'];let _0x3852a4;switch(typeof _0x40b518){case'string':_0x3852a4=_0x40b518;break;case'function':_0x3852a4=_0x40b518();}'string'==typeof _0x3852a4&&_0xff77e3['change'](()=>{const _0x5f90bb=this['editor']['data']['htmlProcessor']['toView'](_0x3852a4),_0x509493=this['editor']['data']['toModel'](_0x5f90bb);_0xff77e3['insertContent'](_0x509493);});}}class i extends _0x7ca472{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TemplateEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4789c1}=this;_0x4789c1['commands']['add']('insertTemplate',new a(_0x4789c1)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x5808ba=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4e154f;for(const _0x15e3a2 in _0x5808ba){const _0x5088ef=_0x15e3a2,_0x35455d=_0x5808ba[_0x5088ef];if('templateLicenseKeyValid'==_0x35455d||'templateLicenseKeyInvalid'==_0x35455d||'templateLicenseKeyExpired'==_0x35455d||'templateLicenseKeyDomainLimit'==_0x35455d||'templateLicenseKeyNotAllowed'==_0x35455d||'templateLicenseKeyEvaluationLimit'==_0x35455d||'templateLicenseKeyTrialLimit'==_0x35455d||'templateLicenseKeyUsageLimit'==_0x35455d){delete _0x5808ba[_0x5088ef],_0x4e154f=_0x35455d,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'templateLicenseKeyInvalid'==_0x4e154f&&_0x5808ba['_showLicenseError']('invalid'),'templateLicenseKeyExpired'==_0x4e154f&&_0x5808ba['_showLicenseError']('expired'),'templateLicenseKeyDomainLimit'==_0x4e154f&&_0x5808ba['_showLicenseError']('domainLimit'),'templateLicenseKeyNotAllowed'==_0x4e154f&&_0x5808ba['_showLicenseError']('featureNotAllowed','Template'),'templateLicenseKeyEvaluationLimit'==_0x4e154f&&_0x5808ba['_showLicenseError']('evaluationLimit'),'templateLicenseKeyTrialLimit'==_0x4e154f&&_0x5808ba['_showLicenseError']('trialLimit'),'templateLicenseKeyUsageLimit'==_0x4e154f&&_0x5808ba['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class y extends _0x1c9dcf{['filter'](_0x40b574){if(!_0x40b574)return this['_resetFiltering']();const _0x1ec48f=new Map(),_0x25856b=this['items']['map'](_0x28cb55=>{const _0x2a3d0d=_0x28cb55['buttonView']['isMatching'](_0x40b574);return _0x28cb55['isVisible']=!!_0x2a3d0d,_0x28cb55['buttonView']['highlightText'](_0x2a3d0d?_0x40b574:null),_0x2a3d0d&&_0x1ec48f['set'](_0x28cb55,_0x2a3d0d),_0x28cb55;})['sort'](j)['sort'](function(_0x464c67){return function(_0x3ff8b8,_0x1864e8){const _0x3159cb=_0x464c67['get'](_0x3ff8b8),_0x3186e2=_0x464c67['get'](_0x1864e8);return _0x3159cb&&!_0x3186e2?-0x1:_0x3186e2&&!_0x3159cb?0x1:_0x3159cb||_0x3186e2?_0x3159cb['title']&&!_0x3186e2['title']?-0x1:!_0x3159cb['title']&&_0x3186e2['title']?0x1:0x0:0x0;};}(_0x1ec48f));return this['items']['clear'](),this['items']['addMany'](_0x25856b),{'resultsCount':_0x1ec48f['size'],'totalItemsCount':this['items']['length']};}['_resetFiltering'](){const _0x219742=this['items']['map'](_0x3d9f6c=>_0x3d9f6c)['sort'](j);return _0x219742['forEach'](_0x5a39a1=>{_0x5a39a1['isVisible']=!0x0,_0x5a39a1['buttonView']['highlightText'](null);}),this['items']['clear'](),this['items']['addMany'](_0x219742),{'resultsCount':_0x219742['length'],'totalItemsCount':_0x219742['length']};}}function j(_0x181898,_0x36b263){return _0x181898['originalIndex']-_0x36b263['originalIndex'];}class b extends _0x38c76c{['originalIndex'];['buttonView'];constructor(_0x4f0daf,_0xec68f4){super(_0x4f0daf),this['originalIndex']=_0xec68f4,this['buttonView']=null;}}class h extends _0x35fe5e{['templateDefinition'];['textPartView'];constructor(_0x2e5d0f,_0x2ca4e1){super(_0x2e5d0f),this['templateDefinition']=_0x2ca4e1,this['textPartView']=null;const {icon:_0x310e89=_0x33bd21}=_0x2ca4e1;this['set']({'withText':!0x0,'class':'ck-template-button','role':'option','icon':_0x310e89}),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'](_0x17ee5a){const {title:_0x1a6694,description:_0x347b02}=this['templateDefinition'],_0x241a69=!!_0x1a6694['match'](_0x17ee5a),_0x39dc8d=!(!_0x347b02||!_0x347b02['match'](_0x17ee5a));return _0x241a69||_0x39dc8d?{'title':_0x241a69,'description':_0x39dc8d}:null;}['highlightText'](_0x3b0a11){this['textPartView']['highlightText'](_0x3b0a11);}}class L extends _0x55be72{constructor(_0x407f80,_0x5be889,_0x353bf7){super(_0x407f80),this['title']=_0x5be889['title'],this['description']=_0x5be889['description'],this['titleView']=new _0x37c80f(),this['titleView']['text']=this['title'],this['titleView']['extendTemplate']({'tag':'span','attributes':{'class':['ck-button__label'],'id':_0x353bf7}});const _0x361e2a=[this['titleView']];this['description']&&(this['descriptionView']=new _0x37c80f(),this['descriptionView']['text']=this['description'],this['descriptionView']['extendTemplate']({'tag':'p','attributes':{'class':['ck-template-form__description']}}),_0x361e2a['push'](this['descriptionView'])),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-template-form__text-part']},'children':_0x361e2a});}['highlightText'](_0x4224dc){this['titleView']['highlightText'](_0x4224dc),this['description']&&this['descriptionView']['highlightText'](_0x4224dc);}}function g(_0x1a2939,_0x6e2d32,..._0x1e7455){const t=_0x1a2939['t'];switch(_0x6e2d32){case'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':return t('No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',..._0x1e7455);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',..._0x1e7455);case'Search\x20template':return t('Search\x20template');case'Template':return t('Template');case'Insert\x20template':return t('Insert\x20template');default:return _0x6e2d32;}}class s extends _0x7ca472{static get['pluginName'](){return'TemplateUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x29bfab}=this,_0x10a74=_0x29bfab['config']['get']('template.definitions')||[];_0x29bfab['ui']['componentFactory']['add']('insertTemplate',_0x10f1a9=>{const _0x346e7c=_0x323132(_0x10f1a9),_0x49b41c=this['_createTemplateListView'](_0x10f1a9,_0x10a74),_0x58fdd9=new _0x298a75(_0x10f1a9,{'filteredView':_0x49b41c,'queryView':{'label':g(_0x10f1a9,'Search\x20template')},'class':'ck-template-form','infoView':{'text':{'notFound':{'primary':_0x46cbad=>g(_0x10f1a9,'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',_0x46cbad),'secondary':g(_0x10f1a9,'Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.')},'noSearchableItems':{'primary':g(_0x10f1a9,'No\x20templates\x20available.')}}}}),_0x10d371=_0x29bfab['commands']['get']('insertTemplate');return _0x58fdd9['on']('search',(_0x4fef3d,_0x5b9469)=>{_0x5b9469['query']&&_0x5b9469['query']['length']&&_0x29bfab['ui']['ariaLiveAnnouncer']['announce'](g(_0x10f1a9,'%0\x20templates\x20found',_0x5b9469['resultsCount']));}),_0x346e7c['bind']('isEnabled')['to'](_0x10d371),_0x346e7c['panelView']['children']['add'](_0x58fdd9),_0x346e7c['buttonView']['set']({'label':g(_0x10f1a9,'Insert\x20template'),'icon':_0x59b1b4,'tooltip':!0x0}),_0x346e7c['on']('change:isOpen',(_0x40d591,_0x3d970a,_0x568122)=>{_0x568122||_0x58fdd9['reset']();}),_0x346e7c;}),_0x29bfab['ui']['componentFactory']['add']('menuBar:insertTemplate',_0x4f24f8=>{const _0x3ecadf=_0x29bfab['commands']['get']('insertTemplate'),_0x23deaa=new _0x5b7a23(_0x4f24f8);_0x23deaa['buttonView']['set']({'label':g(_0x4f24f8,'Template'),'icon':_0x59b1b4});const _0x55cd09=new _0x2d5d15(_0x4f24f8);if(!_0x10a74||!_0x10a74['length']){const _0x27303a=new _0x5441c5(_0x4f24f8,_0x23deaa),_0x22b61a=new _0x353790(_0x4f24f8);_0x22b61a['set']({'label':g(_0x4f24f8,'No\x20templates\x20available.')}),_0x22b61a['delegate']('execute')['to'](_0x23deaa),_0x22b61a['on']('execute',()=>{_0x29bfab['editing']['view']['focus']();}),_0x27303a['children']['add'](_0x22b61a),_0x55cd09['items']['add'](_0x27303a);}for(const _0x2e689b of _0x10a74){const _0x5e97df=new _0x5441c5(_0x4f24f8,_0x23deaa),_0x113b31=new _0x353790(_0x4f24f8);_0x113b31['set']({'class':'ck-template-button','label':_0x2e689b['title'],'icon':_0x2e689b['icon']||_0x33bd21}),_0x113b31['delegate']('execute')['to'](_0x23deaa),_0x113b31['on']('execute',()=>{_0x29bfab['execute']('insertTemplate',_0x2e689b['data']),_0x29bfab['editing']['view']['focus']();}),_0x5e97df['children']['add'](_0x113b31),_0x55cd09['items']['add'](_0x5e97df);}return _0x23deaa['panelView']['children']['add'](_0x55cd09),_0x23deaa['bind']('isEnabled')['to'](_0x3ecadf,'isEnabled'),_0x23deaa;});}['afterInit'](){!async function(_0x5ab11d){const _0x38320a=_0x209540([0x57,0x41,0x30,0x49,0x63,0x62,0x35,0x50,0x4e,0x7a,0x66,0x75,0x6c,0x6d,0x64,0x59,0x44,0x33,0x6b,0x4a,0x45,0x32,0x58,0x52,0x43,0x4f,0x73,0x56,0x6f,0x74,0x4d,0x61,0x39,0x48,0x6e,0x37,0x46,0x6a,0x79,0x42,0x31,0x5a,0x71,0x68,0x65,0x51,0x77,0x55,0x4b,0x67,0x53,0x34,0x70,0x69,0x72,0x54,0x4c,0x38,0x78,0x36,0x47,0x76]),_0x54f4d5=0x5151ca5a,_0x47d70b=0x5156a6ba^_0x54f4d5,_0x1359e8=window[_0x209540([0x44,0x61,0x74,0x65])][_0x209540([0x6e,0x6f,0x77])](),_0x15cea6=_0x5ab11d[_0x209540([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x413eef=new window[(_0x209540([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4cccd1=>{_0x15cea6[_0x209540([0x6f,0x6e,0x63,0x65])](_0x209540([0x72,0x65,0x61,0x64,0x79]),_0x4cccd1);}),_0x2c66e6={[_0x209540([0x6b,0x74,0x79])]:_0x209540([0x45,0x43]),[_0x209540([0x75,0x73,0x65])]:_0x209540([0x73,0x69,0x67]),[_0x209540([0x63,0x72,0x76])]:_0x209540([0x50,0x2d,0x32,0x35,0x36]),[_0x209540([0x78])]:_0x209540([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]),[_0x209540([0x79])]:_0x209540([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]),[_0x209540([0x61,0x6c,0x67])]:_0x209540([0x45,0x53,0x32,0x35,0x36])},_0x55864f=_0x15cea6[_0x209540([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x209540([0x67,0x65,0x74])](_0x209540([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x269d8f(){let _0x2e4ee4,_0x4f4d0b=null,_0x12c10d=null;try{if(_0x55864f==_0x209540([0x47,0x50,0x4c]))return _0x209540([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2e4ee4=_0x30a585(),!_0x2e4ee4)return _0x209540([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2e4ee4[_0x209540([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x12c10d=_0x12f649(_0x2e4ee4[_0x209540([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2e4ee4[_0x209540([0x6a,0x74,0x69])])),await _0x998708()?_0x8ee44e()?_0x486fcc()?_0x209540([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2ba371()?(_0x2e4ee4[_0x209540([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x209540([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4f4d0b=_0x4ac765(_0x209540([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2e4ee4[_0x209540([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x209540([0x74,0x72,0x69,0x61,0x6c])&&(_0x4f4d0b=_0x4ac765(_0x209540([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x17b9bb()):_0x209540([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x209540([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x209540([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x209540([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x486fcc(){const _0x177f8d=[_0x209540([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x209540([0x74,0x72,0x69,0x61,0x6c])][_0x209540([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2e4ee4[_0x209540([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1359e8/0x3e8:0xe10*_0x47d70b;return _0x2e4ee4[_0x209540([0x65,0x78,0x70])]<_0x177f8d;}function _0x8ee44e(){const _0x30545e=_0x2e4ee4[_0x209540([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x30545e&&(!!_0x30545e[_0x209540([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x209540([0x2a]))||(!!_0x30545e[_0x209540([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x209540([0x54,0x50,0x4c]))||(!!_0x30545e[_0x209540([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x209540([0x50,0x50]))||!(!_0x30545e[_0x209540([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x209540([0x44,0x52,0x55,0x50]))||!_0x48d311()))));}function _0x2ba371(){const _0x34e0c7=_0x2e4ee4[_0x209540([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x34e0c7||0x0==_0x34e0c7[_0x209540([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x58a64a}=new URL(window[_0x209540([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x34e0c7[_0x209540([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x58a64a))return!0x0;const _0x1489e3=_0x58a64a[_0x209540([0x73,0x70,0x6c,0x69,0x74])](_0x209540([0x2e]));return _0x34e0c7[_0x209540([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3f64bc=>_0x3f64bc[_0x209540([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x209540([0x2a])))[_0x209540([0x6d,0x61,0x70])](_0x4caae1=>_0x4caae1[_0x209540([0x73,0x70,0x6c,0x69,0x74])](_0x209540([0x2e])))[_0x209540([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x506e85=>_0x506e85[_0x209540([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1489e3[_0x209540([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x209540([0x6d,0x61,0x70])](_0xecf457=>Array(_0x1489e3[_0x209540([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xecf457[_0x209540([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x209540([0x66,0x69,0x6c,0x6c])](_0xecf457[0x0]===_0x209540([0x2a])?_0x209540([0x2a]):'')[_0x209540([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xecf457))[_0x209540([0x73,0x6f,0x6d,0x65])](_0x40bc32=>_0x1489e3[_0x209540([0x65,0x76,0x65,0x72,0x79])]((_0x43295d,_0x1a0c4b)=>_0x40bc32[_0x1a0c4b]===_0x43295d||_0x40bc32[_0x1a0c4b]===_0x209540([0x2a])));}function _0x17b9bb(){return _0x4f4d0b&&_0x12c10d?new window[(_0x209540([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x340867,_0x373a2f)=>{_0x4f4d0b[_0x209540([0x74,0x68,0x65,0x6e])](_0x340867,_0x373a2f),_0x12c10d[_0x209540([0x74,0x68,0x65,0x6e])](_0x205e65=>{_0x205e65!=_0x209540([0x56,0x61,0x6c,0x69,0x64])&&_0x340867(_0x205e65);},_0x373a2f);}):_0x4f4d0b||_0x12c10d||_0x209540([0x56,0x61,0x6c,0x69,0x64]);}}function _0x12f649(_0x47f1c9,_0xe06cd4){return new window[(_0x209540([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4d1c33=>{if(_0xb80fc())return _0x4d1c33(_0x209540([0x56,0x61,0x6c,0x69,0x64]));_0x350363(),_0x15cea6[_0x209540([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x209540([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x18d49a=!0x1;const _0x1426fe=_0x1a385d();function _0x39af26(_0x349335){return!!_0x349335&&(typeof _0x349335===_0x209540([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x349335===_0x209540([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x349335[_0x209540([0x74,0x68,0x65,0x6e])]===_0x209540([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x349335[_0x209540([0x63,0x61,0x74,0x63,0x68])]===_0x209540([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x199900(_0x634295){_0xdbdf33(_0x634295)[_0x209540([0x74,0x68,0x65,0x6e])](_0x4315d7=>{if(!_0x4315d7||_0x4315d7[_0x209540([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x209540([0x6f,0x6b]))return _0x209540([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3cd61f(_0x15c59d(_0x1426fe+_0xe06cd4))!=_0x4315d7[_0x209540([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x209540([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x209540([0x56,0x61,0x6c,0x69,0x64]);})[_0x209540([0x74,0x68,0x65,0x6e])](_0x3e100e=>(_0x1f344b(),_0x3e100e),()=>{const _0x3c7391=_0x2b0a79();return null==_0x3c7391?(_0x1f344b(),_0x209540([0x56,0x61,0x6c,0x69,0x64])):_0x209540(_0x1359e8-_0x3c7391>(0x755d4e5a^_0x54f4d5)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x209540([0x74,0x68,0x65,0x6e])](_0x4d1c33)[_0x209540([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4d1c33(_0x209540([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x249ab7=0x516724da^_0x54f4d5;function _0x1f344b(){const _0x18995b=_0x209540([0x6c,0x6c,0x63,0x74,0x2d])+_0x3cd61f(_0x15c59d(_0x47f1c9)),_0x19b4fc=_0x46e867(_0x3cd61f(window[_0x209540([0x4d,0x61,0x74,0x68])][_0x209540([0x63,0x65,0x69,0x6c])](_0x1359e8/_0x249ab7)));window[_0x209540([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x209540([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x18995b,_0x19b4fc);}function _0x2b0a79(){const _0x2dfca4=_0x209540([0x6c,0x6c,0x63,0x74,0x2d])+_0x3cd61f(_0x15c59d(_0x47f1c9)),_0x8cb280=window[_0x209540([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x209540([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2dfca4);return _0x8cb280?window[_0x209540([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x46e867(_0x8cb280),0x10)*_0x249ab7:null;}function _0xdbdf33(_0xb0c7d6){return new window[(_0x209540([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4b30fd,_0x52ca35)=>{_0xb0c7d6[_0x209540([0x74,0x68,0x65,0x6e])](_0x4b30fd,_0x52ca35),window[_0x209540([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x52ca35,0x51501e9a^_0x54f4d5);});}}_0x15cea6[_0x209540([0x6f,0x6e])](_0x209540([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x104824,_0x407da3)=>{if(_0x407da3[0x0]!=_0x47f1c9)return _0x4d1c33(_0x209540([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x407da3[0x1]={..._0x407da3[0x1],[_0x209540([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1426fe};},{[_0x209540([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x209540([0x68,0x69,0x67,0x68])}),_0x15cea6[_0x209540([0x6f,0x6e])](_0x209540([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2b5b4f=>{_0x39af26(_0x2b5b4f[_0x209540([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x18d49a=!0x0,_0x199900(_0x2b5b4f[_0x209540([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x209540([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x209540([0x6c,0x6f,0x77])}),_0x413eef[_0x209540([0x74,0x68,0x65,0x6e])](()=>{_0x18d49a||_0x4d1c33(_0x209540([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xb80fc(){return _0x15cea6[_0x209540([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x209540([0x76,0x69,0x65,0x77])][_0x209540([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x209540([0x61,0x75,0x74,0x6f]);}function _0x350363(){_0x15cea6[_0x209540([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x209540([0x76,0x69,0x65,0x77])][_0x209540([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x209540([0x61,0x75,0x74,0x6f]);}}function _0x4ac765(_0x5830a3){const _0x6cb619=[new window[(_0x209540([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x23a113=>setTimeout(_0x23a113,0x5158f496^_0x54f4d5)),_0x413eef[_0x209540([0x74,0x68,0x65,0x6e])](()=>new window[(_0x209540([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x59e2bd=>{let _0x58d27a=0x0;_0x15cea6[_0x209540([0x6d,0x6f,0x64,0x65,0x6c])][_0x209540([0x6f,0x6e])](_0x209540([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x234c6a,_0x852b40)=>{_0x852b40[0x0][_0x209540([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x58d27a++,_0x58d27a==(0x5151cba2^_0x54f4d5)&&(_0x59e2bd(),_0x234c6a[_0x209540([0x6f,0x66,0x66])]());});}))];return window[_0x209540([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x209540([0x72,0x61,0x63,0x65])](_0x6cb619)[_0x209540([0x74,0x68,0x65,0x6e])](()=>_0x5830a3);}async function _0x4765db(){await _0x413eef,_0x15cea6[_0x209540([0x6d,0x6f,0x64,0x65,0x6c])][_0x209540([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x7d4922,_0x15cea6[_0x209540([0x6d,0x6f,0x64,0x65,0x6c])][_0x209540([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x7d4922,_0x15cea6[_0x209540([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x209540([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x48d311(){return window[_0x209540([0x44,0x72,0x75,0x70,0x61,0x6c])];}function _0x17cb49(_0x4e38f1){const _0x326f38=_0x385251();_0x15cea6[_0x326f38]=_0x209540([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4e38f1,_0x4e38f1!=_0x209540([0x56,0x61,0x6c,0x69,0x64])&&_0x4765db();}function _0x385251(){const _0x22a5ff=window[_0x209540([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x209540([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x209540([0x6e,0x6f,0x77])]())[_0x209540([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x209540([0x2e]),'');let _0x32e788=_0x209540([0x57]);for(let _0x30b1e3=0x0;_0x30b1e3<_0x22a5ff[_0x209540([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x30b1e3+=0x2){let _0x4c4113=window[_0x209540([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x22a5ff[_0x209540([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x30b1e3,_0x30b1e3+0x2));_0x4c4113>=_0x38320a[_0x209540([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4c4113-=_0x38320a[_0x209540([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x32e788+=_0x38320a[_0x4c4113];}return _0x32e788;}function _0x30a585(){const _0x284294=_0x55864f[_0x209540([0x73,0x70,0x6c,0x69,0x74])](_0x209540([0x2e]));if(0x3!=_0x284294[_0x209540([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x268803(_0x284294[0x1]);function _0x268803(_0xc6df9b){const _0x5f0aad=_0x3adcec(_0xc6df9b);return _0x5f0aad&&_0x26dee8()?_0x5f0aad:null;function _0x26dee8(){const _0x1f5e31=_0x5f0aad[_0x209540([0x6a,0x74,0x69])],_0x359473=window[_0x209540([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1f5e31[_0x209540([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1f5e31[_0x209540([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5b65fb={..._0x5f0aad,[_0x209540([0x6a,0x74,0x69])]:_0x1f5e31[_0x209540([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1f5e31[_0x209540([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5b65fb[_0x209540([0x76,0x63])],_0x15c59d(_0x5b65fb)==_0x359473;}}}async function _0x998708(){let _0x6a7e81=!0x0;try{const _0x2a502d=_0x55864f[_0x209540([0x73,0x70,0x6c,0x69,0x74])](_0x209540([0x2e])),[_0x3e1b01,_0x9d5ea,_0x3e6dfe]=_0x2a502d;return _0x39ee20(_0x3e1b01),await _0x3e11d1(_0x3e1b01,_0x9d5ea,_0x3e6dfe),_0x6a7e81;}catch{return!0x1;}function _0x39ee20(_0x283cb3){const _0x136f0b=_0x3adcec(_0x283cb3);_0x136f0b&&_0x136f0b[_0x209540([0x61,0x6c,0x67])]==_0x209540([0x45,0x53,0x32,0x35,0x36])||(_0x6a7e81=!0x1);}async function _0x3e11d1(_0xa716e7,_0x4e6707,_0x5a0bb6){const _0x5d8117=window[_0x209540([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x209540([0x66,0x72,0x6f,0x6d])](_0x369c68(_0x5a0bb6),_0x3dbe9f=>_0x3dbe9f[_0x209540([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3b4301=new window[(_0x209540([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x209540([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xa716e7+_0x209540([0x2e])+_0x4e6707),_0x591898=window[_0x209540([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x209540([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x591898)return;const _0x2b8473=await _0x591898[_0x209540([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x209540([0x6a,0x77,0x6b]),_0x2c66e6,{[_0x209540([0x6e,0x61,0x6d,0x65])]:_0x209540([0x45,0x43,0x44,0x53,0x41]),[_0x209540([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x209540([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x209540([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x591898[_0x209540([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x209540([0x6e,0x61,0x6d,0x65])]:_0x209540([0x45,0x43,0x44,0x53,0x41]),[_0x209540([0x68,0x61,0x73,0x68])]:{[_0x209540([0x6e,0x61,0x6d,0x65])]:_0x209540([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2b8473,_0x5d8117,_0x3b4301)||(_0x6a7e81=!0x1);}}function _0x3adcec(_0x3a13c1){return _0x3a13c1[_0x209540([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x209540([0x65,0x79]))?JSON[_0x209540([0x70,0x61,0x72,0x73,0x65])](_0x369c68(_0x3a13c1)):null;}function _0x369c68(_0x1546e6){return window[_0x209540([0x61,0x74,0x6f,0x62])](_0x1546e6[_0x209540([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x209540([0x2b]))[_0x209540([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x209540([0x2f])));}function _0x15c59d(_0x3d9943){let _0x45cc8e=0x1505;function _0x1218c9(_0x356a91){for(let _0x51031d=0x0;_0x51031d<_0x356a91[_0x209540([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x51031d++){const _0x3c145c=_0x356a91[_0x209540([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x51031d);_0x45cc8e=(_0x45cc8e<<0x5)+_0x45cc8e+_0x3c145c,_0x45cc8e&=_0x45cc8e;}}function _0x3d6327(_0x537ada){Array[_0x209540([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x537ada)?_0x537ada[_0x209540([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3d6327):_0x537ada&&typeof _0x537ada==_0x209540([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x209540([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x537ada)[_0x209540([0x73,0x6f,0x72,0x74])]()[_0x209540([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xb2f7f9,_0x33ec8f])=>{_0x1218c9(_0xb2f7f9),_0x3d6327(_0x33ec8f);}):_0x1218c9(window[_0x209540([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x537ada));}return _0x3d6327(_0x3d9943),_0x45cc8e>>>0x0;}function _0x3cd61f(_0x346c11){return _0x346c11[_0x209540([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x209540([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x209540([0x30]));}function _0x46e867(_0x40e463){return _0x40e463[_0x209540([0x73,0x70,0x6c,0x69,0x74])]('')[_0x209540([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x209540([0x6a,0x6f,0x69,0x6e])]('');}function _0x7d4922(){}function _0x209540(_0x5823d5){return _0x5823d5['map'](_0x55d138=>String['fromCharCode'](_0x55d138))['join']('');}_0x17cb49(await _0x269d8f());}(this);}['_createTemplateListView'](_0x2523e6,_0x1bfb3a){const {editor:_0x530c6c}=this,_0x4a7c69=new y(_0x2523e6);return _0x4a7c69['extendTemplate']({'attributes':{'role':'listbox','class':['ck-template-list']}}),_0x4a7c69['items']['addMany'](_0x1bfb3a['map']((_0x388309,_0x17d739)=>{const _0x3e8a19=new b(_0x2523e6,_0x17d739),_0x42152f=new h(_0x2523e6,_0x388309);return _0x3e8a19['buttonView']=_0x42152f,_0x3e8a19['children']['add'](_0x42152f),_0x3e8a19['buttonView']['on']('execute',_0xb21765=>{_0x530c6c['execute']('insertTemplate',_0xb21765['source']['templateDefinition']['data']),_0x530c6c['editing']['view']['focus']();}),_0x3e8a19;})),_0x4a7c69;}}class K extends _0x7ca472{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.0-alpha.5",
3
+ "version": "46.0.0-alpha.6",
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.0-alpha.5",
26
- "@ckeditor/ckeditor5-icons": "46.0.0-alpha.5",
27
- "@ckeditor/ckeditor5-ui": "46.0.0-alpha.5",
28
- "@ckeditor/ckeditor5-utils": "46.0.0-alpha.5",
29
- "ckeditor5": "46.0.0-alpha.5"
25
+ "@ckeditor/ckeditor5-core": "46.0.0-alpha.6",
26
+ "@ckeditor/ckeditor5-icons": "46.0.0-alpha.6",
27
+ "@ckeditor/ckeditor5-ui": "46.0.0-alpha.6",
28
+ "@ckeditor/ckeditor5-utils": "46.0.0-alpha.6",
29
+ "ckeditor5": "46.0.0-alpha.6"
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 _0x4f0cd2=_0x14bb;(function(_0x1b0f5f,_0x35115b){const _0x19f83d=_0x14bb,_0x2fabbf=_0x1b0f5f();while(!![]){try{const _0x37a6cf=-parseInt(_0x19f83d(0x1ff))/0x1+parseInt(_0x19f83d(0x1fb))/0x2+-parseInt(_0x19f83d(0x1c3))/0x3*(-parseInt(_0x19f83d(0x1d7))/0x4)+parseInt(_0x19f83d(0x1e7))/0x5*(parseInt(_0x19f83d(0x1f1))/0x6)+-parseInt(_0x19f83d(0x1f4))/0x7+-parseInt(_0x19f83d(0x1e4))/0x8*(-parseInt(_0x19f83d(0x1d8))/0x9)+-parseInt(_0x19f83d(0x200))/0xa;if(_0x37a6cf===_0x35115b)break;else _0x2fabbf['push'](_0x2fabbf['shift']());}catch(_0x2af841){_0x2fabbf['push'](_0x2fabbf['shift']());}}}(_0x5d81,0x89980));function _0x14bb(_0x4115b1,_0x3d0234){const _0x5d81b9=_0x5d81();return _0x14bb=function(_0x14bb9a,_0x385042){_0x14bb9a=_0x14bb9a-0x1c3;let _0x38fb26=_0x5d81b9[_0x14bb9a];return _0x38fb26;},_0x14bb(_0x4115b1,_0x3d0234);}import{Plugin as _0x4f3ce4}from'ckeditor5/src/core.js';import{IconTemplate as _0x266de5,IconTemplateGeneric as _0x56e8c7}from'ckeditor5/src/icons.js';import{MenuBarMenuListItemButtonView as _0x3a94be,MenuBarMenuListItemView as _0x1b237c,MenuBarMenuListView as _0x5c487f,MenuBarMenuView as _0x28facf,SearchTextView as _0x4ac0cb,createDropdown as _0x2ae907}from'ckeditor5/src/ui.js';import{uid as _0x4d431f}from'ckeditor5/src/utils.js';import{TemplateListView as _0x59311e}from'./ui/templatelistview.js';function _0x5d81(){const _0x27ba50=['No\x20templates\x20available.','isEnabled','Search\x20template','ck-template-list','buttonView','panelView','delegate','title','bind','%0\x20templates\x20found','source','focus','resultsCount','commands','12ArbKfS','61083JTEAbi','afterInit','length','extendTemplate','view','data','No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.','isOfficialPlugin','set','ck-template-form','templateDefinition','search','712tqYSZd','children','Insert\x20template','8870nLLloE','componentFactory','get','init','join','template.definitions','execute','href','announce','ck-template-button','498jAUKQm','listbox','isPremiumPlugin','5922448pTBEhp','Template','_createTemplateListView','change:isOpen','pluginName','insertTemplate','config','1249478orLWrE','add','query','menuBar:insertTemplate','148050FiGYNw','2296680AtAgeo','reset','map','addMany','Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.','items','411342BgMfYG','icon','ariaLiveAnnouncer','editing','fromCharCode','TemplateUI'];_0x5d81=function(){return _0x27ba50;};return _0x5d81();}import{TemplateListItemView as _0x566acb}from'./ui/templatelistitemview.js';import{TemplateListButtonView as _0x15a134}from'./ui/templatelistbuttonview.js';import{getTranslation as _0x1e7702}from'./utils/common-translations.js';import'../theme/template.css';export class TemplateUI extends _0x4f3ce4{static get[_0x4f0cd2(0x1f8)](){const _0x1ad3ed=_0x4f0cd2;return _0x1ad3ed(0x1c8);}static get[_0x4f0cd2(0x1df)](){return!0x0;}static get[_0x4f0cd2(0x1f3)](){return!0x0;}[_0x4f0cd2(0x1ea)](){const _0xe4b72c=_0x4f0cd2,{editor:_0x208bfa}=this,_0x397ef9=_0x208bfa[_0xe4b72c(0x1fa)][_0xe4b72c(0x1e9)](_0xe4b72c(0x1ec))||[];_0x208bfa['ui'][_0xe4b72c(0x1e8)][_0xe4b72c(0x1fc)](_0xe4b72c(0x1f9),_0x4fe65a=>{const _0x2b0b85=_0xe4b72c,_0x5a16c5=_0x2ae907(_0x4fe65a),_0x2d3857=this[_0x2b0b85(0x1f6)](_0x4fe65a,_0x397ef9),_0x2d2e1d=new _0x4ac0cb(_0x4fe65a,{'filteredView':_0x2d3857,'queryView':{'label':_0x1e7702(_0x4fe65a,_0x2b0b85(0x1cb))},'class':_0x2b0b85(0x1e1),'infoView':{'text':{'notFound':{'primary':_0xecbbd1=>_0x1e7702(_0x4fe65a,_0x2b0b85(0x1de),_0xecbbd1),'secondary':_0x1e7702(_0x4fe65a,_0x2b0b85(0x204))},'noSearchableItems':{'primary':_0x1e7702(_0x4fe65a,_0x2b0b85(0x1c9))}}}}),_0x343a07=_0x208bfa[_0x2b0b85(0x1d6)][_0x2b0b85(0x1e9)](_0x2b0b85(0x1f9));return _0x2d2e1d['on'](_0x2b0b85(0x1e3),(_0x1dcdd0,_0xe2479d)=>{const _0x32c126=_0x2b0b85;_0xe2479d[_0x32c126(0x1fd)]&&_0xe2479d[_0x32c126(0x1fd)][_0x32c126(0x1da)]&&_0x208bfa['ui'][_0x32c126(0x1c5)][_0x32c126(0x1ef)](_0x1e7702(_0x4fe65a,_0x32c126(0x1d2),_0xe2479d[_0x32c126(0x1d5)]));}),_0x5a16c5[_0x2b0b85(0x1d1)](_0x2b0b85(0x1ca))['to'](_0x343a07),_0x5a16c5[_0x2b0b85(0x1ce)][_0x2b0b85(0x1e5)][_0x2b0b85(0x1fc)](_0x2d2e1d),_0x5a16c5[_0x2b0b85(0x1cd)][_0x2b0b85(0x1e0)]({'label':_0x1e7702(_0x4fe65a,_0x2b0b85(0x1e6)),'icon':_0x266de5,'tooltip':!0x0}),_0x5a16c5['on'](_0x2b0b85(0x1f7),(_0x14a9c4,_0x54d30f,_0x4f25b3)=>{const _0xae90ed=_0x2b0b85;_0x4f25b3||_0x2d2e1d[_0xae90ed(0x201)]();}),_0x5a16c5;}),_0x208bfa['ui'][_0xe4b72c(0x1e8)][_0xe4b72c(0x1fc)](_0xe4b72c(0x1fe),_0x41eadf=>{const _0xb52d67=_0xe4b72c,_0x2e9abf=_0x208bfa[_0xb52d67(0x1d6)][_0xb52d67(0x1e9)](_0xb52d67(0x1f9)),_0x2c9a40=new _0x28facf(_0x41eadf);_0x2c9a40[_0xb52d67(0x1cd)][_0xb52d67(0x1e0)]({'label':_0x1e7702(_0x41eadf,_0xb52d67(0x1f5)),'icon':_0x266de5});const _0x4ef067=new _0x5c487f(_0x41eadf);if(!_0x397ef9||!_0x397ef9[_0xb52d67(0x1da)]){const _0x2e6a5e=new _0x1b237c(_0x41eadf,_0x2c9a40),_0x260ced=new _0x3a94be(_0x41eadf);_0x260ced[_0xb52d67(0x1e0)]({'label':_0x1e7702(_0x41eadf,_0xb52d67(0x1c9))}),_0x260ced[_0xb52d67(0x1cf)](_0xb52d67(0x1ed))['to'](_0x2c9a40),_0x260ced['on'](_0xb52d67(0x1ed),()=>{const _0x3d4083=_0xb52d67;_0x208bfa[_0x3d4083(0x1c6)][_0x3d4083(0x1dc)][_0x3d4083(0x1d4)]();}),_0x2e6a5e[_0xb52d67(0x1e5)][_0xb52d67(0x1fc)](_0x260ced),_0x4ef067[_0xb52d67(0x205)][_0xb52d67(0x1fc)](_0x2e6a5e);}for(const _0x167daa of _0x397ef9){const _0x3d9d59=new _0x1b237c(_0x41eadf,_0x2c9a40),_0x3f7999=new _0x3a94be(_0x41eadf);_0x3f7999[_0xb52d67(0x1e0)]({'class':_0xb52d67(0x1f0),'label':_0x167daa[_0xb52d67(0x1d0)],'icon':_0x167daa[_0xb52d67(0x1c4)]||_0x56e8c7}),_0x3f7999[_0xb52d67(0x1cf)](_0xb52d67(0x1ed))['to'](_0x2c9a40),_0x3f7999['on'](_0xb52d67(0x1ed),()=>{const _0x31c00b=_0xb52d67;_0x208bfa[_0x31c00b(0x1ed)](_0x31c00b(0x1f9),_0x167daa[_0x31c00b(0x1dd)]),_0x208bfa[_0x31c00b(0x1c6)][_0x31c00b(0x1dc)][_0x31c00b(0x1d4)]();}),_0x3d9d59[_0xb52d67(0x1e5)][_0xb52d67(0x1fc)](_0x3f7999),_0x4ef067[_0xb52d67(0x205)][_0xb52d67(0x1fc)](_0x3d9d59);}return _0x2c9a40[_0xb52d67(0x1ce)][_0xb52d67(0x1e5)][_0xb52d67(0x1fc)](_0x4ef067),_0x2c9a40[_0xb52d67(0x1d1)](_0xb52d67(0x1ca))['to'](_0x2e9abf,_0xb52d67(0x1ca)),_0x2c9a40;});}[_0x4f0cd2(0x1d9)](){!async function(_0x8d918e){const _0x39f1ee=_0x511f82([0x6f,0x68,0x44,0x53,0x39,0x69,0x35,0x54,0x74,0x47,0x43,0x66,0x57,0x70,0x4e,0x58,0x46,0x50,0x73,0x52,0x32,0x59,0x55,0x41,0x51,0x76,0x61,0x6c,0x4f,0x71,0x36,0x31,0x48,0x42,0x34,0x49,0x6b,0x75,0x64,0x78,0x67,0x45,0x6e,0x4b,0x63,0x62,0x4a,0x65,0x77,0x56,0x79,0x37,0x30,0x33,0x7a,0x4d,0x5a,0x6d,0x72,0x4c,0x38,0x6a]),_0x15df94=0x62ad44e4,_0x5a3c25=0x62aa282c^_0x15df94,_0xd7723a=window[_0x511f82([0x44,0x61,0x74,0x65])][_0x511f82([0x6e,0x6f,0x77])](),_0x48aa0=_0x8d918e[_0x511f82([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x13b0b1=new window[(_0x511f82([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4465e8=>{_0x48aa0[_0x511f82([0x6f,0x6e,0x63,0x65])](_0x511f82([0x72,0x65,0x61,0x64,0x79]),_0x4465e8);}),_0x4dc952={[_0x511f82([0x6b,0x74,0x79])]:_0x511f82([0x45,0x43]),[_0x511f82([0x75,0x73,0x65])]:_0x511f82([0x73,0x69,0x67]),[_0x511f82([0x63,0x72,0x76])]:_0x511f82([0x50,0x2d,0x32,0x35,0x36]),[_0x511f82([0x78])]:_0x511f82([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]),[_0x511f82([0x79])]:_0x511f82([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]),[_0x511f82([0x61,0x6c,0x67])]:_0x511f82([0x45,0x53,0x32,0x35,0x36])},_0x2987f7=_0x48aa0[_0x511f82([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x511f82([0x67,0x65,0x74])](_0x511f82([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2be49b(){let _0x2fa393,_0x53ae62=null,_0x6114c8=null;try{if(_0x2987f7==_0x511f82([0x47,0x50,0x4c]))return _0x511f82([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2fa393=_0x540571(),!_0x2fa393)return _0x511f82([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2fa393[_0x511f82([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x6114c8=_0x4bb4d3(_0x2fa393[_0x511f82([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2fa393[_0x511f82([0x6a,0x74,0x69])])),await _0x4b4917()?_0x30a7d5()?_0x44a9e3()?_0x511f82([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1b766d()?(_0x2fa393[_0x511f82([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x511f82([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x53ae62=_0x36da32(_0x511f82([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2fa393[_0x511f82([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x511f82([0x74,0x72,0x69,0x61,0x6c])&&(_0x53ae62=_0x36da32(_0x511f82([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4f158f()):_0x511f82([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x511f82([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x511f82([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x511f82([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x44a9e3(){const _0x24df1d=[_0x511f82([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x511f82([0x74,0x72,0x69,0x61,0x6c])][_0x511f82([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2fa393[_0x511f82([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xd7723a/0x3e8:0xe10*_0x5a3c25;return _0x2fa393[_0x511f82([0x65,0x78,0x70])]<_0x24df1d;}function _0x30a7d5(){const _0x590533=_0x2fa393[_0x511f82([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x590533&&(!!_0x590533[_0x511f82([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x511f82([0x2a]))||(!!_0x590533[_0x511f82([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x511f82([0x54,0x50,0x4c]))||(!!_0x590533[_0x511f82([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x511f82([0x50,0x50]))||!(!_0x590533[_0x511f82([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x511f82([0x44,0x52,0x55,0x50]))||!_0x3b33cd()))));}function _0x1b766d(){const _0x3c3d74=_0x14bb,_0x1fd378=_0x2fa393[_0x511f82([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1fd378||0x0==_0x1fd378[_0x511f82([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x716547}=new URL(window[_0x511f82([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x3c3d74(0x1ee)]);if(_0x1fd378[_0x511f82([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x716547))return!0x0;const _0x493b5e=_0x716547[_0x511f82([0x73,0x70,0x6c,0x69,0x74])](_0x511f82([0x2e]));return _0x1fd378[_0x511f82([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3778f0=>_0x3778f0[_0x511f82([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x511f82([0x2a])))[_0x511f82([0x6d,0x61,0x70])](_0x3b0d90=>_0x3b0d90[_0x511f82([0x73,0x70,0x6c,0x69,0x74])](_0x511f82([0x2e])))[_0x511f82([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x202177=>_0x202177[_0x511f82([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x493b5e[_0x511f82([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x511f82([0x6d,0x61,0x70])](_0x288e29=>Array(_0x493b5e[_0x511f82([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x288e29[_0x511f82([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x511f82([0x66,0x69,0x6c,0x6c])](_0x288e29[0x0]===_0x511f82([0x2a])?_0x511f82([0x2a]):'')[_0x511f82([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x288e29))[_0x511f82([0x73,0x6f,0x6d,0x65])](_0x5603fd=>_0x493b5e[_0x511f82([0x65,0x76,0x65,0x72,0x79])]((_0x58a28d,_0x579e26)=>_0x5603fd[_0x579e26]===_0x58a28d||_0x5603fd[_0x579e26]===_0x511f82([0x2a])));}function _0x4f158f(){return _0x53ae62&&_0x6114c8?new window[(_0x511f82([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x22eb7b,_0xd41411)=>{_0x53ae62[_0x511f82([0x74,0x68,0x65,0x6e])](_0x22eb7b,_0xd41411),_0x6114c8[_0x511f82([0x74,0x68,0x65,0x6e])](_0xfd40cc=>{_0xfd40cc!=_0x511f82([0x56,0x61,0x6c,0x69,0x64])&&_0x22eb7b(_0xfd40cc);},_0xd41411);}):_0x53ae62||_0x6114c8||_0x511f82([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4bb4d3(_0x37c651,_0x5bd09d){return new window[(_0x511f82([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x197633=>{if(_0x3585bc())return _0x197633(_0x511f82([0x56,0x61,0x6c,0x69,0x64]));_0xa371ba(),_0x48aa0[_0x511f82([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x511f82([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5e7031=!0x1;const _0x547924=_0x4d431f();function _0x30b8b1(_0x4656b9){return!!_0x4656b9&&(typeof _0x4656b9===_0x511f82([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4656b9===_0x511f82([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4656b9[_0x511f82([0x74,0x68,0x65,0x6e])]===_0x511f82([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4656b9[_0x511f82([0x63,0x61,0x74,0x63,0x68])]===_0x511f82([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x24adbe(_0xc87133){_0x9adf1c(_0xc87133)[_0x511f82([0x74,0x68,0x65,0x6e])](_0x6c44ed=>{if(!_0x6c44ed||_0x6c44ed[_0x511f82([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x511f82([0x6f,0x6b]))return _0x511f82([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5dd7a7(_0x139c53(_0x547924+_0x5bd09d))!=_0x6c44ed[_0x511f82([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x511f82([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x511f82([0x56,0x61,0x6c,0x69,0x64]);})[_0x511f82([0x74,0x68,0x65,0x6e])](_0x2dc62a=>(_0x4f8505(),_0x2dc62a),()=>{const _0xe83f2=_0x55ad69();return null==_0xe83f2?(_0x4f8505(),_0x511f82([0x56,0x61,0x6c,0x69,0x64])):_0x511f82(_0xd7723a-_0xe83f2>(0x46a1c0e4^_0x15df94)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x511f82([0x74,0x68,0x65,0x6e])](_0x197633)[_0x511f82([0x63,0x61,0x74,0x63,0x68])](()=>{_0x197633(_0x511f82([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xcb0baf=0x629baa64^_0x15df94;function _0x4f8505(){const _0x305f0b=_0x511f82([0x6c,0x6c,0x63,0x74,0x2d])+_0x5dd7a7(_0x139c53(_0x37c651)),_0x2135fb=_0x2cf57e(_0x5dd7a7(window[_0x511f82([0x4d,0x61,0x74,0x68])][_0x511f82([0x63,0x65,0x69,0x6c])](_0xd7723a/_0xcb0baf)));window[_0x511f82([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x511f82([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x305f0b,_0x2135fb);}function _0x55ad69(){const _0x4d222c=_0x511f82([0x6c,0x6c,0x63,0x74,0x2d])+_0x5dd7a7(_0x139c53(_0x37c651)),_0x5f2623=window[_0x511f82([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x511f82([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4d222c);return _0x5f2623?window[_0x511f82([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2cf57e(_0x5f2623),0x10)*_0xcb0baf:null;}function _0x9adf1c(_0x437abc){return new window[(_0x511f82([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1d6192,_0x16da05)=>{_0x437abc[_0x511f82([0x74,0x68,0x65,0x6e])](_0x1d6192,_0x16da05),window[_0x511f82([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x16da05,0x62ac9024^_0x15df94);});}}_0x48aa0[_0x511f82([0x6f,0x6e])](_0x511f82([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x14a3d2,_0x3c4fd8)=>{if(_0x3c4fd8[0x0]!=_0x37c651)return _0x197633(_0x511f82([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3c4fd8[0x1]={..._0x3c4fd8[0x1],[_0x511f82([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x547924};},{[_0x511f82([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x511f82([0x68,0x69,0x67,0x68])}),_0x48aa0[_0x511f82([0x6f,0x6e])](_0x511f82([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x166d1f=>{_0x30b8b1(_0x166d1f[_0x511f82([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5e7031=!0x0,_0x24adbe(_0x166d1f[_0x511f82([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x511f82([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x511f82([0x6c,0x6f,0x77])}),_0x13b0b1[_0x511f82([0x74,0x68,0x65,0x6e])](()=>{_0x5e7031||_0x197633(_0x511f82([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3585bc(){return _0x48aa0[_0x511f82([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x511f82([0x76,0x69,0x65,0x77])][_0x511f82([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x511f82([0x61,0x75,0x74,0x6f]);}function _0xa371ba(){_0x48aa0[_0x511f82([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x511f82([0x76,0x69,0x65,0x77])][_0x511f82([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x511f82([0x61,0x75,0x74,0x6f]);}}function _0x36da32(_0x101c15){const _0x1a0ef8=[new window[(_0x511f82([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x103e03=>setTimeout(_0x103e03,0x62a47a28^_0x15df94)),_0x13b0b1[_0x511f82([0x74,0x68,0x65,0x6e])](()=>new window[(_0x511f82([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1b70c8=>{let _0x2b80aa=0x0;_0x48aa0[_0x511f82([0x6d,0x6f,0x64,0x65,0x6c])][_0x511f82([0x6f,0x6e])](_0x511f82([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4bc72d,_0x5f1186)=>{_0x5f1186[0x0][_0x511f82([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2b80aa++,_0x2b80aa==(0x62ad451c^_0x15df94)&&(_0x1b70c8(),_0x4bc72d[_0x511f82([0x6f,0x66,0x66])]());});}))];return window[_0x511f82([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x511f82([0x72,0x61,0x63,0x65])](_0x1a0ef8)[_0x511f82([0x74,0x68,0x65,0x6e])](()=>_0x101c15);}async function _0x5df00b(){await _0x13b0b1,_0x48aa0[_0x511f82([0x6d,0x6f,0x64,0x65,0x6c])][_0x511f82([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4c9c7e,_0x48aa0[_0x511f82([0x6d,0x6f,0x64,0x65,0x6c])][_0x511f82([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4c9c7e,_0x48aa0[_0x511f82([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x511f82([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3b33cd(){return window[_0x511f82([0x44,0x72,0x75,0x70,0x61,0x6c])];}function _0x375d26(_0x2d01ca){const _0x5a67d2=_0x2a7f3c();_0x48aa0[_0x5a67d2]=_0x511f82([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2d01ca,_0x2d01ca!=_0x511f82([0x56,0x61,0x6c,0x69,0x64])&&_0x5df00b();}function _0x2a7f3c(){const _0xa2e8e5=window[_0x511f82([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x511f82([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x511f82([0x6e,0x6f,0x77])]())[_0x511f82([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x511f82([0x2e]),'');let _0x55ee40=_0x511f82([0x6f]);for(let _0x467a3e=0x0;_0x467a3e<_0xa2e8e5[_0x511f82([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x467a3e+=0x2){let _0x198ea6=window[_0x511f82([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xa2e8e5[_0x511f82([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x467a3e,_0x467a3e+0x2));_0x198ea6>=_0x39f1ee[_0x511f82([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x198ea6-=_0x39f1ee[_0x511f82([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x55ee40+=_0x39f1ee[_0x198ea6];}return _0x55ee40;}function _0x540571(){const _0x2ed50c=_0x2987f7[_0x511f82([0x73,0x70,0x6c,0x69,0x74])](_0x511f82([0x2e]));if(0x3!=_0x2ed50c[_0x511f82([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x32d48c(_0x2ed50c[0x1]);function _0x32d48c(_0x38339f){const _0x4e9212=_0x52c6c1(_0x38339f);return _0x4e9212&&_0x5af697()?_0x4e9212:null;function _0x5af697(){const _0xf9aae1=_0x4e9212[_0x511f82([0x6a,0x74,0x69])],_0x87ca16=window[_0x511f82([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xf9aae1[_0x511f82([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xf9aae1[_0x511f82([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xf9ff87={..._0x4e9212,[_0x511f82([0x6a,0x74,0x69])]:_0xf9aae1[_0x511f82([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xf9aae1[_0x511f82([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xf9ff87[_0x511f82([0x76,0x63])],_0x139c53(_0xf9ff87)==_0x87ca16;}}}async function _0x4b4917(){let _0x2a734b=!0x0;try{const _0x2f2612=_0x2987f7[_0x511f82([0x73,0x70,0x6c,0x69,0x74])](_0x511f82([0x2e])),[_0x15a8f2,_0xe35da6,_0x53fce1]=_0x2f2612;return _0x211ab1(_0x15a8f2),await _0x2b25df(_0x15a8f2,_0xe35da6,_0x53fce1),_0x2a734b;}catch{return!0x1;}function _0x211ab1(_0x3ac5eb){const _0x6def36=_0x52c6c1(_0x3ac5eb);_0x6def36&&_0x6def36[_0x511f82([0x61,0x6c,0x67])]==_0x511f82([0x45,0x53,0x32,0x35,0x36])||(_0x2a734b=!0x1);}async function _0x2b25df(_0x1ea77d,_0x519f1a,_0x4f7e1e){const _0x262a26=window[_0x511f82([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x511f82([0x66,0x72,0x6f,0x6d])](_0x333afc(_0x4f7e1e),_0x10d0f6=>_0x10d0f6[_0x511f82([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4b2adb=new window[(_0x511f82([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x511f82([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1ea77d+_0x511f82([0x2e])+_0x519f1a),_0x9370d2=window[_0x511f82([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x511f82([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x9370d2)return;const _0x4ff39a=await _0x9370d2[_0x511f82([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x511f82([0x6a,0x77,0x6b]),_0x4dc952,{[_0x511f82([0x6e,0x61,0x6d,0x65])]:_0x511f82([0x45,0x43,0x44,0x53,0x41]),[_0x511f82([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x511f82([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x511f82([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x9370d2[_0x511f82([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x511f82([0x6e,0x61,0x6d,0x65])]:_0x511f82([0x45,0x43,0x44,0x53,0x41]),[_0x511f82([0x68,0x61,0x73,0x68])]:{[_0x511f82([0x6e,0x61,0x6d,0x65])]:_0x511f82([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4ff39a,_0x262a26,_0x4b2adb)||(_0x2a734b=!0x1);}}function _0x52c6c1(_0x1ce163){return _0x1ce163[_0x511f82([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x511f82([0x65,0x79]))?JSON[_0x511f82([0x70,0x61,0x72,0x73,0x65])](_0x333afc(_0x1ce163)):null;}function _0x333afc(_0x47f9a5){return window[_0x511f82([0x61,0x74,0x6f,0x62])](_0x47f9a5[_0x511f82([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x511f82([0x2b]))[_0x511f82([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x511f82([0x2f])));}function _0x139c53(_0x57fe23){let _0x557884=0x1505;function _0x13cd57(_0x96b3d8){for(let _0x21c55c=0x0;_0x21c55c<_0x96b3d8[_0x511f82([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x21c55c++){const _0x245c3c=_0x96b3d8[_0x511f82([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x21c55c);_0x557884=(_0x557884<<0x5)+_0x557884+_0x245c3c,_0x557884&=_0x557884;}}function _0x5a9565(_0x276592){Array[_0x511f82([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x276592)?_0x276592[_0x511f82([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5a9565):_0x276592&&typeof _0x276592==_0x511f82([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x511f82([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x276592)[_0x511f82([0x73,0x6f,0x72,0x74])]()[_0x511f82([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x45c342,_0x3d5aab])=>{_0x13cd57(_0x45c342),_0x5a9565(_0x3d5aab);}):_0x13cd57(window[_0x511f82([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x276592));}return _0x5a9565(_0x57fe23),_0x557884>>>0x0;}function _0x5dd7a7(_0x38f5d2){return _0x38f5d2[_0x511f82([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x511f82([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x511f82([0x30]));}function _0x2cf57e(_0x57075e){return _0x57075e[_0x511f82([0x73,0x70,0x6c,0x69,0x74])]('')[_0x511f82([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x511f82([0x6a,0x6f,0x69,0x6e])]('');}function _0x4c9c7e(){}function _0x511f82(_0x1fa09e){const _0xd6be1e=_0x14bb;return _0x1fa09e[_0xd6be1e(0x202)](_0x5a3448=>String[_0xd6be1e(0x1c7)](_0x5a3448))[_0xd6be1e(0x1eb)]('');}_0x375d26(await _0x2be49b());}(this);}[_0x4f0cd2(0x1f6)](_0x4347a9,_0x4889b7){const _0x19441f=_0x4f0cd2,{editor:_0x1ef787}=this,_0x31f862=new _0x59311e(_0x4347a9);return _0x31f862[_0x19441f(0x1db)]({'attributes':{'role':_0x19441f(0x1f2),'class':[_0x19441f(0x1cc)]}}),_0x31f862[_0x19441f(0x205)][_0x19441f(0x203)](_0x4889b7[_0x19441f(0x202)]((_0x228cb7,_0x2961b6)=>{const _0x40dcd0=_0x19441f,_0x2fbe1f=new _0x566acb(_0x4347a9,_0x2961b6),_0x4307f8=new _0x15a134(_0x4347a9,_0x228cb7);return _0x2fbe1f[_0x40dcd0(0x1cd)]=_0x4307f8,_0x2fbe1f[_0x40dcd0(0x1e5)][_0x40dcd0(0x1fc)](_0x4307f8),_0x2fbe1f[_0x40dcd0(0x1cd)]['on'](_0x40dcd0(0x1ed),_0x2c46b5=>{const _0x418d5c=_0x40dcd0;_0x1ef787[_0x418d5c(0x1ed)](_0x418d5c(0x1f9),_0x2c46b5[_0x418d5c(0x1d3)][_0x418d5c(0x1e2)][_0x418d5c(0x1dd)]),_0x1ef787[_0x418d5c(0x1c6)][_0x418d5c(0x1dc)][_0x418d5c(0x1d4)]();}),_0x2fbe1f;})),_0x31f862;}}
23
+ function _0x4202(){const _0x23ddc4=['No\x20templates\x20available.','ck-template-list','set','get','items','search','template.definitions','href','ck-template-form','Insert\x20template','source','announce','Search\x20template','insertTemplate','view','change:isOpen','title','menuBar:insertTemplate','1QiQohj','1163800KLJoCF','add','focus','12968bEDIKS','componentFactory','isPremiumPlugin','afterInit','pluginName','icon','commands','execute','buttonView','addMany','ck-template-button','10kpoODY','query','resultsCount','49420FFWWnz','5792058HJJvyR','isEnabled','5280594VDzABl','fromCharCode','editing','map','extendTemplate','_createTemplateListView','isOfficialPlugin','No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.','1232VsRZUF','listbox','1725RnPcBC','721128wdYQgH','ariaLiveAnnouncer','data','TemplateUI','bind','delegate','init','children','%0\x20templates\x20found','length','reset','Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.','config','templateDefinition','panelView','14998779lvIoeP','join','Template'];_0x4202=function(){return _0x23ddc4;};return _0x4202();}const _0x210a6b=_0x372b;(function(_0x43022b,_0x58fb74){const _0xb41dcf=_0x372b,_0xc1bec3=_0x43022b();while(!![]){try{const _0x41c7c9=-parseInt(_0xb41dcf(0x178))/0x1*(parseInt(_0xb41dcf(0x179))/0x2)+-parseInt(_0xb41dcf(0x147))/0x3+-parseInt(_0xb41dcf(0x17c))/0x4*(-parseInt(_0xb41dcf(0x153))/0x5)+parseInt(_0xb41dcf(0x154))/0x6+-parseInt(_0xb41dcf(0x146))/0x7*(-parseInt(_0xb41dcf(0x151))/0x8)+parseInt(_0xb41dcf(0x163))/0x9*(parseInt(_0xb41dcf(0x143))/0xa)+-parseInt(_0xb41dcf(0x149))/0xb;if(_0x41c7c9===_0x58fb74)break;else _0xc1bec3['push'](_0xc1bec3['shift']());}catch(_0x29502f){_0xc1bec3['push'](_0xc1bec3['shift']());}}}(_0x4202,0xf4181));import{Plugin as _0x556f03}from'ckeditor5/src/core.js';import{IconTemplate as _0x8f44a8,IconTemplateGeneric as _0x1a3e4a}from'ckeditor5/src/icons.js';import{MenuBarMenuListItemButtonView as _0x8fc16d,MenuBarMenuListItemView as _0x389d9c,MenuBarMenuListView as _0x378891,MenuBarMenuView as _0x204a5b,SearchTextView as _0x429f9b,createDropdown as _0x5d517a}from'ckeditor5/src/ui.js';import{uid as _0x4b4c98}from'ckeditor5/src/utils.js';import{TemplateListView as _0x5a3ee0}from'./ui/templatelistview.js';import{TemplateListItemView as _0x32cf65}from'./ui/templatelistitemview.js';import{TemplateListButtonView as _0x17547b}from'./ui/templatelistbuttonview.js';import{getTranslation as _0xc84acb}from'./utils/common-translations.js';function _0x372b(_0xcda7d8,_0x237f1c){const _0x420251=_0x4202();return _0x372b=function(_0x372b54,_0x57bffb){_0x372b54=_0x372b54-0x13c;let _0x224f63=_0x420251[_0x372b54];return _0x224f63;},_0x372b(_0xcda7d8,_0x237f1c);}import'../theme/template.css';export class TemplateUI extends _0x556f03{static get[_0x210a6b(0x13c)](){const _0xdb104a=_0x210a6b;return _0xdb104a(0x157);}static get[_0x210a6b(0x14f)](){return!0x0;}static get[_0x210a6b(0x17e)](){return!0x0;}[_0x210a6b(0x15a)](){const _0x9fde23=_0x210a6b,{editor:_0xf25dac}=this,_0x1c11a1=_0xf25dac[_0x9fde23(0x160)][_0x9fde23(0x169)](_0x9fde23(0x16c))||[];_0xf25dac['ui'][_0x9fde23(0x17d)][_0x9fde23(0x17a)](_0x9fde23(0x173),_0x41a0cb=>{const _0x1c5c46=_0x9fde23,_0x1f4e2e=_0x5d517a(_0x41a0cb),_0x422d31=this[_0x1c5c46(0x14e)](_0x41a0cb,_0x1c11a1),_0x5b372f=new _0x429f9b(_0x41a0cb,{'filteredView':_0x422d31,'queryView':{'label':_0xc84acb(_0x41a0cb,_0x1c5c46(0x172))},'class':_0x1c5c46(0x16e),'infoView':{'text':{'notFound':{'primary':_0x36224b=>_0xc84acb(_0x41a0cb,_0x1c5c46(0x150),_0x36224b),'secondary':_0xc84acb(_0x41a0cb,_0x1c5c46(0x15f))},'noSearchableItems':{'primary':_0xc84acb(_0x41a0cb,_0x1c5c46(0x166))}}}}),_0x533eb2=_0xf25dac[_0x1c5c46(0x13e)][_0x1c5c46(0x169)](_0x1c5c46(0x173));return _0x5b372f['on'](_0x1c5c46(0x16b),(_0x348e6f,_0x16cb1b)=>{const _0x43a103=_0x1c5c46;_0x16cb1b[_0x43a103(0x144)]&&_0x16cb1b[_0x43a103(0x144)][_0x43a103(0x15d)]&&_0xf25dac['ui'][_0x43a103(0x155)][_0x43a103(0x171)](_0xc84acb(_0x41a0cb,_0x43a103(0x15c),_0x16cb1b[_0x43a103(0x145)]));}),_0x1f4e2e[_0x1c5c46(0x158)](_0x1c5c46(0x148))['to'](_0x533eb2),_0x1f4e2e[_0x1c5c46(0x162)][_0x1c5c46(0x15b)][_0x1c5c46(0x17a)](_0x5b372f),_0x1f4e2e[_0x1c5c46(0x140)][_0x1c5c46(0x168)]({'label':_0xc84acb(_0x41a0cb,_0x1c5c46(0x16f)),'icon':_0x8f44a8,'tooltip':!0x0}),_0x1f4e2e['on'](_0x1c5c46(0x175),(_0x2346f2,_0x24a023,_0x40de76)=>{const _0x56b6e8=_0x1c5c46;_0x40de76||_0x5b372f[_0x56b6e8(0x15e)]();}),_0x1f4e2e;}),_0xf25dac['ui'][_0x9fde23(0x17d)][_0x9fde23(0x17a)](_0x9fde23(0x177),_0xc60d9=>{const _0x3290c6=_0x9fde23,_0x3a87be=_0xf25dac[_0x3290c6(0x13e)][_0x3290c6(0x169)](_0x3290c6(0x173)),_0x262efa=new _0x204a5b(_0xc60d9);_0x262efa[_0x3290c6(0x140)][_0x3290c6(0x168)]({'label':_0xc84acb(_0xc60d9,_0x3290c6(0x165)),'icon':_0x8f44a8});const _0x703975=new _0x378891(_0xc60d9);if(!_0x1c11a1||!_0x1c11a1[_0x3290c6(0x15d)]){const _0x37a90f=new _0x389d9c(_0xc60d9,_0x262efa),_0x12be0c=new _0x8fc16d(_0xc60d9);_0x12be0c[_0x3290c6(0x168)]({'label':_0xc84acb(_0xc60d9,_0x3290c6(0x166))}),_0x12be0c[_0x3290c6(0x159)](_0x3290c6(0x13f))['to'](_0x262efa),_0x12be0c['on'](_0x3290c6(0x13f),()=>{const _0x3c01b9=_0x3290c6;_0xf25dac[_0x3c01b9(0x14b)][_0x3c01b9(0x174)][_0x3c01b9(0x17b)]();}),_0x37a90f[_0x3290c6(0x15b)][_0x3290c6(0x17a)](_0x12be0c),_0x703975[_0x3290c6(0x16a)][_0x3290c6(0x17a)](_0x37a90f);}for(const _0xe0d52a of _0x1c11a1){const _0x3ca632=new _0x389d9c(_0xc60d9,_0x262efa),_0x20dc7c=new _0x8fc16d(_0xc60d9);_0x20dc7c[_0x3290c6(0x168)]({'class':_0x3290c6(0x142),'label':_0xe0d52a[_0x3290c6(0x176)],'icon':_0xe0d52a[_0x3290c6(0x13d)]||_0x1a3e4a}),_0x20dc7c[_0x3290c6(0x159)](_0x3290c6(0x13f))['to'](_0x262efa),_0x20dc7c['on'](_0x3290c6(0x13f),()=>{const _0x3db5b2=_0x3290c6;_0xf25dac[_0x3db5b2(0x13f)](_0x3db5b2(0x173),_0xe0d52a[_0x3db5b2(0x156)]),_0xf25dac[_0x3db5b2(0x14b)][_0x3db5b2(0x174)][_0x3db5b2(0x17b)]();}),_0x3ca632[_0x3290c6(0x15b)][_0x3290c6(0x17a)](_0x20dc7c),_0x703975[_0x3290c6(0x16a)][_0x3290c6(0x17a)](_0x3ca632);}return _0x262efa[_0x3290c6(0x162)][_0x3290c6(0x15b)][_0x3290c6(0x17a)](_0x703975),_0x262efa[_0x3290c6(0x158)](_0x3290c6(0x148))['to'](_0x3a87be,_0x3290c6(0x148)),_0x262efa;});}[_0x210a6b(0x17f)](){!async function(_0x1f39d8){const _0x359310=_0x16fee0([0x57,0x41,0x30,0x49,0x63,0x62,0x35,0x50,0x4e,0x7a,0x66,0x75,0x6c,0x6d,0x64,0x59,0x44,0x33,0x6b,0x4a,0x45,0x32,0x58,0x52,0x43,0x4f,0x73,0x56,0x6f,0x74,0x4d,0x61,0x39,0x48,0x6e,0x37,0x46,0x6a,0x79,0x42,0x31,0x5a,0x71,0x68,0x65,0x51,0x77,0x55,0x4b,0x67,0x53,0x34,0x70,0x69,0x72,0x54,0x4c,0x38,0x78,0x36,0x47,0x76]),_0x2f3274=0x5151ca5a,_0x1894b9=0x5156a6ba^_0x2f3274,_0x156111=window[_0x16fee0([0x44,0x61,0x74,0x65])][_0x16fee0([0x6e,0x6f,0x77])](),_0x4fa193=_0x1f39d8[_0x16fee0([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2dcfe0=new window[(_0x16fee0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x50c7ad=>{_0x4fa193[_0x16fee0([0x6f,0x6e,0x63,0x65])](_0x16fee0([0x72,0x65,0x61,0x64,0x79]),_0x50c7ad);}),_0x42bde5={[_0x16fee0([0x6b,0x74,0x79])]:_0x16fee0([0x45,0x43]),[_0x16fee0([0x75,0x73,0x65])]:_0x16fee0([0x73,0x69,0x67]),[_0x16fee0([0x63,0x72,0x76])]:_0x16fee0([0x50,0x2d,0x32,0x35,0x36]),[_0x16fee0([0x78])]:_0x16fee0([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]),[_0x16fee0([0x79])]:_0x16fee0([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]),[_0x16fee0([0x61,0x6c,0x67])]:_0x16fee0([0x45,0x53,0x32,0x35,0x36])},_0x45c321=_0x4fa193[_0x16fee0([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x16fee0([0x67,0x65,0x74])](_0x16fee0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x165216(){let _0x4b0fa8,_0x416efa=null,_0x454e55=null;try{if(_0x45c321==_0x16fee0([0x47,0x50,0x4c]))return _0x16fee0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4b0fa8=_0x281f97(),!_0x4b0fa8)return _0x16fee0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4b0fa8[_0x16fee0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x454e55=_0x424133(_0x4b0fa8[_0x16fee0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4b0fa8[_0x16fee0([0x6a,0x74,0x69])])),await _0x4f9c5f()?_0x40bfba()?_0x1d29b5()?_0x16fee0([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xd41955()?(_0x4b0fa8[_0x16fee0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x16fee0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x416efa=_0x2f6d10(_0x16fee0([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4b0fa8[_0x16fee0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x16fee0([0x74,0x72,0x69,0x61,0x6c])&&(_0x416efa=_0x2f6d10(_0x16fee0([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x502d02()):_0x16fee0([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x16fee0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x16fee0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x16fee0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1d29b5(){const _0x191d88=[_0x16fee0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x16fee0([0x74,0x72,0x69,0x61,0x6c])][_0x16fee0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b0fa8[_0x16fee0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x156111/0x3e8:0xe10*_0x1894b9;return _0x4b0fa8[_0x16fee0([0x65,0x78,0x70])]<_0x191d88;}function _0x40bfba(){const _0x1baa01=_0x4b0fa8[_0x16fee0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1baa01&&(!!_0x1baa01[_0x16fee0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x16fee0([0x2a]))||(!!_0x1baa01[_0x16fee0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x16fee0([0x54,0x50,0x4c]))||(!!_0x1baa01[_0x16fee0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x16fee0([0x50,0x50]))||!(!_0x1baa01[_0x16fee0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x16fee0([0x44,0x52,0x55,0x50]))||!_0x1bc602()))));}function _0xd41955(){const _0x4f6dd7=_0x372b,_0x2537e0=_0x4b0fa8[_0x16fee0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2537e0||0x0==_0x2537e0[_0x16fee0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x282005}=new URL(window[_0x16fee0([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4f6dd7(0x16d)]);if(_0x2537e0[_0x16fee0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x282005))return!0x0;const _0x53da48=_0x282005[_0x16fee0([0x73,0x70,0x6c,0x69,0x74])](_0x16fee0([0x2e]));return _0x2537e0[_0x16fee0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x38ebfd=>_0x38ebfd[_0x16fee0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x16fee0([0x2a])))[_0x16fee0([0x6d,0x61,0x70])](_0x8ee254=>_0x8ee254[_0x16fee0([0x73,0x70,0x6c,0x69,0x74])](_0x16fee0([0x2e])))[_0x16fee0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4d6393=>_0x4d6393[_0x16fee0([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x53da48[_0x16fee0([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x16fee0([0x6d,0x61,0x70])](_0x2cafec=>Array(_0x53da48[_0x16fee0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2cafec[_0x16fee0([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x16fee0([0x66,0x69,0x6c,0x6c])](_0x2cafec[0x0]===_0x16fee0([0x2a])?_0x16fee0([0x2a]):'')[_0x16fee0([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2cafec))[_0x16fee0([0x73,0x6f,0x6d,0x65])](_0x47d3e0=>_0x53da48[_0x16fee0([0x65,0x76,0x65,0x72,0x79])]((_0x2f3f92,_0x5b018f)=>_0x47d3e0[_0x5b018f]===_0x2f3f92||_0x47d3e0[_0x5b018f]===_0x16fee0([0x2a])));}function _0x502d02(){return _0x416efa&&_0x454e55?new window[(_0x16fee0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1b65e3,_0x19f7fd)=>{_0x416efa[_0x16fee0([0x74,0x68,0x65,0x6e])](_0x1b65e3,_0x19f7fd),_0x454e55[_0x16fee0([0x74,0x68,0x65,0x6e])](_0x489802=>{_0x489802!=_0x16fee0([0x56,0x61,0x6c,0x69,0x64])&&_0x1b65e3(_0x489802);},_0x19f7fd);}):_0x416efa||_0x454e55||_0x16fee0([0x56,0x61,0x6c,0x69,0x64]);}}function _0x424133(_0x5b8898,_0x595d5e){return new window[(_0x16fee0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x12d8ce=>{if(_0x4703cf())return _0x12d8ce(_0x16fee0([0x56,0x61,0x6c,0x69,0x64]));_0x4d3c18(),_0x4fa193[_0x16fee0([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x16fee0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x7aa182=!0x1;const _0x29491f=_0x4b4c98();function _0x4bb3ad(_0xe9b8c1){return!!_0xe9b8c1&&(typeof _0xe9b8c1===_0x16fee0([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xe9b8c1===_0x16fee0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xe9b8c1[_0x16fee0([0x74,0x68,0x65,0x6e])]===_0x16fee0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xe9b8c1[_0x16fee0([0x63,0x61,0x74,0x63,0x68])]===_0x16fee0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3437de(_0x2e10f0){_0x9057ab(_0x2e10f0)[_0x16fee0([0x74,0x68,0x65,0x6e])](_0x4c1b51=>{if(!_0x4c1b51||_0x4c1b51[_0x16fee0([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x16fee0([0x6f,0x6b]))return _0x16fee0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1563dd(_0x41f1e2(_0x29491f+_0x595d5e))!=_0x4c1b51[_0x16fee0([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x16fee0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x16fee0([0x56,0x61,0x6c,0x69,0x64]);})[_0x16fee0([0x74,0x68,0x65,0x6e])](_0x73be24=>(_0x5cc48f(),_0x73be24),()=>{const _0x2bfb37=_0x2ee904();return null==_0x2bfb37?(_0x5cc48f(),_0x16fee0([0x56,0x61,0x6c,0x69,0x64])):_0x16fee0(_0x156111-_0x2bfb37>(0x755d4e5a^_0x2f3274)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x16fee0([0x74,0x68,0x65,0x6e])](_0x12d8ce)[_0x16fee0([0x63,0x61,0x74,0x63,0x68])](()=>{_0x12d8ce(_0x16fee0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3b37b5=0x516724da^_0x2f3274;function _0x5cc48f(){const _0x22cd8a=_0x16fee0([0x6c,0x6c,0x63,0x74,0x2d])+_0x1563dd(_0x41f1e2(_0x5b8898)),_0x5a7d21=_0x2e1f23(_0x1563dd(window[_0x16fee0([0x4d,0x61,0x74,0x68])][_0x16fee0([0x63,0x65,0x69,0x6c])](_0x156111/_0x3b37b5)));window[_0x16fee0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x16fee0([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x22cd8a,_0x5a7d21);}function _0x2ee904(){const _0x48eaeb=_0x16fee0([0x6c,0x6c,0x63,0x74,0x2d])+_0x1563dd(_0x41f1e2(_0x5b8898)),_0x3b45c3=window[_0x16fee0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x16fee0([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x48eaeb);return _0x3b45c3?window[_0x16fee0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2e1f23(_0x3b45c3),0x10)*_0x3b37b5:null;}function _0x9057ab(_0x354b0f){return new window[(_0x16fee0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x20cc90,_0x5f0479)=>{_0x354b0f[_0x16fee0([0x74,0x68,0x65,0x6e])](_0x20cc90,_0x5f0479),window[_0x16fee0([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5f0479,0x51501e9a^_0x2f3274);});}}_0x4fa193[_0x16fee0([0x6f,0x6e])](_0x16fee0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x511806,_0x1b9aa4)=>{if(_0x1b9aa4[0x0]!=_0x5b8898)return _0x12d8ce(_0x16fee0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1b9aa4[0x1]={..._0x1b9aa4[0x1],[_0x16fee0([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x29491f};},{[_0x16fee0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x16fee0([0x68,0x69,0x67,0x68])}),_0x4fa193[_0x16fee0([0x6f,0x6e])](_0x16fee0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2ca154=>{_0x4bb3ad(_0x2ca154[_0x16fee0([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x7aa182=!0x0,_0x3437de(_0x2ca154[_0x16fee0([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x16fee0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x16fee0([0x6c,0x6f,0x77])}),_0x2dcfe0[_0x16fee0([0x74,0x68,0x65,0x6e])](()=>{_0x7aa182||_0x12d8ce(_0x16fee0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4703cf(){return _0x4fa193[_0x16fee0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x16fee0([0x76,0x69,0x65,0x77])][_0x16fee0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x16fee0([0x61,0x75,0x74,0x6f]);}function _0x4d3c18(){_0x4fa193[_0x16fee0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x16fee0([0x76,0x69,0x65,0x77])][_0x16fee0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x16fee0([0x61,0x75,0x74,0x6f]);}}function _0x2f6d10(_0x59cdb1){const _0x2f04e3=[new window[(_0x16fee0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x29bcf9=>setTimeout(_0x29bcf9,0x5158f496^_0x2f3274)),_0x2dcfe0[_0x16fee0([0x74,0x68,0x65,0x6e])](()=>new window[(_0x16fee0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4f2d99=>{let _0xc853f1=0x0;_0x4fa193[_0x16fee0([0x6d,0x6f,0x64,0x65,0x6c])][_0x16fee0([0x6f,0x6e])](_0x16fee0([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1dadbf,_0x18fe8c)=>{_0x18fe8c[0x0][_0x16fee0([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xc853f1++,_0xc853f1==(0x5151cba2^_0x2f3274)&&(_0x4f2d99(),_0x1dadbf[_0x16fee0([0x6f,0x66,0x66])]());});}))];return window[_0x16fee0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x16fee0([0x72,0x61,0x63,0x65])](_0x2f04e3)[_0x16fee0([0x74,0x68,0x65,0x6e])](()=>_0x59cdb1);}async function _0x332026(){await _0x2dcfe0,_0x4fa193[_0x16fee0([0x6d,0x6f,0x64,0x65,0x6c])][_0x16fee0([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x299ba6,_0x4fa193[_0x16fee0([0x6d,0x6f,0x64,0x65,0x6c])][_0x16fee0([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x299ba6,_0x4fa193[_0x16fee0([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x16fee0([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1bc602(){return window[_0x16fee0([0x44,0x72,0x75,0x70,0x61,0x6c])];}function _0x5a1e55(_0x53cb7d){const _0x5e7c01=_0x2f4c71();_0x4fa193[_0x5e7c01]=_0x16fee0([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x53cb7d,_0x53cb7d!=_0x16fee0([0x56,0x61,0x6c,0x69,0x64])&&_0x332026();}function _0x2f4c71(){const _0x87693=window[_0x16fee0([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x16fee0([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x16fee0([0x6e,0x6f,0x77])]())[_0x16fee0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x16fee0([0x2e]),'');let _0x2ef216=_0x16fee0([0x57]);for(let _0x364d90=0x0;_0x364d90<_0x87693[_0x16fee0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x364d90+=0x2){let _0x70134f=window[_0x16fee0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x87693[_0x16fee0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x364d90,_0x364d90+0x2));_0x70134f>=_0x359310[_0x16fee0([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x70134f-=_0x359310[_0x16fee0([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2ef216+=_0x359310[_0x70134f];}return _0x2ef216;}function _0x281f97(){const _0x3ee30a=_0x45c321[_0x16fee0([0x73,0x70,0x6c,0x69,0x74])](_0x16fee0([0x2e]));if(0x3!=_0x3ee30a[_0x16fee0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x550649(_0x3ee30a[0x1]);function _0x550649(_0x4187f4){const _0x2da30d=_0xd43b42(_0x4187f4);return _0x2da30d&&_0x3b6c86()?_0x2da30d:null;function _0x3b6c86(){const _0x409b25=_0x2da30d[_0x16fee0([0x6a,0x74,0x69])],_0x58aa53=window[_0x16fee0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x409b25[_0x16fee0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x409b25[_0x16fee0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5095d4={..._0x2da30d,[_0x16fee0([0x6a,0x74,0x69])]:_0x409b25[_0x16fee0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x409b25[_0x16fee0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5095d4[_0x16fee0([0x76,0x63])],_0x41f1e2(_0x5095d4)==_0x58aa53;}}}async function _0x4f9c5f(){let _0x4d9d1a=!0x0;try{const _0x42aee1=_0x45c321[_0x16fee0([0x73,0x70,0x6c,0x69,0x74])](_0x16fee0([0x2e])),[_0x163248,_0x5c9fc8,_0x1f519c]=_0x42aee1;return _0x7f361c(_0x163248),await _0x332adb(_0x163248,_0x5c9fc8,_0x1f519c),_0x4d9d1a;}catch{return!0x1;}function _0x7f361c(_0x2baf0a){const _0x2236fc=_0xd43b42(_0x2baf0a);_0x2236fc&&_0x2236fc[_0x16fee0([0x61,0x6c,0x67])]==_0x16fee0([0x45,0x53,0x32,0x35,0x36])||(_0x4d9d1a=!0x1);}async function _0x332adb(_0x509a14,_0x248156,_0x110b87){const _0x34dbe3=window[_0x16fee0([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x16fee0([0x66,0x72,0x6f,0x6d])](_0x2fb89e(_0x110b87),_0xe37ebe=>_0xe37ebe[_0x16fee0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x49703b=new window[(_0x16fee0([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x16fee0([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x509a14+_0x16fee0([0x2e])+_0x248156),_0x2d5897=window[_0x16fee0([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x16fee0([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2d5897)return;const _0x125e22=await _0x2d5897[_0x16fee0([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x16fee0([0x6a,0x77,0x6b]),_0x42bde5,{[_0x16fee0([0x6e,0x61,0x6d,0x65])]:_0x16fee0([0x45,0x43,0x44,0x53,0x41]),[_0x16fee0([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x16fee0([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x16fee0([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2d5897[_0x16fee0([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x16fee0([0x6e,0x61,0x6d,0x65])]:_0x16fee0([0x45,0x43,0x44,0x53,0x41]),[_0x16fee0([0x68,0x61,0x73,0x68])]:{[_0x16fee0([0x6e,0x61,0x6d,0x65])]:_0x16fee0([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x125e22,_0x34dbe3,_0x49703b)||(_0x4d9d1a=!0x1);}}function _0xd43b42(_0x4ace04){return _0x4ace04[_0x16fee0([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x16fee0([0x65,0x79]))?JSON[_0x16fee0([0x70,0x61,0x72,0x73,0x65])](_0x2fb89e(_0x4ace04)):null;}function _0x2fb89e(_0x475391){return window[_0x16fee0([0x61,0x74,0x6f,0x62])](_0x475391[_0x16fee0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x16fee0([0x2b]))[_0x16fee0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x16fee0([0x2f])));}function _0x41f1e2(_0x384f07){let _0x1d924a=0x1505;function _0x380ee6(_0x4f272b){for(let _0x1b45dd=0x0;_0x1b45dd<_0x4f272b[_0x16fee0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1b45dd++){const _0x28a463=_0x4f272b[_0x16fee0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1b45dd);_0x1d924a=(_0x1d924a<<0x5)+_0x1d924a+_0x28a463,_0x1d924a&=_0x1d924a;}}function _0x8f2f81(_0x273141){Array[_0x16fee0([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x273141)?_0x273141[_0x16fee0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x8f2f81):_0x273141&&typeof _0x273141==_0x16fee0([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x16fee0([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x273141)[_0x16fee0([0x73,0x6f,0x72,0x74])]()[_0x16fee0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x50c7e8,_0x45eba7])=>{_0x380ee6(_0x50c7e8),_0x8f2f81(_0x45eba7);}):_0x380ee6(window[_0x16fee0([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x273141));}return _0x8f2f81(_0x384f07),_0x1d924a>>>0x0;}function _0x1563dd(_0x304f47){return _0x304f47[_0x16fee0([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x16fee0([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x16fee0([0x30]));}function _0x2e1f23(_0x3561ed){return _0x3561ed[_0x16fee0([0x73,0x70,0x6c,0x69,0x74])]('')[_0x16fee0([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x16fee0([0x6a,0x6f,0x69,0x6e])]('');}function _0x299ba6(){}function _0x16fee0(_0xe7f7fa){const _0x924144=_0x372b;return _0xe7f7fa[_0x924144(0x14c)](_0x2f1979=>String[_0x924144(0x14a)](_0x2f1979))[_0x924144(0x164)]('');}_0x5a1e55(await _0x165216());}(this);}[_0x210a6b(0x14e)](_0x336573,_0x46eda8){const _0x2a6369=_0x210a6b,{editor:_0x43ce33}=this,_0x38b8e0=new _0x5a3ee0(_0x336573);return _0x38b8e0[_0x2a6369(0x14d)]({'attributes':{'role':_0x2a6369(0x152),'class':[_0x2a6369(0x167)]}}),_0x38b8e0[_0x2a6369(0x16a)][_0x2a6369(0x141)](_0x46eda8[_0x2a6369(0x14c)]((_0x216e46,_0x12d10d)=>{const _0x512bbd=_0x2a6369,_0x32ed86=new _0x32cf65(_0x336573,_0x12d10d),_0x25b2c4=new _0x17547b(_0x336573,_0x216e46);return _0x32ed86[_0x512bbd(0x140)]=_0x25b2c4,_0x32ed86[_0x512bbd(0x15b)][_0x512bbd(0x17a)](_0x25b2c4),_0x32ed86[_0x512bbd(0x140)]['on'](_0x512bbd(0x13f),_0x112236=>{const _0x44d279=_0x512bbd;_0x43ce33[_0x44d279(0x13f)](_0x44d279(0x173),_0x112236[_0x44d279(0x170)][_0x44d279(0x161)][_0x44d279(0x156)]),_0x43ce33[_0x44d279(0x14b)][_0x44d279(0x174)][_0x44d279(0x17b)]();}),_0x32ed86;})),_0x38b8e0;}}