Rocky_Mountain_Vending/.pnpm-store/v10/files/2b/ac2eb2d4381aedc6f2df853d5b41fc0d5beb5df1890f1b8715091797ff8c143c25b86ac276b84df3242e7ca85b4341004624a44d484207d4d840262f41e875
DMleadgen 46d973904b
Initial commit: Rocky Mountain Vending website
Next.js website for Rocky Mountain Vending company featuring:
- Product catalog with Stripe integration
- Service areas and parts pages
- Admin dashboard with Clerk authentication
- SEO optimized pages with JSON-LD structured data

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 16:22:15 -07:00

78 lines
No EOL
2.4 KiB
Text

"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
0 && (module.exports = {
connectReactDebugChannel: null,
deleteReactDebugChannel: null,
setReactDebugChannel: null
});
function _export(target, all) {
for(var name in all)Object.defineProperty(target, name, {
enumerable: true,
get: all[name]
});
}
_export(exports, {
connectReactDebugChannel: function() {
return connectReactDebugChannel;
},
deleteReactDebugChannel: function() {
return deleteReactDebugChannel;
},
setReactDebugChannel: function() {
return setReactDebugChannel;
}
});
const _nodewebstreamshelper = require("../stream-utils/node-web-streams-helper");
const _hotreloadertypes = require("./hot-reloader-types");
const reactDebugChannelsByRequestId = new Map();
function connectReactDebugChannel(requestId, sendToClient) {
const debugChannel = reactDebugChannelsByRequestId.get(requestId);
if (!debugChannel) {
return;
}
const reader = debugChannel.readable.pipeThrough(// We're sending the chunks in batches to reduce overhead in the browser.
(0, _nodewebstreamshelper.createBufferedTransformStream)({
maxBufferByteLength: 128 * 1024
})).getReader();
const stop = ()=>{
sendToClient({
type: _hotreloadertypes.HMR_MESSAGE_SENT_TO_BROWSER.REACT_DEBUG_CHUNK,
requestId,
chunk: null
});
reactDebugChannelsByRequestId.delete(requestId);
};
const onError = (err)=>{
console.error(Object.defineProperty(new Error('React debug channel stream error', {
cause: err
}), "__NEXT_ERROR_CODE", {
value: "E810",
enumerable: false,
configurable: true
}));
stop();
};
const progress = (entry)=>{
if (entry.done) {
stop();
} else {
sendToClient({
type: _hotreloadertypes.HMR_MESSAGE_SENT_TO_BROWSER.REACT_DEBUG_CHUNK,
requestId,
chunk: entry.value
});
reader.read().then(progress, onError);
}
};
reader.read().then(progress, onError);
}
function setReactDebugChannel(requestId, debugChannel) {
reactDebugChannelsByRequestId.set(requestId, debugChannel);
}
function deleteReactDebugChannel(requestId) {
reactDebugChannelsByRequestId.delete(requestId);
}
//# sourceMappingURL=debug-channel.js.map