"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.webHistory = void 0;
function webHistory(window, opt) {
    const location = {
        pushState(data, title, url) {
            window.history.pushState(data, title, url);
        },
        replaceState(data, title, url) {
            window.history.replaceState(data, title, url);
        },
    };
    return location;
}
exports.webHistory = webHistory;
//# sourceMappingURL=history.js.map