(window.webpackJsonp=window.webpackJsonp||[]).push([["banner-ads"],{"5z3c":function(e,t,i){"use strict";i.d(t,"h",function(){return s}),i.d(t,"d",function(){return a}),i.d(t,"a",function(){return d}),i.d(t,"u",function(){return u}),i.d(t,"r",function(){return l}),i.d(t,"c",function(){return c}),i.d(t,"k",function(){return w}),i.d(t,"s",function(){return p}),i.d(t,"b",function(){return f}),i.d(t,"l",function(){return b}),i.d(t,"p",function(){return m}),i.d(t,"g",function(){return g}),i.d(t,"t",function(){return v}),i.d(t,"w",function(){return y}),i.d(t,"o",function(){return _}),i.d(t,"f",function(){return S}),i.d(t,"e",function(){return I}),i.d(t,"q",function(){return A}),i.d(t,"v",function(){return k}),i.d(t,"j",function(){return T}),i.d(t,"i",function(){return x}),i.d(t,"n",function(){return E}),i.d(t,"m",function(){return B});var n=i("6Ssv"),r=function(e,t,i,n){return new(i||(i=Promise))(function(r,o){function s(e){try{d(n.next(e))}catch(e){o(e)}}function a(e){try{d(n.throw(e))}catch(e){o(e)}}function d(e){var t;e.done?r(e.value):(t=e.value,t instanceof i?t:new i(function(e){e(t)})).then(s,a)}d((n=n.apply(e,t||[])).next())})},o=function(e,t){var i,n,r,o,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;s;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,n=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(r=(r=s.trys).length>0&&r[r.length-1])&&(6===o[0]||2===o[0])){s=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]e.length-1&&(i=0),i}},"6Ssv":function(e,t,i){"use strict";i.d(t,"c",function(){return n}),i.d(t,"b",function(){return r}),i.d(t,"a",function(){return o});var n=function(e,t,i){var n=new Date;n.setTime(n.getTime()+864e5*i);var r="expires="+n.toUTCString();document.cookie=e+"="+t+";"+r+";path=/"},r=function(e){for(var t=e+"=",i=decodeURIComponent(document.cookie).split(";"),n=0;n0?2===o.length?"function"==typeof o[1]?this[o[0]]=o[1].call(this,a):this[o[0]]=o[1]:3===o.length?"function"!=typeof o[1]||o[1].exec&&o[1].test?this[o[0]]=a?a.replace(o[1],o[2]):void 0:this[o[0]]=a?o[1].call(this,a,o[2]):void 0:4===o.length&&(this[o[0]]=a?o[3].call(this,a.replace(o[1],o[2])):void 0):this[o]=a||void 0;d+=2}},v=function(e,t){for(var i in t)if("object"==typeof t[i]&&t[i].length>0){for(var n=0;n350?m(e,350):e,this},this.setUA(i),this};S.VERSION="1.0.32",S.BROWSER=f([a,l,"major"]),S.CPU=f(["architecture"]),S.DEVICE=f([s,u,d,"console",c,p,w,"wearable","embedded"]),S.ENGINE=S.OS=f([a,l]),void 0!==t?(void 0!==e&&e.exports&&(t=e.exports=S),t.UAParser=S):i("PDX0")?void 0===(n=function(){return S}.call(t,i,t,e))||(e.exports=n):void 0!==r&&(r.UAParser=S);var I=void 0!==r&&(r.jQuery||r.Zepto);if(I&&!I.ua){var A=new S;I.ua=A.getResult(),I.ua.get=function(){return A.getUA()},I.ua.set=function(e){A.setUA(e);var t=A.getResult();for(var i in t)I.ua[i]=t[i]}}}("object"==typeof window?window:this)},KxHI:function(e,t,i){"use strict";var n,r,o,s,a;i.d(t,"f",function(){return n}),i.d(t,"c",function(){return r}),i.d(t,"j",function(){return o}),i.d(t,"m",function(){return s}),i.d(t,"n",function(){return a}),i.d(t,"d",function(){return h}),i.d(t,"q",function(){return b}),i.d(t,"a",function(){return d}),i.d(t,"p",function(){return u}),i.d(t,"l",function(){return l}),i.d(t,"o",function(){return c}),i.d(t,"i",function(){return w}),i.d(t,"k",function(){return p}),i.d(t,"b",function(){return f}),i.d(t,"e",function(){return v}),i.d(t,"g",function(){return m}),i.d(t,"h",function(){return g}),function(e){e.contentChanged="contentChanged",e.hideAllMenu="hideMenu",e.removeCookiesPadding="cookies:removePadding",e.changeCookiesPadding="cookies:changePadding",e.hideGameMessage="hideGameMessage",e.repaintGameBoard="repaintBoard",e.repaintPausedState="repaintPaused",e.animateCells="animateCells",e.startTimer="startTimer",e.stopTimer="stopTimer",e.processNewGame="processNewGame",e.showImaAds="showImaAds",e.currentGameInit="currentGameInit",e.mistakeAdded="mistakeAdded",e.showMistakesPopup="showMistakesPopup",e.showLostProgressPopup="showLostProgressPopup",e.setActiveDifficulty="setActiveDifficulty",e.selectDifficulty="selectDifficulty",e.setActiveMode="setActiveMode",e.closeMistakesPopup="closeMistakesPopup",e.rewardReady="rewardReady",e.rewardGranted="rewardGranted",e.rewardDestroyed="rewardDestroyed",e.initBannerAds="initBannerAds",e.userAction="userAction",e.showSmartHint="showSmartHint",e.gameStarted="gameStarted",e.requestNewBanner="requestNewBanner",e.removeNewBanner="removeNewBanner",e.showWinScreenBanner="showWinScreenBanner",e.interLoaded="interLoaded",e.interDestroyed="interDestroyed",e.interImpression="interImpression",e.startScoreTimer="startScoreTimer",e.stopScoreTimer="stopScoreTimer",e.sendGameResult="sendGameResult",e.AniviewLoaded="AniviewLoaded",e.resetGsInterTimer="resetGsInterTimer",e.addGsInterTime="addGsInterTime"}(n||(n={})),function(e){e.desktop="desktop",e.phone="phone",e.tablet="tablet"}(r||(r={})),function(e){e.classic="classic",e.killer="killer",e.daily="daily"}(o||(o={})),function(e){e.dc="dc-calendar"}(s||(s={})),function(e){e.imaAds="ima_ads",e.imaAdsDelay="ima_ads_delay",e.imaAdsOnStart="ima_ads_on_start",e.imaAdsOnRestart="ima_ads_on_restart",e.imaAdsTest="ima_ads_test_tag",e.showCheatMenu="show_cheat_menu",e.saveHistory="save_history_actions",e.countHints="count_hints",e.countMistakes="count_mistakes"}(a||(a={}));var d,u,l,c,w,p,f,h=["easy","medium","hard","expert","evil","extreme"],b={classic:"main",killer:"main",event:"liveops"};!function(e){e.strictlyNecessary="C0001",e.performance="C0002",e.functional="C0003",e.targeting="C0004",e.social="C0005"}(d||(d={})),function(e){e.Required="required",e.Email="email",e.MinLength="minLength",e.MaxLength="maxLength",e.IncorrectFormat="incorrectFormat",e.MaxFileSize="maxFileSize"}(u||(u={})),function(e){e.google="AdManager",e.rise="Rise",e.aniview="Aniview",e.vidazoo="Vidazoo"}(l||(l={})),function(e){e.LastFreeCell="LastFreeCell",e.LastRemainingCell="LastRemainingCell",e.LastPossibleNumber="LastPossibleNumber",e.Notes="Notes",e.IncorrectNumber="IncorrectNumber",e.FreeCell="FreeCell",e.ObviousSingles="ObviousSingles",e.ObviousPairs="ObviousPairs",e.ObviousTriples="ObviousTriples",e.HiddenSingles="HiddenSingles",e.HiddenPairs="HiddenPairs",e.PointingPairs="PointingPairs"}(c||(c={})),function(e){e.game_win="game_win",e.gamescreen_progress="gamescreen_progress",e.gamescreen_progress_cell="gamescreen_progress_cell",e.game_start="game_start",e.game_restart="game_restart",e.game_over_restart="game_over_restart"}(w||(w={})),function(e){e.rewarded_mistakes="rewarded_mistakes",e.rewarded_add_hint="rewarded_add_hint",e.solver="solver"}(p||(p={})),function(e){e.portrait="portrait",e.landscape="landscape"}(f||(f={}));var m,g,v={easy:"easy",medium:"medium",hard:"hard",expert:"expert",evil:"master",extreme:"extreme"};!function(e){e.emoji="emoji",e.tooltip_blue="tooltip_blue",e.tooltip_white="tooltip_white"}(m||(m={})),function(e){e.gamescreen_progress="gamescreen_progress",e.gamescreen_progress_cell="gamescreen_progress_cell"}(g||(g={}))},PDX0:function(e,t){(function(t){e.exports=t}).call(this,{})},"Q/5a":function(e,t,i){"use strict";i.d(t,"a",function(){return n});var n=new(function(){function e(){this.listeners={}}return e.prototype.emit=function(e){for(var t=[],i=1;i=e.minViewPort[0]&&window.innerHeight>=e.minViewPort[1]}))||void 0===i?void 0:i.sizes)||r.sizes).filter(function(e){return"fluid"!==e}).sort(function(e,t){return window.updateBannerSizeSorting&&e[1]!==t[1]?t[1]-e[1]:t[0]-e[0]});b.length&&(s=c[b[0].join("x")],p=l[b[0].join("x")]);var m=a(a({code:r.blockId,mediaTypes:{banner:r.sizeMapper&&window.useSizeMapping?{sizeConfig:this.getPrebidSizeConfig(r.sizeMapper)}:{sizes:r.sizes.filter(function(e){return"fluid"!==e})}}},this.prebidSizeConfig&&h.length?{labelAny:h}:{}),{bids:d(d(d(d(d(d(d(d(d(d(d(d([w],window.useXandr?[{bidder:"appnexus",params:{placement_id:29541956}}]:[],!0),window.useVidazoo?[{bidder:"vidazoo",params:{cId:"659e9cbd02c78c36bd0fbece",pId:"59ac17c192832d0011283fe3",subDomain:"exchange"}}]:[],!0),window.usePubmatic?[{bidder:"pubmatic",params:{publisherId:"161454",adSlot:"4755740"}}]:[],!0),window.useIndexExchange?[{bidder:"ix",params:{siteId:"931608"}}]:[],!0),window.useTappx?[{bidder:"tappx",params:{tappxkey:"desktop"===window.deviceType?"pub-74539-desktop-4069":"pub-74538-mweb-4046",endpoint:"zz41656eb",host:"zz41656eb.pub.tappx.com/rtb/"}}]:[],!0),window.useTriplelift&&u[r.path]?[{bidder:"triplelift",params:{inventoryCode:u[r.path]}}]:[],!0),window.useMinuteMedia?[{bidder:"minutemedia",params:{org:"01gwq37afgk8",placementId:r.path}}]:[],!0),window.useMagnite?[{bidder:"rubicon",params:{accountId:21810,siteId:498738,zoneId:2969800}}]:[],!0),window.useSmaato&&s?[{bidder:"smaato",params:{publisherId:"1100055201",adspaceId:s}}]:[],!0),window.useSharethrough&&p?[{bidder:"sharethrough",params:{pkey:p}}]:[],!0),window.useMediaNet?[{bidder:"medianet",params:{cid:"8CU4C2E9M",crid:"135241517"}}]:[],!0),window.useCriteo?[{bidder:"criteo",params:{networkId:12160}}]:[],!0)});this.slots.push(f),this.bids.push(m),this.requestManager={serverRequestSent:!1,aps:!1,prebid:!1},window.useSizeMapping?window.googletag.cmd.push(function(){window.apstag.fetchBids({slots:[o]},function(e){n.amazonBids=d(d([],n.amazonBids||[],!0),e||[],!0),window.apstag.setDisplayBids(),n.requestManager.aps=!0,window.useMultiFormatApstag&&n.biddersBack([o])})}):window.apstag.fetchBids({slots:[f]},function(e){n.amazonBids=d(d([],n.amazonBids||[],!0),e||[],!0),window.googletag.cmd.push(function(){window.apstag.setDisplayBids(),n.requestManager.aps=!0,window.useMultiFormatApstag&&n.biddersBack([o])})}),window.pbjs.que.push(function(){window.pbjs.addAdUnits(m),window.pbjs.requestBids({timeout:1e3,adUnitCodes:[r.blockId],bidsBackHandler:function(){window.pbjs.setTargetingForGPTAsync&&window.pbjs.setTargetingForGPTAsync([r.blockId]),n.requestManager.prebid=!0,window.useMultiFormatApstag?n.biddersBack([o]):window.googletag.pubads().refresh([o])}})})},e.prototype.generatePrebidSizeConfig=function(e){var t=this,i=this.prebidSizeConfig||[];return e.forEach(function(e){var n=e.sizeMapper;if(n)for(var r=[],o=0;o=e.minViewPort[0]&&window.innerHeight>=e.minViewPort[1]}))||void 0===n?void 0:n.sizes)||t.sizes).filter(function(e){return"fluid"!==e}).sort(function(e,t){return window.updateBannerSizeSorting&&e[1]!==t[1]?t[1]-e[1]:t[0]-e[0]});return p.length&&(r=c[p[0].join("x")],o=l[p[0].join("x")]),e.push(a(a({code:t.blockId,mediaTypes:{banner:t.sizeMapper&&window.useSizeMapping?{sizeConfig:f.getPrebidSizeConfig(t.sizeMapper)}:{sizes:t.sizes.filter(function(e){return"fluid"!==e})}}},f.prebidSizeConfig&&s.length?{labelAny:s}:{}),{bids:d(d(d(d(d(d(d(d(d(d(d(d([w],window.useXandr?[{bidder:"appnexus",params:{placement_id:29541956}}]:[],!0),window.useVidazoo?[{bidder:"vidazoo",params:{cId:"659e9cbd02c78c36bd0fbece",pId:"59ac17c192832d0011283fe3",subDomain:"exchange"}}]:[],!0),window.usePubmatic?[{bidder:"pubmatic",params:{publisherId:"161454",adSlot:"4755740"}}]:[],!0),window.useIndexExchange?[{bidder:"ix",params:{siteId:"931608"}}]:[],!0),window.useTappx?[{bidder:"tappx",params:{tappxkey:"desktop"===window.deviceType?"pub-74539-desktop-4069":"pub-74538-mweb-4046",endpoint:"zz41656eb",host:"zz41656eb.pub.tappx.com/rtb/"}}]:[],!0),window.useTriplelift&&u[t.path]?[{bidder:"triplelift",params:{inventoryCode:u[t.path]}}]:[],!0),window.useMinuteMedia?[{bidder:"minutemedia",params:{org:"01gwq37afgk8",placementId:t.path}}]:[],!0),window.useMagnite?[{bidder:"rubicon",params:{accountId:21810,siteId:498738,zoneId:2969800}}]:[],!0),window.useSmaato&&r?[{bidder:"smaato",params:{publisherId:"1100055201",adspaceId:r}}]:[],!0),window.useSharethrough&&o?[{bidder:"sharethrough",params:{pkey:o}}]:[],!0),window.useMediaNet?[{bidder:"medianet",params:{cid:"8CU4C2E9M",crid:"135241517"}}]:[],!0),window.useCriteo?[{bidder:"criteo",params:{networkId:12160}}]:[],!0)})),e},[]),t&&(this.rewardName=t.name),i&&(this.interName=i.name),(this.slots.length||t||i)&&(window.googletag.cmd.push(function(){e.forEach(function(e){var t;if(!(e.disableCondition||!(null===(t=null===window||void 0===window?void 0:window.eb)||void 0===t?void 0:t.settings[e.setting])||e.device&&e.device!==window.deviceType||e.modes&&!e.modes.includes(window.mode))){var i=window.googletag.defineSlot(e.path,e.sizes,e.blockId);e.sizeMapper&&i.defineSizeMapping(f.getGptFuncSizeConfig(e.sizeMapper)),i.addService(window.googletag.pubads()),f.gptSlots.push(i)}}),t&&window.useLimitationHintsAndMistakes&&!window.useAniviewRewarded&&(f.reward=window.googletag.defineOutOfPageSlot(f.rewardName,window.googletag.enums.OutOfPageFormat.REWARDED),f.reward?(f.reward.addService(window.googletag.pubads()),window.googletag.pubads().addEventListener("rewardedSlotReady",function(e){f.rewardLoaded=!0,r.a.emit(o.f.rewardReady,e)}),window.googletag.pubads().addEventListener("rewardedSlotClosed",function(e){var t,i,d=e.slot,u=d.getSlotElementId(),l=d.getAdUnitPath(),c=d.getResponseInformation();if((l.includes("reward")||window.useNewRewardedTag&&l.includes("interstitial"))&&window.rewardPlacement)if(c){w=a({path:l,id:u,advertiserId:c.advertiserId,campaignId:c.campaignId,creativeId:c.creativeId,lineItemId:c.lineItemId,sourceAgnosticCreativeId:null!==(t=c.sourceAgnosticCreativeId)&&void 0!==t?t:null,sourceAgnosticLineItemId:null!==(i=c.sourceAgnosticLineItemId)&&void 0!==i?i:null,service_name:"publisher_ads"===e.serviceName?"AdManager":e.serviceName,placement:window.rewardPlacement},f.adsInfo[u]?f.adsInfo[u]:{});Object(n.a)("ad_rewarded_closed",w),s.a.send("ad_rewarded_closed",w)}else{var w=a({placement:window.rewardPlacement,path:l,id:u,impressionWithoutData:!0,service_name:"publisher_ads"===e.serviceName?"AdManager":e.serviceName},f.adsInfo[u]?f.adsInfo[u]:{});Object(n.a)("ad_rewarded_closed",w),s.a.send("ad_rewarded_closed",w)}window.googletag.destroySlots([f.reward]),f.reward=null,f.rewardLoaded=!1,delete f.adsInfo[u],history.pushState("",document.title,window.location.pathname+window.location.search),r.a.emit(o.f.rewardDestroyed,!0),f.initReward()}),window.googletag.pubads().addEventListener("rewardedSlotGranted",function(e){var t,i,d=e.slot,u=d.getSlotElementId(),l=d.getAdUnitPath(),c=d.getResponseInformation();if((l.includes("reward")||window.useNewRewardedTag&&l.includes("interstitial"))&&window.rewardPlacement)if(c){w=a({path:l,id:u,advertiserId:c.advertiserId,campaignId:c.campaignId,creativeId:c.creativeId,lineItemId:c.lineItemId,sourceAgnosticCreativeId:null!==(t=c.sourceAgnosticCreativeId)&&void 0!==t?t:null,sourceAgnosticLineItemId:null!==(i=c.sourceAgnosticLineItemId)&&void 0!==i?i:null,service_name:"publisher_ads"===e.serviceName?"AdManager":e.serviceName,placement:window.rewardPlacement},f.adsInfo[u]?f.adsInfo[u]:{});Object(n.a)("ad_rewarded_finished",w),s.a.send("ad_rewarded_finished",w)}else{var w=a({placement:window.rewardPlacement,path:l,id:u,impressionWithoutData:!0,service_name:"publisher_ads"===e.serviceName?"AdManager":e.serviceName},f.adsInfo[u]?f.adsInfo[u]:{});Object(n.a)("ad_rewarded_finished",w),s.a.send("ad_rewarded_finished",w)}r.a.emit(o.f.rewardGranted),window.googletag.destroySlots([f.reward]),f.reward=null,f.rewardLoaded=!1,delete f.adsInfo[u],history.pushState("",document.title,window.location.pathname+window.location.search),r.a.emit(o.f.rewardDestroyed,!0),f.initReward()}),setTimeout(function(){f.rewardLoaded||(Object(n.a)("ad_rewarded_failed"),s.a.send("ad_rewarded_failed"))},5e3)):(Object(n.a)("ad_rewarded_failed"),s.a.send("ad_rewarded_failed"))),i&&window.useFullScreenInter&&(f.inter=googletag.defineOutOfPageSlot(f.interName,window.googletag.enums.OutOfPageFormat.GAME_MANUAL_INTERSTITIAL),f.inter?(f.inter.addService(window.googletag.pubads()),setTimeout(function(){f.interLoaded||(Object(n.a)("ad_interstitial_failed"),s.a.send("ad_interstitial_failed"))},5e3),window.googletag.pubads().addEventListener("gameManualInterstitialSlotReady",function(e){f.inter===e.slot&&(f.interLoaded=!0,console.log("inter loaded",e),r.a.emit(o.f.interLoaded,e))}),window.googletag.pubads().addEventListener("gameManualInterstitialSlotClosed",function(e){var t,i,n=e.slot,s=n.getSlotElementId(),d=n.getAdUnitPath(),u=n.getResponseInformation();r.a.emit(o.f.interDestroyed,a(a(a({path:d,id:s,service_name:"AdManager"},f.adsInfo[s]?f.adsInfo[s]:{}),{personalized_ad:f.personalizedAd}),u?{advertiserId:u.advertiserId,campaignId:u.campaignId,creativeId:u.creativeId,lineItemId:u.lineItemId,sourceAgnosticCreativeId:null!==(t=u.sourceAgnosticCreativeId)&&void 0!==t?t:null,sourceAgnosticLineItemId:null!==(i=u.sourceAgnosticLineItemId)&&void 0!==i?i:null}:{impressionWithoutData:!0})),window.googletag.destroySlots([f.inter]),f.inter=null,f.interLoaded=!1,delete f.adsInfo[s],history.pushState("",document.title,window.location.pathname+window.location.search),f.initInter()})):(Object(n.a)("ad_interstitial_failed"),s.a.send("ad_interstitial_failed"))),window.googletag.pubads().addEventListener("impressionViewable",function(e){var t,i,d,u,l,c,w=e.slot,p=w.getSlotElementId(),h=w.getAdUnitPath(),b=h.includes("reward")||window.useNewRewardedTag&&h.includes("interstitial"),m=b?"ad_rewarded_impression":"ad_banner_impression",g=h.includes("interstitial")&&!window.useNewRewardedTag||h.includes("Europe/France/Paris")||h.includes("web_sudoku_video_ima"),v={},y=w.getResponseInformation();if(f.trackImpressions[p]=!0,g)r.a.emit(o.f.interImpression,a(a(a({path:h,id:p,service_name:"AdManager"},f.adsInfo[p]?f.adsInfo[p]:{}),{personalized_ad:f.personalizedAd}),y?{advertiserId:y.advertiserId,campaignId:y.campaignId,creativeId:y.creativeId,lineItemId:y.lineItemId,sourceAgnosticCreativeId:null!==(t=y.sourceAgnosticCreativeId)&&void 0!==t?t:null,sourceAgnosticLineItemId:null!==(i=y.sourceAgnosticLineItemId)&&void 0!==i?i:null}:{impressionWithoutData:!0}));else{if(b&&window.rewardPlacement&&(v.placement=window.rewardPlacement,window.rewardParams))for(var _=0,S=Object.entries(window.rewardParams);_-1};function a(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function d(e){return"string"!=typeof e&&(e=String(e)),e}function u(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return r.iterable&&(t[Symbol.iterator]=function(){return t}),t}function l(e){this.map={},e instanceof l?e.forEach(function(e,t){this.append(t,e)},this):Array.isArray(e)?e.forEach(function(e){this.append(e[0],e[1])},this):e&&Object.getOwnPropertyNames(e).forEach(function(t){this.append(t,e[t])},this)}function c(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function w(e){return new Promise(function(t,i){e.onload=function(){t(e.result)},e.onerror=function(){i(e.error)}})}function p(e){var t=new FileReader,i=w(t);return t.readAsArrayBuffer(e),i}function f(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function h(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:r.blob&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:r.formData&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:r.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():r.arrayBuffer&&r.blob&&((t=e)&&DataView.prototype.isPrototypeOf(t))?(this._bodyArrayBuffer=f(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):r.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(e)||s(e))?this._bodyArrayBuffer=f(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):r.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},r.blob&&(this.blob=function(){var e=c(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){if(this._bodyArrayBuffer){var e=c(this);return e||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}return this.blob().then(p)}),this.text=function(){var e,t,i,n=c(this);if(n)return n;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,i=w(t),t.readAsText(e),i;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),i=new Array(t.length),n=0;n-1?n:i),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(r),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache)){var o=/([?&])_=[^&]*/;if(o.test(this.url))this.url=this.url.replace(o,"$1_="+(new Date).getTime());else{this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}}function g(e){var t=new FormData;return e.trim().split("&").forEach(function(e){if(e){var i=e.split("="),n=i.shift().replace(/\+/g," "),r=i.join("=").replace(/\+/g," ");t.append(decodeURIComponent(n),decodeURIComponent(r))}}),t}function v(e,t){if(!(this instanceof v))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new l(t.headers),this.url=t.url||"",this._initBody(e)}m.prototype.clone=function(){return new m(this,{body:this._bodyInit})},h.call(m.prototype),h.call(v.prototype),v.prototype.clone=function(){return new v(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new l(this.headers),url:this.url})},v.error=function(){var e=new v(null,{status:0,statusText:""});return e.type="error",e};var y=[301,302,303,307,308];v.redirect=function(e,t){if(-1===y.indexOf(t))throw new RangeError("Invalid status code");return new v(null,{status:t,headers:{location:e}})};var _=n.DOMException;try{new _}catch(e){(_=function(e,t){this.message=e,this.name=t;var i=Error(e);this.stack=i.stack}).prototype=Object.create(Error.prototype),_.prototype.constructor=_}function S(e,t){return new Promise(function(i,o){var s=new m(e,t);if(s.signal&&s.signal.aborted)return o(new _("Aborted","AbortError"));var a=new XMLHttpRequest;function u(){a.abort()}a.onload=function(){var e,t,n={status:a.status,statusText:a.statusText,headers:(e=a.getAllResponseHeaders()||"",t=new l,e.replace(/\r?\n[\t ]+/g," ").split("\r").map(function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e}).forEach(function(e){var i=e.split(":"),n=i.shift().trim();if(n){var r=i.join(":").trim();t.append(n,r)}}),t)};n.url="responseURL"in a?a.responseURL:n.headers.get("X-Request-URL");var r="response"in a?a.response:a.responseText;setTimeout(function(){i(new v(r,n))},0)},a.onerror=function(){setTimeout(function(){o(new TypeError("Network request failed"))},0)},a.ontimeout=function(){setTimeout(function(){o(new TypeError("Network request failed"))},0)},a.onabort=function(){setTimeout(function(){o(new _("Aborted","AbortError"))},0)},a.open(s.method,function(e){try{return""===e&&n.location.href?n.location.href:e}catch(t){return e}}(s.url),!0),"include"===s.credentials?a.withCredentials=!0:"omit"===s.credentials&&(a.withCredentials=!1),"responseType"in a&&(r.blob?a.responseType="blob":r.arrayBuffer&&s.headers.get("Content-Type")&&-1!==s.headers.get("Content-Type").indexOf("application/octet-stream")&&(a.responseType="arraybuffer")),!t||"object"!=typeof t.headers||t.headers instanceof l?s.headers.forEach(function(e,t){a.setRequestHeader(t,e)}):Object.getOwnPropertyNames(t.headers).forEach(function(e){a.setRequestHeader(e,d(t.headers[e]))}),s.signal&&(s.signal.addEventListener("abort",u),a.onreadystatechange=function(){4===a.readyState&&s.signal.removeEventListener("abort",u)}),a.send(void 0===s._bodyInit?null:s._bodyInit)})}S.polyfill=!0,n.fetch||(n.fetch=S,n.Headers=l,n.Request=m,n.Response=v)},kFz4:function(e,t,i){"use strict";i.d(t,"a",function(){return h});i("bZMm");var n=i("6Ssv"),r=i("5z3c"),o=i("K4CH"),s=function(){return(s=Object.assign||function(e){for(var t,i=1,n=arguments.length;i0&&r[r.length-1])&&(6===o[0]||2===o[0])){s=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]=30?r+1:r,n.a&&window.isShowAnalytics&&localStorage.setItem("ets_session",JSON.stringify({date:Date.now()/1e3,number:this.session}))}},e.prototype.generateUserId=function(e){if(!e)return null;var t=e.split("."),i="";return t.forEach(function(e){i+=Object(r.w)(parseInt(e).toString(16),16)}),i},e.prototype.postEvents=function(e,t){return a(this,void 0,void 0,function(){var i,r,o,s,a,c,w;return d(this,function(d){switch(d.label){case 0:if(!this.canMakeRequest||!this.userId)return[2,!1];this.tempSendEvents=u(u([],this.tempSendEvents,!0),e,!0),n.a&&window.isShowAnalytics&&localStorage.setItem(l,JSON.stringify(this.tempSendEvents)),i=t&&this.useBeacon,d.label=1;case 1:return d.trys.push([1,11,,12]),r=e.reduce(function(e,t){return e.push(t.event),e},[]),o=this.domain+"/"+(r.length>1?p:f),i?(this.events=this.events.filter(function(t){return!e.find(function(e){return e.id===t.id})}),this.tempSendEvents=this.tempSendEvents.filter(function(t){return!e.find(function(e){return e.id===t.id})}),this.saveToLs(),[4,fetch(o,{method:"POST",headers:{"x-easy-appid":String(this.eaid),"x-easy-adid":this.userId},body:JSON.stringify(r.length>1?r:r[0]),keepalive:!0})]):[3,3];case 2:return d.sent(),[2,!0];case 3:return[4,fetch(o,{method:"POST",headers:{"x-easy-appid":String(this.eaid),"x-easy-adid":this.userId},body:JSON.stringify(r.length>1?r:r[0])})];case 4:return 200!==(s=d.sent()).status?[3,5]:(this.events=this.events.filter(function(t){return!e.find(function(e){return e.id===t.id})}),this.tempSendEvents=this.tempSendEvents.filter(function(t){return!e.find(function(e){return e.id===t.id})}),this.saveToLs(),[2,!0]);case 5:return 400!==s.status?[3,9]:1!==r.length?[3,6]:(a=r[0],this.events=this.events.filter(function(e){return!(e.event.ttime===a.ttime&&e.event.tname===a.tname)}),[3,8]);case 6:return[4,s.json()];case 7:c=d.sent(),this.events=this.events.filter(function(e){return!c.find(function(t){return t.Ttime===e.event.ttime&&t.Tname===e.event.tname})}),d.label=8;case 8:return this.tempSendEvents=this.tempSendEvents.filter(function(t){return!e.find(function(e){return e.id===t.id})}),this.saveToLs(),[2,!0];case 9:return this.handleErrorOnRequest(e),[2,!1];case 10:return[3,12];case 11:return w=d.sent(),console.warn("ETS WARN",w),this.handleErrorOnRequest(e),[2,!1];case 12:return[2]}})})},e.prototype.handleErrorOnRequest=function(e){var t=this;clearTimeout(this.timeoutForRequest),this.batchTth=2*this.batchTth,this.canMakeRequest=!1,this.tempSendEvents=this.tempSendEvents.filter(function(t){return!e.find(function(e){return e.id===t.id})}),this.saveToLs(),this.timeoutForRequest=setTimeout(function(){t.canMakeRequest=!0},this.batchTth)},e.prototype.send=function(e,t,i){var n,r,o,a,d=this;window.useETS&&window.isShowAnalytics&&this.eaid&&this.domain&&(this.updateSessionNumber(),this.events.push({id:this.events.length+Math.random().toString(16).slice(2),event:{tname:e,ttime:Math.floor(Date.now()/1e3),payload:s(s(s(s({},t||{}),this.abGroups.length?{ab_groups:this.abGroups.join(",")}:{}),{session:this.session,device__category:this.deviceCategory,installed_at:null!==(n=window.fv)&&void 0!==n?n:null,build_version:null!==(a=null===(o=null===(r=null===window||void 0===window?void 0:window.eb)||void 0===r?void 0:r.params)||void 0===o?void 0:o.buildVersion)&&void 0!==a?a:null}),this.utms)}}),!this.priorifySending&&i&&(this.priorifySending=!0),this.saveToLs(),clearTimeout(this.sendTimeout),this.sendTimeout=setTimeout(function(){d.sendEvents(!0)},500))},e.prototype.createTimeout=function(){var e=this;clearTimeout(this.timeout),this.batchTth&&(this.timeout=setTimeout(function(){e.priorifySending=!0,e.sendEvents(),e.createTimeout()},this.batchTth))},e.prototype.filterDuplicates=function(e){return e.reduce(function(e,t){return e.find(function(e){var i,n,r,o;return e.id===t.id||t.event.tname===e.event.tname&&!["g_hint_next","g_hint_back","g_hint_needed","ab_group"].includes(t.event.tname)&&t.event.ttime===e.event.ttime&&(null===(n=null===(i=e.event)||void 0===i?void 0:i.payload)||void 0===n?void 0:n.path)===(null===(o=null===(r=t.event)||void 0===r?void 0:r.payload)||void 0===o?void 0:o.path)})||e.push(t),e},[])},e.prototype.sendEvents=function(e,t){return a(this,void 0,void 0,function(){var i,o,s,a,u,c=this;return d(this,function(d){switch(d.label){case 0:if(this.processOfSending)return[2];if(i=!0,clearTimeout(this.sendTimeout),this.events=this.filterDuplicates(this.events),this.tempSendEvents=this.filterDuplicates(n.a&&JSON.parse(localStorage.getItem(l))||[]),!(o=this.events.filter(function(e){return!c.tempSendEvents.find(function(t){return t.id===e.id})})).length||!(o.length>=this.batchTh||this.priorifySending))return[3,4];this.processOfSending=!0,s=Object(r.t)(o,this.batchTh),a=0,d.label=1;case 1:return a