Updating minified JavaScript files
authorwoltlab.com <woltlab@woltlab.com>
Mon, 23 Oct 2017 10:26:38 +0000 (12:26 +0200)
committerwoltlab.com <woltlab@woltlab.com>
Mon, 23 Oct 2017 10:26:38 +0000 (12:26 +0200)
wcfsetup/install/files/js/3rdParty/redactor/redactor.min.js

index 70e8f1d69f3305a4c740fa57d747bd0e9310b849..7a9620e9f6a84f5e7aad3c07f494829e3e6bf05d 100644 (file)
@@ -1,12 +1,6 @@
-/*
-       Redactor 10.2.5
-       Updated: October 1, 2015
+!function(t){"use strict";function e(t,i){return new e.prototype.init(t,i)}Function.prototype.bind||(Function.prototype.bind=function(t){var e=this;return function(){return e.apply(t)}});var i=0;t.fn.redactor=function(i){var s=[],r=Array.prototype.slice.call(arguments,1);return this.each("string"==typeof i?function(){var e,o=t.data(this,"redactor");if("-1"!=i.search(/\./)?(e=i.split("."),"undefined"!=typeof o[e[0]]&&(e=o[e[0]][e[1]])):e=o[i],"undefined"!=typeof o&&t.isFunction(e)){var n=e.apply(o,r);void 0!==n&&n!==o&&s.push(n)}else t.error('No such method "'+i+'" for Redactor')}:function(){t.data(this,"redactor",{}),t.data(this,"redactor",e(this,i))}),0===s.length?this:1===s.length?s[0]:s},t.Redactor=e,t.Redactor.VERSION="10.2.5",t.Redactor.modules=["alignment","autosave","block","buffer","build","button","caret","clean","code","core","dropdown","file","focus","image","indent","inline","insert","keydown","keyup","lang","line","link","linkify","list","modal","observe","paragraphize","paste","placeholder","progress","selection","shortcuts","tabifier","tidy","toolbar","upload","utils"],t.Redactor.opts={lang:"en",direction:"ltr",plugins:!1,focus:!1,focusEnd:!1,placeholder:!1,visual:!0,tabindex:!1,minHeight:!1,maxHeight:!1,linebreaks:!1,replaceDivs:!0,paragraphize:!0,cleanStyleOnEnter:!1,enterKey:!0,cleanOnPaste:!0,cleanSpaces:!0,pastePlainText:!1,autosave:!1,autosaveName:!1,autosaveInterval:60,autosaveOnChange:!1,autosaveFields:!1,linkTooltip:!0,linkProtocol:"http",linkNofollow:!1,linkSize:50,imageEditable:!0,imageLink:!0,imagePosition:!0,imageFloatMargin:"10px",imageResizable:!0,imageUpload:null,imageUploadParam:"file",uploadImageField:!1,dragImageUpload:!0,fileUpload:null,fileUploadParam:"file",dragFileUpload:!0,s3:!1,convertLinks:!0,convertUrlLinks:!0,convertImageLinks:!0,convertVideoLinks:!0,preSpaces:4,tabAsSpaces:!1,tabKey:!0,scrollTarget:!1,toolbar:!0,toolbarFixed:!0,toolbarFixedTarget:document,toolbarFixedTopOffset:0,toolbarExternal:!1,toolbarOverflow:!1,source:!0,buttons:["html","formatting","bold","italic","deleted","unorderedlist","orderedlist","outdent","indent","image","file","link","alignment","horizontalrule"],buttonsHide:[],buttonsHideOnMobile:[],formatting:["p","blockquote","pre","h1","h2","h3","h4","h5","h6"],formattingAdd:!1,tabifier:!0,deniedTags:["script","style"],allowedTags:!1,paragraphizeBlocks:["table","div","pre","form","ul","ol","h1","h2","h3","h4","h5","h6","dl","blockquote","figcaption","address","section","header","footer","aside","article","object","style","script","iframe","select","input","textarea","button","option","map","area","math","hr","fieldset","legend","hgroup","nav","figure","details","menu","summary","p"],removeComments:!1,replaceTags:[["strike","del"],["b","strong"]],replaceStyles:[["font-weight:\\s?bold","strong"],["font-style:\\s?italic","em"],["text-decoration:\\s?underline","u"],["text-decoration:\\s?line-through","del"]],removeDataAttr:!1,removeAttr:!1,allowedAttr:!1,removeWithoutAttr:["span"],removeEmpty:["p"],activeButtons:["deleted","italic","bold","underline","unorderedlist","orderedlist","alignleft","aligncenter","alignright","justify"],activeButtonsStates:{b:"bold",strong:"bold",i:"italic",em:"italic",del:"deleted",strike:"deleted",ul:"unorderedlist",ol:"orderedlist",u:"underline"},shortcuts:{"ctrl+shift+m, meta+shift+m":{func:"inline.removeFormat"},"ctrl+b, meta+b":{func:"inline.format",params:["bold"]},"ctrl+i, meta+i":{func:"inline.format",params:["italic"]},"ctrl+h, meta+h":{func:"inline.format",params:["superscript"]},"ctrl+l, meta+l":{func:"inline.format",params:["subscript"]},"ctrl+k, meta+k":{func:"link.show"},"ctrl+shift+7":{func:"list.toggle",params:["orderedlist"]},"ctrl+shift+8":{func:"list.toggle",params:["unorderedlist"]}},shortcutsAdd:!1,buffer:[],rebuffer:[],emptyHtml:"<p>&#x200b;</p>",invisibleSpace:"&#x200b;",imageTypes:["image/png","image/jpeg","image/gif"],indentValue:20,verifiedTags:["a","img","b","strong","sub","sup","i","em","u","small","strike","del","cite","ul","ol","li"],inlineTags:["strong","b","u","em","i","code","del","ins","samp","kbd","sup","sub","mark","var","cite","small"],alignmentTags:["P","H1","H2","H3","H4","H5","H6","DL","DT","DD","DIV","TD","BLOCKQUOTE","OUTPUT","FIGCAPTION","ADDRESS","SECTION","HEADER","FOOTER","ASIDE","ARTICLE"],blockLevelElements:["PRE","UL","OL","LI"],highContrast:!1,observe:{dropdowns:[]},langs:{en:{html:"HTML",video:"Insert Video",image:"Insert Image",table:"Table",link:"Link",link_insert:"Insert link",link_edit:"Edit link",unlink:"Unlink",formatting:"Formatting",paragraph:"Normal text",quote:"Quote",code:"Code",header1:"Header 1",header2:"Header 2",header3:"Header 3",header4:"Header 4",header5:"Header 5",bold:"Bold",italic:"Italic",fontcolor:"Font Color",backcolor:"Back Color",unorderedlist:"Unordered List",orderedlist:"Ordered List",outdent:"Outdent",indent:"Indent",cancel:"Cancel",insert:"Insert",save:"Save",_delete:"Delete",insert_table:"Insert Table",insert_row_above:"Add Row Above",insert_row_below:"Add Row Below",insert_column_left:"Add Column Left",insert_column_right:"Add Column Right",delete_column:"Delete Column",delete_row:"Delete Row",delete_table:"Delete Table",rows:"Rows",columns:"Columns",add_head:"Add Head",delete_head:"Delete Head",title:"Title",image_position:"Position",none:"None",left:"Left",right:"Right",center:"Center",image_web_link:"Image Web Link",text:"Text",mailto:"Email",web:"URL",video_html_code:"Video Embed Code or Youtube/Vimeo Link",file:"Insert File",upload:"Upload",download:"Download",choose:"Choose",or_choose:"Or choose",drop_file_here:"Drop file here",align_left:"Align text to the left",align_center:"Center text",align_right:"Align text to the right",align_justify:"Justify text",horizontalrule:"Insert Horizontal Rule",deleted:"Deleted",anchor:"Anchor",link_new_tab:"Open link in new tab",underline:"Underline",alignment:"Alignment",filename:"Name (optional)",edit:"Edit",upload_label:"Drop file here or "}},linkify:{regexps:{youtube:/https?:\/\/(?:[0-9A-Z-]+\.)?(?:youtu\.be\/|youtube\.com\S*[^\w\-\s])([\w\-]{11})(?=[^\w\-]|$)(?![?=&+%\w.\-]*(?:['"][^<>]*>|<\/a>))[?=&+%\w.-]*/gi,vimeo:/https?:\/\/(www\.)?vimeo.com\/(\d+)($|\/)/,image:/((https?|www)[^\s]+\.)(jpe?g|png|gif)(\?[^\s-]+)?/gi,url:/(https?:\/\/(?:www\.|(?!www))[^\s\.]+\.[^\s]{2,}|www\.[^\s]+\.[^\s]{2,})/gi}},codemirror:!1},e.fn=t.Redactor.prototype={keyCode:{BACKSPACE:8,DELETE:46,UP:38,DOWN:40,ENTER:13,SPACE:32,ESC:27,TAB:9,CTRL:17,META:91,SHIFT:16,ALT:18,RIGHT:39,LEFT:37,LEFT_WIN:91},init:function(e,s){if(this.$element=t(e),this.uuid=i++,this.rtePaste=!1,this.$pasteBox=!1,this.loadOptions(s),this.loadModules(),this.formatting={},t.merge(this.opts.blockLevelElements,this.opts.alignmentTags),this.reIsBlock=new RegExp("^("+this.opts.blockLevelElements.join("|")+")$","i"),this.tidy.setupAllowed(),this.opts.deniedTags!==!1)for(var r=["html","head","link","body","meta","applet"],o=0;o<r.length;o++)this.opts.deniedTags.push(r[o]);this.lang.load(),t.extend(this.opts.shortcuts,this.opts.shortcutsAdd),this.core.setCallback("start"),this.start=!0,this.build.run()},loadOptions:function(e){this.opts=t.extend({},t.extend(!0,{},t.Redactor.opts),this.$element.data(),e)},getModuleMethods:function(t){return Object.getOwnPropertyNames(t).filter(function(e){return"function"==typeof t[e]})},loadModules:function(){for(var e=t.Redactor.modules.length,i=0;e>i;i++)this.bindModuleMethods(t.Redactor.modules[i])},bindModuleMethods:function(t){if("undefined"!=typeof this[t]){this[t]=this[t]();for(var e=this.getModuleMethods(this[t]),i=e.length,s=0;i>s;s++)this[t][e[s]]=this[t][e[s]].bind(this)}},alignment:function(){return{left:function(){this.alignment.set("")},right:function(){this.alignment.set("right")},center:function(){this.alignment.set("center")},justify:function(){this.alignment.set("justify")},set:function(t){this.utils.browser("msie")||this.opts.linebreaks||this.$editor.focus(),this.alignment.blocks=this.selection.getBlocks(),this.alignment.type=t,this.buffer.set(),this.selection.save(),this.alignment.isLinebreaksOrNoBlocks()?this.alignment.setText():this.alignment.setBlocks(),this.selection.restore(),this.code.sync()},setText:function(){var e=this.selection.wrap("div");t(e).attr("data-tagblock","redactor").css("text-align",this.alignment.type)},setBlocks:function(){t.each(this.alignment.blocks,t.proxy(function(t,e){var i=this.utils.getAlignmentElement(e);i&&(this.alignment.isNeedReplaceElement(i)?this.alignment.replaceElement(i):this.alignment.alignElement(i))},this))},isLinebreaksOrNoBlocks:function(){return this.opts.linebreaks&&this.alignment.blocks[0]===!1},isNeedReplaceElement:function(t){return""===this.alignment.type&&"undefined"!=typeof t.data("tagblock")},replaceElement:function(t){t.replaceWith(t.html())},alignElement:function(t){t.css("text-align",this.alignment.type),this.utils.removeEmptyAttr(t,"style")}}},autosave:function(){return{html:!1,enable:function(){this.opts.autosave&&(this.autosave.name=this.opts.autosaveName?this.opts.autosaveName:this.$textarea.attr("name"),this.opts.autosaveOnChange||(this.autosaveInterval=setInterval(this.autosave.load,1e3*this.opts.autosaveInterval)))},onChange:function(){this.opts.autosaveOnChange&&this.autosave.load()},load:function(){if(this.opts.autosave&&(this.autosave.source=this.code.get(),this.autosave.html!==this.autosave.source)){var e={};e.name=this.autosave.name,e[this.autosave.name]=this.autosave.source,e=this.autosave.getHiddenFields(e);var i=t.ajax({url:this.opts.autosave,type:"post",data:e});i.done(this.autosave.success)}},getHiddenFields:function(e){return this.opts.autosaveFields===!1||"object"!=typeof this.opts.autosaveFields?e:(t.each(this.opts.autosaveFields,t.proxy(function(i,s){null!==s&&0===s.toString().indexOf("#")&&(s=t(s).val()),e[i]=s},this)),e)},success:function(e){var i;try{i=t.parseJSON(e)}catch(t){i=e}var s="undefined"==typeof i.error?"autosave":"autosaveError";this.core.setCallback(s,this.autosave.name,i),this.autosave.html=this.autosave.source},disable:function(){clearInterval(this.autosaveInterval)}}},block:function(){return{formatting:function(t){this.block.clearStyle=!1;var e,i;"undefined"!=typeof this.formatting[t].data?e="data":"undefined"!=typeof this.formatting[t].attr?e="attr":"undefined"!=typeof this.formatting[t].class&&(e="class"),"undefined"!=typeof this.formatting[t].clear&&(this.block.clearStyle=!0),e&&(i=this.formatting[t][e]),this.block.format(this.formatting[t].tag,e,i)},format:function(e,i,s){"quote"==e&&(e="blockquote");var r=["p","pre","blockquote","h1","h2","h3","h4","h5","h6"];if(-1!=t.inArray(e,r)){this.block.isRemoveInline="pre"==e||-1!=e.search(/h[1-6]/i),this.utils.browser("msie")||this.$editor.focus();var o=t.trim(this.$editor.html());if(this.block.isEmpty=this.utils.isEmpty(o),this.utils.browser("mozilla")&&!this.focus.isFocused()&&this.block.isEmpty){var n;this.opts.linebreaks||(n=this.$editor.children().first(),this.caret.setEnd(n))}this.block.blocks=this.selection.getBlocks(),this.block.blocksSize=this.block.blocks.length,this.block.type=i,this.block.value=s,this.buffer.set(),this.selection.save(),this.block.set(e),this.selection.restore(),this.code.sync(),this.observe.load()}},set:function(t){this.selection.get(),this.block.containerTag=this.range.commonAncestorContainer.tagName,this.range.collapsed?this.block.setCollapsed(t):this.block.setMultiple(t)},setCollapsed:function(e){if(this.opts.linebreaks&&this.block.isEmpty&&"p"!=e){var i=document.createElement(e);return this.$editor.html(i),void this.caret.setEnd(i)}var s=this.block.blocks[0];if(s!==!1){if("LI"==s.tagName){if("blockquote"!=e)return;return void this.block.formatListToBlockquote()}var r="TD"==this.block.containerTag||"TH"==this.block.containerTag;if(r&&!this.opts.linebreaks)document.execCommand("formatblock",!1,"<"+e+">"),s=this.selection.getBlock(),this.block.toggle(t(s));else if(s.tagName.toLowerCase()!=e)if(this.opts.linebreaks&&"p"==e)t(s).append("<br>"),this.utils.replaceWithContents(s);else{var o=this.utils.replaceToTag(s,e);this.block.toggle(o),"p"!=e&&"blockquote"!=e&&o.find("img").remove(),this.block.isRemoveInline&&this.utils.removeInlineTags(o),("p"==e||this.block.headTag)&&o.find("p").contents().unwrap(),this.block.formatTableWrapping(o)}else if("blockquote"==e&&s.tagName.toLowerCase()==e)if(this.opts.linebreaks)t(s).append("<br>"),this.utils.replaceWithContents(s);else{var n=this.utils.replaceToTag(s,"p");this.block.toggle(n)}else s.tagName.toLowerCase()==e&&this.block.toggle(t(s));"undefined"==typeof this.block.type&&"undefined"==typeof this.block.value&&t(s).removeAttr("class").removeAttr("style")}},setMultiple:function(e){var i=this.block.blocks[0],s="TD"==this.block.containerTag||"TH"==this.block.containerTag;if(i!==!1&&1===this.block.blocksSize)if(i.tagName.toLowerCase()==e&&"blockquote"==e)if(this.opts.linebreaks)t(i).append("<br>"),this.utils.replaceWithContents(i);else{var r=this.utils.replaceToTag(i,"p");this.block.toggle(r)}else if("LI"==i.tagName){if("blockquote"!=e)return;this.block.formatListToBlockquote()}else if("BLOCKQUOTE"==this.block.containerTag)this.block.formatBlockquote(e);else if(this.opts.linebreaks&&(s||this.range.commonAncestorContainer!=i))this.block.formatWrap(e);else if(this.opts.linebreaks&&"p"==e)t(i).prepend("<br>").append("<br>"),this.utils.replaceWithContents(i);else if("TD"===i.tagName)this.block.formatWrap(e);else{var o=this.utils.replaceToTag(i,e);this.block.toggle(o),this.block.isRemoveInline&&this.utils.removeInlineTags(o),("p"==e||this.block.headTag)&&o.find("p").contents().unwrap()}else if(this.opts.linebreaks||"p"!=e){if("blockquote"==e){for(var n=0,a=0;a<this.block.blocksSize;a++)"BLOCKQUOTE"==this.block.blocks[a].tagName&&n++;if(n==this.block.blocksSize)return void t.each(this.block.blocks,t.proxy(function(e,i){var s=!1;this.opts.linebreaks?(t(i).prepend("<br>").append("<br>"),s=this.utils.replaceWithContents(i)):s=this.utils.replaceToTag(i,"p"),s&&"undefined"==typeof this.block.type&&"undefined"==typeof this.block.value&&s.removeAttr("class").removeAttr("style")},this))}this.block.formatWrap(e)}else{var l=0,c=!1;"class"==this.block.type&&(c="toggle",l=t(this.block.blocks).filter("."+this.block.value).length,this.block.blocksSize==l?c="toggle":this.block.blocksSize>l?c="set":0===l&&(c="set"));var h=["ul","ol","li","td","th","dl","dt","dd"];t.each(this.block.blocks,t.proxy(function(i,s){if(-1==t.inArray(s.tagName.toLowerCase(),h)){var r=this.utils.replaceToTag(s,e);c?"toggle"==c?this.block.toggle(r):"remove"==c?this.block.remove(r):"set"==c&&this.block.setForce(r):this.block.toggle(r),"p"!=e&&"blockquote"!=e&&r.find("img").remove(),this.block.isRemoveInline&&this.utils.removeInlineTags(r),("p"==e||this.block.headTag)&&r.find("p").contents().unwrap(),"undefined"==typeof this.block.type&&"undefined"==typeof this.block.value&&r.removeAttr("class").removeAttr("style")}},this))}},setForce:function(t){return this.block.clearStyle&&t.removeAttr("class").removeAttr("style"),"class"==this.block.type?void t.addClass(this.block.value):"attr"==this.block.type||"data"==this.block.type?void t.attr(this.block.value.name,this.block.value.value):void 0},toggle:function(t){return this.block.clearStyle&&t.removeAttr("class").removeAttr("style"),"class"==this.block.type?void t.toggleClass(this.block.value):"attr"==this.block.type||"data"==this.block.type?void(t.attr(this.block.value.name)==this.block.value.value?t.removeAttr(this.block.value.name):t.attr(this.block.value.name,this.block.value.value)):void t.removeAttr("style class")},remove:function(t){t.removeClass(this.block.value)},formatListToBlockquote:function(){var e=t(this.block.blocks[0]).closest("ul, ol",this.$editor[0]);t(e).find("ul, ol").contents().unwrap(),t(e).find("li").append(t("<br>")).contents().unwrap();var i=this.utils.replaceToTag(e,"blockquote");this.block.toggle(i)},formatBlockquote:function(e){document.execCommand("outdent"),document.execCommand("formatblock",!1,e),this.clean.clearUnverified(),this.$editor.find("p:empty").remove();var i=this.selection.getBlock();"p"!=e&&t(i).find("img").remove(),this.opts.linebreaks||this.block.toggle(t(i)),this.$editor.find("ul, ol, tr, blockquote, p").each(t.proxy(this.utils.removeEmpty,this)),this.opts.linebreaks&&"p"==e&&this.utils.replaceWithContents(i)},formatWrap:function(e){if("UL"==this.block.containerTag||"OL"==this.block.containerTag){if("blockquote"!=e)return;this.block.formatListToBlockquote()}var i=this.selection.wrap(e);if(i!==!1){var s=t(i);this.block.formatTableWrapping(s);var r=s.find(this.opts.blockLevelElements.join(",")+", td, table, thead, tbody, tfoot, th, tr");if(r.contents().unwrap(),"p"!=e&&"blockquote"!=e&&s.find("img").remove(),t.each(this.block.blocks,t.proxy(this.utils.removeEmpty,this)),s.append(this.selection.getMarker(2)),this.opts.linebreaks||this.block.toggle(s),this.$editor.find("ul, ol, tr, blockquote, p").each(t.proxy(this.utils.removeEmpty,this)),s.find("blockquote:empty").remove(),this.block.isRemoveInline&&this.utils.removeInlineTags(s),this.opts.linebreaks&&"p"==e&&this.utils.replaceWithContents(s),this.opts.linebreaks){var o=s.next().next();0!=o.size()&&"BR"===o[0].tagName&&o.remove()}}},formatTableWrapping:function(t){0!==t.closest("table",this.$editor[0]).length&&(0===t.closest("tr",this.$editor[0]).length&&t.wrap("<tr>"),0===t.closest("td",this.$editor[0]).length&&0===t.closest("th").length&&t.wrap("<td>"))},removeData:function(e){var i=this.selection.getBlocks();t(i).removeAttr("data-"+e),this.code.sync()},setData:function(e,i){var s=this.selection.getBlocks();t(s).attr("data-"+e,i),this.code.sync()},toggleData:function(e,i){var s=this.selection.getBlocks();t.each(s,function(){t(this).attr("data-"+e)?t(this).removeAttr("data-"+e):t(this).attr("data-"+e,i)})},removeAttr:function(e){var i=this.selection.getBlocks();t(i).removeAttr(e),this.code.sync()},setAttr:function(e,i){var s=this.selection.getBlocks();t(s).attr(e,i),this.code.sync()},toggleAttr:function(e,i){var s=this.selection.getBlocks();t.each(s,function(){t(this).attr(name)?t(this).removeAttr(name):t(this).attr(name,i)})},removeClass:function(e){var i=this.selection.getBlocks();t(i).removeClass(e),this.utils.removeEmptyAttr(i,"class"),this.code.sync()},setClass:function(e){var i=this.selection.getBlocks();t(i).addClass(e),this.code.sync()},toggleClass:function(e){var i=this.selection.getBlocks();t(i).toggleClass(e),this.code.sync()}}},buffer:function(){return{set:function(t){"undefined"==typeof t||"undo"==t?this.buffer.setUndo():this.buffer.setRedo()},setUndo:function(){this.selection.save(),this.opts.buffer.push(this.$editor.html()),this.selection.restore()},setRedo:function(){this.selection.save(),this.opts.rebuffer.push(this.$editor.html()),this.selection.restore()},getUndo:function(){this.$editor.html(this.opts.buffer.pop())},getRedo:function(){this.$editor.html(this.opts.rebuffer.pop())},add:function(){this.opts.buffer.push(this.$editor.html())},undo:function(){0!==this.opts.buffer.length&&(this.buffer.set("redo"),this.buffer.getUndo(),this.selection.restore(),setTimeout(t.proxy(this.observe.load,this),50))},redo:function(){0!==this.opts.rebuffer.length&&(this.buffer.set("undo"),this.buffer.getRedo(),this.selection.restore(),setTimeout(t.proxy(this.observe.load,this),50))}}},build:function(){return{focused:!1,blured:!0,run:function(){this.build.createContainerBox(),this.build.loadContent(),this.build.loadEditor(),this.build.enableEditor(),this.build.setCodeAndCall()},isTextarea:function(){return"TEXTAREA"===this.$element[0].tagName},createContainerBox:function(){this.$box=t('<div class="redactor-box" role="application" />')},createTextarea:function(){this.$textarea=t("<textarea />").attr("name",this.build.getTextareaName())},getTextareaName:function(){return"undefined"==typeof name?"content-"+this.uuid:this.$element.attr("id")},loadContent:function(){var e=this.build.isTextarea()?"val":"html";this.content=t.trim(this.$element[e]())},enableEditor:function(){this.$editor.attr({contenteditable:!0,dir:this.opts.direction})},loadEditor:function(){var t=this.build.isTextarea()?"fromTextarea":"fromElement";this.build[t]()},fromTextarea:function(){this.$editor=t("<div />"),this.$textarea=this.$element,this.$box.insertAfter(this.$element).append(this.$editor).append(this.$element),this.$editor.addClass("redactor-editor"),this.$element.hide()},fromElement:function(){this.$editor=this.$element,this.build.createTextarea(),this.$box.insertAfter(this.$editor).append(this.$editor).append(this.$textarea),this.$editor.addClass("redactor-editor"),this.$textarea.hide()},setCodeAndCall:function(){this.code.set(this.content),this.build.setOptions(),this.build.callEditor(),this.opts.visual||setTimeout(t.proxy(this.code.showCode,this),200)},callEditor:function(){this.build.disableMozillaEditing(),this.build.disableIeLinks(),this.build.setEvents(),this.build.setHelpers(),this.opts.toolbar&&(this.opts.toolbar=this.toolbar.init(),this.toolbar.build()),this.modal.loadTemplates(),this.build.plugins(),setTimeout(t.proxy(this.observe.load,this),4),this.core.setCallback("init")},setOptions:function(){t(this.$textarea).attr("dir",this.opts.direction),this.opts.linebreaks&&this.$editor.addClass("redactor-linebreaks"),this.opts.tabindex&&this.$editor.attr("tabindex",this.opts.tabindex),this.opts.minHeight&&this.$editor.css("minHeight",this.opts.minHeight),this.opts.maxHeight&&this.$editor.css("maxHeight",this.opts.maxHeight)},setEventDropUpload:function(t){if(t.preventDefault(),this.opts.dragImageUpload&&this.opts.dragFileUpload){var e=t.dataTransfer.files;this.upload.directUpload(e[0],t)}},setEventDrop:function(t){this.code.sync(),setTimeout(this.clean.clearUnverified,1),this.core.setCallback("drop",t)},setEvents:function(){this.$editor.on("dragover.redactor dragenter.redactor",function(t){t.preventDefault(),t.stopPropagation()}),this.$editor.on("drop.redactor",t.proxy(function(t){return t=t.originalEvent||t,void 0!==window.FormData&&t.dataTransfer?0===t.dataTransfer.files.length?this.build.setEventDrop(t):(this.build.setEventDropUpload(t),setTimeout(this.clean.clearUnverified,1),void this.core.setCallback("drop",t)):!0},this)),this.$editor.on("click.redactor",t.proxy(function(t){var e=this.core.getEvent(),i="click"==e||"arrow"==e?!1:"click";this.core.addEvent(i),this.utils.disableSelectAll(),this.core.setCallback("click",t)},this)),this.$editor.on("paste.redactor",t.proxy(this.paste.init,this)),this.$editor.on("cut.redactor",t.proxy(this.code.sync,this)),this.$editor.on("keydown.redactor",t.proxy(this.keydown.init,this)),this.$editor.on("keyup.redactor",t.proxy(this.keyup.init,this)),t.isFunction(this.opts.codeKeydownCallback)&&this.$textarea.on("keydown.redactor-textarea",t.proxy(this.opts.codeKeydownCallback,this)),t.isFunction(this.opts.codeKeyupCallback)&&this.$textarea.on("keyup.redactor-textarea",t.proxy(this.opts.codeKeyupCallback,this)),this.$editor.on("focus.redactor",t.proxy(function(e){t.isFunction(this.opts.focusCallback)&&this.core.setCallback("focus",e),this.build.focused=!0,this.build.blured=!1,this.selection.getCurrent()===!1&&(this.selection.get(),this.range.setStart(this.$editor[0],0),this.range.setEnd(this.$editor[0],0),this.selection.addRange())},this)),t(document).on("mousedown.redactor-blur."+this.uuid,t.proxy(function(e){this.start||this.rtePaste||0===t(e.target).closest(".redactor-editor, .redactor-toolbar, .redactor-dropdown").size()&&(this.utils.disableSelectAll(),!this.build.blured&&t.isFunction(this.opts.blurCallback)&&this.core.setCallback("blur",e),this.build.focused=!1,this.build.blured=!0)},this))},setHelpers:function(){this.linkify.isEnabled()&&this.linkify.format(),this.placeholder.enable(),this.opts.focus&&setTimeout(this.focus.setStart,100),this.opts.focusEnd&&setTimeout(this.focus.setEnd,100)},plugins:function(){this.opts.plugins&&t.each(this.opts.plugins,t.proxy(function(i,s){var r="undefined"!=typeof RedactorPlugins&&"undefined"!=typeof RedactorPlugins[s]?RedactorPlugins:e.fn;if(t.isFunction(r[s])){this[s]=r[s]();for(var o=this.getModuleMethods(this[s]),n=o.length,a=0;n>a;a++)this[s][o[a]]=this[s][o[a]].bind(this);t.isFunction(this[s].init)&&this[s].init()}},this))},disableMozillaEditing:function(){if(this.utils.browser("mozilla"))try{document.execCommand("enableObjectResizing",!1,!1),document.execCommand("enableInlineTableEditing",!1,!1)}catch(t){}},disableIeLinks:function(){this.utils.browser("msie")&&document.execCommand("AutoUrlDetect",!1,!1)}}},button:function(){return{build:function(e,i){var s=t('<a href="#" class="re-icon re-'+e+'" rel="'+e+'" />').attr({role:"button","aria-label":i.title,tabindex:"-1"});if((i.func||i.command||i.dropdown)&&this.button.setEvent(s,e,i),i.dropdown){s.addClass("redactor-toolbar-link-dropdown").attr("aria-haspopup",!0);var r=t('<div class="redactor-dropdown redactor-dropdown-'+this.uuid+" redactor-dropdown-box-"+e+'" style="display: none;">');s.data("dropdown",r),this.dropdown.build(e,r,i.dropdown)}return this.utils.isDesktop()&&this.button.createTooltip(s,e,i.title),s},setEvent:function(e,i,s){e.on("touchstart click",t.proxy(function(t){if(e.hasClass("redactor-button-disabled"))return!1;var r="func",o=s.func;s.command?(r="command",o=s.command):s.dropdown&&(r="dropdown",o=!1),this.button.onClick(t,i,r,o)},this))},createTooltip:function(e,i,s){var r=t("<span>").addClass("redactor-toolbar-tooltip redactor-toolbar-tooltip-"+this.uuid+" redactor-toolbar-tooltip-"+i).hide().html(s);r.appendTo("body"),e.on("mouseover",function(){if(!t(this).hasClass("redactor-button-disabled")){var i=e.offset();r.css({top:i.top+e.innerHeight()+"px",left:i.left+e.innerWidth()/2-r.innerWidth()/2+"px"}),r.show()}}),e.on("mouseout",function(){r.hide()})},onClick:function(e,i,s,r){this.button.caretOffset=this.caret.getOffset(),e.preventDefault(),t(document).find(".redactor-toolbar-tooltip").hide(),this.utils.browser("msie")&&(e.returnValue=!1),"command"==s?this.inline.format(r):"dropdown"==s?this.dropdown.show(e,i):this.button.onClickCallback(e,r,i)},onClickCallback:function(e,i,s){var r;if(t.isFunction(i))i.call(this,s);else if("-1"!=i.search(/\./)){if(r=i.split("."),"undefined"==typeof this[r[0]])return;this[r[0]][r[1]](s)}else this[i](s);this.observe.buttons(e,s)},get:function(t){return this.$toolbar.find("a.re-"+t)},setActive:function(t){this.button.get(t).addClass("redactor-act")},setInactive:function(t){this.button.get(t).removeClass("redactor-act")},setInactiveAll:function(t){"undefined"==typeof t?this.$toolbar.find("a.re-icon").removeClass("redactor-act"):this.$toolbar.find("a.re-icon").not(".re-"+t).removeClass("redactor-act")},setActiveInVisual:function(){this.$toolbar.find("a.re-icon").not("a.re-html, a.re-fullscreen").removeClass("redactor-button-disabled")},setInactiveInCode:function(){this.$toolbar.find("a.re-icon").not("a.re-html, a.re-fullscreen").addClass("redactor-button-disabled")},changeIcon:function(t,e){this.button.get(t).addClass("re-"+e)},removeIcon:function(t,e){this.button.get(t).removeClass("re-"+e)},setAwesome:function(t,e){var i=this.button.get(t);i.removeClass("redactor-btn-image").addClass("fa-redactor-btn"),i.html('<i class="fa '+e+'"></i>')},addCallback:function(e,i){if("buffer"!=e){var s="dropdown"==i?"dropdown":"func",r=e.attr("rel");e.on("touchstart click",t.proxy(function(t){return e.hasClass("redactor-button-disabled")?!1:void this.button.onClick(t,r,s,i)},this))}},addDropdown:function(e,i){e.addClass("redactor-toolbar-link-dropdown").attr("aria-haspopup",!0);var s=e.attr("rel");this.button.addCallback(e,"dropdown");var r=t('<div class="redactor-dropdown redactor-dropdown-'+this.uuid+" redactor-dropdown-box-"+s+'" style="display: none;">');return e.data("dropdown",r),i&&this.dropdown.build(s,r,i),r},add:function(e,i){if(this.opts.toolbar){if(this.button.isMobileUndoRedo(e))return"buffer";var s=this.button.build(e,{title:i});return s.addClass("redactor-btn-image"),this.$toolbar.append(t("<li>").append(s)),s}},addFirst:function(e,i){if(this.opts.toolbar){if(this.button.isMobileUndoRedo(e))return"buffer";var s=this.button.build(e,{title:i});return s.addClass("redactor-btn-image"),this.$toolbar.prepend(t("<li>").append(s)),s}},addAfter:function(e,i,s){if(this.opts.toolbar){if(this.button.isMobileUndoRedo(i))return"buffer";var r=this.button.build(i,{title:s});r.addClass("redactor-btn-image");var o=this.button.get(e);return 0!==o.length?o.parent().after(t("<li>").append(r)):this.$toolbar.append(t("<li>").append(r)),r}},addBefore:function(e,i,s){if(this.opts.toolbar){if(this.button.isMobileUndoRedo(i))return"buffer";var r=this.button.build(i,{title:s});r.addClass("redactor-btn-image");var o=this.button.get(e);return 0!==o.length?o.parent().before(t("<li>").append(r)):this.$toolbar.append(t("<li>").append(r)),r}},remove:function(t){this.button.get(t).remove()},isMobileUndoRedo:function(t){return("undo"==t||"redo"==t)&&!this.utils.isDesktop()}}},caret:function(){return{setStart:function(e){if(this.utils.isBlock(e))this.caret.set(e,0,e,0);else{var i=this.utils.createSpaceElement();t(e).prepend(i),this.caret.setEnd(i)}},setEnd:function(t){return t=t[0]||t,1==t.lastChild.nodeType?this.caret.setAfter(t.lastChild):void this.caret.set(t,1,t,1)},set:function(e,i,s,r){if(e=e[0]||e,s=s[0]||s,this.utils.isBlockTag(e.tagName)&&""===e.innerHTML&&(e.innerHTML=this.opts.invisibleSpace),"BR"==e.tagName&&this.opts.linebreaks===!1){var o=t(this.opts.emptyHtml)[0];t(e).replaceWith(o),e=o,s=e}this.selection.get();try{this.range.setStart(e,i),this.range.setEnd(s,r)}catch(t){}this.selection.addRange()},setAfter:function(e){try{var i=t(e)[0].tagName;if("BR"==i||this.utils.isBlock(e))"BR"!=i&&this.utils.browser("msie")?this.caret.setStart(t(e).next()):this.caret.setAfterOrBefore(e,"after");else{var s=this.utils.createSpaceElement();t(e).after(s),this.caret.setEnd(s)}}catch(i){var s=this.utils.createSpaceElement();t(e).after(s),this.caret.setEnd(s)}},setBefore:function(e){this.utils.isBlock(e)?this.caret.setEnd(t(e).prev()):this.caret.setAfterOrBefore(e,"before")},setAfterOrBefore:function(t,e){if(this.utils.browser("msie")||this.$editor.focus(),t=t[0]||t,this.selection.get(),"after"==e)try{this.range.setStartAfter(t),this.range.setEndAfter(t)}catch(t){}else try{this.range.setStartBefore(t),this.range.setEndBefore(t)}catch(t){}this.range.collapse(!1),this.selection.addRange()},getOffsetOfElement:function(e){e=e[0]||e,this.selection.get();var i=this.range.cloneRange();return i.selectNodeContents(e),i.setEnd(this.range.endContainer,this.range.endOffset),t.trim(i.toString()).length},getOffset:function(){var t=0,e=window.getSelection();if(e.rangeCount>0){var i=window.getSelection().getRangeAt(0),s=i.cloneRange();s.selectNodeContents(this.$editor[0]),s.setEnd(i.endContainer,i.endOffset),t=s.toString().length}return t},setOffset:function(t,e){"undefined"==typeof e&&(e=t),this.focus.isFocused()||this.focus.setStart();for(var i,s=(this.selection.get(),0),r=document.createTreeWalker(this.$editor[0],NodeFilter.SHOW_TEXT,null,null);i=r.nextNode();)if(s+=i.nodeValue.length,s>t&&(this.range.setStart(i,i.nodeValue.length+t-s),t=1/0),s>=e){this.range.setEnd(i,i.nodeValue.length+e-s);break}this.range.collapse(!1),this.selection.addRange()},setToPoint:function(t,e){this.caret.setOffset(t,e)},getCoords:function(){return this.caret.getOffset()}}},clean:function(){return{onSet:function(e){e=this.clean.savePreCode(e),e=e.replace(/<script(.*?[^>]?)>([\w\W]*?)<\/script>/gi,'<pre class="redactor-script-tag" style="display: none;" $1>$2</pre>'),e=e.replace(/\$/g,"&#36;"),e=e.replace(/<a href="(.*?[^>]?)®(.*?[^>]?)">/gi,'<a href="$1&reg$2">'),this.opts.replaceDivs&&!this.opts.linebreaks&&(e=this.clean.replaceDivs(e)),this.opts.linebreaks&&(e=this.clean.replaceParagraphsToBr(e)),e=this.clean.saveFormTags(e);var i=t("<div>");i.html(e);var s=i.find("font[style]");return 0!==s.length&&(s.replaceWith(function(){var e=t(this),i=t("<span>").attr("style",e.attr("style"));return i.append(e.contents())}),e=i.html()),i.remove(),e=e.replace(/<font(.*?)>/gi,""),e=e.replace(/<\/font>/gi,""),
+e=this.tidy.load(e),this.opts.paragraphize&&(e=this.paragraphize.load(e)),e=this.clean.setVerified(e),e=this.clean.convertInline(e),e=e.replace(/&amp;/g,"&")},onSync:function(e){if(e=e.replace(/\u200B/g,""),e=e.replace(/&#x200b;/gi,""),this.opts.cleanSpaces&&(e=e.replace(/&nbsp;/gi," ")),-1!=e.search(/^<p>(||\s||<br\s?\/?>||&nbsp;)<\/p>$/i))return"";e=e.replace(/<pre class="redactor-script-tag" style="display: none;"(.*?[^>]?)>([\w\W]*?)<\/pre>/gi,"<script$1>$2</script>"),e=this.clean.restoreFormTags(e);var i={"™":"&trade;","©":"&copy;","…":"&hellip;","—":"&mdash;","‐":"&dash;"};t.each(i,function(t,i){e=e.replace(new RegExp(t,"g"),i)}),this.utils.browser("mozilla")&&(e=e.replace(/<br\s?\/?>$/gi,"")),e=e.replace(new RegExp("<br\\s?/?></li>","gi"),"</li>"),e=e.replace(new RegExp("</li><br\\s?/?>","gi"),"</li>"),e=e.replace(/<(.*?)rel="\s*?"(.*?[^>]?)>/gi,'<$1$2">'),e=e.replace(/<(.*?)style="\s*?"(.*?[^>]?)>/gi,'<$1$2">'),e=e.replace(/="">/gi,">"),e=e.replace(/""">/gi,'">'),e=e.replace(/"">/gi,'">'),e=e.replace(/<div(.*?)data-tagblock="redactor"(.*?[^>])>/gi,"<div$1$2>"),e=e.replace(/<(.*?) data-verified="redactor"(.*?[^>])>/gi,"<$1$2>");var s=t("<div/>").html(t.parseHTML(e,document,!0));return s.find("span").removeAttr("rel"),s.find("pre .redactor-invisible-space").each(function(){t(this).contents().unwrap()}),e=s.html(),e=e.replace(/<img(.*?[^>])rel="(.*?[^>])"(.*?[^>])>/gi,"<img$1$3>"),e=e.replace(/<span class="redactor-invisible-space">(.*?)<\/span>/gi,"$1"),e=e.replace(/ data-save-url="(.*?[^>])"/gi,""),e=e.replace(/<span(.*?)id="redactor-image-box"(.*?[^>])>([\w\W]*?)<img(.*?)><\/span>/gi,"$3<img$4>"),e=e.replace(/<span(.*?)id="redactor-image-resizer"(.*?[^>])>(.*?)<\/span>/gi,""),e=e.replace(/<span(.*?)id="redactor-image-editter"(.*?[^>])>(.*?)<\/span>/gi,""),e=e.replace(/<font(.*?)>/gi,""),e=e.replace(/<\/font>/gi,""),e=this.tidy.load(e),this.opts.linkNofollow&&(e=e.replace(/<a(.*?)rel="nofollow"(.*?[^>])>/gi,"<a$1$2>"),e=e.replace(/<a(.*?[^>])>/gi,'<a$1 rel="nofollow">')),e=e.replace(/\sdata-redactor-(tag|class|style)="(.*?[^>])"/gi,""),e=e.replace(new RegExp('<(.*?) data-verified="redactor"(.*?[^>])>',"gi"),"<$1$2>"),e=e.replace(new RegExp('<(.*?) data-verified="redactor">',"gi"),"<$1>"),e=e.replace(/&amp;/g,"&")},onPaste:function(e,i){if(e=t.trim(e),e=e.replace(/\$/g,"&#36;"),e=e.replace(/<span class="s[0-9]">/gi,"<span>"),e=e.replace(/<span class="Apple-converted-space">&nbsp;<\/span>/gi," "),e=e.replace(/<span class="Apple-tab-span"[^>]*>\t<\/span>/gi,"   "),e=e.replace(/<span[^>]*>(\s|&nbsp;)<\/span>/gi," "),this.opts.pastePlainText)return this.clean.getPlainText(e);if(!this.utils.isSelectAll()&&"undefined"==typeof i){if(this.utils.isCurrentOrParent(["FIGCAPTION","A"]))return this.clean.getPlainText(e,!1);if(this.utils.isCurrentOrParent("PRE"))return e=e.replace(/”/g,'"'),e=e.replace(/“/g,'"'),e=e.replace(/‘/g,"'"),e=e.replace(/’/g,"'"),this.clean.getPreCode(e);if(this.utils.isCurrentOrParent(["BLOCKQUOTE","H1","H2","H3","H4","H5","H6"])){if(e=this.clean.getOnlyImages(e),!this.utils.browser("msie")){var s=this.selection.getBlock();s&&"P"==s.tagName&&(e=e.replace(/<img(.*?)>/gi,"<p><img$1></p>"))}return e}if(this.utils.isCurrentOrParent(["TD"]))return e=this.clean.onPasteTidy(e,"td"),this.opts.linebreaks&&(e=this.clean.replaceParagraphsToBr(e)),e=this.clean.replaceDivsToBr(e);if(this.utils.isCurrentOrParent(["LI"]))return this.clean.onPasteTidy(e,"li")}return e=this.clean.isSingleLine(e,i),this.clean.singleLine||(this.opts.linebreaks&&(e=this.clean.replaceParagraphsToBr(e)),this.opts.replaceDivs&&(e=this.clean.replaceDivs(e)),e=this.clean.saveFormTags(e)),e=this.clean.onPasteWord(e),e=this.clean.onPasteExtra(e),e=this.clean.onPasteTidy(e,"all"),!this.clean.singleLine&&this.opts.paragraphize&&(e=this.paragraphize.load(e)),e=this.clean.removeDirtyStyles(e),e=this.clean.onPasteRemoveSpans(e),e=this.clean.onPasteRemoveEmpty(e),e=this.clean.convertInline(e)},onPasteWord:function(e){if(e=e.replace(/<!--[\s\S]*?-->/gi,""),e=e.replace(/<style[^>]*>[\s\S]*?<\/style>/gi,""),e=e.replace(/<o\:p[^>]*>[\s\S]*?<\/o\:p>/gi,""),e.match(/class="?Mso|style="[^"]*\bmso-|style='[^'']*\bmso-|w:WordDocument/i)){e=e.replace(/<!--[\s\S]+?-->/gi,""),e=e.replace(/<(!|script[^>]*>.*?<\/script(?=[>\s])|\/?(\?xml(:\w+)?|img|meta|link|style|\w:\w+)(?=[\s\/>]))[^>]*>/gi,""),e=e.replace(/<(\/?)s>/gi,"<$1strike>"),e=e.replace(/ /gi," "),e=e.replace(/<span\s+style\s*=\s*"\s*mso-spacerun\s*:\s*yes\s*;?\s*"\s*>([\s\u00a0]*)<\/span>/gi,function(t,e){return e.length>0?e.replace(/./," ").slice(Math.floor(e.length/2)).split("").join(" "):""}),e=this.clean.onPasteIeFixLinks(e),e=e.replace(/<img(.*?)v:shapes=(.*?)>/gi,""),e=e.replace(/src="file\:\/\/(.*?)"/,'src=""');var i=t("<div/>").html(e),s=!1,r=1,o=[];i.find("p[style]").each(function(){var e=t(this).attr("style").match(/mso\-list\:l([0-9]+)\slevel([0-9]+)/);if(e){var n=parseInt(e[1]),a=parseInt(e[2]),l=t(this).html().match(/^[\w]+\./)?"ol":"ul",c=t("<li/>").html(t(this).html());if(c.html(c.html().replace(/^([\w\.]+)</,"<")),c.find("span:first").remove(),1==a&&-1==t.inArray(n,o)){var h=t("<"+l+"/>").attr({"data-level":a,"data-list":n}).html(c);t(this).replaceWith(h),s=n,o.push(n)}else{if(a>r){for(var d=i.find('[data-level="'+r+'"][data-list="'+s+'"]'),u=d,p=r;a>p;p++)h=t("<"+l+"/>"),h.appendTo(u.find("li").last()),u=h;u.attr({"data-level":a,"data-list":n}).html(c)}else{var d=i.find('[data-level="'+a+'"][data-list="'+n+'"]').last();d.append(c)}r=a,s=n,t(this).remove()}}}),i.find("[data-level][data-list]").removeAttr("data-level data-list"),e=i.html(),e=e.replace(/·/g,""),e=e.replace(/<p class="Mso(.*?)"/gi,"<p"),e=e.replace(/ class=\"(mso[^\"]*)\"/gi,""),e=e.replace(/ class=(mso\w+)/gi,""),e=e.replace(/<o:p(.*?)>([\w\W]*?)<\/o:p>/gi,"$2"),e=e.replace(/\n/g," "),e=e.replace(/<p>\n?<li>/gi,"<li>")}return e},onPasteExtra:function(t){return t=t.replace(/<b\sid="internal-source-marker(.*?)">([\w\W]*?)<\/b>/gi,"$2"),t=t.replace(/<b(.*?)id="docs-internal-guid(.*?)">([\w\W]*?)<\/b>/gi,"$3"),t=t.replace(/<span[^>]*(font-style: italic; font-weight: bold|font-weight: bold; font-style: italic)[^>]*>/gi,'<span style="font-weight: bold;"><span style="font-style: italic;">'),t=t.replace(/<span[^>]*font-style: italic[^>]*>/gi,'<span style="font-style: italic;">'),t=t.replace(/<span[^>]*font-weight: bold[^>]*>/gi,'<span style="font-weight: bold;">'),t=t.replace(/<span[^>]*text-decoration: underline[^>]*>/gi,'<span style="text-decoration: underline;">'),t=t.replace(/<img>/gi,""),t=t.replace(/\n{3,}/gi,"\n"),t=t.replace(/<font(.*?)>([\w\W]*?)<\/font>/gi,"$2"),t=t.replace(/<p><p>/gi,"<p>"),t=t.replace(/<\/p><\/p>/gi,"</p>"),t=t.replace(/<li>(\s*|\t*|\n*)<p>/gi,"<li>"),t=t.replace(/<\/p>(\s*|\t*|\n*)<\/li>/gi,"</li>"),t=t.replace(/<\/p>\s<p/gi,"</p><p"),t=t.replace(/<img src="webkit-fake-url\:\/\/(.*?)"(.*?)>/gi,""),t=t.replace(/<p>•([\w\W]*?)<\/p>/gi,"<li>$1</li>"),this.utils.browser("mozilla")&&(t=t.replace(/<br\s?\/?>$/gi,"")),t},onPasteTidy:function(t,e){var i=["span","a","pre","blockquote","small","em","strong","code","kbd","mark","address","cite","var","samp","dfn","sup","sub","b","i","u","del","ol","ul","li","dl","dt","dd","p","br","video","audio","iframe","embed","param","object","img","table","td","th","tr","tbody","tfoot","thead","h1","h2","h3","h4","h5","h6"],s=!1,r=[["a","*"],["img",["src","alt"]],["span",["class","rel","data-verified"]],["iframe","*"],["video","*"],["audio","*"],["embed","*"],["object","*"],["param","*"],["source","*"]];"all"==e?(s=["p","span","h1","h2","h3","h4","h5","h6"],r=[["table","class"],["td",["colspan","rowspan"]],["a","*"],["img",["src","alt","data-redactor-inserted-image"]],["span",["class","rel","data-verified"]],["iframe","*"],["video","*"],["audio","*"],["embed","*"],["object","*"],["param","*"],["source","*"]]):"td"==e?i=["ul","ol","li","span","a","small","em","strong","code","kbd","mark","cite","var","samp","dfn","sup","sub","b","i","u","del","ol","ul","li","dl","dt","dd","br","iframe","video","audio","embed","param","object","img","h1","h2","h3","h4","h5","h6"]:"li"==e&&(i=["ul","ol","li","span","a","small","em","strong","code","kbd","mark","cite","var","samp","dfn","sup","sub","b","i","u","del","br","iframe","video","audio","embed","param","object","img"]);var o={deniedTags:this.opts.deniedTags?this.opts.deniedTags:!1,allowedTags:this.opts.allowedTags?this.opts.allowedTags:i,removeComments:!0,removePhp:!0,removeAttr:this.opts.removeAttr?this.opts.removeAttr:!1,allowedAttr:this.opts.allowedAttr?this.opts.allowedAttr:r,removeEmpty:s};return this.tidy.load(t,o)},onPasteRemoveEmpty:function(t){return t=t.replace(/<(p|h[1-6])>(|\s|\n|\t|<br\s?\/?>)<\/(p|h[1-6])>/gi,""),this.opts.linebreaks||(t=t.replace(/<br>$/i,"")),t},onPasteRemoveSpans:function(t){return t=t.replace(/<span>(.*?)<\/span>/gi,"$1"),t=t.replace(/<span[^>]*>\s|&nbsp;<\/span>/gi," ")},onPasteIeFixLinks:function(e){if(!this.utils.browser("msie"))return e;var i=t.trim(e);return 0===i.search(/^<a(.*?)>(.*?)<\/a>$/i)&&(e=e.replace(/^<a(.*?)>(.*?)<\/a>$/i,"$2")),e},isSingleLine:function(t,e){if(this.clean.singleLine=!1,!this.utils.isSelectAll()&&"undefined"==typeof e){var i=this.opts.blockLevelElements.join("|").replace("P|","").replace("DIV|",""),s=t.match(new RegExp("</("+i+")>","gi")),r=t.match(/<\/(p|div)>/gi);if(!s&&(null===r||r&&r.length<=1)){var o=t.match(/<br\s?\/?>/gi);o||(this.clean.singleLine=!0,t=t.replace(/<\/?(p|div)(.*?)>/gi,""))}}return t},stripTags:function(t,e){e=(((e||"")+"").toLowerCase().match(/<[a-z][a-z0-9]*>/g)||[]).join("");var i=/<\/?([a-z][a-z0-9]*)\b[^>]*>/gi;return t.replace(i,function(t,i){return e.indexOf("<"+i.toLowerCase()+">")>-1?t:""})},savePreCode:function(t){return t=this.clean.savePreFormatting(t),t=this.clean.saveCodeFormatting(t),t=this.clean.restoreSelectionMarker(t)},savePreFormatting:function(e){var i=e.match(/<pre(.*?)>([\w\W]*?)<\/pre>/gi);return null!==i&&t.each(i,t.proxy(function(t,i){var s=i.match(/<pre(.*?)>([\w\W]*?)<\/pre>/i);s[2]=s[2].replace(/<br\s?\/?>/g,"\n"),s[2]=s[2].replace(/&nbsp;/g," "),this.opts.preSpaces&&(s[2]=s[2].replace(/\t/g,Array(this.opts.preSpaces+1).join(" "))),s[2]=this.clean.encodeEntities(s[2]),s[2]=s[2].replace(/\$/g,"&#36;"),e=e.replace(i,"<pre"+s[1]+">"+s[2]+"</pre>")},this)),e},saveCodeFormatting:function(e){var i=e.match(/<code(.*?)>([\w\W]*?)<\/code>/gi);return null!==i&&t.each(i,t.proxy(function(t,i){var s=i.match(/<code(.*?)>([\w\W]*?)<\/code>/i);s[2]=s[2].replace(/&nbsp;/g," "),s[2]=this.clean.encodeEntities(s[2]),s[2]=s[2].replace(/\$/g,"&#36;"),e=e.replace(i,"<code"+s[1]+">"+s[2]+"</code>")},this)),e},restoreSelectionMarker:function(t){return t=t.replace(/&lt;span id=&quot;selection-marker-([0-9])&quot; class=&quot;redactor-selection-marker&quot; data-verified=&quot;redactor&quot;&gt;​&lt;\/span&gt;/g,'<span id="selection-marker-$1" class="redactor-selection-marker" data-verified="redactor">​</span>')},getTextFromHtml:function(e){e=e.replace(/<br\s?\/?>|<\/H[1-6]>|<\/p>|<\/div>|<\/li>|<\/td>/gi,"\n");var i=document.createElement("div");return i.innerHTML=e,e=i.textContent||i.innerText,t.trim(e)},getPlainText:function(t,e){return t=this.clean.getTextFromHtml(t),t=t.replace(/\n\s*\n/g,"\n"),t=t.replace(/\n\n/g,"\n"),t=t.replace(/\n/g,"<br />"),this.opts.paragraphize&&"undefined"==typeof e&&!this.utils.browser("mozilla")&&(t=this.paragraphize.load(t)),t},getPreCode:function(t){return t=t.replace(/<img(.*?) style="(.*?)"(.*?[^>])>/gi,"<img$1$3>"),t=t.replace(/<img(.*?)>/gi,"&lt;img$1&gt;"),t=this.clean.getTextFromHtml(t),this.opts.preSpaces&&(t=t.replace(/\t/g,Array(this.opts.preSpaces+1).join(" "))),t=this.clean.encodeEntities(t)},getOnlyImages:function(t){return t=t.replace(/<img(.*?)>/gi,"[img$1]"),t=t.replace(/<([Ss]*?)>/gi,""),t=t.replace(/\[img(.*?)\]/gi,"<img$1>")},getOnlyLinksAndImages:function(t){return t=t.replace(/<a(.*?)href="(.*?)"(.*?)>([\w\W]*?)<\/a>/gi,'[a href="$2"]$4[/a]'),t=t.replace(/<img(.*?)>/gi,"[img$1]"),t=t.replace(/<(.*?)>/gi,""),t=t.replace(/\[a href="(.*?)"\]([\w\W]*?)\[\/a\]/gi,'<a href="$1">$2</a>'),t=t.replace(/\[img(.*?)\]/gi,"<img$1>")},encodeEntities:function(t){return t=String(t).replace(/&amp;/g,"&").replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&quot;/g,'"'),t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;")},removeDirtyStyles:function(e){if(this.utils.browser("msie"))return e;var i=document.createElement("div");return i.innerHTML=e,this.clean.clearUnverifiedRemove(t(i)),e=i.innerHTML,t(i).remove(),e},clearUnverified:function(){if(!this.utils.browser("msie")){this.clean.clearUnverifiedRemove(this.$editor);var t=this.$editor.find("h1, h2, h3, h4, h5, h6");t.find("span").removeAttr("style"),t.find(this.opts.verifiedTags.join(", ")).removeAttr("style"),this.code.sync()}},clearUnverifiedRemove:function(e){e.find(this.opts.verifiedTags.join(", ")).removeAttr("style"),e.find("span").not('[data-verified="redactor"]').removeAttr("style"),e.find('span[data-verified="redactor"], img[data-verified="redactor"]').each(function(e,i){var s=t(i);s.attr("style",s.attr("rel"))})},cleanEmptyParagraph:function(){},setVerified:function(t){if(this.utils.browser("msie"))return t;t=t.replace(new RegExp("<img(.*?[^>])>","gi"),'<img$1 data-verified="redactor">'),t=t.replace(new RegExp("<span(.*?[^>])>","gi"),'<span$1 data-verified="redactor">');var e=t.match(new RegExp('<(span|img)(.*?)style="(.*?)"(.*?[^>])>',"gi"));if(e)for(var i=e.length,s=0;i>s;s++)try{var r=e[s].replace(/style="(.*?)"/i,'style="$1" rel="$1"');t=t.replace(e[s],r)}catch(t){}return t},convertInline:function(e){var i=t("<div />").html(e),s=this.opts.inlineTags;return s.push("span"),i.find(s.join(",")).each(function(){var e=t(this),i=this.tagName.toLowerCase();e.attr("data-redactor-tag",i),"span"==i&&(e.attr("style")?e.attr("data-redactor-style",e.attr("style")):e.attr("class")&&e.attr("data-redactor-class",e.attr("class")))}),e=i.html(),i.remove(),e},normalizeLists:function(){this.$editor.find("li").each(function(e,i){var s=t(i).next();0===s.length||"UL"!=s[0].tagName&&"OL"!=s[0].tagName||t(i).append(s)})},removeSpaces:function(t){return t=t.replace(/\n/g,""),t=t.replace(/[\t]*/g,""),t=t.replace(/\n\s*\n/g,"\n"),t=t.replace(/^[\s\n]*/g," "),t=t.replace(/[\s\n]*$/g," "),t=t.replace(/>\s{2,}</g,"> <"),t=t.replace(/\n\n/g,"\n"),t=t.replace(/\u200B/g,"")},replaceDivs:function(t){return this.opts.linebreaks?(t=t.replace(/<div><br\s?\/?><\/div>/gi,"<br />"),t=t.replace(/<div(.*?)>([\w\W]*?)<\/div>/gi,"$2<br />")):t=t.replace(/<div(.*?)>([\w\W]*?)<\/div>/gi,"<p$1>$2</p>"),t=t.replace(/<div(.*?[^>])>/gi,""),t=t.replace(/<\/div>/gi,"")},replaceDivsToBr:function(t){return t=t.replace(/<div\s(.*?)>/gi,"<p>"),t=t.replace(/<div><br\s?\/?><\/div>/gi,"<br /><br />"),t=t.replace(/<div>([\w\W]*?)<\/div>/gi,"$1<br /><br />")},replaceParagraphsToBr:function(t){return t=t.replace(/<p\s(.*?)>/gi,"<p>"),t=t.replace(/<p><br\s?\/?><\/p>/gi,"<br />"),t=t.replace(/<p>([\w\W]*?)<\/p>/gi,"$1<br /><br />"),t=t.replace(/(<br\s?\/?>){1,}\n?<\/blockquote>/gi,"</blockquote>")},saveFormTags:function(t){return t.replace(/<form(.*?)>([\w\W]*?)<\/form>/gi,'<section$1 rel="redactor-form-tag">$2</section>')},restoreFormTags:function(t){return t.replace(/<section(.*?) rel="redactor-form-tag"(.*?)>([\w\W]*?)<\/section>/gi,"<form$1$2>$3</form>")}}},code:function(){return{set:function(e){e=t.trim(e.toString()),e=this.clean.onSet(e),this.utils.browser("msie")&&(e=e.replace(/<span(.*?)id="selection-marker-(1|2)"(.*?)><\/span>/gi,"")),this.$editor.html(e),this.code.sync(),""!==e&&this.placeholder.remove(),setTimeout(t.proxy(this.buffer.add,this),15),this.start===!1&&this.observe.load()},get:function(){var t=this.$textarea.val();return this.opts.replaceDivs&&(t=this.clean.replaceDivs(t)),this.opts.linebreaks&&(t=this.clean.replaceParagraphsToBr(t)),t=this.tabifier.get(t)},sync:function(){setTimeout(t.proxy(this.code.startSync,this),10)},startSync:function(){var t=this.$editor.html();this.code.syncCode&&this.code.syncCode==t||this.start&&""==t||(this.code.syncCode=t,t=this.core.setCallback("syncBefore",t),t=this.clean.onSync(t),this.$textarea.val(t),this.core.setCallback("sync",t),this.start===!1&&this.core.setCallback("change",t),this.start=!1,0==this.autosave.html&&(this.autosave.html=this.code.get()),this.opts.codemirror&&this.$textarea.next(".CodeMirror").each(function(e,i){i.CodeMirror.setValue(t)}),this.autosave.onChange(),this.autosave.enable())},toggle:function(){this.opts.visual?this.code.showCode():this.code.showVisual()},showCode:function(){this.selection.save(),this.code.offset=this.caret.getOffset();var e=t(window).scrollTop(),i=(this.$editor.innerWidth(),this.$editor.innerHeight());this.$editor.hide();var s=this.$textarea.val();this.modified=this.clean.removeSpaces(s),s=this.tabifier.get(s);var r=0,o=0,n=t("<div/>").append(t.parseHTML(this.clean.onSync(this.$editor.html()),document,!0)),a=n.find("span.redactor-selection-marker");if(a.length>0){var l=this.tabifier.get(n.html()).replace(/&amp;/g,"&");1==a.length?(r=this.utils.strpos(l,n.find("#selection-marker-1").prop("outerHTML")),o=r):2==a.length&&(r=this.utils.strpos(l,n.find("#selection-marker-1").prop("outerHTML")),o=this.utils.strpos(l,n.find("#selection-marker-2").prop("outerHTML"))-n.find("#selection-marker-1").prop("outerHTML").toString().length)}this.selection.removeMarkers(),this.$textarea.val(s),this.opts.codemirror?this.$textarea.next(".CodeMirror").each(function(e,n){t(n).show(),n.CodeMirror.setValue(s),n.CodeMirror.setSize("100%",i),n.CodeMirror.refresh(),r==o?n.CodeMirror.setCursor(n.CodeMirror.posFromIndex(r).line,n.CodeMirror.posFromIndex(o).ch):n.CodeMirror.setSelection({line:n.CodeMirror.posFromIndex(r).line,ch:n.CodeMirror.posFromIndex(r).ch},{line:n.CodeMirror.posFromIndex(o).line,ch:n.CodeMirror.posFromIndex(o).ch}),n.CodeMirror.focus()}):(this.$textarea.height(i).show().focus(),this.$textarea.on("keydown.redactor-textarea-indenting",this.code.textareaIndenting),t(window).scrollTop(e),this.$textarea[0].setSelectionRange&&this.$textarea[0].setSelectionRange(r,o),this.$textarea[0].scrollTop=0),this.opts.visual=!1,this.button.setInactiveInCode(),this.button.setActive("html"),this.core.setCallback("source",s)},showVisual:function(){var t;if(!this.opts.visual){var e=0,i=0;if(this.opts.codemirror){var s;this.$textarea.next(".CodeMirror").each(function(r,o){s=o.CodeMirror.listSelections(),e=o.CodeMirror.indexFromPos(s[0].anchor),i=o.CodeMirror.indexFromPos(s[0].head),t=o.CodeMirror.getValue()})}else e=this.$textarea.get(0).selectionStart,i=this.$textarea.get(0).selectionEnd,t=this.$textarea.hide().val();if(e>i&&i>0){var r=i,o=e;e=r,i=o}if(e=this.code.enlargeOffset(t,e),i=this.code.enlargeOffset(t,i),t=t.substr(0,e)+this.selection.getMarkerAsHtml(1)+t.substr(e),i>e){var n=this.selection.getMarkerAsHtml(1).toString().length;t=t.substr(0,i+n)+this.selection.getMarkerAsHtml(2)+t.substr(i+n)}this.modified!==this.clean.removeSpaces(t)&&this.code.set(t),this.opts.codemirror&&this.$textarea.next(".CodeMirror").hide(),this.$editor.show(),this.utils.isEmpty(t)||this.placeholder.remove(),this.selection.restore(),this.$textarea.off("keydown.redactor-textarea-indenting"),this.button.setActiveInVisual(),this.button.setInactive("html"),this.observe.load(),this.opts.visual=!0,this.core.setCallback("visual",t)}},textareaIndenting:function(t){if(9!==t.keyCode)return!0;var e=this.$textarea,i=e.get(0).selectionStart;return e.val(e.val().substring(0,i)+"    "+e.val().substring(e.get(0).selectionEnd)),e.get(0).selectionStart=e.get(0).selectionEnd=i+1,!1},enlargeOffset:function(t,e){var i=t.length,s=0;if(">"==t[e])s++;else for(var r=e;i>=r&&(s++,">"!=t[r]);r++)if("<"==t[r]||r==i){s=0;break}return e+s}}},core:function(){return{getObject:function(){return t.extend({},this)},getEditor:function(){return this.$editor},getBox:function(){return this.$box},getElement:function(){return this.$element},getTextarea:function(){return this.$textarea},getToolbar:function(){return this.$toolbar?this.$toolbar:!1},addEvent:function(t){this.core.event=t},getEvent:function(){return this.core.event},setCallback:function(e,i,s){var r=e+"Callback",o="redactor",n=this.opts[r];if(this.$textarea){var a=!1,l=t._data(this.$textarea[0],"events");if("undefined"!=typeof l&&"undefined"!=typeof l[r]&&t.each(l[r],t.proxy(function(t,e){if(e.namespace==o){var s="undefined"==typeof s?[i]:[i,s];a="undefined"==typeof s?e.handler.call(this,i):e.handler.call(this,i,s)}},this)),a)return a}return t.isFunction(n)?"undefined"==typeof s?n.call(this,i):n.call(this,i,s):"undefined"==typeof s?i:s},destroy:function(){this.opts.destroyed=!0,this.core.setCallback("destroy"),this.$element.off(".redactor").removeData("redactor"),this.$editor.off(".redactor"),t(document).off("mousedown.redactor-blur."+this.uuid),t(document).off("mousedown.redactor."+this.uuid),t(document).off("click.redactor-image-delete."+this.uuid),t(document).off("click.redactor-image-resize-hide."+this.uuid),t(document).off("touchstart.redactor."+this.uuid+" click.redactor."+this.uuid),t("body").off("scroll.redactor."+this.uuid),t(this.opts.toolbarFixedTarget).off("scroll.redactor."+this.uuid),this.$editor.removeClass("redactor-editor redactor-linebreaks redactor-placeholder"),this.$editor.removeAttr("contenteditable");var e=this.code.get();this.opts.toolbar&&this.$toolbar.find("a").each(function(){var e=t(this);e.data("dropdown")&&(e.data("dropdown").remove(),e.data("dropdown",{}))}),this.build.isTextarea()?(this.$box.after(this.$element),this.$box.remove(),this.$element.val(e).show()):(this.$box.after(this.$editor),this.$box.remove(),this.$element.html(e).show()),this.$pasteBox&&this.$pasteBox.remove(),this.$modalBox&&this.$modalBox.remove(),this.$modalOverlay&&this.$modalOverlay.remove(),t(".redactor-toolbar-tooltip-"+this.uuid).remove(),clearInterval(this.autosaveInterval)}}},dropdown:function(){return{build:function(e,i,s){"formatting"==e&&this.opts.formattingAdd&&t.each(this.opts.formattingAdd,t.proxy(function(t,e){var i,r=e.tag;"undefined"!=typeof e.class&&(r=r+"-"+e.class),e.type=this.utils.isBlockTag(e.tag)?"block":"inline",i="undefined"!=typeof e.func?e.func:"inline"==e.type?"inline.formatting":"block.formatting",this.opts.linebreaks&&"block"==e.type&&"p"==e.tag||(this.formatting[r]={tag:e.tag,style:e.style,class:e.class,attr:e.attr,data:e.data,clear:e.clear},s[r]={func:i,title:e.title})},this)),t.each(s,t.proxy(function(s,r){var o=t('<a href="#" class="redactor-dropdown-'+s+'" role="button">'+r.title+"</a>");"formatting"==e&&o.addClass("redactor-formatting-"+s),o.on("click",t.proxy(function(e){e.preventDefault();var i="func",o=r.func;r.command?(i="command",o=r.command):r.dropdown&&(i="dropdown",o=r.dropdown),t(e.target).hasClass("redactor-dropdown-link-inactive")||(this.button.onClick(e,s,i,o),this.dropdown.hideAll())},this)),this.observe.addDropdown(o,s,r),i.append(o)},this))},show:function(e,i){if(!this.opts.visual)return e.preventDefault(),!1;var s=this.button.get(i),r=s.data("dropdown").appendTo(document.body);if(this.opts.highContrast&&r.addClass("redactor-dropdown-contrast"),s.hasClass("dropact"))this.dropdown.hideAll();else{this.dropdown.hideAll(),this.observe.dropdowns(),this.core.setCallback("dropdownShow",{dropdown:r,key:i,button:s}),this.button.setActive(i),s.addClass("dropact");var o=s.offset(),n=r.width();o.left+n>t(document).width()&&(o.left=Math.max(0,o.left-n));var a=o.left+"px";if(this.$toolbar.hasClass("toolbar-fixed-box")){var l=this.$toolbar.innerHeight()+this.opts.toolbarFixedTopOffset,c="fixed";this.opts.toolbarFixedTarget!==document&&(l=this.$toolbar.innerHeight()+this.$toolbar.offset().top+this.opts.toolbarFixedTopOffset,c="absolute"),r.css({position:c,left:a,top:l+"px"}).show()}else{var l=s.innerHeight()+o.top+"px";r.css({position:"absolute",left:a,top:l}).show()}this.core.setCallback("dropdownShown",{dropdown:r,key:i,button:s}),this.$dropdown=r}t(document).one("click.redactor-dropdown",t.proxy(this.dropdown.hide,this)),this.$editor.one("click.redactor-dropdown",t.proxy(this.dropdown.hide,this)),t(document).one("keyup.redactor-dropdown",t.proxy(this.dropdown.closeHandler,this)),r.on("mouseover.redactor-dropdown",t.proxy(this.utils.disableBodyScroll,this)).on("mouseout.redactor-dropdown",t.proxy(this.utils.enableBodyScroll,this)),e.stopPropagation()},closeHandler:function(t){t.which==this.keyCode.ESC&&(this.dropdown.hideAll(),this.$editor.focus())},hideAll:function(){this.$toolbar.find("a.dropact").removeClass("redactor-act").removeClass("dropact"),this.utils.enableBodyScroll(),t(".redactor-dropdown-"+this.uuid).hide(),t(".redactor-dropdown-link-selected").removeClass("redactor-dropdown-link-selected"),this.$dropdown&&(this.$dropdown.off(".redactor-dropdown"),this.core.setCallback("dropdownHide",this.$dropdown),this.$dropdown=!1)},hide:function(e){var i=t(e.target);i.hasClass("dropact")||i.hasClass("redactor-dropdown-link-inactive")||(i.hasClass("redactor-dropdown")&&(i.removeClass("dropact"),i.off("mouseover mouseout")),this.dropdown.hideAll())}}},file:function(){return{show:function(){this.modal.load("file",this.lang.get("file"),700),this.upload.init("#redactor-modal-file-upload",this.opts.fileUpload,this.file.insert),this.selection.save(),this.selection.get();var e=this.sel.toString();t("#redactor-filename").val(e),this.modal.show()},insert:function(e,i,s){if("undefined"!=typeof e.error)return this.modal.close(),this.selection.restore(),void this.core.setCallback("fileUploadError",e);var r;if("string"==typeof e)r=e;else{var o=t("#redactor-filename").val();("undefined"==typeof o||""===o)&&(o=e.filename),r='<a href="'+e.filelink+'" id="filelink-marker">'+o+"</a>"}if(i){this.selection.removeMarkers();var n=this.selection.getMarker();this.insert.nodeToCaretPositionFromPoint(s,n)}else this.modal.close();if(this.selection.restore(),this.buffer.set(),this.insert.htmlWithoutClean(r),"string"!=typeof e){var a=t(this.$editor.find("a#filelink-marker"));0!==a.length?a.removeAttr("id").removeAttr("style"):a=!1,this.core.setCallback("fileUpload",a,e)}}}},focus:function(){return{setStart:function(){this.$editor.focus();var t=this.$editor.children().first();if(0!==t.length&&0!==t[0].length&&"BR"!=t[0].tagName&&3!=t[0].nodeType){if("UL"==t[0].tagName||"OL"==t[0].tagName){var e=t.find("li").first();if(!this.utils.isBlock(e)&&""===e.text())return void this.caret.setStart(e)}return this.opts.linebreaks&&!this.utils.isBlockTag(t[0].tagName)?(this.selection.get(),this.range.setStart(this.$editor[0],0),this.range.setEnd(this.$editor[0],0),void this.selection.addRange()):void this.caret.setStart(t)}},setEnd:function(){var t=this.$editor.children().last();this.$editor.focus(),0!==t.size()&&(this.utils.isEmpty(this.$editor.html())?(this.selection.get(),this.range.collapse(!0),this.range.setStartAfter(t[0]),this.range.setEnd(t[0],0),this.selection.addRange()):(this.selection.get(),this.range.selectNodeContents(t[0]),this.range.collapse(!1),this.selection.addRange()))},isFocused:function(){return this.$editor[0]===document.activeElement}}},image:function(){return{show:function(){this.modal.load("image",this.lang.get("image"),700),this.upload.init("#redactor-modal-image-droparea",this.opts.imageUpload,this.image.insert),this.selection.save(),this.modal.show()},showEdit:function(e){var i=e.closest("a",this.$editor[0]);if(this.modal.load("imageEdit",this.lang.get("edit"),705),this.modal.createCancelButton(),this.image.buttonDelete=this.modal.createDeleteButton(this.lang.get("_delete")),this.image.buttonSave=this.modal.createActionButton(this.lang.get("save")),this.image.buttonDelete.on("click",t.proxy(function(){this.image.remove(e)},this)),this.image.buttonSave.on("click",t.proxy(function(){this.image.update(e)},this)),t(".redactor-link-tooltip").remove(),t("#redactor-image-title").val(e.attr("alt")),this.opts.imageLink){var s=t("#redactor-image-link");s.attr("href",e.attr("src")),0!==i.length&&(s.val(i.attr("href")),"_blank"==i.attr("target")&&t("#redactor-image-link-blank").prop("checked",!0))}else t(".redactor-image-link-option").hide();if(this.opts.imagePosition){var r="block"==e.css("display")&&"none"==e.css("float")?"center":e.css("float");t("#redactor-image-align").val(r)}else t(".redactor-image-position-option").hide();this.modal.show(),t("#redactor-image-title").focus()},setFloating:function(e){var i=t("#redactor-image-align").val(),s="",r="",o="";switch(i){case"left":s="left",o="0 "+this.opts.imageFloatMargin+" "+this.opts.imageFloatMargin+" 0";break;case"right":s="right",o="0 0 "+this.opts.imageFloatMargin+" "+this.opts.imageFloatMargin;break;case"center":r="block",o="auto"}e.css({float:s,display:r,margin:o}),e.attr("rel",e.attr("style"))},update:function(e){this.image.hideResize(),this.buffer.set();var i=e.closest("a",this.$editor[0]),s=t("#redactor-image-title").val().replace(/(<([^>]+)>)/gi,"");e.attr("alt",s),this.image.setFloating(e);var r=t.trim(t("#redactor-image-link").val()),r=r.replace(/(<([^>]+)>)/gi,"");if(""!==r){var o="((xn--)?[a-z0-9]+(-[a-z0-9]+)*\\.)+[a-z]{2,}",n=new RegExp("^(http|ftp|https)://"+o,"i"),a=new RegExp("^"+o,"i");-1==r.search(n)&&0===r.search(a)&&this.opts.linkProtocol&&(r=this.opts.linkProtocol+"://"+r);var l=t("#redactor-image-link-blank").prop("checked")?!0:!1;if(0===i.length){var c=t('<a href="'+r+'">'+this.utils.getOuterHtml(e)+"</a>");l&&c.attr("target","_blank"),e.replaceWith(c)}else i.attr("href",r),l?i.attr("target","_blank"):i.removeAttr("target")}else 0!==i.length&&i.replaceWith(this.utils.getOuterHtml(e));this.modal.close(),this.observe.images(),this.code.sync()},setEditable:function(e){this.opts.imageEditable&&e.on("dragstart",t.proxy(this.image.onDrag,this));var i=t.proxy(function(){this.observe.image=e,this.image.resizer=this.image.loadEditableControls(e),t(document).on("mousedown.redactor-image-resize-hide."+this.uuid,t.proxy(this.image.hideResize,this)),this.opts.imageResizable&&this.image.resizer.on("mousedown.redactor touchstart.redactor",t.proxy(function(t){this.image.setResizable(t,e)},this))},this);e.off("mousedown.redactor").on("mousedown.redactor",t.proxy(this.image.hideResize,this)),e.off("click.redactor touchstart.redactor").on("click.redactor touchstart.redactor",i)},setResizable:function(t,e){t.preventDefault(),this.image.resizeHandle={x:t.pageX,y:t.pageY,el:e,ratio:e.width()/e.height(),h:e.height()},t=t.originalEvent||t,t.targetTouches&&(this.image.resizeHandle.x=t.targetTouches[0].pageX,this.image.resizeHandle.y=t.targetTouches[0].pageY),this.image.startResize()},startResize:function(){t(document).on("mousemove.redactor-image-resize touchmove.redactor-image-resize",t.proxy(this.image.moveResize,this)),t(document).on("mouseup.redactor-image-resize touchend.redactor-image-resize",t.proxy(this.image.stopResize,this))},moveResize:function(t){t.preventDefault(),t=t.originalEvent||t;var e=this.image.resizeHandle.h;e+=t.targetTouches?t.targetTouches[0].pageY-this.image.resizeHandle.y:t.pageY-this.image.resizeHandle.y;var i=Math.round(e*this.image.resizeHandle.ratio);if(!(50>e||100>i)){var e=Math.round(this.image.resizeHandle.el.width()/this.image.resizeHandle.ratio);this.image.resizeHandle.el.attr({width:i,height:e}),this.image.resizeHandle.el.width(i),this.image.resizeHandle.el.height(e),this.code.sync()}},stopResize:function(){this.handle=!1,t(document).off(".redactor-image-resize"),this.image.hideResize()},onDrag:function(e){return 0!==this.$editor.find("#redactor-image-box").length?(e.preventDefault(),!1):void this.$editor.on("drop.redactor-image-inside-drop",t.proxy(function(){setTimeout(t.proxy(this.image.onDrop,this),1)},this))},onDrop:function(){this.image.fixImageSourceAfterDrop(),this.observe.images(),this.$editor.off("drop.redactor-image-inside-drop"),this.clean.clearUnverified(),this.code.sync()},fixImageSourceAfterDrop:function(){this.$editor.find("img[data-save-url]").each(function(){var e=t(this);e.attr("src",e.attr("data-save-url")),e.removeAttr("data-save-url")})},hideResize:function(e){if(!e||0===t(e.target).closest("#redactor-image-box",this.$editor[0]).length){if(e&&"IMG"==e.target.tagName){
+var i=t(e.target);i.attr("data-save-url",i.attr("src"))}var s=this.$editor.find("#redactor-image-box");0!==s.length&&(t("#redactor-image-editter").remove(),t("#redactor-image-resizer").remove(),s.find("img").css({marginTop:s[0].style.marginTop,marginBottom:s[0].style.marginBottom,marginLeft:s[0].style.marginLeft,marginRight:s[0].style.marginRight}),s.css("margin",""),s.find("img").css("opacity",""),s.replaceWith(function(){return t(this).contents()}),t(document).off("mousedown.redactor-image-resize-hide."+this.uuid),"undefined"!=typeof this.image.resizeHandle&&this.image.resizeHandle.el.attr("rel",this.image.resizeHandle.el.attr("style")),this.code.sync())}},loadResizableControls:function(e,i){if(this.opts.imageResizable&&!this.utils.isMobile()){var s=t('<span id="redactor-image-resizer" data-redactor="verified"></span>');return this.utils.isDesktop()||s.css({width:"15px",height:"15px"}),s.attr("contenteditable",!1),i.append(s),i.append(e),s}return i.append(e),!1},loadEditableControls:function(e){var i=t('<span id="redactor-image-box" data-redactor="verified">');if(i.css("float",e.css("float")).attr("contenteditable",!1),"auto"!=e[0].style.margin?(i.css({marginTop:e[0].style.marginTop,marginBottom:e[0].style.marginBottom,marginLeft:e[0].style.marginLeft,marginRight:e[0].style.marginRight}),e.css("margin","")):i.css({display:"block",margin:"auto"}),e.css("opacity",".5").after(i),this.opts.imageEditable){this.image.editter=t('<span id="redactor-image-editter" data-redactor="verified">'+this.lang.get("edit")+"</span>"),this.image.editter.attr("contenteditable",!1),this.image.editter.on("click",t.proxy(function(){this.image.showEdit(e)},this)),i.append(this.image.editter);var s=this.image.editter.innerWidth();this.image.editter.css("margin-left","-"+s/2+"px")}return this.image.loadResizableControls(e,i)},remove:function(e){var i=t(e),s=i.closest("a",this.$editor[0]),r=i.closest("figure",this.$editor[0]),o=i.parent();0!==t("#redactor-image-box").length&&(o=t("#redactor-image-box").parent());var n;0!==r.length?(n=r.next(),r.remove()):0!==s.length?(o=s.parent(),s.remove()):i.remove(),t("#redactor-image-box").remove(),this.caret.setStart(0!==r.length?n:o),this.core.setCallback("imageDelete",i[0].src,i),this.modal.close(),this.code.sync()},insert:function(e,i,s){if("undefined"!=typeof e.error)return this.modal.close(),this.selection.restore(),void this.core.setCallback("imageUploadError",e);var r;"string"==typeof e?r=t(e).attr("data-redactor-inserted-image","true"):(r=t("<img>"),r.attr("src",e.filelink).attr("data-redactor-inserted-image","true"));var o=r,n=this.utils.isCurrentOrParent("P");if(n&&(o=t("<blockquote />").append(r)),i){this.selection.removeMarkers();var a=this.selection.getMarker();this.insert.nodeToCaretPositionFromPoint(s,a)}else this.modal.close();this.selection.restore(),this.buffer.set(),this.insert.html(this.utils.getOuterHtml(o),!1);var l=this.$editor.find("img[data-redactor-inserted-image=true]").removeAttr("data-redactor-inserted-image");n?l.parent().contents().unwrap().wrap("<p />"):this.opts.linebreaks&&(this.utils.isEmpty(this.code.get())||l.before("<br>"),l.after("<br>")),"string"!=typeof e&&this.core.setCallback("imageUpload",l,e)}}},indent:function(){return{increase:function(){this.utils.browser("msie")||this.$editor.focus(),this.buffer.set(),this.selection.save();var t=this.selection.getBlock();t&&"LI"==t.tagName?this.indent.increaseLists():t===!1&&this.opts.linebreaks?this.indent.increaseText():this.indent.increaseBlocks(),this.selection.restore(),this.code.sync()},increaseLists:function(){document.execCommand("indent"),this.indent.fixEmptyIndent(),this.clean.normalizeLists(),this.clean.clearUnverified()},increaseBlocks:function(){t.each(this.selection.getBlocks(),t.proxy(function(t,e){if("TD"!==e.tagName&&"TH"!==e.tagName){var i=this.utils.getAlignmentElement(e),s=this.utils.normalize(i.css("margin-left"))+this.opts.indentValue;i.css("margin-left",s+"px")}},this))},increaseText:function(){var e=this.selection.wrap("div");t(e).attr("data-tagblock","redactor"),t(e).css("margin-left",this.opts.indentValue+"px")},decrease:function(){this.buffer.set(),this.selection.save();var t=this.selection.getBlock();t&&"LI"==t.tagName?this.indent.decreaseLists():this.indent.decreaseBlocks(),this.selection.restore(),this.code.sync()},decreaseLists:function(){document.execCommand("outdent");var e=this.selection.getCurrent(),i=t(e).closest("li",this.$editor[0]);this.indent.fixEmptyIndent(),this.opts.linebreaks||0!==i.length||(document.execCommand("formatblock",!1,"p"),this.$editor.find("ul, ol, blockquote, p").each(t.proxy(this.utils.removeEmpty,this))),this.clean.clearUnverified()},decreaseBlocks:function(){t.each(this.selection.getBlocks(),t.proxy(function(t,e){var i=this.utils.getAlignmentElement(e),s=this.utils.normalize(i.css("margin-left"))-this.opts.indentValue;0>=s?this.opts.linebreaks&&"undefined"!=typeof i.data("tagblock")?i.replaceWith(i.html()+"<br />"):(i.css("margin-left",""),this.utils.removeEmptyAttr(i,"style")):i.css("margin-left",s+"px")},this))},fixEmptyIndent:function(){var e=this.selection.getBlock();if(this.range.collapsed&&e&&"LI"==e.tagName&&this.utils.isEmpty(t(e).text())){var i=t(e);i.find("span").not(".redactor-selection-marker").contents().unwrap(),i.append("<br>")}}}},inline:function(){return{formatting:function(t){var e,i;"undefined"!=typeof this.formatting[t].style?e="style":"undefined"!=typeof this.formatting[t].class&&(e="class"),e&&(i=this.formatting[t][e]),this.inline.format(this.formatting[t].tag,e,i)},format:function(e,i,s){var r=this.selection.getCurrent();if(!(r&&"TR"===r.tagName||this.utils.isCurrentOrParent("PRE")||this.utils.isCurrentOrParentHeader())){for(var o=["b","bold","i","italic","underline","strikethrough","deleted","superscript","subscript"],n=["strong","strong","em","em","u","del","del","sup","sub"],a=0;a<o.length;a++)e==o[a]&&(e=n[a]);if(this.opts.allowedTags){if(-1==t.inArray(e,this.opts.allowedTags))return}else if(-1!==t.inArray(e,this.opts.deniedTags))return;this.inline.type=i||!1,this.inline.value=s||!1,this.buffer.set(),this.utils.browser("msie")||this.opts.linebreaks||this.$editor.focus(),this.selection.get(),this.range.collapsed?this.inline.formatCollapsed(e):this.inline.formatMultiple(e)}},formatCollapsed:function(e){var i=this.selection.getCurrent(),s=t(i).closest(e+"[data-redactor-tag="+e+"]",this.$editor[0]);if(0!==s.length&&"style"!=this.inline.type&&"SPAN"!=s[0].tagName)return void(this.utils.isEmpty(s.text())?(this.caret.setAfter(s[0]),s.remove(),this.code.sync()):this.utils.isEndOfElement(s)&&this.caret.setAfter(s[0]));var r=t("<"+e+">").attr("data-verified","redactor").attr("data-redactor-tag",e);r.html(this.opts.invisibleSpace),r=this.inline.setFormat(r);var r=this.insert.node(r);this.caret.setEnd(r),this.code.sync()},formatMultiple:function(e){if(this.inline.formatConvert(e),this.selection.save(),document.execCommand("strikethrough"),this.$editor.find("strike").each(t.proxy(function(i,s){var r=t(s);this.inline.formatRemoveSameChildren(r,e);var o;this.inline.type?(o=t("<span>").attr("data-redactor-tag",e).attr("data-verified","redactor"),o=this.inline.setFormat(o)):o=t("<"+e+">").attr("data-redactor-tag",e).attr("data-verified","redactor"),r.replaceWith(o.html(r.contents()));var n=o.parent();if("A"===o[0].tagName&&n&&"U"===n[0].tagName&&o.parent().replaceWith(o),"span"==e&&n&&"SPAN"===n[0].tagName&&"style"===this.inline.type)for(var a=this.inline.value.split(";"),l=0;l<a.length;l++){if(""===a[l])return;var c=a[l].split(":");n.css(c[0],""),this.utils.removeEmptyAttr(n,"style")&&n.replaceWith(n.contents())}},this)),"span"!=e&&this.$editor.find(this.opts.inlineTags.join(", ")).each(t.proxy(function(e,i){var s=t(i);if("U"===i.tagName&&0===i.attributes.length)return void s.replaceWith(s.contents());var r=s.css("text-decoration");"line-through"===r&&(s.css("text-decoration",""),this.utils.removeEmptyAttr(s,"style"))},this)),"del"!=e){var i=this;this.$editor.find("inline").each(function(t,e){i.utils.replaceToTag(e,"del")})}if("u"!=e){var i=this;this.$editor.find("unline").each(function(t,e){i.utils.replaceToTag(e,"u")})}this.selection.restore(),this.code.sync()},formatRemoveSameChildren:function(e,i){var s=this;e.children(i).each(function(){var e=t(this);if(!e.hasClass("redactor-selection-marker"))if("style"==s.inline.type)for(var i=s.inline.value.split(";"),r=0;r<i.length;r++){if(""===i[r])return;var o=i[r].split(":");e.css(o[0],""),s.utils.removeEmptyAttr(e,"style")&&e.replaceWith(e.contents())}else e.contents().unwrap()})},formatConvert:function(e){this.selection.save();var i="";"class"==this.inline.type?i="[data-redactor-class="+this.inline.value+"]":"style"==this.inline.type&&(i='[data-redactor-style="'+this.inline.value+'"]');var s=this;"del"!=e&&this.$editor.find("del").each(function(t,e){s.utils.replaceToTag(e,"inline")}),"u"!=e&&this.$editor.find("u").each(function(t,e){s.utils.replaceToTag(e,"unline")}),"span"!=e&&this.$editor.find(e).each(function(){var e=t(this);e.replaceWith(t("<strike />").html(e.contents()))}),this.$editor.find('[data-redactor-tag="'+e+'"]'+i).each(function(){if(""!==i||"span"!=e||this.tagName.toLowerCase()!=e){var s=t(this);s.replaceWith(t("<strike />").html(s.contents()))}}),this.selection.restore()},setFormat:function(t){switch(this.inline.type){case"class":t.hasClass(this.inline.value)?(t.removeClass(this.inline.value),t.removeAttr("data-redactor-class")):(t.addClass(this.inline.value),t.attr("data-redactor-class",this.inline.value));break;case"style":t[0].style.cssText=this.inline.value,t.attr("data-redactor-style",this.inline.value)}return t},removeStyle:function(){this.buffer.set();var e=this.selection.getCurrent(),i=this.selection.getInlines();if(this.selection.save(),e&&"SPAN"===e.tagName){var s=t(e);s.removeAttr("style"),0===s[0].attributes.length&&s.replaceWith(s.contents())}t.each(i,t.proxy(function(e,i){var s=t(i);-1==t.inArray(i.tagName.toLowerCase(),this.opts.inlineTags)||s.hasClass("redactor-selection-marker")||(s.removeAttr("style"),0===s[0].attributes.length&&s.replaceWith(s.contents()))},this)),this.selection.restore(),this.code.sync()},removeStyleRule:function(e){this.buffer.set();var i=this.selection.getParent(),s=this.selection.getInlines();if(this.selection.save(),i&&"SPAN"===i.tagName){var r=t(i);r.css(e,""),this.utils.removeEmptyAttr(r,"style"),0===r[0].attributes.length&&r.replaceWith(r.contents())}t.each(s,t.proxy(function(i,s){var r=t(s);-1==t.inArray(s.tagName.toLowerCase(),this.opts.inlineTags)||r.hasClass("redactor-selection-marker")||(r.css(e,""),this.utils.removeEmptyAttr(r,"style"),0===r[0].attributes.length&&r.replaceWith(r.contents()))},this)),this.selection.restore(),this.code.sync()},removeFormat:function(){this.buffer.set();var e=this.selection.getCurrent();this.selection.save(),document.execCommand("removeFormat"),e&&"SPAN"===e.tagName&&t(e).replaceWith(t(e).contents()),t.each(this.selection.getNodes(),t.proxy(function(e,i){var s=t(i);-1==t.inArray(i.tagName.toLowerCase(),this.opts.inlineTags)||s.hasClass("redactor-selection-marker")||s.replaceWith(s.contents())},this)),this.selection.restore(),this.code.sync()},toggleClass:function(t){this.inline.format("span","class",t)},toggleStyle:function(t){this.inline.format("span","style",t)}}},insert:function(){return{set:function(e,i){this.placeholder.remove(),e=this.clean.setVerified(e),"undefined"==typeof i&&(e=this.clean.onPaste(e,!1)),this.$editor.html(e),this.selection.remove(),this.focus.setEnd(),this.clean.normalizeLists(),this.code.sync(),this.observe.load(),"undefined"==typeof i&&setTimeout(t.proxy(this.clean.clearUnverified,this),10)},text:function(e){if(this.placeholder.remove(),e=e.toString(),e=t.trim(e),e=this.clean.getPlainText(e,!1),this.$editor.focus(),this.utils.browser("msie"))this.insert.htmlIe(e);else{this.selection.get(),this.range.deleteContents();var i=document.createElement("div");i.innerHTML=e;for(var s,r,o=document.createDocumentFragment();s=i.firstChild;)r=o.appendChild(s);if(this.range.insertNode(o),r){var n=this.range.cloneRange();n.setStartAfter(r),n.collapse(!0),this.sel.removeAllRanges(),this.sel.addRange(n)}}this.code.sync(),this.clean.clearUnverified()},htmlWithoutClean:function(t){this.insert.html(t,!1)},html:function(e,i){this.placeholder.remove(),"undefined"==typeof i&&(i=!0),this.opts.linebreaks||this.$editor.focus(),e=this.clean.setVerified(e),i&&(e=this.clean.onPaste(e)),this.utils.browser("msie")?this.insert.htmlIe(e):(this.clean.singleLine?this.insert.execHtml(e):document.execCommand("insertHTML",!1,e),this.insert.htmlFixMozilla()),this.clean.normalizeLists(),this.opts.linebreaks||this.$editor.find("p").each(t.proxy(this.utils.removeEmpty,this)),this.code.sync(),this.observe.load(),i&&this.clean.clearUnverified()},htmlFixMozilla:function(){if(this.utils.browser("mozilla")){var e=t(this.selection.getBlock()).next();e.length>0&&"P"==e[0].tagName&&""===e.html()&&e.remove()}},htmlIe:function(e){if(this.utils.isIe11()){var i=this.utils.isCurrentOrParent("P"),s=t("<div>").append(e),r=s.contents().is("p, :header, dl, ul, ol, div, table, td, blockquote, pre, address, section, header, footer, aside, article");return void(i&&r?this.insert.ie11FixInserting(i,e):this.insert.ie11PasteFrag(e))}document.selection.createRange().pasteHTML(e)},execHtml:function(t){t=this.clean.setVerified(t),this.selection.get(),this.range.deleteContents();var e=document.createElement("div");e.innerHTML=t;for(var i,s,r=document.createDocumentFragment();i=e.firstChild;)s=r.appendChild(i);this.range.insertNode(r),this.range.collapse(!0),this.caret.setAfter(s)},node:function(e,i){e=e[0]||e;var s=this.caret.getOffset(),r=this.utils.getOuterHtml(e);return r=this.clean.setVerified(r),null!==r.match(/</g)&&(e=t(r)[0]),this.selection.get(),i!==!1&&this.range.deleteContents(),this.range.insertNode(e),this.range.collapse(!1),this.selection.addRange(),this.caret.setOffset(s),e},nodeToPoint:function(t,e,i){t=t[0]||t,this.selection.get();var s;if(document.caretPositionFromPoint){var r=document.caretPositionFromPoint(e,i);this.range.setStart(r.offsetNode,r.offset),this.range.collapse(!0),this.range.insertNode(t)}else if(document.caretRangeFromPoint)s=document.caretRangeFromPoint(e,i),s.insertNode(t);else if("undefined"!=typeof document.body.createTextRange){s=document.body.createTextRange(),s.moveToPoint(e,i);var o=s.duplicate();o.moveToPoint(e,i),s.setEndPoint("EndToEnd",o),s.select()}},nodeToCaretPositionFromPoint:function(t,e){e=e[0]||e;var i,s=t.clientX,r=t.clientY;if(document.caretPositionFromPoint){var o=document.caretPositionFromPoint(s,r),n=document.getSelection();i=n.getRangeAt(0),i.setStart(o.offsetNode,o.offset),i.collapse(!0),i.insertNode(e)}else if(document.caretRangeFromPoint)i=document.caretRangeFromPoint(s,r),i.insertNode(e);else if("undefined"!=typeof document.body.createTextRange){i=document.body.createTextRange(),i.moveToPoint(s,r);var a=i.duplicate();a.moveToPoint(s,r),i.setEndPoint("EndToEnd",a),i.select()}},ie11FixInserting:function(e,i){var s=document.createElement("span");s.className="redactor-ie-paste",this.insert.node(s);var r=t(e).html();r="<p>"+r.replace(/<span class="redactor-ie-paste"><\/span>/gi,"</p>"+i+"<p>")+"</p>",r=r.replace(/<p><\/p>/gi,""),t(e).replaceWith(r)},ie11PasteFrag:function(t){this.selection.get(),this.range.deleteContents();var e=document.createElement("div");e.innerHTML=t;for(var i,s,r=document.createDocumentFragment();i=e.firstChild;)s=r.appendChild(i);this.range.insertNode(r),this.range.collapse(!1),this.selection.addRange()}}},keydown:function(){return{init:function(e){if(!this.rtePaste){var i=e.which,s=i>=37&&40>=i;this.keydown.ctrl=e.ctrlKey||e.metaKey,this.keydown.current=this.selection.getCurrent(),this.keydown.parent=this.selection.getParent(),this.keydown.block=this.selection.getBlock(),this.keydown.pre=this.utils.isTag(this.keydown.current,"pre"),this.keydown.blockquote=this.utils.isTag(this.keydown.current,"blockquote"),this.keydown.figcaption=this.utils.isTag(this.keydown.current,"figcaption"),this.shortcuts.init(e,i),this.utils.isDesktop()&&(this.keydown.checkEvents(s,i),this.keydown.setupBuffer(e,i)),this.keydown.addArrowsEvent(s),this.keydown.setupSelectAll(e,i);var r=this.core.setCallback("keydown",e);if(r===!1)return e.preventDefault(),!1;if(this.opts.enterKey&&(this.utils.browser("msie")||this.utils.browser("mozilla"))&&(i===this.keyCode.DOWN||i===this.keyCode.RIGHT)){var o=!1,n=!1;if(this.keydown.block&&"TD"===this.keydown.block.tagName&&(n=t(this.keydown.block).closest("table",this.$editor[0])),n&&n.find("td").last()[0]===this.keydown.block&&(o=!0),this.utils.isEndOfElement()&&o){var a=t(this.opts.emptyHtml);n.after(a),this.caret.setStart(a)}}if(this.opts.enterKey&&i===this.keyCode.DOWN&&this.keydown.onArrowDown(),!this.opts.enterKey&&i===this.keyCode.ENTER)return e.preventDefault(),void(this.range.collapsed||this.range.deleteContents());if(i==this.keyCode.ENTER&&!e.shiftKey&&!e.ctrlKey&&!e.metaKey){var l=this.core.setCallback("enter",e);if(l===!1)return e.preventDefault(),!1;if(this.keydown.blockquote&&this.keydown.exitFromBlockquote(e)===!0)return!1;var c,h;if(this.keydown.pre)return this.keydown.insertNewLine(e);if(this.keydown.blockquote||this.keydown.figcaption)return c=this.selection.getCurrent(),h=t(c).next(),0!==h.length&&"BR"==h[0].tagName?this.keydown.insertBreakLine(e):this.utils.isEndOfElement()&&c&&"SPAN"!=c?this.keydown.insertDblBreakLine(e):this.keydown.insertBreakLine(e);if(this.opts.linebreaks&&!this.keydown.block)return c=this.selection.getCurrent(),h=t(this.keydown.current).next(),0!==h.length&&"BR"==h[0].tagName?this.keydown.insertBreakLine(e):c!==!1&&t(c).hasClass("redactor-invisible-space")?(this.caret.setAfter(c),t(c).contents().unwrap(),this.keydown.insertDblBreakLine(e)):this.utils.isEndOfEditor()?this.keydown.insertDblBreakLine(e):this.keydown.insertBreakLine(0===h.length&&c===!1&&"undefined"!=typeof h.context?e:e);if(this.opts.linebreaks&&this.keydown.block)setTimeout(t.proxy(this.keydown.replaceDivToBreakLine,this),1);else if(!this.opts.linebreaks&&this.keydown.block){if(setTimeout(t.proxy(this.keydown.replaceDivToParagraph,this),1),"LI"===this.keydown.block.tagName){c=this.selection.getCurrent();var d=t(c).closest("li",this.$editor[0]),u=d.closest("ul,ol",this.$editor[0]);if(0!==d.length&&this.utils.isEmpty(d.html())&&0===u.next().length&&this.utils.isEmpty(u.find("li").last().html())){u.find("li").last().remove();var a=t(this.opts.emptyHtml);return u.after(a),this.caret.setStart(a),!1}}else if("P"===this.keydown.block.tagName&&"LI"===this.keydown.block.parentNode.tagName){var p=this.keydown.block;if(null===p.nextElementSibling&&this.utils.isEmpty(p.innerHTML)){var f=p.parentNode;if(null===p.previousElementSibling){var g=f.parentNode;g.removeChild(f);var a=t(this.opts.emptyHtml)[0];return g.parentNode.insertBefore(a,g.nextElementSibling),this.caret.setStart(a),!1}f.removeChild(p);var a=t("<li>"+this.opts.emptyHtml+"</li>")[0];return f.parentNode.insertBefore(a,f.nextElementSibling),this.caret.setStart(a.children[0]),!1}}}else if(!this.opts.linebreaks&&!this.keydown.block)return this.keydown.insertParagraph(e)}if(i===this.keyCode.ENTER&&(e.ctrlKey||e.shiftKey))return this.keydown.onShiftEnter(e);if(i===this.keyCode.TAB||e.metaKey&&221===i||e.metaKey&&219===i)return this.keydown.onTab(e,i);if(i===this.keyCode.BACKSPACE||i===this.keyCode.DELETE){var m=this.selection.getNodes();if(m)for(var v,b=m.length,y=0;b>y;y++){var k=t(m[y]).children("img");if(0!==k.length){var w=this;t.each(k,function(e,i){var s=t(i);"none"==s.css("float")&&(w.core.setCallback("imageDelete",i.src,s),v=i)})}else"IMG"==m[y].tagName&&v!=m[y]&&(this.core.setCallback("imageDelete",m[y].src,t(m[y])),v=m[y])}}if(i===this.keyCode.BACKSPACE){var x=this.selection.getBlock(),$="0px"!==t(x).css("margin-left");if(x&&$&&this.range.collapsed&&this.utils.isStartOfElement())return this.indent.decrease(),void e.preventDefault();if(this.utils.browser("mozilla")){var C=this.selection.getPrev(),T=t(C).prev()[0];C&&"HR"===C.tagName&&t(C).remove(),T&&"HR"===T.tagName&&t(T).remove()}this.keydown.removeInvisibleSpace(),this.keydown.removeEmptyListInTable(e)}this.code.sync()}},checkEvents:function(t,e){t||"click"!=this.core.getEvent()&&"arrow"!=this.core.getEvent()||(this.core.addEvent(!1),this.keydown.checkKeyEvents(e)&&this.buffer.set())},checkKeyEvents:function(e){var i=this.keyCode,s=[i.BACKSPACE,i.DELETE,i.ENTER,i.ESC,i.TAB,i.CTRL,i.META,i.ALT,i.SHIFT];return-1==t.inArray(e,s)?!0:!1},addArrowsEvent:function(t){return t?"click"==this.core.getEvent()||"arrow"==this.core.getEvent()?void this.core.addEvent(!1):void this.core.addEvent("arrow"):void 0},setupBuffer:function(t,e){return this.keydown.ctrl&&90===e&&!t.shiftKey&&!t.altKey&&this.opts.buffer.length?(t.preventDefault(),void this.buffer.undo()):this.keydown.ctrl&&90===e&&t.shiftKey&&!t.altKey&&0!==this.opts.rebuffer.length?(t.preventDefault(),void this.buffer.redo()):void(this.keydown.ctrl||(e==this.keyCode.BACKSPACE||e==this.keyCode.DELETE||e==this.keyCode.ENTER&&!t.ctrlKey&&!t.shiftKey)&&this.buffer.set())},setupSelectAll:function(t,e){this.keydown.ctrl&&65===e?this.utils.enableSelectAll():e==this.keyCode.LEFT_WIN||this.keydown.ctrl||this.utils.disableSelectAll()},onArrowDown:function(){for(var t=[this.keydown.blockquote,this.keydown.pre,this.keydown.figcaption],e=0;e<t.length;e++)if(t[e])return this.keydown.insertAfterLastElement(t[e]),!1},onShiftEnter:function(t){return this.buffer.set(),this.utils.isEndOfElement()?this.keydown.insertDblBreakLine(t):this.keydown.insertBreakLine(t)},onTab:function(t,e){if(!this.opts.tabKey)return!0;if(this.utils.isEmpty(this.code.get())&&this.opts.tabAsSpaces===!1)return!0;t.preventDefault();var i;return this.keydown.pre&&!t.shiftKey?(i=document.createTextNode(this.opts.preSpaces?Array(this.opts.preSpaces+1).join(" "):"       "),this.insert.node(i),this.code.sync()):this.opts.tabAsSpaces!==!1?(i=document.createTextNode(Array(this.opts.tabAsSpaces+1).join(" ")),this.insert.node(i),this.code.sync()):t.metaKey&&219===e?this.indent.decrease():t.metaKey&&221===e?this.indent.increase():t.shiftKey?this.indent.decrease():this.indent.increase(),!1},replaceDivToBreakLine:function(){var e=this.selection.getBlock(),i=e.innerHTML.replace(/<br\s?\/?>/gi,"");if(("DIV"===e.tagName||"P"===e.tagName)&&""===i&&!t(e).hasClass("redactor-editor")){var s=document.createElement("br");return t(e).replaceWith(s),this.caret.setBefore(s),this.code.sync(),!1}},replaceDivToParagraph:function(){var e=this.selection.getBlock(),i=e.innerHTML.replace(/<br\s?\/?>/gi,"");if("DIV"===e.tagName&&this.utils.isEmpty(i)&&!t(e).hasClass("redactor-editor")){var s=document.createElement("p");return s.innerHTML=this.opts.invisibleSpace,t(e).replaceWith(s),this.caret.setStart(s),this.code.sync(),!1}this.opts.cleanStyleOnEnter&&"P"==e.tagName&&t(e).removeAttr("class").removeAttr("style")},insertParagraph:function(t){t.preventDefault(),this.selection.get();var e=document.createElement("p");return e.innerHTML=this.opts.invisibleSpace,this.range.deleteContents(),this.range.insertNode(e),this.caret.setStart(e),this.code.sync(),!1},exitFromBlockquote:function(e){if(this.utils.isEndOfElement()){var i=t.trim(t(this.keydown.block).html());if(-1!=i.search(/(<br\s?\/?>){2}$/i)){if(e.preventDefault(),this.opts.linebreaks){var s=document.createElement("br");t(this.keydown.blockquote).after(s),this.caret.setBefore(s),t(this.keydown.block).html(i.replace(/<br\s?\/?>$/i,""))}else{var r=t(this.opts.emptyHtml);t(this.keydown.blockquote).after(r),this.caret.setStart(r)}return!0}}},insertAfterLastElement:function(e){if(this.utils.isEndOfElement())if(this.buffer.set(),this.opts.linebreaks){var i=t("<div>").append(t.trim(this.$editor.html())).contents(),s=i.last()[0];if("SPAN"==s.tagName&&""===s.innerHTML&&(s=i.prev()[0]),this.utils.getOuterHtml(s)!=this.utils.getOuterHtml(e))return;var r=document.createElement("br");t(e).after(r),this.caret.setAfter(r)}else{if(this.$editor.contents().last()[0]!==e)return;var o=t(this.opts.emptyHtml);t(e).after(o),this.caret.setStart(o)}},insertNewLine:function(t){t.preventDefault();var e=document.createTextNode("\n");return this.selection.get(),this.range.deleteContents(),this.range.insertNode(e),this.caret.setAfter(e),this.code.sync(),!1},insertBreakLine:function(t){return this.keydown.insertBreakLineProcessing(t)},insertDblBreakLine:function(t){return this.keydown.insertBreakLineProcessing(t,!0)},insertBreakLineProcessing:function(e,i){e.stopPropagation(),this.selection.get();var s=document.createElement("br");this.utils.browser("msie")?(this.range.collapse(!1),this.range.setEnd(this.range.endContainer,this.range.endOffset)):this.range.deleteContents(),this.range.insertNode(s);var r=t(s).parent("a");if(r.length>0&&(r.find(s).remove(),r.after(s)),i===!0){var o=t(s).next();if(0!==o.length&&"BR"===o[0].tagName&&this.utils.isEndOfEditor())return this.caret.setAfter(s),this.code.sync(),!1;var n=document.createElement("br");this.range.insertNode(n),this.caret.setAfter(n)}else if(this.utils.browser("msie")){var a=document.createElement("span");a.innerHTML="&#x200b;",t(s).after(a),this.range.setStartAfter(a),this.range.setEndAfter(a),t(a).remove()}else{var l=document.createRange();l.setStartAfter(s),l.collapse(!0);var c=window.getSelection();c.removeAllRanges(),c.addRange(l)}return this.code.sync(),!1},removeInvisibleSpace:function(){var e=t(this.keydown.current);0===e.text().search(/^\u200B$/g)&&e.remove()},removeEmptyListInTable:function(e){var i=t(this.keydown.current),s=t(this.keydown.parent),r=i.closest("td",this.$editor[0]);if(0!==r.length&&i.closest("li",this.$editor[0])&&1===s.children("li").length){if(!this.utils.isEmpty(i.text()))return;e.preventDefault(),i.remove(),s.remove(),this.caret.setStart(r)}}}},keyup:function(){return{init:function(e){if(!this.rtePaste){var i=e.which;this.keyup.current=this.selection.getCurrent(),this.keyup.parent=this.selection.getParent();var s=this.utils.isRedactorParent(t(this.keyup.parent).parent()),r=this.core.setCallback("keyup",e);if(r===!1)return e.preventDefault(),!1;if(!this.opts.linebreaks&&3===this.keyup.current.nodeType&&this.keyup.current.length<=1&&(this.keyup.parent===!1||"BODY"==this.keyup.parent.tagName)&&this.keyup.replaceToParagraph(),!this.opts.linebreaks&&this.utils.isRedactorParent(this.keyup.current)&&"DIV"===this.keyup.current.tagName&&this.keyup.replaceToParagraph(!1),this.opts.linebreaks||!t(this.keyup.parent).hasClass("redactor-invisible-space")||s!==!1&&"BODY"!=s[0].tagName||(t(this.keyup.parent).contents().unwrap(),this.keyup.replaceToParagraph()),this.linkify.isEnabled()&&this.linkify.isKey(i)&&this.linkify.format(),i===this.keyCode.DELETE||i===this.keyCode.BACKSPACE){if(this.utils.browser("mozilla")){var o=t(this.keydown.current).closest("td",this.$editor[0]);if(0!==o.size()&&""!==o.text())return e.preventDefault(),!1}return this.clean.clearUnverified(),this.observe.image?(e.preventDefault(),this.image.hideResize(),this.buffer.set(),this.image.remove(this.observe.image),this.observe.image=!1,!1):(this.$editor.find("p").each(t.proxy(function(e,i){this.utils.removeEmpty(e,t(i).html())},this)),this.opts.linebreaks&&this.keyup.current&&"DIV"==this.keyup.current.tagName&&this.utils.isEmpty(this.keyup.current.innerHTML)&&(t(this.keyup.current).after(this.selection.getMarkerAsHtml()),this.selection.restore(),t(this.keyup.current).remove()),this.keyup.removeEmptyLists(),this.keyup.formatEmpty(e))}}},replaceToParagraph:function(e){var i,s=t(this.keyup.current);i=t("<p>").append(e===!1?s.html():s.clone()),s.replaceWith(i);var r=t(i).next();"undefined"!=typeof r[0]&&"BR"==r[0].tagName&&r.remove(),this.caret.setEnd(i)},removeEmptyLists:function(){var e=function(){var e=t.trim(this.innerHTML).replace(/\/t\/n/g,"");""===e&&t(this).remove()};this.$editor.find("li").each(e),this.$editor.find("ul, ol").each(e)},formatEmpty:function(e){var i=t.trim(this.$editor.html());if(this.utils.isEmpty(i))return e.preventDefault(),this.opts.linebreaks?(this.$editor.html(this.selection.getMarkerAsHtml()),this.selection.restore()):(this.$editor.html(this.opts.emptyHtml),this.focus.setStart()),this.code.sync(),!1}}},lang:function(){return{load:function(){this.opts.curLang=this.opts.langs[this.opts.lang]},get:function(t){return"undefined"!=typeof this.opts.curLang[t]?this.opts.curLang[t]:""}}},line:function(){return{insert:function(){this.buffer.set();var t=this.selection.getBlocks();return t[0]!==!1&&this.line.isExceptLastOrFirst(t)?void(this.utils.browser("msie")||this.$editor.focus()):void(this.utils.browser("msie")?this.line.insertInIe():this.line.insertInOthersBrowsers())},isExceptLastOrFirst:function(e){var i=["li","td","th","blockquote","figcaption","pre","dl","dt","dd"],s=e[0].tagName.toLowerCase(),r=this.selection.getLastBlock();r="undefined"==typeof r?s:r.tagName.toLowerCase();var o=-1!=t.inArray(s,i),n=-1!=t.inArray(r,i);return o&&n||o?!0:void 0},insertInIe:function(){this.utils.saveScroll(),this.buffer.set(),this.insert.node(document.createElement("hr")),this.utils.restoreScroll(),this.code.sync()},insertInOthersBrowsers:function(){this.buffer.set();var t='<p id="redactor-insert-line"><br /></p>';this.opts.linebreaks&&(t='<br id="redactor-insert-line">'),document.execCommand("insertHtml",!1,"<hr>"+t),this.line.setFocus(),this.code.sync()},setFocus:function(){var e=this.$editor.find("#redactor-insert-line"),i=t(e).next()[0],s=i;this.utils.browser("mozilla")&&i&&""===i.innerHTML&&(s=t(i).next()[0],t(i).remove()),s?(e.remove(),this.opts.linebreaks||(this.$editor.focus(),this.line.setStart(s))):(e.removeAttr("id"),this.line.setStart(e[0]))},setStart:function(t){if("undefined"!=typeof t){var e=document.createTextNode("​");this.selection.get(),this.range.setStart(t,0),this.range.insertNode(e),this.range.collapse(!0),this.selection.addRange()}}}},link:function(){return{show:function(e){"undefined"!=typeof e&&e.preventDefault&&e.preventDefault(),this.observe.isCurrent("a")?this.modal.load("link",this.lang.get("link_edit"),600):this.modal.load("link",this.lang.get("link_insert"),600),this.modal.createCancelButton();var i=this.lang.get(this.observe.isCurrent("a")?"edit":"insert");this.link.buttonInsert=this.modal.createActionButton(i),this.selection.get(),this.link.getData(),this.link.cleanUrl(),"_blank"==this.link.target&&t("#redactor-link-blank").prop("checked",!0),this.link.$inputUrl=t("#redactor-link-url"),this.link.$inputText=t("#redactor-link-url-text"),this.link.$inputText.val(this.link.text),this.link.$inputUrl.val(this.link.url),this.link.buttonInsert.on("click",t.proxy(this.link.insert,this)),t(".redactor-link-tooltip").remove(),this.selection.save(),this.modal.show(),this.link.$inputUrl.focus()},cleanUrl:function(){var t=self.location.href.replace(/\/$/i,"");if("undefined"!=typeof this.link.url&&(this.link.url=this.link.url.replace(t,""),this.link.url=this.link.url.replace(/^\/#/,"#"),this.link.url=this.link.url.replace("mailto:",""),!this.opts.linkProtocol)){var e=new RegExp("^(http|ftp|https)://"+self.location.host,"i");this.link.url=this.link.url.replace(e,"")}},getData:function(){this.link.$node=!1;var e=t(this.selection.getCurrent()).closest("a",this.$editor[0]);0!==e.length&&"A"===e[0].tagName?(this.link.$node=e,this.link.url=e.attr("href"),this.link.text=e.text(),this.link.target=e.attr("target")):(this.link.text=this.sel.toString(),this.link.url="",this.link.target="")},insert:function(){this.placeholder.remove();var e="",i=this.link.$inputUrl.val(),s=this.link.$inputText.val().replace(/(<([^>]+)>)/gi,"");if(""===t.trim(i))return void this.link.$inputUrl.addClass("redactor-input-error").on("keyup",function(){t(this).removeClass("redactor-input-error"),t(this).off("keyup")});if(-1!=i.search("@")&&/(http|ftp|https):\/\//i.test(i)===!1)i=i.replace("mailto:",""),i="mailto:"+i;else if(0!==i.search("#")){t("#redactor-link-blank").prop("checked")&&(e="_blank");var r="((xn--)?[a-z0-9]+(-[a-z0-9]+)*\\.)+[a-z]{2,}",o=new RegExp("^(http|ftp|https)://"+r,"i"),n=new RegExp("^"+r,"i"),a=new RegExp(".(html|php)$","i");
 
-       http://imperavi.com/redactor/
-
-       Copyright (c) 2009-2015, Imperavi LLC.
-       License: http://imperavi.com/redactor/license/
-
-       Usage: $('#content').redactor();
-*/
-eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('(C($){\'lC lA\';if(!gz.5n.a4){gz.5n.a4=C(gy){E fn=q;F C(){F fn.8n(gy)}}}E 2H=0;$.fn.I=C(47){E 2L=[];E gx=8Q.5n.dn.64(iY,1);if(1s 47===\'70\'){q.1u(C(){E 6E=$.1f(q,\'I\');E 1C;if(47.3J(/\\./)!=\'-1\'){1C=47.4A(\'.\');if(1s 6E[1C[0]]!=\'1z\'){1C=6E[1C[0]][1C[1]]}}O{1C=6E[47]}if(1s 6E!==\'1z\'&&$.5K(1C)){E 9X=1C.8n(6E,gx);if(9X!==1z&&9X!==6E){2L.2N(9X)}}O{$.6N(\'lX m1 9V "\'+47+\'" 2D 3Y\')}})}O{q.1u(C(){$.1f(q,\'I\',{});$.1f(q,\'I\',3Y(q,47))})}if(2L.12===0)F q;O if(2L.12===1)F 2L[0];O F 2L};C 3Y(el,47){F 2a 3Y.5n.3Q(el,47)}$.3Y=3Y;$.3Y.m0=\'10.2.5\';$.3Y.d5=[\'2Z\',\'3n\',\'Q\',\'28\',\'2f\',\'1v\',\'1S\',\'1x\',\'1e\',\'1W\',\'1n\',\'1Z\',\'2p\',\'M\',\'3A\',\'26\',\'1Y\',\'1D\',\'2s\',\'1H\',\'3L\',\'V\',\'2A\',\'2d\',\'1b\',\'1R\',\'2X\',\'5o\',\'3i\',\'5F\',\'K\',\'6a\',\'2I\',\'1I\',\'1A\',\'1w\',\'L\'];$.3Y.G={1H:\'en\',dc:\'lZ\',92:N,2p:N,g0:N,3i:N,5W:1q,6G:N,ae:N,b3:N,1K:N,6q:1q,2X:1q,eE:N,aP:1q,k2:1q,hY:1q,hO:N,3n:N,d4:N,9a:60,cZ:N,bi:N,iW:1q,5a:\'9n\',hR:N,ec:50,ca:1q,hI:1q,hL:1q,8C:\'lQ\',cO:1q,7R:4m,jU:\'1Z\',lI:N,ge:1q,7N:4m,jS:\'1Z\',gh:1q,86:N,ax:1q,ek:1q,e9:1q,9q:1q,72:4,b7:N,et:1q,9w:N,1A:1q,jD:1q,6F:1k,6L:0,aI:N,jr:N,4D:1q,4i:[\'B\',\'30\',\'4n\',\'4h\',\'5S\',\'5q\',\'5u\',\'7n\',\'3A\',\'M\',\'1Z\',\'V\',\'2Z\',\'aO\'],dQ:[],e8:[],30:[\'p\',\'29\',\'2F\',\'h1\',\'h2\',\'h3\',\'h4\',\'h5\',\'h6\'],cv:N,2I:1q,4c:[\'3W\',\'1p\'],4s:N,co:[\'3V\',\'1j\',\'2F\',\'6k\',\'3k\',\'ol\',\'h1\',\'h2\',\'h3\',\'h4\',\'h5\',\'h6\',\'dl\',\'29\',\'80\',\'dW\',\'4d\',\'75\',\'cc\',\'eS\',\'fo\',\'43\',\'1p\',\'3W\',\'4J\',\'7a\',\'3G\',\'2y\',\'1v\',\'41\',\'kh\',\'iZ\',\'lL\',\'hr\',\'j1\',\'mh\',\'mk\',\'mo\',\'6t\',\'me\',\'m8\',\'ma\',\'p\'],6v:N,5w:[[\'7b\',\'4l\'],[\'b\',\'5d\']],5x:[[\'3O-7W:\\\\s?4n\',"5d"],[\'3O-1p:\\\\s?4h\',"em"],[\'1g-7e:\\\\s?5r\',"u"],[\'1g-7e:\\\\s?3L-eB\',\'4l\']],5s:N,1L:N,52:N,6U:[\'1i\'],3T:[\'p\'],aN:[\'5S\',\'4h\',\'4n\',\'5r\',\'5q\',\'5u\',\'l8\',\'la\',\'lv\',\'9B\'],cj:{b:\'4n\',5d:\'4n\',i:\'4h\',em:\'4h\',4l:\'5S\',7b:\'5S\',3k:\'5q\',ol:\'5u\',u:\'5r\'},6a:{\'4a+6P+m, 5c+6P+m\':{1C:\'26.e1\'},\'4a+b, 5c+b\':{1C:\'26.3a\',6d:[\'4n\']},\'4a+i, 5c+i\':{1C:\'26.3a\',6d:[\'4h\']},\'4a+h, 5c+h\':{1C:\'26.3a\',6d:[\'eZ\']},\'4a+l, 5c+l\':{1C:\'26.3a\',6d:[\'fc\']},\'4a+k, 5c+k\':{1C:\'V.2R\'},\'4a+6P+7\':{1C:\'2d.3j\',6d:[\'5u\']},\'4a+6P+8\':{1C:\'2d.3j\',6d:[\'5q\']}},gV:N,28:[],8M:[],5V:\'<p>&#bL;</p>\',5Z:\'&#bL;\',jX:[\'M/gR\',\'M/lu\',\'M/gU\'],9M:20,c7:[\'a\',\'1M\',\'b\',\'5d\',\'7j\',\'7i\',\'i\',\'em\',\'u\',\'95\',\'7b\',\'4l\',\'9d\',\'3k\',\'ol\',\'li\'],4M:[\'5d\',\'b\',\'u\',\'em\',\'i\',\'1e\',\'4l\',\'lj\',\'az\',\'ay\',\'7i\',\'7j\',\'85\',\'E\',\'9d\',\'95\'],9y:[\'P\',\'cJ\',\'cs\',\'c8\',\'c3\',\'c6\',\'bM\',\'ml\',\'nH\',\'mr\',\'8a\',\'6u\',\'aL\',\'nK\',\'hS\',\'nO\',\'nt\',\'nR\',\'o7\',\'o8\',\'oi\'],8E:[\'9J\',\'8B\',\'8h\',\'5L\'],bO:N,1R:{7H:[]},kv:{en:{B:\'og\',6S:\'6K gm\',M:\'6K gn\',3V:\'dC\',V:\'dN\',b2:\'6K V\',e6:\'gG V\',6J:\'of\',30:\'nU\',iB:\'nZ 1g\',dp:\'o4\',1e:\'gl\',iC:\'8i 1\',iL:\'8i 2\',iM:\'8i 3\',kd:\'8i 4\',jt:\'8i 5\',4n:\'o3\',4h:\'mL\',mH:\'mI gB\',mN:\'mQ gB\',5q:\'mP gE\',5u:\'mF gE\',7n:\'mu\',3A:\'mz\',jf:\'mE\',1Y:\'6K\',3o:\'mD\',hF:\'9g\',mC:\'6K dC\',mT:\'9s dr mU\',nd:\'9s dr nc\',na:\'9s dx gv\',nb:\'9s dx go\',ni:\'9g dx\',mZ:\'9g dr\',mY:\'9g dC\',mV:\'mW\',n1:\'n2\',n7:\'9s gw\',nJ:\'9g gw\',1J:\'n3\',ck:\'n5\',5p:\'n6\',2c:\'gv\',4t:\'go\',5m:\'gq\',mX:\'gn n0 dN\',1g:\'n8\',aa:\'n9\',nh:\'cg\',nj:\'gm nm gl or ng/nf dN\',1Z:\'6K ne\',1w:\'mB\',mA:\'my\',gp:\'mt\',ms:\'mv gp\',mx:\'gT 1Z gS\',jO:\'gu 1g gs gr 2c\',jJ:\'gq 1g\',jH:\'gu 1g gs gr 4t\',jF:\'mO 1g\',aO:\'6K mR mS\',5S:\'mM\',ho:\'mJ\',a9:\'mK V in 2a 5t\',5r:\'nn\',2Z:\'no\',6f:\'o1 (o0)\',7F:\'gG\',k8:\'gT 1Z gS or \'}},2A:{4p:{6Q:/5E?:\\/\\/(?:[0-9A-Z-]+\\.)?(?:nY\\.be\\/|6Q\\.aK\\S*[^\\w\\-\\s])([\\w\\-]{11})(?=[^\\w\\-]|$)(?![?=&+%\\w.\\-]*(?:[\'"][^<>]*>|<\\/a>))[?=&+%\\w.-]*/ig,6T:/5E?:\\/\\/(7S\\.)?6T.aK\\/(\\d+)($|\\/)/,M:/((5E?|7S)[^\\s]+\\.)(nT?g|gR|gU)(\\?[^\\s-]+)?/ig,2i:/(5E?:\\/\\/(?:7S\\.|(?!7S))[^\\s\\.]+\\.[^\\s]{2,}|7S\\.[^\\s]+\\.[^\\s]{2,})/ig,}},9r:N};3Y.fn=$.3Y.5n={3r:{83:8,8S:46,nS:38,dm:40,6z:13,kk:32,bG:27,da:9,fB:17,fA:91,ft:16,fu:18,eW:39,nV:37,er:91},3Q:C(el,47){q.$2m=$(el);q.2H=2H++;q.7T=N;q.$5h=N;q.gY(47);q.gX();q.30={};$.nX(q.G.8E,q.G.9y);q.fk=2a 2n(\'^(\'+q.G.8E.31(\'|\')+\')$\',\'i\');q.1I.kU();if(q.G.4c!==N){E 2e=[\'B\',\'dG\',\'V\',\'3f\',\'5c\',\'nW\'];2D(E i=0;i<2e.12;i++){q.G.4c.2N(2e[i])}}q.1H.2K();$.7h(q.G.6a,q.G.gV);q.1W.2r(\'2b\');q.2b=1q;q.2f.fG()},gY:C(47){q.G=$.7h({},$.7h(1q,{},$.3Y.G),q.$2m.1f(),47)},dg:C(43){F kD.o6(43).dO(C(aD){F 1s 43[aD]==\'C\'})},gX:C(){E 2q=$.3Y.d5.12;2D(E i=0;i<2q;i++){q.gW($.3Y.d5[i])}},gW:C(6H){if(1s q[6H]==\'1z\')F;q[6H]=q[6H]();E 6h=q.dg(q[6H]);E 2q=6h.12;2D(E z=0;z<2q;z++){q[6H][6h[z]]=q[6H][6h[z]].a4(q)}},2Z:C(){F{2c:C(){q.2Z.1U(\'\')},4t:C(){q.2Z.1U(\'4t\')},5m:C(){q.2Z.1U(\'5m\')},9B:C(){q.2Z.1U(\'9B\')},1U:C(1m){if(!q.L.1P(\'2G\')&&!q.G.1K){q.$T.2p()}q.2Z.21=q.K.44();q.2Z.1m=1m;q.28.1U();q.K.3o();if(q.2Z.gJ()){q.2Z.gQ()}O{q.2Z.gP()}q.K.3e();q.1e.1T()},gQ:C(){E 4N=q.K.6e(\'1j\');$(4N).1c(\'1f-8u\',\'I\').1O(\'1g-5f\',q.2Z.1m)},gP:C(){$.1u(q.2Z.21,$.1d(C(i,el){E $el=q.L.aS(el);if(!$el)F;if(q.2Z.gI($el)){q.2Z.gH($el)}O{q.2Z.gK($el)}},q))},gJ:C(){F(q.G.1K&&q.2Z.21[0]===N)},gI:C($el){F(q.2Z.1m===\'\'&&1s($el.1f(\'8u\'))!==\'1z\')},gH:C($el){$el.2x($el.B())},gK:C($el){$el.1O(\'1g-5f\',q.2Z.1m);q.L.5C($el,\'1p\')}}},3n:C(){F{B:N,aT:C(){if(!q.G.3n)F;q.3n.1y=(q.G.d4)?q.G.d4:q.$2y.1c(\'1y\');if(q.G.cZ)F;q.9a=o9(q.3n.2K,q.G.9a*oa)},hj:C(){if(!q.G.cZ)F;q.3n.2K()},2K:C(){if(!q.G.3n)F;q.3n.4D=q.1e.1a();if(q.3n.B===q.3n.4D)F;E 1f={};1f[\'1y\']=q.3n.1y;1f[q.3n.1y]=q.3n.4D;1f=q.3n.6A(1f);E gL=$.nQ({2i:q.G.3n,1m:\'ny\',1f:1f});gL.nz(q.3n.gO)},6A:C(1f){if(q.G.bi===N||1s q.G.bi!==\'43\'){F 1f}$.1u(q.G.bi,$.1d(C(k,v){if(v!==4m&&v.4o().4L(\'#\')===0)v=$(v).2L();1f[k]=v},q));F 1f},gO:C(1f){E 2S;4U{2S=$.iO(1f)}56(e){2S=1f}E gN=(1s 2S.6N==\'1z\')?\'3n\':\'nw\';q.1W.2r(gN,q.3n.1y,2S);q.3n.B=q.3n.4D},nq:C(){hq(q.9a)}}},Q:C(){F{30:C(1y){q.Q.bp=N;E 1m,1F;if(1s q.30[1y].1f!=\'1z\')1m=\'1f\';O if(1s q.30[1y].1c!=\'1z\')1m=\'1c\';O if(1s q.30[1y][\'1G\']!=\'1z\')1m=\'1G\';if(1s q.30[1y].9e!=\'1z\'){q.Q.bp=1q}if(1m)1F=q.30[1y][1m];q.Q.3a(q.30[1y].Y,1m,1F)},3a:C(Y,1m,1F){if(Y==\'dp\')Y=\'29\';E gM=[\'p\',\'2F\',\'29\',\'h1\',\'h2\',\'h3\',\'h4\',\'h5\',\'h6\'];if($.3t(Y,gM)==-1)F;q.Q.8K=(Y==\'2F\'||Y.3J(/h[1-6]/i)!=-1);if(!q.L.1P(\'2G\'))q.$T.2p();E B=$.3h(q.$T.B());q.Q.3z=q.L.3z(B);if(q.L.1P(\'4b\')&&!q.2p.cI()){if(q.Q.3z){E $3I;if(!q.G.1K){$3I=q.$T.3R().3I();q.1S.3H($3I)}}}q.Q.21=q.K.44();q.Q.7q=q.Q.21.12;q.Q.1m=1m;q.Q.1F=1F;q.28.1U();q.K.3o();q.Q.1U(Y);q.K.3e();q.1e.1T();q.1R.2K()},1U:C(Y){q.K.1a();q.Q.6g=q.14.fR.1o;if(q.14.4X){q.Q.gk(Y)}O{q.Q.gj(Y)}},gk:C(Y){if(q.G.1K&&q.Q.3z&&Y!=\'p\'){E R=1k.3B(Y);q.$T.B(R);q.1S.3H(R);F}E Q=q.Q.21[0];if(Q===N)F;if(Q.1o==\'5L\'){if(Y!=\'29\')F;q.Q.bE();F}E bf=(q.Q.6g==\'6u\'||q.Q.6g==\'cr\');if(bf&&!q.G.1K){1k.3Z(\'9S\',N,\'<\'+Y+\'>\');Q=q.K.49();q.Q.3j($(Q))}O if(Q.1o.3g()!=Y){if(q.G.1K&&Y==\'p\'){$(Q).1E(\'<br>\');q.L.5T(Q)}O{E $1X=q.L.4x(Q,Y);q.Q.3j($1X);if(Y!=\'p\'&&Y!=\'29\')$1X.1h(\'1M\').1t();if(q.Q.8K)q.L.4V($1X);if(Y==\'p\'||q.Q.d2)$1X.1h(\'p\').25().48();q.Q.dj($1X)}}O if(Y==\'29\'&&Q.1o.3g()==Y){if(q.G.1K){$(Q).1E(\'<br>\');q.L.5T(Q)}O{E $el=q.L.4x(Q,\'p\');q.Q.3j($el)}}O if(Q.1o.3g()==Y){q.Q.3j($(Q))}if(1s q.Q.1m==\'1z\'&&1s q.Q.1F==\'1z\'){$(Q).1L(\'1G\').1L(\'1p\')}},gj:C(Y){E Q=q.Q.21[0];E bf=(q.Q.6g==\'6u\'||q.Q.6g==\'cr\');if(Q!==N&&q.Q.7q===1){if(Q.1o.3g()==Y&&Y==\'29\'){if(q.G.1K){$(Q).1E(\'<br>\');q.L.5T(Q)}O{E $el=q.L.4x(Q,\'p\');q.Q.3j($el)}}O if(Q.1o==\'5L\'){if(Y!=\'29\')F;q.Q.bE()}O if(q.Q.6g==\'aL\'){q.Q.fP(Y)}O if(q.G.1K&&((bf)||(q.14.fR!=Q))){q.Q.bF(Y)}O{if(q.G.1K&&Y==\'p\'){$(Q).6C(\'<br>\').1E(\'<br>\');q.L.5T(Q)}O if(Q.1o===\'6u\'){q.Q.bF(Y)}O{E $1X=q.L.4x(Q,Y);q.Q.3j($1X);if(q.Q.8K)q.L.4V($1X);if(Y==\'p\'||q.Q.d2)$1X.1h(\'p\').25().48()}}}O{if(q.G.1K||Y!=\'p\'){if(Y==\'29\'){E d1=0;2D(E i=0;i<q.Q.7q;i++){if(q.Q.21[i].1o==\'aL\')d1++}if(d1==q.Q.7q){$.1u(q.Q.21,$.1d(C(i,s){E $1X=N;if(q.G.1K){$(s).6C(\'<br>\').1E(\'<br>\');$1X=q.L.5T(s)}O{$1X=q.L.4x(s,\'p\')}if($1X&&1s q.Q.1m==\'1z\'&&1s q.Q.1F==\'1z\'){$1X.1L(\'1G\').1L(\'1p\')}},q));F}}q.Q.bF(Y)}O{E 8N=0;E 5y=N;if(q.Q.1m==\'1G\'){5y=\'3j\';8N=$(q.Q.21).dO(\'.\'+q.Q.1F).12;if(q.Q.7q==8N)5y=\'3j\';O if(q.Q.7q>8N)5y=\'1U\';O if(8N===0)5y=\'1U\'}E 8Z=[\'3k\',\'ol\',\'li\',\'2Y\',\'6s\',\'dl\',\'dt\',\'dd\'];$.1u(q.Q.21,$.1d(C(i,s){if($.3t(s.1o.3g(),8Z)!=-1)F;E $1X=q.L.4x(s,Y);if(5y){if(5y==\'3j\')q.Q.3j($1X);O if(5y==\'1t\')q.Q.1t($1X);O if(5y==\'1U\')q.Q.fQ($1X)}O q.Q.3j($1X);if(Y!=\'p\'&&Y!=\'29\')$1X.1h(\'1M\').1t();if(q.Q.8K)q.L.4V($1X);if(Y==\'p\'||q.Q.d2)$1X.1h(\'p\').25().48();if(1s q.Q.1m==\'1z\'&&1s q.Q.1F==\'1z\'){$1X.1L(\'1G\').1L(\'1p\')}},q))}}},fQ:C($el){if(q.Q.bp){$el.1L(\'1G\').1L(\'1p\')}if(q.Q.1m==\'1G\'){$el.2g(q.Q.1F);F}O if(q.Q.1m==\'1c\'||q.Q.1m==\'1f\'){$el.1c(q.Q.1F.1y,q.Q.1F.1F);F}},3j:C($el){if(q.Q.bp){$el.1L(\'1G\').1L(\'1p\')}if(q.Q.1m==\'1G\'){$el.7C(q.Q.1F);F}O if(q.Q.1m==\'1c\'||q.Q.1m==\'1f\'){if($el.1c(q.Q.1F.1y)==q.Q.1F.1F){$el.1L(q.Q.1F.1y)}O{$el.1c(q.Q.1F.1y,q.Q.1F.1F)}F}O{$el.1L(\'1p 1G\');F}},1t:C($el){$el.2W(q.Q.1F)},bE:C(){E Q=$(q.Q.21[0]).2o(\'3k, ol\',q.$T[0]);$(Q).1h(\'3k, ol\').25().48();$(Q).1h(\'li\').1E($(\'<br>\')).25().48();E $el=q.L.4x(Q,\'29\');q.Q.3j($el)},fP:C(Y){1k.3Z(\'7n\');1k.3Z(\'9S\',N,Y);q.1x.4r();q.$T.1h(\'p:fT\').1t();E 1X=q.K.49();if(Y!=\'p\'){$(1X).1h(\'1M\').1t()}if(!q.G.1K){q.Q.3j($(1X))}q.$T.1h(\'3k, ol, 6W, 29, p\').1u($.1d(q.L.3T,q));if(q.G.1K&&Y==\'p\'){q.L.5T(1X)}},bF:C(Y){if(q.Q.6g==\'8B\'||q.Q.6g==\'8h\'){if(Y==\'29\'){q.Q.bE()}O{F}}E 1X=q.K.6e(Y);if(1X===N)F;E $1X=$(1X);q.Q.dj($1X);E $fS=$1X.1h(q.G.8E.31(\',\')+\', 2Y, 3V, dE, dF, dI, 6s, 6W\');$fS.25().48();if(Y!=\'p\'&&Y!=\'29\')$1X.1h(\'1M\').1t();$.1u(q.Q.21,$.1d(q.L.3T,q));$1X.1E(q.K.71(2));if(!q.G.1K){q.Q.3j($1X)}q.$T.1h(\'3k, ol, 6W, 29, p\').1u($.1d(q.L.3T,q));$1X.1h(\'29:fT\').1t();if(q.Q.8K){q.L.4V($1X)}if(q.G.1K&&Y==\'p\'){q.L.5T($1X)}if(q.G.1K){E $1N=$1X.1N().1N();if($1N.8b()!=0&&$1N[0].1o===\'5i\'){$1N.1t()}}},dj:C($1X){if($1X.2o(\'3V\',q.$T[0]).12===0)F;if($1X.2o(\'6W\',q.$T[0]).12===0)$1X.6e(\'<6W>\');if($1X.2o(\'2Y\',q.$T[0]).12===0&&$1X.2o(\'6s\').12===0){$1X.6e(\'<2Y>\')}},hd:C(1y,1F){E 21=q.K.44();$(21).1L(\'1f-\'+1y);q.1e.1T()},lq:C(1y,1F){E 21=q.K.44();$(21).1c(\'1f-\'+1y,1F);q.1e.1T()},lr:C(1y,1F){E 21=q.K.44();$.1u(21,C(){if($(q).1c(\'1f-\'+1y)){$(q).1L(\'1f-\'+1y)}O{$(q).1c(\'1f-\'+1y,1F)}})},1L:C(1c,1F){E 21=q.K.44();$(21).1L(1c);q.1e.1T()},ln:C(1c,1F){E 21=q.K.44();$(21).1c(1c,1F);q.1e.1T()},lm:C(1c,1F){E 21=q.K.44();$.1u(21,C(){if($(q).1c(1y)){$(q).1L(1y)}O{$(q).1c(1y,1F)}})},2W:C(3E){E 21=q.K.44();$(21).2W(3E);q.L.5C(21,\'1G\');q.1e.1T()},9o:C(3E){E 21=q.K.44();$(21).2g(3E);q.1e.1T()},7C:C(3E){E 21=q.K.44();$(21).7C(3E);q.1e.1T()}}},28:C(){F{1U:C(1m){if(1s 1m==\'1z\'||1m==\'8P\'){q.28.fV()}O{q.28.fU()}},fV:C(){q.K.3o();q.G.28.2N(q.$T.B());q.K.3e()},fU:C(){q.K.3o();q.G.8M.2N(q.$T.B());q.K.3e()},fN:C(){q.$T.B(q.G.28.fO())},fH:C(){q.$T.B(q.G.8M.fO())},cK:C(){q.G.28.2N(q.$T.B())},8P:C(){if(q.G.28.12===0)F;q.28.1U(\'bC\');q.28.fN();q.K.3e();3w($.1d(q.1R.2K,q),50)},bC:C(){if(q.G.8M.12===0)F;q.28.1U(\'8P\');q.28.fH();q.K.3e();3w($.1d(q.1R.2K,q),50)}}},2f:C(){F{db:N,ag:1q,fG:C(){q.2f.fF();q.2f.fI();q.2f.fM();q.2f.fJ();q.2f.gc()},bA:C(){F(q.$2m[0].1o===\'ls\')},fF:C(){q.$2P=$(\'<1j 1G="I-2P" 9C="lB" />\')},fX:C(){q.$2y=$(\'<2y />\').1c(\'1y\',q.2f.fE())},fE:C(){F((1s(1y)==\'1z\'))?\'dh-\'+q.2H:q.$2m.1c(\'id\')},fI:C(){E 1C=(q.2f.bA())?\'2L\':\'B\';q.dh=$.3h(q.$2m[1C]())},fJ:C(){q.$T.1c({\'5j\':1q,\'gd\':q.G.dc})},fM:C(){E 1C=(q.2f.bA())?\'fL\':\'fK\';q.2f[1C]()},fL:C(){q.$T=$(\'<1j />\');q.$2y=q.$2m;q.$2P.fY(q.$2m).1E(q.$T).1E(q.$2m);q.$T.2g(\'I-T\');q.$2m.3s()},fK:C(){q.$T=q.$2m;q.2f.fX();q.$2P.fY(q.$T).1E(q.$T).1E(q.$2y);q.$T.2g(\'I-T\');q.$2y.3s()},gc:C(){q.1e.1U(q.dh);q.2f.ga();q.2f.gb();if(q.G.5W)F;3w($.1d(q.1e.cF,q),aE)},gb:C(){q.2f.g4();q.2f.g7();q.2f.gg();q.2f.g1();if(q.G.1A){q.G.1A=q.1A.3Q();q.1A.2f()}q.1b.ja();q.2f.92();3w($.1d(q.1R.2K,q),4);q.1W.2r(\'3Q\')},ga:C(){$(q.$2y).1c(\'gd\',q.G.dc);if(q.G.1K)q.$T.2g(\'I-1K\');if(q.G.6G)q.$T.1c(\'6G\',q.G.6G);if(q.G.ae)q.$T.1O(\'ae\',q.G.ae);if(q.G.b3)q.$T.1O(\'b3\',q.G.b3)},g9:C(e){e.2t();if(!q.G.ge||!q.G.gh)F;E 5R=e.aU.5R;q.1w.kf(5R[0],e)},gf:C(e){q.1e.1T();3w(q.1x.4r,1);q.1W.2r(\'4Z\',e)},gg:C(){q.$T.on(\'kb.I lc.I\',C(e){e.2t();e.dK()});q.$T.on(\'4Z.I\',$.1d(C(e){e=e.7L||e;if(3p.aR===1z||!e.aU)F 1q;if(e.aU.5R.12===0){F q.2f.gf(e)}O{q.2f.g9(e)}3w(q.1x.4r,1);q.1W.2r(\'4Z\',e)},q));q.$T.on(\'2z.I\',$.1d(C(e){E 9p=q.1W.7x();E 1m=(9p==\'2z\'||9p==\'54\')?N:\'2z\';q.1W.93(1m);q.L.9z();q.1W.2r(\'2z\',e)},q));q.$T.on(\'5o.I\',$.1d(q.5o.3Q,q));q.$T.on(\'l9.I\',$.1d(q.1e.1T,q));q.$T.on(\'1D.I\',$.1d(q.1D.3Q,q));q.$T.on(\'2s.I\',$.1d(q.2s.3Q,q));if($.5K(q.G.g8)){q.$2y.on(\'1D.I-2y\',$.1d(q.G.g8,q))}if($.5K(q.G.g2)){q.$2y.on(\'2s.I-2y\',$.1d(q.G.g2,q))}q.$T.on(\'2p.I\',$.1d(C(e){if($.5K(q.G.l5)){q.1W.2r(\'2p\',e)}q.2f.db=1q;q.2f.ag=N;if(q.K.3x()===N){q.K.1a();q.14.2O(q.$T[0],0);q.14.3H(q.$T[0],0);q.K.4f()}},q));$(1k).on(\'6j.I-cC.\'+q.2H,$.1d(C(e){if(q.2b)F;if(q.7T)F;if($(e.1Q).2o(\'.I-T, .I-1A, .I-1n\').8b()!==0){F}q.L.9z();if(!q.2f.ag&&$.5K(q.G.l1)){q.1W.2r(\'cC\',e)}q.2f.db=N;q.2f.ag=1q},q))},g1:C(){if(q.2A.a1()){q.2A.3a()}q.3i.aT();if(q.G.2p)3w(q.2p.2O,6O);if(q.G.g0)3w(q.2p.3H,6O)},92:C(){if(!q.G.92)F;$.1u(q.G.92,$.1d(C(i,s){E 1C=(1s df!==\'1z\'&&1s df[s]!==\'1z\')?df:3Y.fn;if(!$.5K(1C[s])){F}q[s]=1C[s]();E 6h=q.dg(q[s]);E 2q=6h.12;2D(E z=0;z<2q;z++){q[s][6h[z]]=q[s][6h[z]].a4(q)}if($.5K(q[s].3Q)){q[s].3Q()}},q))},g4:C(){if(!q.L.1P(\'4b\'))F;4U{1k.3Z(\'md\',N,N);1k.3Z(\'m9\',N,N)}56(e){}},g7:C(){if(!q.L.1P(\'2G\'))F;1k.3Z("m5",N,N)}}},1v:C(){F{2f:C(2h,2U){E $1v=$(\'<a 2l="#" 1G="3K-8X 3K-\'+2h+\'" 3X="\'+2h+\'" />\').1c({\'9C\':\'1v\',\'4O-2M\':2U.1J,\'6G\':\'-1\'});if(2U.1C||2U.4y||2U.1n){q.1v.g6($1v,2h,2U)}if(2U.1n){$1v.2g(\'I-1A-V-1n\').1c(\'4O-i1\',1q);E $1n=$(\'<1j 1G="I-1n I-1n-\'+q.2H+\' I-1n-2P-\'+2h+\'" 1p="6D: 5p;">\');$1v.1f(\'1n\',$1n);q.1n.2f(2h,$1n,2U.1n)}if(q.L.7K()){q.1v.g5($1v,2h,2U.1J)}F $1v},g6:C($1v,2h,2U){$1v.on(\'5B 2z\',$.1d(C(e){if($1v.3u(\'I-1v-7p\'))F N;E 1m=\'1C\';E 2B=2U.1C;if(2U.4y){1m=\'4y\';2B=2U.4y}O if(2U.1n){1m=\'1n\';2B=N}q.1v.bq(e,2h,1m,2B)},q))},g5:C($1v,1y,1J){E $3m=$(\'<1i>\').2g(\'I-1A-3m I-1A-3m-\'+q.2H+\' I-1A-3m-\'+1y).3s().B(1J);$3m.bl(\'3f\');$1v.on(\'ba\',C(){if($(q).3u(\'I-1v-7p\')){F}E 3y=$1v.2v();$3m.1O({2V:(3y.2V+$1v.68())+\'px\',2c:(3y.2c+$1v.7D()/2-$3m.7D()/2)+\'px\'});$3m.2R()});$1v.on(\'b4\',C(){$3m.3s()})},bq:C(e,2h,1m,2B){q.1v.mn=q.1S.8c();e.2t();$(1k).1h(\'.I-1A-3m\').3s();if(q.L.1P(\'2G\'))e.9i=N;if(1m==\'4y\')q.26.3a(2B);O if(1m==\'1n\')q.1n.2R(e,2h);O q.1v.gZ(e,2B,2h)},gZ:C(e,2B,2h){E 1C;if($.5K(2B))2B.64(q,2h);O if(2B.3J(/\\./)!=\'-1\'){1C=2B.4A(\'.\');if(1s q[1C[0]]==\'1z\')F;q[1C[0]][1C[1]](2h)}O q[2B](2h);q.1R.4i(e,2h)},1a:C(1l){F q.$1A.1h(\'a.3K-\'+1l)},8j:C(1l){q.1v.1a(1l).2g(\'I-8x\')},h7:C(1l){q.1v.1a(1l).2W(\'I-8x\')},cP:C(1l){if(1s 1l===\'1z\'){q.$1A.1h(\'a.3K-8X\').2W(\'I-8x\')}O{q.$1A.1h(\'a.3K-8X\').5O(\'.3K-\'+1l).2W(\'I-8x\')}},h8:C(){q.$1A.1h(\'a.3K-8X\').5O(\'a.3K-B, a.3K-h0\').2W(\'I-1v-7p\')},hm:C(){q.$1A.1h(\'a.3K-8X\').5O(\'a.3K-B, a.3K-h0\').2g(\'I-1v-7p\')},mj:C(1l,9Q){q.1v.1a(1l).2g(\'3K-\'+9Q)},m3:C(1l,9Q){q.1v.1a(1l).2W(\'3K-\'+9Q)},lN:C(1l,1y){E $1v=q.1v.1a(1l);$1v.2W(\'I-23-M\').2g(\'fa-I-23\');$1v.B(\'<i 1G="fa \'+1y+\'"></i>\')},ct:C($23,2B){if($23=="28")F;E 1m=(2B==\'1n\')?\'1n\':\'1C\';E 1l=$23.1c(\'3X\');$23.on(\'5B 2z\',$.1d(C(e){if($23.3u(\'I-1v-7p\'))F N;q.1v.bq(e,1l,1m,2B)},q))},cN:C($23,1n){$23.2g(\'I-1A-V-1n\').1c(\'4O-i1\',1q);E 1l=$23.1c(\'3X\');q.1v.ct($23,\'1n\');E $1n=$(\'<1j 1G="I-1n I-1n-\'+q.2H+\' I-1n-2P-\'+1l+\'" 1p="6D: 5p;">\');$23.1f(\'1n\',$1n);if(1n)q.1n.2f(1l,$1n,1n);F $1n},cK:C(1l,1J){if(!q.G.1A)F;if(q.1v.9c(1l))F"28";E 23=q.1v.2f(1l,{1J:1J});23.2g(\'I-23-M\');q.$1A.1E($(\'<li>\').1E(23));F 23},lO:C(1l,1J){if(!q.G.1A)F;if(q.1v.9c(1l))F"28";E 23=q.1v.2f(1l,{1J:1J});23.2g(\'I-23-M\');q.$1A.6C($(\'<li>\').1E(23));F 23},lP:C(i0,1l,1J){if(!q.G.1A)F;if(q.1v.9c(1l))F"28";E 23=q.1v.2f(1l,{1J:1J});23.2g(\'I-23-M\');E $23=q.1v.1a(i0);if($23.12!==0)$23.1r().3C($(\'<li>\').1E(23));O q.$1A.1E($(\'<li>\').1E(23));F 23},lG:C(hZ,1l,1J){if(!q.G.1A)F;if(q.1v.9c(1l))F"28";E 23=q.1v.2f(1l,{1J:1J});23.2g(\'I-23-M\');E $23=q.1v.1a(hZ);if($23.12!==0)$23.1r().9N($(\'<li>\').1E(23));O q.$1A.1E($(\'<li>\').1E(23));F 23},1t:C(1l){q.1v.1a(1l).1t()},9c:C(1l){F(1l=="8P"||1l=="bC")&&!q.L.7K()}}},1S:C(){F{2O:C(R){if(!q.L.6X(R)){E 3b=q.L.ad();$(R).6C(3b);q.1S.3H(3b)}O{q.1S.1U(R,0,R,0)}},3H:C(R){R=R[0]||R;if(R.i3.9R==1){F q.1S.58(R.i3)}q.1S.1U(R,1,R,1)},1U:C(4P,i6,7I,i5){4P=4P[0]||4P;7I=7I[0]||7I;if(q.L.7f(4P.1o)&&4P.3v===\'\'){4P.3v=q.G.5Z}if(4P.1o==\'5i\'&&q.G.1K===N){E 1r=$(q.G.5V)[0];$(4P).2x(1r);4P=1r;7I=4P}q.K.1a();4U{q.14.2O(4P,i6);q.14.3H(7I,i5)}56(e){}q.K.4f()},58:C(R){4U{E Y=$(R)[0].1o;if(Y!=\'5i\'&&!q.L.6X(R)){E 3b=q.L.ad();$(R).3C(3b);q.1S.3H(3b)}O{if(Y!=\'5i\'&&q.L.1P(\'2G\')){q.1S.2O($(R).1N())}O{q.1S.dZ(R,\'3C\')}}}56(e){E 3b=q.L.ad();$(R).3C(3b);q.1S.3H(3b)}},dy:C(R){if(q.L.6X(R)){q.1S.3H($(R).4B())}O{q.1S.dZ(R,\'9N\')}},dZ:C(R,1m){if(!q.L.1P(\'2G\'))q.$T.2p();R=R[0]||R;q.K.1a();if(1m==\'3C\'){4U{q.14.7z(R);q.14.kZ(R)}56(e){}}O{4U{q.14.lW(R);q.14.k9(R)}56(e){}}q.14.42(N);q.K.4f()},9G:C(R){R=R[0]||R;q.K.1a();E 9Z=q.14.84();9Z.8H(R);9Z.3H(q.14.dL,q.14.dM);F $.3h(9Z.4o()).12},8c:C(){E 2v=0;E 2T=3p.4K();if(2T.7y>0){E 14=3p.4K().67(0);E 9W=14.84();9W.8H(q.$T[0]);9W.3H(14.dL,14.dM);2v=9W.4o().12}F 2v},aH:C(2b,2j){if(1s 2j==\'1z\')2j=2b;if(!q.2p.cI())q.2p.2O();E 2T=q.K.1a();E R,2v=0;E i4=1k.lV(q.$T[0],mb.lS,4m,4m);55(R=i4.lR()){2v+=R.5P.12;if(2v>2b){q.14.2O(R,R.5P.12+2b-2v);2b=lH}if(2v>=2j){q.14.3H(R,R.5P.12+2j-2v);5U}}q.14.42(N);q.K.4f()},lM:C(2b,2j){q.1S.aH(2b,2j)},mi:C(){F q.1S.8c()}}},1x:C(){F{hM:C(B){B=q.1x.il(B);B=B.J(/<3W(.*?[^>]?)>([\\w\\W]*?)<\\/3W>/gi,\'<2F 1G="I-3W-Y" 1p="6D: 5p;" $1>$2</2F>\');B=B.J(/\\$/g,\'&#36;\');B=B.J(/<a 2l="(.*?[^>]?)®(.*?[^>]?)">/gi,\'<a 2l="$1&mg$2">\');if(q.G.6q&&!q.G.1K)B=q.1x.6q(B);if(q.G.1K)B=q.1x.8s(B);B=q.1x.bP(B);E $1j=$(\'<1j>\');$1j.B(B);E e4=$1j.1h(\'3O[1p]\');if(e4.12!==0){e4.2x(C(){E $el=$(q);E $1i=$(\'<1i>\').1c(\'1p\',$el.1c(\'1p\'));F $1i.1E($el.25())});B=$1j.B()}$1j.1t();B=B.J(/<3O(.*?)>/gi,\'\');B=B.J(/<\\/3O>/gi,\'\');B=q.1I.2K(B);if(q.G.2X)B=q.2X.2K(B);B=q.1x.7d(B);B=q.1x.bQ(B);B=B.J(/&8J;/g,\'&\');F B},aY:C(B){B=B.J(/\\6c/g,\'\');B=B.J(/&#bL;/gi,\'\');if(q.G.hY){B=B.J(/&5k;/gi,\' \')}if(B.3J(/^<p>(||\\s||<br\\s?\\/?>||&5k;)<\\/p>$/i)!=-1){F\'\'}B=B.J(/<2F 1G="I-3W-Y" 1p="6D: 5p;"(.*?[^>]?)>([\\w\\W]*?)<\\/2F>/gi,\'<3W$1>$2</3W>\');B=q.1x.hN(B);E hX={\'\\mm\':\'&mf;\',\'\\m6\':\'&m4;\',\'\\mq\':\'&ld;\',\'\\l0\':\'&lE;\',\'\\o2\':\'&p4;\'};$.1u(hX,C(i,s){B=B.J(2a 2n(i,\'g\'),s)});if(q.L.1P(\'4b\')){B=B.J(/<br\\s?\\/?>$/gi,\'\')}B=B.J(2a 2n(\'<br\\\\s?/?></li>\',\'gi\'),\'</li>\');B=B.J(2a 2n(\'</li><br\\\\s?/?>\',\'gi\'),\'</li>\');B=B.J(/<(.*?)3X="\\s*?"(.*?[^>]?)>/gi,\'<$1$2">\');B=B.J(/<(.*?)1p="\\s*?"(.*?[^>]?)>/gi,\'<$1$2">\');B=B.J(/="">/gi,\'>\');B=B.J(/""">/gi,\'">\');B=B.J(/"">/gi,\'">\');B=B.J(/<1j(.*?)1f-8u="I"(.*?[^>])>/gi,\'<1j$1$2>\');B=B.J(/<(.*?) 1f-3M="I"(.*?[^>])>/gi,\'<$1$2>\');E $1j=$("<1j/>").B($.dH(B,1k,1q));$1j.1h("1i").1L("3X");$1j.1h(\'2F .I-7m-3b\').1u(C(){$(q).25().48()});B=$1j.B();B=B.J(/<1M(.*?[^>])3X="(.*?[^>])"(.*?[^>])>/gi,\'<1M$1$3>\');B=B.J(/<1i 1G="I-7m-3b">(.*?)<\\/1i>/gi,\'$1\');B=B.J(/ 1f-3o-2i="(.*?[^>])"/gi,\'\');B=B.J(/<1i(.*?)id="I-M-2P"(.*?[^>])>([\\w\\W]*?)<1M(.*?)><\\/1i>/gi,\'$3<1M$4>\');B=B.J(/<1i(.*?)id="I-M-8m"(.*?[^>])>(.*?)<\\/1i>/gi,\'\');B=B.J(/<1i(.*?)id="I-M-5I"(.*?[^>])>(.*?)<\\/1i>/gi,\'\');B=B.J(/<3O(.*?)>/gi,\'\');B=B.J(/<\\/3O>/gi,\'\');B=q.1I.2K(B);if(q.G.hR){B=B.J(/<a(.*?)3X="hQ"(.*?[^>])>/gi,\'<a$1$2>\');B=B.J(/<a(.*?[^>])>/gi,\'<a$1 3X="hQ">\')}B=B.J(/\\qH-I-(Y|1G|1p)="(.*?[^>])"/gi,\'\');B=B.J(2a 2n(\'<(.*?) 1f-3M="I"(.*?[^>])>\',\'gi\'),\'<$1$2>\');B=B.J(2a 2n(\'<(.*?) 1f-3M="I">\',\'gi\'),\'<$1>\');B=B.J(/&8J;/g,\'&\');F B},8G:C(B,8v){B=$.3h(B);B=B.J(/\\$/g,\'&#36;\');B=B.J(/<1i 1G="s[0-9]">/gi,\'<1i>\');B=B.J(/<1i 1G="hP-qJ-3b">&5k;<\\/1i>/gi,\' \');B=B.J(/<1i 1G="hP-5t-1i"[^>]*>\\t<\\/1i>/gi,\'\\t\');B=B.J(/<1i[^>]*>(\\s|&5k;)<\\/1i>/gi,\' \');if(q.G.hO){F q.1x.ap(B)}if(!q.L.9u()&&1s 8v==\'1z\'){if(q.L.4Y([\'hS\',\'A\'])){F q.1x.ap(B,N)}if(q.L.4Y(\'9J\')){B=B.J(/”/g,\'"\');B=B.J(/“/g,\'"\');B=B.J(/‘/g,\'\\\'\');B=B.J(/’/g,\'\\\'\');F q.1x.ic(B)}if(q.L.4Y([\'aL\',\'cJ\',\'cs\',\'c8\',\'c3\',\'c6\',\'bM\'])){B=q.1x.ih(B);if(!q.L.1P(\'2G\')){E Q=q.K.49();if(Q&&Q.1o==\'P\'){B=B.J(/<1M(.*?)>/gi,\'<p><1M$1></p>\')}}F B}if(q.L.4Y([\'6u\'])){B=q.1x.aq(B,\'2Y\');if(q.G.1K)B=q.1x.8s(B);B=q.1x.ii(B);F B}if(q.L.4Y([\'5L\'])){F q.1x.aq(B,\'li\')}}B=q.1x.iw(B,8v);if(!q.1x.8g){if(q.G.1K)B=q.1x.8s(B);if(q.G.6q)B=q.1x.6q(B);B=q.1x.bP(B)}B=q.1x.hT(B);B=q.1x.hU(B);B=q.1x.aq(B,\'ip\');if(!q.1x.8g&&q.G.2X){B=q.2X.2K(B)}B=q.1x.ik(B);B=q.1x.ir(B);B=q.1x.io(B);B=q.1x.bQ(B);F B},hT:C(B){B=B.J(/<!--[\\s\\S]*?-->/gi,\'\');B=B.J(/<1p[^>]*>[\\s\\S]*?<\\/1p>/gi,\'\');B=B.J(/<o\\:p[^>]*>[\\s\\S]*?<\\/o\\:p>/gi,\'\');if(B.1V(/1G="?hV|1p="[^"]*\\hW-|1p=\'[^\'\']*\\hW-|w:qL/i)){B=B.J(/<!--[\\s\\S]+?-->/gi,\'\');B=B.J(/<(!|3W[^>]*>.*?<\\/3W(?=[>\\s])|\\/?(\\?qF(:\\w+)?|1M|5c|V|1p|\\w:\\w+)(?=[\\s\\/>]))[^>]*>/gi,\'\');B=B.J(/<(\\/?)s>/gi,"<$qj>");B=B.J(/ /gi,\' \');B=B.J(/<1i\\s+1p\\s*=\\s*"\\s*aw-qG\\s*:\\s*qo\\s*;?\\s*"\\s*>([\\s\\bm]*)<\\/1i>/gi,C(5b,b1){F(b1.12>0)?b1.J(/./," ").dn(9H.qi(b1.12/2)).4A("").31("\\bm"):\'\'});B=q.1x.it(B);B=B.J(/<1M(.*?)v:qd=(.*?)>/gi,\'\');B=B.J(/4q="1Z\\:\\/\\/(.*?)"/,\'4q=""\');E $1j=$("<1j/>").B(B);E 69=N;E 9m=1;E e7=[];$1j.1h("p[1p]").1u(C(){E 3N=$(q).1c(\'1p\').1V(/aw\\-2d\\:l([0-9]+)\\qe([0-9]+)/);if(3N){E 5Q=5H(3N[1]);E 63=5H(3N[2]);E eg=$(q).B().1V(/^[\\w]+\\./)?"ol":"3k";E $li=$("<li/>").B($(q).B());$li.B($li.B().J(/^([\\w\\.]+)</,\'<\'));$li.1h("1i:3I").1t();if(63==1&&$.3t(5Q,e7)==-1){E $2d=$("<"+eg+"/>").1c({"1f-7V":63,"1f-2d":5Q}).B($li);$(q).2x($2d);69=5Q;e7.2N(5Q)}O{if(63>9m){E $aV=$1j.1h(\'[1f-7V="\'+9m+\'"][1f-2d="\'+69+\'"]\');E $69=$aV;2D(E i=9m;i<63;i++){$2d=$("<"+eg+"/>");$2d.bl($69.1h("li").3c());$69=$2d}$69.1c({"1f-7V":63,"1f-2d":5Q}).B($li)}O{E $aV=$1j.1h(\'[1f-7V="\'+63+\'"][1f-2d="\'+5Q+\'"]\').3c();$aV.1E($li)}9m=63;69=5Q;$(q).1t()}}});$1j.1h(\'[1f-7V][1f-2d]\').1L(\'1f-7V 1f-2d\');B=$1j.B();B=B.J(/·/g,\'\');B=B.J(/<p 1G="hV(.*?)"/gi,\'<p\');B=B.J(/ 1G=\\"(aw[^\\"]*)\\"/gi,"");B=B.J(/ 1G=(aw\\w+)/gi,"");B=B.J(/<o:p(.*?)>([\\w\\W]*?)<\\/o:p>/gi,\'$2\');B=B.J(/\\n/g,\' \');B=B.J(/<p>\\n?<li>/gi,\'<li>\')}F B},hU:C(B){B=B.J(/<b\\ok="i7-4D-2u(.*?)">([\\w\\W]*?)<\\/b>/gi,"$2");B=B.J(/<b(.*?)id="qv-i7-qx(.*?)">([\\w\\W]*?)<\\/b>/gi,"$3");B=B.J(/<1i[^>]*(3O-1p: 4h; 3O-7W: 4n|3O-7W: 4n; 3O-1p: 4h)[^>]*>/gi,\'<1i 1p="3O-7W: 4n;"><1i 1p="3O-1p: 4h;">\');B=B.J(/<1i[^>]*3O-1p: 4h[^>]*>/gi,\'<1i 1p="3O-1p: 4h;">\');B=B.J(/<1i[^>]*3O-7W: 4n[^>]*>/gi,\'<1i 1p="3O-7W: 4n;">\');B=B.J(/<1i[^>]*1g-7e: 5r[^>]*>/gi,\'<1i 1p="1g-7e: 5r;">\');B=B.J(/<1M>/gi,\'\');B=B.J(/\\n{3,}/gi,\'\\n\');B=B.J(/<3O(.*?)>([\\w\\W]*?)<\\/3O>/gi,\'$2\');B=B.J(/<p><p>/gi,\'<p>\');B=B.J(/<\\/p><\\/p>/gi,\'</p>\');B=B.J(/<li>(\\s*|\\t*|\\n*)<p>/gi,\'<li>\');B=B.J(/<\\/p>(\\s*|\\t*|\\n*)<\\/li>/gi,\'</li>\');B=B.J(/<\\/p>\\s<p/gi,\'<\\/p><p\');B=B.J(/<1M 4q="7Q-qb-2i\\:\\/\\/(.*?)"(.*?)>/gi,\'\');B=B.J(/<p>•([\\w\\W]*?)<\\/p>/gi,\'<li>$1</li>\');if(q.L.1P(\'4b\')){B=B.J(/<br\\s?\\/?>$/gi,\'\')}F B},aq:C(B,1m){E 2e=[\'1i\',\'a\',\'2F\',\'29\',\'95\',\'em\',\'5d\',\'1e\',\'ay\',\'85\',\'dW\',\'9d\',\'E\',\'az\',\'eo\',\'7i\',\'7j\',\'b\',\'i\',\'u\',\'4l\',\'ol\',\'3k\',\'li\',\'dl\',\'dt\',\'dd\',\'p\',\'br\',\'6S\',\'8p\',\'4J\',\'7M\',\'8y\',\'43\',\'1M\',\'3V\',\'2Y\',\'6s\',\'6W\',\'dF\',\'dI\',\'dE\',\'h1\',\'h2\',\'h3\',\'h4\',\'h5\',\'h6\'];E ep=N;E eh=[[\'a\',\'*\'],[\'1M\',[\'4q\',\'7v\']],[\'1i\',[\'1G\',\'3X\',\'1f-3M\']],[\'4J\',\'*\'],[\'6S\',\'*\'],[\'8p\',\'*\'],[\'7M\',\'*\'],[\'43\',\'*\'],[\'8y\',\'*\'],[\'4D\',\'*\']];if(1m==\'ip\'){ep=[\'p\',\'1i\',\'h1\',\'h2\',\'h3\',\'h4\',\'h5\',\'h6\'];eh=[[\'3V\',\'1G\'],[\'2Y\',[\'qh\',\'qV\']],[\'a\',\'*\'],[\'1M\',[\'4q\',\'7v\',\'1f-I-8F-M\']],[\'1i\',[\'1G\',\'3X\',\'1f-3M\']],[\'4J\',\'*\'],[\'6S\',\'*\'],[\'8p\',\'*\'],[\'7M\',\'*\'],[\'43\',\'*\'],[\'8y\',\'*\'],[\'4D\',\'*\']]}O if(1m==\'2Y\'){2e=[\'3k\',\'ol\',\'li\',\'1i\',\'a\',\'95\',\'em\',\'5d\',\'1e\',\'ay\',\'85\',\'9d\',\'E\',\'az\',\'eo\',\'7i\',\'7j\',\'b\',\'i\',\'u\',\'4l\',\'ol\',\'3k\',\'li\',\'dl\',\'dt\',\'dd\',\'br\',\'4J\',\'6S\',\'8p\',\'7M\',\'8y\',\'43\',\'1M\',\'h1\',\'h2\',\'h3\',\'h4\',\'h5\',\'h6\']}O if(1m==\'li\'){2e=[\'3k\',\'ol\',\'li\',\'1i\',\'a\',\'95\',\'em\',\'5d\',\'1e\',\'ay\',\'85\',\'9d\',\'E\',\'az\',\'eo\',\'7i\',\'7j\',\'b\',\'i\',\'u\',\'4l\',\'br\',\'4J\',\'6S\',\'8p\',\'7M\',\'8y\',\'43\',\'1M\']}E 47={4c:(q.G.4c)?q.G.4c:N,4s:(q.G.4s)?q.G.4s:2e,6v:1q,qf:1q,1L:(q.G.1L)?q.G.1L:N,52:(q.G.52)?q.G.52:eh,3T:ep};F q.1I.2K(B,47)},io:C(B){B=B.J(/<(p|h[1-6])>(|\\s|\\n|\\t|<br\\s?\\/?>)<\\/(p|h[1-6])>/gi,\'\');if(!q.G.1K)B=B.J(/<br>$/i,\'\');F B},ir:C(B){B=B.J(/<1i>(.*?)<\\/1i>/gi,\'$1\');B=B.J(/<1i[^>]*>\\s|&5k;<\\/1i>/gi,\' \');F B},it:C(B){if(!q.L.1P(\'2G\'))F B;E 5D=$.3h(B);if(5D.3J(/^<a(.*?)>(.*?)<\\/a>$/i)===0){B=B.J(/^<a(.*?)>(.*?)<\\/a>$/i,"$2")}F B},iw:C(B,8v){q.1x.8g=N;if(!q.L.9u()&&1s 8v==\'1z\'){E 21=q.G.8E.31(\'|\').J(\'P|\',\'\').J(\'8a|\',\'\');E iu=B.1V(2a 2n(\'</(\'+21+\')>\',\'gi\'));E aB=B.1V(/<\\/(p|1j)>/gi);if(!iu&&(aB===4m||(aB&&aB.12<=1))){E im=B.1V(/<br\\s?\\/?>/gi);if(!im){q.1x.8g=1q;B=B.J(/<\\/?(p|1j)(.*?)>/gi,\'\')}}}F B},qY:C(3G,5z){5z=(((5z||\'\')+\'\').3g().1V(/<[a-z][a-7Y-9]*>/g)||[]).31(\'\');E 2e=/<\\/?([a-z][a-7Y-9]*)\\b[^>]*>/gi;F 3G.J(2e,C($0,$1){F 5z.4L(\'<\'+$1.3g()+\'>\')>-1?$0:\'\'})},il:C(B){B=q.1x.ib(B);B=q.1x.ia(B);B=q.1x.i9(B);F B},ib:C(B){E 2F=B.1V(/<2F(.*?)>([\\w\\W]*?)<\\/2F>/gi);if(2F!==4m){$.1u(2F,$.1d(C(i,s){E 2E=s.1V(/<2F(.*?)>([\\w\\W]*?)<\\/2F>/i);2E[2]=2E[2].J(/<br\\s?\\/?>/g,\'\\n\');2E[2]=2E[2].J(/&5k;/g,\' \');if(q.G.72){2E[2]=2E[2].J(/\\t/g,8Q(q.G.72+1).31(\' \'))}2E[2]=q.1x.at(2E[2]);2E[2]=2E[2].J(/\\$/g,\'&#36;\');B=B.J(s,\'<2F\'+2E[1]+\'>\'+2E[2]+\'</2F>\')},q))}F B},ia:C(B){E 1e=B.1V(/<1e(.*?)>([\\w\\W]*?)<\\/1e>/gi);if(1e!==4m){$.1u(1e,$.1d(C(i,s){E 2E=s.1V(/<1e(.*?)>([\\w\\W]*?)<\\/1e>/i);2E[2]=2E[2].J(/&5k;/g,\' \');2E[2]=q.1x.at(2E[2]);2E[2]=2E[2].J(/\\$/g,\'&#36;\');B=B.J(s,\'<1e\'+2E[1]+\'>\'+2E[2]+\'</1e>\')},q))}F B},i9:C(B){B=B.J(/&lt;1i id=&6p;K-2u-([0-9])&6p; 1G=&6p;I-K-2u&6p; 1f-3M=&6p;I&6p;&gt;​&lt;\\/1i&gt;/g,\'<1i id="K-2u-$1" 1G="I-K-2u" 1f-3M="I">​</1i>\');F B},c2:C(B){B=B.J(/<br\\s?\\/?>|<\\/H[1-6]>|<\\/p>|<\\/1j>|<\\/li>|<\\/2Y>/gi,\'\\n\');E 5D=1k.3B(\'1j\');5D.3v=B;B=5D.qm||5D.qC;F $.3h(B)},ap:C(B,2X){B=q.1x.c2(B);B=B.J(/\\n\\s*\\n/g,"\\n");B=B.J(/\\n\\n/g,"\\n");B=B.J(/\\n/g,\'<br />\');if(q.G.2X&&1s 2X==\'1z\'&&!q.L.1P(\'4b\')){B=q.2X.2K(B)}F B},ic:C(B){B=B.J(/<1M(.*?) 1p="(.*?)"(.*?[^>])>/gi,\'<1M$1$3>\');B=B.J(/<1M(.*?)>/gi,\'&lt;1M$1&gt;\');B=q.1x.c2(B);if(q.G.72){B=B.J(/\\t/g,8Q(q.G.72+1).31(\' \'))}B=q.1x.at(B);F B},ih:C(B){B=B.J(/<1M(.*?)>/gi,\'[1M$1]\');B=B.J(/<([qt]*?)>/gi,\'\');B=B.J(/\\[1M(.*?)\\]/gi,\'<1M$1>\');F B},qw:C(B){B=B.J(/<a(.*?)2l="(.*?)"(.*?)>([\\w\\W]*?)<\\/a>/gi,\'[a 2l="$2"]$4[/a]\');B=B.J(/<1M(.*?)>/gi,\'[1M$1]\');B=B.J(/<(.*?)>/gi,\'\');B=B.J(/\\[a 2l="(.*?)"\\]([\\w\\W]*?)\\[\\/a\\]/gi,\'<a 2l="$1">$2</a>\');B=B.J(/\\[1M(.*?)\\]/gi,\'<1M$1>\');F B},at:C(5b){5b=62(5b).J(/&8J;/g,\'&\').J(/&lt;/g,\'<\').J(/&gt;/g,\'>\').J(/&6p;/g,\'"\');F 5b.J(/&/g,\'&8J;\').J(/</g,\'&lt;\').J(/>/g,\'&gt;\').J(/"/g,\'&6p;\')},ik:C(B){if(q.L.1P(\'2G\'))F B;E 1j=1k.3B(\'1j\');1j.3v=B;q.1x.c5($(1j));B=1j.3v;$(1j).1t();F B},4r:C(){if(q.L.1P(\'2G\'))F;q.1x.c5(q.$T);E c4=q.$T.1h(\'h1, h2, h3, h4, h5, h6\');c4.1h(\'1i\').1L(\'1p\');c4.1h(q.G.c7.31(\', \')).1L(\'1p\');q.1e.1T()},c5:C($T){$T.1h(q.G.c7.31(\', \')).1L(\'1p\');$T.1h(\'1i\').5O(\'[1f-3M="I"]\').1L(\'1p\');$T.1h(\'1i[1f-3M="I"], 1M[1f-3M="I"]\').1u(C(i,s){E $s=$(s);$s.1c(\'1p\',$s.1c(\'3X\'))})},qA:C(){},7d:C(B){if(q.L.1P(\'2G\'))F B;B=B.J(2a 2n(\'<1M(.*?[^>])>\',\'gi\'),\'<1M$1 1f-3M="I">\');B=B.J(2a 2n(\'<1i(.*?[^>])>\',\'gi\'),\'<1i$1 1f-3M="I">\');E 3N=B.1V(2a 2n(\'<(1i|1M)(.*?)1p="(.*?)"(.*?[^>])>\',\'gi\'));if(3N){E 2q=3N.12;2D(E i=0;i<2q;i++){4U{E ij=3N[i].J(/1p="(.*?)"/i,\'1p="$1" 3X="$1"\');B=B.J(3N[i],ij)}56(e){}}}F B},bQ:C(B){E $1j=$(\'<1j />\').B(B);E 2e=q.G.4M;2e.2N(\'1i\');$1j.1h(2e.31(\',\')).1u(C(){E $el=$(q);E Y=q.1o.3g();$el.1c(\'1f-I-Y\',Y);if(Y==\'1i\'){if($el.1c(\'1p\'))$el.1c(\'1f-I-1p\',$el.1c(\'1p\'));O if($el.1c(\'1G\'))$el.1c(\'1f-I-1G\',$el.1c(\'1G\'))}});B=$1j.B();$1j.1t();F B},a3:C(){q.$T.1h(\'li\').1u(C(i,s){E $1N=$(s).1N();if($1N.12!==0&&($1N[0].1o==\'8B\'||$1N[0].1o==\'8h\')){$(s).1E($1N)}})},cm:C(B){B=B.J(/\\n/g,\'\');B=B.J(/[\\t]*/g,\'\');B=B.J(/\\n\\s*\\n/g,"\\n");B=B.J(/^[\\s\\n]*/g,\' \');B=B.J(/[\\s\\n]*$/g,\' \');B=B.J(/>\\s{2,}</g,\'> <\');B=B.J(/\\n\\n/g,"\\n");B=B.J(/\\6c/g,\'\');F B},6q:C(B){if(q.G.1K){B=B.J(/<1j><br\\s?\\/?><\\/1j>/gi,\'<br />\');B=B.J(/<1j(.*?)>([\\w\\W]*?)<\\/1j>/gi,\'$2<br />\')}O{B=B.J(/<1j(.*?)>([\\w\\W]*?)<\\/1j>/gi,\'<p$1>$2</p>\')}B=B.J(/<1j(.*?[^>])>/gi,\'\');B=B.J(/<\\/1j>/gi,\'\');F B},ii:C(B){B=B.J(/<1j\\s(.*?)>/gi,\'<p>\');B=B.J(/<1j><br\\s?\\/?><\\/1j>/gi,\'<br /><br />\');B=B.J(/<1j>([\\w\\W]*?)<\\/1j>/gi,\'$1<br /><br />\');F B},8s:C(B){B=B.J(/<p\\s(.*?)>/gi,\'<p>\');B=B.J(/<p><br\\s?\\/?><\\/p>/gi,\'<br />\');B=B.J(/<p>([\\w\\W]*?)<\\/p>/gi,\'$1<br /><br />\');B=B.J(/(<br\\s?\\/?>){1,}\\n?<\\/29>/gi,\'</29>\');F B},bP:C(B){F B.J(/<6k(.*?)>([\\w\\W]*?)<\\/6k>/gi,\'<4d$1 3X="I-6k-Y">$2</4d>\')},hN:C(B){F B.J(/<4d(.*?) 3X="I-6k-Y"(.*?)>([\\w\\W]*?)<\\/4d>/gi,\'<6k$1$2>$3</6k>\')}}},1e:C(){F{1U:C(B){B=$.3h(B.4o());B=q.1x.hM(B);if(q.L.1P(\'2G\')){B=B.J(/<1i(.*?)id="K-2u-(1|2)"(.*?)><\\/1i>/gi,\'\')}q.$T.B(B);q.1e.1T();if(B!==\'\')q.3i.1t();3w($.1d(q.28.cK,q),15);if(q.2b===N)q.1R.2K()},1a:C(){E 1e=q.$2y.2L();if(q.G.6q)1e=q.1x.6q(1e);if(q.G.1K)1e=q.1x.8s(1e);1e=q.2I.1a(1e);F 1e},1T:C(){3w($.1d(q.1e.hk,q),10)},hk:C(){E B=q.$T.B();if(q.1e.cE&&q.1e.cE==B||(q.2b&&B==\'\')){F}q.1e.cE=B;B=q.1W.2r(\'ql\',B);B=q.1x.aY(B);q.$2y.2L(B);q.1W.2r(\'1T\',B);if(q.2b===N){q.1W.2r(\'kg\',B)}q.2b=N;if(q.3n.B==N){q.3n.B=q.1e.1a()}if(q.G.9r){q.$2y.1N(\'.3F\').1u(C(i,el){el.3F.hi(B)})}q.3n.hj();q.3n.aT()},3j:C(){if(q.G.5W){q.1e.cF()}O{q.1e.hp()}},cF:C(){q.K.3o();q.1e.2v=q.1S.8c();E 5N=$(3p).3S();E 2J=q.$T.7D(),3l=q.$T.68();q.$T.3s();E B=q.$2y.2L();q.ha=q.1x.cm(B);B=q.2I.1a(B);E 2b=0,2j=0;E $6R=$("<1j/>").1E($.dH(q.1x.aY(q.$T.B()),1k,1q));E $a0=$6R.1h("1i.I-K-2u");if($a0.12>0){E a2=q.2I.1a($6R.B()).J(/&8J;/g,\'&\');if($a0.12==1){2b=q.L.as(a2,$6R.1h("#K-2u-1").5X("7P"));2j=2b}O if($a0.12==2){2b=q.L.as(a2,$6R.1h("#K-2u-1").5X("7P"));2j=q.L.as(a2,$6R.1h("#K-2u-2").5X("7P"))-$6R.1h("#K-2u-1").5X("7P").4o().12}}q.K.8U();q.$2y.2L(B);if(q.G.9r){q.$2y.1N(\'.3F\').1u(C(i,el){$(el).2R();el.3F.hi(B);el.3F.qI(\'6O%\',3l);el.3F.qM();if(2b==2j){el.3F.qP(el.3F.76(2b).3L,el.3F.76(2j).ch)}O{el.3F.qO({3L:el.3F.76(2b).3L,ch:el.3F.76(2b).ch},{3L:el.3F.76(2j).3L,ch:el.3F.76(2j).ch})}el.3F.2p()})}O{q.$2y.3l(3l).2R().2p();q.$2y.on(\'1D.I-2y-h9\',q.1e.hb);$(3p).3S(5N);if(q.$2y[0].hl){q.$2y[0].hl(2b,2j)}q.$2y[0].3S=0}q.G.5W=N;q.1v.hm();q.1v.8j(\'B\');q.1W.2r(\'4D\',B)},hp:C(){E B;if(q.G.5W)F;E 2b=0,2j=0;if(q.G.9r){E K;q.$2y.1N(\'.3F\').1u(C(i,el){K=el.3F.r0();2b=el.3F.hn(K[0].ho);2j=el.3F.hn(K[0].dG);B=el.3F.qW()})}O{2b=q.$2y.1a(0).ci;2j=q.$2y.1a(0).cq;B=q.$2y.3s().2L()}if(2b>2j&&2j>0){E hh=2j;E fD=2b;2b=hh;2j=fD}2b=q.1e.cx(B,2b);2j=q.1e.cx(B,2j);B=B.4w(0,2b)+q.K.5e(1)+B.4w(2b);if(2j>2b){E cB=q.K.5e(1).4o().12;B=B.4w(0,2j+cB)+q.K.5e(2)+B.4w(2j+cB)}if(q.ha!==q.1x.cm(B)){q.1e.1U(B)}if(q.G.9r){q.$2y.1N(\'.3F\').3s()}q.$T.2R();if(!q.L.3z(B)){q.3i.1t()}q.K.3e();q.$2y.3d(\'1D.I-2y-h9\');q.1v.h8();q.1v.h7(\'B\');q.1R.2K();q.G.5W=1q;q.1W.2r(\'5W\',B)},hb:C(e){if(e.3r!==9)F 1q;E $el=q.$2y;E 2b=$el.1a(0).ci;$el.2L($el.2L().ac(0,2b)+"\\t"+$el.2L().ac($el.1a(0).cq));$el.1a(0).ci=$el.1a(0).cq=2b+1;F N},cx:C(B,2v){E cy=B.12;E c=0;if(B[2v]==\'>\'){c++}O{2D(E i=2v;i<=cy;i++){c++;if(B[i]==\'>\'){5U}O if(B[i]==\'<\'||i==cy){c=0;5U}}}F 2v+c}}},1W:C(){F{oW:C(){F $.7h({},q)},oV:C(){F q.$T},oR:C(){F q.$2P},oQ:C(){F q.$2m},oS:C(){F q.$2y},oT:C(){F(q.$1A)?q.$1A:N},93:C(1y){q.1W.9p=1y},7x:C(){F q.1W.9p},2r:C(1m,e,1f){E a8=1m+\'oU\';E hf=\'I\';E 2B=q.G[a8];if(q.$2y){E 9i=N;E 9j=$.p2(q.$2y[0],\'9j\');if(1s 9j!=\'1z\'&&1s 9j[a8]!=\'1z\'){$.1u(9j[a8],$.1d(C(1l,1F){if(1F[\'pc\']==hf){E 1f=(1s 1f==\'1z\')?[e]:[e,1f];9i=(1s 1f==\'1z\')?1F.7r.64(q,e):1F.7r.64(q,e,1f)}},q))}if(9i)F 9i}if($.5K(2B)){F(1s 1f==\'1z\')?2B.64(q,e):2B.64(q,e,1f)}O{F(1s 1f==\'1z\')?e:1f}},he:C(){q.G.iz=1q;q.1W.2r(\'he\');q.$2m.3d(\'.I\').hd(\'I\');q.$T.3d(\'.I\');$(1k).3d(\'6j.I-cC.\'+q.2H);$(1k).3d(\'6j.I.\'+q.2H);$(1k).3d(\'2z.I-M-82.\'+q.2H);$(1k).3d(\'2z.I-M-4R-3s.\'+q.2H);$(1k).3d(\'5B.I.\'+q.2H+\' 2z.I.\'+q.2H);$("3f").3d(\'5N.I.\'+q.2H);$(q.G.6F).3d(\'5N.I.\'+q.2H);q.$T.2W(\'I-T I-1K I-3i\');q.$T.1L(\'5j\');E B=q.1e.1a();if(q.G.1A){q.$1A.1h(\'a\').1u(C(){E $el=$(q);if($el.1f(\'1n\')){$el.1f(\'1n\').1t();$el.1f(\'1n\',{})}})}if(q.2f.bA()){q.$2P.3C(q.$2m);q.$2P.1t();q.$2m.2L(B).2R()}O{q.$2P.3C(q.$T);q.$2P.1t();q.$2m.B(B).2R()}if(q.$5h)q.$5h.1t();if(q.$4C)q.$4C.1t();if(q.$81)q.$81.1t();$(\'.I-1A-3m-\'+q.2H).1t();hq(q.9a)}}},1n:C(){F{2f:C(1y,$1n,cw){if(1y==\'30\'&&q.G.cv){$.1u(q.G.cv,$.1d(C(i,s){E 1y=s.Y,1C;if(1s s[\'1G\']!=\'1z\'){1y=1y+\'-\'+s[\'1G\']}s.1m=(q.L.7f(s.Y))?\'Q\':\'26\';if(1s s.1C!=="1z"){1C=s.1C}O{1C=(s.1m==\'26\')?\'26.30\':\'Q.30\'}if(q.G.1K&&s.1m==\'Q\'&&s.Y==\'p\')F;q.30[1y]={Y:s.Y,1p:s.1p,\'1G\':s[\'1G\'],1c:s.1c,1f:s.1f,9e:s.9e};cw[1y]={1C:1C,1J:s.1J}},q))}$.1u(cw,$.1d(C(2h,2U){E $2w=$(\'<a 2l="#" 1G="I-1n-\'+2h+\'" 9C="1v">\'+2U.1J+\'</a>\');if(1y==\'30\')$2w.2g(\'I-30-\'+2h);$2w.on(\'2z\',$.1d(C(e){e.2t();E 1m=\'1C\';E 2B=2U.1C;if(2U.4y){1m=\'4y\';2B=2U.4y}O if(2U.1n){1m=\'1n\';2B=2U.1n}if($(e.1Q).3u(\'I-1n-V-e3\'))F;q.1v.bq(e,2h,1m,2B);q.1n.79()},q));q.1R.cN($2w,2h,2U);$1n.1E($2w)},q))},2R:C(e,1l){if(!q.G.5W){e.2t();F N}E $1v=q.1v.1a(1l);E $1n=$1v.1f(\'1n\').bl(1k.3f);if(q.G.bO){$1n.2g("I-1n-j4")}if($1v.3u(\'7c\')){q.1n.79()}O{q.1n.79();q.1R.7H();q.1W.2r(\'qa\',{1n:$1n,1l:1l,1v:$1v});q.1v.8j(1l);$1v.2g(\'7c\');E 7t=$1v.2v();E cf=$1n.2J();if((7t.2c+cf)>$(1k).2J()){7t.2c=9H.p6(0,7t.2c-cf)}E 2c=7t.2c+\'px\';if(q.$1A.3u(\'1A-7G-2P\')){E 2V=q.$1A.68()+q.G.6L;E 4g=\'7G\';if(q.G.6F!==1k){2V=(q.$1A.68()+q.$1A.2v().2V)+q.G.6L;4g=\'9E\'}$1n.1O({4g:4g,2c:2c,2V:2V+\'px\'}).2R()}O{E 2V=($1v.68()+7t.2V)+\'px\';$1n.1O({4g:\'9E\',2c:2c,2V:2V}).2R()}q.1W.2r(\'oP\',{1n:$1n,1l:1l,1v:$1v});q.$1n=$1n}$(1k).cl(\'2z.I-1n\',$.1d(q.1n.3s,q));q.$T.cl(\'2z.I-1n\',$.1d(q.1n.3s,q));$(1k).cl(\'2s.I-1n\',$.1d(q.1n.9t,q));$1n.on(\'ba.I-1n\',$.1d(q.L.dV,q)).on(\'b4.I-1n\',$.1d(q.L.b8,q));e.dK()},9t:C(e){if(e.7w!=q.3r.bG)F;q.1n.79();q.$T.2p()},79:C(){q.$1A.1h(\'a.7c\').2W(\'I-8x\').2W(\'7c\');q.L.b8();$(\'.I-1n-\'+q.2H).3s();$(\'.I-1n-V-hs\').2W(\'I-1n-V-hs\');if(q.$1n){q.$1n.3d(\'.I-1n\');q.1W.2r(\'ov\',q.$1n);q.$1n=N}},3s:C(e){E $1n=$(e.1Q);if(!$1n.3u(\'7c\')&&!$1n.3u(\'I-1n-V-e3\')){if($1n.3u(\'I-1n\')){$1n.2W(\'7c\');$1n.3d(\'ba b4\')}q.1n.79()}}}},1Z:C(){F{2R:C(){q.1b.2K(\'1Z\',q.1H.1a(\'1Z\'),hG);q.1w.3Q(\'#I-1b-1Z-1w\',q.G.7N,q.1Z.1Y);q.K.3o();q.K.1a();E 1g=q.2T.4o();$(\'#I-6f\').2L(1g);q.1b.2R()},1Y:C(2S,4W,e){if(1s 2S.6N!=\'1z\'){q.1b.4j();q.K.3e();q.1W.2r(\'oy\',2S);F}E V;if(1s 2S==\'70\'){V=2S}O{E 1g=$(\'#I-6f\').2L();if(1s 1g==\'1z\'||1g===\'\')1g=2S.6f;V=\'<a 2l="\'+2S.9D+\'" id="9D-2u">\'+1g+\'</a>\'}if(4W){q.K.8U();E 2u=q.K.71();q.1Y.de(e,2u)}O{q.1b.4j()}q.K.3e();q.28.1U();q.1Y.fz(V);if(1s 2S==\'70\')F;E 8f=$(q.$T.1h(\'a#9D-2u\'));if(8f.12!==0){8f.1L(\'id\').1L(\'1p\')}O 8f=N;q.1W.2r(\'7N\',8f,2S)}}},2p:C(){F{2O:C(){q.$T.2p();E 3I=q.$T.3R().3I();if(3I.12===0)F;if(3I[0].12===0||3I[0].1o==\'5i\'||3I[0].9R==3){F}if(3I[0].1o==\'8B\'||3I[0].1o==\'8h\'){E 4v=3I.1h(\'li\').3I();if(!q.L.6X(4v)&&4v.1g()===\'\'){q.1S.2O(4v);F}}if(q.G.1K&&!q.L.7f(3I[0].1o)){q.K.1a();q.14.2O(q.$T[0],0);q.14.3H(q.$T[0],0);q.K.4f();F}q.1S.2O(3I)},3H:C(){E 3c=q.$T.3R().3c();q.$T.2p();if(3c.8b()===0)F;if(q.L.3z(q.$T.B())){q.K.1a();q.14.42(1q);q.14.7z(3c[0]);q.14.3H(3c[0],0);q.K.4f()}O{q.K.1a();q.14.8H(3c[0]);q.14.42(N);q.K.4f()}},cI:C(){F q.$T[0]===1k.ou}}},M:C(){F{2R:C(){q.1b.2K(\'M\',q.1H.1a(\'M\'),hG);q.1w.3Q(\'#I-1b-M-4e\',q.G.7R,q.M.1Y);q.K.3o();q.1b.2R()},eF:C($M){E $V=$M.2o(\'a\',q.$T[0]);q.1b.2K(\'jb\',q.1H.1a(\'7F\'),oo);q.1b.bR();q.M.hE=q.1b.je(q.1H.1a(\'hF\'));q.M.hH=q.1b.c0(q.1H.1a(\'3o\'));q.M.hE.on(\'2z\',$.1d(C(){q.M.1t($M)},q));q.M.hH.on(\'2z\',$.1d(C(){q.M.hD($M)},q));$(\'.I-V-3m\').1t();$(\'#I-M-1J\').2L($M.1c(\'7v\'));if(!q.G.hI)$(\'.I-M-V-41\').3s();O{E $bN=$(\'#I-M-V\');$bN.1c(\'2l\',$M.1c(\'4q\'));if($V.12!==0){$bN.2L($V.1c(\'2l\'));if($V.1c(\'1Q\')==\'7J\')$(\'#I-M-V-87\').5X(\'a6\',1q)}}if(!q.G.hL)$(\'.I-M-4g-41\').3s();O{E hK=($M.1O(\'6D\')==\'Q\'&&$M.1O(\'7o\')==\'5p\')?\'5m\':$M.1O(\'7o\');$(\'#I-M-5f\').2L(hK)}q.1b.2R();$(\'#I-M-1J\').2p()},hC:C($M){E hJ=$(\'#I-M-5f\').2L();E bB=\'\';E cd=\'\';E 8r=\'\';fl(hJ){8A\'2c\':bB=\'2c\';8r=\'0 \'+q.G.8C+\' \'+q.G.8C+\' 0\';5U;8A\'4t\':bB=\'4t\';8r=\'0 0 \'+q.G.8C+\' \'+q.G.8C;5U;8A\'5m\':cd=\'Q\';8r=\'aF\';5U}$M.1O({\'7o\':bB,6D:cd,4G:8r});$M.1c(\'3X\',$M.1c(\'1p\'))},hD:C($M){q.M.7Z();q.28.1U();E $V=$M.2o(\'a\',q.$T[0]);E 1J=$(\'#I-M-1J\').2L().J(/(<([^>]+)>)/ig,"");$M.1c(\'7v\',1J);q.M.hC($M);E V=$.3h($(\'#I-M-V\').2L());E V=V.J(/(<([^>]+)>)/ig,"");if(V!==\'\'){E 7A=\'((kC--)?[a-7Y-9]+(-[a-7Y-9]+)*\\\\.)+[a-z]{2,}\';E 3K=2a 2n(\'^(9n|8l|5E)://\'+7A,\'i\');E al=2a 2n(\'^\'+7A,\'i\');if(V.3J(3K)==-1&&V.3J(al)===0&&q.G.5a){V=q.G.5a+\'://\'+V}E 1Q=($(\'#I-M-V-87\').5X(\'a6\'))?1q:N;if($V.12===0){E a=$(\'<a 2l="\'+V+\'">\'+q.L.6r($M)+\'</a>\');if(1Q)a.1c(\'1Q\',\'7J\');$M.2x(a)}O{$V.1c(\'2l\',V);if(1Q){$V.1c(\'1Q\',\'7J\')}O{$V.1L(\'1Q\')}}}O if($V.12!==0){$V.2x(q.L.6r($M))}q.1b.4j();q.1R.bK();q.1e.1T()},iV:C($M){if(q.G.ca){$M.on(\'oJ\',$.1d(q.M.a7,q))}E 7r=$.1d(C(e){q.1R.M=$M;q.M.8m=q.M.eI($M);$(1k).on(\'6j.I-M-4R-3s.\'+q.2H,$.1d(q.M.7Z,q));if(!q.G.cO)F;q.M.8m.on(\'6j.I 5B.I\',$.1d(C(e){q.M.hw(e,$M)},q))},q);$M.3d(\'6j.I\').on(\'6j.I\',$.1d(q.M.7Z,q));$M.3d(\'2z.I 5B.I\').on(\'2z.I 5B.I\',7r)},hw:C(e,$M){e.2t();q.M.4k={x:e.hv,y:e.bD,el:$M,bT:$M.2J()/$M.3l(),h:$M.3l()};e=e.7L||e;if(e.8z){q.M.4k.x=e.8z[0].hv;q.M.4k.y=e.8z[0].bD}q.M.hu()},hu:C(){$(1k).on(\'oI.I-M-4R oH.I-M-4R\',$.1d(q.M.ht,q));$(1k).on(\'jK.I-M-4R oD.I-M-4R\',$.1d(q.M.hy,q))},ht:C(e){e.2t();e=e.7L||e;E 3l=q.M.4k.h;if(e.8z)3l+=(e.8z[0].bD-q.M.4k.y);O 3l+=(e.bD-q.M.4k.y);E 2J=9H.hx(3l*q.M.4k.bT);if(3l<50||2J<6O)F;E 3l=9H.hx(q.M.4k.el.2J()/q.M.4k.bT);q.M.4k.el.1c({2J:2J,3l:3l});q.M.4k.el.2J(2J);q.M.4k.el.3l(3l);q.1e.1T()},hy:C(){q.jk=N;$(1k).3d(\'.I-M-4R\');q.M.7Z()},a7:C(e){if(q.$T.1h(\'#I-M-2P\').12!==0){e.2t();F N}q.$T.on(\'4Z.I-M-hB-4Z\',$.1d(C(){3w($.1d(q.M.aJ,q),1)},q))},aJ:C(){q.M.hA();q.1R.bK();q.$T.3d(\'4Z.I-M-hB-4Z\');q.1x.4r();q.1e.1T()},hA:C(){q.$T.1h(\'1M[1f-3o-2i]\').1u(C(){E $el=$(q);$el.1c(\'4q\',$el.1c(\'1f-3o-2i\'));$el.1L(\'1f-3o-2i\')})},7Z:C(e){if(e&&$(e.1Q).2o(\'#I-M-2P\',q.$T[0]).12!==0)F;if(e&&e.1Q.1o==\'ab\'){E $M=$(e.1Q);$M.1c(\'1f-3o-2i\',$M.1c(\'4q\'))}E 3D=q.$T.1h(\'#I-M-2P\');if(3D.12===0)F;$(\'#I-M-5I\').1t();$(\'#I-M-8m\').1t();3D.1h(\'1M\').1O({5Y:3D[0].1p.5Y,aC:3D[0].1p.aC,aW:3D[0].1p.aW,bI:3D[0].1p.bI});3D.1O(\'4G\',\'\');3D.1h(\'1M\').1O(\'ez\',\'\');3D.2x(C(){F $(q).25()});$(1k).3d(\'6j.I-M-4R-3s.\'+q.2H);if(1s q.M.4k!==\'1z\'){q.M.4k.el.1c(\'3X\',q.M.4k.el.1c(\'1p\'))}q.1e.1T()},eJ:C($M,3D){if(q.G.cO&&!q.L.6Y()){E 8e=$(\'<1i id="I-M-8m" 1f-I="3M"></1i>\');if(!q.L.7K()){8e.1O({2J:\'hz\',3l:\'hz\'})}8e.1c(\'5j\',N);3D.1E(8e);3D.1E($M);F 8e}O{3D.1E($M);F N}},eI:C($M){E 3D=$(\'<1i id="I-M-2P" 1f-I="3M">\');3D.1O(\'7o\',$M.1O(\'7o\')).1c(\'5j\',N);if($M[0].1p.4G!=\'aF\'){3D.1O({5Y:$M[0].1p.5Y,aC:$M[0].1p.aC,aW:$M[0].1p.aW,bI:$M[0].1p.bI});$M.1O(\'4G\',\'\')}O{3D.1O({\'6D\':\'Q\',\'4G\':\'aF\'})}$M.1O(\'ez\',\'.5\').3C(3D);if(q.G.ca){q.M.5I=$(\'<1i id="I-M-5I" 1f-I="3M">\'+q.1H.1a(\'7F\')+\'</1i>\');q.M.5I.1c(\'5j\',N);q.M.5I.on(\'2z\',$.1d(C(){q.M.eF($M)},q));3D.1E(q.M.5I);E eM=q.M.5I.7D();q.M.5I.1O(\'4G-2c\',\'-\'+eM/2+\'px\')}F q.M.eJ($M,3D)},1t:C(M){E $M=$(M);E $V=$M.2o(\'a\',q.$T[0]);E $6t=$M.2o(\'6t\',q.$T[0]);E $1r=$M.1r();if($(\'#I-M-2P\').12!==0){$1r=$(\'#I-M-2P\').1r()}E $1N;if($6t.12!==0){$1N=$6t.1N();$6t.1t()}O if($V.12!==0){$1r=$V.1r();$V.1t()}O{$M.1t()}$(\'#I-M-2P\').1t();if($6t.12!==0){q.1S.2O($1N)}O{q.1S.2O($1r)}q.1W.2r(\'dk\',$M[0].4q,$M);q.1b.4j();q.1e.1T()},1Y:C(2S,4W,e){if(1s 2S.6N!=\'1z\'){q.1b.4j();q.K.3e();q.1W.2r(\'pP\',2S);F}E $1M;if(1s 2S==\'70\'){$1M=$(2S).1c(\'1f-I-8F-M\',\'1q\')}O{$1M=$(\'<1M>\');$1M.1c(\'4q\',2S.9D).1c(\'1f-I-8F-M\',\'1q\')}E R=$1M;E cW=q.L.4Y(\'P\');if(cW){R=$(\'<29 />\').1E($1M)}if(4W){q.K.8U();E 2u=q.K.71();q.1Y.de(e,2u)}O{q.1b.4j()}q.K.3e();q.28.1U();q.1Y.B(q.L.6r(R),N);E $M=q.$T.1h(\'1M[1f-I-8F-M=1q]\').1L(\'1f-I-8F-M\');if(cW){$M.1r().25().48().6e(\'<p />\')}O if(q.G.1K){if(!q.L.3z(q.1e.1a())){$M.9N(\'<br>\')}$M.3C(\'<br>\')}if(1s 2S==\'70\')F;q.1W.2r(\'7R\',$M,2S)}}},3A:C(){F{9Y:C(){if(!q.L.1P(\'2G\'))q.$T.2p();q.28.1U();q.K.3o();E Q=q.K.49();if(Q&&Q.1o==\'5L\'){q.3A.fC()}O if(Q===N&&q.G.1K){q.3A.eV()}O{q.3A.fq()}q.K.3e();q.1e.1T()},fC:C(){1k.3Z(\'3A\');q.3A.9O();q.1x.a3();q.1x.4r()},fq:C(){$.1u(q.K.44(),$.1d(C(i,53){if(53.1o===\'6u\'||53.1o===\'cr\')F;E $el=q.L.aS(53);E 2c=q.L.cY($el.1O(\'4G-2c\'))+q.G.9M;$el.1O(\'4G-2c\',2c+\'px\')},q))},eV:C(){E 4N=q.K.6e(\'1j\');$(4N).1c(\'1f-8u\',\'I\');$(4N).1O(\'4G-2c\',q.G.9M+\'px\')},9v:C(){q.28.1U();q.K.3o();E Q=q.K.49();if(Q&&Q.1o==\'5L\'){q.3A.eP()}O{q.3A.ff()}q.K.3e();q.1e.1T()},eP:C(){1k.3Z(\'7n\');E 1B=q.K.3x();E $2w=$(1B).2o(\'li\',q.$T[0]);q.3A.9O();if(!q.G.1K&&$2w.12===0){1k.3Z(\'9S\',N,\'p\');q.$T.1h(\'3k, ol, 29, p\').1u($.1d(q.L.3T,q))}q.1x.4r()},ff:C(){$.1u(q.K.44(),$.1d(C(i,53){E $el=q.L.aS(53);E 2c=q.L.cY($el.1O(\'4G-2c\'))-q.G.9M;if(2c<=0){if(q.G.1K&&1s($el.1f(\'8u\'))!==\'1z\'){$el.2x($el.B()+\'<br />\')}O{$el.1O(\'4G-2c\',\'\');q.L.5C($el,\'1p\')}}O{$el.1O(\'4G-2c\',2c+\'px\')}},q))},9O:C(){E Q=q.K.49();if(q.14.4X&&Q&&Q.1o==\'5L\'&&q.L.3z($(Q).1g())){E $Q=$(Q);$Q.1h(\'1i\').5O(\'.I-K-2u\').25().48();$Q.1E(\'<br>\')}}}},26:C(){F{30:C(1y){E 1m,1F;if(1s q.30[1y].1p!=\'1z\')1m=\'1p\';O if(1s q.30[1y][\'1G\']!=\'1z\')1m=\'1G\';if(1m)1F=q.30[1y][1m];q.26.3a(q.30[1y].Y,1m,1F)},3a:C(Y,1m,1F){E 1B=q.K.3x();if(1B&&1B.1o===\'pN\')F;if(q.L.4Y(\'9J\')||q.L.ix())F;E 2e=[\'b\',\'4n\',\'i\',\'4h\',\'5r\',\'eD\',\'5S\',\'eZ\',\'fc\'];E es=[\'5d\',\'5d\',\'em\',\'em\',\'u\',\'4l\',\'4l\',\'7i\',\'7j\'];2D(E i=0;i<2e.12;i++){if(Y==2e[i])Y=es[i]}if(q.G.4s){if($.3t(Y,q.G.4s)==-1)F}O{if($.3t(Y,q.G.4c)!==-1)F}q.26.1m=1m||N;q.26.1F=1F||N;q.28.1U();if(!q.L.1P(\'2G\')&&!q.G.1K){q.$T.2p()}q.K.1a();if(q.14.4X){q.26.eN(Y)}O{q.26.eA(Y)}},eN:C(Y){E 1B=q.K.3x();E $1r=$(1B).2o(Y+\'[1f-I-Y=\'+Y+\']\',q.$T[0]);if($1r.12!==0&&(q.26.1m!=\'1p\'&&$1r[0].1o!=\'6x\')){if(q.L.3z($1r.1g())){q.1S.58($1r[0]);$1r.1t();q.1e.1T()}O if(q.L.6B($1r)){q.1S.58($1r[0])}F}E R=$(\'<\'+Y+\'>\').1c(\'1f-3M\',\'I\').1c(\'1f-I-Y\',Y);R.B(q.G.5Z);R=q.26.e5(R);E R=q.1Y.R(R);q.1S.3H(R);q.1e.1T()},eA:C(Y){q.26.eK(Y);q.K.3o();1k.3Z(\'eD\');q.$T.1h(\'7b\').1u($.1d(C(i,s){E $el=$(s);q.26.eL($el,Y);E $1i;if(q.26.1m){$1i=$(\'<1i>\').1c(\'1f-I-Y\',Y).1c(\'1f-3M\',\'I\');$1i=q.26.e5($1i)}O{$1i=$(\'<\'+Y+\'>\').1c(\'1f-I-Y\',Y).1c(\'1f-3M\',\'I\')}$el.2x($1i.B($el.25()));E $1r=$1i.1r();if($1i[0].1o===\'A\'&&$1r&&$1r[0].1o===\'U\'){$1i.1r().2x($1i)}if(Y==\'1i\'){if($1r&&$1r[0].1o===\'6x\'&&q.26.1m===\'1p\'){E 2E=q.26.1F.4A(\';\');2D(E z=0;z<2E.12;z++){if(2E[z]===\'\')F;E 1p=2E[z].4A(\':\');$1r.1O(1p[0],\'\');if(q.L.5C($1r,\'1p\')){$1r.2x($1r.25())}}}}},q));if(Y!=\'1i\'){q.$T.1h(q.G.4M.31(\', \')).1u($.1d(C(i,s){E $el=$(s);if(s.1o===\'U\'&&s.4z.12===0){$el.2x($el.25());F}E aD=$el.1O(\'1g-7e\');if(aD===\'3L-eB\'){$el.1O(\'1g-7e\',\'\');q.L.5C($el,\'1p\')}},q))}if(Y!=\'4l\'){E ar=q;q.$T.1h(\'26\').1u(C(i,s){ar.L.4x(s,\'4l\')})}if(Y!=\'u\'){E ar=q;q.$T.1h(\'eH\').1u(C(i,s){ar.L.4x(s,\'u\')})}q.K.3e();q.1e.1T()},eL:C($el,Y){E 3q=q;$el.3R(Y).1u(C(){E $4v=$(q);if(!$4v.3u(\'I-K-2u\')){if(3q.26.1m==\'1p\'){E 2E=3q.26.1F.4A(\';\');2D(E z=0;z<2E.12;z++){if(2E[z]===\'\')F;E 1p=2E[z].4A(\':\');$4v.1O(1p[0],\'\');if(3q.L.5C($4v,\'1p\')){$4v.2x($4v.25())}}}O{$4v.25().48()}}})},eK:C(Y){q.K.3o();E 1h=\'\';if(q.26.1m==\'1G\')1h=\'[1f-I-1G=\'+q.26.1F+\']\';O if(q.26.1m==\'1p\'){1h=\'[1f-I-1p="\'+q.26.1F+\'"]\'}E 3q=q;if(Y!=\'4l\'){q.$T.1h(\'4l\').1u(C(i,s){3q.L.4x(s,\'26\')})}if(Y!=\'u\'){q.$T.1h(\'u\').1u(C(i,s){3q.L.4x(s,\'eH\')})}if(Y!=\'1i\'){q.$T.1h(Y).1u(C(){E $el=$(q);$el.2x($(\'<7b />\').B($el.25()))})}q.$T.1h(\'[1f-I-Y="\'+Y+\'"]\'+1h).1u(C(){if(1h===\'\'&&Y==\'1i\'&&q.1o.3g()==Y)F;E $el=$(q);$el.2x($(\'<7b />\').B($el.25()))});q.K.3e()},e5:C(R){fl(q.26.1m){8A\'1G\':if(R.3u(q.26.1F)){R.2W(q.26.1F);R.1L(\'1f-I-1G\')}O{R.2g(q.26.1F);R.1c(\'1f-I-1G\',q.26.1F)}5U;8A\'1p\':R[0].1p.pY=q.26.1F;R.1c(\'1f-I-1p\',q.26.1F);5U}F R},q1:C(){q.28.1U();E 1B=q.K.3x();E 22=q.K.c9();q.K.3o();if(1B&&1B.1o===\'6x\'){E $s=$(1B);$s.1L(\'1p\');if($s[0].4z.12===0){$s.2x($s.25())}}$.1u(22,$.1d(C(i,s){E $s=$(s);if($.3t(s.1o.3g(),q.G.4M)!=-1&&!$s.3u(\'I-K-2u\')){$s.1L(\'1p\');if($s[0].4z.12===0){$s.2x($s.25())}}},q));q.K.3e();q.1e.1T()},q2:C(1y){q.28.1U();E 1r=q.K.6l();E 22=q.K.c9();q.K.3o();if(1r&&1r.1o===\'6x\'){E $s=$(1r);$s.1O(1y,\'\');q.L.5C($s,\'1p\');if($s[0].4z.12===0){$s.2x($s.25())}}$.1u(22,$.1d(C(i,s){E $s=$(s);if($.3t(s.1o.3g(),q.G.4M)!=-1&&!$s.3u(\'I-K-2u\')){$s.1O(1y,\'\');q.L.5C($s,\'1p\');if($s[0].4z.12===0){$s.2x($s.25())}}},q));q.K.3e();q.1e.1T()},e1:C(){q.28.1U();E 1B=q.K.3x();q.K.3o();1k.3Z(\'e1\');if(1B&&1B.1o===\'6x\'){$(1B).2x($(1B).25())}$.1u(q.K.6w(),$.1d(C(i,s){E $s=$(s);if($.3t(s.1o.3g(),q.G.4M)!=-1&&!$s.3u(\'I-K-2u\')){$s.2x($s.25())}},q));q.K.3e();q.1e.1T()},7C:C(3E){q.26.3a(\'1i\',\'1G\',3E)},pI:C(1F){q.26.3a(\'1i\',\'1p\',1F)}}},1Y:C(){F{1U:C(B,1x){q.3i.1t();B=q.1x.7d(B);if(1s 1x==\'1z\'){B=q.1x.8G(B,N)}q.$T.B(B);q.K.1t();q.2p.3H();q.1x.a3();q.1e.1T();q.1R.2K();if(1s 1x==\'1z\'){3w($.1d(q.1x.4r,q),10)}},1g:C(1g){q.3i.1t();1g=1g.4o();1g=$.3h(1g);1g=q.1x.ap(1g,N);q.$T.2p();if(q.L.1P(\'2G\')){q.1Y.dX(1g)}O{q.K.1a();q.14.57();E el=1k.3B("1j");el.3v=1g;E 4Q=1k.b0(),R,5G;55((R=el.aZ)){5G=4Q.74(R)}q.14.3P(4Q);if(5G){E 14=q.14.84();14.7z(5G);14.42(1q);q.2T.8R();q.2T.4f(14)}}q.1e.1T();q.1x.4r()},fz:C(B){q.1Y.B(B,N)},B:C(B,1x){q.3i.1t();if(1s 1x==\'1z\')1x=1q;if(!q.G.1K){q.$T.2p()}B=q.1x.7d(B);if(1x){B=q.1x.8G(B)}if(q.L.1P(\'2G\')){q.1Y.dX(B)}O{if(q.1x.8g)q.1Y.f0(B);O 1k.3Z(\'pq\',N,B);q.1Y.fj()}q.1x.a3();if(!q.G.1K){q.$T.1h(\'p\').1u($.1d(q.L.3T,q))}q.1e.1T();q.1R.2K();if(1x){q.1x.4r()}},fj:C(){if(!q.L.1P(\'4b\'))F;E $1N=$(q.K.49()).1N();if($1N.12>0&&$1N[0].1o==\'P\'&&$1N.B()===\'\'){$1N.1t()}},dX:C(B){if(q.L.hc()){E 1r=q.L.4Y(\'P\');E $B=$(\'<1j>\').1E(B);E fb=$B.25().is(\'p, :75, dl, 3k, ol, 1j, 3V, 2Y, 29, 2F, dW, 4d, 75, cc, eS, fo\');if(1r&&fb)q.1Y.eR(1r,B);O q.1Y.eQ(B);F}1k.K.8O().jI(B)},f0:C(B){B=q.1x.7d(B);q.K.1a();q.14.57();E el=1k.3B(\'1j\');el.3v=B;E 4Q=1k.b0(),R,5G;55((R=el.aZ)){5G=4Q.74(R)}q.14.3P(4Q);q.14.42(1q);q.1S.58(5G)},R:C(R,57){R=R[0]||R;E 2v=q.1S.8c();E B=q.L.6r(R);B=q.1x.7d(B);if(B.1V(/</g)!==4m){R=$(B)[0]}q.K.1a();if(57!==N){q.14.57()}q.14.3P(R);q.14.42(N);q.K.4f();q.1S.aH(2v);F R},ph:C(R,x,y){R=R[0]||R;q.K.1a();E 14;if(1k.a5){E 3y=1k.a5(x,y);q.14.2O(3y.fe,3y.2v);q.14.42(1q);q.14.3P(R)}O if(1k.aj){14=1k.aj(x,y);14.3P(R)}O if(1s 1k.3f.ak!="1z"){14=1k.3f.ak();14.am(x,y);E 7k=14.fh();7k.am(x,y);14.fg("eY",7k);14.7a()}},de:C(e,R){R=R[0]||R;E 14;E x=e.pj,y=e.pk;if(1k.a5){E 3y=1k.a5(x,y);E 2T=1k.4K();14=2T.67(0);14.2O(3y.fe,3y.2v);14.42(1q);14.3P(R)}O if(1k.aj){14=1k.aj(x,y);14.3P(R)}O if(1s 1k.3f.ak!="1z"){14=1k.3f.ak();14.am(x,y);E 7k=14.fh();7k.am(x,y);14.fg("eY",7k);14.7a()}},eR:C(1r,B){E R=1k.3B(\'1i\');R.3E=\'I-ie-5o\';q.1Y.R(R);E 78=$(1r).B();78=\'<p>\'+78.J(/<1i 1G="I-ie-5o"><\\/1i>/gi,\'</p>\'+B+\'<p>\')+\'</p>\';78=78.J(/<p><\\/p>/gi,\'\');$(1r).2x(78)},eQ:C(B){q.K.1a();q.14.57();E el=1k.3B("1j");el.3v=B;E 4Q=1k.b0(),R,5G;55((R=el.aZ)){5G=4Q.74(R)}q.14.3P(4Q);q.14.42(N);q.K.4f()}}},1D:C(){F{3Q:C(e){if(q.7T)F;E 1l=e.7w;E 54=(1l>=37&&1l<=40);q.1D.4a=e.9l||e.6I;q.1D.1B=q.K.3x();q.1D.1r=q.K.6l();q.1D.Q=q.K.49();q.1D.2F=q.L.9P(q.1D.1B,\'2F\');q.1D.29=q.L.9P(q.1D.1B,\'29\');q.1D.80=q.L.9P(q.1D.1B,\'80\');q.6a.3Q(e,1l);if(q.L.7K()){q.1D.fv(54,1l);q.1D.fp(e,1l)}q.1D.fm(54);q.1D.fr(e,1l);E eT=q.1W.2r(\'1D\',e);if(eT===N){e.2t();F N}if(q.G.aP&&(q.L.1P(\'2G\')||q.L.1P(\'4b\'))&&(1l===q.3r.dm||1l===q.3r.eW)){E di=N;E $3V=N;if(q.1D.Q&&q.1D.Q.1o===\'6u\'){$3V=$(q.1D.Q).2o(\'3V\',q.$T[0])}if($3V&&$3V.1h(\'2Y\').3c()[0]===q.1D.Q){di=1q}if(q.L.6B()&&di){E R=$(q.G.5V);$3V.3C(R);q.1S.2O(R)}}if(q.G.aP&&1l===q.3r.dm){q.1D.ew()}if(!q.G.aP&&1l===q.3r.6z){e.2t();if(!q.14.4X)q.14.57();F}if(1l==q.3r.6z&&!e.6Z&&!e.9l&&!e.6I){E eU=q.1W.2r(\'pB\',e);if(eU===N){e.2t();F N}if(q.1D.29&&q.1D.ju(e)===1q){F N}E 1B,$1N;if(q.1D.2F){F q.1D.kN(e)}O if(q.1D.29||q.1D.80){1B=q.K.3x();$1N=$(1B).1N();if($1N.12!==0&&$1N[0].1o==\'5i\'){F q.1D.6V(e)}O if(q.L.6B()&&(1B&&1B!=\'6x\')){F q.1D.8W(e)}O{F q.1D.6V(e)}}O if(q.G.1K&&!q.1D.Q){1B=q.K.3x();$1N=$(q.1D.1B).1N();if($1N.12!==0&&$1N[0].1o==\'5i\'){F q.1D.6V(e)}O if(1B!==N&&$(1B).3u(\'I-7m-3b\')){q.1S.58(1B);$(1B).25().48();F q.1D.8W(e)}O{if(q.L.e2()){F q.1D.8W(e)}O if($1N.12===0&&1B===N&&1s $1N.pw!=\'1z\'){F q.1D.6V(e)}F q.1D.6V(e)}}O if(q.G.1K&&q.1D.Q){3w($.1d(q.1D.ey,q),1)}O if(!q.G.1K&&q.1D.Q){3w($.1d(q.1D.eC,q),1);if(q.1D.Q.1o===\'5L\'){1B=q.K.3x();E $1r=$(1B).2o(\'li\',q.$T[0]);E $2d=$1r.2o(\'3k,ol\',q.$T[0]);if($1r.12!==0&&q.L.3z($1r.B())&&$2d.1N().12===0&&q.L.3z($2d.1h("li").3c().B())){$2d.1h("li").3c().1t();E R=$(q.G.5V);$2d.3C(R);q.1S.2O(R);F N}}}O if(!q.G.1K&&!q.1D.Q){F q.1D.hg(e)}}if(1l===q.3r.6z&&(e.9l||e.6Z)){F q.1D.eu(e)}if(1l===q.3r.da||e.6I&&1l===d8||e.6I&&1l===d3){F q.1D.ev(e,1l)}if(1l===q.3r.83||1l===q.3r.8S){E 22=q.K.6w();if(22){E 2q=22.12;E 3c;2D(E i=0;i<2q;i++){E 3R=$(22[i]).3R(\'1M\');if(3R.12!==0){E 3q=q;$.1u(3R,C(z,s){E $s=$(s);if($s.1O(\'7o\')!=\'5p\')F;3q.1W.2r(\'dk\',s.4q,$s);3c=s})}O if(22[i].1o==\'ab\'){if(3c!=22[i]){q.1W.2r(\'dk\',22[i].4q,$(22[i]));3c=22[i]}}}}}if(1l===q.3r.83){E Q=q.K.49();E fx=($(Q).1O(\'4G-2c\')!==\'pv\');if(Q&&fx&&q.14.4X&&q.L.iy()){q.3A.9v();e.2t();F}if(q.L.1P(\'4b\')){E 4B=q.K.k4();E bv=$(4B).4B()[0];if(4B&&4B.1o===\'fw\')$(4B).1t();if(bv&&bv.1o===\'fw\')$(bv).1t()}q.1D.kS();q.1D.kL(e)}q.1e.1T()},fv:C(54,1l){if(!54&&(q.1W.7x()==\'2z\'||q.1W.7x()==\'54\')){q.1W.93(N);if(q.1D.fy(1l)){q.28.1U()}}},fy:C(1l){E k=q.3r;E 4S=[k.83,k.8S,k.6z,k.bG,k.da,k.fB,k.fA,k.fu,k.ft];F($.3t(1l,4S)==-1)?1q:N},fm:C(54){if(!54)F;if((q.1W.7x()==\'2z\'||q.1W.7x()==\'54\')){q.1W.93(N);F}q.1W.93(\'54\')},fp:C(e,1l){if(q.1D.4a&&1l===90&&!e.6Z&&!e.fs&&q.G.28.12){e.2t();q.28.8P();F}O if(q.1D.4a&&1l===90&&e.6Z&&!e.fs&&q.G.8M.12!==0){e.2t();q.28.bC();F}O if(!q.1D.4a){if(1l==q.3r.83||1l==q.3r.8S||(1l==q.3r.6z&&!e.9l&&!e.6Z)){q.28.1U()}}},fr:C(e,1l){if(q.1D.4a&&1l===65){q.L.ex()}O if(1l!=q.3r.er&&!q.1D.4a){q.L.9z()}},ew:C(){E 2e=[q.1D.29,q.1D.2F,q.1D.80];2D(E i=0;i<2e.12;i++){if(2e[i]){q.1D.kY(2e[i]);F N}}},eu:C(e){q.28.1U();if(q.L.6B()){F q.1D.8W(e)}F q.1D.6V(e)},ev:C(e,1l){if(!q.G.et)F 1q;if(q.L.3z(q.1e.1a())&&q.G.b7===N)F 1q;e.2t();E R;if(q.1D.2F&&!e.6Z){R=(q.G.72)?1k.8Y(8Q(q.G.72+1).31(\'\\bm\')):1k.8Y(\'\\t\');q.1Y.R(R);q.1e.1T()}O if(q.G.b7!==N){R=1k.8Y(8Q(q.G.b7+1).31(\'\\bm\'));q.1Y.R(R);q.1e.1T()}O{if(e.6I&&1l===d3)q.3A.9v();O if(e.6I&&1l===d8)q.3A.9Y();O if(!e.6Z)q.3A.9Y();O q.3A.9v()}F N},ey:C(){E 4E=q.K.49();E bg=4E.3v.J(/<br\\s?\\/?>/gi,\'\');if((4E.1o===\'8a\'||4E.1o===\'P\')&&bg===\'\'&&!$(4E).3u(\'I-T\')){E br=1k.3B(\'br\');$(4E).2x(br);q.1S.dy(br);q.1e.1T();F N}},eC:C(){E 4E=q.K.49();E bg=4E.3v.J(/<br\\s?\\/?>/gi,\'\');if(4E.1o===\'8a\'&&q.L.3z(bg)&&!$(4E).3u(\'I-T\')){E p=1k.3B(\'p\');p.3v=q.G.5Z;$(4E).2x(p);q.1S.2O(p);q.1e.1T();F N}O if(q.G.eE&&4E.1o==\'P\'){$(4E).1L(\'1G\').1L(\'1p\')}},hg:C(e){e.2t();q.K.1a();E p=1k.3B(\'p\');p.3v=q.G.5Z;q.14.57();q.14.3P(p);q.1S.2O(p);q.1e.1T();F N},ju:C(e){if(!q.L.6B())F;E 5D=$.3h($(q.1D.Q).B());if(5D.3J(/(<br\\s?\\/?>){2}$/i)!=-1){e.2t();if(q.G.1K){E br=1k.3B(\'br\');$(q.1D.29).3C(br);q.1S.dy(br);$(q.1D.Q).B(5D.J(/<br\\s?\\/?>$/i,\'\'))}O{E R=$(q.G.5V);$(q.1D.29).3C(R);q.1S.2O(R)}F 1q}F},kY:C(2m){if(!q.L.6B())F;q.28.1U();if(q.G.1K){E 25=$(\'<1j>\').1E($.3h(q.$T.B())).25();E 3c=25.3c()[0];if(3c.1o==\'6x\'&&3c.3v===\'\'){3c=25.4B()[0]}if(q.L.6r(3c)!=q.L.6r(2m))F;E br=1k.3B(\'br\');$(2m).3C(br);q.1S.58(br)}O{if(q.$T.25().3c()[0]!==2m)F;E R=$(q.G.5V);$(2m).3C(R);q.1S.2O(R)}},kN:C(e){e.2t();E R=1k.8Y(\'\\n\');q.K.1a();q.14.57();q.14.3P(R);q.1S.58(R);q.1e.1T();F N},6V:C(e){F q.1D.dD(e)},8W:C(e){F q.1D.dD(e,1q)},dD:C(e,kP){e.dK();q.K.1a();E 5M=1k.3B(\'br\');if(q.L.1P(\'2G\')){q.14.42(N);q.14.3H(q.14.dL,q.14.dM)}O{q.14.57()}q.14.3P(5M);E $b5=$(5M).1r("a");if($b5.12>0){$b5.1h(5M).1t();$b5.3C(5M)}if(kP===1q){E $1N=$(5M).1N();if($1N.12!==0&&$1N[0].1o===\'5i\'&&q.L.e2()){q.1S.58(5M);q.1e.1T();F N}E dJ=1k.3B(\'br\');q.14.3P(dJ);q.1S.58(dJ)}O{if(q.L.1P(\'2G\')){E 3b=1k.3B(\'1i\');3b.3v=\'&#bL;\';$(5M).3C(3b);q.14.7z(3b);q.14.kZ(3b);$(3b).1t()}O{E 14=1k.8O();14.7z(5M);14.42(1q);E K=3p.4K();K.8R();K.4f(14)}}q.1e.1T();F N},kS:C(){E $1B=$(q.1D.1B);if($1B.1g().3J(/^\\6c$/g)===0){$1B.1t()}},kL:C(e){E $1B=$(q.1D.1B);E $1r=$(q.1D.1r);E 2Y=$1B.2o(\'2Y\',q.$T[0]);if(2Y.12!==0&&$1B.2o(\'li\',q.$T[0])&&$1r.3R(\'li\').12===1){if(!q.L.3z($1B.1g()))F;e.2t();$1B.1t();$1r.1t();q.1S.2O(2Y)}}}},2s:C(){F{3Q:C(e){if(q.7T)F;E 1l=e.7w;q.2s.1B=q.K.3x();q.2s.1r=q.K.6l();E $1r=q.L.4H($(q.2s.1r).1r());E ks=q.1W.2r(\'2s\',e);if(ks===N){e.2t();F N}if(!q.G.1K&&q.2s.1B.9R===3&&q.2s.1B.12<=1&&(q.2s.1r===N||q.2s.1r.1o==\'ed\')){q.2s.bs()}if(!q.G.1K&&q.L.4H(q.2s.1B)&&q.2s.1B.1o===\'8a\'){q.2s.bs(N)}if(!q.G.1K&&$(q.2s.1r).3u(\'I-7m-3b\')&&($1r===N||$1r[0].1o==\'ed\')){$(q.2s.1r).25().48();q.2s.bs()}if(q.2A.a1()&&q.2A.kn(1l))q.2A.3a();if(1l===q.3r.8S||1l===q.3r.83){if(q.L.1P(\'4b\')){E 2Y=$(q.1D.1B).2o(\'2Y\',q.$T[0]);if(2Y.8b()!==0&&2Y.1g()!==\'\'){e.2t();F N}}q.1x.4r();if(q.1R.M){e.2t();q.M.7Z();q.28.1U();q.M.1t(q.1R.M);q.1R.M=N;F N}q.$T.1h(\'p\').1u($.1d(C(i,s){q.L.3T(i,$(s).B())},q));if(q.G.1K&&q.2s.1B&&q.2s.1B.1o==\'8a\'&&q.L.3z(q.2s.1B.3v)){$(q.2s.1B).3C(q.K.5e());q.K.3e();$(q.2s.1B).1t()}q.2s.kt();F q.2s.ku(e)}},bs:C(9K){E $1B=$(q.2s.1B);E R;if(9K===N){R=$(\'<p>\').1E($1B.B())}O{R=$(\'<p>\').1E($1B.9K())}$1B.2x(R);E 1N=$(R).1N();if(1s(1N[0])!==\'1z\'&&1N[0].1o==\'5i\'){1N.1t()}q.1S.3H(R)},kt:C(){E d6=C(){E B=$.3h(q.3v).J(/\\/t\\/n/g,\'\');if(B===\'\'){$(q).1t()}};q.$T.1h(\'li\').1u(d6);q.$T.1h(\'3k, ol\').1u(d6)},ku:C(e){E B=$.3h(q.$T.B());if(!q.L.3z(B))F;e.2t();if(q.G.1K){q.$T.B(q.K.5e());q.K.3e()}O{q.$T.B(q.G.5V);q.2p.2O()}q.1e.1T();F N}}},1H:C(){F{2K:C(){q.G.d7=q.G.kv[q.G.1H]},1a:C(1y){F(1s q.G.d7[1y]!=\'1z\')?q.G.d7[1y]:\'\'}}},3L:C(){F{1Y:C(){q.28.1U();E 21=q.K.44();if(21[0]!==N&&q.3L.kq(21)){if(!q.L.1P(\'2G\'))q.$T.2p();F}if(q.L.1P(\'2G\')){q.3L.aM()}O{q.3L.km()}},kq:C(21){E 8Z=[\'li\',\'2Y\',\'6s\',\'29\',\'80\',\'2F\',\'dl\',\'dt\',\'dd\'];E 3I=21[0].1o.3g();E 3c=q.K.kc();3c=(1s 3c==\'1z\')?3I:3c.1o.3g();E d0=$.3t(3I,8Z)!=-1;E kl=$.3t(3c,8Z)!=-1;if((d0&&kl)||d0){F 1q}},aM:C(){q.L.9x();q.28.1U();q.1Y.R(1k.3B(\'hr\'));q.L.bh();q.1e.1T()},km:C(){q.28.1U();E d9=\'<p id="I-1Y-3L"><br /></p>\';if(q.G.1K)d9=\'<br id="I-1Y-3L">\';1k.3Z(\'py\',N,\'<hr>\'+d9);q.3L.ko();q.1e.1T()},ko:C(){E R=q.$T.1h(\'#I-1Y-3L\');E 1N=$(R).1N()[0];E 1Q=1N;if(q.L.1P(\'4b\')&&1N&&1N.3v===\'\'){1Q=$(1N).1N()[0];$(1N).1t()}if(1Q){R.1t();if(!q.G.1K){q.$T.2p();q.3L.2O(1Q)}}O{R.1L(\'id\');q.3L.2O(R[0])}},2O:C(R){if(1s R===\'1z\')F;E kw=1k.8Y(\'\\6c\');q.K.1a();q.14.2O(R,0);q.14.3P(kw);q.14.42(1q);q.K.4f()}}},V:C(){F{2R:C(e){if(1s e!=\'1z\'&&e.2t)e.2t();if(!q.1R.cD(\'a\')){q.1b.2K(\'V\',q.1H.1a(\'b2\'),kx)}O{q.1b.2K(\'V\',q.1H.1a(\'e6\'),kx)}q.1b.bR();E kG=!q.1R.cD(\'a\')?q.1H.1a(\'1Y\'):q.1H.1a(\'7F\');q.V.kJ=q.1b.c0(kG);q.K.1a();q.V.kB();q.V.kK();if(q.V.1Q==\'7J\')$(\'#I-V-87\').5X(\'a6\',1q);q.V.$8I=$(\'#I-V-2i\');q.V.$dP=$(\'#I-V-2i-1g\');q.V.$dP.2L(q.V.1g);q.V.$8I.2L(q.V.2i);q.V.kJ.on(\'2z\',$.1d(q.V.1Y,q));$(\'.I-V-3m\').1t();q.K.3o();q.1b.2R();q.V.$8I.2p()},kK:C(){E kE=3q.kz.2l.J(/\\/$/i,\'\');if(1s q.V.2i!=="1z"){q.V.2i=q.V.2i.J(kE,\'\');q.V.2i=q.V.2i.J(/^\\/#/,\'#\');q.V.2i=q.V.2i.J(\'aa:\',\'\');if(!q.G.5a){E 3K=2a 2n(\'^(9n|8l|5E)://\'+3q.kz.pC,\'i\');q.V.2i=q.V.2i.J(3K,\'\')}}},kB:C(){q.V.$R=N;E $el=$(q.K.3x()).2o(\'a\',q.$T[0]);if($el.12!==0&&$el[0].1o===\'A\'){q.V.$R=$el;q.V.2i=$el.1c(\'2l\');q.V.1g=$el.1g();q.V.1Q=$el.1c(\'1Q\')}O{q.V.1g=q.2T.4o();q.V.2i=\'\';q.V.1Q=\'\'}},1Y:C(){q.3i.1t();E 1Q=\'\';E V=q.V.$8I.2L();E 1g=q.V.$dP.2L().J(/(<([^>]+)>)/ig,"");if($.3h(V)===\'\'){q.V.$8I.2g(\'I-3G-6N\').on(\'2s\',C(){$(q).2W(\'I-3G-6N\');$(q).3d(\'2s\')});F}if(V.3J(\'@\')!=-1&&/(9n|8l|5E):\\/\\//i.ai(V)===N){V=V.J(\'aa:\',\'\');V=\'aa:\'+V}O if(V.3J(\'#\')!==0){if($(\'#I-V-87\').5X(\'a6\')){1Q=\'7J\'}E 7A=\'((kC--)?[a-7Y-9]+(-[a-7Y-9]+)*\\\\.)+[a-z]{2,}\';E 3K=2a 2n(\'^(9n|8l|5E)://\'+7A,\'i\');E al=2a 2n(\'^\'+7A,\'i\');E kF=2a 2n(\'\\.(B|pD)$\',\'i\');if(V.3J(3K)==-1&&V.3J(kF)==-1&&V.3J(al)===0&&q.G.5a){V=q.G.5a+\'://\'+V}}q.V.1U(1g,V,1Q);q.1b.4j()},1U:C(1g,V,1Q){1g=$.3h(1g.J(/<|>/g,\'\'));q.K.3e();E 21=q.K.44();if(1g===\'\'&&V===\'\')F;if(1g===\'\'&&V!==\'\')1g=V;if(q.V.$R){q.28.1U();E $V=q.V.$R,$el=$V.3R();if($el.12>0){55($el.12){$el=$el.3R()}$el=$el.2j()}O{$el=$V}$V.1c(\'2l\',V);$el.1g(1g);if(1Q!==\'\'){$V.1c(\'1Q\',1Q)}O{$V.1L(\'1Q\')}q.K.8L($V);q.1e.1T()}O{if(q.L.1P(\'4b\')&&q.V.1g===\'\'){E $a=$(\'<a />\').1c(\'2l\',V).1g(1g);if(1Q!==\'\')$a.1c(\'1Q\',1Q);$a=$(q.1Y.R($a));if(q.G.1K){$a.3C(\'&5k;\')}q.K.8L($a)}O{E $a;if(q.L.1P(\'2G\')){$a=$(\'<a 2l="\'+V+\'">\').1g(1g);if(1Q!==\'\')$a.1c(\'1Q\',1Q);$a=$(q.1Y.R($a));if(q.K.cX().1V(/\\s$/)){$a.3C(" ")}q.K.8L($a)}O{1k.3Z(\'pE\',N,V);$a=$(q.K.3x()).2o(\'a\',q.$T[0]);if(q.L.1P(\'4b\')){$a=$(\'a[kI=""]\')}if(1Q!==\'\')$a.1c(\'1Q\',1Q);$a.1L(\'1p\').1L(\'kI\');if(q.K.cX().1V(/\\s$/)){$a.3C(" ")}if(q.V.1g!==\'\'||q.V.1g!=1g){if(!q.G.1K&&21&&21.12<=1){$a.1g(1g)}O if(q.G.1K){$a.1g(1g)}q.K.8L($a)}}}q.1e.1T();q.1W.2r(\'pu\',$a)}3w($.1d(C(){q.1R.5A()},q),5)},6J:C(e){if(1s e!=\'1z\'&&e.2t){e.2t()}E 22=q.K.6w();if(!22)F;q.28.1U();E 2q=22.12;E 5A=[];2D(E i=0;i<2q;i++){if(22[i].1o===\'A\'){5A.2N(22[i])}E $R=$(22[i]).2o(\'a\',q.$T[0]);$R.2x($R.25())}q.1W.2r(\'pt\',5A);$(\'.I-V-3m\').1t();q.1e.1T()},7C:C(3E){q.V.9o(3E,\'7C\')},2g:C(3E){q.V.9o(3E,\'2g\')},2W:C(3E){q.V.9o(3E,\'2W\')},9o:C(3E,1C){E 5A=q.K.ke([\'a\']);if(5A===N)F;$.1u(5A,C(){$(q)[1C](3E)})}}},2A:C(){F{kn:C(1l){F 1l==q.3r.6z||1l==q.3r.kk},a1:C(){F q.G.ax&&(q.G.ek||q.G.e9||q.G.9q)&&!q.L.4Y(\'9J\')},3a:C(){E 2A=q.2A,G=q.G;q.$T.1h(":5O(4J,1M,a,2F)").pi().25().dO(C(){F q.9R===3&&$.3h(q.5P)!=""&&!$(q).1r().is("2F")&&(q.5P.1V(G.2A.4p.6Q)||q.5P.1V(G.2A.4p.6T)||q.5P.1V(G.2A.4p.M)||q.5P.1V(G.2A.4p.2i))}).1u(C(){E 1g=$(q).1g(),B=1g;if(G.9q&&(B.1V(G.2A.4p.6Q)||B.1V(G.2A.4p.6T))){B=2A.9q(B)}O if(G.e9&&B.1V(G.2A.4p.M)){B=2A.kQ(B)}O if(G.ek){B=2A.ax(B)}$(q).9N(1g.J(1g,B)).1t()});E kp=q.$T.1h(\'.I-2A-43\').1u(C(){E $el=$(q);$el.2W(\'I-2A-43\');if($el.1c(\'1G\')===\'\')$el.1L(\'1G\');F $el[0]});3w($.1d(C(){q.1R.2K();q.1W.2r(\'2A\',kp)},q),6O);q.1e.1T()},9q:C(B){E e0=\'<4J 1G="I-2A-43" 2J="pn" 3l="ps" 4q="\',dR=\'" pr="0" po></4J>\';if(B.1V(q.G.2A.4p.6Q)){B=B.J(q.G.2A.4p.6Q,e0+\'//7S.6Q.aK/7M/$1\'+dR)}if(B.1V(q.G.2A.4p.6T)){B=B.J(q.G.2A.4p.6T,e0+\'//q3.6T.aK/6S/$2\'+dR)}F B},kQ:C(B){E 3N=B.1V(q.G.2A.4p.M);if(3N){B=B.J(B,\'<1M 4q="\'+3N+\'" 1G="I-2A-43" />\');if(q.G.1K){if(!q.L.3z(q.1e.1a())){B=\'<br>\'+B}}B+=\'<br>\'}F B},ax:C(B){E 3N=B.1V(q.G.2A.4p.2i);if(3N){3N=$.q7(3N,C(v,k){F $.3t(v,3N)===k});E 12=3N.12;2D(E i=0;i<12;i++){E 2l=3N[i],1g=2l,5a=q.G.5a+\'://\';if(2l.1V(/(5E?|8l):\\/\\//i)!==4m){5a=""}if(1g.12>q.G.ec){1g=1g.ac(0,q.G.ec)+\'...\'}if(1g.3J(\'%\')===-1){1g=j2(1g)}E cz="\\\\b";if($.3t(2l.dn(-1),["/","&","="])!=-1){cz=""}E kV=2a 2n(\'(\'+2l.J(/[\\-\\[\\]\\/\\{\\}\\(\\)\\*\\+\\?\\.\\\\\\^\\$\\|]/g,"\\\\$&")+cz+\')\',\'g\');B=B.J(kV,\'<a 2l="\'+5a+$.3h(2l)+\'" 1G="I-2A-43">\'+$.3h(1g)+\'</a>\')}}F B}}},2d:C(){F{3j:C(4F){q.3i.1t();if(!q.L.1P(\'2G\')&&!q.G.1K){q.$T.2p()}q.28.1U();q.K.3o();E 1r=q.K.6l();E $2d=$(1r).2o(\'ol, 3k\',q.$T[0]);if(!q.L.4H($2d)&&$2d.12!==0){$2d=N}E bU,bV;E 1t=N;if($2d&&$2d.12){1t=1q;E bS=$2d[0].1o;bU=(4F===\'5u\'&&bS===\'8B\');bV=(4F===\'5q\'&&bS===\'8h\')}if(bU){q.L.4x($2d,\'ol\')}O if(bV){q.L.4x($2d,\'3k\')}O{if(1t){q.2d.1t(4F,$2d)}O{q.2d.1Y(4F)}}q.K.3e();q.1e.1T()},1Y:C(4F){E 1B=q.K.3x();E $2Y=$(1B).2o(\'2Y, 6s\',q.$T[0]);if(q.L.1P(\'2G\')&&q.G.1K){q.2d.aM(4F)}O{1k.3Z(\'1Y\'+4F)}E 1r=q.K.6l();E $2d=$(1r).2o(\'ol, 3k\',q.$T[0]);if($2Y.12!==0){E kW=$2Y.9K();$2Y.3C(kW).1t(\'\')}if(q.L.3z($2d.1h(\'li\').1g())){E $3R=$2d.3R(\'li\');$3R.1h(\'br\').1t();$3R.1E(q.K.5e());if(q.G.1K&&q.L.1P(\'4b\')&&$3R.8b()==2&&q.L.3z($3R.eq(1).1g())){$3R.eq(1).1t()}}if($2d.12){E $88=$2d.1r();if(q.L.4H($88)&&$88[0].1o!=\'5L\'&&q.L.6X($88[0])){$88.2x($88.25())}}if(!q.L.1P(\'2G\')){q.$T.2p()}q.1x.4r()},aM:C(4F){E 4N=q.K.6e(\'1j\');E aQ=$(4N).B();E 7s=(4F==\'5u\')?$(\'<ol>\'):$(\'<3k>\');E 9f=$(\'<li>\');if($.3h(aQ)===\'\'){9f.1E(q.K.5e());7s.1E(9f);q.$T.1h(\'#K-2u-1\').2x(7s)}O{E 8T=aQ.4A(/<br\\s?\\/?>/gi);if(8T){2D(E i=0;i<8T.12;i++){if($.3h(8T[i])!==\'\'){7s.1E($(\'<li>\').B(8T[i]))}}}O{9f.1E(aQ);7s.1E(9f)}$(4N).2x(7s)}},1t:C(4F,$2d){if($.3t(\'3k\',q.K.44()))4F=\'5q\';1k.3Z(\'1Y\'+4F);E $1B=$(q.K.3x());q.3A.9O();if(!q.G.1K&&$1B.2o(\'li, 6s, 2Y\',q.$T[0]).12===0){1k.3Z(\'9S\',N,\'p\');q.$T.1h(\'3k, ol, 29\').1u($.1d(q.L.3T,q))}E $3V=$(q.K.3x()).2o(\'3V\',q.$T[0]);E $4B=$3V.4B();if(!q.G.1K&&$3V.12!==0&&$4B.12!==0&&$4B[0].1o==\'5i\'){$4B.1t()}q.1x.4r()}}},1b:C(){F{bw:{},ja:C(){q.G.1b={jb:62()+\'<4d id="I-1b-M-7F">\'+\'<2M>\'+q.1H.1a(\'1J\')+\'</2M>\'+\'<3G 1m="1g" id="I-M-1J" />\'+\'<2M 1G="I-M-V-41">\'+q.1H.1a(\'V\')+\'</2M>\'+\'<3G 1m="1g" id="I-M-V" 1G="I-M-V-41" 4O-2M="\'+q.1H.1a(\'V\')+\'" />\'+\'<2M 1G="I-M-V-41"><3G 1m="j6" id="I-M-V-87" 4O-2M="\'+q.1H.1a(\'a9\')+\'"> \'+q.1H.1a(\'a9\')+\'</2M>\'+\'<2M 1G="I-M-4g-41">\'+q.1H.1a(\'ck\')+\'</2M>\'+\'<7a 1G="I-M-4g-41" id="I-M-5f" 4O-2M="\'+q.1H.1a(\'ck\')+\'">\'+\'<41 1F="5p">\'+q.1H.1a(\'5p\')+\'</41>\'+\'<41 1F="2c">\'+q.1H.1a(\'2c\')+\'</41>\'+\'<41 1F="5m">\'+q.1H.1a(\'5m\')+\'</41>\'+\'<41 1F="4t">\'+q.1H.1a(\'4t\')+\'</41>\'+\'</7a>\'+\'</4d>\',M:62()+\'<4d id="I-1b-M-1Y">\'+\'<1j id="I-1b-M-4e"></1j>\'+\'</4d>\',1Z:62()+\'<4d id="I-1b-1Z-1Y">\'+\'<1j id="I-1b-1Z-1w-2P">\'+\'<2M>\'+q.1H.1a(\'6f\')+\'</2M>\'+\'<3G 1m="1g" id="I-6f" 4O-2M="\'+q.1H.1a(\'6f\')+\'" /><br><br>\'+\'<1j id="I-1b-1Z-1w"></1j>\'+\'</1j>\'+\'</4d>\',V:62()+\'<4d id="I-1b-V-1Y">\'+\'<2M>cg</2M>\'+\'<3G 1m="2i" id="I-V-2i" 4O-2M="cg" />\'+\'<2M>\'+q.1H.1a(\'1g\')+\'</2M>\'+\'<3G 1m="1g" id="I-V-2i-1g" 4O-2M="\'+q.1H.1a(\'1g\')+\'" />\'+\'<2M><3G 1m="j6" id="I-V-87"> \'+q.1H.1a(\'a9\')+\'</2M>\'+\'</4d>\'};$.7h(q.G,q.G.1b)},ct:C(1y,2B){q.1b.bw[1y]=2B},pM:C($1b){q.1b.$9b=$(\'<1j>\').1c(\'id\',\'I-1b-9b\');$1b.6C(q.1b.$9b)},pK:C(id,1y,8k){E $5t=$(\'<a 2l="#" 3X="5t\'+id+\'">\').1g(1y);if(8k){$5t.2g(\'8k\')}E 3q=q;$5t.on(\'2z\',C(e){e.2t();$(\'.I-5t\').3s();$(\'.I-\'+$(q).1c(\'3X\')).2R();3q.1b.$9b.1h(\'a\').2W(\'8k\');$(q).2g(\'8k\')});q.1b.$9b.1E($5t)},pL:C(1y,j3){q.G.1b[1y]=j3},jm:C(1y){F q.G.1b[1y]},pQ:C(){F q.$bo.1h(\'4d\')},2K:C(6m,1J,2J){q.1b.6m=6m;q.1b.2J=2J;q.1b.2f();q.1b.iG();q.1b.jd(1J);q.1b.jn();q.1b.jl();if(1s q.1b.bw[6m]!=\'1z\'){q.1b.bw[6m].64(q)}},2R:C(){q.L.dV();if(q.L.6Y()){q.1b.bX()}O{q.1b.af()}if(q.G.bO){q.$4C.2g("I-1b-j4")}q.$81.2R();q.$4C.2R();q.$1b.1c(\'6G\',\'-1\');q.$1b.2p();q.1b.jg();q.L.9x();if(!q.L.6Y()){3w($.1d(q.1b.af,q),0);$(3p).on(\'4R.I-1b\',$.1d(q.1b.4R,q))}q.1W.2r(\'pV\',q.1b.6m,q.$1b);$(1k).3d(\'pU.1b\');q.$1b.1h(\'3G[1m=1g],3G[1m=2i],3G[1m=pT]\').on(\'1D.I-1b\',$.1d(q.1b.jj,q))},af:C(){E 3l=q.$1b.pR();E bc=$(3p).3l();E 89=$(3p).2J();if(q.1b.2J>89){q.$1b.1O({2J:\'96%\',5Y:(bc/2-3l/2)+\'px\'});F}if(3l>bc){q.$1b.1O({2J:q.1b.2J+\'px\',5Y:\'pS\'})}O{q.$1b.1O({2J:q.1b.2J+\'px\',5Y:(bc/2-3l/2)+\'px\'})}},bX:C(){q.$1b.1O({2J:\'96%\',5Y:\'2%\'})},4R:C(){if(q.L.6Y()){q.1b.bX()}O{q.1b.af()}},jd:C(1J){q.$8q.B(1J)},jl:C(){q.$bo.B(q.1b.jm(q.1b.6m))},jn:C(){if(1s $.fn.jo===\'1z\')F;q.$1b.jo({jk:q.$8q});q.$8q.1O(\'pg\',\'pf\')},jj:C(e){if(e.7w!=13)F;e.2t();q.$1b.1h(\'1v.I-1b-7O-23\').2z()},bR:C(){E 1v=$(\'<1v>\').2g(\'I-1b-23 I-1b-4j-23\').B(q.1H.1a(\'jf\'));1v.on(\'2z\',$.1d(q.1b.4j,q));q.$8w.1E(1v)},je:C(2M){F q.1b.c1(2M,\'82\')},c0:C(2M){F q.1b.c1(2M,\'7O\')},c1:C(2M,3E){E 1v=$(\'<1v>\').2g(\'I-1b-23\').2g(\'I-1b-\'+3E+\'-23\').B(2M);q.$8w.1E(1v);F 1v},jg:C(){E 4i=q.$8w.1h(\'1v\');E bW=4i.12;if(bW===0)F;4i.1O(\'2J\',(6O/bW)+\'%\')},2f:C(){q.1b.iH();q.$4C=$(\'<1j id="I-1b-2P"/>\').3s();q.$1b=$(\'<1j id="I-1b" 9C="oG" 4O-oF="I-1b-75" />\');q.$8q=$(\'<75 id="I-1b-75"/>\');q.$8t=$(\'<1v 1m="1v" id="I-1b-4j" 6G="1" 4O-2M="oN" />\').B(\'&oM;\');q.$bo=$(\'<1j id="I-1b-3f" />\');q.$8w=$(\'<cc />\');q.$1b.1E(q.$8q);q.$1b.1E(q.$8t);q.$1b.1E(q.$bo);q.$1b.1E(q.$8w);q.$4C.1E(q.$1b);q.$4C.bl(1k.3f)},iH:C(){q.$81=$(\'<1j id="I-1b-oB">\').3s();$(\'3f\').6C(q.$81)},iG:C(){q.$8t.on(\'2z.I-1b\',$.1d(q.1b.4j,q));$(1k).on(\'2s.I-1b\',$.1d(q.1b.9t,q));q.$T.on(\'2s.I-1b\',$.1d(q.1b.9t,q));q.$4C.on(\'2z.I-1b\',$.1d(q.1b.4j,q))},iF:C(){q.$8t.3d(\'2z.I-1b\');$(1k).3d(\'2s.I-1b\');q.$T.3d(\'2s.I-1b\');q.$4C.3d(\'2z.I-1b\');$(3p).3d(\'4R.I-1b\')},9t:C(e){if(e.7w!=q.3r.bG)F;q.1b.4j(N)},4j:C(e){if(e){if(!$(e.1Q).3u(\'I-1b-4j-23\')&&e.1Q!=q.$8t[0]&&e.1Q!=q.$4C[0]){F}e.2t()}if(!q.$4C)F;q.1b.iF();q.L.b8();q.$81.1t();q.$4C.jW(\'oq\',$.1d(C(){q.$4C.1t();3w($.1d(q.L.bh,q),0);if(e!==1z)q.K.3e();$(1k.3f).1O(\'bn\',q.1b.op);q.1W.2r(\'om\',q.1b.6m)},q))}}},1R:C(){F{2K:C(){if(1s q.G.iz!="1z")F;if(q.L.1P(\'2G\')){E 3q=q;q.$T.1h(\'2F, 1e\').on(\'ba\',C(){3q.$T.1c(\'5j\',N);$(q).1c(\'5j\',1q)}).on(\'b4\',C(){3q.$T.1c(\'5j\',1q);$(q).1L(\'5j\')})}q.1R.bK();q.1R.5A()},1A:C(e,2h){q.1R.4i(e,2h);q.1R.7H()},cD:C($el,$1B){if(1s $1B==\'1z\'){E $1B=$(q.K.3x())}F $1B.is($el)||$1B.eG($el).12>0},7H:C(){E $1B=$(q.K.3x());$.1u(q.G.1R.7H,$.1d(C(1l,1F){E 1R=1F.1R,2m=1R.2m,$2w=1F.2w,cM=1s 1R[\'in\']!=\'1z\'?1R[\'in\']:N,cL=1s 1R[\'2k\']!=\'1z\'?1R[\'2k\']:N;if($1B.2o(2m).8b()>0){q.1R.cT($2w,cM,cL)}O{q.1R.cT($2w,cL,cM)}},q))},cT:C($2w,8D,b6){if(b6&&1s b6[\'1c\']!=\'1z\'){q.1R.cV($2w,b6.1c,1q)}if(1s 8D[\'1c\']!=\'1z\'){q.1R.cV($2w,8D.1c)}if(1s 8D[\'1J\']!=\'1z\'){$2w.1g(8D[\'1J\'])}},cV:C($2w,iD,cR){$.1u(iD,C(1l,1F){if(1l==\'1G\'){if(!cR){$2w.2g(1F)}O{$2w.2W(1F)}}O{if(!cR){$2w.1c(1l,1F)}O{$2w.1L(1l)}}})},cN:C($2w,2h,2U){if(1s 2U.1R=="1z")F;2U.2w=$2w;q.G.1R.7H.2N(2U)},4i:C(e,2h){E 1B=q.K.3x();E 1r=q.K.6l();if(e!==N){q.1v.cP()}O{q.1v.cP(2h)}if(e===N&&2h!==\'B\'){if($.3t(2h,q.G.aN)!=-1)q.1v.ow(2h);F}$.1u(q.G.cj,$.1d(C(1l,1F){E bd=$(1r).2o(1l,q.$T[0]);E cn=$(1B).2o(1l,q.$T[0]);if(bd.12!==0&&!q.L.4H(bd))F;if(!q.L.4H(cn))F;if(bd.12!==0||cn.2o(1l,q.$T[0]).12!==0){q.1v.8j(1F)}},q));E $1r=$(1r).2o(q.G.9y.4o().3g(),q.$T[0]);if(q.L.4H(1r)&&$1r.12){E 5f=($1r.1O(\'1g-5f\')===\'\')?\'2c\':$1r.1O(\'1g-5f\');q.1v.8j(\'5f\'+5f)}},p9:C(Y,2h){q.G.aN.2N(2h);q.G.cj[Y]=2h},bK:C(){q.$T.1h(\'1M\').1u($.1d(C(i,1M){E $1M=$(1M);$1M.2o(\'a\',q.$T[0]).on(\'2z\',C(e){e.2t()});if(q.L.1P(\'2G\'))$1M.1c(\'pa\',\'on\');q.M.iV($1M)},q));$(1k).on(\'2z.I-M-82.\'+q.2H,$.1d(C(e){q.1R.M=N;if(e.1Q.1o==\'ab\'&&q.L.4H(e.1Q)){q.1R.M=(q.1R.M&&q.1R.M==e.1Q)?N:e.1Q}},q))},5A:C(){if(!q.G.iW)F;q.$T.1h(\'a\').on(\'5B.I.\'+q.2H+\' 2z.I.\'+q.2H,$.1d(q.1R.iX,q));q.$T.on(\'5B.I.\'+q.2H+\' 2z.I.\'+q.2H,$.1d(q.1R.cp,q));$(1k).on(\'5B.I.\'+q.2H+\' 2z.I.\'+q.2H,$.1d(q.1R.cp,q))},iT:C($V){F $V.2v()},iX:C(e){E $el=$(e.1Q);if($el[0].1o==\'ab\')F;if($el[0].1o!==\'A\')$el=$el.2o(\'a\',q.$T[0]);if($el[0].1o!==\'A\')F;E $V=$el;E 3y=q.1R.iT($V);E 3m=$(\'<1i 1G="I-V-3m"></1i>\');E 2l=$V.1c(\'2l\');if(2l===1z){2l=\'\'}if(2l.12>24)2l=2l.ac(0,24)+\'...\';E iN=$(\'<a 2l="\'+$V.1c(\'2l\')+\'" 1Q="7J" />\').B(2l).2g(\'I-V-3m-7O\');E iP=$(\'<a 2l="#" />\').B(q.1H.1a(\'7F\')).on(\'2z\',$.1d(q.V.2R,q)).2g(\'I-V-3m-7O\');E iQ=$(\'<a 2l="#" />\').B(q.1H.1a(\'6J\')).on(\'2z\',$.1d(q.V.6J,q)).2g(\'I-V-3m-7O\');3m.1E(iN).1E(\' | \').1E(iP).1E(\' | \').1E(iQ);3m.1O({2V:(3y.2V+5H($V.1O(\'3L-3l\'),10))+\'px\',2c:3y.2c+\'px\'});$(\'.I-V-3m\').1t();$(\'3f\').1E(3m)},cp:C(e){e=e.7L||e;E 1Q=e.1Q;E $1r=$(1Q).2o(\'a\',q.$T[0]);if($1r.12!==0&&$1r[0].1o===\'A\'&&1Q.1o!==\'A\'){F}O if((1Q.1o===\'A\'&&q.L.4H(1Q))||$(1Q).3u(\'I-V-3m-7O\')){F}$(\'.I-V-3m\').1t()}}},2X:C(){F{2K:C(B){if(q.G.1K)F B;if(B===\'\'||B===\'<p></p>\')F q.G.5V;B=B+"\\n";q.2X.9U=[];q.2X.z=0;B=B.J(/(<br\\s?\\/?>){1,}\\n?<\\/29>/gi,\'</29>\');B=q.2X.iR(B);B=q.2X.jp(B);B=q.2X.k1(B);B=q.2X.k0(B);B=q.2X.9e(B);B=q.2X.jq(B);B=B.J(2a 2n(\'<br\\\\s?/?>\\n?<(\'+q.G.co.31(\'|\')+\')(.*?[^>])>\',\'gi\'),\'<p><br /></p>\\n<$1$2>\');F $.3h(B)},iR:C(B){E $1j=$(\'<1j />\').1E(B);$1j.1h(\'29 p\').2x(C(){F $(q).1E(\'<br />\').25()});B=$1j.B();$1j.1h(q.G.co.31(\', \')).1u($.1d(C(i,s){q.2X.z++;q.2X.9U[q.2X.z]=s.7P;B=B.J(s.7P,\'\\n{J\'+q.2X.z+\'}\')},q));F B},jp:C(B){E cA=B.1V(/<!--([\\w\\W]*?)-->/gi);if(!cA)F B;$.1u(cA,$.1d(C(i,s){q.2X.z++;q.2X.9U[q.2X.z]=s;B=B.J(s,\'\\n{J\'+q.2X.z+\'}\')},q));F B},jq:C(B){$.1u(q.2X.9U,C(i,s){s=(1s s!==\'1z\')?s.J(/\\$/g,\'&#36;\'):s;B=B.J(\'{J\'+i+\'}\',s)});F B},k0:C(B){E 4I=B.4A(2a 2n(\'\\n\',\'g\'),-1);B=\'\';if(4I){E 2q=4I.12;2D(E i=0;i<2q;i++){if(!4I.q9(i))F;if(4I[i].3J(\'{J\')==-1){4I[i]=4I[i].J(/<p>\\n\\t?<\\/p>/gi,\'\');4I[i]=4I[i].J(/<p><\\/p>/gi,\'\');if(4I[i]!==\'\'){B+=\'<p>\'+4I[i].J(/^\\n+|\\n+$/g,"")+"</p>"}}O B+=4I[i]}}F B},k1:C(B){B=B.J(/<br \\/>\\s*<br \\/>/gi,"\\n\\n");B=B.J(/<br\\s?\\/?>\\n?<br\\s?\\/?>/gi,"\\n<br /><br />");B=B.J(2a 2n("\\r\\n",\'g\'),"\\n");B=B.J(2a 2n("\\r",\'g\'),"\\n");B=B.J(2a 2n("/\\n\\n+/"),\'g\',"\\n\\n");F B},9e:C(B){B=B.J(2a 2n(\'</29></p>\',\'gi\'),\'</29>\');B=B.J(2a 2n(\'<p></29>\',\'gi\'),\'</29>\');B=B.J(2a 2n(\'<p><29>\',\'gi\'),\'<29>\');B=B.J(2a 2n(\'<29></p>\',\'gi\'),\'<29>\');B=B.J(2a 2n(\'<p><p \',\'gi\'),\'<p \');B=B.J(2a 2n(\'<p><p>\',\'gi\'),\'<p>\');B=B.J(2a 2n(\'</p></p>\',\'gi\'),\'</p>\');B=B.J(2a 2n(\'<p>\\\\s?</p>\',\'gi\'),\'\');B=B.J(2a 2n("\\n</p>",\'gi\'),\'</p>\');B=B.J(2a 2n(\'<p>\\t?\\t?\\n?<p>\',\'gi\'),\'<p>\');B=B.J(2a 2n(\'<p>\\t*</p>\',\'gi\'),\'\');F B}}},5o:C(){F{3Q:C(e){if(!q.G.k2){3w($.1d(q.1e.1T,q),1);F}q.7T=1q;q.28.1U();q.K.3o();q.L.9x();q.5o.jY();$(3p).on(\'5N.I-k3\',$.1d(C(){$(3p).3S(q.bb)},q));3w($.1d(C(){E B=q.$5h.B();q.$5h.1t();q.K.3e();q.L.bh();q.5o.1Y(B);$(3p).3d(\'5N.I-k3\');if(q.2A.a1()){q.2A.3a()}},q),1)},jY:C(){q.$5h=$(\'<1j>\').B(\'\').1c(\'5j\',\'1q\').1O({4g:\'7G\',2J:0,2V:0,2c:\'-qk\'});if(q.L.1P(\'2G\')){q.$2P.1E(q.$5h)}O{E $ce=$(\'.1b-3f:aG\');if($ce.12>0){$ce.1E(q.$5h)}O{$(\'3f\').1E(q.$5h)}}q.$5h.1a(0).2p()},1Y:C(B){B=q.1W.2r(\'qn\',B);B=(q.L.9u())?q.1x.8G(B,N):q.1x.8G(B);B=q.1W.2r(\'5o\',B);if(q.L.9u()){q.1Y.1U(B,N)}O{q.1Y.B(B,N)}q.L.9z();q.7T=N;3w($.1d(q.1x.4r,q),10);3w($.1d(C(){E jV=q.$T.1h(\'1i\');$.1u(jV,C(i,s){E B=s.3v.J(/\\6c/,\'\');if(B===\'\'&&s.4z.12===0)$(s).1t()})},q),10)}}},3i:C(){F{aT:C(){if(!q.3i.is())F;q.$T.1c(\'3i\',q.$2m.1c(\'3i\'));q.3i.3j();q.$T.on(\'1D.I-3i\',$.1d(q.3i.3j,q))},3j:C(){3w($.1d(C(){E 1C=q.L.3z(q.$T.B(),N)?\'2g\':\'2W\';q.$T[1C](\'I-3i\')},q),5)},1t:C(){q.$T.2W(\'I-3i\')},is:C(){if(q.G.3i){F q.$2m.1c(\'3i\',q.G.3i)}O{F!(1s q.$2m.1c(\'3i\')==\'1z\'||q.$2m.1c(\'3i\')===\'\')}}}},5F:C(){F{2R:C(){$(1k.3f).1E($(\'<1j id="I-5F"><1i></1i></1j>\'));$(\'#I-5F\').qg()},3s:C(){$(\'#I-5F\').jW(qq,C(){$(q).1t()})}}},K:C(){F{1a:C(){q.2T=1k.4K();if(1k.4K&&q.2T.67&&q.2T.7y){q.14=q.2T.67(0)}O{q.14=1k.8O()}},4f:C(){4U{q.2T.8R()}56(e){}q.2T.4f(q.14)},3x:C(){E el=N;q.K.1a();if(q.2T&&q.2T.7y>0){el=q.2T.67(0).k7}F q.L.4H(el)},6l:C(53){53=53||q.K.3x();if(53){F q.L.4H($(53).1r()[0])}F N},k4:C(){F 3p.4K().k5.qz},qB:C(){F 3p.4K().k5.qE},49:C(R){R=R||q.K.3x();55(R){if(q.L.7f(R.1o)){F($(R).3u(\'I-T\'))?N:R}R=R.qu}F N},c9:C(22,2e){q.K.1a();if(q.14&&q.14.4X){F N}E 6b=[];22=(1s 22==\'1z\'||22===N)?q.K.6w():22;E 4M=q.G.4M;4M.2N(\'1i\');if(1s 2e!==\'1z\'){2D(E i=0;i<2e.12;i++){4M.2N(2e[i])}}$.1u(22,$.1d(C(i,R){if($.3t(R.1o.3g(),4M)!=-1){6b.2N(R)}},q));F(6b.12===0)?N:6b},ke:C(2e){q.K.1a();if(q.14&&q.14.4X){F N}E 6b=[];E 22=q.K.6w();$.1u(22,$.1d(C(i,R){if($.3t(R.1o.3g(),2e)!=-1){6b.2N(R)}},q));F(6b.12===0)?N:6b},44:C(22){q.K.1a();if(q.14&&q.14.4X){F[q.K.49()]}E 21=[];22=(1s 22==\'1z\')?q.K.6w():22;$.1u(22,$.1d(C(i,R){if(q.L.6X(R)){21.2N(R)}},q));F(21.12===0)?[q.K.49()]:21},kc:C(){F q.K.qZ},6w:C(){q.K.1a();E 7E=q.K.ef(1);E 94=q.K.ef(2);if(q.14.4X===N){if(3p.4K){E 2T=3p.4K();if(2T.7y>0){E 14=2T.67(0);E k6=14.k7,bZ=14.bZ;E 7B=14.84();7B.42(N);7B.3P(94);7B.2O(k6,bZ);7B.42(1q);7B.3P(7E);14.7z(7E);14.k9(94);2T.8R();2T.4f(14)}}}O{q.K.jR(q.14,7E,1q);94=7E}E 22=[];E 9k=0;E 3q=q;q.$T.1h(\'*\').1u(C(){if(q==7E){E 1r=$(q).1r();if(1r.12!==0&&1r[0].1o!=\'ed\'&&3q.L.4H(1r[0])){22.2N(1r[0])}22.2N(q);9k=1}O{if(9k>0){22.2N(q);9k=9k+1}}if(q==94){F N}});E eb=[];E 2q=22.12;2D(E i=0;i<2q;i++){if(22[i].id!=\'22-2u-1\'&&22[i].id!=\'22-2u-2\'){eb.2N(22[i])}}q.K.jQ();F eb},ef:C(6i){F $(\'<1i id="22-2u-\'+6i+\'" 1G="I-22-2u" 1f-3M="I">\'+q.G.5Z+\'</1i>\')[0]},jR:C(14,R,1m){E 14=14.84();4U{14.42(1m);14.3P(R)}56(e){}},jQ:C(){$(1k).1h(\'1i.I-22-2u\').1t();q.$T.1h(\'1i.I-22-2u\').1t()},qK:C(2b,2j){q.1S.aH(2b,2j)},6e:C(Y){q.K.1a();if(q.14.4X)F N;E 4N=1k.3B(Y);4N.74(q.14.qU());q.14.3P(4N);F 4N},8L:C(R){if(q.L.1P(\'4b\')){R=R[0]||R;E 14=1k.8O();14.8H(R)}O{q.1S.1U(R,0,R,1)}},bH:C(){q.K.1a();q.14.8H(q.$T[0]);q.K.4f()},1t:C(){q.K.1a();q.2T.8R()},3o:C(){q.K.jC()},jC:C(){q.K.1a();E 6o=q.K.71(1);q.K.dU(q.14,6o,1q);if(q.14.4X===N){E 8V=q.K.71(2);q.K.dU(q.14,8V,N)}q.jE=q.$T.B()},71:C(6i){if(1s 6i==\'1z\')6i=1;F $(\'<1i id="K-2u-\'+6i+\'" 1G="I-K-2u"  1f-3M="I">\'+q.G.5Z+\'</1i>\')[0]},5e:C(6i){F q.L.6r(q.K.71(6i))},dU:C(14,R,1m){14=14.84();4U{14.42(1m);14.3P(R)}56(e){q.2p.2O()}},3e:C(){E 6o=q.$T.1h(\'1i#K-2u-1\');E 8V=q.$T.1h(\'1i#K-2u-2\');if(q.L.1P(\'4b\')){q.$T.2p()}if(6o.12!==0&&8V.12!==0){q.1S.1U(6o,0,8V,0)}O if(6o.12!==0){q.1S.1U(6o,0,6o,0)}O{q.$T.2p()}q.K.8U();q.jE=N},8U:C(){q.$T.1h(\'1i.I-K-2u\').1u(C(i,s){E 1g=$(s).1g().J(/\\6c/g,\'\');if(1g===\'\')$(s).1t();O $(s).2x(C(){F $(q).25()})})},cX:C(){q.K.1a();F q.2T.4o()},qr:C(){E B=\'\';q.K.1a();if(q.2T.7y){E dS=1k.3B(\'1j\');E 2q=q.2T.7y;2D(E i=0;i<2q;++i){dS.74(q.2T.67(i).qp())}B=dS.3v}F q.1x.aY(B)},jG:C(B){q.K.1a();q.14.57();E 1j=1k.3B("1j");1j.3v=B;E 4Q=1k.b0(),4v;55((4v=1j.aZ)){4Q.74(4v)}q.14.3P(4Q)},qX:C(B){B=q.K.5e(1)+B+q.K.5e(2);q.K.1a();if(3p.4K&&3p.4K().67){q.K.jG(B)}O if(1k.K&&1k.K.8O){q.14.jI(B)}q.K.3e();q.1e.1T()}}},6a:C(){F{3Q:C(e,1l){if(!q.G.6a){if((e.9l||e.6I)&&(1l===66||1l===73))e.2t();F N}$.1u(q.G.6a,$.1d(C(5b,4y){E 4S=5b.4A(\',\');E 2q=4S.12;2D(E i=0;i<2q;i++){if(1s 4S[i]===\'70\'){q.6a.7r(e,$.3h(4S[i]),$.1d(C(){E 1C;if(4y.1C.3J(/\\./)!=\'-1\'){1C=4y.1C.4A(\'.\');if(1s q[1C[0]]!=\'1z\'){q[1C[0]][1C[1]].8n(q,4y.6d)}}O{q[4y.1C].8n(q,4y.6d)}},q))}}},q))},7r:C(e,4S,iA){E iU={8:"lT",9:"5t",10:"F",13:"F",16:"6P",17:"4a",18:"7v",19:"lJ",20:"lK",27:"m2",32:"3b",33:"mp",34:"m7",35:"2j",36:"mc",37:"2c",38:"lF",39:"4t",40:"l4",45:"1Y",46:"4l",59:";",61:"=",96:"0",97:"1",98:"2",99:"3",6O:"4",l7:"5",lb:"6",le:"7",l6:"8",lf:"9",l2:"*",l3:"+",ly:"-",lx:".",lg:"/",lw:"f1",lz:"f2",lD:"f3",ll:"f4",lk:"f5",lh:"f6",lo:"f7",oj:"f8",nI:"f9",nG:"nE",nF:"nP",nL:"nM",nD:"nC",nu:"5N",ns:"-",nr:";",np:"=",nv:",",nB:"-",nA:".",nx:"/",ob:"`",d3:"[",oc:"\\\\",d8:"]",od:"\'"};E do={"`":"~","1":"!","2":"@","3":"#","4":"$","5":"%","6":"^","7":"&","8":"*","9":"(","0":")","-":"oh","=":"+",";":": ","\'":"\\"",",":"<",".":">","/":"?","\\\\":"|"};4S=4S.3g().4A(" ");E bt=iU[e.3r],9h=62.oe(e.7w).3g(),7u="",7l={};$.1u(["7v","4a","5c","6P"],C(51,bu){if(e[bu+\'o5\']&&bt!==bu){7u+=bu+\'+\'}});if(bt)7l[7u+bt]=1q;if(9h){7l[7u+9h]=1q;7l[7u+do[9h]]=1q;if(7u==="6P+"){7l[do[9h]]=1q}}2D(E i=0,2q=4S.12;i<2q;i++){if(7l[4S[i]]){e.2t();F iA.8n(q,iY)}}}}},2I:C(){F{1a:C(1e){if(!q.G.2I)F 1e;E ds=[\'iZ\',\'3f\',\'dG\',\'hr\',\'i?mG\',\'V\',\'5c\',\'mw\',\'1p\',\'3W\',\'3V\',\'dF\',\'dE\',\'dI\'];E dq=[\'li\',\'dt\',\'dt\',\'h[1-6]\',\'41\',\'3W\'];E 9L=[\'p\',\'29\',\'1j\',\'dl\',\'j1\',\'6k\',\'n4\',\'kh\',\'ol\',\'2F\',\'7a\',\'2Y\',\'6s\',\'6W\',\'3k\'];q.2I.kO=2a 2n(\'^<(/?\'+ds.31(\'|/?\')+\'|\'+dq.31(\'|\')+\')[ >]\');q.2I.eX=2a 2n(\'^<(br|/?\'+ds.31(\'|/?\')+\'|/\'+dq.31(\'|/\')+\')[ >]\');q.2I.9L=2a 2n(\'^</?(\'+9L.31(\'|\')+\')[ >]\');E i=0,bz=1e.12,3U=0,2b=4m,2j=4m,Y=\'\',2k=\'\',5g=\'\';q.2I.8o=0;2D(;i<bz;i++){3U=i;if(-1==1e.4w(i).4L(\'<\')){2k+=1e.4w(i);F q.2I.dB(2k)}55(3U<bz&&1e.6n(3U)!=\'<\'){3U++}if(i!=3U){5g=1e.4w(i,3U-i);if(!5g.1V(/^\\s{2,}$/g)){if(\'\\n\'==2k.6n(2k.12-1))2k+=q.2I.7g();O if(\'\\n\'==5g.6n(0)){2k+=\'\\n\'+q.2I.7g();5g=5g.J(/^\\s+/,\'\')}2k+=5g}if(5g.1V(/\\n/))2k+=\'\\n\'+q.2I.7g()}2b=3U;55(3U<bz&&\'>\'!=1e.6n(3U)){3U++}Y=1e.4w(2b,3U-2b);i=3U;E t;if(\'!--\'==Y.4w(1,3)){if(!Y.1V(/--$/)){55(\'-->\'!=1e.4w(3U,3)){3U++}3U+=2;Y=1e.4w(2b,3U-2b);i=3U}if(\'\\n\'!=2k.6n(2k.12-1))2k+=\'\\n\';2k+=q.2I.7g();2k+=Y+\'>\\n\'}O if(\'!\'==Y[1]){2k=q.2I.av(Y+\'>\',2k)}O if(\'?\'==Y[1]){2k+=Y+\'>\\n\'}O if(t=Y.1V(/^<(3W|1p|2F)/i)){t[1]=t[1].3g();Y=q.2I.dA(Y);2k=q.2I.av(Y,2k);2j=62(1e.4w(i+1)).3g().4L(\'</\'+t[1]);if(2j){5g=1e.4w(i+1,2j);i+=2j;2k+=5g}}O{Y=q.2I.dA(Y);2k=q.2I.av(Y,2k)}}F q.2I.dB(2k)},7g:C(){E s=\'\';2D(E j=0;j<q.2I.8o;j++){s+=\'\\t\'}F s},dB:C(1e){1e=1e.J(/\\n\\s*\\n/g,\'\\n\');1e=1e.J(/^[\\s\\n]*/,\'\');1e=1e.J(/[\\s\\n]*$/,\'\');1e=1e.J(/<3W(.*?)>\\n<\\/3W>/gi,\'<3W$1></3W>\');q.2I.8o=0;F 1e},dA:C(Y){E 8d=\'\';Y=Y.J(/\\n/g,\' \');Y=Y.J(/\\s{2,}/g,\' \');Y=Y.J(/^\\s+|\\s+$/g,\' \');E dz=\'\';if(Y.1V(/\\/$/)){dz=\'/\';Y=Y.J(/\\/+$/,\'\')}E m;55(m=/\\s*([^= ]+)(?:=(([\'"\']).*?\\3|[^ ]+))?/.5l(Y)){if(m[2])8d+=m[1].3g()+\'=\'+m[2];O if(m[1])8d+=m[1].3g();8d+=\' \';Y=Y.4w(m[0].12)}F 8d.J(/\\s*$/,\'\')+dz+\'>\'},av:C(Y,2k){E nl=Y.1V(q.2I.9L);if(Y.1V(q.2I.kO)||nl){2k=2k.J(/\\s*$/,\'\');2k+=\'\\n\'}if(nl&&\'/\'==Y.6n(1))q.2I.8o--;if(\'\\n\'==2k.6n(2k.12-1))2k+=q.2I.7g();if(nl&&\'/\'!=Y.6n(1))q.2I.8o++;2k+=Y;if(Y.1V(q.2I.eX)||Y.1V(q.2I.9L)){2k=2k.J(/ *$/,\'\')}F 2k}}},1I:C(){F{kU:C(){E 51=$.3t(\'1i\',q.G.3T);if(51!==-1){q.G.3T.9F(51,1)}if(q.G.4s)q.G.4c=N;if(q.G.52)q.G.1L=N;if(q.G.1K)F;E 2e=[\'p\',\'4d\'];if(q.G.4s)q.1I.kR(2e);if(q.G.4c)q.1I.kX(2e)},kR:C(2e){E 2q=2e.12;2D(E i=0;i<2q;i++){if($.3t(2e[i],q.G.4s)==-1){q.G.4s.2N(2e[i])}}},kX:C(2e){E 2q=2e.12;2D(E i=0;i<2q;i++){E 3y=$.3t(2e[i],q.G.4c);if(3y!=-1){q.G.4c.9F(3y,1)}}},2K:C(B,47){q.1I.2C={4c:q.G.4c,4s:q.G.4s,6v:q.G.6v,5w:q.G.5w,5x:q.G.5x,5s:q.G.5s,1L:q.G.1L,52:q.G.52,6U:q.G.6U,3T:q.G.3T};$.7h(q.1I.2C,47);B=q.1I.6v(B);q.1I.$1j=$(\'<1j />\').1E(B);q.1I.5w();q.1I.5x();q.1I.kT();q.1I.1L();q.1I.3T();q.1I.ji();q.1I.5s();q.1I.6U();B=q.1I.$1j.B();q.1I.$1j.1t();F B},6v:C(B){if(!q.1I.2C.6v)F B;F B.J(/<!--[\\s\\S]*?-->/gi,\'\')},5w:C(B){if(!q.1I.2C.5w)F B;E 2q=q.1I.2C.5w.12;E 5J=[],dw=[];2D(E i=0;i<2q;i++){dw.2N(q.1I.2C.5w[i][1]);5J.2N(q.1I.2C.5w[i][0])}$.1u(5J,$.1d(C(1l,1F){q.1I.$1j.1h(1F).2x(C(){F $("<"+dw[1l]+" />",{B:$(q).B()})})},q))},5x:C(){if(!q.1I.2C.5x)F;E 2q=q.1I.2C.5x.12;q.1I.$1j.1h(\'1i\').1u($.1d(C(n,s){E $el=$(s);E 1p=$el.1c(\'1p\');2D(E i=0;i<2q;i++){if(1p&&1p.1V(2a 2n(\'^\'+q.1I.2C.5x[i][0],\'i\'))){E 1o=q.1I.2C.5x[i][1];$el.2x(C(){E Y=1k.3B(1o);F $(Y).1E($(q).25())})}}},q))},kT:C(){if(!q.1I.2C.4c&&q.1I.2C.4s){q.1I.$1j.1h(\'*\').5O(q.1I.2C.4s.31(\',\')).1u(C(i,s){if(s.3v===\'\')$(s).1t();O $(s).25().48()})}if(q.1I.2C.4c){q.1I.$1j.1h(q.1I.2C.4c.31(\',\')).1u(C(i,s){if($(s).3u(\'I-3W-Y\')||$(s).3u(\'I-K-2u\'))F;if(s.3v===\'\')$(s).1t();O $(s).25().48()})}},1L:C(){E 2q;if(!q.1I.2C.1L&&q.1I.2C.52){E du=[],dv=[];2q=q.1I.2C.52.12;2D(E i=0;i<2q;i++){du.2N(q.1I.2C.52[i][0]);dv.2N(q.1I.2C.52[i][1])}q.1I.$1j.1h(\'*\').1u($.1d(C(n,s){E $el=$(s);E 3y=$.3t($el[0].1o.3g(),du);E 5v=q.1I.j5(3y,dv,$el);if(5v){$.1u(5v,C(z,f){$el.1L(f)})}},q))}if(q.1I.2C.1L){2q=q.1I.2C.1L.12;2D(E i=0;i<2q;i++){E 9I=q.1I.2C.1L[i][1];if($.bj(9I))9I=9I.31(\' \');q.1I.$1j.1h(q.1I.2C.1L[i][0]).1L(9I)}}},j5:C(3y,5z,$el){E 5v=[];if(3y==-1){$.1u($el[0].4z,C(i,2w){5v.2N(2w.1y)})}O if(5z[3y]==\'*\'){5v=[]}O{$.1u($el[0].4z,C(i,2w){if($.bj(5z[3y])){if($.3t(2w.1y,5z[3y])==-1){5v.2N(2w.1y)}}O if(5z[3y]!=2w.1y){5v.2N(2w.1y)}})}F 5v},ki:C(el,bx){bx=2a 2n(bx,"g");F el.1u(C(){E 3q=$(q);E 2q=q.4z.12-1;2D(E i=2q;i>=0;i--){E 2w=q.4z[i];if(2w&&2w.nk&&2w.1y.3J(bx)>=0){3q.1L(2w.1y)}}})},3T:C(){if(!q.1I.2C.3T)F;q.1I.$1j.1h(q.1I.2C.3T.31(\',\')).1u(C(){E $el=$(q);E 1g=$el.1g();1g=1g.J(/\\6c/g,\'\');1g=1g.J(/&5k;/gi,\'\');1g=1g.J(/\\s/g,\'\');if(1g===\'\'&&$el.3R().12===0){$el.1t()}})},ji:C(){q.1I.$1j.1h(\'li p\').25().48()},5s:C(){if(!q.1I.2C.5s)F;E 2e=q.1I.2C.5s;if($.bj(q.1I.2C.5s))2e=q.1I.2C.5s.31(\',\');q.1I.ki(q.1I.$1j.1h(2e),\'^(1f-)\')},6U:C(){if(!q.1I.2C.6U)F;q.1I.$1j.1h(q.1I.2C.6U.31(\',\')).1u(C(){if(q.4z.12===0){$(q).25().48()}})}}},1A:C(){F{3Q:C(){F{B:{1J:q.1H.1a(\'B\'),1C:\'1e.3j\'},30:{1J:q.1H.1a(\'30\'),1n:{p:{1J:q.1H.1a(\'iB\'),1C:\'Q.3a\'},29:{1J:q.1H.1a(\'dp\'),1C:\'Q.3a\'},2F:{1J:q.1H.1a(\'1e\'),1C:\'Q.3a\'},h1:{1J:q.1H.1a(\'iC\'),1C:\'Q.3a\'},h2:{1J:q.1H.1a(\'iL\'),1C:\'Q.3a\'},h3:{1J:q.1H.1a(\'iM\'),1C:\'Q.3a\'},h4:{1J:q.1H.1a(\'kd\'),1C:\'Q.3a\'},h5:{1J:q.1H.1a(\'jt\'),1C:\'Q.3a\'}}},4n:{1J:q.1H.1a(\'4n\'),1C:\'26.3a\'},4h:{1J:q.1H.1a(\'4h\'),1C:\'26.3a\'},5S:{1J:q.1H.1a(\'5S\'),1C:\'26.3a\'},5r:{1J:q.1H.1a(\'5r\'),1C:\'26.3a\'},5q:{1J:\'&lU; \'+q.1H.1a(\'5q\'),1C:\'2d.3j\'},5u:{1J:\'1. \'+q.1H.1a(\'5u\'),1C:\'2d.3j\'},7n:{1J:\'< \'+q.1H.1a(\'7n\'),1C:\'3A.9v\'},3A:{1J:\'> \'+q.1H.1a(\'3A\'),1C:\'3A.9Y\'},M:{1J:q.1H.1a(\'M\'),1C:\'M.2R\'},1Z:{1J:q.1H.1a(\'1Z\'),1C:\'1Z.2R\'},V:{1J:q.1H.1a(\'V\'),1n:{V:{1J:q.1H.1a(\'b2\'),1C:\'V.2R\',1R:{2m:\'a\',in:{1J:q.1H.1a(\'e6\'),},2k:{1J:q.1H.1a(\'b2\')}}},6J:{1J:q.1H.1a(\'6J\'),1C:\'V.6J\',1R:{2m:\'a\',2k:{1c:{\'1G\':\'I-1n-V-e3\',\'4O-7p\':1q}}}}}},2Z:{1J:q.1H.1a(\'2Z\'),1n:{2c:{1J:q.1H.1a(\'jO\'),1C:\'2Z.2c\'},5m:{1J:q.1H.1a(\'jJ\'),1C:\'2Z.5m\'},4t:{1J:q.1H.1a(\'jH\'),1C:\'2Z.4t\'},9B:{1J:q.1H.1a(\'jF\'),1C:\'2Z.9B\'}}},aO:{1J:q.1H.1a(\'aO\'),1C:\'3L.1Y\'}}},2f:C(){q.1A.jw();q.1A.jx();q.1A.js();if(q.G.4i.12===0)F;q.$1A=q.1A.jL();q.1A.jv();q.1A.1E();q.1A.jP();q.1A.jN();q.1A.jM();if(q.G.aN){q.$T.on(\'jK.I 2s.I 2p.I\',$.1d(q.1R.1A,q))}},jL:C(){F $(\'<3k>\').2g(\'I-1A\').1c({\'id\':\'I-1A-\'+q.2H,\'9C\':\'1A\'})},jP:C(){$.1u(q.G.1A.30.1n,$.1d(C(i,s){if($.3t(i,q.G.30)==-1)82 q.G.1A.30.1n[i]},q))},jN:C(){$.1u(q.G.4i,$.1d(C(i,2h){if(!q.G.1A[2h])F;if(2h===\'1Z\'){if(q.G.7N===N)F;O if(!q.G.7N&&q.G.86===N)F}if(2h===\'M\'){if(q.G.7R===N)F;O if(!q.G.7R&&q.G.86===N)F}E 2U=q.G.1A[2h];q.$1A.1E($(\'<li>\').1E(q.1v.2f(2h,2U)))},q))},1E:C(){if(q.G.aI){q.$1A.2g(\'I-1A-qD\');$(q.G.aI).B(q.$1A)}O{q.$2P.6C(q.$1A)}},jM:C(){if(!q.L.7K())F;if(q.G.aI)F;if(!q.G.jD)F;q.1A.ea();$(q.G.6F).on(\'5N.I.\'+q.2H,$.1d(q.1A.ea,q))},jv:C(){if(q.L.6Y()&&q.G.jr){q.$1A.2g(\'I-1A-bn\')}},js:C(){if(q.G.4D)F;E 51=q.G.4i.4L(\'B\');if(51!==-1){q.G.4i.9F(51,1)}},jw:C(){if(q.G.dQ.12===0)F;$.1u(q.G.dQ,$.1d(C(i,s){E 51=q.G.4i.4L(s);q.G.4i.9F(51,1)},q))},jx:C(){if(!q.L.6Y()||q.G.e8.12===0)F;$.1u(q.G.e8,$.1d(C(i,s){E 51=q.G.4i.4L(s);q.G.4i.9F(51,1)},q))},ea:C(){E 3S=$(q.G.6F).3S();E 6M=1;if(q.G.6F===1k){6M=q.$2P.2v().2V}if((3S+q.G.6L)>6M){q.1A.jB(3S,6M)}O{q.1A.jA()}},jB:C(3S,6M){E 2V=q.G.6L+3S-6M;E 2c=0;E 2j=6M+q.$2P.3l()-32;E 2J=q.$2P.7D();q.$1A.2g(\'1A-7G-2P\');q.$1A.1O({4g:\'9E\',2J:2J,2V:2V+\'px\',2c:2c});if(3S>2j)$(\'.I-1n-\'+q.2H+\':aG\').3s();q.1A.jz();q.$1A.1O(\'jy\',(3S<2j)?\'aG\':\'i2\')},jA:C(){q.$1A.1O({4g:\'qQ\',2J:\'aF\',2V:0,2c:0,jy:\'aG\'});q.1A.ka();q.$1A.2W(\'1A-7G-2P\')},jz:C(){E 2V=q.$1A.68()+q.G.6L;E 4g=\'7G\';if(q.G.6F!==1k){2V=(q.$1A.68()+q.$1A.2v().2V)+q.G.6L;4g=\'9E\'}$(\'.I-1n-\'+q.2H).1u(C(){$(q).1O({4g:4g,2V:2V+\'px\'})})},ka:C(){E 2V=(q.$1A.68()+q.$1A.2v().2V);$(\'.I-1n-\'+q.2H).1u(C(){$(q).1O({4g:\'9E\',2V:2V+\'px\'})})}}},1w:C(){F{3Q:C(id,2i,2B){q.1w.4W=N;q.1w.2B=2B;q.1w.2i=2i;q.1w.$el=$(id);q.1w.$4e=$(\'<1j id="I-4e" />\');q.1w.$bY=$(\'<1j id="I-4e-3i" />\').1g(q.1H.1a(\'k8\'));q.1w.$3G=$(\'<3G 1m="1Z" 1y="1Z" />\');q.1w.$bY.1E(q.1w.$3G);q.1w.$4e.1E(q.1w.$bY);q.1w.$el.1E(q.1w.$4e);q.1w.$4e.3d(\'I.1w\');q.1w.$3G.3d(\'I.1w\');q.1w.$4e.on(\'kb.I.1w\',$.1d(q.1w.a7,q));q.1w.$4e.on(\'qS.I.1w\',$.1d(q.1w.iS,q));q.1w.$3G.on(\'kg.I.1w\',$.1d(C(e){e=e.7L||e;q.1w.aX(q.1w.$3G[0].5R[0],e)},q));q.1w.$4e.on(\'4Z.I.1w\',$.1d(C(e){e.2t();q.1w.$4e.2W(\'7U-cu\').2g(\'7U-4Z\');q.1w.aJ(e)},q))},kf:C(1Z,e){q.1w.4W=1q;q.1w.aX(1Z,e)},aJ:C(e){e=e.7L||e;E 5R=e.aU.5R;q.1w.aX(5R[0],e)},aX:C(1Z,e){if(q.G.86){q.1w.cG(1Z);q.1w.iE(1Z);F}E 4u=!!3p.aR?2a aR():4m;if(3p.aR){q.1w.cG(1Z);E 1y=(q.1w.1m==\'M\')?q.G.jU:q.G.jS;4u.1E(1y,1Z)}q.5F.2R();q.1W.2r(\'qc\',e,4u);q.1w.jZ(4u,e)},cG:C(1Z){q.1w.jT(1Z);if(q.1w.4W){q.1w.2i=(q.1w.1m==\'M\')?q.G.7R:q.G.7N;q.1w.2B=(q.1w.1m==\'M\')?q.M.1Y:q.1Z.1Y}},jT:C(1Z){q.1w.1m=\'M\';if(q.G.jX.4L(1Z.1m)==-1){q.1w.1m=\'1Z\'}},6A:C(7X,fd){if(7X===N||1s 7X!==\'43\')F fd;$.1u(7X,$.1d(C(k,v){if(v!==4m&&v.4o().4L(\'#\')===0)v=$(v).2L();fd.1E(k,v)},q));F fd},jZ:C(4u,e){if(q.1w.1m==\'M\'){4u=q.1w.6A(q.G.oY,4u);4u=q.1w.6A(q.1w.bk,4u)}O{4u=q.1w.6A(q.G.oX,4u);4u=q.1w.6A(q.1w.by,4u)}E 2Q=2a an();2Q.9T(\'oZ\',q.1w.2i);2Q.dY("X-p0-p1","an");2Q.jh=$.1d(C(){if(2Q.cS==4){E 1f=2Q.j0;1f=1f.J(/^\\[/,\'\');1f=1f.J(/\\]$/,\'\');E 2S;4U{2S=(1s 1f===\'70\'?$.iO(1f):1f)}56(pb){2S={6N:1q}}q.5F.3s();if(!q.1w.4W){q.1w.$4e.2W(\'7U-4Z\')}q.1w.2B(2S,q.1w.4W,e)}},q);2Q.ee(4u)},a7:C(e){e.2t();q.1w.$4e.2g(\'7U-cu\')},iS:C(e){e.2t();q.1w.$4e.2W(\'7U-cu\')},pe:C(){q.1w.bk={}},p7:C(1y,1F){q.1w.bk[1y]=1F},oO:C(1y){82 q.1w.bk[1y]},ox:C(){q.1w.by={}},oz:C(1y,1F){q.1w.by[1y]=1F},ot:C(1y){82 q.1w.by[1y]},iE:C(1Z){q.1w.iJ(1Z,$.1d(C(iK){q.1w.j7(1Z,iK)},q))},iJ:C(1Z,2B){E 2Q=2a an();E 85=(q.G.86.3J(/\\?/)!==\'-1\')?\'?\':\'&\';2Q.9T(\'os\',q.G.86+85+\'1y=\'+1Z.1y+\'&1m=\'+1Z.1m,1q);if(2Q.iI)2Q.iI(\'1g/oK; oL=x-oC-oE\');E jc=q;2Q.jh=C(e){if(q.cS==4&&q.cb==aE){jc.5F.2R();2B(j2(q.j0))}O if(q.cS==4&&q.cb!=aE){}};2Q.ee()},j8:C(9V,2i){E 2Q=2a an();if("pO"in 2Q){2Q.9T(9V,2i,1q)}O if(1s j9!="1z"){2Q=2a j9();2Q.9T(9V,2i)}O{2Q=4m}F 2Q},j7:C(1Z,2i){E 2Q=q.1w.j8(\'pW\',2i);if(!2Q){}O{2Q.pX=$.1d(C(){if(2Q.cb==aE){q.5F.3s();E aA=2i.4A(\'?\');if(!aA[0]){F N}if(!q.1w.4W){q.1w.$4e.2W(\'7U-4Z\')}E 2S={9D:aA[0]};if(q.1w.1m==\'1Z\'){E 2E=aA[0].4A(\'/\');2S.6f=2E[2E.12-1]}q.1w.2B(2S,q.1w.4W,N)}O{}},q);2Q.q5=C(){};2Q.1w.q6=C(e){};2Q.dY(\'q8-q4\',1Z.1m);2Q.dY(\'x-pZ-pJ\',\'pp-pm\');2Q.ee(1Z)}}}},L:C(){F{6Y:C(){F/(kj|kH|ky|kA)/.ai(ah.ao)},7K:C(){F!/(kj|kH|pl|ky|kA)/.ai(ah.ao)},pF:C(7X){F kD.5n.4o.64(7X)==\'[43 62]\'},3z:C(B,kM){B=B.J(/[\\6c-\\pG\\pH]/g,\'\');B=B.J(/&5k;/gi,\'\');B=B.J(/<\\/?br\\s?\\/?>/g,\'\');B=B.J(/\\s/g,\'\');B=B.J(/^<p>[^\\W\\w\\D\\d]*?<\\/p>$/i,\'\');B=B.J(/<4J(.*?[^>])>$/i,\'4J\');B=B.J(/<4D(.*?[^>])>$/i,\'4D\');if(kM!==N){B=B.J(/<[^\\/>][^>]*><\\/[^>]+>/gi,\'\');B=B.J(/<[^\\/>][^>]*><\\/[^>]+>/gi,\'\')}B=$.3h(B);F B===\'\'},cY:C(5b){if(1s(5b)===\'1z\')F 0;F 5H(5b.J(\'px\',\'\'),10)},pz:C(6y){if(1s 6y==\'1z\')F;if(6y.3J(/^#/)==-1)F 6y;E kr=/^#?([a-f\\d])([a-f\\d])([a-f\\d])$/i;6y=6y.J(kr,C(m,r,g,b){F r+r+g+g+b+b});E bJ=/^#?([a-f\\d]{2})([a-f\\d]{2})([a-f\\d]{2})$/i.5l(6y);F\'pA(\'+5H(bJ[1],16)+\', \'+5H(bJ[2],16)+\', \'+5H(bJ[3],16)+\')\'},6r:C(el){F $(\'<1j>\').1E($(el).eq(0).9K()).B()},aS:C(el){if($.3t(el.1o,q.G.9y)!==-1){F $(el)}O{F $(el).2o(q.G.9y.4o().3g(),q.$T[0])}},5C:C(el,1c){E $el=$(el);if(1s $el.1c(1c)==\'1z\'){F 1q}if($el.1c(1c)===\'\'){$el.1L(1c);F 1q}F N},3T:C(i,s){E $s=$($.dH(s));$s.1h(\'.I-7m-3b\').1L(\'1p\').1L(\'1G\');if($s.1h(\'hr, br, 1M, 4J, 4D\').12!==0)F;E 1g=$.3h($s.1g());if(q.L.3z(1g,N)){$s.1t()}},9x:C(){q.eO=q.$T.3S();q.bb=$(3p).3S();if(q.G.9w)q.fi=$(q.G.9w).3S()},bh:C(){if(1s q.9x===\'1z\'&&1s q.bb===\'1z\')F;$(3p).3S(q.bb);q.$T.3S(q.eO);if(q.G.9w)$(q.G.9w).3S(q.fi)},ad:C(){E 3b=1k.3B(\'1i\');3b.3E=\'I-7m-3b\';3b.3v=q.G.5Z;F 3b},4V:C(R){E 2e=q.G.4M;2e.2N(\'1i\');if(R.1o==\'9J\')2e.2N(\'a\');$(R).1h(2e.31(\',\')).5O(\'1i.I-K-2u\').25().48()},5T:C(R,4V){E 3q=q;$(R).2x(C(){if(4V===1q)3q.L.4V(q);F $(q).25()});F $(R)},4x:C(R,Y,4V){E 5J;E 3q=q;$(R).2x(C(){5J=$(\'<\'+Y+\' />\').1E($(q).25());2D(E i=0;i<q.4z.12;i++){5J.1c(q.4z[i].1y,q.4z[i].1F)}if(4V===1q)3q.L.4V(5J);F 5J});F 5J},iy:C(){E Q=q.K.49();if(!Q)F N;E 2v=q.1S.9G(Q);F(2v===0)?1q:N},6B:C(2m){if(1s 2m==\'1z\'){E 2m=q.K.49();if(!2m)F N}E 2v=q.1S.9G(2m);E 1g=$.3h($(2m).1g()).J(/\\n\\r\\n/g,\'\');F(2v==1g.12)?1q:N},q0:C(){E 2v=q.1S.9G(q.$T[0]);F(2v===0)?1q:N},e2:C(){E Q=q.$T[0];E 2v=q.1S.9G(Q);E 1g=$.3h($(Q).B().J(/(<([^>]+)>)/gi,\'\'));F(2v==1g.12)?1q:N},6X:C(Q){Q=Q[0]||Q;F Q&&q.L.7f(Q.1o)},7f:C(Y){if(1s Y==\'1z\')F N;F q.fk.ai(Y)},9P:C(1B,Y){E 2m=$(1B).2o(Y,q.$T[0]);if(2m.12==1){F 2m[0]}F N},9u:C(){F q.bH},ex:C(){q.bH=1q},9z:C(){q.bH=N},4H:C(el){if(!el){F N}if($(el).eG(\'.I-T\').12===0||$(el).3u(\'I-T\')){F N}F el},ix:C(){F q.L.4Y([\'cJ\',\'cs\',\'c8\',\'c3\',\'c6\',\'bM\'])},4Y:C(1o){E 1r=q.K.6l();E 1B=q.K.3x();if($.bj(1o)){E cU=0;$.1u(1o,$.1d(C(i,s){if(q.L.cQ(1B,1r,s)){cU++}},q));F(cU===0)?N:1q}O{F q.L.cQ(1B,1r,1o)}},cQ:C(1B,1r,1o){1o=1o.p8();F 1r&&1r.1o===1o?1r:1B&&1B.1o===1o?1B:N},p5:C(){F(q.L.1P(\'2G\')&&5H(q.L.1P(\'au\'),10)<9)?1q:N},pd:C(){F(q.L.1P(\'2G\')&&5H(q.L.1P(\'au\'),10)<10)?1q:N},hc:C(){F!!ah.ao.1V(/p3\\/7\\./)},1P:C(1P){E 4T=ah.ao.3g();E 1V=/(ei)[\\/]([\\w.]+)/.5l(4T)||/(iv)[ \\/]([\\w.]+)/.5l(4T)||/(7Q)[ \\/]([\\w.]+).*(cH)[ \\/]([\\w.]+)/.5l(4T)||/(7Q)[ \\/]([\\w.]+)/.5l(4T)||/(qN)(?:.*au|)[ \\/]([\\w.]+)/.5l(4T)||/(2G) ([\\w.]+)/.5l(4T)||4T.4L("qR")>=0&&/(ej)(?::| )([\\w.]+)/.5l(4T)||4T.4L("qT")<0&&/(4b)(?:.*? ej:([\\w.]+)|)/.5l(4T)||[];if(1P==\'cH\')F(1s 1V[3]!=\'1z\')?1V[3]==\'cH\':N;if(1P==\'au\')F 1V[2];if(1P==\'7Q\')F(1V[1]==\'iv\'||1V[1]==\'ei\'||1V[1]==\'7Q\');if(1V[1]==\'ej\')F 1P==\'2G\';if(1V[1]==\'ei\')F 1P==\'7Q\';F 1P==1V[1]},as:C(iq,i8,2v){E i=iq.4L(i8,2v);F i>=0?i:N},dV:C(){E $3f=$(\'B\');E 89=3p.7D;if(!89){E dT=1k.qs.qy();89=dT.4t-9H.lY(dT.2c)}E g3=1k.3f.fW<89;E b9=q.L.fZ();$3f.1O(\'bn\',\'i2\');if(g3)$3f.1O(\'gF-4t\',b9)},fZ:C(){E $3f=$(\'3f\');E 77=1k.3B(\'1j\');77.3E=\'I-gC-gD\';$3f.1E(77);E b9=77.lp-77.fW;$3f[0].nN(77);F b9},b8:C(){$(\'B\').1O({\'bn\':\'\',\'gF-4t\':\'\'});$(\'3f\').1t(\'I-gC-gD\')}}}};$(3p).on(\'2K.gA.I\',C(){$(\'[1f-gA="I"]\').I()});3Y.5n.3Q.5n=3Y.5n})(oA);',62,1675,'||||||||||||||||||||||||||this|||||||||||html|function||var|return|opts||redactor|replace|selection|utils|image|false|else||block|node||editor||link|||tag||||length||range||||||get|modal|attr|proxy|code|data|text|find|span|div|document|key|type|dropdown|tagName|style|true|parent|typeof|remove|each|button|upload|clean|name|undefined|toolbar|current|func|keydown|append|value|class|lang|tidy|title|linebreaks|removeAttr|img|next|css|browser|target|observe|caret|sync|set|match|core|formatted|insert|file||blocks|nodes|btn||contents|inline||buffer|blockquote|new|start|left|list|tags|build|addClass|btnName|url|end|out|href|element|RegExp|closest|focus|len|setCallback|keyup|preventDefault|marker|offset|item|replaceWith|textarea|click|linkify|callback|settings|for|arr|pre|msie|uuid|tabifier|width|load|val|label|push|setStart|box|xhr|show|json|sel|btnObject|top|removeClass|paragraphize|td|alignment|formatting|join|||||||||format|space|last|off|restore|body|toLowerCase|trim|placeholder|toggle|ul|height|tooltip|autosave|save|window|self|keyCode|hide|inArray|hasClass|innerHTML|setTimeout|getCurrent|pos|isEmpty|indent|createElement|after|imageBox|className|CodeMirror|input|setEnd|first|search|re|line|verified|matches|font|insertNode|init|children|scrollTop|removeEmpty|point|table|script|rel|Redactor|execCommand||option|collapse|object|getBlocks|||options|unwrap|getBlock|ctrl|mozilla|deniedTags|section|droparea|addRange|position|italic|buttons|close|resizeHandle|del|null|bold|toString|regexps|src|clearUnverified|allowedTags|right|formData|child|substr|replaceToTag|command|attributes|split|prev|modalBox|source|blockElem|cmd|margin|isRedactorParent|htmls|iframe|getSelection|indexOf|inlineTags|wrapper|aria|orgn|frag|resize|keys|ua|try|removeInlineTags|direct|collapsed|isCurrentOrParent|drop||index|allowedAttr|elem|arrow|while|catch|deleteContents|setAfter||linkProtocol|str|meta|strong|getMarkerAsHtml|align|cont|pasteBox|BR|contenteditable|nbsp|exec|center|prototype|paste|none|unorderedlist|underline|removeDataAttr|tab|orderedlist|attributesRemove|replaceTags|replaceStyles|toggleType|allowed|links|touchstart|removeEmptyAttr|tmp|https|progress|lastNode|parseInt|editter|replacement|isFunction|LI|br1|scroll|not|nodeValue|currentList|files|deleted|replaceWithContents|break|emptyHtml|visual|prop|marginTop|invisibleSpace|||String|currentLevel|call|||getRangeAt|innerHeight|lastList|shortcuts|inlines|u200B|params|wrap|filename|containerTag|methods|num|mousedown|form|getParent|templateName|charAt|node1|quot|replaceDivs|getOuterHtml|th|figure|TD|removeComments|getNodes|SPAN|hex|ENTER|getHiddenFields|isEndOfElement|prepend|display|instance|toolbarFixedTarget|tabindex|module|metaKey|unlink|Insert|toolbarFixedTopOffset|boxTop|error|100|shift|youtube|editorDiv|video|vimeo|removeWithoutAttr|insertBreakLine|tr|isBlock|isMobile|shiftKey|string|getMarker|preSpaces||appendChild|header|posFromIndex|scrollDiv|parHtml|hideAll|select|strike|dropact|setVerified|decoration|isBlockTag|getTabs|extend|sup|sub|endRange|possible|invisible|outdent|float|disabled|blocksSize|handler|tmpList|keyPosition|modif|alt|which|getEvent|rangeCount|setStartAfter|pattern|boundaryRange|toggleClass|innerWidth|startNode|edit|fixed|dropdowns|focn|_blank|isDesktop|originalEvent|embed|fileUpload|action|outerHTML|webkit|imageUpload|www|rtePaste|drag|level|weight|obj|z0|hideResize|figcaption|modalOverlay|delete|BACKSPACE|cloneRange|mark|s3|blank|listParent|windowWidth|DIV|size|getOffset|tagout|imageResizer|linkmarker|singleLine|OL|Header|setActive|active|ftp|resizer|apply|cleanlevel|audio|modalHeader|imageMargin|replaceParagraphsToBr|modalClose|tagblock|setMode|modalFooter|act|param|targetTouches|case|UL|imageFloatMargin|addProperties|blockLevelElements|inserted|onPaste|selectNodeContents|inputUrl|amp|isRemoveInline|selectElement|rebuffer|classSize|createRange|undo|Array|removeAllRanges|DELETE|items|removeMarkers|node2|insertDblBreakLine|icon|createTextNode|exceptTags|||plugins|addEvent|endNode|small|||||autosaveInterval|tabber|isMobileUndoRedo|cite|clear|tmpLi|Delete|character|returnValue|events|counter|ctrlKey|lastLevel|http|setClass|event|convertVideoLinks|codemirror|Add|closeHandler|isSelectAll|decrease|scrollTarget|saveScroll|alignmentTags|disableSelectAll||justify|role|filelink|absolute|splice|getOffsetOfElement|Math|attrs|PRE|clone|newLevel|indentValue|before|fixEmptyIndent|isTag|classname|nodeType|formatblock|open|safes|method|caretRange|methodVal|increase|cloned|selectionMarkers|isEnabled|editorHtml|normalizeLists|bind|caretPositionFromPoint|checked|onDrag|eventName|link_new_tab|mailto|IMG|substring|createSpaceElement|minHeight|showOnDesktop|blured|navigator|test|caretRangeFromPoint|createTextRange|re2|moveToPoint|XMLHttpRequest|userAgent|getPlainText|onPasteTidy|_this|strpos|encodeEntities|version|placeTag|mso|convertLinks|kbd|samp|s3file|matchContainers|marginBottom|property|200|auto|visible|setOffset|toolbarExternal|onDrop|com|BLOCKQUOTE|insertInIe|activeButtons|horizontalrule|enterKey|wrapperHtml|FormData|getAlignmentElement|enable|dataTransfer|prevList|marginLeft|traverseFile|onSync|firstChild|createDocumentFragment|spaces|link_insert|maxHeight|mouseout|parentA|deleteProperties|tabAsSpaces|enableBodyScroll|scrollbarWidth|mouseover|saveBodyScroll|windowHeight|parentEl||isContainerTable|blockHtml|restoreScroll|autosaveFields|isArray|imageFields|appendTo|u00a0|overflow|modalBody|clearStyle|onClick||replaceToParagraph|special|specialKey|prev2|callbacks|regex|fileFields|codeLength|isTextarea|imageFloat|redo|pageY|formatListToBlockquote|formatWrap|ESC|selectAll|marginRight|result|images|x200b|H6|redactorImageLink|highContrast|saveFormTags|convertInline|createCancelButton|listTag|ratio|isUnorderedCmdOrdered|isOrderedCmdUnordered|buttonsSize|showOnMobile|placeholdler|startOffset|createActionButton|createButton|getTextFromHtml|H4|headers|clearUnverifiedRemove|H5|verifiedTags|H3|getInlines|imageEditable|status|footer|imageDisplay|visibleModals|dropdownWidth|URL||selectionStart|activeButtonsStates|image_position|one|removeSpaces|currentEl|paragraphizeBlocks|closeTooltip|selectionEnd|TH|H2|addCallback|hover|formattingAdd|dropdownObject|enlargeOffset|htmlLength|regexB|commentsMatches|markerLength|blur|isCurrent|syncCode|showCode|setConfig|safari|isFocused|H1|add|outValues|inValues|addDropdown|imageResizable|setInactiveAll|isCurrentOrParentOne|isDelete|readyState|setDropdownProperties|matched|setDropdownAttr|isP|getText|normalize|autosaveOnChange|firstFound|count|headTag|219|autosaveName|modules|removeIt|curLang|221|extra|TAB|focused|direction||nodeToCaretPositionFromPoint|RedactorPlugins|getModuleMethods|content|isEndOfTable|formatTableWrapping|imageDelete||DOWN|slice|hotkeysShiftNums|quote|contOwnLine|Row|ownLine||allowedAttrTags|allowedAttrData|rTags|Column|setBefore|suffix|cleanTag|finish|Table|insertBreakLineProcessing|thead|tbody|head|parseHTML|tfoot|br2|stopPropagation|endContainer|endOffset|Link|filter|inputText|buttonsHide|iframeEnd|container|documentElementRect|setMarker|disableBodyScroll|address|htmlIe|setRequestHeader|setAfterOrBefore|iframeStart|removeFormat|isEndOfEditor|inactive|fonts|setFormat|link_edit|listsIds|buttonsHideOnMobile|convertImageLinks|observeScroll|finalNodes|linkSize|BODY|send|getNodesMarker|listType|attrAllowed|opr|rv|convertUrlLinks||||dfn|tagsEmpty||LEFT_WIN|replaced|tabKey|onShiftEnter|onTab|onArrowDown|enableSelectAll|replaceDivToBreakLine|opacity|formatMultiple|through|replaceDivToParagraph|strikethrough|cleanStyleOnEnter|showEdit|parents|unline|loadEditableControls|loadResizableControls|formatConvert|formatRemoveSameChildren|editerWidth|formatCollapsed|saveEditorScroll|decreaseLists|ie11PasteFrag|ie11FixInserting|aside|keydownStop|stop|increaseText|RIGHT|lineAfter|EndToEnd|superscript|execHtml|||||||||||blocksMatch|subscript||offsetNode|decreaseBlocks|setEndPoint|duplicate|saveTargetScroll|htmlFixMozilla|reIsBlock|switch|addArrowsEvent||article|setupBuffer|increaseBlocks|setupSelectAll|altKey|SHIFT|ALT|checkEvents|HR|indented|checkKeyEvents|htmlWithoutClean|META|CTRL|increaseLists|tempEnd|getTextareaName|createContainerBox|run|getRedo|loadContent|enableEditor|fromElement|fromTextarea|loadEditor|getUndo|pop|formatBlockquote|setForce|commonAncestorContainer|elements|empty|setRedo|setUndo|clientWidth|createTextarea|insertAfter|measureScrollbar|focusEnd|setHelpers|codeKeyupCallback|isOverflowing|disableMozillaEditing|createTooltip|setEvent|disableIeLinks|codeKeydownCallback|setEventDropUpload|setOptions|callEditor|setCodeAndCall|dir|dragImageUpload|setEventDrop|setEvents|dragFileUpload||setMultiple|setCollapsed|Code|Video|Image|Right|choose|Center|the|to||Align|Left|Head|args|scope|Function|tools|Color|scrollbar|measure|List|padding|Edit|replaceElement|isNeedReplaceElement|isLinebreaksOrNoBlocks|alignElement|jsxhr|formatTags|callbackName|success|setBlocks|setText|png|here|Drop|gif|shortcutsAdd|bindModuleMethods|loadModules|loadOptions|onClickCallback|fullscreen|||||||setInactive|setActiveInVisual|indenting|modified|textareaIndenting|isIe11|removeData|destroy|eventNamespace|insertParagraph|tempStart|setValue|onChange|startSync|setSelectionRange|setInactiveInCode|indexFromPos|anchor|showVisual|clearInterval||selected|moveResize|startResize|pageX|setResizable|round|stopResize|15px|fixImageSourceAfterDrop|inside|setFloating|update|buttonDelete|_delete|700|buttonSave|imageLink|floating|floatValue|imagePosition|onSet|restoreFormTags|pastePlainText|Apple|nofollow|linkNofollow|FIGCAPTION|onPasteWord|onPasteExtra|Mso|bmso|chars|cleanSpaces|beforekey|afterkey|haspopup|hidden|lastChild|walker|foco|orgo|internal|needle|restoreSelectionMarker|saveCodeFormatting|savePreFormatting|getPreCode|||||getOnlyImages|replaceDivsToBr|newTag|removeDirtyStyles|savePreCode|matchBR||onPasteRemoveEmpty|all|haystack|onPasteRemoveSpans||onPasteIeFixLinks|matchBlocks|chrome|isSingleLine|isCurrentOrParentHeader|isStartOfElement|destroyed|origHandler|paragraph|header1|properties|s3uploadFile|disableEvents|enableEvents|buildOverlay|overrideMimeType|s3executeOnSignedUrl|signedURL|header2|header3|aLink|parseJSON|aEdit|aUnlink|getSafes|onDragLeave|getTooltipPosition|hotkeysSpecialKeys|setEditable|linkTooltip|showTooltip|arguments|area|responseText|fieldset|decodeURIComponent|template|contrast|removeAttrGetRemoves|checkbox|s3uploadToS3|s3createCORSRequest|XDomainRequest|loadTemplates|imageEdit|that|setTitle|createDeleteButton|cancel|setButtonsWidth|onreadystatechange|removeParagraphsInLists|setEnter|handle|setContent|getTemplate|setDraggable|draggable|getSafesComments|restoreSafes|toolbarOverflow|isButtonSourceNeeded|header5|exitFromBlockquote|setOverflow|hideButtons|hideButtonsOnMobile|visibility|setDropdownsFixed|observeScrollDisable|observeScrollEnable|createMarkers|toolbarFixed|savedSel|align_justify|replaceSelection|align_right|pasteHTML|align_center|mouseup|createContainer|setFixed|loadButtons|align_left|setFormattingTags|removeNodesMarkers|setNodesMarker|fileUploadParam|getType|imageUploadParam|spans|fadeOut|imageTypes|createPasteBox|sendData|replaceBreaksToParagraphs|replaceBreaksToNewLines|cleanOnPaste|freeze|getPrev|anchorNode|startPointNode|startContainer|upload_label|setEndBefore|unsetDropdownsFixed|dragover|getLastBlock|header4|getInlinesTags|directUpload|change|map|removeAttrs|iPhone|SPACE|lastFound|insertInOthersBrowsers|isKey|setFocus|objects|isExceptLastOrFirst|shorthandRegex|keyupStop|removeEmptyLists|formatEmpty|langs|textNode|600|BlackBerry|location|Android|getData|xn|Object|thref|re3|buttonText|iPod|_moz_dirty|buttonInsert|cleanUrl|removeEmptyListInTable|removeEmptyTags|insertNewLine|lineBefore|dbl|convertImages|addToAllowed|removeInvisibleSpace|removeTags|setupAllowed|regexp|newTd|removeFromDenied|insertAfterLastElement|setEndAfter|u2014|blurCallback|106|107|down|focusCallback|104|101|alignleft|cut|aligncenter|102|dragenter|hellip|103|105|111|117||ins|116|115|toggleAttr|setAttr|118|offsetWidth|setData|toggleData|TEXTAREA||jpeg|alignright|112|110|109|113|strict|application|use|114|mdash|up|addBefore|Infinity|uploadImageField|pause|capslock|math|setToPoint|setAwesome|addFirst|addAfter|10px|nextNode|SHOW_TEXT|backspace|bull|createTreeWalker|setStartBefore|No|abs|ltr|VERSION|such|esc|removeIcon|copy|AutoUrlDetect|u00a9|pagedown|menu|enableInlineTableEditing|summary|NodeFilter|home|enableObjectResizing|details|trade|reg|legend|getCoords|changeIcon|hgroup|DL|u2122|caretOffset|nav|pageup|u2026|DD|or_choose|Choose|Outdent|Or|noscript|drop_file_here|Download|Indent|download|Upload|insert_table|Save|Cancel|Ordered|frame|fontcolor|Font|Anchor|Open|Italic|Deleted|backcolor|Justify|Unordered|Back|Horizontal|Rule|insert_row_above|Above|rows|Rows|image_web_link|delete_table|delete_row|Web|columns|Columns|Title|frameset|Position|None|add_head|Text|Email|insert_column_left|insert_column_right|Below|insert_row_below|File|Vimeo|Youtube|web|delete_column|video_html_code|specified||Embed|Underline|Alignment|187|disable|186|173|SECTION|145|188|autosaveError|191|post|done|190|189|numlock|144|f10|122|121|DT|120|delete_head|OUTPUT|123|f12|removeChild|ADDRESS|f11|ajax|HEADER|UP|jpe|Formatting|LEFT|applet|merge|youtu|Normal|optional|Name|u2010|Bold|Quote|Key|getOwnPropertyNames|FOOTER|ASIDE|setInterval|1000|192|220|222|fromCharCode|Unlink|HTML|_|ARTICLE|119|sid||modalClosed||705|bodyOveflow|fast||GET|removeFileFields|activeElement|dropdownHide|toggleActive|clearFileFields|fileUploadError|addFileFields|jQuery|overlay|user|touchend|defined|labelledby|dialog|touchmove|mousemove|dragstart|plain|charset|times|Close|removeImageFields|dropdownShown|getElement|getBox|getTextarea|getToolbar|Callback|getEditor|getObject|uploadFileFields|uploadImageFields|POST|Requested|With|_data|Trident|dash|isOldIe|max|addImageFields|toUpperCase|addButton|unselectable|err|namespace|isLessIe10|clearImageFields|move|cursor|nodeToPoint|addBack|clientX|clientY|iPad|read|500|allowfullscreen|public|insertHTML|frameborder|281|deletedLink|insertedLink|0px|context||insertHtml|hexToRgb|rgb|enter|host|php|createLink|isString|u200D|uFEFF|toggleStyle|acl|addTab|addTemplate|createTabber|TR|withCredentials|imageUploadError|getModal|outerHeight|20px|email|focusin|modalOpened|PUT|onload|cssText|amz|isStartOfEditor|removeStyle|removeStyleRule|player|Type|onerror|onprogress|grep|Content|hasOwnProperty|dropdownShow|fake|uploadStart|shapes|slevel|removePhp|fadeIn|colspan|floor|1strike|9999px|syncBefore|textContent|pasteBefore|yes|cloneContents|1500|getHtml|documentElement|Ss|parentNode|docs|getOnlyLinksAndImages|guid|getBoundingClientRect|previousSibling|cleanEmptyParagraph|getNext|innerText|external|nextSibling|xml|spacerun|sdata|setSize|converted|fromPoint|WordDocument|refresh|opera|setSelection|setCursor|relative|trident|dragleave|compatible|extractContents|rowspan|getValue|replaceWithHtml|stripTags|lastBlock|listSelections'.split('|'),0,{}))
\ No newline at end of file
+-1==i.search(o)&&-1==i.search(a)&&0===i.search(n)&&this.opts.linkProtocol&&(i=this.opts.linkProtocol+"://"+i)}this.link.set(s,i,e),this.modal.close()},set:function(e,i,s){e=t.trim(e.replace(/<|>/g,"")),this.selection.restore();var r=this.selection.getBlocks();if(""!==e||""!==i){if(""===e&&""!==i&&(e=i),this.link.$node){this.buffer.set();var o=this.link.$node,n=o.children();if(n.length>0){for(;n.length;)n=n.children();n=n.end()}else n=o;o.attr("href",i),n.text(e),""!==s?o.attr("target",s):o.removeAttr("target"),this.selection.selectElement(o),this.code.sync()}else{if(this.utils.browser("mozilla")&&""===this.link.text){var a=t("<a />").attr("href",i).text(e);""!==s&&a.attr("target",s),a=t(this.insert.node(a)),this.opts.linebreaks&&a.after("&nbsp;"),this.selection.selectElement(a)}else{var a;this.utils.browser("msie")?(a=t('<a href="'+i+'">').text(e),""!==s&&a.attr("target",s),a=t(this.insert.node(a)),this.selection.getText().match(/\s$/)&&a.after(" "),this.selection.selectElement(a)):(document.execCommand("createLink",!1,i),a=t(this.selection.getCurrent()).closest("a",this.$editor[0]),this.utils.browser("mozilla")&&(a=t('a[_moz_dirty=""]')),""!==s&&a.attr("target",s),a.removeAttr("style").removeAttr("_moz_dirty"),this.selection.getText().match(/\s$/)&&a.after(" "),(""!==this.link.text||this.link.text!=e)&&(!this.opts.linebreaks&&r&&r.length<=1?a.text(e):this.opts.linebreaks&&a.text(e),this.selection.selectElement(a)))}this.code.sync(),this.core.setCallback("insertedLink",a)}setTimeout(t.proxy(function(){this.observe.links()},this),5)}},unlink:function(e){"undefined"!=typeof e&&e.preventDefault&&e.preventDefault();var i=this.selection.getNodes();if(i){this.buffer.set();for(var s=i.length,r=[],o=0;s>o;o++){"A"===i[o].tagName&&r.push(i[o]);var n=t(i[o]).closest("a",this.$editor[0]);n.replaceWith(n.contents())}this.core.setCallback("deletedLink",r),t(".redactor-link-tooltip").remove(),this.code.sync()}},toggleClass:function(t){this.link.setClass(t,"toggleClass")},addClass:function(t){this.link.setClass(t,"addClass")},removeClass:function(t){this.link.setClass(t,"removeClass")},setClass:function(e,i){var s=this.selection.getInlinesTags(["a"]);s!==!1&&t.each(s,function(){t(this)[i](e)})}}},linkify:function(){return{isKey:function(t){return t==this.keyCode.ENTER||t==this.keyCode.SPACE},isEnabled:function(){return this.opts.convertLinks&&(this.opts.convertUrlLinks||this.opts.convertImageLinks||this.opts.convertVideoLinks)&&!this.utils.isCurrentOrParent("PRE")},format:function(){var e=this.linkify,i=this.opts;this.$editor.find(":not(iframe,img,a,pre)").addBack().contents().filter(function(){return 3===this.nodeType&&""!=t.trim(this.nodeValue)&&!t(this).parent().is("pre")&&(this.nodeValue.match(i.linkify.regexps.youtube)||this.nodeValue.match(i.linkify.regexps.vimeo)||this.nodeValue.match(i.linkify.regexps.image)||this.nodeValue.match(i.linkify.regexps.url))}).each(function(){var s=t(this).text(),r=s;i.convertVideoLinks&&(r.match(i.linkify.regexps.youtube)||r.match(i.linkify.regexps.vimeo))?r=e.convertVideoLinks(r):i.convertImageLinks&&r.match(i.linkify.regexps.image)?r=e.convertImages(r):i.convertUrlLinks&&(r=e.convertLinks(r)),t(this).before(s.replace(s,r)).remove()});var s=this.$editor.find(".redactor-linkify-object").each(function(){var e=t(this);return e.removeClass("redactor-linkify-object"),""===e.attr("class")&&e.removeAttr("class"),e[0]});setTimeout(t.proxy(function(){this.observe.load(),this.core.setCallback("linkify",s)},this),100),this.code.sync()},convertVideoLinks:function(t){var e='<iframe class="redactor-linkify-object" width="500" height="281" src="',i='" frameborder="0" allowfullscreen></iframe>';return t.match(this.opts.linkify.regexps.youtube)&&(t=t.replace(this.opts.linkify.regexps.youtube,e+"//www.youtube.com/embed/$1"+i)),t.match(this.opts.linkify.regexps.vimeo)&&(t=t.replace(this.opts.linkify.regexps.vimeo,e+"//player.vimeo.com/video/$2"+i)),t},convertImages:function(t){var e=t.match(this.opts.linkify.regexps.image);return e&&(t=t.replace(t,'<img src="'+e+'" class="redactor-linkify-object" />'),this.opts.linebreaks&&(this.utils.isEmpty(this.code.get())||(t="<br>"+t)),t+="<br>"),t},convertLinks:function(e){var i=e.match(this.opts.linkify.regexps.url);if(i){i=t.grep(i,function(e,s){return t.inArray(e,i)===s});for(var s=i.length,r=0;s>r;r++){var o=i[r],n=o,a=this.opts.linkProtocol+"://";null!==o.match(/(https?|ftp):\/\//i)&&(a=""),n.length>this.opts.linkSize&&(n=n.substring(0,this.opts.linkSize)+"..."),-1===n.search("%")&&(n=decodeURIComponent(n));var l="\\b";-1!=t.inArray(o.slice(-1),["/","&","="])&&(l="");var c=new RegExp("("+o.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")+l+")","g");e=e.replace(c,'<a href="'+a+t.trim(o)+'" class="redactor-linkify-object">'+t.trim(n)+"</a>")}}return e}}},list:function(){return{toggle:function(e){this.placeholder.remove(),this.utils.browser("msie")||this.opts.linebreaks||this.$editor.focus(),this.buffer.set(),this.selection.save();var i=this.selection.getParent(),s=t(i).closest("ol, ul",this.$editor[0]);this.utils.isRedactorParent(s)||0===s.length||(s=!1);var r,o,n=!1;if(s&&s.length){n=!0;var a=s[0].tagName;r="orderedlist"===e&&"UL"===a,o="unorderedlist"===e&&"OL"===a}r?this.utils.replaceToTag(s,"ol"):o?this.utils.replaceToTag(s,"ul"):n?this.list.remove(e,s):this.list.insert(e),this.selection.restore(),this.code.sync()},insert:function(e){var i=this.selection.getCurrent(),s=t(i).closest("td, th",this.$editor[0]);this.utils.browser("msie")&&this.opts.linebreaks?this.list.insertInIe(e):document.execCommand("insert"+e);var r=this.selection.getParent(),o=t(r).closest("ol, ul",this.$editor[0]);if(0!==s.length){var n=s.clone();s.after(n).remove("")}if(this.utils.isEmpty(o.find("li").text())){var a=o.children("li");a.find("br").remove(),a.append(this.selection.getMarkerAsHtml()),this.opts.linebreaks&&this.utils.browser("mozilla")&&2==a.size()&&this.utils.isEmpty(a.eq(1).text())&&a.eq(1).remove()}if(o.length){var l=o.parent();this.utils.isRedactorParent(l)&&"LI"!=l[0].tagName&&this.utils.isBlock(l[0])&&l.replaceWith(l.contents())}this.utils.browser("msie")||this.$editor.focus(),this.clean.clearUnverified()},insertInIe:function(e){var i=this.selection.wrap("div"),s=t(i).html(),r=t("orderedlist"==e?"<ol>":"<ul>"),o=t("<li>");if(""===t.trim(s))o.append(this.selection.getMarkerAsHtml()),r.append(o),this.$editor.find("#selection-marker-1").replaceWith(r);else{var n=s.split(/<br\s?\/?>/gi);if(n)for(var a=0;a<n.length;a++)""!==t.trim(n[a])&&r.append(t("<li>").html(n[a]));else o.append(s),r.append(o);t(i).replaceWith(r)}},remove:function(e){t.inArray("ul",this.selection.getBlocks())&&(e="unorderedlist"),document.execCommand("insert"+e);var i=t(this.selection.getCurrent());this.indent.fixEmptyIndent(),this.opts.linebreaks||0!==i.closest("li, th, td",this.$editor[0]).length||(document.execCommand("formatblock",!1,"p"),this.$editor.find("ul, ol, blockquote").each(t.proxy(this.utils.removeEmpty,this)));var s=t(this.selection.getCurrent()).closest("table",this.$editor[0]),r=s.prev();this.opts.linebreaks||0===s.length||0===r.length||"BR"!=r[0].tagName||r.remove(),this.clean.clearUnverified()}}},modal:function(){return{callbacks:{},loadTemplates:function(){this.opts.modal={imageEdit:String()+'<section id="redactor-modal-image-edit"><label>'+this.lang.get("title")+'</label><input type="text" id="redactor-image-title" /><label class="redactor-image-link-option">'+this.lang.get("link")+'</label><input type="text" id="redactor-image-link" class="redactor-image-link-option" aria-label="'+this.lang.get("link")+'" /><label class="redactor-image-link-option"><input type="checkbox" id="redactor-image-link-blank" aria-label="'+this.lang.get("link_new_tab")+'"> '+this.lang.get("link_new_tab")+'</label><label class="redactor-image-position-option">'+this.lang.get("image_position")+'</label><select class="redactor-image-position-option" id="redactor-image-align" aria-label="'+this.lang.get("image_position")+'"><option value="none">'+this.lang.get("none")+'</option><option value="left">'+this.lang.get("left")+'</option><option value="center">'+this.lang.get("center")+'</option><option value="right">'+this.lang.get("right")+"</option></select></section>",image:String()+'<section id="redactor-modal-image-insert"><div id="redactor-modal-image-droparea"></div></section>',file:String()+'<section id="redactor-modal-file-insert"><div id="redactor-modal-file-upload-box"><label>'+this.lang.get("filename")+'</label><input type="text" id="redactor-filename" aria-label="'+this.lang.get("filename")+'" /><br><br><div id="redactor-modal-file-upload"></div></div></section>',link:String()+'<section id="redactor-modal-link-insert"><label>URL</label><input type="url" id="redactor-link-url" aria-label="URL" /><label>'+this.lang.get("text")+'</label><input type="text" id="redactor-link-url-text" aria-label="'+this.lang.get("text")+'" /><label><input type="checkbox" id="redactor-link-blank"> '+this.lang.get("link_new_tab")+"</label></section>"},t.extend(this.opts,this.opts.modal)},addCallback:function(t,e){this.modal.callbacks[t]=e},createTabber:function(e){this.modal.$tabber=t("<div>").attr("id","redactor-modal-tabber"),e.prepend(this.modal.$tabber)},addTab:function(e,i,s){var r=t('<a href="#" rel="tab'+e+'">').text(i);s&&r.addClass("active");var o=this;r.on("click",function(e){e.preventDefault(),t(".redactor-tab").hide(),t(".redactor-"+t(this).attr("rel")).show(),o.modal.$tabber.find("a").removeClass("active"),t(this).addClass("active")}),this.modal.$tabber.append(r)},addTemplate:function(t,e){this.opts.modal[t]=e},getTemplate:function(t){return this.opts.modal[t]},getModal:function(){return this.$modalBody.find("section")},load:function(t,e,i){this.modal.templateName=t,this.modal.width=i,this.modal.build(),this.modal.enableEvents(),this.modal.setTitle(e),this.modal.setDraggable(),this.modal.setContent(),"undefined"!=typeof this.modal.callbacks[t]&&this.modal.callbacks[t].call(this)},show:function(){this.utils.disableBodyScroll(),this.utils.isMobile()?this.modal.showOnMobile():this.modal.showOnDesktop(),this.opts.highContrast&&this.$modalBox.addClass("redactor-modal-contrast"),this.$modalOverlay.show(),this.$modalBox.show(),this.$modal.attr("tabindex","-1"),this.$modal.focus(),this.modal.setButtonsWidth(),this.utils.saveScroll(),this.utils.isMobile()||(setTimeout(t.proxy(this.modal.showOnDesktop,this),0),t(window).on("resize.redactor-modal",t.proxy(this.modal.resize,this))),this.core.setCallback("modalOpened",this.modal.templateName,this.$modal),t(document).off("focusin.modal"),this.$modal.find("input[type=text],input[type=url],input[type=email]").on("keydown.redactor-modal",t.proxy(this.modal.setEnter,this))},showOnDesktop:function(){var e=this.$modal.outerHeight(),i=t(window).height(),s=t(window).width();return this.modal.width>s?void this.$modal.css({width:"96%",marginTop:i/2-e/2+"px"}):void this.$modal.css(e>i?{width:this.modal.width+"px",marginTop:"20px"}:{width:this.modal.width+"px",marginTop:i/2-e/2+"px"})},showOnMobile:function(){this.$modal.css({width:"96%",marginTop:"2%"})},resize:function(){this.utils.isMobile()?this.modal.showOnMobile():this.modal.showOnDesktop()},setTitle:function(t){this.$modalHeader.html(t)},setContent:function(){this.$modalBody.html(this.modal.getTemplate(this.modal.templateName))},setDraggable:function(){"undefined"!=typeof t.fn.draggable&&(this.$modal.draggable({handle:this.$modalHeader}),this.$modalHeader.css("cursor","move"))},setEnter:function(t){13==t.which&&(t.preventDefault(),this.$modal.find("button.redactor-modal-action-btn").click())},createCancelButton:function(){var e=t("<button>").addClass("redactor-modal-btn redactor-modal-close-btn").html(this.lang.get("cancel"));e.on("click",t.proxy(this.modal.close,this)),this.$modalFooter.append(e)},createDeleteButton:function(t){return this.modal.createButton(t,"delete")},createActionButton:function(t){return this.modal.createButton(t,"action")},createButton:function(e,i){var s=t("<button>").addClass("redactor-modal-btn").addClass("redactor-modal-"+i+"-btn").html(e);return this.$modalFooter.append(s),s},setButtonsWidth:function(){var t=this.$modalFooter.find("button"),e=t.length;0!==e&&t.css("width",100/e+"%")},build:function(){this.modal.buildOverlay(),this.$modalBox=t('<div id="redactor-modal-box"/>').hide(),this.$modal=t('<div id="redactor-modal" role="dialog" aria-labelledby="redactor-modal-header" />'),this.$modalHeader=t('<header id="redactor-modal-header"/>'),this.$modalClose=t('<button type="button" id="redactor-modal-close" tabindex="1" aria-label="Close" />').html("&times;"),this.$modalBody=t('<div id="redactor-modal-body" />'),this.$modalFooter=t("<footer />"),this.$modal.append(this.$modalHeader),this.$modal.append(this.$modalClose),this.$modal.append(this.$modalBody),this.$modal.append(this.$modalFooter),this.$modalBox.append(this.$modal),this.$modalBox.appendTo(document.body)},buildOverlay:function(){this.$modalOverlay=t('<div id="redactor-modal-overlay">').hide(),t("body").prepend(this.$modalOverlay)},enableEvents:function(){this.$modalClose.on("click.redactor-modal",t.proxy(this.modal.close,this)),t(document).on("keyup.redactor-modal",t.proxy(this.modal.closeHandler,this)),this.$editor.on("keyup.redactor-modal",t.proxy(this.modal.closeHandler,this)),this.$modalBox.on("click.redactor-modal",t.proxy(this.modal.close,this))},disableEvents:function(){this.$modalClose.off("click.redactor-modal"),t(document).off("keyup.redactor-modal"),this.$editor.off("keyup.redactor-modal"),this.$modalBox.off("click.redactor-modal"),t(window).off("resize.redactor-modal")},closeHandler:function(t){t.which==this.keyCode.ESC&&this.modal.close(!1)},close:function(e){if(e){if(!t(e.target).hasClass("redactor-modal-close-btn")&&e.target!=this.$modalClose[0]&&e.target!=this.$modalBox[0])return;e.preventDefault()}this.$modalBox&&(this.modal.disableEvents(),this.utils.enableBodyScroll(),this.$modalOverlay.remove(),this.$modalBox.fadeOut("fast",t.proxy(function(){this.$modalBox.remove(),setTimeout(t.proxy(this.utils.restoreScroll,this),0),void 0!==e&&this.selection.restore(),t(document.body).css("overflow",this.modal.bodyOveflow),this.core.setCallback("modalClosed",this.modal.templateName)},this)))}}},observe:function(){return{load:function(){if("undefined"==typeof this.opts.destroyed){if(this.utils.browser("msie")){var e=this;this.$editor.find("pre, code").on("mouseover",function(){e.$editor.attr("contenteditable",!1),t(this).attr("contenteditable",!0)}).on("mouseout",function(){e.$editor.attr("contenteditable",!0),t(this).removeAttr("contenteditable")})}this.observe.images(),this.observe.links()}},toolbar:function(t,e){this.observe.buttons(t,e),this.observe.dropdowns()},isCurrent:function(e,i){if("undefined"==typeof i)var i=t(this.selection.getCurrent());return i.is(e)||i.parents(e).length>0},dropdowns:function(){var e=t(this.selection.getCurrent());t.each(this.opts.observe.dropdowns,t.proxy(function(t,i){var s=i.observe,r=s.element,o=i.item,n="undefined"!=typeof s.in?s.in:!1,a="undefined"!=typeof s.out?s.out:!1;e.closest(r).size()>0?this.observe.setDropdownProperties(o,n,a):this.observe.setDropdownProperties(o,a,n)},this))},setDropdownProperties:function(t,e,i){i&&"undefined"!=typeof i.attr&&this.observe.setDropdownAttr(t,i.attr,!0),"undefined"!=typeof e.attr&&this.observe.setDropdownAttr(t,e.attr),"undefined"!=typeof e.title&&t.text(e.title)},setDropdownAttr:function(e,i,s){t.each(i,function(t,i){"class"==t?s?e.removeClass(i):e.addClass(i):s?e.removeAttr(t):e.attr(t,i)})},addDropdown:function(t,e,i){"undefined"!=typeof i.observe&&(i.item=t,this.opts.observe.dropdowns.push(i))},buttons:function(e,i){var s=this.selection.getCurrent(),r=this.selection.getParent();if(e!==!1?this.button.setInactiveAll():this.button.setInactiveAll(i),e===!1&&"html"!==i)return void(-1!=t.inArray(i,this.opts.activeButtons)&&this.button.toggleActive(i));t.each(this.opts.activeButtonsStates,t.proxy(function(e,i){var o=t(r).closest(e,this.$editor[0]),n=t(s).closest(e,this.$editor[0]);(0===o.length||this.utils.isRedactorParent(o))&&this.utils.isRedactorParent(n)&&(0!==o.length||0!==n.closest(e,this.$editor[0]).length)&&this.button.setActive(i)},this));var o=t(r).closest(this.opts.alignmentTags.toString().toLowerCase(),this.$editor[0]);if(this.utils.isRedactorParent(r)&&o.length){var n=""===o.css("text-align")?"left":o.css("text-align");this.button.setActive("align"+n)}},addButton:function(t,e){this.opts.activeButtons.push(e),this.opts.activeButtonsStates[t]=e},images:function(){this.$editor.find("img").each(t.proxy(function(e,i){var s=t(i);s.closest("a",this.$editor[0]).on("click",function(t){t.preventDefault()}),this.utils.browser("msie")&&s.attr("unselectable","on"),this.image.setEditable(s)},this)),t(document).on("click.redactor-image-delete."+this.uuid,t.proxy(function(t){this.observe.image=!1,"IMG"==t.target.tagName&&this.utils.isRedactorParent(t.target)&&(this.observe.image=this.observe.image&&this.observe.image==t.target?!1:t.target)},this))},links:function(){this.opts.linkTooltip&&(this.$editor.find("a").on("touchstart.redactor."+this.uuid+" click.redactor."+this.uuid,t.proxy(this.observe.showTooltip,this)),this.$editor.on("touchstart.redactor."+this.uuid+" click.redactor."+this.uuid,t.proxy(this.observe.closeTooltip,this)),t(document).on("touchstart.redactor."+this.uuid+" click.redactor."+this.uuid,t.proxy(this.observe.closeTooltip,this)))},getTooltipPosition:function(t){return t.offset()},showTooltip:function(e){var i=t(e.target);if("IMG"!=i[0].tagName&&("A"!==i[0].tagName&&(i=i.closest("a",this.$editor[0])),"A"===i[0].tagName)){var s=i,r=this.observe.getTooltipPosition(s),o=t('<span class="redactor-link-tooltip"></span>'),n=s.attr("href");void 0===n&&(n=""),n.length>24&&(n=n.substring(0,24)+"...");var a=t('<a href="'+s.attr("href")+'" target="_blank" />').html(n).addClass("redactor-link-tooltip-action"),l=t('<a href="#" />').html(this.lang.get("edit")).on("click",t.proxy(this.link.show,this)).addClass("redactor-link-tooltip-action"),c=t('<a href="#" />').html(this.lang.get("unlink")).on("click",t.proxy(this.link.unlink,this)).addClass("redactor-link-tooltip-action");o.append(a).append(" | ").append(l).append(" | ").append(c),o.css({top:r.top+parseInt(s.css("line-height"),10)+"px",left:r.left+"px"}),t(".redactor-link-tooltip").remove(),t("body").append(o)}},closeTooltip:function(e){e=e.originalEvent||e;var i=e.target,s=t(i).closest("a",this.$editor[0]);(0===s.length||"A"!==s[0].tagName||"A"===i.tagName)&&("A"===i.tagName&&this.utils.isRedactorParent(i)||t(i).hasClass("redactor-link-tooltip-action")||t(".redactor-link-tooltip").remove())}}},paragraphize:function(){return{load:function(e){return this.opts.linebreaks?e:""===e||"<p></p>"===e?this.opts.emptyHtml:(e+="\n",this.paragraphize.safes=[],this.paragraphize.z=0,e=e.replace(/(<br\s?\/?>){1,}\n?<\/blockquote>/gi,"</blockquote>"),e=this.paragraphize.getSafes(e),e=this.paragraphize.getSafesComments(e),e=this.paragraphize.replaceBreaksToNewLines(e),e=this.paragraphize.replaceBreaksToParagraphs(e),e=this.paragraphize.clear(e),e=this.paragraphize.restoreSafes(e),e=e.replace(new RegExp("<br\\s?/?>\n?<("+this.opts.paragraphizeBlocks.join("|")+")(.*?[^>])>","gi"),"<p><br /></p>\n<$1$2>"),t.trim(e))},getSafes:function(e){var i=t("<div />").append(e);return i.find("blockquote p").replaceWith(function(){return t(this).append("<br />").contents()}),e=i.html(),i.find(this.opts.paragraphizeBlocks.join(", ")).each(t.proxy(function(t,i){this.paragraphize.z++,this.paragraphize.safes[this.paragraphize.z]=i.outerHTML,e=e.replace(i.outerHTML,"\n{replace"+this.paragraphize.z+"}")},this)),e},getSafesComments:function(e){var i=e.match(/<!--([\w\W]*?)-->/gi);return i?(t.each(i,t.proxy(function(t,i){this.paragraphize.z++,this.paragraphize.safes[this.paragraphize.z]=i,e=e.replace(i,"\n{replace"+this.paragraphize.z+"}")},this)),e):e},restoreSafes:function(e){return t.each(this.paragraphize.safes,function(t,i){i="undefined"!=typeof i?i.replace(/\$/g,"&#36;"):i,e=e.replace("{replace"+t+"}",i)}),e},replaceBreaksToParagraphs:function(t){var e=t.split(new RegExp("\n","g"),-1);if(t="",e)for(var i=e.length,s=0;i>s;s++){if(!e.hasOwnProperty(s))return;-1==e[s].search("{replace")?(e[s]=e[s].replace(/<p>\n\t?<\/p>/gi,""),e[s]=e[s].replace(/<p><\/p>/gi,""),""!==e[s]&&(t+="<p>"+e[s].replace(/^\n+|\n+$/g,"")+"</p>")):t+=e[s]}return t},replaceBreaksToNewLines:function(t){return t=t.replace(/<br \/>\s*<br \/>/gi,"\n\n"),t=t.replace(/<br\s?\/?>\n?<br\s?\/?>/gi,"\n<br /><br />"),t=t.replace(new RegExp("\r\n","g"),"\n"),t=t.replace(new RegExp("\r","g"),"\n"),t=t.replace(new RegExp("/\n\n+/"),"g","\n\n")},clear:function(t){return t=t.replace(new RegExp("</blockquote></p>","gi"),"</blockquote>"),t=t.replace(new RegExp("<p></blockquote>","gi"),"</blockquote>"),t=t.replace(new RegExp("<p><blockquote>","gi"),"<blockquote>"),t=t.replace(new RegExp("<blockquote></p>","gi"),"<blockquote>"),t=t.replace(new RegExp("<p><p ","gi"),"<p "),t=t.replace(new RegExp("<p><p>","gi"),"<p>"),t=t.replace(new RegExp("</p></p>","gi"),"</p>"),t=t.replace(new RegExp("<p>\\s?</p>","gi"),""),t=t.replace(new RegExp("\n</p>","gi"),"</p>"),t=t.replace(new RegExp("<p>     ?       ?\n?<p>","gi"),"<p>"),t=t.replace(new RegExp("<p>       *</p>","gi"),"")}}},paste:function(){return{init:function(){return this.opts.cleanOnPaste?(this.rtePaste=!0,this.buffer.set(),this.selection.save(),this.utils.saveScroll(),this.paste.createPasteBox(),t(window).on("scroll.redactor-freeze",t.proxy(function(){t(window).scrollTop(this.saveBodyScroll)},this)),void setTimeout(t.proxy(function(){var e=this.$pasteBox.html();this.$pasteBox.remove(),this.selection.restore(),this.utils.restoreScroll(),this.paste.insert(e),t(window).off("scroll.redactor-freeze"),this.linkify.isEnabled()&&this.linkify.format()},this),1)):void setTimeout(t.proxy(this.code.sync,this),1)},createPasteBox:function(){if(this.$pasteBox=t("<div>").html("").attr("contenteditable","true").css({position:"fixed",width:0,top:0,left:"-9999px"}),this.utils.browser("msie"))this.$box.append(this.$pasteBox);else{var e=t(".modal-body:visible");e.length>0?e.append(this.$pasteBox):t("body").append(this.$pasteBox)}this.$pasteBox.get(0).focus()},insert:function(e){e=this.core.setCallback("pasteBefore",e),e=this.utils.isSelectAll()?this.clean.onPaste(e,!1):this.clean.onPaste(e),e=this.core.setCallback("paste",e),this.utils.isSelectAll()?this.insert.set(e,!1):this.insert.html(e,!1),this.utils.disableSelectAll(),this.rtePaste=!1,setTimeout(t.proxy(this.clean.clearUnverified,this),10),setTimeout(t.proxy(function(){var e=this.$editor.find("span");t.each(e,function(e,i){var s=i.innerHTML.replace(/\u200B/,"");""===s&&0===i.attributes.length&&t(i).remove()})},this),10)}}},placeholder:function(){return{enable:function(){this.placeholder.is()&&(this.$editor.attr("placeholder",this.$element.attr("placeholder")),this.placeholder.toggle(),this.$editor.on("keydown.redactor-placeholder",t.proxy(this.placeholder.toggle,this)))},toggle:function(){setTimeout(t.proxy(function(){var t=this.utils.isEmpty(this.$editor.html(),!1)?"addClass":"removeClass";this.$editor[t]("redactor-placeholder")},this),5)},remove:function(){this.$editor.removeClass("redactor-placeholder")},is:function(){return this.opts.placeholder?this.$element.attr("placeholder",this.opts.placeholder):!("undefined"==typeof this.$element.attr("placeholder")||""===this.$element.attr("placeholder"))}}},progress:function(){return{show:function(){t(document.body).append(t('<div id="redactor-progress"><span></span></div>')),t("#redactor-progress").fadeIn()},hide:function(){t("#redactor-progress").fadeOut(1500,function(){t(this).remove()})}}},selection:function(){return{get:function(){this.sel=document.getSelection(),this.range=document.getSelection&&this.sel.getRangeAt&&this.sel.rangeCount?this.sel.getRangeAt(0):document.createRange()},addRange:function(){try{this.sel.removeAllRanges()}catch(t){}this.sel.addRange(this.range)},getCurrent:function(){var t=!1;return this.selection.get(),this.sel&&this.sel.rangeCount>0&&(t=this.sel.getRangeAt(0).startContainer),this.utils.isRedactorParent(t)},getParent:function(e){return e=e||this.selection.getCurrent(),e?this.utils.isRedactorParent(t(e).parent()[0]):!1},getPrev:function(){return window.getSelection().anchorNode.previousSibling},getNext:function(){return window.getSelection().anchorNode.nextSibling},getBlock:function(e){for(e=e||this.selection.getCurrent();e;){if(this.utils.isBlockTag(e.tagName))return t(e).hasClass("redactor-editor")?!1:e;e=e.parentNode}return!1},getInlines:function(e,i){if(this.selection.get(),this.range&&this.range.collapsed)return!1;var s=[];e="undefined"==typeof e||e===!1?this.selection.getNodes():e;var r=this.opts.inlineTags;if(r.push("span"),"undefined"!=typeof i)for(var o=0;o<i.length;o++)r.push(i[o]);return t.each(e,t.proxy(function(e,i){-1!=t.inArray(i.tagName.toLowerCase(),r)&&s.push(i)},this)),0===s.length?!1:s},getInlinesTags:function(e){if(this.selection.get(),this.range&&this.range.collapsed)return!1;var i=[],s=this.selection.getNodes();return t.each(s,t.proxy(function(s,r){-1!=t.inArray(r.tagName.toLowerCase(),e)&&i.push(r)},this)),0===i.length?!1:i},getBlocks:function(e){if(this.selection.get(),this.range&&this.range.collapsed)return[this.selection.getBlock()];var i=[];return e="undefined"==typeof e?this.selection.getNodes():e,t.each(e,t.proxy(function(t,e){this.utils.isBlock(e)&&i.push(e)},this)),0===i.length?[this.selection.getBlock()]:i},getLastBlock:function(){return this.selection.lastBlock},getNodes:function(){this.selection.get();var e=this.selection.getNodesMarker(1),i=this.selection.getNodesMarker(2);if(this.range.collapsed===!1){if(window.getSelection){var s=window.getSelection();if(s.rangeCount>0){var r=s.getRangeAt(0),o=r.startContainer,n=r.startOffset,a=r.cloneRange();a.collapse(!1),a.insertNode(i),a.setStart(o,n),a.collapse(!0),a.insertNode(e),r.setStartAfter(e),r.setEndBefore(i),s.removeAllRanges(),s.addRange(r)}}}else this.selection.setNodesMarker(this.range,e,!0),i=e;var l=[],c=0,h=this;this.$editor.find("*").each(function(){if(this==e){var s=t(this).parent();0!==s.length&&"BODY"!=s[0].tagName&&h.utils.isRedactorParent(s[0])&&l.push(s[0]),l.push(this),c=1}else c>0&&(l.push(this),c+=1);return this==i?!1:void 0});for(var d=[],u=l.length,p=0;u>p;p++)"nodes-marker-1"!=l[p].id&&"nodes-marker-2"!=l[p].id&&d.push(l[p]);return this.selection.removeNodesMarkers(),d},getNodesMarker:function(e){return t('<span id="nodes-marker-'+e+'" class="redactor-nodes-marker" data-verified="redactor">'+this.opts.invisibleSpace+"</span>")[0]},setNodesMarker:function(t,e,i){var t=t.cloneRange();try{t.collapse(i),t.insertNode(e)}catch(t){}},removeNodesMarkers:function(){t(document).find("span.redactor-nodes-marker").remove(),this.$editor.find("span.redactor-nodes-marker").remove()},fromPoint:function(t,e){this.caret.setOffset(t,e)},wrap:function(t){if(this.selection.get(),this.range.collapsed)return!1;var e=document.createElement(t);return e.appendChild(this.range.extractContents()),this.range.insertNode(e),e},selectElement:function(t){if(this.utils.browser("mozilla")){t=t[0]||t;var e=document.createRange();e.selectNodeContents(t)}else this.caret.set(t,0,t,1)},selectAll:function(){this.selection.get(),this.range.selectNodeContents(this.$editor[0]),this.selection.addRange()},remove:function(){this.selection.get(),this.sel.removeAllRanges()},save:function(){this.selection.createMarkers()},createMarkers:function(){this.selection.get();var t=this.selection.getMarker(1);if(this.selection.setMarker(this.range,t,!0),this.range.collapsed===!1){var e=this.selection.getMarker(2);this.selection.setMarker(this.range,e,!1)}this.savedSel=this.$editor.html()},getMarker:function(e){return"undefined"==typeof e&&(e=1),t('<span id="selection-marker-'+e+'" class="redactor-selection-marker"  data-verified="redactor">'+this.opts.invisibleSpace+"</span>")[0]},getMarkerAsHtml:function(t){return this.utils.getOuterHtml(this.selection.getMarker(t))},setMarker:function(t,e,i){t=t.cloneRange();try{t.collapse(i),t.insertNode(e)}catch(t){this.focus.setStart()}},restore:function(){var t=this.$editor.find("span#selection-marker-1"),e=this.$editor.find("span#selection-marker-2");this.utils.browser("mozilla")&&this.$editor.focus(),0!==t.length&&0!==e.length?this.caret.set(t,0,e,0):0!==t.length?this.caret.set(t,0,t,0):this.$editor.focus(),this.selection.removeMarkers(),this.savedSel=!1},removeMarkers:function(){this.$editor.find("span.redactor-selection-marker").each(function(e,i){var s=t(i).text().replace(/\u200B/g,"");""===s?t(i).remove():t(i).replaceWith(function(){return t(this).contents()})})},getText:function(){return this.selection.get(),this.sel.toString()},getHtml:function(){var t="";if(this.selection.get(),this.sel.rangeCount){for(var e=document.createElement("div"),i=this.sel.rangeCount,s=0;i>s;++s)e.appendChild(this.sel.getRangeAt(s).cloneContents());t=e.innerHTML}return this.clean.onSync(t)},replaceSelection:function(t){this.selection.get(),this.range.deleteContents();var e=document.createElement("div");e.innerHTML=t;for(var i,s=document.createDocumentFragment();i=e.firstChild;)s.appendChild(i);this.range.insertNode(s)},replaceWithHtml:function(t){t=this.selection.getMarkerAsHtml(1)+t+this.selection.getMarkerAsHtml(2),this.selection.get(),window.getSelection&&window.getSelection().getRangeAt?this.selection.replaceSelection(t):document.selection&&document.selection.createRange&&this.range.pasteHTML(t),this.selection.restore(),this.code.sync()}}},shortcuts:function(){return{init:function(e,i){return this.opts.shortcuts?void t.each(this.opts.shortcuts,t.proxy(function(i,s){for(var r=i.split(","),o=r.length,n=0;o>n;n++)"string"==typeof r[n]&&this.shortcuts.handler(e,t.trim(r[n]),t.proxy(function(){var t;"-1"!=s.func.search(/\./)?(t=s.func.split("."),"undefined"!=typeof this[t[0]]&&this[t[0]][t[1]].apply(this,s.params)):this[s.func].apply(this,s.params)},this))},this)):(!e.ctrlKey&&!e.metaKey||66!==i&&73!==i||e.preventDefault(),!1)},handler:function(e,i,s){var r={8:"backspace",9:"tab",10:"return",13:"return",16:"shift",17:"ctrl",18:"alt",19:"pause",20:"capslock",27:"esc",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",45:"insert",46:"del",59:";",61:"=",96:"0",97:"1",98:"2",99:"3",100:"4",101:"5",102:"6",103:"7",104:"8",105:"9",106:"*",107:"+",109:"-",110:".",111:"/",112:"f1",113:"f2",114:"f3",115:"f4",116:"f5",117:"f6",118:"f7",119:"f8",120:"f9",121:"f10",122:"f11",123:"f12",144:"numlock",145:"scroll",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},o={"`":"~",1:"!",2:"@",3:"#",4:"$",5:"%",6:"^",7:"&",8:"*",9:"(",0:")","-":"_","=":"+",";":": ","'":'"',",":"<",".":">","/":"?","\\":"|"};i=i.toLowerCase().split(" ");var n=r[e.keyCode],a=String.fromCharCode(e.which).toLowerCase(),l="",c={};t.each(["alt","ctrl","meta","shift"],function(t,i){e[i+"Key"]&&n!==i&&(l+=i+"+")}),n&&(c[l+n]=!0),a&&(c[l+a]=!0,c[l+o[a]]=!0,"shift+"===l&&(c[o[a]]=!0));for(var h=0,d=i.length;d>h;h++)if(c[i[h]])return e.preventDefault(),s.apply(this,arguments)}}},tabifier:function(){return{get:function(t){if(!this.opts.tabifier)return t;var e=["area","body","head","hr","i?frame","link","meta","noscript","style","script","table","tbody","thead","tfoot"],i=["li","dt","dt","h[1-6]","option","script"],s=["p","blockquote","div","dl","fieldset","form","frameset","map","ol","pre","select","td","th","tr","ul"];this.tabifier.lineBefore=new RegExp("^<(/?"+e.join("|/?")+"|"+i.join("|")+")[ >]"),this.tabifier.lineAfter=new RegExp("^<(br|/?"+e.join("|/?")+"|/"+i.join("|/")+")[ >]"),this.tabifier.newLevel=new RegExp("^</?("+s.join("|")+")[ >]");var r=0,o=t.length,n=0,a=null,l=null,c="",h="",d="";for(this.tabifier.cleanlevel=0;o>r;r++){if(n=r,-1==t.substr(r).indexOf("<"))return h+=t.substr(r),this.tabifier.finish(h);for(;o>n&&"<"!=t.charAt(n);)n++;for(r!=n&&(d=t.substr(r,n-r),d.match(/^\s{2,}$/g)||("\n"==h.charAt(h.length-1)?h+=this.tabifier.getTabs():"\n"==d.charAt(0)&&(h+="\n"+this.tabifier.getTabs(),
+d=d.replace(/^\s+/,"")),h+=d),d.match(/\n/)&&(h+="\n"+this.tabifier.getTabs())),a=n;o>n&&">"!=t.charAt(n);)n++;c=t.substr(a,n-a),r=n;var u;if("!--"==c.substr(1,3)){if(!c.match(/--$/)){for(;"-->"!=t.substr(n,3);)n++;n+=2,c=t.substr(a,n-a),r=n}"\n"!=h.charAt(h.length-1)&&(h+="\n"),h+=this.tabifier.getTabs(),h+=c+">\n"}else"!"==c[1]?h=this.tabifier.placeTag(c+">",h):"?"==c[1]?h+=c+">\n":(u=c.match(/^<(script|style|pre)/i))?(u[1]=u[1].toLowerCase(),c=this.tabifier.cleanTag(c),h=this.tabifier.placeTag(c,h),l=String(t.substr(r+1)).toLowerCase().indexOf("</"+u[1]),l&&(d=t.substr(r+1,l),r+=l,h+=d)):(c=this.tabifier.cleanTag(c),h=this.tabifier.placeTag(c,h))}return this.tabifier.finish(h)},getTabs:function(){for(var t="",e=0;e<this.tabifier.cleanlevel;e++)t+="      ";return t},finish:function(t){return t=t.replace(/\n\s*\n/g,"\n"),t=t.replace(/^[\s\n]*/,""),t=t.replace(/[\s\n]*$/,""),t=t.replace(/<script(.*?)>\n<\/script>/gi,"<script$1></script>"),this.tabifier.cleanlevel=0,t},cleanTag:function(t){var e="";t=t.replace(/\n/g," "),t=t.replace(/\s{2,}/g," "),t=t.replace(/^\s+|\s+$/g," ");var i="";t.match(/\/$/)&&(i="/",t=t.replace(/\/+$/,""));for(var s;s=/\s*([^= ]+)(?:=((['"']).*?\3|[^ ]+))?/.exec(t);)s[2]?e+=s[1].toLowerCase()+"="+s[2]:s[1]&&(e+=s[1].toLowerCase()),e+=" ",t=t.substr(s[0].length);return e.replace(/\s*$/,"")+i+">"},placeTag:function(t,e){var i=t.match(this.tabifier.newLevel);return(t.match(this.tabifier.lineBefore)||i)&&(e=e.replace(/\s*$/,""),e+="\n"),i&&"/"==t.charAt(1)&&this.tabifier.cleanlevel--,"\n"==e.charAt(e.length-1)&&(e+=this.tabifier.getTabs()),i&&"/"!=t.charAt(1)&&this.tabifier.cleanlevel++,e+=t,(t.match(this.tabifier.lineAfter)||t.match(this.tabifier.newLevel))&&(e=e.replace(/ *$/,"")),e}}},tidy:function(){return{setupAllowed:function(){var e=t.inArray("span",this.opts.removeEmpty);if(-1!==e&&this.opts.removeEmpty.splice(e,1),this.opts.allowedTags&&(this.opts.deniedTags=!1),this.opts.allowedAttr&&(this.opts.removeAttr=!1),!this.opts.linebreaks){var i=["p","section"];this.opts.allowedTags&&this.tidy.addToAllowed(i),this.opts.deniedTags&&this.tidy.removeFromDenied(i)}},addToAllowed:function(e){for(var i=e.length,s=0;i>s;s++)-1==t.inArray(e[s],this.opts.allowedTags)&&this.opts.allowedTags.push(e[s])},removeFromDenied:function(e){for(var i=e.length,s=0;i>s;s++){var r=t.inArray(e[s],this.opts.deniedTags);-1!=r&&this.opts.deniedTags.splice(r,1)}},load:function(e,i){return this.tidy.settings={deniedTags:this.opts.deniedTags,allowedTags:this.opts.allowedTags,removeComments:this.opts.removeComments,replaceTags:this.opts.replaceTags,replaceStyles:this.opts.replaceStyles,removeDataAttr:this.opts.removeDataAttr,removeAttr:this.opts.removeAttr,allowedAttr:this.opts.allowedAttr,removeWithoutAttr:this.opts.removeWithoutAttr,removeEmpty:this.opts.removeEmpty},t.extend(this.tidy.settings,i),e=this.tidy.removeComments(e),this.tidy.$div=t("<div />").append(e),this.tidy.replaceTags(),this.tidy.replaceStyles(),this.tidy.removeTags(),this.tidy.removeAttr(),this.tidy.removeEmpty(),this.tidy.removeParagraphsInLists(),this.tidy.removeDataAttr(),this.tidy.removeWithoutAttr(),e=this.tidy.$div.html(),this.tidy.$div.remove(),e},removeComments:function(t){return this.tidy.settings.removeComments?t.replace(/<!--[\s\S]*?-->/gi,""):t},replaceTags:function(e){if(!this.tidy.settings.replaceTags)return e;for(var i=this.tidy.settings.replaceTags.length,s=[],r=[],o=0;i>o;o++)r.push(this.tidy.settings.replaceTags[o][1]),s.push(this.tidy.settings.replaceTags[o][0]);t.each(s,t.proxy(function(e,i){this.tidy.$div.find(i).replaceWith(function(){return t("<"+r[e]+" />",{html:t(this).html()})})},this))},replaceStyles:function(){if(this.tidy.settings.replaceStyles){var e=this.tidy.settings.replaceStyles.length;this.tidy.$div.find("span").each(t.proxy(function(i,s){for(var r=t(s),o=r.attr("style"),n=0;e>n;n++)if(o&&o.match(new RegExp("^"+this.tidy.settings.replaceStyles[n][0],"i"))){var a=this.tidy.settings.replaceStyles[n][1];r.replaceWith(function(){var e=document.createElement(a);return t(e).append(t(this).contents())})}},this))}},removeTags:function(){!this.tidy.settings.deniedTags&&this.tidy.settings.allowedTags&&this.tidy.$div.find("*").not(this.tidy.settings.allowedTags.join(",")).each(function(e,i){""===i.innerHTML?t(i).remove():t(i).contents().unwrap()}),this.tidy.settings.deniedTags&&this.tidy.$div.find(this.tidy.settings.deniedTags.join(",")).each(function(e,i){t(i).hasClass("redactor-script-tag")||t(i).hasClass("redactor-selection-marker")||(""===i.innerHTML?t(i).remove():t(i).contents().unwrap())})},removeAttr:function(){var e;if(!this.tidy.settings.removeAttr&&this.tidy.settings.allowedAttr){var i=[],s=[];e=this.tidy.settings.allowedAttr.length;for(var r=0;e>r;r++)i.push(this.tidy.settings.allowedAttr[r][0]),s.push(this.tidy.settings.allowedAttr[r][1]);this.tidy.$div.find("*").each(t.proxy(function(e,r){var o=t(r),n=t.inArray(o[0].tagName.toLowerCase(),i),a=this.tidy.removeAttrGetRemoves(n,s,o);a&&t.each(a,function(t,e){o.removeAttr(e)})},this))}if(this.tidy.settings.removeAttr){e=this.tidy.settings.removeAttr.length;for(var r=0;e>r;r++){var o=this.tidy.settings.removeAttr[r][1];t.isArray(o)&&(o=o.join(" ")),this.tidy.$div.find(this.tidy.settings.removeAttr[r][0]).removeAttr(o)}}},removeAttrGetRemoves:function(e,i,s){var r=[];return-1==e?t.each(s[0].attributes,function(t,e){r.push(e.name)}):"*"==i[e]?r=[]:t.each(s[0].attributes,function(s,o){t.isArray(i[e])?-1==t.inArray(o.name,i[e])&&r.push(o.name):i[e]!=o.name&&r.push(o.name)}),r},removeAttrs:function(e,i){return i=new RegExp(i,"g"),e.each(function(){for(var e=t(this),s=this.attributes.length-1,r=s;r>=0;r--){var o=this.attributes[r];o&&o.specified&&o.name.search(i)>=0&&e.removeAttr(o.name)}})},removeEmpty:function(){this.tidy.settings.removeEmpty&&this.tidy.$div.find(this.tidy.settings.removeEmpty.join(",")).each(function(){var e=t(this),i=e.text();i=i.replace(/\u200B/g,""),i=i.replace(/&nbsp;/gi,""),i=i.replace(/\s/g,""),""===i&&0===e.children().length&&e.remove()})},removeParagraphsInLists:function(){this.tidy.$div.find("li p").contents().unwrap()},removeDataAttr:function(){if(this.tidy.settings.removeDataAttr){var e=this.tidy.settings.removeDataAttr;t.isArray(this.tidy.settings.removeDataAttr)&&(e=this.tidy.settings.removeDataAttr.join(",")),this.tidy.removeAttrs(this.tidy.$div.find(e),"^(data-)")}},removeWithoutAttr:function(){this.tidy.settings.removeWithoutAttr&&this.tidy.$div.find(this.tidy.settings.removeWithoutAttr.join(",")).each(function(){0===this.attributes.length&&t(this).contents().unwrap()})}}},toolbar:function(){return{init:function(){return{html:{title:this.lang.get("html"),func:"code.toggle"},formatting:{title:this.lang.get("formatting"),dropdown:{p:{title:this.lang.get("paragraph"),func:"block.format"},blockquote:{title:this.lang.get("quote"),func:"block.format"},pre:{title:this.lang.get("code"),func:"block.format"},h1:{title:this.lang.get("header1"),func:"block.format"},h2:{title:this.lang.get("header2"),func:"block.format"},h3:{title:this.lang.get("header3"),func:"block.format"},h4:{title:this.lang.get("header4"),func:"block.format"},h5:{title:this.lang.get("header5"),func:"block.format"}}},bold:{title:this.lang.get("bold"),func:"inline.format"},italic:{title:this.lang.get("italic"),func:"inline.format"},deleted:{title:this.lang.get("deleted"),func:"inline.format"},underline:{title:this.lang.get("underline"),func:"inline.format"},unorderedlist:{title:"&bull; "+this.lang.get("unorderedlist"),func:"list.toggle"},orderedlist:{title:"1. "+this.lang.get("orderedlist"),func:"list.toggle"},outdent:{title:"< "+this.lang.get("outdent"),func:"indent.decrease"},indent:{title:"> "+this.lang.get("indent"),func:"indent.increase"},image:{title:this.lang.get("image"),func:"image.show"},file:{title:this.lang.get("file"),func:"file.show"},link:{title:this.lang.get("link"),dropdown:{link:{title:this.lang.get("link_insert"),func:"link.show",observe:{element:"a",in:{title:this.lang.get("link_edit")},out:{title:this.lang.get("link_insert")}}},unlink:{title:this.lang.get("unlink"),func:"link.unlink",observe:{element:"a",out:{attr:{class:"redactor-dropdown-link-inactive","aria-disabled":!0}}}}}},alignment:{title:this.lang.get("alignment"),dropdown:{left:{title:this.lang.get("align_left"),func:"alignment.left"},center:{title:this.lang.get("align_center"),func:"alignment.center"},right:{title:this.lang.get("align_right"),func:"alignment.right"},justify:{title:this.lang.get("align_justify"),func:"alignment.justify"}}},horizontalrule:{title:this.lang.get("horizontalrule"),func:"line.insert"}}},build:function(){this.toolbar.hideButtons(),this.toolbar.hideButtonsOnMobile(),this.toolbar.isButtonSourceNeeded(),0!==this.opts.buttons.length&&(this.$toolbar=this.toolbar.createContainer(),this.toolbar.setOverflow(),this.toolbar.append(),this.toolbar.setFormattingTags(),this.toolbar.loadButtons(),this.toolbar.setFixed(),this.opts.activeButtons&&this.$editor.on("mouseup.redactor keyup.redactor focus.redactor",t.proxy(this.observe.toolbar,this)))},createContainer:function(){return t("<ul>").addClass("redactor-toolbar").attr({id:"redactor-toolbar-"+this.uuid,role:"toolbar"})},setFormattingTags:function(){t.each(this.opts.toolbar.formatting.dropdown,t.proxy(function(e){-1==t.inArray(e,this.opts.formatting)&&delete this.opts.toolbar.formatting.dropdown[e]},this))},loadButtons:function(){t.each(this.opts.buttons,t.proxy(function(e,i){if(this.opts.toolbar[i]){if("file"===i){if(this.opts.fileUpload===!1)return;if(!this.opts.fileUpload&&this.opts.s3===!1)return}if("image"===i){if(this.opts.imageUpload===!1)return;if(!this.opts.imageUpload&&this.opts.s3===!1)return}var s=this.opts.toolbar[i];this.$toolbar.append(t("<li>").append(this.button.build(i,s)))}},this))},append:function(){this.opts.toolbarExternal?(this.$toolbar.addClass("redactor-toolbar-external"),t(this.opts.toolbarExternal).html(this.$toolbar)):this.$box.prepend(this.$toolbar)},setFixed:function(){this.utils.isDesktop()&&(this.opts.toolbarExternal||this.opts.toolbarFixed&&(this.toolbar.observeScroll(),t(this.opts.toolbarFixedTarget).on("scroll.redactor."+this.uuid,t.proxy(this.toolbar.observeScroll,this))))},setOverflow:function(){this.utils.isMobile()&&this.opts.toolbarOverflow&&this.$toolbar.addClass("redactor-toolbar-overflow")},isButtonSourceNeeded:function(){if(!this.opts.source){var t=this.opts.buttons.indexOf("html");-1!==t&&this.opts.buttons.splice(t,1)}},hideButtons:function(){0!==this.opts.buttonsHide.length&&t.each(this.opts.buttonsHide,t.proxy(function(t,e){var i=this.opts.buttons.indexOf(e);this.opts.buttons.splice(i,1)},this))},hideButtonsOnMobile:function(){this.utils.isMobile()&&0!==this.opts.buttonsHideOnMobile.length&&t.each(this.opts.buttonsHideOnMobile,t.proxy(function(t,e){var i=this.opts.buttons.indexOf(e);this.opts.buttons.splice(i,1)},this))},observeScroll:function(){var e=t(this.opts.toolbarFixedTarget).scrollTop(),i=1;this.opts.toolbarFixedTarget===document&&(i=this.$box.offset().top),e+this.opts.toolbarFixedTopOffset>i?this.toolbar.observeScrollEnable(e,i):this.toolbar.observeScrollDisable()},observeScrollEnable:function(e,i){var s=this.opts.toolbarFixedTopOffset+e-i,r=0,o=i+this.$box.height()-32,n=this.$box.innerWidth();this.$toolbar.addClass("toolbar-fixed-box"),this.$toolbar.css({position:"absolute",width:n,top:s+"px",left:r}),e>o&&t(".redactor-dropdown-"+this.uuid+":visible").hide(),this.toolbar.setDropdownsFixed(),this.$toolbar.css("visibility",o>e?"visible":"hidden")},observeScrollDisable:function(){this.$toolbar.css({position:"relative",width:"auto",top:0,left:0,visibility:"visible"}),this.toolbar.unsetDropdownsFixed(),this.$toolbar.removeClass("toolbar-fixed-box")},setDropdownsFixed:function(){var e=this.$toolbar.innerHeight()+this.opts.toolbarFixedTopOffset,i="fixed";this.opts.toolbarFixedTarget!==document&&(e=this.$toolbar.innerHeight()+this.$toolbar.offset().top+this.opts.toolbarFixedTopOffset,i="absolute"),t(".redactor-dropdown-"+this.uuid).each(function(){t(this).css({position:i,top:e+"px"})})},unsetDropdownsFixed:function(){var e=this.$toolbar.innerHeight()+this.$toolbar.offset().top;t(".redactor-dropdown-"+this.uuid).each(function(){t(this).css({position:"absolute",top:e+"px"})})}}},upload:function(){return{init:function(e,i,s){this.upload.direct=!1,this.upload.callback=s,this.upload.url=i,this.upload.$el=t(e),this.upload.$droparea=t('<div id="redactor-droparea" />'),this.upload.$placeholdler=t('<div id="redactor-droparea-placeholder" />').text(this.lang.get("upload_label")),this.upload.$input=t('<input type="file" name="file" />'),this.upload.$placeholdler.append(this.upload.$input),this.upload.$droparea.append(this.upload.$placeholdler),this.upload.$el.append(this.upload.$droparea),this.upload.$droparea.off("redactor.upload"),this.upload.$input.off("redactor.upload"),this.upload.$droparea.on("dragover.redactor.upload",t.proxy(this.upload.onDrag,this)),this.upload.$droparea.on("dragleave.redactor.upload",t.proxy(this.upload.onDragLeave,this)),this.upload.$input.on("change.redactor.upload",t.proxy(function(t){t=t.originalEvent||t,this.upload.traverseFile(this.upload.$input[0].files[0],t)},this)),this.upload.$droparea.on("drop.redactor.upload",t.proxy(function(t){t.preventDefault(),this.upload.$droparea.removeClass("drag-hover").addClass("drag-drop"),this.upload.onDrop(t)},this))},directUpload:function(t,e){this.upload.direct=!0,this.upload.traverseFile(t,e)},onDrop:function(t){t=t.originalEvent||t;var e=t.dataTransfer.files;this.upload.traverseFile(e[0],t)},traverseFile:function(t,e){if(this.opts.s3)return this.upload.setConfig(t),void this.upload.s3uploadFile(t);var i=window.FormData?new FormData:null;if(window.FormData){this.upload.setConfig(t);var s="image"==this.upload.type?this.opts.imageUploadParam:this.opts.fileUploadParam;i.append(s,t)}this.progress.show(),this.core.setCallback("uploadStart",e,i),this.upload.sendData(i,e)},setConfig:function(t){this.upload.getType(t),this.upload.direct&&(this.upload.url="image"==this.upload.type?this.opts.imageUpload:this.opts.fileUpload,this.upload.callback="image"==this.upload.type?this.image.insert:this.file.insert)},getType:function(t){this.upload.type="image",-1==this.opts.imageTypes.indexOf(t.type)&&(this.upload.type="file")},getHiddenFields:function(e,i){return e===!1||"object"!=typeof e?i:(t.each(e,t.proxy(function(e,s){null!==s&&0===s.toString().indexOf("#")&&(s=t(s).val()),i.append(e,s)},this)),i)},sendData:function(e,i){"image"==this.upload.type?(e=this.upload.getHiddenFields(this.opts.uploadImageFields,e),e=this.upload.getHiddenFields(this.upload.imageFields,e)):(e=this.upload.getHiddenFields(this.opts.uploadFileFields,e),e=this.upload.getHiddenFields(this.upload.fileFields,e));var s=new XMLHttpRequest;s.open("POST",this.upload.url),s.setRequestHeader("X-Requested-With","XMLHttpRequest"),s.onreadystatechange=t.proxy(function(){if(4==s.readyState){var e=s.responseText;e=e.replace(/^\[/,""),e=e.replace(/\]$/,"");var r;try{r="string"==typeof e?t.parseJSON(e):e}catch(t){r={error:!0}}this.progress.hide(),this.upload.direct||this.upload.$droparea.removeClass("drag-drop"),this.upload.callback(r,this.upload.direct,i)}},this),s.send(e)},onDrag:function(t){t.preventDefault(),this.upload.$droparea.addClass("drag-hover")},onDragLeave:function(t){t.preventDefault(),this.upload.$droparea.removeClass("drag-hover")},clearImageFields:function(){this.upload.imageFields={}},addImageFields:function(t,e){this.upload.imageFields[t]=e},removeImageFields:function(t){delete this.upload.imageFields[t]},clearFileFields:function(){this.upload.fileFields={}},addFileFields:function(t,e){this.upload.fileFields[t]=e},removeFileFields:function(t){delete this.upload.fileFields[t]},s3uploadFile:function(e){this.upload.s3executeOnSignedUrl(e,t.proxy(function(t){this.upload.s3uploadToS3(e,t)},this))},s3executeOnSignedUrl:function(t,e){var i=new XMLHttpRequest,s="-1"!==this.opts.s3.search(/\?/)?"?":"&";i.open("GET",this.opts.s3+s+"name="+t.name+"&type="+t.type,!0),i.overrideMimeType&&i.overrideMimeType("text/plain; charset=x-user-defined");var r=this;i.onreadystatechange=function(){4==this.readyState&&200==this.status?(r.progress.show(),e(decodeURIComponent(this.responseText))):4==this.readyState&&200!=this.status},i.send()},s3createCORSRequest:function(t,e){var i=new XMLHttpRequest;return"withCredentials"in i?i.open(t,e,!0):"undefined"!=typeof XDomainRequest?(i=new XDomainRequest,i.open(t,e)):i=null,i},s3uploadToS3:function(e,i){var s=this.upload.s3createCORSRequest("PUT",i);s&&(s.onload=t.proxy(function(){if(200==s.status){this.progress.hide();var t=i.split("?");if(!t[0])return!1;this.upload.direct||this.upload.$droparea.removeClass("drag-drop");var e={filelink:t[0]};if("file"==this.upload.type){var r=t[0].split("/");e.filename=r[r.length-1]}this.upload.callback(e,this.upload.direct,!1)}},this),s.onerror=function(){},s.upload.onprogress=function(){},s.setRequestHeader("Content-Type",e.type),s.setRequestHeader("x-amz-acl","public-read"),s.send(e))}}},utils:function(){return{isMobile:function(){return/(iPhone|iPod|BlackBerry|Android)/.test(navigator.userAgent)},isDesktop:function(){return!/(iPhone|iPod|iPad|BlackBerry|Android)/.test(navigator.userAgent)},isString:function(t){return"[object String]"==Object.prototype.toString.call(t)},isEmpty:function(e,i){return e=e.replace(/[\u200B-\u200D\uFEFF]/g,""),e=e.replace(/&nbsp;/gi,""),e=e.replace(/<\/?br\s?\/?>/g,""),e=e.replace(/\s/g,""),e=e.replace(/^<p>[^\W\w\D\d]*?<\/p>$/i,""),e=e.replace(/<iframe(.*?[^>])>$/i,"iframe"),e=e.replace(/<source(.*?[^>])>$/i,"source"),i!==!1&&(e=e.replace(/<[^\/>][^>]*><\/[^>]+>/gi,""),e=e.replace(/<[^\/>][^>]*><\/[^>]+>/gi,"")),e=t.trim(e),""===e},normalize:function(t){return"undefined"==typeof t?0:parseInt(t.replace("px",""),10)},hexToRgb:function(t){if("undefined"!=typeof t){if(-1==t.search(/^#/))return t;var e=/^#?([a-f\d])([a-f\d])([a-f\d])$/i;t=t.replace(e,function(t,e,i,s){return e+e+i+i+s+s});var i=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);return"rgb("+parseInt(i[1],16)+", "+parseInt(i[2],16)+", "+parseInt(i[3],16)+")"}},getOuterHtml:function(e){return t("<div>").append(t(e).eq(0).clone()).html()},getAlignmentElement:function(e){return-1!==t.inArray(e.tagName,this.opts.alignmentTags)?t(e):t(e).closest(this.opts.alignmentTags.toString().toLowerCase(),this.$editor[0])},removeEmptyAttr:function(e,i){var s=t(e);return"undefined"==typeof s.attr(i)?!0:""===s.attr(i)?(s.removeAttr(i),!0):!1},removeEmpty:function(e,i){var s=t(t.parseHTML(i));if(s.find(".redactor-invisible-space").removeAttr("style").removeAttr("class"),0===s.find("hr, br, img, iframe, source").length){var r=t.trim(s.text());this.utils.isEmpty(r,!1)&&s.remove()}},saveScroll:function(){this.saveEditorScroll=this.$editor.scrollTop(),this.saveBodyScroll=t(window).scrollTop(),this.opts.scrollTarget&&(this.saveTargetScroll=t(this.opts.scrollTarget).scrollTop())},restoreScroll:function(){("undefined"!=typeof this.saveScroll||"undefined"!=typeof this.saveBodyScroll)&&(t(window).scrollTop(this.saveBodyScroll),this.$editor.scrollTop(this.saveEditorScroll),this.opts.scrollTarget&&t(this.opts.scrollTarget).scrollTop(this.saveTargetScroll))},createSpaceElement:function(){var t=document.createElement("span");return t.className="redactor-invisible-space",t.innerHTML=this.opts.invisibleSpace,t},removeInlineTags:function(e){var i=this.opts.inlineTags;i.push("span"),"PRE"==e.tagName&&i.push("a"),t(e).find(i.join(",")).not("span.redactor-selection-marker").contents().unwrap()},replaceWithContents:function(e,i){var s=this;return t(e).replaceWith(function(){return i===!0&&s.utils.removeInlineTags(this),t(this).contents()}),t(e)},replaceToTag:function(e,i,s){var r,o=this;return t(e).replaceWith(function(){r=t("<"+i+" />").append(t(this).contents());for(var e=0;e<this.attributes.length;e++)r.attr(this.attributes[e].name,this.attributes[e].value);return s===!0&&o.utils.removeInlineTags(r),r}),r},isStartOfElement:function(){var t=this.selection.getBlock();if(!t)return!1;var e=this.caret.getOffsetOfElement(t);return 0===e?!0:!1},isEndOfElement:function(e){if("undefined"==typeof e){var e=this.selection.getBlock();if(!e)return!1}var i=this.caret.getOffsetOfElement(e),s=t.trim(t(e).text()).replace(/\n\r\n/g,"");return i==s.length?!0:!1},isStartOfEditor:function(){var t=this.caret.getOffsetOfElement(this.$editor[0]);return 0===t?!0:!1},isEndOfEditor:function(){var e=this.$editor[0],i=this.caret.getOffsetOfElement(e),s=t.trim(t(e).html().replace(/(<([^>]+)>)/gi,""));return i==s.length?!0:!1},isBlock:function(t){return t=t[0]||t,t&&this.utils.isBlockTag(t.tagName)},isBlockTag:function(t){return"undefined"==typeof t?!1:this.reIsBlock.test(t)},isTag:function(e,i){var s=t(e).closest(i,this.$editor[0]);return 1==s.length?s[0]:!1},isSelectAll:function(){return this.selectAll},enableSelectAll:function(){this.selectAll=!0},disableSelectAll:function(){this.selectAll=!1},isRedactorParent:function(e){return e?0===t(e).parents(".redactor-editor").length||t(e).hasClass("redactor-editor")?!1:e:!1},isCurrentOrParentHeader:function(){return this.utils.isCurrentOrParent(["H1","H2","H3","H4","H5","H6"])},isCurrentOrParent:function(e){var i=this.selection.getParent(),s=this.selection.getCurrent();if(t.isArray(e)){var r=0;return t.each(e,t.proxy(function(t,e){this.utils.isCurrentOrParentOne(s,i,e)&&r++},this)),0===r?!1:!0}return this.utils.isCurrentOrParentOne(s,i,e)},isCurrentOrParentOne:function(t,e,i){return i=i.toUpperCase(),e&&e.tagName===i?e:t&&t.tagName===i?t:!1},isOldIe:function(){return this.utils.browser("msie")&&parseInt(this.utils.browser("version"),10)<9?!0:!1},isLessIe10:function(){return this.utils.browser("msie")&&parseInt(this.utils.browser("version"),10)<10?!0:!1},isIe11:function(){return!!navigator.userAgent.match(/Trident\/7\./)},browser:function(t){var e=navigator.userAgent.toLowerCase(),i=/(opr)[\/]([\w.]+)/.exec(e)||/(chrome)[ \/]([\w.]+)/.exec(e)||/(webkit)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(e)||/(webkit)[ \/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(e)||/(msie) ([\w.]+)/.exec(e)||e.indexOf("trident")>=0&&/(rv)(?::| )([\w.]+)/.exec(e)||e.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(e)||[];return"safari"==t?"undefined"!=typeof i[3]?"safari"==i[3]:!1:"version"==t?i[2]:"webkit"==t?"chrome"==i[1]||"opr"==i[1]||"webkit"==i[1]:"rv"==i[1]?"msie"==t:"opr"==i[1]?"webkit"==t:t==i[1]},strpos:function(t,e,i){var s=t.indexOf(e,i);return s>=0?s:!1},disableBodyScroll:function(){var e=t("html"),i=window.innerWidth;if(!i){var s=document.documentElement.getBoundingClientRect();i=s.right-Math.abs(s.left)}var r=document.body.clientWidth<i,o=this.utils.measureScrollbar();e.css("overflow","hidden"),r&&e.css("padding-right",o)},measureScrollbar:function(){var e=t("body"),i=document.createElement("div");i.className="redactor-scrollbar-measure",e.append(i);var s=i.offsetWidth-i.clientWidth;return e[0].removeChild(i),s},enableBodyScroll:function(){t("html").css({overflow:"","padding-right":""}),t("body").remove("redactor-scrollbar-measure")}}}},t(window).on("load.tools.redactor",function(){t('[data-tools="redactor"]').redactor()}),e.prototype.init.prototype=e.prototype}(jQuery);
\ No newline at end of file