function n(n){let t={};for(const o of function(n){var t=[];return Object.keys(n).forEach((o=>{"function"==typeof Object.getOwnPropertyDescriptor(n,o).get&&t.push(o)})),t}(Object.getPrototypeOf(n)))t[o]=n[o];return t}function t(n){const t=n.filter((n=>!n.value));return!!t.length&&t}function o(n){const t=null==n?void 0:n.split("_");return t&&1!==t.length?`${t[0]}-${t[1].toUpperCase()}`:n}function c(n){const t=new URL(n,window.location.origin),o=new URL(window.location.origin);return o.pathname=t.pathname,o.search=t.search,o.hash=t.hash,o}export{t as a,n as g,o as l,c as s}