Rocky_Mountain_Vending/.pnpm-store/v10/files/7b/bb3f98bb7fe5e9824832f3f2acef075c9100987dfd437a1b279cb2a595fa6a144441f79868a9a1f6831009b9adc6b535accc82db95fb38e4fded66baa3268d
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

1 line
No EOL
2.8 KiB
Text

{"version":3,"sources":["../../../src/client/dev/debug-channel.ts"],"sourcesContent":["import { NEXT_REQUEST_ID_HEADER } from '../components/app-router-headers'\nimport { InvariantError } from '../../shared/lib/invariant-error'\n\nexport interface DebugChannelReadableWriterPair {\n readonly readable: ReadableStream<Uint8Array>\n readonly writer: WritableStreamDefaultWriter<Uint8Array>\n}\n\nconst pairs = new Map<string, DebugChannelReadableWriterPair>()\n\nexport function getOrCreateDebugChannelReadableWriterPair(\n requestId: string\n): DebugChannelReadableWriterPair {\n let pair = pairs.get(requestId)\n\n if (!pair) {\n const { readable, writable } = new TransformStream<Uint8Array, Uint8Array>()\n pair = { readable, writer: writable.getWriter() }\n pairs.set(requestId, pair)\n pair.writer.closed.finally(() => pairs.delete(requestId))\n }\n\n return pair\n}\n\nexport function createDebugChannel(\n requestHeaders: Record<string, string> | undefined\n): {\n writable?: WritableStream\n readable?: ReadableStream\n} {\n let requestId: string | undefined\n\n if (requestHeaders) {\n requestId = requestHeaders[NEXT_REQUEST_ID_HEADER] ?? undefined\n\n if (!requestId) {\n throw new InvariantError(\n `Expected a ${JSON.stringify(NEXT_REQUEST_ID_HEADER)} request header.`\n )\n }\n } else {\n requestId = self.__next_r\n\n if (!requestId) {\n throw new InvariantError(\n `Expected a request ID to be defined for the document via self.__next_r.`\n )\n }\n }\n\n const { readable } = getOrCreateDebugChannelReadableWriterPair(requestId)\n\n return { readable }\n}\n"],"names":["createDebugChannel","getOrCreateDebugChannelReadableWriterPair","pairs","Map","requestId","pair","get","readable","writable","TransformStream","writer","getWriter","set","closed","finally","delete","requestHeaders","NEXT_REQUEST_ID_HEADER","undefined","InvariantError","JSON","stringify","self","__next_r"],"mappings":";;;;;;;;;;;;;;;IAyBgBA,kBAAkB;eAAlBA;;IAfAC,yCAAyC;eAAzCA;;;kCAVuB;gCACR;AAO/B,MAAMC,QAAQ,IAAIC;AAEX,SAASF,0CACdG,SAAiB;IAEjB,IAAIC,OAAOH,MAAMI,GAAG,CAACF;IAErB,IAAI,CAACC,MAAM;QACT,MAAM,EAAEE,QAAQ,EAAEC,QAAQ,EAAE,GAAG,IAAIC;QACnCJ,OAAO;YAAEE;YAAUG,QAAQF,SAASG,SAAS;QAAG;QAChDT,MAAMU,GAAG,CAACR,WAAWC;QACrBA,KAAKK,MAAM,CAACG,MAAM,CAACC,OAAO,CAAC,IAAMZ,MAAMa,MAAM,CAACX;IAChD;IAEA,OAAOC;AACT;AAEO,SAASL,mBACdgB,cAAkD;IAKlD,IAAIZ;IAEJ,IAAIY,gBAAgB;QAClBZ,YAAYY,cAAc,CAACC,wCAAsB,CAAC,IAAIC;QAEtD,IAAI,CAACd,WAAW;YACd,MAAM,qBAEL,CAFK,IAAIe,8BAAc,CACtB,CAAC,WAAW,EAAEC,KAAKC,SAAS,CAACJ,wCAAsB,EAAE,gBAAgB,CAAC,GADlE,qBAAA;uBAAA;4BAAA;8BAAA;YAEN;QACF;IACF,OAAO;QACLb,YAAYkB,KAAKC,QAAQ;QAEzB,IAAI,CAACnB,WAAW;YACd,MAAM,qBAEL,CAFK,IAAIe,8BAAc,CACtB,CAAC,uEAAuE,CAAC,GADrE,qBAAA;uBAAA;4BAAA;8BAAA;YAEN;QACF;IACF;IAEA,MAAM,EAAEZ,QAAQ,EAAE,GAAGN,0CAA0CG;IAE/D,OAAO;QAAEG;IAAS;AACpB","ignoreList":[0]}