diff -r 7b1b88e27a20 -r 48c4eec2b7e6 wp/wp-includes/js/dist/vendor/wp-polyfill-element-closest.min.js --- a/wp/wp-includes/js/dist/vendor/wp-polyfill-element-closest.min.js Thu Sep 29 08:06:27 2022 +0200 +++ b/wp/wp-includes/js/dist/vendor/wp-polyfill-element-closest.min.js Fri Sep 05 18:40:08 2025 +0200 @@ -1,1 +1,1 @@ -!function(e){"function"!=typeof e.matches&&(e.matches=e.msMatchesSelector||e.mozMatchesSelector||e.webkitMatchesSelector||function(e){for(var t=this,o=(t.document||t.ownerDocument).querySelectorAll(e),n=0;o[n]&&o[n]!==t;)++n;return Boolean(o[n])}),"function"!=typeof e.closest&&(e.closest=function(e){for(var t=this;t&&1===t.nodeType;){if(t.matches(e))return t;t=t.parentNode}return null})}(window.Element.prototype); \ No newline at end of file +!function(e){var t=window.Element.prototype;"function"!=typeof t.matches&&(t.matches=t.msMatchesSelector||t.mozMatchesSelector||t.webkitMatchesSelector||function(e){for(var t=(this.document||this.ownerDocument).querySelectorAll(e),o=0;t[o]&&t[o]!==this;)++o;return Boolean(t[o])}),"function"!=typeof t.closest&&(t.closest=function(e){for(var t=this;t&&1===t.nodeType;){if(t.matches(e))return t;t=t.parentNode}return null})}(); \ No newline at end of file