"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const Vue = require("vue");
const POPUP_TOGGLE_KEY = /* @__PURE__ */ Symbol();
function onPopupReopen(callback) {
  const popupToggleStatus = Vue.inject(POPUP_TOGGLE_KEY, null);
  if (popupToggleStatus) {
    Vue.watch(popupToggleStatus, (show) => {
      if (show) {
        callback();
      }
    });
  }
}
exports.POPUP_TOGGLE_KEY = POPUP_TOGGLE_KEY;
exports.onPopupReopen = onPopupReopen;
