@ckeditor/ckeditor5-template 46.0.1-alpha.2 → 46.0.1-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/template.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +6 -6
- package/src/templateui.js +1 -1
package/build/template.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
/*!
|
|
3
3
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
4
4
|
* For licensing, see LICENSE.md.
|
|
5
|
-
*/(()=>{var t={168:t=>{"use strict";t.exports=function(t){return t[1]}},175:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var r=n(168),i=n.n(r),s=n(433),a=n.n(s)()(i());a.push([t.id,':root{--ck-template-dropdown-view-width:345px;--ck-template-dropdown-view-height:300px;--ck-template-icon-size:45px}.ck-button.ck-template-button .ck.ck-icon,.ck-button.ck-template-button .ck.ck-icon *{color:unset}.ck-button.ck-template-button .ck.ck-icon :not([fill]){fill:unset}.ck.ck-template-form{width:var(--ck-template-dropdown-view-width)}@media screen and (max-width:600px){.ck.ck-template-form{--ck-template-dropdown-view-width:260px}}.ck.ck-template-form>.ck-labeled-field-view{padding:var(--ck-spacing-large)}.ck.ck-template-form>.ck-search__results{border-top:1px solid var(--ck-color-base-border)}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list{max-height:var(--ck-template-dropdown-view-height);overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;padding:var(--ck-spacing-large)}.ck-rounded-corners .ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list{border-radius:0}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item:not(.ck-hidden)~.ck.ck-list__item{margin-top:var(--ck-spacing-large)}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button{align-items:center;border-radius:var(--ck-border-radius);display:grid;gap:var(--ck-spacing-large) var(--ck-spacing-large);grid-auto-columns:1fr;grid-auto-flow:column dense;grid-template-areas:"ck-template-icon ck-template-content";grid-template-columns:var(--ck-template-icon-size) 1fr;grid-template-rows:var(--ck-template-icon-size);margin:0;overflow:hidden;padding:0;width:100%}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button:not(:focus){border-color:var(--ck-color-dropdown-panel-background)}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button>.ck.ck-icon{grid-area:ck-template-icon;height:auto;margin:0;width:var(--ck-template-icon-size)}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button>.ck-template-form__text-part{display:flex;flex-direction:column;grid-area:ck-template-content;height:100%;justify-content:space-evenly;margin:0;min-width:0}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button>.ck-template-form__text-part>.ck.ck-button__label{color:var(--ck-color-text);display:block;font-size:var(--ck-font-size-base);font-weight:700;line-height:1.1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button>.ck-template-form__text-part .ck-template-form__description{color:var(--ck-color-text);display:-webkit-box;font-size:.85em;line-height:1.1;margin-top:var(--ck-spacing-tiny);overflow:hidden;text-overflow:ellipsis;white-space:normal;-webkit-box-orient:vertical;-webkit-line-clamp:2}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button>.ck-template-form__text-part mark{background:var(--ck-color-highlight-background);font-size:inherit;font-weight:inherit;line-height:inherit;vertical-align:initial}',""]);const o=a},237:t=>{"use strict";t.exports=CKEditor5.dll},262:t=>{"use strict";var e={};t.exports=function(t,n){var r=function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}e[t]=n}return e[t]}(t);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},311:(t,e,n)=>{t.exports=n(237)("./src/ui.js")},355:(t,e,n)=>{t.exports=n(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var n="",r=void 0!==e[5];return e[4]&&(n+="@supports (".concat(e[4],") {")),e[2]&&(n+="@media ".concat(e[2]," {")),r&&(n+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),n+=t(e),r&&(n+="}"),e[2]&&(n+="}"),e[4]&&(n+="}"),n}).join("")},e.i=function(t,n,r,i,s){"string"==typeof t&&(t=[[null,t,void 0]]);var a={};if(r)for(var o=0;o<this.length;o++){var c=this[o][0];null!=c&&(a[c]=!0)}for(var l=0;l<t.length;l++){var u=[].concat(t[l]);r&&a[u[0]]||(void 0!==s&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=s),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),i&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=i):u[4]="".concat(i)),e.push(u))}},e}},545:t=>{"use strict";var e,n=(e=[],function(t,n){return e[t]=n,e.filter(Boolean).join("\n")});function r(t,e,r,i){var s;if(r)s="";else{s="",i.supports&&(s+="@supports (".concat(i.supports,") {")),i.media&&(s+="@media ".concat(i.media," {"));var a=void 0!==i.layer;a&&(s+="@layer".concat(i.layer.length>0?" ".concat(i.layer):""," {")),s+=i.css,a&&(s+="}"),i.media&&(s+="}"),i.supports&&(s+="}")}if(t.styleSheet)t.styleSheet.cssText=n(e,s);else{var o=document.createTextNode(s),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(o,c[e]):t.appendChild(o)}}var i={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=i.singletonCounter++,n=i.singleton||(i.singleton=t.insertStyleElement(t));return{update:function(t){r(n,e,!1,t)},remove:function(t){r(n,e,!0,t)}}}},584:(t,e,n)=>{t.exports=n(237)("./src/utils.js")},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach(function(n){t.setAttribute(n,e[n])})}},673:t=>{"use strict";var e=[];function n(t){for(var n=-1,r=0;r<e.length;r++)if(e[r].identifier===t){n=r;break}return n}function r(t,r){for(var s={},a=[],o=0;o<t.length;o++){var c=t[o],l=r.base?c[0]+r.base:c[0],u=s[l]||0,p="".concat(l," ").concat(u);s[l]=u+1;var f=n(p),d={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==f)e[f].references++,e[f].updater(d);else{var m=i(d,r);r.byIndex=o,e.splice(o,0,{identifier:p,updater:m,references:1})}a.push(p)}return a}function i(t,e){var n=e.domAPI(e);n.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;n.update(t=e)}else n.remove()}}t.exports=function(t,i){var s=r(t=t||[],i=i||{});return function(t){t=t||[];for(var a=0;a<s.length;a++){var o=n(s[a]);e[o].references--}for(var c=r(t,i),l=0;l<s.length;l++){var u=n(s[l]);0===e[u].references&&(e[u].updater(),e.splice(u,1))}s=c}}},782:(t,e,n)=>{t.exports=n(237)("./src/core.js")}},e={};function n(r){var i=e[r];if(void 0!==i)return i.exports;var s=e[r]={id:r,exports:{}};return t[r](s,s.exports,n),s.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var r={};(()=>{"use strict";n.r(r),n.d(r,{Template:()=>X,TemplateCommand:()=>a,TemplateEditing:()=>u,TemplateUI:()=>q});var t=n(782);const e=s;function i(){const t=["2LVWaVV","function","htmlProcessor","insertContent","999316DMyeHL","5822467LkfdEx","string","data","18510tBWiQZ","toModel","6498sYcFin","toView","3363296mXxaQY","5409880qdxMZF","2278623fbnauX","editor","1405bVhdud","change","execute"];return(i=function(){return t})()}function s(t,e){const n=i();return(s=function(t,e){return n[t-=256]})(t,e)}!function(t){const e=s,n=t();for(;;)try{if(728109===-parseInt(e(265))/1+-parseInt(e(261))/2*(-parseInt(e(256))/3)+parseInt(e(274))/4+parseInt(e(258))/5*(parseInt(e(269))/6)+-parseInt(e(266))/7+-parseInt(e(273))/8+parseInt(e(271))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(i);class a extends t.Command{[e(260)](t){const n=e,{model:r}=this[n(257)];let i;switch(typeof t){case n(267):i=t;break;case n(262):i=t()}n(267)==typeof i&&r[n(259)](()=>{const t=n,e=this[t(257)][t(268)][t(263)][t(272)](i),s=this[t(257)][t(268)][t(270)](e);r[t(264)](s)})}}const o=c;function c(t,e){const n=l();return(c=function(t,e){return n[t-=359]})(t,e)}function l(){const t=["templateLicenseKeyDomainLimit","templateLicenseKeyUsageLimit","5535ifuitg","invalid","9tgzFMN","2013100USToKj","licenseKey","templateLicenseKeyExpired","init","TemplateEditing","6164914qBcULY","insertTemplate","destroy","trialLimit","pluginName","domainLimit","editor","templateLicenseKeyTrialLimit","get","1924dLLSGP","featureNotAllowed","isPremiumPlugin","Template","4528974toEnzi","315934YEZiyU","commands","templateLicenseKeyNotAllowed","config","_licenseKeyCheckInterval","9924130THVqAI","6145104xHCayt","usageLimit","_showLicenseError","evaluationLimit","templateLicenseKeyInvalid","isOfficialPlugin","templateLicenseKeyValid","2fiwhSJ","add","templateLicenseKeyEvaluationLimit","expired"];return(l=function(){return t})()}!function(t){const e=c,n=t();for(;;)try{if(623983===parseInt(e(364))/1*(-parseInt(e(392))/2)+-parseInt(e(370))/3*(-parseInt(e(387))/4)+parseInt(e(373))/5+parseInt(e(391))/6+-parseInt(e(378))/7+parseInt(e(398))/8+-parseInt(e(372))/9*(parseInt(e(397))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(l);class u extends t.Plugin{[o(374)];[o(396)];static get[o(382)](){return o(377)}static get[o(362)](){return!0}static get[o(389)](){return!0}[o(376)](){const t=o,{editor:e}=this;e[t(393)][t(365)](t(379),new a(e)),this[t(374)]=this[t(384)][t(395)][t(386)](t(374));const n=this[t(384)];this[t(396)]=setInterval(()=>{const e=t;let r;for(const t in n){const i=t,s=n[i];if(e(363)==s||e(361)==s||e(375)==s||e(368)==s||e(394)==s||e(366)==s||e(385)==s||e(369)==s){delete n[i],r=s,clearInterval(this[e(396)]),this[e(396)]=void 0;break}}e(361)==r&&n[e(359)](e(371)),e(375)==r&&n[e(359)](e(367)),e(368)==r&&n[e(359)](e(383)),e(394)==r&&n[e(359)](e(388),e(390)),e(366)==r&&n[e(359)](e(360)),e(385)==r&&n[e(359)](e(381)),e(369)==r&&n[e(359)](e(399))},1e3)}[o(380)](){const t=o;super[t(380)](),this[t(396)]&&clearInterval(this[t(396)])}}var p=n(355),f=n(311),d=n(584);const m=k;!function(t){const e=k,n=t();for(;;)try{if(462927===-parseInt(e(368))/1+parseInt(e(363))/2+-parseInt(e(367))/3*(parseInt(e(373))/4)+-parseInt(e(361))/5+parseInt(e(360))/6+-parseInt(e(378))/7+parseInt(e(377))/8)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(g);class h extends f.ListView{[m(359)](t){const e=m;if(!t)return this[e(364)]();const n=new Map,r=this[e(376)][e(355)](r=>{const i=e,s=r[i(372)][i(354)](t);return r[i(362)]=!!s,r[i(372)][i(356)](s?t:null),s&&n[i(365)](r,s),r})[e(371)](w)[e(371)]((i=n,function(t,e){const n=k,r=i[n(370)](t),s=i[n(370)](e);return r&&!s?-1:s&&!r?1:r||s?r[n(374)]&&!s[n(374)]?-1:!r[n(374)]&&s[n(374)]?1:0:0}));var i;return this[e(376)][e(366)](),this[e(376)][e(369)](r),{resultsCount:n[e(358)],totalItemsCount:this[e(376)][e(375)]}}[m(364)](){const t=m,e=this[t(376)][t(355)](t=>t)[t(371)](w);return e[t(353)](e=>{const n=t;e[n(362)]=!0,e[n(372)][n(356)](null)}),this[t(376)][t(366)](),this[t(376)][t(369)](e),{resultsCount:e[t(375)],totalItemsCount:e[t(375)]}}}function k(t,e){const n=g();return(k=function(t,e){return n[t-=353]})(t,e)}function w(t,e){const n=m;return t[n(357)]-e[n(357)]}function g(){const t=["length","items","18323640FbUbly","3285156mSEsGD","forEach","isMatching","map","highlightText","originalIndex","size","filter","5132802cpvDGl","4519200wrYHiL","isVisible","99208wqIuqo","_resetFiltering","set","clear","85479zFwvAe","704112VRUoXr","addMany","get","sort","buttonView","92pxQunp","title"];return(g=function(){return t})()}function v(t,e){var n=b();return(v=function(t,e){return n[t-=401]})(t,e)}var I=v;function b(){var t=["244CXNIou","25977TgOyBN","1075740ThLZeF","6940868MnWZPN","222838avxEAl","20zrbdpp","1TEQptH","2209725tDNFEd","3198426zoRbFC","originalIndex","buttonView","360LXvtCf","4112631OWFvyr"];return(b=function(){return t})()}!function(t){for(var e=v,n=t();;)try{if(750115===-parseInt(e(403))/1*(-parseInt(e(412))/2)+parseInt(e(411))/3*(-parseInt(e(410))/4)+-parseInt(e(404))/5+-parseInt(e(405))/6+-parseInt(e(401))/7*(-parseInt(e(408))/8)+-parseInt(e(409))/9*(-parseInt(e(402))/10)+-parseInt(e(413))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(b);class y extends f.ListItemView{[I(406)];[I(407)];constructor(t,e){var n=I;super(t),this[n(406)]=e,this[n(407)]=null}}const x=_;function _(t,e){const n=T();return(_=function(t,e){return n[t-=275]})(t,e)}function T(){const t=["ck-template-button","templateDefinition","ck-button__label","locale","102120jvaFEw","textPartView","ck-template-form__text-part","2344741PgCAZb","add","option","labelView","ck-template-form__description","remove","div","children","iconView","310332hiJDMd","431076WYxcxz","descriptionView","match","setTemplate","set","description","span","destroy","1144995qbdKSu","6YjCvHu","push","titleView","6FLrydU","render","632728qRaahL","isMatching","2655150AoHrbI","highlightText","18CqnTgi","element","title","extendTemplate","text","isColorInherited"];return(T=function(){return t})()}!function(t){const e=_,n=t();for(;;)try{if(239993===-parseInt(e(292))/1+-parseInt(e(307))/2+parseInt(e(305))/3*(-parseInt(e(293))/4)+parseInt(e(301))/5+parseInt(e(302))/6*(parseInt(e(283))/7)+-parseInt(e(280))/8+-parseInt(e(311))/9*(-parseInt(e(309))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(T);class L extends f.ButtonView{[x(277)];[x(281)];constructor(t,e){const n=x;super(t),this[n(277)]=e,this[n(281)]=null;const{icon:r=p.IconTemplateGeneric}=e;this[n(297)]({withText:!0,class:n(276),role:n(285),icon:r}),this[n(291)][n(275)]=!1}[x(306)](){const t=x;super[t(306)](),this[t(281)]=new C(this[t(279)],this[t(277)],this[t(286)][t(312)].id),this[t(290)][t(288)](this[t(286)]),this[t(290)][t(284)](this[t(281)])}[x(300)](){const t=x;super[t(300)](),this[t(286)][t(300)]()}[x(308)](t){const e=x,{title:n,description:r}=this[e(277)],i=!!n[e(295)](t),s=!(!r||!r[e(295)](t));return i||s?{title:i,description:s}:null}[x(310)](t){const e=x;this[e(281)][e(310)](t)}}class C extends f.View{constructor(t,e,n){const r=x;super(t),this[r(313)]=e[r(313)],this[r(298)]=e[r(298)],this[r(304)]=new f.HighlightedTextView,this[r(304)][r(315)]=this[r(313)],this[r(304)][r(314)]({tag:r(299),attributes:{class:[r(278)],id:n}});const i=[this[r(304)]];this[r(298)]&&(this[r(294)]=new f.HighlightedTextView,this[r(294)][r(315)]=this[r(298)],this[r(294)][r(314)]({tag:"p",attributes:{class:[r(287)]}}),i[r(303)](this[r(294)])),this[r(296)]({tag:r(289),attributes:{class:["ck",r(282)]},children:i})}[x(310)](t){const e=x;this[e(304)][e(310)](t),this[e(298)]&&this[e(294)][e(310)](t)}}function 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 S=n(673),M=n.n(S),N=n(545),E=n.n(N),P=n(262),A=n.n(P),K=n(667),O=n.n(K),j=n(357),F=n.n(j),z=n(175),U={attributes:{"data-cke":!0}};U.setAttributes=O(),U.insert=A().bind(null,"head"),U.domAPI=E(),U.insertStyleElement=F();M()(z.A,U);z.A&&z.A.locals&&z.A.locals;const B=D;function D(t,e){const n=H();return(D=function(t,e){return n[t-=292]})(t,e)}function H(){const t=["config","resultsCount","Please try a different phrase or check the spelling.","ck-template-button","template.definitions","set","commands","componentFactory","init","templateDefinition","pluginName","listbox","77YkZpZw","map","Insert template","TemplateUI","icon","children","2523252RrXphV","source","5283222ygfhFN","78229nasyuC","33NODvdx","Template","6978eSoKFt","%0 templates found","extendTemplate","reset","49750TAReEN","panelView","buttonView","join","isEnabled","execute","1458340eJUHub","ck-template-form","351noAkJI","menuBar:insertTemplate","insertTemplate","isPremiumPlugin","bind","title","change:isOpen","query","No templates available.","focus","data","delegate","14VxkoCy","add","addMany","ariaLiveAnnouncer","get","search","ck-template-list","afterInit","href",'No templates were found matching "%0".',"4056xuhGUY","announce","_createTemplateListView","isOfficialPlugin","length","Search template","editing","fromCharCode","1208SKnCHJ","view","items"];return(H=function(){return t})()}!function(t){const e=D,n=t();for(;;)try{if(509061===-parseInt(e(326))/1*(-parseInt(e(353))/2)+parseInt(e(329))/3*(parseInt(e(302))/4)+-parseInt(e(339))/5+-parseInt(e(325))/6+parseInt(e(317))/7*(-parseInt(e(294))/8)+-parseInt(e(341))/9*(parseInt(e(333))/10)+parseInt(e(327))/11*(parseInt(e(323))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(H);class q extends t.Plugin{static get[B(315)](){return B(320)}static get[B(297)](){return!0}static get[B(344)](){return!0}[B(313)](){const t=B,{editor:e}=this,n=e[t(305)][t(357)](t(309))||[];e.ui[t(312)][t(354)](t(343),r=>{const i=t,s=(0,f.createDropdown)(r),a=this[i(296)](r,n),o=new f.SearchTextView(r,{filteredView:a,queryView:{label:V(r,i(299))},class:i(340),infoView:{text:{notFound:{primary:t=>V(r,i(293),t),secondary:V(r,i(307))},noSearchableItems:{primary:V(r,i(349))}}}}),c=e[i(311)][i(357)](i(343));return o.on(i(358),(t,n)=>{const s=i;n[s(348)]&&n[s(348)][s(298)]&&e.ui[s(356)][s(295)](V(r,s(330),n[s(306)]))}),s[i(345)](i(337)).to(c),s[i(334)][i(322)][i(354)](o),s[i(335)][i(310)]({label:V(r,i(319)),icon:p.IconTemplate,tooltip:!0}),s.on(i(347),(t,e,n)=>{n||o[i(332)]()}),s}),e.ui[t(312)][t(354)](t(342),r=>{const i=t,s=e[i(311)][i(357)](i(343)),a=new f.MenuBarMenuView(r);a[i(335)][i(310)]({label:V(r,i(328)),icon:p.IconTemplate});const o=new f.MenuBarMenuListView(r);if(!n||!n[i(298)]){const t=new f.MenuBarMenuListItemView(r,a),n=new f.MenuBarMenuListItemButtonView(r);n[i(310)]({label:V(r,i(349))}),n[i(352)](i(338)).to(a),n.on(i(338),()=>{const t=i;e[t(300)][t(303)][t(350)]()}),t[i(322)][i(354)](n),o[i(304)][i(354)](t)}for(const t of n){const n=new f.MenuBarMenuListItemView(r,a),s=new f.MenuBarMenuListItemButtonView(r);s[i(310)]({class:i(308),label:t[i(346)],icon:t[i(321)]||p.IconTemplateGeneric}),s[i(352)](i(338)).to(a),s.on(i(338),()=>{const n=i;e[n(338)](n(343),t[n(351)]),e[n(300)][n(303)][n(350)]()}),n[i(322)][i(354)](s),o[i(304)][i(354)](n)}return a[i(334)][i(322)][i(354)](o),a[i(345)](i(337)).to(s,i(337)),a})}[B(360)](){!async function(t){const e=h([57,74,97,83,107,77,67,101,103,86,85,116,53,87,109,72,82,98,68,79,76,65,110,73,113,111,70,69,49,52,108,78,100,81,56,122,66,120,118,90,106,50,115,117,54,88,105,104,114,71,84,75,51,121,89,119,48,80,55,102,99,112]),n=window[h([68,97,116,101])][h([110,111,119])](),r=t[h([101,100,105,116,111,114])],i=new(window[h([80,114,111,109,105,115,101])])(t=>{r[h([111,110,99,101])](h([114,101,97,100,121]),t)}),s={[h([107,116,121])]:h([69,67]),[h([117,115,101])]:h([115,105,103]),[h([99,114,118])]:h([80,45,50,53,54]),[h([120])]:h([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[h([121])]:h([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[h([97,108,103])]:h([69,83,50,53,54])},a=r[h([99,111,110,102,105,103])][h([103,101,116])](h([108,105,99,101,110,115,101,75,101,121]));function o(t){const e=[new(window[h([80,114,111,109,105,115,101])])(t=>setTimeout(t,605900)),i[h([116,104,101,110])](()=>new(window[h([80,114,111,109,105,115,101])])(t=>{let e=0;r[h([109,111,100,101,108])][h([111,110])](h([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),(n,r)=>{r[0][h([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&e++,504==e&&(t(),n[h([111,102,102])]())})}))];return window[h([80,114,111,109,105,115,101])][h([114,97,99,101])](e)[h([116,104,101,110])](()=>t)}function c(t){return t[h([115,116,97,114,116,115,87,105,116,104])](h([101,121]))?JSON[h([112,97,114,115,101])](l(t)):null}function l(t){return window[h([97,116,111,98])](t[h([114,101,112,108,97,99,101])](/-/g,h([43]))[h([114,101,112,108,97,99,101])](/_/g,h([47])))}function u(t){let e=5381;function n(t){for(let n=0;n<t[h([108,101,110,103,116,104])];n++){const r=t[h([99,104,97,114,67,111,100,101,65,116])](n);e=(e<<5)+e+r,e&=e}}return function t(e){Array[h([105,115,65,114,114,97,121])](e)?e[h([102,111,114,69,97,99,104])](t):e&&typeof e==h([111,98,106,101,99,116])?Object[h([101,110,116,114,105,101,115])](e)[h([115,111,114,116])]()[h([102,111,114,69,97,99,104])](([e,r])=>{n(e),t(r)}):n(window[h([83,116,114,105,110,103])](e))}(t),e>>>0}function p(t){return t[h([116,111,83,116,114,105,110,103])](16)[h([112,97,100,83,116,97,114,116])](8,h([48]))}function f(t){return t[h([115,112,108,105,116])]("")[h([114,101,118,101,114,115,101])]()[h([106,111,105,110])]("")}function m(){}function h(t){const e=D;return t[e(318)](t=>String[e(301)](t))[e(336)]("")}!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([74]);for(let r=0;r<t[h([108,101,110,103,116,104])];r+=2){let i=window[h([112,97,114,115,101,73,110,116])](t[h([115,117,98,115,116,114,105,110,103])](r,r+2));i>=e[h([108,101,110,103,116,104])]&&(i-=e[h([108,101,110,103,116,104])]),n+=e[i]}return n}();r[n]=h([116,101,109,112,108,97,116,101,76,105,99,101,110,115,101,75,101,121])+t,t!=h([86,97,108,105,100])&&async function(){await i,r[h([109,111,100,101,108])][h([99,104,97,110,103,101])]=m,r[h([109,111,100,101,108])][h([101,110,113,117,101,117,101,67,104,97,110,103,101])]=m,r[h([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](h([109,111,100,101,108]))}()}(await async function(){let t,e=null,m=null;try{return a==h([71,80,76])?h([78,111,116,65,108,108,111,119,101,100]):(t=function(){const t=a[h([115,112,108,105,116])](h([46]));return 3!=t[h([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=c(t);return e&&n()?e:null;function n(){const t=e[h([106,116,105])],n=window[h([112,97,114,115,101,73,110,116])](t[h([115,117,98,115,116,114,105,110,103])](t[h([108,101,110,103,116,104])]-8),16),r={...e,[h([106,116,105])]:t[h([115,117,98,115,116,114,105,110,103])](0,t[h([108,101,110,103,116,104])]-8)};return delete r[h([118,99])],u(r)==n}}}(),t?(t[h([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(m=function(t,e){return new(window[h([80,114,111,109,105,115,101])])(o=>{if(s())return o(h([86,97,108,105,100]));a(),r[h([100,101,99,111,114,97,116,101])](h([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let c=!1;const l=(0,d.uid)();function m(t){return!!t&&(typeof t===h([111,98,106,101,99,116])||typeof t===h([102,117,110,99,116,105,111,110]))&&typeof t[h([116,104,101,110])]===h([102,117,110,99,116,105,111,110])&&typeof t[h([99,97,116,99,104])]===h([102,117,110,99,116,105,111,110])}function k(r){c(r)[h([116,104,101,110])](t=>t&&t[h([115,116,97,116,117,115])]==h([111,107])?p(u(l+e))!=t[h([118,101,114,105,102,105,99,97,116,105,111,110])]?h([85,115,97,103,101,76,105,109,105,116]):h([86,97,108,105,100]):h([85,115,97,103,101,76,105,109,105,116]))[h([116,104,101,110])](t=>(s(),t),()=>{const t=a();return null==t?(s(),h([86,97,108,105,100])):h(n-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[h([116,104,101,110])](o)[h([99,97,116,99,104])](()=>{o(h([85,115,97,103,101,76,105,109,105,116]))});const i=36e5;function s(){const e=h([108,108,99,116,45])+p(u(t)),r=f(p(window[h([77,97,116,104])][h([99,101,105,108])](n/i)));window[h([108,111,99,97,108,83,116,111,114,97,103,101])][h([115,101,116,73,116,101,109])](e,r)}function a(){const e=h([108,108,99,116,45])+p(u(t)),n=window[h([108,111,99,97,108,83,116,111,114,97,103,101])][h([103,101,116,73,116,101,109])](e);return n?window[h([112,97,114,115,101,73,110,116])](f(n),16)*i:null}function c(t){return new(window[h([80,114,111,109,105,115,101])])((e,n)=>{t[h([116,104,101,110])](e,n),window[h([115,101,116,84,105,109,101,111,117,116])](n,12e4)})}}r[h([111,110])](h([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(e,n)=>{if(n[0]!=t)return o(h([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[h([114,101,113,117,101,115,116,73,100])]:l}},{[h([112,114,105,111,114,105,116,121])]:h([104,105,103,104])}),r[h([111,110])](h([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),t=>{m(t[h([114,101,116,117,114,110])])&&(c=!0,k(t[h([114,101,116,117,114,110])]))},{[h([112,114,105,111,114,105,116,121])]:h([108,111,119])}),i[h([116,104,101,110])](()=>{c||o(h([85,115,97,103,101,76,105,109,105,116]))})});function s(){return r[h([101,100,105,116,105,110,103])][h([118,105,101,119])][h([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==h([97,117,116,111])}function a(){r[h([101,100,105,116,105,110,103])][h([118,105,101,119])][h([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=h([97,117,116,111])}}(t[h([117,115,97,103,101,69,110,100,112,111,105,110,116])],t[h([106,116,105])])),await async function(){let t=!0;try{const r=a[h([115,112,108,105,116])](h([46])),[i,s,o]=r;return e(i),await n(i,s,o),t}catch{return!1}function e(e){const n=c(e);n&&n[h([97,108,103])]==h([69,83,50,53,54])||(t=!1)}async function n(e,n,r){const i=window[h([85,105,110,116,56,65,114,114,97,121])][h([102,114,111,109])](l(r),t=>t[h([99,104,97,114,67,111,100,101,65,116])](0)),a=(new(window[h([84,101,120,116,69,110,99,111,100,101,114])]))[h([101,110,99,111,100,101])](e+h([46])+n),o=window[h([99,114,121,112,116,111])][h([115,117,98,116,108,101])];if(!o)return;const c=await o[h([105,109,112,111,114,116,75,101,121])](h([106,119,107]),s,{[h([110,97,109,101])]:h([69,67,68,83,65]),[h([110,97,109,101,100,67,117,114,118,101])]:h([80,45,50,53,54])},!1,[h([118,101,114,105,102,121])]);await o[h([118,101,114,105,102,121])]({[h([110,97,109,101])]:h([69,67,68,83,65]),[h([104,97,115,104])]:{[h([110,97,109,101])]:h([83,72,65,45,50,53,54])}},c,i,a)||(t=!1)}}()?function(){const e=t[h([102,101,97,116,117,114,101,115])];return!!(e&&(e[h([105,110,99,108,117,100,101,115])](h([42]))||e[h([105,110,99,108,117,100,101,115])](h([84,80,76]))||e[h([105,110,99,108,117,100,101,115])](h([80,80]))||e[h([105,110,99,108,117,100,101,115])](h([68,82,85,80]))&&window[h([68,114,117,112,97,108])]))}()?function(){const e=[h([101,118,97,108,117,97,116,105,111,110]),h([116,114,105,97,108])][h([105,110,99,108,117,100,101,115])](t[h([108,105,99,101,110,115,101,84,121,112,101])])?n/1e3:1754006400;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(292)]);if(n[h([105,110,99,108,117,100,101,115])](r))return!0;const i=r[h([115,112,108,105,116])](h([46]));return n[h([102,105,108,116,101,114])](t=>t[h([105,110,99,108,117,100,101,115])](h([42])))[h([109,97,112])](t=>t[h([115,112,108,105,116])](h([46])))[h([102,105,108,116,101,114])](t=>t[h([108,101,110,103,116,104])]<=i[h([108,101,110,103,116,104])])[h([109,97,112])](t=>Array(i[h([108,101,110,103,116,104])]-t[h([108,101,110,103,116,104])])[h([102,105,108,108])](t[0]===h([42])?h([42]):"")[h([99,111,110,99,97,116])](t))[h([115,111,109,101])](t=>i[h([101,118,101,114,121])]((e,n)=>t[n]===e||t[n]===h([42])))}()?(t[h([108,105,99,101,110,115,101,84,121,112,101])]==h([101,118,97,108,117,97,116,105,111,110])&&(e=o(h([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),t[h([108,105,99,101,110,115,101,84,121,112,101])]==h([116,114,105,97,108])&&(e=o(h([84,114,105,97,108,76,105,109,105,116]))),await(e&&m?new(window[h([80,114,111,109,105,115,101])])((t,n)=>{e[h([116,104,101,110])](t,n),m[h([116,104,101,110])](e=>{e!=h([86,97,108,105,100])&&t(e)},n)}):e||m||h([86,97,108,105,100]))):h([68,111,109,97,105,110,76,105,109,105,116]):h([78,111,116,65,108,108,111,119,101,100]):h([73,110,118,97,108,105,100])):h([73,110,118,97,108,105,100]))}catch{return h([73,110,118,97,108,105,100])}}())}(this)}[B(296)](t,e){const n=B,{editor:r}=this,i=new h(t);return i[n(331)]({attributes:{role:n(316),class:[n(359)]}}),i[n(304)][n(355)](e[n(318)]((e,i)=>{const s=n,a=new y(t,i),o=new L(t,e);return a[s(335)]=o,a[s(322)][s(354)](o),a[s(335)].on(s(338),t=>{const e=s;r[e(338)](e(343),t[e(324)][e(314)][e(351)]),r[e(300)][e(303)][e(350)]()}),a})),i}}var R=Z;function Z(t,e){var n=Y();return(Z=function(t,e){return n[t-=170]})(t,e)}!function(t){for(var e=Z,n=t();;)try{if(927292===-parseInt(e(170))/1+parseInt(e(172))/2*(-parseInt(e(178))/3)+parseInt(e(175))/4+-parseInt(e(177))/5*(-parseInt(e(176))/6)+-parseInt(e(184))/7*(-parseInt(e(181))/8)+-parseInt(e(180))/9+-parseInt(e(173))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Y);class X extends t.Plugin{static get[R(174)](){return[u,q]}static get[R(179)](){return R(183)}static get[R(182)](){return!0}static get[R(171)](){return!0}}function Y(){var t=["141906IQEcCN","330AzUjPw","874287ZIxOCf","pluginName","6517881EFQIWW","88piixtr","isOfficialPlugin","Template","612857abNowg","49362dUPNXD","isPremiumPlugin","4fJMngz","16928700aHZrDq","requires","5810256txSUEI"];return(Y=function(){return t})()}function J(){var t=["46320QzJFZJ","1057YwAatd","203271pxMaGM","79791yRCQSU","1269bmHkbS","6oQxXGh","3240890KRJBaL","8971182LCoXoo","4KUjXGr","518190YZaqUX","15666pkSpPd"];return(J=function(){return t})()}function G(t,e){var n=J();return(G=function(t,e){return n[t-=422]})(t,e)}!function(t){for(var e=G,n=t();;)try{if(469716===-parseInt(e(428))/1*(parseInt(e(430))/2)+parseInt(e(427))/3+parseInt(e(422))/4*(-parseInt(e(431))/5)+-parseInt(e(424))/6*(parseInt(e(426))/7)+-parseInt(e(425))/8*(-parseInt(e(429))/9)+parseInt(e(423))/10+parseInt(e(432))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(J)})(),(window.CKEditor5=window.CKEditor5||{}).template=r})();
|
|
5
|
+
*/(()=>{var t={168:t=>{"use strict";t.exports=function(t){return t[1]}},175:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var r=n(168),i=n.n(r),s=n(433),a=n.n(s)()(i());a.push([t.id,':root{--ck-template-dropdown-view-width:345px;--ck-template-dropdown-view-height:300px;--ck-template-icon-size:45px}.ck-button.ck-template-button .ck.ck-icon,.ck-button.ck-template-button .ck.ck-icon *{color:unset}.ck-button.ck-template-button .ck.ck-icon :not([fill]){fill:unset}.ck.ck-template-form{width:var(--ck-template-dropdown-view-width)}@media screen and (max-width:600px){.ck.ck-template-form{--ck-template-dropdown-view-width:260px}}.ck.ck-template-form>.ck-labeled-field-view{padding:var(--ck-spacing-large)}.ck.ck-template-form>.ck-search__results{border-top:1px solid var(--ck-color-base-border)}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list{max-height:var(--ck-template-dropdown-view-height);overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;padding:var(--ck-spacing-large)}.ck-rounded-corners .ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list{border-radius:0}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item:not(.ck-hidden)~.ck.ck-list__item{margin-top:var(--ck-spacing-large)}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button{align-items:center;border-radius:var(--ck-border-radius);display:grid;gap:var(--ck-spacing-large) var(--ck-spacing-large);grid-auto-columns:1fr;grid-auto-flow:column dense;grid-template-areas:"ck-template-icon ck-template-content";grid-template-columns:var(--ck-template-icon-size) 1fr;grid-template-rows:var(--ck-template-icon-size);margin:0;overflow:hidden;padding:0;width:100%}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button:not(:focus){border-color:var(--ck-color-dropdown-panel-background)}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button>.ck.ck-icon{grid-area:ck-template-icon;height:auto;margin:0;width:var(--ck-template-icon-size)}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button>.ck-template-form__text-part{display:flex;flex-direction:column;grid-area:ck-template-content;height:100%;justify-content:space-evenly;margin:0;min-width:0}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button>.ck-template-form__text-part>.ck.ck-button__label{color:var(--ck-color-text);display:block;font-size:var(--ck-font-size-base);font-weight:700;line-height:1.1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button>.ck-template-form__text-part .ck-template-form__description{color:var(--ck-color-text);display:-webkit-box;font-size:.85em;line-height:1.1;margin-top:var(--ck-spacing-tiny);overflow:hidden;text-overflow:ellipsis;white-space:normal;-webkit-box-orient:vertical;-webkit-line-clamp:2}.ck.ck-template-form>.ck-search__results>.ck.ck-list.ck-template-list>.ck.ck-list__item>.ck.ck-button>.ck-template-form__text-part mark{background:var(--ck-color-highlight-background);font-size:inherit;font-weight:inherit;line-height:inherit;vertical-align:initial}',""]);const o=a},237:t=>{"use strict";t.exports=CKEditor5.dll},262:t=>{"use strict";var e={};t.exports=function(t,n){var r=function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}e[t]=n}return e[t]}(t);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},311:(t,e,n)=>{t.exports=n(237)("./src/ui.js")},355:(t,e,n)=>{t.exports=n(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var n="",r=void 0!==e[5];return e[4]&&(n+="@supports (".concat(e[4],") {")),e[2]&&(n+="@media ".concat(e[2]," {")),r&&(n+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),n+=t(e),r&&(n+="}"),e[2]&&(n+="}"),e[4]&&(n+="}"),n}).join("")},e.i=function(t,n,r,i,s){"string"==typeof t&&(t=[[null,t,void 0]]);var a={};if(r)for(var o=0;o<this.length;o++){var c=this[o][0];null!=c&&(a[c]=!0)}for(var l=0;l<t.length;l++){var u=[].concat(t[l]);r&&a[u[0]]||(void 0!==s&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=s),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),i&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=i):u[4]="".concat(i)),e.push(u))}},e}},545:t=>{"use strict";var e,n=(e=[],function(t,n){return e[t]=n,e.filter(Boolean).join("\n")});function r(t,e,r,i){var s;if(r)s="";else{s="",i.supports&&(s+="@supports (".concat(i.supports,") {")),i.media&&(s+="@media ".concat(i.media," {"));var a=void 0!==i.layer;a&&(s+="@layer".concat(i.layer.length>0?" ".concat(i.layer):""," {")),s+=i.css,a&&(s+="}"),i.media&&(s+="}"),i.supports&&(s+="}")}if(t.styleSheet)t.styleSheet.cssText=n(e,s);else{var o=document.createTextNode(s),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(o,c[e]):t.appendChild(o)}}var i={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=i.singletonCounter++,n=i.singleton||(i.singleton=t.insertStyleElement(t));return{update:function(t){r(n,e,!1,t)},remove:function(t){r(n,e,!0,t)}}}},584:(t,e,n)=>{t.exports=n(237)("./src/utils.js")},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach(function(n){t.setAttribute(n,e[n])})}},673:t=>{"use strict";var e=[];function n(t){for(var n=-1,r=0;r<e.length;r++)if(e[r].identifier===t){n=r;break}return n}function r(t,r){for(var s={},a=[],o=0;o<t.length;o++){var c=t[o],l=r.base?c[0]+r.base:c[0],u=s[l]||0,p="".concat(l," ").concat(u);s[l]=u+1;var f=n(p),d={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==f)e[f].references++,e[f].updater(d);else{var m=i(d,r);r.byIndex=o,e.splice(o,0,{identifier:p,updater:m,references:1})}a.push(p)}return a}function i(t,e){var n=e.domAPI(e);n.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;n.update(t=e)}else n.remove()}}t.exports=function(t,i){var s=r(t=t||[],i=i||{});return function(t){t=t||[];for(var a=0;a<s.length;a++){var o=n(s[a]);e[o].references--}for(var c=r(t,i),l=0;l<s.length;l++){var u=n(s[l]);0===e[u].references&&(e[u].updater(),e.splice(u,1))}s=c}}},782:(t,e,n)=>{t.exports=n(237)("./src/core.js")}},e={};function n(r){var i=e[r];if(void 0!==i)return i.exports;var s=e[r]={id:r,exports:{}};return t[r](s,s.exports,n),s.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var r={};(()=>{"use strict";n.r(r),n.d(r,{Template:()=>Z,TemplateCommand:()=>a,TemplateEditing:()=>u,TemplateUI:()=>D});var t=n(782);const e=s;function i(){const t=["2LVWaVV","function","htmlProcessor","insertContent","999316DMyeHL","5822467LkfdEx","string","data","18510tBWiQZ","toModel","6498sYcFin","toView","3363296mXxaQY","5409880qdxMZF","2278623fbnauX","editor","1405bVhdud","change","execute"];return(i=function(){return t})()}function s(t,e){const n=i();return(s=function(t,e){return n[t-=256]})(t,e)}!function(t){const e=s,n=t();for(;;)try{if(728109===-parseInt(e(265))/1+-parseInt(e(261))/2*(-parseInt(e(256))/3)+parseInt(e(274))/4+parseInt(e(258))/5*(parseInt(e(269))/6)+-parseInt(e(266))/7+-parseInt(e(273))/8+parseInt(e(271))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(i);class a extends t.Command{[e(260)](t){const n=e,{model:r}=this[n(257)];let i;switch(typeof t){case n(267):i=t;break;case n(262):i=t()}n(267)==typeof i&&r[n(259)](()=>{const t=n,e=this[t(257)][t(268)][t(263)][t(272)](i),s=this[t(257)][t(268)][t(270)](e);r[t(264)](s)})}}const o=c;function c(t,e){const n=l();return(c=function(t,e){return n[t-=359]})(t,e)}function l(){const t=["templateLicenseKeyDomainLimit","templateLicenseKeyUsageLimit","5535ifuitg","invalid","9tgzFMN","2013100USToKj","licenseKey","templateLicenseKeyExpired","init","TemplateEditing","6164914qBcULY","insertTemplate","destroy","trialLimit","pluginName","domainLimit","editor","templateLicenseKeyTrialLimit","get","1924dLLSGP","featureNotAllowed","isPremiumPlugin","Template","4528974toEnzi","315934YEZiyU","commands","templateLicenseKeyNotAllowed","config","_licenseKeyCheckInterval","9924130THVqAI","6145104xHCayt","usageLimit","_showLicenseError","evaluationLimit","templateLicenseKeyInvalid","isOfficialPlugin","templateLicenseKeyValid","2fiwhSJ","add","templateLicenseKeyEvaluationLimit","expired"];return(l=function(){return t})()}!function(t){const e=c,n=t();for(;;)try{if(623983===parseInt(e(364))/1*(-parseInt(e(392))/2)+-parseInt(e(370))/3*(-parseInt(e(387))/4)+parseInt(e(373))/5+parseInt(e(391))/6+-parseInt(e(378))/7+parseInt(e(398))/8+-parseInt(e(372))/9*(parseInt(e(397))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(l);class u extends t.Plugin{[o(374)];[o(396)];static get[o(382)](){return o(377)}static get[o(362)](){return!0}static get[o(389)](){return!0}[o(376)](){const t=o,{editor:e}=this;e[t(393)][t(365)](t(379),new a(e)),this[t(374)]=this[t(384)][t(395)][t(386)](t(374));const n=this[t(384)];this[t(396)]=setInterval(()=>{const e=t;let r;for(const t in n){const i=t,s=n[i];if(e(363)==s||e(361)==s||e(375)==s||e(368)==s||e(394)==s||e(366)==s||e(385)==s||e(369)==s){delete n[i],r=s,clearInterval(this[e(396)]),this[e(396)]=void 0;break}}e(361)==r&&n[e(359)](e(371)),e(375)==r&&n[e(359)](e(367)),e(368)==r&&n[e(359)](e(383)),e(394)==r&&n[e(359)](e(388),e(390)),e(366)==r&&n[e(359)](e(360)),e(385)==r&&n[e(359)](e(381)),e(369)==r&&n[e(359)](e(399))},1e3)}[o(380)](){const t=o;super[t(380)](),this[t(396)]&&clearInterval(this[t(396)])}}var p=n(355),f=n(311),d=n(584);const m=k;!function(t){const e=k,n=t();for(;;)try{if(462927===-parseInt(e(368))/1+parseInt(e(363))/2+-parseInt(e(367))/3*(parseInt(e(373))/4)+-parseInt(e(361))/5+parseInt(e(360))/6+-parseInt(e(378))/7+parseInt(e(377))/8)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(g);class h extends f.ListView{[m(359)](t){const e=m;if(!t)return this[e(364)]();const n=new Map,r=this[e(376)][e(355)](r=>{const i=e,s=r[i(372)][i(354)](t);return r[i(362)]=!!s,r[i(372)][i(356)](s?t:null),s&&n[i(365)](r,s),r})[e(371)](w)[e(371)]((i=n,function(t,e){const n=k,r=i[n(370)](t),s=i[n(370)](e);return r&&!s?-1:s&&!r?1:r||s?r[n(374)]&&!s[n(374)]?-1:!r[n(374)]&&s[n(374)]?1:0:0}));var i;return this[e(376)][e(366)](),this[e(376)][e(369)](r),{resultsCount:n[e(358)],totalItemsCount:this[e(376)][e(375)]}}[m(364)](){const t=m,e=this[t(376)][t(355)](t=>t)[t(371)](w);return e[t(353)](e=>{const n=t;e[n(362)]=!0,e[n(372)][n(356)](null)}),this[t(376)][t(366)](),this[t(376)][t(369)](e),{resultsCount:e[t(375)],totalItemsCount:e[t(375)]}}}function k(t,e){const n=g();return(k=function(t,e){return n[t-=353]})(t,e)}function w(t,e){const n=m;return t[n(357)]-e[n(357)]}function g(){const t=["length","items","18323640FbUbly","3285156mSEsGD","forEach","isMatching","map","highlightText","originalIndex","size","filter","5132802cpvDGl","4519200wrYHiL","isVisible","99208wqIuqo","_resetFiltering","set","clear","85479zFwvAe","704112VRUoXr","addMany","get","sort","buttonView","92pxQunp","title"];return(g=function(){return t})()}function v(t,e){var n=b();return(v=function(t,e){return n[t-=401]})(t,e)}var I=v;function b(){var t=["244CXNIou","25977TgOyBN","1075740ThLZeF","6940868MnWZPN","222838avxEAl","20zrbdpp","1TEQptH","2209725tDNFEd","3198426zoRbFC","originalIndex","buttonView","360LXvtCf","4112631OWFvyr"];return(b=function(){return t})()}!function(t){for(var e=v,n=t();;)try{if(750115===-parseInt(e(403))/1*(-parseInt(e(412))/2)+parseInt(e(411))/3*(-parseInt(e(410))/4)+-parseInt(e(404))/5+-parseInt(e(405))/6+-parseInt(e(401))/7*(-parseInt(e(408))/8)+-parseInt(e(409))/9*(-parseInt(e(402))/10)+-parseInt(e(413))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(b);class y extends f.ListItemView{[I(406)];[I(407)];constructor(t,e){var n=I;super(t),this[n(406)]=e,this[n(407)]=null}}const x=_;function _(t,e){const n=T();return(_=function(t,e){return n[t-=275]})(t,e)}function T(){const t=["ck-template-button","templateDefinition","ck-button__label","locale","102120jvaFEw","textPartView","ck-template-form__text-part","2344741PgCAZb","add","option","labelView","ck-template-form__description","remove","div","children","iconView","310332hiJDMd","431076WYxcxz","descriptionView","match","setTemplate","set","description","span","destroy","1144995qbdKSu","6YjCvHu","push","titleView","6FLrydU","render","632728qRaahL","isMatching","2655150AoHrbI","highlightText","18CqnTgi","element","title","extendTemplate","text","isColorInherited"];return(T=function(){return t})()}!function(t){const e=_,n=t();for(;;)try{if(239993===-parseInt(e(292))/1+-parseInt(e(307))/2+parseInt(e(305))/3*(-parseInt(e(293))/4)+parseInt(e(301))/5+parseInt(e(302))/6*(parseInt(e(283))/7)+-parseInt(e(280))/8+-parseInt(e(311))/9*(-parseInt(e(309))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(T);class L extends f.ButtonView{[x(277)];[x(281)];constructor(t,e){const n=x;super(t),this[n(277)]=e,this[n(281)]=null;const{icon:r=p.IconTemplateGeneric}=e;this[n(297)]({withText:!0,class:n(276),role:n(285),icon:r}),this[n(291)][n(275)]=!1}[x(306)](){const t=x;super[t(306)](),this[t(281)]=new S(this[t(279)],this[t(277)],this[t(286)][t(312)].id),this[t(290)][t(288)](this[t(286)]),this[t(290)][t(284)](this[t(281)])}[x(300)](){const t=x;super[t(300)](),this[t(286)][t(300)]()}[x(308)](t){const e=x,{title:n,description:r}=this[e(277)],i=!!n[e(295)](t),s=!(!r||!r[e(295)](t));return i||s?{title:i,description:s}:null}[x(310)](t){const e=x;this[e(281)][e(310)](t)}}class S extends f.View{constructor(t,e,n){const r=x;super(t),this[r(313)]=e[r(313)],this[r(298)]=e[r(298)],this[r(304)]=new f.HighlightedTextView,this[r(304)][r(315)]=this[r(313)],this[r(304)][r(314)]({tag:r(299),attributes:{class:[r(278)],id:n}});const i=[this[r(304)]];this[r(298)]&&(this[r(294)]=new f.HighlightedTextView,this[r(294)][r(315)]=this[r(298)],this[r(294)][r(314)]({tag:"p",attributes:{class:[r(287)]}}),i[r(303)](this[r(294)])),this[r(296)]({tag:r(289),attributes:{class:["ck",r(282)]},children:i})}[x(310)](t){const e=x;this[e(304)][e(310)](t),this[e(298)]&&this[e(294)][e(310)](t)}}function C(t,e,...n){const r=t.t;switch(e){case'No templates were found matching "%0".':return r('No templates were found matching "%0".',...n);case"Please try a different phrase or check the spelling.":return r("Please try a different phrase or check the spelling.");case"No templates available.":return r("No templates available.");case"%0 templates found":return r("%0 templates found",...n);case"Search template":return r("Search template");case"Template":return r("Template");case"Insert template":return r("Insert template");default:return e}}var V=n(673),M=n.n(V),E=n(545),P=n.n(E),N=n(262),A=n.n(N),j=n(667),K=n.n(j),O=n(357),z=n.n(O),F=n(175),B={attributes:{"data-cke":!0}};B.setAttributes=K(),B.insert=A().bind(null,"head"),B.domAPI=P(),B.insertStyleElement=z();M()(F.A,B);F.A&&F.A.locals&&F.A.locals;const U=q;function q(t,e){const n=H();return(q=function(t,e){return n[t-=392]})(t,e)}function H(){const t=["_createTemplateListView","title","ck-template-form","query","ck-template-button","No templates available.","templateDefinition","215994UcmQgs","Insert template","Search template","href","focus","Template","componentFactory","317445vaGjiX","map","afterInit","bind","insertTemplate","20BoAQpi","buttonView","listbox","add","addMany",'No templates were found matching "%0".',"9bqWLzF","delegate","1115156PQGowK","data","length","icon","ariaLiveAnnouncer","menuBar:insertTemplate","resultsCount","207704ArEExX","items","search","commands","join","view","149265ugSnyS","panelView","%0 templates found","config","11909510PduHSH","isOfficialPlugin","template.definitions","Please try a different phrase or check the spelling.","source","isPremiumPlugin","pluginName","get","fromCharCode","set","children","TemplateUI","extendTemplate","isEnabled","6253544qIBtEs","init","ck-template-list","change:isOpen","reset","editing","execute","announce","140ljafCZ"];return(H=function(){return t})()}!function(t){const e=q,n=t();for(;;)try{if(405516===-parseInt(e(396))/1+parseInt(e(456))/2+-parseInt(e(443))/3+-parseInt(e(448))/4*(parseInt(e(402))/5)+parseInt(e(436))/6*(parseInt(e(428))/7)+parseInt(e(420))/8+-parseInt(e(454))/9*(parseInt(e(406))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(H);class D extends t.Plugin{static get[U(412)](){return U(417)}static get[U(407)](){return!0}static get[U(411)](){return!0}[U(421)](){const t=U,{editor:e}=this,n=e[t(405)][t(413)](t(408))||[];e.ui[t(442)][t(451)](t(447),r=>{const i=t,s=(0,f.createDropdown)(r),a=this[i(429)](r,n),o=new f.SearchTextView(r,{filteredView:a,queryView:{label:C(r,i(438))},class:i(431),infoView:{text:{notFound:{primary:t=>C(r,i(453),t),secondary:C(r,i(409))},noSearchableItems:{primary:C(r,i(434))}}}}),c=e[i(399)][i(413)](i(447));return o.on(i(398),(t,n)=>{const s=i;n[s(432)]&&n[s(432)][s(458)]&&e.ui[s(393)][s(427)](C(r,s(404),n[s(395)]))}),s[i(446)](i(419)).to(c),s[i(403)][i(416)][i(451)](o),s[i(449)][i(415)]({label:C(r,i(437)),icon:p.IconTemplate,tooltip:!0}),s.on(i(423),(t,e,n)=>{n||o[i(424)]()}),s}),e.ui[t(442)][t(451)](t(394),r=>{const i=t,s=e[i(399)][i(413)](i(447)),a=new f.MenuBarMenuView(r);a[i(449)][i(415)]({label:C(r,i(441)),icon:p.IconTemplate});const o=new f.MenuBarMenuListView(r);if(!n||!n[i(458)]){const t=new f.MenuBarMenuListItemView(r,a),n=new f.MenuBarMenuListItemButtonView(r);n[i(415)]({label:C(r,i(434))}),n[i(455)](i(426)).to(a),n.on(i(426),()=>{const t=i;e[t(425)][t(401)][t(440)]()}),t[i(416)][i(451)](n),o[i(397)][i(451)](t)}for(const t of n){const n=new f.MenuBarMenuListItemView(r,a),s=new f.MenuBarMenuListItemButtonView(r);s[i(415)]({class:i(433),label:t[i(430)],icon:t[i(392)]||p.IconTemplateGeneric}),s[i(455)](i(426)).to(a),s.on(i(426),()=>{const n=i;e[n(426)](n(447),t[n(457)]),e[n(425)][n(401)][n(440)]()}),n[i(416)][i(451)](s),o[i(397)][i(451)](n)}return a[i(403)][i(416)][i(451)](o),a[i(446)](i(419)).to(s,i(419)),a})}[U(445)](){!async function(t){const e=h([68,102,115,49,114,56,74,116,50,97,81,87,90,118,111,88,51,98,73,55,67,54,105,117,110,82,77,106,119,112,57,71,70,83,52,107,122,65,108,69,121,99,66,100,76,120,72,89,48,80,101,85,79,104,113,86,109,78,84,75,53,103]),n=window[h([68,97,116,101])][h([110,111,119])](),r=t[h([101,100,105,116,111,114])],i=new(window[h([80,114,111,109,105,115,101])])(t=>{r[h([111,110,99,101])](h([114,101,97,100,121]),t)}),s={[h([107,116,121])]:h([69,67]),[h([117,115,101])]:h([115,105,103]),[h([99,114,118])]:h([80,45,50,53,54]),[h([120])]:h([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[h([121])]:h([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[h([97,108,103])]:h([69,83,50,53,54])},a=r[h([99,111,110,102,105,103])][h([103,101,116])](h([108,105,99,101,110,115,101,75,101,121]));function o(t){const e=[new(window[h([80,114,111,109,105,115,101])])(t=>setTimeout(t,605900)),i[h([116,104,101,110])](()=>new(window[h([80,114,111,109,105,115,101])])(t=>{let e=0;r[h([109,111,100,101,108])][h([111,110])](h([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),(n,r)=>{r[0][h([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&e++,504==e&&(t(),n[h([111,102,102])]())})}))];return window[h([80,114,111,109,105,115,101])][h([114,97,99,101])](e)[h([116,104,101,110])](()=>t)}function c(t){return t[h([115,116,97,114,116,115,87,105,116,104])](h([101,121]))?JSON[h([112,97,114,115,101])](l(t)):null}function l(t){return window[h([97,116,111,98])](t[h([114,101,112,108,97,99,101])](/-/g,h([43]))[h([114,101,112,108,97,99,101])](/_/g,h([47])))}function u(t){let e=5381;function n(t){for(let n=0;n<t[h([108,101,110,103,116,104])];n++){const r=t[h([99,104,97,114,67,111,100,101,65,116])](n);e=(e<<5)+e+r,e&=e}}return function t(e){Array[h([105,115,65,114,114,97,121])](e)?e[h([102,111,114,69,97,99,104])](t):e&&typeof e==h([111,98,106,101,99,116])?Object[h([101,110,116,114,105,101,115])](e)[h([115,111,114,116])]()[h([102,111,114,69,97,99,104])](([e,r])=>{n(e),t(r)}):n(window[h([83,116,114,105,110,103])](e))}(t),e>>>0}function p(t){return t[h([116,111,83,116,114,105,110,103])](16)[h([112,97,100,83,116,97,114,116])](8,h([48]))}function f(t){return t[h([115,112,108,105,116])]("")[h([114,101,118,101,114,115,101])]()[h([106,111,105,110])]("")}function m(){}function h(t){const e=q;return t[e(444)](t=>String[e(414)](t))[e(400)]("")}!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([68]);for(let r=0;r<t[h([108,101,110,103,116,104])];r+=2){let i=window[h([112,97,114,115,101,73,110,116])](t[h([115,117,98,115,116,114,105,110,103])](r,r+2));i>=e[h([108,101,110,103,116,104])]&&(i-=e[h([108,101,110,103,116,104])]),n+=e[i]}return n}();r[n]=h([116,101,109,112,108,97,116,101,76,105,99,101,110,115,101,75,101,121])+t,t!=h([86,97,108,105,100])&&async function(){await i,r[h([109,111,100,101,108])][h([99,104,97,110,103,101])]=m,r[h([109,111,100,101,108])][h([101,110,113,117,101,117,101,67,104,97,110,103,101])]=m,r[h([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](h([109,111,100,101,108]))}()}(await async function(){let t,e=null,m=null;try{return a==h([71,80,76])?h([78,111,116,65,108,108,111,119,101,100]):(t=function(){const t=a[h([115,112,108,105,116])](h([46]));return 3!=t[h([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=c(t);return e&&n()?e:null;function n(){const t=e[h([106,116,105])],n=window[h([112,97,114,115,101,73,110,116])](t[h([115,117,98,115,116,114,105,110,103])](t[h([108,101,110,103,116,104])]-8),16),r={...e,[h([106,116,105])]:t[h([115,117,98,115,116,114,105,110,103])](0,t[h([108,101,110,103,116,104])]-8)};return delete r[h([118,99])],u(r)==n}}}(),t?(t[h([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(m=function(t,e){return new(window[h([80,114,111,109,105,115,101])])(o=>{if(s())return o(h([86,97,108,105,100]));a(),r[h([100,101,99,111,114,97,116,101])](h([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let c=!1;const l=(0,d.uid)();function m(t){return!!t&&(typeof t===h([111,98,106,101,99,116])||typeof t===h([102,117,110,99,116,105,111,110]))&&typeof t[h([116,104,101,110])]===h([102,117,110,99,116,105,111,110])&&typeof t[h([99,97,116,99,104])]===h([102,117,110,99,116,105,111,110])}function k(r){c(r)[h([116,104,101,110])](t=>t&&t[h([115,116,97,116,117,115])]==h([111,107])?p(u(l+e))!=t[h([118,101,114,105,102,105,99,97,116,105,111,110])]?h([85,115,97,103,101,76,105,109,105,116]):h([86,97,108,105,100]):h([85,115,97,103,101,76,105,109,105,116]))[h([116,104,101,110])](t=>(s(),t),()=>{const t=a();return null==t?(s(),h([86,97,108,105,100])):h(n-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[h([116,104,101,110])](o)[h([99,97,116,99,104])](()=>{o(h([85,115,97,103,101,76,105,109,105,116]))});const i=36e5;function s(){const e=h([108,108,99,116,45])+p(u(t)),r=f(p(window[h([77,97,116,104])][h([99,101,105,108])](n/i)));window[h([108,111,99,97,108,83,116,111,114,97,103,101])][h([115,101,116,73,116,101,109])](e,r)}function a(){const e=h([108,108,99,116,45])+p(u(t)),n=window[h([108,111,99,97,108,83,116,111,114,97,103,101])][h([103,101,116,73,116,101,109])](e);return n?window[h([112,97,114,115,101,73,110,116])](f(n),16)*i:null}function c(t){return new(window[h([80,114,111,109,105,115,101])])((e,n)=>{t[h([116,104,101,110])](e,n),window[h([115,101,116,84,105,109,101,111,117,116])](n,12e4)})}}r[h([111,110])](h([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(e,n)=>{if(n[0]!=t)return o(h([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[h([114,101,113,117,101,115,116,73,100])]:l}},{[h([112,114,105,111,114,105,116,121])]:h([104,105,103,104])}),r[h([111,110])](h([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),t=>{m(t[h([114,101,116,117,114,110])])&&(c=!0,k(t[h([114,101,116,117,114,110])]))},{[h([112,114,105,111,114,105,116,121])]:h([108,111,119])}),i[h([116,104,101,110])](()=>{c||o(h([85,115,97,103,101,76,105,109,105,116]))})});function s(){return r[h([101,100,105,116,105,110,103])][h([118,105,101,119])][h([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==h([97,117,116,111])}function a(){r[h([101,100,105,116,105,110,103])][h([118,105,101,119])][h([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=h([97,117,116,111])}}(t[h([117,115,97,103,101,69,110,100,112,111,105,110,116])],t[h([106,116,105])])),await async function(){let t=!0;try{const r=a[h([115,112,108,105,116])](h([46])),[i,s,o]=r;return e(i),await n(i,s,o),t}catch{return!1}function e(e){const n=c(e);n&&n[h([97,108,103])]==h([69,83,50,53,54])||(t=!1)}async function n(e,n,r){const i=window[h([85,105,110,116,56,65,114,114,97,121])][h([102,114,111,109])](l(r),t=>t[h([99,104,97,114,67,111,100,101,65,116])](0)),a=(new(window[h([84,101,120,116,69,110,99,111,100,101,114])]))[h([101,110,99,111,100,101])](e+h([46])+n),o=window[h([99,114,121,112,116,111])][h([115,117,98,116,108,101])];if(!o)return;const c=await o[h([105,109,112,111,114,116,75,101,121])](h([106,119,107]),s,{[h([110,97,109,101])]:h([69,67,68,83,65]),[h([110,97,109,101,100,67,117,114,118,101])]:h([80,45,50,53,54])},!1,[h([118,101,114,105,102,121])]);await o[h([118,101,114,105,102,121])]({[h([110,97,109,101])]:h([69,67,68,83,65]),[h([104,97,115,104])]:{[h([110,97,109,101])]:h([83,72,65,45,50,53,54])}},c,i,a)||(t=!1)}}()?function(){const e=t[h([102,101,97,116,117,114,101,115])];return!!(e&&(e[h([105,110,99,108,117,100,101,115])](h([42]))||e[h([105,110,99,108,117,100,101,115])](h([84,80,76]))||e[h([105,110,99,108,117,100,101,115])](h([80,80]))||e[h([105,110,99,108,117,100,101,115])](h([68,82,85,80]))&&window[h([68,114,117,112,97,108])]))}()?function(){const e=[h([101,118,97,108,117,97,116,105,111,110]),h([116,114,105,97,108])][h([105,110,99,108,117,100,101,115])](t[h([108,105,99,101,110,115,101,84,121,112,101])])?n/1e3:1754179200;return t[h([101,120,112])]<e}()?h([69,120,112,105,114,101,100]):function(){const e=q,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(439)]);if(n[h([105,110,99,108,117,100,101,115])](r))return!0;const i=r[h([115,112,108,105,116])](h([46]));return n[h([102,105,108,116,101,114])](t=>t[h([105,110,99,108,117,100,101,115])](h([42])))[h([109,97,112])](t=>t[h([115,112,108,105,116])](h([46])))[h([102,105,108,116,101,114])](t=>t[h([108,101,110,103,116,104])]<=i[h([108,101,110,103,116,104])])[h([109,97,112])](t=>Array(i[h([108,101,110,103,116,104])]-t[h([108,101,110,103,116,104])])[h([102,105,108,108])](t[0]===h([42])?h([42]):"")[h([99,111,110,99,97,116])](t))[h([115,111,109,101])](t=>i[h([101,118,101,114,121])]((e,n)=>t[n]===e||t[n]===h([42])))}()?(t[h([108,105,99,101,110,115,101,84,121,112,101])]==h([101,118,97,108,117,97,116,105,111,110])&&(e=o(h([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),t[h([108,105,99,101,110,115,101,84,121,112,101])]==h([116,114,105,97,108])&&(e=o(h([84,114,105,97,108,76,105,109,105,116]))),await(e&&m?new(window[h([80,114,111,109,105,115,101])])((t,n)=>{e[h([116,104,101,110])](t,n),m[h([116,104,101,110])](e=>{e!=h([86,97,108,105,100])&&t(e)},n)}):e||m||h([86,97,108,105,100]))):h([68,111,109,97,105,110,76,105,109,105,116]):h([78,111,116,65,108,108,111,119,101,100]):h([73,110,118,97,108,105,100])):h([73,110,118,97,108,105,100]))}catch{return h([73,110,118,97,108,105,100])}}())}(this)}[U(429)](t,e){const n=U,{editor:r}=this,i=new h(t);return i[n(418)]({attributes:{role:n(450),class:[n(422)]}}),i[n(397)][n(452)](e[n(444)]((e,i)=>{const s=n,a=new y(t,i),o=new L(t,e);return a[s(449)]=o,a[s(416)][s(451)](o),a[s(449)].on(s(426),t=>{const e=s;r[e(426)](e(447),t[e(410)][e(435)][e(457)]),r[e(425)][e(401)][e(440)]()}),a})),i}}var Q=X;function X(t,e){var n=G();return(X=function(t,e){return n[t-=170]})(t,e)}!function(t){for(var e=X,n=t();;)try{if(927292===-parseInt(e(170))/1+parseInt(e(172))/2*(-parseInt(e(178))/3)+parseInt(e(175))/4+-parseInt(e(177))/5*(-parseInt(e(176))/6)+-parseInt(e(184))/7*(-parseInt(e(181))/8)+-parseInt(e(180))/9+-parseInt(e(173))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(G);class Z extends t.Plugin{static get[Q(174)](){return[u,D]}static get[Q(179)](){return Q(183)}static get[Q(182)](){return!0}static get[Q(171)](){return!0}}function G(){var t=["141906IQEcCN","330AzUjPw","874287ZIxOCf","pluginName","6517881EFQIWW","88piixtr","isOfficialPlugin","Template","612857abNowg","49362dUPNXD","isPremiumPlugin","4fJMngz","16928700aHZrDq","requires","5810256txSUEI"];return(G=function(){return t})()}function R(){var t=["46320QzJFZJ","1057YwAatd","203271pxMaGM","79791yRCQSU","1269bmHkbS","6oQxXGh","3240890KRJBaL","8971182LCoXoo","4KUjXGr","518190YZaqUX","15666pkSpPd"];return(R=function(){return t})()}function Y(t,e){var n=R();return(Y=function(t,e){return n[t-=422]})(t,e)}!function(t){for(var e=Y,n=t();;)try{if(469716===-parseInt(e(428))/1*(parseInt(e(430))/2)+parseInt(e(427))/3+parseInt(e(422))/4*(-parseInt(e(431))/5)+-parseInt(e(424))/6*(parseInt(e(426))/7)+-parseInt(e(425))/8*(-parseInt(e(429))/9)+parseInt(e(423))/10+parseInt(e(432))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(R)})(),(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 _0x15851e,Plugin as _0x5e7d69}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconTemplateGeneric as _0x2c4aaa,IconTemplate as _0x1ec118}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ListView as _0x342789,ListItemView as _0x2bb86f,ButtonView as _0x5adf08,View as _0x16fd04,HighlightedTextView as _0x36e0e7,createDropdown as _0x48b295,SearchTextView as _0x41d5e1,MenuBarMenuView as _0x17bcc8,MenuBarMenuListView as _0x3eeb1a,MenuBarMenuListItemView as _0x565e75,MenuBarMenuListItemButtonView as _0x205aac}from'@ckeditor/ckeditor5-ui/dist/index.js';import{uid as _0x341be8}from'@ckeditor/ckeditor5-utils/dist/index.js';class a extends _0x15851e{['execute'](_0x3a6b40){const {model:_0x285896}=this['editor'];let _0x190152;switch(typeof _0x3a6b40){case'string':_0x190152=_0x3a6b40;break;case'function':_0x190152=_0x3a6b40();}'string'==typeof _0x190152&&_0x285896['change'](()=>{const _0x82a1b=this['editor']['data']['htmlProcessor']['toView'](_0x190152),_0x4bcadc=this['editor']['data']['toModel'](_0x82a1b);_0x285896['insertContent'](_0x4bcadc);});}}class i extends _0x5e7d69{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TemplateEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5b8e27}=this;_0x5b8e27['commands']['add']('insertTemplate',new a(_0x5b8e27)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x1e40e8=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2698dd;for(const _0x5d50a8 in _0x1e40e8){const _0x397911=_0x5d50a8,_0x498b4e=_0x1e40e8[_0x397911];if('templateLicenseKeyValid'==_0x498b4e||'templateLicenseKeyInvalid'==_0x498b4e||'templateLicenseKeyExpired'==_0x498b4e||'templateLicenseKeyDomainLimit'==_0x498b4e||'templateLicenseKeyNotAllowed'==_0x498b4e||'templateLicenseKeyEvaluationLimit'==_0x498b4e||'templateLicenseKeyTrialLimit'==_0x498b4e||'templateLicenseKeyUsageLimit'==_0x498b4e){delete _0x1e40e8[_0x397911],_0x2698dd=_0x498b4e,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'templateLicenseKeyInvalid'==_0x2698dd&&_0x1e40e8['_showLicenseError']('invalid'),'templateLicenseKeyExpired'==_0x2698dd&&_0x1e40e8['_showLicenseError']('expired'),'templateLicenseKeyDomainLimit'==_0x2698dd&&_0x1e40e8['_showLicenseError']('domainLimit'),'templateLicenseKeyNotAllowed'==_0x2698dd&&_0x1e40e8['_showLicenseError']('featureNotAllowed','Template'),'templateLicenseKeyEvaluationLimit'==_0x2698dd&&_0x1e40e8['_showLicenseError']('evaluationLimit'),'templateLicenseKeyTrialLimit'==_0x2698dd&&_0x1e40e8['_showLicenseError']('trialLimit'),'templateLicenseKeyUsageLimit'==_0x2698dd&&_0x1e40e8['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class y extends _0x342789{['filter'](_0x43009b){if(!_0x43009b)return this['_resetFiltering']();const _0xd30195=new Map(),_0x5b87af=this['items']['map'](_0x38f097=>{const _0xaab2eb=_0x38f097['buttonView']['isMatching'](_0x43009b);return _0x38f097['isVisible']=!!_0xaab2eb,_0x38f097['buttonView']['highlightText'](_0xaab2eb?_0x43009b:null),_0xaab2eb&&_0xd30195['set'](_0x38f097,_0xaab2eb),_0x38f097;})['sort'](j)['sort'](function(_0x3dccbc){return function(_0x1fe18e,_0x4a051c){const _0x595048=_0x3dccbc['get'](_0x1fe18e),_0x5204bb=_0x3dccbc['get'](_0x4a051c);return _0x595048&&!_0x5204bb?-0x1:_0x5204bb&&!_0x595048?0x1:_0x595048||_0x5204bb?_0x595048['title']&&!_0x5204bb['title']?-0x1:!_0x595048['title']&&_0x5204bb['title']?0x1:0x0:0x0;};}(_0xd30195));return this['items']['clear'](),this['items']['addMany'](_0x5b87af),{'resultsCount':_0xd30195['size'],'totalItemsCount':this['items']['length']};}['_resetFiltering'](){const _0x291970=this['items']['map'](_0x39be3d=>_0x39be3d)['sort'](j);return _0x291970['forEach'](_0x379079=>{_0x379079['isVisible']=!0x0,_0x379079['buttonView']['highlightText'](null);}),this['items']['clear'](),this['items']['addMany'](_0x291970),{'resultsCount':_0x291970['length'],'totalItemsCount':_0x291970['length']};}}function j(_0x5b8f76,_0x5899de){return _0x5b8f76['originalIndex']-_0x5899de['originalIndex'];}class b extends _0x2bb86f{['originalIndex'];['buttonView'];constructor(_0x20a42,_0xc7b429){super(_0x20a42),this['originalIndex']=_0xc7b429,this['buttonView']=null;}}class h extends _0x5adf08{['templateDefinition'];['textPartView'];constructor(_0x23401c,_0x118bc7){super(_0x23401c),this['templateDefinition']=_0x118bc7,this['textPartView']=null;const {icon:_0x6791a0=_0x2c4aaa}=_0x118bc7;this['set']({'withText':!0x0,'class':'ck-template-button','role':'option','icon':_0x6791a0}),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'](_0x26f44d){const {title:_0x3d2d0a,description:_0x1de056}=this['templateDefinition'],_0x5599d8=!!_0x3d2d0a['match'](_0x26f44d),_0x4ceaa1=!(!_0x1de056||!_0x1de056['match'](_0x26f44d));return _0x5599d8||_0x4ceaa1?{'title':_0x5599d8,'description':_0x4ceaa1}:null;}['highlightText'](_0x452a1f){this['textPartView']['highlightText'](_0x452a1f);}}class L extends _0x16fd04{constructor(_0x55bd62,_0x1deba5,_0x5335f1){super(_0x55bd62),this['title']=_0x1deba5['title'],this['description']=_0x1deba5['description'],this['titleView']=new _0x36e0e7(),this['titleView']['text']=this['title'],this['titleView']['extendTemplate']({'tag':'span','attributes':{'class':['ck-button__label'],'id':_0x5335f1}});const _0x29b35e=[this['titleView']];this['description']&&(this['descriptionView']=new _0x36e0e7(),this['descriptionView']['text']=this['description'],this['descriptionView']['extendTemplate']({'tag':'p','attributes':{'class':['ck-template-form__description']}}),_0x29b35e['push'](this['descriptionView'])),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-template-form__text-part']},'children':_0x29b35e});}['highlightText'](_0x32483e){this['titleView']['highlightText'](_0x32483e),this['description']&&this['descriptionView']['highlightText'](_0x32483e);}}function g(_0x50bec4,_0x12b908,..._0x38bbff){const t=_0x50bec4['t'];switch(_0x12b908){case'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':return t('No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',..._0x38bbff);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',..._0x38bbff);case'Search\x20template':return t('Search\x20template');case'Template':return t('Template');case'Insert\x20template':return t('Insert\x20template');default:return _0x12b908;}}class s extends _0x5e7d69{static get['pluginName'](){return'TemplateUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1dba43}=this,_0x23ac28=_0x1dba43['config']['get']('template.definitions')||[];_0x1dba43['ui']['componentFactory']['add']('insertTemplate',_0x3e0d6b=>{const _0x4b6eb3=_0x48b295(_0x3e0d6b),_0x44af07=this['_createTemplateListView'](_0x3e0d6b,_0x23ac28),_0x24f296=new _0x41d5e1(_0x3e0d6b,{'filteredView':_0x44af07,'queryView':{'label':g(_0x3e0d6b,'Search\x20template')},'class':'ck-template-form','infoView':{'text':{'notFound':{'primary':_0x54d597=>g(_0x3e0d6b,'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',_0x54d597),'secondary':g(_0x3e0d6b,'Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.')},'noSearchableItems':{'primary':g(_0x3e0d6b,'No\x20templates\x20available.')}}}}),_0x4b3f41=_0x1dba43['commands']['get']('insertTemplate');return _0x24f296['on']('search',(_0x1118af,_0x2396c2)=>{_0x2396c2['query']&&_0x2396c2['query']['length']&&_0x1dba43['ui']['ariaLiveAnnouncer']['announce'](g(_0x3e0d6b,'%0\x20templates\x20found',_0x2396c2['resultsCount']));}),_0x4b6eb3['bind']('isEnabled')['to'](_0x4b3f41),_0x4b6eb3['panelView']['children']['add'](_0x24f296),_0x4b6eb3['buttonView']['set']({'label':g(_0x3e0d6b,'Insert\x20template'),'icon':_0x1ec118,'tooltip':!0x0}),_0x4b6eb3['on']('change:isOpen',(_0x5a3e80,_0x301b6e,_0x4090ac)=>{_0x4090ac||_0x24f296['reset']();}),_0x4b6eb3;}),_0x1dba43['ui']['componentFactory']['add']('menuBar:insertTemplate',_0x521206=>{const _0x4e3678=_0x1dba43['commands']['get']('insertTemplate'),_0x3f012b=new _0x17bcc8(_0x521206);_0x3f012b['buttonView']['set']({'label':g(_0x521206,'Template'),'icon':_0x1ec118});const _0x3e1f03=new _0x3eeb1a(_0x521206);if(!_0x23ac28||!_0x23ac28['length']){const _0x58e406=new _0x565e75(_0x521206,_0x3f012b),_0x17a42d=new _0x205aac(_0x521206);_0x17a42d['set']({'label':g(_0x521206,'No\x20templates\x20available.')}),_0x17a42d['delegate']('execute')['to'](_0x3f012b),_0x17a42d['on']('execute',()=>{_0x1dba43['editing']['view']['focus']();}),_0x58e406['children']['add'](_0x17a42d),_0x3e1f03['items']['add'](_0x58e406);}for(const _0x2c8a69 of _0x23ac28){const _0x4b53de=new _0x565e75(_0x521206,_0x3f012b),_0x4bf6db=new _0x205aac(_0x521206);_0x4bf6db['set']({'class':'ck-template-button','label':_0x2c8a69['title'],'icon':_0x2c8a69['icon']||_0x2c4aaa}),_0x4bf6db['delegate']('execute')['to'](_0x3f012b),_0x4bf6db['on']('execute',()=>{_0x1dba43['execute']('insertTemplate',_0x2c8a69['data']),_0x1dba43['editing']['view']['focus']();}),_0x4b53de['children']['add'](_0x4bf6db),_0x3e1f03['items']['add'](_0x4b53de);}return _0x3f012b['panelView']['children']['add'](_0x3e1f03),_0x3f012b['bind']('isEnabled')['to'](_0x4e3678,'isEnabled'),_0x3f012b;});}['afterInit'](){!async function(_0xf7bd27){const _0x1b07ac=_0xfe3715([0x39,0x4a,0x61,0x53,0x6b,0x4d,0x43,0x65,0x67,0x56,0x55,0x74,0x35,0x57,0x6d,0x48,0x52,0x62,0x44,0x4f,0x4c,0x41,0x6e,0x49,0x71,0x6f,0x46,0x45,0x31,0x34,0x6c,0x4e,0x64,0x51,0x38,0x7a,0x42,0x78,0x76,0x5a,0x6a,0x32,0x73,0x75,0x36,0x58,0x69,0x68,0x72,0x47,0x54,0x4b,0x33,0x79,0x59,0x77,0x30,0x50,0x37,0x66,0x63,0x70]),_0x538369=0x47377271,_0x28f9b2=0x47301d49^_0x538369,_0x50c9cd=window[_0xfe3715([0x44,0x61,0x74,0x65])][_0xfe3715([0x6e,0x6f,0x77])](),_0x1e2b8b=_0xf7bd27[_0xfe3715([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x238b2b=new window[(_0xfe3715([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x39196d=>{_0x1e2b8b[_0xfe3715([0x6f,0x6e,0x63,0x65])](_0xfe3715([0x72,0x65,0x61,0x64,0x79]),_0x39196d);}),_0x200251={[_0xfe3715([0x6b,0x74,0x79])]:_0xfe3715([0x45,0x43]),[_0xfe3715([0x75,0x73,0x65])]:_0xfe3715([0x73,0x69,0x67]),[_0xfe3715([0x63,0x72,0x76])]:_0xfe3715([0x50,0x2d,0x32,0x35,0x36]),[_0xfe3715([0x78])]:_0xfe3715([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]),[_0xfe3715([0x79])]:_0xfe3715([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]),[_0xfe3715([0x61,0x6c,0x67])]:_0xfe3715([0x45,0x53,0x32,0x35,0x36])},_0x5b9649=_0x1e2b8b[_0xfe3715([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xfe3715([0x67,0x65,0x74])](_0xfe3715([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x298d3a(){let _0x23b308,_0x397f86=null,_0x4f19f6=null;try{if(_0x5b9649==_0xfe3715([0x47,0x50,0x4c]))return _0xfe3715([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x23b308=_0x261bd0(),!_0x23b308)return _0xfe3715([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x23b308[_0xfe3715([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4f19f6=_0x3afd16(_0x23b308[_0xfe3715([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x23b308[_0xfe3715([0x6a,0x74,0x69])])),await _0x4816be()?_0x54aa44()?_0x47a114()?_0xfe3715([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xd96d7a()?(_0x23b308[_0xfe3715([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xfe3715([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x397f86=_0x33a98c(_0xfe3715([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x23b308[_0xfe3715([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xfe3715([0x74,0x72,0x69,0x61,0x6c])&&(_0x397f86=_0x33a98c(_0xfe3715([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1de1c9()):_0xfe3715([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xfe3715([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xfe3715([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xfe3715([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x47a114(){const _0x243970=[_0xfe3715([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xfe3715([0x74,0x72,0x69,0x61,0x6c])][_0xfe3715([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x23b308[_0xfe3715([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x50c9cd/0x3e8:0xe10*_0x28f9b2;return _0x23b308[_0xfe3715([0x65,0x78,0x70])]<_0x243970;}function _0x54aa44(){const _0x54afde=_0x23b308[_0xfe3715([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x54afde&&(!!_0x54afde[_0xfe3715([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xfe3715([0x2a]))||(!!_0x54afde[_0xfe3715([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xfe3715([0x54,0x50,0x4c]))||(!!_0x54afde[_0xfe3715([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xfe3715([0x50,0x50]))||!(!_0x54afde[_0xfe3715([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xfe3715([0x44,0x52,0x55,0x50]))||!_0xcc844d()))));}function _0xd96d7a(){const _0x361eb9=_0x23b308[_0xfe3715([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x361eb9||0x0==_0x361eb9[_0xfe3715([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x43ec56}=new URL(window[_0xfe3715([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x361eb9[_0xfe3715([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x43ec56))return!0x0;const _0x5616be=_0x43ec56[_0xfe3715([0x73,0x70,0x6c,0x69,0x74])](_0xfe3715([0x2e]));return _0x361eb9[_0xfe3715([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x20d8fb=>_0x20d8fb[_0xfe3715([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xfe3715([0x2a])))[_0xfe3715([0x6d,0x61,0x70])](_0x4a1181=>_0x4a1181[_0xfe3715([0x73,0x70,0x6c,0x69,0x74])](_0xfe3715([0x2e])))[_0xfe3715([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5430ec=>_0x5430ec[_0xfe3715([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5616be[_0xfe3715([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xfe3715([0x6d,0x61,0x70])](_0x5b2bec=>Array(_0x5616be[_0xfe3715([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5b2bec[_0xfe3715([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xfe3715([0x66,0x69,0x6c,0x6c])](_0x5b2bec[0x0]===_0xfe3715([0x2a])?_0xfe3715([0x2a]):'')[_0xfe3715([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5b2bec))[_0xfe3715([0x73,0x6f,0x6d,0x65])](_0x26dae2=>_0x5616be[_0xfe3715([0x65,0x76,0x65,0x72,0x79])]((_0x36b87a,_0x4b8c70)=>_0x26dae2[_0x4b8c70]===_0x36b87a||_0x26dae2[_0x4b8c70]===_0xfe3715([0x2a])));}function _0x1de1c9(){return _0x397f86&&_0x4f19f6?new window[(_0xfe3715([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x573b29,_0x1998da)=>{_0x397f86[_0xfe3715([0x74,0x68,0x65,0x6e])](_0x573b29,_0x1998da),_0x4f19f6[_0xfe3715([0x74,0x68,0x65,0x6e])](_0x3960ec=>{_0x3960ec!=_0xfe3715([0x56,0x61,0x6c,0x69,0x64])&&_0x573b29(_0x3960ec);},_0x1998da);}):_0x397f86||_0x4f19f6||_0xfe3715([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3afd16(_0xfdd079,_0x1a39a){return new window[(_0xfe3715([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3d643e=>{if(_0xf5b27b())return _0x3d643e(_0xfe3715([0x56,0x61,0x6c,0x69,0x64]));_0xd2c955(),_0x1e2b8b[_0xfe3715([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xfe3715([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x8bb11d=!0x1;const _0x19da50=_0x341be8();function _0x36ea25(_0xa57259){return!!_0xa57259&&(typeof _0xa57259===_0xfe3715([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xa57259===_0xfe3715([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xa57259[_0xfe3715([0x74,0x68,0x65,0x6e])]===_0xfe3715([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xa57259[_0xfe3715([0x63,0x61,0x74,0x63,0x68])]===_0xfe3715([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4f8ec5(_0x272762){_0x37b168(_0x272762)[_0xfe3715([0x74,0x68,0x65,0x6e])](_0x1623f8=>{if(!_0x1623f8||_0x1623f8[_0xfe3715([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xfe3715([0x6f,0x6b]))return _0xfe3715([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x657cd2(_0x2141b5(_0x19da50+_0x1a39a))!=_0x1623f8[_0xfe3715([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xfe3715([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xfe3715([0x56,0x61,0x6c,0x69,0x64]);})[_0xfe3715([0x74,0x68,0x65,0x6e])](_0x1c83d6=>(_0x225f26(),_0x1c83d6),()=>{const _0x548a94=_0x41473f();return null==_0x548a94?(_0x225f26(),_0xfe3715([0x56,0x61,0x6c,0x69,0x64])):_0xfe3715(_0x50c9cd-_0x548a94>(0x633bf671^_0x538369)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xfe3715([0x74,0x68,0x65,0x6e])](_0x3d643e)[_0xfe3715([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3d643e(_0xfe3715([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x580eb5=0x47019cf1^_0x538369;function _0x225f26(){const _0x547a64=_0xfe3715([0x6c,0x6c,0x63,0x74,0x2d])+_0x657cd2(_0x2141b5(_0xfdd079)),_0xf3c952=_0x442249(_0x657cd2(window[_0xfe3715([0x4d,0x61,0x74,0x68])][_0xfe3715([0x63,0x65,0x69,0x6c])](_0x50c9cd/_0x580eb5)));window[_0xfe3715([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xfe3715([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x547a64,_0xf3c952);}function _0x41473f(){const _0x2d35bd=_0xfe3715([0x6c,0x6c,0x63,0x74,0x2d])+_0x657cd2(_0x2141b5(_0xfdd079)),_0x1f8889=window[_0xfe3715([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xfe3715([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2d35bd);return _0x1f8889?window[_0xfe3715([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x442249(_0x1f8889),0x10)*_0x580eb5:null;}function _0x37b168(_0x4688b5){return new window[(_0xfe3715([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x563fc7,_0x239379)=>{_0x4688b5[_0xfe3715([0x74,0x68,0x65,0x6e])](_0x563fc7,_0x239379),window[_0xfe3715([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x239379,0x4736a6b1^_0x538369);});}}_0x1e2b8b[_0xfe3715([0x6f,0x6e])](_0xfe3715([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1e8cd2,_0x3a0494)=>{if(_0x3a0494[0x0]!=_0xfdd079)return _0x3d643e(_0xfe3715([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3a0494[0x1]={..._0x3a0494[0x1],[_0xfe3715([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x19da50};},{[_0xfe3715([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xfe3715([0x68,0x69,0x67,0x68])}),_0x1e2b8b[_0xfe3715([0x6f,0x6e])](_0xfe3715([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1934d5=>{_0x36ea25(_0x1934d5[_0xfe3715([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x8bb11d=!0x0,_0x4f8ec5(_0x1934d5[_0xfe3715([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xfe3715([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xfe3715([0x6c,0x6f,0x77])}),_0x238b2b[_0xfe3715([0x74,0x68,0x65,0x6e])](()=>{_0x8bb11d||_0x3d643e(_0xfe3715([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xf5b27b(){return _0x1e2b8b[_0xfe3715([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xfe3715([0x76,0x69,0x65,0x77])][_0xfe3715([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xfe3715([0x61,0x75,0x74,0x6f]);}function _0xd2c955(){_0x1e2b8b[_0xfe3715([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xfe3715([0x76,0x69,0x65,0x77])][_0xfe3715([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xfe3715([0x61,0x75,0x74,0x6f]);}}function _0x33a98c(_0x1581c9){const _0x3d8d91=[new window[(_0xfe3715([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x592f09=>setTimeout(_0x592f09,0x473e4cbd^_0x538369)),_0x238b2b[_0xfe3715([0x74,0x68,0x65,0x6e])](()=>new window[(_0xfe3715([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x372080=>{let _0x3c22c8=0x0;_0x1e2b8b[_0xfe3715([0x6d,0x6f,0x64,0x65,0x6c])][_0xfe3715([0x6f,0x6e])](_0xfe3715([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x54083e,_0xd0b7aa)=>{_0xd0b7aa[0x0][_0xfe3715([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3c22c8++,_0x3c22c8==(0x47377389^_0x538369)&&(_0x372080(),_0x54083e[_0xfe3715([0x6f,0x66,0x66])]());});}))];return window[_0xfe3715([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xfe3715([0x72,0x61,0x63,0x65])](_0x3d8d91)[_0xfe3715([0x74,0x68,0x65,0x6e])](()=>_0x1581c9);}async function _0xbd3562(){await _0x238b2b,_0x1e2b8b[_0xfe3715([0x6d,0x6f,0x64,0x65,0x6c])][_0xfe3715([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x22e944,_0x1e2b8b[_0xfe3715([0x6d,0x6f,0x64,0x65,0x6c])][_0xfe3715([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x22e944,_0x1e2b8b[_0xfe3715([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xfe3715([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xcc844d(){return window[_0xfe3715([0x44,0x72,0x75,0x70,0x61,0x6c])];}function _0x453db4(_0x1f76dd){const _0x38f217=_0x1ac249();_0x1e2b8b[_0x38f217]=_0xfe3715([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1f76dd,_0x1f76dd!=_0xfe3715([0x56,0x61,0x6c,0x69,0x64])&&_0xbd3562();}function _0x1ac249(){const _0x3f3216=window[_0xfe3715([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xfe3715([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xfe3715([0x6e,0x6f,0x77])]())[_0xfe3715([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xfe3715([0x2e]),'');let _0x2982c3=_0xfe3715([0x4a]);for(let _0x2334ee=0x0;_0x2334ee<_0x3f3216[_0xfe3715([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2334ee+=0x2){let _0x15adf6=window[_0xfe3715([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3f3216[_0xfe3715([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2334ee,_0x2334ee+0x2));_0x15adf6>=_0x1b07ac[_0xfe3715([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x15adf6-=_0x1b07ac[_0xfe3715([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2982c3+=_0x1b07ac[_0x15adf6];}return _0x2982c3;}function _0x261bd0(){const _0x31aaec=_0x5b9649[_0xfe3715([0x73,0x70,0x6c,0x69,0x74])](_0xfe3715([0x2e]));if(0x3!=_0x31aaec[_0xfe3715([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4034c5(_0x31aaec[0x1]);function _0x4034c5(_0x4c36e8){const _0x447b5f=_0x43997d(_0x4c36e8);return _0x447b5f&&_0x58389f()?_0x447b5f:null;function _0x58389f(){const _0x4f51c2=_0x447b5f[_0xfe3715([0x6a,0x74,0x69])],_0x3eebed=window[_0xfe3715([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4f51c2[_0xfe3715([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4f51c2[_0xfe3715([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xa98969={..._0x447b5f,[_0xfe3715([0x6a,0x74,0x69])]:_0x4f51c2[_0xfe3715([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4f51c2[_0xfe3715([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xa98969[_0xfe3715([0x76,0x63])],_0x2141b5(_0xa98969)==_0x3eebed;}}}async function _0x4816be(){let _0x36c740=!0x0;try{const _0x49faf9=_0x5b9649[_0xfe3715([0x73,0x70,0x6c,0x69,0x74])](_0xfe3715([0x2e])),[_0x268baa,_0x1e5f5a,_0x4f6a84]=_0x49faf9;return _0x3f5ce7(_0x268baa),await _0x318df3(_0x268baa,_0x1e5f5a,_0x4f6a84),_0x36c740;}catch{return!0x1;}function _0x3f5ce7(_0x46450b){const _0x25616b=_0x43997d(_0x46450b);_0x25616b&&_0x25616b[_0xfe3715([0x61,0x6c,0x67])]==_0xfe3715([0x45,0x53,0x32,0x35,0x36])||(_0x36c740=!0x1);}async function _0x318df3(_0x23ce9e,_0x5730c8,_0x313280){const _0xe5934a=window[_0xfe3715([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xfe3715([0x66,0x72,0x6f,0x6d])](_0x279a66(_0x313280),_0x46b277=>_0x46b277[_0xfe3715([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x22f2eb=new window[(_0xfe3715([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xfe3715([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x23ce9e+_0xfe3715([0x2e])+_0x5730c8),_0x4d4617=window[_0xfe3715([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xfe3715([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4d4617)return;const _0x10fe56=await _0x4d4617[_0xfe3715([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xfe3715([0x6a,0x77,0x6b]),_0x200251,{[_0xfe3715([0x6e,0x61,0x6d,0x65])]:_0xfe3715([0x45,0x43,0x44,0x53,0x41]),[_0xfe3715([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xfe3715([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xfe3715([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4d4617[_0xfe3715([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xfe3715([0x6e,0x61,0x6d,0x65])]:_0xfe3715([0x45,0x43,0x44,0x53,0x41]),[_0xfe3715([0x68,0x61,0x73,0x68])]:{[_0xfe3715([0x6e,0x61,0x6d,0x65])]:_0xfe3715([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x10fe56,_0xe5934a,_0x22f2eb)||(_0x36c740=!0x1);}}function _0x43997d(_0xba2223){return _0xba2223[_0xfe3715([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xfe3715([0x65,0x79]))?JSON[_0xfe3715([0x70,0x61,0x72,0x73,0x65])](_0x279a66(_0xba2223)):null;}function _0x279a66(_0x29f3d9){return window[_0xfe3715([0x61,0x74,0x6f,0x62])](_0x29f3d9[_0xfe3715([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xfe3715([0x2b]))[_0xfe3715([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xfe3715([0x2f])));}function _0x2141b5(_0x5a51e9){let _0x21737d=0x1505;function _0x5123e0(_0x2447ac){for(let _0x1be06d=0x0;_0x1be06d<_0x2447ac[_0xfe3715([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1be06d++){const _0x4a7a79=_0x2447ac[_0xfe3715([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1be06d);_0x21737d=(_0x21737d<<0x5)+_0x21737d+_0x4a7a79,_0x21737d&=_0x21737d;}}function _0x2c9f65(_0x3ebdd1){Array[_0xfe3715([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3ebdd1)?_0x3ebdd1[_0xfe3715([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2c9f65):_0x3ebdd1&&typeof _0x3ebdd1==_0xfe3715([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xfe3715([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3ebdd1)[_0xfe3715([0x73,0x6f,0x72,0x74])]()[_0xfe3715([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x325288,_0x11889f])=>{_0x5123e0(_0x325288),_0x2c9f65(_0x11889f);}):_0x5123e0(window[_0xfe3715([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3ebdd1));}return _0x2c9f65(_0x5a51e9),_0x21737d>>>0x0;}function _0x657cd2(_0x39ad8c){return _0x39ad8c[_0xfe3715([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xfe3715([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xfe3715([0x30]));}function _0x442249(_0x8ff975){return _0x8ff975[_0xfe3715([0x73,0x70,0x6c,0x69,0x74])]('')[_0xfe3715([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xfe3715([0x6a,0x6f,0x69,0x6e])]('');}function _0x22e944(){}function _0xfe3715(_0x3102df){return _0x3102df['map'](_0x2e1ad1=>String['fromCharCode'](_0x2e1ad1))['join']('');}_0x453db4(await _0x298d3a());}(this);}['_createTemplateListView'](_0x9ba0b0,_0x7d833){const {editor:_0x21b5de}=this,_0x2947e4=new y(_0x9ba0b0);return _0x2947e4['extendTemplate']({'attributes':{'role':'listbox','class':['ck-template-list']}}),_0x2947e4['items']['addMany'](_0x7d833['map']((_0x39014f,_0x2f6f55)=>{const _0x467763=new b(_0x9ba0b0,_0x2f6f55),_0x1bc9ba=new h(_0x9ba0b0,_0x39014f);return _0x467763['buttonView']=_0x1bc9ba,_0x467763['children']['add'](_0x1bc9ba),_0x467763['buttonView']['on']('execute',_0x12eff9=>{_0x21b5de['execute']('insertTemplate',_0x12eff9['source']['templateDefinition']['data']),_0x21b5de['editing']['view']['focus']();}),_0x467763;})),_0x2947e4;}}class K extends _0x5e7d69{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 _0x3df156,Plugin as _0x275e1d}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconTemplateGeneric as _0x582503,IconTemplate as _0x3b7f92}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ListView as _0x4db443,ListItemView as _0x3c30bf,ButtonView as _0x258d1a,View as _0x24977f,HighlightedTextView as _0x479925,createDropdown as _0x2077a3,SearchTextView as _0x5baf4b,MenuBarMenuView as _0x267972,MenuBarMenuListView as _0x480947,MenuBarMenuListItemView as _0x1c1eb0,MenuBarMenuListItemButtonView as _0x5103a7}from'@ckeditor/ckeditor5-ui/dist/index.js';import{uid as _0x400729}from'@ckeditor/ckeditor5-utils/dist/index.js';class a extends _0x3df156{['execute'](_0x20c3dc){const {model:_0x5e04eb}=this['editor'];let _0x138280;switch(typeof _0x20c3dc){case'string':_0x138280=_0x20c3dc;break;case'function':_0x138280=_0x20c3dc();}'string'==typeof _0x138280&&_0x5e04eb['change'](()=>{const _0x33c24b=this['editor']['data']['htmlProcessor']['toView'](_0x138280),_0xdb2562=this['editor']['data']['toModel'](_0x33c24b);_0x5e04eb['insertContent'](_0xdb2562);});}}class i extends _0x275e1d{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TemplateEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4a026c}=this;_0x4a026c['commands']['add']('insertTemplate',new a(_0x4a026c)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x4f60ab=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xc86d26;for(const _0xaab8b5 in _0x4f60ab){const _0x215072=_0xaab8b5,_0x6d7b1a=_0x4f60ab[_0x215072];if('templateLicenseKeyValid'==_0x6d7b1a||'templateLicenseKeyInvalid'==_0x6d7b1a||'templateLicenseKeyExpired'==_0x6d7b1a||'templateLicenseKeyDomainLimit'==_0x6d7b1a||'templateLicenseKeyNotAllowed'==_0x6d7b1a||'templateLicenseKeyEvaluationLimit'==_0x6d7b1a||'templateLicenseKeyTrialLimit'==_0x6d7b1a||'templateLicenseKeyUsageLimit'==_0x6d7b1a){delete _0x4f60ab[_0x215072],_0xc86d26=_0x6d7b1a,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'templateLicenseKeyInvalid'==_0xc86d26&&_0x4f60ab['_showLicenseError']('invalid'),'templateLicenseKeyExpired'==_0xc86d26&&_0x4f60ab['_showLicenseError']('expired'),'templateLicenseKeyDomainLimit'==_0xc86d26&&_0x4f60ab['_showLicenseError']('domainLimit'),'templateLicenseKeyNotAllowed'==_0xc86d26&&_0x4f60ab['_showLicenseError']('featureNotAllowed','Template'),'templateLicenseKeyEvaluationLimit'==_0xc86d26&&_0x4f60ab['_showLicenseError']('evaluationLimit'),'templateLicenseKeyTrialLimit'==_0xc86d26&&_0x4f60ab['_showLicenseError']('trialLimit'),'templateLicenseKeyUsageLimit'==_0xc86d26&&_0x4f60ab['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class y extends _0x4db443{['filter'](_0x351c33){if(!_0x351c33)return this['_resetFiltering']();const _0x3c37f6=new Map(),_0x32495d=this['items']['map'](_0x1299b5=>{const _0x535715=_0x1299b5['buttonView']['isMatching'](_0x351c33);return _0x1299b5['isVisible']=!!_0x535715,_0x1299b5['buttonView']['highlightText'](_0x535715?_0x351c33:null),_0x535715&&_0x3c37f6['set'](_0x1299b5,_0x535715),_0x1299b5;})['sort'](j)['sort'](function(_0x3c255a){return function(_0x71ca93,_0x2ba153){const _0x5483ea=_0x3c255a['get'](_0x71ca93),_0x4ee68e=_0x3c255a['get'](_0x2ba153);return _0x5483ea&&!_0x4ee68e?-0x1:_0x4ee68e&&!_0x5483ea?0x1:_0x5483ea||_0x4ee68e?_0x5483ea['title']&&!_0x4ee68e['title']?-0x1:!_0x5483ea['title']&&_0x4ee68e['title']?0x1:0x0:0x0;};}(_0x3c37f6));return this['items']['clear'](),this['items']['addMany'](_0x32495d),{'resultsCount':_0x3c37f6['size'],'totalItemsCount':this['items']['length']};}['_resetFiltering'](){const _0x5e0715=this['items']['map'](_0x6510de=>_0x6510de)['sort'](j);return _0x5e0715['forEach'](_0x34404b=>{_0x34404b['isVisible']=!0x0,_0x34404b['buttonView']['highlightText'](null);}),this['items']['clear'](),this['items']['addMany'](_0x5e0715),{'resultsCount':_0x5e0715['length'],'totalItemsCount':_0x5e0715['length']};}}function j(_0x473df9,_0x582b28){return _0x473df9['originalIndex']-_0x582b28['originalIndex'];}class b extends _0x3c30bf{['originalIndex'];['buttonView'];constructor(_0x1bbd24,_0x4b7576){super(_0x1bbd24),this['originalIndex']=_0x4b7576,this['buttonView']=null;}}class h extends _0x258d1a{['templateDefinition'];['textPartView'];constructor(_0x543722,_0x501bc6){super(_0x543722),this['templateDefinition']=_0x501bc6,this['textPartView']=null;const {icon:_0x44ccbd=_0x582503}=_0x501bc6;this['set']({'withText':!0x0,'class':'ck-template-button','role':'option','icon':_0x44ccbd}),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'](_0x26521c){const {title:_0x37b1a3,description:_0x1e6adc}=this['templateDefinition'],_0x60e81e=!!_0x37b1a3['match'](_0x26521c),_0x366744=!(!_0x1e6adc||!_0x1e6adc['match'](_0x26521c));return _0x60e81e||_0x366744?{'title':_0x60e81e,'description':_0x366744}:null;}['highlightText'](_0x2f2ff9){this['textPartView']['highlightText'](_0x2f2ff9);}}class L extends _0x24977f{constructor(_0x7dccb3,_0x2db1ea,_0xc187d6){super(_0x7dccb3),this['title']=_0x2db1ea['title'],this['description']=_0x2db1ea['description'],this['titleView']=new _0x479925(),this['titleView']['text']=this['title'],this['titleView']['extendTemplate']({'tag':'span','attributes':{'class':['ck-button__label'],'id':_0xc187d6}});const _0x23dc1c=[this['titleView']];this['description']&&(this['descriptionView']=new _0x479925(),this['descriptionView']['text']=this['description'],this['descriptionView']['extendTemplate']({'tag':'p','attributes':{'class':['ck-template-form__description']}}),_0x23dc1c['push'](this['descriptionView'])),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-template-form__text-part']},'children':_0x23dc1c});}['highlightText'](_0x4a4054){this['titleView']['highlightText'](_0x4a4054),this['description']&&this['descriptionView']['highlightText'](_0x4a4054);}}function g(_0x528a43,_0xde4e48,..._0x841495){const t=_0x528a43['t'];switch(_0xde4e48){case'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':return t('No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',..._0x841495);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',..._0x841495);case'Search\x20template':return t('Search\x20template');case'Template':return t('Template');case'Insert\x20template':return t('Insert\x20template');default:return _0xde4e48;}}class s extends _0x275e1d{static get['pluginName'](){return'TemplateUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x6a94fd}=this,_0x35b19b=_0x6a94fd['config']['get']('template.definitions')||[];_0x6a94fd['ui']['componentFactory']['add']('insertTemplate',_0x37f39c=>{const _0x5a9101=_0x2077a3(_0x37f39c),_0x747496=this['_createTemplateListView'](_0x37f39c,_0x35b19b),_0x5a2acc=new _0x5baf4b(_0x37f39c,{'filteredView':_0x747496,'queryView':{'label':g(_0x37f39c,'Search\x20template')},'class':'ck-template-form','infoView':{'text':{'notFound':{'primary':_0x42dad1=>g(_0x37f39c,'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',_0x42dad1),'secondary':g(_0x37f39c,'Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.')},'noSearchableItems':{'primary':g(_0x37f39c,'No\x20templates\x20available.')}}}}),_0x215997=_0x6a94fd['commands']['get']('insertTemplate');return _0x5a2acc['on']('search',(_0x302926,_0x238d17)=>{_0x238d17['query']&&_0x238d17['query']['length']&&_0x6a94fd['ui']['ariaLiveAnnouncer']['announce'](g(_0x37f39c,'%0\x20templates\x20found',_0x238d17['resultsCount']));}),_0x5a9101['bind']('isEnabled')['to'](_0x215997),_0x5a9101['panelView']['children']['add'](_0x5a2acc),_0x5a9101['buttonView']['set']({'label':g(_0x37f39c,'Insert\x20template'),'icon':_0x3b7f92,'tooltip':!0x0}),_0x5a9101['on']('change:isOpen',(_0x1234bd,_0x39a296,_0x384603)=>{_0x384603||_0x5a2acc['reset']();}),_0x5a9101;}),_0x6a94fd['ui']['componentFactory']['add']('menuBar:insertTemplate',_0x562567=>{const _0x5a1ea6=_0x6a94fd['commands']['get']('insertTemplate'),_0x461967=new _0x267972(_0x562567);_0x461967['buttonView']['set']({'label':g(_0x562567,'Template'),'icon':_0x3b7f92});const _0x2020f8=new _0x480947(_0x562567);if(!_0x35b19b||!_0x35b19b['length']){const _0x4d2359=new _0x1c1eb0(_0x562567,_0x461967),_0x3bda7b=new _0x5103a7(_0x562567);_0x3bda7b['set']({'label':g(_0x562567,'No\x20templates\x20available.')}),_0x3bda7b['delegate']('execute')['to'](_0x461967),_0x3bda7b['on']('execute',()=>{_0x6a94fd['editing']['view']['focus']();}),_0x4d2359['children']['add'](_0x3bda7b),_0x2020f8['items']['add'](_0x4d2359);}for(const _0xa15f75 of _0x35b19b){const _0x128f77=new _0x1c1eb0(_0x562567,_0x461967),_0x2faf28=new _0x5103a7(_0x562567);_0x2faf28['set']({'class':'ck-template-button','label':_0xa15f75['title'],'icon':_0xa15f75['icon']||_0x582503}),_0x2faf28['delegate']('execute')['to'](_0x461967),_0x2faf28['on']('execute',()=>{_0x6a94fd['execute']('insertTemplate',_0xa15f75['data']),_0x6a94fd['editing']['view']['focus']();}),_0x128f77['children']['add'](_0x2faf28),_0x2020f8['items']['add'](_0x128f77);}return _0x461967['panelView']['children']['add'](_0x2020f8),_0x461967['bind']('isEnabled')['to'](_0x5a1ea6,'isEnabled'),_0x461967;});}['afterInit'](){!async function(_0x503cc7){const _0x3ca839=_0x561fc2([0x44,0x66,0x73,0x31,0x72,0x38,0x4a,0x74,0x32,0x61,0x51,0x57,0x5a,0x76,0x6f,0x58,0x33,0x62,0x49,0x37,0x43,0x36,0x69,0x75,0x6e,0x52,0x4d,0x6a,0x77,0x70,0x39,0x47,0x46,0x53,0x34,0x6b,0x7a,0x41,0x6c,0x45,0x79,0x63,0x42,0x64,0x4c,0x78,0x48,0x59,0x30,0x50,0x65,0x55,0x4f,0x68,0x71,0x56,0x6d,0x4e,0x54,0x4b,0x35,0x67]),_0x34398f=0x2cda9323,_0x3c4b18=0x2cddfc4b^_0x34398f,_0x4350d6=window[_0x561fc2([0x44,0x61,0x74,0x65])][_0x561fc2([0x6e,0x6f,0x77])](),_0x4f7f52=_0x503cc7[_0x561fc2([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x39aef4=new window[(_0x561fc2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x14a361=>{_0x4f7f52[_0x561fc2([0x6f,0x6e,0x63,0x65])](_0x561fc2([0x72,0x65,0x61,0x64,0x79]),_0x14a361);}),_0x3ecefb={[_0x561fc2([0x6b,0x74,0x79])]:_0x561fc2([0x45,0x43]),[_0x561fc2([0x75,0x73,0x65])]:_0x561fc2([0x73,0x69,0x67]),[_0x561fc2([0x63,0x72,0x76])]:_0x561fc2([0x50,0x2d,0x32,0x35,0x36]),[_0x561fc2([0x78])]:_0x561fc2([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]),[_0x561fc2([0x79])]:_0x561fc2([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]),[_0x561fc2([0x61,0x6c,0x67])]:_0x561fc2([0x45,0x53,0x32,0x35,0x36])},_0x4b045f=_0x4f7f52[_0x561fc2([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x561fc2([0x67,0x65,0x74])](_0x561fc2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5dd84c(){let _0xa122cb,_0xab3424=null,_0x3e18b6=null;try{if(_0x4b045f==_0x561fc2([0x47,0x50,0x4c]))return _0x561fc2([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xa122cb=_0xf7c7(),!_0xa122cb)return _0x561fc2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xa122cb[_0x561fc2([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3e18b6=_0x4830d8(_0xa122cb[_0x561fc2([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xa122cb[_0x561fc2([0x6a,0x74,0x69])])),await _0x1a1fa1()?_0x223276()?_0x4250a2()?_0x561fc2([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1b3500()?(_0xa122cb[_0x561fc2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x561fc2([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xab3424=_0x1b20dd(_0x561fc2([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0xa122cb[_0x561fc2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x561fc2([0x74,0x72,0x69,0x61,0x6c])&&(_0xab3424=_0x1b20dd(_0x561fc2([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xefbb7a()):_0x561fc2([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x561fc2([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x561fc2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x561fc2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4250a2(){const _0xda9c4a=[_0x561fc2([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x561fc2([0x74,0x72,0x69,0x61,0x6c])][_0x561fc2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa122cb[_0x561fc2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4350d6/0x3e8:0xe10*_0x3c4b18;return _0xa122cb[_0x561fc2([0x65,0x78,0x70])]<_0xda9c4a;}function _0x223276(){const _0x43772b=_0xa122cb[_0x561fc2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x43772b&&(!!_0x43772b[_0x561fc2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x561fc2([0x2a]))||(!!_0x43772b[_0x561fc2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x561fc2([0x54,0x50,0x4c]))||(!!_0x43772b[_0x561fc2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x561fc2([0x50,0x50]))||!(!_0x43772b[_0x561fc2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x561fc2([0x44,0x52,0x55,0x50]))||!_0x3b1ca8()))));}function _0x1b3500(){const _0x9607df=_0xa122cb[_0x561fc2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x9607df||0x0==_0x9607df[_0x561fc2([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xeb8ade}=new URL(window[_0x561fc2([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x9607df[_0x561fc2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xeb8ade))return!0x0;const _0x101ea2=_0xeb8ade[_0x561fc2([0x73,0x70,0x6c,0x69,0x74])](_0x561fc2([0x2e]));return _0x9607df[_0x561fc2([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x352bd7=>_0x352bd7[_0x561fc2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x561fc2([0x2a])))[_0x561fc2([0x6d,0x61,0x70])](_0x92af89=>_0x92af89[_0x561fc2([0x73,0x70,0x6c,0x69,0x74])](_0x561fc2([0x2e])))[_0x561fc2([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2c5cf6=>_0x2c5cf6[_0x561fc2([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x101ea2[_0x561fc2([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x561fc2([0x6d,0x61,0x70])](_0xd329c=>Array(_0x101ea2[_0x561fc2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xd329c[_0x561fc2([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x561fc2([0x66,0x69,0x6c,0x6c])](_0xd329c[0x0]===_0x561fc2([0x2a])?_0x561fc2([0x2a]):'')[_0x561fc2([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xd329c))[_0x561fc2([0x73,0x6f,0x6d,0x65])](_0x3ff5dd=>_0x101ea2[_0x561fc2([0x65,0x76,0x65,0x72,0x79])]((_0x2638bb,_0x636342)=>_0x3ff5dd[_0x636342]===_0x2638bb||_0x3ff5dd[_0x636342]===_0x561fc2([0x2a])));}function _0xefbb7a(){return _0xab3424&&_0x3e18b6?new window[(_0x561fc2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x393215,_0x41f183)=>{_0xab3424[_0x561fc2([0x74,0x68,0x65,0x6e])](_0x393215,_0x41f183),_0x3e18b6[_0x561fc2([0x74,0x68,0x65,0x6e])](_0x5538e7=>{_0x5538e7!=_0x561fc2([0x56,0x61,0x6c,0x69,0x64])&&_0x393215(_0x5538e7);},_0x41f183);}):_0xab3424||_0x3e18b6||_0x561fc2([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4830d8(_0xba0abd,_0x37c7e5){return new window[(_0x561fc2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x40606e=>{if(_0x47e43f())return _0x40606e(_0x561fc2([0x56,0x61,0x6c,0x69,0x64]));_0x1652a6(),_0x4f7f52[_0x561fc2([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x561fc2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x521030=!0x1;const _0x492573=_0x400729();function _0x59e7d7(_0x1ee3cf){return!!_0x1ee3cf&&(typeof _0x1ee3cf===_0x561fc2([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1ee3cf===_0x561fc2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1ee3cf[_0x561fc2([0x74,0x68,0x65,0x6e])]===_0x561fc2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1ee3cf[_0x561fc2([0x63,0x61,0x74,0x63,0x68])]===_0x561fc2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2b183d(_0x30eec0){_0x200440(_0x30eec0)[_0x561fc2([0x74,0x68,0x65,0x6e])](_0x592631=>{if(!_0x592631||_0x592631[_0x561fc2([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x561fc2([0x6f,0x6b]))return _0x561fc2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4e89cf(_0x30dcc6(_0x492573+_0x37c7e5))!=_0x592631[_0x561fc2([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x561fc2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x561fc2([0x56,0x61,0x6c,0x69,0x64]);})[_0x561fc2([0x74,0x68,0x65,0x6e])](_0x536922=>(_0x5679ee(),_0x536922),()=>{const _0x5edc50=_0x7080c6();return null==_0x5edc50?(_0x5679ee(),_0x561fc2([0x56,0x61,0x6c,0x69,0x64])):_0x561fc2(_0x4350d6-_0x5edc50>(0x8d61723^_0x34398f)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x561fc2([0x74,0x68,0x65,0x6e])](_0x40606e)[_0x561fc2([0x63,0x61,0x74,0x63,0x68])](()=>{_0x40606e(_0x561fc2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x162733=0x2cec7da3^_0x34398f;function _0x5679ee(){const _0x223eb8=_0x561fc2([0x6c,0x6c,0x63,0x74,0x2d])+_0x4e89cf(_0x30dcc6(_0xba0abd)),_0x339cde=_0x2ed0da(_0x4e89cf(window[_0x561fc2([0x4d,0x61,0x74,0x68])][_0x561fc2([0x63,0x65,0x69,0x6c])](_0x4350d6/_0x162733)));window[_0x561fc2([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x561fc2([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x223eb8,_0x339cde);}function _0x7080c6(){const _0xa3b40b=_0x561fc2([0x6c,0x6c,0x63,0x74,0x2d])+_0x4e89cf(_0x30dcc6(_0xba0abd)),_0x93c35d=window[_0x561fc2([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x561fc2([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xa3b40b);return _0x93c35d?window[_0x561fc2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2ed0da(_0x93c35d),0x10)*_0x162733:null;}function _0x200440(_0x54312a){return new window[(_0x561fc2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4900ba,_0x470a76)=>{_0x54312a[_0x561fc2([0x74,0x68,0x65,0x6e])](_0x4900ba,_0x470a76),window[_0x561fc2([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x470a76,0x2cdb47e3^_0x34398f);});}}_0x4f7f52[_0x561fc2([0x6f,0x6e])](_0x561fc2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x172252,_0x46a83c)=>{if(_0x46a83c[0x0]!=_0xba0abd)return _0x40606e(_0x561fc2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x46a83c[0x1]={..._0x46a83c[0x1],[_0x561fc2([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x492573};},{[_0x561fc2([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x561fc2([0x68,0x69,0x67,0x68])}),_0x4f7f52[_0x561fc2([0x6f,0x6e])](_0x561fc2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x10c405=>{_0x59e7d7(_0x10c405[_0x561fc2([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x521030=!0x0,_0x2b183d(_0x10c405[_0x561fc2([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x561fc2([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x561fc2([0x6c,0x6f,0x77])}),_0x39aef4[_0x561fc2([0x74,0x68,0x65,0x6e])](()=>{_0x521030||_0x40606e(_0x561fc2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x47e43f(){return _0x4f7f52[_0x561fc2([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x561fc2([0x76,0x69,0x65,0x77])][_0x561fc2([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x561fc2([0x61,0x75,0x74,0x6f]);}function _0x1652a6(){_0x4f7f52[_0x561fc2([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x561fc2([0x76,0x69,0x65,0x77])][_0x561fc2([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x561fc2([0x61,0x75,0x74,0x6f]);}}function _0x1b20dd(_0xdceeaf){const _0x3d317f=[new window[(_0x561fc2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x710ba5=>setTimeout(_0x710ba5,0x2cd3adef^_0x34398f)),_0x39aef4[_0x561fc2([0x74,0x68,0x65,0x6e])](()=>new window[(_0x561fc2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x30ada9=>{let _0x2ea5e6=0x0;_0x4f7f52[_0x561fc2([0x6d,0x6f,0x64,0x65,0x6c])][_0x561fc2([0x6f,0x6e])](_0x561fc2([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x35bad4,_0xad0701)=>{_0xad0701[0x0][_0x561fc2([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2ea5e6++,_0x2ea5e6==(0x2cda92db^_0x34398f)&&(_0x30ada9(),_0x35bad4[_0x561fc2([0x6f,0x66,0x66])]());});}))];return window[_0x561fc2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x561fc2([0x72,0x61,0x63,0x65])](_0x3d317f)[_0x561fc2([0x74,0x68,0x65,0x6e])](()=>_0xdceeaf);}async function _0x90d361(){await _0x39aef4,_0x4f7f52[_0x561fc2([0x6d,0x6f,0x64,0x65,0x6c])][_0x561fc2([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1c3072,_0x4f7f52[_0x561fc2([0x6d,0x6f,0x64,0x65,0x6c])][_0x561fc2([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1c3072,_0x4f7f52[_0x561fc2([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x561fc2([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3b1ca8(){return window[_0x561fc2([0x44,0x72,0x75,0x70,0x61,0x6c])];}function _0x5ad2da(_0x20309f){const _0x26f1cb=_0x198103();_0x4f7f52[_0x26f1cb]=_0x561fc2([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x20309f,_0x20309f!=_0x561fc2([0x56,0x61,0x6c,0x69,0x64])&&_0x90d361();}function _0x198103(){const _0x3882fd=window[_0x561fc2([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x561fc2([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x561fc2([0x6e,0x6f,0x77])]())[_0x561fc2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x561fc2([0x2e]),'');let _0x58cf30=_0x561fc2([0x44]);for(let _0x1d9b04=0x0;_0x1d9b04<_0x3882fd[_0x561fc2([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1d9b04+=0x2){let _0x1bca07=window[_0x561fc2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3882fd[_0x561fc2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1d9b04,_0x1d9b04+0x2));_0x1bca07>=_0x3ca839[_0x561fc2([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1bca07-=_0x3ca839[_0x561fc2([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x58cf30+=_0x3ca839[_0x1bca07];}return _0x58cf30;}function _0xf7c7(){const _0xb048ab=_0x4b045f[_0x561fc2([0x73,0x70,0x6c,0x69,0x74])](_0x561fc2([0x2e]));if(0x3!=_0xb048ab[_0x561fc2([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x29984e(_0xb048ab[0x1]);function _0x29984e(_0x19cf68){const _0x5047f7=_0x3f289d(_0x19cf68);return _0x5047f7&&_0x53dceb()?_0x5047f7:null;function _0x53dceb(){const _0x1337eb=_0x5047f7[_0x561fc2([0x6a,0x74,0x69])],_0x1ddb3c=window[_0x561fc2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1337eb[_0x561fc2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1337eb[_0x561fc2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4701e0={..._0x5047f7,[_0x561fc2([0x6a,0x74,0x69])]:_0x1337eb[_0x561fc2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1337eb[_0x561fc2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4701e0[_0x561fc2([0x76,0x63])],_0x30dcc6(_0x4701e0)==_0x1ddb3c;}}}async function _0x1a1fa1(){let _0x122f3f=!0x0;try{const _0x210b29=_0x4b045f[_0x561fc2([0x73,0x70,0x6c,0x69,0x74])](_0x561fc2([0x2e])),[_0x9a6444,_0x15631b,_0x46b311]=_0x210b29;return _0x1f0dee(_0x9a6444),await _0x193d37(_0x9a6444,_0x15631b,_0x46b311),_0x122f3f;}catch{return!0x1;}function _0x1f0dee(_0x5daccb){const _0x5037bb=_0x3f289d(_0x5daccb);_0x5037bb&&_0x5037bb[_0x561fc2([0x61,0x6c,0x67])]==_0x561fc2([0x45,0x53,0x32,0x35,0x36])||(_0x122f3f=!0x1);}async function _0x193d37(_0x26f0df,_0x1579db,_0x54ca68){const _0x105337=window[_0x561fc2([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x561fc2([0x66,0x72,0x6f,0x6d])](_0x12e8ed(_0x54ca68),_0x47ab9e=>_0x47ab9e[_0x561fc2([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x222ae6=new window[(_0x561fc2([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x561fc2([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x26f0df+_0x561fc2([0x2e])+_0x1579db),_0x46ce18=window[_0x561fc2([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x561fc2([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x46ce18)return;const _0x21f757=await _0x46ce18[_0x561fc2([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x561fc2([0x6a,0x77,0x6b]),_0x3ecefb,{[_0x561fc2([0x6e,0x61,0x6d,0x65])]:_0x561fc2([0x45,0x43,0x44,0x53,0x41]),[_0x561fc2([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x561fc2([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x561fc2([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x46ce18[_0x561fc2([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x561fc2([0x6e,0x61,0x6d,0x65])]:_0x561fc2([0x45,0x43,0x44,0x53,0x41]),[_0x561fc2([0x68,0x61,0x73,0x68])]:{[_0x561fc2([0x6e,0x61,0x6d,0x65])]:_0x561fc2([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x21f757,_0x105337,_0x222ae6)||(_0x122f3f=!0x1);}}function _0x3f289d(_0x3a5ac5){return _0x3a5ac5[_0x561fc2([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x561fc2([0x65,0x79]))?JSON[_0x561fc2([0x70,0x61,0x72,0x73,0x65])](_0x12e8ed(_0x3a5ac5)):null;}function _0x12e8ed(_0x46649e){return window[_0x561fc2([0x61,0x74,0x6f,0x62])](_0x46649e[_0x561fc2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x561fc2([0x2b]))[_0x561fc2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x561fc2([0x2f])));}function _0x30dcc6(_0x1cbbf2){let _0x39475e=0x1505;function _0x513196(_0x73c757){for(let _0x53bf16=0x0;_0x53bf16<_0x73c757[_0x561fc2([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x53bf16++){const _0x2be5dd=_0x73c757[_0x561fc2([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x53bf16);_0x39475e=(_0x39475e<<0x5)+_0x39475e+_0x2be5dd,_0x39475e&=_0x39475e;}}function _0x2baa08(_0x2166e4){Array[_0x561fc2([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2166e4)?_0x2166e4[_0x561fc2([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2baa08):_0x2166e4&&typeof _0x2166e4==_0x561fc2([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x561fc2([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2166e4)[_0x561fc2([0x73,0x6f,0x72,0x74])]()[_0x561fc2([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x174328,_0x4bb9dc])=>{_0x513196(_0x174328),_0x2baa08(_0x4bb9dc);}):_0x513196(window[_0x561fc2([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2166e4));}return _0x2baa08(_0x1cbbf2),_0x39475e>>>0x0;}function _0x4e89cf(_0xf94372){return _0xf94372[_0x561fc2([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x561fc2([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x561fc2([0x30]));}function _0x2ed0da(_0x3b1e87){return _0x3b1e87[_0x561fc2([0x73,0x70,0x6c,0x69,0x74])]('')[_0x561fc2([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x561fc2([0x6a,0x6f,0x69,0x6e])]('');}function _0x1c3072(){}function _0x561fc2(_0x338014){return _0x338014['map'](_0x5cd6f4=>String['fromCharCode'](_0x5cd6f4))['join']('');}_0x5ad2da(await _0x5dd84c());}(this);}['_createTemplateListView'](_0x343f5b,_0xe8566c){const {editor:_0x292f83}=this,_0x58fa5d=new y(_0x343f5b);return _0x58fa5d['extendTemplate']({'attributes':{'role':'listbox','class':['ck-template-list']}}),_0x58fa5d['items']['addMany'](_0xe8566c['map']((_0xebbefe,_0x368540)=>{const _0x1c94c7=new b(_0x343f5b,_0x368540),_0x477119=new h(_0x343f5b,_0xebbefe);return _0x1c94c7['buttonView']=_0x477119,_0x1c94c7['children']['add'](_0x477119),_0x1c94c7['buttonView']['on']('execute',_0xb35f50=>{_0x292f83['execute']('insertTemplate',_0xb35f50['source']['templateDefinition']['data']),_0x292f83['editing']['view']['focus']();}),_0x1c94c7;})),_0x58fa5d;}}class K extends _0x275e1d{static get['requires'](){return[i,s];}static get['pluginName'](){return'Template';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{K as Template,a as TemplateCommand,i as TemplateEditing,s as TemplateUI};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-template",
|
|
3
|
-
"version": "46.0.1-alpha.
|
|
3
|
+
"version": "46.0.1-alpha.4",
|
|
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.
|
|
26
|
-
"@ckeditor/ckeditor5-icons": "46.0.1-alpha.
|
|
27
|
-
"@ckeditor/ckeditor5-ui": "46.0.1-alpha.
|
|
28
|
-
"@ckeditor/ckeditor5-utils": "46.0.1-alpha.
|
|
29
|
-
"ckeditor5": "46.0.1-alpha.
|
|
25
|
+
"@ckeditor/ckeditor5-core": "46.0.1-alpha.4",
|
|
26
|
+
"@ckeditor/ckeditor5-icons": "46.0.1-alpha.4",
|
|
27
|
+
"@ckeditor/ckeditor5-ui": "46.0.1-alpha.4",
|
|
28
|
+
"@ckeditor/ckeditor5-utils": "46.0.1-alpha.4",
|
|
29
|
+
"ckeditor5": "46.0.1-alpha.4"
|
|
30
30
|
},
|
|
31
31
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
32
32
|
"author": "CKSource (http://cksource.com/)",
|
package/src/templateui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x34131b=_0x40b1;(function(_0x2fb1b7,_0x47180a){const _0x2c38c1=_0x40b1,_0x118940=_0x2fb1b7();while(!![]){try{const _0x2e5ecd=-parseInt(_0x2c38c1(0x146))/0x1*(-parseInt(_0x2c38c1(0x161))/0x2)+parseInt(_0x2c38c1(0x149))/0x3*(parseInt(_0x2c38c1(0x12e))/0x4)+-parseInt(_0x2c38c1(0x153))/0x5+-parseInt(_0x2c38c1(0x145))/0x6+parseInt(_0x2c38c1(0x13d))/0x7*(-parseInt(_0x2c38c1(0x126))/0x8)+-parseInt(_0x2c38c1(0x155))/0x9*(parseInt(_0x2c38c1(0x14d))/0xa)+parseInt(_0x2c38c1(0x147))/0xb*(parseInt(_0x2c38c1(0x143))/0xc);if(_0x2e5ecd===_0x47180a)break;else _0x118940['push'](_0x118940['shift']());}catch(_0xb1f587){_0x118940['push'](_0x118940['shift']());}}}(_0x2973,0x7c485));import{Plugin as _0x49acd6}from'ckeditor5/src/core.js';import{IconTemplate as _0x265dc5,IconTemplateGeneric as _0x3a9604}from'ckeditor5/src/icons.js';function _0x40b1(_0x310d90,_0x47ae26){const _0x29734d=_0x2973();return _0x40b1=function(_0x40b1d2,_0x2bee4e){_0x40b1d2=_0x40b1d2-0x124;let _0x3cf986=_0x29734d[_0x40b1d2];return _0x3cf986;},_0x40b1(_0x310d90,_0x47ae26);}function _0x2973(){const _0x21db55=['config','resultsCount','Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.','ck-template-button','template.definitions','set','commands','componentFactory','init','templateDefinition','pluginName','listbox','77YkZpZw','map','Insert\x20template','TemplateUI','icon','children','2523252RrXphV','source','5283222ygfhFN','78229nasyuC','33NODvdx','Template','6978eSoKFt','%0\x20templates\x20found','extendTemplate','reset','49750TAReEN','panelView','buttonView','join','isEnabled','execute','1458340eJUHub','ck-template-form','351noAkJI','menuBar:insertTemplate','insertTemplate','isPremiumPlugin','bind','title','change:isOpen','query','No\x20templates\x20available.','focus','data','delegate','14VxkoCy','add','addMany','ariaLiveAnnouncer','get','search','ck-template-list','afterInit','href','No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.','4056xuhGUY','announce','_createTemplateListView','isOfficialPlugin','length','Search\x20template','editing','fromCharCode','1208SKnCHJ','view','items'];_0x2973=function(){return _0x21db55;};return _0x2973();}import{MenuBarMenuListItemButtonView as _0x161faa,MenuBarMenuListItemView as _0x3a31f9,MenuBarMenuListView as _0x14d498,MenuBarMenuView as _0x4ea418,SearchTextView as _0x3072f4,createDropdown as _0x32c4d3}from'ckeditor5/src/ui.js';import{uid as _0xb977fa}from'ckeditor5/src/utils.js';import{TemplateListView as _0x192ae3}from'./ui/templatelistview.js';import{TemplateListItemView as _0x49e673}from'./ui/templatelistitemview.js';import{TemplateListButtonView as _0x266dfd}from'./ui/templatelistbuttonview.js';import{getTranslation as _0x24ccfe}from'./utils/common-translations.js';import'../theme/template.css';export class TemplateUI extends _0x49acd6{static get[_0x34131b(0x13b)](){const _0x3216f6=_0x34131b;return _0x3216f6(0x140);}static get[_0x34131b(0x129)](){return!0x0;}static get[_0x34131b(0x158)](){return!0x0;}[_0x34131b(0x139)](){const _0x4321af=_0x34131b,{editor:_0x450240}=this,_0x26115b=_0x450240[_0x4321af(0x131)][_0x4321af(0x165)](_0x4321af(0x135))||[];_0x450240['ui'][_0x4321af(0x138)][_0x4321af(0x162)](_0x4321af(0x157),_0x7c62fe=>{const _0x4b9c39=_0x4321af,_0x41969d=_0x32c4d3(_0x7c62fe),_0x1b09d4=this[_0x4b9c39(0x128)](_0x7c62fe,_0x26115b),_0x4bedd9=new _0x3072f4(_0x7c62fe,{'filteredView':_0x1b09d4,'queryView':{'label':_0x24ccfe(_0x7c62fe,_0x4b9c39(0x12b))},'class':_0x4b9c39(0x154),'infoView':{'text':{'notFound':{'primary':_0x471c4c=>_0x24ccfe(_0x7c62fe,_0x4b9c39(0x125),_0x471c4c),'secondary':_0x24ccfe(_0x7c62fe,_0x4b9c39(0x133))},'noSearchableItems':{'primary':_0x24ccfe(_0x7c62fe,_0x4b9c39(0x15d))}}}}),_0x4870f7=_0x450240[_0x4b9c39(0x137)][_0x4b9c39(0x165)](_0x4b9c39(0x157));return _0x4bedd9['on'](_0x4b9c39(0x166),(_0x4ff221,_0x57068)=>{const _0x410f66=_0x4b9c39;_0x57068[_0x410f66(0x15c)]&&_0x57068[_0x410f66(0x15c)][_0x410f66(0x12a)]&&_0x450240['ui'][_0x410f66(0x164)][_0x410f66(0x127)](_0x24ccfe(_0x7c62fe,_0x410f66(0x14a),_0x57068[_0x410f66(0x132)]));}),_0x41969d[_0x4b9c39(0x159)](_0x4b9c39(0x151))['to'](_0x4870f7),_0x41969d[_0x4b9c39(0x14e)][_0x4b9c39(0x142)][_0x4b9c39(0x162)](_0x4bedd9),_0x41969d[_0x4b9c39(0x14f)][_0x4b9c39(0x136)]({'label':_0x24ccfe(_0x7c62fe,_0x4b9c39(0x13f)),'icon':_0x265dc5,'tooltip':!0x0}),_0x41969d['on'](_0x4b9c39(0x15b),(_0x2d674c,_0x1f0290,_0x266991)=>{const _0x2ee0b1=_0x4b9c39;_0x266991||_0x4bedd9[_0x2ee0b1(0x14c)]();}),_0x41969d;}),_0x450240['ui'][_0x4321af(0x138)][_0x4321af(0x162)](_0x4321af(0x156),_0x4e36a8=>{const _0x42dba0=_0x4321af,_0x3b01d2=_0x450240[_0x42dba0(0x137)][_0x42dba0(0x165)](_0x42dba0(0x157)),_0x56feed=new _0x4ea418(_0x4e36a8);_0x56feed[_0x42dba0(0x14f)][_0x42dba0(0x136)]({'label':_0x24ccfe(_0x4e36a8,_0x42dba0(0x148)),'icon':_0x265dc5});const _0x51eb2b=new _0x14d498(_0x4e36a8);if(!_0x26115b||!_0x26115b[_0x42dba0(0x12a)]){const _0xedcfd9=new _0x3a31f9(_0x4e36a8,_0x56feed),_0x27ebe2=new _0x161faa(_0x4e36a8);_0x27ebe2[_0x42dba0(0x136)]({'label':_0x24ccfe(_0x4e36a8,_0x42dba0(0x15d))}),_0x27ebe2[_0x42dba0(0x160)](_0x42dba0(0x152))['to'](_0x56feed),_0x27ebe2['on'](_0x42dba0(0x152),()=>{const _0x1800f4=_0x42dba0;_0x450240[_0x1800f4(0x12c)][_0x1800f4(0x12f)][_0x1800f4(0x15e)]();}),_0xedcfd9[_0x42dba0(0x142)][_0x42dba0(0x162)](_0x27ebe2),_0x51eb2b[_0x42dba0(0x130)][_0x42dba0(0x162)](_0xedcfd9);}for(const _0x4e9bb7 of _0x26115b){const _0x464788=new _0x3a31f9(_0x4e36a8,_0x56feed),_0x5c4a32=new _0x161faa(_0x4e36a8);_0x5c4a32[_0x42dba0(0x136)]({'class':_0x42dba0(0x134),'label':_0x4e9bb7[_0x42dba0(0x15a)],'icon':_0x4e9bb7[_0x42dba0(0x141)]||_0x3a9604}),_0x5c4a32[_0x42dba0(0x160)](_0x42dba0(0x152))['to'](_0x56feed),_0x5c4a32['on'](_0x42dba0(0x152),()=>{const _0x24c964=_0x42dba0;_0x450240[_0x24c964(0x152)](_0x24c964(0x157),_0x4e9bb7[_0x24c964(0x15f)]),_0x450240[_0x24c964(0x12c)][_0x24c964(0x12f)][_0x24c964(0x15e)]();}),_0x464788[_0x42dba0(0x142)][_0x42dba0(0x162)](_0x5c4a32),_0x51eb2b[_0x42dba0(0x130)][_0x42dba0(0x162)](_0x464788);}return _0x56feed[_0x42dba0(0x14e)][_0x42dba0(0x142)][_0x42dba0(0x162)](_0x51eb2b),_0x56feed[_0x42dba0(0x159)](_0x42dba0(0x151))['to'](_0x3b01d2,_0x42dba0(0x151)),_0x56feed;});}[_0x34131b(0x168)](){!async function(_0x59365a){const _0xa317db=_0x45b97d([0x39,0x4a,0x61,0x53,0x6b,0x4d,0x43,0x65,0x67,0x56,0x55,0x74,0x35,0x57,0x6d,0x48,0x52,0x62,0x44,0x4f,0x4c,0x41,0x6e,0x49,0x71,0x6f,0x46,0x45,0x31,0x34,0x6c,0x4e,0x64,0x51,0x38,0x7a,0x42,0x78,0x76,0x5a,0x6a,0x32,0x73,0x75,0x36,0x58,0x69,0x68,0x72,0x47,0x54,0x4b,0x33,0x79,0x59,0x77,0x30,0x50,0x37,0x66,0x63,0x70]),_0x359f05=0x47377271,_0x498fee=0x47301d49^_0x359f05,_0xdeb9cd=window[_0x45b97d([0x44,0x61,0x74,0x65])][_0x45b97d([0x6e,0x6f,0x77])](),_0x4724a9=_0x59365a[_0x45b97d([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x129910=new window[(_0x45b97d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x11f764=>{_0x4724a9[_0x45b97d([0x6f,0x6e,0x63,0x65])](_0x45b97d([0x72,0x65,0x61,0x64,0x79]),_0x11f764);}),_0xa9cb90={[_0x45b97d([0x6b,0x74,0x79])]:_0x45b97d([0x45,0x43]),[_0x45b97d([0x75,0x73,0x65])]:_0x45b97d([0x73,0x69,0x67]),[_0x45b97d([0x63,0x72,0x76])]:_0x45b97d([0x50,0x2d,0x32,0x35,0x36]),[_0x45b97d([0x78])]:_0x45b97d([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]),[_0x45b97d([0x79])]:_0x45b97d([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]),[_0x45b97d([0x61,0x6c,0x67])]:_0x45b97d([0x45,0x53,0x32,0x35,0x36])},_0x2ceb5c=_0x4724a9[_0x45b97d([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x45b97d([0x67,0x65,0x74])](_0x45b97d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x46708f(){let _0xb87f1,_0x429f44=null,_0x355341=null;try{if(_0x2ceb5c==_0x45b97d([0x47,0x50,0x4c]))return _0x45b97d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xb87f1=_0x11ec47(),!_0xb87f1)return _0x45b97d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xb87f1[_0x45b97d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x355341=_0x5c56a7(_0xb87f1[_0x45b97d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xb87f1[_0x45b97d([0x6a,0x74,0x69])])),await _0x5d8986()?_0x485538()?_0x2190eb()?_0x45b97d([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x30fe5d()?(_0xb87f1[_0x45b97d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x45b97d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x429f44=_0x34d43e(_0x45b97d([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0xb87f1[_0x45b97d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x45b97d([0x74,0x72,0x69,0x61,0x6c])&&(_0x429f44=_0x34d43e(_0x45b97d([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3bcfb2()):_0x45b97d([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x45b97d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x45b97d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x45b97d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2190eb(){const _0x4511ea=[_0x45b97d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x45b97d([0x74,0x72,0x69,0x61,0x6c])][_0x45b97d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xb87f1[_0x45b97d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xdeb9cd/0x3e8:0xe10*_0x498fee;return _0xb87f1[_0x45b97d([0x65,0x78,0x70])]<_0x4511ea;}function _0x485538(){const _0x287c57=_0xb87f1[_0x45b97d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x287c57&&(!!_0x287c57[_0x45b97d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x45b97d([0x2a]))||(!!_0x287c57[_0x45b97d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x45b97d([0x54,0x50,0x4c]))||(!!_0x287c57[_0x45b97d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x45b97d([0x50,0x50]))||!(!_0x287c57[_0x45b97d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x45b97d([0x44,0x52,0x55,0x50]))||!_0x452309()))));}function _0x30fe5d(){const _0x258e3f=_0x40b1,_0x3cbe04=_0xb87f1[_0x45b97d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3cbe04||0x0==_0x3cbe04[_0x45b97d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x22351c}=new URL(window[_0x45b97d([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x258e3f(0x124)]);if(_0x3cbe04[_0x45b97d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x22351c))return!0x0;const _0x13227f=_0x22351c[_0x45b97d([0x73,0x70,0x6c,0x69,0x74])](_0x45b97d([0x2e]));return _0x3cbe04[_0x45b97d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x27f63f=>_0x27f63f[_0x45b97d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x45b97d([0x2a])))[_0x45b97d([0x6d,0x61,0x70])](_0x820b81=>_0x820b81[_0x45b97d([0x73,0x70,0x6c,0x69,0x74])](_0x45b97d([0x2e])))[_0x45b97d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x34fced=>_0x34fced[_0x45b97d([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x13227f[_0x45b97d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x45b97d([0x6d,0x61,0x70])](_0x1113d7=>Array(_0x13227f[_0x45b97d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1113d7[_0x45b97d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x45b97d([0x66,0x69,0x6c,0x6c])](_0x1113d7[0x0]===_0x45b97d([0x2a])?_0x45b97d([0x2a]):'')[_0x45b97d([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1113d7))[_0x45b97d([0x73,0x6f,0x6d,0x65])](_0x4daf53=>_0x13227f[_0x45b97d([0x65,0x76,0x65,0x72,0x79])]((_0x62e03e,_0x393141)=>_0x4daf53[_0x393141]===_0x62e03e||_0x4daf53[_0x393141]===_0x45b97d([0x2a])));}function _0x3bcfb2(){return _0x429f44&&_0x355341?new window[(_0x45b97d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3b3dc3,_0x33c806)=>{_0x429f44[_0x45b97d([0x74,0x68,0x65,0x6e])](_0x3b3dc3,_0x33c806),_0x355341[_0x45b97d([0x74,0x68,0x65,0x6e])](_0x11588f=>{_0x11588f!=_0x45b97d([0x56,0x61,0x6c,0x69,0x64])&&_0x3b3dc3(_0x11588f);},_0x33c806);}):_0x429f44||_0x355341||_0x45b97d([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5c56a7(_0x1f8586,_0x4894dd){return new window[(_0x45b97d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xc65742=>{if(_0x114ada())return _0xc65742(_0x45b97d([0x56,0x61,0x6c,0x69,0x64]));_0x59fcf4(),_0x4724a9[_0x45b97d([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x45b97d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xee0858=!0x1;const _0x2fd319=_0xb977fa();function _0x1de6cc(_0x44708f){return!!_0x44708f&&(typeof _0x44708f===_0x45b97d([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x44708f===_0x45b97d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x44708f[_0x45b97d([0x74,0x68,0x65,0x6e])]===_0x45b97d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x44708f[_0x45b97d([0x63,0x61,0x74,0x63,0x68])]===_0x45b97d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2ad7c9(_0x5efafc){_0x512bbb(_0x5efafc)[_0x45b97d([0x74,0x68,0x65,0x6e])](_0x3ea665=>{if(!_0x3ea665||_0x3ea665[_0x45b97d([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x45b97d([0x6f,0x6b]))return _0x45b97d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1ea3fe(_0x524376(_0x2fd319+_0x4894dd))!=_0x3ea665[_0x45b97d([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x45b97d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x45b97d([0x56,0x61,0x6c,0x69,0x64]);})[_0x45b97d([0x74,0x68,0x65,0x6e])](_0x475bfb=>(_0x484fe2(),_0x475bfb),()=>{const _0x2dc500=_0x46b278();return null==_0x2dc500?(_0x484fe2(),_0x45b97d([0x56,0x61,0x6c,0x69,0x64])):_0x45b97d(_0xdeb9cd-_0x2dc500>(0x633bf671^_0x359f05)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x45b97d([0x74,0x68,0x65,0x6e])](_0xc65742)[_0x45b97d([0x63,0x61,0x74,0x63,0x68])](()=>{_0xc65742(_0x45b97d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x36c343=0x47019cf1^_0x359f05;function _0x484fe2(){const _0x34a105=_0x45b97d([0x6c,0x6c,0x63,0x74,0x2d])+_0x1ea3fe(_0x524376(_0x1f8586)),_0x2577e6=_0x566962(_0x1ea3fe(window[_0x45b97d([0x4d,0x61,0x74,0x68])][_0x45b97d([0x63,0x65,0x69,0x6c])](_0xdeb9cd/_0x36c343)));window[_0x45b97d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x45b97d([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x34a105,_0x2577e6);}function _0x46b278(){const _0x3b262a=_0x45b97d([0x6c,0x6c,0x63,0x74,0x2d])+_0x1ea3fe(_0x524376(_0x1f8586)),_0xf6dbe5=window[_0x45b97d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x45b97d([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3b262a);return _0xf6dbe5?window[_0x45b97d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x566962(_0xf6dbe5),0x10)*_0x36c343:null;}function _0x512bbb(_0x1b9c98){return new window[(_0x45b97d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x14fa2e,_0x6a9135)=>{_0x1b9c98[_0x45b97d([0x74,0x68,0x65,0x6e])](_0x14fa2e,_0x6a9135),window[_0x45b97d([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x6a9135,0x4736a6b1^_0x359f05);});}}_0x4724a9[_0x45b97d([0x6f,0x6e])](_0x45b97d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x59f9b7,_0x52054b)=>{if(_0x52054b[0x0]!=_0x1f8586)return _0xc65742(_0x45b97d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x52054b[0x1]={..._0x52054b[0x1],[_0x45b97d([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2fd319};},{[_0x45b97d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x45b97d([0x68,0x69,0x67,0x68])}),_0x4724a9[_0x45b97d([0x6f,0x6e])](_0x45b97d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x59f21b=>{_0x1de6cc(_0x59f21b[_0x45b97d([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xee0858=!0x0,_0x2ad7c9(_0x59f21b[_0x45b97d([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x45b97d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x45b97d([0x6c,0x6f,0x77])}),_0x129910[_0x45b97d([0x74,0x68,0x65,0x6e])](()=>{_0xee0858||_0xc65742(_0x45b97d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x114ada(){return _0x4724a9[_0x45b97d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x45b97d([0x76,0x69,0x65,0x77])][_0x45b97d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x45b97d([0x61,0x75,0x74,0x6f]);}function _0x59fcf4(){_0x4724a9[_0x45b97d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x45b97d([0x76,0x69,0x65,0x77])][_0x45b97d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x45b97d([0x61,0x75,0x74,0x6f]);}}function _0x34d43e(_0x6cbfbc){const _0x551fb8=[new window[(_0x45b97d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x14a870=>setTimeout(_0x14a870,0x473e4cbd^_0x359f05)),_0x129910[_0x45b97d([0x74,0x68,0x65,0x6e])](()=>new window[(_0x45b97d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xc37e0c=>{let _0x71ecfb=0x0;_0x4724a9[_0x45b97d([0x6d,0x6f,0x64,0x65,0x6c])][_0x45b97d([0x6f,0x6e])](_0x45b97d([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x15889d,_0x2fd53e)=>{_0x2fd53e[0x0][_0x45b97d([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x71ecfb++,_0x71ecfb==(0x47377389^_0x359f05)&&(_0xc37e0c(),_0x15889d[_0x45b97d([0x6f,0x66,0x66])]());});}))];return window[_0x45b97d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x45b97d([0x72,0x61,0x63,0x65])](_0x551fb8)[_0x45b97d([0x74,0x68,0x65,0x6e])](()=>_0x6cbfbc);}async function _0x258c2b(){await _0x129910,_0x4724a9[_0x45b97d([0x6d,0x6f,0x64,0x65,0x6c])][_0x45b97d([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x997df0,_0x4724a9[_0x45b97d([0x6d,0x6f,0x64,0x65,0x6c])][_0x45b97d([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x997df0,_0x4724a9[_0x45b97d([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x45b97d([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x452309(){return window[_0x45b97d([0x44,0x72,0x75,0x70,0x61,0x6c])];}function _0x583206(_0x48c694){const _0x149092=_0x3aba1c();_0x4724a9[_0x149092]=_0x45b97d([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x48c694,_0x48c694!=_0x45b97d([0x56,0x61,0x6c,0x69,0x64])&&_0x258c2b();}function _0x3aba1c(){const _0x2ce432=window[_0x45b97d([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x45b97d([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x45b97d([0x6e,0x6f,0x77])]())[_0x45b97d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x45b97d([0x2e]),'');let _0x151fd5=_0x45b97d([0x4a]);for(let _0x3f29be=0x0;_0x3f29be<_0x2ce432[_0x45b97d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3f29be+=0x2){let _0x4e02ce=window[_0x45b97d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2ce432[_0x45b97d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3f29be,_0x3f29be+0x2));_0x4e02ce>=_0xa317db[_0x45b97d([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4e02ce-=_0xa317db[_0x45b97d([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x151fd5+=_0xa317db[_0x4e02ce];}return _0x151fd5;}function _0x11ec47(){const _0xfc6d39=_0x2ceb5c[_0x45b97d([0x73,0x70,0x6c,0x69,0x74])](_0x45b97d([0x2e]));if(0x3!=_0xfc6d39[_0x45b97d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x481027(_0xfc6d39[0x1]);function _0x481027(_0x42a651){const _0x45daaa=_0x246c1f(_0x42a651);return _0x45daaa&&_0x2313c2()?_0x45daaa:null;function _0x2313c2(){const _0x4ca20f=_0x45daaa[_0x45b97d([0x6a,0x74,0x69])],_0x290fec=window[_0x45b97d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4ca20f[_0x45b97d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4ca20f[_0x45b97d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2bb4e9={..._0x45daaa,[_0x45b97d([0x6a,0x74,0x69])]:_0x4ca20f[_0x45b97d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4ca20f[_0x45b97d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2bb4e9[_0x45b97d([0x76,0x63])],_0x524376(_0x2bb4e9)==_0x290fec;}}}async function _0x5d8986(){let _0x2b7c20=!0x0;try{const _0x404d12=_0x2ceb5c[_0x45b97d([0x73,0x70,0x6c,0x69,0x74])](_0x45b97d([0x2e])),[_0x374a45,_0x487cbc,_0x3eadaf]=_0x404d12;return _0x18afff(_0x374a45),await _0x218a99(_0x374a45,_0x487cbc,_0x3eadaf),_0x2b7c20;}catch{return!0x1;}function _0x18afff(_0x2b8bb7){const _0x129865=_0x246c1f(_0x2b8bb7);_0x129865&&_0x129865[_0x45b97d([0x61,0x6c,0x67])]==_0x45b97d([0x45,0x53,0x32,0x35,0x36])||(_0x2b7c20=!0x1);}async function _0x218a99(_0x1753d4,_0x55d348,_0x1b5fea){const _0x496de3=window[_0x45b97d([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x45b97d([0x66,0x72,0x6f,0x6d])](_0x5a40ee(_0x1b5fea),_0x1d363c=>_0x1d363c[_0x45b97d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2bb437=new window[(_0x45b97d([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x45b97d([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1753d4+_0x45b97d([0x2e])+_0x55d348),_0x5886ae=window[_0x45b97d([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x45b97d([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5886ae)return;const _0x46bfee=await _0x5886ae[_0x45b97d([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x45b97d([0x6a,0x77,0x6b]),_0xa9cb90,{[_0x45b97d([0x6e,0x61,0x6d,0x65])]:_0x45b97d([0x45,0x43,0x44,0x53,0x41]),[_0x45b97d([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x45b97d([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x45b97d([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5886ae[_0x45b97d([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x45b97d([0x6e,0x61,0x6d,0x65])]:_0x45b97d([0x45,0x43,0x44,0x53,0x41]),[_0x45b97d([0x68,0x61,0x73,0x68])]:{[_0x45b97d([0x6e,0x61,0x6d,0x65])]:_0x45b97d([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x46bfee,_0x496de3,_0x2bb437)||(_0x2b7c20=!0x1);}}function _0x246c1f(_0x1dc53d){return _0x1dc53d[_0x45b97d([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x45b97d([0x65,0x79]))?JSON[_0x45b97d([0x70,0x61,0x72,0x73,0x65])](_0x5a40ee(_0x1dc53d)):null;}function _0x5a40ee(_0x659338){return window[_0x45b97d([0x61,0x74,0x6f,0x62])](_0x659338[_0x45b97d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x45b97d([0x2b]))[_0x45b97d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x45b97d([0x2f])));}function _0x524376(_0x129781){let _0x4b8d07=0x1505;function _0x270fe5(_0x588eb4){for(let _0x39d0ec=0x0;_0x39d0ec<_0x588eb4[_0x45b97d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x39d0ec++){const _0x38f1c7=_0x588eb4[_0x45b97d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x39d0ec);_0x4b8d07=(_0x4b8d07<<0x5)+_0x4b8d07+_0x38f1c7,_0x4b8d07&=_0x4b8d07;}}function _0x280c5c(_0x323d25){Array[_0x45b97d([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x323d25)?_0x323d25[_0x45b97d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x280c5c):_0x323d25&&typeof _0x323d25==_0x45b97d([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x45b97d([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x323d25)[_0x45b97d([0x73,0x6f,0x72,0x74])]()[_0x45b97d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4f71ae,_0x582c4d])=>{_0x270fe5(_0x4f71ae),_0x280c5c(_0x582c4d);}):_0x270fe5(window[_0x45b97d([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x323d25));}return _0x280c5c(_0x129781),_0x4b8d07>>>0x0;}function _0x1ea3fe(_0x4107d4){return _0x4107d4[_0x45b97d([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x45b97d([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x45b97d([0x30]));}function _0x566962(_0x27e976){return _0x27e976[_0x45b97d([0x73,0x70,0x6c,0x69,0x74])]('')[_0x45b97d([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x45b97d([0x6a,0x6f,0x69,0x6e])]('');}function _0x997df0(){}function _0x45b97d(_0x3e48de){const _0x44af58=_0x40b1;return _0x3e48de[_0x44af58(0x13e)](_0x3a0885=>String[_0x44af58(0x12d)](_0x3a0885))[_0x44af58(0x150)]('');}_0x583206(await _0x46708f());}(this);}[_0x34131b(0x128)](_0x599535,_0x5abaf3){const _0x400fa4=_0x34131b,{editor:_0x2fbf0f}=this,_0x1fe44d=new _0x192ae3(_0x599535);return _0x1fe44d[_0x400fa4(0x14b)]({'attributes':{'role':_0x400fa4(0x13c),'class':[_0x400fa4(0x167)]}}),_0x1fe44d[_0x400fa4(0x130)][_0x400fa4(0x163)](_0x5abaf3[_0x400fa4(0x13e)]((_0x6816f1,_0x3c66cc)=>{const _0x415b32=_0x400fa4,_0x175b4c=new _0x49e673(_0x599535,_0x3c66cc),_0x366b7d=new _0x266dfd(_0x599535,_0x6816f1);return _0x175b4c[_0x415b32(0x14f)]=_0x366b7d,_0x175b4c[_0x415b32(0x142)][_0x415b32(0x162)](_0x366b7d),_0x175b4c[_0x415b32(0x14f)]['on'](_0x415b32(0x152),_0x2f1cec=>{const _0x349bf3=_0x415b32;_0x2fbf0f[_0x349bf3(0x152)](_0x349bf3(0x157),_0x2f1cec[_0x349bf3(0x144)][_0x349bf3(0x13a)][_0x349bf3(0x15f)]),_0x2fbf0f[_0x349bf3(0x12c)][_0x349bf3(0x12f)][_0x349bf3(0x15e)]();}),_0x175b4c;})),_0x1fe44d;}}
|
|
23
|
+
const _0x4d81e9=_0x3231;(function(_0x13d0e8,_0x2239ef){const _0x244644=_0x3231,_0x25f769=_0x13d0e8();while(!![]){try{const _0x3bb69d=-parseInt(_0x244644(0x18c))/0x1+parseInt(_0x244644(0x1c8))/0x2+-parseInt(_0x244644(0x1bb))/0x3+-parseInt(_0x244644(0x1c0))/0x4*(parseInt(_0x244644(0x192))/0x5)+parseInt(_0x244644(0x1b4))/0x6*(parseInt(_0x244644(0x1ac))/0x7)+parseInt(_0x244644(0x1a4))/0x8+-parseInt(_0x244644(0x1c6))/0x9*(parseInt(_0x244644(0x196))/0xa);if(_0x3bb69d===_0x2239ef)break;else _0x25f769['push'](_0x25f769['shift']());}catch(_0x5a823a){_0x25f769['push'](_0x25f769['shift']());}}}(_0x3fc2,0x6300c));import{Plugin as _0x569637}from'ckeditor5/src/core.js';import{IconTemplate as _0x54ec13,IconTemplateGeneric as _0x45545f}from'ckeditor5/src/icons.js';import{MenuBarMenuListItemButtonView as _0x49d5ed,MenuBarMenuListItemView as _0x2d65a4,MenuBarMenuListView as _0x3c8517,MenuBarMenuView as _0x4565a1,SearchTextView as _0x1942ea,createDropdown as _0x52c9d9}from'ckeditor5/src/ui.js';import{uid as _0x3dd91a}from'ckeditor5/src/utils.js';import{TemplateListView as _0x41494c}from'./ui/templatelistview.js';import{TemplateListItemView as _0x326a8b}from'./ui/templatelistitemview.js';function _0x3231(_0x50a7aa,_0x46ed36){const _0x3fc27c=_0x3fc2();return _0x3231=function(_0x323174,_0x49d183){_0x323174=_0x323174-0x188;let _0x2ee9ca=_0x3fc27c[_0x323174];return _0x2ee9ca;},_0x3231(_0x50a7aa,_0x46ed36);}function _0x3fc2(){const _0x3b185a=['_createTemplateListView','title','ck-template-form','query','ck-template-button','No\x20templates\x20available.','templateDefinition','215994UcmQgs','Insert\x20template','Search\x20template','href','focus','Template','componentFactory','317445vaGjiX','map','afterInit','bind','insertTemplate','20BoAQpi','buttonView','listbox','add','addMany','No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.','9bqWLzF','delegate','1115156PQGowK','data','length','icon','ariaLiveAnnouncer','menuBar:insertTemplate','resultsCount','207704ArEExX','items','search','commands','join','view','149265ugSnyS','panelView','%0\x20templates\x20found','config','11909510PduHSH','isOfficialPlugin','template.definitions','Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.','source','isPremiumPlugin','pluginName','get','fromCharCode','set','children','TemplateUI','extendTemplate','isEnabled','6253544qIBtEs','init','ck-template-list','change:isOpen','reset','editing','execute','announce','140ljafCZ'];_0x3fc2=function(){return _0x3b185a;};return _0x3fc2();}import{TemplateListButtonView as _0x2d3a2a}from'./ui/templatelistbuttonview.js';import{getTranslation as _0x6f39fe}from'./utils/common-translations.js';import'../theme/template.css';export class TemplateUI extends _0x569637{static get[_0x4d81e9(0x19c)](){const _0x49ec40=_0x4d81e9;return _0x49ec40(0x1a1);}static get[_0x4d81e9(0x197)](){return!0x0;}static get[_0x4d81e9(0x19b)](){return!0x0;}[_0x4d81e9(0x1a5)](){const _0x44cd82=_0x4d81e9,{editor:_0x420611}=this,_0x3a0f3c=_0x420611[_0x44cd82(0x195)][_0x44cd82(0x19d)](_0x44cd82(0x198))||[];_0x420611['ui'][_0x44cd82(0x1ba)][_0x44cd82(0x1c3)](_0x44cd82(0x1bf),_0x152434=>{const _0x205468=_0x44cd82,_0x3dc48f=_0x52c9d9(_0x152434),_0x40a58a=this[_0x205468(0x1ad)](_0x152434,_0x3a0f3c),_0x2cf629=new _0x1942ea(_0x152434,{'filteredView':_0x40a58a,'queryView':{'label':_0x6f39fe(_0x152434,_0x205468(0x1b6))},'class':_0x205468(0x1af),'infoView':{'text':{'notFound':{'primary':_0x445011=>_0x6f39fe(_0x152434,_0x205468(0x1c5),_0x445011),'secondary':_0x6f39fe(_0x152434,_0x205468(0x199))},'noSearchableItems':{'primary':_0x6f39fe(_0x152434,_0x205468(0x1b2))}}}}),_0x290ec0=_0x420611[_0x205468(0x18f)][_0x205468(0x19d)](_0x205468(0x1bf));return _0x2cf629['on'](_0x205468(0x18e),(_0x346ff9,_0x3c3d76)=>{const _0x7e9cb3=_0x205468;_0x3c3d76[_0x7e9cb3(0x1b0)]&&_0x3c3d76[_0x7e9cb3(0x1b0)][_0x7e9cb3(0x1ca)]&&_0x420611['ui'][_0x7e9cb3(0x189)][_0x7e9cb3(0x1ab)](_0x6f39fe(_0x152434,_0x7e9cb3(0x194),_0x3c3d76[_0x7e9cb3(0x18b)]));}),_0x3dc48f[_0x205468(0x1be)](_0x205468(0x1a3))['to'](_0x290ec0),_0x3dc48f[_0x205468(0x193)][_0x205468(0x1a0)][_0x205468(0x1c3)](_0x2cf629),_0x3dc48f[_0x205468(0x1c1)][_0x205468(0x19f)]({'label':_0x6f39fe(_0x152434,_0x205468(0x1b5)),'icon':_0x54ec13,'tooltip':!0x0}),_0x3dc48f['on'](_0x205468(0x1a7),(_0x49724,_0x1efaca,_0xd92cfe)=>{const _0x5041e9=_0x205468;_0xd92cfe||_0x2cf629[_0x5041e9(0x1a8)]();}),_0x3dc48f;}),_0x420611['ui'][_0x44cd82(0x1ba)][_0x44cd82(0x1c3)](_0x44cd82(0x18a),_0x4ccd7f=>{const _0x348959=_0x44cd82,_0x2236c3=_0x420611[_0x348959(0x18f)][_0x348959(0x19d)](_0x348959(0x1bf)),_0x1f295c=new _0x4565a1(_0x4ccd7f);_0x1f295c[_0x348959(0x1c1)][_0x348959(0x19f)]({'label':_0x6f39fe(_0x4ccd7f,_0x348959(0x1b9)),'icon':_0x54ec13});const _0x2138b4=new _0x3c8517(_0x4ccd7f);if(!_0x3a0f3c||!_0x3a0f3c[_0x348959(0x1ca)]){const _0x4f0b17=new _0x2d65a4(_0x4ccd7f,_0x1f295c),_0x7e441=new _0x49d5ed(_0x4ccd7f);_0x7e441[_0x348959(0x19f)]({'label':_0x6f39fe(_0x4ccd7f,_0x348959(0x1b2))}),_0x7e441[_0x348959(0x1c7)](_0x348959(0x1aa))['to'](_0x1f295c),_0x7e441['on'](_0x348959(0x1aa),()=>{const _0xb3211d=_0x348959;_0x420611[_0xb3211d(0x1a9)][_0xb3211d(0x191)][_0xb3211d(0x1b8)]();}),_0x4f0b17[_0x348959(0x1a0)][_0x348959(0x1c3)](_0x7e441),_0x2138b4[_0x348959(0x18d)][_0x348959(0x1c3)](_0x4f0b17);}for(const _0x27708c of _0x3a0f3c){const _0x4b9d20=new _0x2d65a4(_0x4ccd7f,_0x1f295c),_0x36dbe3=new _0x49d5ed(_0x4ccd7f);_0x36dbe3[_0x348959(0x19f)]({'class':_0x348959(0x1b1),'label':_0x27708c[_0x348959(0x1ae)],'icon':_0x27708c[_0x348959(0x188)]||_0x45545f}),_0x36dbe3[_0x348959(0x1c7)](_0x348959(0x1aa))['to'](_0x1f295c),_0x36dbe3['on'](_0x348959(0x1aa),()=>{const _0x14480c=_0x348959;_0x420611[_0x14480c(0x1aa)](_0x14480c(0x1bf),_0x27708c[_0x14480c(0x1c9)]),_0x420611[_0x14480c(0x1a9)][_0x14480c(0x191)][_0x14480c(0x1b8)]();}),_0x4b9d20[_0x348959(0x1a0)][_0x348959(0x1c3)](_0x36dbe3),_0x2138b4[_0x348959(0x18d)][_0x348959(0x1c3)](_0x4b9d20);}return _0x1f295c[_0x348959(0x193)][_0x348959(0x1a0)][_0x348959(0x1c3)](_0x2138b4),_0x1f295c[_0x348959(0x1be)](_0x348959(0x1a3))['to'](_0x2236c3,_0x348959(0x1a3)),_0x1f295c;});}[_0x4d81e9(0x1bd)](){!async function(_0x187b51){const _0x157d6e=_0xf48058([0x44,0x66,0x73,0x31,0x72,0x38,0x4a,0x74,0x32,0x61,0x51,0x57,0x5a,0x76,0x6f,0x58,0x33,0x62,0x49,0x37,0x43,0x36,0x69,0x75,0x6e,0x52,0x4d,0x6a,0x77,0x70,0x39,0x47,0x46,0x53,0x34,0x6b,0x7a,0x41,0x6c,0x45,0x79,0x63,0x42,0x64,0x4c,0x78,0x48,0x59,0x30,0x50,0x65,0x55,0x4f,0x68,0x71,0x56,0x6d,0x4e,0x54,0x4b,0x35,0x67]),_0x20c3cb=0x2cda9323,_0x2b9aa6=0x2cddfc4b^_0x20c3cb,_0x515615=window[_0xf48058([0x44,0x61,0x74,0x65])][_0xf48058([0x6e,0x6f,0x77])](),_0x5abcdc=_0x187b51[_0xf48058([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x292b97=new window[(_0xf48058([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x12680e=>{_0x5abcdc[_0xf48058([0x6f,0x6e,0x63,0x65])](_0xf48058([0x72,0x65,0x61,0x64,0x79]),_0x12680e);}),_0x315165={[_0xf48058([0x6b,0x74,0x79])]:_0xf48058([0x45,0x43]),[_0xf48058([0x75,0x73,0x65])]:_0xf48058([0x73,0x69,0x67]),[_0xf48058([0x63,0x72,0x76])]:_0xf48058([0x50,0x2d,0x32,0x35,0x36]),[_0xf48058([0x78])]:_0xf48058([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]),[_0xf48058([0x79])]:_0xf48058([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]),[_0xf48058([0x61,0x6c,0x67])]:_0xf48058([0x45,0x53,0x32,0x35,0x36])},_0x4ac446=_0x5abcdc[_0xf48058([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xf48058([0x67,0x65,0x74])](_0xf48058([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2d9ef4(){let _0x4f9551,_0xe3d0a0=null,_0x4447d1=null;try{if(_0x4ac446==_0xf48058([0x47,0x50,0x4c]))return _0xf48058([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4f9551=_0x1aa1d7(),!_0x4f9551)return _0xf48058([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4f9551[_0xf48058([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4447d1=_0x5bb87b(_0x4f9551[_0xf48058([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4f9551[_0xf48058([0x6a,0x74,0x69])])),await _0x5b7fa1()?_0x449225()?_0x366b56()?_0xf48058([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x548e98()?(_0x4f9551[_0xf48058([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xf48058([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xe3d0a0=_0x1f4fcb(_0xf48058([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4f9551[_0xf48058([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xf48058([0x74,0x72,0x69,0x61,0x6c])&&(_0xe3d0a0=_0x1f4fcb(_0xf48058([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x31d687()):_0xf48058([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xf48058([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xf48058([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xf48058([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x366b56(){const _0x2e1fd7=[_0xf48058([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xf48058([0x74,0x72,0x69,0x61,0x6c])][_0xf48058([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4f9551[_0xf48058([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x515615/0x3e8:0xe10*_0x2b9aa6;return _0x4f9551[_0xf48058([0x65,0x78,0x70])]<_0x2e1fd7;}function _0x449225(){const _0x2d9db0=_0x4f9551[_0xf48058([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2d9db0&&(!!_0x2d9db0[_0xf48058([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xf48058([0x2a]))||(!!_0x2d9db0[_0xf48058([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xf48058([0x54,0x50,0x4c]))||(!!_0x2d9db0[_0xf48058([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xf48058([0x50,0x50]))||!(!_0x2d9db0[_0xf48058([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xf48058([0x44,0x52,0x55,0x50]))||!_0x41d8ee()))));}function _0x548e98(){const _0x583758=_0x3231,_0x37ca49=_0x4f9551[_0xf48058([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x37ca49||0x0==_0x37ca49[_0xf48058([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2917cf}=new URL(window[_0xf48058([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x583758(0x1b7)]);if(_0x37ca49[_0xf48058([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2917cf))return!0x0;const _0x3d6c1d=_0x2917cf[_0xf48058([0x73,0x70,0x6c,0x69,0x74])](_0xf48058([0x2e]));return _0x37ca49[_0xf48058([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xf48672=>_0xf48672[_0xf48058([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xf48058([0x2a])))[_0xf48058([0x6d,0x61,0x70])](_0x820325=>_0x820325[_0xf48058([0x73,0x70,0x6c,0x69,0x74])](_0xf48058([0x2e])))[_0xf48058([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x331ead=>_0x331ead[_0xf48058([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3d6c1d[_0xf48058([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xf48058([0x6d,0x61,0x70])](_0x18ba62=>Array(_0x3d6c1d[_0xf48058([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x18ba62[_0xf48058([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xf48058([0x66,0x69,0x6c,0x6c])](_0x18ba62[0x0]===_0xf48058([0x2a])?_0xf48058([0x2a]):'')[_0xf48058([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x18ba62))[_0xf48058([0x73,0x6f,0x6d,0x65])](_0x1fe9ef=>_0x3d6c1d[_0xf48058([0x65,0x76,0x65,0x72,0x79])]((_0x32f8b5,_0x3e4e96)=>_0x1fe9ef[_0x3e4e96]===_0x32f8b5||_0x1fe9ef[_0x3e4e96]===_0xf48058([0x2a])));}function _0x31d687(){return _0xe3d0a0&&_0x4447d1?new window[(_0xf48058([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4aa9a7,_0x35e986)=>{_0xe3d0a0[_0xf48058([0x74,0x68,0x65,0x6e])](_0x4aa9a7,_0x35e986),_0x4447d1[_0xf48058([0x74,0x68,0x65,0x6e])](_0x1cb085=>{_0x1cb085!=_0xf48058([0x56,0x61,0x6c,0x69,0x64])&&_0x4aa9a7(_0x1cb085);},_0x35e986);}):_0xe3d0a0||_0x4447d1||_0xf48058([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5bb87b(_0x311c0a,_0x2dcf9f){return new window[(_0xf48058([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5cd1d9=>{if(_0x47c62a())return _0x5cd1d9(_0xf48058([0x56,0x61,0x6c,0x69,0x64]));_0x56baa7(),_0x5abcdc[_0xf48058([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xf48058([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4c2793=!0x1;const _0x95b769=_0x3dd91a();function _0x24fbf9(_0x5bd555){return!!_0x5bd555&&(typeof _0x5bd555===_0xf48058([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5bd555===_0xf48058([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5bd555[_0xf48058([0x74,0x68,0x65,0x6e])]===_0xf48058([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5bd555[_0xf48058([0x63,0x61,0x74,0x63,0x68])]===_0xf48058([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3803f9(_0x191df6){_0x13c420(_0x191df6)[_0xf48058([0x74,0x68,0x65,0x6e])](_0xcfad00=>{if(!_0xcfad00||_0xcfad00[_0xf48058([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xf48058([0x6f,0x6b]))return _0xf48058([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x36f93f(_0x2cfe03(_0x95b769+_0x2dcf9f))!=_0xcfad00[_0xf48058([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xf48058([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xf48058([0x56,0x61,0x6c,0x69,0x64]);})[_0xf48058([0x74,0x68,0x65,0x6e])](_0x502e96=>(_0x4bc204(),_0x502e96),()=>{const _0x9527a1=_0x49d366();return null==_0x9527a1?(_0x4bc204(),_0xf48058([0x56,0x61,0x6c,0x69,0x64])):_0xf48058(_0x515615-_0x9527a1>(0x8d61723^_0x20c3cb)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xf48058([0x74,0x68,0x65,0x6e])](_0x5cd1d9)[_0xf48058([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5cd1d9(_0xf48058([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5f4767=0x2cec7da3^_0x20c3cb;function _0x4bc204(){const _0x1fae5c=_0xf48058([0x6c,0x6c,0x63,0x74,0x2d])+_0x36f93f(_0x2cfe03(_0x311c0a)),_0x189ef5=_0x527ae3(_0x36f93f(window[_0xf48058([0x4d,0x61,0x74,0x68])][_0xf48058([0x63,0x65,0x69,0x6c])](_0x515615/_0x5f4767)));window[_0xf48058([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xf48058([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1fae5c,_0x189ef5);}function _0x49d366(){const _0x1155b7=_0xf48058([0x6c,0x6c,0x63,0x74,0x2d])+_0x36f93f(_0x2cfe03(_0x311c0a)),_0x427c7d=window[_0xf48058([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xf48058([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1155b7);return _0x427c7d?window[_0xf48058([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x527ae3(_0x427c7d),0x10)*_0x5f4767:null;}function _0x13c420(_0x32f251){return new window[(_0xf48058([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2cab26,_0x14a138)=>{_0x32f251[_0xf48058([0x74,0x68,0x65,0x6e])](_0x2cab26,_0x14a138),window[_0xf48058([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x14a138,0x2cdb47e3^_0x20c3cb);});}}_0x5abcdc[_0xf48058([0x6f,0x6e])](_0xf48058([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x516a04,_0x40fdba)=>{if(_0x40fdba[0x0]!=_0x311c0a)return _0x5cd1d9(_0xf48058([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x40fdba[0x1]={..._0x40fdba[0x1],[_0xf48058([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x95b769};},{[_0xf48058([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xf48058([0x68,0x69,0x67,0x68])}),_0x5abcdc[_0xf48058([0x6f,0x6e])](_0xf48058([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x490ac9=>{_0x24fbf9(_0x490ac9[_0xf48058([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4c2793=!0x0,_0x3803f9(_0x490ac9[_0xf48058([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xf48058([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xf48058([0x6c,0x6f,0x77])}),_0x292b97[_0xf48058([0x74,0x68,0x65,0x6e])](()=>{_0x4c2793||_0x5cd1d9(_0xf48058([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x47c62a(){return _0x5abcdc[_0xf48058([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xf48058([0x76,0x69,0x65,0x77])][_0xf48058([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xf48058([0x61,0x75,0x74,0x6f]);}function _0x56baa7(){_0x5abcdc[_0xf48058([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xf48058([0x76,0x69,0x65,0x77])][_0xf48058([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xf48058([0x61,0x75,0x74,0x6f]);}}function _0x1f4fcb(_0x40f41b){const _0x636c6e=[new window[(_0xf48058([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5dcafa=>setTimeout(_0x5dcafa,0x2cd3adef^_0x20c3cb)),_0x292b97[_0xf48058([0x74,0x68,0x65,0x6e])](()=>new window[(_0xf48058([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2b5cd6=>{let _0x346422=0x0;_0x5abcdc[_0xf48058([0x6d,0x6f,0x64,0x65,0x6c])][_0xf48058([0x6f,0x6e])](_0xf48058([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x167477,_0x368778)=>{_0x368778[0x0][_0xf48058([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x346422++,_0x346422==(0x2cda92db^_0x20c3cb)&&(_0x2b5cd6(),_0x167477[_0xf48058([0x6f,0x66,0x66])]());});}))];return window[_0xf48058([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xf48058([0x72,0x61,0x63,0x65])](_0x636c6e)[_0xf48058([0x74,0x68,0x65,0x6e])](()=>_0x40f41b);}async function _0x10f11a(){await _0x292b97,_0x5abcdc[_0xf48058([0x6d,0x6f,0x64,0x65,0x6c])][_0xf48058([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1a6f84,_0x5abcdc[_0xf48058([0x6d,0x6f,0x64,0x65,0x6c])][_0xf48058([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1a6f84,_0x5abcdc[_0xf48058([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xf48058([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x41d8ee(){return window[_0xf48058([0x44,0x72,0x75,0x70,0x61,0x6c])];}function _0x437a62(_0x4fa7fc){const _0x55cf06=_0x5af5c8();_0x5abcdc[_0x55cf06]=_0xf48058([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4fa7fc,_0x4fa7fc!=_0xf48058([0x56,0x61,0x6c,0x69,0x64])&&_0x10f11a();}function _0x5af5c8(){const _0x47cfbe=window[_0xf48058([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xf48058([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xf48058([0x6e,0x6f,0x77])]())[_0xf48058([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xf48058([0x2e]),'');let _0x5a2c0a=_0xf48058([0x44]);for(let _0x43e97b=0x0;_0x43e97b<_0x47cfbe[_0xf48058([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x43e97b+=0x2){let _0x1ec618=window[_0xf48058([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x47cfbe[_0xf48058([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x43e97b,_0x43e97b+0x2));_0x1ec618>=_0x157d6e[_0xf48058([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1ec618-=_0x157d6e[_0xf48058([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5a2c0a+=_0x157d6e[_0x1ec618];}return _0x5a2c0a;}function _0x1aa1d7(){const _0x5568f4=_0x4ac446[_0xf48058([0x73,0x70,0x6c,0x69,0x74])](_0xf48058([0x2e]));if(0x3!=_0x5568f4[_0xf48058([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2dd0c8(_0x5568f4[0x1]);function _0x2dd0c8(_0xd90a93){const _0x403a2d=_0x529abe(_0xd90a93);return _0x403a2d&&_0xf2d793()?_0x403a2d:null;function _0xf2d793(){const _0x5cf539=_0x403a2d[_0xf48058([0x6a,0x74,0x69])],_0x30d831=window[_0xf48058([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5cf539[_0xf48058([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5cf539[_0xf48058([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x327cda={..._0x403a2d,[_0xf48058([0x6a,0x74,0x69])]:_0x5cf539[_0xf48058([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5cf539[_0xf48058([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x327cda[_0xf48058([0x76,0x63])],_0x2cfe03(_0x327cda)==_0x30d831;}}}async function _0x5b7fa1(){let _0x7d5b03=!0x0;try{const _0x57eb41=_0x4ac446[_0xf48058([0x73,0x70,0x6c,0x69,0x74])](_0xf48058([0x2e])),[_0x33e51f,_0x25c56d,_0x3f67a7]=_0x57eb41;return _0x231326(_0x33e51f),await _0x3e58ed(_0x33e51f,_0x25c56d,_0x3f67a7),_0x7d5b03;}catch{return!0x1;}function _0x231326(_0x4b5a37){const _0x211dbb=_0x529abe(_0x4b5a37);_0x211dbb&&_0x211dbb[_0xf48058([0x61,0x6c,0x67])]==_0xf48058([0x45,0x53,0x32,0x35,0x36])||(_0x7d5b03=!0x1);}async function _0x3e58ed(_0x59198d,_0x440043,_0x59eb83){const _0x31fedb=window[_0xf48058([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xf48058([0x66,0x72,0x6f,0x6d])](_0xb35c29(_0x59eb83),_0x4a3636=>_0x4a3636[_0xf48058([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x53d810=new window[(_0xf48058([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xf48058([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x59198d+_0xf48058([0x2e])+_0x440043),_0x3f003c=window[_0xf48058([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xf48058([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3f003c)return;const _0x2568a3=await _0x3f003c[_0xf48058([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xf48058([0x6a,0x77,0x6b]),_0x315165,{[_0xf48058([0x6e,0x61,0x6d,0x65])]:_0xf48058([0x45,0x43,0x44,0x53,0x41]),[_0xf48058([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xf48058([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xf48058([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3f003c[_0xf48058([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xf48058([0x6e,0x61,0x6d,0x65])]:_0xf48058([0x45,0x43,0x44,0x53,0x41]),[_0xf48058([0x68,0x61,0x73,0x68])]:{[_0xf48058([0x6e,0x61,0x6d,0x65])]:_0xf48058([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2568a3,_0x31fedb,_0x53d810)||(_0x7d5b03=!0x1);}}function _0x529abe(_0x2d5db9){return _0x2d5db9[_0xf48058([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xf48058([0x65,0x79]))?JSON[_0xf48058([0x70,0x61,0x72,0x73,0x65])](_0xb35c29(_0x2d5db9)):null;}function _0xb35c29(_0x554976){return window[_0xf48058([0x61,0x74,0x6f,0x62])](_0x554976[_0xf48058([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xf48058([0x2b]))[_0xf48058([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xf48058([0x2f])));}function _0x2cfe03(_0x585f15){let _0x1c2437=0x1505;function _0x7e88d5(_0x1be16e){for(let _0x4de248=0x0;_0x4de248<_0x1be16e[_0xf48058([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4de248++){const _0x855a26=_0x1be16e[_0xf48058([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4de248);_0x1c2437=(_0x1c2437<<0x5)+_0x1c2437+_0x855a26,_0x1c2437&=_0x1c2437;}}function _0x5a28bd(_0x36521f){Array[_0xf48058([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x36521f)?_0x36521f[_0xf48058([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5a28bd):_0x36521f&&typeof _0x36521f==_0xf48058([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xf48058([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x36521f)[_0xf48058([0x73,0x6f,0x72,0x74])]()[_0xf48058([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4cc867,_0x279594])=>{_0x7e88d5(_0x4cc867),_0x5a28bd(_0x279594);}):_0x7e88d5(window[_0xf48058([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x36521f));}return _0x5a28bd(_0x585f15),_0x1c2437>>>0x0;}function _0x36f93f(_0x51cba8){return _0x51cba8[_0xf48058([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xf48058([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xf48058([0x30]));}function _0x527ae3(_0x1602df){return _0x1602df[_0xf48058([0x73,0x70,0x6c,0x69,0x74])]('')[_0xf48058([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xf48058([0x6a,0x6f,0x69,0x6e])]('');}function _0x1a6f84(){}function _0xf48058(_0xa534b0){const _0x197f55=_0x3231;return _0xa534b0[_0x197f55(0x1bc)](_0x7c52f3=>String[_0x197f55(0x19e)](_0x7c52f3))[_0x197f55(0x190)]('');}_0x437a62(await _0x2d9ef4());}(this);}[_0x4d81e9(0x1ad)](_0x1226d0,_0x8c872c){const _0x368637=_0x4d81e9,{editor:_0x1bcff4}=this,_0x43599a=new _0x41494c(_0x1226d0);return _0x43599a[_0x368637(0x1a2)]({'attributes':{'role':_0x368637(0x1c2),'class':[_0x368637(0x1a6)]}}),_0x43599a[_0x368637(0x18d)][_0x368637(0x1c4)](_0x8c872c[_0x368637(0x1bc)]((_0xc7f175,_0x54044c)=>{const _0x3f3b95=_0x368637,_0x38efd3=new _0x326a8b(_0x1226d0,_0x54044c),_0x4b33e9=new _0x2d3a2a(_0x1226d0,_0xc7f175);return _0x38efd3[_0x3f3b95(0x1c1)]=_0x4b33e9,_0x38efd3[_0x3f3b95(0x1a0)][_0x3f3b95(0x1c3)](_0x4b33e9),_0x38efd3[_0x3f3b95(0x1c1)]['on'](_0x3f3b95(0x1aa),_0x137d20=>{const _0x3a661b=_0x3f3b95;_0x1bcff4[_0x3a661b(0x1aa)](_0x3a661b(0x1bf),_0x137d20[_0x3a661b(0x19a)][_0x3a661b(0x1b3)][_0x3a661b(0x1c9)]),_0x1bcff4[_0x3a661b(0x1a9)][_0x3a661b(0x191)][_0x3a661b(0x1b8)]();}),_0x38efd3;})),_0x43599a;}}
|