@ckeditor/ckeditor5-template 0.0.0-nightly-20251020.0 → 0.0.0-nightly-20251021.0
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={237:t=>{"use strict";t.exports=CKEditor5.dll},238:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},265: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")},374: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 c={};if(r)for(var o=0;o<this.length;o++){var a=this[o][0];null!=a&&(c[a]=!0)}for(var l=0;l<t.length;l++){var u=[].concat(t[l]);r&&c[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}},410:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach(function(n){t.setAttribute(n,e[n])})}},450: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={},c=[],o=0;o<t.length;o++){var a=t[o],l=r.base?a[0]+r.base:a[0],u=s[l]||0,p="".concat(l," ").concat(u);s[l]=u+1;var f=n(p),d={css:a[1],media:a[2],sourceMap:a[3],supports:a[4],layer:a[5]};if(-1!==f)e[f].references++,e[f].updater(d);else{var m=i(d,r);r.byIndex=o,e.splice(o,0,{identifier:p,updater:m,references:1})}c.push(p)}return c}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 c=0;c<s.length;c++){var o=n(s[c]);e[o].references--}for(var a=r(t,i),l=0;l<s.length;l++){var u=n(s[l]);0===e[u].references&&(e[u].updater(),e.splice(u,1))}s=a}}},453:t=>{"use strict";t.exports=function(t){return t[1]}},584:(t,e,n)=>{t.exports=n(237)("./src/utils.js")},774: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 c=void 0!==i.layer;c&&(s+="@layer".concat(i.layer.length>0?" ".concat(i.layer):""," {")),s+=i.css,c&&(s+="}"),i.media&&(s+="}"),i.supports&&(s+="}")}if(t.styleSheet)t.styleSheet.cssText=n(e,s);else{var o=document.createTextNode(s),a=t.childNodes;a[e]&&t.removeChild(a[e]),a.length?t.insertBefore(o,a[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)}}}},782:(t,e,n)=>{t.exports=n(237)("./src/core.js")},899:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var r=n(453),i=n.n(r),s=n(374),c=n.n(s)()(i());c.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=c}},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:()=>c,TemplateEditing:()=>u,TemplateUI:()=>U});var t=n(782);const e=s;function i(){const t=["editor","insertContent","toView","28dHEYzg","data","function","3894672lOhOEe","42139LIXRUd","320019ypZNZq","change","string","2500608vqSJWQ","1859020vhrEiW","916400nTiPDv","htmlProcessor","1727163tbhWSz","execute","toModel"];return(i=function(){return t})()}function s(t,e){const n=i();return(s=function(t,e){return n[t-=166]})(t,e)}!function(t){const e=s,n=t();for(;;)try{if(392276===-parseInt(e(172))/1*(parseInt(e(168))/2)+parseInt(e(180))/3+-parseInt(e(178))/4+-parseInt(e(177))/5+parseInt(e(171))/6+parseInt(e(173))/7+parseInt(e(176))/8)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(i);class c extends t.Command{[e(181)](t){const n=e,{model:r}=this[n(183)];let i;switch(typeof t){case n(175):i=t;break;case n(170):i=t()}n(175)==typeof i&&r[n(174)](()=>{const t=n,e=this[t(183)][t(169)][t(179)][t(167)](i),s=this[t(183)][t(169)][t(182)](e);r[t(166)](s)})}}const o=l;function a(){const t=["templateLicenseKeyUsageLimit","commands","insertTemplate","domainLimit","init","pluginName","TemplateEditing","templateLicenseKeyTrialLimit","expired","templateLicenseKeyDomainLimit","isOfficialPlugin","_licenseKeyCheckInterval","templateLicenseKeyNotAllowed","686FDWoeV","isPremiumPlugin","evaluationLimit","destroy","92784Ocmjul","invalid","featureNotAllowed","17306370EUQupl","templateLicenseKeyValid","get","4549ADORqp","24UDiqfP","7282572EuBbSM","58IJutbI","templateLicenseKeyExpired","editor","usageLimit","10792ODOnqu","add","trialLimit","_showLicenseError","licenseKey","9096990issRQL","Template","237693sVyHdb","9567MIXjSo","templateLicenseKeyEvaluationLimit","templateLicenseKeyInvalid","config"];return(a=function(){return t})()}function l(t,e){const n=a();return(l=function(t,e){return n[t-=226]})(t,e)}!function(t){const e=l,n=t();for(;;)try{if(919163===-parseInt(e(243))/1*(-parseInt(e(246))/2)+-parseInt(e(257))/3*(parseInt(e(244))/4)+parseInt(e(255))/5+parseInt(e(237))/6*(-parseInt(e(233))/7)+parseInt(e(250))/8*(-parseInt(e(258))/9)+parseInt(e(240))/10+parseInt(e(245))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(a);class u extends t.Plugin{[o(254)];[o(231)];static get[o(267)](){return o(226)}static get[o(230)](){return!0}static get[o(234)](){return!0}[o(266)](){const t=o,{editor:e}=this;e[t(263)][t(251)](t(264),new c(e)),this[t(254)]=this[t(248)][t(261)][t(242)](t(254));const n=this[t(248)];this[t(231)]=setInterval(()=>{const e=t;let r;for(const t in n){const i=t,s=n[i];if(e(241)==s||e(260)==s||e(247)==s||e(229)==s||e(232)==s||e(259)==s||e(227)==s||e(262)==s){delete n[i],r=s,clearInterval(this[e(231)]),this[e(231)]=void 0;break}}e(260)==r&&n[e(253)](e(238)),e(247)==r&&n[e(253)](e(228)),e(229)==r&&n[e(253)](e(265)),e(232)==r&&n[e(253)](e(239),e(256)),e(259)==r&&n[e(253)](e(235)),e(227)==r&&n[e(253)](e(252)),e(262)==r&&n[e(253)](e(249))},1e3)}[o(236)](){const t=o;super[t(236)](),this[t(231)]&&clearInterval(this[t(231)])}}var p=n(355),f=n(311),d=n(584);const m=k;!function(t){const e=k,n=t();for(;;)try{if(699131===parseInt(e(195))/1+-parseInt(e(207))/2*(-parseInt(e(180))/3)+-parseInt(e(183))/4+parseInt(e(184))/5*(-parseInt(e(185))/6)+-parseInt(e(201))/7+-parseInt(e(205))/8*(parseInt(e(191))/9)+-parseInt(e(203))/10*(-parseInt(e(196))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(g);class h extends f.ListView{[m(206)](t){const e=m;if(!t)return this[e(204)]();const n=new Map,r=this[e(186)][e(194)](r=>{const i=e,s=r[i(189)][i(197)](t);return r[i(208)]=!!s,r[i(189)][i(188)](s?t:null),s&&n[i(193)](r,s),r})[e(192)](w)[e(192)]((i=n,function(t,e){const n=k,r=i[n(200)](t),s=i[n(200)](e);return r&&!s?-1:s&&!r?1:r||s?r[n(198)]&&!s[n(198)]?-1:!r[n(198)]&&s[n(198)]?1:0:0}));var i;return this[e(186)][e(182)](),this[e(186)][e(199)](r),{resultsCount:n[e(181)],totalItemsCount:this[e(186)][e(202)]}}[m(204)](){const t=m,e=this[t(186)][t(194)](t=>t)[t(192)](w);return e[t(187)](e=>{const n=t;e[n(208)]=!0,e[n(189)][n(188)](null)}),this[t(186)][t(182)](),this[t(186)][t(199)](e),{resultsCount:e[t(202)],totalItemsCount:e[t(202)]}}}function k(t,e){const n=g();return(k=function(t,e){return n[t-=180]})(t,e)}function w(t,e){const n=m;return t[n(190)]-e[n(190)]}function g(){const t=["size","clear","3981448XNGODp","455feMXAh","45324SYZcNS","items","forEach","highlightText","buttonView","originalIndex","350487VGAZXV","sort","set","map","1275364RKYUGP","11ggqUCD","isMatching","title","addMany","get","378987WaiSTw","length","2686130wiZwTR","_resetFiltering","96gNHslM","filter","2358EEpHaV","isVisible","3459xLlMSy"];return(g=function(){return t})()}function v(){var t=["1893220iGtTpP","3688770jdMuKM","1247816WWbXHx","307116PTfQWA","3300619VdwWZD","originalIndex","buttonView","1155704qDIwlb","217530ATDysO"];return(v=function(){return t})()}var I=b;function b(t,e){var n=v();return(b=function(t,e){return n[t-=220]})(t,e)}!function(t){for(var e=b,n=t();;)try{if(416744===parseInt(e(226))/1+parseInt(e(221))/2+-parseInt(e(222))/3+parseInt(e(225))/4+parseInt(e(223))/5+-parseInt(e(224))/6+-parseInt(e(227))/7)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(v);class y extends f.ListItemView{[I(228)];[I(220)];constructor(t,e){var n=I;super(t),this[n(228)]=e,this[n(220)]=null}}const x=_;function _(t,e){const n=T();return(_=function(t,e){return n[t-=146]})(t,e)}function T(){const t=["templateDefinition","ck-template-form__description","isMatching","descriptionView","option","setTemplate","span","children","iconView","text","highlightText","push","element","destroy","9wKgIUZ","294618bvZCuC","titleView","labelView","ck-template-form__text-part","isColorInherited","textPartView","extendTemplate","8NtmQFf","set","match","div","description","title","remove","2047955Bivdoh","4178312IwogtX","add","locale","render","ck-button__label","326108kFxmNz","9390240MeNqOJ","ck-template-button","5371380GUlzeR","9nfHUhP","1022585gZHRYO"];return(T=function(){return t})()}!function(t){const e=_,n=t();for(;;)try{if(544931===parseInt(e(154))/1+parseInt(e(175))/2*(parseInt(e(158))/3)+-parseInt(e(182))/4*(parseInt(e(159))/5)+parseInt(e(157))/6+-parseInt(e(148))/7+-parseInt(e(149))/8*(-parseInt(e(174))/9)+-parseInt(e(155))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(T);class V extends f.ButtonView{[x(160)];[x(180)];constructor(t,e){const n=x;super(t),this[n(160)]=e,this[n(180)]=null;const{icon:r=p.IconTemplateGeneric}=e;this[n(183)]({withText:!0,class:n(156),role:n(164),icon:r}),this[n(168)][n(179)]=!1}[x(152)](){const t=x;super[t(152)](),this[t(180)]=new S(this[t(151)],this[t(160)],this[t(177)][t(172)].id),this[t(167)][t(147)](this[t(177)]),this[t(167)][t(150)](this[t(180)])}[x(173)](){const t=x;super[t(173)](),this[t(177)][t(173)]()}[x(162)](t){const e=x,{title:n,description:r}=this[e(160)],i=!!n[e(184)](t),s=!(!r||!r[e(184)](t));return i||s?{title:i,description:s}:null}[x(170)](t){const e=x;this[e(180)][e(170)](t)}}class S extends f.View{constructor(t,e,n){const r=x;super(t),this[r(146)]=e[r(146)],this[r(186)]=e[r(186)],this[r(176)]=new f.HighlightedTextView,this[r(176)][r(169)]=this[r(146)],this[r(176)][r(181)]({tag:r(166),attributes:{class:[r(153)],id:n}});const i=[this[r(176)]];this[r(186)]&&(this[r(163)]=new f.HighlightedTextView,this[r(163)][r(169)]=this[r(186)],this[r(163)][r(181)]({tag:"p",attributes:{class:[r(161)]}}),i[r(171)](this[r(163)])),this[r(165)]({tag:r(185),attributes:{class:["ck",r(178)]},children:i})}[x(170)](t){const e=x;this[e(176)][e(170)](t),this[e(186)]&&this[e(163)][e(170)](t)}}function L(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 M=n(450),P=n.n(M),E=n(774),N=n.n(E),O=n(265),C=n.n(O),A=n(410),K=n.n(A),j=n(238),D=n.n(j),B=n(899),R={attributes:{"data-cke":!0}};R.setAttributes=K(),R.insert=C().bind(null,"head"),R.domAPI=N(),R.insertStyleElement=D();P()(B.A,R);B.A&&B.A.locals&&B.A.locals;const q=z;function z(t,e){const n=Z();return(z=function(t,e){return n[t-=250]})(t,e)}!function(t){const e=z,n=t();for(;;)try{if(249353===-parseInt(e(279))/1+parseInt(e(296))/2+-parseInt(e(299))/3*(parseInt(e(305))/4)+parseInt(e(298))/5+parseInt(e(295))/6+-parseInt(e(293))/7*(-parseInt(e(267))/8)+-parseInt(e(314))/9*(parseInt(e(277))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Z);class U extends t.Plugin{static get[q(272)](){return q(291)}static get[q(263)](){return!0}static get[q(276)](){return!0}[q(307)](){const t=q,{editor:e}=this,n=e[t(265)][t(302)](t(264))||[];e.ui[t(251)][t(310)](t(284),r=>{const i=t,s=(0,f.createDropdown)(r),c=this[i(289)](r,n),o=new f.SearchTextView(r,{filteredView:c,queryView:{label:L(r,i(312))},class:i(309),infoView:{text:{notFound:{primary:t=>L(r,i(275),t),secondary:L(r,i(266))},noSearchableItems:{primary:L(r,i(270))}}}}),a=e[i(288)][i(302)](i(284));return o.on(i(278),(t,n)=>{const s=i;n[s(269)]&&n[s(269)][s(282)]&&e.ui[s(260)][s(300)](L(r,s(256),n[s(313)]))}),s[i(280)](i(252)).to(a),s[i(254)][i(287)][i(310)](o),s[i(261)][i(259)]({label:L(r,i(297)),icon:p.IconTemplate,tooltip:!0}),s.on(i(292),(t,e,n)=>{n||o[i(303)]()}),s}),e.ui[t(251)][t(310)](t(273),r=>{const i=t,s=e[i(288)][i(302)](i(284)),c=new f.MenuBarMenuView(r);c[i(261)][i(259)]({label:L(r,i(315)),icon:p.IconTemplate});const o=new f.MenuBarMenuListView(r);if(!n||!n[i(282)]){const t=new f.MenuBarMenuListItemView(r,c),n=new f.MenuBarMenuListItemButtonView(r);n[i(259)]({label:L(r,i(270))}),n[i(255)](i(304)).to(c),n.on(i(304),()=>{const t=i;e[t(262)][t(308)][t(268)]()}),t[i(287)][i(310)](n),o[i(286)][i(310)](t)}for(const t of n){const n=new f.MenuBarMenuListItemView(r,c),s=new f.MenuBarMenuListItemButtonView(r);s[i(259)]({class:i(258),label:t[i(271)],icon:t[i(311)]||p.IconTemplateGeneric}),s[i(255)](i(304)).to(c),s.on(i(304),()=>{const n=i;e[n(304)](n(284),t[n(290)]),e[n(262)][n(308)][n(268)]()}),n[i(287)][i(310)](s),o[i(286)][i(310)](n)}return c[i(254)][i(287)][i(310)](o),c[i(280)](i(252)).to(s,i(252)),c})}[q(283)](){!async function(t){const e=h([53,103,111,78,90,82,120,72,122,109,66,102,114,108,48,70,113,54,67,107,115,49,97,104,68,71,83,50,76,85,69,87,105,98,121,51,119,75,118,117,52,73,86,80,100,101,84,56,106,110,57,77,79,81,74,116,99,65,89,55,88,112]),n=window[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])},c=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 a(t){return t[h([115,116,97,114,116,115,87,105,116,104])](h([101,121]))?JSON[h([112,97,114,115,101])](l(t)):null}function l(t){return window[h([97,116,111,98])](t[h([114,101,112,108,97,99,101])](/-/g,h([43]))[h([114,101,112,108,97,99,101])](/_/g,h([47])))}function u(t){let e=5381;function n(t){for(let n=0;n<t[h([108,101,110,103,116,104])];n++){const r=t[h([99,104,97,114,67,111,100,101,65,116])](n);e=(e<<5)+e+r,e&=e}}return function t(e){Array[h([105,115,65,114,114,97,121])](e)?e[h([102,111,114,69,97,99,104])](t):e&&typeof e==h([111,98,106,101,99,116])?Object[h([101,110,116,114,105,101,115])](e)[h([115,111,114,116])]()[h([102,111,114,69,97,99,104])](([e,r])=>{n(e),t(r)}):n(window[h([83,116,114,105,110,103])](e))}(t),e>>>0}function p(t){return t[h([116,111,83,116,114,105,110,103])](16)[h([112,97,100,83,116,97,114,116])](8,h([48]))}function f(t){return t[h([115,112,108,105,116])]("")[h([114,101,118,101,114,115,101])]()[h([106,111,105,110])]("")}function m(){}function h(t){const e=z;return t[e(285)](t=>String[e(316)](t))[e(281)]("")}!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([103]);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 c==h([71,80,76])?h([78,111,116,65,108,108,111,119,101,100]):(t=function(){const t=c[h([115,112,108,105,116])](h([46]));return 3!=t[h([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=a(t);return e&&n()?e:null;function n(){const t=e[h([106,116,105])],n=window[h([112,97,114,115,101,73,110,116])](t[h([115,117,98,115,116,114,105,110,103])](t[h([108,101,110,103,116,104])]-8),16),r={...e,[h([106,116,105])]:t[h([115,117,98,115,116,114,105,110,103])](0,t[h([108,101,110,103,116,104])]-8)};return delete r[h([118,99])],u(r)==n}}}(),t?(t[h([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(m=function(t,e){return new(window[h([80,114,111,109,105,115,101])])(o=>{if(s())return o(h([86,97,108,105,100]));c(),r[h([100,101,99,111,114,97,116,101])](h([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let a=!1;const l=(0,d.uid)();function m(t){return!!t&&(typeof t===h([111,98,106,101,99,116])||typeof t===h([102,117,110,99,116,105,111,110]))&&typeof t[h([116,104,101,110])]===h([102,117,110,99,116,105,111,110])&&typeof t[h([99,97,116,99,104])]===h([102,117,110,99,116,105,111,110])}function k(r){a(r)[h([116,104,101,110])](t=>t&&t[h([115,116,97,116,117,115])]==h([111,107])?p(u(l+e))!=t[h([118,101,114,105,102,105,99,97,116,105,111,110])]?h([85,115,97,103,101,76,105,109,105,116]):h([86,97,108,105,100]):h([85,115,97,103,101,76,105,109,105,116]))[h([116,104,101,110])](t=>(s(),t),()=>{const t=c();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 c(){const e=h([108,108,99,116,45])+p(u(t)),n=window[h([108,111,99,97,108,83,116,111,114,97,103,101])][h([103,101,116,73,116,101,109])](e);return n?window[h([112,97,114,115,101,73,110,116])](f(n),16)*i:null}function a(t){return new(window[h([80,114,111,109,105,115,101])])((e,n)=>{t[h([116,104,101,110])](e,n),window[h([115,101,116,84,105,109,101,111,117,116])](n,12e4)})}}r[h([111,110])](h([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(e,n)=>{if(n[0]!=t)return 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])])&&(a=!0,k(t[h([114,101,116,117,114,110])]))},{[h([112,114,105,111,114,105,116,121])]:h([108,111,119])}),i[h([116,104,101,110])](()=>{a||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 c(){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=c[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=a(e);n&&n[h([97,108,103])]==h([69,83,50,53,54])||(t=!1)}async function n(e,n,r){const i=window[h([85,105,110,116,56,65,114,114,97,121])][h([102,114,111,109])](l(r),t=>t[h([99,104,97,114,67,111,100,101,65,116])](0)),c=(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 a=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])}},a,i,c)||(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])]||e[h([105,110,99,108,117,100,101,115])](h([84,82,73,76,73,85,77]))&&window[h([103,108,111,98])]&&window[h([103,108,111,98])][h([116,114,105,108,105,117,109,86,101,114,115,105,111,110])]))}()?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:1760918400;return t[h([101,120,112])]<e}()?h([69,120,112,105,114,101,100]):function(){const e=z,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(257)]);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)}[q(289)](t,e){const n=q,{editor:r}=this,i=new h(t);return i[n(253)]({attributes:{role:n(301),class:[n(294)]}}),i[n(286)][n(274)](e[n(285)]((e,i)=>{const s=n,c=new y(t,i),o=new V(t,e);return c[s(261)]=o,c[s(287)][s(310)](o),c[s(261)].on(s(304),t=>{const e=s;r[e(304)](e(284),t[e(250)][e(306)][e(290)]),r[e(262)][e(308)][e(268)]()}),c})),i}}function Z(){const t=["componentFactory","isEnabled","extendTemplate","panelView","delegate","%0 templates found","href","ck-template-button","set","ariaLiveAnnouncer","buttonView","editing","isOfficialPlugin","template.definitions","config","Please try a different phrase or check the spelling.","53352qaKqFn","focus","query","No templates available.","title","pluginName","menuBar:insertTemplate","addMany",'No templates were found matching "%0".',"isPremiumPlugin","10RjieEg","search","68645TYVuyI","bind","join","length","afterInit","insertTemplate","map","items","children","commands","_createTemplateListView","data","TemplateUI","change:isOpen","399ptdfdL","ck-template-list","626658poZUYl","40080SwcoST","Insert template","1504330fpcYOK","123HrxgxE","announce","listbox","get","reset","execute","29688iTGoik","templateDefinition","init","view","ck-template-form","add","icon","Search template","resultsCount","1648638YyDNpZ","Template","fromCharCode","source"];return(Z=function(){return t})()}function H(){var t=["49483PEYCYQ","2421536fkXyTo","isPremiumPlugin","1644785VXmDyn","requires","96OQzqId","pluginName","8ibyizZ","867474BDmyfi","isOfficialPlugin","Template","379077IXFwkx","3561486OhRnfB","196053kgtjRy"];return(H=function(){return t})()}var Y=W;function W(t,e){var n=H();return(W=function(t,e){return n[t-=210]})(t,e)}!function(t){for(var e=W,n=t();;)try{if(572183===parseInt(e(211))/1+parseInt(e(219))/2*(-parseInt(e(223))/3)+parseInt(e(213))/4+-parseInt(e(215))/5+parseInt(e(210))/6+-parseInt(e(212))/7*(parseInt(e(217))/8)+parseInt(e(220))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(H);class X extends t.Plugin{static get[Y(216)](){return[u,U]}static get[Y(218)](){return Y(222)}static get[Y(221)](){return!0}static get[Y(214)](){return!0}}function F(t,e){var n=Q();return(F=function(t,e){return n[t-=343]})(t,e)}function Q(){var t=["4ZskgEj","11295204cKDSlx","4016330RVBnQs","20269UcYJSo","11bfsvkQ","46dAljxP","28rxqPXW","1179999sRCoKC","1680710RBPlKw","416872YAffft","660384Mrxdix","9WJvgSt"];return(Q=function(){return t})()}!function(t){for(var e=F,n=t();;)try{if(245610===parseInt(e(347))/1*(-parseInt(e(349))/2)+parseInt(e(351))/3*(-parseInt(e(344))/4)+-parseInt(e(352))/5+-parseInt(e(354))/6+parseInt(e(350))/7*(parseInt(e(353))/8)+parseInt(e(343))/9*(parseInt(e(346))/10)+parseInt(e(348))/11*(parseInt(e(345))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Q)})(),(window.CKEditor5=window.CKEditor5||{}).template=r})();
|
|
5
|
+
*/(()=>{var t={237:t=>{"use strict";t.exports=CKEditor5.dll},238:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},265: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")},374: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 c={};if(r)for(var o=0;o<this.length;o++){var a=this[o][0];null!=a&&(c[a]=!0)}for(var l=0;l<t.length;l++){var u=[].concat(t[l]);r&&c[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}},410:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach(function(n){t.setAttribute(n,e[n])})}},450: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={},c=[],o=0;o<t.length;o++){var a=t[o],l=r.base?a[0]+r.base:a[0],u=s[l]||0,p="".concat(l," ").concat(u);s[l]=u+1;var f=n(p),d={css:a[1],media:a[2],sourceMap:a[3],supports:a[4],layer:a[5]};if(-1!==f)e[f].references++,e[f].updater(d);else{var m=i(d,r);r.byIndex=o,e.splice(o,0,{identifier:p,updater:m,references:1})}c.push(p)}return c}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 c=0;c<s.length;c++){var o=n(s[c]);e[o].references--}for(var a=r(t,i),l=0;l<s.length;l++){var u=n(s[l]);0===e[u].references&&(e[u].updater(),e.splice(u,1))}s=a}}},453:t=>{"use strict";t.exports=function(t){return t[1]}},584:(t,e,n)=>{t.exports=n(237)("./src/utils.js")},774: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 c=void 0!==i.layer;c&&(s+="@layer".concat(i.layer.length>0?" ".concat(i.layer):""," {")),s+=i.css,c&&(s+="}"),i.media&&(s+="}"),i.supports&&(s+="}")}if(t.styleSheet)t.styleSheet.cssText=n(e,s);else{var o=document.createTextNode(s),a=t.childNodes;a[e]&&t.removeChild(a[e]),a.length?t.insertBefore(o,a[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)}}}},782:(t,e,n)=>{t.exports=n(237)("./src/core.js")},899:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var r=n(453),i=n.n(r),s=n(374),c=n.n(s)()(i());c.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=c}},e={};function n(r){var i=e[r];if(void 0!==i)return i.exports;var s=e[r]={id:r,exports:{}};return t[r](s,s.exports,n),s.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var r={};(()=>{"use strict";n.r(r),n.d(r,{Template:()=>Q,TemplateCommand:()=>c,TemplateEditing:()=>u,TemplateUI:()=>Z});var t=n(782);const e=s;function i(){const t=["editor","insertContent","toView","28dHEYzg","data","function","3894672lOhOEe","42139LIXRUd","320019ypZNZq","change","string","2500608vqSJWQ","1859020vhrEiW","916400nTiPDv","htmlProcessor","1727163tbhWSz","execute","toModel"];return(i=function(){return t})()}function s(t,e){const n=i();return(s=function(t,e){return n[t-=166]})(t,e)}!function(t){const e=s,n=t();for(;;)try{if(392276===-parseInt(e(172))/1*(parseInt(e(168))/2)+parseInt(e(180))/3+-parseInt(e(178))/4+-parseInt(e(177))/5+parseInt(e(171))/6+parseInt(e(173))/7+parseInt(e(176))/8)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(i);class c extends t.Command{[e(181)](t){const n=e,{model:r}=this[n(183)];let i;switch(typeof t){case n(175):i=t;break;case n(170):i=t()}n(175)==typeof i&&r[n(174)](()=>{const t=n,e=this[t(183)][t(169)][t(179)][t(167)](i),s=this[t(183)][t(169)][t(182)](e);r[t(166)](s)})}}const o=l;function a(){const t=["templateLicenseKeyUsageLimit","commands","insertTemplate","domainLimit","init","pluginName","TemplateEditing","templateLicenseKeyTrialLimit","expired","templateLicenseKeyDomainLimit","isOfficialPlugin","_licenseKeyCheckInterval","templateLicenseKeyNotAllowed","686FDWoeV","isPremiumPlugin","evaluationLimit","destroy","92784Ocmjul","invalid","featureNotAllowed","17306370EUQupl","templateLicenseKeyValid","get","4549ADORqp","24UDiqfP","7282572EuBbSM","58IJutbI","templateLicenseKeyExpired","editor","usageLimit","10792ODOnqu","add","trialLimit","_showLicenseError","licenseKey","9096990issRQL","Template","237693sVyHdb","9567MIXjSo","templateLicenseKeyEvaluationLimit","templateLicenseKeyInvalid","config"];return(a=function(){return t})()}function l(t,e){const n=a();return(l=function(t,e){return n[t-=226]})(t,e)}!function(t){const e=l,n=t();for(;;)try{if(919163===-parseInt(e(243))/1*(-parseInt(e(246))/2)+-parseInt(e(257))/3*(parseInt(e(244))/4)+parseInt(e(255))/5+parseInt(e(237))/6*(-parseInt(e(233))/7)+parseInt(e(250))/8*(-parseInt(e(258))/9)+parseInt(e(240))/10+parseInt(e(245))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(a);class u extends t.Plugin{[o(254)];[o(231)];static get[o(267)](){return o(226)}static get[o(230)](){return!0}static get[o(234)](){return!0}[o(266)](){const t=o,{editor:e}=this;e[t(263)][t(251)](t(264),new c(e)),this[t(254)]=this[t(248)][t(261)][t(242)](t(254));const n=this[t(248)];this[t(231)]=setInterval(()=>{const e=t;let r;for(const t in n){const i=t,s=n[i];if(e(241)==s||e(260)==s||e(247)==s||e(229)==s||e(232)==s||e(259)==s||e(227)==s||e(262)==s){delete n[i],r=s,clearInterval(this[e(231)]),this[e(231)]=void 0;break}}e(260)==r&&n[e(253)](e(238)),e(247)==r&&n[e(253)](e(228)),e(229)==r&&n[e(253)](e(265)),e(232)==r&&n[e(253)](e(239),e(256)),e(259)==r&&n[e(253)](e(235)),e(227)==r&&n[e(253)](e(252)),e(262)==r&&n[e(253)](e(249))},1e3)}[o(236)](){const t=o;super[t(236)](),this[t(231)]&&clearInterval(this[t(231)])}}var p=n(355),f=n(311),d=n(584);const m=k;!function(t){const e=k,n=t();for(;;)try{if(699131===parseInt(e(195))/1+-parseInt(e(207))/2*(-parseInt(e(180))/3)+-parseInt(e(183))/4+parseInt(e(184))/5*(-parseInt(e(185))/6)+-parseInt(e(201))/7+-parseInt(e(205))/8*(parseInt(e(191))/9)+-parseInt(e(203))/10*(-parseInt(e(196))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(g);class h extends f.ListView{[m(206)](t){const e=m;if(!t)return this[e(204)]();const n=new Map,r=this[e(186)][e(194)](r=>{const i=e,s=r[i(189)][i(197)](t);return r[i(208)]=!!s,r[i(189)][i(188)](s?t:null),s&&n[i(193)](r,s),r})[e(192)](w)[e(192)]((i=n,function(t,e){const n=k,r=i[n(200)](t),s=i[n(200)](e);return r&&!s?-1:s&&!r?1:r||s?r[n(198)]&&!s[n(198)]?-1:!r[n(198)]&&s[n(198)]?1:0:0}));var i;return this[e(186)][e(182)](),this[e(186)][e(199)](r),{resultsCount:n[e(181)],totalItemsCount:this[e(186)][e(202)]}}[m(204)](){const t=m,e=this[t(186)][t(194)](t=>t)[t(192)](w);return e[t(187)](e=>{const n=t;e[n(208)]=!0,e[n(189)][n(188)](null)}),this[t(186)][t(182)](),this[t(186)][t(199)](e),{resultsCount:e[t(202)],totalItemsCount:e[t(202)]}}}function k(t,e){const n=g();return(k=function(t,e){return n[t-=180]})(t,e)}function w(t,e){const n=m;return t[n(190)]-e[n(190)]}function g(){const t=["size","clear","3981448XNGODp","455feMXAh","45324SYZcNS","items","forEach","highlightText","buttonView","originalIndex","350487VGAZXV","sort","set","map","1275364RKYUGP","11ggqUCD","isMatching","title","addMany","get","378987WaiSTw","length","2686130wiZwTR","_resetFiltering","96gNHslM","filter","2358EEpHaV","isVisible","3459xLlMSy"];return(g=function(){return t})()}function v(){var t=["1893220iGtTpP","3688770jdMuKM","1247816WWbXHx","307116PTfQWA","3300619VdwWZD","originalIndex","buttonView","1155704qDIwlb","217530ATDysO"];return(v=function(){return t})()}var I=b;function b(t,e){var n=v();return(b=function(t,e){return n[t-=220]})(t,e)}!function(t){for(var e=b,n=t();;)try{if(416744===parseInt(e(226))/1+parseInt(e(221))/2+-parseInt(e(222))/3+parseInt(e(225))/4+parseInt(e(223))/5+-parseInt(e(224))/6+-parseInt(e(227))/7)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(v);class y extends f.ListItemView{[I(228)];[I(220)];constructor(t,e){var n=I;super(t),this[n(228)]=e,this[n(220)]=null}}const x=_;function _(t,e){const n=T();return(_=function(t,e){return n[t-=146]})(t,e)}function T(){const t=["templateDefinition","ck-template-form__description","isMatching","descriptionView","option","setTemplate","span","children","iconView","text","highlightText","push","element","destroy","9wKgIUZ","294618bvZCuC","titleView","labelView","ck-template-form__text-part","isColorInherited","textPartView","extendTemplate","8NtmQFf","set","match","div","description","title","remove","2047955Bivdoh","4178312IwogtX","add","locale","render","ck-button__label","326108kFxmNz","9390240MeNqOJ","ck-template-button","5371380GUlzeR","9nfHUhP","1022585gZHRYO"];return(T=function(){return t})()}!function(t){const e=_,n=t();for(;;)try{if(544931===parseInt(e(154))/1+parseInt(e(175))/2*(parseInt(e(158))/3)+-parseInt(e(182))/4*(parseInt(e(159))/5)+parseInt(e(157))/6+-parseInt(e(148))/7+-parseInt(e(149))/8*(-parseInt(e(174))/9)+-parseInt(e(155))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(T);class V extends f.ButtonView{[x(160)];[x(180)];constructor(t,e){const n=x;super(t),this[n(160)]=e,this[n(180)]=null;const{icon:r=p.IconTemplateGeneric}=e;this[n(183)]({withText:!0,class:n(156),role:n(164),icon:r}),this[n(168)][n(179)]=!1}[x(152)](){const t=x;super[t(152)](),this[t(180)]=new L(this[t(151)],this[t(160)],this[t(177)][t(172)].id),this[t(167)][t(147)](this[t(177)]),this[t(167)][t(150)](this[t(180)])}[x(173)](){const t=x;super[t(173)](),this[t(177)][t(173)]()}[x(162)](t){const e=x,{title:n,description:r}=this[e(160)],i=!!n[e(184)](t),s=!(!r||!r[e(184)](t));return i||s?{title:i,description:s}:null}[x(170)](t){const e=x;this[e(180)][e(170)](t)}}class L extends f.View{constructor(t,e,n){const r=x;super(t),this[r(146)]=e[r(146)],this[r(186)]=e[r(186)],this[r(176)]=new f.HighlightedTextView,this[r(176)][r(169)]=this[r(146)],this[r(176)][r(181)]({tag:r(166),attributes:{class:[r(153)],id:n}});const i=[this[r(176)]];this[r(186)]&&(this[r(163)]=new f.HighlightedTextView,this[r(163)][r(169)]=this[r(186)],this[r(163)][r(181)]({tag:"p",attributes:{class:[r(161)]}}),i[r(171)](this[r(163)])),this[r(165)]({tag:r(185),attributes:{class:["ck",r(178)]},children:i})}[x(170)](t){const e=x;this[e(176)][e(170)](t),this[e(186)]&&this[e(163)][e(170)](t)}}function M(t,e,...n){const r=t.t;switch(e){case'No templates were found matching "%0".':return r('No templates were found matching "%0".',...n);case"Please try a different phrase or check the spelling.":return r("Please try a different phrase or check the spelling.");case"No templates available.":return r("No templates available.");case"%0 templates found":return r("%0 templates found",...n);case"Search template":return r("Search template");case"Template":return r("Template");case"Insert template":return r("Insert template");default:return e}}var S=n(450),P=n.n(S),N=n(774),O=n.n(N),C=n(265),E=n.n(C),A=n(410),j=n.n(A),K=n(238),B=n.n(K),D=n(899),z={attributes:{"data-cke":!0}};z.setAttributes=j(),z.insert=E().bind(null,"head"),z.domAPI=O(),z.insertStyleElement=B();P()(D.A,z);D.A&&D.A.locals&&D.A.locals;function R(t,e){const n=U();return(R=function(t,e){return n[t-=205]})(t,e)}const q=R;function U(){const t=["menuBar:insertTemplate","42IuZxrZ","config","source","extendTemplate","commands","TemplateUI","No templates available.","execute","1249851HGQqtO","afterInit","Please try a different phrase or check the spelling.","insertTemplate","announce","init","_createTemplateListView","set","query","join","editing","icon","length","258728wvfkAo","848956dHWVGE","search","405LTZTna","isOfficialPlugin","buttonView","ck-template-form","isPremiumPlugin","pluginName","view","%0 templates found","href","ariaLiveAnnouncer","map","listbox","381569AXUBzz","183484BLgSlm","addMany","delegate","Insert template","panelView","ck-template-list","add","reset","isEnabled","componentFactory",'No templates were found matching "%0".',"Template","template.definitions","1873910IMcdrP","change:isOpen","bind","focus","children","get","templateDefinition","data","186431mmlNNW","ck-template-button","Search template","resultsCount","fromCharCode","items","title"];return(U=function(){return t})()}!function(t){const e=R,n=t();for(;;)try{if(216443===-parseInt(e(253))/1+-parseInt(e(254))/2+-parseInt(e(225))/3+parseInt(e(239))/4+-parseInt(e(267))/5+parseInt(e(217))/6*(-parseInt(e(209))/7)+-parseInt(e(238))/8*(-parseInt(e(241))/9))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(U);class Z extends t.Plugin{static get[q(246)](){return q(222)}static get[q(242)](){return!0}static get[q(245)](){return!0}[q(230)](){const t=q,{editor:e}=this,n=e[t(218)][t(206)](t(266))||[];e.ui[t(263)][t(260)](t(228),r=>{const i=t,s=(0,f.createDropdown)(r),c=this[i(231)](r,n),o=new f.SearchTextView(r,{filteredView:c,queryView:{label:M(r,i(211))},class:i(244),infoView:{text:{notFound:{primary:t=>M(r,i(264),t),secondary:M(r,i(227))},noSearchableItems:{primary:M(r,i(223))}}}}),a=e[i(221)][i(206)](i(228));return o.on(i(240),(t,n)=>{const s=i;n[s(233)]&&n[s(233)][s(237)]&&e.ui[s(250)][s(229)](M(r,s(248),n[s(212)]))}),s[i(269)](i(262)).to(a),s[i(258)][i(205)][i(260)](o),s[i(243)][i(232)]({label:M(r,i(257)),icon:p.IconTemplate,tooltip:!0}),s.on(i(268),(t,e,n)=>{n||o[i(261)]()}),s}),e.ui[t(263)][t(260)](t(216),r=>{const i=t,s=e[i(221)][i(206)](i(228)),c=new f.MenuBarMenuView(r);c[i(243)][i(232)]({label:M(r,i(265)),icon:p.IconTemplate});const o=new f.MenuBarMenuListView(r);if(!n||!n[i(237)]){const t=new f.MenuBarMenuListItemView(r,c),n=new f.MenuBarMenuListItemButtonView(r);n[i(232)]({label:M(r,i(223))}),n[i(256)](i(224)).to(c),n.on(i(224),()=>{const t=i;e[t(235)][t(247)][t(270)]()}),t[i(205)][i(260)](n),o[i(214)][i(260)](t)}for(const t of n){const n=new f.MenuBarMenuListItemView(r,c),s=new f.MenuBarMenuListItemButtonView(r);s[i(232)]({class:i(210),label:t[i(215)],icon:t[i(236)]||p.IconTemplateGeneric}),s[i(256)](i(224)).to(c),s.on(i(224),()=>{const n=i;e[n(224)](n(228),t[n(208)]),e[n(235)][n(247)][n(270)]()}),n[i(205)][i(260)](s),o[i(214)][i(260)](n)}return c[i(258)][i(205)][i(260)](o),c[i(269)](i(262)).to(s,i(262)),c})}[q(226)](){!async function(t){const e=h([53,103,111,78,90,82,120,72,122,109,66,102,114,108,48,70,113,54,67,107,115,49,97,104,68,71,83,50,76,85,69,87,105,98,121,51,119,75,118,117,52,73,86,80,100,101,84,56,106,110,57,77,79,81,74,116,99,65,89,55,88,112]),n=window[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])},c=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 a(t){return t[h([115,116,97,114,116,115,87,105,116,104])](h([101,121]))?JSON[h([112,97,114,115,101])](l(t)):null}function l(t){return window[h([97,116,111,98])](t[h([114,101,112,108,97,99,101])](/-/g,h([43]))[h([114,101,112,108,97,99,101])](/_/g,h([47])))}function u(t){let e=5381;function n(t){for(let n=0;n<t[h([108,101,110,103,116,104])];n++){const r=t[h([99,104,97,114,67,111,100,101,65,116])](n);e=(e<<5)+e+r,e&=e}}return function t(e){Array[h([105,115,65,114,114,97,121])](e)?e[h([102,111,114,69,97,99,104])](t):e&&typeof e==h([111,98,106,101,99,116])?Object[h([101,110,116,114,105,101,115])](e)[h([115,111,114,116])]()[h([102,111,114,69,97,99,104])](([e,r])=>{n(e),t(r)}):n(window[h([83,116,114,105,110,103])](e))}(t),e>>>0}function p(t){return t[h([116,111,83,116,114,105,110,103])](16)[h([112,97,100,83,116,97,114,116])](8,h([48]))}function f(t){return t[h([115,112,108,105,116])]("")[h([114,101,118,101,114,115,101])]()[h([106,111,105,110])]("")}function m(){}function h(t){const e=R;return t[e(251)](t=>String[e(213)](t))[e(234)]("")}!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([103]);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 c==h([71,80,76])?h([78,111,116,65,108,108,111,119,101,100]):(t=function(){const t=c[h([115,112,108,105,116])](h([46]));return 3!=t[h([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=a(t);return e&&n()?e:null;function n(){const t=e[h([106,116,105])],n=window[h([112,97,114,115,101,73,110,116])](t[h([115,117,98,115,116,114,105,110,103])](t[h([108,101,110,103,116,104])]-8),16),r={...e,[h([106,116,105])]:t[h([115,117,98,115,116,114,105,110,103])](0,t[h([108,101,110,103,116,104])]-8)};return delete r[h([118,99])],u(r)==n}}}(),t?(t[h([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(m=function(t,e){return new(window[h([80,114,111,109,105,115,101])])(o=>{if(s())return o(h([86,97,108,105,100]));c(),r[h([100,101,99,111,114,97,116,101])](h([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let a=!1;const l=(0,d.uid)();function m(t){return!!t&&(typeof t===h([111,98,106,101,99,116])||typeof t===h([102,117,110,99,116,105,111,110]))&&typeof t[h([116,104,101,110])]===h([102,117,110,99,116,105,111,110])&&typeof t[h([99,97,116,99,104])]===h([102,117,110,99,116,105,111,110])}function k(r){a(r)[h([116,104,101,110])](t=>t&&t[h([115,116,97,116,117,115])]==h([111,107])?p(u(l+e))!=t[h([118,101,114,105,102,105,99,97,116,105,111,110])]?h([85,115,97,103,101,76,105,109,105,116]):h([86,97,108,105,100]):h([85,115,97,103,101,76,105,109,105,116]))[h([116,104,101,110])](t=>(s(),t),()=>{const t=c();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 c(){const e=h([108,108,99,116,45])+p(u(t)),n=window[h([108,111,99,97,108,83,116,111,114,97,103,101])][h([103,101,116,73,116,101,109])](e);return n?window[h([112,97,114,115,101,73,110,116])](f(n),16)*i:null}function a(t){return new(window[h([80,114,111,109,105,115,101])])((e,n)=>{t[h([116,104,101,110])](e,n),window[h([115,101,116,84,105,109,101,111,117,116])](n,12e4)})}}r[h([111,110])](h([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(e,n)=>{if(n[0]!=t)return 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])])&&(a=!0,k(t[h([114,101,116,117,114,110])]))},{[h([112,114,105,111,114,105,116,121])]:h([108,111,119])}),i[h([116,104,101,110])](()=>{a||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 c(){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=c[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=a(e);n&&n[h([97,108,103])]==h([69,83,50,53,54])||(t=!1)}async function n(e,n,r){const i=window[h([85,105,110,116,56,65,114,114,97,121])][h([102,114,111,109])](l(r),t=>t[h([99,104,97,114,67,111,100,101,65,116])](0)),c=(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 a=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])}},a,i,c)||(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])]||e[h([105,110,99,108,117,100,101,115])](h([84,82,73,76,73,85,77]))&&window[h([103,108,111,98])]&&window[h([103,108,111,98])][h([116,114,105,108,105,117,109,86,101,114,115,105,111,110])]))}()?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:1761004800;return t[h([101,120,112])]<e}()?h([69,120,112,105,114,101,100]):function(){const e=R,n=t[h([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[h([108,101,110,103,116,104])])return!0;const{hostname:r}=new URL(window[h([108,111,99,97,116,105,111,110])][e(249)]);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)}[q(231)](t,e){const n=q,{editor:r}=this,i=new h(t);return i[n(220)]({attributes:{role:n(252),class:[n(259)]}}),i[n(214)][n(255)](e[n(251)]((e,i)=>{const s=n,c=new y(t,i),o=new V(t,e);return c[s(243)]=o,c[s(205)][s(260)](o),c[s(243)].on(s(224),t=>{const e=s;r[e(224)](e(228),t[e(219)][e(207)][e(208)]),r[e(235)][e(247)][e(270)]()}),c})),i}}function H(){var t=["49483PEYCYQ","2421536fkXyTo","isPremiumPlugin","1644785VXmDyn","requires","96OQzqId","pluginName","8ibyizZ","867474BDmyfi","isOfficialPlugin","Template","379077IXFwkx","3561486OhRnfB","196053kgtjRy"];return(H=function(){return t})()}var W=X;function X(t,e){var n=H();return(X=function(t,e){return n[t-=210]})(t,e)}!function(t){for(var e=X,n=t();;)try{if(572183===parseInt(e(211))/1+parseInt(e(219))/2*(-parseInt(e(223))/3)+parseInt(e(213))/4+-parseInt(e(215))/5+parseInt(e(210))/6+-parseInt(e(212))/7*(parseInt(e(217))/8)+parseInt(e(220))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(H);class Q extends t.Plugin{static get[W(216)](){return[u,Z]}static get[W(218)](){return W(222)}static get[W(221)](){return!0}static get[W(214)](){return!0}}function F(t,e){var n=G();return(F=function(t,e){return n[t-=343]})(t,e)}function G(){var t=["4ZskgEj","11295204cKDSlx","4016330RVBnQs","20269UcYJSo","11bfsvkQ","46dAljxP","28rxqPXW","1179999sRCoKC","1680710RBPlKw","416872YAffft","660384Mrxdix","9WJvgSt"];return(G=function(){return t})()}!function(t){for(var e=F,n=t();;)try{if(245610===parseInt(e(347))/1*(-parseInt(e(349))/2)+parseInt(e(351))/3*(-parseInt(e(344))/4)+-parseInt(e(352))/5+-parseInt(e(354))/6+parseInt(e(350))/7*(parseInt(e(353))/8)+parseInt(e(343))/9*(parseInt(e(346))/10)+parseInt(e(348))/11*(parseInt(e(345))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(G)})(),(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 _0x4eba1d,Plugin as _0xc89001}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconTemplateGeneric as _0x39769b,IconTemplate as _0x3989ea}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ListView as _0x39cc0c,ListItemView as _0x318a7a,ButtonView as _0x894196,View as _0x425539,HighlightedTextView as _0x291c26,createDropdown as _0x211f29,SearchTextView as _0x359f70,MenuBarMenuView as _0x16ca8f,MenuBarMenuListView as _0x309300,MenuBarMenuListItemView as _0x2c1cd8,MenuBarMenuListItemButtonView as _0x6878a2}from'@ckeditor/ckeditor5-ui/dist/index.js';import{uid as _0x517c4f}from'@ckeditor/ckeditor5-utils/dist/index.js';class a extends _0x4eba1d{['execute'](_0x224958){const {model:_0x579a02}=this['editor'];let _0x2726e2;switch(typeof _0x224958){case'string':_0x2726e2=_0x224958;break;case'function':_0x2726e2=_0x224958();}'string'==typeof _0x2726e2&&_0x579a02['change'](()=>{const _0x28b991=this['editor']['data']['htmlProcessor']['toView'](_0x2726e2),_0x4436e9=this['editor']['data']['toModel'](_0x28b991);_0x579a02['insertContent'](_0x4436e9);});}}class i extends _0xc89001{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TemplateEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x37e905}=this;_0x37e905['commands']['add']('insertTemplate',new a(_0x37e905)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x44ce28=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x39b13e;for(const _0x12e65e in _0x44ce28){const _0x124163=_0x12e65e,_0x581b10=_0x44ce28[_0x124163];if('templateLicenseKeyValid'==_0x581b10||'templateLicenseKeyInvalid'==_0x581b10||'templateLicenseKeyExpired'==_0x581b10||'templateLicenseKeyDomainLimit'==_0x581b10||'templateLicenseKeyNotAllowed'==_0x581b10||'templateLicenseKeyEvaluationLimit'==_0x581b10||'templateLicenseKeyTrialLimit'==_0x581b10||'templateLicenseKeyUsageLimit'==_0x581b10){delete _0x44ce28[_0x124163],_0x39b13e=_0x581b10,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'templateLicenseKeyInvalid'==_0x39b13e&&_0x44ce28['_showLicenseError']('invalid'),'templateLicenseKeyExpired'==_0x39b13e&&_0x44ce28['_showLicenseError']('expired'),'templateLicenseKeyDomainLimit'==_0x39b13e&&_0x44ce28['_showLicenseError']('domainLimit'),'templateLicenseKeyNotAllowed'==_0x39b13e&&_0x44ce28['_showLicenseError']('featureNotAllowed','Template'),'templateLicenseKeyEvaluationLimit'==_0x39b13e&&_0x44ce28['_showLicenseError']('evaluationLimit'),'templateLicenseKeyTrialLimit'==_0x39b13e&&_0x44ce28['_showLicenseError']('trialLimit'),'templateLicenseKeyUsageLimit'==_0x39b13e&&_0x44ce28['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class y extends _0x39cc0c{['filter'](_0x1725af){if(!_0x1725af)return this['_resetFiltering']();const _0x20a719=new Map(),_0x16e3d1=this['items']['map'](_0xda8a08=>{const _0x40a453=_0xda8a08['buttonView']['isMatching'](_0x1725af);return _0xda8a08['isVisible']=!!_0x40a453,_0xda8a08['buttonView']['highlightText'](_0x40a453?_0x1725af:null),_0x40a453&&_0x20a719['set'](_0xda8a08,_0x40a453),_0xda8a08;})['sort'](j)['sort'](function(_0x4100a4){return function(_0x308812,_0x5b239a){const _0x4abbec=_0x4100a4['get'](_0x308812),_0x1122a3=_0x4100a4['get'](_0x5b239a);return _0x4abbec&&!_0x1122a3?-0x1:_0x1122a3&&!_0x4abbec?0x1:_0x4abbec||_0x1122a3?_0x4abbec['title']&&!_0x1122a3['title']?-0x1:!_0x4abbec['title']&&_0x1122a3['title']?0x1:0x0:0x0;};}(_0x20a719));return this['items']['clear'](),this['items']['addMany'](_0x16e3d1),{'resultsCount':_0x20a719['size'],'totalItemsCount':this['items']['length']};}['_resetFiltering'](){const _0x4025c2=this['items']['map'](_0x3d3ce2=>_0x3d3ce2)['sort'](j);return _0x4025c2['forEach'](_0x439f0b=>{_0x439f0b['isVisible']=!0x0,_0x439f0b['buttonView']['highlightText'](null);}),this['items']['clear'](),this['items']['addMany'](_0x4025c2),{'resultsCount':_0x4025c2['length'],'totalItemsCount':_0x4025c2['length']};}}function j(_0x59e6dd,_0x211cf9){return _0x59e6dd['originalIndex']-_0x211cf9['originalIndex'];}class b extends _0x318a7a{['originalIndex'];['buttonView'];constructor(_0x5f9225,_0x329a81){super(_0x5f9225),this['originalIndex']=_0x329a81,this['buttonView']=null;}}class h extends _0x894196{['templateDefinition'];['textPartView'];constructor(_0x917094,_0x2e4b1c){super(_0x917094),this['templateDefinition']=_0x2e4b1c,this['textPartView']=null;const {icon:_0x1a609b=_0x39769b}=_0x2e4b1c;this['set']({'withText':!0x0,'class':'ck-template-button','role':'option','icon':_0x1a609b}),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'](_0x9a6b7e){const {title:_0x175869,description:_0x2941bd}=this['templateDefinition'],_0x18b153=!!_0x175869['match'](_0x9a6b7e),_0x414a97=!(!_0x2941bd||!_0x2941bd['match'](_0x9a6b7e));return _0x18b153||_0x414a97?{'title':_0x18b153,'description':_0x414a97}:null;}['highlightText'](_0x34d388){this['textPartView']['highlightText'](_0x34d388);}}class L extends _0x425539{constructor(_0x44a194,_0x539dba,_0x399061){super(_0x44a194),this['title']=_0x539dba['title'],this['description']=_0x539dba['description'],this['titleView']=new _0x291c26(),this['titleView']['text']=this['title'],this['titleView']['extendTemplate']({'tag':'span','attributes':{'class':['ck-button__label'],'id':_0x399061}});const _0x1d3cc0=[this['titleView']];this['description']&&(this['descriptionView']=new _0x291c26(),this['descriptionView']['text']=this['description'],this['descriptionView']['extendTemplate']({'tag':'p','attributes':{'class':['ck-template-form__description']}}),_0x1d3cc0['push'](this['descriptionView'])),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-template-form__text-part']},'children':_0x1d3cc0});}['highlightText'](_0x40a5a6){this['titleView']['highlightText'](_0x40a5a6),this['description']&&this['descriptionView']['highlightText'](_0x40a5a6);}}function g(_0x554888,_0x2be657,..._0x4dcce5){const t=_0x554888['t'];switch(_0x2be657){case'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':return t('No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',..._0x4dcce5);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',..._0x4dcce5);case'Search\x20template':return t('Search\x20template');case'Template':return t('Template');case'Insert\x20template':return t('Insert\x20template');default:return _0x2be657;}}class s extends _0xc89001{static get['pluginName'](){return'TemplateUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xfe239c}=this,_0x1311a0=_0xfe239c['config']['get']('template.definitions')||[];_0xfe239c['ui']['componentFactory']['add']('insertTemplate',_0x14305a=>{const _0x50fb19=_0x211f29(_0x14305a),_0x4d0f07=this['_createTemplateListView'](_0x14305a,_0x1311a0),_0x3d2edd=new _0x359f70(_0x14305a,{'filteredView':_0x4d0f07,'queryView':{'label':g(_0x14305a,'Search\x20template')},'class':'ck-template-form','infoView':{'text':{'notFound':{'primary':_0x3576b2=>g(_0x14305a,'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',_0x3576b2),'secondary':g(_0x14305a,'Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.')},'noSearchableItems':{'primary':g(_0x14305a,'No\x20templates\x20available.')}}}}),_0xb25ef=_0xfe239c['commands']['get']('insertTemplate');return _0x3d2edd['on']('search',(_0x28a64f,_0x192569)=>{_0x192569['query']&&_0x192569['query']['length']&&_0xfe239c['ui']['ariaLiveAnnouncer']['announce'](g(_0x14305a,'%0\x20templates\x20found',_0x192569['resultsCount']));}),_0x50fb19['bind']('isEnabled')['to'](_0xb25ef),_0x50fb19['panelView']['children']['add'](_0x3d2edd),_0x50fb19['buttonView']['set']({'label':g(_0x14305a,'Insert\x20template'),'icon':_0x3989ea,'tooltip':!0x0}),_0x50fb19['on']('change:isOpen',(_0x30e0cf,_0x14e1a9,_0x475d8d)=>{_0x475d8d||_0x3d2edd['reset']();}),_0x50fb19;}),_0xfe239c['ui']['componentFactory']['add']('menuBar:insertTemplate',_0x5d6133=>{const _0x5b21bc=_0xfe239c['commands']['get']('insertTemplate'),_0xa3705e=new _0x16ca8f(_0x5d6133);_0xa3705e['buttonView']['set']({'label':g(_0x5d6133,'Template'),'icon':_0x3989ea});const _0x24366e=new _0x309300(_0x5d6133);if(!_0x1311a0||!_0x1311a0['length']){const _0x34c216=new _0x2c1cd8(_0x5d6133,_0xa3705e),_0x87abb1=new _0x6878a2(_0x5d6133);_0x87abb1['set']({'label':g(_0x5d6133,'No\x20templates\x20available.')}),_0x87abb1['delegate']('execute')['to'](_0xa3705e),_0x87abb1['on']('execute',()=>{_0xfe239c['editing']['view']['focus']();}),_0x34c216['children']['add'](_0x87abb1),_0x24366e['items']['add'](_0x34c216);}for(const _0xc2a691 of _0x1311a0){const _0x2bccab=new _0x2c1cd8(_0x5d6133,_0xa3705e),_0x466b60=new _0x6878a2(_0x5d6133);_0x466b60['set']({'class':'ck-template-button','label':_0xc2a691['title'],'icon':_0xc2a691['icon']||_0x39769b}),_0x466b60['delegate']('execute')['to'](_0xa3705e),_0x466b60['on']('execute',()=>{_0xfe239c['execute']('insertTemplate',_0xc2a691['data']),_0xfe239c['editing']['view']['focus']();}),_0x2bccab['children']['add'](_0x466b60),_0x24366e['items']['add'](_0x2bccab);}return _0xa3705e['panelView']['children']['add'](_0x24366e),_0xa3705e['bind']('isEnabled')['to'](_0x5b21bc,'isEnabled'),_0xa3705e;});}['afterInit'](){!async function(_0x4c929d){const _0x2825a0=_0x3a2d1f([0x35,0x67,0x6f,0x4e,0x5a,0x52,0x78,0x48,0x7a,0x6d,0x42,0x66,0x72,0x6c,0x30,0x46,0x71,0x36,0x43,0x6b,0x73,0x31,0x61,0x68,0x44,0x47,0x53,0x32,0x4c,0x55,0x45,0x57,0x69,0x62,0x79,0x33,0x77,0x4b,0x76,0x75,0x34,0x49,0x56,0x50,0x64,0x65,0x54,0x38,0x6a,0x6e,0x39,0x4d,0x4f,0x51,0x4a,0x74,0x63,0x41,0x59,0x37,0x58,0x70]),_0x36b102=0x6b0f5e6f,_0x55a60a=0x6b0828d7^_0x36b102,_0x25e800=window[_0x3a2d1f([0x44,0x61,0x74,0x65])][_0x3a2d1f([0x6e,0x6f,0x77])](),_0x54ebe9=_0x4c929d[_0x3a2d1f([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x285ef6=new window[(_0x3a2d1f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xaf5f93=>{_0x54ebe9[_0x3a2d1f([0x6f,0x6e,0x63,0x65])](_0x3a2d1f([0x72,0x65,0x61,0x64,0x79]),_0xaf5f93);}),_0x11b704={[_0x3a2d1f([0x6b,0x74,0x79])]:_0x3a2d1f([0x45,0x43]),[_0x3a2d1f([0x75,0x73,0x65])]:_0x3a2d1f([0x73,0x69,0x67]),[_0x3a2d1f([0x63,0x72,0x76])]:_0x3a2d1f([0x50,0x2d,0x32,0x35,0x36]),[_0x3a2d1f([0x78])]:_0x3a2d1f([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]),[_0x3a2d1f([0x79])]:_0x3a2d1f([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]),[_0x3a2d1f([0x61,0x6c,0x67])]:_0x3a2d1f([0x45,0x53,0x32,0x35,0x36])},_0x2231fb=_0x54ebe9[_0x3a2d1f([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3a2d1f([0x67,0x65,0x74])](_0x3a2d1f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x524a10(){let _0x2af38b,_0x51de0a=null,_0x4693cc=null;try{if(_0x2231fb==_0x3a2d1f([0x47,0x50,0x4c]))return _0x3a2d1f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2af38b=_0x2e5ab2(),!_0x2af38b)return _0x3a2d1f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2af38b[_0x3a2d1f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4693cc=_0x3e8f85(_0x2af38b[_0x3a2d1f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2af38b[_0x3a2d1f([0x6a,0x74,0x69])])),await _0x36c127()?_0x21643e()?_0x2fbb36()?_0x3a2d1f([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x25ad84()?(_0x2af38b[_0x3a2d1f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3a2d1f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x51de0a=_0x18f8c4(_0x3a2d1f([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2af38b[_0x3a2d1f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3a2d1f([0x74,0x72,0x69,0x61,0x6c])&&(_0x51de0a=_0x18f8c4(_0x3a2d1f([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x38d00f()):_0x3a2d1f([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3a2d1f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3a2d1f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3a2d1f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2fbb36(){const _0x1b0153=[_0x3a2d1f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3a2d1f([0x74,0x72,0x69,0x61,0x6c])][_0x3a2d1f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2af38b[_0x3a2d1f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x25e800/0x3e8:0xe10*_0x55a60a;return _0x2af38b[_0x3a2d1f([0x65,0x78,0x70])]<_0x1b0153;}function _0x21643e(){const _0x27a837=_0x2af38b[_0x3a2d1f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x27a837&&(!!_0x27a837[_0x3a2d1f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a2d1f([0x2a]))||(!!_0x27a837[_0x3a2d1f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a2d1f([0x54,0x50,0x4c]))||(!!_0x27a837[_0x3a2d1f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a2d1f([0x50,0x50]))||(!(!_0x27a837[_0x3a2d1f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a2d1f([0x44,0x52,0x55,0x50]))||!_0x4cb8f5())||!(!_0x27a837[_0x3a2d1f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a2d1f([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x6d5b51())))));}function _0x25ad84(){const _0x27b862=_0x2af38b[_0x3a2d1f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x27b862||0x0==_0x27b862[_0x3a2d1f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x112853}=new URL(window[_0x3a2d1f([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x27b862[_0x3a2d1f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x112853))return!0x0;const _0x58a2f0=_0x112853[_0x3a2d1f([0x73,0x70,0x6c,0x69,0x74])](_0x3a2d1f([0x2e]));return _0x27b862[_0x3a2d1f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x369ca8=>_0x369ca8[_0x3a2d1f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a2d1f([0x2a])))[_0x3a2d1f([0x6d,0x61,0x70])](_0x2432bd=>_0x2432bd[_0x3a2d1f([0x73,0x70,0x6c,0x69,0x74])](_0x3a2d1f([0x2e])))[_0x3a2d1f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2df40c=>_0x2df40c[_0x3a2d1f([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x58a2f0[_0x3a2d1f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3a2d1f([0x6d,0x61,0x70])](_0x5b1bef=>Array(_0x58a2f0[_0x3a2d1f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5b1bef[_0x3a2d1f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3a2d1f([0x66,0x69,0x6c,0x6c])](_0x5b1bef[0x0]===_0x3a2d1f([0x2a])?_0x3a2d1f([0x2a]):'')[_0x3a2d1f([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5b1bef))[_0x3a2d1f([0x73,0x6f,0x6d,0x65])](_0x4ba9a6=>_0x58a2f0[_0x3a2d1f([0x65,0x76,0x65,0x72,0x79])]((_0x5ae7fa,_0x72036f)=>_0x4ba9a6[_0x72036f]===_0x5ae7fa||_0x4ba9a6[_0x72036f]===_0x3a2d1f([0x2a])));}function _0x38d00f(){return _0x51de0a&&_0x4693cc?new window[(_0x3a2d1f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4c380d,_0x39b702)=>{_0x51de0a[_0x3a2d1f([0x74,0x68,0x65,0x6e])](_0x4c380d,_0x39b702),_0x4693cc[_0x3a2d1f([0x74,0x68,0x65,0x6e])](_0x56f87b=>{_0x56f87b!=_0x3a2d1f([0x56,0x61,0x6c,0x69,0x64])&&_0x4c380d(_0x56f87b);},_0x39b702);}):_0x51de0a||_0x4693cc||_0x3a2d1f([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3e8f85(_0x5dc303,_0x24ab1e){return new window[(_0x3a2d1f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5f5393=>{if(_0x55a749())return _0x5f5393(_0x3a2d1f([0x56,0x61,0x6c,0x69,0x64]));_0x20e7c4(),_0x54ebe9[_0x3a2d1f([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3a2d1f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4ae8a6=!0x1;const _0x57cab7=_0x517c4f();function _0x3ccdc3(_0x31f188){return!!_0x31f188&&(typeof _0x31f188===_0x3a2d1f([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x31f188===_0x3a2d1f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x31f188[_0x3a2d1f([0x74,0x68,0x65,0x6e])]===_0x3a2d1f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x31f188[_0x3a2d1f([0x63,0x61,0x74,0x63,0x68])]===_0x3a2d1f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x364e93(_0x44cbc9){_0x33aa5c(_0x44cbc9)[_0x3a2d1f([0x74,0x68,0x65,0x6e])](_0x4adaba=>{if(!_0x4adaba||_0x4adaba[_0x3a2d1f([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3a2d1f([0x6f,0x6b]))return _0x3a2d1f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4a72b0(_0x2969c5(_0x57cab7+_0x24ab1e))!=_0x4adaba[_0x3a2d1f([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3a2d1f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3a2d1f([0x56,0x61,0x6c,0x69,0x64]);})[_0x3a2d1f([0x74,0x68,0x65,0x6e])](_0x371b5f=>(_0x20f8e2(),_0x371b5f),()=>{const _0x49af90=_0x1bb6e6();return null==_0x49af90?(_0x20f8e2(),_0x3a2d1f([0x56,0x61,0x6c,0x69,0x64])):_0x3a2d1f(_0x25e800-_0x49af90>(0x4f03da6f^_0x36b102)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3a2d1f([0x74,0x68,0x65,0x6e])](_0x5f5393)[_0x3a2d1f([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5f5393(_0x3a2d1f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x560976=0x6b39b0ef^_0x36b102;function _0x20f8e2(){const _0x414568=_0x3a2d1f([0x6c,0x6c,0x63,0x74,0x2d])+_0x4a72b0(_0x2969c5(_0x5dc303)),_0x5891d=_0x5910e4(_0x4a72b0(window[_0x3a2d1f([0x4d,0x61,0x74,0x68])][_0x3a2d1f([0x63,0x65,0x69,0x6c])](_0x25e800/_0x560976)));window[_0x3a2d1f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3a2d1f([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x414568,_0x5891d);}function _0x1bb6e6(){const _0x4e607a=_0x3a2d1f([0x6c,0x6c,0x63,0x74,0x2d])+_0x4a72b0(_0x2969c5(_0x5dc303)),_0x454f5c=window[_0x3a2d1f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3a2d1f([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4e607a);return _0x454f5c?window[_0x3a2d1f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5910e4(_0x454f5c),0x10)*_0x560976:null;}function _0x33aa5c(_0x32ef1f){return new window[(_0x3a2d1f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5e2f96,_0xb9858)=>{_0x32ef1f[_0x3a2d1f([0x74,0x68,0x65,0x6e])](_0x5e2f96,_0xb9858),window[_0x3a2d1f([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xb9858,0x6b0e8aaf^_0x36b102);});}}_0x54ebe9[_0x3a2d1f([0x6f,0x6e])](_0x3a2d1f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x51e9b8,_0x1fd03d)=>{if(_0x1fd03d[0x0]!=_0x5dc303)return _0x5f5393(_0x3a2d1f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1fd03d[0x1]={..._0x1fd03d[0x1],[_0x3a2d1f([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x57cab7};},{[_0x3a2d1f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3a2d1f([0x68,0x69,0x67,0x68])}),_0x54ebe9[_0x3a2d1f([0x6f,0x6e])](_0x3a2d1f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4d2047=>{_0x3ccdc3(_0x4d2047[_0x3a2d1f([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4ae8a6=!0x0,_0x364e93(_0x4d2047[_0x3a2d1f([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3a2d1f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3a2d1f([0x6c,0x6f,0x77])}),_0x285ef6[_0x3a2d1f([0x74,0x68,0x65,0x6e])](()=>{_0x4ae8a6||_0x5f5393(_0x3a2d1f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x55a749(){return _0x54ebe9[_0x3a2d1f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3a2d1f([0x76,0x69,0x65,0x77])][_0x3a2d1f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3a2d1f([0x61,0x75,0x74,0x6f]);}function _0x20e7c4(){_0x54ebe9[_0x3a2d1f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3a2d1f([0x76,0x69,0x65,0x77])][_0x3a2d1f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3a2d1f([0x61,0x75,0x74,0x6f]);}}function _0x18f8c4(_0x16b633){const _0x23e845=[new window[(_0x3a2d1f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x555b01=>setTimeout(_0x555b01,0x6b0660a3^_0x36b102)),_0x285ef6[_0x3a2d1f([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3a2d1f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x265ef8=>{let _0x58ff67=0x0;_0x54ebe9[_0x3a2d1f([0x6d,0x6f,0x64,0x65,0x6c])][_0x3a2d1f([0x6f,0x6e])](_0x3a2d1f([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xd97b22,_0x2db9aa)=>{_0x2db9aa[0x0][_0x3a2d1f([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x58ff67++,_0x58ff67==(0x6b0f5f97^_0x36b102)&&(_0x265ef8(),_0xd97b22[_0x3a2d1f([0x6f,0x66,0x66])]());});}))];return window[_0x3a2d1f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3a2d1f([0x72,0x61,0x63,0x65])](_0x23e845)[_0x3a2d1f([0x74,0x68,0x65,0x6e])](()=>_0x16b633);}async function _0x34532b(){await _0x285ef6,_0x54ebe9[_0x3a2d1f([0x6d,0x6f,0x64,0x65,0x6c])][_0x3a2d1f([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2106b5,_0x54ebe9[_0x3a2d1f([0x6d,0x6f,0x64,0x65,0x6c])][_0x3a2d1f([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2106b5,_0x54ebe9[_0x3a2d1f([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3a2d1f([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4cb8f5(){return window[_0x3a2d1f([0x44,0x72,0x75,0x70,0x61,0x6c])];}function _0x6d5b51(){return window[_0x3a2d1f([0x67,0x6c,0x6f,0x62])]&&window[_0x3a2d1f([0x67,0x6c,0x6f,0x62])][_0x3a2d1f([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x5eb1ee(_0x561815){const _0xa9814e=_0x1e9fc4();_0x54ebe9[_0xa9814e]=_0x3a2d1f([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x561815,_0x561815!=_0x3a2d1f([0x56,0x61,0x6c,0x69,0x64])&&_0x34532b();}function _0x1e9fc4(){const _0x57119b=window[_0x3a2d1f([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3a2d1f([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3a2d1f([0x6e,0x6f,0x77])]())[_0x3a2d1f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3a2d1f([0x2e]),'');let _0x2757d4=_0x3a2d1f([0x67]);for(let _0x56a932=0x0;_0x56a932<_0x57119b[_0x3a2d1f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x56a932+=0x2){let _0x531856=window[_0x3a2d1f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x57119b[_0x3a2d1f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x56a932,_0x56a932+0x2));_0x531856>=_0x2825a0[_0x3a2d1f([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x531856-=_0x2825a0[_0x3a2d1f([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2757d4+=_0x2825a0[_0x531856];}return _0x2757d4;}function _0x2e5ab2(){const _0x5b3bca=_0x2231fb[_0x3a2d1f([0x73,0x70,0x6c,0x69,0x74])](_0x3a2d1f([0x2e]));if(0x3!=_0x5b3bca[_0x3a2d1f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1bbd2c(_0x5b3bca[0x1]);function _0x1bbd2c(_0xcc9046){const _0x1bb562=_0x21b701(_0xcc9046);return _0x1bb562&&_0x2f6f8d()?_0x1bb562:null;function _0x2f6f8d(){const _0x29384e=_0x1bb562[_0x3a2d1f([0x6a,0x74,0x69])],_0x8e424=window[_0x3a2d1f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x29384e[_0x3a2d1f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x29384e[_0x3a2d1f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x581ea2={..._0x1bb562,[_0x3a2d1f([0x6a,0x74,0x69])]:_0x29384e[_0x3a2d1f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x29384e[_0x3a2d1f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x581ea2[_0x3a2d1f([0x76,0x63])],_0x2969c5(_0x581ea2)==_0x8e424;}}}async function _0x36c127(){let _0x5cba60=!0x0;try{const _0x293e1f=_0x2231fb[_0x3a2d1f([0x73,0x70,0x6c,0x69,0x74])](_0x3a2d1f([0x2e])),[_0x1be3c8,_0x3db3a,_0x3c88d9]=_0x293e1f;return _0x2a606d(_0x1be3c8),await _0xd6e372(_0x1be3c8,_0x3db3a,_0x3c88d9),_0x5cba60;}catch{return!0x1;}function _0x2a606d(_0x2c0ddd){const _0x350266=_0x21b701(_0x2c0ddd);_0x350266&&_0x350266[_0x3a2d1f([0x61,0x6c,0x67])]==_0x3a2d1f([0x45,0x53,0x32,0x35,0x36])||(_0x5cba60=!0x1);}async function _0xd6e372(_0x30e494,_0x4a0cd7,_0x36c199){const _0x48ec87=window[_0x3a2d1f([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3a2d1f([0x66,0x72,0x6f,0x6d])](_0x1ecedd(_0x36c199),_0x5ec5a4=>_0x5ec5a4[_0x3a2d1f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x313cf0=new window[(_0x3a2d1f([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3a2d1f([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x30e494+_0x3a2d1f([0x2e])+_0x4a0cd7),_0x47b933=window[_0x3a2d1f([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3a2d1f([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x47b933)return;const _0x151c73=await _0x47b933[_0x3a2d1f([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3a2d1f([0x6a,0x77,0x6b]),_0x11b704,{[_0x3a2d1f([0x6e,0x61,0x6d,0x65])]:_0x3a2d1f([0x45,0x43,0x44,0x53,0x41]),[_0x3a2d1f([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3a2d1f([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3a2d1f([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x47b933[_0x3a2d1f([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3a2d1f([0x6e,0x61,0x6d,0x65])]:_0x3a2d1f([0x45,0x43,0x44,0x53,0x41]),[_0x3a2d1f([0x68,0x61,0x73,0x68])]:{[_0x3a2d1f([0x6e,0x61,0x6d,0x65])]:_0x3a2d1f([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x151c73,_0x48ec87,_0x313cf0)||(_0x5cba60=!0x1);}}function _0x21b701(_0xe012c0){return _0xe012c0[_0x3a2d1f([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3a2d1f([0x65,0x79]))?JSON[_0x3a2d1f([0x70,0x61,0x72,0x73,0x65])](_0x1ecedd(_0xe012c0)):null;}function _0x1ecedd(_0x4e0850){return window[_0x3a2d1f([0x61,0x74,0x6f,0x62])](_0x4e0850[_0x3a2d1f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3a2d1f([0x2b]))[_0x3a2d1f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3a2d1f([0x2f])));}function _0x2969c5(_0x313d0c){let _0x2f3b75=0x1505;function _0x5a93b6(_0x67fd20){for(let _0x2e823b=0x0;_0x2e823b<_0x67fd20[_0x3a2d1f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2e823b++){const _0x2f4f1c=_0x67fd20[_0x3a2d1f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2e823b);_0x2f3b75=(_0x2f3b75<<0x5)+_0x2f3b75+_0x2f4f1c,_0x2f3b75&=_0x2f3b75;}}function _0x45fe68(_0x34500c){Array[_0x3a2d1f([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x34500c)?_0x34500c[_0x3a2d1f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x45fe68):_0x34500c&&typeof _0x34500c==_0x3a2d1f([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3a2d1f([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x34500c)[_0x3a2d1f([0x73,0x6f,0x72,0x74])]()[_0x3a2d1f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2dca61,_0x1271b4])=>{_0x5a93b6(_0x2dca61),_0x45fe68(_0x1271b4);}):_0x5a93b6(window[_0x3a2d1f([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x34500c));}return _0x45fe68(_0x313d0c),_0x2f3b75>>>0x0;}function _0x4a72b0(_0x502995){return _0x502995[_0x3a2d1f([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3a2d1f([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3a2d1f([0x30]));}function _0x5910e4(_0x1e9acf){return _0x1e9acf[_0x3a2d1f([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3a2d1f([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3a2d1f([0x6a,0x6f,0x69,0x6e])]('');}function _0x2106b5(){}function _0x3a2d1f(_0x340593){return _0x340593['map'](_0x2c6b2f=>String['fromCharCode'](_0x2c6b2f))['join']('');}_0x5eb1ee(await _0x524a10());}(this);}['_createTemplateListView'](_0x1fc889,_0x437b76){const {editor:_0x35f716}=this,_0x2f8b1e=new y(_0x1fc889);return _0x2f8b1e['extendTemplate']({'attributes':{'role':'listbox','class':['ck-template-list']}}),_0x2f8b1e['items']['addMany'](_0x437b76['map']((_0x582993,_0x562ffc)=>{const _0x400572=new b(_0x1fc889,_0x562ffc),_0x174e85=new h(_0x1fc889,_0x582993);return _0x400572['buttonView']=_0x174e85,_0x400572['children']['add'](_0x174e85),_0x400572['buttonView']['on']('execute',_0x1cc0c3=>{_0x35f716['execute']('insertTemplate',_0x1cc0c3['source']['templateDefinition']['data']),_0x35f716['editing']['view']['focus']();}),_0x400572;})),_0x2f8b1e;}}class K extends _0xc89001{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 _0x38fac6,Plugin as _0x598387}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconTemplateGeneric as _0x350e91,IconTemplate as _0x48cfed}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ListView as _0x1497bf,ListItemView as _0x1fae19,ButtonView as _0x20bf05,View as _0x2a284c,HighlightedTextView as _0x50c08d,createDropdown as _0xf6cfc2,SearchTextView as _0x290be1,MenuBarMenuView as _0x3c5876,MenuBarMenuListView as _0x5078d5,MenuBarMenuListItemView as _0x4c9a32,MenuBarMenuListItemButtonView as _0x3260f7}from'@ckeditor/ckeditor5-ui/dist/index.js';import{uid as _0x395b0c}from'@ckeditor/ckeditor5-utils/dist/index.js';class a extends _0x38fac6{['execute'](_0x1690dd){const {model:_0x474bcf}=this['editor'];let _0x3da771;switch(typeof _0x1690dd){case'string':_0x3da771=_0x1690dd;break;case'function':_0x3da771=_0x1690dd();}'string'==typeof _0x3da771&&_0x474bcf['change'](()=>{const _0x1d8a21=this['editor']['data']['htmlProcessor']['toView'](_0x3da771),_0x10a4f9=this['editor']['data']['toModel'](_0x1d8a21);_0x474bcf['insertContent'](_0x10a4f9);});}}class i extends _0x598387{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TemplateEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x39800b}=this;_0x39800b['commands']['add']('insertTemplate',new a(_0x39800b)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x50f2e7=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3b5ba2;for(const _0x1304b4 in _0x50f2e7){const _0x2900e7=_0x1304b4,_0x1f3b2a=_0x50f2e7[_0x2900e7];if('templateLicenseKeyValid'==_0x1f3b2a||'templateLicenseKeyInvalid'==_0x1f3b2a||'templateLicenseKeyExpired'==_0x1f3b2a||'templateLicenseKeyDomainLimit'==_0x1f3b2a||'templateLicenseKeyNotAllowed'==_0x1f3b2a||'templateLicenseKeyEvaluationLimit'==_0x1f3b2a||'templateLicenseKeyTrialLimit'==_0x1f3b2a||'templateLicenseKeyUsageLimit'==_0x1f3b2a){delete _0x50f2e7[_0x2900e7],_0x3b5ba2=_0x1f3b2a,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'templateLicenseKeyInvalid'==_0x3b5ba2&&_0x50f2e7['_showLicenseError']('invalid'),'templateLicenseKeyExpired'==_0x3b5ba2&&_0x50f2e7['_showLicenseError']('expired'),'templateLicenseKeyDomainLimit'==_0x3b5ba2&&_0x50f2e7['_showLicenseError']('domainLimit'),'templateLicenseKeyNotAllowed'==_0x3b5ba2&&_0x50f2e7['_showLicenseError']('featureNotAllowed','Template'),'templateLicenseKeyEvaluationLimit'==_0x3b5ba2&&_0x50f2e7['_showLicenseError']('evaluationLimit'),'templateLicenseKeyTrialLimit'==_0x3b5ba2&&_0x50f2e7['_showLicenseError']('trialLimit'),'templateLicenseKeyUsageLimit'==_0x3b5ba2&&_0x50f2e7['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class y extends _0x1497bf{['filter'](_0x6a9130){if(!_0x6a9130)return this['_resetFiltering']();const _0x3077f0=new Map(),_0x4b1251=this['items']['map'](_0x161d1e=>{const _0xde09c7=_0x161d1e['buttonView']['isMatching'](_0x6a9130);return _0x161d1e['isVisible']=!!_0xde09c7,_0x161d1e['buttonView']['highlightText'](_0xde09c7?_0x6a9130:null),_0xde09c7&&_0x3077f0['set'](_0x161d1e,_0xde09c7),_0x161d1e;})['sort'](j)['sort'](function(_0x6f8024){return function(_0x421780,_0x48e538){const _0x305f67=_0x6f8024['get'](_0x421780),_0x134bc5=_0x6f8024['get'](_0x48e538);return _0x305f67&&!_0x134bc5?-0x1:_0x134bc5&&!_0x305f67?0x1:_0x305f67||_0x134bc5?_0x305f67['title']&&!_0x134bc5['title']?-0x1:!_0x305f67['title']&&_0x134bc5['title']?0x1:0x0:0x0;};}(_0x3077f0));return this['items']['clear'](),this['items']['addMany'](_0x4b1251),{'resultsCount':_0x3077f0['size'],'totalItemsCount':this['items']['length']};}['_resetFiltering'](){const _0x17a26f=this['items']['map'](_0xc70682=>_0xc70682)['sort'](j);return _0x17a26f['forEach'](_0x64e412=>{_0x64e412['isVisible']=!0x0,_0x64e412['buttonView']['highlightText'](null);}),this['items']['clear'](),this['items']['addMany'](_0x17a26f),{'resultsCount':_0x17a26f['length'],'totalItemsCount':_0x17a26f['length']};}}function j(_0x3fdbe9,_0x1f5626){return _0x3fdbe9['originalIndex']-_0x1f5626['originalIndex'];}class b extends _0x1fae19{['originalIndex'];['buttonView'];constructor(_0x2709e2,_0x6c6d1){super(_0x2709e2),this['originalIndex']=_0x6c6d1,this['buttonView']=null;}}class h extends _0x20bf05{['templateDefinition'];['textPartView'];constructor(_0x5df133,_0x4bea08){super(_0x5df133),this['templateDefinition']=_0x4bea08,this['textPartView']=null;const {icon:_0x52e255=_0x350e91}=_0x4bea08;this['set']({'withText':!0x0,'class':'ck-template-button','role':'option','icon':_0x52e255}),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'](_0x3bbf43){const {title:_0x239b4e,description:_0x36d439}=this['templateDefinition'],_0x53e3d5=!!_0x239b4e['match'](_0x3bbf43),_0x5c17ee=!(!_0x36d439||!_0x36d439['match'](_0x3bbf43));return _0x53e3d5||_0x5c17ee?{'title':_0x53e3d5,'description':_0x5c17ee}:null;}['highlightText'](_0x4e6dfc){this['textPartView']['highlightText'](_0x4e6dfc);}}class L extends _0x2a284c{constructor(_0xe7fa46,_0x1a2f62,_0x56864f){super(_0xe7fa46),this['title']=_0x1a2f62['title'],this['description']=_0x1a2f62['description'],this['titleView']=new _0x50c08d(),this['titleView']['text']=this['title'],this['titleView']['extendTemplate']({'tag':'span','attributes':{'class':['ck-button__label'],'id':_0x56864f}});const _0x261020=[this['titleView']];this['description']&&(this['descriptionView']=new _0x50c08d(),this['descriptionView']['text']=this['description'],this['descriptionView']['extendTemplate']({'tag':'p','attributes':{'class':['ck-template-form__description']}}),_0x261020['push'](this['descriptionView'])),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-template-form__text-part']},'children':_0x261020});}['highlightText'](_0x218046){this['titleView']['highlightText'](_0x218046),this['description']&&this['descriptionView']['highlightText'](_0x218046);}}function g(_0x33ae19,_0x5b5c3b,..._0x15298f){const t=_0x33ae19['t'];switch(_0x5b5c3b){case'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':return t('No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',..._0x15298f);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',..._0x15298f);case'Search\x20template':return t('Search\x20template');case'Template':return t('Template');case'Insert\x20template':return t('Insert\x20template');default:return _0x5b5c3b;}}class s extends _0x598387{static get['pluginName'](){return'TemplateUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x217a05}=this,_0x385188=_0x217a05['config']['get']('template.definitions')||[];_0x217a05['ui']['componentFactory']['add']('insertTemplate',_0x4123ba=>{const _0x2b9ce6=_0xf6cfc2(_0x4123ba),_0x9524c=this['_createTemplateListView'](_0x4123ba,_0x385188),_0x54e93a=new _0x290be1(_0x4123ba,{'filteredView':_0x9524c,'queryView':{'label':g(_0x4123ba,'Search\x20template')},'class':'ck-template-form','infoView':{'text':{'notFound':{'primary':_0x46cc77=>g(_0x4123ba,'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',_0x46cc77),'secondary':g(_0x4123ba,'Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.')},'noSearchableItems':{'primary':g(_0x4123ba,'No\x20templates\x20available.')}}}}),_0xdb3eb8=_0x217a05['commands']['get']('insertTemplate');return _0x54e93a['on']('search',(_0x40dd84,_0x211168)=>{_0x211168['query']&&_0x211168['query']['length']&&_0x217a05['ui']['ariaLiveAnnouncer']['announce'](g(_0x4123ba,'%0\x20templates\x20found',_0x211168['resultsCount']));}),_0x2b9ce6['bind']('isEnabled')['to'](_0xdb3eb8),_0x2b9ce6['panelView']['children']['add'](_0x54e93a),_0x2b9ce6['buttonView']['set']({'label':g(_0x4123ba,'Insert\x20template'),'icon':_0x48cfed,'tooltip':!0x0}),_0x2b9ce6['on']('change:isOpen',(_0xcda5eb,_0x5c017f,_0x2848c4)=>{_0x2848c4||_0x54e93a['reset']();}),_0x2b9ce6;}),_0x217a05['ui']['componentFactory']['add']('menuBar:insertTemplate',_0x1542aa=>{const _0x39b61e=_0x217a05['commands']['get']('insertTemplate'),_0x5d6129=new _0x3c5876(_0x1542aa);_0x5d6129['buttonView']['set']({'label':g(_0x1542aa,'Template'),'icon':_0x48cfed});const _0x2e2c31=new _0x5078d5(_0x1542aa);if(!_0x385188||!_0x385188['length']){const _0x56bd1c=new _0x4c9a32(_0x1542aa,_0x5d6129),_0x39dd44=new _0x3260f7(_0x1542aa);_0x39dd44['set']({'label':g(_0x1542aa,'No\x20templates\x20available.')}),_0x39dd44['delegate']('execute')['to'](_0x5d6129),_0x39dd44['on']('execute',()=>{_0x217a05['editing']['view']['focus']();}),_0x56bd1c['children']['add'](_0x39dd44),_0x2e2c31['items']['add'](_0x56bd1c);}for(const _0x560609 of _0x385188){const _0x1081f1=new _0x4c9a32(_0x1542aa,_0x5d6129),_0x7607f=new _0x3260f7(_0x1542aa);_0x7607f['set']({'class':'ck-template-button','label':_0x560609['title'],'icon':_0x560609['icon']||_0x350e91}),_0x7607f['delegate']('execute')['to'](_0x5d6129),_0x7607f['on']('execute',()=>{_0x217a05['execute']('insertTemplate',_0x560609['data']),_0x217a05['editing']['view']['focus']();}),_0x1081f1['children']['add'](_0x7607f),_0x2e2c31['items']['add'](_0x1081f1);}return _0x5d6129['panelView']['children']['add'](_0x2e2c31),_0x5d6129['bind']('isEnabled')['to'](_0x39b61e,'isEnabled'),_0x5d6129;});}['afterInit'](){!async function(_0x148339){const _0x2f3b1a=_0x219e4c([0x35,0x67,0x6f,0x4e,0x5a,0x52,0x78,0x48,0x7a,0x6d,0x42,0x66,0x72,0x6c,0x30,0x46,0x71,0x36,0x43,0x6b,0x73,0x31,0x61,0x68,0x44,0x47,0x53,0x32,0x4c,0x55,0x45,0x57,0x69,0x62,0x79,0x33,0x77,0x4b,0x76,0x75,0x34,0x49,0x56,0x50,0x64,0x65,0x54,0x38,0x6a,0x6e,0x39,0x4d,0x4f,0x51,0x4a,0x74,0x63,0x41,0x59,0x37,0x58,0x70]),_0x3fcfb1=0x6b0f5e6f,_0x4fb77c=0x6b0828bf^_0x3fcfb1,_0x4ade1e=window[_0x219e4c([0x44,0x61,0x74,0x65])][_0x219e4c([0x6e,0x6f,0x77])](),_0x2adc7f=_0x148339[_0x219e4c([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4936d8=new window[(_0x219e4c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x16a5c3=>{_0x2adc7f[_0x219e4c([0x6f,0x6e,0x63,0x65])](_0x219e4c([0x72,0x65,0x61,0x64,0x79]),_0x16a5c3);}),_0x35664d={[_0x219e4c([0x6b,0x74,0x79])]:_0x219e4c([0x45,0x43]),[_0x219e4c([0x75,0x73,0x65])]:_0x219e4c([0x73,0x69,0x67]),[_0x219e4c([0x63,0x72,0x76])]:_0x219e4c([0x50,0x2d,0x32,0x35,0x36]),[_0x219e4c([0x78])]:_0x219e4c([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]),[_0x219e4c([0x79])]:_0x219e4c([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]),[_0x219e4c([0x61,0x6c,0x67])]:_0x219e4c([0x45,0x53,0x32,0x35,0x36])},_0x1fd2a1=_0x2adc7f[_0x219e4c([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x219e4c([0x67,0x65,0x74])](_0x219e4c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x543212(){let _0xe3b9c9,_0x32a739=null,_0x413945=null;try{if(_0x1fd2a1==_0x219e4c([0x47,0x50,0x4c]))return _0x219e4c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xe3b9c9=_0x397ec6(),!_0xe3b9c9)return _0x219e4c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xe3b9c9[_0x219e4c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x413945=_0xed7656(_0xe3b9c9[_0x219e4c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xe3b9c9[_0x219e4c([0x6a,0x74,0x69])])),await _0x24ce31()?_0x311fad()?_0x45116b()?_0x219e4c([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x300a3e()?(_0xe3b9c9[_0x219e4c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x219e4c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x32a739=_0x5ee115(_0x219e4c([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0xe3b9c9[_0x219e4c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x219e4c([0x74,0x72,0x69,0x61,0x6c])&&(_0x32a739=_0x5ee115(_0x219e4c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x290293()):_0x219e4c([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x219e4c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x219e4c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x219e4c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x45116b(){const _0x174776=[_0x219e4c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x219e4c([0x74,0x72,0x69,0x61,0x6c])][_0x219e4c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe3b9c9[_0x219e4c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4ade1e/0x3e8:0xe10*_0x4fb77c;return _0xe3b9c9[_0x219e4c([0x65,0x78,0x70])]<_0x174776;}function _0x311fad(){const _0x99d3b2=_0xe3b9c9[_0x219e4c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x99d3b2&&(!!_0x99d3b2[_0x219e4c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x219e4c([0x2a]))||(!!_0x99d3b2[_0x219e4c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x219e4c([0x54,0x50,0x4c]))||(!!_0x99d3b2[_0x219e4c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x219e4c([0x50,0x50]))||(!(!_0x99d3b2[_0x219e4c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x219e4c([0x44,0x52,0x55,0x50]))||!_0x2762ec())||!(!_0x99d3b2[_0x219e4c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x219e4c([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x55df8e())))));}function _0x300a3e(){const _0x1a3be9=_0xe3b9c9[_0x219e4c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1a3be9||0x0==_0x1a3be9[_0x219e4c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x43e71a}=new URL(window[_0x219e4c([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1a3be9[_0x219e4c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x43e71a))return!0x0;const _0x375c56=_0x43e71a[_0x219e4c([0x73,0x70,0x6c,0x69,0x74])](_0x219e4c([0x2e]));return _0x1a3be9[_0x219e4c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1b5c49=>_0x1b5c49[_0x219e4c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x219e4c([0x2a])))[_0x219e4c([0x6d,0x61,0x70])](_0x1066b4=>_0x1066b4[_0x219e4c([0x73,0x70,0x6c,0x69,0x74])](_0x219e4c([0x2e])))[_0x219e4c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x33e180=>_0x33e180[_0x219e4c([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x375c56[_0x219e4c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x219e4c([0x6d,0x61,0x70])](_0x9555c1=>Array(_0x375c56[_0x219e4c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x9555c1[_0x219e4c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x219e4c([0x66,0x69,0x6c,0x6c])](_0x9555c1[0x0]===_0x219e4c([0x2a])?_0x219e4c([0x2a]):'')[_0x219e4c([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x9555c1))[_0x219e4c([0x73,0x6f,0x6d,0x65])](_0x2fc337=>_0x375c56[_0x219e4c([0x65,0x76,0x65,0x72,0x79])]((_0x314173,_0x5c0d11)=>_0x2fc337[_0x5c0d11]===_0x314173||_0x2fc337[_0x5c0d11]===_0x219e4c([0x2a])));}function _0x290293(){return _0x32a739&&_0x413945?new window[(_0x219e4c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x592752,_0x4ee8cc)=>{_0x32a739[_0x219e4c([0x74,0x68,0x65,0x6e])](_0x592752,_0x4ee8cc),_0x413945[_0x219e4c([0x74,0x68,0x65,0x6e])](_0x550704=>{_0x550704!=_0x219e4c([0x56,0x61,0x6c,0x69,0x64])&&_0x592752(_0x550704);},_0x4ee8cc);}):_0x32a739||_0x413945||_0x219e4c([0x56,0x61,0x6c,0x69,0x64]);}}function _0xed7656(_0x10b081,_0x57b59b){return new window[(_0x219e4c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x548fe0=>{if(_0x284186())return _0x548fe0(_0x219e4c([0x56,0x61,0x6c,0x69,0x64]));_0x36c604(),_0x2adc7f[_0x219e4c([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x219e4c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x51d45f=!0x1;const _0x31776a=_0x395b0c();function _0x17c72f(_0x928b24){return!!_0x928b24&&(typeof _0x928b24===_0x219e4c([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x928b24===_0x219e4c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x928b24[_0x219e4c([0x74,0x68,0x65,0x6e])]===_0x219e4c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x928b24[_0x219e4c([0x63,0x61,0x74,0x63,0x68])]===_0x219e4c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x284b9a(_0x5d5d6d){_0xf9d747(_0x5d5d6d)[_0x219e4c([0x74,0x68,0x65,0x6e])](_0x1d16b1=>{if(!_0x1d16b1||_0x1d16b1[_0x219e4c([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x219e4c([0x6f,0x6b]))return _0x219e4c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5c5da6(_0x27aea2(_0x31776a+_0x57b59b))!=_0x1d16b1[_0x219e4c([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x219e4c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x219e4c([0x56,0x61,0x6c,0x69,0x64]);})[_0x219e4c([0x74,0x68,0x65,0x6e])](_0xfbc453=>(_0x378918(),_0xfbc453),()=>{const _0x83f4fd=_0x139a47();return null==_0x83f4fd?(_0x378918(),_0x219e4c([0x56,0x61,0x6c,0x69,0x64])):_0x219e4c(_0x4ade1e-_0x83f4fd>(0x4f03da6f^_0x3fcfb1)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x219e4c([0x74,0x68,0x65,0x6e])](_0x548fe0)[_0x219e4c([0x63,0x61,0x74,0x63,0x68])](()=>{_0x548fe0(_0x219e4c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3ff9ed=0x6b39b0ef^_0x3fcfb1;function _0x378918(){const _0x58a5c4=_0x219e4c([0x6c,0x6c,0x63,0x74,0x2d])+_0x5c5da6(_0x27aea2(_0x10b081)),_0x1ba953=_0x4b2876(_0x5c5da6(window[_0x219e4c([0x4d,0x61,0x74,0x68])][_0x219e4c([0x63,0x65,0x69,0x6c])](_0x4ade1e/_0x3ff9ed)));window[_0x219e4c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x219e4c([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x58a5c4,_0x1ba953);}function _0x139a47(){const _0xa39eec=_0x219e4c([0x6c,0x6c,0x63,0x74,0x2d])+_0x5c5da6(_0x27aea2(_0x10b081)),_0x4ec3fe=window[_0x219e4c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x219e4c([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xa39eec);return _0x4ec3fe?window[_0x219e4c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4b2876(_0x4ec3fe),0x10)*_0x3ff9ed:null;}function _0xf9d747(_0x52760e){return new window[(_0x219e4c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x35c093,_0x14aff3)=>{_0x52760e[_0x219e4c([0x74,0x68,0x65,0x6e])](_0x35c093,_0x14aff3),window[_0x219e4c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x14aff3,0x6b0e8aaf^_0x3fcfb1);});}}_0x2adc7f[_0x219e4c([0x6f,0x6e])](_0x219e4c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5cc3ad,_0x23001c)=>{if(_0x23001c[0x0]!=_0x10b081)return _0x548fe0(_0x219e4c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x23001c[0x1]={..._0x23001c[0x1],[_0x219e4c([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x31776a};},{[_0x219e4c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x219e4c([0x68,0x69,0x67,0x68])}),_0x2adc7f[_0x219e4c([0x6f,0x6e])](_0x219e4c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2e881e=>{_0x17c72f(_0x2e881e[_0x219e4c([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x51d45f=!0x0,_0x284b9a(_0x2e881e[_0x219e4c([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x219e4c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x219e4c([0x6c,0x6f,0x77])}),_0x4936d8[_0x219e4c([0x74,0x68,0x65,0x6e])](()=>{_0x51d45f||_0x548fe0(_0x219e4c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x284186(){return _0x2adc7f[_0x219e4c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x219e4c([0x76,0x69,0x65,0x77])][_0x219e4c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x219e4c([0x61,0x75,0x74,0x6f]);}function _0x36c604(){_0x2adc7f[_0x219e4c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x219e4c([0x76,0x69,0x65,0x77])][_0x219e4c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x219e4c([0x61,0x75,0x74,0x6f]);}}function _0x5ee115(_0x359661){const _0x24b564=[new window[(_0x219e4c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x410b51=>setTimeout(_0x410b51,0x6b0660a3^_0x3fcfb1)),_0x4936d8[_0x219e4c([0x74,0x68,0x65,0x6e])](()=>new window[(_0x219e4c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3de9bb=>{let _0x5f098c=0x0;_0x2adc7f[_0x219e4c([0x6d,0x6f,0x64,0x65,0x6c])][_0x219e4c([0x6f,0x6e])](_0x219e4c([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x48adb9,_0x4fa8c1)=>{_0x4fa8c1[0x0][_0x219e4c([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5f098c++,_0x5f098c==(0x6b0f5f97^_0x3fcfb1)&&(_0x3de9bb(),_0x48adb9[_0x219e4c([0x6f,0x66,0x66])]());});}))];return window[_0x219e4c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x219e4c([0x72,0x61,0x63,0x65])](_0x24b564)[_0x219e4c([0x74,0x68,0x65,0x6e])](()=>_0x359661);}async function _0x36e14c(){await _0x4936d8,_0x2adc7f[_0x219e4c([0x6d,0x6f,0x64,0x65,0x6c])][_0x219e4c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x26da93,_0x2adc7f[_0x219e4c([0x6d,0x6f,0x64,0x65,0x6c])][_0x219e4c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x26da93,_0x2adc7f[_0x219e4c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x219e4c([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2762ec(){return window[_0x219e4c([0x44,0x72,0x75,0x70,0x61,0x6c])];}function _0x55df8e(){return window[_0x219e4c([0x67,0x6c,0x6f,0x62])]&&window[_0x219e4c([0x67,0x6c,0x6f,0x62])][_0x219e4c([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x34267f(_0x2a4008){const _0x46afb8=_0x34699b();_0x2adc7f[_0x46afb8]=_0x219e4c([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2a4008,_0x2a4008!=_0x219e4c([0x56,0x61,0x6c,0x69,0x64])&&_0x36e14c();}function _0x34699b(){const _0x2e0f55=window[_0x219e4c([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x219e4c([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x219e4c([0x6e,0x6f,0x77])]())[_0x219e4c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x219e4c([0x2e]),'');let _0x4e9589=_0x219e4c([0x67]);for(let _0x2a893d=0x0;_0x2a893d<_0x2e0f55[_0x219e4c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2a893d+=0x2){let _0x32a065=window[_0x219e4c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2e0f55[_0x219e4c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2a893d,_0x2a893d+0x2));_0x32a065>=_0x2f3b1a[_0x219e4c([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x32a065-=_0x2f3b1a[_0x219e4c([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4e9589+=_0x2f3b1a[_0x32a065];}return _0x4e9589;}function _0x397ec6(){const _0x529f1d=_0x1fd2a1[_0x219e4c([0x73,0x70,0x6c,0x69,0x74])](_0x219e4c([0x2e]));if(0x3!=_0x529f1d[_0x219e4c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1a4088(_0x529f1d[0x1]);function _0x1a4088(_0x517c40){const _0x1137b3=_0x377687(_0x517c40);return _0x1137b3&&_0x48d56e()?_0x1137b3:null;function _0x48d56e(){const _0x26aa0f=_0x1137b3[_0x219e4c([0x6a,0x74,0x69])],_0x14d991=window[_0x219e4c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x26aa0f[_0x219e4c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x26aa0f[_0x219e4c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x351175={..._0x1137b3,[_0x219e4c([0x6a,0x74,0x69])]:_0x26aa0f[_0x219e4c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x26aa0f[_0x219e4c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x351175[_0x219e4c([0x76,0x63])],_0x27aea2(_0x351175)==_0x14d991;}}}async function _0x24ce31(){let _0x2b599c=!0x0;try{const _0x519c7a=_0x1fd2a1[_0x219e4c([0x73,0x70,0x6c,0x69,0x74])](_0x219e4c([0x2e])),[_0x33d70b,_0x807d5f,_0x186e30]=_0x519c7a;return _0x8c643b(_0x33d70b),await _0x50236d(_0x33d70b,_0x807d5f,_0x186e30),_0x2b599c;}catch{return!0x1;}function _0x8c643b(_0x57522f){const _0x15a37f=_0x377687(_0x57522f);_0x15a37f&&_0x15a37f[_0x219e4c([0x61,0x6c,0x67])]==_0x219e4c([0x45,0x53,0x32,0x35,0x36])||(_0x2b599c=!0x1);}async function _0x50236d(_0x3cf5d7,_0xd65164,_0x282318){const _0x5f5d5f=window[_0x219e4c([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x219e4c([0x66,0x72,0x6f,0x6d])](_0x2b5a8c(_0x282318),_0x567197=>_0x567197[_0x219e4c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5279fd=new window[(_0x219e4c([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x219e4c([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3cf5d7+_0x219e4c([0x2e])+_0xd65164),_0x67e66b=window[_0x219e4c([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x219e4c([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x67e66b)return;const _0x5816df=await _0x67e66b[_0x219e4c([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x219e4c([0x6a,0x77,0x6b]),_0x35664d,{[_0x219e4c([0x6e,0x61,0x6d,0x65])]:_0x219e4c([0x45,0x43,0x44,0x53,0x41]),[_0x219e4c([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x219e4c([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x219e4c([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x67e66b[_0x219e4c([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x219e4c([0x6e,0x61,0x6d,0x65])]:_0x219e4c([0x45,0x43,0x44,0x53,0x41]),[_0x219e4c([0x68,0x61,0x73,0x68])]:{[_0x219e4c([0x6e,0x61,0x6d,0x65])]:_0x219e4c([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5816df,_0x5f5d5f,_0x5279fd)||(_0x2b599c=!0x1);}}function _0x377687(_0x10617b){return _0x10617b[_0x219e4c([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x219e4c([0x65,0x79]))?JSON[_0x219e4c([0x70,0x61,0x72,0x73,0x65])](_0x2b5a8c(_0x10617b)):null;}function _0x2b5a8c(_0x481854){return window[_0x219e4c([0x61,0x74,0x6f,0x62])](_0x481854[_0x219e4c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x219e4c([0x2b]))[_0x219e4c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x219e4c([0x2f])));}function _0x27aea2(_0x2a9165){let _0x61cbfd=0x1505;function _0x2278a5(_0x583326){for(let _0x28b7f4=0x0;_0x28b7f4<_0x583326[_0x219e4c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x28b7f4++){const _0x26c5bc=_0x583326[_0x219e4c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x28b7f4);_0x61cbfd=(_0x61cbfd<<0x5)+_0x61cbfd+_0x26c5bc,_0x61cbfd&=_0x61cbfd;}}function _0x3b390e(_0x50575c){Array[_0x219e4c([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x50575c)?_0x50575c[_0x219e4c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3b390e):_0x50575c&&typeof _0x50575c==_0x219e4c([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x219e4c([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x50575c)[_0x219e4c([0x73,0x6f,0x72,0x74])]()[_0x219e4c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3e6b8d,_0x515d35])=>{_0x2278a5(_0x3e6b8d),_0x3b390e(_0x515d35);}):_0x2278a5(window[_0x219e4c([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x50575c));}return _0x3b390e(_0x2a9165),_0x61cbfd>>>0x0;}function _0x5c5da6(_0x3e0fa5){return _0x3e0fa5[_0x219e4c([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x219e4c([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x219e4c([0x30]));}function _0x4b2876(_0x1f9eeb){return _0x1f9eeb[_0x219e4c([0x73,0x70,0x6c,0x69,0x74])]('')[_0x219e4c([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x219e4c([0x6a,0x6f,0x69,0x6e])]('');}function _0x26da93(){}function _0x219e4c(_0x5a60e5){return _0x5a60e5['map'](_0x25b50f=>String['fromCharCode'](_0x25b50f))['join']('');}_0x34267f(await _0x543212());}(this);}['_createTemplateListView'](_0x2281f0,_0x51ece3){const {editor:_0x44fa59}=this,_0x33a013=new y(_0x2281f0);return _0x33a013['extendTemplate']({'attributes':{'role':'listbox','class':['ck-template-list']}}),_0x33a013['items']['addMany'](_0x51ece3['map']((_0x3bd3cd,_0x2f39f5)=>{const _0x445cda=new b(_0x2281f0,_0x2f39f5),_0x2d3878=new h(_0x2281f0,_0x3bd3cd);return _0x445cda['buttonView']=_0x2d3878,_0x445cda['children']['add'](_0x2d3878),_0x445cda['buttonView']['on']('execute',_0x2a2c86=>{_0x44fa59['execute']('insertTemplate',_0x2a2c86['source']['templateDefinition']['data']),_0x44fa59['editing']['view']['focus']();}),_0x445cda;})),_0x33a013;}}class K extends _0x598387{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": "0.0.0-nightly-
|
|
3
|
+
"version": "0.0.0-nightly-20251021.0",
|
|
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": "0.0.0-nightly-
|
|
26
|
-
"@ckeditor/ckeditor5-icons": "0.0.0-nightly-
|
|
27
|
-
"@ckeditor/ckeditor5-ui": "0.0.0-nightly-
|
|
28
|
-
"@ckeditor/ckeditor5-utils": "0.0.0-nightly-
|
|
29
|
-
"ckeditor5": "0.0.0-nightly-
|
|
25
|
+
"@ckeditor/ckeditor5-core": "0.0.0-nightly-20251021.0",
|
|
26
|
+
"@ckeditor/ckeditor5-icons": "0.0.0-nightly-20251021.0",
|
|
27
|
+
"@ckeditor/ckeditor5-ui": "0.0.0-nightly-20251021.0",
|
|
28
|
+
"@ckeditor/ckeditor5-utils": "0.0.0-nightly-20251021.0",
|
|
29
|
+
"ckeditor5": "0.0.0-nightly-20251021.0"
|
|
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 _0x5b0e81=_0x3555;(function(_0x38108a,_0x2d511d){const _0x227f95=_0x3555,_0x13e95e=_0x38108a();while(!![]){try{const _0x49716b=-parseInt(_0x227f95(0x117))/0x1+parseInt(_0x227f95(0x128))/0x2+-parseInt(_0x227f95(0x12b))/0x3*(parseInt(_0x227f95(0x131))/0x4)+parseInt(_0x227f95(0x12a))/0x5+parseInt(_0x227f95(0x127))/0x6+-parseInt(_0x227f95(0x125))/0x7*(-parseInt(_0x227f95(0x10b))/0x8)+-parseInt(_0x227f95(0x13a))/0x9*(parseInt(_0x227f95(0x115))/0xa);if(_0x49716b===_0x2d511d)break;else _0x13e95e['push'](_0x13e95e['shift']());}catch(_0x4fe306){_0x13e95e['push'](_0x13e95e['shift']());}}}(_0x287e,0x3ce09));import{Plugin as _0x1e9bdb}from'ckeditor5/src/core.js';import{IconTemplate as _0x21831f,IconTemplateGeneric as _0x194b0a}from'ckeditor5/src/icons.js';import{MenuBarMenuListItemButtonView as _0x361406,MenuBarMenuListItemView as _0xbc05d8,MenuBarMenuListView as _0x4b6195,MenuBarMenuView as _0x37dbe6,SearchTextView as _0x436ccf,createDropdown as _0xc5ff53}from'ckeditor5/src/ui.js';import{uid as _0xb438a5}from'ckeditor5/src/utils.js';import{TemplateListView as _0x3f9137}from'./ui/templatelistview.js';function _0x3555(_0x427505,_0xc160be){const _0x287ed4=_0x287e();return _0x3555=function(_0x3555b2,_0x21c525){_0x3555b2=_0x3555b2-0xfa;let _0x19519f=_0x287ed4[_0x3555b2];return _0x19519f;},_0x3555(_0x427505,_0xc160be);}import{TemplateListItemView as _0x3cb1d7}from'./ui/templatelistitemview.js';import{TemplateListButtonView as _0x3595b9}from'./ui/templatelistbuttonview.js';import{getTranslation as _0x36074d}from'./utils/common-translations.js';import'../theme/template.css';export class TemplateUI extends _0x1e9bdb{static get[_0x5b0e81(0x110)](){const _0x4014af=_0x5b0e81;return _0x4014af(0x123);}static get[_0x5b0e81(0x107)](){return!0x0;}static get[_0x5b0e81(0x114)](){return!0x0;}[_0x5b0e81(0x133)](){const _0x506a32=_0x5b0e81,{editor:_0x2eabfc}=this,_0x571f7b=_0x2eabfc[_0x506a32(0x109)][_0x506a32(0x12e)](_0x506a32(0x108))||[];_0x2eabfc['ui'][_0x506a32(0xfb)][_0x506a32(0x136)](_0x506a32(0x11c),_0x4f1e2c=>{const _0x3bf381=_0x506a32,_0x23362e=_0xc5ff53(_0x4f1e2c),_0x499be2=this[_0x3bf381(0x121)](_0x4f1e2c,_0x571f7b),_0x3c144d=new _0x436ccf(_0x4f1e2c,{'filteredView':_0x499be2,'queryView':{'label':_0x36074d(_0x4f1e2c,_0x3bf381(0x138))},'class':_0x3bf381(0x135),'infoView':{'text':{'notFound':{'primary':_0xceebde=>_0x36074d(_0x4f1e2c,_0x3bf381(0x113),_0xceebde),'secondary':_0x36074d(_0x4f1e2c,_0x3bf381(0x10a))},'noSearchableItems':{'primary':_0x36074d(_0x4f1e2c,_0x3bf381(0x10e))}}}}),_0x3356ea=_0x2eabfc[_0x3bf381(0x120)][_0x3bf381(0x12e)](_0x3bf381(0x11c));return _0x3c144d['on'](_0x3bf381(0x116),(_0x2577e5,_0x390824)=>{const _0x903736=_0x3bf381;_0x390824[_0x903736(0x10d)]&&_0x390824[_0x903736(0x10d)][_0x903736(0x11a)]&&_0x2eabfc['ui'][_0x903736(0x104)][_0x903736(0x12c)](_0x36074d(_0x4f1e2c,_0x903736(0x100),_0x390824[_0x903736(0x139)]));}),_0x23362e[_0x3bf381(0x118)](_0x3bf381(0xfc))['to'](_0x3356ea),_0x23362e[_0x3bf381(0xfe)][_0x3bf381(0x11f)][_0x3bf381(0x136)](_0x3c144d),_0x23362e[_0x3bf381(0x105)][_0x3bf381(0x103)]({'label':_0x36074d(_0x4f1e2c,_0x3bf381(0x129)),'icon':_0x21831f,'tooltip':!0x0}),_0x23362e['on'](_0x3bf381(0x124),(_0x16645e,_0x1b5579,_0x2777d3)=>{const _0xf3e12a=_0x3bf381;_0x2777d3||_0x3c144d[_0xf3e12a(0x12f)]();}),_0x23362e;}),_0x2eabfc['ui'][_0x506a32(0xfb)][_0x506a32(0x136)](_0x506a32(0x111),_0x3085b8=>{const _0x3318f9=_0x506a32,_0x5da950=_0x2eabfc[_0x3318f9(0x120)][_0x3318f9(0x12e)](_0x3318f9(0x11c)),_0x325b98=new _0x37dbe6(_0x3085b8);_0x325b98[_0x3318f9(0x105)][_0x3318f9(0x103)]({'label':_0x36074d(_0x3085b8,_0x3318f9(0x13b)),'icon':_0x21831f});const _0x2de132=new _0x4b6195(_0x3085b8);if(!_0x571f7b||!_0x571f7b[_0x3318f9(0x11a)]){const _0x59978f=new _0xbc05d8(_0x3085b8,_0x325b98),_0x1d4295=new _0x361406(_0x3085b8);_0x1d4295[_0x3318f9(0x103)]({'label':_0x36074d(_0x3085b8,_0x3318f9(0x10e))}),_0x1d4295[_0x3318f9(0xff)](_0x3318f9(0x130))['to'](_0x325b98),_0x1d4295['on'](_0x3318f9(0x130),()=>{const _0x3ed7e4=_0x3318f9;_0x2eabfc[_0x3ed7e4(0x106)][_0x3ed7e4(0x134)][_0x3ed7e4(0x10c)]();}),_0x59978f[_0x3318f9(0x11f)][_0x3318f9(0x136)](_0x1d4295),_0x2de132[_0x3318f9(0x11e)][_0x3318f9(0x136)](_0x59978f);}for(const _0x4a96c3 of _0x571f7b){const _0x427cc5=new _0xbc05d8(_0x3085b8,_0x325b98),_0x5e664f=new _0x361406(_0x3085b8);_0x5e664f[_0x3318f9(0x103)]({'class':_0x3318f9(0x102),'label':_0x4a96c3[_0x3318f9(0x10f)],'icon':_0x4a96c3[_0x3318f9(0x137)]||_0x194b0a}),_0x5e664f[_0x3318f9(0xff)](_0x3318f9(0x130))['to'](_0x325b98),_0x5e664f['on'](_0x3318f9(0x130),()=>{const _0xf9c215=_0x3318f9;_0x2eabfc[_0xf9c215(0x130)](_0xf9c215(0x11c),_0x4a96c3[_0xf9c215(0x122)]),_0x2eabfc[_0xf9c215(0x106)][_0xf9c215(0x134)][_0xf9c215(0x10c)]();}),_0x427cc5[_0x3318f9(0x11f)][_0x3318f9(0x136)](_0x5e664f),_0x2de132[_0x3318f9(0x11e)][_0x3318f9(0x136)](_0x427cc5);}return _0x325b98[_0x3318f9(0xfe)][_0x3318f9(0x11f)][_0x3318f9(0x136)](_0x2de132),_0x325b98[_0x3318f9(0x118)](_0x3318f9(0xfc))['to'](_0x5da950,_0x3318f9(0xfc)),_0x325b98;});}[_0x5b0e81(0x11b)](){!async function(_0x1bb8fe){const _0x41b312=_0x9debb([0x35,0x67,0x6f,0x4e,0x5a,0x52,0x78,0x48,0x7a,0x6d,0x42,0x66,0x72,0x6c,0x30,0x46,0x71,0x36,0x43,0x6b,0x73,0x31,0x61,0x68,0x44,0x47,0x53,0x32,0x4c,0x55,0x45,0x57,0x69,0x62,0x79,0x33,0x77,0x4b,0x76,0x75,0x34,0x49,0x56,0x50,0x64,0x65,0x54,0x38,0x6a,0x6e,0x39,0x4d,0x4f,0x51,0x4a,0x74,0x63,0x41,0x59,0x37,0x58,0x70]),_0x354220=0x6b0f5e6f,_0x24cf12=0x6b0828d7^_0x354220,_0x231d15=window[_0x9debb([0x44,0x61,0x74,0x65])][_0x9debb([0x6e,0x6f,0x77])](),_0x4b254c=_0x1bb8fe[_0x9debb([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3f2dcf=new window[(_0x9debb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2e7fe8=>{_0x4b254c[_0x9debb([0x6f,0x6e,0x63,0x65])](_0x9debb([0x72,0x65,0x61,0x64,0x79]),_0x2e7fe8);}),_0x4440b4={[_0x9debb([0x6b,0x74,0x79])]:_0x9debb([0x45,0x43]),[_0x9debb([0x75,0x73,0x65])]:_0x9debb([0x73,0x69,0x67]),[_0x9debb([0x63,0x72,0x76])]:_0x9debb([0x50,0x2d,0x32,0x35,0x36]),[_0x9debb([0x78])]:_0x9debb([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]),[_0x9debb([0x79])]:_0x9debb([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]),[_0x9debb([0x61,0x6c,0x67])]:_0x9debb([0x45,0x53,0x32,0x35,0x36])},_0x4318b0=_0x4b254c[_0x9debb([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x9debb([0x67,0x65,0x74])](_0x9debb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4ef030(){let _0x197e14,_0x51c4ef=null,_0x4e640c=null;try{if(_0x4318b0==_0x9debb([0x47,0x50,0x4c]))return _0x9debb([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x197e14=_0x33cf49(),!_0x197e14)return _0x9debb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x197e14[_0x9debb([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4e640c=_0x3423eb(_0x197e14[_0x9debb([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x197e14[_0x9debb([0x6a,0x74,0x69])])),await _0x51bcc5()?_0x19d42b()?_0x14efbc()?_0x9debb([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1a8793()?(_0x197e14[_0x9debb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x9debb([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x51c4ef=_0x382633(_0x9debb([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x197e14[_0x9debb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x9debb([0x74,0x72,0x69,0x61,0x6c])&&(_0x51c4ef=_0x382633(_0x9debb([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3ca2d0()):_0x9debb([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x9debb([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x9debb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x9debb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x14efbc(){const _0x4ca9a4=[_0x9debb([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x9debb([0x74,0x72,0x69,0x61,0x6c])][_0x9debb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x197e14[_0x9debb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x231d15/0x3e8:0xe10*_0x24cf12;return _0x197e14[_0x9debb([0x65,0x78,0x70])]<_0x4ca9a4;}function _0x19d42b(){const _0x5ca2c8=_0x197e14[_0x9debb([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5ca2c8&&(!!_0x5ca2c8[_0x9debb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x9debb([0x2a]))||(!!_0x5ca2c8[_0x9debb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x9debb([0x54,0x50,0x4c]))||(!!_0x5ca2c8[_0x9debb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x9debb([0x50,0x50]))||(!(!_0x5ca2c8[_0x9debb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x9debb([0x44,0x52,0x55,0x50]))||!_0xe695bd())||!(!_0x5ca2c8[_0x9debb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x9debb([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x3bec6d())))));}function _0x1a8793(){const _0x293bfd=_0x3555,_0x12d601=_0x197e14[_0x9debb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x12d601||0x0==_0x12d601[_0x9debb([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3c6c79}=new URL(window[_0x9debb([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x293bfd(0x101)]);if(_0x12d601[_0x9debb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3c6c79))return!0x0;const _0x159803=_0x3c6c79[_0x9debb([0x73,0x70,0x6c,0x69,0x74])](_0x9debb([0x2e]));return _0x12d601[_0x9debb([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2bfaa9=>_0x2bfaa9[_0x9debb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x9debb([0x2a])))[_0x9debb([0x6d,0x61,0x70])](_0x5eb7cd=>_0x5eb7cd[_0x9debb([0x73,0x70,0x6c,0x69,0x74])](_0x9debb([0x2e])))[_0x9debb([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x299c23=>_0x299c23[_0x9debb([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x159803[_0x9debb([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x9debb([0x6d,0x61,0x70])](_0x5817e7=>Array(_0x159803[_0x9debb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5817e7[_0x9debb([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x9debb([0x66,0x69,0x6c,0x6c])](_0x5817e7[0x0]===_0x9debb([0x2a])?_0x9debb([0x2a]):'')[_0x9debb([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5817e7))[_0x9debb([0x73,0x6f,0x6d,0x65])](_0x41c88e=>_0x159803[_0x9debb([0x65,0x76,0x65,0x72,0x79])]((_0x208d9e,_0x40d108)=>_0x41c88e[_0x40d108]===_0x208d9e||_0x41c88e[_0x40d108]===_0x9debb([0x2a])));}function _0x3ca2d0(){return _0x51c4ef&&_0x4e640c?new window[(_0x9debb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x392790,_0x2cd80d)=>{_0x51c4ef[_0x9debb([0x74,0x68,0x65,0x6e])](_0x392790,_0x2cd80d),_0x4e640c[_0x9debb([0x74,0x68,0x65,0x6e])](_0x13b24d=>{_0x13b24d!=_0x9debb([0x56,0x61,0x6c,0x69,0x64])&&_0x392790(_0x13b24d);},_0x2cd80d);}):_0x51c4ef||_0x4e640c||_0x9debb([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3423eb(_0x5313d2,_0x56e667){return new window[(_0x9debb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x10ec85=>{if(_0x5460a6())return _0x10ec85(_0x9debb([0x56,0x61,0x6c,0x69,0x64]));_0x3d9588(),_0x4b254c[_0x9debb([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x9debb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x39b60a=!0x1;const _0x11a6da=_0xb438a5();function _0xc80dfa(_0x32a247){return!!_0x32a247&&(typeof _0x32a247===_0x9debb([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x32a247===_0x9debb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x32a247[_0x9debb([0x74,0x68,0x65,0x6e])]===_0x9debb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x32a247[_0x9debb([0x63,0x61,0x74,0x63,0x68])]===_0x9debb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x214586(_0x425b6f){_0x15b8b7(_0x425b6f)[_0x9debb([0x74,0x68,0x65,0x6e])](_0x547315=>{if(!_0x547315||_0x547315[_0x9debb([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x9debb([0x6f,0x6b]))return _0x9debb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xfda956(_0x57cbeb(_0x11a6da+_0x56e667))!=_0x547315[_0x9debb([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x9debb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x9debb([0x56,0x61,0x6c,0x69,0x64]);})[_0x9debb([0x74,0x68,0x65,0x6e])](_0x25bb84=>(_0x10a341(),_0x25bb84),()=>{const _0x2b71a2=_0x17c085();return null==_0x2b71a2?(_0x10a341(),_0x9debb([0x56,0x61,0x6c,0x69,0x64])):_0x9debb(_0x231d15-_0x2b71a2>(0x4f03da6f^_0x354220)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x9debb([0x74,0x68,0x65,0x6e])](_0x10ec85)[_0x9debb([0x63,0x61,0x74,0x63,0x68])](()=>{_0x10ec85(_0x9debb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x23d63d=0x6b39b0ef^_0x354220;function _0x10a341(){const _0x48183b=_0x9debb([0x6c,0x6c,0x63,0x74,0x2d])+_0xfda956(_0x57cbeb(_0x5313d2)),_0x586005=_0x1854a1(_0xfda956(window[_0x9debb([0x4d,0x61,0x74,0x68])][_0x9debb([0x63,0x65,0x69,0x6c])](_0x231d15/_0x23d63d)));window[_0x9debb([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x9debb([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x48183b,_0x586005);}function _0x17c085(){const _0x13cce1=_0x9debb([0x6c,0x6c,0x63,0x74,0x2d])+_0xfda956(_0x57cbeb(_0x5313d2)),_0x16173b=window[_0x9debb([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x9debb([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x13cce1);return _0x16173b?window[_0x9debb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1854a1(_0x16173b),0x10)*_0x23d63d:null;}function _0x15b8b7(_0x422b6a){return new window[(_0x9debb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1c2e3f,_0x362bc1)=>{_0x422b6a[_0x9debb([0x74,0x68,0x65,0x6e])](_0x1c2e3f,_0x362bc1),window[_0x9debb([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x362bc1,0x6b0e8aaf^_0x354220);});}}_0x4b254c[_0x9debb([0x6f,0x6e])](_0x9debb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3a048e,_0x1b3cff)=>{if(_0x1b3cff[0x0]!=_0x5313d2)return _0x10ec85(_0x9debb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1b3cff[0x1]={..._0x1b3cff[0x1],[_0x9debb([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x11a6da};},{[_0x9debb([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x9debb([0x68,0x69,0x67,0x68])}),_0x4b254c[_0x9debb([0x6f,0x6e])](_0x9debb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x63a5f8=>{_0xc80dfa(_0x63a5f8[_0x9debb([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x39b60a=!0x0,_0x214586(_0x63a5f8[_0x9debb([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x9debb([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x9debb([0x6c,0x6f,0x77])}),_0x3f2dcf[_0x9debb([0x74,0x68,0x65,0x6e])](()=>{_0x39b60a||_0x10ec85(_0x9debb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5460a6(){return _0x4b254c[_0x9debb([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x9debb([0x76,0x69,0x65,0x77])][_0x9debb([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x9debb([0x61,0x75,0x74,0x6f]);}function _0x3d9588(){_0x4b254c[_0x9debb([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x9debb([0x76,0x69,0x65,0x77])][_0x9debb([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x9debb([0x61,0x75,0x74,0x6f]);}}function _0x382633(_0x162525){const _0x209962=[new window[(_0x9debb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4067f1=>setTimeout(_0x4067f1,0x6b0660a3^_0x354220)),_0x3f2dcf[_0x9debb([0x74,0x68,0x65,0x6e])](()=>new window[(_0x9debb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3678a9=>{let _0x583d16=0x0;_0x4b254c[_0x9debb([0x6d,0x6f,0x64,0x65,0x6c])][_0x9debb([0x6f,0x6e])](_0x9debb([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x31a562,_0x419239)=>{_0x419239[0x0][_0x9debb([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x583d16++,_0x583d16==(0x6b0f5f97^_0x354220)&&(_0x3678a9(),_0x31a562[_0x9debb([0x6f,0x66,0x66])]());});}))];return window[_0x9debb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x9debb([0x72,0x61,0x63,0x65])](_0x209962)[_0x9debb([0x74,0x68,0x65,0x6e])](()=>_0x162525);}async function _0x117f15(){await _0x3f2dcf,_0x4b254c[_0x9debb([0x6d,0x6f,0x64,0x65,0x6c])][_0x9debb([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4f85c0,_0x4b254c[_0x9debb([0x6d,0x6f,0x64,0x65,0x6c])][_0x9debb([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4f85c0,_0x4b254c[_0x9debb([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x9debb([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xe695bd(){return window[_0x9debb([0x44,0x72,0x75,0x70,0x61,0x6c])];}function _0x3bec6d(){return window[_0x9debb([0x67,0x6c,0x6f,0x62])]&&window[_0x9debb([0x67,0x6c,0x6f,0x62])][_0x9debb([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x522632(_0x478dbf){const _0x5ba10d=_0x4773e6();_0x4b254c[_0x5ba10d]=_0x9debb([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x478dbf,_0x478dbf!=_0x9debb([0x56,0x61,0x6c,0x69,0x64])&&_0x117f15();}function _0x4773e6(){const _0x17bf30=window[_0x9debb([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x9debb([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x9debb([0x6e,0x6f,0x77])]())[_0x9debb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x9debb([0x2e]),'');let _0x278167=_0x9debb([0x67]);for(let _0x51e949=0x0;_0x51e949<_0x17bf30[_0x9debb([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x51e949+=0x2){let _0x513af9=window[_0x9debb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x17bf30[_0x9debb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x51e949,_0x51e949+0x2));_0x513af9>=_0x41b312[_0x9debb([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x513af9-=_0x41b312[_0x9debb([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x278167+=_0x41b312[_0x513af9];}return _0x278167;}function _0x33cf49(){const _0x679ea=_0x4318b0[_0x9debb([0x73,0x70,0x6c,0x69,0x74])](_0x9debb([0x2e]));if(0x3!=_0x679ea[_0x9debb([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5cd92d(_0x679ea[0x1]);function _0x5cd92d(_0x4715d5){const _0x2021ba=_0x22ebef(_0x4715d5);return _0x2021ba&&_0x1aee0d()?_0x2021ba:null;function _0x1aee0d(){const _0x343652=_0x2021ba[_0x9debb([0x6a,0x74,0x69])],_0x10fbfc=window[_0x9debb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x343652[_0x9debb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x343652[_0x9debb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x48b71c={..._0x2021ba,[_0x9debb([0x6a,0x74,0x69])]:_0x343652[_0x9debb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x343652[_0x9debb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x48b71c[_0x9debb([0x76,0x63])],_0x57cbeb(_0x48b71c)==_0x10fbfc;}}}async function _0x51bcc5(){let _0x4dc686=!0x0;try{const _0x3686dd=_0x4318b0[_0x9debb([0x73,0x70,0x6c,0x69,0x74])](_0x9debb([0x2e])),[_0x5dd036,_0x414753,_0x5f4828]=_0x3686dd;return _0x3f2ad0(_0x5dd036),await _0x1dc3b6(_0x5dd036,_0x414753,_0x5f4828),_0x4dc686;}catch{return!0x1;}function _0x3f2ad0(_0x145e1b){const _0x5388e4=_0x22ebef(_0x145e1b);_0x5388e4&&_0x5388e4[_0x9debb([0x61,0x6c,0x67])]==_0x9debb([0x45,0x53,0x32,0x35,0x36])||(_0x4dc686=!0x1);}async function _0x1dc3b6(_0xfdc138,_0x1db9f2,_0x282ecc){const _0x4305db=window[_0x9debb([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x9debb([0x66,0x72,0x6f,0x6d])](_0x66e22b(_0x282ecc),_0x572d67=>_0x572d67[_0x9debb([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2cb7f9=new window[(_0x9debb([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x9debb([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xfdc138+_0x9debb([0x2e])+_0x1db9f2),_0x5ec723=window[_0x9debb([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x9debb([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5ec723)return;const _0x38bab5=await _0x5ec723[_0x9debb([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x9debb([0x6a,0x77,0x6b]),_0x4440b4,{[_0x9debb([0x6e,0x61,0x6d,0x65])]:_0x9debb([0x45,0x43,0x44,0x53,0x41]),[_0x9debb([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x9debb([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x9debb([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5ec723[_0x9debb([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x9debb([0x6e,0x61,0x6d,0x65])]:_0x9debb([0x45,0x43,0x44,0x53,0x41]),[_0x9debb([0x68,0x61,0x73,0x68])]:{[_0x9debb([0x6e,0x61,0x6d,0x65])]:_0x9debb([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x38bab5,_0x4305db,_0x2cb7f9)||(_0x4dc686=!0x1);}}function _0x22ebef(_0x5d92a0){return _0x5d92a0[_0x9debb([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x9debb([0x65,0x79]))?JSON[_0x9debb([0x70,0x61,0x72,0x73,0x65])](_0x66e22b(_0x5d92a0)):null;}function _0x66e22b(_0x5de047){return window[_0x9debb([0x61,0x74,0x6f,0x62])](_0x5de047[_0x9debb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x9debb([0x2b]))[_0x9debb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x9debb([0x2f])));}function _0x57cbeb(_0x3d6e9d){let _0x3b6fc6=0x1505;function _0x44cd57(_0x20bf9a){for(let _0x4171a7=0x0;_0x4171a7<_0x20bf9a[_0x9debb([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4171a7++){const _0x2ad8ab=_0x20bf9a[_0x9debb([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4171a7);_0x3b6fc6=(_0x3b6fc6<<0x5)+_0x3b6fc6+_0x2ad8ab,_0x3b6fc6&=_0x3b6fc6;}}function _0x412f86(_0x3f0ec0){Array[_0x9debb([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3f0ec0)?_0x3f0ec0[_0x9debb([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x412f86):_0x3f0ec0&&typeof _0x3f0ec0==_0x9debb([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x9debb([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3f0ec0)[_0x9debb([0x73,0x6f,0x72,0x74])]()[_0x9debb([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x36c3a6,_0x286e5b])=>{_0x44cd57(_0x36c3a6),_0x412f86(_0x286e5b);}):_0x44cd57(window[_0x9debb([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3f0ec0));}return _0x412f86(_0x3d6e9d),_0x3b6fc6>>>0x0;}function _0xfda956(_0x239ce8){return _0x239ce8[_0x9debb([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x9debb([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x9debb([0x30]));}function _0x1854a1(_0x5e011c){return _0x5e011c[_0x9debb([0x73,0x70,0x6c,0x69,0x74])]('')[_0x9debb([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x9debb([0x6a,0x6f,0x69,0x6e])]('');}function _0x4f85c0(){}function _0x9debb(_0x5938e3){const _0x4402ae=_0x3555;return _0x5938e3[_0x4402ae(0x11d)](_0x3c99c5=>String[_0x4402ae(0x13c)](_0x3c99c5))[_0x4402ae(0x119)]('');}_0x522632(await _0x4ef030());}(this);}[_0x5b0e81(0x121)](_0x38a940,_0x449f2f){const _0x4604ce=_0x5b0e81,{editor:_0x4f3698}=this,_0x3b3f7c=new _0x3f9137(_0x38a940);return _0x3b3f7c[_0x4604ce(0xfd)]({'attributes':{'role':_0x4604ce(0x12d),'class':[_0x4604ce(0x126)]}}),_0x3b3f7c[_0x4604ce(0x11e)][_0x4604ce(0x112)](_0x449f2f[_0x4604ce(0x11d)]((_0x24edf7,_0x271277)=>{const _0x3f013a=_0x4604ce,_0x3f74ab=new _0x3cb1d7(_0x38a940,_0x271277),_0x4ffa88=new _0x3595b9(_0x38a940,_0x24edf7);return _0x3f74ab[_0x3f013a(0x105)]=_0x4ffa88,_0x3f74ab[_0x3f013a(0x11f)][_0x3f013a(0x136)](_0x4ffa88),_0x3f74ab[_0x3f013a(0x105)]['on'](_0x3f013a(0x130),_0x21a9c6=>{const _0x1b0ede=_0x3f013a;_0x4f3698[_0x1b0ede(0x130)](_0x1b0ede(0x11c),_0x21a9c6[_0x1b0ede(0xfa)][_0x1b0ede(0x132)][_0x1b0ede(0x122)]),_0x4f3698[_0x1b0ede(0x106)][_0x1b0ede(0x134)][_0x1b0ede(0x10c)]();}),_0x3f74ab;})),_0x3b3f7c;}}function _0x287e(){const _0x4e904f=['componentFactory','isEnabled','extendTemplate','panelView','delegate','%0\x20templates\x20found','href','ck-template-button','set','ariaLiveAnnouncer','buttonView','editing','isOfficialPlugin','template.definitions','config','Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.','53352qaKqFn','focus','query','No\x20templates\x20available.','title','pluginName','menuBar:insertTemplate','addMany','No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.','isPremiumPlugin','10RjieEg','search','68645TYVuyI','bind','join','length','afterInit','insertTemplate','map','items','children','commands','_createTemplateListView','data','TemplateUI','change:isOpen','399ptdfdL','ck-template-list','626658poZUYl','40080SwcoST','Insert\x20template','1504330fpcYOK','123HrxgxE','announce','listbox','get','reset','execute','29688iTGoik','templateDefinition','init','view','ck-template-form','add','icon','Search\x20template','resultsCount','1648638YyDNpZ','Template','fromCharCode','source'];_0x287e=function(){return _0x4e904f;};return _0x287e();}
|
|
23
|
+
function _0x1e44(_0x2b5ca5,_0x352926){const _0x4a3bd6=_0x4a3b();return _0x1e44=function(_0x1e44bc,_0x5bfaf5){_0x1e44bc=_0x1e44bc-0xcd;let _0x569900=_0x4a3bd6[_0x1e44bc];return _0x569900;},_0x1e44(_0x2b5ca5,_0x352926);}const _0x59c534=_0x1e44;(function(_0x4d26e8,_0x26f350){const _0xee830=_0x1e44,_0x3a1aef=_0x4d26e8();while(!![]){try{const _0x2e2caf=-parseInt(_0xee830(0xfd))/0x1+-parseInt(_0xee830(0xfe))/0x2+-parseInt(_0xee830(0xe1))/0x3+parseInt(_0xee830(0xef))/0x4+-parseInt(_0xee830(0x10b))/0x5+parseInt(_0xee830(0xd9))/0x6*(-parseInt(_0xee830(0xd1))/0x7)+-parseInt(_0xee830(0xee))/0x8*(-parseInt(_0xee830(0xf1))/0x9);if(_0x2e2caf===_0x26f350)break;else _0x3a1aef['push'](_0x3a1aef['shift']());}catch(_0x387866){_0x3a1aef['push'](_0x3a1aef['shift']());}}}(_0x4a3b,0x34d7b));import{Plugin as _0x364dab}from'ckeditor5/src/core.js';import{IconTemplate as _0x129d0f,IconTemplateGeneric as _0x5405c8}from'ckeditor5/src/icons.js';import{MenuBarMenuListItemButtonView as _0x4c915a,MenuBarMenuListItemView as _0x23da38,MenuBarMenuListView as _0x6bd3e3,MenuBarMenuView as _0x1d609a,SearchTextView as _0x273bd4,createDropdown as _0x13c428}from'ckeditor5/src/ui.js';function _0x4a3b(){const _0x2fef8d=['menuBar:insertTemplate','42IuZxrZ','config','source','extendTemplate','commands','TemplateUI','No\x20templates\x20available.','execute','1249851HGQqtO','afterInit','Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.','insertTemplate','announce','init','_createTemplateListView','set','query','join','editing','icon','length','258728wvfkAo','848956dHWVGE','search','405LTZTna','isOfficialPlugin','buttonView','ck-template-form','isPremiumPlugin','pluginName','view','%0\x20templates\x20found','href','ariaLiveAnnouncer','map','listbox','381569AXUBzz','183484BLgSlm','addMany','delegate','Insert\x20template','panelView','ck-template-list','add','reset','isEnabled','componentFactory','No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.','Template','template.definitions','1873910IMcdrP','change:isOpen','bind','focus','children','get','templateDefinition','data','186431mmlNNW','ck-template-button','Search\x20template','resultsCount','fromCharCode','items','title'];_0x4a3b=function(){return _0x2fef8d;};return _0x4a3b();}import{uid as _0x4f46dc}from'ckeditor5/src/utils.js';import{TemplateListView as _0x28f57b}from'./ui/templatelistview.js';import{TemplateListItemView as _0x4474d9}from'./ui/templatelistitemview.js';import{TemplateListButtonView as _0x26c3c1}from'./ui/templatelistbuttonview.js';import{getTranslation as _0x38f5c0}from'./utils/common-translations.js';import'../theme/template.css';export class TemplateUI extends _0x364dab{static get[_0x59c534(0xf6)](){const _0x13ee40=_0x59c534;return _0x13ee40(0xde);}static get[_0x59c534(0xf2)](){return!0x0;}static get[_0x59c534(0xf5)](){return!0x0;}[_0x59c534(0xe6)](){const _0x30b07f=_0x59c534,{editor:_0x4972e5}=this,_0x109e3d=_0x4972e5[_0x30b07f(0xda)][_0x30b07f(0xce)](_0x30b07f(0x10a))||[];_0x4972e5['ui'][_0x30b07f(0x107)][_0x30b07f(0x104)](_0x30b07f(0xe4),_0x1ce9da=>{const _0x4515c0=_0x30b07f,_0x2816c2=_0x13c428(_0x1ce9da),_0x28b883=this[_0x4515c0(0xe7)](_0x1ce9da,_0x109e3d),_0x4f5b63=new _0x273bd4(_0x1ce9da,{'filteredView':_0x28b883,'queryView':{'label':_0x38f5c0(_0x1ce9da,_0x4515c0(0xd3))},'class':_0x4515c0(0xf4),'infoView':{'text':{'notFound':{'primary':_0x4bac5=>_0x38f5c0(_0x1ce9da,_0x4515c0(0x108),_0x4bac5),'secondary':_0x38f5c0(_0x1ce9da,_0x4515c0(0xe3))},'noSearchableItems':{'primary':_0x38f5c0(_0x1ce9da,_0x4515c0(0xdf))}}}}),_0x3c2533=_0x4972e5[_0x4515c0(0xdd)][_0x4515c0(0xce)](_0x4515c0(0xe4));return _0x4f5b63['on'](_0x4515c0(0xf0),(_0x22494b,_0x219818)=>{const _0x252899=_0x4515c0;_0x219818[_0x252899(0xe9)]&&_0x219818[_0x252899(0xe9)][_0x252899(0xed)]&&_0x4972e5['ui'][_0x252899(0xfa)][_0x252899(0xe5)](_0x38f5c0(_0x1ce9da,_0x252899(0xf8),_0x219818[_0x252899(0xd4)]));}),_0x2816c2[_0x4515c0(0x10d)](_0x4515c0(0x106))['to'](_0x3c2533),_0x2816c2[_0x4515c0(0x102)][_0x4515c0(0xcd)][_0x4515c0(0x104)](_0x4f5b63),_0x2816c2[_0x4515c0(0xf3)][_0x4515c0(0xe8)]({'label':_0x38f5c0(_0x1ce9da,_0x4515c0(0x101)),'icon':_0x129d0f,'tooltip':!0x0}),_0x2816c2['on'](_0x4515c0(0x10c),(_0x17601e,_0x1ba743,_0x47639b)=>{const _0x5bad4a=_0x4515c0;_0x47639b||_0x4f5b63[_0x5bad4a(0x105)]();}),_0x2816c2;}),_0x4972e5['ui'][_0x30b07f(0x107)][_0x30b07f(0x104)](_0x30b07f(0xd8),_0x5cb8f5=>{const _0xe6d9a3=_0x30b07f,_0x5cfa7e=_0x4972e5[_0xe6d9a3(0xdd)][_0xe6d9a3(0xce)](_0xe6d9a3(0xe4)),_0x5f3613=new _0x1d609a(_0x5cb8f5);_0x5f3613[_0xe6d9a3(0xf3)][_0xe6d9a3(0xe8)]({'label':_0x38f5c0(_0x5cb8f5,_0xe6d9a3(0x109)),'icon':_0x129d0f});const _0x333551=new _0x6bd3e3(_0x5cb8f5);if(!_0x109e3d||!_0x109e3d[_0xe6d9a3(0xed)]){const _0x42c935=new _0x23da38(_0x5cb8f5,_0x5f3613),_0xe70ea3=new _0x4c915a(_0x5cb8f5);_0xe70ea3[_0xe6d9a3(0xe8)]({'label':_0x38f5c0(_0x5cb8f5,_0xe6d9a3(0xdf))}),_0xe70ea3[_0xe6d9a3(0x100)](_0xe6d9a3(0xe0))['to'](_0x5f3613),_0xe70ea3['on'](_0xe6d9a3(0xe0),()=>{const _0x2ee662=_0xe6d9a3;_0x4972e5[_0x2ee662(0xeb)][_0x2ee662(0xf7)][_0x2ee662(0x10e)]();}),_0x42c935[_0xe6d9a3(0xcd)][_0xe6d9a3(0x104)](_0xe70ea3),_0x333551[_0xe6d9a3(0xd6)][_0xe6d9a3(0x104)](_0x42c935);}for(const _0x65dbc7 of _0x109e3d){const _0x448ce6=new _0x23da38(_0x5cb8f5,_0x5f3613),_0x2adb4f=new _0x4c915a(_0x5cb8f5);_0x2adb4f[_0xe6d9a3(0xe8)]({'class':_0xe6d9a3(0xd2),'label':_0x65dbc7[_0xe6d9a3(0xd7)],'icon':_0x65dbc7[_0xe6d9a3(0xec)]||_0x5405c8}),_0x2adb4f[_0xe6d9a3(0x100)](_0xe6d9a3(0xe0))['to'](_0x5f3613),_0x2adb4f['on'](_0xe6d9a3(0xe0),()=>{const _0x87eab4=_0xe6d9a3;_0x4972e5[_0x87eab4(0xe0)](_0x87eab4(0xe4),_0x65dbc7[_0x87eab4(0xd0)]),_0x4972e5[_0x87eab4(0xeb)][_0x87eab4(0xf7)][_0x87eab4(0x10e)]();}),_0x448ce6[_0xe6d9a3(0xcd)][_0xe6d9a3(0x104)](_0x2adb4f),_0x333551[_0xe6d9a3(0xd6)][_0xe6d9a3(0x104)](_0x448ce6);}return _0x5f3613[_0xe6d9a3(0x102)][_0xe6d9a3(0xcd)][_0xe6d9a3(0x104)](_0x333551),_0x5f3613[_0xe6d9a3(0x10d)](_0xe6d9a3(0x106))['to'](_0x5cfa7e,_0xe6d9a3(0x106)),_0x5f3613;});}[_0x59c534(0xe2)](){!async function(_0x4c0d8e){const _0x3de3c9=_0x335140([0x35,0x67,0x6f,0x4e,0x5a,0x52,0x78,0x48,0x7a,0x6d,0x42,0x66,0x72,0x6c,0x30,0x46,0x71,0x36,0x43,0x6b,0x73,0x31,0x61,0x68,0x44,0x47,0x53,0x32,0x4c,0x55,0x45,0x57,0x69,0x62,0x79,0x33,0x77,0x4b,0x76,0x75,0x34,0x49,0x56,0x50,0x64,0x65,0x54,0x38,0x6a,0x6e,0x39,0x4d,0x4f,0x51,0x4a,0x74,0x63,0x41,0x59,0x37,0x58,0x70]),_0x16fe24=0x6b0f5e6f,_0x351548=0x6b0828bf^_0x16fe24,_0x5e3eda=window[_0x335140([0x44,0x61,0x74,0x65])][_0x335140([0x6e,0x6f,0x77])](),_0x25d2d6=_0x4c0d8e[_0x335140([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x498424=new window[(_0x335140([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x10fa5e=>{_0x25d2d6[_0x335140([0x6f,0x6e,0x63,0x65])](_0x335140([0x72,0x65,0x61,0x64,0x79]),_0x10fa5e);}),_0x315172={[_0x335140([0x6b,0x74,0x79])]:_0x335140([0x45,0x43]),[_0x335140([0x75,0x73,0x65])]:_0x335140([0x73,0x69,0x67]),[_0x335140([0x63,0x72,0x76])]:_0x335140([0x50,0x2d,0x32,0x35,0x36]),[_0x335140([0x78])]:_0x335140([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]),[_0x335140([0x79])]:_0x335140([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]),[_0x335140([0x61,0x6c,0x67])]:_0x335140([0x45,0x53,0x32,0x35,0x36])},_0xac6f74=_0x25d2d6[_0x335140([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x335140([0x67,0x65,0x74])](_0x335140([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xd6fb8d(){let _0x2bb70e,_0x3b4cdd=null,_0x109231=null;try{if(_0xac6f74==_0x335140([0x47,0x50,0x4c]))return _0x335140([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2bb70e=_0x704bac(),!_0x2bb70e)return _0x335140([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2bb70e[_0x335140([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x109231=_0x45b3f3(_0x2bb70e[_0x335140([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2bb70e[_0x335140([0x6a,0x74,0x69])])),await _0x4a61db()?_0x33b3a6()?_0x4ea2be()?_0x335140([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3a6fd5()?(_0x2bb70e[_0x335140([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x335140([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3b4cdd=_0x414674(_0x335140([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2bb70e[_0x335140([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x335140([0x74,0x72,0x69,0x61,0x6c])&&(_0x3b4cdd=_0x414674(_0x335140([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3fa611()):_0x335140([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x335140([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x335140([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x335140([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4ea2be(){const _0x559d29=[_0x335140([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x335140([0x74,0x72,0x69,0x61,0x6c])][_0x335140([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2bb70e[_0x335140([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5e3eda/0x3e8:0xe10*_0x351548;return _0x2bb70e[_0x335140([0x65,0x78,0x70])]<_0x559d29;}function _0x33b3a6(){const _0x25b616=_0x2bb70e[_0x335140([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x25b616&&(!!_0x25b616[_0x335140([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x335140([0x2a]))||(!!_0x25b616[_0x335140([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x335140([0x54,0x50,0x4c]))||(!!_0x25b616[_0x335140([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x335140([0x50,0x50]))||(!(!_0x25b616[_0x335140([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x335140([0x44,0x52,0x55,0x50]))||!_0xb3890a())||!(!_0x25b616[_0x335140([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x335140([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x1a152f())))));}function _0x3a6fd5(){const _0x5ed4d8=_0x1e44,_0x40e492=_0x2bb70e[_0x335140([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x40e492||0x0==_0x40e492[_0x335140([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5cd68f}=new URL(window[_0x335140([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x5ed4d8(0xf9)]);if(_0x40e492[_0x335140([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5cd68f))return!0x0;const _0x42f6ea=_0x5cd68f[_0x335140([0x73,0x70,0x6c,0x69,0x74])](_0x335140([0x2e]));return _0x40e492[_0x335140([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5f2aa7=>_0x5f2aa7[_0x335140([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x335140([0x2a])))[_0x335140([0x6d,0x61,0x70])](_0x3e6aa6=>_0x3e6aa6[_0x335140([0x73,0x70,0x6c,0x69,0x74])](_0x335140([0x2e])))[_0x335140([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3ab19b=>_0x3ab19b[_0x335140([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x42f6ea[_0x335140([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x335140([0x6d,0x61,0x70])](_0x9cba80=>Array(_0x42f6ea[_0x335140([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x9cba80[_0x335140([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x335140([0x66,0x69,0x6c,0x6c])](_0x9cba80[0x0]===_0x335140([0x2a])?_0x335140([0x2a]):'')[_0x335140([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x9cba80))[_0x335140([0x73,0x6f,0x6d,0x65])](_0x886c42=>_0x42f6ea[_0x335140([0x65,0x76,0x65,0x72,0x79])]((_0x3bc6ea,_0x36c2fd)=>_0x886c42[_0x36c2fd]===_0x3bc6ea||_0x886c42[_0x36c2fd]===_0x335140([0x2a])));}function _0x3fa611(){return _0x3b4cdd&&_0x109231?new window[(_0x335140([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x488323,_0x580554)=>{_0x3b4cdd[_0x335140([0x74,0x68,0x65,0x6e])](_0x488323,_0x580554),_0x109231[_0x335140([0x74,0x68,0x65,0x6e])](_0x437e23=>{_0x437e23!=_0x335140([0x56,0x61,0x6c,0x69,0x64])&&_0x488323(_0x437e23);},_0x580554);}):_0x3b4cdd||_0x109231||_0x335140([0x56,0x61,0x6c,0x69,0x64]);}}function _0x45b3f3(_0x27bd9b,_0x1115e6){return new window[(_0x335140([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2b8fd0=>{if(_0x393496())return _0x2b8fd0(_0x335140([0x56,0x61,0x6c,0x69,0x64]));_0x574614(),_0x25d2d6[_0x335140([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x335140([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x45542e=!0x1;const _0x1a5f65=_0x4f46dc();function _0x4f2644(_0x5005c4){return!!_0x5005c4&&(typeof _0x5005c4===_0x335140([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5005c4===_0x335140([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5005c4[_0x335140([0x74,0x68,0x65,0x6e])]===_0x335140([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5005c4[_0x335140([0x63,0x61,0x74,0x63,0x68])]===_0x335140([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5ddae4(_0x1f1340){_0x15b97f(_0x1f1340)[_0x335140([0x74,0x68,0x65,0x6e])](_0x590114=>{if(!_0x590114||_0x590114[_0x335140([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x335140([0x6f,0x6b]))return _0x335140([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x26d862(_0x7b96e1(_0x1a5f65+_0x1115e6))!=_0x590114[_0x335140([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x335140([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x335140([0x56,0x61,0x6c,0x69,0x64]);})[_0x335140([0x74,0x68,0x65,0x6e])](_0x297fad=>(_0x59d6fd(),_0x297fad),()=>{const _0x5e3fa1=_0x274c7e();return null==_0x5e3fa1?(_0x59d6fd(),_0x335140([0x56,0x61,0x6c,0x69,0x64])):_0x335140(_0x5e3eda-_0x5e3fa1>(0x4f03da6f^_0x16fe24)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x335140([0x74,0x68,0x65,0x6e])](_0x2b8fd0)[_0x335140([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2b8fd0(_0x335140([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x21e8fc=0x6b39b0ef^_0x16fe24;function _0x59d6fd(){const _0x5b3cd1=_0x335140([0x6c,0x6c,0x63,0x74,0x2d])+_0x26d862(_0x7b96e1(_0x27bd9b)),_0x738984=_0x176dde(_0x26d862(window[_0x335140([0x4d,0x61,0x74,0x68])][_0x335140([0x63,0x65,0x69,0x6c])](_0x5e3eda/_0x21e8fc)));window[_0x335140([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x335140([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5b3cd1,_0x738984);}function _0x274c7e(){const _0x1c5ba7=_0x335140([0x6c,0x6c,0x63,0x74,0x2d])+_0x26d862(_0x7b96e1(_0x27bd9b)),_0x1c8229=window[_0x335140([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x335140([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1c5ba7);return _0x1c8229?window[_0x335140([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x176dde(_0x1c8229),0x10)*_0x21e8fc:null;}function _0x15b97f(_0x58e911){return new window[(_0x335140([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x46409b,_0x4d0e4a)=>{_0x58e911[_0x335140([0x74,0x68,0x65,0x6e])](_0x46409b,_0x4d0e4a),window[_0x335140([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4d0e4a,0x6b0e8aaf^_0x16fe24);});}}_0x25d2d6[_0x335140([0x6f,0x6e])](_0x335140([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4900c2,_0x1804b4)=>{if(_0x1804b4[0x0]!=_0x27bd9b)return _0x2b8fd0(_0x335140([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1804b4[0x1]={..._0x1804b4[0x1],[_0x335140([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1a5f65};},{[_0x335140([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x335140([0x68,0x69,0x67,0x68])}),_0x25d2d6[_0x335140([0x6f,0x6e])](_0x335140([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x23703a=>{_0x4f2644(_0x23703a[_0x335140([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x45542e=!0x0,_0x5ddae4(_0x23703a[_0x335140([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x335140([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x335140([0x6c,0x6f,0x77])}),_0x498424[_0x335140([0x74,0x68,0x65,0x6e])](()=>{_0x45542e||_0x2b8fd0(_0x335140([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x393496(){return _0x25d2d6[_0x335140([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x335140([0x76,0x69,0x65,0x77])][_0x335140([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x335140([0x61,0x75,0x74,0x6f]);}function _0x574614(){_0x25d2d6[_0x335140([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x335140([0x76,0x69,0x65,0x77])][_0x335140([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x335140([0x61,0x75,0x74,0x6f]);}}function _0x414674(_0x20ec23){const _0x1a2a08=[new window[(_0x335140([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xce4006=>setTimeout(_0xce4006,0x6b0660a3^_0x16fe24)),_0x498424[_0x335140([0x74,0x68,0x65,0x6e])](()=>new window[(_0x335140([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2fe087=>{let _0x48bb01=0x0;_0x25d2d6[_0x335140([0x6d,0x6f,0x64,0x65,0x6c])][_0x335140([0x6f,0x6e])](_0x335140([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x407706,_0x1029da)=>{_0x1029da[0x0][_0x335140([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x48bb01++,_0x48bb01==(0x6b0f5f97^_0x16fe24)&&(_0x2fe087(),_0x407706[_0x335140([0x6f,0x66,0x66])]());});}))];return window[_0x335140([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x335140([0x72,0x61,0x63,0x65])](_0x1a2a08)[_0x335140([0x74,0x68,0x65,0x6e])](()=>_0x20ec23);}async function _0x447be3(){await _0x498424,_0x25d2d6[_0x335140([0x6d,0x6f,0x64,0x65,0x6c])][_0x335140([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1bf4e7,_0x25d2d6[_0x335140([0x6d,0x6f,0x64,0x65,0x6c])][_0x335140([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1bf4e7,_0x25d2d6[_0x335140([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x335140([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xb3890a(){return window[_0x335140([0x44,0x72,0x75,0x70,0x61,0x6c])];}function _0x1a152f(){return window[_0x335140([0x67,0x6c,0x6f,0x62])]&&window[_0x335140([0x67,0x6c,0x6f,0x62])][_0x335140([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x323437(_0x2894fd){const _0x64e161=_0x3331cd();_0x25d2d6[_0x64e161]=_0x335140([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2894fd,_0x2894fd!=_0x335140([0x56,0x61,0x6c,0x69,0x64])&&_0x447be3();}function _0x3331cd(){const _0x3976f9=window[_0x335140([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x335140([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x335140([0x6e,0x6f,0x77])]())[_0x335140([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x335140([0x2e]),'');let _0x2eef12=_0x335140([0x67]);for(let _0x1bbcaa=0x0;_0x1bbcaa<_0x3976f9[_0x335140([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1bbcaa+=0x2){let _0x7b9f4d=window[_0x335140([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3976f9[_0x335140([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1bbcaa,_0x1bbcaa+0x2));_0x7b9f4d>=_0x3de3c9[_0x335140([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x7b9f4d-=_0x3de3c9[_0x335140([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2eef12+=_0x3de3c9[_0x7b9f4d];}return _0x2eef12;}function _0x704bac(){const _0x1b8ef8=_0xac6f74[_0x335140([0x73,0x70,0x6c,0x69,0x74])](_0x335140([0x2e]));if(0x3!=_0x1b8ef8[_0x335140([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2ff00f(_0x1b8ef8[0x1]);function _0x2ff00f(_0x3ebcdb){const _0x4eaff4=_0x7b687a(_0x3ebcdb);return _0x4eaff4&&_0x1af0f2()?_0x4eaff4:null;function _0x1af0f2(){const _0x8b0688=_0x4eaff4[_0x335140([0x6a,0x74,0x69])],_0x42883e=window[_0x335140([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x8b0688[_0x335140([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x8b0688[_0x335140([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1cf46b={..._0x4eaff4,[_0x335140([0x6a,0x74,0x69])]:_0x8b0688[_0x335140([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x8b0688[_0x335140([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1cf46b[_0x335140([0x76,0x63])],_0x7b96e1(_0x1cf46b)==_0x42883e;}}}async function _0x4a61db(){let _0x1ed46e=!0x0;try{const _0x31667f=_0xac6f74[_0x335140([0x73,0x70,0x6c,0x69,0x74])](_0x335140([0x2e])),[_0x228248,_0x1e4b32,_0x588f06]=_0x31667f;return _0x3944bb(_0x228248),await _0x574049(_0x228248,_0x1e4b32,_0x588f06),_0x1ed46e;}catch{return!0x1;}function _0x3944bb(_0x3617f3){const _0x4575f8=_0x7b687a(_0x3617f3);_0x4575f8&&_0x4575f8[_0x335140([0x61,0x6c,0x67])]==_0x335140([0x45,0x53,0x32,0x35,0x36])||(_0x1ed46e=!0x1);}async function _0x574049(_0x16873b,_0x3fa7f2,_0x5a468e){const _0x514e4f=window[_0x335140([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x335140([0x66,0x72,0x6f,0x6d])](_0x594c90(_0x5a468e),_0x5d7c3e=>_0x5d7c3e[_0x335140([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xd55f62=new window[(_0x335140([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x335140([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x16873b+_0x335140([0x2e])+_0x3fa7f2),_0x3f86e2=window[_0x335140([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x335140([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3f86e2)return;const _0x54d1be=await _0x3f86e2[_0x335140([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x335140([0x6a,0x77,0x6b]),_0x315172,{[_0x335140([0x6e,0x61,0x6d,0x65])]:_0x335140([0x45,0x43,0x44,0x53,0x41]),[_0x335140([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x335140([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x335140([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3f86e2[_0x335140([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x335140([0x6e,0x61,0x6d,0x65])]:_0x335140([0x45,0x43,0x44,0x53,0x41]),[_0x335140([0x68,0x61,0x73,0x68])]:{[_0x335140([0x6e,0x61,0x6d,0x65])]:_0x335140([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x54d1be,_0x514e4f,_0xd55f62)||(_0x1ed46e=!0x1);}}function _0x7b687a(_0x5f50e3){return _0x5f50e3[_0x335140([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x335140([0x65,0x79]))?JSON[_0x335140([0x70,0x61,0x72,0x73,0x65])](_0x594c90(_0x5f50e3)):null;}function _0x594c90(_0x35afdc){return window[_0x335140([0x61,0x74,0x6f,0x62])](_0x35afdc[_0x335140([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x335140([0x2b]))[_0x335140([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x335140([0x2f])));}function _0x7b96e1(_0x3b7d94){let _0x339521=0x1505;function _0x205e4a(_0x5ca6b6){for(let _0x1a3770=0x0;_0x1a3770<_0x5ca6b6[_0x335140([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1a3770++){const _0x172b74=_0x5ca6b6[_0x335140([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1a3770);_0x339521=(_0x339521<<0x5)+_0x339521+_0x172b74,_0x339521&=_0x339521;}}function _0x6a3337(_0x13a3cc){Array[_0x335140([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x13a3cc)?_0x13a3cc[_0x335140([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x6a3337):_0x13a3cc&&typeof _0x13a3cc==_0x335140([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x335140([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x13a3cc)[_0x335140([0x73,0x6f,0x72,0x74])]()[_0x335140([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5b59ff,_0x3aeda4])=>{_0x205e4a(_0x5b59ff),_0x6a3337(_0x3aeda4);}):_0x205e4a(window[_0x335140([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x13a3cc));}return _0x6a3337(_0x3b7d94),_0x339521>>>0x0;}function _0x26d862(_0x493562){return _0x493562[_0x335140([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x335140([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x335140([0x30]));}function _0x176dde(_0x1198c2){return _0x1198c2[_0x335140([0x73,0x70,0x6c,0x69,0x74])]('')[_0x335140([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x335140([0x6a,0x6f,0x69,0x6e])]('');}function _0x1bf4e7(){}function _0x335140(_0x8c03bf){const _0x2497b2=_0x1e44;return _0x8c03bf[_0x2497b2(0xfb)](_0x22880c=>String[_0x2497b2(0xd5)](_0x22880c))[_0x2497b2(0xea)]('');}_0x323437(await _0xd6fb8d());}(this);}[_0x59c534(0xe7)](_0x240f5b,_0x1c57d2){const _0x5dfc0c=_0x59c534,{editor:_0x5152c6}=this,_0x23aee6=new _0x28f57b(_0x240f5b);return _0x23aee6[_0x5dfc0c(0xdc)]({'attributes':{'role':_0x5dfc0c(0xfc),'class':[_0x5dfc0c(0x103)]}}),_0x23aee6[_0x5dfc0c(0xd6)][_0x5dfc0c(0xff)](_0x1c57d2[_0x5dfc0c(0xfb)]((_0x1e5d31,_0x53e801)=>{const _0x1239e8=_0x5dfc0c,_0x883c6f=new _0x4474d9(_0x240f5b,_0x53e801),_0x539f49=new _0x26c3c1(_0x240f5b,_0x1e5d31);return _0x883c6f[_0x1239e8(0xf3)]=_0x539f49,_0x883c6f[_0x1239e8(0xcd)][_0x1239e8(0x104)](_0x539f49),_0x883c6f[_0x1239e8(0xf3)]['on'](_0x1239e8(0xe0),_0x3c6c17=>{const _0x36e47f=_0x1239e8;_0x5152c6[_0x36e47f(0xe0)](_0x36e47f(0xe4),_0x3c6c17[_0x36e47f(0xdb)][_0x36e47f(0xcf)][_0x36e47f(0xd0)]),_0x5152c6[_0x36e47f(0xeb)][_0x36e47f(0xf7)][_0x36e47f(0x10e)]();}),_0x883c6f;})),_0x23aee6;}}
|