"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.extractRefHTMLElement = extractRefHTMLElement;
var _vue = require("vue");
function extractRefHTMLElement(ref) {
  const value = (0, _vue.unref)(ref);
  if (value) {
    if (value instanceof HTMLElement) {
      return value;
    }
    return value.$el;
  }
  return null;
}