function getAttachPoint () {
  if (attachPoint !== null) return attachPoint
  return (
    attachPoint = typeof globalThis !== 'undefined'
      ? globalThis
      : (
          typeof self !== 'undefined'
            ? self
            : (
                typeof window !== 'undefined'
                  ? window
                  : (
                      typeof global !== 'undefined'
                        ? global
                        : {}
                    )
              )
        )
  )
}
Quasar runtime flags are needed only if NOT using
Quasar CLI or @quasar/vite-plugin or vue-cli-plugin-quasar