REDROOM
PHP 8.3.31
Path:
Logout
Edit File
Size: 1.91 KB
Close
/proc/thread-self/root/home/getspomw/itechservicellc.com/public/admin/assets/plugins/bs-stepper/js/polyfill.js
Text
Base64
let matches = window.Element.prototype.matches let closest = (element, selector) => element.closest(selector) let WinEvent = (inType, params) => new window.Event(inType, params) let createCustomEvent = (eventName, params) => { const cEvent = new window.CustomEvent(eventName, params) return cEvent } /* istanbul ignore next */ function polyfill () { if (!window.Element.prototype.matches) { matches = window.Element.prototype.msMatchesSelector || window.Element.prototype.webkitMatchesSelector } if (!window.Element.prototype.closest) { closest = (element, selector) => { if (!document.documentElement.contains(element)) { return null } do { if (matches.call(element, selector)) { return element } element = element.parentElement || element.parentNode } while (element !== null && element.nodeType === 1) return null } } if (!window.Event || typeof window.Event !== 'function') { WinEvent = (inType, params) => { params = params || {} const e = document.createEvent('Event') e.initEvent(inType, Boolean(params.bubbles), Boolean(params.cancelable)) return e } } if (typeof window.CustomEvent !== 'function') { const originPreventDefault = window.Event.prototype.preventDefault createCustomEvent = (eventName, params) => { const evt = document.createEvent('CustomEvent') params = params || { bubbles: false, cancelable: false, detail: null } evt.initCustomEvent(eventName, params.bubbles, params.cancelable, params.detail) evt.preventDefault = function () { if (!this.cancelable) { return } originPreventDefault.call(this) Object.defineProperty(this, 'defaultPrevented', { get: function () { return true } }) } return evt } } } polyfill() export { closest, WinEvent, createCustomEvent }
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 7
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
bs-stepper.min.js
6.08 KB
lrw-r--r--
2025-10-28 20:21:40
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
index.js
3.28 KB
lrw-r--r--
2025-10-28 20:21:40
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
index.spec.js
23.03 KB
lrw-r--r--
2025-10-28 20:21:40
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
listeners.js
713 B
lrw-r--r--
2025-10-28 20:21:40
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
main.js
1.50 KB
lrw-r--r--
2025-10-28 20:21:40
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
polyfill.js
1.91 KB
lrw-r--r--
2025-10-28 20:21:40
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
util.js
4.72 KB
lrw-r--r--
2025-10-28 20:21:40
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).