"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
Object.defineProperty(exports, "buildExportDialogContent", {
    enumerable: true,
    get: function() {
        return buildExportDialogContent;
    }
});
const _templateLiteralTag = require("../../helpers/templateLiteralTag");
const _constants = require("../../helpers/constants");
function buildExportDialogContent(title) {
    // Spinner SVG reused from the Loading plugin — same arc shape, same CSS class so the
    // `ht-loading__icon-svg` spin animation (defined in handsontable.css) applies automatically.
    const { fragment } = (0, _templateLiteralTag.html)`
    <div class="${_constants.LOADING_CLASS_NAME}__content">
      <i class="${_constants.LOADING_CLASS_NAME}__icon">
        <svg class="${_constants.LOADING_CLASS_NAME}__icon-svg"
          xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 16 16">
          <path stroke="currentColor" stroke-width="2" d="M15 8a7 7 0 1 1-3.5-6.062"></path>
        </svg>
      </i>
      <div class="${_constants.LOADING_CLASS_NAME}__text">
        <h2 class="${_constants.LOADING_CLASS_NAME}__title">${title}</h2>
      </div>
    </div>
  `;
    return fragment;
}
