Rocky_Mountain_Vending/.pnpm-store/v10/files/66/202b532b001e286a9a0365857503aa8cf9c3f1d013d79105cb446f7e0ac6cd5607b1e9561696531d90f3e903bd7866a0b0cb8badaade05a896143b20ce1a86
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.6 KiB
Text

{"version":3,"sources":["../../src/server/serve-static.ts"],"sourcesContent":["import type { IncomingMessage, ServerResponse } from 'http'\nimport send from 'next/dist/compiled/send'\n\n// TODO: Remove this once \"send\" has updated the \"mime\", or next.js use custom version of \"mime\"\n// Although \"mime\" has already add avif in version 2.4.7, \"send\" is still using mime@1.6.0\nsend.mime.define({\n 'image/avif': ['avif'],\n 'image/x-icns': ['icns'],\n 'image/jxl': ['jxl'],\n 'image/heic': ['heic'],\n})\n\nexport function serveStatic(\n req: IncomingMessage,\n res: ServerResponse,\n path: string,\n opts?: Parameters<typeof send>[2]\n): Promise<void> {\n return new Promise((resolve, reject) => {\n send(req, path, opts)\n .on('directory', () => {\n // We don't allow directories to be read.\n const err: any = new Error('No directory access')\n err.code = 'ENOENT'\n reject(err)\n })\n .on('error', reject)\n .pipe(res)\n .on('finish', resolve)\n })\n}\n\nexport const getContentType: (extWithoutDot: string) => string | null =\n 'getType' in send.mime\n ? (extWithoutDot: string) => send.mime.getType(extWithoutDot)\n : (extWithoutDot: string) => (send.mime as any).lookup(extWithoutDot)\n\nexport const getExtension: (contentType: string) => string | null =\n 'getExtension' in send.mime\n ? (contentType: string) => send.mime.getExtension(contentType)\n : (contentType: string) => (send.mime as any).extension(contentType)\n"],"names":["getContentType","getExtension","serveStatic","send","mime","define","req","res","path","opts","Promise","resolve","reject","on","err","Error","code","pipe","extWithoutDot","getType","lookup","contentType","extension"],"mappings":";;;;;;;;;;;;;;;;IAgCaA,cAAc;eAAdA;;IAKAC,YAAY;eAAZA;;IAzBGC,WAAW;eAAXA;;;6DAXC;;;;;;AAEjB,gGAAgG;AAChG,0FAA0F;AAC1FC,aAAI,CAACC,IAAI,CAACC,MAAM,CAAC;IACf,cAAc;QAAC;KAAO;IACtB,gBAAgB;QAAC;KAAO;IACxB,aAAa;QAAC;KAAM;IACpB,cAAc;QAAC;KAAO;AACxB;AAEO,SAASH,YACdI,GAAoB,EACpBC,GAAmB,EACnBC,IAAY,EACZC,IAAiC;IAEjC,OAAO,IAAIC,QAAQ,CAACC,SAASC;QAC3BT,IAAAA,aAAI,EAACG,KAAKE,MAAMC,MACbI,EAAE,CAAC,aAAa;YACf,yCAAyC;YACzC,MAAMC,MAAW,qBAAgC,CAAhC,IAAIC,MAAM,wBAAV,qBAAA;uBAAA;4BAAA;8BAAA;YAA+B;YAChDD,IAAIE,IAAI,GAAG;YACXJ,OAAOE;QACT,GACCD,EAAE,CAAC,SAASD,QACZK,IAAI,CAACV,KACLM,EAAE,CAAC,UAAUF;IAClB;AACF;AAEO,MAAMX,iBACX,aAAaG,aAAI,CAACC,IAAI,GAClB,CAACc,gBAA0Bf,aAAI,CAACC,IAAI,CAACe,OAAO,CAACD,iBAC7C,CAACA,gBAA0B,AAACf,aAAI,CAACC,IAAI,CAASgB,MAAM,CAACF;AAEpD,MAAMjB,eACX,kBAAkBE,aAAI,CAACC,IAAI,GACvB,CAACiB,cAAwBlB,aAAI,CAACC,IAAI,CAACH,YAAY,CAACoB,eAChD,CAACA,cAAwB,AAAClB,aAAI,CAACC,IAAI,CAASkB,SAAS,CAACD","ignoreList":[0]}