summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/jetpack/_inc/build/after-the-deadline')
-rw-r--r--plugins/jetpack/_inc/build/after-the-deadline/atd-autoproofread.min.js2
-rw-r--r--plugins/jetpack/_inc/build/after-the-deadline/atd-nonvis-editor-plugin.min.js2
-rw-r--r--plugins/jetpack/_inc/build/after-the-deadline/atd.core.min.js2
-rw-r--r--plugins/jetpack/_inc/build/after-the-deadline/jquery.atd.min.js2
-rw-r--r--plugins/jetpack/_inc/build/after-the-deadline/tinymce/editor_plugin.min.js2
-rw-r--r--plugins/jetpack/_inc/build/after-the-deadline/tinymce/plugin.min.js2
6 files changed, 6 insertions, 6 deletions
diff --git a/plugins/jetpack/_inc/build/after-the-deadline/atd-autoproofread.min.js b/plugins/jetpack/_inc/build/after-the-deadline/atd-autoproofread.min.js
index ab4d30d0..ff353116 100644
--- a/plugins/jetpack/_inc/build/after-the-deadline/atd-autoproofread.min.js
+++ b/plugins/jetpack/_inc/build/after-the-deadline/atd-autoproofread.min.js
@@ -3,4 +3,4 @@
/* global tinyMCE, AtD_restore_if_proofreading, AtD_check, AtD_unbind_proofreader_listeners,
AtD, AtD_bind_proofreader_listeners, AtD_check_when
*/
-function AtD_submit_check(t){AtD_proofread_click_count>0||(t.stopImmediatePropagation(),t.preventDefault(),"undefined"!=typeof tinyMCE&&tinyMCE.activeEditor&&!tinyMCE.activeEditor.isHidden()?tinyMCE.activeEditor.execCommand("mceWritingImprovementTool",AtD_submit_check_callback):(AtD_restore_if_proofreading(),AtD_check(AtD_submit_check_callback)))}function AtD_submit_check_callback(t){if(t=Number(t||0),AtD_unbind_proofreader_listeners(),0===t||1<AtD_proofread_click_count)AtD_update_post();else if(-1===t)alert(AtD.getLang("message_server_error","There was a problem communicating with the Proofreading service. Try again in one minute.")),AtD_update_post();else{var e,i=jQuery("#original_post_status").val();e="publish"===i?AtD.getLang("dialog_confirm_post_publish","The proofreader has suggestions for this post. Are you sure you want to publish it?\n\nPress OK to publish your post, or Cancel to view the suggestions and edit your post."):AtD.getLang("dialog_confirm_post_update","The proofreader has suggestions for this post. Are you sure you want to update it?\n\nPress OK to update your post, or Cancel to view the suggestions and edit your post."),confirm(e)?AtD_update_post():(AtD_bind_proofreader_listeners(),AtD_kill_autoproofread()),jQuery("#publish").removeClass("button-primary-disabled"),jQuery("#ajax-loading").hide()}}function AtD_kill_autoproofread(){jQuery("#publish").unbind("click.AtD_submit_check")}function AtD_update_post(){"undefined"!=typeof tinyMCE&&tinyMCE.activeEditor&&!tinyMCE.activeEditor.isHidden()||AtD_restore_if_proofreading(),jQuery("#publish").unbind("click.AtD_submit_check").click()}var AtD_proofread_click_count=0;jQuery(document).ready(function(t){var e=t("#original_post_status").val();"undefined"!=typeof AtD_check_when&&t("#content").length&&("publish"!==e&&AtD_check_when.onpublish||("publish"===e||"schedule"===e)&&AtD_check_when.onupdate)&&t("#publish").bind("click.AtD_submit_check",AtD_submit_check)}); \ No newline at end of file
+var AtD_proofread_click_count=0;function AtD_submit_check(t){AtD_proofread_click_count>0||(t.stopImmediatePropagation(),t.preventDefault(),"undefined"!=typeof tinyMCE&&tinyMCE.activeEditor&&!tinyMCE.activeEditor.isHidden()?tinyMCE.activeEditor.execCommand("mceWritingImprovementTool",AtD_submit_check_callback):(AtD_restore_if_proofreading(),AtD_check(AtD_submit_check_callback)))}function AtD_submit_check_callback(t){if(t=Number(t||0),AtD_unbind_proofreader_listeners(),0===t||1<AtD_proofread_click_count)AtD_update_post();else if(-1===t)alert(AtD.getLang("message_server_error","There was a problem communicating with the Proofreading service. Try again in one minute.")),AtD_update_post();else{var e;e="publish"===jQuery("#original_post_status").val()?AtD.getLang("dialog_confirm_post_publish","The proofreader has suggestions for this post. Are you sure you want to publish it?\n\nPress OK to publish your post, or Cancel to view the suggestions and edit your post."):AtD.getLang("dialog_confirm_post_update","The proofreader has suggestions for this post. Are you sure you want to update it?\n\nPress OK to update your post, or Cancel to view the suggestions and edit your post."),confirm(e)?AtD_update_post():(AtD_bind_proofreader_listeners(),AtD_kill_autoproofread()),jQuery("#publish").removeClass("button-primary-disabled"),jQuery("#ajax-loading").hide()}}function AtD_kill_autoproofread(){jQuery("#publish").unbind("click.AtD_submit_check")}function AtD_update_post(){"undefined"!=typeof tinyMCE&&tinyMCE.activeEditor&&!tinyMCE.activeEditor.isHidden()||AtD_restore_if_proofreading(),jQuery("#publish").unbind("click.AtD_submit_check").click()}jQuery(document).ready(function(t){var e=t("#original_post_status").val();"undefined"!=typeof AtD_check_when&&t("#content").length&&("publish"!==e&&AtD_check_when.onpublish||("publish"===e||"schedule"===e)&&AtD_check_when.onupdate)&&t("#publish").bind("click.AtD_submit_check",AtD_submit_check)}); \ No newline at end of file
diff --git a/plugins/jetpack/_inc/build/after-the-deadline/atd-nonvis-editor-plugin.min.js b/plugins/jetpack/_inc/build/after-the-deadline/atd-nonvis-editor-plugin.min.js
index 09a775ae..9492e37c 100644
--- a/plugins/jetpack/_inc/build/after-the-deadline/atd-nonvis-editor-plugin.min.js
+++ b/plugins/jetpack/_inc/build/after-the-deadline/atd-nonvis-editor-plugin.min.js
@@ -2,4 +2,4 @@
/* jshint devel: true, onevar: false, smarttabs: true */
/* global AtD, QTags, AtD_l10n_r0ar, edButtons, edButton, switchEditors, AtD_unbind_proofreader_listeners */
/* exported AtD_unbind_proofreader_listeners */
-function AtD_restore_text_area(){var t;jQuery("#atd-content").get(0)?(AtD.remove("atd-content"),t=jQuery("#atd-content").html()):(AtD.remove("content"),t=jQuery("#content").html()),"Microsoft Internet Explorer"===navigator.appName&&(t=t.replace(/<BR.*?class.*?atd_remove_me.*?>/gi,"\n")),void 0!==window.twemoji&&(t=t.replace(/<img [^>]+>/g,function(t){if(-1!==t.indexOf("emoji")){var e=t.match(/alt="([^"]+)"/);if(e&&e[1]&&window.twemoji.test(e[1]))return e[1]}return t})),jQuery("#content").val(t.replace(/\&lt\;/g,"<").replace(/\&gt\;/g,">").replace(/\&amp;/g,"&")).height(AtD.height).show(),jQuery("#atd-content").remove(),AtD_qtbutton&&(jQuery(AtD_qtbutton).val(AtD.getLang("button_proofread","proofread")),jQuery(AtD_qtbutton).css({color:"#464646"}),jQuery(AtD_qtbutton).siblings("input").andSelf().attr("disabled",!1)),void 0!==AtD.autosave&&(window.wp&&window.wp.autosave&&window.wp.autosave.server?(window.wp.autosave.local.resume&&window.wp.autosave.local.resume(),window.wp.autosave.server.resume&&window.wp.autosave.server.resume()):autosave=AtD.autosave)}function AtD_restore_if_proofreading(){AtD_qtbutton&&jQuery(AtD_qtbutton).val()===AtD.getLang("button_edit_text","edit text")&&AtD_restore_text_area()}function AtD_unbind_proofreader_listeners(){jQuery("#save-post, #post-preview, #publish, #edButtonPreview").unbind("focus",AtD_restore_if_proofreading),jQuery("#add_poll, #add_image, #add_video, #add_audio, #add_media").unbind("click",AtD_restore_if_proofreading),jQuery("#post").unbind("submit",AtD_restore_if_proofreading)}function AtD_bind_proofreader_listeners(){jQuery("#save-post, #post-preview, #publish, #edButtonPreview").focus(AtD_restore_if_proofreading),jQuery("#add_poll, #add_image, #add_video, #add_audio, #add_media").click(AtD_restore_if_proofreading),jQuery("#post").submit(AtD_restore_if_proofreading)}function AtD_check(t){var e,o;if(jQuery.isFunction(t)?(e=t,AtD_qtbutton||(AtD_qtbutton=jQuery("#qt_content_AtD, #ed_AtD").get(0))):(t.id||(t=t[0]),AtD_qtbutton=t),!jQuery("#content").length)return void 0!==e&&e(0),void AtD_restore_if_proofreading();if(jQuery(AtD_qtbutton).val()===AtD.getLang("button_edit_text","edit text"))AtD_restore_text_area();else{window.editorExpand&&jQuery("#postdivrich").hasClass("wp-editor-expand")?AtD.wpEditorExpand=!0:AtD.wpEditorExpand=!1,AtD.height?AtD.height=jQuery("#content").height():(AtD.height=jQuery("#content").height(),AtD_bind_proofreader_listeners(),jQuery("#edButtonPreview").attr("onclick",null).click(function(){AtD_restore_if_proofreading(),switchEditors.go("content","tinymce")}),AtD.content_canvas=jQuery("#content"),AtD.autosave=autosave),jQuery(AtD_qtbutton).css({color:"red"}).val(AtD.getLang("button_edit_text","edit text")).attr("disabled",!0);var r,n=jQuery("#content"),a=n.val().replace(/\&/g,"&amp;").replace(/</g,"&lt;").replace(/\>/g,"&gt;"),i=n.css("font-family"),d=n.css("font-size"),u=n.css("line-height");"Microsoft Internet Explorer"===navigator.appName&&(a=a.replace(/[\n\r\f]/gm,'<BR class="atd_remove_me">')),r=jQuery('<div class="input" id="atd-content">'+a+"</div>"),n.after(r).hide(),o=AtD.height,o<200?o=200:o>1e3&&(o=1e3);var s=jQuery("#ed_toolbar").height();r.css({overflow:"auto","background-color":"white",color:"black","white-space":"pre-wrap",padding:"10px","font-family":i||"Consolas, Monaco, monospace","font-size":d||"13px","line-height":u||"1.5",height:o,"margin-top":s+7+"px"}),window.wp&&window.wp.autosave&&window.wp.autosave.server?(window.wp.autosave.local.suspend&&window.wp.autosave.local.suspend(),window.wp.autosave.server.suspend&&window.wp.autosave.server.suspend()):autosave=function(){},jQuery(AtD_qtbutton).siblings("input").andSelf().attr("disabled",!0),AtD.check("atd-content",{success:function(t){0===Number(t)&&"function"!=typeof e&&alert(AtD.getLang("message_no_errors_found","No writing errors were found")),AtD_restore_if_proofreading()},ready:function(t){jQuery(AtD_qtbutton).attr("disabled",!1),"function"==typeof e&&e(t)},error:function(){jQuery(AtD_qtbutton).attr("disabled",!1),"function"==typeof e?e(-1):alert(AtD.getLang("message_server_error","There was a problem communicating with the Proofreading service. Try again in one minute.")),AtD_restore_if_proofreading()},editSelection:function(t){var e=prompt(AtD.getLang("dialog_replace_selection","Replace selection with:"),t.text());null!=e&&t.replaceWith(e)},explain:function(t){var e=screen.width/2-240,o=screen.height/2-190;window.open(t,"","width=480,height=380,toolbar=0,status=0,resizable=0,location=0,menuBar=0,left="+e+",top="+o).focus()},ignore:function(t){jQuery.ajax({type:"GET",url:AtD.rpc_ignore+encodeURI(t).replace(/&/g,"%26"),format:"raw",error:function(t,e,o){void 0!==AtD.callback_f&&void 0!==AtD.callback_f.error&&AtD.callback_f.error(e+": "+o)}})}})}}var AtD_qtbutton,autosave;"undefined"!=typeof QTags&&QTags.addButton?jQuery(document).ready(function(){QTags.addButton("AtD",AtD_l10n_r0ar.button_proofread,AtD_check)}):(edButtons[edButtons.length]=new edButton("ed_AtD","AtD","","",""),jQuery(document).ready(function(t){t("#ed_AtD").replaceWith('<input type="button" id="ed_AtD" accesskey="" class="ed_button" onclick="AtD_check(this);" value="'+AtD_l10n_r0ar.button_proofread+'" />')})); \ No newline at end of file
+var AtD_qtbutton,autosave;function AtD_restore_text_area(){var t;jQuery("#atd-content").get(0)?(AtD.remove("atd-content"),t=jQuery("#atd-content").html()):(AtD.remove("content"),t=jQuery("#content").html()),"Microsoft Internet Explorer"===navigator.appName&&(t=t.replace(/<BR.*?class.*?atd_remove_me.*?>/gi,"\n")),void 0!==window.twemoji&&(t=t.replace(/<img [^>]+>/g,function(t){if(-1!==t.indexOf("emoji")){var e=t.match(/alt="([^"]+)"/);if(e&&e[1]&&window.twemoji.test(e[1]))return e[1]}return t})),jQuery("#content").val(t.replace(/\&lt\;/g,"<").replace(/\&gt\;/g,">").replace(/\&amp;/g,"&")).height(AtD.height).show(),jQuery("#atd-content").remove(),AtD_qtbutton&&(jQuery(AtD_qtbutton).val(AtD.getLang("button_proofread","proofread")),jQuery(AtD_qtbutton).css({color:"#464646"}),jQuery(AtD_qtbutton).siblings("input").andSelf().attr("disabled",!1)),void 0!==AtD.autosave&&(window.wp&&window.wp.autosave&&window.wp.autosave.server?(window.wp.autosave.local.resume&&window.wp.autosave.local.resume(),window.wp.autosave.server.resume&&window.wp.autosave.server.resume()):autosave=AtD.autosave)}function AtD_restore_if_proofreading(){AtD_qtbutton&&jQuery(AtD_qtbutton).val()===AtD.getLang("button_edit_text","edit text")&&AtD_restore_text_area()}function AtD_unbind_proofreader_listeners(){jQuery("#save-post, #post-preview, #publish, #edButtonPreview").unbind("focus",AtD_restore_if_proofreading),jQuery("#add_poll, #add_image, #add_video, #add_audio, #add_media").unbind("click",AtD_restore_if_proofreading),jQuery("#post").unbind("submit",AtD_restore_if_proofreading)}function AtD_bind_proofreader_listeners(){jQuery("#save-post, #post-preview, #publish, #edButtonPreview").focus(AtD_restore_if_proofreading),jQuery("#add_poll, #add_image, #add_video, #add_audio, #add_media").click(AtD_restore_if_proofreading),jQuery("#post").submit(AtD_restore_if_proofreading)}function AtD_check(t){var e,o;if(jQuery.isFunction(t)?(e=t,AtD_qtbutton||(AtD_qtbutton=jQuery("#qt_content_AtD, #ed_AtD").get(0))):(t.id||(t=t[0]),AtD_qtbutton=t),!jQuery("#content").length)return void 0!==e&&e(0),void AtD_restore_if_proofreading();if(jQuery(AtD_qtbutton).val()===AtD.getLang("button_edit_text","edit text"))AtD_restore_text_area();else{window.editorExpand&&jQuery("#postdivrich").hasClass("wp-editor-expand")?AtD.wpEditorExpand=!0:AtD.wpEditorExpand=!1,AtD.height?AtD.height=jQuery("#content").height():(AtD.height=jQuery("#content").height(),AtD_bind_proofreader_listeners(),jQuery("#edButtonPreview").attr("onclick",null).click(function(){AtD_restore_if_proofreading(),switchEditors.go("content","tinymce")}),AtD.content_canvas=jQuery("#content"),AtD.autosave=autosave),jQuery(AtD_qtbutton).css({color:"red"}).val(AtD.getLang("button_edit_text","edit text")).attr("disabled",!0);var r,n=jQuery("#content"),a=n.val().replace(/\&/g,"&amp;").replace(/</g,"&lt;").replace(/\>/g,"&gt;"),i=n.css("font-family"),d=n.css("font-size"),u=n.css("line-height");"Microsoft Internet Explorer"===navigator.appName&&(a=a.replace(/[\n\r\f]/gm,'<BR class="atd_remove_me">')),r=jQuery('<div class="input" id="atd-content">'+a+"</div>"),n.after(r).hide(),(o=AtD.height)<200?o=200:o>1e3&&(o=1e3);var s=jQuery("#ed_toolbar").height();r.css({overflow:"auto","background-color":"white",color:"black","white-space":"pre-wrap",padding:"10px","font-family":i||"Consolas, Monaco, monospace","font-size":d||"13px","line-height":u||"1.5",height:o,"margin-top":s+7+"px"}),window.wp&&window.wp.autosave&&window.wp.autosave.server?(window.wp.autosave.local.suspend&&window.wp.autosave.local.suspend(),window.wp.autosave.server.suspend&&window.wp.autosave.server.suspend()):autosave=function(){},jQuery(AtD_qtbutton).siblings("input").andSelf().attr("disabled",!0),AtD.check("atd-content",{success:function(t){0===Number(t)&&"function"!=typeof e&&alert(AtD.getLang("message_no_errors_found","No writing errors were found")),AtD_restore_if_proofreading()},ready:function(t){jQuery(AtD_qtbutton).attr("disabled",!1),"function"==typeof e&&e(t)},error:function(){jQuery(AtD_qtbutton).attr("disabled",!1),"function"==typeof e?e(-1):alert(AtD.getLang("message_server_error","There was a problem communicating with the Proofreading service. Try again in one minute.")),AtD_restore_if_proofreading()},editSelection:function(t){var e=prompt(AtD.getLang("dialog_replace_selection","Replace selection with:"),t.text());null!=e&&t.replaceWith(e)},explain:function(t){var e=screen.width/2-240,o=screen.height/2-190;window.open(t,"","width=480,height=380,toolbar=0,status=0,resizable=0,location=0,menuBar=0,left="+e+",top="+o).focus()},ignore:function(t){jQuery.ajax({type:"GET",url:AtD.rpc_ignore+encodeURI(t).replace(/&/g,"%26"),format:"raw",error:function(t,e,o){void 0!==AtD.callback_f&&void 0!==AtD.callback_f.error&&AtD.callback_f.error(e+": "+o)}})}})}}"undefined"!=typeof QTags&&QTags.addButton?jQuery(document).ready(function(){QTags.addButton("AtD",AtD_l10n_r0ar.button_proofread,AtD_check)}):(edButtons[edButtons.length]=new edButton("ed_AtD","AtD","","",""),jQuery(document).ready(function(t){t("#ed_AtD").replaceWith('<input type="button" id="ed_AtD" accesskey="" class="ed_button" onclick="AtD_check(this);" value="'+AtD_l10n_r0ar.button_proofread+'" />')})); \ No newline at end of file
diff --git a/plugins/jetpack/_inc/build/after-the-deadline/atd.core.min.js b/plugins/jetpack/_inc/build/after-the-deadline/atd.core.min.js
index 00b581cb..35f6826b 100644
--- a/plugins/jetpack/_inc/build/after-the-deadline/atd.core.min.js
+++ b/plugins/jetpack/_inc/build/after-the-deadline/atd.core.min.js
@@ -6,4 +6,4 @@
* Project : http://www.afterthedeadline.com/developers.slp
* Contact : raffi@automattic.com
*/
-function AtDCore(){this.ignore_types=["Bias Language","Cliches","Complex Expression","Diacritical Marks","Double Negatives","Hidden Verbs","Jargon Language","Passive voice","Phrases to Avoid","Redundant Expression"],this.ignore_strings={},this.i18n={}}function TokenIterator(e){this.tokens=e,this.index=0,this.count=0,this.last=0}function atd_sprintf(e,t){for(var r=e,n=0;n<t.length;n++)r=r.replace(new RegExp("%"+(n+1)+"\\$","g"),t[n]);return r}var EXPORTED_SYMBOLS=["AtDCore"];AtDCore.prototype.getLang=function(e,t){return window.AtD_l10n_r0ar&&window.AtD_l10n_r0ar[e]||t},AtDCore.prototype.addI18n=function(e){window.AtD_l10n_r0ar=e},AtDCore.prototype.setIgnoreStrings=function(e){var t=this;this.map(e.split(/,\s*/g),function(e){t.ignore_strings[e]=1})},AtDCore.prototype.showTypes=function(e){var t=e.split(/,\s*/g),r={};r["Double Negatives"]=1,r["Hidden Verbs"]=1,r["Passive voice"]=1,r["Bias Language"]=1,r.Cliches=1,r["Complex Expression"]=1,r["Diacritical Marks"]=1,r["Jargon Language"]=1,r["Phrases to Avoid"]=1,r["Redundant Expression"]=1;var n=[];this.map(t,function(e){r[e]=void 0}),this.map(this.ignore_types,function(e){void 0!==r[e]&&n.push(e)}),this.ignore_types=n},AtDCore.prototype.makeError=function(e,t,r,n){var s={};return s.type=r,s.string=e,s.tokens=t,new RegExp("\\b"+e+"\\b").test(e)?s.regexp=new RegExp("(?!"+e+"<)\\b"+e.replace(/\s+/g,n)+"\\b"):new RegExp(e+"\\b").test(e)?s.regexp=new RegExp("(?!"+e+"<)"+e.replace(/\s+/g,n)+"\\b"):new RegExp("\\b"+e).test(e)?s.regexp=new RegExp("(?!"+e+"<)\\b"+e.replace(/\s+/g,n)):s.regexp=new RegExp("(?!"+e+"<)"+e.replace(/\s+/g,n)),s.used=!1,s},AtDCore.prototype.addToErrorStructure=function(e,t,r,n){var s=this;this.map(t,function(t){var i=t.word.split(/\s+/),o=t.pre,a=i[0];void 0===e["__"+a]&&(e["__"+a]={},e["__"+a].pretoks={},e["__"+a].defaults=[]),""===o?e["__"+a].defaults.push(s.makeError(t.word,i,r,n,o)):(void 0===e["__"+a].pretoks["__"+o]&&(e["__"+a].pretoks["__"+o]=[]),e["__"+a].pretoks["__"+o].push(s.makeError(t.word,i,r,n,o)))})},AtDCore.prototype.buildErrorStructure=function(e,t,r){var n=this._getSeparators(),s={};return this.addToErrorStructure(s,e,"hiddenSpellError",n),this.addToErrorStructure(s,r,"hiddenGrammarError",n),this.addToErrorStructure(s,t,"hiddenSuggestion",n),s},AtDCore.prototype._getSeparators=function(){var e,t="",r='"s!#$%&()*+,./:;<=>?@[\\]^_{|}';for(e=0;e<r.length;e++)t+="\\"+r.charAt(e);return"(?:(?:[ "+t+"])|(?:\\-\\-))+"},AtDCore.prototype.processXML=function(e){var t={};this.map(this.ignore_types,function(e){t[e]=1}),this.suggestions=[];for(var r=e.getElementsByTagName("error"),n=[],s=[],i=[],o=0;o<r.length;o++)if(null!==r[o].getElementsByTagName("string").item(0).firstChild){var a,p=r[o].getElementsByTagName("string").item(0).firstChild.data,g=r[o].getElementsByTagName("type").item(0).firstChild.data,u=r[o].getElementsByTagName("description").item(0).firstChild.data;if(a=null!==r[o].getElementsByTagName("precontext").item(0).firstChild?r[o].getElementsByTagName("precontext").item(0).firstChild.data:"",void 0===this.ignore_strings[p]){var h={};if(h.description=u,h.suggestions=[],h.matcher=new RegExp("^"+p.replace(/\s+/,this._getSeparators())+"$"),h.context=a,h.string=p,h.type=g,this.suggestions.push(h),null!==r[o].getElementsByTagName("suggestions").item(0))for(var l=r[o].getElementsByTagName("suggestions").item(0).getElementsByTagName("option"),d=0;d<l.length;d++)h.suggestions.push(l[d].firstChild.data);if(null!==r[o].getElementsByTagName("url").item(0)){var c=r[o].getElementsByTagName("url").item(0).firstChild.data;h.moreinfo=c+"&theme=tinymce"}void 0===t[u]&&("suggestion"===g&&i.push({word:p,pre:a}),"grammar"===g&&n.push({word:p,pre:a})),"spelling"!==g&&"Homophone"!==u||s.push({word:p,pre:a}),"Cliches"===u&&(h.description="Clichés"),"Spelling"===u&&(h.description=this.getLang("menu_title_spelling","Spelling")),"Repeated Word"===u&&(h.description=this.getLang("menu_title_repeated_word","Repeated Word")),"Did you mean..."===u&&(h.description=this.getLang("menu_title_confused_word","Did you mean..."))}}var m,f=s.length+n.length+i.length;return m=f>0?this.buildErrorStructure(s,i,n):void 0,{errors:m,count:f,suggestions:this.suggestions}},AtDCore.prototype.findSuggestion=function(e){var t=e.innerHTML,r=(this.getAttrib(e,"pre")+"").replace(/[\\,!\\?\\."\s]/g,"");void 0===this.getAttrib(e,"pre")&&alert(e.innerHTML);for(var n,s=this.suggestions.length,i=0;i<s;i++)if((""===r||r===this.suggestions[i].context)&&this.suggestions[i].matcher.test(t)){n=this.suggestions[i];break}return n},TokenIterator.prototype.next=function(){var e=this.tokens[this.index];return this.count=this.last,this.last+=e.length+1,this.index++,""!==e&&("'"===e[0]&&(e=e.substring(1,e.length)),"'"===e[e.length-1]&&(e=e.substring(0,e.length-1))),e},TokenIterator.prototype.hasNext=function(){return this.index<this.tokens.length},TokenIterator.prototype.hasNextN=function(e){return this.index+e<this.tokens.length},TokenIterator.prototype.skip=function(e,t){this.index+=e,this.last+=t,this.index<this.tokens.length&&(this.count=this.last-this.tokens[this.index].length)},TokenIterator.prototype.getCount=function(){return this.count},TokenIterator.prototype.peek=function(e){for(var t=[],r=this.index+e,n=this.index;n<r;n++)t.push(this.tokens[n]);return t},AtDCore.prototype.markMyWords=function(e,t){function r(e,t,r){var n,s=e.nodeValue,i=s.search(t),o=s.match(t),a=[];return i<0||!o.length?[e]:(i>0&&a.push(document.createTextNode(s.substr(0,i))),a.push(p.create(o[0].replace(t,r))),n=i+o[0].length,n<s.length&&a.push(document.createTextNode(s.substr(n))),a)}function n(e){if(e)for(;e.parentNode;){if("PRE"===e.nodeName)return!0;e=e.parentNode}return!1}var s,i=new RegExp(this._getSeparators()),o=[],a=0,p=this,g=this._isTinyMCE?' data-mce-bogus="1"':"",u='<span class="mceItemHidden"'+g+">&nbsp;</span>";this._walk(e,function(e){3!==e.nodeType||p.isMarkedNode(e)||n(e)||o.push(e)});var h;return this.map(o,function(e){var n;if(3===e.nodeType){n=e.nodeValue;var o=e.nodeValue.split(i),l="",d=[];for(h=new TokenIterator(o);h.hasNext();){var c,m=h.next(),f=t["__"+m];if(void 0!==f&&void 0!==f.pretoks){c=f.defaults,f=f.pretoks["__"+l];var v,y,_=!1;v=n.substr(0,h.getCount()),y=n.substr(v.length,n.length);var E=function(e){void 0!==e&&!e.used&&void 0===x["__"+e.string]&&e.regexp.test(y)&&(x["__"+e.string]=1,d.push([e.regexp,'<span class="'+e.type+'" pre="'+l+'"'+g+">$&</span>"]),e.used=!0,_=!0)},x={};void 0!==f&&(l+=" ",p.map(f,E)),_||(l="",p.map(c,E))}l=m}if(d.length>0){for(var C=e,T=0;T<d.length;T++){var k=d[T][0],b=d[T][1];C=function(e){var t,n;if(3===e.nodeType){if(a++,p.isIE()&&e.nodeValue.length>0&&" "===e.nodeValue.substr(0,1))return p.create(u+e.nodeValue.substr(1,e.nodeValue.length-1).replace(k,b),!1);if(s)return p.create(e.nodeValue.replace(k,b),!1);if(t=p.create("<span />"),void 0===s&&(s="function"!=typeof t.appendChild))return p.remove(t),p.create(e.nodeValue.replace(k,b),!1);n=r(e,k,b);for(var i=0;i<n.length;i++)t.appendChild(n[i]);return e=t}for(var o=p.contents(e),g=0;g<o.length;g++)if(3===o[g].nodeType&&k.test(o[g].nodeValue)){var h;return h=p.isIE()&&o[g].nodeValue.length>0&&" "===o[g].nodeValue.substr(0,1)?p.create(u+o[g].nodeValue.substr(1,o[g].nodeValue.length-1).replace(k,b),!0):p.create(o[g].nodeValue.replace(k,b),!0),p.replaceWith(o[g],h),p.removeParent(h),a++,e}return e}(C)}p.replaceWith(e,C)}}}),a},AtDCore.prototype._walk=function(e,t){var r;for(r=0;r<e.length;r++)t.call(t,e[r]),this._walk(this.contents(e[r]),t)},AtDCore.prototype.removeWords=function(e,t){var r=0,n=this;return this.map(this.findSpans(e).reverse(),function(e){if(e&&(n.isMarkedNode(e)||n.hasClass(e,"mceItemHidden")||n.isEmptySpan(e)))if("&nbsp;"===e.innerHTML){var s=document.createTextNode(" ");n.replaceWith(e,s)}else t&&e.innerHTML!==t||(n.removeParent(e),r++)}),r},AtDCore.prototype.isEmptySpan=function(e){return""===this.getAttrib(e,"class")&&""===this.getAttrib(e,"style")&&""===this.getAttrib(e,"id")&&!this.hasClass(e,"Apple-style-span")&&""===this.getAttrib(e,"mce_name")},AtDCore.prototype.isMarkedNode=function(e){return this.hasClass(e,"hiddenGrammarError")||this.hasClass(e,"hiddenSpellError")||this.hasClass(e,"hiddenSuggestion")},AtDCore.prototype.applySuggestion=function(e,t){if("(omit)"===t)this.remove(e);else{var r=this.create(t);this.replaceWith(e,r),this.removeParent(r)}},AtDCore.prototype.hasErrorMessage=function(e){return void 0!==e&&null!==e.getElementsByTagName("message").item(0)},AtDCore.prototype.getErrorMessage=function(e){return e.getElementsByTagName("message").item(0)},AtDCore.prototype.isIE=function(){return"Microsoft Internet Explorer"===navigator.appName}; \ No newline at end of file
+var EXPORTED_SYMBOLS=["AtDCore"];function AtDCore(){this.ignore_types=["Bias Language","Cliches","Complex Expression","Diacritical Marks","Double Negatives","Hidden Verbs","Jargon Language","Passive voice","Phrases to Avoid","Redundant Expression"],this.ignore_strings={},this.i18n={}}function TokenIterator(e){this.tokens=e,this.index=0,this.count=0,this.last=0}function atd_sprintf(e,t){for(var r=e,n=0;n<t.length;n++)r=r.replace(new RegExp("%"+(n+1)+"\\$","g"),t[n]);return r}AtDCore.prototype.getLang=function(e,t){return window.AtD_l10n_r0ar&&window.AtD_l10n_r0ar[e]||t},AtDCore.prototype.addI18n=function(e){window.AtD_l10n_r0ar=e},AtDCore.prototype.setIgnoreStrings=function(e){var t=this;this.map(e.split(/,\s*/g),function(e){t.ignore_strings[e]=1})},AtDCore.prototype.showTypes=function(e){var t=e.split(/,\s*/g),r={"Double Negatives":1,"Hidden Verbs":1,"Passive voice":1,"Bias Language":1,Cliches:1,"Complex Expression":1,"Diacritical Marks":1,"Jargon Language":1,"Phrases to Avoid":1,"Redundant Expression":1},n=[];this.map(t,function(e){r[e]=void 0}),this.map(this.ignore_types,function(e){void 0!==r[e]&&n.push(e)}),this.ignore_types=n},AtDCore.prototype.makeError=function(e,t,r,n){var s={};return s.type=r,s.string=e,s.tokens=t,new RegExp("\\b"+e+"\\b").test(e)?s.regexp=new RegExp("(?!"+e+"<)\\b"+e.replace(/\s+/g,n)+"\\b"):new RegExp(e+"\\b").test(e)?s.regexp=new RegExp("(?!"+e+"<)"+e.replace(/\s+/g,n)+"\\b"):new RegExp("\\b"+e).test(e)?s.regexp=new RegExp("(?!"+e+"<)\\b"+e.replace(/\s+/g,n)):s.regexp=new RegExp("(?!"+e+"<)"+e.replace(/\s+/g,n)),s.used=!1,s},AtDCore.prototype.addToErrorStructure=function(e,t,r,n){var s=this;this.map(t,function(t){var i=t.word.split(/\s+/),o=t.pre,a=i[0];void 0===e["__"+a]&&(e["__"+a]={},e["__"+a].pretoks={},e["__"+a].defaults=[]),""===o?e["__"+a].defaults.push(s.makeError(t.word,i,r,n,o)):(void 0===e["__"+a].pretoks["__"+o]&&(e["__"+a].pretoks["__"+o]=[]),e["__"+a].pretoks["__"+o].push(s.makeError(t.word,i,r,n,o)))})},AtDCore.prototype.buildErrorStructure=function(e,t,r){var n=this._getSeparators(),s={};return this.addToErrorStructure(s,e,"hiddenSpellError",n),this.addToErrorStructure(s,r,"hiddenGrammarError",n),this.addToErrorStructure(s,t,"hiddenSuggestion",n),s},AtDCore.prototype._getSeparators=function(){var e,t="",r='"s!#$%&()*+,./:;<=>?@[\\]^_{|}';for(e=0;e<r.length;e++)t+="\\"+r.charAt(e);return"(?:(?:[ "+t+"])|(?:\\-\\-))+"},AtDCore.prototype.processXML=function(e){var t={};this.map(this.ignore_types,function(e){t[e]=1}),this.suggestions=[];for(var r=e.getElementsByTagName("error"),n=[],s=[],i=[],o=0;o<r.length;o++)if(null!==r[o].getElementsByTagName("string").item(0).firstChild){var a,p=r[o].getElementsByTagName("string").item(0).firstChild.data,g=r[o].getElementsByTagName("type").item(0).firstChild.data,u=r[o].getElementsByTagName("description").item(0).firstChild.data;if(a=null!==r[o].getElementsByTagName("precontext").item(0).firstChild?r[o].getElementsByTagName("precontext").item(0).firstChild.data:"",void 0===this.ignore_strings[p]){var h={};if(h.description=u,h.suggestions=[],h.matcher=new RegExp("^"+p.replace(/\s+/,this._getSeparators())+"$"),h.context=a,h.string=p,h.type=g,this.suggestions.push(h),null!==r[o].getElementsByTagName("suggestions").item(0))for(var l=r[o].getElementsByTagName("suggestions").item(0).getElementsByTagName("option"),d=0;d<l.length;d++)h.suggestions.push(l[d].firstChild.data);if(null!==r[o].getElementsByTagName("url").item(0)){var c=r[o].getElementsByTagName("url").item(0).firstChild.data;h.moreinfo=c+"&theme=tinymce"}void 0===t[u]&&("suggestion"===g&&i.push({word:p,pre:a}),"grammar"===g&&n.push({word:p,pre:a})),"spelling"!==g&&"Homophone"!==u||s.push({word:p,pre:a}),"Cliches"===u&&(h.description="Clichés"),"Spelling"===u&&(h.description=this.getLang("menu_title_spelling","Spelling")),"Repeated Word"===u&&(h.description=this.getLang("menu_title_repeated_word","Repeated Word")),"Did you mean..."===u&&(h.description=this.getLang("menu_title_confused_word","Did you mean..."))}}var m=s.length+n.length+i.length;return{errors:m>0?this.buildErrorStructure(s,i,n):void 0,count:m,suggestions:this.suggestions}},AtDCore.prototype.findSuggestion=function(e){var t,r=e.innerHTML,n=(this.getAttrib(e,"pre")+"").replace(/[\\,!\\?\\."\s]/g,"");void 0===this.getAttrib(e,"pre")&&alert(e.innerHTML);for(var s=this.suggestions.length,i=0;i<s;i++)if((""===n||n===this.suggestions[i].context)&&this.suggestions[i].matcher.test(r)){t=this.suggestions[i];break}return t},TokenIterator.prototype.next=function(){var e=this.tokens[this.index];return this.count=this.last,this.last+=e.length+1,this.index++,""!==e&&("'"===e[0]&&(e=e.substring(1,e.length)),"'"===e[e.length-1]&&(e=e.substring(0,e.length-1))),e},TokenIterator.prototype.hasNext=function(){return this.index<this.tokens.length},TokenIterator.prototype.hasNextN=function(e){return this.index+e<this.tokens.length},TokenIterator.prototype.skip=function(e,t){this.index+=e,this.last+=t,this.index<this.tokens.length&&(this.count=this.last-this.tokens[this.index].length)},TokenIterator.prototype.getCount=function(){return this.count},TokenIterator.prototype.peek=function(e){for(var t=[],r=this.index+e,n=this.index;n<r;n++)t.push(this.tokens[n]);return t},AtDCore.prototype.markMyWords=function(e,t){var r,n,s=new RegExp(this._getSeparators()),i=[],o=0,a=this,p=this._isTinyMCE?' data-mce-bogus="1"':"",g='<span class="mceItemHidden"'+p+">&nbsp;</span>";function u(e,t,r){var n,s=e.nodeValue,i=s.search(t),o=s.match(t),p=[];return i<0||!o.length?[e]:(i>0&&p.push(document.createTextNode(s.substr(0,i))),p.push(a.create(o[0].replace(t,r))),(n=i+o[0].length)<s.length&&p.push(document.createTextNode(s.substr(n))),p)}return this._walk(e,function(e){3!==e.nodeType||a.isMarkedNode(e)||function(e){if(e)for(;e.parentNode;){if("PRE"===e.nodeName)return!0;e=e.parentNode}return!1}(e)||i.push(e)}),this.map(i,function(e){var i;if(3===e.nodeType){i=e.nodeValue;var h=e.nodeValue.split(s),l="",d=[];for(n=new TokenIterator(h);n.hasNext();){var c,m=n.next(),f=t["__"+m];if(void 0!==f&&void 0!==f.pretoks){c=f.defaults,f=f.pretoks["__"+l];var v,y,_=!1;v=i.substr(0,n.getCount()),y=i.substr(v.length,i.length);var E=function(e){void 0!==e&&!e.used&&void 0===x["__"+e.string]&&e.regexp.test(y)&&(x["__"+e.string]=1,d.push([e.regexp,'<span class="'+e.type+'" pre="'+l+'"'+p+">$&</span>"]),e.used=!0,_=!0)},x={};void 0!==f&&(l+=" ",a.map(f,E)),_||(l="",a.map(c,E))}l=m}if(d.length>0){for(var C=e,T=0;T<d.length;T++){var k=d[T][0],b=d[T][1];C=function(e){var t,n;if(3===e.nodeType){if(o++,a.isIE()&&e.nodeValue.length>0&&" "===e.nodeValue.substr(0,1))return a.create(g+e.nodeValue.substr(1,e.nodeValue.length-1).replace(k,b),!1);if(r)return a.create(e.nodeValue.replace(k,b),!1);if(t=a.create("<span />"),void 0===r&&(r="function"!=typeof t.appendChild))return a.remove(t),a.create(e.nodeValue.replace(k,b),!1);n=u(e,k,b);for(var s=0;s<n.length;s++)t.appendChild(n[s]);return e=t}for(var i=a.contents(e),p=0;p<i.length;p++){var h;if(3===i[p].nodeType&&k.test(i[p].nodeValue))return h=a.isIE()&&i[p].nodeValue.length>0&&" "===i[p].nodeValue.substr(0,1)?a.create(g+i[p].nodeValue.substr(1,i[p].nodeValue.length-1).replace(k,b),!0):a.create(i[p].nodeValue.replace(k,b),!0),a.replaceWith(i[p],h),a.removeParent(h),o++,e}return e}(C)}a.replaceWith(e,C)}}}),o},AtDCore.prototype._walk=function(e,t){var r;for(r=0;r<e.length;r++)t.call(t,e[r]),this._walk(this.contents(e[r]),t)},AtDCore.prototype.removeWords=function(e,t){var r=0,n=this;return this.map(this.findSpans(e).reverse(),function(e){if(e&&(n.isMarkedNode(e)||n.hasClass(e,"mceItemHidden")||n.isEmptySpan(e)))if("&nbsp;"===e.innerHTML){var s=document.createTextNode(" ");n.replaceWith(e,s)}else t&&e.innerHTML!==t||(n.removeParent(e),r++)}),r},AtDCore.prototype.isEmptySpan=function(e){return""===this.getAttrib(e,"class")&&""===this.getAttrib(e,"style")&&""===this.getAttrib(e,"id")&&!this.hasClass(e,"Apple-style-span")&&""===this.getAttrib(e,"mce_name")},AtDCore.prototype.isMarkedNode=function(e){return this.hasClass(e,"hiddenGrammarError")||this.hasClass(e,"hiddenSpellError")||this.hasClass(e,"hiddenSuggestion")},AtDCore.prototype.applySuggestion=function(e,t){if("(omit)"===t)this.remove(e);else{var r=this.create(t);this.replaceWith(e,r),this.removeParent(r)}},AtDCore.prototype.hasErrorMessage=function(e){return void 0!==e&&null!==e.getElementsByTagName("message").item(0)},AtDCore.prototype.getErrorMessage=function(e){return e.getElementsByTagName("message").item(0)},AtDCore.prototype.isIE=function(){return"Microsoft Internet Explorer"===navigator.appName}; \ No newline at end of file
diff --git a/plugins/jetpack/_inc/build/after-the-deadline/jquery.atd.min.js b/plugins/jetpack/_inc/build/after-the-deadline/jquery.atd.min.js
index 6f6c86e9..eb87f0f4 100644
--- a/plugins/jetpack/_inc/build/after-the-deadline/jquery.atd.min.js
+++ b/plugins/jetpack/_inc/build/after-the-deadline/jquery.atd.min.js
@@ -14,4 +14,4 @@
* Project : http://jquery-spellchecker.googlecode.com
* Contact : willis.rh@gmail.com
*/
-var AtD={rpc:"",rpc_css:"http://www.polishmywriting.com/atd-jquery/server/proxycss.php?data=",rpc_css_lang:"en",api_key:"",i18n:{},listener:{}};AtD.getLang=function(e,t){return window.AtD_l10n_r0ar&&window.AtD_l10n_r0ar[e]||t},AtD.addI18n=function(e){window.AtD_l10n_r0ar=e},AtD.setIgnoreStrings=function(e){AtD.core.setIgnoreStrings(e)},AtD.showTypes=function(e){AtD.core.showTypes(e)},AtD.checkCrossAJAX=function(e,t){"undefined"!=typeof AtD_proofread_click_count&&AtD_proofread_click_count++,AtD.callback_f=t,AtD.remove(e);var r=jQuery("#"+e),a=jQuery.trim(r.html());if(a=a.replace(/\&lt;/g,"<").replace(/\&gt;/g,">").replace(/\&amp;/g,"&"),a=encodeURIComponent(a.replace(/\%/g,"%25")),a.length>2e3&&"Microsoft Internet Explorer"===navigator.appName||a.length>7800)return void(void 0!==t&&void 0!==t.error&&t.error("Maximum text length for this browser exceeded"));CSSHttpRequest.get(AtD.rpc_css+a+"&lang="+AtD.rpc_css_lang+"&nocache="+(new Date).getTime(),function(t){var r;if("Microsoft Internet Explorer"===navigator.appName?(r=new ActiveXObject("Microsoft.XMLDOM"),r.async=!1,r.loadXML(t)):r=(new DOMParser).parseFromString(t,"text/xml"),AtD.core.hasErrorMessage(r))return void(void 0!==AtD.callback_f&&void 0!==AtD.callback_f.error&&AtD.callback_f.error(AtD.core.getErrorMessage(r)));AtD.container=e;var a=Number(AtD.processXML(e,r));void 0!==AtD.callback_f&&void 0!==AtD.callback_f.ready&&AtD.callback_f.ready(a),0===a&&void 0!==AtD.callback_f&&void 0!==AtD.callback_f.success&&AtD.callback_f.success(a),AtD.counter=a,AtD.count=a})},AtD.check=function(e,t){"undefined"!=typeof AtD_proofread_click_count&&AtD_proofread_click_count++,AtD.callback_f=t,AtD.remove(e);var r=jQuery("#"+e),a=jQuery.trim(r.html());a=a.replace(/\&lt;/g,"<").replace(/\&gt;/g,">").replace(/\&amp;/g,"&"),a=encodeURIComponent(a),jQuery.ajax({type:"POST",url:AtD.rpc+"/checkDocument",data:"key="+AtD.api_key+"&data="+a,format:"raw",dataType:jQuery.browser.msie?"text":"xml",error:function(e,t,r){void 0!==AtD.callback_f&&void 0!==AtD.callback_f.error&&AtD.callback_f.error(t+": "+r)},success:function(t){var r;if("string"==typeof t?(r=new ActiveXObject("Microsoft.XMLDOM"),r.async=!1,r.loadXML(t)):r=t,AtD.core.hasErrorMessage(r))return void(void 0!==AtD.callback_f&&void 0!==AtD.callback_f.error&&AtD.callback_f.error(AtD.core.getErrorMessage(r)));AtD.container=e;var a=Number(AtD.processXML(e,r));void 0!==AtD.callback_f&&void 0!==AtD.callback_f.ready&&AtD.callback_f.ready(a),0===a&&void 0!==AtD.callback_f&&void 0!==AtD.callback_f.success&&AtD.callback_f.success(a),AtD.counter=a,AtD.count=a}})},AtD.remove=function(e){AtD._removeWords(e,null)},AtD.clickListener=function(e){AtD.core.isMarkedNode(e.target)&&AtD.suggest(e.target)},AtD.processXML=function(e,t){var r=AtD.core.processXML(t);return r.count>0&&(r.count=AtD.core.markMyWords(jQuery("#"+e).contents(),r.errors)),jQuery("#"+e).unbind("click",AtD.clickListener),jQuery("#"+e).click(AtD.clickListener),r.count},AtD.useSuggestion=function(e){this.core.applySuggestion(AtD.errorElement,e),0===--AtD.counter&&void 0!==AtD.callback_f&&void 0!==AtD.callback_f.success&&AtD.callback_f.success(AtD.count)},AtD.editSelection=function(){var e=AtD.errorElement.parent();void 0!==AtD.callback_f&&void 0!==AtD.callback_f.editSelection&&AtD.callback_f.editSelection(AtD.errorElement),AtD.errorElement.parent()!==e&&0===--AtD.counter&&void 0!==AtD.callback_f&&void 0!==AtD.callback_f.success&&AtD.callback_f.success(AtD.count)},AtD.ignoreSuggestion=function(){AtD.core.removeParent(AtD.errorElement),0===--AtD.counter&&void 0!==AtD.callback_f&&void 0!==AtD.callback_f.success&&AtD.callback_f.success(AtD.count)},AtD.ignoreAll=function(e){var t=AtD.errorElement.text(),r=AtD._removeWords(e,t);AtD.counter-=r,0===AtD.counter&&void 0!==AtD.callback_f&&void 0!==AtD.callback_f.success&&AtD.callback_f.success(AtD.count),void 0!==AtD.callback_f&&void 0!==AtD.callback_f.ignore&&(AtD.callback_f.ignore(t),AtD.core.setIgnoreStrings(t))},AtD.explainError=function(){void 0!==AtD.callback_f&&void 0!==AtD.callback_f.explain&&AtD.callback_f.explain(AtD.explainURL)},AtD.suggest=function(e){var t;0===jQuery("#suggestmenu").length?(t=jQuery('<div id="suggestmenu"></div>'),t.prependTo("body")):(t=jQuery("#suggestmenu"),t.hide());var r=AtD.core.findSuggestion(e);if(AtD.errorElement=jQuery(e),t.empty(),void 0===r)t.append("<strong>"+AtD.getLang("menu_title_no_suggestions","No suggestions")+"</strong>");else if(0===r.suggestions.length)t.append("<strong>"+r.description+"</strong>");else{t.append("<strong>"+r.description+"</strong>");for(var a=0;a<r.suggestions.length;a++)!function(e){t.append("<a href=\"javascript:AtD.useSuggestion('"+e.replace(/'/,"\\'")+"')\">"+e+"</a>")}(r.suggestions[a])}void 0!==AtD.callback_f&&void 0!==AtD.callback_f.explain&&void 0!==r.moreinfo&&(t.append('<a href="javascript:AtD.explainError()" class="spell_sep_top">'+AtD.getLang("menu_option_explain","Explain...")+"</a>"),AtD.explainURL=r.moreinfo),t.append('<a href="javascript:AtD.ignoreSuggestion()" class="spell_sep_top">'+AtD.getLang("menu_option_ignore_once","Ignore suggestion")+"</a>"),void 0!==AtD.callback_f&&void 0!==AtD.callback_f.editSelection?(void 0!==AtD.callback_f&&void 0!==AtD.callback_f.ignore?t.append("<a href=\"javascript:AtD.ignoreAll('"+AtD.container+"')\">"+AtD.getLang("menu_option_ignore_always","Ignore always")+"</a>"):t.append("<a href=\"javascript:AtD.ignoreAll('"+AtD.container+"')\">"+AtD.getLang("menu_option_ignore_all","Ignore all")+"</a>"),t.append("<a href=\"javascript:AtD.editSelection('"+AtD.container+'\')" class="spell_sep_bottom spell_sep_top">'+AtD.getLang("menu_option_edit_selection","Edit Selection...")+"</a>")):void 0!==AtD.callback_f&&void 0!==AtD.callback_f.ignore?t.append("<a href=\"javascript:AtD.ignoreAll('"+AtD.container+'\')" class="spell_sep_bottom">'+AtD.getLang("menu_option_ignore_always","Ignore always")+"</a>"):t.append("<a href=\"javascript:AtD.ignoreAll('"+AtD.container+'\')" class="spell_sep_bottom">'+AtD.getLang("menu_option_ignore_all","Ignore all")+"</a>");var c=jQuery(e).offset(),n=jQuery(e).width();n>100&&(n=50),jQuery(t).css({left:c.left+n+"px",top:c.top+"px"}),jQuery(t).fadeIn(200),AtD.suggestShow=!0,setTimeout(function(){jQuery("body").bind("click",function(){AtD.suggestShow||jQuery("#suggestmenu").fadeOut(200)})},1),setTimeout(function(){AtD.suggestShow=!1},2)},AtD._removeWords=function(e,t){return this.core.removeWords(jQuery("#"+e),t)},AtD.initCoreModule=function(){var e=new AtDCore;return e.hasClass=function(e,t){return jQuery(e).hasClass(t)},e.map=jQuery.map,e.contents=function(e){return jQuery(e).contents()},e.replaceWith=function(e,t){return jQuery(e).replaceWith(t)},e.findSpans=function(e){return jQuery.makeArray(e.find("span"))},e.create=function(t){t=t.replace(/\&/g,"&amp;"),t=t.replace(/</g,"&lt;").replace(/\>/g,"&gt;");var r,a=t.match(/\&lt;span class="hidden\w+?" pre="[^"]*"\&gt;.*?\&lt;\/span\&gt;/g);if(a)for(r=0;r<a.length;r++)t=t.replace(a[r],a[r].replace(/\&lt;/gi,"<").replace(/\&gt;/gi,">"));if(e.isIE()&&(a=t.match(/\&lt;span class="mceItemHidden"\&gt;\&amp;nbsp;\&lt;\/span&gt;/g,t)))for(r=0;r<a.length;r++)t=t.replace(a[r],a[r].replace(/\&lt;/gi,"<").replace(/\&gt;/gi,">").replace(/\&amp;/gi,"&"));var c=jQuery('<span class="mceItemHidden"></span>');return c.html(t),c},e.remove=function(e){return jQuery(e).remove()},e.removeParent=function(e){return jQuery(e).unwrap?jQuery(e).contents().unwrap():jQuery(e).replaceWith(jQuery(e).html())},e.getAttrib=function(e,t){return jQuery(e).attr(t)},e},AtD.core=AtD.initCoreModule(); \ No newline at end of file
+var AtD={rpc:"",rpc_css:"http://www.polishmywriting.com/atd-jquery/server/proxycss.php?data=",rpc_css_lang:"en",api_key:"",i18n:{},listener:{},getLang:function(e,t){return window.AtD_l10n_r0ar&&window.AtD_l10n_r0ar[e]||t},addI18n:function(e){window.AtD_l10n_r0ar=e},setIgnoreStrings:function(e){AtD.core.setIgnoreStrings(e)},showTypes:function(e){AtD.core.showTypes(e)},checkCrossAJAX:function(e,t){"undefined"!=typeof AtD_proofread_click_count&&AtD_proofread_click_count++,AtD.callback_f=t,AtD.remove(e);var r=jQuery("#"+e),a=jQuery.trim(r.html());a=a.replace(/\&lt;/g,"<").replace(/\&gt;/g,">").replace(/\&amp;/g,"&"),(a=encodeURIComponent(a.replace(/\%/g,"%25"))).length>2e3&&"Microsoft Internet Explorer"===navigator.appName||a.length>7800?void 0!==t&&void 0!==t.error&&t.error("Maximum text length for this browser exceeded"):CSSHttpRequest.get(AtD.rpc_css+a+"&lang="+AtD.rpc_css_lang+"&nocache="+(new Date).getTime(),function(t){var r;if("Microsoft Internet Explorer"===navigator.appName?((r=new ActiveXObject("Microsoft.XMLDOM")).async=!1,r.loadXML(t)):r=(new DOMParser).parseFromString(t,"text/xml"),AtD.core.hasErrorMessage(r))void 0!==AtD.callback_f&&void 0!==AtD.callback_f.error&&AtD.callback_f.error(AtD.core.getErrorMessage(r));else{AtD.container=e;var a=Number(AtD.processXML(e,r));void 0!==AtD.callback_f&&void 0!==AtD.callback_f.ready&&AtD.callback_f.ready(a),0===a&&void 0!==AtD.callback_f&&void 0!==AtD.callback_f.success&&AtD.callback_f.success(a),AtD.counter=a,AtD.count=a}})},check:function(e,t){"undefined"!=typeof AtD_proofread_click_count&&AtD_proofread_click_count++,AtD.callback_f=t,AtD.remove(e);var r=jQuery("#"+e),a=jQuery.trim(r.html());a=a.replace(/\&lt;/g,"<").replace(/\&gt;/g,">").replace(/\&amp;/g,"&"),a=encodeURIComponent(a),jQuery.ajax({type:"POST",url:AtD.rpc+"/checkDocument",data:"key="+AtD.api_key+"&data="+a,format:"raw",dataType:jQuery.browser.msie?"text":"xml",error:function(e,t,r){void 0!==AtD.callback_f&&void 0!==AtD.callback_f.error&&AtD.callback_f.error(t+": "+r)},success:function(t){var r;if("string"==typeof t?((r=new ActiveXObject("Microsoft.XMLDOM")).async=!1,r.loadXML(t)):r=t,AtD.core.hasErrorMessage(r))void 0!==AtD.callback_f&&void 0!==AtD.callback_f.error&&AtD.callback_f.error(AtD.core.getErrorMessage(r));else{AtD.container=e;var a=Number(AtD.processXML(e,r));void 0!==AtD.callback_f&&void 0!==AtD.callback_f.ready&&AtD.callback_f.ready(a),0===a&&void 0!==AtD.callback_f&&void 0!==AtD.callback_f.success&&AtD.callback_f.success(a),AtD.counter=a,AtD.count=a}}})},remove:function(e){AtD._removeWords(e,null)},clickListener:function(e){AtD.core.isMarkedNode(e.target)&&AtD.suggest(e.target)},processXML:function(e,t){var r=AtD.core.processXML(t);return r.count>0&&(r.count=AtD.core.markMyWords(jQuery("#"+e).contents(),r.errors)),jQuery("#"+e).unbind("click",AtD.clickListener),jQuery("#"+e).click(AtD.clickListener),r.count},useSuggestion:function(e){this.core.applySuggestion(AtD.errorElement,e),AtD.counter--,0===AtD.counter&&void 0!==AtD.callback_f&&void 0!==AtD.callback_f.success&&AtD.callback_f.success(AtD.count)},editSelection:function(){var e=AtD.errorElement.parent();void 0!==AtD.callback_f&&void 0!==AtD.callback_f.editSelection&&AtD.callback_f.editSelection(AtD.errorElement),AtD.errorElement.parent()!==e&&(AtD.counter--,0===AtD.counter&&void 0!==AtD.callback_f&&void 0!==AtD.callback_f.success&&AtD.callback_f.success(AtD.count))},ignoreSuggestion:function(){AtD.core.removeParent(AtD.errorElement),AtD.counter--,0===AtD.counter&&void 0!==AtD.callback_f&&void 0!==AtD.callback_f.success&&AtD.callback_f.success(AtD.count)},ignoreAll:function(e){var t=AtD.errorElement.text(),r=AtD._removeWords(e,t);AtD.counter-=r,0===AtD.counter&&void 0!==AtD.callback_f&&void 0!==AtD.callback_f.success&&AtD.callback_f.success(AtD.count),void 0!==AtD.callback_f&&void 0!==AtD.callback_f.ignore&&(AtD.callback_f.ignore(t),AtD.core.setIgnoreStrings(t))},explainError:function(){void 0!==AtD.callback_f&&void 0!==AtD.callback_f.explain&&AtD.callback_f.explain(AtD.explainURL)},suggest:function(e){var t;0===jQuery("#suggestmenu").length?(t=jQuery('<div id="suggestmenu"></div>')).prependTo("body"):(t=jQuery("#suggestmenu")).hide();var r,a=AtD.core.findSuggestion(e);if(AtD.errorElement=jQuery(e),t.empty(),void 0===a)t.append("<strong>"+AtD.getLang("menu_title_no_suggestions","No suggestions")+"</strong>");else if(0===a.suggestions.length)t.append("<strong>"+a.description+"</strong>");else{t.append("<strong>"+a.description+"</strong>");for(var c=0;c<a.suggestions.length;c++)r=a.suggestions[c],t.append("<a href=\"javascript:AtD.useSuggestion('"+r.replace(/'/,"\\'")+"')\">"+r+"</a>")}void 0!==AtD.callback_f&&void 0!==AtD.callback_f.explain&&void 0!==a.moreinfo&&(t.append('<a href="javascript:AtD.explainError()" class="spell_sep_top">'+AtD.getLang("menu_option_explain","Explain...")+"</a>"),AtD.explainURL=a.moreinfo),t.append('<a href="javascript:AtD.ignoreSuggestion()" class="spell_sep_top">'+AtD.getLang("menu_option_ignore_once","Ignore suggestion")+"</a>"),void 0!==AtD.callback_f&&void 0!==AtD.callback_f.editSelection?(void 0!==AtD.callback_f&&void 0!==AtD.callback_f.ignore?t.append("<a href=\"javascript:AtD.ignoreAll('"+AtD.container+"')\">"+AtD.getLang("menu_option_ignore_always","Ignore always")+"</a>"):t.append("<a href=\"javascript:AtD.ignoreAll('"+AtD.container+"')\">"+AtD.getLang("menu_option_ignore_all","Ignore all")+"</a>"),t.append("<a href=\"javascript:AtD.editSelection('"+AtD.container+'\')" class="spell_sep_bottom spell_sep_top">'+AtD.getLang("menu_option_edit_selection","Edit Selection...")+"</a>")):void 0!==AtD.callback_f&&void 0!==AtD.callback_f.ignore?t.append("<a href=\"javascript:AtD.ignoreAll('"+AtD.container+'\')" class="spell_sep_bottom">'+AtD.getLang("menu_option_ignore_always","Ignore always")+"</a>"):t.append("<a href=\"javascript:AtD.ignoreAll('"+AtD.container+'\')" class="spell_sep_bottom">'+AtD.getLang("menu_option_ignore_all","Ignore all")+"</a>");var n=jQuery(e).offset(),o=jQuery(e).width();o>100&&(o=50),jQuery(t).css({left:n.left+o+"px",top:n.top+"px"}),jQuery(t).fadeIn(200),AtD.suggestShow=!0,setTimeout(function(){jQuery("body").bind("click",function(){AtD.suggestShow||jQuery("#suggestmenu").fadeOut(200)})},1),setTimeout(function(){AtD.suggestShow=!1},2)},_removeWords:function(e,t){return this.core.removeWords(jQuery("#"+e),t)},initCoreModule:function(){var e=new AtDCore;return e.hasClass=function(e,t){return jQuery(e).hasClass(t)},e.map=jQuery.map,e.contents=function(e){return jQuery(e).contents()},e.replaceWith=function(e,t){return jQuery(e).replaceWith(t)},e.findSpans=function(e){return jQuery.makeArray(e.find("span"))},e.create=function(t){var r,a=(t=(t=t.replace(/\&/g,"&amp;")).replace(/</g,"&lt;").replace(/\>/g,"&gt;")).match(/\&lt;span class="hidden\w+?" pre="[^"]*"\&gt;.*?\&lt;\/span\&gt;/g);if(a)for(r=0;r<a.length;r++)t=t.replace(a[r],a[r].replace(/\&lt;/gi,"<").replace(/\&gt;/gi,">"));if(e.isIE()&&(a=t.match(/\&lt;span class="mceItemHidden"\&gt;\&amp;nbsp;\&lt;\/span&gt;/g,t)))for(r=0;r<a.length;r++)t=t.replace(a[r],a[r].replace(/\&lt;/gi,"<").replace(/\&gt;/gi,">").replace(/\&amp;/gi,"&"));var c=jQuery('<span class="mceItemHidden"></span>');return c.html(t),c},e.remove=function(e){return jQuery(e).remove()},e.removeParent=function(e){return jQuery(e).unwrap?jQuery(e).contents().unwrap():jQuery(e).replaceWith(jQuery(e).html())},e.getAttrib=function(e,t){return jQuery(e).attr(t)},e}};AtD.core=AtD.initCoreModule(); \ No newline at end of file
diff --git a/plugins/jetpack/_inc/build/after-the-deadline/tinymce/editor_plugin.min.js b/plugins/jetpack/_inc/build/after-the-deadline/tinymce/editor_plugin.min.js
index 6b45b7b8..a1b24765 100644
--- a/plugins/jetpack/_inc/build/after-the-deadline/tinymce/editor_plugin.min.js
+++ b/plugins/jetpack/_inc/build/after-the-deadline/tinymce/editor_plugin.min.js
@@ -15,4 +15,4 @@
*
* Moxiecode Spell Checker plugin released under the LGPL with TinyMCE
*/
-!function(){function e(e,t){return window.AtD_l10n_r0ar&&window.AtD_l10n_r0ar[e]||t}var t,n=tinymce.each,o=tinymce.DOM;tinymce.create("tinymce.plugins.AfterTheDeadlinePlugin",{getInfo:function(){return{longname:"After The Deadline",author:"Raphael Mudge",authorurl:"http://blog.afterthedeadline.com",infourl:"http://www.afterthedeadline.com",version:tinymce.majorVersion+"."+tinymce.minorVersion}},initAtDCore:function(e){var t=new AtDCore;return t.map=n,t.getAttrib=function(t,n){return e.dom.getAttrib(t,n)},t.findSpans=function(t){return t?e.dom.select("span",t):e.dom.select("span")},t.hasClass=function(t,n){return e.dom.hasClass(t,n)},t.contents=function(e){return e.childNodes},t.replaceWith=function(t,n){return e.dom.replace(n,t)},t.create=function(t){return e.dom.create("span",{class:"mceItemHidden"},t)},t.removeParent=function(t){return e.dom.remove(t,1),t},t.remove=function(t){e.dom.remove(t)},t.setIgnoreStrings(e.getParam("atd_ignore_strings",[]).join(",")),t.showTypes(e.getParam("atd_show_types","")),t},init:function(o,r){if("undefined"!=typeof AtDCore){var i=this,a=o;this.url=r,this.editor=o,t=o.core=this.initAtDCore(a,i);var s=tinymce.util.Cookie.getHash("atd_ignore");s||(s={}),a.addCommand("mceWritingImprovementTool",function(n){"undefined"!=typeof AtD_proofread_click_count&&AtD_proofread_click_count++,i.editor.setProgressState(1),i._removeWords(),i.sendRequest("checkDocument",o.getContent({format:"raw"}),function(r,a){if(i.editor.setProgressState(0),200!==a.status||"html"===a.responseText.substr(1,4)||!a.responseXML)return void o.windowManager.alert(e("message_server_error","There was a problem communicating with the Proofreading service. Try again in one minute."),n?function(){n(0)}:function(){});if(null!=a.responseXML.getElementsByTagName("message").item(0))return void o.windowManager.alert(a.responseXML.getElementsByTagName("message").item(0).firstChild.data,n?function(){n(0)}:function(){});var s=t.processXML(a.responseXML),d=0;s.count>0&&(d=i.markMyWords(s.errors),o.suggestions=s.suggestions),0!==d||n&&void 0!==n?n&&n(d):o.windowManager.alert(e("message_no_errors_found","No writing errors were found."))})}),a.onInit.add(function(){!1!==a.settings.content_css&&a.dom.loadCSS(a.getParam("atd_css_url",r+"/css/content.css"))}),a.onClick.add(i._showMenu,i),a.onContextMenu.add(i._showMenu,i),a.onPreProcess.add(function(e,t){var o=e.dom;n(o.select("span",t.node).reverse(),function(e){!e||!(o.hasClass(e,"hiddenGrammarError")||o.hasClass(e,"hiddenSpellError")||o.hasClass(e,"hiddenSuggestion")||o.hasClass(e,"mceItemHidden"))&&(o.getAttrib(e,"class")||o.getAttrib(e,"style")||o.getAttrib(e,"id")||o.hasClass(e,"Apple-style-span")||o.getAttrib(e,"mce_name"))||o.remove(e,1)})}),a.onBeforeExecCommand.add(function(e,t){"mceCodeEditor"===t?i._removeWords():"mceFullScreen"===t&&i._done()}),o.addButton("AtD",{title:e("button_proofread_tooltip","Proofread Writing"),image:o.getParam("atd_button_url",r+"/atdbuttontr.gif"),cmd:"mceWritingImprovementTool"})}},_removeWords:function(e){var t=this.editor,n=t.dom,o=t.selection,r=o.getBookmark();t.core.removeWords(void 0,e),n.setHTML(n.getRoot(),n.getRoot().innerHTML),o.moveToBookmark(r)},markMyWords:function(e){var t=this.editor,n=t.selection,o=n.getBookmark(),r=t.core.markMyWords(t.core.contents(this.editor.getBody()),e);return n.moveToBookmark(o),r},_showMenu:function(t,n){var r=this;t=r.editor;var i,a=r._menu,s=t.dom,d=s.getViewPort(t.getWin());if(a||(i=o.getPos(t.getContentAreaContainer()),a=t.controlManager.createDropMenu("spellcheckermenu",{offset_x:i.x,offset_y:i.y,class:"mceNoIcons"}),r._menu=a),t.core.isMarkedNode(n.target)){a.removeAll();var c=t.core.findSuggestion(n.target);if(c)if(0===c.suggestions.length)a.add({title:c.description,class:"mceMenuItemTitle"}).setDisabled(1);else{a.add({title:c.description,class:"mceMenuItemTitle"}).setDisabled(1);for(var u=0;u<c.suggestions.length;u++)!function(e){a.add({title:e,onclick:function(){t.core.applySuggestion(n.target,e),r._checkDone()}})}(c.suggestions[u]);a.addSeparator()}else a.add({title:e("menu_title_no_suggestions","No suggestions"),class:"mceMenuItemTitle"}).setDisabled(1);return c&&c.moreinfo&&(!function(n){a.add({title:e("menu_option_explain","Explain..."),onclick:function(){t.windowManager.open({url:n,width:480,height:380,inline:!0},{theme_url:this.url})}})}(c.moreinfo),a.addSeparator()),a.add({title:e("menu_option_ignore_once","Ignore suggestion"),onclick:function(){s.remove(n.target,1),r._checkDone()}}),"true"===String(this.editor.getParam("atd_ignore_enable","false"))?a.add({title:e("menu_option_ignore_always","Ignore always"),onclick:function(){var e=r.editor.getParam("atd_ignore_rpc_url","{backend}");if("{backend}"===e){var t=tinymce.util.Cookie.getHash("atd_ignore");t||(t={}),t[n.target.innerHTML]=1,tinymce.util.Cookie.setHash("atd_ignore",t,new Date((new Date).getTime()+15768e7))}else{var o=r.editor.getParam("atd_rpc_id","12345678");tinymce.util.XHR.send({url:e+encodeURI(n.target.innerHTML).replace(/&/g,"%26")+"&key="+o,content_type:"text/xml",async:!0,type:"GET",success:function(){},error:function(e,t,n){alert("Ignore preference save failed\n"+e+"\n"+t.status+"\nAt: "+n.url)}}),r.editor.core.setIgnoreStrings(n.target.innerHTML)}r._removeWords(n.target.innerHTML),r._checkDone()}}):a.add({title:e("menu_option_ignore_all","Ignore all"),onclick:function(){r._removeWords(n.target.innerHTML),r._checkDone()}}),t.selection.select(n.target),i=s.getPos(n.target),a.showMenu(i.x,i.y+n.target.offsetHeight-d.y),tinymce.dom.Event.cancel(n)}a.hideMenu()},_checkDone:function(){var e,t=this,o=t.editor,r=o.dom;n(r.select("span"),function(t){if(t&&r.hasClass(t,"mceItemHidden"))return e=!0,!1}),e||t._done()},_done:function(){var e=this;e._removeWords(),e._menu&&e._menu.hideMenu(),e.editor.nodeChanged()},sendRequest:function(e,t,n){var o=this.editor.getParam("atd_rpc_id","12345678"),r=this.editor.getParam("atd_rpc_url","{backend}"),i=this;if("{backend}"===r||"12345678"===o)return this.editor.setProgressState(0),void alert("Please specify: atd_rpc_url and atd_rpc_id");tinymce.util.XHR.send({url:r+"/"+e,content_type:"text/xml",type:"POST",data:"data="+encodeURI(t).replace(/&/g,"%26")+"&key="+o,async:!0,success:n,error:function(e,t,n){i.editor.setProgressState(0),alert(e+"\n"+t.status+"\nAt: "+n.url)}})}}),tinymce.PluginManager.add("AtD",tinymce.plugins.AfterTheDeadlinePlugin)}(); \ No newline at end of file
+!function(){var e,t=tinymce.each,n=tinymce.DOM;function o(e,t){return window.AtD_l10n_r0ar&&window.AtD_l10n_r0ar[e]||t}tinymce.create("tinymce.plugins.AfterTheDeadlinePlugin",{getInfo:function(){return{longname:"After The Deadline",author:"Raphael Mudge",authorurl:"http://blog.afterthedeadline.com",infourl:"http://www.afterthedeadline.com",version:tinymce.majorVersion+"."+tinymce.minorVersion}},initAtDCore:function(e){var n=new AtDCore;return n.map=t,n.getAttrib=function(t,n){return e.dom.getAttrib(t,n)},n.findSpans=function(t){return t?e.dom.select("span",t):e.dom.select("span")},n.hasClass=function(t,n){return e.dom.hasClass(t,n)},n.contents=function(e){return e.childNodes},n.replaceWith=function(t,n){return e.dom.replace(n,t)},n.create=function(t){return e.dom.create("span",{class:"mceItemHidden"},t)},n.removeParent=function(t){return e.dom.remove(t,1),t},n.remove=function(t){e.dom.remove(t)},n.setIgnoreStrings(e.getParam("atd_ignore_strings",[]).join(",")),n.showTypes(e.getParam("atd_show_types","")),n},init:function(n,r){if("undefined"!=typeof AtDCore){var i=this,s=n;this.url=r,this.editor=n,e=n.core=this.initAtDCore(s,i);var a=tinymce.util.Cookie.getHash("atd_ignore");a||(a={}),s.addCommand("mceWritingImprovementTool",function(t){"undefined"!=typeof AtD_proofread_click_count&&AtD_proofread_click_count++,i.editor.setProgressState(1),i._removeWords(),i.sendRequest("checkDocument",n.getContent({format:"raw"}),function(r,s){if(i.editor.setProgressState(0),200===s.status&&"html"!==s.responseText.substr(1,4)&&s.responseXML)if(null==s.responseXML.getElementsByTagName("message").item(0)){var a=e.processXML(s.responseXML),d=0;a.count>0&&(d=i.markMyWords(a.errors),n.suggestions=a.suggestions),0!==d||t&&void 0!==t?t&&t(d):n.windowManager.alert(o("message_no_errors_found","No writing errors were found."))}else n.windowManager.alert(s.responseXML.getElementsByTagName("message").item(0).firstChild.data,t?function(){t(0)}:function(){});else n.windowManager.alert(o("message_server_error","There was a problem communicating with the Proofreading service. Try again in one minute."),t?function(){t(0)}:function(){})})}),s.onInit.add(function(){!1!==s.settings.content_css&&s.dom.loadCSS(s.getParam("atd_css_url",r+"/css/content.css"))}),s.onClick.add(i._showMenu,i),s.onContextMenu.add(i._showMenu,i),s.onPreProcess.add(function(e,n){var o=e.dom;t(o.select("span",n.node).reverse(),function(e){!e||!(o.hasClass(e,"hiddenGrammarError")||o.hasClass(e,"hiddenSpellError")||o.hasClass(e,"hiddenSuggestion")||o.hasClass(e,"mceItemHidden"))&&(o.getAttrib(e,"class")||o.getAttrib(e,"style")||o.getAttrib(e,"id")||o.hasClass(e,"Apple-style-span")||o.getAttrib(e,"mce_name"))||o.remove(e,1)})}),s.onBeforeExecCommand.add(function(e,t){"mceCodeEditor"===t?i._removeWords():"mceFullScreen"===t&&i._done()}),n.addButton("AtD",{title:o("button_proofread_tooltip","Proofread Writing"),image:n.getParam("atd_button_url",r+"/atdbuttontr.gif"),cmd:"mceWritingImprovementTool"})}},_removeWords:function(e){var t=this.editor,n=t.dom,o=t.selection,r=o.getBookmark();t.core.removeWords(void 0,e),n.setHTML(n.getRoot(),n.getRoot().innerHTML),o.moveToBookmark(r)},markMyWords:function(e){var t=this.editor,n=t.selection,o=n.getBookmark(),r=t.core.markMyWords(t.core.contents(this.editor.getBody()),e);return n.moveToBookmark(o),r},_showMenu:function(e,t){var r=this;e=r.editor;var i,s,a=r._menu,d=e.dom,c=d.getViewPort(e.getWin());if(a||(i=n.getPos(e.getContentAreaContainer()),a=e.controlManager.createDropMenu("spellcheckermenu",{offset_x:i.x,offset_y:i.y,class:"mceNoIcons"}),r._menu=a),e.core.isMarkedNode(t.target)){a.removeAll();var l=e.core.findSuggestion(t.target);if(l)if(0===l.suggestions.length)a.add({title:l.description,class:"mceMenuItemTitle"}).setDisabled(1);else{a.add({title:l.description,class:"mceMenuItemTitle"}).setDisabled(1);for(var u=0;u<l.suggestions.length;u++)!function(n){a.add({title:n,onclick:function(){e.core.applySuggestion(t.target,n),r._checkDone()}})}(l.suggestions[u]);a.addSeparator()}else a.add({title:o("menu_title_no_suggestions","No suggestions"),class:"mceMenuItemTitle"}).setDisabled(1);return l&&l.moreinfo&&(s=l.moreinfo,a.add({title:o("menu_option_explain","Explain..."),onclick:function(){e.windowManager.open({url:s,width:480,height:380,inline:!0},{theme_url:this.url})}}),a.addSeparator()),a.add({title:o("menu_option_ignore_once","Ignore suggestion"),onclick:function(){d.remove(t.target,1),r._checkDone()}}),"true"===String(this.editor.getParam("atd_ignore_enable","false"))?a.add({title:o("menu_option_ignore_always","Ignore always"),onclick:function(){var e=r.editor.getParam("atd_ignore_rpc_url","{backend}");if("{backend}"===e){var n=tinymce.util.Cookie.getHash("atd_ignore");n||(n={}),n[t.target.innerHTML]=1,tinymce.util.Cookie.setHash("atd_ignore",n,new Date((new Date).getTime()+15768e7))}else{var o=r.editor.getParam("atd_rpc_id","12345678");tinymce.util.XHR.send({url:e+encodeURI(t.target.innerHTML).replace(/&/g,"%26")+"&key="+o,content_type:"text/xml",async:!0,type:"GET",success:function(){},error:function(e,t,n){alert("Ignore preference save failed\n"+e+"\n"+t.status+"\nAt: "+n.url)}}),r.editor.core.setIgnoreStrings(t.target.innerHTML)}r._removeWords(t.target.innerHTML),r._checkDone()}}):a.add({title:o("menu_option_ignore_all","Ignore all"),onclick:function(){r._removeWords(t.target.innerHTML),r._checkDone()}}),e.selection.select(t.target),i=d.getPos(t.target),a.showMenu(i.x,i.y+t.target.offsetHeight-c.y),tinymce.dom.Event.cancel(t)}a.hideMenu()},_checkDone:function(){var e,n=this.editor.dom;t(n.select("span"),function(t){if(t&&n.hasClass(t,"mceItemHidden"))return e=!0,!1}),e||this._done()},_done:function(){this._removeWords(),this._menu&&this._menu.hideMenu(),this.editor.nodeChanged()},sendRequest:function(e,t,n){var o=this.editor.getParam("atd_rpc_id","12345678"),r=this.editor.getParam("atd_rpc_url","{backend}"),i=this;if("{backend}"===r||"12345678"===o)return this.editor.setProgressState(0),void alert("Please specify: atd_rpc_url and atd_rpc_id");tinymce.util.XHR.send({url:r+"/"+e,content_type:"text/xml",type:"POST",data:"data="+encodeURI(t).replace(/&/g,"%26")+"&key="+o,async:!0,success:n,error:function(e,t,n){i.editor.setProgressState(0),alert(e+"\n"+t.status+"\nAt: "+n.url)}})}}),tinymce.PluginManager.add("AtD",tinymce.plugins.AfterTheDeadlinePlugin)}(); \ No newline at end of file
diff --git a/plugins/jetpack/_inc/build/after-the-deadline/tinymce/plugin.min.js b/plugins/jetpack/_inc/build/after-the-deadline/tinymce/plugin.min.js
index b79487c8..10e81fa9 100644
--- a/plugins/jetpack/_inc/build/after-the-deadline/tinymce/plugin.min.js
+++ b/plugins/jetpack/_inc/build/after-the-deadline/tinymce/plugin.min.js
@@ -18,4 +18,4 @@
*
* Moxiecode Spell Checker plugin released under the LGPL with TinyMCE
*/
-tinymce.PluginManager.add("AtD",function(e){function t(){p=new window.AtDCore,p.map=_,p._isTinyMCE=!0,p.getAttrib=function(e,t){return f.getAttrib(e,t)},p.findSpans=function(e){return void 0===e?f.select("span"):f.select("span",e)},p.hasClass=function(e,t){return f.hasClass(e,t)},p.contents=function(e){return e.childNodes},p.replaceWith=function(e,t){return f.replace(t,e)},p.create=function(e){return f.create("span",{class:"mceItemHidden","data-mce-bogus":1},e)},p.removeParent=function(e){return f.remove(e,!0),e},p.remove=function(e){f.remove(e)},p.setIgnoreStrings(e.getParam("atd_ignore_strings",[]).join(",")),p.showTypes(e.getParam("atd_show_types",""))}function n(e,t){return window.AtD_l10n_r0ar&&window.AtD_l10n_r0ar[e]||t}function o(e){return e.className&&/\bhidden(GrammarError|SpellError|Suggestion)\b/.test(e.className)}function r(t){return p.markMyWords(p.contents(e.getBody()),t)}function i(){e.dom.select("span.hiddenSpellError, span.hiddenGrammarError, span.hiddenSuggestion").length||(m&&m.hideMenu(),s())}function a(t,n,o){var r=e.dom;o?_(e.dom.select("span.hiddenSpellError, span.hiddenGrammarError, span.hiddenSuggestion"),function(e){(e.innerText||e.textContent)===n&&r.remove(e,!0)}):r.remove(t,!0),i()}function s(){for(var t,n=e.dom,o=new RegExp("mceItemHidden|hidden(((Grammar|Spell)Error)|Suggestion)"),r=n.select("span"),i=r.length;i--;)t=r[i],t.className&&o.test(t.className)&&n.remove(t,!0);e.setContent(e.getContent({format:"raw"}),{format:"raw"}),g=!1,e.nodeChanged(),e.fire("SpellcheckEnd")}function c(t,n,o){var r=e.getParam("atd_rpc_id","12345678"),i=e.getParam("atd_rpc_url","{backend}");if("{backend}"===i||"12345678"===r)return void window.alert("Please specify: atd_rpc_url and atd_rpc_id");e.setProgressState(!0),tinymce.util.XHR.send({url:i+"/"+t,content_type:"text/xml",type:"POST",data:"data="+encodeURI(n).replace(/&/g,"%26")+"&key="+r,success:o,error:function(t,n,o){e.setProgressState(),window.alert(t+"\n"+n.status+"\nAt: "+o.url)}})}function d(){}function l(t){var n=e.getParam("atd_ignore_rpc_url");n&&"{backend}"!==n?tinymce.util.XHR.send({url:n+encodeURIComponent(t)+"&key="+e.getParam("atd_rpc_id","12345678"),content_type:"text/xml",type:"GET",error:function(){d(t)}}):d(t),p.setIgnoreStrings(t)}function u(t){var r,s,c,d=[],u=t.innerText||t.textContent,g=p.findSuggestion(t);g?(d.push({text:g.description,classes:"atd-menu-title",disabled:!0}),g.suggestions.length&&(d.push({text:"-"}),_(g.suggestions,function(e){d.push({text:e,onclick:function(){p.applySuggestion(t,e),i()}})}))):d.push({text:n("menu_title_no_suggestions","No suggestions"),classes:"atd-menu-title",disabled:!0}),g&&g.moreinfo&&(d.push({text:"-"}),d.push({text:n("menu_option_explain","Explain..."),onclick:function(){e.windowManager.open({title:n("menu_option_explain","Explain..."),url:g.moreinfo,width:480,height:380,inline:!0})}})),d.push.apply(d,[{text:"-"},{text:n("menu_option_ignore_once","Ignore suggestion"),onclick:function(){a(t,u)}}]),e.getParam("atd_ignore_enable")?d.push({text:n("menu_option_ignore_always","Ignore always"),onclick:function(){l(u),a(t,u,!0)}}):d.push({text:n("menu_option_ignore_all","Ignore all"),onclick:function(){a(t,u,!0)}}),m=new tinymce.ui.Menu({items:d,context:"contextmenu",onautohide:function(e){o(e.target)&&e.preventDefault()},onhide:function(){m.remove(),m=null}}),m.renderTo(document.body),r=tinymce.DOM.getPos(e.getContentAreaContainer()),c=e.dom.getPos(t),s=e.dom.getRoot(),"BODY"===s.nodeName?(c.x-=s.ownerDocument.documentElement.scrollLeft||s.scrollLeft,c.y-=s.ownerDocument.documentElement.scrollTop||s.scrollTop):(c.x-=s.scrollLeft,c.y-=s.scrollTop),r.x+=c.x,r.y+=c.y,m.moveTo(r.x,r.y+t.offsetHeight)}var m,g,p,f,_=tinymce.each;e.on("init",function(){void 0!==window.AtDCore&&(f=e.dom,t(),e.addCommand("mceWritingImprovementTool",function(t){var o,i=0;if("function"!=typeof t&&(t=function(){}),void 0!==window.AtD_proofread_click_count&&window.AtD_proofread_click_count++,g)return void s();c("checkDocument",e.getContent({format:"raw"}),function(a,s){return e.setProgressState(),200===s.status&&"html"!==s.responseText.substr(1,4)&&s.responseXML?null!==s.responseXML.getElementsByTagName("message").item(0)?void e.windowManager.alert(s.responseXML.getElementsByTagName("message").item(0).firstChild.data,t(0)):(o=p.processXML(s.responseXML),o.count>0&&(i=r(o.errors)),i?(g=!0,e.fire("SpellcheckStart")):e.windowManager.alert(n("message_no_errors_found","No writing errors were found.")),void t(i)):void e.windowManager.alert(n("message_server_error","There was a problem communicating with the Proofreading service. Try again in one minute."),t(0))})}),!1!==e.settings.content_css&&f.addStyle(".hiddenSpellError{border-bottom:2px solid red;cursor:default;}.hiddenGrammarError{border-bottom:2px solid green;cursor:default;}.hiddenSuggestion{border-bottom:2px solid blue;cursor:default;}"),tinymce.DOM.addStyle("div.mce-floatpanel{z-index:150100 !important;}"),e.on("click",function(t){o(t.target)&&(t.preventDefault(),e.selection.select(t.target),u(t.target))}))}),e.addMenuItem("spellchecker",{text:n("button_proofread_tooltip","Proofread Writing"),context:"tools",cmd:"mceWritingImprovementTool",onPostRender:function(){var t=this;e.on("SpellcheckStart SpellcheckEnd",function(){t.active(g)})}}),e.addButton("spellchecker",{tooltip:n("button_proofread_tooltip","Proofread Writing"),cmd:"mceWritingImprovementTool",onPostRender:function(){var t=this;e.on("SpellcheckStart SpellcheckEnd",function(){t.active(g)})}}),e.on("remove",function(){m&&(m.remove(),m=null)})}); \ No newline at end of file
+tinymce.PluginManager.add("AtD",function(e){var t,n,o,r,i=tinymce.each;function a(e,t){return window.AtD_l10n_r0ar&&window.AtD_l10n_r0ar[e]||t}function s(e){return e.className&&/\bhidden(GrammarError|SpellError|Suggestion)\b/.test(e.className)}function c(){e.dom.select("span.hiddenSpellError, span.hiddenGrammarError, span.hiddenSuggestion").length||(t&&t.hide(),d())}function l(t,n,o){var r=e.dom;o?i(e.dom.select("span.hiddenSpellError, span.hiddenGrammarError, span.hiddenSuggestion"),function(e){(e.innerText||e.textContent)===n&&r.remove(e,!0)}):r.remove(t,!0),c()}function d(){for(var t,o=e.dom,r=new RegExp("mceItemHidden|hidden(((Grammar|Spell)Error)|Suggestion)"),i=o.select("span"),a=i.length;a--;)(t=i[a]).className&&r.test(t.className)&&o.remove(t,!0);e.setContent(e.getContent({format:"raw"}),{format:"raw"}),n=!1,e.nodeChanged(),e.fire("SpellcheckEnd")}function u(n){var r,d,u,m=[],g=n.innerText||n.textContent,p=o.findSuggestion(n);p?(m.push({text:p.description,classes:"atd-menu-title",disabled:!0}),p.suggestions.length&&(m.push({text:"-"}),i(p.suggestions,function(e){m.push({text:e,onclick:function(){o.applySuggestion(n,e),c()}})}))):m.push({text:a("menu_title_no_suggestions","No suggestions"),classes:"atd-menu-title",disabled:!0}),p&&p.moreinfo&&(m.push({text:"-"}),m.push({text:a("menu_option_explain","Explain..."),onclick:function(){e.windowManager.open({title:a("menu_option_explain","Explain..."),url:p.moreinfo,width:480,height:380,inline:!0})}})),m.push.apply(m,[{text:"-"},{text:a("menu_option_ignore_once","Ignore suggestion"),onclick:function(){l(n,g)}}]),e.getParam("atd_ignore_enable")?m.push({text:a("menu_option_ignore_always","Ignore always"),onclick:function(){!function(t){var n=e.getParam("atd_ignore_rpc_url");n&&"{backend}"!==n&&tinymce.util.XHR.send({url:n+encodeURIComponent(t)+"&key="+e.getParam("atd_rpc_id","12345678"),content_type:"text/xml",type:"GET",error:function(){}}),o.setIgnoreStrings(t)}(g),l(n,g,!0)}}):m.push({text:a("menu_option_ignore_all","Ignore all"),onclick:function(){l(n,g,!0)}}),(t=new tinymce.ui.Menu({items:m,context:"contextmenu",onautohide:function(e){s(e.target)&&e.preventDefault()},onhide:function(){t.remove(),t=null}})).renderTo(document.body),r=tinymce.DOM.getPos(e.getContentAreaContainer()),u=e.dom.getPos(n),"BODY"===(d=e.dom.getRoot()).nodeName?(u.x-=d.ownerDocument.documentElement.scrollLeft||d.scrollLeft,u.y-=d.ownerDocument.documentElement.scrollTop||d.scrollTop):(u.x-=d.scrollLeft,u.y-=d.scrollTop),r.x+=u.x,r.y+=u.y,t.moveTo(r.x,r.y+n.offsetHeight)}e.on("init",function(){void 0!==window.AtDCore&&(r=e.dom,(o=new window.AtDCore).map=i,o._isTinyMCE=!0,o.getAttrib=function(e,t){return r.getAttrib(e,t)},o.findSpans=function(e){return void 0===e?r.select("span"):r.select("span",e)},o.hasClass=function(e,t){return r.hasClass(e,t)},o.contents=function(e){return e.childNodes},o.replaceWith=function(e,t){return r.replace(t,e)},o.create=function(e){return r.create("span",{class:"mceItemHidden","data-mce-bogus":1},e)},o.removeParent=function(e){return r.remove(e,!0),e},o.remove=function(e){r.remove(e)},o.setIgnoreStrings(e.getParam("atd_ignore_strings",[]).join(",")),o.showTypes(e.getParam("atd_show_types","")),e.addCommand("mceWritingImprovementTool",function(t){var r,i,s,c,l,u,m=0;("function"!=typeof t&&(t=function(){}),void 0!==window.AtD_proofread_click_count&&window.AtD_proofread_click_count++,n)?d():(i="checkDocument",s=e.getContent({format:"raw"}),c=function(i,s){var c;e.setProgressState(),200===s.status&&"html"!==s.responseText.substr(1,4)&&s.responseXML?null===s.responseXML.getElementsByTagName("message").item(0)?((r=o.processXML(s.responseXML)).count>0&&(c=r.errors,m=o.markMyWords(o.contents(e.getBody()),c)),m?(n=!0,e.fire("SpellcheckStart")):e.windowManager.alert(a("message_no_errors_found","No writing errors were found.")),t(m)):e.windowManager.alert(s.responseXML.getElementsByTagName("message").item(0).firstChild.data,t(0)):e.windowManager.alert(a("message_server_error","There was a problem communicating with the Proofreading service. Try again in one minute."),t(0))},l=e.getParam("atd_rpc_id","12345678"),"{backend}"!==(u=e.getParam("atd_rpc_url","{backend}"))&&"12345678"!==l?(e.setProgressState(!0),tinymce.util.XHR.send({url:u+"/"+i,content_type:"text/xml",type:"POST",data:"data="+encodeURI(s).replace(/&/g,"%26")+"&key="+l,success:c,error:function(t,n,o){e.setProgressState(),window.alert(t+"\n"+n.status+"\nAt: "+o.url)}})):window.alert("Please specify: atd_rpc_url and atd_rpc_id"))}),!1!==e.settings.content_css&&r.addStyle(".hiddenSpellError{border-bottom:2px solid red;cursor:default;}.hiddenGrammarError{border-bottom:2px solid green;cursor:default;}.hiddenSuggestion{border-bottom:2px solid blue;cursor:default;}"),tinymce.DOM.addStyle("div.mce-floatpanel{z-index:150100 !important;}"),e.on("click",function(t){s(t.target)&&(t.preventDefault(),e.selection.select(t.target),u(t.target))}))}),e.addMenuItem("spellchecker",{text:a("button_proofread_tooltip","Proofread Writing"),context:"tools",cmd:"mceWritingImprovementTool",onPostRender:function(){var t=this;e.on("SpellcheckStart SpellcheckEnd",function(){t.active(n)})}}),e.addButton("spellchecker",{tooltip:a("button_proofread_tooltip","Proofread Writing"),cmd:"mceWritingImprovementTool",onPostRender:function(){var t=this;e.on("SpellcheckStart SpellcheckEnd",function(){t.active(n)})}}),e.on("remove",function(){t&&(t.remove(),t=null)})}); \ No newline at end of file