1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9971],{1601:function(e,t,n){n.d(t,{Z:function(){return x}});var i=n(8014);n(6168);var r=n(5657),s=n.n(r),a=n(6846),l=n(2790),o=n(2714),c=n(241),d=n.n(c),m=n(1474),u=function(e){var t,n,r,a,l,c=e.news,u=e.color;return(0,i.jsx)(i.Fragment,{children:(0,i.jsx)(o.Z,{md:6,className:"news-thumb",children:(0,i.jsx)(s(),{href:"/news/news-detail/".concat(c&&c.translation.slug),children:(0,i.jsxs)("a",{id:u,children:[(0,i.jsx)("h5",{className:"news-thumb-title uppercase",children:(0,m.Lh)(c&&c.translation.title)}),(0,i.jsx)("div",{className:"relative news-img",children:(0,i.jsx)(d(),{src:c&&(null==c?void 0:null===(t=c.translation)||void 0===t?void 0:null===(n=t.featuredImage)||void 0===n?void 0:null===(r=n.node)||void 0===r?void 0:r.sourceUrl),layout:"fill",objectFit:"cover",quality:75,alt:c&&(null==c?void 0:null===(a=c.translation)||void 0===a?void 0:null===(l=a.featuredImage)||void 0===l?void 0:l.altText)})})]})})},c&&c.translation.id)})},p=n(2044),v=n(2439);function x(e){var t=e.posts,n=e.color,r=(0,p.Z)("common"),c=r.t;return r.lang,(0,i.jsx)(i.Fragment,{children:(0,i.jsxs)(a.Z,{children:[(0,i.jsx)(v.Z,{id:n,className:"my-5",title:"news"}),(0,i.jsx)(l.Z,{children:t&&t.map(function(e,t){if(t<2)return(0,i.jsx)(u,{news:e,color:n},t)})}),(0,i.jsx)(l.Z,{className:"gallery-row",id:"now-btn",children:(0,i.jsx)(o.Z,{md:4,lg:3,children:(0,i.jsx)(s(),{href:"/news",children:(0,i.jsx)("div",{className:"btn more",children:c("more")})})})})]})})}},4660:function(e,t,n){n.d(t,{Z:function(){return s}});var i=n(8014);n(6168);var r=n(4402);function s(){return(0,i.jsx)("div",{style:{width:"36px",margin:"0 auto"},children:(0,i.jsx)(r.Z,{animation:"border",style:{color:"#f04e23"}})})}},2118:function(e,t,n){var i=n(8014),r=n(1474),s=n(2044),a=n(1984),l=n.n(a),o=function(e){var t=e.post,n=e.generalData,a=e.product,o=e.title,c=e.keywords,d=(0,s.Z)("common"),m=d.t;d.lang;var u=window.location.origin?window.location.origin:"",p=window.location.href?window.location.href:"",v=function(e){return e.slice(3,-5)};return a?(0,i.jsxs)(l(),{children:[(0,i.jsx)("meta",{charSet:"UTF-8"}),(0,i.jsx)("meta",{property:"og:url",content:a?p:u}),(0,i.jsx)("meta",{property:"og:type",content:a?"article":"website"}),(0,i.jsx)("meta",{property:"og:title",content:a&&a.name?a.name:n.generalSettingsTitle}),(0,i.jsx)("meta",{property:"og:description",content:a&&a.description?a.description:m("msm-desc")}),(0,i.jsx)("meta",{property:"og:image",content:a&&a.attachment?a.attachment.url:"/images/msm-og-image.png"}),(0,i.jsx)("meta",{name:"description",content:a&&a.description?a.description:m("msm-desc")}),(0,i.jsx)("meta",{name:"keywords",content:r.lq}),(0,i.jsx)("title",{children:o||a&&a.name||m("msm-title")})]}):(0,i.jsxs)(l(),{children:[(0,i.jsx)("meta",{charSet:"UTF-8"}),(0,i.jsx)("meta",{property:"og:url",content:t?p:u}),(0,i.jsx)("meta",{property:"og:type",content:t?"article":"website"}),(0,i.jsx)("meta",{property:"og:title",content:t&&t.translation.title?t.translation.title:null==n?void 0:n.generalSettingsTitle}),(0,i.jsx)("meta",{property:"og:description",content:t&&t.translation.excerpt?v(t.translation.excerpt):m("msm-desc")}),(0,i.jsx)("meta",{property:"og:image",content:t&&t.featuredImage?t.featuredImage.node.sourceUrl:"/images/msm-og-image.png"}),(0,i.jsx)("meta",{name:"keywords",content:t?c:r.lq}),(0,i.jsx)("meta",{httpEquiv:"X-UA-Compatible",content:"IE=edge"}),(0,i.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0, minimum-scale=1"}),(0,i.jsx)("meta",{name:"description",content:t&&t.translation.excerpt?v(t.translation.excerpt):m("msm-desc")}),(0,i.jsx)("title",{children:o||t&&t.translation.title||m("msm-title")})]})};t.Z=o},2439:function(e,t,n){n.d(t,{Z:function(){return s}});var i=n(8014),r=n(2044);function s(e){var t=e.title,n=e.autoColor,s=e.className,a=e.id,l=e.local,o=(0,r.Z)("common"),c=o.t;return(o.lang,l)?(0,i.jsx)("div",{className:"p-0 section-h2",children:(0,i.jsx)("h2",{style:n&&n,className:s&&s,id:a&&a,children:t})}):(0,i.jsx)("div",{className:"p-0 section-h2",children:(0,i.jsx)("h2",{style:n&&n,className:s&&s,id:a&&a||"",children:c(t)})})}n(6168)},8672:function(e,t,n){n.d(t,{Z:function(){return I}});var i=n(8014),r=n(6168),s=n(6846),a=n(2790),l=n(7285),o=n(5332);n(933),n(2821);var c=n(340),d=n(2042),m=n(9728),u=n(5932),p=n(9825),v=n(3315);function x(){var e=(0,p.Z)(["\n query facebookGetPosts($channelIds: [String], $brandIds: [String], $limit: Int){\n facebookGetPosts(channelIds: $channelIds, brandIds: $brandIds, limit: $limit){\n created_time\n picture\n full_picture\n permalink_url\n id\n message\n }\n }\n"]);return x=function(){return e},e}var h=(0,v.Ps)(x()),j=n(9431),g=function(e){var t,n=(0,o.useRouter)(),i={AUT:"5P9Ek9YbpQeGF3SD2",BEV:"bQcTqFzEkFekdRbh8",IND:"Y6HDBymskXuznLTxP"},r=n.pathname,s=[];s=r.startsWith("/automotive")?[i.AUT]:r.startsWith("/beverage")?[i.BEV]:r.startsWith("/industrial")?[i.IND]:[i.AUT,i.BEV,i.IND];var a=(0,m.Z)((0,d.Z)({},e),{variables:(0,m.Z)((0,d.Z)({},(null==e?void 0:e.variables)||{}),{brandIds:s,limit:20}),client:(0,j.o6)()}),l=(0,u.aM)(h,a),c=l.loading,p=l.data,v=l.error;return{posts:null!==(t=null==p?void 0:p.facebookGetPosts)&&void 0!==t?t:[],error:v,loading:c}},f=n(2714),w=n(241),b=n.n(w),y=n(5657),Z=n.n(y);function N(e){var t=e.post,n=e.err,s=(0,r.useState)(!0),a=(s[0],s[1]),l=(0,r.useState)("cover"),o=(l[0],l[1]),c=(0,r.useState)(""),d=c[0],m=c[1],u=(0,r.useState)("social-slide-item"),p=u[0],v=u[1],x=function(){a(!1),o("contain"),m("1px #282e6a solid"),v("social-slide-item video-slide"),n(!0)};return(0,i.jsx)(f.Z,{className:p,children:(0,i.jsx)(Z(),{href:t.permalink_url&&(null==t?void 0:t.permalink_url)||"#/",className:p,children:(0,i.jsx)("a",{target:t.permalink_url?"_blank":"_self",rel:"noopener noreferrer","aria-label":null==t?void 0:t.permalink_url,children:(0,i.jsx)("div",{className:"social-item relative",style:{border:d,backgroundColor:"transparent",objectFit:"cover"},children:(0,i.jsx)("div",{className:"image-wrapper",children:(0,i.jsx)(b(),{onError:x,src:t.full_picture&&(null==t?void 0:t.full_picture)||"/images/msm.png",alt:!t.full_picture&&(null==t?void 0:t.message)||"MSM",layout:"fill",quality:100,style:(null==t?void 0:t.full_picture)&&{}||{background:"#dfdfdf20"},objectFit:(null==t?void 0:t.full_picture)&&"cover"||"contain"})})})})})})}var k=function(){var e=g().posts,t=(0,o.useRouter)(),n=(0,r.useState)(""),d=n[0],m=n[1];(0,r.useEffect)(function(){t.pathname.includes("/automotive")?m("automotiveBlack"):t.pathname.includes("/beverage")&&m("beverageYellow")},[d]);var u=function(e){var t=(0,r.useState)(!1),n=t[0],s=t[1];
1return n?(0,i.jsx)(l.o5,{className:"video-slide",children:"1"}):(0,i.jsx)(l.o5,{className:"swiper-item",children:(0,i.jsx)(N,{post:e,err:s})})};return(0,i.jsx)(s.Z,{fluid:!0,className:"my-5",children:(0,i.jsx)(a.Z,{className:"justify-evenly no-padding no-margin padding-bot socials",children:(0,i.jsx)(l.tq,{slidesPerView:1,spaceBetween:10,freeMode:!0,navigation:!0,grabCursor:!0,centeredSlides:!0,breakpoints:{0:{slidesPerView:1,centeredSlides:!0},640:{slidesPerView:1,centeredSlides:!0},768:{slidesPerView:2,spaceBetween:10},1024:{slidesPerView:3,centeredSlides:!1}},modules:[c.tl,c.W_],className:"mySwiper social-slider ".concat(d),children:e&&e.map(function(e,t){return(0,i.jsx)("div",{children:u(e)},"".concat(t,"-scl-item"))})})})})},S=n(2439),_=n(4660);function I(e){var t=e.color,n=g(),r=n.loading,l=n.error;return r?(0,i.jsx)(s.Z,{children:(0,i.jsx)(a.Z,{children:(0,i.jsx)(f.Z,{md:12,className:"h-10 d-flex align-center",children:(0,i.jsx)(_.Z,{})})})}):l?(console.error(l),(0,i.jsx)("code",{children:l.message})):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(s.Z,{children:"white"===t?(0,i.jsx)(S.Z,{autoColor:{filter:"invert(100%)"},title:"socials",className:"my-3"}):(0,i.jsx)(S.Z,{autoColor:{filter:"invert(0%)"},title:"socials",className:"my-3"})}),(0,i.jsx)(k,{})]})}}}]);
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.