Rocky_Mountain_Vending/.pnpm-store/v10/files/c0/d008a01eab5b6c6038b629e7b243aba820db0bbf2cc6a13ea8b50c2f2729119ffb316af152e42ec8599e1c958ac931480ef80c8e4f269572f493ba2f94cc0c
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

30 lines
No EOL
832 B
Text

"use strict";
// A small collection of encodings for convenience of use in the browser.
Object.defineProperty(exports, "__esModule", { value: true });
const decoder = new TextDecoder();
const encoders = {
// certainly not the fastest, but hashes are pretty small
base64: data => btoa(String.fromCharCode(...data)),
hex: data => {
let out = '';
for (const byte of data) {
if (byte < 0x10) {
out += '0';
}
out += byte.toString(16);
}
return out;
},
utf8: data => decoder.decode(data),
};
/**
* @hidden
*/
exports.mustGetEncoder = (encoding) => {
const encoder = encoders[encoding];
if (!encoder) {
throw new Error(`Unknown encoding ${encoding}`);
}
return encoder;
};
//# sourceMappingURL=encoding.js.map