(()=>{"use strict";var e={790:e=>{e.exports=window.ReactJSXRuntime},2619:e=>{e.exports=window.wp.hooks},6087:e=>{e.exports=window.wp.element},9491:e=>{e.exports=window.wp.compose}},s={};function r(t){var a=s[t];if(void 0!==a)return a.exports;var p=s[t]={exports:{}};return e[t](p,p.exports,r),p.exports}var t=r(9491),a=r(2619);r(6087);var p=r(790);const o=(0,a.applyFilters)("spectra.excludesGS",["spectra/popup-builder"]),n=(0,a.applyFilters)("spectra.supportsGS",[]);(0,t.createHigherOrderComponent)((e=>s=>{const{name:r,attributes:{spectraGSClasses:t=[]}}=s;return((e,s=!1)=>!!e?.name&&!o.includes(e.name)&&!(!["spectra/","spectra-pro/"].some((s=>e.name.startsWith(s)))&&!n.includes(e.name))&&(!s||(e.name.startsWith("spectra/")?"spectra":e.name.startsWith("spectra-pro/")?"spectra-pro":"other")))({name:r})?(0,p.jsx)(e,{...s,className:(a=t,a.filter(Boolean).join(" "))}):(0,p.jsx)(e,{...s});var a}),"addGSClasses")})();