✨ MAJOR FEATURES: • Auto-zoom intelligence với smart bounds fitting • Enhanced 3D GPS markers với pulsing effects • Professional route display với 6-layer rendering • Status-based parking icons với availability indicators • Production-ready build optimizations 🗺️ AUTO-ZOOM FEATURES: • Smart bounds fitting cho GPS + selected parking • Adaptive padding (50px) cho visual balance • Max zoom control (level 16) để tránh quá gần • Dynamic centering khi không có selection 🎨 ENHANCED VISUALS: • 3D GPS marker với multi-layer pulse effects • Advanced parking icons với status colors • Selection highlighting với animation • Dimming system cho non-selected items 🛣️ ROUTE SYSTEM: • OpenRouteService API integration • Multi-layer route rendering (glow, shadow, main, animated) • Real-time distance & duration calculation • Visual route info trong popup 📱 PRODUCTION READY: • SSR safe với dynamic imports • Build errors resolved • Global deployment via Vercel • Optimized performance 🌍 DEPLOYMENT: • Vercel: https://whatever-ctk2auuxr-phong12hexdockworks-projects.vercel.app • Bundle size: 22.8 kB optimized • Global CDN distribution • HTTPS enabled 💾 VERSION CONTROL: • MapView-v2.0.tsx backup created • MAPVIEW_VERSIONS.md documentation • Full version history tracking
53 lines
2.0 KiB
TypeScript
53 lines
2.0 KiB
TypeScript
import { Hash, type CHash, type CHashXO, type HashXOF, type Input } from './utils.ts';
|
|
/** `keccakf1600` internal function, additionally allows to adjust round count. */
|
|
export declare function keccakP(s: Uint32Array, rounds?: number): void;
|
|
/** Keccak sponge function. */
|
|
export declare class Keccak extends Hash<Keccak> implements HashXOF<Keccak> {
|
|
protected state: Uint8Array;
|
|
protected pos: number;
|
|
protected posOut: number;
|
|
protected finished: boolean;
|
|
protected state32: Uint32Array;
|
|
protected destroyed: boolean;
|
|
blockLen: number;
|
|
suffix: number;
|
|
outputLen: number;
|
|
protected enableXOF: boolean;
|
|
protected rounds: number;
|
|
constructor(blockLen: number, suffix: number, outputLen: number, enableXOF?: boolean, rounds?: number);
|
|
clone(): Keccak;
|
|
protected keccak(): void;
|
|
update(data: Input): this;
|
|
protected finish(): void;
|
|
protected writeInto(out: Uint8Array): Uint8Array;
|
|
xofInto(out: Uint8Array): Uint8Array;
|
|
xof(bytes: number): Uint8Array;
|
|
digestInto(out: Uint8Array): Uint8Array;
|
|
digest(): Uint8Array;
|
|
destroy(): void;
|
|
_cloneInto(to?: Keccak): Keccak;
|
|
}
|
|
/** SHA3-224 hash function. */
|
|
export declare const sha3_224: CHash;
|
|
/** SHA3-256 hash function. Different from keccak-256. */
|
|
export declare const sha3_256: CHash;
|
|
/** SHA3-384 hash function. */
|
|
export declare const sha3_384: CHash;
|
|
/** SHA3-512 hash function. */
|
|
export declare const sha3_512: CHash;
|
|
/** keccak-224 hash function. */
|
|
export declare const keccak_224: CHash;
|
|
/** keccak-256 hash function. Different from SHA3-256. */
|
|
export declare const keccak_256: CHash;
|
|
/** keccak-384 hash function. */
|
|
export declare const keccak_384: CHash;
|
|
/** keccak-512 hash function. */
|
|
export declare const keccak_512: CHash;
|
|
export type ShakeOpts = {
|
|
dkLen?: number;
|
|
};
|
|
/** SHAKE128 XOF with 128-bit security. */
|
|
export declare const shake128: CHashXO;
|
|
/** SHAKE256 XOF with 256-bit security. */
|
|
export declare const shake256: CHashXO;
|
|
//# sourceMappingURL=sha3.d.ts.map
|