PageSourceSearch

https://www.fwd.com.hk/_next/static/chunks/pages/%5Blang%5D-45adc3eb71acb5ad.js

js fwd.com.hk collected 2026-10-02 10:10:36 UTC 3,078 bytes, 2 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5860],{27890:(e,n,t)=>{"use strict";t.r(n),t.d(n,{__N_SSG:()=>y,default:()=>_});var a=t(12429),o=t(10985),u=t(17574),r=t(94551),i=t(63770),c=t(67166),s=t(29001),l=t(94388),g=t(46808),p=t(23488),d=t(16471),f=t.n(d),v=t(91946),b=t(60004),m=t(36490),j=t(51714),C=t(60072);function O(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);n&&(a=a.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),t.push.apply(t,a)}return t}function h(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?O(Object(t),!0).forEach(function(n){(0,a.A)(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):O(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}var y=!0;let _=function(e){var n=e.data,t=e.siteSettings,a=e.announcements,d=e.splash,O=e.isHeaderPresent,y=(0,b.useState)(e.currentLanguage),_=y[0],P=y[1],w=(0,b.useState)(!1),k=w[0],x=w[1];(0,b.useEffect)(function(){x(!0)},[]);var S=(0,b.useCallback)(function(n){P(e.supportedLanguages[n])},[e.supportedLanguages]),E=(0,b.useMemo)(function(){return(0,m.p)(n,e.publicConfigurations)},[n,e.publicConfigurations]);(0,b.useEffect)(function(){(0,v.setCookie)(null,"lang",_.languageCode,{maxAge:2592e3,path:"/"})},[_.languageCode]);var L=(0,b.useMemo)(function(){var a;return{language:_,supportedLanguages:e.supportedLanguages,defaultLanguage:e.defaultLanguage,changeLanguage:S,countryStackName:e.stackName,countryCode:(null==(a=e.publicConfigurations)?void 0:a.publicCountryCode)||"",siteSettings:t,seo:(0,p.q)(n),componentConfigs:E}},[S,_,e.defaultLanguage,e.stackName,e.supportedLanguages,t,E]);return(0,b.useEffect)(function(){var n;(null==(n=e.data)||null==(n=n.url)?void 0:n.length)===1&&setTimeout(function(){j.Ay.pageView(L.componentConfigs.gaPageData)},0)},[]),(0,C.jsx)(p.A.Provider,{value:L,children:(0,C.jsx)(c.A.Provider,{value:{publicConfigurations:e.publicConfigurations},children:(0,C.jsx)(s.DS,{value:e,children:(0,C.jsx)(l.l,{value:e,children:(0,C.jsxs)(g.h,{children:[!f()(a)&&O&&(0,C.jsx)(i.H,{announcements:a}),(0,C.jsx)("div",{children:k&&n.layout.map(function(t,a){var u=t.nameComponent,r=o[u];return r?"HeaderSchema"===u?(0,C.jsx)(r,{data:h({},t.dataComponent)},"component-".concat(u,"-").concat(a)):(0,C.jsx)(r,{data:h(h({strictValidate:!0,validateOnBlur:!0,validateOnSubmit:!0},t.dataComponent),{},{publicConfigurations:e.publicConfigurations,pageUid:null==n?void 0:n.uid,contentTypeUid:null==n?void 0:n.contentTypeUid})},"component-".concat(u,"-").concat(a)):null})}),!f()(null==t?void 0:t.cookies)&&(0,C.jsx)(u.A,{data:null==t?void 0:t.cookies}),(0,C.jsx)(r.A,{data:d})]})})})})})}},64171:(e,n,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/[lang]",function(){return t(27890)}])}},e=>{e.O(0,[3268,1222,7456,5295,3457,565,4489,2437,4214,198,1207,9419,636,6593,8792],()=>e(e.s=64171)),_N_E=e.O()}]);
2//# sourceMappingURL=[lang]-45adc3eb71acb5ad.js.map

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.