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B,GAAM,MAC7BC,mBAAoB,IAAKC,kBAAoB,oBAAoBC,SAAU,qBAAsB,EAC9HH,EAAqB,MAAQA,EAAqB,KAGpD,CAAED,gBADUT,EAASC,KAAKG,KAAK,CAACM,EAAsB,GAAM,MAC7BC,mBAAoB,IAAKC,kBAAoB,oBAAoBC,SAAU,qBAAsB,EAC9HH,GAAsB,MAAQA,EAAqB,GAGrD,CAAED,gBADUT,EAASC,KAAKG,KAAK,CAACM,EAAwB,GAAM,MAC/BC,mBAAoB,IAAKC,kBAAoB,oBAAoBC,SAAU,qBAAsB,EAC9HH,GAAsB,IAAMA,EAAqB,GAEnD,CAAED,gBAAiB,IAAKE,mBAAoB,IAAKC,kBAAoB,oBAAoBC,SAAU,qBAAsB,EACvHH,GAAsB,IAAMA,EAAqB,MAGnD,CAAED,gBADUT,EAASC,KAAKG,KAAK,CAACM,EAAyB,IAAO,MACjCC,mBAAoB,IAAKC,kBAAoB,qBAAqBC,SAAU,sBAAuB,EAGlI,CAAEJ,gBAAiB,IAAKE,mBAAoB,IAAKC,kBAAoB,qBAAqBC,SAAU,sBAAuB,CAEtI","sources":["webpack://_N_E/ignored|/codebuild/output/src2787440124/src/w3d-website/node_modules/crypto-js|crypto","webpack://_N_E/./src/components/helperFunctions/index.tsx"],"sourcesContent":["/* (ignored) */","import CryptoJS from \"crypto-js\";\nimport React from \"react\";\nimport Image from \"next/image\";\nimport Link from \"next/link\";\n\nexport function classNames(...classes: string[]) {\n return classes.filter(Boolean).join(\" \");\n}\n\nexport function AesDecrypt(data: any) {\n const key = \"B?E(H+MbQeThWmZq4t7w!z$C&F)J@NcR\";\n const iv = \"AEF$#DQER@#R@#f3\";\n var reb64 = CryptoJS.enc.Hex.parse(data);\n var bytes = reb64?.toString(CryptoJS.enc.Base64);\n let cipher = CryptoJS.AES.decrypt(bytes, CryptoJS.enc.Utf8.parse(key), {\n iv: CryptoJS.enc.Utf8.parse(iv),\n mode: CryptoJS.mode.CBC,\n padding: CryptoJS.pad.Pkcs7,\n });\n\n return cipher.toString(CryptoJS.enc.Utf8);\n}\n\nexport function AesEncrypt(data: any) {\n const key = \"B?E(H+MbQeThWmZq4t7w!z$C&F)J@NcR\";\n const iv = \"AEF$#DQER@#R@#f3\";\n let cipher = CryptoJS.AES.encrypt(\n JSON.stringify(data),\n CryptoJS.enc.Utf8.parse(key),\n {\n iv: CryptoJS.enc.Utf8.parse(iv), // parse the IV\n padding: CryptoJS.pad.Pkcs7,\n mode: CryptoJS.mode.CBC,\n }\n );\n\n // e.g. B6AeMHPHkEe7/KHsZ6TW/Q==\n let b64 = cipher.toString();\n let e64 = CryptoJS.enc.Base64.parse(b64);\n let eHex = e64.toString(CryptoJS.enc.Hex);\n return eHex;\n}\n\nexport const funcForDecrypt = async (dataToBeDecrypt: any) => {\n const response = AesDecrypt(dataToBeDecrypt);\n //\n return response;\n};\n\nexport const funForAesEncrypt = async (dataToBeEncrypt: any) => {\n const response = await AesEncrypt(dataToBeEncrypt);\n //\n return response;\n};\n\nexport function ParseFloat(str: any, val: any) {\n str = str.toString();\n if (Number.isInteger(Number(str))) {\n return Number(str);\n } else {\n str = str.slice(0, str.indexOf(\".\") + val + 1);\n }\n return Number(str);\n}\n\nexport function formatString(inputString: string): string {\n return inputString\n .toLowerCase()\n .split(\" \")\n .map((word: string) => word.charAt(0).toUpperCase() + word.slice(1))\n .join(\" \");\n}\n\nexport const Card = ({ title, description, imageUrl, linkTo }: any) => {\n const formattedDescription = description.replace(/LIMITED/g, \"LIMITED
\");\n\n return (\n \n
\n \n
{title}
\n \n
\n \n );\n};\n\ntype InputType = \"text\" | \"number\" | \"email\" | \"password\" | \"date\" | \"textarea\" | \"tel\";\ninterface InputProps {\n type?: InputType;\n autoComplete?: string;\n required?: boolean;\n label?: string;\n formik: any;\n name: string;\n onblur?: any;\n placeholder?: any;\n extra?: object;\n}\n\nconst FormInput = ({\n type,\n autoComplete,\n required,\n label,\n name,\n formik,\n placeholder,\n onblur,\n extra,\n}: InputProps) => {\n return (\n
\n {label && (\n \n )}\n
\n \n {formik.touched[name] && formik.errors[name] ? (\n {formik.errors[name]}\n ) : null}\n
\n
\n );\n};\nconst styles = {\n p0: \"mb-2\",\n p1: \"block text-sm mb-2 text-white \",\n p2: \"block w-full placeholder:text-gray-500 text-white rounded-3xl bg-theme px-4 py-2 focus:outline-none focus:bg-theme border-1 focus:ring-0 focus:border-b\",\n // p2: \"appearance-none placeholder:text-gray-500 block w-full sm:w-2/3 px-3 py-2 border-0 rounded-md theme-shadow placeholder-gray-400 focus:border-yellow-600 focus:ring-1 focus:ring-yellow-600 sm:text-sm\",\n p3: \"text-red-500 text-sm\",\n p4: \"mt-1\",\n};\nexport default FormInput;\n\nconst displayValue = (lable: any) => {\n switch (lable) {\n case 'Coin':\n return \"Coin Type\"\n case 'Coin Weight':\n return \"Total Weight\"\n case 'Coin Quantity':\n return \"Coin Quantity\"\n case \"Making Charges (Incl. 18% GST)\":\n return \"Making Charges (Incl. 18% GST)\"\n default:\n return lable;\n }\n\n}\n\nexport const renderPriceBreakdownItem = ({ label, value, index }: any) => (\n <>\n
\n {displayValue(label)}\n {value}\n
\n \n \n);\n\nexport const renderPriceBreakdownItemCart = ({\n label,\n value,\n index,\n imageUrl,\n}: any) => (\n
\n
\n
\n {imageUrl && (\n
\n {label}\n
\n )}\n {label}\n
\n
\n \n {value}\n \n
\n
\n \n
\n);\n\n\nexport const getGoldProgressData = (vaultBalance: number) => {\n const capAt100 = (value: number) => Math.min(value, 100); // Helper function to cap percentage at 100\n\n if (vaultBalance <= 1.5) {\n // 0 to 1.5 grams, closest to 1 gram\n const percentage = capAt100(Math.round((vaultBalance / 1) * 100));\n return { completedGold: percentage, maxCompletedGold: 100, customLabelGold: `1 gm Gold Coin`, id: '1-Gram-Gold-Coin' };\n } else if (vaultBalance > 1.5 && vaultBalance < 2.5) {\n // Greater than 1.5 to less than 2.5 grams, closest to 2 grams\n const percentage = capAt100(Math.round((vaultBalance / 2) * 100));\n return { completedGold: percentage, maxCompletedGold: 100, customLabelGold: `2 gm Gold Coin`, id: '2-Gram-Gold-Coin' };\n } else if (vaultBalance >= 2.5 && vaultBalance < 5) {\n // Greater than 2.5 to less than 5 grams, closest to 5 grams\n const percentage = capAt100(Math.round(((vaultBalance) / 3) * 100));\n return { completedGold: percentage, maxCompletedGold: 100, customLabelGold: `5 gm Gold Coin`, id: '5-Gram-Gold-Coin' };\n } else if (vaultBalance >= 5 && vaultBalance < 7.5) {\n // Greater than 5 to less than 7.5 grams, closest to 5 grams\n return { completedGold: 100, maxCompletedGold: 100, customLabelGold: `5 gm Gold Coin`, id: '10-Gram-Gold-Coin' };\n } else if (vaultBalance >= 7.5 && vaultBalance < 10) {\n // Greater than 7.5 to less than 10 grams, closest to 10 grams\n const percentage = capAt100(Math.round(((vaultBalance) / 10) * 100));\n return { completedGold: percentage, maxCompletedGold: 100, customLabelGold: `10 gm Gold Coin`, id: '10-Gram-Gold-Coin' };\n } else {\n // 10 grams or more\n return { completedGold: 100, maxCompletedGold: 100, customLabelGold: `10 gm Gold Coin`, id: '10-Gram-Gold-Coin' };\n }\n};\n\n\nexport const getSilverProgressData = (silverVaultBalance: number) => {\n const capAt100 = (value: number) => Math.min(value, 100); // Helper to cap percentage at 100\n\n if (silverVaultBalance <= 10.5) {\n // 0 to 10.5 grams, closest to 10 grams\n const percentage = capAt100(Math.round((silverVaultBalance / 10) * 100));\n return { completedSilver: percentage, maxCompletedSilver: 100, customLabelSilver: `10 gm Silver Coin`, SilverId: '10-Gram-Silver-Coin' };\n } else if (silverVaultBalance > 10.5 && silverVaultBalance < 20.5) {\n // Greater than 10.5 to less than 20.5 grams, closest to 20 grams\n const percentage = capAt100(Math.round((silverVaultBalance / 20) * 100));\n return { completedSilver: percentage, maxCompletedSilver: 100, customLabelSilver: `20 gm Silver Coin`, SilverId: '20-Gram-Silver-Coin' };\n } else if (silverVaultBalance >= 20.5 && silverVaultBalance < 50) {\n // Greater than 20.5 to less than 50 grams, closest to 50 grams\n const percentage = capAt100(Math.round(((silverVaultBalance) / 50) * 100));\n return { completedSilver: percentage, maxCompletedSilver: 100, customLabelSilver: `50 gm Silver Coin`, SilverId: '50-Gram-Silver-Coin' };\n } else if (silverVaultBalance >= 50 && silverVaultBalance < 75) {\n // Greater than 50 to less than 75 grams, closest to 50 grams\n return { completedSilver: 100, maxCompletedSilver: 100, customLabelSilver: `50 gm Silver Coin`, SilverId: '50-Gram-Silver-Coin' };\n } else if (silverVaultBalance >= 75 && silverVaultBalance < 100.5) {\n // Greater than 75 to less than 100.5 grams, closest to 100 grams\n const percentage = capAt100(Math.round(((silverVaultBalance ) / 100) * 100));\n return { completedSilver: percentage, maxCompletedSilver: 100, customLabelSilver: `100 gm Silver Coin`, SilverId: '100-Gram-Silver-Coin' };\n } else {\n // 100 grams or more\n return { completedSilver: 100, maxCompletedSilver: 100, customLabelSilver: `100 gm Silver Coin`, SilverId: '100-Gram-Silver-Coin' };\n }\n};\n\nexport const goldPriceTrends = [\n { date: \"2023-11-07T23:59:30.919Z\", price: 6090.2 },\n { date: \"2023-11-12T03:36:30.536Z\", price: 6117.17 },\n { date: \"2023-11-22T23:59:30.371Z\", price: 6196.86 },\n { date: \"2023-11-30T23:56:30.484Z\", price: 6303.44 },\n { date: \"2023-12-02T23:58:30.705Z\", price: 6428.2 },\n { date: \"2023-12-05T23:50:31.124Z\", price: 6324.59 },\n { date: \"2023-12-13T23:59:30.568Z\", price: 6259 },\n { date: \"2023-12-19T23:59:31.145Z\", price: 6340.81 },\n { date: \"2023-12-28T23:59:31.005Z\", price: 6410.53 },\n { date: \"2023-12-31T23:59:30.878Z\", price: 6408.9 },\n { date: \"2024-01-04T23:59:31.135Z\", price: 6372.23 },\n { date: \"2024-01-13T23:59:31.068Z\", price: 6309.53 },\n { date: \"2024-01-17T23:59:30.786Z\", price: 6293.04 },\n { date: \"2024-01-25T23:59:30.438Z\", price: 6285.47 },\n { date: \"2024-01-28T23:59:30.539Z\", price: 6327.23 },\n { date: \"2024-02-02T23:59:30.752Z\", price: 6361.8 },\n { date: \"2024-02-08T23:59:31.038Z\", price: 6332.99 },\n { date: \"2024-02-16T23:59:30.867Z\", price: 6269.8 },\n { date: \"2024-02-18T23:59:30.664Z\", price: 6300.27 },\n { date: \"2024-02-28T23:59:30.611Z\", price: 6321.4 },\n { date: \"2024-03-01T23:59:31.175Z\", price: 6450 },\n { date: \"2024-03-03T23:59:30.916Z\", price: 6597.17 },\n { date: \"2024-03-12T23:59:30.428Z\", price: 6661.24 },\n { date: \"2024-03-18T23:59:31.074Z\", price: 6667 },\n { date: \"2024-03-29T23:59:30.498Z\", price: 6772.91 },\n { date: \"2024-03-31T23:59:31.166Z\", price: 6863 },\n { date: \"2024-04-04T23:59:30.427Z\", price: 7058.8 },\n { date: \"2024-04-13T23:59:30.958Z\", price: 7226.76 },\n { date: \"2024-04-18T23:59:31.399Z\", price: 7345.74 },\n { date: \"2024-04-21T23:59:31.237Z\", price: 7237.01 },\n { date: \"2024-04-28T23:59:30.794Z\", price: 7208.33 },\n { date: \"2024-05-03T23:59:30.975Z\", price: 7160.18 },\n { date: \"2024-05-07T23:59:30.550Z\", price: 7252.41 },\n { date: \"2024-05-12T23:59:30.752Z\", price: 7382.07 },\n { date: \"2024-05-24T23:59:30.547Z\", price: 7365.36 },\n { date: \"2024-05-27T23:59:30.826Z\", price: 7284.87 },\n { date: \"2024-06-01T23:59:31.240Z\", price: 7275 },\n { date: \"2024-06-07T23:59:30.490Z\", price: 7295.87 },\n { date: \"2024-06-09T23:59:31.075Z\", price: 7250.13 },\n { date: \"2024-06-19T23:59:31.220Z\", price: 7271.09 },\n { date: \"2024-06-23T23:59:31.223Z\", price: 7242.37 },\n { date: \"2024-06-30T23:59:30.882Z\", price: 7248.5 },\n { date: \"2024-07-04T23:59:30.930Z\", price: 7323.35 },\n { date: \"2024-07-08T23:59:30.738Z\", price: 7381.33 },\n { date: \"2024-07-20T23:59:31.275Z\", price: 7452.71 },\n { date: \"2024-07-25T23:59:31.257Z\", price: 7047.14 },\n { date: \"2024-07-31T23:59:31.197Z\", price: 6970.6 },\n { date: \"2024-08-03T23:59:30.339Z\", price: 7075.03 },\n { date: \"2024-08-05T23:59:31.167Z\", price: 7038.26 },\n { date: \"2024-08-11T23:59:30.362Z\", price: 7152.5 },\n { date: \"2024-08-19T23:59:30.692Z\", price: 7251.99 },\n { date: \"2024-08-27T23:59:30.492Z\", price: 7278.69 },\n { date: \"2024-09-03T23:59:30.670Z\", price: 7247.26 },\n { date: \"2024-09-12T23:59:00.941Z\", price: 7329.66 },\n { date: \"2024-09-15T23:59:01.200Z\", price: 7442.33 },\n { date: \"2024-09-22T23:59:01.228Z\", price: 7597.03 },\n { date: \"2024-09-30T23:59:00.907Z\", price: 7656.35 },\n { date: \"2024-10-03T23:59:00.937Z\", price: 7716 },\n { date: \"2024-10-11T23:59:00.432Z\", price: 7665.71 },\n { date: \"2024-10-15T23:59:00.778Z\", price: 7776.66 },\n { date: \"2024-10-22T23:59:01.186Z\", price: 7915.87 },\n { date: \"2024-10-30T23:59:00.834Z\", price: 7981.22 },\n { date: \"2024-11-01T20:46:00.394Z\", price: 7967.5 }\n];\n\nexport const silverPriceTrends = [\n { date: \"2023-11-07T23:59:30.919Z\", price: 71.4 },\n { date: \"2023-11-12T03:36:30.536Z\", price: 73.8 },\n { date: \"2023-11-22T23:59:30.371Z\", price: 74.3 },\n { date: \"2023-11-30T23:56:30.484Z\", price: 75.6 },\n { date: \"2023-12-02T23:58:30.705Z\", price: 76.9 },\n { date: \"2023-12-05T23:50:31.124Z\", price: 78.1 },\n { date: \"2023-12-13T23:59:30.568Z\", price: 77.5 },\n { date: \"2023-12-19T23:59:31.145Z\", price: 79.3 },\n { date: \"2023-12-28T23:59:31.005Z\", price: 81.7 },\n { date: \"2023-12-31T23:59:30.878Z\", price: 80.5 },\n { date: \"2024-01-04T23:59:31.135Z\", price: 79.9 },\n { date: \"2024-01-13T23:59:31.068Z\", price: 78.6 },\n { date: \"2024-01-17T23:59:30.786Z\", price: 79.1 },\n { date: \"2024-01-25T23:59:30.438Z\", price: 80.8 },\n { date: \"2024-01-28T23:59:30.539Z\", price: 81.2 },\n { date: \"2024-02-02T23:59:30.752Z\", price: 83.4 },\n { date: \"2024-02-08T23:59:31.038Z\", price: 82.6 },\n { date: \"2024-02-16T23:59:30.867Z\", price: 84.9 },\n { date: \"2024-02-18T23:59:30.664Z\", price: 85.3 },\n { date: \"2024-02-28T23:59:30.611Z\", price: 86.2 },\n { date: \"2024-03-01T23:59:31.175Z\", price: 88.9 },\n { date: \"2024-03-03T23:59:30.916Z\", price: 89.6 },\n { date: \"2024-03-12T23:59:30.428Z\", price: 90.4 },\n { date: \"2024-03-18T23:59:31.074Z\", price: 91.8 },\n { date: \"2024-03-29T23:59:30.498Z\", price: 93.2 },\n { date: \"2024-03-31T23:59:31.166Z\", price: 95.7 },\n { date: \"2024-04-04T23:59:30.427Z\", price: 94.3 },\n { date: \"2024-04-13T23:59:30.958Z\", price: 96.4 },\n { date: \"2024-04-18T23:59:31.399Z\", price: 98.2 },\n { date: \"2024-04-21T23:59:31.237Z\", price: 97.1 },\n { date: \"2024-04-28T23:59:30.794Z\", price: 96.8 },\n { date: \"2024-05-03T23:59:30.975Z\", price: 95.4 },\n { date: \"2024-05-07T23:59:30.550Z\", price: 94.7 },\n { date: \"2024-05-12T23:59:30.752Z\", price: 97.5 },\n { date: \"2024-05-24T23:59:30.547Z\", price: 96.3 },\n { date: \"2024-05-27T23:59:30.826Z\", price: 98.1 },\n { date: \"2024-06-01T23:59:31.240Z\", price: 97.8 },\n { date: \"2024-06-07T23:59:30.490Z\", price: 96.5 },\n { date: \"2024-06-09T23:59:31.075Z\", price: 94.2 },\n { date: \"2024-06-19T23:59:31.220Z\", price: 93.7 },\n { date: \"2024-06-23T23:59:31.223Z\", price: 92.4 },\n { date: \"2024-06-30T23:59:30.882Z\", price: 91.9 },\n { date: \"2024-07-04T23:59:30.930Z\", price: 92.6 },\n { date: \"2024-07-08T23:59:30.738Z\", price: 93.3 },\n { date: \"2024-07-20T23:59:31.275Z\", price: 95.8 },\n { date: \"2024-07-25T23:59:31.257Z\", price: 97.4 },\n { date: \"2024-07-31T23:59:31.197Z\", price: 96.2 },\n { date: \"2024-08-03T23:59:30.339Z\", price: 95.5 },\n { date: \"2024-08-05T23:59:31.167Z\", price: 93.8 },\n { date: \"2024-08-11T23:59:30.362Z\", price: 92.1 },\n { date: \"2024-08-19T23:59:30.692Z\", price: 90.5 },\n { date: \"2024-08-27T23:59:30.492Z\", price: 89.7 },\n { date: \"2024-09-03T23:59:30.670Z\", price: 88.4 },\n { date: \"2024-09-12T23:59:00.941Z\", price: 86.9 },\n { date: \"2024-09-15T23:59:01.200Z\", price: 84.6 },\n { date: \"2024-09-22T23:59:01.228Z\", price: 82.3 },\n { date: \"2024-09-30T23:59:00.907Z\", price: 80.8 },\n { date: \"2024-10-03T23:59:00.937Z\", price: 81.6 },\n { date: \"2024-10-11T23:59:00.432Z\", price: 83.9 },\n { date: \"2024-10-15T23:59:00.778Z\", price: 84.3 },\n { date: \"2024-10-22T23:59:01.186Z\", price: 85.1 },\n { date: \"2024-10-30T23:59:00.834Z\", price: 87.6 },\n { date: \"2024-11-01T20:46:00.394Z\", price: 88.4 }\n];\n\n\nexport const rawData = [\n {\n \"updated_on\": \"28 Oct, 2024, 11:41 \",\n \"status\": \"Shipment delivered\",\n \"reason_code\": \"999 - Delivered\",\n \"reason_code_number\": \"999\",\n \"scan_status\": \"HOLD\",\n \"location\": \"MSDO\",\n \"location_city\": \"SHAHDOL - SDO\",\n \"location_type\": \"Service Center\",\n \"city_name\": \"SHAHDOL - SDO\",\n \"Employee\": \"SURESH PRASAD RAJAK - DP180033\"\n },\n {\n \"updated_on\": \"28 Oct, 2024, 10:01 \",\n \"status\": \"Shipment out for delivery, assigned to EmployeeRavi sondhiya\",\n \"reason_code\": \" - \",\n \"reason_code_number\": \"006\",\n \"scan_status\": \"OUT\",\n \"location\": \"MSDO\",\n \"location_city\": \"SHAHDOL - SDO\",\n \"location_type\": \"Service Center\",\n \"city_name\": \"SHAHDOL - SDO\",\n \"Employee\": \"Ravi sondhiya - PT23994\"\n },\n {\n \"updated_on\": \"28 Oct, 2024, 07:29 \",\n \"status\": \"Shipment in-scan at DC\",\n \"reason_code\": \" - \",\n \"reason_code_number\": \"005\",\n \"scan_status\": \"IN\",\n \"location\": \"MSDO\",\n \"location_city\": \"SHAHDOL - SDO\",\n \"location_type\": \"Service Center\",\n \"city_name\": \"SHAHDOL - SDO\",\n \"Employee\": \"Ravi sondhiya - PT23994\"\n },\n {\n \"updated_on\": \"28 Oct, 2024, 06:18 \",\n \"status\": \"Bag scanned at DC\",\n \"reason_code\": \" - \",\n \"reason_code_number\": \"003\",\n \"scan_status\": \"IN\",\n \"location\": \"MSDO\",\n \"location_city\": \"SHAHDOL - SDO\",\n \"location_type\": \"Service Center\",\n \"city_name\": \"SHAHDOL - SDO\",\n \"Employee\": \"Ravi sondhiya - PT23994\"\n },\n {\n \"updated_on\": \"28 Oct, 2024, 00:03 \",\n \"status\": \"In-Transit\",\n \"reason_code\": \" - \",\n \"reason_code_number\": \"003\",\n \"scan_status\": \"HOLD\",\n \"location\": \"KAH\",\n \"location_city\": \"KATNI - KAT\",\n \"location_type\": \"Hub\",\n \"city_name\": \"KATNI - KAT\",\n \"Employee\": \"KAPIL KUMAR GADARI - 99035\"\n },\n {\n \"updated_on\": \"28 Oct, 2024, 00:03 \",\n \"status\": \"In-Transit\",\n \"reason_code\": \" - \",\n \"scan_status\": \"HOLD\",\n \"location\": \"KAH\",\n \"location_city\": \"KATNI - KAT\",\n \"location_type\": \"Hub\",\n \"city_name\": \"KATNI - KAT\",\n \"Employee\": \"KAPIL KUMAR GADARI - 99035\"\n },\n {\n \"updated_on\": \"27 Oct, 2024, 20:02 \",\n \"status\": \"Bag scanned at Hub\",\n \"reason_code\": \" - \",\n \"reason_code_number\": \"003\",\n \"scan_status\": \"IN\",\n \"location\": \"KAH\",\n \"location_city\": \"KATNI - KAT\",\n \"location_type\": \"Hub\",\n \"city_name\": \"KATNI - KAT\",\n \"Employee\": \"AJEET KUMAR - 99050\"\n },\n {\n \"updated_on\": \"27 Oct, 2024, 02:46 \",\n \"status\": \"In-Transit\",\n \"reason_code\": \" - \",\n \"reason_code_number\": \"003\",\n \"scan_status\": \"HOLD\",\n \"location\": \"INH\",\n \"location_city\": \"INDORE - IND\",\n \"location_type\": \"Hub\",\n \"city_name\": \"INDORE - IND\",\n \"Employee\": \"OM Prakash - 131315\"\n },\n {\n \"updated_on\": \"27 Oct, 2024, 02:45 \",\n \"status\": \"In-Transit\",\n \"reason_code\": \" - \",\n \"scan_status\": \"HOLD\",\n \"location\": \"INH\",\n \"location_city\": \"INDORE - IND\",\n \"location_type\": \"Hub\",\n \"city_name\": \"INDORE - IND\",\n \"Employee\": \"OM Prakash - 131315\"\n },\n {\n \"updated_on\": \"26 Oct, 2024, 04:22 \",\n \"status\": \"Bag scanned at Hub\",\n \"reason_code\": \" - \",\n \"reason_code_number\": \"003\",\n \"scan_status\": \"IN\",\n \"location\": \"INH\",\n \"location_city\": \"INDORE - IND\",\n \"location_type\": \"Hub\",\n \"city_name\": \"INDORE - IND\",\n \"Employee\": \"Lakhan Chouhan - O430607\"\n },\n {\n \"updated_on\": \"26 Oct, 2024, 04:19 \",\n \"status\": \"Shipment connected to MSDO (Bag No. PL80363762)\",\n \"reason_code\": \" - \",\n \"reason_code_number\": \"003\",\n \"scan_status\": \"HOLD\",\n \"location\": \"INP\",\n \"location_city\": \"INDORE - IND\",\n \"location_type\": \"Processing Centre\",\n \"city_name\": \"INDORE - IND\",\n \"Employee\": \"Aman Kumar - O482327\"\n },\n {\n \"updated_on\": \"25 Oct, 2024, 19:40 \",\n \"status\": \"Shipment in-scan\",\n \"reason_code\": \" - \",\n \"reason_code_number\": \"002\",\n \"scan_status\": \"IN\",\n \"location\": \"INP\",\n \"location_city\": \"INDORE - IND\",\n \"location_type\": \"Processing Centre\",\n \"city_name\": \"INDORE - IND\",\n \"Employee\": \"INP FWD Sorter - CB312217\"\n },\n {\n \"updated_on\": \"25 Oct, 2024, 14:38 \",\n \"status\": \"Bag scanned at DC\",\n \"reason_code\": \" - \",\n \"reason_code_number\": \"003\",\n \"scan_status\": \"IN\",\n \"location\": \"INP\",\n \"location_city\": \"INDORE - IND\",\n \"location_type\": \"Processing Centre\",\n \"city_name\": \"INDORE - IND\",\n \"Employee\": \"Rohit Malviya - 124620\"\n },\n {\n \"updated_on\": \"25 Oct, 2024, 14:38 \",\n \"status\": \"Bag scanned at DC\",\n \"reason_code\": \" - \",\n \"reason_code_number\": \"003\",\n \"scan_status\": \"IN\",\n \"location\": \"INP\",\n \"location_city\": \"INDORE - IND\",\n \"location_type\": \"Processing Centre\",\n \"city_name\": \"INDORE - IND\",\n \"Employee\": \"Rohit Malviya - 124620\"\n },\n {\n \"updated_on\": \"25 Oct, 2024, 09:05 \",\n \"status\": \"Bag scanned at Hub\",\n \"reason_code\": \" - \",\n \"reason_code_number\": \"003\",\n \"scan_status\": \"IN\",\n \"location\": \"INH\",\n \"location_city\": \"INDORE - IND\",\n \"location_type\": \"Hub\",\n \"city_name\": \"INDORE - IND\",\n \"Employee\": \"Sandeep Songara - O453338\"\n },\n {\n \"updated_on\": \"24 Oct, 2024, 10:11 \",\n \"status\": \"In-Transit\",\n \"reason_code\": \" - \",\n \"reason_code_number\": \"003\",\n \"scan_status\": \"HOLD\",\n \"location\": \"BH4\",\n \"location_city\": \"GURUGRAM - GGN\",\n \"location_type\": \"Hub\",\n \"city_name\": \"GURUGRAM - GGN\",\n \"Employee\": \"Inderjeet . - 67382\"\n },\n {\n \"updated_on\": \"24 Oct, 2024, 10:11 \",\n \"status\": \"In-Transit\",\n \"reason_code\": \" - \",\n \"scan_status\": \"HOLD\",\n \"location\": \"BH4\",\n \"location_city\": \"GURUGRAM - GGN\",\n \"location_type\": \"Hub\",\n \"city_name\": \"GURUGRAM - GGN\",\n \"Employee\": \"Inderjeet . - 67382\"\n },\n {\n \"updated_on\": \"24 Oct, 2024, 05:57 \",\n \"status\": \"Bag scanned at Hub\",\n \"reason_code\": \" - \",\n \"reason_code_number\": \"003\",\n \"scan_status\": \"IN\",\n \"location\": \"BH4\",\n \"location_city\": \"GURUGRAM - GGN\",\n \"location_type\": \"Hub\",\n \"city_name\": \"GURUGRAM - GGN\",\n \"Employee\": \"BH4 Sorter - CB312250\"\n },\n {\n \"updated_on\": \"24 Oct, 2024, 01:59 \",\n \"status\": \"In-Transit\",\n \"reason_code\": \" - \",\n \"reason_code_number\": \"003\",\n \"scan_status\": \"HOLD\",\n \"location\": \"DEH\",\n \"location_city\": \"DELHI - DEL\",\n \"location_type\": \"Hub\",\n \"city_name\": \"DELHI - DEL\",\n \"Employee\": \"DEEPAK KUMAR - 79006\"\n },\n {\n \"updated_on\": \"24 Oct, 2024, 01:59 \",\n \"status\": \"In-Transit\",\n \"reason_code\": \" - \",\n \"scan_status\": \"HOLD\",\n \"location\": \"DEH\",\n \"location_city\": \"DELHI - DEL\",\n \"location_type\": \"Hub\",\n \"city_name\": \"DELHI - DEL\",\n \"Employee\": \"DEEPAK KUMAR - 79006\"\n },\n {\n \"updated_on\": \"24 Oct, 2024, 00:46 \",\n \"status\": \"Bag scanned at Hub\",\n \"reason_code\": \" - \",\n \"reason_code_number\": \"003\",\n \"scan_status\": \"IN\",\n \"location\": \"DEH\",\n \"location_city\": \"DELHI - DEL\",\n \"location_type\": \"Hub\",\n \"city_name\": \"DELHI - DEL\",\n \"Employee\": \"Noor Hasan - 90983\"\n },\n {\n \"updated_on\": \"24 Oct, 2024, 00:35 \",\n \"status\": \"Shipment connected to INP (Bag No. SE49534888)\",\n \"reason_code\": \" - \",\n \"reason_code_number\": \"003\",\n \"scan_status\": \"HOLD\",\n \"location\": \"DEP\",\n \"location_city\": \"DELHI - DEL\",\n \"location_type\": \"Processing Centre\",\n \"city_name\": \"DELHI - DEL\",\n \"Employee\": \"ASHOK PAL - O540391\"\n },\n {\n \"updated_on\": \"23 Oct, 2024, 23:03 \",\n \"status\": \"Shipment in-scan\",\n \"reason_code\": \" - \",\n \"reason_code_number\": \"002\",\n \"scan_status\": \"IN\",\n \"location\": \"DJP\",\n \"location_city\": \"DELHI - DEL\",\n \"location_type\": \"Processing Centre\",\n \"city_name\": \"DELHI - DEL\",\n \"Employee\": \"DJP FWD Sorter - CB312260\"\n },\n {\n \"updated_on\": \"23 Oct, 2024, 13:31 \",\n \"status\": \"Shipment Picked Up\",\n \"reason_code\": \" - \",\n \"reason_code_number\": \"0011\",\n \"scan_status\": \"HOLD\",\n \"location\": \"DJR\",\n \"location_city\": \"DELHI - DEL\",\n \"location_type\": \"Service Center\",\n \"city_name\": \"DELHI - DEL\",\n \"Employee\": \"JAFAR ALI - 92852\"\n },\n {\n \"updated_on\": \"23 Oct, 2024, 10:47 \",\n \"status\": \"Out for Pickup\",\n \"reason_code\": \" - \",\n \"reason_code_number\": \"1230\",\n \"scan_status\": \"HOLD\",\n \"location\": \"DJR\",\n \"location_city\": \"DELHI - DEL\",\n \"location_type\": \"Service Center\",\n \"city_name\": \"DELHI - DEL\",\n \"Employee\": \"JAFAR ALI - 92852\"\n },\n {\n \"updated_on\": \"23 Oct, 2024, 10:27 \",\n \"status\": \"Pickup Assigned\",\n \"reason_code\": \" - \",\n \"reason_code_number\": \"1220\",\n \"scan_status\": \"HOLD\",\n \"location\": \"DJR\",\n \"location_city\": \"DELHI - DEL\",\n \"location_type\": \"Service Center\",\n \"city_name\": \"DELHI - DEL\",\n \"Employee\": \"SAURABH . - 90745\"\n },\n {\n \"updated_on\": \"23 Oct, 2024, 09:55 \",\n \"status\": \"Pickup Assigned\",\n \"reason_code\": \" - \",\n \"reason_code_number\": \"1220\",\n \"scan_status\": \"HOLD\",\n \"location\": \"DJR\",\n \"location_city\": \"DELHI - DEL\",\n \"location_type\": \"Service Center\",\n \"city_name\": \"DELHI - DEL\",\n \"Employee\": \"JAFAR ALI - 92852\"\n },\n {\n \"updated_on\": \"22 Oct, 2024, 16:17 \",\n \"status\": \"Soft data uploaded\",\n \"reason_code\": \" - \",\n \"reason_code_number\": \"001\",\n \"scan_status\": \"HOLD\",\n \"location\": \"DJR\",\n \"location_city\": \"DELHI - DEL\",\n \"location_type\": \"Service Center\",\n \"city_name\": \"DELHI - DEL\",\n \"Employee\": \"None\"\n }\n]\n\nexport const rtoLock = [\n {\n \"updated_on\": \"28 Oct, 2024, 10:56\",\n \"status\": \"Soft data uploaded\",\n \"reason_code\": \"-\",\n \"reason_code_number\": \"001\",\n \"scan_status\": \"HOLD\",\n \"location\": \"DJR\",\n \"location_city\": \"DELHI - DEL\",\n \"location_type\": \"Service Center\",\n \"city_name\": \"DELHI - DEL\",\n \"Employee\": \"None\"\n },\n {\n \"updated_on\": \"09 Nov, 2024, 01:18\",\n \"status\": \"Soft data uploaded\",\n \"reason_code\": \"326 - Shipment Cancelled after Max unsuccessful pickup attempts\",\n \"reason_code_number\": \"001\",\n \"scan_status\": \"HOLD\",\n \"location\": \"DJR\",\n \"location_city\": \"DELHI - DEL\",\n \"location_type\": \"Service Center\",\n \"city_name\": \"DELHI - DEL\",\n \"Employee\": \"None\"\n },\n {\n \"updated_on\": \"09 Nov, 2024, 01:18\",\n \"status\": \"Shipment RTO Lock\",\n \"reason_code\": \"-\",\n \"reason_code_number\": \"1330\",\n \"scan_status\": \"HOLD\",\n \"location\": \"DJR\",\n \"location_city\": \"DELHI - DEL\",\n \"location_type\": \"Service Center\",\n \"city_name\": \"DELHI - DEL\",\n \"Employee\": \"None\"\n }\n]\n"],"names":["classNames","_len","arguments","length","classes","_key","filter","Boolean","join","AesDecrypt","data","reb64","CryptoJS","Hex","parse","bytes","toString","Base64","cipher","decrypt","Utf8","iv","mode","CBC","padding","Pkcs7","AesEncrypt","b64","encrypt","JSON","stringify","e64","funcForDecrypt","dataToBeDecrypt","funForAesEncrypt","dataToBeEncrypt","ParseFloat","str","val","Number","isInteger","slice","indexOf","formatString","inputString","toLowerCase","split","map","word","charAt","toUpperCase","Card","title","description","imageUrl","linkTo","param","formattedDescription","replace","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__","jsx","Link","href","jsxs","div","className","Image","src","alt","width","height","style","maxWidth","dangerouslySetInnerHTML","__html","styles","p0","p1","p2","p3","p4","__webpack_exports__","ZP","type","autoComplete","required","label","name","formik","placeholder","onblur","extra","htmlFor","input","id","onChange","handleChange","onBlur","value","values","concat","touched","errors","span","displayValue","lable","renderPriceBreakdownItem","index","Fragment","hr","backgroundImage","backgroundSize","backgroundRepeat","border","getGoldProgressData","capAt100","Math","min","completedGold","round","vaultBalance","maxCompletedGold","customLabelGold","getSilverProgressData","completedSilver","silverVaultBalance","maxCompletedSilver","customLabelSilver","SilverId"],"sourceRoot":""}