PATH:
var
/
www
/
clients
/
client1
/
web1
/
web
/
wp-content
/
plugins
/
nextgen-gallery
/
static
/
AttachToPost
function adjust_height_for_frame(e,t,i){var n,o,a,s;return/crios|iP(hone|od|ad)/i.test(navigator.userAgent)?(o=(n=jQuery(t.frameElement)).contents().height()/3,a=n.contents().find("#wpbody").height(),s=jQuery(e.document).height(),n.height()<(o=(o=o<(a=0===a?n.contents().height():a)?a:o)<s?s:o)&&(a=n.attr("id"))&&0===a.indexOf("ngg-iframe-")&&(s=a.substr(11))&&jQuery("#"+s).height(o),void 0===i||i(e,t,o)):void 0===i||i(e,t)}function close_attach_to_post_window(){var e,t;is_block_editor()?(t=parent.document.getElementById(window.name),e=new Event("NGG_Close_Modal"),t.dispatchEvent(e)):(t=jQuery(top.document).find("#TB_window iframe").attr("src"))&&t.match("attach_to_post")?top.tb_remove():top.tinyMCE.activeEditor.windowManager.close(window)}function insert_into_editor(e,t){var i,n;is_block_editor()?(i=parent.document.getElementById(window.name),n=new CustomEvent("NGG_Insert_Gallery",{detail:{shortcode:e}}),i.dispatchEvent(n)):is_visual_editor()?(0<=(i=top.tinyMCE.activeEditor).selection.getNode().outerHTML.indexOf(t)?jQuery(i.selection.getNode()).attr("data-shortcode",e.substring(1,e.length-1)):i.execCommand("mceInsertContent",!1,e),i.selection.collapse(!1)):(myField=top.document.getElementById("content"),myValue=e,document.selection?(myField.trigger("focus"),(sel=document.selection.createRange()).text=myValue):myField.selectionStart||"0"===myField.selectionStart?(n=myField.selectionStart,t=myField.selectionEnd,myField.value=myField.value.substring(0,n)+myValue+myField.value.substring(t,myField.value.length)):myField.value+=myValue)}function is_visual_editor(){return 0===jQuery(top.document).find(".html-active:visible").length}function is_block_editor(){return void 0!==window.name&&"add-ngg-gallery-block-iframe"===window.name}function ngg_get_measures_for_frame(e){var e=jQuery(e).attr("id"),t={};return e&&0===e.indexOf("ngg-iframe-")&&e.substr(11)&&(e=jQuery(document),t.scrollTop=e.scrollTop()-40,window.parent?t.scrollHeight=jQuery(window.parent.document).find(".ngg_attach_to_post_window").height()-40:t.scrollHeight=e.height(),void 0!==window.console)&&console.log(t),t}(void 0).id="ngg-attach_to_post",jQuery(function(t){var e,i;/crios|iP(hone|od|ad)/i.test(navigator.userAgent)&&t("#attach_to_post_tabs").addClass("ngg_atp_ios_detected"),t("#attach_to_post_tabs").ngg_tabs({onShowTab:function(e){navigator.appVersion.match(/Chrome\/(69|7)/)&&("displayed_tab"!=e.attr("id")?t("#attach_to_post_tabs").addClass("chrome_70_hack_frames").removeClass("chrome_70_hack_noframes"):t("#attach_to_post_tabs").removeClass("chrome_70_hack_frames").addClass("chrome_70_hack_noframes"))}}),t(".ngg_page_content_menu a").on("click",function(){"preview_tab"===t(this).attr("data-id")&&t("#preview_area").trigger("opened")}),t(".accordion").accordion({clearStyle:!0,autoHeight:!1,heightStyle:"content"}),t(".ui-tabs-nav li:first-of-type a").addClass("active_tab"),t(".ui-tabs-nav a").on("click",function(e){t(".ui-tabs-nav a").removeClass("active_tab"),t(this).addClass("active_tab");var e=e.target;t(e).parent().hasClass("ui-state-active")&&0<(e=t(e.hash+" iframe")).length&&e[0].contentDocument.location!=e.attr("src")&&(e[0].contentDocument.location=e.attr("src"))}),t(this).on("keydown",function(e){return 27===e.keyCode&&close_attach_to_post_window(),!0}),t("body").css({position:"static",visibility:"visible"}).animate({opacity:1}),t("#displayed_tab .ngg_igw_video_open").on("click",function(e){t("#displayed_tab .ngg_igw_video_inner").append('<iframe class="ngg_igw_video_iframe" width="1050" height="590" src="https://www.youtube.com/embed/mNEnY23i9DE?rel=0" frameborder="0" allowfullscreen></iframe>'),t("#displayed_tab .ngg_igw_video_inner").css("display","block"),t("#displayed_tab .ngg_igw_video_open").css("display","none")}),t("#displayed_tab .ngg_igw_video_close").on("click",function(e){t("#displayed_tab .ngg_igw_video_iframe").remove(),t("#displayed_tab .ngg_igw_video_inner").css("display","none"),t("#displayed_tab .ngg_igw_video_open").css("display","block")}),t(".ngg_page_content_menu a").on("click",function(e){"choose_display"==t(this).attr("data-id")?t("#displayed_tab .ngg_igw_video_open").css("display","block"):(t("#displayed_tab .ngg_igw_video_open").css("display","none"),t("#displayed_tab .ngg_igw_video_inner").css("display","none"))}),is_block_editor()&&(e=parent.document.getElementById(window.name),i=new Event("NGG_Iframe_Ready"),e.dispatchEvent(i))});
[-] ngg_tabs.min.js
[edit]
[-] ngg_attach_to_post_tinymce_plugin.css
[edit]
[-] ngg_tabs.js
[edit]
[-] nextgen.gif
[edit]
[-] atp_button.png
[edit]
[-] ngg_attach_to_post_tinymce_plugin.js
[edit]
[-] iframely.css
[edit]
[-] uploader-icons-2x.png
[edit]
[-] base64.js
[edit]
[-] attach_to_post.min.js
[edit]
[-] uploader-icons.png
[edit]
[-] ngg_attach_to_post_tinymce_plugin.min.js
[edit]
[-] attach_to_post_dialog.css
[edit]
[-] display_tab.min.js
[edit]
[-] igw.js
[edit]
[-] igw_button.png
[edit]
[-] base64.min.js
[edit]
[-] attach_to_post_dialog.min.css
[edit]
[-] invalid_image.png
[edit]
[-] spinner.gif
[edit]
[-] attach_to_post.js
[edit]
[+]
..
[-] igw.min.js
[edit]
[-] iframely.min.css
[edit]
[-] iframely.min.js
[edit]
[-] attach_to_post.min.css
[edit]
[-] ngg_attach_to_post_tinymce_plugin.min.css
[edit]
[-] attach_to_post.css
[edit]
[-] display_tab.js
[edit]
[-] iframely.js
[edit]