{"version":3,"file":"ckeditor.js","sources":["webpack://ClassicEditor/ckeditor.js"],"sourcesContent":["/*!\n * @license Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.\n * For licensing, see LICENSE.md.\n */\n(function(t){const e=t[\"tr\"]=t[\"tr\"]||{};e.dictionary=Object.assign(e.dictionary||{},{\"%0 of %1\":\"%0/%1\",\"Align center\":\"Ortala\",\"Align left\":\"Sola hizala\",\"Align right\":\"Sağa hizala\",Aquamarine:\"Su Yeşili\",Big:\"Büyük\",Black:\"Siyah\",\"Block quote\":\"Alıntı\",Blue:\"Mavi\",\"Blue marker\":\"Mavi işaretleyici\",Bold:\"Kalın\",\"Break text\":\"\",\"Bulleted List\":\"Simgeli Liste\",Cancel:\"İptal\",\"Cannot upload file:\":\"Dosya yüklenemedi:\",\"Centered image\":\"Ortalanmış görsel\",\"Change image text alternative\":\"Görsel alternatif yazısını değiştir\",\"Characters: %0\":\"Karakterler: %0\",\"Choose heading\":\"Başlık tipi seç\",Column:\"Kolon\",\"Decrease indent\":\"Girintiyi azalt\",Default:\"Varsayılan\",\"Delete column\":\"Kolonu sil\",\"Delete row\":\"Satırı sil\",\"Dim grey\":\"Koyu Gri\",\"Document colors\":\"Belge Rengi\",Downloadable:\"İndirilebilir\",\"Dropdown toolbar\":\"Açılır araç çubuğu\",\"Edit block\":\"Bloğu Düzenle\",\"Edit link\":\"Bağlantıyı değiştir\",\"Editor toolbar\":\"Düzenleme araç çubuğu\",\"Enter image caption\":\"Resim açıklaması gir\",\"Font Background Color\":\"Yazı Tipi Arkaplan Rengi\",\"Font Color\":\"Yazı Tipi Rengi\",\"Font Family\":\"Yazı Tipi Ailesi\",\"Font Size\":\"Yazı Boyutu\",\"Full size image\":\"Tam Boyut Görsel\",Green:\"Yeşil\",\"Green marker\":\"Yeşil işaretleyici\",\"Green pen\":\"Yeşik kalem\",Grey:\"Gri\",\"Header column\":\"Başlık kolonu\",\"Header row\":\"Başlık satırı\",Heading:\"Başlık\",\"Heading 1\":\"1. Seviye Başlık\",\"Heading 2\":\"2. Seviye Başlık\",\"Heading 3\":\"3. Seviye Başlık\",\"Heading 4\":\"4. Seviye Başlık\",\"Heading 5\":\"5. Seviye Başlık\",\"Heading 6\":\"6. Seviye Başlık\",Highlight:\"Vurgu\",\"Horizontal line\":\"Yatay çiizgi\",Huge:\"Çok Büyük\",\"Image resize list\":\"\",\"Image toolbar\":\"Resim araç çubuğu\",\"image widget\":\"resim aracı\",\"In line\":\"\",\"Increase indent\":\"Girintiyi arttır\",Insert:\"\",\"Insert column left\":\"Sola kolon ekle\",\"Insert column right\":\"Sağa kolon ekle\",\"Insert image\":\"Görsel Ekle\",\"Insert image via URL\":\"\",\"Insert media\":\"Medya Ekle\",\"Insert paragraph after block\":\"\",\"Insert paragraph before block\":\"\",\"Insert row above\":\"Üste satır ekle\",\"Insert row below\":\"Alta satır ekle\",\"Insert table\":\"Tablo Ekle\",Italic:\"İtalik\",Justify:\"İki yana yasla\",\"Left aligned image\":\"Sola hizalı görsel\",\"Light blue\":\"Açık Mavi\",\"Light green\":\"Açık Yeşil\",\"Light grey\":\"Açık Gri\",Link:\"Bağlantı\",\"Link image\":\"\",\"Link URL\":\"Bağlantı Adresi\",\"Media URL\":\"Medya URL'si\",\"media widget\":\"medya aracı\",\"Merge cell down\":\"Aşağıya doğru birleştir\",\"Merge cell left\":\"Sola doğru birleştir\",\"Merge cell right\":\"Sağa doğru birleştir\",\"Merge cell up\":\"Yukarı doğru birleştir\",\"Merge cells\":\"Hücreleri birleştir\",Next:\"Sonraki\",\"Numbered List\":\"Numaralı Liste\",\"Open in a new tab\":\"Yeni sekmede aç\",\"Open link in new tab\":\"Yeni sekmede aç\",Orange:\"Turuncu\",Original:\"Orijinal\",Paragraph:\"Paragraf\",\"Paste the media URL in the input.\":\"Medya URL'siini metin kutusuna yapıştırınız.\",\"Pink marker\":\"Pembe işaretleyici\",Previous:\"Önceki\",Purple:\"Mor\",Red:\"Kırmızı\",\"Red pen\":\"Kırmızı kalem\",Redo:\"Tekrar yap\",\"Remove color\":\"Rengi Sil\",\"Remove highlight\":\"Vurgulamayı temizle\",\"Resize image\":\"Resmi boyutlandır\",\"Resize image to %0\":\"Resmi %0 ölçülerine boyutlandır\",\"Resize image to the original size\":\"Resmi orijinal büyüklüğüne al\",\"Rich Text Editor\":\"Zengin İçerik Editörü\",\"Rich Text Editor, %0\":\"Zengin İçerik Editörü, %0\",\"Right aligned image\":\"Sağa hizalı görsel\",Row:\"Satır\",Save:\"Kaydet\",\"Select all\":\"Hepsini seç\",\"Select column\":\"Kolon seç\",\"Select row\":\"Satır seç\",\"Show more items\":\"Daha fazla öğe göster\",\"Side image\":\"Yan Görsel\",Small:\"Küçük\",\"Split cell horizontally\":\"Hücreyi yatay böl\",\"Split cell vertically\":\"Hücreyi dikey böl\",\"Table toolbar\":\"Tablo araç çubuğu\",\"Text alignment\":\"Yazı hizalama\",\"Text alignment toolbar\":\"Yazı Hizlama Araç Çubuğu\",\"Text alternative\":\"Yazı alternatifi\",\"Text highlight toolbar\":\"Yazı Vurgulama Araç Çubuğu\",\"The URL must not be empty.\":\"URL boş olamaz.\",\"This link has no URL\":\"Bağlantı adresi yok\",\"This media URL is not supported.\":\"Desteklenmeyen Medya URL'si.\",Tiny:\"Çok Küçük\",\"Tip: Paste the URL into the content to embed faster.\":\"İpucu: İçeriği daha hızlı yerleştirmek için URL'yi yapıştırın.\",\"Toggle caption off\":\"\",\"Toggle caption on\":\"\",Turquoise:\"Turkuaz\",Underline:\"Altı Çizgili\",Undo:\"Geri al\",Unlink:\"Bağlantıyı kaldır\",Update:\"Güncelle\",\"Update image URL\":\"\",\"Upload failed\":\"Yükleme başarsız\",\"Upload in progress\":\"Yükleme işlemi devam ediyor\",White:\"Beyaz\",\"Widget toolbar\":\"Bileşen araç çubuğu\",\"Words: %0\":\"Kelimeler: %0\",\"Wrap text\":\"\",Yellow:\"Sarı\",\"Yellow marker\":\"Sarı işaretleyici\"});e.getPluralForm=function(t){return t>1}})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));(function t(e,n){if(typeof exports===\"object\"&&typeof module===\"object\")module.exports=n();else if(typeof define===\"function\"&&define.amd)define([],n);else if(typeof exports===\"object\")exports[\"ClassicEditor\"]=n();else e[\"ClassicEditor\"]=n()})(window,(function(){return function(t){var e={};function n(i){if(e[i]){return e[i].exports}var o=e[i]={i:i,l:false,exports:{}};t[i].call(o.exports,o,o.exports,n);o.l=true;return o.exports}n.m=t;n.c=e;n.d=function(t,e,i){if(!n.o(t,e)){Object.defineProperty(t,e,{enumerable:true,get:i})}};n.r=function(t){if(typeof Symbol!==\"undefined\"&&Symbol.toStringTag){Object.defineProperty(t,Symbol.toStringTag,{value:\"Module\"})}Object.defineProperty(t,\"__esModule\",{value:true})};n.t=function(t,e){if(e&1)t=n(t);if(e&8)return t;if(e&4&&typeof t===\"object\"&&t&&t.__esModule)return t;var i=Object.create(null);n.r(i);Object.defineProperty(i,\"default\",{enumerable:true,value:t});if(e&2&&typeof t!=\"string\")for(var o in t)n.d(i,o,function(e){return t[e]}.bind(null,o));return i};n.n=function(t){var e=t&&t.__esModule?function e(){return t[\"default\"]}:function e(){return t};n.d(e,\"a\",e);return e};n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)};n.p=\"\";return n(n.s=75)}([function(t,e,n){\"use strict\";n.d(e,\"a\",(function(){return o}));n.d(e,\"b\",(function(){return r}));const i=\"https://ckeditor.com/docs/ckeditor5/latest/framework/guides/support/error-codes.html\";class o extends Error{constructor(t,e,n){const i=`${t}${n?` ${JSON.stringify(n)}`:\"\"}${a(t)}`;super(i);this.name=\"CKEditorError\";this.context=e;this.data=n}is(t){return t===\"CKEditorError\"}static rethrowUnexpectedError(t,e){if(t.is&&t.is(\"CKEditorError\")){throw t}const n=new o(t.message,e);n.stack=t.stack;throw n}}function r(t,e){console.warn(...c(t,e))}function s(t,e){console.error(...c(t,e))}function a(t){return`\\nRead more: ${i}#error-${t}`}function c(t,e){const n=a(t);return e?[t,e,n]:[t,n]}},function(t,e,n){\"use strict\";var i=function t(){var e;return function t(){if(typeof e===\"undefined\"){e=Boolean(window&&document&&document.all&&!window.atob)}return e}}();var o=function t(){var e={};return function t(n){if(typeof e[n]===\"undefined\"){var i=document.querySelector(n);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement){try{i=i.contentDocument.head}catch(t){i=null}}e[n]=i}return e[n]}}();var r=[];function s(t){var e=-1;for(var n=0;n0){if(++e>=Gt){return arguments[0]}}else{e=0}return t.apply(undefined,arguments)}}var $t=Kt;var Yt=$t(Ht);var Qt=Yt;function Zt(t,e){return Qt(jt(t,e,zt),t+\"\")}var Jt=Zt;var Xt=9007199254740991;function te(t){return typeof t==\"number\"&&t>-1&&t%1==0&&t<=Xt}var ee=te;function ne(t){return t!=null&&ee(t.length)&&!J(t)}var ie=ne;var oe=9007199254740991;var re=/^(?:0|[1-9]\\d*)$/;function se(t,e){var n=typeof t;e=e==null?oe:e;return!!e&&(n==\"number\"||n!=\"symbol\"&&re.test(t))&&(t>-1&&t%1==0&&t
\").replace(/\\r?\\n/g,\"
\").replace(/^\\s/,\" \").replace(/\\s$/,\" \").replace(/\\s\\s/g,\" \");if(t.includes(\"
\")||t.includes(\"
\")){t=`
${t}
`}return t}function sE(t){return t.replace(/(\\s+)<\\/span>/g,((t,e)=>{if(e.length==1){return\" \"}return e}))}const aE=[\"figcaption\",\"li\"];function cE(t){let e=\"\";if(t.is(\"$text\")||t.is(\"$textProxy\")){e=t.data}else if(t.is(\"element\",\"img\")&&t.hasAttribute(\"alt\")){e=t.getAttribute(\"alt\")}else if(t.is(\"element\",\"br\")){e=\"\\n\"}else{let n=null;for(const i of t.getChildren()){const t=cE(i);if(n&&(n.is(\"containerElement\")||i.is(\"containerElement\"))){if(aE.includes(n.name)||aE.includes(i.name)){e+=\"\\n\"}else{e+=\"\\n\\n\"}}e+=t;n=i}}return e}class lE extends Un{static get pluginName(){return\"ClipboardPipeline\"}init(){const t=this.editor;const e=t.editing.view;e.addObserver(iE);this._setupPasteDrop();this._setupCopyCut()}_setupPasteDrop(){const t=this.editor;const e=t.model;const n=t.editing.view;const i=n.document;this.listenTo(i,\"clipboardInput\",(e=>{if(t.isReadOnly){e.stop()}}),{priority:\"highest\"});this.listenTo(i,\"clipboardInput\",((t,e)=>{const i=e.dataTransfer;let o=e.content||\"\";if(!o){if(i.getData(\"text/html\")){o=sE(i.getData(\"text/html\"))}else if(i.getData(\"text/plain\")){o=rE(i.getData(\"text/plain\"))}o=this.editor.data.htmlProcessor.toView(o)}const s=new r(this,\"inputTransformation\");this.fire(s,{content:o,dataTransfer:i,targetRanges:e.targetRanges,method:e.method});if(s.stop.called){t.stop()}n.scrollToTheSelection()}),{priority:\"low\"});this.listenTo(this,\"inputTransformation\",((t,n)=>{if(n.content.isEmpty){return}const i=this.editor.data;const o=i.toModel(n.content,\"$clipboardHolder\");if(o.childCount==0){return}t.stop();e.change((()=>{this.fire(\"contentInsertion\",{content:o,method:n.method,dataTransfer:n.dataTransfer,targetRanges:n.targetRanges})}))}),{priority:\"low\"});this.listenTo(this,\"contentInsertion\",((t,n)=>{n.resultRange=e.insertContent(n.content)}),{priority:\"low\"})}_setupCopyCut(){const t=this.editor;const e=t.model.document;const n=t.editing.view;const i=n.document;function o(n,o){const r=o.dataTransfer;o.preventDefault();const s=t.data.toView(t.model.getSelectedContent(e.selection));i.fire(\"clipboardOutput\",{dataTransfer:r,content:s,method:n.name})}this.listenTo(i,\"copy\",o,{priority:\"low\"});this.listenTo(i,\"cut\",((e,n)=>{if(t.isReadOnly){n.preventDefault()}else{o(e,n)}}),{priority:\"low\"});this.listenTo(i,\"clipboardOutput\",((n,i)=>{if(!i.content.isEmpty){i.dataTransfer.setData(\"text/html\",this.editor.data.htmlProcessor.toData(i.content));i.dataTransfer.setData(\"text/plain\",cE(i.content))}if(i.method==\"cut\"){t.model.deleteContent(e.selection)}}),{priority:\"low\"})}}class dE{constructor(){this._stack=[]}add(t,e){const n=this._stack;const i=n[0];this._insertDescriptor(t);const o=n[0];if(i!==o&&!uE(i,o)){this.fire(\"change:top\",{oldDescriptor:i,newDescriptor:o,writer:e})}}remove(t,e){const n=this._stack;const i=n[0];this._removeDescriptor(t);const o=n[0];if(i!==o&&!uE(i,o)){this.fire(\"change:top\",{oldDescriptor:i,newDescriptor:o,writer:e})}}_insertDescriptor(t){const e=this._stack;const n=e.findIndex((e=>e.id===t.id));if(uE(t,e[n])){return}if(n>-1){e.splice(n,1)}let i=0;while(e[i]&&hE(e[i],t)){i++}e.splice(i,0,t)}_removeDescriptor(t){const e=this._stack;const n=e.findIndex((e=>e.id===t));if(n>-1){e.splice(n,1)}}}Vn(dE,f);function uE(t,e){return t&&e&&t.priority==e.priority&&mE(t.classes)==mE(e.classes)}function hE(t,e){if(t.priority>e.priority){return true}else if(t.priority