for(const i in media_library_organizer_quicktags){mediaLibraryOrganizerQuickTagRegister(media_library_organizer_quicktags[i])}function mediaLibraryOrganizerQuickTagRegister(i){(function(e){if(typeof QTags==="undefined"){return}QTags.addButton(i.prefix+"_"+i.name,i.title,function(){e.post(ajaxurl,{action:"media_library_organizer_tinymce_output_modal",nonce:media_library_organizer_tinymce.nonce,editor_type:"quicktags",shortcode:i.name},function(a){wpZincQuickTagsModal.open();e("#wpzinc-quicktags-modal .media-frame-title h1").text(i.title);e("#wpzinc-quicktags-modal .media-frame-content").html(a);e("div.wpzinc-quicktags-modal div.media-modal.wp-core-ui").css({height:e("div.wpzinc-quicktags-modal div.media-frame-title h1").outerHeight()+e("div.wpzinc-quicktags-modal form.convertkit-tinymce-popup").height()+6+"px"});wp_zinc_tabs_init();mediaLibraryOrganizerSelectizeInit()})})})(jQuery)}