18
26
wmi-parprog/05_html_jQuery/eurojackpot/web1_files/6.chatbotize-entrypoint.min.js

1 line
76 KiB
JavaScript

(window.zowieJsonp=window.zowieJsonp||[]).push([[6],{3:function(e,t,n){"use strict";n.r(t);var a=n(12),o=n.n(a),i=n(21),r=n(7),s=n(1),c=n(29),l=n.n(c),d=n(33),p=n.n(d),u=n(34),h=n.n(u),m=n(35),f=n.n(m),g=n(36),b=n.n(g),V=n(37),v=n.n(V),w=n(38),C=n.n(w),A=n(39),k=n.n(A),x=function(e){return e.active?o.a.createElement("svg",{width:"60",height:"60",viewBox:"0 0 60 60",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{"max-width":"none",height:"100%",width:"100%"}},o.a.createElement("rect",{width:"60",height:"60",rx:"8",fill:"white"}),o.a.createElement("g",{filter:"url(#filter0_d)"},o.a.createElement("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M30 45C38.2843 45 45 38.2843 45 30C45 21.7157 38.2843 15 30 15C21.7157 15 15 21.7157 15 30C15 32.6662 15.6955 35.1698 16.9151 37.3395L15 45L22.6605 43.0849C24.8302 44.3045 27.3338 45 30 45ZM28.75 30C28.75 31.3808 27.6308 32.5 26.25 32.5C24.8692 32.5 23.75 31.3808 23.75 30C23.75 28.6192 24.8692 27.5 26.25 27.5C27.6308 27.5 28.75 28.6192 28.75 30ZM33.75 32.5C35.1308 32.5 36.25 31.3808 36.25 30C36.25 28.6192 35.1308 27.5 33.75 27.5C32.3692 27.5 31.25 28.6192 31.25 30C31.25 31.3808 32.3692 32.5 33.75 32.5Z",fill:e.color})),o.a.createElement("defs",null,o.a.createElement("filter",{id:"filter0_d",x:"9",y:"11",width:"42",height:"42",filterUnits:"userSpaceOnUse","color-interpolation-filters":"sRGB"},o.a.createElement("feFlood",{"flood-opacity":"0",result:"BackgroundImageFix"}),o.a.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),o.a.createElement("feOffset",{dy:"2"}),o.a.createElement("feGaussianBlur",{stdDeviation:"3"}),o.a.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.08 0"}),o.a.createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow"}),o.a.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow",result:"shape"})))):o.a.createElement("svg",{width:"60",height:"60",viewBox:"0 0 60 60",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{"max-width":"none",height:"100%",width:"100%"}},o.a.createElement("rect",{width:"60",height:"60",rx:"8",fill:e.color}),o.a.createElement("g",{filter:"url(#filter0_d)"},o.a.createElement("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M30 45C38.2843 45 45 38.2843 45 30C45 21.7157 38.2843 15 30 15C21.7157 15 15 21.7157 15 30C15 32.6662 15.6955 35.1698 16.9151 37.3395L15 45L22.6605 43.0849C24.8302 44.3045 27.3338 45 30 45ZM28.75 30C28.75 31.3808 27.6308 32.5 26.25 32.5C24.8692 32.5 23.75 31.3808 23.75 30C23.75 28.6192 24.8692 27.5 26.25 27.5C27.6308 27.5 28.75 28.6192 28.75 30ZM33.75 32.5C35.1308 32.5 36.25 31.3808 36.25 30C36.25 28.6192 35.1308 27.5 33.75 27.5C32.3692 27.5 31.25 28.6192 31.25 30C31.25 31.3808 32.3692 32.5 33.75 32.5Z",fill:"white"})),o.a.createElement("defs",null,o.a.createElement("filter",{id:"filter0_d",x:"9",y:"11",width:"42",height:"42",filterUnits:"userSpaceOnUse","color-interpolation-filters":"sRGB"},o.a.createElement("feFlood",{"flood-opacity":"0",result:"BackgroundImageFix"}),o.a.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"}),o.a.createElement("feOffset",{dy:"2"}),o.a.createElement("feGaussianBlur",{stdDeviation:"3"}),o.a.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.08 0"}),o.a.createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow"}),o.a.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow",result:"shape"}))))},y=function(e){return e.visible?e.value<1?null:o.a.createElement("div",{id:"zowieBadgeStyled",style:{bottom:e.isMobile?"38px":"45px"}},e.value>9?9:e.value):null},S=function(e){return o.a.createElement("svg",{width:"17",height:"17",viewBox:"0 0 17 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",onClick:function(t){t.stopPropagation(),e.onClick()}},o.a.createElement("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M8.63385 10.6366L14.7195 16.7223L16.6904 14.7515L10.6047 8.66582L16.6903 2.5802L14.7195 0.609397L8.63385 6.69502L2.54822 0.609378L0.577409 2.58018L6.66305 8.66582L0.577339 14.7515L2.54814 16.7223L8.63385 10.6366Z",fill:"white"}))},E=function(e){return o.a.createElement("svg",{height:"100px",width:"100px",fill:"#333333",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",version:"1.1",x:"0px",y:"0px",id:"zowieHideIcon",style:{opacity:e.visible?1:0},onClick:function(t){t.stopPropagation(),e.onClick()}},o.a.createElement("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},o.a.createElement("path",{d:"M13.4142136,12 L17.6568542,16.2426407 C18.0473785,16.633165 18.0473785,17.26633 17.6568542,17.6568542 C17.26633,18.0473785 16.633165,18.0473785 16.2426407,17.6568542 L12,13.4142136 L7.75735931,17.6568542 C7.36683502,18.0473785 6.73367004,18.0473785 6.34314575,17.6568542 C5.95262146,17.26633 5.95262146,16.633165 6.34314575,16.2426407 L10.5857864,12 L6.34314575,7.75735931 C5.95262146,7.36683502 5.95262146,6.73367004 6.34314575,6.34314575 C6.73367004,5.95262146 7.36683502,5.95262146 7.75735931,6.34314575 L12,10.5857864 L16.2426407,6.34314575 C16.633165,5.95262146 17.26633,5.95262146 17.6568542,6.34314575 C18.0473785,6.73367004 18.0473785,7.36683502 17.6568542,7.75735931 L13.4142136,12 Z",fill:"#333333"})))},z=function(){return o.a.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o.a.createElement("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M10 18C14.4183 18 18 14.4183 18 10C18 5.58171 14.4183 2 10 2C5.58171 2 2 5.58171 2 10C2 11.422 2.37093 12.7572 3.0214 13.9144L2 18L6.08561 16.9786C7.24276 17.6291 8.57804 18 10 18ZM9.33333 10C9.33333 10.7364 8.73641 11.3333 8 11.3333C7.26359 11.3333 6.66667 10.7364 6.66667 10C6.66667 9.26359 7.26359 8.66667 8 8.66667C8.73641 8.66667 9.33333 9.26359 9.33333 10ZM12 11.3333C12.7364 11.3333 13.3333 10.7364 13.3333 10C13.3333 9.26359 12.7364 8.66667 12 8.66667C11.2636 8.66667 10.6667 9.26359 10.6667 10C10.6667 10.7364 11.2636 11.3333 12 11.3333Z",fill:"#181628"}))},O=function(e){return o.a.createElement("svg",{height:"100px",width:"100px",fill:"#FFF",id:"zowieCloseIcon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",version:"1.1",onClick:function(t){t.stopPropagation(),e.onClick()},x:"0px",y:"0px"},o.a.createElement("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},o.a.createElement("path",{d:"M13.4142136,12 L17.6568542,16.2426407 C18.0473785,16.633165 18.0473785,17.26633 17.6568542,17.6568542 C17.26633,18.0473785 16.633165,18.0473785 16.2426407,17.6568542 L12,13.4142136 L7.75735931,17.6568542 C7.36683502,18.0473785 6.73367004,18.0473785 6.34314575,17.6568542 C5.95262146,17.26633 5.95262146,16.633165 6.34314575,16.2426407 L10.5857864,12 L6.34314575,7.75735931 C5.95262146,7.36683502 5.95262146,6.73367004 6.34314575,6.34314575 C6.73367004,5.95262146 7.36683502,5.95262146 7.75735931,6.34314575 L12,10.5857864 L16.2426407,6.34314575 C16.633165,5.95262146 17.26633,5.95262146 17.6568542,6.34314575 C18.0473785,6.73367004 18.0473785,7.36683502 17.6568542,7.75735931 L13.4142136,12 Z",fill:"#FFF"})))},T=function(e){switch(e.type){case"instagram":return o.a.createElement("img",{alt:"Instagram",src:p.a});case"messenger":return o.a.createElement("img",{alt:"Messenger",src:h.a});case"signal":return o.a.createElement("img",{alt:"Signal",src:f.a});case"telegram":return o.a.createElement("img",{alt:"Telegram",src:b.a});case"viber":return o.a.createElement("img",{alt:"Viber",src:v.a});case"wechat":return o.a.createElement("img",{alt:"WeChat",src:C.a});case"whatsapp":return o.a.createElement("img",{alt:"WhatsApp",src:k.a});default:return null}},I=function(){return o.a.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o.a.createElement("g",{filter:"url(#filter0_d_14095_236973)"},o.a.createElement("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M12 19C16.4183 19 20 15.4183 20 11C20 6.58171 16.4183 3 12 3C7.58171 3 4 6.58171 4 11C4 12.422 4.37093 13.7572 5.0214 14.9144L4 19L8.08561 17.9786C9.24276 18.6291 10.578 19 12 19ZM11.3333 11C11.3333 11.7364 10.7364 12.3333 10 12.3333C9.26359 12.3333 8.66667 11.7364 8.66667 11C8.66667 10.2636 9.26359 9.66667 10 9.66667C10.7364 9.66667 11.3333 10.2636 11.3333 11ZM14 12.3333C14.7364 12.3333 15.3333 11.7364 15.3333 11C15.3333 10.2636 14.7364 9.66667 14 9.66667C13.2636 9.66667 12.6667 10.2636 12.6667 11C12.6667 11.7364 13.2636 12.3333 14 12.3333Z",fill:"white"})),o.a.createElement("defs",null,o.a.createElement("filter",{id:"filter0_d_14095_236973",x:"0.8",y:"0.866666",width:"22.4",height:"22.4",filterUnits:"userSpaceOnUse","color-interpolation-filters":"sRGB"},o.a.createElement("feFlood",{"flood-opacity":"0",result:"BackgroundImageFix"}),o.a.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),o.a.createElement("feOffset",{dy:"1.06667"}),o.a.createElement("feGaussianBlur",{stdDeviation:"1.6"}),o.a.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.08 0"}),o.a.createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_14095_236973"}),o.a.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_14095_236973",result:"shape"}))))},B=n(40),P=n.n(B),M=n(41),L=n.n(M),D={insert:"head",singleton:!1},N=(P()(L.a,D),L.a.locals,n(43)),R=n.n(N),j=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),W=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],a=!0,o=!1,i=void 0;try{for(var r,s=e[Symbol.iterator]();!(a=(r=s.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){o=!0,i=e}finally{try{!a&&s.return&&s.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();function U(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var F=new Audio(R.a),_="herochat-status",H="herochat-state",G="herochat-cta",Z="herochat-cta-product-added",Y="herochat-cta-product-removed",J="herochat-cta-product-visited",Q="herochat-last-visit-time",q="herochat-chat-reacted",K="avatar-index";function X(){return void 0!==document.title?document.title:""}function $(){sessionStorage.setItem(Z,"true")}function ee(){sessionStorage.setItem(Y,"true")}function te(){sessionStorage.setItem(J,"true")}function ne(){switch(localStorage.getItem(_)){case"opened":return"opened";default:return"closed"}}function ae(){switch(sessionStorage.getItem(G)){case"disabled":return"disabled";default:return"enabled"}}function oe(e){localStorage.setItem(_,e)}function ie(e){sessionStorage.setItem(H,e)}function re(e){localStorage.setItem(q,JSON.stringify(e))}var se=["https://files.chatbotize.com/widget/avatars/avatar_andrya.png","https://files.chatbotize.com/widget/avatars/avatar_asinthia.png","https://files.chatbotize.com/widget/avatars/avatar_christa-tate.png","https://files.chatbotize.com/widget/avatars/avatar_glenette-myers.png","https://files.chatbotize.com/widget/avatars/avatar_jeanne-robertson.png","https://files.chatbotize.com/widget/avatars/avatar_jenn-wiedmaier.png","https://files.chatbotize.com/widget/avatars/avatar_kaitlyn-cooley.png","https://files.chatbotize.com/widget/avatars/avatar_kassi-carr.png","https://files.chatbotize.com/widget/avatars/avatar_katie-herbord.png","https://files.chatbotize.com/widget/avatars/avatar_kelly-gallion.png","https://files.chatbotize.com/widget/avatars/avatar_lila.png","https://files.chatbotize.com/widget/avatars/avatar_lisa-riggins.png","https://files.chatbotize.com/widget/avatars/avatar_michael-henry.png","https://files.chatbotize.com/widget/avatars/avatar_pam-harman.png","https://files.chatbotize.com/widget/avatars/avatar_patricia-stiller.png","https://files.chatbotize.com/widget/avatars/avatar_rachel-peery.png","https://files.chatbotize.com/widget/avatars/avatar_rogene-hollis.png","https://files.chatbotize.com/widget/avatars/avatar_shawn-rose.png","https://files.chatbotize.com/widget/avatars/avatar_sheniqua-anderson.png","https://files.chatbotize.com/widget/avatars/avatar_stella.png","https://files.chatbotize.com/widget/avatars/avatar_stephanie-henry.png","https://files.chatbotize.com/widget/avatars/avatar_steve-sanders.png","https://files.chatbotize.com/widget/avatars/avatar_tamara-mcnickle.png","https://files.chatbotize.com/widget/avatars/avatar_tammy-noel.png","https://files.chatbotize.com/widget/avatars/avatar_virginia-mckinley.png","https://files.chatbotize.com/widget/avatars/avatar_wendi-mills.png","https://files.chatbotize.com/widget/avatars/avatar_wendy-witmer.png"];var ce=window._chatbotize_env_.REACT_APP_WIDGET_IFRAME_URL;function le(e){var t=o.a.useState(0),n=W(t,2),a=n[0],i=n[1];return o.a.useEffect(function(){i(0);var t=setInterval(function(){i(function(t){return t===e.lines.length-1?0:t+1})},3e3);return function(){return clearInterval(t)}},[e.lines.length]),o.a.createElement("div",{id:"zowieChatBar",style:{top:"TOP"===e.mode?e.visible?"0px":"-36px":"",bottom:"BOTTOM"===e.mode?e.visible?"0px":"-36px":"",backgroundColor:e.color},onClick:function(){return e.onClick()}},o.a.createElement("div",{id:"zowieChatBarIcon"},o.a.createElement(I,null)),e.lines.map(function(e,t){return o.a.createElement("p",{key:t,style:{opacity:t===a?1:0}},e)}),e.showHideButton&&o.a.createElement("div",{id:"zowieChatBarClose"},o.a.createElement(S,{onClick:function(){return e.onHide()}})))}function de(e){var t,n=void 0===e.iconCloseUrl||void 0===e.iconOpenUrl;return o.a.createElement("div",{id:e.isMobile?"zowieFloatingButtonMobile":"zowieFloatingButton",style:{bottom:e.offScreen?"-1000px":e.isMobile?e.position.mobileBottom+"px":e.position.desktopBottom+"px",right:e.isMobile?e.position.mobileRight?e.position.mobileRight+"px":void 0:e.position.desktopRight?e.position.desktopRight+"px":void 0,left:e.isMobile?e.position.mobileLeft?e.position.mobileLeft+"px":void 0:e.position.desktopLeft?e.position.desktopLeft+"px":void 0,boxShadow:n?"0 0px 40px rgba(0, 0, 0, 0.3)":"none",borderRadius:n?e.personalized?"30px":"8px":"none"},onClick:function(){return e.onClick()},onMouseEnter:function(){return e.onMouseEnter()},onMouseLeave:function(){return e.onMouseLeave()},isMobile:e.isMobile,position:e.position,offScreen:e.offScreen},void 0!==e.badge?o.a.createElement(y,{visible:!e.badgeVisible,isMobile:e.isMobile,value:e.badge}):null,e.iconCloseUrl&&e.iconOpenUrl?e.iconActive?o.a.createElement("img",{src:e.iconCloseUrl,alt:"Close Icon"}):o.a.createElement("img",{src:e.iconOpenUrl,alt:"Open Icon"}):o.a.createElement(o.a.Fragment,null,e.personalized&&e.isProactiveChatActive?o.a.createElement(o.a.Fragment,null,e.iconActive?o.a.createElement("div",{style:{display:"flex",overflow:"hidden",borderRadius:"30px"}},o.a.createElement(x,{color:e.theme.primaryColor,active:!0})):o.a.createElement("img",{src:(t=0,null===localStorage.getItem(K)&&(t=Math.floor(27*Math.random()),localStorage.setItem(K,t.toString())),se[t]),alt:""})):o.a.createElement(x,{color:e.theme.primaryColor,active:e.iconActive})))}function pe(){var e=void 0;return"undefined"!==typeof document.hidden?e="hidden":"undefined"!==typeof document.msHidden?e="msHidden":"undefined"!==typeof document.webkitHidden&&(e="webkitHidden"),!document[e]}var ue=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var a,i=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return i.iframe=o.a.createRef(),i.updateWindowSize=function(){i.setState({width:window.innerWidth,height:window.innerHeight})},i.getDefaultCta=function(){var e=i.props,t=e.disableDesktopCta,n=e.disableMobileCta,a=e.desktopCta,o=e.mobileCta;return{desktop:t?{mode:"HIDDEN",header:"",text:""}:a,mobile:n?{mode:"HIDDEN",lines:[]}:o,triggerEvents:[{name:"PageVisited"}],sound:void 0,titleChange:void 0,referral:void 0,source:"default"}},i.watchTabFocus=function(){i.state.opened&&i.sendCommand(JSON.stringify({action:"focus",payload:{value:pe()}})),pe()&&i.setState({lastTabFocusMillis:Date.now()})},i.tryUpdateUrl=function(){var e=i.props.showOnLoad,t=window.location.href,n=X();i.state.currentUrl!==t&&(!0===e&&i.setState({currentUrl:t},i.calculatePolicy),i.state.initialized&&i.sendCommand(JSON.stringify({action:"updatePageUrl",payload:{url:t,title:n}})),i.setState({originalTitle:n},i.hideCta))},i.logout=function(){var e=i.state.iframeVisible,t=i.props.instanceId;e&&i.sendCommand(JSON.stringify({action:"logout",payload:{instanceId:t}}))},i.start=function(){var e=i.state,t=e.opened,n=e.visible;"9be065adf1534e498deb9d682ad2eef5"!==i.props.instanceId||n||i.show(),t||i.toggleChat()},i.close=function(){i.state.opened&&i.toggleChat()},i.open=function(){i.state.opened||i.toggleChat()},i.show=function(){var e=i.props,t=e.onShow,a=e.instanceId;i.setState({noRender:!1}),setTimeout(function(){i.setState({visible:!0}),"fb64e04d80d141adb1c062f1ed177662"===a||"0187725d0e98488baf9839f4c3babb8b"===a?setInterval(function(){var e=ae(),t=document.querySelector(".content"),n=document.querySelector(".search-container__backdrop"),a=document.querySelector(".comparison-footer-widget"),o=document.querySelector(".navigation"),i=document.getElementById("zowieChatBar"),r=document.querySelector(".header--fadein"),s=document.getElementById("header"),c=document.querySelector(".cdk-global-overlay-wrapper");null===a?window.Chatbotize.updatePosition({desktopBottom:20,desktopRight:20,mobileBottom:20,mobileRight:25,mobileOffset:425}):window.Chatbotize.updatePosition({desktopBottom:120,desktopRight:20,mobileBottom:20,mobileRight:25,mobileOffset:425}),"disabled"===e&&null!==i?(i.style.display="none",i.style.top="none",null!==t&&(t.style.paddingTop="0px"),null!==r&&(r.style.top="0px"),null!==s&&(s.style.marginTop="0px")):null!==i&&i.parentElement&&"1"!==getComputedStyle(i.parentElement).opacity?(null!==t&&(t.style.paddingTop="0px"),null!==r&&(r.style.top="0px"),null!==s&&(s.style.marginTop="0px")):null!==o&&null!==i&&"none"===getComputedStyle(o).transform?i.style.display="none":null!==c&&null!==i?i.style.display="none":null!==n&&null!==i?i.style.display="none":null!==i&&null!==t?(i.style.display="block",i.style.top="3px",t.style.paddingTop="32px",null!==r&&(r.style.top="38px")):null!==i&&null!==s?s.style.marginTop="36px":null!==r&&(r.style.top="0px")},100):t&&t()},1e3),n.e(7).then(n.bind(null,51)).then(function(e){var t=i.props.instanceId,n=e.getConversationId(t),a=i.props.zendeskAccountKey;a&&n&&e.keepAlive({accountKey:a,conversationId:n,instanceId:t})})},i.hide=function(){var e=i.props.onHide;i.setState({visible:!1}),setTimeout(function(){i.setState({noRender:!0}),e&&e()},1e3)},i.sendCommand=function(e){i.iframe.current.contentWindow&&i.iframe.current.contentWindow.postMessage(e,"*")},i.initialize=function(){var e=i.state,t=e.iframeLoaded;e.iframeVisible||(i.setState({iframeVisible:!0,ctaActivated:!1,widgetOffScreen:!1,unreadMessageBadge:0,opened:!0},function(){t&&i.onLoad()}),i.timeout=setTimeout(function(){i.setState({ctaOffScreen:!0})},500))},i.onCtaClicked=function(){var e=i.state,t=e.alternativeChannelsActivated,n=e.alreadyOpened,a=i.props.alternativeChannels;if(a&&!n)return"mobile"===a.surface&&!1===Object(s.b)()?void i.toggleChat():"desktop"===a.surface&&!0===Object(s.b)()?void i.toggleChat():void i.setState({alternativeChannelsOffScreen:!1,alternativeChannelsActivated:!t,iconActive:!t,ctaOffScreen:!0,ctaActivated:!1});i.toggleChat()},i.onProactiveButtonClick=function(e){i.setState({pendingReferral:e}),i.onCtaClicked()},i.sendReferral=function(e){Object(s.g)("Zowie Widget - triggering referral with value:",e),i.sendCommand(JSON.stringify({action:"sendReferral",payload:{value:e}})),"start"!==e&&i.ecommerceTrackPractiveChatClicked(e)},i.toggleChat=function(){var e=i.state,t=e.opened,n=e.alreadyOpened,a=e.initialized,o=e.getToken,r=e.invalidSession,c=e.conversationState,l=e.waitingForGetToken;if(i.setState({alternativeChannelsActivated:!1}),setTimeout(function(){i.setState({alternativeChannelsOffScreen:!0})},1e3),!l){if(!a&&!r)return o?(i.setState({waitingForGetToken:!0}),o(function(e){i.setState({waitingForGetToken:!1,accessToken:e}),i.initialize()},function(e){i.setState({waitingForGetToken:!1,iconActive:!1}),Object(s.g)("Zowie Widget - Error while initializing chat "+e)})):i.initialize(),void i.setState({iconActive:!0});t?i.setState({iconActive:!1}):i.setState({iconActive:!0}),i.timeout&&clearTimeout(i.timeout);var d=i.props,p=d.requestWebPush,u=d.onOpen,h=d.onClose,m=!t;r||(i.sendCommand(JSON.stringify({action:t?"deactivate":"activate"})),t||i.sendCommand(JSON.stringify({action:"focus",payload:{value:!0}})),"started"===c&&i.setState({alreadyStarted:!0}),!1!==p&&i.props.webpushNotificationTitleEnabled||"started"===c||setTimeout(function(){return i.sendCommand(JSON.stringify({action:"disableNotifications"}))},100)),m?i.setState({widgetOffScreen:!1,unreadMessageBadge:0,opened:!0}):(i.setState({opened:!1,unreadMessageBadge:0}),i.timeout=setTimeout(function(){i.setState({widgetOffScreen:!0})},1e3)),m?(oe("opened"),u&&u()):(oe("closed"),h&&h()),!n&&m&&i.setState({alreadyOpened:!0})}},i.onLoad=function(){var e,t=i.state.iframeVisible,a=i.props,o=a.instanceId,r=a.name,c=a.description,d=a.logoUrl,p=a.engagementMessage,u=a.resetSession,h=a.sessionTimeout,m=a.allowFileUpload,f=a.allowPickEmoji,g=a.allowDownloadTranscript,b=a.allowFileExtensions,V=a.agentAvatar,v=a.chatbotAvatar,w=a.onClose,C=a.onEndChat,A=a.onStart,k=a.onMessageSent,x=a.onChatReacted,y=a.onMessageReceived,S=a.zendeskAccountKey,E=a.gorgiasApplicationId,z=a.gorgiasPassReferral,O=a.context,T=a.sendReferralDelay,I=a.slug,B=l.a.parse(window.location.search).zowieParam,P=I?"https://"+I+".api.getzowie.com":(e=window._chatbotize_env_.DATACENTER_API_URL).endsWith("/")?e.substring(0,e.length-1):e;if(i.setState({iframeLoaded:!0}),t){window.addEventListener("message",function e(t){try{var a=JSON.parse(t.data);if(a&&"subscribeToNotifications"===a.event)Promise.all([n.e(12),n.e(10)]).then(n.bind(null,52)).then(function(e){e.setup({serviceWorkerPath:i.props.serviceWorkerPath||"/herochat-sw.js",onSuccess:function(e){i.sendCommand(JSON.stringify({action:"enableNotifications",payload:{deviceToken:e}}))},onError:function(){i.sendCommand(JSON.stringify({action:"disableNotifications"}))}})});else if(a&&"initialized"===a.event){var r=a.data||{};"unknown"===i.state.conversationState&&i.ecommerceTrackConversationStarted(r.conversationId),i.ecommerceWatchCart(),ie(r.conversationStatus),i.setState({initialized:!0,invalidSession:!1,opened:!1,conversationState:r.conversationStatus,alreadyStarted:"unknown"!==r.conversationStatus&&i.state.alreadyStarted},function(){return i.toggleChat()}),S&&n.e(7).then(n.bind(null,51)).then(function(e){e.setup({accountKey:S,conversationId:r.conversationId,instanceId:o,apiBaseUrl:P})}),E&&n.e(11).then(n.bind(null,53)).then(function(e){e.setup({applicationId:E,conversationId:r.conversationId,instanceId:o,referral:z?i.state.pendingReferral:void 0,apiBaseUrl:P})})}else if(a&&"sessionInvalid"===a.event)Object(s.g)("Zowie Widget - session invalid."),i.setState({iconActive:!0,widgetOffScreen:!1,invalidSession:!0,opened:!0,alreadyStarted:!1});else if(a&&"sessionRestarted"===a.event)Object(s.g)("Zowie Widget - session restarted."),i.setState({alreadyStarted:!1,conversationState:"unknown"},function(){ie("unknown"),re(!1),i.showForm()});else if(a&&"sessionTerminated"===a.event){if(Object(s.g)("Zowie Widget - session terminated."),i.setState({initialized:!1,opened:!1,alreadyActivated:!1,alreadyOpened:!1,alreadyStarted:!1,iframeVisible:!1,iframeLoaded:!1,iconActive:!1,conversationState:"unknown",sessionTerminated:!0},function(){window.removeEventListener("message",e),oe("closed"),ie("unknown"),re(!1),i.showForm(),w&&w(),C&&C()}),S){Object(s.g)("Zowie Widget - terminating Zendesk session");try{"f73676c1b7324596877572ffaeb45c15"!==o&&"5ecd1106-c9d5-47d1-943e-ecc6c8656a27"!==o||window.zChat.addTags(["zowie_amo_en"]),window.zChat.endChat({clear_dept_id_on_chat_ended:!0})}catch(e){Object(s.f)(e)}}}else if(a&&"activated"===a.event){var c=i.state,l=c.alreadyStarted,d=c.alreadyActivated,p=c.pendingReferral,u=i.props.startOnOpen;d||(i.sendMetadataCommands(),i.setState({alreadyActivated:!0})),p?(setTimeout(function(){i.sendReferral(p)},T),i.setState({pendingReferral:void 0})):!l&&u&&setTimeout(function(){return i.sendReferral("start")},T),!l&&u&&(A&&A(),i.setState({alreadyStarted:!0})),ie("started"),i.setState({conversationState:"started"}),i.sendCommand(JSON.stringify({action:"enableParentImagePreview"}))}else a&&"showImagePreview"===a.event?i.setState({imagePreviewUrl:a.data.url}):a&&"messageSent"===a.event?(k&&k(a.value),function(){switch(localStorage.getItem(q)){case"true":return!0;case"false":default:return!1}}()||(re(!0),x&&x())):a&&"messageReceived"===a.event?(y&&y(a.value),i.displayNotification(),i.setState(function(e){return{unreadMessageBadge:e.unreadMessageBadge+1}})):a&&"chatbotInteraction"===a.event?Promise.all([n.e(0),n.e(1)]).then(n.bind(null,0)).then(function(e){return e.createAPI(i.props.instanceId,i.props.trackingSessionDuration).trackChatbotInteraction()}):a&&"agentInteraction"===a.event?Promise.all([n.e(0),n.e(1)]).then(n.bind(null,0)).then(function(e){return e.createAPI(i.props.instanceId,i.props.trackingSessionDuration).trackAgentInteraction(a.userId)}):a&&"imageSent"===a.event?Promise.all([n.e(0),n.e(1)]).then(n.bind(null,0)).then(function(e){return e.createAPI(i.props.instanceId,i.props.trackingSessionDuration).trackImageSent()}):a&&"linkSent"===a.event?Promise.all([n.e(0),n.e(1)]).then(n.bind(null,0)).then(function(e){return e.createAPI(i.props.instanceId,i.props.trackingSessionDuration).trackLinkSent()}):a&&"carouselSent"===a.event?(Object(s.g)("carouselSent: ",a.event),"f73676c1b7324596877572ffaeb45c15"!==o&&"5794c3553d15488b89484fc1f45dccb1"!==o||(Object(s.g)("pushing zowie_salesbot_started to dataLayer: ",a.event),window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"zowie_salesbot_started"})),Promise.all([n.e(0),n.e(1)]).then(n.bind(null,0)).then(function(e){return e.createAPI(i.props.instanceId,i.props.trackingSessionDuration).trackCarouselSent()})):a&&"linkClicked"===a.event?Promise.all([n.e(0),n.e(1)]).then(n.bind(null,0)).then(function(e){return e.createAPI(i.props.instanceId,i.props.trackingSessionDuration).trackLinkClicked(a.url)}):a&&"carouselClicked"===a.event?Promise.all([n.e(0),n.e(1)]).then(n.bind(null,0)).then(function(e){return e.createAPI(i.props.instanceId,i.props.trackingSessionDuration).trackCarouselClicked(a.url)}):a&&"close"===a.event&&i.toggleChat()}catch(e){}}),setTimeout(function(){i.sendCommand(JSON.stringify({action:"init",payload:{instanceId:o,name:r,description:c,logoUrl:d,resetSession:u,sessionTimeout:h,allowFileUpload:m,allowPickEmoji:f,allowDownloadTranscript:g,allowFileExtensions:b,agentAvatar:V,chatbotAvatar:v,engagementMessage:p,theme:i.state.theme,accessToken:i.props.accessToken||i.state.accessToken,userId:i.props.userId,allowClose:!0,allowEndChat:i.props.allowEndChat,submitOnEnter:i.props.submitOnEnter,chatWithAgentReferral:i.props.chatWithAgentReferral,restartReferral:i.props.restartReferral,authorMode:i.props.authorMode,avatarRounded:void 0!==i.props.zendeskAccountKey,zowieParam:B,context:O,content:i.props.content,shouldPersonalizeAgent:i.props.shouldPersonalizeAgent}}))},250)}},i.stopTitleChange=function(){clearInterval(i.titleChangeIntervalId),clearTimeout(i.titleChangeTimeoutId),document.title=i.state.originalTitle},i.playSound=function(){if(!pe())try{F.play()}catch(e){Object(s.g)("Error while playing notification",e)}},i.startTitleChange=function(e){pe()||(i.stopTitleChange(),document.title=e,i.titleChangeIntervalId=setInterval(function(){pe()&&i.stopTitleChange(),document.title=e,i.titleChangeTimeoutId=setTimeout(function(){document.title=i.state.originalTitle},1e3)},2e3))},i.displayNotification=function(){i.props.tabNotificationTitle&&i.startTitleChange(i.props.tabNotificationTitle),i.props.webpushSoundOn&&i.playSound()},i.showCtaHideIcon=function(){i.setState({hideCtaVisible:!0})},i.hideCtaHideIcon=function(){i.setState({hideCtaVisible:!1})},i.disableCta=function(){var e,t=i.state.ctaActiveConfig;i.setState({ctaActivated:!1}),setTimeout(function(){return i.setState({ctaOffScreen:!0})},500),e="disabled",sessionStorage.setItem(G,e);var n=t.referral;n&&i.setState(function(e){return Object.assign({},e,{ctaDisabled:[].concat(U(e.ctaDisabled),[n])})}),i.props.onCtaDisabled&&i.props.onCtaDisabled()},i.onHoverHideCta=function(){"HOVER"===i.state.ctaActiveConfig.desktop.mode&&i.setState({ctaActivated:!1,ctaOffScreen:!0})},i.onHoverShowCta=function(){"HOVER"===i.state.ctaActiveConfig.desktop.mode&&i.setState({ctaActivated:!0,ctaOffScreen:!1})},i.sendMetadataCommands=function(){var e=i.props.trackActivity;if(e){var t=i.props.metadata||{};i.sendCommand(JSON.stringify({action:"updateMetadata",payload:{firstName:t.firstName,lastName:t.lastName,name:t.name,imageFileId:t.imageFileId,locale:t.locale,timezone:t.timezone,phoneNumber:t.phoneNumber,email:t.email,customParams:t.extraParams?Object.entries(t.extraParams).filter(function(e){var t=W(e,2),n=(t[0],t[1]);return null!==n&&void 0!==n}).map(function(e){var t=W(e,2);return{name:t[0],value:t[1]}}):void 0}}))}if(e){var n=new URLSearchParams(window.location.search);n.set("herochat","open");var a=window.location.origin+window.location.pathname+"?"+n.toString();i.sendCommand(JSON.stringify({action:"updatePageUrl",payload:{url:a,title:i.state.originalTitle}}))}i.sendCommand(JSON.stringify({action:"focus",payload:{value:!0}}))},i.onSubmitLocalMetadata=function(){i.sendCommand(JSON.stringify({action:"updateMetadata",payload:{firstName:i.state.localMetadata.firstName||void 0,lastName:i.state.localMetadata.lastName||void 0,name:i.state.localMetadata.name||void 0,email:i.state.localMetadata.email||void 0,phoneNumber:i.state.localMetadata.phoneNumber||void 0}})),i.setState({formVisible:!1,localMetadata:{email:"",firstName:"",lastName:"",name:"",phoneNumber:""}})},i.isAvailable=function(){var e=i.props,t=e.whitelist,n=e.blacklist,a=e.startOnWhitelist,o=e.startOnBlacklist,r=e.continueOnWhitelist,c=e.continueOnBlacklist,l=e.availability,d=e.surface,p=e.hideMetadataConditions,u=e.startMetadataConditions,h=e.showMetadataConditions,m=e.metadata,f=i.state.conversationState,g=window.location.href,b=!0;if(Object(s.e)(l)||(b=!1),t&&(Object(s.i)(t,g)||(b=!1)),Object(s.g)("Show after access list: ",b,t),n&&Object(s.i)(n,g)&&(b=!1),Object(s.g)("Show after deny list: ",b,n),a&&"started"!==f&&(Object(s.i)(a,g)||(b=!1)),Object(s.g)("Show after start access list: ",b,a),o&&"started"!==f&&Object(s.i)(o,g)&&(b=!1),Object(s.g)("Show after start deny list: ",b,o),r&&"started"===f&&(Object(s.i)(r,g)||(b=!1)),Object(s.g)("Show after continue acccess list: ",b,r),c&&"started"===f&&Object(s.i)(c,g)&&(b=!1),Object(s.g)("Show after continue deny list: ",b,c),"mobile"===d&&!1===Object(s.b)()&&(b=!1),Object(s.g)("Show after surface mobile ",b,d),"desktop"===d&&!0===Object(s.b)()&&(b=!1),Object(s.g)("Show after surface desktop ",b,d),void 0!==m&&h.length>0){var V=!1;h.forEach(function(e){var t="AND"===e.operator;e.conditions.forEach(function(n){"OR"===e.operator&&!1===t?t=Object(s.a)(n,m):"AND"===e.operator&&!0===t&&(t=Object(s.a)(n,m))}),t&&(V=!0)}),b&&!V&&(b=!1)}if(Object(s.g)("Show after showMetadataConditions",b,h),void 0!==m&&p.length>0){var v=!1;p.forEach(function(e){var t="AND"===e.operator;e.conditions.forEach(function(n){"OR"===e.operator&&!1===t?t=Object(s.a)(n,m):"AND"===e.operator&&!0===t&&(t=Object(s.a)(n,m))}),t&&(v=!0)}),b&&v&&(b=!1)}if(Object(s.g)("Show after hideMetadataConditions",b,p),void 0!==m&&u.length>0&&"started"!==f){var w=!1;u.forEach(function(e){var t="AND"===e.operator;e.conditions.forEach(function(n){"OR"===e.operator&&!1===t?t=Object(s.a)(n,m):"AND"===e.operator&&!0===t&&(t=Object(s.a)(n,m))}),t&&(w=!0)}),b&&!w&&(b=!1)}return Object(s.g)("Show after startMetadataConditions",b,u),b},i.calculatePolicy=function(){i.isAvailable()?i.show():i.hide()},i.state={originalTitle:X(),initialized:!1,iframeLoaded:!1,visible:!1,opened:!1,widgetOffScreen:!0,noRender:!0,ctaOffScreen:!0,ctaActivated:!1,alreadyActivated:!1,alreadyOpened:!1,alreadyStarted:!1,alternativeChannelsOffScreen:!0,alternativeChannelsActivated:!1,width:0,height:0,theme:e.theme,iframeVisible:!1,currentUrl:window.location.href,unreadMessageBadge:-1,hideCtaVisible:!1,iconActive:!1,invalidSession:!1,conversationState:function(){switch(sessionStorage.getItem(H)){case"started":return"started";default:return"unknown"}}(),waitingForGetToken:!1,ecommerceWatchStarted:!1,sessionTerminated:!1,formVisible:!1,localMetadata:{firstName:"",lastName:"",name:"",email:"",phoneNumber:""},lastTabFocusMillis:Date.now(),lastVisitTimeMillis:(a=localStorage.getItem(Q),a?Number(a):Date.now()),ctaListenersRegistered:!1,ctaActiveConfig:i.getDefaultCta(),ctaTriggered:[],ctaDisabled:[]},i}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a["Component"]),j(t,[{key:"componentDidMount",value:function(){var e=this;Object(s.g)("Zowie Widget - mounting started.");var t=this.props,a=t.handleLogoutCallback,o=t.handleShowCallback,i=t.handleHideCallback,r=t.handleStartCallback,c=t.handleCloseCallback,d=t.handleOpenCallback,p=t.handleIsAvailableCallback,u=t.handleGetAccessTokenCallback,h=t.handleTrackVisitedProduct,m=t.handleUpdateCartCallback,f=t.handleTrackPurchased,g=t.handleTrackCartUpdated,b=t.handleGetMobileCtaCallback,V=t.handleGetDesktopCtaCallback,v=t.widgetShowDelay,w=t.showOnLoad,C=t.keepOnLoad,A=t.onLoaded,k=l.a.parse(window.location.search).herochat,x=C&&("open"===k||"opened"===ne())&&!Object(s.b)();Object(s.g)("Zowie Widget - saved status is:",ne()),this.updateWindowSize(),window.addEventListener("resize",function(){return e.updateWindowSize()}),setInterval(function(){return e.tryUpdateUrl()},1e3),setInterval(function(){return e.watchTabFocus()},1e3),x?this.setState({alreadyStarted:!0},function(){e.calculatePolicy(),setTimeout(function(){return e.start()},300)}):w&&setTimeout(function(){return e.calculatePolicy()},1e3*Number(v)),o&&o(function(){return e.show()}),a&&a(function(){return e.logout()}),i&&i(function(){return e.hide()}),r&&r(function(t){t&&e.setState({pendingReferral:t}),e.start()}),c&&c(function(){return e.close()}),d&&d(function(){return e.open()}),p&&p(function(){return e.isAvailable()}),u&&u(function(t){e.setState({getToken:t})}),h&&h(function(t){Promise.all([n.e(0),n.e(1)]).then(n.bind(null,0)).then(function(n){return n.createAPI(e.props.instanceId,e.props.trackingSessionDuration).trackVisitedProduct(t)}),e.props.onEcommerceProductVisited&&e.props.onEcommerceProductVisited()}),g&&g(function(t){Promise.all([n.e(0),n.e(1)]).then(n.bind(null,0)).then(function(n){return n.createAPI(e.props.instanceId,e.props.trackingSessionDuration).trackCartUpdated(t)})}),f&&f(function(t,a,o,i){Promise.all([n.e(0),n.e(1)]).then(n.bind(null,0)).then(function(n){return n.createAPI(e.props.instanceId,e.props.trackingSessionDuration).trackPurchased(t,a,void 0,void 0,void 0,void 0,o,i)}),e.props.onEcommercePurchased&&e.props.onEcommercePurchased(o,i)}),m&&m(function(){return e.ecommerceUpdateCart()}),V&&V(function(){return e.state.ctaActiveConfig.desktop}),b&&b(function(){return e.state.ctaActiveConfig.mobile}),A&&A();try{this.ecommerceConfigure(),this.ecommerceTrackVisitedUrl(),this.ecommerceTrackVisitedProduct(),this.ecommerceWatchCart(),this.ecommerceWatchPurchase()}catch(e){Object(s.f)(e)}this.showForm(),this.triggerCta(x),setInterval(function(){return e.triggerCta(x)},1e3),localStorage.setItem(Q,String(Date.now()));var y=function(){e.props.isPersonalizeAgentExperimentEnabled&&Promise.all([n.e(0),n.e(1)]).then(n.bind(null,0)).then(function(t){return t.createAPI(e.props.instanceId,e.props.trackingSessionDuration).trackAbTestRegistered("personalize-agents-more",e.props.shouldPersonalizeAgent?"variant":"control")})},S=function(){e.props.isAddButtonsToProactiveChatsExperimentEnabled&&Promise.all([n.e(0),n.e(1)]).then(n.bind(null,0)).then(function(t){return t.createAPI(e.props.instanceId,e.props.trackingSessionDuration).trackAbTestRegistered("add-buttons-to-proactive-chats",e.props.shouldAddButtonsToProactiveChats?"variant":"control")})};window.addEventListener("new-tracking-session",function(){y(),S()}),y(),S(),this.props.metadata&&this.setState({localMetadata:{firstName:this.props.metadata.firstName||"",lastName:this.props.metadata.lastName||"",name:this.props.metadata.name||"",email:this.props.metadata.email||"",phoneNumber:this.props.metadata.phoneNumber||""}}),Object(s.g)("Zowie Widget - mounting finished.")}},{key:"componentWillUnmount",value:function(){this.stopTitleChange()}},{key:"hideCta",value:function(){this.setState({ctaActivated:!1,pendingReferral:void 0,ctaOffScreen:!0,ctaActiveConfig:this.getDefaultCta()}),this.stopTitleChange(),this.setState({ctaTriggered:[]})}},{key:"showCta",value:function(e){var t=this;Object(s.g)("Showing CTA with config: ",e);var n=e.desktop,a=e.mobile,o=e.sound,i=e.titleChange,r=e.referral,c=0;Object(s.b)()||(c=n.showDelay||0),Object(s.b)()&&(c=a.showDelay||0),r?this.setState(function(e){return Object.assign({},e,{ctaTriggered:[].concat(U(e.ctaTriggered),[r])})}):this.setState(function(e){return Object.assign({},e,{ctaTriggered:[].concat(U(e.ctaTriggered),["default"])})}),setTimeout(function(){t.setState({ctaActivated:!0,pendingReferral:r,ctaOffScreen:!1,ctaActiveConfig:e}),r&&t.ecommerceTrackPractiveChatSeen(r),o&&t.playSound(),i&&t.startTitleChange(i)},1e3*Number(c))}},{key:"triggerCta",value:function(e){var t=this,n=this.props,a=n.proactiveChatConfigs,o=n.metadata,i=n.disableDesktopCta,r=n.disableMobileCta,c=n.mobileCta,l=n.desktopCta,d=n.allowToDisableCtaOmitProactiveChats,p=this.state,u=p.opened,h=p.ctaListenersRegistered,m=p.ctaTriggered,f=p.ctaDisabled;if(!u&&!0!==e){var g=window.location.href,b=[this.getDefaultCta()],V=a.filter(function(e){var t=0===e.triggerUrls.length&&0===e.triggerMetadataGroups.length&&Object(s.e)(e.schedule),n=Object(s.i)(e.triggerUrls,g)&&Object(s.e)(e.schedule),a=void 0!==e.triggerMetadataGroups.find(function(t){var n=void 0;return t.conditions.forEach(function(e){("OR"!==t.operator||!1!==n&&void 0!==n||!o)&&("AND"!==t.operator||!0!==n&&void 0!==n||!o)||(n=Object(s.a)(e,o))}),!0===n&&Object(s.e)(e.schedule)});return t||n||a}).map(function(e){return{desktop:i?{mode:"HIDDEN",header:"",text:""}:e.desktopCta?e.desktopCta:l,mobile:r?{mode:"HIDDEN",lines:[]}:e.mobileCta?e.mobileCta:c,triggerEvents:e.triggerEvents,sound:e.sound,titleChange:e.titleChange,referral:e.id,source:"proactive"}}),v=0===V.length;"disabled"===ae()&&v||("disabled"!==ae()||d)&&(v||(b=V),b.filter(function(e){return!m.includes(e.referral?e.referral:"default")&&!f.includes(e.referral?e.referral:"default")}).forEach(function(e){e.triggerEvents.forEach(function(n){if("PageVisited"===n.name)t.showCta(e),Object(s.g)("Zowie Widget - triggered page visited.");else if("PageInactive"===n.name){var a=n.durationMillis;a&&t.state.lastTabFocusMillis<=Date.now()-a&&(t.showCta(e),Object(s.g)("Zowie Widget - triggered page inactive."))}else if("PageReturned"===n.name){var o=n.durationMillis;o&&t.state.lastVisitTimeMillis<=Date.now()-o&&(t.showCta(e),Object(s.g)("Zowie Widget - triggered page returned."))}else if("ElementHover"===n.name){var i=n.selector;if(i&&!h){var r=document.querySelector(i);r&&r.addEventListener("mouseover",function(){t.showCta(e),Object(s.g)("Zowie Widget - triggered element hover.")},!1)}}else if("ElementClick"===n.name){var c=n.selector;if(c&&!h){var l=document.querySelector(c);l&&l.addEventListener("click",function(){t.showCta(e),Object(s.g)("Zowie Widget - triggered element click.")},!1)}}else"EcommerceCartUpdatedProductAdded"===n.name?sessionStorage.getItem(Z)&&(sessionStorage.removeItem(Z),t.showCta(e),Object(s.g)("Zowie Widget - triggered cart product added.")):"EcommerceCartUpdatedProductRemoved"===n.name?sessionStorage.getItem(Y)&&(sessionStorage.removeItem(Y),t.showCta(e),Object(s.g)("Zowie Widget - triggered cart product removed.")):"EcommerceCartUpdatedProductVisited"===n.name&&sessionStorage.getItem(J)&&(sessionStorage.removeItem(J),t.showCta(e),Object(s.g)("Zowie Widget - triggered cart product visited."))})}),this.setState({ctaListenersRegistered:!0}))}}},{key:"ecommerceTrackVisitedUrl",value:function(){var e=this;(this.props.ecommerceShopifyTracking||this.props.ecommerceMagentoTracking||this.props.ecommerceBigcommerceTracking||this.props.ecommerceNopcommerceTracking||this.props.ecommerceCustomTracking)&&Promise.all([n.e(0),n.e(1)]).then(n.bind(null,0)).then(function(t){return t.createAPI(e.props.instanceId,e.props.trackingSessionDuration).trackVisitedUrl(window.location.href,document.title,navigator.userAgent,navigator.appVersion)})}},{key:"ecommerceTrackConversationStarted",value:function(e){var t=this;Promise.all([n.e(0),n.e(1)]).then(n.bind(null,0)).then(function(n){return n.createAPI(t.props.instanceId,t.props.trackingSessionDuration).trackConversationStarted(e)}),this.props.onEcommerceConversationStarted&&this.props.onEcommerceConversationStarted()}},{key:"ecommerceTrackVisitedProduct",value:function(){var e=this;this.props.ecommerceShopifyTracking&&Promise.all([n.e(0),n.e(2)]).then(n.bind(null,54)).then(function(t){return t.trackVisitedProduct(e.props.instanceId,e.props.trackingSessionDuration,function(){te(),e.props.onEcommerceProductVisited&&e.props.onEcommerceProductVisited()})}),this.props.ecommerceBigcommerceTracking&&Promise.all([n.e(0),n.e(3)]).then(n.bind(null,55)).then(function(t){return t.trackVisitedProduct(e.props.instanceId,e.props.trackingSessionDuration,function(){te(),e.props.onEcommerceProductVisited&&e.props.onEcommerceProductVisited()})}),this.props.ecommerceMagentoTracking&&Promise.all([n.e(0),n.e(4)]).then(n.bind(null,56)).then(function(t){return t.trackVisitedProduct(e.props.instanceId,e.props.trackingSessionDuration,function(){te(),e.props.onEcommerceProductVisited&&e.props.onEcommerceProductVisited()})}),this.props.ecommerceNopcommerceTracking&&Promise.all([n.e(0),n.e(5)]).then(n.bind(null,57)).then(function(t){return t.trackVisitedProduct(e.props.instanceId,e.props.trackingSessionDuration,function(){te(),e.props.onEcommerceProductVisited&&e.props.onEcommerceProductVisited()})})}},{key:"ecommerceTrackPractiveChatClicked",value:function(e){var t=this;Promise.all([n.e(0),n.e(1)]).then(n.bind(null,0)).then(function(n){return n.createAPI(t.props.instanceId,t.props.trackingSessionDuration).trackProactiveChatClicked(e)}),this.props.onEcommerceProactiveChatClicked&&this.props.onEcommerceProactiveChatClicked()}},{key:"ecommerceTrackPractiveChatSeen",value:function(e){var t=this;Promise.all([n.e(0),n.e(1)]).then(n.bind(null,0)).then(function(n){return n.createAPI(t.props.instanceId,t.props.trackingSessionDuration).trackProactiveChatSeen(e)}),this.props.onEcommerceProactiveChatSeen&&this.props.onEcommerceProactiveChatSeen()}},{key:"showForm",value:function(){"started"!==this.state.conversationState&&!0===this.props.showPreChatForm&&this.setState({formVisible:!0})}},{key:"ecommerceClearCart",value:function(){var e=this;Promise.all([n.e(0),n.e(1)]).then(n.bind(null,0)).then(function(t){return t.createAPI(e.props.instanceId,e.props.trackingSessionDuration).trackCartUpdated([])})}},{key:"ecommerceWatchCart",value:function(){var e=this;this.state.ecommerceWatchStarted||this.props.ecommerceCartWatchEnabled&&(this.setState({ecommerceWatchStarted:!0}),this.props.ecommerceShopifyTracking&&Promise.all([n.e(0),n.e(2)]).then(n.bind(null,54)).then(function(t){return t.startCartWatch(e.props.instanceId,e.props.trackingSessionDuration,function(){return $()},function(){return ee()})}),this.props.ecommerceBigcommerceTracking&&Promise.all([n.e(0),n.e(3)]).then(n.bind(null,55)).then(function(t){return t.startCartWatch(e.props.instanceId,e.props.trackingSessionDuration,function(){return $()},function(){return ee()})}),this.props.ecommerceMagentoTracking&&Promise.all([n.e(0),n.e(4)]).then(n.bind(null,56)).then(function(t){return t.startCartWatch(e.props.instanceId,e.props.trackingSessionDuration,function(){return $()},function(){return ee()})}),this.props.ecommerceNopcommerceTracking&&Promise.all([n.e(0),n.e(5)]).then(n.bind(null,57)).then(function(t){return t.startCartWatch(e.props.instanceId,e.props.trackingSessionDuration,function(){return $()},function(){return ee()})}))}},{key:"ecommerceUpdateCart",value:function(){var e=this;this.props.ecommerceShopifyTracking&&Promise.all([n.e(0),n.e(2)]).then(n.bind(null,54)).then(function(t){return t.updateCart(e.props.instanceId,e.props.trackingSessionDuration,function(){return $()},function(){return ee()})})}},{key:"ecommerceConfigure",value:function(){var e=this,t=this;this.props.ecommerceBigcommerceTracking&&Promise.all([n.e(0),n.e(3)]).then(n.bind(null,55)).then(function(n){n.configure(e.props.instanceId,e.props.trackingSessionDuration,function(){return t.ecommerceClearCart()},function(e,n){t.props.onEcommercePurchased&&t.props.onEcommercePurchased(e,n)})})}},{key:"ecommerceWatchPurchase",value:function(){var e=this,t=this;this.props.ecommerceShopifyTracking&&Promise.all([n.e(0),n.e(2)]).then(n.bind(null,54)).then(function(n){return n.startWatchPurchase(e.props.instanceId,e.props.trackingSessionDuration,function(){return t.ecommerceClearCart()},function(e,n){t.props.onEcommercePurchased&&t.props.onEcommercePurchased(e,n)})}),this.props.ecommerceBigcommerceTracking&&Promise.all([n.e(0),n.e(3)]).then(n.bind(null,55)).then(function(t){t.startWatchPurchase(e.props.instanceId,e.props.trackingSessionDuration)}),this.props.ecommerceMagentoTracking&&Promise.all([n.e(0),n.e(4)]).then(n.bind(null,56)).then(function(n){n.startWatchPurchase(e.props.instanceId,e.props.trackingSessionDuration,function(){return t.ecommerceClearCart()},function(e,n){t.props.onEcommercePurchased&&t.props.onEcommercePurchased(e,n)})}),this.props.ecommerceNopcommerceTracking&&Promise.all([n.e(0),n.e(5)]).then(n.bind(null,57)).then(function(n){n.startWatchPurchase(e.props.instanceId,e.props.trackingSessionDuration,function(e,n){t.props.onEcommercePurchased&&t.props.onEcommercePurchased(e,n)})})}},{key:"render",value:function(){var e=this,t=this.props,n=t.position,i=t.iconCloseUrl,r=t.iconOpenUrl,c=t.preload,l=t.alternativeChannels,d=this.state,p=d.opened,u=d.alreadyOpened,h=d.widgetOffScreen,m=d.noRender,f=d.visible,g=d.ctaOffScreen,b=d.imagePreviewUrl,V=d.unreadMessageBadge,v=d.ctaActivated,w=d.ctaActiveConfig,C=d.iframeVisible,A=d.hideCtaVisible,k=d.iconActive,x=d.sessionTerminated,y=d.alternativeChannelsOffScreen,S=d.alternativeChannelsActivated,I=d.formVisible,B=n||{desktopBottom:25,desktopRight:25,mobileBottom:20,mobileRight:20,mobileOffset:470},P=this.state.width<this.state.height?this.state.width:this.state.height,M=Object(s.b)(),L=M&&P<=B.mobileOffset,D=664,N=445;void 0!==this.props.maxHeight&&(this.props.maxHeight<=380?(Object(s.g)("Zowie Widget - max height cannot be lower than 400."),D=380):D=this.props.maxHeight),void 0!==this.props.maxWidth&&(this.props.maxWidth<=380?(Object(s.g)("Zowie Widget - max width cannot be lower than 400."),N=380):N=this.props.maxWidth);var R=L?this.state.width:N,j=L?this.state.height:Math.max(380,Math.min(D,this.state.height-(B.desktopBottom+85+50))),W=w.desktop,U=w.mobile,F=v&&this.props.proactiveChatConfigs&&this.props.proactiveChatConfigs.some(function(e){return(e.desktopCta&&e.desktopCta.header)===(w.desktop&&w.desktop.header)&&(e.desktopCta&&e.desktopCta.text)===(w.desktop&&w.desktop.text)}),_=w.desktop&&"Cze\u015b\u0107 :) Jak mog\u0119 Ci pom\xf3c?"===w.desktop.header&&!w.desktop.text,H=!Object(s.b)()||Object(s.b)()&&"HIDDEN"===U.mode,G=!Object(s.b)()&&"HIDDEN"!==W.mode,Z=Object(s.b)()&&("TOP"===U.mode||"BOTTOM"===U.mode),Y=this.props.slug?"https://"+this.props.slug+".chat.getzowie.com/web/core-chat/":ce;return o.a.createElement(a.Fragment,null,o.a.createElement("div",{style:{opacity:f?1:0,transition:"all 1s cubic-bezier(0.25, 0.8, 0.25, 1)",bottom:m?"-1000px":"unset"},visible:f,offScreen:m},o.a.createElement("div",{id:"zowieChatbotWrapper",style:{left:L?"0px":B.desktopLeft?B.desktopLeft+"px":void 0,right:L?"0px":B.desktopRight?B.desktopRight+"px":void 0,height:j+"px",width:R+"px",borderRadius:L?"0px":"8px",opacity:p?1:0,visibility:p?"visible":"hidden",bottom:h||m?"-1000px":p&&L?"0px":p&&!L?B.desktopBottom+75+"px":!p&&L?"0px":"80px"},offScreen:h||m,opened:p,width:R,height:j,isMobile:L,position:B},I&&o.a.createElement("form",{id:"zowieMetadataWrapper",onSubmit:function(t){t.preventDefault(),e.onSubmitLocalMetadata()}},o.a.createElement("div",{className:"fields"},o.a.createElement("p",{className:"cta1"},"Thank you for choosing Yotpo!"),o.a.createElement("p",{className:"cta2"},"To help us better serve you, please provide your name and email address. These details will help us to look up your account."),o.a.createElement("div",{className:"field"},o.a.createElement("label",null,"Your name:"),o.a.createElement("input",{type:"text",value:this.state.localMetadata.name,onChange:function(t){return e.setState({localMetadata:Object.assign({},e.state.localMetadata,{name:t.target.value})})}})),o.a.createElement("div",{className:"field"},o.a.createElement("label",null,"Your e-mail:"),o.a.createElement("input",{type:"text",value:this.state.localMetadata.email,onChange:function(t){return e.setState({localMetadata:Object.assign({},e.state.localMetadata,{email:t.target.value})})}}))),o.a.createElement("div",{className:""},o.a.createElement("button",{type:"submit",disabled:""===this.state.localMetadata.name||""===this.state.localMetadata.email,style:{backgroundColor:this.state.theme.primaryColor}},"Start the chat"))),(C||!x&&c)&&o.a.createElement("iframe",{border:"0",title:"chatbot",frameBorder:"0",width:"100%",height:"100%",onLoad:function(){return e.onLoad()},ref:this.iframe,id:"chatbotize-iframe",src:Y+"?headerColorLeft="+encodeURIComponent(this.state.theme.headerBackgroundLeftColor)+"&headerColorRight="+encodeURIComponent(this.state.theme.headerBackgroundRightColor),allow:"geolocation"})),G&&this.props.isAddButtonsToProactiveChatsExperimentEnabled&&this.props.shouldAddButtonsToProactiveChats&&F&&_?o.a.createElement("div",{id:"zowieProactiveButtons",style:{bottom:M||g||m?"-1000px":M?B.mobileBottom+50+"px":B.desktopBottom+70+"px",right:M?B.mobileRight?B.mobileRight+"px":void 0:B.desktopRight?B.desktopRight+"px":void 0,left:M?B.mobileLeft?B.mobileLeft+"px":void 0:B.desktopLeft?B.desktopLeft+"px":void 0,opacity:!u&&v?1:0,alignItems:M?B.mobileRight?"flex-end":"flex-start":B.desktopRight?"flex-end":"flex-start"},onMouseEnter:this.showCtaHideIcon,onMouseLeave:this.hideCtaHideIcon},o.a.createElement("span",{className:"element header"},"Wybierz temat"),o.a.createElement("div",{style:{display:"flex"}},o.a.createElement("span",{className:"element button",style:{backgroundColor:this.state.theme.primaryColor},role:"img","aria-label":"shipping",onClick:function(){return e.onProactiveButtonClick("dodaj_paragon")}},"\ud83e\uddfe Dodaj paragon"),o.a.createElement("span",{className:"element button",style:{backgroundColor:this.state.theme.primaryColor},role:"img","aria-label":"returns",onClick:function(){return e.onProactiveButtonClick("zwroty")}},"\ud83d\udce6 Zwroty")),o.a.createElement("span",{className:"element button",style:{backgroundColor:this.state.theme.primaryColor},role:"img","aria-label":"membership",onClick:function(){return e.onProactiveButtonClick("program_lojalnosciowy")}},"\ud83c\udf1f Program lojalno\u015bciowy")):G?o.a.createElement(o.a.Fragment,null,o.a.createElement("div",{id:"zowieCallToAction",style:{bottom:M||g||u||!v||m?"-1000px":M?B.mobileBottom+50+"px":B.desktopBottom+70+"px",right:M?B.mobileRight?B.mobileRight+"px":void 0:B.desktopRight?B.desktopRight+"px":void 0,left:M?B.mobileLeft?B.mobileLeft+"px":void 0:B.desktopLeft?B.desktopLeft+"px":void 0,opacity:!u&&v?1:0,alignItems:M?B.mobileRight?"flex-end":"flex-start":B.desktopRight?"flex-end":"flex-start"},onMouseEnter:this.showCtaHideIcon,onMouseLeave:this.hideCtaHideIcon,onClick:this.onCtaClicked},W.header&&o.a.createElement("span",{className:"ctaDesktopHeader"},W.header),W.text&&o.a.createElement("span",{className:"ctaDesktopText"},W.text),this.props.allowToDisableCta&&o.a.createElement(E,{visible:A&&("VISIBLE"===W.mode||"ELEMENT_CLICK"===W.mode||"ELEMENT_HOVER"===W.mode),onClick:this.disableCta}))):o.a.createElement(o.a.Fragment,null),H&&o.a.createElement(de,{position:B,badgeVisible:!h,iconActive:k,isMobile:L,onClick:this.onCtaClicked,onMouseEnter:this.onHoverShowCta,onMouseLeave:this.onHoverHideCta,theme:this.state.theme,offScreen:m,badge:V,iconOpenUrl:r,iconCloseUrl:i,personalized:this.props.shouldPersonalizeAgent,isProactiveChatActive:F}),l&&o.a.createElement("div",{id:"zowieAlternativeChannels",style:{bottom:y||m?"-1000px":M?B.mobileBottom+50+"px":B.desktopBottom+70+"px",right:M?B.mobileRight?B.mobileRight+"px":void 0:B.desktopRight?B.desktopRight+"px":void 0,left:M?B.mobileLeft?B.mobileLeft+"px":void 0:B.desktopLeft?B.desktopLeft+"px":void 0,opacity:!u&&S?1:0}},o.a.createElement("p",{id:"zowieAlternativeChannelsHeader"},l.headerText),o.a.createElement("div",{id:"zowieAlternativeChannelsList"},l.channels.map(function(e){return o.a.createElement("a",{href:e.url,key:e.type,target:"_blank"},o.a.createElement(T,{type:e.type}),o.a.createElement("p",null,e.title))})),o.a.createElement("div",{id:"zowieAlternativeChannelsButton",style:{backgroundColor:this.state.theme.primaryColor},onClick:this.toggleChat},o.a.createElement(z,null),o.a.createElement("p",null,l.chatButtonCaption))),Z&&o.a.createElement(le,{color:this.state.theme.primaryColor,mode:U.mode,lines:U.lines,visible:!u&&v||u&&h,onClick:this.toggleChat,onHide:this.disableCta,showHideButton:this.props.allowToDisableCta}),o.a.createElement("div",{id:"zowieShadow",style:{height:j+"px",width:R+"px",visibility:p?"visible":"hidden",opacity:p?1:0,bottom:h||m?"-1000px":"0"},height:j,opened:p,width:R,offScreen:h||m})),o.a.createElement("div",{id:"zowieImagePreviewModal",style:{width:b?"100vw":"0px",height:b?"100vh":"0px",bottom:b?"0":"0px",right:b?"0":"0px",backgroundColor:b?"rgba(0, 0, 0, 0.8)":"rgba(0, 0, 0, 0)"},display:b?"block":"none",onClick:function(){return e.setState({imagePreviewUrl:void 0})}},b&&o.a.createElement("div",{id:"zowieImagePreviewCloseBar",style:{opacity:b?"1":"0"},display:b?"block":"none",onClick:function(){return e.setState({imagePreviewUrl:void 0})}},o.a.createElement(O,{onClick:function(){return e.setState({imagePreviewUrl:void 0})}})),b&&o.a.createElement("img",{id:"zowieImagePreview",src:b,alt:"Preview"})))}}]),t}();n.d(t,"init",function(){return ve});var he=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],a=!0,o=!1,i=void 0;try{for(var r,s=e[Symbol.iterator]();!(a=(r=s.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){o=!0,i=e}finally{try{!a&&s.return&&s.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),me="add-buttons-to-proactive-chats",fe="personalize-agent",ge=function(){window.DD_LOGS&&window.DD_LOGS.getInitConfiguration()||r.a.init({clientToken:"pubb30704b9371a0643686e8f03a0b19e9b",site:"datadoghq.eu",env:"prod",forwardErrorsToLogs:!1})};function be(e){var t=e.instanceId;Object(s.g)("Zowie Widget - initializing - "+e.instanceId,e),e.metadata&&Object(s.g)("Zowie Widget - initializing with metadata: ",e.metadata);var n=o.a.useState(e.position),a=he(n,2),i=a[0],r=a[1];o.a.useEffect(function(){e.handleUpdatePositionCallback&&e.handleUpdatePositionCallback(function(e){return r(e)})});var c=e.metadata?e.metadata:{locale:Object(s.c)(),timezone:Object(s.d)()},l=c&&c.locale?c.locale:Object(s.c)(),d=e.configuration.default;if(l){var p=l.slice(0,2).toLowerCase(),u=l.slice(3,5).toLowerCase();""===u&&(u=void 0),"zh-tw"===l.toLowerCase()&&(p="zhtw"),"zhtw-cn"===l.toLowerCase()&&(p="zhtw",u="cn");var h=e.configuration.locales.find(function(e){return e.language.toLowerCase()===p&&(!(e.countries.length>0&&void 0!==u)||-1!==e.countries.map(function(e){return e.toLowerCase()}).indexOf(u))});h&&(d=h)}var m=!1,f=!1;"fb64e04d80d141adb1c062f1ed177662"!==t&&"0187725d0e98488baf9839f4c3babb8b"!==t&&"8ab22ee8ec8344a994947ca5868a8e0f"!==t&&"c779d7852f2f4a11b8a9a6e2d7103445"!==t&&ge(),void 0!==e.disableMobileCta&&(m=e.disableMobileCta),void 0!==e.disableDesktopCta&&(f=e.disableDesktopCta);var g=e.primaryLeftColor||e.primaryColor||d.basic.primaryColor||"#3D34BE",b=e.primaryRightColor||e.primaryColor||d.basic.primaryColor||"#3D34BE",V=e.secondaryLeftColor||e.secondaryColor||d.basic.secondaryColor||"#3D34BE",v=e.secondaryRightColor||e.secondaryColor||d.basic.secondaryColor||"#3D34BE",w=e.iconCloseUrl,C=e.iconOpenUrl,A=e.headerMode,k=e.allowDownloadTranscript,x=e.agentAvatar,y=e.chatbotAvatar,S=e.sessionTimeout,E=void 0,z=void 0,O=!0,T=500,I=e.surface||"desktop-mobile";"90fdf73dfa654cef907452c8231b6254"!==t&&"55ba5f792e694813b99f99671946396a"!==t&&"72b1b6f431d24fa28ba2f00585dd250d"!==t||(S=864e5,g="#FFA666",V="#FFA666",b="#FF6B00",v="#FF6B00",w="https://files.chatbotize.com/empik/icon_close.png",C="https://files.chatbotize.com/empik/icon_open.png",A="white"),"0d923b5e3d2744719c765663d581f9d5"===t&&(S=9e5),"f6222d5ef2484aa48890b6fdc3facbc8"===t&&(S=18e5),"265cc3ff3816493290879fef2fb5b1de"===t&&(S=24192e5),"a54f077e26054bf7b470e8c4c7da015c"===t&&(w="https://files.chatbotize.com/mig/chat-close.svg",C="https://files.chatbotize.com/mig/chat-open.svg"),"21f8c27529bd458f89c9351a9f4bed06"===t&&(w="https://files.chatbotize.com/answear/chat-close.svg",C="https://files.chatbotize.com/answear/chat-open.svg"),"c779d7852f2f4a11b8a9a6e2d7103445"===t&&(w="https://files.chatbotize.com/costco/chat-close.svg",C="https://files.chatbotize.com/costco/chat-open.svg",S=864e5),"inpostdemo"===t&&(k=!1),"265cc3ff3816493290879fef2fb5b1de"===t&&(x="https://files.chatbotize.com/msqc-chuck.png",y="https://files.chatbotize.com/msqc-chuck.png"),"fb64e04d80d141adb1c062f1ed177662"===t&&(x="https://files.chatbotize.com/euro/consultant.svg",y="https://files.chatbotize.com/euro/chatbot.svg"),"0187725d0e98488baf9839f4c3babb8b"===t&&(x="https://files.chatbotize.com/oleole/consultant.svg",y="https://files.chatbotize.com/oleole/chatbot.svg");var B=!!e.showPreChatForm&&e.showPreChatForm;"cfbd880be39b41f8bb29bb92943506ce"===t&&(B=!0);var P=e.content?e.content:void 0,M=!!e.allowEndChat&&e.allowEndChat,L=e.restartReferral?e.restartReferral:void 0;"f1c3ca86cdd3491099618510dbf8c3b4"!==t&&"3dfa76dadef542079d6536510a149289"!==t||(E="appsflyer",z=300,L="start",P={endChatQuestion:"Would you like to finish this conversation and remove history?",endChatButtonYesCaption:"Yes",endChatButtonNoCaption:"No",endChatButtonCaption:"End chat",downloadTranscriptButtonCaption:"Download transcript"}),"732e347282da4de586f9992392764a7b"===t&&(O=!1),"ce0a0a8ecc3d41809bbf4dfa34f10056"===t&&(T=1e3);var D=!!e.ecommerceShopifyTracking&&e.ecommerceShopifyTracking,N=!!e.ecommerceBigcommerceTracking&&e.ecommerceBigcommerceTracking,R=!!e.ecommerceMagentoTracking&&e.ecommerceMagentoTracking,j=!!e.ecommerceNopcommerceTracking&&e.ecommerceNopcommerceTracking,W=!!e.ecommerceCustomTracking&&e.ecommerceCustomTracking,U=!e.ecommerceCartWatchEnabled||e.ecommerceCartWatchEnabled;window.Shopify&&(D=!0),"31abf33e41d14051b7a8d66c6bb44171"===t&&(N=!0);"5ba46bb7bc2b4627992752a2ed836fa0"!==t&&"bf2a9fba26b346d3aea3f9d916a8eb93"!==t||(R=!0),"94f883c194b7419591afe1180cee0875"===t&&(j=!0),"1e95020a619049a1825a8ee240d8c72b"===t&&(P={endChatQuestion:"Would you like to close this chat?",endChatButtonYesCaption:"Yes",endChatButtonNoCaption:"No",endChatButtonCaption:"End chat",downloadTranscriptButtonCaption:"Download transcript"},M=!0,S=36e5,R=!0);var F=!1;"4c893f6e4ee94e02b06a992026dc53c4"===t&&(F=!0);var _=!1;"9109b879d9fb4c81939faf6e7c02bd4d"===t&&(_=!0),"9be065adf1534e498deb9d682ad2eef5"!==t&&"172a4aca9e4540ccbfc6c29f2535ceed"!==t||(W=!0);var H=!!e.allowToDisableCta&&e.allowToDisableCta;"fb64e04d80d141adb1c062f1ed177662"!==t&&"0187725d0e98488baf9839f4c3babb8b"!==t&&"abbcfc29333d44dfa2891f1f33e27829"!==t||(H=!0);var G=!!e.preload&&e.preload;"4c893f6e4ee94e02b06a992026dc53c4"===t&&(G=!0);var Z="265cc3ff3816493290879fef2fb5b1de"===t||"a706498318d74caf80c7bacd8bd7beb4"===t,Y=function(){if(!Z)return!1;var e=function(){switch(localStorage.getItem(fe)){case"true":return!0;case"false":return!1;default:return null}}();if(null===e){var t=Math.random()<.5;return localStorage.setItem(fe,JSON.stringify(t)),t}return e}(),J="9ccb8390bac644349674b2532a5b56f9"===t,Q=function(){if(!J)return!1;var e=function(){switch(localStorage.getItem(me)){case"true":return!0;case"false":return!1;default:return}}();if(void 0===e){var t=Math.random()<.5;return localStorage.setItem(me,JSON.stringify(t)),t}return e}();return o.a.createElement(ue,Object.assign({desktopCta:d.desktopCta,mobileCta:d.mobileCta,disableDesktopCta:f,disableMobileCta:m,proactiveChatConfigs:e.configuration.proactiveChats,metadata:c,surface:I,whitelist:Ve(d.placement.whitelist),blacklist:Ve(d.placement.blacklist),startOnWhitelist:Ve(d.placement.startWhitelist),startOnBlacklist:Ve(d.placement.startBlacklist),continueOnWhitelist:Ve(d.placement.continueOnWhitelist),continueOnBlacklist:Ve(d.placement.continueOnBlacklist),name:d.basic.name,description:d.basic.description,logoUrl:d.basic.logoUrl,engagementMessage:d.basic.engagementMessage,tabNotificationTitle:d.notifications.tabNotificationTitleEnabled?d.notifications.tabNotificationTitle:void 0,webpushNotificationTitleEnabled:d.notifications.webpushNotificationTitleEnabled,hideMetadataConditions:d.hideMetadataConditions,startMetadataConditions:d.startMetadataConditions,showMetadataConditions:d.showMetadataConditions,webpushSoundOn:d.notifications.webpushSoundOn,widgetShowDelay:d.basic.showDelay,authorMode:d.basic.authorMode,availability:d.availability,showOnLoad:!e.showOnLoad||e.showOnLoad,keepOnLoad:!e.keepOnLoad||e.keepOnLoad,startOnOpen:!e.startOnOpen||e.startOnOpen,position:i,sessionTimeout:S,iconCloseUrl:w,iconOpenUrl:C,allowToDisableCta:H,allowToDisableCtaOmitProactiveChats:_,allowEndChat:M,restartReferral:L,submitOnEnter:!e.submitOnEnter||e.submitOnEnter,allowDownloadTranscript:k,agentAvatar:x,chatbotAvatar:y,trackActivity:O,preload:G,sendReferralDelay:T,ecommerceShopifyTracking:D,ecommerceBigcommerceTracking:N,ecommerceMagentoTracking:R,ecommerceNopcommerceTracking:j,ecommerceCustomTracking:W,ecommerceCartWatchEnabled:U,trackingSessionDuration:e.configuration.sessionDurationMinutes,slug:e.configuration.slug,showPreChatForm:B,gorgiasPassReferral:F,content:P},e,{isPersonalizeAgentExperimentEnabled:Z,shouldPersonalizeAgent:Y,isAddButtonsToProactiveChatsExperimentEnabled:J,shouldAddButtonsToProactiveChats:Q,theme:{primaryColor:b,headerBackgroundLeftColor:e.headerBackgroundLeftColor?e.headerBackgroundLeftColor:g,headerBackgroundRightColor:e.headerBackgroundRightColor?e.headerBackgroundRightColor:b,headerTextColor:e.headerTextColor?e.headerTextColor:"#fff",userTextPrimaryColor:e.userTextPrimaryColor?e.userTextPrimaryColor:v,userTextSecondaryColor:e.userTextSecondaryColor?e.userTextSecondaryColor:"#fff",userBackgroundLeftColor:e.userBackgroundLeftColor?e.userBackgroundLeftColor:V,userBackgroundRightColor:e.userBackgroundRightColor?e.userBackgroundRightColor:v,agentTextColor:e.agentTextColor?e.agentTextColor:"#000",agentBackgroundColor:e.agentBackgroundColor?e.agentBackgroundColor:"#F6F6F6",messageWidth:e.messageWidth?e.messageWidth:void 0,headerMode:A,iconsMode:E,fontWeight:z}}))}function Ve(e){return Array.isArray(e)&&0===e.length?void 0:e}function ve(e,t,n,a){var r=Object(i.createRoot)(e);n.disabled?console.log("Chat disabled"):r.render(o.a.createElement(be,Object.assign({},t,{configuration:n,handleShowCallback:function(e){a.show=e},handleHideCallback:function(e){a.hide=e},handleStartCallback:function(e){a.start=e},handleOpenCallback:function(e){a.open=e},handleCloseCallback:function(e){a.close=e},handleIsAvailableCallback:function(e){a.isAvailable=e},handleLogoutCallback:function(e){a.logout=e},handleGetAccessTokenCallback:function(e){a.setAccessTokenCallback=e},handleUpdatePositionCallback:function(e){a.updatePosition=e},handleTrackVisitedProduct:function(e){a.trackVisitedProduct=e},handleTrackCartUpdated:function(e){a.trackCartUpdated=e},handleTrackPurchased:function(e){a.trackPurchased=e},handleUpdateCartCallback:function(e){a.updateCart=e},handleGetDesktopCtaCallback:function(e){a.getDesktopCta=e},handleGetMobileCtaCallback:function(e){a.getMobileCta=e}})))}},33:function(e,t,n){e.exports=n.p+"86f2e0a275a7ef5a3b661da2f648e1b5.svg"},34:function(e,t,n){e.exports=n.p+"2744c87446d5cf9d00076aa506750dea.svg"},35:function(e,t,n){e.exports=n.p+"ca35604e07b8d24fffd8efecfb07ba26.svg"},36:function(e,t,n){e.exports=n.p+"3e9a8423349dd32aa8c972c90ed466ce.svg"},37:function(e,t,n){e.exports=n.p+"2b7603446d84503cecb37bb78100b0a1.svg"},38:function(e,t,n){e.exports=n.p+"a8482d992de9f0040b5031a32b89bf0e.svg"},39:function(e,t,n){e.exports=n.p+"ee5d142b71f6e76381f4ff7ae1fb7861.svg"},41:function(e,t,n){(e.exports=n(42)(void 0)).push([e.i,'#zowieImagePreviewModal {\n position: fixed;\n display: flex;\n justify-content: center;\n align-items: center;\n z-index: 30007;\n transition: all 0.5s;\n}\n\n#zowieImagePreviewCloseBar {\n display: flex;\n justify-content: flex-end;\n align-items: center;\n position: absolute;\n top: 0;\n left: 0;\n width: 100vw;\n height: 70px;\n transition: all 0.5s;\n z-index: 30005;\n}\n\n#zowieImagePreview {\n height: auto;\n width: auto;\n max-height: 100%;\n max-width: 100%;\n user-select: none;\n margin: auto;\n z-index: 30004;\n}\n\n#zowieFloatingButton {\n cursor: pointer;\n position: fixed;\n z-index: 30001;\n background-color: transparent;\n width: 60px;\n height: 60px;\n}\n\n#zowieFloatingButton .background,\n#zowieFloatingButton img {\n width: 60px;\n height: 60px;\n}\n\n#zowieFloatingButtonMobile {\n cursor: pointer;\n position: fixed;\n z-index: 30001;\n background-color: transparent;\n width: 45px;\n height: 45px;\n}\n\n#zowieFloatingButtonMobile .background,\n#zowieFloatingButtonMobile svg,\n#zowieFloatingButtonMobile img {\n width: 45px;\n height: 45px;\n}\n\n#zowieChatbotWrapper {\n position: fixed;\n z-index: -1;\n background-color: white;\n box-shadow: 0 0px 40px rgba(0, 0, 0, 0.15);\n display: flex;\n align-items: center;\n flex-direction: column;\n transition: bottom 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.3s linear 0.1s;\n z-index: 30005;\n border-radius: 8px;\n overflow: hidden;\n}\n\n#zowieAlternativeChannels {\n position: fixed;\n transition: opacity 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);\n opacity: 1;\n z-index: 30002;\n display: flex;\n flex-direction: column;\n width: 260px;\n background-color: #fff;\n border: 1px solid #e3e3e6;\n box-shadow: 0px 2px 32px rgba(0, 0, 0, 0.12);\n border-radius: 4px;\n}\n\n#zowieAlternativeChannelsHeader {\n font-family: "Segoe UI", "Avenir Next", Helvetica, Arial;\n font-size: 14px;\n line-height: 22px;\n font-weight: 500;\n padding: 8px 16px;\n margin: 0;\n color: #4d4d5c;\n}\n\n#zowieAlternativeChannelsList {\n border-top: 1px solid #e3e3e6;\n border-bottom: 1px solid #e3e3e6;\n display: flex;\n align-items: flex-start;\n flex-direction: column;\n}\n\n#zowieAlternativeChannelsList > a {\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n align-items: center;\n text-decoration: none;\n padding: 14px 18px;\n margin: 0;\n width: 100%;\n box-sizing: border-box;\n}\n\n#zowieAlternativeChannelsButton {\n border-radius: 4px;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: flex-start;\n padding: 12px 14px;\n margin: 8px;\n cursor: pointer;\n}\n\n#zowieAlternativeChannelsButton > p {\n font-family: "Segoe UI", "Avenir Next", Helvetica, Arial;\n font-size: 16px;\n line-height: 20px;\n font-weight: 500;\n margin: 0;\n padding: 0;\n margin-left: 12px;\n color: #181628;\n}\n\n#zowieAlternativeChannelsList > a:hover {\n background-color: #f7f7f7;\n}\n\n#zowieAlternativeChannelsList > a > p {\n font-family: "Segoe UI", "Avenir Next", Helvetica, Arial;\n font-size: 15px;\n line-height: 20px;\n color: #4d4d5c;\n font-weight: 400;\n padding: 8px 16px;\n margin: 0;\n padding: 0;\n margin-left: 12px;\n}\n\n#zowieCallToAction {\n cursor: pointer;\n position: fixed;\n transition: opacity 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);\n opacity: 1;\n z-index: 30002;\n display: flex;\n flex-direction: column;\n align-items: flex-end;\n}\n\n#zowieCallToAction .ctaDesktopHeader {\n margin: 0;\n padding: 0;\n font-size: 14px;\n line-height: 15px;\n font-family: "Segoe UI", "Avenir Next", Helvetica, Arial;\n font-weight: 500;\n color: #000;\n border-radius: 8px;\n background-color: #fff;\n box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.15);\n padding: 14px;\n text-align: right;\n text-transform: none;\n max-width: 210px;\n}\n\n#zowieCallToAction .ctaDesktopText {\n text-align: right;\n margin: 0;\n padding: 0;\n font-size: 14px;\n line-height: 15px;\n font-family: "Segoe UI", "Avenir Next", Helvetica, Arial;\n font-weight: 500;\n color: #000;\n margin-top: 8px;\n line-height: 18px;\n border-radius: 8px;\n background-color: #fff;\n box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.15);\n padding: 14px;\n max-width: 210px;\n text-transform: none;\n}\n\n#zowieProactiveButtons {\n position: fixed;\n transition: opacity 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);\n opacity: 1;\n z-index: 30002;\n display: flex;\n flex-direction: column;\n align-items: flex-end;\n}\n\n#zowieProactiveButtons .element {\n margin: 0;\n font-size: 14px;\n line-height: 15px;\n font-family: "Segoe UI", "Avenir Next", Helvetica, Arial;\n font-weight: 500;\n border-radius: 8px;\n box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.15);\n padding: 14px;\n text-align: right;\n text-transform: none;\n max-width: 210px;\n}\n\n#zowieProactiveButtons .header { \n color: #000;\n background-color: #fff;\n}\n\n#zowieProactiveButtons .button { \n cursor: pointer;\n color: #fff;\n margin-left: 8px;\n margin-top: 8px;\n}\n\n#zowieShadow {\n position: fixed;\n bottom: 0;\n right: 0;\n z-index: 30000;\n transition: all 1s cubic-bezier(0.25, 0.8, 0.25, 1);\n background: radial-gradient(\n at right bottom,\n rgba(29, 39, 54, 0.16) 0%,\n rgba(29, 39, 54, 0) 72%\n );\n}\n\n#zowieChatBar {\n position: fixed;\n width: 100%;\n height: 36px;\n left: 0;\n transition: all 0.3s ease-in-out;\n z-index: 30003;\n overflow: hidden;\n}\n\n#zowieChatBar p {\n width: calc(100% - 80px);\n position: absolute;\n top: 0;\n left: 40px;\n transition: opacity 0.8s ease-in-out;\n color: #fff;\n font-size: 13px;\n font-family: "Segoe UI", "Avenir Next", Helvetica, Arial;\n padding: 10px 0px;\n font-weight: 500;\n display: block;\n margin: 0;\n line-height: 16px;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n#zowieChatBarIcon {\n position: absolute;\n left: 12px;\n top: 6px;\n}\n\n#zowieChatBarClose {\n position: absolute;\n right: 12px;\n top: 9px;\n}\n\n#zowieBadgeStyled {\n width: 24px;\n height: 24px;\n border-radius: 100%;\n background-color: #eb5249;\n color: #fff;\n display: block;\n text-align: center;\n font-family: "Segoe UI", "Avenir Next", Helvetica, Arial;\n font-size: 12px;\n line-height: 13px;\n padding: 4px 0;\n box-sizing: border-box;\n position: absolute;\n right: -9px;\n font-weight: 400;\n border: 2px solid #fff;\n z-index: 30006;\n}\n\n#zowieHideIcon {\n width: 12px;\n height: 12px;\n position: absolute;\n top: 4px;\n right: 4px;\n}\n\n#zowieCloseIcon {\n width: 28px;\n height: 28px;\n opacity: 0.8;\n margin: 0 20px;\n cursor: pointer;\n}\n\n#zowieCloseIcon:hover {\n opacity: 1;\n}\n\n#chatbotize-iframe {\n width: 100% !important;\n height: 100% !important;\n}\n\n#zowieMetadataWrapper {\n width: 100%;\n height: 100%;\n position: absolute;\n top: 0;\n left: 0;\n background-color: #fff;\n padding: 20px;\n box-sizing: border-box;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n overflow-y: scroll;\n color: #000;\n}\n\n#zowieMetadataWrapper .fields {\n width: 100%;\n}\n\n#zowieMetadataWrapper .fields .field {\n margin-bottom: 12px;\n}\n\n#zowieMetadataWrapper label {\n display: block;\n width: 100%;\n font-family: "Segoe UI", "Avenir Next", Helvetica, Arial;\n font-size: 13px;\n line-height: 20px;\n font-weight: 400;\n margin-bottom: 3px;\n}\n\n#zowieMetadataWrapper .cta1 {\n width: 100%; \n text-align: center; \n display: block; \n font-family: "Segoe UI", "Avenir Next", Helvetica, Arial;\n font-size: 18px;\n line-height: 28px;\n font-weight: 400;\n margin-top: 10px;\n}\n\n#zowieMetadataWrapper .cta2 {\n width: 100%; \n text-align: center; \n display: block; \n font-family: "Segoe UI", "Avenir Next", Helvetica, Arial;\n font-size: 14px;\n line-height: 24px;\n font-weight: 400;\n margin-top: 10px;\n margin-bottom: 10px; \n}\n\n#zowieMetadataWrapper .details {\n width: 100%; \n text-align: left; \n display: block; \n font-family: "Segoe UI", "Avenir Next", Helvetica, Arial;\n font-size: 12px;\n line-height: 20px;\n font-weight: 400;\n margin-top: 20px;\n}\n\n#zowieMetadataWrapper .details ul {\n margin: 0;\n margin-bottom: 20px;\n}\n\n#zowieMetadataWrapper .details ul li {\n margin: 0;\n}\n\n#zowieMetadataWrapper .details a {\n color: #000;\n text-decoration: none;\n}\n\n#zowieMetadataWrapper input {\n width: 100%;\n padding: 8px;\n border-radius: 8px;\n box-sizing: border-box;\n display: block;\n border: none;\n font-family: "Segoe UI", "Avenir Next", Helvetica, Arial;\n font-size: 13px;\n line-height: 18px;\n font-weight: 300;\n border: 1px solid #ebecee; \n\n}\n\n#zowieMetadataWrapper button {\n width: 100%;\n padding: 16px 8px;\n border-radius: 8px;\n box-sizing: border-box;\n display: block;\n border: none;\n font-family: "Segoe UI", "Avenir Next", Helvetica, Arial;\n font-size: 16px;\n line-height: 20px;\n font-weight: 500;\n color: #fff;\n cursor: pointer;\n}\n\n#zowieMetadataWrapper button:disabled {\n opacity: 0.6;\n cursor: not-allowed;\n}',""])},43:function(e,t){e.exports="data:audio/mpeg;base64,SUQzBAAAAAAAfFRYWFgAAAASAAADbWFqb3JfYnJhbmQAcXQgIABUWFhYAAAAEQAAA21pbm9yX3ZlcnNpb24AMABUWFhYAAAAGAAAA2NvbXBhdGlibGVfYnJhbmRzAHF0ICAAVFNTRQAAAA8AAANMYXZmNTguNzYuMTAwAAAAAAAAAAAAAAD/+1AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABYaW5nAAAADwAAAAUAAAfxAGlpaWlpaWlpaWlpaWlpaWlpaWmdnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dndLS0tLS0tLS0tLS0tLS0tLS0tLS8vLy8vLy8vLy8vLy8vLy8vLy8vL//////////////////////////wAAAABMYXZjNTguMTMAAAAAAAAAAAAAAAAkBIAAAAAAAAAH8YfBBckAAAAAAAAAAAAAAAAAAAAA//uwZAAAAJsAxeUEAAgAAA/woAABCFCXFZmIgACAjiL3BHAAttBgAABgAAEAQDDQQMf///8EAxsPDdQGBgMB2AAABgzQm+bCAhQGYOHFmhQYyEHkL9scySTtrAQ/7t+QcBkDP/4yYs4MugKf/xcauiWC+vrGQ6xywzIAoAqAgkDoEAAAAAAAH6PquxxZ/JeqzAfv9sqMsOf+GwABADJXIEIIUd4wAAAAAADPFQza90zAhzTt8mTAQYDwR+DGoDDI4LDJcUy+5lUCgMAMwTGEMC4OJJT4OIYwYAgKAwwOUQYHgUTEoxUEmDwKcNXJhUFCg0MIipiiLQkHpxPkYJhnWTmK2cxUwoRjIQXNRBOGHTVavgzGWAMFWp28jMKrDhVc/xCBMv/60pvZPdkgAxhauyiC0AAAAAAAAd7y6HxNxBl1RguNrwQ25MswOKkEYAIAXGBJgRxgdIO4YY2KXGRYjWxr4wfYZH+LEmGmCfBhSgBSYN0DMGBEAx5hRoNaCQJIwBoAQMAgAfDAYwA8SAeVVRYgMf5A1IYD20wmdA6zsC3QDAOAOtsA0rIDDHQN4ONUh8B8wEg4cGCYwD4EQyKGqRZJVIcITBl4QVEojMkFLqP+Xzf03//9NB/9FzTV/s+n///KfZhj6aocAADAyLLgAAB2vO2EwGEIY+W9/RbmLf6LxBgNl2VxUA8JJMSVIXIIALmDACKYDYBkGBgg45g/wiEZbmnqG7Gz4hwOLWGaNMsBGpzlHJiIoN4YXABRncQAcwcQQPTCYaMOBkGAJM0CE0ZHhns0Fsw4Cu0Sog2ohTGQHMLAcDAltaa++r6MuaMWeW//+5Bk7AAEeSBM/neIgCABqa/BnIAT1MMeffoAIJIMJv+MoAVFbWOX/RH/9AXERo4+PP+d/58NfkRdn8Mt/VO/7f//U3//6CAABwBBwAABzLHVOOiRp0kedSGuHGpPH+6AoQeTcRcRGCPdrM6wBSjCrbyy/7FLBa74H7+Emy//Ko4FK//EFhlBmoEAlKmdMABF4MpHg5wFhszYCNVCzmBcw/wtDKyW1N/qe04X6cjpPOKNyoZYyUS7zF5DJMFUCQM4LjsshxhKAVAK8ucoAqhywJ8NnkNqlyx//+qpWpe4ECf+8Ju3+ewBwANb5WhkCBoymriLzgZCGNH+ZkhJWVjB3T8IUxzLQSE+Vz7nf/8eNVVC66WFbFTF0pLOX1YSMgGgmBDiAoIkWcXZFSpBEAAAGSQ4AAAZKY+mGGghi5kHNQcyG32Bp5WY66GBNZjCDhmFOa8aRaFxmZkrGNKEge6GZkYhzS7Rxa1Cm3qSmJb3r//f///5aUvcFSA8P/UD6hVp2wgBecAAAAZUr/PCAUiJwgbKGTOlAoptSgKFbABCFhn/+5Bk8QUUQCFGm/w66EdjGP1vWTlLBGMjTfsk4RWMI13NYUVSyaZXufVw+KqwvAClhWe2SBMzk8x0qT4Q5osNw9huxEOjoSu3HATRGCDZcDEzKZOAk2YBCuACTVkOeMTqAA0wgsyQsdCA4VKXLRNbtRg1XNz+dM8w8609qYdg5D3JuBoex1a8IqGcxcA4QH/EkPTyvIiF5pwpjDoButDRVLKX9E7sb/5syptbTmL2a0CYDJWLVRgfgIBmAhVX5wkWAQCEzzSOf/BYVX4CAEyEYSmiRYBAITPcjn/w3UxBTUUzLjEwMFVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVX/+2Bk+QESphjG+37SGD9i+N1lj3cIlGUX7OmIwLkMY32RMZxVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVX/+xBE5g/wngtBwAMwMBLhaDgAJggAAAGkAAAAIAAANIAAAARVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVQ=="}}]);