Rocky_Mountain_Vending/.pnpm-store/v10/files/25/ed30d686f77752c7507368ce5692e661a2f77245e1b2a2c91f2d3c64228a32cb71830fe5fe26a8c74b6b1859795c7ec75c7fc5e4a9a26613979fec6e56eeed
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
24 KiB
Text

{"version":3,"sources":["../../../../../../src/build/webpack/loaders/lightningcss-loader/src/loader.ts"],"sourcesContent":["import type { LoaderContext } from 'webpack'\nimport { getTargets } from './utils'\nimport {\n getImportCode,\n type ApiParam,\n type ApiReplacement,\n type CssExport,\n type CssImport,\n getModuleCode,\n getExportCode,\n} from './codegen'\nimport {\n getFilter,\n getPreRequester,\n isDataUrl,\n isUrlRequestable,\n requestify,\n resolveRequests,\n} from '../../css-loader/src/utils'\nimport { stringifyRequest } from '../../../stringify-request'\nimport { ECacheKey } from './interface'\n\nconst encoder = new TextEncoder()\n\nfunction createUrlAndImportVisitor(\n visitorOptions: any,\n apis: ApiParam[],\n imports: CssImport[],\n replacements: ApiReplacement[],\n replacedUrls: Map<number, string>,\n replacedImportUrls: Map<number, string>\n) {\n const importUrlToNameMap = new Map<string, string>()\n\n let hasUrlImportHelper = false\n const urlToNameMap = new Map()\n const urlToReplacementMap = new Map()\n let urlIndex = -1\n let importUrlIndex = -1\n\n function handleUrl(u: { url: string; loc: unknown }): unknown {\n let url = u.url\n const needKeep = visitorOptions.urlFilter(url)\n\n if (!needKeep) {\n return u\n }\n\n if (isDataUrl(url)) {\n return u\n }\n\n urlIndex++\n\n replacedUrls.set(urlIndex, url)\n url = `__NEXT_LIGHTNINGCSS_LOADER_URL_REPLACE_${urlIndex}__`\n\n const [, query, hashOrQuery] = url.split(/(\\?)?#/, 3)\n\n const queryParts = url.split('!')\n let prefix: string | undefined\n\n if (queryParts.length > 1) {\n url = queryParts.pop()!\n prefix = queryParts.join('!')\n }\n\n let hash = query ? '?' : ''\n hash += hashOrQuery ? `#${hashOrQuery}` : ''\n\n if (!hasUrlImportHelper) {\n imports.push({\n type: 'get_url_import',\n importName: '___CSS_LOADER_GET_URL_IMPORT___',\n url: JSON.stringify(\n require.resolve('../../css-loader/src/runtime/getUrl.js')\n ),\n index: -1,\n })\n\n hasUrlImportHelper = true\n }\n\n const newUrl = prefix ? `${prefix}!${url}` : url\n let importName = urlToNameMap.get(newUrl)\n\n if (!importName) {\n importName = `___CSS_LOADER_URL_IMPORT_${urlToNameMap.size}___`\n urlToNameMap.set(newUrl, importName)\n\n imports.push({\n type: 'url',\n importName,\n url: JSON.stringify(newUrl),\n index: urlIndex,\n })\n }\n // This should be true for string-urls in image-set\n const needQuotes = false\n\n const replacementKey = JSON.stringify({ newUrl, hash, needQuotes })\n let replacementName = urlToReplacementMap.get(replacementKey)\n\n if (!replacementName) {\n replacementName = `___CSS_LOADER_URL_REPLACEMENT_${urlToReplacementMap.size}___`\n urlToReplacementMap.set(replacementKey, replacementName)\n\n replacements.push({\n replacementName,\n importName,\n hash,\n needQuotes,\n })\n }\n\n return {\n loc: u.loc,\n url: replacementName,\n }\n }\n\n return {\n Rule: {\n import(node: any) {\n if (visitorOptions.importFilter) {\n const needKeep = visitorOptions.importFilter(\n node.value.url,\n node.value.media\n )\n\n if (!needKeep) {\n return node\n }\n }\n let url = node.value.url\n\n importUrlIndex++\n\n replacedImportUrls.set(importUrlIndex, url)\n url = `__NEXT_LIGHTNINGCSS_LOADER_IMPORT_URL_REPLACE_${importUrlIndex}__`\n\n // TODO: Use identical logic as valueParser.stringify()\n const media = node.value.media.mediaQueries.length\n ? JSON.stringify(node.value.media.mediaQueries)\n : undefined\n const isRequestable = isUrlRequestable(url)\n let prefix: string | undefined\n if (isRequestable) {\n const queryParts = url.split('!')\n if (queryParts.length > 1) {\n url = queryParts.pop()!\n prefix = queryParts.join('!')\n }\n }\n if (!isRequestable) {\n apis.push({ url, media })\n // Bug of lightningcss\n return { type: 'ignored', value: '' }\n }\n const newUrl = prefix ? `${prefix}!${url}` : url\n let importName = importUrlToNameMap.get(newUrl)\n if (!importName) {\n importName = `___CSS_LOADER_AT_RULE_IMPORT_${importUrlToNameMap.size}___`\n importUrlToNameMap.set(newUrl, importName)\n\n const importUrl = visitorOptions.urlHandler(newUrl)\n imports.push({\n type: 'rule_import',\n importName,\n url: importUrl,\n })\n }\n apis.push({ importName, media })\n // Bug of lightningcss\n return { type: 'ignored', value: '' }\n },\n },\n Url(node: any) {\n return handleUrl(node)\n },\n }\n}\n\nfunction createIcssVisitor({\n apis,\n imports,\n replacements,\n replacedUrls,\n urlHandler,\n}: {\n apis: ApiParam[]\n imports: CssImport[]\n replacements: ApiReplacement[]\n replacedUrls: Map<number, string>\n urlHandler: (url: any) => string\n}) {\n let index = -1\n let replacementIndex = -1\n\n return {\n Declaration: {\n composes(node: any) {\n if (node.property === 'unparsed') {\n return\n }\n\n const specifier = node.value.from\n\n if (specifier?.type !== 'file') {\n return\n }\n\n let url = specifier.value\n if (!url) {\n return\n }\n\n index++\n\n replacedUrls.set(index, url)\n url = `__NEXT_LIGHTNINGCSS_LOADER_ICSS_URL_REPLACE_${index}__`\n\n const importName = `___CSS_LOADER_ICSS_IMPORT_${imports.length}___`\n imports.push({\n type: 'icss_import',\n importName,\n icss: true,\n url: urlHandler(url),\n index,\n })\n\n apis.push({ importName, dedupe: true, index })\n\n const newNames: string[] = []\n\n for (const localName of node.value.names) {\n replacementIndex++\n const replacementName = `___CSS_LOADER_ICSS_IMPORT_${index}_REPLACEMENT_${replacementIndex}___`\n\n replacements.push({\n replacementName,\n importName,\n localName,\n })\n newNames.push(replacementName)\n }\n\n return {\n property: 'composes',\n value: {\n loc: node.value.loc,\n names: newNames,\n from: specifier,\n },\n }\n },\n },\n }\n}\n\nconst LOADER_NAME = `lightningcss-loader`\nexport async function LightningCssLoader(\n this: LoaderContext<any>,\n source: string,\n prevMap?: Record<string, any>\n): Promise<void> {\n const done = this.async()\n const options = this.getOptions()\n const { implementation, targets: userTargets, ...opts } = options\n\n options.modules ??= {}\n\n if (implementation && typeof implementation.transformCss !== 'function') {\n done(\n new TypeError(\n `[${LOADER_NAME}]: options.implementation.transformCss must be an 'lightningcss' transform function. Received ${typeof implementation.transformCss}`\n )\n )\n return\n }\n\n if (options.postcss) {\n const { postcssWithPlugins } = await options.postcss()\n\n if (postcssWithPlugins?.plugins?.length > 0) {\n throw new Error(\n `[${LOADER_NAME}]: experimental.useLightningcss does not work with postcss plugins. Please remove 'useLightningcss: true' from your configuration.`\n )\n }\n }\n\n const exports: CssExport[] = []\n const imports: CssImport[] = []\n const icssImports: CssImport[] = []\n const apis: ApiParam[] = []\n const replacements: ApiReplacement[] = []\n\n if (options.modules?.exportOnlyLocals !== true) {\n imports.unshift({\n type: 'api_import',\n importName: '___CSS_LOADER_API_IMPORT___',\n url: stringifyRequest(\n this,\n require.resolve('../../css-loader/src/runtime/api')\n ),\n })\n }\n const { loadBindings } =\n require('../../../../../build/swc') as typeof import('../../../../../build/swc')\n\n const transform =\n implementation?.transformCss ??\n (await loadBindings()).css.lightning.transform\n\n const replacedUrls = new Map<number, string>()\n const icssReplacedUrls = new Map<number, string>()\n const replacedImportUrls = new Map<number, string>()\n\n const urlImportVisitor = createUrlAndImportVisitor(\n {\n urlHandler: (url: any) =>\n stringifyRequest(\n this,\n getPreRequester(this)(options.importLoaders ?? 0) + url\n ),\n urlFilter: getFilter(options.url, this.resourcePath),\n importFilter: getFilter(options.import, this.resourcePath),\n\n context: this.context,\n },\n apis,\n imports,\n replacements,\n replacedUrls,\n replacedImportUrls\n )\n\n const icssVisitor = createIcssVisitor({\n apis,\n imports: icssImports,\n replacements,\n replacedUrls: icssReplacedUrls,\n urlHandler: (url: string) =>\n stringifyRequest(\n this,\n getPreRequester(this)(options.importLoaders) + url\n ),\n })\n\n // This works by returned visitors are not conflicting.\n // naive workaround for composeVisitors, as we do not directly depends on lightningcss's npm pkg\n // but next-swc provides bindings\n const visitor = {\n ...urlImportVisitor,\n ...icssVisitor,\n }\n\n try {\n const {\n code,\n map,\n exports: moduleExports,\n } = transform({\n ...opts,\n visitor,\n cssModules: options.modules\n ? {\n pattern: process.env.__NEXT_TEST_MODE\n ? '[name]__[local]'\n : '[name]__[hash]__[local]',\n }\n : undefined,\n filename: this.resourcePath,\n code: encoder.encode(source),\n sourceMap: this.sourceMap,\n targets: getTargets({ targets: userTargets, key: ECacheKey.loader }),\n inputSourceMap:\n this.sourceMap && prevMap ? JSON.stringify(prevMap) : undefined,\n include: 1, // Features.Nesting\n })\n let cssCodeAsString = code.toString()\n\n if (moduleExports) {\n for (const name in moduleExports) {\n if (Object.prototype.hasOwnProperty.call(moduleExports, name)) {\n const v = moduleExports[name]\n let value = v.name\n for (const compose of v.composes) {\n value += ` ${compose.name}`\n }\n\n exports.push({\n name,\n value,\n })\n }\n }\n }\n\n if (replacedUrls.size !== 0) {\n const urlResolver = this.getResolve({\n conditionNames: ['asset'],\n mainFields: ['asset'],\n mainFiles: [],\n extensions: [],\n })\n\n for (const [index, url] of replacedUrls.entries()) {\n const [pathname, ,] = url.split(/(\\?)?#/, 3)\n\n const request = requestify(pathname, this.rootContext)\n const resolvedUrl = await resolveRequests(urlResolver, this.context, [\n ...new Set([request, url]),\n ])\n\n for (const importItem of imports) {\n importItem.url = importItem.url.replace(\n `__NEXT_LIGHTNINGCSS_LOADER_URL_REPLACE_${index}__`,\n resolvedUrl ?? url\n )\n }\n }\n }\n\n if (replacedImportUrls.size !== 0) {\n const importResolver = this.getResolve({\n conditionNames: ['style'],\n extensions: ['.css'],\n mainFields: ['css', 'style', 'main', '...'],\n mainFiles: ['index', '...'],\n restrictions: [/\\.css$/i],\n })\n\n for (const [index, url] of replacedImportUrls.entries()) {\n const [pathname, ,] = url.split(/(\\?)?#/, 3)\n\n const request = requestify(pathname, this.rootContext)\n const resolvedUrl = await resolveRequests(\n importResolver,\n this.context,\n [...new Set([request, url])]\n )\n\n for (const importItem of imports) {\n importItem.url = importItem.url.replace(\n `__NEXT_LIGHTNINGCSS_LOADER_IMPORT_URL_REPLACE_${index}__`,\n resolvedUrl ?? url\n )\n }\n }\n }\n if (icssReplacedUrls.size !== 0) {\n const icssResolver = this.getResolve({\n conditionNames: ['style'],\n extensions: [],\n mainFields: ['css', 'style', 'main', '...'],\n mainFiles: ['index', '...'],\n })\n\n for (const [index, url] of icssReplacedUrls.entries()) {\n const [pathname, ,] = url.split(/(\\?)?#/, 3)\n\n const request = requestify(pathname, this.rootContext)\n const resolvedUrl = await resolveRequests(icssResolver, this.context, [\n ...new Set([url, request]),\n ])\n\n for (const importItem of icssImports) {\n importItem.url = importItem.url.replace(\n `__NEXT_LIGHTNINGCSS_LOADER_ICSS_URL_REPLACE_${index}__`,\n resolvedUrl ?? url\n )\n }\n }\n }\n\n imports.push(...icssImports)\n\n const importCode = getImportCode(imports, options)\n const moduleCode = getModuleCode(\n { css: cssCodeAsString, map },\n apis,\n replacements,\n options,\n this\n )\n const exportCode = getExportCode(exports, replacements, options)\n\n const esCode = `${importCode}${moduleCode}${exportCode}`\n\n done(null, esCode, map && JSON.parse(map.toString()))\n } catch (error: unknown) {\n console.error('lightningcss-loader error', error)\n done(error as Error)\n }\n}\n\nexport const raw = true\n"],"names":["getTargets","getImportCode","getModuleCode","getExportCode","getFilter","getPreRequester","isDataUrl","isUrlRequestable","requestify","resolveRequests","stringifyRequest","ECacheKey","encoder","TextEncoder","createUrlAndImportVisitor","visitorOptions","apis","imports","replacements","replacedUrls","replacedImportUrls","importUrlToNameMap","Map","hasUrlImportHelper","urlToNameMap","urlToReplacementMap","urlIndex","importUrlIndex","handleUrl","u","url","needKeep","urlFilter","set","query","hashOrQuery","split","queryParts","prefix","length","pop","join","hash","push","type","importName","JSON","stringify","require","resolve","index","newUrl","get","size","needQuotes","replacementKey","replacementName","loc","Rule","import","node","importFilter","value","media","mediaQueries","undefined","isRequestable","importUrl","urlHandler","Url","createIcssVisitor","replacementIndex","Declaration","composes","property","specifier","from","icss","dedupe","newNames","localName","names","LOADER_NAME","LightningCssLoader","source","prevMap","options","done","async","getOptions","implementation","targets","userTargets","opts","modules","transformCss","TypeError","postcss","postcssWithPlugins","plugins","Error","exports","icssImports","exportOnlyLocals","unshift","loadBindings","transform","css","lightning","icssReplacedUrls","urlImportVisitor","importLoaders","resourcePath","context","icssVisitor","visitor","code","map","moduleExports","cssModules","pattern","process","env","__NEXT_TEST_MODE","filename","encode","sourceMap","key","loader","inputSourceMap","include","cssCodeAsString","toString","name","Object","prototype","hasOwnProperty","call","v","compose","urlResolver","getResolve","conditionNames","mainFields","mainFiles","extensions","entries","pathname","request","rootContext","resolvedUrl","Set","importItem","replace","importResolver","restrictions","icssResolver","importCode","moduleCode","exportCode","esCode","parse","error","console","raw"],"mappings":"AACA,SAASA,UAAU,QAAQ,UAAS;AACpC,SACEC,aAAa,EAKbC,aAAa,EACbC,aAAa,QACR,YAAW;AAClB,SACEC,SAAS,EACTC,eAAe,EACfC,SAAS,EACTC,gBAAgB,EAChBC,UAAU,EACVC,eAAe,QACV,6BAA4B;AACnC,SAASC,gBAAgB,QAAQ,6BAA4B;AAC7D,SAASC,SAAS,QAAQ,cAAa;AAEvC,MAAMC,UAAU,IAAIC;AAEpB,SAASC,0BACPC,cAAmB,EACnBC,IAAgB,EAChBC,OAAoB,EACpBC,YAA8B,EAC9BC,YAAiC,EACjCC,kBAAuC;IAEvC,MAAMC,qBAAqB,IAAIC;IAE/B,IAAIC,qBAAqB;IACzB,MAAMC,eAAe,IAAIF;IACzB,MAAMG,sBAAsB,IAAIH;IAChC,IAAII,WAAW,CAAC;IAChB,IAAIC,iBAAiB,CAAC;IAEtB,SAASC,UAAUC,CAAgC;QACjD,IAAIC,MAAMD,EAAEC,GAAG;QACf,MAAMC,WAAWhB,eAAeiB,SAAS,CAACF;QAE1C,IAAI,CAACC,UAAU;YACb,OAAOF;QACT;QAE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