PageSourceSearch

https://www.dbs.com.hk/_next/static/chunks/391.f30ba7412575c59174e6.js

js dbs.com.hk collected 2026-10-02 03:11:37 UTC 6,763 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[391],{33391:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return H}});var r=n(85893),o=n(26265),i=n(64121),a=n(51236),c=n.n(a),s=n(59436),u=n(67294),l=n(96577),d=n(77800),f=n.n(d),p=n(28493),g=n(89398),h=n(1180),w=n(29163),b=(0,w.default)(f()).withConfig({componentId:"sc-1tjt19q-0"})([""," g{fill:",";}","{display:none;}"],p.DotIcon,(function(e){return e.theme.primary||"#f00"}),p.CrossIcon),y=w.default.div.withConfig({componentId:"sc-1tjt19q-1"})([""]);function m(){try{var e=(0,h.dU)().LANGUAGE,t="ZH"===e.toUpperCase()?'\u56e0\u5fae\u8edf(Microsoft)\u516c\u53f8\u7d42\u6b62\u652f\u63f4\u300cInternet Explorer\u300d\u700f\u89bd\u5668\u66f4\u65b0\uff0c\u70ba\u8003\u91cf\u60a8\u7684\u700f\u89bd\u5b89\u5168\u6027\uff0c2021\u5e7410\u6708\u8d77\uff0c\u5efa\u8b70\u60a8\u4f7f\u7528 <a href="https://www.dbs.com/taiwan/zh/supported-browsers/default.page" target="blank">\u5176\u4ed6\u700f\u89bd\u5668</a>\u7e7c\u7e8c\u9020\u8a2a\u6211\u5011\u7684\u7db2\u7ad9\uff0c\u8b1d\u8b1d\u3002':'From October 2021, we will no longer be supporting the use of Internet Explorer on our website. Please switch to <a href="https://www.dbs.com/supported-browsers/default.page" target="_blank">other browsers</a> to continue browsing our site, thank you.',n={Locale:e,AdditionalAnnouncement:void 0,Announcement:t,Announcement_Expiration_date:new Date((new Date).getTime()+864e5).toString()},o=(0,u.useState)(!1),i=o[0],a=o[1];return(0,u.useEffect)((function(){(0,g.isIE)()&&a(!0)}),[]),(0,r.jsx)(y,{children:i&&(0,r.jsx)(b,{announcement:n})})}catch(c){return console.error(c),null}}var v=(0,w.default)(f()).withConfig({componentId:"sc-80x10z-0"})([""," g{fill:",";}"],p.DotIcon,(function(e){return e.theme.primary||"#f00"}));function O(e){var t=e.onCloseMessage,n={Locale:(0,h.dU)().LANGUAGE,AdditionalAnnouncement:void 0,Announcement:"Page you are trying to access is invalid",Announcement_Expiration_date:new Date((new Date).getTime()+864e5).toString()};return(0,r.jsx)(v,{announcement:n,onClose:t})}var j=n(16544),x=n(84161),D=n(1205),P=n(59999),C=n(90203),E=n(12752),A=n(25689),I=function(){var e=(0,u.useState)(!1),t=e[0],n=e[1];return[t,function(){return n(!0)}]};function S(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Z(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?S(Object(n),!0).forEach((function(t){(0,o.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):S(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var _=w.default.div.withConfig({componentId:"cf13fc-0"})(["position:fixed;top:0;left:0;width:100%;z-index:1001;","{background-color:rgba(255,255,255,0.95);}z-index:",";"],s.CompWrapper,(function(e){return e.isDrawerOpen?"1001":"990"})),H=(0,A.Z)((function(e){e.bodyMargin;var t=e.headerData,n=e.orgHeaderData,o=e.announcementData,a=(0,u.useContext)(E.Z),s=(0,u.useState)(!1),d=s[0],f=s[1],p=I(),g=(0,i.Z)(p,2),w=g[0],b=g[1],y=(0,h.dU)().LANGUAGE,v=Z(Z({orgNavMenu:Z(Z({},(0,x.qo)(n.language.localeCont).find((function(e){return e.alias.toLowerCase()===y}))),{},{hideFlagsInCountryDropDown:!0})},t.Header),{},{languageToggle:t.Header.languagetext&&t.Header.locatorsplitterpath&&{label:t.Header.languagetext,url:t.Header.locatorsplitterpath}});return(0,r.jsxs)(_,{id:"app-header",isDrawerOpen:d,children:[(0,r.jsxs)("div",{style:{position:"relative",transition:"all 0.3s linear",left:d?"".concat(window.innerWidth-1024>300?40:300,"px"):"0",zIndex:4},children:[(0,r.jsx)(m,{}),!w&&a.queryParams.rd&&"err"===a.queryParams.rd&&(0,r.jsx)(O,{onCloseMessage:b}),(0,r.jsx)(l.I7,{data:o})]}),(0,r.jsx)(c(),Z(Z({},v),{},{searchDetails:Z(Z({},v.searchDetails),{},{searchCollection:(0,x.qo)(v.searchDetails.searchCollection)}),isHomeHeader:!0,displaySearch:!1,url:"s",getSearchResults:function(e){return D.Z.getSearchResults(e).then((function(e){if(null!==e&&void 0!==e&&e.data){var t=function(e){var t=e.results.branch_sg_en,n=(0,P.Z)((0,x.qo)(e.results.result));return t&&t.length>0&&(t.forEach((function(e){e.imageUrl=(0,j.No)(e.latitude,e.longitude),e.MT="SUPPORT",e.title={displaytitle:"".concat(e.name,"(").concat(e.type,")")},e.description={contextdescription:"".concat(e.address," , ").concat(e.postal_code)}})),n=[].concat((0,P.Z)(t),(0,P.Z)(n))),n}(function(e){if(!0===C.validate(e))return C.parse(e,{ignoreAttributes:!1})}(e.data).searchdoc).filter((function(e){return e}));return Promise.resolve(t.slice(0,5))}return Promise.reject("NOT Found")}))},labels:j.Gl,searchResultsPageUrl:v.searchDetails.searchUrl,toggleDrawer:function(e){var t=document.getElementById("__next");document.body.style.position=e?"fixed":"unset",t.style.transition="all 0.3s linear",t.style.position=e?"relative":"static",t.style.left=e?"".concat(window.innerWidth-1024>300?40:300,"px"):"0",f(e)},showDdHeaderImage:!1}))]})}))},12752:function(e,t,n){"use strict";n.d(t,{M:function(){return i}});var r=n(85893),o=(0,n(67294).createContext)({});function i(e){return(0,r.jsx)(o.Provider,{value:e.data,children:e.children})}t.Z=o},25689:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(26265),o=n(85893),i=n(91229),a=n(73616),c=n(67294);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?s(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function l(e){return function(t){var n=(0,i.Z)({},t),r=(0,c.useState)(80),s=r[0],l=r[1];return(0,c.useEffect)((function(){var e=document.querySelector("#app-header");if(e){l(e.getBoundingClientRect().height);var t=(0,a.Z)((function(){return function(){var t=e.getBoundingClientRect().height;window.innerHeight+window.scrollY<document.body.getBoundingClientRect().height&&l(t),0===window.scrollY&&(document.body.style.marginTop="".concat(t,"px"))}()}),300);return window.addEventListener("scroll",t,{passive:!0}),window.addEventListener("resize",t,{passive:!0}),setTimeout((function(){return t()}),1e3),function(){window.removeEventListener("scroll",t),window.removeEventListener("resize",t)}}l(0)}),[]),(0,o.jsx)(e,u(u({},n),{},{bodyMargin:s}))}}}}]);

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.