!function(d){var i,t;function s(){d(window).off("beforeunload.wp-auth-check"),"undefined"==typeof adminpage||"post-php"!==adminpage&&"post-new-php"!==adminpage||"undefined"==typeof wp||!wp.heartbeat||(d(document).off("heartbeat-tick.wp-auth-check"),wp.heartbeat.connectNow()),i.fadeOut(200,function(){i.addClass("hidden").css("display",""),d("#wp-auth-check-frame").remove(),d("body").removeClass("modal-open")})}function u(){var e=parseInt(window.authcheckL10n.interval,10)||180;t=(new Date).getTime()+1e3*e}d(document).on("heartbeat-tick.wp-auth-check",function(e,a){var t,c,n,h,o;"wp-auth-check"in a&&(u(),!a["wp-auth-check"]&&i.hasClass("hidden")?(c=d("#wp-auth-check"),n=d("#wp-auth-check-form"),h=i.find(".wp-auth-fallback-expired"),o=!1,n.length&&(d(window).on("beforeunload.wp-auth-check",function(e){e.originalEvent.returnValue=window.authcheckL10n.beforeunload}),(t=d('