{"version":3,"sources":["webpack:///../node_modules/detect-element-overflow/dist/esm/index.js"],"names":[],"mappings":";;;;;;;;;;;AAAA;AAAA;AACA;AACA;AACe;AACf;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,SAAS;AACT;AACA;AACA,SAAS;AACT;AACA;AACA,SAAS;AACT;AACA;AACA,SAAS;AACT;AACA;AACA,SAAS;AACT;AACA;AACA,SAAS;AACT;AACA;AACA,SAAS;AACT;AACA","file":"vendor.detect-element-overflow.e116d8f8991446385d7b.js","sourcesContent":["function getRect(element) {\n return element.getBoundingClientRect();\n}\nexport default function detectElementOverflow(element, container) {\n return {\n get collidedTop() {\n return getRect(element).top < getRect(container).top;\n },\n get collidedBottom() {\n return getRect(element).bottom > getRect(container).bottom;\n },\n get collidedLeft() {\n return getRect(element).left < getRect(container).left;\n },\n get collidedRight() {\n return getRect(element).right > getRect(container).right;\n },\n get overflowTop() {\n return getRect(container).top - getRect(element).top;\n },\n get overflowBottom() {\n return getRect(element).bottom - getRect(container).bottom;\n },\n get overflowLeft() {\n return getRect(container).left - getRect(element).left;\n },\n get overflowRight() {\n return getRect(element).right - getRect(container).right;\n },\n };\n}\n"],"sourceRoot":""}