const require_runtime = require("../../_virtual/_rolldown/runtime.js");
const require_useEngineContext = require("../../hooks/useEngineContext.js");
const require_hooks = require("./hooks.js");
const require_context = require("./context.js");
const require_index = require("./components/Content/index.js");
const require_locales = require("./locales.js");
let react = require("react");
react = require_runtime.__toESM(react);
let _pisell_utils = require("@pisell/utils");
//#region src/components/scanOrder/index.tsx
function ScanOrder(props) {
	var _context$engine, _context$engine2;
	const context = require_useEngineContext.default();
	const entryContext = require_hooks.normalizeEntryContext(context === null || context === void 0 || (_context$engine = context.engine) === null || _context$engine === void 0 ? void 0 : _context$engine.props);
	_pisell_utils.locales.init(require_locales.default, (context === null || context === void 0 || (_context$engine2 = context.engine) === null || _context$engine2 === void 0 || (_context$engine2 = _context$engine2.props) === null || _context$engine2 === void 0 ? void 0 : _context$engine2.locale) || "en");
	return /* @__PURE__ */ react.default.createElement("div", { className: `pisell-scan-order-wrap ${(0, _pisell_utils.isMobile)() ? "pisell-scan-order-mobile-wrap" : ""}` }, /* @__PURE__ */ react.default.createElement(require_context.ScanOrderProvider, { entryContext }, /* @__PURE__ */ react.default.createElement(require_index.default, null)));
}
//#endregion
exports.default = ScanOrder;
