/*! For license information please see 5012.7fac9bad7d6d19db7017.js.LICENSE.txt */ "use strict";(self.webpackChunklauncher=self.webpackChunklauncher||[]).push([[5012,1663],{6866:(e,n,t)=>{t.r(n),t.d(n,{default:()=>O});var o=t(4914),l=t(678),i=t(5024),s=t.n(i),r=t(4212),u=t.n(r),a=t(8124),c=t.n(a),d=t(1703),S=t.n(d),A=t(6025);function P(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var o,l,i,s,r=[],u=!0,a=!1;try{if(i=(t=t.call(e)).next,0===n){if(Object(t)!==t)return;u=!1}else for(;!(u=(o=i.call(t)).done)&&(r.push(o.value),r.length!==n);u=!0);}catch(e){a=!0,l=e}finally{try{if(!u&&null!=t.return&&(s=t.return(),Object(s)!==s))return}finally{if(a)throw l}}return r}}(e,n)||function(e,n){if(e){if("string"==typeof e)return f(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?f(e,n):void 0}}(e,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,o=new Array(n);t0&&void 0!==arguments[0]?arguments[0]:{},n=e.soundUrl,t=void 0===n?"":n,i=e.soundObj,r=void 0===i?{}:i,a=e.musicUrl,d=void 0===a?"":a,f=e.musicObj,O=void 0===f?{}:f,p=u()(),v=(0,l.useSelector)(A.cd),y=P((0,o.useState)(!!t&&(null===(null===S()||void 0===S()?void 0:S().getItem(_))||"true"===(null===S()||void 0===S()?void 0:S().getItem(_)))),2),b=y[0],B=y[1],h=P((0,o.useState)(!!d&&(null===(null===S()||void 0===S()?void 0:S().getItem(E))||"true"===(null===S()||void 0===S()?void 0:S().getItem(E)))),2),m=h[0],U=h[1],M=P(s()(!b,t,r),3),C=M[0],N=M[1],R=M[2],g=P(s()(!m,d,O),3),H=g[0],j=g[1],L=g[2];(0,o.useEffect)((function(){null===S()||void 0===S()||S().setItem(_,p?C&&b:null===S()||void 0===S()?void 0:S().getItem(_))}),[b,C]),(0,o.useEffect)((function(){null===S()||void 0===S()||S().setItem(E,p?H&&m:null===S()||void 0===S()?void 0:S().getItem(E))}),[m,H]),c()((function(){p?(B("true"===(null===S()||void 0===S()?void 0:S().getItem(_))),U("true"===(null===S()||void 0===S()?void 0:S().getItem(E))),"true"===(null===S()||void 0===S()?void 0:S().getItem(E))&&j("background")):(B(!1),U(!1))}),[p]);var x=(0,o.useMemo)((function(){return{isLoaded:C,isOn:b,play:N,stop:R,setOn:t?B:function(){}}}),[C,b,N,R,B]),I=(0,o.useMemo)((function(){return{isLoaded:H,isOn:m,play:j,stop:L,setOn:d?U:function(){}}}),[H,m,j,L,U]);return(0,o.useEffect)((function(){v||!m&&!b||(t&&B(!0),d&&U(!0))}),[v]),{sound:x,music:I}}},2593:(e,n,t)=>{t.d(n,{W:()=>i});var o=t(7438),l=t(8718),i=function(){(0,o.requestFeaturesToServer)({name:l.O.BonusHistory})}},851:(e,n,t)=>{t.d(n,{A:()=>G});var o=t(3444),l=t.n(o),i=t(4914),s=t(678),r=t(1703),u=t.n(r),a=t(1644),c=t.n(a),d=t(7131),S=t.n(d),A=t(8516),P=t.n(A),f=t(7791),_=t.n(f),E=t(3679),O=t(5435),p=t.n(O),v=t(6907),y=t.n(v),b=t(8517),B=t(6024),h=t(5218),m=t(6337),U=t(7311),M=t(4848);function C(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,o=new Array(n);t{t.d(n,{A:()=>V});var o=t(3444),l=t.n(o),i=t(4914),s=t(678),r=t(1703),u=t.n(r),a=t(7131),c=t.n(a),d=t(1644),S=t.n(d),A=t(8516),P=t.n(A),f=t(2367),_=t.n(f),E=t(375),O=t.n(E),p=t(3679),v=t(5435),y=t.n(v),b=t(6907),B=t.n(b),h=t(4889),m=t.n(h),U=t(8517),M=t(5218),C=t(6337),N=t(7311),R=t(4848);function g(e){return g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},g(e)}function H(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);n&&(o=o.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,o)}return t}function j(e){for(var n=1;ne.length)&&(n=e.length);for(var t=0,o=new Array(n);t{t.r(n),t.d(n,{PopupServiceGlass:()=>l.A,PopupServiceOrnament:()=>o.A,actions:()=>i.o1,selectPopups:()=>i.Io});var o=t(5067),l=t(851),i=t(6024)},463:(e,n,t)=>{t.d(n,{A:()=>v,W:()=>O});var o=t(3444),l=t.n(o),i=t(4914),s=t(678),r=t(1703),u=t.n(r),a=t(5218),c=t(6866),d=t(6337);function S(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,o=new Array(n);t{t.r(n),t.d(n,{SettingsService:()=>o.A,settings:()=>o.W});var o=t(463)},7311:(e,n,t)=>{t.d(n,{A:()=>b});var o=t(3444),l=t.n(o),i=t(4914),s=t(678),r=t(1703),u=t.n(r),a=t(5218),c=t(6337),d=t(8517),S=t(1663),A=t(2593),P=t(4848);function f(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var o,l,i,s,r=[],u=!0,a=!1;try{if(i=(t=t.call(e)).next,0===n){if(Object(t)!==t)return;u=!1}else for(;!(u=(o=i.call(t)).done)&&(r.push(o.value),r.length!==n);u=!0);}catch(e){a=!0,l=e}finally{try{if(!u&&null!=t.return&&(s=t.return(),Object(s)!==s))return}finally{if(a)throw l}}return r}}(e,n)||function(e,n){if(e){if("string"==typeof e)return _(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_(e,n):void 0}}(e,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,o=new Array(n);t{var o=t(4914),l=Symbol.for("react.element"),i=Symbol.for("react.fragment"),s=Object.prototype.hasOwnProperty,r=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,u={key:!0,ref:!0,__self:!0,__source:!0};function a(e,n,t){var o,i={},a=null,c=null;for(o in void 0!==t&&(a=""+t),void 0!==n.key&&(a=""+n.key),void 0!==n.ref&&(c=n.ref),n)s.call(n,o)&&!u.hasOwnProperty(o)&&(i[o]=n[o]);if(e&&e.defaultProps)for(o in n=e.defaultProps)void 0===i[o]&&(i[o]=n[o]);return{$$typeof:l,type:e,key:a,ref:c,props:i,_owner:r.current}}n.Fragment=i,n.jsx=a,n.jsxs=a},4848:(e,n,t)=>{e.exports=t(1020)}}]);