(function(e,t){typeof exports=="object"&&typeof module<"u"?t(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],t):(e=typeof globalThis<"u"?globalThis:e||self,t(e["Builder-element-removal"]={},e.React))})(this,function(e,t){"use strict";function l(n,o){return n?.wix?.elementsRemovalState?.[o]==="REMOVED"}const m=n=>o=>{const{isElementRemoved:i,...r}=o;return i?null:t.createElement(n,{...r})};e.getElementRemovalState=l,e.withElementRemoval=m,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})});
//# sourceMappingURL=builder-element-removal.js.map