(()=>{"use strict";var e,t={276(e,t,n){const o=window.wp.domReady;var i=n.n(o);const r=window.wp.i18n,s={init(){this.addSSMessage(),this.addSSMessageInSearchResult()},addSSMessageInSearchResult(){const e=document.getElementById("plugin-filter"),t=document.querySelector(".plugin-install-php .wp-filter-search");if(!e||!t)return;const n=function(e,t=100,n={}){if("function"!=typeof e)throw new TypeError(`Expected the first parameter to be a function, got \`${typeof e}\`.`);if(t<0)throw new RangeError("`wait` must not be negative.");if("boolean"==typeof n)throw new TypeError("The `options` parameter must be an object, not a boolean. Use `{immediate: true}` instead.");const{immediate:o}=n;let i,r,s,a,c;function d(){const t=i,n=r;return i=void 0,r=void 0,c=e.apply(t,n),c}function l(){const e=Date.now()-a;e<t&&e>=0?s=setTimeout(l,t-e):(s=void 0,o||(c=d()))}const p=function(...e){if(i&&this!==i&&Object.getPrototypeOf(this)===Object.getPrototypeOf(i))throw new Error("Debounced method called with different contexts of the same prototype.");i=this,r=e,a=Date.now();const n=o&&!s;if(s||(s=setTimeout(l,t)),n)return c=d(),c};return Object.defineProperty(p,"isPending",{get:()=>void 0!==s}),p.clear=()=>{s&&(clearTimeout(s),s=void 0,i=void 0,r=void 0)},p.flush=()=>{s&&p.trigger()},p.trigger=()=>{c=d(),p.clear()},p}(()=>{t.removeEventListener("input",n,{once:!0}),new MutationObserver(()=>{this.addSSMessage()}).observe(e,{childList:!0})},1e3);t.addEventListener("input",n,{once:!0})},addSSMessage(){for(const e of ssPlugins.SS_PLUGINS){const t=document.querySelector(`.plugin-card.plugin-card-${e}`);if(!t)continue;if(t.classList.contains("ss-extension-card-message"))continue;const n=document.createElement("div"),o=document.createElement("span"),i=document.createElement("span");n.classList.add("ss-extension-card-message"),o.classList.add("ss-logo-icon"),i.classList.add("tooltiptext"),i.append((0,r.__)("This is known to work well with the Simply Static plugin.","simply-static")),n.append(o),n.append(i),t.appendChild(n)}}};i()(()=>{s.init()})}},n={};function o(e){var i=n[e];if(void 0!==i)return i.exports;var r=n[e]={exports:{}};return t[e](r,r.exports,o),r.exports}o.m=t,e=[],o.O=(t,n,i,r)=>{if(!n){var s=1/0;for(l=0;l<e.length;l++){for(var[n,i,r]=e[l],a=!0,c=0;c<n.length;c++)(!1&r||s>=r)&&Object.keys(o.O).every(e=>o.O[e](n[c]))?n.splice(c--,1):(a=!1,r<s&&(s=r));if(a){e.splice(l--,1);var d=i();void 0!==d&&(t=d)}}return t}r=r||0;for(var l=e.length;l>0&&e[l-1][2]>r;l--)e[l]=e[l-1];e[l]=[n,i,r]},o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e={57:0,350:0};o.O.j=t=>0===e[t];var t=(t,n)=>{var i,r,[s,a,c]=n,d=0;if(s.some(t=>0!==e[t])){for(i in a)o.o(a,i)&&(o.m[i]=a[i]);if(c)var l=c(o)}for(t&&t(n);d<s.length;d++)r=s[d],o.o(e,r)&&e[r]&&e[r][0](),e[r]=0;return o.O(l)},n=globalThis.webpackChunksimplystatic_install_plugins=globalThis.webpackChunksimplystatic_install_plugins||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})();var i=o.O(void 0,[350],()=>o(276));i=o.O(i)})();