UNPKG

iran-license-plate

Version:
95 lines (85 loc) 3.88 kB
"use strict"; var __defProp = Object.defineProperty; var __getOwnPropDesc = Object.getOwnPropertyDescriptor; var __getOwnPropNames = Object.getOwnPropertyNames; var __hasOwnProp = Object.prototype.hasOwnProperty; var __export = (target, all) => { for (var name in all) __defProp(target, name, { get: all[name], enumerable: true }); }; var __copyProps = (to, from, except, desc) => { if (from && typeof from === "object" || typeof from === "function") { for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); } return to; }; var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); // src/IranLicensePlate/components/FreeImage.tsx var FreeImage_exports = {}; __export(FreeImage_exports, { default: () => FreeImage_default }); module.exports = __toCommonJS(FreeImage_exports); // src/IranLicensePlate/assets/images/anzali.svg var anzali_default = "../anzali-PD35AKT5.svg"; // src/IranLicensePlate/assets/images/maku.svg var maku_default = "../maku-DP26DVJD.svg"; // src/IranLicensePlate/assets/images/aras.svg var aras_default = "../aras-GJURVGKA.svg"; // src/IranLicensePlate/assets/images/arvand.svg var arvand_default = "../arvand-XGGYO3IJ.svg"; // src/IranLicensePlate/assets/images/chfz.svg var chfz_default = "../chfz-ZYI6NQ62.svg"; // src/IranLicensePlate/assets/images/kish.svg var kish_default = "../kish-SJ7A4NW7.svg"; // src/IranLicensePlate/assets/images/qeshm.svg var qeshm_default = "../qeshm-IQLSDVYS.svg"; // src/IranLicensePlate/components/images.tsx var import_jsx_runtime = require("react/jsx-runtime"); var AnzaliSVG = (props) => { return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("img", { src: anzali_default, alt: "", ...props }); }; var MakuSVG = (props) => { return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("img", { src: maku_default, alt: "", ...props }); }; var ArasSVG = (props) => { return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("img", { src: aras_default, alt: "", ...props }); }; var ArvandSVG = (props) => { return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("img", { src: arvand_default, alt: "", ...props }); }; var CHfzSVG = (props) => { return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("img", { src: chfz_default, alt: "", ...props }); }; var KishSVG = (props) => { return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("img", { src: kish_default, alt: "", ...props }); }; var QeshmSVG = (props) => { return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("img", { src: qeshm_default, alt: "", ...props }); }; // src/IranLicensePlate/components/FreeImage.tsx var import_jsx_runtime2 = require("react/jsx-runtime"); var FreeImage = ({ region }) => { switch (region) { case "ANZALI": return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(AnzaliSVG, { width: "100%", height: "100%" }); case "ARAS": return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(ArasSVG, { width: "100%", height: "100%" }); case "ARVAND": return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(ArvandSVG, { width: "100%", height: "100%" }); case "CHFZ": return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(CHfzSVG, { width: "70%", height: "70%" }); case "KISH": return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(KishSVG, { width: "100%", height: "100%" }); case "MAKU": return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(MakuSVG, { width: "100%", height: "100%" }); case "QESHM": return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(QeshmSVG, { width: "100%", height: "100%" }); default: return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_jsx_runtime2.Fragment, {}); } }; var FreeImage_default = FreeImage; //# sourceMappingURL=FreeImage.js.map