"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const f=require("@vueuse/core"),l=require("lodash-unified"),s=require("vue"),d=require("./is.js");function a(e){return e?.parentNode??document.body}function y(e){const t={};return Object.keys(e).map(n=>{t[n]=s.unref(e[n])}),t}function p(e,t=[],n){const o=Object.assign({},e),r=Object.keys(o);for(let u=0;u<r.length;u+=1){const i=r[u];(t.includes(i)||n?.(i,o[i]))&&delete o[i]}return o}function g(e){return/^[A-Z][A-Za-z]*$/.test(e)}function c(e){if(Array.isArray(e))return e.map(t=>c(t));if(typeof e=="object"&&e!==null){const t={};for(const n in e)t[n]=c(e[n]);return s.markRaw(t)}return e}function w(e){const t={...e};for(const n of Object.keys(t))l.isUndefined(t[n])&&delete t[n];return t}function m(e,...t){return typeof e=="function"?e(...t):e}function h(){const e="history";return typeof window>"u"?e:window.location.href.includes("#/")?"hash":e}function b(){if(!f.isClient)return 15;const e=document.createElement("div");e.style.width="100px",e.style.height="100px",e.style.overflow="scroll",e.style.position="absolute",e.style.top="-9999px",document.body.appendChild(e);const t=e.offsetHeight-e.clientHeight;return document.body.removeChild(e),t}function v(){return(window.top!==window?window.top:window)??window}const P="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";function R(e=16,t=P){let n="",o=e;const r=t.length;for(;o--;)n+=t[Math.random()*r|0];return n}function x(e){return e===void 0||typeof e=="number"?e:Number(e.replace(/px/g,""))}function C(e,...t){e&&(Array.isArray(e)&&e.forEach(n=>n(...t)),e(...t))}exports.isDef=d.isDef;exports.convertReactiveToRaw=c;exports.getDynamicProps=y;exports.getNumberPx=x;exports.getPopupContainer=a;exports.getRouteType=h;exports.getScrollbarSize=b;exports.getTopWindow=v;exports.isPascalCase=g;exports.omitUndefined=w;exports.omitWhen=p;exports.randomStr=R;exports.runEventHandler=C;exports.runFunction=m;
