PageSourceSearch

https://assets-netstorage.groww.in/web-assets/billion_groww_deskto…/gold-rates/[[...slug]]-93fce93b77f552ef.js

js groww.in collected 2026-10-01 10:45:07 UTC 75,354 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},a=(new e.Error).stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="83ee746f-75cb-45da-b586-09a7b7758d75",e._sentryDebugIdIdentifier="sentry-dbid-83ee746f-75cb-45da-b586-09a7b7758d75")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[42302,57554,78745,98992],{373590:(e,a,l)=>{"use strict";l.d(a,{$J:()=>f,D6:()=>o,F1:()=>v,Lf:()=>_,Pw:()=>p,QC:()=>d,Qe:()=>y,VX:()=>g,VY:()=>h,Vv:()=>b,bP:()=>x,dh:()=>c,jI:()=>u,mU:()=>T,rN:()=>S,v0:()=>m});var n=l(271703),t=l(790771),r=l(951402),i=l(257743),s=l(815855);function o(){let e="/v1/api/commodity/v1/product/check_downtime";if("desktop"===i.Eg.MSITE){let a={useEncryption:!1,expiresInMin:s.aH.FIVE_MINUTES};return(0,n.RB)(e,a)}return n.vO.get(e)}function d(e){return n.SP.get("/v1/api/commodity/orderTrack",{params:{growwOrderId:e}})}let c=function(e,a){let l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"B",t=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i="/v1/api/commodity/v1/rate/merchant/".concat((0,r.J)(e),"/type/").concat((0,r.J)(a),"/").concat((0,r.J)(l)),o={useEncryption:!1,expiresInMin:s.aH.FIVE_MINUTES,hardRefresh:t};return(0,n.RB)(i,o)},u=()=>n.vO.get("https://groww.in/v1/api/commodity/v1/rate/merchant/AUGMONT/type/GOLD/B"),h=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1e3,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"GOLD";return n.SP.get("/v1/api/commodity/v1/holding/list",{params:{scrollType:"DESC",commodityType:a,size:e}})},g=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"Y1",a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"B",l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"GOLD",t=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"AUGMONT",i="/v1/api/commodity/v1/rate/graph/merchant/".concat((0,r.J)(t),"/type/").concat((0,r.J)(l),"/").concat((0,r.J)(a));return n.vO.get(i,{params:{range:e},metadata:{urlTemplate:"/v1/api/commodity/v1/rate/graph/merchant/{merchant}/type/{commodityType}/{buySell}"}})};function p(e){return n.SP.post("/v1/api/commodity/v1/order/filter",e)}function m(){return n.vO.get("/v1/api/physicalGold/v1/rates/component_order")}function v(){return n.vO.get(t.bp)}function y(){return n.vO.get("/v1/api/commodity_fo/v1/spot-price/all")}function T(e){return n.SP.get("/v1/api/user/v1/onboarding/pincode",{params:{pincode:e}})}function f(){return n.SP.get("/v1/api/commodity/v1/onboarding/commodity_onboarding_status")}let _=e=>n.SP.post("/v1/api/commodity/v1/order/search",{growwOrderId:e}),x=function(e){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",l="/v1/api/commodity/v2/order";return a?n.SP.post(l,e,{headers:{"X-AUTH-ID":a}}):n.SP.post(l,e)};function b(e){return n.SP.post("/v1/api/commodity/v1/order/search",e)}function S(e){return n.SP.post("/v1/api/user/v1/auth/pin/validate_auth_id",e)}},505695:e=>{e.exports={verticalScroll:"historicalGoldRatesTrend_verticalScroll__oQ4A3",table:"historicalGoldRatesTrend_table__QAKOj"}},612545:()=>{},659381:e=>{e.exports={table:"topCities_table__qwDqG"}},671459:(e,a,l)=>{"use strict";l.r(a),l.d(a,{default:()=>a$});var n=l(986594),t=l(407178),r=l(767823),i=l(377969),s=l(373590),o=l(577651),d=l(951402);let c="india",u=(e,a)=>{if(!a||a===c)return{type:"country"};let l=y(e,a);return l?"city"!==l.type?{type:"state",location:l,stateSlug:l.slug,stateName:l.name}:{type:"city",location:l,stateSlug:l.stateSlug,stateName:l.stateName}:{type:"city"}},h=e=>{var a,l;let n=(null===(a=e.states)||void 0===a?void 0:a.length)?e.states:null===(l=e.locations)||void 0===l?void 0:l.filter(e=>"city"!==e.type);return f(null!=n?n:[])},g=(e,a)=>{var l;let n=(null!==(l=e.locations)&&void 0!==l?l:[]).filter(e=>"city"===e.type).filter(e=>!a||e.stateSlug===a);if(!(0,d.a)(n)||!a)return f(n);let t=y(e,a);return t&&"city"!==t.type?[t]:[]},p=(e,a)=>"city"===a.type?g(e,a.stateSlug):h(e),m=e=>"city"===e.type?"Select City":"Select State",v=(e,a)=>"country"===a.type?"".concat(e," rates in states of India"):"state"===a.type?"".concat(e," Rates in Cities of ").concat(a.stateName):"".concat(e," Rates in Other ").concat(a.stateName," Cities"),y=(e,a)=>{var l;return null===(l=e.locations)||void 0===l?void 0:l.find(e=>e.slug===a)},T=(e,a,l)=>{let n=l||a,t=e.findIndex(e=>{var a;return(null!==(a=e.value)&&void 0!==a?a:e.slug)===n});return t>=0?t:0},f=e=>e.filter(e=>!(0,d.a)(e.name)&&e.slug!==c).sort((e,a)=>e.name.localeCompare(a.name)),_="india",x=(e,a)=>{var l;let n="";return null===(l=Object.keys(e))||void 0===l||l.forEach(l=>{var t;(null===(t=e[l])||void 0===t?void 0:t.searchId)===a&&(n=l)}),n},b=e=>e.replace(/-/g," ").replace(/(^\w|\s\w)/g,e=>e.toUpperCase()),S=(e,a)=>{var l;let n=e?x(a,e):"",t=n||_,r=t!==_,i=r?(null==a?void 0:null===(l=a[n])||void 0===l?void 0:l.searchId)||t:_;return{searchId:t,cityName:b(r?t:"India"),isCityPage:r,routeSearchId:i}},G=(e,a)=>{let l=JSON.stringify({"@context":"https://schema.org","@type":"WebPage",name:e.title,de
1scription:e.desc,url:a+e.routeName,isPartOf:{"@type":"WebSite",name:"Groww",url:a},inLanguage:"en-IN",...e.dateModified?{dateModified:e.dateModified}:{}});return(0,n.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:l}})},N=(e,a,l)=>{let n=[{url:"/",name:"Home"},{url:"/gold-rates",name:"Gold Rates"}];return l&&n.push({url:e,name:a}),n};var E=l(639136),j=l(821883),C=l(967713),R=l(471165),w=l(365975);let I=(e,a,l)=>Array.isArray(e)?e.reduce((e,n)=>{let t=O(n.goldPricePerGram);return n.date&&t&&(e[n.date]={date:n.date,percentageChange:D(n,t),price:t,priceLocation:a,searchId:l}),e},{}):{},P=(e,a)=>({TWENTY_FOUR:A(e.TWENTY_FOUR,null==a?void 0:a.TWENTY_FOUR),TWENTY_TWO:A(e.TWENTY_TWO,null==a?void 0:a.TWENTY_TWO),EIGHTEEN:A(e.EIGHTEEN,null==a?void 0:a.EIGHTEEN)}),D=(e,a)=>{let l=O(e.goldChangePercent);return l||P(a,O(e.goldPreviousPricePerGram))},O=e=>e&&L(e.TWENTY_FOUR)?{TWENTY_FOUR:e.TWENTY_FOUR,...(0,w.bT)(e.TWENTY_FOUR)}:null,A=(e,a)=>e&&a?(e-a)/a*100:0,L=e=>"number"==typeof e&&isFinite(e),Y="gold-rate-today-in-",M=(e,a)=>{var l;let n=null==e?void 0:e.latest,t=null==n?void 0:n.rates;if(!n||!Array.isArray(t)||0===t.length)return null;let r=new Map;t.forEach(e=>{(0,w.y$)(e)&&r.set(e.slug,e)});let i=(0,w.id)(null==e?void 0:e.previous);(null==a?void 0:a.previous)&&(0,w.y$)(a.previous)&&i.set(a.resolvedSlug,a.previous),(null==a?void 0:a.latest)&&(0,w.y$)(a.latest)&&r.set(a.resolvedSlug,a.latest);let s=H(n),o=k(n,s),d={},c={},u=[];return(s.forEach(e=>{let l=r.get(e.resolvedSlug);if(!l)return;let n=i.get(e.resolvedSlug),t=F(l,e,n);t&&(d[e.slug]=t.latest,c[e.slug]=B(t,a,e),u.push(e.slug))}),0===u.length)?null:{physicalGoldRate:d,locations:s,states:o,nearbyCities:null!==(l=null==a?void 0:a.nearbyCities)&&void 0!==l?l:[],trendingCities:u,daySummary:c,goldTrend:{}}},H=e=>{var a;return(null===(a=e.locations)||void 0===a?void 0:a.length)?e.locations:e.rates.map(e=>W(e,e.slug))},k=(e,a)=>{var l;return(null===(l=e.states)||void 0===l?void 0:l.length)?e.states:a.filter(e=>"city"!==e.type)},W=function(e,a){var l;let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.slug;return{name:e.city,slug:n,resolvedSlug:a,type:null!==(l=e.locationType)&&void 0!==l?l:"city",stateName:e.stateName,stateSlug:e.stateSlug}},F=(e,a,l)=>{let n=(0,w.Fq)(e),t=(0,w.nM)(e,l);if(!n||!t)return null;let r=P(n,t),i=(null==l?void 0:l.rateDate)||U(e.rateDate),s="".concat(Y).concat(a.slug);return{latest:{date:e.rateDate,percentageChange:r,price:n,priceLocation:a.name,searchId:s},previous:{date:i,percentageChange:{TWENTY_FOUR:0,TWENTY_TWO:0,EIGHTEEN:0},price:t,priceLocation:a.name,searchId:s},previousDate:i}},B=(e,a,l)=>{let n="".concat(Y).concat(l.slug),t=l.slug===(null==a?void 0:a.requestedSlug)||l.resolvedSlug===(null==a?void 0:a.resolvedSlug)?I(a.history,l.name,n):{};return Object.keys(t).length?t:{[e.previousDate]:e.previous}},U=e=>{var a;let l=new Date(e);return l.setDate(l.getDate()-1),null!==(a=(0,R.b)(l,"YYYY-MM-DD"))&&void 0!==a?a:""},K="gold-rate-today-in-",V=e=>e&&"india"!==e?e.startsWith(K)?e.slice(K.length):e:"",q="india",z="India",Q="YYYY-MM-DD",X=(e,a)=>{let l=J(a);return l?e?{...e,physicalGoldRate:{...e.physicalGoldRate,[q]:l.physicalGoldRate[q]},daySummary:{...e.daySummary,[q]:l.daySummary[q]}}:l:e},J=e=>{let a=null==e?void 0:e.latest,l=$(a);if(!a||!l)return null;let n=$(e.previous),t=P(l,n),r=ee(a),i=e.previous?ee(e.previous):ea(r),s=I(e.history,z,q);return{physicalGoldRate:{[q]:{date:r,percentageChange:t,price:l,priceLocation:z,searchId:q}},trendingCities:[],daySummary:{[q]:Object.keys(s).length?s:Z(i,null!=n?n:l)},goldTrend:{}}},$=e=>{var a,l;let n=null==e?void 0:null===(l=e.gold)||void 0===l?void 0:null===(a=l.TWENTY_FOUR)||void 0===a?void 0:a.perGram;return"number"!=typeof n||!isFinite(n)||n<=0?null:{TWENTY_FOUR:n,...(0,w.bT)(n)}},Z=(e,a)=>({[e]:{date:e,percentageChange:{TWENTY_FOUR:0,TWENTY_TWO:0,EIGHTEEN:0},price:a,priceLocation:z,searchId:q}}),ee=e=>{var a;return null!==(a=(0,R.b)(new Date(e.sourceUpdatedAt),Q))&&void 0!==a?a:""},ea=e=>{var a;let l=new Date(e);return l.setDate(l.getDate()-1),null!==(a=(0,R.b)(l,Q))&&void 0!==a?a:""},el=(e,a)=>{let l=en(a),n=et(e.map(e=>e.todayPrice));if(!l||!n)return e;let t=l/n;return e.map(e=>({...e,todayPrice:er(e.todayPrice*t),yesterdayPrice:er(e.yesterdayPrice*t)}))},en=e=>{var a,l;if("fulfilled"!==e.status)return null;let n=null===(l=e.value.data)||void 0===l?void 0:null===(a=l.rateContext)||void 0===a?void 0:a.rateAmount;return!Number.isFinite(n)||n<=0?null:n/100},et=e=>{let a=e.filter(Number.isFinite).sort((e,a)=>e-a),l=Math.floor(a.length/2);return a.length?a.length%2?a[l]:(a[l-1]+a[l])/2:null},er=e=>Math.round(100*e)/100;var ei=l(569443),es=l.n(ei);let eo="india",ed="YYYY-MM-DD",ec=22/24,eu="India",eh=e=>({TWENTY_FOUR:e,TWENTY_TWO:e*ec}),eg="india",ep="YYYY-MM-DD",em=22/24,ev="India",ey=e=>{var a,l;let n=eT(e.map(e=>e.todayPrice)),t=eT(e.map(e=>e.yesterdayPrice)),r=es()(),i=null!==(a=(0,R.b)(r.toDate(),ep))&&void 0!==a?a:"",s=null!==(l=(0,R.b)(r.subtract(1,"day").toDate(),ep))&&void 0!==l?l:"",o=t?(n-t)/t*100:0;return{physicalGoldRate:{[eg]:{date:i,percentageChange:{TWENTY_FOUR:o,TWENTY_TWO:o},price:{TWENTY_FOUR:n,TWENTY_TWO:n*em},priceLocation:ev,searchId:eg}},trendingCities:[],daySummary:{[eg]:{[s]:{date:s,percentageChange:{TWENTY_FOUR:0,TWENTY_TWO:0},price:{TWENTY_FOUR:t,TWENTY_TWO:t*em},priceLocation:ev,searchId:eg}}},goldTrend:{}}},eT=e=>{let a=e.filter(Number.isFinite).sort((e,a)=>e-a),l=Math.floor(a.length/2);return a.length?a.length%2?a[l]:(a[l-1]+a[l])/2:0};var ef=l(956438),e_=l(319695);let ex="india",eb=e=>{var a;return"fulfilled"===e.status&&e.value&&null!==(a=e.value.data)&&void 0!==a?a:null};async function eS(){var e,a,l,n,t;let r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",i=(0,d.i)(r||"")||"",c=V(i),u=!!(c&&i!==e_.bw.GOLD_RATES.slice(1)),[h,g,p,m,v,y]=await Promise.allSettled([(0,j.aN)(),u?(0,j.zZ)(c):Promise.resolve(null),(0,s.F1)(),(0,s.Qe)(),(0,s.jI)(),(0,j.RW)()]),T=null;if(!(T=M(eb(h),eb(g)))&&"fulfilled"===p.status){let a=p.value,l=null!==(e=null==a?void 0:a.data)&&void 0!==e?e:a,n=(0,o.ZF)(l);if(n){let e=el(n,v);T=(0,o.qD)(e);let a=ey(e);T.physicalGoldRate[ex]=a.physicalGoldRate[ex],T.daySummary[ex]=a.daySummary[ex]}}let f=(T=X(T,(0,C.i)(y)))?null:"fulfilled"!==m.status?null:null!==(t=null===(n=m.value)||void 0===n?void 0:null===(l=n.data)||void 0===l?void 0:null===(a=l.commodityMinimalDetailsResponses)||void 0===a?void 0:a.find(e=>"GOLD"===e.symbol))&&void 0!==t?t:null;return f&&(T=function(e){var a,l;let n=e.spotPrice/10,t=e.lastDayClosePrice/10,r=es()(),i=null!==(a=(0,R.b)(r.toDate(),ed))&&void 0!==a?a:"",s=null!==(l=(0,R.b)(r.subtract(1,"day").toDate(),ed))&&void 0!==l?l:"",o=eh(n),d=eh(t),c=(n-t)/t*100;return{physicalGoldRate:{[eo]:{date:i,percentageChange:{TWENTY_FOUR:c,TWENTY_TWO:c},price:o,priceLocation:eu,searchId:eo}},trendingCities:[],daySummary:{[eo]:{[s]:{date:s,percentageChange:{TWENTY_FOUR:0,TWENTY_TWO:0},price:d,priceLocation:eu,searchId:eo}}},goldTrend:{}}}(f)),T}async function eG(){try{let{data:e}=await (0,ef.Tu)(E.$g9.GOLD_RATES);return e||{}}catch(e){return console.error("Error fetching action hub data",e),{}}}var eN=l(736766),eE=l(672563),ej=l(761711),eC=l.n(ej),eR=l(129054),ew=l(789991),eI=l(424766),eP=l(635310),eD=l(779092),eO=l(705888),eA=l(932262),eL=l(937106),eY=l.n(eL);let eM=e=>{var a,l,r,i,s,o,d;let{goldRateData:c,searchId:h}=e,g=u(c,h),v=p(c,g).slice(0,30).map(e=>({label:e.name,value:e.slug})),y=T(v,h,null===(a=g.location)||void 0===a?void 0:a.slug),[f,_]=(0,t.useState)(!1),[x,b]=(0,t.useState)(1),[S,G]=(0,t.useState)(10),[N,E]=(0,t.useState)(eR.lJ),[j,C]=(0,t.useState)(!0),[R,w]=(0,t.useState)(y),[I,P]=(0,t.useState)(!1);(0,t.useEffect)(()=>{_(!0)},[]);let D=I?R:y,O=null!==(i=v[D])&&void 0!==i?i:v[0],A=null!==(s=null==O?void 0:O.value)&&void 0!==s?s:h,L=null!==(o=null==c?void 0:null===(l=c.physicalGoldRate)||void 0===l?void 0:l[A])&&void 0!==o?o:null==c?void 0:null===(r=c.physicalGoldRate)||void 0===r?void 0:r[h],Y=[eR.tK[2],eR.tK[1],eR.tK[0]],M=null!==(d=Y[x])&&void 0!==d?d:Y[1],H=(0,eR.W3)(null==L?void 0:L.price,M.value);if(!H)return null;if(!f)return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("h2",{className:"displaySmall ".concat(eY().sectionHeading),children:"Gold Rate Calculator"}),(0,n.jsx)("div",{className:"".concat(eY().calculatorShell," borderPrimary backgroundPrimary")})]});let k=(0,eR.iR)({ratePerGram:H,grams:S,makingPercentage:N,includeGst:j}),W=Math.max((0,eR.iR)({ratePerGram:H,grams:100,makingPercentage:N,includeGst:j}).totalAmount-k.totalAmount,0),F=[{title:"Base Value",id:"base-value",value:k.baseValue,color:"var(--background-accent-secondary)"},{title:"Making",id:"making-charges",value:k.makingCharges,color:"var(--background-accent)"},{title:"GST",id:"gst-amount",value:k.gstAmount,color:"var(--background-warning)"},{title:"Remaining",id:"remaining-value",value:W,color:"var(--background-tertiary)"}],B=F.map(e=>e.value.toFixed(2)).join("-");return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("h2",{className:"displaySmall ".concat(eY().sectionHeading),children:"Gold Rate Calculator"}),(0,n.jsxs)("div",{className:"".concat(eY().calculatorShell," borderPrimary backgroundPrimary"),children:[(0,n.jsxs)("div",{className:eY().calculatorControls,children:[(0,n.jsx)("div",{className:"bodyBaseHeavy",children:"Gold Quality"}),(0,n.jsx)("div",{className:eY().pillRowInner,children:Y.map((e,a)=>(0,n.jsx)(eD.P,{text:e.label.toUpperCase(),size:"Small",isAccent:!1,isSelected:x===a,onClick:()=>b(a)},e.value))}),(0,n.jsxs)("div",{className:eC()("valign-wrapper vspace-between bodyBaseHeavy",eY().c
1alculatorLabel),children:[(0,n.jsx)("span",{children:"Gold Amount"}),(0,n.jsx)("span",{className:"contentAccent bodySmallHeavy",children:"".concat(S," grams")})]}),(0,n.jsx)(eO.S,{sliderWrapperClass:eY().sliderWrapper,thumbClassName:eY().sliderThumb,trackClassName:eY().sliderTrack,min:1,max:100,step:1,marks:0,value:S,onSliderChange:e=>G(Array.isArray(e)?e[0]:e)}),(0,n.jsxs)("div",{className:eC()("valign-wrapper vspace-between bodyBaseHeavy",eY().calculatorLabel),children:[(0,n.jsx)("span",{children:"Making Charges"}),(0,n.jsx)("span",{className:"contentAccent bodySmallHeavy",children:"".concat(N,"%")})]}),(0,n.jsx)(eO.S,{sliderWrapperClass:eY().sliderWrapper,thumbClassName:eY().sliderThumb,trackClassName:eY().sliderTrack,min:0,max:30,step:1,marks:0,value:N,onSliderChange:e=>E(Array.isArray(e)?e[0]:e)}),(0,n.jsx)("div",{className:eC()("bodyBaseHeavy",eY().calculatorLabel),children:"GST (".concat(eR.cQ,"%)")}),(0,n.jsxs)("div",{className:eY().pillRowInner,children:[(0,n.jsx)(eD.P,{text:"Incl. ".concat(eR.cQ,"%"),size:"Small",isAccent:!1,isSelected:j,onClick:()=>C(!0)}),(0,n.jsx)(eD.P,{text:"Excl. GST",size:"Small",isAccent:!1,isSelected:!j,onClick:()=>C(!1)})]}),(0,n.jsx)("div",{className:eC()("bodyBaseHeavy",eY().calculatorLabel),children:m(g)}),(0,n.jsx)("div",{className:eY().calculatorInput,children:(0,n.jsx)(eA.S,{data:v,activeIndex:D,activeOptionBoxClass:"borderPrimary bodyBase",optionsParentClass:"bodyBase",optionClass:"bodyBase cur-po",onSelectChange:e=>{w(e),P(!0)}})}),(0,n.jsxs)("div",{className:eY().calculatorSummary,children:[(0,n.jsxs)("div",{className:"valign-wrapper vspace-between bodyBase",children:[(0,n.jsx)("span",{children:"Base value"}),(0,n.jsx)("span",{className:"bodyBaseHeavy",children:(0,ew.a)(k.baseValue,eI.b)})]}),(0,n.jsxs)("div",{className:"valign-wrapper vspace-between bodyBase",children:[(0,n.jsx)("span",{children:"Making charges"}),(0,n.jsx)("span",{className:"bodyBaseHeavy",children:(0,ew.a)(k.makingCharges,eI.b)})]}),(0,n.jsxs)("div",{className:"valign-wrapper vspace-between bodyBase",children:[(0,n.jsx)("span",{children:"GST (".concat(j?"".concat(eR.cQ,"%"):"excluded",")")}),(0,n.jsx)("span",{className:"bodyBaseHeavy",children:(0,ew.a)(k.gstAmount,eI.b)})]}),(0,n.jsxs)("div",{className:eC()("valign-wrapper vspace-between bodyLargeHeavy",eY().calculatorTotal),children:[(0,n.jsx)("span",{children:"Total Amount"}),(0,n.jsx)("span",{children:(0,ew.a)(k.totalAmount,eI.b)})]}),(0,n.jsx)("div",{className:"contentSecondary bodySmall",children:"Indicative value only. Final jeweller price may vary by city rate, wastage, making charges and local levies."})]})]}),(0,n.jsxs)("div",{className:eY().calculatorChart,children:[(0,n.jsxs)("div",{className:eC()("valign-wrapper",eY().chartLegend),children:[(0,n.jsx)("span",{className:eC()(eY().legendDot,"backgroundAccentSecondary")}),(0,n.jsx)("span",{className:"bodySmall contentSecondary",children:"Base Value"}),(0,n.jsx)("span",{className:eC()(eY().legendDot,"backgroundAccent")}),(0,n.jsx)("span",{className:"bodySmall contentSecondary",children:"Making"}),(0,n.jsx)("span",{className:eC()(eY().legendDot,"backgroundWarning")}),(0,n.jsx)("span",{className:"bodySmall contentSecondary",children:"GST"})]}),(0,n.jsx)("div",{className:eY().calculatorChartCanvas,children:(0,n.jsx)(eP.A,{data:F,height:220,width:220,donutThickness:42,hoveredPieThicknes:0,textClass:"",onMouseEnter:()=>{},onMouseLeave:()=>{}},B)}),(0,n.jsxs)("div",{className:eY().chartTotal,children:[(0,n.jsx)("div",{className:"bodySmall contentSecondary",children:"Total Amount"}),(0,n.jsx)("div",{className:"bodyLargeHeavy",children:(0,ew.a)(k.totalAmount,eI.b)})]})]})]})]})};var eH=l(383321),ek=l(726454);let eW=e=>{var a;let{goldRateData:l,searchId:t,includeCityTable:r=!0}=e,i=u(l,t),s="country"===i.type?h(l):g(l,i.stateSlug).filter(e=>e.slug!==t);if((0,d.a)(s))return null;let o="country"===i.type,c=r?(o?g(l):null!==(a=l.nearbyCities)&&void 0!==a?a:[]).map(e=>{var a;let n=null==l?void 0:null===(a=l.physicalGoldRate)||void 0===a?void 0:a[e.slug];return(null==n?void 0:n.searchId)?{searchId:n.searchId,name:e.name,slug:e.slug}:null}).filter(e=>!!e):[],p=new Map;
1c.forEach(e=>{var a;let n=null==l?void 0:null===(a=l.physicalGoldRate)||void 0===a?void 0:a[e.slug];n&&p.set(e.searchId,n)});let m=c.map(e=>{let{searchId:a,name:l}=e;return{searchId:a,name:l}});return(0,n.jsxs)(n.Fragment,{children:[m.length>0&&(0,n.jsx)(eH.A,{heading:o?"Gold Rates in Major Indian Cities Today (1 gram)":"Gold Rates in Nearby Cities Today (1 gram)",linkPrefix:e_.bw.GOLD_RATES+e_.bw.SLASH,cities:m,getPrice:e=>{var a,l,n;let t=p.get(e.searchId);return t?{TWENTY_FOUR:null===(a=t.price)||void 0===a?void 0:a.TWENTY_FOUR,TWENTY_TWO:null===(l=t.price)||void 0===l?void 0:l.TWENTY_TWO,EIGHTEEN:null===(n=t.price)||void 0===n?void 0:n.EIGHTEEN}:null}}),(0,n.jsx)("h2",{className:"displaySmall ".concat(eY().sectionHeading),children:v("Gold",i)}),(0,n.jsx)("div",{className:eY().pillRow,children:s.slice(0,30).map(e=>{var a;let t=null==l?void 0:null===(a=l.physicalGoldRate)||void 0===a?void 0:a[e.slug];return(null==t?void 0:t.searchId)?(0,n.jsx)(ek.A,{url:e_.bw.GOLD_RATES+e_.bw.SLASH+t.searchId,children:(0,n.jsx)(eD.P,{text:e.name,size:"Small",isAccent:!1,isOutlined:!0})},e.slug):null})})]})};var eF=l(467367);let eB=e=>{var a,l,r,i,s,o;let{goldRateData:d,searchId:c}=e,h=u(d,c),g=null!==(s=null==d?void 0:null===(r=d.physicalGoldRate)||void 0===r?void 0:null===(l=r[c])||void 0===l?void 0:null===(a=l.price)||void 0===a?void 0:a.TWENTY_FOUR)&&void 0!==s?s:0,p=(0,t.useMemo)(()=>{if(!g)return null;let e=10*g,a=.03*e,l=.12*e,n=.18*e,t=.02*e,r=.05*e,i=.005*e,s=.01*e,o=[(0,ew.a)(l,eI.b),(0,ew.a)(n,eI.b)].join(" - "),d=[(0,ew.a)(e+a+l+t+35,eI.b),(0,ew.a)(e+a+n+r+200,eI.b)].join(" - "),c=[(0,ew.a)(e+i,eI.b),(0,ew.a)(e+s,eI.b)].join(" - "),u=[(0,ew.a)(t,eI.b),(0,ew.a)(r,eI.b)].join(" - "),h=[(0,ew.a)(35,eI.b),(0,ew.a)(200,eI.b)].join(" - ");return{tenGramValue:(0,ew.a)(e,eI.b),physicalGst:(0,ew.a)(a,eI.b),makingChargeRange:o,wastageRange:u,hallmarkingRange:h,physicalTotalRange:d,etfTotalRange:c,etfExpenseRange:"".concat((0,ew.a)(i,eI.b)," - ").concat((0,ew.a)(s,eI.b))}},[g]);return p?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("h2",{className:"displaySmall ".concat(eY().sectionHeading),children:"The True Cost of Buying 24K Gold in ".concat(null!==(o=null===(i=h.location)||void 0===i?void 0:i.name)&&void 0!==o?o:"India")}),(0,n.jsx)("div",{className:"grp846TableScroll",children:(0,n.jsxs)(eF.T,{className:eY().trueCostTable,children:[(0,n.jsx)(eF.T.Header,{children:(0,n.jsxs)(eF.T.Row,{className:"".concat(eY().rowBg," bodyBase"),children:[(0,n.jsx)(eF.T.HeaderCell,{width:"40%",children:"What you pay for"}),(0,n.jsx)(eF.T.HeaderCell,{width:"30%",textAlign:"right",children:"Physical Gold (24K, 10gm)"}),(0,n.jsx)(eF.T.HeaderCell,{width:"30%",textAlign:"right",children:"ETF Gold (24K, 10gm)"})]})}),(0,n.jsxs)(eF.T.Body,{children:[(0,n.jsxs)(eF.T.Row,{className:"bodyBase",children:[(0,n.jsx)(eF.T.Cell,{children:"Value before tax"}),(0,n.jsx)(eF.T.Cell,{textAlign:"right",children:p.tenGramValue}),(0,n.jsx)(eF.T.Cell,{textAlign:"right",children:p.tenGramValue})]}),(0,n.jsxs)(eF.T.Row,{className:"bodyBase",children:[(0,n.jsx)(eF.T.Cell,{children:"+ GST (3%)"}),(0,n.jsx)(eF.T.Cell,{textAlign:"right",children:"+ ".concat(p.physicalGst)}),(0,n.jsx)(eF.T.Cell,{textAlign:"right",children:"+ ".concat(p.physicalGst)})]}),(0,n.jsxs)(eF.T.Row,{className:"bodyBase",children:[(0,n.jsx)(eF.T.Cell,{children:"+ Making charges (avg. 12-18%)"}),(0,n.jsx)(eF.T.Cell,{textAlign:"right",children:"+ ".concat(p.makingChargeRange)}),(0,n.jsx)(eF.T.Cell,{textAlign:"right",children:"--"})]}),(0,n.jsxs)(eF.T.Row,{className:"bodyBase",children:[(0,n.jsx)(eF.T.Cell,{children:"+ Wastage charges (2-5%)"}),(0,n.jsx)(eF.T.Cell,{textAlign:"right",children:"+ ".concat(p.wastageRange)}),(0,n.jsx)(eF.T.Cell,{textAlign:"right",children:"--"})]}),(0,n.jsxs)(eF.T.Row,{className:"bodyBase",children:[(0,n.jsx)(eF.T.Cell,{children:"+ Hallmarking / certification"}),(0,n.jsx)(eF.T.Cell,{textAlign:"right",children:"+ ".concat(p.hallmarkingRange)}),(0,n.jsx)(eF.T.Cell,{textAlign:"right",children:"+ ".concat(p.etfExpenseRange)})]}),(0,n.jsxs)(eF.T.Row,{className:"bodyBaseHeavy backgroundAccentSubtle",children:[(0,n.jsx)(eF.T.Cell,{children:"What you actually pay"}),(0,n.jsx)(eF.T.Cell,{textAlign:"right",children:p.physicalTotalRange}),(0,n.jsx)(eF.T.Cell,{textAlign:"right",children:p.etfTotalRange})]})]})]})})]}):null};var eU=l(391382),eK=l(781523),eV=l(843404),eq=l(257743),ez=l(446358);let eQ=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"Delhi";return[{question:"Why does the Gold price in ".concat(e," keep changing?"),answer:'<p class="contentSecondary">\n        Gold prices in '.concat(e," keep changing owing to different factors such as\n        state taxes, transportation charges, and octroi charges.\n      </p>")},{question:"How is the gold price fixed in ".concat(e,"?"),answer:'<p class="contentSecondary">\n        The gold rate in '.concat(e," is decided by the Indian Bullion Association and\n        various other factors play an important role such as demand and supply,\n        inflation, dollar-rupee equation etc.\n      </p>")},{question:"What are the taxes charges on Gold purchase in ".concat(e,"?"),answer:'<p class="contentSecondary">\n        Whenever purchasing gold, it must be duly noted that certain taxes and other\n        duties are levied on the precious metal purchase. In '.concat(e," purchasing\n        Gold jewellery is subject to a 3% tax on the value of gold and a making fee\
1n        of 5% under the GST.\n      </p>")},{question:"How many grams of gold are present in one 'tola' of gold?",answer:'<p class="contentSecondary">\n        Presently, one tola of gold is equivalent to 10 grams of gold. A Tola (can\n        also be written as tolah or tole) is an ancient unit of weight, introduced in\n        India and South Asia around 1833. It was introduced officially to allow the\n        fair trade of grain and precious metals.\n      </p>'},{question:"How to check the purity of gold in ".concat(e,"?"),answer:'<p class="contentSecondary">\n        Most retail buyers usually determine the purity of gold by checking the\n        hallmark symbol of purity that is incorporated by most dealers on gold.\n        If you are going to buy gold you can check if the hallmarking centre is\n        licensed by BIS or not on their website.\n      </p>'},{question:"What are the factors affecting Gold prices in ".concat(e,"?"),answer:'<p class="contentSecondary">\n        The gold price in '.concat(e," or in any other city is affected by a number of\n        global trends and factors. One of the primary influences is the behaviour of\n        central banks globally. However, India need not worry about the market rise\n        and fall as we do not mine our own gold. But the international factors can be\n        considered as it heavily influences the purchasing power of the importers and\n        the general public.\n      </p>")}]},eX={INDIA:"india"},eJ={GOLD_SUB_TEXT:"GOLD_SUB_TEXT",GOLD_INVESTMENT:"GOLD_INVESTMENT",PURITY_OF_GOLD:"PURITY_OF_GOLD",ALTERNATIVE_TO_PHYSICAL_GOLD:"ALTERNATIVE_TO_PHYSICAL_GOLD",GOLD_FAQ:"GOLD_FAQ",GOLD_RATES_PER_GRAM:"GOLD_RATES_PER_GRAM",HISTORICAL_GOLD_RATES:"HISTORICAL_GOLD_RATES",HISTORICAL_GOLD_RATES_TREND:"HISTORICAL_GOLD_RATES_TREND",TREND_OF_GOLD_RATES:"TREND_OF_GOLD_RATES",GOLD_RATES_IN_TOP_CITIES:"GOLD_RATES_IN_TOP_CITIES",TRUE_COST_OF_GOLD:"TRUE_COST_OF_GOLD",GOLD_RATE_CALCULATOR:"GOLD_RATE_CALCULATOR",GOLD_RATES_IN_STATES:"GOLD_RATES_IN_STATES",MONTHLY_GOLD_MOVEMENTS:"MONTHLY_GOLD_MOVEMENTS"},e$={GOLD_SUB_TEXT:["Gold is not only an investment avenue but is considered precious in India. The yellow metal symbolizes wealth, prosperity, good health, and wealth. Gold has been and will be the holy grail for the people of India in terms of jewelry and investment. India is considered one of the largest markets for gold, and thus, the Indian gold market plays a significant role in the global economy of gold."],GOLD_FAQ:[{question:"How many grams of gold are present in one 'tola' of gold?",answer:"<p class=\"contentSecondary\">\n      One 'tola' of gold contains 12 grams of gold at present. The term 'tola' is\n      an ancient weight concept and is used to measure metals such as gold and silver\n      for many years.\n    </p>"},{question:"What is the difference between 22k and 24K gold?",answer:'<p class="contentSecondary">\n      The basic difference between 22k and 24k gold is purity; 24K gold signifies\n      99.9 % purity and on the other hand, 22K is approximately 91 percent pure gold.\n      The remaining 9% in 22k gold consists of other metals such as copper, silver,\n      zinc, etc.\n    </p>'},{question:"How is the gold rate in India determined?",answer:'<p class="contentSecondary">\n      The price of gold is predominantly determined by a group of factors like supply,\n      demand, import rates, US dollar, and investor behavior. The Indian Bullion\n      Jewellers Association, short for IBJA also plays a key role in determining the\n      daily gold rates in India.\n    </p>'},{question:"What do the terms hallmark, 916, and KDM in gold jewelry mean?",answer:'<ul style="padding-left: 18px" class="contentSecondary">\n      <li><span class="bodyBase"><span>Hallmark:</span>\n      <span style="margin-left: 4px">Hallmark is a sign that ensures the purity\n      of gold adheres to a set of standards</span></span></li>\n      <li><span class="bodyBase"><span>916:</span>\n      <span style="margin-left: 4px">916, which is also called 22K gold means\n      91.6 grams of gold have been used in 100 grams of alloy</span></span></li>\n      <li><span class="bodyBase"><span>KDM jewelry:</span>
1\n      <span style="margin-left: 4px">KDM jewelry is a gold alloy in which cadmium\n      is used as solder or filler and the ratio is 92% gold and 8% cadmium. Now it\n      has been banned by BIS (Bureau of Indian Standards) and advanced solders such\n      as Zinc and copper have been introduced.</span></span></li>\n    </ul>'},{question:"What are the different forms of Gold investment?",answer:'<p class="contentSecondary">\n      The different forms of gold investment in India are:\n    </p>\n    <ul style="padding-left: 18px" class="contentSecondary">\n      <li>Physical Gold</li>\n      <li>Gold ETFs (Exchanged Traded Funds)</li>\n      <li>Gold Mutual funds</li>\n      <li>Sovereign Gold Bonds</li>\n      <li>Digital Gold</li>\n    </ul>'}]},eZ=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"Delhi";return{GOLD_SUB_TEXT:["Gold is the most valued metal in India and people, especially women have a deep affinity for it. In any country, the price of gold keeps changing on a day-to-day basis across all the cities and India is no exception. The gold price in ".concat(e," is affected by a number of factors which entails global trends as well. In Indian households, gold is considered precious and related to auspiciousness. Besides its cultural value, gold also contributes to a great investment portfolio. Owing to these reasons, it is purchased in a huge volume across the country, including ").concat(e,". Not only physical gold, but investors have also started to trade in gold as a commodity and in gold-based derivatives through the exchanges."),"Irrespective of the condition of the economy, gold consumption always remains untouched and is consumed across India. You need to be properly informed about the gold rates in ".concat(e," if planning to invest in it. Be it gold jewelry, coins, or bars, you should always check the gold price in ").concat(e," today beforehand. However, as mentioned above, the gold rates in ").concat(e," oscillate daily due to different factors such as demand and supply of gold, inflation, and rupee-dollar valuation.")],GOLD_INVESTMENT:{heading:"Gold Investment in ".concat(e),paragraphs:["Gold rates in ".concat(e," always differ from other cities in India. There are a number of reasons behind the same such as octroi charges, state taxes, and transportation costs. If you are looking to invest in gold in ").concat(e," then it is in your best interest to check the Gold price in ").concat(e," today. The city is also counted amongst some of the highest gold consumers across the country.  Before purchasing gold jewelry in ").concat(e,", one should keep in mind that along with the price of gold today as indicated on this page, there are marking charges associated with the jewelry which escalate the overall price.")]},PURITY_OF_GOLD:{heading:"How is the Purity of Gold Evaluated in ".concat(e,"?"),paragraphs:["Gold rate in ".concat(e," and the purity of the metal are evaluated by the Indian Bullion Association, and the dealers are needed to incorporate the hallmark symbol of purity in all their products. Gold price in ").concat(e," or any other city in this regard is influenced by global implications in the global stock market. India specifically doesn't need to worry about the rise and fall of the market since we do not mine our own gold, but there are international factors that heavily influence the buying power of the importers and also of the general public.")]},ALTERNATIVE_TO_PHYSICAL_GOLD:{heading:"Alternatives to Physical Gold",paragraphs:["Gold can be bought in different forms apart from Physical gold in ".concat(e,". The physical form is the traditional form of gold which means the gold you buy at a jewellery shop. Other modes of gold investment include Gold bonds (sovereign gold bonds) that are government securities denominated in grams of gold. Some more convenient forms of Gold investment are Gold ETFs and gold mutual funds."),"Gold Exchange Traded Funds, or Gold ETFs are open-ended mutual fund schemes that aim to track the ever-fluctuating cost of gold. 1 Gold ETF unit is equivalent to that of 1 gram of gold (99.5% pure). Gold mutual funds or gold funds, on the other hand, are open-ended funds that invest in units of a Gold Exchange Traded Fu
1nd (ETF). Both the investments can be done via Groww in a hassle-free manner."]},GOLD_FAQ:eQ(e)}},e0={citySortedOrder:[eJ.GOLD_SUB_TEXT,eJ.GOLD_RATES_PER_GRAM,eJ.GOLD_INVESTMENT,eJ.HISTORICAL_GOLD_RATES,eJ.PURITY_OF_GOLD,eJ.TREND_OF_GOLD_RATES,eJ.ALTERNATIVE_TO_PHYSICAL_GOLD,eJ.GOLD_RATES_IN_TOP_CITIES,eJ.GOLD_FAQ,eJ.MONTHLY_GOLD_MOVEMENTS],indiaSortedOrder:[eJ.GOLD_SUB_TEXT,eJ.GOLD_RATES_PER_GRAM,eJ.HISTORICAL_GOLD_RATES,eJ.GOLD_RATES_IN_TOP_CITIES,eJ.TREND_OF_GOLD_RATES,eJ.TRUE_COST_OF_GOLD,eJ.GOLD_RATE_CALCULATOR,eJ.GOLD_RATES_IN_STATES,eJ.MONTHLY_GOLD_MOVEMENTS,eJ.HISTORICAL_GOLD_RATES_TREND,eJ.GOLD_FAQ]},e1=[eJ.GOLD_SUB_TEXT,eJ.GOLD_INVESTMENT,eJ.PURITY_OF_GOLD,eJ.ALTERNATIVE_TO_PHYSICAL_GOLD,eJ.GOLD_FAQ],e2={TWENTY_FOUR_K:"24k",TWENTY_TWO_K:"22k",EIGHTEEN_K:"18k"},e6=[{label:"1 Gram",value:1},{label:"8 Gram",value:8},{label:"10 Gram",value:10},{label:"12 Gram(1 Tola)",value:12},{label:"100 Gram",value:100}],e4={[e2.TWENTY_TWO_K]:22/24,[e2.EIGHTEEN_K]:.75,[e2.TWENTY_FOUR_K]:1},e7=[{label:e2.TWENTY_FOUR_K,value:e2.TWENTY_FOUR_K},{label:e2.TWENTY_TWO_K,value:e2.TWENTY_TWO_K},{label:e2.EIGHTEEN_K,value:e2.EIGHTEEN_K}],e8=(e,a)=>{let l=new Date(e.valueOf()-864e5),n=(0,R.b)(l,a);return null!=n?n:""},e3=(e,a,l)=>{let n=e8(l,"YYYY-MM-DD");if(null==e?void 0:e[n]){var t;return e9(null==e?void 0:null===(t=e[n])||void 0===t?void 0:t.price,a)}return 0},e9=(e,a)=>{var l,n,t;return e?a===e2.TWENTY_TWO_K?null!==(l=e.TWENTY_TWO)&&void 0!==l?l:e.TWENTY_FOUR*e4[a]:a===e2.EIGHTEEN_K?null!==(n=e.EIGHTEEN)&&void 0!==n?n:e.TWENTY_FOUR*e4[a]:e.TWENTY_FOUR*(null!==(t=e4[a])&&void 0!==t?t:1):0},e5=(e,a)=>a?e-a:0,ae=function(e,a,l){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,t=null==a?void 0:a.physicalGoldRate[l],r=null==a?void 0:a.daySummary,i=null==t?void 0:t.date,s=i?new Date("".concat(i,"T00:00:00")):new Date,d=e9(null==t?void 0:t.price,e),c=e3(r[l],e,s),u=e5(d,c),h=(0,o.Bi)(u&&c?100*u/c:0),g=(0,o._1)(u);return{currentPrice:d*n,dayChange:u*n,dayChangePerc:h,dayChangeClass:g,prevDayPrice:c*n}};var aa=l(713449),al=l.n(aa);let an=e=>{let{titleHeading:a,goldRateData:l,searchId:r}=e,i=(0,t.useMemo)(()=>e7.map(e=>ae(e.value,l,r)),[l,r]),s=(e,a)=>{let l=i[a];return l?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("span",{children:(0,ew.a)(l.currentPrice*e.value,eI.b)}),(0,n.jsx)("span",{className:eC()("bodySmall",l.dayChangeClass),children:" (".concat(l.dayChangePerc,")")})]}):"--"},o=e=>(0,n.jsxs)(eF.T.Row,{className:"bodyBase",children:[(0,n.jsx)(eF.T.Cell,{children:e.label}),e7.map((a,l)=>(0,n.jsx)(eF.T.Cell,{textAlign:"right",children:s(e,l)},a.value))]},e.label);return(0,n.jsxs)("div",{className:"col l12",children:[(0,n.jsx)("div",{className:"valign-wrapper vspace-between",children:(0,n.jsx)("h2",{className:" displaySmall",children:a})}),(0,n.jsx)("div",{className:"grp846TableScroll",children:(0,n.jsxs)(eF.T,{className:al().table,children:[(0,n.jsx)(eF.T.Header,{children:(0,n.jsxs)(eF.T.Row,{className:"grp846RowBg bodyBase",children:[(0,n.jsx)(eF.T.HeaderCell,{width:"25%",style:{opacity:1},children:"Gram"}),e7.map(e=>(0,n.jsx)(eF.T.HeaderCell,{width:"25%",textAlign:"right",style:{opacity:1},children:e.label},e.value))]})}),(0,n.jsx)(eF.T.Body,{children:e6.map(e=>o(e))})]})})]})};var at=l(885371),ar=l(865729),ai=l(275063),as=l(207504),ao=l(832806),ad=l(207035),ac=l(606964),au=l(954770),ah=l(973202),ag=l(751987);let ap=e=>{var a,l;let{etfData:t,code:r}=e;return(0,n.jsxs)("div",{className:"valign-wrapper vspace-between gsrc456Row",children:[(0,n.jsx)(ek.A,{url:e_.bw.ETF+e_.bw.SLASH+encodeURIComponent(null==t?void 0:null===(a=t.companyHeader)||void 0===a?void 0:a.searchId),className:"contentPrimary bodyBaseHeavy",children:(0,n.jsx)("div",{className:"gsrc456CompanyName",children:null==t?void 0:null===(l=t.companyHeader)||void 0===l?void 0:l.shortName})}),(0,n.jsx)(ag.A,{code:r,children:e=>{let{currentPrice:a,dayChange:l,dayChangePercent:t}=e,r=(0,o._1)(t);return(0,n.jsxs)("div",{className:"right-align bodyBaseHeavy",children:[(0,n.jsx)("div",{children:(0,ew.a)(a,eI.b)}),(0,n.jsxs)("div",{className:" bodySmallHeavy ".concat(r),children:[(0,ew.a)(l),(0,n.jsxs)("span",{children:["(",(0,o.Bi)(t),")"]})]})]})}})]})},am=()=>{let[e,a]=(0,t.useState)(!1),[l,r]=(0,t.useState)([]),i=(0,ai.wA)();(0,t.useEffect)(()=>((0,ah.N)()&&ad.A.connect(),a(!0),(0,ac.SS)(["Gold"],0,6).then(e=>{var a,l;(null==e?void 0:null===(a=e.data)||void 0===a?void 0:a.etfs)&&r(null==e?void 0:null===(l=e.data)||void 0===l?void 0:l.etfs)}).catch(console.error).finally(()=>{a(!1)}),()=>{ad.A.disconnect()}),[]),(0,t.useEffect)(()=>
1{if(Array.isArray(l)&&l.length>0){let e=[],a=[];null==l||l.map(l=>{var n,t,r,i;(null==l?void 0:null===(n=l.companyHeader)||void 0===n?void 0:n.nseScriptCode)?e.push(null==l?void 0:null===(r=l.companyHeader)||void 0===r?void 0:r.nseScriptCode):(null==l?void 0:null===(t=l.companyHeader)||void 0===t?void 0:t.bseScriptCode)&&a.push(null==l?void 0:null===(i=l.companyHeader)||void 0===i?void 0:i.bseScriptCode)}),i((0,ao._w)({nseStockList:e,bseStockList:a}))}},[i,l]);let s=(0,d.a)(l)&&!e,o=e&&(0,d.a)(l);return s?null:(0,n.jsxs)("div",{className:"gsrc456TopEtf borderPrimary",children:[(0,n.jsxs)("div",{className:"valign-wrapper vspace-between gsrcTopEtfHead",children:[(0,n.jsx)("div",{className:"bodyXLargeHeavy",children:"Top Gold Etfs"}),(0,n.jsx)(ek.A,{url:e_.bw.GOLD,children:(0,n.jsx)(au.A,{size:20})})]}),o?(0,n.jsx)("div",{className:"",children:[0,1,2,3,4,5].map(e=>(0,n.jsx)("div",{children:(0,n.jsx)(as.Ay,{height:"70px",width:"100%",speed:2,backgroundColor:"var(--background-tertiary)",foregroundColor:"var(--background-secondary)",children:(0,n.jsx)("rect",{x:"0",y:"0",rx:"4",ry:"4",width:"100%",height:"65px"})})},e))}):null==l?void 0:l.map(e=>{var a,l,t,r;return(0,n.jsx)(ap,{etfData:e,code:null!==(r=null==e?void 0:null===(a=e.companyHeader)||void 0===a?void 0:a.nseScriptCode)&&void 0!==r?r:null==e?void 0:null===(l=e.companyHeader)||void 0===l?void 0:l.bseScriptCode},null==e?void 0:null===(t=e.companyHeader)||void 0===t?void 0:t.shortName)})]})};var av=l(587276);l(807972).A;let ay=[{name:"SBI Gold Mutual Fund",searchId:"sbi-gold-fund-direct-growth"},{name:"HDFC Gold Mutual Fund",searchId:"hdfc-gold-fund-direct-growth"},{name:"Axis Gold Mutual Fund",searchId:"axis-gold-fund-direct-growth"},{name:"Kotak Gold Mutual Fund",searchId:"kotak-gold-fund-direct-growth"},{name:"IDBI Gold Mutual Fund",searchId:"idbi-gold-fund-direct-growth"},{name:"Nippon India Gold Mutual Fund",searchId:"nippon-india-gold-savings-fund-direct-growth"},{name:"ICICI Prudential Gold Mutual Fund",searchId:"icici-prudential-regular-gold-savings-fund-direct-growth"}],aT=t.memo(()=>(0,n.jsxs)("div",{className:"gsrc456TopEtf borderPrimary",children:[(0,n.jsxs)("div",{className:"valign-wrapper vspace-between gsrcTopEtfHead",style:{padding:"20px 16px"},children:[(0,n.jsx)("div",{className:"bodyXLargeHeavy",children:"Top Gold Funds"}),(0,n.jsx)(ek.A,{url:e_.bw.GOLD,children:(0,n.jsx)(au.A,{size:20})})]}),null==ay?void 0:ay.map(e=>(0,n.jsx)("div",{className:"valign-wrapper vspace-between gsrc456Row",children:(0,n.jsx)(ek.A,{url:e_.bw.MF+e_.bw.SLASH+encodeURIComponent(null==e?void 0:e.searchId),className:"contentPrimary bodyBaseHeavy",children:(0,n.jsx)("div",{className:"gsrc456CompanyName",children:null==e?void 0:e.name})})}))]}));l(612545);let af=(0,ar.H)((0,t.memo)(e=>(0,n.jsx)(eE.A,{children:(0,n.jsxs)("div",{children:[(0,n.jsx)("div",{className:"gsrs456Container",children:(0,n.jsx)(at.A,{eventName:"goldRateCtaClicked",slug:"gold-rates",ctaData:e.actionHubData})}),(0,n.jsx)("div",{className:"gsrs456Container",children:(0,n.jsx)(am,{})}),(0,n.jsx)("div",{className:"gsrs456Container",children:(0,n.jsx)(aT,{})})]})})));var a_=l(206293),ax=l(954885);let ab={"24k":"TWENTY_FOUR"},aS=[{label:"7D",value:"W1",fallback:"M6",days:7},{label:"15D",value:"D15",fallback:"M6",days:15},{label:"30D",value:"M1",fallback:"M6",days:30},{label:"3M",value:"M3",fallback:"M6",days:90},{label:"6M",value:"M6",fallback:"M6",days:180},{label:"1Y",value:"Y1",fallback:"Y1",days:365},{label:"All",value:"ALL",fallback:"Y5"}],aG=async(e,a,l)=>aC(e,a).then(a=>aE(a,l,e)).catch(()=>[]),aN=e=>{let a=aP(e);return new Date(a||e)},aE=(e,a,l)=>{let n=aj(e);return Array.isArray(n)?aw(n.map((e,l)=>aR(e,l,a)).filter(e=>Number.isFinite(e.price)).sort((e,a)=>e.timestampMs&&a.timestampMs?e.timestampMs-a.timestampMs:e.index-a.index),l).map((e,a)=>{var l;return[a,e.price,{val:null!==(l=e.timestamp)&&void 0!==l?l:e.index}]}):[]},aj=e=>(0,d.f)(e,"data.prices.data",(0,d.f)(e,"data.data",(0,d.f)(e,"data",[]))),aC=(e,a)=>{let l={metal:"gold",purity:ab["24k"],range:e.value};return"india"===a?(0,j.eS)(l):(0,j.$s)(a,l)},aR=(e,a,l)=>{let n=Array.isArray(e)?e[0]:(0,d.f)(e,"timestamp",(0,d.f)(e,"date",(0,d.f)(e,"time",a))),t=Array.isArray(e)?e[1]:(0,d.f)(e,"price",(0,d.f)(e,"value",(0,d.f)(e,"rate",0)));return{index:a,timestamp:n,timestampMs:aP(n),price:Number(t)*l}},aw=(e,a)=>{var l;if(!a.days||e.length<2)return e;let n=null===(l=e[e.length-1])||void 0===l?void 0:l.timestampMs;if(!n)return e.slice(-aI(a.days,e.length));let t=n-864e5*a.days,r=e.filter(e=>{var a;return(null!==(a=e.timestampMs)&&void 0!==a?a:0)>=t});return r.length>1?r:e.slice(-2)},aI=(e,a)=>Math.min(a,Math.max(2,e)),aP=e=>{if("number"==typeof e)return e<1e12?1e3*e:e;if("string"==typeof e){let a=new Date(e).getTime();return Number.isFinite(a)?a:null}return null};var aD=l(547330);let aO=e=>{let{dropdownContent:a,onChange:l,activeIndex:t,placeHolder:r}=e;return(0,n.jsx)("div",{id:"grp846RatesDropDown",children:(0,n.jsx)(eA.S,{data:a,activeIndex:t,placeholder:r,activeOptionBoxClass:"grp846DropDownMain borderPrimary bodyBase",optionsParentClass:"grp846DropDownCont bodyBase",optionClass:"bodyBase cur-po",onSelectChange:l})})};aO.defaultProps={placeHolder:"Select a gram"};let aA=e=>{let{titleHeading:a,searchId:l}=e,[r,i]=(0,t.useState)(2),[s,o]=(0,t.useState)(0),[d,c]=(0,t.useState)([]),[u,h]=(0,t.useState)(!0),[g,p]=(0,t.useState)(!1),m=e6[r].value,v=aS[s],{ref:y,width:T}=(0,ax.A)();(0,t.useEffect)(()=>{p(!0)},[]),(0,t.useEffect)(()=>
1{if(!g)return;let e=!0;return h(!0),aG(v,l,m).then(a=>{e&&(c(a),h(!1))}).catch(()=>{e&&(c([]),h(!1))}),()=>{e=!1}},[m,g,l,v]);let f=(0,t.useMemo)(()=>{var e;let a=d[d.length-1];return null!==(e=null==a?void 0:a[1])&&void 0!==e?e:0},[d]),_=(0,t.useMemo)(()=>[{series:d,color:"var(--content-accent)",strokeWidth:2,key:"GOLD_RATES_GRAPH",showLastPointBlinking:!1,strokeOpacity:.9,isSeriesToScale:!0,allowToolTip:!0}],[d]);return(0,n.jsxs)("div",{className:"col l12",children:[(0,n.jsxs)("div",{className:"valign-wrapper vspace-between grp846SectionHeader",children:[(0,n.jsx)("h2",{className:" displaySmall",children:a}),(0,n.jsx)("div",{className:"col l3",children:(0,n.jsx)(aO,{dropdownContent:e6,activeIndex:r,onChange:e=>i(e)})})]}),(0,n.jsxs)("div",{className:"grp846GraphShell borderPrimary backgroundPrimary",children:[(0,n.jsx)("div",{className:"contentSecondary bodySmall",children:"Gold rate in India (24K)"}),(0,n.jsxs)("div",{className:"headingSmall grp846GraphPrice",children:[(0,ew.a)(f,eI.b),(0,n.jsx)("span",{className:"bodyBase contentSecondary",children:" /".concat(e6[r].label.toLowerCase())})]}),(0,n.jsx)("div",{className:"grp846GraphArea",ref:y,children:g?u?(0,n.jsx)("div",{className:"absolute-center grp846GraphLoader",children:(0,n.jsx)(aD.L,{loaderType:aD.a.CIRCULAR_BOLT})}):d.length?(0,n.jsx)(a_.A,{linePaths:_,width:T,height:240,paddingVert:10,paddingHorz:10,getTooltipUI:e=>{var a,l;let t=null==e?void 0:null===(a=e[0])||void 0===a?void 0:a.point;if(!t)return(0,n.jsx)(n.Fragment,{});let r=aN(null===(l=t[2])||void 0===l?void 0:l.val);return(0,n.jsxs)("div",{className:"contentPrimary bodySmall",children:[(0,n.jsx)("span",{children:(0,ew.a)(t[1],eI.b)}),(0,n.jsx)("span",{children:" | ".concat((0,R.b)(r,"D MMM YYYY"))})]})}},"".concat(v.value,"-").concat(m)):(0,n.jsx)("div",{className:"absolute-center contentSecondary bodyBase",children:"Graph data is unavailable"}):(0,n.jsx)("div",{className:"grp846GraphLoader"})}),(0,n.jsx)("div",{className:"grp846PillRow",children:aS.map((e,a)=>(0,n.jsx)(eD.P,{text:e.label,size:"Small",isAccent:!1,isSelected:s===a,onClick:()=>o(a)},e.value))})]})]})},aL=[{financialYear:"1964-65",ratePerTenGram:63.25,yoyChangePercent:null},{financialYear:"1965-66",ratePerTenGram:71.75,yoyChangePercent:13.4},{financialYear:"1966-67",ratePerTenGram:83.75,yoyChangePercent:16.7},{financialYear:"1967-68",ratePerTenGram:102.5,yoyChangePercent:22.4},{financialYear:"1968-69",ratePerTenGram:162,yoyChangePercent:58},{financialYear:"1969-70",ratePerTenGram:176,yoyChangePercent:8.6},{financialYear:"1970-71",ratePerTenGram:184,yoyChangePercent:4.5},{financialYear:"1971-72",ratePerTenGram:193,yoyChangePercent:4.9},{financialYear:"1972-73",ratePerTenGram:242.57,yoyChangePercent:25.7},{financialYear:"1973-74",ratePerTenGram:369.33,yoyChangePercent:52.3},{financialYear:"1974-75",ratePerTenGram:519.19,yoyChangePercent:40.6},{financialYear:"1975-76",ratePerTenGram:545.21,yoyChangePercent:5},{financialYear:"1976-77",ratePerTenGram:549.82,yoyChangePercent:.8},{financialYear:"1977-78",ratePerTenGram:637.93,yoyChangePercent:16},{financialYear:"1978-79",ratePerTenGram:791.22,yoyChangePercent:24},{financialYear:"1979-80",ratePerTenGram:1158.75,yoyChangePercent:46.5},{financialYear:"1980-81",ratePerTenGram:1522.44,yoyChangePercent:31.4},{financialYear:"1981-82",ratePerTenGram:1719.17,yoyChangePercent:12.9},{financialYear:"1982-83",ratePerTenGram:1722.54,yoyChangePercent:.2},{financialYear:"1983-84",ratePerTenGram:1858.47,yoyChangePercent:7.9},{financialYear:"1984-85",ratePerTenGram:1983.92,yoyChangePercent:6.8},{financialYear:"1985-86",ratePerTenGram:2125.47,yoyChangePercent:7.1},{financialYear:"1986-87",ratePerTenGram:2323.49,yoyChangePercent:9.3},{financialYear:"1987-88",ratePerTenGram:3082.43,yoyChangePercent:32.7},{financialYear:"1988-89",ratePerTenGram:3175.22,yoyChangePercent:3},{financialYear:"1989-90",ratePerTenGram:3229.33,yoyChangePercent:1.7},{financialYear:"1990-91",ratePerTenGram:3451.52,yoyChangePercent:6.9},{financialYear:"1991-92",ratePerTenGram:4297.63,yoyChangePercent:24.5},{financialYear:"1992-93",ratePerTenGram:4103.66,yoyChangePercent:-4.5},{financialYear:"1993-94",ratePerTenGram:4531.87,yoyChangePercent:10.4},{financialYear:"1994-95",ratePerTenGram:4667.24,yoyChangePercent:3},{financialYear:"1995-96",ratePerTenGram:4957.6,yoyChangePercent:6.2},{financialYear:"1996-97",ratePerTenGram:5070.71,yoyChangePercent:2.3},{financialYear:"1997-98",ratePerTenGram:4347.07,yoyChangePercent:-14.3},{financialYear:"1998-99",ratePerTenGram:4268.17,yoyChangePercent:-1.8},{financialYear:"1999-00",ratePerTenGram:4393.56,yoyChangePercent:2.9},{financialYear:"2000-01",ratePerTenGram:4473.6,yoyChangePercent:1.8},{financialYear:"2001-02",ratePerTenGram:4579.12,yoyChangePercent:2.4},{financialYear:"2002-03",ratePerTenGram:5332.36,yoyChangePercent:16.4},{financialYear:"2003-04",ratePerTenGram:5718.95,yoyChangePercent:7.2},{financialYear:"2004-05",ratePerTenGram:6145.38,yoyChangePercent:7.5},{financialYear:"2005-06",ratePerTenGram:6900.56,yoyChangePercent:12.3},{financialYear:"2006-07",ratePerTenGram:9240.32,yoyChangePercent:33.9},{financialYear:"2007-08",ratePerTenGram:9995.62,yoyChangePercent:8.2}
1,{financialYear:"2008-09",ratePerTenGram:12889.74,yoyChangePercent:29},{financialYear:"2009-10",ratePerTenGram:15756.09,yoyChangePercent:22.2},{financialYear:"2010-11",ratePerTenGram:19227.08,yoyChangePercent:22},{financialYear:"2011-12",ratePerTenGram:25722.42,yoyChangePercent:33.8},{financialYear:"2012-13",ratePerTenGram:30163.93,yoyChangePercent:17.3},{financialYear:"2013-14",ratePerTenGram:29190.39,yoyChangePercent:-3.2},{financialYear:"2014-15",ratePerTenGram:27414.55,yoyChangePercent:-6.1},{financialYear:"2015-16",ratePerTenGram:26534.26,yoyChangePercent:-3.2},{financialYear:"2016-17",ratePerTenGram:29665.28,yoyChangePercent:11.8},{financialYear:"2017-18",ratePerTenGram:29300.08,yoyChangePercent:-1.2},{financialYear:"2018-19",ratePerTenGram:31193.41,yoyChangePercent:6.5},{financialYear:"2019-20",ratePerTenGram:37017.91,yoyChangePercent:18.7},{financialYear:"2020-21",ratePerTenGram:48723.22,yoyChangePercent:31.6},{financialYear:"2021-22",ratePerTenGram:47999.25,yoyChangePercent:-1.5},{financialYear:"2022-23",ratePerTenGram:52730.77,yoyChangePercent:9.9},{financialYear:"2023-24",ratePerTenGram:60623.95,yoyChangePercent:15},{financialYear:"2024-25",ratePerTenGram:75841.87,yoyChangePercent:25.1},{financialYear:"2025-26",ratePerTenGram:146160,yoyChangePercent:92.7},{financialYear:"2026-27*",ratePerTenGram:145690,yoyChangePercent:-.3}];var aY=l(505695),aM=l.n(aY);let aH=()=>(0,n.jsxs)("div",{className:"col l12",children:[(0,n.jsx)("h2",{className:"displaySmall",children:"Historical Gold Rates in India"}),(0,n.jsx)("div",{className:"bodySmall contentSecondary",style:{marginTop:4},children:"Financial year-wise average 24K gold rate per 10 grams in India, based on RBI published data."}),(0,n.jsx)("div",{className:"grp846TableScroll ".concat(aM().verticalScroll),children:(0,n.jsxs)(eF.T,{className:aM().table,children:[(0,n.jsx)(eF.T.Header,{children:(0,n.jsxs)(eF.T.Row,{className:"grp846RowBg bodyBase",children:[(0,n.jsx)(eF.T.HeaderCell,{width:"34%",style:{opacity:1},children:"Financial Year"}),(0,n.jsx)(eF.T.HeaderCell,{width:"33%",textAlign:"right",style:{opacity:1},children:"24K Gold Rate (₹ per 10g)"}),(0,n.jsx)(eF.T.HeaderCell,{width:"33%",textAlign:"right",style:{opacity:1},children:"YoY Change"})]})}),(0,n.jsx)(eF.T.Body,{children:aL.map(e=>(0,n.jsxs)(eF.T.Row,{className:"bodyBase",children:[(0,n.jsx)(eF.T.Cell,{children:e.financialYear}),(0,n.jsx)(eF.T.Cell,{textAlign:"right",children:(0,ew.a)(e.ratePerTenGram,{isCurrency:!0})}),(0,n.jsx)(eF.T.Cell,{textAlign:"right",className:null===e.yoyChangePercent?"contentSecondary":(0,o._1)(e.yoyChangePercent),children:null===e.yoyChangePercent?"-":(0,o.Bi)(e.yoyChangePercent,!1,!0)})]},e.financialYear))})]})}),(0,n.jsx)("div",{className:"bodySmall contentSecondary",style:{marginTop:8},children:"* FY 2026-27 is a partial-year figure and is not directly comparable with full financial-year averages."})]}),ak=e=>{var a;let{titleHeading:l,goldRateData:r,searchId:i}=e,[s,d]=(0,t.useState)(2),c=null==r?void 0:r.daySummary,u=null==c?void 0:c[i],h=null==r?void 0:null===(a=r.physicalGoldRate)||void 0===a?void 0:a[i];if(!u&&!h)return null;let g=[h,...Object.values(null!=u?u:{})].filter(Boolean).filter((e,a,l)=>l.findIndex(a=>(null==a?void 0:a.date)===(null==e?void 0:e.date))===a).sort((e,a)=>{var l,n;return new Date(null!==(l=null==a?void 0:a.date)&&void 0!==l?l:"").getTime()-new Date(null!==(n=null==e?void 0:e.date)&&void 0!==n?n:"").getTime()}).slice(0,10),p=(e,a,l)=>{var t;let r=g[a+1],i=e6[s].value,d=e9(null==e?void 0:e.price,l)*i,c=r?e9(r.price,l)*i:0,u=null!==(t=e9(null==e?void 0:e.percentageChange,l))&&void 0!==t?t:0,h=(0,o._1)(c?d-c:d*u/100);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("span",{children:(0,ew.a)(d,{isCurrency:!0})}),(0,n.jsx)("span",{className:eC()("bodySmall",h),children:" (".concat((0,o.Bi)(u),")")})]})},m=(e,a)=>{let l=0===a&&(null==e?void 0:e.date)===(null==h?void 0:h.date)?"Today":(0,R.b)(null==e?void 0:e.date,"DD MMM YYYY");return(0,n.jsxs)(eF.T.Row,{className:"bodyBase",children:[(0,n.jsx)(eF.T.Cell,{children:l}),e7.map(l=>(0,n.jsx)(eF.T.Cell,{textAlign:"right",children:p(e,a,l.value)},l.value))]},l)};return(0,n.jsxs)("div",{className:"col l12",children:[(0,n.jsxs)("div",{className:"valign-wrapper vspace-between grp846SectionHeader",children:[(0,n.jsx)("div",{className:"valign-wrapper",children:(0,n.jsx)("h2",{className:" displaySmall",children:l})}),(0,n.jsx)("div",{className:"col l3",children:(0,n.jsx)(aO,{dropdownContent:e6,activeIndex:s,onChange:e=>d(e)})})]}),(0,n.jsx)("div",{className:"grp846TableScroll",children:(0,n.jsxs)(eF.T,{className:"grp846HistoricalTable",children:[(0,n.jsx)(eF.T.Header,{children:(0,n.jsxs)(eF.T.Row,{className:"grp846RowBg bodyBase",children:[(0,n.jsx)(eF.T.HeaderCell,{width:"20%",style:{opacity:1},children:"Date"}),e7.map(e=>(0,n.jsx)(eF.T.HeaderCell,{width:"25%",textAlign:"right",style:{opacity:1},children:"".concat(e.label.toUpperCase()," / ").concat(e6[s].label)},e.value))]})}),(0,n.jsx)(eF.T.Body,{children:g.map((e,a)=>m(e,a))})]})})]})};var aW=l(340536),aF=l(423085),aB=l(659381),aU=l.n(aB);let aK=e=>{let{goldRateData:a,locationSlugs:l,title:r="Gold Rates in Top cities",searchPlaceholder:i="Search for more cities",emptyText:s="No Cities Available"}=e,c=(0,t.useMemo)(()=>{var e;let n=(null==l?void 0:l.length)?l:null==a?void 0:a.trendingCities;return null!==(e=null==n?void 0:n.filter(e=>{var l;return!(0,d.a)(null==a?void 0:null===(l=a.physicalGoldRate)||void 0===l?void 0:l[e])}))&&void 0!==e?e:[]},[a,l]),[u,h]=(0,t.useState)(2),[g,p]=(0,t.useState)(""),[m,v]=(0,t.useState)(c),y=e6[u];(0,t.useEffect)(()=>{v(c)},[c]);let T=m.slice(0,10),f=e=>{var l,t;let r=null==a?void 0:null===(t=a.physicalGoldRate)||void 0===t?void 0:null===(l=t[e])||void 0===l?void 0:l.searchId,i=ae(e2.TWENTY_TWO_K,a,e,y.value);return e===eX.INDIA?null:(0,n.jsxs)(eF.T.Row,{vertPadding:"16px",horzPadding:"4%",className:"bodyBase",children:[(0,n.jsx)(eF.T.Cell,{children:(0,n.jsx)(ek.A,{url:e_.bw.GOLD_RATES+e_.bw.SLASH+r,className:"grp846CityName contentPrimary",onClick:()=>(0,d.K)(),children:_(e)})}),(0,n.jsx)(eF.T.Cell,{textAlign:"right",className:"grp846TopCityRow",children:(0,n.jsxs)("div",{className:"valign-wrapper",children:[(0,n.jsx)("div",{children:(0,ew.a)(null==i?void 0:i.currentPrice,eI.b)}),(0,n.jsx)("div",{className:null==i?void 0:i.dayChangeClass,style:{marginLeft:20},children:(0,ew.a)(null==i?void 0:i.dayChange,{withSign:!0})}),(0,n.jsxs)("div",{className:null==i?void 0:i.dayChangeClass,children:["(",null==i?void 0:i.dayChangePerc,")"]})]})})]},e)},_=e=>{var l,n;return(null==a?void 0:null===(n=a.physicalGoldRate)||void 0===n?void 0:null===(l=n[e])||void 0===l?void 0:l.priceLocation)||(0,o.l_)(e)};return(0,n.jsxs)("div",{className:"col l12",children:[(0,n.jsxs)("div",{className:"valign-wrapper vspace-between grp846SectionHeader",children:[(0,n.jsx)("h2",{className:" displaySmall",children:r}),(0,n.jsx)("div",{className:"col l3",children:(0,n.jsx)(aO,{dropdownContent:e6,activeIndex:u,onChange:e=>h(e)})})]}),(0,n.jsx)("div",{className:"bodySmallHeavy contentSecondary grp846RateBasis",children:"".concat(e2.TWENTY_TWO_K," - ").concat(y.label)}),(0,n.jsx)("div",{className:"grp846TableScroll",children:(0,n.jsx)(eF.T,{className:aU().table,children:(0,n.jsxs)(eF.T.Body,{children:[(0,n.jsxs)(eF.T.Row,{className:"grp846RowBg",vertPadding:"14px",horzPadding:"4%",children:[(0,n.jsx)(eF.T.Cell,{children:(0,n.jsxs)("div",{className:"valign-wrapper",children:[(0,n.jsx)(aW.A,{width:18,height:22,className:"contentSecondary grp846SearchIcon"}),(0,n.jsx)(aF.T,{fullWidth:!0,inputType:"text",showParentDivUnderline:!1,onInput:e=>{p(e.target.value),v(c.filter(a=>_(a).toLowerCase().includes(e.target.value.toLowerCase())))},value:g,fontSize:"14px",placeholder:i,inputClass:"grp846SearchMain contentPrimary grp846RowBg",removeUnderLine:!0})]})}),(0,n.jsx)(eF.T.Cell,{textAlign:"right",children:null})]}),(e=>(0,d.a)(e)?(0,n.jsxs)(eF.T.Row,{className:"bodyBase",vertPadding:"32px",horzPadding:"4%",children:[(0,n.jsx)(eF.T.Cell,{children:(0,n.jsx)("span",{className:"contentSecondary bodyLargeHeavy",children:s})}),(0,n.jsx)(eF.T.Cell,{textAlign:"right",children:null})]}):e.map(e=>f(e)))(T)]})})})]})};var aV=t.memo(function(e){let a=(0,av.C)(e);return t.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 95 76",...a},t.createElement("g",{fill:"none"},t.createElement("path",{fill:"#D2AB66",d:"m68.016 49.653-6.755 1.43-3.225-1.43H37.177l-3.225 1.43-6.754-1.43c-1.935 0-3.322-1.884-2.727-3.738l6.562-20.422a2.86 2.86 0 0 1 2.726-1.989h27.696c1.244 0 2.345.804 2.726 1.989l6.561 20.422c.597 1.863-.801 3.738-2.726 3.738"}),t.createElement("path",{fill:"#FFF",d:"m68.016 49.653-6.755 1.43-3.225-1.43h-10.43V23.504h13.849c1.244 0 2.345.804 2.726 1.989l6.561 20.422c.597 1.863-.801 3.738-2.726 3.738",opacity:.22}),t.createElement("path",{fill:"#FDDB9D",d:"M87.688 16.209a2.79 2.79 
10 0 0-3.871-.761l-6.349 4.263a2.787 2.787 0 0 0-.76 3.87 2.79 2.79 0 0 0 3.87.761l6.349-4.262a2.79 2.79 0 0 0 .76-3.871zM17.745 19.71l-6.348-4.262a2.789 2.789 0 1 0-3.111 4.631l6.35 4.263a2.789 2.789 0 1 0 3.11-4.631zM47.607.076a2.79 2.79 0 0 0-2.79 2.79v6.282a2.791 2.791 0 0 0 5.58 0V2.866a2.79 2.79 0 0 0-2.79-2.79"}),t.createElement("path",{fill:"#D2AB66",d:"M43.684 75.803H2.865a2.864 2.864 0 0 1-2.726-3.74L6.7 51.641a2.86 2.86 0 0 1 2.726-1.988h27.695c1.244 0 2.346.803 2.727 1.987l6.562 20.423a2.864 2.864 0 0 1-2.726 3.74"}),t.createElement("path",{fill:"#FFF",d:"M43.684 75.803h-20.41v-26.15H37.12c1.244 0 2.346.803 2.727 1.988l6.562 20.422a2.864 2.864 0 0 1-2.726 3.74z",opacity:.22}),t.createElement("path",{fill:"#D2AB66",d:"M91.983 75.803h-40.82a2.863 2.863 0 0 1-2.725-3.74l6.56-20.422a2.86 2.86 0 0 1 2.727-1.988H85.42c1.244 0 2.345.803 2.726 1.987l6.563 20.423a2.864 2.864 0 0 1-2.726 3.74"}),t.createElement("path",{fill:"#FFF",d:"M91.983 75.803h-20.41v-26.15H85.42c1.244 0 2.346.803 2.726 1.988l6.563 20.422a2.864 2.864 0 0 1-2.726 3.74",opacity:.22})))}),aq=l(231808),az=l(740493),aQ=l.n(az);let aX=e=>{var a,l;let{searchId:r,goldRateData:i,history:s}=e,[c,u]=(0,t.useState)([]),h=(null==i?void 0:null===(l=i.physicalGoldRate)||void 0===l?void 0:null===(a=l[r])||void 0===a?void 0:a.priceLocation)||(0,o.l_)(r),g=(0,t.useMemo)(()=>Object.keys(null==i?void 0:i.physicalGoldRate).map(e=>{var a,l;return{name:(null==i?void 0:null===(a=i.physicalGoldRate[e])||void 0===a?void 0:a.priceLocation)||(0,o.l_)(e),searchId:null==i?void 0:null===(l=i.physicalGoldRate[e])||void 0===l?void 0:l.searchId}}),[i]),p=(0,t.useCallback)(()=>{u(g)},[g]);(0,t.useEffect)(()=>{let e=document.getElementById("grp846SearchInput");return null==e||e.addEventListener("click",p),()=>null==e?void 0:e.removeEventListener("click",p)},[p]);let m=(e,a,l)=>(0,n.jsxs)("div",{className:"grp846CardDiv backgroundPrimary borderPrimary valign-wrapper vspace-between",children:[(0,n.jsxs)("div",{children:[(0,n.jsxs)("div",{className:"bodyBase",children:[(0,n.jsxs)("span",{children:[e," Gold"]}),(0,n.jsx)("span",{children:"\xa0/ 10gm"})]}),(0,n.jsx)("div",{className:"contentSecondary bodyBase",children:a})]}),(0,n.jsxs)("div",{children:[(0,n.jsx)("div",{className:"absolute-center bodyLargeHeavy",children:(0,ew.a)(null==l?void 0:l.currentPrice,eI.b)}),(0,n.jsxs)("div",{className:" bodyBaseHeavy ".concat(null==l?void 0:l.dayChangeClass),children:[(0,n.jsx)("span",{children:(0,ew.a)(null==l?void 0:l.dayChange,{withSign:!0})}),(0,n.jsxs)("span",{children:["(",null==l?void 0:l.dayChangePerc,")"]})]})]})]}),v=()=>{var e,a;let l=null==i?void 0:null===(a=i.physicalGoldRate)||void 0===a?void 0:null===(e=a[r])||void 0===e?void 0:e.date;return l?(0,R.b)(new Date("".concat(l,"T00:00:00")),"DD MMM YYYY"):(0,R.b)(new Date,"DD MMM YYYY")};return(0,n.jsxs)("div",{children:[(0,n.jsx)("div",{className:"grp846GoldIcon",children:(0,n.jsx)(aV,{custom:!0,width:49,height:42})}),(0,n.jsxs)("div",{className:"valign-wrapper vspace-between ".concat(aQ().grtopuiheader),style:{marginTop:8},children:[(0,n.jsx)("h1",{className:"displaySmall",style:{margin:0},children:"Gold Rate Today in ".concat(h," (").concat(v(),")")}),(0,n.jsx)(aq.A,{inputId:"grp846SearchInput",mainClass:"col l5",placeholder:"Search for city/state",suggestions:c,getSuggestions:e=>{(0,d.a)(e)?u(g):u(null==g?void 0:g.filter(a=>{var l;return null==a?void 0:null===(l=a.name)||void 0===l?void 0:l.toLowerCase().startsWith(e.toLowerCase())}))},onSelect:e=>{let a=e_.bw.GOLD_RATES+e_.bw.SLASH;if((null==e?void 0:e.searchId)&&(a+=null==e?void 0:e.searchId),null==e?void 0:e.searchId.includes("india")){s.push(e_.bw.GOLD_RATES);return}s.push(a)},autoComplete:"off",isClearable:!0})]}),(0,n.jsx)("div",{className:"contentSecondary bodySmall",style:{marginTop:8},children:"Last updated: ".concat(v())}),(()=>{let e=ae(e2.TWENTY_FOUR_K,i,r),a=ae(e2.TWENTY_TWO_K,i,r),l=ae(e2.EIGHTEEN_K,i,r);return(0,n.jsxs)("p",{className:"bodyBase contentSecondary",style:{marginTop:12},children:["Today's gold price in ".concat(h," stands at "),(0,n.jsx)("span",{className:"contentPrimary bodyBaseHeavy",children:(0,ew.a)(null==e?void 0:e.currentPrice,eI.b)})," per gram for 24 karat gold (99.9% purity), ",(0,n.jsx)("span",{className:"contentPrimary bodyBaseHeavy",children:(0,ew.a)(null==a?void 0:a.currentPrice,eI.b)}
1)," per gram for 22 karat gold (91.6% purity), and ",(0,n.jsx)("span",{className:"contentPrimary bodyBaseHeavy",children:(0,ew.a)(null==l?void 0:l.currentPrice,eI.b)})," per gram for 18 karat gold (75% purity)."]})})(),(0,n.jsx)("div",{children:(()=>{var e,a;let l=ae(e2.EIGHTEEN_K,i,r,10),t=ae(e2.TWENTY_TWO_K,i,r,10),s=ae(e2.TWENTY_FOUR_K,i,r,10),o=null==i?void 0:null===(a=i.physicalGoldRate)||void 0===a?void 0:null===(e=a[r])||void 0===e?void 0:e.date,d=o?(0,R.b)(new Date("".concat(o,"T00:00:00")),"DD MMM 'YY"):(0,R.b)(new Date,"DD MMM 'YY");return(0,n.jsxs)("div",{className:"valign-wrapper vspace-between ".concat(aQ().priceRow),children:[m("24K",d,s),m("22K",d,t),m("18K",d,l)]})})()})]})};l(707278),l(678560);class aJ extends t.PureComponent{componentDidMount(){this.setState({hasMounted:!0}),this.getComponentsOrderData()}render(){let{hasMounted:e}=this.state;return(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)(r.A,{ref:e=>this.pageWrapper=e,showExtendedFooter:!1,children:[(0,n.jsx)(r.A.Content,{children:this.getContentUI()}),e&&(0,n.jsx)(r.A.Action,{children:(0,n.jsx)(af,{actionHubData:this.props.actionHubData})}),this.getMetaTagsData(),this.getWebpageSchemaData(),this.getBreadcrumbSchemaData(),this.getFaqSchemaData()]})})}constructor(...e){super(...e),this.state={componentOrder:{india:e0.indiaSortedOrder,city:e0.citySortedOrder},hasMounted:!1},this.pageWrapper=null,this.getContentUI=()=>{let{goldRateData:e,history:a}=this.props,{componentOrder:l}=this.state,{searchId:t}=this.getSearchId(),r=(0,o.l_)(t),i=t!==eX.INDIA,s=this.getOrderedComponents(i?null==l?void 0:l.city:null==l?void 0:l.india),d=i?eZ(r):e$;return(0,n.jsxs)("div",{children:[(0,n.jsx)("div",{className:"grp846BreadcrumbWrapper",children:this.getBreadcrumbUI()}),(0,n.jsx)(aX,{searchId:t,goldRateData:e,history:a}),(0,n.jsx)(eE.A,{children:(0,n.jsx)("div",{children:(0,n.jsx)("div",{children:null==s?void 0:s.map(e=>this.getComponentUI(e,d))})})})]})},this.getComponentUI=(e,a)=>{let{searchId:l}=this.getSearchId();if(e1.includes(e))switch(e){case eJ.GOLD_FAQ:return(0,n.jsx)("div",{className:"grp846ExplWrapper col l12",children:(0,n.jsx)(eN.A,{faqs:a[eJ.GOLD_FAQ],faqHeading:"FAQs on Gold Price in ".concat((0,o.l_)(l)),isHtmlContent:!0})});case eJ.GOLD_SUB_TEXT:return null;default:return this.getStaticComponentsUI(e,a)}switch(e){case eJ.GOLD_RATES_IN_TOP_CITIES:return this.getGoldRatesTopCitiesUI(l);case eJ.GOLD_RATES_PER_GRAM:return this.getGoldRatesPerGramUI(l);case eJ.HISTORICAL_GOLD_RATES:return this.getHistoricalDataUI(l);case eJ.HISTORICAL_GOLD_RATES_TREND:return this.getHistoricalGoldRatesTrendUI();case eJ.TREND_OF_GOLD_RATES:return this.getGoldTrendsUI(l);case eJ.TRUE_COST_OF_GOLD:return this.getTrueCostOfGoldUI(l);case eJ.GOLD_RATE_CALCULATOR:return this.getGoldRateCalculatorUI(l);case eJ.GOLD_RATES_IN_STATES:return this.getGoldRatesInStatesUI(l);case eJ.MONTHLY_GOLD_MOVEMENTS:return this.getMonthlyMovementsUI(l)}},this.getOrderedComponents=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],a=[eJ.GOLD_SUB_TEXT,eJ.GOLD_RATES_PER_GRAM,eJ.HISTORICAL_GOLD_RATES,eJ.GOLD_RATES_IN_TOP_CITIES,eJ.TREND_OF_GOLD_RATES,eJ.TRUE_COST_OF_GOLD,eJ.GOLD_RATE_CALCULATOR,eJ.MONTHLY_GOLD_MOVEMENTS,eJ.GOLD_RATES_IN_STATES,eJ.HISTORICAL_GOLD_RATES_TREND],l=new Set([...a,...e]);return[...a.filter(e=>l.has(e)),...e.filter(e=>!a.includes(e))]}
1,this.getStaticComponentsUI=(e,a)=>{let l=null==a?void 0:a[e];if(!l)return null;let t=null==l?void 0:l.paragraphs,r=null==l?void 0:l.listItems;return(0,n.jsxs)("div",{className:"grp846ExplWrapper col l12 grp846Textjustify",children:[(0,n.jsx)("h2",{className:"displaySmall",children:null==l?void 0:l.heading}),(0,n.jsxs)("div",{className:"bodyLarge",children:[null==t?void 0:t.map((a,l)=>(0,n.jsx)("p",{className:"bodyLarge",children:a},e+l)),(0,n.jsx)("ul",{style:{paddingLeft:16},children:null==r?void 0:r.map(e=>(0,n.jsx)("li",{children:e},e))})]})]})},this.getGoldRatesTopCitiesUI=e=>{let{goldRateData:a}=this.props,l=u(a,e),t="country"===l.type?h(a):g(a,l.stateSlug),r="country"===l.type?"Gold Rates in Popular States":v("Gold",l),i="country"===l.type?"Search for more states":"Search for more cities",s="country"===l.type?"No States Available":"No Cities Available";return(0,n.jsx)("div",{className:"grp846ExplWrapper col l12",children:(0,n.jsx)(aK,{searchId:e,goldRateData:a,locationSlugs:t.map(e=>e.slug),title:r,searchPlaceholder:i,emptyText:s})})},this.getGoldRatesPerGramUI=e=>{let{goldRateData:a}=this.props;return(0,n.jsx)("div",{className:"grp846ExplWrapper col l12",children:(0,n.jsx)(an,{searchId:e,goldRateData:a,titleHeading:this.getDynamicContentHeading("Today Gold Rates Price Per Gram in",e)})})},this.getHistoricalDataUI=e=>{let{goldRateData:a}=this.props;return(0,n.jsx)("div",{className:"grp846ExplWrapper col l12",children:(0,n.jsx)(ak,{searchId:e,goldRateData:a,titleHeading:this.getDynamicContentHeading("Gold Rate in",e)+" - Last 10 Days"})})},this.getHistoricalGoldRatesTrendUI=()=>(0,n.jsx)("div",{className:"grp846ExplWrapper col l12",children:(0,n.jsx)(aH,{})}),this.getGoldTrendsUI=e=>{let{goldRateData:a}=this.props;return(0,n.jsx)("div",{className:"grp846ExplWrapper col l12",children:(0,n.jsx)(aA,{searchId:e,goldTrendData:null==a?void 0:a.goldTrend,titleHeading:"Gold Price Trend - Weekly & Monthly"})})},this.getMonthlyMovementsUI=e=>{let a=e===eX.INDIA;return(0,n.jsx)("div",{className:"grp846ExplWrapper col l12",children:(0,n.jsx)(i.A,{location:a?"india":e,metal:"gold",title:a?"Monthly Gold Price Movements in India":"Monthly Gold Price Movements"})})},this.getTrueCostOfGoldUI=e=>(0,n.jsx)("div",{className:"grp846ExplWrapper col l12",children:(0,n.jsx)(eB,{goldRateData:this.props.goldRateData,searchId:e})}),this.getGoldRateCalculatorUI=e=>{let{goldRateData:a}=this.props;return(0,n.jsx)("div",{className:"grp846ExplWrapper col l12",children:(0,n.jsx)(eM,{goldRateData:a,searchId:e})})},this.getGoldRatesInStatesUI=e=>(0,n.jsx)("div",{className:"grp846ExplWrapper col l12",children:(0,n.jsx)(eW,{goldRateData:this.props.goldRateData,searchId:e,includeCityTable:!0})}),this.getDynamicContentHeading=(e,a)=>e+" "+(0,o.l_)(a),this.getComponentsOrderData=()=>{(0,s.v0)().then(e=>{var a;let l=null===(a=e.data)||void 0===a?void 0:a.cityComponent,n=e.data.indiaComponent,t=Object.keys(l).sort((e,a)=>l[e]-l[a]),r=Object.keys(n).sort((e,a)=>n[e]-n[a]);this.setState({componentOrder:{india:r,city:t}})})},this.getSearchId=()=>{var e,a;let{match:l,goldRateData:n}=this.props,t="",r=null==l?void 0:null===(a=l.params)||void 0===a?void 0:null===(e=a.slug)||void 0===e?void 0:e[0];return(0,d.a)(r)?t=eX.INDIA:(t=(0,o.OQ)(null==n?void 0:n.physicalGoldRate,r))||(t=eX.INDIA),{searchId:t}},this.getMetaTagsData=()=>{var e,a;let{match:l,goldRateData:n}=this.props,{cityName:t,routeSearchId:r}=S(null==l?void 0:null===(a=l.params)||void 0===a?void 0:null===(e=a.slug)||void 0===e?void 0:e[0],null==n?void 0:n.physicalGoldRate),{title:i,desc:s,routeName:o}=this.getMetaTagsTitleDesc(r,t);return(0,ez.X0)({title:i,desc:s,noIndex:!1,routeName:o},"https://groww.in")},this.getWebpageSchemaData=()=>{var e,a,l,n;let{match:t,goldRateData:r}=this.props,{searchId:i,cityName:s,routeSearchId:o}=S(null==t?void 0:null===(a=t.params)||void 0===a?void 0:null===(e=a.slug)||void 0===e?void 0:e[0],null==r?void 0:r.physicalGoldRate),{title:d,desc:c,routeName:u}=this.getMetaTagsTitleDesc(o,s);return G({title:d,desc:c,routeName:u,dateModified:null==r?void 0:null===(n=r.physicalGoldRate)||void 0===n?void 0:null===(l=n[i])||void 0===l?void 0:l.date},"https://groww.in")},this.getBreadcrumbItemsData=()=>{var e,a;let{match:l,goldRateData:n}=this.props,{cityName:t,isCityPage:r,routeSearchId:i}=S(null==l?void 0:null===(a=l.params)||void 0===a?void 0:null===(e=a.slug)||void 0===e?void 0:e[0],null==n?void 0:n.physicalGoldRate),{routeName:s}=this.getMetaTagsTitleDesc(i,t);return N(s,t,r)},this.getBreadcrumbSchemaData=()=>(0,eU.f)(this.getBreadcrumbItemsData(),"https://groww.in"),this.getBreadcrumbUI=()=>{var e;let a=this.getBreadcrumbItemsData(),l=null===(e=a[a.length-1])||void 0===e?void 0:e.name,t=a.slice(0,-1);return(0,n.jsx)(eK.A,{_target:eq.Eg.DESKTOP,content:t,masterText:l})}
1,this.getFaqSchemaData=()=>{var e,a;let{match:l,goldRateData:n}=this.props,{searchId:t,cityName:r}=S(null==l?void 0:null===(a=l.params)||void 0===a?void 0:null===(e=a.slug)||void 0===e?void 0:e[0],null==n?void 0:n.physicalGoldRate),i=(t!==eX.INDIA?eZ(r):e$)[eJ.GOLD_FAQ];return Array.isArray(i)&&i.length>0?(0,eU.e)(i):null},this.getMetaTagsTitleDesc=(e,a)=>{let l=e!==eX.INDIA,n="Gold Rate Today in India - 18k, 22k, 24k Gold Rates",t="Check live 18k, 22k & 24k carat gold rates in India today for 1 gram to 12 grams. Track current trends and last 10 days historical gold price in India at Groww.",r=e_.bw.GOLD_RATES;if(l){let l=(0,o.l_)(a);n="Gold Rate Today in ".concat(l," - 18k, 22k, 24k Gold Rates"),t="Check today's gold rate in ".concat(l," and also get current 18k, 22k & 24k carat gold price for 1 gram to 10 grams in ").concat(l)+" along with historical price trends at Groww.",r=e_.bw.GOLD_RATES+e_.bw.SLASH+e}return{title:n,desc:t,routeName:r}}}}aJ.getInitialProps=(0,eV.qC)(async e=>{let{asPath:a}=e,l=await eS(a||""),{searchId:n,isSearchNameIndia:t}=function(e,a){let l=(0,d.i)(e)||"",n=l===e_.bw.GOLD_RATES.slice(1)||l===ex,t="";return(0,d.a)(l)?t=ex:!a||(t=(0,o.OQ)(a.physicalGoldRate,l))||(t=ex),{searchId:t,isSearchNameIndia:n,citySearchId:l}}(a||"",l),r=function(e,a,l){if(!l)return{isError:!0};if(a)return{};let n=Object.keys(l.physicalGoldRate).length>0;return l.physicalGoldRate[e]?{}:n?{notFound:!0}:{isError:!0}}(n,t,l);if(r.notFound)return{notFound:!0};if(r.isError)throw Error("page not loaded");return{props:{goldRateData:l,actionHubData:await eG()}}});let a$=(0,eV.Ay)(aJ)},678560:()=>{},707278:()=>{},713449:e=>{e.exports={table:"goldRatesPerGram_table___1P4d"}},740493:e=>{e.exports={priceRow:"TopUI_priceRow__gNAqD",grtopuiheader:"TopUI_grtopuiheader__Q9o5k"}},790771:(e,a,l)=>{"use strict";l.d(a,{$x:()=>y,Dc:()=>m,L9:()=>v,LM:()=>T,bp:()=>x,s0:()=>f,w8:()=>_});var n=l(65448),t=l(698546),r=l(781294),i=l(980581),s=l(913180),o=l(876694),d=l(566168),c=l(141586),u=l(804822),h=l(965841),g=l(194036),p=l(531198);n.A,t.A,r.A,i.A,s.A,o.A;let m=[{label:"Buy small",image:d.A,desc:"Purchase gold in fractions for as low as Rs 10"},{label:"Sell anytime",image:c.A,desc:"Liquidate your Digital Gold and get your money in 2 days"},{label:"100% secure",image:u.A,desc:"Stored in secured vaults and insured (verified by an independent trustee)"},{label:"Transparent",image:h.A,desc:"Live market price tracking and zero making charges"},{label:"Diversify",image:g.A,desc:"Balance your portfolio with Digital Gold to reduce risk concentration"},{label:"Exchange",image:p.A,desc:"Convert your Digital Gold to physical gold in the form of coins/bars/jewellery (coming soon)"}],v={PENDING:"PENDING",REGISTERED:"REGISTERED"},y={VERIFIED:"VERIFIED",KYC_IN_GROWW:"KYC_IN_GROWW",PENDING:"PENDING"},T={MAX_AMOUNT_GENERAL:5e6,MAX_AMOUT_FIRST_TIME:17e4,MIN_AMOUNT:10},f={BUY:[{heading:"Enter the amount",para:"You can input your desired purchase amount in rupees or grams of gold."},{heading:"Buy in one-click",para:"Review your order and place order using UPI/Netbanking within the 5-minute price window."},{heading:"Secured and insured",para:"Your gold locker will be updated, where you can view your purchased Digital Gold holdings."}],SELL:[{heading:"Enter units to sell",para:"The current selling price will be shown."},{heading:"Sell in one-click",para:"Review and place your sell request within the 5-minute price window."},{heading:"Request confirmed",para:"Your gold locker will be updated, where you can view your Digital Gold balance."}]},_={LOADING:"LOADING",FAILED:"FAILED",PENDING:"PENDING",SUCCESS:"SUCCESS",PENDING_WITH_GROWW:"PENDING_WITH_GROWW",PENDING_WITH_MERCHANT:"PENDING_WITH_MERCHANT",COMPLETED:"COMPLETED",IN_PROGRESS:"IN_PROGRESS"},x="https://resources.groww.in/web-assets/json/growth/gold-rates.json"},807972:(e,a,l)=>{"use strict";l.d(a,{A:()=>r});var n=l(407178),t=l(587276),r=n.memo(function(e){let a=(0,t.C)(e);return n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 28 28",...a},n.createElement("path",{fill:"currentColor",d:"M25.703 9.321 15.614 1.696a2.72 2.72 0 0 0-3.22 0L2.303 9.32c-.965.725-1.371 2.015-1.004 3.193l3.854 12.342c.365 1.179 1.42 1.978 2.61 1.977h12.469c1.19 0 2.244-.798 2.61-1.977l3.854-12.342c.37-1.176-.032-2.466-.994-3.193"}
1),n.createElement("circle",{cx:13.999,cy:15.167,r:5.833,fill:"#F6F6F7"}))})},915317:(e,a,l)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/gold-rates/[[...slug]]",function(){return l(671459)}])},937106:e=>{e.exports={explWrapper:"goldRateSections_explWrapper__BY2oY",sectionHeading:"goldRateSections_sectionHeading___Js_V",pillRow:"goldRateSections_pillRow__8uLfS",calculatorShell:"goldRateSections_calculatorShell__czLPl",calculatorControls:"goldRateSections_calculatorControls__DHeGT",calculatorInput:"goldRateSections_calculatorInput__NSz_6",calculatorLabel:"goldRateSections_calculatorLabel__ki6UL",pillRowInner:"goldRateSections_pillRowInner__fR2hP",calculatorSummary:"goldRateSections_calculatorSummary__89syk",calculatorTotal:"goldRateSections_calculatorTotal__wRqwf",calculatorNote:"goldRateSections_calculatorNote__mwgzk",calculatorChart:"goldRateSections_calculatorChart__hGD4h",chartLegend:"goldRateSections_chartLegend__98273",legendDot:"goldRateSections_legendDot__ef_gb",calculatorChartCanvas:"goldRateSections_calculatorChartCanvas__h2cnr",chartTotal:"goldRateSections_chartTotal__B9eWU",sliderWrapper:"goldRateSections_sliderWrapper__wJaMS",sliderTrack:"goldRateSections_sliderTrack__4Nvhf",sliderThumb:"goldRateSections_sliderThumb__Poukt",rowBg:"goldRateSections_rowBg__7_TXr",trueCostTable:"goldRateSections_trueCostTable__8P_sp"}}},e=>{var a=a=>e(e.s=a);e.O(0,[75780,38794,20876,49463,71188,7624,5888,63714,33019,77284,58875,8478,89930,74732,68981,43449,11833,64069,30421,43059,56438,67823,60621,31808,73301,90636,46593,38792],()=>a(915317)),_N_E=e.O()}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.