1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6887],{4100:e=>{e.exports={"de-table-striped":"table_de-table-striped__Xj9IW",white:"table_white__d33bu",grey:"table_grey__d18YC",blue:"table_blue__t412r"}},7759:(e,t,n)=>{"use strict";n.d(t,{A:()=>x});var s=n(42969),i=n(14232),o=n(21702),r=n(16037),a=n(27104),c=n(26480),l=n(15039),d=n.n(l),p=n(43405),u=n(88004),_=n(90657),h=n.n(_),m=n(37876),f=function(e){var t=e.link,n=e.tooltip,s=e.className,i=e.linkText,o=e.setShow;return t?(0,m.jsxs)(r.A,{onMouseEnter:function(){return o(!0)},onMouseLeave:function(){return o(!1)},id:"popover-basic",className:s,children:[(0,m.jsx)(r.A.Header,{as:"div",children:n}),(0,m.jsx)(r.A.Body,{children:(0,m.jsx)(u.A,{href:t,target:"_blank",rel:"noreferrer",children:i||"Learn More"})})]}):(0,m.jsx)(a.A,{onMouseEnter:function(){return o(!0)},onMouseLeave:function(){return o(!1)},className:s,children:n})};let x=function(e){var t=e.link,n=e.tooltip,r=e.className,a=e.tooltipPlacement,l=e.linkText,u=e.dashedTooltip,_=e.children,x=e.eventObj,g=e.dashedTextClassName,b=(0,i.useState)(!1),j=b[0],v=b[1],y=(0,i.useRef)(null),w=function(){v(!j),x&&(0,c.sx)(x)},N=d()("".concat(h()["de-tooltip"]," ").concat(r),(0,s.A)({},h()["de-tooltip-indian"],p.TO));return(0,m.jsxs)("div",{style:{display:"inline-block"},children:[u?(0,m.jsx)("span",{className:d()(h()["de-dashed-tooltip"],"dashed-border",g),ref:y,onClick:function(){return w()},onTouchEnd:function(){return v(!1)},onMouseLeave:function(){return v(!1)},children:_}):(0,m.jsx)("div",{className:N,ref:y,onClick:function(){return w()},onTouchEnd:function(){return v(!1)},onMouseLeave:function(){return v(!1)}}),(0,m.jsx)(o.A,{show:j,onHide:function(){return v(!1)},target:y.current,placement:a||"top",children:f({link:t,tooltip:n,className:r,linkText:l,setShow:v})})]})}},7852:(e,t,n)=>{"use strict";n.d(t,{A:()=>r}),n(14232);var s=n(37691),i=n.n(s),o=n(37876);let r=function(e){var t=e.className;return(0,o.jsx)("span",{className:"".concat(void 0===t?"":t," ").concat(i()["de-dots-loader"]),children:(0,o.jsxs)("span",{className:i()["lds-ellipsis"],children:[(0,o.jsx)("div",{}),(0,o.jsx)("div",{}),(0,o.jsx)("div",{})]})})}},11966:(e,t,n)=>{"use strict";n.d(t,{D:()=>i,n:()=>s});var s=n(82440).LU?"https://static.delta.exchange/seo/india/delta_twitter_og_img.jpg":"https://static.delta.exchange/seo/global/faida_og_image.jpg",i="https://static.delta.exchange/seo/india/refer-and-earn-og-image-new.png"},29372:(e,t,n)=>{"use strict";n.d(t,{A:()=>h});var s=n(42969),i=n(59860),o=n(15039),r=n.n(o),a=n(14232),c=n(96855),l=n(37876),d=["bsPrefix","fluid","as","className"];function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,s)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach(function(t){(0,s.A)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var _=a.forwardRef(function(e,t){var n=e.bsPrefix,s=e.fluid,o=void 0!==s&&s,a=e.as,p=e.className,_=(0,i.A)(e,d),h=(0,c.oU)(n,"container");return(0,l.jsx)(void 0===a?"div":a,u(u({ref:t},_),{},{className:r()(p,o?"".concat(h).concat("string"==typeof o?"-".concat(o):"-fluid"):h)}))});_.displayName="Container";let h=_},37691:e=>{e.exports={"de-dots-loader":"dotsLoader_de-dots-loader__lAtMR",small:"dotsLoader_small__kW3cV","lds-ellipsis":"dotsLoader_lds-ellipsis__NiabQ","overview-card-loader":"dotsLoader_overview-card-loader__aXPkx","pools-card-loader":"dotsLoader_pools-card-loader__Sf2ql",overview:"dotsLoader_overview__HmDnQ","strategy-details-loader":"dotsLoader_strategy-details-loader__eoQu3","cancel-btn-loader":"dotsLoader_cancel-btn-loader__QdMXP","white-dots":"dotsLoader_white-dots__NhKKQ","support-ticket":"dotsLoader_support-ticket__Y8_gc","offers-loader":"dotsLoader_offers-loader__YCRlm","lds-ellipsis1":"dotsLoader_lds-ellipsis1__VVZMf","lds-ellipsis2":"dotsLoader_lds-ellipsis2__8WlYp","lds-ellipsis3":"dotsLoader_lds-ellipsis3__Zgnj6","strategies-card-loader":"dotsLoader_strategies-card-loader__EaE2Y","transactions-loader":"dotsLoader_transactions-loader__fuNCH","m-cancel-btn-loader":"dotsLoader_m-cancel-btn-loader__n5OgM"}},40216:(e,t,n)=>{var s=n(83922);e.exports=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=s(e)););return e},e.exports.__esModule=!0,e.exports.default=e.exports},52354:e=>{e.exports={"cursor-based-pagination":"pagination_cursor-based-pagination__WfMDg","transaction-logs-pagination":"pagination_transaction-logs-pagination__hc48C"}},54411:(e,t,n)=>{"use strict";n.d(t,{$O:()=>i.A,c4:()=>s.A,dK:()=>d});var s=n(7852),i=n(74284);n(61752);var o=n(37876);n(7759);var r=n(52354),a=n.n(r),c=function(){return(0,o.jsx)("svg",{width:"8",he
1ight:"14",viewBox:"0 0 8 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,o.jsx)("path",{d:"M1 13L7 7L1 1",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})},l=function(){return(0,o.jsx)("svg",{width:"8",height:"14",viewBox:"0 0 8 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,o.jsx)("path",{d:"M7 1L0.999999 7L7 13",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})};let d=function(e){var t=e.nextPageHandler,n=e.previousPageHandler,s=e.totalCount,i=e.currentPage,r=e.className,d=e.pageCount,p=void 0===d?10:d,u=e.disabledNext;if(s<=p)return null;var _=Math.max(1,i*p),h=Math.min(s,(i+1)*p),m="".concat(_,"-").concat(h," of ").concat(s);return(0,o.jsxs)("div",{className:"".concat(a()["cursor-based-pagination"]," ").concat(r||""),children:[(0,o.jsx)("button",{disabled:0===i,onClick:n,role:"button","aria-label":"prev-button","aria-labelledby":"prev-button",children:(0,o.jsx)(l,{})}),(0,o.jsx)("span",{children:m}),(0,o.jsx)("button",{disabled:Math.floor(s/p)===i||void 0!==u&&u,onClick:t,role:"button","aria-label":"prev-button","aria-labelledby":"prev-button",children:(0,o.jsx)(c,{})})]})}},61752:e=>{e.exports={loader:"spinner_loader__PZI3s"}},69003:e=>{e.exports={"indices-page-container":"indices_indices-page-container__KzlZR","de-navbar--active":"indices_de-navbar--active__vm0BJ","to
1p-fold-section":"indices_top-fold-section__9jroJ",container:"indices_container__FwnKL","left-section":"indices_left-section__yC2vi","row-one":"indices_row-one__sWvdR",title:"indices_title__pvI6e",dropdown:"indices_dropdown__GZR6h","dropdown-container":"indices_dropdown-container__KR3L3",active:"indices_active__WUfLc","row-two":"indices_row-two__pj9na",text:"indices_text__ooI_j","right-section":"indices_right-section__mJpbT","de-jumbo--indices":"indices_de-jumbo--indices__lsAny","de-jumbo__title":"indices_de-jumbo__title__vf3m9","de-jumbo__title--sm":"indices_de-jumbo__title--sm__gzSo7",show:"indices_show__s_9wE","dropdown-icon":"indices_dropdown-icon__FfKX9","current-price":"indices_current-price__W9zwW",indices:"indices_indices___96Q2",heading:"indices_heading__o5Oi1",details:"indices_details__z_FRN","defi-table":"indices_defi-table__zkxeO","price-history":"indices_price-history__UkAFR",calculation:"indices_calculation__upNlU","dark-bg":"indices_dark-bg__7VPoG","highcharts-container":"indices_highcharts-container__LXOCC",desc:"indices_desc__3i4l1","dropdown-menu":"indices_dropdown-menu__g1I_4"}},76444:(e,t,n)=>{"use strict";n.r(t),n.d(t,{__N_SSP:()=>es,default:()=>ei});var s=n(63857),i=n(67251),o=n(23745),r=n(80033),a=n(76966),c=n(73910),l=n(52672),d=n(42969),p=n(43081),u=n.n(p),_=n(14232),h=n(62880),m=n(8526),f=n(59921),x=n(29372),g=n(98177),b=n(56792),j=n(30215),v=n(30388),y=n(31777),w=n(37876),N=function(e){(0,a.A)(s,e);var t,n=(t=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,n=(0,l.A)(s);return e=t?Reflect.construct(n,arguments,(0,l.A)(this).constructor):n.apply(this,arguments),(0,c.A)(this,e)});function s(e){return(0,i.A)(this,s),n.call(this,e)}return(0,o.A)(s,[{key:"render",value:function(){var e,t,n=this.props.spotPriceObj?null==(e=Number(this===null||void 0===this||null==(t=this.props)||null==(t=t.spotPriceObj)?void 0:t.spot_price))?void 0:e.toFixed(this.props.precision):null;return n&&(0,w.jsxs)(_.Fragment,{children:[(0,w.jsx)("span",{className:"text",children:this.props.text}),(0,w.jsx)("b",{className:"price ps-1",children:n}),(0,w.jsx)("b",{className:"symbol ps-2",children:this.props.quoting_asset})]})||null}}]),s}(_.Component);let A=(0,y.Ng)(function(e,t){return{spotPriceObj:e.socketProducts[t.symbol]}},{})(N);var k=n(89099),D=n(21772),O=n(11041),C=n(50340),S=n(81030),L=n(69003),T=n.n(L),P=n(15039),M=n.n(P),E=n(11966),I=n(4100),U=n.n(I),R=n(77328),F=n.n(R),q=n(44252),K=n.n(q),B=n(23234),W=n(82440),X=function(e,t,n){K().stockChart("de-future-guide-chart",{time:{timezone:W.LU?"Asia/Kolkata":"UTC"},title:{text:null},exporting:{enabled:!1},rangeSelector:{enabled:!1},credits:{enabled:!1},chart:{height:n?320:400},series:[{name:t,type:"candlestick",data:e,tooltip:!1}],plotOptions:{candlestick:{color:"#00ce7d",lineColor:"#00ce7d",upLineColor:"#e55541",upColor:"#e55541"}}})},z=function(e,t){K().stockChart("chart-container",{time:{timezone:W.LU?"Asia/Kolkata":"UTC"},colors:["#f45b5b","#8085e9","#8d4654","#7798BF","#aaeeee","#ff0066","#eeaaee","#55BF3B","#DF5353","#7798BF","#aaeeee"],xAxis:{},title:{text:null},exporting:{enabled:!1},rangeSelector:{enabled:!1},credits:{enabled:!1},series:[{name:t,type:"candlestick",data:e,tooltip:{}}]})},H=function(){var e=(0,s.A)(u().mark(function e(t,n,s,i,o,r){var a,c,l;return u().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(a=[],".DEUSDTUSD"!==t){e.next=5;break}a=[[1e3*s,1,1,1,1],[(s+(i-s)/2)*1e3,1,1,1,1],[1e3*i,1,1,1,1]],e.next=10;break;case 5:return e.next=7,fetch("".concat("https://cdn.india.deltaex.org","/v2/chart/history?symbol=").concat(t,"&from=").concat(s,"&to=").concat(i,"&resolution=15")).then(function(e){return e.json()}).catch(function(e){return(0,B.n)(e,"chart history API Error")});case 7:(l=null!=(c=e.sent)&&c.success?c.result:[]).t&&l.t.map(function(e,t){a.push([1e3*e,Number(l.o[t].toFixed(n)),Number(l.h[t].toFixed(n)),Number(l.l[t].toFixed(n)),Number(l.c[t].toFixed(n))])});case 10:return o?z(a,t):X(a,t,r),e.abrupt("return",a);case 12:case"end":return e.stop()}},e)}));return function(t,n,s,i,o,r){return e.apply(this,arguments)}}(),V=n(52003),Y=n(88139),Q=n(54411),$=n(86649),Z=C.TO?".DEXBTUSD":".DEXBTUSDT",J=function(e){var t=e.title,n=e.spotIndices,s=e.spotData,i=e.onClick,o=e.indicesIndex,r=e.indicesCurrentPriceLabel,a=e.quotingAsset,c=e.img_src,l=e.img_alt,d=(0,k.useRouter)(),p=n.filter(function(e){return"USD"===e.quoting_asset.symbol||"USDT"===e.quoting_asset.symbol}),u=C.TO?p:n;return(0,w.jsxs)("div",{className:T().container,children:[(0,w.jsxs)("div",{className:T()["left-section"],children:[(0,w.jsxs)("div",{className:T()["row-one"],children:[(0,w.jsx)("div",{className:T().title,children:t}),(0,w.jsxs)(m.A,{className:T().dropdown,children:[(0,w.jsx)(m.A.Toggle,{as:et}),(0,w.jsx)(m.A.Menu,{as:en,className:M()(T()["dropdown-menu"]),children:u.map(function(e,t){return(0,w.jsx)(f.A,{xs:"6",className:"px-0 col-item",children:(0,w.jsxs)(m.A.Item,{className:"".concat(s.symbol===e.symbol?T().active:""," "),href:"#".concat(e.symbol),onClick:function(t){t.preventDefault(),d.replace({hash:e.symbol},void 0,{shallow:!0}),i(e)},children:[e.underlying_asset.symbol,"-",e.quoting_asset.symbol," ",o," :",(0,w.jsx)("span",{children:e.symbol})]},t)},t)})})]})]}),(0,w.jsx)("div",{className:T()["row-two"],children:(0,w.jsx)(A,{symbol:s.symbol,precision:s.quoting_asset.precision,text:r,quoting_asset:a})})]}),(0,w.jsx)("div",{className:T()["right-section"],children:(0,w.jsx)("img",{src:c,alt:l})})]})},G=function(e){(0,a.A)(p,e);var t,n=(t=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,n=(0,l.A)(p);return e=t?Reflect.construct(n,arguments,(0,l.A)(this).constructor):n.apply(this,arguments),(0,c.A)(this,e)});function p(e){var t,o;return(0,i.A)(this,p),t=n.call(this,e),(0,d.A)((0,r.A)(t),"getConstituentExchange",function(e){var t="";if(e){e.map(function(n,s){t+=n.exchange+(s!==e.length-1?", ":"")});var n=t.lastIndexOf(",");
1-1!==n&&(t=t.substr(0,n)+" and "+t.substr(n+2))}return t}),(0,d.A)((0,r.A)(t),"setSpotSymbol",(o=(0,s.A)(u().mark(function e(n){var s,i,o;return u().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:i=(s=t.props).pastTime,o=s.currentTime,t.setState({spotData:n}),H(n.symbol,n.quoting_asset.precision,i,o,!0);case 3:case"end":return e.stop()}},e)})),function(e){return o.apply(this,arguments)})),(0,d.A)((0,r.A)(t),"compositeKeySetSpotSymbol",function(e){var n=t.props.spotIndices.filter(function(t){return t.symbol==e})[0];t.setSpotSymbol(n)}),(0,d.A)((0,r.A)(t),"handleCompositeIndexClick",function(e){return function(n){n.preventDefault(),t.props.router.replace({hash:e},void 0,{shallow:!0}),t.compositeKeySetSpotSymbol(e)}}),t.state={chartData:[],spotData:{underlying_asset:{},quoting_asset:{},constituent_exchanges:[]}},t.defiIndexWeights=[["LINK","30.00%"],["COMP","6.58%"],["YFI","14.59%"],["AAVE","16.01%"],["REN","3.89%"],["KNC","2.59%"],["BAND","3.04%"],["UNI","15.26%"],["BAL","1.67%"],["SNX","6.37%"]],t}return(0,o.A)(p,[{key:"componentDidMount",value:function(){var e=this.props,t=e.pastTime,n=e.currentTime;if(this.props.spotIndices.length>0){var s=window.location.hash.substr(1),i={};i=s?this.props.spotIndices.filter(function(e){return e.symbol==s})[0]:this.props.spotIndices.find(function(e){return e.symbol===Z}),this.setState({spotData:i}),H(i.symbol,i.quoting_asset.precision,t,n,!0)}}},{key:"render",value:function(){var e,t=this,n=this.state.spotData,s=n.quoting_asset.symbol,i=n.underlying_asset.symbol,o=this.props.t("indices:details",{returnObjects:!0,spot_symbol:n.symbol,underlying_asset:i,quoting_asset:s,constituent_exchanges:this.getConstituentExchange(n.constituent_exchanges)}),r=n.constituent_indices?Object.entries(n.constituent_indices.indices):[],a=C.TO&&"USD"!==s||!C.TO;return(0,w.jsx)("div",{className:T()["indices-page-container"],children:(0,w.jsxs)(h.A,{children:[(0,w.jsxs)(F(),{children:[(0,w.jsx)(Y.A,{}),(0,w.jsx)("title",{children:this.props.t("indices:meta_title")}),(0,w.jsx)("meta",{charSet:"utf-8"}),(0,w.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1"}),(0,w.jsx)("meta",{name:"title",content:this.props.t("indices:meta_title")}),(0,w.jsx)("meta",{name:"description",content:this.props.t("indices:meta_desc")}),(0,w.jsx)("meta",{property:"og:locale",content:"en_US"}),(0,w.jsx)("meta",{property:"og:type",content:"website"}),(0,w.jsx)("meta",{property:"og:site_name",content:S.jm}),(0,w.jsx)("meta",{property:"og:title",content:this.props.t("indices:meta_title")}),(0,w.jsx)("meta",{property:"og:description",content:this.props.t("indices:meta_desc")}),(0,w.jsx)("meta",{property:"og:image:type",content:"image/jpg"}),(0,w.jsx)("meta",{property:"og:url",content:E.n}),(0,w.jsx)("meta",{property:"og:image",content:E.n}),(0,w.jsx)("meta",{property:"og:image:width",content:"1200"}),(0,w.jsx)("meta",{property:"og:image:height",content:"630"}),(0,w.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,w.jsx)("meta",{name:"twitter:title",content:this.props.t("indices:meta_title")}),(0,w.jsx)("meta",{name:"twitter:image",content:E.n}),(0,w.jsx)("meta",{name:"twitter:image:alt",content:this.props.t("indices:meta_title")}),(0,w.jsx)("meta",{name:"twitter:description",content:this.props.t("indices:meta_desc")}),(0,w.jsx)("link",{rel:"canonical",href:"".concat(C.C1,"/indices")}),(0,w.jsx)("script",{src:"https://cdnjs.cloudflare.com/ajax/libs/highcharts/8.1.2/highstock.min.js",async:!0})]}),(0,w.jsx)(V.A,{as:"section",className:T()["top-fold-section"],children:(0,w.jsx)(J,{title:this.props.t("indices:title",{underlying_asset:i,quoting_asset:s}),spotIndices:this.props.spotIndices,spotData:n,onClick:this.setSpotSymbol,indicesIndex:this.props.t("indices:index"),indicesCurrentPriceLabel:this.props.t("indices:current_price"),quotingAsset:s,img_src:"".concat(C.FG,"/indices/indices.png"),img_alt:"indices"})}),(0,w.jsx)("section",{className:M()(T().indices,"de-section"),id:"de-indices",children:(0,w.jsxs)(x.A,{children:[(0,w.jsxs)("div",{className:T().details,children:[(0,w.jsx)("div",{className:"de-sec-title",children:o.heading}),(0,w.jsx)(Q.$O,{when:".DEUSDTUSD"===n.symbol,children:(0,w.jsx)("div",{className:"de-sec-desc mt-2 mb-4",children:(0,w.jsx)(v.x6,{i18nKey:"indices:indexDetailsUSD_USDT",components:{1:(0,w.jsx)("br",{})}})})}),(0,w.jsx)(Q.$O,{when:n.constituent_indices,children:null!=n&&null!=(e=n.symbol)&&e.includes(".DEDEFIUSDT")?(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)("div",{className:"de-sec-desc mt-2 mb-4",children:o.defi_desc}),(0,w.jsx)("div",{className:"d-flex justify-content-center",children:(0,w.jsx)(ee,{isDefi:!0,tableHeaders:o.defi_table_headers,data:r,defiIndexWeights:this.defiIndexWeights,spotData:n,compositeKeySetSpotSymbol:this.compositeKeySetSpotSymbol})})]}):(0,w.jsxs)("div",{className:"de-sec-desc mt-2 mb-4",children:[o.composite_desc,r.length&&r.map(function(e,n){return(0,w.jsxs)("span",{children:[(0,w.jsx)("a",{onClick:t.handleCompositeIndexClick(e[1]),href:"#",children:e[1]}),r.indexOf(e)===r.length-2?o.and:r.indexOf(e)===r.length-1?"":", "]},n)})]})}
1),(0,w.jsxs)(Q.$O,{when:n.constituent_exchanges,children:[(0,w.jsxs)("div",{className:"de-sec-desc mt-2 mb-4",children:[o.desc,a?o.descConditional:""]}),(0,w.jsx)("div",{className:"d-flex justify-content-center",children:(0,w.jsx)(ee,{isDefi:!1,tableHeaders:o.table_headers,data:n.constituent_exchanges,spotData:n,quoting_asset:s,underlying_asset:i})})]})]}),(0,w.jsxs)("div",{className:a?T()["price-history"]:"price-history-revised",children:[(0,w.jsx)("div",{className:"de-sec-title",children:this.props.t("indices:price_history",{spot_symbol:n.symbol})}),(0,w.jsx)("div",{id:"chart-container"})]}),(0,w.jsxs)("div",{className:T().calculation,children:[(0,w.jsx)("div",{className:"de-sec-title",children:this.props.t("indices:calculation_heading",{spot_symbol:n.symbol})}),n.constituent_indices?n.symbol.includes(".DEDEFIUSDT")?(0,w.jsx)("div",{className:"de-sec-desc mt-2",children:(0,$.Ay)(this.props.t("indices:calculation_defi_index",{defi_calculation_link:"https://www.delta.exchange/user-guide/docs/tutorials/defi-index/"}))}):(0,w.jsx)("div",{className:"de-sec-desc mt-2",children:this.props.t("indices:calculation_composite_desc",{spot_symbol:n.symbol,e1:n.constituent_indices.indices.e1,e2:n.constituent_indices.indices.e2})}):(0,w.jsx)("div",{className:"de-sec-desc mt-2",children:(0,w.jsx)(Q.$O,{when:".DEUSDTUSD"===n.symbol,else:this.props.t("indices:calculation_desc",{quoting_asset:s,underlying_asset:i,health_interval:n.health_interval}),children:this.props.t("indices:calculationUSD_USDT")})})]})]})})]})})}}]),p}(_.Component),ee=function(e){var t=e.isDefi,n=e.tableHeaders,s=e.data,i=e.defiIndexWeights,o=e.spotData,r=e.compositeKeySetSpotSymbol,a=e.quoting_asset,c=e.underlying_asset,l=(0,k.useRouter)(),d=C.TO&&"USD"!==a||!C.TO,p=function(e){return e.map(function(e,t){return(0,w.jsx)("td",{children:e},t)})},u=function(e,t){var n;return[i[e][0],(0,w.jsx)("a",{onClick:(n=t[1],function(e){e.preventDefault(),l.replace({hash:n},void 0,{shallow:!0}),r(n)}),children:t[1]},t[1]),o.constituent_indices.weights[t[1]],i[e][1]]};return(0,w.jsx)(w.Fragment,{children:(0,w.jsx)(Q.$O,{when:d,children:(0,w.jsxs)("table",{className:"".concat(U()["de-table-striped"],", ").concat(U().grey," ").concat(t?T()["defi-table"]:""),children:[(0,w.jsx)("thead",{children:(0,w.jsx)("tr",{children:Array.isArray(n)?n.map(function(e,t){return(0,w.jsx)("th",{children:e},t)}):null})}),(0,w.jsx)("tbody",{children:s.map(function(e,n){return(0,w.jsx)("tr",{children:t?p(u(n,e)):p([e.exchange,"".concat(a," / ").concat(c),"".concat(Math.floor(e.weight/o.constituent_exchanges_total_weight*100),"%")])},n)})})]})})})},et=function(e){var t=e.children,n=e.onClick,s=e.ref;return(0,w.jsx)("a",{className:"dropdown-icon ps-4",href:"",ref:s,onClick:function(e){e.preventDefault(),n(e)},children:t})},en=function(e){var t=e.children,n=e.style,s=e.className,i=e["aria-labelledby"],o=e.ref,r=(0,_.useState)(""),a=r[0],c=r[1],l="Search Index",d=s.includes("show");(0,_.useEffect)(function(){d||c("")},[d]);var p=document.getElementById("de-indices");return d?null==p||p.classList.add("dark-bg"):null==p||p.classList.remove("dark-bg"),(0,w.jsxs)("div",{ref:o,style:n,className:s,"aria-labelledby":i,children:[(0,w.jsxs)("div",{className:"dropdown-container",children:[(0,w.jsxs)(g.A,{className:"d-none d-md-flex",children:[(0,w.jsx)(b.A,{autoFocus:!0,className:"w-auto",placeholder:l,onChange:function(e){return c(e.target.value)},value:a}),(0,w.jsx)(g.A.Text,{children:(0,w.jsx)(D.g,{icon:O.MjD,className:""})})]}),(0,w.jsx)(g.A,{className:"d-flex d-md-none",children:(0,w.jsx)(b.A,{className:"w-auto",placeholder:l,onChange:function(e){return c(e.target.value)},value:a})})]}),(0,w.jsx)(j.A,{className:"",children:_.Children.map(_.Children.toArray(t).filter(function(e){var t=e.props.children.props.children,n=t[0]+t[1]+t[2]+t[t.length-1],s=t[0]+t[2]+t[t.length-1],i=t[6].props.children,o=t[6].props.children.split(".")[1]||t[6].props.children,r=a.toLowerCase();return!a||-1!==n.toLowerCase().indexOf(r)||-1!==s.toLowerCase().indexOf(r)||-1!==i.toLowerCase().indexOf(r)||-1!==o.toLowerCase().indexOf(r)}),function(e,t){return _.cloneElement(e,{className:"".concat(e.props.className," ").concat(Math.floor(t/2)%2==1?"grey":"white")})})})]})},es=!0;let ei=(0,v.CI)(["indices"])((0,k.withRouter)(G))},81075:(e,t,n)=>{var s=n(40216);function i(){return"undefined"!=typeof Reflect&&Reflect.get?e.exports=i=Reflect.get.bind():e.exports=i=function(e,t,n){var i=s(e,t);if(i){var o=Object.getOwnPropertyDescriptor(i,t);return o.get?o.get.call(arguments.length<3?e:n):o.value}},e.exports.__esModule=!0,e.exports.default=e.exports,i.apply(this,arguments)}
1e.exports=i,e.exports.__esModule=!0,e.exports.default=e.exports},90657:e=>{e.exports={"de-tooltip":"tooltip_de-tooltip__MLMMA","fund-details-tooltip":"tooltip_fund-details-tooltip__Ym_b0","strategy-card":"tooltip_strategy-card___xhxX","strategy-name":"tooltip_strategy-name__5Cl6u",fees:"tooltip_fees__5R3eL","dashed-line":"tooltip_dashed-line__jbpop","de-tooltip-indian":"tooltip_de-tooltip-indian__4nw7M","de-dashed-tooltip":"tooltip_de-dashed-tooltip__Mn8n0","tooltip-inner":"tooltip_tooltip-inner__uFV6a",popover:"tooltip_popover__yxCiN",arrow:"tooltip_arrow__hOLJm","popover-header":"tooltip_popover-header__8zdzz","popover-body":"tooltip_popover-body__F4DMH","tooltip-span":"tooltip_tooltip-span__KVk0A"}},92490:(e,t,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/indices",function(){return n(76444)}])}},e=>{var t=t=>e(e.s=t);e.O(0,[7725,6240,5928,6466,6585,4260,5086,1702,6162,6649,1772,6618,2880,6480,4623,5584,4121,636,6593,8792],()=>t(92490)),_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.