PageSourceSearch

https://www.dbs.com/group/_next/static/chunks/3084-679be370cbe01e46.js

js dbs.com collected 2026-09-24 08:34:03 UTC 7,013 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3084],{93084:(e,r,t)=>{t.d(r,{F$:()=>L,FF:()=>A,FW:()=>C,PG:()=>k,VY:()=>P,Yq:()=>R,fm:()=>O,iq:()=>g,ml:()=>F,wW:()=>M});var a=t(63857),n=t(45794),c=t(42969),o=t(60180),s=t.n(o),i=t(97043),u=t.n(i),l=t(44252),d=t(6e3);t(1479);var h=t(38616),f=t(68338),y=t(44077),p=t(33896),b=t(3865);function _(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);r&&(a=a.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),t.push.apply(t,a)}return t}function m(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?_(Object(t),!0).forEach(function(r){(0,c.A)(e,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):_(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})}return e}b.Vc,b.rB,b.rB,b.lF,b.Vc,b.rB,b.Vc,b.rB,b.rB,b.rB,b.Vc,b.rB,b.rB,b.Vc,b.rB,b.Vc,b.Vc,b.Vc,b.Vc,b.Vc,b.Vc,b.Vc,b.Vc,b.Vc,b.rB,b.YD,b.YD,b.YD,b.Fx,b.Fx,b.Fx,b.Fx,b.Fx,b.Fx,b.Fx,b.hE,b.hE,b.hE;var C=function(e,r,t){var a="";switch(r){case"FreeStyle":a=e.results_data.FreeStyleLinkURL||e.others_data.mmcontent.FreeStyle.FreeStyleLinkURL;break;case"MMProductDetail":a=F(k(e.others_data.mmcontent.ProductAliasURL,""));break;case"MMPromoDetail":a=F(P(e.results_data.FriendlyURL,y.zO,""));break;case"MMContentArticle":a=F(P(e.results_data.FriendlyURL,y.I4,""))}return""===t?a:"".concat(a,"?").concat(t)},L=function(e,r){var t,a,n,c,o;switch(r){case"MMProductDetail":o=null==(t=e.others_data.mmcontent.ProductCategory)?void 0:t.split(" > ");break;case"MMPromoDetail":o=null==(a=e.others_data.Categories)?void 0:a.split(" > ");break;case"MMContentArticle":o=null==(n=e.results_data.Categories)?void 0:n.split(" > ");break;default:o=[]}return null!=(c=o)&&c.length?o[o.length-1]:void 0};b.Vc,b.rB,b.rB,b.lF,b.Vc,b.Vc,b.rB,b.rB;var v=function(e){var r=e.currency,t=e.locale,a=e.heading,n=e.dateLabel,c=e.viewAllText,o=e.subHeading,s=e.amountPlaceholder,i=e.viewAllLink,u=e.currencyBase,l=e.currencyTarget;return{Locale:t,currenciesAcronym:r.map(function(e){return{selectCurrency:e.code,currencyAcronym:e.label,currencyCode:e.code}}),CurrencyConverterInfo:{Heading:a,Currency2Label:"",CTALabel:c,CTATarget:"_self",TimeStampDateLabel:n,ExchangeRateLabel:"",SubHeading:o,TimeStampTimeLabel:"",HelpToolTip:"",Currency2Placeholder:s,Currency1Label:"",CTALink:i,Currency1Placeholder:s},DefaultCurrenciesPair:{Type2:"Selling",DefaultCurrency1:u,DefaultCurrency2:l,Type1:"Buying"}}},E=function(e,r){var t;Object.entries(e).forEach((t=(0,a.A)(s().mark(function t(a){var c,o,i,u,d,f,_,C,L;return s().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(o=(c=(0,n.A)(a,2))[0],c[1],!e[o].DCRPath){t.next=53;break}if(i=(0,p.uw)(e[o].DCRPath),t.prev=3,!0!==r.fetch){t.next=9;break}r.dcrQueries.push((0,p.Ds)(i)),r.dcrQueries.push((0,p.Fn)(i)),t.next=47;break;case 9:if(void 0===r.results[r.index]){t.next=46;break}u=r.results[r.index],t.t0=o,t.next="RatesCalculator"===t.t0?14:"MMPromoDetail"===t.t0?20:"MMContentArticle"===t.t0?24:"MMProductDetail"===t.t0?28:"FreeStyle"===t.t0?32:"Stories"===t.t0?36:"OurLeaders"===t.t0?38:"News"===t.t0?41:45;break;case 14:return(f=d=r.results[r.index].others_data.currencyConverter).currency&&!f.currenciesAcronym&&(f=v(d)),e[o].CurrencyConverterData={currencyConverter:m(m({},f),{},{isExchangeRate:!d.currenciesAcronym})},e[o].baseCurrency=y.QS,t.abrupt("break",46);case 20:return e[o].CardTile=u.others_data.CardTile,e[o].CardTileURL=F(P(u.results_data.FriendlyURL,y.zO,"")),e[o].ExpiryDate=u.date_sort.ExpiryDate||"",t.abrupt("break",46);case 24:return e[o].CardTile=u.results_data.CardTile,e[o].CardTileURL=F(P(u.results_data.FriendlyURL,y.I4,"")),e[o].ExpiryDate=u.date_sort.ExpiryDate||"",t.abrupt("break",46);case 28:return e[o].CardTile=u.results_data.CardTile,e[o].CardTileURL=F(k(u.others_data.mmcontent.ProductAliasURL,"")),e[o].ExpiryDate=u.date_sort.ExpiryDate||"",t.abrupt("break",46);case 32:return e[o].CardTile=u.results_data.CardTile||u.others_data.mmcontent.FreeStyle.CardTile,e[o].CardTileURL=F(S(u.results_data.FreeStyleLinkURL||u.others_data.mmcontent.FreeStyle.FreeStyleLinkURL,"")),e[o].ExpiryDate=u.others_data.mmcontent.FreeStyle.ExpiryDate||"",t.abrupt("break",46);case 36:return e[o].CardTile=u.others_data.Story,t.abrupt("break",46);case 38:return _=(0,l.A)(u.others_data.LeadershipProfile,b.r_),e[o].LeadershipProfile=_,t.abrupt("break",46);case 41:return C=(0,l.A)(u.others_data.NewsInfo,["DBS_Country","DBS_Publication_date","News_duration"]),L=(0,l.A)(u.others_data.NewsInfo.NewsInfo,b.ul),e[o].CardTile=m(m({}
1,C),L),t.abrupt("break",46);case 45:return t.abrupt("break",46);case 46:r.index+=1;case 47:t.next=53;break;case 49:t.prev=49,t.t1=t.catch(3),console.error({PWEBRayID:(0,h._$)().PAGE_REQUEST_ID,error:t.t1});case 53:case"end":return t.stop()}},t,null,[[3,49]])})),function(e){return t.apply(this,arguments)}))},T=function(e,r){(e=(0,d.toArray)(e)).forEach(function(e){E(e,r)})},D=function(e,r){(e=(0,d.toArray)(e)).forEach(function(e){Object.entries(e).forEach(function(t){var a=(0,n.A)(t,2),c=a[0];a[1],T(e[c],r)})})},A=function(e,r){var t=e.others_data.mmcontent.CardTilesRowInstruction.CardTilesRow;(t=(0,d.toArray)(t)).forEach(function(e){Object.entries(e).forEach(function(t){var a=(0,n.A)(t,2),c=a[0];a[1],D(e[c],r)})})},k=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",r=arguments.length>1?arguments[1]:void 0,t=(0,h._$)(),a=t.SEGMENT_IN_URL,n=t.SEGMENT_ALIAS,c=!(e=String(e)).startsWith("http")&&!e.startsWith("/"),o=e.startsWith("/"),s=e.startsWith("".concat(n,"/")),i="",u="".concat(e);return o?e.startsWith("".concat(a))||(i="".concat(a)):c&&(e.startsWith(a)?i="/":e.startsWith("".concat(a,"/"))||(i="".concat(a,"/"))),s&&(u=u.replace("".concat(n,"/"),"")),i+u+(r?x(r):"")},S=function(e,r){var t=(0,h._$)(),a=t.SEGMENT_IN_URL,n=t.SEGMENT_ALIAS;if(e.startsWith("http"))return e;var c=F(e.replace("sites/",""));return c.startsWith("/".concat(n,"/"))&&(c=c.replace("/".concat(n,"/"),"".concat(a,"/"))),c?"".concat(c.trim()).concat(x(r)):""},x=function(e){return e?"?".concat(e):""},P=function(e,r,t){var a=(0,h._$)().SEGMENT_IN_URL;return e?"".concat(a).concat(r).concat(e.trim()).concat(x(t)):""},F=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return!e.startsWith("http")&&((e=(0,f.TG)(e)).startsWith("/")||(e="/".concat(e))),e},g=function(){return parseInt(document.body.style.marginTop)},M=function(e,r){switch((0,h._$)().LANGUAGE){case"sc":return u()(e).locale("zh-cn").format("LL");case"zh":return u()(e).locale("zh-hk").format("LL");default:return r?u()(e).locale("en").format(r):e}},R=function(e,r){return r?u()(e).format(r):e},O=function(e,r){var t="ALL"!==r?"month":"year",a="ALL"!==e?e:u()().year(),n="ALL"!==r?parseInt(r)-1:0;return{start:u()([a,n]).startOf(t).format("YYYY-MM-DD HH:mm:ss"),end:u()([a,n]).endOf(t).format("YYYY-MM-DD HH:mm:ss")}}}}]);

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.