(()=>{"use strict";const e=document,t=e.querySelectorAll.bind(e),r=window.jQuery;function o(){t(".arve p, .arve .video-wrap, .arve .fluid-width-video-wrapper, .arve .fluid-vids").forEach((e=>{i(e)})),t(".ast-oembed-container").forEach((e=>{e.querySelector(".arve")&&i(e)})),t(".arve br").forEach((e=>{e.remove()})),t(".arve-iframe, .arve-video").forEach((e=>{e.removeAttribute("width"),e.removeAttribute("height"),e.removeAttribute("style")})),t(".wp-block-embed").forEach((e=>{if(e.querySelector(".arve")){e.classList.remove("wp-embed-aspect-16-9","wp-has-aspect-ratio");const t=e.querySelector(".wp-block-embed__wrapper");t&&i(t)}}))}function i(e){const t=e.parentNode;if(t){for(;t&&e.firstChild;)t.insertBefore(e.firstChild,e);t.removeChild(e)}}var d;"html"!==e.documentElement.id&&(e.documentElement.id?e.body.id||(e.body.id="html"):e.documentElement.id="html"),d=()=>{o()},void 0!==e&&("complete"!==e.readyState&&"interactive"!==e.readyState?e.addEventListener("DOMContentLoaded",d):d()),r&&void 0!==r.fn.fitVids&&r(document).ready((()=>{setTimeout((()=>{o()}),1)}))})();