"use strict";(self.webpackChunk_brizy_builder_free=self.webpackChunk_brizy_builder_free||[]).push([["218"],{5385(e,t,o){o.r(t),o.d(t,{default:()=>k});var r,l,c,n,a=o(2540),i=o(5670),s=((r={}).Facebook="Facebook",r.Twitter="Twitter",r.Linkedin="Linkedin",r.Pinterest="Pinterest",r.Reddit="Reddit",r.VK="VK",r.OK="OK",r.Tumblr="Tumblr",r.Skype="Skype",r.Telegram="Telegram",r.Pocket="Pocket",r.XING="XING",r.WhatsApp="WhatsApp",r.Email="Email",r),u=((l={}).Official="official",l.Custom="custom",l),p=((c={}).IconText="icon&text",c.Icon="icon",c.Text="text",c),g=((n={}).CurrentUrl="currentUrl",n.CustomUrl="customUrl",n),T=o(5043);let m=(0,T.q)(s);function k(e){let t=e.get(0);t&&t.querySelectorAll(".brz-shareButton__item").forEach(e=>{var t,o;let r=m(e.getAttribute((0,a.uo)("network"))),l=null!=(t=i.LF(e.getAttribute((0,a.uo)("href"))))?t:"",c=null!=(o=i.LF(e.getAttribute((0,a.uo)("target"))))?o:g.CurrentUrl;if(r){let t=(e=>{switch(e){case s.Facebook:return{iconName:"facebook",iconType:"fa",labelText:"Facebook",networkUrl:"https://www.facebook.com/sharer/sharer.php?u=",colorBgText:"#314d89",colorBgIcon:"#3B5990"};case s.Twitter:return{iconName:"logo-twitter",iconType:"glyph",labelText:"Twitter",networkUrl:"https://twitter.com/share?url=",colorBgText:"#1794e1",colorBgIcon:"#1da1f0"};case s.Linkedin:return{iconName:"logo-linkedin",iconType:"glyph",labelText:"Linkedin",networkUrl:"https://www.linkedin.com/feed/?shareActive=true&text=",colorBgText:"#016daa",colorBgIcon:"#0077b5"};case s.Pinterest:return{iconName:"logo-pinterest",iconType:"glyph",labelText:"Pinterest",networkUrl:"https://pinterest.com/pin/create/button/?url=",colorBgText:"#a50517",colorBgIcon:"#bd081c"};case s.Reddit:return{iconName:"logo-reddit",iconType:"glyph",labelText:"Reddit",networkUrl:"https://reddit.com/submit/?url=",colorBgText:"#e13d00",colorBgIcon:"#ff4500"};case s.VK:return{iconName:"logo-vk",iconType:"glyph",labelText:"VK",networkUrl:"https://vk.com/share.php?url=",colorBgText:"#405e82",colorBgIcon:"#45668e"};case s.OK:return{iconName:"odnoklassniki-square",iconType:"fa",labelText:"OK",networkUrl:"https://connect.ok.ru/offer?url=",colorBgText:"#e16918",colorBgIcon:"#f4731c"};case s.Tumblr:return{iconName:"logo-tumblr",iconType:"glyph",labelText:"Tumblr",networkUrl:"https://tumblr.com/widgets/share/tool?canonicalUrl=",colorBgText:"#2f3e51",colorBgIcon:"#35465c"};case s.Skype:return{iconName:"logo-skype",iconType:"glyph",labelText:"Skype",networkUrl:"https://web.skype.com/share?url=",colorBgText:"#00a4e1",colorBgIcon:"#00aff0"};case s.Telegram:return{iconName:"telegram",iconType:"fa",labelText:"Telegram",networkUrl:"https://t.me/share/url?url=",colorBgText:"#299ad1",colorBgIcon:"#2ca5e0"};case s.Pocket:return{iconName:"get-pocket",iconType:"fa",labelText:"Pocket",networkUrl:"https://getpocket.com/edit?url=",colorBgText:"#ec374e",colorBgIcon:"#fe4961"};case s.XING:return{iconName:"xing-square",iconType:"fa",labelText:"XING",networkUrl:"https://www.xing.com/spi/shares/new?url=",colorBgText:"#015253",colorBgIcon:"#026466"};case s.WhatsApp:return{iconName:"logo-whatsapp",iconType:"glyph",labelText:"WhatsApp",networkUrl:"https://wa.me/?text=",colorBgText:"#26c863",colorBgIcon:"#25d366"};case s.Email:return{iconName:"email-85",iconType:"glyph",labelText:"Email",networkUrl:"https://mail.google.com/mail/u/0/?view=cm&to&su=",colorBgText:"#df4336",colorBgIcon:"#f14638"}}})(r).networkUrl+(c===g.CurrentUrl?encodeURIComponent(window.location.origin):encodeURIComponent(l));e.addEventListener("click",()=>{window.open(t,"_blank","width=600, height=400")})}})}(0,T.q)(p),(0,T.q)(u),(0,T.q)(g),(0,T.S)(["auto","1","2","3","4","5","6"])},5043(e,t,o){function r(e){return t=>e(t)?t:void 0}o.d(t,{q:()=>c,S:()=>l});let l=e=>r(t=>e.includes(t)),c=e=>r(t=>Object.values(e).includes(t))}}]);