!function(i,e,t,n){var r=!1;function o(){var t=i(e).height()-i("#wpadminbar").height();t<i("#adminmenuwrap").height()&&(t=i("#adminmenuwrap").height()),i("#wcp-editor").height(t),i("#instance-options-wrap").siblings().hide()}i(t).ready(function(){o(),i("#wcp-editor").css({"background-color":"#f1f1f1"}),i(e).on("resize",function(){o()}),i(t).on("click",'[data-wcp-editor-main-button-name="fullscreen"]',function(){r?(r=!1,i("#fullscreen-wrap").remove(),i("#wcp-editor-offline").attr("id","wcp-editor"),i.image_map_pro_init_editor(i.image_map_pro_editor_current_settings(),i.WCPEditorSettings)):(r=!0,i("#wcp-editor").attr("id","wcp-editor-offline").html(""),i("body").append('<div id="fullscreen-wrap"><div id="wcp-editor"></div></div>'),i.image_map_pro_init_editor(i.image_map_pro_editor_current_settings(),i.WCPEditorSettings))})})}(jQuery,window,document);