"use strict";(self["momentum-web-components-[id]"]=self["momentum-web-components-[id]"]||[]).push([[2050,4431,6812,9669],{2050(o,n,t){function e(o,n){return function n(t){if(!t||t===document||t===window)return null;const e=t.closest(o);return null!=e?e:n(t.getRootNode().host)}(n)}function r(o,n=document){var t;const e=n instanceof ShadowRoot||n instanceof Document?n.querySelector(o):null===(t=n.shadowRoot)||void 0===t?void 0:t.querySelector(o);if(e)return e;const l=Array.from(n.querySelectorAll("*")).map(o=>{var n;return null!==(n=o.shadowRoot)&&void 0!==n?n:null}).filter(o=>null!==o);for(const n of l){const t=r(o,n);if(t)return t}return null}function l(o,n=document){if(n instanceof ShadowRoot||n instanceof Document){const t=n.getElementById(o);if(t)return t}const t=Array.from(n.querySelectorAll("*")).map(o=>{var n;return null!==(n=o.shadowRoot)&&void 0!==n?n:null}).filter(o=>null!==o);for(const n of t){const t=l(o,n);if(t)return t}return null}function u(){var o;let n=document.activeElement;for(;null===(o=null==n?void 0:n.shadowRoot)||void 0===o?void 0:o.activeElement;)n=n.shadowRoot.activeElement;return n}t.d(n,{QZ:()=>e,XI:()=>l,dw:()=>u,qi:()=>r})}}]);