PageSourceSearch

https://www.fwdlife.co.jp/_next/static/chunks/4313.a95c656063bbede2.js

js fwdlife.co.jp collected 2026-10-04 10:35:34 UTC 8,948 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4313],{14313:(t,n,e)=>{e.r(n),e.d(n,{CSFeaturedCategoryProducts:()=>X,FeaturedCategoryProducts:()=>V,default:()=>tt});var o,r,i,u,l=e(12429),c=e(60004),a=e(13026),d=e.n(a),p=e(46804),s=e.n(p),b=e(39359),f=e(43e3),g=e(77047),m=e(66995),v=e(53283),y=e.n(v),_=e(56189),O=e(53032),w=e(65255);function h(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);n&&(o=o.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),e.push.apply(e,o)}return e}function k(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{};n%2?h(Object(e),!0).forEach(function(n){(0,l.A)(t,n,e[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):h(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))})}return t}var P=function(t){return t.BOTTOM_BUTTON="bottom_button",t.BUTTON_IN_TITLE="button_in_title",t}(P||{}),j=function(t,n){var e,o;return{text:null==t?void 0:t.button_label,gaEventLabel:null==t?void 0:t.button_label,url:n(null==t?void 0:t.button_url),openInNewTab:null==t?void 0:t.open_in_new_tab,imageUrl:null==t||null==(e=t.logo)?void 0:e.url,imageAlt:null==t||null==(o=t.logo)?void 0:o.description,iconName:null==t?void 0:t.icon}},x=function(t){var n=(0,O.vT)(),e=d()(t,"categoryProducts",{}),o=s()(null==t?void 0:t.relatedProducts,function(t){var n=k({},t);if((null==(o=n.body)?void 0:o.length)>0){var o,r,i=null==(r=n.body)?void 0:r.findIndex(function(t){return t.product_metadata}),u=n.body[i].product_metadata,l=null==e?void 0:e[null==n?void 0:n.uid];l&&(n.body[i].product_metadata=k(k({},u),{},{insurance_category_v2:l}))}return k({},n)}),r=(0,w.Mm)(o,{formatCmsUrl:n,customMapper:function(t,e){var o,r,i=null==(o=t.body)||null==(o=o.find(function(t){return t.product_metadata}))?void 0:o.product_metadata,u=null==i||null==(r=i.cta_buttons)?void 0:r[0],l=(null==i?void 0:i.discount)||"";return k(k({},e),{},{ctaButtonLabel:null==u?void 0:u.title,ctaOpenInNewTab:null==u?void 0:u.open_in_new_tab,ctaUrl:n(null==u?void 0:u.url),tagBackgroundColor:l?"#6ECEB2":_.w.yellow})}}),i=j(((null!=t&&t.button?y()(t.button)?t.button:[t.button]:[]).map(function(t){return k(k({},t),{},{button_type:t.button_type||P.BOTTOM_BUTTON})})||[]).find(function(t){return t.button_type===P.BOTTOM_BUTTON}),n);return{title:null==t?void 0:t.title,blockTitle:null==t?void 0:t.block_title,blockDescription:null==t?void 0:t.block_description,productCardList:{products:r},backgroundColor:null==t?void 0:t.background_color_new,titleColor:null==t?void 0:t.title_color_new,ctaButton:i}},C=e(78937),T=e(36720),I=e(14218),A=e(24022),B=e(73464),E=e(14936),N=e(47505),D=e(17698),M=e.n(D),S=e(87906),F=e(23488),L=e(51714),U=e(60072);function W(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);n&&(o=o.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),e.push.apply(e,o)}return e}function R(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{};n%2?W(Object(e),!0).forEach(function(n){(0,l.A)(t,n,e[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):W(Object(e)).forEac
1h(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))})}return t}var H=m.Ay.div.withConfig({displayName:"FeaturedCategoryProductBlock__Wrapper",componentId:"sc-1xuu6kf-0"})(["background:",";padding:16px 0;",";.cta-container-bottom{display:flex;justify-content:center;margin-top:24px;margin-bottom:56px;}.button-wrapper{.circle-icon-button{width:32px;height:32px;svg{width:25px;height:25px;}}}.product-card .product-card-detail .category-wrapper{gap:4px;}.product-card .product-card-detail .category-wrapper > span{font-size:14px;}"],function(t){return t.backgroundColor||C.wu.white},(0,B.C9)("sm")(o||(o=(0,f.A)(["\n    padding: 70px 0;\n  "])))),G=(0,m.Ay)(g.W).withConfig({displayName:"FeaturedCategoryProductBlock__StyledProductCardList",componentId:"sc-1xuu6kf-1"})(["height:400px;.slick-list{padding:0 5% 0 0 !important;}"]),z=(0,m.AH)(["margin-bottom:-8px;",";"],(0,B.C9)("sm")(r||(r=(0,f.A)(["\n    margin-bottom: 32px;\n  "]))));m.Ay.h1.withConfig({displayName:"FeaturedCategoryProductBlock__Title",componentId:"sc-1xuu6kf-2"})(["font-size:31px;font-weight:700;margin:0;",";color:",";"],function(t){return!t.noMargin&&z},function(t){return t.color||C.wu.darkGreen});var K=(0,m.Ay)(T.$).withConfig({displayName:"FeaturedCategoryProductBlock__CtaButton",componentId:"sc-1xuu6kf-3"})(["min-width:auto !important;.btn-color-white-outlined{background-color:",";}&.unHovered:before{background-color:"," !important;}.MuiButton-label .MuiButton-startIcon{align-self:center;}"],function(t){return t.backgroundColor},function(t){return t.backgroundColor});(0,m.Ay)(I.A).withConfig({displayName:"FeaturedCategoryProductBlock__TitleWrapper",componentId:"sc-1xuu6kf-4"})(["display:flex;justify-content:space-between;margin-bottom:32px !important;",";.cta-button{display:none;",";}"],(0,B.C9)("sm")(i||(i=(0,f.A)(["\n    margin-bottom: 40px !important;\n  "]))),(0,B.C9)("sm")(u||(u=(0,f.A)(["\n      display: block;\n    "])))),m.Ay.div.withConfig({displayName:"FeaturedCategoryProductBlock__TitleBlock",componentId:"sc-1xuu6kf-5"})([""]);var Q="PopularProductBlock",Y=function(t){var n=(0,B.Qs)({breakpoint:"sm"}),e=(0,c.useContext)(F.A),o=(0,c.useRef)(!1),r=x(t.data),i=r.productCardList,u=(r.title,r.blockTitle),l=void 0===u?"":u,a=r.backgroundColor,d=(r.titleColor,r.ctaButton);r.blockDescription,(0,c.useEffect)(function(){var t;!o.current&&(null==i||null==(t=i.products)?void 0:t.length)>0&&(o.current=!0,p())},[i.products]);var p=function(){var t=[];i.products&&i.products.length>0&&(i.products.forEach(function(n){var o,r=n.productTitle||"";0>t.findIndex(function(t){return t.item_id===n.uid})&&t.push({item_name:n.title,item_id:n.uid,item_brand:r,item_category:null==(o=n.categories)||null==(o=o.map(function(t){return null==t?void 0:t.text}))?void 0:o.join(", "),affiliation:null!=r&&r.includes(S.Io.TakafulKey)?S.Io.Takaful:null!=r&&r.includes(S.Io.InsuranceKey)?S.Io.Insurance:"",item_list_name:e.componentConfigs.gaPageData.content_type||""})}),E.WF.viewItemList({ecommerce:{items:t}}))},s=(0,c.useMemo)(function(){return(0,N.T5)(l,"[ID]")},[l]),b=null!=d&&d.text?(0,U.jsx)(M(),{href:(null==d?void 0:d.url)||"#",onClick:function(){var t;E.WF.buttonClick({buttonTitle:(null==d?void 0:d.gaEventLabel)||(null==d?void 0:d.text),destinationUrl:null==d?void 0:d.url,componentName:Q}),E.WF.navigation({event_action:L.v3.button_click,button_title:(null==d?void 0:d.gaEventLabel)||(null==d?void 0:d.text),destination_url:null==d?void 0:d.url,component_name:Q,product_affiliation:(null==(t=e.componentConfigs)||null==(t=t.gaPageData)?void 0:t.product_affiliation)||""})},target:null!=d&&d.openInNewTab?"_blank":"_self",children:(0,U.jsx)(K,{className:"cta-button",icon:null==d?void 0:d.iconName,outlined:!0,color:"white",backgroundColor:a,children:(null==d?void 0:d.text)||""})}):null;return(0,U.jsx)(H,{id:(null==s?void 0:s.subStr)||"popular-products-wrapper",backgroundColor:a,children:(0,U.jsx)(A.Z,{overflowHidden:!0,children:(0,U.jsxs)(I.A,{container:!0,children:[(0,U.jsx)(I.A,{item:!0,xs:12,children:(0,U.jsx)(G,R(R({},i),{},{gtmComponentName:Q,slidesToShow:4,defaultStyle:1,overflowArrowButton:n,responsive:[{breakpoint:B.M0.lg,settings:{slidesToShow:2}},{breakpoint:B.M0.sm,settings:{slidesToShow:1,infinite:!0,centerMode:!0,centerPadding:"8%"}}]}))}),b&&(0,U.jsx)(I.A,{className:"cta-container-bottom",item:!0,xs:12,children:b})]})})})},Z=e(12271);function $(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);n&&(o=o.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),e.push.apply(e,o)}return e}function q(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{};
1n%2?$(Object(e),!0).forEach(function(n){(0,l.A)(t,n,e[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):$(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))})}return t}var J=(0,l.A)((0,l.A)((0,l.A)((0,l.A)((0,l.A)({},b.IM.SWIPER,Y),b.IM.GRID,Y),b.IM.POPULAR,Y),b.IM.FEATURED,Y),b.IM.SWIPER_WITH_CATEGORY,Y),V=function(t){var n,e=J[(null==(n=t.data.display_settings)?void 0:n.display_option)||b.IM.SWIPER]||Z.Ay;return(0,U.jsx)(e,q({},t))},X=function(t){var n=t.data;if(!n)return(0,U.jsx)(U.Fragment,{});var e=d()(n,"reference[0]",{}),o=s()(d()(e,"products",[]),function(t,n){return q({},d()(t,"reference[0]",{}))}),r=d()(n,"categoryProducts",{}),i=q({allProducts:o,productArgs:q({},e),products:o,relatedProducts:o,categoryProducts:r},e);return(0,U.jsx)(V,{data:q({},i)})};let tt=c.memo(V)}}]);
2//# sourceMappingURL=4313.a95c656063bbede2.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.