import{ResizeObserverBoxOptions as e}from"./ResizeObserverBoxOptions.js";import{calculateBoxSize as i}from"./algorithms/calculateBoxSize.js";import{isSVG as t,isReplacedElement as o}from"./utils/element.js";var s=function(){function ResizeObservation(i,t){this.target=i,this.observedBox=t||e.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return ResizeObservation.prototype.isActive=function(){var e,s=i(this.target,this.observedBox,!0);return e=this.target,t(e)||o(e)||"inline"!==getComputedStyle(e).display||(this.lastReportedSize=s),this.lastReportedSize.inlineSize!==s.inlineSize||this.lastReportedSize.blockSize!==s.blockSize},ResizeObservation}();export{s as ResizeObservation};