/*! For license information please see 3508.d18f5efc016251a97e6e.js.LICENSE.txt */ "use strict";(self.webpackChunkengine=self.webpackChunkengine||[]).push([[3508,5893,8521],{93508:(e,n,o)=>{o.r(n),o.d(n,{default:()=>_});var t=o(5439),s=o.n(t),r=o(28416),u=o(9411),i=o.n(u),c=o(92757),l=o.n(c),f=o(49584),a=o.n(f),d=o(82307),p=o.n(d),m=o(85893),y=(0,r.memo)(i().button.withConfig({componentId:"sc-8knxuw-0"})(["display:flex;flex:0 0 1.5em;height:1.5em;width:1.5em;font-size:1em;outline:0 none;border:0 none;padding:0;background:transparent;cursor:pointer;"]));function k(e){var n=e.sound,o=e.music,t=e.setSound,s=e.setMusic,u=e.styles,i=e.color,c=e.stroke,f=(0,r.useCallback)((function(){var e=!(null!=n&&n.isOn||null!=o&&o.isOn);t(e),s(e),null===l()||void 0===l()||l().setItem("isSoundOn",e),null===l()||void 0===l()||l().setItem("isMusicOn",e)}),[n,o]);return(0,m.jsx)(y,{type:"button","data-gtm":"Sound",onClick:f,style:u.container,children:n.isOn||o.isOn?(0,m.jsx)(a(),{color:i||"#fff",stroke:c}):(0,m.jsx)(p(),{color:i||"#fff",stroke:c})})}k.defaultProps={sound:{},setSound:function(){},music:{},setMusic:function(){},styles:{},color:"#fff",stroke:""},k.propTypes={sound:s().object,setSound:s().func,music:s().object,setMusic:s().func,styles:s().object,color:s().string,stroke:s().string};const _=(0,r.memo)(k)},75251:(e,n,o)=>{var t=o(28416),s=Symbol.for("react.element"),r=Symbol.for("react.fragment"),u=Object.prototype.hasOwnProperty,i=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c={key:!0,ref:!0,__self:!0,__source:!0};function l(e,n,o){var t,r={},l=null,f=null;for(t in void 0!==o&&(l=""+o),void 0!==n.key&&(l=""+n.key),void 0!==n.ref&&(f=n.ref),n)u.call(n,t)&&!c.hasOwnProperty(t)&&(r[t]=n[t]);if(e&&e.defaultProps)for(t in n=e.defaultProps)void 0===r[t]&&(r[t]=n[t]);return{$$typeof:s,type:e,key:l,ref:f,props:r,_owner:i.current}}n.Fragment=r,n.jsx=l,n.jsxs=l},85893:(e,n,o)=>{e.exports=o(75251)}}]);