"use strict";
var __webpack_require__ = {};
(()=>{
    __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__, {
    buildSearchLayout: ()=>buildSearchLayout,
    errorSelector: ()=>errorSelector,
    firstSearchExecutedSelector: ()=>firstSearchExecutedSelector,
    makeDesktopQuery: ()=>makeDesktopQuery,
    noResultsSelector: ()=>noResultsSelector
});
const layout_cjs_namespaceObject = require("../../common/atomic-layout-section/layout.cjs");
const layoutWebComponentTagName = 'atomic-search-layout';
const containerWebComponentTagName = 'atomic-search-interface';
const noResultsSelector = `${containerWebComponentTagName}-no-results`;
const errorSelector = `${containerWebComponentTagName}-error`;
const firstSearchExecutedSelector = `${containerWebComponentTagName}-search-executed`;
function makeDesktopQuery(mobileBreakpoint) {
    return `only screen and (min-width: ${mobileBreakpoint})`;
}
function buildSearchLayout(element, mobileBreakpoint) {
    return (0, layout_cjs_namespaceObject.buildCommonLayout)(element, mobileBreakpoint, layoutWebComponentTagName, containerWebComponentTagName, noResultsSelector, errorSelector, 'atomic-refine-toggle', 'atomic-sort-dropdown');
}
exports.buildSearchLayout = __webpack_exports__.buildSearchLayout;
exports.errorSelector = __webpack_exports__.errorSelector;
exports.firstSearchExecutedSelector = __webpack_exports__.firstSearchExecutedSelector;
exports.makeDesktopQuery = __webpack_exports__.makeDesktopQuery;
exports.noResultsSelector = __webpack_exports__.noResultsSelector;
for(var __rspack_i in __webpack_exports__)if (-1 === [
    "buildSearchLayout",
    "errorSelector",
    "firstSearchExecutedSelector",
    "makeDesktopQuery",
    "noResultsSelector"
].indexOf(__rspack_i)) exports[__rspack_i] = __webpack_exports__[__rspack_i];
Object.defineProperty(exports, '__esModule', {
    value: true
});
