"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const shared_esmBundler = require("../../../../../../@vue/shared/dist/shared.esm-bundler.js");
function getCollapsible(collapsible) {
  if (collapsible && shared_esmBundler.isObject(collapsible)) return collapsible;
  return {
    start: !!collapsible,
    end: !!collapsible
  };
}
function isCollapsible(panel, size, nextPanel, nextSize) {
  if ((panel == null ? void 0 : panel.collapsible.end) && size > 0) return true;
  if ((nextPanel == null ? void 0 : nextPanel.collapsible.start) && nextSize === 0 && size > 0) return true;
  return false;
}
exports.getCollapsible = getCollapsible;
exports.isCollapsible = isCollapsible;
