define(["require","exports","tslib","react"],(function(e,t,o,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),i=o.__importStar(i),t.CoachmarkLocation=function(e){var t=e.location,o=e.component,n=e.positions,c=e.children,a=e.name,r=e.updatePosition,l=t===a&&o;return l||c?i.createElement("div",null,c,l&&i.createElement("div",{className:"sc-comment-coachmark sc-comment-coachmark__"+a},i.createElement(l,{positions:n,coachmarkRef:function(t){if(t&&!e.positions.location){var o=t.getBoundingClientRect();r({width:o.width,height:o.height,x:o.left,y:o.top})}}}))):null}})); //# sourceMappingURL=coachmark_location.min.js-vflD4rNfS.map