(()=>{"use strict";var e={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 u=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(u,"isPending",{get:()=>void 0!==s}),u.clear=()=>{s&&(clearTimeout(s),s=void 0,i=void 0,r=void 0)},u.flush=()=>{s&&u.trigger()},u.trigger=()=>{c=d(),u.clear()},u}(()=>{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.querySelector(".ss-extension-card-message"))continue;const n=document.createElement("div"),o=document.createElement("span"),i=document.createElement("span");t.classList.add("ss-compatible-plugin-card"),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()})}};const t={};function n(o){const i=t[o];if(void 0!==i)return i.exports;const r=t[o]={exports:{}};return e[o](r,r.exports,n),r.exports}n.m=e,(()=>{const e=[];n.O=(t,o,i,r)=>{if(o){r=r||0;for(var s=e.length;s>0&&e[s-1][2]>r;s--)e[s]=e[s-1];return void(e[s]=[o,i,r])}let a=1/0;for(s=0;s<e.length;s++){let[o,i,r]=e[s],d=!0;for(var c=0;c<o.length;c++)(!1&r||a>=r)&&Object.keys(n.O).every(e=>n.O[e](o[c]))?o.splice(c--,1):(d=!1,r<a&&(a=r));if(d){e.splice(s--,1);const n=i();void 0!==n&&(t=n)}}return t}})(),n.n=e=>{const t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{if(Array.isArray(t))for(var o=0;o<t.length;){var i=t[o++],r=t[o++];n.o(e,i)?0===r&&o++:0===r?Object.defineProperty(e,i,{enumerable:!0,value:t[o++]}):Object.defineProperty(e,i,{enumerable:!0,get:r})}else for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.o=(e,t)=>Object.hasOwn(e,t),(()=>{const e={57:0,350:0};n.O.j=t=>0===e[t];const t=(t,o)=>{let[i,r,s]=o;var a,c,d=0;if(i.some(t=>0!==e[t])){for(a in r)n.o(r,a)&&(n.m[a]=r[a]);if(s)var l=s(n)}for(t&&t(o);d<i.length;d++)c=i[d],n.o(e,c)&&e[c]&&e[c][0](),e[c]=0;return n.O(l)},o=globalThis.webpackChunksimplystatic_install_plugins||=[];o.forEach(t.bind(null,0)),o.push=t.bind(null,o.push.bind(o))})();let o=n.O(void 0,[350],()=>n(276));o=n.O(o)})();