"use strict";
var __webpack_require__ = {};
(()=>{
    __webpack_require__.n = (module)=>{
        var getter = module && module.__esModule ? ()=>module['default'] : ()=>module;
        __webpack_require__.d(getter, {
            a: getter
        });
        return getter;
    };
})();
(()=>{
    __webpack_require__.d = (exports1, definition)=>{
        for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
            enumerable: true,
            get: definition[key]
        });
    };
})();
(()=>{
    __webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
})();
(()=>{
    __webpack_require__.r = (exports1)=>{
        if ("u" > typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
            value: 'Module'
        });
        Object.defineProperty(exports1, '__esModule', {
            value: true
        });
    };
})();
var __webpack_exports__ = {};
__webpack_require__.r(__webpack_exports__);
__webpack_require__.d(__webpack_exports__, {
    renderSubmitButton: ()=>renderSubmitButton
});
require("../atomic-icon/atomic-icon.cjs");
const external_lit_namespaceObject = require("lit");
const search_slim_cjs_namespaceObject = require("../../../images/search-slim.cjs");
var search_slim_cjs_default = /*#__PURE__*/ __webpack_require__.n(search_slim_cjs_namespaceObject);
const external_button_cjs_namespaceObject = require("../button.cjs");
const renderSubmitButton = ({ props })=>{
    const { i18n, disabled, onClick } = props;
    return (0, external_lit_namespaceObject.html)`<div
    part="submit-button-wrapper"
    class="mr-2 flex items-center justify-center py-2"
  >
    ${(0, external_button_cjs_namespaceObject.renderButton)({
        props: {
            style: 'text-primary',
            class: 'flex h-8 w-8 shrink-0 items-center justify-center rounded-full',
            part: 'submit-button',
            ariaLabel: i18n.t('search'),
            onClick: ()=>{
                onClick?.();
            },
            disabled
        }
    })((0, external_lit_namespaceObject.html)`<atomic-icon
        part="submit-icon"
        icon=${search_slim_cjs_default()}
        class="h-4 w-4"
      ></atomic-icon>`)}
  </div>`;
};
exports.renderSubmitButton = __webpack_exports__.renderSubmitButton;
for(var __rspack_i in __webpack_exports__)if (-1 === [
    "renderSubmitButton"
].indexOf(__rspack_i)) exports[__rspack_i] = __webpack_exports__[__rspack_i];
Object.defineProperty(exports, '__esModule', {
    value: true
});
