var trackingAttributes=["data-tracking-style","data-tracking-topic","data-tracking-context","data-tracking-id"];var inheritAttributes=function(t,i){if(i===void 0){i=[]}var r={};i.forEach((function(i){if(t.hasAttribute(i)){var a=t.getAttribute(i);if(a!==null){r[i]=t.getAttribute(i)}t.removeAttribute(i)}}));return r};var inheritTrackingAttributes=function(t,i){var r=trackingAttributes;return inheritAttributes(t,r)};export{inheritTrackingAttributes as a,inheritAttributes as i};