text: !function(){function i(e){return{"aria-label":e,class:"cke_pagebreak",contenteditable:"false","data-cke-display-name":"pagebreak","data-cke-pagebreak":1,style:"page-break-after: always",title:e}}CKEDITOR.plugins.add("pagebreak",{requires:"fakeobjects",lang:"af,ar,az,bg,bn,bs,ca,cs,cy,da,de,de-ch,el,en,en-au,en-ca,en-gb,eo,es,es-mx,et,eu,fa,fi,fo,fr,fr-ca,gl,gu,he,hi,hr,hu,id,is,it,ja,ka,km,ko,ku,lt,lv,mk,mn,ms,nb,nl,no,oc,pl,pt,pt-br,ro,ru,si,sk,sl,sq,sr,sr-latn,sv,th,tr,tt,ug,uk,vi,zh,zh-cn",icons:"pagebreak,pagebreak-rtl",hidpi:!0,onLoad:function(){var e=("background:url("+CKEDITOR.getUrl(this.path+"images/pagebreak.gif")+") no-repeat center center;clear:both;width:100%;border-top:#999 1px dotted;border-bottom:#999 1px dotted;padding:0;height:7px;cursor:default;").replace(/;/g," !important;");CKEDITOR.addCss("div.cke_pagebreak{"+e+"}")},init:function(a){a.blockless||(a.addCommand("pagebreak",CKEDITOR.plugins.pagebreakCmd),a.ui.addButton&&a.ui.addButton("PageBreak",{label:a.lang.pagebreak.toolbar,command:"pagebreak",toolbar:"insert,70"}),CKEDITOR.env.webkit&&a.on("contentDom",function(){a.document.on("click",function(e){(e=e.data.getTarget()).is("div")&&e.hasClass("cke_pagebreak")&&a.getSelection().selectElement(e)})}))},afterInit:function(a){function t(e){CKEDITOR.tools.extend(e.attributes,i(a.lang.pagebreak.alt),!0),e.children.length=0}var e=(n=a.dataProcessor)&&n.dataFilter,n=n&&n.htmlFilter,r=/page-break-after\s*:\s*always/i,l=/display\s*:\s*none/i;n&&n.addRules({attributes:{class:function(e,a){var t=e.replace("cke_pagebreak","");return t!=e&&(e=CKEDITOR.htmlParser.fragment.fromHtml('<span style="display: none;">&nbsp;</span>').children[0],a.children.length=0,a.add(e),delete(e=a.attributes)["aria-label"],delete e.contenteditable,delete e.title),t}}},{applyToAll:!0,priority:5}),e&&e.addRules({elements:{div:function(e){var a;e.attributes["data-cke-pagebreak"]?t(e):!r.test(e.attributes.style)||(a=e.children[0])&&"span"==a.name&&l.test(a.attributes.style)&&t(e)}}})}}),CKEDITOR.plugins.pagebreakCmd={exec:function(e){e.insertElement(CKEDITOR.plugins.pagebreak.createElement(e))},context:"div",allowedContent:{div:{styles:"!page-break-after"},span:{match:function(e){return(e=e.parent)&&"div"==e.name&&e.styles&&e.styles["page-break-after"]},styles:"display"}},requiredContent:"div{page-break-after}"},CKEDITOR.plugins.pagebreak={createElement:function(e){return e.document.createElement("div",{attributes:i(e.lang.pagebreak.alt)})}}}();