(function preProcessorWrapper(w,d,v,g,p,mw,mc,ms,id,mb,t,tk,s) {var DEFAULT_MODAL = 'game_preview',hostName = (p.split( '/' ))[2];initGlobalData();if (typeof mw.id !== 'undefined') {setModalData(DEFAULT_MODAL, {'mw': mw, 'mc': mc, 'ms': ms,'mb': mb, 'p': p});} else {for (var index in mw) {if (!isDataHasIndex(index)) continue;setModalData(index, {'mw': decode(mw[index]), 'mc': mc[index],'ms': decode(ms[index]), 'mb': decode(mb[index]),'p': p});}}var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.arrayIteratorImpl=function(v){var w=0;return function(){return w>>0,$jscomp.propertyToPolyfillSymbol[A]=$jscomp.IS_SYMBOL_NATIVE? $jscomp.global.Symbol(A):$jscomp.POLYFILL_PREFIX+u+"$"+A),$jscomp.defineProperty(t,$jscomp.propertyToPolyfillSymbol[A],{configurable:!0,writable:!0,value:w})))};$jscomp.initSymbol=function(){}; $jscomp.polyfill("Symbol",function(v){if(v)return v;var w=function(H,M){this.$jscomp$symbol$id_=H;$jscomp.defineProperty(this,"description",{configurable:!0,writable:!0,value:M})};w.prototype.toString=function(){return this.$jscomp$symbol$id_};var u="jscomp_symbol_"+(1E9*Math.random()>>>0)+"_",t=0,A=function(H){if(this instanceof A)throw new TypeError("Symbol is not a constructor");return new w(u+(H||"")+"_"+t++,H)};return A},"es6","es3"); $jscomp.polyfill("Symbol.iterator",function(v){if(v)return v;v=Symbol("Symbol.iterator");for(var w="Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array".split(" "),u=0;u\n',"");this.setImage(btoa(this.getPattern()),b)};this.setImage=function(h,n){n.forEach(function(b){b.src="data:image/svg+xml;base64,"+h})};this.getPattern=function(){return c.imageBase64["/reveal.svg"]};this.initEvents=function(){this.listenClick(".no-word",function(h){t&&!u?this.closeModal({target:c.select("."+c.closeClass)}):u||this.closeAnimatedModal(!1)}.bind(this));this.listenClick(".reveal__footer .reveal__button", this.showEmailScreen.bind(this));this.listenClick(".reveal__content:nth-child(2) .reveal__button-primary",this.revealButton.bind(this));this.listenInput('.reveal__content:nth-child(2) [data-text="emailScreen.email"]',function(h){if(13!==h.keyCode)return!1;this.revealButton()}.bind(this))};this.revealButton=function(){if(u)return this.showWinScreen();if(t)this.gamePlayed({response:JSON.stringify({result:1})});else{if(!this.shakeValidate(this.getFormWrapper()))return!1;ra.call(c);this.sendGamePlayedStatistic(this.getInputs(), this.gamePlayed.bind(this))}};this.listenClick=function(h,n){var b=c.select(h);b&&b.tagName&&b.addEventListener("click",n)};this.listenInput=function(h,n){var b=c.select(h);b&&b.tagName&&b.addEventListener("keydown",n)};this.gamePlayed=function(h){h=JSON.parse(h.response);1===h.result?(h=f.getWinnerItem(c.selectAll(".reveal")),this.finishGame(h)):((h=Ha(h))?error.innerHTML=h:!1,ca(error,"flex"),d.shakeElement(c.select('input[type="email"]')))};this.setResult=function(h){this.setNodesResult(h)};this.setNodesResult= function(h){sa.call(c,[".reveal__unlocked-value"],decodeURI(h.value))};this.getFormWrapper=function(){return c.select(".reveal__field")};this.clearErrors=function(h){[].slice.call(h.querySelectorAll("input")).map(function(n){L(n," animated shake")})};this.getInputs=function(){return{emailInput:c.select('[data-name="email"]'),usernameInput:c.select('[data-name="userName"]'),phoneInputValue:c.select('[data-name="number"]')}};this.getInputSelectors=function(){return{emailInput:'[data-name="email"]', usernameInput:'[data-name="userName"]',phoneInputValue:'[data-name="number"]'}};this.setNodesResult=function(h){h=decodeURI(h.value);sa.call(c,[".reveal__unlocked-value"],h)};this.setCouponCode=function(h){h=this.getCodeString(h);sa.call(c,[".reveal__image-text-win"],h);this.showWinScreen()};this.getCodeString=function(h){return t?"TEST_CODE":"undefined"!==typeof h.text?h.text:h};this.showStartScreen=function(){D(c.select("."+c.closeClass));this.showScreen(1)};this.showEmailScreen=function(){N(c.select("."+ c.closeClass));this.showScreen(2)};this.showWinScreen=function(){N(c.select("."+c.closeClass));this.showScreen(3)};this.showScreen=function(h){c.select(".reveal-game .reveal__wrapper").childNodes.forEach(function(n,b){b+1===h?N(n):D(n)})};this.hooksHandler=function(h){"GPDR"===h.target?this.handleGPDR(h.value):"gpdrCheckbox"===h.target?this.handleCheckboxGPDR(h.value):"revealLogo"===h.target?this.handleLogo(h.file):"pattern"===h.target&&this.handlePattern(h.color)};this.handleGPDR=function(h){var n= c.select("#gdpr").parentNode,b=n.parentNode.querySelector(".reveal__disclaimer-wrapper");h?(ca(n,"flex"),n.style.top=(b.innerText?22:0)+"px"):D(n)};this.handleCheckboxGPDR=function(h){var n=c.select("#gdpr");h?ca(n,"flex"):D(n)};this.handleLogo=function(h){c.selectAll(".reveal__logo-img").forEach(function(n){h?(L(n," hide"),n.style.content="url("+h+")"):I(n," hide")})};this.handlePattern=function(h){var n=Ia(this.getPattern());this.changePatternColor(n,h);this.setImage(btoa(ya(n)),c.selectAll(".reveal__img"))}; this.changePatternColor=function(h,n){var b=h.querySelectorAll(".change-color");b=$jscomp.makeIterator(b);for(var l=b.next();!l.done;l=b.next())l=l.value,l.getAttribute("fill")&&l.setAttribute("fill",n),l.getAttribute("stroke")&&l.setAttribute("stroke",n)}}function G(c){this.get=function(){return c};this.select=function(e){return(e=-1E.length?[E,""]:la(E);var r="#coupon"+(parseInt(z)+1);r=p.select(r).children();r[0].children()[0].setText(E[0].trim());r[1].children()[0].setText(E[1].trim())}};this.setTempData=function(b){var l=y(window,"spinthewheel.slices.colors."+c.gameId,!1);y(window,"spinthewheel.slices.texts."+c.gameId,!1);y(window,"spinthewheel.font.color."+c.gameId,!1);c.svg= new G(b.querySelector("svg"));this.changeSlicesSchema(l)};this.changeSlicesSchema=function(b){if(!b)return!1;b=$jscomp.makeIterator(b);for(var l=b.next();!l.done;l=b.next())l=l.value,c.svg.select("#"+l.name).setAttr("fill",l.hex)};this.setSvgBackground=function(){var b=c.select(".wheel .outer-circle");b.style.display="none";n.customLoadAndSet("/spinthewheel_background.svg",b,this.addResponseBackground.bind(this))};this.addResponseBackground=function(b,l){var p=l.wrapper;if(!b.response)return!1;c.imageBase64[l.backgroundUrl]= b.response;p.style.display="flex";var z=btoa(u?this.getSvgCopy(b.response,p):b.response);this.setWrapper(p,z)};this.getSvgCopy=function(b,l){var p=Ia(b.replace('',""));p.id="svg-background";p.style.display="none";l.appendChild(p);p=p.cloneNode(!0);p.style.display=null;return ya(p)};this.setWrapper=function(b,l){b.style.background='url("'+this.getSvgBase64(l)+'") center center no-repeat'};this.getSvgBase64=function(b){return"data:image/svg+xml;base64,"+b};this.loadLogo=function(){setTimeout(function(){try{var b= [c.select(".info-logo")],l=getComputedStyle(b[0],null).getPropertyValue("background-image").replace(/^url\(["']?/,"").replace(/["']?\)$/,"").split("?")[0];n.loadAndSet(l,b,-1===l.indexOf(c.hostUrl))}catch(p){}}.bind(this),100)};this.setFlowScreen=function(){switch(f){case "enter-click-finish":this.showStartScreen();break;default:this.showSpinScreen()}};this.getFlow=function(){for(var b in c.flow)if(1===parseInt(c.flow[b]))return b;return""};this.setFlow=function(b){for(var l in c.flow)c.flow[l]=0; c.flow[b]=1};this.initEvents=function(b,l,p,z,E,r,B){c.select(".wheel-form.email .launcher").addEventListener("click",function(x){D(c.select(".error"));this.launchGameEmailScreen(l,x,z,B)}.bind(this));c.select('.wheel-form.email input[data-name="email"]').addEventListener("keyup",function(x){if(13!==x.keyCode)return!1;D(c.select(".error"));this.launchGameEmailScreen(l,x,z,B)}.bind(this));c.select(".wheel-form.spin .launcher").addEventListener("click",function(x){this.launchAnimationSpinButton(x,B)}.bind(this)); [".wheel-form.winner .launcher",".wheel-form.winner-alternative .launcher"].map(function(x){t||Ja.call(c,x);(x=c.select(x))&&x.addEventListener("click",function(K){t&&!u?r():E(K)})});c.select('.no-thanks[data-text="spinScreen.payFull"]').addEventListener("click",function(){u?!1:r()});c.select(".dropdown")&&c.select(".dropdown").addEventListener("click",function(x){var K=x.target.closest(".dropdown"),a=K.querySelector(".options-wrapper");x.target.dataset.mcode?(K=K.querySelector("button"),K.dataset.chosen= x.target.dataset.code,K.innerHTML=x.target.dataset.mcode,x.target.closest(".options-wrapper").style.display="none"):a.style.display=0l.length?[l,""]:la(l);var p="#coupon"+(parseInt(b)+1);n.select(p+ "curve2text").setText(l[1]);n.select(p+"curve1text").setText(l[0])}};this.launchGame=function(h){h=k.getWinnerItem(h);d.rotate(c.select(La()),{stop:parseInt(h.dataset.stop)},function(n){setTimeout(this.finishGame.bind(null,n),1E3)}.bind(this,h));if(!qa())return!1;this.redrawCircle(1,this.getSVGCircle())};this.animateHide=function(){c.gameScreen(c)};this.setTempData=function(h){var n=y(window,"wheel.slices.colors."+c.gameId,!1);y(window,"wheel.slices.texts."+c.gameId,!1);y(window,"wheel.font.color."+ c.gameId,!1);c.svg=new G(h.querySelector("svg"));this.changeSlicesSchema(n)};this.changeSlicesSchema=function(h){if(!h)return!1;h=$jscomp.makeIterator(h);for(var n=h.next();!n.done;n=h.next())n=n.value,c.svg.select("#"+n.name).setAttr("fill",n.hex)}}function O(c,e){var f=new ba(c),d=new aa(c),k=new ka,h;this.finishGame=e;this.init=function(){h=this.getCurrentTriggerName();c.select(".fullwheel-wrapper");this.setFullSvg()};this.getCurrentTriggerName=function(){switch(c.currentTrigger){case "bottomTrigger":return c.triggerNodeBottom; case "sideTrigger":return c.triggerNodeSide;case "simpleTrigger":return c.triggerNodeSimple}};this.setFullSvg=function(){var n=c.select(".fullwheel"),b=y(c,"gameInfo.gameId","preview")+"/fullwheel.svg";this.hideContentAndNode();var l=0;var p=setInterval(function(){l++;if(4p.length?[p,""]:la(p);var z="#coupon"+(parseInt(l)+1);b.select(z+"curve2text").setText(p[1]);b.select(z+"curve1text").setText(p[0])}};this.launchGame=function(n){n=k.getWinnerItem(n);d.rotate(c.select(".fullwheel"),{stop:parseInt(n.dataset.stop)},function(b){setTimeout(function(){var l=c.select(".fullwheel-arrow");if(!l)return!1;l.style.display="none"},2E3);setTimeout(this.finishGame.bind(null,b),2E3)}.bind(this,n))};this.animateHide=function(){c.gameScreen(c)}; this.setTempData=function(n){var b=y(window,"fullwheel.slices.colors."+c.gameId,!1);y(window,"fullwheel.slices.texts."+c.gameId,!1);y(window,"fullwheel.font.color."+c.gameId,!1);c.svg=new G(n.querySelector("svg"));this.changeSlicesSchema(b)};this.changeSlicesSchema=function(n){if(!n)return!1;n=$jscomp.makeIterator(n);for(var b=n.next();!b.done;b=n.next())b=b.value,c.svg.select("#"+b.name).setAttr("fill",b.hex)};this.hooksHandler=function(n){"font"===n.target&&this.handleFontChange(n)};this.handleFontChange= function(n){var b=Ka(n.value),l=new G(c.select(".fullwheel svg")),p=l.select("#coupons"),z=p.getAttr("style").split(";");l.select("#fonts").innerHTML=this.getSvgFontLine(b);z[0]="font-family:"+n.value;p.setAttr("style",z.join(";"))};this.getSvgFontLine=function(n){return'"}}function Q(c,e){var f=new ba(c),d=new aa(c);new ka; var k=!fa,h={width:92,height:84,bottom:145},n={width:52,height:48,bottom:118};this.gifts={};this.giftClass="gift";this.itemClass="."+this.giftClass;this.finishGame=e;this.giftVariables={};this.animationType="";this.animationObject=d;this.initDeviceVariables=function(b){this.setGiftAnimation(b);this.setGiftVariables(b)};this.setGiftVariables=function(b){this.giftVariables=b?h:n;this.giftVariables.bottom--};this.setGiftAnimation=function(b){this.animationType=b?"winnerGift":"winnerGiftMobile"};this.initDeviceVariables(k); this.animateOpen=function(b){d.animateBySelector(b,"."+c.closeClass);this.animateStatic("In");setTimeout(function(){this.animateGifts()}.bind(this),600)};this.animateStatic=function(b){"In"!==b&&this.animateHeadPart("fade"+b+"Up");this.animateFootPart("fade"+b)};this.animateHeadPart=function(b){var l=[c.select(".big-text"),c.select(".input-wrapper")];setTimeout(function(){for(var p in l)l.hasOwnProperty(p)&&d.animateBySelector(b,l[p],this.hideBehindBackground.bind(this,l[p],b))}.bind(this),300)}; this.animateFootPart=function(b){var l=c.select(".text.small-message");setTimeout(function(){d.animateBySelector(b,l,this.hideBehindBackground.bind(this,l,b))}.bind(this),400)};this.hideBehindBackground=function(b,l){this.setItemOpacity(b,l);this.setItemZindex(b,l)};this.animateGifts=function(){var b=c.selectAll(".gift"),l;for(l in b)b.hasOwnProperty(l)&&this.animateGift(b[l],l)};this.animateGift=function(b,l){setTimeout(function(){d.animateBySelector("popup",b,this.setItemOpacity.bind(this))}.bind(this), 50*l)};this.setItemOpacity=function(b,l){b.style.opacity=this.isShowEffect(l)};this.isShowEffect=function(b){return"undefined"===typeof b||-1l)return p};this.setNewBigText=function(b,l){var p=c.select(".big-text[data-name=pickGift]");D(b);N(p);this.setItemOpacity(p,l);p.style.height=W(b,"height")+"px";this.fadeIn(p)};this.prepareGiftWrapper=function(b){if(!b)return!1;I(b," bigger")};this.showFinalScene=function(b){if("block"===c.select(".second-screen").style.display||!this.isInitialScreen()&& c.emailCollect)return!1;this.showFinalScreen(b.target)};this.showFinalScreen=function(b){var l=c.selectAll(".gift");L(b.parentNode," bigger");this.prepareFinalScene("fadeOut");this.highlightWinnerGift(l,b);this.animateWinnerGift(b,this.getGiftIndex(l,b))};this.isInitialScreen=function(){var b=c.select(".input-wrapper");if(1===parseInt(W(b,"opacity"))){b=c.select("input").value;if(!ta(b))return this.shakeForm("input"),!1;f.isValidEmail(b,this.emailValidationHandler.bind(this));return!1}return!0};this.emailValidationHandler= function(b){b=JSON.parse(b.response);b=b.hasOwnProperty("subscriber_email")&&"boolean"===typeof b.subscriber_email;this.shakeForm(b?"button":"input")};this.shakeForm=function(b){var l=c.select(".input-wrapper");d.animateBySelector("shake",l.querySelector(b),function(){})};this.prepareFinalScene=function(b){this.animateBigText(b);this.animateFootPart(b)};this.animateBigText=function(b){var l=c.select(".big-text"),p=c.select(".big-text[data-name=pickGift]");d.animateBySelector(b,l,this.hideBehindBackground.bind(this, l,b));d.animateBySelector(b,p,this.hideBehindBackground.bind(this,p,b))};this.animateInit=function(){setTimeout(function(){this.animateStatic("Out")}.bind(this),10)};this.highlightWinnerGift=function(b,l){for(var p in b)if(b.hasOwnProperty(p)){var z=b[p];this.isSelectedGift(l,b,p)||this.fadeOutGift(z)}};this.fadeOutGift=function(b){this.animationObject.animateBySelector("fadeOut",b,this.hideGift.bind(this,b,"fadeOut"))};this.isSelectedGift=function(b,l,p){return"null"!==b.dataset.id&&l[p].dataset.id=== b.dataset.id||t&&"null"===b.dataset.id&&l[p].dataset.temp_id===b.dataset.temp_id};this.getGiftIndex=function(b,l){for(var p in b)if(b.hasOwnProperty(p)&&this.isSelectedGift(l,b,p))return parseInt(p);return!1};this.hideGift=function(b,l){this.hideBehindBackground(b,l);b.style.visibility="hidden"};this.animateWinnerGift=function(b,l){setTimeout(function(){d.animateBySelector(this.animationType,b,this.giftWinner.bind(this,b));setTimeout(this.animateDirection.bind(this,b,l),300)}.bind(this),900)};this.giftWinner= function(b){this.fixStyles(b);this.animateFinalScreen()};this.fixStyles=function(b){var l=b.parentNode;b.style.width=this.giftVariables.width+"px";b.style.height=this.giftVariables.height+"px";b.style.bottom=W(l,"margin").split(" ")[0]+"px";l.style.bottom="0px"};this.animateDirection=function(b,l){var p=W(b.parentNode,"width");p=this.getSidePosition(l,p);var z=this.getDirection(l);requestAnimationFrame(this.animateBottom.bind(this,b,p,z))};this.getDirection=function(b){b=3>b?"left":"right";return-1< c.select(".small-window").className.indexOf("he")?this.reverseDirection(b):b};this.reverseDirection=function(b){return"right"===b?"left":"right"};this.animateBottom=function(b,l,p){var z=this.giftVariables.bottom,E=W(b,"bottom");b.style[p]=E/(z/100)*(l/100)+"px";E=k)return parseInt(h)};this.getSortedCoupons=function(d){d=Array.prototype.slice.call(d);var k=d[3];d.splice(3,1);d.splice(4,0,k);k=d.splice(4,4);k.reverse();Array.prototype.push.apply(d,k);return d};this.tagSelector=function(d){return"UL"===d.tagName};this.playGame=function(d,k,h,n,b){b= "undefined"===typeof b?0:b;var l=d.length-1,p=d[k],z=d[0===k?l:k-1];h=this.getSpeed(k,h,b,n);this.showCurrentCoupon(z,p);setTimeout(this.gameIteration.bind(this,k,h,n,d,l,b),h)};this.getSpeed=function(d,k,h,n){d=25+(n+1);n=10;h>=d-3?n=30:h>=d-4?n=10:h>=d-5?n=5:4>h?n=-8:8>h?n=-7:16>h&&(n=-5);return k+n};this.showCurrentCoupon=function(d,k){d.className=d.className.replace(" won","");k.className+=" won"};this.gameIteration=function(d,k,h,n,b,l){this.stopGame(d,k,h,l)?setTimeout(this.finishGame.bind(null, n[d]),1700):(l++,this.playGame(n,d===b?0:d+1,k,h,l))};this.stopGame=function(d,k,h,n){return 25
'+d+'
'+k+"
"};this.getButton=function(d,k){var h=8d.loops};this.setTopValue=function(d,k){this.changeTopValue(d,k);k.top>k.endValue&&this.initNewLoop(k)};this.changeTopValue=function(d,k){d.style.top=k.top+"px";if(k.loops===k.counter){var h=-k.stopIndex*k.initValue;this.isPositionWinCoupon(h,k)?(k.counter+=1,d.style.top=h+"px"):k.top+=this.getChangeValue(k)}else k.top+=this.getChangeValue(k)}; this.isPositionWinCoupon=function(d,k){var h=k.changeValue/1.5;return d<=k.top+h&&d>=k.top-h};this.getChangeValue=function(d){return d.loops-1<=d.counter?(this.subtractChangeValue(d),d.initChangeValue):this.isChangeValue(d)?(this.addInitChangeValue(d),d.initChangeValue):d.changeValue};this.isChangeValue=function(d){return d.changeValue>d.initChangeValue};this.addInitChangeValue=function(d){d.initChangeValue+=d.stepChangeValue};this.subtractChangeValue=function(d){1',d.pure=!0):d.textNode=this.getTextValue(h));return d};this.refreshFields=function(d){delete d.content;delete d.pure;delete d.textNode};this.isFreeShipping=function(d){return 0>["cash","discount"].indexOf(d.type)};this.getTextValue=function(d){var k=d.value;switch(d.type){case "cash":return"$"+k;case "discount":return k+"%";default:return k}}}function S(c,e){this.animationObject=new aa(c);this.requestObject=new ba(c);this.getBar=function(){return w.body.querySelector(".lucky-coupon-bar.game-"+ c.gameInfo.gameId)};this.continueUseDiscount=function(f){if(t)return f.closeModal.call(f,{target:c.select("."+c.closeClass)}),!1;if("1"===c.isContinueDiscountHaveURL&&""!==c.continueDiscountURL){var d=c.continueDiscountURL,k="1"===c.targetDiscountURL?"_blank":"_self";d=d.match(new RegExp(/(http|https):\/\//g))?d:"http://"+d;window.open(d,k).focus()}d=c.cookieExpirationDays;Y(ua(c.gameInfo),0,d);c.showBar&&c.isBarNodeAvailable?(this.setTime(c.barNode.querySelector(".coupon-code-time"),c.barCountDown, 0),this.showCountdownBar(c.barCountDown,0,!0,f),this.setCountDownShowed()):c.isGameEmbedded||f.closeAnimatedModal(!1)};this.showCountdownBar=function(f,d,k,h){d="number"===typeof d?d:0;var n=w.body.querySelector(".lucky-coupon-bar.game-"+c.gameInfo.gameId);n&&n.remove();w.body.appendChild(c.barNode);c.barNode.style.display="block";n=c.barNode.querySelector(".coupon-code-code input");n.value=va(c.gameInfo);n.style.width=14.5*n.value.length+2+"px";k&&!c.isGameEmbedded&&h.closeAnimatedModal(!1);clearInterval(c.countDownIntervalId); this.countDown(this.getDateShifted(new Date,f,d),this.getCountDownNode())};this.getDateShifted=function(f,d,k){return new Date(f.getFullYear(),f.getMonth(),f.getDate(),f.getHours(),f.getMinutes()+d,f.getSeconds()+k)};this.getCountDownNode=function(){return c.barNode.querySelector(".coupon-code-time")};this.setCountDownShowed=function(){Y(T(c.gameInfo)+"CountDownShowed",(new Date).getTime())};this.setTime=function(f,d,k){f.innerHTML=""+d+"m:"+k+"s"};this.countDown=function(f, d){c.countDownIntervalId=setInterval(function(){var k=(new Date).getTime();k=f-k;var h=this.getDistanceMinutes(k),n=this.getDistanceSeconds(k);this.setTime(d,h,n);0>=k&&(clearInterval(c.countDownIntervalId),d.remove(),(k=this.getBar())&&k.remove())}.bind(this),950)};this.getDistanceMinutes=function(f){return Math.floor(f%36E5/6E4)};this.getDistanceSeconds=function(f){return Math.floor(f%6E4/1E3)};this.initCountdownBar=function(){if(!c.showBar)return!1;var f=parseInt(this.getCountDownShowed()),d=c.barNode.querySelector(".fa.fa-times-thin.fa-2x"); setTimeout(this.appendClipboardEvents.bind(this),400);d.addEventListener("click",this.closeBar);this.showCalculatedTime(f)};this.appendClipboardEvents=function(){var f=this.getBar();if(!f)return!1;f.querySelector("button").addEventListener("click",function(d){this.requestObject.applyDiscount(d.target,c.couponCode||va(c.gameInfo))}.bind(this))};this.showCalculatedTime=function(f){if(f){var d=this.getDistance(f);f=this.getCalculatedMinutes(d);d=this.getCalculatedSeconds(d);0=b.distance&&clearInterval(c.countDownTimerIntervalId)}.bind(this),950)};this.getTimePeriod=function(h){var n=(new Date).getTime();h-=n;n=this.getSafePeriod(this.getDistanceMinutes(h));var b=this.getSafePeriod(this.getDistanceSeconds(h)); return{distance:h,m:n,s:b}};this.getSafePeriod=function(h){return 0==h?"0":h};this.getDistance=function(h){return(new Date).getTime()-h};this.getCalculatedMinutes=function(h){return c.isCounterTimerStart-1-this.getDistanceMinutes(h)};this.getCalculatedSeconds=function(h){return 60-this.getDistanceSeconds(h)};this.getDistanceMinutes=function(h){return Math.floor(h%36E5/6E4)};this.getDistanceSeconds=function(h){return Math.floor(h%6E4/1E3)};this.setTime=function(h,n,b){h.innerHTML=this.getTime(this.getSegment(n), this.getSegment(b))};this.getSegment=function(h){return 0<=h?(10>h?"0":"")+h:"00"};this.getTime=function(h,n){return""+h+":"+n+""};this.getCounterTimerShowed=function(){return Z(T(c.gameInfo)+"CounterTimer")};this.setCounterTimerShowed=function(){Z(T(c.gameInfo)+"CounterTimer")||Y(T(c.gameInfo)+"CounterTimer",(new Date).getTime(),1)};this.hide=function(){e.style.display="none";f.style.display="none";u?d.style.display="none":L(d," active")};this.insert=function(){this.remove(); e&&e.tagName?w.body.appendChild(e):!1;f&&f.tagName?w.body.appendChild(f):!1;d&&d.tagName?w.body.appendChild(d):!1};this.remove=function(){this.removeElement(e);this.removeElement(f);this.removeElement(d)};this.removeElement=function(h){h="."+y(h,"className","").replace(/ /g,".");(h="."!==h?w.body.querySelector(h):!1)&&h.remove(h.selectedIndex)};this.destroy=function(){this.hide();this.remove()}}function ba(c){this.isValidEmail=function(e,f){this.ajax({url:"/api/v1/check/email",method:"POST",data:{id:c.gameId, site_id:c.siteId,subscriber_email:e}},f)};this.get=function(e,f,d){this.ajax({url:e,method:"GET"},f,d)};this.post=function(e,f,d,k){this.ajax({url:e,method:"POST"},d,k)};this.request=function(e,f,d){e=y(c,"gameInfo.gameId","preview")+e;this.ajax({url:c.getHostUrl(e),method:"GET"},f,d)};this.pureRequest=function(e,f,d){this.ajax({url:c.getHostUrl(e),method:"GET"},f,d)};this.ajax=function(e,f,d){f=f?f.bind(this):function(){}.bind(this);var k=new XMLHttpRequest,h=this.isFileUrl(e),n=h?null:this.serialize(e.data), b=this.getUrlFromData(e);k.open(e.method,b,!0);h?(k.responseType="arraybuffer",k.onload=this.onLoadFile.bind(this,f,k,d,h)):(k.setRequestHeader("Content-type","application/x-www-form-urlencoded"),k.onreadystatechange=this.readyStateChange.bind(this,f,k,d,h),k.onerror=e.error);k.send(n)};this.serialize=function(e){var f=[],d;for(d in e)e.hasOwnProperty(d)&&f.push(encodeURIComponent(d)+"="+encodeURIComponent(e[d]));return f.join("&")};this.onLoadFile=function(e,f,d,k){k&&e.call(null,this.getFileFromBinary(f), d,f)};this.readyStateChange=function(e,f,d,k){4===f.readyState&&200===f.status?k||e(f,d):4===f.readyState&&0e)return f}}function Na(c){this.isModalAllowed=function(){return!t&& !u&&!this.isShopifyOrderOrCheckoutPage()&&!(this.isFilteredByUrl()||this.isFilteredByDevice())};this.isShopifyOrderOrCheckoutPage=function(){var e=y(window.Shopify,"Checkout");return y(e,"isOrderStatusPage",!1)||!!y(e,"step",!1)};this.isFilteredByUrl=function(){var e=c.filtersByUrl,f=String(window.location.href.valueOf()).replace(window.location.origin+"/",""),d=f.split(/[?#]/)[0],k=-1,h=-1,n=!1,b="";e=e.filter(function(z){return!z.url.includes(".")});for(var l in e)if(e.hasOwnProperty(l)){var p= e[l];!/(http(s?)):\/\//i.test(p.url)&&(n||"1"!==p.type||(n=!0),b=p.url&&(-1f};this.isFilteredByDevice=function(){return this.excludedDevice("desktop")||this.excludedDevice("tablet")||this.excludedDevice("mobile")&&!("1"===c.allowedDevices.tablet&&"0"===c.allowedDevices.mobile&&c.clientDevice.mobile&&c.clientDevice.tablet)};this.excludedDevice=function(e){return"0"===c.allowedDevices[e]&&c.clientDevice[e]}} function bb(c,e){this.setFont=function(){e.font=e.font?e.font:"Inherit";e.fontFamily=e.fontFamily?e.fontFamily:"Inherit";e.font="inherit"!==e.font.toLowerCase()?e.font.replace(/%27/g,"'").replace(/%22/g,'"'):"Inherit";if(e.font&&"inherit"!==e.font.toLowerCase()){var f=e.font.replace(/(%27|')/g,'"').split('"');f.hasOwnProperty("1")?e.fontFamily=f[1].replace(/ /g,"+"):e.fontFamily=f[0]}e.fontImport=u?"@import url("+this.getFontUrl(e.fontFamily)+");":""};this.forceFontLoading=function(f){if(!e.fontFamily|| "inherit"===e.fontFamily.toLowerCase()||"times new roman"===e.fontFamily.toLowerCase()||"times+new+roman"===e.fontFamily.toLowerCase()||c.isFontDownloaded(e.fontFamily))f();else{var d=this.getFontUrl(e.fontFamily);(new ba(c)).ajax({remote:!0,url:d,method:"GET",error:f},function(k){c.fontsDownloaded.push(e.fontFamily);k=Ca(k.response);document.head.appendChild(k);document.fonts.ready.then(function(){setTimeout(f,100)})["catch"](f)}.bind(this))}};this.getFontUrl=function(f){return"Times+New+Roman"=== f||"Inherit"===f?"":"https://fonts.googleapis.com/css?family="+f+":300,400,500,600,700&display=swap"}}function xa(c){var e=new ba(c);this.getBackgroundUrl=function(f){f=W(f,"background");if(""===f)return!1;f=f.split('"');if(!f.hasOwnProperty("1"))return!1;f=f[1].split("?")[0];return-1");return"congratulation"===a.meta&&this.isSpecialShop("eagle-energy.myshopify.com")?"High Five":"slice"===a.className?decodeURI(g):g};this.changeTextFromBackend=function(a){return a.replace(/%22/g,"'").replace(/%27/g,'"').replace(/(\r\n|\n|\r)/gm,"
")};this.isSpecialShop=function(a){var g=document.querySelector('script[src*="'+a+'"]'); return g&&g.src?-1!==g.src.search(a):!1};this.preProcess=function(a){if(fa&&a.className&&-1ia(e)?(a.style.overflow="hidden",b.modalNode.style.height="auto"):600ia(e)?(b.modalNode.style.height="auto",this.sizeReelWrapper(-72)):this.sizeReelWrapper(-110))};this.sizeReelWrapper=function(a){if(!b.modalNode||"slot"!==b.gameType)return!1;var g=b.selectAll(".reel-wrapper"),m;for(m in g)g.hasOwnProperty(m)&&(g[m].style.top=a*m+"px")};this.initWheelGames= function(){"function"===typeof this.gameObject.init&&this.gameObject.init()};this.getDocumentHeight=function(){var a=document.body,g=document.documentElement;return Math.max(a.scrollHeight,a.offsetHeight,g.clientHeight,g.scrollHeight,g.offsetHeight)};this.showAdditionalObjects=function(){if(r.isShopifyOrderOrCheckoutPage())return!1;p=new S(b,this.closeModal.bind(this));p.initCountdownBar();z=new ea(b);z.initTrigger()};this.setDevEnv=function(){this.hasDevScript()&&(this.dev={$this:b,animationObject:l, gameObject:this.gameObject,barObject:p,triggerObject:z,svg:G})};this.dispatchUpdate=function(a){this.resetVisibility();switch(!0){case "screen"===a.target:this.moveScreenTo(a.value);break;case "svg"===a.target||"wheelLogo"===a.target||"fullwheelLogo"===a.target:this.changeSVG(a);break;case a.hasOwnProperty("move"):this.shakeElementHook(a);break;case "animation"===a.target:this.changeAnimation(a);break;case "opacity"===a.target:this.changeOpacity(a.value);break;case "emailCollect"===a.target:b.emailCollect= a.value;b.setBehavior("collectEmailFromUsers.yes",a.value?"1":"0");break;case "nameCollect"===a.target:b.nameCollect=a.value;b.setBehavior("collectNameFromUsers.yes",a.value?"1":"0");break;case "numberCollect"===a.target:b.numberCollect=a.value;b.setBehavior("collectNumberFromUsers.yes",a.value?"1":"0");break;case this.isElementShow(a):this.showElement(a);break;case "flow"===a.target:this.changeFlow(a);break;case this.isTextPath(a.target):this.handleTextPath(a);break;case "barTime"===a.target:p.setTime(b.select(".coupon-code-time"), a.value,"00");break;case this.rebuildStylesCondition(a):this.rebuildStyles(a);break;case this.emptyCases(a):break;default:this.rebuildModal(a)}"function"===typeof this.gameObject.hooksHandler&&this.gameObject.hooksHandler(a);this.stylesFrameInsert(a);this.regainTriggerListeners()};this.stylesFrameInsert=function(a){this.handleMobileAdminView("device"===a.target,"mobile"===a.value)};this.handleMobileAdminView=function(a,g){if(!a)return!1;if(!g){var m=document.head.querySelector("#add_styles");m&&m.remove(); return!1}m=Ca('div[class^="lucky-coupon-trigger"] {display: none!important;}'+((b.isShortSelector?"#lc"+b.siteId+".g"+b.gameId:"#lucky-coupon-"+b.siteId+".game-"+b.gameId)+" .reveal__wrapper .reveal__content{margin-top: 0!important;}"));m.id="add_styles";document.head.appendChild(m)};this.changeFlow=function(a){for(var g in h.flow)h.flow.hasOwnProperty(g)&&(h.flow[g]="0");h.flow[a.value]="1"};this.emptyCases=function(a){return"spinTheWheelLogo"===a.target||"spinTheWheelMobileLogo"===a.target||"spinthewheel"=== b.gameType&&"facebookRecart"===a.target||"spinthewheel"===b.gameType&&"gpdrCheckbox"===a.target||"reveal"===b.gameType&&"gpdrCheckbox"===a.target||"reveal"===b.gameType&&"revealLogo"===a.target||"reveal"===b.gameType&&"pattern"===a.target||"spinthewheel"===b.gameType&&a.target&&-1=m;m++)g.select("#linear-"+m+"-center").setStyle("stop-color",a),g.select("#linear-"+m+"-left").setStyle("stop-color",a),g.select("#linear-"+m+"-right").setStyle("stop-color",a)};this.getSVGCoupons=function(){return b.svg.get()? b.svg.select("#coupons").children():[]};this.getSVGBorder=function(){return b.svg.get()?b.svg.select("#outerCircle"):[]};this.changeSVGTextColor=function(a){var g=this.getSVGCoupons();g=$jscomp.makeIterator(g);for(var m=g.next();!m.done;m=g.next())this.changeTextColor(m.value,a)};this.changeSVGBorderColor=function(a){var g=this.getSVGBorder();if(0===g.length)return!1;g.setStyle("stroke",a)};this.changeTextColor=function(a,g){var m="#"+a.getAttr("id"),q=b.svg.selectParent(m+"curve1text");m=b.svg.selectParent(m+ "curve2text");q.setStyle("fill",g);m.setStyle("fill",g)};this.changeSlicesText=function(a){var g=1;a=$jscomp.makeIterator(a.coupon.bunch);for(var m=a.next();!m.done;m=a.next()){m=m.value;var q=this.isSpinTheWheelGames()?16:13;m=m.value.length a.length?[a,""]:la(a)};this.changeSliceScheme=function(a){if(void 0===b.svg.get()||null===b.svg.get())b.svg=document.getElementsByTagName("svg");a=$jscomp.makeIterator(a.schema);for(var g=a.next();!g.done;g=a.next())g=g.value,b.svg.select("#"+g.name).setAttr("fill",g.hex)};this.changeSvgLogo=function(a){b.svg.select("#gameLogo").setLink(a.file)};this.shakeElementHook=function(a){var g=[];this.getElementsDataText(a).map(function(m){(m=this.getHookElement(a,m))&&(g=g.concat(Array.from(m)))}.bind(this)); if(0===g.length)return!1;g.map(this.shakeHookedElement.bind(this))};this.getElementsDataText=function(a){return this.isCouponButton(a)?[a.target+".0",a.target+".1"]:[a.target]};this.isCouponButton=function(a){return"startScreen.button"===a.target&&"coupon"===b.gameType};this.getHookElement=function(a,g){if(!a.target)return!1;var m=-1 .lucky-coupon-trigger "+g).parentNode:b.selectAll(g)};this.rebuildStylesCondition=function(a){return a.hasOwnProperty("color")||"font"===a.target||"image"===a.target||"giftImage"===a.target||"revealLogo"===a.target||"borderColor"===a.target};this.rebuildStyles=function(a){var g=["color", "file","value"].find(function(q){return a.hasOwnProperty(q)}),m=a.target;g=a[g];k.hasOwnProperty(m)&&(k[m]=g,"font"===m&&x.setFont(),b.select("div > style").innerHTML=k.style(),setTimeout(function(){"button"===a.target?this.initButton():"borderColor"===a.target&&this.changeSVG(a)}.bind(this),40))};this.changeAnimation=function(a){var g=b.select(b.wrapperClass),m=-1!==a.value.indexOf("Right")?"right":a.value.indexOf("Left")?"left":!1;-1===g.parentNode.className.indexOf("lucky-coupon-center")&&m||(m= void 0);this.changeOtherAnimations(b.modalWrapperClass,g,a,m)};this.changeOpacity=function(a){if(this.isSpinTheWheelGames())return!1;var g=b.select(".custom-image");if(!g)return!1;g.style.opacity=a};this.isSwitchTrigger=function(a){return"trigger"===a.target&&"boolean"===typeof a.value};this.isElementShow=function(a){return this.isSwitchTrigger(a)||"email_field_visibility"===a.target&&!this.isSpinTheWheelGame()||"name_field_visibility"===a.target&&!this.isSpinTheWheelGame()||"number_field_visibility"=== a.target&&!this.isSpinTheWheelGame()||"facebookRecart"===a.target&&!this.isSpinTheWheelGame()||this.simpleEventTarget(a.target)};this.simpleEventTarget=function(a){return-1<"GPDR bar triggerPosition triggerType isCounterTimer counterTimerMinutes".split(" ").indexOf(a)};this.showElement=function(a){switch(a.target){case "trigger":this.showTrigger(a.value);break;case "GPDR":this.showCheckbox(a);break;case "email_field_visibility":this.showEmailField(a);break;case "facebookRecart":this.showFakeFacebook(a); break;case "name_field_visibility":this.showNameField(a);break;case "number_field_visibility":this.showNumberField(a);break;case "bar":this.showBarCounter(a);break;case "triggerPosition":this.changeTriggerPosition(a);break;case "triggerType":this.changeTriggerType(a);break;case "isCounterTimer":this.onOffCounterTimer(a);break;case "counterTimerMinutes":this.updateCounterTimer(a)}};this.changeTriggerPosition=function(a){var g=a.value.split("-"),m=g[0],q=this.getPositionName("left"!==m);m=this.getPositionName("left"=== m);this.changePosition(b.triggerNodeSide,"side-"+q,"side-"+m);this.changePosition(b.triggerNodeBottom,"bottom-"+q,"bottom-"+m);h.triggerSetting.triggerBottomTextPosition=g[1]?"1":"0";this.triggerPositionSwitch(m,q);b.triggerNodeSimple.className=this.getSimpleNodeCLassName(a.value)};this.getSimpleNodeCLassName=function(a){var g="";"1"===h.triggerSetting.triggerType.simpleTextButton&&-1===a.indexOf("bottom")&&(g="1"===h.triggerSetting.triggerBottomTextPosition?"bottom-":"");return"lucky-coupon-trigger-simple lucky-coupon-trigger-simple-"+ a+g+" dashboard"};this.getPositionName=function(a){return a?"left":"right"};this.triggerPositionSwitch=function(a,g){h.triggerSetting.triggerPosition[a]="1";h.triggerSetting.triggerPosition[g]="0"};this.changePosition=function(a,g,m){L(a," lucky-coupon-trigger-"+g);I(a," lucky-coupon-trigger-"+m)};this.changeTriggerType=function(a){var g="simpleTrigger"===a.value;a="bottomTrigger"===a.value;this.setTriggerType("simpleTextButton",g?"1":"0");this.setTriggerType("bottomTriggerWithCounter",a?"1":"0"); b.currentTrigger=Da(h);if(b.showTrigger||"1"==h.showPlayGameTrigger.yes)this.changeTriggerVisibility(b.triggerNodeSimple,g),g?(I(b.triggerNodeSimple," dashboard"),L(b.triggerNodeSimple," invisible")):(L(b.triggerNodeSimple," dashboard"),I(b.triggerNodeSimple," invisible")),this.changeTriggerVisibility(b.triggerNodeBottom,a),this.changeTriggerVisibility(b.triggerNodeSide,!a&&!g)};this.setTriggerType=function(a,g){h.triggerSetting.triggerType[a]=g};this.changeTriggerVisibility=function(a,g){a.style.zIndex= "2147483648";a.style.display=g?"block":"none"};this.onOffCounterTimer=function(a){var g=b.triggerNodeBottom.querySelector(".trigger-timer-content"),m=this.getTriggerBottomTimer();ca(g,a.value?"block":"none");m.innerHTML=this.getTimeTemplate(b.isCounterTimerStart)};this.getTriggerBottomTimer=function(){return b.triggerNodeBottom.querySelector(".trigger-bottom-timer")};this.updateCounterTimer=function(a){var g=this.getTriggerBottomTimer();a=this.getCounterEventValue(a.value);g.innerHTML=this.getTimeTemplate(a)}; this.getCounterEventValue=function(a){return 0<=a?(10>a?"0":"")+a:"00"};this.getTimeTemplate=function(a){return""+a+":00"};this.showTrigger=function(a){z.hide();var g=this.getTriggerNode();this.changeTriggerState(a);this.showTriggerNode(a,g)};this.changeTriggerState=function(a){b.showTrigger=a;h.showPlayGameTrigger.yes=a?"0":"1";h.showPlayGameTrigger.no=a?"1":"0"};this.showTriggerNode=function(a,g){var m=this.getTriggerSide();m=this.getTriggerPartClass(m);g.style.zIndex= "2147483648";g.style.display=a?"block":"none";this.setTriggerSide(g,m);I(g," dashboard")};this.getTriggerSide=function(){if(this.isBottomTrigger())return"bottom";if(this.isSideTrigger())return"side";if(this.isSimpleTrigger())return"simple"};this.getTriggerPartClass=function(a){return 1==h.triggerSetting.triggerPosition.right?a+"-right":a+"-left"};this.getTriggerNode=function(){if(this.isBottomTrigger())return b.triggerNodeBottom;if(this.isSideTrigger())return b.triggerNodeSide;if(this.isSimpleTrigger())return b.triggerNodeSimple}; this.isBottomTrigger=function(){return"1"===y(h,"triggerSetting.triggerType.bottomTriggerWithCounter","0")};this.isSideTrigger=function(){return"1"!==y(h,"triggerSetting.triggerType.simpleTextButton","0")&&"1"!==y(h,"triggerSetting.triggerType.bottomTriggerWithCounter","0")};this.isSimpleTrigger=function(){return"1"===y(h,"triggerSetting.triggerType.simpleTextButton","0")};this.setTriggerSide=function(a,g){oa(a,"lucky-coupon-trigger-"+g)||I(a," lucky-coupon-trigger-"+g)};this.changeSidesAnimations= function(a,g,m,q){g.style.display="none";"None"!==m.value&&setTimeout(function(){L(g," animate-in");var C=" animate-"+q+"-out";I(g,C);g.style.display="block";setTimeout(function(){L(g,C);I(g," animate-in")}.bind(this),300)}.bind(this),100)};this.changeOtherAnimations=function(a,g,m){"None"!==m.value&&(a+=" animated "+m.value);g.className=a};this.rebuildModal=function(a){this.rebuildEvents(a,this.getInitHandler())};this.getInitHandler=function(){if(!b.isEmptyModal())return function(){};this.destroy(); return this.initObject.bind(this,b,E)};this.rebuildEvents=function(a,g){this.changeModalPosition(a);this.setTriggerVisibility(a);this.changeModalContent(a);g();this.changeViewVariables(a)};this.showCheckbox=function(a){if("GPDR"!==a.target)return!1;h.makeGPDRCompliance=a.value;b.checkBehavior=a.value;var g=b.select(".checkbox-wrapper"),m=b.select("div[data-name=note]");g&&(a.value?N(g):D(g));m&&(a.value?D(m):N(m))};this.showEmailField=function(a){var g=b.select(".lucky-coupon-"+k.position);"show"=== a.value?((a=b.select(".lucky-coupon-popup-inner.start-text .small-text"))&&(a.style.visibility="visible"),(a=b.select(".lucky-coupon-popup-inner .input-wrapper"))&&(a.style.visibility="visible"),N(b.select(".reveal__field")),L(g,"no-emails"),L(g," ")):(pa(b.select(".lucky-coupon-popup-inner.start-text .small-text")),pa(b.select(".lucky-coupon-popup-inner .input-wrapper")),D(b.select(".reveal__field")),oa(g,"no-emails")||I(g," no-emails"))};this.showFakeFacebook=function(a){b.isRecartEnabled=a.value; var g=b.select(".fake-fecebook-form"),m=b.select(this.isSpinTheWheelGame()?'input[data-text="startScreen.email"]':".email-input");if(!g||this.isSpinTheWheelGame())return!1;this.handleFakeFacebookRegularGames(a,g,m)};this.handleFakeFacebookRegularGames=function(a,g,m){a.value?(N(g),N(g.parentNode),D(m)):(D(g),D(g.parentNode),N(m,!0))};this.showNameField=function(a){this.showAdditionInput(a,".username-input")};this.showNumberField=function(a){this.showAdditionInput(a,".number-input")};this.showAdditionInput= function(a,g){var m=b.select(".input-wrapper .email-input"),q=b.select(".input-wrapper "+g);"show"===a.value?(D(b.select(".input-wrapper .username-input")),D(b.select(".input-wrapper .number-input")),N(q,"inline-block"),I(m," name-case")):(D(q),L(m," name-case"))};this.showBarCounter=function(a){var g=b.select(".lucky-coupon-bar"),m=b.select(".lucky-coupon-bar #copy-coupon");m?m.value="{COUPON_CODE}":!1;y(a,"value",!1)?N(g):D(g)};this.changeModalPosition=function(a){"position"===a.target&&(k.position= a.value)};this.setTriggerVisibility=function(a){h.triggerSetting.triggerType.bottomTriggerWithCounter="0";h.triggerSetting.triggerType.simpleTextButton="0";"textTrigger"===a.target?h.triggerSetting.triggerType.simpleTextButton="1":"newTrigger"===a.target&&(h.triggerSetting.triggerType.bottomTriggerWithCounter="1")};this.changeModalContent=function(a){d.content=this.getModalContent(d.content,a)};this.changeModalContentHigherObject=function(a){window.top._lkda["game_"+b.gameId].modal.modalContent.content= this.getModalContent(window.top._lkda["game_"+b.gameId].modal.modalContent.content,a)};this.changeViewVariables=function(a){if(!a||"device"!==a.target)return!1;var g="desktop"===a.value;setTimeout(function(){this.initGiftVariables(g);this.addMobileClasses(g);this.gameObject.hasOwnProperty("showFormInAdmin")&&this.gameObject.showFormInAdmin()}.bind(this),5)};this.addMobileClasses=function(a){var g=b.select(".game-editor");a?L(g," mobile scale"):I(g," mobile scale")};this.initGiftVariables=function(a){this.gameObject.hasOwnProperty("initDeviceVariables")&& this.gameObject.initDeviceVariables(a)};this.destroy=function(){e.body.innerHTML="";b.modalNode={}};this.getModalContent=function(a,g){return this.iterateElements(a,this.getContent.bind(this),g)};this.getContent=function(a,g,m){var q=a[g],C=q.meta;"coupons"===C&&"coupon"===m.target?"coupon"===b.gameType?q.content=this.iterateElements(q.content,this.gameObject.getCoupon.bind(this.gameObject),m):"slot"===b.gameType&&(a=this.iterateElements(q.content[0].content[0].content[0].content,this.gameObject.getCoupon.bind(this.gameObject), m),q.content[0].content[1].content[0].content=a,q.content[0].content[2].content[0].content=a):this.isTextChangeEvent(q,m)?q=this.changeElementText(m,C,q):this.isRecursive(q)&&(q.content=this.getModalContent(a[g].content,m));return q};this.isTextChangeEvent=function(a,g){return y(a,"data.text","")===g.target&&"boolean"!==typeof g.value};this.isRecursive=function(a){return a.content&&"meta"!==a.tagName&&"string"!==typeof a.content};this.initObject=function(a,g){"undefined"===typeof b.modalNode.tagName&& this.init(a,g)};this.changeElementText=function(a,g,m){g=Ea(g)||Ea(y(m,"data.name"))?"placeholder":"textNode";this.isSpinTheWheelGames()&&m.dataset&&-1<"startScreen.disclaimer startScreen.gdprComplience emailScreen.gdprComplience startScreen.note winScreen.note startScreen.gdpr startScreen.gpdr".split(" ").indexOf(m.dataset.text)?(m.textNode="",m.innerHTML=a.value):m[g]=a.value;return m};this.iterateElements=function(a,g,m){var q={},C;for(C in a)a.hasOwnProperty(C)&&(q[C]=g(a,C,m,this));return q}; this.initEvents=function(){var a=b.select(".email-input"),g=b.select(".btn-push.red"),m=b.selectAll(this.getContinueSelector()),q=b.select(".prize-list"),C=b.select(".game-area"),P="#woohoo-trigger-"+b.gameType,da=e.querySelectorAll(P);P=e.querySelector(P+".woohoo-"+b.gameInfo.gameId);g&&g.tagName&&g.addEventListener("click",this.submit.bind(this));a&&a.addEventListener("keypress",this.submitOnEnter.bind(this));b.modalNode.addEventListener("click",this.closeModal.bind(this));if(0=event.keyCode){var q=[].concat($jscomp.arrayFromIterable(b.selectAll(".options-wrapper div[data-code]"))).filter(function(C){return 0=== C.innerHTML.search(new RegExp(m.key,"i"))});q[0]&&(b.select(".options-wrapper").scrollTop=q[0].offsetTop)}};window.addEventListener("keydown",g);b.select(".options-wrapper").addEventListener("click",function(m){window.removeEventListener("keydown",g)})})};this.getContinueSelector=function(){switch(b.gameType){case "spinthewheel":return'[data-text="winScreen.button"]';case "reveal":return'[data-text="winScreen.applyCouponCode"]';default:return".continue-btn"}};this.addSpinTheWheelListeners=function(){if(!this.isSpinTheWheelGames())return!1; this.gameObject.initEvents(this.submit.bind(this),this.shakeValidate.bind(this),this.send.bind(this),this.sendGamePlayedStatistic.bind(this),p.continueUseDiscount.bind(p,this),this.closeAnimatedModal.bind(this,!0),this.finishSpinTheWheel.bind(this))};this.addRevealListeners=function(){if(!this.isRevealGame())return!1;this.gameObject.initEvents()};this.addTriggerListeners=function(){var a=e.querySelector("body > .lucky-coupon-trigger-side .close"),g=e.querySelector("body > .lucky-coupon-trigger-bottom .close"), m=e.querySelector("body > .lucky-coupon-trigger-simple .close");this.addTriggerListener(b.triggerNodeSide);this.addTriggerListener(b.triggerNodeBottom);this.addTriggerListener(b.triggerNodeSimple);this.addTriggerCloseListener({triggerClose:a});this.addTriggerCloseListener({triggerCloseBottom:g});this.addTriggerCloseListener({triggerCloseSimple:m})};this.addTriggerListener=function(a){if(!(a&&a.className&&b.showTrigger))return!1;a.addEventListener("click",this.getTriggerHanlder())};this.addTriggerCloseListener= function(a){var g=Object.keys(a)[0];if(!a[g])return!1;a[g].addEventListener("click",this[g].bind(this))};this.getTriggerHanlder=function(){return t&&Ba()?b.previewTrigger.executor:this.triggerShowModal.bind(this)};this.applyCodeToShopify=function(){var a=p.getBar();a=null!=a?a.querySelector('[data-text="bar.copyCode"]'):{};B.applyDiscount(a,b.couponCode||va(b.gameInfo))};this.triggerShowModal=function(a){if(-1<["inner","close","close side-trigger-close-left"].indexOf(a.target.className))return!1; this.setTriggerClickedFlag();this.showGame(k.animation,b.gameInfo)};this.triggerClose=function(a){this.closeTrigger(a.target.closest(".lucky-coupon-trigger-side"))};this.triggerCloseBottom=function(a){this.closeTrigger(a.target.closest(".lucky-coupon-trigger-bottom"))};this.triggerCloseSimple=function(a){this.closeTrigger(a.target.closest(".lucky-coupon-trigger-simple"))};this.closeTrigger=function(a){var g=b.cookieExpirationDays;Y(T(b.gameInfo)+"TriggerClosedFlag",1,g);D(a)};this.addLaunchListeners= function(a){for(var g in a){var m=a[g];this.isSetupable(m)&&(m.dataset.click="bind",m.addEventListener("click",this.userLaunchGame.bind(this)))}};this.isSetupable=function(a){return a&&a.tagName&&!oa(a,"woohoo-")&&"undefined"===typeof a.dataset.click};this.initButton=function(){var a=0,g=setInterval(function(){a++;if(500m?0:255;m=0>m?-1*m:m;var P=parseInt(q[0].slice(4)),da=parseInt(q[1]);q=parseInt(q[2]);C="rgb("+(Math.round((C-P)*m)+P)+","+(Math.round((C-da)*m)+da)+","+(Math.round((C-q)*m)+q)+")";q=this.getBoxShadowValue(C);g.style.borderColor=C;g.style.webkitAppearance="none";this.setBoxShadowStyles(g,q)};this.getPercent=function(){switch(b.gameType){case "gift":return-.4; default:return-.2}};this.setBoxShadowStyles=function(a,g){var m=["oBoxShadow","mozBoxShadow","msBoxShadow","webkitBoxShadow","boxShadow"],q;for(q in m)a.style[m[q]]=g};this.getBoxShadowValue=function(a){return"inset 0px "+this.getPixelSize()+"px 0px "+a};this.getPixelSize=function(){switch(b.gameType){case "wheel":case "fullwheel":case "":case "gift":return"-2";default:return"-5"}};this.showLastPageFromFirst=function(){var a=b.select(".start-text");I(a," hide");this.drawFinishScene()};this.resizeWrapper= function(){b.modalNode.style&&(600>ia(e)?b.modalNode.style.height="100vh":this.isSpinTheWheelGames()||(b.modalNode.style.height=this.getDocumentHeight()+"px"));this.sizeSlotGame();this.setAdminMobile()};this.setAdminMobile=function(){Ma=600>ia(e)};this.isDashboardEnv=function(a){return!u&&(!!a.id&&-1!==b.modalSelector.indexOf(a.id)||this.checkWheelWrappers(a))};this.checkWheelWrappers=function(a){var g=a.parentNode;if(a&&g&&"string"===typeof g.className&&-1q.value.length:!m}m&&!(m=!b.numberCollect)&&(m=b.numberCollect,a= a.phoneInputValue.value,m=m?a&&Fa(a):!m);return m&&this.subscribeCheck(g)};this.getGDPRSelector=function(){switch(!0){case this.isSpinTheWheelGames():return".wheel-form.email .small-info-wrapper.gdpr-wrapper input";case this.isRevealGame():return".gdpr-wrapper input#gdpr";default:return".checkbox-container input"}};this.isErrorNameInput=function(a){return b.nameCollect?a&&2a.value.length:!b.numberCollect};this.isErrorNumberInput=function(a){return b.numberCollect?a&&Fa(a):!b.nameCollect}; this.shakeValidate=function(a){var g=this.getInputFromSelectors();this.clearErrors(a);if(this.validateSpinTheWheelFields(g))return this.hideCheckbox(),!0;setTimeout(this.setErrors.bind(this,a),20);return b.gameButtonPushed=!1};this.sendReal=function(a){var g=this.getInputFromSelectors();this.clearErrors(a);this.validate(g)?(this.hideCheckbox(),this.sendGamePlayedStatistic(g,this.afterSendGamePlayed(g.emailInput,a))):(this.setErrors(a),b.gameButtonPushed=!1)};this.afterSendGamePlayed=function(a,g){return function(m){var q= JSON.parse(m.response);"object"===typeof q.subscriber_email?this.handleErrorCase(a,q,g):this.startGame(m,g)}.bind(this)};this.getInputFromSelectors=function(){var a={},g=this.getInputSelectors();Object.entries(g).map(function(m){a[m[0]]=b.select(m[1])});return a};this.getInputSelectors=function(){return this.isSpinTheWheelGames()||this.isRevealGame()?this.gameObject.getInputSelectors():{emailInput:".email-input",usernameInput:".username-input",phoneInputValue:".number-input"}};this.clearErrors=function(a){this.isSpinTheWheelGames()|| this.isRevealGame()?this.gameObject.clearErrors(a):this.clearErrorsCommonTemplate(a)};this.clearErrorsCommonTemplate=function(a){var g=a.querySelector("."+b.errorTextClass),m=g.parentNode,q=a.querySelector((b.isRecartEnabled&&b.isRecartLoaded?"+ ":"")+"span"),C=a.querySelector(".email-input"),P=a.querySelector(".username-input");a=a.querySelector(".number-input");var da=b.select(".checkbox-wrapper");q.style.display="none";m.style.display="none";g.innerHTML="";L(P," animated shake");L(C," animated shake"); L(a," animated shake");L(da," animated shake");L(b.select(".checkbox-container span")," error")};this.hideCheckbox=function(){if("gift"!==b.gameType){var a=b.select(".checkbox-wrapper");D(a)}};this.setErrors=function(a){a=this.getInputFromSelectors();var g=b.select(this.getGDPRSelector()),m=b.select(this.getGDPRContainerSelector()).parentNode;g=g&&g.checked;ta(a.emailInput.value)||this.shakeElement(a.emailInput);this.checkStringInput(a.usernameInput);this.checkNumberInput(a.phoneInputValue);"1"!== b.checkBehavior||g||(this.shakeElement(m),I(b.select(".checkbox-container span")," error"))};this.getGDPRContainerSelector=function(){switch(!0){case this.isSpinTheWheelGames():return".wheel-form.email .small-info-wrapper.gdpr-wrapper .small-info";case this.isRevealGame():return"#gdpr";default:return".checkbox-container"}};this.checkStringInput=function(a){a&&(3>a.value.length||50 (this.isSpinTheWheelGame()?1:2))return N(a,!0),!1;D(a)};this.recartGiftCase=function(){"gift"===b.gameInfo.type&&I(b.select(".lucky-coupon-popup")," lucky-coupon-messenger")};this.getRecartEmailSelector=function(){return this.isSpinTheWheelGame()?'input[data-text="startScreen.email"]':".email-input"};this.recartActions=function(a){if(this.isWoohooNotAvailable(a))return!1;!0===a.widget.isCheckboxChecked?b.isRecartChecked=!0:(a=this.isSpinTheWheelGame()?".recart-messenger-widget":".input-wrapper",l.animateBySelector("shake", a))};this.isWoohooNotAvailable=function(a){return a.widget&&"woohoo"!==a.widget.type};this.setFrequencyBehavior=function(){if(!h.frequency)return!1;var a=h.frequency,g=this.getSelectedCondition(a,"");this.isGameAvailableAndShowed(a[g])&&(E.deleteShowFlagCookie(),E.deleteTimestampCookie());this.isEveryPageGame(g,a)?this.setModalNotShowedFlag():this.notMoreThanOnceEveryTime(g,a)&&this.setModalShowedFlag()};this.isGameAvailableAndShowed=function(a){return this.isAvailableCondition(a)&&1===this.getModalShowedFlag()}; this.isAvailableCondition=function(a){return this.isAvailableToShow(this.getTimestamp(b.gameInfo),a)};this.isEveryPageGame=function(a,g){return("onEveryPageView"===a&&"1"===g[a]||"undefined"===typeof a)&&0===Va};this.notMoreThanOnceEveryTime=function(a,g){return"notMoreThanOnceEveryNumberTimePerUser"===a&&this.isChecked(g[a])&&!this.isAvailableToShow(this.getTimestamp(b.gameInfo),g[a])};this.isAvailableToShow=function(a,g){var m=Math.round((new Date).getTime()/1E3),q=this.getSelectedPeriod(g.time); return m-a>q*parseInt(g.number)};this.getSelectedPeriod=function(a){var g=this.getSeconds(),m;for(m in a)if("1"===a[m])return g[m]};this.getSeconds=function(){var a={day:86400};a.week=7*a.day;a.month=4*a.week;return a};this.setStopDisplayBehavior=function(){var a=y(h,"stopToDisplayTheGame"),g=this.getSelectedCondition(a,"");this.stopDisplayBySpecialConditions(g,a)&&(this.afterShowingItNumberTimesToTheUser(y(a,"underTheFollowingConditions.afterShowingItNumberTimesToTheUser")),this.userPerformTheAction(y(a, "underTheFollowingConditions.afterTheUserPerformsTheAction")))};this.afterShowingItNumberTimesToTheUser=function(a){!this.isChecked(a)||this.getNumber(y(a,"number",0))>this.getShowCounter(b.gameInfo)||this.setModalShowedFlag()};this.iSshowItNumberTimesToUser=function(){var a=y(h,"stopToDisplayTheGame.underTheFollowingConditions.afterShowingItNumberTimesToTheUser");return this.isChecked(a)&&!(this.getNumber(y(a,"number",0))<=this.getShowCounter(b.gameInfo))&&"1"===E.getPageLoaded()};this.isUserPerformTheAction= function(){var a=y(h,"stopToDisplayTheGame.underTheFollowingConditions.afterTheUserPerformsTheAction");return"0"===a||"1"===a&&1!==this.getGamePlayedState()};this.isNotMoreThanOnce=function(){var a=y(h,"frequency.notMoreThanOnceEveryNumberTimePerUser");return"0"===a.value||"1"===a.value&&this.isAvailableToShow(this.getTimestamp(b.gameInfo),a)};this.userPerformTheAction=function(a){"1"===a&&1===this.getGamePlayedState()&&this.setModalShowedFlag()};this.getGamePlayedState=function(){return this.getNumber(Z(ma(b.gameInfo)), 0)};this.stopDisplayBySpecialConditions=function(a,g){return!this.isCheckedNever(a,g)&&"underTheFollowingConditions"===a};this.isCheckedNever=function(a,g){return"Never"===a&&g&&"1"===g[a]||"undefined"===typeof a};this.showModal=function(a){this.reDrawModal();l.isShownModal()||(!t&&2>this.getShowCounter(b.gameInfo)&&this.sendShowStatistic(),this.animateShow(a))};this.animateShow=function(a){this.displayModal();setTimeout(this.animateModal.bind(this,a),100)};this.displayModal=function(){b.modalNode.style.display= "block";e.body.style.overflowX="hidden";this.changeCouponsHeight();this.changeDocumentHeight()};this.changeCouponsHeight=function(){if(!this.isNotWheelGame())return!1;var a=b.selectAll(".lucky-coupon-popup-inner.coupon-wrapper"),g;for(g in a)a.hasOwnProperty(g)&&"length"!==g&&(a[g].style.height="auto")};this.changeDocumentHeight=function(){if(664this.getShowCounter(b.gameInfo)&&this.sendShowStatistic()};this.changeStyles=function(){this.clearModalNodeStyles();this.setModalWrapperStyles();this.clearPositionGameDiv()};this.clearModalNodeStyles=function(){for(var a=$jscomp.makeIterator("position top bottom z-index width height background-color".split(" ")),g=a.next();!g.done;g=a.next())b.modalNode.style[g.value]=""};this.setModalWrapperStyles=function(){var a=b.modalNode;a.style.width=W(b.select(".lucky-coupon-popup"), "width")+"px";a.style.position="relative";a.style.overflow="hidden";a.style.margin="auto"};this.clearPositionGameDiv=function(){var a=b.select(b.positionClass);a.style.left="0";a.style.top="0";a.style["-webkit-transform"]="none";a.style.transform="none";a.style.position="relative";a.querySelector(".lucky-coupon-popup").style["box-shadow"]="none"};this.isGameShowed=function(){return 1===this.getModalShowedFlag()};this.leaveSiteAddEventListener=function(a,g){fa?this.mobileLeaveEvent(a,g):this.desktopLeaveEvent(a, g)};this.desktopLeaveEvent=function(a,g){e.body.addEventListener("mouseleave",function(m){this.isTopDirection(m)&&!this.isGameShowed()&&this.showGame(a,g)}.bind(this))};this.mobileLeaveEvent=function(a,g){this.backButtonIntentExit(a,g);this.tabsChangeIntentExit(a,g)};this.backButtonIntentExit=function(a,g){location.hash="#!";window.addEventListener("hashchange",function(m){m=m.oldURL&&"undefined"!==typeof m.oldURL?m.oldURL.split("#")[1]:!1;this.isGameShowed()||"!"!==m||this.showGame(a,g)}.bind(this))}; this.tabsChangeIntentExit=function(a,g){c.addEventListener("blur",function(m){this.isGameShowed()||this.showGame(a,g)}.bind(this))};this.isTopDirection=function(a){return 0>=a.clientY};this.isChecked=function(a){return a?a.hasOwnProperty("value")?"1"===a.value:!1:!1};this.getNumber=function(a,g){return isNaN(a)||""===a?g:parseFloat(a)};this.showWhenReaches=function(a,g,m){this.isAheadOfPercents(a)&&!this.isGameShowed()&&this.showGame(g,m)};this.isAheadOfPercents=function(a){return c.innerHeight+c.scrollY>= this.getDocumentHeight()/100*a};this.userLaunchGame=function(){b.isUserOpened=!0;b.showBar=!1;this.showGame(k.animation,b.gameInfo)};this.showGame=function(a,g){l.isShownModal()||!r.isModalAllowed()&&!t||(this.hideTrigger(),this.addToShowCounter(g),this.showModal(a),clearTimeout(b.modalTimerId))};this.hideTrigger=function(){var a=b.triggerNodeSide;a&&(a.style.opacity="0");(a=b.triggerNodeBottom)&&(a.style.opacity="0");(a=b.triggerNodeSimple)&&(a.style.opacity="0")};this.addToShowCounter=function(a){a= this.getShowCounter(a);this.setShowCounter(a+1);this.setModalShowedFlag()};this.getShowCounter=function(a){a=Z(T(a)+"Showed");return isNaN(a)||""===a?0:parseInt(a)};this.setShowCounter=function(a){Y(T(b.gameInfo)+"Showed",a,b.cookieExpirationDays);a=Math.round((new Date).getTime()/1E3);this.setTimestamp(b.gameInfo,a)};this.getModalShowedFlag=function(){return this.getNumber(Z(T(b.gameInfo)+"ShowFlag"),0)};this.setModalShowedFlag=function(){Y(T(b.gameInfo)+"ShowFlag",1,b.cookieExpirationDays)};this.setTriggerClickedFlag= function(){Y(T(b.gameInfo)+"TriggerClickFlag",1,b.cookieExpirationDays)};this.setModalNotShowedFlag=function(){Y(T(b.gameInfo)+"ShowFlag",0,b.cookieExpirationDays)};this.setTimestamp=function(a,g){0===this.getTimestamp(a)&&Y(T(a)+"Timestamp",g,b.cookieExpirationDays)};this.getTimestamp=function(a){return this.getNumber(Z(T(a)+"Timestamp"),0)};this.valueSelected=function(a){return"1"===a||"1"===a.value};this.getProperty=function(a,g){var m,q=a[g];this.valueSelected(q)?m=g:"object"===typeof q&&(m=this.getSelectedCondition(q, g));return m};this.getSelectedCondition=function(a,g){var m;for(m in a){var q=this.getProperty(a,m,g);if(""!==g&&q)return g;if(q)return q}};this.detectDevice=function(){return navigator.userAgent.match(/Android/i)||navigator.userAgent.match(/webOS/i)||navigator.userAgent.match(/iPhone/i)||navigator.userAgent.match(/iPad/i)||navigator.userAgent.match(/iPod/i)||navigator.userAgent.match(/BlackBerry/i)||navigator.userAgent.match(/Windows Phone/i)};this.sendShowStatistic=function(){var a=this.detectDevice()? "mobile":"pc";this.ajax({url:"/api/v1/game/add/impression",method:"POST",data:{id:b.gameId,site_id:b.siteId,device_type:a}})};this.sendGamePlayedStatistic=function(a,g){var m=y(a.emailInput,"value",null),q=y(a.usernameInput,"value",null),C=this.getSubscriberNumber(a.phoneInputValue),P=this.detectDevice()?"mobile":"pc";P={url:"/api/v1/game/add/hit",method:"POST",data:{id:b.gameId,site_id:b.siteId,subscriber_email:m,subscriber_name:q,subscriber_number:C,device_type:P,_token:b.token}};b.sendedEmail= m;b.sendedName=q;b.sendedNumber=b.numberCollect?C:"non-collect-option-on";if(!b.emailCollect||b.isRecartEnabled&&b.isRecartChecked)P.data.subscriber_email="non-collect-option-on",b.sendedEmail="non-collect-option-on";this.ajax(P,g)};this.getSubscriberNumber=function(a){return a&&a.value?this.getPhoneCountryCode()+this.getPhone(a.value):"string"===typeof a?a:""};this.getPhone=function(a){return y(a.replace(/[- ]/g,"").match(/\b0*([1-9][0-9]*|0)\b/),"1","")};this.getPhoneCountryCode=function(){var a= y(b.select(".country-code[data-chosen]"),"innerHTML","");return a?a:""};this.getCode=function(a,g){this.ajax({url:"/api/v1/coupon/code",method:"POST",data:a},g)};this.ajax=function(a,g,m){if(!this.checkOverload(a.url)){m="undefined"===typeof m;g=g?g.bind(this):function(){}.bind(this);var q=new XMLHttpRequest,C=this.serialize(a.data);q.open(a.method,(m?"//"+b.hostName:"")+a.url,!0);-1m)return b.gameButtonPushed=!1,!0;this.tempRequestBag[a]=g;return!1};this.serialize=function(a){var g=[],m;for(m in a)a.hasOwnProperty(m)&&g.push(encodeURIComponent(m)+"="+encodeURIComponent(a[m]));return g.join("&")}}function za(c){var e=T(c.gameInfo);this.cookiesList="Showed Timestamp BarClosed TriggerClosedFlag TriggerClosedFlag ShowFlag Played Code CountDownShowed ResetCookie CounterTimer TriggerClickFlag PageLoaded".split(" "); this.cookieNames=[];this.init=function(){this.setCookieNames();this.checkReset()&&(this.clearCookies(),this.setResetCookie(c.resetCookie))};this.setCookieNames=function(){for(var f in this.cookiesList)this.cookiesList.hasOwnProperty(f)&&this.cookieNames.push(this.getCookieName(f))};this.getCookieName=function(f){return e+this.cookiesList[f]};this.checkReset=function(){return c.resetCookie>this.getResetCookie()};this.getResetCookie=function(){var f=parseInt(Z(this.getResetCookieName()));return isNaN(f)? 0:f};this.getResetCookieName=function(){return this.cookieNames[9]};this.clearCookies=function(){for(var f in this.cookieNames)this.isResetCookieName(f)&&this.deleteCookie(this.cookieNames[f])};this.isResetCookieName=function(f){return!this.cookieNames.hasOwnProperty(f)||-1===this.cookieNames[f].indexOf(this.getResetCookieName())};this.deleteCookie=function(f){Y(f,null,-1)};this.setResetCookie=function(f){Y(this.getResetCookieName(),f,c.cookieExpirationDays)};this.deleteTimestampCookie=function(){this.deleteCookie(this.cookieNames[1])}; this.deleteShowFlagCookie=function(){this.deleteCookie(this.cookieNames[5])};this.setPageLoaded=function(f){Y(this.cookieNames[12],f)};this.getPageLoaded=function(){return Z(this.cookieNames[12])};this.setCookieGamePlayed=function(){Y(ma(c.gameInfo),1,c.cookieExpirationDays)}}function mb(c,e,f,d){return function(){try{return c.apply(this,arguments)}catch(h){if(h&&!Wa)if(f||d)-1()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(c)}function Fa(c){return/^([0-9]{4,25})$/.test(c)} function Ba(){return u&&"undefined"!==typeof DETAIL_PAGE&&DETAIL_PAGE}function qa(){var c="iPad Simulator;iPhone Simulator;iPod Simulator;iPad;iPhone;iPod".split(";");if(navigator.platform)for(;c.length;)if(navigator.platform===c.pop())return!0;return!1}function $a(){var c=navigator.userAgent.toLowerCase();return-1!==c.indexOf("safari")&&-1===c.indexOf("chrome")}function la(c,e){var f=c.split(" ").filter(Boolean),d="",k="",h=f.map(function(b,l){if((d+b).length<=(e?e:13)){if(d+=b+" ",l===f.length- 1)return k=d,d="",k}else return k=d,d=b+" ",k.trim()});h=h.filter(Boolean);var n=y(h,"1","");h[1]=n?n+" "+d:d;return h}function ya(c){var e=document.createElement("div");e.appendChild(c);return e.innerHTML}function na(c,e){var f=Math.pow(10,Ya(c,e));return(c*f+e*f)/f}function Ya(c,e){var f=Za(c),d=Za(e);return f>d?f:d}function Oa(c,e){var f=Math.pow(10,Ya(c,e));return(c*f-e*f)/f}function Za(c){c=c.toString().split(".");return c.hasOwnProperty("1")?c[1].length:0}function ib(c){var e=y(c,"frequency.notMoreThanOnceEveryNumberTimePerUser"); if("1"===y(e,"value","0")){c=y(e,"number",1);a:switch(y(e,"time","day")){case "month":e=30;break a;case "week":e=7;break a;default:case "day":e=1}c*=e}else c=365;return c}function Qa(c,e){void 0===e&&(e="s");return c.replace(new RegExp("^["+e+"]+"),"")}function Pa(c,e){void 0===e&&(e="s");return c.replace(new RegExp("["+e+"]+$"),"")}function Ga(c){c=w.body.querySelector('script[src^="//'+c+'/js/runtime.dev.js"]');return!(!c||!c.tagName)}function ra(c){c="undefined"!==typeof c?c:!1;var e=this.select(".loader"); e?e.remove():!1;if(c)return!1;c=w.createElement("div");c.className="loader";c.innerHTML=''; this.modalNode.appendChild(c)}function Ha(c){var e="",f;for(f in c)if(Object.hasOwnProperty.call(c,f))for(var d=$jscomp.makeIterator(c[f]),k=d.next();!k.done;k=d.next())e+=k.value+"
";return e}var ab=function(){function c(r,B){switch(B.format){case "hsvArray":return r;case "hslArray":return l(r);case "hsl":var x=l(r);return"hsl("+x[0]+", "+x[1]+"%, "+x[2]+"%)";case "hsla":var K=l(r);x=B.alpha||Math.random();return"hsla("+K[0]+", "+K[1]+"%, "+K[2]+"%, "+x+")";case "rgbArray":return n(r);case "rgb":return"rgb("+ n(r).join(", ")+")";case "rgba":return K=n(r),x=B.alpha||Math.random(),"rgba("+K.join(", ")+", "+x+")";default:return k(r)}}function e(r){if("number"===typeof parseInt(r)){var B=parseInt(r);if(360>B&&0=r&&(r-=360);for(var B in z){var x=z[B];if(x.hueRange&&r>=x.hueRange[0]&&r<=x.hueRange[1])return z[B]}return"Color not found"} function d(r){if(null===p)return Math.floor(r[0]+Math.random()*(r[1]+1-r[0]));var B=r[1]||1;r=r[0]||0;p=(9301*p+49297)%233280;return Math.floor(r+p/233280*(B-r))}function k(r){function B(x){x=x.toString(16);return 1==x.length?"0"+x:x}r=n(r);return"#"+B(r[0])+B(r[1])+B(r[2])}function h(r,B,x){z[r]={hueRange:B,lowerBounds:x,saturationRange:[x[0][0],x[x.length-1][0]],brightnessRange:[x[x.length-1][1],x[0][1]]}}function n(r){var B=r[0];0===B&&(B=1);360===B&&(B=359);B/=360;var x=r[1]/100;r=r[2]/100;var K= Math.floor(6*B),a=6*B-K;B=r*(1-x);var g=r*(1-a*x);x=r*(1-(1-a)*x);var m=a=256,q=256;switch(K){case 0:a=r;m=x;q=B;break;case 1:a=g;m=r;q=B;break;case 2:a=B;m=r;q=x;break;case 3:a=B;m=g;q=r;break;case 4:a=x;m=B;q=r;break;case 5:a=r,m=B,q=g}return[Math.floor(255*a),Math.floor(255*m),Math.floor(255*q)]}function b(r){r=r.replace(/^#/,"");r=3===r.length?r.replace(/(.)/g,"$1$1"):r;var B=parseInt(r.substr(0,2),16)/255,x=parseInt(r.substr(2,2),16)/255;r=parseInt(r.substr(4,2),16)/255;var K=Math.max(B,x,r), a=K-Math.min(B,x,r),g=K?a/K:0;switch(K){case B:return[(x-r)/a%6*60||0,g,K];case x:return[60*((r-B)/a+2)||0,g,K];case r:return[60*((B-x)/a+4)||0,g,K]}}function l(r){var B=r[1]/100,x=r[2]/100,K=(2-B)*x;return[r[0],Math.round(B*x/(1>K?K:2-K)*1E4)/100,K/2*100]}var p=null,z={};h("monochrome",null,[[0,0],[100,0]]);h("red",[-26,18],[[20,100],[30,92],[40,89],[50,85],[60,78],[70,70],[80,60],[90,55],[100,50]]);h("orange",[19,46],[[20,100],[30,93],[40,88],[50,86],[60,85],[70,70],[100,70]]);h("yellow",[47,62], [[25,100],[40,94],[50,89],[60,86],[70,84],[80,82],[90,80],[100,75]]);h("green",[63,178],[[30,100],[40,90],[50,85],[60,81],[70,74],[80,64],[90,50],[100,40]]);h("blue",[179,257],[[20,100],[30,86],[40,80],[50,74],[60,60],[70,52],[80,44],[90,39],[100,35]]);h("purple",[258,282],[[20,100],[30,87],[40,79],[50,70],[60,65],[70,59],[80,52],[90,45],[100,42]]);h("pink",[283,334],[[20,100],[30,90],[40,86],[60,84],[80,80],[90,75],[100,73]]);var E=function(r){r=r||{};if(void 0!==r.seed&&null!==r.seed&&r.seed=== parseInt(r.seed,10))p=r.seed;else if("string"===typeof r.seed){for(var B=r.seed,x=0,K=0;K!==B.length&&!(x>=Number.MAX_SAFE_INTEGER);K++)x+=B.charCodeAt(K);p=x}else{if(void 0!==r.seed&&null!==r.seed)throw new TypeError("The seed value must be an integer or string");p=null}if(null!==r.count&&void 0!==r.count){B=r.count;x=[];for(r.count=null;B>x.length;)p&&r.seed&&(r.seed+=1),x.push(E(r));r.count=B;return x}B=e(r.hue);B=d(B);0>B&&(B=360+B);x=r;if("monochrome"===x.hue)x=0;else if("random"===x.luminosity)x= d([0,100]);else{var a=f(B).saturationRange;K=a[0];a=a[1];switch(x.luminosity){case "bright":K=55;break;case "dark":K=a-10;break;case "light":a=55}x=d([K,a])}K=r;a:{a=x;for(var g=f(B).lowerBounds,m=0;m=q&&a<=P){g=(da-C)/(P-q);a=g*a+(C-g*q);break a}}a=0}q=100;switch(K.luminosity){case "dark":q=a+20;break;case "light":a=(q+a)/2;break;case "random":a=0,q=100}K=d([a,q]);return c([B,x,K],r)};return E}();(function(){window.confettiKit= function(c){var e=this;e.version="1.1.0";e.config={colors:["#a864fd","#29cdff","#78ff44","#ff718d","#fdff6a"],el:"body",elements:{confetti:{direction:"down",rotation:!0},star:{count:15,direction:"up",rotation:!0},ribbon:{count:10,direction:"down",rotation:!0}},confettiCount:75,x:0,y:0,angle:90,decay:.9,spread:45,startVelocity:45,position:null};for(var f in c)e.config[f]=c[f];var d=e.config;e.renderStar=function(k,h){return'
star
'}; e.renderRibbon=function(k,h){return'
'}; e.customRender=function(k,h,n,b,l){if("text"==h)return'

'+k+"

";if("svg"==h)return'
'+k+"
";if("image"==h)return''};e.createElements=function(k,h){var n=d.elements.star?d.elements.star.count:0,b=d.elements.ribbon?d.elements.ribbon.count:0,l=[];if(d.elements.custom&&-1l?requestAnimationFrame(b):h.forEach(function(p){k.contains(p.element)&&k.removeChild(p.element)})}var l=0;requestAnimationFrame(b)}; e.confetti=function(k,h,n){var b=d.angle,l=d.decay,p=d.spread,z=d.startVelocity,E=[];e.createElements(k,d.confettiCount).map(function(r){r={element:r,physics:e.randomPhysics(h,n,b,p,z)};E.push(r)});e.animate(k,E,l)};f=document.querySelector(d.el);null!=d.position?"bottomLeftRight"==d.position?(d.angle=45,e.confetti(f,0,window.innerHeight-200),c.position=null,c.angle=135,c.x=window.innerWidth,c.y=window.innerHeight-200,new confettiKit(c)):"topLeftRight"==d.position&&(d.angle=340,e.confetti(f,0,0), c.position=null,c.angle=190,c.x=window.innerWidth,c.y=0,new confettiKit(c)):e.confetti(f,d.x,d.y)}})();var Ma=!1,fa=!1,Va=0,Wa=!1;(new function(){this.executeGames=function(c){if(c.hasOwnProperty("_lkda")){var e=0;c=c._lkda;try{u&&(e=window.self.FRAME_ID)}catch(f){}"preview_trigger"in c&&!("game_preview"in c)&&0===e?(e=c.preview_trigger.game_id,this.executeGame(e,c["game_"+e].modal,!1)):0===e&&"game_preview"in c?this.executeGame("game_preview",c.game_preview.modal):this.executeListGames(c,e)}};this.executeListGames= function(c,e){for(var f in c)if(c.hasOwnProperty(f)){var d=f.split("_");d=parseInt(d[1]);if(e===d){this.executeGame(f,c[f].modal);break}else 0===e&&this.executeGame(f,c[f].modal)}};this.executeGame=function(c,e){var f=ha(e.modalWrapper),d=ha(e.modalContent),k=ha(e.modalBehavior),h=ha(e.modalStyle),n=u?v.self:v.top;h.style=e.modalStyle.style.bind(h);d=new cb(n,w,f,d,h,k);k=d.getVariables();h=k.isDev();n=k.debug;if(!u){var b=new za(k);b.init();b.setPageLoaded("1")}for(var l in d)"function"===typeof d[l]&& (d[l]=mb(d[l],f.meta.gameId,h,n));d.init(k,b);Va=1;this.injectGame(c,d)};this.injectGame=function(c,e){if(u||e.hasDevScript())v.top["__"+c]=e}}).executeGames(v.parent!==v.top?v:v.top);fa=function(){var c=!1,e=navigator.userAgent||navigator.vendor||window.opera;if(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i.test(e)|| /1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(e.substr(0, 4)))c=!0;return c}()}(window,document,function(v){try{return v.self!==v.top}catch(w){return!0}}(window),function(v){return"_lkda"in v.top?getLKValueSafe(v.top._lkda,"__adminPanel",!1):!1}(window),function(v){return"_lkda"in v.top?getLKValueSafe(v.top._lkda,"__scriptPath","/js/runtime.js"):!1}(window));function getLKValueSafe(v,w,u){return isLKKeyExists(v,w)?getLKValue(v,w):u}function isLKKeyExists(v,w){return"undefined"!==typeof getLKValue(v,w)} function getLKValue(v,w){return v.hasOwnProperty(getObjectKey(v))&&v[getObjectKey(v)].hasOwnProperty(w)?v[getObjectKey(v)][w]:!1}function getObjectKey(v){for(var w in v)if("preview_trigger"!==w&&v.hasOwnProperty(w))return w} !function(v,w){"object"==typeof exports&&"object"==typeof module?module.exports=w():"function"==typeof define&&define.amd?define([],w):"object"==typeof exports?exports.ClipboardJS=w():v.ClipboardJS=w()}(this,function(){return function(v){function w(t){if(u[t])return u[t].exports;var A=u[t]={i:t,l:!1,exports:{}};return v[t].call(A.exports,A,A.exports,w),A.l=!0,A.exports}var u={};return w.m=v,w.c=u,w.d=function(t,A,H){w.o(t,A)||Object.defineProperty(t,A,{enumerable:!0,get:H})},w.r=function(t){"undefined"!= typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});Object.defineProperty(t,"__esModule",{value:!0})},w.t=function(t,A){if((1&A&&(t=w(t)),8&A)||4&A&&"object"==typeof t&&t&&t.__esModule)return t;var H=Object.create(null);if(w.r(H),Object.defineProperty(H,"default",{enumerable:!0,value:t}),2&A&&"string"!=typeof t)for(var M in t)w.d(H,M,function(G){return t[G]}.bind(null,M));return H},w.n=function(t){var A=t&&t.__esModule?function(){return t["default"]}:function(){return t}; return w.d(A,"a",A),A},w.o=function(t,A){return Object.prototype.hasOwnProperty.call(t,A)},w.p="",w(w.s=0)}([function(v,w,u){function t(O){return O&&O.__esModule?O:{"default":O}}function A(O,Q){var F="data-clipboard-"+O;if(Q.hasAttribute(F))return Q.getAttribute(F)}var H="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(O){return typeof O}:function(O){return O&&"function"==typeof Symbol&&O.constructor===Symbol&&O!==Symbol.prototype?"symbol":typeof O},M=function(){function O(Q,F){for(var R= 0;R -1;return isHostUrlInLogo || !this.revealLogo || isSameUrl? this.revealLogo: this.hostUrl + this.revealLogo}})(window,document,'_lkda','script','//app.getwoohoo.com/js/runtime.js?v1.1.4.755',JSON.parse('{"24276":"eyJ0YWdOYW1lIjoiZGl2IiwiaWQiOiIlMjJsYyUyMitpZCIsIm1ldGEiOnsiY2xvc2VJdGVtIjp7ImNsYXNzTmFtZSI6ImNsb3NlIn0sInR5cGUiOiJmdWxsd2hlZWwiLCJsYW5ndWFnZSI6ImVuIiwiZ2FtZUlkIjoyNDI3NiwiYWN0aXZlIjoxLCJ0cmFuc2xhdGlvbnMiOnsiY291cG9ucyI6eyJkaXNjb3VudCI6eyJlbiI6IkRpc2NvdW50IiwiZGUiOiJSYWJhdHQiLCJydSI6Ilx1MDQyMVx1MDQzYVx1MDQzOFx1MDQzNFx1MDQzYVx1MDQzMCIsImZyIjoiUmVtaXNlIiwiZXMiOiJEZXNjdWVudG8iLCJoZSI6Ilx1MDVkNFx1MDVlMFx1MDVkN1x1MDVkNCJ9LCJjb3Vwb24iOnsiZW4iOiJDb3Vwb24iLCJkZSI6IkNvdXBvbiIsInJ1IjoiXHUwNDFhXHUwNDQzXHUwNDNmXHUwNDNlXHUwNDNkIiwiZnIiOiJDb3Vwb24iLCJlcyI6IkN1cFx1MDBmM24iLCJoZSI6Ilx1MDVkNFx1MDVlMFx1MDVkN1x1MDVk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