1import { $ as is_array } from './index-BvBk1Iap.js'; 2 3/** 4 * @this {any} 5 * @param {Record<string, unknown>} $$props 6 * @param {Event} event 7 * @returns {void} 8 */ 9function bubble_event($$props, event) { 10 var events = /** @type {Record<string, Function[] | Function>} */ ($$props.$$events)?.[ 11 event.type 12 ]; 13 14 var callbacks = is_array(events) ? events.slice() : events == null ? [] : [events]; 15 16 for (var fn of callbacks) { 17 // Preserve "this" context 18 fn.call(this, event); 19 } 20} 21 22export { bubble_event as b }; 23//# sourceMappingURL=misc-ByVveAau.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.