@ckeditor/ckeditor5-template 46.0.1-alpha.6 → 46.0.1-alpha.7

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:()=>q,TemplateCommand:()=>o,TemplateEditing:()=>u,TemplateUI:()=>U});var t=n(782);const e=s;function i(){const t=["execute","59406hpLUpF","178407LflxzH","28VzTjYf","string","45NDrNZj","toModel","1401016wroFCR","2541196sKDAUQ","change","editor","function","toView","htmlProcessor","insertContent","data","155834DiVwBd","5VYiVPB","1145060AdDlFP","42045YkJyTf"];return(i=function(){return t})()}function s(t,e){const n=i();return(s=function(t,e){return n[t-=256]})(t,e)}!function(t){const e=s,n=t();for(;;)try{if(226977===parseInt(e(259))/1*(parseInt(e(258))/2)+-parseInt(e(264))/3+-parseInt(e(265))/4*(parseInt(e(261))/5)+-parseInt(e(263))/6+parseInt(e(270))/7+parseInt(e(269))/8+-parseInt(e(267))/9*(parseInt(e(260))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(i);class o extends t.Command{[e(262)](t){const n=e,{model:r}=this[n(272)];let i;switch(typeof t){case n(266):i=t;break;case n(273):i=t()}n(266)==typeof i&&r[n(271)](()=>{const t=n,e=this[t(272)][t(257)][t(275)][t(274)](i),s=this[t(272)][t(257)][t(268)](e);r[t(256)](s)})}}const c=a;function a(t,e){const n=l();return(a=function(t,e){return n[t-=340]})(t,e)}function l(){const t=["_showLicenseError","invalid","templateLicenseKeyUsageLimit","_licenseKeyCheckInterval","add","featureNotAllowed","insertTemplate","trialLimit","templateLicenseKeyEvaluationLimit","destroy","Template","licenseKey","config","usageLimit","8561mTvvrd","1803660kWnoje","212356LGRYGF","pluginName","122UnpJZt","templateLicenseKeyInvalid","get","TemplateEditing","32hfnGQy","templateLicenseKeyValid","templateLicenseKeyExpired","editor","isPremiumPlugin","templateLicenseKeyDomainLimit","init","templateLicenseKeyNotAllowed","179963RtPxAp","domainLimit","commands","isOfficialPlugin","5115846bjDKtQ","evaluationLimit","expired","24YothhB","452457NszTsk","4042410PGMdYt","templateLicenseKeyTrialLimit"];return(l=function(){return t})()}!function(t){const e=a,n=t();for(;;)try{if(536240===-parseInt(e(372))/1*(parseInt(e(376))/2)+-parseInt(e(354))/3*(-parseInt(e(374))/4)+parseInt(e(373))/5+parseInt(e(351))/6+parseInt(e(347))/7+-parseInt(e(380))/8*(parseInt(e(355))/9)+-parseInt(e(356))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(l);class u extends t.Plugin{[c(369)];[c(361)];static get[c(375)](){return c(379)}static get[c(350)](){return!0}static get[c(343)](){return!0}[c(345)](){const t=c,{editor:e}=this;e[t(349)][t(362)](t(364),new o(e)),this[t(369)]=this[t(342)][t(370)][t(378)](t(369));const n=this[t(342)];this[t(361)]=setInterval(()=>{const e=t;let r;for(const t in n){const i=t,s=n[i];if(e(340)==s||e(377)==s||e(341)==s||e(344)==s||e(346)==s||e(366)==s||e(357)==s||e(360)==s){delete n[i],r=s,clearInterval(this[e(361)]),this[e(361)]=void 0;break}}e(377)==r&&n[e(358)](e(359)),e(341)==r&&n[e(358)](e(353)),e(344)==r&&n[e(358)](e(348)),e(346)==r&&n[e(358)](e(363),e(368)),e(366)==r&&n[e(358)](e(352)),e(357)==r&&n[e(358)](e(365)),e(360)==r&&n[e(358)](e(371))},1e3)}[c(367)](){const t=c;super[t(367)](),this[t(361)]&&clearInterval(this[t(361)])}}var p=n(355),f=n(311),d=n(584);function m(){const t=["70IfoFAI","forEach","filter","clear","set","_resetFiltering","items","7183760DaqjvQ","highlightText","45NBraiZ","179938YZWBTo","originalIndex","isMatching","addMany","1232028BQDclB","get","isVisible","size","length","6353564oqNMNW","sort","map","3893568GZAxKP","984714TcrFvB","7YfmsvH","6508288bUEllR","buttonView","title"];return(m=function(){return t})()}const h=k;function k(t,e){const n=m();return(k=function(t,e){return n[t-=461]})(t,e)}!function(t){const e=k,n=t();for(;;)try{if(829076===parseInt(e(485))/1*(parseInt(e(471))/2)+parseInt(e(483))/3+-parseInt(e(486))/4+parseInt(e(470))/5*(parseInt(e(484))/6)+parseInt(e(480))/7+-parseInt(e(468))/8+parseInt(e(475))/9*(-parseInt(e(461))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(m);class w extends f.ListView{[h(463)](t){const e=h;if(!t)return this[e(466)]();const n=new Map,r=this[e(467)][e(482)](r=>{const i=e,s=r[i(487)][i(473)](t);return r[i(477)]=!!s,r[i(487)][i(469)](s?t:null),s&&n[i(465)](r,s),r})[e(481)](g)[e(481)]((i=n,function(t,e){const n=k,r=i[n(476)](t),s=i[n(476)](e);return r&&!s?-1:s&&!r?1:r||s?r[n(488)]&&!s[n(488)]?-1:!r[n(488)]&&s[n(488)]?1:0:0}));var i;return this[e(467)][e(464)](),this[e(467)][e(474)](r),{resultsCount:n[e(478)],totalItemsCount:this[e(467)][e(479)]}}[h(466)](){const t=h,e=this[t(467)][t(482)](t=>t)[t(481)](g);return e[t(462)](e=>{const n=t;e[n(477)]=!0,e[n(487)][n(469)](null)}),this[t(467)][t(464)](),this[t(467)][t(474)](e),{resultsCount:e[t(479)],totalItemsCount:e[t(479)]}}}function g(t,e){const n=h;return t[n(472)]-e[n(472)]}var v=b;function I(){var t=["buttonView","9051776gFywMY","973ygXEue","8801496zCofeM","682810HZSlIM","7815bDfFif","23742IbJgMS","2XfRqIU","15608460rsdgfX","945130QrLgzg","312tamrpd","originalIndex"];return(I=function(){return t})()}function b(t,e){var n=I();return(b=function(t,e){return n[t-=387]})(t,e)}!function(t){for(var e=b,n=t();;)try{if(606831===-parseInt(e(395))/1*(-parseInt(e(397))/2)+parseInt(e(393))/3*(-parseInt(e(398))/4)+-parseInt(e(392))/5+-parseInt(e(394))/6*(-parseInt(e(390))/7)+-parseInt(e(389))/8+-parseInt(e(391))/9+parseInt(e(396))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(I);class y extends f.ListItemView{[v(387)];[v(388)];constructor(t,e){var n=v;super(t),this[n(387)]=e,this[n(388)]=null}}const x=T;function _(){const t=["58sQFHWu","match","ck-button__label","destroy","isMatching","361843jDsPQw","labelView","templateDefinition","10vdfitq","text","textPartView","locale","remove","isColorInherited","setTemplate","9848133cemeqI","2799iVnqiW","element","ck-template-form__text-part","highlightText","render","titleView","div","iconView","set","span","1352832juoriF","push","children","ck-template-button","908026MjHzRv","8ofUxsX","option","5749960VtMnDb","description","descriptionView","1129560HGtoQS","ck-template-form__description","title","add","extendTemplate"];return(_=function(){return t})()}function T(t,e){const n=_();return(T=function(t,e){return n[t-=356]})(t,e)}!function(t){const e=T,n=t();for(;;)try{if(369478===parseInt(e(367))/1+-parseInt(e(362))/2*(-parseInt(e(378))/3)+parseInt(e(393))/4*(parseInt(e(357))/5)+-parseInt(e(388))/6+parseInt(e(392))/7+parseInt(e(395))/8+-parseInt(e(377))/9*(parseInt(e(370))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(_);class V extends f.ButtonView{[x(369)];[x(372)];constructor(t,e){const n=x;super(t),this[n(369)]=e,this[n(372)]=null;const{icon:r=p.IconTemplateGeneric}=e;this[n(386)]({withText:!0,class:n(391),role:n(394),icon:r}),this[n(385)][n(375)]=!1}[x(382)](){const t=x;super[t(382)](),this[t(372)]=new L(this[t(373)],this[t(369)],this[t(368)][t(379)].id),this[t(390)][t(374)](this[t(368)]),this[t(390)][t(360)](this[t(372)])}[x(365)](){const t=x;super[t(365)](),this[t(368)][t(365)]()}[x(366)](t){const e=x,{title:n,description:r}=this[e(369)],i=!!n[e(363)](t),s=!(!r||!r[e(363)](t));return i||s?{title:i,description:s}:null}[x(381)](t){const e=x;this[e(372)][e(381)](t)}}class L extends f.View{constructor(t,e,n){const r=x;super(t),this[r(359)]=e[r(359)],this[r(396)]=e[r(396)],this[r(383)]=new f.HighlightedTextView,this[r(383)][r(371)]=this[r(359)],this[r(383)][r(361)]({tag:r(387),attributes:{class:[r(364)],id:n}});const i=[this[r(383)]];this[r(396)]&&(this[r(356)]=new f.HighlightedTextView,this[r(356)][r(371)]=this[r(396)],this[r(356)][r(361)]({tag:"p",attributes:{class:[r(358)]}}),i[r(389)](this[r(356)])),this[r(376)]({tag:r(384),attributes:{class:["ck",r(380)]},children:i})}[x(381)](t){const e=x;this[e(383)][e(381)](t),this[e(396)]&&this[e(356)][e(381)](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 N=n(673),S=n.n(N),P=n(545),C=n.n(P),A=n(262),j=n.n(A),B=n(667),E=n.n(B),K=n(357),z=n.n(K),F=n(175),O={attributes:{"data-cke":!0}};O.setAttributes=E(),O.insert=j().bind(null,"head"),O.domAPI=C(),O.insertStyleElement=z();S()(F.A,O);F.A&&F.A.locals&&F.A.locals;function D(t,e){const n=H();return(D=function(t,e){return n[t-=452]})(t,e)}const R=D;function H(){const t=["search","get","bind","href","ariaLiveAnnouncer","ck-template-form","editing","focus","fromCharCode","init","147249ViYJtk","add","panelView","delegate","No templates available.","execute","isPremiumPlugin","2216163rrKtzS","map","isOfficialPlugin","extendTemplate","buttonView","ck-template-list","data","pluginName","isEnabled","8991136UvsSMW","430vRzJIs","change:isOpen","menuBar:insertTemplate","1CAFzOC","Insert template","set","resultsCount",'No templates were found matching "%0".',"addMany","join","length","componentFactory","Template","config","title","reset","commands","announce","children","1284476TFshNO","templateDefinition","14vEikVB","source","633096oenXkb","icon","57400QBtklZ","template.definitions","insertTemplate","%0 templates found","2732344NFTyUy","afterInit","items","468hbUQJt","Search template","_createTemplateListView","ck-template-button","listbox","query","Please try a different phrase or check the spelling.","view","TemplateUI"];return(H=function(){return t})()}!function(t){const e=D,n=t();for(;;)try{if(949087===-parseInt(e(517))/1*(-parseInt(e(469))/2)+-parseInt(e(504))/3+-parseInt(e(465))/4+parseInt(e(471))/5*(parseInt(e(478))/6)+-parseInt(e(467))/7*(-parseInt(e(475))/8)+-parseInt(e(497))/9*(parseInt(e(514))/10)+parseInt(e(513))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(H);class U extends t.Plugin{static get[R(511)](){return R(486)}static get[R(506)](){return!0}static get[R(503)](){return!0}[R(496)](){const t=R,{editor:e}=this,n=e[t(459)][t(488)](t(472))||[];e.ui[t(457)][t(498)](t(473),r=>{const i=t,s=(0,f.createDropdown)(r),o=this[i(480)](r,n),c=new f.SearchTextView(r,{filteredView:o,queryView:{label:M(r,i(479))},class:i(492),infoView:{text:{notFound:{primary:t=>M(r,i(453),t),secondary:M(r,i(484))},noSearchableItems:{primary:M(r,i(501))}}}}),a=e[i(462)][i(488)](i(473));return c.on(i(487),(t,n)=>{const s=i;n[s(483)]&&n[s(483)][s(456)]&&e.ui[s(491)][s(463)](M(r,s(474),n[s(452)]))}),s[i(489)](i(512)).to(a),s[i(499)][i(464)][i(498)](c),s[i(508)][i(519)]({label:M(r,i(518)),icon:p.IconTemplate,tooltip:!0}),s.on(i(515),(t,e,n)=>{n||c[i(461)]()}),s}),e.ui[t(457)][t(498)](t(516),r=>{const i=t,s=e[i(462)][i(488)](i(473)),o=new f.MenuBarMenuView(r);o[i(508)][i(519)]({label:M(r,i(458)),icon:p.IconTemplate});const c=new f.MenuBarMenuListView(r);if(!n||!n[i(456)]){const t=new f.MenuBarMenuListItemView(r,o),n=new f.MenuBarMenuListItemButtonView(r);n[i(519)]({label:M(r,i(501))}),n[i(500)](i(502)).to(o),n.on(i(502),()=>{const t=i;e[t(493)][t(485)][t(494)]()}),t[i(464)][i(498)](n),c[i(477)][i(498)](t)}for(const t of n){const n=new f.MenuBarMenuListItemView(r,o),s=new f.MenuBarMenuListItemButtonView(r);s[i(519)]({class:i(481),label:t[i(460)],icon:t[i(470)]||p.IconTemplateGeneric}),s[i(500)](i(502)).to(o),s.on(i(502),()=>{const n=i;e[n(502)](n(473),t[n(510)]),e[n(493)][n(485)][n(494)]()}),n[i(464)][i(498)](s),c[i(477)][i(498)](n)}return o[i(499)][i(464)][i(498)](c),o[i(489)](i(512)).to(s,i(512)),o})}[R(476)](){!async function(t){const e=h([90,56,81,114,77,86,52,55,110,122,108,65,48,74,117,89,84,70,54,121,102,82,115,75,49,97,111,109,67,50,69,85,113,120,112,66,105,116,118,106,79,78,76,71,72,99,57,107,53,88,87,101,68,73,119,104,83,100,103,98,51,80]),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=D;return t[e(505)](t=>String[e(495)](t))[e(455)]("")}!function(t){const n=function(){const t=window[h([83,116,114,105,110,103])](window[h([112,101,114,102,111,114,109,97,110,99,101])][h([110,111,119])]())[h([114,101,112,108,97,99,101])](h([46]),"");let n=h([90]);for(let r=0;r<t[h([108,101,110,103,116,104])];r+=2){let i=window[h([112,97,114,115,101,73,110,116])](t[h([115,117,98,115,116,114,105,110,103])](r,r+2));i>=e[h([108,101,110,103,116,104])]&&(i-=e[h([108,101,110,103,116,104])]),n+=e[i]}return n}();r[n]=h([116,101,109,112,108,97,116,101,76,105,99,101,110,115,101,75,101,121])+t,t!=h([86,97,108,105,100])&&async function(){await i,r[h([109,111,100,101,108])][h([99,104,97,110,103,101])]=m,r[h([109,111,100,101,108])][h([101,110,113,117,101,117,101,67,104,97,110,103,101])]=m,r[h([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](h([109,111,100,101,108]))}()}(await async function(){let t,e=null,m=null;try{return 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:1754352e3;return t[h([101,120,112])]<e}()?h([69,120,112,105,114,101,100]):function(){const e=D,n=t[h([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[h([108,101,110,103,116,104])])return!0;const{hostname:r}=new URL(window[h([108,111,99,97,116,105,111,110])][e(490)]);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)}[R(480)](t,e){const n=R,{editor:r}=this,i=new w(t);return i[n(507)]({attributes:{role:n(482),class:[n(509)]}}),i[n(477)][n(454)](e[n(505)]((e,i)=>{const s=n,o=new y(t,i),c=new V(t,e);return o[s(508)]=c,o[s(464)][s(498)](c),o[s(508)].on(s(502),t=>{const e=s;r[e(502)](e(473),t[e(468)][e(466)][e(510)]),r[e(493)][e(485)][e(494)]()}),o})),i}}var Q=Y;function Y(t,e){var n=G();return(Y=function(t,e){return n[t-=111]})(t,e)}!function(t){for(var e=Y,n=t();;)try{if(243014===parseInt(e(118))/1*(parseInt(e(112))/2)+parseInt(e(121))/3+parseInt(e(117))/4+-parseInt(e(122))/5+-parseInt(e(119))/6+parseInt(e(123))/7+-parseInt(e(116))/8)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(G);class q extends t.Plugin{static get[Q(111)](){return[u,U]}static get[Q(114)](){return Q(113)}static get[Q(120)](){return!0}static get[Q(115)](){return!0}}function G(){var t=["592484bMInVB","1NCjoTs","2004150UVwEzs","isOfficialPlugin","656718jAgplb","428795GxPjkm","851249tcgaul","requires","528636HLuHsH","Template","pluginName","isPremiumPlugin","721232LbKZTa"];return(G=function(){return t})()}function W(){var t=["164774vWNwTp","1772290RTSXSI","13QHSRoE","1011780TYXdBq","14606052zWdkkh","1073859SGxMWy","2394224AkCWmw","1aKxbdd","77jKtpEZ","24bcnNNA","16QwIcnD","3586941FXHtYB","16ldRpNR"];return(W=function(){return t})()}function Z(t,e){var n=W();return(Z=function(t,e){return n[t-=360]})(t,e)}!function(t){for(var e=Z,n=t();;)try{if(746437===-parseInt(e(370))/1*(parseInt(e(363))/2)+-parseInt(e(368))/3*(parseInt(e(360))/4)+-parseInt(e(364))/5*(-parseInt(e(372))/6)+-parseInt(e(369))/7*(parseInt(e(362))/8)+-parseInt(e(361))/9+-parseInt(e(366))/10*(-parseInt(e(371))/11)+parseInt(e(367))/12*(parseInt(e(365))/13))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(W)})(),(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:()=>U,TemplateCommand:()=>o,TemplateEditing:()=>u,TemplateUI:()=>q});var t=n(782);const e=s;function i(){const t=["execute","59406hpLUpF","178407LflxzH","28VzTjYf","string","45NDrNZj","toModel","1401016wroFCR","2541196sKDAUQ","change","editor","function","toView","htmlProcessor","insertContent","data","155834DiVwBd","5VYiVPB","1145060AdDlFP","42045YkJyTf"];return(i=function(){return t})()}function s(t,e){const n=i();return(s=function(t,e){return n[t-=256]})(t,e)}!function(t){const e=s,n=t();for(;;)try{if(226977===parseInt(e(259))/1*(parseInt(e(258))/2)+-parseInt(e(264))/3+-parseInt(e(265))/4*(parseInt(e(261))/5)+-parseInt(e(263))/6+parseInt(e(270))/7+parseInt(e(269))/8+-parseInt(e(267))/9*(parseInt(e(260))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(i);class o extends t.Command{[e(262)](t){const n=e,{model:r}=this[n(272)];let i;switch(typeof t){case n(266):i=t;break;case n(273):i=t()}n(266)==typeof i&&r[n(271)](()=>{const t=n,e=this[t(272)][t(257)][t(275)][t(274)](i),s=this[t(272)][t(257)][t(268)](e);r[t(256)](s)})}}const c=a;function a(t,e){const n=l();return(a=function(t,e){return n[t-=340]})(t,e)}function l(){const t=["_showLicenseError","invalid","templateLicenseKeyUsageLimit","_licenseKeyCheckInterval","add","featureNotAllowed","insertTemplate","trialLimit","templateLicenseKeyEvaluationLimit","destroy","Template","licenseKey","config","usageLimit","8561mTvvrd","1803660kWnoje","212356LGRYGF","pluginName","122UnpJZt","templateLicenseKeyInvalid","get","TemplateEditing","32hfnGQy","templateLicenseKeyValid","templateLicenseKeyExpired","editor","isPremiumPlugin","templateLicenseKeyDomainLimit","init","templateLicenseKeyNotAllowed","179963RtPxAp","domainLimit","commands","isOfficialPlugin","5115846bjDKtQ","evaluationLimit","expired","24YothhB","452457NszTsk","4042410PGMdYt","templateLicenseKeyTrialLimit"];return(l=function(){return t})()}!function(t){const e=a,n=t();for(;;)try{if(536240===-parseInt(e(372))/1*(parseInt(e(376))/2)+-parseInt(e(354))/3*(-parseInt(e(374))/4)+parseInt(e(373))/5+parseInt(e(351))/6+parseInt(e(347))/7+-parseInt(e(380))/8*(parseInt(e(355))/9)+-parseInt(e(356))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(l);class u extends t.Plugin{[c(369)];[c(361)];static get[c(375)](){return c(379)}static get[c(350)](){return!0}static get[c(343)](){return!0}[c(345)](){const t=c,{editor:e}=this;e[t(349)][t(362)](t(364),new o(e)),this[t(369)]=this[t(342)][t(370)][t(378)](t(369));const n=this[t(342)];this[t(361)]=setInterval(()=>{const e=t;let r;for(const t in n){const i=t,s=n[i];if(e(340)==s||e(377)==s||e(341)==s||e(344)==s||e(346)==s||e(366)==s||e(357)==s||e(360)==s){delete n[i],r=s,clearInterval(this[e(361)]),this[e(361)]=void 0;break}}e(377)==r&&n[e(358)](e(359)),e(341)==r&&n[e(358)](e(353)),e(344)==r&&n[e(358)](e(348)),e(346)==r&&n[e(358)](e(363),e(368)),e(366)==r&&n[e(358)](e(352)),e(357)==r&&n[e(358)](e(365)),e(360)==r&&n[e(358)](e(371))},1e3)}[c(367)](){const t=c;super[t(367)](),this[t(361)]&&clearInterval(this[t(361)])}}var p=n(355),f=n(311),d=n(584);function m(){const t=["70IfoFAI","forEach","filter","clear","set","_resetFiltering","items","7183760DaqjvQ","highlightText","45NBraiZ","179938YZWBTo","originalIndex","isMatching","addMany","1232028BQDclB","get","isVisible","size","length","6353564oqNMNW","sort","map","3893568GZAxKP","984714TcrFvB","7YfmsvH","6508288bUEllR","buttonView","title"];return(m=function(){return t})()}const h=k;function k(t,e){const n=m();return(k=function(t,e){return n[t-=461]})(t,e)}!function(t){const e=k,n=t();for(;;)try{if(829076===parseInt(e(485))/1*(parseInt(e(471))/2)+parseInt(e(483))/3+-parseInt(e(486))/4+parseInt(e(470))/5*(parseInt(e(484))/6)+parseInt(e(480))/7+-parseInt(e(468))/8+parseInt(e(475))/9*(-parseInt(e(461))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(m);class w extends f.ListView{[h(463)](t){const e=h;if(!t)return this[e(466)]();const n=new Map,r=this[e(467)][e(482)](r=>{const i=e,s=r[i(487)][i(473)](t);return r[i(477)]=!!s,r[i(487)][i(469)](s?t:null),s&&n[i(465)](r,s),r})[e(481)](g)[e(481)]((i=n,function(t,e){const n=k,r=i[n(476)](t),s=i[n(476)](e);return r&&!s?-1:s&&!r?1:r||s?r[n(488)]&&!s[n(488)]?-1:!r[n(488)]&&s[n(488)]?1:0:0}));var i;return this[e(467)][e(464)](),this[e(467)][e(474)](r),{resultsCount:n[e(478)],totalItemsCount:this[e(467)][e(479)]}}[h(466)](){const t=h,e=this[t(467)][t(482)](t=>t)[t(481)](g);return e[t(462)](e=>{const n=t;e[n(477)]=!0,e[n(487)][n(469)](null)}),this[t(467)][t(464)](),this[t(467)][t(474)](e),{resultsCount:e[t(479)],totalItemsCount:e[t(479)]}}}function g(t,e){const n=h;return t[n(472)]-e[n(472)]}var v=b;function I(){var t=["buttonView","9051776gFywMY","973ygXEue","8801496zCofeM","682810HZSlIM","7815bDfFif","23742IbJgMS","2XfRqIU","15608460rsdgfX","945130QrLgzg","312tamrpd","originalIndex"];return(I=function(){return t})()}function b(t,e){var n=I();return(b=function(t,e){return n[t-=387]})(t,e)}!function(t){for(var e=b,n=t();;)try{if(606831===-parseInt(e(395))/1*(-parseInt(e(397))/2)+parseInt(e(393))/3*(-parseInt(e(398))/4)+-parseInt(e(392))/5+-parseInt(e(394))/6*(-parseInt(e(390))/7)+-parseInt(e(389))/8+-parseInt(e(391))/9+parseInt(e(396))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(I);class y extends f.ListItemView{[v(387)];[v(388)];constructor(t,e){var n=v;super(t),this[n(387)]=e,this[n(388)]=null}}const x=T;function _(){const t=["58sQFHWu","match","ck-button__label","destroy","isMatching","361843jDsPQw","labelView","templateDefinition","10vdfitq","text","textPartView","locale","remove","isColorInherited","setTemplate","9848133cemeqI","2799iVnqiW","element","ck-template-form__text-part","highlightText","render","titleView","div","iconView","set","span","1352832juoriF","push","children","ck-template-button","908026MjHzRv","8ofUxsX","option","5749960VtMnDb","description","descriptionView","1129560HGtoQS","ck-template-form__description","title","add","extendTemplate"];return(_=function(){return t})()}function T(t,e){const n=_();return(T=function(t,e){return n[t-=356]})(t,e)}!function(t){const e=T,n=t();for(;;)try{if(369478===parseInt(e(367))/1+-parseInt(e(362))/2*(-parseInt(e(378))/3)+parseInt(e(393))/4*(parseInt(e(357))/5)+-parseInt(e(388))/6+parseInt(e(392))/7+parseInt(e(395))/8+-parseInt(e(377))/9*(parseInt(e(370))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(_);class L extends f.ButtonView{[x(369)];[x(372)];constructor(t,e){const n=x;super(t),this[n(369)]=e,this[n(372)]=null;const{icon:r=p.IconTemplateGeneric}=e;this[n(386)]({withText:!0,class:n(391),role:n(394),icon:r}),this[n(385)][n(375)]=!1}[x(382)](){const t=x;super[t(382)](),this[t(372)]=new M(this[t(373)],this[t(369)],this[t(368)][t(379)].id),this[t(390)][t(374)](this[t(368)]),this[t(390)][t(360)](this[t(372)])}[x(365)](){const t=x;super[t(365)](),this[t(368)][t(365)]()}[x(366)](t){const e=x,{title:n,description:r}=this[e(369)],i=!!n[e(363)](t),s=!(!r||!r[e(363)](t));return i||s?{title:i,description:s}:null}[x(381)](t){const e=x;this[e(372)][e(381)](t)}}class M extends f.View{constructor(t,e,n){const r=x;super(t),this[r(359)]=e[r(359)],this[r(396)]=e[r(396)],this[r(383)]=new f.HighlightedTextView,this[r(383)][r(371)]=this[r(359)],this[r(383)][r(361)]({tag:r(387),attributes:{class:[r(364)],id:n}});const i=[this[r(383)]];this[r(396)]&&(this[r(356)]=new f.HighlightedTextView,this[r(356)][r(371)]=this[r(396)],this[r(356)][r(361)]({tag:"p",attributes:{class:[r(358)]}}),i[r(389)](this[r(356)])),this[r(376)]({tag:r(384),attributes:{class:["ck",r(380)]},children:i})}[x(381)](t){const e=x;this[e(383)][e(381)](t),this[e(396)]&&this[e(356)][e(381)](t)}}function V(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 N=n(673),S=n.n(N),C=n(545),P=n.n(C),j=n(262),A=n.n(j),B=n(667),E=n.n(B),K=n(357),D=n.n(K),H=n(175),O={attributes:{"data-cke":!0}};O.setAttributes=E(),O.insert=A().bind(null,"head"),O.domAPI=P(),O.insertStyleElement=D();S()(H.A,O);H.A&&H.A.locals&&H.A.locals;const z=R;function F(){const t=["set","11134nkJqNY","items","template.definitions","ck-template-form","ck-template-button","children","5644168wqrege","focus","1276GLDLHH","map","Template","39540677GUCHRk","202qvmfSC","commands","icon","addMany","_createTemplateListView","templateDefinition","query","panelView","delegate","Insert template","TemplateUI","length","%0 templates found","init","announce",'No templates were found matching "%0".',"get","change:isOpen","afterInit","join","editing","10LbjebC","source","ck-template-list","13045wHWpeF","isPremiumPlugin","2952144bbslvR","buttonView","fromCharCode","isOfficialPlugin","add","Please try a different phrase or check the spelling.","1233132xYMold","2966499OmCSpI","view","pluginName","href","Search template","bind","resultsCount","componentFactory","data","reset","listbox","extendTemplate","No templates available.","ariaLiveAnnouncer","isEnabled","7lbTABp","menuBar:insertTemplate","execute","config","insertTemplate","search","title"];return(F=function(){return t})()}function R(t,e){const n=F();return(R=function(t,e){return n[t-=163]})(t,e)}!function(t){const e=R,n=t();for(;;)try{if(824142===parseInt(e(227))/1*(-parseInt(e(171))/2)+-parseInt(e(197))/3+-parseInt(e(167))/4*(parseInt(e(195))/5)+parseInt(e(203))/6*(-parseInt(e(219))/7)+parseInt(e(165))/8+parseInt(e(204))/9*(-parseInt(e(192))/10)+parseInt(e(170))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(F);class q extends t.Plugin{static get[z(206)](){return z(181)}static get[z(200)](){return!0}static get[z(196)](){return!0}[z(184)](){const t=z,{editor:e}=this,n=e[t(222)][t(187)](t(229))||[];e.ui[t(211)][t(201)](t(223),r=>{const i=t,s=(0,f.createDropdown)(r),o=this[i(175)](r,n),c=new f.SearchTextView(r,{filteredView:o,queryView:{label:V(r,i(208))},class:i(230),infoView:{text:{notFound:{primary:t=>V(r,i(186),t),secondary:V(r,i(202))},noSearchableItems:{primary:V(r,i(216))}}}}),a=e[i(172)][i(187)](i(223));return c.on(i(224),(t,n)=>{const s=i;n[s(177)]&&n[s(177)][s(182)]&&e.ui[s(217)][s(185)](V(r,s(183),n[s(210)]))}),s[i(209)](i(218)).to(a),s[i(178)][i(164)][i(201)](c),s[i(198)][i(226)]({label:V(r,i(180)),icon:p.IconTemplate,tooltip:!0}),s.on(i(188),(t,e,n)=>{n||c[i(213)]()}),s}),e.ui[t(211)][t(201)](t(220),r=>{const i=t,s=e[i(172)][i(187)](i(223)),o=new f.MenuBarMenuView(r);o[i(198)][i(226)]({label:V(r,i(169)),icon:p.IconTemplate});const c=new f.MenuBarMenuListView(r);if(!n||!n[i(182)]){const t=new f.MenuBarMenuListItemView(r,o),n=new f.MenuBarMenuListItemButtonView(r);n[i(226)]({label:V(r,i(216))}),n[i(179)](i(221)).to(o),n.on(i(221),()=>{const t=i;e[t(191)][t(205)][t(166)]()}),t[i(164)][i(201)](n),c[i(228)][i(201)](t)}for(const t of n){const n=new f.MenuBarMenuListItemView(r,o),s=new f.MenuBarMenuListItemButtonView(r);s[i(226)]({class:i(163),label:t[i(225)],icon:t[i(173)]||p.IconTemplateGeneric}),s[i(179)](i(221)).to(o),s.on(i(221),()=>{const n=i;e[n(221)](n(223),t[n(212)]),e[n(191)][n(205)][n(166)]()}),n[i(164)][i(201)](s),c[i(228)][i(201)](n)}return o[i(178)][i(164)][i(201)](c),o[i(209)](i(218)).to(s,i(218)),o})}[z(189)](){!async function(t){const e=h([109,98,72,105,54,74,81,51,78,48,107,86,75,83,100,111,87,70,77,122,67,99,50,114,80,49,69,113,90,118,82,56,103,57,65,120,55,89,115,102,106,110,112,52,85,66,88,79,119,104,76,101,116,53,108,68,73,71,121,97,117,84]),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=R;return t[e(168)](t=>String[e(199)](t))[e(190)]("")}!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([109]);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:1754352e3;return t[h([101,120,112])]<e}()?h([69,120,112,105,114,101,100]):function(){const e=R,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(207)]);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)}[z(175)](t,e){const n=z,{editor:r}=this,i=new w(t);return i[n(215)]({attributes:{role:n(214),class:[n(194)]}}),i[n(228)][n(174)](e[n(168)]((e,i)=>{const s=n,o=new y(t,i),c=new L(t,e);return o[s(198)]=c,o[s(164)][s(201)](c),o[s(198)].on(s(221),t=>{const e=s;r[e(221)](e(223),t[e(193)][e(176)][e(212)]),r[e(191)][e(205)][e(166)]()}),o})),i}}var Y=G;function G(t,e){var n=Q();return(G=function(t,e){return n[t-=111]})(t,e)}!function(t){for(var e=G,n=t();;)try{if(243014===parseInt(e(118))/1*(parseInt(e(112))/2)+parseInt(e(121))/3+parseInt(e(117))/4+-parseInt(e(122))/5+-parseInt(e(119))/6+parseInt(e(123))/7+-parseInt(e(116))/8)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Q);class U extends t.Plugin{static get[Y(111)](){return[u,q]}static get[Y(114)](){return Y(113)}static get[Y(120)](){return!0}static get[Y(115)](){return!0}}function Q(){var t=["592484bMInVB","1NCjoTs","2004150UVwEzs","isOfficialPlugin","656718jAgplb","428795GxPjkm","851249tcgaul","requires","528636HLuHsH","Template","pluginName","isPremiumPlugin","721232LbKZTa"];return(Q=function(){return t})()}function W(){var t=["164774vWNwTp","1772290RTSXSI","13QHSRoE","1011780TYXdBq","14606052zWdkkh","1073859SGxMWy","2394224AkCWmw","1aKxbdd","77jKtpEZ","24bcnNNA","16QwIcnD","3586941FXHtYB","16ldRpNR"];return(W=function(){return t})()}function Z(t,e){var n=W();return(Z=function(t,e){return n[t-=360]})(t,e)}!function(t){for(var e=Z,n=t();;)try{if(746437===-parseInt(e(370))/1*(parseInt(e(363))/2)+-parseInt(e(368))/3*(parseInt(e(360))/4)+-parseInt(e(364))/5*(-parseInt(e(372))/6)+-parseInt(e(369))/7*(parseInt(e(362))/8)+-parseInt(e(361))/9+-parseInt(e(366))/10*(-parseInt(e(371))/11)+parseInt(e(367))/12*(parseInt(e(365))/13))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 _0x26a030,Plugin as _0x53eb5f}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconTemplateGeneric as _0x34042b,IconTemplate as _0x8895d5}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ListView as _0x4b073e,ListItemView as _0x42b888,ButtonView as _0x245f2e,View as _0x5abdb4,HighlightedTextView as _0x25ca12,createDropdown as _0x210301,SearchTextView as _0x26f9c1,MenuBarMenuView as _0x45a01e,MenuBarMenuListView as _0x2e9c34,MenuBarMenuListItemView as _0x292ba8,MenuBarMenuListItemButtonView as _0x55fa13}from'@ckeditor/ckeditor5-ui/dist/index.js';import{uid as _0x4209a7}from'@ckeditor/ckeditor5-utils/dist/index.js';class a extends _0x26a030{['execute'](_0x1bf856){const {model:_0x102349}=this['editor'];let _0x4c55a3;switch(typeof _0x1bf856){case'string':_0x4c55a3=_0x1bf856;break;case'function':_0x4c55a3=_0x1bf856();}'string'==typeof _0x4c55a3&&_0x102349['change'](()=>{const _0x9cecfb=this['editor']['data']['htmlProcessor']['toView'](_0x4c55a3),_0xfd7748=this['editor']['data']['toModel'](_0x9cecfb);_0x102349['insertContent'](_0xfd7748);});}}class i extends _0x53eb5f{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TemplateEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xe7acd3}=this;_0xe7acd3['commands']['add']('insertTemplate',new a(_0xe7acd3)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x5da239=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4a8910;for(const _0x3028dd in _0x5da239){const _0xaebda4=_0x3028dd,_0x294266=_0x5da239[_0xaebda4];if('templateLicenseKeyValid'==_0x294266||'templateLicenseKeyInvalid'==_0x294266||'templateLicenseKeyExpired'==_0x294266||'templateLicenseKeyDomainLimit'==_0x294266||'templateLicenseKeyNotAllowed'==_0x294266||'templateLicenseKeyEvaluationLimit'==_0x294266||'templateLicenseKeyTrialLimit'==_0x294266||'templateLicenseKeyUsageLimit'==_0x294266){delete _0x5da239[_0xaebda4],_0x4a8910=_0x294266,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'templateLicenseKeyInvalid'==_0x4a8910&&_0x5da239['_showLicenseError']('invalid'),'templateLicenseKeyExpired'==_0x4a8910&&_0x5da239['_showLicenseError']('expired'),'templateLicenseKeyDomainLimit'==_0x4a8910&&_0x5da239['_showLicenseError']('domainLimit'),'templateLicenseKeyNotAllowed'==_0x4a8910&&_0x5da239['_showLicenseError']('featureNotAllowed','Template'),'templateLicenseKeyEvaluationLimit'==_0x4a8910&&_0x5da239['_showLicenseError']('evaluationLimit'),'templateLicenseKeyTrialLimit'==_0x4a8910&&_0x5da239['_showLicenseError']('trialLimit'),'templateLicenseKeyUsageLimit'==_0x4a8910&&_0x5da239['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class y extends _0x4b073e{['filter'](_0x107a41){if(!_0x107a41)return this['_resetFiltering']();const _0x357024=new Map(),_0x870c39=this['items']['map'](_0x161b48=>{const _0x1a418e=_0x161b48['buttonView']['isMatching'](_0x107a41);return _0x161b48['isVisible']=!!_0x1a418e,_0x161b48['buttonView']['highlightText'](_0x1a418e?_0x107a41:null),_0x1a418e&&_0x357024['set'](_0x161b48,_0x1a418e),_0x161b48;})['sort'](j)['sort'](function(_0x9670f9){return function(_0x5804a6,_0x2d07cd){const _0x434882=_0x9670f9['get'](_0x5804a6),_0x3df4ef=_0x9670f9['get'](_0x2d07cd);return _0x434882&&!_0x3df4ef?-0x1:_0x3df4ef&&!_0x434882?0x1:_0x434882||_0x3df4ef?_0x434882['title']&&!_0x3df4ef['title']?-0x1:!_0x434882['title']&&_0x3df4ef['title']?0x1:0x0:0x0;};}(_0x357024));return this['items']['clear'](),this['items']['addMany'](_0x870c39),{'resultsCount':_0x357024['size'],'totalItemsCount':this['items']['length']};}['_resetFiltering'](){const _0x47d356=this['items']['map'](_0x45707b=>_0x45707b)['sort'](j);return _0x47d356['forEach'](_0x49071c=>{_0x49071c['isVisible']=!0x0,_0x49071c['buttonView']['highlightText'](null);}),this['items']['clear'](),this['items']['addMany'](_0x47d356),{'resultsCount':_0x47d356['length'],'totalItemsCount':_0x47d356['length']};}}function j(_0x42fd95,_0x4a2bc4){return _0x42fd95['originalIndex']-_0x4a2bc4['originalIndex'];}class b extends _0x42b888{['originalIndex'];['buttonView'];constructor(_0x418e91,_0xb77725){super(_0x418e91),this['originalIndex']=_0xb77725,this['buttonView']=null;}}class h extends _0x245f2e{['templateDefinition'];['textPartView'];constructor(_0x2097d9,_0x56d567){super(_0x2097d9),this['templateDefinition']=_0x56d567,this['textPartView']=null;const {icon:_0x3b8945=_0x34042b}=_0x56d567;this['set']({'withText':!0x0,'class':'ck-template-button','role':'option','icon':_0x3b8945}),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'](_0x1b0fd4){const {title:_0x473e06,description:_0x3ab56e}=this['templateDefinition'],_0x26dd3f=!!_0x473e06['match'](_0x1b0fd4),_0x1b1391=!(!_0x3ab56e||!_0x3ab56e['match'](_0x1b0fd4));return _0x26dd3f||_0x1b1391?{'title':_0x26dd3f,'description':_0x1b1391}:null;}['highlightText'](_0x3aa11f){this['textPartView']['highlightText'](_0x3aa11f);}}class L extends _0x5abdb4{constructor(_0x13a4c3,_0x46e1d6,_0x59793b){super(_0x13a4c3),this['title']=_0x46e1d6['title'],this['description']=_0x46e1d6['description'],this['titleView']=new _0x25ca12(),this['titleView']['text']=this['title'],this['titleView']['extendTemplate']({'tag':'span','attributes':{'class':['ck-button__label'],'id':_0x59793b}});const _0x5eff51=[this['titleView']];this['description']&&(this['descriptionView']=new _0x25ca12(),this['descriptionView']['text']=this['description'],this['descriptionView']['extendTemplate']({'tag':'p','attributes':{'class':['ck-template-form__description']}}),_0x5eff51['push'](this['descriptionView'])),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-template-form__text-part']},'children':_0x5eff51});}['highlightText'](_0x663d1){this['titleView']['highlightText'](_0x663d1),this['description']&&this['descriptionView']['highlightText'](_0x663d1);}}function g(_0x4f1d1c,_0x2deba2,..._0x3db151){const t=_0x4f1d1c['t'];switch(_0x2deba2){case'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':return t('No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',..._0x3db151);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',..._0x3db151);case'Search\x20template':return t('Search\x20template');case'Template':return t('Template');case'Insert\x20template':return t('Insert\x20template');default:return _0x2deba2;}}class s extends _0x53eb5f{static get['pluginName'](){return'TemplateUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x138dc3}=this,_0x544f3e=_0x138dc3['config']['get']('template.definitions')||[];_0x138dc3['ui']['componentFactory']['add']('insertTemplate',_0x290bfd=>{const _0x225c54=_0x210301(_0x290bfd),_0x3126ca=this['_createTemplateListView'](_0x290bfd,_0x544f3e),_0xcba053=new _0x26f9c1(_0x290bfd,{'filteredView':_0x3126ca,'queryView':{'label':g(_0x290bfd,'Search\x20template')},'class':'ck-template-form','infoView':{'text':{'notFound':{'primary':_0x419460=>g(_0x290bfd,'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',_0x419460),'secondary':g(_0x290bfd,'Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.')},'noSearchableItems':{'primary':g(_0x290bfd,'No\x20templates\x20available.')}}}}),_0xee3b14=_0x138dc3['commands']['get']('insertTemplate');return _0xcba053['on']('search',(_0x2c2f6a,_0x3de0a3)=>{_0x3de0a3['query']&&_0x3de0a3['query']['length']&&_0x138dc3['ui']['ariaLiveAnnouncer']['announce'](g(_0x290bfd,'%0\x20templates\x20found',_0x3de0a3['resultsCount']));}),_0x225c54['bind']('isEnabled')['to'](_0xee3b14),_0x225c54['panelView']['children']['add'](_0xcba053),_0x225c54['buttonView']['set']({'label':g(_0x290bfd,'Insert\x20template'),'icon':_0x8895d5,'tooltip':!0x0}),_0x225c54['on']('change:isOpen',(_0x32a389,_0x3c7bd7,_0xeb7e1f)=>{_0xeb7e1f||_0xcba053['reset']();}),_0x225c54;}),_0x138dc3['ui']['componentFactory']['add']('menuBar:insertTemplate',_0x53604a=>{const _0x425034=_0x138dc3['commands']['get']('insertTemplate'),_0x2411c3=new _0x45a01e(_0x53604a);_0x2411c3['buttonView']['set']({'label':g(_0x53604a,'Template'),'icon':_0x8895d5});const _0x533134=new _0x2e9c34(_0x53604a);if(!_0x544f3e||!_0x544f3e['length']){const _0x35641b=new _0x292ba8(_0x53604a,_0x2411c3),_0x205940=new _0x55fa13(_0x53604a);_0x205940['set']({'label':g(_0x53604a,'No\x20templates\x20available.')}),_0x205940['delegate']('execute')['to'](_0x2411c3),_0x205940['on']('execute',()=>{_0x138dc3['editing']['view']['focus']();}),_0x35641b['children']['add'](_0x205940),_0x533134['items']['add'](_0x35641b);}for(const _0xf1dabf of _0x544f3e){const _0x5b30a4=new _0x292ba8(_0x53604a,_0x2411c3),_0xb1c16=new _0x55fa13(_0x53604a);_0xb1c16['set']({'class':'ck-template-button','label':_0xf1dabf['title'],'icon':_0xf1dabf['icon']||_0x34042b}),_0xb1c16['delegate']('execute')['to'](_0x2411c3),_0xb1c16['on']('execute',()=>{_0x138dc3['execute']('insertTemplate',_0xf1dabf['data']),_0x138dc3['editing']['view']['focus']();}),_0x5b30a4['children']['add'](_0xb1c16),_0x533134['items']['add'](_0x5b30a4);}return _0x2411c3['panelView']['children']['add'](_0x533134),_0x2411c3['bind']('isEnabled')['to'](_0x425034,'isEnabled'),_0x2411c3;});}['afterInit'](){!async function(_0x19274e){const _0x5f5a3d=_0x184875([0x5a,0x38,0x51,0x72,0x4d,0x56,0x34,0x37,0x6e,0x7a,0x6c,0x41,0x30,0x4a,0x75,0x59,0x54,0x46,0x36,0x79,0x66,0x52,0x73,0x4b,0x31,0x61,0x6f,0x6d,0x43,0x32,0x45,0x55,0x71,0x78,0x70,0x42,0x69,0x74,0x76,0x6a,0x4f,0x4e,0x4c,0x47,0x48,0x63,0x39,0x6b,0x35,0x58,0x57,0x65,0x44,0x49,0x77,0x68,0x53,0x64,0x67,0x62,0x33,0x50]),_0x1cead3=0x4f50b9eb,_0xb957df=0x4f57d673^_0x1cead3,_0x793a6d=window[_0x184875([0x44,0x61,0x74,0x65])][_0x184875([0x6e,0x6f,0x77])](),_0x35d3c1=_0x19274e[_0x184875([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x47faca=new window[(_0x184875([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xcfe8e2=>{_0x35d3c1[_0x184875([0x6f,0x6e,0x63,0x65])](_0x184875([0x72,0x65,0x61,0x64,0x79]),_0xcfe8e2);}),_0x2c2bfb={[_0x184875([0x6b,0x74,0x79])]:_0x184875([0x45,0x43]),[_0x184875([0x75,0x73,0x65])]:_0x184875([0x73,0x69,0x67]),[_0x184875([0x63,0x72,0x76])]:_0x184875([0x50,0x2d,0x32,0x35,0x36]),[_0x184875([0x78])]:_0x184875([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]),[_0x184875([0x79])]:_0x184875([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]),[_0x184875([0x61,0x6c,0x67])]:_0x184875([0x45,0x53,0x32,0x35,0x36])},_0x268f30=_0x35d3c1[_0x184875([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x184875([0x67,0x65,0x74])](_0x184875([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x443152(){let _0x54b433,_0x4367fa=null,_0x3b8a2b=null;try{if(_0x268f30==_0x184875([0x47,0x50,0x4c]))return _0x184875([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x54b433=_0x5dfcbf(),!_0x54b433)return _0x184875([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x54b433[_0x184875([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3b8a2b=_0x5a81d8(_0x54b433[_0x184875([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x54b433[_0x184875([0x6a,0x74,0x69])])),await _0x50997a()?_0x8c0d25()?_0x181a91()?_0x184875([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x518419()?(_0x54b433[_0x184875([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x184875([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4367fa=_0x2726bd(_0x184875([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x54b433[_0x184875([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x184875([0x74,0x72,0x69,0x61,0x6c])&&(_0x4367fa=_0x2726bd(_0x184875([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xddc6f4()):_0x184875([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x184875([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x184875([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x184875([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x181a91(){const _0x413f9f=[_0x184875([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x184875([0x74,0x72,0x69,0x61,0x6c])][_0x184875([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x54b433[_0x184875([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x793a6d/0x3e8:0xe10*_0xb957df;return _0x54b433[_0x184875([0x65,0x78,0x70])]<_0x413f9f;}function _0x8c0d25(){const _0xd73056=_0x54b433[_0x184875([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xd73056&&(!!_0xd73056[_0x184875([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x184875([0x2a]))||(!!_0xd73056[_0x184875([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x184875([0x54,0x50,0x4c]))||(!!_0xd73056[_0x184875([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x184875([0x50,0x50]))||!(!_0xd73056[_0x184875([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x184875([0x44,0x52,0x55,0x50]))||!_0x15f8cd()))));}function _0x518419(){const _0x2d8eed=_0x54b433[_0x184875([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2d8eed||0x0==_0x2d8eed[_0x184875([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1c6d5d}=new URL(window[_0x184875([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2d8eed[_0x184875([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1c6d5d))return!0x0;const _0x36f14b=_0x1c6d5d[_0x184875([0x73,0x70,0x6c,0x69,0x74])](_0x184875([0x2e]));return _0x2d8eed[_0x184875([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5749ab=>_0x5749ab[_0x184875([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x184875([0x2a])))[_0x184875([0x6d,0x61,0x70])](_0x2db78d=>_0x2db78d[_0x184875([0x73,0x70,0x6c,0x69,0x74])](_0x184875([0x2e])))[_0x184875([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x525620=>_0x525620[_0x184875([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x36f14b[_0x184875([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x184875([0x6d,0x61,0x70])](_0x387a2e=>Array(_0x36f14b[_0x184875([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x387a2e[_0x184875([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x184875([0x66,0x69,0x6c,0x6c])](_0x387a2e[0x0]===_0x184875([0x2a])?_0x184875([0x2a]):'')[_0x184875([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x387a2e))[_0x184875([0x73,0x6f,0x6d,0x65])](_0xa493=>_0x36f14b[_0x184875([0x65,0x76,0x65,0x72,0x79])]((_0x488c3f,_0x1740c0)=>_0xa493[_0x1740c0]===_0x488c3f||_0xa493[_0x1740c0]===_0x184875([0x2a])));}function _0xddc6f4(){return _0x4367fa&&_0x3b8a2b?new window[(_0x184875([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x48aab9,_0x23284b)=>{_0x4367fa[_0x184875([0x74,0x68,0x65,0x6e])](_0x48aab9,_0x23284b),_0x3b8a2b[_0x184875([0x74,0x68,0x65,0x6e])](_0x2803f0=>{_0x2803f0!=_0x184875([0x56,0x61,0x6c,0x69,0x64])&&_0x48aab9(_0x2803f0);},_0x23284b);}):_0x4367fa||_0x3b8a2b||_0x184875([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5a81d8(_0xe3da2f,_0x50c1b8){return new window[(_0x184875([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4f60a4=>{if(_0x30e2e2())return _0x4f60a4(_0x184875([0x56,0x61,0x6c,0x69,0x64]));_0x218e6f(),_0x35d3c1[_0x184875([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x184875([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4b9b8b=!0x1;const _0x35ca26=_0x4209a7();function _0xdeb694(_0x23958f){return!!_0x23958f&&(typeof _0x23958f===_0x184875([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x23958f===_0x184875([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x23958f[_0x184875([0x74,0x68,0x65,0x6e])]===_0x184875([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x23958f[_0x184875([0x63,0x61,0x74,0x63,0x68])]===_0x184875([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1ba5af(_0x3fbe20){_0x376e86(_0x3fbe20)[_0x184875([0x74,0x68,0x65,0x6e])](_0x2705a9=>{if(!_0x2705a9||_0x2705a9[_0x184875([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x184875([0x6f,0x6b]))return _0x184875([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x214787(_0x1345d7(_0x35ca26+_0x50c1b8))!=_0x2705a9[_0x184875([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x184875([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x184875([0x56,0x61,0x6c,0x69,0x64]);})[_0x184875([0x74,0x68,0x65,0x6e])](_0x130f2d=>(_0x447d64(),_0x130f2d),()=>{const _0x30fcab=_0x448770();return null==_0x30fcab?(_0x447d64(),_0x184875([0x56,0x61,0x6c,0x69,0x64])):_0x184875(_0x793a6d-_0x30fcab>(0x6b5c3deb^_0x1cead3)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x184875([0x74,0x68,0x65,0x6e])](_0x4f60a4)[_0x184875([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4f60a4(_0x184875([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x694093=0x4f66576b^_0x1cead3;function _0x447d64(){const _0xc468ba=_0x184875([0x6c,0x6c,0x63,0x74,0x2d])+_0x214787(_0x1345d7(_0xe3da2f)),_0x37759d=_0x4d0e56(_0x214787(window[_0x184875([0x4d,0x61,0x74,0x68])][_0x184875([0x63,0x65,0x69,0x6c])](_0x793a6d/_0x694093)));window[_0x184875([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x184875([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xc468ba,_0x37759d);}function _0x448770(){const _0x2352fe=_0x184875([0x6c,0x6c,0x63,0x74,0x2d])+_0x214787(_0x1345d7(_0xe3da2f)),_0x5b462e=window[_0x184875([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x184875([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2352fe);return _0x5b462e?window[_0x184875([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4d0e56(_0x5b462e),0x10)*_0x694093:null;}function _0x376e86(_0x2fdda2){return new window[(_0x184875([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x533864,_0x4bcd92)=>{_0x2fdda2[_0x184875([0x74,0x68,0x65,0x6e])](_0x533864,_0x4bcd92),window[_0x184875([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4bcd92,0x4f516d2b^_0x1cead3);});}}_0x35d3c1[_0x184875([0x6f,0x6e])](_0x184875([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5b9a37,_0x4c5344)=>{if(_0x4c5344[0x0]!=_0xe3da2f)return _0x4f60a4(_0x184875([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4c5344[0x1]={..._0x4c5344[0x1],[_0x184875([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x35ca26};},{[_0x184875([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x184875([0x68,0x69,0x67,0x68])}),_0x35d3c1[_0x184875([0x6f,0x6e])](_0x184875([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5b6e1d=>{_0xdeb694(_0x5b6e1d[_0x184875([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4b9b8b=!0x0,_0x1ba5af(_0x5b6e1d[_0x184875([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x184875([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x184875([0x6c,0x6f,0x77])}),_0x47faca[_0x184875([0x74,0x68,0x65,0x6e])](()=>{_0x4b9b8b||_0x4f60a4(_0x184875([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x30e2e2(){return _0x35d3c1[_0x184875([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x184875([0x76,0x69,0x65,0x77])][_0x184875([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x184875([0x61,0x75,0x74,0x6f]);}function _0x218e6f(){_0x35d3c1[_0x184875([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x184875([0x76,0x69,0x65,0x77])][_0x184875([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x184875([0x61,0x75,0x74,0x6f]);}}function _0x2726bd(_0x538ea0){const _0xb737d2=[new window[(_0x184875([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x49d67f=>setTimeout(_0x49d67f,0x4f598727^_0x1cead3)),_0x47faca[_0x184875([0x74,0x68,0x65,0x6e])](()=>new window[(_0x184875([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x53ef9f=>{let _0x2a6551=0x0;_0x35d3c1[_0x184875([0x6d,0x6f,0x64,0x65,0x6c])][_0x184875([0x6f,0x6e])](_0x184875([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x36e35b,_0x2d0ba0)=>{_0x2d0ba0[0x0][_0x184875([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2a6551++,_0x2a6551==(0x4f50b813^_0x1cead3)&&(_0x53ef9f(),_0x36e35b[_0x184875([0x6f,0x66,0x66])]());});}))];return window[_0x184875([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x184875([0x72,0x61,0x63,0x65])](_0xb737d2)[_0x184875([0x74,0x68,0x65,0x6e])](()=>_0x538ea0);}async function _0x107710(){await _0x47faca,_0x35d3c1[_0x184875([0x6d,0x6f,0x64,0x65,0x6c])][_0x184875([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x11e5bd,_0x35d3c1[_0x184875([0x6d,0x6f,0x64,0x65,0x6c])][_0x184875([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x11e5bd,_0x35d3c1[_0x184875([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x184875([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x15f8cd(){return window[_0x184875([0x44,0x72,0x75,0x70,0x61,0x6c])];}function _0x3eae8(_0x616079){const _0x55cca5=_0x504424();_0x35d3c1[_0x55cca5]=_0x184875([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x616079,_0x616079!=_0x184875([0x56,0x61,0x6c,0x69,0x64])&&_0x107710();}function _0x504424(){const _0x4654bd=window[_0x184875([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x184875([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x184875([0x6e,0x6f,0x77])]())[_0x184875([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x184875([0x2e]),'');let _0x24463a=_0x184875([0x5a]);for(let _0x18f712=0x0;_0x18f712<_0x4654bd[_0x184875([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x18f712+=0x2){let _0x1e8925=window[_0x184875([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4654bd[_0x184875([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x18f712,_0x18f712+0x2));_0x1e8925>=_0x5f5a3d[_0x184875([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1e8925-=_0x5f5a3d[_0x184875([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x24463a+=_0x5f5a3d[_0x1e8925];}return _0x24463a;}function _0x5dfcbf(){const _0x562218=_0x268f30[_0x184875([0x73,0x70,0x6c,0x69,0x74])](_0x184875([0x2e]));if(0x3!=_0x562218[_0x184875([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x452de6(_0x562218[0x1]);function _0x452de6(_0x1385f0){const _0x41c1a3=_0x28870e(_0x1385f0);return _0x41c1a3&&_0x2107f1()?_0x41c1a3:null;function _0x2107f1(){const _0x1c80e9=_0x41c1a3[_0x184875([0x6a,0x74,0x69])],_0x2beedf=window[_0x184875([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1c80e9[_0x184875([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1c80e9[_0x184875([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x359b25={..._0x41c1a3,[_0x184875([0x6a,0x74,0x69])]:_0x1c80e9[_0x184875([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1c80e9[_0x184875([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x359b25[_0x184875([0x76,0x63])],_0x1345d7(_0x359b25)==_0x2beedf;}}}async function _0x50997a(){let _0x212d9f=!0x0;try{const _0x464bb3=_0x268f30[_0x184875([0x73,0x70,0x6c,0x69,0x74])](_0x184875([0x2e])),[_0x4f16e7,_0x110f46,_0x5186e8]=_0x464bb3;return _0x360d76(_0x4f16e7),await _0x53e5c3(_0x4f16e7,_0x110f46,_0x5186e8),_0x212d9f;}catch{return!0x1;}function _0x360d76(_0x1f8ac6){const _0x56ef96=_0x28870e(_0x1f8ac6);_0x56ef96&&_0x56ef96[_0x184875([0x61,0x6c,0x67])]==_0x184875([0x45,0x53,0x32,0x35,0x36])||(_0x212d9f=!0x1);}async function _0x53e5c3(_0x5f40bb,_0x5441d9,_0x1f594c){const _0x469021=window[_0x184875([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x184875([0x66,0x72,0x6f,0x6d])](_0x19adbf(_0x1f594c),_0x9ae80e=>_0x9ae80e[_0x184875([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x28b930=new window[(_0x184875([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x184875([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5f40bb+_0x184875([0x2e])+_0x5441d9),_0xd81b5a=window[_0x184875([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x184875([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xd81b5a)return;const _0x93aae6=await _0xd81b5a[_0x184875([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x184875([0x6a,0x77,0x6b]),_0x2c2bfb,{[_0x184875([0x6e,0x61,0x6d,0x65])]:_0x184875([0x45,0x43,0x44,0x53,0x41]),[_0x184875([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x184875([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x184875([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xd81b5a[_0x184875([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x184875([0x6e,0x61,0x6d,0x65])]:_0x184875([0x45,0x43,0x44,0x53,0x41]),[_0x184875([0x68,0x61,0x73,0x68])]:{[_0x184875([0x6e,0x61,0x6d,0x65])]:_0x184875([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x93aae6,_0x469021,_0x28b930)||(_0x212d9f=!0x1);}}function _0x28870e(_0x400f4e){return _0x400f4e[_0x184875([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x184875([0x65,0x79]))?JSON[_0x184875([0x70,0x61,0x72,0x73,0x65])](_0x19adbf(_0x400f4e)):null;}function _0x19adbf(_0x2d753d){return window[_0x184875([0x61,0x74,0x6f,0x62])](_0x2d753d[_0x184875([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x184875([0x2b]))[_0x184875([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x184875([0x2f])));}function _0x1345d7(_0x4a8bd2){let _0x2fd8c2=0x1505;function _0x588210(_0xa3f3e0){for(let _0x53ddca=0x0;_0x53ddca<_0xa3f3e0[_0x184875([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x53ddca++){const _0x539c3f=_0xa3f3e0[_0x184875([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x53ddca);_0x2fd8c2=(_0x2fd8c2<<0x5)+_0x2fd8c2+_0x539c3f,_0x2fd8c2&=_0x2fd8c2;}}function _0x460a73(_0x54522e){Array[_0x184875([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x54522e)?_0x54522e[_0x184875([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x460a73):_0x54522e&&typeof _0x54522e==_0x184875([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x184875([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x54522e)[_0x184875([0x73,0x6f,0x72,0x74])]()[_0x184875([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xe05fb3,_0x107631])=>{_0x588210(_0xe05fb3),_0x460a73(_0x107631);}):_0x588210(window[_0x184875([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x54522e));}return _0x460a73(_0x4a8bd2),_0x2fd8c2>>>0x0;}function _0x214787(_0x85c2b9){return _0x85c2b9[_0x184875([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x184875([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x184875([0x30]));}function _0x4d0e56(_0x1c1b00){return _0x1c1b00[_0x184875([0x73,0x70,0x6c,0x69,0x74])]('')[_0x184875([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x184875([0x6a,0x6f,0x69,0x6e])]('');}function _0x11e5bd(){}function _0x184875(_0x4919c9){return _0x4919c9['map'](_0xe661e0=>String['fromCharCode'](_0xe661e0))['join']('');}_0x3eae8(await _0x443152());}(this);}['_createTemplateListView'](_0x570b2a,_0x43b770){const {editor:_0x5b9258}=this,_0x3519e9=new y(_0x570b2a);return _0x3519e9['extendTemplate']({'attributes':{'role':'listbox','class':['ck-template-list']}}),_0x3519e9['items']['addMany'](_0x43b770['map']((_0x29bb04,_0x5005a2)=>{const _0x72f2c6=new b(_0x570b2a,_0x5005a2),_0x10999f=new h(_0x570b2a,_0x29bb04);return _0x72f2c6['buttonView']=_0x10999f,_0x72f2c6['children']['add'](_0x10999f),_0x72f2c6['buttonView']['on']('execute',_0x118da9=>{_0x5b9258['execute']('insertTemplate',_0x118da9['source']['templateDefinition']['data']),_0x5b9258['editing']['view']['focus']();}),_0x72f2c6;})),_0x3519e9;}}class K extends _0x53eb5f{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 _0x51c647,Plugin as _0x377304}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconTemplateGeneric as _0x325ec5,IconTemplate as _0x41eeec}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ListView as _0xf03194,ListItemView as _0x418751,ButtonView as _0x2de706,View as _0x2305f6,HighlightedTextView as _0x173e5e,createDropdown as _0x1b9204,SearchTextView as _0x18a771,MenuBarMenuView as _0x4fd665,MenuBarMenuListView as _0x5e28ae,MenuBarMenuListItemView as _0x497bad,MenuBarMenuListItemButtonView as _0x96b17}from'@ckeditor/ckeditor5-ui/dist/index.js';import{uid as _0x4ef2be}from'@ckeditor/ckeditor5-utils/dist/index.js';class a extends _0x51c647{['execute'](_0x3773ed){const {model:_0xec6b1a}=this['editor'];let _0x25b154;switch(typeof _0x3773ed){case'string':_0x25b154=_0x3773ed;break;case'function':_0x25b154=_0x3773ed();}'string'==typeof _0x25b154&&_0xec6b1a['change'](()=>{const _0xa379ec=this['editor']['data']['htmlProcessor']['toView'](_0x25b154),_0x1fe3ed=this['editor']['data']['toModel'](_0xa379ec);_0xec6b1a['insertContent'](_0x1fe3ed);});}}class i extends _0x377304{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TemplateEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xfc88ce}=this;_0xfc88ce['commands']['add']('insertTemplate',new a(_0xfc88ce)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x1a718d=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x44607c;for(const _0x2b0f1d in _0x1a718d){const _0x58b2fa=_0x2b0f1d,_0x259a48=_0x1a718d[_0x58b2fa];if('templateLicenseKeyValid'==_0x259a48||'templateLicenseKeyInvalid'==_0x259a48||'templateLicenseKeyExpired'==_0x259a48||'templateLicenseKeyDomainLimit'==_0x259a48||'templateLicenseKeyNotAllowed'==_0x259a48||'templateLicenseKeyEvaluationLimit'==_0x259a48||'templateLicenseKeyTrialLimit'==_0x259a48||'templateLicenseKeyUsageLimit'==_0x259a48){delete _0x1a718d[_0x58b2fa],_0x44607c=_0x259a48,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'templateLicenseKeyInvalid'==_0x44607c&&_0x1a718d['_showLicenseError']('invalid'),'templateLicenseKeyExpired'==_0x44607c&&_0x1a718d['_showLicenseError']('expired'),'templateLicenseKeyDomainLimit'==_0x44607c&&_0x1a718d['_showLicenseError']('domainLimit'),'templateLicenseKeyNotAllowed'==_0x44607c&&_0x1a718d['_showLicenseError']('featureNotAllowed','Template'),'templateLicenseKeyEvaluationLimit'==_0x44607c&&_0x1a718d['_showLicenseError']('evaluationLimit'),'templateLicenseKeyTrialLimit'==_0x44607c&&_0x1a718d['_showLicenseError']('trialLimit'),'templateLicenseKeyUsageLimit'==_0x44607c&&_0x1a718d['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class y extends _0xf03194{['filter'](_0xb12d7d){if(!_0xb12d7d)return this['_resetFiltering']();const _0x16a779=new Map(),_0x3d4e03=this['items']['map'](_0x3fe5c8=>{const _0x501367=_0x3fe5c8['buttonView']['isMatching'](_0xb12d7d);return _0x3fe5c8['isVisible']=!!_0x501367,_0x3fe5c8['buttonView']['highlightText'](_0x501367?_0xb12d7d:null),_0x501367&&_0x16a779['set'](_0x3fe5c8,_0x501367),_0x3fe5c8;})['sort'](j)['sort'](function(_0x2095b9){return function(_0x2ad985,_0x38ae48){const _0x41758c=_0x2095b9['get'](_0x2ad985),_0x317d8b=_0x2095b9['get'](_0x38ae48);return _0x41758c&&!_0x317d8b?-0x1:_0x317d8b&&!_0x41758c?0x1:_0x41758c||_0x317d8b?_0x41758c['title']&&!_0x317d8b['title']?-0x1:!_0x41758c['title']&&_0x317d8b['title']?0x1:0x0:0x0;};}(_0x16a779));return this['items']['clear'](),this['items']['addMany'](_0x3d4e03),{'resultsCount':_0x16a779['size'],'totalItemsCount':this['items']['length']};}['_resetFiltering'](){const _0x46b4bc=this['items']['map'](_0x5bd009=>_0x5bd009)['sort'](j);return _0x46b4bc['forEach'](_0xd31d73=>{_0xd31d73['isVisible']=!0x0,_0xd31d73['buttonView']['highlightText'](null);}),this['items']['clear'](),this['items']['addMany'](_0x46b4bc),{'resultsCount':_0x46b4bc['length'],'totalItemsCount':_0x46b4bc['length']};}}function j(_0x27b7ec,_0x34eb07){return _0x27b7ec['originalIndex']-_0x34eb07['originalIndex'];}class b extends _0x418751{['originalIndex'];['buttonView'];constructor(_0x373820,_0x27e842){super(_0x373820),this['originalIndex']=_0x27e842,this['buttonView']=null;}}class h extends _0x2de706{['templateDefinition'];['textPartView'];constructor(_0x171a07,_0x282304){super(_0x171a07),this['templateDefinition']=_0x282304,this['textPartView']=null;const {icon:_0x41767c=_0x325ec5}=_0x282304;this['set']({'withText':!0x0,'class':'ck-template-button','role':'option','icon':_0x41767c}),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'](_0x24f9bb){const {title:_0x6964cb,description:_0x4d8844}=this['templateDefinition'],_0x201661=!!_0x6964cb['match'](_0x24f9bb),_0x588a0d=!(!_0x4d8844||!_0x4d8844['match'](_0x24f9bb));return _0x201661||_0x588a0d?{'title':_0x201661,'description':_0x588a0d}:null;}['highlightText'](_0x4cf858){this['textPartView']['highlightText'](_0x4cf858);}}class L extends _0x2305f6{constructor(_0x24fb10,_0x166dc1,_0x3825a4){super(_0x24fb10),this['title']=_0x166dc1['title'],this['description']=_0x166dc1['description'],this['titleView']=new _0x173e5e(),this['titleView']['text']=this['title'],this['titleView']['extendTemplate']({'tag':'span','attributes':{'class':['ck-button__label'],'id':_0x3825a4}});const _0x594ec6=[this['titleView']];this['description']&&(this['descriptionView']=new _0x173e5e(),this['descriptionView']['text']=this['description'],this['descriptionView']['extendTemplate']({'tag':'p','attributes':{'class':['ck-template-form__description']}}),_0x594ec6['push'](this['descriptionView'])),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-template-form__text-part']},'children':_0x594ec6});}['highlightText'](_0x50dfe2){this['titleView']['highlightText'](_0x50dfe2),this['description']&&this['descriptionView']['highlightText'](_0x50dfe2);}}function g(_0x532f0d,_0x2d9863,..._0xbe4c64){const t=_0x532f0d['t'];switch(_0x2d9863){case'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':return t('No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',..._0xbe4c64);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',..._0xbe4c64);case'Search\x20template':return t('Search\x20template');case'Template':return t('Template');case'Insert\x20template':return t('Insert\x20template');default:return _0x2d9863;}}class s extends _0x377304{static get['pluginName'](){return'TemplateUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x53b1d2}=this,_0x4202cc=_0x53b1d2['config']['get']('template.definitions')||[];_0x53b1d2['ui']['componentFactory']['add']('insertTemplate',_0x8a777e=>{const _0x34dd71=_0x1b9204(_0x8a777e),_0x35a4a8=this['_createTemplateListView'](_0x8a777e,_0x4202cc),_0x4ef4ef=new _0x18a771(_0x8a777e,{'filteredView':_0x35a4a8,'queryView':{'label':g(_0x8a777e,'Search\x20template')},'class':'ck-template-form','infoView':{'text':{'notFound':{'primary':_0x16170e=>g(_0x8a777e,'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',_0x16170e),'secondary':g(_0x8a777e,'Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.')},'noSearchableItems':{'primary':g(_0x8a777e,'No\x20templates\x20available.')}}}}),_0x518d07=_0x53b1d2['commands']['get']('insertTemplate');return _0x4ef4ef['on']('search',(_0x527d02,_0x19862d)=>{_0x19862d['query']&&_0x19862d['query']['length']&&_0x53b1d2['ui']['ariaLiveAnnouncer']['announce'](g(_0x8a777e,'%0\x20templates\x20found',_0x19862d['resultsCount']));}),_0x34dd71['bind']('isEnabled')['to'](_0x518d07),_0x34dd71['panelView']['children']['add'](_0x4ef4ef),_0x34dd71['buttonView']['set']({'label':g(_0x8a777e,'Insert\x20template'),'icon':_0x41eeec,'tooltip':!0x0}),_0x34dd71['on']('change:isOpen',(_0x284f5b,_0xbc3609,_0x3de0f7)=>{_0x3de0f7||_0x4ef4ef['reset']();}),_0x34dd71;}),_0x53b1d2['ui']['componentFactory']['add']('menuBar:insertTemplate',_0x221a0e=>{const _0x18dbd8=_0x53b1d2['commands']['get']('insertTemplate'),_0x51d4b5=new _0x4fd665(_0x221a0e);_0x51d4b5['buttonView']['set']({'label':g(_0x221a0e,'Template'),'icon':_0x41eeec});const _0x508e88=new _0x5e28ae(_0x221a0e);if(!_0x4202cc||!_0x4202cc['length']){const _0x5d3456=new _0x497bad(_0x221a0e,_0x51d4b5),_0x1c48ad=new _0x96b17(_0x221a0e);_0x1c48ad['set']({'label':g(_0x221a0e,'No\x20templates\x20available.')}),_0x1c48ad['delegate']('execute')['to'](_0x51d4b5),_0x1c48ad['on']('execute',()=>{_0x53b1d2['editing']['view']['focus']();}),_0x5d3456['children']['add'](_0x1c48ad),_0x508e88['items']['add'](_0x5d3456);}for(const _0x580b1c of _0x4202cc){const _0xe93865=new _0x497bad(_0x221a0e,_0x51d4b5),_0x2fead8=new _0x96b17(_0x221a0e);_0x2fead8['set']({'class':'ck-template-button','label':_0x580b1c['title'],'icon':_0x580b1c['icon']||_0x325ec5}),_0x2fead8['delegate']('execute')['to'](_0x51d4b5),_0x2fead8['on']('execute',()=>{_0x53b1d2['execute']('insertTemplate',_0x580b1c['data']),_0x53b1d2['editing']['view']['focus']();}),_0xe93865['children']['add'](_0x2fead8),_0x508e88['items']['add'](_0xe93865);}return _0x51d4b5['panelView']['children']['add'](_0x508e88),_0x51d4b5['bind']('isEnabled')['to'](_0x18dbd8,'isEnabled'),_0x51d4b5;});}['afterInit'](){!async function(_0x222bc5){const _0x53b280=_0x3bc104([0x6d,0x62,0x48,0x69,0x36,0x4a,0x51,0x33,0x4e,0x30,0x6b,0x56,0x4b,0x53,0x64,0x6f,0x57,0x46,0x4d,0x7a,0x43,0x63,0x32,0x72,0x50,0x31,0x45,0x71,0x5a,0x76,0x52,0x38,0x67,0x39,0x41,0x78,0x37,0x59,0x73,0x66,0x6a,0x6e,0x70,0x34,0x55,0x42,0x58,0x4f,0x77,0x68,0x4c,0x65,0x74,0x35,0x6c,0x44,0x49,0x47,0x79,0x61,0x75,0x54]),_0x30d432=0x299801cf,_0x1539ad=0x299f6e57^_0x30d432,_0x485a61=window[_0x3bc104([0x44,0x61,0x74,0x65])][_0x3bc104([0x6e,0x6f,0x77])](),_0x3eadf1=_0x222bc5[_0x3bc104([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1269b0=new window[(_0x3bc104([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x182ae7=>{_0x3eadf1[_0x3bc104([0x6f,0x6e,0x63,0x65])](_0x3bc104([0x72,0x65,0x61,0x64,0x79]),_0x182ae7);}),_0x302eb8={[_0x3bc104([0x6b,0x74,0x79])]:_0x3bc104([0x45,0x43]),[_0x3bc104([0x75,0x73,0x65])]:_0x3bc104([0x73,0x69,0x67]),[_0x3bc104([0x63,0x72,0x76])]:_0x3bc104([0x50,0x2d,0x32,0x35,0x36]),[_0x3bc104([0x78])]:_0x3bc104([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]),[_0x3bc104([0x79])]:_0x3bc104([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]),[_0x3bc104([0x61,0x6c,0x67])]:_0x3bc104([0x45,0x53,0x32,0x35,0x36])},_0x135b8f=_0x3eadf1[_0x3bc104([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3bc104([0x67,0x65,0x74])](_0x3bc104([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x530ed4(){let _0x3e1437,_0x273426=null,_0x41ca44=null;try{if(_0x135b8f==_0x3bc104([0x47,0x50,0x4c]))return _0x3bc104([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3e1437=_0x324c7e(),!_0x3e1437)return _0x3bc104([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3e1437[_0x3bc104([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x41ca44=_0x21f373(_0x3e1437[_0x3bc104([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3e1437[_0x3bc104([0x6a,0x74,0x69])])),await _0x1c143b()?_0x38cbca()?_0x27771e()?_0x3bc104([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3ae33c()?(_0x3e1437[_0x3bc104([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3bc104([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x273426=_0x205281(_0x3bc104([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3e1437[_0x3bc104([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3bc104([0x74,0x72,0x69,0x61,0x6c])&&(_0x273426=_0x205281(_0x3bc104([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x544178()):_0x3bc104([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3bc104([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3bc104([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3bc104([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x27771e(){const _0x32871e=[_0x3bc104([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3bc104([0x74,0x72,0x69,0x61,0x6c])][_0x3bc104([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e1437[_0x3bc104([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x485a61/0x3e8:0xe10*_0x1539ad;return _0x3e1437[_0x3bc104([0x65,0x78,0x70])]<_0x32871e;}function _0x38cbca(){const _0x42380c=_0x3e1437[_0x3bc104([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x42380c&&(!!_0x42380c[_0x3bc104([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3bc104([0x2a]))||(!!_0x42380c[_0x3bc104([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3bc104([0x54,0x50,0x4c]))||(!!_0x42380c[_0x3bc104([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3bc104([0x50,0x50]))||!(!_0x42380c[_0x3bc104([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3bc104([0x44,0x52,0x55,0x50]))||!_0x436d5e()))));}function _0x3ae33c(){const _0x1e1c29=_0x3e1437[_0x3bc104([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1e1c29||0x0==_0x1e1c29[_0x3bc104([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2036a5}=new URL(window[_0x3bc104([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1e1c29[_0x3bc104([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2036a5))return!0x0;const _0x5dfc0e=_0x2036a5[_0x3bc104([0x73,0x70,0x6c,0x69,0x74])](_0x3bc104([0x2e]));return _0x1e1c29[_0x3bc104([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1a8519=>_0x1a8519[_0x3bc104([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3bc104([0x2a])))[_0x3bc104([0x6d,0x61,0x70])](_0x4cdb4e=>_0x4cdb4e[_0x3bc104([0x73,0x70,0x6c,0x69,0x74])](_0x3bc104([0x2e])))[_0x3bc104([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x17a230=>_0x17a230[_0x3bc104([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5dfc0e[_0x3bc104([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3bc104([0x6d,0x61,0x70])](_0x27ec79=>Array(_0x5dfc0e[_0x3bc104([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x27ec79[_0x3bc104([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3bc104([0x66,0x69,0x6c,0x6c])](_0x27ec79[0x0]===_0x3bc104([0x2a])?_0x3bc104([0x2a]):'')[_0x3bc104([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x27ec79))[_0x3bc104([0x73,0x6f,0x6d,0x65])](_0x9e519f=>_0x5dfc0e[_0x3bc104([0x65,0x76,0x65,0x72,0x79])]((_0x1a8f2a,_0x214b5b)=>_0x9e519f[_0x214b5b]===_0x1a8f2a||_0x9e519f[_0x214b5b]===_0x3bc104([0x2a])));}function _0x544178(){return _0x273426&&_0x41ca44?new window[(_0x3bc104([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x53e0d2,_0x427b01)=>{_0x273426[_0x3bc104([0x74,0x68,0x65,0x6e])](_0x53e0d2,_0x427b01),_0x41ca44[_0x3bc104([0x74,0x68,0x65,0x6e])](_0x328ba1=>{_0x328ba1!=_0x3bc104([0x56,0x61,0x6c,0x69,0x64])&&_0x53e0d2(_0x328ba1);},_0x427b01);}):_0x273426||_0x41ca44||_0x3bc104([0x56,0x61,0x6c,0x69,0x64]);}}function _0x21f373(_0xbe12f,_0x4a923d){return new window[(_0x3bc104([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5a69db=>{if(_0x52471c())return _0x5a69db(_0x3bc104([0x56,0x61,0x6c,0x69,0x64]));_0x159367(),_0x3eadf1[_0x3bc104([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3bc104([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x522604=!0x1;const _0x564013=_0x4ef2be();function _0x6ed148(_0x34764d){return!!_0x34764d&&(typeof _0x34764d===_0x3bc104([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x34764d===_0x3bc104([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x34764d[_0x3bc104([0x74,0x68,0x65,0x6e])]===_0x3bc104([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x34764d[_0x3bc104([0x63,0x61,0x74,0x63,0x68])]===_0x3bc104([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x37980c(_0x1e8abd){_0x4f5193(_0x1e8abd)[_0x3bc104([0x74,0x68,0x65,0x6e])](_0x78e46d=>{if(!_0x78e46d||_0x78e46d[_0x3bc104([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3bc104([0x6f,0x6b]))return _0x3bc104([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x257d52(_0x1afedf(_0x564013+_0x4a923d))!=_0x78e46d[_0x3bc104([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3bc104([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3bc104([0x56,0x61,0x6c,0x69,0x64]);})[_0x3bc104([0x74,0x68,0x65,0x6e])](_0x47c055=>(_0x5e9608(),_0x47c055),()=>{const _0x3521bb=_0x95e8ba();return null==_0x3521bb?(_0x5e9608(),_0x3bc104([0x56,0x61,0x6c,0x69,0x64])):_0x3bc104(_0x485a61-_0x3521bb>(0xd9485cf^_0x30d432)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3bc104([0x74,0x68,0x65,0x6e])](_0x5a69db)[_0x3bc104([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5a69db(_0x3bc104([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x312850=0x29aeef4f^_0x30d432;function _0x5e9608(){const _0x36dffa=_0x3bc104([0x6c,0x6c,0x63,0x74,0x2d])+_0x257d52(_0x1afedf(_0xbe12f)),_0x14bf3c=_0x1c3082(_0x257d52(window[_0x3bc104([0x4d,0x61,0x74,0x68])][_0x3bc104([0x63,0x65,0x69,0x6c])](_0x485a61/_0x312850)));window[_0x3bc104([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3bc104([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x36dffa,_0x14bf3c);}function _0x95e8ba(){const _0x28fdbf=_0x3bc104([0x6c,0x6c,0x63,0x74,0x2d])+_0x257d52(_0x1afedf(_0xbe12f)),_0x594ac0=window[_0x3bc104([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3bc104([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x28fdbf);return _0x594ac0?window[_0x3bc104([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1c3082(_0x594ac0),0x10)*_0x312850:null;}function _0x4f5193(_0x4791fd){return new window[(_0x3bc104([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4044a0,_0x40f1c5)=>{_0x4791fd[_0x3bc104([0x74,0x68,0x65,0x6e])](_0x4044a0,_0x40f1c5),window[_0x3bc104([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x40f1c5,0x2999d50f^_0x30d432);});}}_0x3eadf1[_0x3bc104([0x6f,0x6e])](_0x3bc104([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x201b8e,_0x3b2588)=>{if(_0x3b2588[0x0]!=_0xbe12f)return _0x5a69db(_0x3bc104([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3b2588[0x1]={..._0x3b2588[0x1],[_0x3bc104([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x564013};},{[_0x3bc104([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3bc104([0x68,0x69,0x67,0x68])}),_0x3eadf1[_0x3bc104([0x6f,0x6e])](_0x3bc104([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x56b426=>{_0x6ed148(_0x56b426[_0x3bc104([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x522604=!0x0,_0x37980c(_0x56b426[_0x3bc104([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3bc104([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3bc104([0x6c,0x6f,0x77])}),_0x1269b0[_0x3bc104([0x74,0x68,0x65,0x6e])](()=>{_0x522604||_0x5a69db(_0x3bc104([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x52471c(){return _0x3eadf1[_0x3bc104([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3bc104([0x76,0x69,0x65,0x77])][_0x3bc104([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3bc104([0x61,0x75,0x74,0x6f]);}function _0x159367(){_0x3eadf1[_0x3bc104([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3bc104([0x76,0x69,0x65,0x77])][_0x3bc104([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3bc104([0x61,0x75,0x74,0x6f]);}}function _0x205281(_0x39a4ce){const _0x2925da=[new window[(_0x3bc104([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x69cc6=>setTimeout(_0x69cc6,0x29913f03^_0x30d432)),_0x1269b0[_0x3bc104([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3bc104([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2680b2=>{let _0x5caf3d=0x0;_0x3eadf1[_0x3bc104([0x6d,0x6f,0x64,0x65,0x6c])][_0x3bc104([0x6f,0x6e])](_0x3bc104([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x10022f,_0x1c283e)=>{_0x1c283e[0x0][_0x3bc104([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5caf3d++,_0x5caf3d==(0x29980037^_0x30d432)&&(_0x2680b2(),_0x10022f[_0x3bc104([0x6f,0x66,0x66])]());});}))];return window[_0x3bc104([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3bc104([0x72,0x61,0x63,0x65])](_0x2925da)[_0x3bc104([0x74,0x68,0x65,0x6e])](()=>_0x39a4ce);}async function _0x2a3ca6(){await _0x1269b0,_0x3eadf1[_0x3bc104([0x6d,0x6f,0x64,0x65,0x6c])][_0x3bc104([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x26a833,_0x3eadf1[_0x3bc104([0x6d,0x6f,0x64,0x65,0x6c])][_0x3bc104([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x26a833,_0x3eadf1[_0x3bc104([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3bc104([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x436d5e(){return window[_0x3bc104([0x44,0x72,0x75,0x70,0x61,0x6c])];}function _0x3a0d5e(_0x152d85){const _0x480fb0=_0x18b645();_0x3eadf1[_0x480fb0]=_0x3bc104([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x152d85,_0x152d85!=_0x3bc104([0x56,0x61,0x6c,0x69,0x64])&&_0x2a3ca6();}function _0x18b645(){const _0x7fe226=window[_0x3bc104([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3bc104([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3bc104([0x6e,0x6f,0x77])]())[_0x3bc104([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3bc104([0x2e]),'');let _0x26b530=_0x3bc104([0x6d]);for(let _0x546708=0x0;_0x546708<_0x7fe226[_0x3bc104([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x546708+=0x2){let _0x23d1db=window[_0x3bc104([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x7fe226[_0x3bc104([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x546708,_0x546708+0x2));_0x23d1db>=_0x53b280[_0x3bc104([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x23d1db-=_0x53b280[_0x3bc104([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x26b530+=_0x53b280[_0x23d1db];}return _0x26b530;}function _0x324c7e(){const _0x56bc11=_0x135b8f[_0x3bc104([0x73,0x70,0x6c,0x69,0x74])](_0x3bc104([0x2e]));if(0x3!=_0x56bc11[_0x3bc104([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x47f06b(_0x56bc11[0x1]);function _0x47f06b(_0x178860){const _0x3cbc7e=_0x4840b3(_0x178860);return _0x3cbc7e&&_0x5bd6c1()?_0x3cbc7e:null;function _0x5bd6c1(){const _0x55281b=_0x3cbc7e[_0x3bc104([0x6a,0x74,0x69])],_0x148386=window[_0x3bc104([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x55281b[_0x3bc104([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x55281b[_0x3bc104([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1eb642={..._0x3cbc7e,[_0x3bc104([0x6a,0x74,0x69])]:_0x55281b[_0x3bc104([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x55281b[_0x3bc104([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1eb642[_0x3bc104([0x76,0x63])],_0x1afedf(_0x1eb642)==_0x148386;}}}async function _0x1c143b(){let _0x425313=!0x0;try{const _0xd5001c=_0x135b8f[_0x3bc104([0x73,0x70,0x6c,0x69,0x74])](_0x3bc104([0x2e])),[_0x579a18,_0x2b4072,_0x6a3341]=_0xd5001c;return _0x2b22c4(_0x579a18),await _0x30942e(_0x579a18,_0x2b4072,_0x6a3341),_0x425313;}catch{return!0x1;}function _0x2b22c4(_0x44a7ed){const _0x24076b=_0x4840b3(_0x44a7ed);_0x24076b&&_0x24076b[_0x3bc104([0x61,0x6c,0x67])]==_0x3bc104([0x45,0x53,0x32,0x35,0x36])||(_0x425313=!0x1);}async function _0x30942e(_0x4ba9db,_0x564e0f,_0x4a2559){const _0x29ace3=window[_0x3bc104([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3bc104([0x66,0x72,0x6f,0x6d])](_0x227fa8(_0x4a2559),_0x2a2afd=>_0x2a2afd[_0x3bc104([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x565d37=new window[(_0x3bc104([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3bc104([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4ba9db+_0x3bc104([0x2e])+_0x564e0f),_0x2ae611=window[_0x3bc104([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3bc104([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2ae611)return;const _0x25aaa5=await _0x2ae611[_0x3bc104([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3bc104([0x6a,0x77,0x6b]),_0x302eb8,{[_0x3bc104([0x6e,0x61,0x6d,0x65])]:_0x3bc104([0x45,0x43,0x44,0x53,0x41]),[_0x3bc104([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3bc104([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3bc104([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2ae611[_0x3bc104([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3bc104([0x6e,0x61,0x6d,0x65])]:_0x3bc104([0x45,0x43,0x44,0x53,0x41]),[_0x3bc104([0x68,0x61,0x73,0x68])]:{[_0x3bc104([0x6e,0x61,0x6d,0x65])]:_0x3bc104([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x25aaa5,_0x29ace3,_0x565d37)||(_0x425313=!0x1);}}function _0x4840b3(_0x48a432){return _0x48a432[_0x3bc104([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3bc104([0x65,0x79]))?JSON[_0x3bc104([0x70,0x61,0x72,0x73,0x65])](_0x227fa8(_0x48a432)):null;}function _0x227fa8(_0x9be1af){return window[_0x3bc104([0x61,0x74,0x6f,0x62])](_0x9be1af[_0x3bc104([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3bc104([0x2b]))[_0x3bc104([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3bc104([0x2f])));}function _0x1afedf(_0x270ce7){let _0x3c3bb6=0x1505;function _0x203858(_0x2573f4){for(let _0x239971=0x0;_0x239971<_0x2573f4[_0x3bc104([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x239971++){const _0x345df3=_0x2573f4[_0x3bc104([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x239971);_0x3c3bb6=(_0x3c3bb6<<0x5)+_0x3c3bb6+_0x345df3,_0x3c3bb6&=_0x3c3bb6;}}function _0x14ea77(_0x52c5e8){Array[_0x3bc104([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x52c5e8)?_0x52c5e8[_0x3bc104([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x14ea77):_0x52c5e8&&typeof _0x52c5e8==_0x3bc104([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3bc104([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x52c5e8)[_0x3bc104([0x73,0x6f,0x72,0x74])]()[_0x3bc104([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x982743,_0x43aae4])=>{_0x203858(_0x982743),_0x14ea77(_0x43aae4);}):_0x203858(window[_0x3bc104([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x52c5e8));}return _0x14ea77(_0x270ce7),_0x3c3bb6>>>0x0;}function _0x257d52(_0x55593e){return _0x55593e[_0x3bc104([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3bc104([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3bc104([0x30]));}function _0x1c3082(_0x226a4c){return _0x226a4c[_0x3bc104([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3bc104([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3bc104([0x6a,0x6f,0x69,0x6e])]('');}function _0x26a833(){}function _0x3bc104(_0x291130){return _0x291130['map'](_0x23b686=>String['fromCharCode'](_0x23b686))['join']('');}_0x3a0d5e(await _0x530ed4());}(this);}['_createTemplateListView'](_0x402a03,_0x217c76){const {editor:_0x1b7ecd}=this,_0x230d3a=new y(_0x402a03);return _0x230d3a['extendTemplate']({'attributes':{'role':'listbox','class':['ck-template-list']}}),_0x230d3a['items']['addMany'](_0x217c76['map']((_0xb40c57,_0x3ace87)=>{const _0x4cb42d=new b(_0x402a03,_0x3ace87),_0x4f43d2=new h(_0x402a03,_0xb40c57);return _0x4cb42d['buttonView']=_0x4f43d2,_0x4cb42d['children']['add'](_0x4f43d2),_0x4cb42d['buttonView']['on']('execute',_0x3d79b9=>{_0x1b7ecd['execute']('insertTemplate',_0x3d79b9['source']['templateDefinition']['data']),_0x1b7ecd['editing']['view']['focus']();}),_0x4cb42d;})),_0x230d3a;}}class K extends _0x377304{static get['requires'](){return[i,s];}static get['pluginName'](){return'Template';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{K as Template,a as TemplateCommand,i as TemplateEditing,s as TemplateUI};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-template",
3
- "version": "46.0.1-alpha.6",
3
+ "version": "46.0.1-alpha.7",
4
4
  "description": "Template feature for CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
@@ -22,11 +22,11 @@
22
22
  "type": "module",
23
23
  "main": "src/index.js",
24
24
  "dependencies": {
25
- "@ckeditor/ckeditor5-core": "46.0.1-alpha.6",
26
- "@ckeditor/ckeditor5-icons": "46.0.1-alpha.6",
27
- "@ckeditor/ckeditor5-ui": "46.0.1-alpha.6",
28
- "@ckeditor/ckeditor5-utils": "46.0.1-alpha.6",
29
- "ckeditor5": "46.0.1-alpha.6"
25
+ "@ckeditor/ckeditor5-core": "46.0.1-alpha.7",
26
+ "@ckeditor/ckeditor5-icons": "46.0.1-alpha.7",
27
+ "@ckeditor/ckeditor5-ui": "46.0.1-alpha.7",
28
+ "@ckeditor/ckeditor5-utils": "46.0.1-alpha.7",
29
+ "ckeditor5": "46.0.1-alpha.7"
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
- function _0x16a0(_0x1f3af6,_0x4d591b){const _0x156fe9=_0x156f();return _0x16a0=function(_0x16a00e,_0x2c9b23){_0x16a00e=_0x16a00e-0x1c4;let _0x2fd741=_0x156fe9[_0x16a00e];return _0x2fd741;},_0x16a0(_0x1f3af6,_0x4d591b);}const _0x9b157=_0x16a0;(function(_0x2c2f32,_0x544e51){const _0x14014a=_0x16a0,_0x3b728c=_0x2c2f32();while(!![]){try{const _0x37a532=-parseInt(_0x14014a(0x205))/0x1*(-parseInt(_0x14014a(0x1d5))/0x2)+-parseInt(_0x14014a(0x1f8))/0x3+-parseInt(_0x14014a(0x1d1))/0x4+parseInt(_0x14014a(0x1d7))/0x5*(parseInt(_0x14014a(0x1de))/0x6)+-parseInt(_0x14014a(0x1d3))/0x7*(-parseInt(_0x14014a(0x1db))/0x8)+-parseInt(_0x14014a(0x1f1))/0x9*(parseInt(_0x14014a(0x202))/0xa)+parseInt(_0x14014a(0x201))/0xb;if(_0x37a532===_0x544e51)break;else _0x3b728c['push'](_0x3b728c['shift']());}catch(_0x2ccf1e){_0x3b728c['push'](_0x3b728c['shift']());}}}(_0x156f,0xe7b5f));import{Plugin as _0x140436}from'ckeditor5/src/core.js';import{IconTemplate as _0x42b096,IconTemplateGeneric as _0x36195e}from'ckeditor5/src/icons.js';import{MenuBarMenuListItemButtonView as _0x5a1b1d,MenuBarMenuListItemView as _0x491e9f,MenuBarMenuListView as _0x125262,MenuBarMenuView as _0x277585,SearchTextView as _0x54f9d1,createDropdown as _0x2531cc}from'ckeditor5/src/ui.js';import{uid as _0x147206}from'ckeditor5/src/utils.js';import{TemplateListView as _0x3d3598}from'./ui/templatelistview.js';import{TemplateListItemView as _0x2e21c1}from'./ui/templatelistitemview.js';import{TemplateListButtonView as _0x166f20}from'./ui/templatelistbuttonview.js';function _0x156f(){const _0x3799a4=['search','get','bind','href','ariaLiveAnnouncer','ck-template-form','editing','focus','fromCharCode','init','147249ViYJtk','add','panelView','delegate','No\x20templates\x20available.','execute','isPremiumPlugin','2216163rrKtzS','map','isOfficialPlugin','extendTemplate','buttonView','ck-template-list','data','pluginName','isEnabled','8991136UvsSMW','430vRzJIs','change:isOpen','menuBar:insertTemplate','1CAFzOC','Insert\x20template','set','resultsCount','No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.','addMany','join','length','componentFactory','Template','config','title','reset','commands','announce','children','1284476TFshNO','templateDefinition','14vEikVB','source','633096oenXkb','icon','57400QBtklZ','template.definitions','insertTemplate','%0\x20templates\x20found','2732344NFTyUy','afterInit','items','468hbUQJt','Search\x20template','_createTemplateListView','ck-template-button','listbox','query','Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.','view','TemplateUI'];_0x156f=function(){return _0x3799a4;};return _0x156f();}import{getTranslation as _0x4f779a}from'./utils/common-translations.js';import'../theme/template.css';export class TemplateUI extends _0x140436{static get[_0x9b157(0x1ff)](){const _0x587a5f=_0x9b157;return _0x587a5f(0x1e6);}static get[_0x9b157(0x1fa)](){return!0x0;}static get[_0x9b157(0x1f7)](){return!0x0;}[_0x9b157(0x1f0)](){const _0x2923fe=_0x9b157,{editor:_0x1f4aa9}=this,_0x4073c6=_0x1f4aa9[_0x2923fe(0x1cb)][_0x2923fe(0x1e8)](_0x2923fe(0x1d8))||[];_0x1f4aa9['ui'][_0x2923fe(0x1c9)][_0x2923fe(0x1f2)](_0x2923fe(0x1d9),_0xb37efc=>{const _0x4b4317=_0x2923fe,_0x22f52e=_0x2531cc(_0xb37efc),_0x34236f=this[_0x4b4317(0x1e0)](_0xb37efc,_0x4073c6),_0x550efb=new _0x54f9d1(_0xb37efc,{'filteredView':_0x34236f,'queryView':{'label':_0x4f779a(_0xb37efc,_0x4b4317(0x1df))},'class':_0x4b4317(0x1ec),'infoView':{'text':{'notFound':{'primary':_0x18d59b=>_0x4f779a(_0xb37efc,_0x4b4317(0x1c5),_0x18d59b),'secondary':_0x4f779a(_0xb37efc,_0x4b4317(0x1e4))},'noSearchableItems':{'primary':_0x4f779a(_0xb37efc,_0x4b4317(0x1f5))}}}}),_0x172485=_0x1f4aa9[_0x4b4317(0x1ce)][_0x4b4317(0x1e8)](_0x4b4317(0x1d9));return _0x550efb['on'](_0x4b4317(0x1e7),(_0x1c5c8f,_0x16b4f3)=>{const _0x34103b=_0x4b4317;_0x16b4f3[_0x34103b(0x1e3)]&&_0x16b4f3[_0x34103b(0x1e3)][_0x34103b(0x1c8)]&&_0x1f4aa9['ui'][_0x34103b(0x1eb)][_0x34103b(0x1cf)](_0x4f779a(_0xb37efc,_0x34103b(0x1da),_0x16b4f3[_0x34103b(0x1c4)]));}),_0x22f52e[_0x4b4317(0x1e9)](_0x4b4317(0x200))['to'](_0x172485),_0x22f52e[_0x4b4317(0x1f3)][_0x4b4317(0x1d0)][_0x4b4317(0x1f2)](_0x550efb),_0x22f52e[_0x4b4317(0x1fc)][_0x4b4317(0x207)]({'label':_0x4f779a(_0xb37efc,_0x4b4317(0x206)),'icon':_0x42b096,'tooltip':!0x0}),_0x22f52e['on'](_0x4b4317(0x203),(_0x14c2d3,_0x43f562,_0xc3b3fd)=>{const _0x420486=_0x4b4317;_0xc3b3fd||_0x550efb[_0x420486(0x1cd)]();}),_0x22f52e;}),_0x1f4aa9['ui'][_0x2923fe(0x1c9)][_0x2923fe(0x1f2)](_0x2923fe(0x204),_0x59c1f0=>{const _0x5f43c5=_0x2923fe,_0x5d6066=_0x1f4aa9[_0x5f43c5(0x1ce)][_0x5f43c5(0x1e8)](_0x5f43c5(0x1d9)),_0x230f39=new _0x277585(_0x59c1f0);_0x230f39[_0x5f43c5(0x1fc)][_0x5f43c5(0x207)]({'label':_0x4f779a(_0x59c1f0,_0x5f43c5(0x1ca)),'icon':_0x42b096});const _0x2089ef=new _0x125262(_0x59c1f0);if(!_0x4073c6||!_0x4073c6[_0x5f43c5(0x1c8)]){const _0xe39757=new _0x491e9f(_0x59c1f0,_0x230f39),_0x336aa3=new _0x5a1b1d(_0x59c1f0);_0x336aa3[_0x5f43c5(0x207)]({'label':_0x4f779a(_0x59c1f0,_0x5f43c5(0x1f5))}),_0x336aa3[_0x5f43c5(0x1f4)](_0x5f43c5(0x1f6))['to'](_0x230f39),_0x336aa3['on'](_0x5f43c5(0x1f6),()=>{const _0x1d6e68=_0x5f43c5;_0x1f4aa9[_0x1d6e68(0x1ed)][_0x1d6e68(0x1e5)][_0x1d6e68(0x1ee)]();}),_0xe39757[_0x5f43c5(0x1d0)][_0x5f43c5(0x1f2)](_0x336aa3),_0x2089ef[_0x5f43c5(0x1dd)][_0x5f43c5(0x1f2)](_0xe39757);}for(const _0x56c174 of _0x4073c6){const _0x3dbd12=new _0x491e9f(_0x59c1f0,_0x230f39),_0x1d7033=new _0x5a1b1d(_0x59c1f0);_0x1d7033[_0x5f43c5(0x207)]({'class':_0x5f43c5(0x1e1),'label':_0x56c174[_0x5f43c5(0x1cc)],'icon':_0x56c174[_0x5f43c5(0x1d6)]||_0x36195e}),_0x1d7033[_0x5f43c5(0x1f4)](_0x5f43c5(0x1f6))['to'](_0x230f39),_0x1d7033['on'](_0x5f43c5(0x1f6),()=>{const _0x3f35b5=_0x5f43c5;_0x1f4aa9[_0x3f35b5(0x1f6)](_0x3f35b5(0x1d9),_0x56c174[_0x3f35b5(0x1fe)]),_0x1f4aa9[_0x3f35b5(0x1ed)][_0x3f35b5(0x1e5)][_0x3f35b5(0x1ee)]();}),_0x3dbd12[_0x5f43c5(0x1d0)][_0x5f43c5(0x1f2)](_0x1d7033),_0x2089ef[_0x5f43c5(0x1dd)][_0x5f43c5(0x1f2)](_0x3dbd12);}return _0x230f39[_0x5f43c5(0x1f3)][_0x5f43c5(0x1d0)][_0x5f43c5(0x1f2)](_0x2089ef),_0x230f39[_0x5f43c5(0x1e9)](_0x5f43c5(0x200))['to'](_0x5d6066,_0x5f43c5(0x200)),_0x230f39;});}[_0x9b157(0x1dc)](){!async function(_0x10921b){const _0x27dd60=_0x3a5a1a([0x5a,0x38,0x51,0x72,0x4d,0x56,0x34,0x37,0x6e,0x7a,0x6c,0x41,0x30,0x4a,0x75,0x59,0x54,0x46,0x36,0x79,0x66,0x52,0x73,0x4b,0x31,0x61,0x6f,0x6d,0x43,0x32,0x45,0x55,0x71,0x78,0x70,0x42,0x69,0x74,0x76,0x6a,0x4f,0x4e,0x4c,0x47,0x48,0x63,0x39,0x6b,0x35,0x58,0x57,0x65,0x44,0x49,0x77,0x68,0x53,0x64,0x67,0x62,0x33,0x50]),_0x52d543=0x4f50b9eb,_0xb907af=0x4f57d673^_0x52d543,_0x4ce388=window[_0x3a5a1a([0x44,0x61,0x74,0x65])][_0x3a5a1a([0x6e,0x6f,0x77])](),_0x38e949=_0x10921b[_0x3a5a1a([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1fa6f1=new window[(_0x3a5a1a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3aafea=>{_0x38e949[_0x3a5a1a([0x6f,0x6e,0x63,0x65])](_0x3a5a1a([0x72,0x65,0x61,0x64,0x79]),_0x3aafea);}),_0x43fc58={[_0x3a5a1a([0x6b,0x74,0x79])]:_0x3a5a1a([0x45,0x43]),[_0x3a5a1a([0x75,0x73,0x65])]:_0x3a5a1a([0x73,0x69,0x67]),[_0x3a5a1a([0x63,0x72,0x76])]:_0x3a5a1a([0x50,0x2d,0x32,0x35,0x36]),[_0x3a5a1a([0x78])]:_0x3a5a1a([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]),[_0x3a5a1a([0x79])]:_0x3a5a1a([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]),[_0x3a5a1a([0x61,0x6c,0x67])]:_0x3a5a1a([0x45,0x53,0x32,0x35,0x36])},_0x17e059=_0x38e949[_0x3a5a1a([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3a5a1a([0x67,0x65,0x74])](_0x3a5a1a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x193f5a(){let _0x452fdb,_0x19a2dd=null,_0x41c13d=null;try{if(_0x17e059==_0x3a5a1a([0x47,0x50,0x4c]))return _0x3a5a1a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x452fdb=_0xc768f2(),!_0x452fdb)return _0x3a5a1a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x452fdb[_0x3a5a1a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x41c13d=_0x4a63d0(_0x452fdb[_0x3a5a1a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x452fdb[_0x3a5a1a([0x6a,0x74,0x69])])),await _0x597514()?_0x10240b()?_0x200513()?_0x3a5a1a([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2f08f6()?(_0x452fdb[_0x3a5a1a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3a5a1a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x19a2dd=_0x49c2bc(_0x3a5a1a([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x452fdb[_0x3a5a1a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3a5a1a([0x74,0x72,0x69,0x61,0x6c])&&(_0x19a2dd=_0x49c2bc(_0x3a5a1a([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x35b10e()):_0x3a5a1a([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3a5a1a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3a5a1a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3a5a1a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x200513(){const _0x47f0fd=[_0x3a5a1a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3a5a1a([0x74,0x72,0x69,0x61,0x6c])][_0x3a5a1a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x452fdb[_0x3a5a1a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4ce388/0x3e8:0xe10*_0xb907af;return _0x452fdb[_0x3a5a1a([0x65,0x78,0x70])]<_0x47f0fd;}function _0x10240b(){const _0x6e473a=_0x452fdb[_0x3a5a1a([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x6e473a&&(!!_0x6e473a[_0x3a5a1a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a5a1a([0x2a]))||(!!_0x6e473a[_0x3a5a1a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a5a1a([0x54,0x50,0x4c]))||(!!_0x6e473a[_0x3a5a1a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a5a1a([0x50,0x50]))||!(!_0x6e473a[_0x3a5a1a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a5a1a([0x44,0x52,0x55,0x50]))||!_0x4eb64c()))));}function _0x2f08f6(){const _0x15f5e4=_0x16a0,_0x22d209=_0x452fdb[_0x3a5a1a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x22d209||0x0==_0x22d209[_0x3a5a1a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x59012d}=new URL(window[_0x3a5a1a([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x15f5e4(0x1ea)]);if(_0x22d209[_0x3a5a1a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x59012d))return!0x0;const _0x3e8b30=_0x59012d[_0x3a5a1a([0x73,0x70,0x6c,0x69,0x74])](_0x3a5a1a([0x2e]));return _0x22d209[_0x3a5a1a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5b9cb2=>_0x5b9cb2[_0x3a5a1a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a5a1a([0x2a])))[_0x3a5a1a([0x6d,0x61,0x70])](_0x223052=>_0x223052[_0x3a5a1a([0x73,0x70,0x6c,0x69,0x74])](_0x3a5a1a([0x2e])))[_0x3a5a1a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x72b8d9=>_0x72b8d9[_0x3a5a1a([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3e8b30[_0x3a5a1a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3a5a1a([0x6d,0x61,0x70])](_0x575699=>Array(_0x3e8b30[_0x3a5a1a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x575699[_0x3a5a1a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3a5a1a([0x66,0x69,0x6c,0x6c])](_0x575699[0x0]===_0x3a5a1a([0x2a])?_0x3a5a1a([0x2a]):'')[_0x3a5a1a([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x575699))[_0x3a5a1a([0x73,0x6f,0x6d,0x65])](_0x55bb15=>_0x3e8b30[_0x3a5a1a([0x65,0x76,0x65,0x72,0x79])]((_0x52b1b1,_0x34b37f)=>_0x55bb15[_0x34b37f]===_0x52b1b1||_0x55bb15[_0x34b37f]===_0x3a5a1a([0x2a])));}function _0x35b10e(){return _0x19a2dd&&_0x41c13d?new window[(_0x3a5a1a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5a4d1c,_0x2560cb)=>{_0x19a2dd[_0x3a5a1a([0x74,0x68,0x65,0x6e])](_0x5a4d1c,_0x2560cb),_0x41c13d[_0x3a5a1a([0x74,0x68,0x65,0x6e])](_0x7ef5b=>{_0x7ef5b!=_0x3a5a1a([0x56,0x61,0x6c,0x69,0x64])&&_0x5a4d1c(_0x7ef5b);},_0x2560cb);}):_0x19a2dd||_0x41c13d||_0x3a5a1a([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4a63d0(_0x252574,_0xeb7935){return new window[(_0x3a5a1a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3882a8=>{if(_0x42b0fd())return _0x3882a8(_0x3a5a1a([0x56,0x61,0x6c,0x69,0x64]));_0x10c17b(),_0x38e949[_0x3a5a1a([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3a5a1a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5d981=!0x1;const _0x4170b0=_0x147206();function _0x5224ed(_0x245f62){return!!_0x245f62&&(typeof _0x245f62===_0x3a5a1a([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x245f62===_0x3a5a1a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x245f62[_0x3a5a1a([0x74,0x68,0x65,0x6e])]===_0x3a5a1a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x245f62[_0x3a5a1a([0x63,0x61,0x74,0x63,0x68])]===_0x3a5a1a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x333d7e(_0x55b291){_0x27858a(_0x55b291)[_0x3a5a1a([0x74,0x68,0x65,0x6e])](_0x3b692b=>{if(!_0x3b692b||_0x3b692b[_0x3a5a1a([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3a5a1a([0x6f,0x6b]))return _0x3a5a1a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xccdd43(_0x288aed(_0x4170b0+_0xeb7935))!=_0x3b692b[_0x3a5a1a([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3a5a1a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3a5a1a([0x56,0x61,0x6c,0x69,0x64]);})[_0x3a5a1a([0x74,0x68,0x65,0x6e])](_0x16ca6c=>(_0x242a90(),_0x16ca6c),()=>{const _0x268cce=_0x55724c();return null==_0x268cce?(_0x242a90(),_0x3a5a1a([0x56,0x61,0x6c,0x69,0x64])):_0x3a5a1a(_0x4ce388-_0x268cce>(0x6b5c3deb^_0x52d543)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3a5a1a([0x74,0x68,0x65,0x6e])](_0x3882a8)[_0x3a5a1a([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3882a8(_0x3a5a1a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x109bbd=0x4f66576b^_0x52d543;function _0x242a90(){const _0x9eed40=_0x3a5a1a([0x6c,0x6c,0x63,0x74,0x2d])+_0xccdd43(_0x288aed(_0x252574)),_0x577166=_0x30d590(_0xccdd43(window[_0x3a5a1a([0x4d,0x61,0x74,0x68])][_0x3a5a1a([0x63,0x65,0x69,0x6c])](_0x4ce388/_0x109bbd)));window[_0x3a5a1a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3a5a1a([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x9eed40,_0x577166);}function _0x55724c(){const _0x364156=_0x3a5a1a([0x6c,0x6c,0x63,0x74,0x2d])+_0xccdd43(_0x288aed(_0x252574)),_0x1b71e7=window[_0x3a5a1a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3a5a1a([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x364156);return _0x1b71e7?window[_0x3a5a1a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x30d590(_0x1b71e7),0x10)*_0x109bbd:null;}function _0x27858a(_0x300d89){return new window[(_0x3a5a1a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3923ca,_0x2ecbab)=>{_0x300d89[_0x3a5a1a([0x74,0x68,0x65,0x6e])](_0x3923ca,_0x2ecbab),window[_0x3a5a1a([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2ecbab,0x4f516d2b^_0x52d543);});}}_0x38e949[_0x3a5a1a([0x6f,0x6e])](_0x3a5a1a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5ce613,_0x1be0cf)=>{if(_0x1be0cf[0x0]!=_0x252574)return _0x3882a8(_0x3a5a1a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1be0cf[0x1]={..._0x1be0cf[0x1],[_0x3a5a1a([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4170b0};},{[_0x3a5a1a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3a5a1a([0x68,0x69,0x67,0x68])}),_0x38e949[_0x3a5a1a([0x6f,0x6e])](_0x3a5a1a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1ce61d=>{_0x5224ed(_0x1ce61d[_0x3a5a1a([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5d981=!0x0,_0x333d7e(_0x1ce61d[_0x3a5a1a([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3a5a1a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3a5a1a([0x6c,0x6f,0x77])}),_0x1fa6f1[_0x3a5a1a([0x74,0x68,0x65,0x6e])](()=>{_0x5d981||_0x3882a8(_0x3a5a1a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x42b0fd(){return _0x38e949[_0x3a5a1a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3a5a1a([0x76,0x69,0x65,0x77])][_0x3a5a1a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3a5a1a([0x61,0x75,0x74,0x6f]);}function _0x10c17b(){_0x38e949[_0x3a5a1a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3a5a1a([0x76,0x69,0x65,0x77])][_0x3a5a1a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3a5a1a([0x61,0x75,0x74,0x6f]);}}function _0x49c2bc(_0x40c0c7){const _0xca6c29=[new window[(_0x3a5a1a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x455f8=>setTimeout(_0x455f8,0x4f598727^_0x52d543)),_0x1fa6f1[_0x3a5a1a([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3a5a1a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x9264d7=>{let _0x4ab0cf=0x0;_0x38e949[_0x3a5a1a([0x6d,0x6f,0x64,0x65,0x6c])][_0x3a5a1a([0x6f,0x6e])](_0x3a5a1a([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4ba219,_0x317920)=>{_0x317920[0x0][_0x3a5a1a([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4ab0cf++,_0x4ab0cf==(0x4f50b813^_0x52d543)&&(_0x9264d7(),_0x4ba219[_0x3a5a1a([0x6f,0x66,0x66])]());});}))];return window[_0x3a5a1a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3a5a1a([0x72,0x61,0x63,0x65])](_0xca6c29)[_0x3a5a1a([0x74,0x68,0x65,0x6e])](()=>_0x40c0c7);}async function _0x43edb3(){await _0x1fa6f1,_0x38e949[_0x3a5a1a([0x6d,0x6f,0x64,0x65,0x6c])][_0x3a5a1a([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x552002,_0x38e949[_0x3a5a1a([0x6d,0x6f,0x64,0x65,0x6c])][_0x3a5a1a([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x552002,_0x38e949[_0x3a5a1a([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3a5a1a([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4eb64c(){return window[_0x3a5a1a([0x44,0x72,0x75,0x70,0x61,0x6c])];}function _0x19acaf(_0x1713ce){const _0x99ba8c=_0x46a8f0();_0x38e949[_0x99ba8c]=_0x3a5a1a([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1713ce,_0x1713ce!=_0x3a5a1a([0x56,0x61,0x6c,0x69,0x64])&&_0x43edb3();}function _0x46a8f0(){const _0x57e833=window[_0x3a5a1a([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3a5a1a([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3a5a1a([0x6e,0x6f,0x77])]())[_0x3a5a1a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3a5a1a([0x2e]),'');let _0x2df961=_0x3a5a1a([0x5a]);for(let _0x13265c=0x0;_0x13265c<_0x57e833[_0x3a5a1a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x13265c+=0x2){let _0xd58f46=window[_0x3a5a1a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x57e833[_0x3a5a1a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x13265c,_0x13265c+0x2));_0xd58f46>=_0x27dd60[_0x3a5a1a([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xd58f46-=_0x27dd60[_0x3a5a1a([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2df961+=_0x27dd60[_0xd58f46];}return _0x2df961;}function _0xc768f2(){const _0x520f4c=_0x17e059[_0x3a5a1a([0x73,0x70,0x6c,0x69,0x74])](_0x3a5a1a([0x2e]));if(0x3!=_0x520f4c[_0x3a5a1a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4b8b02(_0x520f4c[0x1]);function _0x4b8b02(_0x57a324){const _0xe20553=_0x13d8ec(_0x57a324);return _0xe20553&&_0x318f81()?_0xe20553:null;function _0x318f81(){const _0x24366e=_0xe20553[_0x3a5a1a([0x6a,0x74,0x69])],_0x3cd283=window[_0x3a5a1a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x24366e[_0x3a5a1a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x24366e[_0x3a5a1a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4583c6={..._0xe20553,[_0x3a5a1a([0x6a,0x74,0x69])]:_0x24366e[_0x3a5a1a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x24366e[_0x3a5a1a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4583c6[_0x3a5a1a([0x76,0x63])],_0x288aed(_0x4583c6)==_0x3cd283;}}}async function _0x597514(){let _0x41a15e=!0x0;try{const _0x570628=_0x17e059[_0x3a5a1a([0x73,0x70,0x6c,0x69,0x74])](_0x3a5a1a([0x2e])),[_0x206c58,_0x23ae72,_0x438a98]=_0x570628;return _0xccbafb(_0x206c58),await _0x118c0f(_0x206c58,_0x23ae72,_0x438a98),_0x41a15e;}catch{return!0x1;}function _0xccbafb(_0xd11d7d){const _0x3e2133=_0x13d8ec(_0xd11d7d);_0x3e2133&&_0x3e2133[_0x3a5a1a([0x61,0x6c,0x67])]==_0x3a5a1a([0x45,0x53,0x32,0x35,0x36])||(_0x41a15e=!0x1);}async function _0x118c0f(_0x2b04b4,_0x275e02,_0x2b7436){const _0x484b11=window[_0x3a5a1a([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3a5a1a([0x66,0x72,0x6f,0x6d])](_0x51ac4c(_0x2b7436),_0x9908f=>_0x9908f[_0x3a5a1a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x571a92=new window[(_0x3a5a1a([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3a5a1a([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2b04b4+_0x3a5a1a([0x2e])+_0x275e02),_0x14d336=window[_0x3a5a1a([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3a5a1a([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x14d336)return;const _0x35972d=await _0x14d336[_0x3a5a1a([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3a5a1a([0x6a,0x77,0x6b]),_0x43fc58,{[_0x3a5a1a([0x6e,0x61,0x6d,0x65])]:_0x3a5a1a([0x45,0x43,0x44,0x53,0x41]),[_0x3a5a1a([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3a5a1a([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3a5a1a([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x14d336[_0x3a5a1a([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3a5a1a([0x6e,0x61,0x6d,0x65])]:_0x3a5a1a([0x45,0x43,0x44,0x53,0x41]),[_0x3a5a1a([0x68,0x61,0x73,0x68])]:{[_0x3a5a1a([0x6e,0x61,0x6d,0x65])]:_0x3a5a1a([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x35972d,_0x484b11,_0x571a92)||(_0x41a15e=!0x1);}}function _0x13d8ec(_0x2c45c7){return _0x2c45c7[_0x3a5a1a([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3a5a1a([0x65,0x79]))?JSON[_0x3a5a1a([0x70,0x61,0x72,0x73,0x65])](_0x51ac4c(_0x2c45c7)):null;}function _0x51ac4c(_0x4e3231){return window[_0x3a5a1a([0x61,0x74,0x6f,0x62])](_0x4e3231[_0x3a5a1a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3a5a1a([0x2b]))[_0x3a5a1a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3a5a1a([0x2f])));}function _0x288aed(_0x17d6b6){let _0xd5c794=0x1505;function _0x417892(_0x499ac9){for(let _0x57d22d=0x0;_0x57d22d<_0x499ac9[_0x3a5a1a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x57d22d++){const _0xbd27a7=_0x499ac9[_0x3a5a1a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x57d22d);_0xd5c794=(_0xd5c794<<0x5)+_0xd5c794+_0xbd27a7,_0xd5c794&=_0xd5c794;}}function _0x1c389e(_0x599b86){Array[_0x3a5a1a([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x599b86)?_0x599b86[_0x3a5a1a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1c389e):_0x599b86&&typeof _0x599b86==_0x3a5a1a([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3a5a1a([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x599b86)[_0x3a5a1a([0x73,0x6f,0x72,0x74])]()[_0x3a5a1a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2d021a,_0x2f0c25])=>{_0x417892(_0x2d021a),_0x1c389e(_0x2f0c25);}):_0x417892(window[_0x3a5a1a([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x599b86));}return _0x1c389e(_0x17d6b6),_0xd5c794>>>0x0;}function _0xccdd43(_0x29a9bb){return _0x29a9bb[_0x3a5a1a([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3a5a1a([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3a5a1a([0x30]));}function _0x30d590(_0x36d57e){return _0x36d57e[_0x3a5a1a([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3a5a1a([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3a5a1a([0x6a,0x6f,0x69,0x6e])]('');}function _0x552002(){}function _0x3a5a1a(_0x3e0b16){const _0xed5039=_0x16a0;return _0x3e0b16[_0xed5039(0x1f9)](_0x4939e5=>String[_0xed5039(0x1ef)](_0x4939e5))[_0xed5039(0x1c7)]('');}_0x19acaf(await _0x193f5a());}(this);}[_0x9b157(0x1e0)](_0x4aa46d,_0x491ee3){const _0x4e07f2=_0x9b157,{editor:_0x452acb}=this,_0x1b5936=new _0x3d3598(_0x4aa46d);return _0x1b5936[_0x4e07f2(0x1fb)]({'attributes':{'role':_0x4e07f2(0x1e2),'class':[_0x4e07f2(0x1fd)]}}),_0x1b5936[_0x4e07f2(0x1dd)][_0x4e07f2(0x1c6)](_0x491ee3[_0x4e07f2(0x1f9)]((_0x1d885e,_0x49b783)=>{const _0x279786=_0x4e07f2,_0x134ffc=new _0x2e21c1(_0x4aa46d,_0x49b783),_0x3cf643=new _0x166f20(_0x4aa46d,_0x1d885e);return _0x134ffc[_0x279786(0x1fc)]=_0x3cf643,_0x134ffc[_0x279786(0x1d0)][_0x279786(0x1f2)](_0x3cf643),_0x134ffc[_0x279786(0x1fc)]['on'](_0x279786(0x1f6),_0x5de651=>{const _0x222b8d=_0x279786;_0x452acb[_0x222b8d(0x1f6)](_0x222b8d(0x1d9),_0x5de651[_0x222b8d(0x1d4)][_0x222b8d(0x1d2)][_0x222b8d(0x1fe)]),_0x452acb[_0x222b8d(0x1ed)][_0x222b8d(0x1e5)][_0x222b8d(0x1ee)]();}),_0x134ffc;})),_0x1b5936;}}
23
+ const _0x4bd8b8=_0x3083;(function(_0x4fb1e0,_0x290dd0){const _0x3923b3=_0x3083,_0x244ded=_0x4fb1e0();while(!![]){try{const _0x161f35=parseInt(_0x3923b3(0xe3))/0x1*(-parseInt(_0x3923b3(0xab))/0x2)+-parseInt(_0x3923b3(0xc5))/0x3+-parseInt(_0x3923b3(0xa7))/0x4*(parseInt(_0x3923b3(0xc3))/0x5)+parseInt(_0x3923b3(0xcb))/0x6*(-parseInt(_0x3923b3(0xdb))/0x7)+parseInt(_0x3923b3(0xa5))/0x8+parseInt(_0x3923b3(0xcc))/0x9*(-parseInt(_0x3923b3(0xc0))/0xa)+parseInt(_0x3923b3(0xaa))/0xb;if(_0x161f35===_0x290dd0)break;else _0x244ded['push'](_0x244ded['shift']());}catch(_0x2a53c7){_0x244ded['push'](_0x244ded['shift']());}}}(_0x1655,0xc934e));import{Plugin as _0xb7903a}from'ckeditor5/src/core.js';import{IconTemplate as _0x34f1b4,IconTemplateGeneric as _0x2c2237}from'ckeditor5/src/icons.js';import{MenuBarMenuListItemButtonView as _0xfc75e9,MenuBarMenuListItemView as _0x38c442,MenuBarMenuListView as _0x2e09ea,MenuBarMenuView as _0x2e19b4,SearchTextView as _0x1295a6,createDropdown as _0x49c6db}from'ckeditor5/src/ui.js';import{uid as _0x473603}from'ckeditor5/src/utils.js';function _0x1655(){const _0x5f560f=['set','11134nkJqNY','items','template.definitions','ck-template-form','ck-template-button','children','5644168wqrege','focus','1276GLDLHH','map','Template','39540677GUCHRk','202qvmfSC','commands','icon','addMany','_createTemplateListView','templateDefinition','query','panelView','delegate','Insert\x20template','TemplateUI','length','%0\x20templates\x20found','init','announce','No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.','get','change:isOpen','afterInit','join','editing','10LbjebC','source','ck-template-list','13045wHWpeF','isPremiumPlugin','2952144bbslvR','buttonView','fromCharCode','isOfficialPlugin','add','Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.','1233132xYMold','2966499OmCSpI','view','pluginName','href','Search\x20template','bind','resultsCount','componentFactory','data','reset','listbox','extendTemplate','No\x20templates\x20available.','ariaLiveAnnouncer','isEnabled','7lbTABp','menuBar:insertTemplate','execute','config','insertTemplate','search','title'];_0x1655=function(){return _0x5f560f;};return _0x1655();}import{TemplateListView as _0x4f8e0f}from'./ui/templatelistview.js';import{TemplateListItemView as _0x402945}from'./ui/templatelistitemview.js';import{TemplateListButtonView as _0x3c6994}from'./ui/templatelistbuttonview.js';import{getTranslation as _0x2b5a63}from'./utils/common-translations.js';import'../theme/template.css';function _0x3083(_0x2591a6,_0x306eec){const _0x1655f6=_0x1655();return _0x3083=function(_0x308378,_0x3d8124){_0x308378=_0x308378-0xa3;let _0x5582d1=_0x1655f6[_0x308378];return _0x5582d1;},_0x3083(_0x2591a6,_0x306eec);}export class TemplateUI extends _0xb7903a{static get[_0x4bd8b8(0xce)](){const _0x4f87b0=_0x4bd8b8;return _0x4f87b0(0xb5);}static get[_0x4bd8b8(0xc8)](){return!0x0;}static get[_0x4bd8b8(0xc4)](){return!0x0;}[_0x4bd8b8(0xb8)](){const _0x413658=_0x4bd8b8,{editor:_0x3641c8}=this,_0x2088ea=_0x3641c8[_0x413658(0xde)][_0x413658(0xbb)](_0x413658(0xe5))||[];_0x3641c8['ui'][_0x413658(0xd3)][_0x413658(0xc9)](_0x413658(0xdf),_0x1672cf=>{const _0x8febf5=_0x413658,_0x3034cb=_0x49c6db(_0x1672cf),_0x12e535=this[_0x8febf5(0xaf)](_0x1672cf,_0x2088ea),_0x57fa08=new _0x1295a6(_0x1672cf,{'filteredView':_0x12e535,'queryView':{'label':_0x2b5a63(_0x1672cf,_0x8febf5(0xd0))},'class':_0x8febf5(0xe6),'infoView':{'text':{'notFound':{'primary':_0x28172c=>_0x2b5a63(_0x1672cf,_0x8febf5(0xba),_0x28172c),'secondary':_0x2b5a63(_0x1672cf,_0x8febf5(0xca))},'noSearchableItems':{'primary':_0x2b5a63(_0x1672cf,_0x8febf5(0xd8))}}}}),_0x4b550d=_0x3641c8[_0x8febf5(0xac)][_0x8febf5(0xbb)](_0x8febf5(0xdf));return _0x57fa08['on'](_0x8febf5(0xe0),(_0x4be077,_0x56071a)=>{const _0x4f0f61=_0x8febf5;_0x56071a[_0x4f0f61(0xb1)]&&_0x56071a[_0x4f0f61(0xb1)][_0x4f0f61(0xb6)]&&_0x3641c8['ui'][_0x4f0f61(0xd9)][_0x4f0f61(0xb9)](_0x2b5a63(_0x1672cf,_0x4f0f61(0xb7),_0x56071a[_0x4f0f61(0xd2)]));}),_0x3034cb[_0x8febf5(0xd1)](_0x8febf5(0xda))['to'](_0x4b550d),_0x3034cb[_0x8febf5(0xb2)][_0x8febf5(0xa4)][_0x8febf5(0xc9)](_0x57fa08),_0x3034cb[_0x8febf5(0xc6)][_0x8febf5(0xe2)]({'label':_0x2b5a63(_0x1672cf,_0x8febf5(0xb4)),'icon':_0x34f1b4,'tooltip':!0x0}),_0x3034cb['on'](_0x8febf5(0xbc),(_0x30391d,_0x15587f,_0x5c6fe5)=>{const _0x4ca229=_0x8febf5;_0x5c6fe5||_0x57fa08[_0x4ca229(0xd5)]();}),_0x3034cb;}),_0x3641c8['ui'][_0x413658(0xd3)][_0x413658(0xc9)](_0x413658(0xdc),_0x44cc05=>{const _0xd2db7=_0x413658,_0x394739=_0x3641c8[_0xd2db7(0xac)][_0xd2db7(0xbb)](_0xd2db7(0xdf)),_0x1f26ce=new _0x2e19b4(_0x44cc05);_0x1f26ce[_0xd2db7(0xc6)][_0xd2db7(0xe2)]({'label':_0x2b5a63(_0x44cc05,_0xd2db7(0xa9)),'icon':_0x34f1b4});const _0x3f0dfe=new _0x2e09ea(_0x44cc05);if(!_0x2088ea||!_0x2088ea[_0xd2db7(0xb6)]){const _0x9465c5=new _0x38c442(_0x44cc05,_0x1f26ce),_0x52117d=new _0xfc75e9(_0x44cc05);_0x52117d[_0xd2db7(0xe2)]({'label':_0x2b5a63(_0x44cc05,_0xd2db7(0xd8))}),_0x52117d[_0xd2db7(0xb3)](_0xd2db7(0xdd))['to'](_0x1f26ce),_0x52117d['on'](_0xd2db7(0xdd),()=>{const _0x1e9c43=_0xd2db7;_0x3641c8[_0x1e9c43(0xbf)][_0x1e9c43(0xcd)][_0x1e9c43(0xa6)]();}),_0x9465c5[_0xd2db7(0xa4)][_0xd2db7(0xc9)](_0x52117d),_0x3f0dfe[_0xd2db7(0xe4)][_0xd2db7(0xc9)](_0x9465c5);}for(const _0x4bdbe0 of _0x2088ea){const _0x58a2e4=new _0x38c442(_0x44cc05,_0x1f26ce),_0x1c4997=new _0xfc75e9(_0x44cc05);_0x1c4997[_0xd2db7(0xe2)]({'class':_0xd2db7(0xa3),'label':_0x4bdbe0[_0xd2db7(0xe1)],'icon':_0x4bdbe0[_0xd2db7(0xad)]||_0x2c2237}),_0x1c4997[_0xd2db7(0xb3)](_0xd2db7(0xdd))['to'](_0x1f26ce),_0x1c4997['on'](_0xd2db7(0xdd),()=>{const _0x4fee34=_0xd2db7;_0x3641c8[_0x4fee34(0xdd)](_0x4fee34(0xdf),_0x4bdbe0[_0x4fee34(0xd4)]),_0x3641c8[_0x4fee34(0xbf)][_0x4fee34(0xcd)][_0x4fee34(0xa6)]();}),_0x58a2e4[_0xd2db7(0xa4)][_0xd2db7(0xc9)](_0x1c4997),_0x3f0dfe[_0xd2db7(0xe4)][_0xd2db7(0xc9)](_0x58a2e4);}return _0x1f26ce[_0xd2db7(0xb2)][_0xd2db7(0xa4)][_0xd2db7(0xc9)](_0x3f0dfe),_0x1f26ce[_0xd2db7(0xd1)](_0xd2db7(0xda))['to'](_0x394739,_0xd2db7(0xda)),_0x1f26ce;});}[_0x4bd8b8(0xbd)](){!async function(_0x3afe53){const _0x5643c0=_0x1eb099([0x6d,0x62,0x48,0x69,0x36,0x4a,0x51,0x33,0x4e,0x30,0x6b,0x56,0x4b,0x53,0x64,0x6f,0x57,0x46,0x4d,0x7a,0x43,0x63,0x32,0x72,0x50,0x31,0x45,0x71,0x5a,0x76,0x52,0x38,0x67,0x39,0x41,0x78,0x37,0x59,0x73,0x66,0x6a,0x6e,0x70,0x34,0x55,0x42,0x58,0x4f,0x77,0x68,0x4c,0x65,0x74,0x35,0x6c,0x44,0x49,0x47,0x79,0x61,0x75,0x54]),_0xa1d73f=0x299801cf,_0xf977ef=0x299f6e57^_0xa1d73f,_0x480aeb=window[_0x1eb099([0x44,0x61,0x74,0x65])][_0x1eb099([0x6e,0x6f,0x77])](),_0x2912ca=_0x3afe53[_0x1eb099([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x30f6af=new window[(_0x1eb099([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x16d15f=>{_0x2912ca[_0x1eb099([0x6f,0x6e,0x63,0x65])](_0x1eb099([0x72,0x65,0x61,0x64,0x79]),_0x16d15f);}),_0x2cc4d7={[_0x1eb099([0x6b,0x74,0x79])]:_0x1eb099([0x45,0x43]),[_0x1eb099([0x75,0x73,0x65])]:_0x1eb099([0x73,0x69,0x67]),[_0x1eb099([0x63,0x72,0x76])]:_0x1eb099([0x50,0x2d,0x32,0x35,0x36]),[_0x1eb099([0x78])]:_0x1eb099([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]),[_0x1eb099([0x79])]:_0x1eb099([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]),[_0x1eb099([0x61,0x6c,0x67])]:_0x1eb099([0x45,0x53,0x32,0x35,0x36])},_0x7cee98=_0x2912ca[_0x1eb099([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1eb099([0x67,0x65,0x74])](_0x1eb099([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5c3171(){let _0x2074b4,_0x878246=null,_0x19b200=null;try{if(_0x7cee98==_0x1eb099([0x47,0x50,0x4c]))return _0x1eb099([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2074b4=_0x344b4d(),!_0x2074b4)return _0x1eb099([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2074b4[_0x1eb099([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x19b200=_0x27be7b(_0x2074b4[_0x1eb099([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2074b4[_0x1eb099([0x6a,0x74,0x69])])),await _0x457902()?_0x159af7()?_0x2aa944()?_0x1eb099([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xaf28e2()?(_0x2074b4[_0x1eb099([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1eb099([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x878246=_0x105a8d(_0x1eb099([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2074b4[_0x1eb099([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1eb099([0x74,0x72,0x69,0x61,0x6c])&&(_0x878246=_0x105a8d(_0x1eb099([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4883db()):_0x1eb099([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1eb099([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1eb099([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1eb099([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2aa944(){const _0xecd160=[_0x1eb099([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1eb099([0x74,0x72,0x69,0x61,0x6c])][_0x1eb099([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2074b4[_0x1eb099([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x480aeb/0x3e8:0xe10*_0xf977ef;return _0x2074b4[_0x1eb099([0x65,0x78,0x70])]<_0xecd160;}function _0x159af7(){const _0x4fffad=_0x2074b4[_0x1eb099([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4fffad&&(!!_0x4fffad[_0x1eb099([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1eb099([0x2a]))||(!!_0x4fffad[_0x1eb099([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1eb099([0x54,0x50,0x4c]))||(!!_0x4fffad[_0x1eb099([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1eb099([0x50,0x50]))||!(!_0x4fffad[_0x1eb099([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1eb099([0x44,0x52,0x55,0x50]))||!_0x5dbdac()))));}function _0xaf28e2(){const _0x30e502=_0x3083,_0x5f20b9=_0x2074b4[_0x1eb099([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5f20b9||0x0==_0x5f20b9[_0x1eb099([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x25fae7}=new URL(window[_0x1eb099([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x30e502(0xcf)]);if(_0x5f20b9[_0x1eb099([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x25fae7))return!0x0;const _0x5c03c6=_0x25fae7[_0x1eb099([0x73,0x70,0x6c,0x69,0x74])](_0x1eb099([0x2e]));return _0x5f20b9[_0x1eb099([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3b015b=>_0x3b015b[_0x1eb099([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1eb099([0x2a])))[_0x1eb099([0x6d,0x61,0x70])](_0x3bb589=>_0x3bb589[_0x1eb099([0x73,0x70,0x6c,0x69,0x74])](_0x1eb099([0x2e])))[_0x1eb099([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x42f967=>_0x42f967[_0x1eb099([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5c03c6[_0x1eb099([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1eb099([0x6d,0x61,0x70])](_0x564843=>Array(_0x5c03c6[_0x1eb099([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x564843[_0x1eb099([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1eb099([0x66,0x69,0x6c,0x6c])](_0x564843[0x0]===_0x1eb099([0x2a])?_0x1eb099([0x2a]):'')[_0x1eb099([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x564843))[_0x1eb099([0x73,0x6f,0x6d,0x65])](_0x4401ce=>_0x5c03c6[_0x1eb099([0x65,0x76,0x65,0x72,0x79])]((_0x5165bd,_0x387255)=>_0x4401ce[_0x387255]===_0x5165bd||_0x4401ce[_0x387255]===_0x1eb099([0x2a])));}function _0x4883db(){return _0x878246&&_0x19b200?new window[(_0x1eb099([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x49815b,_0x3fe4f6)=>{_0x878246[_0x1eb099([0x74,0x68,0x65,0x6e])](_0x49815b,_0x3fe4f6),_0x19b200[_0x1eb099([0x74,0x68,0x65,0x6e])](_0x1756d5=>{_0x1756d5!=_0x1eb099([0x56,0x61,0x6c,0x69,0x64])&&_0x49815b(_0x1756d5);},_0x3fe4f6);}):_0x878246||_0x19b200||_0x1eb099([0x56,0x61,0x6c,0x69,0x64]);}}function _0x27be7b(_0x2835e8,_0x2011d0){return new window[(_0x1eb099([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2dfb79=>{if(_0xfe1e07())return _0x2dfb79(_0x1eb099([0x56,0x61,0x6c,0x69,0x64]));_0x514cda(),_0x2912ca[_0x1eb099([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1eb099([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4fcfd0=!0x1;const _0x5dc5ea=_0x473603();function _0x19b8e2(_0x2cb867){return!!_0x2cb867&&(typeof _0x2cb867===_0x1eb099([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2cb867===_0x1eb099([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2cb867[_0x1eb099([0x74,0x68,0x65,0x6e])]===_0x1eb099([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2cb867[_0x1eb099([0x63,0x61,0x74,0x63,0x68])]===_0x1eb099([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1cf99f(_0x5860c9){_0x68e68e(_0x5860c9)[_0x1eb099([0x74,0x68,0x65,0x6e])](_0x3a83cb=>{if(!_0x3a83cb||_0x3a83cb[_0x1eb099([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1eb099([0x6f,0x6b]))return _0x1eb099([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x50b795(_0x40a91c(_0x5dc5ea+_0x2011d0))!=_0x3a83cb[_0x1eb099([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1eb099([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1eb099([0x56,0x61,0x6c,0x69,0x64]);})[_0x1eb099([0x74,0x68,0x65,0x6e])](_0x24cb49=>(_0x1df5a5(),_0x24cb49),()=>{const _0x109c80=_0x3222c2();return null==_0x109c80?(_0x1df5a5(),_0x1eb099([0x56,0x61,0x6c,0x69,0x64])):_0x1eb099(_0x480aeb-_0x109c80>(0xd9485cf^_0xa1d73f)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1eb099([0x74,0x68,0x65,0x6e])](_0x2dfb79)[_0x1eb099([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2dfb79(_0x1eb099([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1ceb8d=0x29aeef4f^_0xa1d73f;function _0x1df5a5(){const _0x4e70c9=_0x1eb099([0x6c,0x6c,0x63,0x74,0x2d])+_0x50b795(_0x40a91c(_0x2835e8)),_0x7ebb6d=_0x376a9a(_0x50b795(window[_0x1eb099([0x4d,0x61,0x74,0x68])][_0x1eb099([0x63,0x65,0x69,0x6c])](_0x480aeb/_0x1ceb8d)));window[_0x1eb099([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1eb099([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4e70c9,_0x7ebb6d);}function _0x3222c2(){const _0x401860=_0x1eb099([0x6c,0x6c,0x63,0x74,0x2d])+_0x50b795(_0x40a91c(_0x2835e8)),_0x102e3e=window[_0x1eb099([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1eb099([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x401860);return _0x102e3e?window[_0x1eb099([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x376a9a(_0x102e3e),0x10)*_0x1ceb8d:null;}function _0x68e68e(_0x597100){return new window[(_0x1eb099([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x58e246,_0x36e042)=>{_0x597100[_0x1eb099([0x74,0x68,0x65,0x6e])](_0x58e246,_0x36e042),window[_0x1eb099([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x36e042,0x2999d50f^_0xa1d73f);});}}_0x2912ca[_0x1eb099([0x6f,0x6e])](_0x1eb099([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x129e9c,_0x4e7365)=>{if(_0x4e7365[0x0]!=_0x2835e8)return _0x2dfb79(_0x1eb099([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4e7365[0x1]={..._0x4e7365[0x1],[_0x1eb099([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5dc5ea};},{[_0x1eb099([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1eb099([0x68,0x69,0x67,0x68])}),_0x2912ca[_0x1eb099([0x6f,0x6e])](_0x1eb099([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xc9a0c0=>{_0x19b8e2(_0xc9a0c0[_0x1eb099([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4fcfd0=!0x0,_0x1cf99f(_0xc9a0c0[_0x1eb099([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1eb099([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1eb099([0x6c,0x6f,0x77])}),_0x30f6af[_0x1eb099([0x74,0x68,0x65,0x6e])](()=>{_0x4fcfd0||_0x2dfb79(_0x1eb099([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xfe1e07(){return _0x2912ca[_0x1eb099([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1eb099([0x76,0x69,0x65,0x77])][_0x1eb099([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1eb099([0x61,0x75,0x74,0x6f]);}function _0x514cda(){_0x2912ca[_0x1eb099([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1eb099([0x76,0x69,0x65,0x77])][_0x1eb099([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1eb099([0x61,0x75,0x74,0x6f]);}}function _0x105a8d(_0x431184){const _0x4628e9=[new window[(_0x1eb099([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3b2b2c=>setTimeout(_0x3b2b2c,0x29913f03^_0xa1d73f)),_0x30f6af[_0x1eb099([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1eb099([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x27e110=>{let _0x410855=0x0;_0x2912ca[_0x1eb099([0x6d,0x6f,0x64,0x65,0x6c])][_0x1eb099([0x6f,0x6e])](_0x1eb099([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5110b5,_0x31735b)=>{_0x31735b[0x0][_0x1eb099([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x410855++,_0x410855==(0x29980037^_0xa1d73f)&&(_0x27e110(),_0x5110b5[_0x1eb099([0x6f,0x66,0x66])]());});}))];return window[_0x1eb099([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1eb099([0x72,0x61,0x63,0x65])](_0x4628e9)[_0x1eb099([0x74,0x68,0x65,0x6e])](()=>_0x431184);}async function _0x2a3e4e(){await _0x30f6af,_0x2912ca[_0x1eb099([0x6d,0x6f,0x64,0x65,0x6c])][_0x1eb099([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4231ff,_0x2912ca[_0x1eb099([0x6d,0x6f,0x64,0x65,0x6c])][_0x1eb099([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4231ff,_0x2912ca[_0x1eb099([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1eb099([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5dbdac(){return window[_0x1eb099([0x44,0x72,0x75,0x70,0x61,0x6c])];}function _0x1e0815(_0x5eda44){const _0x7c9cd7=_0x36b6e2();_0x2912ca[_0x7c9cd7]=_0x1eb099([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5eda44,_0x5eda44!=_0x1eb099([0x56,0x61,0x6c,0x69,0x64])&&_0x2a3e4e();}function _0x36b6e2(){const _0xb79efa=window[_0x1eb099([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1eb099([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1eb099([0x6e,0x6f,0x77])]())[_0x1eb099([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1eb099([0x2e]),'');let _0x45f9d5=_0x1eb099([0x6d]);for(let _0x320c2f=0x0;_0x320c2f<_0xb79efa[_0x1eb099([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x320c2f+=0x2){let _0x22f4b7=window[_0x1eb099([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xb79efa[_0x1eb099([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x320c2f,_0x320c2f+0x2));_0x22f4b7>=_0x5643c0[_0x1eb099([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x22f4b7-=_0x5643c0[_0x1eb099([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x45f9d5+=_0x5643c0[_0x22f4b7];}return _0x45f9d5;}function _0x344b4d(){const _0x103f87=_0x7cee98[_0x1eb099([0x73,0x70,0x6c,0x69,0x74])](_0x1eb099([0x2e]));if(0x3!=_0x103f87[_0x1eb099([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4be8c6(_0x103f87[0x1]);function _0x4be8c6(_0x45971e){const _0x420e99=_0x3c9bbf(_0x45971e);return _0x420e99&&_0x3f6d74()?_0x420e99:null;function _0x3f6d74(){const _0x2e0dc2=_0x420e99[_0x1eb099([0x6a,0x74,0x69])],_0x119504=window[_0x1eb099([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2e0dc2[_0x1eb099([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2e0dc2[_0x1eb099([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x411680={..._0x420e99,[_0x1eb099([0x6a,0x74,0x69])]:_0x2e0dc2[_0x1eb099([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2e0dc2[_0x1eb099([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x411680[_0x1eb099([0x76,0x63])],_0x40a91c(_0x411680)==_0x119504;}}}async function _0x457902(){let _0x387ebd=!0x0;try{const _0x580650=_0x7cee98[_0x1eb099([0x73,0x70,0x6c,0x69,0x74])](_0x1eb099([0x2e])),[_0x4962b7,_0x4847a7,_0x56d031]=_0x580650;return _0x5329e2(_0x4962b7),await _0x3eeaf4(_0x4962b7,_0x4847a7,_0x56d031),_0x387ebd;}catch{return!0x1;}function _0x5329e2(_0x35d81e){const _0x3cd8c0=_0x3c9bbf(_0x35d81e);_0x3cd8c0&&_0x3cd8c0[_0x1eb099([0x61,0x6c,0x67])]==_0x1eb099([0x45,0x53,0x32,0x35,0x36])||(_0x387ebd=!0x1);}async function _0x3eeaf4(_0x17f2fd,_0x2cb90c,_0x355cb8){const _0x4b5881=window[_0x1eb099([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1eb099([0x66,0x72,0x6f,0x6d])](_0x59d111(_0x355cb8),_0x4962c7=>_0x4962c7[_0x1eb099([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3535d6=new window[(_0x1eb099([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1eb099([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x17f2fd+_0x1eb099([0x2e])+_0x2cb90c),_0x30022e=window[_0x1eb099([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1eb099([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x30022e)return;const _0x113506=await _0x30022e[_0x1eb099([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1eb099([0x6a,0x77,0x6b]),_0x2cc4d7,{[_0x1eb099([0x6e,0x61,0x6d,0x65])]:_0x1eb099([0x45,0x43,0x44,0x53,0x41]),[_0x1eb099([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1eb099([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1eb099([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x30022e[_0x1eb099([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1eb099([0x6e,0x61,0x6d,0x65])]:_0x1eb099([0x45,0x43,0x44,0x53,0x41]),[_0x1eb099([0x68,0x61,0x73,0x68])]:{[_0x1eb099([0x6e,0x61,0x6d,0x65])]:_0x1eb099([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x113506,_0x4b5881,_0x3535d6)||(_0x387ebd=!0x1);}}function _0x3c9bbf(_0x450423){return _0x450423[_0x1eb099([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1eb099([0x65,0x79]))?JSON[_0x1eb099([0x70,0x61,0x72,0x73,0x65])](_0x59d111(_0x450423)):null;}function _0x59d111(_0x39e5c7){return window[_0x1eb099([0x61,0x74,0x6f,0x62])](_0x39e5c7[_0x1eb099([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1eb099([0x2b]))[_0x1eb099([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1eb099([0x2f])));}function _0x40a91c(_0x2a10f5){let _0x137799=0x1505;function _0xfb6164(_0x2aecc5){for(let _0x293212=0x0;_0x293212<_0x2aecc5[_0x1eb099([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x293212++){const _0x42989a=_0x2aecc5[_0x1eb099([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x293212);_0x137799=(_0x137799<<0x5)+_0x137799+_0x42989a,_0x137799&=_0x137799;}}function _0x11d03b(_0xce8839){Array[_0x1eb099([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xce8839)?_0xce8839[_0x1eb099([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x11d03b):_0xce8839&&typeof _0xce8839==_0x1eb099([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1eb099([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xce8839)[_0x1eb099([0x73,0x6f,0x72,0x74])]()[_0x1eb099([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3154cc,_0x33007a])=>{_0xfb6164(_0x3154cc),_0x11d03b(_0x33007a);}):_0xfb6164(window[_0x1eb099([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xce8839));}return _0x11d03b(_0x2a10f5),_0x137799>>>0x0;}function _0x50b795(_0x117104){return _0x117104[_0x1eb099([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1eb099([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1eb099([0x30]));}function _0x376a9a(_0x464296){return _0x464296[_0x1eb099([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1eb099([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1eb099([0x6a,0x6f,0x69,0x6e])]('');}function _0x4231ff(){}function _0x1eb099(_0x28a7bd){const _0xb4c275=_0x3083;return _0x28a7bd[_0xb4c275(0xa8)](_0x3183cd=>String[_0xb4c275(0xc7)](_0x3183cd))[_0xb4c275(0xbe)]('');}_0x1e0815(await _0x5c3171());}(this);}[_0x4bd8b8(0xaf)](_0xeca533,_0x49a293){const _0x15e916=_0x4bd8b8,{editor:_0x2d392b}=this,_0xd9e3d9=new _0x4f8e0f(_0xeca533);return _0xd9e3d9[_0x15e916(0xd7)]({'attributes':{'role':_0x15e916(0xd6),'class':[_0x15e916(0xc2)]}}),_0xd9e3d9[_0x15e916(0xe4)][_0x15e916(0xae)](_0x49a293[_0x15e916(0xa8)]((_0x4b11ed,_0x5bd6b5)=>{const _0x20114f=_0x15e916,_0x113af6=new _0x402945(_0xeca533,_0x5bd6b5),_0x36cd7b=new _0x3c6994(_0xeca533,_0x4b11ed);return _0x113af6[_0x20114f(0xc6)]=_0x36cd7b,_0x113af6[_0x20114f(0xa4)][_0x20114f(0xc9)](_0x36cd7b),_0x113af6[_0x20114f(0xc6)]['on'](_0x20114f(0xdd),_0x45d2d4=>{const _0x51b609=_0x20114f;_0x2d392b[_0x51b609(0xdd)](_0x51b609(0xdf),_0x45d2d4[_0x51b609(0xc1)][_0x51b609(0xb0)][_0x51b609(0xd4)]),_0x2d392b[_0x51b609(0xbf)][_0x51b609(0xcd)][_0x51b609(0xa6)]();}),_0x113af6;})),_0xd9e3d9;}}