PageSourceSearch

https://collins.co.uk/cdn/shop/t/200/assets/component.social-platforms.min.js?v=1783422236456

js collins.co.uk collected 2026-09-24 18:17:09 UTC 6,955 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[6177],{8659:function(l,t,e){e.r(t),e.d(t,{default:function(){return q}});var o=e(1741);const n={key:0},a={class:"social-platforms"},s=["textContent"],i=["textContent"],c=["textContent"],r=["textContent"],u=["textContent"],g={class:"social-platforms__accounts","js-overlay":"scrollElement"},p=["href"],d=["src","alt"],v={class:"social-platforms__account-details"},_=["textContent"],m=["textContent"];var f=e(5916),h=e(7680),w=e(5109);const b={class:"icon icon__twitter",fill:"none",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},y=[(0,o._)("path",{d:"M14.082 10.622 20.39 3h-1.494l-5.477 6.618L9.045 3H4l6.614 10.007L4 21h1.495l5.782-6.989L15.898 21h5.044l-6.86-10.378h.001Zm-2.047 2.474-.67-.997-5.332-7.93H8.33l4.303 6.4.67.996 5.593 8.319H16.6l-4.565-6.788Z",fill:"currentcolor"},null,-1)];var k=e(6959);const C={};var x=(0,k.Z)(C,[["render",function(l,t){return(0,o.wg)(),(0,o.iD)("svg",b,y)}]]);const M={class:"icon icon__facebook",fill:"none",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Z=[(0,o._)("path",{d:"M13.342 21v-7.803h2.653l.398-3.333h-3.051V7.736c0-.965.247-1.623 1.527-1.623H16.5V3.13A20.2 20.2 0 0 0 14.123 3C11.77 3 10.16 4.553 10.16 7.406v2.458H7.5v3.333h2.66V21h3.182Z",fill:"currentcolor"},null,-1)],H={};var D=(0,k.Z)(H,[["render",function(l,t){return(0,o.wg)(),(0,o.iD)("svg",M,Z)}]]);const z={class:"icon icon__instagram",fill:"none",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},O=[(0,o.uE)('<g fill="currentcolor" fill-rule="evenodd" clip-path="url(#a)" clip-rule="evenodd"><path d="M10 13.25a3.251 3.251 0 1 0 0-6.502 3.251 3.251 0 0 0 0 6.502Z"></path><path d="M5.994 19.75H10c2.649 0 2.982 0 4.022-.057 3.534-.162 5.51-2.129 5.687-5.687.041-1.024.041-1.357.041-4.005 0-2.649 0-2.982-.057-4.022-.162-3.535-2.129-5.51-5.687-5.689C12.982.25 12.649.25 10 .25s-2.982 0-4.022.057C2.444.47.47 2.436.29 5.994.25 7.018.25 7.351.25 10s0 2.982.057 4.063c.162 3.542 2.129 5.509 5.687 5.687Zm8.128-15.412a1.175 1.175 0 0 1 1.088-.716 1.172 1.172 0 0 1 .437 2.252 1.168 1.168 0 0 1-1.595-.86 1.178 1.178 0 0 1 .07-.677v.001ZM5.376 8.084a5.004 5.004 0 1 1 9.247 3.83 5.004 5.004 0 0 1-9.247-3.83Z"></path></g><defs><clipPath id="a"><path d="M.25.25h19.5v19.5H.25z" fill="#fff"></path></clipPath></defs>',2)],B={};var T=(0,k.Z)(B,[["render",function(l,t){return(0,o.wg)(),(0,o.iD)("svg",z,O)}]]);const W={class:"icon icon__linkedin",fill:"none",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},A=[(0,o._)("path",{d:"M19.666 3H4.326A1.32 1.32 0 0 0 3 4.297v15.404A1.32 1.32 0 0 0 4.326 21h15.34A1.326 1.326 0 0 0 21 19.701V4.297A1.325 1.325 0 0 0 19.666 3ZM8.336 18.337h-2.67v-8.59h2.67v8.59ZM8.55 7.026a1.554 1.554 0 0 1-1.547 1.547 1.549 1.549 0 1 1 1.55-1.548H8.55Zm9.786 11.31H15.67v-4.175c0-.997-.018-2.28-1.388-2.28-1.389 0-1.6 1.086-1.6 2.21v4.248h-2.67V9.75h2.564v1.175h.036a2.81 2.81 0 0 1 2.526-1.388c2.704 0 3.203 1.778 3.203 4.092l-.004 4.708Z",fill:"currentcolor"},null,-1)],I={};var $=(0,k.Z)(I,[["render",function(l,t){return(0,o.wg)(),(0,o.iD)("svg",W,A)}]]);const V={class:"icon icon__youtube",viewBox:"0 0 24 17",xmlns:"http://www.w3.org/2000/svg"},L=[(0,o._)("path",{d:"M12 0c.036 0 7.51.001 9.377.508a3.023 3.023 0 0 1 2.121 2.147C23.998 4.548 24 8.5 24 8.5s0 3.952-.502 5.845a3.023 3.023 0 0 1-2.121 2.147C19.51 16.999 12.037 17 12 17c0 0-7.506 0-9.377-.508a3.023 3.023 0 0 1-2.12-2.147C0 12.452 0 8.5 0 8.5s0-3.952.502-5.845A3.023 3.023 0 0 1 2.623.508C4.494 0 12 0 12 0ZM9.598 12.142 15.833 8.5 9.598 4.858v7.284Z","fill-rule":"evenodd","clip-rule":"evenodd"},null,-1)],P={};var Y=(0,k.Z)(P,[["render",function(l,t){return(0,o.wg)(),(0,o.iD)("svg",V,L)}]]),j={name:"SocialPlatforms",components:{Btn:w.Z,Overlay:h.Z,IconTwitter:x,IconFacebook:D,IconInstagram:T,IconLinkedin:$,IconYoutube:Y},props:{socials:{type:[Boolean,Object],default:!1}},data(){return{platform:""}},computed:{...(0,f.rn)({isMobile:l=>l.index.screen.mobile})},watch:{isMobile(){this.closeOverlay("socialsModal")}},methods:{...(0,f.nv)({closeOverlay:"overlays/close",openOverlay:"overlays/open",toggleOverlay:"overlays/toggle"}),handleMenuToggle(l){this.platform=l,this.toggleOverlay({ignoreDismissed:!0,namespace:"socialsModal"})}}},q=(0,k.Z)(j,[["render",function(l,t,e,f,h,w){const b=(0,o.up)("icon-twitter"),y=(0,o.up)("icon-facebook"),k=(0,o.up)("icon-instagram"),C=(0,o.up)("icon-linkedin"),x=(0,o.up)("icon-youtube"),M=(0,o.up)("btn"),Z=(0,o.up)("overlay");return e.socials?((0,o.wg)(),(0,o.iD)("div",n,[(0,o._)("div",a,[(0,o._)("button",{class:"social-platforms__toggle",type:"button",onClick:t[0]||(t[0]=l=>w.handleMenuToggle("twitter"))},[(0,o._)("span",{class:"visually-hidden",textContent:(0,o.zw)(l.$string("general.social_platforms.twitter_label"))},null,8,s),(0,o.Wm)(b)]),(0,o._)("button",{class:"social-platforms__toggle",type:"button",onClick:t[1]||(t[1]=l=>w.handleMenuToggle("facebook"))},[(0,o._)("span",{class:"visually-hidden",textContent:(0,o.zw)(l.$string("general.social_platforms.facebook_label"))},null,8,i),(0,o.Wm)(y)]),(0,o._)("button",{class:"social-platforms__toggle",type:"button",onClick:t[2]||(t[2]=l=>w.handleMenuToggle("instagram"))},[(0,o._)("span",{class:"visually-hidden",textContent:(0,o.zw)(l.$string("general.social_platforms.instagram_label"))},null,8,c),(0,o.Wm)(k)]),(0,o._)("button",{class:"social-platforms__toggle",type:"button",onClick:t[3]||(t[3]=l=>w.handleMenuToggle("linkedin"))},[(0,o._)("span",{class:"visually-hidden",textContent:(0,o.zw)(l.$string("general.social_platforms.linkedin_label"))},null,8,r),(0,o.Wm)(C)]),(0,o._)("button",{class:"social-platforms__toggle",type:"button",onClick:t[4]||(t[4]=l=>w.handleMenuToggle("youtube"))},[(0,o._)("span",{class:"visually-hidden",textContent:(0,o.zw)(l.$string("general.social_platforms.youtube_label"))},null,8,u),(0,o.Wm)(x)])]),(0,o.Wm)(Z,{key:"socialsModal","block-class":"social-platforms-overlay",direction:"none",namespace:"socialsModal",type:"shelf-modal"},{title:(0,o.w5)((()=>
1[(0,o.Uk)((0,o.zw)(e.socials.title),1)])),body:(0,o.w5)((()=>[(0,o._)("div",g,[((0,o.wg)(!0),(0,o.iD)(o.HY,null,(0,o.Ko)(e.socials?.list,((l,t)=>((0,o.wg)(),(0,o.iD)(o.HY,{key:t},[l.platform===h.platform?((0,o.wg)(),(0,o.iD)("a",{key:0,class:"social-platforms__account",href:l.url},[(0,o._)("img",{class:"social-platforms__account-image",src:l.image.src,alt:l.image.alt,height:"60",width:"60"},null,8,d),(0,o._)("div",v,[(0,o._)("p",{class:"text-body-s-bold",textContent:(0,o.zw)(l.name)},null,8,_),(0,o._)("p",{class:"text-body-s-regular",textContent:(0,o.zw)(l.handle)},null,8,m)])],8,p)):(0,o.kq)("",!0)],64)))),128))]),(0,o.Wm)(M,{class:"social-platforms__dismiss",label:l.$string("general.social_platforms.modal.close"),type:"button",modifiers:"secondary block center",onClick:t[5]||(t[5]=t=>l.closeOverlay("socialsModal"))},null,8,["label"])])),_:1})])):(0,o.kq)("",!0)}]])}}]);
2//# sourceMappingURL=component.social-platforms.min.js.map?v=1783422236456

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.