PageSourceSearch

https://www.fwd.com.hk/_next/static/chunks/8902.c9404b964569c82c.js

js fwd.com.hk collected 2026-10-02 10:17:17 UTC 10,346 bytes, 2 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8902],{1791:(n,t,o)=>{"use strict";o.d(t,{g:()=>h});var e=o(12429),i=o(54688),r=o(3530),c=o(36720),a=o(40039),l=o.n(a),s=o(35695),u=o(60072),d=["children","iconName","backgroundColor","iconPosition","className","type","outlined","gaEventLabel"];function p(n,t){var o=Object.keys(n);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(n);t&&(e=e.filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})),o.push.apply(o,e)}return o}function g(n){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?p(Object(o),!0).forEach(function(t){(0,e.A)(n,t,o[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(o)):p(Object(o)).forEach(function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(o,t))})}return n}var b={primary:{color:"white",outlined:!1},secondary:{color:"orange",outlined:!1}},h=function(n){var t=n.children,o=n.iconName,a=n.backgroundColor,p=n.iconPosition,h=void 0===p?"right":p,m=n.className,f=n.type,y=void 0===f?"primary":f,v=(n.outlined,n.gaEventLabel),x=(0,i.A)(n,d),C=b[y]||{};return(0,u.jsx)(r.N,g(g({gaEventLabel:v||t},x),{},{children:(0,u.jsx)(c.$,g(g({className:(0,s.default)(m,l().CtaButton,(0,e.A)((0,e.A)({},l()["CtaButton--primary"],"primary"===y),l()["CtaButton--icon-right"],"right"===h)),icon:o,variant:"secondary",backgroundColor:a,buttonType:y,iconPosition:h},C),{},{children:t}))}))}},8993:(n,t,o)=>{"use strict";o.d(t,{i:()=>g});var e=o(12429),i=o(54688),r=o(52542),c=o(78937),a=o(66995),l=o(60072),s=["iconName","size","iconSize","backgroundColor","color","hoverBackgroundColor","hoverColor","iconColor"];function u(n,t){var o=Object.keys(n);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(n);t&&(e=e.filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})),o.push.apply(o,e)}return o}function d(n){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?u(Object(o),!0).forEach(function(t){(0,e.A)(n,t,o[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(o)):u(Object(o)).forEach(function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(o,t))})}return n}var p=a.Ay.div.withConfig({displayName:"CircleIconButton__Wrapper",componentId:"sc-1fcc0ed-0"})(["width:","px;height:","px;border-radius:50%;display:flex;align-items:center;justify-content:center;transition:all 300ms cubic-bezier(0.4,0,0.2,1) 0ms;cursor:pointer;background:",";color:",";:hover{background:",";color:",";}> svg{width:","px !important;height:","px !important;",";}"],function(n){return n.size},function(n){return n.size},function(n){return n.backgroundColor||c.wu.orange},function(n){return n.color||c.wu.white},function(n){return n.hoverBackgroundColor||c.wu.white},function(n){return n.hoverColor||c.wu.orange},function(n){return n.iconSize},function(n){return n.iconSize},function(n){return n.iconColor&&"\n      path {\n        fill: ".concat(n.iconColor," !important;\n      }\n      ")}),g=function(n){var t=n.iconName,o=n.size,e=void 0===o?40:o,c=n.iconSize,a=n.backgroundColor,u=n.color,g=n.hoverBackgroundColor,b=n.hoverColor,h=n.iconColor,m=(0,i.A)(n,s);return(0,l.jsx)(p,d(d({iconSize:c||e-10,size:e,backgroundColor:a,color:u,hoverBackgroundColor:g,hoverColor:b,iconColor:h},m),{},{children:(0,l.jsx)(r.N,{icon:t})}))}},40039:n=>{n.exports={CtaButton:"FwdLinkButton_CtaButton__fk3Aw","CtaButton--primary":"FwdLinkButton_CtaButton--primary__n0U9a","CtaButton--icon-right":"FwdLinkButton_CtaButton--icon-right__7sPPc"}},68902:(n,t,o)=>{"use strict";o.r(t),o.d(t,{VideoContentBlock:()=>H});var e,i,r,c,a,l,s,u,d,p,g,b=o(14936),h=o(56189),m=o(78453),f=o(1791),y=o(8993),v=o(60004),x=o(23100),C=o(51714),w=o(50926),_=o(23488),k=o(43e3),j=o(66995),A=o(73464),O=(0,j.i7)(["0%{opacity:1;transform:translateY(0);}100%{opacity:0;transform:translateY(100%);}"]),B=(0,j.i7)(["0%{opacity:0;transform:translateY(100%);}100%{opacity:1;transform:translateY(0);}"]),P=j.Ay.div.withConfig({displayName:"VideoContentBlockstyle__Container",componentId:"sc-1pxse55-0"})(["margin:48px 16px;height:560px;max-width:1224px;"," "," position:relative;"],(0,A.C9)("md")(e||(e=(0,k.A)(["\n    margin: 52px 32px 36px 32px;\n  "]))),(0,A.C9)("xl")(i||(i=(0,k.A)(["\n    margin: 52px auto 36px auto;\n  "])))),I=j.Ay.div.withConfig({displayName:"VideoContentBlockstyle__VideoBackgroun
1dImage",componentId:"sc-1pxse55-1"})(["width:100%;height:100%;border-radius:16px;display:flex;justify-content:flex-end;flex-direction:column;",' position:relative;overflow:hidden;&:before{content:"";position:absolute;width:100%;height:212px;z-index:-1;top:0;'," "," "," transition:transform 0.5s;}iframe{position:absolute;z-index:1;}"],(0,A.C9)("sm")(r||(r=(0,k.A)(["\n    border-radius: 40px;\n  "]))),(0,A.C9)("sm")(c||(c=(0,k.A)(["\n      height: 100%;\n    "]))),function(n){return n.src&&!n.isPlaying&&"\n      background-image: url(".concat(n.src,");\n      background-position: center;\n      background-size: cover;\n    ")},function(n){return n.isHover&&"\n      transform: scale(1.2);\n\n      ".concat((0,A.C9)("sm")(a||(a=(0,k.A)(["\n        transform: scale(1.1);\n      "]))),"\n    ")}),N=j.Ay.div.withConfig({displayName:"VideoContentBlockstyle__ItemWrapper",componentId:"sc-1pxse55-2"})(["display:flex;flex-direction:column-reverse;",""],(0,A.C9)("sm")(l||(l=(0,k.A)(["\n    justify-content: space-between;\n    flex-direction: row;\n  "])))),z=j.Ay.div.withConfig({displayName:"VideoContentBlockstyle__ContentWrapper",componentId:"sc-1pxse55-3"})(["display:flex;flex-direction:column;border-radius:0 16px 0 0;background-color:",";width:100%;padding:24px 0 18px 0;"," ",""],h.w.white,function(n){return n.isPlaying?(0,j.AH)(["animation:"," 0.6s cubic-bezier(0.86,0,0.07,1) forwards;"],O):(0,j.AH)(["animation:"," 0.6s cubic-bezier(0.86,0,0.07,1) forwards;"],B)},(0,A.C9)("sm")(s||(s=(0,k.A)(["\n    max-width: 806px;\n    max-height: 100%;\n    border-radius: 0 40px 0 0;\n    padding: 30px 32px 25px 32px;\n  "])))),S=j.Ay.h2.withConfig({displayName:"VideoContentBlockstyle__ContentTitle",componentId:"sc-1pxse55-4"})(["font-size:31px;font-weight:700;line-height:38.75px;max-width:100%;margin-bottom:8px;",""],(0,A.C9)("md")(u||(u=(0,k.A)(["\n    font-size: 39px;\n    font-weight: 700;\n    line-height: 48.75px;\n    max-width: 80%;\n  "])))),V=j.Ay.div.withConfig({displayName:"VideoContentBlockstyle__ContentDescription",componentId:"sc-1pxse55-5"})(["font-size:16px;font-weight:450;line-height:24px;margin-bottom:24px;",""],(0,A.C9)("lg")(d||(d=(0,k.A)(["\n    margin-bottom: 32px;\n  "])))),L=j.Ay.div.withConfig({displayName:"VideoContentBlockstyle__ButtonWrapper",componentId:"sc-1pxse55-6"})(["",""],(0,A.C9)("sm")(p||(p=(0,k.A)(["\n    max-width: 360px;\n  "])))),D=j.Ay.div.withConfig({displayName:"VideoContentBlockstyle__PlayButtonWrapper",componentId:"sc-1pxse55-7"})(["display:flex;justify-content:center;height:198px;align-items:center;",""],(0,A.C9)("sm")(g||(g=(0,k.A)(["\n    align-items: end;\n    padding: 54px;\n    height: 100%;\n  "])))),E=o(13026),T=o.n(E),F=o(60072),W=function(n){var t,o,e=(null==n||null==(t=n.data)||null==(t=t.reference)?void 0:t[0])||(null==n||null==(o=n.data)||null==(o=o.reference_2)?void 0:o[0]);return e?{anchorId:T()(e,"anchor_id",""),imageSrc:(0,b.$h)(T()(e,"video.image.url","")),imageAlt:T()(e,"video.image.description",""),contentTitle:T()(e,"display_title",""),title:T()(e,"title",""),contentDescription:T()(e,"description",""),buttonLabel:T()(e,"buttons.primary_button.button_label",""),buttonUrl:T()(e,"buttons.primary_button.url",""),gaLabel:T()(e,"buttons.primary_button.ga_event",""),buttonOpenInNewTab:T()(e,"buttons.primary_button.open_in_new_tab",""),icon:T()(e,"buttons.secondary_button.icon",""),iconLabel:T()(e,"buttons.secondary_button.button_label",""),iconUrl:T()(e,"buttons.secondary_button.url",""),gaSecondLabel:T()(e,"buttons.secondary_button.ga_event",""),youtubeVideoId:T()(e,"video.youtube_video_id",""),brightcoveVideoId:T()(e,"video.brightcove_video.0.video_id",""),brightcoveAccountId:T()(e,"video.brightcove_video.0.brightcove_account_id",""),brightcovePlayerId:T()(e,"video.brightcove_video.0.player_id","")}:null},H=function(n){var t=(0,v.useState)(!1),o=t[0],e=t[1],i=(0,v.useState)(!1),r=i[0],c=i[1],a=W(n),l=(0,v.useContext)(_.A);if(!a)return(0,F.jsx)(F.Fragment,{});var s=a.anchorId,u=a.imageSrc,d=a.imageAlt,p=a.contentTitle,g=a.title,k=a.contentDescription,j=a.buttonLabel,A=a.buttonUrl,O=a.gaLabel,B=a.buttonOpenInNewTab,E=a.icon,T=a.gaSecondLabel,H=a.iconUrl,U=a.youtubeVideoId,Y=a.brightcoveVideoId,M=a.brightcoveAccountId,$=a.brightcovePlayerId,q=Y&&M&&$?"https://players.brightcove.net/".concat(M,"/").concat($,"_default/index.html?videoId=").concat(Y,"&autoplay=1&mute=0&loop=1"):U?"https://www.youtube.com/embed/".concat(U,"?mute=0&enablejsapi=1&playlist=").concat(U,"&autoplay=1&loop=1"):null;return(0,F.jsx)(P,{children:(0,F.jsxs)(I,{src:u,"aria-label":d,isHover:o,isPlaying:r,children:[(0,F.jsxs)(N,{children:[(0,F.jsxs)(z,{isHover:o,isPlaying:r,children:[(0,F.jsx)(S,{children:p||g}),(0,F.jsx)(V,{dangerouslySetInnerHTML:{__html:m.Ay.sanitize(k)}}),(0,F.jsx)(L,{children:(0,F.jsx)(f.g,{type:"primary",iconPosition:"left",iconName:"arrow-right",backgroundColor:h.w.orange,href:A,openInNewTab:B,gaEventLabel:O||j,gtmComponentName:"VideoContentBlock",onClick:function(){var n;b.WF.navigation({event_action:C.v3.button_click,button_title:O||j,destination_url:(0,w.FT)(A,l),component_name:"VideoContentBlock",product_affiliation:(null==(n=l.componentConfigs)||null==(n=n.gaPageData)?void 0:n.product_affiliation)||""})},children:j})})]}),(0,F.jsx)(D,{children:(0,F.jsx)(y.i,{iconName:E,iconSize:50,color:h.w.orange,hoverBackgroun
1dColor:h.w.orange,onMouseEnter:function(){return e(!0)},onMouseLeave:function(){e(!1)},onClick:function(){c(!0),b.WF.buttonClick({buttonTitle:T,componentName:"VideoContentBlock",destinationUrl:(0,w.FT)(H,l)})}})})]}),r&&!!q&&(0,F.jsx)(x.A,{touchEvent:!1,onClickAway:function(n){n.stopPropagation(),c(!1)},children:(0,F.jsx)("iframe",{width:"100%",height:"100%",src:q,title:q,id:"video-content-block-".concat(s),frameBorder:"0",allow:"autoplay; fullscreen",allowFullScreen:!0})})]})})}}}]);
2//# sourceMappingURL=8902.c9404b964569c82c.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.