Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64
User : corals ( 1002)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/corals/mets.corals.io/wp-content/plugins/amp/assets/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/corals/mets.corals.io/wp-content/plugins/amp/assets/js/amp-plugin-install.js
!function(){"use strict";var e={n:function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,{a:n}),n},d:function(t,n){for(var a in n)e.o(n,a)&&!e.o(t,a)&&Object.defineProperty(t,a,{enumerable:!0,get:n[a]})},o:function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}},t=ampPlugins,n=window.lodash,a=window.wp.domReady,o=e.n(a),i=window.wp.i18n;const s={init(){this.isAmpCompatibleTab()?this.removeAdditionalInfo():this.addAmpMessage(),this.addAmpMessageInSearchResult()},isAmpCompatibleTab:()=>new URLSearchParams(window.location.search.substr(1)).get("tab")===t.AMP_COMPATIBLE,addAmpMessageInSearchResult(){const e=document.getElementById("plugin-filter"),t=document.querySelector(".plugin-install-php .wp-filter-search");if(!e||!t)return;const a=(0,n.debounce)((()=>{t.removeEventListener("input",a,{once:!0});const n=document.querySelector(".plugin-install-tab-amp-compatible");n&&(n.classList.remove("plugin-install-tab-amp-compatible"),n.classList.add("plugin-install-tab-search-result")),new MutationObserver((()=>{this.addAmpMessage()})).observe(e,{childList:!0})}),1e3);t.addEventListener("input",a,{once:!0})},addAmpMessage(){for(const e of t.AMP_PLUGINS){const t=document.querySelector(`.plugin-card.plugin-card-${e}`);if(!t)continue;if(t.classList.contains("amp-extension-card-message"))continue;const n=document.createElement("div"),a=document.createElement("span"),o=document.createElement("span");n.classList.add("amp-extension-card-message"),a.classList.add("amp-logo-icon"),o.classList.add("tooltiptext"),o.append((0,i.__)("This is known to work well with the AMP plugin.","amp")),n.append(a),n.append(o),t.appendChild(n)}},removeAdditionalInfo(){const e=document.querySelectorAll(".plugin-install-tab-amp-compatible .plugin-card-bottom");for(const t of e)t.remove()}};o()((()=>{s.init()}))}();

Spamworldpro Mini