{"version":3,"file":"@ckeditor-Qf0WCVaT.js","sources":["../../../node_modules/@ckeditor/ckeditor5-vue2/dist/ckeditor.js"],"sourcesContent":["/*!\n * @license Copyright (c) 2003-2022, CKSource - Frederico Knabben. All rights reserved.\n * For licensing, see LICENSE.md.\n */\n!function(t,e){\"object\"==typeof exports&&\"object\"==typeof module?module.exports=e(require(\"vue\")):\"function\"==typeof define&&define.amd?define([\"vue\"],e):\"object\"==typeof exports?exports.CKEditor=e(require(\"vue\")):t.CKEditor=e(t.Vue)}(window,(function(t){return function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){\"undefined\"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:\"Module\"}),Object.defineProperty(t,\"__esModule\",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&\"object\"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,\"default\",{enumerable:!0,value:t}),2&e&&\"string\"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,\"a\",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p=\"\",n(n.s=3)}([function(e,n){e.exports=t},function(t,e,n){\"use strict\";(function(t){var n=\"object\"==typeof t&&t&&t.Object===Object&&t;e.a=n}).call(this,n(2))},function(t,e){var n;n=function(){return this}();try{n=n||new Function(\"return this\")()}catch(t){\"object\"==typeof window&&(n=window)}t.exports=n},function(t,e,n){\"use strict\";n.r(e);var i=n(0),r=n.n(i);var o=function(t){var e=typeof t;return null!=t&&(\"object\"==e||\"function\"==e)},a=n(1),u=\"object\"==typeof self&&self&&self.Object===Object&&self,c=a.a||u||Function(\"return this\")(),s=function(){return c.Date.now()},l=/\\s/;var f=function(t){for(var e=t.length;e--&&l.test(t.charAt(e)););return e},d=/^\\s+/;var p=function(t){return t?t.slice(0,f(t)+1).replace(d,\"\"):t},v=c.Symbol,h=Object.prototype,m=h.hasOwnProperty,y=h.toString,b=v?v.toStringTag:void 0;var g=function(t){var e=m.call(t,b),n=t[b];try{t[b]=void 0;var i=!0}catch(t){}var r=y.call(t);return i&&(e?t[b]=n:delete t[b]),r},j=Object.prototype.toString;var w=function(t){return j.call(t)},O=v?v.toStringTag:void 0;var $=function(t){return null==t?void 0===t?\"[object Undefined]\":\"[object Null]\":O&&O in Object(t)?g(t):w(t)};var _=function(t){return null!=t&&\"object\"==typeof t};var E=function(t){return\"symbol\"==typeof t||_(t)&&\"[object Symbol]\"==$(t)},S=/^[-+]0x[0-9a-f]+$/i,x=/^0b[01]+$/i,T=/^0o[0-7]+$/i,D=parseInt;var N=function(t){if(\"number\"==typeof t)return t;if(E(t))return NaN;if(o(t)){var e=\"function\"==typeof t.valueOf?t.valueOf():t;t=o(e)?e+\"\":e}if(\"string\"!=typeof t)return 0===t?t:+t;t=p(t);var n=x.test(t);return n||T.test(t)?D(t.slice(2),n?2:8):S.test(t)?NaN:+t},I=Math.max,M=Math.min;var C=function(t,e,n){var i,r,a,u,c,l,f=0,d=!1,p=!1,v=!0;if(\"function\"!=typeof t)throw new TypeError(\"Expected a function\");function h(e){var n=i,o=r;return i=r=void 0,f=e,u=t.apply(o,n)}function m(t){return f=t,c=setTimeout(b,e),d?h(t):u}function y(t){var n=t-l;return void 0===l||n>=e||n<0||p&&t-f>=a}function b(){var t=s();if(y(t))return g(t);c=setTimeout(b,function(t){var n=e-(t-l);return p?M(n,a-(t-f)):n}(t))}function g(t){return c=void 0,v&&i?h(t):(i=r=void 0,u)}function j(){var t=s(),n=y(t);if(i=arguments,r=this,l=t,n){if(void 0===c)return m(l);if(p)return clearTimeout(c),c=setTimeout(b,e),h(l)}return void 0===c&&(c=setTimeout(b,e)),u}return e=N(e)||0,o(n)&&(d=!!n.leading,a=(p=\"maxWait\"in n)?I(N(n.maxWait)||0,e):a,v=\"trailing\"in n?!!n.trailing:v),j.cancel=function(){void 0!==c&&clearTimeout(c),f=0,i=l=r=c=void 0},j.flush=function(){return void 0===c?u:g(s())},j};var K={name:\"ckeditor\",created(){const{CKEDITOR_VERSION:t}=window;if(t){const[e]=t.split(\".\").map(Number);e<34&&console.warn(\"The component requires using CKEditor 5 in version 34 or higher.\")}else console.warn('Cannot find the \"CKEDITOR_VERSION\" in the \"window\" scope.')},render(t){return t(this.tagName)},props:{editor:{type:Function,default:null},value:{type:String,default:\"\"},config:{type:Object,default:()=>({})},tagName:{type:String,default:\"div\"},disabled:{type:Boolean,default:!1}},data:()=>({$_instance:null,$_lastEditorData:{type:String,default:\"\"}}),mounted(){const t=Object.assign({},this.config);this.value&&(t.initialData=this.value),this.editor.create(this.$el,t).then(e=>{this.$_instance=e,this.$_setUpEditorEvents(),this.value!==t.initialData&&e.setData(this.value),this.disabled&&e.enableReadOnlyMode(\"Integration Sample\"),this.$emit(\"ready\",e)}).catch(t=>{console.error(t)})},beforeDestroy(){this.$_instance&&(this.$_instance.destroy(),this.$_instance=null),this.$emit(\"destroy\",this.$_instance)},watch:{value(t){this.$_instance&&t!==this.$_lastEditorData&&this.$_instance.setData(t)},disabled(t){t?this.$_instance.enableReadOnlyMode(\"Integration Sample\"):this.$_instance.disableReadOnlyMode(\"Integration Sample\")}},methods:{$_setUpEditorEvents(){const t=this.$_instance,e=C(e=>{const n=this.$_lastEditorData=t.getData();this.$emit(\"input\",n,e,t)},300,{leading:!0});t.model.document.on(\"change:data\",e),t.editing.view.document.on(\"focus\",e=>{this.$emit(\"focus\",e,t)}),t.editing.view.document.on(\"blur\",e=>{this.$emit(\"blur\",e,t)})}}};const R=r.a?r.a.version:i.version,[k]=R.split(\".\").map(t=>parseInt(t,10));if(2!==k)throw new Error(\"The CKEditor plugin works only with Vue 2.x. For more information, please refer to https://ckeditor.com/docs/ckeditor5/latest/builds/guides/integration/frameworks/vuejs-v2.html\");const P={install(t){t.component(\"ckeditor\",K)},component:K};e.default=P}]).default}));\n//# sourceMappingURL=ckeditor.js.map"],"names":["t","e","module","require$$0","n","i","r","o","a","u","c","s","l","f","d","p","v","h","m","y","g","j","w","O","$","_","E","S","x","T","D","N","I","M","C","b","K","R","k","P"],"mappings":";;;mBAIC,SAASA,EAAEC,EAAE,CAAmDC,EAAA,QAAeD,EAAEE,EAAc,CAAyI,GAAE,OAAQ,SAASH,EAAE,CAAC,OAAO,SAASA,EAAE,CAAC,IAAIC,EAAE,CAAE,EAAC,SAASG,EAAEC,EAAE,CAAC,GAAGJ,EAAEI,CAAC,EAAE,OAAOJ,EAAEI,CAAC,EAAE,QAAQ,IAAIC,EAAEL,EAAEI,CAAC,EAAE,CAAC,EAAEA,EAAE,EAAE,GAAG,QAAQ,CAAE,CAAA,EAAE,OAAOL,EAAEK,CAAC,EAAE,KAAKC,EAAE,QAAQA,EAAEA,EAAE,QAAQF,CAAC,EAAEE,EAAE,EAAE,GAAGA,EAAE,OAAO,CAAC,OAAOF,EAAE,EAAEJ,EAAEI,EAAE,EAAEH,EAAEG,EAAE,EAAE,SAASJ,EAAEC,EAAEI,EAAE,CAACD,EAAE,EAAEJ,EAAEC,CAAC,GAAG,OAAO,eAAeD,EAAEC,EAAE,CAAC,WAAW,GAAG,IAAII,CAAC,CAAC,CAAC,EAAED,EAAE,EAAE,SAASJ,EAAE,CAAc,OAAO,OAApB,KAA4B,OAAO,aAAa,OAAO,eAAeA,EAAE,OAAO,YAAY,CAAC,MAAM,QAAQ,CAAC,EAAE,OAAO,eAAeA,EAAE,aAAa,CAAC,MAAM,EAAE,CAAC,CAAC,EAAEI,EAAE,EAAE,SAASJ,EAAEC,EAAE,CAA+B,GAA3B,EAAEA,IAAID,EAAEI,EAAEJ,CAAC,GAAG,EAAEC,GAAc,EAAEA,GAAa,O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