Lines Matching refs:f

5f){CKEDITOR.tools.extend(this,f,{editor:a,id:"cke-"+CKEDITOR.tools.getUniqueId(),area:a._.notifica…  argument
6f._removeListeners();f.element.remove()})}window.CKEDITOR&&window.CKEDITOR.dom||(window.CKEDITOR||… class in AnonymousFunctione4ea00380200
15 b=-1<a.indexOf("trident/"),b=!(!f&&!b),b={ie:b,edge:!!f,webkit:!b&&-1<a.indexOf(" applewebkit/"),ai…
16f?parseFloat(f[1]):b.quirks||!document.documentMode?parseFloat(a.match(/msie (\d+)/)[1]):document.…
19f=CKEDITOR.loadFullCoreTimeout;a&&(CKEDITOR.status="basic_ready",a&&a._load?a():f&&setTimeout(func…
20f){CKEDITOR.verbosity&CKEDITOR.VERBOSITY_ERROR&&CKEDITOR.fire("log",{type:"error",errorCode:a,addi…
21 b)}},null,null,999),CKEDITOR.dom={},function(){var a=[],f=CKEDITOR.env.gecko?"-moz-":CKEDITOR.env.w… variable
24 …n!1;return!0},cssVendorPrefix:function(a,g,d){if(d)return f+a+":"+g+";"+a+":"+g;d={};d[a]=g;d[f+a]…
26 …c=/\n{2}/g;if(c.test(b))var e="\x3c"+h+"\x3e",f="\x3c/"+h+"\x3e",b=e+b.replace(c,function(){return…
48 …EDITOR.tools.isArray}(),CKEDITOR.dtd=function(){var a=CKEDITOR.tools.extend,f=function(a,g){for(va… function
50f={a:f(b,{a:1,button:1}),abbr:b,address:c,area:k,article:c,aside:c,audio:a({source:1,track:1},c),b…
51 …el:b,legend:b,li:c,link:k,main:c,map:c,mark:b,menu:a({li:1},c),meta:k,meter:f(b,{meter:1}),nav:c,n…
52f(b,{progress:1}),q:b,rp:b,rt:b,ruby:a({rp:1,rt:1},b),s:b,samp:b,script:d,section:c,select:{optgro…
53 dialog:k,dir:{li:1},font:b,isindex:k,noframes:c,strike:b,tt:b};a(f,{$block:a({audio:1,dd:1,dt:1,fig…
54 …1,ul:1},$listItem:{dd:1,dt:1,li:1},$nonBodyContent:a({body:1,head:1,html:1},f.head),$nonEditable:{…
56f}(),CKEDITOR.dom.event=function(a){this.$=a},CKEDITOR.dom.event.prototype={getKey:function(){retu…
57 this.$;f.preventDefault?f.preventDefault():f.returnValue=!1;a&&this.stopPropagation()},stopPropagat…
59f){var b=this.getCustomData("_cke_nativeListeners");b||(b={},this.setCustomData("_cke_nativeListen…
60 …totype.removeAllListeners.call(this)}}}(),function(a){var f={};CKEDITOR.on("reset",function(){f={}…
61f[e]||(f[e]={}))[a]=c;return this};a.getCustomData=function(a){var c=this.$["data-cke-expando"];re…
63 …nd(CKEDITOR.dom.node.prototype,{appendTo:function(a,f){a.append(this,f);return a},clone:function(a… argument
64 c.nodeType==CKEDITOR.NODE_DOCUMENT_FRAGMENT)if(f||c.nodeType!=CKEDITOR.NODE_ELEMENT||c.removeAttrib…
65 …arentNode.insertBefore(a.$,this.$);return a},getAddress:function(a){for(var f=[],b=this.getDocumen…
66f.unshift(this.getIndex.call({$:c},a));c=e}return f},getDocument:function(){return new CKEDITOR.do… function
67f(c)&&!f(c,!0))return-1;do a&&c!=this.$&&c.nodeType==CKEDITOR.NODE_TEXT&&(l||b(c))||(e++,l=c.nodeT… argument
68 f&&f!=a.type?a.getNextSourceNode(!1,f,b):a},getPreviousSourceNode:function(a,f,b){if(b&&!b.call){va… argument
69f.nodeType&&new CKEDITOR.dom.node(f);while(b&&a&&!a(b));return b},getNext:function(a){var f=this.$…
70f=this.contains?this:this.getParent();do if(f.contains(a))return f;while(f=f.getParent());return n…
71f)return 0>f.sourceIndex||0>b.sourceIndex?CKEDITOR.POSITION_DISCONNECTED:f.sourceIndex<b.sourceInd…
72f){var b=this.$,c,e;f||(b=b.parentNode);"function"==typeof a?(e=!0,c=a):(e=!1,c=function(b){b="str… argument
73 f)},remove:function(a){var f=this.$,b=f.parentNode;if(b){if(a)for(;a=f.firstChild;)b.insertBefore(f
74f=CKEDITOR.tools.rtrim(a.getText()),b=a.getLength();if(f)f.length<b&&(a.split(f.length),this.$.las…
75 f&&f.is("textarea","input")&&(a=!0);if(!a&&f&&"undefined"!=typeof f.$.isContentEditable)return!(f.$…
76 …{var a=this.$.document,f="CSS1Compat"==a.compatMode;return{width:(f?a.documentElement.clientWidth:…
77f=new CKEDITOR.dom.element("link");f.setAttributes({rel:"stylesheet",type:"text/css",href:a});this…
78f.cssText=a}else{var b=new CKEDITOR.dom.element("style",this);b.append(new CKEDITOR.dom.text(a,thi… argument
79f){for(var b=this.$.documentElement,c=0;b&&c<a.length;c++){var e=a[c];if(f)for(var l=-1,k=0;k<b.ch… argument
82 … CKEDITOR.dom.node(a):null}},CKEDITOR.dom.element=function(a,f){"string"==typeof a&&(a=(f?f.$:docu… argument
83f){var b=new CKEDITOR.dom.element("div",f);b.setHtml(a);return b.getFirst().remove()},CKEDITOR.dom… argument
84f;l[b]=1;return f.setCustomData(b,c)},CKEDITOR.dom.element.clearAllMarkers=function(a){for(var f i… function
106 …e","width"]);for(var b=[],e=0;e<c.length;e++)if(g)for(var f=0;f<g.length;f++)b.push([a,c[e],g[f]].…
108 …DocumentPosition:function(a){var b=0,c=0,g=this.getDocument(),e=g.getBody(),f="BackCompat"==g.$.co…
109 …,u=f&&g||!f&&u);u&&(CKEDITOR.env.webkit||CKEDITOR.env.ie&&12<=CKEDITOR.env.version?(b=e.$.scrollLe…
111 f||(b+=this.$.clientLeft?1:0,c+=this.$.clientTop?1:0);return{x:b,y:c}},scrollIntoView:function(a){v…
112 …a&&(a=this.getWindow());f=a.getDocument();var u="BackCompat"==f.$.compatMode;a instanceof CKEDITOR…
113f=this.getEditor(!1))&&(f._.previousScrollTop=null);f=a.getWindow();e=q(this,f);var x=q(a,f),B=thi…
115f=e.nodeName.toLowerCase(),k;if(!(f in b))if("checked"==f&&(k=this.getAttribute(f)))a.setAttribute…
118 …quals(this)||e.contains(this)))return g;return null},find:function(a){var c=f(this);a=new CKEDITOR…
119 a)));c();return a},findOne:function(a){var c=f(this);a=this.$.querySelector(b(this,a));c();return a…
122f=g.endOffset,m,h=this.guard,k=this.type,n=a?"getPreviousSourceNode":"getNextSourceNode";if(!a&&!t…
124f?c.getChild(f-1):!1===m(c,!0)?null:c.getPreviousSourceNode(!0,k,m)):(c=d,c.type==CKEDITOR.NODE_EL… function
125 …!1!==a.call(this,1,1)},lastForward:function(){return f.call(this)},lastBackward:function(){return
132f=a instanceof CKEDITOR.dom.document;this.document=f?a:a.getDocument();this.root=f?a.getBody():a},… function
135 ….append(O.clone(0,e))):C?f(O,K,!1,E):H&&K.append(a.document.createText(O.substring(y)));ca;){if(ca…
136 F?f(c,K,!1,I):L&&K.append(a.document.createText(c.substring(0,D)));if(Q>fa)for(;ca;)ca=f(ca,K,!0);K…
139f(this,2,b,!1,"undefined"==typeof a?!0:a);return b},deleteContents:function(a){this.collapsed||f(t…
140f?"C":"S")));f||(c=b.clone(),c.setHtml("\x26nbsp;"),a&&c.setAttribute("id",d+"E"),e=this.clone(),e…
141f=d;e=e.type!=CKEDITOR.NODE_ELEMENT||0===f||f==e.getChildCount()?0:e.getChild(f-1).type==CKEDITOR.…
142 e=f;g.getText()?d+=e:(f=g.getPrevious(c),e?(d=e,g=f?f.getNext():g.getParent().getFirst()):(g=g.getP…
143f={container:this.endContainer,offset:this.endOffset};c&&(a(e),b(e,this.root),d||(a(f),b(f,this.ro… class in AnonymousFunctione4ea003812900
147 …=c.getParent();else{var f=c.split(d),d=c.getIndex()+1,c=c.getParent();this.startContainer.equals(t…
148 …h(a){case CKEDITOR.ENLARGE_INLINE:var e=1;case CKEDITOR.ENLARGE_ELEMENT:var f=function(a,b){var c=…
152f(D,F)&&(r=D.getParent())):(z=D.getChild(F))||(r=D);for(;r||z;){if(r&&!z){!A&&r.equals(m)&&(A=!0);…
156 …ockBoundary:!0,e=c&&c.skipBogus;if(!this.collapsed){a=a||CKEDITOR.SHRINK_TEXT;var f=this.clone(),m=
157f.setStartAfter(m):(f.setStartBefore(m),c=0):f.setStartBefore(m));h&&h.type==CKEDITOR.NODE_TEXT&&(…
158f.guard=function(b,c){if(e&&A(b)||z(b))return!0;if(a==CKEDITOR.SHRINK_ELEMENT&&b.type==CKEDITOR.NO…
159 "lastBackward":"previous"]())&&this.setEndAt(f,b?CKEDITOR.POSITION_BEFORE_END:CKEDITOR.POSITION_AFT…
164f=d.block,m=null;if(!c.blockLimit.equals(d.blockLimit))return null;"br"!=a&&(e||(e=this.fixBlock(!…
165 …ION_BEFORE_START),e=null):(f=this.splitElement(e,b||!1),e.is("ul","ol")||e.appendBogus()));return{…
166 …ckLimit,f;e&&!e.equals(d.root)&&!e.getFirst(a(e));)f=e.getParent(),this[b?"setEndAt":"setStartAt"]…
172f=c,h=void 0;e.type==CKEDITOR.NODE_ELEMENT&&e.isEditable(!1)&&(h=e[b?"getLast":"getFirst"](m));f||…
173f=e.type==CKEDITOR.NODE_ELEMENT)&&e.is(CKEDITOR.dtd.$block)&&"false"==e.getAttribute("contentedita…
177 …cestor(),d=this.getBoundaryNodes(),e=[],f,m,h,k;if(c&&c.find)for(m=c.find(a),f=0;f<m.count();f++)i…
180f(a){var b=[];a.forEach(function(a){if("true"==a.getAttribute("contenteditable"))return b.push(a),… function
182 k(a)},h={dd:1,dt:1,li:1};a.prototype={getNextParagraph:function(a){var g,f,k,t,w;a=a||"p";if(this._…
183f=q.startPath();var v=q.endPath(),u=!q.collapsed&&c(q,f.block),x=!q.collapsed&&c(q,v.block,1);q.sh…
184 …ookmark(!0,!0),f.evaluator=v,this._.nextNode=f.next(),f=new CKEDITOR.dom.walker(q.clone()),f.evalu…
185 …Marker=q.document.createText(""),this._.lastNode.insertAfter(f)),q=null);this._.started=1;f=q}v=th…
186f&&!v.getChildCount()&&"hr"!=z){g=v;k=v.equals(q);break}f&&(f.setEndAt(v,CKEDITOR.POSITION_BEFORE_…
187f.setEndAt(z,CKEDITOR.POSITION_BEFORE_END);break}v=z;B=1;k=v.equals(q);r=1}B&&f.setEndAt(v,CKEDITO…
188 f.checkStartOfBlock()&&f.checkEndOfBlock()&&!v.equals(f.root)?g=v:!g||this.enforceRealBlocks&&g.is(…
190f){this.uiItems=[];this.exec=function(b){if(this.state==CKEDITOR.TRISTATE_DISABLED||!this.checkAll… argument
191f.refresh&&!1!==f.refresh.apply(this,arguments)};var b;this.checkAllowed=function(c){return c||"bo…
194f;a=[];for(e in b){f=b[e];f="boolean"==typeof f?{}:"function"==typeof f?{match:f}:E(f);"$"!=e.char…
195 …|null}h.match=h.match||null;d.push(f);a.push(f)}b=g.elements;g=g.generic;var C;c=0;for(d=a.length;…
196 …elements)g[f?"unshift":"push"](e);else for(C in h=e.elements,delete e.elements,h)if(b[C])b[C][f?"u… function
197 …=c.classes;g=e.validClasses;if(a)if(!0===a)a=!0;else{for(var f=0,h=c.length,m;f<h;++f)m=c[f],g[m]|…
198 b=b.classes;if(a){for(var d=!1,g=!0===a,f=b.length;f--;)if(g||a(b[f]))b.splice(f,1),d=!0;a=d}else a…
200 … g(a){var b,c,d,e,g={},f=1;for(a=I(a);b=a.match(G);)(c=b[2])?(d=n(c,"styles"),e=n(c,"attrs"),c=n(c…
202 …if(k)for(n=0,u=k.length;n<u;++n)c(k[n],b,r);if(a)for(n=0,u=a.length;n<u;++n)f(a[n],b,r,l);if(h)for…
203 0,u=h.length;n<u;++n)f(h[n],b,r,l);a=r}else a=null}if(!a||!a.valid)return d.push(b),1;u=a.validAttr…
206 …replaceWithChildren();else{var d=a.children,e;b:{e=F[b];for(var g=0,f=d.length,h;g<f;++g)if(h=d[g]…
207 …ar g=e.type==CKEDITOR.NODE_DOCUMENT_FRAGMENT||"body"==e.name,m,k,f=d.length;0<f;)h=d[--f],g&&(h.ty…
208 …;break}}function A(a,b){var c=b.getDefinition(),d=c.attributes,e=c.styles,g,f,h,m;if(a.name!=c.ele…
209 d[g])return!1;for(f in e)if(a.styles[f]!=e[f])return!1;return!0}function y(a,b){var c,d;"string"==t…
211 …ITOR.filter.prototype={allow:function(b,c,d){if(!l(this,b,d))return!1;var e,f;if("string"==typeof …
212f=this.allow(b[e],c,d);return f}a(this,b,c,this.allowedContent,this._.allowedRules);return!0},appl…
213 …lue.replace(/^\{cke_protected\}/,""));c=[];var l,r,v;if(f)for(r=0;r<f.length;++r)if((v=d.match(f[r…
217 …;e<a.length;++e){b=a[e];var g=void 0,f=void 0,h=void 0,m=void 0,k=void 0,l=void 0;c=[];for(f=0;f<b…
218 …urn!1}var e,f;if("string"==typeof a){f=a+"\x3c"+(!1===b?"0":"1")+(c?"1":"0")+"\x3e";if(f in this._…
220 ….attributes,h.attributes,!0)?!0:!1;"string"==typeof a&&(this._.cachedChecks[f]=b);return b},getAll…
226 …=typeof b)a.name=b;else{var c=b.getDefinition(),d=c.styles,e=c.attributes,g,f,h,m;a.name=c.element…
227 …1==c.indexOf(m)&&a.classes.push(m);else a.attributes[g]=e[g];for(f in d)a.styles[f]=d[f]}}}}(),fun…
228 …locked=1},unlock:function(){delete this._.locked},blur:function(a){function f(){var a=this._.edito… class in CKEDITOR.focusManager.blur
229f.call(this):this._.timer=CKEDITOR.tools.setTimeout(function(){delete this._.timer;f.call(this)},b… argument
230 f&&(CKEDITOR.event.useCapture=0);a.setCustomData("focusmanager",this);a.setCustomData("focusmanager… function
231 f=this.keystrokes[e],k=this._.editor;a=!1===k.fire("key",{keyCode:e,domEvent:b});a||(f&&(a=!1!==k.e…
232 …ar:1,fa:1,he:1,ku:1,ug:1},load:function(a,f,b){a&&CKEDITOR.lang.languages[a]||(a=this.detect(f,a))… argument
233f():CKEDITOR.scriptLoader.load(CKEDITOR.getUrl("lang/"+a+".js"),f,this)},detect:function(a,f){var … argument
234 …ction(b,c){a[b]=1;var d=f[b];delete f[b];for(var e=0;e<d.length;e++)d[e](b,c)},t=function(b){if(a[…
235 …])&&this.load(b.scriptUrl,b.callback,CKEDITOR,0)}var c=[];return function(e,f){var k=this;c.push({… argument
236f&&f.apply(this,arguments);c.shift();a.call(k)}});1==c.length&&a.call(this)}}()}}(),CKEDITOR.resou… argument
237f=this.externals[a];return CKEDITOR.getUrl(f&&f.dir||this.basePath+a+"/")},getFilePath:function(a)… argument
238 file:b||this.fileName+".js"}}},load:function(a,f,b){CKEDITOR.tools.isArray(a)||(a=a?[a]:[]);for(var… argument
239f.call(b,d)},this)}},CKEDITOR.plugins=new CKEDITOR.resourceManager("plugins/","plugin"),CKEDITOR.p…
240f[d]=1}if(p)for(p.split&&(p=p.split(",")),n=0;n<p.length;n++)l[p[n]]||b.push(p[n])}if(b.length)k.c… argument
241f,b){b.name=a.toLowerCase();var c=this.items[a]={type:f,command:b.command||null,args:Array.prototy… argument
242 b;c&&c.uiItems.push(b);b&&!b.type&&(b.type=f.type);return b},addHandler:function(a,f){this._.handle… argument
243 …MODE_NONE;this._={};this.commands={};this.templates={};this.name=this.name||f();this.id=CKEDITOR.t…
245 …tatus?d(this,a):CKEDITOR.warn("editor-incorrect-destroy")},0,this)}function f(){do var a="editor"+… function
250 …eplace(g,""),c=c+(","+d);if(e)var f=new RegExp("(?:^|,)(?:"+e.replace(/\s*,\s*/g,"|")+")(?\x3d,|$)…
251 …,r=m.requires,n;CKEDITOR.tools.isArray(r)&&(r=r.join(","));if(r&&(n=r.match(f)))for(;r=n.pop();)CK…
252f=0;f<d.length;f++){var h=d[f];0===g&&e[f]&&h.lang&&h.langEntries&&(a.lang[h.name]=h.langEntries[e…
254f,h,m=0;m<a.length;m++){var k=a[m],l=k.startContainer.getAscendant("tr",!0);c(k)?(g||(g=l.getAscen…
264 …w\-:.]+)(?:(?:\s*=\s*(?:(?:"([^"]*)")|(?:'([^']*)')|([^\s>]+)))|(?=\s|$))/g,f={checked:1,compact:1… class in AnonymousFunctione4ea00381d300
309f[c.toLowerCase()]=e});return{rules:f,populate:function(a){var c=this.toString();c&&(a instanceof …
310f=function(a,b){a=a[0];b=b[0];return a<b?-1:a>b?1:0},b=CKEDITOR.htmlParser.fragment.prototype;CKED… function
311f.name=d;if(!(f=a.onElement(b,f)))return this.remove(),!1;if(f!==this)return this.replaceWith(f),!…
312 …tes,h,m;a.openTag(l,d);for(h in d)k.push([h,d[h]]);a.sortAttributes&&k.sort(f);h=0;for(m=k.length;…
313f=this.children.length;e<f;++e)if(b(this.children[e]))return this.children[e];return null},getHtml…
314f=this.clone(),k=0;k<b.length;++k)b[k].parent=f;f.children=b;b[0]&&(b[0].previous=null);0<a&&(this…
315 b)))}return f},addClass:function(a){if(!this.hasClass(a)){var b=this.attributes["class"]||"";this.a…
316 …nEditable",!0);if(b.length){a=CKEDITOR.tools.copy(a);for(var f=0;f<b.length;f+=2)a[b[f]]=b[f+1]}re… argument
317 function(f,b){var c=this.source.replace(a,function(a,b){return void 0!==f[b]?f[b]:a});return b?b.pu…
318f,b){var c=a[f];if(c)return c;c={name:f,source:b};CKEDITOR.fire("template",c);return a[f]=new CKED… argument
319f){if(!CKEDITOR.env.isCompatible)return null;a=CKEDITOR.dom.element.get(a);if(a.getEditor())throw'… argument
321f,b;for(b in CKEDITOR.dtd.$editable)for(var c=CKEDITOR.document.getElementsByTag(b),e=0,l=c.count(…
323f);return d}function f(){var a=this.container,b=this.element;a&&(a.clearCustomData(),a.remove());b… function
326f.hide(),b.insertAfter(f)):f.append(b);a.container=b;a.ui.contentsElement=a.ui.space("contents");d…
327f){return a(b,e,f,CKEDITOR.ELEMENT_MODE_APPENDTO)};CKEDITOR.replaceAll=function(){for(var a=docume… argument
328f=this,k=this._.modes;if(a!=f.mode&&k&&k[a]){f.fire("beforeSetMode",a);if(f.mode){var d=f.checkDir…
329 f.resetDirty();m?f.fire("unlockSnapshot"):"wysiwyg"==a&&f.fire("saveSnapshot");setTimeout(function(… argument
330 0),d=Math.max(b-(f?0:g),0);b=f?b+g:b;h.setStyle("height",d+"px");m&&(m.style.width="100%");this.fir…
331 h=g.getRanges()[0],m;if(CKEDITOR.env.gecko||CKEDITOR.env.ie&&CKEDITOR.env.needsBrFiller)if(g=f(g,d)…
332 …tch(/^(?:&nbsp;|\xa0)$/)&&b.remove(),m=1,a.cancel());m&&h.select()}function f(a,b){if(a.isFake)ret…
333 …r g={table:1,ul:1,ol:1,dl:1};if(e.startPath().contains(g)){var f=e.clone();f.collapse(1);f.setStar…
334 …walker(f);a.guard=b();a.checkBackward();if(d)return f=e.clone(),f.collapse(),f.setEndAt(d,CKEDITOR…
342f,h;if(g)for(;(f=b.getCommonAncestor(0,1))&&(h=CKEDITOR.dtd[f.getName()])&&(!h||!h[e]);)f.getName(…
348 …s(c.block)){a:{var d=c.block.getElementsByTag("span"),g=0,f;if(d)for(;f=d.getItem(g++);)if(!n(f)){…
353f=a.config.contentsLangDirection;this.getDirection(1)!=f&&this.changeAttr("dir",f);var h=CKEDITOR.…
354 f+1);this.setCustomData("cke_includeReadonly",!a.config.disableReadonlyStyling);this.attachListener…
355f.moveToPosition(e,CKEDITOR.POSITION_BEFORE_START),e.remove(),f.select(),a.fire("saveSnapshot"),d=…
356f.checkBoundaryOfElement(k,c?CKEDITOR.START:CKEDITOR.END)&&(u=k[c?"getPrevious":"getNext"](g))?(a.…
360f;(f=(c?d:e).getBogus())&&f.remove();f=a.getSelection();g=f.createBookmarks();(c?e:d).moveChildre…
361 f=b.block,d=c.endPath().block,f&&d&&!f.equals(d)?(a.fire("saveSnapshot"),(e=f.getBogus())&&e.remove…
366f,h,m=[],k=d.range.startContainer;e=d.range.startPath();for(var k=l[k.getName()],n=0,u=c.getChildr…
367f,allowed:h}),g=C=0)):m.push({isElement:0,node:e,allowed:1});-1<x&&(m[x].firstNotAllowed=1);-1<p&&…
368f,m;g.setEndAt(c,CKEDITOR.POSITION_BEFORE_END);(f=(new CKEDITOR.dom.walker(g)).next())&&a(f)&&n[f.…
371f,!1,1))G.splitElement(q),n.inlineStylesRoot=q,n.inlineStylesPeak=B.lastElement;B=G.createBookmark…
372 q.getParent())&&f(q);)p.push(q);G.moveToBookmark(B);if(B=x){B=n.range;if("text"==n.type&&n.inlineSt…
378 ….isBlockBoundary())U.moveToPosition(T,CKEDITOR.POSITION_BEFORE_END);else{if(f(T)&&T.getHtml().matc…
380f=!1;c(g.getElementsByTag("td"));c(g.getElementsByTag("th"));g=d.clone();g.setStart(e,0);g=a(g).la…
381 d.moveToPosition(g,f?CKEDITOR.POSITION_AFTER_START:CKEDITOR.POSITION_BEFORE_END))}}();u=function(){…
382 …,d=c.clone(),e=c.clone(),g=new CKEDITOR.dom.elementPath(c.startContainer,b),f=new CKEDITOR.dom.ele…
383 …StartAfter(g.block),a.prependEolBr=1);f.block&&e.checkBoundaryOfElement(f.block,CKEDITOR.START)&&(…
384 …ndContainer,b),f;d.type==CKEDITOR.NODE_TEXT&&(d=d.getParent());if(e.blockLimit.is({tr:1,table:1}))…
385 …tParent();f=function(a){return!a.equals(m)}}f||(f=function(a){return!a.equals(e.block)&&!a.equals(…
386 …tectMerge:function(a,b){var d=c(b,a.bookmark),e=d.startPath(),g=d.endPath(),f=e.contains(CKEDITOR.…
387 h=g.contains(CKEDITOR.dtd.$list);a.mergeList=f&&h&&f.getParent().equals(h.getParent())&&!f.equals(h…
388f=new CKEDITOR.dom.elementPath(e,c);if(a.mergeList){var h=g.contains(CKEDITOR.dtd.$list),m=f.conta…
389f=new CKEDITOR.dom.elementPath(e,c),g=g.block,f=f.block;g&&f&&!g.equals(f)&&b(f,d,e);d.remove();e.…
390f?"out":"in");if(a.getCustomData(l))return;CKEDITOR.dom.element.setMarker(k,a,l,1)}if(f&&h&&a.equa…
392f=c(g,e.bookmark),h=f.clone(),m,k,l=f.getCommonAncestor();l.is(CKEDITOR.dtd.$tableContent)&&!l.is(…
393f.clone(),h.setEndAt(l,CKEDITOR.POSITION_AFTER_END),m=f.clone(),m.setStartAt(k,CKEDITOR.POSITION_B…
396 …0;d<a.length;d++)if(c=a[d]._getTableElement(),!c)return!1;return!0}function f(a){function b(a){a=a… function
397 f(a);var b="",c=[],d,e;for(e=0;e<a.length;e++)d&&!d.equals(a[e].getAscendant("tr"))?(b+=c.join("\t"…
398 …ar d;if(!(d=!c)&&(d=!c.isHidden())){d=b;var e=c.getRanges(),g=d.getRanges(),f=e.length&&e[0]._getT…
399 …ength&&e[0].collapsed,g=a(e,!!CKEDITOR.env.webkit)&&a(g);f=f&&h?f.equals(h)||h.contains(f):!1;f&&(…
402f=[{node:d.anchorNode,offset:d.anchorOffset},{node:d.focusNode,offset:d.focusOffset}];d.anchorNode…
405 …(d),d=d.getParent();d=c.startContainer;e=c.endContainer;var g=c.startOffset,f=c.endOffset,h=c.clon…
406 e&&e.type==CKEDITOR.NODE_TEXT&&(f?h.setEndAfter(e):h.setEndBefore(e));d=new CKEDITOR.dom.walker(h);…
408 …ent.$.selection,c=a.createRange();"None"!=a.type&&c.parentElement().ownerDocument==f.$&&c.select()}
409 …==b.getAttribute("contenteditable")&&b}}var f=c.document,h=CKEDITOR.document,m=c.editable(),k=f.ge…
410 …(){u&&CKEDITOR.env.webkit&&(u=c._.previousActive&&c._.previousActive.equals(f.getActive()))&&null!…
412 …t=x.x,c.document.$.documentElement.scrollTop=x.y);x=null});if("BackCompat"!=f.$.compatMode){if(CKE…
414 …{B=1});m.attachListener(f.getDocumentElement(),"mouseup",function(){B&&l.call(c);B=0})}else m.atta…
415 m.attachListener(f,"keydown",function(a){switch(a.data.getKey()){case 13:case 33:case 34:case 35:ca…
424 …);if(!d.hasChildNodes())return{container:d,offset:0};for(var e=d.children,g,f,h=b.duplicate(),m=0,…
425 …ffset:g.nodeValue.length};for(d=e.length;0<h&&0<d;)f=e[--d],f.nodeType==CKEDITOR.NODE_TEXT&&(r=f,h…
426 …0<n?0:1)};for(;0<h;)try{f=g[0<n?"previousSibling":"nextSibling"],f.nodeType==CKEDITOR.NODE_TEXT&&(…
427f=g.parentNode,h=0,a=new CKEDITOR.dom.range(this.root);h<f.childNodes.length&&f.childNodes[h]!=g;h…
433 …this.reset();if(e)for(var e=this.root,f,k=0;k<b.length;++k)f=b[k],f.endContainer.equals(e)&&(f.end…
443 …ribute("contentEditable");"false"==e?c=a:"true"==e&&(d=1)}return c}function f(a,b,c,d){return(a.ge… function
445 …check(this):1)A.selectNodeContents(D),b.call(this,A)}y=B?!n[B]||z?0:t&&!l?0:f(x,p,h,L):1;if(y)if(D…
446 …Count()){for(var B=x,F;(k=!B.getNext(I))&&(F=B.getParent(),n[F.getName()])&&f(F,v,h,N);)B=F;q.setE…
448f=0;f<a.elements.length;f++){var h=a.elements[f];if(h==a.block||h==a.blockLimit)break;n.checkEleme…
449f,h=0,m;h<g.elements.length&&(m=g.elements[h])&&m!=g.block&&m!=g.blockLimit;h++)if(this.checkEleme…
450f))break;else if(m.match)continue;else m=m.clone();m.append(e);e=m}e["start"==f.match?"insertBefor…
453f=!d&&e;if(d&&!e){e=b;(f=a.getBogus())&&f.remove();f=a.getHtml();f=n(f,/(?:^[ \t\n\r]+)|(?:[ \t\n\…
454f=f.replace(/<br\b[^>]*>/gi,"\n");if(CKEDITOR.env.ie){var h=a.getDocument().createElement("div");h…
457f;for(f in d)if("class"!=f&&!this._.definition.fullMatch||a.getAttribute(f)==z(f,d[f]))b&&"data-"=…
459 g;if(g=a.getAttribute(e)){var f=b[d][1];(null===f||f.test&&f.test(g)||"string"==typeof f&&g==f)&&a.…
461f;"string"==typeof e?g=e.toLowerCase():(g=e.element?e.element.toLowerCase():a.element,f=e.attribut…
462 …a.document,e=a.getRanges();b=b?this.removeFromRange:this.applyToRange;var g,f;if(a.isFake&&a.isInT…
463 [],f=0;f<e.length;f++)g.push(e[f].clone());for(var h=e.createIterator();f=h.getNextRange();)b.call(…
469 …d={},e=0,g=c.attributes;if(g)for(var f in g)e++,d[f]=g[f];if(f=CKEDITOR.style.getStyleText(c))d.st…
471 …th&&(c=c.replace(F,";"));for(var e in b){var g=b[e],f=(e+":"+g).replace(F,";");"inherit"==g?d+=f:c…
472 …,CKEDITOR.styleCommand=function(a,f){this.requiredContent=this.allowedContent=this.style=a;CKEDITO… argument
473f,b){CKEDITOR.stylesSet.addExternal(a,f,"");CKEDITOR.stylesSet.load(a,b)},CKEDITOR.tools.extend(CK… argument
474f=b[e],k=f.style.checkActive(a.data.path,this)?CKEDITOR.TRISTATE_ON:CKEDITOR.TRISTATE_OFF;f.fn.cal…
475 …d(c,function(b){f._.stylesDefinitions=b[c];a(f._.stylesDefinitions)})}}}}),CKEDITOR.dom.comment=fu… argument
476f={},b;for(b in CKEDITOR.dtd.$blockLimit)b in CKEDITOR.dtd.$list||(a[b]=1);for(b in CKEDITOR.dtd.$…
477f[m]&&(l=h),a[m])){if(m=!l&&"div"==m){a:{m=h.getChildren();for(var g=0,n=m.count();g<n;g++){var p=…
478 f.length!=a.length)return!1;for(var b=0;b<f.length;b++)if(!f[b].equals(a[b]))return!1;return!0},con… argument
479f=0;f<l;f++)if(c(e[f]))return e[f];return null},isContextFor:function(a){var f;return a in CKEDITO… argument
480f=this.$.parentNode,b=f.childNodes.length,c=this.getLength(),e=this.getDocument(),l=new CKEDITOR.d… argument
481f)}}),function(){function a(a,c,e){var f=a.serializable,k=c[e?"endContainer":"startContainer"],d=e…
482f)};var f={createIterator:function(){var a=this,c=CKEDITOR.dom.walker.bookmark(),e=[],f;return{get… class in AnonymousFunctione4ea003830e00
483f],h.moveToBookmark(e.shift()),d.setEnd(h.endContainer,h.endOffset)}return d}}},createBookmarks:fu…
484f(b){var c=CKEDITOR.skin["ua_"+b],d=CKEDITOR.env;if(c)for(var c=c.split(",").sort(function(a,b){re… function
485 f)&&(f="ie"),d[f]){b+="_"+c[e];break}return CKEDITOR.getUrl(a()+b+".css")}function b(a,b){l[a]||(CK…
486f=f.replace(c[d][0],c[d][1]);a[h].$.sheet.addRule(b[e][0],f)}else{f=b;for(d=0;d<c.length;d++)f=f.r…
487 …n(a,b,c,d,e){var f;a&&(a=a.toLowerCase(),b&&(f=this.icons[a+"-rtl"]),f||(f=this.icons[a]));a=c||f&…
488 …a;var c=CKEDITOR.skin.chameleon,f="",m="";"function"==typeof c&&(f=c(this,"editor"),m=c(this,"pane…
489f=b.getUiColor();f&&e([a],CKEDITOR.skin.chameleon(b,"panel"),[[h,f]])}};b.on("panelShow",a);b.on("…
490f||f!=b)}catch(c){CKEDITOR.env.hc=!1}a.remove()}CKEDITOR.env.hc&&(CKEDITOR.env.cssClass+=" cke_hc"…
491 …^#]./g),f=0;3>f;f++){var k=f,d;d=parseInt(e[f],16);d=("0"+(0>c?0|d*(1+c):0|d+(255-d)*c).toString(1…
493 …tonHover:a(e,.1),menubuttonIcon:a(e,.5),menubuttonIconHover:a(e,.3)};return f[c].output(e).replace…
494 …c]);b.push(!0);CKEDITOR.tools.extend.apply(CKEDITOR.tools,b);return this._},f={build:function(a,b,… class in AnonymousFunctione4ea003831900
496 …og,{labeledElement:function(b,c,d,e){if(!(4>arguments.length)){var f=a.call(this,c);f.labelId=CKED…
497f.labelId);CKEDITOR.ui.dialog.uiElement.call(this,b,c,d,"div",null,k,function(){var a=[],d=c.requi…
498 …'\x3clabel class\x3d"cke_dialog_ui_labeled_label'+d+'" id\x3d"'+f.labelId+'" for\x3d"'+f.inputId+'…
499 …gth)){a.call(this,c);var f=this._.inputId=CKEDITOR.tools.getNextId()+"_textInput",k={"class":"cke_…
501f=this,k=this._.inputId=CKEDITOR.tools.getNextId()+"_textarea",l={};c.validate&&(this.validate=c.v…
502f.getInputElement().on("keyup",d)},f);CKEDITOR.ui.dialog.labeledElement.call(this,b,c,e,function()…
503 …heckbox"},!0),d=[],f=CKEDITOR.tools.getNextId()+"_label",g={"class":"cke_dialog_ui_checkbox_input"…
504f,'" for\x3d"',g.id,'"'+(c.labelStyle?' style\x3d"'+c.labelStyle+'"':"")+"\x3e",CKEDITOR.tools.htm…
505 …class":"cke_dialog_ui_radio_input",name:g,value:B,"aria-labelledby":z},y=[];f._["default"]==B&&(A.…
507 …},this);var f=CKEDITOR.tools.extend({},c);delete f.style;var k=CKEDITOR.tools.getNextId()+"_label"…
508 …{},c,{id:c.id?c.id+"_select":CKEDITOR.tools.getNextId()+"_select"},!0),d=[],f=[],g={id:e.inputId,"…
509 …ultiple=c.multiple);k(a);for(var l=0,u;l<c.items.length&&(u=c.items[l]);l++)f.push('\x3coption val…
510 g,f.join(""));d.push("\x3c/div\x3e");return d.join("")})}},file:function(b,c,d){if(!(3>arguments.le…
511 …date=c.validate);var f=CKEDITOR.tools.extend({},c),k=f.onClick;f.className=(f.className?f.classNam…
512 …all(this,b,f,d)}},html:function(){var a=/^\s*<[\w:]+\s+([^>]*)?>/,b=/^(\s*<[\w:]+(?:\s+[^>]*)?)((?… argument
513f.push([l[1]," ",k[1]||"",l[2]].join(""))}}}(),fieldset:function(a,b,c,d,e){var f=e.label;this._={…
514 (e.labelStyle?' style\x3d"'+e.labelStyle+'"':"")+"\x3e"+f+"\x3c/legend\x3e");for(var b=0;b<c.length…
526 …ITOR.tools.fixDomain+")();":"","window.parent.CKEDITOR.tools.callFunction("+f+");","window.onbefor…
527f=this.formLoadedNumber,k=this.formUnloadNumber,l=b.dialog._.editor.lang.dir,v=b.dialog._.editor.l…
529 …g.hbox.prototype);CKEDITOR.dialog.addUIElement("text",f);CKEDITOR.dialog.addUIElement("password",f
530f=[],k=[],l=0;l<d.length&&(e=d[l]);l++){var v=[];f.push(v);k.push(CKEDITOR.dialog._.uiElementBuild…
531f(){for(var a=this._.tabIdList.length,b=CKEDITOR.tools.indexOf(this._.tabIdList,this._.currentTabI… function
532f.getAttribute("type").toLowerCase()&&(b?(f.setAttribute("value",f.getCustomData("fake_value")||""…
536 …;a.move(e.x+h[3]<g?-h[3]:e.x-h[1]>m.width-k.width-g?m.width-k.width+("rtl"==f.lang.dir?0:h[1]):e.x…
537f=a.getParentEditor(),g=f.config.dialog_magnetDistance,h=CKEDITOR.skin.margins||[0,0,0,0];"undefin… argument
538 …();g.on("mousemove",b);g.on("mouseup",c)}f.data.preventDefault()},a)}function g(a){function b(c){v…
539 …,b)}}var d=a.definition,e=d.resizable;if(e!=CKEDITOR.DIALOG_RESIZE_NONE){var f=a.getParentEditor(),
541 …'\x3cdiv class\x3d"cke_resizer'+b+" cke_resizer_"+f.lang.dir+'" title\x3d"'+CKEDITOR.tools.htmlEnc…
542f.lang.dir?"◢":"◣")+"\x3c/div\x3e");a.parts.footer.append(b,1)});f.on("destroy",function(){CKEDITO…
543f=['\x3cdiv tabIndex\x3d"-1" style\x3d"position: ',CKEDITOR.env.ie6Compat?"absolute":"fixed","; z-…
544f.push('" style\x3d"position:absolute;left:0;top:0;width:100%;height: 100%;filter: progid:DXImageT…
548 …&(c=0);try{b[c].getInputElement().$.blur()}catch(d){}var e=c,f=1<y._.pageCount;do{e+=a;if(f&&!y._.…
550 d)&&y._.tabBarMode)d=-1!=CKEDITOR.tools.indexOf([e?39:37,38],d)?a.call(y):f.call(y),y.selectPage(d)…
560f="fixed"==d.getComputedStyle("position");CKEDITOR.env.ie&&d.setStyle("zoom","100%");f&&this._.pos…
563f=a.requiredContent,g=0;if(e){for(var h in this._.contents[a.id]){var k=this._.contents[a.id][h];"…
568 …pand,padding:a.padding,style:a.style||"width: 100%;"},b),e=this._.contents[a.id]={},f=d.getChild(),
569 g=0;d=f.shift();)d.notAllowed||"hbox"==d.type||"vbox"==d.type||g++,e[d.id]=d,"function"==typeof d.g…
571f=this._.tabs[a];f[0].addClass("cke_dialog_tab_selected");CKEDITOR.env.ie6Compat||CKEDITOR.env.ie7…
579 …n e;return null},x=function(a,b,c,d,e){if(c){for(var f=0,g;g=a[f];f++){if(g.id==c)return a.splice(
582 …L=function(){};(function(){CKEDITOR.ui.dialog={uiElement:function(a,b,c,d,e,f,g){if(!(4>arguments.… argument
583 k=["\x3c",h," "],m=(e&&e.call?e(b):e)||{},l=(f&&f.call?f(b):f)||{},n=(g&&g.call?g.call(this,a,b):g)…
587 …,hbox:function(a,b,c,d,e){if(!(4>arguments.length)){this._||(this._={});var f=this._.children=b,g=…
588 …ding:"+w(e.padding));CKEDITOR.env.ie&&CKEDITOR.env.quirks&&f[k].align&&d.push("text-align:"+f[k].a…
589 vbox:function(a,b,c,d,e){if(!(3>arguments.length)){this._||(this._={});var f=this._.children=b,g=e&…
590 …ding:"+w(e.padding));CKEDITOR.env.ie&&CKEDITOR.env.quirks&&f[d].align&&k.push("text-align:"+f[d].a…
595f=[],g=[],h=0;h<d.length&&(e=d[h]);h++){var k=[];f.push(k);g.push(CKEDITOR.dialog._.uiElementBuild…
596 …*))(px|\%)?)?$/,e=/^(((\d*(\.\d+))|(\d*))(px|em|ex|in|cm|mm|pt|pc|\%)?)?$/i,f=/^(\s*[\w-]+\s*:\s*[…
597f;for(f=0;f<a.length;f++)if("function"==typeof a[f])e.push(a[f]);else break;f<a.length&&"string"==…
598 …m(a))},a)},inlineStyle:function(a){return this.functions(function(a){return f.test(CKEDITOR.tools.…
600 …s.add("dialog",{requires:"dialogui",init:function(a){a.on("doubleclick",function(f){f.data.dialog&& argument
601f.data.dialog)},null,null,999)}}),function(){CKEDITOR.plugins.add("a11yhelp",{requires:"dialog",av…
602f.availableLangs[b]?b:f.availableLangs[b.replace(/-.*/,"")]?b.replace(/-.*/,""):"en";CKEDITOR.scri…
603f=a.addCommand("about",new CKEDITOR.dialogCommand("about"));f.modes={wysiwyg:1,source:1};f.canUndo…
604 …a.ui.addButton&&a.ui.addButton(b,{label:d,command:e,toolbar:"basicstyles,"+(f+=10)})}},c={bold:["s…
607 …ion")&&a.setAttribute("dir",b)):a.setAttribute("dir",b),c.forceNextSelectionCheck())}}function f(a, function
609 …(var e=a.editable();d&&!(d.getName()in k||d.equals(e));){var f=d.getParent();if(!f)break;d=f}}d=d|…
611 B.getName()in l)||(B=f(u,e,h));B&&a(B,b,c,m);var r=new CKEDITOR.dom.walker(u),z=v[x].startNode,A=v[…
612 …)\s*(:?$|;)/;return function(d,f){if(!this.isReadOnly()){var h;if(h=d==(b||c?"dir":"direction")||"… argument
613 …plugins.add("bidi",{init:function(a){function c(b,d,e,f,h){a.addCommand(e,new CKEDITOR.command(a,f argument
621 …blockquote",{init:function(f){f.blockless||(f.addCommand("blockquote",a),f.ui.addButton&&f.ui.addB… argument
624 f=CKEDITOR.addTemplate("buttonArrow",'\x3cspan class\x3d"cke_button_arrow"\x3e'+(CKEDITOR.env.hc?"\…
629 …tyle(x,"rtl"==a.lang.dir,this.icon,this.iconOffset),arrowHtml:this.hasArrow?f.output():""};b.outpu…
631f(a),m=0;m<h.length;m++){var l=h[m];if("/"!=l){"string"==typeof l&&(l=h[m]={name:l});var q,v=l.gro…
632f]||(b[f]=[]),b[f].push({name:d,order:g});for(f in b)b[f]=b[f].sort(function(a,b){return a.order==…
633f,CKEDITOR.tools.clone(e)),b.push(f)):e.items&&(d(f,CKEDITOR.tools.clone(e.items)),f.name=e.name,b…
635 …))}};CKEDITOR.plugins.add("toolbar",{requires:"button",init:function(e){var f,k=function(a,b){var …
636f?c.items.length-1:0];a&&!a.focus;)(a=f?a.previous:a.next)||(c=0);a&&a.focus();return!1;case p:c=a…
637f=CKEDITOR.tools.getNextId(),m=['\x3cspan id\x3d"',f,'" class\x3d"cke_voice_label"\x3e',e.lang.too…
638 m.push('\x3cspan class\x3d"cke_toolbox_main"'+(f?"\x3e":' style\x3d"display:none"\x3e'));for(var p=…
641 …lbar_collapser"),c=b.getPrevious(),d=a.ui.space("contents"),e=c.getParent(),f=parseInt(d.$.style.h…
642f-(e.$.offsetHeight-g)+"px");a.fire("resize",{outerHeight:a.container.$.offsetHeight,contentsHeigh…
643 f||m.push(" cke_toolbox_collapser_min");m.push('" onclick\x3d"CKEDITOR.tools.callFunction('+E+')"\x…
644 …eturn{}}}}})}});CKEDITOR.ui.prototype.addToolbarGroup=function(a,b,c){var d=f(this.editor),h=0===b…
645 …OR.plugins.add("notification",{requires:"toolbar",init:function(a){function f(a){var c=new CKEDITO… function
646 …ification=function(b,c,e){var f,k;"progress"==c?f=e:k=e;b=new CKEDITOR.plugins.notification(a,{mes…
647f(a.lang.notification.closed),c[c.length-1].hide(),b.cancel())}})}}),ka.prototype={show:function()…
648 …s.progress=a.progress,e&&e.setStyle("width",this._getPercentageProgress()));f&&a.important&&(b.set…
649f,b,c=this.editor.lang.common.close;f=new CKEDITOR.dom.element("div");f.addClass("cke_notification…
650f.append(b);b=CKEDITOR.dom.element.createFromHtml('\x3ca class\x3d"cke_notification_close" href\x3…
651f;this._hideTimeoutId&&clearTimeout(this._hideTimeoutId);if("number"==typeof this.duration)f=this.…
652f&&(a._hideTimeoutId=setTimeout(function(){a.hide()},f))}},la.prototype={add:function(a){this.noti…
653f=a.config,b=new CKEDITOR.dom.element("div");b.addClass("cke_notifications_area");b.setAttribute("…
654f=this.editor;a.removeListener("scroll",this._uiBuffer.input);a.removeListener("resize",this._uiBu…
655 b=b.ui.space("top"),l=b.getClientRect(),k=f.getClientRect(),d,h=this._notificationWidth,m=this._not…
656f.setStyles({position:"fixed",top:w(l.bottom)}):0<c.top?f.setStyles({position:"absolute",top:w(e.y…
657 f.setStyle("left",w(q-e.x+g.x+n.width-h-m)):0>c.left+c.width-h-m?a():0>c.left+c.width/2-h/2?f.setSt…
658f(b){function c(){var a=b.editable();if(CKEDITOR.plugins.clipboard.isCustomCopyCutSupported){var d… function
660 …paste",c.dataTransfer||(c.dataTransfer=D.initPasteDataTransfer()),a(b,c,g)):f&&b.showNotification(…
661f="undefined"!==typeof c.notification?c.notification:!0,g=c.type,h=CKEDITOR.tools.keystrokeToStrin…
662f(){F=1;setTimeout(function(){F=0},100)}function h(){C=1;setTimeout(function(){C=0},10)}function k… function
663 …),a.selectElement(c))},0))}}function l(a,c){var d=b.document,e=b.editable(),f=function(a){a.cancel… function
665 …ht","-10000px");b.on("selectionChange",f,null,null,0);if(CKEDITOR.env.webkit||CKEDITOR.env.gecko)h…
666 …Change",f);c(n.getHtml())},0)}}function B(){if("paste"==D.mainPasteEvent)return b.fire("beforePast…
667 …a.data.keyCode){case CKEDITOR.CTRL+86:case CKEDITOR.SHIFT+45:a=b.editable();f();"paste"==D.mainPas…
669 …("cut"),copy:y("copy"),paste:y("paste")}})})();(function(){function a(c,d,e,f,h){var k=b.lang.clip… argument
670 b.addCommand(d,e);b.ui.addButton&&b.ui.addButton(c,{label:k,command:d,toolbar:"clipboard,"+f});b.ad…
675f){e.select();a(b,{dataTransfer:f,method:"drop"},1);f.sourceEditor.fire("saveSnapshot");f.sourceEd… argument
676 function e(d,f){d.select();a(b,{dataTransfer:f,method:"drop"},1);c.resetDragDataTransfer()}function… function
677f);k.attachListener(b,"dragstart",c.resetDragDataTransfer,c,null,1);k.attachListener(b,"dragstart"…
679f(a,e,d)}}},null,null,9999);k.attachListener(b,"drop",c.initDragDataTransfer,c,null,1);k.attachLis…
680 …it||"pasteFilter"in a.config||(d="semantic-content");a.pasteFilter=k.get(d);f(a);h(a);if(CKEDITOR.…
683f=new CKEDITOR.dom.element("div");for(f.setHtml(b);1==f.getChildCount()&&(d=f.getFirst())&&d.type=…
684 …l,null,3);a.on("paste",function(d){d=d.data;var e=a._.nextPasteType||d.type,f=d.dataValue,h,m=a.co…
685f);delete a._.nextPasteType;"htmlifiedtext"==h&&(f=c(a.config,f));"text"==e&&"html"==h?f=l(a,f,k.g…
687 …fterDrop:function(a,b,c,d){function e(a,c,d){var f=a;f.type==CKEDITOR.NODE_TEXT&&(f=a.getParent())…
688 …),!0}var f=b.startContainer;"number"==typeof d&&"number"==typeof c&&f.type==CKEDITOR.NODE_ELEMENT&…
689f=CKEDITOR.plugins.clipboard,h=e.editable(),k,m;e.fire("saveSnapshot");e.fire("lockSnapshot",{dont…
690f.startNode;c&&b.getPosition(m)&CKEDITOR.POSITION_PRECEDING&&c.getPosition(m)&CKEDITOR.POSITION_FO…
691 …llapse(!0);else{if(CKEDITOR.env.ie&&8<CKEDITOR.env.version&&f&&b.editable().hasFocus)return f;if(d…
692 …als(b.editable())||"html"==D.getName())return f&&f.startContainer&&!f.startContainer.equals(b.edit…
701 …ools.createClass({base:CKEDITOR.ui.button,$:function(f){var b=f.panel||{};delete f.panel;this.base… argument
705 f=CKEDITOR.addTemplate("panel-frame",'\x3ciframe id\x3d"{id}" class\x3d"cke_panel_frame" role\x3d"p…
708 …en();("+CKEDITOR.tools.fixDomain+")();document.close();")+"}())":"";l.frame=f.output({id:this.id+"…
709f=!this.forceIFrame||CKEDITOR.env.ie?this._.holder:this.document.getById(this.id+"_frame");b&&b.hi…
711 …ITOR.NODE_ELEMENT&&"none"==a.getStyle("display")},f=this._.getItems(),k,d,h=f.count()-1;0<=h;h--)i…
712 …Down:function(a,b){var f=this.keys[a];switch(f){case "next":for(var k=this._.focusIndex,f=this.ele…
713f=this.element.getElementsByTag("a");0<k&&(d=f.getItem(--k));){if(d.getAttribute("_cke_focus")&&d.…
714f[k];d||(d=f[k]=new CKEDITOR.ui.panel(c,l),d.element=e.append(CKEDITOR.dom.element.createFromHtml(… argument
715 …=c.getDocument();f=a(b,d,c,e,f||0);var h=f.element,m=h.getFirst(),g=this;h.disableContextMenu();th…
716 showBlock:function(a,c,e,f,k,d){var h=this._.panel,m=h.showBlock(a);this._.showBlockParams=[].slice… argument
717 {x:0,y:0},q="rtl"==this._.dir,v=w.x+(f||0)-p.x,u=w.y+(k||0)-p.y;!q||1!=e&&4!=e?q||2!=e&&3!=e||(v+=c…
720 …ight||a.bottom-a.top,f=q?a.right:b.width-a.left,g=q?b.width-a.right:a.left;q?f<c&&(v=g>c?v+c:b.wid…
725f,k,d){if(this._.activeChild!=a||a._.panel._.offsetParentId!=e.getId())this.hideChild(),a.onHide=C… argument
726f){var e=f[c];a?e.destroy():e.element.hide()}a&&(f={})})}(),CKEDITOR.plugins.add("colorbutton",{re… function
727f,title:f,modes:{wysiwyg:1},editorFocus:0,toolbar:"colors,"+h,allowedContent:w,requiredContent:w,c…
728 f[40]="next";f[9]="next";f[h?39:37]="prev";f[38]="prev";f[CKEDITOR.SHIFT+9]="prev";f[32]="click"},r…
729 this._.panel._.iframe.getFrameDocument().getById(q).setStyle("background-color",f);if(c=b&&b.getRan…
730f}}})}function b(b,d,e){var f=[],h=l.colorButton_colors.split(","),w=l.colorButton_colorsPerRow||6… class in b.A
731 …g,{color:d}))}a.fire("saveSnapshot")}});!1!==l.colorButton_enableAutomatic&&f.push('\x3ca class\x3…
732 …3c/a\x3e");f.push('\x3ctable role\x3d"presentation" cellspacing\x3d0 cellpadding\x3d0 width\x3d"10…
733 …+B.replace(/^(.)(.)(.)$/,"$1$1$2$2$3$3"));x=a.lang.colorbutton.colors[r]||r;f.push('\x3ctd\x3e\x3c…
734f.push('\x3c/tr\x3e\x3ctr\x3e\x3ctd colspan\x3d"'+w+'" align\x3d"center"\x3e\x3ca class\x3d"cke_co…
735 …,"").toLowerCase()}var l=a.config,k=a.lang.colorbutton;if(!CKEDITOR.env.hc){f("TextColor","fore",k…
736 …name=c.element;b.styles=c.styles;b.attributes=c.attributes||{};return b}}]];f("BGColor","back",k.b…
737 …s.colordialog={requires:"dialog",init:function(a){var f=new CKEDITOR.dialogCommand("colordialog");
738f);CKEDITOR.dialog.add("colordialog",this.path+"dialogs/colordialog.js");a.getColorFromDialog=func… function
739f(this);b.onLoad=a;"function"==typeof a&&a.call(this)}})}})}}},CKEDITOR.plugins.add("colordialog",… function
740 !0))if(c(a),e)return;for(;a=f.next();)if(a=a.getAscendant(b,!0))if(c(a),e)break}function b(a,b){var…
744f=a.data.range,g=d._extractStylesFromRange(c,f),l=d._determineContext(f),p,t;if(c.copyFormatting.…
745 …ditor):b(l.element,a.data.styles)&&d._removeStylesFromElementInRange(f,l.element),f.moveToBookmark…
747 …=CKEDITOR.plugins.copyformatting,e=a.copyFormatting,f=b?"keystrokeHandler"==b.from:!1,l=b?b.sticky…
748 …mElement(a,a.elementPath().lastElement);this.setState(CKEDITOR.TRISTATE_ON);f||(p.addClass("cke_co…
749f=CKEDITOR.plugins.copyformatting,l=a.copyFormatting,p=f._getCursorContainer(a),t=CKEDITOR.documen…
750 f._detachPasteKeystrokeHandler(a),!1;e=f._applyFormat(a,l.styles);l.sticky||(l.styles=null,p.remove…
751f=[];do if(b.type===CKEDITOR.NODE_ELEMENT&&!b.hasAttribute("data-cke-bookmark")&&(c.element=b,a.co…
752f},_extractStylesFromRange:function(a,b){for(var c=[],e=new CKEDITOR.dom.walker(b),f;f=e.next();)c…
753 …/<span.*?>&nbsp;<\/span>/g,""),a.replace(/<.*?>/g,"")):a.getText()}function f(a,g){var k=a,l=/\s/g… function
754 …"!==typeof w&&!n)return f(k,g);if(n)g?w=0:(l=/([\.\b]*$)/,w=(q=l.exec(r))?q.index:r.length);else i…
755f(t,!0),w=p.node,a=p.offset),g>=l.length&&(l=f(t),q=l.node,g=l.offset),{startNode:w,startOffset:a,…
756f=CKEDITOR.plugins.copyformatting,g=f.excludedAttributesFromInlineTransform,l,p;CKEDITOR.env.webki…
757f.elementsForInlineTransform,b.element))for(b.element=b._.definition.element="span",p=0;p<g.length…
758 …?f(b,g.element,function(a){g.applyToObject(a)}):-1!==e(["td","th"],g.element)?f(b,{td:1,th:1},func…
759f,l;if(!c)return!1;if(c.collapsed){l=a.getSelection().createBookmarks();if(!(f=e._getSelectedWordO…
763 …foreInit:function(a){for(var f=a.config.menu_groups.split(","),b=a._.menuGroups={},c=a._.menuItems…
764f='\x3cspan class\x3d"cke_menuitem"\x3e\x3ca id\x3d"{id}" class\x3d"cke_menubutton cke_menubutton_…
765f+=' onblur\x3d"this.style.cssText \x3d this.style.cssText;" ondragstart\x3d"return false;"');var
767 …tor.elementPath(),e=this._.listeners;this.removeAll();for(var f=0;f<e.length;f++){var g=e[f](b,a,c…
768 …+1},!0)),b.parent=this,b._.onClick=CKEDITOR.tools.bind(this._.onClick,this));for(var e in c){var f=
769f&&(f.state=c[e],b.add(f))}var g=this._.panel.getBlock(this.id).element.getDocument().getById(this…
772f);for(var t=g.elementPath(),t=['\x3cdiv class\x3d"cke_menu'+(t&&t.direction()!=g.lang.dir?" cke_m…
773 v=0;v<w;v++){var u=f[v];q!=u.group&&(t.push('\x3cdiv class\x3d"cke_menuseparator" role\x3d"separato…
774 …this.group];this.editor=a;this.name=b},proto:{render:function(a,f,d){var h=a.id+String(f),m="undef… argument
776 …overFn:a._.itemOverFn,moveOutFn:a._.itemOutFn,clickFn:a._.itemClickFn,index:f,iconStyle:CKEDITOR.s…
777 …Target:function(a,f){a.on("contextmenu",function(a){a=a.data;var c=CKEDITOR.env.webkit?b:CKEDITOR.… argument
779f,b,c){!1!==this.editor.config.enableContextMenu&&(this.editor.focus(),a=a||CKEDITOR.document.getD… argument
780 …}function f(){for(var a,b=0;b<arguments.length;b++)if(arguments[b]instanceof CKEDITOR.dom.element)… function
781f?a.setAttribute(b,f):a.removeAttribute(b,f)}}var b={id:1,dir:1,classes:1,styles:1};CKEDITOR.plugi…
782f}),e.dir&&h.push({id:"advLangDir",att:"dir",type:"select",requiredContent:l?l+"[dir]":null,label:…
783 …;d=CKEDITOR.tools.normalizeCssText(e.getAttribute("style"));this.setValue(d,1)},setup:a,commit:f}),
784f}]}),d.elements[0].children.push({type:"hbox",widths:["50%","50%"],children:[].concat(h)});return…
786f=a.getSelection(),k=f&&f.getRanges(),d,h=f.createBookmarks(),m=[],g=0;g<k.length;g++)d=k[g],d.col…
787f.remove,command:"removediv",group:"div",order:5}}),a.contextMenu&&a.contextMenu.addListener(funct… argument
789 …ls.addFunction(k),t=CKEDITOR.tools.addFunction(function(b,c){var d=g.idBase,f;c=new CKEDITOR.dom.e…
790 f="rtl"==a.lang.dir;switch(c.getKeystroke()){case f?39:37:case 9:return(f=CKEDITOR.document.getById…
791 …[D](A,r);if(!1===C){y=1;break}r=C||r}y||(d.unshift(A),f.unshift(r))}d=d.length;for(k=0;k<d;k++)r=f
792f=m;f.setHtml(b.join("")+'\x3cspan class\x3d"cke_path_empty"\x3e\x26nbsp;\x3c/span\x3e');a.fire("e… class in AnonymousFunctione4ea003850f00
794 …DITOR.ENTER_BR?k(a,b,null,c):d(a,b,null,c),a.fire("saveSnapshot"))}function f(a){a=a.getSelection(… function
796 ….bookmark();CKEDITOR.plugins.enterkey={enterBlock:function(a,d,l,p){if(l=l||f(a)){l=b(l);var t=l.d…
801 …Start(u);l.select();l.scrollIntoView()}}},enterBr:function(a,b,c,e){if(c=c||f(a)){var k=c.document,
804f=b?"\x26"+d+";":l[d];c[f]=b?l[d]:"\x26"+d+";";e.push(f);return""});if(!b&&a){a=a.split(",");var k… argument
805 …essNumerical&&k[a]?k[a]:"\x26#"+a.charCodeAt(0)+";"}var e=f.config;if(f=(f=f.dataProcessor)&&f.htm…
807 … d=new RegExp(d,"g"),h=a("nbsp,gt,lt,amp,shy",!0),m=new RegExp(h.regex,"g");f.addRules({text:funct…
808f,b,c){f=f||"80%";b=b||"70%";"string"==typeof f&&1<f.length&&"%"==f.substr(f.length-1,1)&&(f=parse… argument
809 f)/2,10);c=(c||"location\x3dno,menubar\x3dno,toolbar\x3dno,dependent\x3dyes,minimizable\x3dno,modal…
810f(a){a+="";return a.charAt(0).toUpperCase()+a.substr(1)}function b(){var b=this.getDialog(),c=b.ge… function
812 …owser.action){var w=p.filebrowser.url;void 0===w&&(w=a.config["filebrowser"+f(d)+"BrowseUrl"],void…
813 …ction&&p["for"]&&(w=p.filebrowser.url,void 0===w&&(w=a.config["filebrowser"+f(d)+"UploadUrl"],void…
816 …{requires:"dialog",init:function(a){var f=a.addCommand("find",new CKEDITOR.dialogCommand("find"));
818f=CKEDITOR.htmlParser.cssStyle,b=CKEDITOR.tools.cssLength,c=/^((?:\d*(?:\.\d+))|(?:\d+))(.*)?$/i,e…
820 …;d&&(c["data-cke-real-element-type"]=d);e&&(c["data-cke-resizable"]=e,d=new f,e=a.getAttribute("wi…
821 …e-real-element-type"]=d);e&&(c["data-cke-resizable"]=e,e=a.attributes,a=new f,d=e.width,e=e.height…
822 …s;return"application/x-shockwave-flash"==a.type||b.test(a.src||"")}function f(a,b){return a.create… function
826 ….name){if(!a(e.children[k]))break;return f(b,e)}return null}return f(b,e)},"cke:embed":function(e)…
828 u=f.getViewPaneSize();x=q.height;B="pageXOffset"in f.$?f.$.pageXOffset:CKEDITOR.document.$.document…
831f.on("scroll",g.input);f.on("resize",g.input)});a.on("blur",function(){h.hide();a.removeListener("…
832f=CKEDITOR.document.getWindow(),b=CKEDITOR.tools.cssLength;CKEDITOR.plugins.add("floatingspace",{i…
836 this._.pendingList.push(f.output(a))},startGroup:function(a){this._.close();var c=CKEDITOR.tools.ge…
837 …nt(),d;for(d in a)c.getById(a[d]).setStyle("display","");for(var f in b)a=c.getById(b[f]),d=a.getN…
842 …nv.air?"\x26nbsp;":"")+"\x3c/span\x3e\x3c/span\x3e\x3c/a\x3e\x3c/span\x3e"),f=CKEDITOR.addTemplate…
846f.output(l,c);if(this.onRender)this.onRender();return m},createPanel:function(a){if(!this._.panel)…
854f(h,k.elements.slice(),m);a.getSelection().selectRanges([h])}}else a.removeStyle(g)}a[d==c?"remove…
855 …on f(a,c,e){var l=c.pop();if(l){if(e)return f(a,c,l.equals(e)?null:e);e=l.clone();a.insertNode(e);… function
857 …quires:"richcombo",init:function(a){if(!a.blockless){for(var f=a.config,b=a.lang.format,c=f.format…
858f["format_"+h]);if(!a.filter.customConfig||a.filter.check(m))l++,e[h]=m,e[h]._.enterMode=a.config.…
862 init:function(a){var f=a.lang,b=0,c={email:1,password:1,search:1,tel:1,text:1,url:1},e={checkbox:"i…
863 …(d,new CKEDITOR.dialogCommand(d,k));a.ui.addButton&&a.ui.addButton(c,{label:f.common[c.charAt(0).t…
864 …ield","hiddenfield",d+"hiddenfield.js");a.addMenuItems&&(k={checkbox:{label:f.forms.checkboxAndRad…
865f.forms.checkboxAndRadio.radioTitle,command:"radio",group:"radio"},textfield:{label:f.forms.textfi…
866 command:"imagebutton",group:"imagebutton"}),!a.blockless&&(k.form={label:f.forms.form.menu,command:…
869f=a.dataProcessor,b=f&&f.htmlFilter,f=f&&f.dataFilter;CKEDITOR.env.ie&&b&&b.addRules({elements:{in…
870f){f.blockless||(f.addCommand("horizontalrule",a),f.ui.addButton&&f.ui.addButton("HorizontalRule",… argument
871 f}}),CKEDITOR.htmlWriter=CKEDITOR.tools.createClass({base:CKEDITOR.htmlParser.basicWriter,$:functio…
872f in{li:1,dt:1,dd:1})});this.setRules("br",{breakAfterOpen:1});this.setRules("title",{indent:0,bre…
873f){var b=this._.rules[a];f?(this._.output.push(this.selfClosingEnd),b&&b.breakAfterClose&&(this._.… argument
874f&&f.indent&&(this._.indentation=this._.indentation.substr(this.indentationChars.length));this._.i…
875 ….inPre=0;this._.needsSpace=0},setRules:function(a,f){var b=this._.rules[a];b?CKEDITOR.tools.extend… argument
876 f}}}),function(){CKEDITOR.plugins.add("iframe",{requires:"dialog,fakeobjects",onLoad:function(){CKE…
877f.toolbar,command:"iframe",toolbar:"insert,80"});a.on("doubleclick",function(a){var b=a.data.eleme…
878f=a.dataProcessor;(f=f&&f.dataFilter)&&f.addRules({elements:{iframe:function(b){return a.createFak… function
881f(d),h==c?(d.removeStyle("float"),c==f(d)&&d.removeAttribute("align")):d.setStyle("float",c),k.can…
882 …refresh",function(a){var c=[f],e;for(e in a.data.states)c.push(a.data.states[e]);this.setState(CKE…
883 l.selectBookmarks(k)},e,null,100)}var f=CKEDITOR.TRISTATE_DISABLED,b=CKEDITOR.TRISTATE_OFF;CKEDITOR…
884 …d);for(var f=new CKEDITOR.dom.walker(e),m;m=f.next();)if(m.type==CKEDITOR.NODE_ELEMENT)if(!m.equal…
885f){this.name=b;this.editor=a;this.jobs={};this.enterBr=a.config.enterMode==CKEDITOR.ENTER_BR;this.… argument
887 …!=f)return l.exec.call(this,a)},refreshJob:function(a,b,l){b=this.jobs[b];a.activeFilter.checkFeat…
888f(a,c);c=parseInt(a.getStyle(b),10);var l=e.config.indentOffset||40;isNaN(c)&&(c=0);c+=(g?1:-1)*l;… function
891 …!0:k;return h?l:e}return this.isIndent?l:d?CKEDITOR[0>=(parseInt(d.getStyle(f(d)),10)||0)?"TRISTAT…
893f){for(var h=t.startContainer,l=t.endContainer;h&&!h.getParent().equals(f);)h=h.getParent();for(;l… argument
894 …plugins.list.arrayToList(r,g,null,a.config.enterMode,f.getDirection());if(!e.isIndent){var p;if((p…
895f);if(w&&w.length)for(l=0;l<w.length;l++){for(C=f=w[l];(C=C.getNext())&&C.is&&C.getName()in k;)CKE…
896 …&&t.startContainer.getName()in k&&(q=new CKEDITOR.dom.walker(t),q.evaluator=f,t.startContainer=q.n…
897 …&(q=new CKEDITOR.dom.walker(t),q.evaluator=f,t.endContainer=q.previous());if(w)return c(w)}return … function
899 …ar e=b.contains(f);c||(c=b.contains(a));return c&&e&&e.equals(c.getFirst(f))}}(),function(){functi…
900f=a.getParent();if(!f)break;a=f}f=a.getStyle("text-align")||a.getAttribute("align")||""}f&&(f=f.re… class in AnonymousFunctione4ea00385ad00
902f=b.createRange();f.setStartBefore(a.data.node);f.setEndAfter(a.data.node);for(var k=new CKEDITOR.…
903 …ext-align","left")}}f.prototype={exec:function(b){var f=b.getSelection(),l=b.config.enterMode;if(f class
904f.selectBookmarks(k)}},refresh:function(b,f){var l=f.block||f.blockLimit;this.setState("body"!=l.g… argument
905 l=new f(a,"justifycenter","center"),k=new f(a,"justifyright","right"),d=new f(a,"justifyblock","jus…
907 …KEDITOR.tools.createClass({base:CKEDITOR.ui.button,$:function(f){delete f.panel;this.base(f);this.… argument
908 …CKEDITOR.plugins.add("language",{requires:"menubutton",init:function(a){var f=a.config.language_li…
909 …Element(a)?CKEDITOR.TRISTATE_ON:CKEDITOR.TRISTATE_OFF)}});for(h=0;h<f.length;h++)l=f[h].split(":")…
910 …:"language",onMenu:function(){var c={},d=b.getCurrentLangElement(a),f;for(f in e)c[f]=CKEDITOR.TRI…
911f=a.elementPath();a=f&&f.elements;var b;if(f)for(var c=0;c<a.length;c++)f=a[c],!b&&"span"==f.getNa… function
912 …r d=b.plugins.link,f=d.compiledProtectionFunction.params,e,g;g=[d.compiledProtectionFunction.name,…
921 f=c.getRanges(),e=[],g;if(!b&&d&&d.is("a"))return d;for(d=0;d<f.length;d++)if(g=c.getRanges()[d],g.…
922f=0;e=c.getItem(f++);)(e=this.tryRestoreFakeAnchor(a,e))&&d.push({name:e.getAttribute("name"),id:e…
923f.name){A.type="email";a=A.email={};b=/(^')|('$)/g;c=c.match(/[^,\s]+/g);for(var d=c.length,e,g,h=…
927 f(h)],k&&e.push("+'",a(k),"'"),e.push(")")):e=["mailto:",h,k];break;default:e=h.split("@",2),k.name…
932 …re":"insertAfter"](l)}for(var e=CKEDITOR.plugins.list.listToArray(b.root,c),f=[],g=0;g<b.contents.…
933f.push(h),CKEDITOR.dom.element.setMarker(c,h,"list_item_processed",!0))}h=null;for(g=0;g<f.length;…
934f(a,b){this.name=a;this.context=this.type=b;this.allowedContent=b+" li";this.requiredContent=b}fun…
935 …){a.fire("saveSnapshot");e.enlarge(CKEDITOR.ENLARGE_LIST_ITEM_CONTENTS);var f=e.extractContents();…
936f.getLast())&&m.type==CKEDITOR.NODE_ELEMENT&&m.is("br")&&m.remove();(m=d.startContainer.getChild(d…
937 (f=l));e.moveToPosition(f,CKEDITOR.POSITION_BEFORE_START);f.remove()}e=e.clone();f=a.editable();e.s…
938f){if(!d[a.getName()])return[];e||(e=0);c||(c=[]);for(var g=0,h=a.getChildCount();g<h;g++){var k=a… argument
939 …1,l.grandparent):l.contents.push(p)}}return c},arrayToList:function(a,b,c,e,f){c||(c=0);if(!a||a.l… argument
940 …&a[p].parent.getName()==n.getName()||(n=a[p].parent.clone(!1,1),f&&n.setAttribute("dir",f),l.appen…
944f=e=void 0,e=c.getDirection()))){for(f=c.getParent();f&&!(k=f.getDirection());)f=f.getParent();e==…
945 …us():h[0].fixBlock(1,e.enterMode==CKEDITOR.ENTER_P?"p":"div"),f.selectRanges(h)}for(var e=f.create…
951 …y,m);for(E=0;E<F.length;E++)c(F[E]);CKEDITOR.dom.element.clearAllMarkers(m);f.selectBookmarks(e);b…
952f("numberedlist","ol")),a.addCommand("bulletedlist",new f("bulletedlist","ul")),a.ui.addButton&&(a…
953 …R.START)&&(y=y.getParent())&&y.is("li")&&(y=k(y))?(f=y,y=y.getPrevious(g),c.moveToPosition(y&&n(y)…
954f=y,c.moveToElementEditEnd(f),c.moveToPosition(c.endPath().block,CKEDITOR.POSITION_BEFORE_END)));i…
955f.getLast(g))&&e(p)?p:f,m=0,(y=A.next())&&y.type==CKEDITOR.NODE_ELEMENT&&y.getName()in d&&y.equals…
957f;f=new CKEDITOR.dialogCommand("numberedListStyle",{requiredContent:"ol",allowedContent:"ol{list-s…
958 …ontentTransformations:[["ul: listTypeToStyle"]]});f=a.addCommand("bulletedListStyle",f);a.addFeatu…
959 …n(c)&&c.equals(b.getNext(function(a){return!(Z(a)||aa(a)||p(a))}))}function f(a){this.upper=a[0];t… class in AnonymousFunctione4ea00385e300
964f=d.lower,g=e||f,h=g.getParent(),k={};this.trigger=d;e&&r(a,e,!0);f&&r(a,f,!0);r(a,h,!0);a.inInlin…
965 f.size.margin.top?e.size.bottom+e.size.margin.bottom:e.size.bottom+e.size.margin.bottom-f.size.marg…
967 …a.editor,f;E.ie&&a.enterMode==CKEDITOR.ENTER_BR?f=a.doc.createText(O):(f=(f=k(a.element,!0))&&f.da…
968f.is("br")||a.doc.createText(O).appendTo(f));c&&e.fire("saveSnapshot");b(f);d.moveToPosition(f,CKE…
969f){f=f.getSelection().getStartElement();var g;f=f.getAscendant(R,1);if(!q(a,f)&&f&&!f.equals(a.edi… argument
970 n(f)&&f.is(a.triggers)&&d(h):d(h)))}}}()}}function g(a,b){if(!b||b.type!=CKEDITOR.NODE_ELEMENT||!b.…
971 …(var c=b.getParents(1),d=c.length;d--;)for(var f=a.tabuList.length;f--;)if(c[d].hasAttribute(a.tab…
972f([null,b,N,J,a])):h&&b.size.bottom<=d.pane.height&&l(c.y,b.size.bottom-e,d.pane.height)?(a=a.inIn…
974 …":"getFirst"](a.isRelevant))?q?K:P:S]);return 0 in k?new f(k):null}function B(a,b,c,d){for(var f=b…
975 …edStyle.call(b,"margin-"+ba[l]),10)||0;c&&!d||A(a,d);k.top=f.y-(c?0:a.view.scroll.y);k.left=f.x-(c…
977 ….y-h}));!l&&r.y+h<m&&(g=c(a,{x:r.x,y:r.y+h}));if(k&&l)break;h+=2}return new f([e,g,null,null])}CKE…
983 …agicline-dir")?!0:!1;return}}),this.backdoor={accessFocusSpace:h,boxTrigger:f,isLine:g,getAscendan…
984 …CKEDITOR.ENTER_BR]="br";L[CKEDITOR.ENTER_P]="p";L[CKEDITOR.ENTER_DIV]="div";f.prototype={set:funct…
985f=b.line.wrap;d=d||b.mouse;var h=a(e,d);c&&g(b,h)&&(f.hide(),h=a(e,d),f.show());return!h||h.type!=…
986f)||f.contains(e.editable)||f.isReadOnly())return null;k=y(e,function(a,b){return!b.equals(a)},fun…
987f=Number.MAX_VALUE,m,q,p,u;h&&!h.equals(g)&&(q=g.getNext(e.isRelevant));)m=Math.abs(c(e,g,q)-e.mou…
988f)&&a(c,e,f)?!0:!1}return e?d:null}}(),ba=["top","left","right","bottom"]}(),CKEDITOR.config.magic…
989f(a,b){if(a&&a.type==CKEDITOR.NODE_ELEMENT&&"form"==a.getName()&&0<b.length)for(var c=b.length-1;0… function
990 …us(),a.focus())}}CKEDITOR.plugins.add("maximize",{init:function(a){function f(){var b=m.getViewPan… function
991 …scrollLeft,u.scrollTop]}if(this.state==CKEDITOR.TRISTATE_OFF){m.on("resize",f);p=m.getScrollPositi…
993f();q=w.getDocumentPosition();w.setStyles({left:-1*q.x+"px",top:-1*q.y+"px"});CKEDITOR.env.gecko&&…
999 …))},afterInit:function(f){function b(b){CKEDITOR.tools.extend(b.attributes,a(f.lang.pagebreak.alt)… argument
1000 ….plugins.pagebreakCmd={exec:function(f){var b=f.document.createElement("div",{attributes:a(f.lang.… argument
1001 …plugins.add("pastefromword",{requires:"clipboard",init:function(f){var b=0,c=this.path;f.addComman… argument
1002 …n:!0})}});f.ui.addButton&&f.ui.addButton("PasteFromWord",{label:f.lang.pastefromword.toolbar,comma…
1003f.fire("pasteFromWord",d)||b)){l.dontFilter=!0;var m=a(f,c,function(){if(m)f.fire("paste",l);else …
1004 …!1})}};CKEDITOR.plugins.add("pastetext",{requires:"clipboard",init:function(f){var b=CKEDITOR.env.… argument
1005f.addCommand("pastetext",a);f.setKeystroke(b,"pastetext");f.ui.addButton&&f.ui.addButton("PasteTex… class in AnonymousFunctione4ea003862a00
1006f).replace(/[^>]*(?=<\/title>)/,"$\x26 \x26mdash; "+b.lang.preview.preview);else{var e="\x3cbody "…
1007 …c/head\x3e"+e+b.getData()+"\x3c/body\x3e\x3c/html\x3e"}f=640;e=420;k=80;try{var d=window.screen,f=…
1008 …,status\x3dyes,menubar\x3dyes,scrollbars\x3dyes,resizable\x3dyes,width\x3d"+f+",height\x3d"+e+",le…
1009 …mentMode!=CKEDITOR.ELEMENT_MODE_INLINE&&(a=this.path,b.addCommand("preview",f),b.ui.addButton&&b.u…
1010 …cleanup,10"})}}),CKEDITOR.plugins.removeformat={commands:{removeformat:{exec:function(a){for(var f=
1012f.test(h.getName())&&c(a,h)&&b.breakParent(h)};n(m);if(g)for(n(g),m=m.getNextSourceNode(!0,CKEDITO…
1013 …).selectRanges(e)}}},filter:function(a,f){for(var b=a._.removeFormatFilters||[],c=0;c<b.length;c++… argument
1014f(b){var e=h.width,f=h.height,k=e+(b.data.$.screenX-d.x)*("rtl"==l?-1:1);b=f+(b.data.$.screenY-d.y… function
1016 …ght);CKEDITOR.document.on("mousemove",f);CKEDITOR.document.on("mouseup",b);a.document&&(a.document…
1018f){f.elementMode==CKEDITOR.ELEMENT_MODE_REPLACE&&(f.addCommand("save",a).modes={wysiwyg:!!f.elemen… argument
1019 …ment.appendStyleSheet(this.path+"dialogs/dialog.css")},init:function(a){var f=this,b=CKEDITOR.plug…
1022 …addListener(function(b,c){var d=a.scayt,e,m;d&&(m=d.getSelectionNode())&&(e=f.menuGenerator(a,m),d…
1023 …yt;c&&c.hideBanner();return b.apply(this)}}))},addMenuItems:function(a){var f=this,b=CKEDITOR.plug…
1024f.dialogName)}});a.addCommand("scaytOptions",{exec:function(a){a.scayt.tabToOpen="options";a.lockS…
1025 …function(a){a.scayt.tabToOpen="dictionaries";a.lockSelection();a.openDialog(f.dialogName)}});c={sc…
1026 …alert("Nothing to check!")}});a.addMenuItems(c)},bindEvents:function(a){var f=CKEDITOR.plugins.sca…
1027f.destroy(a)},e=function(){!f.state.scayt[a.name]||a.readOnly||a.scayt||f.createScayt(a)},l=functi…
1028 typeof f.startContainer.$.nodeValue&&(d=f.startContainer.getText().length,(d<f.startOffset||d<f.end…
1029 …n(b){var c=a.scayt,e=!1,g=!1,k=!0;b.data.name in f.options.disablingCommandExec&&"wysiwyg"==a.mode…
1030f.destroy(a),a.fire("scaytButtonState",CKEDITOR.TRISTATE_DISABLED);a.document&&a.document.getBody(…
1031 …fire("removeMarkupInDocument",{}):c?f.reloadMarkup(c):"wysiwyg"==b.editor.mode&&!0===f.state.scayt…
1032 …=c.selectionNode&&c.selectionNode.$||null);k.removeMarkupInSelectionNode(c);f.reloadMarkup(k)},e||…
1033 …){var f=CKEDITOR.plugins.scayt;f.replaceOldOptionsNames(a.config);"boolean"!==typeof a.config.scay…
1034 !1);f.state.grayt[a.name]=a.config.grayt_autoStartup;a.config.scayt_contextCommands||(a.config.scay…
1037 …="-");"string"!==typeof a.config.scayt_srcUrl&&(f=document.location.protocol,f=-1!=f.search(/https…
1038 f+"//svc.webspellchecker.net/spellcheck31/lf/scayt3/ckscayt/ckscayt.js");"boolean"!==typeof CKEDITO…
1040 (a.config.scayt_ignoreWordsWithNumbers=!1);if(a.config.scayt_disableOptionsStorage){var f=CKEDITOR.…
1041f=a[c],p=!!k(a,"options");if(!k(e,f)||p&&k(l,function(a){if("lang"===a)return!1}))return;k(l,f)&&l…
1042f.options.data_attribute_name)||b.hasAttribute(f.options.problem_grammar_data_attribute)))return!1…
1043f.options.problem_grammar_data_attribute];f&&(b||c)&&delete a.name;return a}}});c&&c.addRules({ele…
1044 …order:4,exec:function(a){a.scayt.tabToOpen="options";a.lockSelection();a.openDialog(f.dialogName)},
1045f.dialogName)},verification:function(a){return 1==a.config.scayt_uiTabs[1]?!0:!1}},scayt_dictionar…
1046 …7,exec:function(a){a.scayt.tabToOpen="about";a.lockSelection();a.openDialog(f.dialogName)}}},grayt… argument
1047 f,b){var c={},e={},l=b?"word":"phrase",k=b?"startGrammarCheck":"startSpellCheck",d=a.scayt;if(0<f.l…
1048f.length;b++)h="grayt_suggest_"+CKEDITOR.plugins.scayt.suggestions[b].replace(" ","_"),a.addComman…
1049f){var b=a.scayt,c=this.scaytMenuDefinition(a),e={},l=a.config.scayt_contextCommands.split("|"),k= argument
1050f);d?(c=c.scayt,e=f.getAttribute(b.getScaytNodeAttributeName()),b.fire("getSuggestionsList",{lang:…
1051 …d:m,group:c[m].group,order:c[m].order}));return e},createCommand:function(a,f,b){return{exec:funct… argument
1052f]=a;c.replaceSelectionNode(e);"startGrammarCheck"===b&&c.removeMarkupInSelectionNode({grammarOnly…
1054 …nction(a){return a.getUserDictionary?!0:!1},reloadMarkup:function(a){var f;a&&(f=a.getScaytLangLis…
1055f&&f.ltr&&f.rtl&&a.fire("startSpellCheck, startGrammarCheck")))},replaceOldOptionsNames:function(a…
1056f.options.data_attribute_name,misspelled_word_class:f.options.misspelled_word_class,problem_gramma…
1059 …-numbers"]=a.config.scayt_ignoreWordsWithNumbers);var k;try{k=e(l)}catch(d){f.alarmCompatibilityMe…
1061 f){var b,c=function(){CKEDITOR.fireOnce("scaytReady");a.scayt||"function"===typeof f&&f(a)};"undefi…
1062 f)a.on("cancel",function(a){a=a.sender&&a.sender.getParentEditor();var c=CKEDITOR.plugins.scayt,e=a…
1063 …eady"==this.status)var f=e.removeMarkupFromString(this.getSnapshot()),e=e.removeMarkupFromString(t…
1064f="function"==typeof a.equalsContent?"equalsContent":"equals";a[f]=CKEDITOR.tools.override(a[f],fu…
1065 "",c.contents=e.removeMarkupFromString(k)||"");d=a.apply(this,arguments);this.contents=f;c.contents…
1069f){function b(){c.refresh(f)}if(!f.blockless){var c=f.addCommand("showblocks",a);c.canUndo=!1;f.co… argument
1070 c.refresh(f)})}}})}(),function(){var a={preserveState:!0,editorFocus:!1,readOnly:1,exec:function(a)…
1071f){var b=f.addCommand("showborders",a);b.canUndo=!1;!1!==f.config.startupShowBorders&&b.setState(C… argument
1072 …elements:{table:function(a){a=a.attributes;var b=a["class"],f=parseInt(a.border,10);f&&!(0>=f)||b&…
1073 …rride(b.commit,function(a){return function(b,f){a.apply(this,arguments);var k=parseInt(this.getVal… argument
1074 …ide(a.commit,function(a){return function(b,f){a.apply(this,arguments);parseInt(f.getAttribute("bor… argument
1076f){function b(){var a=e&&this.equals(CKEDITOR.document.getActive());this.hide();this.setStyle("hei… argument
1077f.addMode("source",function(c){var e=f.ui.space("contents").getDocument().createElement("textarea"…
1078f.getData(1));CKEDITOR.env.ie&&(e.attachListener(f,"resize",b,e),e.attachListener(CKEDITOR.documen…
1081f=this;CKEDITOR.dialog.add("specialchar",this.path+"dialogs/specialchar.js");a.addCommand("special…
1083f=a.config,b=a.lang.stylescombo,c={},e=[],l=[];a.on("stylesSet",function(b){if(b=b.data.styles){fo…
1084f.contentsCss),multiSelect:!0,attributes:{"aria-label":b.panelTitle}},init:function(){var a,c,f,l,…
1085 f=l),this.add(c,a.type==CKEDITOR.STYLE_OBJECT?c:a.buildPreview(),c);this.commit()},onClick:function…
1086 …kAll();for(var f in c){var l=c[f],g=l._.type;l.checkApplicable(e,a,a.activeFilter)?d[g]++:this.hid…
1088 f=CKEDITOR.tools.tryThese(function(){var b=d.getParent().$.cells[d.$.cellIndex+(a?-1:1)];b.parentNo…
1089f.length;g<n;g++)m.append((new CKEDITOR.dom.element(f[g],b.document)).clone(!1,!1)).appendBogus();…
1090f));e.addCommand("blurBack",CKEDITOR.tools.extend(c,f));e.addCommand("selectNextCell",a());e.addCo… argument
1092 …EDITOR.dom.element.prototype.focusPrevious=function(a,f){for(var b=void 0===f?this.getTabIndex():f argument
1093 …},CKEDITOR.plugins.add("table",{requires:"dialog",init:function(a){function f(a){return CKEDITOR.t… function
1094 …a.addCommand("tableProperties",new CKEDITOR.dialogCommand("tableProperties",f()));a.addCommand("ta…
1095 f({exec:function(a){var b=a.elementPath().contains("table",1);if(b){var f=b.getParent(),k=a.editabl…
1096 …rn b?b.contains(a)&&a.getAscendant("table",!0).equals(b):!0}function d(a){0<f.length||a.type!=CKED…
1097f.push(a))}if(a){for(var e=a.getRanges(),f=[],g={},h=0;h<e.length;h++){var k=e[h];if(k.collapsed)(…
1098f.push(l))}}CKEDITOR.dom.element.clearAllMarkers(g);return f}}function f(b,c){for(var d=w(b)?b:a(b…
1099f=e[0].getAscendant("table"),g=CKEDITOR.tools.buildTableMap(f),h=e[0].getParent().$.rowIndex,e=e[e…
1100f.$.rows[c+1])).append(p,1)));n+=p.$.colSpan-1}e.push(m)}g=f.$.rows;d[0].moveToPosition(f,CKEDITOR…
1101f=c[e],d=d+(b?1:f.colSpan);if(f==a.$)break}return d-1}function e(a,b){for(var d=b?Infinity:0,e=0;e…
1102f[l]),k=h.clone(),k.removeAttribute("colSpan"),k.appendBogus(),k[c?"insertBefore":"insertAfter"].c…
1103 …b=e.length-1;0<=b;b--)d(e[b]);g?h(g,!0):f&&(c[0].moveToPosition(f,CKEDITOR.POSITION_BEFORE_START),…
1105f;if((c?1!=e.length:2>e.length)||(f=b.getCommonAncestor())&&f.type==CKEDITOR.NODE_ELEMENT&&f.is("t…
1107f.$.rows);e=d.count();for(c=e-1;0<=c;c--)f=d.getItem(c),f.$.cells.length||(f.remove(),e++);return …
1108f=new CKEDITOR.dom.element(f.$.rows[e]),g=m(g,e),p,e=d.clone(),h=0;h<g.length;h++)if(p=g[h],p.pare…
1109f=e.getAscendant("table"),f=CKEDITOR.tools.buildTableMap(f),g=m(f,e.$.rowIndex,d),h=d.$.colSpan;if…
1110 return f}var t=/^(?:td|th)$/,w=CKEDITOR.tools.isArray;CKEDITOR.plugins.tabletools={requires:"table,…
1113f(b,!0)}}));m("rowInsertAfter",e({requiredContent:"table",exec:function(b){b=b.getSelection();b=a(…
1114f.$&&(l=p);for(n=k;n<=l;n++)for(p=0;p<g.length;p++)f=g[p],e=new CKEDITOR.dom.element(d.$.rows[p]),
1123f,insertColumn:l,getSelectedCells:a};CKEDITOR.plugins.add("tabletools",CKEDITOR.plugins.tabletools… argument
1124f].cells[h]}d+=g-1;if(-1!==e&&d>=e)break}}return k},function(){function a(a,b){var c=a.getAscendan…
1125f;c<=g;c++)for(f=l;f<=m;f++)d=new CKEDITOR.dom.element(e[c][f]),d.$&&!d.getCustomData("selected_ce…
1127f){var g=v(b.getSelection(!0));d=d.is("table")?null:d;var h;(h=w.active&&!w.first)&&!(h=d)&&(h=b.g…
1129 …y:1,tfoot:1,tr:1,td:1,th:1};(function(a,b,c,g){return"mousedown"===a.name&&(f(a)||!g)||"mouseup"==…
1130 …sedown"===a.name&&f(a)&&p&&(w={active:!0},CKEDITOR.document.on("mouseup",h,null,{editor:g}));(t||p…
1131 f=a.document,g=a.createRange(),h=f.getDocumentElement().$,k=CKEDITOR.env.ie&&9>CKEDITOR.env.version…
1133 …0,c;for(c=0;c<a.length;c++)a[c].length>b&&(b=a[c].length);return b}function f(a){var b=a.getAscend…
1135f(P));h=CKEDITOR.tools.buildTableMap(p);n=d(h);p=d(q);if(h.length>q.length)for(l=h.length-q.length…
1138 …stener(c,"keydown",function(a){function c(b,d){if(!d.length)return null;var f=a.createRange(),g=CK…
1139f["moveToElementEdit"+(n?"Start":"End")](m);else f.setStartBefore(k.getAscendant("table",!0)),f.co…
1140f=e.data.getKey(),g,h=37===f||38==f,k,l,m;if(d[f]&&(g=a.getSelection())&&g.isInTable()&&g.isFake)i…
1141f;if(d&&d.isInTable()&&d.isFake&&c.data.$.charCode&&!(c.data.getKeystroke()&CKEDITOR.CTRL)){c=d.ge…
1144 …ng.templates.button,command:"templates",toolbar:"doctools,10"})}});var a={},f={};CKEDITOR.addTempl…
1145f[a[l]]||(e.push(a[l]),f[a[l]]=1);e.length?CKEDITOR.scriptLoader.load(e,c):setTimeout(c,0)}}(),CKE… class in AnonymousFunctione4ea00386fe00
1146 !1!==a.data.command.canUndo&&g.save()}function f(){g.enabled=c.readOnly?!1:"wysiwyg"==c.mode;g.onCh… function
1147 …odeUnload",function(){"wysiwyg"==c.mode&&g.save(!0)});c.on("mode",f);c.on("readOnly",f);c.ui.addBu…
1149f=this.strokesRecorded[e]+1;c=c||f>=this.strokesLimit;this.typing||(this.hasUndo=this.typing=!0,th…
1150f=this.editor;if(this.locked||"ready"!=f.status||"wysiwyg"!=f.mode)return!1;var k=f.editable();if(…
1151 …rentImage)){if(a||b.equalsSelection(this.currentImage))return!1}else!1!==e&&f.fire("change");k.spl…
1154 …else{var e=null;if(b)e=!0;else{var f=new c(this.editor,!0);this.currentImage&&this.currentImage.eq…
1155 …b.navigationKeyCodes[a]};b.getKeyGroup=function(a){var c=b.keyGroups;return f[a]?c.FUNCTIONAL:c.PR…
1157 …],f=a[c];if(e.startOffset!=f.startOffset||e.endOffset!=f.endOffset||!CKEDITOR.tools.arrayCompare(e…
1159 …nputs())}},onKeyup:function(a){var e=this.undoManager;a=a.data.getKey();var f=this.keyEventsStack.…
1160 this.lastKeydownImage&&this.lastKeydownImage.equalsContent(new c(e.editor,!0))))if(0<f)e.type(a);el…
1165 …eet(this.path+"skins/"+CKEDITOR.skin.name+"/wsc.css")},init:function(a){var f=CKEDITOR.env;this.pa…
1166 …&&!CKEDITOR.env.air&&document.domain==window.location.hostname&&!(f.ie&&(8>f.version||f.quirks))};…
1169 …data.getTarget().is("html")&&setTimeout(function(){c.editable().focus()})});f(c);try{c.document.$.…
1171 …ngFocus=!1);setTimeout(function(){c.fire("dataReady")},0)},0,this)}function f(a){function b(){var … function
1172 …nd("enableInlineTableEditing",!1,!a.config.disableNativeTableHandles)}catch(f){}else CKEDITOR.env.…
1174 requiredContent:"body"});a.addMode("wysiwyg",function(b){function f(d){d&&d.removeListener();a.edit… function
1175 … m=CKEDITOR.env.ie&&!CKEDITOR.env.edge||CKEDITOR.env.gecko;if(m)h.on("load",f);var g=a.title,n=a.f…
1176 …ove()});h.setAttributes({tabIndex:a.tabIndex,allowTransparency:"true"});!m&&f();a.fire("ariaWidget…
1177f=this.editor;if(c)this.setHtml(a),this.fixInitialSelection(),f.fire("dataReady");else{this._.isLo… class
1178 …CTYPE[^>]*>/i,function(a){f.docType=m=a;return""}).replace(/<\?xml\s[^\?]*\?>/i,function(a){f.xmlD…
1179 …3chtml dir\x3d"'+d.contentsLangDirection+'" lang\x3d"'+(d.contentsLanguage||f.langCode)+'"\x3e\x3c…
1181f.fire("contentDomUnload");var p=this.getDocument();try{p.write(a)}catch(t){setTimeout(function(){…
1182f&&(c=f+"\n"+c);d&&(c=d+"\n"+c);return c},focus:function(){this._.isLoadingData?this._.isPendingFo…
1183 …n(this._.frameLoadedHandler);f&&f.getParent()?(f.clearCustomData(),(a=f.removeCustomData("onResize…