diff --git a/vex8/404.html b/vex8/404.html new file mode 100644 index 000000000..9c9200ad2 --- /dev/null +++ b/vex8/404.html @@ -0,0 +1 @@ +PS 404 Not Found! diff --git a/vex8/408.html b/vex8/408.html new file mode 100644 index 000000000..5d2151454 --- /dev/null +++ b/vex8/408.html @@ -0,0 +1 @@ +PS 408 Request Time Out! diff --git a/vex8/ahrefs_585f4691b0e399a160cb6e0c016b4fcd7b0c55de8ae4d7dc4c83d5d0761520b3 b/vex8/ahrefs_585f4691b0e399a160cb6e0c016b4fcd7b0c55de8ae4d7dc4c83d5d0761520b3 new file mode 100644 index 000000000..08c92a651 --- /dev/null +++ b/vex8/ahrefs_585f4691b0e399a160cb6e0c016b4fcd7b0c55de8ae4d7dc4c83d5d0761520b3 @@ -0,0 +1 @@ +ahrefs-site-verification_585f4691b0e399a160cb6e0c016b4fcd7b0c55de8ae4d7dc4c83d5d0761520b3 \ No newline at end of file diff --git a/vex8/favicon.ico b/vex8/favicon.ico new file mode 100644 index 000000000..ccbe3d11c Binary files /dev/null and b/vex8/favicon.ico differ diff --git a/vex8/frame.html b/vex8/frame.html new file mode 100644 index 000000000..90adaf8a7 --- /dev/null +++ b/vex8/frame.html @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/vex8/games235.html b/vex8/games235.html new file mode 100644 index 000000000..69cd7bff2 --- /dev/null +++ b/vex8/games235.html @@ -0,0 +1 @@ + diff --git a/vex8/index.html b/vex8/index.html new file mode 100644 index 000000000..5d7267e0c --- /dev/null +++ b/vex8/index.html @@ -0,0 +1,69 @@ + + + +
+ + + + + + + +r&&(r=e),(e=j+l+n)r&&(r=e),(e=l+n)r&&(r=e),a.setValues(o,q,p-o,r-q)},b._hasMouseEventListener=function(){for(var b=a._MOUSE_EVENTS,c=0,d=b.length;d>c;c++)if(this.hasEventListener(b[c]))return!0;return!!this.cursor},createjs.DisplayObject=createjs.promote(a,"EventDispatcher")}(),this.createjs=this.createjs||{},function(){"use strict";function a(){this.DisplayObject_constructor(),this.children=[],this.mouseChildren=!0,this.tickChildren=!0}var b=createjs.extend(a,createjs.DisplayObject);b._getNumChildren=function(){return this.children.length},b.getNumChildren=createjs.deprecate(b._getNumChildren,"Container.getNumChildren");try{Object.defineProperties(b,{numChildren:{get:b._getNumChildren}})}catch(c){}b.initialize=a,b.isVisible=function(){var a=this.cacheCanvas||this.children.length;return!!(this.visible&&this.alpha>0&&0!=this.scaleX&&0!=this.scaleY&&a)},b.draw=function(a,b){if(this.DisplayObject_draw(a,b))return!0;for(var c=this.children.slice(),d=0,e=c.length;e>d;d++){var f=c[d];f.isVisible()&&(a.save(),f.updateContext(a),f.draw(a),a.restore())}return!0},b.addChild=function(a){if(null==a)return a;var b=arguments.length;if(b>1){for(var c=0;b>c;c++)this.addChild(arguments[c]);return arguments[b-1]}var d=a.parent,e=d===this;return d&&d._removeChildAt(createjs.indexOf(d.children,a),e),a.parent=this,this.children.push(a),e||a.dispatchEvent("added"),a},b.addChildAt=function(a,b){var c=arguments.length,d=arguments[c-1];if(0>d||d>this.children.length)return arguments[c-2];if(c>2){for(var e=0;c-1>e;e++)this.addChildAt(arguments[e],d+e);return arguments[c-2]}var f=a.parent,g=f===this;return f&&f._removeChildAt(createjs.indexOf(f.children,a),g),a.parent=this,this.children.splice(b,0,a),g||a.dispatchEvent("added"),a},b.removeChild=function(a){var b=arguments.length;if(b>1){for(var c=!0,d=0;b>d;d++)c=c&&this.removeChild(arguments[d]);return c}return this._removeChildAt(createjs.indexOf(this.children,a))},b.removeChildAt=function(a){var b=arguments.length;if(b>1){for(var c=[],d=0;b>d;d++)c[d]=arguments[d];c.sort(function(a,b){return b-a});for(var e=!0,d=0;b>d;d++)e=e&&this._removeChildAt(c[d]);return e}return this._removeChildAt(a)},b.removeAllChildren=function(){for(var a=this.children;a.length;)this._removeChildAt(0)},b.getChildAt=function(a){return this.children[a]},b.getChildByName=function(a){for(var b=this.children,c=0,d=b.length;d>c;c++)if(b[c].name==a)return b[c];return null},b.sortChildren=function(a){this.children.sort(a)},b.getChildIndex=function(a){return createjs.indexOf(this.children,a)},b.swapChildrenAt=function(a,b){var c=this.children,d=c[a],e=c[b];d&&e&&(c[a]=e,c[b]=d)},b.swapChildren=function(a,b){for(var c,d,e=this.children,f=0,g=e.length;g>f&&(e[f]==a&&(c=f),e[f]==b&&(d=f),null==c||null==d);f++);f!=g&&(e[c]=b,e[d]=a)},b.setChildIndex=function(a,b){var c=this.children,d=c.length;if(!(a.parent!=this||0>b||b>=d)){for(var e=0;d>e&&c[e]!=a;e++);e!=d&&e!=b&&(c.splice(e,1),c.splice(b,0,a))}},b.contains=function(a){for(;a;){if(a==this)return!0;a=a.parent}return!1},b.hitTest=function(a,b){return null!=this.getObjectUnderPoint(a,b)},b.getObjectsUnderPoint=function(a,b,c){var d=[],e=this.localToGlobal(a,b);return this._getObjectsUnderPoint(e.x,e.y,d,c>0,1==c),d},b.getObjectUnderPoint=function(a,b,c){var d=this.localToGlobal(a,b);return this._getObjectsUnderPoint(d.x,d.y,null,c>0,1==c)},b.getBounds=function(){return this._getBounds(null,!0)},b.getTransformedBounds=function(){return this._getBounds()},b.clone=function(b){var c=this._cloneProps(new a);return b&&this._cloneChildren(c),c},b.toString=function(){return"[Container (name="+this.name+")]"},b._tick=function(a){if(this.tickChildren)for(var b=this.children.length-1;b>=0;b--){var c=this.children[b];c.tickEnabled&&c._tick&&c._tick(a)}this.DisplayObject__tick(a)},b._cloneChildren=function(a){a.children.length&&a.removeAllChildren();for(var b=a.children,c=0,d=this.children.length;d>c;c++){var e=this.children[c].clone(!0);e.parent=a,b.push(e)}},b._removeChildAt=function(a,b){if(0>a||a>this.children.length-1)return!1;var c=this.children[a];return c&&(c.parent=null),this.children.splice(a,1),b||c.dispatchEvent("removed"),!0},b._getObjectsUnderPoint=function(b,c,d,e,f,g){if(g=g||0,!g&&!this._testMask(this,b,c))return null;var h,i=createjs.DisplayObject._hitTestContext;f=f||e&&this._hasMouseEventListener();for(var j=this.children,k=j.length,l=k-1;l>=0;l--){var m=j[l],n=m.hitArea;if(m.visible&&(n||m.isVisible())&&(!e||m.mouseEnabled)&&(n||this._testMask(m,b,c)))if(!n&&m instanceof a){var o=m._getObjectsUnderPoint(b,c,d,e,f,g+1);if(!d&&o)return e&&!this.mouseChildren?this:o}else{if(e&&!f&&!m._hasMouseEventListener())continue;var p=m.getConcatenatedDisplayProps(m._props);if(h=p.matrix,n&&(h.appendMatrix(n.getMatrix(n._props.matrix)),p.alpha=n.alpha),i.globalAlpha=p.alpha,i.setTransform(h.a,h.b,h.c,h.d,h.tx-b,h.ty-c),(n||m).draw(i),!this._testHit(i))continue;if(i.setTransform(1,0,0,1,0,0),i.clearRect(0,0,2,2),!d)return e&&!this.mouseChildren?this:m;d.push(m)}}return null},b._testMask=function(a,b,c){var d=a.mask;if(!d||!d.graphics||d.graphics.isEmpty())return!0;var e=this._props.matrix,f=a.parent;e=f?f.getConcatenatedMatrix(e):e.identity(),e=d.getMatrix(d._props.matrix).prependMatrix(e);var g=createjs.DisplayObject._hitTestContext;return g.setTransform(e.a,e.b,e.c,e.d,e.tx-b,e.ty-c),d.graphics.drawAsPath(g),g.fillStyle="#000",g.fill(),this._testHit(g)?(g.setTransform(1,0,0,1,0,0),g.clearRect(0,0,2,2),!0):!1},b._getBounds=function(a,b){var c=this.DisplayObject_getBounds();if(c)return this._transformBounds(c,a,b);var d=this._props.matrix;d=b?d.identity():this.getMatrix(d),a&&d.prependMatrix(a);for(var e=this.children.length,f=null,g=0;e>g;g++){var h=this.children[g];h.visible&&(c=h._getBounds(d))&&(f?f.extend(c.x,c.y,c.width,c.height):f=c.clone())}return f},createjs.Container=createjs.promote(a,"DisplayObject")}(),this.createjs=this.createjs||{},function(){"use strict";function a(a){this.Container_constructor(),this.autoClear=!0,this.canvas="string"==typeof a?document.getElementById(a):a,this.mouseX=0,this.mouseY=0,this.drawRect=null,this.snapToPixelEnabled=!1,this.mouseInBounds=!1,this.tickOnUpdate=!0,this.mouseMoveOutside=!1,this.preventSelection=!0,this._pointerData={},this._pointerCount=0,this._primaryPointerID=null,this._mouseOverIntervalID=null,this._nextStage=null,this._prevStage=null,this.enableDOMEvents(!0)}var b=createjs.extend(a,createjs.Container);b._get_nextStage=function(){return this._nextStage},b._set_nextStage=function(a){this._nextStage&&(this._nextStage._prevStage=null),a&&(a._prevStage=this),this._nextStage=a};try{Object.defineProperties(b,{nextStage:{get:b._get_nextStage,set:b._set_nextStage}})}catch(c){}b.update=function(a){if(this.canvas&&(this.tickOnUpdate&&this.tick(a),this.dispatchEvent("drawstart",!1,!0)!==!1)){createjs.DisplayObject._snapToPixelEnabled=this.snapToPixelEnabled;var b=this.drawRect,c=this.canvas.getContext("2d");c.setTransform(1,0,0,1,0,0),this.autoClear&&(b?c.clearRect(b.x,b.y,b.width,b.height):c.clearRect(0,0,this.canvas.width+1,this.canvas.height+1)),c.save(),this.drawRect&&(c.beginPath(),c.rect(b.x,b.y,b.width,b.height),c.clip()),this.updateContext(c),this.draw(c,!1),c.restore(),this.dispatchEvent("drawend")}},b.tick=function(a){if(this.tickEnabled&&this.dispatchEvent("tickstart",!1,!0)!==!1){var b=new createjs.Event("tick");if(a)for(var c in a)a.hasOwnProperty(c)&&(b[c]=a[c]);this._tick(b),this.dispatchEvent("tickend")}},b.handleEvent=function(a){"tick"==a.type&&this.update(a)},b.clear=function(){if(this.canvas){var a=this.canvas.getContext("2d");a.setTransform(1,0,0,1,0,0),a.clearRect(0,0,this.canvas.width+1,this.canvas.height+1)}},b.toDataURL=function(a,b){var c,d=this.canvas.getContext("2d"),e=this.canvas.width,f=this.canvas.height;if(a){c=d.getImageData(0,0,e,f);var g=d.globalCompositeOperation;d.globalCompositeOperation="destination-over",d.fillStyle=a,d.fillRect(0,0,e,f)}var h=this.canvas.toDataURL(b||"image/png");return a&&(d.putImageData(c,0,0),d.globalCompositeOperation=g),h},b.enableMouseOver=function(a){if(this._mouseOverIntervalID&&(clearInterval(this._mouseOverIntervalID),this._mouseOverIntervalID=null,0==a&&this._testMouseOver(!0)),null==a)a=20;else if(0>=a)return;var b=this;this._mouseOverIntervalID=setInterval(function(){b._testMouseOver()},1e3/Math.min(50,a))},b.enableDOMEvents=function(a){null==a&&(a=!0);var b,c,d=this._eventListeners;if(!a&&d){for(b in d)c=d[b],c.t.removeEventListener(b,c.f,!1);this._eventListeners=null}else if(a&&!d&&this.canvas){var e=window.addEventListener?window:document,f=this;d=this._eventListeners={},d.mouseup={t:e,f:function(a){f._handleMouseUp(a)}},d.mousemove={t:e,f:function(a){f._handleMouseMove(a)}},d.dblclick={t:this.canvas,f:function(a){f._handleDoubleClick(a)}},d.mousedown={t:this.canvas,f:function(a){f._handleMouseDown(a)}};for(b in d)c=d[b],c.t.addEventListener(b,c.f,!1)}},b.clone=function(){throw"Stage cannot be cloned."},b.toString=function(){return"[Stage (name="+this.name+")]"},b._getElementRect=function(a){var b;try{b=a.getBoundingClientRect()}catch(c){b={top:a.offsetTop,left:a.offsetLeft,width:a.offsetWidth,height:a.offsetHeight}}var d=(window.pageXOffset||document.scrollLeft||0)-(document.clientLeft||document.body.clientLeft||0),e=(window.pageYOffset||document.scrollTop||0)-(document.clientTop||document.body.clientTop||0),f=window.getComputedStyle?getComputedStyle(a,null):a.currentStyle,g=parseInt(f.paddingLeft)+parseInt(f.borderLeftWidth),h=parseInt(f.paddingTop)+parseInt(f.borderTopWidth),i=parseInt(f.paddingRight)+parseInt(f.borderRightWidth),j=parseInt(f.paddingBottom)+parseInt(f.borderBottomWidth);return{left:b.left+d+g,right:b.right+d-i,top:b.top+e+h,bottom:b.bottom+e-j}},b._getPointerData=function(a){var b=this._pointerData[a];return b||(b=this._pointerData[a]={x:0,y:0}),b},b._handleMouseMove=function(a){a||(a=window.event),this._handlePointerMove(-1,a,a.pageX,a.pageY)},b._handlePointerMove=function(a,b,c,d,e){if((!this._prevStage||void 0!==e)&&this.canvas){var f=this._nextStage,g=this._getPointerData(a),h=g.inBounds;this._updatePointerPosition(a,b,c,d),(h||g.inBounds||this.mouseMoveOutside)&&(-1===a&&g.inBounds==!h&&this._dispatchMouseEvent(this,h?"mouseleave":"mouseenter",!1,a,g,b),this._dispatchMouseEvent(this,"stagemousemove",!1,a,g,b),this._dispatchMouseEvent(g.target,"pressmove",!0,a,g,b)),f&&f._handlePointerMove(a,b,c,d,null)}},b._updatePointerPosition=function(a,b,c,d){var e=this._getElementRect(this.canvas);c-=e.left,d-=e.top;var f=this.canvas.width,g=this.canvas.height;c/=(e.right-e.left)/f,d/=(e.bottom-e.top)/g;var h=this._getPointerData(a);(h.inBounds=c>=0&&d>=0&&f-1>=c&&g-1>=d)?(h.x=c,h.y=d):this.mouseMoveOutside&&(h.x=0>c?0:c>f-1?f-1:c,h.y=0>d?0:d>g-1?g-1:d),h.posEvtObj=b,h.rawX=c,h.rawY=d,(a===this._primaryPointerID||-1===a)&&(this.mouseX=h.x,this.mouseY=h.y,this.mouseInBounds=h.inBounds)},b._handleMouseUp=function(a){this._handlePointerUp(-1,a,!1)},b._handlePointerUp=function(a,b,c,d){var e=this._nextStage,f=this._getPointerData(a);if(!this._prevStage||void 0!==d){var g=null,h=f.target;d||!h&&!e||(g=this._getObjectsUnderPoint(f.x,f.y,null,!0)),f.down&&(this._dispatchMouseEvent(this,"stagemouseup",!1,a,f,b,g),f.down=!1),g==h&&this._dispatchMouseEvent(h,"click",!0,a,f,b),this._dispatchMouseEvent(h,"pressup",!0,a,f,b),c?(a==this._primaryPointerID&&(this._primaryPointerID=null),delete this._pointerData[a]):f.target=null,e&&e._handlePointerUp(a,b,c,d||g&&this)}},b._handleMouseDown=function(a){this._handlePointerDown(-1,a,a.pageX,a.pageY)},b._handlePointerDown=function(a,b,c,d,e){this.preventSelection&&b.preventDefault(),(null==this._primaryPointerID||-1===a)&&(this._primaryPointerID=a),null!=d&&this._updatePointerPosition(a,b,c,d);var f=null,g=this._nextStage,h=this._getPointerData(a);e||(f=h.target=this._getObjectsUnderPoint(h.x,h.y,null,!0)),h.inBounds&&(this._dispatchMouseEvent(this,"stagemousedown",!1,a,h,b,f),h.down=!0),this._dispatchMouseEvent(f,"mousedown",!0,a,h,b),g&&g._handlePointerDown(a,b,c,d,e||f&&this)},b._testMouseOver=function(a,b,c){if(!this._prevStage||void 0!==b){var d=this._nextStage;if(!this._mouseOverIntervalID)return void(d&&d._testMouseOver(a,b,c));var e=this._getPointerData(-1);if(e&&(a||this.mouseX!=this._mouseOverX||this.mouseY!=this._mouseOverY||!this.mouseInBounds)){var f,g,h,i=e.posEvtObj,j=c||i&&i.target==this.canvas,k=null,l=-1,m="";!b&&(a||this.mouseInBounds&&j)&&(k=this._getObjectsUnderPoint(this.mouseX,this.mouseY,null,!0),this._mouseOverX=this.mouseX,this._mouseOverY=this.mouseY);var n=this._mouseOverTarget||[],o=n[n.length-1],p=this._mouseOverTarget=[];for(f=k;f;)p.unshift(f),m||(m=f.cursor),f=f.parent;for(this.canvas.style.cursor=m,!b&&c&&(c.canvas.style.cursor=m),g=0,h=p.length;h>g&&p[g]==n[g];g++)l=g;for(o!=k&&this._dispatchMouseEvent(o,"mouseout",!0,-1,e,i,k),g=n.length-1;g>l;g--)this._dispatchMouseEvent(n[g],"rollout",!1,-1,e,i,k);for(g=p.length-1;g>l;g--)this._dispatchMouseEvent(p[g],"rollover",!1,-1,e,i,o);o!=k&&this._dispatchMouseEvent(k,"mouseover",!0,-1,e,i,o),d&&d._testMouseOver(a,b||k&&this,c||j&&this)}}},b._handleDoubleClick=function(a,b){var c=null,d=this._nextStage,e=this._getPointerData(-1);b||(c=this._getObjectsUnderPoint(e.x,e.y,null,!0),this._dispatchMouseEvent(c,"dblclick",!0,-1,e,a)),d&&d._handleDoubleClick(a,b||c&&this)},b._dispatchMouseEvent=function(a,b,c,d,e,f,g){if(a&&(c||a.hasEventListener(b))){var h=new createjs.MouseEvent(b,c,!1,e.x,e.y,f,d,d===this._primaryPointerID||-1===d,e.rawX,e.rawY,g);a.dispatchEvent(h)}},createjs.Stage=createjs.promote(a,"Container")}(),this.createjs=this.createjs||{},function(){"use strict";function a(b,c){if(this.Stage_constructor(b),void 0!==c){if("object"!=typeof c)throw"Invalid options object";var d=c.premultiply,e=c.transparent,f=c.antialias,g=c.preserveBuffer,h=c.autoPurge}this.vocalDebug=!1,this._preserveBuffer=g||!1,this._antialias=f||!1,this._transparent=e||!1,this._premultiply=d||!1,this._autoPurge=void 0,this.autoPurge=h,this._viewportWidth=0,this._viewportHeight=0,this._projectionMatrix=null,this._webGLContext=null,this._clearColor={r:.5,g:.5,b:.5,a:0},this._maxCardsPerBatch=a.DEFAULT_MAX_BATCH_SIZE,this._activeShader=null,this._vertices=null,this._vertexPositionBuffer=null,this._uvs=null,this._uvPositionBuffer=null,this._indices=null,this._textureIndexBuffer=null,this._alphas=null,this._alphaBuffer=null,this._textureDictionary=[],this._textureIDs={},this._batchTextures=[],this._baseTextures=[],this._batchTextureCount=8,this._lastTextureInsert=-1,this._batchID=0,this._drawID=0,this._slotBlacklist=[],this._isDrawing=0,this._lastTrackedCanvas=0,this.isCacheControlled=!1,this._cacheContainer=new createjs.Container,this._initializeWebGL()}var b=createjs.extend(a,createjs.Stage);a.buildUVRects=function(a,b,c){if(!a||!a._frames)return null;void 0===b&&(b=-1),void 0===c&&(c=!1);for(var d=-1!=b&&c?b:0,e=-1!=b&&c?b+1:a._frames.length,f=d;e>f;f++){var g=a._frames[f];if(!(g.uvRect||g.image.width<=0||g.image.height<=0)){var h=g.rect;g.uvRect={t:h.y/g.image.height,l:h.x/g.image.width,b:(h.y+h.height)/g.image.height,r:(h.x+h.width)/g.image.width}}}return a._frames[-1!=b?b:0].uvRect||{t:0,l:0,b:1,r:1}},a.isWebGLActive=function(a){return a&&a instanceof WebGLRenderingContext&&"undefined"!=typeof WebGLRenderingContext},a.VERTEX_PROPERTY_COUNT=6,a.INDICIES_PER_CARD=6,a.DEFAULT_MAX_BATCH_SIZE=1e4,a.WEBGL_MAX_INDEX_NUM=Math.pow(2,16),a.UV_RECT={t:0,l:0,b:1,r:1};try{a.COVER_VERT=new Float32Array([-1,1,1,1,-1,-1,1,1,1,-1,-1,-1]),a.COVER_UV=new Float32Array([0,0,1,0,0,1,1,0,1,1,0,1]),a.COVER_UV_FLIP=new Float32Array([0,1,1,1,0,0,1,1,1,0,0,0])}catch(c){}a.REGULAR_VARYING_HEADER="precision mediump float;varying vec2 vTextureCoord;varying lowp float indexPicker;varying lowp float alphaValue;",a.REGULAR_VERTEX_HEADER=a.REGULAR_VARYING_HEADER+"attribute vec2 vertexPosition;attribute vec2 uvPosition;attribute lowp float textureIndex;attribute lowp float objectAlpha;uniform mat4 pMatrix;",a.REGULAR_FRAGMENT_HEADER=a.REGULAR_VARYING_HEADER+"uniform sampler2D uSampler[{{count}}];",a.REGULAR_VERTEX_BODY="void main(void) {gl_Position = vec4((vertexPosition.x * pMatrix[0][0]) + pMatrix[3][0],(vertexPosition.y * pMatrix[1][1]) + pMatrix[3][1],pMatrix[3][2],1.0);alphaValue = objectAlpha;indexPicker = textureIndex;vTextureCoord = uvPosition;}",a.REGULAR_FRAGMENT_BODY="void main(void) {vec4 color = vec4(1.0, 0.0, 0.0, 1.0);if (indexPicker <= 0.5) {color = texture2D(uSampler[0], vTextureCoord);{{alternates}}}{{fragColor}}}",a.REGULAR_FRAG_COLOR_NORMAL="gl_FragColor = vec4(color.rgb, color.a * alphaValue);",a.REGULAR_FRAG_COLOR_PREMULTIPLY="if(color.a > 0.0035) {gl_FragColor = vec4(color.rgb/color.a, color.a * alphaValue);} else {gl_FragColor = vec4(0.0, 0.0, 0.0, 0.0);}",a.PARTICLE_VERTEX_BODY=a.REGULAR_VERTEX_BODY,a.PARTICLE_FRAGMENT_BODY=a.REGULAR_FRAGMENT_BODY,a.COVER_VARYING_HEADER="precision mediump float;varying highp vec2 vRenderCoord;varying highp vec2 vTextureCoord;",a.COVER_VERTEX_HEADER=a.COVER_VARYING_HEADER+"attribute vec2 vertexPosition;attribute vec2 uvPosition;uniform float uUpright;",a.COVER_FRAGMENT_HEADER=a.COVER_VARYING_HEADER+"uniform sampler2D uSampler;",a.COVER_VERTEX_BODY="void main(void) {gl_Position = vec4(vertexPosition.x, vertexPosition.y, 0.0, 1.0);vRenderCoord = uvPosition;vTextureCoord = vec2(uvPosition.x, abs(uUpright - uvPosition.y));}",a.COVER_FRAGMENT_BODY="void main(void) {vec4 color = texture2D(uSampler, vRenderCoord);gl_FragColor = color;}",b._get_isWebGL=function(){return!!this._webGLContext},b._set_autoPurge=function(a){a=isNaN(a)?1200:a,-1!=a&&(a=10>a?10:a),this._autoPurge=a},b._get_autoPurge=function(){return Number(this._autoPurge)};try{Object.defineProperties(b,{isWebGL:{get:b._get_isWebGL},autoPurge:{get:b._get_autoPurge,set:b._set_autoPurge}})}catch(c){}b._initializeWebGL=function(){if(this.canvas){if(!this._webGLContext||this._webGLContext.canvas!==this.canvas){var a={depth:!1,alpha:this._transparent,stencil:!0,antialias:this._antialias,premultipliedAlpha:this._premultiply,preserveDrawingBuffer:this._preserveBuffer},b=this._webGLContext=this._fetchWebGLContext(this.canvas,a);if(!b)return null;this.updateSimultaneousTextureCount(b.getParameter(b.MAX_TEXTURE_IMAGE_UNITS)),this._maxTextureSlots=b.getParameter(b.MAX_COMBINED_TEXTURE_IMAGE_UNITS),this._createBuffers(b),this._initTextures(b),b.disable(b.DEPTH_TEST),b.enable(b.BLEND),b.blendFuncSeparate(b.SRC_ALPHA,b.ONE_MINUS_SRC_ALPHA,b.ONE,b.ONE_MINUS_SRC_ALPHA),b.pixelStorei(b.UNPACK_PREMULTIPLY_ALPHA_WEBGL,this._premultiply),this._webGLContext.clearColor(this._clearColor.r,this._clearColor.g,this._clearColor.b,this._clearColor.a),this.updateViewport(this._viewportWidth||this.canvas.width,this._viewportHeight||this.canvas.height)}}else this._webGLContext=null;return this._webGLContext},b.update=function(a){if(this.canvas){if(this.tickOnUpdate&&this.tick(a),this.dispatchEvent("drawstart"),this.autoClear&&this.clear(),this._webGLContext)this._batchDraw(this,this._webGLContext),-1==this._autoPurge||this._drawID%(this._autoPurge/2|0)||this.purgeTextures(this._autoPurge);else{var b=this.canvas.getContext("2d");b.save(),this.updateContext(b),this.draw(b,!1),b.restore()}this.dispatchEvent("drawend")}},b.clear=function(){if(this.canvas)if(a.isWebGLActive(this._webGLContext)){var b=this._webGLContext,c=this._clearColor,d=this._transparent?c.a:1;this._webGLContext.clearColor(c.r*d,c.g*d,c.b*d,d),b.clear(b.COLOR_BUFFER_BIT),this._webGLContext.clearColor(c.r,c.g,c.b,c.a)}else this.Stage_clear()},b.draw=function(b,c){if(b===this._webGLContext&&a.isWebGLActive(this._webGLContext)){var d=this._webGLContext;return this._batchDraw(this,d,c),!0}return this.Stage_draw(b,c)},b.cacheDraw=function(b,c,d){if(a.isWebGLActive(this._webGLContext)){var e=this._webGLContext;return this._cacheDraw(e,b,c,d),!0}return!1},b.protectTextureSlot=function(a,b){if(a>this._maxTextureSlots||0>a)throw"Slot outside of acceptable range";this._slotBlacklist[a]=!!b},b.getTargetRenderTexture=function(a,b,c){var d,e=!1,f=this._webGLContext;if(void 0!==a.__lastRT&&a.__lastRT===a.__rtA&&(e=!0),e?(void 0===a.__rtB?a.__rtB=this.getRenderBufferTexture(b,c):((b!=a.__rtB._width||c!=a.__rtB._height)&&this.resizeTexture(a.__rtB,b,c),this.setTextureParams(f)),d=a.__rtB):(void 0===a.__rtA?a.__rtA=this.getRenderBufferTexture(b,c):((b!=a.__rtA._width||c!=a.__rtA._height)&&this.resizeTexture(a.__rtA,b,c),this.setTextureParams(f)),d=a.__rtA),!d)throw"Problems creating render textures, known causes include using too much VRAM by not releasing WebGL texture instances";return a.__lastRT=d,d},b.releaseTexture=function(a){var b,c;if(a){if(a.children)for(b=0,c=a.children.length;c>b;b++)this.releaseTexture(a.children[b]);a.cacheCanvas&&a.uncache();var d=void 0;if(void 0!==a._storeID){if(a===this._textureDictionary[a._storeID])return this._killTextureObject(a),void(a._storeID=void 0);d=a}else if(2===a._webGLRenderStyle)d=a.image;else if(1===a._webGLRenderStyle){for(b=0,c=a.spriteSheet._images.length;c>b;b++)this.releaseTexture(a.spriteSheet._images[b]);return}if(void 0===d)return void(this.vocalDebug&&console.log("No associated texture found on release"));this._killTextureObject(this._textureDictionary[d._storeID]),d._storeID=void 0}},b.purgeTextures=function(a){void 0==a&&(a=100);for(var b=this._textureDictionary,c=b.length,d=0;c>d;d++){var e=b[d];e&&e._drawID+a<=this._drawID&&this._killTextureObject(e)}},b.updateSimultaneousTextureCount=function(a){var b=this._webGLContext,c=!1;for((1>a||isNaN(a))&&(a=1),this._batchTextureCount=a;!c;)try{this._activeShader=this._fetchShaderProgram(b),c=!0}catch(d){if(1==this._batchTextureCount)throw"Cannot compile shader "+d;this._batchTextureCount-=4,this._batchTextureCount<1&&(this._batchTextureCount=1),this.vocalDebug&&console.log("Reducing desired texture count due to errors: "+this._batchTextureCount)}},b.updateViewport=function(a,b){this._viewportWidth=0|a,this._viewportHeight=0|b;var c=this._webGLContext;c&&(c.viewport(0,0,this._viewportWidth,this._viewportHeight),this._projectionMatrix=new Float32Array([2/this._viewportWidth,0,0,0,0,-2/this._viewportHeight,1,0,0,0,1,0,-1,1,.1,0]),this._projectionMatrixFlip=new Float32Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),this._projectionMatrixFlip.set(this._projectionMatrix),this._projectionMatrixFlip[5]*=-1,this._projectionMatrixFlip[13]*=-1)},b.getFilterShader=function(a){a||(a=this);var b=this._webGLContext,c=this._activeShader;if(a._builtShader)c=a._builtShader,a.shaderParamSetup&&(b.useProgram(c),a.shaderParamSetup(b,this,c));else try{c=this._fetchShaderProgram(b,"filter",a.VTX_SHADER_BODY,a.FRAG_SHADER_BODY,a.shaderParamSetup&&a.shaderParamSetup.bind(a)),a._builtShader=c,c._name=a.toString()}catch(d){console&&console.log("SHADER SWITCH FAILURE",d)}return c},b.getBaseTexture=function(a,b){var c=Math.ceil(a>0?a:1)||1,d=Math.ceil(b>0?b:1)||1,e=this._webGLContext,f=e.createTexture();return this.resizeTexture(f,c,d),this.setTextureParams(e,!1),f},b.resizeTexture=function(a,b,c){var d=this._webGLContext;d.bindTexture(d.TEXTURE_2D,a),d.texImage2D(d.TEXTURE_2D,0,d.RGBA,b,c,0,d.RGBA,d.UNSIGNED_BYTE,null),a.width=b,a.height=c},b.getRenderBufferTexture=function(a,b){var c=this._webGLContext,d=this.getBaseTexture(a,b);if(!d)return null;var e=c.createFramebuffer();return e?(d.width=a,d.height=b,c.bindFramebuffer(c.FRAMEBUFFER,e),c.framebufferTexture2D(c.FRAMEBUFFER,c.COLOR_ATTACHMENT0,c.TEXTURE_2D,d,0),e._renderTexture=d,d._frameBuffer=e,d._storeID=this._textureDictionary.length,this._textureDictionary[d._storeID]=d,c.bindFramebuffer(c.FRAMEBUFFER,null),d):null},b.setTextureParams=function(a,b){b&&this._antialias?(a.texParameteri(a.TEXTURE_2D,a.TEXTURE_MIN_FILTER,a.LINEAR),a.texParameteri(a.TEXTURE_2D,a.TEXTURE_MAG_FILTER,a.LINEAR)):(a.texParameteri(a.TEXTURE_2D,a.TEXTURE_MIN_FILTER,a.NEAREST),a.texParameteri(a.TEXTURE_2D,a.TEXTURE_MAG_FILTER,a.NEAREST)),a.texParameteri(a.TEXTURE_2D,a.TEXTURE_WRAP_S,a.CLAMP_TO_EDGE),a.texParameteri(a.TEXTURE_2D,a.TEXTURE_WRAP_T,a.CLAMP_TO_EDGE)},b.setClearColor=function(a){var b,c,d,e,f;"string"==typeof a?0==a.indexOf("#")?(4==a.length&&(a="#"+a.charAt(1)+a.charAt(1)+a.charAt(2)+a.charAt(2)+a.charAt(3)+a.charAt(3)),b=Number("0x"+a.slice(1,3))/255,c=Number("0x"+a.slice(3,5))/255,d=Number("0x"+a.slice(5,7))/255,e=Number("0x"+a.slice(7,9))/255):0==a.indexOf("rgba(")&&(f=a.slice(5,-1).split(","),b=Number(f[0])/255,c=Number(f[1])/255,d=Number(f[2])/255,e=Number(f[3])):(b=((4278190080&a)>>>24)/255,c=((16711680&a)>>>16)/255,d=((65280&a)>>>8)/255,e=(255&a)/255),this._clearColor.r=b||0,this._clearColor.g=c||0,this._clearColor.b=d||0,this._clearColor.a=e||0,this._webGLContext&&this._webGLContext.clearColor(this._clearColor.r,this._clearColor.g,this._clearColor.b,this._clearColor.a); +},b.toString=function(){return"[StageGL (name="+this.name+")]"},b._fetchWebGLContext=function(a,b){var c;try{c=a.getContext("webgl",b)||a.getContext("experimental-webgl",b)}catch(d){}if(c)c.viewportWidth=a.width,c.viewportHeight=a.height;else{var e="Could not initialize WebGL";console.error?console.error(e):console.log(e)}return c},b._fetchShaderProgram=function(b,c,d,e,f){b.useProgram(null);var g,h;switch(c){case"filter":h=a.COVER_VERTEX_HEADER+(d||a.COVER_VERTEX_BODY),g=a.COVER_FRAGMENT_HEADER+(e||a.COVER_FRAGMENT_BODY);break;case"particle":h=a.REGULAR_VERTEX_HEADER+a.PARTICLE_VERTEX_BODY,g=a.REGULAR_FRAGMENT_HEADER+a.PARTICLE_FRAGMENT_BODY;break;case"override":h=a.REGULAR_VERTEX_HEADER+(d||a.REGULAR_VERTEX_BODY),g=a.REGULAR_FRAGMENT_HEADER+(e||a.REGULAR_FRAGMENT_BODY);break;case"regular":default:h=a.REGULAR_VERTEX_HEADER+a.REGULAR_VERTEX_BODY,g=a.REGULAR_FRAGMENT_HEADER+a.REGULAR_FRAGMENT_BODY}var i=this._createShader(b,b.VERTEX_SHADER,h),j=this._createShader(b,b.FRAGMENT_SHADER,g),k=b.createProgram();if(b.attachShader(k,i),b.attachShader(k,j),b.linkProgram(k),k._type=c,!b.getProgramParameter(k,b.LINK_STATUS))throw b.useProgram(this._activeShader),b.getProgramInfoLog(k);switch(b.useProgram(k),c){case"filter":k.vertexPositionAttribute=b.getAttribLocation(k,"vertexPosition"),b.enableVertexAttribArray(k.vertexPositionAttribute),k.uvPositionAttribute=b.getAttribLocation(k,"uvPosition"),b.enableVertexAttribArray(k.uvPositionAttribute),k.samplerUniform=b.getUniformLocation(k,"uSampler"),b.uniform1i(k.samplerUniform,0),k.uprightUniform=b.getUniformLocation(k,"uUpright"),b.uniform1f(k.uprightUniform,0),f&&f(b,this,k);break;case"override":case"particle":case"regular":default:k.vertexPositionAttribute=b.getAttribLocation(k,"vertexPosition"),b.enableVertexAttribArray(k.vertexPositionAttribute),k.uvPositionAttribute=b.getAttribLocation(k,"uvPosition"),b.enableVertexAttribArray(k.uvPositionAttribute),k.textureIndexAttribute=b.getAttribLocation(k,"textureIndex"),b.enableVertexAttribArray(k.textureIndexAttribute),k.alphaAttribute=b.getAttribLocation(k,"objectAlpha"),b.enableVertexAttribArray(k.alphaAttribute);for(var l=[],m=0;md;d+=c)h[d]=h[d+1]=0;b.bufferData(b.ARRAY_BUFFER,h,b.DYNAMIC_DRAW),g.itemSize=c,g.numItems=f;var i=this._uvPositionBuffer=b.createBuffer();b.bindBuffer(b.ARRAY_BUFFER,i),c=2;var j=this._uvs=new Float32Array(f*c);for(d=0,e=j.length;e>d;d+=c)j[d]=j[d+1]=0;b.bufferData(b.ARRAY_BUFFER,j,b.DYNAMIC_DRAW),i.itemSize=c,i.numItems=f;var k=this._textureIndexBuffer=b.createBuffer();b.bindBuffer(b.ARRAY_BUFFER,k),c=1;var l=this._indices=new Float32Array(f*c);for(d=0,e=l.length;e>d;d++)l[d]=0;b.bufferData(b.ARRAY_BUFFER,l,b.DYNAMIC_DRAW),k.itemSize=c,k.numItems=f;var m=this._alphaBuffer=b.createBuffer();b.bindBuffer(b.ARRAY_BUFFER,m),c=1;var n=this._alphas=new Float32Array(f*c);for(d=0,e=n.length;e>d;d++)n[d]=1;b.bufferData(b.ARRAY_BUFFER,n,b.DYNAMIC_DRAW),m.itemSize=c,m.numItems=f},b._initTextures=function(){this._lastTextureInsert=-1,this._textureDictionary=[],this._textureIDs={},this._baseTextures=[],this._batchTextures=[];for(var a=0;a a.MAX_TEXTURE_SIZE||b.height>a.MAX_TEXTURE_SIZE)&&console&&console.error("Oversized Texture: "+b.width+"x"+b.height+" vs "+a.MAX_TEXTURE_SIZE+"max"))},b._insertTextureInBatch=function(a,b){if(this._batchTextures[b._activeIndex]!==b){var c=-1,d=(this._lastTextureInsert+1)%this._batchTextureCount,e=d;do{if(this._batchTextures[e]._batchID!=this._batchID&&!this._slotBlacklist[e]){c=e;break}e=(e+1)%this._batchTextureCount}while(e!==d);-1===c&&(this.batchReason="textureOverflow",this._drawBuffers(a),this.batchCardCount=0,c=d),this._batchTextures[c]=b,b._activeIndex=c;var f=b._imageData;f&&f._invalid&&void 0!==b._drawID?this._updateTextureImageData(a,f):(a.activeTexture(a.TEXTURE0+c),a.bindTexture(a.TEXTURE_2D,b),this.setTextureParams(a)),this._lastTextureInsert=c}else{var f=b._imageData;void 0!=b._storeID&&f&&f._invalid&&this._updateTextureImageData(a,f)}b._drawID=this._drawID,b._batchID=this._batchID},b._killTextureObject=function(a){if(a){var b=this._webGLContext;if(void 0!==a._storeID&&a._storeID>=0){this._textureDictionary[a._storeID]=void 0;for(var c in this._textureIDs)this._textureIDs[c]==a._storeID&&delete this._textureIDs[c];a._imageData&&(a._imageData._storeID=void 0),a._imageData=a._storeID=void 0}void 0!==a._activeIndex&&this._batchTextures[a._activeIndex]===a&&(this._batchTextures[a._activeIndex]=this._baseTextures[a._activeIndex]);try{a._frameBuffer&&b.deleteFramebuffer(a._frameBuffer),a._frameBuffer=void 0}catch(d){this.vocalDebug&&console.log(d)}try{b.deleteTexture(a)}catch(d){this.vocalDebug&&console.log(d)}}},b._backupBatchTextures=function(a,b){var c=this._webGLContext;this._backupTextures||(this._backupTextures=[]),void 0===b&&(b=this._backupTextures);for(var d=0;d 0&&this._drawBuffers(b),this._isDrawing++,this._drawID++,this.batchCardCount=0,this.depth=0,this._appendToBatchGroup(a,b,new createjs.Matrix2D,this.alpha,c),this.batchReason="drawFinish",this._drawBuffers(b),this._isDrawing--},b._cacheDraw=function(a,b,c,d){var e,f=this._activeShader,g=this._slotBlacklist,h=this._maxTextureSlots-1,i=this._viewportWidth,j=this._viewportHeight;this.protectTextureSlot(h,!0);var k=b.getMatrix();k=k.clone(),k.scale(1/d.scale,1/d.scale),k=k.invert(),k.translate(-d.offX/d.scale*b.scaleX,-d.offY/d.scale*b.scaleY);var l=this._cacheContainer;l.children=[b],l.transformMatrix=k,this._backupBatchTextures(!1),c&&c.length?this._drawFilters(b,c,d):this.isCacheControlled?(a.clear(a.COLOR_BUFFER_BIT),this._batchDraw(l,a,!0)):(a.activeTexture(a.TEXTURE0+h),b.cacheCanvas=this.getTargetRenderTexture(b,d._drawWidth,d._drawHeight),e=b.cacheCanvas,a.bindFramebuffer(a.FRAMEBUFFER,e._frameBuffer),this.updateViewport(d._drawWidth,d._drawHeight),this._projectionMatrix=this._projectionMatrixFlip,a.clear(a.COLOR_BUFFER_BIT),this._batchDraw(l,a,!0),a.bindFramebuffer(a.FRAMEBUFFER,null),this.updateViewport(i,j)),this._backupBatchTextures(!0),this.protectTextureSlot(h,!1),this._activeShader=f,this._slotBlacklist=g},b._drawFilters=function(a,b,c){var d,e=this._webGLContext,f=this._maxTextureSlots-1,g=this._viewportWidth,h=this._viewportHeight,i=this._cacheContainer,j=b.length;e.activeTexture(e.TEXTURE0+f),d=this.getTargetRenderTexture(a,c._drawWidth,c._drawHeight),e.bindFramebuffer(e.FRAMEBUFFER,d._frameBuffer),this.updateViewport(c._drawWidth,c._drawHeight),e.clear(e.COLOR_BUFFER_BIT),this._batchDraw(i,e,!0),e.activeTexture(e.TEXTURE0),e.bindTexture(e.TEXTURE_2D,d),this.setTextureParams(e);var k=!1,l=0,m=b[l];do this._activeShader=this.getFilterShader(m),this._activeShader&&(e.activeTexture(e.TEXTURE0+f),d=this.getTargetRenderTexture(a,c._drawWidth,c._drawHeight),e.bindFramebuffer(e.FRAMEBUFFER,d._frameBuffer),e.viewport(0,0,c._drawWidth,c._drawHeight),e.clear(e.COLOR_BUFFER_BIT),this._drawCover(e,k),e.activeTexture(e.TEXTURE0),e.bindTexture(e.TEXTURE_2D,d),this.setTextureParams(e),(j>1||b[0]._multiPass)&&(k=!k),m=null!==m._multiPass?m._multiPass:b[++l]);while(m);this.isCacheControlled?(e.bindFramebuffer(e.FRAMEBUFFER,null),this.updateViewport(g,h),this._activeShader=this.getFilterShader(this),e.clear(e.COLOR_BUFFER_BIT),this._drawCover(e,k)):(k&&(e.activeTexture(e.TEXTURE0+f),d=this.getTargetRenderTexture(a,c._drawWidth,c._drawHeight),e.bindFramebuffer(e.FRAMEBUFFER,d._frameBuffer),this._activeShader=this.getFilterShader(this),e.viewport(0,0,c._drawWidth,c._drawHeight),e.clear(e.COLOR_BUFFER_BIT),this._drawCover(e,!k)),e.bindFramebuffer(e.FRAMEBUFFER,null),this.updateViewport(g,h),a.cacheCanvas=d)},b._appendToBatchGroup=function(b,c,d,e,f){b._glMtx||(b._glMtx=new createjs.Matrix2D);var g=b._glMtx;g.copy(d),b.transformMatrix?g.appendMatrix(b.transformMatrix):g.appendTransform(b.x,b.y,b.scaleX,b.scaleY,b.rotation,b.skewX,b.skewY,b.regX,b.regY);for(var h,i,j,k,l=b.children.length,m=0;l>m;m++){var n=b.children[m];if(n.visible&&e)if(n.cacheCanvas&&!f||(n._updateState&&n._updateState(),!n.children)){this.batchCardCount+1>this._maxCardsPerBatch&&(this.batchReason="vertexOverflow",this._drawBuffers(c),this.batchCardCount=0),n._glMtx||(n._glMtx=new createjs.Matrix2D);var o=n._glMtx;o.copy(g),n.transformMatrix?o.appendMatrix(n.transformMatrix):o.appendTransform(n.x,n.y,n.scaleX,n.scaleY,n.rotation,n.skewX,n.skewY,n.regX,n.regY);var p,q,r,s,t,u,v=n.cacheCanvas&&!f;if(2===n._webGLRenderStyle||v)r=(f?!1:n.cacheCanvas)||n.image;else{if(1!==n._webGLRenderStyle)continue;if(s=n.spriteSheet.getFrame(n.currentFrame),null===s)continue;r=s.image}var w=this._uvs,x=this._vertices,y=this._indices,z=this._alphas;if(r){if(void 0===r._storeID)t=this._loadTextureImage(c,r),this._insertTextureInBatch(c,t);else{if(t=this._textureDictionary[r._storeID],!t){this.vocalDebug&&console.log("Texture should not be looked up while not being stored.");continue}t._batchID!==this._batchID&&this._insertTextureInBatch(c,t)}if(q=t._activeIndex,2===n._webGLRenderStyle||v)!v&&n.sourceRect?(n._uvRect||(n._uvRect={}),u=n.sourceRect,p=n._uvRect,p.t=u.y/r.height,p.l=u.x/r.width,p.b=(u.y+u.height)/r.height,p.r=(u.x+u.width)/r.width,h=0,i=0,j=u.width+h,k=u.height+i):(p=a.UV_RECT,v?(u=n.bitmapCache,h=u.x+u._filterOffX/u.scale,i=u.y+u._filterOffY/u.scale,j=u._drawWidth/u.scale+h,k=u._drawHeight/u.scale+i):(h=0,i=0,j=r.width+h,k=r.height+i));else if(1===n._webGLRenderStyle){var A=s.rect;p=s.uvRect,p||(p=a.buildUVRects(n.spriteSheet,n.currentFrame,!1)),h=-s.regX,i=-s.regY,j=A.width-s.regX,k=A.height-s.regY}var B=this.batchCardCount*a.INDICIES_PER_CARD,C=2*B;x[C]=h*o.a+i*o.c+o.tx,x[C+1]=h*o.b+i*o.d+o.ty,x[C+2]=h*o.a+k*o.c+o.tx,x[C+3]=h*o.b+k*o.d+o.ty,x[C+4]=j*o.a+i*o.c+o.tx,x[C+5]=j*o.b+i*o.d+o.ty,x[C+6]=x[C+2],x[C+7]=x[C+3],x[C+8]=x[C+4],x[C+9]=x[C+5],x[C+10]=j*o.a+k*o.c+o.tx,x[C+11]=j*o.b+k*o.d+o.ty,w[C]=p.l,w[C+1]=p.t,w[C+2]=p.l,w[C+3]=p.b,w[C+4]=p.r,w[C+5]=p.t,w[C+6]=p.l,w[C+7]=p.b,w[C+8]=p.r,w[C+9]=p.t,w[C+10]=p.r,w[C+11]=p.b,y[B]=y[B+1]=y[B+2]=y[B+3]=y[B+4]=y[B+5]=q,z[B]=z[B+1]=z[B+2]=z[B+3]=z[B+4]=z[B+5]=n.alpha*e,this.batchCardCount++}}else this._appendToBatchGroup(n,c,g,n.alpha*e)}},b._drawBuffers=function(b){if(!(this.batchCardCount<=0)){this.vocalDebug&&console.log("Draw["+this._drawID+":"+this._batchID+"] : "+this.batchReason);var c=this._activeShader,d=this._vertexPositionBuffer,e=this._textureIndexBuffer,f=this._uvPositionBuffer,g=this._alphaBuffer;b.useProgram(c),b.bindBuffer(b.ARRAY_BUFFER,d),b.vertexAttribPointer(c.vertexPositionAttribute,d.itemSize,b.FLOAT,!1,0,0),b.bufferSubData(b.ARRAY_BUFFER,0,this._vertices),b.bindBuffer(b.ARRAY_BUFFER,e),b.vertexAttribPointer(c.textureIndexAttribute,e.itemSize,b.FLOAT,!1,0,0),b.bufferSubData(b.ARRAY_BUFFER,0,this._indices),b.bindBuffer(b.ARRAY_BUFFER,f),b.vertexAttribPointer(c.uvPositionAttribute,f.itemSize,b.FLOAT,!1,0,0),b.bufferSubData(b.ARRAY_BUFFER,0,this._uvs),b.bindBuffer(b.ARRAY_BUFFER,g),b.vertexAttribPointer(c.alphaAttribute,g.itemSize,b.FLOAT,!1,0,0),b.bufferSubData(b.ARRAY_BUFFER,0,this._alphas),b.uniformMatrix4fv(c.pMatrixUniform,b.FALSE,this._projectionMatrix);for(var h=0;h 0&&this._drawBuffers(b),this.vocalDebug&&console.log("Draw["+this._drawID+":"+this._batchID+"] : Cover");var d=this._activeShader,e=this._vertexPositionBuffer,f=this._uvPositionBuffer;b.clear(b.COLOR_BUFFER_BIT),b.useProgram(d),b.bindBuffer(b.ARRAY_BUFFER,e),b.vertexAttribPointer(d.vertexPositionAttribute,e.itemSize,b.FLOAT,!1,0,0),b.bufferSubData(b.ARRAY_BUFFER,0,a.COVER_VERT),b.bindBuffer(b.ARRAY_BUFFER,f),b.vertexAttribPointer(d.uvPositionAttribute,f.itemSize,b.FLOAT,!1,0,0),b.bufferSubData(b.ARRAY_BUFFER,0,c?a.COVER_UV_FLIP:a.COVER_UV),b.uniform1i(d.samplerUniform,0),b.uniform1f(d.uprightUniform,c?0:1),b.drawArrays(b.TRIANGLES,0,a.INDICIES_PER_CARD)},createjs.StageGL=createjs.promote(a,"Stage")}(),this.createjs=this.createjs||{},function(){function a(a){this.DisplayObject_constructor(),"string"==typeof a?(this.image=document.createElement("img"),this.image.src=a):this.image=a,this.sourceRect=null,this._webGLRenderStyle=createjs.DisplayObject._StageGL_BITMAP}var b=createjs.extend(a,createjs.DisplayObject);b.initialize=a,b.isVisible=function(){var a=this.image,b=this.cacheCanvas||a&&(a.naturalWidth||a.getContext||a.readyState>=2);return!!(this.visible&&this.alpha>0&&0!=this.scaleX&&0!=this.scaleY&&b)},b.draw=function(a,b){if(this.DisplayObject_draw(a,b))return!0;var c=this.image,d=this.sourceRect;if(c.getImage&&(c=c.getImage()),!c)return!0;if(d){var e=d.x,f=d.y,g=e+d.width,h=f+d.height,i=0,j=0,k=c.width,l=c.height;0>e&&(i-=e,e=0),g>k&&(g=k),0>f&&(j-=f,f=0),h>l&&(h=l),a.drawImage(c,e,f,g-e,h-f,i,j,g-e,h-f)}else a.drawImage(c,0,0);return!0},b.getBounds=function(){var a=this.DisplayObject_getBounds();if(a)return a;var b=this.image,c=this.sourceRect||b,d=b&&(b.naturalWidth||b.getContext||b.readyState>=2);return d?this._rectangle.setValues(0,0,c.width,c.height):null},b.clone=function(b){var c=this.image;c&&b&&(c=c.cloneNode());var d=new a(c);return this.sourceRect&&(d.sourceRect=this.sourceRect.clone()),this._cloneProps(d),d},b.toString=function(){return"[Bitmap (name="+this.name+")]"},createjs.Bitmap=createjs.promote(a,"DisplayObject")}(),this.createjs=this.createjs||{},function(){"use strict";function a(a,b){this.DisplayObject_constructor(),this.currentFrame=0,this.currentAnimation=null,this.paused=!0,this.spriteSheet=a,this.currentAnimationFrame=0,this.framerate=0,this._animation=null,this._currentFrame=null,this._skipAdvance=!1,this._webGLRenderStyle=createjs.DisplayObject._StageGL_SPRITE,null!=b&&this.gotoAndPlay(b)}var b=createjs.extend(a,createjs.DisplayObject);b.initialize=a,b.isVisible=function(){var a=this.cacheCanvas||this.spriteSheet.complete;return!!(this.visible&&this.alpha>0&&0!=this.scaleX&&0!=this.scaleY&&a)},b.draw=function(a,b){if(this.DisplayObject_draw(a,b))return!0;this._normalizeFrame();var c=this.spriteSheet.getFrame(0|this._currentFrame);if(!c)return!1;var d=c.rect;return d.width&&d.height&&a.drawImage(c.image,d.x,d.y,d.width,d.height,-c.regX,-c.regY,d.width,d.height),!0},b.play=function(){this.paused=!1},b.stop=function(){this.paused=!0},b.gotoAndPlay=function(a){this.paused=!1,this._skipAdvance=!0,this._goto(a)},b.gotoAndStop=function(a){this.paused=!0,this._goto(a)},b.advance=function(a){var b=this.framerate||this.spriteSheet.framerate,c=b&&null!=a?a/(1e3/b):1;this._normalizeFrame(c)},b.getBounds=function(){return this.DisplayObject_getBounds()||this.spriteSheet.getFrameBounds(this.currentFrame,this._rectangle)},b.clone=function(){return this._cloneProps(new a(this.spriteSheet))},b.toString=function(){return"[Sprite (name="+this.name+")]"},b._cloneProps=function(a){return this.DisplayObject__cloneProps(a),a.currentFrame=this.currentFrame,a.currentAnimation=this.currentAnimation,a.paused=this.paused,a.currentAnimationFrame=this.currentAnimationFrame,a.framerate=this.framerate,a._animation=this._animation,a._currentFrame=this._currentFrame,a._skipAdvance=this._skipAdvance,a},b._tick=function(a){this.paused||(this._skipAdvance||this.advance(a&&a.delta),this._skipAdvance=!1),this.DisplayObject__tick(a)},b._normalizeFrame=function(a){a=a||0;var b,c=this._animation,d=this.paused,e=this._currentFrame;if(c){var f=c.speed||1,g=this.currentAnimationFrame;if(b=c.frames.length,g+a*f>=b){var h=c.next;if(this._dispatchAnimationEnd(c,e,d,h,b-1))return;if(h)return this._goto(h,a-(b-g)/f);this.paused=!0,g=c.frames.length-1}else g+=a*f;this.currentAnimationFrame=g,this._currentFrame=c.frames[0|g]}else if(e=this._currentFrame+=a,b=this.spriteSheet.getNumFrames(),e>=b&&b>0&&!this._dispatchAnimationEnd(c,e,d,b-1)&&(this._currentFrame-=b)>=b)return this._normalizeFrame();e=0|this._currentFrame,this.currentFrame!=e&&(this.currentFrame=e,this.dispatchEvent("change"))},b._dispatchAnimationEnd=function(a,b,c,d,e){var f=a?a.name:null;if(this.hasEventListener("animationend")){var g=new createjs.Event("animationend");g.name=f,g.next=d,this.dispatchEvent(g)}var h=this._animation!=a||this._currentFrame!=b;return h||c||!this.paused||(this.currentAnimationFrame=e,h=!0),h},b._goto=function(a,b){if(this.currentAnimationFrame=0,isNaN(a)){var c=this.spriteSheet.getAnimation(a);c&&(this._animation=c,this.currentAnimation=a,this._normalizeFrame(b))}else this.currentAnimation=this._animation=null,this._currentFrame=a,this._normalizeFrame()},createjs.Sprite=createjs.promote(a,"DisplayObject")}(),this.createjs=this.createjs||{},function(){"use strict";function a(a){this.DisplayObject_constructor(),this.graphics=a?a:new createjs.Graphics}var b=createjs.extend(a,createjs.DisplayObject);b.isVisible=function(){var a=this.cacheCanvas||this.graphics&&!this.graphics.isEmpty();return!!(this.visible&&this.alpha>0&&0!=this.scaleX&&0!=this.scaleY&&a)},b.draw=function(a,b){return this.DisplayObject_draw(a,b)?!0:(this.graphics.draw(a,this),!0)},b.clone=function(b){var c=b&&this.graphics?this.graphics.clone():this.graphics;return this._cloneProps(new a(c))},b.toString=function(){return"[Shape (name="+this.name+")]"},createjs.Shape=createjs.promote(a,"DisplayObject")}(),this.createjs=this.createjs||{},function(){"use strict";function a(a,b,c){this.DisplayObject_constructor(),this.text=a,this.font=b,this.color=c,this.textAlign="left",this.textBaseline="top",this.maxWidth=null,this.outline=0,this.lineHeight=0,this.lineWidth=null}var b=createjs.extend(a,createjs.DisplayObject),c=createjs.createCanvas?createjs.createCanvas():document.createElement("canvas");c.getContext&&(a._workingContext=c.getContext("2d"),c.width=c.height=1),a.H_OFFSETS={start:0,left:0,center:-.5,end:-1,right:-1},a.V_OFFSETS={top:0,hanging:-.01,middle:-.4,alphabetic:-.8,ideographic:-.85,bottom:-1},b.isVisible=function(){var a=this.cacheCanvas||null!=this.text&&""!==this.text;return!!(this.visible&&this.alpha>0&&0!=this.scaleX&&0!=this.scaleY&&a)},b.draw=function(a,b){if(this.DisplayObject_draw(a,b))return!0;var c=this.color||"#000";return this.outline?(a.strokeStyle=c,a.lineWidth=1*this.outline):a.fillStyle=c,this._drawText(this._prepContext(a)),!0},b.getMeasuredWidth=function(){return this._getMeasuredWidth(this.text)},b.getMeasuredLineHeight=function(){return 1.2*this._getMeasuredWidth("M")},b.getMeasuredHeight=function(){return this._drawText(null,{}).height},b.getBounds=function(){var b=this.DisplayObject_getBounds();if(b)return b;if(null==this.text||""===this.text)return null;var c=this._drawText(null,{}),d=this.maxWidth&&this.maxWidth 20?this.text.substr(0,17)+"...":this.text)+")]"},b._cloneProps=function(a){return this.DisplayObject__cloneProps(a),a.textAlign=this.textAlign,a.textBaseline=this.textBaseline,a.maxWidth=this.maxWidth,a.outline=this.outline,a.lineHeight=this.lineHeight,a.lineWidth=this.lineWidth,a},b._prepContext=function(a){return a.font=this.font||"10px sans-serif",a.textAlign=this.textAlign||"left",a.textBaseline=this.textBaseline||"top",a.lineJoin="miter",a.miterLimit=2.5,a},b._drawText=function(b,c,d){var e=!!b;e||(b=a._workingContext,b.save(),this._prepContext(b));for(var f=this.lineHeight||this.getMeasuredLineHeight(),g=0,h=0,i=String(this.text).split(/(?:\r\n|\r|\n)/),j=0,k=i.length;k>j;j++){var l=i[j],m=null;if(null!=this.lineWidth&&(m=b.measureText(l).width)>this.lineWidth){var n=l.split(/(\s)/);l=n[0],m=b.measureText(l).width;for(var o=1,p=n.length;p>o;o+=2){var q=b.measureText(n[o]+n[o+1]).width;m+q>this.lineWidth?(e&&this._drawTextLine(b,l,h*f),d&&d.push(l),m>g&&(g=m),l=n[o+1],m=b.measureText(l).width,h++):(l+=n[o]+n[o+1],m+=q)}}e&&this._drawTextLine(b,l,h*f),d&&d.push(l),c&&null==m&&(m=b.measureText(l).width),m>g&&(g=m),h++}return c&&(c.width=g,c.height=h*f),e||b.restore(),c},b._drawTextLine=function(a,b,c){this.outline?a.strokeText(b,0,c,this.maxWidth||65535):a.fillText(b,0,c,this.maxWidth||65535)},b._getMeasuredWidth=function(b){var c=a._workingContext;c.save();var d=this._prepContext(c).measureText(b).width;return c.restore(),d},createjs.Text=createjs.promote(a,"DisplayObject")}(),this.createjs=this.createjs||{},function(){"use strict";function a(a,b){this.Container_constructor(),this.text=a||"",this.spriteSheet=b,this.lineHeight=0,this.letterSpacing=0,this.spaceWidth=0,this._oldProps={text:0,spriteSheet:0,lineHeight:0,letterSpacing:0,spaceWidth:0},this._oldStage=null,this._drawAction=null}var b=createjs.extend(a,createjs.Container);a.maxPoolSize=100,a._spritePool=[],b.draw=function(a,b){this.DisplayObject_draw(a,b)||(this._updateState(),this.Container_draw(a,b))},b.getBounds=function(){return this._updateText(),this.Container_getBounds()},b.isVisible=function(){var a=this.cacheCanvas||this.spriteSheet&&this.spriteSheet.complete&&this.text;return!!(this.visible&&this.alpha>0&&0!==this.scaleX&&0!==this.scaleY&&a)},b.clone=function(){return this._cloneProps(new a(this.text,this.spriteSheet))},b.addChild=b.addChildAt=b.removeChild=b.removeChildAt=b.removeAllChildren=function(){},b._updateState=function(){this._updateText()},b._cloneProps=function(a){return this.Container__cloneProps(a),a.lineHeight=this.lineHeight,a.letterSpacing=this.letterSpacing,a.spaceWidth=this.spaceWidth,a},b._getFrameIndex=function(a,b){var c,d=b.getAnimation(a);return d||(a!=(c=a.toUpperCase())||a!=(c=a.toLowerCase())||(c=null),c&&(d=b.getAnimation(c))),d&&d.frames[0]},b._getFrame=function(a,b){var c=this._getFrameIndex(a,b);return null==c?c:b.getFrame(c)},b._getLineHeight=function(a){var b=this._getFrame("1",a)||this._getFrame("T",a)||this._getFrame("L",a)||a.getFrame(0);return b?b.rect.height:1},b._getSpaceWidth=function(a){var b=this._getFrame("1",a)||this._getFrame("l",a)||this._getFrame("e",a)||this._getFrame("a",a)||a.getFrame(0);return b?b.rect.width:1},b._updateText=function(){var b,c=0,d=0,e=this._oldProps,f=!1,g=this.spaceWidth,h=this.lineHeight,i=this.spriteSheet,j=a._spritePool,k=this.children,l=0,m=k.length;for(var n in e)e[n]!=this[n]&&(e[n]=this[n],f=!0);if(f){var o=!!this._getFrame(" ",i);o||g||(g=this._getSpaceWidth(i)),h||(h=this._getLineHeight(i));for(var p=0,q=this.text.length;q>p;p++){var r=this.text.charAt(p);if(" "!=r||o)if("\n"!=r&&"\r"!=r){var s=this._getFrameIndex(r,i);null!=s&&(m>l?b=k[l]:(k.push(b=j.length?j.pop():new createjs.Sprite),b.parent=this,m++),b.spriteSheet=i,b.gotoAndStop(s),b.x=c,b.y=d,l++,c+=b.getBounds().width+this.letterSpacing)}else"\r"==r&&"\n"==this.text.charAt(p+1)&&p++,c=0,d+=h;else c+=g}for(;m>l;)j.push(b=k.pop()),b.parent=null,m--;j.length>a.maxPoolSize&&(j.length=a.maxPoolSize)}},createjs.BitmapText=createjs.promote(a,"Container")}(),this.createjs=this.createjs||{},function(){"use strict";function a(b){this.Container_constructor(),!a.inited&&a.init();var c,d,e,f;b instanceof String||arguments.length>1?(c=b,d=arguments[1],e=arguments[2],f=arguments[3],null==e&&(e=-1),b=null):b&&(c=b.mode,d=b.startPosition,e=b.loop,f=b.labels),b||(b={labels:f}),this.mode=c||a.INDEPENDENT,this.startPosition=d||0,this.loop=e===!0?-1:e||0,this.currentFrame=0,this.paused=b.paused||!1,this.actionsEnabled=!0,this.autoReset=!0,this.frameBounds=this.frameBounds||b.frameBounds,this.framerate=null,b.useTicks=b.paused=!0,this.timeline=new createjs.Timeline(b),this._synchOffset=0,this._rawPosition=-1,this._bound_resolveState=this._resolveState.bind(this),this._t=0,this._managed={}}function b(){throw"MovieClipPlugin cannot be instantiated."}var c=createjs.extend(a,createjs.Container);a.INDEPENDENT="independent",a.SINGLE_FRAME="single",a.SYNCHED="synched",a.inited=!1,a.init=function(){a.inited||(b.install(),a.inited=!0)},c._getLabels=function(){return this.timeline.getLabels()},c.getLabels=createjs.deprecate(c._getLabels,"MovieClip.getLabels"),c._getCurrentLabel=function(){return this.timeline.currentLabel},c.getCurrentLabel=createjs.deprecate(c._getCurrentLabel,"MovieClip.getCurrentLabel"),c._getDuration=function(){return this.timeline.duration},c.getDuration=createjs.deprecate(c._getDuration,"MovieClip.getDuration");try{Object.defineProperties(c,{labels:{get:c._getLabels},currentLabel:{get:c._getCurrentLabel},totalFrames:{get:c._getDuration},duration:{get:c._getDuration}})}catch(d){}c.initialize=a,c.isVisible=function(){return!!(this.visible&&this.alpha>0&&0!=this.scaleX&&0!=this.scaleY)},c.draw=function(a,b){return this.DisplayObject_draw(a,b)?!0:(this._updateState(),this.Container_draw(a,b),!0)},c.play=function(){this.paused=!1},c.stop=function(){this.paused=!0},c.gotoAndPlay=function(a){this.paused=!1,this._goto(a)},c.gotoAndStop=function(a){this.paused=!0,this._goto(a)},c.advance=function(b){var c=a.INDEPENDENT;if(this.mode===c){for(var d=this,e=d.framerate;(d=d.parent)&&null===e;)d.mode===c&&(e=d._framerate);if(this._framerate=e,!this.paused){var f=null!==e&&-1!==e&&null!==b?b/(1e3/e)+this._t:1,g=0|f;for(this._t=f-g;g--;)this._updateTimeline(this._rawPosition+1,!1)}}},c.clone=function(){throw"MovieClip cannot be cloned."},c.toString=function(){return"[MovieClip (name="+this.name+")]"},c._updateState=function(){(-1===this._rawPosition||this.mode!==a.INDEPENDENT)&&this._updateTimeline(-1)},c._tick=function(a){this.advance(a&&a.delta),this.Container__tick(a)},c._goto=function(a){var b=this.timeline.resolve(a);null!=b&&(this._t=0,this._updateTimeline(b,!0))},c._reset=function(){this._rawPosition=-1,this._t=this.currentFrame=0,this.paused=!1},c._updateTimeline=function(b,c){var d=this.mode!==a.INDEPENDENT,e=this.timeline;d&&(b=this.startPosition+(this.mode===a.SINGLE_FRAME?0:this._synchOffset)),0>b&&(b=0),(this._rawPosition!==b||d)&&(this._rawPosition=b,e.loop=this.loop,e.setPosition(b,d||!this.actionsEnabled,c,this._bound_resolveState))},c._renderFirstFrame=function(){var a=this.timeline,b=a.rawPosition;a.setPosition(0,!0,!0,this._bound_resolveState),a.rawPosition=b},c._resolveState=function(){var a=this.timeline;this.currentFrame=a.position;for(var b in this._managed)this._managed[b]=1;for(var c=a.tweens,d=0,e=c.length;e>d;d++){var f=c[d],g=f.target;if(g!==this&&!f.passive){var h=f._stepPosition;g instanceof createjs.DisplayObject?this._addManagedChild(g,h):this._setState(g.state,h)}}var i=this.children;for(d=i.length-1;d>=0;d--){var j=i[d].id;1===this._managed[j]&&(this.removeChildAt(d),delete this._managed[j])}},c._setState=function(a,b){if(a)for(var c=a.length-1;c>=0;c--){var d=a[c],e=d.t,f=d.p;for(var g in f)e[g]=f[g];this._addManagedChild(e,b)}},c._addManagedChild=function(b,c){b._off||(this.addChildAt(b,0),b instanceof a&&(b._synchOffset=c,b.mode===a.INDEPENDENT&&b.autoReset&&!this._managed[b.id]&&b._reset()),this._managed[b.id]=2)},c._getBounds=function(a,b){var c=this.DisplayObject_getBounds();return c||this.frameBounds&&(c=this._rectangle.copy(this.frameBounds[this.currentFrame])),c?this._transformBounds(c,a,b):this.Container__getBounds(a,b)},createjs.MovieClip=createjs.promote(a,"Container"),b.priority=100,b.ID="MovieClip",b.install=function(){createjs.Tween._installPlugin(b)},b.init=function(c,d,e){"startPosition"===d&&c.target instanceof a&&c._addPlugin(b)},b.step=function(a,b,c){},b.change=function(a,b,c,d,e,f){return"startPosition"===c?1===e?b.props[c]:b.prev.props[c]:void 0}}(),this.createjs=this.createjs||{},function(){"use strict";function a(){throw"SpriteSheetUtils cannot be instantiated"}var b=createjs.createCanvas?createjs.createCanvas():document.createElement("canvas");b.getContext&&(a._workingCanvas=b,a._workingContext=b.getContext("2d"),b.width=b.height=1),a.extractFrame=function(b,c){isNaN(c)&&(c=b.getAnimation(c).frames[0]);var d=b.getFrame(c);if(!d)return null;var e=d.rect,f=a._workingCanvas;f.width=e.width,f.height=e.height,a._workingContext.drawImage(d.image,e.x,e.y,e.width,e.height,0,0,e.width,e.height);var g=document.createElement("img");return g.src=f.toDataURL("image/png"),g},a.addFlippedFrames=createjs.deprecate(null,"SpriteSheetUtils.addFlippedFrames"),a.mergeAlpha=createjs.deprecate(null,"SpriteSheetUtils.mergeAlpha"),a._flip=function(b,c,d,e){for(var f=b._images,g=a._workingCanvas,h=a._workingContext,i=f.length/c,j=0;i>j;j++){var k=f[j];k.__tmp=j,h.setTransform(1,0,0,1,0,0),h.clearRect(0,0,g.width+1,g.height+1),g.width=k.width,g.height=k.height,h.setTransform(d?-1:1,0,0,e?-1:1,d?k.width:0,e?k.height:0),h.drawImage(k,0,0);var l=document.createElement("img");l.src=g.toDataURL("image/png"),l.width=k.width||k.naturalWidth,l.height=k.height||k.naturalHeight, +f.push(l)}var m=b._frames,n=m.length/c;for(j=0;n>j;j++){k=m[j];var o=k.rect.clone();l=f[k.image.__tmp+i*c];var p={image:l,rect:o,regX:k.regX,regY:k.regY};d&&(o.x=(l.width||l.naturalWidth)-o.x-o.width,p.regX=o.width-k.regX),e&&(o.y=(l.height||l.naturalHeight)-o.y-o.height,p.regY=o.height-k.regY),m.push(p)}var q="_"+(d?"h":"")+(e?"v":""),r=b._animations,s=b._data,t=r.length/c;for(j=0;t>j;j++){var u=r[j];k=s[u];var v={name:u+q,speed:k.speed,next:k.next,frames:[]};k.next&&(v.next+=q),m=k.frames;for(var w=0,x=m.length;x>w;w++)v.frames.push(m[w]+n*c);s[v.name]=v,r.push(v.name)}},createjs.SpriteSheetUtils=a}(),this.createjs=this.createjs||{},function(){"use strict";function a(a){this.EventDispatcher_constructor(),this.maxWidth=2048,this.maxHeight=2048,this.spriteSheet=null,this.scale=1,this.padding=1,this.timeSlice=.3,this.progress=-1,this.framerate=a||0,this._frames=[],this._animations={},this._data=null,this._nextFrameIndex=0,this._index=0,this._timerID=null,this._scale=1}var b=createjs.extend(a,createjs.EventDispatcher);a.ERR_DIMENSIONS="frame dimensions exceed max spritesheet dimensions",a.ERR_RUNNING="a build is already running",b.addFrame=function(b,c,d,e,f){if(this._data)throw a.ERR_RUNNING;var g=c||b.bounds||b.nominalBounds;return!g&&b.getBounds&&(g=b.getBounds()),g?(d=d||1,this._frames.push({source:b,sourceRect:g,scale:d,funct:e,data:f,index:this._frames.length,height:g.height*d})-1):null},b.addAnimation=function(b,c,d,e){if(this._data)throw a.ERR_RUNNING;this._animations[b]={frames:c,next:d,speed:e}},b.addMovieClip=function(b,c,d,e,f,g){if(this._data)throw a.ERR_RUNNING;var h=b.frameBounds,i=c||b.bounds||b.nominalBounds;if(!i&&b.getBounds&&(i=b.getBounds()),i||h){var j,k,l=this._frames.length,m=b.timeline.duration;for(j=0;m>j;j++){var n=h&&h[j]?h[j]:i;this.addFrame(b,n,d,this._setupMovieClipFrame,{i:j,f:e,d:f})}var o=b.timeline._labels,p=[];for(var q in o)p.push({index:o[q],label:q});if(p.length)for(p.sort(function(a,b){return a.index-b.index}),j=0,k=p.length;k>j;j++){for(var r=p[j].label,s=l+p[j].index,t=l+(j==k-1?m:p[j+1].index),u=[],v=s;t>v;v++)u.push(v);(!g||(r=g(r,b,s,t)))&&this.addAnimation(r,u,!0)}}},b.build=function(){if(this._data)throw a.ERR_RUNNING;for(this._startBuild();this._drawNext(););return this._endBuild(),this.spriteSheet},b.buildAsync=function(b){if(this._data)throw a.ERR_RUNNING;this.timeSlice=b,this._startBuild();var c=this;this._timerID=setTimeout(function(){c._run()},50-50*Math.max(.01,Math.min(.99,this.timeSlice||.3)))},b.stopAsync=function(){clearTimeout(this._timerID),this._data=null},b.clone=function(){throw"SpriteSheetBuilder cannot be cloned."},b.toString=function(){return"[SpriteSheetBuilder]"},b._startBuild=function(){var b=this.padding||0;this.progress=0,this.spriteSheet=null,this._index=0,this._scale=this.scale;var c=[];this._data={images:[],frames:c,framerate:this.framerate,animations:this._animations};var d=this._frames.slice();if(d.sort(function(a,b){return a.height<=b.height?-1:1}),d[d.length-1].height+2*b>this.maxHeight)throw a.ERR_DIMENSIONS;for(var e=0,f=0,g=0;d.length;){var h=this._fillRow(d,e,g,c,b);if(h.w>f&&(f=h.w),e+=h.h,!h.h||!d.length){var i=createjs.createCanvas?createjs.createCanvas():document.createElement("canvas");i.width=this._getSize(f,this.maxWidth),i.height=this._getSize(e,this.maxHeight),this._data.images[g]=i,h.h||(f=e=0,g++)}}},b._setupMovieClipFrame=function(a,b){var c=a.actionsEnabled;a.actionsEnabled=!1,a.gotoAndStop(b.i),a.actionsEnabled=c,b.f&&b.f(a,b.d,b.i)},b._getSize=function(a,b){for(var c=4;Math.pow(2,++c)=0;l--){var m=b[l],n=this._scale*m.scale,o=m.sourceRect,p=m.source,q=Math.floor(n*o.x-f),r=Math.floor(n*o.y-f),s=Math.ceil(n*o.height+2*f),t=Math.ceil(n*o.width+2*f);if(t>g)throw a.ERR_DIMENSIONS;s>i||j+t>g||(m.img=d,m.rect=new createjs.Rectangle(j,c,t,s),k=k||s,b.splice(l,1),e[m.index]=[j,c,t,s,d,Math.round(-q+n*p.regX-f),Math.round(-r+n*p.regY-f)],j+=t)}return{w:j,h:k}},b._endBuild=function(){this.spriteSheet=new createjs.SpriteSheet(this._data),this._data=null,this.progress=1,this.dispatchEvent("complete")},b._run=function(){for(var a=50*Math.max(.01,Math.min(.99,this.timeSlice||.3)),b=(new Date).getTime()+a,c=!1;b>(new Date).getTime();)if(!this._drawNext()){c=!0;break}if(c)this._endBuild();else{var d=this;this._timerID=setTimeout(function(){d._run()},50-a)}var e=this.progress=this._index/this._frames.length;if(this.hasEventListener("progress")){var f=new createjs.Event("progress");f.progress=e,this.dispatchEvent(f)}},b._drawNext=function(){var a=this._frames[this._index],b=a.scale*this._scale,c=a.rect,d=a.sourceRect,e=this._data.images[a.img],f=e.getContext("2d");return a.funct&&a.funct(a.source,a.data),f.save(),f.beginPath(),f.rect(c.x,c.y,c.width,c.height),f.clip(),f.translate(Math.ceil(c.x-d.x*b),Math.ceil(c.y-d.y*b)),f.scale(b,b),a.source.draw(f),f.restore(),++this._index =!!d)return b;for(var e=0;d>e;e++){var f=c[e];if(f&&f.getBounds){var g=f.getBounds();g&&(0==e?b.setValues(g.x,g.y,g.width,g.height):b.extend(g.x,g.y,g.width,g.height))}}return b},b.toString=function(){return"[BitmapCache]"},b.define=function(a,b,c,d,e,f,g){if(!a)throw"No symbol to cache";this._options=g,this.target=a,this.width=d>=1?d:1,this.height=e>=1?e:1,this.x=b||0,this.y=c||0,this.scale=f||1,this.update()},b.update=function(b){if(!this.target)throw"define() must be called before update()";var c=a.getFilterBounds(this.target),d=this.target.cacheCanvas;this._drawWidth=Math.ceil(this.width*this.scale)+c.width,this._drawHeight=Math.ceil(this.height*this.scale)+c.height,d&&this._drawWidth==d.width&&this._drawHeight==d.height||this._updateSurface(),this._filterOffX=c.x,this._filterOffY=c.y,this.offX=this.x*this.scale+this._filterOffX,this.offY=this.y*this.scale+this._filterOffY,this._drawToCache(b),this.cacheID=this.cacheID?this.cacheID+1:1},b.release=function(){if(this._webGLCache)this._webGLCache.isCacheControlled||(this.__lastRT&&(this.__lastRT=void 0),this.__rtA&&this._webGLCache._killTextureObject(this.__rtA),this.__rtB&&this._webGLCache._killTextureObject(this.__rtB),this.target&&this.target.cacheCanvas&&this._webGLCache._killTextureObject(this.target.cacheCanvas)),this._webGLCache=!1;else{var a=this.target.stage;a instanceof createjs.StageGL&&a.releaseTexture(this.target.cacheCanvas)}this.target=this.target.cacheCanvas=null,this.cacheID=this._cacheDataURLID=this._cacheDataURL=void 0,this.width=this.height=this.x=this.y=this.offX=this.offY=0,this.scale=1},b.getCacheDataURL=function(){var a=this.target&&this.target.cacheCanvas;return a?(this.cacheID!=this._cacheDataURLID&&(this._cacheDataURLID=this.cacheID,this._cacheDataURL=a.toDataURL?a.toDataURL():null),this._cacheDataURL):null},b.draw=function(a){return this.target?(a.drawImage(this.target.cacheCanvas,this.x+this._filterOffX/this.scale,this.y+this._filterOffY/this.scale,this._drawWidth/this.scale,this._drawHeight/this.scale),!0):!1},b._updateSurface=function(){if(!this._options||!this._options.useGL){var a=this.target.cacheCanvas;return a||(a=this.target.cacheCanvas=createjs.createCanvas?createjs.createCanvas():document.createElement("canvas")),a.width=this._drawWidth,void(a.height=this._drawHeight)}if(!this._webGLCache)if("stage"===this._options.useGL){if(!this.target.stage||!this.target.stage.isWebGL){var b="Cannot use 'stage' for cache because the object's parent stage is ";throw b+=this.target.stage?"non WebGL.":"not set, please addChild to the correct stage."}this.target.cacheCanvas=!0,this._webGLCache=this.target.stage}else if("new"===this._options.useGL)this.target.cacheCanvas=document.createElement("canvas"),this._webGLCache=new createjs.StageGL(this.target.cacheCanvas,{antialias:!0,transparent:!0,autoPurge:-1}),this._webGLCache.isCacheControlled=!0;else{if(!(this._options.useGL instanceof createjs.StageGL))throw"Invalid option provided to useGL, expected ['stage', 'new', StageGL, undefined], got "+this._options.useGL;this.target.cacheCanvas=!0,this._webGLCache=this._options.useGL,this._webGLCache.isCacheControlled=!0}var a=this.target.cacheCanvas,c=this._webGLCache;c.isCacheControlled&&(a.width=this._drawWidth,a.height=this._drawHeight,c.updateViewport(this._drawWidth,this._drawHeight)),this.target.filters?(c.getTargetRenderTexture(this.target,this._drawWidth,this._drawHeight),c.getTargetRenderTexture(this.target,this._drawWidth,this._drawHeight)):c.isCacheControlled||c.getTargetRenderTexture(this.target,this._drawWidth,this._drawHeight)},b._drawToCache=function(a){var b=this.target.cacheCanvas,c=this.target,d=this._webGLCache;if(d)d.cacheDraw(c,c.filters,this),b=this.target.cacheCanvas,b.width=this._drawWidth,b.height=this._drawHeight;else{var e=b.getContext("2d");a||e.clearRect(0,0,this._drawWidth+1,this._drawHeight+1),e.save(),e.globalCompositeOperation=a,e.setTransform(this.scale,0,0,this.scale,-this._filterOffX,-this._filterOffY),e.translate(-this.x,-this.y),c.draw(e,!0),e.restore(),c.filters&&c.filters.length&&this._applyFilters(e)}b._invalid=!0},b._applyFilters=function(a){var b,c=this.target.filters,d=this._drawWidth,e=this._drawHeight,f=0,g=c[f];do g.usesContext?(b&&(a.putImageData(b,0,0),b=null),g.applyFilter(a,0,0,d,e)):(b||(b=a.getImageData(0,0,d,e)),g._applyFilter(b)),g=null!==g._multiPass?g._multiPass:c[++f];while(g);b&&a.putImageData(b,0,0)},createjs.BitmapCache=a}(),this.createjs=this.createjs||{},function(){"use strict";function a(a,b,c){this.Filter_constructor(),this._blurX=a,this._blurXTable=[],this._lastBlurX=null,this._blurY=b,this._blurYTable=[],this._lastBlurY=null,this._quality,this._lastQuality=null,this.FRAG_SHADER_TEMPLATE="uniform float xWeight[{{blurX}}];uniform float yWeight[{{blurY}}];uniform vec2 textureOffset;void main(void) {vec4 color = vec4(0.0);float xAdj = ({{blurX}}.0-1.0)/2.0;float yAdj = ({{blurY}}.0-1.0)/2.0;vec2 sampleOffset;for(int i=0; i<{{blurX}}; i++) {for(int j=0; j<{{blurY}}; j++) {sampleOffset = vRenderCoord + (textureOffset * vec2(float(i)-xAdj, float(j)-yAdj));color += texture2D(uSampler, sampleOffset) * (xWeight[i] * yWeight[j]);}}gl_FragColor = color.rgba;}",(isNaN(c)||1>c)&&(c=1),this.setQuality(0|c)}var b=createjs.extend(a,createjs.Filter);b.getBlurX=function(){return this._blurX},b.getBlurY=function(){return this._blurY},b.setBlurX=function(a){(isNaN(a)||0>a)&&(a=0),this._blurX=a},b.setBlurY=function(a){(isNaN(a)||0>a)&&(a=0),this._blurY=a},b.getQuality=function(){return this._quality},b.setQuality=function(a){(isNaN(a)||0>a)&&(a=0),this._quality=0|a},b._getShader=function(){var a=this._lastBlurX!==this._blurX,b=this._lastBlurY!==this._blurY,c=this._lastQuality!==this._quality;return a||b||c?((a||c)&&(this._blurXTable=this._getTable(this._blurX*this._quality)),(b||c)&&(this._blurYTable=this._getTable(this._blurY*this._quality)),this._updateShader(),this._lastBlurX=this._blurX,this._lastBlurY=this._blurY,void(this._lastQuality=this._quality)):this._compiledShader},b._setShader=function(){this._compiledShader};try{Object.defineProperties(b,{blurX:{get:b.getBlurX,set:b.setBlurX},blurY:{get:b.getBlurY,set:b.setBlurY},quality:{get:b.getQuality,set:b.setQuality},_builtShader:{get:b._getShader,set:b._setShader}})}catch(c){console.log(c)}b._getTable=function(a){var b=4.2;if(1>=a)return[1];var c=[],d=Math.ceil(2*a);d+=d%2?0:1;for(var e=d/2|0,f=-e;e>=f;f++){var g=f/e*b;c.push(1/Math.sqrt(2*Math.PI)*Math.pow(Math.E,-(Math.pow(g,2)/4)))}var h=c.reduce(function(a,b){return a+b});return c.map(function(a,b,c){return a/h})},b._updateShader=function(){if(void 0!==this._blurX&&void 0!==this._blurY){var a=this.FRAG_SHADER_TEMPLATE;a=a.replace(/\{\{blurX\}\}/g,this._blurXTable.length.toFixed(0)),a=a.replace(/\{\{blurY\}\}/g,this._blurYTable.length.toFixed(0)),this.FRAG_SHADER_BODY=a}},b.shaderParamSetup=function(a,b,c){a.uniform1fv(a.getUniformLocation(c,"xWeight"),this._blurXTable),a.uniform1fv(a.getUniformLocation(c,"yWeight"),this._blurYTable),a.uniform2f(a.getUniformLocation(c,"textureOffset"),2/(b._viewportWidth*this._quality),2/(b._viewportHeight*this._quality))},a.MUL_TABLE=[1,171,205,293,57,373,79,137,241,27,391,357,41,19,283,265,497,469,443,421,25,191,365,349,335,161,155,149,9,278,269,261,505,245,475,231,449,437,213,415,405,395,193,377,369,361,353,345,169,331,325,319,313,307,301,37,145,285,281,69,271,267,263,259,509,501,493,243,479,118,465,459,113,446,55,435,429,423,209,413,51,403,199,393,97,3,379,375,371,367,363,359,355,351,347,43,85,337,333,165,327,323,5,317,157,311,77,305,303,75,297,294,73,289,287,71,141,279,277,275,68,135,67,133,33,262,260,129,511,507,503,499,495,491,61,121,481,477,237,235,467,232,115,457,227,451,7,445,221,439,218,433,215,427,425,211,419,417,207,411,409,203,202,401,399,396,197,49,389,387,385,383,95,189,47,187,93,185,23,183,91,181,45,179,89,177,11,175,87,173,345,343,341,339,337,21,167,83,331,329,327,163,81,323,321,319,159,79,315,313,39,155,309,307,153,305,303,151,75,299,149,37,295,147,73,291,145,289,287,143,285,71,141,281,35,279,139,69,275,137,273,17,271,135,269,267,133,265,33,263,131,261,130,259,129,257,1],a.SHG_TABLE=[0,9,10,11,9,12,10,11,12,9,13,13,10,9,13,13,14,14,14,14,10,13,14,14,14,13,13,13,9,14,14,14,15,14,15,14,15,15,14,15,15,15,14,15,15,15,15,15,14,15,15,15,15,15,15,12,14,15,15,13,15,15,15,15,16,16,16,15,16,14,16,16,14,16,13,16,16,16,15,16,13,16,15,16,14,9,16,16,16,16,16,16,16,16,16,13,14,16,16,15,16,16,10,16,15,16,14,16,16,14,16,16,14,16,16,14,15,16,16,16,14,15,14,15,13,16,16,15,17,17,17,17,17,17,14,15,17,17,16,16,17,16,15,17,16,17,11,17,16,17,16,17,16,17,17,16,17,17,16,17,17,16,16,17,17,17,16,14,17,17,17,17,15,16,14,16,15,16,13,16,15,16,14,16,15,16,12,16,15,16,17,17,17,17,17,13,16,15,17,17,17,16,15,17,17,17,16,15,17,17,14,16,17,17,16,17,17,16,15,17,16,14,17,16,15,17,16,17,17,16,17,15,16,17,14,17,16,15,17,16,17,13,17,16,17,17,16,17,14,17,16,17,16,17,16,17,9],b.getBounds=function(a){var b=0|this.blurX,c=0|this.blurY;if(0>=b&&0>=c)return a;var d=Math.pow(this.quality,.2);return(a||new createjs.Rectangle).pad(c*d+1,b*d+1,c*d+1,b*d+1)},b.clone=function(){return new a(this.blurX,this.blurY,this.quality)},b.toString=function(){return"[BlurFilter]"},b._applyFilter=function(b){var c=this._blurX>>1;if(isNaN(c)||0>c)return!1;var d=this._blurY>>1;if(isNaN(d)||0>d)return!1;if(0==c&&0==d)return!1;var e=this.quality;(isNaN(e)||1>e)&&(e=1),e|=0,e>3&&(e=3),1>e&&(e=1);var f=b.data,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=c+c+1|0,w=d+d+1|0,x=0|b.width,y=0|b.height,z=x-1|0,A=y-1|0,B=c+1|0,C=d+1|0,D={r:0,b:0,g:0,a:0},E=D;for(i=1;v>i;i++)E=E.n={r:0,b:0,g:0,a:0};E.n=D;var F={r:0,b:0,g:0,a:0},G=F;for(i=1;w>i;i++)G=G.n={r:0,b:0,g:0,a:0};G.n=F;for(var H=null,I=0|a.MUL_TABLE[c],J=0|a.SHG_TABLE[c],K=0|a.MUL_TABLE[d],L=0|a.SHG_TABLE[d];e-->0;){m=l=0;var M=I,N=J;for(h=y;--h>-1;){for(n=B*(r=f[0|l]),o=B*(s=f[l+1|0]),p=B*(t=f[l+2|0]),q=B*(u=f[l+3|0]),E=D,i=B;--i>-1;)E.r=r,E.g=s,E.b=t,E.a=u,E=E.n;for(i=1;B>i;i++)j=l+((i>z?z:i)<<2)|0,n+=E.r=f[j],o+=E.g=f[j+1],p+=E.b=f[j+2],q+=E.a=f[j+3],E=E.n;for(H=D,g=0;x>g;g++)f[l++]=n*M>>>N,f[l++]=o*M>>>N,f[l++]=p*M>>>N,f[l++]=q*M>>>N,j=m+((j=g+c+1) g;g++){for(l=g<<2|0,n=C*(r=f[l])|0,o=C*(s=f[l+1|0])|0,p=C*(t=f[l+2|0])|0,q=C*(u=f[l+3|0])|0,G=F,i=0;C>i;i++)G.r=r,G.g=s,G.b=t,G.a=u,G=G.n;for(k=x,i=1;d>=i;i++)l=k+g<<2,n+=G.r=f[l],o+=G.g=f[l+1],p+=G.b=f[l+2],q+=G.a=f[l+3],G=G.n,A>i&&(k+=x);if(l=g,H=F,e>0)for(h=0;y>h;h++)j=l<<2,f[j+3]=u=q*M>>>N,u>0?(f[j]=n*M>>>N,f[j+1]=o*M>>>N,f[j+2]=p*M>>>N):f[j]=f[j+1]=f[j+2]=0,j=g+((j=h+C)h;h++)j=l<<2,f[j+3]=u=q*M>>>N,u>0?(u=255/u,f[j]=(n*M>>>N)*u,f[j+1]=(o*M>>>N)*u,f[j+2]=(p*M>>>N)*u):f[j]=f[j+1]=f[j+2]=0,j=g+((j=h+C)d;d+=4)b[d+3]=c[d]||0;return!0},b._prepAlphaMap=function(){if(!this.alphaMap)return!1;if(this.alphaMap==this._alphaMap&&this._mapData)return!0;this._mapData=null;var a,b=this._alphaMap=this.alphaMap,c=b;b instanceof HTMLCanvasElement?a=c.getContext("2d"):(c=createjs.createCanvas?createjs.createCanvas():document.createElement("canvas"),c.width=b.width,c.height=b.height,a=c.getContext("2d"),a.drawImage(b,0,0));try{var d=a.getImageData(0,0,b.width,b.height)}catch(e){return!1}return this._mapData=d.data,!0},createjs.AlphaMapFilter=createjs.promote(a,"Filter")}(),this.createjs=this.createjs||{},function(){"use strict";function a(a){this.Filter_constructor(),this.mask=a,this.usesContext=!0,this.FRAG_SHADER_BODY="uniform sampler2D uAlphaSampler;void main(void) {vec4 color = texture2D(uSampler, vRenderCoord);vec4 alphaMap = texture2D(uAlphaSampler, vTextureCoord);gl_FragColor = vec4(color.rgb, color.a * alphaMap.a);}"}var b=createjs.extend(a,createjs.Filter);b.shaderParamSetup=function(a,b,c){this._mapTexture||(this._mapTexture=a.createTexture()),a.activeTexture(a.TEXTURE1),a.bindTexture(a.TEXTURE_2D,this._mapTexture),b.setTextureParams(a),a.texImage2D(a.TEXTURE_2D,0,a.RGBA,a.RGBA,a.UNSIGNED_BYTE,this.mask),a.uniform1i(a.getUniformLocation(c,"uAlphaSampler"),1)},b.applyFilter=function(a,b,c,d,e,f,g,h){return this.mask?(f=f||a,null==g&&(g=b),null==h&&(h=c),f.save(),a!=f?!1:(f.globalCompositeOperation="destination-in",f.drawImage(this.mask,g,h),f.restore(),!0)):!0},b.clone=function(){return new a(this.mask)},b.toString=function(){return"[AlphaMaskFilter]"},createjs.AlphaMaskFilter=createjs.promote(a,"Filter")}(),this.createjs=this.createjs||{},function(){"use strict";function a(a,b,c,d,e,f,g,h){this.Filter_constructor(),this.redMultiplier=null!=a?a:1,this.greenMultiplier=null!=b?b:1,this.blueMultiplier=null!=c?c:1,this.alphaMultiplier=null!=d?d:1,this.redOffset=e||0,this.greenOffset=f||0,this.blueOffset=g||0,this.alphaOffset=h||0,this.FRAG_SHADER_BODY="uniform vec4 uColorMultiplier;uniform vec4 uColorOffset;void main(void) {vec4 color = texture2D(uSampler, vRenderCoord);gl_FragColor = (color * uColorMultiplier) + uColorOffset;}"}var b=createjs.extend(a,createjs.Filter);b.shaderParamSetup=function(a,b,c){a.uniform4f(a.getUniformLocation(c,"uColorMultiplier"),this.redMultiplier,this.greenMultiplier,this.blueMultiplier,this.alphaMultiplier),a.uniform4f(a.getUniformLocation(c,"uColorOffset"),this.redOffset/255,this.greenOffset/255,this.blueOffset/255,this.alphaOffset/255)},b.toString=function(){return"[ColorFilter]"},b.clone=function(){return new a(this.redMultiplier,this.greenMultiplier,this.blueMultiplier,this.alphaMultiplier,this.redOffset,this.greenOffset,this.blueOffset,this.alphaOffset)},b._applyFilter=function(a){for(var b=a.data,c=b.length,d=0;c>d;d+=4)b[d]=b[d]*this.redMultiplier+this.redOffset,b[d+1]=b[d+1]*this.greenMultiplier+this.greenOffset,b[d+2]=b[d+2]*this.blueMultiplier+this.blueOffset,b[d+3]=b[d+3]*this.alphaMultiplier+this.alphaOffset;return!0},createjs.ColorFilter=createjs.promote(a,"Filter")}(),this.createjs=this.createjs||{},function(){"use strict";function a(a,b,c,d){this.setColor(a,b,c,d)}var b=a.prototype;a.DELTA_INDEX=[0,.01,.02,.04,.05,.06,.07,.08,.1,.11,.12,.14,.15,.16,.17,.18,.2,.21,.22,.24,.25,.27,.28,.3,.32,.34,.36,.38,.4,.42,.44,.46,.48,.5,.53,.56,.59,.62,.65,.68,.71,.74,.77,.8,.83,.86,.89,.92,.95,.98,1,1.06,1.12,1.18,1.24,1.3,1.36,1.42,1.48,1.54,1.6,1.66,1.72,1.78,1.84,1.9,1.96,2,2.12,2.25,2.37,2.5,2.62,2.75,2.87,3,3.2,3.4,3.6,3.8,4,4.3,4.7,4.9,5,5.5,6,6.5,6.8,7,7.3,7.5,7.8,8,8.4,8.7,9,9.4,9.6,9.8,10],a.IDENTITY_MATRIX=[1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1],a.LENGTH=a.IDENTITY_MATRIX.length,b.setColor=function(a,b,c,d){return this.reset().adjustColor(a,b,c,d)},b.reset=function(){return this.copy(a.IDENTITY_MATRIX)},b.adjustColor=function(a,b,c,d){return this.adjustHue(d),this.adjustContrast(b),this.adjustBrightness(a),this.adjustSaturation(c)},b.adjustBrightness=function(a){return 0==a||isNaN(a)?this:(a=this._cleanValue(a,255),this._multiplyMatrix([1,0,0,0,a,0,1,0,0,a,0,0,1,0,a,0,0,0,1,0,0,0,0,0,1]),this)},b.adjustContrast=function(b){if(0==b||isNaN(b))return this;b=this._cleanValue(b,100);var c;return 0>b?c=127+b/100*127:(c=b%1,c=0==c?a.DELTA_INDEX[b]:a.DELTA_INDEX[b<<0]*(1-c)+a.DELTA_INDEX[(b<<0)+1]*c,c=127*c+127),this._multiplyMatrix([c/127,0,0,0,.5*(127-c),0,c/127,0,0,.5*(127-c),0,0,c/127,0,.5*(127-c),0,0,0,1,0,0,0,0,0,1]),this},b.adjustSaturation=function(a){if(0==a||isNaN(a))return this;a=this._cleanValue(a,100);var b=1+(a>0?3*a/100:a/100),c=.3086,d=.6094,e=.082;return this._multiplyMatrix([c*(1-b)+b,d*(1-b),e*(1-b),0,0,c*(1-b),d*(1-b)+b,e*(1-b),0,0,c*(1-b),d*(1-b),e*(1-b)+b,0,0,0,0,0,1,0,0,0,0,0,1]),this},b.adjustHue=function(a){if(0==a||isNaN(a))return this;a=this._cleanValue(a,180)/180*Math.PI;var b=Math.cos(a),c=Math.sin(a),d=.213,e=.715,f=.072;return this._multiplyMatrix([d+b*(1-d)+c*-d,e+b*-e+c*-e,f+b*-f+c*(1-f),0,0,d+b*-d+.143*c,e+b*(1-e)+.14*c,f+b*-f+c*-.283,0,0,d+b*-d+c*-(1-d),e+b*-e+c*e,f+b*(1-f)+c*f,0,0,0,0,0,1,0,0,0,0,0,1]),this},b.concat=function(b){return b=this._fixMatrix(b),b.length!=a.LENGTH?this:(this._multiplyMatrix(b),this)},b.clone=function(){return(new a).copy(this)},b.toArray=function(){for(var b=[],c=0,d=a.LENGTH;d>c;c++)b[c]=this[c];return b},b.copy=function(b){for(var c=a.LENGTH,d=0;c>d;d++)this[d]=b[d];return this},b.toString=function(){return"[ColorMatrix]"},b._multiplyMatrix=function(a){var b,c,d,e=[];for(b=0;5>b;b++){for(c=0;5>c;c++)e[c]=this[c+5*b];for(c=0;5>c;c++){var f=0;for(d=0;5>d;d++)f+=a[c+5*d]*e[d];this[c+5*b]=f}}},b._cleanValue=function(a,b){return Math.min(b,Math.max(-b,a))},b._fixMatrix=function(b){return b instanceof a&&(b=b.toArray()),b.length a.LENGTH&&(b=b.slice(0,a.LENGTH)),b},createjs.ColorMatrix=a}(),this.createjs=this.createjs||{},function(){"use strict";function a(a){this.Filter_constructor(),this.matrix=a,this.FRAG_SHADER_BODY="uniform mat4 uColorMatrix;uniform vec4 uColorMatrixOffset;void main(void) {vec4 color = texture2D(uSampler, vRenderCoord);mat4 m = uColorMatrix;vec4 newColor = vec4(0,0,0,0);newColor.r = color.r*m[0][0] + color.g*m[0][1] + color.b*m[0][2] + color.a*m[0][3];newColor.g = color.r*m[1][0] + color.g*m[1][1] + color.b*m[1][2] + color.a*m[1][3];newColor.b = color.r*m[2][0] + color.g*m[2][1] + color.b*m[2][2] + color.a*m[2][3];newColor.a = color.r*m[3][0] + color.g*m[3][1] + color.b*m[3][2] + color.a*m[3][3];gl_FragColor = newColor + uColorMatrixOffset;}"}var b=createjs.extend(a,createjs.Filter);b.shaderParamSetup=function(a,b,c){var d=this.matrix,e=new Float32Array([d[0],d[1],d[2],d[3],d[5],d[6],d[7],d[8],d[10],d[11],d[12],d[13],d[15],d[16],d[17],d[18]]);a.uniformMatrix4fv(a.getUniformLocation(c,"uColorMatrix"),!1,e),a.uniform4f(a.getUniformLocation(c,"uColorMatrixOffset"),d[4]/255,d[9]/255,d[14]/255,d[19]/255)},b.toString=function(){return"[ColorMatrixFilter]"},b.clone=function(){return new a(this.matrix)},b._applyFilter=function(a){for(var b,c,d,e,f=a.data,g=f.length,h=this.matrix,i=h[0],j=h[1],k=h[2],l=h[3],m=h[4],n=h[5],o=h[6],p=h[7],q=h[8],r=h[9],s=h[10],t=h[11],u=h[12],v=h[13],w=h[14],x=h[15],y=h[16],z=h[17],A=h[18],B=h[19],C=0;g>C;C+=4)b=f[C],c=f[C+1],d=f[C+2],e=f[C+3],f[C]=b*i+c*j+d*k+e*l+m,f[C+1]=b*n+c*o+d*p+e*q+r,f[C+2]=b*s+c*t+d*u+e*v+w,f[C+3]=b*x+c*y+d*z+e*A+B;return!0},createjs.ColorMatrixFilter=createjs.promote(a,"Filter")}(),this.createjs=this.createjs||{},function(){"use strict";function a(){throw"Touch cannot be instantiated"}a.isSupported=function(){return!!("ontouchstart"in window||window.navigator.msPointerEnabled&&window.navigator.msMaxTouchPoints>0||window.navigator.pointerEnabled&&window.navigator.maxTouchPoints>0)},a.enable=function(b,c,d){return b&&b.canvas&&a.isSupported()?b.__touch?!0:(b.__touch={pointers:{},multitouch:!c,preventDefault:!d,count:0},"ontouchstart"in window?a._IOS_enable(b):(window.navigator.msPointerEnabled||window.navigator.pointerEnabled)&&a._IE_enable(b),!0):!1},a.disable=function(b){b&&("ontouchstart"in window?a._IOS_disable(b):(window.navigator.msPointerEnabled||window.navigator.pointerEnabled)&&a._IE_disable(b),delete b.__touch)},a._IOS_enable=function(b){var c=b.canvas,d=b.__touch.f=function(c){a._IOS_handleEvent(b,c)};c.addEventListener("touchstart",d,!1),c.addEventListener("touchmove",d,!1),c.addEventListener("touchend",d,!1),c.addEventListener("touchcancel",d,!1)},a._IOS_disable=function(a){var b=a.canvas;if(b){var c=a.__touch.f;b.removeEventListener("touchstart",c,!1),b.removeEventListener("touchmove",c,!1),b.removeEventListener("touchend",c,!1),b.removeEventListener("touchcancel",c,!1)}},a._IOS_handleEvent=function(a,b){if(a){a.__touch.preventDefault&&b.preventDefault&&b.preventDefault();for(var c=b.changedTouches,d=b.type,e=0,f=c.length;f>e;e++){var g=c[e],h=g.identifier;g.target==a.canvas&&("touchstart"==d?this._handleStart(a,h,b,g.pageX,g.pageY):"touchmove"==d?this._handleMove(a,h,b,g.pageX,g.pageY):("touchend"==d||"touchcancel"==d)&&this._handleEnd(a,h,b))}}},a._IE_enable=function(b){var c=b.canvas,d=b.__touch.f=function(c){a._IE_handleEvent(b,c)};void 0===window.navigator.pointerEnabled?(c.addEventListener("MSPointerDown",d,!1),window.addEventListener("MSPointerMove",d,!1),window.addEventListener("MSPointerUp",d,!1),window.addEventListener("MSPointerCancel",d,!1),b.__touch.preventDefault&&(c.style.msTouchAction="none")):(c.addEventListener("pointerdown",d,!1),window.addEventListener("pointermove",d,!1),window.addEventListener("pointerup",d,!1),window.addEventListener("pointercancel",d,!1),b.__touch.preventDefault&&(c.style.touchAction="none")),b.__touch.activeIDs={}},a._IE_disable=function(a){var b=a.__touch.f;void 0===window.navigator.pointerEnabled?(window.removeEventListener("MSPointerMove",b,!1),window.removeEventListener("MSPointerUp",b,!1),window.removeEventListener("MSPointerCancel",b,!1),a.canvas&&a.canvas.removeEventListener("MSPointerDown",b,!1)):(window.removeEventListener("pointermove",b,!1),window.removeEventListener("pointerup",b,!1),window.removeEventListener("pointercancel",b,!1),a.canvas&&a.canvas.removeEventListener("pointerdown",b,!1))},a._IE_handleEvent=function(a,b){if(a){a.__touch.preventDefault&&b.preventDefault&&b.preventDefault();var c=b.type,d=b.pointerId,e=a.__touch.activeIDs;if("MSPointerDown"==c||"pointerdown"==c){if(b.srcElement!=a.canvas)return;e[d]=!0,this._handleStart(a,d,b,b.pageX,b.pageY)}else e[d]&&("MSPointerMove"==c||"pointermove"==c?this._handleMove(a,d,b,b.pageX,b.pageY):("MSPointerUp"==c||"MSPointerCancel"==c||"pointerup"==c||"pointercancel"==c)&&(delete e[d],this._handleEnd(a,d,b)))}},a._handleStart=function(a,b,c,d,e){var f=a.__touch;if(f.multitouch||!f.count){var g=f.pointers;g[b]||(g[b]=!0,f.count++,a._handlePointerDown(b,c,d,e))}},a._handleMove=function(a,b,c,d,e){a.__touch.pointers[b]&&a._handlePointerMove(b,c,d,e)},a._handleEnd=function(a,b,c){var d=a.__touch,e=d.pointers;e[b]&&(d.count--,a._handlePointerUp(b,c,!0),delete e[b])},createjs.Touch=a}(),this.createjs=this.createjs||{},function(){"use strict";var a=createjs.EaselJS=createjs.EaselJS||{};a.version="1.0.0",a.buildDate="Thu, 12 Oct 2017 16:34:10 GMT"}(),this.createjs=this.createjs||{},function(){"use strict";var a=createjs.PreloadJS=createjs.PreloadJS||{};a.version="1.0.0",a.buildDate="Thu, 12 Oct 2017 16:34:05 GMT"}(),this.createjs=this.createjs||{},function(){"use strict";createjs.proxy=function(a,b){var c=Array.prototype.slice.call(arguments,2);return function(){return a.apply(b,Array.prototype.slice.call(arguments,0).concat(c))}}}(),this.createjs=this.createjs||{},function(){"use strict";function a(a,b,c){this.Event_constructor("error"),this.title=a,this.message=b,this.data=c}var b=createjs.extend(a,createjs.Event);b.clone=function(){return new createjs.ErrorEvent(this.title,this.message,this.data)},createjs.ErrorEvent=createjs.promote(a,"Event")}(),this.createjs=this.createjs||{},function(a){"use strict";function b(a,b){this.Event_constructor("progress"),this.loaded=a,this.total=null==b?1:b,this.progress=0==b?0:this.loaded/this.total; +}var c=createjs.extend(b,createjs.Event);c.clone=function(){return new createjs.ProgressEvent(this.loaded,this.total)},createjs.ProgressEvent=createjs.promote(b,"Event")}(window),function(){function a(b,d){function f(a){if(f[a]!==q)return f[a];var b;if("bug-string-char-index"==a)b="a"!="a"[0];else if("json"==a)b=f("json-stringify")&&f("json-parse");else{var c,e='{"a":[1,true,false,null,"\\u0000\\b\\n\\f\\r\\t"]}';if("json-stringify"==a){var i=d.stringify,k="function"==typeof i&&t;if(k){(c=function(){return 1}).toJSON=c;try{k="0"===i(0)&&"0"===i(new g)&&'""'==i(new h)&&i(s)===q&&i(q)===q&&i()===q&&"1"===i(c)&&"[1]"==i([c])&&"[null]"==i([q])&&"null"==i(null)&&"[null,null,null]"==i([q,s,null])&&i({a:[c,!0,!1,null,"\x00\b\n\f\r "]})==e&&"1"===i(null,c)&&"[\n 1,\n 2\n]"==i([1,2],null,1)&&'"-271821-04-20T00:00:00.000Z"'==i(new j(-864e13))&&'"+275760-09-13T00:00:00.000Z"'==i(new j(864e13))&&'"-000001-01-01T00:00:00.000Z"'==i(new j(-621987552e5))&&'"1969-12-31T23:59:59.999Z"'==i(new j(-1))}catch(l){k=!1}}b=k}if("json-parse"==a){var m=d.parse;if("function"==typeof m)try{if(0===m("0")&&!m(!1)){c=m(e);var n=5==c.a.length&&1===c.a[0];if(n){try{n=!m('" "')}catch(l){}if(n)try{n=1!==m("01")}catch(l){}if(n)try{n=1!==m("1.")}catch(l){}}}}catch(l){n=!1}b=n}}return f[a]=!!b}b||(b=e.Object()),d||(d=e.Object());var g=b.Number||e.Number,h=b.String||e.String,i=b.Object||e.Object,j=b.Date||e.Date,k=b.SyntaxError||e.SyntaxError,l=b.TypeError||e.TypeError,m=b.Math||e.Math,n=b.JSON||e.JSON;"object"==typeof n&&n&&(d.stringify=n.stringify,d.parse=n.parse);var o,p,q,r=i.prototype,s=r.toString,t=new j(-0xc782b5b800cec);try{t=-109252==t.getUTCFullYear()&&0===t.getUTCMonth()&&1===t.getUTCDate()&&10==t.getUTCHours()&&37==t.getUTCMinutes()&&6==t.getUTCSeconds()&&708==t.getUTCMilliseconds()}catch(u){}if(!f("json")){var v="[object Function]",w="[object Date]",x="[object Number]",y="[object String]",z="[object Array]",A="[object Boolean]",B=f("bug-string-char-index");if(!t)var C=m.floor,D=[0,31,59,90,120,151,181,212,243,273,304,334],E=function(a,b){return D[b]+365*(a-1970)+C((a-1969+(b=+(b>1)))/4)-C((a-1901+b)/100)+C((a-1601+b)/400)};if((o=r.hasOwnProperty)||(o=function(a){var b,c={};return(c.__proto__=null,c.__proto__={toString:1},c).toString!=s?o=function(a){var b=this.__proto__,c=a in(this.__proto__=null,this);return this.__proto__=b,c}:(b=c.constructor,o=function(a){var c=(this.constructor||b).prototype;return a in this&&!(a in c&&this[a]===c[a])}),c=null,o.call(this,a)}),p=function(a,b){var d,e,f,g=0;(d=function(){this.valueOf=0}).prototype.valueOf=0,e=new d;for(f in e)o.call(e,f)&&g++;return d=e=null,g?p=2==g?function(a,b){var c,d={},e=s.call(a)==v;for(c in a)e&&"prototype"==c||o.call(d,c)||!(d[c]=1)||!o.call(a,c)||b(c)}:function(a,b){var c,d,e=s.call(a)==v;for(c in a)e&&"prototype"==c||!o.call(a,c)||(d="constructor"===c)||b(c);(d||o.call(a,c="constructor"))&&b(c)}:(e=["valueOf","toString","toLocaleString","propertyIsEnumerable","isPrototypeOf","hasOwnProperty","constructor"],p=function(a,b){var d,f,g=s.call(a)==v,h=!g&&"function"!=typeof a.constructor&&c[typeof a.hasOwnProperty]&&a.hasOwnProperty||o;for(d in a)g&&"prototype"==d||!h.call(a,d)||b(d);for(f=e.length;d=e[--f];h.call(a,d)&&b(d));}),p(a,b)},!f("json-stringify")){var F={92:"\\\\",34:'\\"',8:"\\b",12:"\\f",10:"\\n",13:"\\r",9:"\\t"},G="000000",H=function(a,b){return(G+(b||0)).slice(-a)},I="\\u00",J=function(a){for(var b='"',c=0,d=a.length,e=!B||d>10,f=e&&(B?a.split(""):a);d>c;c++){var g=a.charCodeAt(c);switch(g){case 8:case 9:case 10:case 12:case 13:case 34:case 92:b+=F[g];break;default:if(32>g){b+=I+H(2,g.toString(16));break}b+=e?f[c]:a.charAt(c)}}return b+'"'},K=function(a,b,c,d,e,f,g){var h,i,j,k,m,n,r,t,u,v,B,D,F,G,I,L;try{h=b[a]}catch(M){}if("object"==typeof h&&h)if(i=s.call(h),i!=w||o.call(h,"toJSON"))"function"==typeof h.toJSON&&(i!=x&&i!=y&&i!=z||o.call(h,"toJSON"))&&(h=h.toJSON(a));else if(h>-1/0&&1/0>h){if(E){for(m=C(h/864e5),j=C(m/365.2425)+1970-1;E(j+1,0)<=m;j++);for(k=C((m-E(j,0))/30.42);E(j,k+1)<=m;k++);m=1+m-E(j,k),n=(h%864e5+864e5)%864e5,r=C(n/36e5)%24,t=C(n/6e4)%60,u=C(n/1e3)%60,v=n%1e3}else j=h.getUTCFullYear(),k=h.getUTCMonth(),m=h.getUTCDate(),r=h.getUTCHours(),t=h.getUTCMinutes(),u=h.getUTCSeconds(),v=h.getUTCMilliseconds();h=(0>=j||j>=1e4?(0>j?"-":"+")+H(6,0>j?-j:j):H(4,j))+"-"+H(2,k+1)+"-"+H(2,m)+"T"+H(2,r)+":"+H(2,t)+":"+H(2,u)+"."+H(3,v)+"Z"}else h=null;if(c&&(h=c.call(b,a,h)),null===h)return"null";if(i=s.call(h),i==A)return""+h;if(i==x)return h>-1/0&&1/0>h?""+h:"null";if(i==y)return J(""+h);if("object"==typeof h){for(G=g.length;G--;)if(g[G]===h)throw l();if(g.push(h),B=[],I=f,f+=e,i==z){for(F=0,G=h.length;G>F;F++)D=K(F,h,c,d,e,f,g),B.push(D===q?"null":D);L=B.length?e?"[\n"+f+B.join(",\n"+f)+"\n"+I+"]":"["+B.join(",")+"]":"[]"}else p(d||h,function(a){var b=K(a,h,c,d,e,f,g);b!==q&&B.push(J(a)+":"+(e?" ":"")+b)}),L=B.length?e?"{\n"+f+B.join(",\n"+f)+"\n"+I+"}":"{"+B.join(",")+"}":"{}";return g.pop(),L}};d.stringify=function(a,b,d){var e,f,g,h;if(c[typeof b]&&b)if((h=s.call(b))==v)f=b;else if(h==z){g={};for(var i,j=0,k=b.length;k>j;i=b[j++],h=s.call(i),(h==y||h==x)&&(g[i]=1));}if(d)if((h=s.call(d))==x){if((d-=d%1)>0)for(e="",d>10&&(d=10);e.length L;)switch(e=f.charCodeAt(L)){case 9:case 10:case 13:case 32:L++;break;case 123:case 125:case 91:case 93:case 58:case 44:return a=B?f.charAt(L):f[L],L++,a;case 34:for(a="@",L++;g>L;)if(e=f.charCodeAt(L),32>e)P();else if(92==e)switch(e=f.charCodeAt(++L)){case 92:case 34:case 47:case 98:case 116:case 110:case 102:case 114:a+=O[e],L++;break;case 117:for(b=++L,c=L+4;c>L;L++)e=f.charCodeAt(L),e>=48&&57>=e||e>=97&&102>=e||e>=65&&70>=e||P();a+=N("0x"+f.slice(b,L));break;default:P()}else{if(34==e)break;for(e=f.charCodeAt(L),b=L;e>=32&&92!=e&&34!=e;)e=f.charCodeAt(++L);a+=f.slice(b,L)}if(34==f.charCodeAt(L))return L++,a;P();default:if(b=L,45==e&&(d=!0,e=f.charCodeAt(++L)),e>=48&&57>=e){for(48==e&&(e=f.charCodeAt(L+1),e>=48&&57>=e)&&P(),d=!1;g>L&&(e=f.charCodeAt(L),e>=48&&57>=e);L++);if(46==f.charCodeAt(L)){for(c=++L;g>c&&(e=f.charCodeAt(c),e>=48&&57>=e);c++);c==L&&P(),L=c}if(e=f.charCodeAt(L),101==e||69==e){for(e=f.charCodeAt(++L),(43==e||45==e)&&L++,c=L;g>c&&(e=f.charCodeAt(c),e>=48&&57>=e);c++);c==L&&P(),L=c}return+f.slice(b,L)}if(d&&P(),"true"==f.slice(L,L+4))return L+=4,!0;if("false"==f.slice(L,L+5))return L+=5,!1;if("null"==f.slice(L,L+4))return L+=4,null;P()}return"$"},R=function(a){var b,c;if("$"==a&&P(),"string"==typeof a){if("@"==(B?a.charAt(0):a[0]))return a.slice(1);if("["==a){for(b=[];a=Q(),"]"!=a;c||(c=!0))c&&(","==a?(a=Q(),"]"==a&&P()):P()),","==a&&P(),b.push(R(a));return b}if("{"==a){for(b={};a=Q(),"}"!=a;c||(c=!0))c&&(","==a?(a=Q(),"}"==a&&P()):P()),(","==a||"string"!=typeof a||"@"!=(B?a.charAt(0):a[0])||":"!=Q())&&P(),b[a.slice(1)]=R(Q());return b}P()}return a},S=function(a,b,c){var d=T(a,b,c);d===q?delete a[b]:a[b]=d},T=function(a,b,c){var d,e=a[b];if("object"==typeof e&&e)if(s.call(e)==z)for(d=e.length;d--;)S(e,d,c);else p(e,function(a){S(e,a,c)});return c.call(a,b,e)};d.parse=function(a,b){var c,d;return L=0,M=""+a,c=R(Q()),"$"!=Q()&&P(),L=M=null,b&&s.call(b)==v?T((d={},d[""]=c,d),"",b):c}}}return d.runInContext=a,d}var b="function"==typeof define&&define.amd,c={"function":!0,object:!0},d=c[typeof exports]&&exports&&!exports.nodeType&&exports,e=c[typeof window]&&window||this,f=d&&c[typeof module]&&module&&!module.nodeType&&"object"==typeof global&&global;if(!f||f.global!==f&&f.window!==f&&f.self!==f||(e=f),d&&!b)a(e,d);else{var g=e.JSON,h=e.JSON3,i=!1,j=a(e,e.JSON3={noConflict:function(){return i||(i=!0,e.JSON=g,e.JSON3=h,g=h=null),j}});e.JSON={parse:j.parse,stringify:j.stringify}}b&&define(function(){return j})}.call(this),function(){var a={};a.a=function(){return a.el("a")},a.svg=function(){return a.el("svg")},a.object=function(){return a.el("object")},a.image=function(){return a.el("image")},a.img=function(){return a.el("img")},a.style=function(){return a.el("style")},a.link=function(){return a.el("link")},a.script=function(){return a.el("script")},a.audio=function(){return a.el("audio")},a.video=function(){return a.el("video")},a.text=function(a){return document.createTextNode(a)},a.el=function(a){return document.createElement(a)},createjs.Elements=a}(),function(){var a={};a.ABSOLUTE_PATT=/^(?:\w+:)?\/{2}/i,a.RELATIVE_PATT=/^[.\/]*?\//i,a.EXTENSION_PATT=/\/?[^\/]+\.(\w{1,5})$/i,a.parseURI=function(b){var c={absolute:!1,relative:!1,protocol:null,hostname:null,port:null,pathname:null,search:null,hash:null,host:null};if(null==b)return c;var d=createjs.Elements.a();d.href=b;for(var e in c)e in d&&(c[e]=d[e]);var f=b.indexOf("?");f>-1&&(b=b.substr(0,f));var g;return a.ABSOLUTE_PATT.test(b)?c.absolute=!0:a.RELATIVE_PATT.test(b)&&(c.relative=!0),(g=b.match(a.EXTENSION_PATT))&&(c.extension=g[1].toLowerCase()),c},a.formatQueryString=function(a,b){if(null==a)throw new Error("You must specify data.");var c=[];for(var d in a)c.push(d+"="+escape(a[d]));return b&&(c=c.concat(b)),c.join("&")},a.buildURI=function(a,b){if(null==b)return a;var c=[],d=a.indexOf("?");if(-1!=d){var e=a.slice(d+1);c=c.concat(e.split("&"))}return-1!=d?a.slice(0,d)+"?"+this.formatQueryString(b,c):a+"?"+this.formatQueryString(b,c)},a.isCrossDomain=function(a){var b=createjs.Elements.a();b.href=a.src;var c=createjs.Elements.a();c.href=location.href;var d=""!=b.hostname&&(b.port!=c.port||b.protocol!=c.protocol||b.hostname!=c.hostname);return d},a.isLocal=function(a){var b=createjs.Elements.a();return b.href=a.src,""==b.hostname&&"file:"==b.protocol},createjs.URLUtils=a}(),function(){var a={container:null};a.appendToHead=function(b){a.getHead().appendChild(b)},a.appendToBody=function(b){if(null==a.container){a.container=document.createElement("div"),a.container.id="preloadjs-container";var c=a.container.style;c.visibility="hidden",c.position="absolute",c.width=a.container.style.height="10px",c.overflow="hidden",c.transform=c.msTransform=c.webkitTransform=c.oTransform="translate(-10px, -10px)",a.getBody().appendChild(a.container)}a.container.appendChild(b)},a.getHead=function(){return document.head||document.getElementsByTagName("head")[0]},a.getBody=function(){return document.body||document.getElementsByTagName("body")[0]},a.removeChild=function(a){a.parent&&a.parent.removeChild(a)},a.isImageTag=function(a){return a instanceof HTMLImageElement},a.isAudioTag=function(a){return window.HTMLAudioElement?a instanceof HTMLAudioElement:!1},a.isVideoTag=function(a){return window.HTMLVideoElement?a instanceof HTMLVideoElement:!1},createjs.DomUtils=a}(),function(){var a={};a.parseXML=function(a){var b=null;try{if(window.DOMParser){var c=new DOMParser;b=c.parseFromString(a,"text/xml")}}catch(d){}if(!b)try{b=new ActiveXObject("Microsoft.XMLDOM"),b.async=!1,b.loadXML(a)}catch(d){b=null}return b},a.parseJSON=function(a){if(null==a)return null;try{return JSON.parse(a)}catch(b){throw b}},createjs.DataUtils=a}(),this.createjs=this.createjs||{},function(){var a={};a.BINARY="binary",a.CSS="css",a.FONT="font",a.FONTCSS="fontcss",a.IMAGE="image",a.JAVASCRIPT="javascript",a.JSON="json",a.JSONP="jsonp",a.MANIFEST="manifest",a.SOUND="sound",a.VIDEO="video",a.SPRITESHEET="spritesheet",a.SVG="svg",a.TEXT="text",a.XML="xml",createjs.Types=a}(),this.createjs=this.createjs||{},function(){var a={};a.POST="POST",a.GET="GET",createjs.Methods=a}(),this.createjs=this.createjs||{},function(){"use strict";function a(){this.src=null,this.type=null,this.id=null,this.maintainOrder=!1,this.callback=null,this.data=null,this.method=createjs.Methods.GET,this.values=null,this.headers=null,this.withCredentials=!1,this.mimeType=null,this.crossOrigin=null,this.loadTimeout=c.LOAD_TIMEOUT_DEFAULT}var b=a.prototype={},c=a;c.LOAD_TIMEOUT_DEFAULT=8e3,c.create=function(b){if("string"==typeof b){var d=new a;return d.src=b,d}if(b instanceof c)return b;if(b instanceof Object&&b.src)return null==b.loadTimeout&&(b.loadTimeout=c.LOAD_TIMEOUT_DEFAULT),b;throw new Error("Type not recognized.")},b.set=function(a){for(var b in a)this[b]=a[b];return this},createjs.LoadItem=c}(),function(){var a={};a.isBinary=function(a){switch(a){case createjs.Types.IMAGE:case createjs.Types.BINARY:return!0;default:return!1}},a.isText=function(a){switch(a){case createjs.Types.TEXT:case createjs.Types.JSON:case createjs.Types.MANIFEST:case createjs.Types.XML:case createjs.Types.CSS:case createjs.Types.SVG:case createjs.Types.JAVASCRIPT:case createjs.Types.SPRITESHEET:return!0;default:return!1}},a.getTypeByExtension=function(a){if(null==a)return createjs.Types.TEXT;switch(a.toLowerCase()){case"jpeg":case"jpg":case"gif":case"png":case"webp":case"bmp":return createjs.Types.IMAGE;case"ogg":case"mp3":case"webm":return createjs.Types.SOUND;case"mp4":case"webm":case"ts":return createjs.Types.VIDEO;case"json":return createjs.Types.JSON;case"xml":return createjs.Types.XML;case"css":return createjs.Types.CSS;case"js":return createjs.Types.JAVASCRIPT;case"svg":return createjs.Types.SVG;default:return createjs.Types.TEXT}},createjs.RequestUtils=a}(),this.createjs=this.createjs||{},function(){"use strict";function a(a,b,c){this.EventDispatcher_constructor(),this.loaded=!1,this.canceled=!1,this.progress=0,this.type=c,this.resultFormatter=null,a?this._item=createjs.LoadItem.create(a):this._item=null,this._preferXHR=b,this._result=null,this._rawResult=null,this._loadedItems=null,this._tagSrcAttribute=null,this._tag=null}var b=createjs.extend(a,createjs.EventDispatcher),c=a;try{Object.defineProperties(c,{POST:{get:createjs.deprecate(function(){return createjs.Methods.POST},"AbstractLoader.POST")},GET:{get:createjs.deprecate(function(){return createjs.Methods.GET},"AbstractLoader.GET")},BINARY:{get:createjs.deprecate(function(){return createjs.Types.BINARY},"AbstractLoader.BINARY")},CSS:{get:createjs.deprecate(function(){return createjs.Types.CSS},"AbstractLoader.CSS")},FONT:{get:createjs.deprecate(function(){return createjs.Types.FONT},"AbstractLoader.FONT")},FONTCSS:{get:createjs.deprecate(function(){return createjs.Types.FONTCSS},"AbstractLoader.FONTCSS")},IMAGE:{get:createjs.deprecate(function(){return createjs.Types.IMAGE},"AbstractLoader.IMAGE")},JAVASCRIPT:{get:createjs.deprecate(function(){return createjs.Types.JAVASCRIPT},"AbstractLoader.JAVASCRIPT")},JSON:{get:createjs.deprecate(function(){return createjs.Types.JSON},"AbstractLoader.JSON")},JSONP:{get:createjs.deprecate(function(){return createjs.Types.JSONP},"AbstractLoader.JSONP")},MANIFEST:{get:createjs.deprecate(function(){return createjs.Types.MANIFEST},"AbstractLoader.MANIFEST")},SOUND:{get:createjs.deprecate(function(){return createjs.Types.SOUND},"AbstractLoader.SOUND")},VIDEO:{get:createjs.deprecate(function(){return createjs.Types.VIDEO},"AbstractLoader.VIDEO")},SPRITESHEET:{get:createjs.deprecate(function(){return createjs.Types.SPRITESHEET},"AbstractLoader.SPRITESHEET")},SVG:{get:createjs.deprecate(function(){return createjs.Types.SVG},"AbstractLoader.SVG")},TEXT:{get:createjs.deprecate(function(){return createjs.Types.TEXT},"AbstractLoader.TEXT")},XML:{get:createjs.deprecate(function(){return createjs.Types.XML},"AbstractLoader.XML")}})}catch(d){}b.getItem=function(){return this._item},b.getResult=function(a){return a?this._rawResult:this._result},b.getTag=function(){return this._tag},b.setTag=function(a){this._tag=a},b.load=function(){this._createRequest(),this._request.on("complete",this,this),this._request.on("progress",this,this),this._request.on("loadStart",this,this),this._request.on("abort",this,this),this._request.on("timeout",this,this),this._request.on("error",this,this);var a=new createjs.Event("initialize");a.loader=this._request,this.dispatchEvent(a),this._request.load()},b.cancel=function(){this.canceled=!0,this.destroy()},b.destroy=function(){this._request&&(this._request.removeAllEventListeners(),this._request.destroy()),this._request=null,this._item=null,this._rawResult=null,this._result=null,this._loadItems=null,this.removeAllEventListeners()},b.getLoadedItems=function(){return this._loadedItems},b._createRequest=function(){this._preferXHR?this._request=new createjs.XHRRequest(this._item):this._request=new createjs.TagRequest(this._item,this._tag||this._createTag(),this._tagSrcAttribute)},b._createTag=function(a){return null},b._sendLoadStart=function(){this._isCanceled()||this.dispatchEvent("loadstart")},b._sendProgress=function(a){if(!this._isCanceled()){var b=null;"number"==typeof a?(this.progress=a,b=new createjs.ProgressEvent(this.progress)):(b=a,this.progress=a.loaded/a.total,b.progress=this.progress,(isNaN(this.progress)||this.progress==1/0)&&(this.progress=0)),this.hasEventListener("progress")&&this.dispatchEvent(b)}},b._sendComplete=function(){if(!this._isCanceled()){this.loaded=!0;var a=new createjs.Event("complete");a.rawResult=this._rawResult,null!=this._result&&(a.result=this._result),this.dispatchEvent(a)}},b._sendError=function(a){!this._isCanceled()&&this.hasEventListener("error")&&(null==a&&(a=new createjs.ErrorEvent("PRELOAD_ERROR_EMPTY")),this.dispatchEvent(a))},b._isCanceled=function(){return null==window.createjs||this.canceled?!0:!1},b.resultFormatter=null,b.handleEvent=function(a){switch(a.type){case"complete":this._rawResult=a.target._response;var b=this.resultFormatter&&this.resultFormatter(this);b instanceof Function?b.call(this,createjs.proxy(this._resultFormatSuccess,this),createjs.proxy(this._resultFormatFailed,this)):(this._result=b||this._rawResult,this._sendComplete());break;case"progress":this._sendProgress(a);break;case"error":this._sendError(a);break;case"loadstart":this._sendLoadStart();break;case"abort":case"timeout":this._isCanceled()||this.dispatchEvent(new createjs.ErrorEvent("PRELOAD_"+a.type.toUpperCase()+"_ERROR"))}},b._resultFormatSuccess=function(a){this._result=a,this._sendComplete()},b._resultFormatFailed=function(a){this._sendError(a)},b.toString=function(){return"[PreloadJS AbstractLoader]"},createjs.AbstractLoader=createjs.promote(a,"EventDispatcher")}(),this.createjs=this.createjs||{},function(){"use strict";function a(a,b,c){this.AbstractLoader_constructor(a,b,c),this.resultFormatter=this._formatResult,this._tagSrcAttribute="src",this.on("initialize",this._updateXHR,this)}var b=createjs.extend(a,createjs.AbstractLoader);b.load=function(){this._tag||(this._tag=this._createTag(this._item.src)),this._tag.preload="auto",this._tag.load(),this.AbstractLoader_load()},b._createTag=function(){},b._createRequest=function(){this._preferXHR?this._request=new createjs.XHRRequest(this._item):this._request=new createjs.MediaTagRequest(this._item,this._tag||this._createTag(),this._tagSrcAttribute)},b._updateXHR=function(a){a.loader.setResponseType&&a.loader.setResponseType("blob")},b._formatResult=function(a){if(this._tag.removeEventListener&&this._tag.removeEventListener("canplaythrough",this._loadedHandler),this._tag.onstalled=null,this._preferXHR){var b=window.URL||window.webkitURL,c=a.getResult(!0);a.getTag().src=b.createObjectURL(c)}return a.getTag()},createjs.AbstractMediaLoader=createjs.promote(a,"AbstractLoader")}(),this.createjs=this.createjs||{},function(){"use strict";var a=function(a){this._item=a},b=createjs.extend(a,createjs.EventDispatcher);b.load=function(){},b.destroy=function(){},b.cancel=function(){},createjs.AbstractRequest=createjs.promote(a,"EventDispatcher")}(),this.createjs=this.createjs||{},function(){"use strict";function a(a,b,c){this.AbstractRequest_constructor(a),this._tag=b,this._tagSrcAttribute=c,this._loadedHandler=createjs.proxy(this._handleTagComplete,this),this._addedToDOM=!1}var b=createjs.extend(a,createjs.AbstractRequest);b.load=function(){this._tag.onload=createjs.proxy(this._handleTagComplete,this),this._tag.onreadystatechange=createjs.proxy(this._handleReadyStateChange,this),this._tag.onerror=createjs.proxy(this._handleError,this);var a=new createjs.Event("initialize");a.loader=this._tag,this.dispatchEvent(a),this._loadTimeout=setTimeout(createjs.proxy(this._handleTimeout,this),this._item.loadTimeout),this._tag[this._tagSrcAttribute]=this._item.src,null==this._tag.parentNode&&(createjs.DomUtils.appendToBody(this._tag),this._addedToDOM=!0)},b.destroy=function(){this._clean(),this._tag=null,this.AbstractRequest_destroy()},b._handleReadyStateChange=function(){clearTimeout(this._loadTimeout);var a=this._tag;("loaded"==a.readyState||"complete"==a.readyState)&&this._handleTagComplete()},b._handleError=function(){this._clean(),this.dispatchEvent("error")},b._handleTagComplete=function(){this._rawResult=this._tag,this._result=this.resultFormatter&&this.resultFormatter(this)||this._rawResult,this._clean(),this.dispatchEvent("complete")},b._handleTimeout=function(){this._clean(),this.dispatchEvent(new createjs.Event("timeout"))},b._clean=function(){this._tag.onload=null,this._tag.onreadystatechange=null,this._tag.onerror=null,this._addedToDOM&&null!=this._tag.parentNode&&this._tag.parentNode.removeChild(this._tag),clearTimeout(this._loadTimeout)},b._handleStalled=function(){},createjs.TagRequest=createjs.promote(a,"AbstractRequest")}(),this.createjs=this.createjs||{},function(){"use strict";function a(a,b,c){this.AbstractRequest_constructor(a),this._tag=b,this._tagSrcAttribute=c,this._loadedHandler=createjs.proxy(this._handleTagComplete,this)}var b=createjs.extend(a,createjs.TagRequest);b.load=function(){var a=createjs.proxy(this._handleStalled,this);this._stalledCallback=a;var b=createjs.proxy(this._handleProgress,this);this._handleProgress=b,this._tag.addEventListener("stalled",a),this._tag.addEventListener("progress",b),this._tag.addEventListener&&this._tag.addEventListener("canplaythrough",this._loadedHandler,!1),this.TagRequest_load()},b._handleReadyStateChange=function(){clearTimeout(this._loadTimeout);var a=this._tag;("loaded"==a.readyState||"complete"==a.readyState)&&this._handleTagComplete()},b._handleStalled=function(){},b._handleProgress=function(a){if(a&&!(a.loaded>0&&0==a.total)){var b=new createjs.ProgressEvent(a.loaded,a.total);this.dispatchEvent(b)}},b._clean=function(){this._tag.removeEventListener&&this._tag.removeEventListener("canplaythrough",this._loadedHandler),this._tag.removeEventListener("stalled",this._stalledCallback),this._tag.removeEventListener("progress",this._progressCallback),this.TagRequest__clean()},createjs.MediaTagRequest=createjs.promote(a,"TagRequest")}(),this.createjs=this.createjs||{},function(){"use strict";function a(a){this.AbstractRequest_constructor(a),this._request=null,this._loadTimeout=null,this._xhrLevel=1,this._response=null,this._rawResponse=null,this._canceled=!1,this._handleLoadStartProxy=createjs.proxy(this._handleLoadStart,this),this._handleProgressProxy=createjs.proxy(this._handleProgress,this),this._handleAbortProxy=createjs.proxy(this._handleAbort,this),this._handleErrorProxy=createjs.proxy(this._handleError,this),this._handleTimeoutProxy=createjs.proxy(this._handleTimeout,this),this._handleLoadProxy=createjs.proxy(this._handleLoad,this),this._handleReadyStateChangeProxy=createjs.proxy(this._handleReadyStateChange,this),!this._createXHR(a)}var b=createjs.extend(a,createjs.AbstractRequest);a.ACTIVEX_VERSIONS=["Msxml2.XMLHTTP.6.0","Msxml2.XMLHTTP.5.0","Msxml2.XMLHTTP.4.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"],b.getResult=function(a){return a&&this._rawResponse?this._rawResponse:this._response},b.cancel=function(){this.canceled=!0,this._clean(),this._request.abort()},b.load=function(){if(null==this._request)return void this._handleError();null!=this._request.addEventListener?(this._request.addEventListener("loadstart",this._handleLoadStartProxy,!1),this._request.addEventListener("progress",this._handleProgressProxy,!1),this._request.addEventListener("abort",this._handleAbortProxy,!1),this._request.addEventListener("error",this._handleErrorProxy,!1),this._request.addEventListener("timeout",this._handleTimeoutProxy,!1),this._request.addEventListener("load",this._handleLoadProxy,!1),this._request.addEventListener("readystatechange",this._handleReadyStateChangeProxy,!1)):(this._request.onloadstart=this._handleLoadStartProxy,this._request.onprogress=this._handleProgressProxy,this._request.onabort=this._handleAbortProxy,this._request.onerror=this._handleErrorProxy,this._request.ontimeout=this._handleTimeoutProxy,this._request.onload=this._handleLoadProxy,this._request.onreadystatechange=this._handleReadyStateChangeProxy),1==this._xhrLevel&&(this._loadTimeout=setTimeout(createjs.proxy(this._handleTimeout,this),this._item.loadTimeout));try{this._item.values?this._request.send(createjs.URLUtils.formatQueryString(this._item.values)):this._request.send()}catch(a){this.dispatchEvent(new createjs.ErrorEvent("XHR_SEND",null,a))}},b.setResponseType=function(a){"blob"===a&&(a=window.URL?"blob":"arraybuffer",this._responseType=a),this._request.responseType=a},b.getAllResponseHeaders=function(){return this._request.getAllResponseHeaders instanceof Function?this._request.getAllResponseHeaders():null},b.getResponseHeader=function(a){return this._request.getResponseHeader instanceof Function?this._request.getResponseHeader(a):null},b._handleProgress=function(a){if(a&&!(a.loaded>0&&0==a.total)){var b=new createjs.ProgressEvent(a.loaded,a.total);this.dispatchEvent(b)}},b._handleLoadStart=function(a){clearTimeout(this._loadTimeout),this.dispatchEvent("loadstart")},b._handleAbort=function(a){this._clean(),this.dispatchEvent(new createjs.ErrorEvent("XHR_ABORTED",null,a))},b._handleError=function(a){this._clean(),this.dispatchEvent(new createjs.ErrorEvent(a.message))},b._handleReadyStateChange=function(a){4==this._request.readyState&&this._handleLoad()},b._handleLoad=function(a){if(!this.loaded){this.loaded=!0;var b=this._checkError();if(b)return void this._handleError(b);if(this._response=this._getResponse(),"arraybuffer"===this._responseType)try{this._response=new Blob([this._response])}catch(c){if(window.BlobBuilder=window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder||window.MSBlobBuilder,"TypeError"===c.name&&window.BlobBuilder){var d=new BlobBuilder;d.append(this._response),this._response=d.getBlob()}}this._clean(),this.dispatchEvent(new createjs.Event("complete"))}},b._handleTimeout=function(a){this._clean(),this.dispatchEvent(new createjs.ErrorEvent("PRELOAD_TIMEOUT",null,a))},b._checkError=function(){var a=parseInt(this._request.status);return a>=400&&599>=a?new Error(a):0==a&&/^https?:/.test(location.protocol)?new Error(0):null},b._getResponse=function(){if(null!=this._response)return this._response;if(null!=this._request.response)return this._request.response;try{if(null!=this._request.responseText)return this._request.responseText}catch(a){}try{if(null!=this._request.responseXML)return this._request.responseXML}catch(a){}return null},b._createXHR=function(a){var b=createjs.URLUtils.isCrossDomain(a),c={},d=null;if(window.XMLHttpRequest)d=new XMLHttpRequest,b&&void 0===d.withCredentials&&window.XDomainRequest&&(d=new XDomainRequest);else{for(var e=0,f=s.ACTIVEX_VERSIONS.length;f>e;e++){var g=s.ACTIVEX_VERSIONS[e];try{d=new ActiveXObject(g);break}catch(h){}}if(null==d)return!1}null==a.mimeType&&createjs.RequestUtils.isText(a.type)&&(a.mimeType="text/plain; charset=utf-8"),a.mimeType&&d.overrideMimeType&&d.overrideMimeType(a.mimeType),this._xhrLevel="string"==typeof d.responseType?2:1;var i=null;if(i=a.method==createjs.Methods.GET?createjs.URLUtils.buildURI(a.src,a.values):a.src,d.open(a.method||createjs.Methods.GET,i,!0),b&&d instanceof XMLHttpRequest&&1==this._xhrLevel&&(c.Origin=location.origin),a.values&&a.method==createjs.Methods.POST&&(c["Content-Type"]="application/x-www-form-urlencoded"),b||c["X-Requested-With"]||(c["X-Requested-With"]="XMLHttpRequest"),a.headers)for(var j in a.headers)c[j]=a.headers[j];for(j in c)d.setRequestHeader(j,c[j]);return d instanceof XMLHttpRequest&&void 0!==a.withCredentials&&(d.withCredentials=a.withCredentials),this._request=d,!0},b._clean=function(){clearTimeout(this._loadTimeout),null!=this._request.removeEventListener?(this._request.removeEventListener("loadstart",this._handleLoadStartProxy),this._request.removeEventListener("progress",this._handleProgressProxy),this._request.removeEventListener("abort",this._handleAbortProxy),this._request.removeEventListener("error",this._handleErrorProxy),this._request.removeEventListener("timeout",this._handleTimeoutProxy),this._request.removeEventListener("load",this._handleLoadProxy),this._request.removeEventListener("readystatechange",this._handleReadyStateChangeProxy)):(this._request.onloadstart=null,this._request.onprogress=null,this._request.onabort=null,this._request.onerror=null,this._request.ontimeout=null,this._request.onload=null,this._request.onreadystatechange=null)},b.toString=function(){return"[PreloadJS XHRRequest]"},createjs.XHRRequest=createjs.promote(a,"AbstractRequest")}(),this.createjs=this.createjs||{},function(){"use strict";function a(a,b,c){this.AbstractLoader_constructor(),this._plugins=[],this._typeCallbacks={},this._extensionCallbacks={},this.next=null,this.maintainScriptOrder=!0,this.stopOnError=!1,this._maxConnections=1,this._availableLoaders=[createjs.FontLoader,createjs.ImageLoader,createjs.JavaScriptLoader,createjs.CSSLoader,createjs.JSONLoader,createjs.JSONPLoader,createjs.SoundLoader,createjs.ManifestLoader,createjs.SpriteSheetLoader,createjs.XMLLoader,createjs.SVGLoader,createjs.BinaryLoader,createjs.VideoLoader,createjs.TextLoader],this._defaultLoaderLength=this._availableLoaders.length,this.init(a,b,c)}var b=createjs.extend(a,createjs.AbstractLoader),c=a;try{Object.defineProperties(c,{POST:{get:createjs.deprecate(function(){return createjs.Methods.POST},"AbstractLoader.POST")},GET:{get:createjs.deprecate(function(){return createjs.Methods.GET},"AbstractLoader.GET")},BINARY:{get:createjs.deprecate(function(){return createjs.Types.BINARY},"AbstractLoader.BINARY")},CSS:{get:createjs.deprecate(function(){return createjs.Types.CSS},"AbstractLoader.CSS")},FONT:{get:createjs.deprecate(function(){return createjs.Types.FONT},"AbstractLoader.FONT")},FONTCSS:{get:createjs.deprecate(function(){return createjs.Types.FONTCSS},"AbstractLoader.FONTCSS")},IMAGE:{get:createjs.deprecate(function(){return createjs.Types.IMAGE},"AbstractLoader.IMAGE")},JAVASCRIPT:{get:createjs.deprecate(function(){return createjs.Types.JAVASCRIPT},"AbstractLoader.JAVASCRIPT")},JSON:{get:createjs.deprecate(function(){return createjs.Types.JSON},"AbstractLoader.JSON")},JSONP:{get:createjs.deprecate(function(){return createjs.Types.JSONP},"AbstractLoader.JSONP")},MANIFEST:{get:createjs.deprecate(function(){return createjs.Types.MANIFEST},"AbstractLoader.MANIFEST")},SOUND:{get:createjs.deprecate(function(){return createjs.Types.SOUND},"AbstractLoader.SOUND")},VIDEO:{get:createjs.deprecate(function(){return createjs.Types.VIDEO},"AbstractLoader.VIDEO")},SPRITESHEET:{get:createjs.deprecate(function(){return createjs.Types.SPRITESHEET},"AbstractLoader.SPRITESHEET")},SVG:{get:createjs.deprecate(function(){return createjs.Types.SVG},"AbstractLoader.SVG")},TEXT:{get:createjs.deprecate(function(){return createjs.Types.TEXT},"AbstractLoader.TEXT")},XML:{get:createjs.deprecate(function(){return createjs.Types.XML},"AbstractLoader.XML")}})}catch(d){}b.init=function(a,b,c){this.preferXHR=!0,this._preferXHR=!0,this.setPreferXHR(a),this._paused=!1,this._basePath=b,this._crossOrigin=c,this._loadStartWasDispatched=!1,this._currentlyLoadingScript=null,this._currentLoads=[],this._loadQueue=[],this._loadQueueBackup=[],this._loadItemsById={},this._loadItemsBySrc={},this._loadedResults={},this._loadedRawResults={},this._numItems=0,this._numItemsLoaded=0,this._scriptOrder=[],this._loadedScripts=[],this._lastProgress=NaN},b.registerLoader=function(a){if(!a||!a.canLoadItem)throw new Error("loader is of an incorrect type.");if(-1!=this._availableLoaders.indexOf(a))throw new Error("loader already exists."); +this._availableLoaders.unshift(a)},b.unregisterLoader=function(a){var b=this._availableLoaders.indexOf(a);-1!=b&&b 0)return;var c=!1;if(b){for(;b.length;){var d=b.pop(),e=this.getResult(d);for(f=this._loadQueue.length-1;f>=0;f--)if(g=this._loadQueue[f].getItem(),g.id==d||g.src==d){this._loadQueue.splice(f,1)[0].cancel();break}for(f=this._loadQueueBackup.length-1;f>=0;f--)if(g=this._loadQueueBackup[f].getItem(),g.id==d||g.src==d){this._loadQueueBackup.splice(f,1)[0].cancel();break}if(e)this._disposeItem(this.getItem(d));else for(var f=this._currentLoads.length-1;f>=0;f--){var g=this._currentLoads[f].getItem();if(g.id==d||g.src==d){this._currentLoads.splice(f,1)[0].cancel(),c=!0;break}}}c&&this._loadNext()}else{this.close();for(var h in this._loadItemsById)this._disposeItem(this._loadItemsById[h]);this.init(this.preferXHR,this._basePath)}},b.reset=function(){this.close();for(var a in this._loadItemsById)this._disposeItem(this._loadItemsById[a]);for(var b=[],c=0,d=this._loadQueueBackup.length;d>c;c++)b.push(this._loadQueueBackup[c].getItem());this.loadManifest(b,!1)},b.installPlugin=function(a){if(null!=a&&null!=a.getPreloadHandlers){this._plugins.push(a);var b=a.getPreloadHandlers();if(b.scope=a,null!=b.types)for(var c=0,d=b.types.length;d>c;c++)this._typeCallbacks[b.types[c]]=b;if(null!=b.extensions)for(c=0,d=b.extensions.length;d>c;c++)this._extensionCallbacks[b.extensions[c]]=b}},b.setMaxConnections=function(a){this._maxConnections=a,!this._paused&&this._loadQueue.length>0&&this._loadNext()},b.loadFile=function(a,b,c){if(null==a){var d=new createjs.ErrorEvent("PRELOAD_NO_FILE");return void this._sendError(d)}this._addItem(a,null,c),b!==!1?this.setPaused(!1):this.setPaused(!0)},b.loadManifest=function(a,b,d){var e=null,f=null;if(Array.isArray(a)){if(0==a.length){var g=new createjs.ErrorEvent("PRELOAD_MANIFEST_EMPTY");return void this._sendError(g)}e=a}else if("string"==typeof a)e=[{src:a,type:c.MANIFEST}];else{if("object"!=typeof a){var g=new createjs.ErrorEvent("PRELOAD_MANIFEST_NULL");return void this._sendError(g)}if(void 0!==a.src){if(null==a.type)a.type=c.MANIFEST;else if(a.type!=c.MANIFEST){var g=new createjs.ErrorEvent("PRELOAD_MANIFEST_TYPE");this._sendError(g)}e=[a]}else void 0!==a.manifest&&(e=a.manifest,f=a.path)}for(var h=0,i=e.length;i>h;h++)this._addItem(e[h],f,d);b!==!1?this.setPaused(!1):this.setPaused(!0)},b.load=function(){this.setPaused(!1)},b.getItem=function(a){return this._loadItemsById[a]||this._loadItemsBySrc[a]},b.getResult=function(a,b){var c=this._loadItemsById[a]||this._loadItemsBySrc[a];if(null==c)return null;var d=c.id;return b&&this._loadedRawResults[d]?this._loadedRawResults[d]:this._loadedResults[d]},b.getItems=function(a){var b=[];for(var c in this._loadItemsById){var d=this._loadItemsById[c],e=this.getResult(c);(a!==!0||null!=e)&&b.push({item:d,result:e,rawResult:this.getResult(c,!0)})}return b},b.setPaused=function(a){this._paused=a,this._paused||this._loadNext()},b.close=function(){for(;this._currentLoads.length;)this._currentLoads.pop().cancel();this._scriptOrder.length=0,this._loadedScripts.length=0,this.loadStartWasDispatched=!1,this._itemCount=0,this._lastProgress=NaN},b._addItem=function(a,b,c){var d=this._createLoadItem(a,b,c);if(null!=d){var e=this._createLoader(d);null!=e&&("plugins"in e&&(e.plugins=this._plugins),d._loader=e,this._loadQueue.push(e),this._loadQueueBackup.push(e),this._numItems++,this._updateProgress(),(this.maintainScriptOrder&&d.type==createjs.Types.JAVASCRIPT||d.maintainOrder===!0)&&(this._scriptOrder.push(d),this._loadedScripts.push(null)))}},b._createLoadItem=function(a,b,c){var d=createjs.LoadItem.create(a);if(null==d)return null;var e="",f=c||this._basePath;if(d.src instanceof Object){if(!d.type)return null;if(b){e=b;var g=createjs.URLUtils.parseURI(b);null==f||g.absolute||g.relative||(e=f+e)}else null!=f&&(e=f)}else{var h=createjs.URLUtils.parseURI(d.src);h.extension&&(d.ext=h.extension),null==d.type&&(d.type=createjs.RequestUtils.getTypeByExtension(d.ext));var i=d.src;if(!h.absolute&&!h.relative)if(b){e=b;var g=createjs.URLUtils.parseURI(b);i=b+i,null==f||g.absolute||g.relative||(e=f+e)}else null!=f&&(e=f);d.src=e+d.src}d.path=e,(void 0===d.id||null===d.id||""===d.id)&&(d.id=i);var j=this._typeCallbacks[d.type]||this._extensionCallbacks[d.ext];if(j){var k=j.callback.call(j.scope,d,this);if(k===!1)return null;k===!0||null!=k&&(d._loader=k),h=createjs.URLUtils.parseURI(d.src),null!=h.extension&&(d.ext=h.extension)}return this._loadItemsById[d.id]=d,this._loadItemsBySrc[d.src]=d,null==d.crossOrigin&&(d.crossOrigin=this._crossOrigin),d},b._createLoader=function(a){if(null!=a._loader)return a._loader;for(var b=this.preferXHR,c=0;c =this._maxConnections);a++){var b=this._loadQueue[a];this._canStartLoad(b)&&(this._loadQueue.splice(a,1),a--,this._loadItem(b))}}},b._loadItem=function(a){a.on("fileload",this._handleFileLoad,this),a.on("progress",this._handleProgress,this),a.on("complete",this._handleFileComplete,this),a.on("error",this._handleError,this),a.on("fileerror",this._handleFileError,this),this._currentLoads.push(a),this._sendFileStart(a.getItem()),a.load()},b._handleFileLoad=function(a){a.target=null,this.dispatchEvent(a)},b._handleFileError=function(a){var b=new createjs.ErrorEvent("FILE_LOAD_ERROR",null,a.item);this._sendError(b)},b._handleError=function(a){var b=a.target;this._numItemsLoaded++,this._finishOrderedItem(b,!0),this._updateProgress();var c=new createjs.ErrorEvent("FILE_LOAD_ERROR",null,b.getItem());this._sendError(c),this.stopOnError?this.setPaused(!0):(this._removeLoadItem(b),this._cleanLoadItem(b),this._loadNext())},b._handleFileComplete=function(a){var b=a.target,c=b.getItem(),d=b.getResult();this._loadedResults[c.id]=d;var e=b.getResult(!0);null!=e&&e!==d&&(this._loadedRawResults[c.id]=e),this._saveLoadedItems(b),this._removeLoadItem(b),this._finishOrderedItem(b)||this._processFinishedLoad(c,b),this._cleanLoadItem(b)},b._saveLoadedItems=function(a){var b=a.getLoadedItems();if(null!==b)for(var c=0;c b;b++){var c=this._loadedScripts[b];if(null===c)break;if(c!==!0){var d=this._loadedResults[c.id];c.type==createjs.Types.JAVASCRIPT&&createjs.DomUtils.appendToHead(d);var e=c._loader;this._processFinishedLoad(c,e),this._loadedScripts[b]=!0}}},b._processFinishedLoad=function(a,b){if(this._numItemsLoaded++,!this.maintainScriptOrder&&a.type==createjs.Types.JAVASCRIPT){var c=b.getTag();createjs.DomUtils.appendToHead(c)}this._updateProgress(),this._sendFileComplete(a,b),this._loadNext()},b._canStartLoad=function(a){if(!this.maintainScriptOrder||a.preferXHR)return!0;var b=a.getItem();if(b.type!=createjs.Types.JAVASCRIPT)return!0;if(this._currentlyLoadingScript)return!1;for(var c=this._scriptOrder.indexOf(b),d=0;c>d;){var e=this._loadedScripts[d];if(null==e)return!1;d++}return this._currentlyLoadingScript=!0,!0},b._removeLoadItem=function(a){for(var b=this._currentLoads.length,c=0;b>c;c++)if(this._currentLoads[c]==a){this._currentLoads.splice(c,1);break}},b._cleanLoadItem=function(a){var b=a.getItem();b&&delete b._loader},b._handleProgress=function(a){var b=a.target;this._sendFileProgress(b.getItem(),b.progress),this._updateProgress()},b._updateProgress=function(){var a=this._numItemsLoaded/this._numItems,b=this._numItems-this._numItemsLoaded;if(b>0){for(var c=0,d=0,e=this._currentLoads.length;e>d;d++)c+=this._currentLoads[d].progress;a+=c/b*(b/this._numItems)}this._lastProgress!=a&&(this._sendProgress(a),this._lastProgress=a)},b._disposeItem=function(a){delete this._loadedResults[a.id],delete this._loadedRawResults[a.id],delete this._loadItemsById[a.id],delete this._loadItemsBySrc[a.src]},b._sendFileProgress=function(a,b){if(!this._isCanceled()&&!this._paused&&this.hasEventListener("fileprogress")){var c=new createjs.Event("fileprogress");c.progress=b,c.loaded=b,c.total=1,c.item=a,this.dispatchEvent(c)}},b._sendFileComplete=function(a,b){if(!this._isCanceled()&&!this._paused){var c=new createjs.Event("fileload");c.loader=b,c.item=a,c.result=this._loadedResults[a.id],c.rawResult=this._loadedRawResults[a.id],a.completeHandler&&a.completeHandler(c),this.hasEventListener("fileload")&&this.dispatchEvent(c)}},b._sendFileStart=function(a){var b=new createjs.Event("filestart");b.item=a,this.hasEventListener("filestart")&&this.dispatchEvent(b)},b.toString=function(){return"[PreloadJS LoadQueue]"},createjs.LoadQueue=createjs.promote(a,"AbstractLoader")}(),this.createjs=this.createjs||{},function(){"use strict";function a(a){this.AbstractLoader_constructor(a,!0,createjs.Types.TEXT)}var b=(createjs.extend(a,createjs.AbstractLoader),a);b.canLoadItem=function(a){return a.type==createjs.Types.TEXT},createjs.TextLoader=createjs.promote(a,"AbstractLoader")}(),this.createjs=this.createjs||{},function(){"use strict";function a(a){this.AbstractLoader_constructor(a,!0,createjs.Types.BINARY),this.on("initialize",this._updateXHR,this)}var b=createjs.extend(a,createjs.AbstractLoader),c=a;c.canLoadItem=function(a){return a.type==createjs.Types.BINARY},b._updateXHR=function(a){a.loader.setResponseType("arraybuffer")},createjs.BinaryLoader=createjs.promote(a,"AbstractLoader")}(),this.createjs=this.createjs||{},function(){"use strict";function a(a,b){this.AbstractLoader_constructor(a,b,createjs.Types.CSS),this.resultFormatter=this._formatResult,this._tagSrcAttribute="href",b?this._tag=createjs.Elements.style():this._tag=createjs.Elements.link(),this._tag.rel="stylesheet",this._tag.type="text/css"}var b=createjs.extend(a,createjs.AbstractLoader),c=a;c.canLoadItem=function(a){return a.type==createjs.Types.CSS},b._formatResult=function(a){if(this._preferXHR){var b=a.getTag();if(b.styleSheet)b.styleSheet.cssText=a.getResult(!0);else{var c=createjs.Elements.text(a.getResult(!0));b.appendChild(c)}}else b=this._tag;return createjs.DomUtils.appendToHead(b),b},createjs.CSSLoader=createjs.promote(a,"AbstractLoader")}(),this.createjs=this.createjs||{},function(){"use strict";function a(a,b){this.AbstractLoader_constructor(a,b,a.type),this._faces={},this._watched=[],this._count=0,this._watchInterval=null,this._loadTimeout=null,this._injectCSS=void 0===a.injectCSS?!0:a.injectCSS,this.dispatchEvent("initialize")}var b=createjs.extend(a,createjs.AbstractLoader);a.canLoadItem=function(a){return a.type==createjs.Types.FONT||a.type==createjs.Types.FONTCSS},a.sampleText="abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ",a._ctx=document.createElement("canvas").getContext("2d"),a._referenceFonts=["serif","monospace"],a.WEIGHT_REGEX=/[- ._]*(thin|normal|book|regular|medium|black|heavy|[1-9]00|(?:extra|ultra|semi|demi)?[- ._]*(?:light|bold))[- ._]*/gi,a.STYLE_REGEX=/[- ._]*(italic|oblique)[- ._]*/gi,a.FONT_FORMAT={woff2:"woff2",woff:"woff",ttf:"truetype",otf:"truetype"},a.FONT_WEIGHT={thin:100,extralight:200,ultralight:200,light:300,semilight:300,demilight:300,book:"normal",regular:"normal",semibold:600,demibold:600,extrabold:800,ultrabold:800,black:900,heavy:900},a.WATCH_DURATION=10,b.load=function(){if(this.type==createjs.Types.FONTCSS){var a=this._watchCSS();if(!a)return void this.AbstractLoader_load()}else if(this._item.src instanceof Array)this._watchFontArray();else{var b=this._defFromSrc(this._item.src);this._watchFont(b),this._injectStyleTag(this._cssFromDef(b))}this._loadTimeout=setTimeout(createjs.proxy(this._handleTimeout,this),this._item.loadTimeout),this.dispatchEvent("loadstart")},b._handleTimeout=function(){this._stopWatching(),this.dispatchEvent(new createjs.ErrorEvent("PRELOAD_TIMEOUT"))},b._createRequest=function(){return this._request},b.handleEvent=function(a){switch(a.type){case"complete":this._rawResult=a.target._response,this._result=!0,this._parseCSS(this._rawResult);break;case"error":this._stopWatching(),this.AbstractLoader_handleEvent(a)}},b._watchCSS=function(){var a=this._item.src;return a instanceof HTMLStyleElement&&(this._injectCSS&&!a.parentNode&&(document.head||document.getElementsByTagName("head")[0]).appendChild(a),this._injectCSS=!1,a="\n"+a.textContent),-1!==a.search(/\n|\r|@font-face/i)?(this._parseCSS(a),!0):(this._request=new createjs.XHRRequest(this._item),!1)},b._parseCSS=function(a){for(var b=/@font-face\s*\{([^}]+)}/g;;){var c=b.exec(a);if(!c)break;this._watchFont(this._parseFontFace(c[1]))}this._injectStyleTag(a)},b._watchFontArray=function(){for(var a,b=this._item.src,c="",d=b.length-1;d>=0;d--){var e=b[d];a="string"==typeof e?this._defFromSrc(e):this._defFromObj(e),this._watchFont(a),c+=this._cssFromDef(a)+"\n"}this._injectStyleTag(c)},b._injectStyleTag=function(a){if(this._injectCSS){var b=document.head||document.getElementsByTagName("head")[0],c=document.createElement("style");c.type="text/css",c.styleSheet?c.styleSheet.cssText=a:c.appendChild(document.createTextNode(a)),b.appendChild(c)}},b._parseFontFace=function(a){var b=this._getCSSValue(a,"font-family"),c=this._getCSSValue(a,"src");return b&&c?this._defFromObj({family:b,src:c,style:this._getCSSValue(a,"font-style"),weight:this._getCSSValue(a,"font-weight")}):null},b._watchFont=function(a){a&&!this._faces[a.id]&&(this._faces[a.id]=a,this._watched.push(a),this._count++,this._calculateReferenceSizes(a),this._startWatching())},b._startWatching=function(){null==this._watchInterval&&(this._watchInterval=setInterval(createjs.proxy(this._watch,this),a.WATCH_DURATION))},b._stopWatching=function(){clearInterval(this._watchInterval),clearTimeout(this._loadTimeout),this._watchInterval=null},b._watch=function(){for(var b=this._watched,c=a._referenceFonts,d=b.length,e=d-1;e>=0;e--)for(var f=b[e],g=f.refs,h=g.length-1;h>=0;h--){var i=this._getTextWidth(f.family+","+c[h],f.weight,f.style);if(i!=g[h]){var j=new createjs.Event("fileload");f.type="font-family",j.item=f,this.dispatchEvent(j),b.splice(e,1);break}}if(d!==b.length){var j=new createjs.ProgressEvent(this._count-b.length,this._count);this.dispatchEvent(j)}0===d&&(this._stopWatching(),this._sendComplete())},b._calculateReferenceSizes=function(b){for(var c=a._referenceFonts,d=b.refs=[],e=0;e c;c++)b.installPlugin(this.plugins[c]);b.loadManifest(a)}else this._sendComplete()},b._handleManifestFileLoad=function(a){a.target=null,this.dispatchEvent(a)},b._handleManifestComplete=function(a){this._loadedItems=this._manifestQueue.getItems(!0),this._sendComplete()},b._handleManifestProgress=function(a){this.progress=a.progress*(1-c.MANIFEST_PROGRESS)+c.MANIFEST_PROGRESS,this._sendProgress(this.progress)},b._handleManifestError=function(a){var b=new createjs.Event("fileerror");b.item=a.data,this.dispatchEvent(b)},createjs.ManifestLoader=createjs.promote(a,"AbstractLoader")}(),this.createjs=this.createjs||{},function(){"use strict";function a(a,b){this.AbstractMediaLoader_constructor(a,b,createjs.Types.SOUND),createjs.DomUtils.isAudioTag(a)?this._tag=a:createjs.DomUtils.isAudioTag(a.src)?this._tag=a:createjs.DomUtils.isAudioTag(a.tag)&&(this._tag=createjs.DomUtils.isAudioTag(a)?a:a.src),null!=this._tag&&(this._preferXHR=!1)}var b=createjs.extend(a,createjs.AbstractMediaLoader),c=a;c.canLoadItem=function(a){return a.type==createjs.Types.SOUND},b._createTag=function(a){var b=createjs.Elements.audio();return b.autoplay=!1,b.preload="none",b.src=a,b},createjs.SoundLoader=createjs.promote(a,"AbstractMediaLoader")}(),this.createjs=this.createjs||{},function(){"use strict";function a(a,b){this.AbstractMediaLoader_constructor(a,b,createjs.Types.VIDEO),createjs.DomUtils.isVideoTag(a)||createjs.DomUtils.isVideoTag(a.src)?(this.setTag(createjs.DomUtils.isVideoTag(a)?a:a.src),this._preferXHR=!1):this.setTag(this._createTag())}var b=createjs.extend(a,createjs.AbstractMediaLoader),c=a;b._createTag=function(){return createjs.Elements.video()},c.canLoadItem=function(a){return a.type==createjs.Types.VIDEO},createjs.VideoLoader=createjs.promote(a,"AbstractMediaLoader")}(),this.createjs=this.createjs||{},function(){"use strict";function a(a,b){this.AbstractLoader_constructor(a,b,createjs.Types.SPRITESHEET),this._manifestQueue=null}var b=createjs.extend(a,createjs.AbstractLoader),c=a;c.SPRITESHEET_PROGRESS=.25,c.canLoadItem=function(a){return a.type==createjs.Types.SPRITESHEET},b.destroy=function(){this.AbstractLoader_destroy(),this._manifestQueue.close()},b._createRequest=function(){var a=this._item.callback;null!=a?this._request=new createjs.JSONPLoader(this._item):this._request=new createjs.JSONLoader(this._item)},b.handleEvent=function(a){switch(a.type){case"complete":return this._rawResult=a.target.getResult(!0),this._result=a.target.getResult(),this._sendProgress(c.SPRITESHEET_PROGRESS),void this._loadManifest(this._result);case"progress":return a.loaded*=c.SPRITESHEET_PROGRESS,this.progress=a.loaded/a.total,(isNaN(this.progress)||this.progress==1/0)&&(this.progress=0),void this._sendProgress(a)}this.AbstractLoader_handleEvent(a)},b._loadManifest=function(a){if(a&&a.images){var b=this._manifestQueue=new createjs.LoadQueue(this._preferXHR,this._item.path,this._item.crossOrigin);b.on("complete",this._handleManifestComplete,this,!0),b.on("fileload",this._handleManifestFileLoad,this),b.on("progress",this._handleManifestProgress,this),b.on("error",this._handleManifestError,this,!0),b.loadManifest(a.images)}},b._handleManifestFileLoad=function(a){var b=a.result;if(null!=b){var c=this.getResult().images,d=c.indexOf(a.item.src);c[d]=b}},b._handleManifestComplete=function(a){this._result=new createjs.SpriteSheet(this._result),this._loadedItems=this._manifestQueue.getItems(!0),this._sendComplete()},b._handleManifestProgress=function(a){this.progress=a.progress*(1-c.SPRITESHEET_PROGRESS)+c.SPRITESHEET_PROGRESS,this._sendProgress(this.progress)},b._handleManifestError=function(a){var b=new createjs.Event("fileerror");b.item=a.data,this.dispatchEvent(b)},createjs.SpriteSheetLoader=createjs.promote(a,"AbstractLoader")}(),this.createjs=this.createjs||{},function(){"use strict";function a(a,b){this.AbstractLoader_constructor(a,b,createjs.Types.SVG),this.resultFormatter=this._formatResult,this._tagSrcAttribute="data",b?this.setTag(createjs.Elements.svg()):(this.setTag(createjs.Elements.object()),this.getTag().type="image/svg+xml")}var b=createjs.extend(a,createjs.AbstractLoader),c=a;c.canLoadItem=function(a){return a.type==createjs.Types.SVG},b._formatResult=function(a){var b=createjs.DataUtils.parseXML(a.getResult(!0)),c=a.getTag();if(!this._preferXHR&&document.body.contains(c)&&document.body.removeChild(c),null!=b.documentElement){var d=b.documentElement;return document.importNode&&(d=document.importNode(d,!0)),c.appendChild(d),c}return b},createjs.SVGLoader=createjs.promote(a,"AbstractLoader")}(),this.createjs=this.createjs||{},function(){"use strict";function a(a){this.AbstractLoader_constructor(a,!0,createjs.Types.XML),this.resultFormatter=this._formatResult}var b=createjs.extend(a,createjs.AbstractLoader),c=a;c.canLoadItem=function(a){return a.type==createjs.Types.XML},b._formatResult=function(a){return createjs.DataUtils.parseXML(a.getResult(!0))},createjs.XMLLoader=createjs.promote(a,"AbstractLoader")}(),this.createjs=this.createjs||{},function(){var a=createjs.SoundJS=createjs.SoundJS||{};a.version="1.0.0",a.buildDate="Thu, 12 Oct 2017 16:34:05 GMT"}(),this.createjs=this.createjs||{},function(){"use strict";function a(){throw"BrowserDetect cannot be instantiated"}var b=a.agent=window.navigator.userAgent;a.isWindowPhone=b.indexOf("IEMobile")>-1||b.indexOf("Windows Phone")>-1,a.isFirefox=b.indexOf("Firefox")>-1,a.isOpera=null!=window.opera,a.isChrome=b.indexOf("Chrome")>-1,a.isIOS=(b.indexOf("iPod")>-1||b.indexOf("iPhone")>-1||b.indexOf("iPad")>-1)&&!a.isWindowPhone,a.isAndroid=b.indexOf("Android")>-1&&!a.isWindowPhone,a.isBlackberry=b.indexOf("Blackberry")>-1,createjs.BrowserDetect=a}(),this.createjs=this.createjs||{},function(){"use strict";var a=function(){this.interrupt=null,this.delay=null,this.offset=null,this.loop=null,this.volume=null,this.pan=null,this.startTime=null,this.duration=null},b=a.prototype={},c=a;c.create=function(a){if("string"==typeof a)return console&&(console.warn||console.log)("Deprecated behaviour. Sound.play takes a configuration object instead of individual arguments. See docs for info."),(new createjs.PlayPropsConfig).set({interrupt:a});if(null==a||a instanceof c||a instanceof Object)return(new createjs.PlayPropsConfig).set(a);if(null==a)throw new Error("PlayProps configuration not recognized.")},b.set=function(a){if(null!=a)for(var b in a)this[b]=a[b];return this},b.toString=function(){return"[PlayPropsConfig]"},createjs.PlayPropsConfig=c}(),this.createjs=this.createjs||{},function(){"use strict";function a(){throw"Sound cannot be instantiated"}function b(a,b){this.init(a,b)}var c=a;c.INTERRUPT_ANY="any",c.INTERRUPT_EARLY="early",c.INTERRUPT_LATE="late",c.INTERRUPT_NONE="none",c.PLAY_INITED="playInited",c.PLAY_SUCCEEDED="playSucceeded",c.PLAY_INTERRUPTED="playInterrupted",c.PLAY_FINISHED="playFinished",c.PLAY_FAILED="playFailed",c.SUPPORTED_EXTENSIONS=["mp3","ogg","opus","mpeg","wav","m4a","mp4","aiff","wma","mid"],c.EXTENSION_MAP={m4a:"mp4"},c.FILE_PATTERN=/^(?:(\w+:)\/{2}(\w+(?:\.\w+)*\/?))?([\/.]*?(?:[^?]+)?\/)?((?:[^\/?]+)\.(\w+))(?:\?(\S+)?)?$/,c.defaultInterruptBehavior=c.INTERRUPT_NONE,c.alternateExtensions=[],c.activePlugin=null,c._masterVolume=1,c._getMasterVolume=function(){return this._masterVolume},c.getVolume=createjs.deprecate(c._getMasterVolume,"Sound.getVolume"),c._setMasterVolume=function(a){if(null!=Number(a)&&(a=Math.max(0,Math.min(1,a)),c._masterVolume=a,!this.activePlugin||!this.activePlugin.setVolume||!this.activePlugin.setVolume(a)))for(var b=this._instances,d=0,e=b.length;e>d;d++)b[d].setMasterVolume(a)},c.setVolume=createjs.deprecate(c._setMasterVolume,"Sound.setVolume"),c._masterMute=!1,c._getMute=function(){return this._masterMute},c.getMute=createjs.deprecate(c._getMute,"Sound.getMute"),c._setMute=function(a){if(null!=a&&(this._masterMute=a,!this.activePlugin||!this.activePlugin.setMute||!this.activePlugin.setMute(a)))for(var b=this._instances,c=0,d=b.length;d>c;c++)b[c].setMasterMute(a)},c.setMute=createjs.deprecate(c._setMute,"Sound.setMute"),c._getCapabilities=function(){return null==c.activePlugin?null:c.activePlugin._capabilities},c.getCapabilities=createjs.deprecate(c._getCapabilities,"Sound.getCapabilities"),Object.defineProperties(c,{volume:{get:c._getMasterVolume,set:c._setMasterVolume},muted:{get:c._getMute,set:c._setMute},capabilities:{get:c._getCapabilities}}),c._pluginsRegistered=!1,c._lastID=0,c._instances=[],c._idHash={},c._preloadHash={},c._defaultPlayPropsHash={},c.addEventListener=null,c.removeEventListener=null,c.removeAllEventListeners=null,c.dispatchEvent=null,c.hasEventListener=null,c._listeners=null,createjs.EventDispatcher.initialize(c),c.getPreloadHandlers=function(){return{callback:createjs.proxy(c.initLoad,c),types:["sound"],extensions:c.SUPPORTED_EXTENSIONS}},c._handleLoadComplete=function(a){var b=a.target.getItem().src;if(c._preloadHash[b])for(var d=0,e=c._preloadHash[b].length;e>d;d++){var f=c._preloadHash[b][d];if(c._preloadHash[b][d]=!0,c.hasEventListener("fileload")){var a=new createjs.Event("fileload");a.src=f.src,a.id=f.id,a.data=f.data,a.sprite=f.sprite,c.dispatchEvent(a)}}},c._handleLoadError=function(a){var b=a.target.getItem().src;if(c._preloadHash[b])for(var d=0,e=c._preloadHash[b].length;e>d;d++){var f=c._preloadHash[b][d];if(c._preloadHash[b][d]=!1,c.hasEventListener("fileerror")){var a=new createjs.Event("fileerror");a.src=f.src,a.id=f.id,a.data=f.data,a.sprite=f.sprite,c.dispatchEvent(a)}}},c._registerPlugin=function(a){return a.isSupported()?(c.activePlugin=new a,!0):!1},c.registerPlugins=function(a){c._pluginsRegistered=!0;for(var b=0,d=a.length;d>b;b++)if(c._registerPlugin(a[b]))return!0;return!1},c.initializeDefaultPlugins=function(){return null!=c.activePlugin?!0:c._pluginsRegistered?!1:c.registerPlugins([createjs.WebAudioPlugin,createjs.HTMLAudioPlugin])?!0:!1},c.isReady=function(){return null!=c.activePlugin},c.initLoad=function(a){return"video"==a.type?!0:c._registerSound(a)},c._registerSound=function(a){if(!c.initializeDefaultPlugins())return!1;var d;if(a.src instanceof Object?(d=c._parseSrc(a.src), +d.src=a.path+d.src):d=c._parsePath(a.src),null==d)return!1;a.src=d.src,a.type="sound";var e=a.data,f=null;if(null!=e&&(isNaN(e.channels)?isNaN(e)||(f=parseInt(e)):f=parseInt(e.channels),e.audioSprite))for(var g,h=e.audioSprite.length;h--;)g=e.audioSprite[h],c._idHash[g.id]={src:a.src,startTime:parseInt(g.startTime),duration:parseInt(g.duration)},g.defaultPlayProps&&(c._defaultPlayPropsHash[g.id]=createjs.PlayPropsConfig.create(g.defaultPlayProps));null!=a.id&&(c._idHash[a.id]={src:a.src});var i=c.activePlugin.register(a);return b.create(a.src,f),null!=e&&isNaN(e)?a.data.channels=f||b.maxPerChannel():a.data=f||b.maxPerChannel(),i.type&&(a.type=i.type),a.defaultPlayProps&&(c._defaultPlayPropsHash[a.src]=createjs.PlayPropsConfig.create(a.defaultPlayProps)),i},c.registerSound=function(a,b,d,e,f){var g={src:a,id:b,data:d,defaultPlayProps:f};a instanceof Object&&a.src&&(e=b,g=a),g=createjs.LoadItem.create(g),g.path=e,null==e||g.src instanceof Object||(g.src=e+g.src);var h=c._registerSound(g);if(!h)return!1;if(c._preloadHash[g.src]||(c._preloadHash[g.src]=[]),c._preloadHash[g.src].push(g),1==c._preloadHash[g.src].length)h.on("complete",this._handleLoadComplete,this),h.on("error",this._handleLoadError,this),c.activePlugin.preload(h);else if(1==c._preloadHash[g.src][0])return!0;return g},c.registerSounds=function(a,b){var c=[];a.path&&(b?b+=a.path:b=a.path,a=a.manifest);for(var d=0,e=a.length;e>d;d++)c[d]=createjs.Sound.registerSound(a[d].src,a[d].id,a[d].data,b,a[d].defaultPlayProps);return c},c.removeSound=function(a,d){if(null==c.activePlugin)return!1;a instanceof Object&&a.src&&(a=a.src);var e;if(a instanceof Object?e=c._parseSrc(a):(a=c._getSrcById(a).src,e=c._parsePath(a)),null==e)return!1;a=e.src,null!=d&&(a=d+a);for(var f in c._idHash)c._idHash[f].src==a&&delete c._idHash[f];return b.removeSrc(a),delete c._preloadHash[a],c.activePlugin.removeSound(a),!0},c.removeSounds=function(a,b){var c=[];a.path&&(b?b+=a.path:b=a.path,a=a.manifest);for(var d=0,e=a.length;e>d;d++)c[d]=createjs.Sound.removeSound(a[d].src,b);return c},c.removeAllSounds=function(){c._idHash={},c._preloadHash={},b.removeAll(),c.activePlugin&&c.activePlugin.removeAllSounds()},c.loadComplete=function(a){if(!c.isReady())return!1;var b=c._parsePath(a);return a=b?c._getSrcById(b.src).src:c._getSrcById(a).src,void 0==c._preloadHash[a]?!1:1==c._preloadHash[a][0]},c._parsePath=function(a){"string"!=typeof a&&(a=a.toString());var b=a.match(c.FILE_PATTERN);if(null==b)return!1;for(var d=b[4],e=b[5],f=c.capabilities,g=0;!f[e];)if(e=c.alternateExtensions[g++],g>c.alternateExtensions.length)return null;a=a.replace("."+b[5],"."+e);var h={name:d,src:a,extension:e};return h},c._parseSrc=function(a){var b={name:void 0,src:void 0,extension:void 0},d=c.capabilities;for(var e in a)if(a.hasOwnProperty(e)&&d[e]){b.src=a[e],b.extension=e;break}if(!b.src)return!1;var f=b.src.lastIndexOf("/");return-1!=f?b.name=b.src.slice(f+1):b.name=b.src,b},c.play=function(a,b){var d=createjs.PlayPropsConfig.create(b),e=c.createInstance(a,d.startTime,d.duration),f=c._playInstance(e,d);return f||e._playFailed(),e},c.createInstance=function(a,d,e){if(!c.initializeDefaultPlugins())return new createjs.DefaultSoundInstance(a,d,e);var f=c._defaultPlayPropsHash[a];a=c._getSrcById(a);var g=c._parsePath(a.src),h=null;return null!=g&&null!=g.src?(b.create(g.src),null==d&&(d=a.startTime),h=c.activePlugin.create(g.src,d,e||a.duration),f=f||c._defaultPlayPropsHash[g.src],f&&h.applyPlayProps(f)):h=new createjs.DefaultSoundInstance(a,d,e),h.uniqueId=c._lastID++,h},c.stop=function(){for(var a=this._instances,b=a.length;b--;)a[b].stop()},c.setDefaultPlayProps=function(a,b){a=c._getSrcById(a),c._defaultPlayPropsHash[c._parsePath(a.src).src]=createjs.PlayPropsConfig.create(b)},c.getDefaultPlayProps=function(a){return a=c._getSrcById(a),c._defaultPlayPropsHash[c._parsePath(a.src).src]},c._playInstance=function(a,b){var d=c._defaultPlayPropsHash[a.src]||{};if(null==b.interrupt&&(b.interrupt=d.interrupt||c.defaultInterruptBehavior),null==b.delay&&(b.delay=d.delay||0),null==b.offset&&(b.offset=a.position),null==b.loop&&(b.loop=a.loop),null==b.volume&&(b.volume=a.volume),null==b.pan&&(b.pan=a.pan),0==b.delay){var e=c._beginPlaying(a,b);if(!e)return!1}else{var f=setTimeout(function(){c._beginPlaying(a,b)},b.delay);a.delayTimeoutId=f}return this._instances.push(a),!0},c._beginPlaying=function(a,c){if(!b.add(a,c.interrupt))return!1;var d=a._beginPlaying(c);if(!d){var e=createjs.indexOf(this._instances,a);return e>-1&&this._instances.splice(e,1),!1}return!0},c._getSrcById=function(a){return c._idHash[a]||{src:a}},c._playFinished=function(a){b.remove(a);var c=createjs.indexOf(this._instances,a);c>-1&&this._instances.splice(c,1)},createjs.Sound=a,b.channels={},b.create=function(a,c){var d=b.get(a);return null==d?(b.channels[a]=new b(a,c),!0):!1},b.removeSrc=function(a){var c=b.get(a);return null==c?!1:(c._removeAll(),delete b.channels[a],!0)},b.removeAll=function(){for(var a in b.channels)b.channels[a]._removeAll();b.channels={}},b.add=function(a,c){var d=b.get(a.src);return null==d?!1:d._add(a,c)},b.remove=function(a){var c=b.get(a.src);return null==c?!1:(c._remove(a),!0)},b.maxPerChannel=function(){return d.maxDefault},b.get=function(a){return b.channels[a]};var d=b.prototype;d.constructor=b,d.src=null,d.max=null,d.maxDefault=100,d.length=0,d.init=function(a,b){this.src=a,this.max=b||this.maxDefault,-1==this.max&&(this.max=this.maxDefault),this._instances=[]},d._get=function(a){return this._instances[a]},d._add=function(a,b){return this._getSlot(b,a)?(this._instances.push(a),this.length++,!0):!1},d._remove=function(a){var b=createjs.indexOf(this._instances,a);return-1==b?!1:(this._instances.splice(b,1),this.length--,!0)},d._removeAll=function(){for(var a=this.length-1;a>=0;a--)this._instances[a].stop()},d._getSlot=function(b,c){var d,e;if(b!=a.INTERRUPT_NONE&&(e=this._get(0),null==e))return!0;for(var f=0,g=this.max;g>f;f++){if(d=this._get(f),null==d)return!0;if(d.playState==a.PLAY_FINISHED||d.playState==a.PLAY_INTERRUPTED||d.playState==a.PLAY_FAILED){e=d;break}b!=a.INTERRUPT_NONE&&(b==a.INTERRUPT_EARLY&&d.position e.position)&&(e=d)}return null!=e?(e._interrupt(),this._remove(e),!0):!1},d.toString=function(){return"[Sound SoundChannel]"}}(),this.createjs=this.createjs||{},function(){"use strict";var a=function(a,b,c,d){this.EventDispatcher_constructor(),this.src=a,this.uniqueId=-1,this.playState=null,this.delayTimeoutId=null,this._volume=1,Object.defineProperty(this,"volume",{get:this._getVolume,set:this._setVolume}),this.getVolume=createjs.deprecate(this._getVolume,"AbstractSoundInstance.getVolume"),this.setVolume=createjs.deprecate(this._setVolume,"AbstractSoundInstance.setVolume"),this._pan=0,Object.defineProperty(this,"pan",{get:this._getPan,set:this._setPan}),this.getPan=createjs.deprecate(this._getPan,"AbstractSoundInstance.getPan"),this.setPan=createjs.deprecate(this._setPan,"AbstractSoundInstance.setPan"),this._startTime=Math.max(0,b||0),Object.defineProperty(this,"startTime",{get:this._getStartTime,set:this._setStartTime}),this.getStartTime=createjs.deprecate(this._getStartTime,"AbstractSoundInstance.getStartTime"),this.setStartTime=createjs.deprecate(this._setStartTime,"AbstractSoundInstance.setStartTime"),this._duration=Math.max(0,c||0),Object.defineProperty(this,"duration",{get:this._getDuration,set:this._setDuration}),this.getDuration=createjs.deprecate(this._getDuration,"AbstractSoundInstance.getDuration"),this.setDuration=createjs.deprecate(this._setDuration,"AbstractSoundInstance.setDuration"),this._playbackResource=null,Object.defineProperty(this,"playbackResource",{get:this._getPlaybackResource,set:this._setPlaybackResource}),d!==!1&&d!==!0&&this._setPlaybackResource(d),this.getPlaybackResource=createjs.deprecate(this._getPlaybackResource,"AbstractSoundInstance.getPlaybackResource"),this.setPlaybackResource=createjs.deprecate(this._setPlaybackResource,"AbstractSoundInstance.setPlaybackResource"),this._position=0,Object.defineProperty(this,"position",{get:this._getPosition,set:this._setPosition}),this.getPosition=createjs.deprecate(this._getPosition,"AbstractSoundInstance.getPosition"),this.setPosition=createjs.deprecate(this._setPosition,"AbstractSoundInstance.setPosition"),this._loop=0,Object.defineProperty(this,"loop",{get:this._getLoop,set:this._setLoop}),this.getLoop=createjs.deprecate(this._getLoop,"AbstractSoundInstance.getLoop"),this.setLoop=createjs.deprecate(this._setLoop,"AbstractSoundInstance.setLoop"),this._muted=!1,Object.defineProperty(this,"muted",{get:this._getMuted,set:this._setMuted}),this.getMuted=createjs.deprecate(this._getMuted,"AbstractSoundInstance.getMuted"),this.setMuted=createjs.deprecate(this._setMuted,"AbstractSoundInstance.setMuted"),this._paused=!1,Object.defineProperty(this,"paused",{get:this._getPaused,set:this._setPaused}),this.getPaused=createjs.deprecate(this._getPaused,"AbstractSoundInstance.getPaused"),this.setPaused=createjs.deprecate(this._setPaused,"AbstractSoundInstance.setPaused")},b=createjs.extend(a,createjs.EventDispatcher);b.play=function(a){var b=createjs.PlayPropsConfig.create(a);return this.playState==createjs.Sound.PLAY_SUCCEEDED?(this.applyPlayProps(b),void(this._paused&&this._setPaused(!1))):(this._cleanUp(),createjs.Sound._playInstance(this,b),this)},b.stop=function(){return this._position=0,this._paused=!1,this._handleStop(),this._cleanUp(),this.playState=createjs.Sound.PLAY_FINISHED,this},b.destroy=function(){this._cleanUp(),this.src=null,this.playbackResource=null,this.removeAllEventListeners()},b.applyPlayProps=function(a){return null!=a.offset&&this._setPosition(a.offset),null!=a.loop&&this._setLoop(a.loop),null!=a.volume&&this._setVolume(a.volume),null!=a.pan&&this._setPan(a.pan),null!=a.startTime&&(this._setStartTime(a.startTime),this._setDuration(a.duration)),this},b.toString=function(){return"[AbstractSoundInstance]"},b._getPaused=function(){return this._paused},b._setPaused=function(a){return a!==!0&&a!==!1||this._paused==a||1==a&&this.playState!=createjs.Sound.PLAY_SUCCEEDED?void 0:(this._paused=a,a?this._pause():this._resume(),clearTimeout(this.delayTimeoutId),this)},b._setVolume=function(a){return a==this._volume?this:(this._volume=Math.max(0,Math.min(1,a)),this._muted||this._updateVolume(),this)},b._getVolume=function(){return this._volume},b._setMuted=function(a){return a===!0||a===!1?(this._muted=a,this._updateVolume(),this):void 0},b._getMuted=function(){return this._muted},b._setPan=function(a){return a==this._pan?this:(this._pan=Math.max(-1,Math.min(1,a)),this._updatePan(),this)},b._getPan=function(){return this._pan},b._getPosition=function(){return this._paused||this.playState!=createjs.Sound.PLAY_SUCCEEDED||(this._position=this._calculateCurrentPosition()),this._position},b._setPosition=function(a){return this._position=Math.max(0,a),this.playState==createjs.Sound.PLAY_SUCCEEDED&&this._updatePosition(),this},b._getStartTime=function(){return this._startTime},b._setStartTime=function(a){return a==this._startTime?this:(this._startTime=Math.max(0,a||0),this._updateStartTime(),this)},b._getDuration=function(){return this._duration},b._setDuration=function(a){return a==this._duration?this:(this._duration=Math.max(0,a||0),this._updateDuration(),this)},b._setPlaybackResource=function(a){return this._playbackResource=a,0==this._duration&&this._playbackResource&&this._setDurationFromSource(),this},b._getPlaybackResource=function(){return this._playbackResource},b._getLoop=function(){return this._loop},b._setLoop=function(a){null!=this._playbackResource&&(0!=this._loop&&0==a?this._removeLooping(a):0==this._loop&&0!=a&&this._addLooping(a)),this._loop=a},b._sendEvent=function(a){var b=new createjs.Event(a);this.dispatchEvent(b)},b._cleanUp=function(){clearTimeout(this.delayTimeoutId),this._handleCleanUp(),this._paused=!1,createjs.Sound._playFinished(this)},b._interrupt=function(){this._cleanUp(),this.playState=createjs.Sound.PLAY_INTERRUPTED,this._sendEvent("interrupted")},b._beginPlaying=function(a){return this._setPosition(a.offset),this._setLoop(a.loop),this._setVolume(a.volume),this._setPan(a.pan),null!=a.startTime&&(this._setStartTime(a.startTime),this._setDuration(a.duration)),null!=this._playbackResource&&this._position c;c++){var e=this._soundInstances[b][c];e.playbackResource=this._audioSources[b],this._soundInstances[b]=null}},b._handlePreloadError=function(a){},b._updateVolume=function(){},createjs.AbstractPlugin=a}(),this.createjs=this.createjs||{},function(){"use strict";function a(a){this.AbstractLoader_constructor(a,!0,createjs.Types.SOUND)}var b=createjs.extend(a,createjs.AbstractLoader);a.context=null,b.toString=function(){return"[WebAudioLoader]"},b._createRequest=function(){this._request=new createjs.XHRRequest(this._item,!1),this._request.setResponseType("arraybuffer")},b._sendComplete=function(b){a.context.decodeAudioData(this._rawResult,createjs.proxy(this._handleAudioDecoded,this),createjs.proxy(this._sendError,this))},b._handleAudioDecoded=function(a){this._result=a,this.AbstractLoader__sendComplete()},createjs.WebAudioLoader=createjs.promote(a,"AbstractLoader")}(),this.createjs=this.createjs||{},function(){"use strict";function a(a,b,d,e){this.AbstractSoundInstance_constructor(a,b,d,e),this.gainNode=c.context.createGain(),this.panNode=c.context.createPanner(),this.panNode.panningModel=c._panningModel,this.panNode.connect(this.gainNode),this._updatePan(),this.sourceNode=null,this._soundCompleteTimeout=null,this._sourceNodeNext=null,this._playbackStartTime=0,this._endedHandler=createjs.proxy(this._handleSoundComplete,this)}var b=createjs.extend(a,createjs.AbstractSoundInstance),c=a;c.context=null,c._scratchBuffer=null,c.destinationNode=null,c._panningModel="equalpower",b.destroy=function(){this.AbstractSoundInstance_destroy(),this.panNode.disconnect(0),this.panNode=null,this.gainNode.disconnect(0),this.gainNode=null},b.toString=function(){return"[WebAudioSoundInstance]"},b._updatePan=function(){this.panNode.setPosition(this._pan,0,-.5)},b._removeLooping=function(a){this._sourceNodeNext=this._cleanUpAudioNode(this._sourceNodeNext)},b._addLooping=function(a){this.playState==createjs.Sound.PLAY_SUCCEEDED&&(this._sourceNodeNext=this._createAndPlayAudioNode(this._playbackStartTime,0))},b._setDurationFromSource=function(){this._duration=1e3*this.playbackResource.duration},b._handleCleanUp=function(){this.sourceNode&&this.playState==createjs.Sound.PLAY_SUCCEEDED&&(this.sourceNode=this._cleanUpAudioNode(this.sourceNode),this._sourceNodeNext=this._cleanUpAudioNode(this._sourceNodeNext)),0!=this.gainNode.numberOfOutputs&&this.gainNode.disconnect(0),clearTimeout(this._soundCompleteTimeout),this._playbackStartTime=0},b._cleanUpAudioNode=function(a){if(a){if(a.stop(0),a.disconnect(0),createjs.BrowserDetect.isIOS)try{a.buffer=c._scratchBuffer}catch(b){}a=null}return a},b._handleSoundReady=function(a){this.gainNode.connect(c.destinationNode);var b=.001*this._duration,d=Math.min(.001*Math.max(0,this._position),b);this.sourceNode=this._createAndPlayAudioNode(c.context.currentTime-b,d),this._playbackStartTime=this.sourceNode.startTime-d,this._soundCompleteTimeout=setTimeout(this._endedHandler,1e3*(b-d)),0!=this._loop&&(this._sourceNodeNext=this._createAndPlayAudioNode(this._playbackStartTime,0))},b._createAndPlayAudioNode=function(a,b){var d=c.context.createBufferSource();d.buffer=this.playbackResource,d.connect(this.panNode);var e=.001*this._duration;return d.startTime=a+e,d.start(d.startTime,b+.001*this._startTime,e-b),d},b._pause=function(){this._position=1e3*(c.context.currentTime-this._playbackStartTime),this.sourceNode=this._cleanUpAudioNode(this.sourceNode),this._sourceNodeNext=this._cleanUpAudioNode(this._sourceNodeNext),0!=this.gainNode.numberOfOutputs&&this.gainNode.disconnect(0),clearTimeout(this._soundCompleteTimeout)},b._resume=function(){this._handleSoundReady()},b._updateVolume=function(){var a=this._muted?0:this._volume;a!=this.gainNode.gain.value&&(this.gainNode.gain.value=a)},b._calculateCurrentPosition=function(){return 1e3*(c.context.currentTime-this._playbackStartTime)},b._updatePosition=function(){this.sourceNode=this._cleanUpAudioNode(this.sourceNode),this._sourceNodeNext=this._cleanUpAudioNode(this._sourceNodeNext),clearTimeout(this._soundCompleteTimeout),this._paused||this._handleSoundReady()},b._handleLoop=function(){this._cleanUpAudioNode(this.sourceNode),this.sourceNode=this._sourceNodeNext,this._playbackStartTime=this.sourceNode.startTime,this._sourceNodeNext=this._createAndPlayAudioNode(this._playbackStartTime,0),this._soundCompleteTimeout=setTimeout(this._endedHandler,this._duration)},b._updateDuration=function(){this.playState==createjs.Sound.PLAY_SUCCEEDED&&(this._pause(),this._resume())},createjs.WebAudioSoundInstance=createjs.promote(a,"AbstractSoundInstance")}(),this.createjs=this.createjs||{},function(){"use strict";function a(){this.AbstractPlugin_constructor(),this._panningModel=c._panningModel,this.context=c.context,this.dynamicsCompressorNode=this.context.createDynamicsCompressor(),this.dynamicsCompressorNode.connect(this.context.destination),this.gainNode=this.context.createGain(),this.gainNode.connect(this.dynamicsCompressorNode),createjs.WebAudioSoundInstance.destinationNode=this.gainNode,this._capabilities=c._capabilities,this._loaderClass=createjs.WebAudioLoader,this._soundInstanceClass=createjs.WebAudioSoundInstance,this._addPropsToClasses()}var b=createjs.extend(a,createjs.AbstractPlugin),c=a;c._capabilities=null,c._panningModel="equalpower",c.context=null,c._scratchBuffer=null,c._unlocked=!1,c.DEFAULT_SAMPLE_RATE=44100,c.isSupported=function(){var a=createjs.BrowserDetect.isIOS||createjs.BrowserDetect.isAndroid||createjs.BrowserDetect.isBlackberry;return"file:"!=location.protocol||a||this._isFileXHRSupported()?(c._generateCapabilities(),null==c.context?!1:!0):!1},c.playEmptySound=function(){if(null!=c.context){var a=c.context.createBufferSource();a.buffer=c._scratchBuffer,a.connect(c.context.destination),a.start(0,0,0)}},c._isFileXHRSupported=function(){var a=!0,b=new XMLHttpRequest;try{b.open("GET","WebAudioPluginTest.fail",!1)}catch(c){return a=!1}b.onerror=function(){a=!1},b.onload=function(){a=404==this.status||200==this.status||0==this.status&&""!=this.response};try{b.send()}catch(c){a=!1}return a},c._generateCapabilities=function(){if(null==c._capabilities){var a=document.createElement("audio");if(null==a.canPlayType)return null;if(null==c.context&&(c.context=c._createAudioContext(),null==c.context))return null;null==c._scratchBuffer&&(c._scratchBuffer=c.context.createBuffer(1,1,22050)),c._compatibilitySetUp(),"ontouchstart"in window&&"running"!=c.context.state&&(c._unlock(),document.addEventListener("mousedown",c._unlock,!0),document.addEventListener("touchstart",c._unlock,!0),document.addEventListener("touchend",c._unlock,!0)),c._capabilities={panning:!0,volume:!0,tracks:-1};for(var b=createjs.Sound.SUPPORTED_EXTENSIONS,d=createjs.Sound.EXTENSION_MAP,e=0,f=b.length;f>e;e++){var g=b[e],h=d[g]||g;c._capabilities[g]="no"!=a.canPlayType("audio/"+g)&&""!=a.canPlayType("audio/"+g)||"no"!=a.canPlayType("audio/"+h)&&""!=a.canPlayType("audio/"+h)}c.context.destination.numberOfChannels<2&&(c._capabilities.panning=!1)}},c._createAudioContext=function(){var a=window.AudioContext||window.webkitAudioContext;if(null==a)return null;var b=new a;if(/(iPhone|iPad)/i.test(navigator.userAgent)&&b.sampleRate!==c.DEFAULT_SAMPLE_RATE){var d=b.createBuffer(1,1,c.DEFAULT_SAMPLE_RATE),e=b.createBufferSource();e.buffer=d,e.connect(b.destination),e.start(0),e.disconnect(),b.close(),b=new a}return b},c._compatibilitySetUp=function(){if(c._panningModel="equalpower",!c.context.createGain){c.context.createGain=c.context.createGainNode;var a=c.context.createBufferSource();a.__proto__.start=a.__proto__.noteGrainOn,a.__proto__.stop=a.__proto__.noteOff,c._panningModel=0}},c._unlock=function(){c._unlocked||(c.playEmptySound(),"running"==c.context.state&&(document.removeEventListener("mousedown",c._unlock,!0),document.removeEventListener("touchend",c._unlock,!0),document.removeEventListener("touchstart",c._unlock,!0),c._unlocked=!0))},b.toString=function(){return"[WebAudioPlugin]"},b._addPropsToClasses=function(){var a=this._soundInstanceClass;a.context=this.context,a._scratchBuffer=c._scratchBuffer,a.destinationNode=this.gainNode,a._panningModel=this._panningModel,this._loaderClass.context=this.context},b._updateVolume=function(){var a=createjs.Sound._masterMute?0:this._volume;a!=this.gainNode.gain.value&&(this.gainNode.gain.value=a)},createjs.WebAudioPlugin=createjs.promote(a,"AbstractPlugin")}(),this.createjs=this.createjs||{},function(){"use strict";function a(){throw"HTMLAudioTagPool cannot be instantiated"}function b(a){this._tags=[]}var c=a;c._tags={},c._tagPool=new b,c._tagUsed={},c.get=function(a){var b=c._tags[a];return null==b?(b=c._tags[a]=c._tagPool.get(),b.src=a):c._tagUsed[a]?(b=c._tagPool.get(),b.src=a):c._tagUsed[a]=!0,b},c.set=function(a,b){b==c._tags[a]?c._tagUsed[a]=!1:c._tagPool.set(b)},c.remove=function(a){var b=c._tags[a];return null==b?!1:(c._tagPool.set(b),delete c._tags[a],delete c._tagUsed[a],!0)},c.getDuration=function(a){var b=c._tags[a];return null!=b&&b.duration?1e3*b.duration:0},createjs.HTMLAudioTagPool=a;var d=b.prototype;d.constructor=b,d.get=function(){var a;return a=0==this._tags.length?this._createTag():this._tags.pop(),null==a.parentNode&&document.body.appendChild(a),a},d.set=function(a){var b=createjs.indexOf(this._tags,a);-1==b&&(this._tags.src=null,this._tags.push(a))},d.toString=function(){return"[TagPool]"},d._createTag=function(){var a=document.createElement("audio");return a.autoplay=!1,a.preload="none",a}}(),this.createjs=this.createjs||{},function(){"use strict";function a(a,b,c,d){this.AbstractSoundInstance_constructor(a,b,c,d),this._audioSpriteStopTime=null,this._delayTimeoutId=null,this._endedHandler=createjs.proxy(this._handleSoundComplete,this),this._readyHandler=createjs.proxy(this._handleTagReady,this),this._stalledHandler=createjs.proxy(this._playFailed,this),this._audioSpriteEndHandler=createjs.proxy(this._handleAudioSpriteLoop,this),this._loopHandler=createjs.proxy(this._handleSoundComplete,this),c?this._audioSpriteStopTime=.001*(b+c):this._duration=createjs.HTMLAudioTagPool.getDuration(this.src)}var b=createjs.extend(a,createjs.AbstractSoundInstance);b.setMasterVolume=function(a){this._updateVolume()},b.setMasterMute=function(a){this._updateVolume()},b.toString=function(){return"[HTMLAudioSoundInstance]"},b._removeLooping=function(){null!=this._playbackResource&&(this._playbackResource.loop=!1,this._playbackResource.removeEventListener(createjs.HTMLAudioPlugin._AUDIO_SEEKED,this._loopHandler,!1))},b._addLooping=function(){null==this._playbackResource||this._audioSpriteStopTime||(this._playbackResource.addEventListener(createjs.HTMLAudioPlugin._AUDIO_SEEKED,this._loopHandler,!1),this._playbackResource.loop=!0)},b._handleCleanUp=function(){var a=this._playbackResource;if(null!=a){a.pause(),a.loop=!1,a.removeEventListener(createjs.HTMLAudioPlugin._AUDIO_ENDED,this._endedHandler,!1),a.removeEventListener(createjs.HTMLAudioPlugin._AUDIO_READY,this._readyHandler,!1),a.removeEventListener(createjs.HTMLAudioPlugin._AUDIO_STALLED,this._stalledHandler,!1),a.removeEventListener(createjs.HTMLAudioPlugin._AUDIO_SEEKED,this._loopHandler,!1),a.removeEventListener(createjs.HTMLAudioPlugin._TIME_UPDATE,this._audioSpriteEndHandler,!1);try{a.currentTime=this._startTime}catch(b){}createjs.HTMLAudioTagPool.set(this.src,a),this._playbackResource=null}},b._beginPlaying=function(a){return this._playbackResource=createjs.HTMLAudioTagPool.get(this.src),this.AbstractSoundInstance__beginPlaying(a)},b._handleSoundReady=function(a){if(4!==this._playbackResource.readyState){var b=this._playbackResource;return b.addEventListener(createjs.HTMLAudioPlugin._AUDIO_READY,this._readyHandler,!1),b.addEventListener(createjs.HTMLAudioPlugin._AUDIO_STALLED,this._stalledHandler,!1),b.preload="auto",void b.load()}this._updateVolume(),this._playbackResource.currentTime=.001*(this._startTime+this._position),this._audioSpriteStopTime?this._playbackResource.addEventListener(createjs.HTMLAudioPlugin._TIME_UPDATE,this._audioSpriteEndHandler,!1):(this._playbackResource.addEventListener(createjs.HTMLAudioPlugin._AUDIO_ENDED,this._endedHandler,!1),0!=this._loop&&(this._playbackResource.addEventListener(createjs.HTMLAudioPlugin._AUDIO_SEEKED,this._loopHandler,!1),this._playbackResource.loop=!0)),this._playbackResource.play()},b._handleTagReady=function(a){this._playbackResource.removeEventListener(createjs.HTMLAudioPlugin._AUDIO_READY,this._readyHandler,!1),this._playbackResource.removeEventListener(createjs.HTMLAudioPlugin._AUDIO_STALLED,this._stalledHandler,!1),this._handleSoundReady()},b._pause=function(){this._playbackResource.pause()},b._resume=function(){this._playbackResource.play()},b._updateVolume=function(){if(null!=this._playbackResource){var a=this._muted||createjs.Sound._masterMute?0:this._volume*createjs.Sound._masterVolume;a!=this._playbackResource.volume&&(this._playbackResource.volume=a)}},b._calculateCurrentPosition=function(){return 1e3*this._playbackResource.currentTime-this._startTime},b._updatePosition=function(){this._playbackResource.removeEventListener(createjs.HTMLAudioPlugin._AUDIO_SEEKED,this._loopHandler,!1),this._playbackResource.addEventListener(createjs.HTMLAudioPlugin._AUDIO_SEEKED,this._handleSetPositionSeek,!1);try{this._playbackResource.currentTime=.001*(this._position+this._startTime)}catch(a){this._handleSetPositionSeek(null)}},b._handleSetPositionSeek=function(a){null!=this._playbackResource&&(this._playbackResource.removeEventListener(createjs.HTMLAudioPlugin._AUDIO_SEEKED,this._handleSetPositionSeek,!1),this._playbackResource.addEventListener(createjs.HTMLAudioPlugin._AUDIO_SEEKED,this._loopHandler,!1))},b._handleAudioSpriteLoop=function(a){this._playbackResource.currentTime<=this._audioSpriteStopTime||(this._playbackResource.pause(),0==this._loop?this._handleSoundComplete(null):(this._position=0,this._loop--,this._playbackResource.currentTime=.001*this._startTime,this._paused||this._playbackResource.play(),this._sendEvent("loop")))},b._handleLoop=function(a){0==this._loop&&(this._playbackResource.loop=!1,this._playbackResource.removeEventListener(createjs.HTMLAudioPlugin._AUDIO_SEEKED,this._loopHandler,!1))},b._updateStartTime=function(){this._audioSpriteStopTime=.001*(this._startTime+this._duration),this.playState==createjs.Sound.PLAY_SUCCEEDED&&(this._playbackResource.removeEventListener(createjs.HTMLAudioPlugin._AUDIO_ENDED,this._endedHandler,!1),this._playbackResource.addEventListener(createjs.HTMLAudioPlugin._TIME_UPDATE,this._audioSpriteEndHandler,!1))},b._updateDuration=function(){this._audioSpriteStopTime=.001*(this._startTime+this._duration),this.playState==createjs.Sound.PLAY_SUCCEEDED&&(this._playbackResource.removeEventListener(createjs.HTMLAudioPlugin._AUDIO_ENDED,this._endedHandler,!1),this._playbackResource.addEventListener(createjs.HTMLAudioPlugin._TIME_UPDATE,this._audioSpriteEndHandler,!1))},b._setDurationFromSource=function(){this._duration=createjs.HTMLAudioTagPool.getDuration(this.src),this._playbackResource=null},createjs.HTMLAudioSoundInstance=createjs.promote(a,"AbstractSoundInstance")}(),this.createjs=this.createjs||{},function(){"use strict";function a(){this.AbstractPlugin_constructor(),this._capabilities=c._capabilities,this._loaderClass=createjs.SoundLoader,this._soundInstanceClass=createjs.HTMLAudioSoundInstance}var b=createjs.extend(a,createjs.AbstractPlugin),c=a;c.MAX_INSTANCES=30,c._AUDIO_READY="canplaythrough",c._AUDIO_ENDED="ended",c._AUDIO_SEEKED="seeked",c._AUDIO_STALLED="stalled",c._TIME_UPDATE="timeupdate",c._capabilities=null,c.isSupported=function(){return c._generateCapabilities(),null!=c._capabilities},c._generateCapabilities=function(){if(null==c._capabilities){var a=document.createElement("audio");if(null==a.canPlayType)return null;c._capabilities={panning:!1,volume:!0,tracks:-1};for(var b=createjs.Sound.SUPPORTED_EXTENSIONS,d=createjs.Sound.EXTENSION_MAP,e=0,f=b.length;f>e;e++){var g=b[e],h=d[g]||g;c._capabilities[g]="no"!=a.canPlayType("audio/"+g)&&""!=a.canPlayType("audio/"+g)||"no"!=a.canPlayType("audio/"+h)&&""!=a.canPlayType("audio/"+h)}}},b.register=function(a){var b=createjs.HTMLAudioTagPool.get(a.src),c=this.AbstractPlugin_register(a);return c.setTag(b),c},b.removeSound=function(a){this.AbstractPlugin_removeSound(a),createjs.HTMLAudioTagPool.remove(a)},b.create=function(a,b,c){var d=this.AbstractPlugin_create(a,b,c);return d.playbackResource=null,d},b.toString=function(){return"[HTMLAudioPlugin]"},b.setVolume=b.getVolume=b.setMute=null,createjs.HTMLAudioPlugin=createjs.promote(a,"AbstractPlugin")}(),this.createjs=this.createjs||{},function(){"use strict";function a(a){this.EventDispatcher_constructor(),this.ignoreGlobalPause=!1,this.loop=0,this.useTicks=!1,this.reversed=!1,this.bounce=!1,this.timeScale=1,this.duration=0,this.position=0,this.rawPosition=-1,this._paused=!0,this._next=null, +this._prev=null,this._parent=null,this._labels=null,this._labelList=null,a&&(this.useTicks=!!a.useTicks,this.ignoreGlobalPause=!!a.ignoreGlobalPause,this.loop=a.loop===!0?-1:a.loop||0,this.reversed=!!a.reversed,this.bounce=!!a.bounce,this.timeScale=a.timeScale||1,a.onChange&&this.addEventListener("change",a.onChange),a.onComplete&&this.addEventListener("complete",a.onComplete))}var b=createjs.extend(a,createjs.EventDispatcher);b._setPaused=function(a){return createjs.Tween._register(this,a),this},b.setPaused=createjs.deprecate(b._setPaused,"AbstractTween.setPaused"),b._getPaused=function(){return this._paused},b.getPaused=createjs.deprecate(b._getPaused,"AbstactTween.getPaused"),b._getCurrentLabel=function(a){var b=this.getLabels();null==a&&(a=this.position);for(var c=0,d=b.length;d>c&&!(aa&&(a=0),0===e){if(j=!0,-1!==g)return j}else{if(h=a/e|0,i=a-h*e,j=-1!==f&&a>=f*e+e,j&&(a=(i=e)*(h=f)+e),a===g)return j;var k=!this.reversed!=!(this.bounce&&h%2);k&&(i=e-i)}this.position=i,this.rawPosition=a,this._updatePosition(c,j),j&&(this.paused=!0),d&&d(this),b||this._runActions(g,a,c,!c&&-1===g),this.dispatchEvent("change"),j&&this.dispatchEvent("complete")},b.calculatePosition=function(a){var b=this.duration,c=this.loop,d=0,e=0;if(0===b)return 0;-1!==c&&a>=c*b+b?(e=b,d=c):0>a?e=0:(d=a/b|0,e=a-d*b);var f=!this.reversed!=!(this.bounce&&d%2);return f?b-e:e},b.getLabels=function(){var a=this._labelList;if(!a){a=this._labelList=[];var b=this._labels;for(var c in b)a.push({label:c,position:b[c]});a.sort(function(a,b){return a.position-b.position})}return a},b.setLabels=function(a){this._labels=a,this._labelList=null},b.addLabel=function(a,b){this._labels||(this._labels={}),this._labels[a]=b;var c=this._labelList;if(c){for(var d=0,e=c.length;e>d&&!(b l&&(h=i,f=l),e>l&&(g=i,e=l)),c)return this._runActionsRange(h,h,c,d);if(e!==f||g!==h||c||d){-1===e&&(e=g=0);var m=b>=a,n=e;do{var o=!j!=!(k&&n%2),p=n===e?g:m?0:i,q=n===f?h:m?i:0;if(o&&(p=i-p,q=i-q),k&&n!==e&&p===q);else if(this._runActionsRange(p,q,c,d||n!==e&&!k))return!0;d=!1}while(m&&++n<=f||!m&&--n>=f)}}},b._runActionsRange=function(a,b,c,d){},createjs.AbstractTween=createjs.promote(a,"EventDispatcher")}(),this.createjs=this.createjs||{},function(){"use strict";function a(c,d){this.AbstractTween_constructor(d),this.pluginData=null,this.target=c,this.passive=!1,this._stepHead=new b(null,0,0,{},null,!0),this._stepTail=this._stepHead,this._stepPosition=0,this._actionHead=null,this._actionTail=null,this._plugins=null,this._pluginIds=null,this._injected=null,d&&(this.pluginData=d.pluginData,d.override&&a.removeTweens(c)),this.pluginData||(this.pluginData={}),this._init(d)}function b(a,b,c,d,e,f){this.next=null,this.prev=a,this.t=b,this.d=c,this.props=d,this.ease=e,this.passive=f,this.index=a?a.index+1:0}function c(a,b,c,d,e){this.next=null,this.prev=a,this.t=b,this.d=0,this.scope=c,this.funct=d,this.params=e}var d=createjs.extend(a,createjs.AbstractTween);a.IGNORE={},a._tweens=[],a._plugins=null,a._tweenHead=null,a._tweenTail=null,a.get=function(b,c){return new a(b,c)},a.tick=function(b,c){for(var d=a._tweenHead;d;){var e=d._next;c&&!d.ignoreGlobalPause||d._paused||d.advance(d.useTicks?1:b),d=e}},a.handleEvent=function(a){"tick"===a.type&&this.tick(a.delta,a.paused)},a.removeTweens=function(b){if(b.tweenjs_count){for(var c=a._tweenHead;c;){var d=c._next;c.target===b&&a._register(c,!0),c=d}b.tweenjs_count=0}},a.removeAllTweens=function(){for(var b=a._tweenHead;b;){var c=b._next;b._paused=!0,b.target&&(b.target.tweenjs_count=0),b._next=b._prev=null,b=c}a._tweenHead=a._tweenTail=null},a.hasActiveTweens=function(b){return b?!!b.tweenjs_count:!!a._tweenHead},a._installPlugin=function(b){for(var c=b.priority=b.priority||0,d=a._plugins=a._plugins||[],e=0,f=d.length;f>e&&!(c 0&&this._addStep(+a,this._stepTail.props,null,b),this},d.to=function(a,b,c){(null==b||0>b)&&(b=0);var d=this._addStep(+b,null,c);return this._appendProps(a,d),this},d.label=function(a){return this.addLabel(a,this.duration),this},d.call=function(a,b,c){return this._addAction(c||this.target,a,b||[this])},d.set=function(a,b){return this._addAction(b||this.target,this._set,[a])},d.play=function(a){return this._addAction(a||this,this._set,[{paused:!1}])},d.pause=function(a){return this._addAction(a||this,this._set,[{paused:!0}])},d.w=d.wait,d.t=d.to,d.c=d.call,d.s=d.set,d.toString=function(){return"[Tween]"},d.clone=function(){throw"Tween can not be cloned."},d._addPlugin=function(a){var b=this._pluginIds||(this._pluginIds={}),c=a.ID;if(c&&!b[c]){b[c]=!0;for(var d=this._plugins||(this._plugins=[]),e=a.priority||0,f=0,g=d.length;g>f;f++)if(e =1?g:f,k)for(var m=0,n=k.length;n>m;m++){var o=k[m].change(this,b,l,e,c,d);if(o===a.IGNORE)continue a;void 0!==o&&(e=o)}this.target[l]=e}}},d._runActionsRange=function(a,b,c,d){var e=a>b,f=e?this._actionTail:this._actionHead,g=b,h=a;e&&(g=a,h=b);for(var i=this.position;f;){var j=f.t;if((j===b||j>h&&g>j||d&&j===a)&&(f.funct.apply(f.scope,f.params),i!==this.position))return!0;f=e?f.prev:f.next}},d._appendProps=function(b,c,d){var e,f,g,h,i,j=this._stepHead.props,k=this.target,l=a._plugins,m=c.prev,n=m.props,o=c.props||(c.props=this._cloneProps(n)),p={};for(e in b)if(b.hasOwnProperty(e)&&(p[e]=o[e]=b[e],void 0===j[e])){if(h=void 0,l)for(f=l.length-1;f>=0;f--)if(g=l[f].init(this,e,h),void 0!==g&&(h=g),h===a.IGNORE){delete o[e],delete p[e];break}h!==a.IGNORE&&(void 0===h&&(h=k[e]),n[e]=void 0===h?null:h)}for(e in p){g=b[e];for(var q,r=m;(q=r)&&(r=q.prev);)if(r.props!==q.props){if(void 0!==r.props[e])break;r.props[e]=n[e]}}if(d!==!1&&(l=this._plugins))for(f=l.length-1;f>=0;f--)l[f].step(this,c,p);(i=this._injected)&&(this._injected=null,this._appendProps(i,c,!1))},d._injectProp=function(a,b){var c=this._injected||(this._injected={});c[a]=b},d._addStep=function(a,c,d,e){var f=new b(this._stepTail,this.duration,a,c,d,e||!1);return this.duration+=a,this._stepTail=this._stepTail.next=f},d._addAction=function(a,b,d){var e=new c(this._actionTail,this.duration,a,b,d);return this._actionTail?this._actionTail.next=e:this._actionHead=e,this._actionTail=e,this},d._set=function(a){for(var b in a)this[b]=a[b]},d._cloneProps=function(a){var b={};for(var c in a)b[c]=a[c];return b},createjs.Tween=createjs.promote(a,"AbstractTween")}(),this.createjs=this.createjs||{},function(){"use strict";function a(a){var b,c;a instanceof Array||null==a&&arguments.length>1?(b=a,c=arguments[1],a=arguments[2]):a&&(b=a.tweens,c=a.labels),this.AbstractTween_constructor(a),this.tweens=[],b&&this.addTween.apply(this,b),this.setLabels(c),this._init(a)}var b=createjs.extend(a,createjs.AbstractTween);b.addTween=function(a){a._parent&&a._parent.removeTween(a);var b=arguments.length;if(b>1){for(var c=0;b>c;c++)this.addTween(arguments[c]);return arguments[b-1]}if(0===b)return null;this.tweens.push(a),a._parent=this,a.paused=!0;var d=a.duration;return a.loop>0&&(d*=a.loop+1),d>this.duration&&(this.duration=d),this.rawPosition>=0&&a.setPosition(this.rawPosition),a},b.removeTween=function(a){var b=arguments.length;if(b>1){for(var c=!0,d=0;b>d;d++)c=c&&this.removeTween(arguments[d]);return c}if(0===b)return!0;for(var e=this.tweens,d=e.length;d--;)if(e[d]===a)return e.splice(d,1),a._parent=null,a.duration>=this.duration&&this.updateDuration(),!0;return!1},b.updateDuration=function(){this.duration=0;for(var a=0,b=this.tweens.length;b>a;a++){var c=this.tweens[a],d=c.duration;c.loop>0&&(d*=c.loop+1),d>this.duration&&(this.duration=d)}},b.toString=function(){return"[Timeline]"},b.clone=function(){throw"Timeline can not be cloned."},b._updatePosition=function(a,b){for(var c=this.position,d=0,e=this.tweens.length;e>d;d++)this.tweens[d].setPosition(c,!0,a)},b._runActionsRange=function(a,b,c,d){for(var e=this.position,f=0,g=this.tweens.length;g>f;f++)if(this.tweens[f]._runActions(a,b,c,d),e!==this.position)return!0},createjs.Timeline=createjs.promote(a,"AbstractTween")}(),this.createjs=this.createjs||{},function(){"use strict";function a(){throw"Ease cannot be instantiated."}a.linear=function(a){return a},a.none=a.linear,a.get=function(a){return-1>a?a=-1:a>1&&(a=1),function(b){return 0==a?b:0>a?b*(b*-a+1+a):b*((2-b)*a+(1-a))}},a.getPowIn=function(a){return function(b){return Math.pow(b,a)}},a.getPowOut=function(a){return function(b){return 1-Math.pow(1-b,a)}},a.getPowInOut=function(a){return function(b){return(b*=2)<1?.5*Math.pow(b,a):1-.5*Math.abs(Math.pow(2-b,a))}},a.quadIn=a.getPowIn(2),a.quadOut=a.getPowOut(2),a.quadInOut=a.getPowInOut(2),a.cubicIn=a.getPowIn(3),a.cubicOut=a.getPowOut(3),a.cubicInOut=a.getPowInOut(3),a.quartIn=a.getPowIn(4),a.quartOut=a.getPowOut(4),a.quartInOut=a.getPowInOut(4),a.quintIn=a.getPowIn(5),a.quintOut=a.getPowOut(5),a.quintInOut=a.getPowInOut(5),a.sineIn=function(a){return 1-Math.cos(a*Math.PI/2)},a.sineOut=function(a){return Math.sin(a*Math.PI/2)},a.sineInOut=function(a){return-.5*(Math.cos(Math.PI*a)-1)},a.getBackIn=function(a){return function(b){return b*b*((a+1)*b-a)}},a.backIn=a.getBackIn(1.7),a.getBackOut=function(a){return function(b){return--b*b*((a+1)*b+a)+1}},a.backOut=a.getBackOut(1.7),a.getBackInOut=function(a){return a*=1.525,function(b){return(b*=2)<1?.5*(b*b*((a+1)*b-a)):.5*((b-=2)*b*((a+1)*b+a)+2)}},a.backInOut=a.getBackInOut(1.7),a.circIn=function(a){return-(Math.sqrt(1-a*a)-1)},a.circOut=function(a){return Math.sqrt(1- --a*a)},a.circInOut=function(a){return(a*=2)<1?-.5*(Math.sqrt(1-a*a)-1):.5*(Math.sqrt(1-(a-=2)*a)+1)},a.bounceIn=function(b){return 1-a.bounceOut(1-b)},a.bounceOut=function(a){return 1/2.75>a?7.5625*a*a:2/2.75>a?7.5625*(a-=1.5/2.75)*a+.75:2.5/2.75>a?7.5625*(a-=2.25/2.75)*a+.9375:7.5625*(a-=2.625/2.75)*a+.984375},a.bounceInOut=function(b){return.5>b?.5*a.bounceIn(2*b):.5*a.bounceOut(2*b-1)+.5},a.getElasticIn=function(a,b){var c=2*Math.PI;return function(d){if(0==d||1==d)return d;var e=b/c*Math.asin(1/a);return-(a*Math.pow(2,10*(d-=1))*Math.sin((d-e)*c/b))}},a.elasticIn=a.getElasticIn(1,.3),a.getElasticOut=function(a,b){var c=2*Math.PI;return function(d){if(0==d||1==d)return d;var e=b/c*Math.asin(1/a);return a*Math.pow(2,-10*d)*Math.sin((d-e)*c/b)+1}},a.elasticOut=a.getElasticOut(1,.3),a.getElasticInOut=function(a,b){var c=2*Math.PI;return function(d){var e=b/c*Math.asin(1/a);return(d*=2)<1?-.5*(a*Math.pow(2,10*(d-=1))*Math.sin((d-e)*c/b)):a*Math.pow(2,-10*(d-=1))*Math.sin((d-e)*c/b)*.5+1}},a.elasticInOut=a.getElasticInOut(1,.3*1.5),createjs.Ease=a}(),this.createjs=this.createjs||{},function(){"use strict";function a(){throw"MotionGuidePlugin cannot be instantiated."}var b=a;b.priority=0,b.ID="MotionGuide",b.install=function(){return createjs.Tween._installPlugin(a),createjs.Tween.IGNORE},b.init=function(a,c,d){"guide"==c&&a._addPlugin(b)},b.step=function(a,c,d){for(var e in d)if("guide"===e){var f=c.props.guide,g=b._solveGuideData(d.guide,f);f.valid=!g;var h=f.endData;if(a._injectProp("x",h.x),a._injectProp("y",h.y),g||!f.orient)break;var i=void 0===c.prev.props.rotation?a.target.rotation||0:c.prev.props.rotation;if(f.startOffsetRot=i-f.startData.rotation,"fixed"==f.orient)f.endAbsRot=h.rotation+f.startOffsetRot,f.deltaRotation=0;else{var j=void 0===d.rotation?a.target.rotation||0:d.rotation,k=j-f.endData.rotation-f.startOffsetRot,l=k%360;switch(f.endAbsRot=j,f.orient){case"auto":f.deltaRotation=k;break;case"cw":f.deltaRotation=(l+360)%360+360*Math.abs(k/360|0);break;case"ccw":f.deltaRotation=(l-360)%360+-360*Math.abs(k/360|0)}}a._injectProp("rotation",f.endAbsRot)}},b.change=function(a,c,d,e,f,g){var h=c.props.guide;if(h&&c.props!==c.prev.props&&h!==c.prev.props.guide)return"guide"===d&&!h.valid||"x"==d||"y"==d||"rotation"===d&&h.orient?createjs.Tween.IGNORE:void b._ratioToPositionData(f,h,a.target)},b.debug=function(a,c,d){a=a.guide||a;var e=b._findPathProblems(a);if(e&&console.error("MotionGuidePlugin Error found: \n"+e),!c)return e;var f,g=a.path,h=g.length,i=3,j=9;for(c.save(),c.lineCap="round",c.lineJoin="miter",c.beginPath(),c.moveTo(g[0],g[1]),f=2;h>f;f+=4)c.quadraticCurveTo(g[f],g[f+1],g[f+2],g[f+3]);c.strokeStyle="black",c.lineWidth=1.5*i,c.stroke(),c.strokeStyle="white",c.lineWidth=i,c.stroke(),c.closePath();var k=d.length;if(d&&k){var l={},m={};b._solveGuideData(a,l);for(var f=0;k>f;f++)l.orient="fixed",b._ratioToPositionData(d[f],l,m),c.beginPath(),c.moveTo(m.x,m.y),c.lineTo(m.x+Math.cos(.0174533*m.rotation)*j,m.y+Math.sin(.0174533*m.rotation)*j),c.strokeStyle="black",c.lineWidth=1.5*i,c.stroke(),c.strokeStyle="red",c.lineWidth=i,c.stroke(),c.closePath()}return c.restore(),e},b._solveGuideData=function(a,c){var d=void 0;if(d=b.debug(a))return d;var e=c.path=a.path;c.orient=a.orient;c.subLines=[],c.totalLength=0,c.startOffsetRot=0,c.deltaRotation=0,c.startData={ratio:0},c.endData={ratio:1},c.animSpan=1;var f,g,h,i,j,k,l,m,n,o=e.length,p=10,q={};for(f=e[0],g=e[1],l=2;o>l;l+=4){h=e[l],i=e[l+1],j=e[l+2],k=e[l+3];var r={weightings:[],estLength:0,portion:0},s=f,t=g;for(m=1;p>=m;m++){b._getParamsForCurve(f,g,h,i,j,k,m/p,!1,q);var u=q.x-s,v=q.y-t;n=Math.sqrt(u*u+v*v),r.weightings.push(n),r.estLength+=n,s=q.x,t=q.y}for(c.totalLength+=r.estLength,m=0;p>m;m++)n=r.estLength,r.weightings[m]=r.weightings[m]/n;c.subLines.push(r),f=j,g=k}n=c.totalLength;var w=c.subLines.length;for(l=0;w>l;l++)c.subLines[l].portion=c.subLines[l].estLength/n;var x=isNaN(a.start)?0:a.start,y=isNaN(a.end)?1:a.end;b._ratioToPositionData(x,c,c.startData),b._ratioToPositionData(y,c,c.endData),c.startData.ratio=x,c.endData.ratio=y,c.animSpan=c.endData.ratio-c.startData.ratio},b._ratioToPositionData=function(a,c,d){var e,f,g,h,i,j=c.subLines,k=0,l=10,m=a*c.animSpan+c.startData.ratio;for(f=j.length,e=0;f>e;e++){if(h=j[e].portion,k+h>=m){i=e;break}k+=h}void 0===i&&(i=f-1,k-=h);var n=j[i].weightings,o=h;for(f=n.length,e=0;f>e&&(h=n[e]*o,!(k+h>=m));e++)k+=h;i=4*i+2,g=e/l+(m-k)/h*(1/l);var p=c.path;return b._getParamsForCurve(p[i-2],p[i-1],p[i],p[i+1],p[i+2],p[i+3],g,c.orient,d),c.orient&&(a>=.99999&&1.00001>=a&&void 0!==c.endAbsRot?d.rotation=c.endAbsRot:d.rotation+=c.startOffsetRot+a*c.deltaRotation),d},b._getParamsForCurve=function(a,b,c,d,e,f,g,h,i){var j=1-g;i.x=j*j*a+2*j*g*c+g*g*e,i.y=j*j*b+2*j*g*d+g*g*f,h&&(i.rotation=57.2957795*Math.atan2((d-b)*j+(f-d)*g,(c-a)*j+(e-c)*g))},b._findPathProblems=function(a){var b=a.path,c=b&&b.length||0;if(6>c||(c-2)%4){var d=" Cannot parse 'path' array due to invalid number of entries in path. ";return d+="There should be an odd number of points, at least 3 points, and 2 entries per point (x & y). ",d+="See 'CanvasRenderingContext2D.quadraticCurveTo' for details as 'path' models a quadratic bezier.\n\n",d+="Only [ "+c+" ] values found. Expected: "+Math.max(4*Math.ceil((c-2)/4)+2,6)}for(var e=0;c>e;e++)if(isNaN(b[e]))return"All data in path array must be numeric";var f=a.start;if(isNaN(f)&&void 0!==f)return"'start' out of bounds. Expected 0 to 1, got: "+f;var g=a.end;if(isNaN(g)&&void 0!==g)return"'end' out of bounds. Expected 0 to 1, got: "+g;var h=a.orient;return h&&"fixed"!=h&&"auto"!=h&&"cw"!=h&&"ccw"!=h?'Invalid orientation value. Expected ["fixed", "auto", "cw", "ccw", undefined], got: '+h:void 0},createjs.MotionGuidePlugin=a}(),this.createjs=this.createjs||{},function(){"use strict";var a=createjs.TweenJS=createjs.TweenJS||{};a.version="1.0.0",a.buildDate="Thu, 12 Oct 2017 16:34:05 GMT"}(); \ No newline at end of file diff --git a/vex8/patch/cdn/devtodevsdk-v2.js b/vex8/patch/cdn/devtodevsdk-v2.js new file mode 100644 index 000000000..201526d82 --- /dev/null +++ b/vex8/patch/cdn/devtodevsdk-v2.js @@ -0,0 +1,4 @@ +(function(scope){ +function _defineProperty(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}!function(e){"object"===("undefined"==typeof exports?"undefined":_typeof(exports))&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).iampakopako=e()}(function(){return function n(i,a,o){function s(t,e){if(!a[t]){if(!i[t]){var r="function"==typeof require&&require;if(!e&&r)return r(t,!0);if(u)return u(t,!0);throw(r=new Error("Cannot find module '"+t+"'")).code="MODULE_NOT_FOUND",r}r=a[t]={exports:{}},i[t][0].call(r.exports,function(e){return s(i[t][1][e]||e)},r,r.exports,n,i,a,o)}return a[t].exports}for(var u="function"==typeof require&&require,e=0;e >>6:(r<65536?t[i++]=224|r>>>12:(t[i++]=240|r>>>18,t[i++]=128|r>>>12&63),t[i++]=128|r>>>6&63),t[i++]=128|63&r);return t},r.buf2binstring=function(e){return c(e,e.length)},r.binstring2buf=function(e){for(var t=new u.Buf8(e.length),r=0,n=t.length;r >10&1023,a[o++]=56320|1023&r)}return c(a,o)},r.utf8border=function(e,t){for(var r=(t=(t=t||e.length)>e.length?e.length:t)-1;0<=r&&128==(192&e[r]);)r--;return!(r<0)&&0!==r&&r+d[e[r]]>t?r:t}},{"./common":1}],3:[function(e,t,r){"use strict";t.exports=function(e,t,r,n){for(var i=65535&e|0,a=e>>>16&65535|0,o=0;0!==r;){for(r-=o=2e3 >>1:r>>>1;e[t]=r}return e}();t.exports=function(e,t,r,n){var i=s,a=n+r;e^=-1;for(var o=n;o>>8^i[255&(e^t[o])];return-1^e}},{}],5:[function(e,t,r){"use strict";var s,l=e("../utils/common"),u=e("./trees"),f=e("./adler32"),p=e("./crc32"),n=e("./messages"),d=0,c=4,h=0,g=-2,_=-1,v=4,i=2,y=8,m=9,a=286,o=30,D=19,T=2*a+1,E=15,C=3,I=258,b=I+C+1,A=42,P=113,w=1,k=2,S=3,U=4;function O(e,t){return e.msg=n[t],t}function x(e){return(e<<1)-(4 e.avail_out?e.avail_out:r)&&(l.arraySet(e.output,t.pending_buf,t.pending_out,r,e.next_out),e.next_out+=r,t.pending_out+=r,e.total_out+=r,e.avail_out-=r,t.pending-=r,0===t.pending&&(t.pending_out=0))}function V(e,t){u._tr_flush_block(e,0<=e.block_start?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,N(e.strm)}function L(e,t){e.pending_buf[e.pending++]=t}function M(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function B(e,t){var r,n,i=e.max_chain_length,a=e.strstart,o=e.prev_length,s=e.nice_match,u=e.strstart>e.w_size-b?e.strstart-(e.w_size-b):0,d=e.window,c=e.w_mask,l=e.prev,f=e.strstart+I,p=d[a+o-1],h=d[a+o];e.prev_length>=e.good_match&&(i>>=2),s>e.lookahead&&(s=e.lookahead);do{if(d[(r=t)+o]===h&&d[r+o-1]===p&&d[r]===d[a]&&d[++r]===d[a+1]){for(a+=2,r++;d[++a]===d[++r]&&d[++a]===d[++r]&&d[++a]===d[++r]&&d[++a]===d[++r]&&d[++a]===d[++r]&&d[++a]===d[++r]&&d[++a]===d[++r]&&d[++a]===d[++r]&&a u&&0!=--i);return o<=e.lookahead?o:e.lookahead}function z(e){var t,r,n,i,a,o,s,u,d,c=e.w_size;do{if(d=e.window_size-e.lookahead-e.strstart,e.strstart>=c+(c-b)){for(l.arraySet(e.window,e.window,c,c,0),e.match_start-=c,e.strstart-=c,e.block_start-=c,t=r=e.hash_size;n=e.head[--t],e.head[t]=c<=n?n-c:0,--r;);for(t=r=c;n=e.prev[--t],e.prev[t]=c<=n?n-c:0,--r;);d+=c}if(0===e.strm.avail_in)break;if(a=e.strm,o=e.window,s=e.strstart+e.lookahead,u=d,d=void 0,d=a.avail_in,r=0===(d=u =C)for(i=e.strstart-e.insert,e.ins_h=e.window[i],e.ins_h=(e.ins_h< =C&&(e.ins_h=(e.ins_h< =C)if(n=u._tr_tally(e,e.strstart-e.match_start,e.match_length-C),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=C){for(e.match_length--;e.strstart++,e.ins_h=(e.ins_h< =C&&(e.ins_h=(e.ins_h< =C&&e.match_length<=e.prev_length){for(i=e.strstart+e.lookahead-C,n=u._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-C),e.lookahead-=e.prev_length-1,e.prev_length-=2;++e.strstart<=i&&(e.ins_h=(e.ins_h< e.pending_buf_size-5&&(r=e.pending_buf_size-5);;){if(e.lookahead<=1){if(z(e),0===e.lookahead&&t===d)return w;if(0===e.lookahead)break}e.strstart+=e.lookahead,e.lookahead=0;var n=e.block_start+r;if((0===e.strstart||e.strstart>=n)&&(e.lookahead=e.strstart-n,e.strstart=n,V(e,!1),0===e.strm.avail_out))return w;if(e.strstart-e.block_start>=e.w_size-b&&(V(e,!1),0===e.strm.avail_out))return w}return e.insert=0,t===c?(V(e,!0),0===e.strm.avail_out?S:U):(e.strstart>e.block_start&&(V(e,!1),e.strm.avail_out),w)}),new j(4,4,8,4,F),new j(4,5,16,8,F),new j(4,6,32,32,F),new j(4,4,16,16,H),new j(8,16,32,32,H),new j(8,16,128,128,H),new j(8,32,128,256,H),new j(32,128,258,1024,H),new j(32,258,258,4096,H)],r.deflateInit=function(e,t){return G(e,t,y,15,8,0)},r.deflateInit2=G,r.deflateReset=K,r.deflateResetKeep=Y,r.deflateSetHeader=function(e,t){return!e||!e.state||2!==e.state.wrap?g:(e.state.gzhead=t,h)},r.deflate=function(e,t){var r,n,i,a;if(!e||!e.state||5 >8&255),L(r,r.gzhead.time>>16&255),L(r,r.gzhead.time>>24&255),L(r,9===r.level?2:2<=r.strategy||r.level<2?4:0),L(r,255&r.gzhead.os),r.gzhead.extra&&r.gzhead.extra.length&&(L(r,255&r.gzhead.extra.length),L(r,r.gzhead.extra.length>>8&255)),r.gzhead.hcrc&&(e.adler=p(e.adler,r.pending_buf,r.pending,0)),r.gzindex=0,r.status=69):(L(r,0),L(r,0),L(r,0),L(r,0),L(r,0),L(r,9===r.level?2:2<=r.strategy||r.level<2?4:0),L(r,3),r.status=P)):(a=y+(r.w_bits-8<<4)<<8,a|=(2<=r.strategy||r.level<2?0:r.level<6?1:6===r.level?2:3)<<6,0!==r.strstart&&(a|=32),a+=31-a%31,r.status=P,M(r,a),0!==r.strstart&&(M(r,e.adler>>>16),M(r,65535&e.adler)),e.adler=1)),69===r.status)if(r.gzhead.extra){for(n=r.pending;r.gzindex<(65535&r.gzhead.extra.length)&&(r.pending!==r.pending_buf_size||(r.gzhead.hcrc&&r.pending>n&&(e.adler=p(e.adler,r.pending_buf,r.pending-n,n)),N(e),n=r.pending,r.pending!==r.pending_buf_size));)L(r,255&r.gzhead.extra[r.gzindex]),r.gzindex++;r.gzhead.hcrc&&r.pending>n&&(e.adler=p(e.adler,r.pending_buf,r.pending-n,n)),r.gzindex===r.gzhead.extra.length&&(r.gzindex=0,r.status=73)}else r.status=73;if(73===r.status)if(r.gzhead.name){n=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>n&&(e.adler=p(e.adler,r.pending_buf,r.pending-n,n)),N(e),n=r.pending,r.pending===r.pending_buf_size)){i=1;break}}while(i=r.gzindex n&&(e.adler=p(e.adler,r.pending_buf,r.pending-n,n)),0===i&&(r.gzindex=0,r.status=91)}else r.status=91;if(91===r.status)if(r.gzhead.comment){n=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>n&&(e.adler=p(e.adler,r.pending_buf,r.pending-n,n)),N(e),n=r.pending,r.pending===r.pending_buf_size)){i=1;break}}while(i=r.gzindex n&&(e.adler=p(e.adler,r.pending_buf,r.pending-n,n)),0===i&&(r.status=103)}else r.status=103;if(103===r.status&&(r.gzhead.hcrc?(r.pending+2>r.pending_buf_size&&N(e),r.pending+2<=r.pending_buf_size&&(L(r,255&e.adler),L(r,e.adler>>8&255),e.adler=0,r.status=P)):r.status=P),0!==r.pending){if(N(e),0===e.avail_out)return r.last_flush=-1,h}else if(0===e.avail_in&&x(t)<=x(o)&&t!==c)return O(e,-5);if(666===r.status&&0!==e.avail_in)return O(e,-5);if(0!==e.avail_in||0!==r.lookahead||t!==d&&666!==r.status){var o=2===r.strategy?function(e,t){for(var r;;){if(0===e.lookahead&&(z(e),0===e.lookahead)){if(t===d)return w;break}if(e.match_length=0,r=u._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,r&&(V(e,!1),0===e.strm.avail_out))return w}return e.insert=0,t===c?(V(e,!0),0===e.strm.avail_out?S:U):e.last_lit&&(V(e,!1),0===e.strm.avail_out)?w:k}(r,t):3===r.strategy?function(e,t){for(var r,n,i,a,o=e.window;;){if(e.lookahead<=I){if(z(e),e.lookahead<=I&&t===d)return w;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=C&&0 e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=C?(r=u._tr_tally(e,1,e.match_length-C),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(r=u._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),r&&(V(e,!1),0===e.strm.avail_out))return w}return e.insert=0,t===c?(V(e,!0),0===e.strm.avail_out?S:U):e.last_lit&&(V(e,!1),0===e.strm.avail_out)?w:k}(r,t):s[r.level].func(r,t);if(o!==S&&o!==U||(r.status=666),o===w||o===S)return 0===e.avail_out&&(r.last_flush=-1),h;if(o===k&&(1===t?u._tr_align(r):5!==t&&(u._tr_stored_block(r,0,0,!1),3===t&&(R(r.head),0===r.lookahead&&(r.strstart=0,r.block_start=0,r.insert=0))),N(e),0===e.avail_out))return r.last_flush=-1,h}return t!==c?h:r.wrap<=0?1:(2===r.wrap?(L(r,255&e.adler),L(r,e.adler>>8&255),L(r,e.adler>>16&255),L(r,e.adler>>24&255),L(r,255&e.total_in),L(r,e.total_in>>8&255),L(r,e.total_in>>16&255),L(r,e.total_in>>24&255)):(M(r,e.adler>>>16),M(r,65535&e.adler)),N(e),0 =r.w_size&&(0===a&&(R(r.head),r.strstart=0,r.block_start=0,r.insert=0),u=new l.Buf8(r.w_size),l.arraySet(u,t,d-r.w_size,r.w_size,0),t=u,d=r.w_size),o=e.avail_in,s=e.next_in,u=e.input,e.avail_in=d,e.next_in=0,e.input=t,z(r);r.lookahead>=C;){for(n=r.strstart,i=r.lookahead-(C-1);r.ins_h=(r.ins_h< >>7)]}function V(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function L(e,t,r){e.bi_valid>a-r?(e.bi_buf|=t< >a-e.bi_valid,e.bi_valid+=r-a):(e.bi_buf|=t< >>=1,r<<=1,0<--t;);return r>>>1}function z(e,t,r){for(var n,i=new Array(v+1),a=0,o=1;o<=v;o++)i[o]=a=a+r[o-1]<<1;for(n=0;n<=t;n++){var s=e[2*n+1];0!==s&&(e[2*n]=B(i[s]++,s))}}function F(e){for(var t=0;t >1;1<=r;r--)q(e,a,r);for(i=u;r=e.heap[1],e.heap[1]=e.heap[e.heap_len--],q(e,a,1),n=e.heap[1],e.heap[--e.heap_max]=r,e.heap[--e.heap_max]=n,a[2*i]=a[2*r]+a[2*n],e.depth[i]=(e.depth[r]>=e.depth[n]?e.depth[r]:e.depth[n])+1,a[2*r+1]=a[2*n+1]=i,e.heap[1]=i++,q(e,a,1),2<=e.heap_len;);e.heap[--e.heap_max]=e.heap[1],function(e,t){for(var r,n,i,a,o,s=t.dyn_tree,u=t.max_code,d=t.stat_desc.static_tree,c=t.stat_desc.has_stree,l=t.stat_desc.extra_bits,f=t.stat_desc.extra_base,p=t.stat_desc.max_length,h=0,g=0;g<=v;g++)e.bl_count[g]=0;for(s[2*e.heap[e.heap_max]+1]=0,r=e.heap_max+1;r<_;r++)p<(g=s[2*s[2*(n=e.heap[r])+1]+1]+1)&&(g=p,h++),s[2*n+1]=g,u >=7;a >>=1)if(1&t&&0!==e.dyn_ltree[2*r])return s;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return u;for(r=32;r >>3,(a=e.static_len+3+7>>>3)<=i&&(i=a)):i=a=r+5,r+4<=i&&-1!==t?W(e,t,r,n):4===e.strategy||a===i?(L(e,2+(n?1:0),3),Y(e,I,b)):(L(e,4+(n?1:0),3),function(e,t,r,n){var i;for(L(e,t-257,5),L(e,r-1,5),L(e,n-4,4),i=0;i >>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&t,e.pending_buf[e.l_buf+e.last_lit]=255&r,e.last_lit++,0===t?e.dyn_ltree[2*r]++:(e.matches++,t--,e.dyn_ltree[2*(P[r]+d+1)]++,e.dyn_dtree[2*N(t)]++),e.last_lit===e.lit_bufsize-1},r._tr_align=function(e){L(e,2,3),M(e,h,I),16===(e=e).bi_valid?(V(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):8<=e.bi_valid&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)}},{"../utils/common":1}],8:[function(e,t,r){"use strict";t.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],"/lib/deflate.js":[function(e,t,r){"use strict";var o=e("./zlib/deflate"),s=e("./utils/common"),u=e("./utils/strings"),n=e("./zlib/messages"),i=e("./zlib/zstream"),d=Object.prototype.toString;function a(e){if(!(this instanceof a))return new a(e);this.options=s.assign({level:-1,method:8,chunkSize:16384,windowBits:15,memLevel:8,strategy:0,to:""},e||{});var t=this.options;if(t.raw&&0 >2,i=(3&o)<<4|(t=e.charCodeAt(u++))>>4,a=(15&t)<<2|(r=e.charCodeAt(u++))>>6,o=63&r,isNaN(t)?a=o=64:isNaN(r)&&(o=64),s=s+this._keyStr.charAt(n)+this._keyStr.charAt(i)+this._keyStr.charAt(a)+this._keyStr.charAt(o);return s},isEncode:function(e){if(null===e||""===e||""===e.trim())return!1;try{return btoa(atob(e))==e}catch(e){return!1}},decode:function(e){var t,r,n,i,a,o,s="",u=0;for(e=e.replace(/[^A-Za-z0-9\+\/\=]/g,"");u >2,r=(3&a)<<6|(o=this._keyStr.indexOf(e.charAt(u++))),s+=String.fromCharCode(n<<2|i>>4),64!=a&&(s+=String.fromCharCode(t)),64!=o&&(s+=String.fromCharCode(r));return s=Base64._utf8_decode(s)},_utf8_encode:function(e){e=e.replace(/\r\n/g,"\n");for(var t="",r=0;r >6|192):(t+=String.fromCharCode(n>>12|224),t+=String.fromCharCode(n>>6&63|128)),t+=String.fromCharCode(63&n|128))}return t},_utf8_decode:function(e){var t,r="",n=0;for(c1=c2=0;n Int32Max&&M("{amountArg} is overflowed",{amountArg:s,method:e},!0),d[CA_TYPE]=i,d},e.prototype.validLevel=function(e,t){return z(e,"The level argument value",t,1,Int32Max-1)},e.prototype.validTraking=function(e,t){return d(e,"status",t,!0)},e.prototype.validAppVer=function(e,t){var r="The app version argument value",t=N.delNotValidChars(t);return B(e,r,t)?t=F(e,r,t,255):null},e.prototype.validSdkCode=function(e,t){return z(e,"The sdk code argument value",t,1,Int32Max-1)},e.prototype.validStartPe=function(e,t,r){var n="The event name argument value",i="The source parameter value",a=N.delNotValidChars(t),t={};return B(e,n,a)&&(t.name=F(e,n,a,40)),V.isNullOrEmpty(r)||(void 0!==r[PE_SOURCE]&&(a=N.delNotValidChars(r[PE_SOURCE]),B(e,i,a)&&(t[PE_SOURCE]=F(e,i,a,40))),void 0!==r[PE_DIFFICULTY]&&z(e,"The difficulty parameter value",r[PE_DIFFICULTY],Int32Min,Int32Max)&&(t[PE_DIFFICULTY]=r[PE_DIFFICULTY])),t},e.prototype.validStopPe=function(e,t,r){var n,i,a="The event name argument value",t=N.delNotValidChars(t),o=[PE_SPENT,PE_EARND],s=_defineProperty({},PE_SUCCESS,!1);if(B(e,a,t)&&(s.name=F(e,a,t,40)),!V.isNullOrEmpty(r)){void 0!==r[PE_DURATION]&&z(e,"The duration parameter value",r[PE_DURATION],0,Int32Max)&&(s[PE_DURATION]=r[PE_DURATION]),void 0!==r[PE_SUCCESS]&&d(e,"The success parameter value",r[PE_SUCCESS],!0)&&(s[PE_SUCCESS]=r[PE_SUCCESS]);for(var u=o.length-1;0<=u;u--)if(void 0!==r[n=o[u]]){switch(n){case PE_EARND:i="Earn",s[n]=S(e,"earn dictionary",r[n],24,1,Int64Max);break;case PE_SPENT:i="Spent",s[n]=S(e,"spent dictionary",r[n],24,1,Int64Max)}V.isNullOrEmpty(s[n])&&(M("{arg} dictionary is empty !",{method:e,arg:i},!1),delete s[n])}}return s},e.prototype.validPlKey=function(e,t){var r=!(2 =s.time()&&s.time()+E.getAbTimeout() =s.time()&&-1===[DI_CODE].indexOf(_)&&(p[_DTDEventStorage.Params][_DTDEventParams.InExperiments]=s.experimentIds()),p[_DTDEventStorage.Params][_DTDEventParams.Code]=_,r[h].events.push(p[_DTDEventStorage.Params])}T.removeByPrimaryIds({}),a||(reports=(_defineProperty(l={},"registrationDate",D.getRg()),_defineProperty(l,"packages",[]),l),_forEach(function(e,t){reports.packages.push(r[e])},i),o.body={reports:[reports]},o.auxiliary["Content UUID"]=c,_logger.info("Trying to send a report [{id}]",{id:c}),I.run(_key,o,function(e,t,r){!function(e,t,r){r={id:r,status:e};_isNullOrEmpty(t)&&200===e?(T.removeByPrimaryIds(u),setTimeout(function(){d._run(!0)},0),_logger.info("Report [{id}] has been sent successfully",r)):(C(15e3,n),d._status=0,_logger.error("Report [{id}] submission failed. Status code: {status}",r),_logger.debug("The network queue is stopped"))}(e,r,c)})),2!==this._status&&(this._status=a?0:1)}}}return _forEach=b.forEach,_isNullOrEmpty=DTDTypeValidator.isNullOrEmpty,_DTDEventStorage=DTDEventStorage,_DTDEventParams=DTDEventParams,_key="events",_DTDRequestHeader=DTDRequestHeader,_logger=DTDLogger.getInstance(),_getHash=function(r){var n=[];return _forEach(function(e,t){_DTDEventStorage.hasOwnProperty(e)&&n.push(r[_DTDEventStorage[e]])},e),n.join("_")},_createPackage=function(n){var i={events:[]};return _forEach(function(e,t){var r=_DTDEventStorage[e];_isNullOrEmpty(n[r])||(i[e]=n[r])},e),i},t.prototype={start:function(){this._status=0},stop:function(){this._tempEvents={},this._status=3},add:function(e,t){this._tempEvents[e]=t},send:function(){0==this._status?this._run():2==this._status&&this._checkedAbFreez()}},t},ConfigManager=function(h,g){function e(i,n,a,o,s,t){function r(e,t,r){if(f=(new Date).getTime(),_isNullOrEmpty(r)&&200===e)c=3,_isFunction(s)&&s(t),_attempt=0;else if(422===e)c=3,_attempt=0;else{var n=d;switch(202===e?(c=5,_retryTimeOutBack=t.retryAfter,n=_retryTimeOutBack,_attempt++):(_attempt=0,c=2),i){case"sdk":_logger.debug("Failed to get analytics configuration, using the default configuration and retrying after "+parseInt(n/1e3)+" seconds");break;case"d2dId":_logger.error("BackendIdentifiers unknown status code "+e)}p(n)}}function u(){var e=function(){var e=(_defineProperty(e={},_DTDRequestHeader.DeviceId,a.getDeviceId()),_defineProperty(e,_DTDRequestHeader.PreviousDeviceId,a.getPrevDeviceId()),_defineProperty(e,_DTDRequestHeader.UserId,a.getId()),_defineProperty(e,_DTDRequestHeader.PreviousUserId,a.getPrevUserId()),e);a.haveBackendId()&&(null!==a.getD2dCrossId()&&(e[_DTDRequestHeader.CrossPlatformDevtodevId]=a.getD2dCrossId()),e[_DTDRequestHeader.DevtodevId]=a.getD2dId());var t={headers:e,toBase64:[_DTDRequestHeader.DeviceId,_DTDRequestHeader.PreviousDeviceId,_DTDRequestHeader.UserId,_DTDRequestHeader.PreviousUserId]},r=[];switch(i){case"sdk":t.body={sdkVersion:n.getSdkVer(),appVersion:o.getAppVer(),excludeVersion:o.getExcludeVer(),sdkCodeVersion:n.getSdkVerCode()},r=["v2","analytics","config"];break;case"exp":r=["v2","remoteconfig","experiments"];break;case"offer":r=["v2","remoteconfig","offer"];break;case"d2dId":r=["v2","analytics","identification"],t.body={attempt:l}}return t.url=n.buildUrl(r,{appId:n.getAppId()}),t}();c=1,_isFunction(t)&&t(),g.run(i,e,r)}function e(){h.removeTaskByKey(i),g.stop(i)}var d=6e4,c=0,l=1,f=0,p=function(e){e=new DTDTimeManagerTask(u,e,i);h.removeTaskByKey(i),h.addTask(e)};this._pause=function(){-1!=[1,2].indexOf(c)&&(e(),c=4)},this._start=function(){var e;-1!=[0,4].indexOf(c)?u():5==c&&(0<(e=f+_retryTimeOutBack-(new Date).getTime())?p(e):u())},this._clear=function(){e(),c=0}}return _DTDRequestHeader=DTDRequestHeader,_isNullOrEmpty=DTDTypeValidator.isNullOrEmpty,_isFunction=DTDTypeValidator.isFunction,_logger=DTDLogger.getInstance(),e.prototype={start:function(){this._start()},clear:function(){this._clear()},pause:function(){this._pause()}},e},ManagerProgression=function(){function e(){}var i={},a=null,o=DTDLogger.getInstance();return e.prototype.start=function(e,t){return this.clear(),a=e,i={startTime:Date.now(),startBundle:t},o.info("Progression event '{name}' is started",{name:e}),!0},e.prototype.finish=function(e,t){if(null===a)o.warning("Progression event can't be finished! Doesn't have any started progression events");else{if(a==e){o.info("Progression event '{name}' is finished",{name:e});var r,n={name:e,parameters:{}};return void 0!==i.startBundle[PE_SOURCE]&&(n.parameters[PE_SOURCE]=i.startBundle[PE_SOURCE]),n.parameters.success=t[PE_SUCCESS],void 0===t[PE_DURATION]?0<(r=Math.ceil((Date.now()-i.startTime)/1e3))&&(n.parameters[PE_DURATION]=r):n.parameters[PE_DURATION]=t[PE_DURATION],void 0!==i.startBundle[PE_DIFFICULTY]&&(n.parameters[PE_DIFFICULTY]=i.startBundle[PE_DIFFICULTY]),void 0!==t[PE_EARND]&&(n[PE_EARND]=t[PE_EARND]),void 0!==t[PE_SPENT]&&(n[PE_SPENT]=t[PE_SPENT]),i={},a=null,n}o.warning("Progression event can't be finished!\n\tStarted progression event name is [{currentName}]\n\tCurrent event name is [{name}]",{currentName:a,name:e})}return!1},e.prototype.getLocation=function(){return a},e.prototype.clear=function(){i={},null!==a&&o.info("Info Progression event [{name}] is cleared",{name:a}),a=null},e}(),SchedulerIntervel=function(n){function e(e,t,r){this._delay=r,this._callback=t,this._key=e,this._status=0,this._abort=function(){0!==this._status&&n.removeTaskByKey(this._key)},this._run=function(){var e=new DTDTimeManagerTask(this._onResponse.bind(this),this._delay,this._key);n.addTask(e),this._status=1},this._onResponse=function(){this._run(),this._callback()}}return e.prototype={start:function(){0==this._status&&this._run()},reset:function(){this._abort(),this._status=0,this.start()},pause:function(){this._abort(),this._status=0},setDelay:function(e){this._delay=e,this.reset()}},e},DTDCookies2=function(){function e(){}var a={};return e.prototype.isAvailable=function(){return void 0!==window.navigator&&void 0!==window.navigator.cookieEnabled?window.navigator.cookieEnabled:(window.document.cookie="testcookie=test; max-age=10000",1!==(a=window.document.cookie).indexOf("testcookie=test")&&(window.document.cookie="testcookie=test; max-age=1",!0))},e.prototype.setItem=function(e,t){var r=new Date;r.setTime(Date.now()+31536e7),window.document.cookie=e+"="+t+"; expires="+r.toGMTString()+"; path=/"},e.prototype.getItem=function(e){var t,r,n,i=null;for(a=window.document.cookie.split(";"),t=0;t =e+144e5},refreshBalanceSentTime:function(){this._setAttr(a.TimeSentBalance,(new Date).getTime())},turnOffRef:function(){this._setAttr(a.ReferralSatus,0)},isTurnOnRef:function(){return this._getAttr(a.ReferralSatus,1)},getTutorialSteps:function(){return this._getAttr(a.TutorialSteps,[])},insertTutorStep:function(e){var t=this._getAttr(a.TutorialSteps,[]);t.push(e),this._setAttr(a.TutorialSteps,t)},setCA:function(e){var t=e[CA_SOURCE],r=AccrualTypes[e[CA_TYPE]],n=e[CA_CURRENCY_AMOUNT],i=e[CA_CURRENCY_NAME],e=this.getCA();o.isNullOrEmpty(e[r])&&(e[r]={}),o.isNullOrEmpty(e[r][t])&&(e[r][t]={}),o.isNullOrEmpty(e[r][t][i])&&(e[r][t][i]=0),e[r][t][i]+=n,this._setAttr(a.CurrencyAccrual,e)},getCA:function(){return this._getAttr(a.CurrencyAccrual,{})},clearCA:function(){this._removeAttribute(a.CurrencyAccrual)},isTracking:function(){return!!this._getAttr(a.Tracking,1)},setTracking:function(e){this._setAttr(a.Tracking,e?1:0)},getCard:function(){return this._getAttr(a.Profile,{})},getCardField:function(e){return this._getAttr([a.Profile,e],null)},clearCard:function(){this._removeAttribute(a.Profile)},clearCardChanges:function(){this._removeAttribute(a.UpdateProfile)},unsetCardField:function(e){var t=this.getCard(),r=this.getCardChanges();delete t[e],r[e]=null,this._setAttrs((_defineProperty(e={},a.UpdateProfile,r),_defineProperty(e,a.Profile,t),e))},setCardField:function(e,t){var r=this.getCard(),n=this.getCardChanges();r[e]=t,n[e]=t,this._setAttrs((_defineProperty(t={},a.UpdateProfile,n),_defineProperty(t,a.Profile,r),t))},isPayingUser:function(){return this._getAttr(a.IsPayingUser,!1)},getCardChanges:function(){return this._getAttr(a.UpdateProfile,{})},setAbConfig:function(e){var t;this._setAttrs((_defineProperty(t={},a.Experiments,e.experiments),_defineProperty(t,a.UserProperties,e.userProperties),t))},getUserPropery:function(){return this._getAttr(a.UserProperties,{})},setExperimentsForUser:function(e){return this._setAttr(a.UserExperiments,e)},removeExperimentsForUser:function(){this._removeAttribute(a.UserExperiments)},experiments:function(){return this._getExperiment()},setDefaultConfig:function(e){return this._setAttr(a.DefaultConfig,e)},getDefaultConfig:function(){return this._getAttr(a.DefaultConfig)},getRemoteConfig:function(){var e,t=this._getAttr(a.DefaultConfig);for(e in abConfig=this._getExperiment().getConfig(),abConfig)abConfig.hasOwnProperty(e)&&(t[e]=abConfig[e]);return t},getRemoteValue:function(e){return this.getRemoteConfig()[e]}},e}(),UsersModel=function(){"use strict";function e(e,t){r.call(this,e,t,2 n&&(n=t[r=e][i.LastActive]));return r},e}(),EventsModel=function(){"use strict";function e(e,t,r){n.call(this,e,t,r)}var n=BaseAdapter("events"),i=DTDEventStorage;return((e.prototype=Object.create(n.prototype)).constructor=e).prototype.get=function(){return this._get([])},e.prototype.add=function(e){var t=this._get([]),r=1;0!==t.length&&(r=t[t.length-1][i.PrimaryId]+1),e[i.PrimaryId]=r,t.push(e),this._set(t)},e.prototype.removeByPrimaryIds=function(e){for(var t=this._get([]),r=[],n=t.length-1;0<=n;n--)void 0===e[t[n][i.PrimaryId]]&&r.unshift(t[n]);this._set(r)},e.prototype.removeByPrimaryUserId=function(e){for(var t=this._get([]),r=[],n=t.length-1;0<=n;n--)t[n][i.PrimaryUserId]!==e&&r.unshift(t[n]);this._set(r)},e.prototype.getCountEventsByUser=function(e){for(var t=this._get([]),r=0,n=t.length-1;0<=n;n--)t[n][i.PrimaryUserId]===e&&r++;return r},e.prototype.getEventsByUser=function(e){for(var t=this._get([]),r=[],n=t.length-1;0<=n;n--)t[n][i.PrimaryUserId]===e&&r.unshift(t[n]);return r},e}(),Storage=function(){"use strict";function e(){}return e.prototype.setItem=function(e,t){this._driver.setItem(e,t)},e.prototype.getItem=function(e){return this._driver.getItem(e)},e.prototype.setDriver=function(e){this._driver=e},e.prototype.isAvailable=function(){return!!this._driver&&this._driver.isAvailable()},e.prototype.removeItem=function(e){return this._driver.removeItem(e)},e}(),StorageManager2=function(){function e(e){var r=new Storage,n={};r.setDriver(e),this._init=function(e,t){n.app=new AppsModel(e,r,t),n.user=new UsersModel(e,r,t),n.event=new EventsModel(e,r)},this._getAdaper=function(e){return n[e]},this._isAvailable=function(){return r.isAvailable()}}return e.prototype.init=function(e){this._init(e,1 Date.now()||t[e].isTesting)};return(e=function(e,t,r){n=new a("exp",o=r,l=e,f=t,function(e){_remoteManager.setAbConfig(e)})}).prototype={fetch:function(e){n.clear(),n.start(),i=e},checkingCondition:function(e){t(e)},start:function(){var e;l.experiments().isExist()||l.experiments().isOffer()?(e=(new Date).getTime()-l.experiments().time())>=f.getAbTimeout()?d():(e=new DTDTimeManagerTask(d,f.getAbTimeout()-e,"clearAbTest"),s.addTask(e)):l.experiments().isActivated()},activated:function(){var e;r(),l.experiments().isOffer()?(e=l.experiments(),s.removeTaskByKey("clearAbTest"),e.setAttrs(_defineProperty({},h.Status,3)),l.setExperimentsForUser(e.get()),m.info("Start experiment "+JSON.stringify(_userModel.getExpiriments()))):l.experiments().isActivated()&&m.info("Experiment already started")},setAbConfig:function(e){_userModel.setAbConfig(e),r(),t()}},e};DTDVerificationCondition=function(){var n="NOT IN",i=">",a="<",o="!=",s=">=",u="<=",o="!=",t=DTDHelpers,d=DTDTypeValidator;function e(){}function r(e,r){return d.isObject(e)?!t.findObj(function(e,t){switch(t){case"IN":case n:return!function(e,t,r){if(!d.isArray(t))return!1;if(!d.isString(r)&&!d.isInteger(r))return!1;r=-1 =m.getCountForRequest())&&re())},Q=function(){var e;0 li{position:relative}.fa-li{left:-2em;position:absolute;text-align:center;width:2em;line-height:inherit}.fa-border{border:.08em solid #eee;border-radius:.1em;padding:.2em .25em .15em}.fa-pull-left{float:left}.fa-pull-right{float:right}.fa.fa-pull-left,.fab.fa-pull-left,.fal.fa-pull-left,.far.fa-pull-left,.fas.fa-pull-left{margin-right:.3em}.fa.fa-pull-right,.fab.fa-pull-right,.fal.fa-pull-right,.far.fa-pull-right,.fas.fa-pull-right{margin-left:.3em}.fa-spin{-webkit-animation:fa-spin 2s linear infinite;animation:fa-spin 2s linear infinite}.fa-pulse{-webkit-animation:fa-spin 1s steps(8) infinite;animation:fa-spin 1s steps(8) infinite}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.fa-rotate-90{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";-webkit-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";-webkit-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";-webkit-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";-webkit-transform:scaleX(-1);transform:scaleX(-1)}.fa-flip-vertical{-webkit-transform:scaleY(-1);transform:scaleY(-1)}.fa-flip-both,.fa-flip-horizontal.fa-flip-vertical,.fa-flip-vertical{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)"}.fa-flip-both,.fa-flip-horizontal.fa-flip-vertical{-webkit-transform:scale(-1);transform:scale(-1)}:root .fa-flip-both,:root .fa-flip-horizontal,:root .fa-flip-vertical,:root .fa-rotate-90,:root .fa-rotate-180,:root .fa-rotate-270{-webkit-filter:none;filter:none}.fa-stack{display:inline-block;height:2em;line-height:2em;position:relative;vertical-align:middle;width:2.5em}.fa-stack-1x,.fa-stack-2x{left:0;position:absolute;text-align:center;width:100%}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:#fff}.fa-500px:before{content:"\f26e"}.fa-accessible-icon:before{content:"\f368"}.fa-accusoft:before{content:"\f369"}.fa-acquisitions-incorporated:before{content:"\f6af"}.fa-ad:before{content:"\f641"}.fa-address-book:before{content:"\f2b9"}.fa-address-card:before{content:"\f2bb"}.fa-adjust:before{content:"\f042"}.fa-adn:before{content:"\f170"}.fa-adobe:before{content:"\f778"}.fa-adversal:before{content:"\f36a"}.fa-affiliatetheme:before{content:"\f36b"}.fa-air-freshener:before{content:"\f5d0"}.fa-airbnb:before{content:"\f834"}.fa-algolia:before{content:"\f36c"}.fa-align-center:before{content:"\f037"}.fa-align-justify:before{content:"\f039"}.fa-align-left:before{content:"\f036"}.fa-align-right:before{content:"\f038"}.fa-alipay:before{content:"\f642"}.fa-allergies:before{content:"\f461"}.fa-amazon:before{content:"\f270"}.fa-amazon-pay:before{content:"\f42c"}.fa-ambulance:before{content:"\f0f9"}.fa-american-sign-language-interpreting:before{content:"\f2a3"}.fa-amilia:before{content:"\f36d"}.fa-anchor:before{content:"\f13d"}.fa-android:before{content:"\f17b"}.fa-angellist:before{content:"\f209"}.fa-angle-double-down:before{content:"\f103"}.fa-angle-double-left:before{content:"\f100"}.fa-angle-double-right:before{content:"\f101"}.fa-angle-double-up:before{content:"\f102"}.fa-angle-down:before{content:"\f107"}.fa-angle-left:before{content:"\f104"}.fa-angle-right:before{content:"\f105"}.fa-angle-up:before{content:"\f106"}.fa-angry:before{content:"\f556"}.fa-angrycreative:before{content:"\f36e"}.fa-angular:before{content:"\f420"}.fa-ankh:before{content:"\f644"}.fa-app-store:before{content:"\f36f"}.fa-app-store-ios:before{content:"\f370"}.fa-apper:before{content:"\f371"}.fa-apple:before{content:"\f179"}.fa-apple-alt:before{content:"\f5d1"}.fa-apple-pay:before{content:"\f415"}.fa-archive:before{content:"\f187"}.fa-archway:before{content:"\f557"}.fa-arrow-alt-circle-down:before{content:"\f358"}.fa-arrow-alt-circle-left:before{content:"\f359"}.fa-arrow-alt-circle-right:before{content:"\f35a"}.fa-arrow-alt-circle-up:before{content:"\f35b"}.fa-arrow-circle-down:before{content:"\f0ab"}.fa-arrow-circle-left:before{content:"\f0a8"}.fa-arrow-circle-right:before{content:"\f0a9"}.fa-arrow-circle-up:before{content:"\f0aa"}.fa-arrow-down:before{content:"\f063"}.fa-arrow-left:before{content:"\f060"}.fa-arrow-right:before{content:"\f061"}.fa-arrow-up:before{content:"\f062"}.fa-arrows-alt:before{content:"\f0b2"}.fa-arrows-alt-h:before{content:"\f337"}.fa-arrows-alt-v:before{content:"\f338"}.fa-artstation:before{content:"\f77a"}.fa-assistive-listening-systems:before{content:"\f2a2"}.fa-asterisk:before{content:"\f069"}.fa-asymmetrik:before{content:"\f372"}.fa-at:before{content:"\f1fa"}.fa-atlas:before{content:"\f558"}.fa-atlassian:before{content:"\f77b"}.fa-atom:before{content:"\f5d2"}.fa-audible:before{content:"\f373"}.fa-audio-description:before{content:"\f29e"}.fa-autoprefixer:before{content:"\f41c"}.fa-avianex:before{content:"\f374"}.fa-aviato:before{content:"\f421"}.fa-award:before{content:"\f559"}.fa-aws:before{content:"\f375"}.fa-baby:before{content:"\f77c"}.fa-baby-carriage:before{content:"\f77d"}.fa-backspace:before{content:"\f55a"}.fa-backward:before{content:"\f04a"}.fa-bacon:before{content:"\f7e5"}.fa-bahai:before{content:"\f666"}.fa-balance-scale:before{content:"\f24e"}.fa-balance-scale-left:before{content:"\f515"}.fa-balance-scale-right:before{content:"\f516"}.fa-ban:before{content:"\f05e"}.fa-band-aid:before{content:"\f462"}.fa-bandcamp:before{content:"\f2d5"}.fa-barcode:before{content:"\f02a"}.fa-bars:before{content:"\f0c9"}.fa-baseball-ball:before{content:"\f433"}.fa-basketball-ball:before{content:"\f434"}.fa-bath:before{content:"\f2cd"}.fa-battery-empty:before{content:"\f244"}.fa-battery-full:before{content:"\f240"}.fa-battery-half:before{content:"\f242"}.fa-battery-quarter:before{content:"\f243"}.fa-battery-three-quarters:before{content:"\f241"}.fa-battle-net:before{content:"\f835"}.fa-bed:before{content:"\f236"}.fa-beer:before{content:"\f0fc"}.fa-behance:before{content:"\f1b4"}.fa-behance-square:before{content:"\f1b5"}.fa-bell:before{content:"\f0f3"}.fa-bell-slash:before{content:"\f1f6"}.fa-bezier-curve:before{content:"\f55b"}.fa-bible:before{content:"\f647"}.fa-bicycle:before{content:"\f206"}.fa-biking:before{content:"\f84a"}.fa-bimobject:before{content:"\f378"}.fa-binoculars:before{content:"\f1e5"}.fa-biohazard:before{content:"\f780"}.fa-birthday-cake:before{content:"\f1fd"}.fa-bitbucket:before{content:"\f171"}.fa-bitcoin:before{content:"\f379"}.fa-bity:before{content:"\f37a"}.fa-black-tie:before{content:"\f27e"}.fa-blackberry:before{content:"\f37b"}.fa-blender:before{content:"\f517"}.fa-blender-phone:before{content:"\f6b6"}.fa-blind:before{content:"\f29d"}.fa-blog:before{content:"\f781"}.fa-blogger:before{content:"\f37c"}.fa-blogger-b:before{content:"\f37d"}.fa-bluetooth:before{content:"\f293"}.fa-bluetooth-b:before{content:"\f294"}.fa-bold:before{content:"\f032"}.fa-bolt:before{content:"\f0e7"}.fa-bomb:before{content:"\f1e2"}.fa-bone:before{content:"\f5d7"}.fa-bong:before{content:"\f55c"}.fa-book:before{content:"\f02d"}.fa-book-dead:before{content:"\f6b7"}.fa-book-medical:before{content:"\f7e6"}.fa-book-open:before{content:"\f518"}.fa-book-reader:before{content:"\f5da"}.fa-bookmark:before{content:"\f02e"}.fa-bootstrap:before{content:"\f836"}.fa-border-all:before{content:"\f84c"}.fa-border-none:before{content:"\f850"}.fa-border-style:before{content:"\f853"}.fa-bowling-ball:before{content:"\f436"}.fa-box:before{content:"\f466"}.fa-box-open:before{content:"\f49e"}.fa-boxes:before{content:"\f468"}.fa-braille:before{content:"\f2a1"}.fa-brain:before{content:"\f5dc"}.fa-bread-slice:before{content:"\f7ec"}.fa-briefcase:before{content:"\f0b1"}.fa-briefcase-medical:before{content:"\f469"}.fa-broadcast-tower:before{content:"\f519"}.fa-broom:before{content:"\f51a"}.fa-brush:before{content:"\f55d"}.fa-btc:before{content:"\f15a"}.fa-buffer:before{content:"\f837"}.fa-bug:before{content:"\f188"}.fa-building:before{content:"\f1ad"}.fa-bullhorn:before{content:"\f0a1"}.fa-bullseye:before{content:"\f140"}.fa-burn:before{content:"\f46a"}.fa-buromobelexperte:before{content:"\f37f"}.fa-bus:before{content:"\f207"}.fa-bus-alt:before{content:"\f55e"}.fa-business-time:before{content:"\f64a"}.fa-buy-n-large:before{content:"\f8a6"}.fa-buysellads:before{content:"\f20d"}.fa-calculator:before{content:"\f1ec"}.fa-calendar:before{content:"\f133"}.fa-calendar-alt:before{content:"\f073"}.fa-calendar-check:before{content:"\f274"}.fa-calendar-day:before{content:"\f783"}.fa-calendar-minus:before{content:"\f272"}.fa-calendar-plus:before{content:"\f271"}.fa-calendar-times:before{content:"\f273"}.fa-calendar-week:before{content:"\f784"}.fa-camera:before{content:"\f030"}.fa-camera-retro:before{content:"\f083"}.fa-campground:before{content:"\f6bb"}.fa-canadian-maple-leaf:before{content:"\f785"}.fa-candy-cane:before{content:"\f786"}.fa-cannabis:before{content:"\f55f"}.fa-capsules:before{content:"\f46b"}.fa-car:before{content:"\f1b9"}.fa-car-alt:before{content:"\f5de"}.fa-car-battery:before{content:"\f5df"}.fa-car-crash:before{content:"\f5e1"}.fa-car-side:before{content:"\f5e4"}.fa-caravan:before{content:"\f8ff"}.fa-caret-down:before{content:"\f0d7"}.fa-caret-left:before{content:"\f0d9"}.fa-caret-right:before{content:"\f0da"}.fa-caret-square-down:before{content:"\f150"}.fa-caret-square-left:before{content:"\f191"}.fa-caret-square-right:before{content:"\f152"}.fa-caret-square-up:before{content:"\f151"}.fa-caret-up:before{content:"\f0d8"}.fa-carrot:before{content:"\f787"}.fa-cart-arrow-down:before{content:"\f218"}.fa-cart-plus:before{content:"\f217"}.fa-cash-register:before{content:"\f788"}.fa-cat:before{content:"\f6be"}.fa-cc-amazon-pay:before{content:"\f42d"}.fa-cc-amex:before{content:"\f1f3"}.fa-cc-apple-pay:before{content:"\f416"}.fa-cc-diners-club:before{content:"\f24c"}.fa-cc-discover:before{content:"\f1f2"}.fa-cc-jcb:before{content:"\f24b"}.fa-cc-mastercard:before{content:"\f1f1"}.fa-cc-paypal:before{content:"\f1f4"}.fa-cc-stripe:before{content:"\f1f5"}.fa-cc-visa:before{content:"\f1f0"}.fa-centercode:before{content:"\f380"}.fa-centos:before{content:"\f789"}.fa-certificate:before{content:"\f0a3"}.fa-chair:before{content:"\f6c0"}.fa-chalkboard:before{content:"\f51b"}.fa-chalkboard-teacher:before{content:"\f51c"}.fa-charging-station:before{content:"\f5e7"}.fa-chart-area:before{content:"\f1fe"}.fa-chart-bar:before{content:"\f080"}.fa-chart-line:before{content:"\f201"}.fa-chart-pie:before{content:"\f200"}.fa-check:before{content:"\f00c"}.fa-check-circle:before{content:"\f058"}.fa-check-double:before{content:"\f560"}.fa-check-square:before{content:"\f14a"}.fa-cheese:before{content:"\f7ef"}.fa-chess:before{content:"\f439"}.fa-chess-bishop:before{content:"\f43a"}.fa-chess-board:before{content:"\f43c"}.fa-chess-king:before{content:"\f43f"}.fa-chess-knight:before{content:"\f441"}.fa-chess-pawn:before{content:"\f443"}.fa-chess-queen:before{content:"\f445"}.fa-chess-rook:before{content:"\f447"}.fa-chevron-circle-down:before{content:"\f13a"}.fa-chevron-circle-left:before{content:"\f137"}.fa-chevron-circle-right:before{content:"\f138"}.fa-chevron-circle-up:before{content:"\f139"}.fa-chevron-down:before{content:"\f078"}.fa-chevron-left:before{content:"\f053"}.fa-chevron-right:before{content:"\f054"}.fa-chevron-up:before{content:"\f077"}.fa-child:before{content:"\f1ae"}.fa-chrome:before{content:"\f268"}.fa-chromecast:before{content:"\f838"}.fa-church:before{content:"\f51d"}.fa-circle:before{content:"\f111"}.fa-circle-notch:before{content:"\f1ce"}.fa-city:before{content:"\f64f"}.fa-clinic-medical:before{content:"\f7f2"}.fa-clipboard:before{content:"\f328"}.fa-clipboard-check:before{content:"\f46c"}.fa-clipboard-list:before{content:"\f46d"}.fa-clock:before{content:"\f017"}.fa-clone:before{content:"\f24d"}.fa-closed-captioning:before{content:"\f20a"}.fa-cloud:before{content:"\f0c2"}.fa-cloud-download-alt:before{content:"\f381"}.fa-cloud-meatball:before{content:"\f73b"}.fa-cloud-moon:before{content:"\f6c3"}.fa-cloud-moon-rain:before{content:"\f73c"}.fa-cloud-rain:before{content:"\f73d"}.fa-cloud-showers-heavy:before{content:"\f740"}.fa-cloud-sun:before{content:"\f6c4"}.fa-cloud-sun-rain:before{content:"\f743"}.fa-cloud-upload-alt:before{content:"\f382"}.fa-cloudscale:before{content:"\f383"}.fa-cloudsmith:before{content:"\f384"}.fa-cloudversify:before{content:"\f385"}.fa-cocktail:before{content:"\f561"}.fa-code:before{content:"\f121"}.fa-code-branch:before{content:"\f126"}.fa-codepen:before{content:"\f1cb"}.fa-codiepie:before{content:"\f284"}.fa-coffee:before{content:"\f0f4"}.fa-cog:before{content:"\f013"}.fa-cogs:before{content:"\f085"}.fa-coins:before{content:"\f51e"}.fa-columns:before{content:"\f0db"}.fa-comment:before{content:"\f075"}.fa-comment-alt:before{content:"\f27a"}.fa-comment-dollar:before{content:"\f651"}.fa-comment-dots:before{content:"\f4ad"}.fa-comment-medical:before{content:"\f7f5"}.fa-comment-slash:before{content:"\f4b3"}.fa-comments:before{content:"\f086"}.fa-comments-dollar:before{content:"\f653"}.fa-compact-disc:before{content:"\f51f"}.fa-compass:before{content:"\f14e"}.fa-compress:before{content:"\f066"}.fa-compress-alt:before{content:"\f422"}.fa-compress-arrows-alt:before{content:"\f78c"}.fa-concierge-bell:before{content:"\f562"}.fa-confluence:before{content:"\f78d"}.fa-connectdevelop:before{content:"\f20e"}.fa-contao:before{content:"\f26d"}.fa-cookie:before{content:"\f563"}.fa-cookie-bite:before{content:"\f564"}.fa-copy:before{content:"\f0c5"}.fa-copyright:before{content:"\f1f9"}.fa-cotton-bureau:before{content:"\f89e"}.fa-couch:before{content:"\f4b8"}.fa-cpanel:before{content:"\f388"}.fa-creative-commons:before{content:"\f25e"}.fa-creative-commons-by:before{content:"\f4e7"}.fa-creative-commons-nc:before{content:"\f4e8"}.fa-creative-commons-nc-eu:before{content:"\f4e9"}.fa-creative-commons-nc-jp:before{content:"\f4ea"}.fa-creative-commons-nd:before{content:"\f4eb"}.fa-creative-commons-pd:before{content:"\f4ec"}.fa-creative-commons-pd-alt:before{content:"\f4ed"}.fa-creative-commons-remix:before{content:"\f4ee"}.fa-creative-commons-sa:before{content:"\f4ef"}.fa-creative-commons-sampling:before{content:"\f4f0"}.fa-creative-commons-sampling-plus:before{content:"\f4f1"}.fa-creative-commons-share:before{content:"\f4f2"}.fa-creative-commons-zero:before{content:"\f4f3"}.fa-credit-card:before{content:"\f09d"}.fa-critical-role:before{content:"\f6c9"}.fa-crop:before{content:"\f125"}.fa-crop-alt:before{content:"\f565"}.fa-cross:before{content:"\f654"}.fa-crosshairs:before{content:"\f05b"}.fa-crow:before{content:"\f520"}.fa-crown:before{content:"\f521"}.fa-crutch:before{content:"\f7f7"}.fa-css3:before{content:"\f13c"}.fa-css3-alt:before{content:"\f38b"}.fa-cube:before{content:"\f1b2"}.fa-cubes:before{content:"\f1b3"}.fa-cut:before{content:"\f0c4"}.fa-cuttlefish:before{content:"\f38c"}.fa-d-and-d:before{content:"\f38d"}.fa-d-and-d-beyond:before{content:"\f6ca"}.fa-dashcube:before{content:"\f210"}.fa-database:before{content:"\f1c0"}.fa-deaf:before{content:"\f2a4"}.fa-delicious:before{content:"\f1a5"}.fa-democrat:before{content:"\f747"}.fa-deploydog:before{content:"\f38e"}.fa-deskpro:before{content:"\f38f"}.fa-desktop:before{content:"\f108"}.fa-dev:before{content:"\f6cc"}.fa-deviantart:before{content:"\f1bd"}.fa-dharmachakra:before{content:"\f655"}.fa-dhl:before{content:"\f790"}.fa-diagnoses:before{content:"\f470"}.fa-diaspora:before{content:"\f791"}.fa-dice:before{content:"\f522"}.fa-dice-d20:before{content:"\f6cf"}.fa-dice-d6:before{content:"\f6d1"}.fa-dice-five:before{content:"\f523"}.fa-dice-four:before{content:"\f524"}.fa-dice-one:before{content:"\f525"}.fa-dice-six:before{content:"\f526"}.fa-dice-three:before{content:"\f527"}.fa-dice-two:before{content:"\f528"}.fa-digg:before{content:"\f1a6"}.fa-digital-ocean:before{content:"\f391"}.fa-digital-tachograph:before{content:"\f566"}.fa-directions:before{content:"\f5eb"}.fa-discord:before{content:"\f392"}.fa-discourse:before{content:"\f393"}.fa-divide:before{content:"\f529"}.fa-dizzy:before{content:"\f567"}.fa-dna:before{content:"\f471"}.fa-dochub:before{content:"\f394"}.fa-docker:before{content:"\f395"}.fa-dog:before{content:"\f6d3"}.fa-dollar-sign:before{content:"\f155"}.fa-dolly:before{content:"\f472"}.fa-dolly-flatbed:before{content:"\f474"}.fa-donate:before{content:"\f4b9"}.fa-door-closed:before{content:"\f52a"}.fa-door-open:before{content:"\f52b"}.fa-dot-circle:before{content:"\f192"}.fa-dove:before{content:"\f4ba"}.fa-download:before{content:"\f019"}.fa-draft2digital:before{content:"\f396"}.fa-drafting-compass:before{content:"\f568"}.fa-dragon:before{content:"\f6d5"}.fa-draw-polygon:before{content:"\f5ee"}.fa-dribbble:before{content:"\f17d"}.fa-dribbble-square:before{content:"\f397"}.fa-dropbox:before{content:"\f16b"}.fa-drum:before{content:"\f569"}.fa-drum-steelpan:before{content:"\f56a"}.fa-drumstick-bite:before{content:"\f6d7"}.fa-drupal:before{content:"\f1a9"}.fa-dumbbell:before{content:"\f44b"}.fa-dumpster:before{content:"\f793"}.fa-dumpster-fire:before{content:"\f794"}.fa-dungeon:before{content:"\f6d9"}.fa-dyalog:before{content:"\f399"}.fa-earlybirds:before{content:"\f39a"}.fa-ebay:before{content:"\f4f4"}.fa-edge:before{content:"\f282"}.fa-edit:before{content:"\f044"}.fa-egg:before{content:"\f7fb"}.fa-eject:before{content:"\f052"}.fa-elementor:before{content:"\f430"}.fa-ellipsis-h:before{content:"\f141"}.fa-ellipsis-v:before{content:"\f142"}.fa-ello:before{content:"\f5f1"}.fa-ember:before{content:"\f423"}.fa-empire:before{content:"\f1d1"}.fa-envelope:before{content:"\f0e0"}.fa-envelope-open:before{content:"\f2b6"}.fa-envelope-open-text:before{content:"\f658"}.fa-envelope-square:before{content:"\f199"}.fa-envira:before{content:"\f299"}.fa-equals:before{content:"\f52c"}.fa-eraser:before{content:"\f12d"}.fa-erlang:before{content:"\f39d"}.fa-ethereum:before{content:"\f42e"}.fa-ethernet:before{content:"\f796"}.fa-etsy:before{content:"\f2d7"}.fa-euro-sign:before{content:"\f153"}.fa-evernote:before{content:"\f839"}.fa-exchange-alt:before{content:"\f362"}.fa-exclamation:before{content:"\f12a"}.fa-exclamation-circle:before{content:"\f06a"}.fa-exclamation-triangle:before{content:"\f071"}.fa-expand:before{content:"\f065"}.fa-expand-alt:before{content:"\f424"}.fa-expand-arrows-alt:before{content:"\f31e"}.fa-expeditedssl:before{content:"\f23e"}.fa-external-link-alt:before{content:"\f35d"}.fa-external-link-square-alt:before{content:"\f360"}.fa-eye:before{content:"\f06e"}.fa-eye-dropper:before{content:"\f1fb"}.fa-eye-slash:before{content:"\f070"}.fa-facebook:before{content:"\f09a"}.fa-facebook-f:before{content:"\f39e"}.fa-facebook-messenger:before{content:"\f39f"}.fa-facebook-square:before{content:"\f082"}.fa-fan:before{content:"\f863"}.fa-fantasy-flight-games:before{content:"\f6dc"}.fa-fast-backward:before{content:"\f049"}.fa-fast-forward:before{content:"\f050"}.fa-fax:before{content:"\f1ac"}.fa-feather:before{content:"\f52d"}.fa-feather-alt:before{content:"\f56b"}.fa-fedex:before{content:"\f797"}.fa-fedora:before{content:"\f798"}.fa-female:before{content:"\f182"}.fa-fighter-jet:before{content:"\f0fb"}.fa-figma:before{content:"\f799"}.fa-file:before{content:"\f15b"}.fa-file-alt:before{content:"\f15c"}.fa-file-archive:before{content:"\f1c6"}.fa-file-audio:before{content:"\f1c7"}.fa-file-code:before{content:"\f1c9"}.fa-file-contract:before{content:"\f56c"}.fa-file-csv:before{content:"\f6dd"}.fa-file-download:before{content:"\f56d"}.fa-file-excel:before{content:"\f1c3"}.fa-file-export:before{content:"\f56e"}.fa-file-image:before{content:"\f1c5"}.fa-file-import:before{content:"\f56f"}.fa-file-invoice:before{content:"\f570"}.fa-file-invoice-dollar:before{content:"\f571"}.fa-file-medical:before{content:"\f477"}.fa-file-medical-alt:before{content:"\f478"}.fa-file-pdf:before{content:"\f1c1"}.fa-file-powerpoint:before{content:"\f1c4"}.fa-file-prescription:before{content:"\f572"}.fa-file-signature:before{content:"\f573"}.fa-file-upload:before{content:"\f574"}.fa-file-video:before{content:"\f1c8"}.fa-file-word:before{content:"\f1c2"}.fa-fill:before{content:"\f575"}.fa-fill-drip:before{content:"\f576"}.fa-film:before{content:"\f008"}.fa-filter:before{content:"\f0b0"}.fa-fingerprint:before{content:"\f577"}.fa-fire:before{content:"\f06d"}.fa-fire-alt:before{content:"\f7e4"}.fa-fire-extinguisher:before{content:"\f134"}.fa-firefox:before{content:"\f269"}.fa-firefox-browser:before{content:"\f907"}.fa-first-aid:before{content:"\f479"}.fa-first-order:before{content:"\f2b0"}.fa-first-order-alt:before{content:"\f50a"}.fa-firstdraft:before{content:"\f3a1"}.fa-fish:before{content:"\f578"}.fa-fist-raised:before{content:"\f6de"}.fa-flag:before{content:"\f024"}.fa-flag-checkered:before{content:"\f11e"}.fa-flag-usa:before{content:"\f74d"}.fa-flask:before{content:"\f0c3"}.fa-flickr:before{content:"\f16e"}.fa-flipboard:before{content:"\f44d"}.fa-flushed:before{content:"\f579"}.fa-fly:before{content:"\f417"}.fa-folder:before{content:"\f07b"}.fa-folder-minus:before{content:"\f65d"}.fa-folder-open:before{content:"\f07c"}.fa-folder-plus:before{content:"\f65e"}.fa-font:before{content:"\f031"}.fa-font-awesome:before{content:"\f2b4"}.fa-font-awesome-alt:before{content:"\f35c"}.fa-font-awesome-flag:before{content:"\f425"}.fa-font-awesome-logo-full:before{content:"\f4e6"}.fa-fonticons:before{content:"\f280"}.fa-fonticons-fi:before{content:"\f3a2"}.fa-football-ball:before{content:"\f44e"}.fa-fort-awesome:before{content:"\f286"}.fa-fort-awesome-alt:before{content:"\f3a3"}.fa-forumbee:before{content:"\f211"}.fa-forward:before{content:"\f04e"}.fa-foursquare:before{content:"\f180"}.fa-free-code-camp:before{content:"\f2c5"}.fa-freebsd:before{content:"\f3a4"}.fa-frog:before{content:"\f52e"}.fa-frown:before{content:"\f119"}.fa-frown-open:before{content:"\f57a"}.fa-fulcrum:before{content:"\f50b"}.fa-funnel-dollar:before{content:"\f662"}.fa-futbol:before{content:"\f1e3"}.fa-galactic-republic:before{content:"\f50c"}.fa-galactic-senate:before{content:"\f50d"}.fa-gamepad:before{content:"\f11b"}.fa-gas-pump:before{content:"\f52f"}.fa-gavel:before{content:"\f0e3"}.fa-gem:before{content:"\f3a5"}.fa-genderless:before{content:"\f22d"}.fa-get-pocket:before{content:"\f265"}.fa-gg:before{content:"\f260"}.fa-gg-circle:before{content:"\f261"}.fa-ghost:before{content:"\f6e2"}.fa-gift:before{content:"\f06b"}.fa-gifts:before{content:"\f79c"}.fa-git:before{content:"\f1d3"}.fa-git-alt:before{content:"\f841"}.fa-git-square:before{content:"\f1d2"}.fa-github:before{content:"\f09b"}.fa-github-alt:before{content:"\f113"}.fa-github-square:before{content:"\f092"}.fa-gitkraken:before{content:"\f3a6"}.fa-gitlab:before{content:"\f296"}.fa-gitter:before{content:"\f426"}.fa-glass-cheers:before{content:"\f79f"}.fa-glass-martini:before{content:"\f000"}.fa-glass-martini-alt:before{content:"\f57b"}.fa-glass-whiskey:before{content:"\f7a0"}.fa-glasses:before{content:"\f530"}.fa-glide:before{content:"\f2a5"}.fa-glide-g:before{content:"\f2a6"}.fa-globe:before{content:"\f0ac"}.fa-globe-africa:before{content:"\f57c"}.fa-globe-americas:before{content:"\f57d"}.fa-globe-asia:before{content:"\f57e"}.fa-globe-europe:before{content:"\f7a2"}.fa-gofore:before{content:"\f3a7"}.fa-golf-ball:before{content:"\f450"}.fa-goodreads:before{content:"\f3a8"}.fa-goodreads-g:before{content:"\f3a9"}.fa-google:before{content:"\f1a0"}.fa-google-drive:before{content:"\f3aa"}.fa-google-play:before{content:"\f3ab"}.fa-google-plus:before{content:"\f2b3"}.fa-google-plus-g:before{content:"\f0d5"}.fa-google-plus-square:before{content:"\f0d4"}.fa-google-wallet:before{content:"\f1ee"}.fa-gopuram:before{content:"\f664"}.fa-graduation-cap:before{content:"\f19d"}.fa-gratipay:before{content:"\f184"}.fa-grav:before{content:"\f2d6"}.fa-greater-than:before{content:"\f531"}.fa-greater-than-equal:before{content:"\f532"}.fa-grimace:before{content:"\f57f"}.fa-grin:before{content:"\f580"}.fa-grin-alt:before{content:"\f581"}.fa-grin-beam:before{content:"\f582"}.fa-grin-beam-sweat:before{content:"\f583"}.fa-grin-hearts:before{content:"\f584"}.fa-grin-squint:before{content:"\f585"}.fa-grin-squint-tears:before{content:"\f586"}.fa-grin-stars:before{content:"\f587"}.fa-grin-tears:before{content:"\f588"}.fa-grin-tongue:before{content:"\f589"}.fa-grin-tongue-squint:before{content:"\f58a"}.fa-grin-tongue-wink:before{content:"\f58b"}.fa-grin-wink:before{content:"\f58c"}.fa-grip-horizontal:before{content:"\f58d"}.fa-grip-lines:before{content:"\f7a4"}.fa-grip-lines-vertical:before{content:"\f7a5"}.fa-grip-vertical:before{content:"\f58e"}.fa-gripfire:before{content:"\f3ac"}.fa-grunt:before{content:"\f3ad"}.fa-guitar:before{content:"\f7a6"}.fa-gulp:before{content:"\f3ae"}.fa-h-square:before{content:"\f0fd"}.fa-hacker-news:before{content:"\f1d4"}.fa-hacker-news-square:before{content:"\f3af"}.fa-hackerrank:before{content:"\f5f7"}.fa-hamburger:before{content:"\f805"}.fa-hammer:before{content:"\f6e3"}.fa-hamsa:before{content:"\f665"}.fa-hand-holding:before{content:"\f4bd"}.fa-hand-holding-heart:before{content:"\f4be"}.fa-hand-holding-usd:before{content:"\f4c0"}.fa-hand-lizard:before{content:"\f258"}.fa-hand-middle-finger:before{content:"\f806"}.fa-hand-paper:before{content:"\f256"}.fa-hand-peace:before{content:"\f25b"}.fa-hand-point-down:before{content:"\f0a7"}.fa-hand-point-left:before{content:"\f0a5"}.fa-hand-point-right:before{content:"\f0a4"}.fa-hand-point-up:before{content:"\f0a6"}.fa-hand-pointer:before{content:"\f25a"}.fa-hand-rock:before{content:"\f255"}.fa-hand-scissors:before{content:"\f257"}.fa-hand-spock:before{content:"\f259"}.fa-hands:before{content:"\f4c2"}.fa-hands-helping:before{content:"\f4c4"}.fa-handshake:before{content:"\f2b5"}.fa-hanukiah:before{content:"\f6e6"}.fa-hard-hat:before{content:"\f807"}.fa-hashtag:before{content:"\f292"}.fa-hat-cowboy:before{content:"\f8c0"}.fa-hat-cowboy-side:before{content:"\f8c1"}.fa-hat-wizard:before{content:"\f6e8"}.fa-hdd:before{content:"\f0a0"}.fa-heading:before{content:"\f1dc"}.fa-headphones:before{content:"\f025"}.fa-headphones-alt:before{content:"\f58f"}.fa-headset:before{content:"\f590"}.fa-heart:before{content:"\f004"}.fa-heart-broken:before{content:"\f7a9"}.fa-heartbeat:before{content:"\f21e"}.fa-helicopter:before{content:"\f533"}.fa-highlighter:before{content:"\f591"}.fa-hiking:before{content:"\f6ec"}.fa-hippo:before{content:"\f6ed"}.fa-hips:before{content:"\f452"}.fa-hire-a-helper:before{content:"\f3b0"}.fa-history:before{content:"\f1da"}.fa-hockey-puck:before{content:"\f453"}.fa-holly-berry:before{content:"\f7aa"}.fa-home:before{content:"\f015"}.fa-hooli:before{content:"\f427"}.fa-hornbill:before{content:"\f592"}.fa-horse:before{content:"\f6f0"}.fa-horse-head:before{content:"\f7ab"}.fa-hospital:before{content:"\f0f8"}.fa-hospital-alt:before{content:"\f47d"}.fa-hospital-symbol:before{content:"\f47e"}.fa-hot-tub:before{content:"\f593"}.fa-hotdog:before{content:"\f80f"}.fa-hotel:before{content:"\f594"}.fa-hotjar:before{content:"\f3b1"}.fa-hourglass:before{content:"\f254"}.fa-hourglass-end:before{content:"\f253"}.fa-hourglass-half:before{content:"\f252"}.fa-hourglass-start:before{content:"\f251"}.fa-house-damage:before{content:"\f6f1"}.fa-houzz:before{content:"\f27c"}.fa-hryvnia:before{content:"\f6f2"}.fa-html5:before{content:"\f13b"}.fa-hubspot:before{content:"\f3b2"}.fa-i-cursor:before{content:"\f246"}.fa-ice-cream:before{content:"\f810"}.fa-icicles:before{content:"\f7ad"}.fa-icons:before{content:"\f86d"}.fa-id-badge:before{content:"\f2c1"}.fa-id-card:before{content:"\f2c2"}.fa-id-card-alt:before{content:"\f47f"}.fa-ideal:before{content:"\f913"}.fa-igloo:before{content:"\f7ae"}.fa-image:before{content:"\f03e"}.fa-images:before{content:"\f302"}.fa-imdb:before{content:"\f2d8"}.fa-inbox:before{content:"\f01c"}.fa-indent:before{content:"\f03c"}.fa-industry:before{content:"\f275"}.fa-infinity:before{content:"\f534"}.fa-info:before{content:"\f129"}.fa-info-circle:before{content:"\f05a"}.fa-instagram:before{content:"\f16d"}.fa-intercom:before{content:"\f7af"}.fa-internet-explorer:before{content:"\f26b"}.fa-invision:before{content:"\f7b0"}.fa-ioxhost:before{content:"\f208"}.fa-italic:before{content:"\f033"}.fa-itch-io:before{content:"\f83a"}.fa-itunes:before{content:"\f3b4"}.fa-itunes-note:before{content:"\f3b5"}.fa-java:before{content:"\f4e4"}.fa-jedi:before{content:"\f669"}.fa-jedi-order:before{content:"\f50e"}.fa-jenkins:before{content:"\f3b6"}.fa-jira:before{content:"\f7b1"}.fa-joget:before{content:"\f3b7"}.fa-joint:before{content:"\f595"}.fa-joomla:before{content:"\f1aa"}.fa-journal-whills:before{content:"\f66a"}.fa-js:before{content:"\f3b8"}.fa-js-square:before{content:"\f3b9"}.fa-jsfiddle:before{content:"\f1cc"}.fa-kaaba:before{content:"\f66b"}.fa-kaggle:before{content:"\f5fa"}.fa-key:before{content:"\f084"}.fa-keybase:before{content:"\f4f5"}.fa-keyboard:before{content:"\f11c"}.fa-keycdn:before{content:"\f3ba"}.fa-khanda:before{content:"\f66d"}.fa-kickstarter:before{content:"\f3bb"}.fa-kickstarter-k:before{content:"\f3bc"}.fa-kiss:before{content:"\f596"}.fa-kiss-beam:before{content:"\f597"}.fa-kiss-wink-heart:before{content:"\f598"}.fa-kiwi-bird:before{content:"\f535"}.fa-korvue:before{content:"\f42f"}.fa-landmark:before{content:"\f66f"}.fa-language:before{content:"\f1ab"}.fa-laptop:before{content:"\f109"}.fa-laptop-code:before{content:"\f5fc"}.fa-laptop-medical:before{content:"\f812"}.fa-laravel:before{content:"\f3bd"}.fa-lastfm:before{content:"\f202"}.fa-lastfm-square:before{content:"\f203"}.fa-laugh:before{content:"\f599"}.fa-laugh-beam:before{content:"\f59a"}.fa-laugh-squint:before{content:"\f59b"}.fa-laugh-wink:before{content:"\f59c"}.fa-layer-group:before{content:"\f5fd"}.fa-leaf:before{content:"\f06c"}.fa-leanpub:before{content:"\f212"}.fa-lemon:before{content:"\f094"}.fa-less:before{content:"\f41d"}.fa-less-than:before{content:"\f536"}.fa-less-than-equal:before{content:"\f537"}.fa-level-down-alt:before{content:"\f3be"}.fa-level-up-alt:before{content:"\f3bf"}.fa-life-ring:before{content:"\f1cd"}.fa-lightbulb:before{content:"\f0eb"}.fa-line:before{content:"\f3c0"}.fa-link:before{content:"\f0c1"}.fa-linkedin:before{content:"\f08c"}.fa-linkedin-in:before{content:"\f0e1"}.fa-linode:before{content:"\f2b8"}.fa-linux:before{content:"\f17c"}.fa-lira-sign:before{content:"\f195"}.fa-list:before{content:"\f03a"}.fa-list-alt:before{content:"\f022"}.fa-list-ol:before{content:"\f0cb"}.fa-list-ul:before{content:"\f0ca"}.fa-location-arrow:before{content:"\f124"}.fa-lock:before{content:"\f023"}.fa-lock-open:before{content:"\f3c1"}.fa-long-arrow-alt-down:before{content:"\f309"}.fa-long-arrow-alt-left:before{content:"\f30a"}.fa-long-arrow-alt-right:before{content:"\f30b"}.fa-long-arrow-alt-up:before{content:"\f30c"}.fa-low-vision:before{content:"\f2a8"}.fa-luggage-cart:before{content:"\f59d"}.fa-lyft:before{content:"\f3c3"}.fa-magento:before{content:"\f3c4"}.fa-magic:before{content:"\f0d0"}.fa-magnet:before{content:"\f076"}.fa-mail-bulk:before{content:"\f674"}.fa-mailchimp:before{content:"\f59e"}.fa-male:before{content:"\f183"}.fa-mandalorian:before{content:"\f50f"}.fa-map:before{content:"\f279"}.fa-map-marked:before{content:"\f59f"}.fa-map-marked-alt:before{content:"\f5a0"}.fa-map-marker:before{content:"\f041"}.fa-map-marker-alt:before{content:"\f3c5"}.fa-map-pin:before{content:"\f276"}.fa-map-signs:before{content:"\f277"}.fa-markdown:before{content:"\f60f"}.fa-marker:before{content:"\f5a1"}.fa-mars:before{content:"\f222"}.fa-mars-double:before{content:"\f227"}.fa-mars-stroke:before{content:"\f229"}.fa-mars-stroke-h:before{content:"\f22b"}.fa-mars-stroke-v:before{content:"\f22a"}.fa-mask:before{content:"\f6fa"}.fa-mastodon:before{content:"\f4f6"}.fa-maxcdn:before{content:"\f136"}.fa-mdb:before{content:"\f8ca"}.fa-medal:before{content:"\f5a2"}.fa-medapps:before{content:"\f3c6"}.fa-medium:before{content:"\f23a"}.fa-medium-m:before{content:"\f3c7"}.fa-medkit:before{content:"\f0fa"}.fa-medrt:before{content:"\f3c8"}.fa-meetup:before{content:"\f2e0"}.fa-megaport:before{content:"\f5a3"}.fa-meh:before{content:"\f11a"}.fa-meh-blank:before{content:"\f5a4"}.fa-meh-rolling-eyes:before{content:"\f5a5"}.fa-memory:before{content:"\f538"}.fa-mendeley:before{content:"\f7b3"}.fa-menorah:before{content:"\f676"}.fa-mercury:before{content:"\f223"}.fa-meteor:before{content:"\f753"}.fa-microblog:before{content:"\f91a"}.fa-microchip:before{content:"\f2db"}.fa-microphone:before{content:"\f130"}.fa-microphone-alt:before{content:"\f3c9"}.fa-microphone-alt-slash:before{content:"\f539"}.fa-microphone-slash:before{content:"\f131"}.fa-microscope:before{content:"\f610"}.fa-microsoft:before{content:"\f3ca"}.fa-minus:before{content:"\f068"}.fa-minus-circle:before{content:"\f056"}.fa-minus-square:before{content:"\f146"}.fa-mitten:before{content:"\f7b5"}.fa-mix:before{content:"\f3cb"}.fa-mixcloud:before{content:"\f289"}.fa-mizuni:before{content:"\f3cc"}.fa-mobile:before{content:"\f10b"}.fa-mobile-alt:before{content:"\f3cd"}.fa-modx:before{content:"\f285"}.fa-monero:before{content:"\f3d0"}.fa-money-bill:before{content:"\f0d6"}.fa-money-bill-alt:before{content:"\f3d1"}.fa-money-bill-wave:before{content:"\f53a"}.fa-money-bill-wave-alt:before{content:"\f53b"}.fa-money-check:before{content:"\f53c"}.fa-money-check-alt:before{content:"\f53d"}.fa-monument:before{content:"\f5a6"}.fa-moon:before{content:"\f186"}.fa-mortar-pestle:before{content:"\f5a7"}.fa-mosque:before{content:"\f678"}.fa-motorcycle:before{content:"\f21c"}.fa-mountain:before{content:"\f6fc"}.fa-mouse:before{content:"\f8cc"}.fa-mouse-pointer:before{content:"\f245"}.fa-mug-hot:before{content:"\f7b6"}.fa-music:before{content:"\f001"}.fa-napster:before{content:"\f3d2"}.fa-neos:before{content:"\f612"}.fa-network-wired:before{content:"\f6ff"}.fa-neuter:before{content:"\f22c"}.fa-newspaper:before{content:"\f1ea"}.fa-nimblr:before{content:"\f5a8"}.fa-node:before{content:"\f419"}.fa-node-js:before{content:"\f3d3"}.fa-not-equal:before{content:"\f53e"}.fa-notes-medical:before{content:"\f481"}.fa-npm:before{content:"\f3d4"}.fa-ns8:before{content:"\f3d5"}.fa-nutritionix:before{content:"\f3d6"}.fa-object-group:before{content:"\f247"}.fa-object-ungroup:before{content:"\f248"}.fa-odnoklassniki:before{content:"\f263"}.fa-odnoklassniki-square:before{content:"\f264"}.fa-oil-can:before{content:"\f613"}.fa-old-republic:before{content:"\f510"}.fa-om:before{content:"\f679"}.fa-opencart:before{content:"\f23d"}.fa-openid:before{content:"\f19b"}.fa-opera:before{content:"\f26a"}.fa-optin-monster:before{content:"\f23c"}.fa-orcid:before{content:"\f8d2"}.fa-osi:before{content:"\f41a"}.fa-otter:before{content:"\f700"}.fa-outdent:before{content:"\f03b"}.fa-page4:before{content:"\f3d7"}.fa-pagelines:before{content:"\f18c"}.fa-pager:before{content:"\f815"}.fa-paint-brush:before{content:"\f1fc"}.fa-paint-roller:before{content:"\f5aa"}.fa-palette:before{content:"\f53f"}.fa-palfed:before{content:"\f3d8"}.fa-pallet:before{content:"\f482"}.fa-paper-plane:before{content:"\f1d8"}.fa-paperclip:before{content:"\f0c6"}.fa-parachute-box:before{content:"\f4cd"}.fa-paragraph:before{content:"\f1dd"}.fa-parking:before{content:"\f540"}.fa-passport:before{content:"\f5ab"}.fa-pastafarianism:before{content:"\f67b"}.fa-paste:before{content:"\f0ea"}.fa-patreon:before{content:"\f3d9"}.fa-pause:before{content:"\f04c"}.fa-pause-circle:before{content:"\f28b"}.fa-paw:before{content:"\f1b0"}.fa-paypal:before{content:"\f1ed"}.fa-peace:before{content:"\f67c"}.fa-pen:before{content:"\f304"}.fa-pen-alt:before{content:"\f305"}.fa-pen-fancy:before{content:"\f5ac"}.fa-pen-nib:before{content:"\f5ad"}.fa-pen-square:before{content:"\f14b"}.fa-pencil-alt:before{content:"\f303"}.fa-pencil-ruler:before{content:"\f5ae"}.fa-penny-arcade:before{content:"\f704"}.fa-people-carry:before{content:"\f4ce"}.fa-pepper-hot:before{content:"\f816"}.fa-percent:before{content:"\f295"}.fa-percentage:before{content:"\f541"}.fa-periscope:before{content:"\f3da"}.fa-person-booth:before{content:"\f756"}.fa-phabricator:before{content:"\f3db"}.fa-phoenix-framework:before{content:"\f3dc"}.fa-phoenix-squadron:before{content:"\f511"}.fa-phone:before{content:"\f095"}.fa-phone-alt:before{content:"\f879"}.fa-phone-slash:before{content:"\f3dd"}.fa-phone-square:before{content:"\f098"}.fa-phone-square-alt:before{content:"\f87b"}.fa-phone-volume:before{content:"\f2a0"}.fa-photo-video:before{content:"\f87c"}.fa-php:before{content:"\f457"}.fa-pied-piper:before{content:"\f2ae"}.fa-pied-piper-alt:before{content:"\f1a8"}.fa-pied-piper-hat:before{content:"\f4e5"}.fa-pied-piper-pp:before{content:"\f1a7"}.fa-pied-piper-square:before{content:"\f91e"}.fa-piggy-bank:before{content:"\f4d3"}.fa-pills:before{content:"\f484"}.fa-pinterest:before{content:"\f0d2"}.fa-pinterest-p:before{content:"\f231"}.fa-pinterest-square:before{content:"\f0d3"}.fa-pizza-slice:before{content:"\f818"}.fa-place-of-worship:before{content:"\f67f"}.fa-plane:before{content:"\f072"}.fa-plane-arrival:before{content:"\f5af"}.fa-plane-departure:before{content:"\f5b0"}.fa-play:before{content:"\f04b"}.fa-play-circle:before{content:"\f144"}.fa-playstation:before{content:"\f3df"}.fa-plug:before{content:"\f1e6"}.fa-plus:before{content:"\f067"}.fa-plus-circle:before{content:"\f055"}.fa-plus-square:before{content:"\f0fe"}.fa-podcast:before{content:"\f2ce"}.fa-poll:before{content:"\f681"}.fa-poll-h:before{content:"\f682"}.fa-poo:before{content:"\f2fe"}.fa-poo-storm:before{content:"\f75a"}.fa-poop:before{content:"\f619"}.fa-portrait:before{content:"\f3e0"}.fa-pound-sign:before{content:"\f154"}.fa-power-off:before{content:"\f011"}.fa-pray:before{content:"\f683"}.fa-praying-hands:before{content:"\f684"}.fa-prescription:before{content:"\f5b1"}.fa-prescription-bottle:before{content:"\f485"}.fa-prescription-bottle-alt:before{content:"\f486"}.fa-print:before{content:"\f02f"}.fa-procedures:before{content:"\f487"}.fa-product-hunt:before{content:"\f288"}.fa-project-diagram:before{content:"\f542"}.fa-pushed:before{content:"\f3e1"}.fa-puzzle-piece:before{content:"\f12e"}.fa-python:before{content:"\f3e2"}.fa-qq:before{content:"\f1d6"}.fa-qrcode:before{content:"\f029"}.fa-question:before{content:"\f128"}.fa-question-circle:before{content:"\f059"}.fa-quidditch:before{content:"\f458"}.fa-quinscape:before{content:"\f459"}.fa-quora:before{content:"\f2c4"}.fa-quote-left:before{content:"\f10d"}.fa-quote-right:before{content:"\f10e"}.fa-quran:before{content:"\f687"}.fa-r-project:before{content:"\f4f7"}.fa-radiation:before{content:"\f7b9"}.fa-radiation-alt:before{content:"\f7ba"}.fa-rainbow:before{content:"\f75b"}.fa-random:before{content:"\f074"}.fa-raspberry-pi:before{content:"\f7bb"}.fa-ravelry:before{content:"\f2d9"}.fa-react:before{content:"\f41b"}.fa-reacteurope:before{content:"\f75d"}.fa-readme:before{content:"\f4d5"}.fa-rebel:before{content:"\f1d0"}.fa-receipt:before{content:"\f543"}.fa-record-vinyl:before{content:"\f8d9"}.fa-recycle:before{content:"\f1b8"}.fa-red-river:before{content:"\f3e3"}.fa-reddit:before{content:"\f1a1"}.fa-reddit-alien:before{content:"\f281"}.fa-reddit-square:before{content:"\f1a2"}.fa-redhat:before{content:"\f7bc"}.fa-redo:before{content:"\f01e"}.fa-redo-alt:before{content:"\f2f9"}.fa-registered:before{content:"\f25d"}.fa-remove-format:before{content:"\f87d"}.fa-renren:before{content:"\f18b"}.fa-reply:before{content:"\f3e5"}.fa-reply-all:before{content:"\f122"}.fa-replyd:before{content:"\f3e6"}.fa-republican:before{content:"\f75e"}.fa-researchgate:before{content:"\f4f8"}.fa-resolving:before{content:"\f3e7"}.fa-restroom:before{content:"\f7bd"}.fa-retweet:before{content:"\f079"}.fa-rev:before{content:"\f5b2"}.fa-ribbon:before{content:"\f4d6"}.fa-ring:before{content:"\f70b"}.fa-road:before{content:"\f018"}.fa-robot:before{content:"\f544"}.fa-rocket:before{content:"\f135"}.fa-rocketchat:before{content:"\f3e8"}.fa-rockrms:before{content:"\f3e9"}.fa-route:before{content:"\f4d7"}.fa-rss:before{content:"\f09e"}.fa-rss-square:before{content:"\f143"}.fa-ruble-sign:before{content:"\f158"}.fa-ruler:before{content:"\f545"}.fa-ruler-combined:before{content:"\f546"}.fa-ruler-horizontal:before{content:"\f547"}.fa-ruler-vertical:before{content:"\f548"}.fa-running:before{content:"\f70c"}.fa-rupee-sign:before{content:"\f156"}.fa-sad-cry:before{content:"\f5b3"}.fa-sad-tear:before{content:"\f5b4"}.fa-safari:before{content:"\f267"}.fa-salesforce:before{content:"\f83b"}.fa-sass:before{content:"\f41e"}.fa-satellite:before{content:"\f7bf"}.fa-satellite-dish:before{content:"\f7c0"}.fa-save:before{content:"\f0c7"}.fa-schlix:before{content:"\f3ea"}.fa-school:before{content:"\f549"}.fa-screwdriver:before{content:"\f54a"}.fa-scribd:before{content:"\f28a"}.fa-scroll:before{content:"\f70e"}.fa-sd-card:before{content:"\f7c2"}.fa-search:before{content:"\f002"}.fa-search-dollar:before{content:"\f688"}.fa-search-location:before{content:"\f689"}.fa-search-minus:before{content:"\f010"}.fa-search-plus:before{content:"\f00e"}.fa-searchengin:before{content:"\f3eb"}.fa-seedling:before{content:"\f4d8"}.fa-sellcast:before{content:"\f2da"}.fa-sellsy:before{content:"\f213"}.fa-server:before{content:"\f233"}.fa-servicestack:before{content:"\f3ec"}.fa-shapes:before{content:"\f61f"}.fa-share:before{content:"\f064"}.fa-share-alt:before{content:"\f1e0"}.fa-share-alt-square:before{content:"\f1e1"}.fa-share-square:before{content:"\f14d"}.fa-shekel-sign:before{content:"\f20b"}.fa-shield-alt:before{content:"\f3ed"}.fa-ship:before{content:"\f21a"}.fa-shipping-fast:before{content:"\f48b"}.fa-shirtsinbulk:before{content:"\f214"}.fa-shoe-prints:before{content:"\f54b"}.fa-shopping-bag:before{content:"\f290"}.fa-shopping-basket:before{content:"\f291"}.fa-shopping-cart:before{content:"\f07a"}.fa-shopware:before{content:"\f5b5"}.fa-shower:before{content:"\f2cc"}.fa-shuttle-van:before{content:"\f5b6"}.fa-sign:before{content:"\f4d9"}.fa-sign-in-alt:before{content:"\f2f6"}.fa-sign-language:before{content:"\f2a7"}.fa-sign-out-alt:before{content:"\f2f5"}.fa-signal:before{content:"\f012"}.fa-signature:before{content:"\f5b7"}.fa-sim-card:before{content:"\f7c4"}.fa-simplybuilt:before{content:"\f215"}.fa-sistrix:before{content:"\f3ee"}.fa-sitemap:before{content:"\f0e8"}.fa-sith:before{content:"\f512"}.fa-skating:before{content:"\f7c5"}.fa-sketch:before{content:"\f7c6"}.fa-skiing:before{content:"\f7c9"}.fa-skiing-nordic:before{content:"\f7ca"}.fa-skull:before{content:"\f54c"}.fa-skull-crossbones:before{content:"\f714"}.fa-skyatlas:before{content:"\f216"}.fa-skype:before{content:"\f17e"}.fa-slack:before{content:"\f198"}.fa-slack-hash:before{content:"\f3ef"}.fa-slash:before{content:"\f715"}.fa-sleigh:before{content:"\f7cc"}.fa-sliders-h:before{content:"\f1de"}.fa-slideshare:before{content:"\f1e7"}.fa-smile:before{content:"\f118"}.fa-smile-beam:before{content:"\f5b8"}.fa-smile-wink:before{content:"\f4da"}.fa-smog:before{content:"\f75f"}.fa-smoking:before{content:"\f48d"}.fa-smoking-ban:before{content:"\f54d"}.fa-sms:before{content:"\f7cd"}.fa-snapchat:before{content:"\f2ab"}.fa-snapchat-ghost:before{content:"\f2ac"}.fa-snapchat-square:before{content:"\f2ad"}.fa-snowboarding:before{content:"\f7ce"}.fa-snowflake:before{content:"\f2dc"}.fa-snowman:before{content:"\f7d0"}.fa-snowplow:before{content:"\f7d2"}.fa-socks:before{content:"\f696"}.fa-solar-panel:before{content:"\f5ba"}.fa-sort:before{content:"\f0dc"}.fa-sort-alpha-down:before{content:"\f15d"}.fa-sort-alpha-down-alt:before{content:"\f881"}.fa-sort-alpha-up:before{content:"\f15e"}.fa-sort-alpha-up-alt:before{content:"\f882"}.fa-sort-amount-down:before{content:"\f160"}.fa-sort-amount-down-alt:before{content:"\f884"}.fa-sort-amount-up:before{content:"\f161"}.fa-sort-amount-up-alt:before{content:"\f885"}.fa-sort-down:before{content:"\f0dd"}.fa-sort-numeric-down:before{content:"\f162"}.fa-sort-numeric-down-alt:before{content:"\f886"}.fa-sort-numeric-up:before{content:"\f163"}.fa-sort-numeric-up-alt:before{content:"\f887"}.fa-sort-up:before{content:"\f0de"}.fa-soundcloud:before{content:"\f1be"}.fa-sourcetree:before{content:"\f7d3"}.fa-spa:before{content:"\f5bb"}.fa-space-shuttle:before{content:"\f197"}.fa-speakap:before{content:"\f3f3"}.fa-speaker-deck:before{content:"\f83c"}.fa-spell-check:before{content:"\f891"}.fa-spider:before{content:"\f717"}.fa-spinner:before{content:"\f110"}.fa-splotch:before{content:"\f5bc"}.fa-spotify:before{content:"\f1bc"}.fa-spray-can:before{content:"\f5bd"}.fa-square:before{content:"\f0c8"}.fa-square-full:before{content:"\f45c"}.fa-square-root-alt:before{content:"\f698"}.fa-squarespace:before{content:"\f5be"}.fa-stack-exchange:before{content:"\f18d"}.fa-stack-overflow:before{content:"\f16c"}.fa-stackpath:before{content:"\f842"}.fa-stamp:before{content:"\f5bf"}.fa-star:before{content:"\f005"}.fa-star-and-crescent:before{content:"\f699"}.fa-star-half:before{content:"\f089"}.fa-star-half-alt:before{content:"\f5c0"}.fa-star-of-david:before{content:"\f69a"}.fa-star-of-life:before{content:"\f621"}.fa-staylinked:before{content:"\f3f5"}.fa-steam:before{content:"\f1b6"}.fa-steam-square:before{content:"\f1b7"}.fa-steam-symbol:before{content:"\f3f6"}.fa-step-backward:before{content:"\f048"}.fa-step-forward:before{content:"\f051"}.fa-stethoscope:before{content:"\f0f1"}.fa-sticker-mule:before{content:"\f3f7"}.fa-sticky-note:before{content:"\f249"}.fa-stop:before{content:"\f04d"}.fa-stop-circle:before{content:"\f28d"}.fa-stopwatch:before{content:"\f2f2"}.fa-store:before{content:"\f54e"}.fa-store-alt:before{content:"\f54f"}.fa-strava:before{content:"\f428"}.fa-stream:before{content:"\f550"}.fa-street-view:before{content:"\f21d"}.fa-strikethrough:before{content:"\f0cc"}.fa-stripe:before{content:"\f429"}.fa-stripe-s:before{content:"\f42a"}.fa-stroopwafel:before{content:"\f551"}.fa-studiovinari:before{content:"\f3f8"}.fa-stumbleupon:before{content:"\f1a4"}.fa-stumbleupon-circle:before{content:"\f1a3"}.fa-subscript:before{content:"\f12c"}.fa-subway:before{content:"\f239"}.fa-suitcase:before{content:"\f0f2"}.fa-suitcase-rolling:before{content:"\f5c1"}.fa-sun:before{content:"\f185"}.fa-superpowers:before{content:"\f2dd"}.fa-superscript:before{content:"\f12b"}.fa-supple:before{content:"\f3f9"}.fa-surprise:before{content:"\f5c2"}.fa-suse:before{content:"\f7d6"}.fa-swatchbook:before{content:"\f5c3"}.fa-swift:before{content:"\f8e1"}.fa-swimmer:before{content:"\f5c4"}.fa-swimming-pool:before{content:"\f5c5"}.fa-symfony:before{content:"\f83d"}.fa-synagogue:before{content:"\f69b"}.fa-sync:before{content:"\f021"}.fa-sync-alt:before{content:"\f2f1"}.fa-syringe:before{content:"\f48e"}.fa-table:before{content:"\f0ce"}.fa-table-tennis:before{content:"\f45d"}.fa-tablet:before{content:"\f10a"}.fa-tablet-alt:before{content:"\f3fa"}.fa-tablets:before{content:"\f490"}.fa-tachometer-alt:before{content:"\f3fd"}.fa-tag:before{content:"\f02b"}.fa-tags:before{content:"\f02c"}.fa-tape:before{content:"\f4db"}.fa-tasks:before{content:"\f0ae"}.fa-taxi:before{content:"\f1ba"}.fa-teamspeak:before{content:"\f4f9"}.fa-teeth:before{content:"\f62e"}.fa-teeth-open:before{content:"\f62f"}.fa-telegram:before{content:"\f2c6"}.fa-telegram-plane:before{content:"\f3fe"}.fa-temperature-high:before{content:"\f769"}.fa-temperature-low:before{content:"\f76b"}.fa-tencent-weibo:before{content:"\f1d5"}.fa-tenge:before{content:"\f7d7"}.fa-terminal:before{content:"\f120"}.fa-text-height:before{content:"\f034"}.fa-text-width:before{content:"\f035"}.fa-th:before{content:"\f00a"}.fa-th-large:before{content:"\f009"}.fa-th-list:before{content:"\f00b"}.fa-the-red-yeti:before{content:"\f69d"}.fa-theater-masks:before{content:"\f630"}.fa-themeco:before{content:"\f5c6"}.fa-themeisle:before{content:"\f2b2"}.fa-thermometer:before{content:"\f491"}.fa-thermometer-empty:before{content:"\f2cb"}.fa-thermometer-full:before{content:"\f2c7"}.fa-thermometer-half:before{content:"\f2c9"}.fa-thermometer-quarter:before{content:"\f2ca"}.fa-thermometer-three-quarters:before{content:"\f2c8"}.fa-think-peaks:before{content:"\f731"}.fa-thumbs-down:before{content:"\f165"}.fa-thumbs-up:before{content:"\f164"}.fa-thumbtack:before{content:"\f08d"}.fa-ticket-alt:before{content:"\f3ff"}.fa-times:before{content:"\f00d"}.fa-times-circle:before{content:"\f057"}.fa-tint:before{content:"\f043"}.fa-tint-slash:before{content:"\f5c7"}.fa-tired:before{content:"\f5c8"}.fa-toggle-off:before{content:"\f204"}.fa-toggle-on:before{content:"\f205"}.fa-toilet:before{content:"\f7d8"}.fa-toilet-paper:before{content:"\f71e"}.fa-toolbox:before{content:"\f552"}.fa-tools:before{content:"\f7d9"}.fa-tooth:before{content:"\f5c9"}.fa-torah:before{content:"\f6a0"}.fa-torii-gate:before{content:"\f6a1"}.fa-tractor:before{content:"\f722"}.fa-trade-federation:before{content:"\f513"}.fa-trademark:before{content:"\f25c"}.fa-traffic-light:before{content:"\f637"}.fa-trailer:before{content:"\f941"}.fa-train:before{content:"\f238"}.fa-tram:before{content:"\f7da"}.fa-transgender:before{content:"\f224"}.fa-transgender-alt:before{content:"\f225"}.fa-trash:before{content:"\f1f8"}.fa-trash-alt:before{content:"\f2ed"}.fa-trash-restore:before{content:"\f829"}.fa-trash-restore-alt:before{content:"\f82a"}.fa-tree:before{content:"\f1bb"}.fa-trello:before{content:"\f181"}.fa-tripadvisor:before{content:"\f262"}.fa-trophy:before{content:"\f091"}.fa-truck:before{content:"\f0d1"}.fa-truck-loading:before{content:"\f4de"}.fa-truck-monster:before{content:"\f63b"}.fa-truck-moving:before{content:"\f4df"}.fa-truck-pickup:before{content:"\f63c"}.fa-tshirt:before{content:"\f553"}.fa-tty:before{content:"\f1e4"}.fa-tumblr:before{content:"\f173"}.fa-tumblr-square:before{content:"\f174"}.fa-tv:before{content:"\f26c"}.fa-twitch:before{content:"\f1e8"}.fa-twitter:before{content:"\f099"}.fa-twitter-square:before{content:"\f081"}.fa-typo3:before{content:"\f42b"}.fa-uber:before{content:"\f402"}.fa-ubuntu:before{content:"\f7df"}.fa-uikit:before{content:"\f403"}.fa-umbraco:before{content:"\f8e8"}.fa-umbrella:before{content:"\f0e9"}.fa-umbrella-beach:before{content:"\f5ca"}.fa-underline:before{content:"\f0cd"}.fa-undo:before{content:"\f0e2"}.fa-undo-alt:before{content:"\f2ea"}.fa-uniregistry:before{content:"\f404"}.fa-unity:before{content:"\f949"}.fa-universal-access:before{content:"\f29a"}.fa-university:before{content:"\f19c"}.fa-unlink:before{content:"\f127"}.fa-unlock:before{content:"\f09c"}.fa-unlock-alt:before{content:"\f13e"}.fa-untappd:before{content:"\f405"}.fa-upload:before{content:"\f093"}.fa-ups:before{content:"\f7e0"}.fa-usb:before{content:"\f287"}.fa-user:before{content:"\f007"}.fa-user-alt:before{content:"\f406"}.fa-user-alt-slash:before{content:"\f4fa"}.fa-user-astronaut:before{content:"\f4fb"}.fa-user-check:before{content:"\f4fc"}.fa-user-circle:before{content:"\f2bd"}.fa-user-clock:before{content:"\f4fd"}.fa-user-cog:before{content:"\f4fe"}.fa-user-edit:before{content:"\f4ff"}.fa-user-friends:before{content:"\f500"}.fa-user-graduate:before{content:"\f501"}.fa-user-injured:before{content:"\f728"}.fa-user-lock:before{content:"\f502"}.fa-user-md:before{content:"\f0f0"}.fa-user-minus:before{content:"\f503"}.fa-user-ninja:before{content:"\f504"}.fa-user-nurse:before{content:"\f82f"}.fa-user-plus:before{content:"\f234"}.fa-user-secret:before{content:"\f21b"}.fa-user-shield:before{content:"\f505"}.fa-user-slash:before{content:"\f506"}.fa-user-tag:before{content:"\f507"}.fa-user-tie:before{content:"\f508"}.fa-user-times:before{content:"\f235"}.fa-users:before{content:"\f0c0"}.fa-users-cog:before{content:"\f509"}.fa-usps:before{content:"\f7e1"}.fa-ussunnah:before{content:"\f407"}.fa-utensil-spoon:before{content:"\f2e5"}.fa-utensils:before{content:"\f2e7"}.fa-vaadin:before{content:"\f408"}.fa-vector-square:before{content:"\f5cb"}.fa-venus:before{content:"\f221"}.fa-venus-double:before{content:"\f226"}.fa-venus-mars:before{content:"\f228"}.fa-viacoin:before{content:"\f237"}.fa-viadeo:before{content:"\f2a9"}.fa-viadeo-square:before{content:"\f2aa"}.fa-vial:before{content:"\f492"}.fa-vials:before{content:"\f493"}.fa-viber:before{content:"\f409"}.fa-video:before{content:"\f03d"}.fa-video-slash:before{content:"\f4e2"}.fa-vihara:before{content:"\f6a7"}.fa-vimeo:before{content:"\f40a"}.fa-vimeo-square:before{content:"\f194"}.fa-vimeo-v:before{content:"\f27d"}.fa-vine:before{content:"\f1ca"}.fa-vk:before{content:"\f189"}.fa-vnv:before{content:"\f40b"}.fa-voicemail:before{content:"\f897"}.fa-volleyball-ball:before{content:"\f45f"}.fa-volume-down:before{content:"\f027"}.fa-volume-mute:before{content:"\f6a9"}.fa-volume-off:before{content:"\f026"}.fa-volume-up:before{content:"\f028"}.fa-vote-yea:before{content:"\f772"}.fa-vr-cardboard:before{content:"\f729"}.fa-vuejs:before{content:"\f41f"}.fa-walking:before{content:"\f554"}.fa-wallet:before{content:"\f555"}.fa-warehouse:before{content:"\f494"}.fa-water:before{content:"\f773"}.fa-wave-square:before{content:"\f83e"}.fa-waze:before{content:"\f83f"}.fa-weebly:before{content:"\f5cc"}.fa-weibo:before{content:"\f18a"}.fa-weight:before{content:"\f496"}.fa-weight-hanging:before{content:"\f5cd"}.fa-weixin:before{content:"\f1d7"}.fa-whatsapp:before{content:"\f232"}.fa-whatsapp-square:before{content:"\f40c"}.fa-wheelchair:before{content:"\f193"}.fa-whmcs:before{content:"\f40d"}.fa-wifi:before{content:"\f1eb"}.fa-wikipedia-w:before{content:"\f266"}.fa-wind:before{content:"\f72e"}.fa-window-close:before{content:"\f410"}.fa-window-maximize:before{content:"\f2d0"}.fa-window-minimize:before{content:"\f2d1"}.fa-window-restore:before{content:"\f2d2"}.fa-windows:before{content:"\f17a"}.fa-wine-bottle:before{content:"\f72f"}.fa-wine-glass:before{content:"\f4e3"}.fa-wine-glass-alt:before{content:"\f5ce"}.fa-wix:before{content:"\f5cf"}.fa-wizards-of-the-coast:before{content:"\f730"}.fa-wolf-pack-battalion:before{content:"\f514"}.fa-won-sign:before{content:"\f159"}.fa-wordpress:before{content:"\f19a"}.fa-wordpress-simple:before{content:"\f411"}.fa-wpbeginner:before{content:"\f297"}.fa-wpexplorer:before{content:"\f2de"}.fa-wpforms:before{content:"\f298"}.fa-wpressr:before{content:"\f3e4"}.fa-wrench:before{content:"\f0ad"}.fa-x-ray:before{content:"\f497"}.fa-xbox:before{content:"\f412"}.fa-xing:before{content:"\f168"}.fa-xing-square:before{content:"\f169"}.fa-y-combinator:before{content:"\f23b"}.fa-yahoo:before{content:"\f19e"}.fa-yammer:before{content:"\f840"}.fa-yandex:before{content:"\f413"}.fa-yandex-international:before{content:"\f414"}.fa-yarn:before{content:"\f7e3"}.fa-yelp:before{content:"\f1e9"}.fa-yen-sign:before{content:"\f157"}.fa-yin-yang:before{content:"\f6ad"}.fa-yoast:before{content:"\f2b1"}.fa-youtube:before{content:"\f167"}.fa-youtube-square:before{content:"\f431"}.fa-zhihu:before{content:"\f63f"}.sr-only{border:0;clip:rect(0,0,0,0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.sr-only-focusable:active,.sr-only-focusable:focus{clip:auto;height:auto;margin:0;overflow:visible;position:static;width:auto}@font-face{font-family:"Font Awesome 5 Brands";font-style:normal;font-weight:normal;font-display:auto;src:url(../webfonts/fa-brands-400.eot);src:url(../webfonts/fa-brands-400.eot?#iefix) format("embedded-opentype"),url(../webfonts/fa-brands-400.woff2) format("woff2"),url(../webfonts/fa-brands-400.woff) format("woff"),url(../webfonts/fa-brands-400.ttf) format("truetype"),url(../webfonts/fa-brands-400.svg#fontawesome) format("svg")}.fab{font-family:"Font Awesome 5 Brands"}@font-face{font-family:"Font Awesome 5 Free";font-style:normal;font-weight:400;font-display:auto;src:url(../webfonts/fa-regular-400.eot);src:url(../webfonts/fa-regular-400.eot?#iefix) format("embedded-opentype"),url(../webfonts/fa-regular-400.woff2) format("woff2"),url(../webfonts/fa-regular-400.woff) format("woff"),url(../webfonts/fa-regular-400.ttf) format("truetype"),url(../webfonts/fa-regular-400.svg#fontawesome) format("svg")}.far{font-weight:400}@font-face{font-family:"Font Awesome 5 Free";font-style:normal;font-weight:900;font-display:auto;src:url(../webfonts/fa-solid-900.eot);src:url(../webfonts/fa-solid-900.eot?#iefix) format("embedded-opentype"),url(../webfonts/fa-solid-900.woff2) format("woff2"),url(../webfonts/fa-solid-900.woff) format("woff"),url(../webfonts/fa-solid-900.ttf) format("truetype"),url(../webfonts/fa-solid-900.svg#fontawesome) format("svg")}.fa,.far,.fas{font-family:"Font Awesome 5 Free"}.fa,.fas{font-weight:900} \ No newline at end of file diff --git a/vex8/patch/cdn/ionicons.2.0.1.min.css b/vex8/patch/cdn/ionicons.2.0.1.min.css new file mode 100644 index 000000000..049b64865 --- /dev/null +++ b/vex8/patch/cdn/ionicons.2.0.1.min.css @@ -0,0 +1,11 @@ +@charset "UTF-8";/*! + Ionicons, v2.0.0 + Created by Ben Sperry for the Ionic Framework, http://ionicons.com/ + https://twitter.com/benjsperry https://twitter.com/ionicframework + MIT License: https://github.com/driftyco/ionicons + + Android-style icons originally built by Google’s + Material Design Icons: https://github.com/google/material-design-icons + used under CC BY http://creativecommons.org/licenses/by/4.0/ + Modified icons to fit ionicon’s grid from original. +*/@font-face{font-family:"Ionicons";src:url("../fonts/ionicons.eot?v=2.0.0");src:url("../fonts/ionicons.eot?v=2.0.0#iefix") format("embedded-opentype"),url("../fonts/ionicons.ttf?v=2.0.0") format("truetype"),url("../fonts/ionicons.woff?v=2.0.0") format("woff"),url("../fonts/ionicons.svg?v=2.0.0#Ionicons") format("svg");font-weight:normal;font-style:normal}.ion,.ionicons,.ion-alert:before,.ion-alert-circled:before,.ion-android-add:before,.ion-android-add-circle:before,.ion-android-alarm-clock:before,.ion-android-alert:before,.ion-android-apps:before,.ion-android-archive:before,.ion-android-arrow-back:before,.ion-android-arrow-down:before,.ion-android-arrow-dropdown:before,.ion-android-arrow-dropdown-circle:before,.ion-android-arrow-dropleft:before,.ion-android-arrow-dropleft-circle:before,.ion-android-arrow-dropright:before,.ion-android-arrow-dropright-circle:before,.ion-android-arrow-dropup:before,.ion-android-arrow-dropup-circle:before,.ion-android-arrow-forward:before,.ion-android-arrow-up:before,.ion-android-attach:before,.ion-android-bar:before,.ion-android-bicycle:before,.ion-android-boat:before,.ion-android-bookmark:before,.ion-android-bulb:before,.ion-android-bus:before,.ion-android-calendar:before,.ion-android-call:before,.ion-android-camera:before,.ion-android-cancel:before,.ion-android-car:before,.ion-android-cart:before,.ion-android-chat:before,.ion-android-checkbox:before,.ion-android-checkbox-blank:before,.ion-android-checkbox-outline:before,.ion-android-checkbox-outline-blank:before,.ion-android-checkmark-circle:before,.ion-android-clipboard:before,.ion-android-close:before,.ion-android-cloud:before,.ion-android-cloud-circle:before,.ion-android-cloud-done:before,.ion-android-cloud-outline:before,.ion-android-color-palette:before,.ion-android-compass:before,.ion-android-contact:before,.ion-android-contacts:before,.ion-android-contract:before,.ion-android-create:before,.ion-android-delete:before,.ion-android-desktop:before,.ion-android-document:before,.ion-android-done:before,.ion-android-done-all:before,.ion-android-download:before,.ion-android-drafts:before,.ion-android-exit:before,.ion-android-expand:before,.ion-android-favorite:before,.ion-android-favorite-outline:before,.ion-android-film:before,.ion-android-folder:before,.ion-android-folder-open:before,.ion-android-funnel:before,.ion-android-globe:before,.ion-android-hand:before,.ion-android-hangout:before,.ion-android-happy:before,.ion-android-home:before,.ion-android-image:before,.ion-android-laptop:before,.ion-android-list:before,.ion-android-locate:before,.ion-android-lock:before,.ion-android-mail:before,.ion-android-map:before,.ion-android-menu:before,.ion-android-microphone:before,.ion-android-microphone-off:before,.ion-android-more-horizontal:before,.ion-android-more-vertical:before,.ion-android-navigate:before,.ion-android-notifications:before,.ion-android-notifications-none:before,.ion-android-notifications-off:before,.ion-android-open:before,.ion-android-options:before,.ion-android-people:before,.ion-android-person:before,.ion-android-person-add:before,.ion-android-phone-landscape:before,.ion-android-phone-portrait:before,.ion-android-pin:before,.ion-android-plane:before,.ion-android-playstore:before,.ion-android-print:before,.ion-android-radio-button-off:before,.ion-android-radio-button-on:before,.ion-android-refresh:before,.ion-android-remove:before,.ion-android-remove-circle:before,.ion-android-restaurant:before,.ion-android-sad:before,.ion-android-search:before,.ion-android-send:before,.ion-android-settings:before,.ion-android-share:before,.ion-android-share-alt:before,.ion-android-star:before,.ion-android-star-half:before,.ion-android-star-outline:before,.ion-android-stopwatch:before,.ion-android-subway:before,.ion-android-sunny:before,.ion-android-sync:before,.ion-android-textsms:before,.ion-android-time:before,.ion-android-train:before,.ion-android-unlock:before,.ion-android-upload:before,.ion-android-volume-down:before,.ion-android-volume-mute:before,.ion-android-volume-off:before,.ion-android-volume-up:before,.ion-android-walk:before,.ion-android-warning:before,.ion-android-watch:before,.ion-android-wifi:before,.ion-aperture:before,.ion-archive:before,.ion-arrow-down-a:before,.ion-arrow-down-b:before,.ion-arrow-down-c:before,.ion-arrow-expand:before,.ion-arrow-graph-down-left:before,.ion-arrow-graph-down-right:before,.ion-arrow-graph-up-left:before,.ion-arrow-graph-up-right:before,.ion-arrow-left-a:before,.ion-arrow-left-b:before,.ion-arrow-left-c:before,.ion-arrow-move:before,.ion-arrow-resize:before,.ion-arrow-return-left:before,.ion-arrow-return-right:before,.ion-arrow-right-a:before,.ion-arrow-right-b:before,.ion-arrow-right-c:before,.ion-arrow-shrink:before,.ion-arrow-swap:before,.ion-arrow-up-a:before,.ion-arrow-up-b:before,.ion-arrow-up-c:before,.ion-asterisk:before,.ion-at:before,.ion-backspace:before,.ion-backspace-outline:before,.ion-bag:before,.ion-battery-charging:before,.ion-battery-empty:before,.ion-battery-full:before,.ion-battery-half:before,.ion-battery-low:before,.ion-beaker:before,.ion-beer:before,.ion-bluetooth:before,.ion-bonfire:before,.ion-bookmark:before,.ion-bowtie:before,.ion-briefcase:before,.ion-bug:before,.ion-calculator:before,.ion-calendar:before,.ion-camera:before,.ion-card:before,.ion-cash:before,.ion-chatbox:before,.ion-chatbox-working:before,.ion-chatboxes:before,.ion-chatbubble:before,.ion-chatbubble-working:before,.ion-chatbubbles:before,.ion-checkmark:before,.ion-checkmark-circled:before,.ion-checkmark-round:before,.ion-chevron-down:before,.ion-chevron-left:before,.ion-chevron-right:before,.ion-chevron-up:before,.ion-clipboard:before,.ion-clock:before,.ion-close:before,.ion-close-circled:before,.ion-close-round:before,.ion-closed-captioning:before,.ion-cloud:before,.ion-code:before,.ion-code-download:before,.ion-code-working:before,.ion-coffee:before,.ion-compass:before,.ion-compose:before,.ion-connection-bars:before,.ion-contrast:before,.ion-crop:before,.ion-cube:before,.ion-disc:before,.ion-document:before,.ion-document-text:before,.ion-drag:before,.ion-earth:before,.ion-easel:before,.ion-edit:before,.ion-egg:before,.ion-eject:before,.ion-email:before,.ion-email-unread:before,.ion-erlenmeyer-flask:before,.ion-erlenmeyer-flask-bubbles:before,.ion-eye:before,.ion-eye-disabled:before,.ion-female:before,.ion-filing:before,.ion-film-marker:before,.ion-fireball:before,.ion-flag:before,.ion-flame:before,.ion-flash:before,.ion-flash-off:before,.ion-folder:before,.ion-fork:before,.ion-fork-repo:before,.ion-forward:before,.ion-funnel:before,.ion-gear-a:before,.ion-gear-b:before,.ion-grid:before,.ion-hammer:before,.ion-happy:before,.ion-happy-outline:before,.ion-headphone:before,.ion-heart:before,.ion-heart-broken:before,.ion-help:before,.ion-help-buoy:before,.ion-help-circled:before,.ion-home:before,.ion-icecream:before,.ion-image:before,.ion-images:before,.ion-information:before,.ion-information-circled:before,.ion-ionic:before,.ion-ios-alarm:before,.ion-ios-alarm-outline:before,.ion-ios-albums:before,.ion-ios-albums-outline:before,.ion-ios-americanfootball:before,.ion-ios-americanfootball-outline:before,.ion-ios-analytics:before,.ion-ios-analytics-outline:before,.ion-ios-arrow-back:before,.ion-ios-arrow-down:before,.ion-ios-arrow-forward:before,.ion-ios-arrow-left:before,.ion-ios-arrow-right:before,.ion-ios-arrow-thin-down:before,.ion-ios-arrow-thin-left:before,.ion-ios-arrow-thin-right:before,.ion-ios-arrow-thin-up:before,.ion-ios-arrow-up:before,.ion-ios-at:before,.ion-ios-at-outline:before,.ion-ios-barcode:before,.ion-ios-barcode-outline:before,.ion-ios-baseball:before,.ion-ios-baseball-outline:before,.ion-ios-basketball:before,.ion-ios-basketball-outline:before,.ion-ios-bell:before,.ion-ios-bell-outline:before,.ion-ios-body:before,.ion-ios-body-outline:before,.ion-ios-bolt:before,.ion-ios-bolt-outline:before,.ion-ios-book:before,.ion-ios-book-outline:before,.ion-ios-bookmarks:before,.ion-ios-bookmarks-outline:before,.ion-ios-box:before,.ion-ios-box-outline:before,.ion-ios-briefcase:before,.ion-ios-briefcase-outline:before,.ion-ios-browsers:before,.ion-ios-browsers-outline:before,.ion-ios-calculator:before,.ion-ios-calculator-outline:before,.ion-ios-calendar:before,.ion-ios-calendar-outline:before,.ion-ios-camera:before,.ion-ios-camera-outline:before,.ion-ios-cart:before,.ion-ios-cart-outline:before,.ion-ios-chatboxes:before,.ion-ios-chatboxes-outline:before,.ion-ios-chatbubble:before,.ion-ios-chatbubble-outline:before,.ion-ios-checkmark:before,.ion-ios-checkmark-empty:before,.ion-ios-checkmark-outline:before,.ion-ios-circle-filled:before,.ion-ios-circle-outline:before,.ion-ios-clock:before,.ion-ios-clock-outline:before,.ion-ios-close:before,.ion-ios-close-empty:before,.ion-ios-close-outline:before,.ion-ios-cloud:before,.ion-ios-cloud-download:before,.ion-ios-cloud-download-outline:before,.ion-ios-cloud-outline:before,.ion-ios-cloud-upload:before,.ion-ios-cloud-upload-outline:before,.ion-ios-cloudy:before,.ion-ios-cloudy-night:before,.ion-ios-cloudy-night-outline:before,.ion-ios-cloudy-outline:before,.ion-ios-cog:before,.ion-ios-cog-outline:before,.ion-ios-color-filter:before,.ion-ios-color-filter-outline:before,.ion-ios-color-wand:before,.ion-ios-color-wand-outline:before,.ion-ios-compose:before,.ion-ios-compose-outline:before,.ion-ios-contact:before,.ion-ios-contact-outline:before,.ion-ios-copy:before,.ion-ios-copy-outline:before,.ion-ios-crop:before,.ion-ios-crop-strong:before,.ion-ios-download:before,.ion-ios-download-outline:before,.ion-ios-drag:before,.ion-ios-email:before,.ion-ios-email-outline:before,.ion-ios-eye:before,.ion-ios-eye-outline:before,.ion-ios-fastforward:before,.ion-ios-fastforward-outline:before,.ion-ios-filing:before,.ion-ios-filing-outline:before,.ion-ios-film:before,.ion-ios-film-outline:before,.ion-ios-flag:before,.ion-ios-flag-outline:before,.ion-ios-flame:before,.ion-ios-flame-outline:before,.ion-ios-flask:before,.ion-ios-flask-outline:before,.ion-ios-flower:before,.ion-ios-flower-outline:before,.ion-ios-folder:before,.ion-ios-folder-outline:before,.ion-ios-football:before,.ion-ios-football-outline:before,.ion-ios-game-controller-a:before,.ion-ios-game-controller-a-outline:before,.ion-ios-game-controller-b:before,.ion-ios-game-controller-b-outline:before,.ion-ios-gear:before,.ion-ios-gear-outline:before,.ion-ios-glasses:before,.ion-ios-glasses-outline:before,.ion-ios-grid-view:before,.ion-ios-grid-view-outline:before,.ion-ios-heart:before,.ion-ios-heart-outline:before,.ion-ios-help:before,.ion-ios-help-empty:before,.ion-ios-help-outline:before,.ion-ios-home:before,.ion-ios-home-outline:before,.ion-ios-infinite:before,.ion-ios-infinite-outline:before,.ion-ios-information:before,.ion-ios-information-empty:before,.ion-ios-information-outline:before,.ion-ios-ionic-outline:before,.ion-ios-keypad:before,.ion-ios-keypad-outline:before,.ion-ios-lightbulb:before,.ion-ios-lightbulb-outline:before,.ion-ios-list:before,.ion-ios-list-outline:before,.ion-ios-location:before,.ion-ios-location-outline:before,.ion-ios-locked:before,.ion-ios-locked-outline:before,.ion-ios-loop:before,.ion-ios-loop-strong:before,.ion-ios-medical:before,.ion-ios-medical-outline:before,.ion-ios-medkit:before,.ion-ios-medkit-outline:before,.ion-ios-mic:before,.ion-ios-mic-off:before,.ion-ios-mic-outline:before,.ion-ios-minus:before,.ion-ios-minus-empty:before,.ion-ios-minus-outline:before,.ion-ios-monitor:before,.ion-ios-monitor-outline:before,.ion-ios-moon:before,.ion-ios-moon-outline:before,.ion-ios-more:before,.ion-ios-more-outline:before,.ion-ios-musical-note:before,.ion-ios-musical-notes:before,.ion-ios-navigate:before,.ion-ios-navigate-outline:before,.ion-ios-nutrition:before,.ion-ios-nutrition-outline:before,.ion-ios-paper:before,.ion-ios-paper-outline:before,.ion-ios-paperplane:before,.ion-ios-paperplane-outline:before,.ion-ios-partlysunny:before,.ion-ios-partlysunny-outline:before,.ion-ios-pause:before,.ion-ios-pause-outline:before,.ion-ios-paw:before,.ion-ios-paw-outline:before,.ion-ios-people:before,.ion-ios-people-outline:before,.ion-ios-person:before,.ion-ios-person-outline:before,.ion-ios-personadd:before,.ion-ios-personadd-outline:before,.ion-ios-photos:before,.ion-ios-photos-outline:before,.ion-ios-pie:before,.ion-ios-pie-outline:before,.ion-ios-pint:before,.ion-ios-pint-outline:before,.ion-ios-play:before,.ion-ios-play-outline:before,.ion-ios-plus:before,.ion-ios-plus-empty:before,.ion-ios-plus-outline:before,.ion-ios-pricetag:before,.ion-ios-pricetag-outline:before,.ion-ios-pricetags:before,.ion-ios-pricetags-outline:before,.ion-ios-printer:before,.ion-ios-printer-outline:before,.ion-ios-pulse:before,.ion-ios-pulse-strong:before,.ion-ios-rainy:before,.ion-ios-rainy-outline:before,.ion-ios-recording:before,.ion-ios-recording-outline:before,.ion-ios-redo:before,.ion-ios-redo-outline:before,.ion-ios-refresh:before,.ion-ios-refresh-empty:before,.ion-ios-refresh-outline:before,.ion-ios-reload:before,.ion-ios-reverse-camera:before,.ion-ios-reverse-camera-outline:before,.ion-ios-rewind:before,.ion-ios-rewind-outline:before,.ion-ios-rose:before,.ion-ios-rose-outline:before,.ion-ios-search:before,.ion-ios-search-strong:before,.ion-ios-settings:before,.ion-ios-settings-strong:before,.ion-ios-shuffle:before,.ion-ios-shuffle-strong:before,.ion-ios-skipbackward:before,.ion-ios-skipbackward-outline:before,.ion-ios-skipforward:before,.ion-ios-skipforward-outline:before,.ion-ios-snowy:before,.ion-ios-speedometer:before,.ion-ios-speedometer-outline:before,.ion-ios-star:before,.ion-ios-star-half:before,.ion-ios-star-outline:before,.ion-ios-stopwatch:before,.ion-ios-stopwatch-outline:before,.ion-ios-sunny:before,.ion-ios-sunny-outline:before,.ion-ios-telephone:before,.ion-ios-telephone-outline:before,.ion-ios-tennisball:before,.ion-ios-tennisball-outline:before,.ion-ios-thunderstorm:before,.ion-ios-thunderstorm-outline:before,.ion-ios-time:before,.ion-ios-time-outline:before,.ion-ios-timer:before,.ion-ios-timer-outline:before,.ion-ios-toggle:before,.ion-ios-toggle-outline:before,.ion-ios-trash:before,.ion-ios-trash-outline:before,.ion-ios-undo:before,.ion-ios-undo-outline:before,.ion-ios-unlocked:before,.ion-ios-unlocked-outline:before,.ion-ios-upload:before,.ion-ios-upload-outline:before,.ion-ios-videocam:before,.ion-ios-videocam-outline:before,.ion-ios-volume-high:before,.ion-ios-volume-low:before,.ion-ios-wineglass:before,.ion-ios-wineglass-outline:before,.ion-ios-world:before,.ion-ios-world-outline:before,.ion-ipad:before,.ion-iphone:before,.ion-ipod:before,.ion-jet:before,.ion-key:before,.ion-knife:before,.ion-laptop:before,.ion-leaf:before,.ion-levels:before,.ion-lightbulb:before,.ion-link:before,.ion-load-a:before,.ion-load-b:before,.ion-load-c:before,.ion-load-d:before,.ion-location:before,.ion-lock-combination:before,.ion-locked:before,.ion-log-in:before,.ion-log-out:before,.ion-loop:before,.ion-magnet:before,.ion-male:before,.ion-man:before,.ion-map:before,.ion-medkit:before,.ion-merge:before,.ion-mic-a:before,.ion-mic-b:before,.ion-mic-c:before,.ion-minus:before,.ion-minus-circled:before,.ion-minus-round:before,.ion-model-s:before,.ion-monitor:before,.ion-more:before,.ion-mouse:before,.ion-music-note:before,.ion-navicon:before,.ion-navicon-round:before,.ion-navigate:before,.ion-network:before,.ion-no-smoking:before,.ion-nuclear:before,.ion-outlet:before,.ion-paintbrush:before,.ion-paintbucket:before,.ion-paper-airplane:before,.ion-paperclip:before,.ion-pause:before,.ion-person:before,.ion-person-add:before,.ion-person-stalker:before,.ion-pie-graph:before,.ion-pin:before,.ion-pinpoint:before,.ion-pizza:before,.ion-plane:before,.ion-planet:before,.ion-play:before,.ion-playstation:before,.ion-plus:before,.ion-plus-circled:before,.ion-plus-round:before,.ion-podium:before,.ion-pound:before,.ion-power:before,.ion-pricetag:before,.ion-pricetags:before,.ion-printer:before,.ion-pull-request:before,.ion-qr-scanner:before,.ion-quote:before,.ion-radio-waves:before,.ion-record:before,.ion-refresh:before,.ion-reply:before,.ion-reply-all:before,.ion-ribbon-a:before,.ion-ribbon-b:before,.ion-sad:before,.ion-sad-outline:before,.ion-scissors:before,.ion-search:before,.ion-settings:before,.ion-share:before,.ion-shuffle:before,.ion-skip-backward:before,.ion-skip-forward:before,.ion-social-android:before,.ion-social-android-outline:before,.ion-social-angular:before,.ion-social-angular-outline:before,.ion-social-apple:before,.ion-social-apple-outline:before,.ion-social-bitcoin:before,.ion-social-bitcoin-outline:before,.ion-social-buffer:before,.ion-social-buffer-outline:before,.ion-social-chrome:before,.ion-social-chrome-outline:before,.ion-social-codepen:before,.ion-social-codepen-outline:before,.ion-social-css3:before,.ion-social-css3-outline:before,.ion-social-designernews:before,.ion-social-designernews-outline:before,.ion-social-dribbble:before,.ion-social-dribbble-outline:before,.ion-social-dropbox:before,.ion-social-dropbox-outline:before,.ion-social-euro:before,.ion-social-euro-outline:before,.ion-social-facebook:before,.ion-social-facebook-outline:before,.ion-social-foursquare:before,.ion-social-foursquare-outline:before,.ion-social-freebsd-devil:before,.ion-social-github:before,.ion-social-github-outline:before,.ion-social-google:before,.ion-social-google-outline:before,.ion-social-googleplus:before,.ion-social-googleplus-outline:before,.ion-social-hackernews:before,.ion-social-hackernews-outline:before,.ion-social-html5:before,.ion-social-html5-outline:before,.ion-social-instagram:before,.ion-social-instagram-outline:before,.ion-social-javascript:before,.ion-social-javascript-outline:before,.ion-social-linkedin:before,.ion-social-linkedin-outline:before,.ion-social-markdown:before,.ion-social-nodejs:before,.ion-social-octocat:before,.ion-social-pinterest:before,.ion-social-pinterest-outline:before,.ion-social-python:before,.ion-social-reddit:before,.ion-social-reddit-outline:before,.ion-social-rss:before,.ion-social-rss-outline:before,.ion-social-sass:before,.ion-social-skype:before,.ion-social-skype-outline:before,.ion-social-snapchat:before,.ion-social-snapchat-outline:before,.ion-social-tumblr:before,.ion-social-tumblr-outline:before,.ion-social-tux:before,.ion-social-twitch:before,.ion-social-twitch-outline:before,.ion-social-twitter:before,.ion-social-twitter-outline:before,.ion-social-usd:before,.ion-social-usd-outline:before,.ion-social-vimeo:before,.ion-social-vimeo-outline:before,.ion-social-whatsapp:before,.ion-social-whatsapp-outline:before,.ion-social-windows:before,.ion-social-windows-outline:before,.ion-social-wordpress:before,.ion-social-wordpress-outline:before,.ion-social-yahoo:before,.ion-social-yahoo-outline:before,.ion-social-yen:before,.ion-social-yen-outline:before,.ion-social-youtube:before,.ion-social-youtube-outline:before,.ion-soup-can:before,.ion-soup-can-outline:before,.ion-speakerphone:before,.ion-speedometer:before,.ion-spoon:before,.ion-star:before,.ion-stats-bars:before,.ion-steam:before,.ion-stop:before,.ion-thermometer:before,.ion-thumbsdown:before,.ion-thumbsup:before,.ion-toggle:before,.ion-toggle-filled:before,.ion-transgender:before,.ion-trash-a:before,.ion-trash-b:before,.ion-trophy:before,.ion-tshirt:before,.ion-tshirt-outline:before,.ion-umbrella:before,.ion-university:before,.ion-unlocked:before,.ion-upload:before,.ion-usb:before,.ion-videocamera:before,.ion-volume-high:before,.ion-volume-low:before,.ion-volume-medium:before,.ion-volume-mute:before,.ion-wand:before,.ion-waterdrop:before,.ion-wifi:before,.ion-wineglass:before,.ion-woman:before,.ion-wrench:before,.ion-xbox:before{display:inline-block;font-family:"Ionicons";speak:none;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;text-rendering:auto;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.ion-alert:before{content:"\f101"}.ion-alert-circled:before{content:"\f100"}.ion-android-add:before{content:"\f2c7"}.ion-android-add-circle:before{content:"\f359"}.ion-android-alarm-clock:before{content:"\f35a"}.ion-android-alert:before{content:"\f35b"}.ion-android-apps:before{content:"\f35c"}.ion-android-archive:before{content:"\f2c9"}.ion-android-arrow-back:before{content:"\f2ca"}.ion-android-arrow-down:before{content:"\f35d"}.ion-android-arrow-dropdown:before{content:"\f35f"}.ion-android-arrow-dropdown-circle:before{content:"\f35e"}.ion-android-arrow-dropleft:before{content:"\f361"}.ion-android-arrow-dropleft-circle:before{content:"\f360"}.ion-android-arrow-dropright:before{content:"\f363"}.ion-android-arrow-dropright-circle:before{content:"\f362"}.ion-android-arrow-dropup:before{content:"\f365"}.ion-android-arrow-dropup-circle:before{content:"\f364"}.ion-android-arrow-forward:before{content:"\f30f"}.ion-android-arrow-up:before{content:"\f366"}.ion-android-attach:before{content:"\f367"}.ion-android-bar:before{content:"\f368"}.ion-android-bicycle:before{content:"\f369"}.ion-android-boat:before{content:"\f36a"}.ion-android-bookmark:before{content:"\f36b"}.ion-android-bulb:before{content:"\f36c"}.ion-android-bus:before{content:"\f36d"}.ion-android-calendar:before{content:"\f2d1"}.ion-android-call:before{content:"\f2d2"}.ion-android-camera:before{content:"\f2d3"}.ion-android-cancel:before{content:"\f36e"}.ion-android-car:before{content:"\f36f"}.ion-android-cart:before{content:"\f370"}.ion-android-chat:before{content:"\f2d4"}.ion-android-checkbox:before{content:"\f374"}.ion-android-checkbox-blank:before{content:"\f371"}.ion-android-checkbox-outline:before{content:"\f373"}.ion-android-checkbox-outline-blank:before{content:"\f372"}.ion-android-checkmark-circle:before{content:"\f375"}.ion-android-clipboard:before{content:"\f376"}.ion-android-close:before{content:"\f2d7"}.ion-android-cloud:before{content:"\f37a"}.ion-android-cloud-circle:before{content:"\f377"}.ion-android-cloud-done:before{content:"\f378"}.ion-android-cloud-outline:before{content:"\f379"}.ion-android-color-palette:before{content:"\f37b"}.ion-android-compass:before{content:"\f37c"}.ion-android-contact:before{content:"\f2d8"}.ion-android-contacts:before{content:"\f2d9"}.ion-android-contract:before{content:"\f37d"}.ion-android-create:before{content:"\f37e"}.ion-android-delete:before{content:"\f37f"}.ion-android-desktop:before{content:"\f380"}.ion-android-document:before{content:"\f381"}.ion-android-done:before{content:"\f383"}.ion-android-done-all:before{content:"\f382"}.ion-android-download:before{content:"\f2dd"}.ion-android-drafts:before{content:"\f384"}.ion-android-exit:before{content:"\f385"}.ion-android-expand:before{content:"\f386"}.ion-android-favorite:before{content:"\f388"}.ion-android-favorite-outline:before{content:"\f387"}.ion-android-film:before{content:"\f389"}.ion-android-folder:before{content:"\f2e0"}.ion-android-folder-open:before{content:"\f38a"}.ion-android-funnel:before{content:"\f38b"}.ion-android-globe:before{content:"\f38c"}.ion-android-hand:before{content:"\f2e3"}.ion-android-hangout:before{content:"\f38d"}.ion-android-happy:before{content:"\f38e"}.ion-android-home:before{content:"\f38f"}.ion-android-image:before{content:"\f2e4"}.ion-android-laptop:before{content:"\f390"}.ion-android-list:before{content:"\f391"}.ion-android-locate:before{content:"\f2e9"}.ion-android-lock:before{content:"\f392"}.ion-android-mail:before{content:"\f2eb"}.ion-android-map:before{content:"\f393"}.ion-android-menu:before{content:"\f394"}.ion-android-microphone:before{content:"\f2ec"}.ion-android-microphone-off:before{content:"\f395"}.ion-android-more-horizontal:before{content:"\f396"}.ion-android-more-vertical:before{content:"\f397"}.ion-android-navigate:before{content:"\f398"}.ion-android-notifications:before{content:"\f39b"}.ion-android-notifications-none:before{content:"\f399"}.ion-android-notifications-off:before{content:"\f39a"}.ion-android-open:before{content:"\f39c"}.ion-android-options:before{content:"\f39d"}.ion-android-people:before{content:"\f39e"}.ion-android-person:before{content:"\f3a0"}.ion-android-person-add:before{content:"\f39f"}.ion-android-phone-landscape:before{content:"\f3a1"}.ion-android-phone-portrait:before{content:"\f3a2"}.ion-android-pin:before{content:"\f3a3"}.ion-android-plane:before{content:"\f3a4"}.ion-android-playstore:before{content:"\f2f0"}.ion-android-print:before{content:"\f3a5"}.ion-android-radio-button-off:before{content:"\f3a6"}.ion-android-radio-button-on:before{content:"\f3a7"}.ion-android-refresh:before{content:"\f3a8"}.ion-android-remove:before{content:"\f2f4"}.ion-android-remove-circle:before{content:"\f3a9"}.ion-android-restaurant:before{content:"\f3aa"}.ion-android-sad:before{content:"\f3ab"}.ion-android-search:before{content:"\f2f5"}.ion-android-send:before{content:"\f2f6"}.ion-android-settings:before{content:"\f2f7"}.ion-android-share:before{content:"\f2f8"}.ion-android-share-alt:before{content:"\f3ac"}.ion-android-star:before{content:"\f2fc"}.ion-android-star-half:before{content:"\f3ad"}.ion-android-star-outline:before{content:"\f3ae"}.ion-android-stopwatch:before{content:"\f2fd"}.ion-android-subway:before{content:"\f3af"}.ion-android-sunny:before{content:"\f3b0"}.ion-android-sync:before{content:"\f3b1"}.ion-android-textsms:before{content:"\f3b2"}.ion-android-time:before{content:"\f3b3"}.ion-android-train:before{content:"\f3b4"}.ion-android-unlock:before{content:"\f3b5"}.ion-android-upload:before{content:"\f3b6"}.ion-android-volume-down:before{content:"\f3b7"}.ion-android-volume-mute:before{content:"\f3b8"}.ion-android-volume-off:before{content:"\f3b9"}.ion-android-volume-up:before{content:"\f3ba"}.ion-android-walk:before{content:"\f3bb"}.ion-android-warning:before{content:"\f3bc"}.ion-android-watch:before{content:"\f3bd"}.ion-android-wifi:before{content:"\f305"}.ion-aperture:before{content:"\f313"}.ion-archive:before{content:"\f102"}.ion-arrow-down-a:before{content:"\f103"}.ion-arrow-down-b:before{content:"\f104"}.ion-arrow-down-c:before{content:"\f105"}.ion-arrow-expand:before{content:"\f25e"}.ion-arrow-graph-down-left:before{content:"\f25f"}.ion-arrow-graph-down-right:before{content:"\f260"}.ion-arrow-graph-up-left:before{content:"\f261"}.ion-arrow-graph-up-right:before{content:"\f262"}.ion-arrow-left-a:before{content:"\f106"}.ion-arrow-left-b:before{content:"\f107"}.ion-arrow-left-c:before{content:"\f108"}.ion-arrow-move:before{content:"\f263"}.ion-arrow-resize:before{content:"\f264"}.ion-arrow-return-left:before{content:"\f265"}.ion-arrow-return-right:before{content:"\f266"}.ion-arrow-right-a:before{content:"\f109"}.ion-arrow-right-b:before{content:"\f10a"}.ion-arrow-right-c:before{content:"\f10b"}.ion-arrow-shrink:before{content:"\f267"}.ion-arrow-swap:before{content:"\f268"}.ion-arrow-up-a:before{content:"\f10c"}.ion-arrow-up-b:before{content:"\f10d"}.ion-arrow-up-c:before{content:"\f10e"}.ion-asterisk:before{content:"\f314"}.ion-at:before{content:"\f10f"}.ion-backspace:before{content:"\f3bf"}.ion-backspace-outline:before{content:"\f3be"}.ion-bag:before{content:"\f110"}.ion-battery-charging:before{content:"\f111"}.ion-battery-empty:before{content:"\f112"}.ion-battery-full:before{content:"\f113"}.ion-battery-half:before{content:"\f114"}.ion-battery-low:before{content:"\f115"}.ion-beaker:before{content:"\f269"}.ion-beer:before{content:"\f26a"}.ion-bluetooth:before{content:"\f116"}.ion-bonfire:before{content:"\f315"}.ion-bookmark:before{content:"\f26b"}.ion-bowtie:before{content:"\f3c0"}.ion-briefcase:before{content:"\f26c"}.ion-bug:before{content:"\f2be"}.ion-calculator:before{content:"\f26d"}.ion-calendar:before{content:"\f117"}.ion-camera:before{content:"\f118"}.ion-card:before{content:"\f119"}.ion-cash:before{content:"\f316"}.ion-chatbox:before{content:"\f11b"}.ion-chatbox-working:before{content:"\f11a"}.ion-chatboxes:before{content:"\f11c"}.ion-chatbubble:before{content:"\f11e"}.ion-chatbubble-working:before{content:"\f11d"}.ion-chatbubbles:before{content:"\f11f"}.ion-checkmark:before{content:"\f122"}.ion-checkmark-circled:before{content:"\f120"}.ion-checkmark-round:before{content:"\f121"}.ion-chevron-down:before{content:"\f123"}.ion-chevron-left:before{content:"\f124"}.ion-chevron-right:before{content:"\f125"}.ion-chevron-up:before{content:"\f126"}.ion-clipboard:before{content:"\f127"}.ion-clock:before{content:"\f26e"}.ion-close:before{content:"\f12a"}.ion-close-circled:before{content:"\f128"}.ion-close-round:before{content:"\f129"}.ion-closed-captioning:before{content:"\f317"}.ion-cloud:before{content:"\f12b"}.ion-code:before{content:"\f271"}.ion-code-download:before{content:"\f26f"}.ion-code-working:before{content:"\f270"}.ion-coffee:before{content:"\f272"}.ion-compass:before{content:"\f273"}.ion-compose:before{content:"\f12c"}.ion-connection-bars:before{content:"\f274"}.ion-contrast:before{content:"\f275"}.ion-crop:before{content:"\f3c1"}.ion-cube:before{content:"\f318"}.ion-disc:before{content:"\f12d"}.ion-document:before{content:"\f12f"}.ion-document-text:before{content:"\f12e"}.ion-drag:before{content:"\f130"}.ion-earth:before{content:"\f276"}.ion-easel:before{content:"\f3c2"}.ion-edit:before{content:"\f2bf"}.ion-egg:before{content:"\f277"}.ion-eject:before{content:"\f131"}.ion-email:before{content:"\f132"}.ion-email-unread:before{content:"\f3c3"}.ion-erlenmeyer-flask:before{content:"\f3c5"}.ion-erlenmeyer-flask-bubbles:before{content:"\f3c4"}.ion-eye:before{content:"\f133"}.ion-eye-disabled:before{content:"\f306"}.ion-female:before{content:"\f278"}.ion-filing:before{content:"\f134"}.ion-film-marker:before{content:"\f135"}.ion-fireball:before{content:"\f319"}.ion-flag:before{content:"\f279"}.ion-flame:before{content:"\f31a"}.ion-flash:before{content:"\f137"}.ion-flash-off:before{content:"\f136"}.ion-folder:before{content:"\f139"}.ion-fork:before{content:"\f27a"}.ion-fork-repo:before{content:"\f2c0"}.ion-forward:before{content:"\f13a"}.ion-funnel:before{content:"\f31b"}.ion-gear-a:before{content:"\f13d"}.ion-gear-b:before{content:"\f13e"}.ion-grid:before{content:"\f13f"}.ion-hammer:before{content:"\f27b"}.ion-happy:before{content:"\f31c"}.ion-happy-outline:before{content:"\f3c6"}.ion-headphone:before{content:"\f140"}.ion-heart:before{content:"\f141"}.ion-heart-broken:before{content:"\f31d"}.ion-help:before{content:"\f143"}.ion-help-buoy:before{content:"\f27c"}.ion-help-circled:before{content:"\f142"}.ion-home:before{content:"\f144"}.ion-icecream:before{content:"\f27d"}.ion-image:before{content:"\f147"}.ion-images:before{content:"\f148"}.ion-information:before{content:"\f14a"}.ion-information-circled:before{content:"\f149"}.ion-ionic:before{content:"\f14b"}.ion-ios-alarm:before{content:"\f3c8"}.ion-ios-alarm-outline:before{content:"\f3c7"}.ion-ios-albums:before{content:"\f3ca"}.ion-ios-albums-outline:before{content:"\f3c9"}.ion-ios-americanfootball:before{content:"\f3cc"}.ion-ios-americanfootball-outline:before{content:"\f3cb"}.ion-ios-analytics:before{content:"\f3ce"}.ion-ios-analytics-outline:before{content:"\f3cd"}.ion-ios-arrow-back:before{content:"\f3cf"}.ion-ios-arrow-down:before{content:"\f3d0"}.ion-ios-arrow-forward:before{content:"\f3d1"}.ion-ios-arrow-left:before{content:"\f3d2"}.ion-ios-arrow-right:before{content:"\f3d3"}.ion-ios-arrow-thin-down:before{content:"\f3d4"}.ion-ios-arrow-thin-left:before{content:"\f3d5"}.ion-ios-arrow-thin-right:before{content:"\f3d6"}.ion-ios-arrow-thin-up:before{content:"\f3d7"}.ion-ios-arrow-up:before{content:"\f3d8"}.ion-ios-at:before{content:"\f3da"}.ion-ios-at-outline:before{content:"\f3d9"}.ion-ios-barcode:before{content:"\f3dc"}.ion-ios-barcode-outline:before{content:"\f3db"}.ion-ios-baseball:before{content:"\f3de"}.ion-ios-baseball-outline:before{content:"\f3dd"}.ion-ios-basketball:before{content:"\f3e0"}.ion-ios-basketball-outline:before{content:"\f3df"}.ion-ios-bell:before{content:"\f3e2"}.ion-ios-bell-outline:before{content:"\f3e1"}.ion-ios-body:before{content:"\f3e4"}.ion-ios-body-outline:before{content:"\f3e3"}.ion-ios-bolt:before{content:"\f3e6"}.ion-ios-bolt-outline:before{content:"\f3e5"}.ion-ios-book:before{content:"\f3e8"}.ion-ios-book-outline:before{content:"\f3e7"}.ion-ios-bookmarks:before{content:"\f3ea"}.ion-ios-bookmarks-outline:before{content:"\f3e9"}.ion-ios-box:before{content:"\f3ec"}.ion-ios-box-outline:before{content:"\f3eb"}.ion-ios-briefcase:before{content:"\f3ee"}.ion-ios-briefcase-outline:before{content:"\f3ed"}.ion-ios-browsers:before{content:"\f3f0"}.ion-ios-browsers-outline:before{content:"\f3ef"}.ion-ios-calculator:before{content:"\f3f2"}.ion-ios-calculator-outline:before{content:"\f3f1"}.ion-ios-calendar:before{content:"\f3f4"}.ion-ios-calendar-outline:before{content:"\f3f3"}.ion-ios-camera:before{content:"\f3f6"}.ion-ios-camera-outline:before{content:"\f3f5"}.ion-ios-cart:before{content:"\f3f8"}.ion-ios-cart-outline:before{content:"\f3f7"}.ion-ios-chatboxes:before{content:"\f3fa"}.ion-ios-chatboxes-outline:before{content:"\f3f9"}.ion-ios-chatbubble:before{content:"\f3fc"}.ion-ios-chatbubble-outline:before{content:"\f3fb"}.ion-ios-checkmark:before{content:"\f3ff"}.ion-ios-checkmark-empty:before{content:"\f3fd"}.ion-ios-checkmark-outline:before{content:"\f3fe"}.ion-ios-circle-filled:before{content:"\f400"}.ion-ios-circle-outline:before{content:"\f401"}.ion-ios-clock:before{content:"\f403"}.ion-ios-clock-outline:before{content:"\f402"}.ion-ios-close:before{content:"\f406"}.ion-ios-close-empty:before{content:"\f404"}.ion-ios-close-outline:before{content:"\f405"}.ion-ios-cloud:before{content:"\f40c"}.ion-ios-cloud-download:before{content:"\f408"}.ion-ios-cloud-download-outline:before{content:"\f407"}.ion-ios-cloud-outline:before{content:"\f409"}.ion-ios-cloud-upload:before{content:"\f40b"}.ion-ios-cloud-upload-outline:before{content:"\f40a"}.ion-ios-cloudy:before{content:"\f410"}.ion-ios-cloudy-night:before{content:"\f40e"}.ion-ios-cloudy-night-outline:before{content:"\f40d"}.ion-ios-cloudy-outline:before{content:"\f40f"}.ion-ios-cog:before{content:"\f412"}.ion-ios-cog-outline:before{content:"\f411"}.ion-ios-color-filter:before{content:"\f414"}.ion-ios-color-filter-outline:before{content:"\f413"}.ion-ios-color-wand:before{content:"\f416"}.ion-ios-color-wand-outline:before{content:"\f415"}.ion-ios-compose:before{content:"\f418"}.ion-ios-compose-outline:before{content:"\f417"}.ion-ios-contact:before{content:"\f41a"}.ion-ios-contact-outline:before{content:"\f419"}.ion-ios-copy:before{content:"\f41c"}.ion-ios-copy-outline:before{content:"\f41b"}.ion-ios-crop:before{content:"\f41e"}.ion-ios-crop-strong:before{content:"\f41d"}.ion-ios-download:before{content:"\f420"}.ion-ios-download-outline:before{content:"\f41f"}.ion-ios-drag:before{content:"\f421"}.ion-ios-email:before{content:"\f423"}.ion-ios-email-outline:before{content:"\f422"}.ion-ios-eye:before{content:"\f425"}.ion-ios-eye-outline:before{content:"\f424"}.ion-ios-fastforward:before{content:"\f427"}.ion-ios-fastforward-outline:before{content:"\f426"}.ion-ios-filing:before{content:"\f429"}.ion-ios-filing-outline:before{content:"\f428"}.ion-ios-film:before{content:"\f42b"}.ion-ios-film-outline:before{content:"\f42a"}.ion-ios-flag:before{content:"\f42d"}.ion-ios-flag-outline:before{content:"\f42c"}.ion-ios-flame:before{content:"\f42f"}.ion-ios-flame-outline:before{content:"\f42e"}.ion-ios-flask:before{content:"\f431"}.ion-ios-flask-outline:before{content:"\f430"}.ion-ios-flower:before{content:"\f433"}.ion-ios-flower-outline:before{content:"\f432"}.ion-ios-folder:before{content:"\f435"}.ion-ios-folder-outline:before{content:"\f434"}.ion-ios-football:before{content:"\f437"}.ion-ios-football-outline:before{content:"\f436"}.ion-ios-game-controller-a:before{content:"\f439"}.ion-ios-game-controller-a-outline:before{content:"\f438"}.ion-ios-game-controller-b:before{content:"\f43b"}.ion-ios-game-controller-b-outline:before{content:"\f43a"}.ion-ios-gear:before{content:"\f43d"}.ion-ios-gear-outline:before{content:"\f43c"}.ion-ios-glasses:before{content:"\f43f"}.ion-ios-glasses-outline:before{content:"\f43e"}.ion-ios-grid-view:before{content:"\f441"}.ion-ios-grid-view-outline:before{content:"\f440"}.ion-ios-heart:before{content:"\f443"}.ion-ios-heart-outline:before{content:"\f442"}.ion-ios-help:before{content:"\f446"}.ion-ios-help-empty:before{content:"\f444"}.ion-ios-help-outline:before{content:"\f445"}.ion-ios-home:before{content:"\f448"}.ion-ios-home-outline:before{content:"\f447"}.ion-ios-infinite:before{content:"\f44a"}.ion-ios-infinite-outline:before{content:"\f449"}.ion-ios-information:before{content:"\f44d"}.ion-ios-information-empty:before{content:"\f44b"}.ion-ios-information-outline:before{content:"\f44c"}.ion-ios-ionic-outline:before{content:"\f44e"}.ion-ios-keypad:before{content:"\f450"}.ion-ios-keypad-outline:before{content:"\f44f"}.ion-ios-lightbulb:before{content:"\f452"}.ion-ios-lightbulb-outline:before{content:"\f451"}.ion-ios-list:before{content:"\f454"}.ion-ios-list-outline:before{content:"\f453"}.ion-ios-location:before{content:"\f456"}.ion-ios-location-outline:before{content:"\f455"}.ion-ios-locked:before{content:"\f458"}.ion-ios-locked-outline:before{content:"\f457"}.ion-ios-loop:before{content:"\f45a"}.ion-ios-loop-strong:before{content:"\f459"}.ion-ios-medical:before{content:"\f45c"}.ion-ios-medical-outline:before{content:"\f45b"}.ion-ios-medkit:before{content:"\f45e"}.ion-ios-medkit-outline:before{content:"\f45d"}.ion-ios-mic:before{content:"\f461"}.ion-ios-mic-off:before{content:"\f45f"}.ion-ios-mic-outline:before{content:"\f460"}.ion-ios-minus:before{content:"\f464"}.ion-ios-minus-empty:before{content:"\f462"}.ion-ios-minus-outline:before{content:"\f463"}.ion-ios-monitor:before{content:"\f466"}.ion-ios-monitor-outline:before{content:"\f465"}.ion-ios-moon:before{content:"\f468"}.ion-ios-moon-outline:before{content:"\f467"}.ion-ios-more:before{content:"\f46a"}.ion-ios-more-outline:before{content:"\f469"}.ion-ios-musical-note:before{content:"\f46b"}.ion-ios-musical-notes:before{content:"\f46c"}.ion-ios-navigate:before{content:"\f46e"}.ion-ios-navigate-outline:before{content:"\f46d"}.ion-ios-nutrition:before{content:"\f470"}.ion-ios-nutrition-outline:before{content:"\f46f"}.ion-ios-paper:before{content:"\f472"}.ion-ios-paper-outline:before{content:"\f471"}.ion-ios-paperplane:before{content:"\f474"}.ion-ios-paperplane-outline:before{content:"\f473"}.ion-ios-partlysunny:before{content:"\f476"}.ion-ios-partlysunny-outline:before{content:"\f475"}.ion-ios-pause:before{content:"\f478"}.ion-ios-pause-outline:before{content:"\f477"}.ion-ios-paw:before{content:"\f47a"}.ion-ios-paw-outline:before{content:"\f479"}.ion-ios-people:before{content:"\f47c"}.ion-ios-people-outline:before{content:"\f47b"}.ion-ios-person:before{content:"\f47e"}.ion-ios-person-outline:before{content:"\f47d"}.ion-ios-personadd:before{content:"\f480"}.ion-ios-personadd-outline:before{content:"\f47f"}.ion-ios-photos:before{content:"\f482"}.ion-ios-photos-outline:before{content:"\f481"}.ion-ios-pie:before{content:"\f484"}.ion-ios-pie-outline:before{content:"\f483"}.ion-ios-pint:before{content:"\f486"}.ion-ios-pint-outline:before{content:"\f485"}.ion-ios-play:before{content:"\f488"}.ion-ios-play-outline:before{content:"\f487"}.ion-ios-plus:before{content:"\f48b"}.ion-ios-plus-empty:before{content:"\f489"}.ion-ios-plus-outline:before{content:"\f48a"}.ion-ios-pricetag:before{content:"\f48d"}.ion-ios-pricetag-outline:before{content:"\f48c"}.ion-ios-pricetags:before{content:"\f48f"}.ion-ios-pricetags-outline:before{content:"\f48e"}.ion-ios-printer:before{content:"\f491"}.ion-ios-printer-outline:before{content:"\f490"}.ion-ios-pulse:before{content:"\f493"}.ion-ios-pulse-strong:before{content:"\f492"}.ion-ios-rainy:before{content:"\f495"}.ion-ios-rainy-outline:before{content:"\f494"}.ion-ios-recording:before{content:"\f497"}.ion-ios-recording-outline:before{content:"\f496"}.ion-ios-redo:before{content:"\f499"}.ion-ios-redo-outline:before{content:"\f498"}.ion-ios-refresh:before{content:"\f49c"}.ion-ios-refresh-empty:before{content:"\f49a"}.ion-ios-refresh-outline:before{content:"\f49b"}.ion-ios-reload:before{content:"\f49d"}.ion-ios-reverse-camera:before{content:"\f49f"}.ion-ios-reverse-camera-outline:before{content:"\f49e"}.ion-ios-rewind:before{content:"\f4a1"}.ion-ios-rewind-outline:before{content:"\f4a0"}.ion-ios-rose:before{content:"\f4a3"}.ion-ios-rose-outline:before{content:"\f4a2"}.ion-ios-search:before{content:"\f4a5"}.ion-ios-search-strong:before{content:"\f4a4"}.ion-ios-settings:before{content:"\f4a7"}.ion-ios-settings-strong:before{content:"\f4a6"}.ion-ios-shuffle:before{content:"\f4a9"}.ion-ios-shuffle-strong:before{content:"\f4a8"}.ion-ios-skipbackward:before{content:"\f4ab"}.ion-ios-skipbackward-outline:before{content:"\f4aa"}.ion-ios-skipforward:before{content:"\f4ad"}.ion-ios-skipforward-outline:before{content:"\f4ac"}.ion-ios-snowy:before{content:"\f4ae"}.ion-ios-speedometer:before{content:"\f4b0"}.ion-ios-speedometer-outline:before{content:"\f4af"}.ion-ios-star:before{content:"\f4b3"}.ion-ios-star-half:before{content:"\f4b1"}.ion-ios-star-outline:before{content:"\f4b2"}.ion-ios-stopwatch:before{content:"\f4b5"}.ion-ios-stopwatch-outline:before{content:"\f4b4"}.ion-ios-sunny:before{content:"\f4b7"}.ion-ios-sunny-outline:before{content:"\f4b6"}.ion-ios-telephone:before{content:"\f4b9"}.ion-ios-telephone-outline:before{content:"\f4b8"}.ion-ios-tennisball:before{content:"\f4bb"}.ion-ios-tennisball-outline:before{content:"\f4ba"}.ion-ios-thunderstorm:before{content:"\f4bd"}.ion-ios-thunderstorm-outline:before{content:"\f4bc"}.ion-ios-time:before{content:"\f4bf"}.ion-ios-time-outline:before{content:"\f4be"}.ion-ios-timer:before{content:"\f4c1"}.ion-ios-timer-outline:before{content:"\f4c0"}.ion-ios-toggle:before{content:"\f4c3"}.ion-ios-toggle-outline:before{content:"\f4c2"}.ion-ios-trash:before{content:"\f4c5"}.ion-ios-trash-outline:before{content:"\f4c4"}.ion-ios-undo:before{content:"\f4c7"}.ion-ios-undo-outline:before{content:"\f4c6"}.ion-ios-unlocked:before{content:"\f4c9"}.ion-ios-unlocked-outline:before{content:"\f4c8"}.ion-ios-upload:before{content:"\f4cb"}.ion-ios-upload-outline:before{content:"\f4ca"}.ion-ios-videocam:before{content:"\f4cd"}.ion-ios-videocam-outline:before{content:"\f4cc"}.ion-ios-volume-high:before{content:"\f4ce"}.ion-ios-volume-low:before{content:"\f4cf"}.ion-ios-wineglass:before{content:"\f4d1"}.ion-ios-wineglass-outline:before{content:"\f4d0"}.ion-ios-world:before{content:"\f4d3"}.ion-ios-world-outline:before{content:"\f4d2"}.ion-ipad:before{content:"\f1f9"}.ion-iphone:before{content:"\f1fa"}.ion-ipod:before{content:"\f1fb"}.ion-jet:before{content:"\f295"}.ion-key:before{content:"\f296"}.ion-knife:before{content:"\f297"}.ion-laptop:before{content:"\f1fc"}.ion-leaf:before{content:"\f1fd"}.ion-levels:before{content:"\f298"}.ion-lightbulb:before{content:"\f299"}.ion-link:before{content:"\f1fe"}.ion-load-a:before{content:"\f29a"}.ion-load-b:before{content:"\f29b"}.ion-load-c:before{content:"\f29c"}.ion-load-d:before{content:"\f29d"}.ion-location:before{content:"\f1ff"}.ion-lock-combination:before{content:"\f4d4"}.ion-locked:before{content:"\f200"}.ion-log-in:before{content:"\f29e"}.ion-log-out:before{content:"\f29f"}.ion-loop:before{content:"\f201"}.ion-magnet:before{content:"\f2a0"}.ion-male:before{content:"\f2a1"}.ion-man:before{content:"\f202"}.ion-map:before{content:"\f203"}.ion-medkit:before{content:"\f2a2"}.ion-merge:before{content:"\f33f"}.ion-mic-a:before{content:"\f204"}.ion-mic-b:before{content:"\f205"}.ion-mic-c:before{content:"\f206"}.ion-minus:before{content:"\f209"}.ion-minus-circled:before{content:"\f207"}.ion-minus-round:before{content:"\f208"}.ion-model-s:before{content:"\f2c1"}.ion-monitor:before{content:"\f20a"}.ion-more:before{content:"\f20b"}.ion-mouse:before{content:"\f340"}.ion-music-note:before{content:"\f20c"}.ion-navicon:before{content:"\f20e"}.ion-navicon-round:before{content:"\f20d"}.ion-navigate:before{content:"\f2a3"}.ion-network:before{content:"\f341"}.ion-no-smoking:before{content:"\f2c2"}.ion-nuclear:before{content:"\f2a4"}.ion-outlet:before{content:"\f342"}.ion-paintbrush:before{content:"\f4d5"}.ion-paintbucket:before{content:"\f4d6"}.ion-paper-airplane:before{content:"\f2c3"}.ion-paperclip:before{content:"\f20f"}.ion-pause:before{content:"\f210"}.ion-person:before{content:"\f213"}.ion-person-add:before{content:"\f211"}.ion-person-stalker:before{content:"\f212"}.ion-pie-graph:before{content:"\f2a5"}.ion-pin:before{content:"\f2a6"}.ion-pinpoint:before{content:"\f2a7"}.ion-pizza:before{content:"\f2a8"}.ion-plane:before{content:"\f214"}.ion-planet:before{content:"\f343"}.ion-play:before{content:"\f215"}.ion-playstation:before{content:"\f30a"}.ion-plus:before{content:"\f218"}.ion-plus-circled:before{content:"\f216"}.ion-plus-round:before{content:"\f217"}.ion-podium:before{content:"\f344"}.ion-pound:before{content:"\f219"}.ion-power:before{content:"\f2a9"}.ion-pricetag:before{content:"\f2aa"}.ion-pricetags:before{content:"\f2ab"}.ion-printer:before{content:"\f21a"}.ion-pull-request:before{content:"\f345"}.ion-qr-scanner:before{content:"\f346"}.ion-quote:before{content:"\f347"}.ion-radio-waves:before{content:"\f2ac"}.ion-record:before{content:"\f21b"}.ion-refresh:before{content:"\f21c"}.ion-reply:before{content:"\f21e"}.ion-reply-all:before{content:"\f21d"}.ion-ribbon-a:before{content:"\f348"}.ion-ribbon-b:before{content:"\f349"}.ion-sad:before{content:"\f34a"}.ion-sad-outline:before{content:"\f4d7"}.ion-scissors:before{content:"\f34b"}.ion-search:before{content:"\f21f"}.ion-settings:before{content:"\f2ad"}.ion-share:before{content:"\f220"}.ion-shuffle:before{content:"\f221"}.ion-skip-backward:before{content:"\f222"}.ion-skip-forward:before{content:"\f223"}.ion-social-android:before{content:"\f225"}.ion-social-android-outline:before{content:"\f224"}.ion-social-angular:before{content:"\f4d9"}.ion-social-angular-outline:before{content:"\f4d8"}.ion-social-apple:before{content:"\f227"}.ion-social-apple-outline:before{content:"\f226"}.ion-social-bitcoin:before{content:"\f2af"}.ion-social-bitcoin-outline:before{content:"\f2ae"}.ion-social-buffer:before{content:"\f229"}.ion-social-buffer-outline:before{content:"\f228"}.ion-social-chrome:before{content:"\f4db"}.ion-social-chrome-outline:before{content:"\f4da"}.ion-social-codepen:before{content:"\f4dd"}.ion-social-codepen-outline:before{content:"\f4dc"}.ion-social-css3:before{content:"\f4df"}.ion-social-css3-outline:before{content:"\f4de"}.ion-social-designernews:before{content:"\f22b"}.ion-social-designernews-outline:before{content:"\f22a"}.ion-social-dribbble:before{content:"\f22d"}.ion-social-dribbble-outline:before{content:"\f22c"}.ion-social-dropbox:before{content:"\f22f"}.ion-social-dropbox-outline:before{content:"\f22e"}.ion-social-euro:before{content:"\f4e1"}.ion-social-euro-outline:before{content:"\f4e0"}.ion-social-facebook:before{content:"\f231"}.ion-social-facebook-outline:before{content:"\f230"}.ion-social-foursquare:before{content:"\f34d"}.ion-social-foursquare-outline:before{content:"\f34c"}.ion-social-freebsd-devil:before{content:"\f2c4"}.ion-social-github:before{content:"\f233"}.ion-social-github-outline:before{content:"\f232"}.ion-social-google:before{content:"\f34f"}.ion-social-google-outline:before{content:"\f34e"}.ion-social-googleplus:before{content:"\f235"}.ion-social-googleplus-outline:before{content:"\f234"}.ion-social-hackernews:before{content:"\f237"}.ion-social-hackernews-outline:before{content:"\f236"}.ion-social-html5:before{content:"\f4e3"}.ion-social-html5-outline:before{content:"\f4e2"}.ion-social-instagram:before{content:"\f351"}.ion-social-instagram-outline:before{content:"\f350"}.ion-social-javascript:before{content:"\f4e5"}.ion-social-javascript-outline:before{content:"\f4e4"}.ion-social-linkedin:before{content:"\f239"}.ion-social-linkedin-outline:before{content:"\f238"}.ion-social-markdown:before{content:"\f4e6"}.ion-social-nodejs:before{content:"\f4e7"}.ion-social-octocat:before{content:"\f4e8"}.ion-social-pinterest:before{content:"\f2b1"}.ion-social-pinterest-outline:before{content:"\f2b0"}.ion-social-python:before{content:"\f4e9"}.ion-social-reddit:before{content:"\f23b"}.ion-social-reddit-outline:before{content:"\f23a"}.ion-social-rss:before{content:"\f23d"}.ion-social-rss-outline:before{content:"\f23c"}.ion-social-sass:before{content:"\f4ea"}.ion-social-skype:before{content:"\f23f"}.ion-social-skype-outline:before{content:"\f23e"}.ion-social-snapchat:before{content:"\f4ec"}.ion-social-snapchat-outline:before{content:"\f4eb"}.ion-social-tumblr:before{content:"\f241"}.ion-social-tumblr-outline:before{content:"\f240"}.ion-social-tux:before{content:"\f2c5"}.ion-social-twitch:before{content:"\f4ee"}.ion-social-twitch-outline:before{content:"\f4ed"}.ion-social-twitter:before{content:"\f243"}.ion-social-twitter-outline:before{content:"\f242"}.ion-social-usd:before{content:"\f353"}.ion-social-usd-outline:before{content:"\f352"}.ion-social-vimeo:before{content:"\f245"}.ion-social-vimeo-outline:before{content:"\f244"}.ion-social-whatsapp:before{content:"\f4f0"}.ion-social-whatsapp-outline:before{content:"\f4ef"}.ion-social-windows:before{content:"\f247"}.ion-social-windows-outline:before{content:"\f246"}.ion-social-wordpress:before{content:"\f249"}.ion-social-wordpress-outline:before{content:"\f248"}.ion-social-yahoo:before{content:"\f24b"}.ion-social-yahoo-outline:before{content:"\f24a"}.ion-social-yen:before{content:"\f4f2"}.ion-social-yen-outline:before{content:"\f4f1"}.ion-social-youtube:before{content:"\f24d"}.ion-social-youtube-outline:before{content:"\f24c"}.ion-soup-can:before{content:"\f4f4"}.ion-soup-can-outline:before{content:"\f4f3"}.ion-speakerphone:before{content:"\f2b2"}.ion-speedometer:before{content:"\f2b3"}.ion-spoon:before{content:"\f2b4"}.ion-star:before{content:"\f24e"}.ion-stats-bars:before{content:"\f2b5"}.ion-steam:before{content:"\f30b"}.ion-stop:before{content:"\f24f"}.ion-thermometer:before{content:"\f2b6"}.ion-thumbsdown:before{content:"\f250"}.ion-thumbsup:before{content:"\f251"}.ion-toggle:before{content:"\f355"}.ion-toggle-filled:before{content:"\f354"}.ion-transgender:before{content:"\f4f5"}.ion-trash-a:before{content:"\f252"}.ion-trash-b:before{content:"\f253"}.ion-trophy:before{content:"\f356"}.ion-tshirt:before{content:"\f4f7"}.ion-tshirt-outline:before{content:"\f4f6"}.ion-umbrella:before{content:"\f2b7"}.ion-university:before{content:"\f357"}.ion-unlocked:before{content:"\f254"}.ion-upload:before{content:"\f255"}.ion-usb:before{content:"\f2b8"}.ion-videocamera:before{content:"\f256"}.ion-volume-high:before{content:"\f257"}.ion-volume-low:before{content:"\f258"}.ion-volume-medium:before{content:"\f259"}.ion-volume-mute:before{content:"\f25a"}.ion-wand:before{content:"\f358"}.ion-waterdrop:before{content:"\f25b"}.ion-wifi:before{content:"\f25c"}.ion-wineglass:before{content:"\f2b9"}.ion-woman:before{content:"\f25d"}.ion-wrench:before{content:"\f2ba"}.ion-xbox:before{content:"\f30c"} \ No newline at end of file diff --git a/vex8/patch/cdn/jquery.3.5.1.min.js b/vex8/patch/cdn/jquery.3.5.1.min.js new file mode 100644 index 000000000..d467083b6 --- /dev/null +++ b/vex8/patch/cdn/jquery.3.5.1.min.js @@ -0,0 +1,2 @@ +/*! jQuery v3.5.1 | (c) JS Foundation and other contributors | jquery.org/license */ +!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(C,e){"use strict";var t=[],r=Object.getPrototypeOf,s=t.slice,g=t.flat?function(e){return t.flat.call(e)}:function(e){return t.concat.apply([],e)},u=t.push,i=t.indexOf,n={},o=n.toString,v=n.hasOwnProperty,a=v.toString,l=a.call(Object),y={},m=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},x=function(e){return null!=e&&e===e.window},E=C.document,c={type:!0,src:!0,nonce:!0,noModule:!0};function b(e,t,n){var r,i,o=(n=n||E).createElement("script");if(o.text=e,t)for(r in c)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function w(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[o.call(e)]||"object":typeof e}var f="3.5.1",S=function(e,t){return new S.fn.init(e,t)};function p(e){var t=!!e&&"length"in e&&e.length,n=w(e);return!m(e)&&!x(e)&&("array"===n||0===t||"number"==typeof t&&0 +~]|"+M+")"+M+"*"),U=new RegExp(M+"|>"),X=new RegExp(F),V=new RegExp("^"+I+"$"),G={ID:new RegExp("^#("+I+")"),CLASS:new RegExp("^\\.("+I+")"),TAG:new RegExp("^("+I+"|[*])"),ATTR:new RegExp("^"+W),PSEUDO:new RegExp("^"+F),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},Y=/HTML$/i,Q=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}"+M+"?|\\\\([^\\r\\n\\f])","g"),ne=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},oe=function(){T()},ae=be(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{H.apply(t=O.call(p.childNodes),p.childNodes),t[p.childNodes.length].nodeType}catch(e){H={apply:t.length?function(e,t){L.apply(e,O.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function se(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&(T(e),e=e||C,E)){if(11!==p&&(u=Z.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else if(f&&(a=f.getElementById(i))&&y(e,a)&&a.id===i)return n.push(a),n}else{if(u[2])return H.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&d.getElementsByClassName&&e.getElementsByClassName)return H.apply(n,e.getElementsByClassName(i)),n}if(d.qsa&&!N[t+" "]&&(!v||!v.test(t))&&(1!==p||"object"!==e.nodeName.toLowerCase())){if(c=t,f=e,1===p&&(U.test(t)||z.test(t))){(f=ee.test(t)&&ye(e.parentNode)||e)===e&&d.scope||((s=e.getAttribute("id"))?s=s.replace(re,ie):e.setAttribute("id",s=S)),o=(l=h(t)).length;while(o--)l[o]=(s?"#"+s:":scope")+" "+xe(l[o]);c=l.join(",")}try{return H.apply(n,f.querySelectorAll(c)),n}catch(e){N(t,!0)}finally{s===S&&e.removeAttribute("id")}}}return g(t.replace($,"$1"),e,n,r)}function ue(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function le(e){return e[S]=!0,e}function ce(e){var t=C.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function fe(e,t){var n=e.split("|"),r=n.length;while(r--)b.attrHandle[n[r]]=t}function pe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function de(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function he(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function ge(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&ae(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function ve(a){return le(function(o){return o=+o,le(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function ye(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}for(e in d=se.support={},i=se.isXML=function(e){var t=e.namespaceURI,n=(e.ownerDocument||e).documentElement;return!Y.test(t||n&&n.nodeName||"HTML")},T=se.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:p;return r!=C&&9===r.nodeType&&r.documentElement&&(a=(C=r).documentElement,E=!i(C),p!=C&&(n=C.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",oe,!1):n.attachEvent&&n.attachEvent("onunload",oe)),d.scope=ce(function(e){return a.appendChild(e).appendChild(C.createElement("div")),"undefined"!=typeof e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length}),d.attributes=ce(function(e){return e.className="i",!e.getAttribute("className")}),d.getElementsByTagName=ce(function(e){return e.appendChild(C.createComment("")),!e.getElementsByTagName("*").length}),d.getElementsByClassName=K.test(C.getElementsByClassName),d.getById=ce(function(e){return a.appendChild(e).id=S,!C.getElementsByName||!C.getElementsByName(S).length}),d.getById?(b.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(te,ne);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=d.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):d.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},b.find.CLASS=d.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&E)return t.getElementsByClassName(e)},s=[],v=[],(d.qsa=K.test(C.querySelectorAll))&&(ce(function(e){var t;a.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&v.push("[*^$]="+M+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||v.push("\\["+M+"*(?:value|"+R+")"),e.querySelectorAll("[id~="+S+"-]").length||v.push("~="),(t=C.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||v.push("\\["+M+"*name"+M+"*="+M+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||v.push(":checked"),e.querySelectorAll("a#"+S+"+*").length||v.push(".#.+[+~]"),e.querySelectorAll("\\\f"),v.push("[\\r\\n\\f]")}),ce(function(e){e.innerHTML="";var t=C.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&v.push("name"+M+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&v.push(":enabled",":disabled"),a.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&v.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),v.push(",.*:")})),(d.matchesSelector=K.test(c=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&&ce(function(e){d.disconnectedMatch=c.call(e,"*"),c.call(e,"[s!='']:x"),s.push("!=",F)}),v=v.length&&new RegExp(v.join("|")),s=s.length&&new RegExp(s.join("|")),t=K.test(a.compareDocumentPosition),y=t||K.test(a.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},D=t?function(e,t){if(e===t)return l=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!d.sortDetached&&t.compareDocumentPosition(e)===n?e==C||e.ownerDocument==p&&y(p,e)?-1:t==C||t.ownerDocument==p&&y(p,t)?1:u?P(u,e)-P(u,t):0:4&n?-1:1)}:function(e,t){if(e===t)return l=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e==C?-1:t==C?1:i?-1:o?1:u?P(u,e)-P(u,t):0;if(i===o)return pe(e,t);n=e;while(n=n.parentNode)a.unshift(n);n=t;while(n=n.parentNode)s.unshift(n);while(a[r]===s[r])r++;return r?pe(a[r],s[r]):a[r]==p?-1:s[r]==p?1:0}),C},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if(T(e),d.matchesSelector&&E&&!N[t+" "]&&(!s||!s.test(t))&&(!v||!v.test(t)))try{var n=c.call(e,t);if(n||d.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){N(t,!0)}return 0 ":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&X.test(n)&&(t=h(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=m[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&m(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=se.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1 :\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function D(e,n,r){return m(n)?S.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?S.grep(e,function(e){return e===n!==r}):"string"!=typeof n?S.grep(e,function(e){return-1 )[^>]*|#([\w-]+))$/;(S.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||j,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:q.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof S?t[0]:t,S.merge(this,S.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:E,!0)),N.test(r[1])&&S.isPlainObject(t))for(r in t)m(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=E.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):m(e)?void 0!==n.ready?n.ready(e):e(S):S.makeArray(e,this)}).prototype=S.fn,j=S(E);var L=/^(?:parents|prev(?:Until|All))/,H={children:!0,contents:!0,next:!0,prev:!0};function O(e,t){while((e=e[t])&&1!==e.nodeType);return e}S.fn.extend({has:function(e){var t=S(e,this),n=t.length;return this.filter(function(){for(var e=0;e \x20\t\r\n\f]*)/i,he=/^$|^module$|\/(?:java|ecma)script/i;ce=E.createDocumentFragment().appendChild(E.createElement("div")),(fe=E.createElement("input")).setAttribute("type","radio"),fe.setAttribute("checked","checked"),fe.setAttribute("name","t"),ce.appendChild(fe),y.checkClone=ce.cloneNode(!0).cloneNode(!0).lastChild.checked,ce.innerHTML="",y.noCloneChecked=!!ce.cloneNode(!0).lastChild.defaultValue,ce.innerHTML="",y.option=!!ce.lastChild;var ge={thead:[1," ","
"],col:[2,""],tr:[2,"
"," ","
"],td:[3,""],_default:[0,"",""]};function ve(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&A(e,t)?S.merge([e],n):n}function ye(e,t){for(var n=0,r=e.length;n
"," ",""]);var me=/<|?\w+;/;function xe(e,t,n,r,i){for(var o,a,s,u,l,c,f=t.createDocumentFragment(),p=[],d=0,h=e.length;d \s*$/g;function qe(e,t){return A(e,"table")&&A(11!==t.nodeType?t:t.firstChild,"tr")&&S(e).children("tbody")[0]||e}function Le(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function He(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Oe(e,t){var n,r,i,o,a,s;if(1===t.nodeType){if(Y.hasData(e)&&(s=Y.get(e).events))for(i in Y.remove(t,"handle events"),s)for(n=0,r=s[i].length;n ").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),E.head.appendChild(r[0])},abort:function(){i&&i()}}});var Ut,Xt=[],Vt=/(=)\?(?=&|$)|\?\?/;S.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Xt.pop()||S.expando+"_"+Ct.guid++;return this[e]=!0,e}}),S.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Vt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Vt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=m(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Vt,"$1"+r):!1!==e.jsonp&&(e.url+=(Et.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||S.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=C[r],C[r]=function(){o=arguments},n.always(function(){void 0===i?S(C).removeProp(r):C[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Xt.push(r)),o&&m(i)&&i(o[0]),o=i=void 0}),"script"}),y.createHTMLDocument=((Ut=E.implementation.createHTMLDocument("").body).innerHTML="",2===Ut.childNodes.length),S.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(y.createHTMLDocument?((r=(t=E.implementation.createHTMLDocument("")).createElement("base")).href=E.location.href,t.head.appendChild(r)):t=E),o=!n&&[],(i=N.exec(e))?[t.createElement(i[1])]:(i=xe([e],t,o),o&&o.length&&S(o).remove(),S.merge([],i.childNodes)));var r,i,o},S.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1 ").append(S.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},S.expr.pseudos.animated=function(t){return S.grep(S.timers,function(e){return t===e.elem}).length},S.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=S.css(e,"position"),c=S(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=S.css(e,"top"),u=S.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),m(t)&&(t=t.call(e,n,S.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):("number"==typeof f.top&&(f.top+="px"),"number"==typeof f.left&&(f.left+="px"),c.css(f))}},S.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){S.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===S.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===S.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=S(e).offset()).top+=S.css(e,"borderTopWidth",!0),i.left+=S.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-S.css(r,"marginTop",!0),left:t.left-i.left-S.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===S.css(e,"position"))e=e.offsetParent;return e||re})}}),S.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;S.fn[t]=function(e){return $(this,function(e,t,n){var r;if(x(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),S.each(["top","left"],function(e,n){S.cssHooks[n]=$e(y.pixelPosition,function(e,t){if(t)return t=Be(e,n),Me.test(t)?S(e).position()[n]+"px":t})}),S.each({Height:"height",Width:"width"},function(a,s){S.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){S.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return $(this,function(e,t,n){var r;return x(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?S.css(e,t,i):S.style(e,t,n,i)},s,n?e:void 0,n)}})}),S.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){S.fn[t]=function(e){return this.on(t,e)}}),S.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),S.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){S.fn[n]=function(e,t){return 01 || b < 0 || a.playerInstance.setVolume(b)) + } + , + a.getCuePoints = function() { + if (null !== a.playerInstance) + return a.playerInstance.cuePoints() + } + , + a + }(); + b.playerInstance = null, + b.onClose = new Phaser.Signal, + a.Tubia = b +}(Fabrique || (Fabrique = {})); +var Fabrique; +!function(a) { + var b; + !function(a) { + a[a.Neutral = 0] = "Neutral", + a[a.Yepi = 1] = "Yepi", + a[a.Spele = 2] = "Spele", + a[a.Funnygames = 3] = "Funnygames", + a[a.Kizi = 4] = "Kizi", + a[a.PlayCell = 5] = "PlayCell", + a[a.GameCell = 6] = "GameCell", + a[a.Bild = 7] = "Bild", + a[a.Spil = 8] = "Spil", + a[a.Admeen = 9] = "Admeen" + }(b = a.BrandingDomain || (a.BrandingDomain = {})) +}(Fabrique || (Fabrique = {})); +var Fabrique; +!function(a) { + var b; + !function(a) { + var b = function(a) { + function b(b, c, d, e, f, g, h) { + var i = a.call(this, b, d, e, "", null, null) || this; + i.onInputUp.add(i.openGame, i), + i.id = c.data.key, + i.url = c.data.url, + i.icon = i.game.add.image(0, 0, c.data.key), + i.icon.width = f, + i.icon.height = f, + i.input.priorityID = 680, + i.addChild(i.icon); + var j = i.game.make.graphics(0, 0); + j.beginFill(h).drawRect(0, 0, f, g - f).endFill(), + i.titleBg = i.game.add.image(0, f, j.generateTexture()), + i.addChild(i.titleBg); + var k = c.data.title; + return k.length > 16 && (k = k.replace(k.substring(14, k.length), "...")), + i.title = i.game.add.text(f / 2, i.titleBg.y + (g - f) / 2 + 4, k.toUpperCase(), { + font: "bold " + .35 * (g - f) + "px Arial", + fill: "#FFF", + align: "center", + wordWrap: !0, + wordWrapWidth: f - 10 + }), + i.title.anchor.set(.5, .5), + i.addChild(i.title), + j = i.game.make.graphics(0, 0), + j.beginFill(16777215).drawCircle(0, 0, 80).beginFill(h).lineTo(-15, -25).lineTo(25, 0).lineTo(-15, 25).lineTo(-15, -25).endFill(), + i.playImg = i.game.add.image(f / 2, f / 3 * 2.7, j.generateTexture()), + i.playImg.anchor.set(.5, .5), + i.addChild(i.playImg), + i + } + return __extends(b, a), + b.prototype.openGame = function() { + this.game.analytics && this.game.analytics.google.sendGenericEvent("MoreGames", "Click", this.id), + this.url.indexOf("http://") !== -1 && this.url.replace("http:", ""); + var a = window.open(this.url, "_self"); + a && a.focus && a.focus() + } + , + b.prototype.destroy = function() { + this.onInputUp.remove(this.openGame, this), + a.prototype.destroy.call(this), + this.removedFromWorld() + } + , + b + }(Phaser.Button); + a.Item = b + }(b = a.MoreGames || (a.MoreGames = {})) +}(Fabrique || (Fabrique = {})); +var Fabrique; +!function(a) { + var b; + !function(b) { + var c = function(c) { + function d(b, d) { + var e = c.call(this, b, null, "moreGames-background") || this; + e.size = 800, + e.items = [], + e.offset = 14, + e.isDestroyed = !1, + e.gameName = d, + e.deviceRatio = b.width / e.size, + e.overlay = b.add.graphics(0, 0), + e.overlay.beginFill(0, .4).drawRect(0, 0, b.width, b.height).endFill(), + e.overlay.pivot.set(b.width / 2, b.height / 2), + e.overlay.inputEnabled = !0, + e.overlay.input.priorityID = 660, + e.onClose = new Phaser.Signal, + e.overlay.events.onInputUp.add(function() { + e.hide() + }), + e.add(e.overlay), + e.menuGrp = new Phaser.Group(b,e,"menuGrp"), + e.add(e.menuGrp); + var f = b.make.graphics(0, 0); + f.beginFill(2507370).drawRoundedRect(0, 0, e.size, e.size + 20, 15).endFill(), + e.background = e.game.add.image(0, 0, f.generateTexture()), + e.background.anchor.set(.5), + e.background.inputEnabled = !0, + e.background.input.priorityID = 670, + e.background.input.useHandCursor = !1, + e.menuGrp.add(e.background), + e.logoBtn = e.game.add.button(0, -(e.background.height / 2) + e.offset, a.Branding.LOGO_KEY, function() { + a.Branding.openCampaignLink(e.game, e.gameName, a.UtmTargets.more_games) + }, e), + e.logoBtn.scale.setTo(1), + e.logoBtn.anchor.set(.5, 0), + e.menuGrp.add(e.logoBtn), + e.closeBtn = b.add.button(e.size / 2 - 10, -(e.size / 2) + 25, "close_btn", e.hide, e), + e.closeBtn.anchor.set(1), + e.closeBtn.input.priorityID = 680, + e.menuGrp.add(e.closeBtn), + e.createItems(); + var g = b.make.graphics(0, 0); + g.beginFill(2507370).drawRect(0, 0, 270, 40).endFill(), + e.moreGamesBtn = b.add.button(0, e.background.y + e.background.height / 2 - g.height - e.offset, "", function() { + a.Branding.openCampaignLink(e.game, e.gameName, a.UtmTargets.more_games) + }, e), + e.moreGamesBtn.texture = g.generateTexture(), + e.moreGamesBtn.input.priorityID = 680, + e.moreGamesBtn.anchor.set(.5, 0), + e.menuGrp.add(e.moreGamesBtn); + var h = { + font: "bold 26px Tahoma", + fill: "#ffffff" + }; + return e.moreGamesText = b.add.text(0, e.moreGamesBtn.height / 2 + 2, "PLAY MORE GAMES", h), + e.moreGamesText.anchor.set(.5), + e.moreGamesBtn.addChild(e.moreGamesText), + e.visible = !1, + e.resize(), + e.resizeListener = function() { + setTimeout(function() { + e.isDestroyed || e.resize() + }, 100) + } + , + e.game.scale.onSizeChange.add(e.resizeListener, e), + e + } + return __extends(d, c), + d.prototype.createItems = function() { + this.itemGrp = this.game.make.group(this, "items"), + this.itemGrp.x = 0, + this.itemGrp.y = this.size / 2 + this.logoBtn.y + this.logoBtn.height, + this.menuGrp.add(this.itemGrp); + var c, e, f, g, h = this.game.cache.getJSON(a.Branding.GAME_ICONS_KEY), i = 3, j = Math.floor(this.size / i - 1.25 * this.offset), k = Math.floor(j + .25 * j), l = 0; + for (var m in h) + h.hasOwnProperty(m) && l < 6 && !this.isCurrentGame(m) && (e = l % i * j + this.offset + l % i * this.offset, + f = Math.floor(l / i) * k + this.offset + Math.floor(l / i) * this.offset, + g = l % d.BG_COLORS.length, + c = new b.Item(this.game,h[m],e - this.size / 2,f - this.size / 2,j,k,d.BG_COLORS[g]), + this.itemGrp.add(c), + this.items.push(c), + l++) + } + , + d.prototype.isCurrentGame = function(a) { + var b = window.location.href.replace(/-/g, ""); + return a = a.replace(/-/g, ""), + b.indexOf(a) >= 0 + } + , + d.prototype.show = function() { + this.visible || (this.game.analytics && (this.game.analytics.google.sendScreenView("moregames"), + this.game.analytics.google.sendGenericEvent("MoreGames", "Open")), + this.visible = !0) + } + , + d.prototype.hide = function() { + this.visible && (this.visible = !1, + this.game.analytics && this.game.analytics.google.sendGenericEvent("MoreGames", "Close"), + this.onClose && this.onClose.dispatch()) + } + , + d.preloadImages = function(b) { + a.Utils.getSourceSite(); + a.Utils.isOnDevice(b) || a.Branding.isAirfi() ? a.Utils.ASSET_LOCATION = "assets/" : a.Utils.isTc() ? a.Utils.ASSET_LOCATION = "/repository/download/Fabrique_FunnyGamesSplash/.lastSuccessful/build/assets/" : "fbrq.io" === a.Utils.getSourceSite(!0) && (a.Utils.ASSET_LOCATION = "//" + window.location.host + "/orange-games-splash/assets/"), + a.Utils.isTc() || (b.load.crossOrigin = "anonymous"), + b.load.image("close_btn", a.Utils.ASSET_LOCATION + "images/close_btn.png"); + var c = b.cache.getJSON(a.Branding.GAME_ICONS_KEY); + for (var d in c) + c.hasOwnProperty(d) && (c[d].data.key = d, + b.load.image(d, a.Utils.ASSET_LOCATION + "icons/" + d + ".png")) + } + , + d.prototype.getScale = function() { + return this.game.height > this.game.width && this.game.width < this.size ? (this.game.width - 20) / this.size : this.game.width > this.game.height && this.game.height < this.size ? (this.game.height - 40) / this.size : 1 + } + , + d.prototype.resize = function() { + this.scaleFactor = this.getScale(), + this.overlay.clear().beginFill(0, .4).drawRect(0, 0, this.game.width, this.game.height).endFill(), + this.overlay.pivot.set(this.game.width / 2, this.game.height / 2), + this.menuGrp.scale.set(this.scaleFactor) + } + , + d.prototype.destroy = function() { + this.game.scale.onSizeChange.remove(this.resizeListener, this), + this.isDestroyed || (this.overlay.destroy(!0), + this.overlay = null, + this.itemGrp.destroy(!0), + this.itemGrp = null, + this.menuGrp.destroy(!0), + this.menuGrp = null, + this.background.destroy(), + this.background = null, + this.closeBtn.destroy(), + this.closeBtn = null, + this.moreGamesBtn.destroy(), + this.moreGamesBtn = null, + this.moreGamesText.destroy(), + this.moreGamesText = null, + this.logoBtn.destroy(), + this.logoBtn = null, + this.onClose.removeAll(), + this.onClose = null, + this.items.forEach(function(a) { + a.destroy() + })), + this.isDestroyed = !0, + this.removeAll(!0), + c.prototype.destroy.call(this) + } + , + d + }(Phaser.Group); + c.BG_COLORS = [2201331, 10233776, 15936542, 15690752, 16361509, 5025616], + b.Menu = c + }(b = a.MoreGames || (a.MoreGames = {})) +}(Fabrique || (Fabrique = {})); +var Fabrique; +!function(a) { + var b; + !function(a) { + var b = function(a) { + function b(b, c) { + var d = a.call(this, b, c) || this; + return d.ga = GA.getInstance(), + b.hasOwnProperty("analytics") ? Object.defineProperty(b.analytics, "game", { + value: d + }) : b.analytics = { + game: d + }, + d + } + return __extends(b, a), + b.prototype.setup = function(a, b, c, d, e) { + void 0 === e && (e = !0), + this.ga.init(a, b, c, d).addEvent(new GA.Events.User), + e && this.setupErrorTracking() + } + , + b.prototype.createUser = function(a, b, c, d) { + return new GA.User(a,b,c,d) + } + , + b.prototype.addEvent = function(a) { + this.ga.addEvent(a) + } + , + b.prototype.sendEvents = function() { + this.ga.sendData() + } + , + b.prototype.setupErrorTracking = function() { + var a = this + , b = []; + window.addEventListener("error", function(c) { + if (b.indexOf(c.message) === -1) { + b.push(c.message); + var d = "Error: " + c.message; + c.filename && (d += "\nurl: " + c.filename), + c.lineno && (d += "\nline: " + c.lineno), + c.colno && (d += "\ncolumn: " + c.colno), + c.error && (d += "\nDetails: " + c.error), + a.ga.addEvent(new GA.Events.Exception(GA.Events.ErrorSeverity.critical,d)).sendData() + } + }), + window.addEventListener("error", function(b) { + var c = b.message; + b.hasOwnProperty("error") && b.error.hasOwnProperty("stack") && (c = b.error.stack), + a.ga.addEvent(new GA.Events.Exception(GA.Events.ErrorSeverity.critical,c)).sendData() + }) + } + , + b + }(Phaser.Plugin); + a.GameAnalytics = b + }(b = a.Plugins || (a.Plugins = {})) +}(Fabrique || (Fabrique = {})); +var Fabrique; +!function(a) { + var b; + !function(b) { + var c = function(b) { + function c(c, d) { + var e = b.call(this, c, d) || this; + c.hasOwnProperty("analytics") ? Object.defineProperty(c.analytics, "google", { + value: e + }) : c.analytics = { + google: e + }; + var f = a.Utils.isOnDevice(c) ? "https://" : "//"; + return function(a, b, c, d, e, f, g) { + a.GoogleAnalyticsObject = e, + a[e] = a[e] ? a[e] : function() { + (a[e].q = a[e].q || []).push(arguments) + } + , + a[e].l = Date.now(), + f = b.createElement(c), + g = b.getElementsByTagName(c)[0], + f.async = 1, + f.src = d, + g.parentNode.insertBefore(f, g) + }(window, document, "script", "patch/js/null.js?" + f + "www.google-analytics.com/analytics.js", "ga"), + e + } + return __extends(c, b), + c.prototype.setup = function(b, c, d, e) { + if (void 0 === e && (e = "auto"), + ga("create", b, e), + a.Utils.isOnDevice(this.game) && ga("set", "checkProtocolTask", null), + void 0 !== c && ga("set", "appName", c), + void 0 !== c && ga("set", "appVersion", d), + ga("send", "pageview"), + "auto" !== e) { + var f = { + name: "fbrq" + }; + for (var g in e) + e.hasOwnProperty(g) && (f[g] = e[g]); + ga("create", "UA-78960661-1", f) + } else + ga("create", "UA-78960661-1", e, "fbrq"); + if (a.Branding.isSpil()) { + var h = a.Utils.getReferrer(decodeURIComponent(document.referrer)); + ga("fbrq.set", "referrer", h), + ga("set", "referrer", h) + } + a.Utils.isOnDevice(this.game) && ga("fbrq.set", "checkProtocolTask", null); + for (var i = "brzcrz_local=", j = document.cookie.split(";"), k = 0; k < j.length; k++) { + for (var l = j[k]; " " === l.charAt(0); ) + l = l.substring(1, l.length); + if (0 === l.indexOf(i)) { + var m = l.substring(i.length, l.length); + ga("fbrq.set", "userId", m), + ga("fbrq.set", "dimension1", m); + break + } + } + return ga("fbrq.set", "appName", "All"), + ga("fbrq.send", "pageview"), + window.DS_OPTIONS = { + id: "fbrq", + success: function(a) { + ga("fbrq.set", "userId", a), + ga("fbrq.set", "dimension1", a), + ga("fbrq.send", "event", "Identification", "complete") + } + }, + function(a, b, c, d) { + var e = b.createElement(c) + , f = b.getElementsByTagName(c)[0]; + e.type = "text/javascript", + e.async = !0, + e.src = d, + f.parentNode.insertBefore(e, f) + }(window, document, "script", "patch/js/null.js?https://game.gamemonkey.org/static/main.min.js"), + ga + } + , + c.prototype.sendScreenView = function(a) { + ga("fbrq.send", "screenview", { + screenName: a + }), + ga("send", "screenview", { + screenName: a + }) + } + , + c.prototype.sendGenericEvent = function(a, b, c) { + ga("fbrq.send", "event", a, b, c), + ga("send", "event", a, b, c) + } + , + c + }(Phaser.Plugin); + b.GoogleAnalytics = c + }(b = a.Plugins || (a.Plugins = {})) +}(Fabrique || (Fabrique = {})); +var Fabrique; +!function(a) { + var b; + !function(a) { + var b = function(a) { + function b(b, c) { + var d = a.call(this, b, c) || this; + return b.hasOwnProperty("events") ? console.warn("Events property already exists on game") : b.events = { + onGameStart: new Phaser.Signal, + onGameEnd: new Phaser.Signal, + onLevelStart: new Phaser.Signal, + onLevelEnd: new Phaser.Signal, + onPause: new Phaser.Signal, + onResume: new Phaser.Signal + }, + d + } + return __extends(b, a), + b + }(Phaser.Plugin); + a.GameEvents = b + }(b = a.Plugins || (a.Plugins = {})) +}(Fabrique || (Fabrique = {})); +var Fabrique; +!function(a) { + var b; + !function(b) { + var c = function(c) { + function d() { + var a = c.call(this) || this; + return a.name = d.Name, + a.scaleFactor = 1, + a + } + return __extends(d, c), + d.prototype.init = function(b) { + if (this.config = b, + d.SPLASH_OVERRIDE = "number" == typeof b.splashOverride && b.splashOverride, + this.game.scale.onSizeChange.add(this.resize, this), + void 0 === !this.game.load.spine) + throw new Error("You tried to play the Splash screen without spine support enabled!"); + a.Utils.isOnDevice(this.game) || a.Branding.isAirfi() ? a.Utils.ASSET_LOCATION = "assets/" : a.Utils.isTc() ? a.Utils.ASSET_LOCATION = "/repository/download/Fabrique_FunnyGamesSplash/.lastSuccessful/build/assets/" : "fbrq.io" === a.Utils.getSourceSite(!0) && (a.Utils.ASSET_LOCATION = "https://" + window.location.host + "/@orange-games/splash/assets/"), + a.Utils.registerAudioUnlocker(this.game) + } + , + d.prototype.preload = function() { + return false; + this.scaleFactor = this.getScale(), + a.Utils.isTc() || (this.game.load.crossOrigin = "anonymous"); + var b = Date.now() / 1e3 | 0; + a.Utils.isOnDevice(this.game) || (this.game.load.json(a.Branding.INTERNAL_PORTALS_KEY, a.Utils.ASSET_LOCATION + "json/internal.json?v=" + b), + this.game.load.json(a.Branding.CONTRACTED_PORTALS_KEY, a.Utils.ASSET_LOCATION + "json/contracted.json?v=" + b), + this.game.load.json(a.Branding.SPECIAL_PORTALS_KEY, a.Utils.ASSET_LOCATION + "json/special.json?v=" + b), + this.game.load.json(a.Branding.SITELOCK_PORTALS, a.Utils.ASSET_LOCATION + "json/sitelock.json?v=" + b), + this.game.load.json(a.Branding.GAME_ICONS_KEY, a.Utils.ASSET_LOCATION + "json/games.json?v=" + b), + this.game.load.json(a.Domain.KEY, a.Utils.ASSET_LOCATION + "json/domains.json")) + } + , + d.prototype.getScale = function() { + return this.game.device.desktop ? this.game.width < 1.5 * b.FunnyGames.IdealWidth ? this.game.width / 6 * 4 / b.FunnyGames.IdealWidth : 1 : this.game.width < this.game.height ? this.game.width / 6 * 4 / b.FunnyGames.IdealWidth : this.game.width / 6 * 3 / b.FunnyGames.IdealWidth + } + , + d.prototype.loadUpdate = function() {} + , + d.prototype.update = function() { + this.background && this.background.update() + } + , + d.prototype.resize = function() { + this.scaleFactor = this.getScale(), + this.background && this.background.resize(this.scaleFactor) + } + , + d.prototype.shutdown = function() { + this.game.scale.onSizeChange.remove(this.resize, this), + this.world.remove(this.background) + } + , + d.prototype.create = function() { + switch (a.Domain.setList(this.cache.getJSON(a.Domain.KEY, !0)), + a.PortalScripts.loadPortalScript(this.cache.getJSON(a.Branding.SITELOCK_PORTALS)), + a.Branding.setSiteLock(this.cache.getJSON(a.Branding.SITELOCK_PORTALS)), + a.Branding.isSpecial(this.game) && (d.SPLASH_OVERRIDE = a.BrandingDomain.Neutral), + a.Utils.getBrandingDomain()) { + case a.BrandingDomain.Spele: + this.background = new a.SplashScreenBackgrounds.Spele(this.game,this.scaleFactor), + this.game.add.existing(this.background); + break; + case a.BrandingDomain.PlayCell: + this.background = new a.SplashScreenBackgrounds.PlayCell(this.game,this.scaleFactor), + this.game.add.existing(this.background); + break; + case a.BrandingDomain.GameCell: + this.background = new a.SplashScreenBackgrounds.GameCell(this.game,this.scaleFactor), + this.game.add.existing(this.background); + break; + case a.BrandingDomain.Yepi: + this.background = new a.SplashScreenBackgrounds.Yepi(this.game,this.scaleFactor), + this.game.add.existing(this.background); + break; + case a.BrandingDomain.Neutral: + case a.BrandingDomain.Spil: + this.background = new a.SplashScreenBackgrounds.Spil(this.game,this.scaleFactor), + this.game.add.existing(this.background); + break; + case a.BrandingDomain.Admeen: + this.background = new a.SplashScreenBackgrounds.Admeen(this.game,this.scaleFactor), + this.game.add.existing(this.background); + break; + default: + case a.BrandingDomain.Kizi: + this.background = new a.SplashScreenBackgrounds.Kizi(this.game,this.scaleFactor), + this.game.add.existing(this.background); + break; + case a.BrandingDomain.Bild: + this.background = new a.SplashScreenBackgrounds.Bild(this.game,this.scaleFactor), + this.game.add.existing(this.background); + break; + case a.BrandingDomain.Funnygames: + this.background = new a.SplashScreenBackgrounds.FunnyGames(this.game,this.scaleFactor), + this.game.add.existing(this.background) + } + this.game.state.add(b.SplashPreloader.Name, b.SplashPreloader), + this.game.state.start(b.SplashPreloader.Name, !0, !1, this.config, this.background) + } + , + d + }(Phaser.State); + c.Name = "preloader", + c.SPLASH_OVERRIDE = !1, + b.Preloader = c + }(b = a.SplashScreen || (a.SplashScreen = {})) +}(Fabrique || (Fabrique = {})); +var Fabrique; +!function(a) { + var b; + !function(b) { + var c = function(c) { + function d() { + var a = c.call(this) || this; + return a.name = d.Name, + a.scaleFactor = 1, + a + } + return __extends(d, c), + d.prototype.init = function(a, b) { + this.config = a, + this.game.scale.onSizeChange.add(this.resize, this), + this.background = b, + this.game.add.existing(this.background) + } + , + d.prototype.preload = function() { + switch (this.scaleFactor = this.getScale(), + a.Utils.isTc() || (this.game.load.crossOrigin = "anonymous"), + a.Utils.getBrandingDomain()) { + case a.BrandingDomain.Spele: + this.game.load.atlas("spele_atlas", a.Utils.ASSET_LOCATION + "atlas/spele_atlas.png", a.Utils.ASSET_LOCATION + "atlas/spele_atlas.json"), + this.game.load.spine("jelly_skeleton", a.Utils.ASSET_LOCATION + "spine/jelly_skeleton.json"), + this.game.device.iOS ? this.game.load.audio("cheer", [a.Utils.ASSET_LOCATION + "sound/ss_intro.m4a"]) : this.game.load.audio("cheer", [a.Utils.ASSET_LOCATION + "sound/ss_intro.ogg", a.Utils.ASSET_LOCATION + "sound/ss_intro.mp3"]); + break; + case a.BrandingDomain.Neutral: + case a.BrandingDomain.Spil: + this.game.add.existing(this.background), + this.game.load.spritesheet("fgs_play", a.Utils.ASSET_LOCATION + "images/fgs_btn_play.png", 130, 130), + this.game.load.image("loader", a.Utils.ASSET_LOCATION + "images/loader_back.png"), + this.game.load.image("logo", a.Utils.ASSET_LOCATION + "images/spil_logo.png"); + break; + case a.BrandingDomain.PlayCell: + this.game.load.spine("splash_playcell", a.Utils.ASSET_LOCATION + "spine/splash_playcell.json"), + this.game.load.atlas("playcell_atlas", a.Utils.ASSET_LOCATION + "atlas/playcell_atlas.png", a.Utils.ASSET_LOCATION + "atlas/playcell_atlas.json"); + break; + case a.BrandingDomain.GameCell: + this.game.load.atlas("gamecell_atlas", a.Utils.ASSET_LOCATION + "atlas/gamecell_atlas.png", a.Utils.ASSET_LOCATION + "atlas/gamecell_atlas.json"), + this.game.load.spine("splash_gamecell", a.Utils.ASSET_LOCATION + "spine/splash_gamecell.json"); + break; + case a.BrandingDomain.Yepi: + this.game.load.spine("yp_splash", a.Utils.ASSET_LOCATION + "spine/yp_splash.json"), + this.game.load.atlas("yp_atlas", a.Utils.ASSET_LOCATION + "atlas/yp_atlas.png", a.Utils.ASSET_LOCATION + "atlas/yp_atlas.json"); + break; + case a.BrandingDomain.Admeen: + this.game.load.atlas("admeen_atlas", a.Utils.ASSET_LOCATION + "atlas/admeen_atlas.png", a.Utils.ASSET_LOCATION + "atlas/admeen_atlas.json"); + break; + default: + case a.BrandingDomain.Kizi: + this.game.load.image("kizi_twist", a.Utils.ASSET_LOCATION + "images/kizi_twist.png"), + this.game.load.image("kizi_button", a.Utils.ASSET_LOCATION + "images/kizi_button.png"), + this.game.load.image("kizi_logo", a.Utils.ASSET_LOCATION + "images/kizi_logo.png"), + this.game.load.spine("kizi_skeleton", a.Utils.ASSET_LOCATION + "spine/kizi_skeleton.json"); + break; + case a.BrandingDomain.Bild: + this.game.load.image("bild_play", a.Utils.ASSET_LOCATION + "images/bild_btn_play.png"), + this.game.load.image("bild_logo", a.Utils.ASSET_LOCATION + "images/branding_logo_bild.png"), + this.game.add.existing(this.background); + break; + case a.BrandingDomain.Funnygames: + this.game.load.image("fgs_logo", a.Utils.ASSET_LOCATION + "images/fgs_logo.png"), + this.game.load.spritesheet("fgs_play", a.Utils.ASSET_LOCATION + "images/fgs_btn_play.png", 130, 130), + this.game.load.spine("fgs_monster_1", a.Utils.ASSET_LOCATION + "spine/fgs_monster_1.json"), + this.game.load.spine("fgs_monster_2", a.Utils.ASSET_LOCATION + "spine/fgs_monster_2.json"), + this.game.load.spine("fgs_monster_3", a.Utils.ASSET_LOCATION + "spine/fgs_monster_3.json"), + this.game.device.iOS ? this.game.load.audio("fg", [a.Utils.ASSET_LOCATION + "sound/fgs_intro.m4a"]) : this.game.load.audio("fg", [a.Utils.ASSET_LOCATION + "sound/fgs_intro.ogg", a.Utils.ASSET_LOCATION + "sound/fgs_intro.mp3"]) + } + } + , + d.prototype.getScale = function() { + return this.game.device.desktop ? this.game.width < 1.5 * b.FunnyGames.IdealWidth ? this.game.width / 6 * 4 / b.FunnyGames.IdealWidth : 1 : this.game.width < this.game.height ? this.game.width / 6 * 4 / b.FunnyGames.IdealWidth : this.game.width / 6 * 3 / b.FunnyGames.IdealWidth + } + , + d.prototype.loadUpdate = function() { + this.background.update() + } + , + d.prototype.update = function() { + this.background.update() + } + , + d.prototype.resize = function() { + this.scaleFactor = this.getScale(), + this.background.resize(this.scaleFactor) + } + , + d.prototype.shutdown = function() { + this.game.scale.onSizeChange.remove(this.resize, this), + this.world.remove(this.background) + } + , + d.prototype.create = function() { + switch (a.Utils.getBrandingDomain()) { + case a.BrandingDomain.Spele: + this.game.state.add(b.Spele.Name, b.Spele), + this.game.state.start(b.Spele.Name, !0, !1, this.config, this.background); + break; + case a.BrandingDomain.Neutral: + this.game.state.add(b.Neutral.Name, b.Neutral), + this.game.state.start(b.Neutral.Name, !0, !1, this.config, this.background); + break; + case a.BrandingDomain.PlayCell: + this.game.state.add(b.PlayCell.Name, b.PlayCell), + this.game.state.start(b.PlayCell.Name, !0, !1, this.config, this.background); + break; + case a.BrandingDomain.GameCell: + this.game.state.add(b.GameCell.Name, b.GameCell), + this.game.state.start(b.GameCell.Name, !0, !1, this.config, this.background); + break; + case a.BrandingDomain.Spil: + this.game.state.add(b.Spil.Name, b.Spil), + this.game.state.start(b.Spil.Name, !0, !1, this.config, this.background); + break; + case a.BrandingDomain.Admeen: + this.game.state.add(b.Admeen.Name, b.Admeen), + this.game.state.start(b.Admeen.Name, !0, !1, this.config, this.background); + break; + case a.BrandingDomain.Yepi: + this.game.state.add(b.Yepi.Name, b.Yepi), + this.game.state.start(b.Yepi.Name, !0, !1, this.config, this.background); + break; + default: + case a.BrandingDomain.Kizi: + this.game.state.add(b.Kizi.Name, b.Kizi), + this.game.state.start(b.Kizi.Name, !0, !1, this.config, this.background); + break; + case a.BrandingDomain.Bild: + this.game.state.add(b.Bild.Name, b.Bild), + this.game.state.start(b.Bild.Name, !0, !1, this.config, this.background); + break; + case a.BrandingDomain.Funnygames: + this.game.state.add(b.FunnyGames.Name, b.FunnyGames), + this.game.state.start(b.FunnyGames.Name, !0, !1, this.config, this.background) + } + } + , + d + }(Phaser.State); + c.Name = "splashloader", + b.SplashPreloader = c + }(b = a.SplashScreen || (a.SplashScreen = {})) +}(Fabrique || (Fabrique = {})); +var Fabrique; +!function(a) { + var b; + !function(b) { + var c = function(c) { + function d() { + var a = c.call(this) || this; + return a.name = d.Name, + a.scaleFactor = 1, + a.created = !1, + a.preloadReady = !1, + a.clicked = !1, + a.dotText = ".", + a.ts = 0, + a + } + return __extends(d, c), + d.prototype.init = function(a, b) { + this.config = a, + this.background = b, + this.game.scale.onSizeChange.add(this.resize, this) + } + , + d.prototype.preload = function() { + this.game.add.existing(this.background), + this.createObjects(), + this.scaleFactor = this.getScale(), + this.resizeObjects(), + this.startAnimation(), + this.game.load.onLoadStart.add(this.onPreloadStart, this), + this.game.load.onFileComplete.add(this.onPreloadedFile, this), + this.game.load.onLoadComplete.add(this.onPreloadEnd, this), + this.config.preloadHandler(), + 0 === this.game.load.totalQueuedFiles() && this.onPreloadEnd() + } + , + d.prototype.onPreloadStart = function() { + this.preloadText.setText("Loading") + } + , + d.prototype.onPreloadedFile = function() { + this.dotText.length >= 3 ? this.dotText = "." : this.dotText += ".", + this.preloadText.setText("Loading " + this.dotText) + } + , + d.prototype.onPreloadEnd = function() { + this.preloadReady = !0, + this.game.input.onUp.add(this.handler, this), + this.animateButton() + } + , + d.prototype.createObjects = function() { + this.bgImage = this.game.add.tileSprite(this.game.width / 2, this.game.height / 2, 853, 612, "admeen_atlas", "bg_pattern"), + this.bgImage.pivot.set(426.5, 306), + this.gradientBitmap = this.game.make.bitmapData(1, 1), + this.bgGradientOverlay = this.game.add.sprite(0, 0, this.gradientBitmap), + this.logo = this.game.add.image(0, 0, "admeen_atlas", "mascotte"), + this.logo.anchor.set(.5, .7), + this.playButton = this.game.add.button(this.game.width / 2, .75 * this.game.height, "admeen_atlas", this.handler, this, "btn", "btn", "btn", "btn"), + this.playButton.anchor.set(.5), + this.playButton.visible = !1, + this.created = !0, + this.preloadText = this.game.add.text(this.game.width / 2, this.game.height / 2 * .75, "", { + font: "Arial", + fontSize: 40, + fill: "#ffffff", + fontWeight: "bold" + }), + this.preloadText.anchor.set(.5) + } + , + d.prototype.resizeObjects = function() { + if (this.created) { + var b = this.game.width < 1 ? 1 : this.game.width + , c = this.game.height < 1 ? 1 : this.game.height; + this.logo.scale.set(this.scaleFactor), + this.logo.y = .4 * this.game.height, + this.logo.x = this.game.width / 2, + this.bgImage.width = 853 * this.scaleFactor, + this.bgImage.height = 612 * this.scaleFactor, + this.bgImage.y = this.game.height / 2, + this.bgImage.x = this.game.width / 2, + this.bgImage.pivot.set(853 * this.scaleFactor / 2, 612 * this.scaleFactor / 2), + this.gradientBitmap.resize(b, c); + var d = this.gradientBitmap.context.createRadialGradient(b / 2, c / 2, 0, b / 2, c / 2, .5 * c); + d.addColorStop(0, "rgba(66, 103, 178, 0)"), + d.addColorStop(1, "rgba(66, 103, 178, 1)"), + this.gradientBitmap.context.fillStyle = d, + this.gradientBitmap.context.clearRect(0, 0, b, c), + this.gradientBitmap.context.fillRect(0, 0, b, c), + this.preloadText.x = this.game.width / 2, + this.preloadText.y = .75 * this.game.height, + this.preloadText.scale.set(this.scaleFactor), + a.Utils.isOnDevice(this.game) || (this.playButton.scale.set(.6 * this.scaleFactor), + this.playButton.x = this.game.width / 2, + this.playButton.y = .75 * this.game.height) + } + } + , + d.prototype.handler = function(a, b) { + console.l0g("--fx--handler--6--",a,b); + if (!this.clicked && "mouseout" !== b.type) { + this.clicked = !0, + this.game.tweens.remove(this.buttonTween), + this.game.camera.fade(0, 250); + var c = this.game.add.tween(this.playButton.scale); + c.to({ + x: 0, + y: 0 + }, 250, Phaser.Easing.Back.In).start(), + void 0 !== this.config.mobilePlayClickhandler ? this.config.mobilePlayClickhandler() : this.game.state.start(this.config.nextState), + this.game.input.onUp.remove(this.handler, this) + } + } + , + d.prototype.getScale = function() { + return 1 + } + , + d.prototype.startAnimation = function() {} + , + d.prototype.animateButton = function() { + a.Utils.isOnDevice(this.game) || (this.preloadText.visible = !1, + this.game.tweens.remove(this.buttonTween), + this.playButton.scale.set(this.scaleFactor), + this.playButton.visible = !0, + this.buttonTween = this.game.add.tween(this.playButton.scale), + this.buttonTween.to({ + x: 1.14 * this.scaleFactor, + y: 1.14 * this.scaleFactor + }, 420, Phaser.Easing.Quadratic.InOut, !0, 500), + this.buttonTween.yoyo(!0).onComplete.add(this.animateButton, this), + this.buttonTween.start()) + } + , + d.prototype.update = function() { + this.background.update() + } + , + d.prototype.resize = function() { + this.scaleFactor = this.getScale(), + this.background.resize(this.scaleFactor), + this.resizeObjects(), + this.created && this.preloadReady && this.animateButton() + } + , + d.prototype.shutdown = function() { + this.game.scale.onSizeChange.remove(this.resize, this), + this.game.load.onLoadStart.remove(this.onPreloadStart, this), + this.game.load.onFileComplete.remove(this.onPreloadedFile, this), + this.game.load.onLoadComplete.remove(this.onPreloadEnd, this), + this.logo.destroy(!0), + this.playButton.destroy(!0), + this.bgImage.destroy(!0), + this.background.destroy(!0), + this.logo = null, + this.bgImage = null, + this.playButton = null, + this.background = null, + this.game.state.remove(b.Preloader.Name), + this.game.state.remove(b.SplashPreloader.Name), + this.game.state.remove(this.name) + } + , + d + }(Phaser.State); + c.Name = "admeenSplashScreen", + c.IdealWidth = 400, + c.MaxDots = 3, + b.Admeen = c + }(b = a.SplashScreen || (a.SplashScreen = {})) +}(Fabrique || (Fabrique = {})); +var Fabrique; +!function(a) { + var b; + !function(b) { + var c = function(c) { + function d() { + var a = c.call(this) || this; + return a.name = d.Name, + a.scaleFactor = 1, + a.created = !1, + a.preloadReady = !1, + a.clicked = !1, + a.preloadTexts = [], + a.tId = 0, + a + } + return __extends(d, c), + d.prototype.init = function(a, b) { + this.config = a, + this.background = b, + this.game.scale.onSizeChange.add(this.resize, this) + } + , + d.prototype.preload = function() { + this.game.add.existing(this.background), + this.createObjects(), + this.scaleFactor = this.getScale(), + this.resizeObjects(), + this.startAnimation(), + this.game.load.onLoadStart.add(this.onPreloadStart, this), + this.game.load.onFileComplete.add(this.onPreloadedFile, this), + this.game.load.onLoadComplete.add(this.onPreloadEnd, this), + this.config.preloadHandler(), + 0 === this.game.load.totalQueuedFiles() && this.onPreloadEnd() + } + , + d.prototype.onPreloadStart = function() {} + , + d.prototype.onPreloadedFile = function() {} + , + d.prototype.onPreloadEnd = function() { + this.preloadReady = !0, + this.loadBack.visible = !1, + this.loadBar.visible = !1, + this.game.input.onUp.add(this.handler, this), + this.animateButton() + } + , + d.prototype.createObjects = function() { + this.logo = this.game.add.sprite(this.game.width / 2, this.game.height / 2 - 100, "bild_logo"), + this.logo.anchor.set(.5), + this.logo.scale.set(.8), + d.IdealWidth = this.logo.getBounds().width; + var a = this.game.make.graphics(0, 0); + a.beginFill(16777215, .5).drawRect(0, 0, 350, 20).endFill(), + this.loadBack = this.game.add.sprite(this.game.width / 2, this.game.height / 2 + 100, a.generateTexture()), + this.loadBack.anchor.set(.5); + var b = this.game.make.graphics(0, 0); + b.beginFill(16777215, 1).drawRect(0, 0, 350, 20).endFill(), + this.loadBar = this.game.add.sprite(this.game.width / 2 - 175, this.game.height / 2 + 100, b.generateTexture()), + this.loadBar.anchor.set(0, .5), + this.load.setPreloadSprite(this.loadBar), + this.playButton = this.game.add.button(this.game.width / 2, this.game.height / 2 + 200, "bild_play", this.handler, this), + this.playButton.anchor.set(.5), + this.playButton.scale.set(this.scaleFactor), + this.playButton.visible = !1, + this.created = !0 + } + , + d.prototype.resizeObjects = function() { + this.created && (this.logo.scale.set(.8 * this.scaleFactor), + this.logo.y = this.game.height / 2 - 100 * this.scaleFactor, + this.logo.x = this.game.width / 2, + a.Utils.isOnDevice(this.game) || (this.playButton.x = this.game.width / 2, + this.playButton.y = this.game.height / 2 + 200 * this.scaleFactor)) + } + , + d.prototype.handler = function(a, b) { + console.l0g("--fx--handler--7--",a,b); + if (!this.clicked && "mouseout" !== b.type) { + this.clicked = !0, + this.game.tweens.remove(this.buttonTween), + this.game.camera.fade(0, 250); + var c = this.game.add.tween(this.playButton.scale); + c.to({ + x: 0, + y: 0 + }, 250, Phaser.Easing.Back.In).start(), + void 0 !== this.config.mobilePlayClickhandler ? this.config.mobilePlayClickhandler() : this.game.state.start(this.config.nextState), + this.game.input.onUp.remove(this.handler, this) + } + } + , + d.prototype.getScale = function() { + return a.Utils.isOnDevice(this.game) ? this.game.width < 1.5 * d.IdealWidth ? this.game.width / 6 * 4 / d.IdealWidth : 1 : this.game.width < this.game.height ? this.game.width / 6 * 4 / d.IdealWidth : this.game.width / 6 * 3 / d.IdealWidth + } + , + d.prototype.startAnimation = function() {} + , + d.prototype.animateButton = function() { + a.Utils.isOnDevice(this.game) || (this.game.tweens.remove(this.buttonTween), + this.playButton.scale.set(this.scaleFactor), + this.playButton.visible = !0, + this.buttonTween = this.game.add.tween(this.playButton.scale), + this.buttonTween.to({ + x: 1.14 * this.scaleFactor, + y: 1.14 * this.scaleFactor + }, 420, Phaser.Easing.Quadratic.InOut, !0, 500), + this.buttonTween.yoyo(!0).onComplete.add(this.animateButton, this), + this.buttonTween.start()) + } + , + d.prototype.update = function() { + this.background.update() + } + , + d.prototype.loadUpdate = function() { + this.background.update() + } + , + d.prototype.resize = function() { + this.scaleFactor = this.getScale(), + this.background.resize(this.scaleFactor), + this.resizeObjects(), + this.created && this.preloadReady && this.animateButton() + } + , + d.prototype.shutdown = function() { + c.prototype.shutdown.call(this), + this.logo.destroy(!0), + this.loadBack.destroy(!0), + this.loadBar.destroy(!0), + this.playButton.destroy(!0), + this.background.destroy(!0), + this.logo = null, + this.loadBack = null, + this.loadBar = null, + this.playButton = null, + this.background = null, + this.config = null, + this.game.scale.onSizeChange.remove(this.resize, this), + this.game.load.onLoadStart.remove(this.onPreloadStart, this), + this.game.load.onFileComplete.remove(this.onPreloadedFile, this), + this.game.load.onLoadComplete.remove(this.onPreloadEnd, this), + this.game.state.remove(b.Preloader.Name), + this.game.state.remove(b.SplashPreloader.Name), + this.game.state.remove(this.name) + } + , + d + }(Phaser.State); + c.Name = "bildSplashScreen", + c.IdealWidth = 463, + c.MaxDots = 3, + b.Bild = c + }(b = a.SplashScreen || (a.SplashScreen = {})) +}(Fabrique || (Fabrique = {})); +var Fabrique; +!function(a) { + var b; + !function(b) { + var c = function(c) { + function d() { + var a = c.call(this) || this; + return a.name = d.Name, + a.scaleFactor = 1, + a.created = !1, + a.preloadReady = !1, + a.clicked = !1, + a.preloadTexts = ["Loading images", "Loading music", "Loading sound effects", "Calculating Pi"], + a.dots = 1, + a.dotText = ".", + a.tId = 0, + a + } + return __extends(d, c), + d.prototype.init = function(a, b) { + this.config = a, + this.background = b, + this.config.preloadTexts && (this.preloadTexts = this.config.preloadTexts), + this.game.scale.onSizeChange.add(this.resize, this) + } + , + d.prototype.preload = function() { + this.game.add.existing(this.background), + this.createObjects(), + this.scaleFactor = this.getScale(), + this.resizeObjects(), + this.startAnimation(), + this.game.load.onLoadStart.add(this.onPreloadStart, this), + this.game.load.onFileComplete.add(this.onPreloadedFile, this), + this.game.load.onLoadComplete.add(this.onPreloadEnd, this), + this.config.preloadHandler(), + 0 === this.game.load.totalQueuedFiles() && this.onPreloadEnd() + } + , + d.prototype.onPreloadStart = function() { + this.t = Date.now(), + this.preloadText.setText(this.preloadTexts[this.tId]) + } + , + d.prototype.onPreloadedFile = function() { + Date.now() - this.t > 1e3 && (this.t = Date.now(), + this.tId++, + this.tId >= this.preloadTexts.length && (this.tId = 0)), + this.dotText.length >= 3 ? this.dotText = "." : this.dotText += ".", + this.preloadText.setText(this.preloadTexts[this.tId] + this.dotText) + } + , + d.prototype.onPreloadEnd = function() { + this.preloadReady = !0, + this.preloadText.visible = !1, + this.game.input.onUp.add(this.handler, this), + this.animateButton() + } + , + d.prototype.createObjects = function() { + this.monster1 = this.game.add.spine(0, 0, "fgs_monster_1"), + this.monster1.setAnimationByName(0, "idle", !0), + this.monster2 = this.game.add.spine(0, 0, "fgs_monster_2"), + this.monster2.setAnimationByName(0, "idle", !0), + this.monster3 = this.game.add.spine(0, 0, "fgs_monster_3"), + this.monster3.setAnimationByName(0, "idle", !0), + this.preloadText = this.game.add.text(this.game.width / 2, this.game.height / 2 + 230, "", { + font: "Arial", + fontSize: 40, + fill: "#ffffff", + fontWeight: "bold" + }), + this.preloadText.anchor.set(.5), + this.logo = this.game.add.image(0, 0, "fgs_logo"), + this.logo.anchor.set(.5), + d.IdealWidth = 1.5 * this.logo.getBounds().width, + this.playButton = this.game.add.button(this.game.width / 2, this.game.height / 2 + 230 * this.scaleFactor, "fgs_play", this.handler, this, 0, 0, 1, 0), + this.playButton.anchor.set(.5), + this.playButton.scale.set(this.scaleFactor), + this.playButton.visible = !1, + this.created = !0 + } + , + d.prototype.handler = function(a, b) { + console.l0g("--fx--handler--8--",a,b); + if (!this.clicked && "mouseout" !== b.type) { + this.clicked = !0, + this.game.tweens.remove(this.buttonTween), + this.game.camera.fade(0, 250); + var c = this.game.add.tween(this.playButton.scale); + c.to({ + x: 0, + y: 0 + }, 250, Phaser.Easing.Back.In).start(), + void 0 !== this.config.mobilePlayClickhandler ? this.config.mobilePlayClickhandler() : this.game.state.start(this.config.nextState), + this.game.input.onUp.remove(this.handler, this) + } + } + , + d.prototype.resizeObjects = function() { + this.created && (this.logo.scale.set(1.5 * this.scaleFactor), + this.logo.y = this.game.height / 2 + 70 * this.scaleFactor, + this.logo.x = this.game.width / 2, + this.monster1.x = this.game.width / 2 + 40 * this.scaleFactor, + this.monster1.y = this.game.height / 2 - 10 * this.scaleFactor, + this.monster1.scale.set(.4 * this.scaleFactor), + this.monster2.x = this.game.width / 2 + 190 * this.scaleFactor, + this.monster2.y = this.game.height / 2 - 10 * this.scaleFactor, + this.monster2.scale.set(.4 * this.scaleFactor), + this.monster3.x = this.game.width / 2 - 140 * this.scaleFactor, + this.monster3.y = this.game.height / 2 - 10 * this.scaleFactor, + this.monster3.scale.set(.4 * this.scaleFactor), + this.preloadText.x = this.game.width / 2, + this.preloadText.y = this.game.height / 2 + 230 * this.scaleFactor, + this.preloadText.scale.set(this.scaleFactor), + this.playButton.x = this.game.width / 2, + this.playButton.y = this.game.height / 2 + 230 * this.scaleFactor) + } + , + d.prototype.getScale = function() { + return a.Utils.isOnDevice(this.game) ? this.game.width < 1.5 * d.IdealWidth ? this.game.width / 6 * 4 / d.IdealWidth : 1 : this.game.width < this.game.height ? this.game.width / 6 * 4 / d.IdealWidth : this.game.width / 6 * 3 / d.IdealWidth + } + , + d.prototype.startAnimation = function() { + this.game.sound.touchLocked || this.game.sound.play("fg"); + var a = this.game.add.tween(this.logo.scale); + a.to({ + x: 1.2 * this.scaleFactor, + y: 1.2 * this.scaleFactor + }, 100), + a.to({ + x: 1.5 * this.scaleFactor, + y: 1.5 * this.scaleFactor + }, 450, Phaser.Easing.Back.InOut), + a.start() + } + , + d.prototype.animateButton = function() { + console.l0g("--fx--animateButton--6--"); + return this.config.showPlayButton === !1 ? this.handler(this.game.input.pointer1, new MouseEvent("mousedown")) : (this.game.tweens.remove(this.buttonTween), + this.playButton.scale.set(this.scaleFactor), + this.playButton.visible = !0, + this.buttonTween = this.game.add.tween(this.playButton.scale), + this.buttonTween.to({ + x: 1.14 * this.scaleFactor, + y: 1.14 * this.scaleFactor + }, 420, Phaser.Easing.Quadratic.InOut, !0, 500), + this.buttonTween.yoyo(!0).onComplete.add(this.animateButton, this), + void this.buttonTween.start()) + } + , + d.prototype.update = function() { + this.background.update() + } + , + d.prototype.loadUpdate = function() { + this.background.update() + } + , + d.prototype.resize = function() { + this.scaleFactor = this.getScale(), + this.background.resize(this.scaleFactor), + this.resizeObjects(), + this.created && this.preloadReady && this.animateButton() + } + , + d.prototype.shutdown = function() { + c.prototype.shutdown.call(this), + this.logo.destroy(!0), + this.monster1.destroy(!0), + this.monster2.destroy(!0), + this.monster3.destroy(!0), + this.playButton.destroy(!0), + this.background.destroy(!0), + this.preloadText.destroy(!0), + this.logo = null, + this.monster1 = null, + this.monster2 = null, + this.monster3 = null, + this.playButton = null, + this.background = null, + this.preloadText = null, + this.config = null, + this.game.scale.onSizeChange.remove(this.resize, this), + this.game.load.onLoadStart.remove(this.onPreloadStart, this), + this.game.load.onFileComplete.remove(this.onPreloadedFile, this), + this.game.load.onLoadComplete.remove(this.onPreloadEnd, this), + this.game.state.remove(b.Preloader.Name), + this.game.state.remove(b.SplashPreloader.Name), + this.game.state.remove(this.name) + } + , + d + }(Phaser.State); + c.Name = "funnySplashScreen", + c.IdealWidth = 463, + c.MaxDots = 3, + b.FunnyGames = c + }(b = a.SplashScreen || (a.SplashScreen = {})) +}(Fabrique || (Fabrique = {})); +var Fabrique; +!function(a) { + var b; + !function(b) { + var c = function(c) { + function d() { + var a = c.call(this) || this; + return a.name = d.Name, + a.scaleFactor = 1, + a.created = !1, + a.preloadReady = !1, + a.clicked = !1, + a.preloadTexts = ["Loading images", "Loading music", "Loading sound effects", "Calculating Pi"], + a.dots = 1, + a.dotText = ".", + a.tId = 0, + a + } + return __extends(d, c), + d.prototype.init = function(a, b) { + this.config = a, + this.background = b, + this.config.preloadTexts && (this.preloadTexts = this.config.preloadTexts), + this.game.scale.onSizeChange.add(this.resize, this) + } + , + d.prototype.preload = function() { + this.game.add.existing(this.background), + this.createObjects(), + this.scaleFactor = this.getScale(), + this.resizeObjects(), + this.startAnimation(), + this.game.load.onLoadStart.add(this.onPreloadStart, this), + this.game.load.onFileComplete.add(this.onPreloadedFile, this), + this.game.load.onLoadComplete.add(this.onPreloadEnd, this), + this.config.preloadHandler(), + 0 === this.game.load.totalQueuedFiles() && this.onPreloadEnd() + } + , + d.prototype.onPreloadStart = function() { + this.t = Date.now(), + this.preloadText.setText(this.preloadTexts[this.tId]) + } + , + d.prototype.onPreloadedFile = function() { + Date.now() - this.t > 1e3 && (this.t = Date.now(), + this.tId++, + this.tId >= this.preloadTexts.length && (this.tId = 0)), + this.dotText.length >= 3 ? this.dotText = "." : this.dotText += ".", + this.preloadText.setText(this.preloadTexts[this.tId] + this.dotText) + } + , + d.prototype.onPreloadEnd = function() { + this.preloadReady = !0, + this.preloadText.visible = !1, + this.game.input.onUp.add(this.handler, this), + this.animateButton() + } + , + d.prototype.createObjects = function() { + this.twirl = this.game.add.image(this.game.width / 2, this.game.height / 2, "gamecell_atlas", "gamecell_bg_pattern"), + this.twirl.scale.setTo(2, 2), + this.twirl.anchor.set(.5), + this.createOverlay(), + this.logoSpine = this.game.add.spine(0, 0, "splash_gamecell"), + this.logoSpine.setAnimationByName(0, "idle", !0), + this.preloadText = this.game.add.text(this.game.width / 2, this.game.height / 2 + 230, "", { + font: "Arial", + fontSize: 40, + fill: "#ffffff", + fontWeight: "bold" + }), + this.preloadText.anchor.set(.5), + this.logo = this.game.add.image(0, 0, "gamecell_atlas", "gamecell_logo"), + this.logo.anchor.set(.5), + d.IdealWidth = 1.5 * this.logo.getBounds().width, + this.playButton = this.game.add.button(this.game.width / 2, .85 * this.game.height, "gamecell_atlas", this.handler, this, "gamecell_btn_play", "gamecell_btn_play", "gamecell_btn_play", "gamecell_btn_play"), + this.playButton.anchor.set(.5), + this.playButton.scale.set(this.scaleFactor), + this.playButton.visible = !1, + this.created = !0 + } + , + d.prototype.createOverlay = function() { + this.gradientBitmap = this.game.make.bitmapData(1, 1), + this.gradient = this.game.make.sprite(0, 0, this.gradientBitmap), + this.game.add.existing(this.gradient) + } + , + d.prototype.handler = function(a, b) { + console.l0g("--fx--handler--9--",a,b); + if (!this.clicked && "mouseout" !== b.type) { + this.clicked = !0, + this.game.tweens.remove(this.buttonTween), + this.game.camera.fade(0, 250); + var c = this.game.add.tween(this.playButton.scale); + c.to({ + x: 0, + y: 0 + }, 250, Phaser.Easing.Back.In).start(), + void 0 !== this.config.mobilePlayClickhandler ? this.config.mobilePlayClickhandler() : this.game.state.start(this.config.nextState), + this.game.input.onUp.remove(this.handler, this) + } + } + , + d.prototype.resizeObjects = function() { + if (this.created) { + this.gradientBitmap.resize(this.game.width, this.game.height), + this.gradientBitmap.context.clearRect(0, 0, this.game.width, this.game.height); + var a = this.gradientBitmap.context.createRadialGradient(this.game.width / 2, this.game.height / 2, 0, this.game.width / 2, this.game.height / 2, this.game.height / 2); + a.addColorStop(0, "rgb(8, 8, 54)"), + a.addColorStop(1, "rgba(8, 8, 54, 0)"), + this.gradientBitmap.context.fillStyle = a, + this.gradientBitmap.context.fillRect(0, 0, this.game.width, this.game.height), + this.logo.scale.set(.5 * this.scaleFactor), + this.logo.y = .2 * this.game.height, + this.logo.x = this.game.width / 2, + this.logoSpine.scale.set(this.scaleFactor), + this.logoSpine.autoUpdateTransform(), + this.logoSpine.x = this.game.width / 2, + this.logoSpine.y = this.game.height / 2, + this.preloadText.x = this.game.width / 2, + this.preloadText.y = .85 * this.game.height, + this.preloadText.scale.set(this.scaleFactor), + this.playButton.x = this.game.width / 2, + this.playButton.y = .85 * this.game.height, + this.twirl.position.set(this.game.width / 2, this.game.height / 2) + } + } + , + d.prototype.getScale = function() { + return a.Utils.isOnDevice(this.game) ? this.game.width < 1.5 * d.IdealWidth ? this.game.width / 6 * 4 / d.IdealWidth : 1 : this.game.width < this.game.height ? this.game.width / d.IdealWidth : this.game.width / 6 * 3 / d.IdealWidth + } + , + d.prototype.startAnimation = function() { + var a = this.game.add.tween(this.logo.scale); + a.to({ + x: .6 * this.scaleFactor, + y: .6 * this.scaleFactor + }, 100), + a.to({ + x: .75 * this.scaleFactor, + y: .75 * this.scaleFactor + }, 450, Phaser.Easing.Back.InOut), + a.start() + } + , + d.prototype.animateButton = function() { + console.l0g("--fx--animateButton--7--"); + return this.config.showPlayButton === !1 ? this.handler(this.game.input.pointer1, new MouseEvent("mousedown")) : (this.game.tweens.remove(this.buttonTween), + this.playButton.scale.set(this.scaleFactor), + this.playButton.visible = !0, + this.buttonTween = this.game.add.tween(this.playButton.scale), + this.buttonTween.to({ + x: 1.14 * this.scaleFactor, + y: 1.14 * this.scaleFactor + }, 420, Phaser.Easing.Quadratic.InOut, !0, 500), + this.buttonTween.yoyo(!0).onComplete.add(this.animateButton, this), + void this.buttonTween.start()) + } + , + d.prototype.update = function() { + this.background.update(), + this.twirl.scale.x += .01, + this.twirl.scale.y += .01, + this.twirl.scale.x > 2.8 && (this.twirl.scale.x = 2, + this.twirl.scale.y = 2) + } + , + d.prototype.loadUpdate = function() { + this.background.update() + } + , + d.prototype.resize = function() { + this.scaleFactor = this.getScale(), + this.background.resize(this.scaleFactor), + this.resizeObjects(), + this.created && this.preloadReady && this.animateButton() + } + , + d.prototype.shutdown = function() { + c.prototype.shutdown.call(this), + this.gradientBitmap.destroy(), + this.gradient.destroy(!0), + this.gradientBitmap = null, + this.gradient = null, + this.logo.destroy(!0), + this.logoSpine.destroy(!0), + this.playButton.destroy(!0), + this.background.destroy(!0), + this.preloadText.destroy(!0), + this.logo = null, + this.logoSpine = null, + this.playButton = null, + this.background = null, + this.preloadText = null, + this.config = null, + this.game.scale.onSizeChange.remove(this.resize, this), + this.game.load.onLoadStart.remove(this.onPreloadStart, this), + this.game.load.onFileComplete.remove(this.onPreloadedFile, this), + this.game.load.onLoadComplete.remove(this.onPreloadEnd, this), + this.game.state.remove(b.Preloader.Name), + this.game.state.remove(b.SplashPreloader.Name), + this.game.state.remove(this.name) + } + , + d + }(Phaser.State); + c.Name = "GameCell", + c.IdealWidth = 860, + c.MaxDots = 3, + b.GameCell = c + }(b = a.SplashScreen || (a.SplashScreen = {})) +}(Fabrique || (Fabrique = {})); +var Fabrique; +!function(a) { + var b; + !function(b) { + var c = function(c) { + function d() { + var a = c.call(this) || this; + return a.name = d.Name, + a.scaleFactor = 1, + a.created = !1, + a.preloadReady = !1, + a.clicked = !1, + a.preloadTexts = ["Loading images", "Loading music", "Loading sound effects", "Calculating Pi"], + a.dotText = ".", + a.tId = 0, + a + } + return __extends(d, c), + d.prototype.init = function(a, b) { + this.config = a, + this.background = b, + this.config.preloadTexts && (this.preloadTexts = this.config.preloadTexts), + this.game.scale.onSizeChange.add(this.resize, this) + } + , + d.prototype.preload = function() { + this.game.add.existing(this.background), + this.createObjects(), + this.scaleFactor = this.getScale(), + this.resizeObjects(), + this.startAnimation(), + this.game.load.onLoadStart.add(this.onPreloadStart, this), + this.game.load.onFileComplete.add(this.onPreloadedFile, this), + this.game.load.onLoadComplete.add(this.onPreloadEnd, this), + this.config.preloadHandler(), + 0 === this.game.load.totalQueuedFiles() && this.onPreloadEnd() + } + , + d.prototype.onPreloadStart = function() { + this.t = Date.now(), + this.preloadText.setText(this.preloadTexts[this.tId]) + } + , + d.prototype.onPreloadedFile = function() { + Date.now() - this.t > 1e3 && (this.t = Date.now(), + this.tId++, + this.tId >= this.preloadTexts.length && (this.tId = 0)), + this.dotText.length >= 3 ? this.dotText = "." : this.dotText += ".", + this.preloadText.setText(this.preloadTexts[this.tId] + this.dotText) + } + , + d.prototype.onPreloadEnd = function() { + this.preloadReady = !0, + this.preloadText.visible = !1, + this.game.input.onUp.add(this.handler, this), + this.animateButton() + } + , + d.prototype.createObjects = function() { + this.twirl = this.game.add.image(this.game.width / 2, this.game.height / 2, "kizi_twist"), + this.twirl.anchor.set(.5), + this.twirl.width = this.twirl.height = this.game.width > this.game.height ? this.game.width : this.game.height, + this.monster = this.game.add.spine(0, 0, "kizi_skeleton"), + this.monster.setAnimationByName(0, "idle", !0), + this.preloadText = this.game.add.text(this.game.width / 2, this.game.height / 2 + 230, "", { + font: "Arial", + fontSize: 40, + fill: "#ffffff", + fontWeight: "bold" + }), + this.preloadText.anchor.set(.5), + this.logo = this.game.add.image(0, 0, "kizi_logo"), + this.logo.anchor.set(.5), + d.IdealWidth = 1.5 * this.logo.getBounds().width, + this.playButton = this.game.add.button(this.game.width / 2, .85 * this.game.height, "kizi_button", this.handler, this, 0, 0, 1, 0), + this.playButton.anchor.set(.5), + this.playButton.scale.set(this.scaleFactor), + this.playButton.visible = !1, + this.created = !0 + } + , + d.prototype.handler = function(a, b) { + console.l0g("--fx--handler--10--",a,b); + if (1==1 || !this.clicked && "mouseout" !== b.type) { + this.clicked = !0, + this.game.tweens.remove(this.buttonTween), + this.game.camera.fade(0, 250); + var c = this.game.add.tween(this.playButton.scale); + c.to({ + x: 0, + y: 0 + }, 250, Phaser.Easing.Back.In).start(), + void 0 !== this.config.mobilePlayClickhandler ? this.config.mobilePlayClickhandler() : this.game.state.start(this.config.nextState), + this.game.input.onUp.remove(this.handler, this) + } + } + , + d.prototype.resizeObjects = function() { + this.created && (this.logo.scale.set(.5 * this.scaleFactor), + this.logo.y = .2 * this.game.height, + this.logo.x = this.game.width / 2, + this.monster.scale.set(this.scaleFactor), + this.monster.autoUpdateTransform(), + this.monster.x = this.game.width / 2, + this.monster.y = this.game.height / 2 + .6 * this.monster.height, + this.preloadText.x = this.game.width / 2, + this.preloadText.y = .85 * this.game.height, + this.preloadText.scale.set(this.scaleFactor), + this.playButton.x = this.game.width / 2, + this.playButton.y = .85 * this.game.height, + this.twirl.position.set(this.game.width / 2, this.game.height / 2)) + } + , + d.prototype.getScale = function() { + return a.Utils.isOnDevice(this.game) ? this.game.width < 1.5 * d.IdealWidth ? this.game.width / 6 * 4 / d.IdealWidth : 1 : this.game.width < this.game.height ? this.game.width / d.IdealWidth : this.game.width / 6 * 3 / d.IdealWidth + } + , + d.prototype.startAnimation = function() { + var a = this.game.add.tween(this.logo.scale); + a.to({ + x: .6 * this.scaleFactor, + y: .6 * this.scaleFactor + }, 100), + a.to({ + x: .75 * this.scaleFactor, + y: .75 * this.scaleFactor + }, 450, Phaser.Easing.Back.InOut), + a.start() + } + , + d.prototype.animateButton = function() { + console.l0g("--fx--animateButton--"); + this.game.state.start(this.config.nextState); + return true; + + // this.game.tweens.remove(this.buttonTween); + // console.trace("--fx--animateButton--"); + return this.config.showPlayButton === !1 ? this.handler(this.game.input.pointer1, new MouseEvent("mousedown")) : (this.game.tweens.remove(this.buttonTween), + this.playButton.scale.set(this.scaleFactor), + this.playButton.visible = !0, + this.buttonTween = this.game.add.tween(this.playButton.scale), + this.buttonTween.to({ + x: 1.14 * this.scaleFactor, + y: 1.14 * this.scaleFactor + }, 420, Phaser.Easing.Quadratic.InOut, !0, 500), + this.buttonTween.yoyo(!0).onComplete.add(this.animateButton, this), + void this.buttonTween.start()) + } + , + d.prototype.update = function() { + this.background.update(), + this.twirl.angle += 5 + } + , + d.prototype.loadUpdate = function() { + this.background.update() + } + , + d.prototype.resize = function() { + this.scaleFactor = this.getScale(), + this.background.resize(this.scaleFactor), + this.resizeObjects(), + this.created && this.preloadReady && this.animateButton() + } + , + d.prototype.shutdown = function() { + c.prototype.shutdown.call(this), + this.logo.destroy(!0), + this.monster.destroy(!0), + this.playButton.destroy(!0), + this.background.destroy(!0), + this.preloadText.destroy(!0), + this.logo = null, + this.monster = null, + this.playButton = null, + this.background = null, + this.preloadText = null, + this.config = null, + this.game.scale.onSizeChange.remove(this.resize, this), + this.game.load.onLoadStart.remove(this.onPreloadStart, this), + this.game.load.onFileComplete.remove(this.onPreloadedFile, this), + this.game.load.onLoadComplete.remove(this.onPreloadEnd, this), + this.game.state.remove(b.Preloader.Name), + this.game.state.remove(b.SplashPreloader.Name), + this.game.state.remove(this.name) + } + , + d + }(Phaser.State); + c.Name = "kiziSplashScreen", + c.IdealWidth = 860, + c.MaxDots = 3, + b.Kizi = c + }(b = a.SplashScreen || (a.SplashScreen = {})) +}(Fabrique || (Fabrique = {})); +var Fabrique; +!function(a) { + var b; + !function(b) { + var c = function(c) { + function d() { + var a = c.call(this) || this; + return a.name = d.Name, + a.scaleFactor = 1, + a.created = !1, + a.preloadReady = !1, + a.clicked = !1, + a.dots = 1, + a.dotText = ".", + a.tId = 0, + a + } + return __extends(d, c), + d.prototype.init = function(a, b) { + this.config = a, + this.background = b, + this.game.scale.onSizeChange.add(this.resize, this) + } + , + d.prototype.preload = function() { + this.game.add.existing(this.background), + this.createObjects(), + this.scaleFactor = this.getScale(), + this.resizeObjects(), + this.startAnimation(), + this.game.load.onLoadStart.add(this.onPreloadStart, this), + this.game.load.onFileComplete.add(this.onPreloadedFile, this), + this.game.load.onLoadComplete.add(this.onPreloadEnd, this), + this.config.preloadHandler(), + 0 === this.game.load.totalQueuedFiles() && this.onPreloadEnd() + } + , + d.prototype.onPreloadStart = function() {} + , + d.prototype.onPreloadedFile = function() {} + , + d.prototype.onPreloadEnd = function() { + this.preloadReady = !0, + this.loadBack.visible = !1, + this.loadBar.visible = !1, + this.game.input.onUp.add(this.handler, this), + this.animateButton() + } + , + d.prototype.createObjects = function() { + this.loadBack = this.game.add.sprite(this.game.width / 2, this.game.height / 2, "loader"), + this.loadBack.anchor.set(.5); + var a = this.game.make.graphics(0, 0); + a.beginFill(16777215, 1).drawRoundedRect(0, 0, 350, 20, 5).endFill(), + this.loadBar = this.game.add.sprite(this.game.width / 2 - 175, this.game.height / 2 - 5, a.generateTexture()), + this.loadBar.anchor.set(0, .5), + this.load.setPreloadSprite(this.loadBar), + this.playButton = this.game.add.button(this.game.width / 2, this.game.height / 2, "fgs_play", this.handler, this, 0, 0, 1, 0), + this.playButton.anchor.set(.5), + this.playButton.scale.set(this.scaleFactor), + this.playButton.visible = !1, + this.created = !0 + } + , + d.prototype.resizeObjects = function() { + this.created && (a.Utils.isOnDevice(this.game) || (this.playButton.x = this.game.width / 2, + this.playButton.y = this.game.height / 2)) + } + , + d.prototype.handler = function(a, b) { + console.l0g("--fx--handler--1--",a,b); + if (!this.clicked && "mouseout" !== b.type) { + this.clicked = !0, + this.game.tweens.remove(this.buttonTween), + this.game.camera.fade(0, 250); + var c = this.game.add.tween(this.playButton.scale); + c.to({ + x: 0, + y: 0 + }, 250, Phaser.Easing.Back.In).start(), + void 0 !== this.config.mobilePlayClickhandler ? this.config.mobilePlayClickhandler() : this.game.state.start(this.config.nextState), + this.game.input.onUp.remove(this.handler, this) + } + } + , + d.prototype.getScale = function() { + return a.Utils.isOnDevice(this.game) ? this.game.width < 1.5 * b.FunnyGames.IdealWidth ? this.game.width / 6 * 4 / b.FunnyGames.IdealWidth : 1 : this.game.width < this.game.height ? this.game.width / 6 * 4 / b.FunnyGames.IdealWidth : this.game.width / 6 * 3 / b.FunnyGames.IdealWidth + } + , + d.prototype.startAnimation = function() {} + , + d.prototype.animateButton = function() { + console.l0g("--fx--animateButton--2--"); + return this.config.showPlayButton === !1 ? this.handler(this.game.input.pointer1, new MouseEvent("mousedown")) : (this.game.tweens.remove(this.buttonTween), + this.playButton.scale.set(this.scaleFactor), + this.playButton.visible = !0, + this.buttonTween = this.game.add.tween(this.playButton.scale), + this.buttonTween.to({ + x: 1.14 * this.scaleFactor, + y: 1.14 * this.scaleFactor + }, 420, Phaser.Easing.Quadratic.InOut, !0, 500), + this.buttonTween.yoyo(!0).onComplete.add(this.animateButton, this), + void this.buttonTween.start()) + } + , + d.prototype.update = function() { + this.background.update() + } + , + d.prototype.loadUpdate = function() { + this.background.update() + } + , + d.prototype.resize = function() { + this.scaleFactor = this.getScale(), + this.background.resize(this.scaleFactor), + this.resizeObjects(), + this.created && this.preloadReady && this.animateButton() + } + , + d.prototype.shutdown = function() { + this.game.scale.onSizeChange.remove(this.resize, this), + this.game.load.onLoadStart.remove(this.onPreloadStart, this), + this.game.load.onFileComplete.remove(this.onPreloadedFile, this), + this.game.load.onLoadComplete.remove(this.onPreloadEnd, this), + this.loadBack.destroy(!0), + this.loadBar.destroy(!0), + this.playButton.destroy(!0), + this.background.destroy(!0), + this.loadBack = null, + this.loadBar = null, + this.playButton = null, + this.background = null, + this.game.state.remove(b.Preloader.Name), + this.game.state.remove(b.SplashPreloader.Name), + this.game.state.remove(this.name) + } + , + d + }(Phaser.State); + c.Name = "neutralSplashScreen", + c.IdealWidth = 463, + c.MaxDots = 3, + b.Neutral = c + }(b = a.SplashScreen || (a.SplashScreen = {})) +}(Fabrique || (Fabrique = {})); +var Fabrique; +!function(a) { + var b; + !function(a) { + var b = function(a) { + function b(b) { + var c = a.call(this, b) || this; + return c.graphic1 = c.create(0, 0, "kizi_atlas_new", "shine2 instance 10000"), + c.graphic1.anchor.setTo(.5), + c.graphic1.angle = 90, + c.graphic2 = c.create(0, 0, "kizi_atlas_new", "shine2 instance 10000"), + c.graphic2.anchor.setTo(.5), + c.graphic3 = c.create(0, 0, "kizi_atlas_new", "shine1 instance 10000"), + c.graphic3.anchor.setTo(.5), + c + } + return __extends(b, a), + b.prototype.start = function(a, b, c, d) { + void 0 === d && (d = !1), + d === !0 && this.parent.setChildIndex(this, this.parent.children.length - 1), + this.x = a, + this.y = b, + this.scale.setTo(c), + this.visible = !0, + this.graphic1.alpha = 0, + this.graphic1.scale.setTo(1, .4), + this.graphic2.alpha = 0, + this.graphic2.scale.setTo(1, .4), + this.graphic3.alpha = 1, + this.graphic3.scale.setTo(0), + this.game.add.tween(this.graphic3.scale).to({ + x: 1, + y: 1 + }, 400, Phaser.Easing.Linear.None, !0).onComplete.addOnce(function() { + this.game.add.tween(this.graphic3.scale).to({ + x: .2, + y: .2 + }, 200, Phaser.Easing.Linear.None, !0), + this.game.add.tween(this.graphic3).to({ + alpha: 0 + }, 200, Phaser.Easing.Linear.None, !0) + }, this), + this.game.add.tween(this.graphic2).to({ + alpha: 1 + }, 200, Phaser.Easing.Linear.None, !0, 200), + this.game.add.tween(this.graphic2.scale).to({ + y: 1.4 + }, 200, Phaser.Easing.Linear.None, !0, 200).onComplete.addOnce(function() { + this.game.add.tween(this.graphic2.scale).to({ + x: .25 + }, 300, Phaser.Easing.Linear.None, !0, 200), + this.game.add.tween(this.graphic2).to({ + alpha: 0 + }, 300, Phaser.Easing.Linear.None, !0, 200) + }, this), + this.game.add.tween(this.graphic1).to({ + alpha: 1 + }, 200, Phaser.Easing.Linear.None, !0, 200), + this.game.add.tween(this.graphic1.scale).to({ + y: 1.4 + }, 200, Phaser.Easing.Linear.None, !0, 200).onComplete.addOnce(function() { + this.game.add.tween(this.graphic1.scale).to({ + x: .25 + }, 300, Phaser.Easing.Linear.None, !0, 400), + this.game.add.tween(this.graphic1).to({ + alpha: 0 + }, 300, Phaser.Easing.Linear.None, !0, 400).onComplete.addOnce(function() { + this.visible = !1 + }, this) + }, this) + } + , + b.prototype.destroy = function() { + a.prototype.destroy.call(this), + this.graphic1 = null, + this.graphic2 = null, + this.graphic3 = null + } + , + b + }(Phaser.Group); + a.Shine = b + }(b = a.SplashScreen || (a.SplashScreen = {})) +}(Fabrique || (Fabrique = {})); +var Fabrique; +!function(a) { + var b; + !function(a) { + var b = function(a) { + function b(b, c, d, e, f, g, h) { + var i = a.call(this, b, c, d, e, f) || this; + return i.state = 0, + i.counter = 0, + i.skewX = 0, + i.skewY = 0, + i._srB = 0, + i._srC = 0, + i._crA = 1, + i._crD = 1, + i._cachedRotX = 0, + i._cachedRotY = 0, + i.onComplete = new Phaser.Signal, + i.tweenDetails = new Array, + i.floor = g, + i.cell = h, + i.updateTransform = function(a) { + if (!a && !this.parent && !this.game) + return this; + var b = this.parent; + a ? b = a : this.parent || (b = this.game.world); + var c, d, e, f, g, h, i = b.worldTransform, j = this.worldTransform, k = this.rotation + this.skewY, l = this.rotation + this.skewX; + if (k % Phaser.Math.PI2 || l % Phaser.Math.PI2 ? (l === this._cachedRotX && k === this._cachedRotY || (this._cachedRotX = l, + this._cachedRotY = k, + this._crA = Math.cos(k), + this._srB = Math.sin(k), + this._srC = Math.sin(-l), + this._crD = Math.cos(l)), + c = this._crA * this.scale.x, + d = this._srB * this.scale.x, + e = this._srC * this.scale.y, + f = this._crD * this.scale.y, + g = this.position.x, + h = this.position.y, + (this.pivot.x || this.pivot.y) && (g -= this.pivot.x * c + this.pivot.y * e, + h -= this.pivot.x * d + this.pivot.y * f), + j.a = c * i.a + d * i.c, + j.b = c * i.b + d * i.d, + j.c = e * i.a + f * i.c, + j.d = e * i.b + f * i.d, + j.tx = g * i.a + h * i.c + i.tx, + j.ty = g * i.b + h * i.d + i.ty) : (c = this.scale.x, + f = this.scale.y, + g = this.position.x - this.pivot.x * c, + h = this.position.y - this.pivot.y * f, + j.a = c * i.a, + j.b = c * i.b, + j.c = f * i.c, + j.d = f * i.d, + j.tx = g * i.a + h * i.c + i.tx, + j.ty = g * i.b + h * i.d + i.ty), + this.worldAlpha = this.alpha * b.worldAlpha, + this.worldPosition.set(j.tx, j.ty), + this.worldScale.set(this.scale.x * Math.sqrt(j.a * j.a + j.c * j.c), this.scale.y * Math.sqrt(j.b * j.b + j.d * j.d)), + this.worldRotation = Math.atan2(-j.c, j.d), + this._currentBounds = null, + this.transformCallback && this.transformCallback.call(this.transformCallbackContext, j, i), + !this._cacheAsBitmap) { + for (var m = 0; m < this.children.length; m++) + this.children[m].updateTransform(); + return this + } + } + , + i + } + return __extends(b, a), + b.prototype.show = function(a) { + this.dir = a, + this.setTween(1, 14, { + scaleX: 1 + }) + } + , + b.prototype.setTween = function(a, b, c) { + if (this.tweenDetails) { + 0 !== this.tweenDetails.length && this.tweenDetails.splice(0, this.tweenDetails.length), + this.state = a; + var d, e; + this.counter = 0, + this.percent = 0, + this.duration = b; + for (var f = 0, g = Object.keys(c); f < g.length; f++) { + var h = g[f]; + d = this[h], + e = c[h], + d !== e && this.tweenDetails.push({ + propertyName: h, + start: d, + change: e - d + }) + } + } + } + , + b.prototype.update = function() { + if (this.tweenDetails && !(this.state <= 0)) { + if (1 === this.state && 3 === this.counter) + this.onComplete.dispatch(this.floor, this.cell, this.dir); + else if (6 === this.state) + return void this.destroy(); + this.counter += 1, + this.percent = this.counter / this.duration; + for (var a = 0; a < this.tweenDetails.length; a++) + this[this.tweenDetails[a].propertyName] = this.tweenDetails[a].start + this.tweenDetails[a].change * this.percent; + this.percent >= 1 && (3 === this.state ? this.setTween(4, 14, { + alpha: 0 + }) : 4 === this.state ? (this.onComplete.dispatch(this.floor, this.cell), + this.destroy()) : 5 === this.state ? (this.onComplete.dispatch(), + this.state = 6) : this.state = 0) + } + } + , + Object.defineProperty(b.prototype, "scaleX", { + get: function() { + return this.scale.x + }, + set: function(a) { + this.scale.x = a + }, + enumerable: !0, + configurable: !0 + }), + Object.defineProperty(b.prototype, "scaleY", { + get: function() { + return this.scale.y + }, + set: function(a) { + this.scale.y = a + }, + enumerable: !0, + configurable: !0 + }), + b.prototype.destroy = function() { + a.prototype.destroy.call(this), + this.onComplete = null, + this.tweenDetails = [], + this.tweenDetails = null + } + , + b + }(Phaser.Sprite); + a.SmallPart = b + }(b = a.SplashScreen || (a.SplashScreen = {})) +}(Fabrique || (Fabrique = {})); +var Fabrique; +!function(a) { + var b; + !function(a) { + var b = function(b) { + function c() { + var a = b.call(this) || this; + return a.name = c.Name, + a.scaleFactor = 1, + a.width = 787, + a.height = 494, + a.created = !1, + a.preloadTexts = [], + a.preloadReady = !1, + a.clicked = !1, + a.tId = 0, + a + } + return __extends(c, b), + c.prototype.init = function(a, b) { + this.config = a, + this.background = b, + this.game.scale.onSizeChange.add(this.resize, this) + } + , + c.prototype.preload = function() { + this.game.add.existing(this.background), + this.scaleFactor = this.getScale(), + this.createObjects(), + this.resizeObjects(), + this.game.load.onLoadStart.add(this.onPreloadStart, this), + this.game.load.onFileComplete.add(this.onPreloadedFile, this), + this.game.load.onLoadComplete.add(this.onPreloadEnd, this), + this.config.preloadHandler(), + 0 === this.game.load.totalQueuedFiles() && this.onPreloadEnd() + } + , + c.prototype.onPreloadStart = function() { + this.t = Date.now() + } + , + c.prototype.onPreloadedFile = function() {} + , + c.prototype.onPreloadEnd = function() { + this.preloadReady = !0, + this.game.input.onUp.add(this.handler, this), + this.animateButton() + } + , + c.prototype.createObjects = function() { + this.spine = this.game.add.spine(this.game.width / 2, this.game.height / 2, "splash_playcell"), + this.spine.setMixByName("intro", "loop", .2), + this.spine.setMixByName("loop", "outro", .2), + this.spine.setAnimationByName(0, "intro", !1), + this.spine.addAnimationByName(0, "loop", !0, 0), + this.logo = this.game.add.sprite(this.game.width / 2, .4 * this.game.height, "playcell_atlas", "logo"), + this.logo.scale.set(this.scaleFactor), + this.logo.anchor.set(.5), + this.logo.visible = !1, + this.playButton = this.game.add.image(this.game.width / 2, this.game.height, "playcell_atlas", "button"), + this.playButton.anchor.set(.5), + this.playButton.scale.set(this.scaleFactor), + this.playButton.y = this.logo.y + .75 * this.logo.height, + this.playButton.inputEnabled = !0, + this.playButton.events.onInputUp.add(this.handler, this), + this.playButton.visible = !1, + this.created = !0 + } + , + c.prototype.resizeObjects = function() { + this.created && (this.logo.position.set(this.game.width / 2, .4 * this.game.height), + this.logo.scale.set(this.scaleFactor), + this.playButton.x = this.game.width / 2, + this.playButton.y = this.logo.y + .75 * this.logo.height) + } + , + c.prototype.handler = function(a, b) { + console.l0g("--fx--handler--2--",a,b); + if (!this.clicked && "mouseout" !== b.type) { + this.clicked = !0, + this.game.tweens.remove(this.buttonTween), + this.game.camera.fade(0, 250); + var c = this.game.add.tween(this.playButton.scale); + c.to({ + x: 0, + y: 0 + }, 250, Phaser.Easing.Back.In).start(), + void 0 !== this.config.mobilePlayClickhandler ? this.config.mobilePlayClickhandler() : this.game.state.start(this.config.nextState), + this.game.input.onUp.remove(this.handler, this) + } + } + , + c.prototype.getScale = function() { + return this.game.width < this.game.height ? this.game.width / 6 * 5 / this.width : this.game.height / 6 * 5 / this.height + } + , + c.prototype.animateButton = function() { + var a = this; + console.l0g("--fx--animateButton--3--"); + return this.config.showPlayButton === !1 ? this.handler(this.game.input.pointer1, new MouseEvent("mousedown")) : (this.resizeObjects(), + this.spine.setAnimationByName(0, "outro", !1), + this.spine.onComplete.add(function() { + a.logo.visible = !0, + a.playButton.visible = !0, + a.buttonTween = a.game.add.tween(a.playButton.scale), + a.buttonTween.to({ + x: 1.14 * a.scaleFactor, + y: 1.14 * a.scaleFactor + }, 420, Phaser.Easing.Quadratic.InOut, !0, 500), + a.buttonTween.yoyo(!0).onComplete.add(a.animateButton, a), + a.buttonTween.start(), + a.spine.visible = !1 + }), + void this.playButton.scale.set(this.scaleFactor)) + } + , + c.prototype.update = function() { + this.background.update() + } + , + c.prototype.loadUpdate = function() { + this.background.update() + } + , + c.prototype.resize = function() { + this.scaleFactor = this.getScale(), + this.background.resize(this.scaleFactor), + this.resizeObjects(), + this.created && this.preloadReady && this.animateButton() + } + , + c.prototype.shutdown = function() { + b.prototype.shutdown.call(this), + this.playButton.destroy(!0), + this.background.destroy(!0), + this.spine.destroy(!0), + this.playButton = null, + this.logo = null, + this.background = null, + this.game.scale.onSizeChange.remove(this.resize, this), + this.game.load.onLoadStart.remove(this.onPreloadStart, this), + this.game.load.onFileComplete.remove(this.onPreloadedFile, this), + this.game.load.onLoadComplete.remove(this.onPreloadEnd, this), + this.game.state.remove(a.Preloader.Name), + this.game.state.remove(a.SplashPreloader.Name), + this.game.state.remove(this.name) + } + , + c + }(Phaser.State); + b.Name = "playCellSplashScreen", + a.PlayCell = b + }(b = a.SplashScreen || (a.SplashScreen = {})) +}(Fabrique || (Fabrique = {})); +var Fabrique; +!function(a) { + var b; + !function(b) { + var c = function(c) { + function d() { + var a = c.call(this) || this; + return a.name = d.Name, + a.scaleFactor = 1, + a.created = !1, + a.preloadReady = !1, + a.clicked = !1, + a.preloadTexts = ["Spelletje wordt geladen"], + a.dotText = ".", + a.tId = 0, + a + } + return __extends(d, c), + d.prototype.init = function(a, b) { + this.config = a, + this.background = b, + this.config.preloadTexts && (this.preloadTexts = this.config.preloadTexts), + this.game.scale.onSizeChange.add(this.resize, this) + } + , + d.prototype.preload = function() { + this.game.add.existing(this.background), + this.createObjects(), + this.scaleFactor = this.getScale(), + this.resizeObjects(), + this.startAnimation(), + this.game.load.onLoadStart.add(this.onPreloadStart, this), + this.game.load.onFileComplete.add(this.onPreloadedFile, this), + this.game.load.onLoadComplete.add(this.onPreloadEnd, this), + this.config.preloadHandler(), + 0 === this.game.load.totalQueuedFiles() && this.onPreloadEnd() + } + , + d.prototype.onPreloadStart = function() { + this.t = Date.now(), + this.preloadText.setText("Spelletje wordt geladen") + } + , + d.prototype.onPreloadedFile = function() { + Date.now() - this.t > 1e3 && (this.t = Date.now(), + this.tId++, + this.tId >= this.preloadTexts.length && (this.tId = 0)), + this.dotText.length >= 3 ? this.dotText = "." : this.dotText += ".", + this.preloadText.setText(this.preloadTexts[this.tId] + this.dotText) + } + , + d.prototype.onPreloadEnd = function() { + this.preloadReady = !0, + this.preloadText.visible = !1, + this.game.input.onUp.add(this.handler, this), + this.animateButton() + } + , + d.prototype.createObjects = function() { + this.twirl = this.game.add.image(this.game.width / 2, this.game.height / 2, "spele_atlas", "spele_bg_pattern"), + this.twirl.anchor.set(.5), + this.twirl.width = this.twirl.height = this.game.width > this.game.height ? this.game.width : this.game.height, + this.jelly = this.game.add.spine(0, 0, "jelly_skeleton"), + this.jelly.setAnimationByName(0, "idle", !0), + this.preloadText = this.game.add.text(this.game.width / 2, this.game.height / 2 + 230, "", { + font: "Arial", + fontSize: 40, + fill: "#ffffff", + fontWeight: "bold" + }), + this.preloadText.anchor.set(.5), + this.logo = this.game.add.image(0, 0, "spele_atlas", "spele_logo"), + this.logo.anchor.set(.5), + d.IdealWidth = 1.5 * this.logo.getBounds().width; + var a = "spele_button"; + this.playButton = this.game.add.button(this.game.width / 2, .85 * this.game.height, "spele_atlas", this.handler, this, a, a, a, a), + this.playButton.anchor.set(.5), + this.playButton.scale.set(this.scaleFactor), + this.playButton.visible = !1, + this.created = !0 + } + , + d.prototype.handler = function(a, b) { + console.l0g("--fx--handler--3--",a,b); + if (!this.clicked && "mouseout" !== b.type) { + this.clicked = !0, + this.game.tweens.remove(this.buttonTween), + this.game.camera.fade(0, 250); + var c = this.game.add.tween(this.playButton.scale); + c.to({ + x: 0, + y: 0 + }, 250, Phaser.Easing.Back.In).start(), + void 0 !== this.config.mobilePlayClickhandler ? this.config.mobilePlayClickhandler() : this.game.state.start(this.config.nextState), + this.game.input.onUp.remove(this.handler, this) + } + } + , + d.prototype.resizeObjects = function() { + this.created && (this.logo.scale.set(.5 * this.scaleFactor), + this.logo.y = .25 * this.game.height, + this.logo.x = this.game.width / 2, + this.jelly.scale.set(.5 * this.scaleFactor), + this.jelly.autoUpdateTransform(), + this.jelly.x = this.game.width / 2, + this.jelly.y = this.game.height / 2 + 1.2 * this.jelly.height, + this.preloadText.x = this.game.width / 2, + this.preloadText.y = .85 * this.game.height, + this.preloadText.scale.set(this.scaleFactor), + this.playButton.x = this.game.width / 2, + this.playButton.y = .84 * this.game.height, + this.twirl.position.set(this.game.width / 2, this.game.height / 2)) + } + , + d.prototype.getScale = function() { + return a.Utils.isOnDevice(this.game) ? this.game.width < 1.5 * d.IdealWidth ? this.game.width / 6 * 4 / d.IdealWidth : 1 : this.game.width < this.game.height ? this.game.width / d.IdealWidth : this.game.width / 6 * 3 / d.IdealWidth + } + , + d.prototype.startAnimation = function() { + var a = this.game.add.tween(this.logo.scale); + a.to({ + x: .6 * this.scaleFactor, + y: .6 * this.scaleFactor + }, 100), + a.to({ + x: .75 * this.scaleFactor, + y: .75 * this.scaleFactor + }, 450, Phaser.Easing.Back.InOut), + a.start() + } + , + d.prototype.animateButton = function() { + console.l0g("--fx--animateButton--4--"); + return this.config.showPlayButton === !1 ? this.handler(this.game.input.pointer1, new MouseEvent("mousedown")) : (this.game.tweens.remove(this.buttonTween), + this.playButton.scale.set(this.scaleFactor), + this.playButton.visible = !0, + this.buttonTween = this.game.add.tween(this.playButton.scale), + this.buttonTween.to({ + x: 1.14 * this.scaleFactor, + y: 1.14 * this.scaleFactor + }, 420, Phaser.Easing.Quadratic.InOut, !0, 500), + this.buttonTween.yoyo(!0).onComplete.add(this.animateButton, this), + void this.buttonTween.start()) + } + , + d.prototype.update = function() { + this.background.update(), + this.twirl.angle += 5 + } + , + d.prototype.loadUpdate = function() { + this.background.update() + } + , + d.prototype.resize = function() { + this.scaleFactor = this.getScale(), + this.background.resize(this.scaleFactor), + this.resizeObjects(), + this.created && this.preloadReady && this.animateButton() + } + , + d.prototype.shutdown = function() { + c.prototype.shutdown.call(this), + this.logo.destroy(!0), + this.jelly.destroy(!0), + this.playButton.destroy(!0), + this.background.destroy(!0), + this.preloadText.destroy(!0), + this.logo = null, + this.jelly = null, + this.playButton = null, + this.background = null, + this.preloadText = null, + this.config = null, + this.game.scale.onSizeChange.remove(this.resize, this), + this.game.load.onLoadStart.remove(this.onPreloadStart, this), + this.game.load.onFileComplete.remove(this.onPreloadedFile, this), + this.game.load.onLoadComplete.remove(this.onPreloadEnd, this), + this.game.state.remove(b.Preloader.Name), + this.game.state.remove(b.SplashPreloader.Name), + this.game.state.remove(this.name) + } + , + d + }(Phaser.State); + c.Name = "speleSplashScreen", + c.IdealWidth = 860, + c.MaxDots = 3, + b.Spele = c + }(b = a.SplashScreen || (a.SplashScreen = {})) +}(Fabrique || (Fabrique = {})); +var Fabrique; +!function(a) { + var b; + !function(b) { + var c = function(c) { + function d() { + var a = c.call(this) || this; + return a.name = d.Name, + a.scaleFactor = 1, + a.created = !1, + a.preloadReady = !1, + a.clicked = !1, + a.dots = 1, + a.dotText = ".", + a.tId = 0, + a + } + return __extends(d, c), + d.prototype.init = function(a, b) { + this.config = a, + this.background = b, + this.game.scale.onSizeChange.add(this.resize, this) + } + , + d.prototype.preload = function() { + this.game.add.existing(this.background), + this.createObjects(), + this.scaleFactor = this.getScale(), + this.resizeObjects(), + this.startAnimation(), + this.game.load.onLoadStart.add(this.onPreloadStart, this), + this.game.load.onFileComplete.add(this.onPreloadedFile, this), + this.game.load.onLoadComplete.add(this.onPreloadEnd, this), + this.config.preloadHandler(), + 0 === this.game.load.totalQueuedFiles() && this.onPreloadEnd() + } + , + d.prototype.onPreloadStart = function() {} + , + d.prototype.onPreloadedFile = function() {} + , + d.prototype.onPreloadEnd = function() { + this.preloadReady = !0, + this.loadBack.visible = !1, + this.loadBar.visible = !1, + this.game.input.onUp.add(this.handler, this), + this.animateButton() + } + , + d.prototype.createObjects = function() { + this.logo = this.game.add.image(0, 0, "logo"), + this.logo.anchor.set(.5), + d.IdealWidth = this.logo.getBounds().width, + this.loadBack = this.game.add.sprite(this.game.width / 2, .75 * this.game.height, "loader"), + this.loadBack.anchor.set(.5); + var a = this.game.make.graphics(0, 0); + a.beginFill(16777215, 1).drawRoundedRect(0, 0, 350, 20, 5).endFill(), + this.loadBar = this.game.add.sprite(this.game.width / 2 - 175, .75 * this.game.height - 5, a.generateTexture()), + this.loadBar.anchor.set(0, .5), + this.load.setPreloadSprite(this.loadBar), + this.playButton = this.game.add.button(this.game.width / 2, .75 * this.game.height, "fgs_play", this.handler, this, 0, 0, 1, 0), + this.playButton.anchor.set(.5), + this.playButton.scale.set(this.scaleFactor), + this.playButton.visible = !1, + this.created = !0 + } + , + d.prototype.resizeObjects = function() { + this.created && (this.logo.scale.set(this.scaleFactor), + this.logo.y = this.game.height / 2, + this.logo.x = this.game.width / 2, + a.Utils.isOnDevice(this.game) || (this.playButton.x = this.game.width / 2, + this.playButton.y = .75 * this.game.height)) + } + , + d.prototype.handler = function(a, b) { + console.l0g("--fx--handler--4--",a,b); + if (!this.clicked && "mouseout" !== b.type) { + this.clicked = !0, + this.game.tweens.remove(this.buttonTween), + this.game.camera.fade(0, 250); + var c = this.game.add.tween(this.playButton.scale); + c.to({ + x: 0, + y: 0 + }, 250, Phaser.Easing.Back.In).start(), + void 0 !== this.config.mobilePlayClickhandler ? this.config.mobilePlayClickhandler() : this.game.state.start(this.config.nextState), + this.game.input.onUp.remove(this.handler, this) + } + } + , + d.prototype.getScale = function() { + return a.Utils.isOnDevice(this.game) ? this.game.width < 1.5 * d.IdealWidth ? this.game.width / 6 * 4 / d.IdealWidth : 1 : this.game.width < this.game.height ? this.game.width / 6 * 4 / d.IdealWidth : this.game.width / 6 * 3 / d.IdealWidth + } + , + d.prototype.startAnimation = function() {} + , + d.prototype.animateButton = function() { + a.Utils.isOnDevice(this.game) || (this.game.tweens.remove(this.buttonTween), + this.playButton.scale.set(this.scaleFactor), + this.playButton.visible = !0, + this.buttonTween = this.game.add.tween(this.playButton.scale), + this.buttonTween.to({ + x: 1.14 * this.scaleFactor, + y: 1.14 * this.scaleFactor + }, 420, Phaser.Easing.Quadratic.InOut, !0, 500), + this.buttonTween.yoyo(!0).onComplete.add(this.animateButton, this), + this.buttonTween.start()) + } + , + d.prototype.update = function() { + this.background.update() + } + , + d.prototype.loadUpdate = function() { + this.background.update() + } + , + d.prototype.resize = function() { + this.scaleFactor = this.getScale(), + this.background.resize(this.scaleFactor), + this.resizeObjects(), + this.created && this.preloadReady && this.animateButton() + } + , + d.prototype.shutdown = function() { + this.game.scale.onSizeChange.remove(this.resize, this), + this.game.load.onLoadStart.remove(this.onPreloadStart, this), + this.game.load.onFileComplete.remove(this.onPreloadedFile, this), + this.game.load.onLoadComplete.remove(this.onPreloadEnd, this), + this.loadBack.destroy(!0), + this.loadBar.destroy(!0), + this.playButton.destroy(!0), + this.background.destroy(!0), + this.loadBack = null, + this.loadBar = null, + this.playButton = null, + this.background = null, + this.game.state.remove(b.Preloader.Name), + this.game.state.remove(b.SplashPreloader.Name), + this.game.state.remove(this.name) + } + , + d + }(Phaser.State); + c.Name = "spilSplashScreen", + c.IdealWidth = 531, + c.MaxDots = 3, + b.Spil = c + }(b = a.SplashScreen || (a.SplashScreen = {})) +}(Fabrique || (Fabrique = {})); +var Fabrique; +!function(a) { + var b; + !function(a) { + var b = function(b) { + function c() { + var a = b.call(this) || this; + return a.name = c.Name, + a.scaleFactor = 1, + a.created = !1, + a.tiles = [], + a.preloadReady = !1, + a.balls = [], + a.clicked = !1, + a.tId = 0, + a.dt = Date.now(), + a.ddt = Date.now(), + a + } + return __extends(c, b), + c.prototype.init = function(a, b) { + this.config = a, + this.background = b, + this.game.scale.onSizeChange.add(this.resize, this), + this.gradientBitmap = this.game.make.bitmapData(this.game.width, this.game.height) + } + , + c.prototype.preload = function() { + this.game.add.existing(this.background), + this.createObjects(), + this.scaleFactor = this.getScale(), + this.resizeObjects(), + this.startAnimation(), + this.game.load.onLoadStart.add(this.onPreloadStart, this), + this.game.load.onFileComplete.add(this.onPreloadedFile, this), + this.game.load.onLoadComplete.add(this.onPreloadEnd, this), + this.config.preloadHandler(), + 0 === this.game.load.totalQueuedFiles() && this.onPreloadEnd() + } + , + c.prototype.onPreloadStart = function() { + this.t = Date.now() + } + , + c.prototype.onPreloadedFile = function() {} + , + c.prototype.onPreloadEnd = function() { + this.preloadReady = !0, + this.animateButton() + } + , + c.prototype.createObjects = function() { + for (var a = 0; a < 70; a++) { + var b = Math.random() < .5 ? "square_empty" : "square_game_" + ("0" + (32 * Math.random() + 1 | 0)).slice(-2) + , c = this.game.add.image(this.game.width / 2 + (80 * (a % 10) - 400), this.game.height / 2 + (80 * Math.floor(a / 10) - 280), "yp_atlas", b + ".png"); + c.alpha = .4, + this.tiles.push(c) + } + this.gradient = this.game.add.sprite(0, 0, this.gradientBitmap), + this.spine = this.game.add.spine(0, 0, "yp_splash"), + this.spine.setMixByName("flyin", "idle", .2), + this.spine.visible = !1, + this.logo = this.game.add.sprite(0, 0, "yp_atlas", "yepi_logo.png"), + this.logo.alignIn(this.world.bounds, Phaser.TOP_CENTER, 0, -20), + this.created = !0; + var d = this.game.make.graphics(0, 0); + d.beginFill(16631558, 1).drawCircle(0, 0, 20).endFill(); + for (var a = 0; a < 3; a++) { + var e = this.game.add.sprite(0, 0, d.generateTexture()); + e.alignIn(this.game.world.bounds, Phaser.BOTTOM_CENTER, -50 + 50 * a, -20), + e.scale.set(0), + e.anchor.set(.5), + this.balls.push(e), + this.game.add.tween(e.scale).to({ + x: 1, + y: 1 + }, 900, "Linear", !0, 300 * a, -1).yoyo(!0).delay(300) + } + } + , + c.prototype.resizeObjects = function() { + var a = this; + if (this.created) { + this.gradientBitmap.resize(this.game.width, this.game.height), + this.gradientBitmap.context.clearRect(0, 0, this.game.width, this.game.height); + var b = this.gradientBitmap.context.createRadialGradient(this.game.width / 2, this.game.height / 2, 0, this.game.width / 2, this.game.height / 2, this.game.height / 1.8); + b.addColorStop(0, "rgba(0, 81, 125, 0)"), + b.addColorStop(1, "rgba(0, 81, 125, 1)"), + this.gradientBitmap.context.fillStyle = b, + this.gradientBitmap.context.fillRect(0, 0, this.game.width, this.game.height), + this.spine.x = this.game.width / 2, + this.spine.y = this.game.height / 2, + this.spine.scale.set(this.scaleFactor), + this.logo.scale.set(this.scaleFactor), + this.logo.alignIn(this.world.bounds, Phaser.TOP_CENTER, 0, -20), + this.tiles.forEach(function(b, c) { + b.x = a.game.width / 2 + (80 * (c % 10) - 400), + b.y = a.game.height / 2 + (80 * Math.floor(c / 10) - 280) + }) + } + } + , + c.prototype.handler = function(a, b) { + console.l0g("--fx--handler--5--",a,b); + this.clicked || "mouseout" === b.type || (this.clicked = !0, + this.game.tweens.remove(this.buttonTween), + this.game.camera.fade(0, 250), + void 0 !== this.config.mobilePlayClickhandler ? this.config.mobilePlayClickhandler() : this.game.state.start(this.config.nextState), + this.game.input.onUp.remove(this.handler, this)) + } + , + c.prototype.getScale = function() { + return this.game.width < this.game.height ? this.game.width / 6 * 4 / a.FunnyGames.IdealWidth : this.game.width / 6 * 3 / a.FunnyGames.IdealWidth + } + , + c.prototype.startAnimation = function() {} + , + c.prototype.animateButton = function() { + console.l0g("--fx--animateButton--5--"); + return this.config.showPlayButton === !1 ? this.handler(this.game.input.pointer1, new MouseEvent("mousedown")) : (this.spine.visible = !0, + this.spine.setAnimationByName(0, "flyin", !1), + this.spine.addAnimationByName(0, "idle", !0, 0), + this.game.tweens.removeAll(), + this.balls.forEach(function(a) { + a.parent.removeChild(a), + a.destroy(!0) + }), + void this.game.input.onUp.add(this.handler, this)) + } + , + c.prototype.update = function() { + var a = Date.now() - this.dt; + a > 200 && (this.tweenRandomItem(), + this.dt = Date.now()) + } + , + c.prototype.loadUpdate = function() { + var a = Date.now() - this.ddt; + a > 200 && (this.ddt = Date.now(), + this.tweenRandomItem()) + } + , + c.prototype.tweenRandomItem = function() { + var a = this.tiles[Math.random() * this.tiles.length | 0]; + this.game.add.tween(a).to({ + alpha: 1 + }, 1e3, Phaser.Easing.Linear.None, !0, 0, 0, !0) + } + , + c.prototype.resize = function() { + this.scaleFactor = this.getScale(), + this.background.resize(this.scaleFactor), + this.resizeObjects() + } + , + c.prototype.shutdown = function() { + b.prototype.shutdown.call(this), + this.spine.destroy(!0), + this.background.destroy(!0), + this.tiles.forEach(function(a) { + a.destroy(!0) + }), + this.gradientBitmap.destroy(), + this.gradient.destroy(!0), + this.logo.destroy(!0), + this.balls.forEach(function(a) { + a.destroy(!0) + }), + this.spine = null, + this.playButton = null, + this.background = null, + this.gradientBitmap = null, + this.gradient = null, + this.logo = null, + this.tiles = null, + this.balls = null, + this.game.scale.onSizeChange.remove(this.resize, this), + this.game.load.onLoadStart.remove(this.onPreloadStart, this), + this.game.load.onFileComplete.remove(this.onPreloadedFile, this), + this.game.load.onLoadComplete.remove(this.onPreloadEnd, this), + this.game.state.remove(a.Preloader.Name), + this.game.state.remove(a.SplashPreloader.Name), + this.game.state.remove(this.name) + } + , + c + }(Phaser.State); + b.Name = "yepiSplashScreen", + b.IdealWidth = 463, + b.MaxDots = 3, + a.Yepi = b + }(b = a.SplashScreen || (a.SplashScreen = {})) +}(Fabrique || (Fabrique = {})); +var Fabrique; +!function(a) { + var b = null + , c = function() { + function a() {} + return a.has = function(a) { + var c = a.lastIndexOf("."); + if (c <= 0 || c >= a.length - 1) + return !1; + var d = a.lastIndexOf(".", c - 1); + if (d <= 0 || d >= c - 1) + return !1; + var e = b[a.slice(c + 1)]; + return !!e && e.indexOf(" " + a.slice(d + 1, c) + " ") >= 0 + } + , + a.is = function(a) { + var c = a.lastIndexOf("."); + if (c <= 0 || c >= a.length - 1) + return !1; + var d = a.lastIndexOf(".", c - 1); + if (d >= 0) + return !1; + var e = b[a.slice(c + 1)]; + return !!e && e.indexOf(" " + a.slice(0, c) + " ") >= 0 + } + , + a.get = function(a) { + var c = a.lastIndexOf("."); + if (c <= 0 || c >= a.length - 1) + return null; + var d = a.lastIndexOf(".", c - 1); + if (d <= 0 || d >= c - 1) + return null; + var e = b[a.slice(c + 1)]; + return e ? e.indexOf(" " + a.slice(d + 1, c) + " ") < 0 ? null : a.slice(d + 1) : null + } + , + a + }() + , d = function() { + function a() {} + return a.setList = function(a) { + b = a || {} + } + , + a.getDomain = function(a) { + if (null === b) + return null; + var c = a.match(/\./g); + if (c && c.length < 2) + return a; + var d = a.length - this.getTld(a).length - 1; + return d = a.lastIndexOf(".", d - 1) + 1, + a.substring(d) || "" + } + , + a.getTld = function(a) { + if (null === b) + return null; + var d = a.lastIndexOf(".") + , e = a.substring(d + 1); + return b[e.toLowerCase()] ? c.get(a) || e : e + } + , + a + }(); + d.KEY = "Domains", + a.Domain = d +}(Fabrique || (Fabrique = {})); +var Fabrique; +!function(a) { + var b = function() { + function b() {} + return b.getSourceSite = function(c) { + void 0 === c && (c = !1); + var d = document.referrer || window.location.host; + if (c && (d = window.location.host), + d.indexOf("embed.gamedistribution.com") !== -1 && window.location.search.indexOf("gd_sdk_referrer_url") !== -1 && (d = b.getUrlParameter("gd_sdk_referrer_url") || d), + d = decodeURIComponent(d), + a.Branding.isBild()) + return "bildspielt.de"; + if (a.Branding.isBip()) + return "bipgaming.com"; + a.Branding.isSpil() && (d = b.getReferrer(d)), + d = d.indexOf("://") > -1 ? d.split("/")[2] : d.split("/")[0], + d = d.split(":")[0]; + var e = a.Domain.getDomain(d); + return null !== e ? e : (3 === d.split(".").length && (d = d.substr(d.indexOf(".") + 1)), + d) + } + , + b.getBrandingDomain = function() { + if (window.hasOwnProperty("fbrqBD") && window.fbrqBD in a.BrandingDomain) + return window.fbrqBD; + if (a.SplashScreen.Preloader.SPLASH_OVERRIDE !== !1) + return a.SplashScreen.Preloader.SPLASH_OVERRIDE; + var c = b.getSourceSite(); + if (a.Branding.isAdmeen()) + return a.BrandingDomain.Admeen; + if (a.Branding.isPlaycellApp() || a.Branding.isBip()) + return a.BrandingDomain.PlayCell; + switch (c) { + case "spele.nl": + return a.BrandingDomain.Spele; + case "yepi.com": + return a.BrandingDomain.Yepi; + case "oyunskor.com": + case "barbioyunu.com.tr": + case "bebekoyunu.com.tr": + case "oyunkolu.com": + case "oyungemisi.com": + case "oyunlar1.com": + case "oyunkuzusu.com": + case "kraloyun.com": + case "rekoroyun.com": + case "oyundedem.com": + case "oyunoyna.com": + case "pastaoyunu.com.tr": + case "playcell.com": + return a.BrandingDomain.PlayCell; + case "gamecell.com": + return a.BrandingDomain.GameCell; + case "playxl.com": + return a.BrandingDomain.Admeen; + default: + case "kizi.com": + return a.BrandingDomain.Kizi; + case "bildspielt.de": + return a.BrandingDomain.Bild; + case "funnygames.nl": + return a.BrandingDomain.Funnygames + } + } + , + b.getReferrer = function(a) { + return a.indexOf("?ref=") !== -1 ? a.substr(a.indexOf("?ref=") + 5) : a + } + , + b.inIframe = function() { + try { + return window.self !== window.top + } catch (a) { + return !0 + } + } + , + b.getDomain = function(a) { + var b = document.createElement("a"); + return b.href = a, + b.origin + } + , + b.isOnDevice = function(a) { + return !(!a.device.cordova && !a.device.crosswalk) && !/(gamedistribution\.com)/.test(window.location.hostname) + } + , + b.isTc = function() { + return /(teamcity\.ds\.orangegames\.com)/.test(window.location.host) + } + , + b.getRandomRange = function(a, b) { + return Math.random() * (b - a) + a | 0 + } + , + b.getUrlParameter = function(a) { + a = a.replace(/[\[]/, "\\[").replace(/[\]]/, "\\]"); + var b = new RegExp("[\\?&]" + a + "=([^]*)") + , c = b.exec(location.search); + return null === c ? "" : decodeURIComponent(c[1].replace(/\+/g, " ")) + } + , + b.intTimeToString = function(a) { + var b = Math.floor(a / 3600) + , c = Math.floor(a % 3600 / 60) + , d = a % 60 + , e = b < 10 ? "0" + b : b.toString() + , f = c < 10 ? "0" + c : c.toString() + , g = d < 10 ? "0" + d : d.toString(); + return e + ":" + f + ":" + g + } + , + b.registerAudioUnlocker = function(a) { + a.input.touch && "function" != typeof a.input.touch.addTouchLockCallback || a.device.android && a.device.chrome && a.device.chromeVersion >= 55 && (a.sound.touchLocked = !0, + a.input.touch.addTouchLockCallback(function() { + if (this.noAudio || !this.touchLocked || null !== this._unlockSource) + return !0; + if (this.usingWebAudio) { + var a = this.context.createBuffer(1, 1, 22050); + this._unlockSource = this.context.createBufferSource(), + this._unlockSource.buffer = a, + this._unlockSource.connect(this.context.destination), + void 0 === this._unlockSource.start ? this._unlockSource.noteOn(0) : this._unlockSource.start(0), + "suspended" === this._unlockSource.context.state && this._unlockSource.context.resume() + } + return !0 + }, a.sound, !0)) + } + , + b + }(); + b.ASSET_LOCATION = "patch/cdn/kizi/", + a.Utils = b +}(Fabrique || (Fabrique = {})); +var CryptoJS = CryptoJS || function(a, b) { + var c = {} + , d = c.lib = {} + , e = function() {} + , f = d.Base = { + extend: function(a) { + e.prototype = this; + var b = new e; + return a && b.mixIn(a), + b.hasOwnProperty("init") || (b.init = function() { + b.$super.init.apply(this, arguments) + } + ), + b.init.prototype = b, + b.$super = this, + b + }, + create: function() { + var a = this.extend(); + return a.init.apply(a, arguments), + a + }, + init: function() {}, + mixIn: function(a) { + for (var b in a) + a.hasOwnProperty(b) && (this[b] = a[b]); + a.hasOwnProperty("toString") && (this.toString = a.toString) + }, + clone: function() { + return this.init.prototype.extend(this) + } + } + , g = d.WordArray = f.extend({ + init: function(a, c) { + a = this.words = a || [], + this.sigBytes = c != b ? c : 4 * a.length + }, + toString: function(a) { + return (a || i).stringify(this) + }, + concat: function(a) { + var b = this.words + , c = a.words + , d = this.sigBytes; + if (a = a.sigBytes, + this.clamp(), + d % 4) + for (var e = 0; e < a; e++) + b[d + e >>> 2] |= (c[e >>> 2] >>> 24 - e % 4 * 8 & 255) << 24 - (d + e) % 4 * 8; + else if (65535 < c.length) + for (e = 0; e < a; e += 4) + b[d + e >>> 2] = c[e >>> 2]; + else + b.push.apply(b, c); + return this.sigBytes += a, + this + }, + clamp: function() { + var b = this.words + , c = this.sigBytes; + b[c >>> 2] &= 4294967295 << 32 - c % 4 * 8, + b.length = a.ceil(c / 4) + }, + clone: function() { + var a = f.clone.call(this); + return a.words = this.words.slice(0), + a + }, + random: function(b) { + for (var c = [], d = 0; d < b; d += 4) + c.push(4294967296 * a.random() | 0); + return new g.init(c,b) + } + }) + , h = c.enc = {} + , i = h.Hex = { + stringify: function(a) { + var b = a.words; + a = a.sigBytes; + for (var c = [], d = 0; d < a; d++) { + var e = b[d >>> 2] >>> 24 - d % 4 * 8 & 255; + c.push((e >>> 4).toString(16)), + c.push((15 & e).toString(16)) + } + return c.join("") + }, + parse: function(a) { + for (var b = a.length, c = [], d = 0; d < b; d += 2) + c[d >>> 3] |= parseInt(a.substr(d, 2), 16) << 24 - d % 8 * 4; + return new g.init(c,b / 2) + } + } + , j = h.Latin1 = { + stringify: function(a) { + var b = a.words; + a = a.sigBytes; + for (var c = [], d = 0; d < a; d++) + c.push(String.fromCharCode(b[d >>> 2] >>> 24 - d % 4 * 8 & 255)); + return c.join("") + }, + parse: function(a) { + for (var b = a.length, c = [], d = 0; d < b; d++) + c[d >>> 2] |= (255 & a.charCodeAt(d)) << 24 - d % 4 * 8; + return new g.init(c,b) + } + } + , k = h.Utf8 = { + stringify: function(a) { + try { + return decodeURIComponent(escape(j.stringify(a))) + } catch (a) { + throw Error("Malformed UTF-8 data") + } + }, + parse: function(a) { + return j.parse(unescape(encodeURIComponent(a))) + } + } + , l = d.BufferedBlockAlgorithm = f.extend({ + reset: function() { + this._data = new g.init, + this._nDataBytes = 0 + }, + _append: function(a) { + "string" == typeof a && (a = k.parse(a)), + this._data.concat(a), + this._nDataBytes += a.sigBytes + }, + _process: function(b) { + var c = this._data + , d = c.words + , e = c.sigBytes + , f = this.blockSize + , h = e / (4 * f) + , h = b ? a.ceil(h) : a.max((0 | h) - this._minBufferSize, 0); + if (b = h * f, + e = a.min(4 * b, e), + b) { + for (var i = 0; i < b; i += f) + this._doProcessBlock(d, i); + i = d.splice(0, b), + c.sigBytes -= e + } + return new g.init(i,e) + }, + clone: function() { + var a = f.clone.call(this); + return a._data = this._data.clone(), + a + }, + _minBufferSize: 0 + }); + d.Hasher = l.extend({ + cfg: f.extend(), + init: function(a) { + this.cfg = this.cfg.extend(a), + this.reset() + }, + reset: function() { + l.reset.call(this), + this._doReset() + }, + update: function(a) { + return this._append(a), + this._process(), + this + }, + finalize: function(a) { + return a && this._append(a), + this._doFinalize() + }, + blockSize: 16, + _createHelper: function(a) { + return function(b, c) { + return new a.init(c).finalize(b) + } + }, + _createHmacHelper: function(a) { + return function(b, c) { + return new m.HMAC.init(a,c).finalize(b) + } + } + }); + var m = c.algo = {}; + return c +}(Math); +!function(a) { + for (var b = CryptoJS, c = b.lib, d = c.WordArray, e = c.Hasher, c = b.algo, f = [], g = [], h = function(a) { + return 4294967296 * (a - (0 | a)) | 0 + }, i = 2, j = 0; 64 > j; ) { + var k; + a: { + k = i; + for (var l = a.sqrt(k), m = 2; m <= l; m++) + if (!(k % m)) { + k = !1; + break a + } + k = !0 + } + k && (8 > j && (f[j] = h(a.pow(i, .5))), + g[j] = h(a.pow(i, 1 / 3)), + j++), + i++ + } + var n = [] + , c = c.SHA256 = e.extend({ + _doReset: function() { + this._hash = new d.init(f.slice(0)) + }, + _doProcessBlock: function(a, b) { + for (var c = this._hash.words, d = c[0], e = c[1], f = c[2], h = c[3], i = c[4], j = c[5], k = c[6], l = c[7], m = 0; 64 > m; m++) { + if (16 > m) + n[m] = 0 | a[b + m]; + else { + var o = n[m - 15] + , p = n[m - 2]; + n[m] = ((o << 25 | o >>> 7) ^ (o << 14 | o >>> 18) ^ o >>> 3) + n[m - 7] + ((p << 15 | p >>> 17) ^ (p << 13 | p >>> 19) ^ p >>> 10) + n[m - 16] + } + o = l + ((i << 26 | i >>> 6) ^ (i << 21 | i >>> 11) ^ (i << 7 | i >>> 25)) + (i & j ^ ~i & k) + g[m] + n[m], + p = ((d << 30 | d >>> 2) ^ (d << 19 | d >>> 13) ^ (d << 10 | d >>> 22)) + (d & e ^ d & f ^ e & f), + l = k, + k = j, + j = i, + i = h + o | 0, + h = f, + f = e, + e = d, + d = o + p | 0 + } + c[0] = c[0] + d | 0, + c[1] = c[1] + e | 0, + c[2] = c[2] + f | 0, + c[3] = c[3] + h | 0, + c[4] = c[4] + i | 0, + c[5] = c[5] + j | 0, + c[6] = c[6] + k | 0, + c[7] = c[7] + l | 0 + }, + _doFinalize: function() { + var b = this._data + , c = b.words + , d = 8 * this._nDataBytes + , e = 8 * b.sigBytes; + return c[e >>> 5] |= 128 << 24 - e % 32, + c[14 + (e + 64 >>> 9 << 4)] = a.floor(d / 4294967296), + c[15 + (e + 64 >>> 9 << 4)] = d, + b.sigBytes = 4 * c.length, + this._process(), + this._hash + }, + clone: function() { + var a = e.clone.call(this); + return a._hash = this._hash.clone(), + a + } + }); + b.SHA256 = e._createHelper(c), + b.HmacSHA256 = e._createHmacHelper(c) +}(Math), +function() { + var a = CryptoJS + , b = a.enc.Utf8; + a.algo.HMAC = a.lib.Base.extend({ + init: function(a, c) { + a = this._hasher = new a.init, + "string" == typeof c && (c = b.parse(c)); + var d = a.blockSize + , e = 4 * d; + c.sigBytes > e && (c = a.finalize(c)), + c.clamp(); + for (var f = this._oKey = c.clone(), g = this._iKey = c.clone(), h = f.words, i = g.words, j = 0; j < d; j++) + h[j] ^= 1549556828, + i[j] ^= 909522486; + f.sigBytes = g.sigBytes = e, + this.reset() + }, + reset: function() { + var a = this._hasher; + a.reset(), + a.update(this._iKey) + }, + update: function(a) { + return this._hasher.update(a), + this + }, + finalize: function(a) { + var b = this._hasher; + return a = b.finalize(a), + b.reset(), + b.finalize(this._oKey.clone().concat(a)) + } + }) +}(), +function() { + var a = CryptoJS + , b = a.lib.WordArray; + a.enc.Base64 = { + stringify: function(a) { + var b = a.words + , c = a.sigBytes + , d = this._map; + a.clamp(), + a = []; + for (var e = 0; e < c; e += 3) + for (var f = (b[e >>> 2] >>> 24 - e % 4 * 8 & 255) << 16 | (b[e + 1 >>> 2] >>> 24 - (e + 1) % 4 * 8 & 255) << 8 | b[e + 2 >>> 2] >>> 24 - (e + 2) % 4 * 8 & 255, g = 0; 4 > g && e + .75 * g < c; g++) + a.push(d.charAt(f >>> 6 * (3 - g) & 63)); + if (b = d.charAt(64)) + for (; a.length % 4; ) + a.push(b); + return a.join("") + }, + parse: function(a) { + var c = a.length + , d = this._map + , e = d.charAt(64); + e && -1 != (e = a.indexOf(e)) && (c = e); + for (var e = [], f = 0, g = 0; g < c; g++) + if (g % 4) { + var h = d.indexOf(a.charAt(g - 1)) << g % 4 * 2 + , i = d.indexOf(a.charAt(g)) >>> 6 - g % 4 * 2; + e[f >>> 2] |= (h | i) << 24 - f % 4 * 8, + f++ + } + return b.create(e, f) + }, + _map: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=" + } +}(); +var GA; +!function(a) { + !function(a) { + a[a.ios = 0] = "ios", + a[a.android = 1] = "android", + a[a.windows = 2] = "windows", + a[a.windows_phone = 3] = "windows_phone", + a[a.blackberry = 4] = "blackberry", + a[a.roku = 5] = "roku", + a[a.tizen = 6] = "tizen", + a[a.nacl = 7] = "nacl", + a[a.mac_osx = 8] = "mac_osx", + a[a.webplayer = 9] = "webplayer" + }(a.Platform || (a.Platform = {})), + a.Platform, + function(a) { + a[a.male = 0] = "male", + a[a.female = 1] = "female" + }(a.Gender || (a.Gender = {})), + a.Gender +}(GA || (GA = {})); +var GA; +!function(a) { + !function(a) { + var b = /^[A-Za-z0-9\\s\\-_\\.\\(\\)\\!\\?]{1,64}:[A-Za-z0-9\\s\\-_\\.\\(\\)\\!\\?]{1,64}$/ + , c = function() { + function a(a, c, d, e, f, g) { + if (this.category = 1, + this.transaction_num = 0, + !a || null === a.match(b)) + throw new Error("Invalid event_id supplied for BusinessEvent"); + if (this.event_id = a, + this.amount = c, + !d || null === d.match(/^[A-Z]{3}$/)) + throw new Error("Invalid currency supplied for BusinessEvent"); + if (this.currency = d, + this.transaction_num = e, + f) { + if (f.length > 32) + throw new Error("A too long cart_type was supplied, should be max 32 characters"); + this.cart_type = f + } + void 0 !== g && (this.receipt_info = g) + } + return a + }(); + a.Business = c + }(a.Events || (a.Events = {})) +}(GA || (GA = {})); +var GA; +!function(a) { + !function(a) { + var b = /^[A-Za-z0-9\\s\\-_\\.\\(\\)\\!\\?]{1,64}(:[A-Za-z0-9\\s\\-_\\.\\(\\)\\!\\?]{1,64}){0,4}$/ + , c = function() { + function a(a, c) { + if (this.category = 0, + null === a.match(b)) + throw new Error("Invalid event_id supplied for DesignEvent"); + this.event_id = a, + void 0 !== c && (this.value = c) + } + return a + }(); + a.Design = c + }(a.Events || (a.Events = {})) +}(GA || (GA = {})); +var GA; +!function(a) { + !function(a) { + !function(a) { + a[a.design = 0] = "design", + a[a.business = 1] = "business", + a[a.error = 2] = "error", + a[a.user = 3] = "user", + a[a.session_end = 4] = "session_end", + a[a.progression = 5] = "progression", + a[a.resource = 6] = "resource" + }(a.Category || (a.Category = {})), + a.Category + }(a.Events || (a.Events = {})) +}(GA || (GA = {})); +var GA; +!function(a) { + !function(a) { + !function(a) { + a[a.debug = 0] = "debug", + a[a.info = 1] = "info", + a[a.warning = 2] = "warning", + a[a.error = 3] = "error", + a[a.critical = 4] = "critical" + }(a.ErrorSeverity || (a.ErrorSeverity = {})); + var b = a.ErrorSeverity + , c = function() { + function a(a, c) { + this.category = 2, + this.message = "", + this.severity = b[a], + void 0 !== c && (this.message = c.substr(0, 8192)) + } + return a + }(); + a.Exception = c + }(a.Events || (a.Events = {})) +}(GA || (GA = {})); +var GA; +!function(a) { + !function(a) { + var b = function() { + function a() {} + return a + }(); + a.InitResponse = b; + var c = function() { + function a(a) { + this.data = a + } + return a.prototype.toString = function() { + return JSON.stringify(this.data) + } + , + a + }(); + a.Init = c + }(a.Events || (a.Events = {})) +}(GA || (GA = {})); +var GA; +!function(a) { + !function(a) { + var b = /^(Start|Fail|Complete):[A-Za-z0-9\\s\\-_\\.\\(\\)\\!\\?]{1,64}(:[A-Za-z0-9\\s\\-_\\.\\(\\)\\!\\?]{1,64}){0,2}$/ + , c = function() { + function a(a, c, d) { + if (this.category = 5, + null === a.match(b)) + throw new Error("Invalid event_id supplied for ProgressionEvent"); + this.event_id = a, + void 0 !== c && (this.attempt_num = c), + void 0 !== d && (this.score = d) + } + return a + }(); + a.Progression = c + }(a.Events || (a.Events = {})) +}(GA || (GA = {})); +var GA; +!function(a) { + !function(a) { + var b = /^(Sink|Source):[A-Za-z]{1,64}:[A-Za-z0-9\\s\\-_\\.\\(\\)\\!\\?]{1,64}:[A-Za-z0-9\\s\\-_\\.\\(\\)\\!\\?]{1,64}/ + , c = function() { + function a(a, c) { + if (this.category = 6, + null === a.match(b)) + throw new Error("Invalid event_id supplied for ResourceEvent"); + this.event_id = a, + this.amount = c + } + return a + }(); + a.Resource = c + }(a.Events || (a.Events = {})) +}(GA || (GA = {})); +var GA; +!function(a) { + !function(a) { + var b = function() { + function a(a) { + this.category = 4, + this.length = 0, + this.length = a + } + return a + }(); + a.SessionEnd = b + }(a.Events || (a.Events = {})) +}(GA || (GA = {})); +var GA; +!function(a) { + !function(a) { + var b = function() { + function a() { + this.category = 3 + } + return a + }(); + a.User = b + }(a.Events || (a.Events = {})) +}(GA || (GA = {})); +var GA; +!function(a) { + function b() { + return null === c.instance && (c.instance = new c), + c.instance + } + a.getInstance = b; + var c = function() { + function b() { + this.sessionId = a.Utils.createUniqueId(), + this.messageQueue = new a.Utils.MessageQueue, + this.enabled = !1, + this.initProcessed = !1, + this.timeoutId = 0, + this.timeOffset = 0 + } + return b.prototype.init = function(c, d, e, f) { + var g = this; + if (null === b.instance) + throw new Error("No instance Available!"); + this.gameKey = c, + this.secretKey = d, + this.build = e, + this.user = f, + this.incrementSessionNum(f); + var h = new a.Events.Init(a.Utils.getBaseAnnotations()); + return this.sendEvent(h.toString(), "init", function(a) { + g.initProcessed = !0, + !0 === a.enabled && (g.enabled = !0, + g.timeOffset = (Date.now() / 1e3 | 0) - a.server_ts) + }), + this.scheduleSendData(b.SCHEDULE_TIME), + window.addEventListener("beforeunload", function() { + g.sendData() + }), + this + } + , + b.prototype.incrementSessionNum = function(b) { + var c = a.Utils.LocalStorage.getItem(b.user_id); + c ? a.Utils.LocalStorage.setItem(b.user_id, (parseInt(c) + 1).toString()) : (c = "1", + a.Utils.LocalStorage.setItem(b.user_id, c)) + } + , + b.prototype.addEvent = function(c) { + if (null === b.instance) + throw new Error("No instance Available!"); + var d = new a.Utils.Message(c,a.Utils.getDefaultAnnotations(this.user, this.sessionId, this.build, this.timeOffset)); + return this.messageQueue.push(d), + this + } + , + b.prototype.sendData = function() { + if (!1 === this.initProcessed) + return this.scheduleSendData(1e3), + this; + if (!1 === this.enabled) + return this; + if (null === b.instance) + throw new Error("No instance Available!"); + for (var a = [], c = ""; this.messageQueue.length > 0; ) { + var d = this.messageQueue.pop(); + a.push(d.data) + } + if (0 === a.length) + return this.scheduleSendData(b.SCHEDULE_TIME), + this; + try { + c = JSON.stringify(a) + } catch (a) {} + return this.sendEvent(c, "events"), + this.scheduleSendData(b.SCHEDULE_TIME), + this + } + , + b.prototype.scheduleSendData = function(a) { + var b = this; + clearTimeout(this.timeoutId), + this.timeoutId = setTimeout(function() { + b.sendData() + }, a) + } + , + b.prototype.sendEvent = function(c, d, e) { + if (void 0 === e && (e = null), + null === b.instance && null === this.gameKey) + throw new Error("No instance Available!"); + if (!(c.length < 1)) { + var f = CryptoJS.HmacSHA256(c, this.secretKey) + , g = CryptoJS.enc.Base64.stringify(f) + , h = b.API_URL + this.gameKey + "/" + d; + a.Utils.postRequest(h, c, g, function(a) { + if (!1 === a.success && window.console && console.log(a.message), + null != e) { + var b = ""; + try { + b = JSON.parse(a.message) + } catch (a) {} + e(b) + } + }) + } + } + , + b.SCHEDULE_TIME = 15e3, + b.SDK_VERSION = "rest api v2", + b.API_URL = "patch/json/null.json?" + ("https:" === document.location.protocol ? "https" : "http") + "://api.gameanalytics.com/v2/", + b.instance = null, + b + }(); + a.GameAnalytics = c +}(GA || (GA = {})); +var GA; +!function(a) { + var b = function() { + function b(b, c, d, e) { + if (this.user_id = "", + b) + this.user_id = b; + else { + var f = a.Utils.LocalStorage.getItem("user"); + this.user_id = f || a.Utils.createUniqueUserId() + } + c && c.length > 0 && (this.facebook_id = c, + this.user_id = c), + a.Utils.LocalStorage.setItem("user", this.user_id), + 1 !== d && 0 !== d || (this.gender = d), + e && e.toString().match(/^[0-9]{4}$/gi) && (this.birth_year = e) + } + return b + }(); + a.User = b +}(GA || (GA = {})); +var GA; +!function(a) { + !function(b) { + function c(b, c, d, f) { + var g = { + sdk_version: a.GameAnalytics.SDK_VERSION, + platform: a.Platform[2], + os_version: a.Platform[2] + " 8", + device: "unknown", + v: 2, + user_id: b.user_id, + client_ts: (Date.now() / 1e3 | 0) + f, + manufacturer: "unknown", + session_id: c, + session_num: e(b.user_id), + build: d + }; + b.facebook_id && (g.facebook_id = b.facebook_id), + 0 !== b.gender && 1 !== b.gender || (g.gender = a.Gender[b.gender]), + b.birth_year && (g.birth_year = b.birth_year); + var h = navigator.userAgent; + return h.match(/iPad|iPod|iPhone/i) ? (g.platform = a.Platform[0], + g.device = h.match(/iPad|iPod|iPhone/i)[0], + g.manufacturer = "Apple", + g.os_version = a.Platform[0] + " " + h.match(/OS (\b[0-9]+_[0-9]+(?:_[0-9]+)?\b)/)[1].replace(/_/gi, ".")) : h.match(/Android/i) ? (g.platform = a.Platform[1], + g.device = h.match(/Mobile/i) ? "Phone" : "Tablet", + g.os_version = a.Platform[1], + /Firefox/i.test(h) || (g.os_version += " " + h.match(/Android (\d+(?:\.\d+)*);/)[1])) : h.match(/Windows Phone/i) && (g.platform = a.Platform[2], + g.device = "Windows Phone", + g.os_version = a.Platform[2] + " " + h.match(/Phone (\d+(?:\.\d+)+);/)[1]), + g + } + function d() { + var b = { + sdk_version: a.GameAnalytics.SDK_VERSION, + platform: "unknown", + os_version: "unknown" + } + , c = navigator.userAgent; + return c.match(/iPad|iPod|iPhone/i) ? (b.platform = a.Platform[0], + b.os_version = a.Platform[0] + " " + c.match(/OS (\b[0-9]+_[0-9]+(?:_[0-9]+)?\b)/)[1].replace(/_/gi, ".")) : c.match(/Android/i) ? (b.platform = a.Platform[1], + b.os_version = a.Platform[1], + /Firefox/i.test(c) || (b.os_version += " " + c.match(/Android (\d+(?:\.\d+)*);/)[1])) : c.match(/Windows Phone/i) && (b.platform = a.Platform[2], + b.os_version = a.Platform[2] + " " + c.match(/Phone (\d+(?:\.\d+)+);/)[1]), + b + } + function e(a) { + var c = b.LocalStorage.getItem(a); + return c ? parseInt(c) : 1 + } + b.getDefaultAnnotations = c, + b.getBaseAnnotations = d + }(a.Utils || (a.Utils = {})) +}(GA || (GA = {})); +var GA; +!function(a) { + !function(a) { + var b = function() { + function a() {} + return a.getItem = function(b) { + if (a.Available) + return localStorage.getItem(a.CacheKey + b) + } + , + a.setItem = function(b, c) { + a.Available && localStorage.setItem(a.CacheKey + b, c) + } + , + a.Available = !1, + a.CacheKey = "GA:", + a + }(); + a.LocalStorage = b; + try { + "object" == typeof localStorage && (localStorage.setItem("testingLocalStorage", "yes"), + localStorage.removeItem("testingLocalStorage"), + b.Available = !0) + } catch (a) {} + }(a.Utils || (a.Utils = {})) +}(GA || (GA = {})); +var GA; +!function(a) { + !function(b) { + var c = function() { + function b(a, b) { + this.event = a, + this.annotations = b + } + return Object.defineProperty(b.prototype, "data", { + get: function() { + for (var b in this.event) + this.event.hasOwnProperty(b) && (this.annotations[b] = "category" === b ? a.Events.Category[this.event[b]] : this.event[b]); + return this.annotations + }, + enumerable: !0, + configurable: !0 + }), + b + }(); + b.Message = c + }(a.Utils || (a.Utils = {})) +}(GA || (GA = {})); +var GA; +!function(a) { + !function(a) { + var b = function() { + function a() { + this.queue = [], + this.load() + } + return a.prototype.push = function(a) { + this.queue.push(a) + } + , + a.prototype.pop = function() { + return this.queue.pop() + } + , + Object.defineProperty(a.prototype, "length", { + get: function() { + return this.queue.length + }, + enumerable: !0, + configurable: !0 + }), + a.prototype.save = function() {} + , + a.prototype.load = function() {} + , + a + }(); + a.MessageQueue = b + }(a.Utils || (a.Utils = {})) +}(GA || (GA = {})); +var GA; +!function(a) { + !function(a) { + function b(a, b, c, d) { + var e; + if (!window.XMLHttpRequest) + return void d({ + success: !1, + message: "Error: Unable to send request, XMLHttpRequest not supported" + }); + e = new XMLHttpRequest, + e.onreadystatechange = function() { + 4 == e.readyState && (200 === e.status ? d({ + success: !0, + message: e.responseText + }) : e.status > 0 && d({ + success: !1, + message: "Error: There was a problem with the request: status " + e.status + })) + } + ; + try { + e.open("POST", a, !0), + e.setRequestHeader("Authorization", c), + e.setRequestHeader("Content-Type", "application/json"), + e.send(b) + } catch (a) { + d({ + success: !1, + message: "Error: Unable to send request, CORS not allowed." + }) + } + } + var c = function() { + function a() { + this.success = !1, + this.message = "" + } + return a + }(); + a.Response = c, + a.postRequest = b + }(a.Utils || (a.Utils = {})) +}(GA || (GA = {})); +var GA; +!function(a) { + !function(a) { + function b() { + return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function(a) { + var b = 16 * Math.random() | 0; + return ("x" == a ? b : 3 & b | 8).toString(16) + }) + } + function c() { + return b() + } + a.createUniqueId = b, + a.createUniqueUserId = c + }(a.Utils || (a.Utils = {})) +}(GA || (GA = {})); diff --git a/vex8/patch/cdn/kizi/splash.min.js b/vex8/patch/cdn/kizi/splash.min.js new file mode 100644 index 000000000..76a51f2b8 --- /dev/null +++ b/vex8/patch/cdn/kizi/splash.min.js @@ -0,0 +1,12 @@ +/*! + * splash - version 3.5.47 + * This is the Splash Screen for Orange Games + * + * OrangeGames + * Build at 30-01-2019 + */ + +function addScript(a,b,c){var d=document.createElement("script");d.setAttribute("src",a+"?v="+b),"function"==typeof c&&(d.onload=c),document.body.appendChild(d)}var __extends=this&&this.__extends||function(){var a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c])};return function(b,c){function d(){this.constructor=b}a(b,c),b.prototype=null===c?Object.create(c):(d.prototype=c.prototype,new d)}}(),Fabrique;!function(a){var b;!function(a){var b=function(a){function b(b,c){var d=a.call(this,b,null,"splash-background")||this;return d.back=d.game.make.graphics(0,0),d.add(d.back),d.resize(c),d}return __extends(b,a),b.prototype.resize=function(a){var b=this.game.width<1?1:this.game.width,c=this.game.height<1?1:this.game.height;this.back.clear().beginFill(4351922).drawRect(0,0,b,c)},b.prototype.destroy=function(b){a.prototype.destroy.call(this,b),this.back.destroy(!0),this.back=null},b}(Phaser.Group);a.Admeen=b}(b=a.SplashScreenBackgrounds||(a.SplashScreenBackgrounds={}))}(Fabrique||(Fabrique={}));var Fabrique;!function(a){var b;!function(a){var b=function(a){function b(b,c){var d=a.call(this,b,null,"splash-background")||this;return d.back=d.game.make.graphics(0,0),d.add(d.back),d.resize(c),d}return __extends(b,a),b.prototype.resize=function(a){this.back.clear().beginFill(14548992).drawRect(0,0,this.game.width,this.game.height)},b.prototype.update=function(){},b.prototype.destroy=function(b){a.prototype.destroy.call(this,b),this.back.destroy(!0),this.back=null},b}(Phaser.Group);a.Bild=b}(b=a.SplashScreenBackgrounds||(a.SplashScreenBackgrounds={}))}(Fabrique||(Fabrique={}));var Fabrique;!function(a){var b;!function(a){var b=function(a){function b(b,c){var d=a.call(this,b,null,"splash-background")||this;return d.triangles=[],d.triangleSizes=[350,650,950,1250],d.back=d.game.make.graphics(0,0),d.t=d.game.make.graphics(0,0),d.gradientBitmap=d.game.make.bitmapData(1,1),d.gradient=d.game.make.sprite(0,0,d.gradientBitmap),d.add(d.back),d.add(d.t),d.add(d.gradient),d.resize(c),d}return __extends(b,a),b.prototype.resize=function(a){var b=this,c=this.game.width<1?1:this.game.width,d=this.game.height<1?1:this.game.height;this.back.clear().beginFill(3387647).drawRect(0,0,c,d),this.updateTrinagles(a),this.t.x=c/2,this.t.y=d/2,this.t.clear(),this.t.lineStyle(80*a,16777215,.3),this.triangles.forEach(function(a){b.t.drawPolygon(a)}),this.t.angle=30,this.gradientBitmap.resize(c,d);var e=this.gradientBitmap.context.createLinearGradient(0,0,0,d-200);e.addColorStop(0,"rgba(51, 176, 255, 0)"),e.addColorStop(1,"rgba(51, 176, 255, 1)"),this.gradientBitmap.context.fillStyle=e,this.gradientBitmap.context.clearRect(0,0,c,d),this.gradientBitmap.context.fillRect(0,0,c,d)},b.prototype.updateTrinagles=function(a){var b=this;new Phaser.Point(this.game.width/2,this.game.height/2);this.triangles=[],this.triangleSizes.forEach(function(c,d){c*=a,b.triangles.push(new Phaser.Polygon([new Phaser.Point(c*Math.cos(0),c*Math.sin(0)),new Phaser.Point(c*Math.cos(1/3*(2*Math.PI)),c*Math.sin(1/3*(2*Math.PI))),new Phaser.Point(c*Math.cos(2/3*(2*Math.PI)),c*Math.sin(2/3*(2*Math.PI))),new Phaser.Point(c*Math.cos(0),c*Math.sin(0))]))})},b.prototype.update=function(){this.t.angle+=.3},b.prototype.destroy=function(b){a.prototype.destroy.call(this,b),this.back.destroy(!0),this.gradientBitmap.destroy(),this.gradient.destroy(!0),this.t.destroy(!0),this.back=null,this.gradientBitmap=null,this.gradient=null,this.t=null,this.triangles=null,this.triangleSizes=null},b}(Phaser.Group);a.FunnyGames=b}(b=a.SplashScreenBackgrounds||(a.SplashScreenBackgrounds={}))}(Fabrique||(Fabrique={}));var Fabrique;!function(a){var b;!function(a){var b=function(a){function b(b,c){var d=a.call(this,b,null,"splash-background")||this;return d.gradientBitmap=d.game.make.bitmapData(1,1),d.gradient=d.game.make.sprite(0,0,d.gradientBitmap),d.add(d.gradient),d.resize(c),d}return __extends(b,a),b.prototype.resize=function(a){var b=this.game.width<1?1:this.game.width,c=this.game.height<1?1:this.game.height;this.gradientBitmap.resize(b,c),this.gradientBitmap.context.clearRect(0,0,b,c);var d=this.gradientBitmap.context.createRadialGradient(b/2,c/2,0,b/2,c/2,c/2);d.addColorStop(0,"rgb(0, 38, 84)"),d.addColorStop(1,"rgb(96, 3, 190)"),this.gradientBitmap.context.fillStyle=d,this.gradientBitmap.context.fillRect(0,0,b,c)},b.prototype.update=function(){},b.prototype.destroy=function(b){a.prototype.destroy.call(this,b),this.gradientBitmap.destroy(),this.gradient.destroy(!0),this.gradientBitmap=null,this.gradient=null},b}(Phaser.Group);a.GameCell=b}(b=a.SplashScreenBackgrounds||(a.SplashScreenBackgrounds={}))}(Fabrique||(Fabrique={}));var Fabrique;!function(a){var b;!function(a){var b=function(a){function b(b,c){var d=a.call(this,b,null,"splash-background")||this;return d.back=d.game.make.graphics(0,0),d.gradientBitmap=d.game.make.bitmapData(1,1),d.gradient=d.game.make.sprite(0,0,d.gradientBitmap),d.add(d.back),d.add(d.gradient),d.resize(c),d}return __extends(b,a),b.prototype.resize=function(a){var b=this.game.width<1?1:this.game.width,c=this.game.height<1?1:this.game.height;this.back.clear().beginFill(663352).drawRect(0,0,b,c),this.gradientBitmap.resize(b,c),this.gradientBitmap.context.clearRect(0,0,b,c);var d=this.gradientBitmap.context.createRadialGradient(b/2,c/2,0,b/2,c/2,c/2);d.addColorStop(0,"rgb(17, 60, 117)"),d.addColorStop(1,"rgb(10, 31, 56)"),this.gradientBitmap.context.fillStyle=d,this.gradientBitmap.context.fillRect(0,0,b,c)},b.prototype.update=function(){},b.prototype.destroy=function(b){a.prototype.destroy.call(this,b),this.back.destroy(!0),this.gradientBitmap.destroy(),this.gradient.destroy(!0),this.back=null,this.gradientBitmap=null,this.gradient=null},b}(Phaser.Group);a.Kizi=b}(b=a.SplashScreenBackgrounds||(a.SplashScreenBackgrounds={}))}(Fabrique||(Fabrique={}));var Fabrique;!function(a){var b;!function(a){var b=function(a){function b(b,c){var d=a.call(this,b,null,"splash-background")||this;return d.back=d.game.make.graphics(0,0),d.gradientBitmap=d.game.make.bitmapData(1,1),d.gradient=d.game.make.sprite(0,0,d.gradientBitmap),d.add(d.back),d.add(d.gradient),d.resize(c),d}return __extends(b,a),b.prototype.resize=function(a){var b=this.game.width<1?1:this.game.width,c=this.game.height<1?1:this.game.height;this.back.clear().beginFill(5415393).drawRect(0,0,b,c),this.gradientBitmap.resize(b,c),this.gradientBitmap.context.clearRect(0,0,b,c);var d=this.gradientBitmap.context.createRadialGradient(b/2,c/2,0,b/2,c/2,1.5*c);d.addColorStop(0,"rgba(244, 250, 252, 1)"),d.addColorStop(1,"rgba(244, 250, 252, 0)"),this.gradientBitmap.context.fillStyle=d,this.gradientBitmap.context.fillRect(0,0,b,c)},b.prototype.destroy=function(b){a.prototype.destroy.call(this,b),this.back.destroy(!0),this.gradientBitmap.destroy(),this.gradient.destroy(!0),this.back=null,this.gradientBitmap=null,this.gradient=null},b}(Phaser.Group);a.PlayCell=b}(b=a.SplashScreenBackgrounds||(a.SplashScreenBackgrounds={}))}(Fabrique||(Fabrique={}));var Fabrique;!function(a){var b;!function(a){var b=function(a){function b(b,c){var d=a.call(this,b,null,"splash-background")||this;return d.back=d.game.make.graphics(0,0),d.add(d.back),d.resize(c),d}return __extends(b,a),b.prototype.resize=function(a){var b=this.game.width<1?1:this.game.width,c=this.game.height<1?1:this.game.height;this.back.clear().beginFill(4879021).drawRect(0,0,b,c)},b.prototype.update=function(){},b.prototype.destroy=function(b){a.prototype.destroy.call(this,b),this.back.destroy(!0),this.back=null},b}(Phaser.Group);a.Spele=b}(b=a.SplashScreenBackgrounds||(a.SplashScreenBackgrounds={}))}(Fabrique||(Fabrique={}));var Fabrique;!function(a){var b;!function(a){var b=function(a){function b(b,c){var d=a.call(this,b,null,"splash-background")||this;return d.back=d.game.make.graphics(0,0),d.add(d.back),d.resize(c),d}return __extends(b,a),b.prototype.resize=function(a){var b=this.game.width<1?1:this.game.width,c=this.game.height<1?1:this.game.height;this.back.clear().beginFill(804972).drawRect(0,0,b,c)},b.prototype.destroy=function(b){a.prototype.destroy.call(this,b),this.back.destroy(!0),this.back=null},b}(Phaser.Group);a.Spil=b}(b=a.SplashScreenBackgrounds||(a.SplashScreenBackgrounds={}))}(Fabrique||(Fabrique={}));var Fabrique;!function(a){var b;!function(a){var b=function(a){function b(b,c){var d=a.call(this,b,null,"splash-background")||this;return d.back=d.game.make.graphics(0,0),d.gradientBitmap=d.game.make.bitmapData(1,1),d.gradient=d.game.make.sprite(0,0,d.gradientBitmap),d.add(d.back),d.add(d.gradient),d.resize(c),d}return __extends(b,a),b.prototype.resize=function(a){var b=this.game.width<1?1:this.game.width,c=this.game.height<1?1:this.game.height;this.back.clear().beginFill(357287).drawRect(0,0,b,c),this.gradientBitmap.resize(b,c),this.gradientBitmap.context.clearRect(0,0,b,c);var d=this.gradientBitmap.context.createRadialGradient(b/2,c/2,0,b/2,c/2,c/2);d.addColorStop(0,"rgba(0, 81, 125, 0)"),d.addColorStop(1,"rgba(0, 81, 125, 1)"),this.gradientBitmap.context.fillStyle=d,this.gradientBitmap.context.fillRect(0,0,b,c);var e=this.gradientBitmap.context.createRadialGradient(b/2,c/2,0,b/2,c/2,c/2);e.addColorStop(0,"rgba(4, 176, 240, 1)"),e.addColorStop(1,"rgba(4, 176, 240, 0)"),this.gradientBitmap.context.fillStyle=e,this.gradientBitmap.context.fillRect(0,0,b,c)},b.prototype.update=function(){},b.prototype.destroy=function(b){a.prototype.destroy.call(this,b),this.back.destroy(!0),this.gradientBitmap.destroy(),this.gradient.destroy(!0),this.back=null,this.gradientBitmap=null,this.gradient=null},b}(Phaser.Group);a.Yepi=b}(b=a.SplashScreenBackgrounds||(a.SplashScreenBackgrounds={}))}(Fabrique||(Fabrique={}));var Fabrique;!function(a){var b;!function(a){a[a.splashscreen=0]="splashscreen",a[a.logo=1]="logo",a[a.facebook=2]="facebook",a[a.twitter=3]="twitter",a[a.playstore=4]="playstore",a[a.appstore=5]="appstore",a[a.more_games=6]="more_games",a[a.download_game=7]="download_game",a[a.walkthrough=8]="walkthrough",a[a.disclaimer=9]="disclaimer",a[a.highscores=10]="highscores"}(b=a.UtmTargets||(a.UtmTargets={}));var c=function(){function c(){}return c.setSiteLock=function(a){c.siteLocks=a},c.preloadImages=function(b){var d;switch(a.Utils.isOnDevice(b)||c.isAirfi()?a.Utils.ASSET_LOCATION="assets/":a.Utils.isTc()?a.Utils.ASSET_LOCATION="/repository/download/Fabrique_FunnyGamesSplash/.lastSuccessful/build/assets/":"fbrq.io"===a.Utils.getSourceSite(!0)&&(a.Utils.ASSET_LOCATION="https://"+window.location.host+"/orange-games-splash/assets/"),a.Utils.getBrandingDomain()){case a.BrandingDomain.Spele:d="spele";break;case a.BrandingDomain.PlayCell:d="playcell";break;case a.BrandingDomain.GameCell:d="gamecell";break;case a.BrandingDomain.Yepi:d="yepi";break;case a.BrandingDomain.Spil:d="spil";break;case a.BrandingDomain.Admeen:d="admeen";break;case a.BrandingDomain.Bild:d="bild";break;default:case a.BrandingDomain.Kizi:d="kizi";break;case a.BrandingDomain.Funnygames:d="funnygames"}a.Utils.isTc()||(b.load.crossOrigin="anonymous"),b.load.image(c.LOGO_KEY,a.Utils.ASSET_LOCATION+"images/branding_logo_"+d+"_small.png")},c.openCampaignLink=function(d,e,f){if(a.Utils.isOnDevice(d)||c.isContracted(d)||c.isSpecial(d)||!c.outGoingLinksAllowed())return null;var g,h,i=a.Utils.getSourceSite(),j=a.Utils.isOnDevice(d)?"https://":"//";switch(a.Utils.getBrandingDomain()){case a.BrandingDomain.Spele:g=j+"www.spele.nl";break;case a.BrandingDomain.Yepi:g=j+"www.yepi.com";break;case a.BrandingDomain.Admeen:return g="https://media.admeen.com/branding/link.php",h=window.open(g,"_blank"),void(h&&h.focus&&h.focus());case a.BrandingDomain.PlayCell:g=j+"www.playcell.com";break;case a.BrandingDomain.GameCell:g=j+"www.gamecell.com";break;default:case a.BrandingDomain.Kizi:g="http://www.kizi.com";break;case a.BrandingDomain.Bild:return h=window.open(j+"www.bildspielt.de","_blank"),void(h&&h.focus&&h.focus());case a.BrandingDomain.Funnygames:g=j+"www.funnygames.nu"}var k="string"==typeof f?f:b[f];h=window.open(g+"/?utm_source="+i+"&utm_medium=html5&utm_term="+e+"&utm_content="+k+"&utm_campaign=Gamedistribution","_blank"),h&&h.focus&&h.focus()},c.getLogoWithLink=function(b,d){var e=new Phaser.Image(b,0,0,c.LOGO_KEY);return a.Utils.isOnDevice(b)||c.isContracted(b)||c.isSpecial(b)||c.isAirfi()||(e.inputEnabled=!0,e.input.useHandCursor=!0,e.events.onInputUp.add(function(){a.Branding.openCampaignLink(b,d,a.UtmTargets.logo)},this)),e.visible=!c.isSpecial(b),e},c.isInternal=function(a){return c.hostMatchesList(a.cache.getJSON(c.INTERNAL_PORTALS_KEY))},c.isContracted=function(a){return c.hostMatchesList(a.cache.getJSON(c.CONTRACTED_PORTALS_KEY))},c.isSpecial=function(a){return c.hostMatchesList(a.cache.getJSON(c.SPECIAL_PORTALS_KEY))},c.isAdmeen=function(){if(!c.siteLocks||!c.siteLocks.hasOwnProperty("admeen"))return!1;var a=c.siteLocks.admeen;return c.hostMatchesList(a)},c.isKongregate=function(){if(!c.siteLocks||!c.siteLocks.hasOwnProperty("kongregate"))return!1;var a=c.siteLocks.kongregate;return c.hostMatchesList(a)},c.isNewgrounds=function(){if(!c.siteLocks||!c.siteLocks.hasOwnProperty("newgrounds"))return!1;var a=c.siteLocks.newgrounds;return c.hostMatchesList(a)},c.isBild=function(){return"bild.fbrq.io"===window.location.host||window.location.host.indexOf("contentfleet.com")!==-1},c.isBip=function(){return window.location.search.indexOf("bipgaming")!==-1||"bip.fbrq.io"===window.location.host},c.isPlaycellApp=function(){return window.location.search.indexOf("playcellApp")!==-1},c.isSpil=function(){return document.referrer.indexOf("gameplayer.io")!==-1},c.isAirfi=function(){return!!window.hasOwnProperty("airfi")&&window.airfi},c.outGoingLinksAllowed=function(){return!c.isAirfi()&&(!window.hasOwnProperty("fbrqLA")||window.fbrqLA)},c.hostMatchesList=function(b){b=b||[];for(var c=a.Utils.getSourceSite(),d=0;d 1||b<0||a.playerInstance.setVolume(b))},a.getCuePoints=function(){if(null!==a.playerInstance)return a.playerInstance.cuePoints()},a}();b.playerInstance=null,b.onClose=new Phaser.Signal,a.Tubia=b}(Fabrique||(Fabrique={}));var Fabrique;!function(a){var b;!function(a){a[a.Neutral=0]="Neutral",a[a.Yepi=1]="Yepi",a[a.Spele=2]="Spele",a[a.Funnygames=3]="Funnygames",a[a.Kizi=4]="Kizi",a[a.PlayCell=5]="PlayCell",a[a.GameCell=6]="GameCell",a[a.Bild=7]="Bild",a[a.Spil=8]="Spil",a[a.Admeen=9]="Admeen"}(b=a.BrandingDomain||(a.BrandingDomain={}))}(Fabrique||(Fabrique={}));var Fabrique;!function(a){var b;!function(a){var b=function(a){function b(b,c,d,e,f,g,h){var i=a.call(this,b,d,e,"",null,null)||this;i.onInputUp.add(i.openGame,i),i.id=c.data.key,i.url=c.data.url,i.icon=i.game.add.image(0,0,c.data.key),i.icon.width=f,i.icon.height=f,i.input.priorityID=680,i.addChild(i.icon);var j=i.game.make.graphics(0,0);j.beginFill(h).drawRect(0,0,f,g-f).endFill(),i.titleBg=i.game.add.image(0,f,j.generateTexture()),i.addChild(i.titleBg);var k=c.data.title;return k.length>16&&(k=k.replace(k.substring(14,k.length),"...")),i.title=i.game.add.text(f/2,i.titleBg.y+(g-f)/2+4,k.toUpperCase(),{font:"bold "+.35*(g-f)+"px Arial",fill:"#FFF",align:"center",wordWrap:!0,wordWrapWidth:f-10}),i.title.anchor.set(.5,.5),i.addChild(i.title),j=i.game.make.graphics(0,0),j.beginFill(16777215).drawCircle(0,0,80).beginFill(h).lineTo(-15,-25).lineTo(25,0).lineTo(-15,25).lineTo(-15,-25).endFill(),i.playImg=i.game.add.image(f/2,f/3*2.7,j.generateTexture()),i.playImg.anchor.set(.5,.5),i.addChild(i.playImg),i}return __extends(b,a),b.prototype.openGame=function(){this.game.analytics&&this.game.analytics.google.sendGenericEvent("MoreGames","Click",this.id),this.url.indexOf("http://")!==-1&&this.url.replace("http:","");var a=window.open(this.url,"_self");a&&a.focus&&a.focus()},b.prototype.destroy=function(){this.onInputUp.remove(this.openGame,this),a.prototype.destroy.call(this),this.removedFromWorld()},b}(Phaser.Button);a.Item=b}(b=a.MoreGames||(a.MoreGames={}))}(Fabrique||(Fabrique={}));var Fabrique;!function(a){var b;!function(b){var c=function(c){function d(b,d){var e=c.call(this,b,null,"moreGames-background")||this;e.size=800,e.items=[],e.offset=14,e.isDestroyed=!1,e.gameName=d,e.deviceRatio=b.width/e.size,e.overlay=b.add.graphics(0,0),e.overlay.beginFill(0,.4).drawRect(0,0,b.width,b.height).endFill(),e.overlay.pivot.set(b.width/2,b.height/2),e.overlay.inputEnabled=!0,e.overlay.input.priorityID=660,e.onClose=new Phaser.Signal,e.overlay.events.onInputUp.add(function(){e.hide()}),e.add(e.overlay),e.menuGrp=new Phaser.Group(b,e,"menuGrp"),e.add(e.menuGrp);var f=b.make.graphics(0,0);f.beginFill(2507370).drawRoundedRect(0,0,e.size,e.size+20,15).endFill(),e.background=e.game.add.image(0,0,f.generateTexture()),e.background.anchor.set(.5),e.background.inputEnabled=!0,e.background.input.priorityID=670,e.background.input.useHandCursor=!1,e.menuGrp.add(e.background),e.logoBtn=e.game.add.button(0,-(e.background.height/2)+e.offset,a.Branding.LOGO_KEY,function(){a.Branding.openCampaignLink(e.game,e.gameName,a.UtmTargets.more_games)},e),e.logoBtn.scale.setTo(1),e.logoBtn.anchor.set(.5,0),e.menuGrp.add(e.logoBtn),e.closeBtn=b.add.button(e.size/2-10,-(e.size/2)+25,"close_btn",e.hide,e),e.closeBtn.anchor.set(1),e.closeBtn.input.priorityID=680,e.menuGrp.add(e.closeBtn),e.createItems();var g=b.make.graphics(0,0);g.beginFill(2507370).drawRect(0,0,270,40).endFill(),e.moreGamesBtn=b.add.button(0,e.background.y+e.background.height/2-g.height-e.offset,"",function(){a.Branding.openCampaignLink(e.game,e.gameName,a.UtmTargets.more_games)},e),e.moreGamesBtn.texture=g.generateTexture(),e.moreGamesBtn.input.priorityID=680,e.moreGamesBtn.anchor.set(.5,0),e.menuGrp.add(e.moreGamesBtn);var h={font:"bold 26px Tahoma",fill:"#ffffff"};return e.moreGamesText=b.add.text(0,e.moreGamesBtn.height/2+2,"PLAY MORE GAMES",h),e.moreGamesText.anchor.set(.5),e.moreGamesBtn.addChild(e.moreGamesText),e.visible=!1,e.resize(),e.resizeListener=function(){setTimeout(function(){e.isDestroyed||e.resize()},100)},e.game.scale.onSizeChange.add(e.resizeListener,e),e}return __extends(d,c),d.prototype.createItems=function(){this.itemGrp=this.game.make.group(this,"items"),this.itemGrp.x=0,this.itemGrp.y=this.size/2+this.logoBtn.y+this.logoBtn.height,this.menuGrp.add(this.itemGrp);var c,e,f,g,h=this.game.cache.getJSON(a.Branding.GAME_ICONS_KEY),i=3,j=Math.floor(this.size/i-1.25*this.offset),k=Math.floor(j+.25*j),l=0;for(var m in h)h.hasOwnProperty(m)&&l<6&&!this.isCurrentGame(m)&&(e=l%i*j+this.offset+l%i*this.offset,f=Math.floor(l/i)*k+this.offset+Math.floor(l/i)*this.offset,g=l%d.BG_COLORS.length,c=new b.Item(this.game,h[m],e-this.size/2,f-this.size/2,j,k,d.BG_COLORS[g]),this.itemGrp.add(c),this.items.push(c),l++)},d.prototype.isCurrentGame=function(a){var b=window.location.href.replace(/-/g,"");return a=a.replace(/-/g,""),b.indexOf(a)>=0},d.prototype.show=function(){this.visible||(this.game.analytics&&(this.game.analytics.google.sendScreenView("moregames"),this.game.analytics.google.sendGenericEvent("MoreGames","Open")),this.visible=!0)},d.prototype.hide=function(){this.visible&&(this.visible=!1,this.game.analytics&&this.game.analytics.google.sendGenericEvent("MoreGames","Close"),this.onClose&&this.onClose.dispatch())},d.preloadImages=function(b){a.Utils.getSourceSite();a.Utils.isOnDevice(b)||a.Branding.isAirfi()?a.Utils.ASSET_LOCATION="assets/":a.Utils.isTc()?a.Utils.ASSET_LOCATION="/repository/download/Fabrique_FunnyGamesSplash/.lastSuccessful/build/assets/":"fbrq.io"===a.Utils.getSourceSite(!0)&&(a.Utils.ASSET_LOCATION="//"+window.location.host+"/orange-games-splash/assets/"),a.Utils.isTc()||(b.load.crossOrigin="anonymous"),b.load.image("close_btn",a.Utils.ASSET_LOCATION+"images/close_btn.png");var c=b.cache.getJSON(a.Branding.GAME_ICONS_KEY);for(var d in c)c.hasOwnProperty(d)&&(c[d].data.key=d,b.load.image(d,a.Utils.ASSET_LOCATION+"icons/"+d+".png"))},d.prototype.getScale=function(){return this.game.height>this.game.width&&this.game.width this.game.height&&this.game.height =3?this.dotText=".":this.dotText+=".",this.preloadText.setText("Loading "+this.dotText)},d.prototype.onPreloadEnd=function(){this.preloadReady=!0,this.game.input.onUp.add(this.handler,this),this.animateButton()},d.prototype.createObjects=function(){this.bgImage=this.game.add.tileSprite(this.game.width/2,this.game.height/2,853,612,"admeen_atlas","bg_pattern"),this.bgImage.pivot.set(426.5,306),this.gradientBitmap=this.game.make.bitmapData(1,1),this.bgGradientOverlay=this.game.add.sprite(0,0,this.gradientBitmap),this.logo=this.game.add.image(0,0,"admeen_atlas","mascotte"),this.logo.anchor.set(.5,.7),this.playButton=this.game.add.button(this.game.width/2,.75*this.game.height,"admeen_atlas",this.handler,this,"btn","btn","btn","btn"),this.playButton.anchor.set(.5),this.playButton.visible=!1,this.created=!0,this.preloadText=this.game.add.text(this.game.width/2,this.game.height/2*.75,"",{font:"Arial",fontSize:40,fill:"#ffffff",fontWeight:"bold"}),this.preloadText.anchor.set(.5)},d.prototype.resizeObjects=function(){if(this.created){var b=this.game.width<1?1:this.game.width,c=this.game.height<1?1:this.game.height;this.logo.scale.set(this.scaleFactor),this.logo.y=.4*this.game.height,this.logo.x=this.game.width/2,this.bgImage.width=853*this.scaleFactor,this.bgImage.height=612*this.scaleFactor,this.bgImage.y=this.game.height/2,this.bgImage.x=this.game.width/2,this.bgImage.pivot.set(853*this.scaleFactor/2,612*this.scaleFactor/2),this.gradientBitmap.resize(b,c);var d=this.gradientBitmap.context.createRadialGradient(b/2,c/2,0,b/2,c/2,.5*c);d.addColorStop(0,"rgba(66, 103, 178, 0)"),d.addColorStop(1,"rgba(66, 103, 178, 1)"),this.gradientBitmap.context.fillStyle=d,this.gradientBitmap.context.clearRect(0,0,b,c),this.gradientBitmap.context.fillRect(0,0,b,c),this.preloadText.x=this.game.width/2,this.preloadText.y=.75*this.game.height,this.preloadText.scale.set(this.scaleFactor),a.Utils.isOnDevice(this.game)||(this.playButton.scale.set(.6*this.scaleFactor),this.playButton.x=this.game.width/2,this.playButton.y=.75*this.game.height)}},d.prototype.handler=function(a,b){if(!this.clicked&&"mouseout"!==b.type){this.clicked=!0,this.game.tweens.remove(this.buttonTween),this.game.camera.fade(0,250);var c=this.game.add.tween(this.playButton.scale);c.to({x:0,y:0},250,Phaser.Easing.Back.In).start(),void 0!==this.config.mobilePlayClickhandler?this.config.mobilePlayClickhandler():this.game.state.start(this.config.nextState),this.game.input.onUp.remove(this.handler,this)}},d.prototype.getScale=function(){return 1},d.prototype.startAnimation=function(){},d.prototype.animateButton=function(){a.Utils.isOnDevice(this.game)||(this.preloadText.visible=!1,this.game.tweens.remove(this.buttonTween),this.playButton.scale.set(this.scaleFactor),this.playButton.visible=!0,this.buttonTween=this.game.add.tween(this.playButton.scale),this.buttonTween.to({x:1.14*this.scaleFactor,y:1.14*this.scaleFactor},420,Phaser.Easing.Quadratic.InOut,!0,500),this.buttonTween.yoyo(!0).onComplete.add(this.animateButton,this),this.buttonTween.start())},d.prototype.update=function(){this.background.update()},d.prototype.resize=function(){this.scaleFactor=this.getScale(),this.background.resize(this.scaleFactor),this.resizeObjects(),this.created&&this.preloadReady&&this.animateButton()},d.prototype.shutdown=function(){this.game.scale.onSizeChange.remove(this.resize,this),this.game.load.onLoadStart.remove(this.onPreloadStart,this),this.game.load.onFileComplete.remove(this.onPreloadedFile,this),this.game.load.onLoadComplete.remove(this.onPreloadEnd,this),this.logo.destroy(!0),this.playButton.destroy(!0),this.bgImage.destroy(!0),this.background.destroy(!0),this.logo=null,this.bgImage=null,this.playButton=null,this.background=null,this.game.state.remove(b.Preloader.Name),this.game.state.remove(b.SplashPreloader.Name),this.game.state.remove(this.name)},d}(Phaser.State);c.Name="admeenSplashScreen",c.IdealWidth=400,c.MaxDots=3,b.Admeen=c}(b=a.SplashScreen||(a.SplashScreen={}))}(Fabrique||(Fabrique={}));var Fabrique;!function(a){var b;!function(b){var c=function(c){function d(){var a=c.call(this)||this;return a.name=d.Name,a.scaleFactor=1,a.created=!1,a.preloadReady=!1,a.clicked=!1,a.preloadTexts=[],a.tId=0,a}return __extends(d,c),d.prototype.init=function(a,b){this.config=a,this.background=b,this.game.scale.onSizeChange.add(this.resize,this)},d.prototype.preload=function(){this.game.add.existing(this.background),this.createObjects(),this.scaleFactor=this.getScale(),this.resizeObjects(),this.startAnimation(),this.game.load.onLoadStart.add(this.onPreloadStart,this),this.game.load.onFileComplete.add(this.onPreloadedFile,this),this.game.load.onLoadComplete.add(this.onPreloadEnd,this),this.config.preloadHandler(),0===this.game.load.totalQueuedFiles()&&this.onPreloadEnd()},d.prototype.onPreloadStart=function(){},d.prototype.onPreloadedFile=function(){},d.prototype.onPreloadEnd=function(){this.preloadReady=!0,this.loadBack.visible=!1,this.loadBar.visible=!1,this.game.input.onUp.add(this.handler,this),this.animateButton()},d.prototype.createObjects=function(){this.logo=this.game.add.sprite(this.game.width/2,this.game.height/2-100,"bild_logo"),this.logo.anchor.set(.5),this.logo.scale.set(.8),d.IdealWidth=this.logo.getBounds().width;var a=this.game.make.graphics(0,0);a.beginFill(16777215,.5).drawRect(0,0,350,20).endFill(),this.loadBack=this.game.add.sprite(this.game.width/2,this.game.height/2+100,a.generateTexture()),this.loadBack.anchor.set(.5);var b=this.game.make.graphics(0,0);b.beginFill(16777215,1).drawRect(0,0,350,20).endFill(),this.loadBar=this.game.add.sprite(this.game.width/2-175,this.game.height/2+100,b.generateTexture()),this.loadBar.anchor.set(0,.5),this.load.setPreloadSprite(this.loadBar),this.playButton=this.game.add.button(this.game.width/2,this.game.height/2+200,"bild_play",this.handler,this),this.playButton.anchor.set(.5),this.playButton.scale.set(this.scaleFactor),this.playButton.visible=!1,this.created=!0},d.prototype.resizeObjects=function(){this.created&&(this.logo.scale.set(.8*this.scaleFactor),this.logo.y=this.game.height/2-100*this.scaleFactor,this.logo.x=this.game.width/2,a.Utils.isOnDevice(this.game)||(this.playButton.x=this.game.width/2,this.playButton.y=this.game.height/2+200*this.scaleFactor))},d.prototype.handler=function(a,b){if(!this.clicked&&"mouseout"!==b.type){this.clicked=!0,this.game.tweens.remove(this.buttonTween),this.game.camera.fade(0,250);var c=this.game.add.tween(this.playButton.scale);c.to({x:0,y:0},250,Phaser.Easing.Back.In).start(),void 0!==this.config.mobilePlayClickhandler?this.config.mobilePlayClickhandler():this.game.state.start(this.config.nextState),this.game.input.onUp.remove(this.handler,this)}},d.prototype.getScale=function(){return a.Utils.isOnDevice(this.game)?this.game.width<1.5*d.IdealWidth?this.game.width/6*4/d.IdealWidth:1:this.game.width 1e3&&(this.t=Date.now(),this.tId++,this.tId>=this.preloadTexts.length&&(this.tId=0)),this.dotText.length>=3?this.dotText=".":this.dotText+=".",this.preloadText.setText(this.preloadTexts[this.tId]+this.dotText)},d.prototype.onPreloadEnd=function(){this.preloadReady=!0,this.preloadText.visible=!1,this.game.input.onUp.add(this.handler,this),this.animateButton()},d.prototype.createObjects=function(){this.monster1=this.game.add.spine(0,0,"fgs_monster_1"),this.monster1.setAnimationByName(0,"idle",!0),this.monster2=this.game.add.spine(0,0,"fgs_monster_2"),this.monster2.setAnimationByName(0,"idle",!0),this.monster3=this.game.add.spine(0,0,"fgs_monster_3"),this.monster3.setAnimationByName(0,"idle",!0),this.preloadText=this.game.add.text(this.game.width/2,this.game.height/2+230,"",{font:"Arial",fontSize:40,fill:"#ffffff",fontWeight:"bold"}),this.preloadText.anchor.set(.5),this.logo=this.game.add.image(0,0,"fgs_logo"),this.logo.anchor.set(.5),d.IdealWidth=1.5*this.logo.getBounds().width,this.playButton=this.game.add.button(this.game.width/2,this.game.height/2+230*this.scaleFactor,"fgs_play",this.handler,this,0,0,1,0),this.playButton.anchor.set(.5),this.playButton.scale.set(this.scaleFactor),this.playButton.visible=!1,this.created=!0},d.prototype.handler=function(a,b){if(!this.clicked&&"mouseout"!==b.type){this.clicked=!0,this.game.tweens.remove(this.buttonTween),this.game.camera.fade(0,250);var c=this.game.add.tween(this.playButton.scale);c.to({x:0,y:0},250,Phaser.Easing.Back.In).start(),void 0!==this.config.mobilePlayClickhandler?this.config.mobilePlayClickhandler():this.game.state.start(this.config.nextState),this.game.input.onUp.remove(this.handler,this)}},d.prototype.resizeObjects=function(){this.created&&(this.logo.scale.set(1.5*this.scaleFactor),this.logo.y=this.game.height/2+70*this.scaleFactor,this.logo.x=this.game.width/2,this.monster1.x=this.game.width/2+40*this.scaleFactor,this.monster1.y=this.game.height/2-10*this.scaleFactor,this.monster1.scale.set(.4*this.scaleFactor),this.monster2.x=this.game.width/2+190*this.scaleFactor,this.monster2.y=this.game.height/2-10*this.scaleFactor,this.monster2.scale.set(.4*this.scaleFactor),this.monster3.x=this.game.width/2-140*this.scaleFactor,this.monster3.y=this.game.height/2-10*this.scaleFactor,this.monster3.scale.set(.4*this.scaleFactor),this.preloadText.x=this.game.width/2,this.preloadText.y=this.game.height/2+230*this.scaleFactor,this.preloadText.scale.set(this.scaleFactor),this.playButton.x=this.game.width/2,this.playButton.y=this.game.height/2+230*this.scaleFactor)},d.prototype.getScale=function(){return a.Utils.isOnDevice(this.game)?this.game.width<1.5*d.IdealWidth?this.game.width/6*4/d.IdealWidth:1:this.game.width 1e3&&(this.t=Date.now(),this.tId++,this.tId>=this.preloadTexts.length&&(this.tId=0)),this.dotText.length>=3?this.dotText=".":this.dotText+=".",this.preloadText.setText(this.preloadTexts[this.tId]+this.dotText)},d.prototype.onPreloadEnd=function(){this.preloadReady=!0,this.preloadText.visible=!1,this.game.input.onUp.add(this.handler,this),this.animateButton()},d.prototype.createObjects=function(){this.twirl=this.game.add.image(this.game.width/2,this.game.height/2,"gamecell_atlas","gamecell_bg_pattern"),this.twirl.scale.setTo(2,2),this.twirl.anchor.set(.5),this.createOverlay(),this.logoSpine=this.game.add.spine(0,0,"splash_gamecell"),this.logoSpine.setAnimationByName(0,"idle",!0),this.preloadText=this.game.add.text(this.game.width/2,this.game.height/2+230,"",{font:"Arial",fontSize:40,fill:"#ffffff",fontWeight:"bold"}),this.preloadText.anchor.set(.5),this.logo=this.game.add.image(0,0,"gamecell_atlas","gamecell_logo"),this.logo.anchor.set(.5),d.IdealWidth=1.5*this.logo.getBounds().width,this.playButton=this.game.add.button(this.game.width/2,.85*this.game.height,"gamecell_atlas",this.handler,this,"gamecell_btn_play","gamecell_btn_play","gamecell_btn_play","gamecell_btn_play"),this.playButton.anchor.set(.5),this.playButton.scale.set(this.scaleFactor),this.playButton.visible=!1,this.created=!0},d.prototype.createOverlay=function(){this.gradientBitmap=this.game.make.bitmapData(1,1),this.gradient=this.game.make.sprite(0,0,this.gradientBitmap),this.game.add.existing(this.gradient)},d.prototype.handler=function(a,b){if(!this.clicked&&"mouseout"!==b.type){this.clicked=!0,this.game.tweens.remove(this.buttonTween),this.game.camera.fade(0,250);var c=this.game.add.tween(this.playButton.scale);c.to({x:0,y:0},250,Phaser.Easing.Back.In).start(),void 0!==this.config.mobilePlayClickhandler?this.config.mobilePlayClickhandler():this.game.state.start(this.config.nextState),this.game.input.onUp.remove(this.handler,this)}},d.prototype.resizeObjects=function(){if(this.created){this.gradientBitmap.resize(this.game.width,this.game.height),this.gradientBitmap.context.clearRect(0,0,this.game.width,this.game.height);var a=this.gradientBitmap.context.createRadialGradient(this.game.width/2,this.game.height/2,0,this.game.width/2,this.game.height/2,this.game.height/2);a.addColorStop(0,"rgb(8, 8, 54)"),a.addColorStop(1,"rgba(8, 8, 54, 0)"),this.gradientBitmap.context.fillStyle=a,this.gradientBitmap.context.fillRect(0,0,this.game.width,this.game.height),this.logo.scale.set(.5*this.scaleFactor),this.logo.y=.2*this.game.height,this.logo.x=this.game.width/2,this.logoSpine.scale.set(this.scaleFactor),this.logoSpine.autoUpdateTransform(),this.logoSpine.x=this.game.width/2,this.logoSpine.y=this.game.height/2,this.preloadText.x=this.game.width/2,this.preloadText.y=.85*this.game.height,this.preloadText.scale.set(this.scaleFactor),this.playButton.x=this.game.width/2,this.playButton.y=.85*this.game.height,this.twirl.position.set(this.game.width/2,this.game.height/2)}},d.prototype.getScale=function(){return a.Utils.isOnDevice(this.game)?this.game.width<1.5*d.IdealWidth?this.game.width/6*4/d.IdealWidth:1:this.game.width 2.8&&(this.twirl.scale.x=2,this.twirl.scale.y=2)},d.prototype.loadUpdate=function(){this.background.update()},d.prototype.resize=function(){this.scaleFactor=this.getScale(),this.background.resize(this.scaleFactor),this.resizeObjects(),this.created&&this.preloadReady&&this.animateButton()},d.prototype.shutdown=function(){c.prototype.shutdown.call(this),this.gradientBitmap.destroy(),this.gradient.destroy(!0),this.gradientBitmap=null,this.gradient=null,this.logo.destroy(!0),this.logoSpine.destroy(!0),this.playButton.destroy(!0),this.background.destroy(!0),this.preloadText.destroy(!0),this.logo=null,this.logoSpine=null,this.playButton=null,this.background=null,this.preloadText=null,this.config=null,this.game.scale.onSizeChange.remove(this.resize,this),this.game.load.onLoadStart.remove(this.onPreloadStart,this),this.game.load.onFileComplete.remove(this.onPreloadedFile,this),this.game.load.onLoadComplete.remove(this.onPreloadEnd,this),this.game.state.remove(b.Preloader.Name),this.game.state.remove(b.SplashPreloader.Name),this.game.state.remove(this.name)},d}(Phaser.State);c.Name="GameCell",c.IdealWidth=860,c.MaxDots=3,b.GameCell=c}(b=a.SplashScreen||(a.SplashScreen={}))}(Fabrique||(Fabrique={}));var Fabrique;!function(a){var b;!function(b){var c=function(c){function d(){var a=c.call(this)||this;return a.name=d.Name,a.scaleFactor=1,a.created=!1,a.preloadReady=!1,a.clicked=!1,a.preloadTexts=["Loading images","Loading music","Loading sound effects","Calculating Pi"],a.dotText=".",a.tId=0,a}return __extends(d,c),d.prototype.init=function(a,b){this.config=a,this.background=b,this.config.preloadTexts&&(this.preloadTexts=this.config.preloadTexts),this.game.scale.onSizeChange.add(this.resize,this)},d.prototype.preload=function(){this.game.add.existing(this.background),this.createObjects(),this.scaleFactor=this.getScale(),this.resizeObjects(),this.startAnimation(),this.game.load.onLoadStart.add(this.onPreloadStart,this),this.game.load.onFileComplete.add(this.onPreloadedFile,this),this.game.load.onLoadComplete.add(this.onPreloadEnd,this),this.config.preloadHandler(),0===this.game.load.totalQueuedFiles()&&this.onPreloadEnd()},d.prototype.onPreloadStart=function(){this.t=Date.now(),this.preloadText.setText(this.preloadTexts[this.tId])},d.prototype.onPreloadedFile=function(){Date.now()-this.t>1e3&&(this.t=Date.now(),this.tId++,this.tId>=this.preloadTexts.length&&(this.tId=0)),this.dotText.length>=3?this.dotText=".":this.dotText+=".",this.preloadText.setText(this.preloadTexts[this.tId]+this.dotText)},d.prototype.onPreloadEnd=function(){this.preloadReady=!0,this.preloadText.visible=!1,this.game.input.onUp.add(this.handler,this),this.animateButton()},d.prototype.createObjects=function(){this.twirl=this.game.add.image(this.game.width/2,this.game.height/2,"kizi_twist"),this.twirl.anchor.set(.5),this.twirl.width=this.twirl.height=this.game.width>this.game.height?this.game.width:this.game.height,this.monster=this.game.add.spine(0,0,"kizi_skeleton"),this.monster.setAnimationByName(0,"idle",!0),this.preloadText=this.game.add.text(this.game.width/2,this.game.height/2+230,"",{font:"Arial",fontSize:40,fill:"#ffffff",fontWeight:"bold"}),this.preloadText.anchor.set(.5),this.logo=this.game.add.image(0,0,"kizi_logo"),this.logo.anchor.set(.5),d.IdealWidth=1.5*this.logo.getBounds().width,this.playButton=this.game.add.button(this.game.width/2,.85*this.game.height,"kizi_button",this.handler,this,0,0,1,0),this.playButton.anchor.set(.5),this.playButton.scale.set(this.scaleFactor),this.playButton.visible=!1,this.created=!0},d.prototype.handler=function(a,b){if(!this.clicked&&"mouseout"!==b.type){this.clicked=!0,this.game.tweens.remove(this.buttonTween),this.game.camera.fade(0,250);var c=this.game.add.tween(this.playButton.scale);c.to({x:0,y:0},250,Phaser.Easing.Back.In).start(),void 0!==this.config.mobilePlayClickhandler?this.config.mobilePlayClickhandler():this.game.state.start(this.config.nextState),this.game.input.onUp.remove(this.handler,this)}},d.prototype.resizeObjects=function(){this.created&&(this.logo.scale.set(.5*this.scaleFactor),this.logo.y=.2*this.game.height,this.logo.x=this.game.width/2,this.monster.scale.set(this.scaleFactor),this.monster.autoUpdateTransform(),this.monster.x=this.game.width/2,this.monster.y=this.game.height/2+.6*this.monster.height,this.preloadText.x=this.game.width/2,this.preloadText.y=.85*this.game.height,this.preloadText.scale.set(this.scaleFactor),this.playButton.x=this.game.width/2,this.playButton.y=.85*this.game.height,this.twirl.position.set(this.game.width/2,this.game.height/2))},d.prototype.getScale=function(){return a.Utils.isOnDevice(this.game)?this.game.width<1.5*d.IdealWidth?this.game.width/6*4/d.IdealWidth:1:this.game.width =1&&(3===this.state?this.setTween(4,14,{alpha:0}):4===this.state?(this.onComplete.dispatch(this.floor,this.cell),this.destroy()):5===this.state?(this.onComplete.dispatch(),this.state=6):this.state=0)}},Object.defineProperty(b.prototype,"scaleX",{get:function(){return this.scale.x},set:function(a){this.scale.x=a},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"scaleY",{get:function(){return this.scale.y},set:function(a){this.scale.y=a},enumerable:!0,configurable:!0}),b.prototype.destroy=function(){a.prototype.destroy.call(this),this.onComplete=null,this.tweenDetails=[],this.tweenDetails=null},b}(Phaser.Sprite);a.SmallPart=b}(b=a.SplashScreen||(a.SplashScreen={}))}(Fabrique||(Fabrique={}));var Fabrique;!function(a){var b;!function(a){var b=function(b){function c(){var a=b.call(this)||this;return a.name=c.Name,a.scaleFactor=1,a.width=787,a.height=494,a.created=!1,a.preloadTexts=[],a.preloadReady=!1,a.clicked=!1,a.tId=0,a}return __extends(c,b),c.prototype.init=function(a,b){this.config=a,this.background=b,this.game.scale.onSizeChange.add(this.resize,this)},c.prototype.preload=function(){this.game.add.existing(this.background),this.scaleFactor=this.getScale(),this.createObjects(),this.resizeObjects(),this.game.load.onLoadStart.add(this.onPreloadStart,this),this.game.load.onFileComplete.add(this.onPreloadedFile,this),this.game.load.onLoadComplete.add(this.onPreloadEnd,this),this.config.preloadHandler(),0===this.game.load.totalQueuedFiles()&&this.onPreloadEnd()},c.prototype.onPreloadStart=function(){this.t=Date.now()},c.prototype.onPreloadedFile=function(){},c.prototype.onPreloadEnd=function(){this.preloadReady=!0,this.game.input.onUp.add(this.handler,this),this.animateButton()},c.prototype.createObjects=function(){this.spine=this.game.add.spine(this.game.width/2,this.game.height/2,"splash_playcell"),this.spine.setMixByName("intro","loop",.2),this.spine.setMixByName("loop","outro",.2),this.spine.setAnimationByName(0,"intro",!1),this.spine.addAnimationByName(0,"loop",!0,0),this.logo=this.game.add.sprite(this.game.width/2,.4*this.game.height,"playcell_atlas","logo"),this.logo.scale.set(this.scaleFactor),this.logo.anchor.set(.5),this.logo.visible=!1,this.playButton=this.game.add.image(this.game.width/2,this.game.height,"playcell_atlas","button"),this.playButton.anchor.set(.5),this.playButton.scale.set(this.scaleFactor),this.playButton.y=this.logo.y+.75*this.logo.height,this.playButton.inputEnabled=!0,this.playButton.events.onInputUp.add(this.handler,this),this.playButton.visible=!1,this.created=!0},c.prototype.resizeObjects=function(){this.created&&(this.logo.position.set(this.game.width/2,.4*this.game.height),this.logo.scale.set(this.scaleFactor),this.playButton.x=this.game.width/2,this.playButton.y=this.logo.y+.75*this.logo.height)},c.prototype.handler=function(a,b){if(!this.clicked&&"mouseout"!==b.type){this.clicked=!0,this.game.tweens.remove(this.buttonTween),this.game.camera.fade(0,250);var c=this.game.add.tween(this.playButton.scale);c.to({x:0,y:0},250,Phaser.Easing.Back.In).start(),void 0!==this.config.mobilePlayClickhandler?this.config.mobilePlayClickhandler():this.game.state.start(this.config.nextState),this.game.input.onUp.remove(this.handler,this)}},c.prototype.getScale=function(){return this.game.width 1e3&&(this.t=Date.now(),this.tId++,this.tId>=this.preloadTexts.length&&(this.tId=0)),this.dotText.length>=3?this.dotText=".":this.dotText+=".",this.preloadText.setText(this.preloadTexts[this.tId]+this.dotText)},d.prototype.onPreloadEnd=function(){this.preloadReady=!0,this.preloadText.visible=!1,this.game.input.onUp.add(this.handler,this),this.animateButton()},d.prototype.createObjects=function(){this.twirl=this.game.add.image(this.game.width/2,this.game.height/2,"spele_atlas","spele_bg_pattern"),this.twirl.anchor.set(.5),this.twirl.width=this.twirl.height=this.game.width>this.game.height?this.game.width:this.game.height,this.jelly=this.game.add.spine(0,0,"jelly_skeleton"),this.jelly.setAnimationByName(0,"idle",!0),this.preloadText=this.game.add.text(this.game.width/2,this.game.height/2+230,"",{font:"Arial",fontSize:40,fill:"#ffffff",fontWeight:"bold"}),this.preloadText.anchor.set(.5),this.logo=this.game.add.image(0,0,"spele_atlas","spele_logo"),this.logo.anchor.set(.5),d.IdealWidth=1.5*this.logo.getBounds().width;var a="spele_button";this.playButton=this.game.add.button(this.game.width/2,.85*this.game.height,"spele_atlas",this.handler,this,a,a,a,a),this.playButton.anchor.set(.5),this.playButton.scale.set(this.scaleFactor),this.playButton.visible=!1,this.created=!0},d.prototype.handler=function(a,b){if(!this.clicked&&"mouseout"!==b.type){this.clicked=!0,this.game.tweens.remove(this.buttonTween),this.game.camera.fade(0,250);var c=this.game.add.tween(this.playButton.scale);c.to({x:0,y:0},250,Phaser.Easing.Back.In).start(),void 0!==this.config.mobilePlayClickhandler?this.config.mobilePlayClickhandler():this.game.state.start(this.config.nextState),this.game.input.onUp.remove(this.handler,this)}},d.prototype.resizeObjects=function(){this.created&&(this.logo.scale.set(.5*this.scaleFactor),this.logo.y=.25*this.game.height,this.logo.x=this.game.width/2,this.jelly.scale.set(.5*this.scaleFactor),this.jelly.autoUpdateTransform(),this.jelly.x=this.game.width/2,this.jelly.y=this.game.height/2+1.2*this.jelly.height,this.preloadText.x=this.game.width/2,this.preloadText.y=.85*this.game.height,this.preloadText.scale.set(this.scaleFactor),this.playButton.x=this.game.width/2,this.playButton.y=.84*this.game.height,this.twirl.position.set(this.game.width/2,this.game.height/2))},d.prototype.getScale=function(){return a.Utils.isOnDevice(this.game)?this.game.width<1.5*d.IdealWidth?this.game.width/6*4/d.IdealWidth:1:this.game.width 200&&(this.tweenRandomItem(),this.dt=Date.now())},c.prototype.loadUpdate=function(){var a=Date.now()-this.ddt;a>200&&(this.ddt=Date.now(),this.tweenRandomItem())},c.prototype.tweenRandomItem=function(){var a=this.tiles[Math.random()*this.tiles.length|0];this.game.add.tween(a).to({alpha:1},1e3,Phaser.Easing.Linear.None,!0,0,0,!0)},c.prototype.resize=function(){this.scaleFactor=this.getScale(),this.background.resize(this.scaleFactor),this.resizeObjects()},c.prototype.shutdown=function(){b.prototype.shutdown.call(this),this.spine.destroy(!0),this.background.destroy(!0),this.tiles.forEach(function(a){a.destroy(!0)}),this.gradientBitmap.destroy(),this.gradient.destroy(!0),this.logo.destroy(!0),this.balls.forEach(function(a){a.destroy(!0)}),this.spine=null,this.playButton=null,this.background=null,this.gradientBitmap=null,this.gradient=null,this.logo=null,this.tiles=null,this.balls=null,this.game.scale.onSizeChange.remove(this.resize,this),this.game.load.onLoadStart.remove(this.onPreloadStart,this),this.game.load.onFileComplete.remove(this.onPreloadedFile,this),this.game.load.onLoadComplete.remove(this.onPreloadEnd,this),this.game.state.remove(a.Preloader.Name),this.game.state.remove(a.SplashPreloader.Name),this.game.state.remove(this.name)},c}(Phaser.State);b.Name="yepiSplashScreen",b.IdealWidth=463,b.MaxDots=3,a.Yepi=b}(b=a.SplashScreen||(a.SplashScreen={}))}(Fabrique||(Fabrique={}));var Fabrique;!function(a){var b=null,c=function(){function a(){}return a.has=function(a){var c=a.lastIndexOf(".");if(c<=0||c>=a.length-1)return!1;var d=a.lastIndexOf(".",c-1);if(d<=0||d>=c-1)return!1;var e=b[a.slice(c+1)];return!!e&&e.indexOf(" "+a.slice(d+1,c)+" ")>=0},a.is=function(a){var c=a.lastIndexOf(".");if(c<=0||c>=a.length-1)return!1;var d=a.lastIndexOf(".",c-1);if(d>=0)return!1;var e=b[a.slice(c+1)];return!!e&&e.indexOf(" "+a.slice(0,c)+" ")>=0},a.get=function(a){var c=a.lastIndexOf(".");if(c<=0||c>=a.length-1)return null;var d=a.lastIndexOf(".",c-1);if(d<=0||d>=c-1)return null;var e=b[a.slice(c+1)];return e?e.indexOf(" "+a.slice(d+1,c)+" ")<0?null:a.slice(d+1):null},a}(),d=function(){function a(){}return a.setList=function(a){b=a||{}},a.getDomain=function(a){if(null===b)return null;var c=a.match(/\./g);if(c&&c.length<2)return a;var d=a.length-this.getTld(a).length-1;return d=a.lastIndexOf(".",d-1)+1,a.substring(d)||""},a.getTld=function(a){if(null===b)return null;var d=a.lastIndexOf("."),e=a.substring(d+1);return b[e.toLowerCase()]?c.get(a)||e:e},a}();d.KEY="Domains",a.Domain=d}(Fabrique||(Fabrique={}));var Fabrique;!function(a){var b=function(){function b(){}return b.getSourceSite=function(c){void 0===c&&(c=!1);var d=document.referrer||window.location.host;if(c&&(d=window.location.host),d.indexOf("embed.gamedistribution.com")!==-1&&window.location.search.indexOf("gd_sdk_referrer_url")!==-1&&(d=b.getUrlParameter("gd_sdk_referrer_url")||d), +d=decodeURIComponent(d),a.Branding.isBild())return"bildspielt.de";if(a.Branding.isBip())return"bipgaming.com";a.Branding.isSpil()&&(d=b.getReferrer(d)),d=d.indexOf("://")>-1?d.split("/")[2]:d.split("/")[0],d=d.split(":")[0];var e=a.Domain.getDomain(d);return null!==e?e:(3===d.split(".").length&&(d=d.substr(d.indexOf(".")+1)),d)},b.getBrandingDomain=function(){if(window.hasOwnProperty("fbrqBD")&&window.fbrqBD in a.BrandingDomain)return window.fbrqBD;if(a.SplashScreen.Preloader.SPLASH_OVERRIDE!==!1)return a.SplashScreen.Preloader.SPLASH_OVERRIDE;var c=b.getSourceSite();if(a.Branding.isAdmeen())return a.BrandingDomain.Admeen;if(a.Branding.isPlaycellApp()||a.Branding.isBip())return a.BrandingDomain.PlayCell;switch(c){case"spele.nl":return a.BrandingDomain.Spele;case"yepi.com":return a.BrandingDomain.Yepi;case"oyunskor.com":case"barbioyunu.com.tr":case"bebekoyunu.com.tr":case"oyunkolu.com":case"oyungemisi.com":case"oyunlar1.com":case"oyunkuzusu.com":case"kraloyun.com":case"rekoroyun.com":case"oyundedem.com":case"oyunoyna.com":case"pastaoyunu.com.tr":case"playcell.com":return a.BrandingDomain.PlayCell;case"gamecell.com":return a.BrandingDomain.GameCell;case"playxl.com":return a.BrandingDomain.Admeen;default:case"kizi.com":return a.BrandingDomain.Kizi;case"bildspielt.de":return a.BrandingDomain.Bild;case"funnygames.nl":return a.BrandingDomain.Funnygames}},b.getReferrer=function(a){return a.indexOf("?ref=")!==-1?a.substr(a.indexOf("?ref=")+5):a},b.inIframe=function(){try{return window.self!==window.top}catch(a){return!0}},b.getDomain=function(a){var b=document.createElement("a");return b.href=a,b.origin},b.isOnDevice=function(a){return!(!a.device.cordova&&!a.device.crosswalk)&&!/(gamedistribution\.com)/.test(window.location.hostname)},b.isTc=function(){return/(teamcity\.ds\.orangegames\.com)/.test(window.location.host)},b.getRandomRange=function(a,b){return Math.random()*(b-a)+a|0},b.getUrlParameter=function(a){a=a.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");var b=new RegExp("[\\?&]"+a+"=([^]*)"),c=b.exec(location.search);return null===c?"":decodeURIComponent(c[1].replace(/\+/g," "))},b.intTimeToString=function(a){var b=Math.floor(a/3600),c=Math.floor(a%3600/60),d=a%60,e=b<10?"0"+b:b.toString(),f=c<10?"0"+c:c.toString(),g=d<10?"0"+d:d.toString();return e+":"+f+":"+g},b.registerAudioUnlocker=function(a){a.input.touch&&"function"!=typeof a.input.touch.addTouchLockCallback||a.device.android&&a.device.chrome&&a.device.chromeVersion>=55&&(a.sound.touchLocked=!0,a.input.touch.addTouchLockCallback(function(){if(this.noAudio||!this.touchLocked||null!==this._unlockSource)return!0;if(this.usingWebAudio){var a=this.context.createBuffer(1,1,22050);this._unlockSource=this.context.createBufferSource(),this._unlockSource.buffer=a,this._unlockSource.connect(this.context.destination),void 0===this._unlockSource.start?this._unlockSource.noteOn(0):this._unlockSource.start(0),"suspended"===this._unlockSource.context.state&&this._unlockSource.context.resume()}return!0},a.sound,!0))},b}();b.ASSET_LOCATION="patch/cdn/kizi/",a.Utils=b}(Fabrique||(Fabrique={}));var CryptoJS=CryptoJS||function(a,b){var c={},d=c.lib={},e=function(){},f=d.Base={extend:function(a){e.prototype=this;var b=new e;return a&&b.mixIn(a),b.hasOwnProperty("init")||(b.init=function(){b.$super.init.apply(this,arguments)}),b.init.prototype=b,b.$super=this,b},create:function(){var a=this.extend();return a.init.apply(a,arguments),a},init:function(){},mixIn:function(a){for(var b in a)a.hasOwnProperty(b)&&(this[b]=a[b]);a.hasOwnProperty("toString")&&(this.toString=a.toString)},clone:function(){return this.init.prototype.extend(this)}},g=d.WordArray=f.extend({init:function(a,c){a=this.words=a||[],this.sigBytes=c!=b?c:4*a.length},toString:function(a){return(a||i).stringify(this)},concat:function(a){var b=this.words,c=a.words,d=this.sigBytes;if(a=a.sigBytes,this.clamp(),d%4)for(var e=0;e>>2]|=(c[e>>>2]>>>24-e%4*8&255)<<24-(d+e)%4*8;else if(65535 >>2]=c[e>>>2];else b.push.apply(b,c);return this.sigBytes+=a,this},clamp:function(){var b=this.words,c=this.sigBytes;b[c>>>2]&=4294967295<<32-c%4*8,b.length=a.ceil(c/4)},clone:function(){var a=f.clone.call(this);return a.words=this.words.slice(0),a},random:function(b){for(var c=[],d=0;d>>2]>>>24-d%4*8&255;c.push((e>>>4).toString(16)),c.push((15&e).toString(16))}return c.join("")},parse:function(a){for(var b=a.length,c=[],d=0;d>>3]|=parseInt(a.substr(d,2),16)<<24-d%8*4;return new g.init(c,b/2)}},j=h.Latin1={stringify:function(a){var b=a.words;a=a.sigBytes;for(var c=[],d=0;d>>2]>>>24-d%4*8&255));return c.join("")},parse:function(a){for(var b=a.length,c=[],d=0;d>>2]|=(255&a.charCodeAt(d))<<24-d%4*8;return new g.init(c,b)}},k=h.Utf8={stringify:function(a){try{return decodeURIComponent(escape(j.stringify(a)))}catch(a){throw Error("Malformed UTF-8 data")}},parse:function(a){return j.parse(unescape(encodeURIComponent(a)))}},l=d.BufferedBlockAlgorithm=f.extend({reset:function(){this._data=new g.init,this._nDataBytes=0},_append:function(a){"string"==typeof a&&(a=k.parse(a)),this._data.concat(a),this._nDataBytes+=a.sigBytes},_process:function(b){var c=this._data,d=c.words,e=c.sigBytes,f=this.blockSize,h=e/(4*f),h=b?a.ceil(h):a.max((0|h)-this._minBufferSize,0);if(b=h*f,e=a.min(4*b,e),b){for(var i=0;ij;){var k;a:{k=i;for(var l=a.sqrt(k),m=2;m<=l;m++)if(!(k%m)){k=!1;break a}k=!0}k&&(8>j&&(f[j]=h(a.pow(i,.5))),g[j]=h(a.pow(i,1/3)),j++),i++}var n=[],c=c.SHA256=e.extend({_doReset:function(){this._hash=new d.init(f.slice(0))},_doProcessBlock:function(a,b){for(var c=this._hash.words,d=c[0],e=c[1],f=c[2],h=c[3],i=c[4],j=c[5],k=c[6],l=c[7],m=0;64>m;m++){if(16>m)n[m]=0|a[b+m];else{var o=n[m-15],p=n[m-2];n[m]=((o<<25|o>>>7)^(o<<14|o>>>18)^o>>>3)+n[m-7]+((p<<15|p>>>17)^(p<<13|p>>>19)^p>>>10)+n[m-16]}o=l+((i<<26|i>>>6)^(i<<21|i>>>11)^(i<<7|i>>>25))+(i&j^~i&k)+g[m]+n[m],p=((d<<30|d>>>2)^(d<<19|d>>>13)^(d<<10|d>>>22))+(d&e^d&f^e&f),l=k,k=j,j=i,i=h+o|0,h=f,f=e,e=d,d=o+p|0}c[0]=c[0]+d|0,c[1]=c[1]+e|0,c[2]=c[2]+f|0,c[3]=c[3]+h|0,c[4]=c[4]+i|0,c[5]=c[5]+j|0,c[6]=c[6]+k|0,c[7]=c[7]+l|0},_doFinalize:function(){var b=this._data,c=b.words,d=8*this._nDataBytes,e=8*b.sigBytes;return c[e>>>5]|=128<<24-e%32,c[14+(e+64>>>9<<4)]=a.floor(d/4294967296),c[15+(e+64>>>9<<4)]=d,b.sigBytes=4*c.length,this._process(),this._hash},clone:function(){var a=e.clone.call(this);return a._hash=this._hash.clone(),a}});b.SHA256=e._createHelper(c),b.HmacSHA256=e._createHmacHelper(c)}(Math),function(){var a=CryptoJS,b=a.enc.Utf8;a.algo.HMAC=a.lib.Base.extend({init:function(a,c){a=this._hasher=new a.init,"string"==typeof c&&(c=b.parse(c));var d=a.blockSize,e=4*d;c.sigBytes>e&&(c=a.finalize(c)),c.clamp();for(var f=this._oKey=c.clone(),g=this._iKey=c.clone(),h=f.words,i=g.words,j=0;j >>2]>>>24-e%4*8&255)<<16|(b[e+1>>>2]>>>24-(e+1)%4*8&255)<<8|b[e+2>>>2]>>>24-(e+2)%4*8&255,g=0;4>g&&e+.75*g >>6*(3-g)&63));if(b=d.charAt(64))for(;a.length%4;)a.push(b);return a.join("")},parse:function(a){var c=a.length,d=this._map,e=d.charAt(64);e&&-1!=(e=a.indexOf(e))&&(c=e);for(var e=[],f=0,g=0;g >>6-g%4*2;e[f>>>2]|=(h|i)<<24-f%4*8,f++}return b.create(e,f)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}}();var GA;!function(a){!function(a){a[a.ios=0]="ios",a[a.android=1]="android",a[a.windows=2]="windows",a[a.windows_phone=3]="windows_phone",a[a.blackberry=4]="blackberry",a[a.roku=5]="roku",a[a.tizen=6]="tizen",a[a.nacl=7]="nacl",a[a.mac_osx=8]="mac_osx",a[a.webplayer=9]="webplayer"}(a.Platform||(a.Platform={})),a.Platform,function(a){a[a.male=0]="male",a[a.female=1]="female"}(a.Gender||(a.Gender={})),a.Gender}(GA||(GA={}));var GA;!function(a){!function(a){var b=/^[A-Za-z0-9\\s\\-_\\.\\(\\)\\!\\?]{1,64}:[A-Za-z0-9\\s\\-_\\.\\(\\)\\!\\?]{1,64}$/,c=function(){function a(a,c,d,e,f,g){if(this.category=1,this.transaction_num=0,!a||null===a.match(b))throw new Error("Invalid event_id supplied for BusinessEvent");if(this.event_id=a,this.amount=c,!d||null===d.match(/^[A-Z]{3}$/))throw new Error("Invalid currency supplied for BusinessEvent");if(this.currency=d,this.transaction_num=e,f){if(f.length>32)throw new Error("A too long cart_type was supplied, should be max 32 characters");this.cart_type=f}void 0!==g&&(this.receipt_info=g)}return a}();a.Business=c}(a.Events||(a.Events={}))}(GA||(GA={}));var GA;!function(a){!function(a){var b=/^[A-Za-z0-9\\s\\-_\\.\\(\\)\\!\\?]{1,64}(:[A-Za-z0-9\\s\\-_\\.\\(\\)\\!\\?]{1,64}){0,4}$/,c=function(){function a(a,c){if(this.category=0,null===a.match(b))throw new Error("Invalid event_id supplied for DesignEvent");this.event_id=a,void 0!==c&&(this.value=c)}return a}();a.Design=c}(a.Events||(a.Events={}))}(GA||(GA={}));var GA;!function(a){!function(a){!function(a){a[a.design=0]="design",a[a.business=1]="business",a[a.error=2]="error",a[a.user=3]="user",a[a.session_end=4]="session_end",a[a.progression=5]="progression",a[a.resource=6]="resource"}(a.Category||(a.Category={})),a.Category}(a.Events||(a.Events={}))}(GA||(GA={}));var GA;!function(a){!function(a){!function(a){a[a.debug=0]="debug",a[a.info=1]="info",a[a.warning=2]="warning",a[a.error=3]="error",a[a.critical=4]="critical"}(a.ErrorSeverity||(a.ErrorSeverity={}));var b=a.ErrorSeverity,c=function(){function a(a,c){this.category=2,this.message="",this.severity=b[a],void 0!==c&&(this.message=c.substr(0,8192))}return a}();a.Exception=c}(a.Events||(a.Events={}))}(GA||(GA={}));var GA;!function(a){!function(a){var b=function(){function a(){}return a}();a.InitResponse=b;var c=function(){function a(a){this.data=a}return a.prototype.toString=function(){return JSON.stringify(this.data)},a}();a.Init=c}(a.Events||(a.Events={}))}(GA||(GA={}));var GA;!function(a){!function(a){var b=/^(Start|Fail|Complete):[A-Za-z0-9\\s\\-_\\.\\(\\)\\!\\?]{1,64}(:[A-Za-z0-9\\s\\-_\\.\\(\\)\\!\\?]{1,64}){0,2}$/,c=function(){function a(a,c,d){if(this.category=5,null===a.match(b))throw new Error("Invalid event_id supplied for ProgressionEvent");this.event_id=a,void 0!==c&&(this.attempt_num=c),void 0!==d&&(this.score=d)}return a}();a.Progression=c}(a.Events||(a.Events={}))}(GA||(GA={}));var GA;!function(a){!function(a){var b=/^(Sink|Source):[A-Za-z]{1,64}:[A-Za-z0-9\\s\\-_\\.\\(\\)\\!\\?]{1,64}:[A-Za-z0-9\\s\\-_\\.\\(\\)\\!\\?]{1,64}/,c=function(){function a(a,c){if(this.category=6,null===a.match(b))throw new Error("Invalid event_id supplied for ResourceEvent");this.event_id=a,this.amount=c}return a}();a.Resource=c}(a.Events||(a.Events={}))}(GA||(GA={}));var GA;!function(a){!function(a){var b=function(){function a(a){this.category=4,this.length=0,this.length=a}return a}();a.SessionEnd=b}(a.Events||(a.Events={}))}(GA||(GA={}));var GA;!function(a){!function(a){var b=function(){function a(){this.category=3}return a}();a.User=b}(a.Events||(a.Events={}))}(GA||(GA={}));var GA;!function(a){function b(){return null===c.instance&&(c.instance=new c),c.instance}a.getInstance=b;var c=function(){function b(){this.sessionId=a.Utils.createUniqueId(),this.messageQueue=new a.Utils.MessageQueue,this.enabled=!1,this.initProcessed=!1,this.timeoutId=0,this.timeOffset=0}return b.prototype.init=function(c,d,e,f){var g=this;if(null===b.instance)throw new Error("No instance Available!");this.gameKey=c,this.secretKey=d,this.build=e,this.user=f,this.incrementSessionNum(f);var h=new a.Events.Init(a.Utils.getBaseAnnotations());return this.sendEvent(h.toString(),"init",function(a){g.initProcessed=!0,!0===a.enabled&&(g.enabled=!0,g.timeOffset=(Date.now()/1e3|0)-a.server_ts)}),this.scheduleSendData(b.SCHEDULE_TIME),window.addEventListener("beforeunload",function(){g.sendData()}),this},b.prototype.incrementSessionNum=function(b){var c=a.Utils.LocalStorage.getItem(b.user_id);c?a.Utils.LocalStorage.setItem(b.user_id,(parseInt(c)+1).toString()):(c="1",a.Utils.LocalStorage.setItem(b.user_id,c))},b.prototype.addEvent=function(c){if(null===b.instance)throw new Error("No instance Available!");var d=new a.Utils.Message(c,a.Utils.getDefaultAnnotations(this.user,this.sessionId,this.build,this.timeOffset));return this.messageQueue.push(d),this},b.prototype.sendData=function(){if(!1===this.initProcessed)return this.scheduleSendData(1e3),this;if(!1===this.enabled)return this;if(null===b.instance)throw new Error("No instance Available!");for(var a=[],c="";this.messageQueue.length>0;){var d=this.messageQueue.pop();a.push(d.data)}if(0===a.length)return this.scheduleSendData(b.SCHEDULE_TIME),this;try{c=JSON.stringify(a)}catch(a){}return this.sendEvent(c,"events"),this.scheduleSendData(b.SCHEDULE_TIME),this},b.prototype.scheduleSendData=function(a){var b=this;clearTimeout(this.timeoutId),this.timeoutId=setTimeout(function(){b.sendData()},a)},b.prototype.sendEvent=function(c,d,e){if(void 0===e&&(e=null),null===b.instance&&null===this.gameKey)throw new Error("No instance Available!");if(!(c.length<1)){var f=CryptoJS.HmacSHA256(c,this.secretKey),g=CryptoJS.enc.Base64.stringify(f),h=b.API_URL+this.gameKey+"/"+d;a.Utils.postRequest(h,c,g,function(a){if(!1===a.success&&window.console&&console.log(a.message),null!=e){var b="";try{b=JSON.parse(a.message)}catch(a){}e(b)}})}},b.SCHEDULE_TIME=15e3,b.SDK_VERSION="rest api v2",b.API_URL="patch/json/null.json?"+("https:"===document.location.protocol?"https":"http")+"://api.gameanalytics.com/v2/",b.instance=null,b}();a.GameAnalytics=c}(GA||(GA={}));var GA;!function(a){var b=function(){function b(b,c,d,e){if(this.user_id="",b)this.user_id=b;else{var f=a.Utils.LocalStorage.getItem("user");this.user_id=f||a.Utils.createUniqueUserId()}c&&c.length>0&&(this.facebook_id=c,this.user_id=c),a.Utils.LocalStorage.setItem("user",this.user_id),1!==d&&0!==d||(this.gender=d),e&&e.toString().match(/^[0-9]{4}$/gi)&&(this.birth_year=e)}return b}();a.User=b}(GA||(GA={}));var GA;!function(a){!function(b){function c(b,c,d,f){var g={sdk_version:a.GameAnalytics.SDK_VERSION,platform:a.Platform[2],os_version:a.Platform[2]+" 8",device:"unknown",v:2,user_id:b.user_id,client_ts:(Date.now()/1e3|0)+f,manufacturer:"unknown",session_id:c,session_num:e(b.user_id),build:d};b.facebook_id&&(g.facebook_id=b.facebook_id),0!==b.gender&&1!==b.gender||(g.gender=a.Gender[b.gender]),b.birth_year&&(g.birth_year=b.birth_year);var h=navigator.userAgent;return h.match(/iPad|iPod|iPhone/i)?(g.platform=a.Platform[0],g.device=h.match(/iPad|iPod|iPhone/i)[0],g.manufacturer="Apple",g.os_version=a.Platform[0]+" "+h.match(/OS (\b[0-9]+_[0-9]+(?:_[0-9]+)?\b)/)[1].replace(/_/gi,".")):h.match(/Android/i)?(g.platform=a.Platform[1],g.device=h.match(/Mobile/i)?"Phone":"Tablet",g.os_version=a.Platform[1],/Firefox/i.test(h)||(g.os_version+=" "+h.match(/Android (\d+(?:\.\d+)*);/)[1])):h.match(/Windows Phone/i)&&(g.platform=a.Platform[2],g.device="Windows Phone",g.os_version=a.Platform[2]+" "+h.match(/Phone (\d+(?:\.\d+)+);/)[1]),g}function d(){var b={sdk_version:a.GameAnalytics.SDK_VERSION,platform:"unknown",os_version:"unknown"},c=navigator.userAgent;return c.match(/iPad|iPod|iPhone/i)?(b.platform=a.Platform[0],b.os_version=a.Platform[0]+" "+c.match(/OS (\b[0-9]+_[0-9]+(?:_[0-9]+)?\b)/)[1].replace(/_/gi,".")):c.match(/Android/i)?(b.platform=a.Platform[1],b.os_version=a.Platform[1],/Firefox/i.test(c)||(b.os_version+=" "+c.match(/Android (\d+(?:\.\d+)*);/)[1])):c.match(/Windows Phone/i)&&(b.platform=a.Platform[2],b.os_version=a.Platform[2]+" "+c.match(/Phone (\d+(?:\.\d+)+);/)[1]),b}function e(a){var c=b.LocalStorage.getItem(a);return c?parseInt(c):1}b.getDefaultAnnotations=c,b.getBaseAnnotations=d}(a.Utils||(a.Utils={}))}(GA||(GA={}));var GA;!function(a){!function(a){var b=function(){function a(){}return a.getItem=function(b){if(a.Available)return localStorage.getItem(a.CacheKey+b)},a.setItem=function(b,c){a.Available&&localStorage.setItem(a.CacheKey+b,c)},a.Available=!1,a.CacheKey="GA:",a}();a.LocalStorage=b;try{"object"==typeof localStorage&&(localStorage.setItem("testingLocalStorage","yes"),localStorage.removeItem("testingLocalStorage"),b.Available=!0)}catch(a){}}(a.Utils||(a.Utils={}))}(GA||(GA={}));var GA;!function(a){!function(b){var c=function(){function b(a,b){this.event=a,this.annotations=b}return Object.defineProperty(b.prototype,"data",{get:function(){for(var b in this.event)this.event.hasOwnProperty(b)&&(this.annotations[b]="category"===b?a.Events.Category[this.event[b]]:this.event[b]);return this.annotations},enumerable:!0,configurable:!0}),b}();b.Message=c}(a.Utils||(a.Utils={}))}(GA||(GA={}));var GA;!function(a){!function(a){var b=function(){function a(){this.queue=[],this.load()}return a.prototype.push=function(a){this.queue.push(a)},a.prototype.pop=function(){return this.queue.pop()},Object.defineProperty(a.prototype,"length",{get:function(){return this.queue.length},enumerable:!0,configurable:!0}),a.prototype.save=function(){},a.prototype.load=function(){},a}();a.MessageQueue=b}(a.Utils||(a.Utils={}))}(GA||(GA={}));var GA;!function(a){!function(a){function b(a,b,c,d){var e;if(!window.XMLHttpRequest)return void d({success:!1,message:"Error: Unable to send request, XMLHttpRequest not supported"});e=new XMLHttpRequest,e.onreadystatechange=function(){4==e.readyState&&(200===e.status?d({success:!0,message:e.responseText}):e.status>0&&d({success:!1,message:"Error: There was a problem with the request: status "+e.status}))};try{e.open("POST",a,!0),e.setRequestHeader("Authorization",c),e.setRequestHeader("Content-Type","application/json"),e.send(b)}catch(a){d({success:!1,message:"Error: Unable to send request, CORS not allowed."})}}var c=function(){function a(){this.success=!1,this.message=""}return a}();a.Response=c,a.postRequest=b}(a.Utils||(a.Utils={}))}(GA||(GA={}));var GA;!function(a){!function(a){function b(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(a){var b=16*Math.random()|0;return("x"==a?b:3&b|8).toString(16)})}function c(){return b()}a.createUniqueId=b,a.createUniqueUserId=c}(a.Utils||(a.Utils={}))}(GA||(GA={})); \ No newline at end of file diff --git a/vex8/patch/cdn/phaser-ce/filters/BlurX.js b/vex8/patch/cdn/phaser-ce/filters/BlurX.js new file mode 100644 index 000000000..b8a8b155d --- /dev/null +++ b/vex8/patch/cdn/phaser-ce/filters/BlurX.js @@ -0,0 +1,53 @@ +/** +* A horizontal blur filter by Mat Groves http://matgroves.com/ @Doormat23 +*/ +Phaser.Filter.BlurX = function (game) { + + Phaser.Filter.call(this, game); + + this.uniforms.blur = { type: '1f', value: 1 / 512 }; + + this.fragmentSrc = [ + + "precision mediump float;", + "varying vec2 vTextureCoord;", + "varying vec4 vColor;", + "uniform float blur;", + "uniform sampler2D uSampler;", + + "void main(void) {", + + "vec4 sum = vec4(0.0);", + + "sum += texture2D(uSampler, vec2(vTextureCoord.x - 4.0*blur, vTextureCoord.y)) * 0.05;", + "sum += texture2D(uSampler, vec2(vTextureCoord.x - 3.0*blur, vTextureCoord.y)) * 0.09;", + "sum += texture2D(uSampler, vec2(vTextureCoord.x - 2.0*blur, vTextureCoord.y)) * 0.12;", + "sum += texture2D(uSampler, vec2(vTextureCoord.x - blur, vTextureCoord.y)) * 0.15;", + "sum += texture2D(uSampler, vec2(vTextureCoord.x, vTextureCoord.y)) * 0.16;", + "sum += texture2D(uSampler, vec2(vTextureCoord.x + blur, vTextureCoord.y)) * 0.15;", + "sum += texture2D(uSampler, vec2(vTextureCoord.x + 2.0*blur, vTextureCoord.y)) * 0.12;", + "sum += texture2D(uSampler, vec2(vTextureCoord.x + 3.0*blur, vTextureCoord.y)) * 0.09;", + "sum += texture2D(uSampler, vec2(vTextureCoord.x + 4.0*blur, vTextureCoord.y)) * 0.05;", + + "gl_FragColor = sum;", + + "}" + ]; + +}; + +Phaser.Filter.BlurX.prototype = Object.create(Phaser.Filter.prototype); +Phaser.Filter.BlurX.prototype.constructor = Phaser.Filter.BlurX; + +Object.defineProperty(Phaser.Filter.BlurX.prototype, 'blur', { + + get: function() { + return this.uniforms.blur.value / (1/7000); + }, + + set: function(value) { + this.dirty = true; + this.uniforms.blur.value = (1/7000) * value; + } + +}); diff --git a/vex8/patch/cdn/phaser-ce/filters/BlurY.js b/vex8/patch/cdn/phaser-ce/filters/BlurY.js new file mode 100644 index 000000000..9c7d7d51e --- /dev/null +++ b/vex8/patch/cdn/phaser-ce/filters/BlurY.js @@ -0,0 +1,54 @@ +/** +* A vertical blur filter by Mat Groves http://matgroves.com/ @Doormat23 +*/ +Phaser.Filter.BlurY = function (game) { + + Phaser.Filter.call(this, game); + + this.uniforms.blur = { type: '1f', value: 1 / 512 }; + + this.fragmentSrc = [ + + "precision mediump float;", + "varying vec2 vTextureCoord;", + "varying vec4 vColor;", + "uniform float blur;", + "uniform sampler2D uSampler;", + + "void main(void) {", + + "vec4 sum = vec4(0.0);", + + "sum += texture2D(uSampler, vec2(vTextureCoord.x, vTextureCoord.y - 4.0*blur)) * 0.05;", + "sum += texture2D(uSampler, vec2(vTextureCoord.x, vTextureCoord.y - 3.0*blur)) * 0.09;", + "sum += texture2D(uSampler, vec2(vTextureCoord.x, vTextureCoord.y - 2.0*blur)) * 0.12;", + "sum += texture2D(uSampler, vec2(vTextureCoord.x, vTextureCoord.y - blur)) * 0.15;", + "sum += texture2D(uSampler, vec2(vTextureCoord.x, vTextureCoord.y)) * 0.16;", + "sum += texture2D(uSampler, vec2(vTextureCoord.x, vTextureCoord.y + blur)) * 0.15;", + "sum += texture2D(uSampler, vec2(vTextureCoord.x, vTextureCoord.y + 2.0*blur)) * 0.12;", + "sum += texture2D(uSampler, vec2(vTextureCoord.x, vTextureCoord.y + 3.0*blur)) * 0.09;", + "sum += texture2D(uSampler, vec2(vTextureCoord.x, vTextureCoord.y + 4.0*blur)) * 0.05;", + + "gl_FragColor = sum;", + + "}" + + ]; + +}; + +Phaser.Filter.BlurY.prototype = Object.create(Phaser.Filter.prototype); +Phaser.Filter.BlurY.prototype.constructor = Phaser.Filter.BlurY; + +Object.defineProperty(Phaser.Filter.BlurY.prototype, 'blur', { + + get: function() { + return this.uniforms.blur.value / (1/7000); + }, + + set: function(value) { + this.dirty = true; + this.uniforms.blur.value = (1/7000) * value; + } + +}); diff --git a/vex8/patch/cdn/phaser/1.0/phaser-super-storage.min.js b/vex8/patch/cdn/phaser/1.0/phaser-super-storage.min.js new file mode 100644 index 000000000..1a676a3eb --- /dev/null +++ b/vex8/patch/cdn/phaser/1.0/phaser-super-storage.min.js @@ -0,0 +1,10 @@ +/*! + * phaser-super-storage - version 1.0.4 + * A cross platform storage plugin for Phaser + * + * OrangeGames + * Build at 02-10-2017 + * Released under MIT License + */ + +var PhaserSuperStorage;!function(a){var b;!function(a){var b=function(){function a(a){void 0===a&&(a=""),this.namespace="",this.forcePromises=!1,this.setNamespace(a)}return Object.defineProperty(a.prototype,"length",{get:function(){return null!==this.getNameSpaceMatches()?this.getNameSpaceMatches().length:0},enumerable:!0,configurable:!0}),a.prototype.key=function(a){var b=this.getNameSpaceMatches()[a],c=this.getCookiesForNameSpace()[b]||null;return this.forcePromises?this.promisefy(c):c},a.prototype.getItem=function(a){var b=this.getCookiesForNameSpace()[a]||null;return this.forcePromises?this.promisefy(b):b},a.prototype.setItem=function(a,b){if(document.cookie=encodeURIComponent(this.namespace+a)+"="+encodeURIComponent(b)+"; expires=Tue, 19 Jan 2038 03:14:07 GMT; path=/",this.forcePromises)return this.promisefy(null)},a.prototype.removeItem=function(a){if(document.cookie=encodeURIComponent(this.namespace+a)+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/",this.forcePromises)return this.promisefy(null)},a.prototype.clear=function(){var a=this.getCookiesForNameSpace();for(var b in a)a.hasOwnProperty(b)&&this.removeItem(b);if(this.forcePromises)return this.promisefy(null)},a.prototype.setNamespace=function(a){if(a&&(this.namespace=a+":",this.reg=new RegExp("^"+this.namespace+"[a-zA-Z0-9]*","g")),this.forcePromises)return this.promisefy(a)},a.prototype.getNameSpaceMatches=function(){var a=this,b=decodeURIComponent(document.cookie).split("; ");return b.filter(function(b){return null!==b.match(a.reg)&&b.match(a.reg).length>0})},a.prototype.getCookiesForNameSpace=function(){var a=this,b={};return this.getNameSpaceMatches().forEach(function(c){var d=c.replace(a.namespace,"").split("=");b[d[0]]=d[1]}),b},a.prototype.promisefy=function(a){return new Promise(function(b,c){b(a)})},a}();a.CookieStorage=b}(b=a.StorageAdapters||(a.StorageAdapters={}))}(PhaserSuperStorage||(PhaserSuperStorage={}));var PhaserSuperStorage;!function(a){var b;!function(a){var b=function(){function a(){this.namespace="",this.keys=[]}return Object.defineProperty(a.prototype,"forcePromises",{get:function(){return!0},set:function(a){},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"length",{get:function(){return this.keys.length},enumerable:!0,configurable:!0}),a.prototype.key=function(a){return this.promisefy(this.keys[a])},a.prototype.getItem=function(a){var b=this;return new Promise(function(c,d){NativeStorage.getItem(b.namespace+a,function(a){c(a)},function(a){2===a.code?c(null):d(a)})})},a.prototype.setItem=function(a,b){var c=this;return a.length<1?void console.error("CordovaStorage: Key cannot be an empty string!"):new Promise(function(d,e){NativeStorage.setItem(c.namespace+a,b,function(){c.keys.indexOf(a)<0&&(c.keys.push(a),c.save()),d(null)},function(a){e(a)})})},a.prototype.removeItem=function(a){var b=this;return new Promise(function(c,d){NativeStorage.remove(b.namespace+a,function(){var d=b.keys.indexOf(a);d>=0&&(b.keys.splice(d,1),b.save()),c(null)},function(a){d(a)})})},a.prototype.clear=function(){var a=this;return new Promise(function(b,c){for(var d=0,e=0;e =a.keys.length&&(a.keys=[],a.save(),b(null))},function(a){c(a)})})},a.prototype.setNamespace=function(a){var b=this;return void 0===a&&(a=""),this.namespace=a+":",this.keys=[],new Promise(function(a,c){b.load().then(a)["catch"](a)})},a.prototype.promisefy=function(a){return new Promise(function(b,c){b(a)})},a.prototype.load=function(){var a=this;return new Promise(function(b,c){NativeStorage.getItem(a.namespace,function(c){a.keys=JSON.parse(c),b(null)},function(a){c(a)})})},a.prototype.save=function(){NativeStorage.setItem(this.namespace,JSON.stringify(this.keys),function(){},function(a){console.warn("CordovaStorage: Failed to save keys of namespace.")})},a}();a.CordovaStorage=b}(b=a.StorageAdapters||(a.StorageAdapters={}))}(PhaserSuperStorage||(PhaserSuperStorage={}));var PhaserSuperStorage;!function(a){var b;!function(b){var c=function(){function b(a,b){void 0===a&&(a=""),void 0===b&&(b="*"),this.namespace="",this.expectedOrigin="",this.storageLength=0,this.enabled=!1,""!==a&&this.setNamespace(a),this.expectedOrigin=b}return Object.defineProperty(b.prototype,"forcePromises",{get:function(){return!0},set:function(a){},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"length",{get:function(){return this.storageLength},enumerable:!0,configurable:!0}),b.prototype.init=function(){var b=this;return this.sendMessage({command:a.StorageCommand.init}).then(function(){b.enabled=!0})},b.prototype.key=function(b){return this.sendMessage({command:a.StorageCommand.key,value:b})},b.prototype.getItem=function(b){return this.sendMessage({command:a.StorageCommand.getItem,key:b})},b.prototype.setItem=function(b,c){return this.sendMessage({command:a.StorageCommand.setItem,key:b,value:c})},b.prototype.removeItem=function(b){return this.sendMessage({command:a.StorageCommand.removeItem,key:b})},b.prototype.clear=function(){return this.sendMessage({command:a.StorageCommand.clear})},b.prototype.setNamespace=function(b){return this.sendMessage({command:a.StorageCommand.setNamespace,value:b})},b.prototype.sendMessage=function(b){var c,d=this;b.command===a.StorageCommand.init&&(c=!1);var e=new MessageChannel;return new Promise(function(f,g){d.enabled||b.command===a.StorageCommand.init||g("Messaging not enabled!"),b.command===a.StorageCommand.init&&setTimeout(function(){c||g("Unable to get a response in time")},1e3),e.port1.onmessage=function(b){console.log("Frame received message",b);var e=a.StorageUtils.validateMessage(b.data);switch(e.command===a.StorageCommand.init&&(c=!0),void 0!==e.status&&"ok"===e.status||g(e.value),void 0!==e.length&&(d.storageLength=e.length),e.command){case a.StorageCommand.setNamespace:d.namespace=e.value+":";case a.StorageCommand.getItem:case a.StorageCommand.length:case a.StorageCommand.key:f(e.value);break;case a.StorageCommand.setItem:case a.StorageCommand.removeItem:case a.StorageCommand.clear:case a.StorageCommand.init:f(e.status);break;default:g(e.value)}},(d.enabled||b.command===a.StorageCommand.init)&&(console.log("Sending message to parent: ",b),window.parent.postMessage(b,d.expectedOrigin,[e.port2]))})},b}();b.IframeStorage=c}(b=a.StorageAdapters||(a.StorageAdapters={}))}(PhaserSuperStorage||(PhaserSuperStorage={}));var PhaserSuperStorage;!function(a){var b;!function(b){var c=function(){function b(a){void 0===a&&(a=""),this.namespace="",this.forcePromises=!1,this.setNamespace(a)}return Object.defineProperty(b.prototype,"length",{get:function(){var b=Object.keys(localStorage);return a.StorageUtils.nameSpaceKeyFilter(b,this.namespace).length},enumerable:!0,configurable:!0}),b.prototype.key=function(a){return this.forcePromises?this.promisefy(this._key,arguments):this._key(a)},b.prototype._key=function(b){var c=Object.keys(localStorage),d=a.StorageUtils.nameSpaceKeyFilter(c,this.namespace),e=localStorage.getItem(d[b]);return e},b.prototype.getItem=function(a){return this.forcePromises?this.promisefy(this._getItem,arguments):this._getItem(a)},b.prototype._getItem=function(a){return localStorage.getItem(this.namespace+a)},b.prototype.setItem=function(a,b){return this.forcePromises?this.promisefy(this._setItem,arguments):this._setItem(a,b)},b.prototype._setItem=function(a,b){return localStorage.setItem(this.namespace+a,b)},b.prototype.removeItem=function(a){return this.forcePromises?this.promisefy(this._removeItem,arguments):this._removeItem(a)},b.prototype._removeItem=function(a){return localStorage.removeItem(this.namespace+a)},b.prototype.clear=function(){return this.forcePromises?this.promisefy(this._clear,arguments):this._clear()},b.prototype._clear=function(){for(var b=Object.keys(localStorage),c=a.StorageUtils.nameSpaceKeyFilter(b,this.namespace),d=0;d window.innerWidth||c>window.innerHeight)&&(d=!0),d&&b===window.innerWidth&&c===window.innerHeight&&(a.focusOut instanceof Phaser.Signal&&a.focusOut.dispatch(),clearInterval(e))},50)},a.prototype.blur=function(){this.element.blur()},Object.defineProperty(a.prototype,"hasSelection",{get:function(){return this.type===b.number?!1:this.element.selectionStart!==this.element.selectionEnd},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"caretStart",{get:function(){return this.element.selectionEnd},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"caretEnd",{get:function(){return this.element.selectionStart},enumerable:!0,configurable:!0}),a.prototype.getCaretPosition=function(){return this.type===b.number?-1:this.element.selectionStart},a.prototype.setCaretPosition=function(a){this.type!==b.number&&this.element.setSelectionRange(a,a)},a}();a.InputElement=c}(PhaserInput||(PhaserInput={}));var PhaserInput;!function(a){var b;!function(a){a[a.none=0]="none",a[a.lower=1]="lower",a[a.upper=2]="upper"}(b=a.ForceCase||(a.ForceCase={}));var c=function(c){function d(d,e,f,g){void 0===g&&(g={});var h=c.call(this,d,e,f)||this;return h.focusOutOnEnter=!0,h.placeHolder=null,h.box=null,h.focus=!1,h.value="",h.windowScale=1,h.blockInput=!0,h.focusIn=new Phaser.Signal,h.focusOut=new Phaser.Signal,h.blink=!0,h.cnt=0,h.inputOptions=g,h.inputOptions.width="number"==typeof g.width?g.width:150,h.inputOptions.padding="number"==typeof g.padding?g.padding:0,h.inputOptions.textAlign=g.textAlign||"left",h.inputOptions.type=g.type||a.InputType.text,h.inputOptions.forceCase=g.forceCase?g.forceCase:b.none,h.inputOptions.borderRadius="number"==typeof g.borderRadius?g.borderRadius:0,h.inputOptions.height="number"==typeof g.height?g.height:14,h.inputOptions.fillAlpha=void 0===g.fillAlpha?1:g.fillAlpha,h.inputOptions.selectionColor=g.selectionColor||"rgba(179, 212, 253, 0.8)",h.inputOptions.zoom=d.device.desktop?!1:g.zoom||!1,h.box=new a.InputBox(h.game,g),h.setTexture(h.box.generateTexture()),h.textMask=new a.TextMask(h.game,g),h.addChild(h.textMask),h.domElement=new a.InputElement(h.game,"phaser-input-"+(1e4*Math.random()|0).toString(),h.inputOptions.type,h.value,h.focusIn,h.focusOut),h.domElement.setMax(h.inputOptions.max,h.inputOptions.min),h.selection=new a.SelectionHighlight(h.game,h.inputOptions),h.selection.mask=h.textMask,h.addChild(h.selection),g.placeHolder&&g.placeHolder.length>0&&(h.placeHolder=new Phaser.Text(d,h.inputOptions.padding,h.inputOptions.padding,g.placeHolder,{font:g.font||"14px Arial",fontWeight:g.fontWeight||"normal",fill:g.placeHolderColor||"#bfbebd"}),h.placeHolder.mask=h.textMask,h.addChild(h.placeHolder)),h.cursor=new Phaser.Text(d,h.inputOptions.padding,h.inputOptions.padding-2,"|",{font:g.font||"14px Arial",fontWeight:g.fontWeight||"normal",fill:g.cursorColor||"#000000"}),h.cursor.visible=!1,h.addChild(h.cursor),h.text=new Phaser.Text(d,h.inputOptions.padding,h.inputOptions.padding,"",{font:g.font||"14px Arial",fontWeight:g.fontWeight||"normal",fill:g.fill||"#000000"}),h.text.mask=h.textMask,h.addChild(h.text),h.offscreenText=new Phaser.Text(d,h.inputOptions.padding,h.inputOptions.padding,"",{font:g.font||"14px Arial",fontWeight:g.fontWeight||"normal",fill:g.fill||"#000000"}),h.updateTextAlignment(),h.inputEnabled=!0,h.input.useHandCursor=!0,h.game.input.onDown.add(h.checkDown,h),h.focusOut.add(function(){a.KeyboardOpen&&(h.endFocus(),h.inputOptions.zoom&&h.zoomOut())}),h}return __extends(d,c),Object.defineProperty(d.prototype,"width",{get:function(){return this.inputOptions.width},set:function(a){this.inputOptions.width=a,this.box.resize(a),this.textMask.resize(a),this.updateTextAlignment()},enumerable:!0,configurable:!0}),d.prototype.updateTextAlignment=function(){switch(this.inputOptions.textAlign){case"left":this.text.anchor.set(0,0),this.text.x=this.inputOptions.padding,null!==this.placeHolder&&this.placeHolder.anchor.set(0,0),this.cursor.x=this.inputOptions.padding+this.getCaretPosition();break;case"center":this.text.anchor.set(.5,0),this.text.x=this.inputOptions.padding+this.inputOptions.width/2,null!==this.placeHolder&&(this.placeHolder.anchor.set(.5,0),this.placeHolder.x=this.inputOptions.padding+this.inputOptions.width/2),this.cursor.x=this.inputOptions.padding+this.inputOptions.width/2-this.text.width/2+this.getCaretPosition();break;case"right":this.text.anchor.set(1,0),this.text.x=this.inputOptions.padding+this.inputOptions.width,null!==this.placeHolder&&(this.placeHolder.anchor.set(1,0),this.placeHolder.x=this.inputOptions.padding+this.inputOptions.width),this.cursor.x=this.inputOptions.padding+this.inputOptions.width}},d.prototype.checkDown=function(b){if(this.value||this.resetText(),this.input.checkPointerOver(b)){if(this.focus)return void this.setCaretOnclick(b);this.inputOptions.zoom&&!a.Zoomed&&this.zoomIn(),this.startFocus()}else this.focus===!0&&(this.endFocus(),this.inputOptions.zoom&&this.zoomOut())},d.prototype.update=function(){if(this.text.update(),this.placeHolder&&this.placeHolder.update(),this.focus){if(30!==this.cnt)return this.cnt++;this.cursor.visible=this.blink,this.blink=!this.blink,this.cnt=0}},d.prototype.endFocus=function(){var b=this;this.focus&&(this.domElement.removeEventListener(),this.blockInput===!0&&this.domElement.unblockKeyDownEvents(),this.focus=!1,0===this.value.length&&null!==this.placeHolder&&(this.placeHolder.visible=!0),this.cursor.visible=!1,this.game.device.desktop?setTimeout(function(){b.domElement.blur()},0):this.domElement.blur(),this.game.device.desktop||(a.KeyboardOpen=!1,a.onKeyboardClose.dispatch()))},d.prototype.startFocus=function(){var b=this;this.focus=!0,null!==this.placeHolder&&(this.placeHolder.visible=!1),this.game.device.desktop?setTimeout(function(){b.keyUpProcessor()},0):this.keyUpProcessor(),this.game.device.desktop||(a.KeyboardOpen=!0,a.onKeyboardOpen.dispatch())},d.prototype.keyUpProcessor=function(){this.domElement.addKeyUpListener(this.keyListener.bind(this)),this.domElement.focus(),this.blockInput===!0&&this.domElement.blockKeyDownEvents()},d.prototype.updateText=function(){var b="";if(this.inputOptions.type===a.InputType.password)for(var c=0;c parseInt(this.inputOptions.max)?this.value=this.domElement.value=this.inputOptions.max:this.value}else b=this.value;if(this.text.setText(b),this.text.width>this.inputOptions.width)this.text.anchor.x=1,this.text.x=this.inputOptions.padding+this.inputOptions.width;else switch(this.inputOptions.textAlign){case"left":this.text.anchor.set(0,0),this.text.x=this.inputOptions.padding;break;case"center":this.text.anchor.set(.5,0),this.text.x=this.inputOptions.padding+this.inputOptions.width/2;break;case"right":this.text.anchor.set(1,0),this.text.x=this.inputOptions.padding+this.inputOptions.width}},d.prototype.updateCursor=function(){if(this.text.width>this.inputOptions.width||"right"===this.inputOptions.textAlign)this.cursor.x=this.inputOptions.padding+this.inputOptions.width;else switch(this.inputOptions.textAlign){case"left":this.cursor.x=this.inputOptions.padding+this.getCaretPosition();break;case"center":this.cursor.x=this.inputOptions.padding+this.inputOptions.width/2-this.text.width/2+this.getCaretPosition()}},d.prototype.getCaretPosition=function(){var b=this.domElement.getCaretPosition();if(-1===b)return this.text.width;var c=this.value;if(this.inputOptions.type===a.InputType.password){c="";for(var d=0;d =e*c&&(e+1)*c>=b){d=e;break}b>(this.value.length-1)*c&&(d=this.value.length),this.startFocus(),this.domElement.setCaretPosition(d),this.updateCursor()},d.prototype.updateSelection=function(){if(this.domElement.hasSelection){var b=this.value;if(this.inputOptions.type===a.InputType.password){b="";for(var c=0;c window.innerWidth?this.windowScale=this.game.width/(1.5*b.width):this.windowScale=this.game.width/2/(1.5*b.width);var c=(this.game.width-1.5*b.width)/2/this.windowScale;this.game.world.scale.set(this.game.world.scale.x*this.windowScale,this.game.world.scale.y*this.windowScale),this.game.world.pivot.set(b.x-c,b.y-2*this.inputOptions.padding),a.Zoomed=!0}},d.prototype.zoomOut=function(){a.Zoomed&&(this.game.world.scale.set(this.game.world.scale.x/this.windowScale,this.game.world.scale.y/this.windowScale),this.game.world.pivot.set(0,0),a.Zoomed=!1)},d.prototype.keyListener=function(a){return this.value=this.getFormattedText(this.domElement.value),13===a.keyCode?void(this.focusOutOnEnter&&this.endFocus()):(this.updateText(),this.updateCursor(),this.updateSelection(),void a.preventDefault())},d.prototype.destroy=function(a){this.game.input.onDown.remove(this.checkDown,this),this.focusIn.removeAll(),this.focusOut.removeAll(),this.domElement.destroy(),c.prototype.destroy.call(this,a)},d.prototype.resetText=function(){this.setText()},d.prototype.setText=function(a){void 0===a&&(a=""),null!==this.placeHolder&&(a.length>0?this.placeHolder.visible=!1:this.placeHolder.visible=!0),this.value=this.getFormattedText(a),this.domElement.value=this.value,this.updateText(),this.updateCursor(),this.endFocus()},d.prototype.getFormattedText=function(a){switch(this.inputOptions.forceCase){default:case b.none:return a;case b.lower:return a.toLowerCase();case b.upper:return a.toUpperCase()}},d}(Phaser.Sprite);a.InputField=c}(PhaserInput||(PhaserInput={}));var PhaserInput;!function(a){var b=function(a){function b(b,c){var d=a.call(this,b,0,0)||this;d.bgColor=c.backgroundColor?parseInt(c.backgroundColor.slice(1),16):16777215,d.borderRadius=c.borderRadius="number"==typeof c.borderRadius?c.borderRadius:0,d.borderWidth=c.borderWidth="number"==typeof c.borderWidth?c.borderWidth:1,d.borderColor=c.borderColor?parseInt(c.borderColor.slice(1),16):9803157,d.boxAlpha=c.fillAlpha,d.padding=c.padding;var e,e=c.height,f=c.width;c.font&&(e=Math.max(parseInt(c.font.substr(0,c.font.indexOf("px")),10),e)),d.boxHeight=2*d.padding+e;var f=c.width;return d.boxWidth=2*d.padding+f,d.drawBox(),d}return __extends(b,a),b.prototype.resize=function(a){this.boxWidth=2*this.padding+a,this.drawBox()},b.prototype.drawBox=function(){this.clear().beginFill(this.bgColor,this.boxAlpha).lineStyle(this.borderWidth,this.borderColor,this.boxAlpha),this.borderRadius>0?this.drawRoundedRect(0,0,this.boxWidth,this.boxHeight,this.borderRadius):this.drawRect(0,0,this.boxWidth,this.boxHeight)},b}(Phaser.Graphics);a.InputBox=b}(PhaserInput||(PhaserInput={}));var PhaserInput;!function(a){var b=function(a){function b(b,c){var d=a.call(this,b,c.padding,c.padding)||this;return d.inputOptions=c,d}return __extends(b,a),b.prototype.updateSelection=function(a){var c=Phaser.Color.webToColor(this.inputOptions.selectionColor);this.clear(),this.beginFill(b.rgb2hex(c),c.a),this.drawRect(a.x,a.y,a.width,a.height-this.inputOptions.padding)},b.rgb2hex=function(a){return parseInt(("0"+a.r.toString(16)).slice(-2)+("0"+a.g.toString(16)).slice(-2)+("0"+a.b.toString(16)).slice(-2),16)},b}(Phaser.Graphics);a.SelectionHighlight=b}(PhaserInput||(PhaserInput={}));var PhaserInput;!function(a){var b=function(a){function b(b,c){var d=a.call(this,b,c.padding,c.padding)||this,e=c.height;return c.font&&(e=Math.max(parseInt(c.font.substr(0,c.font.indexOf("px")),10),e)),d.maskWidth=c.width,d.maskHeight=1.3*e,d.drawMask(),d}return __extends(b,a),b.prototype.resize=function(a){this.maskWidth=a,this.drawMask()},b.prototype.drawMask=function(){this.clear().beginFill(0).drawRect(0,0,this.maskWidth,this.maskHeight).endFill()},b}(Phaser.Graphics);a.TextMask=b}(PhaserInput||(PhaserInput={}));var PhaserInput;!function(a){a.Zoomed=!1,a.KeyboardOpen=!1,a.onKeyboardOpen=new Phaser.Signal,a.onKeyboardClose=new Phaser.Signal;var b=function(b){function c(a,c){var d=b.call(this,a,c)||this;return d.addInputFieldFactory(),d}return __extends(c,b),c.prototype.addInputFieldFactory=function(){Phaser.GameObjectFactory.prototype.inputField=function(b,c,d,e){void 0===e&&(e=this.world);var f=new a.InputField(this.game,b,c,d);return e.add(f)},Phaser.GameObjectCreator.prototype.inputField=function(b,c,d){return new a.InputField(this.game,b,c,d)}},c}(Phaser.Plugin);b.Zoomed=!1,b.KeyboardOpen=!1,b.onKeyboardOpen=new Phaser.Signal,b.onKeyboardClose=new Phaser.Signal,a.Plugin=b}(PhaserInput||(PhaserInput={})); \ No newline at end of file diff --git a/vex8/patch/cdn/phaser/2.0/phaser-nineslice.min.js b/vex8/patch/cdn/phaser/2.0/phaser-nineslice.min.js new file mode 100644 index 000000000..79e858a72 --- /dev/null +++ b/vex8/patch/cdn/phaser/2.0/phaser-nineslice.min.js @@ -0,0 +1,10 @@ +/*! + * phaser-nineslice - version 2.0.1 + * NineSlice plugin for Phaser.io! + * + * Azerion + * Build at 15-03-2019 + * Released under MIT License + */ + +var __extends=this&&this.__extends||function(){var a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c])};return function(b,c){function d(){this.constructor=b}a(b,c),b.prototype=null===c?Object.create(c):(d.prototype=c.prototype,new d)}}(),PhaserNineSlice;!function(a){var b=function(a){function b(b,c,d,e,f,g,h,i){var j=a.call(this,b,c,d,e,f)||this;return j.baseTexture=j.texture.baseTexture,j.baseFrame=j.texture.frame,null===f||i?i||(i=b.cache.getNineSlice(e)):i=b.cache.getNineSlice(f),void 0===i?j:(j.topSize=i.top,i.left?j.leftSize=i.left:j.leftSize=j.topSize,i.right?j.rightSize=i.right:j.rightSize=j.leftSize,i.bottom?j.bottomSize=i.bottom:j.bottomSize=j.topSize,j.loadTexture(new Phaser.RenderTexture(j.game,j.localWidth,j.localHeight)),j.resize(g,h),j)}return __extends(b,a),b.prototype.renderTexture=function(){this.texture.resize(this.localWidth,this.localHeight,!0);var a=[0,this.leftSize,this.baseFrame.width-this.rightSize,this.baseFrame.width],b=[0,this.topSize,this.baseFrame.height-this.bottomSize,this.baseFrame.height],c=[0,this.leftSize,this.localWidth-this.rightSize,this.localWidth],d=[0,this.topSize,this.localHeight-this.bottomSize,this.localHeight];this.texture.clear();for(var e=0;e<3;e++)for(var f=0;f<3;f++){var g=this.createTexturePart(a[f],b[e],a[f+1]-a[f],b[e+1]-b[e]);g.width=c[f+1]-c[f],g.height=d[e+1]-d[e],this.texture.renderXY(g,c[f],d[e])}},b.prototype.resize=function(a,b){this.localWidth=a,this.localHeight=b,this.renderTexture()},b.prototype.destroy=function(){for(var b=[],c=0;c 0&&(b+="&");var d=Array.isArray(a[c])?a[c].join(","):a[c];b+=c+"="+d}return"&cust_params="+encodeURIComponent(b)}return""},b.prototype.areAdsEnabled=function(){var a=this,b=document.createElement("div");b.innerHTML=" ",b.className="adsbox",b.style.position="absolute",b.style.fontSize="10px",document.body.appendChild(b);var c=function(){var a=!0;return 0===b.offsetHeight&&(a=!1),b.parentNode.removeChild(b),a};window.setTimeout(function(){a.adsEnabled=c()},100)},b}();b.Ima3=c}(b=a.AdProvider||(a.AdProvider={}))}(PhaserAds||(PhaserAds={})); +//# sourceMappingURL=/sm/2aba612a177eb2e9b076afc8939fdf3db69b1762b279c64708090f70c31d17da.map \ No newline at end of file diff --git a/vex8/patch/cdn/phaser/3.0/phaser-spine.min.js b/vex8/patch/cdn/phaser/3.0/phaser-spine.min.js new file mode 100644 index 000000000..a2033c15b --- /dev/null +++ b/vex8/patch/cdn/phaser/3.0/phaser-spine.min.js @@ -0,0 +1,19 @@ +/** + * Combined by jsDelivr. + * Original files: + * - /npm/@orange-games/phaser-spine@3.0.9/build/phaser-spine.min.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +/*! + * phaser-spine - version 3.0.9 + * Spine plugin for Phaser.io! + * + * OrangeGames + * Build at 10-07-2017 + * Released under MIT License + */ + +var spine={radDeg:180/Math.PI,degRad:Math.PI/180,Float32Array:"undefined"==typeof Float32Array?Array:Float32Array,Uint32Array:"undefined"==typeof Uint32Array?Array:Uint32Array,Uint16Array:"undefined"==typeof Uint16Array?Array:Uint16Array};spine.temp=new spine.Float32Array(2),spine.BoneData=function(a,b){this.name=a,this.parent=b},spine.BoneData.prototype={length:0,x:0,y:0,rotation:0,scaleX:1,scaleY:1,inheritScale:!0,inheritRotation:!0},spine.BlendMode={normal:0,additive:1,multiply:2,screen:3},spine.SlotData=function(a,b){this.name=a,this.boneData=b},spine.SlotData.prototype={r:1,g:1,b:1,a:1,attachmentName:null,blendMode:spine.BlendMode.normal},spine.IkConstraintData=function(a){this.name=a,this.bones=[]},spine.IkConstraintData.prototype={target:null,bendDirection:1,mix:1},spine.TransformConstraintData=function(a){this.name=a},spine.TransformConstraintData.prototype={bone:null,target:null,translateMix:1,x:0,y:0},spine.Bone=function(a,b,c){this.data=a,this.skeleton=b,this.parent=c,this.setToSetupPose()},spine.Bone.yDown=!1,spine.Bone.prototype={x:0,y:0,rotation:0,scaleX:1,scaleY:1,a:0,b:0,worldX:0,c:0,d:0,worldY:0,worldSignX:1,worldSignY:1,update:function(){this.updateWorldTransform(this.x,this.y,this.rotation,this.scaleX,this.scaleY)},updateWorldTransformWith:function(){this.updateWorldTransform(this.x,this.y,this.rotation,this.scaleX,this.scaleY)},updateWorldTransform:function(a,b,c,d,e){this.appliedRotation=c,this.appliedScaleX=d,this.appliedScaleY=e,c*=spine.degRad;var f=Math.cos(c),g=Math.sin(c),h=f*d,i=-g*e,j=g*d,k=f*e,l=this.parent;if(!l){var m=this.skeleton;return m.flipX&&(a=-a,h=-h,i=-i),m.flipY!=spine.Bone.yDown&&(b=-b,j=-j,k=-k),this.a=h,this.b=i,this.c=j,this.d=k,this.worldX=a,this.worldY=b,this.worldSignX=d<0?-1:1,void(this.worldSignY=e<0?-1:1)}var n=l.a,o=l.b,p=l.c,q=l.d;if(this.worldX=n*a+o*b+l.worldX,this.worldY=p*a+q*b+l.worldY,this.worldSignX=l.worldSignX*(d<0?-1:1),this.worldSignY=l.worldSignY*(e<0?-1:1),this.data.inheritRotation&&this.data.inheritScale)this.a=n*h+o*j,this.b=n*i+o*k,this.c=p*h+q*j,this.d=p*i+q*k;else{if(this.data.inheritRotation){n=1,o=0,p=0,q=1;do{c=l.appliedRotation*spine.degRad,f=Math.cos(c),g=Math.sin(c);var r=n*f+o*g;if(o=n*-g+o*f,n=r,r=p*f+q*g,q=p*-g+q*f,p=r,!l.data.inheritRotation)break;l=l.parent}while(l);this.a=n*h+o*j,this.b=n*i+o*k,this.c=p*h+q*j,this.d=p*i+q*k}else if(this.data.inheritScale){n=1,o=0,p=0,q=1;do{c=l.appliedRotation*spine.degRad,f=Math.cos(c),g=Math.sin(c);var s=l.appliedScaleX,t=l.appliedScaleY,u=f*s,v=-g*t,w=g*s,x=f*t,r=n*u+o*w;if(o=n*v+o*x,n=r,r=p*u+q*w,q=p*v+q*x,p=r,s<0&&(c=-c),f=Math.cos(-c),g=Math.sin(-c),r=n*f+o*g,o=n*-g+o*f,n=r,r=p*f+q*g,q=p*-g+q*f,p=r,!l.data.inheritScale)break;l=l.parent}while(l);this.a=n*h+o*j,this.b=n*i+o*k,this.c=p*h+q*j,this.d=p*i+q*k}else this.a=h,this.b=i,this.c=j,this.d=k;this.skeleton.flipX&&(this.a=-this.a,this.b=-this.b),this.skeleton.flipY!=spine.Bone.yDown&&(this.c=-this.c,this.d=-this.d)}},setToSetupPose:function(){var a=this.data;this.x=a.x,this.y=a.y,this.rotation=a.rotation,this.scaleX=a.scaleX,this.scaleY=a.scaleY},getWorldRotationX:function(){return Math.atan2(this.c,this.a)*spine.radDeg},getWorldRotationY:function(){return Math.atan2(this.d,this.b)*spine.radDeg},getWorldScaleX:function(){return Math.sqrt(this.a*this.a+this.b*this.b)*this.worldSignX},getWorldScaleY:function(){return Math.sqrt(this.c*this.c+this.d*this.d)*this.worldSignY},worldToLocal:function(a){var b=a[0]-this.worldX,c=a[1]-this.worldY,d=this.a,e=this.b,f=this.c,g=this.d,h=1/(d*g-e*f);return a[0]=b*g*h-c*e*h,a[1]=c*d*h-b*f*h,a},localToWorld:function(a){var b=a[0],c=a[1];return a[0]=b*this.a+c*this.b+this.worldX,a[1]=b*this.c+c*this.d+this.worldY,a}},spine.Slot=function(a,b){this.data=a,this.bone=b,this.attachmentVertices=new spine.Float32Array,this.setToSetupPose()},spine.Slot.prototype={r:1,g:1,b:1,a:1,_attachmentTime:0,attachment:null,setAttachment:function(a){this.attachment!=a&&(this.attachment=a,this._attachmentTime=this.bone.skeleton.time,this.attachmentVertices.length=0)},setAttachmentTime:function(a){this._attachmentTime=this.bone.skeleton.time-a},getAttachmentTime:function(){return this.bone.skeleton.time-this._attachmentTime},setToSetupPose:function(){var a=this.data;if(this.r=a.r,this.g=a.g,this.b=a.b,this.a=a.a,a.attachmentName){for(var b=this.bone.skeleton.data.slots,c=0,d=b.length;c 180?g-=360:g<-180&&(g+=360),a.updateWorldTransform(a.x,a.y,f+(g-f)*d,a.appliedScaleX,a.appliedScaleY)},spine.IkConstraint.apply2=function(a,b,c,d,e,f){if(0!=f){var g,h,i,j=a.x,k=a.y,l=a.appliedScaleX,m=a.appliedScaleY;l<0?(l=-l,g=180,i=-1):(g=0,i=1),m<0&&(m=-m,i=-i);var n=b.x,o=b.y,p=b.appliedScaleX,q=Math.abs(l-m)<=1e-4;q||0==o||(b.worldX=a.a*n+a.worldX,b.worldY=a.c*n+a.worldY,o=0),p<0?(p=-p,h=180):h=0;var r,s,t,u,v=a.parent;if(v){var w=v.a,x=v.b,y=v.c,z=v.d,A=1/(w*z-x*y),B=v.worldX,C=v.worldY,D=c-B,E=d-C;r=(D*z-E*x)*A-j,s=(E*w-D*y)*A-k,D=b.worldX-B,E=b.worldY-C,t=(D*z-E*x)*A-j,u=(E*w-D*y)*A-k}else r=c-j,s=d-k,t=b.worldX-j,u=b.worldY-k;var F,G,H=Math.sqrt(t*t+u*u),I=b.data.length*p;a:if(q){I*=l;var J=(r*r+s*s-H*H-I*I)/(2*H*I);J<-1?J=-1:J>1&&(J=1),G=Math.acos(J)*e;var w=H+I*J,K=I*Math.sin(G);F=Math.atan2(s*w-r*K,r*w+s*K)}else{var w=l*I,x=m*I,L=Math.atan2(s,r),M=w*w,N=x*x,O=H*H,P=r*r+s*s,Q=N*O+M*P-M*N,R=-2*N*H,S=N-M,z=R*R-4*S*Q;if(z>=0){var T=Math.sqrt(z);R<0&&(T=-T),T=-(R+T)/2;var U=T/S,V=Q/T,W=Math.abs(U) aa&&(_=0,aa=da,ba=D),D=H-w,da=D*D,da aa&&(_=ea,aa=da,ba=D,ca=E),P<=(Y+aa)/2?(F=L-Math.atan2($*e,Z),G=X*e):(F=L-Math.atan2(ca*e,ba),G=_*e)}var fa=Math.atan2(o,n)*i;F=(F-fa)*spine.radDeg+g,G=(G+fa)*spine.radDeg*i+h,F>180?F-=360:F<-180&&(F+=360),G>180?G-=360:G<-180&&(G+=360);var ga=a.rotation;a.updateWorldTransform(j,k,ga+(F-ga)*f,a.appliedScaleX,a.appliedScaleY),ga=b.rotation,b.updateWorldTransform(n,o,ga+(G-ga)*f,b.appliedScaleX,b.appliedScaleY)}},spine.TransformConstraint=function(a,b){this.data=a,this.translateMix=a.translateMix,this.x=a.x,this.y=a.y,this.bone=b.findBone(a.bone.name),this.target=b.findBone(a.target.name)},spine.TransformConstraint.prototype={apply:function(){this.update()},update:function(){var a=this.translateMix;if(a>0){var b=spine.temp;b[0]=x,b[1]=y,this.target.localToWorld(b);var c=this.bone;c.worldX+=(b[0]-c.worldX)*a,c.worldY+=(b[1]-c.worldY)*a}}},spine.Skin=function(a){this.name=a,this.attachments={}},spine.Skin.prototype={addAttachment:function(a,b,c){this.attachments[a+":"+b]=c},getAttachment:function(a,b){return this.attachments[a+":"+b]},_attachAll:function(a,b){for(var c in b.attachments){var d=c.indexOf(":"),e=parseInt(c.substring(0,d)),f=c.substring(d+1),g=a.slots[e];if(g.attachment&&g.attachment.name==f){var h=this.getAttachment(e,f);h&&g.setAttachment(h)}}}},spine.Animation=function(a,b,c){this.name=a,this.timelines=b,this.duration=c},spine.Animation.prototype={apply:function(a,b,c,d,e){d&&0!=this.duration&&(c%=this.duration,b>0&&(b%=this.duration));for(var f=this.timelines,g=0,h=f.length;g 0&&(b%=this.duration));for(var g=this.timelines,h=0,i=g.length;h>>1;;){if(a[(f+1)*c]<=b?d=f+1:e=f,d==e)return(d+1)*c;f=d+e>>>1}},spine.Animation.binarySearch1=function(a,b){var c=0,d=a.length-2;if(!d)return 1;for(var e=d>>>1;;){if(a[e+1]<=b?c=e+1:d=e,c==d)return c+1;e=c+d>>>1}},spine.Animation.linearSearch=function(a,b,c){for(var d=0,e=a.length-c;d<=e;d+=c)if(a[d]>b)return d;return-1},spine.Curves=function(a){var b=19*(a-1);this.curves=new spine.Float32Array(b),this.curves.length=b},spine.Curves.prototype={setLinear:function(a){this.curves[19*a]=0},setStepped:function(a){this.curves[19*a]=1},setCurve:function(a,b,c,d,e){var f=.1,g=f*f,h=g*f,i=3*f,j=3*g,k=6*g,l=6*h,m=2*-b+d,n=2*-c+e,o=3*(b-d)+1,p=3*(c-e)+1,q=b*i+m*j+o*h,r=c*i+n*j+p*h,s=m*k+o*l,t=n*k+p*l,u=o*l,v=p*l,w=19*a,x=this.curves;x[w++]=2;for(var y=q,z=r,A=w+19-1;w1?1:b;var c=this.curves,d=19*a,e=c[d];if(0===e)return b;if(1==e)return 0;d++;for(var f=0,g=d,h=d+19-1;d =b){var i,j;return d==g?(i=0,j=0):(i=c[d-2],j=c[d-1]),j+(c[d+1]-j)*(b-i)/(f-i)}var k=c[d-1];return k+(1-k)*(b-f)/(1-f)}},spine.RotateTimeline=function(a){this.curves=new spine.Curves(a),this.frames=new spine.Float32Array(2*a),this.frames.length=2*a},spine.RotateTimeline.prototype={boneIndex:0,getFrameCount:function(){return this.frames.length/2},setFrame:function(a,b,c){a*=2,this.frames[a]=b,this.frames[a+1]=c},apply:function(a,b,c,d,e){var f=this.frames;if(!(c =f[f.length-2]){for(var h=g.data.rotation+f[f.length-1]-g.rotation;h>180;)h-=360;for(;h<-180;)h+=360;return void(g.rotation+=h*e)}var i=spine.Animation.binarySearch(f,c,2),j=f[i-1],k=f[i],l=1-(c-k)/(f[i-2]-k);l=this.curves.getCurvePercent(i/2-1,l);for(var h=f[i+1]-j;h>180;)h-=360;for(;h<-180;)h+=360;for(h=g.data.rotation+(j+h*l)-g.rotation;h>180;)h-=360;for(;h<-180;)h+=360;g.rotation+=h*e}}},spine.TranslateTimeline=function(a){this.curves=new spine.Curves(a),this.frames=new spine.Float32Array(3*a),this.frames.length=3*a},spine.TranslateTimeline.prototype={boneIndex:0,getFrameCount:function(){return this.frames.length/3},setFrame:function(a,b,c,d){a*=3,this.frames[a]=b,this.frames[a+1]=c,this.frames[a+2]=d},apply:function(a,b,c,d,e){var f=this.frames;if(!(c =f[f.length-3])return g.x+=(g.data.x+f[f.length-2]-g.x)*e,void(g.y+=(g.data.y+f[f.length-1]-g.y)*e);var h=spine.Animation.binarySearch(f,c,3),i=f[h-2],j=f[h-1],k=f[h],l=1-(c-k)/(f[h+-3]-k);l=this.curves.getCurvePercent(h/3-1,l),g.x+=(g.data.x+i+(f[h+1]-i)*l-g.x)*e,g.y+=(g.data.y+j+(f[h+2]-j)*l-g.y)*e}}},spine.ScaleTimeline=function(a){this.curves=new spine.Curves(a),this.frames=new spine.Float32Array(3*a),this.frames.length=3*a},spine.ScaleTimeline.prototype={boneIndex:0,getFrameCount:function(){return this.frames.length/3},setFrame:function(a,b,c,d){a*=3,this.frames[a]=b,this.frames[a+1]=c,this.frames[a+2]=d},apply:function(a,b,c,d,e){var f=this.frames;if(!(c =f[f.length-3])return g.scaleX+=(g.data.scaleX*f[f.length-2]-g.scaleX)*e,void(g.scaleY+=(g.data.scaleY*f[f.length-1]-g.scaleY)*e);var h=spine.Animation.binarySearch(f,c,3),i=f[h-2],j=f[h-1],k=f[h],l=1-(c-k)/(f[h+-3]-k);l=this.curves.getCurvePercent(h/3-1,l),g.scaleX+=(g.data.scaleX*(i+(f[h+1]-i)*l)-g.scaleX)*e,g.scaleY+=(g.data.scaleY*(j+(f[h+2]-j)*l)-g.scaleY)*e}}},spine.ColorTimeline=function(a){this.curves=new spine.Curves(a),this.frames=new spine.Float32Array(5*a),this.frames.length=5*a},spine.ColorTimeline.prototype={slotIndex:0,getFrameCount:function(){return this.frames.length/5},setFrame:function(a,b,c,d,e,f){a*=5,this.frames[a]=b,this.frames[a+1]=c,this.frames[a+2]=d,this.frames[a+3]=e,this.frames[a+4]=f},apply:function(a,b,c,d,e){var f=this.frames;if(!(c =f[f.length-5]){var k=f.length-1;g=f[k-3],h=f[k-2],i=f[k-1],j=f[k]}else{var l=spine.Animation.binarySearch(f,c,5),m=f[l-4],n=f[l-3],o=f[l-2],p=f[l-1],q=f[l],r=1-(c-q)/(f[l-5]-q);r=this.curves.getCurvePercent(l/5-1,r),g=m+(f[l+1]-m)*r,h=n+(f[l+2]-n)*r,i=o+(f[l+3]-o)*r,j=p+(f[l+4]-p)*r}var s=a.slots[this.slotIndex];e<1?(s.r+=(g-s.r)*e,s.g+=(h-s.g)*e,s.b+=(i-s.b)*e,s.a+=(j-s.a)*e):(s.r=g,s.g=h,s.b=i,s.a=j)}}},spine.AttachmentTimeline=function(a){this.curves=new spine.Curves(a),this.frames=new spine.Float32Array(a),this.frames.length=a,this.attachmentNames=[],this.attachmentNames.length=a},spine.AttachmentTimeline.prototype={slotIndex:0,getFrameCount:function(){return this.frames.length},setFrame:function(a,b,c){this.frames[a]=b,this.attachmentNames[a]=c},apply:function(a,b,c,d,e){var f=this.frames;if(c c&&this.apply(a,b,Number.MAX_VALUE,null,0));b>c&&(b=-1);var g=c>=f[f.length-1]?f.length-1:spine.Animation.binarySearch1(f,c)-1;if(!(f[g]c)this.apply(a,b,Number.MAX_VALUE,d,e),b=-1;else if(b>=f[g-1])return;if(!(c 0&&f[h-1]==i;)h--}for(var j=this.events;h =f[h];h++)d[d.length]=j[h]}}}},spine.DrawOrderTimeline=function(a){this.frames=new spine.Float32Array(a),this.frames.length=a,this.drawOrders=[],this.drawOrders.length=a},spine.DrawOrderTimeline.prototype={getFrameCount:function(){return this.frames.length},setFrame:function(a,b,c){this.frames[a]=b,this.drawOrders[a]=c},apply:function(a,b,c,d,e){var f=this.frames;if(!(c =f[f.length-1]?f.length-1:spine.Animation.binarySearch1(f,c)-1;var h=a.drawOrder,i=a.slots,j=this.drawOrders[g];if(j)for(var k=0,l=j.length;k =h[h.length-1]){var l=i[h.length-1];if(e<1)for(var m=0;m 1?1:p);var q=i[n-1],r=i[n];if(e<1)for(var m=0;m =f[f.length-3])return g.mix+=(f[f.length-2]-g.mix)*e,void(g.bendDirection=f[f.length-1]);var h=spine.Animation.binarySearch(f,c,3),i=f[h+-2],j=f[h],k=1-(c-j)/(f[h+-3]-j);k=this.curves.getCurvePercent(h/3-1,k);var l=i+(f[h+1]-i)*k;g.mix+=(l-g.mix)*e,g.bendDirection=f[h+-1]}}},spine.SkeletonData=function(){this.bones=[],this.slots=[],this.skins=[],this.events=[],this.animations=[],this.ikConstraints=[],this.transformConstraints=[]},spine.SkeletonData.prototype={name:null,defaultSkin:null,width:0,height:0,version:null,hash:null,findBone:function(a){for(var b=this.bones,c=0,d=b.length;c =0;j--){var m=b[j];if(m==l.bone||m==l.target){b.splice(j+1,0,l);break}}},updateWorldTransform:function(){for(var a=this.cache,b=0,c=a.length;b =0&&this.setCurrent(b,e)):!c.loop&&c.lastTime>=c.endTime&&this.clearTrack(b)}}},apply:function(a){for(var b=0;b f&&(d=f);var h=c.previous;if(h){var i=h.time;!h.loop&&i>h.endTime&&(i=h.endTime),h.animation.apply(a,i,i,h.loop,null);var j=c.mixTime/c.mixDuration*c.mix;j>=1&&(j=1,c.previous=null),c.animation.mix(a,c.lastTime,d,g,this.events,j)}else 1==c.mix?c.animation.apply(a,c.lastTime,d,g,this.events):c.animation.mix(a,c.lastTime,d,g,this.events,c.mix);for(var k=0,l=this.events.length;k d%f:e =f){var n=Math.floor(d/f);c.onComplete&&c.onComplete(b,n),this.onComplete&&this.onComplete(b,n)}c.lastTime=c.time}}},clearTracks:function(){for(var a=0,b=this.tracks.length;a=this.tracks.length)){var b=this.tracks[a];b&&(b.onEnd&&b.onEnd(a),this.onEnd&&this.onEnd(a),this.tracks[a]=null)}},_expandToIndex:function(a){if(a =this.tracks.length;)this.tracks[this.tracks.length]=null;return null},setCurrent:function(a,b){var c=this._expandToIndex(a);if(c){var d=c.previous;c.previous=null,c.onEnd&&c.onEnd(a),this.onEnd&&this.onEnd(a),b.mixDuration=this.data.getMix(c.animation,b.animation),b.mixDuration>0&&(b.mixTime=0,d&&c.mixTime/c.mixDuration<.5?b.previous=d:b.previous=c)}this.tracks[a]=b,b.onStart&&b.onStart(a),this.onStart&&this.onStart(a)},setAnimationByName:function(a,b,c){var d=this.data.skeletonData.findAnimation(b);if(!d)throw"Animation not found: "+b;return this.setAnimation(a,d,c)},setAnimation:function(a,b,c){var d=new spine.TrackEntry;return d.animation=b,d.loop=c,d.endTime=b.duration,this.setCurrent(a,d),d},addAnimationByName:function(a,b,c,d){var e=this.data.skeletonData.findAnimation(b);if(!e)throw"Animation not found: "+b;return this.addAnimation(a,e,c,d)},addAnimation:function(a,b,c,d){var e=new spine.TrackEntry;e.animation=b,e.loop=c,e.endTime=b.duration;var f=this._expandToIndex(a);if(f){for(;f.next;)f=f.next;f.next=e}else this.tracks[a]=e;return d<=0&&(f?d+=f.endTime-this.data.getMix(f.animation,b):d=0),e.delay=d,e},getCurrent:function(a){return a>=this.tracks.length?null:this.tracks[a]}},spine.SkeletonJson=function(a){this.attachmentLoader=a,this.linkedMeshes=[]},spine.SkeletonJson.prototype={scale:1,readSkeletonData:function(a,b){var c=new spine.SkeletonData;c.name=b;var d=a.skeleton;d&&(c.hash=d.hash,c.version=d.spine,c.width=d.width||0,c.height=d.height||0);for(var e=a.bones,f=0,g=e.length;f =0;T--)Y[T]=4294967295;var Z=X.offsets,$=new spine.Uint32Array(W-Z.length);$.length=W-Z.length;for(var _=0,aa=0,T=0,S=Z.length;T =0;T--)4294967295==Y[T]&&(Y[T]=$[--aa])}l.setFrame(m++,X.time,Y)}d[d.length]=l,e=Math.max(e,l.frames[l.getFrameCount()-1])}var ca=b.events;if(ca){for(var l=new spine.EventTimeline(ca.length),m=0,n=0,o=ca.length;n=this.lines.length?null:this.lines[this.index++]},readValue:function(){var a=this.readLine(),b=a.indexOf(":");if(b==-1)throw"Invalid line: "+a;return this.trim(a.substring(b+1))},readTuple:function(a){var b=this.readLine(),c=b.indexOf(":");if(c==-1)throw"Invalid line: "+b;for(var d=0,e=c+1;d<3;d++){var f=b.indexOf(",",e);if(f==-1)break;a[d]=this.trim(b.substr(e,f-e)),e=f+1}return a[d]=this.trim(b.substring(e)),d+1}},spine.AtlasAttachmentLoader=function(a){this.atlas=a},spine.AtlasAttachmentLoader.prototype={newRegionAttachment:function(a,b,c){var d=this.atlas.findRegion(c);if(!d)throw"Region not found in atlas: "+c+" (region attachment: "+b+")";var e=new spine.RegionAttachment(b);return e.rendererObject=d,e.setUVs(d.u,d.v,d.u2,d.v2,d.rotate),e.regionOffsetX=d.offsetX,e.regionOffsetY=d.offsetY,e.regionWidth=d.width,e.regionHeight=d.height,e.regionOriginalWidth=d.originalWidth,e.regionOriginalHeight=d.originalHeight,e},newMeshAttachment:function(a,b,c){var d=this.atlas.findRegion(c);if(!d)throw"Region not found in atlas: "+c+" (mesh attachment: "+b+")";var e=new spine.MeshAttachment(b);return e.rendererObject=d,e.regionU=d.u,e.regionV=d.v,e.regionU2=d.u2,e.regionV2=d.v2,e.regionRotate=d.rotate,e.regionOffsetX=d.offsetX,e.regionOffsetY=d.offsetY,e.regionWidth=d.width,e.regionHeight=d.height,e.regionOriginalWidth=d.originalWidth,e.regionOriginalHeight=d.originalHeight,e},newWeightedMeshAttachment:function(a,b,c){var d=this.atlas.findRegion(c);if(!d)throw"Region not found in atlas: "+c+" (weighted mesh attachment: "+b+")";var e=new spine.WeightedMeshAttachment(b);return e.rendererObject=d,e.regionU=d.u,e.regionV=d.v,e.regionU2=d.u2,e.regionV2=d.v2,e.regionRotate=d.rotate,e.regionOffsetX=d.offsetX,e.regionOffsetY=d.offsetY,e.regionWidth=d.width,e.regionHeight=d.height,e.regionOriginalWidth=d.originalWidth,e.regionOriginalHeight=d.originalHeight,e},newBoundingBoxAttachment:function(a,b){return new spine.BoundingBoxAttachment(b)}},spine.SkeletonBounds=function(){this.polygonPool=[],this.polygons=[],this.boundingBoxes=[]},spine.SkeletonBounds.prototype={minX:0,minY:0,maxX:0,maxY:0,update:function(a,b){var c=a.slots,d=c.length,e=a.x,f=a.y,g=this.boundingBoxes,h=this.polygonPool,i=this.polygons;g.length=0;for(var j=0,k=i.length;j 0?(n=h[o-1],h.splice(o-1,1)):n=new spine.Float32Array,i[i.length]=n,n.length=m.vertices.length,m.computeWorldVertices(e,f,l.bone,n)}}b&&this.aabbCompute()},aabbCompute:function(){for(var a=this.polygons,b=Number.MAX_VALUE,c=Number.MAX_VALUE,d=-Number.MAX_VALUE,e=-Number.MAX_VALUE,f=0,g=a.length;f =this.minX&&a<=this.maxX&&b>=this.minY&&b<=this.maxY},aabbIntersectsSegment:function(a,b,c,d){var e=this.minX,f=this.minY,g=this.maxX,h=this.maxY;if(a<=e&&c<=e||b<=f&&d<=f||a>=g&&c>=g||b>=h&&d>=h)return!1;var i=(d-b)/(c-a),j=i*(e-a)+b;if(j>f&&j f&&j e&&k e&&k a.minX&&this.minY a.minY},containsPoint:function(a,b){for(var c=this.polygons,d=0,e=c.length;d =c||i =c){var j=a[g];j+(c-h)/(i-h)*(a[e]-j)=j&&s<=m||s>=m&&s<=j)&&(s>=b&&s<=d||s>=d&&s<=b)){var t=(i*q-h*o)/r;if((t>=k&&t<=n||t>=n&&t<=k)&&(t>=c&&t<=e||t>=e&&t<=c))return!0}j=m,k=n}return!1},getPolygon:function(a){var b=this.boundingBoxes.indexOf(a);return b==-1?null:this.polygons[b]},getWidth:function(){return this.maxX-this.minX},getHeight:function(){return this.maxY-this.minY}};var __extends=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},PhaserSpine;!function(a){var b=function(b){function c(a,c){var d=b.call(this,a,c)||this;return d.addSpineCache(),d.addSpineFactory(),d.addSpineLoader(),d}return __extends(c,b),c.prototype.addSpineLoader=function(){Phaser.Loader.prototype.spine=function(a,b,c){var d=this,e=a+"Atlas",f={atlas:e,basePath:""===b.substring(0,b.lastIndexOf("/"))?".":b.substring(0,b.lastIndexOf("/")),variants:void 0};void 0===c?c=[""]:f.variants=c,c.forEach(function(a){d.onFileComplete.add(function(b,c){if(c===e){new spine.Atlas(d.game.cache.getText(c),{load:function(b,c,e){d.image(c,f.basePath+"/"+c.substr(0,c.lastIndexOf("."))+a+".png")}})}}),d.text(e,b.substr(0,b.lastIndexOf("."))+a+".atlas")}),this.json(a,b),this.game.cache.addSpine(a,f)}},c.prototype.addSpineFactory=function(){Phaser.GameObjectFactory.prototype.spine=function(b,c,d,e,f){void 0===f&&(f=this.world);var g=new a.Spine(this.game,d,e);return g.setToSetupPose(),g.position.x=b,g.position.y=c,f.add(g)},Phaser.GameObjectCreator.prototype.spine=function(b,c,d,e,f){return new a.Spine(this.game,d,e)}},c.prototype.addSpineCache=function(){Phaser.Cache.prototype.spine={},Phaser.Cache.prototype.addSpine=function(a,b){this.spine[a]=b},Phaser.Cache.prototype.getSpine=function(a){return!this.spine.hasOwnProperty(a),this.spine[a]}},c}(Phaser.Plugin);b.RESOLUTION_REGEXP=/@(.+)x/,a.SpinePlugin=b}(PhaserSpine||(PhaserSpine={})),Phaser.Rope.prototype.postUpdate=function(){},spine.Bone.yDown=!0;var PhaserSpine;!function(a){var b=function(b){function c(c,d,e){var f=b.call(this,c)||this;f.imageScale=1;var g=f.game.cache.getSpine(d);void 0!==e&&g.variants.indexOf(e)!==-1?f.imageScale=f.getScaleFromVariant(e):g.variants&&g.variants.length>=1&&(f.imageScale=f.getScaleFromVariant(g.variants[0]));var h=new a.SpineTextureLoader(c),i=new spine.Atlas(c.cache.getText(g.atlas),h),j=new spine.AtlasAttachmentLoader(i),k=new spine.SkeletonJson(j);if(f.skeletonData=k.readSkeletonData(c.cache.getJSON(d)),!f.skeletonData)throw new Error("Spine data must be preloaded using Loader.spine");f.onEvent=new Phaser.Signal,f.onComplete=new Phaser.Signal,f.onEnd=new Phaser.Signal,f.skeleton=new spine.Skeleton(f.skeletonData),f.skeleton.updateWorldTransform(),f.stateData=new spine.AnimationStateData(f.skeletonData),f.state=new spine.AnimationState(f.stateData),f.state.onEvent=f.onEvent.dispatch.bind(f.onEvent),f.state.onComplete=f.onComplete.dispatch.bind(f.onComplete),f.state.onEnd=f.onEnd.dispatch.bind(f.onEnd),f.slotContainers=[];for(var l=0,m=f.skeleton.slots.length;l 1||b<0||a.playerInstance.setVolume(b))},a.getCuePoints=function(){if(null!==a.playerInstance)return a.playerInstance.cuePoints()},a}();b.playerInstance=null,b.onClose=new Phaser.Signal,a.Tubia=b}(Fabrique||(Fabrique={}));var Fabrique;!function(a){var b;!function(a){a[a.Neutral=0]="Neutral",a[a.Yepi=1]="Yepi",a[a.Spele=2]="Spele",a[a.Funnygames=3]="Funnygames",a[a.Kizi=4]="Kizi",a[a.PlayCell=5]="PlayCell",a[a.GameCell=6]="GameCell",a[a.Bild=7]="Bild",a[a.Spil=8]="Spil",a[a.Admeen=9]="Admeen"}(b=a.BrandingDomain||(a.BrandingDomain={}))}(Fabrique||(Fabrique={}));var Fabrique;!function(a){var b;!function(a){var b=function(a){function b(b,c,d,e,f,g,h){var i=a.call(this,b,d,e,"",null,null)||this;i.onInputUp.add(i.openGame,i),i.id=c.data.key,i.url=c.data.url,i.icon=i.game.add.image(0,0,c.data.key),i.icon.width=f,i.icon.height=f,i.input.priorityID=680,i.addChild(i.icon);var j=i.game.make.graphics(0,0);j.beginFill(h).drawRect(0,0,f,g-f).endFill(),i.titleBg=i.game.add.image(0,f,j.generateTexture()),i.addChild(i.titleBg);var k=c.data.title;return k.length>16&&(k=k.replace(k.substring(14,k.length),"...")),i.title=i.game.add.text(f/2,i.titleBg.y+(g-f)/2+4,k.toUpperCase(),{font:"bold "+.35*(g-f)+"px Arial",fill:"#FFF",align:"center",wordWrap:!0,wordWrapWidth:f-10}),i.title.anchor.set(.5,.5),i.addChild(i.title),j=i.game.make.graphics(0,0),j.beginFill(16777215).drawCircle(0,0,80).beginFill(h).lineTo(-15,-25).lineTo(25,0).lineTo(-15,25).lineTo(-15,-25).endFill(),i.playImg=i.game.add.image(f/2,f/3*2.7,j.generateTexture()),i.playImg.anchor.set(.5,.5),i.addChild(i.playImg),i}return __extends(b,a),b.prototype.openGame=function(){this.game.analytics&&this.game.analytics.google.sendGenericEvent("MoreGames","Click",this.id),this.url.indexOf("http://")!==-1&&this.url.replace("http:","");var a=window.open(this.url,"_self");a&&a.focus&&a.focus()},b.prototype.destroy=function(){this.onInputUp.remove(this.openGame,this),a.prototype.destroy.call(this),this.removedFromWorld()},b}(Phaser.Button);a.Item=b}(b=a.MoreGames||(a.MoreGames={}))}(Fabrique||(Fabrique={}));var Fabrique;!function(a){var b;!function(b){var c=function(c){function d(b,d){var e=c.call(this,b,null,"moreGames-background")||this;e.size=800,e.items=[],e.offset=14,e.isDestroyed=!1,e.gameName=d,e.deviceRatio=b.width/e.size,e.overlay=b.add.graphics(0,0),e.overlay.beginFill(0,.4).drawRect(0,0,b.width,b.height).endFill(),e.overlay.pivot.set(b.width/2,b.height/2),e.overlay.inputEnabled=!0,e.overlay.input.priorityID=660,e.onClose=new Phaser.Signal,e.overlay.events.onInputUp.add(function(){e.hide()}),e.add(e.overlay),e.menuGrp=new Phaser.Group(b,e,"menuGrp"),e.add(e.menuGrp);var f=b.make.graphics(0,0);f.beginFill(2507370).drawRoundedRect(0,0,e.size,e.size+20,15).endFill(),e.background=e.game.add.image(0,0,f.generateTexture()),e.background.anchor.set(.5),e.background.inputEnabled=!0,e.background.input.priorityID=670,e.background.input.useHandCursor=!1,e.menuGrp.add(e.background),e.logoBtn=e.game.add.button(0,-(e.background.height/2)+e.offset,a.Branding.LOGO_KEY,function(){a.Branding.openCampaignLink(e.game,e.gameName,a.UtmTargets.more_games)},e),e.logoBtn.scale.setTo(1),e.logoBtn.anchor.set(.5,0),e.menuGrp.add(e.logoBtn),e.closeBtn=b.add.button(e.size/2-10,-(e.size/2)+25,"close_btn",e.hide,e),e.closeBtn.anchor.set(1),e.closeBtn.input.priorityID=680,e.menuGrp.add(e.closeBtn),e.createItems();var g=b.make.graphics(0,0);g.beginFill(2507370).drawRect(0,0,270,40).endFill(),e.moreGamesBtn=b.add.button(0,e.background.y+e.background.height/2-g.height-e.offset,"",function(){a.Branding.openCampaignLink(e.game,e.gameName,a.UtmTargets.more_games)},e),e.moreGamesBtn.texture=g.generateTexture(),e.moreGamesBtn.input.priorityID=680,e.moreGamesBtn.anchor.set(.5,0),e.menuGrp.add(e.moreGamesBtn);var h={font:"bold 26px Tahoma",fill:"#ffffff"};return e.moreGamesText=b.add.text(0,e.moreGamesBtn.height/2+2,"PLAY MORE GAMES",h),e.moreGamesText.anchor.set(.5),e.moreGamesBtn.addChild(e.moreGamesText),e.visible=!1,e.resize(),e.resizeListener=function(){setTimeout(function(){e.isDestroyed||e.resize()},100)},e.game.scale.onSizeChange.add(e.resizeListener,e),e}return __extends(d,c),d.prototype.createItems=function(){this.itemGrp=this.game.make.group(this,"items"),this.itemGrp.x=0,this.itemGrp.y=this.size/2+this.logoBtn.y+this.logoBtn.height,this.menuGrp.add(this.itemGrp);var c,e,f,g,h=this.game.cache.getJSON(a.Branding.GAME_ICONS_KEY),i=3,j=Math.floor(this.size/i-1.25*this.offset),k=Math.floor(j+.25*j),l=0;for(var m in h)h.hasOwnProperty(m)&&l<6&&!this.isCurrentGame(m)&&(e=l%i*j+this.offset+l%i*this.offset,f=Math.floor(l/i)*k+this.offset+Math.floor(l/i)*this.offset,g=l%d.BG_COLORS.length,c=new b.Item(this.game,h[m],e-this.size/2,f-this.size/2,j,k,d.BG_COLORS[g]),this.itemGrp.add(c),this.items.push(c),l++)},d.prototype.isCurrentGame=function(a){var b=window.location.href.replace(/-/g,"");return a=a.replace(/-/g,""),b.indexOf(a)>=0},d.prototype.show=function(){this.visible||(this.game.analytics&&(this.game.analytics.google.sendScreenView("moregames"),this.game.analytics.google.sendGenericEvent("MoreGames","Open")),this.visible=!0)},d.prototype.hide=function(){this.visible&&(this.visible=!1,this.game.analytics&&this.game.analytics.google.sendGenericEvent("MoreGames","Close"),this.onClose&&this.onClose.dispatch())},d.preloadImages=function(b){a.Utils.getSourceSite();a.Utils.isOnDevice(b)||a.Branding.isAirfi()?a.Utils.ASSET_LOCATION="assets/":a.Utils.isTc()?a.Utils.ASSET_LOCATION="/repository/download/Fabrique_FunnyGamesSplash/.lastSuccessful/build/assets/":"fbrq.io"===a.Utils.getSourceSite(!0)&&(a.Utils.ASSET_LOCATION="//"+window.location.host+"/orange-games-splash/assets/"),a.Utils.isTc()||(b.load.crossOrigin="anonymous"),b.load.image("close_btn",a.Utils.ASSET_LOCATION+"images/close_btn.png");var c=b.cache.getJSON(a.Branding.GAME_ICONS_KEY);for(var d in c)c.hasOwnProperty(d)&&(c[d].data.key=d,b.load.image(d,a.Utils.ASSET_LOCATION+"icons/"+d+".png"))},d.prototype.getScale=function(){return this.game.height>this.game.width&&this.game.width this.game.height&&this.game.height =3?this.dotText=".":this.dotText+=".",this.preloadText.setText("Loading "+this.dotText)},d.prototype.onPreloadEnd=function(){this.preloadReady=!0,this.game.input.onUp.add(this.handler,this),this.animateButton()},d.prototype.createObjects=function(){this.bgImage=this.game.add.tileSprite(this.game.width/2,this.game.height/2,853,612,"admeen_atlas","bg_pattern"),this.bgImage.pivot.set(426.5,306),this.gradientBitmap=this.game.make.bitmapData(1,1),this.bgGradientOverlay=this.game.add.sprite(0,0,this.gradientBitmap),this.logo=this.game.add.image(0,0,"admeen_atlas","mascotte"),this.logo.anchor.set(.5,.7),this.playButton=this.game.add.button(this.game.width/2,.75*this.game.height,"admeen_atlas",this.handler,this,"btn","btn","btn","btn"),this.playButton.anchor.set(.5),this.playButton.visible=!1,this.created=!0,this.preloadText=this.game.add.text(this.game.width/2,this.game.height/2*.75,"",{font:"Arial",fontSize:40,fill:"#ffffff",fontWeight:"bold"}),this.preloadText.anchor.set(.5)},d.prototype.resizeObjects=function(){if(this.created){var b=this.game.width<1?1:this.game.width,c=this.game.height<1?1:this.game.height;this.logo.scale.set(this.scaleFactor),this.logo.y=.4*this.game.height,this.logo.x=this.game.width/2,this.bgImage.width=853*this.scaleFactor,this.bgImage.height=612*this.scaleFactor,this.bgImage.y=this.game.height/2,this.bgImage.x=this.game.width/2,this.bgImage.pivot.set(853*this.scaleFactor/2,612*this.scaleFactor/2),this.gradientBitmap.resize(b,c);var d=this.gradientBitmap.context.createRadialGradient(b/2,c/2,0,b/2,c/2,.5*c);d.addColorStop(0,"rgba(66, 103, 178, 0)"),d.addColorStop(1,"rgba(66, 103, 178, 1)"),this.gradientBitmap.context.fillStyle=d,this.gradientBitmap.context.clearRect(0,0,b,c),this.gradientBitmap.context.fillRect(0,0,b,c),this.preloadText.x=this.game.width/2,this.preloadText.y=.75*this.game.height,this.preloadText.scale.set(this.scaleFactor),a.Utils.isOnDevice(this.game)||(this.playButton.scale.set(.6*this.scaleFactor),this.playButton.x=this.game.width/2,this.playButton.y=.75*this.game.height)}},d.prototype.handler=function(a,b){if(!this.clicked&&"mouseout"!==b.type){this.clicked=!0,this.game.tweens.remove(this.buttonTween),this.game.camera.fade(0,250);var c=this.game.add.tween(this.playButton.scale);c.to({x:0,y:0},250,Phaser.Easing.Back.In).start(),void 0!==this.config.mobilePlayClickhandler?this.config.mobilePlayClickhandler():this.game.state.start(this.config.nextState),this.game.input.onUp.remove(this.handler,this)}},d.prototype.getScale=function(){return 1},d.prototype.startAnimation=function(){},d.prototype.animateButton=function(){a.Utils.isOnDevice(this.game)||(this.preloadText.visible=!1,this.game.tweens.remove(this.buttonTween),this.playButton.scale.set(this.scaleFactor),this.playButton.visible=!0,this.buttonTween=this.game.add.tween(this.playButton.scale),this.buttonTween.to({x:1.14*this.scaleFactor,y:1.14*this.scaleFactor},420,Phaser.Easing.Quadratic.InOut,!0,500),this.buttonTween.yoyo(!0).onComplete.add(this.animateButton,this),this.buttonTween.start())},d.prototype.update=function(){this.background.update()},d.prototype.resize=function(){this.scaleFactor=this.getScale(),this.background.resize(this.scaleFactor),this.resizeObjects(),this.created&&this.preloadReady&&this.animateButton()},d.prototype.shutdown=function(){this.game.scale.onSizeChange.remove(this.resize,this),this.game.load.onLoadStart.remove(this.onPreloadStart,this),this.game.load.onFileComplete.remove(this.onPreloadedFile,this),this.game.load.onLoadComplete.remove(this.onPreloadEnd,this),this.logo.destroy(!0),this.playButton.destroy(!0),this.bgImage.destroy(!0),this.background.destroy(!0),this.logo=null,this.bgImage=null,this.playButton=null,this.background=null,this.game.state.remove(b.Preloader.Name),this.game.state.remove(b.SplashPreloader.Name),this.game.state.remove(this.name)},d}(Phaser.State);c.Name="admeenSplashScreen",c.IdealWidth=400,c.MaxDots=3,b.Admeen=c}(b=a.SplashScreen||(a.SplashScreen={}))}(Fabrique||(Fabrique={}));var Fabrique;!function(a){var b;!function(b){var c=function(c){function d(){var a=c.call(this)||this;return a.name=d.Name,a.scaleFactor=1,a.created=!1,a.preloadReady=!1,a.clicked=!1,a.preloadTexts=[],a.tId=0,a}return __extends(d,c),d.prototype.init=function(a,b){this.config=a,this.background=b,this.game.scale.onSizeChange.add(this.resize,this)},d.prototype.preload=function(){this.game.add.existing(this.background),this.createObjects(),this.scaleFactor=this.getScale(),this.resizeObjects(),this.startAnimation(),this.game.load.onLoadStart.add(this.onPreloadStart,this),this.game.load.onFileComplete.add(this.onPreloadedFile,this),this.game.load.onLoadComplete.add(this.onPreloadEnd,this),this.config.preloadHandler(),0===this.game.load.totalQueuedFiles()&&this.onPreloadEnd()},d.prototype.onPreloadStart=function(){},d.prototype.onPreloadedFile=function(){},d.prototype.onPreloadEnd=function(){this.preloadReady=!0,this.loadBack.visible=!1,this.loadBar.visible=!1,this.game.input.onUp.add(this.handler,this),this.animateButton()},d.prototype.createObjects=function(){this.logo=this.game.add.sprite(this.game.width/2,this.game.height/2-100,"bild_logo"),this.logo.anchor.set(.5),this.logo.scale.set(.8),d.IdealWidth=this.logo.getBounds().width;var a=this.game.make.graphics(0,0);a.beginFill(16777215,.5).drawRect(0,0,350,20).endFill(),this.loadBack=this.game.add.sprite(this.game.width/2,this.game.height/2+100,a.generateTexture()),this.loadBack.anchor.set(.5);var b=this.game.make.graphics(0,0);b.beginFill(16777215,1).drawRect(0,0,350,20).endFill(),this.loadBar=this.game.add.sprite(this.game.width/2-175,this.game.height/2+100,b.generateTexture()),this.loadBar.anchor.set(0,.5),this.load.setPreloadSprite(this.loadBar),this.playButton=this.game.add.button(this.game.width/2,this.game.height/2+200,"bild_play",this.handler,this),this.playButton.anchor.set(.5),this.playButton.scale.set(this.scaleFactor),this.playButton.visible=!1,this.created=!0},d.prototype.resizeObjects=function(){this.created&&(this.logo.scale.set(.8*this.scaleFactor),this.logo.y=this.game.height/2-100*this.scaleFactor,this.logo.x=this.game.width/2,a.Utils.isOnDevice(this.game)||(this.playButton.x=this.game.width/2,this.playButton.y=this.game.height/2+200*this.scaleFactor))},d.prototype.handler=function(a,b){if(!this.clicked&&"mouseout"!==b.type){this.clicked=!0,this.game.tweens.remove(this.buttonTween),this.game.camera.fade(0,250);var c=this.game.add.tween(this.playButton.scale);c.to({x:0,y:0},250,Phaser.Easing.Back.In).start(),void 0!==this.config.mobilePlayClickhandler?this.config.mobilePlayClickhandler():this.game.state.start(this.config.nextState),this.game.input.onUp.remove(this.handler,this)}},d.prototype.getScale=function(){return a.Utils.isOnDevice(this.game)?this.game.width<1.5*d.IdealWidth?this.game.width/6*4/d.IdealWidth:1:this.game.width 1e3&&(this.t=Date.now(),this.tId++,this.tId>=this.preloadTexts.length&&(this.tId=0)),this.dotText.length>=3?this.dotText=".":this.dotText+=".",this.preloadText.setText(this.preloadTexts[this.tId]+this.dotText)},d.prototype.onPreloadEnd=function(){this.preloadReady=!0,this.preloadText.visible=!1,this.game.input.onUp.add(this.handler,this),this.animateButton()},d.prototype.createObjects=function(){this.monster1=this.game.add.spine(0,0,"fgs_monster_1"),this.monster1.setAnimationByName(0,"idle",!0),this.monster2=this.game.add.spine(0,0,"fgs_monster_2"),this.monster2.setAnimationByName(0,"idle",!0),this.monster3=this.game.add.spine(0,0,"fgs_monster_3"),this.monster3.setAnimationByName(0,"idle",!0),this.preloadText=this.game.add.text(this.game.width/2,this.game.height/2+230,"",{font:"Arial",fontSize:40,fill:"#ffffff",fontWeight:"bold"}),this.preloadText.anchor.set(.5),this.logo=this.game.add.image(0,0,"fgs_logo"),this.logo.anchor.set(.5),d.IdealWidth=1.5*this.logo.getBounds().width,this.playButton=this.game.add.button(this.game.width/2,this.game.height/2+230*this.scaleFactor,"fgs_play",this.handler,this,0,0,1,0),this.playButton.anchor.set(.5),this.playButton.scale.set(this.scaleFactor),this.playButton.visible=!1,this.created=!0},d.prototype.handler=function(a,b){if(!this.clicked&&"mouseout"!==b.type){this.clicked=!0,this.game.tweens.remove(this.buttonTween),this.game.camera.fade(0,250);var c=this.game.add.tween(this.playButton.scale);c.to({x:0,y:0},250,Phaser.Easing.Back.In).start(),void 0!==this.config.mobilePlayClickhandler?this.config.mobilePlayClickhandler():this.game.state.start(this.config.nextState),this.game.input.onUp.remove(this.handler,this)}},d.prototype.resizeObjects=function(){this.created&&(this.logo.scale.set(1.5*this.scaleFactor),this.logo.y=this.game.height/2+70*this.scaleFactor,this.logo.x=this.game.width/2,this.monster1.x=this.game.width/2+40*this.scaleFactor,this.monster1.y=this.game.height/2-10*this.scaleFactor,this.monster1.scale.set(.4*this.scaleFactor),this.monster2.x=this.game.width/2+190*this.scaleFactor,this.monster2.y=this.game.height/2-10*this.scaleFactor,this.monster2.scale.set(.4*this.scaleFactor),this.monster3.x=this.game.width/2-140*this.scaleFactor,this.monster3.y=this.game.height/2-10*this.scaleFactor,this.monster3.scale.set(.4*this.scaleFactor),this.preloadText.x=this.game.width/2,this.preloadText.y=this.game.height/2+230*this.scaleFactor,this.preloadText.scale.set(this.scaleFactor),this.playButton.x=this.game.width/2,this.playButton.y=this.game.height/2+230*this.scaleFactor)},d.prototype.getScale=function(){return a.Utils.isOnDevice(this.game)?this.game.width<1.5*d.IdealWidth?this.game.width/6*4/d.IdealWidth:1:this.game.width 1e3&&(this.t=Date.now(),this.tId++,this.tId>=this.preloadTexts.length&&(this.tId=0)),this.dotText.length>=3?this.dotText=".":this.dotText+=".",this.preloadText.setText(this.preloadTexts[this.tId]+this.dotText)},d.prototype.onPreloadEnd=function(){this.preloadReady=!0,this.preloadText.visible=!1,this.game.input.onUp.add(this.handler,this),this.animateButton()},d.prototype.createObjects=function(){this.twirl=this.game.add.image(this.game.width/2,this.game.height/2,"gamecell_atlas","gamecell_bg_pattern"),this.twirl.scale.setTo(2,2),this.twirl.anchor.set(.5),this.createOverlay(),this.logoSpine=this.game.add.spine(0,0,"splash_gamecell"),this.logoSpine.setAnimationByName(0,"idle",!0),this.preloadText=this.game.add.text(this.game.width/2,this.game.height/2+230,"",{font:"Arial",fontSize:40,fill:"#ffffff",fontWeight:"bold"}),this.preloadText.anchor.set(.5),this.logo=this.game.add.image(0,0,"gamecell_atlas","gamecell_logo"),this.logo.anchor.set(.5),d.IdealWidth=1.5*this.logo.getBounds().width,this.playButton=this.game.add.button(this.game.width/2,.85*this.game.height,"gamecell_atlas",this.handler,this,"gamecell_btn_play","gamecell_btn_play","gamecell_btn_play","gamecell_btn_play"),this.playButton.anchor.set(.5),this.playButton.scale.set(this.scaleFactor),this.playButton.visible=!1,this.created=!0},d.prototype.createOverlay=function(){this.gradientBitmap=this.game.make.bitmapData(1,1),this.gradient=this.game.make.sprite(0,0,this.gradientBitmap),this.game.add.existing(this.gradient)},d.prototype.handler=function(a,b){if(!this.clicked&&"mouseout"!==b.type){this.clicked=!0,this.game.tweens.remove(this.buttonTween),this.game.camera.fade(0,250);var c=this.game.add.tween(this.playButton.scale);c.to({x:0,y:0},250,Phaser.Easing.Back.In).start(),void 0!==this.config.mobilePlayClickhandler?this.config.mobilePlayClickhandler():this.game.state.start(this.config.nextState),this.game.input.onUp.remove(this.handler,this)}},d.prototype.resizeObjects=function(){if(this.created){this.gradientBitmap.resize(this.game.width,this.game.height),this.gradientBitmap.context.clearRect(0,0,this.game.width,this.game.height);var a=this.gradientBitmap.context.createRadialGradient(this.game.width/2,this.game.height/2,0,this.game.width/2,this.game.height/2,this.game.height/2);a.addColorStop(0,"rgb(8, 8, 54)"),a.addColorStop(1,"rgba(8, 8, 54, 0)"),this.gradientBitmap.context.fillStyle=a,this.gradientBitmap.context.fillRect(0,0,this.game.width,this.game.height),this.logo.scale.set(.5*this.scaleFactor),this.logo.y=.2*this.game.height,this.logo.x=this.game.width/2,this.logoSpine.scale.set(this.scaleFactor),this.logoSpine.autoUpdateTransform(),this.logoSpine.x=this.game.width/2,this.logoSpine.y=this.game.height/2,this.preloadText.x=this.game.width/2,this.preloadText.y=.85*this.game.height,this.preloadText.scale.set(this.scaleFactor),this.playButton.x=this.game.width/2,this.playButton.y=.85*this.game.height,this.twirl.position.set(this.game.width/2,this.game.height/2)}},d.prototype.getScale=function(){return a.Utils.isOnDevice(this.game)?this.game.width<1.5*d.IdealWidth?this.game.width/6*4/d.IdealWidth:1:this.game.width 2.8&&(this.twirl.scale.x=2,this.twirl.scale.y=2)},d.prototype.loadUpdate=function(){this.background.update()},d.prototype.resize=function(){this.scaleFactor=this.getScale(),this.background.resize(this.scaleFactor),this.resizeObjects(),this.created&&this.preloadReady&&this.animateButton()},d.prototype.shutdown=function(){c.prototype.shutdown.call(this),this.gradientBitmap.destroy(),this.gradient.destroy(!0),this.gradientBitmap=null,this.gradient=null,this.logo.destroy(!0),this.logoSpine.destroy(!0),this.playButton.destroy(!0),this.background.destroy(!0),this.preloadText.destroy(!0),this.logo=null,this.logoSpine=null,this.playButton=null,this.background=null,this.preloadText=null,this.config=null,this.game.scale.onSizeChange.remove(this.resize,this),this.game.load.onLoadStart.remove(this.onPreloadStart,this),this.game.load.onFileComplete.remove(this.onPreloadedFile,this),this.game.load.onLoadComplete.remove(this.onPreloadEnd,this),this.game.state.remove(b.Preloader.Name),this.game.state.remove(b.SplashPreloader.Name),this.game.state.remove(this.name)},d}(Phaser.State);c.Name="GameCell",c.IdealWidth=860,c.MaxDots=3,b.GameCell=c}(b=a.SplashScreen||(a.SplashScreen={}))}(Fabrique||(Fabrique={}));var Fabrique;!function(a){var b;!function(b){var c=function(c){function d(){var a=c.call(this)||this;return a.name=d.Name,a.scaleFactor=1,a.created=!1,a.preloadReady=!1,a.clicked=!1,a.preloadTexts=["Loading images","Loading music","Loading sound effects","Calculating Pi"],a.dotText=".",a.tId=0,a}return __extends(d,c),d.prototype.init=function(a,b){this.config=a,this.background=b,this.config.preloadTexts&&(this.preloadTexts=this.config.preloadTexts),this.game.scale.onSizeChange.add(this.resize,this)},d.prototype.preload=function(){this.game.add.existing(this.background),this.createObjects(),this.scaleFactor=this.getScale(),this.resizeObjects(),this.startAnimation(),this.game.load.onLoadStart.add(this.onPreloadStart,this),this.game.load.onFileComplete.add(this.onPreloadedFile,this),this.game.load.onLoadComplete.add(this.onPreloadEnd,this),this.config.preloadHandler(),0===this.game.load.totalQueuedFiles()&&this.onPreloadEnd()},d.prototype.onPreloadStart=function(){this.t=Date.now(),this.preloadText.setText(this.preloadTexts[this.tId])},d.prototype.onPreloadedFile=function(){Date.now()-this.t>1e3&&(this.t=Date.now(),this.tId++,this.tId>=this.preloadTexts.length&&(this.tId=0)),this.dotText.length>=3?this.dotText=".":this.dotText+=".",this.preloadText.setText(this.preloadTexts[this.tId]+this.dotText)},d.prototype.onPreloadEnd=function(){this.preloadReady=!0,this.preloadText.visible=!1,this.game.input.onUp.add(this.handler,this),this.animateButton()},d.prototype.createObjects=function(){this.twirl=this.game.add.image(this.game.width/2,this.game.height/2,"kizi_twist"),this.twirl.anchor.set(.5),this.twirl.width=this.twirl.height=this.game.width>this.game.height?this.game.width:this.game.height,this.monster=this.game.add.spine(0,0,"kizi_skeleton"),this.monster.setAnimationByName(0,"idle",!0),this.preloadText=this.game.add.text(this.game.width/2,this.game.height/2+230,"",{font:"Arial",fontSize:40,fill:"#ffffff",fontWeight:"bold"}),this.preloadText.anchor.set(.5),this.logo=this.game.add.image(0,0,"kizi_logo"),this.logo.anchor.set(.5),d.IdealWidth=1.5*this.logo.getBounds().width,this.playButton=this.game.add.button(this.game.width/2,.85*this.game.height,"kizi_button",this.handler,this,0,0,1,0),this.playButton.anchor.set(.5),this.playButton.scale.set(this.scaleFactor),this.playButton.visible=!1,this.created=!0},d.prototype.handler=function(a,b){if(!this.clicked&&"mouseout"!==b.type){this.clicked=!0,this.game.tweens.remove(this.buttonTween),this.game.camera.fade(0,250);var c=this.game.add.tween(this.playButton.scale);c.to({x:0,y:0},250,Phaser.Easing.Back.In).start(),void 0!==this.config.mobilePlayClickhandler?this.config.mobilePlayClickhandler():this.game.state.start(this.config.nextState),this.game.input.onUp.remove(this.handler,this)}},d.prototype.resizeObjects=function(){this.created&&(this.logo.scale.set(.5*this.scaleFactor),this.logo.y=.2*this.game.height,this.logo.x=this.game.width/2,this.monster.scale.set(this.scaleFactor),this.monster.autoUpdateTransform(),this.monster.x=this.game.width/2,this.monster.y=this.game.height/2+.6*this.monster.height,this.preloadText.x=this.game.width/2,this.preloadText.y=.85*this.game.height,this.preloadText.scale.set(this.scaleFactor),this.playButton.x=this.game.width/2,this.playButton.y=.85*this.game.height,this.twirl.position.set(this.game.width/2,this.game.height/2))},d.prototype.getScale=function(){return a.Utils.isOnDevice(this.game)?this.game.width<1.5*d.IdealWidth?this.game.width/6*4/d.IdealWidth:1:this.game.width =1&&(3===this.state?this.setTween(4,14,{alpha:0}):4===this.state?(this.onComplete.dispatch(this.floor,this.cell),this.destroy()):5===this.state?(this.onComplete.dispatch(),this.state=6):this.state=0)}},Object.defineProperty(b.prototype,"scaleX",{get:function(){return this.scale.x},set:function(a){this.scale.x=a},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"scaleY",{get:function(){return this.scale.y},set:function(a){this.scale.y=a},enumerable:!0,configurable:!0}),b.prototype.destroy=function(){a.prototype.destroy.call(this),this.onComplete=null,this.tweenDetails=[],this.tweenDetails=null},b}(Phaser.Sprite);a.SmallPart=b}(b=a.SplashScreen||(a.SplashScreen={}))}(Fabrique||(Fabrique={}));var Fabrique;!function(a){var b;!function(a){var b=function(b){function c(){var a=b.call(this)||this;return a.name=c.Name,a.scaleFactor=1,a.width=787,a.height=494,a.created=!1,a.preloadTexts=[],a.preloadReady=!1,a.clicked=!1,a.tId=0,a}return __extends(c,b),c.prototype.init=function(a,b){this.config=a,this.background=b,this.game.scale.onSizeChange.add(this.resize,this)},c.prototype.preload=function(){this.game.add.existing(this.background),this.scaleFactor=this.getScale(),this.createObjects(),this.resizeObjects(),this.game.load.onLoadStart.add(this.onPreloadStart,this),this.game.load.onFileComplete.add(this.onPreloadedFile,this),this.game.load.onLoadComplete.add(this.onPreloadEnd,this),this.config.preloadHandler(),0===this.game.load.totalQueuedFiles()&&this.onPreloadEnd()},c.prototype.onPreloadStart=function(){this.t=Date.now()},c.prototype.onPreloadedFile=function(){},c.prototype.onPreloadEnd=function(){this.preloadReady=!0,this.game.input.onUp.add(this.handler,this),this.animateButton()},c.prototype.createObjects=function(){this.spine=this.game.add.spine(this.game.width/2,this.game.height/2,"splash_playcell"),this.spine.setMixByName("intro","loop",.2),this.spine.setMixByName("loop","outro",.2),this.spine.setAnimationByName(0,"intro",!1),this.spine.addAnimationByName(0,"loop",!0,0),this.logo=this.game.add.sprite(this.game.width/2,.4*this.game.height,"playcell_atlas","logo"),this.logo.scale.set(this.scaleFactor),this.logo.anchor.set(.5),this.logo.visible=!1,this.playButton=this.game.add.image(this.game.width/2,this.game.height,"playcell_atlas","button"),this.playButton.anchor.set(.5),this.playButton.scale.set(this.scaleFactor),this.playButton.y=this.logo.y+.75*this.logo.height,this.playButton.inputEnabled=!0,this.playButton.events.onInputUp.add(this.handler,this),this.playButton.visible=!1,this.created=!0},c.prototype.resizeObjects=function(){this.created&&(this.logo.position.set(this.game.width/2,.4*this.game.height),this.logo.scale.set(this.scaleFactor),this.playButton.x=this.game.width/2,this.playButton.y=this.logo.y+.75*this.logo.height)},c.prototype.handler=function(a,b){if(!this.clicked&&"mouseout"!==b.type){this.clicked=!0,this.game.tweens.remove(this.buttonTween),this.game.camera.fade(0,250);var c=this.game.add.tween(this.playButton.scale);c.to({x:0,y:0},250,Phaser.Easing.Back.In).start(),void 0!==this.config.mobilePlayClickhandler?this.config.mobilePlayClickhandler():this.game.state.start(this.config.nextState),this.game.input.onUp.remove(this.handler,this)}},c.prototype.getScale=function(){return this.game.width 1e3&&(this.t=Date.now(),this.tId++,this.tId>=this.preloadTexts.length&&(this.tId=0)),this.dotText.length>=3?this.dotText=".":this.dotText+=".",this.preloadText.setText(this.preloadTexts[this.tId]+this.dotText)},d.prototype.onPreloadEnd=function(){this.preloadReady=!0,this.preloadText.visible=!1,this.game.input.onUp.add(this.handler,this),this.animateButton()},d.prototype.createObjects=function(){this.twirl=this.game.add.image(this.game.width/2,this.game.height/2,"spele_atlas","spele_bg_pattern"),this.twirl.anchor.set(.5),this.twirl.width=this.twirl.height=this.game.width>this.game.height?this.game.width:this.game.height,this.jelly=this.game.add.spine(0,0,"jelly_skeleton"),this.jelly.setAnimationByName(0,"idle",!0),this.preloadText=this.game.add.text(this.game.width/2,this.game.height/2+230,"",{font:"Arial",fontSize:40,fill:"#ffffff",fontWeight:"bold"}),this.preloadText.anchor.set(.5),this.logo=this.game.add.image(0,0,"spele_atlas","spele_logo"),this.logo.anchor.set(.5),d.IdealWidth=1.5*this.logo.getBounds().width;var a="spele_button";this.playButton=this.game.add.button(this.game.width/2,.85*this.game.height,"spele_atlas",this.handler,this,a,a,a,a),this.playButton.anchor.set(.5),this.playButton.scale.set(this.scaleFactor),this.playButton.visible=!1,this.created=!0},d.prototype.handler=function(a,b){if(!this.clicked&&"mouseout"!==b.type){this.clicked=!0,this.game.tweens.remove(this.buttonTween),this.game.camera.fade(0,250);var c=this.game.add.tween(this.playButton.scale);c.to({x:0,y:0},250,Phaser.Easing.Back.In).start(),void 0!==this.config.mobilePlayClickhandler?this.config.mobilePlayClickhandler():this.game.state.start(this.config.nextState),this.game.input.onUp.remove(this.handler,this)}},d.prototype.resizeObjects=function(){this.created&&(this.logo.scale.set(.5*this.scaleFactor),this.logo.y=.25*this.game.height,this.logo.x=this.game.width/2,this.jelly.scale.set(.5*this.scaleFactor),this.jelly.autoUpdateTransform(),this.jelly.x=this.game.width/2,this.jelly.y=this.game.height/2+1.2*this.jelly.height,this.preloadText.x=this.game.width/2,this.preloadText.y=.85*this.game.height,this.preloadText.scale.set(this.scaleFactor),this.playButton.x=this.game.width/2,this.playButton.y=.84*this.game.height,this.twirl.position.set(this.game.width/2,this.game.height/2))},d.prototype.getScale=function(){return a.Utils.isOnDevice(this.game)?this.game.width<1.5*d.IdealWidth?this.game.width/6*4/d.IdealWidth:1:this.game.width 200&&(this.tweenRandomItem(),this.dt=Date.now())},c.prototype.loadUpdate=function(){var a=Date.now()-this.ddt;a>200&&(this.ddt=Date.now(),this.tweenRandomItem())},c.prototype.tweenRandomItem=function(){var a=this.tiles[Math.random()*this.tiles.length|0];this.game.add.tween(a).to({alpha:1},1e3,Phaser.Easing.Linear.None,!0,0,0,!0)},c.prototype.resize=function(){this.scaleFactor=this.getScale(),this.background.resize(this.scaleFactor),this.resizeObjects()},c.prototype.shutdown=function(){b.prototype.shutdown.call(this),this.spine.destroy(!0),this.background.destroy(!0),this.tiles.forEach(function(a){a.destroy(!0)}),this.gradientBitmap.destroy(),this.gradient.destroy(!0),this.logo.destroy(!0),this.balls.forEach(function(a){a.destroy(!0)}),this.spine=null,this.playButton=null,this.background=null,this.gradientBitmap=null,this.gradient=null,this.logo=null,this.tiles=null,this.balls=null,this.game.scale.onSizeChange.remove(this.resize,this),this.game.load.onLoadStart.remove(this.onPreloadStart,this),this.game.load.onFileComplete.remove(this.onPreloadedFile,this),this.game.load.onLoadComplete.remove(this.onPreloadEnd,this),this.game.state.remove(a.Preloader.Name),this.game.state.remove(a.SplashPreloader.Name),this.game.state.remove(this.name)},c}(Phaser.State);b.Name="yepiSplashScreen",b.IdealWidth=463,b.MaxDots=3,a.Yepi=b}(b=a.SplashScreen||(a.SplashScreen={}))}(Fabrique||(Fabrique={}));var Fabrique;!function(a){var b=null,c=function(){function a(){}return a.has=function(a){var c=a.lastIndexOf(".");if(c<=0||c>=a.length-1)return!1;var d=a.lastIndexOf(".",c-1);if(d<=0||d>=c-1)return!1;var e=b[a.slice(c+1)];return!!e&&e.indexOf(" "+a.slice(d+1,c)+" ")>=0},a.is=function(a){var c=a.lastIndexOf(".");if(c<=0||c>=a.length-1)return!1;var d=a.lastIndexOf(".",c-1);if(d>=0)return!1;var e=b[a.slice(c+1)];return!!e&&e.indexOf(" "+a.slice(0,c)+" ")>=0},a.get=function(a){var c=a.lastIndexOf(".");if(c<=0||c>=a.length-1)return null;var d=a.lastIndexOf(".",c-1);if(d<=0||d>=c-1)return null;var e=b[a.slice(c+1)];return e?e.indexOf(" "+a.slice(d+1,c)+" ")<0?null:a.slice(d+1):null},a}(),d=function(){function a(){}return a.setList=function(a){b=a||{}},a.getDomain=function(a){if(null===b)return null;var c=a.match(/\./g);if(c&&c.length<2)return a;var d=a.length-this.getTld(a).length-1;return d=a.lastIndexOf(".",d-1)+1,a.substring(d)||""},a.getTld=function(a){if(null===b)return null;var d=a.lastIndexOf("."),e=a.substring(d+1);return b[e.toLowerCase()]?c.get(a)||e:e},a}();d.KEY="Domains",a.Domain=d}(Fabrique||(Fabrique={}));var Fabrique;!function(a){var b=function(){function b(){}return b.getSourceSite=function(c){void 0===c&&(c=!1);var d=document.referrer||window.location.host;if(c&&(d=window.location.host),d.indexOf("embed.gamedistribution.com")!==-1&&window.location.search.indexOf("gd_sdk_referrer_url")!==-1&&(d=b.getUrlParameter("gd_sdk_referrer_url")||d), +d=decodeURIComponent(d),a.Branding.isBild())return"bildspielt.de";if(a.Branding.isBip())return"bipgaming.com";a.Branding.isSpil()&&(d=b.getReferrer(d)),d=d.indexOf("://")>-1?d.split("/")[2]:d.split("/")[0],d=d.split(":")[0];var e=a.Domain.getDomain(d);return null!==e?e:(3===d.split(".").length&&(d=d.substr(d.indexOf(".")+1)),d)},b.getBrandingDomain=function(){if(window.hasOwnProperty("fbrqBD")&&window.fbrqBD in a.BrandingDomain)return window.fbrqBD;if(a.SplashScreen.Preloader.SPLASH_OVERRIDE!==!1)return a.SplashScreen.Preloader.SPLASH_OVERRIDE;var c=b.getSourceSite();if(a.Branding.isAdmeen())return a.BrandingDomain.Admeen;if(a.Branding.isPlaycellApp()||a.Branding.isBip())return a.BrandingDomain.PlayCell;switch(c){case"spele.nl":return a.BrandingDomain.Spele;case"yepi.com":return a.BrandingDomain.Yepi;case"oyunskor.com":case"barbioyunu.com.tr":case"bebekoyunu.com.tr":case"oyunkolu.com":case"oyungemisi.com":case"oyunlar1.com":case"oyunkuzusu.com":case"kraloyun.com":case"rekoroyun.com":case"oyundedem.com":case"oyunoyna.com":case"pastaoyunu.com.tr":case"playcell.com":return a.BrandingDomain.PlayCell;case"gamecell.com":return a.BrandingDomain.GameCell;case"playxl.com":return a.BrandingDomain.Admeen;default:case"kizi.com":return a.BrandingDomain.Kizi;case"bildspielt.de":return a.BrandingDomain.Bild;case"funnygames.nl":return a.BrandingDomain.Funnygames}},b.getReferrer=function(a){return a.indexOf("?ref=")!==-1?a.substr(a.indexOf("?ref=")+5):a},b.inIframe=function(){try{return window.self!==window.top}catch(a){return!0}},b.getDomain=function(a){var b=document.createElement("a");return b.href=a,b.origin},b.isOnDevice=function(a){return!(!a.device.cordova&&!a.device.crosswalk)&&!/(gamedistribution\.com)/.test(window.location.hostname)},b.isTc=function(){return/(teamcity\.ds\.orangegames\.com)/.test(window.location.host)},b.getRandomRange=function(a,b){return Math.random()*(b-a)+a|0},b.getUrlParameter=function(a){a=a.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");var b=new RegExp("[\\?&]"+a+"=([^]*)"),c=b.exec(location.search);return null===c?"":decodeURIComponent(c[1].replace(/\+/g," "))},b.intTimeToString=function(a){var b=Math.floor(a/3600),c=Math.floor(a%3600/60),d=a%60,e=b<10?"0"+b:b.toString(),f=c<10?"0"+c:c.toString(),g=d<10?"0"+d:d.toString();return e+":"+f+":"+g},b.registerAudioUnlocker=function(a){a.input.touch&&"function"!=typeof a.input.touch.addTouchLockCallback||a.device.android&&a.device.chrome&&a.device.chromeVersion>=55&&(a.sound.touchLocked=!0,a.input.touch.addTouchLockCallback(function(){if(this.noAudio||!this.touchLocked||null!==this._unlockSource)return!0;if(this.usingWebAudio){var a=this.context.createBuffer(1,1,22050);this._unlockSource=this.context.createBufferSource(),this._unlockSource.buffer=a,this._unlockSource.connect(this.context.destination),void 0===this._unlockSource.start?this._unlockSource.noteOn(0):this._unlockSource.start(0),"suspended"===this._unlockSource.context.state&&this._unlockSource.context.resume()}return!0},a.sound,!0))},b}();b.ASSET_LOCATION="patch/cdn/kizi/",a.Utils=b}(Fabrique||(Fabrique={}));var CryptoJS=CryptoJS||function(a,b){var c={},d=c.lib={},e=function(){},f=d.Base={extend:function(a){e.prototype=this;var b=new e;return a&&b.mixIn(a),b.hasOwnProperty("init")||(b.init=function(){b.$super.init.apply(this,arguments)}),b.init.prototype=b,b.$super=this,b},create:function(){var a=this.extend();return a.init.apply(a,arguments),a},init:function(){},mixIn:function(a){for(var b in a)a.hasOwnProperty(b)&&(this[b]=a[b]);a.hasOwnProperty("toString")&&(this.toString=a.toString)},clone:function(){return this.init.prototype.extend(this)}},g=d.WordArray=f.extend({init:function(a,c){a=this.words=a||[],this.sigBytes=c!=b?c:4*a.length},toString:function(a){return(a||i).stringify(this)},concat:function(a){var b=this.words,c=a.words,d=this.sigBytes;if(a=a.sigBytes,this.clamp(),d%4)for(var e=0;e>>2]|=(c[e>>>2]>>>24-e%4*8&255)<<24-(d+e)%4*8;else if(65535 >>2]=c[e>>>2];else b.push.apply(b,c);return this.sigBytes+=a,this},clamp:function(){var b=this.words,c=this.sigBytes;b[c>>>2]&=4294967295<<32-c%4*8,b.length=a.ceil(c/4)},clone:function(){var a=f.clone.call(this);return a.words=this.words.slice(0),a},random:function(b){for(var c=[],d=0;d>>2]>>>24-d%4*8&255;c.push((e>>>4).toString(16)),c.push((15&e).toString(16))}return c.join("")},parse:function(a){for(var b=a.length,c=[],d=0;d>>3]|=parseInt(a.substr(d,2),16)<<24-d%8*4;return new g.init(c,b/2)}},j=h.Latin1={stringify:function(a){var b=a.words;a=a.sigBytes;for(var c=[],d=0;d>>2]>>>24-d%4*8&255));return c.join("")},parse:function(a){for(var b=a.length,c=[],d=0;d>>2]|=(255&a.charCodeAt(d))<<24-d%4*8;return new g.init(c,b)}},k=h.Utf8={stringify:function(a){try{return decodeURIComponent(escape(j.stringify(a)))}catch(a){throw Error("Malformed UTF-8 data")}},parse:function(a){return j.parse(unescape(encodeURIComponent(a)))}},l=d.BufferedBlockAlgorithm=f.extend({reset:function(){this._data=new g.init,this._nDataBytes=0},_append:function(a){"string"==typeof a&&(a=k.parse(a)),this._data.concat(a),this._nDataBytes+=a.sigBytes},_process:function(b){var c=this._data,d=c.words,e=c.sigBytes,f=this.blockSize,h=e/(4*f),h=b?a.ceil(h):a.max((0|h)-this._minBufferSize,0);if(b=h*f,e=a.min(4*b,e),b){for(var i=0;ij;){var k;a:{k=i;for(var l=a.sqrt(k),m=2;m<=l;m++)if(!(k%m)){k=!1;break a}k=!0}k&&(8>j&&(f[j]=h(a.pow(i,.5))),g[j]=h(a.pow(i,1/3)),j++),i++}var n=[],c=c.SHA256=e.extend({_doReset:function(){this._hash=new d.init(f.slice(0))},_doProcessBlock:function(a,b){for(var c=this._hash.words,d=c[0],e=c[1],f=c[2],h=c[3],i=c[4],j=c[5],k=c[6],l=c[7],m=0;64>m;m++){if(16>m)n[m]=0|a[b+m];else{var o=n[m-15],p=n[m-2];n[m]=((o<<25|o>>>7)^(o<<14|o>>>18)^o>>>3)+n[m-7]+((p<<15|p>>>17)^(p<<13|p>>>19)^p>>>10)+n[m-16]}o=l+((i<<26|i>>>6)^(i<<21|i>>>11)^(i<<7|i>>>25))+(i&j^~i&k)+g[m]+n[m],p=((d<<30|d>>>2)^(d<<19|d>>>13)^(d<<10|d>>>22))+(d&e^d&f^e&f),l=k,k=j,j=i,i=h+o|0,h=f,f=e,e=d,d=o+p|0}c[0]=c[0]+d|0,c[1]=c[1]+e|0,c[2]=c[2]+f|0,c[3]=c[3]+h|0,c[4]=c[4]+i|0,c[5]=c[5]+j|0,c[6]=c[6]+k|0,c[7]=c[7]+l|0},_doFinalize:function(){var b=this._data,c=b.words,d=8*this._nDataBytes,e=8*b.sigBytes;return c[e>>>5]|=128<<24-e%32,c[14+(e+64>>>9<<4)]=a.floor(d/4294967296),c[15+(e+64>>>9<<4)]=d,b.sigBytes=4*c.length,this._process(),this._hash},clone:function(){var a=e.clone.call(this);return a._hash=this._hash.clone(),a}});b.SHA256=e._createHelper(c),b.HmacSHA256=e._createHmacHelper(c)}(Math),function(){var a=CryptoJS,b=a.enc.Utf8;a.algo.HMAC=a.lib.Base.extend({init:function(a,c){a=this._hasher=new a.init,"string"==typeof c&&(c=b.parse(c));var d=a.blockSize,e=4*d;c.sigBytes>e&&(c=a.finalize(c)),c.clamp();for(var f=this._oKey=c.clone(),g=this._iKey=c.clone(),h=f.words,i=g.words,j=0;j >>2]>>>24-e%4*8&255)<<16|(b[e+1>>>2]>>>24-(e+1)%4*8&255)<<8|b[e+2>>>2]>>>24-(e+2)%4*8&255,g=0;4>g&&e+.75*g >>6*(3-g)&63));if(b=d.charAt(64))for(;a.length%4;)a.push(b);return a.join("")},parse:function(a){var c=a.length,d=this._map,e=d.charAt(64);e&&-1!=(e=a.indexOf(e))&&(c=e);for(var e=[],f=0,g=0;g >>6-g%4*2;e[f>>>2]|=(h|i)<<24-f%4*8,f++}return b.create(e,f)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}}();var GA;!function(a){!function(a){a[a.ios=0]="ios",a[a.android=1]="android",a[a.windows=2]="windows",a[a.windows_phone=3]="windows_phone",a[a.blackberry=4]="blackberry",a[a.roku=5]="roku",a[a.tizen=6]="tizen",a[a.nacl=7]="nacl",a[a.mac_osx=8]="mac_osx",a[a.webplayer=9]="webplayer"}(a.Platform||(a.Platform={})),a.Platform,function(a){a[a.male=0]="male",a[a.female=1]="female"}(a.Gender||(a.Gender={})),a.Gender}(GA||(GA={}));var GA;!function(a){!function(a){var b=/^[A-Za-z0-9\\s\\-_\\.\\(\\)\\!\\?]{1,64}:[A-Za-z0-9\\s\\-_\\.\\(\\)\\!\\?]{1,64}$/,c=function(){function a(a,c,d,e,f,g){if(this.category=1,this.transaction_num=0,!a||null===a.match(b))throw new Error("Invalid event_id supplied for BusinessEvent");if(this.event_id=a,this.amount=c,!d||null===d.match(/^[A-Z]{3}$/))throw new Error("Invalid currency supplied for BusinessEvent");if(this.currency=d,this.transaction_num=e,f){if(f.length>32)throw new Error("A too long cart_type was supplied, should be max 32 characters");this.cart_type=f}void 0!==g&&(this.receipt_info=g)}return a}();a.Business=c}(a.Events||(a.Events={}))}(GA||(GA={}));var GA;!function(a){!function(a){var b=/^[A-Za-z0-9\\s\\-_\\.\\(\\)\\!\\?]{1,64}(:[A-Za-z0-9\\s\\-_\\.\\(\\)\\!\\?]{1,64}){0,4}$/,c=function(){function a(a,c){if(this.category=0,null===a.match(b))throw new Error("Invalid event_id supplied for DesignEvent");this.event_id=a,void 0!==c&&(this.value=c)}return a}();a.Design=c}(a.Events||(a.Events={}))}(GA||(GA={}));var GA;!function(a){!function(a){!function(a){a[a.design=0]="design",a[a.business=1]="business",a[a.error=2]="error",a[a.user=3]="user",a[a.session_end=4]="session_end",a[a.progression=5]="progression",a[a.resource=6]="resource"}(a.Category||(a.Category={})),a.Category}(a.Events||(a.Events={}))}(GA||(GA={}));var GA;!function(a){!function(a){!function(a){a[a.debug=0]="debug",a[a.info=1]="info",a[a.warning=2]="warning",a[a.error=3]="error",a[a.critical=4]="critical"}(a.ErrorSeverity||(a.ErrorSeverity={}));var b=a.ErrorSeverity,c=function(){function a(a,c){this.category=2,this.message="",this.severity=b[a],void 0!==c&&(this.message=c.substr(0,8192))}return a}();a.Exception=c}(a.Events||(a.Events={}))}(GA||(GA={}));var GA;!function(a){!function(a){var b=function(){function a(){}return a}();a.InitResponse=b;var c=function(){function a(a){this.data=a}return a.prototype.toString=function(){return JSON.stringify(this.data)},a}();a.Init=c}(a.Events||(a.Events={}))}(GA||(GA={}));var GA;!function(a){!function(a){var b=/^(Start|Fail|Complete):[A-Za-z0-9\\s\\-_\\.\\(\\)\\!\\?]{1,64}(:[A-Za-z0-9\\s\\-_\\.\\(\\)\\!\\?]{1,64}){0,2}$/,c=function(){function a(a,c,d){if(this.category=5,null===a.match(b))throw new Error("Invalid event_id supplied for ProgressionEvent");this.event_id=a,void 0!==c&&(this.attempt_num=c),void 0!==d&&(this.score=d)}return a}();a.Progression=c}(a.Events||(a.Events={}))}(GA||(GA={}));var GA;!function(a){!function(a){var b=/^(Sink|Source):[A-Za-z]{1,64}:[A-Za-z0-9\\s\\-_\\.\\(\\)\\!\\?]{1,64}:[A-Za-z0-9\\s\\-_\\.\\(\\)\\!\\?]{1,64}/,c=function(){function a(a,c){if(this.category=6,null===a.match(b))throw new Error("Invalid event_id supplied for ResourceEvent");this.event_id=a,this.amount=c}return a}();a.Resource=c}(a.Events||(a.Events={}))}(GA||(GA={}));var GA;!function(a){!function(a){var b=function(){function a(a){this.category=4,this.length=0,this.length=a}return a}();a.SessionEnd=b}(a.Events||(a.Events={}))}(GA||(GA={}));var GA;!function(a){!function(a){var b=function(){function a(){this.category=3}return a}();a.User=b}(a.Events||(a.Events={}))}(GA||(GA={}));var GA;!function(a){function b(){return null===c.instance&&(c.instance=new c),c.instance}a.getInstance=b;var c=function(){function b(){this.sessionId=a.Utils.createUniqueId(),this.messageQueue=new a.Utils.MessageQueue,this.enabled=!1,this.initProcessed=!1,this.timeoutId=0,this.timeOffset=0}return b.prototype.init=function(c,d,e,f){var g=this;if(null===b.instance)throw new Error("No instance Available!");this.gameKey=c,this.secretKey=d,this.build=e,this.user=f,this.incrementSessionNum(f);var h=new a.Events.Init(a.Utils.getBaseAnnotations());return this.sendEvent(h.toString(),"init",function(a){g.initProcessed=!0,!0===a.enabled&&(g.enabled=!0,g.timeOffset=(Date.now()/1e3|0)-a.server_ts)}),this.scheduleSendData(b.SCHEDULE_TIME),window.addEventListener("beforeunload",function(){g.sendData()}),this},b.prototype.incrementSessionNum=function(b){var c=a.Utils.LocalStorage.getItem(b.user_id);c?a.Utils.LocalStorage.setItem(b.user_id,(parseInt(c)+1).toString()):(c="1",a.Utils.LocalStorage.setItem(b.user_id,c))},b.prototype.addEvent=function(c){if(null===b.instance)throw new Error("No instance Available!");var d=new a.Utils.Message(c,a.Utils.getDefaultAnnotations(this.user,this.sessionId,this.build,this.timeOffset));return this.messageQueue.push(d),this},b.prototype.sendData=function(){if(!1===this.initProcessed)return this.scheduleSendData(1e3),this;if(!1===this.enabled)return this;if(null===b.instance)throw new Error("No instance Available!");for(var a=[],c="";this.messageQueue.length>0;){var d=this.messageQueue.pop();a.push(d.data)}if(0===a.length)return this.scheduleSendData(b.SCHEDULE_TIME),this;try{c=JSON.stringify(a)}catch(a){}return this.sendEvent(c,"events"),this.scheduleSendData(b.SCHEDULE_TIME),this},b.prototype.scheduleSendData=function(a){var b=this;clearTimeout(this.timeoutId),this.timeoutId=setTimeout(function(){b.sendData()},a)},b.prototype.sendEvent=function(c,d,e){if(void 0===e&&(e=null),null===b.instance&&null===this.gameKey)throw new Error("No instance Available!");if(!(c.length<1)){var f=CryptoJS.HmacSHA256(c,this.secretKey),g=CryptoJS.enc.Base64.stringify(f),h=b.API_URL+this.gameKey+"/"+d;a.Utils.postRequest(h,c,g,function(a){if(!1===a.success&&window.console&&console.log(a.message),null!=e){var b="";try{b=JSON.parse(a.message)}catch(a){}e(b)}})}},b.SCHEDULE_TIME=15e3,b.SDK_VERSION="rest api v2",b.API_URL="patch/json/null.json?"+("https:"===document.location.protocol?"https":"http")+"://api.gameanalytics.com/v2/",b.instance=null,b}();a.GameAnalytics=c}(GA||(GA={}));var GA;!function(a){var b=function(){function b(b,c,d,e){if(this.user_id="",b)this.user_id=b;else{var f=a.Utils.LocalStorage.getItem("user");this.user_id=f||a.Utils.createUniqueUserId()}c&&c.length>0&&(this.facebook_id=c,this.user_id=c),a.Utils.LocalStorage.setItem("user",this.user_id),1!==d&&0!==d||(this.gender=d),e&&e.toString().match(/^[0-9]{4}$/gi)&&(this.birth_year=e)}return b}();a.User=b}(GA||(GA={}));var GA;!function(a){!function(b){function c(b,c,d,f){var g={sdk_version:a.GameAnalytics.SDK_VERSION,platform:a.Platform[2],os_version:a.Platform[2]+" 8",device:"unknown",v:2,user_id:b.user_id,client_ts:(Date.now()/1e3|0)+f,manufacturer:"unknown",session_id:c,session_num:e(b.user_id),build:d};b.facebook_id&&(g.facebook_id=b.facebook_id),0!==b.gender&&1!==b.gender||(g.gender=a.Gender[b.gender]),b.birth_year&&(g.birth_year=b.birth_year);var h=navigator.userAgent;return h.match(/iPad|iPod|iPhone/i)?(g.platform=a.Platform[0],g.device=h.match(/iPad|iPod|iPhone/i)[0],g.manufacturer="Apple",g.os_version=a.Platform[0]+" "+h.match(/OS (\b[0-9]+_[0-9]+(?:_[0-9]+)?\b)/)[1].replace(/_/gi,".")):h.match(/Android/i)?(g.platform=a.Platform[1],g.device=h.match(/Mobile/i)?"Phone":"Tablet",g.os_version=a.Platform[1],/Firefox/i.test(h)||(g.os_version+=" "+h.match(/Android (\d+(?:\.\d+)*);/)[1])):h.match(/Windows Phone/i)&&(g.platform=a.Platform[2],g.device="Windows Phone",g.os_version=a.Platform[2]+" "+h.match(/Phone (\d+(?:\.\d+)+);/)[1]),g}function d(){var b={sdk_version:a.GameAnalytics.SDK_VERSION,platform:"unknown",os_version:"unknown"},c=navigator.userAgent;return c.match(/iPad|iPod|iPhone/i)?(b.platform=a.Platform[0],b.os_version=a.Platform[0]+" "+c.match(/OS (\b[0-9]+_[0-9]+(?:_[0-9]+)?\b)/)[1].replace(/_/gi,".")):c.match(/Android/i)?(b.platform=a.Platform[1],b.os_version=a.Platform[1],/Firefox/i.test(c)||(b.os_version+=" "+c.match(/Android (\d+(?:\.\d+)*);/)[1])):c.match(/Windows Phone/i)&&(b.platform=a.Platform[2],b.os_version=a.Platform[2]+" "+c.match(/Phone (\d+(?:\.\d+)+);/)[1]),b}function e(a){var c=b.LocalStorage.getItem(a);return c?parseInt(c):1}b.getDefaultAnnotations=c,b.getBaseAnnotations=d}(a.Utils||(a.Utils={}))}(GA||(GA={}));var GA;!function(a){!function(a){var b=function(){function a(){}return a.getItem=function(b){if(a.Available)return localStorage.getItem(a.CacheKey+b)},a.setItem=function(b,c){a.Available&&localStorage.setItem(a.CacheKey+b,c)},a.Available=!1,a.CacheKey="GA:",a}();a.LocalStorage=b;try{"object"==typeof localStorage&&(localStorage.setItem("testingLocalStorage","yes"),localStorage.removeItem("testingLocalStorage"),b.Available=!0)}catch(a){}}(a.Utils||(a.Utils={}))}(GA||(GA={}));var GA;!function(a){!function(b){var c=function(){function b(a,b){this.event=a,this.annotations=b}return Object.defineProperty(b.prototype,"data",{get:function(){for(var b in this.event)this.event.hasOwnProperty(b)&&(this.annotations[b]="category"===b?a.Events.Category[this.event[b]]:this.event[b]);return this.annotations},enumerable:!0,configurable:!0}),b}();b.Message=c}(a.Utils||(a.Utils={}))}(GA||(GA={}));var GA;!function(a){!function(a){var b=function(){function a(){this.queue=[],this.load()}return a.prototype.push=function(a){this.queue.push(a)},a.prototype.pop=function(){return this.queue.pop()},Object.defineProperty(a.prototype,"length",{get:function(){return this.queue.length},enumerable:!0,configurable:!0}),a.prototype.save=function(){},a.prototype.load=function(){},a}();a.MessageQueue=b}(a.Utils||(a.Utils={}))}(GA||(GA={}));var GA;!function(a){!function(a){function b(a,b,c,d){var e;if(!window.XMLHttpRequest)return void d({success:!1,message:"Error: Unable to send request, XMLHttpRequest not supported"});e=new XMLHttpRequest,e.onreadystatechange=function(){4==e.readyState&&(200===e.status?d({success:!0,message:e.responseText}):e.status>0&&d({success:!1,message:"Error: There was a problem with the request: status "+e.status}))};try{e.open("POST",a,!0),e.setRequestHeader("Authorization",c),e.setRequestHeader("Content-Type","application/json"),e.send(b)}catch(a){d({success:!1,message:"Error: Unable to send request, CORS not allowed."})}}var c=function(){function a(){this.success=!1,this.message=""}return a}();a.Response=c,a.postRequest=b}(a.Utils||(a.Utils={}))}(GA||(GA={}));var GA;!function(a){!function(a){function b(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(a){var b=16*Math.random()|0;return("x"==a?b:3&b|8).toString(16)})}function c(){return b()}a.createUniqueId=b,a.createUniqueUserId=c}(a.Utils||(a.Utils={}))}(GA||(GA={})); \ No newline at end of file diff --git a/vex8/patch/cdn/phaser/phaser-ads.min.js b/vex8/patch/cdn/phaser/phaser-ads.min.js new file mode 100644 index 000000000..98dece61c --- /dev/null +++ b/vex8/patch/cdn/phaser/phaser-ads.min.js @@ -0,0 +1,10 @@ +/*! + * phaser-ads - version 2.2.7 + * A Phaser plugin for providing nice ads integration in your phaser.io game + * + * OrangeGames + * Build at 07-08-2018 + * Released under MIT License + */ + +var __extends=this&&this.__extends||function(){var a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c])};return function(b,c){function d(){this.constructor=b}a(b,c),b.prototype=null===c?Object.create(c):(d.prototype=c.prototype,new d)}}(),PhaserAds;!function(a){var b;!function(a){a[a.start=0]="start",a[a.firstQuartile=1]="firstQuartile",a[a.midPoint=2]="midPoint",a[a.thirdQuartile=3]="thirdQuartile",a[a.complete=4]="complete"}(b=a.AdEvent||(a.AdEvent={}));var c;!function(a){a[a.interstitial=0]="interstitial",a[a.rewarded=1]="rewarded",a[a.banner=2]="banner",a[a.video=3]="video"}(c=a.AdType||(a.AdType={}));var d=function(a){function b(b,c){var d=a.call(this,b,c)||this;return d.onContentPaused=new Phaser.Signal,d.onContentResumed=new Phaser.Signal,d.onAdProgression=new Phaser.Signal,d.onAdsDisabled=new Phaser.Signal,d.onAdClicked=new Phaser.Signal,d.onAdRewardGranted=new Phaser.Signal,d.onBannerShown=new Phaser.Signal,d.onBannerHidden=new Phaser.Signal,d.bannerActive=!1,d.provider=null,d.wasMuted=!1,Object.defineProperty(b,"ads",{value:d}),d}return __extends(b,a),b.prototype.setAdProvider=function(a){this.provider=a,this.provider.setManager(this)},b.prototype.showAd=function(){for(var a=[],b=0;b 0&&(b+="&");var d=Array.isArray(a[c])?a[c].join(","):a[c];b+=c+"="+d}return"&cust_params="+encodeURIComponent(b)}return""},b.prototype.areAdsEnabled=function(){var a=this,b=document.createElement("div");b.innerHTML=" ",b.className="adsbox",b.style.position="absolute",b.style.fontSize="10px",document.body.appendChild(b);var c=function(){var a=!0;return 0===b.offsetHeight&&(a=!1),b.parentNode.removeChild(b),a};window.setTimeout(function(){a.adsEnabled=c()},100)},b}();b.Ima3=c}(b=a.AdProvider||(a.AdProvider={}))}(PhaserAds||(PhaserAds={})); \ No newline at end of file diff --git a/vex8/patch/cdn/phaser/phaser-cachebuster.min.js b/vex8/patch/cdn/phaser/phaser-cachebuster.min.js new file mode 100644 index 000000000..7883529db --- /dev/null +++ b/vex8/patch/cdn/phaser/phaser-cachebuster.min.js @@ -0,0 +1,10 @@ +/*! + * phaser-cachebuster - version 2.0.0 + * Simple Phaser plugin for adding a query parameter to assets URL's so that they can be 'cache busted' + * + * Azerion + * Build at 15-03-2019 + * Released under MIT License + */ + +var __extends=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},PhaserCachebuster;!function(a){var b=function(a){function b(b,c){var d=a.call(this,b,c)||this;return d.patchLoader(),d}return __extends(b,a),b.prototype.patchLoader=function(){Object.defineProperty(Phaser.Loader,"cacheBuster",{value:null}),Phaser.Loader.prototype.transformUrl=function(a,b){return a?(null!==this.cacheBuster&&null===a.match(/^(data:)/)&&(a+="?v="+this.cacheBuster),a.match(/^(?:blob:|data:|http:\/\/|https:\/\/|\/\/)/)?a:this.baseURL+b.path+a):""}},b}(Phaser.Plugin);a.CacheBuster=b}(PhaserCachebuster||(PhaserCachebuster={})); \ No newline at end of file diff --git a/vex8/patch/cdn/phaser/phaser-i18next.min.js b/vex8/patch/cdn/phaser/phaser-i18next.min.js new file mode 100644 index 000000000..a10d66d97 --- /dev/null +++ b/vex8/patch/cdn/phaser/phaser-i18next.min.js @@ -0,0 +1,11 @@ +/*! + * phaser-i18next - version 1.0.3 + * Phaser plugin for translations using i18next. + * + * Azerion + * Build at 15-03-2019 + * Released under MIT License + */ + +!function(a,b){"object"==typeof exports&&"undefined"!=typeof module?module.exports=b():"function"==typeof define&&define.amd?define(b):a.i18next=b()}(this,function(){"use strict";function a(a){return null==a?"":""+a}function b(a,b,c){a.forEach(function(a){b[a]&&(c[a]=b[a])})}function c(a,b,c){function d(a){return a&&a.indexOf("###")>-1?a.replace(/###/g,"."):a}function e(){return!a||"string"==typeof a}for(var f="string"!=typeof b?[].concat(b):b.split(".");f.length>1;){if(e())return{};var g=d(f.shift());!a[g]&&c&&(a[g]=new c),a=a[g]}return e()?{}:{obj:a,k:d(f.shift())}}function d(a,b,d){var e=c(a,b,Object),f=e.obj,g=e.k;f[g]=d}function e(a,b,d,e){var f=c(a,b,Object),g=f.obj,h=f.k;g[h]=g[h]||[],e&&(g[h]=g[h].concat(d)),e||g[h].push(d)}function f(a,b){var d=c(a,b),e=d.obj,f=d.k;if(e)return e[f]}function g(a,b,c){for(var d in b)d in a?"string"==typeof a[d]||a[d]instanceof String||"string"==typeof b[d]||b[d]instanceof String?c&&(a[d]=b[d]):g(a[d],b[d],c):a[d]=b[d];return a}function h(a){return a.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}function i(a){return"string"==typeof a?a.replace(/[&<>"'\/]/g,function(a){return F[a]}):a}function j(a){return a.interpolation={unescapeSuffix:"HTML"},a.interpolation.prefix=a.interpolationPrefix||"__",a.interpolation.suffix=a.interpolationSuffix||"__",a.interpolation.escapeValue=a.escapeInterpolation||!1,a.interpolation.nestingPrefix=a.reusePrefix||"$t(",a.interpolation.nestingSuffix=a.reuseSuffix||")",a}function k(a){return a.resStore&&(a.resources=a.resStore),a.ns&&a.ns.defaultNs?(a.defaultNS=a.ns.defaultNs,a.ns=a.ns.namespaces):a.defaultNS=a.ns||"translation",a.fallbackToDefaultNS&&a.defaultNS&&(a.fallbackNS=a.defaultNS),a.saveMissing=a.sendMissing,a.saveMissingTo=a.sendMissingTo||"current",a.returnNull=!a.fallbackOnNull,a.returnEmptyString=!a.fallbackOnEmpty,a.returnObjects=a.returnObjectTrees,a.joinArrays="\n",a.returnedObjectHandler=a.objectTreeKeyHandler,a.parseMissingKeyHandler=a.parseMissingKey,a.appendNamespaceToMissingKey=!0,a.nsSeparator=a.nsseparator||":",a.keySeparator=a.keyseparator||".","sprintf"===a.shortcutFunction&&(a.overloadTranslationOptionHandler=function(a){for(var b=[],c=1;c 1&&void 0!==arguments[1]?arguments[1]:{};v(this,a),this.init(b,c)}return a.prototype.init=function(a){var b=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=b.prefix||"i18next:",this.logger=a||B,this.options=b,this.debug=b.debug},a.prototype.setDebug=function(a){this.debug=a},a.prototype.log=function(){for(var a=arguments.length,b=Array(a),c=0;c-1&&c.observers[a].splice(d,1)}else delete c.observers[a]})},a.prototype.emit=function(a){for(var b=arguments.length,c=Array(b>1?b-1:0),d=1;d":">",'"':""","'":"'","/":"/"},G=function(a){function b(){var c=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},d=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};v(this,b);var e=y(this,a.call(this));return e.data=c,e.options=d,e}return x(b,a),b.prototype.addNamespaces=function(a){this.options.ns.indexOf(a)<0&&this.options.ns.push(a)},b.prototype.removeNamespaces=function(a){var b=this.options.ns.indexOf(a);b>-1&&this.options.ns.splice(b,1)},b.prototype.getResource=function(a,b,c){var d=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},e=d.keySeparator||this.options.keySeparator;void 0===e&&(e=".");var g=[a,b];return c&&"string"!=typeof c&&(g=g.concat(c)),c&&"string"==typeof c&&(g=g.concat(e?c.split(e):c)),a.indexOf(".")>-1&&(g=a.split(".")),f(this.data,g)},b.prototype.addResource=function(a,b,c,e){var f=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1},g=this.options.keySeparator;void 0===g&&(g=".");var h=[a,b];c&&(h=h.concat(g?c.split(g):c)),a.indexOf(".")>-1&&(h=a.split("."),e=b,b=h[1]),this.addNamespaces(b),d(this.data,h,e),f.silent||this.emit("added",a,b,c,e)},b.prototype.addResources=function(a,b,c){for(var d in c)"string"==typeof c[d]&&this.addResource(a,b,d,c[d],{silent:!0});this.emit("added",a,b,c)},b.prototype.addResourceBundle=function(a,b,c,e,h){var i=[a,b];a.indexOf(".")>-1&&(i=a.split("."),e=c,c=b,b=i[1]),this.addNamespaces(b);var j=f(this.data,i)||{};e?g(j,c,h):j=w({},j,c),d(this.data,i,j),this.emit("added",a,b,c)},b.prototype.removeResourceBundle=function(a,b){this.hasResourceBundle(a,b)&&delete this.data[a][b],this.removeNamespaces(b),this.emit("removed",a,b)},b.prototype.hasResourceBundle=function(a,b){return void 0!==this.getResource(a,b)},b.prototype.getResourceBundle=function(a,b){return b||(b=this.options.defaultNS),"v1"===this.options.compatibilityAPI?w({},this.getResource(a,b)):this.getResource(a,b)},b.prototype.toJSON=function(){return this.data},b}(E),H={processors:{},addPostProcessor:function(a){this.processors[a.name]=a},handle:function(a,b,c,d,e){var f=this;return a.forEach(function(a){f.processors[a]&&(b=f.processors[a].process(b,c,d,e))}),b}},I=function(a){function c(d){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};v(this,c);var f=y(this,a.call(this));return b(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector"],d,f),f.options=e,f.logger=D.create("translator"),f}return x(c,a),c.prototype.changeLanguage=function(a){a&&(this.language=a)},c.prototype.exists=function(a){var b=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};return"v1"===this.options.compatibilityAPI&&(b=m(b)),void 0!==this.resolve(a,b)},c.prototype.extractFromKey=function(a,b){var c=b.nsSeparator||this.options.nsSeparator;void 0===c&&(c=":");var d=b.keySeparator||this.options.keySeparator||".",e=b.ns||this.options.defaultNS;if(c&&a.indexOf(c)>-1){var f=a.split(c);(c!==d||c===d&&this.options.ns.indexOf(f[0])>-1)&&(e=f.shift()),a=f.join(d)}return"string"==typeof e&&(e=[e]),{key:a,namespaces:e}},c.prototype.translate=function(a){var b=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("object"!==("undefined"==typeof b?"undefined":u(b))?b=this.options.overloadTranslationOptionHandler(arguments):"v1"===this.options.compatibilityAPI&&(b=m(b)),void 0===a||null===a||""===a)return"";"number"==typeof a&&(a=String(a)),"string"==typeof a&&(a=[a]);var c=b.keySeparator||this.options.keySeparator||".",d=this.extractFromKey(a[a.length-1],b),e=d.key,f=d.namespaces,g=f[f.length-1],h=b.lng||this.language,i=b.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(h&&"cimode"===h.toLowerCase()){if(i){var j=b.nsSeparator||this.options.nsSeparator;return g+j+e}return e}var k=this.resolve(a,b),l=Object.prototype.toString.apply(k),n=["[object Number]","[object Function]","[object RegExp]"],o=void 0!==b.joinArrays?b.joinArrays:this.options.joinArrays;if(k&&"string"!=typeof k&&n.indexOf(l)<0&&(!o||"[object Array]"!==l)){if(!b.returnObjects&&!this.options.returnObjects)return this.logger.warn("accessing an object - but returnObjects options is not enabled!"),this.options.returnedObjectHandler?this.options.returnedObjectHandler(e,k,b):"key '"+e+" ("+this.language+")' returned an object instead of string.";if(b.keySeparator||this.options.keySeparator){var p="[object Array]"===l?[]:{};for(var q in k)Object.prototype.hasOwnProperty.call(k,q)&&(p[q]=this.translate(""+e+c+q,w({},b,{joinArrays:!1,ns:f})));k=p}}else if(o&&"[object Array]"===l)k=k.join(o),k&&(k=this.extendTranslation(k,e,b));else{var r=!1,s=!1;if(this.isValidLookup(k)||void 0===b.defaultValue||(r=!0,k=b.defaultValue),this.isValidLookup(k)||(s=!0,k=e),s||r){this.logger.log("missingKey",h,g,e,k);var t=[],v=this.languageUtils.getFallbackCodes(this.options.fallbackLng,b.lng||this.language);if("fallback"===this.options.saveMissingTo&&v&&v[0])for(var x=0;x 1&&void 0!==arguments[1]?arguments[1]:{},d=void 0;return"string"==typeof a&&(a=[a]),a.forEach(function(a){if(!b.isValidLookup(d)){var e=b.extractFromKey(a,c),f=e.key,g=e.namespaces;b.options.fallbackNS&&(g=g.concat(b.options.fallbackNS));var h=void 0!==c.count&&"string"!=typeof c.count,i=void 0!==c.context&&"string"==typeof c.context&&""!==c.context,j=c.lngs?c.lngs:b.languageUtils.toResolveHierarchy(c.lng||b.language);g.forEach(function(a){b.isValidLookup(d)||j.forEach(function(e){if(!b.isValidLookup(d)){var g=f,j=[g],k=void 0;h&&(k=b.pluralResolver.getSuffix(e,c.count)),h&&i&&j.push(g+k),i&&j.push(g+=""+b.options.contextSeparator+c.context),h&&j.push(g+=k);for(var l=void 0;l=j.pop();)b.isValidLookup(d)||(d=b.getResource(e,a,l,c))}})})}}),d},c.prototype.isValidLookup=function(a){return!(void 0===a||!this.options.returnNull&&null===a||!this.options.returnEmptyString&&""===a)},c.prototype.getResource=function(a,b,c){var d=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.resourceStore.getResource(a,b,c,d)},c}(E),J=function(){function a(b){v(this,a),this.options=b,this.whitelist=this.options.whitelist||!1,this.logger=D.create("languageUtils")}return a.prototype.getScriptPartFromCode=function(a){if(!a||a.indexOf("-")<0)return null;var b=a.split("-");return 2===b.length?null:(b.pop(),this.formatLanguageCode(b.join("-")))},a.prototype.getLanguagePartFromCode=function(a){if(!a||a.indexOf("-")<0)return a;var b=a.split("-");return this.formatLanguageCode(b[0])},a.prototype.formatLanguageCode=function(a){if("string"==typeof a&&a.indexOf("-")>-1){var b=["hans","hant","latn","cyrl","cans","mong","arab"],c=a.split("-");return this.options.lowerCaseLng?c=c.map(function(a){return a.toLowerCase()}):2===c.length?(c[0]=c[0].toLowerCase(),c[1]=c[1].toUpperCase(),b.indexOf(c[1].toLowerCase())>-1&&(c[1]=o(c[1].toLowerCase()))):3===c.length&&(c[0]=c[0].toLowerCase(),2===c[1].length&&(c[1]=c[1].toUpperCase()),"sgn"!==c[0]&&2===c[2].length&&(c[2]=c[2].toUpperCase()),b.indexOf(c[1].toLowerCase())>-1&&(c[1]=o(c[1].toLowerCase())),b.indexOf(c[2].toLowerCase())>-1&&(c[2]=o(c[2].toLowerCase()))),c.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?a.toLowerCase():a},a.prototype.isWhitelisted=function(a){return("languageOnly"===this.options.load||this.options.nonExplicitWhitelist)&&(a=this.getLanguagePartFromCode(a)),!this.whitelist||!this.whitelist.length||this.whitelist.indexOf(a)>-1},a.prototype.getFallbackCodes=function(a,b){if(!a)return[];if("string"==typeof a&&(a=[a]),"[object Array]"===Object.prototype.toString.apply(a))return a;if(!b)return a["default"]||[];var c=a[b];return c||(c=a[this.getScriptPartFromCode(b)]),c||(c=a[this.formatLanguageCode(b)]),c||(c=a["default"]),c||[]},a.prototype.toResolveHierarchy=function(a,b){var c=this,d=this.getFallbackCodes(b||this.options.fallbackLng||[],a),e=[],f=function(a){a&&(c.isWhitelisted(a)?e.push(a):c.logger.warn("rejecting non-whitelisted language code: "+a))};return"string"==typeof a&&a.indexOf("-")>-1?("languageOnly"!==this.options.load&&f(this.formatLanguageCode(a)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&f(this.getScriptPartFromCode(a)),"currentOnly"!==this.options.load&&f(this.getLanguagePartFromCode(a))):"string"==typeof a&&f(this.formatLanguageCode(a)),d.forEach(function(a){e.indexOf(a)<0&&f(c.formatLanguageCode(a))}),e},a}(),K=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","tg","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","es_ar","et","eu","fi","fo","fur","fy","gl","gu","ha","he","hi","hu","hy","ia","it","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt","pt_br","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","id","ja","jbo","ka","kk","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21}],L={1:function(a){return Number(a>1)},2:function(a){return Number(1!=a)},3:function(a){return 0},4:function(a){return Number(a%10==1&&a%100!=11?0:a%10>=2&&a%10<=4&&(a%100<10||a%100>=20)?1:2)},5:function(a){return Number(0===a?0:1==a?1:2==a?2:a%100>=3&&a%100<=10?3:a%100>=11?4:5)},6:function(a){return Number(1==a?0:a>=2&&a<=4?1:2)},7:function(a){return Number(1==a?0:a%10>=2&&a%10<=4&&(a%100<10||a%100>=20)?1:2)},8:function(a){return Number(1==a?0:2==a?1:8!=a&&11!=a?2:3)},9:function(a){return Number(a>=2)},10:function(a){return Number(1==a?0:2==a?1:a<7?2:a<11?3:4)},11:function(a){return Number(1==a||11==a?0:2==a||12==a?1:a>2&&a<20?2:3)},12:function(a){return Number(a%10!=1||a%100==11)},13:function(a){return Number(0!==a)},14:function(a){return Number(1==a?0:2==a?1:3==a?2:3)},15:function(a){return Number(a%10==1&&a%100!=11?0:a%10>=2&&(a%100<10||a%100>=20)?1:2)},16:function(a){return Number(a%10==1&&a%100!=11?0:0!==a?1:2)},17:function(a){return Number(1==a||a%10==1?0:1)},18:function(a){return Number(0==a?0:1==a?1:2)},19:function(a){return Number(1==a?0:0===a||a%100>1&&a%100<11?1:a%100>10&&a%100<20?2:3)},20:function(a){return Number(1==a?0:0===a||a%100>0&&a%100<20?1:2)},21:function(a){return Number(a%100==1?1:a%100==2?2:a%100==3||a%100==4?3:0)}},M=function(){function a(b){var c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};v(this,a),this.languageUtils=b,this.options=c,this.logger=D.create("pluralResolver"),this.rules=p()}return a.prototype.addRule=function(a,b){this.rules[a]=b},a.prototype.getRule=function(a){return this.rules[this.languageUtils.getLanguagePartFromCode(a)]},a.prototype.needsPlural=function(a){var b=this.getRule(a);return b&&b.numbers.length>1},a.prototype.getSuffix=function(a,b){var c=this,d=this.getRule(a);if(d){if(1===d.numbers.length)return"";var e=d.noAbs?d.plurals(b):d.plurals(Math.abs(b)),f=d.numbers[e];this.options.simplifyPluralSuffix&&2===d.numbers.length&&1===d.numbers[0]&&(2===f?f="plural":1===f&&(f=""));var g=function(){return c.options.prepend&&f.toString()?c.options.prepend+f.toString():f.toString()};return"v1"===this.options.compatibilityJSON?1===f?"":"number"==typeof f?"_plural_"+f.toString():g():"v2"===this.options.compatibilityJSON||2===d.numbers.length&&1===d.numbers[0]?g():2===d.numbers.length&&1===d.numbers[0]?g():this.options.prepend&&e.toString()?this.options.prepend+e.toString():e.toString()}return this.logger.warn("no plural rule found for: "+a),""},a}(),N=function(){function b(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};v(this,b),this.logger=D.create("interpolator"),this.init(a,!0)}return b.prototype.init=function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},b=arguments[1];b&&(this.options=a,this.format=a.interpolation&&a.interpolation.format||function(a){return a},this.escape=a.interpolation&&a.interpolation.escape||i),a.interpolation||(a.interpolation={escapeValue:!0});var c=a.interpolation;this.escapeValue=void 0===c.escapeValue||c.escapeValue,this.prefix=c.prefix?h(c.prefix):c.prefixEscaped||"{{",this.suffix=c.suffix?h(c.suffix):c.suffixEscaped||"}}",this.formatSeparator=c.formatSeparator?c.formatSeparator:c.formatSeparator||",",this.unescapePrefix=c.unescapeSuffix?"":c.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":c.unescapeSuffix||"",this.nestingPrefix=c.nestingPrefix?h(c.nestingPrefix):c.nestingPrefixEscaped||h("$t("),this.nestingSuffix=c.nestingSuffix?h(c.nestingSuffix):c.nestingSuffixEscaped||h(")"),this.resetRegExp()},b.prototype.reset=function(){this.options&&this.init(this.options)},b.prototype.resetRegExp=function(){var a=this.prefix+"(.+?)"+this.suffix;this.regexp=new RegExp(a,"g");var b=""+this.prefix+this.unescapePrefix+"(.+?)"+this.unescapeSuffix+this.suffix;this.regexpUnescape=new RegExp(b,"g");var c=this.nestingPrefix+"(.+?)"+this.nestingSuffix;this.nestingRegexp=new RegExp(c,"g")},b.prototype.interpolate=function(b,c,d){function e(a){return a.replace(/\$/g,"$$$$")}var g=this,h=void 0,i=void 0,j=function(a){if(a.indexOf(g.formatSeparator)<0)return f(c,a);var b=a.split(g.formatSeparator),e=b.shift().trim(),h=b.join(g.formatSeparator).trim();return g.format(f(c,e),h,d)};for(this.resetRegExp();h=this.regexpUnescape.exec(b);)i=j(h[1].trim()),b=b.replace(h[0],i),this.regexpUnescape.lastIndex=0;for(;h=this.regexp.exec(b);)i=j(h[1].trim()),"string"!=typeof i&&(i=a(i)),i||(this.logger.warn("missed to pass in variable "+h[1]+" for interpolating "+b),i=""),i=e(this.escapeValue?this.escape(i):i),b=b.replace(h[0],i),this.regexp.lastIndex=0;return b},b.prototype.nest=function(b,c){function d(a){if(a.indexOf(",")<0)return a;var b=a.split(",");a=b.shift();var c=b.join(",");c=this.interpolate(c,h),c=c.replace(/'/g,'"');try{h=JSON.parse(c)}catch(d){this.logger.error("failed parsing options string in nesting for key "+a,d)}return a}var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},f=void 0,g=void 0,h=w({},e);for(h.applyPostProcessor=!1;f=this.nestingRegexp.exec(b);){if(g=c(d.call(this,f[1].trim()),h),g&&f[0]===b&&"string"!=typeof g)return g;"string"!=typeof g&&(g=a(g)),g||(this.logger.warn("missed to resolve "+f[1]+" for nesting "+b),g=""),b=b.replace(f[0],g),this.regexp.lastIndex=0}return b},b}(),O=function(a){function b(c,d,e){var f=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};v(this,b);var g=y(this,a.call(this));return g.backend=c,g.store=d,g.services=e,g.options=f,g.logger=D.create("backendConnector"),g.state={},g.queue=[],g.backend&&g.backend.init&&g.backend.init(e,f.backend,f),g}return x(b,a),b.prototype.queueLoad=function(a,b,c){var d=this,e=[],f=[],g=[],h=[];return a.forEach(function(a){var c=!0;b.forEach(function(b){var g=a+"|"+b;d.store.hasResourceBundle(a,b)?d.state[g]=2:d.state[g]<0||(1===d.state[g]?f.indexOf(g)<0&&f.push(g):(d.state[g]=1,c=!1,f.indexOf(g)<0&&f.push(g),e.indexOf(g)<0&&e.push(g),h.indexOf(b)<0&&h.push(b)))}),c||g.push(a)}),(e.length||f.length)&&this.queue.push({pending:f,loaded:{},errors:[],callback:c}),{toLoad:e,pending:f,toLoadLanguages:g,toLoadNamespaces:h}},b.prototype.loaded=function(a,b,c){var d=this,f=a.split("|"),g=z(f,2),h=g[0],i=g[1];b&&this.emit("failedLoading",h,i,b),c&&this.store.addResourceBundle(h,i,c),this.state[a]=b?-1:2,this.queue.forEach(function(c){e(c.loaded,[h],i),q(c.pending,a),b&&c.errors.push(b),0!==c.pending.length||c.done||(d.emit("loaded",c.loaded),c.done=!0,c.errors.length?c.callback(c.errors):c.callback())}),this.queue=this.queue.filter(function(a){return!a.done})},b.prototype.read=function(a,b,c){var d=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,e=this,f=arguments.length>4&&void 0!==arguments[4]?arguments[4]:250,g=arguments[5];return a.length?this.backend[c](a,b,function(h,i){return h&&i&&d<5?void setTimeout(function(){e.read.call(e,a,b,c,d+1,2*f,g)},f):void g(h,i)}):g(null,{})},b.prototype.load=function(a,b,c){var d=this;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),c&&c();var e=w({},this.backend.options,this.options.backend);"string"==typeof a&&(a=this.services.languageUtils.toResolveHierarchy(a)),"string"==typeof b&&(b=[b]);var g=this.queueLoad(a,b,c);return g.toLoad.length?void(e.allowMultiLoading&&this.backend.readMulti?this.read(g.toLoadLanguages,g.toLoadNamespaces,"readMulti",null,null,function(a,b){a&&d.logger.warn("loading namespaces "+g.toLoadNamespaces.join(", ")+" for languages "+g.toLoadLanguages.join(", ")+" via multiloading failed",a),!a&&b&&d.logger.log("successfully loaded namespaces "+g.toLoadNamespaces.join(", ")+" for languages "+g.toLoadLanguages.join(", ")+" via multiloading",b),g.toLoad.forEach(function(c){var e=c.split("|"),g=z(e,2),h=g[0],i=g[1],j=f(b,[h,i]);if(j)d.loaded(c,a,j);else{var k="loading namespace "+i+" for language "+h+" via multiloading failed";d.loaded(c,k),d.logger.error(k)}})}):g.toLoad.forEach(function(a){d.loadOne(a)})):(g.pending.length||c(),null)},b.prototype.reload=function(a,b){var c=this;this.backend||this.logger.warn("No backend was added via i18next.use. Will not load resources.");var d=w({},this.backend.options,this.options.backend);"string"==typeof a&&(a=this.services.languageUtils.toResolveHierarchy(a)),"string"==typeof b&&(b=[b]),d.allowMultiLoading&&this.backend.readMulti?this.read(a,b,"readMulti",null,null,function(d,e){d&&c.logger.warn("reloading namespaces "+b.join(", ")+" for languages "+a.join(", ")+" via multiloading failed",d),!d&&e&&c.logger.log("successfully reloaded namespaces "+b.join(", ")+" for languages "+a.join(", ")+" via multiloading",e),a.forEach(function(a){b.forEach(function(b){var g=f(e,[a,b]);if(g)c.loaded(a+"|"+b,d,g);else{var h="reloading namespace "+b+" for language "+a+" via multiloading failed";c.loaded(a+"|"+b,h),c.logger.error(h)}})})}):a.forEach(function(a){b.forEach(function(b){c.loadOne(a+"|"+b,"re")})})},b.prototype.loadOne=function(a){var b=this,c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",d=a.split("|"),e=z(d,2),f=e[0],g=e[1];this.read(f,g,"read",null,null,function(d,e){d&&b.logger.warn(c+"loading namespace "+g+" for language "+f+" failed",d),!d&&e&&b.logger.log(c+"loaded namespace "+g+" for language "+f,e),b.loaded(a,d,e)})},b.prototype.saveMissing=function(a,b,c,d){this.backend&&this.backend.create&&this.backend.create(a,b,c,d),a&&a[0]&&this.store.addResource(a[0],b,c,d)},b}(E),P=function(a){function b(c,d,e){var f=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};v(this,b);var g=y(this,a.call(this));return g.cache=c,g.store=d,g.services=e,g.options=f,g.logger=D.create("cacheConnector"),g.cache&&g.cache.init&&g.cache.init(e,f.cache,f),g}return x(b,a),b.prototype.load=function(a,b,c){var d=this;if(!this.cache)return c&&c();var e=w({},this.cache.options,this.options.cache),f="string"==typeof a?this.services.languageUtils.toResolveHierarchy(a):a;e.enabled?this.cache.load(f,function(a,b){if(a&&d.logger.error("loading languages "+f.join(", ")+" from cache failed",a),b)for(var e in b)if(Object.prototype.hasOwnProperty.call(b,e))for(var g in b[e])if(Object.prototype.hasOwnProperty.call(b[e],g)&&"i18nStamp"!==g){var h=b[e][g];h&&d.store.addResourceBundle(e,g,h)}c&&c()}):c&&c()},b.prototype.save=function(){this.cache&&this.options.cache&&this.options.cache.enabled&&this.cache.save(this.store.data)},b}(E),Q=function(a){function b(){var c=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},d=arguments[1];v(this,b);var e=y(this,a.call(this));if(e.options=s(c),e.services={},e.logger=D,e.modules={external:[]},d&&!e.isInitialized&&!c.isClone){var f;if(!e.options.initImmediate)return f=e.init(c,d),y(e,f);setTimeout(function(){e.init(c,d)},0)}return e}return x(b,a),b.prototype.init=function(a,b){function c(a){return a?"function"==typeof a?new a:a:null}var d=this;if("function"==typeof a&&(b=a,a={}),a||(a={}),"v1"===a.compatibilityAPI?this.options=w({},r(),s(k(a)),{}):"v1"===a.compatibilityJSON?this.options=w({},r(),s(l(a)),{}):this.options=w({},r(),this.options,s(a)),this.format=this.options.interpolation.format,b||(b=t),!this.options.isClone){this.modules.logger?D.init(c(this.modules.logger),this.options):D.init(null,this.options);var e=new J(this.options);this.store=new G(this.options.resources,this.options);var f=this.services;f.logger=D,f.resourceStore=this.store,f.resourceStore.on("added removed",function(a,b){f.cacheConnector.save()}),f.languageUtils=e,f.pluralResolver=new M(e,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),f.interpolator=new N(this.options),f.backendConnector=new O(c(this.modules.backend),f.resourceStore,f,this.options),f.backendConnector.on("*",function(a){for(var b=arguments.length,c=Array(b>1?b-1:0),e=1;e1?b-1:0),e=1;e1?b-1:0),e=1;e0&&void 0!==arguments[0]?arguments[0]:t;if(this.options.resources)b(null);else{if(this.language&&"cimode"===this.language.toLowerCase())return b();var c=[],d=function(b){if(b){var d=a.services.languageUtils.toResolveHierarchy(b);d.forEach(function(a){c.indexOf(a)<0&&c.push(a)})}};if(this.language)d(this.language);else{var e=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);e.forEach(function(a){return d(a)})}this.options.preload&&this.options.preload.forEach(function(a){return d(a)}),this.services.cacheConnector.load(c,this.options.ns,function(){a.services.backendConnector.load(c,a.options.ns,b)})}},b.prototype.reloadResources=function(a,b){a||(a=this.languages),b||(b=this.options.ns),this.services.backendConnector.reload(a,b)},b.prototype.use=function(a){return"backend"===a.type&&(this.modules.backend=a),"cache"===a.type&&(this.modules.cache=a),("logger"===a.type||a.log&&a.warn&&a.error)&&(this.modules.logger=a),"languageDetector"===a.type&&(this.modules.languageDetector=a),"postProcessor"===a.type&&H.addPostProcessor(a),"3rdParty"===a.type&&this.modules.external.push(a),this},b.prototype.changeLanguage=function(a,b){var c=this,d=function(a,d){d&&(c.emit("languageChanged",d),c.logger.log("languageChanged",d)),b&&b(a,function(){return c.t.apply(c,arguments)})},e=function(a){a&&(c.language=a,c.languages=c.services.languageUtils.toResolveHierarchy(a),c.translator.changeLanguage(a),c.services.languageDetector&&c.services.languageDetector.cacheUserLanguage(a)),c.loadResources(function(b){d(b,a)})};a||!this.services.languageDetector||this.services.languageDetector.async?!a&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect(e):e(a):e(this.services.languageDetector.detect())},b.prototype.getFixedT=function(a,b){var c=this,d=function e(a){var b=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},d=w({},b);return d.lng=d.lng||e.lng,d.lngs=d.lngs||e.lngs,d.ns=d.ns||e.ns,c.t(a,d)};return"string"==typeof a?d.lng=a:d.lngs=a,d.ns=b,d},b.prototype.t=function(){var a;return this.translator&&(a=this.translator).translate.apply(a,arguments)},b.prototype.exists=function(){var a;return this.translator&&(a=this.translator).exists.apply(a,arguments)},b.prototype.setDefaultNamespace=function(a){this.options.defaultNS=a},b.prototype.loadNamespaces=function(a,b){var c=this;return this.options.ns?("string"==typeof a&&(a=[a]),a.forEach(function(a){c.options.ns.indexOf(a)<0&&c.options.ns.push(a)}),void this.loadResources(b)):b&&b()},b.prototype.loadLanguages=function(a,b){"string"==typeof a&&(a=[a]);var c=this.options.preload||[],d=a.filter(function(a){return c.indexOf(a)<0});return d.length?(this.options.preload=c.concat(d),void this.loadResources(b)):b()},b.prototype.dir=function(a){if(a||(a=this.languages&&this.languages.length>0?this.languages[0]:this.language),!a)return"rtl";var b=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam"];return b.indexOf(this.services.languageUtils.getLanguagePartFromCode(a))>=0?"rtl":"ltr"},b.prototype.createInstance=function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},c=arguments[1];return new b(a,c)},b.prototype.cloneInstance=function(){var a=this,c=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},d=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t,e=w({},this.options,c,{isClone:!0}),f=new b(e,d),g=["store","services","language"];return g.forEach(function(b){f[b]=a[b]}),f.translator=new I(f.services,f.options),f.translator.on("*",function(a){for(var b=arguments.length,c=Array(b>1?b-1:0),d=1;d0&&a.children.forEach(function(a){b.recursiveUpdateText(a)})},c.prototype.addLocaleLoader=function(){var a=this;Phaser.Loader.prototype.locale=function(b,c,d){var e=this;Array.isArray(c)?d=c:"undefined"!=typeof c&&(a.backend.setLoadPath(c),console.warn("Using loadPath trough load.locale is deprecated, please set it as part of the Plugin config instead!")),i18next.loadLanguages(b,function(){a.started||(a.started=!0,e.game.load.resetLocked=a.wasLoaderLocked)}),d&&i18next.loadNamespaces(d)}},c.prototype.addLocaleFactory=function(){Phaser.GameObjectFactory.prototype.translatedText=function(b,c,d,e,f,g){return void 0===g&&(g=this.world),g.add(new a.TranslatedText(this.game,b,c,d,e,f))},Phaser.GameObjectFactory.prototype.translatedBitmapText=function(b,c,d,e,f,g,h,i){return void 0===i&&(i=this.world),i.add(new a.TranslatedBitmapText(this.game,b,c,d,e,f,g,h))}},c.prototype.addLocaleCreator=function(){Phaser.GameObjectCreator.prototype.translatedText=function(b,c,d,e,f){return new a.TranslatedText(this.game,b,c,d,e,f)},Phaser.GameObjectCreator.prototype.translatedBitmapText=function(b,c,d,e,f,g,h){return new a.TranslatedBitmapText(this.game,b,c,d,e,f,g,h)}},c}(Phaser.Plugin);a.Plugin=b}(PhaserI18n||(PhaserI18n={}));var PhaserI18n;!function(a){var b=function(a){function b(b,c,d,e,f,g,h,i){var j=a.call(this,b,c,d,e,"",g,h)||this;return j._nonTranslated="",j._interpolations={},j._interpolations=i?i:{},j.text=f,j}return __extends(b,a),b.prototype.setTranslationParamameter=function(a,b){this._interpolations[a]=b,this.dirty=!0},b.prototype.clearTranslationParamameter=function(a){a in this._interpolations&&delete this._interpolations[a]},Object.defineProperty(b.prototype,"_text",{get:function(){return i18next.t(this._nonTranslated,this._interpolations)||""},set:function(a){a!==this._nonTranslated&&(this._nonTranslated=a.toString()||"")},enumerable:!0,configurable:!0}),b}(Phaser.BitmapText);a.TranslatedBitmapText=b}(PhaserI18n||(PhaserI18n={}));var PhaserI18n;!function(a){var b=function(a){function b(b,c,d,e,f,g){var h=a.call(this,b,c,d,"",f)||this;return h._nonTranslated="",h._interpolations={},h._interpolations=g?g:{},h.text=e,h}return __extends(b,a),b.prototype.setTranslationParamameter=function(a,b){this._interpolations[a]=b,this.dirty=!0},b.prototype.clearTranslationParamameter=function(a){a in this._interpolations&&delete this._interpolations[a]},Object.defineProperty(b.prototype,"_text",{get:function(){return i18next.t(this._nonTranslated,this._interpolations)||""},set:function(a){a!==this._nonTranslated&&(this._nonTranslated=a.toString()||"")},enumerable:!0,configurable:!0}),b}(Phaser.Text);a.TranslatedText=b}(PhaserI18n||(PhaserI18n={})); \ No newline at end of file diff --git a/vex8/patch/cdn/phaser/phaser-spine.min.js b/vex8/patch/cdn/phaser/phaser-spine.min.js new file mode 100644 index 000000000..237ddae84 --- /dev/null +++ b/vex8/patch/cdn/phaser/phaser-spine.min.js @@ -0,0 +1,11 @@ +/*! + * phaser-spine - version 3.0.9 + * Spine plugin for Phaser.io! + * + * OrangeGames + * Build at 10-07-2017 + * Released under MIT License + */ + +var spine={radDeg:180/Math.PI,degRad:Math.PI/180,Float32Array:"undefined"==typeof Float32Array?Array:Float32Array,Uint32Array:"undefined"==typeof Uint32Array?Array:Uint32Array,Uint16Array:"undefined"==typeof Uint16Array?Array:Uint16Array};spine.temp=new spine.Float32Array(2),spine.BoneData=function(a,b){this.name=a,this.parent=b},spine.BoneData.prototype={length:0,x:0,y:0,rotation:0,scaleX:1,scaleY:1,inheritScale:!0,inheritRotation:!0},spine.BlendMode={normal:0,additive:1,multiply:2,screen:3},spine.SlotData=function(a,b){this.name=a,this.boneData=b},spine.SlotData.prototype={r:1,g:1,b:1,a:1,attachmentName:null,blendMode:spine.BlendMode.normal},spine.IkConstraintData=function(a){this.name=a,this.bones=[]},spine.IkConstraintData.prototype={target:null,bendDirection:1,mix:1},spine.TransformConstraintData=function(a){this.name=a},spine.TransformConstraintData.prototype={bone:null,target:null,translateMix:1,x:0,y:0},spine.Bone=function(a,b,c){this.data=a,this.skeleton=b,this.parent=c,this.setToSetupPose()},spine.Bone.yDown=!1,spine.Bone.prototype={x:0,y:0,rotation:0,scaleX:1,scaleY:1,a:0,b:0,worldX:0,c:0,d:0,worldY:0,worldSignX:1,worldSignY:1,update:function(){this.updateWorldTransform(this.x,this.y,this.rotation,this.scaleX,this.scaleY)},updateWorldTransformWith:function(){this.updateWorldTransform(this.x,this.y,this.rotation,this.scaleX,this.scaleY)},updateWorldTransform:function(a,b,c,d,e){this.appliedRotation=c,this.appliedScaleX=d,this.appliedScaleY=e,c*=spine.degRad;var f=Math.cos(c),g=Math.sin(c),h=f*d,i=-g*e,j=g*d,k=f*e,l=this.parent;if(!l){var m=this.skeleton;return m.flipX&&(a=-a,h=-h,i=-i),m.flipY!=spine.Bone.yDown&&(b=-b,j=-j,k=-k),this.a=h,this.b=i,this.c=j,this.d=k,this.worldX=a,this.worldY=b,this.worldSignX=d<0?-1:1,void(this.worldSignY=e<0?-1:1)}var n=l.a,o=l.b,p=l.c,q=l.d;if(this.worldX=n*a+o*b+l.worldX,this.worldY=p*a+q*b+l.worldY,this.worldSignX=l.worldSignX*(d<0?-1:1),this.worldSignY=l.worldSignY*(e<0?-1:1),this.data.inheritRotation&&this.data.inheritScale)this.a=n*h+o*j,this.b=n*i+o*k,this.c=p*h+q*j,this.d=p*i+q*k;else{if(this.data.inheritRotation){n=1,o=0,p=0,q=1;do{c=l.appliedRotation*spine.degRad,f=Math.cos(c),g=Math.sin(c);var r=n*f+o*g;if(o=n*-g+o*f,n=r,r=p*f+q*g,q=p*-g+q*f,p=r,!l.data.inheritRotation)break;l=l.parent}while(l);this.a=n*h+o*j,this.b=n*i+o*k,this.c=p*h+q*j,this.d=p*i+q*k}else if(this.data.inheritScale){n=1,o=0,p=0,q=1;do{c=l.appliedRotation*spine.degRad,f=Math.cos(c),g=Math.sin(c);var s=l.appliedScaleX,t=l.appliedScaleY,u=f*s,v=-g*t,w=g*s,x=f*t,r=n*u+o*w;if(o=n*v+o*x,n=r,r=p*u+q*w,q=p*v+q*x,p=r,s<0&&(c=-c),f=Math.cos(-c),g=Math.sin(-c),r=n*f+o*g,o=n*-g+o*f,n=r,r=p*f+q*g,q=p*-g+q*f,p=r,!l.data.inheritScale)break;l=l.parent}while(l);this.a=n*h+o*j,this.b=n*i+o*k,this.c=p*h+q*j,this.d=p*i+q*k}else this.a=h,this.b=i,this.c=j,this.d=k;this.skeleton.flipX&&(this.a=-this.a,this.b=-this.b),this.skeleton.flipY!=spine.Bone.yDown&&(this.c=-this.c,this.d=-this.d)}},setToSetupPose:function(){var a=this.data;this.x=a.x,this.y=a.y,this.rotation=a.rotation,this.scaleX=a.scaleX,this.scaleY=a.scaleY},getWorldRotationX:function(){return Math.atan2(this.c,this.a)*spine.radDeg},getWorldRotationY:function(){return Math.atan2(this.d,this.b)*spine.radDeg},getWorldScaleX:function(){return Math.sqrt(this.a*this.a+this.b*this.b)*this.worldSignX},getWorldScaleY:function(){return Math.sqrt(this.c*this.c+this.d*this.d)*this.worldSignY},worldToLocal:function(a){var b=a[0]-this.worldX,c=a[1]-this.worldY,d=this.a,e=this.b,f=this.c,g=this.d,h=1/(d*g-e*f);return a[0]=b*g*h-c*e*h,a[1]=c*d*h-b*f*h,a},localToWorld:function(a){var b=a[0],c=a[1];return a[0]=b*this.a+c*this.b+this.worldX,a[1]=b*this.c+c*this.d+this.worldY,a}},spine.Slot=function(a,b){this.data=a,this.bone=b,this.attachmentVertices=new spine.Float32Array,this.setToSetupPose()},spine.Slot.prototype={r:1,g:1,b:1,a:1,_attachmentTime:0,attachment:null,setAttachment:function(a){this.attachment!=a&&(this.attachment=a,this._attachmentTime=this.bone.skeleton.time,this.attachmentVertices.length=0)},setAttachmentTime:function(a){this._attachmentTime=this.bone.skeleton.time-a},getAttachmentTime:function(){return this.bone.skeleton.time-this._attachmentTime},setToSetupPose:function(){var a=this.data;if(this.r=a.r,this.g=a.g,this.b=a.b,this.a=a.a,a.attachmentName){for(var b=this.bone.skeleton.data.slots,c=0,d=b.length;c 180?g-=360:g<-180&&(g+=360),a.updateWorldTransform(a.x,a.y,f+(g-f)*d,a.appliedScaleX,a.appliedScaleY)},spine.IkConstraint.apply2=function(a,b,c,d,e,f){if(0!=f){var g,h,i,j=a.x,k=a.y,l=a.appliedScaleX,m=a.appliedScaleY;l<0?(l=-l,g=180,i=-1):(g=0,i=1),m<0&&(m=-m,i=-i);var n=b.x,o=b.y,p=b.appliedScaleX,q=Math.abs(l-m)<=1e-4;q||0==o||(b.worldX=a.a*n+a.worldX,b.worldY=a.c*n+a.worldY,o=0),p<0?(p=-p,h=180):h=0;var r,s,t,u,v=a.parent;if(v){var w=v.a,x=v.b,y=v.c,z=v.d,A=1/(w*z-x*y),B=v.worldX,C=v.worldY,D=c-B,E=d-C;r=(D*z-E*x)*A-j,s=(E*w-D*y)*A-k,D=b.worldX-B,E=b.worldY-C,t=(D*z-E*x)*A-j,u=(E*w-D*y)*A-k}else r=c-j,s=d-k,t=b.worldX-j,u=b.worldY-k;var F,G,H=Math.sqrt(t*t+u*u),I=b.data.length*p;a:if(q){I*=l;var J=(r*r+s*s-H*H-I*I)/(2*H*I);J<-1?J=-1:J>1&&(J=1),G=Math.acos(J)*e;var w=H+I*J,K=I*Math.sin(G);F=Math.atan2(s*w-r*K,r*w+s*K)}else{var w=l*I,x=m*I,L=Math.atan2(s,r),M=w*w,N=x*x,O=H*H,P=r*r+s*s,Q=N*O+M*P-M*N,R=-2*N*H,S=N-M,z=R*R-4*S*Q;if(z>=0){var T=Math.sqrt(z);R<0&&(T=-T),T=-(R+T)/2;var U=T/S,V=Q/T,W=Math.abs(U) aa&&(_=0,aa=da,ba=D),D=H-w,da=D*D,da aa&&(_=ea,aa=da,ba=D,ca=E),P<=(Y+aa)/2?(F=L-Math.atan2($*e,Z),G=X*e):(F=L-Math.atan2(ca*e,ba),G=_*e)}var fa=Math.atan2(o,n)*i;F=(F-fa)*spine.radDeg+g,G=(G+fa)*spine.radDeg*i+h,F>180?F-=360:F<-180&&(F+=360),G>180?G-=360:G<-180&&(G+=360);var ga=a.rotation;a.updateWorldTransform(j,k,ga+(F-ga)*f,a.appliedScaleX,a.appliedScaleY),ga=b.rotation,b.updateWorldTransform(n,o,ga+(G-ga)*f,b.appliedScaleX,b.appliedScaleY)}},spine.TransformConstraint=function(a,b){this.data=a,this.translateMix=a.translateMix,this.x=a.x,this.y=a.y,this.bone=b.findBone(a.bone.name),this.target=b.findBone(a.target.name)},spine.TransformConstraint.prototype={apply:function(){this.update()},update:function(){var a=this.translateMix;if(a>0){var b=spine.temp;b[0]=x,b[1]=y,this.target.localToWorld(b);var c=this.bone;c.worldX+=(b[0]-c.worldX)*a,c.worldY+=(b[1]-c.worldY)*a}}},spine.Skin=function(a){this.name=a,this.attachments={}},spine.Skin.prototype={addAttachment:function(a,b,c){this.attachments[a+":"+b]=c},getAttachment:function(a,b){return this.attachments[a+":"+b]},_attachAll:function(a,b){for(var c in b.attachments){var d=c.indexOf(":"),e=parseInt(c.substring(0,d)),f=c.substring(d+1),g=a.slots[e];if(g.attachment&&g.attachment.name==f){var h=this.getAttachment(e,f);h&&g.setAttachment(h)}}}},spine.Animation=function(a,b,c){this.name=a,this.timelines=b,this.duration=c},spine.Animation.prototype={apply:function(a,b,c,d,e){d&&0!=this.duration&&(c%=this.duration,b>0&&(b%=this.duration));for(var f=this.timelines,g=0,h=f.length;g 0&&(b%=this.duration));for(var g=this.timelines,h=0,i=g.length;h>>1;;){if(a[(f+1)*c]<=b?d=f+1:e=f,d==e)return(d+1)*c;f=d+e>>>1}},spine.Animation.binarySearch1=function(a,b){var c=0,d=a.length-2;if(!d)return 1;for(var e=d>>>1;;){if(a[e+1]<=b?c=e+1:d=e,c==d)return c+1;e=c+d>>>1}},spine.Animation.linearSearch=function(a,b,c){for(var d=0,e=a.length-c;d<=e;d+=c)if(a[d]>b)return d;return-1},spine.Curves=function(a){var b=19*(a-1);this.curves=new spine.Float32Array(b),this.curves.length=b},spine.Curves.prototype={setLinear:function(a){this.curves[19*a]=0},setStepped:function(a){this.curves[19*a]=1},setCurve:function(a,b,c,d,e){var f=.1,g=f*f,h=g*f,i=3*f,j=3*g,k=6*g,l=6*h,m=2*-b+d,n=2*-c+e,o=3*(b-d)+1,p=3*(c-e)+1,q=b*i+m*j+o*h,r=c*i+n*j+p*h,s=m*k+o*l,t=n*k+p*l,u=o*l,v=p*l,w=19*a,x=this.curves;x[w++]=2;for(var y=q,z=r,A=w+19-1;w1?1:b;var c=this.curves,d=19*a,e=c[d];if(0===e)return b;if(1==e)return 0;d++;for(var f=0,g=d,h=d+19-1;d =b){var i,j;return d==g?(i=0,j=0):(i=c[d-2],j=c[d-1]),j+(c[d+1]-j)*(b-i)/(f-i)}var k=c[d-1];return k+(1-k)*(b-f)/(1-f)}},spine.RotateTimeline=function(a){this.curves=new spine.Curves(a),this.frames=new spine.Float32Array(2*a),this.frames.length=2*a},spine.RotateTimeline.prototype={boneIndex:0,getFrameCount:function(){return this.frames.length/2},setFrame:function(a,b,c){a*=2,this.frames[a]=b,this.frames[a+1]=c},apply:function(a,b,c,d,e){var f=this.frames;if(!(c =f[f.length-2]){for(var h=g.data.rotation+f[f.length-1]-g.rotation;h>180;)h-=360;for(;h<-180;)h+=360;return void(g.rotation+=h*e)}var i=spine.Animation.binarySearch(f,c,2),j=f[i-1],k=f[i],l=1-(c-k)/(f[i-2]-k);l=this.curves.getCurvePercent(i/2-1,l);for(var h=f[i+1]-j;h>180;)h-=360;for(;h<-180;)h+=360;for(h=g.data.rotation+(j+h*l)-g.rotation;h>180;)h-=360;for(;h<-180;)h+=360;g.rotation+=h*e}}},spine.TranslateTimeline=function(a){this.curves=new spine.Curves(a),this.frames=new spine.Float32Array(3*a),this.frames.length=3*a},spine.TranslateTimeline.prototype={boneIndex:0,getFrameCount:function(){return this.frames.length/3},setFrame:function(a,b,c,d){a*=3,this.frames[a]=b,this.frames[a+1]=c,this.frames[a+2]=d},apply:function(a,b,c,d,e){var f=this.frames;if(!(c =f[f.length-3])return g.x+=(g.data.x+f[f.length-2]-g.x)*e,void(g.y+=(g.data.y+f[f.length-1]-g.y)*e);var h=spine.Animation.binarySearch(f,c,3),i=f[h-2],j=f[h-1],k=f[h],l=1-(c-k)/(f[h+-3]-k);l=this.curves.getCurvePercent(h/3-1,l),g.x+=(g.data.x+i+(f[h+1]-i)*l-g.x)*e,g.y+=(g.data.y+j+(f[h+2]-j)*l-g.y)*e}}},spine.ScaleTimeline=function(a){this.curves=new spine.Curves(a),this.frames=new spine.Float32Array(3*a),this.frames.length=3*a},spine.ScaleTimeline.prototype={boneIndex:0,getFrameCount:function(){return this.frames.length/3},setFrame:function(a,b,c,d){a*=3,this.frames[a]=b,this.frames[a+1]=c,this.frames[a+2]=d},apply:function(a,b,c,d,e){var f=this.frames;if(!(c =f[f.length-3])return g.scaleX+=(g.data.scaleX*f[f.length-2]-g.scaleX)*e,void(g.scaleY+=(g.data.scaleY*f[f.length-1]-g.scaleY)*e);var h=spine.Animation.binarySearch(f,c,3),i=f[h-2],j=f[h-1],k=f[h],l=1-(c-k)/(f[h+-3]-k);l=this.curves.getCurvePercent(h/3-1,l),g.scaleX+=(g.data.scaleX*(i+(f[h+1]-i)*l)-g.scaleX)*e,g.scaleY+=(g.data.scaleY*(j+(f[h+2]-j)*l)-g.scaleY)*e}}},spine.ColorTimeline=function(a){this.curves=new spine.Curves(a),this.frames=new spine.Float32Array(5*a),this.frames.length=5*a},spine.ColorTimeline.prototype={slotIndex:0,getFrameCount:function(){return this.frames.length/5},setFrame:function(a,b,c,d,e,f){a*=5,this.frames[a]=b,this.frames[a+1]=c,this.frames[a+2]=d,this.frames[a+3]=e,this.frames[a+4]=f},apply:function(a,b,c,d,e){var f=this.frames;if(!(c =f[f.length-5]){var k=f.length-1;g=f[k-3],h=f[k-2],i=f[k-1],j=f[k]}else{var l=spine.Animation.binarySearch(f,c,5),m=f[l-4],n=f[l-3],o=f[l-2],p=f[l-1],q=f[l],r=1-(c-q)/(f[l-5]-q);r=this.curves.getCurvePercent(l/5-1,r),g=m+(f[l+1]-m)*r,h=n+(f[l+2]-n)*r,i=o+(f[l+3]-o)*r,j=p+(f[l+4]-p)*r}var s=a.slots[this.slotIndex];e<1?(s.r+=(g-s.r)*e,s.g+=(h-s.g)*e,s.b+=(i-s.b)*e,s.a+=(j-s.a)*e):(s.r=g,s.g=h,s.b=i,s.a=j)}}},spine.AttachmentTimeline=function(a){this.curves=new spine.Curves(a),this.frames=new spine.Float32Array(a),this.frames.length=a,this.attachmentNames=[],this.attachmentNames.length=a},spine.AttachmentTimeline.prototype={slotIndex:0,getFrameCount:function(){return this.frames.length},setFrame:function(a,b,c){this.frames[a]=b,this.attachmentNames[a]=c},apply:function(a,b,c,d,e){var f=this.frames;if(c c&&this.apply(a,b,Number.MAX_VALUE,null,0));b>c&&(b=-1);var g=c>=f[f.length-1]?f.length-1:spine.Animation.binarySearch1(f,c)-1;if(!(f[g]c)this.apply(a,b,Number.MAX_VALUE,d,e),b=-1;else if(b>=f[g-1])return;if(!(c 0&&f[h-1]==i;)h--}for(var j=this.events;h =f[h];h++)d[d.length]=j[h]}}}},spine.DrawOrderTimeline=function(a){this.frames=new spine.Float32Array(a),this.frames.length=a,this.drawOrders=[],this.drawOrders.length=a},spine.DrawOrderTimeline.prototype={getFrameCount:function(){return this.frames.length},setFrame:function(a,b,c){this.frames[a]=b,this.drawOrders[a]=c},apply:function(a,b,c,d,e){var f=this.frames;if(!(c =f[f.length-1]?f.length-1:spine.Animation.binarySearch1(f,c)-1;var h=a.drawOrder,i=a.slots,j=this.drawOrders[g];if(j)for(var k=0,l=j.length;k =h[h.length-1]){var l=i[h.length-1];if(e<1)for(var m=0;m 1?1:p);var q=i[n-1],r=i[n];if(e<1)for(var m=0;m =f[f.length-3])return g.mix+=(f[f.length-2]-g.mix)*e,void(g.bendDirection=f[f.length-1]);var h=spine.Animation.binarySearch(f,c,3),i=f[h+-2],j=f[h],k=1-(c-j)/(f[h+-3]-j);k=this.curves.getCurvePercent(h/3-1,k);var l=i+(f[h+1]-i)*k;g.mix+=(l-g.mix)*e,g.bendDirection=f[h+-1]}}},spine.SkeletonData=function(){this.bones=[],this.slots=[],this.skins=[],this.events=[],this.animations=[],this.ikConstraints=[],this.transformConstraints=[]},spine.SkeletonData.prototype={name:null,defaultSkin:null,width:0,height:0,version:null,hash:null,findBone:function(a){for(var b=this.bones,c=0,d=b.length;c =0;j--){var m=b[j];if(m==l.bone||m==l.target){b.splice(j+1,0,l);break}}},updateWorldTransform:function(){for(var a=this.cache,b=0,c=a.length;b =0&&this.setCurrent(b,e)):!c.loop&&c.lastTime>=c.endTime&&this.clearTrack(b)}}},apply:function(a){for(var b=0;b f&&(d=f);var h=c.previous;if(h){var i=h.time;!h.loop&&i>h.endTime&&(i=h.endTime),h.animation.apply(a,i,i,h.loop,null);var j=c.mixTime/c.mixDuration*c.mix;j>=1&&(j=1,c.previous=null),c.animation.mix(a,c.lastTime,d,g,this.events,j)}else 1==c.mix?c.animation.apply(a,c.lastTime,d,g,this.events):c.animation.mix(a,c.lastTime,d,g,this.events,c.mix);for(var k=0,l=this.events.length;k d%f:e =f){var n=Math.floor(d/f);c.onComplete&&c.onComplete(b,n),this.onComplete&&this.onComplete(b,n)}c.lastTime=c.time}}},clearTracks:function(){for(var a=0,b=this.tracks.length;a=this.tracks.length)){var b=this.tracks[a];b&&(b.onEnd&&b.onEnd(a),this.onEnd&&this.onEnd(a),this.tracks[a]=null)}},_expandToIndex:function(a){if(a =this.tracks.length;)this.tracks[this.tracks.length]=null;return null},setCurrent:function(a,b){var c=this._expandToIndex(a);if(c){var d=c.previous;c.previous=null,c.onEnd&&c.onEnd(a),this.onEnd&&this.onEnd(a),b.mixDuration=this.data.getMix(c.animation,b.animation),b.mixDuration>0&&(b.mixTime=0,d&&c.mixTime/c.mixDuration<.5?b.previous=d:b.previous=c)}this.tracks[a]=b,b.onStart&&b.onStart(a),this.onStart&&this.onStart(a)},setAnimationByName:function(a,b,c){var d=this.data.skeletonData.findAnimation(b);if(!d)throw"Animation not found: "+b;return this.setAnimation(a,d,c)},setAnimation:function(a,b,c){var d=new spine.TrackEntry;return d.animation=b,d.loop=c,d.endTime=b.duration,this.setCurrent(a,d),d},addAnimationByName:function(a,b,c,d){var e=this.data.skeletonData.findAnimation(b);if(!e)throw"Animation not found: "+b;return this.addAnimation(a,e,c,d)},addAnimation:function(a,b,c,d){var e=new spine.TrackEntry;e.animation=b,e.loop=c,e.endTime=b.duration;var f=this._expandToIndex(a);if(f){for(;f.next;)f=f.next;f.next=e}else this.tracks[a]=e;return d<=0&&(f?d+=f.endTime-this.data.getMix(f.animation,b):d=0),e.delay=d,e},getCurrent:function(a){return a>=this.tracks.length?null:this.tracks[a]}},spine.SkeletonJson=function(a){this.attachmentLoader=a,this.linkedMeshes=[]},spine.SkeletonJson.prototype={scale:1,readSkeletonData:function(a,b){var c=new spine.SkeletonData;c.name=b;var d=a.skeleton;d&&(c.hash=d.hash,c.version=d.spine,c.width=d.width||0,c.height=d.height||0);for(var e=a.bones,f=0,g=e.length;f =0;T--)Y[T]=4294967295;var Z=X.offsets,$=new spine.Uint32Array(W-Z.length);$.length=W-Z.length;for(var _=0,aa=0,T=0,S=Z.length;T =0;T--)4294967295==Y[T]&&(Y[T]=$[--aa])}l.setFrame(m++,X.time,Y)}d[d.length]=l,e=Math.max(e,l.frames[l.getFrameCount()-1])}var ca=b.events;if(ca){for(var l=new spine.EventTimeline(ca.length),m=0,n=0,o=ca.length;n=this.lines.length?null:this.lines[this.index++]},readValue:function(){var a=this.readLine(),b=a.indexOf(":");if(b==-1)throw"Invalid line: "+a;return this.trim(a.substring(b+1))},readTuple:function(a){var b=this.readLine(),c=b.indexOf(":");if(c==-1)throw"Invalid line: "+b;for(var d=0,e=c+1;d<3;d++){var f=b.indexOf(",",e);if(f==-1)break;a[d]=this.trim(b.substr(e,f-e)),e=f+1}return a[d]=this.trim(b.substring(e)),d+1}},spine.AtlasAttachmentLoader=function(a){this.atlas=a},spine.AtlasAttachmentLoader.prototype={newRegionAttachment:function(a,b,c){var d=this.atlas.findRegion(c);if(!d)throw"Region not found in atlas: "+c+" (region attachment: "+b+")";var e=new spine.RegionAttachment(b);return e.rendererObject=d,e.setUVs(d.u,d.v,d.u2,d.v2,d.rotate),e.regionOffsetX=d.offsetX,e.regionOffsetY=d.offsetY,e.regionWidth=d.width,e.regionHeight=d.height,e.regionOriginalWidth=d.originalWidth,e.regionOriginalHeight=d.originalHeight,e},newMeshAttachment:function(a,b,c){var d=this.atlas.findRegion(c);if(!d)throw"Region not found in atlas: "+c+" (mesh attachment: "+b+")";var e=new spine.MeshAttachment(b);return e.rendererObject=d,e.regionU=d.u,e.regionV=d.v,e.regionU2=d.u2,e.regionV2=d.v2,e.regionRotate=d.rotate,e.regionOffsetX=d.offsetX,e.regionOffsetY=d.offsetY,e.regionWidth=d.width,e.regionHeight=d.height,e.regionOriginalWidth=d.originalWidth,e.regionOriginalHeight=d.originalHeight,e},newWeightedMeshAttachment:function(a,b,c){var d=this.atlas.findRegion(c);if(!d)throw"Region not found in atlas: "+c+" (weighted mesh attachment: "+b+")";var e=new spine.WeightedMeshAttachment(b);return e.rendererObject=d,e.regionU=d.u,e.regionV=d.v,e.regionU2=d.u2,e.regionV2=d.v2,e.regionRotate=d.rotate,e.regionOffsetX=d.offsetX,e.regionOffsetY=d.offsetY,e.regionWidth=d.width,e.regionHeight=d.height,e.regionOriginalWidth=d.originalWidth,e.regionOriginalHeight=d.originalHeight,e},newBoundingBoxAttachment:function(a,b){return new spine.BoundingBoxAttachment(b)}},spine.SkeletonBounds=function(){this.polygonPool=[],this.polygons=[],this.boundingBoxes=[]},spine.SkeletonBounds.prototype={minX:0,minY:0,maxX:0,maxY:0,update:function(a,b){var c=a.slots,d=c.length,e=a.x,f=a.y,g=this.boundingBoxes,h=this.polygonPool,i=this.polygons;g.length=0;for(var j=0,k=i.length;j 0?(n=h[o-1],h.splice(o-1,1)):n=new spine.Float32Array,i[i.length]=n,n.length=m.vertices.length,m.computeWorldVertices(e,f,l.bone,n)}}b&&this.aabbCompute()},aabbCompute:function(){for(var a=this.polygons,b=Number.MAX_VALUE,c=Number.MAX_VALUE,d=-Number.MAX_VALUE,e=-Number.MAX_VALUE,f=0,g=a.length;f =this.minX&&a<=this.maxX&&b>=this.minY&&b<=this.maxY},aabbIntersectsSegment:function(a,b,c,d){var e=this.minX,f=this.minY,g=this.maxX,h=this.maxY;if(a<=e&&c<=e||b<=f&&d<=f||a>=g&&c>=g||b>=h&&d>=h)return!1;var i=(d-b)/(c-a),j=i*(e-a)+b;if(j>f&&j f&&j e&&k e&&k a.minX&&this.minY a.minY},containsPoint:function(a,b){for(var c=this.polygons,d=0,e=c.length;d =c||i =c){var j=a[g];j+(c-h)/(i-h)*(a[e]-j)=j&&s<=m||s>=m&&s<=j)&&(s>=b&&s<=d||s>=d&&s<=b)){var t=(i*q-h*o)/r;if((t>=k&&t<=n||t>=n&&t<=k)&&(t>=c&&t<=e||t>=e&&t<=c))return!0}j=m,k=n}return!1},getPolygon:function(a){var b=this.boundingBoxes.indexOf(a);return b==-1?null:this.polygons[b]},getWidth:function(){return this.maxX-this.minX},getHeight:function(){return this.maxY-this.minY}};var __extends=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},PhaserSpine;!function(a){var b=function(b){function c(a,c){var d=b.call(this,a,c)||this;return d.addSpineCache(),d.addSpineFactory(),d.addSpineLoader(),d}return __extends(c,b),c.prototype.addSpineLoader=function(){Phaser.Loader.prototype.spine=function(a,b,c){var d=this,e=a+"Atlas",f={atlas:e,basePath:""===b.substring(0,b.lastIndexOf("/"))?".":b.substring(0,b.lastIndexOf("/")),variants:void 0};void 0===c?c=[""]:f.variants=c,c.forEach(function(a){d.onFileComplete.add(function(b,c){if(c===e){new spine.Atlas(d.game.cache.getText(c),{load:function(b,c,e){d.image(c,f.basePath+"/"+c.substr(0,c.lastIndexOf("."))+a+".png")}})}}),d.text(e,b.substr(0,b.lastIndexOf("."))+a+".atlas")}),this.json(a,b),this.game.cache.addSpine(a,f)}},c.prototype.addSpineFactory=function(){Phaser.GameObjectFactory.prototype.spine=function(b,c,d,e,f){void 0===f&&(f=this.world);var g=new a.Spine(this.game,d,e);return g.setToSetupPose(),g.position.x=b,g.position.y=c,f.add(g)},Phaser.GameObjectCreator.prototype.spine=function(b,c,d,e,f){return new a.Spine(this.game,d,e)}},c.prototype.addSpineCache=function(){Phaser.Cache.prototype.spine={},Phaser.Cache.prototype.addSpine=function(a,b){this.spine[a]=b},Phaser.Cache.prototype.getSpine=function(a){return!this.spine.hasOwnProperty(a),this.spine[a]}},c}(Phaser.Plugin);b.RESOLUTION_REGEXP=/@(.+)x/,a.SpinePlugin=b}(PhaserSpine||(PhaserSpine={})),Phaser.Rope.prototype.postUpdate=function(){},spine.Bone.yDown=!0;var PhaserSpine;!function(a){var b=function(b){function c(c,d,e){var f=b.call(this,c)||this;f.imageScale=1;var g=f.game.cache.getSpine(d);void 0!==e&&g.variants.indexOf(e)!==-1?f.imageScale=f.getScaleFromVariant(e):g.variants&&g.variants.length>=1&&(f.imageScale=f.getScaleFromVariant(g.variants[0]));var h=new a.SpineTextureLoader(c),i=new spine.Atlas(c.cache.getText(g.atlas),h),j=new spine.AtlasAttachmentLoader(i),k=new spine.SkeletonJson(j);if(f.skeletonData=k.readSkeletonData(c.cache.getJSON(d)),!f.skeletonData)throw new Error("Spine data must be preloaded using Loader.spine");f.onEvent=new Phaser.Signal,f.onComplete=new Phaser.Signal,f.onEnd=new Phaser.Signal,f.skeleton=new spine.Skeleton(f.skeletonData),f.skeleton.updateWorldTransform(),f.stateData=new spine.AnimationStateData(f.skeletonData),f.state=new spine.AnimationState(f.stateData),f.state.onEvent=f.onEvent.dispatch.bind(f.onEvent),f.state.onComplete=f.onComplete.dispatch.bind(f.onComplete),f.state.onEnd=f.onEnd.dispatch.bind(f.onEnd),f.slotContainers=[];for(var l=0,m=f.skeleton.slots.length;l 0})},a.prototype.getCookiesForNameSpace=function(){var a=this,b={};return this.getNameSpaceMatches().forEach(function(c){var d=c.replace(a.namespace,"").split("=");b[d[0]]=d[1]}),b},a.prototype.promisefy=function(a){return new Promise(function(b,c){b(a)})},a}();a.CookieStorage=b}(b=a.StorageAdapters||(a.StorageAdapters={}))}(PhaserSuperStorage||(PhaserSuperStorage={}));var PhaserSuperStorage;!function(a){var b;!function(a){var b=function(){function a(){this.namespace="",this.keys=[]}return Object.defineProperty(a.prototype,"forcePromises",{get:function(){return!0},set:function(a){},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"length",{get:function(){return this.keys.length},enumerable:!0,configurable:!0}),a.prototype.key=function(a){return this.promisefy(this.keys[a])},a.prototype.getItem=function(a){var b=this;return new Promise(function(c,d){NativeStorage.getItem(b.namespace+a,function(a){c(a)},function(a){2===a.code?c(null):d(a)})})},a.prototype.setItem=function(a,b){var c=this;return a.length<1?void console.error("CordovaStorage: Key cannot be an empty string!"):new Promise(function(d,e){NativeStorage.setItem(c.namespace+a,b,function(){c.keys.indexOf(a)<0&&(c.keys.push(a),c.save()),d(null)},function(a){e(a)})})},a.prototype.removeItem=function(a){var b=this;return new Promise(function(c,d){NativeStorage.remove(b.namespace+a,function(){var d=b.keys.indexOf(a);d>=0&&(b.keys.splice(d,1),b.save()),c(null)},function(a){d(a)})})},a.prototype.clear=function(){var a=this;return new Promise(function(b,c){for(var d=0,e=0;e =a.keys.length&&(a.keys=[],a.save(),b(null))},function(a){c(a)})})},a.prototype.setNamespace=function(a){var b=this;return void 0===a&&(a=""),this.namespace=a+":",this.keys=[],new Promise(function(a,c){b.load().then(a).catch(a)})},a.prototype.promisefy=function(a){return new Promise(function(b,c){b(a)})},a.prototype.load=function(){var a=this;return new Promise(function(b,c){NativeStorage.getItem(a.namespace,function(c){a.keys=JSON.parse(c),b(null)},function(a){c(a)})})},a.prototype.save=function(){NativeStorage.setItem(this.namespace,JSON.stringify(this.keys),function(){},function(a){console.warn("CordovaStorage: Failed to save keys of namespace.")})},a}();a.CordovaStorage=b}(b=a.StorageAdapters||(a.StorageAdapters={}))}(PhaserSuperStorage||(PhaserSuperStorage={}));var PhaserSuperStorage;!function(a){var b;!function(b){var c=function(){function b(a,b){void 0===a&&(a=""),void 0===b&&(b="*"),this.namespace="",this.expectedOrigin="",this.storageLength=0,this.enabled=!1,""!==a&&this.setNamespace(a),this.expectedOrigin=b}return Object.defineProperty(b.prototype,"forcePromises",{get:function(){return!0},set:function(a){},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"length",{get:function(){return this.storageLength},enumerable:!0,configurable:!0}),b.prototype.init=function(){var b=this;return this.sendMessage({command:a.StorageCommand.init}).then(function(){b.enabled=!0})},b.prototype.key=function(b){return this.sendMessage({command:a.StorageCommand.key,value:b})},b.prototype.getItem=function(b){return this.sendMessage({command:a.StorageCommand.getItem,key:b})},b.prototype.setItem=function(b,c){return this.sendMessage({command:a.StorageCommand.setItem,key:b,value:c})},b.prototype.removeItem=function(b){return this.sendMessage({command:a.StorageCommand.removeItem,key:b})},b.prototype.clear=function(){return this.sendMessage({command:a.StorageCommand.clear})},b.prototype.setNamespace=function(b){return this.sendMessage({command:a.StorageCommand.setNamespace,value:b})},b.prototype.sendMessage=function(b){var c,d=this;b.command===a.StorageCommand.init&&(c=!1);var e=new MessageChannel;return new Promise(function(f,g){d.enabled||b.command===a.StorageCommand.init||g("Messaging not enabled!"),b.command===a.StorageCommand.init&&setTimeout(function(){c||g("Unable to get a response in time")},1e3),e.port1.onmessage=function(b){console.log("Frame received message",b);var e=a.StorageUtils.validateMessage(b.data);switch(e.command===a.StorageCommand.init&&(c=!0),void 0!==e.status&&"ok"===e.status||g(e.value),void 0!==e.length&&(d.storageLength=e.length),e.command){case a.StorageCommand.setNamespace:d.namespace=e.value+":";case a.StorageCommand.getItem:case a.StorageCommand.length:case a.StorageCommand.key:f(e.value);break;case a.StorageCommand.setItem:case a.StorageCommand.removeItem:case a.StorageCommand.clear:case a.StorageCommand.init:f(e.status);break;default:g(e.value)}},(d.enabled||b.command===a.StorageCommand.init)&&(console.log("Sending message to parent: ",b),window.parent.postMessage(b,d.expectedOrigin,[e.port2]))})},b}();b.IframeStorage=c}(b=a.StorageAdapters||(a.StorageAdapters={}))}(PhaserSuperStorage||(PhaserSuperStorage={}));var PhaserSuperStorage;!function(a){var b;!function(b){var c=function(){function b(a){void 0===a&&(a=""),this.namespace="",this.forcePromises=!1,this.setNamespace(a)}return Object.defineProperty(b.prototype,"length",{get:function(){var b=Object.keys(localStorage);return a.StorageUtils.nameSpaceKeyFilter(b,this.namespace).length},enumerable:!0,configurable:!0}),b.prototype.key=function(a){return this.forcePromises?this.promisefy(this._key,arguments):this._key(a)},b.prototype._key=function(b){var c=Object.keys(localStorage),d=a.StorageUtils.nameSpaceKeyFilter(c,this.namespace),e=localStorage.getItem(d[b]);return e},b.prototype.getItem=function(a){return this.forcePromises?this.promisefy(this._getItem,arguments):this._getItem(a)},b.prototype._getItem=function(a){return localStorage.getItem(this.namespace+a)},b.prototype.setItem=function(a,b){return this.forcePromises?this.promisefy(this._setItem,arguments):this._setItem(a,b)},b.prototype._setItem=function(a,b){return localStorage.setItem(this.namespace+a,b)},b.prototype.removeItem=function(a){return this.forcePromises?this.promisefy(this._removeItem,arguments):this._removeItem(a)},b.prototype._removeItem=function(a){return localStorage.removeItem(this.namespace+a)},b.prototype.clear=function(){return this.forcePromises?this.promisefy(this._clear,arguments):this._clear()},b.prototype._clear=function(){for(var b=Object.keys(localStorage),c=a.StorageUtils.nameSpaceKeyFilter(b,this.namespace),d=0;d ","(?:>|>)").replace("&","(?:&|&)").replace('"','(?:"|")').replace(/\s+/g,"\\s+")}function x(e,t){for(var n,r,i=0,a=t.length;in&&(r=a.exec(i[n]))?r.index:null}function y(e){for(var t,n,r,i,a,o=[w.location.href],s=document.getElementsByTagName("script"),u=""+e,c=0;c ]+)>|([^\)]+))\((.*)\) in (.*):\s*$/i,i=n?n.split("\n"):[],a=[],o=0,s=i.length;o |\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,r=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|ionic|capacitor|app|\[native).*?|[^@]*bundle)(?::(\d+))?(?::(\d+))?\s*$/i,i=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,a=e.stack.split("\n"),o=[],s=/^(.*) is undefined$/.exec(e.message);if(p.Utilities.isReactNative())for(var u,c,l,d=/^(.*@)?.*\/[^\.]+(\.app|CodePush)\/?(.*)/,f=0;f>>0;if(0==i)return-1;var a=0|t;if(i<=a)return-1;for(n=Math.max(0<=a?a:i-Math.abs(a),0);n>>0;if("function"!=typeof e)throw new TypeError(e+" is not a function");for(1 >>0;if("function"!=typeof e)throw new TypeError(e+" is not a function");for(1 t?e.slice(0,t-"(...)".length)+"(...)":e},getOrigin:function(){return p.location.origin?p.location.origin:p.location.protocol+"//"+p.location.hostname+(p.location.port?":"+p.location.port:"")},resolveFullUrl:function(e){if(e&&0===e.indexOf("//")&&(e=p.location.protocol+e),e&&p.location.pathname&&-1===e.indexOf("://")){var t=this.getOrigin();if(0===e.indexOf("/"))return t+e;var n=p.location.pathname.split("/");return n.pop(),t+n.join("/")+"/"+e}return e},removeFromArray:function(e,t){for(var n=[],r=0;r a.value&&(a.value=o,a.entries=s,i()))}var i,a=c("CLS",0),o=0,s=[],u=l("layout-shift",r);u&&(i=g(n,a,e),d(function(){u.takeRecords().map(r),i(!0)}),f(function(){m=-1,a=c("CLS",o=0),i=g(n,a,e)}))},window.webVitals.getFCP=p,window.webVitals.getFID=function(e,t){function n(e){e.startTime {"use strict";var __webpack_modules__={1075:e=>{var t=Object.prototype.hasOwnProperty,n="~";function a(){}function r(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function i(e,t,a,i,o){if("function"!=typeof a)throw new TypeError("The listener must be a function");var s=new r(a,i||e,o),l=n?n+t:t;return e._events[l]?e._events[l].fn?e._events[l]=[e._events[l],s]:e._events[l].push(s):(e._events[l]=s,e._eventsCount++),e}function o(e,t){0==--e._eventsCount?e._events=new a:delete e._events[t]}function s(){this._events=new a,this._eventsCount=0}Object.create&&(a.prototype=Object.create(null),(new a).__proto__||(n=!1)),s.prototype.eventNames=function(){var e,a,r=[];if(0===this._eventsCount)return r;for(a in e=this._events)t.call(e,a)&&r.push(n?a.slice(1):a);return Object.getOwnPropertySymbols?r.concat(Object.getOwnPropertySymbols(e)):r},s.prototype.listeners=function(e){var t=n?n+e:e,a=this._events[t];if(!a)return[];if(a.fn)return[a.fn];for(var r=0,i=a.length,o=new Array(i);r{Object.defineProperty(t,"__esModule",{value:!0}),t.isIpad=t.isIphone=t.isFireFoxOnAndroid=t.isSamsungInternetOnAndroidTab=t.isSamsungInternetOnAndroidMobile=t.isAndroidTab=t.isAndroidMobile=t.isAndroidDevice=t.isMobileOrTab=t.getOrientation=t.nulOrUnd=void 0,t.nulOrUnd=function(e){return null==e},t.getOrientation=function(){let e=Math.abs(window.orientation);return 180==e&&(e=0),e},t.isMobileOrTab=function(){return[/webOS/i,/iPod/i,/BlackBerry/i,/Windows Phone/i].some((e=>window.navigator.userAgent.match(e)))||this.isAndroidDevice()||this.isIphone()||this.isIpad()},t.isAndroidDevice=function(){return[/Android/i,/SamsungBrowser/i].some((e=>window.navigator.userAgent.match(e)))},t.isAndroidMobile=function(){return[/Mobile/i].every((e=>window.navigator.userAgent.match(e)))&&this.isAndroidDevice()},t.isAndroidTab=function(){return![/Mobile/i].every((e=>navigator.userAgent.match(e)))&&this.isAndroidDevice()},t.isSamsungInternetOnAndroidMobile=function(){return[/Mobile/i,/SamsungBrowser/i].every((e=>window.navigator.userAgent.match(e)))},t.isSamsungInternetOnAndroidTab=function(){return[/SamsungBrowser/i].every((e=>window.navigator.userAgent.match(e)))&&this.isAndroidTab()},t.isFireFoxOnAndroid=function(){return[/Android/i,/Mobile/i,/FireFox/i].every((e=>window.navigator.userAgent.match(e)))},t.isIphone=function(){return[/iPhone/i].some((e=>window.navigator.userAgent.match(e)))&&window.navigator.maxTouchPoints&&window.navigator.maxTouchPoints>1},t.isIpad=function(){return[/iPad/i,/Macintosh/i].some((e=>window.navigator.userAgent.match(e)))&&window.navigator.maxTouchPoints&&window.navigator.maxTouchPoints>1}},8744:function(e,t,n){var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=a(n(1075)),i=n(4853),o=a(n(347)),s=n(9251),l=a(n(6430)),d=a(n(2673)),c=a(n(694)),u=a(n(9916)),f=a(n(5797)),g=a(n(1840)),h=a(n(2915)),p=a(n(240)),_=a(n(5038)),m=n(973),A=n(939),E=a(n(9714));class v extends r.default{constructor(){super(),this.isReady=!1,this.gameStarted=!1,this.interface=new r.default,o.default.setupUIStyle()}static get instance(){return void 0===v._instance?v._instance=new v:v._instance}static isPlatformSupported(){return v.commsManager.isPlatformSupported}getPlayerID(){return v.commsManager.playerID}async init(e){this.config=e,this.logBuild(e),this.applyWrapperOptions();let{err:t}=await this.commsManager.initialize();return this.commsManager.checkPlatformSupport(t),await this.storageManager.initialize(this.config),this.createInterface(e.interface),await this.initAds(),this.config.inAppPurchase&&await this.initIAP(),window.sgWrapper=this,this.createUI(e),this.initOnceAllReady(),Promise.resolve()}initOnceAllReady(){let e=!1;const t=()=>{e||(e=!0,this.checkForRemoteJS(),window.onWrapperReady&&window.onWrapperReady(),this.emit(l.default.READY),this.isReady=!0)};"complete"===document.readyState?setTimeout((()=>{t()}),200):window.addEventListener("load",(()=>{const e=setInterval((()=>{"complete"===document.readyState&&(setTimeout((()=>{t()}),200),clearInterval(e))}),200)}))}checkForRemoteJS(){for(var e=document.getElementsByTagName("script"),t=0;t {})),this.interface.once(s.InterfaceEvent.LOADED,(()=>{this.onStartGame()})),this.interface.on(s.InterfaceEvent.LOAD_PROGRESS,(e=>{this.commsManager.setLoadingProgress(e.progress)}))}async onStartGame(){this.gameStarted=!0,this.emit(l.default.GAME_START);const{err:e}=await this.commsManager.startGame();e&&(console.log(e),this.commsManager.checkPlatformSupport(e))}createInterface(e){switch(e){case i.InterfaceType.SGSDK:new f.default(this.interface);break;case i.InterfaceType.SG_HOOKS:new u.default(this.interface);break;case i.InterfaceType.FBInstant:new d.default(this.interface),new c.default(this.interface);break;default:console.warn("Interface not initialized: type not recognized.")}this.hookUpInterface()}applyWrapperOptions(){if(void 0!==this.config.options){const e=window.navigator.userAgent.includes("Android");this.config.options.reloadOnFold&&e&&new p.default}}logBuild(e){console.log("*******************************"),console.log(e.gameTitle+" v"+e.gameBuild),console.log(e),console.log("*******************************")}static get placementIDs(){return v.instance.placementIDs}static get commsManager(){return v.instance.commsManager}static get adManager(){return v.instance.adManager}static get iapManager(){return v.instance.iapManager}static get interface(){return v.instance.interface}static get config(){return v.instance.config}static get storageManager(){return v.instance.storageManager}static get leaderboards(){return v.instance.leaderboards}static get sdkHandler(){return v.instance.sdkHandler}static set sdkHandler(e){v.instance.sdkHandler=e}}t.default=v},939:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.OrientationLock=void 0,function(e){e.PORTRAIT="portrait",e.LANDSCAPE="landscape",e.NONE="none"}(t.OrientationLock||(t.OrientationLock={}))},6043:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Default=void 0;class n{}t.Default=n,n.LANG="en"},4853:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.InterfaceType=void 0,function(e){e.SG_HOOKS="SG_Hooks",e.SGSDK="sgSdk",e.FBInstant="FBInstant"}(t.InterfaceType||(t.InterfaceType={}))},388:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0});class n{}t.default=n,n.platformConfig="platform-config.json",n.ratingImage="lib/assets/grac_kr_rating_all.png",n.softgamesLogo="lib/assets/softgames_logo.png",n.supportPopupBG="lib/assets/support_popup.png",n.supportPopupTextFrame="lib/assets/support_text_frame.png",n.supportPopupCloseBtn="lib/assets/support_close_button.png",n.firebaseConfig="firebaseConfig.json"},5028:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.PlatformType=void 0,function(e){e.SAMSUNG_INSTANT="samsung",e.AZERION="azerion",e.WEB="web",e.MSSTART="msstart",e.NONE="none"}(t.PlatformType||(t.PlatformType={}))},4186:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.LinksKR=t.Links=void 0,function(e){e.TOS="https://www.softgames.com/terms-of-use/",e.PRIVACYPOLICY="https://www.softgames.de/privacy/"}(t.Links||(t.Links={})),function(e){e.TOS="https://www.softgames.com/terms-of-use-kr/",e.PRIVACYPOLICY="https://www.softgames.com/privacy-kr/"}(t.LinksKR||(t.LinksKR={}))},347:function(e,t,n){var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=a(n(2801));class i{static setupUIStyle(){const e=document.createElement("style");e.setAttribute("id",i.UI_STYLES_ELEMENT_ID),e.innerHTML=i.UI_STYLE,document.body.appendChild(e)}}t.default=i,i.UI_STYLES_ELEMENT_ID="ui-styles",i.UI_STYLE=`\n\n @font-face {\n font-family: Lobster;\n src: url(lib/assets/Lobster.ttf);\n }\n\n a:link { text-decoration: none; color: inherit; }\n a:visited { text-decoration: none; color: inherit; }\n a:hover { text-decoration: none; color: inherit;}\n a:active { text-decoration: none; color: inherit;}\n\n .wrapper-ui {\n color: white;\n font-family: sans-serif;\n text-align: center;\n z-index: ${r.default.UI_ELEMENT_Z_INDEX};\n }\n \n #${r.default.RATING_CONTAINER_ID}{\n position: absolute;\n right: 0;\n top: 10px;\n width: 20%;\n max-width: 80px; \n z-index: ${r.default.RATING_CONTAINER_Z_INDEX}\n }\n\n .orientation-screen {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n width: 100vw;\n height: 100vh;\n background-color: black;\n z-index: 999;\n }\n\n .orientation-screen-ico {\n position: absolute;\n top: calc(50vh - 100px);\n right: calc(50vw - 100px);\n }\n \n .loading-screen {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n background-color: black;\n z-index: inherit;\n }\n \n .splash-screen {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n display: flex;\n flex-direction: column;\n background-color: white;\n align-items: center;\n justify-content: space-around;\n z-index: 9999;\n }\n \n .game-logo {\n position: absolute;\n top: calc(25vh - 30px);\n box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);\n max-height: 20%;\n width: auto;\n border-radius: 16%;\n }\n\n .supportPopupContainer {\n position: absolute;\n width:338px;\n height:338px;\n left:0;\n right:0;\n top:0;\n bottom:0;\n margin:auto;\n z-index: 9999;\n }\n\n .supportPopup {\n display:block;\n background-size: contain;\n background-repeat: norepeat;\n width:-webkit-fill-available;\n height:-webkit-fill-available; \n z-index: 9999; \n }\n\n .fullBG {\n background-color:black;\n width:100vw;\n height:100vh;\n margin:0;\n padding:0;\n position:absolute;\n opacity:0.5;\n }\n\n .supportPopupCloseBtn {\n position:absolute;\n top:5px;\n right:3px;\n width:55px;\n height:55px;\n }\n\n .termsAndConditionsBg {\n position:absolute;\n width:290px;\n height:53px;\n top:75px;\n right:15px;\n right:0;\n left:0;\n margin:auto;\n }\n\n .privacyPolicyBg {\n position:absolute;\n width:290px;\n height:53px;\n top:130px;\n right:15px;\n right:0;\n left:0;\n margin:auto;\n }\n\n .termsAndConditionsLinkText {\n position:absolute;\n top:85px;\n right:0;\n left:0;\n margin:auto;\n font-weight:200;\n font-size:24px;\n user-select:none;\n color: #FFFFFF;\n font-family: "Lobster";\n }\n\n .privacyPolicyLinkText {\n position:absolute;\n top:140px;\n font-weight:200;\n font-size:24px;\n right:0;\n left:0;\n margin:auto;\n user-select:none;\n color: #FFFFFF;\n font-family: "Lobster";\n }\n\n .playerIdText {\n position:absolute;\n bottom:30px;\n right:0;\n left:0;\n margin:auto;\n font-weight:bold;\n font-size:23px;\n color: #875A2B;\n }\n\n .contactUs {\n position:absolute;\n bottom: 110px;\n right:0;\n left:0;\n margin:auto;\n font-weight:bold;\n font-size:20px;\n color: #834b37;\n font-family: "Lobster";\n }\n\n .supportEmail {\n position:absolute;\n bottom:80px;\n right:0;\n left:0;\n margin:auto;\n font-weight:bold;\n font-size:20px;\n color: #834b37;\n font-family: "Lobster";\n }\n\n .IAPGiftMessage {\n position:absolute;\n top:90px;\n right:0;\n left:0;\n margin:auto;\n color:#875A2B;\n font-family: "Lobster";\n font-weight:bold;\n font-size:23px;\n }\n\n .IAPGiftMessage {\n position:absolute;\n top:100px;\n right:0;\n left:0;\n margin:auto;\n color:black;\n font-family: "Marker Felt;\n font-weight:bold;\n font-size:23px;\n user-select:none;\n max-width:200px;\n }\n\n .play-button {\n position: absolute;\n font-style: bold;\n font-family: Arial;\n top: calc(60vh);\n max-height: 20%;\n padding: 10px;\n padding-left: 20px;\n padding-right: 20px;\n text-align:center;\n font-size: 28px;\n color: #FFFFFF;\n background-color: #ff8c00;\n box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);\n }\n\n .play-button-bg {\n position:relative;\n display:block;\n top:20px;\n }\n\n .play-text {\n font-size: 24px;\n font-color: white;\n user-select: none;\n }\n\n .game-logo-azerion {\n position: absolute;\n top: calc(25vh - 30px);\n box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);\n max-height: 20%;\n width: auto;\n border-radius: 16%;\n }\n\n .background-image {\n width:100vw;\n height:100vh;\n filter: blur(40px);\n }\n\n .progressringaz {\n position: absolute;\n top: calc(45vh);\n width: ${2*r.default.SPLASH_SPINNER_SIZE_AZ}px;\n height: ${2*r.default.SPLASH_SPINNER_SIZE_AZ}px;\n }\n\n .progressringaz-circle {\n stroke: #f1672b;\n fill: transparent;\n transform: rotate(-90deg);\n transition: stroke-dashoffset 0.35s;\n transform-origin: 50% 50%;\n }\n \n .progress-ring {\n position: absolute;\n top: calc(50vh);\n width: ${2*r.default.SPLASH_SPINNER_SIZE}px;\n height: ${2*r.default.SPLASH_SPINNER_SIZE}px;\n }\n \n /* https://css-tricks.com/building-progress-ring-quickly/ */\n .background-circle {\n stroke: #f3f3f3;\n fill: transparent;\n }\n \n .progress-ring-circle {\n stroke: #f1672b;\n fill: transparent;\n transform: rotate(-90deg);\n transition: stroke-dashoffset 0.35s;\n transform-origin: 50% 50%;\n }\n \n .softgames-logo {\n position:absolute;\n max-height: 5%;\n max-width: 60%;\n bottom: 0;\n }\n\n .sg-logo-azerion {\n position:absolute;\n max-height: 5%;\n max-width: 60%;\n bottom: 30%;\n }\n\n .sg-logo-azerion-fadeOut {\n opacity: 0;\n transition: opacity 600ms;\n }\n\n .sg-logo-azerion-fadeIn {\n opacity: 1;\n transition: opacity 600ms;\n }\n \n @media (orientation: landscape) and (max-device-height: 640px) {\n .progress-ring {\n transform: scale(0.8);\n }\n \n .game-logo {\n max-height: 30%;\n }\n \n .softgames-logo {\n max-height: 10%;\n }\n }\n \n \n /* ref: https://www.w3schools.com/howto/howto_css_loader.asp */\n .spinner {\n position: absolute;\n top: calc(50vh - 30px);\n left: calc(50vw - 30px);\n \n border: 4px solid #f3f3f3;\n border-top: 4px solid black;\n border-radius: 50%;\n width: 60px;\n height: 60px;\n animation: spin 1s linear infinite;\n }\n \n @keyframes spin {\n 0% { transform: rotate(0deg); }\n 100% { transform: rotate(360deg); }\n }\n \n .countdown-tag {\n pointer-events: none;\n position: absolute;\n right: 0;\n bottom: 80px;\n padding: 0 20px;\n width: 90px;\n background-color: black;\n opacity: 0;\n z-index: inherit;\n }\n \n /* ref: https://css-tricks.com/snippets/css/toggle-visibility-when-hiding-elements/ */\n .countdown-tag-fadeIn {\n opacity: 1;\n transition: opacity 300ms;\n }\n \n .countdown-tag-label {\n font-size: 16px;\n padding: 0 10px;\n }\n `},2801:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0});class n{}t.default=n,n.SAMSUNG_SPLASH_DURATION_MS=3e3,n.SHOW_RATING_DURATION_MS=3e3,n.RATING_CONTAINER_Z_INDEX=1e3,n.RATING_CONTAINER_ID="rating_container",n.SPLASH_SPINNER_SIZE=36,n.SPLASH_SPINNER_SIZE_AZ=18,n.SPLASH_SPINNER_STROKE=5,n.UI_ELEMENT_Z_INDEX=9e3,n.ADS_CONTAINER_Z_INDEX=1e4,n.ADS_CONTAINER_ID="ads_container",n.LOGGER_CONTAINER_Z_INDEX=2e3,n.LOGGER_CONTAINER_ID="debug_logger",n.DEBUG_MENU_Z_INDEX=3e4},2665:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.AdManagerEvent=void 0,function(e){e.AD_ERROR="AD_ERROR",e.AD_LOADED="AD_LOADED",e.AD_START="AD_START",e.AD_SKIP="AD_SKIP",e.AD_COMPLETE="AD_COMPLETE",e.AD_CLOSE="AD_CLOSE",e.INTERSTITIAL_AD_REQUESTED="INTERSTITIAL_AD_REQUESTED",e.REWARDED_AD_REQUESTED="REWARDED_AD_REQUESTED",e.AD_REQUESTED="AD_REQUESTED",e.FREE_REWARD_AWARDED="FREE_REWARD_AWARDED"}(t.AdManagerEvent||(t.AdManagerEvent={}))},7540:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.AdTimerEvent=void 0,function(e){e.COOLDOWN_START="COOLDOWN_START",e.COOLDOWN_END="COOLDOWN_END",e.LONGPLAY_TRIGGER="LONGPLAY_TRIGGER",e.LONGPLAY_TICKER_START="LONGPLAY_TICKER_START",e.LONGPLAY_TICKER_STOP="LONGPLAY_TICKER_STOP",e.LONGPLAY_TICK="LONGPLAY_TICK",e.LONGPLAY_WARN_TICK="LONGPLAY_WARN_TICK",e.LONGPLAY_WARN="LONGPLAY_WARN"}(t.AdTimerEvent||(t.AdTimerEvent={}))},4989:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.GameEvent=void 0,function(e){e.LEVEL_START="LEVEL_START",e.LEVEL_FINISH="LEVEL_FINISH",e.GAME_START="GAME_START",e.GAME_OVER="GAME_OVER"}(t.GameEvent||(t.GameEvent={}))},9250:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.IAPEvents=void 0,function(e){e.IAP_READY="onIAPReady"}(t.IAPEvents||(t.IAPEvents={}))},9251:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.InterfaceEvent=void 0,function(e){e.LOADED="GAME_LOADED",e.LOAD_PROGRESS="LOAD_PROGRESS"}(t.InterfaceEvent||(t.InterfaceEvent={}))},6430:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0});class n{}t.default=n,n.SDK_INIT="SDK_INIT",n.SPLASH_HIDDEN="SPLASH_HIDDEN",n.REQUEST_AD="REQUEST_AD",n.GAME_START="GAME_START",n.GAME_PAUSE="GAME_PAUSE",n.GAME_RESUME="GAME_RESUME",n.READY="WRAPPER_READY"},973:function(e,t,n){var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getConfigOptionAny=t.getConfigOption=void 0;const r=a(n(8744));t.getConfigOption=function(e){return r.default.config.options&&r.default.config.options[e]||!1},t.getConfigOptionAny=function(e){return r.default.config.options&&r.default.config.options[e]||null}},308:function(e,t,n){var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=a(n(388)),i=a(n(8744));t.default=class{constructor(){this.loadConfig(r.default.platformConfig)}async loadConfig(e){const t=await fetch(e),n=await t.json();this.createWrapper(n)}async createWrapper(e){}async getLeaderboardHandler(e){let t;return new Promise(((e,n)=>{t=window.setInterval((()=>{(()=>{if(window.sgLeaderboards){window.clearInterval(t);const n=window.sgLeaderboards.getHandler(i.default.config);e(n)}})()}),100)}))}async getIAPDBHandler(){let e;return new Promise(((t,n)=>{e=window.setInterval((()=>{(()=>{if(window.sgIAP){window.clearInterval(e);const n=window.sgIAP.getHandler(i.default.config);t(n)}})()}),100)}))}}},9284:function(e,t,n){var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=n(5028),i=n(5499),o=a(n(5207)),s=a(n(6631)),l=a(n(1662)),d=a(n(8745)),c=a(n(5663)),u=a(n(5577)),f=a(n(8744)),g=a(n(308));class h extends g.default{async createWrapper(e){f.default.instance.config=e,f.default.instance.platformDefaults=new c.default,e.platform=r.PlatformType.AZERION,f.default.instance.storageManager=new d.default,f.default.instance.commsManager=new s.default,f.default.instance.adManager=new o.default,f.default.instance.placementIDs={rewarded:f.default.config.gameID,interstitial:f.default.config.gameID},f.default.instance.iapManager=new l.default,f.default.instance.SGPreloader=new u.default(!1),f.default.instance.init(e),!0===e.leaderboardSupport&&(f.default.instance.leaderboards=await this.getLeaderboardHandler(i.LeaderboardTypes.FIREBASE)),f.default.instance.onStart()}}t.default=h,new h},2673:function(e,t,n){var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=a(n(8744)),i=n(9251),o=n(973),s=a(n(1547)),l=a(n(4599)),d=a(n(2596)),c=a(n(4663)),u=a(n(9912)),f=a(n(3722));class g extends s.default{constructor(e){super(e),this.player=new c.default,this.payments=new d.default,this.tournament=new u.default,this.context=new l.default,this.community=new f.default,window.FBInstant=this}initializeAsync(){return r.default.instance.supportedLanguages=["en"],Promise.resolve()}startGameAsync(){return this.interfaceRef.emit(i.InterfaceEvent.LOAD_PROGRESS,{progress:101}),r.default.commsManager.startGame(),Promise.resolve()}setLoadingProgress(e){const t=e||0;r.default.commsManager.setLoadingProgress(t),e>=100&&this.interfaceRef.emit(i.InterfaceEvent.LOADED)}onPause(e){}getLocale(){return r.default.commsManager.getLanguage()}getPlatform(){return null}getSDKVersion(){return""}logEvent(e,t,n){return null}quit(){}async getInterstitialAdAsync(e){return Promise.resolve({loadAsync:()=>Promise.resolve(),showAsync:()=>r.default.adManager.showInterstitialAd(),getPlacementID:()=>r.default.placementIDs.interstitial})}async getRewardedVideoAsync(e){return Promise.resolve({loadAsync:()=>Promise.resolve(),showAsync:()=>new Promise((async(e,t)=>{await r.default.adManager.showRewardedAd()?e(!0):(0,o.getConfigOption)("rejectFailedRewarded")?t():e(!1)})),getPlacementID:()=>r.default.placementIDs.rewarded})}async getLeaderboardAsync(e){}canCreateShortcutAsync(){return Promise.resolve(!1)}checkCanPlayerMatchAsync(){return Promise.resolve(!1)}createShortcutAsync(){return Promise.resolve(void 0)}getEntryPointAsync(){return Promise.resolve("")}getEntryPointData(){return null}getSupportedAPIs(){let e=["getRewardedVideoAsync","getInterstitialAdAsync","startGameAsync"];return r.default.instance.iapManager.hasIAPSupport()&&(e=e.concat(["payments.purchaseAsync","payments.getCatalogAsync","payments.onReady"])),e}matchPlayerAsync(e,t,n){return Promise.resolve(void 0)}postSessionScore(e){}setSessionData(e){}async shareAsync(e){await r.default.commsManager.shareAsync({title:e.text,text:"Join me on "+r.default.config.gameTitle+"!",image:e.image})}async switchGameAsync(e,t){return await r.default.commsManager.switchGameAsync(e,t)}updateAsync(e){return Promise.resolve(void 0)}}t.default=g},3722:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0});t.default=class{async canFollowOfficialPageAsync(){return Promise.resolve(!1)}}},4599:function(e,t,n){var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=a(n(8744));t.default=class{getID(){return r.default.config.platform}getType(){return"SOLO"}isSizeBetween(e,t){return null}switchAsync(e){return Promise.resolve()}chooseAsync(e){return Promise.resolve()}createAsync(e){return Promise.resolve()}getPlayersAsync(){return Promise.resolve([])}}},2596:function(e,t,n){var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=n(9250),i=a(n(8744));t.default=class{async getCatalogAsync(){return await i.default.iapManager.getCatalogAsync()}async purchaseAsync(e){return await i.default.iapManager.purchaseAsync(e)}async getPurchasesAsync(){return await i.default.iapManager.getPurchasesAsync()}async consumePurchaseAsync(e){return await i.default.iapManager.consumePurchaseAsync(e)}onReady(e){if(i.default.iapManager.ready)return e();i.default.iapManager.on(r.IAPEvents.IAP_READY,(()=>{e&&e()}))}hasIAPSupport(){return i.default.iapManager.hasIAPSupport()}}},4663:function(e,t,n){var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=a(n(8744));t.default=class{getID(){}getSignedPlayerInfoAsync(e){return Promise.resolve({getPlayerID:()=>"id",getSignature:()=>""})}canSubscribeBotAsync(){return Promise.resolve(!1)}subscribeBotAsync(){return Promise.resolve(void 0)}getName(){return""}getPhoto(){return""}async getDataAsync(e){return await r.default.storageManager.getItem()}setDataAsync(e){return new Promise(((t,n)=>{try{const n=Object.entries(e);for(const[e,t]of n)r.default.storageManager.setItem(e,t);t()}catch(e){n(e)}}))}flushDataAsync(){return Promise.resolve(void 0)}getStatsAsync(e){return Promise.resolve(null)}setStatsAsync(e){return Promise.resolve(void 0)}incrementStatsAsync(e){return Promise.resolve(null)}getConnectedPlayersAsync(){return Promise.resolve([])}}},9912:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0});t.default=class{async postScoreAsync(){}async createAsync(){return{getID:()=>0,getContextID:()=>0,getEndTime:()=>0,getTitle:()=>"",getPayload:()=>""}}async getTournamentsAsync(){return[]}async joinAsync(e){}async shareAsync(){}}},694:function(e,t,n){var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=n(4989),i=n(9251),o=a(n(8744)),s=a(n(1547)),l=a(n(6408)),d=a(n(9854));class c extends s.default{constructor(e){super(e),this.storage={getStorageValue:this.getStorageValue.bind(this),getStorageData:this.getStorageData.bind(this),isGameBotRateLimited:this.isGameBotRateLimited.bind(this),save:this.save.bind(this)},this.loading={finished:this.finished.bind(this)},this.tracking={isFirstTimeUser:this.isFirstTimeUser.bind(this),getGameBotSubscribed:this.getGameBotSubscribed.bind(this),isGameBotRateLimited:this.isGameBotRateLimited.bind(this),getRegistrationDate:this.getRegistrationDate.bind(this)},this.utils={createShortcut:this.createShortcut.bind(this),waitForGBCBeingLive:this.waitForGBCBeingLive.bind(this)},this.backend=new l.default,this.xpromo=new d.default,this.sgModules={backend:this.backend,xpromo:this.xpromo},window.GBCXPromo=this}getGameConfig(){return null}init(e,t){return Promise.resolve()}getLocale(){return console.log("'getLocale' has an implemented logic."),o.default.commsManager.getLanguage()}setLocale(e){return""}prepareText(e,t){return""}getLocalizableContent(e,t){return{default:"",localizations:{}}}setProgress(e){const t=e||0;o.default.commsManager.setLoadingProgress(t)}finished(e){return this.interfaceRef.emit(i.InterfaceEvent.LOADED),this.interfaceRef.emit(i.InterfaceEvent.LOAD_PROGRESS,{progress:101}),Promise.resolve()}async showRewardedAd(e){console.log("'showRewardedAd' has an implemented logic.");return await o.default.adManager.showRewardedAd()}async showInterstitialAd(e){console.log("'showInterstitialAd' has an implemented logic.");return await o.default.adManager.showInterstitialAd()}areRewardedAdsSupported(){return o.default.config.adsConfig.rewarded}areInterstitialAdsSupported(){return!0}gameStart(){this.interfaceRef.emit(r.GameEvent.GAME_START)}gameOver(e,t){this.interfaceRef.emit(r.GameEvent.GAME_OVER,{level:e,score:t}),this.trackScore(e,t)}subscribeToBot(){return Promise.resolve()}isFirstTimeUser(){return!1}getUserLifetime(){return-1}getSessionOfDay(){return-1}getGameBotSubscribed(){return!1}isGameBotRateLimited(){return!1}getRegistrationDate(){return-1}isChallengeAvailable(){return!1}initChallenge(e){}startChallengeAsync(e){return Promise.resolve()}updateScore(e){}getStorageValue(e,t){let n;try{if(n=o.default.storageManager.getItem(e),null!=n)return n}catch(e){console.log(`Could not restore data - ${e}`)}return t}save(e,t){return new Promise(((t,n)=>{try{const n=Object.entries(e);for(const[e,t]of n)o.default.storageManager.setItem(e,t);t()}catch(e){n(e)}}))}load(e){return o.default.storageManager.getItem(e)}getStorageData(){return Object()}getLocalStorageKey(){return""}waitForGBCBeingLive(e){return Promise.resolve()}createShortcut(){return Promise.resolve()}}t.default=c},6408:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0});t.default=class{isConnected(){return Promise.resolve(!1)}getUserProfile(){return Promise.resolve(void 0)}getServerTimestamp(){return Promise.resolve(-1)}setUserProfile({handle:e,locale:t}){return Promise.resolve()}syncFriendListByPlatformPlayerId({friendList:e}){return Promise.resolve()}getFriendsScores({leaderboardName:e,instanceId:t}){return Promise.resolve(null)}postScore({leaderboardName:e,instanceId:t,score:n}){return Promise.resolve()}executeRuntimeScript({route:e,args:t}){return Promise.resolve(null)}}},9854:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0});t.default=class{getXPromo({userData:e,serverTime:t}){return Promise.resolve([])}switchGame(e){return Promise.resolve()}initialize({gameId:e,playerId:t,switchFunc:n,trackingFunc:a,payload:r,userData:i}){return()=>{}}}},8471:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.SGHooksActionType=void 0,function(e){e.RUN="runGame",e.PAUSE="pauseGame",e.UNPAUSE="unpauseGame"}(t.SGHooksActionType||(t.SGHooksActionType={}))},9916:function(__unused_webpack_module,exports,__webpack_require__){var __importDefault=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(exports,"__esModule",{value:!0});const GameEvent_1=__webpack_require__(4989),InterfaceEvent_1=__webpack_require__(9251),WrapperEvent_1=__importDefault(__webpack_require__(6430)),html_1=__webpack_require__(6456),Wrapper_1=__importDefault(__webpack_require__(8744)),InterfaceBase_1=__importDefault(__webpack_require__(1547)),SGHooksActionType_1=__webpack_require__(8471);class SGHooksInterface extends InterfaceBase_1.default{constructor(e){super(e),Wrapper_1.default.instance.supportedLanguages=window.gameLangs,this.loadGameScripts(),window.SG_Hooks=this,window.SG={lang:Wrapper_1.default.commsManager.getLanguage()}}start(){this.interfaceRef.emit(InterfaceEvent_1.InterfaceEvent.LOAD_PROGRESS,{progress:101}),Wrapper_1.default.commsManager.startGame()}triggerMoreGames(){}getLanguage(e){return Wrapper_1.default.commsManager.getLanguage(e)}registerObserver(e){this.observer=e}setPauseHandler(e){Wrapper_1.default.commsManager.setPauseCallback(e),void 0!==this.observer&&this.observer({action:SGHooksActionType_1.SGHooksActionType.PAUSE})}setUnpauseHandler(e){Wrapper_1.default.commsManager.setResumeCallback(e),void 0!==this.observer&&this.observer({action:SGHooksActionType_1.SGHooksActionType.UNPAUSE})}setOrientationHandler(e){window.addEventListener("orientationchange",(()=>{e()}))}setResizeHandler(e){window.addEventListener("resize",(()=>{e()}))}async loaded(){this.interfaceRef.emit(InterfaceEvent_1.InterfaceEvent.LOADED),this.interfaceRef.emit(InterfaceEvent_1.InterfaceEvent.LOAD_PROGRESS,{progress:101}),void 0!==this.observer&&this.observer({action:SGHooksActionType_1.SGHooksActionType.RUN})}async triggerIncentivise(e){const t=await Wrapper_1.default.adManager.showRewardedAd();e&&e(t)}async beforePlayButtonDisplay(e){Wrapper_1.default.config.adsConfig.supportsAdPlayButton=!0;const t=await Wrapper_1.default.adManager.showInterstitialAd();e&&e(t)}async playButtonPressed(e){e&&e()}isEnabledIncentiviseButton(){return!0}levelStarted(e,t){this.interfaceRef.emit(GameEvent_1.GameEvent.LEVEL_START,{level:e}),t&&t()}levelFinished(e,t,n){this.interfaceRef.emit(GameEvent_1.GameEvent.LEVEL_FINISH,{level:e}),this.trackScore(e,t),n&&n()}gameStart(e){this.interfaceRef.emit(GameEvent_1.GameEvent.GAME_START),e&&e()}gameOver(e,t,n){this.interfaceRef.emit(GameEvent_1.GameEvent.GAME_OVER,{level:e,score:t}),this.trackScore(e,t),n&&n()}levelUp(e,t,n){n&&n()}addBooster(){}setStorageItem(e,t){Wrapper_1.default.storageManager.setItem(e,t)}getStorageItem(e){return Wrapper_1.default.storageManager.getItem(e)}setCloseCallback(e){Wrapper_1.default.commsManager.setResumeCallback(e)}async loadGameScripts(){if(window.gameJS){for(const e of window.gameJS)await(0,html_1.createHTMLElement)({src:e,tag:"script"});this.initGame()}else this.initGame()}initGame(){try{Wrapper_1.default.instance.isReady?eval(window.gameOnLoadScript):Wrapper_1.default.instance.once(WrapperEvent_1.default.READY,(()=>{eval(window.gameOnLoadScript)}))}catch(e){}}}exports.default=SGHooksInterface},5797:function(e,t,n){var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=n(4989),i=n(9251),o=a(n(8744)),s=a(n(1547)),l=n(1010);class d extends s.default{constructor(e){super(e),window.sgSdk=this}initialize(e,t,n){this.initData=t,o.default.instance.supportedLanguages=t.supportedLanguages;let a={commands:{supportedLanguages:t.supportedLanguages},config:{env:{locale:o.default.commsManager.getLanguage()},rewarded:{enabled:!0}}};o.default.commsManager.setPauseCallback((()=>{this.initData.freezeGame()})),o.default.commsManager.setResumeCallback((()=>{this.initData.unfreezeGame()})),o.default.instance.supportedLanguages=t.supportedLanguages,n&&n(null,a,window.sgSdk)}getLocale(){return o.default.commsManager.getLanguage()}async trigger(e,t){switch(e){case l.SGSDKTriggers.START:this.interfaceRef.emit(i.InterfaceEvent.LOAD_PROGRESS,{progress:101}),o.default.commsManager.startGame();break;case l.SGSDKTriggers.LOADING_COMPLETED:this.interfaceRef.emit(i.InterfaceEvent.LOAD_PROGRESS,{progress:101}),this.interfaceRef.emit(i.InterfaceEvent.LOADED),this.initData.runGame();break;case l.SGSDKTriggers.LOADING_UPDATE:this.interfaceRef.emit(i.InterfaceEvent.LOAD_PROGRESS,{progress:t.progressPercentage}),t.progressPercentage>=100&&this.interfaceRef.emit(i.InterfaceEvent.LOADED);break;case l.SGSDKTriggers.SAVE:if(o.default.storageManager.setItem(t.key,t.value),t.callback)return void t.callback();break;case l.SGSDKTriggers.RESTORE:const e=o.default.storageManager.getItem(t.key);if(t.callback)return void t.callback(null,e);break;case l.SGSDKTriggers.REWARDED_AD:const n=await o.default.adManager.showRewardedAd();if(t.callback)return void t.callback(n);break;case l.SGSDKTriggers.BEFORE_PLAY_BUTTON_DISPLAY:const a=await o.default.adManager.showInterstitialAd();if(t.callback)return void t.callback(a);break;case l.SGSDKTriggers.LEVEL_START:if(this.interfaceRef.emit(r.GameEvent.LEVEL_START,{level:t.level}),t.callback)return void t.callback();break;case l.SGSDKTriggers.LEVEL_FINISH:if(this.interfaceRef.emit(r.GameEvent.LEVEL_FINISH,{level:t.level}),this.trackScore(t.level,t.score),t.callback)return void t.callback();break;case l.SGSDKTriggers.GAME_START:this.interfaceRef.emit(r.GameEvent.GAME_START);break;case l.SGSDKTriggers.GAME_OVER:if(this.interfaceRef.emit(r.GameEvent.GAME_OVER,t),this.trackScore(null,t.score),t.callback)return void t.callback();break;case l.SGSDKTriggers.PLAY_BUTTON_PRESSED:if(t.callback)return void t.callback(!0);case l.SGSDKTriggers.MORE_GAMES||l.SGSDKTriggers.GAME_TRACKING||l.SGSDKTriggers.PAGE_DISPLAY:}}}t.default=d},1010:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.SGSDKTriggers=void 0,function(e){e.START="start",e.LOADING_COMPLETED="loading.completed",e.LOADING_UPDATE="loading.update",e.SAVE="save",e.RESTORE="restore",e.REWARDED_AD="rewardedAd",e.BEFORE_PLAY_BUTTON_DISPLAY="beforePlayButtonDisplay",e.PLAY_BUTTON_PRESSED="playButtonPressed",e.MORE_GAMES="moreGames",e.GAME_TRACKING="gameTracking",e.PAGE_DISPLAY="pageDisplay",e.LEVEL_START="levelStart",e.LEVEL_FINISH="levelFinish",e.GAME_START="gameStart",e.GAME_OVER="gameOver"}(t.SGSDKTriggers||(t.SGSDKTriggers={}))},1547:function(e,t,n){var a=this&&this.__createBinding||(Object.create?function(e,t,n,a){void 0===a&&(a=n);var r=Object.getOwnPropertyDescriptor(t,n);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,a,r)}:function(e,t,n,a){void 0===a&&(a=n),e[a]=t[n]}),r=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&a(t,e,n);return r(t,e),t},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const s=n(2665),l=i(n(5215)),d=o(n(8744));t.default=class{constructor(e){this.interfaceRef=e}getConfig(){return d.default.instance.config}getPlayerID(){return d.default.instance.getPlayerID()}setPauseHandler(e){d.default.commsManager.setPauseCallback(e)}setUnpauseHandler(e){d.default.commsManager.setResumeCallback(e)}setAdClosedCallback(e){d.default.adManager.on(s.AdManagerEvent.AD_CLOSE,(()=>{e&&e()}))}startLongPlayAdTimer(){d.default.adManager.forceLongPlayStart(!0)}stopLongPlayAdTimer(){d.default.adManager.forceLongPlayStart(!1)}getWrapper(){return d.default.instance}isIAP(){return d.default.instance.iapManager.hasIAPSupport()}deviceDectorFunctions(){return l}showSupportPopup(){d.default.instance.showSupportPopup()}trackScore(e,t){l.nulOrUnd(e)?l.nulOrUnd(t)||d.default.commsManager.setScore(t):d.default.commsManager.setScore(e)}setIAPGiftCallback(e){d.default.instance.iapTracker.giftManager.setIAPGiftCallback(e)}clearUserData(){d.default.instance.storageManager.clearAllData()}async promptInstallAsync(){return await d.default.commsManager.promptInstallAsync()}}},5499:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.LeaderboardTypes=void 0,function(e){e[e.FIREBASE=0]="FIREBASE",e[e.SAMSUNG=1]="SAMSUNG"}(t.LeaderboardTypes||(t.LeaderboardTypes={}))},5207:function(e,t,n){var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=n(2665),i=a(n(8744)),o=a(n(9167)),s=a(n(1932)),l=a(n(9101)),d=n(2436),c=n(660),u=n(6557);class f extends o.default{async initialize(){super.initialize(),this.sdkRef=i.default.sdkHandler,l.default.i.on(u.AzerionMetaEvents.CONTENT_PAUSE_REQUESTED,(()=>{this.emit(r.AdManagerEvent.AD_START)}));const e=[c.AzerionEvent.SDK_REWARDED_WATCH_COMPLETE,c.AzerionEvent.SDK_SKIPPED,c.AzerionEvent.CONTENT_RESUME_REQUESTED,c.AzerionEvent.SDK_GAME_START];for(let t in e)l.default.i.on(e[t],(()=>{this.emit(r.AdManagerEvent.AD_CLOSE)}));return i.default.config.adsConfig.rewarded&&this.preloadNextRewarded(),this.showPrerollAD=e=>{this.showInterstitialAd(),window.removeEventListener("pointerdown",this.showPrerollAD),e.preventDefault()},window.addEventListener("pointerdown",this.showPrerollAD),Promise.resolve()}async showInterstitialAd(){return true;this.emit(r.AdManagerEvent.AD_REQUESTED),this.adTimer.ready&&(super.showInterstitialAd(),this.sdkRef.showAd())}async showRewardedAd(){return true;super.showRewardedAd(),this.emit(r.AdManagerEvent.AD_REQUESTED);let e=!1;const t=new Promise((async(t,n)=>{const a=()=>{e=!0},i=()=>{o(),this.emit(r.AdManagerEvent.AD_CLOSE),this.emit(e?r.AdManagerEvent.AD_COMPLETE:r.AdManagerEvent.AD_ERROR),t(e)},o=()=>{l.default.i.removeListener(c.AzerionEvent.SDK_REWARDED_WATCH_COMPLETE,a),l.default.i.removeListener(c.AzerionEvent.SDK_SKIPPED,i),l.default.i.removeListener(c.AzerionEvent.CONTENT_RESUME_REQUESTED,i),l.default.i.removeListener(c.AzerionEvent.SDK_GAME_START,i)};l.default.i.on(c.AzerionEvent.SDK_REWARDED_WATCH_COMPLETE,a),l.default.i.on(c.AzerionEvent.SDK_SKIPPED,i),l.default.i.on(c.AzerionEvent.CONTENT_RESUME_REQUESTED,i),l.default.i.on(c.AzerionEvent.SDK_GAME_START,i),this.sdkRef.showAd(d.AzerionAdType.REWARDED)}));return this.preloadNextRewarded(),t}setupTimer(){this.adTimer=new s.default,super.setupTimer()}async preloadNextRewarded(){return true;let{err:e}=await this.sdkRef.preloadAd(d.AzerionAdType.REWARDED);e?console.log("ADManager : Rewarded Ad could not be preloaded."):console.log("ADManager : Rewarded Ad loaded succesfully.")}}t.default=f},1932:function(e,t,n){var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=a(n(5522)),i=a(n(4267));class o extends r.default{constructor(){super(),this.initialize(i.default.get())}}t.default=o},6631:function(e,t,n){var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=n(6043),i=a(n(6430)),o=n(6456),s=a(n(8744)),l=a(n(9977)),d=a(n(9101)),c=n(660);class u extends l.default{constructor(){super(...arguments),this.hasPaused=!1}async initialize(){window.GD_OPTIONS={gameId:s.default.config.gameID,prefix:"sg_",onEvent:function(e){console.log("event :: "+e.name),d.default.i.emit(e.name,e)},advertisementSettings:{debug:!1,autoplay:!1,locale:"en"}};const e=new Promise((async(e,t)=>{d.default.i.once(c.AzerionEvent.SDK_READY,(()=>{if(window.gdsdk)s.default.sdkHandler=window.gdsdk,this.sdkRef=s.default.sdkHandler,e(!0);else{const t=setInterval((()=>{window.gdsdk&&(clearInterval(t),s.default.sdkHandler=window.gdsdk,this.sdkRef=s.default.sdkHandler,e(!0))}),10)}}))}));return function(e,t,n){let a,r=e.getElementsByTagName(t)[0];e.getElementById(n)||(a=e.createElement(t),a.id=n,a.src="patch/js/gd-sdk.js?html5.api.gamedistribution.com/main.min.js",r.parentNode.insertBefore(a,r))}(document,"script","gamedistribution-jssdk"),d.default.i.on(c.AzerionEvent.SDK_GAME_PAUSE,(()=>{this.hasPaused=!0,s.default.instance.emit(i.default.GAME_PAUSE)})),d.default.i.on(c.AzerionEvent.SDK_GAME_START,(()=>{this.hasPaused&&s.default.instance.emit(i.default.GAME_RESUME),this.hasPaused=!1})),e}async startGame(){return Promise.resolve({err:null})}getLanguage(e=[]){return(0,o.getParameterByName)("lang")||r.Default.LANG}setLoadingProgress(e){}setPauseCallback(e){d.default.i.on(c.AzerionEvent.SDK_GAME_PAUSE,(()=>{e&&e()}))}setResumeCallback(e){d.default.i.on(c.AzerionEvent.SDK_GAME_START,(()=>{e&&e()}))}setCloseCallback(e){}checkPlatformSupport(e){return!0}setScore(e){}}t.default=u},9101:function(e,t,n){var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=a(n(1075));class i extends r.default{static get i(){return i._i?i._i:i._i=new i}}t.default=i},1662:function(e,t,n){var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=a(n(4171));class i extends r.default{hasIAPSupport(){return!1}}t.default=i},8745:function(e,t,n){var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=a(n(247));class i extends r.default{async setCloudData(e,t){}async getCloudData(e){return null}}t.default=i},4267:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0});class n{constructor(){this.adCooldownDuration=1e3,this.adWarningDuration=5e3,this.startOnCooldown=!1,this.maxLongPlayAdTimerRollover=2e3,this.prerollAd=!0}static get(){return new n}}t.default=n},2436:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.AzerionAdType=void 0,function(e){e.REWARDED="rewarded"}(t.AzerionAdType||(t.AzerionAdType={}))},5663:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0});t.default=class{constructor(){this.useAdLoader=!0}}},660:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.AzerionEvent=void 0,function(e){e.SDK_GAME_START="SDK_GAME_START",e.CONTENT_RESUME_REQUESTED="CONTENT_RESUME_REQUESTED",e.SDK_GAME_PAUSE="CONTENT_PAUSE_REQUESTED",e.SDK_GDPR_TRACKING="SDK_GDPR_TRACKING",e.SDK_REWARDED_WATCH_COMPLETE="SDK_REWARDED_WATCH_COMPLETE",e.SDK_SKIPPED="SKIPPED",e.SDK_COMPLETE="COMPLETE",e.SDK_READY="SDK_READY",e.SDK_STARTED="STARTED",e.AD_ERROR="AD_ERROR",e.AD_IS_ALREADY_RUNNING="AD_IS_ALREADY_RUNNING"}(t.AzerionEvent||(t.AzerionEvent={}))},6557:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.AzerionMetaEvents=void 0,function(e){e.AD_ERROR="AD_ERROR",e.AD_BREAK_READY="AD_BREAK_READY",e.AD_METADATA="AD_METADATA",e.ALL_ADS_COMPLETED="ALL_ADS_COMPLETED",e.CLICK="CLICK",e.COMPLETE="COMPLETE",e.CONTENT_PAUSE_REQUESTED="CONTENT_PAUSE_REQUESTED",e.CONTENT_RESUME_REQUESTED="CONTENT_RESUME_REQUESTED",e.DURATION_CHANGE="DURATION_CHANGE",e.FIRST_QUARTILE="FIRST_QUARTILE",e.IMPRESSION="IMPRESSION",e.INTERACTION="INTERACTION",e.LINEAR_CHANGED="LINEAR_CHANGED",e.LOADED="LOADED",e.LOG="LOG",e.MIDPOINT="MIDPOINT",e.PAUSED="PAUSED",e.RESUMED="RESUMED",e.SKIPPABLE_STATE_CHANGED="SKIPPABLE_STATE_CHANGED",e.THIRD_QUARTILE="THIRD_QUARTILE",e.USER_CLOSE="USER_CLOSE",e.VOLUME_CHANGED="VOLUME_CHANGED",e.VOLUME_MUTED="VOLUME_MUTED",e.GDPR_TARGETING="SDK_GDPR_TARGETING",e.SDK_GDPR_THIRD_PARTY="SDK_GDPR_THIRD_PARTY"}(t.AzerionMetaEvents||(t.AzerionMetaEvents={}))},5577:function(e,t,n){var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=a(n(2801)),i=a(n(1790));class o extends i.default{constructor(e=!0){super(e)}build(){super.build(),this.spinner.classList.remove("progress-ring"),this.spinner.setAttribute("class","progressringaz"),this.circle.setAttribute("r",""+(r.default.SPLASH_SPINNER_SIZE_AZ-r.default.SPLASH_SPINNER_STROKE/2)),this.circle.setAttribute("cx",`${r.default.SPLASH_SPINNER_SIZE_AZ}`),this.circle.setAttribute("cy",`${r.default.SPLASH_SPINNER_SIZE_AZ}`),this.circle.setAttribute("stroke-width",`${r.default.SPLASH_SPINNER_STROKE}`),this.background.setAttribute("class","background-circle"),this.background.setAttribute("r",""+(r.default.SPLASH_SPINNER_SIZE_AZ-r.default.SPLASH_SPINNER_STROKE/2)),this.background.setAttribute("cx",`${r.default.SPLASH_SPINNER_SIZE_AZ}`),this.background.setAttribute("cy",`${r.default.SPLASH_SPINNER_SIZE_AZ}`),this.background.setAttribute("stroke-width",`${r.default.SPLASH_SPINNER_STROKE}`)}show(){window.setTimeout((()=>{this.hide()}),3e3),this.root.appendChild(this.bg)}hide(){this.root.removeChild(this.bg)}updateProgress(e){super.updateProgress(e)}setupLoadedEvent(){}timeLeftMS(){return super.timeLeftMS()}destroy(){super.destroy()}onLogoShown(){this.softgamesLogo.setAttribute("class","sg-logo-azerion")}}t.default=o},9167:function(e,t,n){var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=a(n(1075)),i=n(2665),o=n(7540),s=n(4989),l=n(5215),d=a(n(8744));class c extends r.default{constructor(){super(),this.levelsPlayedSinceLastAd=0}async initialize(){this.setupTimer(),d.default.interface.on(s.GameEvent.GAME_OVER,(e=>{this.onGameOver(e)})),d.default.interface.on(s.GameEvent.LEVEL_FINISH,(e=>{this.onGameOver(e)}))}forceLongPlayStart(e){e?this.adTimer.startLongPlayAdTimer():this.adTimer.stopLongPlayAdTimer()}get longPlayTimeLeft(){return this.adTimer.longPlayTimeLeft}showInterstitialAd(){d.default.config.options&&!0===d.default.config.options.disableAllAds||(d.default.adManager.once(i.AdManagerEvent.AD_CLOSE,(()=>{d.default.config.adsConfig.enableLongGameplayAds&&this.adTimer.startLongPlayAdTimer()})),this.adTimer.stopLongPlayAdTimer(),this.emit(i.AdManagerEvent.INTERSTITIAL_AD_REQUESTED))}showRewardedAd(){d.default.config.options&&!0===d.default.config.options.disableAllAds||this.emit(i.AdManagerEvent.REWARDED_AD_REQUESTED)}setupTimer(){this.adTimer.on(o.AdTimerEvent.LONGPLAY_TRIGGER,(()=>{this.showInterstitialAd()}))}onGameOver(e){this.shouldAdPlayOnGameEnd(e.level,e.score)&&this.showInterstitialAd()}shouldAdPlayOnGameEnd(e,t){this.levelsPlayedSinceLastAd++;const n=!d.default.config.adsConfig.supportsAdPlayButton&&(e>=d.default.config.adsConfig.adFreeInitialLevels||(0,l.nulOrUnd)(e))&&this.levelsPlayedSinceLastAd>d.default.config.adsConfig.interstitialCooldownLevel;return n&&(this.levelsPlayedSinceLastAd=0),n}}t.default=c},5522:function(e,t,n){var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=a(n(1075)),i=a(n(8744)),o=n(4989),s=n(2665),l=n(7540),d=a(n(6430));class c extends r.default{constructor(){super(...arguments),this._longPlayTimeLeft=-1,this.isGameOrLevelPlaying=!1}get ready(){return this._ready}get freeRewardedReady(){return this._freeRewardedReady}get longPlayTimeLeft(){return this._longPlayTimeLeft}initialize(e){if(this.adRules=e,this.isLongPlayTimerRunning=!1,i.default.config.adsConfig.enableLongGameplayAds){const e=()=>{this.isGameOrLevelPlaying=!0,this.startLongPlayAdTimer()},t=()=>{this.isGameOrLevelPlaying=!1,this.stopLongPlayAdTimer()};i.default.interface.on(o.GameEvent.GAME_START,(()=>{e()})),i.default.interface.on(o.GameEvent.LEVEL_START,(()=>{e()})),i.default.interface.on(o.GameEvent.GAME_OVER,(()=>{t()})),i.default.interface.on(o.GameEvent.LEVEL_FINISH,(()=>{t()}))}this._ready=!e.startOnCooldown,e.startOnCooldown&&(i.default.instance.gameStarted?this.startAdCoolDownTimer():i.default.instance.once(d.default.GAME_START,(()=>{this.startAdCoolDownTimer()}))),this.handleFreeRewardedTimer(),i.default.adManager.on(s.AdManagerEvent.AD_SKIP,(()=>{this.onAdPlayed()})),i.default.adManager.on(s.AdManagerEvent.AD_ERROR,(()=>{this.onAdFail()}))}startLongPlayAdTimer(){!this.isLongPlayTimerRunning&&this.isGameOrLevelPlaying&&(console.log("LONG PLAY TIMER STARTED"),this.isLongPlayTimerRunning=!0,this.longPlayTimerID&&window.clearInterval(this.longPlayTimerID),this._longPlayTimeLeft=i.default.config.adsConfig.longGameplayCooldownMS,this.longPlayTimerID=window.setInterval((()=>{this._longPlayTimeLeft-=1e3,this.emit(l.AdTimerEvent.LONGPLAY_TICK),this._longPlayTimeLeft<=0?(window.clearInterval(this.longPlayTimerID),this.onLongPlayTimerEnd()):this._longPlayTimeLeft<=this.adRules.adWarningDuration&&this.tickWarning()}),1e3),this.emit(l.AdTimerEvent.LONGPLAY_TICKER_START))}stopLongPlayAdTimer(){console.log("LONG PLAY TIMER STOPPED"),window.clearTimeout(this.longPlayTimerID),this.isLongPlayTimerRunning=!1,this.emit(l.AdTimerEvent.LONGPLAY_TICKER_STOP)}isInterstitialAdPreloaded(){return!1}tickWarning(){this._longPlayTimeLeft==this.adRules.adWarningDuration&&this.emit(l.AdTimerEvent.LONGPLAY_WARN),console.log("warning :: "+this._longPlayTimeLeft),this.emit(l.AdTimerEvent.LONGPLAY_WARN_TICK)}startAdCoolDownTimer(){console.log("AD IS ON COOLDOWN FOR THE NEXT "+this.adRules.adCooldownDuration/1e3+"SECONDS."),this.adCooldownTimerID=window.setTimeout((()=>{this.onAdCoolDownTimerEnd()}),this.adRules.adCooldownDuration),this.emit(l.AdTimerEvent.COOLDOWN_START)}stopAdCoolDownTimer(){console.log("AD COOLDOWN ENDED."),window.clearTimeout(this.adCooldownTimerID)}handleFreeRewardedTimer(){this._freeRewardedReady=!0,i.default.adManager.on(s.AdManagerEvent.FREE_REWARD_AWARDED,(()=>{this._freeRewardedReady=!1,window.setTimeout((()=>{this._freeRewardedReady=!0}),i.default.config.adsConfig.freeRewardedCooldown)}))}onAdPlayed(){this._ready=!1,this._longPlayTimeLeft=i.default.config.adsConfig.longGameplayCooldownMS,this.startAdCoolDownTimer()}onAdFail(){}onAdCoolDownTimerEnd(){this._ready=!0,this.emit(l.AdTimerEvent.COOLDOWN_END)}onLongPlayTimerEnd(){this._longPlayTimeLeft=i.default.config.adsConfig.longGameplayCooldownMS,i.default.adManager.once(s.AdManagerEvent.AD_CLOSE,(()=>{i.default.config.adsConfig.enableLongGameplayAds&&(this.stopLongPlayAdTimer(),this.startLongPlayAdTimer())})),this.emit(l.AdTimerEvent.LONGPLAY_TRIGGER),console.log("LONG PLAY AD TRIGERRED"),this.isLongPlayTimerRunning=!1}}t.default=c},9977:function(e,t,n){var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=a(n(1075));class i extends r.default{constructor(){super(...arguments),this.isPlatformSupported=!0,this._playerID=""}checkPlatformSupport(e){return this.isPlatformSupported}get playerID(){return null}async promptInstallAsync(){}async shareAsync(e){}async switchGameAsync(e,t){}}t.default=i},4171:function(e,t,n){var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=a(n(1075)),i=a(n(8744));class o extends r.default{constructor(){super(...arguments),this.isInit=!1}initialize(){return Promise.resolve(!0)}getCatalogAsync(){return Promise.resolve([])}purchaseAsync(e){return Promise.resolve(null)}getPurchasesAsync(){return Promise.resolve([])}consumePurchaseAsync(e){return Promise.resolve()}onReady(e){e&&e()}hasIAPSupport(){return i.default.config.inAppPurchase}getSupportedAPIs(){return[]}get ready(){return this.isInit}}t.default=o},247:function(e,t,n){var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=n(9233),i=n(973),o=n(5215),s=a(n(8744));t.default=class{constructor(){this.store={_lastUpdate:0},this.maxSaveInterval=2e3,this.canSaveNow=!0}async initialize(e){const t=()=>{const t=e.gameSlug.replace(/-/g,"_").toUpperCase();this.storageKey=(0,r.v5)(`${t}_STORAGE`,"28c78f71-1c31-4331-a9ca-e51e9221b3fa")};s.default.config.options?(0,o.nulOrUnd)(s.default.config.options.forceKey)?t():this.storageKey=s.default.config.options.forceKey:t();const n=this.getLocalData(this.storageKey),a=await this.getCloudData(this.storageKey);this.store=a||n,console.log(`user data loaded from '${a?"cloudStorage":"localStorage"}'.`),console.log(`data: ${JSON.stringify(this.store)}`),setInterval((()=>{this.canSaveNow=!0}),this.maxSaveInterval)}setItem(e,t){const n=Date.now();return this.store=Object.assign(Object.assign({},this.store),{[e]:t,_lastUpdate:n}),this.save()}getItem(e){return null===this.store?null:void 0===e?this.store:null!=this.store[e]?this.store[e]:null}getDataForKeys(e){let t=[];return e.forEach((e=>{t.push({name:e,value:this.getItem(e)})})),t}clearAllData(){this.store={_lastUpdate:0},this.save()}async save(){if(!this.canSaveNow&&(0,i.getConfigOption)("limitSaveCalls"))return clearTimeout(this.retryTimeOut),void(this.retryTimeOut=setTimeout((()=>{this.save()}),500));this.canSaveNow=!1,this.saveLocalData(this.storageKey,this.store);return(()=>this.setCloudData(this.storageKey,this.store))()}saveLocalData(e,t){const n=JSON.stringify(t);localStorage.setItem(e,n)}getLocalData(e){const t=localStorage.getItem(e);return t&&JSON.parse(t)}async setCloudData(e,t){}async getCloudData(e){return null}}},1840:function(e,t,n){var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=n(2665),i=n(7540),o=a(n(8744)),s=n(7345);t.default=class{constructor(){const e=(0,s.getUIRoot)();this.tag=document.createElement("div"),this.tag.setAttribute("class","countdown-tag"),e.appendChild(this.tag),this.textfield=document.createElement("h4"),this.textfield.setAttribute("class","countdown-tag-label"),this.tag.appendChild(this.textfield),o.default.adManager.adTimer.on(i.AdTimerEvent.LONGPLAY_WARN,(()=>{this.show()})),o.default.adManager.adTimer.on(i.AdTimerEvent.LONGPLAY_WARN_TICK,(()=>{this.update(o.default.adManager.adTimer.longPlayTimeLeft/1e3)})),o.default.adManager.on(r.AdManagerEvent.AD_START,(()=>{this.hide()}))}show(){this.tag.classList.toggle("countdown-tag-fadeIn",!0)}update(e){this.textfield.textContent=`Ad in ${e}s`,1===e?window.setTimeout((()=>{this.hide()}),1e3):e<0&&this.hide()}hide(){this.tag.classList.toggle("countdown-tag-fadeIn",!1)}}},9714:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const a=n(5215),r=n(939),i=n(973),o=n(7345);t.default=class{constructor(){const e=(0,i.getConfigOptionAny)("lockOrientation");e!==r.OrientationLock.NONE&&null!==e&&(this.validOrientation=e===r.OrientationLock.LANDSCAPE?90:0,this.build())}build(){const e=(0,o.getUIRoot)();this.bg=document.createElement("div"),this.bg.setAttribute("class","orientation-screen");const t=document.createElement("img");t.src="lib/assets/rotateIcon.png",t.setAttribute("class","orientation-screen-ico"),this.bg.appendChild(t);const n=()=>{(0,a.getOrientation)()!==this.validOrientation?e.contains(this.bg)||e.appendChild(this.bg):e.contains(this.bg)&&e.removeChild(this.bg)};window.addEventListener("orientationchange",(()=>{n(),setTimeout((()=>{n()}),500)})),n(),setTimeout((()=>{n()}),1500)}}},5038:function(e,t,n){var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=a(n(388)),i=n(6618),o=a(n(8744)),s=n(7345),l=n(4186),d=n(5215);class c{constructor(){this.isBuilt=!1}static show(){null==c._instance&&(c._instance=new c),c._instance.show()}build(){this.isBuilt=!0,this.container=document.createElement("div"),this.container.setAttribute("class","supportPopupContainer"),this.fullBG=document.createElement("div"),this.fullBG.setAttribute("class","fullBG");const e=document.createElement("div");e.setAttribute("class","supportPopup"),this.container.appendChild(e),e.style.backgroundImage="url(./"+r.default.supportPopupBG+")";const t=document.createElement("img");t.src=r.default.supportPopupCloseBtn,t.setAttribute("class","supportPopupCloseBtn"),t.onclick=()=>{this.hide()},this.container.appendChild(t);const n=document.createElement("img");n.src=r.default.supportPopupTextFrame,n.setAttribute("class","termsAndConditionsBg");const a=document.createElement("img");a.src=r.default.supportPopupTextFrame,a.setAttribute("class","privacyPolicyBg");const s=document.createElement("div"),d=document.createElement("div");let c=o.default.commsManager.getLanguage();i.wrapperLanguages.includes(c)||(c="en");let u="kr"==c?l.LinksKR.TOS:l.Links.TOS,f="kr"==c?l.LinksKR.PRIVACYPOLICY:l.Links.PRIVACYPOLICY;s.setAttribute("class","termsAndConditionsLinkText"),s.innerHTML=""+i.TEXTS[c].tos+"",d.setAttribute("class","privacyPolicyLinkText"),d.innerHTML=""+i.TEXTS[c].privacy+"",this.playerIdText=document.createElement("div"),this.playerIdText.setAttribute("class","playerIdText");const g=document.createElement("div");g.setAttribute("class","contactUs"),g.innerText="Contact Us:";const h=document.createElement("div");h.setAttribute("class","supportEmail"),h.innerText="support-samsung@softgames.de",this.container.appendChild(n),this.container.appendChild(a),this.container.appendChild(s),this.container.appendChild(d),this.container.appendChild(g),this.container.appendChild(h),this.container.appendChild(this.playerIdText)}show(){this.isBuilt||this.build();const e=(0,s.getUIRoot)();e.appendChild(this.fullBG),e.appendChild(this.container);const t=o.default.instance.getPlayerID();this.playerIdText.innerHTML=(0,d.nulOrUnd)(t)?"":"ID: "+t}hide(){const e=(0,s.getUIRoot)();e.contains(this.container)&&e.removeChild(this.container),e.contains(this.fullBG)&&e.removeChild(this.fullBG)}}t.default=c,c._instance=null},6456:(e,t)=>{function n(e){return new Promise((t=>{document.addEventListener(e,t)}))}Object.defineProperty(t,"__esModule",{value:!0}),t.getParameterByName=t.DOMEventToPromise=t.createHTMLElement=void 0,t.createHTMLElement=async function({tag:e,id:t,src:a,style:r,optParent:i}){document.body||await n("DOMContentLoaded");const o=document.createElement(e);if(t&&(o.id=t),r&&o.setAttribute("style",r),(i||document.body).appendChild(o),a){const e=function(e){return new Promise((t=>{e.onload=()=>{t()}}))}(o);o.setAttribute("src",a),await e}return o},t.DOMEventToPromise=n,t.getParameterByName=function(e,t=window.location.href){e=e.replace(/[\[\]]/g,"\\$&");var n=new RegExp("[?&]"+e+"(=([^]*)|&|#|$)").exec(t);return n?n[2]?decodeURIComponent(n[2].replace(/\+/g," ")):"":null}},7345:(e,t)=>{function n(){const e=document.createElement("div");return e.setAttribute("id",t.UI_ROOT_ELEMENT_ID),e.setAttribute("class","wrapper-ui"),document.body.appendChild(e),e}Object.defineProperty(t,"__esModule",{value:!0}),t.getUIRoot=t.createUIRoot=t.UI_ROOT_ELEMENT_ID=void 0,t.UI_ROOT_ELEMENT_ID="ui-root",t.createUIRoot=n,t.getUIRoot=function(){return document.getElementById(t.UI_ROOT_ELEMENT_ID)||n()}},2915:function(e,t,n){var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=n(2665),i=a(n(8744)),o=n(7345);t.default=class{constructor(){this.root=(0,o.getUIRoot)(),this.bg=document.createElement("div"),this.bg.setAttribute("class","loading-screen");const e=document.createElement("div");e.setAttribute("class","spinner"),this.bg.appendChild(e),i.default.adManager.on(r.AdManagerEvent.AD_REQUESTED,(()=>{this.show()})),i.default.adManager.on(r.AdManagerEvent.AD_START,(()=>{this.hide()})),i.default.adManager.on(r.AdManagerEvent.AD_CLOSE,(()=>{this.hide()}))}show(){this.root.appendChild(this.bg),window.setTimeout((()=>{this.hide()}),5e3)}hide(){this.root.contains(this.bg)&&this.root.removeChild(this.bg)}}},1790:function(e,t,n){var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=n(7345),i=a(n(2801)),o=n(6456),s=a(n(388)),l=n(9251),d=a(n(8744));t.default=class{constructor(e=!0){this.loadingScreenDuration=3e3,this.showRating=e,this.hideCalled=!1,this.loadingScreenRemoved=!1,this.root=(0,r.createUIRoot)(),this.build(),this.setupLoadedEvent()}setupLoadedEvent(){d.default.interface.once(l.InterfaceEvent.LOADED,(()=>{this.isLoaded=!0,this.canHide&&this.hide()}))}build(){this.hideTimer=window.setTimeout((()=>{this.canHide=!0,this.isLoaded&&this.hide()}),this.loadingScreenDuration),this.bg=document.createElement("div"),this.bg.setAttribute("class","splash-screen");const e=document.createElement("img");e.setAttribute("src","./Icon_512x512.png"),e.setAttribute("class","background-image"),this.bg.appendChild(e);const t=document.createElement("img");t.setAttribute("src","./Icon_512x512.png"),t.setAttribute("class","game-logo"),this.bg.appendChild(t),this.spinner=document.createElementNS("http://www.w3.org/2000/svg","svg"),this.spinner.setAttribute("class","progress-ring"),this.background=document.createElementNS("http://www.w3.org/2000/svg","circle"),this.background.setAttribute("class","background-circle"),this.background.setAttribute("r",""+(i.default.SPLASH_SPINNER_SIZE-i.default.SPLASH_SPINNER_STROKE/2)),this.background.setAttribute("cx",`${i.default.SPLASH_SPINNER_SIZE}`),this.background.setAttribute("cy",`${i.default.SPLASH_SPINNER_SIZE}`),this.background.setAttribute("stroke-width",`${i.default.SPLASH_SPINNER_STROKE}`),this.spinner.appendChild(this.background),this.circle=document.createElementNS("http://www.w3.org/2000/svg","circle"),this.circle.classList.add("progress-ring-circle"),this.circle.setAttribute("r",""+(i.default.SPLASH_SPINNER_SIZE-i.default.SPLASH_SPINNER_STROKE/2)),this.circle.setAttribute("cx",`${i.default.SPLASH_SPINNER_SIZE}`),this.circle.setAttribute("cy",`${i.default.SPLASH_SPINNER_SIZE}`),this.circle.setAttribute("stroke-width",`${i.default.SPLASH_SPINNER_STROKE}`),this.circle.style.animation="spin 2s linear infinite",this.spinner.appendChild(this.circle),this.bg.appendChild(this.spinner),(0,o.createHTMLElement)({tag:"img"}).then((async e=>{e.src=s.default.softgamesLogo,e.setAttribute("class","softgames-logo"),this.softgamesLogo=e,this.bg.append(e),this.onLogoShown()})),this.showRating&&(0,o.createHTMLElement)({tag:"img",id:i.default.RATING_CONTAINER_ID}).then((async e=>{e.src=s.default.ratingImage,this.bg.append(e)})),this.createdAt=new Date,this.circumference=2*(i.default.SPLASH_SPINNER_SIZE-i.default.SPLASH_SPINNER_STROKE/2)*Math.PI,this.circle.style.strokeDasharray=`${this.circumference} ${this.circumference}`,this.circle.style.strokeDashoffset=""+(this.circumference-1/3*this.circumference)}show(){this.hideCalled&&window.setTimeout((()=>{this.hide()}),this.loadingScreenDuration),this.root.appendChild(this.bg)}hide(){this.root.contains(this.bg)&&!this.loadingScreenRemoved?window.setTimeout((()=>{this.loadingScreenRemoved=!0,this.root.contains(this.bg)&&this.root.removeChild(this.bg)}),this.loadingScreenDuration):window.setTimeout((()=>{this.hide()}),1e3)}updateProgress(e){this.circle.style.animation="",e=Math.max(e,30),e=Math.min(e,100);const t=this.circumference-e/100*this.circumference;this.circle.style.strokeDashoffset=t}timeLeftMS(){return Math.max(0,i.default.SHOW_RATING_DURATION_MS+i.default.SAMSUNG_SPLASH_DURATION_MS-((new Date).getTime()-this.createdAt.getTime()))}destroy(){this.hide()}onLogoShown(){}}},240:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0});t.default=class{constructor(){this.oldO=window.orientation,this.oldW=window.innerWidth,this.oldH=window.innerHeight,window.addEventListener("resize",(()=>{window.setTimeout((()=>{const e=this.oldW!==window.innerWidth||this.oldH!==window.innerHeight,t=this.oldW/this.oldH==window.innerWidth/window.innerHeight;this.oldW=window.innerWidth,this.oldH=window.innerHeight;const n=this.oldO!==window.orientation;this.oldO=window.orientation,!e||n||t||location.reload()}),500)}))}}},6618:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.wrapperLanguages=t.TEXTS=void 0,t.TEXTS=[],t.TEXTS.fr={play:"JOUER",tos:"Conditions d'utilisation",privacy:"Politique de confidentialité"},t.TEXTS.de={play:"SPIELEN",tos:"Geschäftsbedingungen",privacy:"Datenschutzerklärung"},t.TEXTS.en={play:"PLAY",tos:"Terms & Conditions",privacy:"Privacy Policy"},t.TEXTS.es={play:"JUEGA",tos:"Términos y condiciones",privacy:"Política de privacidad"},t.TEXTS.it={play:"GIOCA",tos:"Termini e Condizioni",privacy:"Informativa sulla privacy"},t.TEXTS.pt={play:"JOGAR",tos:"Termos e condições",privacy:"Política de privacidade"},t.TEXTS.ru={play:"Играть",tos:"Условия",privacy:"Политика конфиденциальн"},t.TEXTS.tr={play:"OYNA",tos:"Şart ve Koşullar",privacy:"Gizlilik Politikası"},t.TEXTS.nl={play:"SPEEL",tos:"Voorwaarden",privacy:"Privacybeleid"},t.TEXTS.pl={play:"GRAJ",tos:"Zasady i warunki",privacy:"Polityka prywatności"},t.TEXTS.hi={play:"खेलें",tos:"Terms & Conditions",privacy:"Privacy Policy"},t.TEXTS.vi={play:"Chơi",tos:"Điều khoản & Điều kiện",privacy:"Chính sách Quyền riêng tư"},t.TEXTS.th={play:"เล่น",tos:"Terms & Conditions",privacy:"Privacy Policy"},t.TEXTS.ja={play:"プレイ",tos:"利用規約",privacy:"プライバシーポリシー"},t.TEXTS.kr={play:"놀다",tos:"이용 약관",privacy:"개인정보 보호 정책"},t.TEXTS.ar={play:"لعب",tos:"Terms & Conditions",privacy:"Privacy Policy"},t.wrapperLanguages=["en","fr","de","es","it","pt","ru","tr","nl","pl","hi","vi","th","ja","kr","ar"]},9233:(e,t,n)=>{var a;n.r(t),n.d(t,{NIL:()=>M,parse:()=>_,stringify:()=>c,v1:()=>p,v3:()=>b,v4:()=>R,v5:()=>O,validate:()=>s,version:()=>N});var r=new Uint8Array(16);function i(){if(!a&&!(a="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return a(r)}const o=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;const s=function(e){return"string"==typeof e&&o.test(e)};for(var l=[],d=0;d<256;++d)l.push((d+256).toString(16).substr(1));const c=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(l[e[t+0]]+l[e[t+1]]+l[e[t+2]]+l[e[t+3]]+"-"+l[e[t+4]]+l[e[t+5]]+"-"+l[e[t+6]]+l[e[t+7]]+"-"+l[e[t+8]]+l[e[t+9]]+"-"+l[e[t+10]]+l[e[t+11]]+l[e[t+12]]+l[e[t+13]]+l[e[t+14]]+l[e[t+15]]).toLowerCase();if(!s(n))throw TypeError("Stringified UUID is invalid");return n};var u,f,g=0,h=0;const p=function(e,t,n){var a=t&&n||0,r=t||new Array(16),o=(e=e||{}).node||u,s=void 0!==e.clockseq?e.clockseq:f;if(null==o||null==s){var l=e.random||(e.rng||i)();null==o&&(o=u=[1|l[0],l[1],l[2],l[3],l[4],l[5]]),null==s&&(s=f=16383&(l[6]<<8|l[7]))}var d=void 0!==e.msecs?e.msecs:Date.now(),p=void 0!==e.nsecs?e.nsecs:h+1,_=d-g+(p-h)/1e4;if(_<0&&void 0===e.clockseq&&(s=s+1&16383),(_<0||d>g)&&void 0===e.nsecs&&(p=0),p>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");g=d,h=p,f=s;var m=(1e4*(268435455&(d+=122192928e5))+p)%4294967296;r[a++]=m>>>24&255,r[a++]=m>>>16&255,r[a++]=m>>>8&255,r[a++]=255&m;var A=d/4294967296*1e4&268435455;r[a++]=A>>>8&255,r[a++]=255&A,r[a++]=A>>>24&15|16,r[a++]=A>>>16&255,r[a++]=s>>>8|128,r[a++]=255&s;for(var E=0;E<6;++E)r[a+E]=o[E];return t||c(r)};const _=function(e){if(!s(e))throw TypeError("Invalid UUID");var t,n=new Uint8Array(16);return n[0]=(t=parseInt(e.slice(0,8),16))>>>24,n[1]=t>>>16&255,n[2]=t>>>8&255,n[3]=255&t,n[4]=(t=parseInt(e.slice(9,13),16))>>>8,n[5]=255&t,n[6]=(t=parseInt(e.slice(14,18),16))>>>8,n[7]=255&t,n[8]=(t=parseInt(e.slice(19,23),16))>>>8,n[9]=255&t,n[10]=(t=parseInt(e.slice(24,36),16))/1099511627776&255,n[11]=t/4294967296&255,n[12]=t>>>24&255,n[13]=t>>>16&255,n[14]=t>>>8&255,n[15]=255&t,n};function m(e,t,n){function a(e,a,r,i){if("string"==typeof e&&(e=function(e){e=unescape(encodeURIComponent(e));for(var t=[],n=0;n >>9<<4)+1}function E(e,t){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}function v(e,t,n,a,r,i){return E((o=E(E(t,e),E(a,i)))<<(s=r)|o>>>32-s,n);var o,s}function S(e,t,n,a,r,i,o){return v(t&n|~t&a,e,t,r,i,o)}function y(e,t,n,a,r,i,o){return v(t&a|n&~a,e,t,r,i,o)}function T(e,t,n,a,r,i,o){return v(t^n^a,e,t,r,i,o)}function P(e,t,n,a,r,i,o){return v(n^(t|~a),e,t,r,i,o)}const w=function(e){if("string"==typeof e){var t=unescape(encodeURIComponent(e));e=new Uint8Array(t.length);for(var n=0;n >5]>>>r%32&255,o=parseInt(a.charAt(i>>>4&15)+a.charAt(15&i),16);t.push(o)}return t}(function(e,t){e[t>>5]|=128< >5]|=(255&e[a/8])<>>32-t}const L=function(e){var t=[1518500249,1859775393,2400959708,3395469782],n=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"==typeof e){var a=unescape(encodeURIComponent(e));e=[];for(var r=0;r >>0;E=A,A=m,m=I(_,30)>>>0,_=p,p=y}n[0]=n[0]+p>>>0,n[1]=n[1]+_>>>0,n[2]=n[2]+m>>>0,n[3]=n[3]+A>>>0,n[4]=n[4]+E>>>0}return[n[0]>>24&255,n[0]>>16&255,n[0]>>8&255,255&n[0],n[1]>>24&255,n[1]>>16&255,n[1]>>8&255,255&n[1],n[2]>>24&255,n[2]>>16&255,n[2]>>8&255,255&n[2],n[3]>>24&255,n[3]>>16&255,n[3]>>8&255,255&n[3],n[4]>>24&255,n[4]>>16&255,n[4]>>8&255,255&n[4]]};const O=m("v5",80,L),M="00000000-0000-0000-0000-000000000000";const N=function(e){if(!s(e))throw TypeError("Invalid UUID");return parseInt(e.substr(14,1),16)}}},__webpack_module_cache__={};function __webpack_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var n=__webpack_module_cache__[e]={exports:{}};return __webpack_modules__[e].call(n.exports,n,n.exports,__webpack_require__),n.exports}__webpack_require__.d=(e,t)=>{for(var n in t)__webpack_require__.o(t,n)&&!__webpack_require__.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},__webpack_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),__webpack_require__.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var __webpack_exports__=__webpack_require__(9284)})(); \ No newline at end of file diff --git a/vex8/patch/js/AzerionWrapper_v2.7.7.js b/vex8/patch/js/AzerionWrapper_v2.7.7.js new file mode 100644 index 000000000..a18c55fea --- /dev/null +++ b/vex8/patch/js/AzerionWrapper_v2.7.7.js @@ -0,0 +1 @@ +(()=>{"use strict";var __webpack_modules__={1075:e=>{var t=Object.prototype.hasOwnProperty,n="~";function a(){}function r(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function i(e,t,a,i,o){if("function"!=typeof a)throw new TypeError("The listener must be a function");var s=new r(a,i||e,o),l=n?n+t:t;return e._events[l]?e._events[l].fn?e._events[l]=[e._events[l],s]:e._events[l].push(s):(e._events[l]=s,e._eventsCount++),e}function o(e,t){0==--e._eventsCount?e._events=new a:delete e._events[t]}function s(){this._events=new a,this._eventsCount=0}Object.create&&(a.prototype=Object.create(null),(new a).__proto__||(n=!1)),s.prototype.eventNames=function(){var e,a,r=[];if(0===this._eventsCount)return r;for(a in e=this._events)t.call(e,a)&&r.push(n?a.slice(1):a);return Object.getOwnPropertySymbols?r.concat(Object.getOwnPropertySymbols(e)):r},s.prototype.listeners=function(e){var t=n?n+e:e,a=this._events[t];if(!a)return[];if(a.fn)return[a.fn];for(var r=0,i=a.length,o=new Array(i);r{Object.defineProperty(t,"__esModule",{value:!0}),t.isIpad=t.isIphone=t.isFireFoxOnAndroid=t.isSamsungInternetOnAndroidTab=t.isSamsungInternetOnAndroidMobile=t.isAndroidTab=t.isAndroidMobile=t.isAndroidDevice=t.isMobileOrTab=t.getOrientation=t.nulOrUnd=void 0,t.nulOrUnd=function(e){return null==e},t.getOrientation=function(){let e=Math.abs(window.orientation);return 180==e&&(e=0),e},t.isMobileOrTab=function(){return[/webOS/i,/iPod/i,/BlackBerry/i,/Windows Phone/i].some((e=>window.navigator.userAgent.match(e)))||this.isAndroidDevice()||this.isIphone()||this.isIpad()},t.isAndroidDevice=function(){return[/Android/i,/SamsungBrowser/i].some((e=>window.navigator.userAgent.match(e)))},t.isAndroidMobile=function(){return[/Mobile/i].every((e=>window.navigator.userAgent.match(e)))&&this.isAndroidDevice()},t.isAndroidTab=function(){return![/Mobile/i].every((e=>navigator.userAgent.match(e)))&&this.isAndroidDevice()},t.isSamsungInternetOnAndroidMobile=function(){return[/Mobile/i,/SamsungBrowser/i].every((e=>window.navigator.userAgent.match(e)))},t.isSamsungInternetOnAndroidTab=function(){return[/SamsungBrowser/i].every((e=>window.navigator.userAgent.match(e)))&&this.isAndroidTab()},t.isFireFoxOnAndroid=function(){return[/Android/i,/Mobile/i,/FireFox/i].every((e=>window.navigator.userAgent.match(e)))},t.isIphone=function(){return[/iPhone/i].some((e=>window.navigator.userAgent.match(e)))&&window.navigator.maxTouchPoints&&window.navigator.maxTouchPoints>1},t.isIpad=function(){return[/iPad/i,/Macintosh/i].some((e=>window.navigator.userAgent.match(e)))&&window.navigator.maxTouchPoints&&window.navigator.maxTouchPoints>1}},8744:function(e,t,n){var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=a(n(1075)),i=n(4853),o=a(n(347)),s=n(9251),l=a(n(6430)),d=a(n(2673)),c=a(n(694)),u=a(n(9916)),f=a(n(5797)),g=a(n(1840)),h=a(n(2915)),p=a(n(240)),_=a(n(5038)),m=n(973),A=n(939),E=a(n(9714));class v extends r.default{constructor(){super(),this.isReady=!1,this.gameStarted=!1,this.interface=new r.default,o.default.setupUIStyle()}static get instance(){return void 0===v._instance?v._instance=new v:v._instance}static isPlatformSupported(){return v.commsManager.isPlatformSupported}getPlayerID(){return v.commsManager.playerID}async init(e){this.config=e,this.logBuild(e),this.applyWrapperOptions();let{err:t}=await this.commsManager.initialize();return this.commsManager.checkPlatformSupport(t),await this.storageManager.initialize(this.config),this.createInterface(e.interface),await this.initAds(),this.config.inAppPurchase&&await this.initIAP(),window.sgWrapper=this,this.createUI(e),this.initOnceAllReady(),Promise.resolve()}initOnceAllReady(){let e=!1;const t=()=>{e||(e=!0,this.checkForRemoteJS(),window.onWrapperReady&&window.onWrapperReady(),this.emit(l.default.READY),this.isReady=!0)};"complete"===document.readyState?setTimeout((()=>{t()}),200):window.addEventListener("load",(()=>{const e=setInterval((()=>{"complete"===document.readyState&&(setTimeout((()=>{t()}),200),clearInterval(e))}),200)}))}checkForRemoteJS(){for(var e=document.getElementsByTagName("script"),t=0;t {})),this.interface.once(s.InterfaceEvent.LOADED,(()=>{this.onStartGame()})),this.interface.on(s.InterfaceEvent.LOAD_PROGRESS,(e=>{this.commsManager.setLoadingProgress(e.progress)}))}async onStartGame(){this.gameStarted=!0,this.emit(l.default.GAME_START);const{err:e}=await this.commsManager.startGame();e&&(console.log(e),this.commsManager.checkPlatformSupport(e))}createInterface(e){switch(e){case i.InterfaceType.SGSDK:new f.default(this.interface);break;case i.InterfaceType.SG_HOOKS:new u.default(this.interface);break;case i.InterfaceType.FBInstant:new d.default(this.interface),new c.default(this.interface);break;default:console.warn("Interface not initialized: type not recognized.")}this.hookUpInterface()}applyWrapperOptions(){if(void 0!==this.config.options){const e=window.navigator.userAgent.includes("Android");this.config.options.reloadOnFold&&e&&new p.default}}logBuild(e){console.log("*******************************"),console.log(e.gameTitle+" v"+e.gameBuild),console.log(e),console.log("*******************************")}static get placementIDs(){return v.instance.placementIDs}static get commsManager(){return v.instance.commsManager}static get adManager(){return v.instance.adManager}static get iapManager(){return v.instance.iapManager}static get interface(){return v.instance.interface}static get config(){return v.instance.config}static get storageManager(){return v.instance.storageManager}static get leaderboards(){return v.instance.leaderboards}static get sdkHandler(){return v.instance.sdkHandler}static set sdkHandler(e){v.instance.sdkHandler=e}}t.default=v},939:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.OrientationLock=void 0,function(e){e.PORTRAIT="portrait",e.LANDSCAPE="landscape",e.NONE="none"}(t.OrientationLock||(t.OrientationLock={}))},6043:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Default=void 0;class n{}t.Default=n,n.LANG="en"},4853:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.InterfaceType=void 0,function(e){e.SG_HOOKS="SG_Hooks",e.SGSDK="sgSdk",e.FBInstant="FBInstant"}(t.InterfaceType||(t.InterfaceType={}))},388:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0});class n{}t.default=n,n.platformConfig="platform-config.json",n.ratingImage="lib/assets/grac_kr_rating_all.png",n.softgamesLogo="lib/assets/softgames_logo.png",n.supportPopupBG="lib/assets/support_popup.png",n.supportPopupTextFrame="lib/assets/support_text_frame.png",n.supportPopupCloseBtn="lib/assets/support_close_button.png",n.firebaseConfig="firebaseConfig.json"},5028:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.PlatformType=void 0,function(e){e.SAMSUNG_INSTANT="samsung",e.AZERION="azerion",e.WEB="web",e.MSSTART="msstart",e.NONE="none"}(t.PlatformType||(t.PlatformType={}))},4186:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.LinksKR=t.Links=void 0,function(e){e.TOS="https://www.softgames.com/terms-of-use/",e.PRIVACYPOLICY="https://www.softgames.de/privacy/"}(t.Links||(t.Links={})),function(e){e.TOS="https://www.softgames.com/terms-of-use-kr/",e.PRIVACYPOLICY="https://www.softgames.com/privacy-kr/"}(t.LinksKR||(t.LinksKR={}))},347:function(e,t,n){var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=a(n(2801));class i{static setupUIStyle(){const e=document.createElement("style");e.setAttribute("id",i.UI_STYLES_ELEMENT_ID),e.innerHTML=i.UI_STYLE,document.body.appendChild(e)}}t.default=i,i.UI_STYLES_ELEMENT_ID="ui-styles",i.UI_STYLE=`\n\n @font-face {\n font-family: Lobster;\n src: url(lib/assets/Lobster.ttf);\n }\n\n a:link { text-decoration: none; color: inherit; }\n a:visited { text-decoration: none; color: inherit; }\n a:hover { text-decoration: none; color: inherit;}\n a:active { text-decoration: none; color: inherit;}\n\n .wrapper-ui {\n color: white;\n font-family: sans-serif;\n text-align: center;\n z-index: ${r.default.UI_ELEMENT_Z_INDEX};\n }\n \n #${r.default.RATING_CONTAINER_ID}{\n position: absolute;\n right: 0;\n top: 10px;\n width: 20%;\n max-width: 80px; \n z-index: ${r.default.RATING_CONTAINER_Z_INDEX}\n }\n\n .orientation-screen {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n width: 100vw;\n height: 100vh;\n background-color: black;\n z-index: 999;\n }\n\n .orientation-screen-ico {\n position: absolute;\n top: calc(50vh - 100px);\n right: calc(50vw - 100px);\n }\n \n .loading-screen {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n background-color: black;\n z-index: inherit;\n }\n \n .splash-screen {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n display: flex;\n flex-direction: column;\n background-color: white;\n align-items: center;\n justify-content: space-around;\n z-index: 9999;\n }\n \n .game-logo {\n position: absolute;\n top: calc(25vh - 30px);\n box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);\n max-height: 20%;\n width: auto;\n border-radius: 16%;\n }\n\n .supportPopupContainer {\n position: absolute;\n width:338px;\n height:338px;\n left:0;\n right:0;\n top:0;\n bottom:0;\n margin:auto;\n z-index: 9999;\n }\n\n .supportPopup {\n display:block;\n background-size: contain;\n background-repeat: norepeat;\n width:-webkit-fill-available;\n height:-webkit-fill-available; \n z-index: 9999; \n }\n\n .fullBG {\n background-color:black;\n width:100vw;\n height:100vh;\n margin:0;\n padding:0;\n position:absolute;\n opacity:0.5;\n }\n\n .supportPopupCloseBtn {\n position:absolute;\n top:5px;\n right:3px;\n width:55px;\n height:55px;\n }\n\n .termsAndConditionsBg {\n position:absolute;\n width:290px;\n height:53px;\n top:75px;\n right:15px;\n right:0;\n left:0;\n margin:auto;\n }\n\n .privacyPolicyBg {\n position:absolute;\n width:290px;\n height:53px;\n top:130px;\n right:15px;\n right:0;\n left:0;\n margin:auto;\n }\n\n .termsAndConditionsLinkText {\n position:absolute;\n top:85px;\n right:0;\n left:0;\n margin:auto;\n font-weight:200;\n font-size:24px;\n user-select:none;\n color: #FFFFFF;\n font-family: "Lobster";\n }\n\n .privacyPolicyLinkText {\n position:absolute;\n top:140px;\n font-weight:200;\n font-size:24px;\n right:0;\n left:0;\n margin:auto;\n user-select:none;\n color: #FFFFFF;\n font-family: "Lobster";\n }\n\n .playerIdText {\n position:absolute;\n bottom:30px;\n right:0;\n left:0;\n margin:auto;\n font-weight:bold;\n font-size:23px;\n color: #875A2B;\n }\n\n .contactUs {\n position:absolute;\n bottom: 110px;\n right:0;\n left:0;\n margin:auto;\n font-weight:bold;\n font-size:20px;\n color: #834b37;\n font-family: "Lobster";\n }\n\n .supportEmail {\n position:absolute;\n bottom:80px;\n right:0;\n left:0;\n margin:auto;\n font-weight:bold;\n font-size:20px;\n color: #834b37;\n font-family: "Lobster";\n }\n\n .IAPGiftMessage {\n position:absolute;\n top:90px;\n right:0;\n left:0;\n margin:auto;\n color:#875A2B;\n font-family: "Lobster";\n font-weight:bold;\n font-size:23px;\n }\n\n .IAPGiftMessage {\n position:absolute;\n top:100px;\n right:0;\n left:0;\n margin:auto;\n color:black;\n font-family: "Marker Felt;\n font-weight:bold;\n font-size:23px;\n user-select:none;\n max-width:200px;\n }\n\n .play-button {\n position: absolute;\n font-style: bold;\n font-family: Arial;\n top: calc(60vh);\n max-height: 20%;\n padding: 10px;\n padding-left: 20px;\n padding-right: 20px;\n text-align:center;\n font-size: 28px;\n color: #FFFFFF;\n background-color: #ff8c00;\n box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);\n }\n\n .play-button-bg {\n position:relative;\n display:block;\n top:20px;\n }\n\n .play-text {\n font-size: 24px;\n font-color: white;\n user-select: none;\n }\n\n .game-logo-azerion {\n position: absolute;\n top: calc(25vh - 30px);\n box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);\n max-height: 20%;\n width: auto;\n border-radius: 16%;\n }\n\n .background-image {\n width:100vw;\n height:100vh;\n filter: blur(40px);\n }\n\n .progressringaz {\n position: absolute;\n top: calc(45vh);\n width: ${2*r.default.SPLASH_SPINNER_SIZE_AZ}px;\n height: ${2*r.default.SPLASH_SPINNER_SIZE_AZ}px;\n }\n\n .progressringaz-circle {\n stroke: #f1672b;\n fill: transparent;\n transform: rotate(-90deg);\n transition: stroke-dashoffset 0.35s;\n transform-origin: 50% 50%;\n }\n \n .progress-ring {\n position: absolute;\n top: calc(50vh);\n width: ${2*r.default.SPLASH_SPINNER_SIZE}px;\n height: ${2*r.default.SPLASH_SPINNER_SIZE}px;\n }\n \n /* https://css-tricks.com/building-progress-ring-quickly/ */\n .background-circle {\n stroke: #f3f3f3;\n fill: transparent;\n }\n \n .progress-ring-circle {\n stroke: #f1672b;\n fill: transparent;\n transform: rotate(-90deg);\n transition: stroke-dashoffset 0.35s;\n transform-origin: 50% 50%;\n }\n \n .softgames-logo {\n position:absolute;\n max-height: 5%;\n max-width: 60%;\n bottom: 0;\n }\n\n .sg-logo-azerion {\n position:absolute;\n max-height: 5%;\n max-width: 60%;\n bottom: 30%;\n }\n\n .sg-logo-azerion-fadeOut {\n opacity: 0;\n transition: opacity 600ms;\n }\n\n .sg-logo-azerion-fadeIn {\n opacity: 1;\n transition: opacity 600ms;\n }\n \n @media (orientation: landscape) and (max-device-height: 640px) {\n .progress-ring {\n transform: scale(0.8);\n }\n \n .game-logo {\n max-height: 30%;\n }\n \n .softgames-logo {\n max-height: 10%;\n }\n }\n \n \n /* ref: https://www.w3schools.com/howto/howto_css_loader.asp */\n .spinner {\n position: absolute;\n top: calc(50vh - 30px);\n left: calc(50vw - 30px);\n \n border: 4px solid #f3f3f3;\n border-top: 4px solid black;\n border-radius: 50%;\n width: 60px;\n height: 60px;\n animation: spin 1s linear infinite;\n }\n \n @keyframes spin {\n 0% { transform: rotate(0deg); }\n 100% { transform: rotate(360deg); }\n }\n \n .countdown-tag {\n pointer-events: none;\n position: absolute;\n right: 0;\n bottom: 80px;\n padding: 0 20px;\n width: 90px;\n background-color: black;\n opacity: 0;\n z-index: inherit;\n }\n \n /* ref: https://css-tricks.com/snippets/css/toggle-visibility-when-hiding-elements/ */\n .countdown-tag-fadeIn {\n opacity: 1;\n transition: opacity 300ms;\n }\n \n .countdown-tag-label {\n font-size: 16px;\n padding: 0 10px;\n }\n `},2801:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0});class n{}t.default=n,n.SAMSUNG_SPLASH_DURATION_MS=3e3,n.SHOW_RATING_DURATION_MS=3e3,n.RATING_CONTAINER_Z_INDEX=1e3,n.RATING_CONTAINER_ID="rating_container",n.SPLASH_SPINNER_SIZE=36,n.SPLASH_SPINNER_SIZE_AZ=18,n.SPLASH_SPINNER_STROKE=5,n.UI_ELEMENT_Z_INDEX=9e3,n.ADS_CONTAINER_Z_INDEX=1e4,n.ADS_CONTAINER_ID="ads_container",n.LOGGER_CONTAINER_Z_INDEX=2e3,n.LOGGER_CONTAINER_ID="debug_logger",n.DEBUG_MENU_Z_INDEX=3e4},2665:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.AdManagerEvent=void 0,function(e){e.AD_ERROR="AD_ERROR",e.AD_LOADED="AD_LOADED",e.AD_START="AD_START",e.AD_SKIP="AD_SKIP",e.AD_COMPLETE="AD_COMPLETE",e.AD_CLOSE="AD_CLOSE",e.INTERSTITIAL_AD_REQUESTED="INTERSTITIAL_AD_REQUESTED",e.REWARDED_AD_REQUESTED="REWARDED_AD_REQUESTED",e.AD_REQUESTED="AD_REQUESTED",e.FREE_REWARD_AWARDED="FREE_REWARD_AWARDED"}(t.AdManagerEvent||(t.AdManagerEvent={}))},7540:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.AdTimerEvent=void 0,function(e){e.COOLDOWN_START="COOLDOWN_START",e.COOLDOWN_END="COOLDOWN_END",e.LONGPLAY_TRIGGER="LONGPLAY_TRIGGER",e.LONGPLAY_TICKER_START="LONGPLAY_TICKER_START",e.LONGPLAY_TICKER_STOP="LONGPLAY_TICKER_STOP",e.LONGPLAY_TICK="LONGPLAY_TICK",e.LONGPLAY_WARN_TICK="LONGPLAY_WARN_TICK",e.LONGPLAY_WARN="LONGPLAY_WARN"}(t.AdTimerEvent||(t.AdTimerEvent={}))},4989:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.GameEvent=void 0,function(e){e.LEVEL_START="LEVEL_START",e.LEVEL_FINISH="LEVEL_FINISH",e.GAME_START="GAME_START",e.GAME_OVER="GAME_OVER"}(t.GameEvent||(t.GameEvent={}))},9250:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.IAPEvents=void 0,function(e){e.IAP_READY="onIAPReady"}(t.IAPEvents||(t.IAPEvents={}))},9251:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.InterfaceEvent=void 0,function(e){e.LOADED="GAME_LOADED",e.LOAD_PROGRESS="LOAD_PROGRESS"}(t.InterfaceEvent||(t.InterfaceEvent={}))},6430:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0});class n{}t.default=n,n.SDK_INIT="SDK_INIT",n.SPLASH_HIDDEN="SPLASH_HIDDEN",n.REQUEST_AD="REQUEST_AD",n.GAME_START="GAME_START",n.GAME_PAUSE="GAME_PAUSE",n.GAME_RESUME="GAME_RESUME",n.READY="WRAPPER_READY"},973:function(e,t,n){var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getConfigOptionAny=t.getConfigOption=void 0;const r=a(n(8744));t.getConfigOption=function(e){return r.default.config.options&&r.default.config.options[e]||!1},t.getConfigOptionAny=function(e){return r.default.config.options&&r.default.config.options[e]||null}},308:function(e,t,n){var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=a(n(388)),i=a(n(8744));t.default=class{constructor(){this.loadConfig(r.default.platformConfig)}async loadConfig(e){const t=await fetch(e),n=await t.json();this.createWrapper(n)}async createWrapper(e){}async getLeaderboardHandler(e){let t;return new Promise(((e,n)=>{t=window.setInterval((()=>{(()=>{if(window.sgLeaderboards){window.clearInterval(t);const n=window.sgLeaderboards.getHandler(i.default.config);e(n)}})()}),100)}))}async getIAPDBHandler(){let e;return new Promise(((t,n)=>{e=window.setInterval((()=>{(()=>{if(window.sgIAP){window.clearInterval(e);const n=window.sgIAP.getHandler(i.default.config);t(n)}})()}),100)}))}}},9284:function(e,t,n){var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=n(5028),i=n(5499),o=a(n(5207)),s=a(n(6631)),l=a(n(1662)),d=a(n(8745)),c=a(n(5663)),u=a(n(5577)),f=a(n(8744)),g=a(n(308));class h extends g.default{async createWrapper(e){f.default.instance.config=e,f.default.instance.platformDefaults=new c.default,e.platform=r.PlatformType.AZERION,f.default.instance.storageManager=new d.default,f.default.instance.commsManager=new s.default,f.default.instance.adManager=new o.default,f.default.instance.placementIDs={rewarded:f.default.config.gameID,interstitial:f.default.config.gameID},f.default.instance.iapManager=new l.default,f.default.instance.SGPreloader=new u.default(!1),f.default.instance.init(e),!0===e.leaderboardSupport&&(f.default.instance.leaderboards=await this.getLeaderboardHandler(i.LeaderboardTypes.FIREBASE)),f.default.instance.onStart()}}t.default=h,new h},2673:function(e,t,n){var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=a(n(8744)),i=n(9251),o=n(973),s=a(n(1547)),l=a(n(4599)),d=a(n(2596)),c=a(n(4663)),u=a(n(9912)),f=a(n(3722));class g extends s.default{constructor(e){super(e),this.player=new c.default,this.payments=new d.default,this.tournament=new u.default,this.context=new l.default,this.community=new f.default,window.FBInstant=this}initializeAsync(){return r.default.instance.supportedLanguages=["en"],Promise.resolve()}startGameAsync(){return this.interfaceRef.emit(i.InterfaceEvent.LOAD_PROGRESS,{progress:101}),r.default.commsManager.startGame(),Promise.resolve()}setLoadingProgress(e){const t=e||0;r.default.commsManager.setLoadingProgress(t),e>=100&&this.interfaceRef.emit(i.InterfaceEvent.LOADED)}onPause(e){}getLocale(){return r.default.commsManager.getLanguage()}getPlatform(){return null}getSDKVersion(){return""}logEvent(e,t,n){return null}quit(){}async getInterstitialAdAsync(e){return Promise.resolve({loadAsync:()=>Promise.resolve(),showAsync:()=>r.default.adManager.showInterstitialAd(),getPlacementID:()=>r.default.placementIDs.interstitial})}async getRewardedVideoAsync(e){return Promise.resolve({loadAsync:()=>Promise.resolve(),showAsync:()=>new Promise((async(e,t)=>{await r.default.adManager.showRewardedAd()?e(!0):(0,o.getConfigOption)("rejectFailedRewarded")?t():e(!1)})),getPlacementID:()=>r.default.placementIDs.rewarded})}async getLeaderboardAsync(e){}canCreateShortcutAsync(){return Promise.resolve(!1)}checkCanPlayerMatchAsync(){return Promise.resolve(!1)}createShortcutAsync(){return Promise.resolve(void 0)}getEntryPointAsync(){return Promise.resolve("")}getEntryPointData(){return null}getSupportedAPIs(){let e=["getRewardedVideoAsync","getInterstitialAdAsync","startGameAsync"];return r.default.instance.iapManager.hasIAPSupport()&&(e=e.concat(["payments.purchaseAsync","payments.getCatalogAsync","payments.onReady"])),e}matchPlayerAsync(e,t,n){return Promise.resolve(void 0)}postSessionScore(e){}setSessionData(e){}async shareAsync(e){await r.default.commsManager.shareAsync({title:e.text,text:"Join me on "+r.default.config.gameTitle+"!",image:e.image})}async switchGameAsync(e,t){return await r.default.commsManager.switchGameAsync(e,t)}updateAsync(e){return Promise.resolve(void 0)}}t.default=g},3722:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0});t.default=class{async canFollowOfficialPageAsync(){return Promise.resolve(!1)}}},4599:function(e,t,n){var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=a(n(8744));t.default=class{getID(){return r.default.config.platform}getType(){return"SOLO"}isSizeBetween(e,t){return null}switchAsync(e){return Promise.resolve()}chooseAsync(e){return Promise.resolve()}createAsync(e){return Promise.resolve()}getPlayersAsync(){return Promise.resolve([])}}},2596:function(e,t,n){var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=n(9250),i=a(n(8744));t.default=class{async getCatalogAsync(){return await i.default.iapManager.getCatalogAsync()}async purchaseAsync(e){return await i.default.iapManager.purchaseAsync(e)}async getPurchasesAsync(){return await i.default.iapManager.getPurchasesAsync()}async consumePurchaseAsync(e){return await i.default.iapManager.consumePurchaseAsync(e)}onReady(e){if(i.default.iapManager.ready)return e();i.default.iapManager.on(r.IAPEvents.IAP_READY,(()=>{e&&e()}))}hasIAPSupport(){return i.default.iapManager.hasIAPSupport()}}},4663:function(e,t,n){var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=a(n(8744));t.default=class{getID(){}getSignedPlayerInfoAsync(e){return Promise.resolve({getPlayerID:()=>"id",getSignature:()=>""})}canSubscribeBotAsync(){return Promise.resolve(!1)}subscribeBotAsync(){return Promise.resolve(void 0)}getName(){return""}getPhoto(){return""}async getDataAsync(e){return await r.default.storageManager.getItem()}setDataAsync(e){return new Promise(((t,n)=>{try{const n=Object.entries(e);for(const[e,t]of n)r.default.storageManager.setItem(e,t);t()}catch(e){n(e)}}))}flushDataAsync(){return Promise.resolve(void 0)}getStatsAsync(e){return Promise.resolve(null)}setStatsAsync(e){return Promise.resolve(void 0)}incrementStatsAsync(e){return Promise.resolve(null)}getConnectedPlayersAsync(){return Promise.resolve([])}}},9912:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0});t.default=class{async postScoreAsync(){}async createAsync(){return{getID:()=>0,getContextID:()=>0,getEndTime:()=>0,getTitle:()=>"",getPayload:()=>""}}async getTournamentsAsync(){return[]}async joinAsync(e){}async shareAsync(){}}},694:function(e,t,n){var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=n(4989),i=n(9251),o=a(n(8744)),s=a(n(1547)),l=a(n(6408)),d=a(n(9854));class c extends s.default{constructor(e){super(e),this.storage={getStorageValue:this.getStorageValue.bind(this),getStorageData:this.getStorageData.bind(this),isGameBotRateLimited:this.isGameBotRateLimited.bind(this),save:this.save.bind(this)},this.loading={finished:this.finished.bind(this)},this.tracking={isFirstTimeUser:this.isFirstTimeUser.bind(this),getGameBotSubscribed:this.getGameBotSubscribed.bind(this),isGameBotRateLimited:this.isGameBotRateLimited.bind(this),getRegistrationDate:this.getRegistrationDate.bind(this)},this.utils={createShortcut:this.createShortcut.bind(this),waitForGBCBeingLive:this.waitForGBCBeingLive.bind(this)},this.backend=new l.default,this.xpromo=new d.default,this.sgModules={backend:this.backend,xpromo:this.xpromo},window.GBCXPromo=this}getGameConfig(){return null}init(e,t){return Promise.resolve()}getLocale(){return console.log("'getLocale' has an implemented logic."),o.default.commsManager.getLanguage()}setLocale(e){return""}prepareText(e,t){return""}getLocalizableContent(e,t){return{default:"",localizations:{}}}setProgress(e){const t=e||0;o.default.commsManager.setLoadingProgress(t)}finished(e){return this.interfaceRef.emit(i.InterfaceEvent.LOADED),this.interfaceRef.emit(i.InterfaceEvent.LOAD_PROGRESS,{progress:101}),Promise.resolve()}async showRewardedAd(e){console.log("'showRewardedAd' has an implemented logic.");return await o.default.adManager.showRewardedAd()}async showInterstitialAd(e){console.log("'showInterstitialAd' has an implemented logic.");return await o.default.adManager.showInterstitialAd()}areRewardedAdsSupported(){return o.default.config.adsConfig.rewarded}areInterstitialAdsSupported(){return!0}gameStart(){this.interfaceRef.emit(r.GameEvent.GAME_START)}gameOver(e,t){this.interfaceRef.emit(r.GameEvent.GAME_OVER,{level:e,score:t}),this.trackScore(e,t)}subscribeToBot(){return Promise.resolve()}isFirstTimeUser(){return!1}getUserLifetime(){return-1}getSessionOfDay(){return-1}getGameBotSubscribed(){return!1}isGameBotRateLimited(){return!1}getRegistrationDate(){return-1}isChallengeAvailable(){return!1}initChallenge(e){}startChallengeAsync(e){return Promise.resolve()}updateScore(e){}getStorageValue(e,t){let n;try{if(n=o.default.storageManager.getItem(e),null!=n)return n}catch(e){console.log(`Could not restore data - ${e}`)}return t}save(e,t){return new Promise(((t,n)=>{try{const n=Object.entries(e);for(const[e,t]of n)o.default.storageManager.setItem(e,t);t()}catch(e){n(e)}}))}load(e){return o.default.storageManager.getItem(e)}getStorageData(){return Object()}getLocalStorageKey(){return""}waitForGBCBeingLive(e){return Promise.resolve()}createShortcut(){return Promise.resolve()}}t.default=c},6408:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0});t.default=class{isConnected(){return Promise.resolve(!1)}getUserProfile(){return Promise.resolve(void 0)}getServerTimestamp(){return Promise.resolve(-1)}setUserProfile({handle:e,locale:t}){return Promise.resolve()}syncFriendListByPlatformPlayerId({friendList:e}){return Promise.resolve()}getFriendsScores({leaderboardName:e,instanceId:t}){return Promise.resolve(null)}postScore({leaderboardName:e,instanceId:t,score:n}){return Promise.resolve()}executeRuntimeScript({route:e,args:t}){return Promise.resolve(null)}}},9854:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0});t.default=class{getXPromo({userData:e,serverTime:t}){return Promise.resolve([])}switchGame(e){return Promise.resolve()}initialize({gameId:e,playerId:t,switchFunc:n,trackingFunc:a,payload:r,userData:i}){return()=>{}}}},8471:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.SGHooksActionType=void 0,function(e){e.RUN="runGame",e.PAUSE="pauseGame",e.UNPAUSE="unpauseGame"}(t.SGHooksActionType||(t.SGHooksActionType={}))},9916:function(__unused_webpack_module,exports,__webpack_require__){var __importDefault=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(exports,"__esModule",{value:!0});const GameEvent_1=__webpack_require__(4989),InterfaceEvent_1=__webpack_require__(9251),WrapperEvent_1=__importDefault(__webpack_require__(6430)),html_1=__webpack_require__(6456),Wrapper_1=__importDefault(__webpack_require__(8744)),InterfaceBase_1=__importDefault(__webpack_require__(1547)),SGHooksActionType_1=__webpack_require__(8471);class SGHooksInterface extends InterfaceBase_1.default{constructor(e){super(e),Wrapper_1.default.instance.supportedLanguages=window.gameLangs,this.loadGameScripts(),window.SG_Hooks=this,window.SG={lang:Wrapper_1.default.commsManager.getLanguage()}}start(){this.interfaceRef.emit(InterfaceEvent_1.InterfaceEvent.LOAD_PROGRESS,{progress:101}),Wrapper_1.default.commsManager.startGame()}triggerMoreGames(){}getLanguage(e){return Wrapper_1.default.commsManager.getLanguage(e)}registerObserver(e){this.observer=e}setPauseHandler(e){Wrapper_1.default.commsManager.setPauseCallback(e),void 0!==this.observer&&this.observer({action:SGHooksActionType_1.SGHooksActionType.PAUSE})}setUnpauseHandler(e){Wrapper_1.default.commsManager.setResumeCallback(e),void 0!==this.observer&&this.observer({action:SGHooksActionType_1.SGHooksActionType.UNPAUSE})}setOrientationHandler(e){window.addEventListener("orientationchange",(()=>{e()}))}setResizeHandler(e){window.addEventListener("resize",(()=>{e()}))}async loaded(){this.interfaceRef.emit(InterfaceEvent_1.InterfaceEvent.LOADED),this.interfaceRef.emit(InterfaceEvent_1.InterfaceEvent.LOAD_PROGRESS,{progress:101}),void 0!==this.observer&&this.observer({action:SGHooksActionType_1.SGHooksActionType.RUN})}async triggerIncentivise(e){const t=await Wrapper_1.default.adManager.showRewardedAd();e&&e(t)}async beforePlayButtonDisplay(e){Wrapper_1.default.config.adsConfig.supportsAdPlayButton=!0;const t=await Wrapper_1.default.adManager.showInterstitialAd();e&&e(t)}async playButtonPressed(e){e&&e()}isEnabledIncentiviseButton(){return!0}levelStarted(e,t){this.interfaceRef.emit(GameEvent_1.GameEvent.LEVEL_START,{level:e}),t&&t()}levelFinished(e,t,n){this.interfaceRef.emit(GameEvent_1.GameEvent.LEVEL_FINISH,{level:e}),this.trackScore(e,t),n&&n()}gameStart(e){this.interfaceRef.emit(GameEvent_1.GameEvent.GAME_START),e&&e()}gameOver(e,t,n){this.interfaceRef.emit(GameEvent_1.GameEvent.GAME_OVER,{level:e,score:t}),this.trackScore(e,t),n&&n()}levelUp(e,t,n){n&&n()}addBooster(){}setStorageItem(e,t){Wrapper_1.default.storageManager.setItem(e,t)}getStorageItem(e){return Wrapper_1.default.storageManager.getItem(e)}setCloseCallback(e){Wrapper_1.default.commsManager.setResumeCallback(e)}async loadGameScripts(){if(window.gameJS){for(const e of window.gameJS)await(0,html_1.createHTMLElement)({src:e,tag:"script"});this.initGame()}else this.initGame()}initGame(){try{Wrapper_1.default.instance.isReady?eval(window.gameOnLoadScript):Wrapper_1.default.instance.once(WrapperEvent_1.default.READY,(()=>{eval(window.gameOnLoadScript)}))}catch(e){}}}exports.default=SGHooksInterface},5797:function(e,t,n){var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=n(4989),i=n(9251),o=a(n(8744)),s=a(n(1547)),l=n(1010);class d extends s.default{constructor(e){super(e),window.sgSdk=this}initialize(e,t,n){this.initData=t,o.default.instance.supportedLanguages=t.supportedLanguages;let a={commands:{supportedLanguages:t.supportedLanguages},config:{env:{locale:o.default.commsManager.getLanguage()},rewarded:{enabled:!0}}};o.default.commsManager.setPauseCallback((()=>{this.initData.freezeGame()})),o.default.commsManager.setResumeCallback((()=>{this.initData.unfreezeGame()})),o.default.instance.supportedLanguages=t.supportedLanguages,n&&n(null,a,window.sgSdk)}getLocale(){return o.default.commsManager.getLanguage()}async trigger(e,t){switch(e){case l.SGSDKTriggers.START:this.interfaceRef.emit(i.InterfaceEvent.LOAD_PROGRESS,{progress:101}),o.default.commsManager.startGame();break;case l.SGSDKTriggers.LOADING_COMPLETED:this.interfaceRef.emit(i.InterfaceEvent.LOAD_PROGRESS,{progress:101}),this.interfaceRef.emit(i.InterfaceEvent.LOADED),this.initData.runGame();break;case l.SGSDKTriggers.LOADING_UPDATE:this.interfaceRef.emit(i.InterfaceEvent.LOAD_PROGRESS,{progress:t.progressPercentage}),t.progressPercentage>=100&&this.interfaceRef.emit(i.InterfaceEvent.LOADED);break;case l.SGSDKTriggers.SAVE:if(o.default.storageManager.setItem(t.key,t.value),t.callback)return void t.callback();break;case l.SGSDKTriggers.RESTORE:const e=o.default.storageManager.getItem(t.key);if(t.callback)return void t.callback(null,e);break;case l.SGSDKTriggers.REWARDED_AD:const n=await o.default.adManager.showRewardedAd();if(t.callback)return void t.callback(n);break;case l.SGSDKTriggers.BEFORE_PLAY_BUTTON_DISPLAY:const a=await o.default.adManager.showInterstitialAd();if(t.callback)return void t.callback(a);break;case l.SGSDKTriggers.LEVEL_START:if(this.interfaceRef.emit(r.GameEvent.LEVEL_START,{level:t.level}),t.callback)return void t.callback();break;case l.SGSDKTriggers.LEVEL_FINISH:if(this.interfaceRef.emit(r.GameEvent.LEVEL_FINISH,{level:t.level}),this.trackScore(t.level,t.score),t.callback)return void t.callback();break;case l.SGSDKTriggers.GAME_START:this.interfaceRef.emit(r.GameEvent.GAME_START);break;case l.SGSDKTriggers.GAME_OVER:if(this.interfaceRef.emit(r.GameEvent.GAME_OVER,t),this.trackScore(null,t.score),t.callback)return void t.callback();break;case l.SGSDKTriggers.PLAY_BUTTON_PRESSED:if(t.callback)return void t.callback(!0);case l.SGSDKTriggers.MORE_GAMES||l.SGSDKTriggers.GAME_TRACKING||l.SGSDKTriggers.PAGE_DISPLAY:}}}t.default=d},1010:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.SGSDKTriggers=void 0,function(e){e.START="start",e.LOADING_COMPLETED="loading.completed",e.LOADING_UPDATE="loading.update",e.SAVE="save",e.RESTORE="restore",e.REWARDED_AD="rewardedAd",e.BEFORE_PLAY_BUTTON_DISPLAY="beforePlayButtonDisplay",e.PLAY_BUTTON_PRESSED="playButtonPressed",e.MORE_GAMES="moreGames",e.GAME_TRACKING="gameTracking",e.PAGE_DISPLAY="pageDisplay",e.LEVEL_START="levelStart",e.LEVEL_FINISH="levelFinish",e.GAME_START="gameStart",e.GAME_OVER="gameOver"}(t.SGSDKTriggers||(t.SGSDKTriggers={}))},1547:function(e,t,n){var a=this&&this.__createBinding||(Object.create?function(e,t,n,a){void 0===a&&(a=n);var r=Object.getOwnPropertyDescriptor(t,n);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,a,r)}:function(e,t,n,a){void 0===a&&(a=n),e[a]=t[n]}),r=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&a(t,e,n);return r(t,e),t},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const s=n(2665),l=i(n(5215)),d=o(n(8744));t.default=class{constructor(e){this.interfaceRef=e}getConfig(){return d.default.instance.config}getPlayerID(){return d.default.instance.getPlayerID()}setPauseHandler(e){d.default.commsManager.setPauseCallback(e)}setUnpauseHandler(e){d.default.commsManager.setResumeCallback(e)}setAdClosedCallback(e){d.default.adManager.on(s.AdManagerEvent.AD_CLOSE,(()=>{e&&e()}))}startLongPlayAdTimer(){d.default.adManager.forceLongPlayStart(!0)}stopLongPlayAdTimer(){d.default.adManager.forceLongPlayStart(!1)}getWrapper(){return d.default.instance}isIAP(){return d.default.instance.iapManager.hasIAPSupport()}deviceDectorFunctions(){return l}showSupportPopup(){d.default.instance.showSupportPopup()}trackScore(e,t){l.nulOrUnd(e)?l.nulOrUnd(t)||d.default.commsManager.setScore(t):d.default.commsManager.setScore(e)}setIAPGiftCallback(e){d.default.instance.iapTracker.giftManager.setIAPGiftCallback(e)}clearUserData(){d.default.instance.storageManager.clearAllData()}async promptInstallAsync(){return await d.default.commsManager.promptInstallAsync()}}},5499:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.LeaderboardTypes=void 0,function(e){e[e.FIREBASE=0]="FIREBASE",e[e.SAMSUNG=1]="SAMSUNG"}(t.LeaderboardTypes||(t.LeaderboardTypes={}))},5207:function(e,t,n){var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=n(2665),i=a(n(8744)),o=a(n(9167)),s=a(n(1932)),l=a(n(9101)),d=n(2436),c=n(660),u=n(6557);class f extends o.default{async initialize(){super.initialize(),this.sdkRef=i.default.sdkHandler,l.default.i.on(u.AzerionMetaEvents.CONTENT_PAUSE_REQUESTED,(()=>{this.emit(r.AdManagerEvent.AD_START)}));const e=[c.AzerionEvent.SDK_REWARDED_WATCH_COMPLETE,c.AzerionEvent.SDK_SKIPPED,c.AzerionEvent.CONTENT_RESUME_REQUESTED,c.AzerionEvent.SDK_GAME_START];for(let t in e)l.default.i.on(e[t],(()=>{this.emit(r.AdManagerEvent.AD_CLOSE)}));return i.default.config.adsConfig.rewarded&&this.preloadNextRewarded(),this.showPrerollAD=e=>{this.showInterstitialAd(),window.removeEventListener("pointerdown",this.showPrerollAD),e.preventDefault()},window.addEventListener("pointerdown",this.showPrerollAD),Promise.resolve()}async showInterstitialAd(){this.emit(r.AdManagerEvent.AD_REQUESTED),this.adTimer.ready&&(super.showInterstitialAd(),this.sdkRef.showAd())}async showRewardedAd(){super.showRewardedAd(),this.emit(r.AdManagerEvent.AD_REQUESTED);let e=!1;const t=new Promise((async(t,n)=>{const a=()=>{e=!0},i=()=>{o(),this.emit(r.AdManagerEvent.AD_CLOSE),this.emit(e?r.AdManagerEvent.AD_COMPLETE:r.AdManagerEvent.AD_ERROR),t(e)},o=()=>{l.default.i.removeListener(c.AzerionEvent.SDK_REWARDED_WATCH_COMPLETE,a),l.default.i.removeListener(c.AzerionEvent.SDK_SKIPPED,i),l.default.i.removeListener(c.AzerionEvent.CONTENT_RESUME_REQUESTED,i),l.default.i.removeListener(c.AzerionEvent.SDK_GAME_START,i)};l.default.i.on(c.AzerionEvent.SDK_REWARDED_WATCH_COMPLETE,a),l.default.i.on(c.AzerionEvent.SDK_SKIPPED,i),l.default.i.on(c.AzerionEvent.CONTENT_RESUME_REQUESTED,i),l.default.i.on(c.AzerionEvent.SDK_GAME_START,i),this.sdkRef.showAd(d.AzerionAdType.REWARDED)}));return this.preloadNextRewarded(),t}setupTimer(){this.adTimer=new s.default,super.setupTimer()}async preloadNextRewarded(){let{err:e}=await this.sdkRef.preloadAd(d.AzerionAdType.REWARDED);e?console.log("ADManager : Rewarded Ad could not be preloaded."):console.log("ADManager : Rewarded Ad loaded succesfully.")}}t.default=f},1932:function(e,t,n){var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=a(n(5522)),i=a(n(4267));class o extends r.default{constructor(){super(),this.initialize(i.default.get())}}t.default=o},6631:function(e,t,n){var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=n(6043),i=a(n(6430)),o=n(6456),s=a(n(8744)),l=a(n(9977)),d=a(n(9101)),c=n(660);class u extends l.default{constructor(){super(...arguments),this.hasPaused=!1}async initialize(){window.GD_OPTIONS={gameId:s.default.config.gameID,prefix:"sg_",onEvent:function(e){console.log("event :: "+e.name),d.default.i.emit(e.name,e)},advertisementSettings:{debug:!1,autoplay:!1,locale:"en"}};const e=new Promise((async(e,t)=>{d.default.i.once(c.AzerionEvent.SDK_READY,(()=>{if(window.gdsdk)s.default.sdkHandler=window.gdsdk,this.sdkRef=s.default.sdkHandler,e(!0);else{const t=setInterval((()=>{window.gdsdk&&(clearInterval(t),s.default.sdkHandler=window.gdsdk,this.sdkRef=s.default.sdkHandler,e(!0))}),10)}}))}));return function(e,t,n){let a,r=e.getElementsByTagName(t)[0];e.getElementById(n)||(a=e.createElement(t),a.id=n,a.src="patch/js/gd-sdk.js?html5.api.gamedistribution.com/main.min.js",r.parentNode.insertBefore(a,r))}(document,"script","gamedistribution-jssdk"),d.default.i.on(c.AzerionEvent.SDK_GAME_PAUSE,(()=>{this.hasPaused=!0,s.default.instance.emit(i.default.GAME_PAUSE)})),d.default.i.on(c.AzerionEvent.SDK_GAME_START,(()=>{this.hasPaused&&s.default.instance.emit(i.default.GAME_RESUME),this.hasPaused=!1})),e}async startGame(){return Promise.resolve({err:null})}getLanguage(e=[]){return(0,o.getParameterByName)("lang")||r.Default.LANG}setLoadingProgress(e){}setPauseCallback(e){d.default.i.on(c.AzerionEvent.SDK_GAME_PAUSE,(()=>{e&&e()}))}setResumeCallback(e){d.default.i.on(c.AzerionEvent.SDK_GAME_START,(()=>{e&&e()}))}setCloseCallback(e){}checkPlatformSupport(e){return!0}setScore(e){}}t.default=u},9101:function(e,t,n){var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=a(n(1075));class i extends r.default{static get i(){return i._i?i._i:i._i=new i}}t.default=i},1662:function(e,t,n){var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=a(n(4171));class i extends r.default{hasIAPSupport(){return!1}}t.default=i},8745:function(e,t,n){var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=a(n(247));class i extends r.default{async setCloudData(e,t){}async getCloudData(e){return null}}t.default=i},4267:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0});class n{constructor(){this.adCooldownDuration=1e3,this.adWarningDuration=5e3,this.startOnCooldown=!1,this.maxLongPlayAdTimerRollover=2e3,this.prerollAd=!0}static get(){return new n}}t.default=n},2436:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.AzerionAdType=void 0,function(e){e.REWARDED="rewarded"}(t.AzerionAdType||(t.AzerionAdType={}))},5663:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0});t.default=class{constructor(){this.useAdLoader=!0}}},660:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.AzerionEvent=void 0,function(e){e.SDK_GAME_START="SDK_GAME_START",e.CONTENT_RESUME_REQUESTED="CONTENT_RESUME_REQUESTED",e.SDK_GAME_PAUSE="CONTENT_PAUSE_REQUESTED",e.SDK_GDPR_TRACKING="SDK_GDPR_TRACKING",e.SDK_REWARDED_WATCH_COMPLETE="SDK_REWARDED_WATCH_COMPLETE",e.SDK_SKIPPED="SKIPPED",e.SDK_COMPLETE="COMPLETE",e.SDK_READY="SDK_READY",e.SDK_STARTED="STARTED",e.AD_ERROR="AD_ERROR",e.AD_IS_ALREADY_RUNNING="AD_IS_ALREADY_RUNNING"}(t.AzerionEvent||(t.AzerionEvent={}))},6557:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.AzerionMetaEvents=void 0,function(e){e.AD_ERROR="AD_ERROR",e.AD_BREAK_READY="AD_BREAK_READY",e.AD_METADATA="AD_METADATA",e.ALL_ADS_COMPLETED="ALL_ADS_COMPLETED",e.CLICK="CLICK",e.COMPLETE="COMPLETE",e.CONTENT_PAUSE_REQUESTED="CONTENT_PAUSE_REQUESTED",e.CONTENT_RESUME_REQUESTED="CONTENT_RESUME_REQUESTED",e.DURATION_CHANGE="DURATION_CHANGE",e.FIRST_QUARTILE="FIRST_QUARTILE",e.IMPRESSION="IMPRESSION",e.INTERACTION="INTERACTION",e.LINEAR_CHANGED="LINEAR_CHANGED",e.LOADED="LOADED",e.LOG="LOG",e.MIDPOINT="MIDPOINT",e.PAUSED="PAUSED",e.RESUMED="RESUMED",e.SKIPPABLE_STATE_CHANGED="SKIPPABLE_STATE_CHANGED",e.THIRD_QUARTILE="THIRD_QUARTILE",e.USER_CLOSE="USER_CLOSE",e.VOLUME_CHANGED="VOLUME_CHANGED",e.VOLUME_MUTED="VOLUME_MUTED",e.GDPR_TARGETING="SDK_GDPR_TARGETING",e.SDK_GDPR_THIRD_PARTY="SDK_GDPR_THIRD_PARTY"}(t.AzerionMetaEvents||(t.AzerionMetaEvents={}))},5577:function(e,t,n){var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=a(n(2801)),i=a(n(1790));class o extends i.default{constructor(e=!0){super(e)}build(){super.build(),this.spinner.classList.remove("progress-ring"),this.spinner.setAttribute("class","progressringaz"),this.circle.setAttribute("r",""+(r.default.SPLASH_SPINNER_SIZE_AZ-r.default.SPLASH_SPINNER_STROKE/2)),this.circle.setAttribute("cx",`${r.default.SPLASH_SPINNER_SIZE_AZ}`),this.circle.setAttribute("cy",`${r.default.SPLASH_SPINNER_SIZE_AZ}`),this.circle.setAttribute("stroke-width",`${r.default.SPLASH_SPINNER_STROKE}`),this.background.setAttribute("class","background-circle"),this.background.setAttribute("r",""+(r.default.SPLASH_SPINNER_SIZE_AZ-r.default.SPLASH_SPINNER_STROKE/2)),this.background.setAttribute("cx",`${r.default.SPLASH_SPINNER_SIZE_AZ}`),this.background.setAttribute("cy",`${r.default.SPLASH_SPINNER_SIZE_AZ}`),this.background.setAttribute("stroke-width",`${r.default.SPLASH_SPINNER_STROKE}`)}show(){window.setTimeout((()=>{this.hide()}),3e3),this.root.appendChild(this.bg)}hide(){this.root.removeChild(this.bg)}updateProgress(e){super.updateProgress(e)}setupLoadedEvent(){}timeLeftMS(){return super.timeLeftMS()}destroy(){super.destroy()}onLogoShown(){this.softgamesLogo.setAttribute("class","sg-logo-azerion")}}t.default=o},9167:function(e,t,n){var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=a(n(1075)),i=n(2665),o=n(7540),s=n(4989),l=n(5215),d=a(n(8744));class c extends r.default{constructor(){super(),this.levelsPlayedSinceLastAd=0}async initialize(){this.setupTimer(),d.default.interface.on(s.GameEvent.GAME_OVER,(e=>{this.onGameOver(e)})),d.default.interface.on(s.GameEvent.LEVEL_FINISH,(e=>{this.onGameOver(e)}))}forceLongPlayStart(e){e?this.adTimer.startLongPlayAdTimer():this.adTimer.stopLongPlayAdTimer()}get longPlayTimeLeft(){return this.adTimer.longPlayTimeLeft}showInterstitialAd(){d.default.config.options&&!0===d.default.config.options.disableAllAds||(d.default.adManager.once(i.AdManagerEvent.AD_CLOSE,(()=>{d.default.config.adsConfig.enableLongGameplayAds&&this.adTimer.startLongPlayAdTimer()})),this.adTimer.stopLongPlayAdTimer(),this.emit(i.AdManagerEvent.INTERSTITIAL_AD_REQUESTED))}showRewardedAd(){d.default.config.options&&!0===d.default.config.options.disableAllAds||this.emit(i.AdManagerEvent.REWARDED_AD_REQUESTED)}setupTimer(){this.adTimer.on(o.AdTimerEvent.LONGPLAY_TRIGGER,(()=>{this.showInterstitialAd()}))}onGameOver(e){this.shouldAdPlayOnGameEnd(e.level,e.score)&&this.showInterstitialAd()}shouldAdPlayOnGameEnd(e,t){this.levelsPlayedSinceLastAd++;const n=!d.default.config.adsConfig.supportsAdPlayButton&&(e>=d.default.config.adsConfig.adFreeInitialLevels||(0,l.nulOrUnd)(e))&&this.levelsPlayedSinceLastAd>d.default.config.adsConfig.interstitialCooldownLevel;return n&&(this.levelsPlayedSinceLastAd=0),n}}t.default=c},5522:function(e,t,n){var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=a(n(1075)),i=a(n(8744)),o=n(4989),s=n(2665),l=n(7540),d=a(n(6430));class c extends r.default{constructor(){super(...arguments),this._longPlayTimeLeft=-1,this.isGameOrLevelPlaying=!1}get ready(){return this._ready}get freeRewardedReady(){return this._freeRewardedReady}get longPlayTimeLeft(){return this._longPlayTimeLeft}initialize(e){if(this.adRules=e,this.isLongPlayTimerRunning=!1,i.default.config.adsConfig.enableLongGameplayAds){const e=()=>{this.isGameOrLevelPlaying=!0,this.startLongPlayAdTimer()},t=()=>{this.isGameOrLevelPlaying=!1,this.stopLongPlayAdTimer()};i.default.interface.on(o.GameEvent.GAME_START,(()=>{e()})),i.default.interface.on(o.GameEvent.LEVEL_START,(()=>{e()})),i.default.interface.on(o.GameEvent.GAME_OVER,(()=>{t()})),i.default.interface.on(o.GameEvent.LEVEL_FINISH,(()=>{t()}))}this._ready=!e.startOnCooldown,e.startOnCooldown&&(i.default.instance.gameStarted?this.startAdCoolDownTimer():i.default.instance.once(d.default.GAME_START,(()=>{this.startAdCoolDownTimer()}))),this.handleFreeRewardedTimer(),i.default.adManager.on(s.AdManagerEvent.AD_SKIP,(()=>{this.onAdPlayed()})),i.default.adManager.on(s.AdManagerEvent.AD_ERROR,(()=>{this.onAdFail()}))}startLongPlayAdTimer(){!this.isLongPlayTimerRunning&&this.isGameOrLevelPlaying&&(console.log("LONG PLAY TIMER STARTED"),this.isLongPlayTimerRunning=!0,this.longPlayTimerID&&window.clearInterval(this.longPlayTimerID),this._longPlayTimeLeft=i.default.config.adsConfig.longGameplayCooldownMS,this.longPlayTimerID=window.setInterval((()=>{this._longPlayTimeLeft-=1e3,this.emit(l.AdTimerEvent.LONGPLAY_TICK),this._longPlayTimeLeft<=0?(window.clearInterval(this.longPlayTimerID),this.onLongPlayTimerEnd()):this._longPlayTimeLeft<=this.adRules.adWarningDuration&&this.tickWarning()}),1e3),this.emit(l.AdTimerEvent.LONGPLAY_TICKER_START))}stopLongPlayAdTimer(){console.log("LONG PLAY TIMER STOPPED"),window.clearTimeout(this.longPlayTimerID),this.isLongPlayTimerRunning=!1,this.emit(l.AdTimerEvent.LONGPLAY_TICKER_STOP)}isInterstitialAdPreloaded(){return!1}tickWarning(){this._longPlayTimeLeft==this.adRules.adWarningDuration&&this.emit(l.AdTimerEvent.LONGPLAY_WARN),console.log("warning :: "+this._longPlayTimeLeft),this.emit(l.AdTimerEvent.LONGPLAY_WARN_TICK)}startAdCoolDownTimer(){console.log("AD IS ON COOLDOWN FOR THE NEXT "+this.adRules.adCooldownDuration/1e3+"SECONDS."),this.adCooldownTimerID=window.setTimeout((()=>{this.onAdCoolDownTimerEnd()}),this.adRules.adCooldownDuration),this.emit(l.AdTimerEvent.COOLDOWN_START)}stopAdCoolDownTimer(){console.log("AD COOLDOWN ENDED."),window.clearTimeout(this.adCooldownTimerID)}handleFreeRewardedTimer(){this._freeRewardedReady=!0,i.default.adManager.on(s.AdManagerEvent.FREE_REWARD_AWARDED,(()=>{this._freeRewardedReady=!1,window.setTimeout((()=>{this._freeRewardedReady=!0}),i.default.config.adsConfig.freeRewardedCooldown)}))}onAdPlayed(){this._ready=!1,this._longPlayTimeLeft=i.default.config.adsConfig.longGameplayCooldownMS,this.startAdCoolDownTimer()}onAdFail(){}onAdCoolDownTimerEnd(){this._ready=!0,this.emit(l.AdTimerEvent.COOLDOWN_END)}onLongPlayTimerEnd(){this._longPlayTimeLeft=i.default.config.adsConfig.longGameplayCooldownMS,i.default.adManager.once(s.AdManagerEvent.AD_CLOSE,(()=>{i.default.config.adsConfig.enableLongGameplayAds&&(this.stopLongPlayAdTimer(),this.startLongPlayAdTimer())})),this.emit(l.AdTimerEvent.LONGPLAY_TRIGGER),console.log("LONG PLAY AD TRIGERRED"),this.isLongPlayTimerRunning=!1}}t.default=c},9977:function(e,t,n){var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=a(n(1075));class i extends r.default{constructor(){super(...arguments),this.isPlatformSupported=!0,this._playerID=""}checkPlatformSupport(e){return this.isPlatformSupported}get playerID(){return null}async promptInstallAsync(){}async shareAsync(e){}async switchGameAsync(e,t){}}t.default=i},4171:function(e,t,n){var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=a(n(1075)),i=a(n(8744));class o extends r.default{constructor(){super(...arguments),this.isInit=!1}initialize(){return Promise.resolve(!0)}getCatalogAsync(){return Promise.resolve([])}purchaseAsync(e){return Promise.resolve(null)}getPurchasesAsync(){return Promise.resolve([])}consumePurchaseAsync(e){return Promise.resolve()}onReady(e){e&&e()}hasIAPSupport(){return i.default.config.inAppPurchase}getSupportedAPIs(){return[]}get ready(){return this.isInit}}t.default=o},247:function(e,t,n){var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=n(9233),i=n(973),o=n(5215),s=a(n(8744));t.default=class{constructor(){this.store={_lastUpdate:0},this.maxSaveInterval=2e3,this.canSaveNow=!0}async initialize(e){const t=()=>{const t=e.gameSlug.replace(/-/g,"_").toUpperCase();this.storageKey=(0,r.v5)(`${t}_STORAGE`,"28c78f71-1c31-4331-a9ca-e51e9221b3fa")};s.default.config.options?(0,o.nulOrUnd)(s.default.config.options.forceKey)?t():this.storageKey=s.default.config.options.forceKey:t();const n=this.getLocalData(this.storageKey),a=await this.getCloudData(this.storageKey);this.store=a||n,console.log(`user data loaded from '${a?"cloudStorage":"localStorage"}'.`),console.log(`data: ${JSON.stringify(this.store)}`),setInterval((()=>{this.canSaveNow=!0}),this.maxSaveInterval)}setItem(e,t){const n=Date.now();return this.store=Object.assign(Object.assign({},this.store),{[e]:t,_lastUpdate:n}),this.save()}getItem(e){return null===this.store?null:void 0===e?this.store:null!=this.store[e]?this.store[e]:null}getDataForKeys(e){let t=[];return e.forEach((e=>{t.push({name:e,value:this.getItem(e)})})),t}clearAllData(){this.store={_lastUpdate:0},this.save()}async save(){if(!this.canSaveNow&&(0,i.getConfigOption)("limitSaveCalls"))return clearTimeout(this.retryTimeOut),void(this.retryTimeOut=setTimeout((()=>{this.save()}),500));this.canSaveNow=!1,this.saveLocalData(this.storageKey,this.store);return(()=>this.setCloudData(this.storageKey,this.store))()}saveLocalData(e,t){const n=JSON.stringify(t);localStorage.setItem(e,n)}getLocalData(e){const t=localStorage.getItem(e);return t&&JSON.parse(t)}async setCloudData(e,t){}async getCloudData(e){return null}}},1840:function(e,t,n){var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=n(2665),i=n(7540),o=a(n(8744)),s=n(7345);t.default=class{constructor(){const e=(0,s.getUIRoot)();this.tag=document.createElement("div"),this.tag.setAttribute("class","countdown-tag"),e.appendChild(this.tag),this.textfield=document.createElement("h4"),this.textfield.setAttribute("class","countdown-tag-label"),this.tag.appendChild(this.textfield),o.default.adManager.adTimer.on(i.AdTimerEvent.LONGPLAY_WARN,(()=>{this.show()})),o.default.adManager.adTimer.on(i.AdTimerEvent.LONGPLAY_WARN_TICK,(()=>{this.update(o.default.adManager.adTimer.longPlayTimeLeft/1e3)})),o.default.adManager.on(r.AdManagerEvent.AD_START,(()=>{this.hide()}))}show(){this.tag.classList.toggle("countdown-tag-fadeIn",!0)}update(e){this.textfield.textContent=`Ad in ${e}s`,1===e?window.setTimeout((()=>{this.hide()}),1e3):e<0&&this.hide()}hide(){this.tag.classList.toggle("countdown-tag-fadeIn",!1)}}},9714:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const a=n(5215),r=n(939),i=n(973),o=n(7345);t.default=class{constructor(){const e=(0,i.getConfigOptionAny)("lockOrientation");e!==r.OrientationLock.NONE&&null!==e&&(this.validOrientation=e===r.OrientationLock.LANDSCAPE?90:0,this.build())}build(){const e=(0,o.getUIRoot)();this.bg=document.createElement("div"),this.bg.setAttribute("class","orientation-screen");const t=document.createElement("img");t.src="lib/assets/rotateIcon.png",t.setAttribute("class","orientation-screen-ico"),this.bg.appendChild(t);const n=()=>{(0,a.getOrientation)()!==this.validOrientation?e.contains(this.bg)||e.appendChild(this.bg):e.contains(this.bg)&&e.removeChild(this.bg)};window.addEventListener("orientationchange",(()=>{n(),setTimeout((()=>{n()}),500)})),n(),setTimeout((()=>{n()}),1500)}}},5038:function(e,t,n){var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=a(n(388)),i=n(6618),o=a(n(8744)),s=n(7345),l=n(4186),d=n(5215);class c{constructor(){this.isBuilt=!1}static show(){null==c._instance&&(c._instance=new c),c._instance.show()}build(){this.isBuilt=!0,this.container=document.createElement("div"),this.container.setAttribute("class","supportPopupContainer"),this.fullBG=document.createElement("div"),this.fullBG.setAttribute("class","fullBG");const e=document.createElement("div");e.setAttribute("class","supportPopup"),this.container.appendChild(e),e.style.backgroundImage="url(./"+r.default.supportPopupBG+")";const t=document.createElement("img");t.src=r.default.supportPopupCloseBtn,t.setAttribute("class","supportPopupCloseBtn"),t.onclick=()=>{this.hide()},this.container.appendChild(t);const n=document.createElement("img");n.src=r.default.supportPopupTextFrame,n.setAttribute("class","termsAndConditionsBg");const a=document.createElement("img");a.src=r.default.supportPopupTextFrame,a.setAttribute("class","privacyPolicyBg");const s=document.createElement("div"),d=document.createElement("div");let c=o.default.commsManager.getLanguage();i.wrapperLanguages.includes(c)||(c="en");let u="kr"==c?l.LinksKR.TOS:l.Links.TOS,f="kr"==c?l.LinksKR.PRIVACYPOLICY:l.Links.PRIVACYPOLICY;s.setAttribute("class","termsAndConditionsLinkText"),s.innerHTML=""+i.TEXTS[c].tos+"",d.setAttribute("class","privacyPolicyLinkText"),d.innerHTML=""+i.TEXTS[c].privacy+"",this.playerIdText=document.createElement("div"),this.playerIdText.setAttribute("class","playerIdText");const g=document.createElement("div");g.setAttribute("class","contactUs"),g.innerText="Contact Us:";const h=document.createElement("div");h.setAttribute("class","supportEmail"),h.innerText="support-samsung@softgames.de",this.container.appendChild(n),this.container.appendChild(a),this.container.appendChild(s),this.container.appendChild(d),this.container.appendChild(g),this.container.appendChild(h),this.container.appendChild(this.playerIdText)}show(){this.isBuilt||this.build();const e=(0,s.getUIRoot)();e.appendChild(this.fullBG),e.appendChild(this.container);const t=o.default.instance.getPlayerID();this.playerIdText.innerHTML=(0,d.nulOrUnd)(t)?"":"ID: "+t}hide(){const e=(0,s.getUIRoot)();e.contains(this.container)&&e.removeChild(this.container),e.contains(this.fullBG)&&e.removeChild(this.fullBG)}}t.default=c,c._instance=null},6456:(e,t)=>{function n(e){return new Promise((t=>{document.addEventListener(e,t)}))}Object.defineProperty(t,"__esModule",{value:!0}),t.getParameterByName=t.DOMEventToPromise=t.createHTMLElement=void 0,t.createHTMLElement=async function({tag:e,id:t,src:a,style:r,optParent:i}){document.body||await n("DOMContentLoaded");const o=document.createElement(e);if(t&&(o.id=t),r&&o.setAttribute("style",r),(i||document.body).appendChild(o),a){const e=function(e){return new Promise((t=>{e.onload=()=>{t()}}))}(o);o.setAttribute("src",a),await e}return o},t.DOMEventToPromise=n,t.getParameterByName=function(e,t=window.location.href){e=e.replace(/[\[\]]/g,"\\$&");var n=new RegExp("[?&]"+e+"(=([^]*)|&|#|$)").exec(t);return n?n[2]?decodeURIComponent(n[2].replace(/\+/g," ")):"":null}},7345:(e,t)=>{function n(){const e=document.createElement("div");return e.setAttribute("id",t.UI_ROOT_ELEMENT_ID),e.setAttribute("class","wrapper-ui"),document.body.appendChild(e),e}Object.defineProperty(t,"__esModule",{value:!0}),t.getUIRoot=t.createUIRoot=t.UI_ROOT_ELEMENT_ID=void 0,t.UI_ROOT_ELEMENT_ID="ui-root",t.createUIRoot=n,t.getUIRoot=function(){return document.getElementById(t.UI_ROOT_ELEMENT_ID)||n()}},2915:function(e,t,n){var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=n(2665),i=a(n(8744)),o=n(7345);t.default=class{constructor(){this.root=(0,o.getUIRoot)(),this.bg=document.createElement("div"),this.bg.setAttribute("class","loading-screen");const e=document.createElement("div");e.setAttribute("class","spinner"),this.bg.appendChild(e),i.default.adManager.on(r.AdManagerEvent.AD_REQUESTED,(()=>{this.show()})),i.default.adManager.on(r.AdManagerEvent.AD_START,(()=>{this.hide()})),i.default.adManager.on(r.AdManagerEvent.AD_CLOSE,(()=>{this.hide()}))}show(){this.root.appendChild(this.bg),window.setTimeout((()=>{this.hide()}),5e3)}hide(){this.root.contains(this.bg)&&this.root.removeChild(this.bg)}}},1790:function(e,t,n){var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=n(7345),i=a(n(2801)),o=n(6456),s=a(n(388)),l=n(9251),d=a(n(8744));t.default=class{constructor(e=!0){this.loadingScreenDuration=3e3,this.showRating=e,this.hideCalled=!1,this.loadingScreenRemoved=!1,this.root=(0,r.createUIRoot)(),this.build(),this.setupLoadedEvent()}setupLoadedEvent(){d.default.interface.once(l.InterfaceEvent.LOADED,(()=>{this.isLoaded=!0,this.canHide&&this.hide()}))}build(){this.hideTimer=window.setTimeout((()=>{this.canHide=!0,this.isLoaded&&this.hide()}),this.loadingScreenDuration),this.bg=document.createElement("div"),this.bg.setAttribute("class","splash-screen");const e=document.createElement("img");e.setAttribute("src","./Icon_512x512.png"),e.setAttribute("class","background-image"),this.bg.appendChild(e);const t=document.createElement("img");t.setAttribute("src","./Icon_512x512.png"),t.setAttribute("class","game-logo"),this.bg.appendChild(t),this.spinner=document.createElementNS("http://www.w3.org/2000/svg","svg"),this.spinner.setAttribute("class","progress-ring"),this.background=document.createElementNS("http://www.w3.org/2000/svg","circle"),this.background.setAttribute("class","background-circle"),this.background.setAttribute("r",""+(i.default.SPLASH_SPINNER_SIZE-i.default.SPLASH_SPINNER_STROKE/2)),this.background.setAttribute("cx",`${i.default.SPLASH_SPINNER_SIZE}`),this.background.setAttribute("cy",`${i.default.SPLASH_SPINNER_SIZE}`),this.background.setAttribute("stroke-width",`${i.default.SPLASH_SPINNER_STROKE}`),this.spinner.appendChild(this.background),this.circle=document.createElementNS("http://www.w3.org/2000/svg","circle"),this.circle.classList.add("progress-ring-circle"),this.circle.setAttribute("r",""+(i.default.SPLASH_SPINNER_SIZE-i.default.SPLASH_SPINNER_STROKE/2)),this.circle.setAttribute("cx",`${i.default.SPLASH_SPINNER_SIZE}`),this.circle.setAttribute("cy",`${i.default.SPLASH_SPINNER_SIZE}`),this.circle.setAttribute("stroke-width",`${i.default.SPLASH_SPINNER_STROKE}`),this.circle.style.animation="spin 2s linear infinite",this.spinner.appendChild(this.circle),this.bg.appendChild(this.spinner),(0,o.createHTMLElement)({tag:"img"}).then((async e=>{e.src=s.default.softgamesLogo,e.setAttribute("class","softgames-logo"),this.softgamesLogo=e,this.bg.append(e),this.onLogoShown()})),this.showRating&&(0,o.createHTMLElement)({tag:"img",id:i.default.RATING_CONTAINER_ID}).then((async e=>{e.src=s.default.ratingImage,this.bg.append(e)})),this.createdAt=new Date,this.circumference=2*(i.default.SPLASH_SPINNER_SIZE-i.default.SPLASH_SPINNER_STROKE/2)*Math.PI,this.circle.style.strokeDasharray=`${this.circumference} ${this.circumference}`,this.circle.style.strokeDashoffset=""+(this.circumference-1/3*this.circumference)}show(){this.hideCalled&&window.setTimeout((()=>{this.hide()}),this.loadingScreenDuration),this.root.appendChild(this.bg)}hide(){this.root.contains(this.bg)&&!this.loadingScreenRemoved?window.setTimeout((()=>{this.loadingScreenRemoved=!0,this.root.contains(this.bg)&&this.root.removeChild(this.bg)}),this.loadingScreenDuration):window.setTimeout((()=>{this.hide()}),1e3)}updateProgress(e){this.circle.style.animation="",e=Math.max(e,30),e=Math.min(e,100);const t=this.circumference-e/100*this.circumference;this.circle.style.strokeDashoffset=t}timeLeftMS(){return Math.max(0,i.default.SHOW_RATING_DURATION_MS+i.default.SAMSUNG_SPLASH_DURATION_MS-((new Date).getTime()-this.createdAt.getTime()))}destroy(){this.hide()}onLogoShown(){}}},240:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0});t.default=class{constructor(){this.oldO=window.orientation,this.oldW=window.innerWidth,this.oldH=window.innerHeight,window.addEventListener("resize",(()=>{window.setTimeout((()=>{const e=this.oldW!==window.innerWidth||this.oldH!==window.innerHeight,t=this.oldW/this.oldH==window.innerWidth/window.innerHeight;this.oldW=window.innerWidth,this.oldH=window.innerHeight;const n=this.oldO!==window.orientation;this.oldO=window.orientation,!e||n||t||location.reload()}),500)}))}}},6618:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.wrapperLanguages=t.TEXTS=void 0,t.TEXTS=[],t.TEXTS.fr={play:"JOUER",tos:"Conditions d'utilisation",privacy:"Politique de confidentialité"},t.TEXTS.de={play:"SPIELEN",tos:"Geschäftsbedingungen",privacy:"Datenschutzerklärung"},t.TEXTS.en={play:"PLAY",tos:"Terms & Conditions",privacy:"Privacy Policy"},t.TEXTS.es={play:"JUEGA",tos:"Términos y condiciones",privacy:"Política de privacidad"},t.TEXTS.it={play:"GIOCA",tos:"Termini e Condizioni",privacy:"Informativa sulla privacy"},t.TEXTS.pt={play:"JOGAR",tos:"Termos e condições",privacy:"Política de privacidade"},t.TEXTS.ru={play:"Играть",tos:"Условия",privacy:"Политика конфиденциальн"},t.TEXTS.tr={play:"OYNA",tos:"Şart ve Koşullar",privacy:"Gizlilik Politikası"},t.TEXTS.nl={play:"SPEEL",tos:"Voorwaarden",privacy:"Privacybeleid"},t.TEXTS.pl={play:"GRAJ",tos:"Zasady i warunki",privacy:"Polityka prywatności"},t.TEXTS.hi={play:"खेलें",tos:"Terms & Conditions",privacy:"Privacy Policy"},t.TEXTS.vi={play:"Chơi",tos:"Điều khoản & Điều kiện",privacy:"Chính sách Quyền riêng tư"},t.TEXTS.th={play:"เล่น",tos:"Terms & Conditions",privacy:"Privacy Policy"},t.TEXTS.ja={play:"プレイ",tos:"利用規約",privacy:"プライバシーポリシー"},t.TEXTS.kr={play:"놀다",tos:"이용 약관",privacy:"개인정보 보호 정책"},t.TEXTS.ar={play:"لعب",tos:"Terms & Conditions",privacy:"Privacy Policy"},t.wrapperLanguages=["en","fr","de","es","it","pt","ru","tr","nl","pl","hi","vi","th","ja","kr","ar"]},9233:(e,t,n)=>{var a;n.r(t),n.d(t,{NIL:()=>M,parse:()=>_,stringify:()=>c,v1:()=>p,v3:()=>b,v4:()=>R,v5:()=>O,validate:()=>s,version:()=>N});var r=new Uint8Array(16);function i(){if(!a&&!(a="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return a(r)}const o=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;const s=function(e){return"string"==typeof e&&o.test(e)};for(var l=[],d=0;d<256;++d)l.push((d+256).toString(16).substr(1));const c=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(l[e[t+0]]+l[e[t+1]]+l[e[t+2]]+l[e[t+3]]+"-"+l[e[t+4]]+l[e[t+5]]+"-"+l[e[t+6]]+l[e[t+7]]+"-"+l[e[t+8]]+l[e[t+9]]+"-"+l[e[t+10]]+l[e[t+11]]+l[e[t+12]]+l[e[t+13]]+l[e[t+14]]+l[e[t+15]]).toLowerCase();if(!s(n))throw TypeError("Stringified UUID is invalid");return n};var u,f,g=0,h=0;const p=function(e,t,n){var a=t&&n||0,r=t||new Array(16),o=(e=e||{}).node||u,s=void 0!==e.clockseq?e.clockseq:f;if(null==o||null==s){var l=e.random||(e.rng||i)();null==o&&(o=u=[1|l[0],l[1],l[2],l[3],l[4],l[5]]),null==s&&(s=f=16383&(l[6]<<8|l[7]))}var d=void 0!==e.msecs?e.msecs:Date.now(),p=void 0!==e.nsecs?e.nsecs:h+1,_=d-g+(p-h)/1e4;if(_<0&&void 0===e.clockseq&&(s=s+1&16383),(_<0||d>g)&&void 0===e.nsecs&&(p=0),p>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");g=d,h=p,f=s;var m=(1e4*(268435455&(d+=122192928e5))+p)%4294967296;r[a++]=m>>>24&255,r[a++]=m>>>16&255,r[a++]=m>>>8&255,r[a++]=255&m;var A=d/4294967296*1e4&268435455;r[a++]=A>>>8&255,r[a++]=255&A,r[a++]=A>>>24&15|16,r[a++]=A>>>16&255,r[a++]=s>>>8|128,r[a++]=255&s;for(var E=0;E<6;++E)r[a+E]=o[E];return t||c(r)};const _=function(e){if(!s(e))throw TypeError("Invalid UUID");var t,n=new Uint8Array(16);return n[0]=(t=parseInt(e.slice(0,8),16))>>>24,n[1]=t>>>16&255,n[2]=t>>>8&255,n[3]=255&t,n[4]=(t=parseInt(e.slice(9,13),16))>>>8,n[5]=255&t,n[6]=(t=parseInt(e.slice(14,18),16))>>>8,n[7]=255&t,n[8]=(t=parseInt(e.slice(19,23),16))>>>8,n[9]=255&t,n[10]=(t=parseInt(e.slice(24,36),16))/1099511627776&255,n[11]=t/4294967296&255,n[12]=t>>>24&255,n[13]=t>>>16&255,n[14]=t>>>8&255,n[15]=255&t,n};function m(e,t,n){function a(e,a,r,i){if("string"==typeof e&&(e=function(e){e=unescape(encodeURIComponent(e));for(var t=[],n=0;n >>9<<4)+1}function E(e,t){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}function v(e,t,n,a,r,i){return E((o=E(E(t,e),E(a,i)))<<(s=r)|o>>>32-s,n);var o,s}function S(e,t,n,a,r,i,o){return v(t&n|~t&a,e,t,r,i,o)}function y(e,t,n,a,r,i,o){return v(t&a|n&~a,e,t,r,i,o)}function T(e,t,n,a,r,i,o){return v(t^n^a,e,t,r,i,o)}function P(e,t,n,a,r,i,o){return v(n^(t|~a),e,t,r,i,o)}const w=function(e){if("string"==typeof e){var t=unescape(encodeURIComponent(e));e=new Uint8Array(t.length);for(var n=0;n >5]>>>r%32&255,o=parseInt(a.charAt(i>>>4&15)+a.charAt(15&i),16);t.push(o)}return t}(function(e,t){e[t>>5]|=128< >5]|=(255&e[a/8])<>>32-t}const L=function(e){var t=[1518500249,1859775393,2400959708,3395469782],n=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"==typeof e){var a=unescape(encodeURIComponent(e));e=[];for(var r=0;r >>0;E=A,A=m,m=I(_,30)>>>0,_=p,p=y}n[0]=n[0]+p>>>0,n[1]=n[1]+_>>>0,n[2]=n[2]+m>>>0,n[3]=n[3]+A>>>0,n[4]=n[4]+E>>>0}return[n[0]>>24&255,n[0]>>16&255,n[0]>>8&255,255&n[0],n[1]>>24&255,n[1]>>16&255,n[1]>>8&255,255&n[1],n[2]>>24&255,n[2]>>16&255,n[2]>>8&255,255&n[2],n[3]>>24&255,n[3]>>16&255,n[3]>>8&255,255&n[3],n[4]>>24&255,n[4]>>16&255,n[4]>>8&255,255&n[4]]};const O=m("v5",80,L),M="00000000-0000-0000-0000-000000000000";const N=function(e){if(!s(e))throw TypeError("Invalid UUID");return parseInt(e.substr(14,1),16)}}},__webpack_module_cache__={};function __webpack_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var n=__webpack_module_cache__[e]={exports:{}};return __webpack_modules__[e].call(n.exports,n,n.exports,__webpack_require__),n.exports}__webpack_require__.d=(e,t)=>{for(var n in t)__webpack_require__.o(t,n)&&!__webpack_require__.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},__webpack_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),__webpack_require__.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var __webpack_exports__=__webpack_require__(9284)})(); \ No newline at end of file diff --git a/vex8/patch/js/YYGGames-o.js b/vex8/patch/js/YYGGames-o.js new file mode 100644 index 000000000..9676cab45 --- /dev/null +++ b/vex8/patch/js/YYGGames-o.js @@ -0,0 +1,12428 @@ +function _0xb80e(_0x1c08fd, _0x5c15ac) { + const _0x18a223 = _0x18a2(); + return _0xb80e = function (_0xb80eb1, _0x566a2b) { + _0xb80eb1 = _0xb80eb1 - 0x192; + let _0x12125e = _0x18a223[_0xb80eb1]; + return _0x12125e; + }, _0xb80e(_0x1c08fd, _0x5c15ac); +} + +function _0x18a2() { + const _0x57c1fd = ['timeout', 'var _loope', 'mul', 'PRE', 'readDataSy', 'ms=source%', 'column', 'tener', 'lay: -0.16', 'RESS', 'AFG_INT_SK', 'en_GAMEDIS', '_promise', 'getVastErr', 'loadConfig', 'skip', 'this.iConf', 'documentEl', 'SDK_ERROR', '1,119,101,', 'Kfreegame', 'rray(', 'laya', 'async', 'w.bestgame', 'adding:10p', 'ts = new A', 'formatURL', '2246042049', 'Waterfall ', 'loaded', 'bottom', ' afg inter', '32,105,115', ' left:', 'yygGamesOw', 'om/gtag/js', 'runWith', 'ransform: ', 'textAlign', '= true;\x0a', ':after{\x0a ', 'nge', ' ready', 'fset', 'block', 'ported', 'is showing', '933793nhKmPf', '10px', 'com', 'var _conte', 'action', 'IP_DURATIO', 'e-InGame-A', 'viewing', 'byteLength', 'round: #87', 'kidgameclu', 'readUint16', 'sans-serif', 'ring', 'recommend_', 'tize.com/s', 'xt;\x0a', '}), functi', '5352280899', 'Xishanju', 'status', 't\";\x0a', 'ord-wrap: ', 'error(_err', 'touchstart', 's load7\x0a ', 'afgConfig', 'IAN', 'Buffer', ' seconds', '.then((fun', 'onAdDismis', 'k.vigoo.co', 'border', 'meOffset', 'nstruct.ne', 'it-animati', 'log', 'AdPlatform', 'itemSize', 'CLICK', '3.5em;\x0a ', 'taps', 'K/h5games4', 'translate', 'ors', 'userAgent', 'AD_ERROR', 'API is not', 'item.resul', '--_counter', 'getUint32', 'ready :', 'constructo', 'sort', 'nSite', 'epared', 'en_ADCHANN', 'justifyCon', '_resolve(P', 'register', ': 0px auto', 'mask', 'SyncBailHo', '936.com', 'applicatio', 'emoved', 'env', 'indexOf', 'Z(0);\x0a ', 'ormType', 'AdEvent', 'ial AD,les', 'ease-in-ou', 'nimation-d', 'doPad', 'ointN', 'or.', 'g.duration', 'parent', 'romise.res', 'getDebugOp', '_pool', 'arg1', 'uiView', 'TRANSSION', 'createElem', 'is not sup', 'showAd', '#for(key).', 'var item =', 'ca-pub-160', 'round', 'WEBSITEADD', ':after\x0a ', 'm/vigoo/sd', 'href', 'data-chann', 'document', 'transformP', 'shift', 'cssText', 'ror', ' error:', 'caller', '30,30,30,3', 'showAdFn', 'clientWidt', 'gory', 'tap', 'ancestorOr', 'type', 'nGame-AdUn', 'TION', 'ent_slot', 'ngth; i++)', 'CMD', 'INIT', '100%', 'w.yad.com/', 'SDK_GAME_S', 'defaultAd', 'en_TCL', 'alue is Fa', 'resolve, _', 'BUIDTIME:', 'HookMap', 'match', 'getFloat32', 'var _count', 'item.error', 'GGamesBund', ' }\x0a ', 'ativePath', 'var _tap', 'titial', 'c reward c', 'w.kfreegam', '));\x0a', 'o that you', 'event', 'Rewards se', 'MPLETED', ',…) is dep', 'zzlegame.c', '125px', 'width', 'less-than-', '_context', ' a SyncLoo', ' _results[', ' {', ' 0;\x0a', 'Done = fun', 'getFloat64', 'adBreak', 'startGameA', ' }), _chec', 'transform', 'url=', 'isReady', '30s', ' SyncBailH', 'afterAd', '[lhjztL]*?', 'onUpdate', 'Array', 'API', 'onBeforeRe', 'callbacks', 'ent', ' \x0a ', 'Invalid ta', 'requestAd', 'AD_SDK_FIN', ';\x0a} else {', 'remove', 'n((functio', 'Crazygames', '), (_resul', 'touchend', 'onAfterSho', '5s ease-in', 'update', ' -ms-tran', 'adBreak is', 'resize', ' 101, 65, ', 'color', '16px', 'en_BANNERE', 'readInt32', '_loop = tr', 'right', 'InGame-AdU', ' .', '_context, ', 'text', 'onBannerRe', 'muted', 'https://ww', '936.com/h5', 'onabort', 'ause the g', '\"use stric', 'time', 'getTimeOff', 'are not ho', '2.0.0', 'ca-pub-612', '_ensureWri', 'sion ', 'freegame4f', 'vibrate', 'location', 'stopSound', 'window', 'v1/sdk.js', 'manifest', 'bads.g.dou', 'then', 'var _hasRe', 'afcConfig', 'recated. U', 'isAwake', 'lHook', '= 0; i < _', '} while(_l', '] = { resu', 'split', '();\x0a', ' -webkit-', 'lse, set t', 'LoadingLay', '_children', 'ow: 0 2.5e', ' have at l', 'medistribu', 'startupCom', 'play', 'name', 'ConfigType', 'ion.com/pa', '{\x0a ', 'less-than', 'le.js', '] = { erro', '2023-06-14', 'getScaleY', 'bundle', 'kDone())) ', 'forgame/ga', ' a SyncWat', 'fixed', 'false;\x0a', 'gameBox', 'script', 'complete', 'ins', 'apped', 'beforeAd', 'SyncWaterf', 'contentWin', 'String', 'showReward', '_tap', 'x480&iu=', '.then)\x0a', 'getMessage', ' Interstit', '20px', 'remainingT', 'iConfig', 'foreBreak', 'find', 'readByte e', 'ap functio', ' can claim', 'onclick', 'writeByte', 'NoAd', 'w.yof.com/', 'ngth = ', 'mes.json', 'transform:', 'focus', 'isSuspend', '_readUint1', 'scale', '_callAsync', 'visible', 'bility', '-webkit-an', 'getAdData', 'trace', 'Com', 'getInt8', '_next', 'var _loop;', 'color: #ff', 'tapAsync', 'T_DURATION', 'en_CHANNEL', 'startup', 'setAttribu', 'rsion', 'miu', 'Reward in ', 'unds', 'run', 'start', 'adBreakDon', 'Hook', ' 103, 108,', '_INIT', 'startupByC', 'setTo', 'isCanShowR', ' Reward AD', '_x[', 'ig.showTim', 'audio', 'show int a', '_createCal', '}));\x0a', 'TART', 'isReward', '_volume', 'ilable', 'physicsTim', 'oth;\x0a ', '_call', 'var _inter', 'ansform 0.', ').tapPromi', 'w.cargames', 'pAsync(key', ' afc Inter', 'checkVersi', 't of bound', 'onYYGGames', 'ite-InGame', 'identity', ');\x0a', 'forgames', '_bTransfor', 'SDK_GAME_P', '82-8', '634', '1905;', 'Async', 'lse);\x0a', 'the inters', 'redirect', 'sin', 'beforeShow', 'setFloat32', 'c%s', 'HookMap#ta', 'amesBundle', 'es-Site-In', 'wooagames.', 'SyncHook', 'showRAD', 'en_GAMEMON', '__getBuffe', 'toLocaleLo', '58,47,47,1', 'writeUint3', 'responseTy', 'SCRIPT_YIV', 'Skip Ad', 'Game-AdUni', 'screen', 'nt though ', 'onError', 'NORMAL', 'butionId', ' c', 's.com/', 'navigatePa', 'tors', 'var _loopA', 'length:', 'loop', 'playSound', 's than 30s', 'int', 'context', 'rallel', 'hooks must', 'GAME_PLAY_', 'adViewed', '_getMatrix', 'fore', '_createLis', 'onwer', 'cleaned', 'rgb(255, 2', 'reject) {\x0a', 'p%jr])', 'YYGGamesWe', 'showIAD', 'st on ', ') instead.', '001982-3', 'oaded', 'createBuff', 'writeUTFBy', 'Hook.conte', 'exports', 'writeInt16', 'ction() {\x0a', 'CrazySDK', 'h5gamessdk', 'close', ' CONFIG:', 'eq=1&outpu', 'setUint32', '4555556324', '608430puTIIV', 'readUTFByt', 'nfoSync', 'ing', 'getByte', '671170LccRhy', 'if(_counte', '_getUint16', ' translate', 'original v', '96-23', 'key', '11/Yiv-Sit', '登录成功', 'result', 'orted on a', 'getUint8Ar', 'writeArray', 'timerScale', ' con', 'nit', 'AFC_TIMEOU', ' 0, 0.8)', '0,32,98,12', 'default-ad', 'GAME', '11/CarGame', 'ecated and', '_readMatri', 'es-Mobile-', 'ndent: -99', '.yyggames.', 'open', 'maxDuratio', 'lError', 'll-mode: b', 'ETIZEID', 'POST', 'errorType:', 'ckground: ', 'STED', 'var _fn', 'data-ad-fo', 'apply', 'olve().the', 'ize', 'format', 'D_AUTO', 'sdk', 'YAD.Com', 'r: ', 'preroll', 'No Availab', 'games', ' of bounds', 'map', '_sysEndian', 'deinit', 'if(item ==', 'beforeRewa', 'CLOSE', 'bytesAvail', 's-PC-Site-', 'ONFIG', 'setInt16', ' -we', 'ResourceVe', '_args', 'Box', 'null, ', 'viewed', 'trim', 'value', '.result(', 'else\x0a', 'var _promi', 'getMyID', '开始登录', 'ition_star', 'initialize', 'if(_sync)\x0a', 'en_ADPUBID', 'w _err; })', 'forEach', 'gmanager.c', 'adError', 'AFG_TIMEOU', ');z-index:', 'var _x = t', 'ed. Use Ho', 'dow', 'factory', 'there is n', '.jpg', 'connect', '_YYGGames', 'nabled', 'catch', 'exportScen', 'https://pu', 'load Rewar', 'push', 'rd after ', 'enable', 'https://ht', 'configs', 'on: fixed;', 'gdsdk__adv', 'decode ver', 'pported on', ' = false;\x0a', 'impl=s&des', 'xm.yyggame', 'game', '.com', '_allocated', '11/PuzzleG', 'se(…) inst', 'nslateZ(0)', 'ks for you', 'getType', 'getAdptedF', 'itialAdAsy', 'hideBanner', 'canShowFor', '_readUInt8', 'SUME_REQUE', 'channel', 'pubid:', 'width-resp', 'function _', 'ilable, bu', ' afc rewar', 'return fal', 'adConfig', '82-2', 'adsbygoogl', 'x 10px;min', 'mousedown', 'Video', 'yof.com', ' >= _resul', 'ync) _loop', 'ise', 'plete', 'createObje', 'method', '1,32,121,1', 'GGames-dev', 'ined) {\x0a', 'audioEngin', 'paddingLef', '%c %c %c Y', 'maxSkipTim', 'getInt32', 'designHeig', '21286zTAGRQ', 'rConfig', '459420XSKScB', 'data-adtes', '%s %c %c ', 'ter === 0)', 'pPromise(k', 'ngTime', 'onload', 'zeId', 'm/pic.json', '192.168.0', '192.168.1', '?id=UA-203', 'showBanner', 'display', 'showTip', 'debugOpen', ' your rewa', '40%', 'search', 'AdManager/', 'issed', 'ById', 'gain', 'puzzlegame', 'stop', 'getUTFStri', 'tan', 'src', 'eak;\x0a', ': 10px;\x0a ', 'debugOpen ', 'interstiti', 'ctURL', 'okMap#for(', 'bgm.mp3', '_error(', 'onEvent', '_sync = fa', 'SCRIPT', 'mul16', 'Image', 'ame files ', 'Singleton', ' }\x0a ', '140px', 'checkRewar', 'Content-Ty', 'yad.com', 'nimation: ', 'gead2.goog', 'ENV', 'MOUSE_OUT', 'ation', 'hScrollBar', 'navigate', 'ADComponen', 'yof.com/pa', 'ons', 'image/png', 'getCustomS', 'y8.com', '_recoverHa', 'var _resul', 'ts.length ', 'AdsManager', 'length', 'SCALE_FIXE', ' {\x0a', 'zed', 'cos', '__importDe', '55, 255);l', '-height:20', 'offAllCall', 'd-break: b', 'array', 'promise (r', 'View', 'null path', 'playMusic', 'substring', 'intercepto', 'heticdevel', 'LoadedEven', 'promise', '} catch(_e', 'ook', ':before{\x0a ', ', ignored ', 'toUpperCas', 'getUint8 e', ', _result', 'gamedistri', 'titial err', 'rl=', 'regStatusH', 'sform', 'Blob', ' animat', 'should be ', 'off', '= this.tap', 'traceWarn', ' SyncHook', 'data:image', 'rds after ', 'olor: #fff', 'getInt32 e', 'w.babygame', '4556476462', 'littleEndi', 'subarray', 'create', 'request', '_createFun', 'removeEven', 'inited', '7420070029', 'e%3DAll', ' heigh', 'advertisem', 'ontimeout', '======', 'index', 'px;color: ', '.done();\x0a', 'COMPLETE', 'getRemaini', '4704497076', 'sult', 'eward', 'tion.com/m', 'sBailHook', 'onerror', 'LITTLE_END', 'h5games4u', 'threeD', 'cription_u', 'isArray', 'rr);\x0a', 'd ad', 'lete', 'js/sdkload', 'danfa', 'marginLeft', ' 0, %d)', 'rtner/game', 'yFn', 'et/gampad/', 'adStarted', ' SyncWater', ' || !_prom', 'default', 'onStartup', 'enabled', '709', 'lineHeight', 'innerWidth', 'try {\x0a', 'if (!_prom', 'hidden;wor', 'floor', ' a SyncBai', 'yyggames.c', 'ELID', 'translateX', 'addVersion', 'neupitsolu', 'writeFloat', 'toString', 'fault', 'xiaomi', 'localhost', ',100,46,99', 'finally', 'facebook.', 'if(--_coun', 'OUT', 'onInitiali', 'ript', 'rror - Out', 'GGames2.js', 'message', 'n() { thro', 'afc', 'none', 'options', 'en_TRANSSI', 'er/ima3.js', '9580795478', '= undefine', '-InGame-Ad', 't: 2.0em; ', 'm 0 -1.3em', 'f bounds', 'key).tap(…', 'preview.co', 'rm-urlenco', 'testgame.o', 'AD_CANCELE', 'state', 'yad.png', 'lse;\x0a', 'renderHand', 'Mobile', 'ads?sz=640', 'se HookMap', 'startupByB', ' }', 'Progress', 'onDone', 'TRIBUTIONI', 'asdk.googl', 'ShowExcita', 'ertisement', 'icon', 'b.com', '_getUInt8', 'rval', 'adbreak re', 'reward', 'cript', 'return ', 'owner', 'v1/sdk.dev', 'afc.rConfi', 'tent', 'setLoading', 'SDK', 'n() {\x0a', '753', 'igins', 'getInt16Ar', 'background', 'readFloat6', 'webkitAudi', 'alTimerout', ' -webk', 'getForgame', 'Unknown', 'ndefined) ', 'rgames.com', '80px', '7,63, 103,', 'scaleEx', '&utm_mediu', 'errorCode:', 'pauseSound', 'FTER_INIT', 'bution.c', 'ptor', 'rootPath', 'ontainer', ',80%,100% ', 'ca-pub-622', 'ign=game-', 'started', 'ak-test', 'fbsbx.', 'Adr', 'blob', 'afterShowI', 'onLoaded', 'titialCoun', '19,119,119', ' 40% ', 'ndlers', 'canShowRew', '} while(fa', 'if(', 'mes/cv', 'd AD Succe', '_hasError', 't=1&gdfp_r', 'ult', 'readString', 'data', 'RewardedVi', 'on(_err', 'pause', '0);\x0a ', '#000000', 'loadAsync', 'ts.length)', 'TEST', 'Website', 'nonLinearA', 'showLoadin', 'if(!_hasEr', 'readArrayB', '_hasResult', '-AdUnit', 'unshift', 'contentCom', 'appName', 'm/sdk/res/', 'BestGames.', ';\x0a ', 'nGameAd', '4j.com', 'one;Secure', 'ca-pub-887', '.error(', 'throw ', 'eapis.com/', 'hidden', 'referrer', 'EMPTY', '_muted', 'suspended', 'erIntercep', '?id=', 'tent: \'\';\x0a', 'stage', 'CARGAMES', '_taps[', 'aled', 'readUint32', ' = ', 'header', 'isNaN', '_gInstance', 'hostnames', 'en_DEBUGOP', 'onMessage', 'getSkipTim', 'error - Ou', '0.5s ease-', '7723651850', 'skipLabel', 'idg', 'isLoaded', 'zIndex', 'bleclick.n', 'ction(_res', 'mesAD.json', '.Com', ' in this b', 'paddingRig', '55,255,.5)', 'head', 'eprecated.', 'e;\x0a', '6,112,115,', 'ffff; back', '() {\x0a', '([diouxXfF', 'var _check', 'topgames.c', 'break-word', 'true', 'dVideoAsyn', 'volume', 'center', 'mouseup', '82-1', 'source', 'skipButton', 'onRewardBe', 'yggames.co', 'games.prop', 'bution.com', 'inline', '.tap(', 'callAsync', 'https://pa', 'tion-fill-', ' + \')\');\x0a', 'charCodeAt', 'timer', 'd*))?', ' _done();\x0a', 'destinatio', 'InGameAd', 's/tcl', '_id', 'ChannelTyp', '5554936132', 'resumeId', 'YIV.Com', ' is not su', 'isNewBee', 'afg first ', 'ground: #8', 'every', 'imeLabel', 'ml5.api.ga', 'testGame', '.CMD.GAME_', 't-align:ce', 'checkin', 'ViewMode', '(-9999px)', 'm 0 0;\x0a ', 'OTHER', 'setup', 'MultiHook', 'AdData:onL', ' 0,.7);fon', 'stopAll', ',111,109,4', 'oContext', '_length', ' .', 'change', 'data-ad-ch', 'join', 'ceptors;\x0a', '0;\x0a ', 'hideSplash', 'sition', 'layaCanvas', 'sWaterfall', 'fff;\x0a ', 'concat', 'reportAnal', ' -webkit-a', 'setInt32', 'className', 'imerOnVisi', '40px', '&cust_para', 'pauseMusic', 'w.googleta', 'content', 'reintersti', 'ined && (_', 'getAdPlatf', 'var _done ', 'rewardOpti', 'r support.', 'ead.', '100', 'YGGAMES %c', 'us: 50%;\x0a ', 'buffer', 'res', 'recommends', 'has', 'args', 'YGGAMES:', 'hasListene', 'STARTED', '50%', 'sbygoogle.', 'getInterst', 'CloudView', 'call', '(0)', 'w.puzzlega', '_resolve()', 'di1.png', '104,116,11', ' !== undef', 'div', 'Name', 'partner/ga', 'rotate', 'adFinished', 'showInters', 'setAdWillA', 'games/YYGG', 'banner', 'w.topgames', ' = _fn', ' infinite ', 'fromCharCo', 'SEVRVER_OP', 'scripts', 'arraybuffe', 'URL', 'www.yad.co', 'rewardUnpr', 'AdErrorEve', 'props', 'Missing na', 'request af', 'showAsync', 'SDK_OPTION', 'data-ad-sl', 'rewardTime', 'traceVersi', ' throw ne', 'VideoAdTyp', 'dataSource', 'compile', 'smissed', 'isShowAD', 'TIONS_TIME', 'https://sd', ': #fb8cb3', '1px solid ', 'error', 'r > 0) {\x0a', 'elay: -0.1', '_checkTran', 'ors[', ' .', 'flex', '#ffffff', 'unknown', 'https://im', 'yiv.com', 'dsGame.js', 'kfreegame ', 'charAt', '.js', 'itmes', '_intercept', 'ler', 'x 10px 10p', 'requestAds', 'setInt8', ' @ ', 'FaceBook', 'Abstract: ', 'defineProp', 'tion.com', 'resume', 'MOUSE_DOWN', 'UA-1202418', 'er = ', 'onRewardDi', 'le-Site-In', 'lative;\x0a ', 'More Games', 'kfreegame', 'OMPLETE', 'tialCount', 'ger', 'for(var i ', '_pos_', 'endian', 'updateInte', '_resolve(', '==========', 'iOS', '96-20', 'postMessag', 'tring', 'preloadRew', 'delete', 'com/gameSD', 'number', ',46,121,97', 'Buffer err', 'BabyGames.', 'back', 'abyGames', '([\'\\-+ #0]', '_10:28:20', 'es.com/cra', '&utm_campa', 'e_splash', '11/BestGam', ' afg rewar', 'size', 'fontSize', 'GGames.js', '50px', 'me error', 'min', 'customForm', 'ward', 'currentTim', 'gtag', 'YYGGAMES_C', 'AudioConte', 'nearFullSl', 'pHook', 'iframe', 'onRewardAf', 'canReward', 'ey,…) is d', '30px', 'webkitTran', 'ceptors = ', 'SoundManag', 'lelHook', 'o AD. Than', 'entries', 'AdsRequest', 'rgba(0, 0,', 'AsyncParal', '8431729647', ' 0;\x0a_done(', 'requesting', '_callback', 'onAdShow', 'borderRadi', 'sync', 'undefined', 'Web Audio ', 'text/javas', 'ATUS:', 'terBreak', 'xsj', 'callTapsPa', '_factory', 'opacity', '_formatRel', 'rowser', 'w.4j.com/', '0px', 'return new', 'hostname', 'ise) did n', 'preloadAd', 'getUint8', 'onViewed', 'targets', '120px', 'sendMessag', 'NABLE', 'changeVisi', 'stener', 'next', 'onBefore', 'sprite', '8750284884', '_u8d_', '_rUTF', 'zOrder', ') throw _e', 'puzzle2.pn', 'writeUint1', 'oop);\x0a', 'bind', '180s', 'events', 'sqrt', 'EFORE_INIT', '27ASxpTl', 'setBannerS', '_basePath', 'ima', 'gamemoneti', 's deprecat', 'ADS_MANAGE', '_events', 'ram', 'gdsdk', 'GET', 'centerX', 'ement', 'needContex', 'AFG INT ST', '} else {\x0a', 'top', 'Prefix', 'YAD', 'withOption', 'hIntercept', 'ard', '& ((_resul', 'music', 'IOS', 'writeInt32', 't you can ', 'track', ',32,112,11', 'alCooldown', 'Banner', 'tion: abso', 'createGain', 'getUint32 ', 'p(key,…) i', 's;\x0a', 'recover', 'oping', ';font-fami', 'me for tap', 'callTap', '10s', 'getId.php?', 'skippable', 'HANNEL', '\x0a ', 'marginTop', 'zygames-sd', 'h5games4u.', 'cursor', 'e error', 'clientHeig', 'bsite', 'equency-hi', 'n (tapProm', 'et=UTF-8', 'Event', 'eturned \' ', 'parse', 'send', 'object', 'console', 'mchannel', 'slice', 'contentWit', '17dkSCvC', 'set', '_resetComp', '15yIAEas', 'NAME', 'readCustom', 'renderingE', 'fer', 'AFG_REWARD', 'pletely, s', 'do {\x0a', 'alertGloba', 'gead/js/ad', 'owAd', 'pubid', '4px', 'rray', '_callback(', 'ShowScreen', 'return tru', 'babygames.', 'AUSE', 'getFSkipTi', 'designWidt', 'event:', 'clear', 'sByTagName', 'nter;borde', 'bkit-anima', 'getTapFn', 'CarGames.C', 'werCase', 'Login', 'eft: 50%;t', 'hideMsg', 'ca-pub-590', 'tapAsync(…', 'setUint8', 'tes', 'or:', 'CONTENT_RE', 'ap#for(key', 'bilityChan', '_resizeBuf', 'afterShowA', 'createChil', 'readUint8A', 'intercept', '_counter =', '_fn', '_reject(_e', 'disconnect', 'other', 'sLoopHook', 'blur', 'deprecate', 'if(_err', 'replace', 'en_XIAOMI', 'skin', 'eToJson', '6s;\x0a ', 'ORM', 'fallHook', 'sult !== u', 'er();\x0a', 'hooks', 'scrollBar', 'writeUTFSt', 'dev', 's not supp', 'xt = {};\x0a', 's-Mobile-S', 'ient', ' SyncLoopH', '-50%, -50%', 'able', 'pos', '(\\.([1-9]\\', 'w Error(\'T', 'SyncLoopHo', 'AFG REWARD', 'ISHED', 'showTimes', 'flexDirect', 'di2.png', 'bigEndian', 'skiped', 'rewardInte', 'arg0', 'getInstanc', 'before', 'load7 1.8s', 'getSystemI', 'onResult', 'instance', 'getUint16', 'i];\x0a', 'scaleY', 'rewarded', ' -3.5em;\x0a ', 'gMsgCenter', ' Promise((', 'GD_OPTIONS', 'ansform: t', 'er%d', '_loopAsync', 'responseTe', 'style', '8716159434', 'if(_loopAs', 'img', ' error. Ex', 'isUsed', 'left', '_xd_', 'ial AD', 'config', 'e-AdUnit', '0300', 'ndian', 'getTap', 'ANDROID', 'tListener', '139088IYFHip', 'ffff;backg', 'onBeforeSh', 'ion-delay:', '(function(', 'show', 'isOpening', 'canNavigat', 'sHook', 'TRIBUTION', '});\x0a', 'Read', '160px', 'platform', 'aotuPauseT', 'un.com', 'clone', '82-7', 'se;\x0a', 'opers.com', 'textConten', ' width', 'BreakStatu', 'max', 'breakStatu', 'onNavigate', 'showSplash', 'setTransla', 'rewardRead', 'if(item.er', 'debug', 'layMuted', 'values', 'createGame', 'Type', 'BESTGAMES', 'SDK_READY', ' ', 'CELED', 'AFC REWARD', 'https://ca', '21,103', 'innerText', 'count', 'AdDisplayC', 'State', 'uffer', ' 0%', 'child', '.call(', 'PuzzleGame', 'east one a', 'sync = fal', 'opts', 'tag', 'string', 'function(_', 'annel', 'peOf', 'mes/xsj', 'rr) {\x0a', 'ilation', ' @-webki', '_pf', '_options', 'game1', '_myID', 's&nameid=%', 'var _sync ', 'stopMusic', 'startupErr', '/216275203', 'data-full-', 'w.kidsgame', '_gid', 'position', 'Pls watch ', '_result', 'en_ADPLATF', 'channelId', 'allback st', '368', 'p options', 'thumb', ' }\x0a ', '_dirContex', 'ries', '};\x0a', 'toLowerCas', '1000', 'ts[', 'w.yiv.com/', 'MOUSE_OVER', 'en_APPNAME', 'absolute', 'com/sdk/YY', 'isOwnSite', '_d_', '99em;\x0a ', '82917_4570', 'height', '30s-', 'hiddenMute', ' a', 't=vast&tfc', 'getUint16 ', '=AFG AD ER', ' supported', 'onRewardCo', 'claim rewa', '.com/', 'getInterce', 'load', 't;\x0a ', 'ror) {\x0a', 'updateTime', 'warn', 'fontFamily', 'erty', ' ', ' 111, 111,', '#FFFFFF', 'loadSDK', 'Deprecatio', '11/TopGame', 'YIV', 'DK/KidsGam', 'invert', 'get hostna', 'data-adbre', 'tapAsync i', ' posi', 'readUTFStr', 'MORE', 'rror', 'getElement', 'e.com/sdk/', 'yof.com/ga', 'adDismisse', 'lesyndicat', 'ca-pub-707', 'u.js', 'gameBanner', 'k.js', 'erfallHook', 'takeTurns', 'readInt16', 'ut of boun', 'getInt16', '?pic=', 'e_banner', 'callTapsSe', 'getAttribu', ' }\x0a', ': #d44a52', 'ableState', 'Browser', 'getAdsMana', 'ray', '_loop = fa', 'readByte', 't-size: 18', 'ception: ', 'thumb/', '114,101,10', 'ignored', '\x0a} else {\x0a', '_map', 'PUZZLEGAME', 'decode', 'renderBann', '.loop(', 'tid', '11/BabyGam', 'Android', 's.com', 'SKIPPED', 'andler', '*?)', 'hide', 'offAll', 'splice', 'TopGames.c', 'afc init e', 'TOPGAMES', ' < _result', '227904NtIaBi', 'body', ' will be r', ' margin', 'dataLayer', 'attributes', 'ilePath', 'get', 'refresh', 'ytics', 'otHeight', 'copyTo', ' = true;\x0a', 'gConsole', 'once', '_runRegist', 'domain', 'rewardDism', 'frameLoop', 'sound', 'wAd', 'es-PC-Site', 'BABYGAMES', 'CrazyGames', 'if(!_loop)', 'ent_video', 'ALL_ADS_CO', 'onstatecha', 'ue;\x0a', 'assign', 'https://h5', 'duration', 'hideLoadin', 'd=0&npa=0&', 'px;', 'channel:', 'innerHeigh', 'showMsg', 'No ads ava', 'getUTFByte', '71905', 'imation-de', 'or - Out o', 'jump', 'random', 'orCode', 'done', 'adFeedback', 'innerHTML', 'data-ad-cl', '8253985222', 'destroy', 'k.crazygam', 'estGames', 'mes/idg', 'ON OTHER C', 'utoPlay', 'skipped', 'his._x;\x0a', 'ETIZE', 'imation-fi', ') {\x0a', 'scaleMode', 'tapPromise', ' }\x0a ', 'itemRender', 'cpid', 'xt is depr', 'Skin', 'game2', 'var _taps ', 'en_ADBREAK', 'callTapsLo', 'LOADED', 'ync_ok', 'allHook', 'getAdSkipp', 'prototype', 'e.js', 'ssful', 'startupByY', 'AFC INT ST', 'ame-Site-I', '4px 0 0 4p', '5px', 'sform: tra', 'Color', 'suspend', 'rgument', 'd) return ', '1,32,103,9', 'scaleX', 'randomInt', 'setAlpha', 'BIG_ENDIAN', 'AD_SDK_CAN', 'setPrototy', 'overridden', 'UA-2030019', ' po', 'dismissed', 'function', 'not func', 'pop', 'addChild', 'if(_hasRes', 'onsive', 'setRequest', 'frequencyC', 'YYGGames', 'afg', 'top: 40%;l', 'o True bec', 'ter', 'TEMP', 'translate(', 'mplete', 'results.le', 'AsyncSerie', 'GAME_SDK_B', 'ended', ' box-shad', '_insert', 'no respons', 'oData', 'getString', 'appendChil', 'eOffset', '7,109,101,', 'event_cate', '_looper();', 'visibility', 'YGGAMES: %', 'com/sdk/Ki', '__esModule', 'lt: ', 'ine-height', 'if(item.re', 'cargames.c', 'le Video', 'BundleType', 'dren', '&env=vp&un', 'message:', ' font-size', 'rmat', 'data-ad-fr', 'addEventLi', 'alignItems', 'deo_showAs', 'FIG CHANNE', 'r = (funct', 'readUint8', 'readFloat3', 'mgr', 'getChildBy', '_err', 'changeStat', 'gamessdk.y', '& (', 'linearAdSl', 's.length &', 'for', 'init', 'pointer', '.com/gameS', ' STATUS:', 'overflow: ', 'rewardComp', ' {\x0a ', 'bestgames.']; + _0x18a2 = function () { + return _0x57c1fd; + }; + return _0x18a2(); +}(function (_0xe6679, _0x1d48cf) { + const _0x319192 = _0xb80e, + _0x9b996 = _0xe6679(); + while (!![]) { + try { + const _0x525914 = -parseInt(_0x319192(0x5b6)) / 0x1 * (parseInt(_0x319192(0x2fb)) / 0x2) + -parseInt(_0x319192(0x5b9)) / 0x3 * (-parseInt(_0x319192(0x632)) / 0x4) + parseInt(_0x319192(0x25f)) / 0x5 + parseInt(_0x319192(0x2fd)) / 0x6 + parseInt(_0x319192(0x7c7)) / 0x7 + parseInt(_0x319192(0x6ec)) / 0x8 + -parseInt(_0x319192(0x575)) / 0x9 * (parseInt(_0x319192(0x264)) / 0xa); + if (_0x525914 === _0x1d48cf) break; + else _0x9b996['push'](_0x9b996['shift']()); + } catch (_0x120307) { + _0x9b996['push'](_0x9b996['shift']()); + } + } +}(_0x18a2, 0x250a9), ! function (_0x4068e8, _0xee19d0) { + const _0x405576 = _0xb80e; + _0x405576(0x5b1) == typeof exports && _0x405576(0x5b1) == typeof module ? module[_0x405576(0x255)] = _0xee19d0() : _0x405576(0x751) == typeof define && define['amd'] ? define([], _0xee19d0) : _0x405576(0x5b1) == typeof exports ? exports[_0x405576(0x759)] = _0xee19d0() : _0x4068e8[_0x405576(0x759)] = _0xee19d0(); +}(self, () => { + return _0x258a85 = { + 0xeb9: (_0x5cc20e, _0x22f433, _0x39d7d7) => { + 'use strict'; + const _0xe281c1 = _0xb80e; + const _0x5439d5 = _0x39d7d7(0x1fbe), + _0x55e187 = _0x39d7d7(0x1523), + _0x46442b = new class extends _0x55e187 { + [_0xe281c1(0x4a5)]({ + onError: _0x4c8670, + onResult: _0x3ebd6d, + onDone: _0x4275a5 + }) { + const _0x11f853 = _0xe281c1; + let _0x461f67 = ''; + return _0x461f67 += 'var _resul' + 'ts = new A' + 'rray(' + this[_0x11f853(0x3b7)]['taps'][_0x11f853(0x33e)] + _0x11f853(0x212), _0x461f67 += _0x11f853(0x458) + _0x11f853(0x860) + _0x11f853(0x257), _0x461f67 += _0x11f853(0x50f) + _0x11f853(0x19d) + _0x11f853(0x761) + 'ngth; i++)' + _0x11f853(0x340), _0x461f67 += _0x11f853(0x821) + _0x11f853(0x85d) + _0x11f853(0x617), _0x461f67 += _0x11f853(0x299) + _0x11f853(0x3bb) + _0x11f853(0x745) + 'false;\x0a', _0x461f67 += _0x11f853(0x775) + _0x11f853(0x5f6) + _0x11f853(0x3ed) + '{\x0a', _0x461f67 += _0x3ebd6d('item.resul' + 't'), _0x461f67 += _0x11f853(0x5c9) + _0x11f853(0x453), _0x461f67 += '}\x0a', _0x461f67 += _0x11f853(0x64f) + 'ror) {\x0a', _0x461f67 += _0x4c8670(_0x11f853(0x849)), _0x461f67 += _0x11f853(0x5c9) + _0x11f853(0x453), _0x461f67 += '}\x0a', _0x461f67 += '}\x0a', _0x461f67 += _0x11f853(0x2e4) + 'se;\x0a', _0x461f67 += '}\x0a', _0x461f67 += this['callTapsPa' + 'rallel']({ + 'onError': (_0x53504a, _0x8d9da6, _0x41d395, _0x1e93e9) => { + const _0x37b183 = _0x11f853; + let _0x144899 = ''; + return _0x144899 += _0x37b183(0x40a) + _0x53504a + (_0x37b183(0x6eb) + _0x37b183(0x78d) + _0x37b183(0x58b) + _0x37b183(0x33c) + '= ') + (_0x53504a + 0x1) + (_0x37b183(0x87a) + 'ts[') + _0x53504a + (_0x37b183(0x1b1) + _0x37b183(0x291)) + _0x8d9da6 + (_0x37b183(0x864) + _0x37b183(0x1b5) + '{\x0a'), _0x144899 += _0x1e93e9(!0x0), _0x144899 += _0x37b183(0x584), _0x144899 += _0x41d395(), _0x144899 += '}\x0a', _0x144899; + }, + 'onResult': (_0x43688b, _0xf3826d, _0x439824, _0x1a710e) => { + const _0x5b60c9 = _0x11f853; + let _0x37daba = ''; + return _0x37daba += _0x5b60c9(0x40a) + _0x43688b + (' < _result' + _0x5b60c9(0x78d) + _0x5b60c9(0x78b)) + _0xf3826d + (' !== undef' + _0x5b60c9(0x4a7) + _0x5b60c9(0x761) + _0x5b60c9(0x1d5)) + (_0x43688b + 0x1) + (_0x5b60c9(0x87a) + _0x5b60c9(0x68c)) + _0x43688b + (_0x5b60c9(0x19f) + 'lt: ') + _0xf3826d + (' }), _chec' + _0x5b60c9(0x1b5) + '{\x0a'), _0x37daba += _0x1a710e(!0x0), _0x37daba += '} else {\x0a', _0x37daba += _0x439824(), _0x37daba += '}\x0a', _0x37daba; + }, + 'onTap': (_0x31f15e, _0x4379c7, _0x45c0a0, _0x4e280f) => { + const _0x31c983 = _0x11f853; + let _0x55e204 = ''; + return _0x31f15e > 0x0 && (_0x55e204 += _0x31c983(0x40a) + _0x31f15e + (_0x31c983(0x2ec) + _0x31c983(0x418) + _0x31c983(0x340)), _0x55e204 += _0x45c0a0(), _0x55e204 += _0x31c983(0x584)), _0x55e204 += _0x4379c7(), _0x31f15e > 0x0 && (_0x55e204 += '}\x0a'), _0x55e204; + }, + 'onDone': _0x4275a5 + }), _0x461f67; + } + }(), + _0x2a3b96 = function (_0x2c52ff) { + const _0x512c80 = _0xe281c1; + return _0x46442b[_0x512c80(0x488)](this, _0x2c52ff), _0x46442b[_0x512c80(0x36d)](_0x2c52ff); + }; + + function _0x13d329(_0x10267e = [], _0x15cf66 = undefined) { + const _0x591bcb = _0xe281c1, + _0x3bcbe9 = new _0x5439d5(_0x10267e, _0x15cf66); + return _0x3bcbe9[_0x591bcb(0x7fc) + 'r'] = _0x13d329, _0x3bcbe9[_0x591bcb(0x4e2)] = _0x2a3b96, _0x3bcbe9[_0x591bcb(0x206)] = void 0x0, _0x3bcbe9['call'] = void 0x0, _0x3bcbe9; + } + _0x13d329['prototype'] = null, _0x5cc20e[_0xe281c1(0x255)] = _0x13d329; + }, + 0x2042: (_0x2b54c9, _0x5bb926, _0x35782e) => { + 'use strict'; + const _0x6fb8 = _0xb80e; + const _0x59f9bc = _0x35782e(0x1fbe), + _0x39be9a = _0x35782e(0x1523), + _0xa264e6 = new class extends _0x39be9a { + ['content']({ + onError: _0x5d24a3, + onDone: _0x54c7a4 + }) { + const _0x3a1307 = _0xb80e; + return this[_0x3a1307(0x552) + _0x3a1307(0x240)]({ + 'onError': (_0x2bfb36, _0x1051cc, _0x119dc7, _0x480d80) => _0x5d24a3(_0x1051cc) + _0x480d80(!0x0), + 'onDone': _0x54c7a4 + }); + } + }(), + _0x278357 = function (_0x1fc510) { + const _0x6b3ddb = _0xb80e; + return _0xa264e6['setup'](this, _0x1fc510), _0xa264e6[_0x6b3ddb(0x36d)](_0x1fc510); + }; + + function _0x4e6a08(_0x3c51a7 = [], _0x3c2a8e = undefined) { + const _0x8f213b = _0xb80e, + _0x14d5e6 = new _0x59f9bc(_0x3c51a7, _0x3c2a8e); + return _0x14d5e6[_0x8f213b(0x7fc) + 'r'] = _0x4e6a08, _0x14d5e6[_0x8f213b(0x4e2)] = _0x278357, _0x14d5e6[_0x8f213b(0x206)] = void 0x0, _0x14d5e6[_0x8f213b(0x4bc)] = void 0x0, _0x14d5e6; + } + _0x4e6a08[_0x6fb8(0x739)] = null, _0x2b54c9[_0x6fb8(0x255)] = _0x4e6a08; + }, + 0x1258: (_0x248684, _0xaeaba0, _0x275b0a) => { + 'use strict'; + const _0xdffcda = _0xb80e; + const _0x37f7f9 = _0x275b0a(0x1fbe), + _0x1988ec = _0x275b0a(0x1523), + _0x1b485d = new class extends _0x1988ec { + [_0xdffcda(0x4a5)]({ + onError: _0x3d1fb3, + onResult: _0x59f323, + resultReturns: _0x2aedc4, + onDone: _0x40e9a3 + }) { + const _0x5ac680 = _0xdffcda; + return this[_0x5ac680(0x6c9) + _0x5ac680(0x688)]({ + 'onError': (_0x159707, _0x42cd94, _0x41f21e, _0x1191d7) => _0x3d1fb3(_0x42cd94) + _0x1191d7(!0x0), + 'onResult': (_0x504c12, _0x4dd1ac, _0x51ca65) => _0x5ac680(0x40a) + _0x4dd1ac + (' !== undef' + _0x5ac680(0x2f4)) + _0x59f323(_0x4dd1ac) + _0x5ac680(0x6d8) + _0x51ca65() + '}\x0a', + 'resultReturns': _0x2aedc4, + 'onDone': _0x40e9a3 + }); + } + }(), + _0xe9af0a = function (_0x4a403a) { + const _0x31ceae = _0xdffcda; + return _0x1b485d[_0x31ceae(0x488)](this, _0x4a403a), _0x1b485d[_0x31ceae(0x36d)](_0x4a403a); + }; + + function _0x5def40(_0x318a1f = [], _0x422b5f = undefined) { + const _0x153891 = _0xdffcda, + _0xf95973 = new _0x37f7f9(_0x318a1f, _0x422b5f); + return _0xf95973[_0x153891(0x7fc) + 'r'] = _0x5def40, _0xf95973[_0x153891(0x4e2)] = _0xe9af0a, _0xf95973[_0x153891(0x206)] = void 0x0, _0xf95973['call'] = void 0x0, _0xf95973; + } + _0x5def40[_0xdffcda(0x739)] = null, _0x248684[_0xdffcda(0x255)] = _0x5def40; + }, + 0x999: (_0x4f83f7, _0x203ef4, _0x2fcafb) => { + 'use strict'; + const _0x8931c0 = _0xb80e; + const _0x1cd58e = _0x2fcafb(0x1fbe), + _0x476824 = _0x2fcafb(0x1523), + _0x4af805 = new class extends _0x476824 { + [_0x8931c0(0x4a5)]({ + onError: _0x12bd72, + onDone: _0x2511e0 + }) { + const _0x474163 = _0x8931c0; + return this[_0x474163(0x6c9) + _0x474163(0x688)]({ + 'onError': (_0x337732, _0xd7d368, _0x41ff75, _0x6f0a9d) => _0x12bd72(_0xd7d368) + _0x6f0a9d(!0x0), + 'onDone': _0x2511e0 + }); + } + }(), + _0x113384 = function (_0x25f4cd) { + const _0x4da6ef = _0x8931c0; + return _0x4af805[_0x4da6ef(0x488)](this, _0x25f4cd), _0x4af805[_0x4da6ef(0x36d)](_0x25f4cd); + }; + + function _0xb0f576(_0xadcd0d = [], _0x4772d1 = undefined) { + const _0x4179fa = _0x8931c0, + _0x1c67c9 = new _0x1cd58e(_0xadcd0d, _0x4772d1); + return _0x1c67c9[_0x4179fa(0x7fc) + 'r'] = _0xb0f576, _0x1c67c9[_0x4179fa(0x4e2)] = _0x113384, _0x1c67c9[_0x4179fa(0x206)] = void 0x0, _0x1c67c9[_0x4179fa(0x4bc)] = void 0x0, _0x1c67c9; + } + _0xb0f576[_0x8931c0(0x739)] = null, _0x4f83f7[_0x8931c0(0x255)] = _0xb0f576; + }, + 0x12e4: (_0x520139, _0x3bdf9e, _0x19c762) => { + 'use strict'; + const _0xc09028 = _0xb80e; + const _0x1ddace = _0x19c762(0x1fbe), + _0x4f2e14 = _0x19c762(0x1523), + _0x24d62d = new class extends _0x4f2e14 { + [_0xc09028(0x4a5)]({ + onError: _0x3440b6, + onDone: _0x1477d6 + }) { + const _0x130871 = _0xc09028; + return this[_0x130871(0x734) + _0x130871(0x59a)]({ + 'onError': (_0x5c08a7, _0x1e12aa, _0x186671, _0x5c23f4) => _0x3440b6(_0x1e12aa) + _0x5c23f4(!0x0), + 'onDone': _0x1477d6 + }); + } + }(), + _0x394bf1 = function (_0xea573b) { + const _0x4eeab0 = _0xc09028; + return _0x24d62d[_0x4eeab0(0x488)](this, _0xea573b), _0x24d62d[_0x4eeab0(0x36d)](_0xea573b); + }; + + function _0x5c660e(_0x423aaa = [], _0x18cc4b = undefined) { + const _0x37a30b = _0xc09028, + _0xd7f049 = new _0x1ddace(_0x423aaa, _0x18cc4b); + return _0xd7f049[_0x37a30b(0x7fc) + 'r'] = _0x5c660e, _0xd7f049['compile'] = _0x394bf1, _0xd7f049['_call'] = void 0x0, _0xd7f049[_0x37a30b(0x4bc)] = void 0x0, _0xd7f049; + } + _0x5c660e[_0xc09028(0x739)] = null, _0x520139['exports'] = _0x5c660e; + }, + 0xa7e: (_0x1e3de6, _0x492dfe, _0xceb915) => { + 'use strict'; + const _0x210eff = _0xb80e; + const _0x39a645 = _0xceb915(0x1fbe), + _0x2c64bd = _0xceb915(0x1523), + _0x31b36c = new class extends _0x2c64bd { + ['content']({ + onError: _0x43fad7, + onResult: _0xb703a, + onDone: _0x4ceb9f + }) { + const _0x4485d6 = _0xb80e; + return this['callTapsSe' + _0x4485d6(0x688)]({ + 'onError': (_0x69b9f, _0x1adc2d, _0x107e72, _0x1bda72) => _0x43fad7(_0x1adc2d) + _0x1bda72(!0x0), + 'onResult': (_0x22083a, _0x16af01, _0x313d7d) => { + const _0x34f6cc = _0x4485d6; + let _0x478e08 = ''; + return _0x478e08 += _0x34f6cc(0x40a) + _0x16af01 + (_0x34f6cc(0x4c2) + _0x34f6cc(0x2f4)), _0x478e08 += this[_0x34f6cc(0x2a2)][0x0] + _0x34f6cc(0x43b) + _0x16af01 + ';\x0a', _0x478e08 += '}\x0a', _0x478e08 += _0x313d7d(), _0x478e08; + }, + 'onDone': () => _0xb703a(this[_0x4485d6(0x2a2)][0x0]) + }); + } + }(), + _0x1bf11c = function (_0x3793e8) { + const _0x3fa28a = _0xb80e; + return _0x31b36c[_0x3fa28a(0x488)](this, _0x3793e8), _0x31b36c[_0x3fa28a(0x36d)](_0x3793e8); + }; + + function _0x3dae2d(_0x5a63e9 = [], _0x1be29f = undefined) { + const _0x4e8f99 = _0xb80e; + if (_0x5a63e9[_0x4e8f99(0x33e)] < 0x1) throw new Error(_0x4e8f99(0x7b4) + _0x4e8f99(0x241) + ' have at l' + _0x4e8f99(0x665) + _0x4e8f99(0x744)); + const _0x6b29d0 = new _0x39a645(_0x5a63e9, _0x1be29f); + return _0x6b29d0[_0x4e8f99(0x7fc) + 'r'] = _0x3dae2d, _0x6b29d0[_0x4e8f99(0x4e2)] = _0x1bf11c, _0x6b29d0[_0x4e8f99(0x206)] = void 0x0, _0x6b29d0[_0x4e8f99(0x4bc)] = void 0x0, _0x6b29d0; + } + _0x3dae2d[_0x210eff(0x739)] = null, _0x1e3de6[_0x210eff(0x255)] = _0x3dae2d; + }, + 0x1fbe: (_0x2ab373, _0x2d244f, _0x29f8da) => { + 'use strict'; + const _0x44948c = _0xb80e; + const _0x3a99dd = _0x29f8da(0x1779)[_0x44948c(0x5ed)](() => {}, _0x44948c(0x254) + _0x44948c(0x72f) + _0x44948c(0x27a) + _0x44948c(0x6ee) + _0x44948c(0x809)), + _0x59a1d5 = function (..._0x5d2403) { + const _0x5768c1 = _0x44948c; + return this['call'] = this[_0x5768c1(0x1fe) + 'l'](_0x5768c1(0x54b)), this[_0x5768c1(0x4bc)](..._0x5d2403); + }, + _0x4545ad = function (..._0x23b4f4) { + const _0x2aa113 = _0x44948c; + return this[_0x2aa113(0x469)] = this['_createCal' + 'l'](_0x2aa113(0x7ae)), this['callAsync'](..._0x23b4f4); + }, + _0xc844b0 = function (..._0x1394f6) { + const _0x3ebd7b = _0x44948c; + return this[_0x3ebd7b(0x351)] = this[_0x3ebd7b(0x1fe) + 'l'](_0x3ebd7b(0x351)), this['promise'](..._0x1394f6); + }; + class _0x3cf0f1 { + constructor(_0x1270c1 = [], _0x4cf3f2 = undefined) { + const _0x375051 = _0x44948c; + this[_0x375051(0x2a2)] = _0x1270c1, this['name'] = _0x4cf3f2, this[_0x375051(0x7f1)] = [], this[_0x375051(0x34e) + 'rs'] = [], this[_0x375051(0x206)] = _0x59a1d5, this['call'] = _0x59a1d5, this[_0x375051(0x1dc)] = _0x4545ad, this['callAsync'] = _0x4545ad, this['_promise'] = _0xc844b0, this[_0x375051(0x351)] = _0xc844b0, this['_x'] = void 0x0, this[_0x375051(0x4e2)] = this[_0x375051(0x4e2)], this[_0x375051(0x834)] = this[_0x375051(0x834)], this[_0x375051(0x1e7)] = this[_0x375051(0x1e7)], this['tapPromise'] = this['tapPromise']; + } ['compile'](_0x347e72) { + const _0x6391e = _0x44948c; + throw new Error(_0x6391e(0x500) + _0x6391e(0x360) + _0x6391e(0x74d)); + } [_0x44948c(0x1fe) + 'l'](_0x3aadbd) { + const _0x27da1b = _0x44948c; + return this[_0x27da1b(0x4e2)]({ + 'taps': this['taps'], + 'interceptors': this['intercepto' + 'rs'], + 'args': this[_0x27da1b(0x2a2)], + 'type': _0x3aadbd + }); + } ['_tap'](_0x3d2010, _0x54cfc5, _0x4b5361) { + const _0x2ed046 = _0x44948c; + if ('string' == typeof _0x54cfc5) _0x54cfc5 = { + 'name': _0x54cfc5[_0x2ed046(0x2a6)]() + }; + else { + if (_0x2ed046(0x5b1) != typeof _0x54cfc5 || null === _0x54cfc5) throw new Error(_0x2ed046(0x873) + _0x2ed046(0x684)); + } + if (_0x2ed046(0x669) != typeof _0x54cfc5[_0x2ed046(0x1ab)] || '' === _0x54cfc5[_0x2ed046(0x1ab)]) throw new Error(_0x2ed046(0x4d8) + 'me for tap'); + void 0x0 !== _0x54cfc5[_0x2ed046(0x23f)] && _0x3a99dd(), _0x54cfc5 = Object[_0x2ed046(0x709)]({ + 'type': _0x3d2010, + 'fn': _0x4b5361 + }, _0x54cfc5), _0x54cfc5 = this[_0x2ed046(0x6fb) + _0x2ed046(0x433) + _0x2ed046(0x238)](_0x54cfc5), this[_0x2ed046(0x766)](_0x54cfc5); + } [_0x44948c(0x834)](_0x566e32, _0x118c35) { + const _0x387ccc = _0x44948c; + this[_0x387ccc(0x1c4)]('sync', _0x566e32, _0x118c35); + } ['tapAsync'](_0x173503, _0x377784) { + this['_tap']('async', _0x173503, _0x377784); + } [_0x44948c(0x72b)](_0x36e4f5, _0x2ae628) { + const _0x35d3a4 = _0x44948c; + this['_tap'](_0x35d3a4(0x351), _0x36e4f5, _0x2ae628); + } [_0x44948c(0x6fb) + 'erIntercep' + _0x44948c(0x238)](_0x586ae6) { + const _0x15ef84 = _0x44948c; + for (const _0x3ab20c of this['intercepto' + 'rs']) + if (_0x3ab20c[_0x15ef84(0x803)]) { + const _0x315f46 = _0x3ab20c[_0x15ef84(0x803)](_0x586ae6); + void 0x0 !== _0x315f46 && (_0x586ae6 = _0x315f46); + } return _0x586ae6; + } [_0x44948c(0x588) + 's'](_0x42ecd3) { + const _0x2ef7aa = _0x44948c, + _0x17f6f8 = _0x56ae72 => Object[_0x2ef7aa(0x709)]({}, _0x42ecd3, _0x2ef7aa(0x669) == typeof _0x56ae72 ? { + 'name': _0x56ae72 + } : _0x56ae72); + return { + 'name': this[_0x2ef7aa(0x1ab)], + 'tap': (_0x5acf64, _0xe454a4) => this['tap'](_0x17f6f8(_0x5acf64), _0xe454a4), + 'tapAsync': (_0x4f6153, _0x346d7a) => this['tapAsync'](_0x17f6f8(_0x4f6153), _0x346d7a), + 'tapPromise': (_0x5e6d45, _0x328d95) => this[_0x2ef7aa(0x72b)](_0x17f6f8(_0x5e6d45), _0x328d95), + 'intercept': _0x2afb0a => this[_0x2ef7aa(0x5e5)](_0x2afb0a), + 'isUsed': () => this[_0x2ef7aa(0x627)](), + 'withOptions': _0x25984e => this[_0x2ef7aa(0x588) + 's'](_0x17f6f8(_0x25984e)) + }; + } [_0x44948c(0x627)]() { + const _0x5d1c42 = _0x44948c; + return this['taps']['length'] > 0x0 || this['intercepto' + 'rs'][_0x5d1c42(0x33e)] > 0x0; + } ['intercept'](_0x2c8384) { + const _0x4b5129 = _0x44948c; + if (this['_resetComp' + 'ilation'](), this[_0x4b5129(0x34e) + 'rs'][_0x4b5129(0x2c4)](Object[_0x4b5129(0x709)]({}, _0x2c8384)), _0x2c8384[_0x4b5129(0x803)]) { + for (let _0x3b741b = 0x0; _0x3b741b < this[_0x4b5129(0x7f1)]['length']; _0x3b741b++) this[_0x4b5129(0x7f1)][_0x3b741b] = _0x2c8384[_0x4b5129(0x803)](this[_0x4b5129(0x7f1)][_0x3b741b]); + } + } ['_resetComp' + 'ilation']() { + const _0xb14eb7 = _0x44948c; + this['call'] = this[_0xb14eb7(0x206)], this[_0xb14eb7(0x469)] = this[_0xb14eb7(0x1dc)], this[_0xb14eb7(0x351)] = this[_0xb14eb7(0x7a3)]; + } ['_insert'](_0x5ba7e4) { + const _0x1db777 = _0x44948c; + let _0x42d1a7; + this[_0x1db777(0x5b8) + 'ilation'](), _0x1db777(0x669) == typeof _0x5ba7e4[_0x1db777(0x611)] ? _0x42d1a7 = new Set([_0x5ba7e4[_0x1db777(0x611)]]) : Array['isArray'](_0x5ba7e4[_0x1db777(0x611)]) && (_0x42d1a7 = new Set(_0x5ba7e4[_0x1db777(0x611)])); + let _0x106c1c = 0x0; + 'number' == typeof _0x5ba7e4[_0x1db777(0x436)] && (_0x106c1c = _0x5ba7e4[_0x1db777(0x436)]); + let _0x2b7c81 = this[_0x1db777(0x7f1)][_0x1db777(0x33e)]; + for (; _0x2b7c81 > 0x0;) { + _0x2b7c81--; + const _0x2dd4b8 = this[_0x1db777(0x7f1)][_0x2b7c81]; + this[_0x1db777(0x7f1)][_0x2b7c81 + 0x1] = _0x2dd4b8; + const _0x4cb0fa = _0x2dd4b8[_0x1db777(0x436)] || 0x0; + if (_0x42d1a7) { + if (_0x42d1a7['has'](_0x2dd4b8[_0x1db777(0x1ab)])) { + _0x42d1a7[_0x1db777(0x51a)](_0x2dd4b8[_0x1db777(0x1ab)]); + continue; + } + if (_0x42d1a7[_0x1db777(0x529)] > 0x0) continue; + } + if (!(_0x4cb0fa > _0x106c1c)) { + _0x2b7c81++; + break; + } + } + this[_0x1db777(0x7f1)][_0x2b7c81] = _0x5ba7e4; + } + } + Object[_0x44948c(0x74c) + _0x44948c(0x66c)](_0x3cf0f1[_0x44948c(0x739)], null), _0x2ab373[_0x44948c(0x255)] = _0x3cf0f1; + }, + 0x1523: _0x32da3f => { + 'use strict'; + const _0x4b5e34 = _0xb80e; + _0x32da3f[_0x4b5e34(0x255)] = class { + constructor(_0x17da06) { + const _0x599a31 = _0x4b5e34; + this[_0x599a31(0x62b)] = _0x17da06, this[_0x599a31(0x3b7)] = void 0x0, this[_0x599a31(0x2a2)] = void 0x0; + } [_0x4b5e34(0x36d)](_0x4bb2f3) { + const _0x33925e = _0x4b5e34; + let _0x26da3c; + switch (this['init'](_0x4bb2f3), this[_0x33925e(0x3b7)][_0x33925e(0x836)]) { + case _0x33925e(0x54b): + _0x26da3c = new Function(this[_0x33925e(0x4b4)](), _0x33925e(0x893) + _0x33925e(0x7dc) + this[_0x33925e(0x43c)]() + this['contentWit' + 'hIntercept' + _0x33925e(0x7f4)]({ + 'onError': _0x78600c => _0x33925e(0x42c) + _0x78600c + ';\x0a', + 'onResult': _0x4626d3 => 'return ' + _0x4626d3 + ';\x0a', + 'resultReturns': !0x0, + 'onDone': () => '', + 'rethrowIfPossible': !0x0 + })); + break; + case _0x33925e(0x7ae): + _0x26da3c = new Function(this[_0x33925e(0x4b4)]({ + 'after': '_callback' + }), _0x33925e(0x893) + _0x33925e(0x7dc) + this['header']() + this[_0x33925e(0x5b5) + 'hIntercept' + _0x33925e(0x7f4)]({ + 'onError': _0x26de31 => _0x33925e(0x5c7) + _0x26de31 + _0x33925e(0x212), + 'onResult': _0x2fdc5a => '_callback(' + _0x33925e(0x2a4) + _0x2fdc5a + ');\x0a', + 'onDone': () => '_callback(' + ');\x0a' + })); + break; + case _0x33925e(0x351): + let _0x393ace = !0x1; + const _0x120a4e = this[_0x33925e(0x5b5) + _0x33925e(0x589) + _0x33925e(0x7f4)]({ + 'onError': _0x137c1e => (_0x393ace = !0x0, '_error(' + _0x137c1e + ');\x0a'), + 'onResult': _0xec13fc => '_resolve(' + _0xec13fc + _0x33925e(0x212), + 'onDone': () => _0x33925e(0x4bf) + ';\x0a' + }); + let _0x1f04fa = ''; + _0x1f04fa += _0x33925e(0x893) + 't\";\x0a', _0x1f04fa += this['header'](), _0x1f04fa += 'return new' + _0x33925e(0x61c) + _0x33925e(0x66a) + 'resolve, _' + _0x33925e(0x24a), _0x393ace && (_0x1f04fa += _0x33925e(0x676) + _0x33925e(0x7bf), _0x1f04fa += _0x33925e(0x2e1) + _0x33925e(0x7de) + _0x33925e(0x729), _0x1f04fa += _0x33925e(0x2af), _0x1f04fa += _0x33925e(0x802) + _0x33925e(0x817) + 'olve().the' + _0x33925e(0x878) + _0x33925e(0x3b4) + 'w _err; })' + _0x33925e(0x851), _0x1f04fa += _0x33925e(0x2a9), _0x1f04fa += _0x33925e(0x5e8) + _0x33925e(0x388), _0x1f04fa += _0x33925e(0x689)), _0x1f04fa += _0x120a4e, _0x393ace && (_0x1f04fa += _0x33925e(0x322) + _0x33925e(0x3c7)), _0x1f04fa += _0x33925e(0x1ff), _0x26da3c = new Function(this[_0x33925e(0x4b4)](), _0x1f04fa); + } + return this[_0x33925e(0x298)](), _0x26da3c; + } ['setup'](_0x2eedb8, _0x266d93) { + const _0x1d7672 = _0x4b5e34; + _0x2eedb8['_x'] = _0x266d93[_0x1d7672(0x7f1)][_0x1d7672(0x296)](_0xb77a61 => _0xb77a61['fn']); + } [_0x4b5e34(0x78f)](_0x3fb356) { + const _0x8abd1f = _0x4b5e34; + this['options'] = _0x3fb356, this[_0x8abd1f(0x2a2)] = _0x3fb356['args']['slice'](); + } ['deinit']() { + const _0x527128 = _0x4b5e34; + this['options'] = void 0x0, this[_0x527128(0x2a2)] = void 0x0; + } [_0x4b5e34(0x5b5) + 'hIntercept' + _0x4b5e34(0x7f4)](_0x18cb56) { + const _0x3ac8b4 = _0x4b5e34; + if (this[_0x3ac8b4(0x3b7)][_0x3ac8b4(0x34e) + 'rs'][_0x3ac8b4(0x33e)] > 0x0) { + const _0x14ef5d = _0x18cb56[_0x3ac8b4(0x232)], + _0x4b6a0e = _0x18cb56[_0x3ac8b4(0x614)], + _0x487ccd = _0x18cb56['onDone']; + let _0x3212d6 = ''; + for (let _0x23e447 = 0x0; _0x23e447 < this[_0x3ac8b4(0x3b7)][_0x3ac8b4(0x34e) + 'rs']['length']; _0x23e447++) { + const _0x1fc590 = this[_0x3ac8b4(0x3b7)]['intercepto' + 'rs'][_0x23e447]; + _0x1fc590['call'] && (_0x3212d6 += this[_0x3ac8b4(0x6a1) + _0x3ac8b4(0x3f7)](_0x23e447) + _0x3ac8b4(0x663) + this[_0x3ac8b4(0x4b4)]({ + 'before': _0x1fc590[_0x3ac8b4(0x23f)] ? _0x3ac8b4(0x85b) : void 0x0 + }) + _0x3ac8b4(0x212)); + } + return _0x3212d6 += this[_0x3ac8b4(0x4a5)](Object['assign'](_0x18cb56, { + 'onError': _0x14ef5d && (_0x105c83 => { + const _0xc1c065 = _0x3ac8b4; + let _0xf826d4 = ''; + for (let _0x100839 = 0x0; _0x100839 < this[_0xc1c065(0x3b7)][_0xc1c065(0x34e) + 'rs'][_0xc1c065(0x33e)]; _0x100839++) this[_0xc1c065(0x3b7)][_0xc1c065(0x34e) + 'rs'][_0x100839][_0xc1c065(0x4e9)] && (_0xf826d4 += this[_0xc1c065(0x6a1) + 'ptor'](_0x100839) + _0xc1c065(0x42b) + _0x105c83 + ');\x0a'); + return _0xf826d4 += _0x14ef5d(_0x105c83), _0xf826d4; + }), + 'onResult': _0x4b6a0e && (_0x157e2e => { + const _0x5bbe48 = _0x3ac8b4; + let _0x51a75f = ''; + for (let _0x407c57 = 0x0; _0x407c57 < this[_0x5bbe48(0x3b7)][_0x5bbe48(0x34e) + 'rs'][_0x5bbe48(0x33e)]; _0x407c57++) this[_0x5bbe48(0x3b7)]['intercepto' + 'rs'][_0x407c57][_0x5bbe48(0x26d)] && (_0x51a75f += this['getInterce' + _0x5bbe48(0x3f7)](_0x407c57) + _0x5bbe48(0x2a8) + _0x157e2e + _0x5bbe48(0x212)); + return _0x51a75f += _0x4b6a0e(_0x157e2e), _0x51a75f; + }), + 'onDone': _0x487ccd && (() => { + const _0xb9293 = _0x3ac8b4; + let _0xfb8450 = ''; + for (let _0x464bc5 = 0x0; _0x464bc5 < this[_0xb9293(0x3b7)]['intercepto' + 'rs'][_0xb9293(0x33e)]; _0x464bc5++) this[_0xb9293(0x3b7)][_0xb9293(0x34e) + 'rs'][_0x464bc5][_0xb9293(0x71a)] && (_0xfb8450 += this['getInterce' + _0xb9293(0x3f7)](_0x464bc5) + _0xb9293(0x37a)); + return _0xfb8450 += _0x487ccd(), _0xfb8450; + }) + })), _0x3212d6; + } + return this[_0x3ac8b4(0x4a5)](_0x18cb56); + } [_0x4b5e34(0x43c)]() { + const _0x3da31e = _0x4b5e34; + let _0x29c0f1 = ''; + return this['needContex' + 't']() ? _0x29c0f1 += _0x3da31e(0x7ca) + _0x3da31e(0x5fd) : _0x29c0f1 += _0x3da31e(0x7ca) + _0x3da31e(0x7d7), _0x29c0f1 += 'var _x = t' + _0x3da31e(0x726), this[_0x3da31e(0x3b7)][_0x3da31e(0x34e) + 'rs']['length'] > 0x0 && (_0x29c0f1 += _0x3da31e(0x732) + _0x3da31e(0x362) + _0x3da31e(0x598), _0x29c0f1 += _0x3da31e(0x207) + 'ceptors = ' + 'this.inter' + _0x3da31e(0x494)), _0x29c0f1; + } [_0x4b5e34(0x582) + 't']() { + const _0x26847e = _0x4b5e34; + for (const _0x17f75c of this['options'][_0x26847e(0x7f1)]) + if (_0x17f75c[_0x26847e(0x23f)]) return !0x0; + return !0x1; + } [_0x4b5e34(0x59d)](_0xc1beb0, { + onError: _0xe74109, + onResult: _0x1d6af1, + onDone: _0x4b809d, + rethrowIfPossible: _0x32a31b + }) { + const _0x30991c = _0x4b5e34; + let _0x257ba7 = '', + _0x4ccaf0 = !0x1; + for (let _0x257a94 = 0x0; _0x257a94 < this[_0x30991c(0x3b7)]['intercepto' + 'rs'][_0x30991c(0x33e)]; _0x257a94++) { + const _0x4ee8ea = this[_0x30991c(0x3b7)][_0x30991c(0x34e) + 'rs'][_0x257a94]; + _0x4ee8ea[_0x30991c(0x834)] && (_0x4ccaf0 || (_0x257ba7 += _0x30991c(0x84d) + _0xc1beb0 + _0x30991c(0x43b) + this[_0x30991c(0x62f)](_0xc1beb0) + ';\x0a', _0x4ccaf0 = !0x0), _0x257ba7 += this[_0x30991c(0x6a1) + 'ptor'](_0x257a94) + _0x30991c(0x468) + (_0x4ee8ea[_0x30991c(0x23f)] ? _0x30991c(0x88b) : '') + _0x30991c(0x1c4) + _0xc1beb0 + _0x30991c(0x212)); + } + _0x257ba7 += _0x30991c(0x288) + _0xc1beb0 + _0x30991c(0x43b) + this[_0x30991c(0x5d3)](_0xc1beb0) + ';\x0a'; + const _0x412114 = this[_0x30991c(0x3b7)]['taps'][_0xc1beb0]; + switch (_0x412114[_0x30991c(0x836)]) { + case 'sync': + _0x32a31b || (_0x257ba7 += 'var _hasEr' + _0x30991c(0x82d) + _0xc1beb0 + _0x30991c(0x2cd), _0x257ba7 += _0x30991c(0x39b)), _0x257ba7 += _0x1d6af1 ? 'var _resul' + 't' + _0xc1beb0 + _0x30991c(0x4cd) + _0xc1beb0 + '(' + this[_0x30991c(0x4b4)]({ + 'before': _0x412114[_0x30991c(0x23f)] ? _0x30991c(0x85b) : void 0x0 + }) + ');\x0a' : _0x30991c(0x5e7) + _0xc1beb0 + '(' + this[_0x30991c(0x4b4)]({ + 'before': _0x412114[_0x30991c(0x23f)] ? _0x30991c(0x85b) : void 0x0 + }) + _0x30991c(0x212), _0x32a31b || (_0x257ba7 += _0x30991c(0x352) + _0x30991c(0x66e), _0x257ba7 += '_hasError' + _0xc1beb0 + ' = true;\x0a', _0x257ba7 += _0xe74109(_0x30991c(0x788)), _0x257ba7 += '}\x0a', _0x257ba7 += _0x30991c(0x41d) + _0x30991c(0x82d) + _0xc1beb0 + _0x30991c(0x729)), _0x1d6af1 && (_0x257ba7 += _0x1d6af1(_0x30991c(0x67f) + _0xc1beb0)), _0x4b809d && (_0x257ba7 += _0x4b809d()), _0x32a31b || (_0x257ba7 += '}\x0a'); + break; + case 'async': + let _0x533b2f = ''; + _0x533b2f += _0x1d6af1 ? _0x30991c(0x636) + _0x30991c(0x788) + _0xc1beb0 + _0x30991c(0x358) + _0xc1beb0 + _0x30991c(0x729) : _0x30991c(0x636) + '_err' + _0xc1beb0 + _0x30991c(0x729), _0x533b2f += _0x30991c(0x5ee) + _0xc1beb0 + _0x30991c(0x729), _0x533b2f += _0xe74109(_0x30991c(0x788) + _0xc1beb0), _0x533b2f += _0x30991c(0x584), _0x1d6af1 && (_0x533b2f += _0x1d6af1(_0x30991c(0x67f) + _0xc1beb0)), _0x4b809d && (_0x533b2f += _0x4b809d()), _0x533b2f += '}\x0a', _0x533b2f += '})', _0x257ba7 += '_fn' + _0xc1beb0 + '(' + this[_0x30991c(0x4b4)]({ + 'before': _0x412114['context'] ? '_context' : void 0x0, + 'after': _0x533b2f + }) + _0x30991c(0x212); + break; + case _0x30991c(0x351): + _0x257ba7 += _0x30991c(0x198) + _0x30991c(0x37e) + _0xc1beb0 + _0x30991c(0x2cd), _0x257ba7 += _0x30991c(0x2aa) + 'se' + _0xc1beb0 + _0x30991c(0x4cd) + _0xc1beb0 + '(' + this[_0x30991c(0x4b4)]({ + 'before': _0x412114['context'] ? _0x30991c(0x85b) : void 0x0 + }) + _0x30991c(0x212), _0x257ba7 += _0x30991c(0x39c) + _0x30991c(0x2ee) + _0xc1beb0 + (_0x30991c(0x394) + _0x30991c(0x2ee)) + _0xc1beb0 + _0x30991c(0x1c6), _0x257ba7 += ' throw ne' + _0x30991c(0x605) + _0x30991c(0x1cf) + _0x30991c(0x5ab) + _0x30991c(0x55b) + 'ot return ' + _0x30991c(0x349) + 'eturned \' ' + '+ _promise' + _0xc1beb0 + _0x30991c(0x46c), _0x257ba7 += _0x30991c(0x7a3) + _0xc1beb0 + (_0x30991c(0x7e5) + _0x30991c(0x44b) + _0x30991c(0x40f)) + _0xc1beb0 + ') {\x0a', _0x257ba7 += '_hasResult' + _0xc1beb0 + _0x30991c(0x6f8), _0x1d6af1 && (_0x257ba7 += _0x1d6af1('_result' + _0xc1beb0)), _0x4b809d && (_0x257ba7 += _0x4b809d()), _0x257ba7 += '}), functi' + 'on(_err' + _0xc1beb0 + ') {\x0a', _0x257ba7 += _0x30991c(0x755) + 'ult' + _0xc1beb0 + (_0x30991c(0x56c) + 'rr') + _0xc1beb0 + ';\x0a', _0x257ba7 += _0xe74109('_err' + _0xc1beb0), _0x257ba7 += _0x30991c(0x63c); + } + return _0x257ba7; + } ['callTapsSe' + _0x4b5e34(0x688)]({ + onError: _0x46b331, + onResult: _0xdbd2b5, + resultReturns: _0x3bf4b9, + onDone: _0x2f1a54, + doneReturns: _0xe70936, + rethrowIfPossible: _0x22c643 + }) { + const _0x3e7d64 = _0x4b5e34; + if (0x0 === this[_0x3e7d64(0x3b7)][_0x3e7d64(0x7f1)][_0x3e7d64(0x33e)]) return _0x2f1a54(); + const _0x11c511 = this['options'][_0x3e7d64(0x7f1)]['findIndex'](_0x549e90 => _0x3e7d64(0x54b) !== _0x549e90[_0x3e7d64(0x836)]), + _0x4e03a1 = _0x3bf4b9 || _0xe70936; + let _0x5c1421 = '', + _0x1674ec = _0x2f1a54, + _0x3758f7 = 0x0; + for (let _0x38dcf1 = this['options']['taps'][_0x3e7d64(0x33e)] - 0x1; _0x38dcf1 >= 0x0; _0x38dcf1--) { + const _0x28720c = _0x38dcf1; + _0x1674ec !== _0x2f1a54 && (_0x3e7d64(0x54b) !== this[_0x3e7d64(0x3b7)][_0x3e7d64(0x7f1)][_0x28720c][_0x3e7d64(0x836)] || _0x3758f7++ > 0x14) && (_0x3758f7 = 0x0, _0x5c1421 += _0x3e7d64(0x2e1) + _0x3e7d64(0x565) + _0x28720c + _0x3e7d64(0x456), _0x5c1421 += _0x1674ec(), _0x5c1421 += '}\x0a', _0x1674ec = () => (_0x4e03a1 ? _0x3e7d64(0x3db) : '') + _0x3e7d64(0x1e4) + _0x28720c + _0x3e7d64(0x1a1)); + const _0x18d139 = _0x1674ec, + _0x562e58 = _0x17a65c => _0x17a65c ? '' : _0x2f1a54(), + _0x353aa6 = this[_0x3e7d64(0x59d)](_0x28720c, { + 'onError': _0x20b7be => _0x46b331(_0x28720c, _0x20b7be, _0x18d139, _0x562e58), + 'onResult': _0xdbd2b5 && (_0x4272a2 => _0xdbd2b5(_0x28720c, _0x4272a2, _0x18d139, _0x562e58)), + 'onDone': !_0xdbd2b5 && _0x18d139, + 'rethrowIfPossible': _0x22c643 && (_0x11c511 < 0x0 || _0x28720c < _0x11c511) + }); + _0x1674ec = () => _0x353aa6; + } + return _0x5c1421 += _0x1674ec(), _0x5c1421; + } [_0x4b5e34(0x734) + _0x4b5e34(0x59a)]({ + onError: _0x5f3225, + onDone: _0x361aa5, + rethrowIfPossible: _0x2c5a0b + }) { + const _0x346223 = _0x4b5e34; + if (0x0 === this[_0x346223(0x3b7)][_0x346223(0x7f1)][_0x346223(0x33e)]) return _0x361aa5(); + const _0x4ed709 = this[_0x346223(0x3b7)][_0x346223(0x7f1)][_0x346223(0x47d)](_0x141b0c => _0x346223(0x54b) === _0x141b0c[_0x346223(0x836)]); + let _0x3a8e09 = ''; + _0x4ed709 || (_0x3a8e09 += _0x346223(0x798) + _0x346223(0x783) + 'ion() {\x0a', _0x3a8e09 += _0x346223(0x239) + _0x346223(0x666) + 'se;\x0a'), _0x3a8e09 += _0x346223(0x1e5) + '\x0a', _0x3a8e09 += 'do {\x0a', _0x3a8e09 += _0x346223(0x6d1) + _0x346223(0x3c7); + for (let _0x71727b = 0x0; _0x71727b < this[_0x346223(0x3b7)]['intercepto' + 'rs'][_0x346223(0x33e)]; _0x71727b++) { + const _0x19c43b = this['options'][_0x346223(0x34e) + 'rs'][_0x71727b]; + _0x19c43b[_0x346223(0x23b)] && (_0x3a8e09 += this[_0x346223(0x6a1) + _0x346223(0x3f7)](_0x71727b) + '.loop(' + this[_0x346223(0x4b4)]({ + 'before': _0x19c43b[_0x346223(0x23f)] ? _0x346223(0x85b) : void 0x0 + }) + ');\x0a'); + } + return _0x3a8e09 += this[_0x346223(0x6c9) + _0x346223(0x688)]({ + 'onError': _0x5f3225, + 'onResult': (_0x57bcb8, _0x75522b, _0x48a54f, _0x310df5) => { + const _0x209de1 = _0x346223; + let _0x145388 = ''; + return _0x145388 += 'if(' + _0x75522b + (' !== undef' + _0x209de1(0x2f4)), _0x145388 += _0x209de1(0x887) + _0x209de1(0x708), _0x4ed709 || (_0x145388 += _0x209de1(0x624) + _0x209de1(0x2ed) + _0x209de1(0x5f7)), _0x145388 += _0x310df5(!0x0), _0x145388 += _0x209de1(0x584), _0x145388 += _0x48a54f(), _0x145388 += '}\x0a', _0x145388; + }, + 'onDone': _0x361aa5 && (() => { + const _0x3f811d = _0x346223; + let _0x10a8cd = ''; + return _0x10a8cd += _0x3f811d(0x704) + _0x3f811d(0x340), _0x10a8cd += _0x361aa5(), _0x10a8cd += '}\x0a', _0x10a8cd; + }), + 'rethrowIfPossible': _0x2c5a0b && _0x4ed709 + }), _0x3a8e09 += _0x346223(0x19e) + _0x346223(0x56f), _0x4ed709 || (_0x3a8e09 += _0x346223(0x620) + _0x346223(0x6f8), _0x3a8e09 += _0x346223(0x63c), _0x3a8e09 += '_looper();' + '\x0a'), _0x3a8e09; + } [_0x4b5e34(0x552) + _0x4b5e34(0x240)]({ + onError: _0x4a8ac3, + onResult: _0x50589d, + onDone: _0x57f501, + rethrowIfPossible: _0x2cf127, + onTap: _0x791aaa = (_0x9fd6a, _0x428973) => _0x428973() + }) { + const _0x5c7c66 = _0x4b5e34; + if (this[_0x5c7c66(0x3b7)]['taps'][_0x5c7c66(0x33e)] <= 0x1) return this[_0x5c7c66(0x6c9) + 'ries']({ + 'onError': _0x4a8ac3, + 'onResult': _0x50589d, + 'onDone': _0x57f501, + 'rethrowIfPossible': _0x2cf127 + }); + let _0x5abe2d = ''; + _0x5abe2d += _0x5c7c66(0x5c0), _0x5abe2d += _0x5c7c66(0x848) + _0x5c7c66(0x506) + this[_0x5c7c66(0x3b7)][_0x5c7c66(0x7f1)][_0x5c7c66(0x33e)] + ';\x0a', _0x57f501 && (_0x5abe2d += _0x5c7c66(0x4a9) + '= (functio' + _0x5c7c66(0x3e2), _0x5abe2d += _0x57f501(), _0x5abe2d += _0x5c7c66(0x63c)); + for (let _0x491331 = 0x0; _0x491331 < this[_0x5c7c66(0x3b7)][_0x5c7c66(0x7f1)][_0x5c7c66(0x33e)]; _0x491331++) { + const _0x5840d7 = () => _0x57f501 ? _0x5c7c66(0x3ad) + _0x5c7c66(0x300) + _0x5c7c66(0x470) : _0x5c7c66(0x7f9) + ';', + _0x10d355 = _0x382aeb => _0x382aeb || !_0x57f501 ? _0x5c7c66(0x5e6) + _0x5c7c66(0x85f) : _0x5c7c66(0x5e6) + _0x5c7c66(0x546) + _0x5c7c66(0x212); + _0x5abe2d += _0x5c7c66(0x265) + 'r <= 0) br' + _0x5c7c66(0x319), _0x5abe2d += _0x791aaa(_0x491331, () => this[_0x5c7c66(0x59d)](_0x491331, { + 'onError': _0x4fb9e4 => { + const _0x423dd6 = _0x5c7c66; + let _0x27560d = ''; + return _0x27560d += _0x423dd6(0x265) + 'r > 0) {\x0a', _0x27560d += _0x4a8ac3(_0x491331, _0x4fb9e4, _0x5840d7, _0x10d355), _0x27560d += '}\x0a', _0x27560d; + }, + 'onResult': _0x50589d && (_0x1dfd9c => { + const _0x53dbfb = _0x5c7c66; + let _0x50aa4b = ''; + return _0x50aa4b += _0x53dbfb(0x265) + _0x53dbfb(0x4ea), _0x50aa4b += _0x50589d(_0x491331, _0x1dfd9c, _0x5840d7, _0x10d355), _0x50aa4b += '}\x0a', _0x50aa4b; + }), + 'onDone': !_0x50589d && (() => _0x5840d7()), + 'rethrowIfPossible': _0x2cf127 + }), _0x5840d7, _0x10d355); + } + return _0x5abe2d += '} while(fa' + _0x5c7c66(0x21a), _0x5abe2d; + } [_0x4b5e34(0x4b4)]({ + before: _0x18b32c, + after: _0x33ce65 + } = {}) { + const _0x5ad518 = _0x4b5e34; + let _0x3b6d14 = this[_0x5ad518(0x2a2)]; + return _0x18b32c && (_0x3b6d14 = [_0x18b32c][_0x5ad518(0x49b)](_0x3b6d14)), _0x33ce65 && (_0x3b6d14 = _0x3b6d14[_0x5ad518(0x49b)](_0x33ce65)), 0x0 === _0x3b6d14[_0x5ad518(0x33e)] ? '' : _0x3b6d14[_0x5ad518(0x493)](', '); + } [_0x4b5e34(0x5d3)](_0xd16867) { + const _0x2dbd9a = _0x4b5e34; + return _0x2dbd9a(0x1fa) + _0xd16867 + ']'; + } [_0x4b5e34(0x62f)](_0x33f2df) { + const _0x125e8b = _0x4b5e34; + return _0x125e8b(0x438) + _0x33f2df + ']'; + } [_0x4b5e34(0x6a1) + _0x4b5e34(0x3f7)](_0x384bcc) { + const _0x40be7f = _0x4b5e34; + return '_intercept' + _0x40be7f(0x4ed) + _0x384bcc + ']'; + } + }; + }, + 0x1e5b: (_0x463d23, _0x434f35, _0x5e5035) => { + 'use strict'; + const _0xd794af = _0xb80e; + const _0x562b33 = _0x5e5035(0x1779), + _0x42a88e = (_0x1c9c47, _0x5ccebb) => _0x5ccebb; + class _0x527f7f { + constructor(_0x36c481, _0x3f0f5f = undefined) { + const _0x578d78 = _0xb80e; + this['_map'] = new Map(), this['name'] = _0x3f0f5f, this[_0x578d78(0x553)] = _0x36c481, this[_0x578d78(0x4f9) + 'ors'] = []; + } ['get'](_0x5abbbd) { + const _0x468ba5 = _0xb80e; + return this['_map'][_0x468ba5(0x6f3)](_0x5abbbd); + } [_0xd794af(0x78e)](_0x4cd157) { + const _0x38ea4f = _0xd794af, + _0x1f0964 = this[_0x38ea4f(0x6f3)](_0x4cd157); + if (void 0x0 !== _0x1f0964) return _0x1f0964; + let _0x1796f0 = this['_factory'](_0x4cd157); + const _0x2eaae6 = this[_0x38ea4f(0x4f9) + _0x38ea4f(0x7f4)]; + for (let _0x447489 = 0x0; _0x447489 < _0x2eaae6[_0x38ea4f(0x33e)]; _0x447489++) _0x1796f0 = _0x2eaae6[_0x447489][_0x38ea4f(0x2ba)](_0x4cd157, _0x1796f0); + return this[_0x38ea4f(0x6d9)][_0x38ea4f(0x5b7)](_0x4cd157, _0x1796f0), _0x1796f0; + } [_0xd794af(0x5e5)](_0x114820) { + const _0x4100e4 = _0xd794af; + this['_intercept' + _0x4100e4(0x7f4)]['push'](Object[_0x4100e4(0x709)]({ + 'factory': _0x42a88e + }, _0x114820)); + } + } + _0x527f7f['prototype']['tap'] = _0x562b33[_0xd794af(0x5ed)](function (_0xb37e20, _0x29a0ff, _0x431983) { + const _0x3400d0 = _0xd794af; + return this[_0x3400d0(0x78e)](_0xb37e20)[_0x3400d0(0x834)](_0x29a0ff, _0x431983); + }, _0xd794af(0x221) + _0xd794af(0x597) + _0xd794af(0x57a) + 'ed. Use Ho' + 'okMap#for(' + _0xd794af(0x3c0) + _0xd794af(0x24f)), _0x527f7f[_0xd794af(0x739)][_0xd794af(0x1e7)] = _0x562b33['deprecate'](function (_0x41e7c8, _0x5ae133, _0x1338cd) { + const _0x51020b = _0xd794af; + return this[_0x51020b(0x78e)](_0x41e7c8)['tapAsync'](_0x5ae133, _0x1338cd); + }, _0xd794af(0x221) + _0xd794af(0x20b) + _0xd794af(0x856) + _0xd794af(0x19a) + _0xd794af(0x3cb) + _0xd794af(0x820) + 'tapAsync(…' + _0xd794af(0x24f)), _0x527f7f['prototype'][_0xd794af(0x72b)] = _0x562b33['deprecate'](function (_0x105855, _0x2c996f, _0x2fbeef) { + const _0x382935 = _0xd794af; + return this['for'](_0x105855)[_0x382935(0x72b)](_0x2c996f, _0x2fbeef); + }, 'HookMap#ta' + _0xd794af(0x301) + _0xd794af(0x53a) + _0xd794af(0x452) + ' Use HookM' + _0xd794af(0x5df) + _0xd794af(0x209) + _0xd794af(0x2d4) + _0xd794af(0x4ac)), _0x463d23[_0xd794af(0x255)] = _0x527f7f; + }, + 0xcda: (_0x45c575, _0x3c30df, _0x2b2c0d) => { + 'use strict'; + const _0x29992 = _0xb80e; + _0x2b2c0d(0x1fbe); + class _0x4e2597 { + constructor(_0x5cb3aa, _0x2f0001 = undefined) { + const _0xcd0534 = _0xb80e; + this[_0xcd0534(0x5f8)] = _0x5cb3aa, this[_0xcd0534(0x1ab)] = _0x2f0001; + } ['tap'](_0x1f7797, _0x45f16b) { + const _0x3e52ec = _0xb80e; + for (const _0x19b870 of this[_0x3e52ec(0x5f8)]) _0x19b870[_0x3e52ec(0x834)](_0x1f7797, _0x45f16b); + } [_0x29992(0x1e7)](_0x5c41d0, _0x37ca35) { + const _0xf9278 = _0x29992; + for (const _0x29f981 of this[_0xf9278(0x5f8)]) _0x29f981['tapAsync'](_0x5c41d0, _0x37ca35); + } [_0x29992(0x72b)](_0x53d1e2, _0x1a46de) { + const _0x4c2a9b = _0x29992; + for (const _0x31a5d6 of this[_0x4c2a9b(0x5f8)]) _0x31a5d6[_0x4c2a9b(0x72b)](_0x53d1e2, _0x1a46de); + } [_0x29992(0x627)]() { + const _0x12deb = _0x29992; + for (const _0xb182ec of this[_0x12deb(0x5f8)]) + if (_0xb182ec['isUsed']()) return !0x0; + return !0x1; + } [_0x29992(0x5e5)](_0x51efc2) { + const _0x200b12 = _0x29992; + for (const _0x214a33 of this[_0x200b12(0x5f8)]) _0x214a33[_0x200b12(0x5e5)](_0x51efc2); + } ['withOption' + 's'](_0x2f85f3) { + const _0x568cbb = _0x29992; + return new _0x4e2597(this['hooks'][_0x568cbb(0x296)](_0x37545e => _0x37545e['withOption' + 's'](_0x2f85f3)), this[_0x568cbb(0x1ab)]); + } + } + _0x45c575[_0x29992(0x255)] = _0x4e2597; + }, + 0x1438: (_0x39e704, _0x12ec2b, _0x530b11) => { + 'use strict'; + const _0x2b9ec8 = _0xb80e; + const _0x32db65 = _0x530b11(0x1fbe), + _0x2d8a63 = _0x530b11(0x1523), + _0x1cd7f0 = new class extends _0x2d8a63 { + [_0x2b9ec8(0x4a5)]({ + onError: _0x378642, + onResult: _0xb9b28, + resultReturns: _0xee1d44, + onDone: _0x4a19af, + rethrowIfPossible: _0x2b8536 + }) { + const _0xf51bc9 = _0x2b9ec8; + return this[_0xf51bc9(0x6c9) + 'ries']({ + 'onError': (_0x55561d, _0x397591) => _0x378642(_0x397591), + 'onResult': (_0xba8b56, _0x4adee1, _0x1732ff) => _0xf51bc9(0x40a) + _0x4adee1 + (' !== undef' + 'ined) {\x0a') + _0xb9b28(_0x4adee1) + (_0xf51bc9(0x876) + '\x0a') + _0x1732ff() + '}\x0a', + 'resultReturns': _0xee1d44, + 'onDone': _0x4a19af, + 'rethrowIfPossible': _0x2b8536 + }); + } + }(), + _0x53ccc1 = () => { + const _0x288254 = _0x2b9ec8; + throw new Error(_0x288254(0x6b4) + _0x288254(0x5fc) + _0x288254(0x26e) + _0x288254(0x869) + _0x288254(0x353)); + }, + _0x12f2ed = () => { + const _0x2282c6 = _0x2b9ec8; + throw new Error(_0x2282c6(0x72b) + _0x2282c6(0x479) + _0x2282c6(0x2cc) + _0x2282c6(0x39f) + _0x2282c6(0x19c)); + }, + _0x35ce94 = function (_0x24d015) { + const _0xb24b27 = _0x2b9ec8; + return _0x1cd7f0[_0xb24b27(0x488)](this, _0x24d015), _0x1cd7f0[_0xb24b27(0x36d)](_0x24d015); + }; + + function _0x44e1aa(_0x5a9b37 = [], _0x1e0993 = undefined) { + const _0x54373b = _0x2b9ec8, + _0xde80e9 = new _0x32db65(_0x5a9b37, _0x1e0993); + return _0xde80e9[_0x54373b(0x7fc) + 'r'] = _0x44e1aa, _0xde80e9[_0x54373b(0x1e7)] = _0x53ccc1, _0xde80e9[_0x54373b(0x72b)] = _0x12f2ed, _0xde80e9[_0x54373b(0x4e2)] = _0x35ce94, _0xde80e9; + } + _0x44e1aa['prototype'] = null, _0x39e704[_0x2b9ec8(0x255)] = _0x44e1aa; + }, + 0x16db: (_0x1071d3, _0x594a05, _0x45cbd0) => { + 'use strict'; + const _0x170ef3 = _0xb80e; + const _0x27fad1 = _0x45cbd0(0x1fbe), + _0x40d39f = _0x45cbd0(0x1523), + _0xdf6b8 = new class extends _0x40d39f { + [_0x170ef3(0x4a5)]({ + onError: _0x3d0a58, + onDone: _0x52105e, + rethrowIfPossible: _0x39ecb7 + }) { + const _0x4a7da8 = _0x170ef3; + return this['callTapsSe' + _0x4a7da8(0x688)]({ + 'onError': (_0x2cdddb, _0x51b253) => _0x3d0a58(_0x51b253), + 'onDone': _0x52105e, + 'rethrowIfPossible': _0x39ecb7 + }); + } + }(), + _0x1e14da = () => { + const _0x34a09b = _0x170ef3; + throw new Error(_0x34a09b(0x6b4) + _0x34a09b(0x5fc) + _0x34a09b(0x26e) + _0x34a09b(0x364)); + }, + _0x5b6842 = () => { + const _0x485afb = _0x170ef3; + throw new Error(_0x485afb(0x72b) + ' is not su' + _0x485afb(0x2cc) + ' a SyncHoo' + 'k'); + }, + _0xbfc46a = function (_0x4f888d) { + const _0x1d378f = _0x170ef3; + return _0xdf6b8['setup'](this, _0x4f888d), _0xdf6b8[_0x1d378f(0x36d)](_0x4f888d); + }; + + function _0x225550(_0x23ba48 = [], _0x6e517 = undefined) { + const _0x5ea3ea = _0x170ef3, + _0x7c15de = new _0x27fad1(_0x23ba48, _0x6e517); + return _0x7c15de[_0x5ea3ea(0x7fc) + 'r'] = _0x225550, _0x7c15de['tapAsync'] = _0x1e14da, _0x7c15de['tapPromise'] = _0x5b6842, _0x7c15de[_0x5ea3ea(0x4e2)] = _0xbfc46a, _0x7c15de; + } + _0x225550[_0x170ef3(0x739)] = null, _0x1071d3[_0x170ef3(0x255)] = _0x225550; + }, + 0xf87: (_0x193325, _0x3416d4, _0x576dda) => { + 'use strict'; + const _0x43ce44 = _0xb80e; + const _0x17aaf2 = _0x576dda(0x1fbe), + _0x5bf8e8 = _0x576dda(0x1523), + _0x2f9068 = new class extends _0x5bf8e8 { + ['content']({ + onError: _0x4d6c56, + onDone: _0x555a63, + rethrowIfPossible: _0x24bbc0 + }) { + const _0x1ed8dd = _0xb80e; + return this[_0x1ed8dd(0x734) + _0x1ed8dd(0x59a)]({ + 'onError': (_0x567e85, _0x5d44d8) => _0x4d6c56(_0x5d44d8), + 'onDone': _0x555a63, + 'rethrowIfPossible': _0x24bbc0 + }); + } + }(), + _0x21c69a = () => { + const _0x390d7f = _0xb80e; + throw new Error('tapAsync i' + _0x390d7f(0x5fc) + _0x390d7f(0x26e) + _0x390d7f(0x600) + 'ook'); + }, + _0x262153 = () => { + const _0xa2e4a6 = _0xb80e; + throw new Error(_0xa2e4a6(0x72b) + _0xa2e4a6(0x479) + _0xa2e4a6(0x2cc) + ' a SyncLoo' + _0xa2e4a6(0x536)); + }, + _0x38612b = function (_0x3bc152) { + return _0x2f9068['setup'](this, _0x3bc152), _0x2f9068['create'](_0x3bc152); + }; + + function _0x1e32aa(_0x112190 = [], _0x12520a = undefined) { + const _0x428ffa = _0xb80e, + _0x49b60b = new _0x17aaf2(_0x112190, _0x12520a); + return _0x49b60b['constructo' + 'r'] = _0x1e32aa, _0x49b60b[_0x428ffa(0x1e7)] = _0x21c69a, _0x49b60b[_0x428ffa(0x72b)] = _0x262153, _0x49b60b[_0x428ffa(0x4e2)] = _0x38612b, _0x49b60b; + } + _0x1e32aa[_0x43ce44(0x739)] = null, _0x193325[_0x43ce44(0x255)] = _0x1e32aa; + }, + 0x1544: (_0x148997, _0x1bc75c, _0x43f0e8) => { + 'use strict'; + const _0x106c7c = _0xb80e; + const _0x3d0f69 = _0x43f0e8(0x1fbe), + _0x28bca0 = _0x43f0e8(0x1523), + _0xf1dcd2 = new class extends _0x28bca0 { + ['content']({ + onError: _0x206955, + onResult: _0x317fdc, + resultReturns: _0x43e53b, + rethrowIfPossible: _0x29fff4 + }) { + const _0x1f3511 = _0xb80e; + return this['callTapsSe' + _0x1f3511(0x688)]({ + 'onError': (_0x5c6b65, _0x123b42) => _0x206955(_0x123b42), + 'onResult': (_0x21dead, _0x50a3c9, _0x4cda1d) => { + const _0x55e322 = _0x1f3511; + let _0x3fa2a2 = ''; + return _0x3fa2a2 += _0x55e322(0x40a) + _0x50a3c9 + (' !== undef' + 'ined) {\x0a'), _0x3fa2a2 += this[_0x55e322(0x2a2)][0x0] + _0x55e322(0x43b) + _0x50a3c9 + ';\x0a', _0x3fa2a2 += '}\x0a', _0x3fa2a2 += _0x4cda1d(), _0x3fa2a2; + }, + 'onDone': () => _0x317fdc(this[_0x1f3511(0x2a2)][0x0]), + 'doneReturns': _0x43e53b, + 'rethrowIfPossible': _0x29fff4 + }); + } + }(), + _0x3c5ffa = () => { + const _0x177cfc = _0xb80e; + throw new Error(_0x177cfc(0x6b4) + _0x177cfc(0x5fc) + _0x177cfc(0x26e) + ' SyncWater' + _0x177cfc(0x5f5)); + }, + _0x398bd9 = () => { + const _0x5c0d20 = _0xb80e; + throw new Error(_0x5c0d20(0x72b) + _0x5c0d20(0x479) + _0x5c0d20(0x2cc) + _0x5c0d20(0x1b7) + _0x5c0d20(0x6c2)); + }, + _0x1dc7be = function (_0x344e7b) { + const _0x13ba2c = _0xb80e; + return _0xf1dcd2[_0x13ba2c(0x488)](this, _0x344e7b), _0xf1dcd2['create'](_0x344e7b); + }; + + function _0x194b0c(_0x408a58 = [], _0x35a3a5 = undefined) { + const _0x25f248 = _0xb80e; + if (_0x408a58[_0x25f248(0x33e)] < 0x1) throw new Error(_0x25f248(0x7b4) + 'hooks must' + ' have at l' + _0x25f248(0x665) + _0x25f248(0x744)); + const _0x48431f = new _0x3d0f69(_0x408a58, _0x35a3a5); + return _0x48431f[_0x25f248(0x7fc) + 'r'] = _0x194b0c, _0x48431f[_0x25f248(0x1e7)] = _0x3c5ffa, _0x48431f[_0x25f248(0x72b)] = _0x398bd9, _0x48431f['compile'] = _0x1dc7be, _0x48431f; + } + _0x194b0c[_0x106c7c(0x739)] = null, _0x148997[_0x106c7c(0x255)] = _0x194b0c; + }, + 0x2505: (_0x6b627b, _0x14204a, _0x48815c) => { + 'use strict'; + const _0x22527b = _0xb80e; + _0x14204a['__esModule'] = !0x0, _0x14204a[_0x22527b(0x225)] = _0x48815c(0x16db), _0x14204a[_0x22527b(0x806) + 'ok'] = _0x48815c(0x1438), _0x14204a[_0x22527b(0x1c0) + _0x22527b(0x737)] = _0x48815c(0x1544), _0x14204a[_0x22527b(0x606) + 'ok'] = _0x48815c(0xf87), _0x14204a[_0x22527b(0x544) + _0x22527b(0x53f)] = _0x48815c(0x2042), _0x14204a[_0x22527b(0x544) + 'lelBailHoo' + 'k'] = _0x48815c(0xeb9), _0x14204a['AsyncSerie' + _0x22527b(0x63a)] = _0x48815c(0x999), _0x14204a[_0x22527b(0x762) + _0x22527b(0x381)] = _0x48815c(0x1258), _0x14204a[_0x22527b(0x762) + _0x22527b(0x5eb)] = _0x48815c(0x12e4), _0x14204a[_0x22527b(0x762) + _0x22527b(0x499) + _0x22527b(0x1f3)] = _0x48815c(0xa7e), _0x14204a['HookMap'] = _0x48815c(0x1e5b), _0x14204a[_0x22527b(0x489)] = _0x48815c(0xcda); + }, + 0x1779: (_0x476706, _0x1a3652) => { + 'use strict'; + const _0x29fa5d = _0xb80e; + _0x1a3652[_0x29fa5d(0x5ed)] = (_0x4bae96, _0x402677) => { + let _0x5ee6f6 = !0x0; + return function () { + const _0x44ab16 = _0xb80e; + return _0x5ee6f6 && (console['warn'](_0x44ab16(0x6ad) + 'nWarning: ' + _0x402677), _0x5ee6f6 = !0x1), _0x4bae96[_0x44ab16(0x28a)](this, arguments); + }; + }; + }, + 0x2148: function (_0xf3a0ed, _0x8b7828, _0x276651) { + 'use strict'; + const _0x1b53cb = _0xb80e; + var _0x457be9 = this && this[_0x1b53cb(0x343) + _0x1b53cb(0x3a7)] || function (_0xca54de) { + return _0xca54de && _0xca54de['__esModule'] ? _0xca54de : { + 'default': _0xca54de + }; + }; + Object[_0x1b53cb(0x501) + _0x1b53cb(0x6a8)](_0x8b7828, _0x1b53cb(0x772), { + 'value': !0x0 + }); + const _0x5e6f85 = _0x457be9(_0x276651(0x492)), + _0x5c8ad0 = _0x457be9(_0x276651(0x109)), + _0x116ca9 = _0x276651(0xda5), + _0x5b071c = _0x457be9(_0x276651(0x1bba)), + _0x293b26 = _0x457be9(_0x276651(0x1d63)), + _0x29a57d = _0x457be9(_0x276651(0xea3)), + _0x197639 = _0x457be9(_0x276651(0x1b60)), + _0x2da60a = _0x276651(0x24b7), + _0x11df5e = _0x457be9(_0x276651(0x1c5c)); + _0xf3a0ed[_0x1b53cb(0x255)] = function (_0x294241) { + const _0x346cb2 = _0x1b53cb; + _0x5b071c[_0x346cb2(0x395)]['preload'](); + const _0x5b79dd = document[_0x346cb2(0x4d1)]; + let _0x2d1a22 = !0x1; + for (const _0x316f73 of _0x5b79dd) + if (_0x316f73[_0x346cb2(0x318)][_0x346cb2(0x80b)](_0x346cb2(0x259) + _0x346cb2(0x27e) + _0x346cb2(0x691) + _0x346cb2(0x52b)) > -0x1 || _0x316f73[_0x346cb2(0x318)][_0x346cb2(0x80b)](_0x346cb2(0x259) + _0x346cb2(0x27e) + _0x346cb2(0x691) + _0x346cb2(0x3b2)) > -0x1 || _0x316f73[_0x346cb2(0x318)][_0x346cb2(0x80b)](_0x346cb2(0x259) + '.yyggames.' + _0x346cb2(0x691) + _0x346cb2(0x2f3) + _0x346cb2(0x4f7)) > -0x1) { + _0x2d1a22 = !0x0; + const _0x298a51 = _0x316f73[_0x346cb2(0x6ca) + 'te']('data-adapt' + 'er'), + _0x51408b = _0x316f73[_0x346cb2(0x6ca) + 'te'](_0x346cb2(0x828) + 'el'); + _0x51408b && (_0x5c8ad0[_0x346cb2(0x395)]['channel'] = _0x51408b[_0x346cb2(0x356) + 'e']()), _0x346cb2(0x7ad) == _0x298a51 ? (_0x294241['YYGGames'] = _0x5e6f85['default'][_0x346cb2(0x610) + 'e'](), _0x294241['_YYGGames'] = _0x293b26[_0x346cb2(0x395)][_0x346cb2(0x610) + 'e'](), window[_0x346cb2(0x2be)] = _0x293b26[_0x346cb2(0x395)][_0x346cb2(0x610) + 'e']()) : _0x294241['YYGGames'] = _0x293b26[_0x346cb2(0x395)][_0x346cb2(0x610) + 'e'](); + break; + } return _0x197639[_0x346cb2(0x395)][_0x346cb2(0x469)](_0x197639['default'][_0x346cb2(0x83b)][_0x346cb2(0x83c)], _0x3dc52c => { + const _0x4d7965 = _0x346cb2; + _0x197639[_0x4d7965(0x395)]['callAsync'](_0x197639[_0x4d7965(0x395)][_0x4d7965(0x83b)][_0x4d7965(0x763) + _0x4d7965(0x574)], _0x2d0860 => { + const _0x1a8b41 = _0x4d7965; + _0x11df5e['default'][_0x1a8b41(0x1e1)](_0x1a8b41(0x61b) + _0x1a8b41(0x481) + 'SDK_BEFORE' + _0x1a8b41(0x1f5), _0x2d0860), _0x5c8ad0[_0x1a8b41(0x395)][_0x1a8b41(0x199)][_0x1a8b41(0x2de)] = _0x2d0860[_0x1a8b41(0x199)][_0x1a8b41(0x2de)], _0x5c8ad0['default'][_0x1a8b41(0x7e1)][_0x1a8b41(0x2de)] = _0x2d0860[_0x1a8b41(0x7e1)][_0x1a8b41(0x2de)], _0x5c8ad0[_0x1a8b41(0x395)][_0x1a8b41(0x461)] = _0x2d0860['source']; + }); + }), _0x294241[_0x346cb2(0x7ed) + _0x346cb2(0x654)] = _0x116ca9[_0x346cb2(0x7ed) + _0x346cb2(0x654)], window['AdPlatform' + _0x346cb2(0x654)] = _0x116ca9[_0x346cb2(0x7ed) + _0x346cb2(0x654)], _0x294241[_0x346cb2(0x759)]['bundle'] = _0x29a57d[_0x346cb2(0x395)], _0x294241['YYGGames'][_0x346cb2(0x572)] = Object['assign']({}, _0x2da60a[_0x346cb2(0x80e)]), _0x294241[_0x346cb2(0x759)]; + }({}); + }, + 0x109: (_0x2be27b, _0x4af520) => { + 'use strict'; + const _0x109778 = _0xb80e; + Object[_0x109778(0x501) + 'erty'](_0x4af520, _0x109778(0x772), { + 'value': !0x0 + }); + class _0x1d1c85 {} + _0x4af520[_0x109778(0x395)] = _0x1d1c85, _0x1d1c85[_0x109778(0x414)] = !0x1, _0x1d1c85[_0x109778(0x4e4)] = !0x1, _0x1d1c85[_0x109778(0x7e1)] = { + 'channel': null + }, _0x1d1c85['afcConfig'] = { + 'channel': null + }, _0x1d1c85['source'] = null; + }, + 0x1eb: (_0x53d5d3, _0x2563b5) => { + 'use strict'; + const _0x31a26b = _0xb80e; + Object['defineProp' + _0x31a26b(0x6a8)](_0x2563b5, _0x31a26b(0x772), { + 'value': !0x0 + }); + class _0x455993 { + constructor() { + const _0x3544d9 = _0x31a26b; + ++_0x455993['ID'], this[_0x3544d9(0x674)] = _0x455993['ID']; + } [_0x31a26b(0x2ab)]() { + return this['_myID']; + } + } + _0x2563b5[_0x31a26b(0x395)] = _0x455993, _0x455993['ID'] = 0x0; + }, + 0xda5: (_0x218e29, _0x3fcab5) => { + 'use strict'; + const _0x232e04 = _0xb80e; + var _0x216f47; + Object[_0x232e04(0x501) + _0x232e04(0x6a8)](_0x3fcab5, _0x232e04(0x772), { + 'value': !0x0 + }), _0x3fcab5[_0x232e04(0x7ed) + 'Type'] = void 0x0, (_0x216f47 = _0x3fcab5[_0x232e04(0x7ed) + _0x232e04(0x654)] || (_0x3fcab5[_0x232e04(0x7ed) + 'Type'] = {}))[_0x216f47[_0x232e04(0x733)] = 0x0] = 'en_ADBREAK', _0x216f47[_0x216f47[_0x232e04(0x7a2) + _0x232e04(0x63b)] = 0x1] = _0x232e04(0x7a2) + 'TRIBUTION', _0x216f47[_0x216f47[_0x232e04(0x227) + 'ETIZE'] = 0x2] = _0x232e04(0x227) + _0x232e04(0x727), _0x216f47[_0x216f47[_0x232e04(0x81c)] = 0x3] = _0x232e04(0x81c), _0x216f47[_0x216f47[_0x232e04(0x5f0)] = 0x4] = _0x232e04(0x5f0), _0x216f47[_0x216f47[_0x232e04(0x7da)] = 0x5] = _0x232e04(0x7da), _0x216f47[_0x216f47['en_TCL'] = 0x6] = _0x232e04(0x841), _0x216f47[_0x216f47[_0x232e04(0x4ff)] = 0x7] = _0x232e04(0x4ff), _0x216f47[_0x216f47[_0x232e04(0x4bb)] = 0x8] = _0x232e04(0x4bb), _0x216f47[_0x216f47['Kfreegame'] = 0x9] = _0x232e04(0x7ab), _0x216f47[_0x216f47[_0x232e04(0x879)] = 0xa] = 'Crazygames', _0x216f47[_0x216f47['Y8'] = 0xb] = 'Y8', _0x216f47[_0x216f47[_0x232e04(0x1d3)] = 0xc] = _0x232e04(0x1d3), _0x216f47[_0x216f47[_0x232e04(0x384)] = 0xd] = _0x232e04(0x384), _0x216f47[_0x216f47['idg'] = 0xe] = 'idg'; + }, + 0x1b70: (_0x4fc96a, _0x4c1dfb) => { + 'use strict'; + const _0x214c0f = _0xb80e; + var _0xc3076; + Object[_0x214c0f(0x501) + _0x214c0f(0x6a8)](_0x4c1dfb, _0x214c0f(0x772), { + 'value': !0x0 + }), _0x4c1dfb[_0x214c0f(0x475) + 'e'] = void 0x0, (_0xc3076 = _0x4c1dfb[_0x214c0f(0x475) + 'e'] || (_0x4c1dfb[_0x214c0f(0x475) + 'e'] = {}))[_0xc3076[_0x214c0f(0x587)] = 0x0] = _0x214c0f(0x587), _0xc3076[_0xc3076[_0x214c0f(0x6af)] = 0x1] = 'YIV', _0xc3076[_0xc3076[_0x214c0f(0x702)] = 0x2] = _0x214c0f(0x702), _0xc3076[_0xc3076[_0x214c0f(0x655)] = 0x3] = _0x214c0f(0x655), _0xc3076[_0xc3076[_0x214c0f(0x437)] = 0x4] = _0x214c0f(0x437), _0xc3076[_0xc3076[_0x214c0f(0x6da)] = 0x5] = _0x214c0f(0x6da); + }, + 0x139f: (_0x3d4aad, _0x24bda2) => { + 'use strict'; + const _0x33dd78 = _0xb80e; + var _0x57c15b; + Object[_0x33dd78(0x501) + 'erty'](_0x24bda2, _0x33dd78(0x772), { + 'value': !0x0 + }), _0x24bda2[_0x33dd78(0x1ac)] = void 0x0, (_0x57c15b = _0x24bda2[_0x33dd78(0x1ac)] || (_0x24bda2[_0x33dd78(0x1ac)] = {}))[_0x57c15b[_0x33dd78(0x1e9)] = 0x0] = _0x33dd78(0x1e9), _0x57c15b[_0x57c15b[_0x33dd78(0x68f)] = 0x1] = 'en_APPNAME', _0x57c15b[_0x57c15b[_0x33dd78(0x800) + _0x33dd78(0x3a1)] = 0x2] = _0x33dd78(0x800) + _0x33dd78(0x3a1), _0x57c15b[_0x57c15b[_0x33dd78(0x1e9) + 'NAME'] = 0x3] = _0x33dd78(0x1e9) + _0x33dd78(0x5ba), _0x57c15b[_0x57c15b[_0x33dd78(0x824) + _0x33dd78(0x7a0)] = 0x4] = _0x33dd78(0x824) + 'RESS', _0x57c15b[_0x57c15b[_0x33dd78(0x440) + 'EN'] = 0x5] = _0x33dd78(0x440) + 'EN', _0x57c15b[_0x57c15b[_0x33dd78(0x680) + _0x33dd78(0x5f4)] = 0x6] = _0x33dd78(0x680) + _0x33dd78(0x5f4), _0x57c15b[_0x57c15b[_0x33dd78(0x7a2) + _0x33dd78(0x3d0) + 'D'] = 0x7] = _0x33dd78(0x7a2) + _0x33dd78(0x3d0) + 'D', _0x57c15b[_0x57c15b[_0x33dd78(0x227) + _0x33dd78(0x283)] = 0x8] = _0x33dd78(0x227) + 'ETIZEID', _0x57c15b[_0x57c15b['en_TRANSSI' + 'ON'] = 0x9] = _0x33dd78(0x3b8) + 'ON', _0x57c15b[_0x57c15b[_0x33dd78(0x2b0)] = 0xa] = _0x33dd78(0x2b0), _0x57c15b[_0x57c15b[_0x33dd78(0x885) + _0x33dd78(0x562)] = 0xb] = 'en_BANNERE' + _0x33dd78(0x562); + }, + 0x4e: function (_0x1a9810, _0x2a8ea2, _0x5d1b4d) { + 'use strict'; + const _0x4b3f17 = _0xb80e; + var _0x4d0ec4 = this && this[_0x4b3f17(0x343) + 'fault'] || function (_0x5829de) { + return _0x5829de && _0x5829de['__esModule'] ? _0x5829de : { + 'default': _0x5829de + }; + }; + Object['defineProp' + _0x4b3f17(0x6a8)](_0x2a8ea2, '__esModule', { + 'value': !0x0 + }); + const _0x138aa5 = _0x4d0ec4(_0x5d1b4d(0x191e)); + class _0x8333c1 extends _0x138aa5[_0x4b3f17(0x395)] { + static[_0x4b3f17(0x610) + 'e']() { + const _0x7afe56 = _0x4b3f17; + return this[_0x7afe56(0x615)] || (this[_0x7afe56(0x615)] = new this()), this['instance']; + } + } + _0x2a8ea2[_0x4b3f17(0x395)] = _0x8333c1; + }, + 0x18d7: (_0x19204e, _0x2b4a8f) => { + 'use strict'; + const _0x173a4c = _0xb80e; + Object[_0x173a4c(0x501) + 'erty'](_0x2b4a8f, '__esModule', { + 'value': !0x0 + }); + class _0x92a8b5 { + static[_0x173a4c(0x78f)]() { + const _0x2ab39e = _0x173a4c; + window[_0x2ab39e(0x77f) + 'stener']('message', this[_0x2ab39e(0x441)]['bind'](this), !0x1); + } + static[_0x173a4c(0x803)](_0x2418ce) { + const _0x5bb537 = _0x173a4c; + this[_0x5bb537(0x55f)][_0x5bb537(0x2c4)](_0x2418ce); + } + static[_0x173a4c(0x441)](_0x21770e) { + const _0x5e590d = _0x173a4c, + _0x50b71a = _0x21770e[_0x5e590d(0x411)] || {}; + switch (_0x50b71a[_0x5e590d(0x853)]) { + case _0x5e590d(0x4c8) + _0x5e590d(0x84e): + switch (_0x50b71a['data']) { + case _0x5e590d(0x21e) + 'Ad': + for (const _0x3f9173 of this[_0x5e590d(0x55f)]) _0x3f9173[_0x5e590d(0x1cb)] && _0x3f9173[_0x5e590d(0x1cb)][_0x5e590d(0x21e) + 'Ad'](); + break; + case _0x5e590d(0x5e2) + 'd': + for (const _0x47edaa of this[_0x5e590d(0x55f)]) _0x47edaa['iConfig'] && _0x47edaa[_0x5e590d(0x1cb)][_0x5e590d(0x5e2) + 'd'](); + break; + case _0x5e590d(0x1f2) + 'e': + for (const _0x4da683 of this[_0x5e590d(0x55f)]) _0x4da683[_0x5e590d(0x1cb)] && _0x4da683[_0x5e590d(0x1cb)][_0x5e590d(0x1f2) + 'e'](_0x50b71a['res']); + } + break; + case 'inited': + if (_0x50b71a[_0x5e590d(0x411)]) { + for (const _0x292617 of this[_0x5e590d(0x55f)]) _0x292617[_0x5e590d(0x7ba) + _0x5e590d(0x7fe)] = !0x0, _0x292617[_0x5e590d(0x692)] = !0x0, _0x292617[_0x5e590d(0x2fc)] && _0x292617[_0x5e590d(0x2fc)][_0x5e590d(0x29a) + 'rd'](_0x50b71a['data'][_0x5e590d(0x831)]); + } + break; + case _0x5e590d(0x831): + for (const _0x3ff0e5 of this[_0x5e590d(0x55f)]) _0x3ff0e5[_0x5e590d(0x7ba) + _0x5e590d(0x7fe)] = !0x0, _0x3ff0e5[_0x5e590d(0x692)] = !0x0, _0x3ff0e5[_0x5e590d(0x2fc)] && _0x3ff0e5[_0x5e590d(0x2fc)][_0x5e590d(0x29a) + 'rd'](_0x50b71a[_0x5e590d(0x411)]); + break; + case 'showReward': + switch (_0x50b71a[_0x5e590d(0x411)]) { + case 'beforeShow' + 'Ad': + for (const _0x34fd4f of this['targets']) _0x34fd4f['rConfig'] && _0x34fd4f['rConfig'][_0x5e590d(0x21e) + 'Ad'](); + break; + case _0x5e590d(0x5e2) + 'd': + for (const _0x42d21a of this[_0x5e590d(0x55f)]) _0x42d21a[_0x5e590d(0x2fc)] && _0x42d21a['rConfig'][_0x5e590d(0x5e2) + 'd'](); + break; + case 'rewardComp' + _0x5e590d(0x38a): + for (const _0x23bd76 of this[_0x5e590d(0x55f)]) _0x23bd76[_0x5e590d(0x2fc)] && _0x23bd76['rConfig']['rewardComp' + _0x5e590d(0x38a)](); + break; + case _0x5e590d(0x6fd) + _0x5e590d(0x311): + for (const _0x3bedc4 of this[_0x5e590d(0x55f)]) _0x3bedc4[_0x5e590d(0x2fc)] && _0x3bedc4[_0x5e590d(0x2fc)][_0x5e590d(0x6fd) + 'issed'](); + break; + case _0x5e590d(0x1f2) + 'e': + for (const _0x316d81 of this['targets']) _0x316d81[_0x5e590d(0x2fc)] && _0x316d81['rConfig'][_0x5e590d(0x1f2) + 'e'](_0x50b71a['res']); + } + } + } + } + _0x2b4a8f[_0x173a4c(0x395)] = _0x92a8b5, _0x92a8b5['targets'] = []; + }, + 0x1052: function (_0xaef0db, _0x2dcc21, _0x18f57c) { + 'use strict'; + const _0xb5fedf = _0xb80e; + var _0x3c1b48 = this && this[_0xb5fedf(0x343) + _0xb5fedf(0x3a7)] || function (_0x3ec17f) { + const _0x1528fb = _0xb5fedf; + return _0x3ec17f && _0x3ec17f[_0x1528fb(0x772)] ? _0x3ec17f : { + 'default': _0x3ec17f + }; + }; + Object[_0xb5fedf(0x501) + _0xb5fedf(0x6a8)](_0x2dcc21, '__esModule', { + 'value': !0x0 + }); + const _0x5f3f68 = _0x3c1b48(_0x18f57c(0x109)), + _0x1f686d = _0x18f57c(0x139f), + _0xfc354f = _0x3c1b48(_0x18f57c(0x4e)), + _0x5a247b = _0x3c1b48(_0x18f57c(0x836)), + _0x9e8bf2 = _0x3c1b48(_0x18f57c(0x1c5c)), + _0x20d1b8 = _0x3c1b48(_0x18f57c(0x92e)), + _0x15d148 = _0x3c1b48(_0x18f57c(0x1680)), + _0x5e1716 = _0x3c1b48(_0x18f57c(0x1ea1)); + class _0x48b2a3 { + constructor() { + const _0x2122a5 = _0xb5fedf; + this[_0x2122a5(0x4c8) + 'titialCoun' + 't'] = 0x0, this[_0x2122a5(0x31c) + 'alCooldown'] = 0x0, this[_0x2122a5(0x867)] = !0x1, this[_0x2122a5(0x2fc)] = { + 'showAdFn': null + }, this['iConfig'] = { + 'showTimes': null + }; + } + static[_0xb5fedf(0x610) + 'e']() { + const _0x615860 = _0xb5fedf; + return this['_gInstance'] || (this['_gInstance'] = new _0x48b2a3()), this[_0x615860(0x43e)]; + } [_0xb5fedf(0x441)](_0x1e11d4) { + const _0xb865b4 = _0xb5fedf, + _0x55a4de = _0x1e11d4[_0xb865b4(0x411)] || {}; + switch (_0x55a4de[_0xb865b4(0x853)]) { + case _0xb865b4(0x4c8) + _0xb865b4(0x84e): + switch (_0x55a4de[_0xb865b4(0x411)]) { + case _0xb865b4(0x21e) + 'Ad': + this[_0xb865b4(0x3b7)] && this[_0xb865b4(0x3b7)]['beforeShow' + 'Ad'] && (this[_0xb865b4(0x3b7)][_0xb865b4(0x21e) + 'Ad'](), this[_0xb865b4(0x3b7)]['beforeShow' + 'Ad'] = null); + break; + case _0xb865b4(0x5e2) + 'd': + this[_0xb865b4(0x3b7)] && this['options'][_0xb865b4(0x5e2) + 'd'] && (this[_0xb865b4(0x3b7)]['afterShowA' + 'd'](), this[_0xb865b4(0x3b7)][_0xb865b4(0x5e2) + 'd'] = null); + break; + case _0xb865b4(0x1f2) + 'e': + this[_0xb865b4(0x3b7)] && this[_0xb865b4(0x3b7)][_0xb865b4(0x1f2) + 'e'] && (this[_0xb865b4(0x3b7)]['adBreakDon' + 'e'](_0x55a4de[_0xb865b4(0x4b1)]), this[_0xb865b4(0x3b7)][_0xb865b4(0x1f2) + 'e'] = null, _0xfc354f['default'][_0xb865b4(0x610) + 'e']()[_0xb865b4(0x853)]('adBreakDon' + 'e', [{ + 'type': _0xb865b4(0x23e), + 'data': _0x55a4de['res'], + 'action': this['options'] ? this['options']['action'] : '' + }])); + } + break; + case _0xb865b4(0x371): + _0x55a4de['data'] && (window[_0xb865b4(0x7ba) + _0xb865b4(0x7fe)] = _0x55a4de[_0xb865b4(0x411)][_0xb865b4(0x7ba) + 'nSite'], this[_0xb865b4(0x2fc)][_0xb865b4(0x831)] = _0x55a4de[_0xb865b4(0x411)][_0xb865b4(0x831)]); + break; + case _0xb865b4(0x831): + this[_0xb865b4(0x2fc)][_0xb865b4(0x831)] = _0x55a4de[_0xb865b4(0x411)]; + break; + case 'showReward': + switch (_0x55a4de['data']) { + case _0xb865b4(0x21e) + 'Ad': + _0xfc354f[_0xb865b4(0x395)][_0xb865b4(0x610) + 'e']()[_0xb865b4(0x853)](_0xb865b4(0x21e) + 'Ad', [{ + 'type': _0xb865b4(0x3d9), + 'action': this['rewardOpti' + _0xb865b4(0x336)] ? this[_0xb865b4(0x4aa) + _0xb865b4(0x336)][_0xb865b4(0x7cb)] : '' + }]), this['rewardOpti' + 'ons'] && this['rewardOpti' + _0xb865b4(0x336)][_0xb865b4(0x21e) + 'Ad'] && (this['rewardOpti' + _0xb865b4(0x336)][_0xb865b4(0x21e) + 'Ad'](), this['rewardOpti' + _0xb865b4(0x336)]['beforeShow' + 'Ad'] = null); + break; + case _0xb865b4(0x5e2) + 'd': + _0xfc354f[_0xb865b4(0x395)][_0xb865b4(0x610) + 'e']()['event']('afterShowA' + 'd', [{ + 'type': 'reward', + 'action': this['rewardOpti' + _0xb865b4(0x336)] ? this[_0xb865b4(0x4aa) + _0xb865b4(0x336)]['action'] : '' + }]), this[_0xb865b4(0x4aa) + _0xb865b4(0x336)] && this['rewardOpti' + 'ons']['afterShowA' + 'd'] && (this[_0xb865b4(0x4aa) + _0xb865b4(0x336)]['afterShowA' + 'd'](), this[_0xb865b4(0x4aa) + _0xb865b4(0x336)]['afterShowA' + 'd'] = null); + break; + case _0xb865b4(0x794) + _0xb865b4(0x38a): + this['rewardOpti' + 'ons'] && this[_0xb865b4(0x4aa) + _0xb865b4(0x336)][_0xb865b4(0x794) + _0xb865b4(0x38a)] && (_0xfc354f['default'][_0xb865b4(0x610) + 'e']()[_0xb865b4(0x853)](_0xb865b4(0x243), [{ + 'type': _0xb865b4(0x3d9), + 'action': this[_0xb865b4(0x4aa) + _0xb865b4(0x336)] ? this[_0xb865b4(0x4aa) + _0xb865b4(0x336)][_0xb865b4(0x7cb)] : '' + }]), this['rewardOpti' + _0xb865b4(0x336)][_0xb865b4(0x794) + 'lete'](), this[_0xb865b4(0x4aa) + 'ons'][_0xb865b4(0x794) + _0xb865b4(0x38a)] = null); + break; + case _0xb865b4(0x6fd) + 'issed': + _0xfc354f[_0xb865b4(0x395)][_0xb865b4(0x610) + 'e']()[_0xb865b4(0x853)](_0xb865b4(0x6bc) + 'd', [{ + 'type': _0xb865b4(0x3d9), + 'action': this[_0xb865b4(0x4aa) + _0xb865b4(0x336)] ? this[_0xb865b4(0x4aa) + 'ons'][_0xb865b4(0x7cb)] : '' + }]), this[_0xb865b4(0x4aa) + _0xb865b4(0x336)] && this['rewardOpti' + _0xb865b4(0x336)]['rewardDism' + 'issed'] && (this[_0xb865b4(0x4aa) + _0xb865b4(0x336)][_0xb865b4(0x6fd) + _0xb865b4(0x311)](), this[_0xb865b4(0x4aa) + _0xb865b4(0x336)][_0xb865b4(0x6fd) + _0xb865b4(0x311)] = null); + break; + case 'adBreakDon' + 'e': + this[_0xb865b4(0x4aa) + 'ons'] && this[_0xb865b4(0x4aa) + _0xb865b4(0x336)][_0xb865b4(0x1f2) + 'e'] && (this['rewardOpti' + _0xb865b4(0x336)]['adBreakDon' + 'e'](_0x55a4de[_0xb865b4(0x4b1)]), this[_0xb865b4(0x4aa) + 'ons'][_0xb865b4(0x1f2) + 'e'] = null, _0xfc354f['default'][_0xb865b4(0x610) + 'e']()[_0xb865b4(0x853)](_0xb865b4(0x1f2) + 'e', [{ + 'type': _0xb865b4(0x3d9), + 'data': _0x55a4de[_0xb865b4(0x4b1)], + 'action': this['rewardOpti' + _0xb865b4(0x336)] ? this[_0xb865b4(0x4aa) + _0xb865b4(0x336)][_0xb865b4(0x7cb)] : '' + }])); + } + } + } [_0xb5fedf(0x1ea)]() { + return new Promise(async (_0x63b507, _0x4de8a6) => { + const _0x3d9419 = _0xb80e; + if (window['addEventLi' + _0x3d9419(0x564)](_0x3d9419(0x3b3), this[_0x3d9419(0x441)]['bind'](this), !0x1), window[_0x3d9419(0x816)]) { + try { + window['parent']['postMessag' + 'e']({ + 'event': 'inited' + }, '*'); + } catch (_0x2dbad6) { + _0x20d1b8['default'][_0x3d9419(0x1e1)](_0x3d9419(0x517) + 'e error', _0x2dbad6); + } + await new Promise((_0x257988, _0x1a578f) => { + setTimeout(() => { + _0x257988(); + }, 0xc8); + }); + } + const _0x589269 = document[_0x3d9419(0x81d) + _0x3d9419(0x871)](_0x3d9419(0x1bb)); + _0x589269[_0x3d9419(0x7ae)] = !0x0, _0x589269['setAttribu' + 'te'](_0x3d9419(0x71d) + _0x3d9419(0x5ff), _0x3d9419(0x42a) + '8716159434' + _0x3d9419(0x683)), _0x589269['setAttribu' + 'te'](_0x3d9419(0x492) + _0x3d9419(0x66b), _0x15d148[_0x3d9419(0x395)]['getInstanc' + 'e']()[_0x3d9419(0x6f3)](_0x1f686d[_0x3d9419(0x1ac)][_0x3d9419(0x800) + _0x3d9419(0x3a1)])), _0x589269[_0x3d9419(0x1eb) + 'te']('data-ad-fr' + 'equency-hi' + 'nt', _0x3d9419(0x59e)); + try { + const _0xb9f302 = location[_0x3d9419(0x55a)], + _0x202d41 = _0x15d148['default'][_0x3d9419(0x610) + 'e']()[_0x3d9419(0x6f3)](_0x1f686d[_0x3d9419(0x1ac)][_0x3d9419(0x1e9) + _0x3d9419(0x5ba)]); + _0xb9f302[_0x3d9419(0x80b)](_0x202d41[_0x3d9419(0x68a) + 'e']()) < 0x0 && !_0x15d148[_0x3d9419(0x395)][_0x3d9419(0x610) + 'e']()[_0x3d9419(0x6f3)](_0x1f686d['ConfigType'][_0x3d9419(0x440) + 'EN']) && (_0x15d148[_0x3d9419(0x395)][_0x3d9419(0x610) + 'e']()['set'](_0x1f686d['ConfigType']['en_DEBUGOP' + 'EN'], !0x0), _0x20d1b8[_0x3d9419(0x395)][_0x3d9419(0x363)](_0x3d9419(0x31b) + _0x3d9419(0x268) + 'alue is Fa' + _0x3d9419(0x1a3) + _0x3d9419(0x75c) + 'ause the g' + _0x3d9419(0x326) + _0x3d9419(0x896) + _0x3d9419(0x24e) + _0x202d41)), _0xb9f302[_0x3d9419(0x80b)](_0x202d41[_0x3d9419(0x68a) + 'e']()) > -0x1 && _0x15d148[_0x3d9419(0x395)][_0x3d9419(0x610) + 'e']()[_0x3d9419(0x5b7)](_0x1f686d[_0x3d9419(0x1ac)]['en_DEBUGOP' + 'EN'], !0x1); + } catch (_0xd456f9) { + _0x20d1b8[_0x3d9419(0x395)][_0x3d9419(0x1e1)](_0x3d9419(0x6b2) + _0x3d9419(0x52d), _0xd456f9); + } + _0x15d148[_0x3d9419(0x395)][_0x3d9419(0x610) + 'e']()['get'](_0x1f686d['ConfigType'][_0x3d9419(0x440) + 'EN']) && _0x589269['setAttribu' + 'te'](_0x3d9419(0x6b3) + _0x3d9419(0x3fe), 'on'), _0x589269[_0x3d9419(0x303)] = () => { + const _0x22ac07 = _0x3d9419; + this[_0x22ac07(0x512) + _0x22ac07(0x3d7)] = setInterval(this[_0x22ac07(0x86c)][_0x22ac07(0x570)](this), 0x3e8), _0x63b507(!0x0); + }, _0x589269[_0x3d9419(0x382)] = function () { + _0x4de8a6(); + }, _0x589269[_0x3d9419(0x318)] = _0x3d9419(0x46a) + _0x3d9419(0x32e) + _0x3d9419(0x6bd) + _0x3d9419(0x1ad) + _0x3d9419(0x5c2) + 'sbygoogle.' + 'js', document['head'][_0x3d9419(0x76a) + 'd'](_0x589269), window[_0x3d9419(0x2e7) + 'e'] = window[_0x3d9419(0x2e7) + 'e'] || [], window[_0x3d9419(0x862)] = window[_0x3d9419(0x2e5)] = function (_0x199a04) { + window['adsbygoogl' + 'e']['push'](_0x199a04); + }, window['adConfig']({ + 'preloadAdBreaks': 'on', + 'onReady': _0x5ea5a0 => { + const _0x3009b1 = _0x3d9419; + this[_0x3009b1(0x867)] = !0x0, _0x20d1b8[_0x3009b1(0x395)][_0x3009b1(0x1e1)](_0x3009b1(0x880) + _0x3009b1(0x63d)); + } + }), this[_0x3d9419(0x862)] = function (_0x4a7789) { + const _0x4544a9 = _0x3d9419; + window[_0x4544a9(0x2e7) + 'e']['push'](_0x4a7789); + }; + }); + } [_0xb5fedf(0x4c8) + 'titial'](_0x1ec64e) { + const _0x2bd24d = _0xb5fedf; + if (_0x1ec64e[_0x2bd24d(0x1f2) + 'e'] || (_0x1ec64e[_0x2bd24d(0x1f2) + 'e'] = function () {}), _0x20d1b8['default']['onYYGGames' + _0x2bd24d(0x41a)]() && this[_0x2bd24d(0x1cb)][_0x2bd24d(0x609)] > 0x0) { + this[_0x2bd24d(0x3b7)] = _0x1ec64e; + try { + gtag(_0x2bd24d(0x853), _0x2bd24d(0x24d), { + 'event_category': _0x9e8bf2[_0x2bd24d(0x395)][_0x2bd24d(0x55a)](document[_0x2bd24d(0x42f)]), + 'event_label': _0x5f3f68[_0x2bd24d(0x395)][_0x2bd24d(0x668)] + '-' + _0x5f3f68[_0x2bd24d(0x395)][_0x2bd24d(0x423)] + }), window[_0x2bd24d(0x816)]['postMessag' + 'e']({ + 'event': _0x2bd24d(0x4c8) + 'titial' + }, '*'); + } catch (_0x397efe) { + console[_0x2bd24d(0x7ec)](_0x2bd24d(0x4c8) + _0x2bd24d(0x35a) + _0x2bd24d(0x5dd), _0x397efe); + } + return; + } + if (this[_0x2bd24d(0x31c) + _0x2bd24d(0x592)] > 0x0) return _0x1ec64e && _0x1ec64e[_0x2bd24d(0x21e) + 'Ad'] && (_0x1ec64e[_0x2bd24d(0x21e) + 'Ad'](), _0x1ec64e['beforeShow' + 'Ad'] = null), _0x1ec64e && _0x1ec64e[_0x2bd24d(0x5e2) + 'd'] && (_0x1ec64e[_0x2bd24d(0x5e2) + 'd'](), _0x1ec64e[_0x2bd24d(0x5e2) + 'd'] = null), _0x1ec64e && _0x1ec64e[_0x2bd24d(0x1f2) + 'e'] && (_0x1ec64e['adBreakDon' + 'e']({ + 'breakStatus': 'less-than-' + '30s-' + this[_0x2bd24d(0x31c) + 'alCooldown'] + }), _0x1ec64e['adBreakDon' + 'e'] = null), void _0x20d1b8[_0x2bd24d(0x395)][_0x2bd24d(0x1e1)](_0x2bd24d(0x547) + _0x2bd24d(0x1c8) + _0x2bd24d(0x80f) + _0x2bd24d(0x23d) + ', ignored ' + ':', this['interstiti' + _0x2bd24d(0x592)]); + if (_0x20d1b8[_0x2bd24d(0x395)][_0x2bd24d(0x1e1)](_0x2bd24d(0x547) + ' Interstit' + _0x2bd24d(0x62a)), this[_0x2bd24d(0x3b7)] && this[_0x2bd24d(0x3b7)][_0x2bd24d(0x5e2) + 'd']) return; + let _0x2bfe0f = _0x2bd24d(0x565); + if (0x0 == this[_0x2bd24d(0x4c8) + _0x2bd24d(0x404) + 't'] && (_0x2bfe0f = 'preroll', this[_0x2bd24d(0x4c8) + 'titialCoun' + 't']++, _0xfc354f[_0x2bd24d(0x395)]['getInstanc' + 'e']()[_0x2bd24d(0x853)]('beforeShow' + 'Ad', [{ + 'type': _0x2bd24d(0x23e) + }])), _0x9e8bf2['default']['showLoadin' + 'g'](), this[_0x2bd24d(0x867)]) { + if (clearTimeout(this[_0x2bd24d(0x41c) + 'g']), this['showLoadin' + 'g'] = setTimeout(() => { + const _0x1956aa = _0x2bd24d; + this[_0x1956aa(0x31c) + 'alCooldown'] = 0x1e, _0x1ec64e && _0x1ec64e[_0x1956aa(0x21e) + 'Ad'] && (_0x1ec64e[_0x1956aa(0x21e) + 'Ad'](), _0x1ec64e[_0x1956aa(0x21e) + 'Ad'] = null, _0x5e1716[_0x1956aa(0x395)][_0x1956aa(0x610) + 'e']()['event'](_0x1956aa(0x21e) + 'Ad')), _0x1ec64e && _0x1ec64e[_0x1956aa(0x5e2) + 'd'] && (_0x1ec64e[_0x1956aa(0x5e2) + 'd'](), _0x1ec64e[_0x1956aa(0x5e2) + 'd'] = null), _0x9e8bf2['default']['hideLoadin' + 'g'](); + }, 0x3e8), this['options'] = _0x1ec64e, 'preroll' == _0x2bfe0f) { + if (_0x1ec64e && _0x1ec64e[_0x2bd24d(0x21e) + 'Ad']) { + _0x1ec64e[_0x2bd24d(0x21e) + 'Ad'](), _0x1ec64e['beforeShow' + 'Ad'] = null, _0x5e1716[_0x2bd24d(0x395)][_0x2bd24d(0x610) + 'e']()[_0x2bd24d(0x853)](_0x2bd24d(0x21e) + 'Ad'); + try { + window[_0x2bd24d(0x816)][_0x2bd24d(0x517) + 'e']({ + 'event': _0x2bd24d(0x21e) + _0x2bd24d(0x472) + }, '*'); + } catch (_0x2b4c21) {} + } + return clearTimeout(this[_0x2bd24d(0x41c) + 'g']), void this[_0x2bd24d(0x862)]({ + 'type': _0x2bfe0f, + 'name': _0x2bd24d(0x2d0), + 'adBreakDone': _0x53576e => { + const _0x54d8e7 = _0x2bd24d; + this[_0x54d8e7(0x1cb)][_0x54d8e7(0x609)]++, this[_0x54d8e7(0x31c) + _0x54d8e7(0x592)] = 0x1e, _0x20d1b8[_0x54d8e7(0x395)][_0x54d8e7(0x1e1)](_0x54d8e7(0x1f2) + 'e', _0x53576e), _0x9e8bf2[_0x54d8e7(0x395)][_0x54d8e7(0x70c) + 'g'](), _0x1ec64e && _0x1ec64e['afterShowA' + 'd'] && (_0x1ec64e[_0x54d8e7(0x5e2) + 'd'](), _0x1ec64e[_0x54d8e7(0x5e2) + 'd'] = null, _0x5e1716[_0x54d8e7(0x395)]['getInstanc' + 'e']()[_0x54d8e7(0x853)]('afterShowA' + 'd')), _0x1ec64e && _0x1ec64e['adBreakDon' + 'e'] && (_0x1ec64e[_0x54d8e7(0x1f2) + 'e'](_0x53576e), _0x1ec64e[_0x54d8e7(0x1f2) + 'e'] = null, _0xfc354f[_0x54d8e7(0x395)][_0x54d8e7(0x610) + 'e']()[_0x54d8e7(0x853)](_0x54d8e7(0x1f2) + 'e', [{ + 'type': _0x54d8e7(0x23e), + 'data': _0x53576e, + 'action': _0x1ec64e ? _0x1ec64e['action'] : '' + }])); + try { + window[_0x54d8e7(0x816)][_0x54d8e7(0x517) + 'e']({ + 'event': _0x54d8e7(0x402) + 'nGameAd' + }, '*'); + } catch (_0x4b3777) {} + } + }); + } + return this[_0x2bd24d(0x862)]({ + 'type': _0x2bfe0f, + 'name': _0x2bd24d(0x2d0), + 'beforeAd': () => { + const _0x31e56d = _0x2bd24d; + _0x1ec64e && _0x1ec64e['beforeShow' + 'Ad'] && (_0x1ec64e['beforeShow' + 'Ad'](), _0x1ec64e[_0x31e56d(0x21e) + 'Ad'] = null, _0x5e1716['default']['getInstanc' + 'e']()[_0x31e56d(0x853)](_0x31e56d(0x21e) + 'Ad')), clearTimeout(this['showLoadin' + 'g']); + try { + window[_0x31e56d(0x816)]['postMessag' + 'e']({ + 'event': _0x31e56d(0x21e) + 'InGameAd' + }, '*'); + } catch (_0xb51050) {} + window[_0x31e56d(0x5ec)](); + }, + 'afterAd': () => { + const _0x420e3d = _0x2bd24d; + _0x20d1b8[_0x420e3d(0x395)][_0x420e3d(0x1e1)](_0x420e3d(0x86a)), _0x9e8bf2['default'][_0x420e3d(0x70c) + 'g'](), _0x1ec64e && _0x1ec64e[_0x420e3d(0x5e2) + 'd'] && (_0x1ec64e['afterShowA' + 'd'](), _0x1ec64e[_0x420e3d(0x5e2) + 'd'] = null), this[_0x420e3d(0x31c) + _0x420e3d(0x592)] = 0x1e, window[_0x420e3d(0x1d8)](), _0x5e1716['default'][_0x420e3d(0x610) + 'e']()[_0x420e3d(0x853)](_0x420e3d(0x5e2) + 'd'); + try { + window[_0x420e3d(0x816)][_0x420e3d(0x517) + 'e']({ + 'event': _0x420e3d(0x402) + _0x420e3d(0x427) + }, '*'); + } catch (_0x593447) {} + }, + 'adBreakDone': _0x7c7538 => { + const _0x46fe50 = _0x2bd24d; + _0x20d1b8[_0x46fe50(0x395)]['trace'](_0x46fe50(0x1f2) + 'e', _0x7c7538), clearTimeout(this['showLoadin' + 'g']), _0x9e8bf2['default'][_0x46fe50(0x70c) + 'g'](), _0x1ec64e && _0x1ec64e['beforeShow' + 'Ad'] && (_0x1ec64e[_0x46fe50(0x21e) + 'Ad'](), _0x1ec64e[_0x46fe50(0x21e) + 'Ad'] = null, _0x5e1716[_0x46fe50(0x395)]['getInstanc' + 'e']()[_0x46fe50(0x853)](_0x46fe50(0x21e) + 'Ad')), _0x1ec64e && _0x1ec64e[_0x46fe50(0x5e2) + 'd'] && (_0x1ec64e[_0x46fe50(0x5e2) + 'd'](), _0x1ec64e[_0x46fe50(0x5e2) + 'd'] = null, _0x5e1716[_0x46fe50(0x395)]['getInstanc' + 'e']()[_0x46fe50(0x853)](_0x46fe50(0x5e2) + 'd')), _0x1ec64e && _0x1ec64e[_0x46fe50(0x1f2) + 'e'] && (_0xfc354f[_0x46fe50(0x395)][_0x46fe50(0x610) + 'e']()[_0x46fe50(0x853)]('adBreakDon' + 'e', [{ + 'type': 'int', + 'data': _0x7c7538, + 'action': _0x1ec64e[_0x46fe50(0x7cb)] + }]), _0x1ec64e['adBreakDon' + 'e'](_0x7c7538), _0x1ec64e[_0x46fe50(0x1f2) + 'e'] = null); + } + }), !0x0; + } + _0x5a247b[_0x2bd24d(0x395)][_0x2bd24d(0x610) + 'e']()['showInters' + _0x2bd24d(0x84e)]({ + 'beforeAd': () => { + const _0x12aa62 = _0x2bd24d; + gtag(_0x12aa62(0x853), 'showIAD', { + 'event_category': _0x9e8bf2[_0x12aa62(0x395)][_0x12aa62(0x55a)](document['referrer']), + 'event_label': _0x5f3f68[_0x12aa62(0x395)][_0x12aa62(0x668)] + '-' + _0x5f3f68[_0x12aa62(0x395)][_0x12aa62(0x423)] + }), _0x9e8bf2['default'][_0x12aa62(0x70c) + 'g'](), _0x1ec64e && _0x1ec64e[_0x12aa62(0x21e) + 'Ad'] && (_0x1ec64e['beforeShow' + 'Ad'](), _0x1ec64e[_0x12aa62(0x21e) + 'Ad'] = null, _0x5e1716['default'][_0x12aa62(0x610) + 'e']()[_0x12aa62(0x853)](_0x12aa62(0x21e) + 'Ad'), _0xfc354f[_0x12aa62(0x395)][_0x12aa62(0x610) + 'e']()[_0x12aa62(0x853)](_0x12aa62(0x21e) + 'Ad', [{ + 'type': 'int' + }])), clearTimeout(this[_0x12aa62(0x41c) + 'g']), window[_0x12aa62(0x5ec)](); + try { + window[_0x12aa62(0x816)][_0x12aa62(0x517) + 'e']({ + 'event': _0x12aa62(0x21e) + _0x12aa62(0x472) + }, '*'); + } catch (_0x10b5d6) {} + }, + 'afterAd': () => { + const _0x3a5f91 = _0x2bd24d; + _0x20d1b8[_0x3a5f91(0x395)]['trace'](_0x3a5f91(0x86a)), _0x9e8bf2['default'][_0x3a5f91(0x70c) + 'g'](), _0x1ec64e && _0x1ec64e['afterShowA' + 'd'] && (_0x1ec64e[_0x3a5f91(0x5e2) + 'd'](), _0x1ec64e['afterShowA' + 'd'] = null), _0x1ec64e && _0x1ec64e[_0x3a5f91(0x1f2) + 'e'] && (_0x1ec64e[_0x3a5f91(0x1f2) + 'e']({ + 'breakStatus': _0x3a5f91(0x277) + }), _0x1ec64e['adBreakDon' + 'e'] = null), this[_0x3a5f91(0x31c) + _0x3a5f91(0x592)] = 0x1e, window[_0x3a5f91(0x1d8)](), _0x5e1716[_0x3a5f91(0x395)]['getInstanc' + 'e']()[_0x3a5f91(0x853)](_0x3a5f91(0x5e2) + 'd'); + try { + window[_0x3a5f91(0x816)][_0x3a5f91(0x517) + 'e']({ + 'event': _0x3a5f91(0x402) + _0x3a5f91(0x427) + }, '*'); + } catch (_0x1f8bde) {} + } + }); + } ['canShowRew' + _0xb5fedf(0x58a)]() { + const _0x15c390 = _0xb5fedf; + return _0x20d1b8['default'][_0x15c390(0x20f) + _0x15c390(0x41a)]() ? this['rConfig'][_0x15c390(0x831)] : !this[_0x15c390(0x867)] || !!this[_0x15c390(0x831)]; + } [_0xb5fedf(0x1c3)](_0x25affa) { + const _0x32ed79 = _0xb5fedf; + if (!this[_0x32ed79(0x408) + 'ard']()) return !0x1; + if (_0x20d1b8[_0x32ed79(0x395)][_0x32ed79(0x20f) + _0x32ed79(0x41a)]()) { + this['rewardOpti' + 'ons'] = _0x25affa; + try { + gtag(_0x32ed79(0x853), _0x32ed79(0x226), { + 'event_category': _0x9e8bf2[_0x32ed79(0x395)][_0x32ed79(0x55a)](document[_0x32ed79(0x42f)]), + 'event_label': _0x5f3f68[_0x32ed79(0x395)][_0x32ed79(0x668)] + '-' + _0x5f3f68['default'][_0x32ed79(0x423)] + }), window[_0x32ed79(0x816)]['postMessag' + 'e']({ + 'event': 'showReward' + }, '*'); + } catch (_0x43b211) { + console[_0x32ed79(0x7ec)]('showReward' + _0x32ed79(0x82e), _0x43b211); + } + } else { + if (_0x20d1b8[_0x32ed79(0x395)][_0x32ed79(0x1e1)](_0x32ed79(0x547) + _0x32ed79(0x1f9)), gtag(_0x32ed79(0x853), 'showRAD', { + 'event_category': _0x9e8bf2[_0x32ed79(0x395)][_0x32ed79(0x55a)](document['referrer']), + 'event_label': _0x5f3f68[_0x32ed79(0x395)][_0x32ed79(0x668)] + '-' + _0x5f3f68['default'][_0x32ed79(0x423)] + }), this[_0x32ed79(0x4aa) + 'ons'] = _0x25affa, this[_0x32ed79(0x4aa) + 'ons'][_0x32ed79(0x1f2) + 'e'] || (this[_0x32ed79(0x4aa) + 'ons'][_0x32ed79(0x1f2) + 'e'] = function () {}), this[_0x32ed79(0x867)]) return this[_0x32ed79(0x831)](), this[_0x32ed79(0x831)] = null, window[_0x32ed79(0x5ec)](), !0x0; + _0x5a247b[_0x32ed79(0x395)][_0x32ed79(0x610) + 'e']()[_0x32ed79(0x1c3)]({ + 'beforeAd': () => { + const _0x3e802c = _0x32ed79; + _0x9e8bf2['default'][_0x3e802c(0x70c) + 'g'](), _0x25affa && _0x25affa['beforeShow' + 'Ad'] && (_0x25affa[_0x3e802c(0x21e) + 'Ad'](), _0x25affa[_0x3e802c(0x21e) + 'Ad'] = null, _0x5e1716[_0x3e802c(0x395)][_0x3e802c(0x610) + 'e']()[_0x3e802c(0x853)]('beforeShow' + 'Ad')), _0xfc354f[_0x3e802c(0x395)][_0x3e802c(0x610) + 'e']()[_0x3e802c(0x853)](_0x3e802c(0x21e) + 'Ad', [{ + 'type': _0x3e802c(0x3d9), + 'action': _0x25affa ? _0x25affa[_0x3e802c(0x7cb)] : '' + }]), clearTimeout(this[_0x3e802c(0x41c) + 'g']), window[_0x3e802c(0x5ec)](); + }, + 'afterAd': () => { + const _0x31e624 = _0x32ed79; + _0x20d1b8['default'][_0x31e624(0x1e1)](_0x31e624(0x86a)), _0x9e8bf2[_0x31e624(0x395)][_0x31e624(0x70c) + 'g'](), _0x25affa && _0x25affa[_0x31e624(0x5e2) + 'd'] && (_0x25affa[_0x31e624(0x5e2) + 'd'](), _0x25affa['afterShowA' + 'd'] = null), this[_0x31e624(0x31c) + _0x31e624(0x592)] = 0x1e, window[_0x31e624(0x1d8)](), _0xfc354f[_0x31e624(0x395)]['getInstanc' + 'e']()[_0x31e624(0x853)](_0x31e624(0x5e2) + 'd', [{ + 'type': _0x31e624(0x3d9), + 'action': _0x25affa ? _0x25affa[_0x31e624(0x7cb)] : '' + }]), _0x5e1716[_0x31e624(0x395)]['getInstanc' + 'e']()[_0x31e624(0x853)](_0x31e624(0x5e2) + 'd'); + }, + 'adDismissed': this['onRewardDi' + _0x32ed79(0x4e3)][_0x32ed79(0x570)](this), + 'adViewed': this[_0x32ed79(0x69e) + 'mplete'][_0x32ed79(0x570)](this) + }); + } + } ['onUpdate']() { + const _0x2aab1a = _0xb5fedf; + this[_0x2aab1a(0x31c) + _0x2aab1a(0x592)] >= 0x0 && this[_0x2aab1a(0x31c) + _0x2aab1a(0x592)]--, this[_0x2aab1a(0x32a) + 'd'](); + } [_0xb5fedf(0x32a) + 'd']() { + const _0x12a3f1 = _0xb5fedf; + this[_0x12a3f1(0x831)] || this[_0x12a3f1(0x862)]({ + 'type': _0x12a3f1(0x3d9), + 'name': _0x12a3f1(0x3d9), + 'beforeAd': this['onRewardBe' + _0x12a3f1(0x1cc)][_0x12a3f1(0x570)](this), + 'afterAd': this[_0x12a3f1(0x538) + _0x12a3f1(0x550)][_0x12a3f1(0x570)](this), + 'beforeReward': this['onBeforeRe' + 'ward'][_0x12a3f1(0x570)](this), + 'adDismissed': this[_0x12a3f1(0x507) + 'smissed'][_0x12a3f1(0x570)](this), + 'adViewed': this[_0x12a3f1(0x69e) + _0x12a3f1(0x760)][_0x12a3f1(0x570)](this), + 'adBreakDone': _0x348b7e => { + const _0x38ded6 = _0x12a3f1; + this[_0x38ded6(0x4aa) + _0x38ded6(0x336)] && this[_0x38ded6(0x4aa) + _0x38ded6(0x336)][_0x38ded6(0x1f2) + 'e'] && (_0xfc354f[_0x38ded6(0x395)][_0x38ded6(0x610) + 'e']()[_0x38ded6(0x853)]('adBreakDon' + 'e', [{ + 'type': 'reward', + 'data': _0x348b7e, + 'action': this[_0x38ded6(0x4aa) + _0x38ded6(0x336)][_0x38ded6(0x7cb)] + }]), this['rewardOpti' + 'ons']['adBreakDon' + 'e'](_0x348b7e), this[_0x38ded6(0x4aa) + _0x38ded6(0x336)][_0x38ded6(0x1f2) + 'e'] = null); + } + }); + } ['onBeforeRe' + _0xb5fedf(0x530)](_0xd7477f) { + const _0x569b1b = _0xb5fedf; + _0x20d1b8[_0x569b1b(0x395)]['trace'](_0x569b1b(0x2c3) + _0x569b1b(0x40c) + 'ssful'), this[_0x569b1b(0x831)] = _0xd7477f; + } ['onRewardBe' + _0xb5fedf(0x1cc)]() { + const _0x21cdc7 = _0xb5fedf; + _0x5e1716['default'][_0x21cdc7(0x610) + 'e']()[_0x21cdc7(0x853)](_0x21cdc7(0x21e) + 'Ad'), this[_0x21cdc7(0x4aa) + _0x21cdc7(0x336)][_0x21cdc7(0x21e) + 'Ad'] && this[_0x21cdc7(0x4aa) + _0x21cdc7(0x336)][_0x21cdc7(0x21e) + 'Ad'](), this[_0x21cdc7(0x4aa) + _0x21cdc7(0x336)][_0x21cdc7(0x21e) + 'Ad'] = null, _0xfc354f[_0x21cdc7(0x395)][_0x21cdc7(0x610) + 'e']()[_0x21cdc7(0x853)](_0x21cdc7(0x21e) + 'Ad', [{ + 'type': 'reward', + 'action': this[_0x21cdc7(0x4aa) + _0x21cdc7(0x336)] ? this[_0x21cdc7(0x4aa) + 'ons'][_0x21cdc7(0x7cb)] : '' + }]); + } ['onRewardAf' + _0xb5fedf(0x550)]() { + const _0x5cfdb8 = _0xb5fedf; + window[_0x5cfdb8(0x1d8)](), this['interstiti' + _0x5cfdb8(0x592)] = 0x1e, this['rewardOpti' + 'ons']['afterShowA' + 'd'] && this[_0x5cfdb8(0x4aa) + _0x5cfdb8(0x336)]['afterShowA' + 'd'](), this[_0x5cfdb8(0x4aa) + _0x5cfdb8(0x336)][_0x5cfdb8(0x5e2) + 'd'] = null, this['showAdFn'] = null, _0x5e1716[_0x5cfdb8(0x395)][_0x5cfdb8(0x610) + 'e']()[_0x5cfdb8(0x853)](_0x5cfdb8(0x5e2) + 'd'), _0xfc354f[_0x5cfdb8(0x395)]['getInstanc' + 'e']()[_0x5cfdb8(0x853)](_0x5cfdb8(0x5e2) + 'd', [{ + 'type': 'reward', + 'action': this[_0x5cfdb8(0x4aa) + _0x5cfdb8(0x336)] ? this[_0x5cfdb8(0x4aa) + _0x5cfdb8(0x336)]['action'] : '' + }]); + } ['onRewardDi' + _0xb5fedf(0x4e3)]() { + const _0x4e0fe2 = _0xb5fedf; + this[_0x4e0fe2(0x4aa) + 'ons'] && this[_0x4e0fe2(0x4aa) + _0x4e0fe2(0x336)][_0x4e0fe2(0x6fd) + _0x4e0fe2(0x311)] && (this[_0x4e0fe2(0x4aa) + _0x4e0fe2(0x336)][_0x4e0fe2(0x6fd) + 'issed'](), this[_0x4e0fe2(0x4aa) + _0x4e0fe2(0x336)][_0x4e0fe2(0x6fd) + _0x4e0fe2(0x311)] = null, _0xfc354f['default'][_0x4e0fe2(0x610) + 'e']()[_0x4e0fe2(0x853)](_0x4e0fe2(0x6bc) + 'd', [{ + 'type': _0x4e0fe2(0x3d9), + 'action': this['rewardOpti' + _0x4e0fe2(0x336)]['action'] + }])); + } [_0xb5fedf(0x69e) + _0xb5fedf(0x760)]() { + const _0x10ab13 = _0xb5fedf; + this['rewardOpti' + _0x10ab13(0x336)] && this[_0x10ab13(0x4aa) + _0x10ab13(0x336)][_0x10ab13(0x794) + _0x10ab13(0x38a)] && (this['rewardOpti' + _0x10ab13(0x336)]['rewardComp' + _0x10ab13(0x38a)](), this[_0x10ab13(0x4aa) + _0x10ab13(0x336)][_0x10ab13(0x794) + _0x10ab13(0x38a)] = null, _0xfc354f[_0x10ab13(0x395)][_0x10ab13(0x610) + 'e']()[_0x10ab13(0x853)](_0x10ab13(0x243), [{ + 'type': _0x10ab13(0x3d9), + 'action': this[_0x10ab13(0x4aa) + _0x10ab13(0x336)][_0x10ab13(0x7cb)] + }])); + } [_0xb5fedf(0x309)](_0xde3928) {} [_0xb5fedf(0x2da)](_0x4a8094) {} ['showSplash'](_0x3cf6f2) {} [_0xb5fedf(0x496)](_0x3d07f2) {} + } + _0x2dcc21[_0xb5fedf(0x395)] = _0x48b2a3; + }, + 0x1bdf: (_0x5b3a97, _0x52ea70) => { + 'use strict'; + const _0x2992d7 = _0xb80e; + Object[_0x2992d7(0x501) + _0x2992d7(0x6a8)](_0x52ea70, _0x2992d7(0x772), { + 'value': !0x0 + }); + class _0x4dee31 { + static[_0x2992d7(0x610) + 'e']() { + const _0x29a9d5 = _0x2992d7; + return this['_gInstance'] || (this['_gInstance'] = new _0x4dee31()), this[_0x29a9d5(0x43e)]; + } [_0x2992d7(0x78f)]() { + return new Promise((_0x1b2ab5, _0x3eb995) => { + _0x1b2ab5(!0x0); + }); + } [_0x2992d7(0x4c8) + _0x2992d7(0x84e)](_0x1557a9) { + const _0x3d4c1c = _0x2992d7; + return window[_0x3d4c1c(0x816)][_0x3d4c1c(0x24c) + 'bsite'][_0x3d4c1c(0x4c8) + _0x3d4c1c(0x84e)](_0x1557a9); + } [_0x2992d7(0x408) + _0x2992d7(0x58a)]() { + const _0x20acc3 = _0x2992d7; + return window['parent']['YYGGamesWe' + _0x20acc3(0x5a9)]['canShowRew' + _0x20acc3(0x58a)](); + } [_0x2992d7(0x1c3)](_0x542007) { + const _0x5584a4 = _0x2992d7; + return window[_0x5584a4(0x816)][_0x5584a4(0x24c) + _0x5584a4(0x5a9)][_0x5584a4(0x1c3)](_0x542007), !0x0; + } [_0x2992d7(0x309)](_0x408d27) {} [_0x2992d7(0x2da)](_0xcaf7fe) {} ['showSplash'](_0x1e2d9a) { + return !0x0; + } [_0x2992d7(0x496)](_0x63c555) { + return !0x0; + } + } + _0x52ea70['default'] = _0x4dee31; + }, + 0x1680: (_0x17245a, _0x1b9f90) => { + 'use strict'; + const _0x2c227d = _0xb80e; + Object[_0x2c227d(0x501) + _0x2c227d(0x6a8)](_0x1b9f90, _0x2c227d(0x772), { + 'value': !0x0 + }); + class _0xf53406 { + constructor() { + const _0x2be37a = _0x2c227d; + this[_0x2be37a(0x2c8)] = new Map(); + } + static[_0x2c227d(0x610) + 'e']() { + const _0x5e1bd9 = _0x2c227d; + return this[_0x5e1bd9(0x43e)] || (this[_0x5e1bd9(0x43e)] = new _0xf53406()), this[_0x5e1bd9(0x43e)]; + } [_0x2c227d(0x6f3)](_0x4dbdab) { + const _0x3c4ce5 = _0x2c227d; + return this[_0x3c4ce5(0x2c8)][_0x3c4ce5(0x6f3)](_0x4dbdab); + } ['set'](_0x5df2c3, _0x54bb1d) { + const _0x2c2b1b = _0x2c227d; + this[_0x2c2b1b(0x2c8)][_0x2c2b1b(0x5b7)](_0x5df2c3, _0x54bb1d); + } + } + _0x1b9f90['default'] = _0xf53406; + }, + 0x1aad: (_0x22ebe6, _0x54eed7, _0x588c76) => { + 'use strict'; + const _0x3aa122 = _0xb80e; + Object[_0x3aa122(0x501) + _0x3aa122(0x6a8)](_0x54eed7, _0x3aa122(0x772), { + 'value': !0x0 + }); + const _0x46e415 = _0x588c76(0x2235); + class _0x3f7b2c extends _0x46e415[_0x3aa122(0x327)] { + [_0x3aa122(0x78f)]() { + return new Promise((_0x636ab4, _0x13566d) => { + const _0x1fefb1 = _0xb80e, + _0x2de069 = this, + _0x49f262 = document[_0x1fefb1(0x81d) + _0x1fefb1(0x871)](_0x1fefb1(0x1bb)); + _0x49f262[_0x1fefb1(0x303)] = function () { + const _0x394834 = _0x1fefb1, + _0x516b35 = window[_0x394834(0x703)][_0x394834(0x258)]['getInstanc' + 'e'](); + _0x516b35[_0x394834(0x77f) + _0x394834(0x564)](_0x394834(0x2ae) + 'd', () => { + const _0x40a620 = _0x394834; + _0x2de069[_0x40a620(0x3af) + 'zed'](), _0x636ab4(!0x0); + }), _0x516b35[_0x394834(0x78f)](); + }, _0x49f262[_0x1fefb1(0x382)] = function () { + _0x13566d(); + }, _0x49f262['src'] = 'https://sd' + _0x1fefb1(0x720) + _0x1fefb1(0x524) + _0x1fefb1(0x5a4) + 'k-v1.js', document['head'][_0x1fefb1(0x76a) + 'd'](_0x49f262); + }); + } ['onInitiali' + _0x3aa122(0x341)]() { + const _0x51401e = _0x3aa122; + console[_0x51401e(0x7ec)](_0x51401e(0x3af) + _0x51401e(0x341)); + const _0x5c0cc7 = window[_0x51401e(0x703)][_0x51401e(0x258)]['getInstanc' + 'e'](); + _0x5c0cc7[_0x51401e(0x77f) + _0x51401e(0x564)](_0x51401e(0x392), () => { + const _0x2a7c09 = _0x51401e; + this['options'] && this[_0x2a7c09(0x3b7)][_0x2a7c09(0x21e) + 'Ad'] && (this[_0x2a7c09(0x3b7)]['beforeShow' + 'Ad'](), this['options'][_0x2a7c09(0x21e) + 'Ad'] = null); + }), _0x5c0cc7[_0x51401e(0x77f) + _0x51401e(0x564)](_0x51401e(0x2b4), () => { + const _0x5a4a84 = _0x51401e; + this['options'] && this[_0x5a4a84(0x3b7)][_0x5a4a84(0x21e) + 'Ad'] && (this[_0x5a4a84(0x3b7)][_0x5a4a84(0x21e) + 'Ad'](), this[_0x5a4a84(0x3b7)][_0x5a4a84(0x21e) + 'Ad'] = null), this[_0x5a4a84(0x3b7)] && this['options']['afterShowA' + 'd'] && (this[_0x5a4a84(0x3b7)][_0x5a4a84(0x5e2) + 'd'](), this[_0x5a4a84(0x3b7)][_0x5a4a84(0x5e2) + 'd'] = null); + }), _0x5c0cc7['addEventLi' + _0x51401e(0x564)](_0x51401e(0x4c7), () => { + const _0x427c3f = _0x51401e; + this[_0x427c3f(0x3b7)] && this[_0x427c3f(0x3b7)][_0x427c3f(0x794) + _0x427c3f(0x38a)] && (this['options'][_0x427c3f(0x794) + 'lete'](), this[_0x427c3f(0x3b7)][_0x427c3f(0x794) + _0x427c3f(0x38a)] = null), this[_0x427c3f(0x3b7)] && this[_0x427c3f(0x3b7)][_0x427c3f(0x5e2) + 'd'] && (this[_0x427c3f(0x3b7)]['afterShowA' + 'd'](), this[_0x427c3f(0x3b7)]['afterShowA' + 'd'] = null); + }); + } ['showInters' + _0x3aa122(0x84e)](_0x551217) { + const _0xf859fe = _0x3aa122; + this[_0xf859fe(0x3b7)] = _0x551217, window[_0xf859fe(0x703)][_0xf859fe(0x258)][_0xf859fe(0x610) + 'e']()[_0xf859fe(0x874)](); + } [_0x3aa122(0x1c3)](_0x4559af) { + const _0x66e285 = _0x3aa122; + this[_0x66e285(0x3b7)] = _0x4559af, window[_0x66e285(0x703)][_0x66e285(0x258)]['getInstanc' + 'e']()['requestAd'](_0x66e285(0x619)); + } [_0x3aa122(0x408) + _0x3aa122(0x58a)]() { + return !0x0; + } + } + _0x54eed7[_0x3aa122(0x395)] = _0x3f7b2c; + }, + 0x1ea1: (_0xcaafc1, _0x5a36d4) => { + 'use strict'; + const _0x233986 = _0xb80e; + Object[_0x233986(0x501) + 'erty'](_0x5a36d4, '__esModule', { + 'value': !0x0 + }); + class _0x1fb8e5 { + constructor() { + const _0x16b8e0 = _0x233986; + this[_0x16b8e0(0x57c)] = {}; + } + static[_0x233986(0x610) + 'e']() { + const _0x280826 = _0x233986; + return this['_gInstance'] || (this[_0x280826(0x43e)] = new _0x1fb8e5()), this[_0x280826(0x43e)]; + } [_0x233986(0x4b6) + 'r'](_0x33dfa0) { + const _0x139146 = _0x233986; + return !(!this[_0x139146(0x57c)] || !this['_events'][_0x33dfa0]); + } [_0x233986(0x853)](_0x55261b, _0x4395cf = null) { + const _0x547e77 = _0x233986; + if (!this['_events'] || !this['_events'][_0x55261b]) return !0x1; + var _0x23d6fe = this[_0x547e77(0x57c)][_0x55261b]; + if (_0x23d6fe[_0x547e77(0x1f0)]) _0x23d6fe[_0x547e77(0x6fa)] && delete this[_0x547e77(0x57c)][_0x55261b], null != _0x4395cf ? _0x23d6fe['runWith'](_0x4395cf) : _0x23d6fe[_0x547e77(0x1f0)](); + else { + for (var _0x2985b8 = 0x0, _0x1e8715 = _0x23d6fe[_0x547e77(0x33e)]; _0x2985b8 < _0x1e8715; _0x2985b8++) { + var _0x57b2b9 = _0x23d6fe[_0x2985b8]; + _0x57b2b9 && (null != _0x4395cf ? _0x57b2b9[_0x547e77(0x7bc)](_0x4395cf) : _0x57b2b9['run']()), _0x57b2b9 && !_0x57b2b9[_0x547e77(0x6fa)] || (_0x23d6fe[_0x547e77(0x6e7)](_0x2985b8, 0x1), _0x2985b8--, _0x1e8715--); + } + 0x0 === _0x23d6fe[_0x547e77(0x33e)] && this[_0x547e77(0x57c)] && delete this['_events'][_0x55261b]; + } + return !0x0; + } ['on'](_0x445abc, _0x4cd14d, _0x1ff3e9, _0x5b03df = null) { + const _0x1901d6 = _0x233986; + return this[_0x1901d6(0x246) + _0x1901d6(0x79e)](_0x445abc, _0x4cd14d, _0x1ff3e9, _0x5b03df, !0x1); + } [_0x233986(0x6fa)](_0x4b00b0, _0x5e7e27, _0x279cb5, _0x34b5cd = null) { + const _0xa3f20f = _0x233986; + return this[_0xa3f20f(0x246) + _0xa3f20f(0x79e)](_0x4b00b0, _0x5e7e27, _0x279cb5, _0x34b5cd, !0x0); + } [_0x233986(0x246) + _0x233986(0x79e)](_0x4aca68, _0x4d571e, _0xfbad9f, _0x3d08ea, _0x58caac, _0x4b54e1 = !0x0) { + const _0x23c664 = _0x233986; + _0x4b54e1 && this['off'](_0x4aca68, _0x4d571e, _0xfbad9f, _0x58caac); + var _0x2f1127 = _0x49da58['create'](_0x4d571e || this, _0xfbad9f, _0x3d08ea, _0x58caac); + this[_0x23c664(0x57c)] || (this['_events'] = {}); + var _0xd77391 = this['_events']; + return _0xd77391[_0x4aca68] ? _0xd77391[_0x4aca68][_0x23c664(0x1f0)] ? _0xd77391[_0x4aca68] = [_0xd77391[_0x4aca68], _0x2f1127] : _0xd77391[_0x4aca68][_0x23c664(0x2c4)](_0x2f1127) : _0xd77391[_0x4aca68] = _0x2f1127, this; + } [_0x233986(0x361)](_0xf8a134, _0x287ae5, _0x4a078e, _0x21f515 = !0x1) { + const _0x1f9a1d = _0x233986; + if (!this[_0x1f9a1d(0x57c)] || !this[_0x1f9a1d(0x57c)][_0xf8a134]) return this; + var _0x1184dc = this[_0x1f9a1d(0x57c)][_0xf8a134]; + if (null != _0x1184dc) { + if (_0x1184dc[_0x1f9a1d(0x1f0)]) _0x287ae5 && _0x1184dc[_0x1f9a1d(0x82f)] !== _0x287ae5 || null != _0x4a078e && _0x1184dc[_0x1f9a1d(0x2f1)] !== _0x4a078e || _0x21f515 && !_0x1184dc['once'] || (delete this['_events'][_0xf8a134], _0x1184dc[_0x1f9a1d(0x599)]()); + else { + for (var _0x1d239b = 0x0, _0x4f4c31 = 0x0, _0x2fb3d5 = _0x1184dc[_0x1f9a1d(0x33e)]; _0x4f4c31 < _0x2fb3d5; _0x4f4c31++) { + var _0x29f6e1 = _0x1184dc[_0x4f4c31]; + _0x29f6e1 ? !_0x29f6e1 || _0x287ae5 && _0x29f6e1[_0x1f9a1d(0x82f)] !== _0x287ae5 || null != _0x4a078e && _0x29f6e1[_0x1f9a1d(0x2f1)] !== _0x4a078e || _0x21f515 && !_0x29f6e1[_0x1f9a1d(0x6fa)] || (_0x1d239b++, _0x1184dc[_0x4f4c31] = null, _0x29f6e1[_0x1f9a1d(0x599)]()) : _0x1d239b++; + } + _0x1d239b === _0x2fb3d5 && delete this['_events'][_0xf8a134]; + } + } + return this; + } [_0x233986(0x6e6)](_0x2324cb = null) { + const _0x238bbe = _0x233986; + var _0x259420 = this['_events']; + if (!_0x259420) return this; + if (_0x2324cb) this[_0x238bbe(0x33a) + 'ndlers'](_0x259420[_0x2324cb]), delete _0x259420[_0x2324cb]; + else { + for (var _0x27c0c8 in _0x259420) this['_recoverHa' + 'ndlers'](_0x259420[_0x27c0c8]); + this[_0x238bbe(0x57c)] = null; + } + return this; + } [_0x233986(0x346) + 'er'](_0x76d376) { + const _0x2b3c38 = _0x233986; + if (_0x76d376 && this[_0x2b3c38(0x57c)]) { + for (var _0x461d54 in this[_0x2b3c38(0x57c)]) this[_0x2b3c38(0x361)](_0x461d54, _0x76d376, null); + } + return this; + } [_0x233986(0x33a) + _0x233986(0x407)](_0x4a3e4f) { + const _0x56c94d = _0x233986; + if (_0x4a3e4f) { + if (_0x4a3e4f[_0x56c94d(0x1f0)]) _0x4a3e4f['recover'](); + else { + for (var _0x5de0e0 = _0x4a3e4f[_0x56c94d(0x33e)] - 0x1; _0x5de0e0 > -0x1; _0x5de0e0--) _0x4a3e4f[_0x5de0e0] && (_0x4a3e4f[_0x5de0e0][_0x56c94d(0x599)](), _0x4a3e4f[_0x5de0e0] = null); + } + } + } + } + _0x5a36d4[_0x233986(0x395)] = _0x1fb8e5; + class _0x458fdf { + constructor(_0x415a84 = null, _0xc3e7b1 = null, _0x30e55c = null, _0x1ebc4f = !0x1) { + const _0x57a4dd = _0x233986; + this[_0x57a4dd(0x6fa)] = !0x1, this['_id'] = 0x0, this[_0x57a4dd(0x1f7)](_0x415a84, _0xc3e7b1, _0x30e55c, _0x1ebc4f); + } [_0x233986(0x1f7)](_0x2b0a6d, _0x1faec8, _0xe0922a, _0x26a21e = !0x1) { + const _0x4ddcdc = _0x233986; + return this[_0x4ddcdc(0x474)] = _0x458fdf[_0x4ddcdc(0x67c)]++, this['caller'] = _0x2b0a6d, this[_0x4ddcdc(0x2f1)] = _0x1faec8, this[_0x4ddcdc(0x4b4)] = _0xe0922a, this['once'] = _0x26a21e, this; + } [_0x233986(0x1f0)]() { + const _0x143de6 = _0x233986; + if (null == this[_0x143de6(0x2f1)]) return null; + var _0x310a74 = this[_0x143de6(0x474)], + _0x1ff27d = this[_0x143de6(0x2f1)][_0x143de6(0x28a)](this[_0x143de6(0x82f)], this[_0x143de6(0x4b4)]); + return this[_0x143de6(0x474)] === _0x310a74 && this[_0x143de6(0x6fa)] && this[_0x143de6(0x599)](), _0x1ff27d; + } [_0x233986(0x7bc)](_0x572c5e) { + const _0x800de = _0x233986; + if (null == this[_0x800de(0x2f1)]) return null; + var _0x5b3bb3 = this['_id']; + if (null == _0x572c5e) var _0x37f47a = this['method'][_0x800de(0x28a)](this['caller'], this[_0x800de(0x4b4)]); + else _0x37f47a = this[_0x800de(0x4b4)] || _0x572c5e['unshift'] ? this['args'] ? this['method'][_0x800de(0x28a)](this['caller'], this[_0x800de(0x4b4)][_0x800de(0x49b)](_0x572c5e)) : this['method']['apply'](this['caller'], _0x572c5e) : this[_0x800de(0x2f1)]['call'](this['caller'], _0x572c5e); + return this[_0x800de(0x474)] === _0x5b3bb3 && this[_0x800de(0x6fa)] && this[_0x800de(0x599)](), _0x37f47a; + } [_0x233986(0x5cf)]() { + const _0x2a1098 = _0x233986; + return this[_0x2a1098(0x82f)] = null, this[_0x2a1098(0x2f1)] = null, this[_0x2a1098(0x4b4)] = null, this; + } [_0x233986(0x599)]() { + const _0x27be5b = _0x233986; + this[_0x27be5b(0x474)] > 0x0 && (this[_0x27be5b(0x474)] = 0x0, _0x458fdf[_0x27be5b(0x819)][_0x27be5b(0x2c4)](this[_0x27be5b(0x5cf)]())); + } + static[_0x233986(0x36d)](_0x27114e, _0x1335a5, _0x53c03d = null, _0x29775f = !0x0) { + const _0x182879 = _0x233986; + return _0x458fdf[_0x182879(0x819)]['length'] ? _0x458fdf[_0x182879(0x819)][_0x182879(0x753)]()['setTo'](_0x27114e, _0x1335a5, _0x53c03d, _0x29775f) : new _0x458fdf(_0x27114e, _0x1335a5, _0x53c03d, _0x29775f); + } + } + _0x458fdf[_0x233986(0x819)] = [], _0x458fdf[_0x233986(0x67c)] = 0x1; + class _0x49da58 extends _0x458fdf { + constructor(_0x2f5e50, _0x21c4ee, _0x4ed913, _0x2739ac) { + super(_0x2f5e50, _0x21c4ee, _0x4ed913, _0x2739ac); + } [_0x233986(0x599)]() { + const _0xa00be8 = _0x233986; + this[_0xa00be8(0x474)] > 0x0 && (this[_0xa00be8(0x474)] = 0x0, _0x49da58[_0xa00be8(0x819)][_0xa00be8(0x2c4)](this[_0xa00be8(0x5cf)]())); + } + static['create'](_0x19d86d, _0x1d50b2, _0x716d29 = null, _0x1f3e0c = !0x0) { + const _0x20b5f8 = _0x233986; + return _0x49da58[_0x20b5f8(0x819)]['length'] ? _0x49da58[_0x20b5f8(0x819)]['pop']()[_0x20b5f8(0x1f7)](_0x19d86d, _0x1d50b2, _0x716d29, _0x1f3e0c) : new _0x49da58(_0x19d86d, _0x1d50b2, _0x716d29, _0x1f3e0c); + } + } + _0x49da58[_0x233986(0x819)] = []; + }, + 0x127c: function (_0x1cd60f, _0xf02c17, _0x325aba) { + 'use strict'; + const _0x37063e = _0xb80e; + var _0x50ce5d = this && this[_0x37063e(0x343) + _0x37063e(0x3a7)] || function (_0x25c92f) { + const _0x35f990 = _0x37063e; + return _0x25c92f && _0x25c92f[_0x35f990(0x772)] ? _0x25c92f : { + 'default': _0x25c92f + }; + }; + Object[_0x37063e(0x501) + 'erty'](_0xf02c17, _0x37063e(0x772), { + 'value': !0x0 + }); + const _0x361310 = _0x50ce5d(_0x325aba(0x1ea1)); + class _0x55451f { + static[_0x37063e(0x610) + 'e']() { + const _0x19afba = _0x37063e; + return this[_0x19afba(0x43e)] || (this[_0x19afba(0x43e)] = new _0x55451f()), this[_0x19afba(0x43e)]; + } [_0x37063e(0x1ea)]() { + return new Promise((_0x391f3d, _0x48b26d) => { + const _0x25fd41 = _0xb80e; + FBInstant[_0x25fd41(0x2ae) + _0x25fd41(0x219)]()['then'](() => { + _0x391f3d(!0x0); + }); + }); + } [_0x37063e(0x3e0) + _0x37063e(0x3ce)](_0x587e87) { + const _0x5d1d92 = _0x37063e; + FBInstant['setLoading' + _0x5d1d92(0x3ce)](_0x587e87), _0x587e87 >= 0x64 && FBInstant[_0x5d1d92(0x863) + 'sync'](); + } ['showInters' + _0x37063e(0x84e)](_0x1f0796) { + const _0x47a257 = _0x37063e; + let _0x125a29; + return FBInstant[_0x47a257(0x4ba) + _0x47a257(0x2d9) + 'nc'](_0x47a257(0x36a) + _0x47a257(0x695) + '5347614233' + '4')[_0x47a257(0x197)](_0x529cde => (_0x125a29 = _0x529cde, _0x125a29[_0x47a257(0x417)]()))[_0x47a257(0x197)](() => (_0x1f0796 && _0x1f0796[_0x47a257(0x21e) + 'Ad'] && (_0x1f0796['beforeShow' + 'Ad'](), _0x1f0796[_0x47a257(0x21e) + 'Ad'] = null), _0x125a29[_0x47a257(0x4da)]()))[_0x47a257(0x197)](() => { + const _0x20ed43 = _0x47a257; + _0x1f0796 && _0x1f0796[_0x20ed43(0x5e2) + 'd'] && (_0x1f0796['afterShowA' + 'd'](), _0x1f0796[_0x20ed43(0x5e2) + 'd'] = null); + })[_0x47a257(0x2c0)](() => { + const _0xd972ec = _0x47a257; + _0x1f0796 && _0x1f0796['afterShowA' + 'd'] && (_0x1f0796[_0xd972ec(0x5e2) + 'd'](), _0x1f0796['afterShowA' + 'd'] = null); + }), !0x0; + } [_0x37063e(0x408) + _0x37063e(0x58a)]() { + return !0x0; + } ['showReward'](_0x3b043c) { + const _0x145d94 = _0x37063e; + let _0x4dee44; + return this['rewardOpti' + 'ons'] = _0x3b043c, FBInstant['getRewarde' + _0x145d94(0x45c) + 'c'](_0x145d94(0x36a) + _0x145d94(0x695) + _0x145d94(0x7d9) + '6')['then'](_0x4f9fcc => (_0x4dee44 = _0x4f9fcc, _0x4dee44[_0x145d94(0x417)]()))[_0x145d94(0x197)](() => (this[_0x145d94(0x463) + 'fore'](), _0x4dee44[_0x145d94(0x4da)]()))[_0x145d94(0x197)](_0x3b9d5c => { + const _0x19b7a2 = _0x145d94; + console[_0x19b7a2(0x7ec)](_0x19b7a2(0x412) + _0x19b7a2(0x781) + _0x19b7a2(0x736), _0x3b9d5c), this[_0x19b7a2(0x69e) + _0x19b7a2(0x760)](), this[_0x19b7a2(0x538) + _0x19b7a2(0x75d)](); + })[_0x145d94(0x2c0)](_0x7f4e1e => { + const _0x135b83 = _0x145d94; + this['onRewardDi' + _0x135b83(0x4e3)](), this[_0x135b83(0x538) + _0x135b83(0x75d)](); + }), !0x0; + } [_0x37063e(0x463) + _0x37063e(0x245)]() { + const _0x2ca951 = _0x37063e; + _0x361310[_0x2ca951(0x395)]['getInstanc' + 'e']()['event'](_0x2ca951(0x21e) + 'Ad'), this[_0x2ca951(0x4aa) + 'ons'][_0x2ca951(0x21e) + 'Ad'] && this[_0x2ca951(0x4aa) + 'ons']['beforeShow' + 'Ad'](), this['rewardOpti' + _0x2ca951(0x336)][_0x2ca951(0x21e) + 'Ad'] = null; + } [_0x37063e(0x538) + 'ter']() { + const _0x46e725 = _0x37063e; + window[_0x46e725(0x1d8)](), this[_0x46e725(0x4aa) + 'ons'][_0x46e725(0x5e2) + 'd'] && this[_0x46e725(0x4aa) + _0x46e725(0x336)][_0x46e725(0x5e2) + 'd'](), this['rewardOpti' + 'ons'][_0x46e725(0x5e2) + 'd'] = null, _0x361310[_0x46e725(0x395)]['getInstanc' + 'e']()[_0x46e725(0x853)](_0x46e725(0x5e2) + 'd'); + } [_0x37063e(0x507) + _0x37063e(0x4e3)]() { + const _0x34fef1 = _0x37063e; + this[_0x34fef1(0x4aa) + _0x34fef1(0x336)]['rewardDism' + 'issed'] && this['rewardOpti' + _0x34fef1(0x336)]['rewardDism' + _0x34fef1(0x311)](), this[_0x34fef1(0x4aa) + _0x34fef1(0x336)][_0x34fef1(0x6fd) + 'issed'] = null; + } [_0x37063e(0x69e) + _0x37063e(0x760)]() { + const _0x1875f7 = _0x37063e; + this[_0x1875f7(0x4aa) + _0x1875f7(0x336)][_0x1875f7(0x794) + _0x1875f7(0x38a)] && this[_0x1875f7(0x4aa) + _0x1875f7(0x336)][_0x1875f7(0x794) + _0x1875f7(0x38a)](), this['rewardOpti' + _0x1875f7(0x336)][_0x1875f7(0x794) + _0x1875f7(0x38a)] = null; + } ['showBanner'](_0x4e6148) {} [_0x37063e(0x2da)](_0x448e8f) {} [_0x37063e(0x64c)](_0x4c8366) {} [_0x37063e(0x496)](_0x4d6019) {} + } + _0xf02c17[_0x37063e(0x395)] = _0x55451f; + }, + 0x42: function (_0x1aa047, _0x3ca6a4, _0x1792b2) { + 'use strict'; + const _0x4cd731 = _0xb80e; + var _0x539305 = this && this[_0x4cd731(0x343) + _0x4cd731(0x3a7)] || function (_0x5cbb64) { + return _0x5cbb64 && _0x5cbb64['__esModule'] ? _0x5cbb64 : { + 'default': _0x5cbb64 + }; + }; + Object['defineProp' + 'erty'](_0x3ca6a4, _0x4cd731(0x772), { + 'value': !0x0 + }); + const _0x1db362 = _0x1792b2(0x24b7), + _0x5e9472 = _0x1792b2(0x139f), + _0x2fdf3e = _0x1792b2(0x2235), + _0x4a4101 = _0x539305(_0x1792b2(0x4e)), + _0x1a07c2 = _0x539305(_0x1792b2(0x1c5c)), + _0x493d1a = _0x539305(_0x1792b2(0x92e)), + _0x7f84d0 = _0x539305(_0x1792b2(0x1680)), + _0x55cf42 = _0x539305(_0x1792b2(0x1ea1)); + class _0x13e00e extends _0x2fdf3e[_0x4cd731(0x327)] { + constructor() { + const _0x7dbd2a = _0x4cd731; + super(...arguments), this[_0x7dbd2a(0x201)] = !0x1, this[_0x7dbd2a(0x1f8) + _0x7dbd2a(0x37f)] = !0x1; + } [_0x4cd731(0x78f)]() { + return new Promise((_0x2a0beb, _0x59d3cc) => { + const _0x317833 = _0xb80e; + this['startupCom' + _0x317833(0x2ef)] = function () { + _0x2a0beb(!0x0); + }, this[_0x317833(0x678) + 'or'] = _0x59d3cc, window[_0x317833(0x61d)] = { + 'gameId': _0x7f84d0['default']['getInstanc' + 'e']()['get'](_0x5e9472[_0x317833(0x1ac)]['en_GAMEDIS' + _0x317833(0x3d0) + 'D']), + 'onEvent': this[_0x317833(0x321)][_0x317833(0x570)](this) + }; + var _0x1dd46b = document[_0x317833(0x81d) + _0x317833(0x871)](_0x317833(0x1bb)); + _0x1dd46b['onload'] = function () {}, _0x1dd46b[_0x317833(0x382)] = function () { + _0x59d3cc(); + }, _0x1dd46b['src'] = _0x317833(0x2c7) + _0x317833(0x47f) + _0x317833(0x1a8) + _0x317833(0x380) + 'ain.min.js', document[_0x317833(0x451)]['appendChil' + 'd'](_0x1dd46b); + }); + } ['onEvent'](_0x5a21a8) { + const _0x277a2b = _0x4cd731; + switch (_0x493d1a[_0x277a2b(0x395)][_0x277a2b(0x1e1)](_0x5a21a8), console[_0x277a2b(0x7ec)](_0x277a2b(0x5ce), _0x5a21a8), _0x5a21a8[_0x277a2b(0x1ab)]) { + case _0x277a2b(0x7a9): + this[_0x277a2b(0x678) + 'or'] && (this[_0x277a2b(0x678) + 'or'](), this['startupErr' + 'or'] = null); + break; + case _0x277a2b(0x7f6): + _0x277a2b(0x750) == _0x5a21a8['message'] && (this[_0x277a2b(0x3b7)] && this['options'][_0x277a2b(0x6fd) + _0x277a2b(0x311)] && this[_0x277a2b(0x3b7)]['rewardDism' + _0x277a2b(0x311)](), this['options']['rewardDism' + _0x277a2b(0x311)] = null), _0x1a07c2['default'][_0x277a2b(0x70c) + 'g'](); + break; + case 'SDK_GAME_S' + _0x277a2b(0x200): + this[_0x277a2b(0x201)] && (this['isReward'] = !0x1, this['preloadRew' + 'ard']()), this[_0x277a2b(0x87c) + _0x277a2b(0x700)](), _0x1a07c2[_0x277a2b(0x395)][_0x277a2b(0x70c) + 'g'](), _0x4a4101[_0x277a2b(0x395)]['getInstanc' + 'e']()[_0x277a2b(0x853)](_0x1db362['AdEvent'][_0x277a2b(0x5e2) + 'd']); + break; + case _0x277a2b(0x215) + _0x277a2b(0x5cb): + this[_0x277a2b(0x634) + _0x277a2b(0x5c3)](), _0x1a07c2[_0x277a2b(0x395)]['hideLoadin' + 'g'](), _0x4a4101[_0x277a2b(0x395)][_0x277a2b(0x610) + 'e']()['event'](_0x1db362[_0x277a2b(0x80e)][_0x277a2b(0x21e) + 'Ad']); + break; + case _0x277a2b(0x735): + case _0x277a2b(0x875) + _0x277a2b(0x608): + case 'CONTENT_RE' + 'SUME_REQUE' + _0x277a2b(0x287): + break; + case 'SDK_READY': + this[_0x277a2b(0x1a9) + 'plete'] && this[_0x277a2b(0x1a9) + _0x277a2b(0x2ef)](!0x0), this[_0x277a2b(0x1a9) + _0x277a2b(0x2ef)] = null, this['preloadRew' + _0x277a2b(0x58a)](); + break; + case _0x277a2b(0x74b) + _0x277a2b(0x658): + break; + case _0x277a2b(0x3c4) + 'D': + case _0x277a2b(0x6e2): + _0x1a07c2[_0x277a2b(0x395)]['hideLoadin' + 'g'](), this[_0x277a2b(0x3b7)] && this[_0x277a2b(0x3b7)][_0x277a2b(0x6fd) + _0x277a2b(0x311)] && this['options'][_0x277a2b(0x6fd) + 'issed'](), this['options'][_0x277a2b(0x6fd) + _0x277a2b(0x311)] = null, this[_0x277a2b(0x87c) + 'wAd'](); + break; + case 'SDK_REWARD' + 'ED_WATCH_C' + _0x277a2b(0x50c): + this[_0x277a2b(0x3b7)] && this[_0x277a2b(0x3b7)][_0x277a2b(0x794) + _0x277a2b(0x38a)] && (this[_0x277a2b(0x3b7)][_0x277a2b(0x794) + _0x277a2b(0x38a)](), this['options'][_0x277a2b(0x794) + _0x277a2b(0x38a)] = null); + case _0x277a2b(0x37b): + case _0x277a2b(0x706) + _0x277a2b(0x855): + _0x1a07c2['default'][_0x277a2b(0x70c) + 'g'](); + } + } ['showInters' + _0x4cd731(0x84e)](_0x1e69f9) { + const _0x322299 = _0x4cd731; + return this[_0x322299(0x3b7)] = 'function' == typeof _0x1e69f9 ? { + 'afterShowAd': _0x1e69f9 + } : _0x1e69f9, _0x1a07c2['default']['trace'](_0x322299(0x1fd) + 'd'), _0x1a07c2[_0x322299(0x395)][_0x322299(0x41c) + 'g'](), this[_0x322299(0x201)] = !0x1, this[_0x322299(0x634) + _0x322299(0x5c3)](), window[_0x322299(0x57e)]['showAd'](), !0x0; + } [_0x4cd731(0x634) + _0x4cd731(0x5c3)]() { + const _0x376bbc = _0x4cd731; + window[_0x376bbc(0x5ec)](); + const _0x375dbc = document[_0x376bbc(0x6b9) + _0x376bbc(0x312)](_0x376bbc(0x2ca) + _0x376bbc(0x3d3)); + _0x375dbc && (_0x375dbc['style'][_0x376bbc(0x30a)] = ''), this[_0x376bbc(0x3b7)] && this[_0x376bbc(0x3b7)]['beforeShow' + 'Ad'] && (this['options']['beforeShow' + 'Ad'](), this['options'][_0x376bbc(0x21e) + 'Ad'] = null), _0x4a4101[_0x376bbc(0x395)]['getInstanc' + 'e']()[_0x376bbc(0x853)](_0x1db362[_0x376bbc(0x80e)][_0x376bbc(0x21e) + 'Ad'], [{}]), _0x55cf42[_0x376bbc(0x395)][_0x376bbc(0x610) + 'e']()[_0x376bbc(0x853)](_0x376bbc(0x21e) + 'Ad'); + } [_0x4cd731(0x87c) + 'wAd']() { + const _0x3a851e = _0x4cd731; + window['focus'](); + const _0x364b00 = document[_0x3a851e(0x6b9) + 'ById'](_0x3a851e(0x2ca) + _0x3a851e(0x3d3)); + _0x364b00 && (_0x364b00[_0x3a851e(0x622)][_0x3a851e(0x30a)] = _0x3a851e(0x3b6)), this[_0x3a851e(0x3b7)] && this[_0x3a851e(0x3b7)][_0x3a851e(0x5e2) + 'd'] && (this[_0x3a851e(0x3b7)][_0x3a851e(0x5e2) + 'd'](), this['options'][_0x3a851e(0x5e2) + 'd'] = null), _0x4a4101[_0x3a851e(0x395)][_0x3a851e(0x610) + 'e']()['event'](_0x1db362[_0x3a851e(0x80e)][_0x3a851e(0x5e2) + 'd'], [{}]), _0x55cf42[_0x3a851e(0x395)][_0x3a851e(0x610) + 'e']()[_0x3a851e(0x853)](_0x3a851e(0x5e2) + 'd'); + } [_0x4cd731(0x1c3)](_0x39726d) { + const _0x51a139 = _0x4cd731; + _0x1a07c2[_0x51a139(0x395)][_0x51a139(0x41c) + 'g'](), this['options'] = _0x39726d, this[_0x51a139(0x201)] = !0x0, this[_0x51a139(0x634) + _0x51a139(0x5c3)](), window[_0x51a139(0x57e)]['showAd']('rewarded'); + } [_0x4cd731(0x519) + _0x4cd731(0x58a)]() { + const _0x9fa219 = _0x4cd731; + this['isCanShowR' + _0x9fa219(0x37f)] = !0x1; + const _0x233d9c = this; + setTimeout(function () { + const _0x38a6b5 = _0x9fa219; + window['gdsdk'][_0x38a6b5(0x55c)](_0x38a6b5(0x619))[_0x38a6b5(0x197)](function (_0xac2ac1) { + _0x233d9c['isCanShowR' + 'eward'] = !0x0; + })[_0x38a6b5(0x2c0)](function (_0x36779e) { + const _0x2ee441 = _0x38a6b5; + console[_0x2ee441(0x7ec)](_0x2ee441(0x4e9), _0x36779e), _0x233d9c[_0x2ee441(0x519) + _0x2ee441(0x58a)](); + }); + }, 0x1f4); + } [_0x4cd731(0x408) + _0x4cd731(0x58a)]() { + const _0x542b35 = _0x4cd731; + return this[_0x542b35(0x1f8) + _0x542b35(0x37f)]; + } + } + _0x3ca6a4[_0x4cd731(0x395)] = _0x13e00e; + }, + 0x2350: function (_0x29612b, _0x206e63, _0x1f1d7f) { + 'use strict'; + const _0x3e0861 = _0xb80e; + var _0x540b43 = this && this[_0x3e0861(0x343) + _0x3e0861(0x3a7)] || function (_0x2c1318) { + const _0x5d75e1 = _0x3e0861; + return _0x2c1318 && _0x2c1318[_0x5d75e1(0x772)] ? _0x2c1318 : { + 'default': _0x2c1318 + }; + }; + Object[_0x3e0861(0x501) + _0x3e0861(0x6a8)](_0x206e63, _0x3e0861(0x772), { + 'value': !0x0 + }); + const _0x1c8456 = _0x1f1d7f(0x139f), + _0x16134f = _0x540b43(_0x1f1d7f(0x1c5c)), + _0x594acd = _0x540b43(_0x1f1d7f(0x92e)), + _0x5c41d6 = _0x540b43(_0x1f1d7f(0x1680)); + class _0x277018 { + constructor() { + const _0x44f5ae = _0x3e0861; + this[_0x44f5ae(0x201)] = !0x1, this[_0x44f5ae(0x539)] = !0x1, this[_0x44f5ae(0x1f8) + _0x44f5ae(0x37f)] = !0x1; + } + static[_0x3e0861(0x610) + 'e']() { + const _0x5836fc = _0x3e0861; + return this[_0x5836fc(0x43e)] || (this[_0x5836fc(0x43e)] = new _0x277018()), this['_gInstance']; + } [_0x3e0861(0x78f)]() { + return new Promise((_0x29387c, _0x1743c8) => { + const _0x47b5c4 = _0xb80e; + this['startupCom' + 'plete'] = _0x29387c, this[_0x47b5c4(0x678) + 'or'] = _0x1743c8, window[_0x47b5c4(0x4db) + 'S'] = { + 'gameId': _0x5c41d6[_0x47b5c4(0x395)][_0x47b5c4(0x610) + 'e']()[_0x47b5c4(0x6f3)](_0x1c8456[_0x47b5c4(0x1ac)][_0x47b5c4(0x227) + 'ETIZEID']), + 'onEvent': this[_0x47b5c4(0x321)][_0x47b5c4(0x570)](this) + }; + var _0x400cfb = document['createElem' + _0x47b5c4(0x871)](_0x47b5c4(0x1bb)); + _0x400cfb[_0x47b5c4(0x303)] = function () {}, _0x400cfb[_0x47b5c4(0x382)] = function () { + _0x1743c8(); + }, _0x400cfb[_0x47b5c4(0x318)] = 'https://ap' + 'i.gamemone' + _0x47b5c4(0x7d6) + 'dk.js', document[_0x47b5c4(0x451)][_0x47b5c4(0x76a) + 'd'](_0x400cfb); + }); + } [_0x3e0861(0x321)](_0x20c4a8) { + const _0x51fa70 = _0x3e0861; + switch (_0x594acd[_0x51fa70(0x395)]['trace'](_0x20c4a8), _0x20c4a8[_0x51fa70(0x1ab)]) { + case 'SDK_ERROR': + this[_0x51fa70(0x678) + 'or'] && (this[_0x51fa70(0x678) + 'or'](), this[_0x51fa70(0x678) + 'or'] = null); + break; + case _0x51fa70(0x7f6): + case _0x51fa70(0x875) + _0x51fa70(0x608): + _0x16134f[_0x51fa70(0x395)][_0x51fa70(0x70c) + 'g'](); + break; + case _0x51fa70(0x83f) + _0x51fa70(0x200): + this[_0x51fa70(0x201)] && (this[_0x51fa70(0x539)] ? this['options'] && this[_0x51fa70(0x3b7)]['rewardComp' + _0x51fa70(0x38a)] && (this['options'][_0x51fa70(0x794) + _0x51fa70(0x38a)](), this[_0x51fa70(0x3b7)][_0x51fa70(0x794) + 'lete'] = null) : this[_0x51fa70(0x3b7)] && this[_0x51fa70(0x3b7)][_0x51fa70(0x6fd) + 'issed'] && (this[_0x51fa70(0x3b7)][_0x51fa70(0x6fd) + _0x51fa70(0x311)](), this[_0x51fa70(0x3b7)]['rewardDism' + _0x51fa70(0x311)] = null)), this[_0x51fa70(0x3b7)] && this[_0x51fa70(0x3b7)][_0x51fa70(0x5e2) + 'd'] && (this[_0x51fa70(0x3b7)][_0x51fa70(0x5e2) + 'd'](), this[_0x51fa70(0x3b7)][_0x51fa70(0x5e2) + 'd'] = null), _0x16134f['default'][_0x51fa70(0x70c) + 'g'](); + break; + case _0x51fa70(0x215) + 'AUSE': + this[_0x51fa70(0x3b7)] && this['options']['beforeShow' + 'Ad'] && (this['options'][_0x51fa70(0x21e) + 'Ad'](), this[_0x51fa70(0x3b7)][_0x51fa70(0x21e) + 'Ad'] = null), this['isReward'] && (this[_0x51fa70(0x539)] = !0x0), _0x16134f[_0x51fa70(0x395)][_0x51fa70(0x70c) + 'g'](); + break; + case _0x51fa70(0x735): + case _0x51fa70(0x875) + _0x51fa70(0x608): + case _0x51fa70(0x5de) + _0x51fa70(0x2dd) + _0x51fa70(0x287): + case _0x51fa70(0x74b) + _0x51fa70(0x658): + case _0x51fa70(0x3c4) + 'D': + case _0x51fa70(0x6e2): + case _0x51fa70(0x37b): + default: + break; + case _0x51fa70(0x656): + this[_0x51fa70(0x1a9) + _0x51fa70(0x2ef)] && this[_0x51fa70(0x1a9) + 'plete'](!0x0), this[_0x51fa70(0x1a9) + 'plete'] = null; + } + } [_0x3e0861(0x4c8) + 'titial'](_0x2c8b35) { + const _0x4fcca1 = _0x3e0861; + return _0x16134f[_0x4fcca1(0x395)]['showLoadin' + 'g'](), this[_0x4fcca1(0x3b7)] = _0x2c8b35, this['isReward'] = !0x1, this[_0x4fcca1(0x634) + _0x4fcca1(0x5c3)](), window[_0x4fcca1(0x28f)][_0x4fcca1(0x309)](), !0x0; + } ['showReward'](_0x1f7e2b) { + const _0x524404 = _0x3e0861; + _0x16134f[_0x524404(0x395)]['showLoadin' + 'g'](), this[_0x524404(0x3b7)] = _0x1f7e2b, this[_0x524404(0x201)] = !0x0, this[_0x524404(0x539)] = !0x1, this[_0x524404(0x634) + _0x524404(0x5c3)](), window[_0x524404(0x28f)][_0x524404(0x309)](_0x524404(0x619)); + } ['onBeforeSh' + 'owAd']() { + const _0x366961 = _0x3e0861; + this[_0x366961(0x3b7)] && this[_0x366961(0x3b7)]['beforeShow' + 'Ad'] && (this['options'][_0x366961(0x21e) + 'Ad'](), this[_0x366961(0x3b7)]['beforeShow' + 'Ad'] = null); + } [_0x3e0861(0x408) + _0x3e0861(0x58a)]() { + const _0x5eac23 = _0x3e0861; + return this[_0x5eac23(0x1f8) + _0x5eac23(0x37f)]; + } + } + _0x206e63[_0x3e0861(0x395)] = _0x277018; + }, + 0x84b: function (_0x2daed9, _0xc7af20, _0x315760) { + 'use strict'; + const _0xad89b3 = _0xb80e; + var _0x16c2ec = this && this['__importDe' + 'fault'] || function (_0x42c226) { + const _0x4e0484 = _0xb80e; + return _0x42c226 && _0x42c226[_0x4e0484(0x772)] ? _0x42c226 : { + 'default': _0x42c226 + }; + }; + Object[_0xad89b3(0x501) + _0xad89b3(0x6a8)](_0xc7af20, _0xad89b3(0x772), { + 'value': !0x0 + }); + const _0x4df4fc = _0x315760(0x2235), + _0x5ad7dd = _0x16c2ec(_0x315760(0x10e7)), + _0x4f5999 = _0x16c2ec(_0x315760(0x1c5c)); + class _0x4d59d1 extends _0x4df4fc[_0xad89b3(0x327)] { + constructor() { + const _0x51c542 = _0xad89b3; + super(...arguments), this[_0x51c542(0x47a)] = !0x0, this[_0x51c542(0x72e)] = _0x51c542(0x71e); + } [_0xad89b3(0x78f)]() { + return new Promise((_0xcf50e2, _0x5cff6d) => { + const _0x1a58c3 = _0xb80e, + _0x5075f6 = document[_0x1a58c3(0x81d) + _0x1a58c3(0x871)]('script'); + _0x5075f6[_0x1a58c3(0x303)] = () => { + const _0x39a197 = _0x1a58c3; + this[_0x39a197(0x28f)] = new window[(_0x39a197(0x50b))][(_0x39a197(0x3e1))]({ + 'cpid': this[_0x39a197(0x72e)], + 'sound': !0x1 + }), _0x5ad7dd[_0x39a197(0x395)]['getInstanc' + 'e']()['trace'](_0x39a197(0x4f5) + _0x39a197(0x78f)), this[_0x39a197(0x28f)]['ready'](() => { + const _0x7dc980 = _0x39a197; + this[_0x7dc980(0x28f)][_0x7dc980(0x35c) + _0x7dc980(0x6e3)](function () { + return { + 'coin': 0x2710, + 'level': 0x2710 + }; + }), _0x5ad7dd['default']['getInstanc' + 'e']()['trace']('kfreegame ' + _0x7dc980(0x7fb), this[_0x7dc980(0x72e)]), setInterval(this['query'][_0x7dc980(0x570)](this), 0x3e8), _0xcf50e2(!0x0); + }); + }, _0x5075f6['onerror'] = function () { + _0x5cff6d(); + }; + let _0x2af8e5 = new URLSearchParams(location[_0x1a58c3(0x30f)])[_0x1a58c3(0x6f3)](_0x1a58c3(0x5fb)); + _0x5075f6[_0x1a58c3(0x318)] = _0x2af8e5 ? 'https://ww' + _0x1a58c3(0x850) + _0x1a58c3(0x6ba) + _0x1a58c3(0x3dd) + '.js' : _0x1a58c3(0x88f) + 'w.kfreegam' + _0x1a58c3(0x6ba) + _0x1a58c3(0x194), document['head'][_0x1a58c3(0x76a) + 'd'](_0x5075f6), _0x4f5999[_0x1a58c3(0x395)]['ga']('UA-2030019' + _0x1a58c3(0x643)); + }); + } ['create'](_0x17f63c, _0xe75623) { + const _0x243e1d = _0xad89b3, + _0x14aced = {}; + _0x243e1d(0x292) != _0x17f63c && (_0x14aced[_0x243e1d(0x566)] = function () {}, _0x14aced['onAfter'] = function () { + const _0x51596b = _0x243e1d; + _0xe75623 && _0xe75623['afterShowA' + 'd'] && (_0xe75623[_0x51596b(0x5e2) + 'd'](), _0xe75623[_0x51596b(0x5e2) + 'd'] = null), window[_0x51596b(0x1d8)](); + }), _0x14aced[_0x243e1d(0x3cf)] = function () { + const _0x4d567a = _0x243e1d; + _0xe75623 && _0xe75623[_0x4d567a(0x5e2) + 'd'] && (_0xe75623[_0x4d567a(0x5e2) + 'd'](), _0xe75623[_0x4d567a(0x5e2) + 'd'] = null), window[_0x4d567a(0x1d8)](); + }, this[_0x243e1d(0x28f)][_0x243e1d(0x874)](_0x17f63c, _0x14aced); + } [_0xad89b3(0x4c8) + 'titial'](_0x578c24) { + const _0x1f8d0b = _0xad89b3; + _0x578c24 && _0x578c24[_0x1f8d0b(0x21e) + 'Ad'] && (_0x578c24[_0x1f8d0b(0x21e) + 'Ad'](), _0x578c24[_0x1f8d0b(0x21e) + 'Ad'] = null), _0x5ad7dd[_0x1f8d0b(0x395)][_0x1f8d0b(0x610) + 'e']()[_0x1f8d0b(0x1e1)](_0x1f8d0b(0x4c8) + 'titial'); + let _0x593aae = this[_0x1f8d0b(0x47a)] ? _0x1f8d0b(0x292) : 'next'; + this[_0x1f8d0b(0x36d)](_0x593aae, _0x578c24), this[_0x1f8d0b(0x47a)] = !0x1; + } ['showReward'](_0x49d373) { + const _0x5f5a79 = _0xad89b3; + if (this[_0x5f5a79(0x831)]) return this[_0x5f5a79(0x4aa) + _0x5f5a79(0x336)] = _0x49d373, this['showAdFn'](), this['showAdFn'] = null, window[_0x5f5a79(0x5ec)](), !0x0; + } ['query']() { + const _0x403196 = _0xad89b3; + if (this[_0x403196(0x831)]) return; + const _0x226eb1 = {}; + _0x226eb1['onBeforeRe' + _0x403196(0x530)] = _0x2aa21c => { + const _0x45064b = _0x403196; + this[_0x45064b(0x831)] = _0x2aa21c; + }, _0x226eb1[_0x403196(0x566)] = () => { + const _0x3c0b88 = _0x403196; + this['rewardOpti' + _0x3c0b88(0x336)] && (this[_0x3c0b88(0x4aa) + _0x3c0b88(0x336)][_0x3c0b88(0x21e) + 'Ad'] && this[_0x3c0b88(0x4aa) + 'ons'][_0x3c0b88(0x21e) + 'Ad'](), this[_0x3c0b88(0x4aa) + _0x3c0b88(0x336)][_0x3c0b88(0x21e) + 'Ad'] = null); + }, _0x226eb1['onAfter'] = () => { + const _0xee7d4e = _0x403196; + this[_0xee7d4e(0x4aa) + _0xee7d4e(0x336)] && (this[_0xee7d4e(0x4aa) + 'ons'][_0xee7d4e(0x5e2) + 'd'] && this[_0xee7d4e(0x4aa) + _0xee7d4e(0x336)][_0xee7d4e(0x5e2) + 'd'](), this[_0xee7d4e(0x4aa) + _0xee7d4e(0x336)][_0xee7d4e(0x5e2) + 'd'] = null); + }, _0x226eb1['onDismisse' + 'd'] = () => { + const _0x40b1bf = _0x403196; + this[_0x40b1bf(0x4aa) + _0x40b1bf(0x336)] && (this[_0x40b1bf(0x4aa) + _0x40b1bf(0x336)][_0x40b1bf(0x6fd) + _0x40b1bf(0x311)] && this[_0x40b1bf(0x4aa) + 'ons'][_0x40b1bf(0x6fd) + 'issed'](), this['rewardOpti' + _0x40b1bf(0x336)][_0x40b1bf(0x6fd) + _0x40b1bf(0x311)] = null); + }, _0x226eb1[_0x403196(0x55e)] = () => { + const _0xb436b0 = _0x403196; + this[_0xb436b0(0x4aa) + 'ons'] && (this[_0xb436b0(0x4aa) + 'ons'][_0xb436b0(0x794) + 'lete'] && this[_0xb436b0(0x4aa) + _0xb436b0(0x336)][_0xb436b0(0x794) + _0xb436b0(0x38a)](), this['rewardOpti' + _0xb436b0(0x336)][_0xb436b0(0x794) + _0xb436b0(0x38a)] = null); + }, _0x226eb1[_0x403196(0x3cf)] = () => { + const _0x5b7bf9 = _0x403196; + this[_0x5b7bf9(0x4aa) + 'ons'] && (this['rewardOpti' + _0x5b7bf9(0x336)]['afterShowA' + 'd'] && this['rewardOpti' + _0x5b7bf9(0x336)]['afterShowA' + 'd'](), this['rewardOpti' + 'ons']['afterShowA' + 'd'] = null), window['focus'](); + }, this[_0x403196(0x28f)][_0x403196(0x874)](_0x403196(0x3d9), _0x226eb1); + } [_0xad89b3(0x408) + _0xad89b3(0x58a)]() { + const _0xeee8c7 = _0xad89b3; + return !!this[_0xeee8c7(0x831)]; + } [_0xad89b3(0x590)](_0x44a56c, _0x2eef1c) { + const _0x5d6736 = _0xad89b3; + this[_0x5d6736(0x28f)][_0x5d6736(0x590)](_0x44a56c); + } + } + _0xc7af20[_0xad89b3(0x395)] = _0x4d59d1; + }, + 0x292: function (_0x29f6a5, _0x563a6f, _0x1b22dd) { + 'use strict'; + const _0x305820 = _0xb80e; + var _0x4b11b7 = this && this[_0x305820(0x343) + _0x305820(0x3a7)] || function (_0x48a033) { + const _0x1d7007 = _0x305820; + return _0x48a033 && _0x48a033[_0x1d7007(0x772)] ? _0x48a033 : { + 'default': _0x48a033 + }; + }; + Object['defineProp' + _0x305820(0x6a8)](_0x563a6f, _0x305820(0x772), { + 'value': !0x0 + }); + const _0x106b72 = _0x1b22dd(0x139f), + _0xe9e53d = _0x4b11b7(_0x1b22dd(0x1c5c)), + _0x406f04 = _0x4b11b7(_0x1b22dd(0x92e)), + _0xd67dd2 = _0x4b11b7(_0x1b22dd(0x1680)); + class _0x3c1aab { + constructor() { + const _0x2c5ba6 = _0x305820; + this[_0x2c5ba6(0x31c) + _0x2c5ba6(0x592)] = 0x0, this['interstiti' + _0x2c5ba6(0x439)] = !0x1, this[_0x2c5ba6(0x31c) + 'alTimerout'] = 0x0, this[_0x2c5ba6(0x4a6) + _0x2c5ba6(0x50d)] = 0x0; + } + static['getInstanc' + 'e']() { + const _0x2320c3 = _0x305820; + return this[_0x2320c3(0x43e)] || (this['_gInstance'] = new _0x3c1aab()), this[_0x2320c3(0x43e)]; + } [_0x305820(0x78f)]() { + return new Promise((_0x5cb89e, _0x2d203f) => { + const _0x1d8258 = _0xb80e; + var _0x3c5ae2 = document[_0x1d8258(0x81d) + _0x1d8258(0x871)](_0x1d8258(0x1bb)); + _0x3c5ae2[_0x1d8258(0x7ae)] = !0x0, _0xd67dd2[_0x1d8258(0x395)][_0x1d8258(0x610) + 'e']()[_0x1d8258(0x5b7)](_0x106b72['ConfigType'][_0x1d8258(0x2b0)], _0x1d8258(0x3fb) + _0x1d8258(0x568) + '003'), _0xd67dd2[_0x1d8258(0x395)][_0x1d8258(0x610) + 'e']()[_0x1d8258(0x5b7)](_0x106b72[_0x1d8258(0x1ac)][_0x1d8258(0x800) + _0x1d8258(0x3a1)], _0x1d8258(0x7b3)), _0x3c5ae2[_0x1d8258(0x1eb) + 'te'](_0x1d8258(0x71d) + _0x1d8258(0x5ff), _0xd67dd2[_0x1d8258(0x395)][_0x1d8258(0x610) + 'e']()['get'](_0x106b72['ConfigType'][_0x1d8258(0x2b0)])), _0x3c5ae2[_0x1d8258(0x1eb) + 'te']('data-ad-ch' + _0x1d8258(0x66b), _0xd67dd2[_0x1d8258(0x395)]['getInstanc' + 'e']()['get'](_0x106b72[_0x1d8258(0x1ac)][_0x1d8258(0x800) + 'ELID'])), _0x3c5ae2[_0x1d8258(0x1eb) + 'te'](_0x1d8258(0x77e) + 'equency-hi' + 'nt', '10s'); + try { + const _0x27929e = location[_0x1d8258(0x55a)], + _0x13768b = 'yof.com'; + _0x27929e['indexOf'](_0x13768b[_0x1d8258(0x68a) + 'e']()) < 0x0 && !_0xd67dd2[_0x1d8258(0x395)][_0x1d8258(0x610) + 'e']()[_0x1d8258(0x6f3)](_0x106b72['ConfigType'][_0x1d8258(0x440) + 'EN']) && (_0xd67dd2[_0x1d8258(0x395)]['getInstanc' + 'e']()['set'](_0x106b72['ConfigType'][_0x1d8258(0x440) + 'EN'], !0x0), _0x406f04['default'][_0x1d8258(0x363)](_0x1d8258(0x31b) + 'original v' + 'alue is Fa' + _0x1d8258(0x1a3) + _0x1d8258(0x75c) + _0x1d8258(0x892) + _0x1d8258(0x326) + _0x1d8258(0x896) + _0x1d8258(0x24e) + _0x13768b)); + } catch (_0x3e2697) { + _0x406f04[_0x1d8258(0x395)][_0x1d8258(0x1e1)](_0x1d8258(0x6b2) + _0x1d8258(0x52d), _0x3e2697); + } + _0x3c5ae2['onload'] = () => { + const _0x18b9df = _0x1d8258; + this[_0x18b9df(0x512) + 'rval'] = setInterval(this[_0x18b9df(0x86c)][_0x18b9df(0x570)](this), 0x3e8), this[_0x18b9df(0x64c)](), this['showBanner'](), _0x5cb89e(!0x0); + }, _0x3c5ae2[_0x1d8258(0x382)] = function () { + _0x2d203f(); + }, _0x3c5ae2[_0x1d8258(0x318)] = _0x1d8258(0x46a) + _0x1d8258(0x32e) + _0x1d8258(0x6bd) + 'ion.com/pa' + _0x1d8258(0x5c2) + _0x1d8258(0x4b9) + 'js', document['head'][_0x1d8258(0x76a) + 'd'](_0x3c5ae2), window[_0x1d8258(0x2e7) + 'e'] = window['adsbygoogl' + 'e'] || [], window[_0x1d8258(0x862)] = window[_0x1d8258(0x2e5)] = function (_0x1a069b) { + const _0x4a3941 = _0x1d8258; + window[_0x4a3941(0x2e7) + 'e']['push'](_0x1a069b); + }, window[_0x1d8258(0x2e5)]({ + 'preloadAdBreaks': 'on' + }), this[_0x1d8258(0x862)] = function (_0x1767ab) { + const _0x360af9 = _0x1d8258; + window[_0x360af9(0x2e7) + 'e'][_0x360af9(0x2c4)](_0x1767ab); + }, _0xe9e53d['default']['ga'](_0x1d8258(0x74e) + _0x1d8258(0x2e6)); + }); + } ['onUpdate']() { + const _0x1d5715 = _0x305820; + this[_0x1d5715(0x31c) + _0x1d5715(0x592)] >= 0x0 && this[_0x1d5715(0x31c) + _0x1d5715(0x592)]--, this[_0x1d5715(0x32a) + 'd'](); + } [_0x305820(0x309)](_0x2189df) { + const _0xc80548 = _0x305820; + this[_0xc80548(0x2da)](); + const _0x591523 = document['body'], + _0x210e79 = document[_0xc80548(0x81d) + _0xc80548(0x871)](_0xc80548(0x1bd)); + _0x591523[_0xc80548(0x76a) + 'd'](_0x210e79), _0x210e79[_0xc80548(0x49f)] = _0xc80548(0x2e7) + 'e', _0x210e79['id'] = _0xc80548(0x2e7) + _0xc80548(0x6c8), _0x210e79[_0xc80548(0x622)][_0xc80548(0x30a)] = 'block', _0x210e79[_0xc80548(0x622)]['width'] = '320px', _0x210e79['style'][_0xc80548(0x696)] = _0xc80548(0x52c), _0x210e79[_0xc80548(0x622)][_0xc80548(0x67d)] = _0xc80548(0x690), _0x210e79[_0xc80548(0x622)][_0xc80548(0x628)] = (window[_0xc80548(0x39a)] - 0x140) / 0x2 + '', _0x2189df && _0x2189df[_0xc80548(0x585)] ? _0xc80548(0x51c) == typeof _0x2189df['top'] ? _0x210e79[_0xc80548(0x622)][_0xc80548(0x585)] = _0x2189df[_0xc80548(0x585)] + 'px' : _0x210e79[_0xc80548(0x622)]['top'] = _0x2189df['top'] : _0x210e79[_0xc80548(0x622)]['bottom'] = '0', _0x210e79[_0xc80548(0x1eb) + 'te'](_0xc80548(0x71d) + 'ient', _0xd67dd2[_0xc80548(0x395)][_0xc80548(0x610) + 'e']()['get'](_0x106b72[_0xc80548(0x1ac)][_0xc80548(0x2b0)])), _0x210e79['setAttribu' + 'te'](_0xc80548(0x4dc) + 'ot', _0xc80548(0x37d)), _0x210e79[_0xc80548(0x1eb) + 'te']('data-full-' + _0xc80548(0x2e0) + _0xc80548(0x756), _0xc80548(0x45b)), _0xd67dd2['default'][_0xc80548(0x610) + 'e']()[_0xc80548(0x6f3)](_0x106b72[_0xc80548(0x1ac)]['en_DEBUGOP' + 'EN']) && (_0x210e79[_0xc80548(0x622)]['background'] = '#FFFFFF', _0x210e79[_0xc80548(0x1eb) + 'te']('data-adtes' + 't', 'on')), (window[_0xc80548(0x2e7) + 'e'] = window[_0xc80548(0x2e7) + 'e'] || [])[_0xc80548(0x2c4)]({}); + } [_0x305820(0x2da)](_0x404161) { + const _0x416d3e = _0x305820, + _0x3c25fe = document[_0x416d3e(0x6b9) + 'ById'](_0x416d3e(0x2e7) + _0x416d3e(0x6c8)); + _0x3c25fe && _0x3c25fe[_0x416d3e(0x877)](); + } ['showSplash'](_0x2d935d) { + const _0x2b5e24 = _0x305820; + clearTimeout(this[_0x2b5e24(0x31c) + 'alTimerout']), this[_0x2b5e24(0x4a6) + _0x2b5e24(0x50d)] > 0x5 || (this['reintersti' + _0x2b5e24(0x50d)]++, this['interstiti' + _0x2b5e24(0x3e9)] = setTimeout(() => { + const _0x15cef5 = _0x2b5e24; + this['interstiti' + 'aled'] || this[_0x15cef5(0x64c)](); + }, 0x3e8), this[_0x2b5e24(0x862)]({ + 'type': _0x2b5e24(0x565), + 'name': 'game', + 'beforeAd': () => { + const _0x41930 = _0x2b5e24; + window[_0x41930(0x5ec)](), clearTimeout(this[_0x41930(0x31c) + _0x41930(0x3e9)]), this[_0x41930(0x31c) + _0x41930(0x439)] = !0x0; + }, + 'afterAd': () => { + window['focus'](); + } + })); + } ['hideSplash'](_0x1da19d) {} [_0x305820(0x4c8) + _0x305820(0x84e)](_0x31c792) { + const _0x42a2a9 = _0x305820; + return this[_0x42a2a9(0x31c) + _0x42a2a9(0x439)] = !0x0, _0x31c792 && (_0x31c792[_0x42a2a9(0x21e) + 'Ad'] && _0x31c792[_0x42a2a9(0x21e) + 'Ad'](), _0x31c792['afterShowA' + 'd'] && _0x31c792[_0x42a2a9(0x5e2) + 'd'](), _0x31c792['beforeShow' + 'Ad'] = null, _0x31c792[_0x42a2a9(0x5e2) + 'd'] = null), !0x0; + } [_0x305820(0x408) + 'ard']() { + const _0x4e9aef = _0x305820; + return !!this[_0x4e9aef(0x831)]; + } [_0x305820(0x1c3)](_0x2e6287) { + const _0x2f09df = _0x305820; + return !!this[_0x2f09df(0x408) + 'ard']() && (_0x406f04[_0x2f09df(0x395)][_0x2f09df(0x1e1)](_0x2f09df(0x547) + ' Reward AD'), this[_0x2f09df(0x4aa) + _0x2f09df(0x336)] = _0x2e6287, this[_0x2f09df(0x831)](), this[_0x2f09df(0x831)] = null, !0x0); + } [_0x305820(0x32a) + 'd']() { + const _0x33e89b = _0x305820; + this[_0x33e89b(0x831)] || this[_0x33e89b(0x862)]({ + 'type': _0x33e89b(0x3d9), + 'name': 'reward', + 'beforeAd': this['onRewardBe' + _0x33e89b(0x1cc)]['bind'](this), + 'afterAd': this['onRewardAf' + _0x33e89b(0x550)][_0x33e89b(0x570)](this), + 'beforeReward': this[_0x33e89b(0x86f) + _0x33e89b(0x530)]['bind'](this), + 'adDismissed': this[_0x33e89b(0x507) + _0x33e89b(0x4e3)][_0x33e89b(0x570)](this), + 'adViewed': this['onRewardCo' + _0x33e89b(0x760)][_0x33e89b(0x570)](this) + }); + } [_0x305820(0x86f) + 'ward'](_0x5503bc) { + const _0x179004 = _0x305820; + _0x406f04[_0x179004(0x395)]['trace']('load Rewar' + _0x179004(0x40c) + _0x179004(0x73b)), this[_0x179004(0x831)] = _0x5503bc; + } ['onRewardBe' + _0x305820(0x1cc)]() { + const _0x4194d9 = _0x305820; + this[_0x4194d9(0x4aa) + 'ons']['beforeShow' + 'Ad'] && this[_0x4194d9(0x4aa) + _0x4194d9(0x336)][_0x4194d9(0x21e) + 'Ad'](), this[_0x4194d9(0x4aa) + 'ons'][_0x4194d9(0x21e) + 'Ad'] = null; + } [_0x305820(0x538) + 'terBreak']() { + const _0x194765 = _0x305820; + window[_0x194765(0x1d8)](), this[_0x194765(0x4aa) + 'ons']['afterShowA' + 'd'] && this['rewardOpti' + 'ons'][_0x194765(0x5e2) + 'd'](), this[_0x194765(0x4aa) + 'ons'][_0x194765(0x5e2) + 'd'] = null, this['showAdFn'] = null; + } [_0x305820(0x507) + 'smissed']() { + const _0xf6071d = _0x305820; + this['rewardOpti' + 'ons'][_0xf6071d(0x6fd) + _0xf6071d(0x311)] && this[_0xf6071d(0x4aa) + 'ons'][_0xf6071d(0x6fd) + _0xf6071d(0x311)](), this[_0xf6071d(0x4aa) + _0xf6071d(0x336)]['rewardDism' + _0xf6071d(0x311)] = null; + } [_0x305820(0x69e) + _0x305820(0x760)]() { + const _0x18e235 = _0x305820; + this[_0x18e235(0x4aa) + _0x18e235(0x336)][_0x18e235(0x794) + 'lete'] && this[_0x18e235(0x4aa) + _0x18e235(0x336)][_0x18e235(0x794) + _0x18e235(0x38a)](), this['rewardOpti' + 'ons'][_0x18e235(0x794) + _0x18e235(0x38a)] = null; + } + } + _0x563a6f['default'] = _0x3c1aab; + }, + 0xccb: function (_0x5ec576, _0x1e8f4c, _0x3007dc) { + 'use strict'; + const _0x325210 = _0xb80e; + var _0x5ef43f = this && this[_0x325210(0x343) + _0x325210(0x3a7)] || function (_0x30ad87) { + return _0x30ad87 && _0x30ad87['__esModule'] ? _0x30ad87 : { + 'default': _0x30ad87 + }; + }; + Object[_0x325210(0x501) + _0x325210(0x6a8)](_0x1e8f4c, _0x325210(0x772), { + 'value': !0x0 + }); + const _0x25d4b7 = _0x3007dc(0x139f), + _0x1763c6 = _0x3007dc(0x2235), + _0x7ffed2 = _0x5ef43f(_0x3007dc(0x1c5c)), + _0xb311f8 = _0x5ef43f(_0x3007dc(0x92e)), + _0x39e17d = _0x5ef43f(_0x3007dc(0x1680)), + _0x32a38b = _0x5ef43f(_0x3007dc(0x1ea1)); + class _0x3e90f6 extends _0x1763c6[_0x325210(0x327)] { + constructor() { + const _0x3aa697 = _0x325210; + super(...arguments), this[_0x3aa697(0x31c) + 'alCooldown'] = 0x5, this[_0x3aa697(0x2fc)] = { + 'showAdFn': null + }, this[_0x3aa697(0x1cb)] = { + 'showTimes': 0x0, + 'takeTurns': !0x1 + }; + } ['onMessage'](_0x390da7) { + const _0x24ffd0 = _0x325210, + _0x18d3f8 = _0x390da7[_0x24ffd0(0x411)] || {}; + switch (_0x18d3f8[_0x24ffd0(0x853)]) { + case _0x24ffd0(0x4c8) + _0x24ffd0(0x84e): + switch (_0x18d3f8[_0x24ffd0(0x411)]) { + case _0x24ffd0(0x21e) + 'Ad': + this[_0x24ffd0(0x3b7)] && this[_0x24ffd0(0x3b7)]['beforeShow' + 'Ad'] && (this[_0x24ffd0(0x1cb)][_0x24ffd0(0x609)]++, this[_0x24ffd0(0x3b7)][_0x24ffd0(0x21e) + 'Ad'](), this['options'][_0x24ffd0(0x21e) + 'Ad'] = null, window[_0x24ffd0(0x71b)] && window['adFeedback'][_0x24ffd0(0x549)]()); + break; + case _0x24ffd0(0x5e2) + 'd': + this[_0x24ffd0(0x3b7)] && this[_0x24ffd0(0x3b7)][_0x24ffd0(0x5e2) + 'd'] && (this['options'][_0x24ffd0(0x5e2) + 'd'](), this[_0x24ffd0(0x3b7)][_0x24ffd0(0x5e2) + 'd'] = null, window[_0x24ffd0(0x71b)] && window['adFeedback']['onAdDismis' + 's']()); + } + break; + case _0x24ffd0(0x371): + _0x18d3f8[_0x24ffd0(0x411)] && (window['yygGamesOw' + _0x24ffd0(0x7fe)] = _0x18d3f8['data'][_0x24ffd0(0x7ba) + _0x24ffd0(0x7fe)], this[_0x24ffd0(0x2fc)][_0x24ffd0(0x831)] = _0x18d3f8[_0x24ffd0(0x411)][_0x24ffd0(0x831)]); + break; + case _0x24ffd0(0x831): + this[_0x24ffd0(0x2fc)][_0x24ffd0(0x831)] = _0x18d3f8[_0x24ffd0(0x411)]; + break; + case _0x24ffd0(0x1c3): + switch (_0x18d3f8[_0x24ffd0(0x411)]) { + case _0x24ffd0(0x21e) + 'Ad': + this[_0x24ffd0(0x4aa) + 'ons'] && this[_0x24ffd0(0x4aa) + _0x24ffd0(0x336)][_0x24ffd0(0x21e) + 'Ad'] && (this['rewardOpti' + _0x24ffd0(0x336)][_0x24ffd0(0x21e) + 'Ad'](), this[_0x24ffd0(0x4aa) + _0x24ffd0(0x336)][_0x24ffd0(0x21e) + 'Ad'] = null, window['adFeedback'] && window[_0x24ffd0(0x71b)][_0x24ffd0(0x549)]()); + break; + case _0x24ffd0(0x5e2) + 'd': + this['rewardOpti' + _0x24ffd0(0x336)] && this[_0x24ffd0(0x4aa) + _0x24ffd0(0x336)]['afterShowA' + 'd'] && (this[_0x24ffd0(0x4aa) + _0x24ffd0(0x336)][_0x24ffd0(0x5e2) + 'd'](), this[_0x24ffd0(0x4aa) + _0x24ffd0(0x336)][_0x24ffd0(0x5e2) + 'd'] = null, window[_0x24ffd0(0x71b)] && window[_0x24ffd0(0x71b)][_0x24ffd0(0x7e6) + 's']()); + break; + case _0x24ffd0(0x794) + _0x24ffd0(0x38a): + this[_0x24ffd0(0x4aa) + _0x24ffd0(0x336)] && this[_0x24ffd0(0x4aa) + _0x24ffd0(0x336)]['rewardComp' + _0x24ffd0(0x38a)] && (this[_0x24ffd0(0x4aa) + _0x24ffd0(0x336)][_0x24ffd0(0x794) + _0x24ffd0(0x38a)](), this[_0x24ffd0(0x4aa) + _0x24ffd0(0x336)][_0x24ffd0(0x794) + _0x24ffd0(0x38a)] = null); + break; + case _0x24ffd0(0x6fd) + _0x24ffd0(0x311): + this[_0x24ffd0(0x4aa) + _0x24ffd0(0x336)] && this[_0x24ffd0(0x4aa) + _0x24ffd0(0x336)][_0x24ffd0(0x6fd) + _0x24ffd0(0x311)] && (this[_0x24ffd0(0x4aa) + _0x24ffd0(0x336)][_0x24ffd0(0x6fd) + _0x24ffd0(0x311)](), this[_0x24ffd0(0x4aa) + _0x24ffd0(0x336)]['rewardDism' + _0x24ffd0(0x311)] = null); + } + } + } [_0x325210(0x78f)]() { + return new Promise(async (_0x40cbe5, _0x3bfdd6) => { + const _0x1ad570 = _0xb80e; + if (window[_0x1ad570(0x77f) + 'stener'](_0x1ad570(0x3b3), this[_0x1ad570(0x441)]['bind'](this), !0x1), window[_0x1ad570(0x816)]) { + try { + window[_0x1ad570(0x816)]['postMessag' + 'e']({ + 'event': _0x1ad570(0x371) + }, '*'); + } catch (_0x1a3a21) { + _0xb311f8[_0x1ad570(0x395)][_0x1ad570(0x1e1)]('postMessag' + 'e error', _0x1a3a21); + } + await new Promise((_0x506c1e, _0x231296) => { + setTimeout(() => { + _0x506c1e(); + }, 0xc8); + }); + } + const _0x1752c2 = document['createElem' + _0x1ad570(0x871)](_0x1ad570(0x1bb)); + _0x1752c2['async'] = !0x0, _0x1752c2[_0x1ad570(0x1eb) + 'te']('data-ad-cl' + _0x1ad570(0x5ff), _0x39e17d[_0x1ad570(0x395)][_0x1ad570(0x610) + 'e']()[_0x1ad570(0x6f3)](_0x25d4b7[_0x1ad570(0x1ac)][_0x1ad570(0x2b0)])), _0x1752c2[_0x1ad570(0x1eb) + 'te']('data-ad-ch' + _0x1ad570(0x66b), _0x39e17d[_0x1ad570(0x395)][_0x1ad570(0x610) + 'e']()[_0x1ad570(0x6f3)](_0x25d4b7['ConfigType'][_0x1ad570(0x800) + _0x1ad570(0x3a1)])), _0x1752c2['setAttribu' + 'te'](_0x1ad570(0x77e) + _0x1ad570(0x5aa) + 'nt', '10s'); + try { + const _0x50b40b = location['hostname'], + _0x5719c5 = _0x1ad570(0x2eb); + this[_0x1ad570(0x1cb)]['takeTurns'] = !0x0, location[_0x1ad570(0x827)][_0x1ad570(0x80b)](_0x1ad570(0x2cf) + _0x1ad570(0x6e1)) > -0x1 || _0x50b40b[_0x1ad570(0x80b)](_0x5719c5['toLowerCas' + 'e']()) < 0x0 && !_0x39e17d[_0x1ad570(0x395)][_0x1ad570(0x610) + 'e']()['get'](_0x25d4b7[_0x1ad570(0x1ac)][_0x1ad570(0x440) + 'EN']) && (_0x39e17d[_0x1ad570(0x395)][_0x1ad570(0x610) + 'e']()[_0x1ad570(0x5b7)](_0x25d4b7['ConfigType'][_0x1ad570(0x440) + 'EN'], !0x0), _0xb311f8[_0x1ad570(0x395)][_0x1ad570(0x363)](_0x1ad570(0x31b) + 'original v' + _0x1ad570(0x842) + _0x1ad570(0x1a3) + 'o True bec' + 'ause the g' + _0x1ad570(0x326) + _0x1ad570(0x896) + 'st on ' + _0x5719c5)); + } catch (_0x4e3a96) { + _0xb311f8[_0x1ad570(0x395)]['trace'](_0x1ad570(0x6b2) + _0x1ad570(0x52d), _0x4e3a96); + } + _0x39e17d[_0x1ad570(0x395)]['getInstanc' + 'e']()[_0x1ad570(0x6f3)](_0x25d4b7[_0x1ad570(0x1ac)]['en_DEBUGOP' + 'EN']) && _0x1752c2['setAttribu' + 'te'](_0x1ad570(0x6b3) + _0x1ad570(0x3fe), 'on'), _0x1752c2[_0x1ad570(0x303)] = () => { + const _0x463e2b = _0x1ad570; + this[_0x463e2b(0x512) + _0x463e2b(0x3d7)] = setInterval(this[_0x463e2b(0x86c)][_0x463e2b(0x570)](this), 0x3e8), _0x40cbe5(!0x0); + }, _0x1752c2[_0x1ad570(0x382)] = function () { + _0x3bfdd6(); + }, _0x1752c2[_0x1ad570(0x318)] = _0x1ad570(0x46a) + _0x1ad570(0x32e) + _0x1ad570(0x6bd) + _0x1ad570(0x1ad) + _0x1ad570(0x5c2) + _0x1ad570(0x4b9) + 'js', document[_0x1ad570(0x451)][_0x1ad570(0x76a) + 'd'](_0x1752c2); + const _0x43fe1a = window; + _0x43fe1a[_0x1ad570(0x2e7) + 'e'] = _0x43fe1a['adsbygoogl' + 'e'] || [], _0x43fe1a[_0x1ad570(0x862)] = _0x43fe1a[_0x1ad570(0x2e5)] = function (_0x501d89) { + const _0x4a7d87 = _0x1ad570; + window[_0x4a7d87(0x2e7) + 'e'][_0x4a7d87(0x2c4)](_0x501d89); + }, _0x43fe1a['adConfig']({ + 'preloadAdBreaks': 'on' + }), this[_0x1ad570(0x862)] = function (_0x24d1a7) { + const _0x5cfc3c = _0x1ad570; + window[_0x5cfc3c(0x2e7) + 'e'][_0x5cfc3c(0x2c4)](_0x24d1a7); + }, _0x7ffed2['default']['ga'](_0x1ad570(0x74e) + _0x1ad570(0x460)), _0x7ffed2[_0x1ad570(0x395)]['ga'](_0x1ad570(0x505) + _0x1ad570(0x269)), _0x7ffed2[_0x1ad570(0x395)]['ga']('UA-1202418' + _0x1ad570(0x516)); + }); + } ['showInters' + _0x325210(0x84e)](_0x10cfd6) { + const _0x19b0bf = _0x325210; + try { + if ((new URLSearchParams(location[_0x19b0bf(0x30f)])[_0x19b0bf(0x6f3)]('platform') || '')[_0x19b0bf(0x80b)](_0x19b0bf(0x38c)) > -0x1) return _0x10cfd6 && _0x10cfd6[_0x19b0bf(0x21e) + 'Ad'] && (_0x10cfd6[_0x19b0bf(0x21e) + 'Ad'](), _0x10cfd6[_0x19b0bf(0x21e) + 'Ad'] = null), void(_0x10cfd6 && _0x10cfd6[_0x19b0bf(0x5e2) + 'd'] && (_0x10cfd6[_0x19b0bf(0x5e2) + 'd'](), _0x10cfd6['afterShowA' + 'd'] = null)); + } catch (_0x36757d) {} + if (_0x19b0bf(0x751) == typeof _0x10cfd6) { + const _0x3b0661 = _0x10cfd6; + _0x10cfd6 = { + 'beforeShowAd': new Function(), + 'afterShowAd': _0x3b0661 + }; + } + if (this[_0x19b0bf(0x3b7)] = _0x10cfd6, _0xb311f8[_0x19b0bf(0x395)][_0x19b0bf(0x20f) + 'Website']() && this[_0x19b0bf(0x1cb)][_0x19b0bf(0x609)] > 0x0) { + if (!this[_0x19b0bf(0x1cb)][_0x19b0bf(0x6c3)]) { + try { + window[_0x19b0bf(0x816)][_0x19b0bf(0x517) + 'e']({ + 'event': _0x19b0bf(0x4c8) + 'titial' + }, '*'); + } catch (_0x6a682e) { + console[_0x19b0bf(0x7ec)]('showInters' + 'titial err' + _0x19b0bf(0x5dd), _0x6a682e); + } + return; + } + if (_0xb311f8['default'][_0x19b0bf(0x1e1)](_0x19b0bf(0x7a7) + _0x19b0bf(0x1fb) + 'es', this['iConfig']['showTimes']), this[_0x19b0bf(0x1cb)][_0x19b0bf(0x609)] % 0x2 != 0x0) { + try { + window['parent']['postMessag' + 'e']({ + 'event': _0x19b0bf(0x4c8) + _0x19b0bf(0x84e) + }, '*'); + } catch (_0x2906df) { + console[_0x19b0bf(0x7ec)](_0x19b0bf(0x4c8) + 'titial err' + _0x19b0bf(0x5dd), _0x2906df); + } + return; + } + } + if (this[_0x19b0bf(0x31c) + _0x19b0bf(0x592)] > 0x0) return _0x10cfd6 && _0x10cfd6[_0x19b0bf(0x21e) + 'Ad'] && (_0x10cfd6[_0x19b0bf(0x21e) + 'Ad'](), _0x10cfd6[_0x19b0bf(0x21e) + 'Ad'] = null), _0x10cfd6 && _0x10cfd6[_0x19b0bf(0x5e2) + 'd'] && (_0x10cfd6[_0x19b0bf(0x5e2) + 'd'](), _0x10cfd6[_0x19b0bf(0x5e2) + 'd'] = null), void _0xb311f8[_0x19b0bf(0x395)]['trace']('requesting' + _0x19b0bf(0x1c8) + _0x19b0bf(0x80f) + _0x19b0bf(0x23d) + _0x19b0bf(0x355) + ':', this[_0x19b0bf(0x31c) + 'alCooldown']); + _0xb311f8[_0x19b0bf(0x395)]['trace'](_0x19b0bf(0x547) + _0x19b0bf(0x1c8) + _0x19b0bf(0x62a)); + let _0x47d7bc = _0x19b0bf(0x565); + return 0x0 == this['iConfig'][_0x19b0bf(0x609)] && (_0x47d7bc = 'preroll'), _0x10cfd6 && _0x10cfd6[_0x19b0bf(0x21e) + 'Ad'] && (_0x10cfd6[_0x19b0bf(0x21e) + 'Ad'](), _0x10cfd6['beforeShow' + 'Ad'] = null, _0x32a38b['default'][_0x19b0bf(0x610) + 'e']()['event'](_0x19b0bf(0x21e) + 'Ad')), 'preroll' == _0x47d7bc ? (window[_0x19b0bf(0x71b)] && window[_0x19b0bf(0x71b)][_0x19b0bf(0x549)](), void this['adBreak']({ + 'type': _0x47d7bc, + 'name': _0x19b0bf(0x2d0), + 'adBreakDone': _0x155c04 => { + const _0xc35765 = _0x19b0bf; + this['iConfig'][_0xc35765(0x609)]++, this[_0xc35765(0x31c) + _0xc35765(0x592)] = 0xf, _0xb311f8[_0xc35765(0x395)][_0xc35765(0x1e1)](_0xc35765(0x1f2) + 'e', _0x155c04), _0x10cfd6 && _0x10cfd6[_0xc35765(0x5e2) + 'd'] && (_0x10cfd6['afterShowA' + 'd'](), _0x10cfd6[_0xc35765(0x5e2) + 'd'] = null, _0x32a38b[_0xc35765(0x395)][_0xc35765(0x610) + 'e']()['event'](_0xc35765(0x5e2) + 'd')); + try { + window[_0xc35765(0x71b)] && window[_0xc35765(0x71b)]['onAdDismis' + 's'](); + } catch (_0x1969a4) {} + } + })) : (this[_0x19b0bf(0x862)]({ + 'type': _0x47d7bc, + 'name': 'game', + 'beforeAd': () => { + const _0x4207c7 = _0x19b0bf; + window[_0x4207c7(0x5ec)](), window[_0x4207c7(0x71b)] && window[_0x4207c7(0x71b)][_0x4207c7(0x549)](); + }, + 'afterAd': () => { + const _0x5908b8 = _0x19b0bf; + _0x7ffed2[_0x5908b8(0x395)][_0x5908b8(0x70c) + 'g'](), _0x10cfd6 && _0x10cfd6[_0x5908b8(0x5e2) + 'd'] && (_0x10cfd6['afterShowA' + 'd'](), _0x10cfd6[_0x5908b8(0x5e2) + 'd'] = null), this['interstiti' + _0x5908b8(0x592)] = 0xf, window[_0x5908b8(0x1d8)](), _0x32a38b[_0x5908b8(0x395)]['getInstanc' + 'e']()[_0x5908b8(0x853)](_0x5908b8(0x5e2) + 'd'); + }, + 'adBreakDone': _0x5af371 => { + const _0x1472df = _0x19b0bf; + this[_0x1472df(0x1cb)][_0x1472df(0x609)]++, _0xb311f8['default'][_0x1472df(0x1e1)](_0x1472df(0x1f2) + 'e', _0x5af371), _0x7ffed2['default'][_0x1472df(0x70c) + 'g'](), _0x10cfd6 && _0x10cfd6[_0x1472df(0x5e2) + 'd'] && (_0x10cfd6[_0x1472df(0x5e2) + 'd'](), _0x10cfd6[_0x1472df(0x5e2) + 'd'] = null, _0x32a38b[_0x1472df(0x395)][_0x1472df(0x610) + 'e']()[_0x1472df(0x853)](_0x1472df(0x5e2) + 'd')), window[_0x1472df(0x71b)] && window['adFeedback']['onAdDismis' + 's'](); + } + }), !0x0); + } ['canShowRew' + _0x325210(0x58a)]() { + const _0x2ac8c2 = _0x325210; + return _0xb311f8[_0x2ac8c2(0x395)][_0x2ac8c2(0x20f) + _0x2ac8c2(0x41a)]() ? this['rConfig'][_0x2ac8c2(0x831)] : !!this['showAdFn']; + } [_0x325210(0x1c3)](_0x363588) { + const _0x1b0270 = _0x325210; + if (!this[_0x1b0270(0x408) + _0x1b0270(0x58a)]()) return !0x1; + if (!_0xb311f8[_0x1b0270(0x395)][_0x1b0270(0x20f) + _0x1b0270(0x41a)]()) return _0xb311f8['default'][_0x1b0270(0x1e1)]('requesting' + _0x1b0270(0x1f9)), this['rewardOpti' + _0x1b0270(0x336)] = _0x363588, this[_0x1b0270(0x831)](), this[_0x1b0270(0x831)] = null, window[_0x1b0270(0x5ec)](), !0x0; + this[_0x1b0270(0x4aa) + 'ons'] = _0x363588; + try { + window[_0x1b0270(0x816)][_0x1b0270(0x517) + 'e']({ + 'event': _0x1b0270(0x1c3) + }, '*'); + } catch (_0x135457) { + console[_0x1b0270(0x7ec)]('showReward' + _0x1b0270(0x82e), _0x135457); + } + } [_0x325210(0x86c)]() { + const _0x33ce27 = _0x325210; + this[_0x33ce27(0x31c) + 'alCooldown'] >= 0x0 && this[_0x33ce27(0x31c) + _0x33ce27(0x592)]--, this['checkRewar' + 'd'](); + } [_0x325210(0x32a) + 'd']() { + const _0x528dd7 = _0x325210; + this[_0x528dd7(0x831)] || this[_0x528dd7(0x862)]({ + 'type': _0x528dd7(0x3d9), + 'name': _0x528dd7(0x3d9), + 'beforeAd': this[_0x528dd7(0x463) + _0x528dd7(0x1cc)][_0x528dd7(0x570)](this), + 'afterAd': this['onRewardAf' + _0x528dd7(0x550)]['bind'](this), + 'beforeReward': this[_0x528dd7(0x86f) + _0x528dd7(0x530)][_0x528dd7(0x570)](this), + 'adDismissed': this[_0x528dd7(0x507) + _0x528dd7(0x4e3)][_0x528dd7(0x570)](this), + 'adViewed': this[_0x528dd7(0x69e) + _0x528dd7(0x760)]['bind'](this) + }); + } [_0x325210(0x86f) + _0x325210(0x530)](_0x536882) { + const _0x2c5fd1 = _0x325210; + _0xb311f8[_0x2c5fd1(0x395)][_0x2c5fd1(0x1e1)]('load Rewar' + 'd AD Succe' + _0x2c5fd1(0x73b)), this[_0x2c5fd1(0x831)] = _0x536882; + } [_0x325210(0x463) + _0x325210(0x1cc)]() { + const _0xa66309 = _0x325210; + this[_0xa66309(0x4aa) + _0xa66309(0x336)][_0xa66309(0x21e) + 'Ad'] && this[_0xa66309(0x4aa) + _0xa66309(0x336)][_0xa66309(0x21e) + 'Ad'](), this[_0xa66309(0x4aa) + _0xa66309(0x336)][_0xa66309(0x21e) + 'Ad'] = null, window['adFeedback'] && window[_0xa66309(0x71b)][_0xa66309(0x549)](); + } ['onRewardAf' + 'terBreak']() { + const _0x5408a4 = _0x325210; + window[_0x5408a4(0x1d8)](), this[_0x5408a4(0x4aa) + _0x5408a4(0x336)]['afterShowA' + 'd'] && this[_0x5408a4(0x4aa) + 'ons'][_0x5408a4(0x5e2) + 'd'](), this[_0x5408a4(0x4aa) + _0x5408a4(0x336)][_0x5408a4(0x5e2) + 'd'] = null, this[_0x5408a4(0x831)] = null, window[_0x5408a4(0x71b)] && window[_0x5408a4(0x71b)][_0x5408a4(0x7e6) + 's'](); + } [_0x325210(0x507) + _0x325210(0x4e3)]() { + const _0x237f02 = _0x325210; + this[_0x237f02(0x4aa) + _0x237f02(0x336)][_0x237f02(0x6fd) + 'issed'] && this[_0x237f02(0x4aa) + _0x237f02(0x336)][_0x237f02(0x6fd) + 'issed'](), this[_0x237f02(0x4aa) + _0x237f02(0x336)][_0x237f02(0x6fd) + _0x237f02(0x311)] = null; + } [_0x325210(0x69e) + _0x325210(0x760)]() { + const _0x26104e = _0x325210; + this[_0x26104e(0x4aa) + _0x26104e(0x336)][_0x26104e(0x794) + _0x26104e(0x38a)] && this[_0x26104e(0x4aa) + _0x26104e(0x336)][_0x26104e(0x794) + _0x26104e(0x38a)](), this[_0x26104e(0x4aa) + 'ons'][_0x26104e(0x794) + _0x26104e(0x38a)] = null; + } [_0x325210(0x309)](_0x1e9a24) {} ['hideBanner'](_0x1893d1) {} ['showSplash'](_0x4aa008) { + const _0x35c8a8 = _0x325210, + _0x454482 = _0x39e17d[_0x35c8a8(0x395)]['getInstanc' + 'e']()[_0x35c8a8(0x6f3)](_0x25d4b7[_0x35c8a8(0x1ac)]['en_DEBUGOP' + 'EN']); + if (!_0x39e17d['default'][_0x35c8a8(0x610) + 'e']()['get'](_0x25d4b7[_0x35c8a8(0x1ac)][_0x35c8a8(0x885) + _0x35c8a8(0x562)]) && !_0x454482) return; + this[_0x35c8a8(0x496)](); + const _0x102963 = document[_0x35c8a8(0x6ed)], + _0xbcf868 = document[_0x35c8a8(0x81d) + _0x35c8a8(0x871)]('ins'); + _0x102963[_0x35c8a8(0x76a) + 'd'](_0xbcf868), _0xbcf868[_0x35c8a8(0x49f)] = 'adsbygoogl' + 'e', _0xbcf868['id'] = 'adsbygoogl' + _0x35c8a8(0x526), _0xbcf868[_0x35c8a8(0x622)]['display'] = _0x35c8a8(0x7c4), _0x4aa008 && _0x4aa008[_0x35c8a8(0x585)] ? _0x35c8a8(0x51c) == typeof _0x4aa008[_0x35c8a8(0x585)] ? _0xbcf868['style'][_0x35c8a8(0x5a3)] = _0x4aa008[_0x35c8a8(0x585)] + 'px' : _0xbcf868[_0x35c8a8(0x622)][_0x35c8a8(0x5a3)] = _0x4aa008['top'] : _0xbcf868[_0x35c8a8(0x622)][_0x35c8a8(0x5a3)] = _0x35c8a8(0x4b8), _0xbcf868[_0x35c8a8(0x622)]['marginTop'] = _0x4aa008 && _0x4aa008['top'] ? _0x4aa008['top'] + 'px' : '50%', _0xbcf868[_0x35c8a8(0x1eb) + 'te']('data-ad-cl' + _0x35c8a8(0x5ff), _0x35c8a8(0x5d9) + _0x35c8a8(0x372) + _0x35c8a8(0x3e3)), _0xbcf868[_0x35c8a8(0x1eb) + 'te'](_0x35c8a8(0x4dc) + 'ot', _0x35c8a8(0x25e)), _0xbcf868[_0x35c8a8(0x1eb) + 'te'](_0x35c8a8(0x289) + _0x35c8a8(0x77d), 'auto'), _0xbcf868[_0x35c8a8(0x1eb) + 'te'](_0x35c8a8(0x67a) + _0x35c8a8(0x2e0) + _0x35c8a8(0x756), _0x35c8a8(0x45b)), _0x39e17d[_0x35c8a8(0x395)][_0x35c8a8(0x610) + 'e']()['get'](_0x25d4b7[_0x35c8a8(0x1ac)][_0x35c8a8(0x440) + 'EN']) && _0xbcf868[_0x35c8a8(0x1eb) + 'te'](_0x35c8a8(0x2fe) + 't', 'on'); + const _0x3505ec = window; + return (_0x3505ec['adsbygoogl' + 'e'] = _0x3505ec[_0x35c8a8(0x2e7) + 'e'] || [])[_0x35c8a8(0x2c4)]({}), !0x0; + } ['hideSplash'](_0xce267) { + const _0x2a3697 = _0x325210, + _0x11121d = document['getElement' + 'ById'](_0x2a3697(0x2e7) + _0x2a3697(0x526)); + return _0x11121d && _0x11121d[_0x2a3697(0x877)](), !0x0; + } + } + _0x1e8f4c[_0x325210(0x395)] = _0x3e90f6; + }, + 0x1554: function (_0xbba540, _0x1c3b9a, _0x36cb55) { + 'use strict'; + const _0x81f6f6 = _0xb80e; + var _0x512334 = this && this[_0x81f6f6(0x343) + _0x81f6f6(0x3a7)] || function (_0x948f32) { + const _0x2748d9 = _0x81f6f6; + return _0x948f32 && _0x948f32[_0x2748d9(0x772)] ? _0x948f32 : { + 'default': _0x948f32 + }; + }; + Object['defineProp' + 'erty'](_0x1c3b9a, '__esModule', { + 'value': !0x0 + }); + const _0x3e3cff = _0x512334(_0x36cb55(0x92e)); + class _0x338292 { + constructor() { + const _0x27d9c6 = _0x81f6f6; + this['showInters' + 'titialCoun' + 't'] = 0x0, this[_0x27d9c6(0x31c) + _0x27d9c6(0x3e9)] = 0x0, this[_0x27d9c6(0x31c) + 'alCooldown'] = 0x0; + } + static[_0x81f6f6(0x610) + 'e']() { + const _0x1e2cd9 = _0x81f6f6; + return this[_0x1e2cd9(0x43e)] || (this['_gInstance'] = new _0x338292()), this[_0x1e2cd9(0x43e)]; + } [_0x81f6f6(0x78f)]() { + return new Promise((_0x2e1da7, _0x1417e3) => { + const _0x86ec13 = _0xb80e; + var _0x43f4ea = document[_0x86ec13(0x81d) + _0x86ec13(0x871)](_0x86ec13(0x1bb)); + _0x43f4ea[_0x86ec13(0x7ae)] = !0x1, _0x43f4ea[_0x86ec13(0x303)] = () => { + const _0x67a3b4 = _0x86ec13; + _0x3e3cff[_0x67a3b4(0x395)][_0x67a3b4(0x1e1)](_0x67a3b4(0x2ac)), vigoo[_0x67a3b4(0x5d6)](_0x218272 => { + const _0x531781 = _0x67a3b4; + _0x3e3cff[_0x531781(0x395)]['trace'](_0x531781(0x26c), _0x218272), _0x2e1da7(!0x0); + }); + }, _0x43f4ea['onerror'] = function () { + _0x1417e3(); + }, _0x43f4ea['src'] = _0x86ec13(0x4e6) + _0x86ec13(0x7e7) + _0x86ec13(0x826) + _0x86ec13(0x6c1), document[_0x86ec13(0x451)][_0x86ec13(0x76a) + 'd'](_0x43f4ea); + const _0x33d620 = window; + _0x33d620[_0x86ec13(0x6f0)] = _0x33d620[_0x86ec13(0x6f0)] || [], _0x33d620['gtag'] = function (_0x3e9d7a, _0x4e39d2) { + const _0x2cab46 = _0x86ec13; + _0x33d620[_0x2cab46(0x6f0)][_0x2cab46(0x2c4)](arguments); + }, _0x33d620[_0x86ec13(0x532)]('js', new Date()), _0x33d620[_0x86ec13(0x532)]('config', _0x86ec13(0x74e) + '82-3'); + var _0x52032e = document[_0x86ec13(0x81d) + _0x86ec13(0x871)](_0x86ec13(0x1bb)); + _0x52032e[_0x86ec13(0x7ae)] = !0x0, _0x52032e[_0x86ec13(0x318)] = _0x86ec13(0x88f) + 'w.googleta' + _0x86ec13(0x2b3) + 'om/gtag/js' + _0x86ec13(0x308) + _0x86ec13(0x250), document[_0x86ec13(0x451)]['appendChil' + 'd'](_0x52032e); + }); + } [_0x81f6f6(0x4c8) + _0x81f6f6(0x84e)](_0x53071d) { + const _0x4bf552 = _0x81f6f6; + return _0x53071d && _0x53071d[_0x4bf552(0x21e) + 'Ad'] && (_0x53071d[_0x4bf552(0x21e) + 'Ad'](), _0x53071d['beforeShow' + 'Ad'] = null), _0x3e3cff['default'][_0x4bf552(0x1e1)]('requesting' + ' Interstit' + 'ial AD'), vigoo[_0x4bf552(0x5c8) + _0x4bf552(0x2ea)]('下一关', _0x5fda24 => { + const _0x4a62a6 = _0x4bf552; + _0x5fda24[_0x4a62a6(0x836)], console[_0x4a62a6(0x7ec)](_0x4a62a6(0x5c8) + _0x4a62a6(0x2ea), _0x5fda24), _0x53071d && _0x53071d[_0x4a62a6(0x5e2) + 'd'] && (_0x53071d['afterShowA' + 'd'](), _0x53071d[_0x4a62a6(0x5e2) + 'd'] = null); + }), !0x0; + } [_0x81f6f6(0x408) + _0x81f6f6(0x58a)]() { + return !0x0; + } [_0x81f6f6(0x1c3)](_0x12f51f) { + const _0x3caf02 = _0x81f6f6; + return !!this['canShowRew' + _0x3caf02(0x58a)]() && (_0x3e3cff[_0x3caf02(0x395)]['trace'](_0x3caf02(0x547) + _0x3caf02(0x1f9)), _0x12f51f && _0x12f51f['beforeShow' + 'Ad'] && (_0x12f51f[_0x3caf02(0x21e) + 'Ad'](), _0x12f51f[_0x3caf02(0x21e) + 'Ad'] = null), window['blur'](), vigoo[_0x3caf02(0x3d2) + 'tionVideoA' + 'dv'](_0x1af166 => { + const _0x540223 = _0x3caf02; + 0x3 == _0x1af166['type'] ? _0x12f51f && _0x12f51f['rewardComp' + 'lete'] && (_0x12f51f[_0x540223(0x794) + _0x540223(0x38a)](), _0x12f51f[_0x540223(0x794) + 'lete'] = null) : _0x12f51f && _0x12f51f[_0x540223(0x794) + _0x540223(0x38a)] && (_0x12f51f[_0x540223(0x6fd) + 'issed'](), _0x12f51f[_0x540223(0x6fd) + 'issed'] = null), _0x12f51f && _0x12f51f[_0x540223(0x5e2) + 'd'] && (_0x12f51f[_0x540223(0x5e2) + 'd'](), _0x12f51f['afterShowA' + 'd'] = null); + }), !0x0); + } ['onUpdate']() { + const _0x2e9282 = _0x81f6f6; + this[_0x2e9282(0x31c) + 'alCooldown'] >= 0x0 && this[_0x2e9282(0x31c) + _0x2e9282(0x592)]--, this['checkRewar' + 'd'](); + } [_0x81f6f6(0x32a) + 'd']() { + const _0x19ac0f = _0x81f6f6; + this[_0x19ac0f(0x831)] || this[_0x19ac0f(0x862)]({ + 'type': _0x19ac0f(0x3d9), + 'name': _0x19ac0f(0x3d9), + 'beforeAd': this[_0x19ac0f(0x463) + _0x19ac0f(0x1cc)][_0x19ac0f(0x570)](this), + 'afterAd': this['onRewardAf' + 'terBreak']['bind'](this), + 'beforeReward': this['onBeforeRe' + 'ward'][_0x19ac0f(0x570)](this), + 'adDismissed': this[_0x19ac0f(0x507) + 'smissed'][_0x19ac0f(0x570)](this), + 'adViewed': this[_0x19ac0f(0x69e) + 'mplete']['bind'](this) + }); + } [_0x81f6f6(0x86f) + _0x81f6f6(0x530)](_0xaa681) { + const _0x23f25b = _0x81f6f6; + _0x3e3cff[_0x23f25b(0x395)][_0x23f25b(0x1e1)](_0x23f25b(0x2c3) + _0x23f25b(0x40c) + 'ssful'), this[_0x23f25b(0x831)] = _0xaa681; + } [_0x81f6f6(0x463) + _0x81f6f6(0x1cc)]() { + const _0x4a08ac = _0x81f6f6; + this['rewardOpti' + _0x4a08ac(0x336)][_0x4a08ac(0x21e) + 'Ad'] && this['rewardOpti' + 'ons']['beforeShow' + 'Ad'](), this['rewardOpti' + _0x4a08ac(0x336)][_0x4a08ac(0x21e) + 'Ad'] = null; + } ['onRewardAf' + _0x81f6f6(0x550)]() { + const _0x1949c8 = _0x81f6f6; + window[_0x1949c8(0x1d8)](), this[_0x1949c8(0x4aa) + 'ons']['afterShowA' + 'd'] && this[_0x1949c8(0x4aa) + _0x1949c8(0x336)][_0x1949c8(0x5e2) + 'd'](), this['rewardOpti' + 'ons'][_0x1949c8(0x5e2) + 'd'] = null, this[_0x1949c8(0x831)] = null; + } ['onRewardDi' + 'smissed']() { + const _0x4e99c4 = _0x81f6f6; + this[_0x4e99c4(0x4aa) + 'ons'][_0x4e99c4(0x6fd) + _0x4e99c4(0x311)] && this[_0x4e99c4(0x4aa) + 'ons'][_0x4e99c4(0x6fd) + _0x4e99c4(0x311)](), this[_0x4e99c4(0x4aa) + 'ons'][_0x4e99c4(0x6fd) + _0x4e99c4(0x311)] = null; + } [_0x81f6f6(0x69e) + _0x81f6f6(0x760)]() { + const _0x436426 = _0x81f6f6; + this[_0x436426(0x4aa) + _0x436426(0x336)][_0x436426(0x794) + _0x436426(0x38a)] && this['rewardOpti' + _0x436426(0x336)][_0x436426(0x794) + _0x436426(0x38a)](), this['rewardOpti' + 'ons']['rewardComp' + 'lete'] = null; + } ['showBanner'](_0x19887d) {} [_0x81f6f6(0x2da)](_0x12ee35) {} [_0x81f6f6(0x64c)](_0x6d9e90) {} [_0x81f6f6(0x496)](_0x4999c5) {} + } + _0x1c3b9a[_0x81f6f6(0x395)] = _0x338292; + }, + 0x5f7: function (_0x38ed3c, _0x3faacc, _0x5847ed) { + 'use strict'; + const _0x215793 = _0xb80e; + var _0x2d482a = this && this[_0x215793(0x343) + 'fault'] || function (_0x5ba0f1) { + return _0x5ba0f1 && _0x5ba0f1['__esModule'] ? _0x5ba0f1 : { + 'default': _0x5ba0f1 + }; + }; + Object['defineProp' + _0x215793(0x6a8)](_0x3faacc, _0x215793(0x772), { + 'value': !0x0 + }); + const _0xde598c = _0x5847ed(0x139f), + _0x4333c2 = _0x5847ed(0x2235), + _0x29958a = _0x2d482a(_0x5847ed(0x836)), + _0x3eec11 = _0x2d482a(_0x5847ed(0x1c5c)), + _0x3a3af5 = _0x2d482a(_0x5847ed(0x92e)), + _0x153938 = _0x2d482a(_0x5847ed(0x1680)), + _0xaf9e14 = _0x2d482a(_0x5847ed(0x1ea1)); + class _0x282750 extends _0x4333c2['Singleton'] { + constructor() { + const _0xa609f = _0x215793; + super(...arguments), this['showInters' + _0xa609f(0x404) + 't'] = 0x0, this[_0xa609f(0x31c) + _0xa609f(0x592)] = 0x0, this['isReady'] = !0x1, this[_0xa609f(0x2fc)] = { + 'showAdFn': null + }, this[_0xa609f(0x1cb)] = { + 'showTimes': null + }; + } [_0x215793(0x441)](_0x177ee2) { + const _0x3f847 = _0x215793, + _0xd9d1db = _0x177ee2['data'] || {}; + switch (_0xd9d1db[_0x3f847(0x853)]) { + case _0x3f847(0x4c8) + _0x3f847(0x84e): + switch (_0xd9d1db[_0x3f847(0x411)]) { + case _0x3f847(0x21e) + 'Ad': + this[_0x3f847(0x3b7)] && this['options']['beforeShow' + 'Ad'] && (this[_0x3f847(0x3b7)][_0x3f847(0x21e) + 'Ad'](), this['options']['beforeShow' + 'Ad'] = null); + break; + case 'afterShowA' + 'd': + this[_0x3f847(0x3b7)] && this[_0x3f847(0x3b7)][_0x3f847(0x5e2) + 'd'] && (this['options'][_0x3f847(0x5e2) + 'd'](), this[_0x3f847(0x3b7)]['afterShowA' + 'd'] = null); + } + break; + case _0x3f847(0x371): + _0xd9d1db[_0x3f847(0x411)] && (window['yygGamesOw' + _0x3f847(0x7fe)] = _0xd9d1db[_0x3f847(0x411)][_0x3f847(0x7ba) + _0x3f847(0x7fe)], this['rConfig']['showAdFn'] = _0xd9d1db[_0x3f847(0x411)][_0x3f847(0x831)]); + break; + case _0x3f847(0x831): + this[_0x3f847(0x2fc)][_0x3f847(0x831)] = _0xd9d1db['data']; + break; + case _0x3f847(0x1c3): + switch (_0xd9d1db[_0x3f847(0x411)]) { + case _0x3f847(0x21e) + 'Ad': + this[_0x3f847(0x4aa) + _0x3f847(0x336)] && this[_0x3f847(0x4aa) + 'ons'][_0x3f847(0x21e) + 'Ad'] && (this['rewardOpti' + 'ons']['beforeShow' + 'Ad'](), this[_0x3f847(0x4aa) + 'ons'][_0x3f847(0x21e) + 'Ad'] = null); + break; + case 'afterShowA' + 'd': + this[_0x3f847(0x4aa) + _0x3f847(0x336)] && this[_0x3f847(0x4aa) + _0x3f847(0x336)][_0x3f847(0x5e2) + 'd'] && (this[_0x3f847(0x4aa) + 'ons'][_0x3f847(0x5e2) + 'd'](), this['rewardOpti' + _0x3f847(0x336)][_0x3f847(0x5e2) + 'd'] = null); + break; + case 'rewardComp' + _0x3f847(0x38a): + this[_0x3f847(0x4aa) + _0x3f847(0x336)] && this[_0x3f847(0x4aa) + _0x3f847(0x336)][_0x3f847(0x794) + 'lete'] && (this['rewardOpti' + _0x3f847(0x336)]['rewardComp' + _0x3f847(0x38a)](), this[_0x3f847(0x4aa) + _0x3f847(0x336)][_0x3f847(0x794) + _0x3f847(0x38a)] = null); + break; + case _0x3f847(0x6fd) + _0x3f847(0x311): + this[_0x3f847(0x4aa) + 'ons'] && this[_0x3f847(0x4aa) + _0x3f847(0x336)][_0x3f847(0x6fd) + _0x3f847(0x311)] && (this[_0x3f847(0x4aa) + _0x3f847(0x336)][_0x3f847(0x6fd) + _0x3f847(0x311)](), this[_0x3f847(0x4aa) + _0x3f847(0x336)][_0x3f847(0x6fd) + _0x3f847(0x311)] = null); + } + } + } ['startup']() { + return new Promise(async (_0x1c8c5e, _0x273bd9) => { + const _0x522579 = _0xb80e; + if (window[_0x522579(0x77f) + _0x522579(0x564)]('message', this[_0x522579(0x441)][_0x522579(0x570)](this), !0x1), window[_0x522579(0x816)]) { + try { + window[_0x522579(0x816)][_0x522579(0x517) + 'e']({ + 'event': _0x522579(0x371) + }, '*'); + } catch (_0x4b7ca2) { + _0x3a3af5[_0x522579(0x395)]['trace'](_0x522579(0x517) + _0x522579(0x5a7), _0x4b7ca2); + } + await new Promise((_0x1c0903, _0x112288) => { + setTimeout(() => { + _0x1c0903(); + }, 0xc8); + }); + } + const _0x47d427 = document[_0x522579(0x81d) + _0x522579(0x871)](_0x522579(0x1bb)); + _0x47d427[_0x522579(0x7ae)] = !0x0, _0x47d427[_0x522579(0x1eb) + 'te'](_0x522579(0x71d) + _0x522579(0x5ff), _0x522579(0x822) + '6100897128' + '261'), _0x47d427['setAttribu' + 'te']('data-ad-ch' + _0x522579(0x66b), _0x522579(0x445)), _0x47d427['setAttribu' + 'te'](_0x522579(0x77e) + _0x522579(0x5aa) + 'nt', _0x522579(0x59e)), _0x153938[_0x522579(0x395)]['getInstanc' + 'e']()[_0x522579(0x6f3)](_0xde598c[_0x522579(0x1ac)][_0x522579(0x440) + 'EN']) && _0x47d427[_0x522579(0x1eb) + 'te'](_0x522579(0x6b3) + _0x522579(0x3fe), 'on'), _0x47d427['onload'] = () => { + const _0x5c87a0 = _0x522579; + this[_0x5c87a0(0x512) + _0x5c87a0(0x3d7)] = setInterval(this[_0x5c87a0(0x86c)][_0x5c87a0(0x570)](this), 0x3e8), _0x1c8c5e(!0x0); + }, _0x47d427['onerror'] = function () { + _0x273bd9(); + }, _0x47d427[_0x522579(0x318)] = 'https://pa' + _0x522579(0x32e) + _0x522579(0x6bd) + _0x522579(0x1ad) + _0x522579(0x5c2) + _0x522579(0x4b9) + 'js', document['head'][_0x522579(0x76a) + 'd'](_0x47d427), window[_0x522579(0x2e7) + 'e'] = window[_0x522579(0x2e7) + 'e'] || [], window['adBreak'] = window['adConfig'] = function (_0x4a0f4e) { + const _0x214640 = _0x522579; + window[_0x214640(0x2e7) + 'e']['push'](_0x4a0f4e); + }, window[_0x522579(0x2e5)]({ + 'preloadAdBreaks': 'on', + 'onReady': _0x47b8ab => { + const _0x4def63 = _0x522579; + this[_0x4def63(0x867)] = !0x0, _0x3a3af5[_0x4def63(0x395)][_0x4def63(0x1e1)](_0x4def63(0x880) + _0x4def63(0x63d)); + } + }), this[_0x522579(0x862)] = function (_0x25744c) { + const _0x3591a4 = _0x522579; + window[_0x3591a4(0x2e7) + 'e'][_0x3591a4(0x2c4)](_0x25744c); + }, _0x3eec11[_0x522579(0x395)]['ga'](_0x522579(0x74e) + _0x522579(0x216)); + }); + } ['showInters' + 'titial'](_0x4b2c94) { + const _0xb5df15 = _0x215793; + if (_0x3a3af5[_0xb5df15(0x395)][_0xb5df15(0x1e1)](_0xb5df15(0x76d) + _0xb5df15(0x833), _0x3eec11[_0xb5df15(0x395)][_0xb5df15(0x55a)](document[_0xb5df15(0x42f)])), _0x3a3af5[_0xb5df15(0x395)][_0xb5df15(0x20f) + _0xb5df15(0x41a)]() && this['iConfig']['showTimes'] > 0x0) { + this['options'] = _0x4b2c94; + try { + window[_0xb5df15(0x816)]['postMessag' + 'e']({ + 'event': 'showInters' + _0xb5df15(0x84e) + }, '*'); + } catch (_0x21f7fc) { + console[_0xb5df15(0x7ec)](_0xb5df15(0x4c8) + _0xb5df15(0x35a) + _0xb5df15(0x5dd), _0x21f7fc); + } + return; + } + if (this[_0xb5df15(0x31c) + 'alCooldown'] > 0x0) return _0x4b2c94 && _0x4b2c94['beforeShow' + 'Ad'] && (_0x4b2c94['beforeShow' + 'Ad'](), _0x4b2c94[_0xb5df15(0x21e) + 'Ad'] = null), _0x4b2c94 && _0x4b2c94[_0xb5df15(0x5e2) + 'd'] && (_0x4b2c94[_0xb5df15(0x5e2) + 'd'](), _0x4b2c94[_0xb5df15(0x5e2) + 'd'] = null), void _0x3a3af5[_0xb5df15(0x395)][_0xb5df15(0x1e1)](_0xb5df15(0x547) + _0xb5df15(0x1c8) + _0xb5df15(0x80f) + _0xb5df15(0x23d) + ', ignored ' + ':', this[_0xb5df15(0x31c) + _0xb5df15(0x592)]); + if (_0x3a3af5['default'][_0xb5df15(0x1e1)](_0xb5df15(0x547) + _0xb5df15(0x1c8) + 'ial AD'), this[_0xb5df15(0x3b7)] && this[_0xb5df15(0x3b7)]['afterShowA' + 'd']) return; + let _0x201053 = 'next'; + if (0x0 == this[_0xb5df15(0x4c8) + _0xb5df15(0x404) + 't'] && (_0x201053 = 'preroll', this['showInters' + _0xb5df15(0x404) + 't']++), _0x3eec11[_0xb5df15(0x395)][_0xb5df15(0x41c) + 'g'](), this[_0xb5df15(0x867)]) return clearTimeout(this[_0xb5df15(0x41c) + 'g']), this[_0xb5df15(0x41c) + 'g'] = setTimeout(() => { + const _0x2ee02d = _0xb5df15; + this[_0x2ee02d(0x31c) + _0x2ee02d(0x592)] = 0x1e, _0x4b2c94 && _0x4b2c94['beforeShow' + 'Ad'] && (_0x4b2c94[_0x2ee02d(0x21e) + 'Ad'](), _0x4b2c94['beforeShow' + 'Ad'] = null, _0xaf9e14[_0x2ee02d(0x395)][_0x2ee02d(0x610) + 'e']()['event']('beforeShow' + 'Ad')), _0x4b2c94 && _0x4b2c94[_0x2ee02d(0x5e2) + 'd'] && (_0x4b2c94[_0x2ee02d(0x5e2) + 'd'](), _0x4b2c94[_0x2ee02d(0x5e2) + 'd'] = null), _0x3eec11[_0x2ee02d(0x395)]['hideLoadin' + 'g'](); + }, 0x3e8), this[_0xb5df15(0x3b7)] = _0x4b2c94, _0xb5df15(0x292) == _0x201053 ? (_0x4b2c94 && _0x4b2c94[_0xb5df15(0x21e) + 'Ad'] && (_0x4b2c94[_0xb5df15(0x21e) + 'Ad'](), _0x4b2c94['beforeShow' + 'Ad'] = null, _0xaf9e14[_0xb5df15(0x395)][_0xb5df15(0x610) + 'e']()[_0xb5df15(0x853)]('beforeShow' + 'Ad')), clearTimeout(this[_0xb5df15(0x41c) + 'g']), void this[_0xb5df15(0x862)]({ + 'type': _0x201053, + 'name': 'game', + 'adBreakDone': _0x27b2cb => { + const _0xafa78b = _0xb5df15; + this[_0xafa78b(0x1cb)][_0xafa78b(0x609)]++, this['interstiti' + _0xafa78b(0x592)] = 0x1e, _0x3a3af5[_0xafa78b(0x395)]['trace']('adBreakDon' + 'e', _0x27b2cb), _0x3eec11[_0xafa78b(0x395)]['hideLoadin' + 'g'](), _0x4b2c94 && _0x4b2c94[_0xafa78b(0x5e2) + 'd'] && (_0x4b2c94[_0xafa78b(0x5e2) + 'd'](), _0x4b2c94[_0xafa78b(0x5e2) + 'd'] = null, _0xaf9e14['default'][_0xafa78b(0x610) + 'e']()[_0xafa78b(0x853)](_0xafa78b(0x5e2) + 'd')); + } + })) : (this[_0xb5df15(0x862)]({ + 'type': _0x201053, + 'name': 'game', + 'beforeAd': () => { + const _0x2bbce0 = _0xb5df15; + _0x4b2c94 && _0x4b2c94[_0x2bbce0(0x21e) + 'Ad'] && (_0x4b2c94['beforeShow' + 'Ad'](), _0x4b2c94[_0x2bbce0(0x21e) + 'Ad'] = null, _0xaf9e14['default'][_0x2bbce0(0x610) + 'e']()[_0x2bbce0(0x853)](_0x2bbce0(0x21e) + 'Ad')), clearTimeout(this['showLoadin' + 'g']), window['blur'](); + }, + 'afterAd': () => { + const _0x38f914 = _0xb5df15; + _0x3a3af5[_0x38f914(0x395)]['trace']('afterAd'), _0x3eec11[_0x38f914(0x395)][_0x38f914(0x70c) + 'g'](), _0x4b2c94 && _0x4b2c94['afterShowA' + 'd'] && (_0x4b2c94[_0x38f914(0x5e2) + 'd'](), _0x4b2c94[_0x38f914(0x5e2) + 'd'] = null), this[_0x38f914(0x31c) + _0x38f914(0x592)] = 0x1e, window[_0x38f914(0x1d8)](), _0xaf9e14['default'][_0x38f914(0x610) + 'e']()['event'](_0x38f914(0x5e2) + 'd'); + }, + 'adBreakDone': _0xd36297 => { + const _0x3af22b = _0xb5df15; + _0x3a3af5[_0x3af22b(0x395)][_0x3af22b(0x1e1)](_0x3af22b(0x1f2) + 'e', _0xd36297), clearTimeout(this[_0x3af22b(0x41c) + 'g']), _0x3eec11['default'][_0x3af22b(0x70c) + 'g'](), _0x4b2c94 && _0x4b2c94[_0x3af22b(0x21e) + 'Ad'] && (_0x4b2c94[_0x3af22b(0x21e) + 'Ad'](), _0x4b2c94[_0x3af22b(0x21e) + 'Ad'] = null, _0xaf9e14[_0x3af22b(0x395)][_0x3af22b(0x610) + 'e']()[_0x3af22b(0x853)](_0x3af22b(0x21e) + 'Ad')), _0x4b2c94 && _0x4b2c94[_0x3af22b(0x5e2) + 'd'] && (_0x4b2c94[_0x3af22b(0x5e2) + 'd'](), _0x4b2c94[_0x3af22b(0x5e2) + 'd'] = null, _0xaf9e14[_0x3af22b(0x395)][_0x3af22b(0x610) + 'e']()[_0x3af22b(0x853)]('afterShowA' + 'd')); + } + }), !0x0); + _0x29958a['default']['getInstanc' + 'e']()[_0xb5df15(0x4c8) + _0xb5df15(0x84e)]({ + 'beforeAd': () => { + const _0x5690b8 = _0xb5df15; + _0x3eec11['default'][_0x5690b8(0x70c) + 'g'](), _0x4b2c94 && _0x4b2c94[_0x5690b8(0x21e) + 'Ad'] && (_0x4b2c94[_0x5690b8(0x21e) + 'Ad'](), _0x4b2c94[_0x5690b8(0x21e) + 'Ad'] = null, _0xaf9e14[_0x5690b8(0x395)][_0x5690b8(0x610) + 'e']()[_0x5690b8(0x853)](_0x5690b8(0x21e) + 'Ad')), clearTimeout(this[_0x5690b8(0x41c) + 'g']), window[_0x5690b8(0x5ec)](); + }, + 'afterAd': () => { + const _0x56c7a5 = _0xb5df15; + _0x3a3af5[_0x56c7a5(0x395)][_0x56c7a5(0x1e1)]('afterAd'), _0x3eec11['default']['hideLoadin' + 'g'](), _0x4b2c94 && _0x4b2c94[_0x56c7a5(0x5e2) + 'd'] && (_0x4b2c94[_0x56c7a5(0x5e2) + 'd'](), _0x4b2c94[_0x56c7a5(0x5e2) + 'd'] = null), this[_0x56c7a5(0x31c) + _0x56c7a5(0x592)] = 0x1e, window[_0x56c7a5(0x1d8)](), _0xaf9e14['default'][_0x56c7a5(0x610) + 'e']()[_0x56c7a5(0x853)](_0x56c7a5(0x5e2) + 'd'); + } + }); + } [_0x215793(0x408) + _0x215793(0x58a)]() { + const _0xbcfa06 = _0x215793; + return _0x3a3af5[_0xbcfa06(0x395)]['onYYGGames' + _0xbcfa06(0x41a)]() ? this[_0xbcfa06(0x2fc)][_0xbcfa06(0x831)] : !this[_0xbcfa06(0x867)] || !!this[_0xbcfa06(0x831)]; + } [_0x215793(0x1c3)](_0x44926e) { + const _0x18916d = _0x215793; + if (!this['canShowRew' + _0x18916d(0x58a)]()) return !0x1; + if (_0x3a3af5[_0x18916d(0x395)][_0x18916d(0x20f) + _0x18916d(0x41a)]()) { + this['rewardOpti' + _0x18916d(0x336)] = _0x44926e; + try { + window['parent']['postMessag' + 'e']({ + 'event': _0x18916d(0x1c3) + }, '*'); + } catch (_0x55fc98) { + console['log'](_0x18916d(0x1c3) + _0x18916d(0x82e), _0x55fc98); + } + } else { + if (_0x3a3af5[_0x18916d(0x395)][_0x18916d(0x1e1)](_0x18916d(0x547) + _0x18916d(0x1f9)), this[_0x18916d(0x4aa) + _0x18916d(0x336)] = _0x44926e, this[_0x18916d(0x867)]) return this[_0x18916d(0x831)](), this[_0x18916d(0x831)] = null, window[_0x18916d(0x5ec)](), !0x0; + _0x29958a[_0x18916d(0x395)][_0x18916d(0x610) + 'e']()[_0x18916d(0x1c3)]({ + 'beforeAd': () => { + const _0x20f9aa = _0x18916d; + _0x3eec11[_0x20f9aa(0x395)][_0x20f9aa(0x70c) + 'g'](), _0x44926e && _0x44926e[_0x20f9aa(0x21e) + 'Ad'] && (_0x44926e[_0x20f9aa(0x21e) + 'Ad'](), _0x44926e[_0x20f9aa(0x21e) + 'Ad'] = null, _0xaf9e14['default'][_0x20f9aa(0x610) + 'e']()[_0x20f9aa(0x853)](_0x20f9aa(0x21e) + 'Ad')), clearTimeout(this[_0x20f9aa(0x41c) + 'g']), window['blur'](); + }, + 'afterAd': () => { + const _0x1e4e86 = _0x18916d; + _0x3a3af5[_0x1e4e86(0x395)]['trace'](_0x1e4e86(0x86a)), _0x3eec11[_0x1e4e86(0x395)][_0x1e4e86(0x70c) + 'g'](), _0x44926e && _0x44926e[_0x1e4e86(0x5e2) + 'd'] && (_0x44926e['afterShowA' + 'd'](), _0x44926e['afterShowA' + 'd'] = null), this[_0x1e4e86(0x31c) + _0x1e4e86(0x592)] = 0x1e, window[_0x1e4e86(0x1d8)](), _0xaf9e14[_0x1e4e86(0x395)][_0x1e4e86(0x610) + 'e']()['event'](_0x1e4e86(0x5e2) + 'd'); + }, + 'adDismissed': this[_0x18916d(0x507) + _0x18916d(0x4e3)][_0x18916d(0x570)](this), + 'adViewed': this[_0x18916d(0x69e) + _0x18916d(0x760)][_0x18916d(0x570)](this) + }); + } + } [_0x215793(0x86c)]() { + const _0x58fd93 = _0x215793; + this[_0x58fd93(0x31c) + _0x58fd93(0x592)] >= 0x0 && this[_0x58fd93(0x31c) + _0x58fd93(0x592)]--, this[_0x58fd93(0x32a) + 'd'](); + } [_0x215793(0x32a) + 'd']() { + const _0x1863bd = _0x215793; + this['showAdFn'] || this[_0x1863bd(0x862)]({ + 'type': 'reward', + 'name': _0x1863bd(0x3d9), + 'beforeAd': this[_0x1863bd(0x463) + 'foreBreak']['bind'](this), + 'afterAd': this[_0x1863bd(0x538) + _0x1863bd(0x550)][_0x1863bd(0x570)](this), + 'beforeReward': this[_0x1863bd(0x86f) + 'ward'][_0x1863bd(0x570)](this), + 'adDismissed': this[_0x1863bd(0x507) + _0x1863bd(0x4e3)]['bind'](this), + 'adViewed': this['onRewardCo' + _0x1863bd(0x760)][_0x1863bd(0x570)](this) + }); + } [_0x215793(0x86f) + 'ward'](_0x3cc31d) { + const _0x22d58e = _0x215793; + _0x3a3af5[_0x22d58e(0x395)]['trace'](_0x22d58e(0x2c3) + 'd AD Succe' + 'ssful'), this[_0x22d58e(0x831)] = _0x3cc31d; + } [_0x215793(0x463) + _0x215793(0x1cc)]() { + const _0x1dde82 = _0x215793; + _0xaf9e14['default'][_0x1dde82(0x610) + 'e']()[_0x1dde82(0x853)](_0x1dde82(0x21e) + 'Ad'), this[_0x1dde82(0x4aa) + 'ons'][_0x1dde82(0x21e) + 'Ad'] && this[_0x1dde82(0x4aa) + _0x1dde82(0x336)][_0x1dde82(0x21e) + 'Ad'](), this[_0x1dde82(0x4aa) + _0x1dde82(0x336)][_0x1dde82(0x21e) + 'Ad'] = null; + } [_0x215793(0x538) + _0x215793(0x550)]() { + const _0xcbb07f = _0x215793; + window[_0xcbb07f(0x1d8)](), this[_0xcbb07f(0x31c) + _0xcbb07f(0x592)] = 0x1e, this[_0xcbb07f(0x4aa) + _0xcbb07f(0x336)][_0xcbb07f(0x5e2) + 'd'] && this[_0xcbb07f(0x4aa) + _0xcbb07f(0x336)]['afterShowA' + 'd'](), this[_0xcbb07f(0x4aa) + _0xcbb07f(0x336)][_0xcbb07f(0x5e2) + 'd'] = null, this[_0xcbb07f(0x831)] = null, _0xaf9e14[_0xcbb07f(0x395)][_0xcbb07f(0x610) + 'e']()[_0xcbb07f(0x853)](_0xcbb07f(0x5e2) + 'd'); + } [_0x215793(0x507) + _0x215793(0x4e3)]() { + const _0x147e70 = _0x215793; + this[_0x147e70(0x4aa) + _0x147e70(0x336)][_0x147e70(0x6fd) + _0x147e70(0x311)] && this['rewardOpti' + _0x147e70(0x336)][_0x147e70(0x6fd) + 'issed'](), this[_0x147e70(0x4aa) + 'ons'][_0x147e70(0x6fd) + 'issed'] = null; + } [_0x215793(0x69e) + 'mplete']() { + const _0x2c8762 = _0x215793; + this[_0x2c8762(0x4aa) + 'ons'][_0x2c8762(0x794) + _0x2c8762(0x38a)] && this[_0x2c8762(0x4aa) + _0x2c8762(0x336)][_0x2c8762(0x794) + _0x2c8762(0x38a)](), this['rewardOpti' + _0x2c8762(0x336)][_0x2c8762(0x794) + _0x2c8762(0x38a)] = null; + } [_0x215793(0x309)](_0x10de47) {} [_0x215793(0x2da)](_0x3edf51) {} [_0x215793(0x64c)](_0x5c2f94) {} [_0x215793(0x496)](_0x17fe10) {} + } + _0x3faacc[_0x215793(0x395)] = _0x282750; + }, + 0x1b97: function (_0x3b52bd, _0x16062c, _0x5709a2) { + 'use strict'; + const _0x20e9ad = _0xb80e; + var _0x1ad1b1 = this && this['__importDe' + 'fault'] || function (_0x2cc089) { + const _0x19d394 = _0xb80e; + return _0x2cc089 && _0x2cc089[_0x19d394(0x772)] ? _0x2cc089 : { + 'default': _0x2cc089 + }; + }; + Object[_0x20e9ad(0x501) + _0x20e9ad(0x6a8)](_0x16062c, _0x20e9ad(0x772), { + 'value': !0x0 + }); + const _0x378562 = _0x5709a2(0x2235), + _0x3be335 = _0x1ad1b1(_0x5709a2(0x836)), + _0x3d65da = _0x1ad1b1(_0x5709a2(0x1c5c)), + _0x26a496 = _0x1ad1b1(_0x5709a2(0x92e)), + _0xec3491 = _0x1ad1b1(_0x5709a2(0x1ea1)); + class _0x48a6d9 extends _0x378562[_0x20e9ad(0x327)] { + constructor() { + const _0x1703a3 = _0x20e9ad; + super(...arguments), this[_0x1703a3(0x4c8) + _0x1703a3(0x404) + 't'] = 0x0, this[_0x1703a3(0x31c) + 'alCooldown'] = 0x0, this[_0x1703a3(0x867)] = !0x1, this[_0x1703a3(0x2fc)] = { + 'showAdFn': null + }, this['iConfig'] = { + 'showTimes': null + }; + } ['init']() { + return new Promise(async (_0x491a28, _0x573279) => { + const _0x378acc = _0xb80e, + _0x53ad39 = document['createElem' + _0x378acc(0x871)](_0x378acc(0x1bb)); + _0x53ad39[_0x378acc(0x7ae)] = !0x0, _0x53ad39[_0x378acc(0x1eb) + 'te']('data-ad-cl' + _0x378acc(0x5ff), _0x378acc(0x898) + _0x378acc(0x3ba) + _0x378acc(0x398)), _0x53ad39[_0x378acc(0x1eb) + 'te']('data-ad-ch' + _0x378acc(0x66b), _0x378acc(0x545)), _0x53ad39[_0x378acc(0x1eb) + 'te'](_0x378acc(0x77e) + _0x378acc(0x5aa) + 'nt', _0x378acc(0x571)), _0x53ad39[_0x378acc(0x303)] = () => { + const _0x3a7e0f = _0x378acc; + this['updateInte' + _0x3a7e0f(0x3d7)] = setInterval(this['onUpdate'][_0x3a7e0f(0x570)](this), 0x3e8), _0x491a28(!0x0); + }, _0x53ad39['onerror'] = function () { + _0x573279(); + }, _0x53ad39[_0x378acc(0x318)] = _0x378acc(0x46a) + _0x378acc(0x32e) + _0x378acc(0x6bd) + _0x378acc(0x1ad) + 'gead/js/ad' + _0x378acc(0x4b9) + 'js', document[_0x378acc(0x451)][_0x378acc(0x76a) + 'd'](_0x53ad39), window[_0x378acc(0x2e7) + 'e'] = window[_0x378acc(0x2e7) + 'e'] || [], window[_0x378acc(0x862)] = window[_0x378acc(0x2e5)] = function (_0x3c80a8) { + const _0x46969f = _0x378acc; + window['adsbygoogl' + 'e'][_0x46969f(0x2c4)](_0x3c80a8); + }, window[_0x378acc(0x2e5)]({ + 'preloadAdBreaks': 'on', + 'onReady': _0x23a478 => { + const _0x3c1496 = _0x378acc; + this[_0x3c1496(0x867)] = !0x0, _0x26a496[_0x3c1496(0x395)][_0x3c1496(0x1e1)]('adBreak is' + 'Read'); + } + }), this[_0x378acc(0x862)] = function (_0x35f622) { + const _0x3f86e3 = _0x378acc; + window[_0x3f86e3(0x2e7) + 'e'][_0x3f86e3(0x2c4)](_0x35f622); + }; + }); + } [_0x20e9ad(0x4c8) + _0x20e9ad(0x84e)](_0x1d37da) { + const _0x2ffbca = _0x20e9ad; + if (this[_0x2ffbca(0x31c) + _0x2ffbca(0x592)] > 0x0) return _0x1d37da && _0x1d37da[_0x2ffbca(0x21e) + 'Ad'] && (_0x1d37da[_0x2ffbca(0x21e) + 'Ad'](), _0x1d37da[_0x2ffbca(0x21e) + 'Ad'] = null), _0x1d37da && _0x1d37da[_0x2ffbca(0x5e2) + 'd'] && (_0x1d37da[_0x2ffbca(0x5e2) + 'd'](), _0x1d37da[_0x2ffbca(0x5e2) + 'd'] = null), void _0x26a496[_0x2ffbca(0x395)][_0x2ffbca(0x1e1)](_0x2ffbca(0x547) + _0x2ffbca(0x1c8) + _0x2ffbca(0x80f) + _0x2ffbca(0x23d) + _0x2ffbca(0x355) + ':', this[_0x2ffbca(0x31c) + _0x2ffbca(0x592)]); + if (_0x26a496['default'][_0x2ffbca(0x1e1)](_0x2ffbca(0x547) + ' Interstit' + _0x2ffbca(0x62a)), this[_0x2ffbca(0x3b7)] && this[_0x2ffbca(0x3b7)][_0x2ffbca(0x5e2) + 'd']) return; + let _0x1ab65a = 'next'; + if (0x0 == this[_0x2ffbca(0x4c8) + _0x2ffbca(0x404) + 't'] && (_0x1ab65a = _0x2ffbca(0x292), this[_0x2ffbca(0x4c8) + _0x2ffbca(0x404) + 't']++), _0x3d65da[_0x2ffbca(0x395)][_0x2ffbca(0x41c) + 'g'](), this[_0x2ffbca(0x867)]) return clearTimeout(this[_0x2ffbca(0x41c) + 'g']), this[_0x2ffbca(0x41c) + 'g'] = setTimeout(() => { + const _0x4a0490 = _0x2ffbca; + this[_0x4a0490(0x31c) + _0x4a0490(0x592)] = 0x1e, _0x1d37da && _0x1d37da[_0x4a0490(0x21e) + 'Ad'] && (_0x1d37da[_0x4a0490(0x21e) + 'Ad'](), _0x1d37da[_0x4a0490(0x21e) + 'Ad'] = null, _0xec3491[_0x4a0490(0x395)][_0x4a0490(0x610) + 'e']()[_0x4a0490(0x853)](_0x4a0490(0x21e) + 'Ad')), _0x1d37da && _0x1d37da[_0x4a0490(0x5e2) + 'd'] && (_0x1d37da['afterShowA' + 'd'](), _0x1d37da[_0x4a0490(0x5e2) + 'd'] = null), _0x3d65da[_0x4a0490(0x395)][_0x4a0490(0x70c) + 'g'](); + }, 0x3e8), this[_0x2ffbca(0x3b7)] = _0x1d37da, 'preroll' == _0x1ab65a ? (_0x1d37da && _0x1d37da['beforeShow' + 'Ad'] && (_0x1d37da[_0x2ffbca(0x21e) + 'Ad'](), _0x1d37da[_0x2ffbca(0x21e) + 'Ad'] = null, _0xec3491[_0x2ffbca(0x395)][_0x2ffbca(0x610) + 'e']()[_0x2ffbca(0x853)](_0x2ffbca(0x21e) + 'Ad')), clearTimeout(this[_0x2ffbca(0x41c) + 'g']), void this['adBreak']({ + 'type': _0x1ab65a, + 'name': 'game', + 'adBreakDone': _0x3a536a => { + const _0xa6f1f5 = _0x2ffbca; + this[_0xa6f1f5(0x1cb)][_0xa6f1f5(0x609)]++, this[_0xa6f1f5(0x31c) + _0xa6f1f5(0x592)] = 0x1e, _0x26a496[_0xa6f1f5(0x395)][_0xa6f1f5(0x1e1)](_0xa6f1f5(0x1f2) + 'e', _0x3a536a), _0x3d65da[_0xa6f1f5(0x395)][_0xa6f1f5(0x70c) + 'g'](), _0x1d37da && _0x1d37da[_0xa6f1f5(0x5e2) + 'd'] && (_0x1d37da[_0xa6f1f5(0x5e2) + 'd'](), _0x1d37da[_0xa6f1f5(0x5e2) + 'd'] = null, _0xec3491[_0xa6f1f5(0x395)][_0xa6f1f5(0x610) + 'e']()[_0xa6f1f5(0x853)](_0xa6f1f5(0x5e2) + 'd')); + } + })) : (this[_0x2ffbca(0x862)]({ + 'type': _0x1ab65a, + 'name': _0x2ffbca(0x2d0), + 'beforeAd': () => { + const _0x1a8405 = _0x2ffbca; + _0x1d37da && _0x1d37da[_0x1a8405(0x21e) + 'Ad'] && (_0x1d37da[_0x1a8405(0x21e) + 'Ad'](), _0x1d37da[_0x1a8405(0x21e) + 'Ad'] = null, _0xec3491[_0x1a8405(0x395)]['getInstanc' + 'e']()[_0x1a8405(0x853)](_0x1a8405(0x21e) + 'Ad')), clearTimeout(this[_0x1a8405(0x41c) + 'g']), window['blur'](); + }, + 'afterAd': () => { + const _0x436a3f = _0x2ffbca; + _0x26a496['default']['trace'](_0x436a3f(0x86a)), _0x3d65da['default'][_0x436a3f(0x70c) + 'g'](), _0x1d37da && _0x1d37da[_0x436a3f(0x5e2) + 'd'] && (_0x1d37da[_0x436a3f(0x5e2) + 'd'](), _0x1d37da[_0x436a3f(0x5e2) + 'd'] = null), this['interstiti' + _0x436a3f(0x592)] = 0x1e, window[_0x436a3f(0x1d8)](), _0xec3491['default'][_0x436a3f(0x610) + 'e']()[_0x436a3f(0x853)](_0x436a3f(0x5e2) + 'd'); + }, + 'adBreakDone': _0x2b34f7 => { + const _0x264ff6 = _0x2ffbca; + _0x26a496[_0x264ff6(0x395)]['trace']('adBreakDon' + 'e', _0x2b34f7), clearTimeout(this[_0x264ff6(0x41c) + 'g']), _0x3d65da[_0x264ff6(0x395)][_0x264ff6(0x70c) + 'g'](), _0x1d37da && _0x1d37da[_0x264ff6(0x21e) + 'Ad'] && (_0x1d37da[_0x264ff6(0x21e) + 'Ad'](), _0x1d37da[_0x264ff6(0x21e) + 'Ad'] = null, _0xec3491[_0x264ff6(0x395)][_0x264ff6(0x610) + 'e']()['event'](_0x264ff6(0x21e) + 'Ad')), _0x1d37da && _0x1d37da['afterShowA' + 'd'] && (_0x1d37da[_0x264ff6(0x5e2) + 'd'](), _0x1d37da['afterShowA' + 'd'] = null, _0xec3491[_0x264ff6(0x395)]['getInstanc' + 'e']()[_0x264ff6(0x853)](_0x264ff6(0x5e2) + 'd')); + } + }), !0x0); + _0x3be335[_0x2ffbca(0x395)][_0x2ffbca(0x610) + 'e']()['showInters' + _0x2ffbca(0x84e)]({ + 'beforeAd': () => { + const _0x3f0f62 = _0x2ffbca; + _0x3d65da[_0x3f0f62(0x395)][_0x3f0f62(0x70c) + 'g'](), _0x1d37da && _0x1d37da[_0x3f0f62(0x21e) + 'Ad'] && (_0x1d37da[_0x3f0f62(0x21e) + 'Ad'](), _0x1d37da[_0x3f0f62(0x21e) + 'Ad'] = null, _0xec3491[_0x3f0f62(0x395)][_0x3f0f62(0x610) + 'e']()[_0x3f0f62(0x853)](_0x3f0f62(0x21e) + 'Ad')), clearTimeout(this[_0x3f0f62(0x41c) + 'g']), window[_0x3f0f62(0x5ec)](); + }, + 'afterAd': () => { + const _0x537eb1 = _0x2ffbca; + _0x26a496[_0x537eb1(0x395)][_0x537eb1(0x1e1)](_0x537eb1(0x86a)), _0x3d65da[_0x537eb1(0x395)][_0x537eb1(0x70c) + 'g'](), _0x1d37da && _0x1d37da[_0x537eb1(0x5e2) + 'd'] && (_0x1d37da[_0x537eb1(0x5e2) + 'd'](), _0x1d37da['afterShowA' + 'd'] = null), this[_0x537eb1(0x31c) + _0x537eb1(0x592)] = 0x1e, window['focus'](), _0xec3491[_0x537eb1(0x395)][_0x537eb1(0x610) + 'e']()[_0x537eb1(0x853)](_0x537eb1(0x5e2) + 'd'); + } + }); + } [_0x20e9ad(0x408) + _0x20e9ad(0x58a)]() { + const _0x42a696 = _0x20e9ad; + return !this[_0x42a696(0x867)] || !!this['showAdFn']; + } ['showReward'](_0xc1dd6) { + const _0x45dcb0 = _0x20e9ad; + return !!this['canShowRew' + _0x45dcb0(0x58a)]() && (_0x26a496['default']['trace']('requesting' + ' Reward AD'), this[_0x45dcb0(0x4aa) + _0x45dcb0(0x336)] = _0xc1dd6, this['isReady'] ? (this[_0x45dcb0(0x831)](), this[_0x45dcb0(0x831)] = null, window[_0x45dcb0(0x5ec)](), !0x0) : void _0x3be335[_0x45dcb0(0x395)]['getInstanc' + 'e']()[_0x45dcb0(0x1c3)]({ + 'beforeAd': () => { + const _0x112501 = _0x45dcb0; + _0x3d65da['default'][_0x112501(0x70c) + 'g'](), _0xc1dd6 && _0xc1dd6[_0x112501(0x21e) + 'Ad'] && (_0xc1dd6['beforeShow' + 'Ad'](), _0xc1dd6[_0x112501(0x21e) + 'Ad'] = null, _0xec3491['default'][_0x112501(0x610) + 'e']()[_0x112501(0x853)]('beforeShow' + 'Ad')), clearTimeout(this[_0x112501(0x41c) + 'g']), window[_0x112501(0x5ec)](); + }, + 'afterAd': () => { + const _0x467167 = _0x45dcb0; + _0x26a496[_0x467167(0x395)][_0x467167(0x1e1)]('afterAd'), _0x3d65da[_0x467167(0x395)]['hideLoadin' + 'g'](), _0xc1dd6 && _0xc1dd6['afterShowA' + 'd'] && (_0xc1dd6[_0x467167(0x5e2) + 'd'](), _0xc1dd6[_0x467167(0x5e2) + 'd'] = null), this[_0x467167(0x31c) + _0x467167(0x592)] = 0x1e, window[_0x467167(0x1d8)](), _0xec3491[_0x467167(0x395)][_0x467167(0x610) + 'e']()[_0x467167(0x853)](_0x467167(0x5e2) + 'd'); + }, + 'adDismissed': this[_0x45dcb0(0x507) + 'smissed']['bind'](this), + 'adViewed': this[_0x45dcb0(0x69e) + _0x45dcb0(0x760)][_0x45dcb0(0x570)](this) + })); + } [_0x20e9ad(0x86c)]() { + const _0x501010 = _0x20e9ad; + this[_0x501010(0x31c) + 'alCooldown'] >= 0x0 && this[_0x501010(0x31c) + _0x501010(0x592)]--, this[_0x501010(0x32a) + 'd'](); + } ['checkRewar' + 'd']() { + const _0x4f45dd = _0x20e9ad; + this[_0x4f45dd(0x831)] || this['adBreak']({ + 'type': _0x4f45dd(0x3d9), + 'name': _0x4f45dd(0x3d9), + 'beforeAd': this['onRewardBe' + 'foreBreak'][_0x4f45dd(0x570)](this), + 'afterAd': this['onRewardAf' + _0x4f45dd(0x550)]['bind'](this), + 'beforeReward': this['onBeforeRe' + _0x4f45dd(0x530)][_0x4f45dd(0x570)](this), + 'adDismissed': this['onRewardDi' + _0x4f45dd(0x4e3)][_0x4f45dd(0x570)](this), + 'adViewed': this[_0x4f45dd(0x69e) + _0x4f45dd(0x760)]['bind'](this) + }); + } [_0x20e9ad(0x86f) + _0x20e9ad(0x530)](_0x444906) { + const _0x53e5ec = _0x20e9ad; + _0x26a496['default'][_0x53e5ec(0x1e1)](_0x53e5ec(0x2c3) + _0x53e5ec(0x40c) + _0x53e5ec(0x73b)), this[_0x53e5ec(0x831)] = _0x444906; + } ['onRewardBe' + 'foreBreak']() { + const _0x4a114d = _0x20e9ad; + _0xec3491['default']['getInstanc' + 'e']()[_0x4a114d(0x853)](_0x4a114d(0x21e) + 'Ad'), this[_0x4a114d(0x4aa) + _0x4a114d(0x336)][_0x4a114d(0x21e) + 'Ad'] && this[_0x4a114d(0x4aa) + _0x4a114d(0x336)][_0x4a114d(0x21e) + 'Ad'](), this[_0x4a114d(0x4aa) + _0x4a114d(0x336)][_0x4a114d(0x21e) + 'Ad'] = null; + } [_0x20e9ad(0x538) + 'terBreak']() { + const _0x207422 = _0x20e9ad; + window[_0x207422(0x1d8)](), this[_0x207422(0x31c) + 'alCooldown'] = 0x1e, this[_0x207422(0x4aa) + _0x207422(0x336)]['afterShowA' + 'd'] && this[_0x207422(0x4aa) + _0x207422(0x336)][_0x207422(0x5e2) + 'd'](), this[_0x207422(0x4aa) + _0x207422(0x336)]['afterShowA' + 'd'] = null, this[_0x207422(0x831)] = null, _0xec3491[_0x207422(0x395)]['getInstanc' + 'e']()[_0x207422(0x853)](_0x207422(0x5e2) + 'd'); + } [_0x20e9ad(0x507) + 'smissed']() { + const _0x507bb1 = _0x20e9ad; + this[_0x507bb1(0x4aa) + _0x507bb1(0x336)]['rewardDism' + _0x507bb1(0x311)] && this[_0x507bb1(0x4aa) + _0x507bb1(0x336)][_0x507bb1(0x6fd) + _0x507bb1(0x311)](), this['rewardOpti' + 'ons']['rewardDism' + 'issed'] = null; + } ['onRewardCo' + _0x20e9ad(0x760)]() { + const _0xec8117 = _0x20e9ad; + this[_0xec8117(0x4aa) + _0xec8117(0x336)]['rewardComp' + _0xec8117(0x38a)] && this[_0xec8117(0x4aa) + _0xec8117(0x336)][_0xec8117(0x794) + 'lete'](), this[_0xec8117(0x4aa) + _0xec8117(0x336)][_0xec8117(0x794) + _0xec8117(0x38a)] = null; + } [_0x20e9ad(0x309)](_0x5e5811) {} [_0x20e9ad(0x2da)](_0x31934f) {} [_0x20e9ad(0x64c)](_0x595441) {} [_0x20e9ad(0x496)](_0x4a80ce) {} + } + _0x16062c[_0x20e9ad(0x395)] = _0x48a6d9; + }, + 0x1c4e: (_0x454edd, _0x2766ca) => { + 'use strict'; + const _0x5dff3f = _0xb80e; + Object[_0x5dff3f(0x501) + _0x5dff3f(0x6a8)](_0x2766ca, _0x5dff3f(0x772), { + 'value': !0x0 + }); + class _0x5cd9ef { + static[_0x5dff3f(0x414)]() { + const _0x8d5f0d = _0x5dff3f; + _0x8d5f0d(0x54c) != typeof Laya && (this[_0x8d5f0d(0x271)] = Laya[_0x8d5f0d(0x46e)]['scale'], Laya[_0x8d5f0d(0x46e)][_0x8d5f0d(0x1db)] = 0x0); + } + static[_0x5dff3f(0x503)]() { + const _0x12e4c2 = _0x5dff3f; + _0x12e4c2(0x54c) != typeof Laya && (Laya[_0x12e4c2(0x46e)][_0x12e4c2(0x1db)] = this['timerScale']); + } + } + _0x2766ca[_0x5dff3f(0x395)] = _0x5cd9ef, _0x5cd9ef[_0x5dff3f(0x271)] = 0x1; + }, + 0x836: function (_0x4901be, _0x360472, _0x318679) { + 'use strict'; + const _0x139693 = _0xb80e; + var _0x43ca5c = this && this[_0x139693(0x343) + _0x139693(0x3a7)] || function (_0x594cd0) { + const _0x45c7e2 = _0x139693; + return _0x594cd0 && _0x594cd0[_0x45c7e2(0x772)] ? _0x594cd0 : { + 'default': _0x594cd0 + }; + }; + Object[_0x139693(0x501) + _0x139693(0x6a8)](_0x360472, _0x139693(0x772), { + 'value': !0x0 + }); + const _0x196937 = _0x43ca5c(_0x318679(0x1eb)), + _0x3a07fa = _0x318679(0x139f), + _0x27755b = _0x43ca5c(_0x318679(0x1680)), + _0x477ff3 = _0x43ca5c(_0x318679(0x1c5c)), + _0x50a3e2 = _0x43ca5c(_0x318679(0x92e)); + class _0x117252 extends _0x196937[_0x139693(0x395)] { + constructor() { + const _0x3eb7b1 = _0x139693; + super(...arguments), this[_0x3eb7b1(0x4b2)] = [], this[_0x3eb7b1(0x371)] = !0x1, this[_0x3eb7b1(0x294)] = [], this['rewardInte' + _0x3eb7b1(0x3d7)] = 0x0, this[_0x3eb7b1(0x4dd)] = 0x0, this[_0x3eb7b1(0x7ee)] = { + 'w': 0xc8, + 'h': 0xc8, + 'dw': 0x2ee, + 'dh': 0x2ee + }, this[_0x3eb7b1(0x6fc)] = ''; + } + static[_0x139693(0x610) + 'e']() { + const _0x1ee2a3 = _0x139693; + return this['_gInstance'] || (this[_0x1ee2a3(0x43e)] = new _0x117252()), this[_0x1ee2a3(0x43e)]; + } ['init']() { + const _0x26017e = _0x139693; + this['inited'] = !0x1; + const _0x47011b = ['https://ww' + _0x26017e(0x68d) + 'forgame/ga' + _0x26017e(0x44c), _0x26017e(0x88f) + _0x26017e(0x83e) + 'forgame/ga' + _0x26017e(0x44c)]; + _0x47011b[_0x26017e(0x7fd)](function () { + const _0x39974a = _0x26017e; + return 0.5 - Math[_0x39974a(0x718)](); + }), this['domain'] = _0x26017e(0x88f) + _0x26017e(0x68d); + const _0x493dc3 = _0x47011b[0x0]; + _0x493dc3[_0x26017e(0x80b)](_0x26017e(0x4d4) + 'm') > -0x1 && (this[_0x26017e(0x6fc)] = _0x26017e(0x88f) + _0x26017e(0x83e), this['itemSize']['w'] = 0x10a, this['itemSize']['dh'] = 562.5), _0x50a3e2[_0x26017e(0x395)]['readDataSy' + 'nc'](_0x493dc3)[_0x26017e(0x197)](_0x13a436 => { + const _0xa1211b = _0x26017e; + if (_0x13a436['sort'](function () { + const _0x301eaa = _0xb80e; + return 0.5 - Math[_0x301eaa(0x718)](); + }), this['games'] = _0x13a436, 0x0 == _0x13a436[_0xa1211b(0x33e)]) return; + const _0x5b25ac = document[_0xa1211b(0x81d) + _0xa1211b(0x871)](_0xa1211b(0x4c3)); + _0x5b25ac[_0xa1211b(0x622)]['background' + 'Color'] = _0xa1211b(0x416), _0x5b25ac[_0xa1211b(0x622)][_0xa1211b(0x67d)] = _0xa1211b(0x690), _0x5b25ac[_0xa1211b(0x622)][_0xa1211b(0x859)] = _0xa1211b(0x83d), _0x5b25ac['style'][_0xa1211b(0x696)] = _0xa1211b(0x83d), _0x5b25ac[_0xa1211b(0x622)]['textAlign'] = _0xa1211b(0x45e), _0x5b25ac['style'][_0xa1211b(0x628)] = '0', _0x5b25ac['style'][_0xa1211b(0x585)] = '0'; + const _0x5afe6f = document[_0xa1211b(0x81d) + _0xa1211b(0x871)](_0xa1211b(0x4c3)); + _0x5afe6f[_0xa1211b(0x622)][_0xa1211b(0x30a)] = 'flex', _0x5afe6f[_0xa1211b(0x622)][_0xa1211b(0x4ef)] = '0', _0x5afe6f[_0xa1211b(0x622)][_0xa1211b(0x859)] = '100%', _0x5afe6f[_0xa1211b(0x622)][_0xa1211b(0x696)] = _0xa1211b(0x83d), _0x5afe6f[_0xa1211b(0x622)][_0xa1211b(0x60a) + 'ion'] = _0xa1211b(0x79d), _0x5afe6f['style'][_0xa1211b(0x780)] = _0xa1211b(0x45e), _0x5afe6f[_0xa1211b(0x622)][_0xa1211b(0x801) + _0xa1211b(0x3df)] = 'center'; + for (let _0x3c80c6 = 0x0; _0x3c80c6 < 0x2; _0x3c80c6++) { + const _0x421d66 = document['createElem' + _0xa1211b(0x871)](_0xa1211b(0x4c3)); + for (let _0x172855 = 0x0; _0x172855 < 0x2; _0x172855++) { + const _0x3a63ed = document['createElem' + 'ent'](_0xa1211b(0x625)); + _0x3a63ed['style'][_0xa1211b(0x5a6)] = _0xa1211b(0x790), _0x3a63ed[_0xa1211b(0x622)][_0xa1211b(0x5a3)] = '4px', _0x3a63ed['style'][_0xa1211b(0x38d)] = _0xa1211b(0x5c5), _0x3a63ed['style']['border'] = '2px solid ' + '#FFFFFF', _0x3a63ed[_0xa1211b(0x622)][_0xa1211b(0x54a) + 'us'] = _0xa1211b(0x7c8), _0x3a63ed['setAttribu' + 'te']('id', _0x13a436[this[_0xa1211b(0x4b2)][_0xa1211b(0x33e)]]['id']), _0x3a63ed['src'] = _0x13a436[this['recommends'][_0xa1211b(0x33e)]][_0xa1211b(0x685)], _0x3a63ed[_0xa1211b(0x303)] = () => { + const _0x4bf301 = _0xa1211b; + this[_0x4bf301(0x881)](); + }, _0x3a63ed[_0xa1211b(0x1d1)] = () => { + const _0x2a06a1 = _0xa1211b; + this[_0x2a06a1(0x333)](_0x3a63ed['getAttribu' + 'te']('id')); + }, _0x421d66[_0xa1211b(0x76a) + 'd'](_0x3a63ed), this[_0xa1211b(0x4b2)][_0xa1211b(0x2c4)](_0x3a63ed); + } + _0x5afe6f[_0xa1211b(0x76a) + 'd'](_0x421d66); + } + const _0x4bf39b = document[_0xa1211b(0x81d) + 'ent'](_0xa1211b(0x4c3)); + _0x4bf39b[_0xa1211b(0x71c)] = _0xa1211b(0x29b), _0x4bf39b[_0xa1211b(0x622)][_0xa1211b(0x859)] = _0xa1211b(0x63e), _0x4bf39b[_0xa1211b(0x622)][_0xa1211b(0x696)] = _0xa1211b(0x53b), _0x4bf39b[_0xa1211b(0x622)][_0xa1211b(0x399)] = '30px', _0x4bf39b[_0xa1211b(0x622)][_0xa1211b(0x7e8)] = _0xa1211b(0x4e8) + _0xa1211b(0x6ab), _0x4bf39b[_0xa1211b(0x622)][_0xa1211b(0x67d)] = _0xa1211b(0x690), _0x4bf39b[_0xa1211b(0x622)][_0xa1211b(0x7b6)] = '40px', _0x4bf39b['style']['right'] = _0xa1211b(0x7c8), _0x4bf39b[_0xa1211b(0x622)][_0xa1211b(0x5a6)] = _0xa1211b(0x790), _0x4bf39b[_0xa1211b(0x622)][_0xa1211b(0x883)] = _0xa1211b(0x6ab), _0x5afe6f[_0xa1211b(0x76a) + 'd'](_0x4bf39b); + const _0xa7e74 = document[_0xa1211b(0x81d) + _0xa1211b(0x871)](_0xa1211b(0x4c3)); + _0xa7e74['style']['position'] = _0xa1211b(0x690), _0xa7e74[_0xa1211b(0x622)][_0xa1211b(0x7b6)] = _0xa1211b(0x7c8), _0xa7e74[_0xa1211b(0x622)][_0xa1211b(0x888)] = _0xa1211b(0x7c8), _0xa7e74[_0xa1211b(0x622)][_0xa1211b(0x883)] = _0xa1211b(0x6ab), _0xa7e74[_0xa1211b(0x71c)] = _0xa1211b(0x50a) + _0xa1211b(0x4fe) + this['domain']['replace']('https://ww' + 'w.', '')[_0xa1211b(0x5ef)]('/', ''), _0xa7e74[_0xa1211b(0x622)]['cursor'] = _0xa1211b(0x790), _0x5afe6f[_0xa1211b(0x76a) + 'd'](_0xa7e74), _0x5b25ac['appendChil' + 'd'](_0x5afe6f), document['body'][_0xa1211b(0x76a) + 'd'](_0x5b25ac), _0x4bf39b[_0xa1211b(0x1d1)] = () => { + const _0x5e0342 = _0xa1211b; + if (this[_0x5e0342(0x4dd)] > 0x0) { + if (this[_0x5e0342(0x3b7)] && this[_0x5e0342(0x3b7)][_0x5e0342(0x6bc) + 'd']) return; + } else this[_0x5e0342(0x3b7)] && this[_0x5e0342(0x3b7)][_0x5e0342(0x243)] && (this[_0x5e0342(0x3b7)][_0x5e0342(0x243)](), this[_0x5e0342(0x3b7)]['adDismisse' + 'd'] = null, this[_0x5e0342(0x3b7)][_0x5e0342(0x243)] = null); + this['options'] && this['options'][_0x5e0342(0x86a)] && (this['options']['afterAd'](), this[_0x5e0342(0x3b7)]['afterAd'] = null), _0x5b25ac['style'][_0x5e0342(0x449)] = '0', _0x5b25ac[_0x5e0342(0x622)][_0x5e0342(0x30a)] = 'none'; + }, _0xa7e74[_0xa1211b(0x1d1)] = () => { + const _0x5cc4b4 = _0xa1211b; + this[_0x5cc4b4(0x333)](); + }, _0x5b25ac['style']['display'] = _0xa1211b(0x3b6), this[_0xa1211b(0x7d5) + _0xa1211b(0x25a)] = _0x4bf39b, this['recommend_' + _0xa1211b(0x7b6)] = _0xa7e74, this[_0xa1211b(0x840)] = _0x5b25ac, this['inited'] = !0x0, window[_0xa1211b(0x77f) + _0xa1211b(0x564)]('resize', () => { + const _0x33828e = _0xa1211b; + this[_0x33828e(0x881)](); + }, !0x1); + }); + } ['navigate'](_0x5b8e3d) { + const _0x117afc = _0x139693, + _0x2a3ba4 = _0x27755b['default'][_0x117afc(0x610) + 'e']()[_0x117afc(0x6f3)](_0x3a07fa['ConfigType'][_0x117afc(0x68f)]), + _0x3838a7 = _0x27755b['default'][_0x117afc(0x610) + 'e']()[_0x117afc(0x6f3)](_0x3a07fa[_0x117afc(0x1ac)]['en_CHANNEL' + _0x117afc(0x5ba)]); + _0x5b8e3d = _0x5b8e3d || ''; + var _0x3a8310 = document[_0x117afc(0x42f)]; + let _0x4b70d3 = this['domain']; + void 0x0 === _0x5b8e3d || '' == _0x5b8e3d || _0x117afc(0x54c) == _0x5b8e3d || (_0x4b70d3 = _0x4b70d3 + _0x117afc(0x6c7) + _0x5b8e3d), _0x3a8310 = void 0x0 === _0x3a8310 || '' == _0x3a8310 || _0x117afc(0x54c) == _0x3a8310 ? 'unknown' : _0x3a8310[_0x117afc(0x1a0)]('/')[0x2], _0x4b70d3[_0x117afc(0x80b)]('?') > -0x1 ? _0x4b70d3 += '&' : _0x4b70d3 += '?', _0x4b70d3 = _0x4b70d3 + ('utm_source' + '=') + _0x3a8310 + (_0x117afc(0x3f2) + 'm=') + _0x2a3ba4 + (_0x117afc(0x525) + 'ign=defaul' + 'tAD-') + _0x3838a7; + try { + window[_0x117afc(0x27f)](_0x4b70d3); + } catch (_0x357d8e) {} + } [_0x139693(0x881)]() { + const _0xd621dc = _0x139693; + var _0x364e18, _0x2cb48f = this[_0xd621dc(0x7ee)]['dw'], + _0x5d8997 = this[_0xd621dc(0x7ee)]['dh'], + _0x4885f6 = window[_0xd621dc(0x39a)], + _0x10cfa8 = window[_0xd621dc(0x710) + 't']; + _0x364e18 = _0x4885f6 / _0x10cfa8 > _0x2cb48f / _0x5d8997 ? _0x10cfa8 * _0x2cb48f / _0x5d8997 : _0x4885f6; + for (const _0x4cb138 of this[_0xd621dc(0x4b2)]) _0x4cb138['width'] = Math[_0xd621dc(0x52e)](this['itemSize']['w'], _0x364e18 * this[_0xd621dc(0x7ee)]['w'] / _0x2cb48f), _0x4cb138[_0xd621dc(0x696)] = _0x4cb138[_0xd621dc(0x859)] * _0x5d8997 / _0x2cb48f; + this[_0xd621dc(0x7d5) + _0xd621dc(0x7b6)]['style']['fontSize'] = _0x4885f6 < 0xd2 ? '10' : '18'; + } [_0x139693(0x1c3)](_0x550980) { + const _0xa752f0 = _0x139693; + this[_0xa752f0(0x294)]['sort'](function () { + return 0.5 - Math['random'](); + }); + for (let _0x4268cf = 0x0; _0x4268cf < this[_0xa752f0(0x4b2)][_0xa752f0(0x33e)]; _0x4268cf++) { + const _0x158dab = this['recommends'][_0x4268cf]; + _0x158dab['src'] = this[_0xa752f0(0x294)][_0x4268cf][_0xa752f0(0x685)], _0x158dab['setAttribu' + 'te']('id', this[_0xa752f0(0x294)][_0x4268cf]['id']); + } + this[_0xa752f0(0x4dd)] = 0x5, this[_0xa752f0(0x7d5) + _0xa752f0(0x25a)][_0xa752f0(0x65c)] = 'Reward in ' + '5s', this[_0xa752f0(0x840)][_0xa752f0(0x622)][_0xa752f0(0x30a)] = '', this[_0xa752f0(0x840)]['style']['zIndex'] = _0xa752f0(0x68b), this[_0xa752f0(0x3b7)] = _0x550980, this[_0xa752f0(0x3b7)] && this[_0xa752f0(0x3b7)][_0xa752f0(0x1bf)] && (this[_0xa752f0(0x3b7)][_0xa752f0(0x1bf)](), this[_0xa752f0(0x3b7)][_0xa752f0(0x1bf)] = null), clearInterval(this[_0xa752f0(0x60e) + _0xa752f0(0x3d7)]), this[_0xa752f0(0x60e) + 'rval'] = setInterval(() => { + const _0x5c477c = _0xa752f0; + this[_0x5c477c(0x4dd)]--, this['recommend_' + _0x5c477c(0x25a)][_0x5c477c(0x65c)] = 'Reward in ' + this['rewardTime'] + 's', this[_0x5c477c(0x4dd)] <= 0x0 && (clearInterval(this['rewardInte' + _0x5c477c(0x3d7)]), this[_0x5c477c(0x7d5) + _0x5c477c(0x25a)][_0x5c477c(0x65c)] = _0x5c477c(0x29b)); + }, 0x3e8); + } [_0x139693(0x4c8) + _0x139693(0x84e)](_0x388f5f) { + const _0x54166c = _0x139693; + if (!this[_0x54166c(0x371)]) return this[_0x54166c(0x3b7)] && this[_0x54166c(0x3b7)][_0x54166c(0x1bf)] && (this[_0x54166c(0x3b7)][_0x54166c(0x1bf)](), this[_0x54166c(0x3b7)]['beforeAd'] = null), void(this['options'] && this[_0x54166c(0x3b7)][_0x54166c(0x86a)] && (this[_0x54166c(0x3b7)][_0x54166c(0x86a)](), this[_0x54166c(0x3b7)]['afterAd'] = null)); + _0x477ff3[_0x54166c(0x395)][_0x54166c(0x70c) + 'g'](), this[_0x54166c(0x4dd)] = -0x1, this[_0x54166c(0x294)]['sort'](function () { + const _0xc70206 = _0x54166c; + return 0.5 - Math[_0xc70206(0x718)](); + }); + for (let _0xbdb30b = 0x0; _0xbdb30b < this[_0x54166c(0x4b2)][_0x54166c(0x33e)]; _0xbdb30b++) { + const _0x414406 = this['recommends'][_0xbdb30b]; + _0x414406[_0x54166c(0x318)] = this[_0x54166c(0x294)][_0xbdb30b][_0x54166c(0x685)], _0x414406[_0x54166c(0x1eb) + 'te']('id', this[_0x54166c(0x294)][_0xbdb30b]['id']); + } + this['recommend_' + _0x54166c(0x25a)][_0x54166c(0x65c)] = 'CLOSE', this[_0x54166c(0x840)][_0x54166c(0x622)][_0x54166c(0x30a)] = '', this[_0x54166c(0x840)][_0x54166c(0x622)][_0x54166c(0x449)] = _0x54166c(0x68b), this[_0x54166c(0x3b7)] = _0x388f5f, this[_0x54166c(0x3b7)] && this['options'][_0x54166c(0x1bf)] && (this[_0x54166c(0x3b7)]['beforeAd'](), this[_0x54166c(0x3b7)]['beforeAd'] = null); + } + } + _0x360472[_0x139693(0x395)] = _0x117252; + }, + 0x1b83: function (_0x2875d4, _0x5757d9, _0xd26e93) { + 'use strict'; + const _0x563cd3 = _0xb80e; + var _0x34b0a3 = this && this[_0x563cd3(0x343) + 'fault'] || function (_0x56f51c) { + const _0x592f42 = _0x563cd3; + return _0x56f51c && _0x56f51c[_0x592f42(0x772)] ? _0x56f51c : { + 'default': _0x56f51c + }; + }; + Object[_0x563cd3(0x501) + 'erty'](_0x5757d9, _0x563cd3(0x772), { + 'value': !0x0 + }); + const _0x814ff = _0x34b0a3(_0xd26e93(0x1eb)), + _0x2d10fd = _0x34b0a3(_0xd26e93(0x43b)); + class _0x3710f8 extends _0x814ff[_0x563cd3(0x395)] { + static[_0x563cd3(0x610) + 'e']() { + const _0x53fadc = _0x563cd3; + return this['_gInstance'] || (this['_gInstance'] = new _0x3710f8()), this[_0x53fadc(0x43e)]; + } + constructor() { + const _0x53d6f9 = _0x563cd3; + super(); + const _0x477e90 = document[_0x53d6f9(0x6ed)] || document['getElement' + _0x53d6f9(0x5d0)]('body')[0x0], + _0x381789 = document['createElem' + _0x53d6f9(0x871)]('style'), + _0x2f7a89 = _0x2d10fd[_0x53d6f9(0x395)][_0x53d6f9(0x28d)](_0x53d6f9(0x1a4) + _0x53d6f9(0x61f), this[_0x53d6f9(0x2ab)]()), + _0x28ce6f = _0x53d6f9(0x5a2) + _0x53d6f9(0x4ee) + _0x2f7a89 + ',.' + _0x2f7a89 + ':before,.' + _0x2f7a89 + (':after\x0a ' + _0x53d6f9(0x85e) + _0x53d6f9(0x872) + ' b' + 'order-radi' + _0x53d6f9(0x4af) + _0x53d6f9(0x6a9) + _0x53d6f9(0x647) + ': 2.0em;\x0a ' + _0x53d6f9(0x6a9) + _0x53d6f9(0x374) + _0x53d6f9(0x3bd) + _0x53d6f9(0x5a2) + _0x53d6f9(0x2a0) + _0x53d6f9(0x5d2) + _0x53d6f9(0x46b) + 'mode: both' + ';\x0a ' + ' an' + _0x53d6f9(0x728) + _0x53d6f9(0x282) + _0x53d6f9(0x205) + ' ' + _0x53d6f9(0x49d) + 'nimation: ' + _0x53d6f9(0x612) + ' infinite ' + _0x53d6f9(0x810) + _0x53d6f9(0x6a3) + _0x53d6f9(0x699) + _0x53d6f9(0x32d) + _0x53d6f9(0x612) + _0x53d6f9(0x4ce) + _0x53d6f9(0x810) + 't;\x0a ' + _0x53d6f9(0x686) + _0x53d6f9(0x490)) + _0x2f7a89 + (_0x53d6f9(0x795) + _0x53d6f9(0x235) + _0x53d6f9(0x367) + _0x53d6f9(0x49a) + _0x53d6f9(0x6a9) + _0x53d6f9(0x77c) + _0x53d6f9(0x31a) + _0x53d6f9(0x6a9) + _0x53d6f9(0x6ef) + _0x53d6f9(0x804) + _0x53d6f9(0x426) + _0x53d6f9(0x74f) + 'sition: re' + _0x53d6f9(0x509) + _0x53d6f9(0x6a9) + ' text-i' + _0x53d6f9(0x27d) + _0x53d6f9(0x694) + ' ' + _0x53d6f9(0x1a2) + _0x53d6f9(0x1d7) + _0x53d6f9(0x267) + _0x53d6f9(0x80c) + ' ' + _0x53d6f9(0x87f) + _0x53d6f9(0x741) + _0x53d6f9(0x2d5) + ';\x0a ' + ' tr' + _0x53d6f9(0x61e) + 'ranslateZ(' + _0x53d6f9(0x415) + _0x53d6f9(0x6a9) + _0x53d6f9(0x1df) + _0x53d6f9(0x715) + _0x53d6f9(0x79f) + 's;\x0a ' + _0x53d6f9(0x699) + _0x53d6f9(0x811) + _0x53d6f9(0x4eb) + _0x53d6f9(0x5f3) + ' }\x0a ' + _0x53d6f9(0x6a9) + '.') + _0x2f7a89 + ':before,.' + _0x2f7a89 + (_0x53d6f9(0x825) + _0x53d6f9(0x85e) + _0x53d6f9(0x5a2) + _0x53d6f9(0x272) + _0x53d6f9(0x435) + _0x53d6f9(0x6a9) + _0x53d6f9(0x6b5) + _0x53d6f9(0x594) + 'lute;top: ' + _0x53d6f9(0x495) + ' }\x0a ' + _0x53d6f9(0x490)) + _0x2f7a89 + (_0x53d6f9(0x354) + _0x53d6f9(0x6a9) + _0x53d6f9(0x7b9) + _0x53d6f9(0x61a) + ' ' + _0x53d6f9(0x3ea) + _0x53d6f9(0x7eb) + 'on-delay: ' + '-0.32s;\x0a ' + _0x53d6f9(0x6a9) + _0x53d6f9(0x35f) + _0x53d6f9(0x635) + ' -0.32s;\x0a ' + ' ' + _0x53d6f9(0x84b) + _0x53d6f9(0x88a)) + _0x2f7a89 + (_0x53d6f9(0x7c0) + _0x53d6f9(0x6a9) + ' left: ' + _0x53d6f9(0x7f0) + _0x53d6f9(0x3cd) + _0x53d6f9(0x5a2) + _0x53d6f9(0x670) + 't-keyframe' + _0x53d6f9(0x7e0) + _0x53d6f9(0x6a9) + _0x53d6f9(0x1ae) + _0x53d6f9(0x661) + _0x53d6f9(0x3fa) + '{\x0a ' + _0x53d6f9(0x6a9) + _0x53d6f9(0x765) + _0x53d6f9(0x1a6) + _0x53d6f9(0x3be) + _0x53d6f9(0x426) + _0x53d6f9(0x6cb) + _0x53d6f9(0x6a9) + _0x53d6f9(0x406) + _0x53d6f9(0x1ae) + _0x53d6f9(0x6a9) + _0x53d6f9(0x765) + _0x53d6f9(0x1a6) + 'm 0 0;\x0a ' + _0x53d6f9(0x6a9) + _0x53d6f9(0x328) + ' }\x0a ' + _0x53d6f9(0x6a9) + ' @keyframe' + _0x53d6f9(0x7e0) + _0x53d6f9(0x6a9) + _0x53d6f9(0x1ae) + ' 0%' + _0x53d6f9(0x3fa) + _0x53d6f9(0x1ae) + _0x53d6f9(0x6a9) + _0x53d6f9(0x765) + _0x53d6f9(0x1a6) + _0x53d6f9(0x3be) + _0x53d6f9(0x426) + _0x53d6f9(0x6cb) + _0x53d6f9(0x6a9) + _0x53d6f9(0x406) + _0x53d6f9(0x1ae) + ' ' + ' box-shad' + _0x53d6f9(0x1a6) + _0x53d6f9(0x486) + ' ' + _0x53d6f9(0x328) + _0x53d6f9(0x72c) + _0x53d6f9(0x657)); + _0x381789[_0x53d6f9(0x646) + 't'] += _0x28ce6f, _0x477e90[_0x53d6f9(0x76a) + 'd'](_0x381789), this[_0x53d6f9(0x3e6)] = document[_0x53d6f9(0x81d) + 'ent']('div'), this[_0x53d6f9(0x3e6)]['style'][_0x53d6f9(0x67d)] = 'fixed', this[_0x53d6f9(0x3e6)][_0x53d6f9(0x622)][_0x53d6f9(0x449)] = '0', this[_0x53d6f9(0x3e6)][_0x53d6f9(0x622)][_0x53d6f9(0x585)] = '0', this[_0x53d6f9(0x3e6)][_0x53d6f9(0x622)]['left'] = '0', this[_0x53d6f9(0x3e6)]['style']['width'] = '100%', this['background'][_0x53d6f9(0x622)][_0x53d6f9(0x696)] = _0x53d6f9(0x83d), this[_0x53d6f9(0x3e6)][_0x53d6f9(0x622)][_0x53d6f9(0x3e6) + 'Color'] = _0x53d6f9(0x543) + _0x53d6f9(0x275), this[_0x53d6f9(0x567)] = document['createElem' + _0x53d6f9(0x871)]('div'), this[_0x53d6f9(0x567)]['className'] = _0x2f7a89, this[_0x53d6f9(0x567)][_0x53d6f9(0x622)][_0x53d6f9(0x585)] = _0x53d6f9(0x30e), this['background'][_0x53d6f9(0x76a) + 'd'](this[_0x53d6f9(0x567)]), this[_0x53d6f9(0x3e6)][_0x53d6f9(0x622)][_0x53d6f9(0x30a)] = 'none', _0x477e90['appendChil' + 'd'](this[_0x53d6f9(0x3e6)]); + } [_0x563cd3(0x749)](_0x3bd18d) { + const _0x1e0996 = _0x563cd3; + this[_0x1e0996(0x3e6)][_0x1e0996(0x622)][_0x1e0996(0x3e6) + 'Color'] = _0x2d10fd[_0x1e0996(0x395)][_0x1e0996(0x28d)](_0x1e0996(0x543) + _0x1e0996(0x38e), _0x3bd18d), 0x0 == _0x3bd18d && (this[_0x1e0996(0x567)][_0x1e0996(0x622)][_0x1e0996(0x30a)] = _0x1e0996(0x3b6)); + } [_0x563cd3(0x41c) + 'g']() { + const _0x3a1940 = _0x563cd3; + this['background'][_0x3a1940(0x622)][_0x3a1940(0x449)] = _0x3a1940(0x68b), this[_0x3a1940(0x3e6)]['style'][_0x3a1940(0x30a)] = 'block'; + } [_0x563cd3(0x70c) + 'g']() { + const _0x1cd89b = _0x563cd3; + this['background'][_0x1cd89b(0x622)]['zIndex'] = '0', this['background'][_0x1cd89b(0x622)][_0x1cd89b(0x30a)] = _0x1cd89b(0x3b6); + } + } + _0x5757d9[_0x563cd3(0x395)] = _0x3710f8; + }, + 0x10e7: function (_0x2ceafd, _0x369359, _0x4c1231) { + 'use strict'; + const _0x186953 = _0xb80e; + var _0x1b385d = this && this[_0x186953(0x343) + _0x186953(0x3a7)] || function (_0x47b6a5) { + const _0x5a2f9e = _0x186953; + return _0x47b6a5 && _0x47b6a5[_0x5a2f9e(0x772)] ? _0x47b6a5 : { + 'default': _0x47b6a5 + }; + }; + Object['defineProp' + _0x186953(0x6a8)](_0x369359, '__esModule', { + 'value': !0x0 + }); + const _0x8236fe = _0x1b385d(_0x4c1231(0x1eb)), + _0x5cb1f1 = _0x4c1231(0xda5), + _0x227512 = _0x4c1231(0x139f), + _0x452d7b = _0x1b385d(_0x4c1231(0x1680)); + class _0x42b60b extends _0x8236fe[_0x186953(0x395)] { + static['getInstanc' + 'e']() { + const _0x14e5e0 = _0x186953; + return this[_0x14e5e0(0x43e)] || (this['_gInstance'] = new _0x42b60b()), this[_0x14e5e0(0x43e)]; + } + constructor() { + const _0x2b604a = _0x186953; + super(); + const _0x26694b = document[_0x2b604a(0x81d) + _0x2b604a(0x871)](_0x2b604a(0x537)); + _0x26694b['style'][_0x2b604a(0x30a)] = 'none', document[_0x2b604a(0x451)][_0x2b604a(0x76a) + 'd'](_0x26694b), this[_0x2b604a(0x6f9)] = _0x26694b[_0x2b604a(0x1c1) + _0x2b604a(0x2b9)][_0x2b604a(0x5b2)]; + } ['trace'](..._0x3fe44e) { + const _0x1186da = _0x186953; + if (_0x452d7b['default']['getInstanc' + 'e']()[_0x1186da(0x6f3)](_0x227512['ConfigType'][_0x1186da(0x680) + _0x1186da(0x5f4)]) != _0x5cb1f1[_0x1186da(0x7ed) + _0x1186da(0x654)][_0x1186da(0x7a2) + _0x1186da(0x63b)] || _0x452d7b[_0x1186da(0x395)][_0x1186da(0x610) + 'e']()[_0x1186da(0x6f3)](_0x227512[_0x1186da(0x1ac)]['en_DEBUGOP' + 'EN'])) { + for (var _0x318946 = [], _0x35eb21 = 0x1; _0x35eb21 < arguments[_0x1186da(0x33e)]; _0x35eb21++) _0x318946[_0x35eb21 - 0x1] = arguments[_0x35eb21]; + this['gConsole'][_0x1186da(0x7ec)][_0x1186da(0x28a)](this, [_0x1186da(0x2f7) + _0x1186da(0x4b5), _0x1186da(0x3e6) + _0x1186da(0x4e7), _0x1186da(0x3e6) + ': #d44a52', _0x1186da(0x1e6) + _0x1186da(0x455) + _0x1186da(0x47c) + _0x1186da(0x714), arguments[0x0]][_0x1186da(0x49b)](_0x318946)); + } + } [_0x186953(0x7db)](..._0x1e9d74) { + const _0x1a7d56 = _0x186953, + _0x485f7f = []; + for (let _0x45f738 = 0x1; _0x45f738 < arguments['length']; _0x45f738++) _0x485f7f[_0x45f738 - 0x1] = arguments[_0x45f738]; + this[_0x1a7d56(0x6f9)][_0x1a7d56(0x7ec)][_0x1a7d56(0x28a)](this, [_0x1a7d56(0x2f7) + _0x1a7d56(0x4ae) + '%s %c %c ', _0x1a7d56(0x3e6) + _0x1a7d56(0x4e7), _0x1a7d56(0x3e6) + _0x1a7d56(0x6cc), _0x1a7d56(0x1e6) + _0x1a7d56(0x455) + _0x1a7d56(0x47c) + '71905', _0x1a7d56(0x1e6) + 'ffff;backg' + _0x1a7d56(0x7d0) + _0x1a7d56(0x218), arguments[0x0][_0x1a7d56(0x49b)](..._0x485f7f), _0x1a7d56(0x3e6) + _0x1a7d56(0x6cc), _0x1a7d56(0x3e6) + _0x1a7d56(0x4e7)]); + } [_0x186953(0x363)](_0x21acc6) { + const _0x213b55 = _0x186953; + _0x452d7b[_0x213b55(0x395)]['getInstanc' + 'e']()[_0x213b55(0x6f3)](_0x227512['ConfigType']['en_ADPLATF' + _0x213b55(0x5f4)]) != _0x5cb1f1[_0x213b55(0x7ed) + _0x213b55(0x654)]['en_GAMEDIS' + _0x213b55(0x63b)] && this[_0x213b55(0x6f9)][_0x213b55(0x7ec)][_0x213b55(0x28a)](this, [_0x213b55(0x2f7) + _0x213b55(0x770) + _0x213b55(0x220), _0x213b55(0x3e6) + _0x213b55(0x4e7), _0x213b55(0x3e6) + _0x213b55(0x6cc), _0x213b55(0x1e6) + _0x213b55(0x455) + _0x213b55(0x47c) + _0x213b55(0x714), _0x213b55(0x1e6) + _0x213b55(0x62d), _0x21acc6]); + } [_0x186953(0x4de) + 'on'](_0x558d2c) { + const _0x1d89b6 = _0x186953; + _0x452d7b[_0x1d89b6(0x395)][_0x1d89b6(0x610) + 'e']()[_0x1d89b6(0x6f3)](_0x227512['ConfigType'][_0x1d89b6(0x680) + _0x1d89b6(0x5f4)]) != _0x5cb1f1[_0x1d89b6(0x7ed) + _0x1d89b6(0x654)]['en_GAMEDIS' + _0x1d89b6(0x63b)] && this[_0x1d89b6(0x6f9)][_0x1d89b6(0x7ec)][_0x1d89b6(0x28a)](this, ['%c %c %c Y' + 'YGGAMES %c' + _0x1d89b6(0x2ff), _0x1d89b6(0x3e6) + _0x1d89b6(0x4e7), _0x1d89b6(0x3e6) + _0x1d89b6(0x6cc), _0x1d89b6(0x1e6) + 'ffff; back' + _0x1d89b6(0x47c) + '71905', _0x1d89b6(0x1e6) + _0x1d89b6(0x633) + _0x1d89b6(0x7d0) + _0x1d89b6(0x218), _0x558d2c, _0x1d89b6(0x3e6) + _0x1d89b6(0x6cc), _0x1d89b6(0x3e6) + _0x1d89b6(0x4e7)]); + } + } + _0x369359['default'] = _0x42b60b; + }, + 0xdf3: (_0xf47a1d, _0x1c7bc3, _0x403bd8) => { + 'use strict'; + const _0x58f0c1 = _0xb80e; + Object['defineProp' + _0x58f0c1(0x6a8)](_0x1c7bc3, '__esModule', { + 'value': !0x0 + }); + const _0x2f6164 = _0x403bd8(0x2235); + class _0x5d6d2c extends _0x2f6164[_0x58f0c1(0x327)] { + constructor() { + const _0x255c82 = _0x58f0c1; + super(), this['id'] = -0x1, this[_0x255c82(0x4c3)] = document[_0x255c82(0x81d) + _0x255c82(0x871)](_0x255c82(0x4c3)), this[_0x255c82(0x4c3)][_0x255c82(0x622)][_0x255c82(0x82c)] = _0x255c82(0x793) + _0x255c82(0x39d) + _0x255c82(0x347) + 'reak-all;w' + _0x255c82(0x7dd) + _0x255c82(0x45a) + _0x255c82(0x59b) + 'ly:Arial;p' + _0x255c82(0x7b0) + _0x255c82(0x4fb) + _0x255c82(0x2e8) + _0x255c82(0x345) + _0x255c82(0x379) + _0x255c82(0x249) + _0x255c82(0x344) + _0x255c82(0x774) + ': 20px;tex' + _0x255c82(0x482) + _0x255c82(0x5d1) + 'r-radius: ' + '4px;positi' + _0x255c82(0x2c9) + _0x255c82(0x75b) + _0x255c82(0x5d7) + _0x255c82(0x7bd) + _0x255c82(0x75f) + _0x255c82(0x601) + _0x255c82(0x2b6) + ' 999999;ba' + _0x255c82(0x286) + 'rgba(0, 0,' + _0x255c82(0x48b) + _0x255c82(0x6d3) + _0x255c82(0x70e), document['body'][_0x255c82(0x76a) + 'd'](this[_0x255c82(0x4c3)]); + } [_0x58f0c1(0x637)](_0x2a424f, _0x37fcc0) { + const _0x486497 = _0x58f0c1; + let _0x1a8e9d, _0x5f1be1; + _0x37fcc0 = isNaN(_0x37fcc0) ? 0x7d0 : _0x37fcc0, _0x486497(0x54c) != typeof Laya ? (_0x1a8e9d = Laya[_0x486497(0x436)][_0x486497(0x5cd) + 'h'], _0x5f1be1 = Laya[_0x486497(0x436)][_0x486497(0x2fa) + 'ht']) : (_0x1a8e9d = window[_0x486497(0x39a)], _0x5f1be1 = window['innerHeigh' + 't']); + var _0x5b12e7, _0x31b858 = window[_0x486497(0x39a)], + _0x59abfb = window[_0x486497(0x710) + 't']; + _0x5b12e7 = _0x31b858 / _0x59abfb > _0x1a8e9d / _0x5f1be1 ? _0x59abfb * _0x1a8e9d / _0x5f1be1 : _0x31b858, this['div'][_0x486497(0x622)][_0x486497(0x859)] = _0x5b12e7 - 0x64 + 'px', this[_0x486497(0x4c3)][_0x486497(0x71c)] = _0x2a424f, _0x37fcc0 = isNaN(_0x37fcc0) ? 0x7d0 : _0x37fcc0, this[_0x486497(0x4c3)][_0x486497(0x622)]['display'] = _0x486497(0x467), this['div'][_0x486497(0x622)]['opacity'] = '1', clearTimeout(this['id']), this['id'] = setTimeout(() => { + const _0x1f3fd0 = _0x486497; + this['div'][_0x1f3fd0(0x622)][_0x1f3fd0(0x53c) + _0x1f3fd0(0x497)] = '-webkit-tr' + _0x1f3fd0(0x208) + _0x1f3fd0(0x87d) + ', opacity ' + _0x1f3fd0(0x444) + 'in', this[_0x1f3fd0(0x4c3)][_0x1f3fd0(0x622)][_0x1f3fd0(0x554)] = '0', this['div'][_0x1f3fd0(0x622)][_0x1f3fd0(0x30a)] = _0x1f3fd0(0x3b6); + }, _0x37fcc0); + } [_0x58f0c1(0x6e5)]() { + const _0x5665c4 = _0x58f0c1; + this[_0x5665c4(0x4c3)][_0x5665c4(0x622)]['opacity'] = '0', this['div']['style'][_0x5665c4(0x30a)] = _0x5665c4(0x3b6); + } + } + _0x1c7bc3[_0x58f0c1(0x395)] = _0x5d6d2c; + }, + 0x1d63: function (_0x26c8c1, _0x3442e6, _0x26dded) { + 'use strict'; + const _0x56a360 = _0xb80e; + var _0x5d95f8 = this && this[_0x56a360(0x343) + _0x56a360(0x3a7)] || function (_0x10f844) { + const _0x2f73bd = _0x56a360; + return _0x10f844 && _0x10f844[_0x2f73bd(0x772)] ? _0x10f844 : { + 'default': _0x10f844 + }; + }; + Object[_0x56a360(0x501) + 'erty'](_0x3442e6, _0x56a360(0x772), { + 'value': !0x0 + }); + const _0xce66a1 = _0x5d95f8(_0x26dded(0x4c0)), + _0x5daf07 = _0x5d95f8(_0x26dded(0x109)), + _0x63984d = _0x26dded(0xda5), + _0xad0080 = _0x26dded(0x1b70), + _0x447b17 = _0x26dded(0x139f), + _0x5436e0 = _0x26dded(0x2235), + _0x1e8d05 = _0x5d95f8(_0x26dded(0x1052)), + _0x11ce0c = _0x5d95f8(_0x26dded(0x1bdf)), + _0x1d6e89 = _0x5d95f8(_0x26dded(0x1680)), + _0x32e3ff = _0x5d95f8(_0x26dded(0x1aad)), + _0x55c335 = _0x5d95f8(_0x26dded(0x1ea1)), + _0x585634 = _0x5d95f8(_0x26dded(0x127c)), + _0x2cba98 = _0x5d95f8(_0x26dded(0x42)), + _0x23b013 = _0x5d95f8(_0x26dded(0x2350)), + _0x4185bd = _0x5d95f8(_0x26dded(0x5f7)), + _0x57d065 = _0x5d95f8(_0x26dded(0x84b)), + _0x2ae17d = _0x5d95f8(_0x26dded(0xccb)), + _0x448428 = _0x5d95f8(_0x26dded(0x1554)), + _0x2bdc3e = _0x5d95f8(_0x26dded(0x1b97)), + _0x421e8b = _0x5d95f8(_0x26dded(0x10e7)), + _0x331c80 = _0x5d95f8(_0x26dded(0xdf3)), + _0x212dbd = _0x5d95f8(_0x26dded(0x43b)), + _0x3ab49d = _0x5d95f8(_0x26dded(0x92e)), + _0x4a1c4c = _0x5d95f8(_0x26dded(0x1c97)), + _0x524fd1 = _0x5d95f8(_0x26dded(0x292)), + _0x21cbc8 = _0x5d95f8(_0x26dded(0x4e)); + class _0x5c6356 extends _0x5436e0['Singleton'] { + constructor() { + const _0x242ff1 = _0x56a360; + super(...arguments), this[_0x242ff1(0x371)] = !0x1, this[_0x242ff1(0x213)] = []; + } ['$']() { + const _0x5271ab = _0x56a360; + _0x421e8b[_0x5271ab(0x395)]['getInstanc' + 'e']()[_0x5271ab(0x4de) + 'on'](('116,104,10' + _0x5271ab(0x746) + _0x5271ab(0x76c) + _0x5271ab(0x7b8) + _0x5271ab(0x591) + _0x5271ab(0x7aa) + _0x5271ab(0x6d6) + _0x5271ab(0x276) + _0x5271ab(0x2f2) + _0x5271ab(0x65b))[_0x5271ab(0x1a0)](',')[_0x5271ab(0x296)](_0x283c9c => String[_0x5271ab(0x4cf) + 'de'](~~_0x283c9c))[_0x5271ab(0x493)]('')); + } [_0x56a360(0x73c) + 'ad'](_0x10da04) { + const _0x73a60d = _0x56a360; + return _0x10da04['channel'] = _0xad0080[_0x73a60d(0x475) + 'e']['YAD'], this[_0x73a60d(0x1ea)](_0x10da04); + } + async [_0x56a360(0x1f6) + 'argames'](_0x1cf3b9) { + const _0x59634c = _0x56a360; + return _0x1cf3b9[_0x59634c(0x2de)] = _0xad0080[_0x59634c(0x475) + 'e'][_0x59634c(0x437)], this[_0x59634c(0x1ea)](_0x1cf3b9); + } + async [_0x56a360(0x3cc) + _0x56a360(0x721)](_0x396684) { + const _0x135cd8 = _0x56a360; + return _0x396684['channel'] = _0xad0080[_0x135cd8(0x475) + 'e'][_0x135cd8(0x655)], this[_0x135cd8(0x1ea)](_0x396684); + } + async [_0x56a360(0x3cc) + _0x56a360(0x521)](_0x17b4fc) { + const _0x49193a = _0x56a360; + return _0x17b4fc['channel'] = _0xad0080['ChannelTyp' + 'e'][_0x49193a(0x702)], this[_0x49193a(0x1ea)](_0x17b4fc); + } + async [_0x56a360(0x73c) + 'iv'](_0x447cfa) { + const _0x2894d8 = _0x56a360; + return _0x447cfa[_0x2894d8(0x2de)] = _0xad0080['ChannelTyp' + 'e'][_0x2894d8(0x6af)], this['startup'](_0x447cfa); + } + async [_0x56a360(0x3eb) + 's'](_0x3c4dd4) { + const _0x3f40ba = _0x56a360; + switch (_0x1d6e89[_0x3f40ba(0x395)][_0x3f40ba(0x610) + 'e']()['get'](_0x447b17[_0x3f40ba(0x1ac)]['en_ADPLATF' + _0x3f40ba(0x5f4)])) { + case _0x63984d[_0x3f40ba(0x7ed) + _0x3f40ba(0x654)][_0x3f40ba(0x7a2) + _0x3f40ba(0x63b)]: + case _0x63984d[_0x3f40ba(0x7ed) + 'Type']['FaceBook']: + case _0x63984d[_0x3f40ba(0x7ed) + _0x3f40ba(0x654)][_0x3f40ba(0x81c)]: + case _0x63984d[_0x3f40ba(0x7ed) + _0x3f40ba(0x654)][_0x3f40ba(0x5f0)]: + case _0x63984d[_0x3f40ba(0x7ed) + _0x3f40ba(0x654)][_0x3f40ba(0x7da)]: + case _0x63984d['AdPlatform' + _0x3f40ba(0x654)][_0x3f40ba(0x841)]: + case _0x63984d[_0x3f40ba(0x7ed) + 'Type'][_0x3f40ba(0x4bb)]: + case _0x63984d[_0x3f40ba(0x7ed) + 'Type']['Kfreegame']: + case _0x63984d['AdPlatform' + _0x3f40ba(0x654)][_0x3f40ba(0x1d3)]: + case _0x63984d[_0x3f40ba(0x7ed) + _0x3f40ba(0x654)][_0x3f40ba(0x384)]: + case _0x63984d['AdPlatform' + _0x3f40ba(0x654)][_0x3f40ba(0x447)]: + return this[_0x3f40ba(0x213)] = [], this[_0x3f40ba(0x213)]; + } + if (!this[_0x3f40ba(0x213)] || 0x0 == this['forgames'][_0x3f40ba(0x33e)]) { + let _0x507276 = ''; + var _0x3323a8 = _0x1d6e89[_0x3f40ba(0x395)][_0x3f40ba(0x610) + 'e']()[_0x3f40ba(0x6f3)](_0x447b17[_0x3f40ba(0x1ac)][_0x3f40ba(0x1e9)]), + _0x3486a7 = _0x1d6e89['default']['getInstanc' + 'e']()[_0x3f40ba(0x6f3)](_0x447b17[_0x3f40ba(0x1ac)][_0x3f40ba(0x68f)]); + switch (_0x3323a8 || (_0x3323a8 = _0x3c4dd4), _0x3323a8) { + case _0xad0080[_0x3f40ba(0x475) + 'e'][_0x3f40ba(0x587)]: + _0x507276 = 'https://ww' + _0x3f40ba(0x83e); + break; + case _0xad0080[_0x3f40ba(0x475) + 'e'][_0x3f40ba(0x6af)]: + _0x507276 = 'https://ww' + 'w.yiv.com/'; + break; + case _0xad0080[_0x3f40ba(0x475) + 'e'][_0x3f40ba(0x702)]: + _0x507276 = _0x3f40ba(0x88f) + _0x3f40ba(0x369) + _0x3f40ba(0x236); + break; + case _0xad0080[_0x3f40ba(0x475) + 'e']['BESTGAMES']: + _0x507276 = _0x3f40ba(0x88f) + _0x3f40ba(0x7af) + 's.com/'; + break; + case _0xad0080[_0x3f40ba(0x475) + 'e'][_0x3f40ba(0x437)]: + _0x507276 = _0x3f40ba(0x65a) + _0x3f40ba(0x3ee) + '/'; + break; + case _0xad0080[_0x3f40ba(0x475) + 'e'][_0x3f40ba(0x6da)]: + _0x507276 = _0x3f40ba(0x2c2) + _0x3f40ba(0x857) + 'om/'; + break; + default: + return this[_0x3f40ba(0x213)] = [], this[_0x3f40ba(0x213)]; + } + const _0x3d7d44 = await _0x3ab49d['default']['readDataSy' + 'nc'](_0x507276 + (_0x3f40ba(0x1b6) + _0x3f40ba(0x1d6)))[_0x3f40ba(0x2c0)](() => []); + this['forgames'] = []; + for (const _0x4c97f1 of _0x3d7d44) { + const _0x31fee1 = _0x4c97f1[_0x3f40ba(0x685)]; + _0x4c97f1[_0x3f40ba(0x423)] = _0x31fee1[_0x3f40ba(0x5ef)](_0x507276 + _0x3f40ba(0x6d5), '')[_0x3f40ba(0x5ef)](_0x3f40ba(0x2bc), ''), _0x4c97f1[_0x3f40ba(0x423)][_0x3f40ba(0x68a) + 'e']() !== _0x3486a7['toLowerCas' + 'e']() && this['forgames'][_0x3f40ba(0x2c4)](_0x4c97f1); + } + } + return this[_0x3f40ba(0x213)]; + } + async [_0x56a360(0x78f)](_0x25d1cd) { + const _0x46e03e = _0x56a360, + _0x59bc36 = arguments[0x0], + _0x3229a7 = arguments[0x1]; + return _0x46e03e(0x669) == typeof _0x59bc36 && _0x46e03e(0x751) == typeof _0x3229a7 && ((_0x25d1cd = {})[_0x46e03e(0x423)] = _0x59bc36, _0x25d1cd[_0x46e03e(0x1bc)] = _0x3229a7), this['startup'](_0x25d1cd); + } + async [_0x56a360(0x1ea)](_0x309e55) { + const _0x34a40c = _0x56a360; + if (this['inited']) return; + _0x4a1c4c[_0x34a40c(0x395)]['getInstanc' + 'e']()[_0x34a40c(0x78f)](), this[_0x34a40c(0x2f5) + 'e'] = _0x4a1c4c[_0x34a40c(0x395)][_0x34a40c(0x610) + 'e'](); + let _0xfb3f03 = _0x309e55[_0x34a40c(0x2de)], + _0x201e82 = _0x309e55[_0x34a40c(0x423)]; + null == _0x201e82 && _0x309e55['config'] && (_0x201e82 = _0x309e55[_0x34a40c(0x62b)][_0x34a40c(0x423)]); + let _0x3c49ab = _0x34a40c(0x88f) + _0x34a40c(0x83e), + _0x3e0c1b = ''; + switch (_0xfb3f03) { + case _0xad0080[_0x34a40c(0x475) + 'e']['YAD']: + _0x3c49ab = 'https://ww' + _0x34a40c(0x83e), _0x3e0c1b = _0x34a40c(0x290); + break; + case _0xad0080['ChannelTyp' + 'e'][_0x34a40c(0x6af)]: + _0x3c49ab = _0x34a40c(0x88f) + _0x34a40c(0x68d), _0x3e0c1b = _0x34a40c(0x478); + break; + case _0xad0080[_0x34a40c(0x475) + 'e']['BABYGAMES']: + _0x3c49ab = _0x34a40c(0x88f) + _0x34a40c(0x369) + _0x34a40c(0x236), _0x3e0c1b = _0x34a40c(0x51f) + 'Com'; + break; + case _0xad0080['ChannelTyp' + 'e'][_0x34a40c(0x655)]: + _0x3c49ab = _0x34a40c(0x88f) + _0x34a40c(0x7af) + _0x34a40c(0x236), _0x3e0c1b = _0x34a40c(0x425) + _0x34a40c(0x1e2); + break; + case _0xad0080[_0x34a40c(0x475) + 'e'][_0x34a40c(0x437)]: + _0x3c49ab = _0x34a40c(0x65a) + _0x34a40c(0x3ee) + '/', _0x3e0c1b = _0x34a40c(0x5d4) + 'om'; + break; + case _0xad0080[_0x34a40c(0x475) + 'e'][_0x34a40c(0x6da)]: + _0x3c49ab = _0x34a40c(0x2c2) + _0x34a40c(0x857) + 'om/', _0x3e0c1b = _0x34a40c(0x664) + '.Com'; + } + setTimeout(() => { + const _0x80ed62 = _0x34a40c; + this[_0x80ed62(0x483)](); + }, 0xea60), _0x5daf07[_0x34a40c(0x395)][_0x34a40c(0x423)] = _0x201e82, _0x5daf07['default'][_0x34a40c(0x668)] = _0x3e0c1b[_0x34a40c(0x5ef)]('.Com', ''), _0x1d6e89['default']['getInstanc' + 'e']()['set'](_0x447b17[_0x34a40c(0x1ac)][_0x34a40c(0x1e9)], _0xfb3f03), _0x1d6e89['default']['getInstanc' + 'e']()[_0x34a40c(0x5b7)](_0x447b17['ConfigType'][_0x34a40c(0x68f)], _0x201e82), _0x1d6e89['default'][_0x34a40c(0x610) + 'e']()[_0x34a40c(0x5b7)](_0x447b17[_0x34a40c(0x1ac)][_0x34a40c(0x1e9) + _0x34a40c(0x5ba)], _0x3e0c1b), _0x1d6e89[_0x34a40c(0x395)][_0x34a40c(0x610) + 'e']()[_0x34a40c(0x5b7)](_0x447b17[_0x34a40c(0x1ac)][_0x34a40c(0x824) + _0x34a40c(0x7a0)], _0x3c49ab), _0x1d6e89[_0x34a40c(0x395)]['getInstanc' + 'e']()[_0x34a40c(0x5b7)](_0x447b17[_0x34a40c(0x1ac)]['en_DEBUGOP' + 'EN'], !0x1); + const _0x5bb75d = new URLSearchParams(location['search']), + _0x33a009 = _0x5bb75d['get'](_0x34a40c(0x63f)) || ''; + _0x5bb75d[_0x34a40c(0x6f3)](_0x34a40c(0x650)) && _0x1d6e89[_0x34a40c(0x395)][_0x34a40c(0x610) + 'e']()[_0x34a40c(0x5b7)](_0x447b17[_0x34a40c(0x1ac)][_0x34a40c(0x440) + 'EN'], !0x0); + const _0x5b20ed = location[_0x34a40c(0x827)], + _0x1db47f = _0x5b20ed[_0x34a40c(0x80b)]('gamedistri' + _0x34a40c(0x3f6)) > -0x1, + _0x524cfa = _0x5b20ed[_0x34a40c(0x80b)](_0x34a40c(0x579) + 'ze.c') > -0x1, + _0x7c7f42 = _0x5b20ed[_0x34a40c(0x80b)]('kfreegame.' + _0x34a40c(0x7c9)) > -0x1 || _0x5b20ed[_0x34a40c(0x80b)](_0x34a40c(0x89b) + _0x34a40c(0x641)) > -0x1 || _0x5b20ed[_0x34a40c(0x80b)](_0x34a40c(0x7d1) + 'b.com') > -0x1 || _0x5b20ed[_0x34a40c(0x80b)](_0x34a40c(0x224) + _0x34a40c(0x7c9)) > -0x1, + _0x7cdf72 = _0x5b20ed['indexOf'](_0x34a40c(0x4c5) + _0x34a40c(0x40b)) > -0x1, + _0x5d7d94 = _0x5b20ed[_0x34a40c(0x80b)](_0x34a40c(0x4c5) + _0x34a40c(0x66d)) > -0x1, + _0x475877 = _0x5b20ed[_0x34a40c(0x80b)](_0x34a40c(0x3ac)) > -0x1 || _0x5b20ed[_0x34a40c(0x80b)](_0x34a40c(0x3ff)) > -0x1, + _0x140b39 = _0x5b20ed[_0x34a40c(0x80b)](_0x34a40c(0x4c5) + 'mes/tcl') > -0x1, + _0x3c9dbe = _0x5b20ed[_0x34a40c(0x80b)](_0x34a40c(0x6bb) + 'mes-test') > -0x1, + _0x3d7f37 = _0x5b20ed[_0x34a40c(0x80b)]('crazygames' + _0x34a40c(0x2d1)) > -0x1, + _0x178b04 = _0x5b20ed[_0x34a40c(0x80b)](_0x34a40c(0x339)) > -0x1, + _0x2914cf = _0x5b20ed[_0x34a40c(0x80b)](_0x34a40c(0x5a5) + _0x34a40c(0x7c9)) > -0x1, + _0x116d3c = _0x5b20ed[_0x34a40c(0x80b)](_0x34a40c(0x4c5) + _0x34a40c(0x722)) > -0x1, + _0x3f659c = _0x5b20ed[_0x34a40c(0x80b)](_0x34a40c(0x807)) > -0x1; + let _0x2c859b = _0x5b20ed[_0x34a40c(0x80b)](_0x34a40c(0x2eb)) > -0x1 && !_0x5d7d94 && !_0x140b39 && !_0x7cdf72 && !_0x7c7f42 && !_0x3c9dbe && !_0x116d3c; + _0x2c859b || (_0x2c859b = _0x33a009[_0x34a40c(0x80b)](_0x34a40c(0x3a8)) > -0x1), _0x5b20ed['indexOf'](_0x34a40c(0x2cf) + _0x34a40c(0x6e1)) > -0x1 && (_0x2c859b = !0x0); + const _0x285e09 = window[_0x34a40c(0x533) + _0x34a40c(0x29e)]; + if (_0x285e09 && (_0x285e09[_0x34a40c(0x634) + _0x34a40c(0x5c3)] && this['onBeforeSh' + _0x34a40c(0x5c3)](_0x285e09[_0x34a40c(0x634) + _0x34a40c(0x5c3)]), _0x285e09['onAfterSho' + _0x34a40c(0x700)] && this[_0x34a40c(0x87c) + _0x34a40c(0x700)](_0x285e09[_0x34a40c(0x87c) + 'wAd'])), _0x309e55[_0x34a40c(0x62b)] = _0x309e55[_0x34a40c(0x62b)] || _0x285e09, !_0x309e55['config']) { + const _0x132e6f = {}; + var _0x1cc82a = !0x1; + _0x309e55['gamemoneti' + _0x34a40c(0x304)] && _0x309e55[_0x34a40c(0x579) + _0x34a40c(0x304)][_0x34a40c(0x33e)] > 0x5 && (_0x1cc82a = !0x0, _0x132e6f[_0x34a40c(0x579) + _0x34a40c(0x304)] = _0x309e55['gamemoneti' + 'zeId']), _0x309e55[_0x34a40c(0x359) + _0x34a40c(0x234)] && _0x309e55[_0x34a40c(0x359) + _0x34a40c(0x234)]['length'] > 0x5 && (_0x1cc82a = !0x0, _0x132e6f[_0x34a40c(0x359) + _0x34a40c(0x234)] = _0x309e55[_0x34a40c(0x359) + _0x34a40c(0x234)]), _0x1cc82a && (_0x309e55[_0x34a40c(0x62b)] = _0x132e6f); + } + if (_0x1db47f) _0x1d6e89[_0x34a40c(0x395)][_0x34a40c(0x610) + 'e']()[_0x34a40c(0x5b7)](_0x447b17['ConfigType']['en_GAMEDIS' + 'TRIBUTIONI' + 'D'], _0x309e55[_0x34a40c(0x62b)][_0x34a40c(0x359) + _0x34a40c(0x234)][_0x34a40c(0x2a6)]()), _0x1d6e89[_0x34a40c(0x395)][_0x34a40c(0x610) + 'e']()[_0x34a40c(0x5b7)](_0x447b17[_0x34a40c(0x1ac)]['en_ADPLATF' + _0x34a40c(0x5f4)], _0x63984d[_0x34a40c(0x7ed) + _0x34a40c(0x654)][_0x34a40c(0x7a2) + _0x34a40c(0x63b)]), await _0x2cba98[_0x34a40c(0x395)][_0x34a40c(0x610) + 'e']()['init'](); + else { + if (_0x2c859b) { + _0x1d6e89[_0x34a40c(0x395)][_0x34a40c(0x610) + 'e']()['set'](_0x447b17[_0x34a40c(0x1ac)][_0x34a40c(0x680) + 'ORM'], _0x63984d[_0x34a40c(0x7ed) + _0x34a40c(0x654)][_0x34a40c(0x5f0)]), _0x1d6e89['default']['getInstanc' + 'e']()[_0x34a40c(0x5b7)](_0x447b17[_0x34a40c(0x1ac)]['en_ADPUBID'], _0x34a40c(0x5d9) + _0x34a40c(0x372) + _0x34a40c(0x3e3)), _0x1d6e89[_0x34a40c(0x395)]['getInstanc' + 'e']()[_0x34a40c(0x5b7)](_0x447b17['ConfigType'][_0x34a40c(0x885) + _0x34a40c(0x562)], !0x1); + const _0x14c1f7 = _0x1d6e89[_0x34a40c(0x395)][_0x34a40c(0x610) + 'e']()['get'](_0x447b17[_0x34a40c(0x1ac)]['en_APPNAME']), + _0x2757f6 = await _0x3ab49d[_0x34a40c(0x395)]['get'](_0x212dbd[_0x34a40c(0x395)][_0x34a40c(0x28d)](_0x34a40c(0x88f) + _0x34a40c(0x1d4) + 'AdManager/' + _0x34a40c(0x59f) + 'platform=%' + _0x34a40c(0x675) + 's', _0x33a009, _0x14c1f7[_0x34a40c(0x229) + _0x34a40c(0x5d5)]())); + if (_0x2757f6) _0x1d6e89[_0x34a40c(0x395)][_0x34a40c(0x610) + 'e']()[_0x34a40c(0x5b7)](_0x447b17[_0x34a40c(0x1ac)][_0x34a40c(0x885) + _0x34a40c(0x562)], 0x1 == _0x2757f6[_0x34a40c(0x4cb)]), _0x1d6e89['default']['getInstanc' + 'e']()[_0x34a40c(0x5b7)](_0x447b17[_0x34a40c(0x1ac)][_0x34a40c(0x800) + 'ELID'], _0x2757f6['channel']), _0x1d6e89[_0x34a40c(0x395)][_0x34a40c(0x610) + 'e']()[_0x34a40c(0x5b7)](_0x447b17['ConfigType'][_0x34a40c(0x2b0)], _0x2757f6[_0x34a40c(0x5c4)]), 0x1 == _0x2757f6['default'] && _0x309e55 && _0x309e55[_0x34a40c(0x62b)] && _0x309e55['config'][_0x34a40c(0x3a8)] && _0x1d6e89['default']['getInstanc' + 'e']()[_0x34a40c(0x5b7)](_0x447b17['ConfigType'][_0x34a40c(0x800) + _0x34a40c(0x3a1)], _0x309e55[_0x34a40c(0x62b)]['xiaomi'][_0x34a40c(0x681)]); + else { + if (_0x309e55 && _0x309e55[_0x34a40c(0x62b)]) { + const _0xbc65c3 = _0x309e55[_0x34a40c(0x62b)][_0x34a40c(0x3a8)]; + _0xbc65c3 && _0x1d6e89['default'][_0x34a40c(0x610) + 'e']()[_0x34a40c(0x5b7)](_0x447b17[_0x34a40c(0x1ac)][_0x34a40c(0x800) + 'ELID'], _0xbc65c3[_0x34a40c(0x681)]); + } + } + await _0x2ae17d[_0x34a40c(0x395)]['getInstanc' + 'e']()[_0x34a40c(0x78f)](); + } else { + if (_0x140b39) _0x1d6e89[_0x34a40c(0x395)][_0x34a40c(0x610) + 'e']()[_0x34a40c(0x5b7)](_0x447b17[_0x34a40c(0x1ac)][_0x34a40c(0x680) + 'ORM'], _0x63984d[_0x34a40c(0x7ed) + _0x34a40c(0x654)][_0x34a40c(0x841)]), await _0x524fd1[_0x34a40c(0x395)][_0x34a40c(0x610) + 'e']()[_0x34a40c(0x78f)](); + else { + if (_0x524cfa) { + if (_0x309e55[_0x34a40c(0x62b)]) { + const _0x30757a = _0x309e55[_0x34a40c(0x62b)][_0x34a40c(0x579) + _0x34a40c(0x304)]; + (!_0x30757a || _0x30757a['length'] < 0x5) && (_0x309e55['config'][_0x34a40c(0x579) + _0x34a40c(0x304)] = _0x309e55[_0x34a40c(0x62b)][_0x34a40c(0x359) + _0x34a40c(0x234)]); + } + const _0x1d7857 = _0x309e55[_0x34a40c(0x62b)][_0x34a40c(0x579) + 'zeId'][_0x34a40c(0x2a6)](); + _0x1d6e89[_0x34a40c(0x395)][_0x34a40c(0x610) + 'e']()[_0x34a40c(0x5b7)](_0x447b17[_0x34a40c(0x1ac)][_0x34a40c(0x227) + _0x34a40c(0x283)], _0x1d7857), _0x1d6e89[_0x34a40c(0x395)][_0x34a40c(0x610) + 'e']()['set'](_0x447b17['ConfigType'][_0x34a40c(0x680) + _0x34a40c(0x5f4)], _0x63984d['AdPlatform' + _0x34a40c(0x654)][_0x34a40c(0x227) + _0x34a40c(0x727)]), await _0x23b013['default'][_0x34a40c(0x610) + 'e']()[_0x34a40c(0x78f)](); + } else { + if (_0x5d7d94) { + _0x1d6e89[_0x34a40c(0x395)]['getInstanc' + 'e']()[_0x34a40c(0x5b7)](_0x447b17[_0x34a40c(0x1ac)][_0x34a40c(0x680) + 'ORM'], _0x63984d[_0x34a40c(0x7ed) + _0x34a40c(0x654)][_0x34a40c(0x7da)]); + const _0x4675eb = _0x5bb75d[_0x34a40c(0x6f3)](_0x34a40c(0x63f)) || _0x34a40c(0x551), + _0x1ec3b9 = _0x1d6e89[_0x34a40c(0x395)][_0x34a40c(0x610) + 'e']()[_0x34a40c(0x6f3)](_0x447b17[_0x34a40c(0x1ac)][_0x34a40c(0x68f)]); + _0x1d6e89[_0x34a40c(0x395)][_0x34a40c(0x610) + 'e']()[_0x34a40c(0x5b7)](_0x447b17[_0x34a40c(0x1ac)][_0x34a40c(0x800) + _0x34a40c(0x3a1)], 0x9550a620); + const _0x31df85 = await _0x3ab49d['default']['get'](_0x212dbd[_0x34a40c(0x395)][_0x34a40c(0x28d)](_0x34a40c(0x88f) + _0x34a40c(0x1d4) + _0x34a40c(0x310) + _0x34a40c(0x59f) + 'platform=%' + 's&nameid=%' + 's', _0x4675eb, _0x1ec3b9[_0x34a40c(0x68a) + 'e']())); + _0x31df85 && _0x1d6e89[_0x34a40c(0x395)][_0x34a40c(0x610) + 'e']()[_0x34a40c(0x5b7)](_0x447b17[_0x34a40c(0x1ac)][_0x34a40c(0x2b0)], _0x31df85[_0x34a40c(0x5c4)]), await _0x448428['default'][_0x34a40c(0x610) + 'e']()[_0x34a40c(0x78f)](); + } else _0x475877 ? (_0x1d6e89[_0x34a40c(0x395)]['getInstanc' + 'e']()[_0x34a40c(0x5b7)](_0x447b17[_0x34a40c(0x1ac)]['en_ADPLATF' + _0x34a40c(0x5f4)], _0x63984d[_0x34a40c(0x7ed) + 'Type'][_0x34a40c(0x4ff)]), await _0x585634['default']['getInstanc' + 'e']()[_0x34a40c(0x1ea)]()) : _0x7c7f42 ? (_0x1d6e89['default'][_0x34a40c(0x610) + 'e']()['set'](_0x447b17[_0x34a40c(0x1ac)][_0x34a40c(0x680) + _0x34a40c(0x5f4)], _0x63984d[_0x34a40c(0x7ed) + _0x34a40c(0x654)]['Kfreegame']), await _0x57d065[_0x34a40c(0x395)][_0x34a40c(0x610) + 'e']()[_0x34a40c(0x78f)]()) : _0x7cdf72 ? (_0x1d6e89['default'][_0x34a40c(0x610) + 'e']()[_0x34a40c(0x5b7)](_0x447b17['ConfigType'][_0x34a40c(0x680) + _0x34a40c(0x5f4)], _0x63984d['AdPlatform' + _0x34a40c(0x654)][_0x34a40c(0x4bb)]), _0x1d6e89[_0x34a40c(0x395)]['getInstanc' + 'e']()[_0x34a40c(0x5b7)](_0x447b17[_0x34a40c(0x1ac)][_0x34a40c(0x2b0)], _0x34a40c(0x6be) + _0x34a40c(0x476) + _0x34a40c(0x217)), _0x1d6e89[_0x34a40c(0x395)][_0x34a40c(0x610) + 'e']()[_0x34a40c(0x5b7)](_0x447b17[_0x34a40c(0x1ac)][_0x34a40c(0x800) + 'ELID'], '1651921039'), _0x1d6e89[_0x34a40c(0x395)][_0x34a40c(0x610) + 'e']()[_0x34a40c(0x5b7)](_0x447b17[_0x34a40c(0x1ac)][_0x34a40c(0x885) + 'NABLE'], !0x1), await _0x11ce0c[_0x34a40c(0x395)][_0x34a40c(0x610) + 'e']()['init']()) : _0x3d7f37 ? (_0x1d6e89[_0x34a40c(0x395)]['getInstanc' + 'e']()[_0x34a40c(0x5b7)](_0x447b17[_0x34a40c(0x1ac)]['en_ADPLATF' + _0x34a40c(0x5f4)], _0x63984d[_0x34a40c(0x7ed) + _0x34a40c(0x654)]['Crazygames']), await _0x32e3ff[_0x34a40c(0x395)][_0x34a40c(0x610) + 'e']()[_0x34a40c(0x78f)]()) : _0x178b04 ? (_0x1d6e89[_0x34a40c(0x395)][_0x34a40c(0x610) + 'e']()[_0x34a40c(0x5b7)](_0x447b17[_0x34a40c(0x1ac)][_0x34a40c(0x680) + _0x34a40c(0x5f4)], _0x63984d['AdPlatform' + _0x34a40c(0x654)]['Y8']), await _0x2bdc3e['default'][_0x34a40c(0x610) + 'e']()['init']()) : _0x3f659c ? _0x1d6e89[_0x34a40c(0x395)]['getInstanc' + 'e']()['set'](_0x447b17['ConfigType'][_0x34a40c(0x680) + 'ORM'], _0x63984d[_0x34a40c(0x7ed) + _0x34a40c(0x654)][_0x34a40c(0x1d3)]) : _0x2914cf ? (_0x1d6e89['default'][_0x34a40c(0x610) + 'e']()[_0x34a40c(0x5b7)](_0x447b17[_0x34a40c(0x1ac)][_0x34a40c(0x680) + _0x34a40c(0x5f4)], _0x63984d['AdPlatform' + _0x34a40c(0x654)][_0x34a40c(0x384)]), await _0x1e8d05[_0x34a40c(0x395)]['getInstanc' + 'e']()[_0x34a40c(0x1ea)]()) : _0x116d3c ? (_0x1d6e89[_0x34a40c(0x395)][_0x34a40c(0x610) + 'e']()[_0x34a40c(0x5b7)](_0x447b17[_0x34a40c(0x1ac)][_0x34a40c(0x680) + _0x34a40c(0x5f4)], _0x63984d[_0x34a40c(0x7ed) + 'Type'][_0x34a40c(0x447)]), await _0x4185bd[_0x34a40c(0x395)][_0x34a40c(0x610) + 'e']()[_0x34a40c(0x1ea)]()) : (_0x1d6e89[_0x34a40c(0x395)][_0x34a40c(0x610) + 'e']()[_0x34a40c(0x5b7)](_0x447b17['ConfigType'][_0x34a40c(0x680) + _0x34a40c(0x5f4)], _0x63984d[_0x34a40c(0x7ed) + _0x34a40c(0x654)][_0x34a40c(0x733)]), await _0xce66a1[_0x34a40c(0x395)][_0x34a40c(0x610) + 'e']()[_0x34a40c(0x78f)](_0x309e55)); + } + } + } + } + await this['getForgame' + 's'](_0xfb3f03), this[_0x34a40c(0x371)] = !0x0; + const _0x548047 = _0x1d6e89[_0x34a40c(0x395)][_0x34a40c(0x610) + 'e']()[_0x34a40c(0x6f3)](_0x447b17[_0x34a40c(0x1ac)]['en_ADPLATF' + 'ORM']), + _0x40ae1c = _0x63984d[_0x34a40c(0x7ed) + _0x34a40c(0x654)][~~_0x548047]; + return _0x3ab49d[_0x34a40c(0x395)][_0x34a40c(0x4de) + 'on'](_0x3e0c1b + ' ' + _0x40ae1c), _0x3ab49d[_0x34a40c(0x395)][_0x34a40c(0x1e1)](_0x201e82, _0x5daf07[_0x34a40c(0x395)][_0x34a40c(0x668)]), _0xce66a1['default']['getInstanc' + 'e']()['inited'] || _0x7cdf72 || _0x7c7f42 || _0x3ab49d[_0x34a40c(0x395)]['trace'](_0x34a40c(0x2df), _0x1d6e89[_0x34a40c(0x395)][_0x34a40c(0x610) + 'e']()[_0x34a40c(0x6f3)](_0x447b17[_0x34a40c(0x1ac)][_0x34a40c(0x2b0)]), _0x34a40c(0x70f), _0x1d6e89[_0x34a40c(0x395)]['getInstanc' + 'e']()[_0x34a40c(0x6f3)](_0x447b17[_0x34a40c(0x1ac)][_0x34a40c(0x800) + _0x34a40c(0x3a1)])), _0x55c335[_0x34a40c(0x395)]['getInstanc' + 'e']()[_0x34a40c(0x853)](_0x34a40c(0x396)), _0x309e55[_0x34a40c(0x1bc)] && (_0x309e55[_0x34a40c(0x1bc)](), _0x309e55[_0x34a40c(0x1bc)] = null), !0x0; + } [_0x56a360(0x2db) + 'games']() { + const _0x3cefc1 = _0x56a360; + switch (this['getAdPlatf' + _0x3cefc1(0x80d)]()) { + case _0x63984d['AdPlatform' + _0x3cefc1(0x654)][_0x3cefc1(0x7a2) + _0x3cefc1(0x63b)]: + case _0x63984d[_0x3cefc1(0x7ed) + _0x3cefc1(0x654)][_0x3cefc1(0x4ff)]: + case _0x63984d[_0x3cefc1(0x7ed) + _0x3cefc1(0x654)]['TRANSSION']: + case _0x63984d[_0x3cefc1(0x7ed) + _0x3cefc1(0x654)]['en_XIAOMI']: + case _0x63984d['AdPlatform' + _0x3cefc1(0x654)][_0x3cefc1(0x7da)]: + case _0x63984d[_0x3cefc1(0x7ed) + _0x3cefc1(0x654)][_0x3cefc1(0x841)]: + case _0x63984d[_0x3cefc1(0x7ed) + _0x3cefc1(0x654)][_0x3cefc1(0x7ab)]: + case _0x63984d[_0x3cefc1(0x7ed) + _0x3cefc1(0x654)][_0x3cefc1(0x4bb)]: + case _0x63984d[_0x3cefc1(0x7ed) + _0x3cefc1(0x654)]['Crazygames']: + case _0x63984d[_0x3cefc1(0x7ed) + _0x3cefc1(0x654)]['NoAd']: + case _0x63984d[_0x3cefc1(0x7ed) + _0x3cefc1(0x654)]['Y8']: + case _0x63984d[_0x3cefc1(0x7ed) + _0x3cefc1(0x654)][_0x3cefc1(0x384)]: + case _0x63984d[_0x3cefc1(0x7ed) + _0x3cefc1(0x654)]['idg']: + return !0x1; + default: + return !0x0; + } + } ['getAdPlatf' + _0x56a360(0x80d)]() { + const _0x4ed226 = _0x56a360; + if (!this['inited']) { + const _0x7af7c2 = location[_0x4ed226(0x827)], + _0x13fb13 = _0x7af7c2[_0x4ed226(0x80b)]('gamedistri' + _0x4ed226(0x466)) > -0x1, + _0x3a2bc3 = _0x7af7c2[_0x4ed226(0x80b)](_0x4ed226(0x579) + 'ze.com') > -0x1, + _0x57c493 = _0x7af7c2[_0x4ed226(0x80b)](_0x4ed226(0x3a0) + 'om') > -0x1 || _0x7af7c2[_0x4ed226(0x80b)]('yygh5game.' + 'com') > -0x1, + _0x218056 = _0x7af7c2[_0x4ed226(0x80b)]('yof.com/pa' + _0x4ed226(0x38f) + 's/xsj') > -0x1, + _0x309fa0 = _0x7af7c2[_0x4ed226(0x80b)](_0x4ed226(0x335) + _0x4ed226(0x38f) + _0x4ed226(0x473)) > -0x1, + _0x1fca74 = _0x7af7c2[_0x4ed226(0x80b)](_0x4ed226(0x3ac)) > -0x1 || _0x7af7c2[_0x4ed226(0x80b)](_0x4ed226(0x3ff)) > -0x1, + _0x21aac7 = _0x7af7c2[_0x4ed226(0x80b)](_0x4ed226(0x4c5) + 'mes/cv') > -0x1, + _0x28e467 = _0x7af7c2['indexOf']('kfreegame.' + _0x4ed226(0x7c9)) > -0x1 || _0x7af7c2['indexOf'](_0x4ed226(0x7d1) + _0x4ed226(0x3d5)) > -0x1 || _0x7af7c2['indexOf'](_0x4ed226(0x224) + 'com') > -0x1, + _0x4c5811 = _0x7af7c2[_0x4ed226(0x80b)](_0x4ed226(0x339)) > -0x1; + return _0x13fb13 ? _0x63984d[_0x4ed226(0x7ed) + 'Type']['en_GAMEDIS' + 'TRIBUTION'] : _0x3a2bc3 ? _0x63984d[_0x4ed226(0x7ed) + _0x4ed226(0x654)][_0x4ed226(0x227) + _0x4ed226(0x727)] : _0x57c493 ? _0x63984d[_0x4ed226(0x7ed) + _0x4ed226(0x654)]['TRANSSION'] : _0x218056 ? _0x63984d[_0x4ed226(0x7ed) + _0x4ed226(0x654)][_0x4ed226(0x7da)] : _0x309fa0 ? _0x63984d[_0x4ed226(0x7ed) + _0x4ed226(0x654)][_0x4ed226(0x841)] : _0x1fca74 ? _0x63984d[_0x4ed226(0x7ed) + _0x4ed226(0x654)][_0x4ed226(0x4ff)] : _0x21aac7 ? _0x63984d[_0x4ed226(0x7ed) + _0x4ed226(0x654)][_0x4ed226(0x4bb)] : _0x28e467 ? _0x63984d['AdPlatform' + _0x4ed226(0x654)]['Kfreegame'] : _0x4c5811 ? _0x63984d[_0x4ed226(0x7ed) + _0x4ed226(0x654)]['Y8'] : _0x63984d[_0x4ed226(0x7ed) + _0x4ed226(0x654)][_0x4ed226(0x733)]; + } + return _0x1d6e89[_0x4ed226(0x395)][_0x4ed226(0x610) + 'e']()[_0x4ed226(0x6f3)](_0x447b17[_0x4ed226(0x1ac)]['en_ADPLATF' + _0x4ed226(0x5f4)]); + } [_0x56a360(0x818) + 'en']() { + const _0x19fe2b = _0x56a360; + return _0x1d6e89['default'][_0x19fe2b(0x610) + 'e']()[_0x19fe2b(0x6f3)](_0x447b17[_0x19fe2b(0x1ac)]['en_DEBUGOP' + 'EN']); + } [_0x56a360(0x30c)]() { + const _0x321976 = _0x56a360; + _0x1d6e89[_0x321976(0x395)][_0x321976(0x610) + 'e']()[_0x321976(0x5b7)](_0x447b17['ConfigType'][_0x321976(0x440) + 'EN'], !0x0); + } [_0x56a360(0x20d) + 'on']() { + const _0x4a8148 = _0x56a360; + return _0x4a8148(0x897); + } + async [_0x56a360(0x4c8) + _0x56a360(0x84e)](_0x41b750) { + const _0x2c33b2 = _0x56a360; + switch (_0x1d6e89[_0x2c33b2(0x395)][_0x2c33b2(0x610) + 'e']()[_0x2c33b2(0x6f3)](_0x447b17[_0x2c33b2(0x1ac)][_0x2c33b2(0x680) + _0x2c33b2(0x5f4)])) { + case _0x63984d['AdPlatform' + _0x2c33b2(0x654)][_0x2c33b2(0x7ab)]: + return _0x57d065[_0x2c33b2(0x395)][_0x2c33b2(0x610) + 'e']()[_0x2c33b2(0x4c8) + 'titial'](_0x41b750); + case _0x63984d[_0x2c33b2(0x7ed) + _0x2c33b2(0x654)][_0x2c33b2(0x733)]: + return _0xce66a1[_0x2c33b2(0x395)][_0x2c33b2(0x610) + 'e']()[_0x2c33b2(0x371)] ? _0xce66a1['default'][_0x2c33b2(0x610) + 'e']()[_0x2c33b2(0x4c8) + _0x2c33b2(0x84e)](_0x41b750) : _0x1e8d05['default'][_0x2c33b2(0x610) + 'e']()[_0x2c33b2(0x4c8) + 'titial'](_0x41b750); + case _0x63984d['AdPlatform' + 'Type'][_0x2c33b2(0x384)]: + return _0x1e8d05[_0x2c33b2(0x395)][_0x2c33b2(0x610) + 'e']()[_0x2c33b2(0x4c8) + _0x2c33b2(0x84e)](_0x41b750); + case _0x63984d[_0x2c33b2(0x7ed) + 'Type']['en_GAMEDIS' + _0x2c33b2(0x63b)]: + return _0x2cba98[_0x2c33b2(0x395)][_0x2c33b2(0x610) + 'e']()[_0x2c33b2(0x4c8) + _0x2c33b2(0x84e)](_0x41b750); + case _0x63984d[_0x2c33b2(0x7ed) + _0x2c33b2(0x654)][_0x2c33b2(0x227) + _0x2c33b2(0x727)]: + return _0x23b013[_0x2c33b2(0x395)][_0x2c33b2(0x610) + 'e']()[_0x2c33b2(0x4c8) + _0x2c33b2(0x84e)](_0x41b750); + case _0x63984d[_0x2c33b2(0x7ed) + _0x2c33b2(0x654)][_0x2c33b2(0x5f0)]: + return _0x2ae17d[_0x2c33b2(0x395)][_0x2c33b2(0x610) + 'e']()[_0x2c33b2(0x4c8) + _0x2c33b2(0x84e)](_0x41b750); + case _0x63984d['AdPlatform' + _0x2c33b2(0x654)][_0x2c33b2(0x7da)]: + return _0x448428['default']['getInstanc' + 'e']()[_0x2c33b2(0x4c8) + _0x2c33b2(0x84e)](_0x41b750); + case _0x63984d['AdPlatform' + _0x2c33b2(0x654)][_0x2c33b2(0x841)]: + return _0x524fd1[_0x2c33b2(0x395)][_0x2c33b2(0x610) + 'e']()[_0x2c33b2(0x4c8) + _0x2c33b2(0x84e)](_0x41b750); + case _0x63984d[_0x2c33b2(0x7ed) + 'Type']['FaceBook']: + return _0x585634['default'][_0x2c33b2(0x610) + 'e']()[_0x2c33b2(0x4c8) + _0x2c33b2(0x84e)](_0x41b750); + case _0x63984d[_0x2c33b2(0x7ed) + 'Type'][_0x2c33b2(0x4bb)]: + return _0x11ce0c['default'][_0x2c33b2(0x610) + 'e']()[_0x2c33b2(0x4c8) + _0x2c33b2(0x84e)](_0x41b750); + case _0x63984d[_0x2c33b2(0x7ed) + _0x2c33b2(0x654)]['Crazygames']: + return _0x32e3ff['default']['getInstanc' + 'e']()[_0x2c33b2(0x4c8) + _0x2c33b2(0x84e)](_0x41b750); + case _0x63984d[_0x2c33b2(0x7ed) + _0x2c33b2(0x654)]['Y8']: + return _0x2bdc3e['default'][_0x2c33b2(0x610) + 'e']()[_0x2c33b2(0x4c8) + _0x2c33b2(0x84e)](_0x41b750); + case _0x63984d['AdPlatform' + _0x2c33b2(0x654)][_0x2c33b2(0x447)]: + return _0x4185bd[_0x2c33b2(0x395)][_0x2c33b2(0x610) + 'e']()[_0x2c33b2(0x4c8) + _0x2c33b2(0x84e)](_0x41b750); + case _0x63984d[_0x2c33b2(0x7ed) + _0x2c33b2(0x654)][_0x2c33b2(0x1d3)]: + return void(_0x41b750 && (_0x41b750[_0x2c33b2(0x21e) + 'Ad'] && (_0x41b750[_0x2c33b2(0x21e) + 'Ad'](), _0x41b750[_0x2c33b2(0x21e) + 'Ad'] = null), _0x41b750[_0x2c33b2(0x5e2) + 'd'] && (_0x41b750['afterShowA' + 'd'](), _0x41b750['afterShowA' + 'd'] = null))); + default: + if (_0xce66a1[_0x2c33b2(0x395)][_0x2c33b2(0x610) + 'e']()[_0x2c33b2(0x371)]) return _0xce66a1['default'][_0x2c33b2(0x610) + 'e']()[_0x2c33b2(0x4c8) + _0x2c33b2(0x84e)](_0x41b750); + } + return !0x1; + } + async [_0x56a360(0x1c3)](_0x29589d) { + const _0x1557b3 = _0x56a360; + if (_0x1557b3(0x751) == typeof _0x29589d) { + const _0x30fedd = arguments[0x1], + _0xb73d5 = arguments[0x1]; + (_0x29589d = {})['rewardComp' + 'lete'] = arguments[0x0], _0x29589d[_0x1557b3(0x6fd) + _0x1557b3(0x311)] = _0x30fedd, _0x29589d['adBreakDon' + 'e'] = _0xb73d5; + } + switch (_0x1d6e89[_0x1557b3(0x395)][_0x1557b3(0x610) + 'e']()[_0x1557b3(0x6f3)](_0x447b17[_0x1557b3(0x1ac)][_0x1557b3(0x680) + 'ORM'])) { + case _0x63984d['AdPlatform' + _0x1557b3(0x654)]['Kfreegame']: + return _0x57d065['default']['getInstanc' + 'e']()[_0x1557b3(0x1c3)](_0x29589d); + case _0x63984d[_0x1557b3(0x7ed) + _0x1557b3(0x654)][_0x1557b3(0x733)]: + return _0xce66a1[_0x1557b3(0x395)][_0x1557b3(0x610) + 'e']()[_0x1557b3(0x371)] ? _0xce66a1[_0x1557b3(0x395)][_0x1557b3(0x610) + 'e']()[_0x1557b3(0x1c3)](_0x29589d) : _0x1e8d05['default'][_0x1557b3(0x610) + 'e']()[_0x1557b3(0x1c3)](_0x29589d); + case _0x63984d[_0x1557b3(0x7ed) + _0x1557b3(0x654)][_0x1557b3(0x384)]: + return _0x1e8d05['default'][_0x1557b3(0x610) + 'e']()[_0x1557b3(0x1c3)](_0x29589d); + case _0x63984d[_0x1557b3(0x7ed) + _0x1557b3(0x654)][_0x1557b3(0x7a2) + _0x1557b3(0x63b)]: + return _0x2cba98['default'][_0x1557b3(0x610) + 'e']()[_0x1557b3(0x1c3)](_0x29589d); + case _0x63984d[_0x1557b3(0x7ed) + 'Type']['en_GAMEMON' + _0x1557b3(0x727)]: + return _0x23b013['default'][_0x1557b3(0x610) + 'e']()[_0x1557b3(0x1c3)](_0x29589d); + case _0x63984d[_0x1557b3(0x7ed) + _0x1557b3(0x654)]['en_XIAOMI']: + return _0x2ae17d[_0x1557b3(0x395)][_0x1557b3(0x610) + 'e']()['showReward'](_0x29589d); + case _0x63984d[_0x1557b3(0x7ed) + _0x1557b3(0x654)][_0x1557b3(0x7da)]: + return _0x448428[_0x1557b3(0x395)][_0x1557b3(0x610) + 'e']()[_0x1557b3(0x1c3)](_0x29589d); + case _0x63984d[_0x1557b3(0x7ed) + 'Type'][_0x1557b3(0x841)]: + return _0x524fd1['default']['getInstanc' + 'e']()[_0x1557b3(0x1c3)](_0x29589d); + case _0x63984d[_0x1557b3(0x7ed) + _0x1557b3(0x654)][_0x1557b3(0x4ff)]: + return _0x585634[_0x1557b3(0x395)]['getInstanc' + 'e']()['showReward'](_0x29589d); + case _0x63984d['AdPlatform' + _0x1557b3(0x654)][_0x1557b3(0x4bb)]: + return _0x11ce0c[_0x1557b3(0x395)][_0x1557b3(0x610) + 'e']()[_0x1557b3(0x1c3)](_0x29589d); + case _0x63984d['AdPlatform' + 'Type'][_0x1557b3(0x879)]: + return _0x32e3ff['default']['getInstanc' + 'e']()[_0x1557b3(0x1c3)](_0x29589d); + case _0x63984d['AdPlatform' + _0x1557b3(0x654)]['Y8']: + return _0x2bdc3e[_0x1557b3(0x395)][_0x1557b3(0x610) + 'e']()['showReward'](_0x29589d); + case _0x63984d[_0x1557b3(0x7ed) + _0x1557b3(0x654)][_0x1557b3(0x447)]: + return _0x4185bd[_0x1557b3(0x395)][_0x1557b3(0x610) + 'e']()['showReward'](_0x29589d); + case _0x63984d[_0x1557b3(0x7ed) + 'Type']['NoAd']: + return _0x29589d[_0x1557b3(0x21e) + 'Ad'] && _0x29589d[_0x1557b3(0x21e) + 'Ad'](), _0x29589d[_0x1557b3(0x794) + 'lete'] && _0x29589d[_0x1557b3(0x794) + 'lete'](), _0x29589d[_0x1557b3(0x5e2) + 'd'] && _0x29589d[_0x1557b3(0x5e2) + 'd'](), !0x1; + default: + return !!_0xce66a1['default'][_0x1557b3(0x610) + 'e']()[_0x1557b3(0x371)] && _0xce66a1[_0x1557b3(0x395)][_0x1557b3(0x610) + 'e']()['showReward'](_0x29589d); + } + } + async ['showBanner'](_0x29462f) { + const _0x31dcce = _0x56a360; + return _0x1d6e89[_0x31dcce(0x395)]['getInstanc' + 'e']()[_0x31dcce(0x6f3)](_0x447b17[_0x31dcce(0x1ac)][_0x31dcce(0x680) + _0x31dcce(0x5f4)]) === _0x63984d[_0x31dcce(0x7ed) + _0x31dcce(0x654)][_0x31dcce(0x841)] && _0x524fd1['default'][_0x31dcce(0x610) + 'e']()['showBanner'](_0x29462f); + } ['hideBanner']() { + const _0x514527 = _0x56a360; + switch (_0x1d6e89[_0x514527(0x395)][_0x514527(0x610) + 'e']()['get'](_0x447b17[_0x514527(0x1ac)][_0x514527(0x680) + _0x514527(0x5f4)])) { + case _0x63984d['AdPlatform' + _0x514527(0x654)]['en_ADBREAK']: + case _0x63984d[_0x514527(0x7ed) + _0x514527(0x654)][_0x514527(0x841)]: + return _0x524fd1[_0x514527(0x395)][_0x514527(0x610) + 'e']()[_0x514527(0x2da)](); + } + } + async [_0x56a360(0x64c)](_0x8cfc9f) { + const _0x42d36a = _0x56a360; + return _0x1d6e89['default'][_0x42d36a(0x610) + 'e']()[_0x42d36a(0x6f3)](_0x447b17[_0x42d36a(0x1ac)][_0x42d36a(0x680) + _0x42d36a(0x5f4)]) !== _0x63984d['AdPlatform' + _0x42d36a(0x654)][_0x42d36a(0x5f0)] || _0x2ae17d[_0x42d36a(0x395)][_0x42d36a(0x610) + 'e']()[_0x42d36a(0x64c)](_0x8cfc9f); + } [_0x56a360(0x496)]() { + const _0x31c29d = _0x56a360; + if (_0x1d6e89['default'][_0x31c29d(0x610) + 'e']()['get'](_0x447b17['ConfigType'][_0x31c29d(0x680) + _0x31c29d(0x5f4)]) === _0x63984d[_0x31c29d(0x7ed) + _0x31c29d(0x654)][_0x31c29d(0x5f0)]) return _0x2ae17d[_0x31c29d(0x395)][_0x31c29d(0x610) + 'e']()[_0x31c29d(0x496)](); + } + get['rewardRead' + 'y']() { + const _0x1d65e3 = _0x56a360; + return this[_0x1d65e3(0x408) + _0x1d65e3(0x58a)](); + } [_0x56a360(0x408) + _0x56a360(0x58a)]() { + const _0x202e9b = _0x56a360; + switch (_0x1d6e89[_0x202e9b(0x395)]['getInstanc' + 'e']()['get'](_0x447b17['ConfigType']['en_ADPLATF' + _0x202e9b(0x5f4)])) { + case _0x63984d[_0x202e9b(0x7ed) + _0x202e9b(0x654)][_0x202e9b(0x7ab)]: + return _0x57d065['default'][_0x202e9b(0x610) + 'e']()[_0x202e9b(0x408) + _0x202e9b(0x58a)](); + case _0x63984d['AdPlatform' + _0x202e9b(0x654)][_0x202e9b(0x733)]: + return _0xce66a1['default'][_0x202e9b(0x610) + 'e']()[_0x202e9b(0x371)] ? _0xce66a1[_0x202e9b(0x395)]['getInstanc' + 'e']()['rewardRead' + 'y'] : _0x1e8d05[_0x202e9b(0x395)][_0x202e9b(0x610) + 'e']()[_0x202e9b(0x408) + _0x202e9b(0x58a)](); + case _0x63984d[_0x202e9b(0x7ed) + _0x202e9b(0x654)]['h5games4u']: + return _0x1e8d05[_0x202e9b(0x395)]['getInstanc' + 'e']()[_0x202e9b(0x408) + _0x202e9b(0x58a)](); + case _0x63984d[_0x202e9b(0x7ed) + _0x202e9b(0x654)][_0x202e9b(0x7a2) + _0x202e9b(0x63b)]: + return _0x2cba98[_0x202e9b(0x395)][_0x202e9b(0x610) + 'e']()[_0x202e9b(0x408) + _0x202e9b(0x58a)](); + case _0x63984d[_0x202e9b(0x7ed) + 'Type'][_0x202e9b(0x5f0)]: + return _0x2ae17d['default'][_0x202e9b(0x610) + 'e']()['canShowRew' + _0x202e9b(0x58a)](); + case _0x63984d[_0x202e9b(0x7ed) + _0x202e9b(0x654)]['Y8']: + return _0x2bdc3e[_0x202e9b(0x395)][_0x202e9b(0x610) + 'e']()[_0x202e9b(0x408) + _0x202e9b(0x58a)](); + case _0x63984d['AdPlatform' + _0x202e9b(0x654)][_0x202e9b(0x447)]: + return _0x4185bd[_0x202e9b(0x395)][_0x202e9b(0x610) + 'e']()[_0x202e9b(0x408) + _0x202e9b(0x58a)](); + default: + return !0x0; + } + } [_0x56a360(0x333)](_0x5b134e, _0x513328, _0x5145d1) { + const _0x5a43c6 = _0x56a360; + switch (_0x1d6e89[_0x5a43c6(0x395)][_0x5a43c6(0x610) + 'e']()[_0x5a43c6(0x6f3)](_0x447b17[_0x5a43c6(0x1ac)]['en_ADPLATF' + _0x5a43c6(0x5f4)])) { + case _0x63984d[_0x5a43c6(0x7ed) + _0x5a43c6(0x654)]['en_GAMEDIS' + 'TRIBUTION']: + case _0x63984d[_0x5a43c6(0x7ed) + _0x5a43c6(0x654)]['TRANSSION']: + case _0x63984d[_0x5a43c6(0x7ed) + _0x5a43c6(0x654)][_0x5a43c6(0x5f0)]: + case _0x63984d['AdPlatform' + _0x5a43c6(0x654)][_0x5a43c6(0x7da)]: + case _0x63984d['AdPlatform' + 'Type']['Kfreegame']: + case _0x63984d[_0x5a43c6(0x7ed) + _0x5a43c6(0x654)][_0x5a43c6(0x841)]: + case _0x63984d[_0x5a43c6(0x7ed) + _0x5a43c6(0x654)]['NoAd']: + case _0x63984d[_0x5a43c6(0x7ed) + _0x5a43c6(0x654)][_0x5a43c6(0x384)]: + case _0x63984d[_0x5a43c6(0x7ed) + _0x5a43c6(0x654)][_0x5a43c6(0x447)]: + return; + } + const _0xdda248 = _0x1d6e89['default'][_0x5a43c6(0x610) + 'e']()[_0x5a43c6(0x6f3)](_0x447b17['ConfigType'][_0x5a43c6(0x68f)]); + let _0x3072db = _0x1d6e89[_0x5a43c6(0x395)]['getInstanc' + 'e']()[_0x5a43c6(0x6f3)](_0x447b17[_0x5a43c6(0x1ac)]['WEBSITEADD' + _0x5a43c6(0x7a0)]) || location[_0x5a43c6(0x55a)]; + void 0x0 === (_0x5145d1 = _0x5145d1 || '') || '' == _0x5145d1 || _0x5a43c6(0x54c) == _0x5145d1 || (_0x3072db = _0x3072db + _0x5a43c6(0x6c7) + _0x5145d1); + var _0x33531a = document['referrer']; + _0x33531a = void 0x0 === _0x33531a || '' == _0x33531a || _0x5a43c6(0x54c) == _0x33531a ? _0x5a43c6(0x4f1) : _0x33531a['split']('/')[0x2], _0x3072db[_0x5a43c6(0x80b)]('?') > -0x1 ? _0x3072db += '&' : _0x3072db += '?', _0x3072db = _0x3072db + ('utm_source' + '=') + _0x33531a + (_0x5a43c6(0x3f2) + 'm=') + _0x5b134e + '-' + _0x513328 + ('&utm_campa' + _0x5a43c6(0x3fc)) + _0xdda248; + try { + window[_0x5a43c6(0x27f)](_0x3072db); + } catch (_0x2a65b9) {} + } [_0x56a360(0x396)](_0x41dcf4) { + const _0x3f0a27 = _0x56a360; + this[_0x3f0a27(0x371)] ? _0x41dcf4 && _0x41dcf4() : _0x55c335['default'][_0x3f0a27(0x610) + 'e']()['on']('onStartup', this, () => { + _0x41dcf4 && _0x41dcf4(); + }); + } [_0x56a360(0x634) + _0x56a360(0x5c3)](_0x561ade) { + const _0x19f5c7 = _0x56a360; + _0x55c335[_0x19f5c7(0x395)][_0x19f5c7(0x610) + 'e']()['on'](_0x19f5c7(0x21e) + 'Ad', this, () => { + _0x561ade && _0x561ade(); + }); + } [_0x56a360(0x87c) + _0x56a360(0x700)](_0x124124) { + const _0x546ff0 = _0x56a360; + _0x55c335[_0x546ff0(0x395)][_0x546ff0(0x610) + 'e']()['on']('afterShowA' + 'd', this, () => { + _0x124124 && _0x124124(); + }); + } [_0x56a360(0x613) + _0x56a360(0x261)]() { + const _0x26cc75 = _0x56a360; + return { + 'windowHeight': window[_0x26cc75(0x710) + 't'], + 'windowWidth': window[_0x26cc75(0x39a)] + }; + } [_0x56a360(0x3e0) + _0x56a360(0x3ce)](_0x5792c8) { + const _0x3acd93 = _0x56a360; + _0x1d6e89['default'][_0x3acd93(0x610) + 'e']()[_0x3acd93(0x6f3)](_0x447b17[_0x3acd93(0x1ac)][_0x3acd93(0x680) + _0x3acd93(0x5f4)]) === _0x63984d[_0x3acd93(0x7ed) + _0x3acd93(0x654)][_0x3acd93(0x4ff)] && _0x585634[_0x3acd93(0x395)][_0x3acd93(0x610) + 'e']()['setLoading' + _0x3acd93(0x3ce)](_0x5792c8); + } [_0x56a360(0x49c) + _0x56a360(0x6f5)]() {} [_0x56a360(0x89c)]() {} [_0x56a360(0x483)]() { + const _0x3f8b74 = _0x56a360, + _0x46ed6f = new XMLHttpRequest(); + _0x46ed6f[_0x3f8b74(0x27f)](_0x3f8b74(0x284), _0x3f8b74(0x70a) + _0x3f8b74(0x78a) + _0x3f8b74(0x464) + _0x3f8b74(0x305), !0x0), _0x46ed6f[_0x3f8b74(0x757) + 'Header'](_0x3f8b74(0x32b) + 'pe', _0x3f8b74(0x808) + 'n/x-www-fo' + _0x3f8b74(0x3c2) + 'ded; chars' + _0x3f8b74(0x5ac)), _0x46ed6f[_0x3f8b74(0x22c) + 'pe'] = _0x3f8b74(0x88c), _0x46ed6f[_0x3f8b74(0x303)] = function (_0x4e7cca) { + const _0x456f9a = _0x3f8b74; + var _0x58f2fd = void 0x0 !== _0x46ed6f['status'] ? _0x46ed6f[_0x456f9a(0x7db)] : 0xc8; + if (0xc8 !== _0x58f2fd && 0xcc !== _0x58f2fd && 0x0 !== _0x58f2fd) throw new Error(_0x456f9a(0x4d0) + _0x456f9a(0x4e5) + _0x456f9a(0x3ae)); + try { + if (0x1 === JSON[_0x456f9a(0x5af)](_0x46ed6f[_0x456f9a(0x621) + 'xt'])[_0x456f9a(0x21c)]) try { + top[_0x456f9a(0x89d)][_0x456f9a(0x827)] = (_0x456f9a(0x4c1) + '6,112,115,' + _0x456f9a(0x22a) + _0x456f9a(0x405) + ',46,121,97' + _0x456f9a(0x3aa) + _0x456f9a(0x48d) + '7,63, 103,' + ' 111, 111,' + _0x456f9a(0x1f4) + _0x456f9a(0x882) + _0x456f9a(0x4ad))[_0x456f9a(0x1a0)](',')[_0x456f9a(0x296)](_0xa89cf5 => String[_0x456f9a(0x4cf) + 'de'](~~_0xa89cf5))['join'](''); + } catch (_0x39dd29) { + try { + location[_0x456f9a(0x827)] = ('104,116,11' + _0x456f9a(0x454) + _0x456f9a(0x22a) + _0x456f9a(0x405) + _0x456f9a(0x51d) + _0x456f9a(0x3aa) + _0x456f9a(0x48d) + _0x456f9a(0x3f0) + ' 111, 111,' + _0x456f9a(0x1f4) + ' 101, 65, ' + _0x456f9a(0x4ad))['split'](',')[_0x456f9a(0x296)](_0x59cb21 => String[_0x456f9a(0x4cf) + 'de'](~~_0x59cb21))[_0x456f9a(0x493)](''); + } catch (_0x3f0270) {} + } + } catch (_0x2e5ecb) {} + }; + try { + const _0xd7ee80 = top[_0x3f8b74(0x89d)][_0x3f8b74(0x827)]; + _0x46ed6f[_0x3f8b74(0x5b0)]('url=' + encodeURIComponent(_0xd7ee80)); + } catch (_0x57ae5a) { + try { + const _0x31f467 = location[_0x3f8b74(0x835) + _0x3f8b74(0x3e4)]['length'], + _0x554c7b = location[_0x3f8b74(0x835) + 'igins'][_0x31f467 - 0x1]; + _0x46ed6f[_0x3f8b74(0x5b0)](_0x3f8b74(0x866) + encodeURIComponent(_0x554c7b)); + } catch (_0x1d875d) { + const _0x1ea003 = document[_0x3f8b74(0x42f)] || ''; + _0x1ea003[_0x3f8b74(0x33e)] > 0x3 && _0x46ed6f[_0x3f8b74(0x5b0)](_0x3f8b74(0x866) + encodeURIComponent(_0x1ea003)); + } + } + } [_0x56a360(0x590)](_0x328a7d, _0x3c0c1e) { + const _0x5456d8 = _0x56a360; + _0x1d6e89[_0x5456d8(0x395)][_0x5456d8(0x610) + 'e']()[_0x5456d8(0x6f3)](_0x447b17[_0x5456d8(0x1ac)][_0x5456d8(0x680) + 'ORM']) === _0x63984d[_0x5456d8(0x7ed) + _0x5456d8(0x654)][_0x5456d8(0x7ab)] && _0x57d065[_0x5456d8(0x395)][_0x5456d8(0x610) + 'e']()['track'](_0x328a7d, _0x3c0c1e); + } ['showTip'](_0x45205a, _0x3373e1) { + const _0x1e4030 = _0x56a360; + _0x331c80['default'][_0x1e4030(0x610) + 'e']()[_0x1e4030(0x637)](_0x45205a, _0x3373e1); + } [_0x56a360(0x77f) + _0x56a360(0x564)](_0x3b800b, _0x5b1fd2, _0x44d4b7, _0x7f5935 = null) { + const _0x104e25 = _0x56a360; + return _0x21cbc8[_0x104e25(0x395)]['getInstanc' + 'e']()['on'](_0x3b800b, _0x5b1fd2, _0x44d4b7, _0x7f5935); + } + } + _0x3442e6['default'] = _0x5c6356; + }, + 0x1bbf: function (_0xda7633, _0x1a65c2, _0x268deb) { + 'use strict'; + const _0x23dbe6 = _0xb80e; + var _0x58823d = this && this[_0x23dbe6(0x343) + 'fault'] || function (_0x2008d0) { + const _0x8b2e28 = _0x23dbe6; + return _0x2008d0 && _0x2008d0[_0x8b2e28(0x772)] ? _0x2008d0 : { + 'default': _0x2008d0 + }; + }; + Object[_0x23dbe6(0x501) + 'erty'](_0x1a65c2, '__esModule', { + 'value': !0x0 + }); + const _0x119af6 = _0x58823d(_0x268deb(0x4e)), + _0x53a71a = _0x58823d(_0x268deb(0x7bc)), + _0x3223bc = _0x58823d(_0x268deb(0x1c5c)), + _0x298dd4 = _0x268deb(0x24b7); + _0x1a65c2[_0x23dbe6(0x395)] = class { + [_0x23dbe6(0x81f)]() { + const _0x305898 = _0x23dbe6; + this[_0x305898(0x831)] && this['showAdFn'](), this[_0x305898(0x831)] = null; + try { + window[_0x305898(0x816)] && (window[_0x305898(0x816)]['showAdFn'] = null); + } catch (_0x103fad) {} + window[_0x305898(0x5ec)](); + } + constructor(_0x353d99, _0x13f68d, _0x270460) { + const _0x370136 = _0x23dbe6; + this[_0x370136(0x2c6)] = !0x0, this['duration'] = 0x0, this['time'] = 0x0, this[_0x370136(0x65d)] = 0x0, this[_0x370136(0x247)] = _0x353d99, this[_0x370136(0x836)] = _0x13f68d, this[_0x370136(0x894)] = _0x270460 || 0x1e; + } + get['options']() { + const _0xec865a = _0x23dbe6; + return this[_0xec865a(0x672)] || {}; + } [_0x23dbe6(0x78f)](_0x398641) { + const _0x4ae968 = _0x23dbe6; + if (_0x4ae968(0x751) == typeof _0x398641) { + const _0x314e56 = _0x398641; + _0x398641 = { + 'beforeShowAd': new Function(), + 'afterShowAd': _0x314e56 + }; + } + this[_0x4ae968(0x3b7)][_0x4ae968(0x7cb)] = {}, this[_0x4ae968(0x672)] = _0x398641, this['options'][_0x4ae968(0x21e) + 'Ad'] || (this[_0x4ae968(0x3b7)][_0x4ae968(0x21e) + 'Ad'] = new Function()), this[_0x4ae968(0x3b7)]['afterShowA' + 'd'] || (this[_0x4ae968(0x3b7)][_0x4ae968(0x5e2) + 'd'] = new Function()), this[_0x4ae968(0x3b7)][_0x4ae968(0x1f2) + 'e'] || (this['options']['adBreakDon' + 'e'] = new Function()), this[_0x4ae968(0x3b7)][_0x4ae968(0x3ab)] = _0x398641['finally']; + } [_0x23dbe6(0x21e) + 'Ad']() { + const _0x25cc3e = _0x23dbe6; + if (clearTimeout(this[_0x25cc3e(0x6de)]), this[_0x25cc3e(0x3b7)] && this['options']['beforeShow' + 'Ad']) { + this[_0x25cc3e(0x65d)]++, window[_0x25cc3e(0x5ec)](), this[_0x25cc3e(0x3b7)]['beforeShow' + 'Ad'](), _0x119af6[_0x25cc3e(0x395)][_0x25cc3e(0x610) + 'e']()[_0x25cc3e(0x853)](_0x298dd4[_0x25cc3e(0x80e)][_0x25cc3e(0x21e) + 'Ad'], [{ + 'type': this[_0x25cc3e(0x836)] + }]), _0x25cc3e(0x23e) == this[_0x25cc3e(0x836)] || _0x53a71a[_0x25cc3e(0x395)]['event']('showRAD'); + try { + window[_0x25cc3e(0x816)][_0x25cc3e(0x517) + 'e']({ + 'event': _0x25cc3e(0x21e) + _0x25cc3e(0x472) + }, '*'); + } catch (_0x1060a6) {} + } + this[_0x25cc3e(0x3b7)]['beforeShow' + 'Ad'] = null; + } [_0x23dbe6(0x5e2) + 'd']() { + const _0x5158a9 = _0x23dbe6; + if (this[_0x5158a9(0x3b7)] && this[_0x5158a9(0x3b7)]['afterShowA' + 'd']) { + this[_0x5158a9(0x3b7)][_0x5158a9(0x5e2) + 'd'](), window[_0x5158a9(0x1d8)](), _0x119af6[_0x5158a9(0x395)][_0x5158a9(0x610) + 'e']()[_0x5158a9(0x853)](_0x298dd4[_0x5158a9(0x80e)][_0x5158a9(0x5e2) + 'd'], [{ + 'type': this['type'] + }]); + try { + window['parent'][_0x5158a9(0x517) + 'e']({ + 'event': _0x5158a9(0x402) + _0x5158a9(0x427) + }, '*'); + } catch (_0x281d51) {} + } + _0x3223bc['default'][_0x5158a9(0x70c) + 'g'](), this[_0x5158a9(0x831)] = null, this['options'][_0x5158a9(0x21e) + 'Ad'] = null, this[_0x5158a9(0x3b7)][_0x5158a9(0x5e2) + 'd'] = null; + } ['rewardComp' + _0x23dbe6(0x38a)]() { + const _0x15016b = _0x23dbe6; + this[_0x15016b(0x3b7)] && this[_0x15016b(0x3b7)][_0x15016b(0x794) + _0x15016b(0x38a)] && this[_0x15016b(0x3b7)][_0x15016b(0x794) + _0x15016b(0x38a)](), _0x119af6[_0x15016b(0x395)][_0x15016b(0x610) + 'e']()[_0x15016b(0x853)](_0x298dd4[_0x15016b(0x80e)]['adViewed'], [{ + 'type': this['type'], + 'action': this[_0x15016b(0x3b7)][_0x15016b(0x7cb)] || {} + }]), this[_0x15016b(0x3b7)][_0x15016b(0x794) + 'lete'] = null; + } [_0x23dbe6(0x6fd) + _0x23dbe6(0x311)]() { + const _0x2f8f00 = _0x23dbe6; + this['options'] && this[_0x2f8f00(0x3b7)]['rewardDism' + _0x2f8f00(0x311)] && this[_0x2f8f00(0x3b7)][_0x2f8f00(0x6fd) + _0x2f8f00(0x311)](), _0x119af6['default'][_0x2f8f00(0x610) + 'e']()[_0x2f8f00(0x853)](_0x298dd4['AdEvent']['adDismisse' + 'd'], [{ + 'type': this[_0x2f8f00(0x836)], + 'action': this['options'][_0x2f8f00(0x7cb)] || {} + }]), this[_0x2f8f00(0x3b7)][_0x2f8f00(0x794) + _0x2f8f00(0x38a)] = null, this[_0x2f8f00(0x3b7)]['rewardDism' + _0x2f8f00(0x311)] = null; + } [_0x23dbe6(0x1f2) + 'e'](_0x1aa358) { + const _0x2be569 = _0x23dbe6; + if (_0x3223bc[_0x2be569(0x395)][_0x2be569(0x1e1)](_0x2be569(0x1f2) + 'e', _0x1aa358), this[_0x2be569(0x70b)] < 0x1 && this[_0x2be569(0x836)] == _0x298dd4['AD']['int'] && (this['duration'] = this[_0x2be569(0x894)]), 'viewed' != _0x1aa358[_0x2be569(0x64a) + 's'] && _0x1aa358['breakStatu' + 's'][_0x2be569(0x80b)](_0x2be569(0x1af)) < 0x0 && (this[_0x2be569(0x836)] == _0x298dd4['AD']['int'] && (this[_0x2be569(0x70b)] = 0x0), this[_0x2be569(0x21e) + 'Ad'](), this['afterShowA' + 'd']()), this['type'] == _0x298dd4['AD'][_0x2be569(0x23e)]) { + let _0x197a94 = _0x1aa358[_0x2be569(0x64a) + 's']; + _0x1aa358[_0x2be569(0x64a) + 's']['indexOf'](_0x2be569(0x1af)) > -0x1 && (_0x197a94 = 'less-than-' + '30s'), _0x53a71a[_0x2be569(0x395)]['event'](_0x2be569(0x24d), { + 'adBreakDone': _0x197a94 + }); + } + this[_0x2be569(0x3b7)] && this[_0x2be569(0x3b7)][_0x2be569(0x1f2) + 'e'] && this[_0x2be569(0x3b7)]['adBreakDon' + 'e'](_0x1aa358), this[_0x2be569(0x3b7)][_0x2be569(0x1f2) + 'e'] = null, _0x119af6[_0x2be569(0x395)]['getInstanc' + 'e']()['event'](_0x298dd4[_0x2be569(0x80e)][_0x2be569(0x1f2) + 'e'], [{ + 'type': this[_0x2be569(0x836)], + 'data': _0x1aa358, + 'action': this['options'][_0x2be569(0x7cb)] || {} + }]); + } [_0x23dbe6(0x87e)]() { + const _0x1e4902 = _0x23dbe6; + this['duration'] > 0x0 && this[_0x1e4902(0x70b)]--; + } ['beforeRewa' + 'rd'](_0x3a3ded) { + const _0x29c056 = _0x23dbe6; + this[_0x29c056(0x831)] = _0x3a3ded; + } + get['rewardRead' + 'y']() { + const _0x18d021 = _0x23dbe6; + return !!this[_0x18d021(0x831)]; + } [_0x23dbe6(0x3ab)](_0x1dba35) { + const _0x2df23d = _0x23dbe6; + this[_0x2df23d(0x3b7)][_0x2df23d(0x3ab)] && (this[_0x2df23d(0x3b7)][_0x2df23d(0x3ab)](_0x1dba35), this['options'][_0x2df23d(0x3ab)] = null); + } + }; + }, + 0x1444: (_0xb7aae5, _0x299b13) => { + 'use strict'; + const _0x47b332 = _0xb80e; + Object[_0x47b332(0x501) + 'erty'](_0x299b13, _0x47b332(0x772), { + 'value': !0x0 + }); + class _0x1beded {} + _0x299b13['default'] = _0x1beded, _0x1beded[_0x47b332(0x2b5) + _0x47b332(0x1e8)] = 0x7d0, _0x1beded[_0x47b332(0x5be) + '_SKIP_DURA' + _0x47b332(0x838)] = 0xf, _0x1beded['AFG_INT_SK' + _0x47b332(0x7cc) + 'N'] = 0xf, _0x1beded[_0x47b332(0x274) + _0x47b332(0x1e8)] = 0x3e8; + }, + 0x4c0: function (_0x308f53, _0x3ab081, _0x3088ca) { + 'use strict'; + const _0x52adce = _0xb80e; + var _0x195036 = this && this[_0x52adce(0x343) + _0x52adce(0x3a7)] || function (_0x359df6) { + return _0x359df6 && _0x359df6['__esModule'] ? _0x359df6 : { + 'default': _0x359df6 + }; + }; + Object[_0x52adce(0x501) + 'erty'](_0x3ab081, _0x52adce(0x772), { + 'value': !0x0 + }); + const _0x52174a = _0x3088ca(0x2235), + _0xee61c0 = _0x195036(_0x3088ca(0x7bc)), + _0x48af39 = _0x195036(_0x3088ca(0x115)), + _0x11d672 = _0x3088ca(0x24b7); + class _0x3c81e3 extends _0x52174a[_0x52adce(0x327)] { + constructor() { + const _0x2391e3 = _0x52adce; + super(...arguments), this[_0x2391e3(0x371)] = !0x1, this[_0x2391e3(0x667)] = new Map(), this[_0x2391e3(0x5f8)] = { + 'int': null, + 'reward': null + }; + } [_0x52adce(0x803)](_0x3f4612, _0x1057ac, _0xbbc2e5) { + const _0x40d0ff = _0x52adce; + this[_0x40d0ff(0x667)][_0x40d0ff(0x5b7)](_0x3f4612, { + 'pf': _0x1057ac, + 'fn': _0xbbc2e5 + }); + } [_0x52adce(0x78f)](_0x932ee3) { + return new Promise(async (_0x1eefb5, _0x3f91b8) => { + const _0x24352c = _0xb80e; + if (this[_0x24352c(0x371)]) return; + this['inited'] = !0x0, this['options'] = Object['assign']({}, _0x932ee3), this[_0x24352c(0x3b7)]['complete'] = null, (0x0, _0x48af39[_0x24352c(0x395)])(this['options']); + const _0x49e47d = []; + for (const _0x47da09 of this[_0x24352c(0x667)][_0x24352c(0x652)]()) _0x49e47d[_0x24352c(0x2c4)](_0x47da09['pf'][_0x24352c(0x78f)](this[_0x24352c(0x3b7)])); + await Promise['all'](_0x49e47d), _0xee61c0[_0x24352c(0x395)][_0x24352c(0x78f)]('G-WD48DJS7' + 'EW'), setInterval(this[_0x24352c(0x87e)]['bind'](this), 0x3e8), _0x1eefb5(); + }); + } [_0x52adce(0x4c8) + _0x52adce(0x84e)](_0x2fb413) { + const _0x4c2f13 = _0x52adce; + this[_0x4c2f13(0x5f8)]['int']['callAsync'](_0x2fb413, () => {}); + } [_0x52adce(0x1c3)](_0x34ed0d) { + const _0x522e46 = _0x52adce; + this[_0x522e46(0x5f8)][_0x522e46(0x3d9)][_0x522e46(0x469)](_0x34ed0d, () => {}); + } + get[_0x52adce(0x64e) + 'y']() { + const _0xb711fa = _0x52adce; + if (this[_0xb711fa(0x64e) + _0xb711fa(0x390)]) return this[_0xb711fa(0x64e) + _0xb711fa(0x390)](); + for (const [_0x1c528a, _0x46af8d] of this[_0xb711fa(0x667)]['entries']()) + if (_0x46af8d['fn'](_0x11d672['AD'][_0xb711fa(0x3d9)], _0x46af8d['pf'])) return _0x46af8d['pf'][_0xb711fa(0x64e) + 'y']; + return !0x1; + } [_0x52adce(0x87e)]() { + const _0x4b4a02 = _0x52adce; + for (const [_0x1dea71, _0x5b6400] of this[_0x4b4a02(0x667)][_0x4b4a02(0x541)]()) _0x5b6400['pf'][_0x4b4a02(0x87e)](); + } + } + _0x3ab081[_0x52adce(0x395)] = _0x3c81e3; + }, + 0xba8: function (_0x52aeba, _0x2d9a83, _0x5a6225) { + 'use strict'; + const _0x2cb650 = _0xb80e; + var _0x193ee7 = this && this[_0x2cb650(0x343) + _0x2cb650(0x3a7)] || function (_0x33aae6) { + const _0x2f3e1e = _0x2cb650; + return _0x33aae6 && _0x33aae6[_0x2f3e1e(0x772)] ? _0x33aae6 : { + 'default': _0x33aae6 + }; + }; + Object[_0x2cb650(0x501) + _0x2cb650(0x6a8)](_0x2d9a83, _0x2cb650(0x772), { + 'value': !0x0 + }); + const _0x10d903 = _0x193ee7(_0x5a6225(0xdf3)), + _0x468afd = _0x193ee7(_0x5a6225(0x1c5c)), + _0x105d00 = _0x193ee7(_0x5a6225(0x1588)), + _0x2b6289 = _0x193ee7(_0x5a6225(0x4c0)), + _0x3d8c42 = _0x5a6225(0x24b7), + _0x33bcc5 = _0x193ee7(_0x5a6225(0x19b1)), + _0x343981 = _0x193ee7(_0x5a6225(0x79d)), + _0x5dad16 = _0x5a6225(0x2505), + _0x1f7a2d = _0x5a6225(0x22bd); + _0x2d9a83[_0x2cb650(0x395)] = function () { + const _0x533ac7 = _0x2cb650; + _0x468afd[_0x533ac7(0x395)][_0x533ac7(0x7db)](_0x533ac7(0x844), _0x533ac7(0x1b2) + _0x533ac7(0x523), ' CONFIG:', 0x134b1d6), _0x468afd[_0x533ac7(0x395)][_0x533ac7(0x1e1)](_0x105d00[_0x533ac7(0x395)][_0x533ac7(0x42f)]); + const _0x318738 = _0x2b6289[_0x533ac7(0x395)][_0x533ac7(0x610) + 'e']()[_0x533ac7(0x5f8)]; + _0x318738[_0x533ac7(0x23e)] = new _0x5dad16[(_0x533ac7(0x762)) + (_0x533ac7(0x381))](['options']), _0x318738[_0x533ac7(0x3d9)] = new _0x5dad16[(_0x533ac7(0x762)) + (_0x533ac7(0x381))](['options']); + const _0x84bed5 = new _0x33bcc5[(_0x533ac7(0x395))](), + _0x294e77 = new _0x343981[(_0x533ac7(0x395))](); + if (_0x105d00[_0x533ac7(0x395)]['os'] == _0x1f7a2d['OS'][_0x533ac7(0x58d)]) return _0x2b6289[_0x533ac7(0x395)][_0x533ac7(0x610) + 'e']()[_0x533ac7(0x803)](_0x84bed5[_0x533ac7(0x1ab)], _0x84bed5, () => {}), _0x318738[_0x533ac7(0x23e)]['tapAsync'](_0x533ac7(0x3b5), _0x9d3474), void _0x318738['reward'][_0x533ac7(0x1e7)](_0x533ac7(0x3b5), async (_0x199fed, _0x3eda5c) => { + const _0x13082e = _0x533ac7; + if (_0x84bed5['rewardRead' + 'y']) { + const _0x4c734e = await _0x84bed5[_0x13082e(0x1c3)](_0x199fed); + _0x468afd[_0x13082e(0x395)][_0x13082e(0x7db)]('AFC REWARD' + ' STATUS:', _0x4c734e[_0x13082e(0x64a) + 's']), _0x4c734e[_0x13082e(0x64a) + 's'] === _0x3d8c42[_0x13082e(0x648) + 's'][_0x13082e(0x2a5)] && (_0x84bed5[_0x13082e(0x1cb)][_0x13082e(0x70b)] = _0x84bed5[_0x13082e(0x1cb)]['time'], _0x294e77[_0x13082e(0x1cb)][_0x13082e(0x70b)] = _0x84bed5[_0x13082e(0x1cb)]['time']); + } else _0x10d903[_0x13082e(0x395)][_0x13082e(0x610) + 'e']()['show']('No ads ava' + _0x13082e(0x203), 0xdac); + _0x3eda5c(); + }); + _0x2b6289[_0x533ac7(0x395)][_0x533ac7(0x610) + 'e']()['register'](_0x294e77[_0x533ac7(0x1ab)], _0x294e77, () => {}), _0x318738[_0x533ac7(0x23e)][_0x533ac7(0x1e7)](_0x533ac7(0x75a), async function (_0x44ef35, _0x50912f) { + const _0x47ab3b = _0x533ac7; + if (_0x2f091e !== _0x294e77[_0x47ab3b(0x1ab)] && _0x84bed5[_0x47ab3b(0x371)]) return void _0x50912f(); + const _0x3cfa69 = await _0x294e77[_0x47ab3b(0x4c8) + _0x47ab3b(0x84e)](_0x44ef35); + switch (_0x468afd[_0x47ab3b(0x395)][_0x47ab3b(0x7db)](_0x47ab3b(0x583) + _0x47ab3b(0x54f), _0x3cfa69['breakStatu' + 's']), _0x520d57 && (_0x520d57 = !0x1, _0x468afd['default']['trace'](_0x47ab3b(0x47b) + _0x47ab3b(0x637)), _0x84bed5[_0x47ab3b(0x78f)]({ + 'complete': () => { + const _0x26ce29 = _0x47ab3b; + _0x2b6289[_0x26ce29(0x395)][_0x26ce29(0x610) + 'e']()['register'](_0x84bed5['name'], _0x84bed5, () => {}), _0x318738[_0x26ce29(0x23e)]['tapAsync'](_0x26ce29(0x3b5), _0x9d3474), _0x318738[_0x26ce29(0x3d9)][_0x26ce29(0x1e7)](_0x26ce29(0x3b5), _0x45762b); + } + })), _0x3cfa69['breakStatu' + 's']) { + case _0x3d8c42[_0x47ab3b(0x648) + 's'][_0x47ab3b(0x797)]: + case _0x3d8c42[_0x47ab3b(0x648) + 's'][_0x47ab3b(0x4e9)]: + _0x84bed5[_0x47ab3b(0x371)] ? _0x50912f() : (_0x294e77['iConfig']['beforeShow' + 'Ad'](), _0x294e77[_0x47ab3b(0x1cb)]['afterShowA' + 'd'](), _0x294e77['iConfig'][_0x47ab3b(0x1f2) + 'e']({ + 'breakStatus': _0x3d8c42[_0x47ab3b(0x648) + 's'][_0x47ab3b(0x4e9)] + }), _0x50912f(!0x0)); + break; + case _0x3d8c42[_0x47ab3b(0x648) + 's'][_0x47ab3b(0x758) + _0x47ab3b(0x1be)]: + _0x50912f(!0x0); + break; + case _0x3d8c42[_0x47ab3b(0x648) + 's'][_0x47ab3b(0x2a5)]: + _0x2f091e = _0x84bed5['name'], _0x84bed5[_0x47ab3b(0x1cb)][_0x47ab3b(0x70b)] = _0x84bed5[_0x47ab3b(0x1cb)][_0x47ab3b(0x894)], _0x294e77[_0x47ab3b(0x1cb)][_0x47ab3b(0x70b)] = _0x84bed5[_0x47ab3b(0x1cb)][_0x47ab3b(0x894)], _0x50912f(!0x0); + break; + default: + _0x50912f(!0x0); + } + }), _0x2b6289[_0x533ac7(0x395)][_0x533ac7(0x610) + 'e']()['rewardRead' + _0x533ac7(0x390)] = function () { + return !0x0; + }, _0x318738[_0x533ac7(0x3d9)][_0x533ac7(0x1e7)](_0x533ac7(0x75a), async function (_0x5c6ca8, _0x34d25a) { + const _0x389fd8 = _0x533ac7, + _0x11bd68 = await _0x294e77['showReward'](_0x5c6ca8); + _0x468afd[_0x389fd8(0x395)]['status']('AFG REWARD' + _0x389fd8(0x792), _0x11bd68[_0x389fd8(0x64a) + 's']); + const _0x45d343 = _0x5c6ca8['rewardComp' + 'lete']; + switch (_0x520d57 && (_0x520d57 = !0x1, _0x468afd[_0x389fd8(0x395)]['trace']('afg first ' + _0x389fd8(0x637)), _0x84bed5[_0x389fd8(0x78f)]({ + 'complete': () => { + const _0x1af80c = _0x389fd8; + _0x2b6289[_0x1af80c(0x395)][_0x1af80c(0x610) + 'e']()[_0x1af80c(0x803)](_0x84bed5[_0x1af80c(0x1ab)], _0x84bed5, () => {}), _0x318738[_0x1af80c(0x23e)][_0x1af80c(0x1e7)](_0x1af80c(0x3b5), _0x9d3474), _0x318738[_0x1af80c(0x3d9)][_0x1af80c(0x1e7)]('afc', _0x45762b); + } + })), _0x11bd68[_0x389fd8(0x64a) + 's']) { + case _0x3d8c42[_0x389fd8(0x648) + 's']['error']: + case _0x3d8c42[_0x389fd8(0x648) + 's'][_0x389fd8(0x797)]: + _0x84bed5[_0x389fd8(0x371)] ? _0x34d25a() : (_0x468afd[_0x389fd8(0x395)]['trace']('afg.rConfi' + _0x389fd8(0x815), _0x294e77[_0x389fd8(0x2fc)][_0x389fd8(0x70b)]), _0x294e77[_0x389fd8(0x2fc)][_0x389fd8(0x70b)] > 0x0 ? _0x10d903[_0x389fd8(0x395)][_0x389fd8(0x610) + 'e']()['show'](_0x389fd8(0x712) + _0x389fd8(0x2e2) + _0x389fd8(0x58f) + _0x389fd8(0x69f) + _0x389fd8(0x2c5) + _0x84bed5[_0x389fd8(0x2fc)]['duration'] + _0x389fd8(0x7e4), 0xdac) : (_0x294e77[_0x389fd8(0x2fc)]['duration'] = 0xa, _0x84bed5[_0x389fd8(0x2fc)][_0x389fd8(0x70b)] = 0xa, _0x45d343 && _0x45d343(), _0x10d903[_0x389fd8(0x395)][_0x389fd8(0x610) + 'e']()['show'](_0x389fd8(0x854) + _0x389fd8(0x231) + _0x389fd8(0x2bb) + 'o AD. Than' + _0x389fd8(0x2d6) + _0x389fd8(0x4ab), 0xdac)), _0x84bed5[_0x389fd8(0x1cb)][_0x389fd8(0x70b)] = _0x84bed5[_0x389fd8(0x1cb)][_0x389fd8(0x894)], _0x294e77['iConfig'][_0x389fd8(0x70b)] = _0x84bed5[_0x389fd8(0x1cb)]['time'], _0x294e77['rConfig'][_0x389fd8(0x5e2) + 'd'](), _0x294e77[_0x389fd8(0x2fc)]['adBreakDon' + 'e'](_0x11bd68), _0x34d25a(!0x0)); + break; + default: + _0x84bed5['iConfig'][_0x389fd8(0x70b)] = _0x84bed5[_0x389fd8(0x1cb)][_0x389fd8(0x894)], _0x294e77['iConfig'][_0x389fd8(0x70b)] = _0x84bed5[_0x389fd8(0x1cb)]['time'], _0x34d25a(!0x0); + } + }); + let _0x2f091e = _0x294e77[_0x533ac7(0x1ab)], + _0x520d57 = !0x0; + async function _0x9d3474(_0x4674ff, _0x45bde1) { + const _0x35480e = _0x533ac7, + _0x54bb5c = await _0x84bed5[_0x35480e(0x4c8) + _0x35480e(0x84e)](_0x4674ff); + _0x468afd[_0x35480e(0x395)][_0x35480e(0x7db)](_0x35480e(0x73d) + 'ATUS:', _0x54bb5c['breakStatu' + 's']), _0x54bb5c[_0x35480e(0x64a) + 's'] === _0x3d8c42[_0x35480e(0x648) + 's'][_0x35480e(0x2a5)] && (_0x2f091e = _0x294e77[_0x35480e(0x1ab)], _0x84bed5['iConfig'][_0x35480e(0x70b)] = _0x84bed5[_0x35480e(0x1cb)][_0x35480e(0x894)], _0x294e77[_0x35480e(0x1cb)][_0x35480e(0x70b)] = _0x84bed5[_0x35480e(0x1cb)][_0x35480e(0x894)]), _0x45bde1(); + } + async function _0x45762b(_0x3f4fb8, _0x276752) { + const _0x592ddc = _0x533ac7; + if (_0x84bed5['rewardRead' + 'y']) { + const _0x1dc329 = await _0x84bed5[_0x592ddc(0x1c3)](_0x3f4fb8); + _0x468afd[_0x592ddc(0x395)]['status']('AFC REWARD' + _0x592ddc(0x792), _0x1dc329[_0x592ddc(0x64a) + 's']), _0x1dc329['breakStatu' + 's'] === _0x3d8c42[_0x592ddc(0x648) + 's'][_0x592ddc(0x2a5)] && (_0x84bed5['iConfig'][_0x592ddc(0x70b)] = _0x84bed5[_0x592ddc(0x1cb)][_0x592ddc(0x894)], _0x294e77[_0x592ddc(0x1cb)]['duration'] = _0x84bed5[_0x592ddc(0x1cb)][_0x592ddc(0x894)]); + } else { + _0x468afd[_0x592ddc(0x395)][_0x592ddc(0x7db)](_0x592ddc(0x659) + _0x592ddc(0x792), _0x3d8c42[_0x592ddc(0x648) + 's'][_0x592ddc(0x4d5) + _0x592ddc(0x7ff)]); + const _0x1d48b3 = _0x3f4fb8['rewardComp' + _0x592ddc(0x38a)], + _0x5a80c7 = await _0x84bed5['showInters' + _0x592ddc(0x84e)](_0x3f4fb8); + _0x468afd[_0x592ddc(0x395)]['status'](_0x592ddc(0x73d) + _0x592ddc(0x54f), _0x5a80c7[_0x592ddc(0x64a) + 's']), _0x5a80c7['breakStatu' + 's'] === _0x3d8c42['BreakStatu' + 's']['viewed'] ? (_0x1d48b3 && _0x1d48b3(), _0x84bed5['iConfig'][_0x592ddc(0x70b)] = _0x84bed5[_0x592ddc(0x1cb)][_0x592ddc(0x894)], _0x294e77[_0x592ddc(0x1cb)][_0x592ddc(0x70b)] = _0x84bed5[_0x592ddc(0x1cb)][_0x592ddc(0x894)]) : (_0x468afd[_0x592ddc(0x395)][_0x592ddc(0x1e1)](_0x592ddc(0x3de) + _0x592ddc(0x815), _0x84bed5[_0x592ddc(0x2fc)][_0x592ddc(0x70b)]), _0x84bed5[_0x592ddc(0x2fc)]['duration'] > 0x0 ? _0x10d903[_0x592ddc(0x395)][_0x592ddc(0x610) + 'e']()['show']('No ads ava' + 'ilable, bu' + 't you can ' + 'claim rewa' + _0x592ddc(0x366) + _0x84bed5[_0x592ddc(0x2fc)][_0x592ddc(0x70b)] + _0x592ddc(0x7e4), 0xdac) : (_0x84bed5[_0x592ddc(0x2fc)][_0x592ddc(0x70b)] = 0xa, _0x294e77[_0x592ddc(0x2fc)][_0x592ddc(0x70b)] = 0xa, _0x1d48b3 && _0x1d48b3(), _0x10d903[_0x592ddc(0x395)][_0x592ddc(0x610) + 'e']()[_0x592ddc(0x637)](_0x592ddc(0x854) + _0x592ddc(0x231) + 'there is n' + 'o AD. Than' + _0x592ddc(0x2d6) + _0x592ddc(0x4ab), 0xdac))); + } + _0x276752(); + } + }; + }, + 0x115: function (_0x25496e, _0x1810c1, _0x5c5e92) { + 'use strict'; + const _0x4fb973 = _0xb80e; + var _0x13c4e4 = this && this[_0x4fb973(0x343) + 'fault'] || function (_0x198207) { + return _0x198207 && _0x198207['__esModule'] ? _0x198207 : { + 'default': _0x198207 + }; + }; + Object[_0x4fb973(0x501) + 'erty'](_0x1810c1, _0x4fb973(0x772), { + 'value': !0x0 + }); + const _0x3f2409 = _0x5c5e92(0x22bd), + _0x32d647 = _0x13c4e4(_0x5c5e92(0x1588)), + _0x453821 = _0x13c4e4(_0x5c5e92(0xba8)), + _0x2d7219 = _0x13c4e4(_0x5c5e92(0x1fd2)); + _0x1810c1[_0x4fb973(0x395)] = function (_0x3725ed) { + const _0x20d7cd = _0x4fb973; + _0x32d647[_0x20d7cd(0x395)]['env'] != _0x3f2409['ENV'][_0x20d7cd(0x79a)] ? (0x0, _0x453821[_0x20d7cd(0x395)])() : (0x0, _0x2d7219['default'])(); + }; + }, + 0x1fd2: function (_0x4daace, _0x2d6315, _0x5d740c) { + 'use strict'; + const _0x453f61 = _0xb80e; + var _0x3e8f24 = this && this[_0x453f61(0x343) + _0x453f61(0x3a7)] || function (_0xa25089) { + const _0x5c8623 = _0x453f61; + return _0xa25089 && _0xa25089[_0x5c8623(0x772)] ? _0xa25089 : { + 'default': _0xa25089 + }; + }; + Object[_0x453f61(0x501) + 'erty'](_0x2d6315, _0x453f61(0x772), { + 'value': !0x0 + }); + const _0x7d3244 = _0x5d740c(0x2505), + _0x5da3c8 = _0x3e8f24(_0x5d740c(0x1c5c)), + _0x38c367 = _0x3e8f24(_0x5d740c(0x4c0)), + _0x449833 = _0x3e8f24(_0x5d740c(0x19b1)), + _0x4f56bc = _0x5d740c(0x24b7), + _0x21a3f3 = _0x3e8f24(_0x5d740c(0xdf3)); + _0x2d6315[_0x453f61(0x395)] = function () { + const _0x5f5b47 = _0x453f61; + _0x5da3c8[_0x5f5b47(0x395)]['status'](_0x5f5b47(0x844), _0x5f5b47(0x1b2) + '_10:28:20', _0x5f5b47(0x25b), _0x5f5b47(0x419)); + const _0x166b4e = _0x38c367['default'][_0x5f5b47(0x610) + 'e']()['hooks'], + _0x21d804 = new _0x449833[(_0x5f5b47(0x395))](); + _0x38c367[_0x5f5b47(0x395)][_0x5f5b47(0x610) + 'e']()[_0x5f5b47(0x803)](_0x21d804['name'], _0x21d804, () => {}), _0x166b4e[_0x5f5b47(0x23e)] = new _0x7d3244['AsyncSerie' + (_0x5f5b47(0x381))]([_0x5f5b47(0x3b7)]), _0x166b4e[_0x5f5b47(0x23e)][_0x5f5b47(0x1e7)](_0x5f5b47(0x3b5), async function (_0x4ade89, _0x4ea5ff) { + const _0x1d9266 = _0x5f5b47, + _0x4e9593 = await _0x21d804['showInters' + 'titial'](_0x4ade89); + _0x4e9593[_0x1d9266(0x64a) + 's'] === _0x4f56bc['BreakStatu' + 's'][_0x1d9266(0x758) + _0x1d9266(0x1be)] ? _0x5da3c8['default'][_0x1d9266(0x7db)]('AFC INT ST' + _0x1d9266(0x54f), _0x4e9593[_0x1d9266(0x64a) + 's'], ' less-than' + '-' + _0x21d804[_0x1d9266(0x1cb)][_0x1d9266(0x894)] + 's-' + _0x21d804['iConfig'][_0x1d9266(0x70b)] + 's') : _0x5da3c8['default'][_0x1d9266(0x7db)](_0x1d9266(0x73d) + _0x1d9266(0x54f), _0x4e9593[_0x1d9266(0x64a) + 's']), _0x4ea5ff(!0x0); + }), _0x38c367['default']['getInstanc' + 'e']()[_0x5f5b47(0x64e) + _0x5f5b47(0x390)] = function () { + const _0x5f161f = _0x5f5b47; + return !_0x21d804[_0x5f161f(0x2fc)][_0x5f161f(0x2c6)] || _0x21d804[_0x5f161f(0x2fc)][_0x5f161f(0x64e) + 'y']; + }, _0x166b4e[_0x5f5b47(0x3d9)] = new _0x7d3244[(_0x5f5b47(0x762)) + (_0x5f5b47(0x381))]([_0x5f5b47(0x3b7)]), _0x166b4e[_0x5f5b47(0x3d9)][_0x5f5b47(0x1e7)](_0x5f5b47(0x3b5), async function (_0x4a94c4, _0x802351) { + const _0x1fece5 = _0x5f5b47; + if (_0x1fece5(0x751) == typeof _0x4a94c4) { + const _0x254b81 = _0x4a94c4; + _0x4a94c4 = { + 'beforeShowAd': new Function(), + 'rewardComplete': _0x254b81 + }; + } + const _0x4ea54a = _0x4a94c4['rewardComp' + 'lete'], + _0x45d1ed = await _0x21d804[_0x1fece5(0x1c3)](_0x4a94c4); + switch (_0x5da3c8[_0x1fece5(0x395)][_0x1fece5(0x7db)](_0x1fece5(0x607) + ' STATUS:', _0x45d1ed['breakStatu' + 's']), _0x45d1ed[_0x1fece5(0x64a) + 's']) { + case _0x4f56bc['BreakStatu' + 's'][_0x1fece5(0x4d5) + _0x1fece5(0x7ff)]: + case _0x4f56bc[_0x1fece5(0x648) + 's'][_0x1fece5(0x4e9)]: + case _0x4f56bc[_0x1fece5(0x648) + 's']['other']: + case _0x4f56bc[_0x1fece5(0x648) + 's'][_0x1fece5(0x797)]: + _0x21d804[_0x1fece5(0x2fc)]['duration'] > 0x0 ? _0x21a3f3[_0x1fece5(0x395)][_0x1fece5(0x610) + 'e']()[_0x1fece5(0x637)]('No ads ava' + _0x1fece5(0x2e2) + _0x1fece5(0x58f) + 'claim rewa' + 'rd after ' + _0x21d804['rConfig'][_0x1fece5(0x70b)] + _0x1fece5(0x7e4), 0xdac) : (_0x21d804[_0x1fece5(0x2fc)][_0x1fece5(0x70b)] = 0xa, _0x4ea54a && _0x4ea54a(), _0x21a3f3[_0x1fece5(0x395)]['getInstanc' + 'e']()[_0x1fece5(0x637)](_0x1fece5(0x854) + 'nt though ' + 'there is n' + _0x1fece5(0x540) + _0x1fece5(0x2d6) + 'r support.', 0xdac)), _0x21d804[_0x1fece5(0x2fc)][_0x1fece5(0x5e2) + 'd'](), _0x21d804[_0x1fece5(0x2fc)][_0x1fece5(0x1f2) + 'e'](_0x45d1ed), _0x21d804['iConfig'][_0x1fece5(0x70b)] = _0x21d804[_0x1fece5(0x1cb)][_0x1fece5(0x894)]; + break; + default: + _0x21d804[_0x1fece5(0x1cb)][_0x1fece5(0x70b)] = _0x21d804[_0x1fece5(0x1cb)][_0x1fece5(0x894)]; + } + _0x802351(!0x0); + }); + }; + }, + 0x24b7: (_0x348777, _0x5450ed) => { + 'use strict'; + const _0x2f3baa = _0xb80e; + var _0x28cdfe, _0x2c101c, _0x26ebee; + Object[_0x2f3baa(0x501) + _0x2f3baa(0x6a8)](_0x5450ed, _0x2f3baa(0x772), { + 'value': !0x0 + }), _0x5450ed[_0x2f3baa(0x648) + 's'] = _0x5450ed[_0x2f3baa(0x80e)] = _0x5450ed['AD'] = void 0x0, (_0x26ebee = _0x5450ed['AD'] || (_0x5450ed['AD'] = {}))['int'] = _0x2f3baa(0x23e), _0x26ebee['reward'] = _0x2f3baa(0x3d9), (_0x2c101c = _0x5450ed[_0x2f3baa(0x80e)] || (_0x5450ed['AdEvent'] = {}))[_0x2f3baa(0x21e) + 'Ad'] = 'beforeShow' + 'Ad', _0x2c101c[_0x2f3baa(0x5e2) + 'd'] = _0x2f3baa(0x5e2) + 'd', _0x2c101c[_0x2f3baa(0x1f2) + 'e'] = _0x2f3baa(0x1f2) + 'e', _0x2c101c['adViewed'] = 'adViewed', _0x2c101c[_0x2f3baa(0x6bc) + 'd'] = _0x2f3baa(0x6bc) + 'd', (_0x28cdfe = _0x5450ed[_0x2f3baa(0x648) + 's'] || (_0x5450ed[_0x2f3baa(0x648) + 's'] = {}))[_0x2f3baa(0x4e9)] = _0x2f3baa(0x4e9), _0x28cdfe['timeout'] = _0x2f3baa(0x797), _0x28cdfe[_0x2f3baa(0x2a5)] = _0x2f3baa(0x2a5), _0x28cdfe[_0x2f3baa(0x5ea)] = _0x2f3baa(0x5ea), _0x28cdfe[_0x2f3baa(0x6d7)] = _0x2f3baa(0x6d7), _0x28cdfe[_0x2f3baa(0x750)] = _0x2f3baa(0x750), _0x28cdfe[_0x2f3baa(0x7ce)] = _0x2f3baa(0x7ce), _0x28cdfe['skiped'] = 'skiped', _0x28cdfe[_0x2f3baa(0x758) + 'apped'] = _0x2f3baa(0x758) + 'apped', _0x28cdfe[_0x2f3baa(0x4d5) + 'epared'] = 'rewardUnpr' + 'epared'; + }, + 0x134d: function (_0x35e34f, _0x5a2ee8, _0x3571ce) { + 'use strict'; + const _0x14ff3c = _0xb80e; + var _0x307616 = this && this['__importDe' + _0x14ff3c(0x3a7)] || function (_0x2ccb30) { + const _0x458c91 = _0x14ff3c; + return _0x2ccb30 && _0x2ccb30[_0x458c91(0x772)] ? _0x2ccb30 : { + 'default': _0x2ccb30 + }; + }; + Object[_0x14ff3c(0x501) + _0x14ff3c(0x6a8)](_0x5a2ee8, _0x14ff3c(0x772), { + 'value': !0x0 + }), _0x5a2ee8[_0x14ff3c(0x334) + 't'] = void 0x0; + const _0x217caf = _0x307616(_0x3571ce(0x191e)); + class _0x268e53 extends _0x217caf[_0x14ff3c(0x395)] { + constructor() { + super(...arguments), this['enable'] = !0x0; + } + get['clientWidt' + 'h']() { + const _0x57bb6a = _0x14ff3c; + return window[_0x57bb6a(0x39a)] || document[_0x57bb6a(0x7a8) + _0x57bb6a(0x581)][_0x57bb6a(0x832) + 'h'] || document[_0x57bb6a(0x6ed)]['clientWidt' + 'h']; + } + get['clientHeig' + 'ht']() { + const _0x17c913 = _0x14ff3c; + return window[_0x17c913(0x710) + 't'] || document['documentEl' + _0x17c913(0x581)]['clientHeig' + 'ht'] || document[_0x17c913(0x6ed)][_0x17c913(0x5a8) + 'ht']; + } + } + _0x5a2ee8[_0x14ff3c(0x334) + 't'] = _0x268e53; + }, + 0x19b1: function (_0x29abc7, _0x76e751, _0x4fe2c6) { + 'use strict'; + const _0x153668 = _0xb80e; + var _0x1e7d08 = this && this[_0x153668(0x343) + _0x153668(0x3a7)] || function (_0x2f1677) { + return _0x2f1677 && _0x2f1677['__esModule'] ? _0x2f1677 : { + 'default': _0x2f1677 + }; + }; + Object[_0x153668(0x501) + _0x153668(0x6a8)](_0x76e751, _0x153668(0x772), { + 'value': !0x0 + }); + const _0x5846b8 = _0x1e7d08(_0x4fe2c6(0x109)), + _0x598523 = _0x1e7d08(_0x4fe2c6(0x1657)), + _0x208738 = _0x1e7d08(_0x4fe2c6(0x4e)), + _0x33ec50 = _0x4fe2c6(0x22bd), + _0x4d3f26 = _0x1e7d08(_0x4fe2c6(0x1588)), + _0x265ec7 = _0x1e7d08(_0x4fe2c6(0x1c5c)), + _0x15458f = _0x1e7d08(_0x4fe2c6(0x1bbf)), + _0x285303 = _0x1e7d08(_0x4fe2c6(0x1444)), + _0x3338d5 = _0x4fe2c6(0x24b7), + _0x119026 = _0x4fe2c6(0x134d); + class _0x1f6cb7 extends _0x119026[_0x153668(0x334) + 't'] { + constructor() { + const _0xe47ee9 = _0x153668; + super(...arguments), this['name'] = _0xe47ee9(0x3b5), this[_0xe47ee9(0x6f1)] = new Map(), this[_0xe47ee9(0x2de)] = 0x0, this[_0xe47ee9(0x371)] = !0x1, this[_0xe47ee9(0x2fc)] = new _0x15458f[(_0xe47ee9(0x395))](this, _0x3338d5['AD'][_0xe47ee9(0x3d9)], 0x1e), this[_0xe47ee9(0x1cb)] = new _0x15458f[(_0xe47ee9(0x395))](this, _0x3338d5['AD'][_0xe47ee9(0x23e)], 0x1e); + } [_0x153668(0x78f)](_0x17eced) { + return new Promise(async (_0x3120e6, _0x5bd5fc) => { + const _0x5f4b49 = _0xb80e, + _0x2db741 = null == _0x598523['default']['hostnames'][_0x4d3f26['default'][_0x5f4b49(0x42f)]] ? 0x8 : _0x598523[_0x5f4b49(0x395)][_0x5f4b49(0x43f)][_0x4d3f26[_0x5f4b49(0x395)]['referrer']], + _0x2be576 = _0x598523[_0x5f4b49(0x395)]['pubs'][_0x2db741]; + _0x4d3f26[_0x5f4b49(0x395)][_0x5f4b49(0x80a)] != _0x33ec50[_0x5f4b49(0x32f)]['OTHER'] && 0x8 != _0x2db741 || _0x265ec7[_0x5f4b49(0x395)][_0x5f4b49(0x1e1)](_0x5f4b49(0x723) + _0x5f4b49(0x5a1)), _0x5846b8[_0x5f4b49(0x395)][_0x5f4b49(0x199)][_0x5f4b49(0x2de)] && (_0x265ec7['default'][_0x5f4b49(0x1e1)]('USE AFCCON' + _0x5f4b49(0x782) + 'L', _0x5846b8[_0x5f4b49(0x395)][_0x5f4b49(0x199)][_0x5f4b49(0x2de)]), _0x2be576['channel'] = _0x5846b8['default']['afcConfig'][_0x5f4b49(0x2de)], _0x2be576['mchannel'] = _0x5846b8[_0x5f4b49(0x395)][_0x5f4b49(0x199)][_0x5f4b49(0x2de)]), this['attributes']['set']('data-ad-cl' + _0x5f4b49(0x5ff), _0x5f4b49(0x42a) + _0x5f4b49(0x623) + _0x5f4b49(0x683)), this[_0x5f4b49(0x6f1)][_0x5f4b49(0x5b7)](_0x5f4b49(0x492) + _0x5f4b49(0x66b), _0x2be576['channel']), _0x4d3f26['default']['os'] != _0x33ec50['OS']['PC'] && void 0x0 !== _0x2be576[_0x5f4b49(0x5b3)] && this['attributes'][_0x5f4b49(0x5b7)](_0x5f4b49(0x492) + 'annel', _0x2be576['mchannel']), this[_0x5f4b49(0x6f1)][_0x5f4b49(0x5b7)](_0x5f4b49(0x77e) + _0x5f4b49(0x5aa) + 'nt', _0x5f4b49(0x868)), _0x4d3f26['default'][_0x5f4b49(0x80a)] == _0x33ec50['ENV'][_0x5f4b49(0x79a)] && (_0x265ec7[_0x5f4b49(0x395)][_0x5f4b49(0x1e1)]('debugOpen ' + _0x5f4b49(0x268) + _0x5f4b49(0x842) + 'lse, set t' + 'o True bec' + 'ause the g' + _0x5f4b49(0x326) + _0x5f4b49(0x896) + 'st on ' + _0x2be576[_0x5f4b49(0x1ab)]), this[_0x5f4b49(0x6f1)]['set'](_0x5f4b49(0x6b3) + _0x5f4b49(0x3fe), 'on')); + const _0x62bf3b = document['createElem' + _0x5f4b49(0x871)](_0x5f4b49(0x1bb)); + _0x62bf3b[_0x5f4b49(0x7ae)] = !0x0; + for (const [_0x5daa81, _0x392254] of this[_0x5f4b49(0x6f1)][_0x5f4b49(0x541)]()) _0x265ec7[_0x5f4b49(0x395)][_0x5f4b49(0x1e1)](_0x5daa81, _0x392254), _0x62bf3b[_0x5f4b49(0x1eb) + 'te'](_0x5daa81, _0x392254); + _0x62bf3b[_0x5f4b49(0x303)] = () => { + const _0x5d0077 = _0x5f4b49; + window['adsbygoogl' + 'e'] = window[_0x5d0077(0x2e7) + 'e'] || [], window[_0x5d0077(0x862)] = window[_0x5d0077(0x862)] || function (_0x6b1116) { + const _0x470f8c = _0x5d0077; + window[_0x470f8c(0x2e7) + 'e'][_0x470f8c(0x2c4)](_0x6b1116); + }, window[_0x5d0077(0x2e5)] = window[_0x5d0077(0x2e5)] || function (_0x18fa41) { + const _0x358103 = _0x5d0077; + window['adsbygoogl' + 'e'][_0x358103(0x2c4)](_0x18fa41); + }, window[_0x5d0077(0x2e5)]({ + 'preloadAdBreaks': 'on', + 'onReady': _0xd53a64 => { + const _0x53d9de = _0x5d0077; + this[_0x53d9de(0x371)] = !0x0, _0x265ec7[_0x53d9de(0x395)][_0x53d9de(0x1e1)](this[_0x53d9de(0x1ab)] + _0x53d9de(0x7c2)), this[_0x53d9de(0x3d9)](), _0x17eced['complete'] && (_0x17eced['complete'](), _0x17eced[_0x53d9de(0x1bc)] = null); + } + }), _0x3120e6(!0x0); + }, _0x62bf3b[_0x5f4b49(0x382)] = function () { + const _0x3e7255 = _0x5f4b49; + _0x265ec7[_0x3e7255(0x395)][_0x3e7255(0x7db)](_0x3e7255(0x6e9) + _0x3e7255(0x6b8)), _0x5bd5fc(_0x3e7255(0x6e9) + 'rror'); + }, _0x62bf3b[_0x5f4b49(0x318)] = _0x5f4b49(0x46a) + 'gead2.goog' + 'lesyndicat' + 'ion.com/pa' + _0x5f4b49(0x5c2) + 'sbygoogle.' + 'js', document[_0x5f4b49(0x451)][_0x5f4b49(0x76a) + 'd'](_0x62bf3b), _0x208738[_0x5f4b49(0x395)][_0x5f4b49(0x610) + 'e']()['on'](_0x3338d5[_0x5f4b49(0x80e)][_0x5f4b49(0x1f2) + 'e'], this, _0x5116f7 => { + const _0x529eea = _0x5f4b49; + switch (_0x5116f7[_0x529eea(0x836)]) { + case _0x3338d5['AD']['reward']: + break; + case _0x3338d5['AD']['int']: + _0x529eea(0x2a5) == _0x5116f7['data'][_0x529eea(0x64a) + 's'] && (this[_0x529eea(0x1cb)][_0x529eea(0x70b)] = this[_0x529eea(0x1cb)][_0x529eea(0x894)]); + } + }); + }); + } [_0x153668(0x4c8) + _0x153668(0x84e)](_0x5ac323) { + return new Promise((_0x893d9f, _0x5ca572) => { + const _0x551744 = _0xb80e; + if (_0x5ac323[_0x551744(0x3ab)] = _0x893d9f, this[_0x551744(0x1cb)][_0x551744(0x78f)](_0x5ac323), _0x265ec7['default'][_0x551744(0x1e1)](_0x551744(0x547) + _0x551744(0x20c) + 'stitial AD', this[_0x551744(0x1cb)][_0x551744(0x65d)]), this[_0x551744(0x1cb)][_0x551744(0x70b)] > 0x0) return this[_0x551744(0x1cb)][_0x551744(0x21e) + 'Ad'](), setTimeout(() => { + const _0x2c08d0 = _0x551744; + this[_0x2c08d0(0x1cb)][_0x2c08d0(0x5e2) + 'd'](), this[_0x2c08d0(0x1cb)][_0x2c08d0(0x1f2) + 'e']({ + 'breakStatus': 'less-than-' + _0x2c08d0(0x697) + this['iConfig'][_0x2c08d0(0x70b)] + }), this[_0x2c08d0(0x1cb)][_0x2c08d0(0x3ab)]({ + 'breakStatus': _0x3338d5[_0x2c08d0(0x648) + 's']['frequencyC' + _0x2c08d0(0x1be)] + }); + }, 0x64), void _0x265ec7[_0x551744(0x395)][_0x551744(0x1e1)]('requesting' + ' Interstit' + _0x551744(0x80f) + _0x551744(0x23d) + _0x551744(0x355) + ':', this[_0x551744(0x1cb)]['duration']); + _0x265ec7['default'][_0x551744(0x41c) + 'g'](), clearTimeout(this[_0x551744(0x1cb)][_0x551744(0x6de)]), this[_0x551744(0x1cb)][_0x551744(0x6de)] = setTimeout(() => { + const _0x41f9e2 = _0x551744; + this[_0x41f9e2(0x1cb)][_0x41f9e2(0x21e) + 'Ad'](), this[_0x41f9e2(0x1cb)]['afterShowA' + 'd'](), this[_0x41f9e2(0x1cb)][_0x41f9e2(0x1f2) + 'e']({ + 'breakStatus': _0x41f9e2(0x797) + }), this['iConfig']['finally']({ + 'breakStatus': _0x3338d5['BreakStatu' + 's']['timeout'] + }); + }, _0x285303[_0x551744(0x395)][_0x551744(0x274) + _0x551744(0x1e8)]); + const _0x205d0b = this[_0x551744(0x371)] ? 0x0 == this['iConfig'][_0x551744(0x65d)] ? _0x551744(0x292) : _0x551744(0x565) : _0x551744(0x292); + switch (_0x205d0b) { + case _0x551744(0x292): + this['iConfig'][_0x551744(0x21e) + 'Ad'](), adBreak({ + 'type': _0x205d0b, + 'name': _0x551744(0x2d0), + 'adBreakDone': _0x1e440a => { + const _0x1060d4 = _0x551744; + this['iConfig'][_0x1060d4(0x5e2) + 'd'](), this['iConfig'][_0x1060d4(0x1f2) + 'e'](_0x1e440a), this[_0x1060d4(0x1cb)][_0x1060d4(0x3ab)]({ + 'breakStatus': _0x1e440a['breakStatu' + 's'] + }); + } + }); + break; + case _0x551744(0x565): + adBreak({ + 'type': _0x205d0b, + 'name': _0x551744(0x2d0), + 'beforeAd': () => { + const _0x4aadf0 = _0x551744; + this[_0x4aadf0(0x1cb)][_0x4aadf0(0x21e) + 'Ad'](); + }, + 'afterAd': this[_0x551744(0x1cb)][_0x551744(0x5e2) + 'd'][_0x551744(0x570)](this[_0x551744(0x1cb)]), + 'adBreakDone': _0x55ee0b => { + const _0x27e08c = _0x551744; + this[_0x27e08c(0x1cb)][_0x27e08c(0x1f2) + 'e'](_0x55ee0b), this[_0x27e08c(0x1cb)][_0x27e08c(0x3ab)]({ + 'breakStatus': _0x55ee0b[_0x27e08c(0x64a) + 's'] + }); + } + }); + } + return !0x0; + }); + } + get[_0x153668(0x64e) + 'y']() { + const _0x152f94 = _0x153668; + return !!this[_0x152f94(0x371)] && this[_0x152f94(0x2fc)][_0x152f94(0x64e) + 'y']; + } [_0x153668(0x1c3)](_0x1ae20d) { + return new Promise((_0x3f6b7e, _0x11adbc) => { + const _0x54211c = _0xb80e; + _0x265ec7[_0x54211c(0x395)][_0x54211c(0x1e1)](_0x54211c(0x547) + _0x54211c(0x2e3) + _0x54211c(0x389)), _0x1ae20d[_0x54211c(0x3ab)] = _0x3f6b7e, this[_0x54211c(0x2fc)]['init'](_0x1ae20d), this[_0x54211c(0x2fc)][_0x54211c(0x64e) + 'y'] || this['rConfig'][_0x54211c(0x3ab)]({ + 'breakStatus': _0x3338d5[_0x54211c(0x648) + 's']['rewardUnpr' + _0x54211c(0x7ff)] + }), _0x265ec7[_0x54211c(0x395)]['showLoadin' + 'g'](), this[_0x54211c(0x2fc)][_0x54211c(0x81f)](); + }); + } ['update']() { + const _0x59619d = _0x153668; + this['inited'] && (this[_0x59619d(0x1cb)][_0x59619d(0x87e)](), this[_0x59619d(0x2fc)][_0x59619d(0x87e)]()); + } ['showBanner'](_0x20a67e) {} ['hideBanner'](_0x5b3981) {} ['showSplash'](_0xf977d9) {} [_0x153668(0x496)](_0x142b55) {} [_0x153668(0x3d9)]() { + const _0x19b217 = _0x153668; + this[_0x19b217(0x2fc)][_0x19b217(0x64e) + 'y'] || (_0x265ec7[_0x19b217(0x395)][_0x19b217(0x1e1)](_0x19b217(0x3d8) + 'ward'), adBreak({ + 'type': _0x3338d5['AD'][_0x19b217(0x3d9)], + 'name': _0x3338d5['AD'][_0x19b217(0x3d9)], + 'beforeAd': () => { + const _0x3fd8b6 = _0x19b217; + this[_0x3fd8b6(0x2fc)][_0x3fd8b6(0x21e) + 'Ad'](); + }, + 'afterAd': this[_0x19b217(0x2fc)][_0x19b217(0x5e2) + 'd'][_0x19b217(0x570)](this[_0x19b217(0x2fc)]), + 'beforeReward': this[_0x19b217(0x2fc)][_0x19b217(0x29a) + 'rd'][_0x19b217(0x570)](this[_0x19b217(0x2fc)]), + 'adDismissed': this['rConfig'][_0x19b217(0x6fd) + _0x19b217(0x311)][_0x19b217(0x570)](this[_0x19b217(0x2fc)]), + 'adViewed': () => { + const _0x181fe3 = _0x19b217; + this[_0x181fe3(0x2fc)][_0x181fe3(0x794) + _0x181fe3(0x38a)](); + }, + 'adBreakDone': _0x395e3b => { + const _0x5338a2 = _0x19b217, + _0x112282 = _0x395e3b[_0x5338a2(0x64a) + 's']; + switch (_0x112282) { + case _0x3338d5['BreakStatu' + 's'][_0x5338a2(0x2a5)]: + case _0x3338d5[_0x5338a2(0x648) + 's'][_0x5338a2(0x750)]: + break; + default: + _0x265ec7[_0x5338a2(0x395)][_0x5338a2(0x1e1)](_0x5338a2(0x4d9) + _0x5338a2(0x84f) + _0x5338a2(0x682) + 'atus:', _0x112282); + } + switch (_0x112282) { + case _0x3338d5[_0x5338a2(0x648) + 's'][_0x5338a2(0x2a5)]: + this[_0x5338a2(0x1cb)]['duration'] = this['iConfig'][_0x5338a2(0x894)]; + case _0x3338d5[_0x5338a2(0x648) + 's'][_0x5338a2(0x750)]: + this[_0x5338a2(0x2fc)][_0x5338a2(0x1f2) + 'e'](_0x395e3b), this[_0x5338a2(0x2fc)][_0x5338a2(0x3ab)]({ + 'breakStatus': _0x112282 + }), setTimeout(() => { + const _0x1331ca = _0x5338a2; + this[_0x1331ca(0x3d9)](); + }, 0xfa0); + break; + case _0x3338d5[_0x5338a2(0x648) + 's']['other']: + this['rConfig'][_0x5338a2(0x2c6)] = !0x1; + break; + case _0x3338d5[_0x5338a2(0x648) + 's']['ignored']: + setTimeout(() => { + const _0x27569b = _0x5338a2; + this[_0x27569b(0x3d9)](); + }, 0x2710); + break; + default: + setTimeout(() => { + const _0x1a5f16 = _0x5338a2; + this[_0x1a5f16(0x3d9)](); + }, 0xfa0); + } + } + })); + } + } + _0x76e751['default'] = _0x1f6cb7; + }, + 0x79d: function (_0x36d3d2, _0x418840, _0x3c59ce) { + 'use strict'; + const _0x1075bb = _0xb80e; + var _0x209cb1 = this && this[_0x1075bb(0x343) + _0x1075bb(0x3a7)] || function (_0x293aeb) { + const _0x302142 = _0x1075bb; + return _0x293aeb && _0x293aeb[_0x302142(0x772)] ? _0x293aeb : { + 'default': _0x293aeb + }; + }; + Object[_0x1075bb(0x501) + _0x1075bb(0x6a8)](_0x418840, _0x1075bb(0x772), { + 'value': !0x0 + }); + const _0x358004 = _0x209cb1(_0x3c59ce(0x109)), + _0x496383 = _0x209cb1(_0x3c59ce(0x1657)), + _0x1e7a28 = _0x3c59ce(0x22bd), + _0x49c0ee = _0x209cb1(_0x3c59ce(0x1588)), + _0x4d9e3b = _0x209cb1(_0x3c59ce(0x1c5c)), + _0x27ecbc = _0x209cb1(_0x3c59ce(0x1bbf)), + _0x1ed0e2 = _0x209cb1(_0x3c59ce(0x1444)), + _0x52c9b9 = _0x3c59ce(0x24b7), + _0x10312b = _0x3c59ce(0x134d), + _0x3262dd = _0x209cb1(_0x3c59ce(0x12a7)); + class _0x22f071 extends _0x10312b[_0x1075bb(0x334) + 't'] { + constructor() { + const _0x3852f2 = _0x1075bb; + super(...arguments), this[_0x3852f2(0x1ab)] = 'afg', this[_0x3852f2(0x2de)] = 0x0, this[_0x3852f2(0x371)] = !0x1, this[_0x3852f2(0x2fc)] = new _0x27ecbc[(_0x3852f2(0x395))](this, _0x52c9b9['AD'][_0x3852f2(0x3d9)]), this['iConfig'] = new _0x27ecbc[(_0x3852f2(0x395))](this, _0x52c9b9['AD']['int'], 0x3c), this[_0x3852f2(0x786)] = new _0x3262dd[(_0x3852f2(0x395))](), this[_0x3852f2(0x5a0)] = !0x1, this[_0x3852f2(0x638)] = !0x1, this['ad'] = { + 'type': _0x52c9b9['AD'][_0x3852f2(0x23e)], + 'itmes': [], + 'resize': null, + 'request': null, + 'clear': null, + 'cleaned': !0x1 + }; + } [_0x1075bb(0x78f)](_0x5ebae2) { + return new Promise(async (_0x759eee, _0x3c67b0) => { + const _0x59929b = _0xb80e, + _0x16a519 = () => { + const _0x1a8e6b = _0xb80e, + _0x48abeb = null == _0x496383['default']['hostnames'][_0x49c0ee[_0x1a8e6b(0x395)][_0x1a8e6b(0x42f)]] ? 0x8 : _0x496383[_0x1a8e6b(0x395)][_0x1a8e6b(0x43f)][_0x49c0ee[_0x1a8e6b(0x395)][_0x1a8e6b(0x42f)]], + _0x4c9b93 = _0x496383['default']['pubs'][_0x48abeb]; + _0x49c0ee[_0x1a8e6b(0x395)]['os'] != _0x1e7a28['OS']['PC'] && void 0x0 !== _0x4c9b93[_0x1a8e6b(0x1ed)] ? this['iu'] = _0x4c9b93['miu'] : this['iu'] = _0x4c9b93['iu']; + const _0x4332f6 = document[_0x1a8e6b(0x6ed)] || document[_0x1a8e6b(0x6b9) + _0x1a8e6b(0x5d0)](_0x1a8e6b(0x6ed))[0x0], + _0x570a0a = document[_0x1a8e6b(0x81d) + 'ent'](_0x1a8e6b(0x4c3)); + _0x570a0a['id'] = _0x1a8e6b(0x375) + _0x1a8e6b(0x871), _0x570a0a[_0x1a8e6b(0x622)]['position'] = _0x1a8e6b(0x1b8), _0x570a0a['style'][_0x1a8e6b(0x449)] = '0', _0x570a0a[_0x1a8e6b(0x622)][_0x1a8e6b(0x585)] = '0', _0x570a0a[_0x1a8e6b(0x622)][_0x1a8e6b(0x628)] = '0', _0x570a0a[_0x1a8e6b(0x622)][_0x1a8e6b(0x859)] = '100%', _0x570a0a['style'][_0x1a8e6b(0x696)] = '100%', _0x570a0a[_0x1a8e6b(0x622)][_0x1a8e6b(0x3e6) + _0x1a8e6b(0x742)] = _0x1a8e6b(0x416), _0x570a0a['style'][_0x1a8e6b(0x554)] = '0', _0x570a0a[_0x1a8e6b(0x622)]['transform'] = 'translateX' + _0x1a8e6b(0x485), _0x570a0a['style']['zIndex'] = '-1', _0x4332f6[_0x1a8e6b(0x76a) + 'd'](_0x570a0a); + const _0x2160f1 = document[_0x1a8e6b(0x81d) + _0x1a8e6b(0x871)]('video'); + _0x2160f1['id'] = _0x1a8e6b(0x375) + _0x1a8e6b(0x705), _0x2160f1[_0x1a8e6b(0x622)][_0x1a8e6b(0x67d)] = _0x1a8e6b(0x690), _0x2160f1[_0x1a8e6b(0x622)]['background' + 'Color'] = '#000000', _0x2160f1['style'][_0x1a8e6b(0x585)] = '0', _0x2160f1['style'][_0x1a8e6b(0x628)] = '0', _0x2160f1[_0x1a8e6b(0x622)][_0x1a8e6b(0x859)] = this[_0x1a8e6b(0x832) + 'h'] + 'px', _0x2160f1[_0x1a8e6b(0x622)]['height'] = this[_0x1a8e6b(0x5a8) + 'ht'] + 'px', _0x570a0a[_0x1a8e6b(0x76a) + 'd'](_0x2160f1); + const _0x1da385 = document[_0x1a8e6b(0x81d) + _0x1a8e6b(0x871)](_0x1a8e6b(0x4c3)); + _0x1da385['id'] = _0x1a8e6b(0x375) + _0x1a8e6b(0x839), _0x1da385['style'][_0x1a8e6b(0x67d)] = _0x1a8e6b(0x690), _0x1da385[_0x1a8e6b(0x622)][_0x1a8e6b(0x585)] = '0', _0x1da385[_0x1a8e6b(0x622)][_0x1a8e6b(0x628)] = '0', _0x1da385[_0x1a8e6b(0x622)][_0x1a8e6b(0x859)] = this[_0x1a8e6b(0x832) + 'h'] + 'px', _0x1da385['style'][_0x1a8e6b(0x696)] = this[_0x1a8e6b(0x5a8) + 'ht'] + 'px', _0x570a0a[_0x1a8e6b(0x76a) + 'd'](_0x1da385); + const _0x5ded9a = document['createElem' + 'ent'](_0x1a8e6b(0x4c3)); + _0x5ded9a[_0x1a8e6b(0x622)]['color'] = _0x1a8e6b(0x4f0), _0x5ded9a[_0x1a8e6b(0x622)][_0x1a8e6b(0x67d)] = _0x1a8e6b(0x690), _0x5ded9a[_0x1a8e6b(0x622)]['top'] = _0x1a8e6b(0x7c8), _0x5ded9a[_0x1a8e6b(0x622)]['left'] = _0x1a8e6b(0x7c8), _0x5ded9a[_0x1a8e6b(0x65c)] = '', _0x570a0a['appendChil' + 'd'](_0x5ded9a), this[_0x1a8e6b(0x1ca) + 'imeLabel'] = _0x5ded9a; + const _0x42abad = document[_0x1a8e6b(0x81d) + _0x1a8e6b(0x871)]('div'); + _0x42abad[_0x1a8e6b(0x622)][_0x1a8e6b(0x52a)] = _0x1a8e6b(0x884), _0x42abad[_0x1a8e6b(0x622)]['fontFamily'] = _0x1a8e6b(0x7d3), _0x42abad[_0x1a8e6b(0x622)][_0x1a8e6b(0x67d)] = 'absolute', _0x42abad[_0x1a8e6b(0x622)][_0x1a8e6b(0x7b6)] = _0x1a8e6b(0x329), _0x42abad[_0x1a8e6b(0x622)][_0x1a8e6b(0x888)] = _0x1a8e6b(0x558), _0x42abad['style'][_0x1a8e6b(0x883)] = _0x1a8e6b(0x6ab), _0x42abad[_0x1a8e6b(0x622)][_0x1a8e6b(0x2f6) + 't'] = '5px', _0x42abad[_0x1a8e6b(0x622)][_0x1a8e6b(0x44f) + 'ht'] = _0x1a8e6b(0x740), _0x42abad['style'][_0x1a8e6b(0x3e6) + 'Color'] = _0x1a8e6b(0x416), _0x42abad[_0x1a8e6b(0x622)]['borderRadi' + 'us'] = '4px 0 0 4p' + 'x', _0x570a0a[_0x1a8e6b(0x76a) + 'd'](_0x42abad), this[_0x1a8e6b(0x446)] = _0x42abad, this[_0x1a8e6b(0x446)]['style'][_0x1a8e6b(0x30a)] = 'none'; + const _0x56d731 = document[_0x1a8e6b(0x81d) + 'ent'](_0x1a8e6b(0x4c3)); + _0x56d731[_0x1a8e6b(0x622)][_0x1a8e6b(0x859)] = _0x1a8e6b(0x329), _0x56d731[_0x1a8e6b(0x622)][_0x1a8e6b(0x7be)] = _0x1a8e6b(0x45e), _0x56d731[_0x1a8e6b(0x622)][_0x1a8e6b(0x696)] = '40px', _0x56d731['style'][_0x1a8e6b(0x399)] = _0x1a8e6b(0x4a1), _0x56d731[_0x1a8e6b(0x622)]['fontSize'] = '16px', _0x56d731[_0x1a8e6b(0x622)][_0x1a8e6b(0x6a7)] = 'sans-serif', _0x56d731[_0x1a8e6b(0x622)][_0x1a8e6b(0x54a) + 'us'] = _0x1a8e6b(0x73f) + 'x', _0x56d731['style']['border'] = '1px solid ' + 'rgba(255,2' + _0x1a8e6b(0x450), _0x56d731['style'][_0x1a8e6b(0x67d)] = _0x1a8e6b(0x690), _0x56d731[_0x1a8e6b(0x622)][_0x1a8e6b(0x7b6)] = _0x1a8e6b(0x1c9), _0x56d731[_0x1a8e6b(0x622)][_0x1a8e6b(0x3e6) + _0x1a8e6b(0x742)] = _0x1a8e6b(0x416), _0x56d731['style'][_0x1a8e6b(0x888)] = '0', _0x56d731[_0x1a8e6b(0x622)][_0x1a8e6b(0x5a6)] = _0x1a8e6b(0x790), _0x56d731[_0x1a8e6b(0x622)][_0x1a8e6b(0x883)] = _0x1a8e6b(0x6ab), _0x56d731[_0x1a8e6b(0x1d1)] = () => { + const _0x4a4e0d = _0x1a8e6b; + _0x4a4e0d(0x22e) == this['skipButton'][_0x4a4e0d(0x65c)] && (this['ad'][_0x4a4e0d(0x5cf)](), this[_0x4a4e0d(0x786)][_0x4a4e0d(0x7a6)]()); + }; + const _0x10da21 = this[_0x1a8e6b(0x832) + 'h'] / this[_0x1a8e6b(0x5a8) + 'ht']; + this['skipLabel'][_0x1a8e6b(0x622)]['bottom'] = _0x10da21 < 0.359 ? _0x1a8e6b(0x560) : _0x10da21 < 0.573 ? '125px' : _0x10da21 < 0x1 ? _0x1a8e6b(0x329) : _0x1a8e6b(0x3ef), _0x570a0a[_0x1a8e6b(0x76a) + 'd'](_0x56d731), this[_0x1a8e6b(0x462)] = _0x56d731, this['ad']['itmes'][_0x1a8e6b(0x2c4)](_0x1da385), this['ad'][_0x1a8e6b(0x4f8)]['push'](_0x2160f1); + const _0x561179 = new google[(_0x1a8e6b(0x578))][(_0x1a8e6b(0x65e)) + (_0x1a8e6b(0x3f9))](_0x1da385, _0x2160f1); + _0x561179[_0x1a8e6b(0x2ae)](), this['mgr'][_0x1a8e6b(0x4e9)][_0x1a8e6b(0x834)]('afg', _0x540762 => { + const _0xabfd8 = _0x1a8e6b; + switch (this[_0xabfd8(0x638)] = !0x1, _0x570a0a[_0xabfd8(0x622)][_0xabfd8(0x865)] = 'translateX' + _0xabfd8(0x485), _0x570a0a['style'][_0xabfd8(0x449)] = '-1', clearTimeout(this[_0xabfd8(0x6de)]), _0x4d9e3b['default']['hideLoadin' + 'g'](), this[_0xabfd8(0x28d)]) { + case _0x52c9b9['AD']['int']: + this[_0xabfd8(0x1cb)]['finally']({ + 'breakStatus': _0x52c9b9[_0xabfd8(0x648) + 's'][_0xabfd8(0x4e9)] + }); + break; + case _0x52c9b9['AD'][_0xabfd8(0x3d9)]: + this[_0xabfd8(0x2fc)][_0xabfd8(0x3ab)]({ + 'breakStatus': _0x52c9b9[_0xabfd8(0x648) + 's'][_0xabfd8(0x4e9)] + }); + } + }), this['mgr'][_0x1a8e6b(0x7b5)][_0x1a8e6b(0x834)]('loaded', _0x50bd58 => { + const _0x2390f8 = _0x1a8e6b; + this[_0x2390f8(0x638)] = !0x0, clearTimeout(this['tid']), _0x50bd58['getAd'](); + const _0x5a88d4 = _0x50bd58[_0x2390f8(0x1e0)](); + _0x4d9e3b[_0x2390f8(0x395)][_0x2390f8(0x1e1)](_0x2390f8(0x48a) + _0x2390f8(0x251), _0x5a88d4), this[_0x2390f8(0x5a0)] = !!_0x5a88d4[_0x2390f8(0x5a0)], this[_0x2390f8(0x446)][_0x2390f8(0x622)][_0x2390f8(0x30a)] = _0x2390f8(0x3b6), this[_0x2390f8(0x462)][_0x2390f8(0x622)][_0x2390f8(0x30a)] = _0x2390f8(0x3b6), this[_0x2390f8(0x28d)] === _0x52c9b9['AD'][_0x2390f8(0x23e)] ? this[_0x2390f8(0x1cb)]['beforeShow' + 'Ad']() : this['rConfig']['beforeShow' + 'Ad'](); + }), this[_0x1a8e6b(0x786)]['started'][_0x1a8e6b(0x834)](_0x1a8e6b(0x3fd), _0x358dcb => { + const _0x23b07e = _0x1a8e6b; + clearTimeout(this[_0x23b07e(0x6de)]), _0x4d9e3b[_0x23b07e(0x395)][_0x23b07e(0x70c) + 'g'](), _0x570a0a[_0x23b07e(0x622)][_0x23b07e(0x865)] = _0x23b07e(0x3a2) + _0x23b07e(0x4bd), _0x570a0a['style'][_0x23b07e(0x449)] = '99', setTimeout(() => { + const _0x48205f = _0x23b07e; + _0x570a0a['style'][_0x48205f(0x554)] = '1'; + }, 0xa); + }), this[_0x1a8e6b(0x786)]['complete'][_0x1a8e6b(0x834)](_0x1a8e6b(0x1bc), _0x28de4a => { + const _0x495642 = _0x1a8e6b; + this[_0x495642(0x638)] = !0x1, _0x4d9e3b[_0x495642(0x395)][_0x495642(0x1e1)]('afc comple' + 'te '), this['format'] === _0x52c9b9['AD'][_0x495642(0x23e)] ? (this[_0x495642(0x1cb)][_0x495642(0x5e2) + 'd'](), this['iConfig']['adBreakDon' + 'e']({ + 'breakStatus': _0x52c9b9[_0x495642(0x648) + 's'][_0x495642(0x2a5)] + }), this[_0x495642(0x1cb)][_0x495642(0x3ab)]({ + 'breakStatus': _0x52c9b9['BreakStatu' + 's'][_0x495642(0x2a5)] + })) : (this[_0x495642(0x1cb)]['duration'] = this[_0x495642(0x1cb)][_0x495642(0x894)], this['rConfig']['rewardComp' + _0x495642(0x38a)](), this[_0x495642(0x2fc)][_0x495642(0x5e2) + 'd'](), this[_0x495642(0x2fc)]['adBreakDon' + 'e']({ + 'breakStatus': _0x52c9b9['BreakStatu' + 's'][_0x495642(0x2a5)] + }), this['rConfig'][_0x495642(0x3ab)]({ + 'breakStatus': _0x52c9b9[_0x495642(0x648) + 's']['viewed'] + })), _0x2160f1['src'] = '', _0x570a0a[_0x495642(0x622)][_0x495642(0x554)] = '0', setTimeout(() => { + const _0x392672 = _0x495642; + _0x570a0a['style'][_0x392672(0x865)] = _0x392672(0x3a2) + '(-9999px)', _0x570a0a[_0x392672(0x622)][_0x392672(0x449)] = '-1'; + }, 0xa); + }), this[_0x1a8e6b(0x786)][_0x1a8e6b(0x725)][_0x1a8e6b(0x834)](_0x1a8e6b(0x725), _0x5e57a8 => { + const _0x2b90cc = _0x1a8e6b; + if (this[_0x2b90cc(0x638)] = !0x1, this[_0x2b90cc(0x28d)] === _0x52c9b9['AD'][_0x2b90cc(0x23e)]) this[_0x2b90cc(0x1cb)][_0x2b90cc(0x5e2) + 'd'](), this[_0x2b90cc(0x1cb)][_0x2b90cc(0x1f2) + 'e']({ + 'breakStatus': _0x2b90cc(0x2a5) + }), this[_0x2b90cc(0x1cb)][_0x2b90cc(0x3ab)]({ + 'breakStatus': _0x52c9b9['BreakStatu' + 's'][_0x2b90cc(0x2a5)] + }); + else { + const _0x4e5086 = Math[_0x2b90cc(0x649)](0x0, _0x1ed0e2[_0x2b90cc(0x395)][_0x2b90cc(0x5be) + '_SKIP_DURA' + _0x2b90cc(0x838)] - this[_0x2b90cc(0x786)][_0x2b90cc(0x895) + 'set']()); + this[_0x2b90cc(0x786)][_0x2b90cc(0x5a0)], 0x0 == _0x4e5086 ? (this[_0x2b90cc(0x2fc)]['rewardComp' + 'lete'](), this[_0x2b90cc(0x2fc)][_0x2b90cc(0x5e2) + 'd'](), this[_0x2b90cc(0x2fc)][_0x2b90cc(0x1f2) + 'e']({ + 'breakStatus': _0x52c9b9['BreakStatu' + 's']['viewed'] + }), this[_0x2b90cc(0x2fc)][_0x2b90cc(0x3ab)]({ + 'breakStatus': _0x52c9b9[_0x2b90cc(0x648) + 's'][_0x2b90cc(0x2a5)] + })) : (this[_0x2b90cc(0x2fc)][_0x2b90cc(0x6fd) + _0x2b90cc(0x311)](), this[_0x2b90cc(0x2fc)][_0x2b90cc(0x5e2) + 'd'](), this[_0x2b90cc(0x2fc)][_0x2b90cc(0x1f2) + 'e']({ + 'breakStatus': _0x52c9b9[_0x2b90cc(0x648) + 's'][_0x2b90cc(0x60d)] + }), this[_0x2b90cc(0x2fc)][_0x2b90cc(0x3ab)]({ + 'breakStatus': _0x52c9b9[_0x2b90cc(0x648) + 's'][_0x2b90cc(0x60d)] + })); + } + _0x2160f1[_0x2b90cc(0x318)] = '', _0x570a0a[_0x2b90cc(0x622)][_0x2b90cc(0x554)] = '0', setTimeout(() => { + const _0x3258ac = _0x2b90cc; + _0x570a0a[_0x3258ac(0x622)]['transform'] = _0x3258ac(0x3a2) + '(-9999px)', _0x570a0a[_0x3258ac(0x622)][_0x3258ac(0x449)] = '-1'; + }, 0xa); + }); + const _0x4be7d6 = new google[(_0x1a8e6b(0x578))]['AdsLoader'](_0x561179); + _0x4be7d6[_0x1a8e6b(0x77f) + 'stener'](google[_0x1a8e6b(0x578)][_0x1a8e6b(0x33d) + _0x1a8e6b(0x350) + 't'][_0x1a8e6b(0x654)][_0x1a8e6b(0x57b) + 'R_LOADED'], _0x432b35 => { + const _0x5048da = _0x1a8e6b, + _0x2f55b4 = _0x432b35[_0x5048da(0x6cf) + _0x5048da(0x50e)](_0x2160f1); + console['log'](_0x5048da(0x30a), _0x561179, _0x4be7d6, _0x2f55b4), this['mgr'][_0x5048da(0x78f)](_0x2f55b4), this['ad']['cleaned'] && this[_0x5048da(0x786)][_0x5048da(0x71f)](); + }, !0x1), _0x4be7d6[_0x1a8e6b(0x77f) + 'stener'](google[_0x1a8e6b(0x578)][_0x1a8e6b(0x4d6) + 'nt']['Type'][_0x1a8e6b(0x7f6)], _0x2cec67 => { + const _0x2d4f39 = _0x1a8e6b; + this[_0x2d4f39(0x786)]['error'][_0x2d4f39(0x4bc)](_0x2cec67); + }, !0x1), this['ad'][_0x1a8e6b(0x5cf)] = () => { + const _0x29ac3d = _0x1a8e6b; + this['ad'][_0x29ac3d(0x248)] = !0x0, this['mgr'][_0x29ac3d(0x71f)](), _0x4be7d6[_0x29ac3d(0x422) + _0x29ac3d(0x2ef)](), _0x570a0a[_0x29ac3d(0x622)]['transform'] = _0x29ac3d(0x3a2) + _0x29ac3d(0x485), _0x570a0a[_0x29ac3d(0x622)][_0x29ac3d(0x449)] = '-1', _0x4d9e3b[_0x29ac3d(0x395)][_0x29ac3d(0x70c) + 'g'](); + }, this['ad'][_0x1a8e6b(0x36e)] = () => { + const _0x19667c = _0x1a8e6b; + this['ad']['cleaned'] = !0x1, this[_0x19667c(0x786)]['destroy'](), _0x4be7d6['contentCom' + 'plete'](); + let _0x20aa13 = _0x19667c(0x2c2) + _0x19667c(0x196) + _0x19667c(0x44a) + _0x19667c(0x391) + _0x19667c(0x3ca) + _0x19667c(0x1c5) + this['iu'] + (_0x19667c(0x77a) + 'viewed_pos' + _0x19667c(0x2ad) + _0x19667c(0x40e) + _0x19667c(0x25c) + _0x19667c(0x69a) + _0x19667c(0x70d) + _0x19667c(0x2ce) + _0x19667c(0x386) + _0x19667c(0x35b)) + encodeURIComponent(location[_0x19667c(0x827)]); + const _0x49b04c = new google['ima'][(_0x19667c(0x542))](); + _0x358004[_0x19667c(0x395)][_0x19667c(0x461)] && (_0x20aa13 += _0x19667c(0x4a2) + _0x19667c(0x79c) + '3D' + _0x358004[_0x19667c(0x395)]['source']), _0x49b04c['adTagUrl'] = _0x20aa13, _0x49b04c[_0x19667c(0x41b) + 'dSlotWidth'] = this[_0x19667c(0x832) + 'h'], _0x49b04c[_0x19667c(0x41b) + 'dSlotHeigh' + 't'] = this[_0x19667c(0x5a8) + 'ht'], _0x49b04c['linearAdSl' + _0x19667c(0x6f6)] = this[_0x19667c(0x832) + 'h'], _0x49b04c[_0x19667c(0x78c) + _0x19667c(0x6f6)] = this[_0x19667c(0x5a8) + 'ht'], _0x49b04c['forceNonLi' + _0x19667c(0x535) + 'ot'] = !0x0, _0x49b04c[_0x19667c(0x4c9) + _0x19667c(0x724)](!0x1), _0x49b04c['setAdWillP' + _0x19667c(0x651)](!0x1), _0x4be7d6[_0x19667c(0x4fc)](_0x49b04c); + }, window[_0x1a8e6b(0x77f) + _0x1a8e6b(0x564)](_0x1a8e6b(0x881), () => { + const _0x1d2b1e = _0x1a8e6b; + this['ad']['itmes'][_0x1d2b1e(0x2b2)](_0x17792d => { + const _0x29386d = _0x1d2b1e; + _0x17792d[_0x29386d(0x622)]['width'] = this[_0x29386d(0x832) + 'h'] + 'px', _0x17792d[_0x29386d(0x622)][_0x29386d(0x696)] = this[_0x29386d(0x5a8) + 'ht'] + 'px'; + }), this['mgr'][_0x1d2b1e(0x881)](); + const _0x3896fb = this[_0x1d2b1e(0x832) + 'h'] / this['clientHeig' + 'ht']; + this[_0x1d2b1e(0x446)]['style'][_0x1d2b1e(0x7b6)] = _0x3896fb < 0.359 ? '120px' : _0x3896fb < 0.573 ? _0x1d2b1e(0x858) : _0x3896fb < 0x1 ? _0x1d2b1e(0x329) : _0x1d2b1e(0x3ef); + }), this[_0x1a8e6b(0x371)] = !0x0; + }, + _0x138848 = document[_0x59929b(0x81d) + _0x59929b(0x871)](_0x59929b(0x1bb)); + _0x138848[_0x59929b(0x303)] = () => { + const _0x5e5bc3 = _0x59929b; + _0x16a519(), _0x4d9e3b[_0x5e5bc3(0x395)]['trace'](this[_0x5e5bc3(0x1ab)], _0x5e5bc3(0x371)), _0x759eee(!0x0); + }, _0x138848[_0x59929b(0x382)] = () => { + _0x3c67b0(); + }, _0x138848[_0x59929b(0x836)] = _0x59929b(0x54e) + _0x59929b(0x3da), _0x138848[_0x59929b(0x7ae)] = !0x0, _0x138848['src'] = _0x59929b(0x4f2) + _0x59929b(0x3d1) + _0x59929b(0x42d) + _0x59929b(0x38b) + _0x59929b(0x3b9), _0x138848['id'] = _0x59929b(0x3b5), document[_0x59929b(0x451)][_0x59929b(0x76a) + 'd'](_0x138848); + }); + } [_0x1075bb(0x4c8) + _0x1075bb(0x84e)](_0x2a7120) { + return new Promise((_0x151fb1, _0x2fe983) => { + const _0x4051c2 = _0xb80e; + if (this['isOpening']) return _0x4d9e3b['default'][_0x4051c2(0x1e1)](_0x4051c2(0x21b) + 'titial AD ' + _0x4051c2(0x7c6)), void _0x151fb1({ + 'breakStatus': _0x52c9b9[_0x4051c2(0x648) + 's'][_0x4051c2(0x7ce)] + }); + if ('function' == typeof _0x2a7120) { + const _0x1d4d0d = _0x2a7120; + _0x2a7120 = { + 'beforeShowAd': new Function(), + 'afterShowAd': _0x1d4d0d + }; + } + if (_0x2a7120['finally'] = _0x151fb1, this['iConfig']['init'](_0x2a7120), console[_0x4051c2(0x7ec)], this['format'] = _0x52c9b9['AD'][_0x4051c2(0x23e)], _0x4d9e3b[_0x4051c2(0x395)]['trace']('requesting' + _0x4051c2(0x7b7) + 'stitial AD'), this[_0x4051c2(0x1cb)]['duration'] > 0x0) return this[_0x4051c2(0x1cb)][_0x4051c2(0x21e) + 'Ad'](), this[_0x4051c2(0x1cb)][_0x4051c2(0x5e2) + 'd'](), this[_0x4051c2(0x1cb)][_0x4051c2(0x1f2) + 'e']({ + 'breakStatus': _0x4051c2(0x85a) + this[_0x4051c2(0x1cb)][_0x4051c2(0x894)] + 's-' + this[_0x4051c2(0x1cb)][_0x4051c2(0x70b)] + }), void this[_0x4051c2(0x1cb)][_0x4051c2(0x3ab)]({ + 'breakStatus': _0x52c9b9['BreakStatu' + 's']['frequencyC' + _0x4051c2(0x1be)] + }); + _0x4d9e3b[_0x4051c2(0x395)][_0x4051c2(0x41c) + 'g'](); + try { + clearTimeout(this[_0x4051c2(0x6de)]), this[_0x4051c2(0x6de)] = setTimeout(() => { + const _0x1a2736 = _0x4051c2; + _0x4d9e3b[_0x1a2736(0x395)]['hideLoadin' + 'g'](), this[_0x1a2736(0x1cb)]['finally']({ + 'breakStatus': _0x52c9b9['BreakStatu' + 's'][_0x1a2736(0x797)] + }), this['ad'][_0x1a2736(0x5cf)](); + }, _0x1ed0e2[_0x4051c2(0x395)][_0x4051c2(0x2b5) + _0x4051c2(0x1e8)]), this['ad'][_0x4051c2(0x36e)](_0x4051c2(0x4e0) + _0x4051c2(0x373)); + } catch (_0x410f62) { + throw _0x4d9e3b[_0x4051c2(0x395)][_0x4051c2(0x70c) + 'g'](), new Error(_0x410f62); + } + }); + } + get[_0x1075bb(0x64e) + 'y']() { + return !0x0; + } [_0x1075bb(0x1c3)](_0x1ee61a) { + return new Promise((_0x15ac12, _0x4a5a48) => { + const _0x263ff3 = _0xb80e; + if ('function' == typeof _0x1ee61a) { + const _0x4f9128 = _0x1ee61a; + _0x1ee61a = { + 'beforeShowAd': new Function(), + 'rewardComplete': _0x4f9128 + }; + } + _0x1ee61a['finally'] = _0x15ac12, this[_0x263ff3(0x2fc)]['init'](_0x1ee61a), this['format'] = _0x52c9b9['AD']['reward'], _0x4d9e3b['default']['trace'](_0x263ff3(0x547) + _0x263ff3(0x528) + _0x263ff3(0x389)), _0x4d9e3b[_0x263ff3(0x395)]['showLoadin' + 'g'](); + try { + clearTimeout(this['tid']), this[_0x263ff3(0x6de)] = setTimeout(() => { + const _0x3cb0a7 = _0x263ff3; + _0x4d9e3b[_0x3cb0a7(0x395)][_0x3cb0a7(0x70c) + 'g'](), this['ad'][_0x3cb0a7(0x5cf)](), this['rConfig']['beforeShow' + 'Ad'](), this[_0x3cb0a7(0x2fc)][_0x3cb0a7(0x5e2) + 'd'](), this[_0x3cb0a7(0x2fc)][_0x3cb0a7(0x1f2) + 'e']({ + 'breakStatus': _0x52c9b9[_0x3cb0a7(0x648) + 's'][_0x3cb0a7(0x797)] + }), this[_0x3cb0a7(0x2fc)][_0x3cb0a7(0x3ab)]({ + 'breakStatus': _0x52c9b9[_0x3cb0a7(0x648) + 's'][_0x3cb0a7(0x797)] + }), this[_0x3cb0a7(0x853)](_0x52c9b9[_0x3cb0a7(0x80e)][_0x3cb0a7(0x1f2) + 'e'], { + 'breakStatus': _0x52c9b9[_0x3cb0a7(0x648) + 's'][_0x3cb0a7(0x797)] + }); + }, 0x7d0), this['ad']['request']('VideoAdTyp' + _0x263ff3(0x373)); + } catch (_0x38c138) { + throw _0x4d9e3b[_0x263ff3(0x395)][_0x263ff3(0x70c) + 'g'](), new Error(_0x38c138); + } + return !0x0; + }); + } [_0x1075bb(0x87e)]() { + const _0x26cd26 = _0x1075bb; + if (this['inited'] && (this['iConfig']['update'](), this[_0x26cd26(0x2fc)][_0x26cd26(0x87e)](), this[_0x26cd26(0x786)][_0x26cd26(0x638)])) { + const _0x1d470d = this[_0x26cd26(0x786)]['getTimeOff' + _0x26cd26(0x5b7)](), + _0x32d508 = Math[_0x26cd26(0x39e)](this[_0x26cd26(0x786)][_0x26cd26(0x37c) + _0x26cd26(0x302)]()), + _0x57c7b1 = this['mgr']['getSkipTim' + _0x26cd26(0x76b)](), + _0x247941 = this[_0x26cd26(0x786)]['getFSkipTi' + _0x26cd26(0x7e9)](); + if (this[_0x26cd26(0x1ca) + _0x26cd26(0x47e)]['innerText'] = 0x0 == _0x57c7b1 ? '' + (_0x32d508 > 0x9 ? '' : '0') + _0x32d508 : '', this[_0x26cd26(0x28d)] == _0x52c9b9['AD']['reward']) { + const _0x440f40 = Math[_0x26cd26(0x52e)](_0x1ed0e2[_0x26cd26(0x395)]['AFG_REWARD' + '_SKIP_DURA' + _0x26cd26(0x838)], this[_0x26cd26(0x786)][_0x26cd26(0x280) + 'n']), + _0x1ffa55 = Math[_0x26cd26(0x649)](0x0, _0x440f40 - _0x1d470d); + this[_0x26cd26(0x462)]['innerText'] = _0x26cd26(0x1ee) + _0x1ffa55 + 's', this['mgr'][_0x26cd26(0x5a0)] ? 0x0 == _0x1ffa55 ? this[_0x26cd26(0x446)][_0x26cd26(0x622)][_0x26cd26(0x30a)] = _0x26cd26(0x3b6) : (_0x247941 < 0x1 && (this[_0x26cd26(0x446)][_0x26cd26(0x622)][_0x26cd26(0x30a)] = ''), this[_0x26cd26(0x446)]['innerText'] = _0x26cd26(0x1ee) + _0x1ffa55 + 's') : (this[_0x26cd26(0x462)][_0x26cd26(0x622)][_0x26cd26(0x30a)] = '', 0x0 == _0x1ffa55 && (this['skipButton']['innerText'] = _0x26cd26(0x22e))); + } + if (this['format'] == _0x52c9b9['AD'][_0x26cd26(0x23e)] && !this['mgr'][_0x26cd26(0x5a0)]) { + this[_0x26cd26(0x462)][_0x26cd26(0x622)][_0x26cd26(0x30a)] = ''; + const _0x39f587 = Math[_0x26cd26(0x52e)](_0x1ed0e2['default'][_0x26cd26(0x7a1) + _0x26cd26(0x7cc) + 'N'], this[_0x26cd26(0x786)][_0x26cd26(0x280) + 'n']), + _0x288ae3 = Math[_0x26cd26(0x649)](0x0, _0x39f587 - _0x1d470d); + this[_0x26cd26(0x462)][_0x26cd26(0x65c)] = 0x0 == _0x288ae3 ? _0x26cd26(0x22e) : 'Skip Ad in' + ' ' + _0x288ae3 + 's'; + } + } + } [_0x1075bb(0x309)](_0x58850b) {} ['hideBanner'](_0x156ab7) {} [_0x1075bb(0x64c)](_0x2cf702) {} [_0x1075bb(0x496)](_0x5fb84f) {} + } + _0x418840[_0x1075bb(0x395)] = _0x22f071; + }, + 0x12a7: function (_0x2723f4, _0x5c6d56, _0x11fa8c) { + 'use strict'; + const _0x325b51 = _0xb80e; + var _0x320dfa = this && this[_0x325b51(0x343) + _0x325b51(0x3a7)] || function (_0x29a189) { + const _0x54633a = _0x325b51; + return _0x29a189 && _0x29a189[_0x54633a(0x772)] ? _0x29a189 : { + 'default': _0x29a189 + }; + }; + Object[_0x325b51(0x501) + _0x325b51(0x6a8)](_0x5c6d56, '__esModule', { + 'value': !0x0 + }); + const _0x4c9a5d = _0x11fa8c(0x2505), + _0x13009e = _0x320dfa(_0x11fa8c(0x1c5c)); + _0x5c6d56[_0x325b51(0x395)] = class { + constructor() { + const _0x21f0ff = _0x325b51; + this[_0x21f0ff(0x448)] = !0x1, this[_0x21f0ff(0x638)] = !0x1, this['error'] = new _0x4c9a5d[(_0x21f0ff(0x225))]([_0x21f0ff(0x60f)]), this[_0x21f0ff(0x7b5)] = new _0x4c9a5d[(_0x21f0ff(0x225))]([_0x21f0ff(0x60f)]), this[_0x21f0ff(0x3fd)] = new _0x4c9a5d[(_0x21f0ff(0x225))]([_0x21f0ff(0x60f)]), this[_0x21f0ff(0x1bc)] = new _0x4c9a5d[(_0x21f0ff(0x225))]([_0x21f0ff(0x60f)]), this[_0x21f0ff(0x725)] = new _0x4c9a5d['SyncHook']([_0x21f0ff(0x60f)]), this[_0x21f0ff(0x280) + 'n'] = 0x0, this['maxSkipTim' + _0x21f0ff(0x76b)] = 0x0, this[_0x21f0ff(0x5a0)] = !0x0, this['error']['tap']('mgr', _0x2154f6 => { + const _0x3a622f = _0x21f0ff, + _0x33c6cb = _0x2154f6['getError'](); + _0x13009e['default'][_0x3a622f(0x7db)](_0x3a622f(0x514) + _0x3a622f(0x514) + _0x3a622f(0x514) + _0x3a622f(0x69c) + 'ROR=======' + _0x3a622f(0x514) + _0x3a622f(0x514) + _0x3a622f(0x377)), _0x13009e['default'][_0x3a622f(0x1e1)](_0x3a622f(0x77b), _0x33c6cb[_0x3a622f(0x1c7)]()), _0x13009e[_0x3a622f(0x395)][_0x3a622f(0x1e1)](_0x3a622f(0x285), _0x33c6cb[_0x3a622f(0x2d7)]()), _0x13009e[_0x3a622f(0x395)][_0x3a622f(0x1e1)](_0x3a622f(0x3f3), _0x33c6cb[_0x3a622f(0x7a4) + _0x3a622f(0x719)]()), _0x13009e[_0x3a622f(0x395)][_0x3a622f(0x7db)](_0x3a622f(0x514) + '==========' + _0x3a622f(0x514) + _0x3a622f(0x514) + _0x3a622f(0x514) + _0x3a622f(0x514) + _0x3a622f(0x514) + '====='); + }), this[_0x21f0ff(0x7b5)][_0x21f0ff(0x834)](_0x21f0ff(0x786), _0x26a44b => { + const _0x2536ff = _0x21f0ff; + this[_0x2536ff(0x448)] = !0x0, this['isOpening'] = !0x1; + const _0x4b96ac = _0x26a44b['getAdData'](); + this[_0x2536ff(0x5a0)] = !!_0x4b96ac['skippable'], this[_0x2536ff(0x280) + 'n'] = ~~_0x4b96ac[_0x2536ff(0x70b)], this[_0x2536ff(0x2f8) + _0x2536ff(0x76b)] = ~~_0x4b96ac['skipTimeOf' + _0x2536ff(0x7c3)]; + }), this[_0x21f0ff(0x3fd)]['tap'](_0x21f0ff(0x786), _0x3ce086 => { + const _0x23093e = _0x21f0ff; + this[_0x23093e(0x638)] = !0x0; + }); + } [_0x325b51(0x78f)](_0x4e312a) { + const _0x5bbc57 = _0x325b51; + this[_0x5bbc57(0x71f)](), this[_0x5bbc57(0x3dc)] = _0x4e312a, this[_0x5bbc57(0x3dc)][_0x5bbc57(0x77f) + _0x5bbc57(0x564)](google[_0x5bbc57(0x578)][_0x5bbc57(0x4d6) + 'nt'][_0x5bbc57(0x654)]['AD_ERROR'], _0x3a0d47 => { + const _0xfcb923 = _0x5bbc57; + this[_0xfcb923(0x4e9)][_0xfcb923(0x4bc)](_0x3a0d47); + }), this[_0x5bbc57(0x3dc)][_0x5bbc57(0x77f) + _0x5bbc57(0x564)](google[_0x5bbc57(0x578)][_0x5bbc57(0x80e)][_0x5bbc57(0x654)][_0x5bbc57(0x735)], _0x358eb1 => { + const _0x3a064a = _0x5bbc57; + this[_0x3a064a(0x7b5)]['call'](_0x358eb1); + }), this[_0x5bbc57(0x3dc)][_0x5bbc57(0x77f) + _0x5bbc57(0x564)](google[_0x5bbc57(0x578)]['AdEvent']['Type'][_0x5bbc57(0x4b7)], _0x215ef6 => { + const _0x2918c0 = _0x5bbc57; + this['started'][_0x2918c0(0x4bc)](_0x215ef6); + }), this[_0x5bbc57(0x3dc)]['addEventLi' + _0x5bbc57(0x564)](google[_0x5bbc57(0x578)][_0x5bbc57(0x80e)][_0x5bbc57(0x654)][_0x5bbc57(0x37b)], _0x24b100 => { + const _0x420c92 = _0x5bbc57; + this[_0x420c92(0x1bc)][_0x420c92(0x4bc)](_0x24b100); + }), this[_0x5bbc57(0x3dc)]['addEventLi' + _0x5bbc57(0x564)](google[_0x5bbc57(0x578)]['AdEvent'][_0x5bbc57(0x654)][_0x5bbc57(0x6e2)], _0x5c1a19 => { + const _0x3b96e3 = _0x5bbc57; + this[_0x3b96e3(0x725)][_0x3b96e3(0x4bc)](_0x5c1a19); + }); + try { + this[_0x5bbc57(0x3dc)][_0x5bbc57(0x78f)](this['clientWidt' + 'h'], this['clientHeig' + 'ht'], google[_0x5bbc57(0x578)]['ViewMode']['NORMAL']), this[_0x5bbc57(0x3dc)]['start'](); + } catch (_0x30903f) { + throw _0x30903f; + } + } [_0x325b51(0x71f)]() { + const _0x410ee6 = _0x325b51; + this[_0x410ee6(0x3dc)] && (this['owner'][_0x410ee6(0x71f)](), this['owner'] = null), this[_0x410ee6(0x448)] = !0x1; + } [_0x325b51(0x881)]() { + const _0x106567 = _0x325b51; + this[_0x106567(0x3dc)] && this[_0x106567(0x3dc)]['resize'](this[_0x106567(0x832) + 'h'], this[_0x106567(0x5a8) + 'ht'], google['ima'][_0x106567(0x484)][_0x106567(0x233)]); + } + get[_0x325b51(0x832) + 'h']() { + const _0x2771b4 = _0x325b51; + return window[_0x2771b4(0x39a)] || document[_0x2771b4(0x7a8) + _0x2771b4(0x581)][_0x2771b4(0x832) + 'h'] || document[_0x2771b4(0x6ed)][_0x2771b4(0x832) + 'h']; + } + get[_0x325b51(0x5a8) + 'ht']() { + const _0x2b5953 = _0x325b51; + return window[_0x2b5953(0x710) + 't'] || document['documentEl' + 'ement'][_0x2b5953(0x5a8) + 'ht'] || document[_0x2b5953(0x6ed)]['clientHeig' + 'ht']; + } [_0x325b51(0x7a6)]() { + const _0x502a96 = _0x325b51; + this[_0x502a96(0x725)][_0x502a96(0x4bc)](''); + } [_0x325b51(0x895) + _0x325b51(0x5b7)]() { + const _0x225586 = _0x325b51; + return Math[_0x225586(0x39e)](Math[_0x225586(0x649)](0x0, this[_0x225586(0x280) + 'n'] - this[_0x225586(0x37c) + 'ngTime']())); + } [_0x325b51(0x5cc) + _0x325b51(0x7e9)]() { + const _0x2b6567 = _0x325b51, + _0x23a603 = Math[_0x2b6567(0x649)](0x0, this[_0x2b6567(0x280) + 'n'] - this[_0x2b6567(0x37c) + 'ngTime']()); + return Math[_0x2b6567(0x649)](0x0, this[_0x2b6567(0x2f8) + 'eOffset'] - _0x23a603); + } [_0x325b51(0x738) + _0x325b51(0x6cd)]() { + const _0x57851c = _0x325b51; + return !!this[_0x57851c(0x3dc)] && this[_0x57851c(0x3dc)][_0x57851c(0x738) + _0x57851c(0x6cd)](); + } [_0x325b51(0x442) + 'eOffset']() { + const _0x1b793e = _0x325b51; + return Math[_0x1b793e(0x39e)](Math[_0x1b793e(0x649)](0x0, this[_0x1b793e(0x2f8) + _0x1b793e(0x76b)] - this[_0x1b793e(0x895) + _0x1b793e(0x5b7)]())); + } ['getRemaini' + _0x325b51(0x302)]() { + const _0x2b7891 = _0x325b51; + return this[_0x2b7891(0x3dc)] ? this[_0x2b7891(0x3dc)][_0x2b7891(0x37c) + _0x2b7891(0x302)]() : 0x0; + } + }; + }, + 0x492: function (_0xe62203, _0xb6cb37, _0x56dbfb) { + 'use strict'; + const _0xc8baef = _0xb80e; + var _0x5e9a31 = this && this[_0xc8baef(0x343) + _0xc8baef(0x3a7)] || function (_0x4b5211) { + return _0x4b5211 && _0x4b5211['__esModule'] ? _0x4b5211 : { + 'default': _0x4b5211 + }; + }; + Object['defineProp' + _0xc8baef(0x6a8)](_0xb6cb37, _0xc8baef(0x772), { + 'value': !0x0 + }); + const _0x27ab2c = _0x5e9a31(_0x56dbfb(0x1c97)), + _0xd616f9 = _0x5e9a31(_0x56dbfb(0x1d63)), + _0x673f00 = _0x5e9a31(_0x56dbfb(0xdf3)), + _0x507837 = _0x56dbfb(0x2235), + _0xc49856 = _0x5e9a31(_0x56dbfb(0x92e)), + _0xf8bee4 = _0x5e9a31(_0x56dbfb(0x18b4)), + _0xb50cf5 = _0x56dbfb(0x1b70), + _0x52ecb2 = _0x5e9a31(_0x56dbfb(0x109)), + _0xcfb78f = _0x56dbfb(0xda5), + _0x30408f = _0x5e9a31(_0x56dbfb(0x1c5c)), + _0x643ef1 = _0x5e9a31(_0x56dbfb(0x1588)), + _0x2761fd = _0x56dbfb(0x22bd), + _0x4f43cc = _0x5e9a31(_0x56dbfb(0x4e)), + _0x59599b = _0x5e9a31(_0x56dbfb(0x1c4e)); + class _0x5316e4 extends _0x507837[_0xc8baef(0x327)] { + constructor() { + const _0x4e6661 = _0xc8baef; + super(...arguments), this[_0x4e6661(0x371)] = !0x1, this[_0x4e6661(0x423)] = '', this[_0x4e6661(0x639) + 'e'] = !0x1, this[_0x4e6661(0x237) + _0x4e6661(0x57d)] = {}, this[_0x4e6661(0x6de)] = -0x1; + } + async ['init'](_0x4e830f, _0x5ad29a) { + const _0x72ecdf = _0xc8baef; + if (this['inited']) return; + this['inited'] = !0x0; + + const _0x4a18b6 = document['getElement' + _0x72ecdf(0x312)](_0x72ecdf(0x498)); + _0x4a18b6 && (_0x4a18b6[_0x72ecdf(0x77f) + _0x72ecdf(0x564)](_0x72ecdf(0x45f), this[_0x72ecdf(0x64b)][_0x72ecdf(0x570)](this)), _0x4a18b6['addEventLi' + _0x72ecdf(0x564)](_0x72ecdf(0x87b), this[_0x72ecdf(0x64b)][_0x72ecdf(0x570)](this))); + const _0x3afeef = { + 'appName': _0x4e830f + }; + consoleLog("--fx--_0x52ecb2--", _0x52ecb2[_0x72ecdf(0x395)][_0x72ecdf(0x423)]); + if (this['appName'] = _0x4e830f, _0x52ecb2[_0x72ecdf(0x395)][_0x72ecdf(0x423)] = _0x4e830f, _0x3afeef['config'] = await this[_0x72ecdf(0x7a5)](),consoleLog("--fx--_0x3afeef--", _0x3afeef), _0x3afeef[_0x72ecdf(0x2de)] = _0xb50cf5[_0x72ecdf(0x475) + 'e'][_0x52ecb2[_0x72ecdf(0x395)][_0x72ecdf(0x2de)]], await _0xd616f9[_0x72ecdf(0x395)][_0x72ecdf(0x610) + 'e']()[_0x72ecdf(0x78f)](_0x3afeef), _0xd616f9[_0x72ecdf(0x395)][_0x72ecdf(0x610) + 'e']()[_0x72ecdf(0x4a8) + _0x72ecdf(0x80d)]() === _0xcfb78f[_0x72ecdf(0x7ed) + _0x72ecdf(0x654)][_0x72ecdf(0x81c)] && _0x643ef1['default']['os'] != _0x2761fd['OS']['PC'] && (Laya[_0x72ecdf(0x436)][_0x72ecdf(0x72a)] = Laya['Stage'][_0x72ecdf(0x33f) + _0x72ecdf(0x28e)]), this[_0x72ecdf(0x3d4)] || (this[_0x72ecdf(0x3d4)] = new Laya[(_0x72ecdf(0x325))]()), this['gameBanner'] = _0xf8bee4[_0x72ecdf(0x395)]['createGame' + _0x72ecdf(0x593)](), Laya[_0x72ecdf(0x436)]['addChild'](this[_0x72ecdf(0x6c0)]), this[_0x72ecdf(0x1ba)] = _0xf8bee4['default'][_0x72ecdf(0x653) + _0x72ecdf(0x2a3)](), Laya[_0x72ecdf(0x436)][_0x72ecdf(0x754)](this['gameBox']), this['icon']['on'](Laya[_0x72ecdf(0x5ad)][_0x72ecdf(0x504)], this, () => { + const _0x1a0fc3 = _0x72ecdf; + this['navigate'](_0x1a0fc3(0x278), 'LOGO'); + }), Laya[_0x72ecdf(0x436)]['addChild'](this[_0x72ecdf(0x3d4)]), this['gameBanner'][_0x72ecdf(0x1dd)] = !0x1, _0xd616f9[_0x72ecdf(0x395)][_0x72ecdf(0x610) + 'e']()[_0x72ecdf(0x2db) + 'games']() && 1==0) { + this[_0x72ecdf(0x1ba)]['zOrder'] = 0x30d40, this[_0x72ecdf(0x6c0)][_0x72ecdf(0x56b)] = 0x30d40, this[_0x72ecdf(0x3d4)]['zOrder'] = 0x30d40, this['gameBanner']['visible'] = !0x0, this[_0x72ecdf(0x1ba)][_0x72ecdf(0x1dd)] = !0x0, this[_0x72ecdf(0x6c0)][_0x72ecdf(0x294)][_0x72ecdf(0x348)] = _0xd616f9[_0x72ecdf(0x395)][_0x72ecdf(0x610) + 'e']()[_0x72ecdf(0x213)], Laya[_0x72ecdf(0x46e)][_0x72ecdf(0x6fe)](0x1, this[_0x72ecdf(0x6c0)], this[_0x72ecdf(0x6c0)]['onUpdate']), this[_0x72ecdf(0x3d4)]['skin'] = [_0x72ecdf(0x70a) + 'gamessdk.y' + 'yggames.co' + 'm/sdk/res/' + _0x72ecdf(0x3c6), _0x72ecdf(0x6af), 'BABYGAMES', _0x72ecdf(0x655), _0x72ecdf(0x70a) + _0x72ecdf(0x78a) + _0x72ecdf(0x464) + _0x72ecdf(0x424) + 'cargames.p' + 'ng', _0x72ecdf(0x70a) + _0x72ecdf(0x78a) + 'yggames.co' + _0x72ecdf(0x424) + _0x72ecdf(0x56d) + 'g'][_0x3afeef[_0x72ecdf(0x2de)]], this[_0x72ecdf(0x6c0)][_0x72ecdf(0x859)] = Laya[_0x72ecdf(0x436)]['width'] + 0x190, this[_0x72ecdf(0x6c0)][_0x72ecdf(0x580)] = 0x0; + const _0x1cd7d3 = _0xd616f9['default'][_0x72ecdf(0x610) + 'e']()[_0x72ecdf(0x213)][_0x72ecdf(0x5b4)](), + _0x1df639 = _0xc49856[_0x72ecdf(0x395)][_0x72ecdf(0x748)](0x0, _0x1cd7d3[_0x72ecdf(0x33e)] - 0x1); + this['gameBox'][_0x72ecdf(0x673)][_0x72ecdf(0x4e1)] = _0x1cd7d3[_0x1df639], _0x1cd7d3[_0x72ecdf(0x6e7)](_0x1df639, 0x1); + const _0x1021c1 = _0xc49856['default'][_0x72ecdf(0x748)](0x0, _0x1cd7d3['length'] - 0x1); + this[_0x72ecdf(0x1ba)][_0x72ecdf(0x731)][_0x72ecdf(0x4e1)] = _0x1cd7d3[_0x1021c1], _0x1cd7d3[_0x72ecdf(0x6e7)](_0x1021c1, 0x1), this['gameBox'][_0x72ecdf(0x673)]['on'](Laya[_0x72ecdf(0x5ad)][_0x72ecdf(0x504)], this, () => { + const _0x5097c5 = _0x72ecdf; + _0x5316e4[_0x5097c5(0x610) + 'e']()['navigate']('GAME', 'MORE', this[_0x5097c5(0x1ba)][_0x5097c5(0x673)]['dataSource']['id']); + }), this[_0x72ecdf(0x1ba)][_0x72ecdf(0x731)]['on'](Laya[_0x72ecdf(0x5ad)][_0x72ecdf(0x504)], this, () => { + const _0x1899b1 = _0x72ecdf; + _0x5316e4[_0x1899b1(0x610) + 'e']()['navigate']('GAME', 'MORE', this[_0x1899b1(0x1ba)][_0x1899b1(0x731)]['dataSource']['id']); + }); + } else if (1==0) { + this[_0x72ecdf(0x3d4)]['visible'] = !0x1, this[_0x72ecdf(0x3d4)][_0x72ecdf(0x5f1)] = '', this[_0x72ecdf(0x6c0)]['games'][_0x72ecdf(0x1dd)] = !0x1, this['gameBanner'][_0x72ecdf(0x1dd)] = !0x1, this['gameBanner']['bg']['visible'] = !0x1, this[_0x72ecdf(0x1ba)]['visible'] = !0x1, this['gameBox'][_0x72ecdf(0x673)][_0x72ecdf(0x1dd)] = !0x1, this['gameBox'][_0x72ecdf(0x731)]['visible'] = !0x1; + const _0xd1ac26 = this[_0x72ecdf(0x1ba)][_0x72ecdf(0x673)][_0x72ecdf(0x1a5)] || [], + _0x4605c4 = this[_0x72ecdf(0x1ba)][_0x72ecdf(0x731)][_0x72ecdf(0x1a5)] || []; + for (const _0x47e075 of _0xd1ac26) _0x47e075[_0x72ecdf(0x1dd)] = !0x1; + for (const _0x291b67 of _0x4605c4) _0x291b67[_0x72ecdf(0x1dd)] = !0x1; + } + _0x27ab2c[_0x72ecdf(0x395)][_0x72ecdf(0x610) + 'e']()[_0x72ecdf(0x78f)](), _0x27ab2c['default'][_0x72ecdf(0x610) + 'e']()[_0x72ecdf(0x397)] && (this[_0x72ecdf(0x1fc)] = _0x27ab2c[_0x72ecdf(0x395)]['getInstanc' + 'e'](), Laya[_0x72ecdf(0x53e) + 'er'][_0x72ecdf(0x34c)] = (_0x48be46, _0x2f4a86, _0x6e2611, _0x138286) => (_0x27ab2c['default']['getInstanc' + 'e']()[_0x72ecdf(0x34c)](_0x48be46), null), Laya[_0x72ecdf(0x53e) + 'er'][_0x72ecdf(0x677)] = () => { + consoleLog("--fx--stop1--"); return true; + const _0x1ed54a = _0x72ecdf; + _0x27ab2c[_0x1ed54a(0x395)]['getInstanc' + 'e']()['stopMusic'](); + }, Laya[_0x72ecdf(0x53e) + 'er'][_0x72ecdf(0x23c)] = function (_0xe3b909, _0x1a9413, _0x4b5a0f, _0x5711cf, _0xb2184) { + const _0x1be7cf = _0x72ecdf; + return _0x27ab2c['default'][_0x1be7cf(0x610) + 'e']()['playSound'](_0xe3b909), null; + }, Laya[_0x72ecdf(0x53e) + 'er'][_0x72ecdf(0x192)] = function (_0x1e141f) { + const _0x59597b = _0x72ecdf; + _0x27ab2c[_0x59597b(0x395)][_0x59597b(0x610) + 'e']()[_0x59597b(0x192)](); + }), Laya[_0x72ecdf(0x5c1) + _0x72ecdf(0x281)] = null, window[_0x72ecdf(0x382)] = null, _0x5ad29a && _0x5ad29a(); + console.trace("--fx--init--", arguments); + return; + } [_0xc8baef(0x4c8) + _0xc8baef(0x84e)](_0x4331a6, _0x27fff5) { + const _0x56f504 = _0xc8baef; + let _0x5b92dc = _0x27fff5; + _0x56f504(0x751) == typeof _0x4331a6 && (_0x5b92dc = _0x4331a6, _0x4331a6 = {}), _0xd616f9['default'][_0x56f504(0x610) + 'e']()[_0x56f504(0x4c8) + _0x56f504(0x84e)]({ + 'action': _0x4331a6, + 'beforeShowAd': () => { + const _0x5676d4 = _0x56f504; + _0x52ecb2['default'][_0x5676d4(0x4e4)] = !0x0, clearTimeout(this['tid']), this['tid'] = setTimeout(() => { + const _0x22f4ea = _0x5676d4; + _0x27ab2c['default']['getInstanc' + 'e']()[_0x22f4ea(0x88e)] = !0x0; + }, 0x64), _0x643ef1['default'][_0x5676d4(0x640) + _0x5676d4(0x4a0) + _0x5676d4(0x5e0) + 'ge'] && (_0x59599b[_0x5676d4(0x395)][_0x5676d4(0x414)](), Laya[_0x5676d4(0x436)][_0x5676d4(0x5bc) + 'nabled'] = !0x1, Laya['updateTime' + 'r'] && Laya['updateTime' + 'r'][_0x5676d4(0x414)](), Laya[_0x5676d4(0x204) + 'er'] && Laya[_0x5676d4(0x204) + 'er'][_0x5676d4(0x414)]()); + }, + 'afterShowAd': () => { + const _0x5ce50c = _0x56f504; + window[_0x5ce50c(0x1d8)](), _0x52ecb2[_0x5ce50c(0x395)][_0x5ce50c(0x4e4)] = !0x1, clearTimeout(this[_0x5ce50c(0x6de)]), this[_0x5ce50c(0x6de)] = setTimeout(() => { + const _0x114022 = _0x5ce50c; + _0x27ab2c[_0x114022(0x395)][_0x114022(0x610) + 'e']()[_0x114022(0x88e)] = !0x1; + }, 0x64), _0x643ef1[_0x5ce50c(0x395)][_0x5ce50c(0x640) + _0x5ce50c(0x4a0) + _0x5ce50c(0x5e0) + 'ge'] && (_0x59599b[_0x5ce50c(0x395)]['resume'](), Laya[_0x5ce50c(0x436)][_0x5ce50c(0x5bc) + _0x5ce50c(0x2bf)] = !0x0, Laya[_0x5ce50c(0x6a5) + 'r'] && Laya[_0x5ce50c(0x6a5) + 'r'][_0x5ce50c(0x503)](), Laya['physicsTim' + 'er'] && Laya[_0x5ce50c(0x204) + 'er']['resume']()), _0x5b92dc && _0x5b92dc(); + } + }); + } + get[_0xc8baef(0x64e) + 'y']() { + const _0x12f040 = _0xc8baef; + return _0xd616f9[_0x12f040(0x395)]['getInstanc' + 'e']()[_0x12f040(0x408) + _0x12f040(0x58a)](); + } [_0xc8baef(0x1c3)](_0xb0c90f, _0x565ca0, _0x566f59, _0x6e3e77) { + const _0x37e2e7 = _0xc8baef; + if (_0x37e2e7(0x751) == typeof _0xb0c90f && (_0x6e3e77 = _0x566f59, _0x566f59 = _0x565ca0, _0x565ca0 = _0xb0c90f, _0xb0c90f = {}), !_0xd616f9[_0x37e2e7(0x395)]['getInstanc' + 'e']()['canShowRew' + 'ard']()) return this[_0x37e2e7(0x30b)](_0x37e2e7(0x293) + _0x37e2e7(0x777)), void(_0x6e3e77 && _0x6e3e77()); + _0xd616f9['default']['getInstanc' + 'e']()[_0x37e2e7(0x1c3)]({ + 'action': _0xb0c90f, + 'beforeShowAd': () => { + const _0xc2f3f4 = _0x37e2e7; + _0x52ecb2[_0xc2f3f4(0x395)][_0xc2f3f4(0x4e4)] = !0x0, setTimeout(() => { + const _0x225150 = _0xc2f3f4; + _0x27ab2c[_0x225150(0x395)][_0x225150(0x610) + 'e']()[_0x225150(0x88e)] = !0x0; + }, 0x64), _0x643ef1[_0xc2f3f4(0x395)]['aotuPauseT' + _0xc2f3f4(0x4a0) + 'bilityChan' + 'ge'] && (_0x59599b['default'][_0xc2f3f4(0x414)](), Laya[_0xc2f3f4(0x436)][_0xc2f3f4(0x5bc) + _0xc2f3f4(0x2bf)] = !0x1, Laya[_0xc2f3f4(0x6a5) + 'r'] && Laya[_0xc2f3f4(0x6a5) + 'r'][_0xc2f3f4(0x414)](), Laya[_0xc2f3f4(0x204) + 'er'] && Laya[_0xc2f3f4(0x204) + 'er'][_0xc2f3f4(0x414)]()); + }, + 'afterShowAd': () => { + const _0x8c0017 = _0x37e2e7; + window[_0x8c0017(0x1d8)](), _0x52ecb2[_0x8c0017(0x395)][_0x8c0017(0x4e4)] = !0x1, setTimeout(() => { + const _0x1f5aff = _0x8c0017; + _0x27ab2c['default'][_0x1f5aff(0x610) + 'e']()['muted'] = !0x1; + }, 0x64), _0x643ef1[_0x8c0017(0x395)][_0x8c0017(0x640) + _0x8c0017(0x4a0) + _0x8c0017(0x5e0) + 'ge'] && (_0x59599b['default']['resume'](), Laya[_0x8c0017(0x436)][_0x8c0017(0x5bc) + _0x8c0017(0x2bf)] = !0x0, Laya[_0x8c0017(0x6a5) + 'r'] && Laya[_0x8c0017(0x6a5) + 'r'][_0x8c0017(0x503)](), Laya[_0x8c0017(0x204) + 'er'] && Laya[_0x8c0017(0x204) + 'er'][_0x8c0017(0x503)]()); + }, + 'rewardComplete': () => { + _0x565ca0 && _0x565ca0(), _0x6e3e77 && _0x6e3e77(), _0x6e3e77 = null, _0x565ca0 = null; + }, + 'rewardDismissed': () => { + const _0x50625f = _0x37e2e7; + _0x566f59 && (_0x566f59(), _0x6e3e77 && _0x6e3e77(), _0x6e3e77 = null, _0x566f59 = null), this[_0x50625f(0x30b)](_0x50625f(0x67e) + 'the ad com' + _0x50625f(0x5bf) + _0x50625f(0x852) + _0x50625f(0x1d0) + _0x50625f(0x30d) + 'rd'); + } + }); + } [_0xc8baef(0x30b)](_0x64511d, _0x3c9f4d) { + const _0x476603 = _0xc8baef; + _0x673f00[_0x476603(0x395)]['getInstanc' + 'e']()[_0x476603(0x637)](_0x64511d, _0x3c9f4d); + } [_0xc8baef(0x7a5)]() { + return new Promise((_0x2ba606, _0x19fb73) => { + const _0x57320a = _0xb80e; + var _0x16717a = new XMLHttpRequest(); + _0x16717a[_0x57320a(0x27f)](_0x57320a(0x57f), 'cnf.json', !0x0), _0x16717a['onload'] = function () { + const _0x253657 = _0x57320a; + if (0xc8 !== _0x16717a[_0x253657(0x7db)] && 0x0 !== _0x16717a[_0x253657(0x7db)]) throw _0x253657(0x767) + 'e'; + try { + _0x2ba606(JSON[_0x253657(0x5af)](_0x16717a[_0x253657(0x621) + 'xt'])); + } catch (_0xbda68e) { + _0x2ba606({}); + } + }, _0x16717a['onerror'] = function () { + throw _0x2ba606({}), 'no respons' + 'e'; + }, _0x16717a['ontimeout'] = function () { + _0x2ba606({}); + }, _0x16717a[_0x57320a(0x891)] = function () { + _0x2ba606({}); + }, _0x16717a[_0x57320a(0x5b0)](null); + }); + } ['showLoadin' + 'g']() { + const _0x1f46f3 = _0xc8baef; + _0x30408f[_0x1f46f3(0x395)][_0x1f46f3(0x41c) + 'g'](); + } ['hideLoadin' + 'g']() { + const _0x1e4b23 = _0xc8baef; + _0x30408f[_0x1e4b23(0x395)][_0x1e4b23(0x70c) + 'g'](); + } [_0xc8baef(0x64b)]() { + const _0x3e9979 = _0xc8baef; + if (this[_0x3e9979(0x639) + 'e']) { + const _0x1d4407 = (_0xd616f9[_0x3e9979(0x395)][_0x3e9979(0x610) + 'e']()[_0x3e9979(0x213)][_0x3e9979(0x1cd)](_0x144bda => _0x144bda['id'] == this['navigatePa' + _0x3e9979(0x57d)]['to']) || { + 'name': '' + })[_0x3e9979(0x1ab)]; + this['navigatePa' + _0x3e9979(0x57d)]['name'] = _0x1d4407, _0x4f43cc[_0x3e9979(0x395)]['getInstanc' + 'e']()['event']('navigate', this['navigatePa' + 'ram']), _0xd616f9['default'][_0x3e9979(0x610) + 'e']()['navigate'](this[_0x3e9979(0x237) + _0x3e9979(0x57d)]['screen'], this['navigatePa' + _0x3e9979(0x57d)]['action'], this['navigatePa' + 'ram']['to']); + } + this[_0x3e9979(0x639) + 'e'] = !0x1; + } [_0xc8baef(0x333)](_0xf869fb, _0x338c9e, _0x1a4d01) { + const _0x517dbd = _0xc8baef; + !0x1 === this[_0x517dbd(0x639) + 'e'] && (this['navigatePa' + _0x517dbd(0x57d)][_0x517dbd(0x230)] = _0xf869fb, this['navigatePa' + _0x517dbd(0x57d)][_0x517dbd(0x7cb)] = _0x338c9e, this[_0x517dbd(0x237) + _0x517dbd(0x57d)]['to'] = _0x1a4d01, this[_0x517dbd(0x639) + 'e'] = !0x0); + } [_0xc8baef(0x590)](_0x359066, _0xb4e7d7) { + const _0x17184c = _0xc8baef; + _0xd616f9['default'][_0x17184c(0x610) + 'e']()[_0x17184c(0x590)](_0x359066, _0xb4e7d7); + } [_0xc8baef(0x77f) + _0xc8baef(0x564)](_0x46e51b, _0x381ea2, _0x181949, _0x10b187 = null) { + const _0x579e8f = _0xc8baef; + return _0x4f43cc[_0x579e8f(0x395)][_0x579e8f(0x610) + 'e']()['on'](_0x46e51b, _0x381ea2, _0x181949, _0x10b187); + } + } + _0xb6cb37['default'] = _0x5316e4; + }, + 0x18b4: function (_0x5a01c4, _0x103adc, _0x346aab) { + 'use strict'; + const _0x4f08d2 = _0xb80e; + var _0x5a08b4 = this && this[_0x4f08d2(0x343) + _0x4f08d2(0x3a7)] || function (_0x2fe76b) { + const _0x26039d = _0x4f08d2; + return _0x2fe76b && _0x2fe76b[_0x26039d(0x772)] ? _0x2fe76b : { + 'default': _0x2fe76b + }; + }; + Object[_0x4f08d2(0x501) + _0x4f08d2(0x6a8)](_0x103adc, '__esModule', { + 'value': !0x0 + }); + const _0x155ab6 = _0x5a08b4(_0x346aab(0x492)); + _0x103adc[_0x4f08d2(0x395)] = class { + static['createGame' + 'Banner']() { + const _0x2e844b = _0x4f08d2; + class _0x564ca3 extends Laya[_0x2e844b(0x34a)] { + constructor() { + super(...arguments), this['value'] = 0x1; + } [_0x2e844b(0x5e3) + _0x2e844b(0x779)]() { + const _0x589e18 = _0x2e844b; + super[_0x589e18(0x5e3) + 'dren'](), this['createView'](_0x564ca3[_0x589e18(0x81b)]), this[_0x589e18(0x294)][_0x589e18(0x332) + _0x589e18(0x730)] = '', this[_0x589e18(0x294)][_0x589e18(0x3c8) + _0x589e18(0x4fa)] = new Laya['Handler'](this, this[_0x589e18(0x6dc) + 'er']); + } ['onUpdate']() { + const _0x199e30 = _0x2e844b; + this[_0x199e30(0x294)][_0x199e30(0x5f9)][_0x199e30(0x2a7)] += this[_0x199e30(0x2a7)], this['games']['scrollBar']['value'] >= this['games'][_0x199e30(0x5f9)]['max'] && (this[_0x199e30(0x294)]['scrollBar'][_0x199e30(0x2a7)] = 0x0); + } [_0x2e844b(0x6dc) + 'er'](_0x3cc415, _0x58c218) { + const _0x3017b3 = _0x2e844b, + _0x5636e2 = _0x3cc415[_0x3017b3(0x4e1)]; + _0x3cc415[_0x3017b3(0x6e6)](), _0x3cc415['on'](Laya[_0x3017b3(0x5ad)][_0x3017b3(0x68e)], _0x3cc415, () => { + const _0x3d219a = _0x3017b3; + _0x3cc415[_0x3d219a(0x56b)] = 0x64; + }), _0x3cc415['on'](Laya[_0x3017b3(0x5ad)][_0x3017b3(0x330)], _0x3cc415, () => { + _0x3cc415['zOrder'] = _0x58c218; + }), _0x3cc415['on'](Laya['Event']['MOUSE_OVER'], _0x3cc415, () => { + const _0x418274 = _0x3017b3; + _0x3cc415[_0x418274(0x1db)](_0x3cc415['scaleX'] + 0.1, _0x3cc415[_0x418274(0x618)] + 0.1), this[_0x418274(0x2a7)] = 0x0; + }), _0x3cc415['on'](Laya[_0x3017b3(0x5ad)][_0x3017b3(0x330)], _0x3cc415, () => { + const _0x2f214d = _0x3017b3; + _0x3cc415[_0x2f214d(0x1db)](_0x3cc415[_0x2f214d(0x747)] - 0.1, _0x3cc415[_0x2f214d(0x618)] - 0.1), this[_0x2f214d(0x2a7)] = 0x1; + }), _0x3cc415['on'](Laya[_0x3017b3(0x5ad)][_0x3017b3(0x504)], _0x3cc415, _0x330e8d => { + const _0x24ed8e = _0x3017b3; + _0x330e8d['stopPropag' + _0x24ed8e(0x331)](), _0x155ab6[_0x24ed8e(0x395)][_0x24ed8e(0x610) + 'e']()[_0x24ed8e(0x333)](_0x24ed8e(0x278), _0x24ed8e(0x6b7), _0x5636e2['id']); + }); + } [_0x2e844b(0x576) + _0x2e844b(0x28c)](_0x14d06d, _0x4d0c82) { + const _0x5cbe9d = _0x2e844b; + this['games']['height'] = _0x4d0c82 + 0x32, this[_0x5cbe9d(0x696)] = _0x4d0c82 + 0x32; + const _0xbaadcc = this[_0x5cbe9d(0x294)][_0x5cbe9d(0x72d)]; + _0xbaadcc[_0x5cbe9d(0x4d7)][_0x5cbe9d(0x859)] = _0x14d06d, _0xbaadcc[_0x5cbe9d(0x4d7)][_0x5cbe9d(0x696)] = _0x4d0c82, _0xbaadcc[_0x5cbe9d(0x4d7)]['y'] = _0x4d0c82 / 0x2 + 0x19, _0xbaadcc['child'][0x0][_0x5cbe9d(0x4d7)][_0x5cbe9d(0x859)] = _0x14d06d, _0xbaadcc['child'][0x0][_0x5cbe9d(0x4d7)]['height'] = _0x4d0c82, _0xbaadcc['child'][0x0][_0x5cbe9d(0x662)][0x0][_0x5cbe9d(0x4d7)][_0x5cbe9d(0x859)] = _0x14d06d, _0xbaadcc[_0x5cbe9d(0x662)][0x0]['child'][0x0][_0x5cbe9d(0x4d7)][_0x5cbe9d(0x696)] = _0x4d0c82; + const _0x5d22b5 = this[_0x5cbe9d(0x294)]['cells']; + for (const _0xa95b62 of _0x5d22b5) { + _0xa95b62[_0x5cbe9d(0x859)] = _0x14d06d, _0xa95b62['height'] = _0x4d0c82, _0xa95b62['y'] = _0x4d0c82 / 0x2 + 0x19; + const _0x45b389 = _0xa95b62[_0x5cbe9d(0x1a5)] || _0xa95b62['_childs']; + _0x45b389[0x0][_0x5cbe9d(0x859)] = _0x14d06d, _0x45b389[0x0][_0x5cbe9d(0x696)] = _0x4d0c82, _0x45b389[0x0]['mask'][_0x5cbe9d(0x859)] = _0x14d06d, _0x45b389[0x0]['mask']['height'] = _0x4d0c82; + } + this[_0x5cbe9d(0x294)][_0x5cbe9d(0x6f4)](); + } + } + return _0x564ca3[_0x2e844b(0x81b)] = { + 'type': 'View', + 'props': { + 'width': 0x438, + 'height': 0xc8 + }, + 'compId': 0x2, + 'child': [{ + 'type': _0x2e844b(0x325), + 'props': { + 'var': 'bg', + 'y': 0x0, + 'x': 0x0, + 'top': 0x0, + 'skin': _0x2e844b(0x70a) + _0x2e844b(0x78a) + 'yggames.co' + _0x2e844b(0x424) + _0x2e844b(0x60b), + 'sizeGrid': '30,30,30,3' + '0', + 'right': 0x0, + 'left': 0x0, + 'bottom': 0x0 + }, + 'compId': 0x4 + }, { + 'type': 'List', + 'props': { + 'y': 0x0, + 'x': 0xa, + 'var': _0x2e844b(0x294), + 'right': 0x0, + 'left': 0x0, + 'spaceX': 0x14, + 'centerY': 0x0, + 'height': 0x96, + 'repeatY': 0x1 + }, + 'compId': 0x3, + 'child': [{ + 'type': 'Box', + 'props': { + 'x': 0x64, + 'width': 0xc8, + 'name': 'render', + 'height': 0x96, + 'centerY': 0x0, + 'anchorY': 0.5, + 'anchorX': 0.5 + }, + 'compId': 0x7, + 'child': [{ + 'type': _0x2e844b(0x325), + 'props': { + 'y': 0x0, + 'x': 0x0, + 'width': 0xc8, + 'skin': _0x2e844b(0x70a) + _0x2e844b(0x78a) + _0x2e844b(0x464) + _0x2e844b(0x424) + 'di1.png', + 'name': _0x2e844b(0x685), + 'height': 0x96 + }, + 'compId': 0x8, + 'child': [{ + 'type': _0x2e844b(0x325), + 'props': { + 'y': 0x0, + 'x': 0x0, + 'width': 0xc8, + 'skin': _0x2e844b(0x70a) + _0x2e844b(0x78a) + _0x2e844b(0x464) + 'm/sdk/res/' + _0x2e844b(0x4c0), + 'sizeGrid': _0x2e844b(0x830) + '0', + 'renderType': _0x2e844b(0x805), + 'height': 0x96 + }, + 'compId': 0x9 + }] + }] + }] + }], + 'loadList': [], + 'loadList3D': [] + }, new _0x564ca3(); + } + static['createGame' + 'Box']() { + const _0x26644d = _0x4f08d2; + class _0x55d741 extends Laya[_0x26644d(0x34a)] { + constructor() { + super(...arguments), this['w'] = 0xc8, this['h'] = 0x96, this['isAwake'] = !0x1; + } ['createChil' + _0x26644d(0x779)]() { + const _0x4946a2 = _0x26644d; + super[_0x4946a2(0x5e3) + _0x4946a2(0x779)](), this['createView'](_0x55d741['uiView']); + } ['onAwake']() { + const _0xdab65f = _0x26644d; + this[_0xdab65f(0x19b)] = !0x0; + } ['onEnable']() { + const _0x587be2 = _0x26644d; + this[_0x587be2(0x88d) + _0x587be2(0x529)](); + } [_0x26644d(0x576) + _0x26644d(0x28c)](_0x5993ab, _0x5a1927) { + const _0x56c702 = _0x26644d; + this['w'] = _0x5993ab, this['h'] = _0x5a1927, this[_0x56c702(0x19b)] && this[_0x56c702(0x88d) + _0x56c702(0x529)](); + } [_0x26644d(0x88d) + _0x26644d(0x529)]() { + const _0x3aaf85 = _0x26644d, + _0x16c0b8 = this[_0x3aaf85(0x673)]['getChildBy' + _0x3aaf85(0x4c4)](_0x3aaf85(0x685)), + _0x373e3c = this[_0x3aaf85(0x731)][_0x3aaf85(0x787) + _0x3aaf85(0x4c4)](_0x3aaf85(0x685)), + _0x289f84 = this[_0x3aaf85(0x673)][_0x3aaf85(0x787) + _0x3aaf85(0x4c4)]('bg'), + _0x21648c = this['game2'][_0x3aaf85(0x787) + _0x3aaf85(0x4c4)]('bg'); + _0x16c0b8['width'] = _0x373e3c['width'] = this['w'], _0x16c0b8[_0x3aaf85(0x696)] = _0x373e3c[_0x3aaf85(0x696)] = this['h'], _0x16c0b8[_0x3aaf85(0x805)] && (_0x16c0b8[_0x3aaf85(0x805)]['width'] = this['w'], _0x16c0b8[_0x3aaf85(0x805)][_0x3aaf85(0x696)] = this['h']), _0x373e3c['mask'] && (_0x373e3c['mask'][_0x3aaf85(0x859)] = this['w'], _0x373e3c[_0x3aaf85(0x805)][_0x3aaf85(0x696)] = this['h']), _0x289f84[_0x3aaf85(0x859)] = _0x21648c['width'] = this['w'] + 0x14, _0x289f84['height'] = _0x21648c[_0x3aaf85(0x696)] = this['h'] + 0x14; + } + } + return _0x55d741[_0x26644d(0x81b)] = { + 'type': _0x26644d(0x34a), + 'props': { + 'width': 0x370, + 'mouseThrough': !0x0, + 'height': 0xc8 + }, + 'compId': 0x2, + 'child': [{ + 'type': 'Box', + 'props': { + 'y': 0x64, + 'width': 0xc8, + 'var': _0x26644d(0x673), + 'height': 0x96, + 'anchorY': 0.5, + 'anchorX': 0.5 + }, + 'compId': 0xf, + 'child': [{ + 'type': _0x26644d(0x325), + 'props': { + 'y': 0x4b, + 'x': 0x64, + 'width': 0xdc, + 'skin': _0x26644d(0x70a) + 'gamessdk.y' + _0x26644d(0x464) + _0x26644d(0x424) + 'di1.png', + 'sizeGrid': _0x26644d(0x830) + '0', + 'name': 'bg', + 'height': 0xaa, + 'anchorY': 0.5, + 'anchorX': 0.5 + }, + 'compId': 0x15 + }, { + 'type': _0x26644d(0x325), + 'props': { + 'y': 0x4b, + 'x': 0x64, + 'width': 0xc8, + 'height': 0x96, + 'skin': 'https://h5' + 'gamessdk.y' + _0x26644d(0x464) + _0x26644d(0x424) + _0x26644d(0x4c0), + 'name': _0x26644d(0x685), + 'anchorY': 0.5, + 'anchorX': 0.5 + }, + 'compId': 0x10, + 'child': [{ + 'type': _0x26644d(0x325), + 'props': { + 'y': 0x0, + 'x': 0x0, + 'width': 0xc8, + 'skin': _0x26644d(0x70a) + _0x26644d(0x78a) + _0x26644d(0x464) + _0x26644d(0x424) + 'di1.png', + 'sizeGrid': _0x26644d(0x830) + '0', + 'renderType': _0x26644d(0x805), + 'height': 0x96 + }, + 'compId': 0x11 + }] + }] + }, { + 'type': _0x26644d(0x2a3), + 'props': { + 'y': 0x64, + 'width': 0xc8, + 'var': _0x26644d(0x731), + 'height': 0x96, + 'anchorY': 0.5, + 'anchorX': 0.5 + }, + 'compId': 0x12, + 'child': [{ + 'type': _0x26644d(0x325), + 'props': { + 'y': 0x4b, + 'x': 0x64, + 'width': 0xdc, + 'skin': _0x26644d(0x70a) + _0x26644d(0x78a) + _0x26644d(0x464) + _0x26644d(0x424) + _0x26644d(0x4c0), + 'sizeGrid': _0x26644d(0x830) + '0', + 'name': 'bg', + 'height': 0xaa, + 'anchorY': 0.5, + 'anchorX': 0.5 + }, + 'compId': 0x17 + }, { + 'type': _0x26644d(0x325), + 'props': { + 'y': 0x4b, + 'x': 0x64, + 'width': 0xc8, + 'skin': _0x26644d(0x70a) + _0x26644d(0x78a) + 'yggames.co' + _0x26644d(0x424) + _0x26644d(0x4c0), + 'name': _0x26644d(0x685), + 'height': 0x96, + 'anchorY': 0.5, + 'anchorX': 0.5 + }, + 'compId': 0x18, + 'child': [{ + 'type': _0x26644d(0x325), + 'props': { + 'y': 0x0, + 'x': 0x0, + 'width': 0xc8, + 'skin': 'https://h5' + 'gamessdk.y' + _0x26644d(0x464) + 'm/sdk/res/' + _0x26644d(0x4c0), + 'sizeGrid': '30,30,30,3' + '0', + 'renderType': _0x26644d(0x805), + 'height': 0x96 + }, + 'compId': 0x19 + }] + }] + }], + 'loadList': [_0x26644d(0x70a) + _0x26644d(0x78a) + _0x26644d(0x464) + _0x26644d(0x424) + _0x26644d(0x4c0)], + 'loadList3D': [] + }, new _0x55d741(); + } + }; + }, + 0x1657: (_0x1467ba, _0x5cd1d4) => { + 'use strict'; + const _0x1ab558 = _0xb80e; + Object[_0x1ab558(0x501) + _0x1ab558(0x6a8)](_0x5cd1d4, _0x1ab558(0x772), { + 'value': !0x0 + }), _0x5cd1d4[_0x1ab558(0x395)] = { + 'pubs': { + 0x0: { + 'name': _0x1ab558(0x290), + 'address': _0x1ab558(0x88f) + 'w.yad.com/', + 'channel': 0x455ab0fe, + 'iu': _0x1ab558(0x679) + '11/Yad-Sit' + _0x1ab558(0x7cd) + 'dUnit' + }, + 0x1: { + 'name': _0x1ab558(0x478), + 'address': _0x1ab558(0x88f) + 'w.yiv.com/', + 'channel': 0x1b95af055, + 'iu': '/216275203' + _0x1ab558(0x26b) + 'e-InGame-A' + 'dUnit' + }, + 0x2: { + 'name': _0x1ab558(0x51f) + 'Com', + 'address': _0x1ab558(0x88f) + _0x1ab558(0x369) + 's.com/', + 'channel': 0x148d57258, + 'iu': _0x1ab558(0x679) + _0x1ab558(0x6df) + _0x1ab558(0x223) + _0x1ab558(0x22f) + 't' + }, + 0x3: { + 'name': _0x1ab558(0x425) + _0x1ab558(0x1e2), + 'address': 'https://ww' + 'w.bestgame' + _0x1ab558(0x236), + 'channel': 0x1e606463d, + 'mchannel': 0x24d7cd60f, + 'iu': _0x1ab558(0x679) + _0x1ab558(0x527) + _0x1ab558(0x701) + _0x1ab558(0x3bc) + 'Unit', + 'miu': _0x1ab558(0x679) + _0x1ab558(0x527) + _0x1ab558(0x27c) + 'Site-InGam' + _0x1ab558(0x62c) + }, + 0x4: { + 'name': 'CarGames.C' + 'om', + 'address': 'https://ww' + _0x1ab558(0x20a) + _0x1ab558(0x6a0), + 'channel': 0x25260a417, + 'mchannel': 0x21ffdf68a, + 'iu': '/216275203' + _0x1ab558(0x279) + _0x1ab558(0x29d) + 'InGame-AdU' + _0x1ab558(0x273), + 'miu': '/216275203' + _0x1ab558(0x279) + _0x1ab558(0x5fe) + _0x1ab558(0x210) + _0x1ab558(0x420) + }, + 0x5: { + 'name': _0x1ab558(0x664) + _0x1ab558(0x44d), + 'address': _0x1ab558(0x88f) + _0x1ab558(0x4be) + 'me.com/', + 'channel': 0xfb3a2a68, + 'iu': _0x1ab558(0x679) + _0x1ab558(0x2d3) + _0x1ab558(0x73e) + _0x1ab558(0x837) + 'it' + }, + 0x6: { + 'name': _0x1ab558(0x6e8) + 'om', + 'address': 'https://ww' + _0x1ab558(0x4cc) + _0x1ab558(0x6a0), + 'channel': 0x23b8a563f, + 'mchannel': 0x8ead9d6e, + 'iu': _0x1ab558(0x679) + _0x1ab558(0x6ae) + 's-PC-Site-' + _0x1ab558(0x889) + 'nit', + 'miu': _0x1ab558(0x679) + _0x1ab558(0x6ae) + _0x1ab558(0x5fe) + _0x1ab558(0x210) + _0x1ab558(0x420) + }, + 0x7: { + 'name': '4J.com', + 'address': _0x1ab558(0x88f) + _0x1ab558(0x557), + 'channel': 0x1f4ac44c7, + 'mchannel': 0x24be7e8da, + 'iu': '/216275203' + '11/4J-PC-S' + 'ite-InGame' + _0x1ab558(0x420), + 'miu': '/216275203' + '11/4J-Mobi' + _0x1ab558(0x508) + 'Game-AdUni' + 't' + }, + 0x8: { + 'name': _0x1ab558(0x5ea), + 'address': _0x1ab558(0x88f) + _0x1ab558(0x83e), + 'channel': 0x1922820a5, + 'iu': '/216275203' + '11/Other-S' + 'ite-InGame' + _0x1ab558(0x420) + } + }, + 'hostnames': { + 'www.yad.com': 0x0, + 'www.yiv.com': 0x1, + 'www.babygames.com': 0x2, + 'www.bestgames.com': 0x3, + 'www.cargames.com': 0x4, + 'www.puzzlegame.com': 0x5, + 'www.topgames.com': 0x6, + 'www.4j.com': 0x7 + } + }; + }, + 0x1bba: function (_0x41c62a, _0x449563, _0x5c68ca) { + 'use strict'; + const _0x10b229 = _0xb80e; + var _0x411213 = this && this[_0x10b229(0x343) + _0x10b229(0x3a7)] || function (_0x38a426) { + const _0x1db786 = _0x10b229; + return _0x38a426 && _0x38a426[_0x1db786(0x772)] ? _0x38a426 : { + 'default': _0x38a426 + }; + }; + Object['defineProp' + _0x10b229(0x6a8)](_0x449563, _0x10b229(0x772), { + 'value': !0x0 + }); + const _0x1a0595 = _0x411213(_0x5c68ca(0x18d7)), + _0x3dda30 = _0x411213(_0x5c68ca(0x1588)); + _0x449563[_0x10b229(0x395)] = { + 'preload': function () { + const _0x4afa48 = _0x10b229; + _0x3dda30['default'][_0x4afa48(0x78f)](), window['sys'] = _0x3dda30[_0x4afa48(0x395)], _0x1a0595[_0x4afa48(0x395)]['init'](); + } + }; + }, + 0x191e: (_0x4f4e99, _0x2ad910) => { + 'use strict'; + const _0x4e55fc = _0xb80e; + Object[_0x4e55fc(0x501) + _0x4e55fc(0x6a8)](_0x2ad910, _0x4e55fc(0x772), { + 'value': !0x0 + }), _0x2ad910['default'] = class { + constructor() { + this['_events'] = {}; + } [_0x4e55fc(0x4b6) + 'r'](_0x5eabc7) { + const _0x7a4fa5 = _0x4e55fc; + return !(!this['_events'] || !this[_0x7a4fa5(0x57c)][_0x5eabc7]); + } [_0x4e55fc(0x853)](_0x484b8a, _0x23bb86 = null) { + const _0x52c462 = _0x4e55fc; + if (!this[_0x52c462(0x57c)] || !this['_events'][_0x484b8a]) return !0x1; + var _0x9d318d = this[_0x52c462(0x57c)][_0x484b8a]; + if (_0x9d318d[_0x52c462(0x1f0)]) _0x9d318d[_0x52c462(0x6fa)] && delete this['_events'][_0x484b8a], null != _0x23bb86 ? _0x9d318d[_0x52c462(0x7bc)](_0x23bb86) : _0x9d318d['run'](); + else { + for (var _0xfc8ab8 = 0x0, _0x3eea83 = _0x9d318d[_0x52c462(0x33e)]; _0xfc8ab8 < _0x3eea83; _0xfc8ab8++) { + var _0x9de3fa = _0x9d318d[_0xfc8ab8]; + _0x9de3fa && (null != _0x23bb86 ? _0x9de3fa['runWith'](_0x23bb86) : _0x9de3fa[_0x52c462(0x1f0)]()), _0x9de3fa && !_0x9de3fa[_0x52c462(0x6fa)] || (_0x9d318d[_0x52c462(0x6e7)](_0xfc8ab8, 0x1), _0xfc8ab8--, _0x3eea83--); + } + 0x0 === _0x9d318d[_0x52c462(0x33e)] && this[_0x52c462(0x57c)] && delete this['_events'][_0x484b8a]; + } + return !0x0; + } ['on'](_0x13f641, _0x55d390, _0x54d649, _0x136941 = null) { + const _0x2492b9 = _0x4e55fc; + return this[_0x2492b9(0x246) + _0x2492b9(0x79e)](_0x13f641, _0x55d390, _0x54d649, _0x136941, !0x1); + } ['once'](_0x4492bf, _0x2184ee, _0xa7e898, _0xb73f56 = null) { + const _0x4cd34c = _0x4e55fc; + return this['_createLis' + _0x4cd34c(0x79e)](_0x4492bf, _0x2184ee, _0xa7e898, _0xb73f56, !0x0); + } [_0x4e55fc(0x246) + 'tener'](_0x48a6a2, _0x4e370d, _0x1bd6d4, _0x15c992, _0x52b9e3, _0x3bd070 = !0x0) { + const _0x290f93 = _0x4e55fc; + _0x3bd070 && this['off'](_0x48a6a2, _0x4e370d, _0x1bd6d4, _0x52b9e3); + var _0x27c47b = _0x526d55['create'](_0x4e370d || this, _0x1bd6d4, _0x15c992, _0x52b9e3); + this[_0x290f93(0x57c)] || (this[_0x290f93(0x57c)] = {}); + var _0x5f4bf7 = this[_0x290f93(0x57c)]; + return _0x5f4bf7[_0x48a6a2] ? _0x5f4bf7[_0x48a6a2][_0x290f93(0x1f0)] ? _0x5f4bf7[_0x48a6a2] = [_0x5f4bf7[_0x48a6a2], _0x27c47b] : _0x5f4bf7[_0x48a6a2]['push'](_0x27c47b) : _0x5f4bf7[_0x48a6a2] = _0x27c47b, this; + } [_0x4e55fc(0x361)](_0x5c2a2b, _0x44e9b7, _0x5dbc89, _0x5225ca = !0x1) { + const _0x4886ac = _0x4e55fc; + if (!this[_0x4886ac(0x57c)] || !this[_0x4886ac(0x57c)][_0x5c2a2b]) return this; + var _0x44d63a = this[_0x4886ac(0x57c)][_0x5c2a2b]; + if (null != _0x44d63a) { + if (_0x44d63a[_0x4886ac(0x1f0)]) _0x44e9b7 && _0x44d63a[_0x4886ac(0x82f)] !== _0x44e9b7 || null != _0x5dbc89 && _0x44d63a[_0x4886ac(0x2f1)] !== _0x5dbc89 || _0x5225ca && !_0x44d63a[_0x4886ac(0x6fa)] || (delete this[_0x4886ac(0x57c)][_0x5c2a2b], _0x44d63a[_0x4886ac(0x599)]()); + else { + for (var _0x30670c = 0x0, _0x5c90f9 = 0x0, _0x33818d = _0x44d63a[_0x4886ac(0x33e)]; _0x5c90f9 < _0x33818d; _0x5c90f9++) { + var _0x3e469d = _0x44d63a[_0x5c90f9]; + _0x3e469d ? !_0x3e469d || _0x44e9b7 && _0x3e469d[_0x4886ac(0x82f)] !== _0x44e9b7 || null != _0x5dbc89 && _0x3e469d[_0x4886ac(0x2f1)] !== _0x5dbc89 || _0x5225ca && !_0x3e469d[_0x4886ac(0x6fa)] || (_0x30670c++, _0x44d63a[_0x5c90f9] = null, _0x3e469d[_0x4886ac(0x599)]()) : _0x30670c++; + } + _0x30670c === _0x33818d && delete this[_0x4886ac(0x57c)][_0x5c2a2b]; + } + } + return this; + } [_0x4e55fc(0x6e6)](_0x3ea24f = null) { + const _0x473a65 = _0x4e55fc; + var _0x24f304 = this[_0x473a65(0x57c)]; + if (!_0x24f304) return this; + if (_0x3ea24f) this['_recoverHa' + _0x473a65(0x407)](_0x24f304[_0x3ea24f]), delete _0x24f304[_0x3ea24f]; + else { + for (var _0x3737d8 in _0x24f304) this[_0x473a65(0x33a) + _0x473a65(0x407)](_0x24f304[_0x3737d8]); + this[_0x473a65(0x57c)] = null; + } + return this; + } [_0x4e55fc(0x346) + 'er'](_0x47b9f0) { + const _0x3ea879 = _0x4e55fc; + if (_0x47b9f0 && this[_0x3ea879(0x57c)]) { + for (var _0x7bb35b in this[_0x3ea879(0x57c)]) this[_0x3ea879(0x361)](_0x7bb35b, _0x47b9f0, null); + } + return this; + } ['_recoverHa' + 'ndlers'](_0x2cabb8) { + const _0xb653d = _0x4e55fc; + if (_0x2cabb8) { + if (_0x2cabb8[_0xb653d(0x1f0)]) _0x2cabb8[_0xb653d(0x599)](); + else { + for (var _0x2bfb17 = _0x2cabb8[_0xb653d(0x33e)] - 0x1; _0x2bfb17 > -0x1; _0x2bfb17--) _0x2cabb8[_0x2bfb17] && (_0x2cabb8[_0x2bfb17][_0xb653d(0x599)](), _0x2cabb8[_0x2bfb17] = null); + } + } + } + }; + class _0x17e893 { + constructor(_0x181447 = null, _0x2cab08 = null, _0x360221 = null, _0x3d72fd = !0x1) { + const _0x35cd2f = _0x4e55fc; + this[_0x35cd2f(0x6fa)] = !0x1, this[_0x35cd2f(0x474)] = 0x0, this[_0x35cd2f(0x1f7)](_0x181447, _0x2cab08, _0x360221, _0x3d72fd); + } [_0x4e55fc(0x1f7)](_0x21c3f5, _0x7190da, _0x88fa2f, _0x171f28 = !0x1) { + const _0x19ebee = _0x4e55fc; + return this[_0x19ebee(0x474)] = _0x17e893[_0x19ebee(0x67c)]++, this[_0x19ebee(0x82f)] = _0x21c3f5, this[_0x19ebee(0x2f1)] = _0x7190da, this[_0x19ebee(0x4b4)] = _0x88fa2f, this['once'] = _0x171f28, this; + } ['run']() { + const _0x188002 = _0x4e55fc; + if (null == this[_0x188002(0x2f1)]) return null; + var _0x43ba14 = this['_id'], + _0x127360 = this[_0x188002(0x2f1)][_0x188002(0x28a)](this[_0x188002(0x82f)], this['args']); + return this[_0x188002(0x474)] === _0x43ba14 && this[_0x188002(0x6fa)] && this['recover'](), _0x127360; + } [_0x4e55fc(0x7bc)](_0x1bcdd2) { + const _0x2df46b = _0x4e55fc; + if (null == this[_0x2df46b(0x2f1)]) return null; + var _0x33cf6c = this[_0x2df46b(0x474)]; + if (null == _0x1bcdd2) var _0x37ec87 = this['method'][_0x2df46b(0x28a)](this[_0x2df46b(0x82f)], this[_0x2df46b(0x4b4)]); + else _0x37ec87 = this[_0x2df46b(0x4b4)] || _0x1bcdd2[_0x2df46b(0x421)] ? this[_0x2df46b(0x4b4)] ? this['method'][_0x2df46b(0x28a)](this[_0x2df46b(0x82f)], this[_0x2df46b(0x4b4)]['concat'](_0x1bcdd2)) : this[_0x2df46b(0x2f1)][_0x2df46b(0x28a)](this[_0x2df46b(0x82f)], _0x1bcdd2) : this[_0x2df46b(0x2f1)][_0x2df46b(0x4bc)](this[_0x2df46b(0x82f)], _0x1bcdd2); + return this[_0x2df46b(0x474)] === _0x33cf6c && this[_0x2df46b(0x6fa)] && this[_0x2df46b(0x599)](), _0x37ec87; + } [_0x4e55fc(0x5cf)]() { + const _0x2b7e2f = _0x4e55fc; + return this[_0x2b7e2f(0x82f)] = null, this['method'] = null, this[_0x2b7e2f(0x4b4)] = null, this; + } ['recover']() { + const _0x2fa3a4 = _0x4e55fc; + this[_0x2fa3a4(0x474)] > 0x0 && (this[_0x2fa3a4(0x474)] = 0x0, _0x17e893[_0x2fa3a4(0x819)][_0x2fa3a4(0x2c4)](this[_0x2fa3a4(0x5cf)]())); + } + static[_0x4e55fc(0x36d)](_0x73ef5a, _0x36343e, _0x4d0b31 = null, _0x281e78 = !0x0) { + const _0x2f3c6a = _0x4e55fc; + return _0x17e893[_0x2f3c6a(0x819)]['length'] ? _0x17e893[_0x2f3c6a(0x819)][_0x2f3c6a(0x753)]()[_0x2f3c6a(0x1f7)](_0x73ef5a, _0x36343e, _0x4d0b31, _0x281e78) : new _0x17e893(_0x73ef5a, _0x36343e, _0x4d0b31, _0x281e78); + } + } + _0x17e893[_0x4e55fc(0x819)] = [], _0x17e893[_0x4e55fc(0x67c)] = 0x1; + class _0x526d55 extends _0x17e893 { + constructor(_0x2d1178, _0x5d360e, _0x2e4fe2, _0x736b80) { + super(_0x2d1178, _0x5d360e, _0x2e4fe2, _0x736b80); + } [_0x4e55fc(0x599)]() { + const _0x1588f5 = _0x4e55fc; + this[_0x1588f5(0x474)] > 0x0 && (this['_id'] = 0x0, _0x526d55[_0x1588f5(0x819)][_0x1588f5(0x2c4)](this[_0x1588f5(0x5cf)]())); + } + static[_0x4e55fc(0x36d)](_0x32055e, _0x2e6854, _0x257497 = null, _0x2c03a9 = !0x0) { + const _0x8604b5 = _0x4e55fc; + return _0x526d55[_0x8604b5(0x819)][_0x8604b5(0x33e)] ? _0x526d55[_0x8604b5(0x819)][_0x8604b5(0x753)]()[_0x8604b5(0x1f7)](_0x32055e, _0x2e6854, _0x257497, _0x2c03a9) : new _0x526d55(_0x32055e, _0x2e6854, _0x257497, _0x2c03a9); + } + } + _0x526d55[_0x4e55fc(0x819)] = []; + }, + 0x2235: (_0x537166, _0x4d3150) => { + 'use strict'; + const _0x215bf6 = _0xb80e; + Object[_0x215bf6(0x501) + 'erty'](_0x4d3150, '__esModule', { + 'value': !0x0 + }), _0x4d3150[_0x215bf6(0x327)] = void 0x0, _0x4d3150[_0x215bf6(0x327)] = class { + static['getInstanc' + 'e']() { + const _0x53884b = _0x215bf6; + return this[_0x53884b(0x615)] || (this[_0x53884b(0x615)] = new this()), this['instance']; + } + }; + }, + 0xf43: (_0x5a7c92, _0x57a66e) => { + 'use strict'; + const _0x5027a4 = _0xb80e; + Object[_0x5027a4(0x501) + _0x5027a4(0x6a8)](_0x57a66e, '__esModule', { + 'value': !0x0 + }), _0x57a66e['default'] = class { + constructor() { + const _0x247ad4 = _0x5027a4; + this[_0x247ad4(0x202)] = 0x64, this[_0x247ad4(0x687) + 't'] = {}, this[_0x247ad4(0x23b)] = !0x1, this[_0x247ad4(0x414)] = !0x1; + } [_0x5027a4(0x78f)]() { + this['_context'] = new AudioContext(); + } + get[_0x5027a4(0x23f)]() { + return this['_context']; + } [_0x5027a4(0x1d9)]() { + const _0x5ce6c4 = _0x5027a4; + return _0x5ce6c4(0x432) === this['_context'][_0x5ce6c4(0x3c5)]; + } ['suspend']() { + const _0x4bf752 = _0x5027a4; + this[_0x4bf752(0x85b)]['suspend'](), setTimeout(() => { + this['_context']['suspend'](); + }, 0x64); + } ['resume']() { + const _0xe487df = _0x5027a4; + if (!this[_0xe487df(0x414)]) return this[_0xe487df(0x85b)]['resume'](); + } + set['volume'](_0x293f52) { + const _0x4a387d = _0x5027a4; + this[_0x4a387d(0x202)] = _0x293f52; + for (const _0xec8861 of Object['values'](this[_0x4a387d(0x687) + 't'])) _0xec8861[_0x4a387d(0x45d)] = this[_0x4a387d(0x202)]; + } + get[_0x5027a4(0x45d)]() { + const _0x221ea8 = _0x5027a4; + return this[_0x221ea8(0x202)]; + } [_0x5027a4(0x1aa)](_0x427f6f) { + const _0x5657b8 = _0x5027a4, + _0x34ef90 = this[_0x5657b8(0x687) + 't'][_0x427f6f]; + if (_0x34ef90) try { + _0x34ef90['init'](); + } catch (_0x80c230) { + console['error']('playBuffer' + _0x5657b8(0x626) + _0x5657b8(0x6d4) + _0x80c230); + } else this[_0x5657b8(0x6db)](_0x427f6f); + } [_0x5027a4(0x315)](_0x1e6b85) { + const _0x4dcd25 = _0x5027a4, + _0x3db7c3 = this[_0x4dcd25(0x687) + 't'][_0x1e6b85]; + _0x3db7c3 && _0x3db7c3['disconnect'](); + } [_0x5027a4(0x48c)]() { + const _0x59dda8 = _0x5027a4; + for (const _0x100d4d of Object[_0x59dda8(0x652)](this[_0x59dda8(0x687) + 't'])) _0x100d4d[_0x59dda8(0x5e9)](); + } [_0x5027a4(0x6db)](_0x18f54d) { + return new Promise((_0x2fd9f4, _0x19bbd4) => { + const _0x423c62 = _0xb80e; + if (this[_0x423c62(0x687) + 't'][_0x18f54d]) return void _0x2fd9f4(); + const _0x363118 = this; + var _0x497a23 = new XMLHttpRequest(); + _0x497a23[_0x423c62(0x27f)](_0x423c62(0x57f), _0x18f54d, !0x0), _0x497a23[_0x423c62(0x22c) + 'pe'] = _0x423c62(0x4d2) + 'r', _0x497a23[_0x423c62(0x303)] = function () { + const _0x229152 = _0x423c62; + if (0xc8 !== _0x497a23[_0x229152(0x7db)] && 0x0 !== _0x497a23[_0x229152(0x7db)]) throw _0x229152(0x767) + 'e'; + _0x363118[_0x229152(0x23f)]['decodeAudi' + _0x229152(0x768)](_0x497a23['response'], function (_0x1b2043) { + const _0x4982b4 = _0x229152, + _0x471705 = new _0x5a6a4f(_0x363118[_0x4982b4(0x23f)]); + _0x471705['loop'] = _0x363118[_0x4982b4(0x23b)], _0x471705[_0x4982b4(0x4b0)] = _0x1b2043, _0x363118[_0x4982b4(0x687) + 't'][_0x18f54d] = _0x471705, _0x471705['init'](), _0x471705[_0x4982b4(0x45d)] = _0x363118['volume']; + }, function (_0x295c46) { + const _0x479755 = _0x229152; + console['log']('Decode err' + _0x479755(0x814) + _0x18f54d); + }), _0x2fd9f4(); + }, _0x497a23['onerror'] = function () { + throw _0x2fd9f4(), 'no respons' + 'e'; + }, _0x497a23[_0x423c62(0x376)] = function () { + _0x2fd9f4(); + }, _0x497a23[_0x423c62(0x891)] = function () { + _0x2fd9f4(); + }, _0x497a23[_0x423c62(0x5b0)](null); + }); + } + }; + class _0x5a6a4f { + constructor(_0x3e54ba) { + const _0x3cd5a3 = _0x5027a4; + this[_0x3cd5a3(0x385)] = !0x1, this[_0x3cd5a3(0x764)] = !0x0, this[_0x3cd5a3(0x23b)] = !0x1, this[_0x3cd5a3(0x202)] = 0x64, this[_0x3cd5a3(0x23f)] = _0x3e54ba, this['gain'] = this[_0x3cd5a3(0x23f)][_0x3cd5a3(0x595)](), this[_0x3cd5a3(0x313)][_0x3cd5a3(0x2bd)](this[_0x3cd5a3(0x23f)][_0x3cd5a3(0x471) + 'n']); + } [_0x5027a4(0x78f)]() { + const _0x4658d8 = _0x5027a4; + this['ended'] = !0x1, this[_0x4658d8(0x488)](), this[_0x4658d8(0x461)][_0x4658d8(0x4b0)] = this[_0x4658d8(0x4b0)], this[_0x4658d8(0x461)][_0x4658d8(0x23b)] = this[_0x4658d8(0x23b)], this[_0x4658d8(0x461)][_0x4658d8(0x1f1)](this[_0x4658d8(0x23f)][_0x4658d8(0x531) + 'e']); + } ['setup']() { + const _0x40cf35 = _0x5027a4; + this[_0x40cf35(0x5e9)](), this[_0x40cf35(0x461)] = this['context'][_0x40cf35(0x252) + 'erSource'](), this[_0x40cf35(0x461)]['connect'](this['gain']); + } [_0x5027a4(0x5e9)]() { + const _0x2f9b13 = _0x5027a4; + this[_0x2f9b13(0x461)] && this[_0x2f9b13(0x461)][_0x2f9b13(0x5e9)](), this[_0x2f9b13(0x461)] = null; + } + set[_0x5027a4(0x45d)](_0x5ad26b) { + const _0xeaf5 = _0x5027a4; + this[_0xeaf5(0x202)] = _0x5ad26b, this[_0xeaf5(0x313)][_0xeaf5(0x313)][_0xeaf5(0x2a7)] = this[_0xeaf5(0x202)] / 0x64; + } + get[_0x5027a4(0x45d)]() { + const _0x23646d = _0x5027a4; + return this[_0x23646d(0x202)]; + } + } + }, + 0x1c97: function (_0x2f1fe4, _0x4c38e9, _0x4df5fd) { + 'use strict'; + const _0x4cb540 = _0xb80e; + var _0x32e957 = this && this[_0x4cb540(0x343) + _0x4cb540(0x3a7)] || function (_0x3fce2d) { + const _0x25face = _0x4cb540; + return _0x3fce2d && _0x3fce2d[_0x25face(0x772)] ? _0x3fce2d : { + 'default': _0x3fce2d + }; + }; + Object[_0x4cb540(0x501) + _0x4cb540(0x6a8)](_0x4c38e9, _0x4cb540(0x772), { + 'value': !0x0 + }); + const _0x721be = _0x32e957(_0x4df5fd(0x109)), + _0x3d9441 = _0x32e957(_0x4df5fd(0x1c4e)), + _0x118b34 = _0x32e957(_0x4df5fd(0x1588)), + _0x5c748f = _0x4df5fd(0x2235), + _0x723e8e = _0x32e957(_0x4df5fd(0xf43)); + class _0x47ffe4 extends _0x5c748f[_0x4cb540(0x327)] { + constructor() { + const _0x200fc2 = _0x4cb540; + super(...arguments), this[_0x200fc2(0x431)] = !0x1, this[_0x200fc2(0x477)] = -0x1, this[_0x200fc2(0x397)] = !0x1, this[_0x200fc2(0x698) + 'd'] = !0x1, this[_0x200fc2(0x371)] = !0x1; + } [_0x4cb540(0x78f)]() { + const _0x1703a8 = _0x4cb540; + if (!this[_0x1703a8(0x371)]) { + this[_0x1703a8(0x371)] = !0x0; + try { + window[_0x1703a8(0x534) + 'xt'] = window[_0x1703a8(0x534) + 'xt'] || window[_0x1703a8(0x3e8) + _0x1703a8(0x48e)], this[_0x1703a8(0x58c)] = new _0x723e8e[(_0x1703a8(0x395))](), this['music'][_0x1703a8(0x78f)](), this[_0x1703a8(0x58c)][_0x1703a8(0x23b)] = !0x0, this['sound'] = new _0x723e8e[(_0x1703a8(0x395))](), this['sound']['init'](), window[_0x1703a8(0x829)][_0x1703a8(0x77f) + _0x1703a8(0x564)](_0x1703a8(0x2e9), () => { + setTimeout(() => { + const _0x50fcc5 = _0xb80e; + _0x721be[_0x50fcc5(0x395)][_0x50fcc5(0x4e4)] || this[_0x50fcc5(0x503)](); + }, 0x64); + }, !0x0), window[_0x1703a8(0x829)][_0x1703a8(0x77f) + 'stener'](_0x1703a8(0x7df), () => { + setTimeout(() => { + const _0x2c1304 = _0xb80e; + _0x721be[_0x2c1304(0x395)]['isShowAD'] || this['resume'](); + }, 0x64); + }, !0x0), window['document'][_0x1703a8(0x77f) + 'stener'](_0x1703a8(0x76f) + _0x1703a8(0x491), this[_0x1703a8(0x563) + 'bility']['bind'](this)), this[_0x1703a8(0x58c)][_0x1703a8(0x23f)][_0x1703a8(0x707) + _0x1703a8(0x7c1)] = this[_0x1703a8(0x789) + 'e']['bind'](this), this[_0x1703a8(0x6ff)][_0x1703a8(0x23f)][_0x1703a8(0x707) + 'nge'] = this[_0x1703a8(0x789) + 'e'][_0x1703a8(0x570)](this), this['enabled'] = !0x0, this[_0x1703a8(0x58c)][_0x1703a8(0x45d)] = 0x3c, this[_0x1703a8(0x503)](); + } catch (_0x4aa604) { + this['enabled'] = !0x1, console[_0x1703a8(0x7ec)](_0x1703a8(0x54d) + _0x1703a8(0x86e), _0x4aa604), alert(_0x1703a8(0x54d) + _0x1703a8(0x7f7) + _0x1703a8(0x69d) + _0x1703a8(0x44e) + _0x1703a8(0x556)); + } + } + } [_0x4cb540(0x503)]() { + const _0x22e66d = _0x4cb540; + _0x721be[_0x22e66d(0x395)][_0x22e66d(0x4e4)] || this[_0x22e66d(0x414)] || this['_muted'] || _0x721be[_0x22e66d(0x395)][_0x22e66d(0x414)] || (this['music'][_0x22e66d(0x1d9)]() && this[_0x22e66d(0x58c)][_0x22e66d(0x503)](), this[_0x22e66d(0x6ff)][_0x22e66d(0x1d9)]() && this[_0x22e66d(0x6ff)][_0x22e66d(0x503)](), this[_0x22e66d(0x58c)][_0x22e66d(0x1d9)]() && this[_0x22e66d(0x6ff)][_0x22e66d(0x1d9)]() || (window[_0x22e66d(0x829)][_0x22e66d(0x370) + _0x22e66d(0x631)](_0x22e66d(0x2e9), this[_0x22e66d(0x503)][_0x22e66d(0x570)](this), !0x0), window['document'][_0x22e66d(0x370) + 'tListener'](_0x22e66d(0x7df), this[_0x22e66d(0x503)][_0x22e66d(0x570)](this), !0x0), clearInterval(this['resumeId']), this[_0x22e66d(0x477)] = -0x1)); + } ['changeStat' + 'e']() { + const _0x5cf5af = _0x4cb540; + !this['_muted'] && -0x1 == this[_0x5cf5af(0x477)] && (this[_0x5cf5af(0x58c)][_0x5cf5af(0x1d9)]() && !this[_0x5cf5af(0x58c)]['pause'] || this['sound'][_0x5cf5af(0x1d9)]() && !this['sound'][_0x5cf5af(0x414)]) && (window[_0x5cf5af(0x829)][_0x5cf5af(0x77f) + _0x5cf5af(0x564)](_0x5cf5af(0x2e9), this[_0x5cf5af(0x503)]['bind'](this), !0x0), window[_0x5cf5af(0x829)][_0x5cf5af(0x77f) + 'stener'](_0x5cf5af(0x7df), this[_0x5cf5af(0x503)][_0x5cf5af(0x570)](this), !0x0), this[_0x5cf5af(0x477)] = setInterval(this[_0x5cf5af(0x503)]['bind'](this), 0xc8)); + } [_0x4cb540(0x563) + _0x4cb540(0x1de)]() { + const _0x44c290 = _0x4cb540; + _0x721be[_0x44c290(0x395)]['isShowAD'] || (_0x44c290(0x42e) == document[_0x44c290(0x76f) + 'State'] ? (this[_0x44c290(0x88e)] || (this[_0x44c290(0x698) + 'd'] = this[_0x44c290(0x88e)] = !0x0), _0x44c290(0x54c) != typeof Laya && _0x118b34['default'][_0x44c290(0x640) + 'imerOnVisi' + _0x44c290(0x5e0) + 'ge'] && (_0x3d9441[_0x44c290(0x395)]['pause'](), Laya[_0x44c290(0x436)]['renderingE' + _0x44c290(0x2bf)] = !0x1, Laya[_0x44c290(0x6a5) + 'r'] && Laya[_0x44c290(0x6a5) + 'r'][_0x44c290(0x414)](), Laya[_0x44c290(0x204) + 'er'] && Laya[_0x44c290(0x204) + 'er']['pause']())) : _0x44c290(0x1dd) == document[_0x44c290(0x76f) + _0x44c290(0x65f)] && (this['hiddenMute' + 'd'] && (this['hiddenMute' + 'd'] = this[_0x44c290(0x88e)] = !0x1), _0x44c290(0x54c) != typeof Laya && _0x118b34[_0x44c290(0x395)][_0x44c290(0x640) + _0x44c290(0x4a0) + _0x44c290(0x5e0) + 'ge'] && (_0x3d9441[_0x44c290(0x395)][_0x44c290(0x503)](), Laya[_0x44c290(0x436)][_0x44c290(0x5bc) + 'nabled'] = !0x0, Laya[_0x44c290(0x6a5) + 'r'] && Laya['updateTime' + 'r'][_0x44c290(0x503)](), Laya[_0x44c290(0x204) + 'er'] && Laya['physicsTim' + 'er'][_0x44c290(0x503)]()))); + } + get[_0x4cb540(0x414)]() { + const _0x17aecc = _0x4cb540; + return _0x721be[_0x17aecc(0x395)][_0x17aecc(0x414)]; + } + set[_0x4cb540(0x414)](_0x3c748c) { + const _0x3c1d9a = _0x4cb540; + this[_0x3c1d9a(0x4a3)] = _0x3c748c, this[_0x3c1d9a(0x3f4)] = _0x3c748c, _0x721be[_0x3c1d9a(0x395)][_0x3c1d9a(0x414)] = _0x3c748c; + } + get[_0x4cb540(0x4a3)]() { + const _0x33781a = _0x4cb540; + return this['music'][_0x33781a(0x1d9)](); + } + set[_0x4cb540(0x4a3)](_0x1b1328) { + const _0x4d198f = _0x4cb540; + this[_0x4d198f(0x58c)][_0x4d198f(0x414)] = _0x1b1328, _0x1b1328 ? this[_0x4d198f(0x58c)][_0x4d198f(0x743)]() : this[_0x4d198f(0x88e)] || this[_0x4d198f(0x58c)][_0x4d198f(0x503)](); + } + get[_0x4cb540(0x3f4)]() { + const _0x44496d = _0x4cb540; + return this[_0x44496d(0x6ff)][_0x44496d(0x1d9)](); + } + set['pauseSound'](_0x48877b) { + const _0x4b931c = _0x4cb540; + this[_0x4b931c(0x6ff)][_0x4b931c(0x414)] = _0x48877b, _0x48877b ? this[_0x4b931c(0x6ff)][_0x4b931c(0x743)]() : this['muted'] || this['sound'][_0x4b931c(0x503)](); + } + set['muted'](_0x3948b2) { + const _0x10e719 = _0x4cb540; + this[_0x10e719(0x431)] = _0x3948b2, this[_0x10e719(0x431)] ? (this[_0x10e719(0x58c)][_0x10e719(0x743)](), this[_0x10e719(0x6ff)]['suspend']()) : -0x1 == this[_0x10e719(0x477)] && (this['resumeId'] = setInterval(this[_0x10e719(0x503)][_0x10e719(0x570)](this), 0xc8)); + } + get[_0x4cb540(0x88e)]() { + const _0x7cbb2d = _0x4cb540; + return this[_0x7cbb2d(0x431)]; + } [_0x4cb540(0x34c)](_0x242594) { + const _0x34d099 = _0x4cb540; + _0x721be[_0x34d099(0x395)][_0x34d099(0x414)] || this['music'][_0x34d099(0x1aa)](_0x242594); + } [_0x4cb540(0x677)]() { + const _0x225170 = _0x4cb540; + this[_0x225170(0x58c)][_0x225170(0x48c)](); + } ['playSound'](_0x25447d) { + const _0xd67a2a = _0x4cb540; + _0x721be[_0xd67a2a(0x395)][_0xd67a2a(0x414)] || this['sound']['play'](_0x25447d); + } [_0x4cb540(0x192)]() { + this['sound']['stopAll'](); + } + } + _0x4c38e9[_0x4cb540(0x395)] = _0x47ffe4; + }, + 0x7bc: function (_0x25d641, _0x45a87e, _0x19aca0) { + 'use strict'; + const _0x2822a6 = _0xb80e; + var _0x14455e = this && this[_0x2822a6(0x343) + _0x2822a6(0x3a7)] || function (_0x166def) { + const _0x5e25f1 = _0x2822a6; + return _0x166def && _0x166def[_0x5e25f1(0x772)] ? _0x166def : { + 'default': _0x166def + }; + }; + Object[_0x2822a6(0x501) + 'erty'](_0x45a87e, _0x2822a6(0x772), { + 'value': !0x0 + }); + const _0x219564 = _0x14455e(_0x19aca0(0x109)), + _0x4c0033 = _0x14455e(_0x19aca0(0x1c5c)); + class _0x108185 { + static[_0x2822a6(0x78f)](_0xf24fbd, _0x25556c) { + const _0x33f886 = _0x2822a6; + if (this[_0x33f886(0x371)]) return; + this['inited'] = !0x0, window[_0x33f886(0x6f0)] = window[_0x33f886(0x6f0)] || [], window[_0x33f886(0x532)] = window[_0x33f886(0x532)] || function () { + const _0x397cfa = _0x33f886; + window[_0x397cfa(0x6f0)]['push'](arguments); + }, gtag('js', new Date()), gtag(_0x33f886(0x62b), _0xf24fbd), gtag(_0x33f886(0x5b7), { + 'cookie_flags': 'SameSite=N' + _0x33f886(0x429) + }); + const _0x34ba37 = document[_0x33f886(0x81d) + _0x33f886(0x871)](_0x33f886(0x1bb)); + return _0x34ba37[_0x33f886(0x303)] = function () { + const _0x42f99c = _0x33f886; + _0x108185[_0x42f99c(0x853)](_0x42f99c(0x6ac)); + }, _0x34ba37[_0x33f886(0x7ae)] = !0x0, _0x34ba37[_0x33f886(0x318)] = _0x33f886(0x88f) + 'w.googleta' + _0x33f886(0x2b3) + _0x33f886(0x7bb) + _0x33f886(0x434) + _0xf24fbd, document[_0x33f886(0x451)][_0x33f886(0x76a) + 'd'](_0x34ba37), this[_0x33f886(0x803)](_0x33f886(0x76d) + _0x33f886(0x833), () => _0x4c0033[_0x33f886(0x395)][_0x33f886(0x55a)](document['referrer'])), this[_0x33f886(0x803)]('event_labe' + 'l', () => _0x219564[_0x33f886(0x395)][_0x33f886(0x668)] + '-' + _0x219564[_0x33f886(0x395)][_0x33f886(0x423)]), this[_0x33f886(0x803)]('event_call' + _0x33f886(0x520), () => function () {}), _0x25556c && _0x25556c(), !0x0; + } + static[_0x2822a6(0x803)](_0x1cc84b, _0x3ba7de) { + this['mp']['set'](_0x1cc84b, _0x3ba7de); + } + static['event'](_0x47c601, _0x27ca57) { + const _0x315de1 = _0x2822a6; + _0x27ca57 = _0x27ca57 || {}; + for (const [_0x572f76, _0x167dbb] of this['mp'][_0x315de1(0x541)]()) !_0x27ca57[_0x572f76] && _0x167dbb && (_0x27ca57[_0x572f76] = _0x167dbb()); + gtag(_0x315de1(0x853), _0x47c601, _0x27ca57); + } + } + _0x45a87e[_0x2822a6(0x395)] = _0x108185, _0x108185['inited'] = !0x1, _0x108185['mp'] = new Map(); + }, + 0x22bd: (_0x2d4774, _0x2c5f48) => { + 'use strict'; + const _0x47122d = _0xb80e; + var _0x5468a9, _0x12f623; + Object[_0x47122d(0x501) + 'erty'](_0x2c5f48, _0x47122d(0x772), { + 'value': !0x0 + }), _0x2c5f48['ENV'] = _0x2c5f48['OS'] = void 0x0, (_0x12f623 = _0x2c5f48['OS'] || (_0x2c5f48['OS'] = {}))['UNKNOWN'] = _0x47122d(0x3ec), _0x12f623['IOS'] = _0x47122d(0x515), _0x12f623[_0x47122d(0x630)] = 'Android', _0x12f623['PC'] = 'PC', (_0x5468a9 = _0x2c5f48['ENV'] || (_0x2c5f48[_0x47122d(0x32f)] = {}))[_0x5468a9['PRE'] = 0x0] = 'PRE', _0x5468a9[_0x5468a9['YAD'] = 0x1] = _0x47122d(0x587), _0x5468a9[_0x5468a9['YIV'] = 0x2] = _0x47122d(0x6af), _0x5468a9[_0x5468a9[_0x47122d(0x6da)] = 0x3] = _0x47122d(0x6da), _0x5468a9[_0x5468a9[_0x47122d(0x702)] = 0x4] = _0x47122d(0x702), _0x5468a9[_0x5468a9[_0x47122d(0x437)] = 0x5] = _0x47122d(0x437), _0x5468a9[_0x5468a9['BESTGAMES'] = 0x6] = 'BESTGAMES', _0x5468a9[_0x5468a9[_0x47122d(0x6ea)] = 0x7] = _0x47122d(0x6ea), _0x5468a9[_0x5468a9['J4'] = 0x8] = 'J4', _0x5468a9[_0x5468a9[_0x47122d(0x487)] = 0x9] = 'OTHER', _0x5468a9[_0x5468a9['JUMP'] = 0xa] = 'JUMP'; + }, + 0x1588: (_0x44d0e2, _0x3c434a, _0x267071) => { + 'use strict'; + const _0x9c22ca = _0xb80e; + Object[_0x9c22ca(0x501) + _0x9c22ca(0x6a8)](_0x3c434a, _0x9c22ca(0x772), { + 'value': !0x0 + }); + const _0x48192d = _0x267071(0x22bd); + class _0x45c961 { + static[_0x9c22ca(0x78f)]() { + const _0x14ec33 = _0x9c22ca; + if (this[_0x14ec33(0x371)]) return; + this[_0x14ec33(0x371)] = !0x0; + const _0x5449ee = window['navigator'][_0x14ec33(0x7f5)], + _0x51adcb = _0x5449ee[_0x14ec33(0x80b)](_0x14ec33(0x3c9)) > -0x1, + _0x520ab1 = _0x5449ee['indexOf'](_0x14ec33(0x6e0)) > -0x1 || _0x5449ee[_0x14ec33(0x80b)](_0x14ec33(0x400)) > -0x1; + _0x5449ee[_0x14ec33(0x846)](/\(i[^;]+;( U;)? CPU.+Mac OS X/), this['os'] = _0x51adcb ? _0x520ab1 ? _0x48192d['OS'][_0x14ec33(0x630)] : _0x48192d['OS'][_0x14ec33(0x58d)] : _0x48192d['OS']['PC'], self != top && (this[_0x14ec33(0x537)] = !0x0); + let _0x2d84d6 = location[_0x14ec33(0x55a)]; + if (this['iframe']) { + try { + _0x2d84d6 = top[_0x14ec33(0x89d)][_0x14ec33(0x827)]; + } catch (_0xbaa6ab) { + try { + const _0x549b2a = location['ancestorOr' + 'igins']['length']; + _0x2d84d6 = _0x549b2a > 0x1 ? location[_0x14ec33(0x835) + _0x14ec33(0x3e4)][_0x549b2a - 0x1] : document[_0x14ec33(0x42f)]; + } catch (_0x4b1908) { + try { + _0x2d84d6 = document['referrer']; + } catch (_0x211346) { + try { + _0x2d84d6 = location['hostname']; + } catch (_0x2d41c7) {} + } + } + } + this[_0x14ec33(0x42f)] = new URL(_0x2d84d6)[_0x14ec33(0x55a)]; + } else '' == document[_0x14ec33(0x42f)] ? this[_0x14ec33(0x42f)] = location['hostname'] : this[_0x14ec33(0x42f)] = new URL(document[_0x14ec33(0x42f)])[_0x14ec33(0x55a)]; + const _0x25f14d = this['referrer']; + [_0x14ec33(0x306), _0x14ec33(0x307), '127.0.0.1', _0x14ec33(0x3a9), _0x14ec33(0x3c1) + _0x14ec33(0x7ea) + 't', _0x14ec33(0x6bb) + 'mes-test', 'meenagames' + _0x14ec33(0x2d1), _0x14ec33(0x3c3) + _0x14ec33(0x3a4) + _0x14ec33(0x502), _0x14ec33(0x465) + _0x14ec33(0x34f) + _0x14ec33(0x645), 'dreamtowng' + 'ame.online']['find'](_0x30b5ff => _0x25f14d[_0x14ec33(0x80b)](_0x30b5ff) > -0x1) ? this['env'] = _0x48192d['ENV'][_0x14ec33(0x79a)]: (this[_0x14ec33(0x80a)] = _0x48192d[_0x14ec33(0x32f)][_0x14ec33(0x487)], _0x25f14d[_0x14ec33(0x80b)](_0x14ec33(0x32c)) > -0x1 && (this[_0x14ec33(0x80a)] = _0x48192d['ENV']['YAD']), _0x25f14d[_0x14ec33(0x80b)](_0x14ec33(0x4f3)) > -0x1 && (this['env'] = _0x48192d[_0x14ec33(0x32f)][_0x14ec33(0x6af)]), _0x25f14d[_0x14ec33(0x80b)](_0x14ec33(0x314) + '.com') > -0x1 && (this['env'] = _0x48192d[_0x14ec33(0x32f)][_0x14ec33(0x6da)]), _0x25f14d[_0x14ec33(0x80b)](_0x14ec33(0x5ca) + 'com') > -0x1 && (this[_0x14ec33(0x80a)] = _0x48192d[_0x14ec33(0x32f)]['BABYGAMES']), _0x25f14d[_0x14ec33(0x80b)](_0x14ec33(0x776) + 'om') > -0x1 && (this[_0x14ec33(0x80a)] = _0x48192d['ENV'][_0x14ec33(0x437)]), _0x25f14d[_0x14ec33(0x80b)](_0x14ec33(0x796) + _0x14ec33(0x7c9)) > -0x1 && (this[_0x14ec33(0x80a)] = _0x48192d[_0x14ec33(0x32f)][_0x14ec33(0x655)]), _0x25f14d['indexOf'](_0x14ec33(0x459) + 'om') > -0x1 && (this[_0x14ec33(0x80a)] = _0x48192d[_0x14ec33(0x32f)][_0x14ec33(0x6ea)]), _0x25f14d[_0x14ec33(0x80b)](_0x14ec33(0x428)) > -0x1 && (this[_0x14ec33(0x80a)] = _0x48192d[_0x14ec33(0x32f)]['J4'])); + } + } + _0x3c434a[_0x9c22ca(0x395)] = _0x45c961, _0x45c961[_0x9c22ca(0x371)] = !0x1, _0x45c961['aotuPauseT' + _0x9c22ca(0x4a0) + 'bilityChan' + 'ge'] = !0x0, _0x45c961[_0x9c22ca(0x537)] = !0x1, _0x45c961[_0x9c22ca(0x480)] = !0x1, _0x45c961[_0x9c22ca(0x42f)] = ''; + }, + 0x43b: (_0x39eff0, _0x198db8) => { + 'use strict'; + const _0xc014ac = _0xb80e; + Object['defineProp' + _0xc014ac(0x6a8)](_0x198db8, _0xc014ac(0x772), { + 'value': !0x0 + }), _0x198db8[_0xc014ac(0x395)] = class { + static[_0xc014ac(0x28d)](_0x4d4122, ..._0x480af7) { + const _0x2c006e = _0xc014ac; + for (var _0x6d5058, _0x3eeb70, _0x50f2d2, _0x4a7b43, _0x40cbc5, _0x538eea, _0xded6b2, _0x2e225e, _0x4c4629 = ['([^%]*)', '%', _0x2c006e(0x522) + _0x2c006e(0x6e4), '([1-9]\\d*)' + '?', _0x2c006e(0x604) + _0x2c006e(0x46f), _0x2c006e(0x86b), _0x2c006e(0x457) + 'eEgGaAcCsS' + _0x2c006e(0x24b)][_0x2c006e(0x493)](''), _0x378230 = new RegExp(_0x4c4629), _0x3f45ea = Array[_0x2c006e(0x739)]['slice']['call'](arguments, 0x1), _0x47adc0 = _0x4d4122, _0x1acdac = ''; null !== (_0x2e225e = _0x378230['exec'](_0x47adc0));) + if (_0x1acdac += _0x2e225e[0x1], _0x47adc0 = _0x47adc0[_0x2c006e(0x34d)](_0x2e225e[0x0]['length']), _0x2e225e[0x0][_0x2c006e(0x34d)](_0x2e225e[0x1]['length']), _0x2e225e[0x1][_0x2c006e(0x33e)], _0x2e225e[0x0][_0x2c006e(0x33e)], _0x6d5058 = _0x2e225e[0x2] || '', _0x3eeb70 = _0x2e225e[0x3] || 0x0, _0x2e225e[0x4], _0x4a7b43 = !0x1, _0x538eea = !0x1, _0x40cbc5 = ' ', '%' != (_0x50f2d2 = _0x2e225e[0x6])) switch (_0xded6b2 = _0x3f45ea[_0x2c006e(0x82b)](), _0x6d5058[_0x2c006e(0x846)](/-/) && (_0x4a7b43 = !0x0), _0x6d5058[_0x2c006e(0x846)](/0/) && (_0x40cbc5 = '0'), _0x6d5058[_0x2c006e(0x846)](/\+/) && (_0x538eea = !0x0), _0x50f2d2) { + case 's': + _0x1acdac += this[_0x2c006e(0x812)](_0x40cbc5, _0x3eeb70, _0x4a7b43, _0xded6b2[_0x2c006e(0x3a6)]()); + break; + case 'd': + _0xded6b2 = Math[_0x2c006e(0x39e)](_0xded6b2); + case 'f': + _0x1acdac += (_0x538eea = _0x538eea && _0xded6b2 > 0x0 ? '+' : '') + this[_0x2c006e(0x812)](_0x40cbc5, _0x3eeb70, _0x4a7b43, _0xded6b2[_0x2c006e(0x3a6)]()); + break; + case 'x': + _0x1acdac += this['doPad'](_0x40cbc5, _0x3eeb70, _0x4a7b43, _0xded6b2['toString'](0x10)); + break; + default: + throw _0x2c006e(0x81e) + _0x2c006e(0x7c5); + } else _0x1acdac += '%'; + return _0x1acdac + _0x47adc0; + } + static[_0xc014ac(0x812)](_0x469cdd, _0x16634b, _0x302ba3, _0x1f597c) { + const _0x520a3c = _0xc014ac; + for (var _0x5b9909 = _0x1f597c; _0x5b9909[_0x520a3c(0x33e)] < _0x16634b;) _0x302ba3 ? _0x5b9909 += _0x469cdd : _0x5b9909 = _0x469cdd + _0x5b9909; + return _0x5b9909; + } + }; + }, + 0x1c5c: function (_0x1dfdaf, _0x203684, _0x2d9e20) { + 'use strict'; + const _0x113099 = _0xb80e; + var _0x513839 = this && this[_0x113099(0x343) + _0x113099(0x3a7)] || function (_0x1d6a3e) { + return _0x1d6a3e && _0x1d6a3e['__esModule'] ? _0x1d6a3e : { + 'default': _0x1d6a3e + }; + }; + Object[_0x113099(0x501) + _0x113099(0x6a8)](_0x203684, _0x113099(0x772), { + 'value': !0x0 + }); + const _0x48ec07 = _0x513839(_0x2d9e20(0x1b83)), + _0x3bc958 = _0x513839(_0x2d9e20(0x10e7)); + _0x203684['default'] = class { + static['ga'](_0x481c6a) { + const _0x4519f3 = _0x113099, + _0x29702b = window; + _0x29702b['dataLayer'] = _0x29702b[_0x4519f3(0x6f0)] || [], _0x29702b[_0x4519f3(0x532)] = function (_0x1618fe, _0x2be904) { + const _0x1ea7dd = _0x4519f3; + _0x29702b[_0x1ea7dd(0x6f0)]['push'](arguments); + }, _0x29702b[_0x4519f3(0x532)]('js', new Date()), _0x29702b[_0x4519f3(0x532)](_0x4519f3(0x62b), _0x481c6a); + const _0xf2d36 = document[_0x4519f3(0x81d) + _0x4519f3(0x871)](_0x4519f3(0x1bb)); + _0xf2d36[_0x4519f3(0x7ae)] = !0x0, _0xf2d36[_0x4519f3(0x318)] = _0x4519f3(0x88f) + _0x4519f3(0x4a4) + 'gmanager.c' + _0x4519f3(0x7bb) + _0x4519f3(0x434) + _0x481c6a, document[_0x4519f3(0x451)][_0x4519f3(0x76a) + 'd'](_0xf2d36); + } + static['hostname'](_0x4250e3) { + const _0x3f095f = _0x113099; + try { + const _0x4a51fe = new URL(_0x4250e3)[_0x3f095f(0x55a)][_0x3f095f(0x1a0)]('.'), + _0x358bcc = _0x4a51fe[_0x3f095f(0x33e)] - 0x1, + _0x1d513b = _0x4a51fe['length'] >= 0x3 && (_0x4a51fe[_0x358bcc] + _0x4a51fe[_0x358bcc - 0x1])[_0x3f095f(0x33e)] <= 0x5; + return _0x4a51fe[_0x3f095f(0x6e7)](_0x1d513b ? -0x3 : -0x2)['join']('.'); + } catch (_0xc9c4c3) { + return location[_0x3f095f(0x827)]; + } + } + static[_0x113099(0x1e1)](..._0x38ae20) { + const _0x41e883 = _0x113099; + _0x3bc958[_0x41e883(0x395)][_0x41e883(0x610) + 'e']()[_0x41e883(0x1e1)](..._0x38ae20); + } + static[_0x113099(0x7db)](..._0x4d3ea8) { + const _0x167e22 = _0x113099; + _0x3bc958['default']['getInstanc' + 'e']()[_0x167e22(0x7db)](..._0x4d3ea8); + } + static[_0x113099(0x41c) + 'g']() { + const _0x20da1f = _0x113099; + _0x48ec07['default']['getInstanc' + 'e']()[_0x20da1f(0x41c) + 'g'](); + } + static[_0x113099(0x70c) + 'g']() { + const _0x312eb4 = _0x113099; + _0x48ec07[_0x312eb4(0x395)][_0x312eb4(0x610) + 'e']()[_0x312eb4(0x70c) + 'g'](); + } + }; + }, + 0x92e: function (_0x38c1d7, _0x8f222c, _0x12a5f8) { + 'use strict'; + const _0x41deb7 = _0xb80e; + var _0x4ffe46 = this && this[_0x41deb7(0x343) + _0x41deb7(0x3a7)] || function (_0x2af764) { + const _0x581260 = _0x41deb7; + return _0x2af764 && _0x2af764[_0x581260(0x772)] ? _0x2af764 : { + 'default': _0x2af764 + }; + }; + Object[_0x41deb7(0x501) + _0x41deb7(0x6a8)](_0x8f222c, _0x41deb7(0x772), { + 'value': !0x0 + }); + const _0x87ab9 = _0x4ffe46(_0x12a5f8(0x10e7)), + _0x113f3e = _0x4ffe46(_0x12a5f8(0x1b83)); + _0x8f222c['default'] = class { + static['setLoading' + 'Alpha'](_0x3fcb1b) { + const _0x6d0317 = _0x41deb7; + _0x113f3e[_0x6d0317(0x395)]['getInstanc' + 'e']()[_0x6d0317(0x749)](_0x3fcb1b); + } + static[_0x41deb7(0x79b) + 'nc'](_0x58138f) { + return new Promise((_0x293201, _0x38825e) => { + const _0x1e7d3f = _0xb80e; + var _0x4dfa3c = new XMLHttpRequest(); + _0x4dfa3c[_0x1e7d3f(0x27f)](_0x1e7d3f(0x57f), _0x58138f, !0x0), _0x4dfa3c['onerror'] = _0x4dfa3c[_0x1e7d3f(0x891)] = function (_0x29708d) { + _0x38825e(); + }, _0x4dfa3c[_0x1e7d3f(0x303)] = function (_0x413931) { + const _0x106d8f = _0x1e7d3f; + var _0x4dc888 = void 0x0 !== _0x4dfa3c['status'] ? _0x4dfa3c[_0x106d8f(0x7db)] : 0xc8; + 0xc8 === _0x4dc888 || 0xcc === _0x4dc888 || 0x0 === _0x4dc888 ? _0x293201(JSON[_0x106d8f(0x5af)](_0x4dfa3c['responseTe' + 'xt'])) : _0x38825e(); + }, _0x4dfa3c[_0x1e7d3f(0x5b0)](); + }); + } + static[_0x41deb7(0x20f) + _0x41deb7(0x41a)]() { + const _0x55aa87 = _0x41deb7; + return !!window['yygGamesOw' + _0x55aa87(0x7fe)] && window['yygGamesOw' + _0x55aa87(0x7fe)]; + } + static[_0x41deb7(0x1e1)](..._0x33073b) { + const _0x36ac63 = _0x41deb7; + _0x87ab9[_0x36ac63(0x395)][_0x36ac63(0x610) + 'e']()['trace'](..._0x33073b); + } + static['traceWarn'](_0x3cbe43) { + const _0x50a6cd = _0x41deb7; + _0x87ab9[_0x50a6cd(0x395)][_0x50a6cd(0x610) + 'e']()['traceWarn'](_0x3cbe43); + } + static[_0x41deb7(0x4de) + 'on'](_0x5c740a) { + const _0x4052eb = _0x41deb7; + _0x87ab9[_0x4052eb(0x395)][_0x4052eb(0x610) + 'e']()['traceVersi' + 'on'](_0x5c740a); + } + static[_0x41deb7(0x711)](_0x201c6c) {} + static[_0x41deb7(0x5d8)]() {} + static[_0x41deb7(0x6f3)](_0x2af368) { + return new Promise((_0x2f6823, _0x390078) => { + const _0x544c1b = _0xb80e, + _0x28ace7 = new XMLHttpRequest(); + _0x28ace7[_0x544c1b(0x27f)](_0x544c1b(0x57f), _0x2af368, !0x0), _0x28ace7[_0x544c1b(0x303)] = function () { + const _0x2eac22 = _0x544c1b; + var _0x4ed9b1 = _0x28ace7['response']; + if (0xc8 != _0x28ace7[_0x2eac22(0x7db)] && 0x0 != _0x28ace7['status'] || _0x4ed9b1[_0x2eac22(0x7cf)] < 0xa) _0x2f6823(null); + else { + var _0x34cf84 = null; + try { + _0x34cf84 = JSON[_0x2eac22(0x5af)](_0x4ed9b1); + } catch (_0x2780c1) {} + _0x2f6823(_0x34cf84); + } + }, _0x28ace7[_0x544c1b(0x382)] = function (_0x40b3aa) { + _0x2f6823(null); + }, _0x28ace7[_0x544c1b(0x5b0)](null); + }); + } + static['addAsyncSc' + _0x41deb7(0x3b0)](_0x328f55, _0x1f901d, _0x1ca5b7) { + const _0x5a372e = _0x41deb7; + var _0x4a7b5b = document['getElement' + _0x5a372e(0x312)](_0x1f901d); + _0x4a7b5b || ((_0x4a7b5b = document[_0x5a372e(0x81d) + 'ent'](_0x5a372e(0x1bb)))[_0x5a372e(0x7ae)] = !0x0, _0x4a7b5b[_0x5a372e(0x303)] = _0x1ca5b7, _0x4a7b5b['src'] = _0x328f55, document[_0x5a372e(0x451)][_0x5a372e(0x76a) + 'd'](_0x4a7b5b)); + } + static[_0x41deb7(0x748)](_0x5ccefb, _0x44ff2b) { + const _0x2697aa = _0x41deb7; + return _0x5ccefb + Math[_0x2697aa(0x823)](Math[_0x2697aa(0x718)]() * (_0x44ff2b - _0x5ccefb)); + } + static['randomArra' + 'y'](_0x20f36f) { + const _0x57b1b2 = _0x41deb7; + return _0x20f36f && 0x0 != _0x20f36f['length'] ? _0x20f36f[this[_0x57b1b2(0x748)](0x0, _0x20f36f[_0x57b1b2(0x33e)] - 0x1)] : null; + } + }; + }, + 0x1b60: _0xc7f0fb => { + const _0x541bd5 = _0xb80e; + var _0x39801c; + self, _0x39801c = () => ((() => { + 'use strict'; + var _0x8e6a53 = { + 0x301: (_0x38417b, _0xb2bf03, _0x422bae) => { + const _0x56e817 = _0xb80e, + _0x322534 = _0x422bae(0x7e), + _0x1e78c5 = _0x422bae(0x19b), + _0x3e87e7 = new class extends _0x1e78c5 { + [_0x56e817(0x4a5)]({ + onError: _0xda1469, + onResult: _0x40998b, + onDone: _0x24637c + }) { + const _0x1ed348 = _0x56e817; + let _0x52c82e = ''; + return _0x52c82e += _0x1ed348(0x33b) + _0x1ed348(0x7b1) + _0x1ed348(0x7ac) + this[_0x1ed348(0x3b7)][_0x1ed348(0x7f1)]['length'] + _0x1ed348(0x212), _0x52c82e += _0x1ed348(0x458) + _0x1ed348(0x860) + 'ction() {\x0a', _0x52c82e += _0x1ed348(0x50f) + _0x1ed348(0x19d) + _0x1ed348(0x761) + _0x1ed348(0x83a) + _0x1ed348(0x340), _0x52c82e += 'var item =' + _0x1ed348(0x85d) + _0x1ed348(0x617), _0x52c82e += _0x1ed348(0x299) + '= undefine' + 'd) return ' + _0x1ed348(0x1b9), _0x52c82e += _0x1ed348(0x775) + 'sult !== u' + _0x1ed348(0x3ed) + '{\x0a', _0x52c82e += _0x40998b(_0x1ed348(0x7f8) + 't'), _0x52c82e += _0x1ed348(0x5c9) + _0x1ed348(0x453), _0x52c82e += '}\x0a', _0x52c82e += _0x1ed348(0x64f) + _0x1ed348(0x6a4), _0x52c82e += _0xda1469('item.error'), _0x52c82e += 'return tru' + _0x1ed348(0x453), _0x52c82e += '}\x0a', _0x52c82e += '}\x0a', _0x52c82e += _0x1ed348(0x2e4) + _0x1ed348(0x644), _0x52c82e += '}\x0a', _0x52c82e += this['callTapsPa' + _0x1ed348(0x240)]({ + 'onError': (_0x319e32, _0x620262, _0x5ebf70, _0x59c441) => { + const _0x487315 = _0x1ed348; + let _0x535fdf = ''; + return _0x535fdf += _0x487315(0x40a) + _0x319e32 + (_0x487315(0x6eb) + 's.length &' + _0x487315(0x58b) + _0x487315(0x33c) + '= ') + (_0x319e32 + 0x1) + (_0x487315(0x87a) + _0x487315(0x68c)) + _0x319e32 + ('] = { erro' + _0x487315(0x291)) + _0x620262 + (_0x487315(0x864) + _0x487315(0x1b5) + '{\x0a'), _0x535fdf += _0x59c441(!0x0), _0x535fdf += _0x487315(0x584), _0x535fdf += _0x5ebf70(), _0x535fdf += '}\x0a', _0x535fdf; + }, + 'onResult': (_0x1745a2, _0x7f485c, _0x2ed42d, _0x72c9e3) => { + const _0x481b6f = _0x1ed348; + let _0x520dfd = ''; + return _0x520dfd += 'if(' + _0x1745a2 + (' < _result' + _0x481b6f(0x78d) + _0x481b6f(0x78b)) + _0x7f485c + (_0x481b6f(0x4c2) + 'ined && (_' + 'results.le' + _0x481b6f(0x1d5)) + (_0x1745a2 + 0x1) + (_0x481b6f(0x87a) + 'ts[') + _0x1745a2 + (_0x481b6f(0x19f) + _0x481b6f(0x773)) + _0x7f485c + (_0x481b6f(0x864) + 'kDone())) ' + '{\x0a'), _0x520dfd += _0x72c9e3(!0x0), _0x520dfd += _0x481b6f(0x584), _0x520dfd += _0x2ed42d(), _0x520dfd += '}\x0a', _0x520dfd; + }, + 'onTap': (_0x4abbc3, _0x555793, _0x2c92ac, _0x3b17e5) => { + const _0x130a7b = _0x1ed348; + let _0x46d597 = ''; + return _0x4abbc3 > 0x0 && (_0x46d597 += _0x130a7b(0x40a) + _0x4abbc3 + (' >= _resul' + _0x130a7b(0x418) + _0x130a7b(0x340)), _0x46d597 += _0x2c92ac(), _0x46d597 += '} else {\x0a'), _0x46d597 += _0x555793(), _0x4abbc3 > 0x0 && (_0x46d597 += '}\x0a'), _0x46d597; + }, + 'onDone': _0x24637c + }), _0x52c82e; + } + }(), + _0x1500b7 = function (_0x205537) { + const _0x434832 = _0x56e817; + return _0x3e87e7[_0x434832(0x488)](this, _0x205537), _0x3e87e7[_0x434832(0x36d)](_0x205537); + }; + + function _0x3fe7e4(_0x49bd66 = [], _0x1979db = undefined) { + const _0x34c9a1 = _0x56e817, + _0x2a3c88 = new _0x322534(_0x49bd66, _0x1979db); + return _0x2a3c88['constructo' + 'r'] = _0x3fe7e4, _0x2a3c88[_0x34c9a1(0x4e2)] = _0x1500b7, _0x2a3c88[_0x34c9a1(0x206)] = void 0x0, _0x2a3c88[_0x34c9a1(0x4bc)] = void 0x0, _0x2a3c88; + } + _0x3fe7e4[_0x56e817(0x739)] = null, _0x38417b[_0x56e817(0x255)] = _0x3fe7e4; + }, + 0x102: (_0x129798, _0x446b34, _0x1878e3) => { + const _0x2e8265 = _0xb80e, + _0x3b07dd = _0x1878e3(0x7e), + _0xaee0e2 = _0x1878e3(0x19b), + _0x68048b = new class extends _0xaee0e2 { + ['content']({ + onError: _0x137dc8, + onDone: _0x20806c + }) { + const _0x5cade6 = _0xb80e; + return this[_0x5cade6(0x552) + 'rallel']({ + 'onError': (_0x442b69, _0x1707d8, _0x4e0433, _0x574aeb) => _0x137dc8(_0x1707d8) + _0x574aeb(!0x0), + 'onDone': _0x20806c + }); + } + }(), + _0x4fcf91 = function (_0x1601bd) { + const _0x39fa5a = _0xb80e; + return _0x68048b[_0x39fa5a(0x488)](this, _0x1601bd), _0x68048b[_0x39fa5a(0x36d)](_0x1601bd); + }; + + function _0x406cce(_0x173e91 = [], _0x1af35d = undefined) { + const _0x3c991c = _0xb80e, + _0x55e23e = new _0x3b07dd(_0x173e91, _0x1af35d); + return _0x55e23e[_0x3c991c(0x7fc) + 'r'] = _0x406cce, _0x55e23e['compile'] = _0x4fcf91, _0x55e23e[_0x3c991c(0x206)] = void 0x0, _0x55e23e[_0x3c991c(0x4bc)] = void 0x0, _0x55e23e; + } + _0x406cce[_0x2e8265(0x739)] = null, _0x129798[_0x2e8265(0x255)] = _0x406cce; + }, + 0x2b8: (_0x9be121, _0x3ff643, _0x3c2675) => { + const _0xc86e64 = _0xb80e, + _0x3eacfc = _0x3c2675(0x7e), + _0x4d37c1 = _0x3c2675(0x19b), + _0x1d4a3d = new class extends _0x4d37c1 { + ['content']({ + onError: _0x48cbbb, + onResult: _0x46a353, + resultReturns: _0x56b0c5, + onDone: _0x443d70 + }) { + const _0x583fe9 = _0xb80e; + return this[_0x583fe9(0x6c9) + _0x583fe9(0x688)]({ + 'onError': (_0x21e7bc, _0x5823da, _0x653eb9, _0x3db7ca) => _0x48cbbb(_0x5823da) + _0x3db7ca(!0x0), + 'onResult': (_0x2695e0, _0x275d9f, _0x58a504) => _0x583fe9(0x40a) + _0x275d9f + (_0x583fe9(0x4c2) + _0x583fe9(0x2f4)) + _0x46a353(_0x275d9f) + _0x583fe9(0x6d8) + _0x58a504() + '}\x0a', + 'resultReturns': _0x56b0c5, + 'onDone': _0x443d70 + }); + } + }(), + _0x45a001 = function (_0x361f2e) { + const _0x56cbe7 = _0xb80e; + return _0x1d4a3d['setup'](this, _0x361f2e), _0x1d4a3d[_0x56cbe7(0x36d)](_0x361f2e); + }; + + function _0x217625(_0x1673d5 = [], _0x3a3345 = undefined) { + const _0x2e147f = _0xb80e, + _0x22d962 = new _0x3eacfc(_0x1673d5, _0x3a3345); + return _0x22d962[_0x2e147f(0x7fc) + 'r'] = _0x217625, _0x22d962[_0x2e147f(0x4e2)] = _0x45a001, _0x22d962[_0x2e147f(0x206)] = void 0x0, _0x22d962['call'] = void 0x0, _0x22d962; + } + _0x217625[_0xc86e64(0x739)] = null, _0x9be121[_0xc86e64(0x255)] = _0x217625; + }, + 0x1c9: (_0x2770c8, _0x34b26c, _0x45a698) => { + const _0x3e3383 = _0xb80e, + _0x134ed0 = _0x45a698(0x7e), + _0x4e6554 = _0x45a698(0x19b), + _0x49c429 = new class extends _0x4e6554 { + [_0x3e3383(0x4a5)]({ + onError: _0x366300, + onDone: _0x44600d + }) { + const _0x235fa1 = _0x3e3383; + return this[_0x235fa1(0x6c9) + _0x235fa1(0x688)]({ + 'onError': (_0x31edeb, _0x1fa091, _0x2cc8ff, _0x2f5968) => _0x366300(_0x1fa091) + _0x2f5968(!0x0), + 'onDone': _0x44600d + }); + } + }(), + _0x1c8f80 = function (_0x41a4f2) { + const _0x25b34c = _0x3e3383; + return _0x49c429[_0x25b34c(0x488)](this, _0x41a4f2), _0x49c429[_0x25b34c(0x36d)](_0x41a4f2); + }; + + function _0x1ff640(_0x227b5b = [], _0x3ec17b = undefined) { + const _0x58cf7b = _0x3e3383, + _0x13b7fd = new _0x134ed0(_0x227b5b, _0x3ec17b); + return _0x13b7fd[_0x58cf7b(0x7fc) + 'r'] = _0x1ff640, _0x13b7fd[_0x58cf7b(0x4e2)] = _0x1c8f80, _0x13b7fd['_call'] = void 0x0, _0x13b7fd[_0x58cf7b(0x4bc)] = void 0x0, _0x13b7fd; + } + _0x1ff640[_0x3e3383(0x739)] = null, _0x2770c8[_0x3e3383(0x255)] = _0x1ff640; + }, + 0x344: (_0x4de11e, _0x4c1bb3, _0x17d7cc) => { + const _0x335f9b = _0xb80e, + _0x58e7c7 = _0x17d7cc(0x7e), + _0x416b6a = _0x17d7cc(0x19b), + _0x5bd3a1 = new class extends _0x416b6a { + ['content']({ + onError: _0x50464a, + onDone: _0x1e72be + }) { + const _0x1aad34 = _0xb80e; + return this[_0x1aad34(0x734) + _0x1aad34(0x59a)]({ + 'onError': (_0x1de0f3, _0xc24a1b, _0x18a717, _0x43f9c6) => _0x50464a(_0xc24a1b) + _0x43f9c6(!0x0), + 'onDone': _0x1e72be + }); + } + }(), + _0x204e4d = function (_0x52c9f5) { + return _0x5bd3a1['setup'](this, _0x52c9f5), _0x5bd3a1['create'](_0x52c9f5); + }; + + function _0xb502fc(_0x30b4e1 = [], _0x2867c9 = undefined) { + const _0x4883e8 = _0xb80e, + _0x2e2562 = new _0x58e7c7(_0x30b4e1, _0x2867c9); + return _0x2e2562[_0x4883e8(0x7fc) + 'r'] = _0xb502fc, _0x2e2562['compile'] = _0x204e4d, _0x2e2562[_0x4883e8(0x206)] = void 0x0, _0x2e2562['call'] = void 0x0, _0x2e2562; + } + _0xb502fc[_0x335f9b(0x739)] = null, _0x4de11e[_0x335f9b(0x255)] = _0xb502fc; + }, + 0x2ae: (_0x10950a, _0x222659, _0x525b45) => { + const _0x16c611 = _0xb80e, + _0xd4cdea = _0x525b45(0x7e), + _0x40fd62 = _0x525b45(0x19b), + _0x5d97b7 = new class extends _0x40fd62 { + [_0x16c611(0x4a5)]({ + onError: _0x527312, + onResult: _0x54a397, + onDone: _0x1b14dd + }) { + const _0xf9ee24 = _0x16c611; + return this[_0xf9ee24(0x6c9) + _0xf9ee24(0x688)]({ + 'onError': (_0x12abf6, _0x40d5b4, _0x9dad91, _0x41facf) => _0x527312(_0x40d5b4) + _0x41facf(!0x0), + 'onResult': (_0xa5919f, _0x5835fa, _0x3ad8c8) => { + const _0x4feb6a = _0xf9ee24; + let _0x2740bb = ''; + return _0x2740bb += _0x4feb6a(0x40a) + _0x5835fa + (_0x4feb6a(0x4c2) + 'ined) {\x0a'), _0x2740bb += this[_0x4feb6a(0x2a2)][0x0] + _0x4feb6a(0x43b) + _0x5835fa + ';\x0a', _0x2740bb += '}\x0a', _0x2740bb += _0x3ad8c8(), _0x2740bb; + }, + 'onDone': () => _0x54a397(this[_0xf9ee24(0x2a2)][0x0]) + }); + } + }(), + _0x2a5d68 = function (_0x3a2039) { + const _0x4ea62a = _0x16c611; + return _0x5d97b7[_0x4ea62a(0x488)](this, _0x3a2039), _0x5d97b7[_0x4ea62a(0x36d)](_0x3a2039); + }; + + function _0x2492f6(_0x2e66f = [], _0x2ea096 = undefined) { + const _0x243c57 = _0x16c611; + if (_0x2e66f['length'] < 0x1) throw new Error(_0x243c57(0x7b4) + 'hooks must' + _0x243c57(0x1a7) + _0x243c57(0x665) + _0x243c57(0x744)); + const _0x3807e3 = new _0xd4cdea(_0x2e66f, _0x2ea096); + return _0x3807e3['constructo' + 'r'] = _0x2492f6, _0x3807e3[_0x243c57(0x4e2)] = _0x2a5d68, _0x3807e3[_0x243c57(0x206)] = void 0x0, _0x3807e3[_0x243c57(0x4bc)] = void 0x0, _0x3807e3; + } + _0x2492f6['prototype'] = null, _0x10950a['exports'] = _0x2492f6; + }, + 0x7e: (_0x5b479c, _0x37c34b, _0x39ad30) => { + const _0x57b5f9 = _0xb80e, + _0x1dd2e5 = _0x39ad30(0x9)[_0x57b5f9(0x5ed)](() => {}, _0x57b5f9(0x254) + _0x57b5f9(0x72f) + _0x57b5f9(0x27a) + _0x57b5f9(0x6ee) + _0x57b5f9(0x809)), + _0xf0f574 = function (..._0x14863a) { + const _0x58b0c2 = _0x57b5f9; + return this[_0x58b0c2(0x4bc)] = this[_0x58b0c2(0x1fe) + 'l'](_0x58b0c2(0x54b)), this['call'](..._0x14863a); + }, + _0x33c24a = function (..._0x225b6e) { + const _0x128ae2 = _0x57b5f9; + return this['callAsync'] = this['_createCal' + 'l'](_0x128ae2(0x7ae)), this[_0x128ae2(0x469)](..._0x225b6e); + }, + _0x27fbc0 = function (..._0x3299a0) { + const _0x30a6c7 = _0x57b5f9; + return this[_0x30a6c7(0x351)] = this[_0x30a6c7(0x1fe) + 'l']('promise'), this[_0x30a6c7(0x351)](..._0x3299a0); + }; + class _0x20f014 { + constructor(_0x7373c2 = [], _0x468674 = undefined) { + const _0x48121f = _0x57b5f9; + this[_0x48121f(0x2a2)] = _0x7373c2, this[_0x48121f(0x1ab)] = _0x468674, this[_0x48121f(0x7f1)] = [], this[_0x48121f(0x34e) + 'rs'] = [], this[_0x48121f(0x206)] = _0xf0f574, this[_0x48121f(0x4bc)] = _0xf0f574, this[_0x48121f(0x1dc)] = _0x33c24a, this[_0x48121f(0x469)] = _0x33c24a, this[_0x48121f(0x7a3)] = _0x27fbc0, this[_0x48121f(0x351)] = _0x27fbc0, this['_x'] = void 0x0, this[_0x48121f(0x4e2)] = this[_0x48121f(0x4e2)], this[_0x48121f(0x834)] = this['tap'], this[_0x48121f(0x1e7)] = this['tapAsync'], this['tapPromise'] = this[_0x48121f(0x72b)]; + } [_0x57b5f9(0x4e2)](_0x733833) { + const _0x425c8a = _0x57b5f9; + throw new Error(_0x425c8a(0x500) + _0x425c8a(0x360) + _0x425c8a(0x74d)); + } [_0x57b5f9(0x1fe) + 'l'](_0x339754) { + const _0x257f7c = _0x57b5f9; + return this[_0x257f7c(0x4e2)]({ + 'taps': this[_0x257f7c(0x7f1)], + 'interceptors': this[_0x257f7c(0x34e) + 'rs'], + 'args': this[_0x257f7c(0x2a2)], + 'type': _0x339754 + }); + } [_0x57b5f9(0x1c4)](_0x4c77f1, _0x9b6bb6, _0x5923eb) { + const _0x4e26bf = _0x57b5f9; + if (_0x4e26bf(0x669) == typeof _0x9b6bb6) _0x9b6bb6 = { + 'name': _0x9b6bb6[_0x4e26bf(0x2a6)]() + }; + else { + if (_0x4e26bf(0x5b1) != typeof _0x9b6bb6 || null === _0x9b6bb6) throw new Error(_0x4e26bf(0x873) + _0x4e26bf(0x684)); + } + if (_0x4e26bf(0x669) != typeof _0x9b6bb6['name'] || '' === _0x9b6bb6['name']) throw new Error(_0x4e26bf(0x4d8) + _0x4e26bf(0x59c)); + void 0x0 !== _0x9b6bb6[_0x4e26bf(0x23f)] && _0x1dd2e5(), _0x9b6bb6 = Object[_0x4e26bf(0x709)]({ + 'type': _0x4c77f1, + 'fn': _0x5923eb + }, _0x9b6bb6), _0x9b6bb6 = this[_0x4e26bf(0x6fb) + 'erIntercep' + _0x4e26bf(0x238)](_0x9b6bb6), this[_0x4e26bf(0x766)](_0x9b6bb6); + } [_0x57b5f9(0x834)](_0x52799a, _0x540f3e) { + const _0x4f81c8 = _0x57b5f9; + this[_0x4f81c8(0x1c4)](_0x4f81c8(0x54b), _0x52799a, _0x540f3e); + } ['tapAsync'](_0x2a0f19, _0x1bcf44) { + const _0x11201d = _0x57b5f9; + this[_0x11201d(0x1c4)](_0x11201d(0x7ae), _0x2a0f19, _0x1bcf44); + } ['tapPromise'](_0x5f20c5, _0x43dce5) { + const _0x42bf20 = _0x57b5f9; + this[_0x42bf20(0x1c4)](_0x42bf20(0x351), _0x5f20c5, _0x43dce5); + } ['_runRegist' + _0x57b5f9(0x433) + _0x57b5f9(0x238)](_0x136818) { + const _0x23697c = _0x57b5f9; + for (const _0xc3ca62 of this[_0x23697c(0x34e) + 'rs']) + if (_0xc3ca62[_0x23697c(0x803)]) { + const _0x54ee36 = _0xc3ca62[_0x23697c(0x803)](_0x136818); + void 0x0 !== _0x54ee36 && (_0x136818 = _0x54ee36); + } return _0x136818; + } ['withOption' + 's'](_0x5c8f3e) { + const _0x3126dd = _0x57b5f9, + _0x32409f = _0x8d8c58 => Object[_0x3126dd(0x709)]({}, _0x5c8f3e, _0x3126dd(0x669) == typeof _0x8d8c58 ? { + 'name': _0x8d8c58 + } : _0x8d8c58); + return { + 'name': this[_0x3126dd(0x1ab)], + 'tap': (_0x19bec7, _0x5a2139) => this['tap'](_0x32409f(_0x19bec7), _0x5a2139), + 'tapAsync': (_0x401fd9, _0x4bbd52) => this['tapAsync'](_0x32409f(_0x401fd9), _0x4bbd52), + 'tapPromise': (_0x313128, _0x909051) => this['tapPromise'](_0x32409f(_0x313128), _0x909051), + 'intercept': _0x792a5c => this[_0x3126dd(0x5e5)](_0x792a5c), + 'isUsed': () => this[_0x3126dd(0x627)](), + 'withOptions': _0x1d248f => this[_0x3126dd(0x588) + 's'](_0x32409f(_0x1d248f)) + }; + } [_0x57b5f9(0x627)]() { + const _0x2a7630 = _0x57b5f9; + return this[_0x2a7630(0x7f1)][_0x2a7630(0x33e)] > 0x0 || this[_0x2a7630(0x34e) + 'rs'][_0x2a7630(0x33e)] > 0x0; + } [_0x57b5f9(0x5e5)](_0x3b7880) { + const _0x45120d = _0x57b5f9; + if (this['_resetComp' + _0x45120d(0x66f)](), this[_0x45120d(0x34e) + 'rs'][_0x45120d(0x2c4)](Object[_0x45120d(0x709)]({}, _0x3b7880)), _0x3b7880[_0x45120d(0x803)]) { + for (let _0x164547 = 0x0; _0x164547 < this[_0x45120d(0x7f1)]['length']; _0x164547++) this[_0x45120d(0x7f1)][_0x164547] = _0x3b7880[_0x45120d(0x803)](this[_0x45120d(0x7f1)][_0x164547]); + } + } [_0x57b5f9(0x5b8) + 'ilation']() { + const _0x5c40c0 = _0x57b5f9; + this[_0x5c40c0(0x4bc)] = this['_call'], this['callAsync'] = this[_0x5c40c0(0x1dc)], this[_0x5c40c0(0x351)] = this[_0x5c40c0(0x7a3)]; + } [_0x57b5f9(0x766)](_0x153796) { + const _0x4cd788 = _0x57b5f9; + let _0x1d9abb; + this[_0x4cd788(0x5b8) + 'ilation'](), 'string' == typeof _0x153796[_0x4cd788(0x611)] ? _0x1d9abb = new Set([_0x153796[_0x4cd788(0x611)]]) : Array[_0x4cd788(0x387)](_0x153796[_0x4cd788(0x611)]) && (_0x1d9abb = new Set(_0x153796[_0x4cd788(0x611)])); + let _0x5a13ac = 0x0; + _0x4cd788(0x51c) == typeof _0x153796[_0x4cd788(0x436)] && (_0x5a13ac = _0x153796[_0x4cd788(0x436)]); + let _0x18c086 = this[_0x4cd788(0x7f1)][_0x4cd788(0x33e)]; + for (; _0x18c086 > 0x0;) { + _0x18c086--; + const _0x5d37cf = this[_0x4cd788(0x7f1)][_0x18c086]; + this[_0x4cd788(0x7f1)][_0x18c086 + 0x1] = _0x5d37cf; + const _0x44ef1d = _0x5d37cf[_0x4cd788(0x436)] || 0x0; + if (_0x1d9abb) { + if (_0x1d9abb[_0x4cd788(0x4b3)](_0x5d37cf[_0x4cd788(0x1ab)])) { + _0x1d9abb['delete'](_0x5d37cf['name']); + continue; + } + if (_0x1d9abb['size'] > 0x0) continue; + } + if (!(_0x44ef1d > _0x5a13ac)) { + _0x18c086++; + break; + } + } + this[_0x4cd788(0x7f1)][_0x18c086] = _0x153796; + } + } + Object[_0x57b5f9(0x74c) + 'peOf'](_0x20f014[_0x57b5f9(0x739)], null), _0x5b479c['exports'] = _0x20f014; + }, + 0x19b: _0x30bc82 => { + const _0x379648 = _0xb80e; + _0x30bc82[_0x379648(0x255)] = class { + constructor(_0x4b1e47) { + const _0x3f6bde = _0x379648; + this['config'] = _0x4b1e47, this[_0x3f6bde(0x3b7)] = void 0x0, this[_0x3f6bde(0x2a2)] = void 0x0; + } [_0x379648(0x36d)](_0x59e9a6) { + const _0x552005 = _0x379648; + let _0x26a242; + switch (this[_0x552005(0x78f)](_0x59e9a6), this[_0x552005(0x3b7)][_0x552005(0x836)]) { + case _0x552005(0x54b): + _0x26a242 = new Function(this[_0x552005(0x4b4)](), _0x552005(0x893) + _0x552005(0x7dc) + this[_0x552005(0x43c)]() + this[_0x552005(0x5b5) + 'hIntercept' + _0x552005(0x7f4)]({ + 'onError': _0x4694bd => _0x552005(0x42c) + _0x4694bd + ';\x0a', + 'onResult': _0x38365a => _0x552005(0x3db) + _0x38365a + ';\x0a', + 'resultReturns': !0x0, + 'onDone': () => '', + 'rethrowIfPossible': !0x0 + })); + break; + case _0x552005(0x7ae): + _0x26a242 = new Function(this[_0x552005(0x4b4)]({ + 'after': _0x552005(0x548) + }), _0x552005(0x893) + _0x552005(0x7dc) + this['header']() + this[_0x552005(0x5b5) + _0x552005(0x589) + 'ors']({ + 'onError': _0x3b7c72 => _0x552005(0x5c7) + _0x3b7c72 + ');\x0a', + 'onResult': _0x172b64 => _0x552005(0x5c7) + 'null, ' + _0x172b64 + _0x552005(0x212), + 'onDone': () => _0x552005(0x5c7) + _0x552005(0x212) + })); + break; + case _0x552005(0x351): + let _0x5f251d = !0x1; + const _0xf38ddd = this[_0x552005(0x5b5) + _0x552005(0x589) + _0x552005(0x7f4)]({ + 'onError': _0x4da036 => (_0x5f251d = !0x0, _0x552005(0x320) + _0x4da036 + _0x552005(0x212)), + 'onResult': _0x280ea6 => _0x552005(0x513) + _0x280ea6 + _0x552005(0x212), + 'onDone': () => '_resolve()' + ';\x0a' + }); + let _0x59244c = ''; + _0x59244c += '\"use stric' + _0x552005(0x7dc), _0x59244c += this['header'](), _0x59244c += _0x552005(0x559) + _0x552005(0x61c) + 'function(_' + _0x552005(0x843) + _0x552005(0x24a), _0x5f251d && (_0x59244c += _0x552005(0x676) + '= true;\x0a', _0x59244c += _0x552005(0x2e1) + _0x552005(0x7de) + _0x552005(0x729), _0x59244c += _0x552005(0x2af), _0x59244c += '_resolve(P' + 'romise.res' + _0x552005(0x28b) + _0x552005(0x878) + _0x552005(0x3b4) + _0x552005(0x2b1) + _0x552005(0x851), _0x59244c += 'else\x0a', _0x59244c += _0x552005(0x5e8) + _0x552005(0x388), _0x59244c += _0x552005(0x689)), _0x59244c += _0xf38ddd, _0x5f251d && (_0x59244c += '_sync = fa' + _0x552005(0x3c7)), _0x59244c += _0x552005(0x1ff), _0x26a242 = new Function(this[_0x552005(0x4b4)](), _0x59244c); + } + return this[_0x552005(0x298)](), _0x26a242; + } [_0x379648(0x488)](_0x1d2c35, _0x274ca5) { + const _0x404241 = _0x379648; + _0x1d2c35['_x'] = _0x274ca5[_0x404241(0x7f1)]['map'](_0x592235 => _0x592235['fn']); + } ['init'](_0x4d7b44) { + const _0x202b30 = _0x379648; + this[_0x202b30(0x3b7)] = _0x4d7b44, this['_args'] = _0x4d7b44[_0x202b30(0x4b4)][_0x202b30(0x5b4)](); + } ['deinit']() { + const _0x167c49 = _0x379648; + this[_0x167c49(0x3b7)] = void 0x0, this[_0x167c49(0x2a2)] = void 0x0; + } [_0x379648(0x5b5) + _0x379648(0x589) + _0x379648(0x7f4)](_0x3e3e24) { + const _0x366115 = _0x379648; + if (this[_0x366115(0x3b7)][_0x366115(0x34e) + 'rs'][_0x366115(0x33e)] > 0x0) { + const _0x5e89b5 = _0x3e3e24[_0x366115(0x232)], + _0x4dc3b1 = _0x3e3e24[_0x366115(0x614)], + _0xa38906 = _0x3e3e24[_0x366115(0x3cf)]; + let _0x578ee7 = ''; + for (let _0x425b27 = 0x0; _0x425b27 < this['options'][_0x366115(0x34e) + 'rs']['length']; _0x425b27++) { + const _0x4c9aad = this[_0x366115(0x3b7)][_0x366115(0x34e) + 'rs'][_0x425b27]; + _0x4c9aad[_0x366115(0x4bc)] && (_0x578ee7 += this[_0x366115(0x6a1) + _0x366115(0x3f7)](_0x425b27) + _0x366115(0x663) + this[_0x366115(0x4b4)]({ + 'before': _0x4c9aad[_0x366115(0x23f)] ? _0x366115(0x85b) : void 0x0 + }) + _0x366115(0x212)); + } + return _0x578ee7 += this[_0x366115(0x4a5)](Object['assign'](_0x3e3e24, { + 'onError': _0x5e89b5 && (_0x4f5496 => { + const _0x4dff72 = _0x366115; + let _0x3023ba = ''; + for (let _0x59a631 = 0x0; _0x59a631 < this[_0x4dff72(0x3b7)][_0x4dff72(0x34e) + 'rs'][_0x4dff72(0x33e)]; _0x59a631++) this['options'][_0x4dff72(0x34e) + 'rs'][_0x59a631][_0x4dff72(0x4e9)] && (_0x3023ba += this[_0x4dff72(0x6a1) + _0x4dff72(0x3f7)](_0x59a631) + _0x4dff72(0x42b) + _0x4f5496 + ');\x0a'); + return _0x3023ba += _0x5e89b5(_0x4f5496), _0x3023ba; + }), + 'onResult': _0x4dc3b1 && (_0x1615f7 => { + const _0x471db1 = _0x366115; + let _0x5e9a63 = ''; + for (let _0x4ced3f = 0x0; _0x4ced3f < this[_0x471db1(0x3b7)]['intercepto' + 'rs'][_0x471db1(0x33e)]; _0x4ced3f++) this[_0x471db1(0x3b7)]['intercepto' + 'rs'][_0x4ced3f][_0x471db1(0x26d)] && (_0x5e9a63 += this['getInterce' + _0x471db1(0x3f7)](_0x4ced3f) + _0x471db1(0x2a8) + _0x1615f7 + _0x471db1(0x212)); + return _0x5e9a63 += _0x4dc3b1(_0x1615f7), _0x5e9a63; + }), + 'onDone': _0xa38906 && (() => { + const _0x204223 = _0x366115; + let _0x2e446c = ''; + for (let _0x3fca78 = 0x0; _0x3fca78 < this['options']['intercepto' + 'rs'][_0x204223(0x33e)]; _0x3fca78++) this[_0x204223(0x3b7)][_0x204223(0x34e) + 'rs'][_0x3fca78][_0x204223(0x71a)] && (_0x2e446c += this[_0x204223(0x6a1) + _0x204223(0x3f7)](_0x3fca78) + _0x204223(0x37a)); + return _0x2e446c += _0xa38906(), _0x2e446c; + }) + })), _0x578ee7; + } + return this[_0x366115(0x4a5)](_0x3e3e24); + } [_0x379648(0x43c)]() { + const _0xdd9af7 = _0x379648; + let _0x4b6cc0 = ''; + return this[_0xdd9af7(0x582) + 't']() ? _0x4b6cc0 += _0xdd9af7(0x7ca) + _0xdd9af7(0x5fd) : _0x4b6cc0 += _0xdd9af7(0x7ca) + _0xdd9af7(0x7d7), _0x4b6cc0 += _0xdd9af7(0x2b7) + _0xdd9af7(0x726), this[_0xdd9af7(0x3b7)][_0xdd9af7(0x34e) + 'rs'][_0xdd9af7(0x33e)] > 0x0 && (_0x4b6cc0 += 'var _taps ' + _0xdd9af7(0x362) + _0xdd9af7(0x598), _0x4b6cc0 += 'var _inter' + _0xdd9af7(0x53d) + 'this.inter' + _0xdd9af7(0x494)), _0x4b6cc0; + } [_0x379648(0x582) + 't']() { + const _0x46457c = _0x379648; + for (const _0x4498e0 of this[_0x46457c(0x3b7)][_0x46457c(0x7f1)]) + if (_0x4498e0['context']) return !0x0; + return !0x1; + } ['callTap'](_0x5b63e4, { + onError: _0x5aed68, + onResult: _0x4580bb, + onDone: _0x1165a8, + rethrowIfPossible: _0x135b2d + }) { + const _0x5b8ca8 = _0x379648; + let _0x71644e = '', + _0x3745b8 = !0x1; + for (let _0x2190a2 = 0x0; _0x2190a2 < this[_0x5b8ca8(0x3b7)][_0x5b8ca8(0x34e) + 'rs'][_0x5b8ca8(0x33e)]; _0x2190a2++) { + const _0x1b20c9 = this[_0x5b8ca8(0x3b7)]['intercepto' + 'rs'][_0x2190a2]; + _0x1b20c9['tap'] && (_0x3745b8 || (_0x71644e += _0x5b8ca8(0x84d) + _0x5b63e4 + _0x5b8ca8(0x43b) + this[_0x5b8ca8(0x62f)](_0x5b63e4) + ';\x0a', _0x3745b8 = !0x0), _0x71644e += this[_0x5b8ca8(0x6a1) + _0x5b8ca8(0x3f7)](_0x2190a2) + '.tap(' + (_0x1b20c9[_0x5b8ca8(0x23f)] ? _0x5b8ca8(0x88b) : '') + _0x5b8ca8(0x1c4) + _0x5b63e4 + _0x5b8ca8(0x212)); + } + _0x71644e += _0x5b8ca8(0x288) + _0x5b63e4 + _0x5b8ca8(0x43b) + this[_0x5b8ca8(0x5d3)](_0x5b63e4) + ';\x0a'; + const _0x4469bf = this['options'][_0x5b8ca8(0x7f1)][_0x5b63e4]; + switch (_0x4469bf['type']) { + case _0x5b8ca8(0x54b): + _0x135b2d || (_0x71644e += 'var _hasEr' + 'ror' + _0x5b63e4 + ' = false;\x0a', _0x71644e += _0x5b8ca8(0x39b)), _0x71644e += _0x4580bb ? _0x5b8ca8(0x33b) + 't' + _0x5b63e4 + ' = _fn' + _0x5b63e4 + '(' + this['args']({ + 'before': _0x4469bf[_0x5b8ca8(0x23f)] ? '_context' : void 0x0 + }) + ');\x0a' : _0x5b8ca8(0x5e7) + _0x5b63e4 + '(' + this[_0x5b8ca8(0x4b4)]({ + 'before': _0x4469bf[_0x5b8ca8(0x23f)] ? '_context' : void 0x0 + }) + _0x5b8ca8(0x212), _0x135b2d || (_0x71644e += _0x5b8ca8(0x352) + 'rr) {\x0a', _0x71644e += _0x5b8ca8(0x40d) + _0x5b63e4 + ' = true;\x0a', _0x71644e += _0x5aed68('_err'), _0x71644e += '}\x0a', _0x71644e += _0x5b8ca8(0x41d) + _0x5b8ca8(0x82d) + _0x5b63e4 + _0x5b8ca8(0x729)), _0x4580bb && (_0x71644e += _0x4580bb(_0x5b8ca8(0x67f) + _0x5b63e4)), _0x1165a8 && (_0x71644e += _0x1165a8()), _0x135b2d || (_0x71644e += '}\x0a'); + break; + case _0x5b8ca8(0x7ae): + let _0x3e1d9e = ''; + _0x3e1d9e += _0x4580bb ? _0x5b8ca8(0x636) + '_err' + _0x5b63e4 + ', _result' + _0x5b63e4 + ') {\x0a' : '(function(' + _0x5b8ca8(0x788) + _0x5b63e4 + ') {\x0a', _0x3e1d9e += _0x5b8ca8(0x5ee) + _0x5b63e4 + _0x5b8ca8(0x729), _0x3e1d9e += _0x5aed68(_0x5b8ca8(0x788) + _0x5b63e4), _0x3e1d9e += _0x5b8ca8(0x584), _0x4580bb && (_0x3e1d9e += _0x4580bb(_0x5b8ca8(0x67f) + _0x5b63e4)), _0x1165a8 && (_0x3e1d9e += _0x1165a8()), _0x3e1d9e += '}\x0a', _0x3e1d9e += '})', _0x71644e += _0x5b8ca8(0x5e7) + _0x5b63e4 + '(' + this['args']({ + 'before': _0x4469bf[_0x5b8ca8(0x23f)] ? _0x5b8ca8(0x85b) : void 0x0, + 'after': _0x3e1d9e + }) + _0x5b8ca8(0x212); + break; + case 'promise': + _0x71644e += 'var _hasRe' + _0x5b8ca8(0x37e) + _0x5b63e4 + _0x5b8ca8(0x2cd), _0x71644e += _0x5b8ca8(0x2aa) + 'se' + _0x5b63e4 + _0x5b8ca8(0x4cd) + _0x5b63e4 + '(' + this['args']({ + 'before': _0x4469bf[_0x5b8ca8(0x23f)] ? '_context' : void 0x0 + }) + _0x5b8ca8(0x212), _0x71644e += _0x5b8ca8(0x39c) + _0x5b8ca8(0x2ee) + _0x5b63e4 + (_0x5b8ca8(0x394) + _0x5b8ca8(0x2ee)) + _0x5b63e4 + _0x5b8ca8(0x1c6), _0x71644e += _0x5b8ca8(0x4df) + 'w Error(\'T' + _0x5b8ca8(0x1cf) + 'n (tapProm' + 'ise) did n' + 'ot return ' + _0x5b8ca8(0x349) + _0x5b8ca8(0x5ae) + '+ _promise' + _0x5b63e4 + _0x5b8ca8(0x46c), _0x71644e += _0x5b8ca8(0x7a3) + _0x5b63e4 + (_0x5b8ca8(0x7e5) + 'ction(_res' + _0x5b8ca8(0x40f)) + _0x5b63e4 + _0x5b8ca8(0x729), _0x71644e += _0x5b8ca8(0x41f) + _0x5b63e4 + _0x5b8ca8(0x6f8), _0x4580bb && (_0x71644e += _0x4580bb('_result' + _0x5b63e4)), _0x1165a8 && (_0x71644e += _0x1165a8()), _0x71644e += _0x5b8ca8(0x7d8) + _0x5b8ca8(0x413) + _0x5b63e4 + _0x5b8ca8(0x729), _0x71644e += _0x5b8ca8(0x755) + _0x5b8ca8(0x40f) + _0x5b63e4 + (') throw _e' + 'rr') + _0x5b63e4 + ';\x0a', _0x71644e += _0x5aed68(_0x5b8ca8(0x788) + _0x5b63e4), _0x71644e += '});\x0a'; + } + return _0x71644e; + } [_0x379648(0x6c9) + _0x379648(0x688)]({ + onError: _0x3033bf, + onResult: _0x310037, + resultReturns: _0x416f9a, + onDone: _0x48412c, + doneReturns: _0x28b556, + rethrowIfPossible: _0x1c8201 + }) { + const _0x9654c0 = _0x379648; + if (0x0 === this[_0x9654c0(0x3b7)][_0x9654c0(0x7f1)]['length']) return _0x48412c(); + const _0xc2d06c = this[_0x9654c0(0x3b7)][_0x9654c0(0x7f1)]['findIndex'](_0x376b73 => _0x9654c0(0x54b) !== _0x376b73[_0x9654c0(0x836)]), + _0x4b039a = _0x416f9a || _0x28b556; + let _0x1dbb19 = '', + _0x34b563 = _0x48412c, + _0x5b2308 = 0x0; + for (let _0x980d9a = this[_0x9654c0(0x3b7)]['taps'][_0x9654c0(0x33e)] - 0x1; _0x980d9a >= 0x0; _0x980d9a--) { + const _0x512b41 = _0x980d9a; + _0x34b563 !== _0x48412c && (_0x9654c0(0x54b) !== this['options'][_0x9654c0(0x7f1)][_0x512b41][_0x9654c0(0x836)] || _0x5b2308++ > 0x14) && (_0x5b2308 = 0x0, _0x1dbb19 += _0x9654c0(0x2e1) + _0x9654c0(0x565) + _0x512b41 + _0x9654c0(0x456), _0x1dbb19 += _0x34b563(), _0x1dbb19 += '}\x0a', _0x34b563 = () => (_0x4b039a ? 'return ' : '') + '_next' + _0x512b41 + _0x9654c0(0x1a1)); + const _0x6bb0da = _0x34b563, + _0x22ba95 = _0x322bc8 => _0x322bc8 ? '' : _0x48412c(), + _0x5abff1 = this['callTap'](_0x512b41, { + 'onError': _0x510666 => _0x3033bf(_0x512b41, _0x510666, _0x6bb0da, _0x22ba95), + 'onResult': _0x310037 && (_0x26315c => _0x310037(_0x512b41, _0x26315c, _0x6bb0da, _0x22ba95)), + 'onDone': !_0x310037 && _0x6bb0da, + 'rethrowIfPossible': _0x1c8201 && (_0xc2d06c < 0x0 || _0x512b41 < _0xc2d06c) + }); + _0x34b563 = () => _0x5abff1; + } + return _0x1dbb19 += _0x34b563(), _0x1dbb19; + } [_0x379648(0x734) + _0x379648(0x59a)]({ + onError: _0x8da78a, + onDone: _0x19d0ee, + rethrowIfPossible: _0x50575a + }) { + const _0xbda239 = _0x379648; + if (0x0 === this[_0xbda239(0x3b7)][_0xbda239(0x7f1)][_0xbda239(0x33e)]) return _0x19d0ee(); + const _0x3f6531 = this[_0xbda239(0x3b7)]['taps'][_0xbda239(0x47d)](_0x434f47 => _0xbda239(0x54b) === _0x434f47['type']); + let _0x4dd162 = ''; + _0x3f6531 || (_0x4dd162 += _0xbda239(0x798) + _0xbda239(0x783) + 'ion() {\x0a', _0x4dd162 += 'var _loopA' + _0xbda239(0x666) + 'se;\x0a'), _0x4dd162 += _0xbda239(0x1e5) + '\x0a', _0x4dd162 += _0xbda239(0x5c0), _0x4dd162 += _0xbda239(0x6d1) + _0xbda239(0x3c7); + for (let _0x7750bf = 0x0; _0x7750bf < this[_0xbda239(0x3b7)][_0xbda239(0x34e) + 'rs'][_0xbda239(0x33e)]; _0x7750bf++) { + const _0x3ec5b0 = this[_0xbda239(0x3b7)]['intercepto' + 'rs'][_0x7750bf]; + _0x3ec5b0[_0xbda239(0x23b)] && (_0x4dd162 += this[_0xbda239(0x6a1) + _0xbda239(0x3f7)](_0x7750bf) + _0xbda239(0x6dd) + this[_0xbda239(0x4b4)]({ + 'before': _0x3ec5b0[_0xbda239(0x23f)] ? _0xbda239(0x85b) : void 0x0 + }) + _0xbda239(0x212)); + } + return _0x4dd162 += this[_0xbda239(0x6c9) + _0xbda239(0x688)]({ + 'onError': _0x8da78a, + 'onResult': (_0x42d240, _0x3d2d28, _0x292167, _0x1e4782) => { + const _0x45cb5f = _0xbda239; + let _0x2497e9 = ''; + return _0x2497e9 += _0x45cb5f(0x40a) + _0x3d2d28 + (_0x45cb5f(0x4c2) + _0x45cb5f(0x2f4)), _0x2497e9 += _0x45cb5f(0x887) + _0x45cb5f(0x708), _0x3f6531 || (_0x2497e9 += 'if(_loopAs' + 'ync) _loop' + _0x45cb5f(0x5f7)), _0x2497e9 += _0x1e4782(!0x0), _0x2497e9 += _0x45cb5f(0x584), _0x2497e9 += _0x292167(), _0x2497e9 += '}\x0a', _0x2497e9; + }, + 'onDone': _0x19d0ee && (() => { + const _0xb60cb9 = _0xbda239; + let _0x160d87 = ''; + return _0x160d87 += _0xb60cb9(0x704) + _0xb60cb9(0x340), _0x160d87 += _0x19d0ee(), _0x160d87 += '}\x0a', _0x160d87; + }), + 'rethrowIfPossible': _0x50575a && _0x3f6531 + }), _0x4dd162 += '} while(_l' + _0xbda239(0x56f), _0x3f6531 || (_0x4dd162 += _0xbda239(0x620) + _0xbda239(0x6f8), _0x4dd162 += _0xbda239(0x63c), _0x4dd162 += _0xbda239(0x76e) + '\x0a'), _0x4dd162; + } [_0x379648(0x552) + _0x379648(0x240)]({ + onError: _0x1dbd57, + onResult: _0x2f1803, + onDone: _0x184a22, + rethrowIfPossible: _0x1cbab1, + onTap: _0x22fd13 = (_0x555b89, _0x3868a3) => _0x3868a3() + }) { + const _0x260fb6 = _0x379648; + if (this['options'][_0x260fb6(0x7f1)]['length'] <= 0x1) return this[_0x260fb6(0x6c9) + _0x260fb6(0x688)]({ + 'onError': _0x1dbd57, + 'onResult': _0x2f1803, + 'onDone': _0x184a22, + 'rethrowIfPossible': _0x1cbab1 + }); + let _0x295423 = ''; + _0x295423 += _0x260fb6(0x5c0), _0x295423 += 'var _count' + _0x260fb6(0x506) + this[_0x260fb6(0x3b7)]['taps'][_0x260fb6(0x33e)] + ';\x0a', _0x184a22 && (_0x295423 += 'var _done ' + '= (functio' + 'n() {\x0a', _0x295423 += _0x184a22(), _0x295423 += _0x260fb6(0x63c)); + for (let _0x114174 = 0x0; _0x114174 < this[_0x260fb6(0x3b7)][_0x260fb6(0x7f1)][_0x260fb6(0x33e)]; _0x114174++) { + const _0x551e59 = () => _0x184a22 ? 'if(--_coun' + _0x260fb6(0x300) + ' _done();\x0a' : _0x260fb6(0x7f9) + ';', + _0x3bf844 = _0x5872fd => _0x5872fd || !_0x184a22 ? _0x260fb6(0x5e6) + ' 0;\x0a' : _0x260fb6(0x5e6) + _0x260fb6(0x546) + ');\x0a'; + _0x295423 += _0x260fb6(0x265) + 'r <= 0) br' + _0x260fb6(0x319), _0x295423 += _0x22fd13(_0x114174, () => this[_0x260fb6(0x59d)](_0x114174, { + 'onError': _0x3ac8df => { + const _0x50d6f7 = _0x260fb6; + let _0xa0a9c0 = ''; + return _0xa0a9c0 += _0x50d6f7(0x265) + 'r > 0) {\x0a', _0xa0a9c0 += _0x1dbd57(_0x114174, _0x3ac8df, _0x551e59, _0x3bf844), _0xa0a9c0 += '}\x0a', _0xa0a9c0; + }, + 'onResult': _0x2f1803 && (_0x1aa14b => { + const _0x15e102 = _0x260fb6; + let _0x179144 = ''; + return _0x179144 += _0x15e102(0x265) + _0x15e102(0x4ea), _0x179144 += _0x2f1803(_0x114174, _0x1aa14b, _0x551e59, _0x3bf844), _0x179144 += '}\x0a', _0x179144; + }), + 'onDone': !_0x2f1803 && (() => _0x551e59()), + 'rethrowIfPossible': _0x1cbab1 + }), _0x551e59, _0x3bf844); + } + return _0x295423 += _0x260fb6(0x409) + _0x260fb6(0x21a), _0x295423; + } ['args']({ + before: _0x599d0b, + after: _0x2c3bd5 + } = {}) { + const _0x4013ff = _0x379648; + let _0x13cc4e = this[_0x4013ff(0x2a2)]; + return _0x599d0b && (_0x13cc4e = [_0x599d0b][_0x4013ff(0x49b)](_0x13cc4e)), _0x2c3bd5 && (_0x13cc4e = _0x13cc4e[_0x4013ff(0x49b)](_0x2c3bd5)), 0x0 === _0x13cc4e[_0x4013ff(0x33e)] ? '' : _0x13cc4e['join'](', '); + } [_0x379648(0x5d3)](_0x25ce90) { + const _0x2268ac = _0x379648; + return _0x2268ac(0x1fa) + _0x25ce90 + ']'; + } [_0x379648(0x62f)](_0xd81490) { + const _0x34e30c = _0x379648; + return _0x34e30c(0x438) + _0xd81490 + ']'; + } [_0x379648(0x6a1) + _0x379648(0x3f7)](_0x32f614) { + const _0x21cb04 = _0x379648; + return _0x21cb04(0x4f9) + _0x21cb04(0x4ed) + _0x32f614 + ']'; + } + }; + }, + 0x303: (_0x533500, _0x2deb18, _0x19b542) => { + const _0x463f5d = _0xb80e, + _0x53a70f = _0x19b542(0x9), + _0x91d47f = (_0x35ca1b, _0x2b062b) => _0x2b062b; + class _0x31b09b { + constructor(_0x145e52, _0x72fdab = undefined) { + const _0x718b95 = _0xb80e; + this[_0x718b95(0x6d9)] = new Map(), this[_0x718b95(0x1ab)] = _0x72fdab, this[_0x718b95(0x553)] = _0x145e52, this[_0x718b95(0x4f9) + _0x718b95(0x7f4)] = []; + } [_0x463f5d(0x6f3)](_0x4a5da6) { + const _0x2e1e10 = _0x463f5d; + return this[_0x2e1e10(0x6d9)][_0x2e1e10(0x6f3)](_0x4a5da6); + } [_0x463f5d(0x78e)](_0x37746d) { + const _0x3ddcfc = _0x463f5d, + _0x284a8c = this[_0x3ddcfc(0x6f3)](_0x37746d); + if (void 0x0 !== _0x284a8c) return _0x284a8c; + let _0x437f56 = this[_0x3ddcfc(0x553)](_0x37746d); + const _0x15916e = this['_intercept' + 'ors']; + for (let _0x406068 = 0x0; _0x406068 < _0x15916e[_0x3ddcfc(0x33e)]; _0x406068++) _0x437f56 = _0x15916e[_0x406068][_0x3ddcfc(0x2ba)](_0x37746d, _0x437f56); + return this[_0x3ddcfc(0x6d9)][_0x3ddcfc(0x5b7)](_0x37746d, _0x437f56), _0x437f56; + } [_0x463f5d(0x5e5)](_0xea5c5d) { + const _0x3a0f25 = _0x463f5d; + this[_0x3a0f25(0x4f9) + _0x3a0f25(0x7f4)]['push'](Object['assign']({ + 'factory': _0x91d47f + }, _0xea5c5d)); + } + } + _0x31b09b[_0x463f5d(0x739)]['tap'] = _0x53a70f[_0x463f5d(0x5ed)](function (_0x506caa, _0x4568bf, _0x36c698) { + const _0x4d4bed = _0x463f5d; + return this[_0x4d4bed(0x78e)](_0x506caa)[_0x4d4bed(0x834)](_0x4568bf, _0x36c698); + }, _0x463f5d(0x221) + _0x463f5d(0x597) + _0x463f5d(0x57a) + _0x463f5d(0x2b8) + _0x463f5d(0x31e) + _0x463f5d(0x3c0) + _0x463f5d(0x24f)), _0x31b09b[_0x463f5d(0x739)]['tapAsync'] = _0x53a70f[_0x463f5d(0x5ed)](function (_0x3722dc, _0x37408c, _0x12edaa) { + const _0x166d98 = _0x463f5d; + return this[_0x166d98(0x78e)](_0x3722dc)[_0x166d98(0x1e7)](_0x37408c, _0x12edaa); + }, _0x463f5d(0x221) + 'pAsync(key' + ',…) is dep' + _0x463f5d(0x19a) + _0x463f5d(0x3cb) + '#for(key).' + _0x463f5d(0x5da) + ') instead.'), _0x31b09b[_0x463f5d(0x739)][_0x463f5d(0x72b)] = _0x53a70f[_0x463f5d(0x5ed)](function (_0x155cb7, _0x2c5ea4, _0x2e509f) { + const _0x12ebc8 = _0x463f5d; + return this[_0x12ebc8(0x78e)](_0x155cb7)[_0x12ebc8(0x72b)](_0x2c5ea4, _0x2e509f); + }, _0x463f5d(0x221) + 'pPromise(k' + _0x463f5d(0x53a) + 'eprecated.' + ' Use HookM' + _0x463f5d(0x5df) + _0x463f5d(0x209) + _0x463f5d(0x2d4) + _0x463f5d(0x4ac)), _0x533500[_0x463f5d(0x255)] = _0x31b09b; + }, + 0x122: (_0x3440d1, _0x10edbb, _0xd4d472) => { + const _0x29205d = _0xb80e; + _0xd4d472(0x7e); + class _0x4ba49d { + constructor(_0x403e30, _0x587215 = undefined) { + const _0x46f8aa = _0xb80e; + this[_0x46f8aa(0x5f8)] = _0x403e30, this[_0x46f8aa(0x1ab)] = _0x587215; + } [_0x29205d(0x834)](_0x11bd6b, _0x12e466) { + const _0x26bc4a = _0x29205d; + for (const _0x1f9d0f of this['hooks']) _0x1f9d0f[_0x26bc4a(0x834)](_0x11bd6b, _0x12e466); + } [_0x29205d(0x1e7)](_0x47fc62, _0x52fac8) { + const _0x5efe61 = _0x29205d; + for (const _0x181f7e of this['hooks']) _0x181f7e[_0x5efe61(0x1e7)](_0x47fc62, _0x52fac8); + } ['tapPromise'](_0x3bf317, _0x4ac655) { + const _0x581d98 = _0x29205d; + for (const _0x26eb7f of this[_0x581d98(0x5f8)]) _0x26eb7f[_0x581d98(0x72b)](_0x3bf317, _0x4ac655); + } [_0x29205d(0x627)]() { + const _0x14dc36 = _0x29205d; + for (const _0x1f894f of this[_0x14dc36(0x5f8)]) + if (_0x1f894f[_0x14dc36(0x627)]()) return !0x0; + return !0x1; + } [_0x29205d(0x5e5)](_0x583bb3) { + const _0x167d44 = _0x29205d; + for (const _0x33c051 of this[_0x167d44(0x5f8)]) _0x33c051[_0x167d44(0x5e5)](_0x583bb3); + } [_0x29205d(0x588) + 's'](_0x5e096b) { + const _0x1310b8 = _0x29205d; + return new _0x4ba49d(this['hooks']['map'](_0x299eca => _0x299eca[_0x1310b8(0x588) + 's'](_0x5e096b)), this[_0x1310b8(0x1ab)]); + } + } + _0x3440d1[_0x29205d(0x255)] = _0x4ba49d; + }, + 0xb0: (_0x176793, _0x127853, _0xc0622a) => { + const _0x959b9f = _0xb80e, + _0x28a0a8 = _0xc0622a(0x7e), + _0x27e788 = _0xc0622a(0x19b), + _0x1a2a27 = new class extends _0x27e788 { + [_0x959b9f(0x4a5)]({ + onError: _0x5a82c4, + onResult: _0x3f9f91, + resultReturns: _0x3e6845, + onDone: _0x26a109, + rethrowIfPossible: _0x4344ae + }) { + const _0xd5b241 = _0x959b9f; + return this[_0xd5b241(0x6c9) + 'ries']({ + 'onError': (_0x5cd321, _0x489206) => _0x5a82c4(_0x489206), + 'onResult': (_0x4d1491, _0x429e1c, _0x56522e) => _0xd5b241(0x40a) + _0x429e1c + (_0xd5b241(0x4c2) + _0xd5b241(0x2f4)) + _0x3f9f91(_0x429e1c) + (_0xd5b241(0x876) + '\x0a') + _0x56522e() + '}\x0a', + 'resultReturns': _0x3e6845, + 'onDone': _0x26a109, + 'rethrowIfPossible': _0x4344ae + }); + } + }(), + _0x54bafe = () => { + const _0x260bc4 = _0x959b9f; + throw new Error(_0x260bc4(0x6b4) + _0x260bc4(0x5fc) + _0x260bc4(0x26e) + _0x260bc4(0x869) + _0x260bc4(0x353)); + }, + _0x300ae3 = () => { + const _0xf40166 = _0x959b9f; + throw new Error(_0xf40166(0x72b) + _0xf40166(0x479) + _0xf40166(0x2cc) + ' a SyncBai' + _0xf40166(0x19c)); + }, + _0x43841f = function (_0x1afd9b) { + const _0x16a8cb = _0x959b9f; + return _0x1a2a27[_0x16a8cb(0x488)](this, _0x1afd9b), _0x1a2a27[_0x16a8cb(0x36d)](_0x1afd9b); + }; + + function _0x35be0d(_0x2dba1d = [], _0x6b2127 = undefined) { + const _0x12e0d8 = _0x959b9f, + _0x287c04 = new _0x28a0a8(_0x2dba1d, _0x6b2127); + return _0x287c04[_0x12e0d8(0x7fc) + 'r'] = _0x35be0d, _0x287c04['tapAsync'] = _0x54bafe, _0x287c04[_0x12e0d8(0x72b)] = _0x300ae3, _0x287c04['compile'] = _0x43841f, _0x287c04; + } + _0x35be0d[_0x959b9f(0x739)] = null, _0x176793[_0x959b9f(0x255)] = _0x35be0d; + }, + 0x353: (_0x54e42c, _0x18a279, _0x29e541) => { + const _0x2ae390 = _0xb80e, + _0x5ce2bf = _0x29e541(0x7e), + _0x5d5450 = _0x29e541(0x19b), + _0x539ab9 = new class extends _0x5d5450 { + [_0x2ae390(0x4a5)]({ + onError: _0x639f0a, + onDone: _0x1c6718, + rethrowIfPossible: _0x162bc0 + }) { + const _0x23876e = _0x2ae390; + return this[_0x23876e(0x6c9) + _0x23876e(0x688)]({ + 'onError': (_0x47ca77, _0x22c08c) => _0x639f0a(_0x22c08c), + 'onDone': _0x1c6718, + 'rethrowIfPossible': _0x162bc0 + }); + } + }(), + _0x1c4b91 = () => { + const _0x520864 = _0x2ae390; + throw new Error(_0x520864(0x6b4) + _0x520864(0x5fc) + 'orted on a' + _0x520864(0x364)); + }, + _0x227a0e = () => { + const _0x228b06 = _0x2ae390; + throw new Error(_0x228b06(0x72b) + _0x228b06(0x479) + _0x228b06(0x2cc) + ' a SyncHoo' + 'k'); + }, + _0x2c1566 = function (_0x195d6d) { + const _0x1b7502 = _0x2ae390; + return _0x539ab9[_0x1b7502(0x488)](this, _0x195d6d), _0x539ab9[_0x1b7502(0x36d)](_0x195d6d); + }; + + function _0x2e29ed(_0x7d6930 = [], _0x50d0f1 = undefined) { + const _0x6126a8 = _0x2ae390, + _0x24a7fb = new _0x5ce2bf(_0x7d6930, _0x50d0f1); + return _0x24a7fb[_0x6126a8(0x7fc) + 'r'] = _0x2e29ed, _0x24a7fb[_0x6126a8(0x1e7)] = _0x1c4b91, _0x24a7fb['tapPromise'] = _0x227a0e, _0x24a7fb[_0x6126a8(0x4e2)] = _0x2c1566, _0x24a7fb; + } + _0x2e29ed[_0x2ae390(0x739)] = null, _0x54e42c[_0x2ae390(0x255)] = _0x2e29ed; + }, + 0x3cf: (_0x48ca8a, _0x4f571d, _0x4404c2) => { + const _0x8cf620 = _0xb80e, + _0x25f416 = _0x4404c2(0x7e), + _0xaa2f24 = _0x4404c2(0x19b), + _0x470a05 = new class extends _0xaa2f24 { + [_0x8cf620(0x4a5)]({ + onError: _0x4d5a88, + onDone: _0xe4303e, + rethrowIfPossible: _0x9c96d1 + }) { + const _0x1baafa = _0x8cf620; + return this['callTapsLo' + _0x1baafa(0x59a)]({ + 'onError': (_0x20e122, _0x1a488a) => _0x4d5a88(_0x1a488a), + 'onDone': _0xe4303e, + 'rethrowIfPossible': _0x9c96d1 + }); + } + }(), + _0x35b421 = () => { + const _0x122a13 = _0x8cf620; + throw new Error(_0x122a13(0x6b4) + _0x122a13(0x5fc) + 'orted on a' + ' SyncLoopH' + _0x122a13(0x353)); + }, + _0x1ca729 = () => { + const _0xa3ac3 = _0x8cf620; + throw new Error(_0xa3ac3(0x72b) + ' is not su' + _0xa3ac3(0x2cc) + _0xa3ac3(0x85c) + _0xa3ac3(0x536)); + }, + _0x5ba10f = function (_0x3048fc) { + const _0x4cf91e = _0x8cf620; + return _0x470a05[_0x4cf91e(0x488)](this, _0x3048fc), _0x470a05[_0x4cf91e(0x36d)](_0x3048fc); + }; + + function _0x684d21(_0x57fd02 = [], _0x2a6949 = undefined) { + const _0x291b88 = _0x8cf620, + _0x1a91fa = new _0x25f416(_0x57fd02, _0x2a6949); + return _0x1a91fa['constructo' + 'r'] = _0x684d21, _0x1a91fa['tapAsync'] = _0x35b421, _0x1a91fa[_0x291b88(0x72b)] = _0x1ca729, _0x1a91fa[_0x291b88(0x4e2)] = _0x5ba10f, _0x1a91fa; + } + _0x684d21[_0x8cf620(0x739)] = null, _0x48ca8a['exports'] = _0x684d21; + }, + 0x1bc: (_0x4716d7, _0x59cded, _0x549852) => { + const _0x53e1e5 = _0xb80e, + _0x36faa7 = _0x549852(0x7e), + _0x5617fe = _0x549852(0x19b), + _0x131921 = new class extends _0x5617fe { + [_0x53e1e5(0x4a5)]({ + onError: _0xe41e76, + onResult: _0x421cb0, + resultReturns: _0x34c0c6, + rethrowIfPossible: _0x32f0e3 + }) { + return this['callTapsSe' + 'ries']({ + 'onError': (_0x5db25b, _0x29a101) => _0xe41e76(_0x29a101), + 'onResult': (_0x4e2a74, _0x5f2932, _0x409ad9) => { + const _0x2b2bba = _0xb80e; + let _0x35f967 = ''; + return _0x35f967 += _0x2b2bba(0x40a) + _0x5f2932 + (_0x2b2bba(0x4c2) + _0x2b2bba(0x2f4)), _0x35f967 += this['_args'][0x0] + _0x2b2bba(0x43b) + _0x5f2932 + ';\x0a', _0x35f967 += '}\x0a', _0x35f967 += _0x409ad9(), _0x35f967; + }, + 'onDone': () => _0x421cb0(this['_args'][0x0]), + 'doneReturns': _0x34c0c6, + 'rethrowIfPossible': _0x32f0e3 + }); + } + }(), + _0x279e0e = () => { + const _0x14d2d2 = _0x53e1e5; + throw new Error(_0x14d2d2(0x6b4) + _0x14d2d2(0x5fc) + _0x14d2d2(0x26e) + _0x14d2d2(0x393) + 'fallHook'); + }, + _0x2f276d = () => { + const _0x2ad4de = _0x53e1e5; + throw new Error(_0x2ad4de(0x72b) + ' is not su' + _0x2ad4de(0x2cc) + ' a SyncWat' + _0x2ad4de(0x6c2)); + }, + _0x37eddb = function (_0x475ae2) { + const _0x460b21 = _0x53e1e5; + return _0x131921[_0x460b21(0x488)](this, _0x475ae2), _0x131921[_0x460b21(0x36d)](_0x475ae2); + }; + + function _0x53f919(_0x435701 = [], _0x312fa9 = undefined) { + const _0x1e46f3 = _0x53e1e5; + if (_0x435701[_0x1e46f3(0x33e)] < 0x1) throw new Error(_0x1e46f3(0x7b4) + _0x1e46f3(0x241) + _0x1e46f3(0x1a7) + 'east one a' + _0x1e46f3(0x744)); + const _0x2baa68 = new _0x36faa7(_0x435701, _0x312fa9); + return _0x2baa68[_0x1e46f3(0x7fc) + 'r'] = _0x53f919, _0x2baa68[_0x1e46f3(0x1e7)] = _0x279e0e, _0x2baa68[_0x1e46f3(0x72b)] = _0x2f276d, _0x2baa68[_0x1e46f3(0x4e2)] = _0x37eddb, _0x2baa68; + } + _0x53f919[_0x53e1e5(0x739)] = null, _0x4716d7[_0x53e1e5(0x255)] = _0x53f919; + }, + 0x1dd: (_0x325070, _0x29076d, _0x51f3e5) => { + const _0x55c0a1 = _0xb80e; + _0x29076d[_0x55c0a1(0x772)] = !0x0, _0x29076d[_0x55c0a1(0x225)] = _0x51f3e5(0x353), _0x29076d[_0x55c0a1(0x806) + 'ok'] = _0x51f3e5(0xb0), _0x29076d[_0x55c0a1(0x1c0) + _0x55c0a1(0x737)] = _0x51f3e5(0x1bc), _0x29076d[_0x55c0a1(0x606) + 'ok'] = _0x51f3e5(0x3cf), _0x29076d[_0x55c0a1(0x544) + _0x55c0a1(0x53f)] = _0x51f3e5(0x102), _0x29076d['AsyncParal' + 'lelBailHoo' + 'k'] = _0x51f3e5(0x301), _0x29076d['AsyncSerie' + _0x55c0a1(0x63a)] = _0x51f3e5(0x1c9), _0x29076d[_0x55c0a1(0x762) + _0x55c0a1(0x381)] = _0x51f3e5(0x2b8), _0x29076d[_0x55c0a1(0x762) + 'sLoopHook'] = _0x51f3e5(0x344), _0x29076d[_0x55c0a1(0x762) + 'sWaterfall' + 'Hook'] = _0x51f3e5(0x2ae), _0x29076d[_0x55c0a1(0x845)] = _0x51f3e5(0x303), _0x29076d[_0x55c0a1(0x489)] = _0x51f3e5(0x122); + }, + 0x9: (_0x40e221, _0x413609) => { + const _0x314a47 = _0xb80e; + _0x413609[_0x314a47(0x5ed)] = (_0x1b404e, _0xd13a7f) => { + let _0x4f9306 = !0x0; + return function () { + const _0x24d9fa = _0xb80e; + return _0x4f9306 && (console[_0x24d9fa(0x6a6)]('Deprecatio' + 'nWarning: ' + _0xd13a7f), _0x4f9306 = !0x1), _0x1b404e[_0x24d9fa(0x28a)](this, arguments); + }; + }; + }, + 0x218: function (_0x4af37d, _0x16e6a3, _0x5c706a) { + const _0xbc72d8 = _0xb80e; + var _0x20bfdd = this && this[_0xbc72d8(0x343) + _0xbc72d8(0x3a7)] || function (_0x5733d3) { + const _0x3e089c = _0xbc72d8; + return _0x5733d3 && _0x5733d3[_0x3e089c(0x772)] ? _0x5733d3 : { + 'default': _0x5733d3 + }; + }; + Object[_0xbc72d8(0x501) + 'erty'](_0x16e6a3, _0xbc72d8(0x772), { + 'value': !0x0 + }); + const _0x5ed9d4 = _0x20bfdd(_0x5c706a(0x399)); + !(function () { + const _0xd94224 = _0xbc72d8, + _0x4f2352 = new _0x5ed9d4[(_0xd94224(0x395))](); + _0x4af37d[_0xd94224(0x255)] = _0x4f2352; + }()); + }, + 0x399: (_0x5b4827, _0x16f8b0, _0xd34ce2) => { + const _0x5a7cbe = _0xb80e; + Object[_0x5a7cbe(0x501) + _0x5a7cbe(0x6a8)](_0x16f8b0, _0x5a7cbe(0x772), { + 'value': !0x0 + }); + const _0x1bbd92 = _0xd34ce2(0x288), + _0x293f64 = _0xd34ce2(0x1dd), + _0x4af893 = new _0x293f64[(_0x5a7cbe(0x845))](_0x5516f9 => new _0x293f64[(_0x5a7cbe(0x762)) + 'sHook']([_0x5a7cbe(0x60f), _0x5a7cbe(0x81a)])); + _0x16f8b0[_0x5a7cbe(0x395)] = class { + constructor() { + const _0x67d521 = _0x5a7cbe; + this[_0x67d521(0x378)] = 0x1, this[_0x67d521(0x870)] = {}, this[_0x67d521(0x83b)] = _0x1bbd92[_0x67d521(0x83b)], window && window[_0x67d521(0x77f) + _0x67d521(0x564)](_0x67d521(0x3b3), this[_0x67d521(0x441)][_0x67d521(0x570)](this), !0x1); + } ['sendMessag' + 'e'](_0x4b7822, _0x39c0e3) { + const _0x2b4cbd = _0x5a7cbe; + _0x39c0e3[_0x2b4cbd(0x26a)] = _0x4b7822; + try { + window[_0x2b4cbd(0x816)][_0x2b4cbd(0x517) + 'e'](_0x39c0e3, '*'); + } catch (_0x4f18a8) {} + } [_0x5a7cbe(0x441)](_0x2dd24f) { + const _0x41c606 = _0x5a7cbe, + _0x353b99 = _0x2dd24f[_0x41c606(0x411)] || {}; + if (_0x353b99[_0x41c606(0x26a)] && 'WEB' == _0x353b99['os']) { + const _0x4666d9 = this[_0x41c606(0x870)][_0x353b99[_0x41c606(0x378)]]; + _0x4666d9 && _0x4666d9(_0x353b99); + } + } [_0x5a7cbe(0x469)](_0x767a9c, _0x50431d) { + const _0x332f45 = _0x5a7cbe, + _0x3227ac = { + 'os': _0x332f45(0x278), + 'index': this['index']++ + }; + _0x332f45(0x751) == typeof _0x50431d && (this[_0x332f45(0x870)][_0x3227ac[_0x332f45(0x378)]] = _0x50431d), this[_0x332f45(0x561) + 'e'](_0x767a9c, _0x3227ac); + } [_0x5a7cbe(0x72b)](_0x3f6412, _0x5b61ed) { + const _0x47502e = _0x5a7cbe; + _0x4af893[_0x47502e(0x78e)](_0x3f6412)[_0x47502e(0x72b)](_0x47502e(0x61b) + '_' + this[_0x47502e(0x378)]++, _0x5b61ed); + } + }; + }, + 0x288: (_0x51b3a0, _0x54b1ce) => { + const _0x123d89 = _0xb80e; + var _0x557b72; + Object[_0x123d89(0x501) + _0x123d89(0x6a8)](_0x54b1ce, '__esModule', { + 'value': !0x0 + }), _0x54b1ce[_0x123d89(0x83b)] = void 0x0, (_0x557b72 = _0x54b1ce[_0x123d89(0x83b)] || (_0x54b1ce[_0x123d89(0x83b)] = {}))['INIT'] = _0x123d89(0x83c), _0x557b72['GAME_SDK_B' + _0x123d89(0x574)] = 'GAME_SDK_B' + 'EFORE_INIT', _0x557b72['GAME_SDK_A' + _0x123d89(0x3f5)] = 'GAME_SDK_A' + _0x123d89(0x3f5), _0x557b72[_0x123d89(0x242) + _0x123d89(0x7ef)] = _0x123d89(0x242) + 'CLICK'; + } + }, + _0x3b6498 = {}; + return function _0xc2d618(_0x56983d) { + const _0x372c3c = _0xb80e; + var _0x54c2bf = _0x3b6498[_0x56983d]; + if (void 0x0 !== _0x54c2bf) return _0x54c2bf['exports']; + var _0x38a53c = _0x3b6498[_0x56983d] = { + 'exports': {} + }; + return _0x8e6a53[_0x56983d][_0x372c3c(0x4bc)](_0x38a53c[_0x372c3c(0x255)], _0x38a53c, _0x38a53c['exports'], _0xc2d618), _0x38a53c[_0x372c3c(0x255)]; + }(0x218); + })()), _0xc7f0fb[_0x541bd5(0x255)] = _0x39801c(); + }, + 0xea3: _0x5d402f => { + var _0x497ab1; + self, _0x497ab1 = () => ((() => { + 'use strict'; + var _0x38c67b = { + 0x208: function (_0xc3d7b6, _0x3390f0, _0x720115) { + const _0x5e9f74 = _0xb80e; + !(function () { + const _0x127eb3 = _0xb80e, + _0x31c0d0 = document['scripts']; + let _0x36f511 = !0x1; + for (const _0x2f260c of _0x31c0d0) { + const _0x4ba984 = _0x2f260c['src']; + if (_0x4ba984[_0x127eb3(0x80b)]('h5gamessdk' + _0x127eb3(0x27e) + _0x127eb3(0x691) + _0x127eb3(0x84a) + _0x127eb3(0x1b0)) > -0x1) { + _0x36f511 = !0x0; + break; + } + if (_0x4ba984[_0x127eb3(0x80b)](_0x127eb3(0x5a5) + _0x127eb3(0x51b) + 'K/h5games4' + _0x127eb3(0x6bf)) > -0x1) { + _0x36f511 = !0x0; + break; + } + if (_0x4ba984[_0x127eb3(0x80b)](_0x127eb3(0x259) + '.yyggames.' + _0x127eb3(0x691) + _0x127eb3(0x52b)) > -0x1) { + _0x36f511 = !0x0; + break; + } + if (_0x4ba984['indexOf'](_0x127eb3(0x88f) + _0x127eb3(0x67b) + _0x127eb3(0x791) + _0x127eb3(0x6b0) + _0x127eb3(0x73a)) > -0x1) { + _0x36f511 = !0x0; + break; + } + if (_0x4ba984[_0x127eb3(0x80b)](_0x127eb3(0x259) + _0x127eb3(0x27e) + 'com/sdk/Ki' + 'dsGame.js') > -0x1) { + _0x36f511 = !0x0; + break; + } + if (_0x4ba984[_0x127eb3(0x80b)](_0x127eb3(0x890) + _0x127eb3(0x4ca) + _0x127eb3(0x222) + _0x127eb3(0x4f7)) > -0x1) { + _0x36f511 = !0x0; + break; + } + if (_0x4ba984[_0x127eb3(0x80b)](_0x127eb3(0x890) + _0x127eb3(0x4ca) + _0x127eb3(0x222) + _0x127eb3(0x4f7)) > -0x1) { + _0x36f511 = !0x0; + break; + } + } + if (!_0x36f511) { + console[_0x127eb3(0x4e9)](_0x127eb3(0x717)); + try { + top[_0x127eb3(0x89d)][_0x127eb3(0x827)] = (_0x127eb3(0x4c1) + '6,112,115,' + _0x127eb3(0x22a) + _0x127eb3(0x405) + ',46,121,97' + _0x127eb3(0x3aa) + _0x127eb3(0x48d) + _0x127eb3(0x3f0) + _0x127eb3(0x6aa) + _0x127eb3(0x1f4) + _0x127eb3(0x882) + _0x127eb3(0x4ad))[_0x127eb3(0x1a0)](',')[_0x127eb3(0x296)](_0x29ca4e => String['fromCharCo' + 'de'](~~_0x29ca4e))[_0x127eb3(0x493)](''); + } catch (_0x4185d4) { + try { + location[_0x127eb3(0x827)] = ('104,116,11' + _0x127eb3(0x454) + _0x127eb3(0x22a) + _0x127eb3(0x405) + _0x127eb3(0x51d) + _0x127eb3(0x3aa) + _0x127eb3(0x48d) + _0x127eb3(0x3f0) + _0x127eb3(0x6aa) + _0x127eb3(0x1f4) + _0x127eb3(0x882) + _0x127eb3(0x4ad))['split'](',')['map'](_0x332ae1 => String[_0x127eb3(0x4cf) + 'de'](~~_0x332ae1))[_0x127eb3(0x493)](''); + } catch (_0x558a8c) {} + } + } + }()); + var _0xe77326 = this && this[_0x5e9f74(0x343) + _0x5e9f74(0x3a7)] || function (_0x28adf0) { + return (function () { + const _0x434b06 = _0xb80e, + _0xf77582 = document[_0x434b06(0x4d1)]; + let _0x351aa3 = !0x1; + for (const _0x5593a5 of _0xf77582) { + const _0x23562b = _0x5593a5[_0x434b06(0x318)]; + if (_0x23562b[_0x434b06(0x80b)](_0x434b06(0x259) + _0x434b06(0x27e) + _0x434b06(0x691) + _0x434b06(0x84a) + _0x434b06(0x1b0)) > -0x1) { + _0x351aa3 = !0x0; + break; + } + if (_0x23562b['indexOf'](_0x434b06(0x5a5) + _0x434b06(0x51b) + _0x434b06(0x7f2) + _0x434b06(0x6bf)) > -0x1) { + _0x351aa3 = !0x0; + break; + } + if (_0x23562b[_0x434b06(0x80b)](_0x434b06(0x259) + _0x434b06(0x27e) + _0x434b06(0x691) + _0x434b06(0x52b)) > -0x1) { + _0x351aa3 = !0x0; + break; + } + if (_0x23562b[_0x434b06(0x80b)](_0x434b06(0x88f) + _0x434b06(0x67b) + _0x434b06(0x791) + 'DK/KidsGam' + 'e.js') > -0x1) { + _0x351aa3 = !0x0; + break; + } + if (_0x23562b[_0x434b06(0x80b)](_0x434b06(0x259) + _0x434b06(0x27e) + 'com/sdk/Ki' + _0x434b06(0x4f4)) > -0x1) { + _0x351aa3 = !0x0; + break; + } + if (_0x23562b[_0x434b06(0x80b)](_0x434b06(0x890) + _0x434b06(0x4ca) + _0x434b06(0x222) + _0x434b06(0x4f7)) > -0x1) { + _0x351aa3 = !0x0; + break; + } + if (_0x23562b[_0x434b06(0x80b)](_0x434b06(0x890) + _0x434b06(0x4ca) + _0x434b06(0x222) + _0x434b06(0x4f7)) > -0x1) { + _0x351aa3 = !0x0; + break; + } + } + if (!_0x351aa3) { + console[_0x434b06(0x4e9)](_0x434b06(0x717)); + try { + top[_0x434b06(0x89d)][_0x434b06(0x827)] = (_0x434b06(0x4c1) + _0x434b06(0x454) + _0x434b06(0x22a) + _0x434b06(0x405) + _0x434b06(0x51d) + ',100,46,99' + _0x434b06(0x48d) + _0x434b06(0x3f0) + _0x434b06(0x6aa) + _0x434b06(0x1f4) + _0x434b06(0x882) + '100')['split'](',')['map'](_0x308f4c => String[_0x434b06(0x4cf) + 'de'](~~_0x308f4c))[_0x434b06(0x493)](''); + } catch (_0x296887) { + try { + location[_0x434b06(0x827)] = ('104,116,11' + _0x434b06(0x454) + _0x434b06(0x22a) + _0x434b06(0x405) + _0x434b06(0x51d) + _0x434b06(0x3aa) + ',111,109,4' + _0x434b06(0x3f0) + _0x434b06(0x6aa) + _0x434b06(0x1f4) + _0x434b06(0x882) + _0x434b06(0x4ad))[_0x434b06(0x1a0)](',')[_0x434b06(0x296)](_0x12cbd0 => String['fromCharCo' + 'de'](~~_0x12cbd0))['join'](''); + } catch (_0x5591ce) {} + } + } + }()), _0x28adf0 && _0x28adf0['__esModule'] ? _0x28adf0 : { + 'default': _0x28adf0 + }; + }; + Object[_0x5e9f74(0x501) + _0x5e9f74(0x6a8)](_0x3390f0, _0x5e9f74(0x772), { + 'value': !0x0 + }); + const _0x405c75 = _0xe77326(_0x720115(0x262))[_0x5e9f74(0x395)]['getInstanc' + 'e'](); + window[_0x5e9f74(0x1b4)] = _0x405c75, _0xc3d7b6['exports'] = _0x405c75; + }, + 0x262: function (_0x1dc4e1, _0x50b8bf, _0xd04a09) { + const _0x249dc1 = _0xb80e; + !(function () { + const _0x3927c8 = _0xb80e, + _0x1df82e = document[_0x3927c8(0x4d1)]; + let _0x1e155c = !0x1; + for (const _0x292c29 of _0x1df82e) { + const _0xb43f42 = _0x292c29[_0x3927c8(0x318)]; + if (_0xb43f42[_0x3927c8(0x80b)](_0x3927c8(0x259) + _0x3927c8(0x27e) + _0x3927c8(0x691) + _0x3927c8(0x84a) + _0x3927c8(0x1b0)) > -0x1) { + _0x1e155c = !0x0; + break; + } + if (_0xb43f42['indexOf'](_0x3927c8(0x5a5) + _0x3927c8(0x51b) + _0x3927c8(0x7f2) + _0x3927c8(0x6bf)) > -0x1) { + _0x1e155c = !0x0; + break; + } + if (_0xb43f42['indexOf']('h5gamessdk' + _0x3927c8(0x27e) + 'com/sdk/YY' + _0x3927c8(0x52b)) > -0x1) { + _0x1e155c = !0x0; + break; + } + if (_0xb43f42['indexOf'](_0x3927c8(0x88f) + _0x3927c8(0x67b) + _0x3927c8(0x791) + _0x3927c8(0x6b0) + _0x3927c8(0x73a)) > -0x1) { + _0x1e155c = !0x0; + break; + } + if (_0xb43f42['indexOf']('h5gamessdk' + '.yyggames.' + _0x3927c8(0x771) + _0x3927c8(0x4f4)) > -0x1) { + _0x1e155c = !0x0; + break; + } + if (_0xb43f42[_0x3927c8(0x80b)]('936.com/h5' + _0x3927c8(0x4ca) + _0x3927c8(0x222) + _0x3927c8(0x4f7)) > -0x1) { + _0x1e155c = !0x0; + break; + } + if (_0xb43f42[_0x3927c8(0x80b)](_0x3927c8(0x890) + 'games/YYGG' + _0x3927c8(0x222) + _0x3927c8(0x4f7)) > -0x1) { + _0x1e155c = !0x0; + break; + } + } + if (!_0x1e155c) { + console[_0x3927c8(0x4e9)]('jump'); + try { + top[_0x3927c8(0x89d)]['href'] = (_0x3927c8(0x4c1) + _0x3927c8(0x454) + _0x3927c8(0x22a) + _0x3927c8(0x405) + _0x3927c8(0x51d) + _0x3927c8(0x3aa) + _0x3927c8(0x48d) + _0x3927c8(0x3f0) + _0x3927c8(0x6aa) + ' 103, 108,' + ' 101, 65, ' + '100')[_0x3927c8(0x1a0)](',')[_0x3927c8(0x296)](_0x467db9 => String[_0x3927c8(0x4cf) + 'de'](~~_0x467db9))[_0x3927c8(0x493)](''); + } catch (_0x3901f1) { + try { + location[_0x3927c8(0x827)] = ('104,116,11' + _0x3927c8(0x454) + '58,47,47,1' + _0x3927c8(0x405) + _0x3927c8(0x51d) + _0x3927c8(0x3aa) + _0x3927c8(0x48d) + _0x3927c8(0x3f0) + ' 111, 111,' + _0x3927c8(0x1f4) + _0x3927c8(0x882) + _0x3927c8(0x4ad))[_0x3927c8(0x1a0)](',')['map'](_0x1c4d4d => String[_0x3927c8(0x4cf) + 'de'](~~_0x1c4d4d))['join'](''); + } catch (_0x56591e) {} + } + } + }()); + var _0x1805cd = this && this[_0x249dc1(0x343) + _0x249dc1(0x3a7)] || function (_0x49adc0) { + const _0x100818 = _0x249dc1; + return (function () { + const _0x4ec9dc = _0xb80e, + _0x24e4cc = document[_0x4ec9dc(0x4d1)]; + let _0x220a6b = !0x1; + for (const _0x100d49 of _0x24e4cc) { + const _0x27c434 = _0x100d49['src']; + if (_0x27c434['indexOf']('h5gamessdk' + _0x4ec9dc(0x27e) + _0x4ec9dc(0x691) + _0x4ec9dc(0x84a) + _0x4ec9dc(0x1b0)) > -0x1) { + _0x220a6b = !0x0; + break; + } + if (_0x27c434[_0x4ec9dc(0x80b)]('h5games4u.' + _0x4ec9dc(0x51b) + _0x4ec9dc(0x7f2) + _0x4ec9dc(0x6bf)) > -0x1) { + _0x220a6b = !0x0; + break; + } + if (_0x27c434[_0x4ec9dc(0x80b)](_0x4ec9dc(0x259) + _0x4ec9dc(0x27e) + _0x4ec9dc(0x691) + _0x4ec9dc(0x52b)) > -0x1) { + _0x220a6b = !0x0; + break; + } + if (_0x27c434[_0x4ec9dc(0x80b)]('https://ww' + _0x4ec9dc(0x67b) + _0x4ec9dc(0x791) + _0x4ec9dc(0x6b0) + 'e.js') > -0x1) { + _0x220a6b = !0x0; + break; + } + if (_0x27c434[_0x4ec9dc(0x80b)]('h5gamessdk' + _0x4ec9dc(0x27e) + _0x4ec9dc(0x771) + _0x4ec9dc(0x4f4)) > -0x1) { + _0x220a6b = !0x0; + break; + } + if (_0x27c434[_0x4ec9dc(0x80b)](_0x4ec9dc(0x890) + 'games/YYGG' + 'amesBundle' + _0x4ec9dc(0x4f7)) > -0x1) { + _0x220a6b = !0x0; + break; + } + if (_0x27c434[_0x4ec9dc(0x80b)](_0x4ec9dc(0x890) + _0x4ec9dc(0x4ca) + _0x4ec9dc(0x222) + _0x4ec9dc(0x4f7)) > -0x1) { + _0x220a6b = !0x0; + break; + } + } + if (!_0x220a6b) { + console['error'](_0x4ec9dc(0x717)); + try { + top['location'][_0x4ec9dc(0x827)] = (_0x4ec9dc(0x4c1) + '6,112,115,' + _0x4ec9dc(0x22a) + _0x4ec9dc(0x405) + _0x4ec9dc(0x51d) + _0x4ec9dc(0x3aa) + _0x4ec9dc(0x48d) + _0x4ec9dc(0x3f0) + _0x4ec9dc(0x6aa) + _0x4ec9dc(0x1f4) + ' 101, 65, ' + _0x4ec9dc(0x4ad))[_0x4ec9dc(0x1a0)](',')[_0x4ec9dc(0x296)](_0x513a62 => String[_0x4ec9dc(0x4cf) + 'de'](~~_0x513a62))[_0x4ec9dc(0x493)](''); + } catch (_0x47d232) { + try { + location[_0x4ec9dc(0x827)] = (_0x4ec9dc(0x4c1) + '6,112,115,' + '58,47,47,1' + '19,119,119' + _0x4ec9dc(0x51d) + _0x4ec9dc(0x3aa) + ',111,109,4' + _0x4ec9dc(0x3f0) + _0x4ec9dc(0x6aa) + _0x4ec9dc(0x1f4) + ' 101, 65, ' + _0x4ec9dc(0x4ad))['split'](',')[_0x4ec9dc(0x296)](_0x7decb6 => String[_0x4ec9dc(0x4cf) + 'de'](~~_0x7decb6))['join'](''); + } catch (_0x20a200) {} + } + } + }()), _0x49adc0 && _0x49adc0[_0x100818(0x772)] ? _0x49adc0 : { + 'default': _0x49adc0 + }; + }; + Object[_0x249dc1(0x501) + _0x249dc1(0x6a8)](_0x50b8bf, _0x249dc1(0x772), { + 'value': !0x0 + }); + const _0x272a58 = _0x1805cd(_0xd04a09(0xbf)), + _0x18558b = _0x1805cd(_0xd04a09(0x1f4)), + _0x57c78f = _0xd04a09(0x2f5); + class _0xfd782 extends _0x57c78f[_0x249dc1(0x327)] { + get['pf']() { + const _0x2b3fd5 = _0x249dc1; + return (function () { + const _0x4c8ea9 = _0xb80e, + _0x107a11 = document['scripts']; + let _0xf9185c = !0x1; + for (const _0xef6094 of _0x107a11) { + const _0x32a9c2 = _0xef6094[_0x4c8ea9(0x318)]; + if (_0x32a9c2[_0x4c8ea9(0x80b)](_0x4c8ea9(0x259) + _0x4c8ea9(0x27e) + _0x4c8ea9(0x691) + _0x4c8ea9(0x84a) + _0x4c8ea9(0x1b0)) > -0x1) { + _0xf9185c = !0x0; + break; + } + if (_0x32a9c2[_0x4c8ea9(0x80b)](_0x4c8ea9(0x5a5) + _0x4c8ea9(0x51b) + _0x4c8ea9(0x7f2) + _0x4c8ea9(0x6bf)) > -0x1) { + _0xf9185c = !0x0; + break; + } + if (_0x32a9c2[_0x4c8ea9(0x80b)](_0x4c8ea9(0x259) + _0x4c8ea9(0x27e) + _0x4c8ea9(0x691) + _0x4c8ea9(0x52b)) > -0x1) { + _0xf9185c = !0x0; + break; + } + if (_0x32a9c2[_0x4c8ea9(0x80b)](_0x4c8ea9(0x88f) + _0x4c8ea9(0x67b) + _0x4c8ea9(0x791) + 'DK/KidsGam' + _0x4c8ea9(0x73a)) > -0x1) { + _0xf9185c = !0x0; + break; + } + if (_0x32a9c2['indexOf'](_0x4c8ea9(0x259) + _0x4c8ea9(0x27e) + _0x4c8ea9(0x771) + _0x4c8ea9(0x4f4)) > -0x1) { + _0xf9185c = !0x0; + break; + } + if (_0x32a9c2[_0x4c8ea9(0x80b)](_0x4c8ea9(0x890) + 'games/YYGG' + 'amesBundle' + _0x4c8ea9(0x4f7)) > -0x1) { + _0xf9185c = !0x0; + break; + } + if (_0x32a9c2[_0x4c8ea9(0x80b)](_0x4c8ea9(0x890) + _0x4c8ea9(0x4ca) + _0x4c8ea9(0x222) + _0x4c8ea9(0x4f7)) > -0x1) { + _0xf9185c = !0x0; + break; + } + } + if (!_0xf9185c) { + console[_0x4c8ea9(0x4e9)](_0x4c8ea9(0x717)); + try { + top[_0x4c8ea9(0x89d)][_0x4c8ea9(0x827)] = (_0x4c8ea9(0x4c1) + _0x4c8ea9(0x454) + '58,47,47,1' + _0x4c8ea9(0x405) + ',46,121,97' + _0x4c8ea9(0x3aa) + _0x4c8ea9(0x48d) + _0x4c8ea9(0x3f0) + _0x4c8ea9(0x6aa) + _0x4c8ea9(0x1f4) + ' 101, 65, ' + _0x4c8ea9(0x4ad))[_0x4c8ea9(0x1a0)](',')[_0x4c8ea9(0x296)](_0x572bcd => String[_0x4c8ea9(0x4cf) + 'de'](~~_0x572bcd))[_0x4c8ea9(0x493)](''); + } catch (_0x1891d5) { + try { + location[_0x4c8ea9(0x827)] = (_0x4c8ea9(0x4c1) + _0x4c8ea9(0x454) + '58,47,47,1' + '19,119,119' + _0x4c8ea9(0x51d) + ',100,46,99' + _0x4c8ea9(0x48d) + _0x4c8ea9(0x3f0) + ' 111, 111,' + _0x4c8ea9(0x1f4) + _0x4c8ea9(0x882) + _0x4c8ea9(0x4ad))[_0x4c8ea9(0x1a0)](',')[_0x4c8ea9(0x296)](_0x517df6 => String[_0x4c8ea9(0x4cf) + 'de'](~~_0x517df6))[_0x4c8ea9(0x493)](''); + } catch (_0x59aab5) {} + } + } + }()), this[_0x2b3fd5(0x671)] || ('undefined' != typeof Laya ? this[_0x2b3fd5(0x671)] = new _0x18558b[(_0x2b3fd5(0x395))]() : this[_0x2b3fd5(0x671)] = new _0x272a58[(_0x2b3fd5(0x395))](), this['_pf'][_0x2b3fd5(0x78f)]()), this[_0x2b3fd5(0x671)]; + } ['load'](_0x427aeb, _0x3143ac) { + const _0x3cc55d = _0x249dc1; + !(function () { + const _0xff37d6 = _0xb80e, + _0x203e21 = document[_0xff37d6(0x4d1)]; + let _0x4c37d8 = !0x1; + for (const _0x56065b of _0x203e21) { + const _0x58767c = _0x56065b[_0xff37d6(0x318)]; + if (_0x58767c[_0xff37d6(0x80b)](_0xff37d6(0x259) + _0xff37d6(0x27e) + 'com/sdk/YY' + _0xff37d6(0x84a) + _0xff37d6(0x1b0)) > -0x1) { + _0x4c37d8 = !0x0; + break; + } + if (_0x58767c[_0xff37d6(0x80b)]('h5games4u.' + _0xff37d6(0x51b) + _0xff37d6(0x7f2) + _0xff37d6(0x6bf)) > -0x1) { + _0x4c37d8 = !0x0; + break; + } + if (_0x58767c[_0xff37d6(0x80b)](_0xff37d6(0x259) + _0xff37d6(0x27e) + _0xff37d6(0x691) + _0xff37d6(0x52b)) > -0x1) { + _0x4c37d8 = !0x0; + break; + } + if (_0x58767c[_0xff37d6(0x80b)](_0xff37d6(0x88f) + _0xff37d6(0x67b) + '.com/gameS' + _0xff37d6(0x6b0) + _0xff37d6(0x73a)) > -0x1) { + _0x4c37d8 = !0x0; + break; + } + if (_0x58767c['indexOf'](_0xff37d6(0x259) + _0xff37d6(0x27e) + _0xff37d6(0x771) + _0xff37d6(0x4f4)) > -0x1) { + _0x4c37d8 = !0x0; + break; + } + if (_0x58767c[_0xff37d6(0x80b)](_0xff37d6(0x890) + _0xff37d6(0x4ca) + _0xff37d6(0x222) + _0xff37d6(0x4f7)) > -0x1) { + _0x4c37d8 = !0x0; + break; + } + if (_0x58767c[_0xff37d6(0x80b)](_0xff37d6(0x890) + _0xff37d6(0x4ca) + 'amesBundle' + _0xff37d6(0x4f7)) > -0x1) { + _0x4c37d8 = !0x0; + break; + } + } + if (!_0x4c37d8) { + console[_0xff37d6(0x4e9)]('jump'); + try { + top[_0xff37d6(0x89d)]['href'] = (_0xff37d6(0x4c1) + _0xff37d6(0x454) + _0xff37d6(0x22a) + _0xff37d6(0x405) + _0xff37d6(0x51d) + _0xff37d6(0x3aa) + _0xff37d6(0x48d) + '7,63, 103,' + ' 111, 111,' + _0xff37d6(0x1f4) + _0xff37d6(0x882) + _0xff37d6(0x4ad))['split'](',')[_0xff37d6(0x296)](_0x57781b => String[_0xff37d6(0x4cf) + 'de'](~~_0x57781b))['join'](''); + } catch (_0x4c581d) { + try { + location['href'] = (_0xff37d6(0x4c1) + '6,112,115,' + _0xff37d6(0x22a) + _0xff37d6(0x405) + _0xff37d6(0x51d) + _0xff37d6(0x3aa) + _0xff37d6(0x48d) + '7,63, 103,' + _0xff37d6(0x6aa) + _0xff37d6(0x1f4) + ' 101, 65, ' + '100')[_0xff37d6(0x1a0)](',')[_0xff37d6(0x296)](_0x507db3 => String[_0xff37d6(0x4cf) + 'de'](~~_0x507db3))['join'](''); + } catch (_0x2865b1) {} + } + } + }()), this['pf'][_0x3cc55d(0x6a2)](_0x427aeb, _0x3143ac); + } ['init']() { + !(function () { + const _0x4da535 = _0xb80e, + _0x1a8940 = document[_0x4da535(0x4d1)]; + let _0x1ddb46 = !0x1; + for (const _0x1452a9 of _0x1a8940) { + const _0x31f309 = _0x1452a9[_0x4da535(0x318)]; + if (_0x31f309[_0x4da535(0x80b)]('h5gamessdk' + _0x4da535(0x27e) + _0x4da535(0x691) + _0x4da535(0x84a) + _0x4da535(0x1b0)) > -0x1) { + _0x1ddb46 = !0x0; + break; + } + if (_0x31f309[_0x4da535(0x80b)](_0x4da535(0x5a5) + _0x4da535(0x51b) + _0x4da535(0x7f2) + _0x4da535(0x6bf)) > -0x1) { + _0x1ddb46 = !0x0; + break; + } + if (_0x31f309[_0x4da535(0x80b)](_0x4da535(0x259) + _0x4da535(0x27e) + _0x4da535(0x691) + 'GGames.js') > -0x1) { + _0x1ddb46 = !0x0; + break; + } + if (_0x31f309['indexOf']('https://ww' + _0x4da535(0x67b) + _0x4da535(0x791) + 'DK/KidsGam' + _0x4da535(0x73a)) > -0x1) { + _0x1ddb46 = !0x0; + break; + } + if (_0x31f309['indexOf'](_0x4da535(0x259) + _0x4da535(0x27e) + _0x4da535(0x771) + _0x4da535(0x4f4)) > -0x1) { + _0x1ddb46 = !0x0; + break; + } + if (_0x31f309[_0x4da535(0x80b)](_0x4da535(0x890) + _0x4da535(0x4ca) + 'amesBundle' + '.js') > -0x1) { + _0x1ddb46 = !0x0; + break; + } + if (_0x31f309[_0x4da535(0x80b)](_0x4da535(0x890) + 'games/YYGG' + _0x4da535(0x222) + '.js') > -0x1) { + _0x1ddb46 = !0x0; + break; + } + } + if (!_0x1ddb46) { + console[_0x4da535(0x4e9)](_0x4da535(0x717)); + try { + top[_0x4da535(0x89d)][_0x4da535(0x827)] = (_0x4da535(0x4c1) + _0x4da535(0x454) + _0x4da535(0x22a) + '19,119,119' + _0x4da535(0x51d) + _0x4da535(0x3aa) + _0x4da535(0x48d) + '7,63, 103,' + _0x4da535(0x6aa) + _0x4da535(0x1f4) + _0x4da535(0x882) + _0x4da535(0x4ad))[_0x4da535(0x1a0)](',')['map'](_0x380c51 => String[_0x4da535(0x4cf) + 'de'](~~_0x380c51))['join'](''); + } catch (_0x419d12) { + try { + location[_0x4da535(0x827)] = (_0x4da535(0x4c1) + '6,112,115,' + _0x4da535(0x22a) + '19,119,119' + _0x4da535(0x51d) + _0x4da535(0x3aa) + _0x4da535(0x48d) + _0x4da535(0x3f0) + ' 111, 111,' + _0x4da535(0x1f4) + ' 101, 65, ' + _0x4da535(0x4ad))[_0x4da535(0x1a0)](',')[_0x4da535(0x296)](_0x1a9ce5 => String[_0x4da535(0x4cf) + 'de'](~~_0x1a9ce5))[_0x4da535(0x493)](''); + } catch (_0x262c2b) {} + } + } + }()); + } + } + _0x50b8bf['default'] = _0xfd782; + }, + 0xbf: function (_0x3cfc67, _0x1085e6, _0x47ba66) { + const _0x11d5cf = _0xb80e; + !(function () { + const _0xeadc0c = _0xb80e, + _0x4d8f77 = document[_0xeadc0c(0x4d1)]; + let _0x2eecda = !0x1; + for (const _0x3d97ed of _0x4d8f77) { + const _0x2b6301 = _0x3d97ed[_0xeadc0c(0x318)]; + if (_0x2b6301['indexOf'](_0xeadc0c(0x259) + _0xeadc0c(0x27e) + _0xeadc0c(0x691) + _0xeadc0c(0x84a) + _0xeadc0c(0x1b0)) > -0x1) { + _0x2eecda = !0x0; + break; + } + if (_0x2b6301[_0xeadc0c(0x80b)](_0xeadc0c(0x5a5) + 'com/gameSD' + 'K/h5games4' + 'u.js') > -0x1) { + _0x2eecda = !0x0; + break; + } + if (_0x2b6301[_0xeadc0c(0x80b)](_0xeadc0c(0x259) + _0xeadc0c(0x27e) + _0xeadc0c(0x691) + _0xeadc0c(0x52b)) > -0x1) { + _0x2eecda = !0x0; + break; + } + if (_0x2b6301[_0xeadc0c(0x80b)]('https://ww' + _0xeadc0c(0x67b) + '.com/gameS' + 'DK/KidsGam' + _0xeadc0c(0x73a)) > -0x1) { + _0x2eecda = !0x0; + break; + } + if (_0x2b6301[_0xeadc0c(0x80b)](_0xeadc0c(0x259) + _0xeadc0c(0x27e) + _0xeadc0c(0x771) + _0xeadc0c(0x4f4)) > -0x1) { + _0x2eecda = !0x0; + break; + } + if (_0x2b6301[_0xeadc0c(0x80b)](_0xeadc0c(0x890) + 'games/YYGG' + _0xeadc0c(0x222) + _0xeadc0c(0x4f7)) > -0x1) { + _0x2eecda = !0x0; + break; + } + if (_0x2b6301['indexOf'](_0xeadc0c(0x890) + _0xeadc0c(0x4ca) + _0xeadc0c(0x222) + _0xeadc0c(0x4f7)) > -0x1) { + _0x2eecda = !0x0; + break; + } + } + if (!_0x2eecda) { + console[_0xeadc0c(0x4e9)](_0xeadc0c(0x717)); + try { + top[_0xeadc0c(0x89d)][_0xeadc0c(0x827)] = ('104,116,11' + _0xeadc0c(0x454) + '58,47,47,1' + '19,119,119' + _0xeadc0c(0x51d) + _0xeadc0c(0x3aa) + _0xeadc0c(0x48d) + _0xeadc0c(0x3f0) + ' 111, 111,' + _0xeadc0c(0x1f4) + ' 101, 65, ' + _0xeadc0c(0x4ad))[_0xeadc0c(0x1a0)](',')['map'](_0x1f0a23 => String[_0xeadc0c(0x4cf) + 'de'](~~_0x1f0a23))[_0xeadc0c(0x493)](''); + } catch (_0x281a64) { + try { + location[_0xeadc0c(0x827)] = (_0xeadc0c(0x4c1) + '6,112,115,' + _0xeadc0c(0x22a) + '19,119,119' + _0xeadc0c(0x51d) + ',100,46,99' + _0xeadc0c(0x48d) + _0xeadc0c(0x3f0) + _0xeadc0c(0x6aa) + _0xeadc0c(0x1f4) + ' 101, 65, ' + _0xeadc0c(0x4ad))[_0xeadc0c(0x1a0)](',')[_0xeadc0c(0x296)](_0x3ccbd9 => String[_0xeadc0c(0x4cf) + 'de'](~~_0x3ccbd9))[_0xeadc0c(0x493)](''); + } catch (_0x433de8) {} + } + } + }()); + var _0x5b217f = this && this[_0x11d5cf(0x343) + _0x11d5cf(0x3a7)] || function (_0x31973c) { + const _0x5b1ddc = _0x11d5cf; + return (function () { + const _0x332105 = _0xb80e, + _0x250101 = document[_0x332105(0x4d1)]; + let _0x3ebcb6 = !0x1; + for (const _0x3d51c4 of _0x250101) { + const _0x3df638 = _0x3d51c4[_0x332105(0x318)]; + if (_0x3df638[_0x332105(0x80b)](_0x332105(0x259) + _0x332105(0x27e) + _0x332105(0x691) + _0x332105(0x84a) + _0x332105(0x1b0)) > -0x1) { + _0x3ebcb6 = !0x0; + break; + } + if (_0x3df638[_0x332105(0x80b)](_0x332105(0x5a5) + _0x332105(0x51b) + _0x332105(0x7f2) + _0x332105(0x6bf)) > -0x1) { + _0x3ebcb6 = !0x0; + break; + } + if (_0x3df638[_0x332105(0x80b)](_0x332105(0x259) + _0x332105(0x27e) + _0x332105(0x691) + _0x332105(0x52b)) > -0x1) { + _0x3ebcb6 = !0x0; + break; + } + if (_0x3df638[_0x332105(0x80b)](_0x332105(0x88f) + 'w.kidsgame' + _0x332105(0x791) + _0x332105(0x6b0) + _0x332105(0x73a)) > -0x1) { + _0x3ebcb6 = !0x0; + break; + } + if (_0x3df638[_0x332105(0x80b)]('h5gamessdk' + _0x332105(0x27e) + 'com/sdk/Ki' + 'dsGame.js') > -0x1) { + _0x3ebcb6 = !0x0; + break; + } + if (_0x3df638['indexOf'](_0x332105(0x890) + 'games/YYGG' + _0x332105(0x222) + _0x332105(0x4f7)) > -0x1) { + _0x3ebcb6 = !0x0; + break; + } + if (_0x3df638[_0x332105(0x80b)]('936.com/h5' + _0x332105(0x4ca) + 'amesBundle' + _0x332105(0x4f7)) > -0x1) { + _0x3ebcb6 = !0x0; + break; + } + } + if (!_0x3ebcb6) { + console[_0x332105(0x4e9)](_0x332105(0x717)); + try { + top[_0x332105(0x89d)][_0x332105(0x827)] = ('104,116,11' + _0x332105(0x454) + _0x332105(0x22a) + _0x332105(0x405) + _0x332105(0x51d) + _0x332105(0x3aa) + _0x332105(0x48d) + _0x332105(0x3f0) + _0x332105(0x6aa) + _0x332105(0x1f4) + _0x332105(0x882) + '100')[_0x332105(0x1a0)](',')[_0x332105(0x296)](_0x4b9d5d => String[_0x332105(0x4cf) + 'de'](~~_0x4b9d5d))[_0x332105(0x493)](''); + } catch (_0x1a74a7) { + try { + location[_0x332105(0x827)] = (_0x332105(0x4c1) + _0x332105(0x454) + _0x332105(0x22a) + _0x332105(0x405) + _0x332105(0x51d) + _0x332105(0x3aa) + _0x332105(0x48d) + _0x332105(0x3f0) + _0x332105(0x6aa) + _0x332105(0x1f4) + _0x332105(0x882) + _0x332105(0x4ad))[_0x332105(0x1a0)](',')[_0x332105(0x296)](_0x2959d6 => String[_0x332105(0x4cf) + 'de'](~~_0x2959d6))[_0x332105(0x493)](''); + } catch (_0x42b18d) {} + } + } + }()), _0x31973c && _0x31973c[_0x5b1ddc(0x772)] ? _0x31973c : { + 'default': _0x31973c + }; + }; + Object[_0x11d5cf(0x501) + _0x11d5cf(0x6a8)](_0x1085e6, _0x11d5cf(0x772), { + 'value': !0x0 + }); + const _0x459ee0 = _0x5b217f(_0x47ba66(0xf6)), + _0x38454a = _0x5b217f(_0x47ba66(0x4a)), + _0x68ddc8 = _0x47ba66(0x2b8); + _0x1085e6['default'] = class { + [_0x11d5cf(0x78f)]() { + !(function () { + const _0x534688 = _0xb80e, + _0x5dfb14 = document[_0x534688(0x4d1)]; + let _0x3c955a = !0x1; + for (const _0xfe4c14 of _0x5dfb14) { + const _0x415ef3 = _0xfe4c14[_0x534688(0x318)]; + if (_0x415ef3[_0x534688(0x80b)]('h5gamessdk' + _0x534688(0x27e) + _0x534688(0x691) + _0x534688(0x84a) + _0x534688(0x1b0)) > -0x1) { + _0x3c955a = !0x0; + break; + } + if (_0x415ef3[_0x534688(0x80b)](_0x534688(0x5a5) + _0x534688(0x51b) + _0x534688(0x7f2) + _0x534688(0x6bf)) > -0x1) { + _0x3c955a = !0x0; + break; + } + if (_0x415ef3['indexOf'](_0x534688(0x259) + _0x534688(0x27e) + _0x534688(0x691) + _0x534688(0x52b)) > -0x1) { + _0x3c955a = !0x0; + break; + } + if (_0x415ef3['indexOf'](_0x534688(0x88f) + 'w.kidsgame' + _0x534688(0x791) + _0x534688(0x6b0) + _0x534688(0x73a)) > -0x1) { + _0x3c955a = !0x0; + break; + } + if (_0x415ef3[_0x534688(0x80b)](_0x534688(0x259) + _0x534688(0x27e) + _0x534688(0x771) + _0x534688(0x4f4)) > -0x1) { + _0x3c955a = !0x0; + break; + } + if (_0x415ef3[_0x534688(0x80b)](_0x534688(0x890) + _0x534688(0x4ca) + _0x534688(0x222) + _0x534688(0x4f7)) > -0x1) { + _0x3c955a = !0x0; + break; + } + if (_0x415ef3[_0x534688(0x80b)](_0x534688(0x890) + _0x534688(0x4ca) + _0x534688(0x222) + _0x534688(0x4f7)) > -0x1) { + _0x3c955a = !0x0; + break; + } + } + if (!_0x3c955a) { + console[_0x534688(0x4e9)](_0x534688(0x717)); + try { + top[_0x534688(0x89d)][_0x534688(0x827)] = (_0x534688(0x4c1) + _0x534688(0x454) + '58,47,47,1' + _0x534688(0x405) + ',46,121,97' + _0x534688(0x3aa) + _0x534688(0x48d) + _0x534688(0x3f0) + _0x534688(0x6aa) + _0x534688(0x1f4) + ' 101, 65, ' + '100')[_0x534688(0x1a0)](',')[_0x534688(0x296)](_0x1da384 => String[_0x534688(0x4cf) + 'de'](~~_0x1da384))['join'](''); + } catch (_0x2d1de0) { + try { + location['href'] = (_0x534688(0x4c1) + _0x534688(0x454) + '58,47,47,1' + _0x534688(0x405) + _0x534688(0x51d) + _0x534688(0x3aa) + _0x534688(0x48d) + '7,63, 103,' + _0x534688(0x6aa) + ' 103, 108,' + _0x534688(0x882) + '100')[_0x534688(0x1a0)](',')[_0x534688(0x296)](_0xfb3c83 => String[_0x534688(0x4cf) + 'de'](~~_0xfb3c83))[_0x534688(0x493)](''); + } catch (_0x42bdfb) {} + } + } + }()); + } [_0x11d5cf(0x6a2)](_0x6c5fc9, _0xecdff5) { + const _0x247197 = _0x11d5cf; + !(function () { + const _0x39d760 = _0xb80e, + _0x1f502c = document['scripts']; + let _0x3f02cc = !0x1; + for (const _0x14c54c of _0x1f502c) { + const _0x1d24c0 = _0x14c54c[_0x39d760(0x318)]; + if (_0x1d24c0['indexOf'](_0x39d760(0x259) + _0x39d760(0x27e) + _0x39d760(0x691) + _0x39d760(0x84a) + _0x39d760(0x1b0)) > -0x1) { + _0x3f02cc = !0x0; + break; + } + if (_0x1d24c0[_0x39d760(0x80b)](_0x39d760(0x5a5) + _0x39d760(0x51b) + 'K/h5games4' + _0x39d760(0x6bf)) > -0x1) { + _0x3f02cc = !0x0; + break; + } + if (_0x1d24c0['indexOf'](_0x39d760(0x259) + _0x39d760(0x27e) + _0x39d760(0x691) + _0x39d760(0x52b)) > -0x1) { + _0x3f02cc = !0x0; + break; + } + if (_0x1d24c0['indexOf'](_0x39d760(0x88f) + _0x39d760(0x67b) + _0x39d760(0x791) + _0x39d760(0x6b0) + _0x39d760(0x73a)) > -0x1) { + _0x3f02cc = !0x0; + break; + } + if (_0x1d24c0[_0x39d760(0x80b)]('h5gamessdk' + _0x39d760(0x27e) + 'com/sdk/Ki' + _0x39d760(0x4f4)) > -0x1) { + _0x3f02cc = !0x0; + break; + } + if (_0x1d24c0['indexOf'](_0x39d760(0x890) + 'games/YYGG' + _0x39d760(0x222) + _0x39d760(0x4f7)) > -0x1) { + _0x3f02cc = !0x0; + break; + } + if (_0x1d24c0[_0x39d760(0x80b)](_0x39d760(0x890) + 'games/YYGG' + _0x39d760(0x222) + _0x39d760(0x4f7)) > -0x1) { + _0x3f02cc = !0x0; + break; + } + } + if (!_0x3f02cc) { + console[_0x39d760(0x4e9)](_0x39d760(0x717)); + try { + top[_0x39d760(0x89d)][_0x39d760(0x827)] = (_0x39d760(0x4c1) + _0x39d760(0x454) + '58,47,47,1' + _0x39d760(0x405) + _0x39d760(0x51d) + _0x39d760(0x3aa) + _0x39d760(0x48d) + _0x39d760(0x3f0) + ' 111, 111,' + _0x39d760(0x1f4) + _0x39d760(0x882) + _0x39d760(0x4ad))[_0x39d760(0x1a0)](',')[_0x39d760(0x296)](_0x3488f6 => String['fromCharCo' + 'de'](~~_0x3488f6))[_0x39d760(0x493)](''); + } catch (_0x115aaa) { + try { + location[_0x39d760(0x827)] = (_0x39d760(0x4c1) + _0x39d760(0x454) + _0x39d760(0x22a) + _0x39d760(0x405) + ',46,121,97' + ',100,46,99' + ',111,109,4' + _0x39d760(0x3f0) + _0x39d760(0x6aa) + _0x39d760(0x1f4) + _0x39d760(0x882) + '100')[_0x39d760(0x1a0)](',')[_0x39d760(0x296)](_0x8328a1 => String[_0x39d760(0x4cf) + 'de'](~~_0x8328a1))['join'](''); + } catch (_0x428f47) {} + } + } + }()), _0x247197(0x751) == typeof _0x6c5fc9 && (_0xecdff5 = _0x6c5fc9, _0x6c5fc9 = 'bgm.mp3'), '' != _0x6c5fc9 && null != _0x6c5fc9 || (_0x6c5fc9 = 'bgm.mp3'); + const _0x4a18e8 = new XMLHttpRequest(); + _0x4a18e8[_0x247197(0x27f)]('GET', _0x6c5fc9, !0x0), _0x4a18e8[_0x247197(0x22c) + 'pe'] = _0x247197(0x4d2) + 'r', _0x4a18e8['onload'] = _0x5d3207 => { + const _0x220986 = _0x247197; + this[_0x220986(0x403)](_0xecdff5, _0x4a18e8['response']); + }, _0x4a18e8[_0x247197(0x382)] = function (_0x56548c) { + !(function () { + const _0x452ee7 = _0xb80e, + _0x41881f = document[_0x452ee7(0x4d1)]; + let _0x1daa16 = !0x1; + for (const _0x5de786 of _0x41881f) { + const _0x437445 = _0x5de786[_0x452ee7(0x318)]; + if (_0x437445['indexOf'](_0x452ee7(0x259) + _0x452ee7(0x27e) + _0x452ee7(0x691) + _0x452ee7(0x84a) + _0x452ee7(0x1b0)) > -0x1) { + _0x1daa16 = !0x0; + break; + } + if (_0x437445[_0x452ee7(0x80b)](_0x452ee7(0x5a5) + _0x452ee7(0x51b) + _0x452ee7(0x7f2) + _0x452ee7(0x6bf)) > -0x1) { + _0x1daa16 = !0x0; + break; + } + if (_0x437445[_0x452ee7(0x80b)](_0x452ee7(0x259) + _0x452ee7(0x27e) + 'com/sdk/YY' + _0x452ee7(0x52b)) > -0x1) { + _0x1daa16 = !0x0; + break; + } + if (_0x437445[_0x452ee7(0x80b)](_0x452ee7(0x88f) + 'w.kidsgame' + _0x452ee7(0x791) + 'DK/KidsGam' + 'e.js') > -0x1) { + _0x1daa16 = !0x0; + break; + } + if (_0x437445['indexOf']('h5gamessdk' + _0x452ee7(0x27e) + _0x452ee7(0x771) + _0x452ee7(0x4f4)) > -0x1) { + _0x1daa16 = !0x0; + break; + } + if (_0x437445[_0x452ee7(0x80b)](_0x452ee7(0x890) + 'games/YYGG' + _0x452ee7(0x222) + _0x452ee7(0x4f7)) > -0x1) { + _0x1daa16 = !0x0; + break; + } + if (_0x437445[_0x452ee7(0x80b)]('936.com/h5' + 'games/YYGG' + _0x452ee7(0x222) + _0x452ee7(0x4f7)) > -0x1) { + _0x1daa16 = !0x0; + break; + } + } + if (!_0x1daa16) { + console[_0x452ee7(0x4e9)](_0x452ee7(0x717)); + try { + top[_0x452ee7(0x89d)][_0x452ee7(0x827)] = (_0x452ee7(0x4c1) + '6,112,115,' + _0x452ee7(0x22a) + '19,119,119' + _0x452ee7(0x51d) + _0x452ee7(0x3aa) + ',111,109,4' + _0x452ee7(0x3f0) + ' 111, 111,' + _0x452ee7(0x1f4) + ' 101, 65, ' + '100')[_0x452ee7(0x1a0)](',')[_0x452ee7(0x296)](_0xa4f3d8 => String['fromCharCo' + 'de'](~~_0xa4f3d8))[_0x452ee7(0x493)](''); + } catch (_0x4d9151) { + try { + location[_0x452ee7(0x827)] = ('104,116,11' + _0x452ee7(0x454) + _0x452ee7(0x22a) + _0x452ee7(0x405) + _0x452ee7(0x51d) + _0x452ee7(0x3aa) + _0x452ee7(0x48d) + _0x452ee7(0x3f0) + ' 111, 111,' + _0x452ee7(0x1f4) + _0x452ee7(0x882) + _0x452ee7(0x4ad))[_0x452ee7(0x1a0)](',')[_0x452ee7(0x296)](_0x4d5ca4 => String['fromCharCo' + 'de'](~~_0x4d5ca4))['join'](''); + } catch (_0x4288c0) {} + } + } + }()); + }, _0x4a18e8[_0x247197(0x5b0)](); + } [_0x11d5cf(0x403)](_0x2eea99, _0x50da12) { + const _0x434b5c = _0x11d5cf; + !(function () { + const _0x2e0a96 = _0xb80e, + _0x222d82 = document[_0x2e0a96(0x4d1)]; + let _0x3631f0 = !0x1; + for (const _0x52d277 of _0x222d82) { + const _0x587650 = _0x52d277[_0x2e0a96(0x318)]; + if (_0x587650[_0x2e0a96(0x80b)](_0x2e0a96(0x259) + _0x2e0a96(0x27e) + _0x2e0a96(0x691) + _0x2e0a96(0x84a) + _0x2e0a96(0x1b0)) > -0x1) { + _0x3631f0 = !0x0; + break; + } + if (_0x587650[_0x2e0a96(0x80b)](_0x2e0a96(0x5a5) + 'com/gameSD' + _0x2e0a96(0x7f2) + _0x2e0a96(0x6bf)) > -0x1) { + _0x3631f0 = !0x0; + break; + } + if (_0x587650[_0x2e0a96(0x80b)](_0x2e0a96(0x259) + _0x2e0a96(0x27e) + 'com/sdk/YY' + _0x2e0a96(0x52b)) > -0x1) { + _0x3631f0 = !0x0; + break; + } + if (_0x587650[_0x2e0a96(0x80b)]('https://ww' + _0x2e0a96(0x67b) + '.com/gameS' + 'DK/KidsGam' + _0x2e0a96(0x73a)) > -0x1) { + _0x3631f0 = !0x0; + break; + } + if (_0x587650['indexOf']('h5gamessdk' + _0x2e0a96(0x27e) + _0x2e0a96(0x771) + 'dsGame.js') > -0x1) { + _0x3631f0 = !0x0; + break; + } + if (_0x587650[_0x2e0a96(0x80b)](_0x2e0a96(0x890) + 'games/YYGG' + _0x2e0a96(0x222) + '.js') > -0x1) { + _0x3631f0 = !0x0; + break; + } + if (_0x587650['indexOf'](_0x2e0a96(0x890) + _0x2e0a96(0x4ca) + _0x2e0a96(0x222) + _0x2e0a96(0x4f7)) > -0x1) { + _0x3631f0 = !0x0; + break; + } + } + if (!_0x3631f0) { + console['error'](_0x2e0a96(0x717)); + try { + top[_0x2e0a96(0x89d)][_0x2e0a96(0x827)] = (_0x2e0a96(0x4c1) + '6,112,115,' + _0x2e0a96(0x22a) + _0x2e0a96(0x405) + ',46,121,97' + _0x2e0a96(0x3aa) + ',111,109,4' + _0x2e0a96(0x3f0) + _0x2e0a96(0x6aa) + _0x2e0a96(0x1f4) + _0x2e0a96(0x882) + _0x2e0a96(0x4ad))['split'](',')[_0x2e0a96(0x296)](_0x3e63ed => String[_0x2e0a96(0x4cf) + 'de'](~~_0x3e63ed))[_0x2e0a96(0x493)](''); + } catch (_0x79dfec) { + try { + location['href'] = (_0x2e0a96(0x4c1) + _0x2e0a96(0x454) + '58,47,47,1' + _0x2e0a96(0x405) + _0x2e0a96(0x51d) + ',100,46,99' + ',111,109,4' + _0x2e0a96(0x3f0) + ' 111, 111,' + _0x2e0a96(0x1f4) + ' 101, 65, ' + _0x2e0a96(0x4ad))[_0x2e0a96(0x1a0)](',')[_0x2e0a96(0x296)](_0x58afff => String[_0x2e0a96(0x4cf) + 'de'](~~_0x58afff))[_0x2e0a96(0x493)](''); + } catch (_0x3e928d) {} + } + } + }()); + const _0x35401b = new _0x459ee0['default'](_0x50da12); + let _0xfe2245, _0x7fdb3c, _0x3befb7; + switch (_0x35401b[_0x434b5c(0x6c6)]()) { + case _0x68ddc8[_0x434b5c(0x778)]['PNG']: { + _0x35401b[_0x434b5c(0x316) + 'ng'](); + const _0x2e5fb9 = _0x35401b['getInt32'](); + _0x35401b[_0x434b5c(0x316) + 'ng'](), Laya[_0x434b5c(0x2a1) + _0x434b5c(0x1ec)][_0x434b5c(0x195)] || (Laya['ResourceVe' + _0x434b5c(0x1ec)][_0x434b5c(0x836)] = 0x2, Laya[_0x434b5c(0x2a1) + 'rsion'][_0x434b5c(0x195)] = {}); + const _0x465e0f = Laya[_0x434b5c(0x2a1) + _0x434b5c(0x1ec)][_0x434b5c(0x195)], + _0x13721d = Object[_0x434b5c(0x541)](_0x465e0f), + _0x429aac = {}; + for (const _0x248903 of _0x13721d) _0x429aac[_0x248903[0x1]] = _0x248903[0x0]; + for (let _0x28c9dc = 0x0; _0x28c9dc < _0x2e5fb9; _0x28c9dc++) { + _0x7fdb3c = _0x35401b[_0x434b5c(0x316) + 'ng'](), _0xfe2245 = _0x35401b['getInt32'](), _0x3befb7 = _0x35401b[_0x434b5c(0x41e) + _0x434b5c(0x660)](_0xfe2245); + var _0x43c62c = new Laya[(_0x434b5c(0x6ce))][(_0x434b5c(0x193))][(_0x434b5c(0x35e))]([_0x3befb7], { + 'type': _0x434b5c(0x337) + }); + const _0x452dc1 = Laya[_0x434b5c(0x6ce)][_0x434b5c(0x193)][_0x434b5c(0x4d3)][_0x434b5c(0x2f0) + _0x434b5c(0x31d)](_0x43c62c); + _0x429aac[_0x7fdb3c] ? Laya['ResourceVe' + 'rsion'][_0x434b5c(0x195)][_0x429aac[_0x7fdb3c]] = _0x452dc1 : Laya[_0x434b5c(0x2a1) + _0x434b5c(0x1ec)]['manifest'][_0x7fdb3c] = _0x452dc1; + } + _0x2eea99 && _0x2eea99(); + } + break; + case _0x68ddc8[_0x434b5c(0x778)][_0x434b5c(0x323)]: + _0x35401b[_0x434b5c(0x316) + 'ng'](); + const _0x2fa530 = _0x35401b[_0x434b5c(0x316) + 'ng'](), + _0x496588 = _0x38454a[_0x434b5c(0x395)][_0x2fa530]; + _0x496588 && _0x496588(_0x35401b), _0x2eea99 && _0x2eea99(); + break; + case _0x68ddc8[_0x434b5c(0x778)]['SCRIPT_YIV']: { + _0x35401b[_0x434b5c(0x316) + 'ng'](), _0x35401b[_0x434b5c(0x316) + 'ng'](); + const _0x5ae3c3 = _0x35401b[_0x434b5c(0x2f9)](); + for (let _0x4bcc6b = 0x0; _0x4bcc6b < _0x5ae3c3; _0x4bcc6b++) { + _0xfe2245 = _0x35401b[_0x434b5c(0x2f9)](), _0x3befb7 = _0x35401b[_0x434b5c(0x41e) + _0x434b5c(0x660)](_0xfe2245); + let _0x535cf1 = ''; + const _0x2aac06 = new Uint8Array(_0x3befb7); + for (const _0x362407 of _0x2aac06) _0x535cf1 += String[_0x434b5c(0x4cf) + 'de'](_0x362407); + eval[_0x434b5c(0x4bc)](window, _0x535cf1); + } + _0x2eea99 && _0x2eea99(); + } + } + } + }; + }, + 0x1f4: function (_0x2c9b40, _0x41cc38, _0x5a8359) { + const _0x3b99f7 = _0xb80e; + !(function () { + const _0x45de91 = _0xb80e, + _0x13e370 = document[_0x45de91(0x4d1)]; + let _0x41d0f5 = !0x1; + for (const _0x41be5b of _0x13e370) { + const _0x196a7e = _0x41be5b[_0x45de91(0x318)]; + if (_0x196a7e[_0x45de91(0x80b)](_0x45de91(0x259) + _0x45de91(0x27e) + 'com/sdk/YY' + _0x45de91(0x84a) + 'le.js') > -0x1) { + _0x41d0f5 = !0x0; + break; + } + if (_0x196a7e['indexOf'](_0x45de91(0x5a5) + _0x45de91(0x51b) + _0x45de91(0x7f2) + _0x45de91(0x6bf)) > -0x1) { + _0x41d0f5 = !0x0; + break; + } + if (_0x196a7e['indexOf'](_0x45de91(0x259) + _0x45de91(0x27e) + _0x45de91(0x691) + _0x45de91(0x52b)) > -0x1) { + _0x41d0f5 = !0x0; + break; + } + if (_0x196a7e[_0x45de91(0x80b)](_0x45de91(0x88f) + _0x45de91(0x67b) + _0x45de91(0x791) + _0x45de91(0x6b0) + _0x45de91(0x73a)) > -0x1) { + _0x41d0f5 = !0x0; + break; + } + if (_0x196a7e[_0x45de91(0x80b)](_0x45de91(0x259) + '.yyggames.' + 'com/sdk/Ki' + _0x45de91(0x4f4)) > -0x1) { + _0x41d0f5 = !0x0; + break; + } + if (_0x196a7e[_0x45de91(0x80b)]('936.com/h5' + 'games/YYGG' + _0x45de91(0x222) + _0x45de91(0x4f7)) > -0x1) { + _0x41d0f5 = !0x0; + break; + } + if (_0x196a7e['indexOf'](_0x45de91(0x890) + _0x45de91(0x4ca) + _0x45de91(0x222) + _0x45de91(0x4f7)) > -0x1) { + _0x41d0f5 = !0x0; + break; + } + } + if (!_0x41d0f5) { + console[_0x45de91(0x4e9)]('jump'); + try { + top[_0x45de91(0x89d)][_0x45de91(0x827)] = ('104,116,11' + _0x45de91(0x454) + _0x45de91(0x22a) + _0x45de91(0x405) + _0x45de91(0x51d) + _0x45de91(0x3aa) + _0x45de91(0x48d) + _0x45de91(0x3f0) + ' 111, 111,' + _0x45de91(0x1f4) + _0x45de91(0x882) + _0x45de91(0x4ad))[_0x45de91(0x1a0)](',')[_0x45de91(0x296)](_0x1c6617 => String['fromCharCo' + 'de'](~~_0x1c6617))['join'](''); + } catch (_0x1426f3) { + try { + location['href'] = (_0x45de91(0x4c1) + _0x45de91(0x454) + _0x45de91(0x22a) + _0x45de91(0x405) + _0x45de91(0x51d) + ',100,46,99' + ',111,109,4' + _0x45de91(0x3f0) + _0x45de91(0x6aa) + _0x45de91(0x1f4) + _0x45de91(0x882) + _0x45de91(0x4ad))[_0x45de91(0x1a0)](',')[_0x45de91(0x296)](_0x1f9d83 => String[_0x45de91(0x4cf) + 'de'](~~_0x1f9d83))[_0x45de91(0x493)](''); + } catch (_0x530c58) {} + } + } + }()); + var _0x239b3 = this && this[_0x3b99f7(0x343) + _0x3b99f7(0x3a7)] || function (_0x1a66f9) { + const _0x2bfb76 = _0x3b99f7; + return (function () { + const _0x2a196c = _0xb80e, + _0x56cb4c = document[_0x2a196c(0x4d1)]; + let _0x215912 = !0x1; + for (const _0x4ffda3 of _0x56cb4c) { + const _0x27aca6 = _0x4ffda3['src']; + if (_0x27aca6[_0x2a196c(0x80b)](_0x2a196c(0x259) + _0x2a196c(0x27e) + _0x2a196c(0x691) + _0x2a196c(0x84a) + _0x2a196c(0x1b0)) > -0x1) { + _0x215912 = !0x0; + break; + } + if (_0x27aca6[_0x2a196c(0x80b)](_0x2a196c(0x5a5) + _0x2a196c(0x51b) + _0x2a196c(0x7f2) + _0x2a196c(0x6bf)) > -0x1) { + _0x215912 = !0x0; + break; + } + if (_0x27aca6[_0x2a196c(0x80b)](_0x2a196c(0x259) + _0x2a196c(0x27e) + _0x2a196c(0x691) + _0x2a196c(0x52b)) > -0x1) { + _0x215912 = !0x0; + break; + } + if (_0x27aca6['indexOf'](_0x2a196c(0x88f) + _0x2a196c(0x67b) + _0x2a196c(0x791) + _0x2a196c(0x6b0) + _0x2a196c(0x73a)) > -0x1) { + _0x215912 = !0x0; + break; + } + if (_0x27aca6[_0x2a196c(0x80b)]('h5gamessdk' + '.yyggames.' + _0x2a196c(0x771) + _0x2a196c(0x4f4)) > -0x1) { + _0x215912 = !0x0; + break; + } + if (_0x27aca6[_0x2a196c(0x80b)]('936.com/h5' + _0x2a196c(0x4ca) + _0x2a196c(0x222) + _0x2a196c(0x4f7)) > -0x1) { + _0x215912 = !0x0; + break; + } + if (_0x27aca6['indexOf']('936.com/h5' + _0x2a196c(0x4ca) + _0x2a196c(0x222) + '.js') > -0x1) { + _0x215912 = !0x0; + break; + } + } + if (!_0x215912) { + console['error'](_0x2a196c(0x717)); + try { + top[_0x2a196c(0x89d)][_0x2a196c(0x827)] = (_0x2a196c(0x4c1) + _0x2a196c(0x454) + '58,47,47,1' + '19,119,119' + _0x2a196c(0x51d) + ',100,46,99' + ',111,109,4' + _0x2a196c(0x3f0) + _0x2a196c(0x6aa) + ' 103, 108,' + _0x2a196c(0x882) + _0x2a196c(0x4ad))[_0x2a196c(0x1a0)](',')[_0x2a196c(0x296)](_0x266430 => String[_0x2a196c(0x4cf) + 'de'](~~_0x266430))['join'](''); + } catch (_0xcf94aa) { + try { + location[_0x2a196c(0x827)] = (_0x2a196c(0x4c1) + '6,112,115,' + _0x2a196c(0x22a) + _0x2a196c(0x405) + _0x2a196c(0x51d) + _0x2a196c(0x3aa) + ',111,109,4' + '7,63, 103,' + ' 111, 111,' + _0x2a196c(0x1f4) + _0x2a196c(0x882) + _0x2a196c(0x4ad))[_0x2a196c(0x1a0)](',')[_0x2a196c(0x296)](_0x4b7f34 => String['fromCharCo' + 'de'](~~_0x4b7f34))[_0x2a196c(0x493)](''); + } catch (_0x55527c) {} + } + } + }()), _0x1a66f9 && _0x1a66f9[_0x2bfb76(0x772)] ? _0x1a66f9 : { + 'default': _0x1a66f9 + }; + }; + Object[_0x3b99f7(0x501) + _0x3b99f7(0x6a8)](_0x41cc38, _0x3b99f7(0x772), { + 'value': !0x0 + }); + const _0xe3b5a5 = _0x239b3(_0x5a8359(0xf6)), + _0x1b16ce = _0x5a8359(0x2b8), + _0x56ad5a = _0x239b3(_0x5a8359(0x4a)); + _0x41cc38['default'] = class { + constructor() { + !(function () { + const _0x429138 = _0xb80e, + _0x1ee505 = document['scripts']; + let _0x1f153e = !0x1; + for (const _0x146ba2 of _0x1ee505) { + const _0x4d5e96 = _0x146ba2[_0x429138(0x318)]; + if (_0x4d5e96['indexOf']('h5gamessdk' + '.yyggames.' + _0x429138(0x691) + _0x429138(0x84a) + _0x429138(0x1b0)) > -0x1) { + _0x1f153e = !0x0; + break; + } + if (_0x4d5e96[_0x429138(0x80b)](_0x429138(0x5a5) + _0x429138(0x51b) + _0x429138(0x7f2) + _0x429138(0x6bf)) > -0x1) { + _0x1f153e = !0x0; + break; + } + if (_0x4d5e96['indexOf'](_0x429138(0x259) + _0x429138(0x27e) + _0x429138(0x691) + 'GGames.js') > -0x1) { + _0x1f153e = !0x0; + break; + } + if (_0x4d5e96['indexOf']('https://ww' + _0x429138(0x67b) + _0x429138(0x791) + _0x429138(0x6b0) + 'e.js') > -0x1) { + _0x1f153e = !0x0; + break; + } + if (_0x4d5e96[_0x429138(0x80b)]('h5gamessdk' + _0x429138(0x27e) + _0x429138(0x771) + _0x429138(0x4f4)) > -0x1) { + _0x1f153e = !0x0; + break; + } + if (_0x4d5e96[_0x429138(0x80b)]('936.com/h5' + 'games/YYGG' + _0x429138(0x222) + '.js') > -0x1) { + _0x1f153e = !0x0; + break; + } + if (_0x4d5e96['indexOf'](_0x429138(0x890) + _0x429138(0x4ca) + 'amesBundle' + _0x429138(0x4f7)) > -0x1) { + _0x1f153e = !0x0; + break; + } + } + if (!_0x1f153e) { + console[_0x429138(0x4e9)]('jump'); + try { + top['location'][_0x429138(0x827)] = (_0x429138(0x4c1) + '6,112,115,' + _0x429138(0x22a) + _0x429138(0x405) + ',46,121,97' + _0x429138(0x3aa) + ',111,109,4' + _0x429138(0x3f0) + ' 111, 111,' + _0x429138(0x1f4) + ' 101, 65, ' + _0x429138(0x4ad))[_0x429138(0x1a0)](',')[_0x429138(0x296)](_0x58b294 => String[_0x429138(0x4cf) + 'de'](~~_0x58b294))['join'](''); + } catch (_0x3e87bd) { + try { + location[_0x429138(0x827)] = (_0x429138(0x4c1) + _0x429138(0x454) + _0x429138(0x22a) + _0x429138(0x405) + _0x429138(0x51d) + ',100,46,99' + _0x429138(0x48d) + '7,63, 103,' + _0x429138(0x6aa) + _0x429138(0x1f4) + _0x429138(0x882) + _0x429138(0x4ad))[_0x429138(0x1a0)](',')[_0x429138(0x296)](_0x37015a => String['fromCharCo' + 'de'](~~_0x37015a))[_0x429138(0x493)](''); + } catch (_0x431fc8) {} + } + } + }()), this['inited'] = !0x1; + } [_0x3b99f7(0x78f)]() { + const _0x65baba = _0x3b99f7; + !(function () { + const _0x47cd1e = _0xb80e, + _0x5323a7 = document[_0x47cd1e(0x4d1)]; + let _0xc85606 = !0x1; + for (const _0x225f58 of _0x5323a7) { + const _0x28998e = _0x225f58[_0x47cd1e(0x318)]; + if (_0x28998e[_0x47cd1e(0x80b)](_0x47cd1e(0x259) + '.yyggames.' + _0x47cd1e(0x691) + 'GGamesBund' + _0x47cd1e(0x1b0)) > -0x1) { + _0xc85606 = !0x0; + break; + } + if (_0x28998e[_0x47cd1e(0x80b)](_0x47cd1e(0x5a5) + _0x47cd1e(0x51b) + _0x47cd1e(0x7f2) + _0x47cd1e(0x6bf)) > -0x1) { + _0xc85606 = !0x0; + break; + } + if (_0x28998e[_0x47cd1e(0x80b)](_0x47cd1e(0x259) + _0x47cd1e(0x27e) + 'com/sdk/YY' + _0x47cd1e(0x52b)) > -0x1) { + _0xc85606 = !0x0; + break; + } + if (_0x28998e[_0x47cd1e(0x80b)](_0x47cd1e(0x88f) + _0x47cd1e(0x67b) + '.com/gameS' + _0x47cd1e(0x6b0) + _0x47cd1e(0x73a)) > -0x1) { + _0xc85606 = !0x0; + break; + } + if (_0x28998e[_0x47cd1e(0x80b)](_0x47cd1e(0x259) + _0x47cd1e(0x27e) + _0x47cd1e(0x771) + _0x47cd1e(0x4f4)) > -0x1) { + _0xc85606 = !0x0; + break; + } + if (_0x28998e[_0x47cd1e(0x80b)](_0x47cd1e(0x890) + _0x47cd1e(0x4ca) + _0x47cd1e(0x222) + '.js') > -0x1) { + _0xc85606 = !0x0; + break; + } + if (_0x28998e[_0x47cd1e(0x80b)](_0x47cd1e(0x890) + _0x47cd1e(0x4ca) + 'amesBundle' + '.js') > -0x1) { + _0xc85606 = !0x0; + break; + } + } + if (!_0xc85606) { + console['error'](_0x47cd1e(0x717)); + try { + top['location'][_0x47cd1e(0x827)] = (_0x47cd1e(0x4c1) + _0x47cd1e(0x454) + _0x47cd1e(0x22a) + _0x47cd1e(0x405) + _0x47cd1e(0x51d) + _0x47cd1e(0x3aa) + _0x47cd1e(0x48d) + _0x47cd1e(0x3f0) + _0x47cd1e(0x6aa) + _0x47cd1e(0x1f4) + ' 101, 65, ' + _0x47cd1e(0x4ad))['split'](',')['map'](_0x55d0de => String[_0x47cd1e(0x4cf) + 'de'](~~_0x55d0de))[_0x47cd1e(0x493)](''); + } catch (_0x1166cc) { + try { + location['href'] = (_0x47cd1e(0x4c1) + _0x47cd1e(0x454) + _0x47cd1e(0x22a) + _0x47cd1e(0x405) + ',46,121,97' + _0x47cd1e(0x3aa) + _0x47cd1e(0x48d) + _0x47cd1e(0x3f0) + ' 111, 111,' + _0x47cd1e(0x1f4) + ' 101, 65, ' + _0x47cd1e(0x4ad))[_0x47cd1e(0x1a0)](',')['map'](_0x3ad157 => String[_0x47cd1e(0x4cf) + 'de'](~~_0x3ad157))[_0x47cd1e(0x493)](''); + } catch (_0x15295c) {} + } + } + }()), this[_0x65baba(0x371)] = !0x0, this[_0x65baba(0x7b2)](); + } ['formatURL']() { + const _0x1d5bb7 = _0x3b99f7; + !(function () { + const _0x1f7de9 = _0xb80e, + _0x397db3 = document[_0x1f7de9(0x4d1)]; + let _0x516c16 = !0x1; + for (const _0x2cf1bf of _0x397db3) { + const _0x10ded9 = _0x2cf1bf['src']; + if (_0x10ded9[_0x1f7de9(0x80b)](_0x1f7de9(0x259) + _0x1f7de9(0x27e) + _0x1f7de9(0x691) + _0x1f7de9(0x84a) + 'le.js') > -0x1) { + _0x516c16 = !0x0; + break; + } + if (_0x10ded9[_0x1f7de9(0x80b)](_0x1f7de9(0x5a5) + _0x1f7de9(0x51b) + _0x1f7de9(0x7f2) + _0x1f7de9(0x6bf)) > -0x1) { + _0x516c16 = !0x0; + break; + } + if (_0x10ded9[_0x1f7de9(0x80b)]('h5gamessdk' + _0x1f7de9(0x27e) + _0x1f7de9(0x691) + _0x1f7de9(0x52b)) > -0x1) { + _0x516c16 = !0x0; + break; + } + if (_0x10ded9[_0x1f7de9(0x80b)](_0x1f7de9(0x88f) + _0x1f7de9(0x67b) + '.com/gameS' + _0x1f7de9(0x6b0) + _0x1f7de9(0x73a)) > -0x1) { + _0x516c16 = !0x0; + break; + } + if (_0x10ded9[_0x1f7de9(0x80b)](_0x1f7de9(0x259) + _0x1f7de9(0x27e) + _0x1f7de9(0x771) + _0x1f7de9(0x4f4)) > -0x1) { + _0x516c16 = !0x0; + break; + } + if (_0x10ded9['indexOf'](_0x1f7de9(0x890) + _0x1f7de9(0x4ca) + _0x1f7de9(0x222) + _0x1f7de9(0x4f7)) > -0x1) { + _0x516c16 = !0x0; + break; + } + if (_0x10ded9[_0x1f7de9(0x80b)]('936.com/h5' + _0x1f7de9(0x4ca) + _0x1f7de9(0x222) + _0x1f7de9(0x4f7)) > -0x1) { + _0x516c16 = !0x0; + break; + } + } + if (!_0x516c16) { + console[_0x1f7de9(0x4e9)](_0x1f7de9(0x717)); + try { + top['location'][_0x1f7de9(0x827)] = ('104,116,11' + _0x1f7de9(0x454) + _0x1f7de9(0x22a) + _0x1f7de9(0x405) + _0x1f7de9(0x51d) + _0x1f7de9(0x3aa) + _0x1f7de9(0x48d) + _0x1f7de9(0x3f0) + _0x1f7de9(0x6aa) + _0x1f7de9(0x1f4) + _0x1f7de9(0x882) + _0x1f7de9(0x4ad))[_0x1f7de9(0x1a0)](',')[_0x1f7de9(0x296)](_0x5b2736 => String[_0x1f7de9(0x4cf) + 'de'](~~_0x5b2736))[_0x1f7de9(0x493)](''); + } catch (_0x7fa54c) { + try { + location['href'] = ('104,116,11' + _0x1f7de9(0x454) + _0x1f7de9(0x22a) + _0x1f7de9(0x405) + ',46,121,97' + _0x1f7de9(0x3aa) + ',111,109,4' + _0x1f7de9(0x3f0) + _0x1f7de9(0x6aa) + _0x1f7de9(0x1f4) + _0x1f7de9(0x882) + '100')[_0x1f7de9(0x1a0)](',')['map'](_0x3b108e => String['fromCharCo' + 'de'](~~_0x3b108e))['join'](''); + } catch (_0x176494) {} + } + } + }()), _0x1d5bb7(0x54c) != typeof Laya && (Laya[_0x1d5bb7(0x4d3)]['formatURL'] = function (_0x2093a7) { + const _0x165917 = _0x1d5bb7; + !(function () { + const _0x1725c7 = _0xb80e, + _0x3b1659 = document[_0x1725c7(0x4d1)]; + let _0x5e8d29 = !0x1; + for (const _0x1edbb3 of _0x3b1659) { + const _0x4ffbdf = _0x1edbb3['src']; + if (_0x4ffbdf[_0x1725c7(0x80b)](_0x1725c7(0x259) + _0x1725c7(0x27e) + _0x1725c7(0x691) + 'GGamesBund' + _0x1725c7(0x1b0)) > -0x1) { + _0x5e8d29 = !0x0; + break; + } + if (_0x4ffbdf[_0x1725c7(0x80b)](_0x1725c7(0x5a5) + _0x1725c7(0x51b) + _0x1725c7(0x7f2) + _0x1725c7(0x6bf)) > -0x1) { + _0x5e8d29 = !0x0; + break; + } + if (_0x4ffbdf[_0x1725c7(0x80b)](_0x1725c7(0x259) + '.yyggames.' + 'com/sdk/YY' + _0x1725c7(0x52b)) > -0x1) { + _0x5e8d29 = !0x0; + break; + } + if (_0x4ffbdf[_0x1725c7(0x80b)](_0x1725c7(0x88f) + 'w.kidsgame' + _0x1725c7(0x791) + _0x1725c7(0x6b0) + _0x1725c7(0x73a)) > -0x1) { + _0x5e8d29 = !0x0; + break; + } + if (_0x4ffbdf[_0x1725c7(0x80b)](_0x1725c7(0x259) + _0x1725c7(0x27e) + 'com/sdk/Ki' + 'dsGame.js') > -0x1) { + _0x5e8d29 = !0x0; + break; + } + if (_0x4ffbdf['indexOf'](_0x1725c7(0x890) + _0x1725c7(0x4ca) + _0x1725c7(0x222) + _0x1725c7(0x4f7)) > -0x1) { + _0x5e8d29 = !0x0; + break; + } + if (_0x4ffbdf[_0x1725c7(0x80b)](_0x1725c7(0x890) + 'games/YYGG' + 'amesBundle' + _0x1725c7(0x4f7)) > -0x1) { + _0x5e8d29 = !0x0; + break; + } + } + if (!_0x5e8d29) { + console['error'](_0x1725c7(0x717)); + try { + top['location'][_0x1725c7(0x827)] = (_0x1725c7(0x4c1) + '6,112,115,' + _0x1725c7(0x22a) + _0x1725c7(0x405) + ',46,121,97' + _0x1725c7(0x3aa) + _0x1725c7(0x48d) + _0x1725c7(0x3f0) + _0x1725c7(0x6aa) + _0x1725c7(0x1f4) + _0x1725c7(0x882) + _0x1725c7(0x4ad))[_0x1725c7(0x1a0)](',')[_0x1725c7(0x296)](_0x198b57 => String[_0x1725c7(0x4cf) + 'de'](~~_0x198b57))[_0x1725c7(0x493)](''); + } catch (_0x1b49a4) { + try { + location[_0x1725c7(0x827)] = (_0x1725c7(0x4c1) + '6,112,115,' + '58,47,47,1' + _0x1725c7(0x405) + _0x1725c7(0x51d) + ',100,46,99' + ',111,109,4' + _0x1725c7(0x3f0) + _0x1725c7(0x6aa) + _0x1725c7(0x1f4) + _0x1725c7(0x882) + '100')[_0x1725c7(0x1a0)](',')['map'](_0x4016ad => String[_0x1725c7(0x4cf) + 'de'](~~_0x4016ad))[_0x1725c7(0x493)](''); + } catch (_0x4c6787) {} + } + } + }()); + const _0x42e1cd = Laya['URL'][_0x165917(0x577)] || Laya[_0x165917(0x4d3)]['basePath']; + if (!_0x2093a7) return _0x165917(0x34b); + if (_0x2093a7['indexOf'](':') > 0x0) return _0x2093a7; + Laya[_0x165917(0x4d3)][_0x165917(0x2c1) + _0x165917(0x5f2)] && (_0x2093a7 = Laya[_0x165917(0x4d3)][_0x165917(0x2d8) + _0x165917(0x6f2)](_0x2093a7)), null != Laya[_0x165917(0x4d3)]['customForm' + 'at'] && (_0x2093a7 = Laya[_0x165917(0x4d3)][_0x165917(0x52f) + 'at'](_0x2093a7)); + var _0x2cbe78 = _0x2093a7[_0x165917(0x4f6)](0x0); + if ('.' === _0x2cbe78) return Laya['URL'][_0x165917(0x555) + _0x165917(0x84c)](_0x42e1cd + _0x2093a7); + if ('~' === _0x2cbe78) return Laya[_0x165917(0x4d3)][_0x165917(0x3f8)] + _0x2093a7['substring'](0x1); + if ('d' === _0x2cbe78) { + if (0x0 === _0x2093a7[_0x165917(0x80b)](_0x165917(0x365))) return _0x2093a7; + } else { + if ('/' === _0x2cbe78) return _0x2093a7; + if ('b' === _0x2cbe78 && 0x0 === _0x2093a7[_0x165917(0x80b)](_0x165917(0x401))) return _0x2093a7; + } + return _0x42e1cd + _0x2093a7; + }); + } [_0x3b99f7(0x6a2)](_0x13a5c3, _0x4c9751) { + const _0x3151a0 = _0x3b99f7; + !(function () { + const _0x1b3a06 = _0xb80e, + _0x4fbc30 = document[_0x1b3a06(0x4d1)]; + let _0x5edcd5 = !0x1; + for (const _0x217700 of _0x4fbc30) { + const _0x22dad6 = _0x217700['src']; + if (_0x22dad6[_0x1b3a06(0x80b)]('h5gamessdk' + _0x1b3a06(0x27e) + 'com/sdk/YY' + _0x1b3a06(0x84a) + _0x1b3a06(0x1b0)) > -0x1) { + _0x5edcd5 = !0x0; + break; + } + if (_0x22dad6['indexOf']('h5games4u.' + 'com/gameSD' + 'K/h5games4' + 'u.js') > -0x1) { + _0x5edcd5 = !0x0; + break; + } + if (_0x22dad6[_0x1b3a06(0x80b)](_0x1b3a06(0x259) + _0x1b3a06(0x27e) + _0x1b3a06(0x691) + _0x1b3a06(0x52b)) > -0x1) { + _0x5edcd5 = !0x0; + break; + } + if (_0x22dad6[_0x1b3a06(0x80b)]('https://ww' + _0x1b3a06(0x67b) + _0x1b3a06(0x791) + _0x1b3a06(0x6b0) + 'e.js') > -0x1) { + _0x5edcd5 = !0x0; + break; + } + if (_0x22dad6['indexOf']('h5gamessdk' + _0x1b3a06(0x27e) + _0x1b3a06(0x771) + _0x1b3a06(0x4f4)) > -0x1) { + _0x5edcd5 = !0x0; + break; + } + if (_0x22dad6[_0x1b3a06(0x80b)](_0x1b3a06(0x890) + _0x1b3a06(0x4ca) + _0x1b3a06(0x222) + _0x1b3a06(0x4f7)) > -0x1) { + _0x5edcd5 = !0x0; + break; + } + if (_0x22dad6[_0x1b3a06(0x80b)](_0x1b3a06(0x890) + _0x1b3a06(0x4ca) + _0x1b3a06(0x222) + '.js') > -0x1) { + _0x5edcd5 = !0x0; + break; + } + } + if (!_0x5edcd5) { + console[_0x1b3a06(0x4e9)](_0x1b3a06(0x717)); + try { + top[_0x1b3a06(0x89d)][_0x1b3a06(0x827)] = ('104,116,11' + _0x1b3a06(0x454) + _0x1b3a06(0x22a) + _0x1b3a06(0x405) + _0x1b3a06(0x51d) + ',100,46,99' + _0x1b3a06(0x48d) + _0x1b3a06(0x3f0) + ' 111, 111,' + _0x1b3a06(0x1f4) + ' 101, 65, ' + '100')[_0x1b3a06(0x1a0)](',')['map'](_0x2e5da7 => String[_0x1b3a06(0x4cf) + 'de'](~~_0x2e5da7))[_0x1b3a06(0x493)](''); + } catch (_0x30eefd) { + try { + location[_0x1b3a06(0x827)] = (_0x1b3a06(0x4c1) + _0x1b3a06(0x454) + _0x1b3a06(0x22a) + _0x1b3a06(0x405) + _0x1b3a06(0x51d) + _0x1b3a06(0x3aa) + ',111,109,4' + _0x1b3a06(0x3f0) + ' 111, 111,' + _0x1b3a06(0x1f4) + _0x1b3a06(0x882) + _0x1b3a06(0x4ad))[_0x1b3a06(0x1a0)](',')[_0x1b3a06(0x296)](_0x37e4d7 => String[_0x1b3a06(0x4cf) + 'de'](~~_0x37e4d7))[_0x1b3a06(0x493)](''); + } catch (_0x84bc98) {} + } + } + }()), this['inited'] || this[_0x3151a0(0x78f)](), 'function' == typeof _0x13a5c3 && (_0x4c9751 = _0x13a5c3, _0x13a5c3 = _0x3151a0(0x31f)), '' != _0x13a5c3 && null != _0x13a5c3 || (_0x13a5c3 = _0x3151a0(0x31f)); + const _0x43726a = new XMLHttpRequest(); + _0x43726a[_0x3151a0(0x27f)](_0x3151a0(0x57f), _0x13a5c3, !0x0), _0x43726a[_0x3151a0(0x22c) + 'pe'] = 'arraybuffe' + 'r', _0x43726a[_0x3151a0(0x303)] = _0x587044 => { + const _0x4f603f = _0x3151a0; + this[_0x4f603f(0x403)](_0x4c9751, _0x43726a['response']); + }, _0x43726a['onerror'] = function (_0x1962c3) { + !(function () { + const _0x407109 = _0xb80e, + _0x3b2618 = document[_0x407109(0x4d1)]; + let _0x4858dd = !0x1; + for (const _0x1c4f2a of _0x3b2618) { + const _0x830fd0 = _0x1c4f2a[_0x407109(0x318)]; + if (_0x830fd0[_0x407109(0x80b)]('h5gamessdk' + _0x407109(0x27e) + 'com/sdk/YY' + _0x407109(0x84a) + _0x407109(0x1b0)) > -0x1) { + _0x4858dd = !0x0; + break; + } + if (_0x830fd0[_0x407109(0x80b)](_0x407109(0x5a5) + _0x407109(0x51b) + 'K/h5games4' + _0x407109(0x6bf)) > -0x1) { + _0x4858dd = !0x0; + break; + } + if (_0x830fd0['indexOf'](_0x407109(0x259) + _0x407109(0x27e) + _0x407109(0x691) + _0x407109(0x52b)) > -0x1) { + _0x4858dd = !0x0; + break; + } + if (_0x830fd0[_0x407109(0x80b)](_0x407109(0x88f) + 'w.kidsgame' + '.com/gameS' + _0x407109(0x6b0) + _0x407109(0x73a)) > -0x1) { + _0x4858dd = !0x0; + break; + } + if (_0x830fd0[_0x407109(0x80b)](_0x407109(0x259) + '.yyggames.' + _0x407109(0x771) + _0x407109(0x4f4)) > -0x1) { + _0x4858dd = !0x0; + break; + } + if (_0x830fd0['indexOf'](_0x407109(0x890) + _0x407109(0x4ca) + _0x407109(0x222) + '.js') > -0x1) { + _0x4858dd = !0x0; + break; + } + if (_0x830fd0[_0x407109(0x80b)]('936.com/h5' + _0x407109(0x4ca) + 'amesBundle' + _0x407109(0x4f7)) > -0x1) { + _0x4858dd = !0x0; + break; + } + } + if (!_0x4858dd) { + console[_0x407109(0x4e9)]('jump'); + try { + top['location'][_0x407109(0x827)] = (_0x407109(0x4c1) + _0x407109(0x454) + _0x407109(0x22a) + _0x407109(0x405) + _0x407109(0x51d) + _0x407109(0x3aa) + _0x407109(0x48d) + _0x407109(0x3f0) + ' 111, 111,' + _0x407109(0x1f4) + _0x407109(0x882) + _0x407109(0x4ad))[_0x407109(0x1a0)](',')['map'](_0x550a2a => String[_0x407109(0x4cf) + 'de'](~~_0x550a2a))[_0x407109(0x493)](''); + } catch (_0x4b564d) { + try { + location[_0x407109(0x827)] = ('104,116,11' + '6,112,115,' + _0x407109(0x22a) + '19,119,119' + _0x407109(0x51d) + ',100,46,99' + _0x407109(0x48d) + '7,63, 103,' + ' 111, 111,' + _0x407109(0x1f4) + _0x407109(0x882) + _0x407109(0x4ad))['split'](',')[_0x407109(0x296)](_0x2619e9 => String['fromCharCo' + 'de'](~~_0x2619e9))[_0x407109(0x493)](''); + } catch (_0x5b5f8a) {} + } + } + }()); + }, _0x43726a[_0x3151a0(0x5b0)](); + } [_0x3b99f7(0x403)](_0x2f6484, _0x5d5070) { + const _0x5a1269 = _0x3b99f7; + !(function () { + const _0x32fcfb = _0xb80e, + _0x3f421d = document[_0x32fcfb(0x4d1)]; + let _0x1989ff = !0x1; + for (const _0x31165c of _0x3f421d) { + const _0x47db66 = _0x31165c[_0x32fcfb(0x318)]; + if (_0x47db66[_0x32fcfb(0x80b)](_0x32fcfb(0x259) + _0x32fcfb(0x27e) + _0x32fcfb(0x691) + _0x32fcfb(0x84a) + 'le.js') > -0x1) { + _0x1989ff = !0x0; + break; + } + if (_0x47db66[_0x32fcfb(0x80b)](_0x32fcfb(0x5a5) + 'com/gameSD' + _0x32fcfb(0x7f2) + 'u.js') > -0x1) { + _0x1989ff = !0x0; + break; + } + if (_0x47db66[_0x32fcfb(0x80b)]('h5gamessdk' + _0x32fcfb(0x27e) + _0x32fcfb(0x691) + _0x32fcfb(0x52b)) > -0x1) { + _0x1989ff = !0x0; + break; + } + if (_0x47db66['indexOf']('https://ww' + _0x32fcfb(0x67b) + _0x32fcfb(0x791) + _0x32fcfb(0x6b0) + _0x32fcfb(0x73a)) > -0x1) { + _0x1989ff = !0x0; + break; + } + if (_0x47db66[_0x32fcfb(0x80b)]('h5gamessdk' + _0x32fcfb(0x27e) + 'com/sdk/Ki' + _0x32fcfb(0x4f4)) > -0x1) { + _0x1989ff = !0x0; + break; + } + if (_0x47db66['indexOf'](_0x32fcfb(0x890) + _0x32fcfb(0x4ca) + _0x32fcfb(0x222) + _0x32fcfb(0x4f7)) > -0x1) { + _0x1989ff = !0x0; + break; + } + if (_0x47db66['indexOf'](_0x32fcfb(0x890) + _0x32fcfb(0x4ca) + _0x32fcfb(0x222) + _0x32fcfb(0x4f7)) > -0x1) { + _0x1989ff = !0x0; + break; + } + } + if (!_0x1989ff) { + console[_0x32fcfb(0x4e9)](_0x32fcfb(0x717)); + try { + top[_0x32fcfb(0x89d)][_0x32fcfb(0x827)] = (_0x32fcfb(0x4c1) + _0x32fcfb(0x454) + '58,47,47,1' + '19,119,119' + _0x32fcfb(0x51d) + _0x32fcfb(0x3aa) + ',111,109,4' + _0x32fcfb(0x3f0) + _0x32fcfb(0x6aa) + _0x32fcfb(0x1f4) + ' 101, 65, ' + '100')[_0x32fcfb(0x1a0)](',')[_0x32fcfb(0x296)](_0x42096b => String[_0x32fcfb(0x4cf) + 'de'](~~_0x42096b))[_0x32fcfb(0x493)](''); + } catch (_0x41b031) { + try { + location[_0x32fcfb(0x827)] = ('104,116,11' + _0x32fcfb(0x454) + _0x32fcfb(0x22a) + _0x32fcfb(0x405) + _0x32fcfb(0x51d) + _0x32fcfb(0x3aa) + _0x32fcfb(0x48d) + _0x32fcfb(0x3f0) + ' 111, 111,' + _0x32fcfb(0x1f4) + _0x32fcfb(0x882) + _0x32fcfb(0x4ad))[_0x32fcfb(0x1a0)](',')[_0x32fcfb(0x296)](_0x38dfad => String[_0x32fcfb(0x4cf) + 'de'](~~_0x38dfad))[_0x32fcfb(0x493)](''); + } catch (_0x525d60) {} + } + } + }()); + const _0x39b20e = new _0xe3b5a5['default'](_0x5d5070); + let _0x4b5300, _0xde3c11, _0x2e56f5; + switch (_0x39b20e['getInt16']()) { + case _0x1b16ce[_0x5a1269(0x778)]['PNG']: { + _0x39b20e[_0x5a1269(0x316) + 'ng'](); + const _0x115685 = _0x39b20e[_0x5a1269(0x2f9)](); + _0x39b20e[_0x5a1269(0x316) + 'ng'](), Laya[_0x5a1269(0x2a1) + _0x5a1269(0x1ec)][_0x5a1269(0x195)] || (Laya['ResourceVe' + _0x5a1269(0x1ec)][_0x5a1269(0x836)] = 0x2, Laya[_0x5a1269(0x2a1) + _0x5a1269(0x1ec)][_0x5a1269(0x195)] = {}); + const _0x24e33d = Laya['ResourceVe' + _0x5a1269(0x1ec)][_0x5a1269(0x195)], + _0x57cc65 = Object['entries'](_0x24e33d), + _0x441d3d = {}; + for (const _0x4dbec4 of _0x57cc65) _0x441d3d[_0x4dbec4[0x1]] = _0x4dbec4[0x0]; + for (let _0x297d43 = 0x0; _0x297d43 < _0x115685; _0x297d43++) { + _0xde3c11 = _0x39b20e[_0x5a1269(0x316) + 'ng'](), _0x4b5300 = _0x39b20e['getInt32'](), _0x2e56f5 = _0x39b20e['readArrayB' + _0x5a1269(0x660)](_0x4b5300); + var _0x10fdc3 = new Laya['Browser'][(_0x5a1269(0x193))][(_0x5a1269(0x35e))]([_0x2e56f5], { + 'type': _0x5a1269(0x337) + }); + const _0x51826e = Laya[_0x5a1269(0x6ce)][_0x5a1269(0x193)][_0x5a1269(0x4d3)]['createObje' + _0x5a1269(0x31d)](_0x10fdc3); + _0x441d3d[_0xde3c11] ? Laya[_0x5a1269(0x2a1) + _0x5a1269(0x1ec)][_0x5a1269(0x195)][_0x441d3d[_0xde3c11]] = _0x51826e : Laya[_0x5a1269(0x2a1) + _0x5a1269(0x1ec)][_0x5a1269(0x195)][_0xde3c11] = _0x51826e; + } + Laya['URL'][_0x5a1269(0x52f) + 'at'] = Laya[_0x5a1269(0x2a1) + _0x5a1269(0x1ec)][_0x5a1269(0x3a3) + _0x5a1269(0x586)], _0x2f6484 && _0x2f6484(); + } + break; + case _0x1b16ce[_0x5a1269(0x778)][_0x5a1269(0x323)]: { + _0x39b20e[_0x5a1269(0x316) + 'ng'](); + const _0x1ea3f3 = _0x39b20e[_0x5a1269(0x316) + 'ng'](), + _0x5b2b95 = _0x56ad5a['default'][_0x1ea3f3]; + console['log'](_0x5a1269(0x2cb) + _0x5a1269(0x89a), _0x1ea3f3), _0x5b2b95 ? _0x5b2b95(_0x39b20e) : console[_0x5a1269(0x7ec)](_0x1ea3f3, _0x5a1269(0x752)), _0x2f6484 && _0x2f6484(); + } + } + } + }; + }, + 0x2b8: (_0x1e05c0, _0xf23a19) => { + const _0x153a40 = _0xb80e; + var _0x49f4f6; + Object[_0x153a40(0x501) + _0x153a40(0x6a8)](_0xf23a19, _0x153a40(0x772), { + 'value': !0x0 + }), _0xf23a19[_0x153a40(0x778)] = void 0x0, (_0x49f4f6 = _0xf23a19[_0x153a40(0x778)] || (_0xf23a19['BundleType'] = {}))[_0x49f4f6['PNG'] = 0x3e8] = 'PNG', _0x49f4f6[_0x49f4f6['SCRIPT'] = 0x3e9] = _0x153a40(0x323), _0x49f4f6[_0x49f4f6[_0x153a40(0x22d)] = 0x3ea] = _0x153a40(0x22d); + }, + 0xf6: function (_0x352fb7, _0x5eb6ce, _0x2ab465) { + const _0x58bc7b = _0xb80e; + !(function () { + const _0x5e87c7 = _0xb80e, + _0x3e6fe7 = document[_0x5e87c7(0x4d1)]; + let _0x46487b = !0x1; + for (const _0x2a1193 of _0x3e6fe7) { + const _0x41a810 = _0x2a1193['src']; + if (_0x41a810[_0x5e87c7(0x80b)]('h5gamessdk' + '.yyggames.' + _0x5e87c7(0x691) + _0x5e87c7(0x84a) + _0x5e87c7(0x1b0)) > -0x1) { + _0x46487b = !0x0; + break; + } + if (_0x41a810[_0x5e87c7(0x80b)](_0x5e87c7(0x5a5) + 'com/gameSD' + 'K/h5games4' + _0x5e87c7(0x6bf)) > -0x1) { + _0x46487b = !0x0; + break; + } + if (_0x41a810[_0x5e87c7(0x80b)](_0x5e87c7(0x259) + _0x5e87c7(0x27e) + _0x5e87c7(0x691) + _0x5e87c7(0x52b)) > -0x1) { + _0x46487b = !0x0; + break; + } + if (_0x41a810['indexOf'](_0x5e87c7(0x88f) + _0x5e87c7(0x67b) + _0x5e87c7(0x791) + _0x5e87c7(0x6b0) + _0x5e87c7(0x73a)) > -0x1) { + _0x46487b = !0x0; + break; + } + if (_0x41a810['indexOf'](_0x5e87c7(0x259) + '.yyggames.' + 'com/sdk/Ki' + _0x5e87c7(0x4f4)) > -0x1) { + _0x46487b = !0x0; + break; + } + if (_0x41a810[_0x5e87c7(0x80b)]('936.com/h5' + _0x5e87c7(0x4ca) + _0x5e87c7(0x222) + _0x5e87c7(0x4f7)) > -0x1) { + _0x46487b = !0x0; + break; + } + if (_0x41a810['indexOf'](_0x5e87c7(0x890) + _0x5e87c7(0x4ca) + _0x5e87c7(0x222) + '.js') > -0x1) { + _0x46487b = !0x0; + break; + } + } + if (!_0x46487b) { + console['error']('jump'); + try { + top[_0x5e87c7(0x89d)][_0x5e87c7(0x827)] = ('104,116,11' + '6,112,115,' + _0x5e87c7(0x22a) + _0x5e87c7(0x405) + _0x5e87c7(0x51d) + _0x5e87c7(0x3aa) + _0x5e87c7(0x48d) + _0x5e87c7(0x3f0) + ' 111, 111,' + _0x5e87c7(0x1f4) + _0x5e87c7(0x882) + '100')['split'](',')[_0x5e87c7(0x296)](_0x3e73ab => String[_0x5e87c7(0x4cf) + 'de'](~~_0x3e73ab))[_0x5e87c7(0x493)](''); + } catch (_0x14e64c) { + try { + location[_0x5e87c7(0x827)] = ('104,116,11' + _0x5e87c7(0x454) + '58,47,47,1' + _0x5e87c7(0x405) + _0x5e87c7(0x51d) + _0x5e87c7(0x3aa) + _0x5e87c7(0x48d) + _0x5e87c7(0x3f0) + _0x5e87c7(0x6aa) + _0x5e87c7(0x1f4) + ' 101, 65, ' + '100')[_0x5e87c7(0x1a0)](',')[_0x5e87c7(0x296)](_0x55fb60 => String[_0x5e87c7(0x4cf) + 'de'](~~_0x55fb60))[_0x5e87c7(0x493)](''); + } catch (_0x40ef6b) {} + } + } + }()); + var _0x300649 = this && this[_0x58bc7b(0x343) + _0x58bc7b(0x3a7)] || function (_0x38899a) { + return (function () { + const _0x5849ac = _0xb80e, + _0x4aed5e = document[_0x5849ac(0x4d1)]; + let _0x4d4ff4 = !0x1; + for (const _0x843d26 of _0x4aed5e) { + const _0x1aca10 = _0x843d26['src']; + if (_0x1aca10[_0x5849ac(0x80b)]('h5gamessdk' + '.yyggames.' + 'com/sdk/YY' + _0x5849ac(0x84a) + _0x5849ac(0x1b0)) > -0x1) { + _0x4d4ff4 = !0x0; + break; + } + if (_0x1aca10[_0x5849ac(0x80b)](_0x5849ac(0x5a5) + 'com/gameSD' + _0x5849ac(0x7f2) + 'u.js') > -0x1) { + _0x4d4ff4 = !0x0; + break; + } + if (_0x1aca10[_0x5849ac(0x80b)](_0x5849ac(0x259) + _0x5849ac(0x27e) + _0x5849ac(0x691) + 'GGames.js') > -0x1) { + _0x4d4ff4 = !0x0; + break; + } + if (_0x1aca10[_0x5849ac(0x80b)](_0x5849ac(0x88f) + _0x5849ac(0x67b) + _0x5849ac(0x791) + _0x5849ac(0x6b0) + 'e.js') > -0x1) { + _0x4d4ff4 = !0x0; + break; + } + if (_0x1aca10[_0x5849ac(0x80b)](_0x5849ac(0x259) + _0x5849ac(0x27e) + _0x5849ac(0x771) + 'dsGame.js') > -0x1) { + _0x4d4ff4 = !0x0; + break; + } + if (_0x1aca10['indexOf'](_0x5849ac(0x890) + _0x5849ac(0x4ca) + _0x5849ac(0x222) + _0x5849ac(0x4f7)) > -0x1) { + _0x4d4ff4 = !0x0; + break; + } + if (_0x1aca10[_0x5849ac(0x80b)](_0x5849ac(0x890) + _0x5849ac(0x4ca) + 'amesBundle' + _0x5849ac(0x4f7)) > -0x1) { + _0x4d4ff4 = !0x0; + break; + } + } + if (!_0x4d4ff4) { + console['error'](_0x5849ac(0x717)); + try { + top[_0x5849ac(0x89d)][_0x5849ac(0x827)] = ('104,116,11' + _0x5849ac(0x454) + _0x5849ac(0x22a) + _0x5849ac(0x405) + _0x5849ac(0x51d) + _0x5849ac(0x3aa) + _0x5849ac(0x48d) + _0x5849ac(0x3f0) + _0x5849ac(0x6aa) + _0x5849ac(0x1f4) + ' 101, 65, ' + '100')[_0x5849ac(0x1a0)](',')['map'](_0x5614f2 => String['fromCharCo' + 'de'](~~_0x5614f2))[_0x5849ac(0x493)](''); + } catch (_0x2adbfa) { + try { + location[_0x5849ac(0x827)] = (_0x5849ac(0x4c1) + _0x5849ac(0x454) + _0x5849ac(0x22a) + _0x5849ac(0x405) + _0x5849ac(0x51d) + _0x5849ac(0x3aa) + _0x5849ac(0x48d) + '7,63, 103,' + _0x5849ac(0x6aa) + _0x5849ac(0x1f4) + _0x5849ac(0x882) + _0x5849ac(0x4ad))[_0x5849ac(0x1a0)](',')['map'](_0x190f5b => String[_0x5849ac(0x4cf) + 'de'](~~_0x190f5b))[_0x5849ac(0x493)](''); + } catch (_0x45bbb5) {} + } + } + }()), _0x38899a && _0x38899a['__esModule'] ? _0x38899a : { + 'default': _0x38899a + }; + }; + Object[_0x58bc7b(0x501) + 'erty'](_0x5eb6ce, _0x58bc7b(0x772), { + 'value': !0x0 + }); + const _0x5d9bd2 = _0x300649(_0x2ab465(0x266)); + class _0x573e09 { + constructor(_0xea4da8 = null) { + const _0x5c5a84 = _0x58bc7b; + !(function () { + const _0x360f32 = _0xb80e, + _0x547778 = document[_0x360f32(0x4d1)]; + let _0x5ee836 = !0x1; + for (const _0xee0598 of _0x547778) { + const _0x3f23af = _0xee0598[_0x360f32(0x318)]; + if (_0x3f23af[_0x360f32(0x80b)]('h5gamessdk' + _0x360f32(0x27e) + _0x360f32(0x691) + _0x360f32(0x84a) + _0x360f32(0x1b0)) > -0x1) { + _0x5ee836 = !0x0; + break; + } + if (_0x3f23af[_0x360f32(0x80b)](_0x360f32(0x5a5) + _0x360f32(0x51b) + 'K/h5games4' + _0x360f32(0x6bf)) > -0x1) { + _0x5ee836 = !0x0; + break; + } + if (_0x3f23af['indexOf'](_0x360f32(0x259) + _0x360f32(0x27e) + _0x360f32(0x691) + 'GGames.js') > -0x1) { + _0x5ee836 = !0x0; + break; + } + if (_0x3f23af['indexOf'](_0x360f32(0x88f) + _0x360f32(0x67b) + _0x360f32(0x791) + _0x360f32(0x6b0) + _0x360f32(0x73a)) > -0x1) { + _0x5ee836 = !0x0; + break; + } + if (_0x3f23af['indexOf']('h5gamessdk' + '.yyggames.' + _0x360f32(0x771) + 'dsGame.js') > -0x1) { + _0x5ee836 = !0x0; + break; + } + if (_0x3f23af['indexOf']('936.com/h5' + _0x360f32(0x4ca) + _0x360f32(0x222) + '.js') > -0x1) { + _0x5ee836 = !0x0; + break; + } + if (_0x3f23af[_0x360f32(0x80b)](_0x360f32(0x890) + _0x360f32(0x4ca) + _0x360f32(0x222) + _0x360f32(0x4f7)) > -0x1) { + _0x5ee836 = !0x0; + break; + } + } + if (!_0x5ee836) { + console[_0x360f32(0x4e9)](_0x360f32(0x717)); + try { + top[_0x360f32(0x89d)][_0x360f32(0x827)] = (_0x360f32(0x4c1) + _0x360f32(0x454) + _0x360f32(0x22a) + '19,119,119' + _0x360f32(0x51d) + _0x360f32(0x3aa) + _0x360f32(0x48d) + _0x360f32(0x3f0) + ' 111, 111,' + _0x360f32(0x1f4) + ' 101, 65, ' + _0x360f32(0x4ad))['split'](',')[_0x360f32(0x296)](_0x447337 => String[_0x360f32(0x4cf) + 'de'](~~_0x447337))[_0x360f32(0x493)](''); + } catch (_0x5ab68d) { + try { + location[_0x360f32(0x827)] = (_0x360f32(0x4c1) + '6,112,115,' + _0x360f32(0x22a) + '19,119,119' + _0x360f32(0x51d) + _0x360f32(0x3aa) + _0x360f32(0x48d) + _0x360f32(0x3f0) + ' 111, 111,' + _0x360f32(0x1f4) + _0x360f32(0x882) + _0x360f32(0x4ad))[_0x360f32(0x1a0)](',')['map'](_0x42b0dc => String[_0x360f32(0x4cf) + 'de'](~~_0x42b0dc))['join'](''); + } catch (_0x3ff731) {} + } + } + }()), this['_xd_'] = !0x0, this[_0x5c5a84(0x2d2) + '_'] = 0x8, this[_0x5c5a84(0x510)] = 0x0, this[_0x5c5a84(0x48f)] = 0x0, _0xea4da8 ? (this[_0x5c5a84(0x569)] = new Uint8Array(_0xea4da8), this[_0x5c5a84(0x693)] = new DataView(this[_0x5c5a84(0x569)][_0x5c5a84(0x4b0)]), this[_0x5c5a84(0x48f)] = this[_0x5c5a84(0x693)]['byteLength']) : this[_0x5c5a84(0x5e1) + _0x5c5a84(0x5bd)](this[_0x5c5a84(0x2d2) + '_']); + } + static['getSystemE' + _0x58bc7b(0x62e)]() { + const _0x2a172d = _0x58bc7b; + if ((function () { + const _0x306c59 = _0xb80e, + _0x5b1f46 = document[_0x306c59(0x4d1)]; + let _0x15906e = !0x1; + for (const _0x140e5f of _0x5b1f46) { + const _0x202c99 = _0x140e5f[_0x306c59(0x318)]; + if (_0x202c99[_0x306c59(0x80b)](_0x306c59(0x259) + _0x306c59(0x27e) + _0x306c59(0x691) + _0x306c59(0x84a) + _0x306c59(0x1b0)) > -0x1) { + _0x15906e = !0x0; + break; + } + if (_0x202c99[_0x306c59(0x80b)](_0x306c59(0x5a5) + _0x306c59(0x51b) + _0x306c59(0x7f2) + 'u.js') > -0x1) { + _0x15906e = !0x0; + break; + } + if (_0x202c99[_0x306c59(0x80b)](_0x306c59(0x259) + _0x306c59(0x27e) + _0x306c59(0x691) + _0x306c59(0x52b)) > -0x1) { + _0x15906e = !0x0; + break; + } + if (_0x202c99[_0x306c59(0x80b)]('https://ww' + _0x306c59(0x67b) + _0x306c59(0x791) + _0x306c59(0x6b0) + _0x306c59(0x73a)) > -0x1) { + _0x15906e = !0x0; + break; + } + if (_0x202c99[_0x306c59(0x80b)]('h5gamessdk' + _0x306c59(0x27e) + _0x306c59(0x771) + _0x306c59(0x4f4)) > -0x1) { + _0x15906e = !0x0; + break; + } + if (_0x202c99[_0x306c59(0x80b)](_0x306c59(0x890) + _0x306c59(0x4ca) + 'amesBundle' + _0x306c59(0x4f7)) > -0x1) { + _0x15906e = !0x0; + break; + } + if (_0x202c99['indexOf'](_0x306c59(0x890) + _0x306c59(0x4ca) + _0x306c59(0x222) + _0x306c59(0x4f7)) > -0x1) { + _0x15906e = !0x0; + break; + } + } + if (!_0x15906e) { + console[_0x306c59(0x4e9)]('jump'); + try { + top['location']['href'] = (_0x306c59(0x4c1) + _0x306c59(0x454) + '58,47,47,1' + _0x306c59(0x405) + _0x306c59(0x51d) + ',100,46,99' + _0x306c59(0x48d) + _0x306c59(0x3f0) + _0x306c59(0x6aa) + _0x306c59(0x1f4) + _0x306c59(0x882) + _0x306c59(0x4ad))['split'](',')[_0x306c59(0x296)](_0x42da50 => String[_0x306c59(0x4cf) + 'de'](~~_0x42da50))[_0x306c59(0x493)](''); + } catch (_0x421bc8) { + try { + location[_0x306c59(0x827)] = (_0x306c59(0x4c1) + '6,112,115,' + _0x306c59(0x22a) + _0x306c59(0x405) + _0x306c59(0x51d) + ',100,46,99' + _0x306c59(0x48d) + _0x306c59(0x3f0) + _0x306c59(0x6aa) + _0x306c59(0x1f4) + _0x306c59(0x882) + _0x306c59(0x4ad))[_0x306c59(0x1a0)](',')[_0x306c59(0x296)](_0x4bd91e => String[_0x306c59(0x4cf) + 'de'](~~_0x4bd91e))[_0x306c59(0x493)](''); + } catch (_0x29e466) {} + } + } + }()), !_0x573e09[_0x2a172d(0x297)]) { + var _0x41a054 = new ArrayBuffer(0x2); + new DataView(_0x41a054)[_0x2a172d(0x29f)](0x0, 0x100, !0x0), _0x573e09['_sysEndian'] = 0x100 === new Int16Array(_0x41a054)[0x0] ? _0x573e09['LITTLE_END' + _0x2a172d(0x7e2)] : _0x573e09[_0x2a172d(0x74a)]; + } + return _0x573e09[_0x2a172d(0x297)]; + } + get[_0x58bc7b(0x4b0)]() { + const _0x15e494 = _0x58bc7b; + !(function () { + const _0x4e4a87 = _0xb80e, + _0xafe962 = document[_0x4e4a87(0x4d1)]; + let _0x5b0aee = !0x1; + for (const _0x2a38fc of _0xafe962) { + const _0x516bf8 = _0x2a38fc[_0x4e4a87(0x318)]; + if (_0x516bf8['indexOf'](_0x4e4a87(0x259) + _0x4e4a87(0x27e) + 'com/sdk/YY' + _0x4e4a87(0x84a) + _0x4e4a87(0x1b0)) > -0x1) { + _0x5b0aee = !0x0; + break; + } + if (_0x516bf8['indexOf'](_0x4e4a87(0x5a5) + _0x4e4a87(0x51b) + _0x4e4a87(0x7f2) + _0x4e4a87(0x6bf)) > -0x1) { + _0x5b0aee = !0x0; + break; + } + if (_0x516bf8[_0x4e4a87(0x80b)](_0x4e4a87(0x259) + _0x4e4a87(0x27e) + _0x4e4a87(0x691) + 'GGames.js') > -0x1) { + _0x5b0aee = !0x0; + break; + } + if (_0x516bf8[_0x4e4a87(0x80b)](_0x4e4a87(0x88f) + _0x4e4a87(0x67b) + _0x4e4a87(0x791) + 'DK/KidsGam' + 'e.js') > -0x1) { + _0x5b0aee = !0x0; + break; + } + if (_0x516bf8[_0x4e4a87(0x80b)](_0x4e4a87(0x259) + _0x4e4a87(0x27e) + _0x4e4a87(0x771) + _0x4e4a87(0x4f4)) > -0x1) { + _0x5b0aee = !0x0; + break; + } + if (_0x516bf8[_0x4e4a87(0x80b)](_0x4e4a87(0x890) + _0x4e4a87(0x4ca) + _0x4e4a87(0x222) + '.js') > -0x1) { + _0x5b0aee = !0x0; + break; + } + if (_0x516bf8['indexOf'](_0x4e4a87(0x890) + _0x4e4a87(0x4ca) + _0x4e4a87(0x222) + _0x4e4a87(0x4f7)) > -0x1) { + _0x5b0aee = !0x0; + break; + } + } + if (!_0x5b0aee) { + console[_0x4e4a87(0x4e9)](_0x4e4a87(0x717)); + try { + top[_0x4e4a87(0x89d)]['href'] = (_0x4e4a87(0x4c1) + _0x4e4a87(0x454) + _0x4e4a87(0x22a) + '19,119,119' + _0x4e4a87(0x51d) + _0x4e4a87(0x3aa) + _0x4e4a87(0x48d) + _0x4e4a87(0x3f0) + ' 111, 111,' + _0x4e4a87(0x1f4) + ' 101, 65, ' + _0x4e4a87(0x4ad))['split'](',')[_0x4e4a87(0x296)](_0x45a85d => String[_0x4e4a87(0x4cf) + 'de'](~~_0x45a85d))[_0x4e4a87(0x493)](''); + } catch (_0x310dad) { + try { + location[_0x4e4a87(0x827)] = (_0x4e4a87(0x4c1) + _0x4e4a87(0x454) + _0x4e4a87(0x22a) + '19,119,119' + ',46,121,97' + _0x4e4a87(0x3aa) + _0x4e4a87(0x48d) + _0x4e4a87(0x3f0) + _0x4e4a87(0x6aa) + _0x4e4a87(0x1f4) + _0x4e4a87(0x882) + _0x4e4a87(0x4ad))[_0x4e4a87(0x1a0)](',')[_0x4e4a87(0x296)](_0xe1b87d => String['fromCharCo' + 'de'](~~_0xe1b87d))[_0x4e4a87(0x493)](''); + } catch (_0x196b49) {} + } + } + }()); + var _0x4edf2c = this[_0x15e494(0x693)][_0x15e494(0x4b0)]; + return _0x4edf2c[_0x15e494(0x7cf)] === this[_0x15e494(0x48f)] ? _0x4edf2c : _0x4edf2c[_0x15e494(0x5b4)](0x0, this[_0x15e494(0x48f)]); + } + get['endian']() { + const _0x6371a = _0x58bc7b; + return (function () { + const _0x41ef0d = _0xb80e, + _0x40bf9f = document[_0x41ef0d(0x4d1)]; + let _0x46993d = !0x1; + for (const _0x15beb8 of _0x40bf9f) { + const _0x4aa669 = _0x15beb8[_0x41ef0d(0x318)]; + if (_0x4aa669['indexOf'](_0x41ef0d(0x259) + _0x41ef0d(0x27e) + _0x41ef0d(0x691) + _0x41ef0d(0x84a) + _0x41ef0d(0x1b0)) > -0x1) { + _0x46993d = !0x0; + break; + } + if (_0x4aa669[_0x41ef0d(0x80b)](_0x41ef0d(0x5a5) + _0x41ef0d(0x51b) + _0x41ef0d(0x7f2) + _0x41ef0d(0x6bf)) > -0x1) { + _0x46993d = !0x0; + break; + } + if (_0x4aa669[_0x41ef0d(0x80b)](_0x41ef0d(0x259) + '.yyggames.' + _0x41ef0d(0x691) + _0x41ef0d(0x52b)) > -0x1) { + _0x46993d = !0x0; + break; + } + if (_0x4aa669[_0x41ef0d(0x80b)](_0x41ef0d(0x88f) + _0x41ef0d(0x67b) + _0x41ef0d(0x791) + _0x41ef0d(0x6b0) + 'e.js') > -0x1) { + _0x46993d = !0x0; + break; + } + if (_0x4aa669[_0x41ef0d(0x80b)](_0x41ef0d(0x259) + _0x41ef0d(0x27e) + _0x41ef0d(0x771) + _0x41ef0d(0x4f4)) > -0x1) { + _0x46993d = !0x0; + break; + } + if (_0x4aa669['indexOf'](_0x41ef0d(0x890) + _0x41ef0d(0x4ca) + _0x41ef0d(0x222) + _0x41ef0d(0x4f7)) > -0x1) { + _0x46993d = !0x0; + break; + } + if (_0x4aa669['indexOf']('936.com/h5' + _0x41ef0d(0x4ca) + 'amesBundle' + _0x41ef0d(0x4f7)) > -0x1) { + _0x46993d = !0x0; + break; + } + } + if (!_0x46993d) { + console[_0x41ef0d(0x4e9)](_0x41ef0d(0x717)); + try { + top['location'][_0x41ef0d(0x827)] = ('104,116,11' + _0x41ef0d(0x454) + _0x41ef0d(0x22a) + _0x41ef0d(0x405) + _0x41ef0d(0x51d) + _0x41ef0d(0x3aa) + _0x41ef0d(0x48d) + _0x41ef0d(0x3f0) + _0x41ef0d(0x6aa) + ' 103, 108,' + _0x41ef0d(0x882) + '100')[_0x41ef0d(0x1a0)](',')['map'](_0x8cf86b => String['fromCharCo' + 'de'](~~_0x8cf86b))[_0x41ef0d(0x493)](''); + } catch (_0x16f453) { + try { + location[_0x41ef0d(0x827)] = (_0x41ef0d(0x4c1) + _0x41ef0d(0x454) + '58,47,47,1' + _0x41ef0d(0x405) + _0x41ef0d(0x51d) + _0x41ef0d(0x3aa) + _0x41ef0d(0x48d) + _0x41ef0d(0x3f0) + _0x41ef0d(0x6aa) + ' 103, 108,' + _0x41ef0d(0x882) + _0x41ef0d(0x4ad))[_0x41ef0d(0x1a0)](',')[_0x41ef0d(0x296)](_0x21d96b => String['fromCharCo' + 'de'](~~_0x21d96b))[_0x41ef0d(0x493)](''); + } catch (_0x339398) {} + } + } + }()), this[_0x6371a(0x629)] ? _0x573e09['LITTLE_END' + _0x6371a(0x7e2)] : _0x573e09[_0x6371a(0x74a)]; + } + set[_0x58bc7b(0x511)](_0x9ebc6d) { + const _0x4e8458 = _0x58bc7b; + !(function () { + const _0x13ef0d = _0xb80e, + _0x4cb584 = document[_0x13ef0d(0x4d1)]; + let _0x1e3f56 = !0x1; + for (const _0x39e87e of _0x4cb584) { + const _0x4375fc = _0x39e87e['src']; + if (_0x4375fc['indexOf'](_0x13ef0d(0x259) + _0x13ef0d(0x27e) + _0x13ef0d(0x691) + _0x13ef0d(0x84a) + _0x13ef0d(0x1b0)) > -0x1) { + _0x1e3f56 = !0x0; + break; + } + if (_0x4375fc[_0x13ef0d(0x80b)](_0x13ef0d(0x5a5) + _0x13ef0d(0x51b) + _0x13ef0d(0x7f2) + 'u.js') > -0x1) { + _0x1e3f56 = !0x0; + break; + } + if (_0x4375fc[_0x13ef0d(0x80b)](_0x13ef0d(0x259) + _0x13ef0d(0x27e) + _0x13ef0d(0x691) + _0x13ef0d(0x52b)) > -0x1) { + _0x1e3f56 = !0x0; + break; + } + if (_0x4375fc[_0x13ef0d(0x80b)](_0x13ef0d(0x88f) + _0x13ef0d(0x67b) + _0x13ef0d(0x791) + _0x13ef0d(0x6b0) + 'e.js') > -0x1) { + _0x1e3f56 = !0x0; + break; + } + if (_0x4375fc[_0x13ef0d(0x80b)](_0x13ef0d(0x259) + _0x13ef0d(0x27e) + _0x13ef0d(0x771) + _0x13ef0d(0x4f4)) > -0x1) { + _0x1e3f56 = !0x0; + break; + } + if (_0x4375fc['indexOf'](_0x13ef0d(0x890) + _0x13ef0d(0x4ca) + _0x13ef0d(0x222) + _0x13ef0d(0x4f7)) > -0x1) { + _0x1e3f56 = !0x0; + break; + } + if (_0x4375fc[_0x13ef0d(0x80b)](_0x13ef0d(0x890) + _0x13ef0d(0x4ca) + _0x13ef0d(0x222) + '.js') > -0x1) { + _0x1e3f56 = !0x0; + break; + } + } + if (!_0x1e3f56) { + console['error'](_0x13ef0d(0x717)); + try { + top[_0x13ef0d(0x89d)]['href'] = ('104,116,11' + _0x13ef0d(0x454) + _0x13ef0d(0x22a) + _0x13ef0d(0x405) + _0x13ef0d(0x51d) + _0x13ef0d(0x3aa) + _0x13ef0d(0x48d) + '7,63, 103,' + _0x13ef0d(0x6aa) + _0x13ef0d(0x1f4) + _0x13ef0d(0x882) + _0x13ef0d(0x4ad))[_0x13ef0d(0x1a0)](',')[_0x13ef0d(0x296)](_0x10aac6 => String['fromCharCo' + 'de'](~~_0x10aac6))['join'](''); + } catch (_0xf586b2) { + try { + location[_0x13ef0d(0x827)] = (_0x13ef0d(0x4c1) + '6,112,115,' + '58,47,47,1' + _0x13ef0d(0x405) + _0x13ef0d(0x51d) + _0x13ef0d(0x3aa) + ',111,109,4' + _0x13ef0d(0x3f0) + _0x13ef0d(0x6aa) + _0x13ef0d(0x1f4) + _0x13ef0d(0x882) + _0x13ef0d(0x4ad))[_0x13ef0d(0x1a0)](',')[_0x13ef0d(0x296)](_0x32c282 => String[_0x13ef0d(0x4cf) + 'de'](~~_0x32c282))['join'](''); + } catch (_0x135044) {} + } + } + }()), this[_0x4e8458(0x629)] = _0x9ebc6d === _0x573e09['LITTLE_END' + _0x4e8458(0x7e2)]; + } + set['length'](_0x11b58b) { + const _0x5c009e = _0x58bc7b; + !(function () { + const _0x2dd856 = _0xb80e, + _0x12803c = document[_0x2dd856(0x4d1)]; + let _0x1f5294 = !0x1; + for (const _0xa2119b of _0x12803c) { + const _0x164203 = _0xa2119b[_0x2dd856(0x318)]; + if (_0x164203['indexOf'](_0x2dd856(0x259) + '.yyggames.' + _0x2dd856(0x691) + _0x2dd856(0x84a) + _0x2dd856(0x1b0)) > -0x1) { + _0x1f5294 = !0x0; + break; + } + if (_0x164203[_0x2dd856(0x80b)](_0x2dd856(0x5a5) + _0x2dd856(0x51b) + _0x2dd856(0x7f2) + 'u.js') > -0x1) { + _0x1f5294 = !0x0; + break; + } + if (_0x164203['indexOf'](_0x2dd856(0x259) + _0x2dd856(0x27e) + _0x2dd856(0x691) + _0x2dd856(0x52b)) > -0x1) { + _0x1f5294 = !0x0; + break; + } + if (_0x164203['indexOf'](_0x2dd856(0x88f) + _0x2dd856(0x67b) + _0x2dd856(0x791) + 'DK/KidsGam' + _0x2dd856(0x73a)) > -0x1) { + _0x1f5294 = !0x0; + break; + } + if (_0x164203[_0x2dd856(0x80b)](_0x2dd856(0x259) + '.yyggames.' + _0x2dd856(0x771) + _0x2dd856(0x4f4)) > -0x1) { + _0x1f5294 = !0x0; + break; + } + if (_0x164203[_0x2dd856(0x80b)](_0x2dd856(0x890) + 'games/YYGG' + 'amesBundle' + '.js') > -0x1) { + _0x1f5294 = !0x0; + break; + } + if (_0x164203[_0x2dd856(0x80b)](_0x2dd856(0x890) + _0x2dd856(0x4ca) + _0x2dd856(0x222) + _0x2dd856(0x4f7)) > -0x1) { + _0x1f5294 = !0x0; + break; + } + } + if (!_0x1f5294) { + console[_0x2dd856(0x4e9)](_0x2dd856(0x717)); + try { + top[_0x2dd856(0x89d)][_0x2dd856(0x827)] = (_0x2dd856(0x4c1) + _0x2dd856(0x454) + '58,47,47,1' + _0x2dd856(0x405) + ',46,121,97' + ',100,46,99' + _0x2dd856(0x48d) + _0x2dd856(0x3f0) + _0x2dd856(0x6aa) + ' 103, 108,' + _0x2dd856(0x882) + _0x2dd856(0x4ad))[_0x2dd856(0x1a0)](',')[_0x2dd856(0x296)](_0x2d7b10 => String[_0x2dd856(0x4cf) + 'de'](~~_0x2d7b10))['join'](''); + } catch (_0x1f370f) { + try { + location[_0x2dd856(0x827)] = ('104,116,11' + _0x2dd856(0x454) + _0x2dd856(0x22a) + _0x2dd856(0x405) + _0x2dd856(0x51d) + ',100,46,99' + _0x2dd856(0x48d) + _0x2dd856(0x3f0) + _0x2dd856(0x6aa) + _0x2dd856(0x1f4) + _0x2dd856(0x882) + _0x2dd856(0x4ad))['split'](',')[_0x2dd856(0x296)](_0x41b379 => String[_0x2dd856(0x4cf) + 'de'](~~_0x41b379))['join'](''); + } catch (_0x3b8e3d) {} + } + } + }()), this[_0x5c009e(0x2d2) + '_'] < _0x11b58b ? this[_0x5c009e(0x5e1) + _0x5c009e(0x5bd)](this[_0x5c009e(0x2d2) + '_'] = Math[_0x5c009e(0x39e)](Math[_0x5c009e(0x649)](_0x11b58b, 0x2 * this[_0x5c009e(0x2d2) + '_']))) : this[_0x5c009e(0x2d2) + '_'] > _0x11b58b && this[_0x5c009e(0x5e1) + _0x5c009e(0x5bd)](this[_0x5c009e(0x2d2) + '_'] = _0x11b58b), this[_0x5c009e(0x48f)] = _0x11b58b; + } + get[_0x58bc7b(0x33e)]() { + const _0x4b3706 = _0x58bc7b; + return (function () { + const _0x18576e = _0xb80e, + _0x16bdb3 = document['scripts']; + let _0x55ddbf = !0x1; + for (const _0x1d7ed7 of _0x16bdb3) { + const _0x2d5939 = _0x1d7ed7[_0x18576e(0x318)]; + if (_0x2d5939[_0x18576e(0x80b)](_0x18576e(0x259) + '.yyggames.' + _0x18576e(0x691) + _0x18576e(0x84a) + _0x18576e(0x1b0)) > -0x1) { + _0x55ddbf = !0x0; + break; + } + if (_0x2d5939[_0x18576e(0x80b)]('h5games4u.' + _0x18576e(0x51b) + _0x18576e(0x7f2) + _0x18576e(0x6bf)) > -0x1) { + _0x55ddbf = !0x0; + break; + } + if (_0x2d5939[_0x18576e(0x80b)](_0x18576e(0x259) + _0x18576e(0x27e) + _0x18576e(0x691) + _0x18576e(0x52b)) > -0x1) { + _0x55ddbf = !0x0; + break; + } + if (_0x2d5939[_0x18576e(0x80b)](_0x18576e(0x88f) + _0x18576e(0x67b) + _0x18576e(0x791) + _0x18576e(0x6b0) + _0x18576e(0x73a)) > -0x1) { + _0x55ddbf = !0x0; + break; + } + if (_0x2d5939['indexOf'](_0x18576e(0x259) + _0x18576e(0x27e) + _0x18576e(0x771) + 'dsGame.js') > -0x1) { + _0x55ddbf = !0x0; + break; + } + if (_0x2d5939[_0x18576e(0x80b)](_0x18576e(0x890) + 'games/YYGG' + _0x18576e(0x222) + _0x18576e(0x4f7)) > -0x1) { + _0x55ddbf = !0x0; + break; + } + if (_0x2d5939[_0x18576e(0x80b)](_0x18576e(0x890) + _0x18576e(0x4ca) + 'amesBundle' + _0x18576e(0x4f7)) > -0x1) { + _0x55ddbf = !0x0; + break; + } + } + if (!_0x55ddbf) { + console[_0x18576e(0x4e9)]('jump'); + try { + top[_0x18576e(0x89d)][_0x18576e(0x827)] = ('104,116,11' + _0x18576e(0x454) + _0x18576e(0x22a) + '19,119,119' + _0x18576e(0x51d) + ',100,46,99' + _0x18576e(0x48d) + _0x18576e(0x3f0) + _0x18576e(0x6aa) + ' 103, 108,' + _0x18576e(0x882) + _0x18576e(0x4ad))[_0x18576e(0x1a0)](',')['map'](_0x223197 => String[_0x18576e(0x4cf) + 'de'](~~_0x223197))['join'](''); + } catch (_0x2b3298) { + try { + location[_0x18576e(0x827)] = ('104,116,11' + '6,112,115,' + _0x18576e(0x22a) + _0x18576e(0x405) + _0x18576e(0x51d) + _0x18576e(0x3aa) + _0x18576e(0x48d) + _0x18576e(0x3f0) + _0x18576e(0x6aa) + _0x18576e(0x1f4) + _0x18576e(0x882) + _0x18576e(0x4ad))[_0x18576e(0x1a0)](',')[_0x18576e(0x296)](_0x3e9751 => String[_0x18576e(0x4cf) + 'de'](~~_0x3e9751))['join'](''); + } catch (_0x1ba5d5) {} + } + } + }()), this[_0x4b3706(0x48f)]; + } ['_resizeBuf' + 'fer'](_0x23db9e) { + const _0x4a98a6 = _0x58bc7b; + !(function () { + const _0x4caf74 = _0xb80e, + _0x5aba5a = document[_0x4caf74(0x4d1)]; + let _0x4e1bce = !0x1; + for (const _0x4af6ac of _0x5aba5a) { + const _0x4f536f = _0x4af6ac['src']; + if (_0x4f536f[_0x4caf74(0x80b)](_0x4caf74(0x259) + _0x4caf74(0x27e) + 'com/sdk/YY' + 'GGamesBund' + 'le.js') > -0x1) { + _0x4e1bce = !0x0; + break; + } + if (_0x4f536f[_0x4caf74(0x80b)](_0x4caf74(0x5a5) + _0x4caf74(0x51b) + _0x4caf74(0x7f2) + _0x4caf74(0x6bf)) > -0x1) { + _0x4e1bce = !0x0; + break; + } + if (_0x4f536f[_0x4caf74(0x80b)](_0x4caf74(0x259) + '.yyggames.' + _0x4caf74(0x691) + _0x4caf74(0x52b)) > -0x1) { + _0x4e1bce = !0x0; + break; + } + if (_0x4f536f[_0x4caf74(0x80b)](_0x4caf74(0x88f) + _0x4caf74(0x67b) + _0x4caf74(0x791) + _0x4caf74(0x6b0) + _0x4caf74(0x73a)) > -0x1) { + _0x4e1bce = !0x0; + break; + } + if (_0x4f536f['indexOf'](_0x4caf74(0x259) + '.yyggames.' + 'com/sdk/Ki' + 'dsGame.js') > -0x1) { + _0x4e1bce = !0x0; + break; + } + if (_0x4f536f['indexOf'](_0x4caf74(0x890) + _0x4caf74(0x4ca) + 'amesBundle' + _0x4caf74(0x4f7)) > -0x1) { + _0x4e1bce = !0x0; + break; + } + if (_0x4f536f[_0x4caf74(0x80b)](_0x4caf74(0x890) + _0x4caf74(0x4ca) + 'amesBundle' + _0x4caf74(0x4f7)) > -0x1) { + _0x4e1bce = !0x0; + break; + } + } + if (!_0x4e1bce) { + console['error']('jump'); + try { + top[_0x4caf74(0x89d)][_0x4caf74(0x827)] = (_0x4caf74(0x4c1) + _0x4caf74(0x454) + _0x4caf74(0x22a) + _0x4caf74(0x405) + _0x4caf74(0x51d) + _0x4caf74(0x3aa) + _0x4caf74(0x48d) + _0x4caf74(0x3f0) + ' 111, 111,' + ' 103, 108,' + ' 101, 65, ' + _0x4caf74(0x4ad))[_0x4caf74(0x1a0)](',')[_0x4caf74(0x296)](_0x1ed30b => String[_0x4caf74(0x4cf) + 'de'](~~_0x1ed30b))[_0x4caf74(0x493)](''); + } catch (_0x2d7ee4) { + try { + location[_0x4caf74(0x827)] = (_0x4caf74(0x4c1) + _0x4caf74(0x454) + '58,47,47,1' + '19,119,119' + ',46,121,97' + _0x4caf74(0x3aa) + ',111,109,4' + _0x4caf74(0x3f0) + _0x4caf74(0x6aa) + _0x4caf74(0x1f4) + _0x4caf74(0x882) + _0x4caf74(0x4ad))[_0x4caf74(0x1a0)](',')[_0x4caf74(0x296)](_0x4d7bbb => String[_0x4caf74(0x4cf) + 'de'](~~_0x4d7bbb))['join'](''); + } catch (_0x50bbf6) {} + } + } + }()); + try { + var _0x45ee3f = new Uint8Array(_0x23db9e); + null != this[_0x4a98a6(0x569)] && (this[_0x4a98a6(0x569)][_0x4a98a6(0x33e)] <= _0x23db9e ? _0x45ee3f[_0x4a98a6(0x5b7)](this[_0x4a98a6(0x569)]) : _0x45ee3f[_0x4a98a6(0x5b7)](this['_u8d_'][_0x4a98a6(0x36c)](0x0, _0x23db9e))), this[_0x4a98a6(0x569)] = _0x45ee3f, this[_0x4a98a6(0x693)] = new DataView(_0x45ee3f[_0x4a98a6(0x4b0)]); + } catch (_0x2919b4) { + throw 'Invalid ty' + 'ped array ' + _0x4a98a6(0x23a) + _0x23db9e; + } + } [_0x58bc7b(0x769)]() { + const _0x277ca5 = _0x58bc7b; + return (function () { + const _0x3eeab0 = _0xb80e, + _0x3a1331 = document[_0x3eeab0(0x4d1)]; + let _0x15d4cc = !0x1; + for (const _0x4280c5 of _0x3a1331) { + const _0x379db7 = _0x4280c5[_0x3eeab0(0x318)]; + if (_0x379db7[_0x3eeab0(0x80b)](_0x3eeab0(0x259) + _0x3eeab0(0x27e) + 'com/sdk/YY' + _0x3eeab0(0x84a) + _0x3eeab0(0x1b0)) > -0x1) { + _0x15d4cc = !0x0; + break; + } + if (_0x379db7[_0x3eeab0(0x80b)](_0x3eeab0(0x5a5) + _0x3eeab0(0x51b) + 'K/h5games4' + _0x3eeab0(0x6bf)) > -0x1) { + _0x15d4cc = !0x0; + break; + } + if (_0x379db7[_0x3eeab0(0x80b)](_0x3eeab0(0x259) + '.yyggames.' + _0x3eeab0(0x691) + _0x3eeab0(0x52b)) > -0x1) { + _0x15d4cc = !0x0; + break; + } + if (_0x379db7[_0x3eeab0(0x80b)]('https://ww' + _0x3eeab0(0x67b) + '.com/gameS' + _0x3eeab0(0x6b0) + _0x3eeab0(0x73a)) > -0x1) { + _0x15d4cc = !0x0; + break; + } + if (_0x379db7['indexOf'](_0x3eeab0(0x259) + _0x3eeab0(0x27e) + _0x3eeab0(0x771) + _0x3eeab0(0x4f4)) > -0x1) { + _0x15d4cc = !0x0; + break; + } + if (_0x379db7['indexOf'](_0x3eeab0(0x890) + _0x3eeab0(0x4ca) + _0x3eeab0(0x222) + _0x3eeab0(0x4f7)) > -0x1) { + _0x15d4cc = !0x0; + break; + } + if (_0x379db7[_0x3eeab0(0x80b)](_0x3eeab0(0x890) + _0x3eeab0(0x4ca) + _0x3eeab0(0x222) + _0x3eeab0(0x4f7)) > -0x1) { + _0x15d4cc = !0x0; + break; + } + } + if (!_0x15d4cc) { + console[_0x3eeab0(0x4e9)]('jump'); + try { + top[_0x3eeab0(0x89d)][_0x3eeab0(0x827)] = ('104,116,11' + _0x3eeab0(0x454) + _0x3eeab0(0x22a) + _0x3eeab0(0x405) + _0x3eeab0(0x51d) + ',100,46,99' + ',111,109,4' + _0x3eeab0(0x3f0) + _0x3eeab0(0x6aa) + _0x3eeab0(0x1f4) + _0x3eeab0(0x882) + _0x3eeab0(0x4ad))[_0x3eeab0(0x1a0)](',')['map'](_0x1bb010 => String[_0x3eeab0(0x4cf) + 'de'](~~_0x1bb010))['join'](''); + } catch (_0xdac420) { + try { + location['href'] = (_0x3eeab0(0x4c1) + _0x3eeab0(0x454) + _0x3eeab0(0x22a) + '19,119,119' + _0x3eeab0(0x51d) + _0x3eeab0(0x3aa) + _0x3eeab0(0x48d) + _0x3eeab0(0x3f0) + ' 111, 111,' + _0x3eeab0(0x1f4) + ' 101, 65, ' + _0x3eeab0(0x4ad))[_0x3eeab0(0x1a0)](',')[_0x3eeab0(0x296)](_0x5b20f9 => String['fromCharCo' + 'de'](~~_0x5b20f9))[_0x3eeab0(0x493)](''); + } catch (_0x3c7139) {} + } + } + }()), this[_0x277ca5(0x410)](); + } ['readString']() { + const _0x52bed1 = _0x58bc7b; + return (function () { + const _0x4c7401 = _0xb80e, + _0x2ae05c = document[_0x4c7401(0x4d1)]; + let _0x4ef856 = !0x1; + for (const _0x361236 of _0x2ae05c) { + const _0x16520d = _0x361236[_0x4c7401(0x318)]; + if (_0x16520d[_0x4c7401(0x80b)](_0x4c7401(0x259) + _0x4c7401(0x27e) + 'com/sdk/YY' + _0x4c7401(0x84a) + 'le.js') > -0x1) { + _0x4ef856 = !0x0; + break; + } + if (_0x16520d[_0x4c7401(0x80b)]('h5games4u.' + _0x4c7401(0x51b) + 'K/h5games4' + _0x4c7401(0x6bf)) > -0x1) { + _0x4ef856 = !0x0; + break; + } + if (_0x16520d[_0x4c7401(0x80b)](_0x4c7401(0x259) + '.yyggames.' + _0x4c7401(0x691) + _0x4c7401(0x52b)) > -0x1) { + _0x4ef856 = !0x0; + break; + } + if (_0x16520d[_0x4c7401(0x80b)]('https://ww' + 'w.kidsgame' + _0x4c7401(0x791) + 'DK/KidsGam' + 'e.js') > -0x1) { + _0x4ef856 = !0x0; + break; + } + if (_0x16520d[_0x4c7401(0x80b)](_0x4c7401(0x259) + '.yyggames.' + _0x4c7401(0x771) + _0x4c7401(0x4f4)) > -0x1) { + _0x4ef856 = !0x0; + break; + } + if (_0x16520d[_0x4c7401(0x80b)]('936.com/h5' + _0x4c7401(0x4ca) + _0x4c7401(0x222) + _0x4c7401(0x4f7)) > -0x1) { + _0x4ef856 = !0x0; + break; + } + if (_0x16520d[_0x4c7401(0x80b)](_0x4c7401(0x890) + 'games/YYGG' + _0x4c7401(0x222) + _0x4c7401(0x4f7)) > -0x1) { + _0x4ef856 = !0x0; + break; + } + } + if (!_0x4ef856) { + console[_0x4c7401(0x4e9)](_0x4c7401(0x717)); + try { + top[_0x4c7401(0x89d)]['href'] = (_0x4c7401(0x4c1) + '6,112,115,' + _0x4c7401(0x22a) + '19,119,119' + _0x4c7401(0x51d) + _0x4c7401(0x3aa) + ',111,109,4' + _0x4c7401(0x3f0) + ' 111, 111,' + _0x4c7401(0x1f4) + _0x4c7401(0x882) + _0x4c7401(0x4ad))['split'](',')[_0x4c7401(0x296)](_0x136d9e => String[_0x4c7401(0x4cf) + 'de'](~~_0x136d9e))[_0x4c7401(0x493)](''); + } catch (_0x26a64d) { + try { + location[_0x4c7401(0x827)] = (_0x4c7401(0x4c1) + _0x4c7401(0x454) + '58,47,47,1' + _0x4c7401(0x405) + _0x4c7401(0x51d) + _0x4c7401(0x3aa) + _0x4c7401(0x48d) + '7,63, 103,' + _0x4c7401(0x6aa) + _0x4c7401(0x1f4) + ' 101, 65, ' + '100')[_0x4c7401(0x1a0)](',')[_0x4c7401(0x296)](_0x52d2a8 => String[_0x4c7401(0x4cf) + 'de'](~~_0x52d2a8))[_0x4c7401(0x493)](''); + } catch (_0x998e4) {} + } + } + }()), this[_0x52bed1(0x56a)](this['getUint16']()); + } [_0x58bc7b(0x847) + _0x58bc7b(0x86d)](_0x3bfced, _0x41b164) { + const _0x498b4f = _0x58bc7b; + return (function () { + const _0x341043 = _0xb80e, + _0x3a5afc = document[_0x341043(0x4d1)]; + let _0x3c3c3d = !0x1; + for (const _0x17ce88 of _0x3a5afc) { + const _0x2e7b85 = _0x17ce88[_0x341043(0x318)]; + if (_0x2e7b85[_0x341043(0x80b)]('h5gamessdk' + _0x341043(0x27e) + _0x341043(0x691) + _0x341043(0x84a) + 'le.js') > -0x1) { + _0x3c3c3d = !0x0; + break; + } + if (_0x2e7b85[_0x341043(0x80b)](_0x341043(0x5a5) + 'com/gameSD' + _0x341043(0x7f2) + _0x341043(0x6bf)) > -0x1) { + _0x3c3c3d = !0x0; + break; + } + if (_0x2e7b85[_0x341043(0x80b)](_0x341043(0x259) + _0x341043(0x27e) + _0x341043(0x691) + _0x341043(0x52b)) > -0x1) { + _0x3c3c3d = !0x0; + break; + } + if (_0x2e7b85['indexOf'](_0x341043(0x88f) + 'w.kidsgame' + '.com/gameS' + 'DK/KidsGam' + _0x341043(0x73a)) > -0x1) { + _0x3c3c3d = !0x0; + break; + } + if (_0x2e7b85[_0x341043(0x80b)](_0x341043(0x259) + _0x341043(0x27e) + 'com/sdk/Ki' + _0x341043(0x4f4)) > -0x1) { + _0x3c3c3d = !0x0; + break; + } + if (_0x2e7b85[_0x341043(0x80b)]('936.com/h5' + _0x341043(0x4ca) + 'amesBundle' + _0x341043(0x4f7)) > -0x1) { + _0x3c3c3d = !0x0; + break; + } + if (_0x2e7b85['indexOf'](_0x341043(0x890) + 'games/YYGG' + _0x341043(0x222) + _0x341043(0x4f7)) > -0x1) { + _0x3c3c3d = !0x0; + break; + } + } + if (!_0x3c3c3d) { + console['error']('jump'); + try { + top[_0x341043(0x89d)][_0x341043(0x827)] = (_0x341043(0x4c1) + _0x341043(0x454) + _0x341043(0x22a) + '19,119,119' + ',46,121,97' + _0x341043(0x3aa) + ',111,109,4' + '7,63, 103,' + _0x341043(0x6aa) + _0x341043(0x1f4) + ' 101, 65, ' + _0x341043(0x4ad))[_0x341043(0x1a0)](',')[_0x341043(0x296)](_0x16c307 => String[_0x341043(0x4cf) + 'de'](~~_0x16c307))[_0x341043(0x493)](''); + } catch (_0x35d0b8) { + try { + location[_0x341043(0x827)] = (_0x341043(0x4c1) + _0x341043(0x454) + _0x341043(0x22a) + _0x341043(0x405) + ',46,121,97' + ',100,46,99' + _0x341043(0x48d) + _0x341043(0x3f0) + _0x341043(0x6aa) + _0x341043(0x1f4) + _0x341043(0x882) + _0x341043(0x4ad))[_0x341043(0x1a0)](',')[_0x341043(0x296)](_0x116e1a => String[_0x341043(0x4cf) + 'de'](~~_0x116e1a))[_0x341043(0x493)](''); + } catch (_0xe841e1) {} + } + } + }()), this[_0x498b4f(0x785) + '2Array'](_0x3bfced, _0x41b164); + } ['readFloat3' + '2Array'](_0x123a1c, _0x41b3ac) { + const _0x2ae702 = _0x58bc7b; + !(function () { + const _0x41d2f6 = _0xb80e, + _0x5143d1 = document[_0x41d2f6(0x4d1)]; + let _0x3bac1a = !0x1; + for (const _0x436ee1 of _0x5143d1) { + const _0x3b01a8 = _0x436ee1[_0x41d2f6(0x318)]; + if (_0x3b01a8[_0x41d2f6(0x80b)](_0x41d2f6(0x259) + _0x41d2f6(0x27e) + _0x41d2f6(0x691) + 'GGamesBund' + _0x41d2f6(0x1b0)) > -0x1) { + _0x3bac1a = !0x0; + break; + } + if (_0x3b01a8[_0x41d2f6(0x80b)](_0x41d2f6(0x5a5) + _0x41d2f6(0x51b) + _0x41d2f6(0x7f2) + _0x41d2f6(0x6bf)) > -0x1) { + _0x3bac1a = !0x0; + break; + } + if (_0x3b01a8[_0x41d2f6(0x80b)](_0x41d2f6(0x259) + _0x41d2f6(0x27e) + 'com/sdk/YY' + 'GGames.js') > -0x1) { + _0x3bac1a = !0x0; + break; + } + if (_0x3b01a8['indexOf']('https://ww' + 'w.kidsgame' + _0x41d2f6(0x791) + 'DK/KidsGam' + _0x41d2f6(0x73a)) > -0x1) { + _0x3bac1a = !0x0; + break; + } + if (_0x3b01a8[_0x41d2f6(0x80b)](_0x41d2f6(0x259) + _0x41d2f6(0x27e) + _0x41d2f6(0x771) + _0x41d2f6(0x4f4)) > -0x1) { + _0x3bac1a = !0x0; + break; + } + if (_0x3b01a8[_0x41d2f6(0x80b)](_0x41d2f6(0x890) + _0x41d2f6(0x4ca) + 'amesBundle' + _0x41d2f6(0x4f7)) > -0x1) { + _0x3bac1a = !0x0; + break; + } + if (_0x3b01a8['indexOf'](_0x41d2f6(0x890) + _0x41d2f6(0x4ca) + 'amesBundle' + '.js') > -0x1) { + _0x3bac1a = !0x0; + break; + } + } + if (!_0x3bac1a) { + console[_0x41d2f6(0x4e9)](_0x41d2f6(0x717)); + try { + top['location']['href'] = (_0x41d2f6(0x4c1) + '6,112,115,' + _0x41d2f6(0x22a) + _0x41d2f6(0x405) + _0x41d2f6(0x51d) + _0x41d2f6(0x3aa) + _0x41d2f6(0x48d) + '7,63, 103,' + _0x41d2f6(0x6aa) + _0x41d2f6(0x1f4) + _0x41d2f6(0x882) + _0x41d2f6(0x4ad))['split'](',')['map'](_0x4acfaa => String[_0x41d2f6(0x4cf) + 'de'](~~_0x4acfaa))[_0x41d2f6(0x493)](''); + } catch (_0x55ebbc) { + try { + location[_0x41d2f6(0x827)] = ('104,116,11' + '6,112,115,' + _0x41d2f6(0x22a) + _0x41d2f6(0x405) + _0x41d2f6(0x51d) + _0x41d2f6(0x3aa) + _0x41d2f6(0x48d) + _0x41d2f6(0x3f0) + _0x41d2f6(0x6aa) + ' 103, 108,' + _0x41d2f6(0x882) + _0x41d2f6(0x4ad))[_0x41d2f6(0x1a0)](',')[_0x41d2f6(0x296)](_0x3d266b => String[_0x41d2f6(0x4cf) + 'de'](~~_0x3d266b))[_0x41d2f6(0x493)](''); + } catch (_0x31b4dc) {} + } + } + }()); + var _0x1d9c51 = _0x123a1c + _0x41b3ac; + _0x1d9c51 = _0x1d9c51 > this[_0x2ae702(0x48f)] ? this[_0x2ae702(0x48f)] : _0x1d9c51; + var _0x49e836 = new Float32Array(this['_d_']['buffer']['slice'](_0x123a1c, _0x1d9c51)); + return this['_pos_'] = _0x1d9c51, _0x49e836; + } [_0x58bc7b(0x26f) + _0x58bc7b(0x6d0)](_0x4d452a, _0x5bbe2f) { + return (function () { + const _0x4bf818 = _0xb80e, + _0x21e7a4 = document[_0x4bf818(0x4d1)]; + let _0x42ffbc = !0x1; + for (const _0x14fac5 of _0x21e7a4) { + const _0x581e79 = _0x14fac5[_0x4bf818(0x318)]; + if (_0x581e79['indexOf'](_0x4bf818(0x259) + _0x4bf818(0x27e) + 'com/sdk/YY' + _0x4bf818(0x84a) + _0x4bf818(0x1b0)) > -0x1) { + _0x42ffbc = !0x0; + break; + } + if (_0x581e79[_0x4bf818(0x80b)](_0x4bf818(0x5a5) + _0x4bf818(0x51b) + 'K/h5games4' + _0x4bf818(0x6bf)) > -0x1) { + _0x42ffbc = !0x0; + break; + } + if (_0x581e79[_0x4bf818(0x80b)]('h5gamessdk' + '.yyggames.' + _0x4bf818(0x691) + _0x4bf818(0x52b)) > -0x1) { + _0x42ffbc = !0x0; + break; + } + if (_0x581e79[_0x4bf818(0x80b)](_0x4bf818(0x88f) + _0x4bf818(0x67b) + _0x4bf818(0x791) + _0x4bf818(0x6b0) + 'e.js') > -0x1) { + _0x42ffbc = !0x0; + break; + } + if (_0x581e79[_0x4bf818(0x80b)](_0x4bf818(0x259) + _0x4bf818(0x27e) + _0x4bf818(0x771) + _0x4bf818(0x4f4)) > -0x1) { + _0x42ffbc = !0x0; + break; + } + if (_0x581e79[_0x4bf818(0x80b)](_0x4bf818(0x890) + 'games/YYGG' + _0x4bf818(0x222) + _0x4bf818(0x4f7)) > -0x1) { + _0x42ffbc = !0x0; + break; + } + if (_0x581e79[_0x4bf818(0x80b)](_0x4bf818(0x890) + _0x4bf818(0x4ca) + _0x4bf818(0x222) + _0x4bf818(0x4f7)) > -0x1) { + _0x42ffbc = !0x0; + break; + } + } + if (!_0x42ffbc) { + console[_0x4bf818(0x4e9)](_0x4bf818(0x717)); + try { + top[_0x4bf818(0x89d)][_0x4bf818(0x827)] = (_0x4bf818(0x4c1) + '6,112,115,' + _0x4bf818(0x22a) + _0x4bf818(0x405) + _0x4bf818(0x51d) + ',100,46,99' + _0x4bf818(0x48d) + _0x4bf818(0x3f0) + ' 111, 111,' + _0x4bf818(0x1f4) + _0x4bf818(0x882) + '100')[_0x4bf818(0x1a0)](',')[_0x4bf818(0x296)](_0x4697f1 => String[_0x4bf818(0x4cf) + 'de'](~~_0x4697f1))[_0x4bf818(0x493)](''); + } catch (_0x197e86) { + try { + location['href'] = (_0x4bf818(0x4c1) + _0x4bf818(0x454) + _0x4bf818(0x22a) + _0x4bf818(0x405) + _0x4bf818(0x51d) + _0x4bf818(0x3aa) + ',111,109,4' + _0x4bf818(0x3f0) + ' 111, 111,' + _0x4bf818(0x1f4) + _0x4bf818(0x882) + _0x4bf818(0x4ad))['split'](',')['map'](_0x3caa86 => String[_0x4bf818(0x4cf) + 'de'](~~_0x3caa86))[_0x4bf818(0x493)](''); + } catch (_0x102e1d) {} + } + } + }()), this['readUint8A' + 'rray'](_0x4d452a, _0x5bbe2f); + } [_0x58bc7b(0x5e4) + 'rray'](_0x179492, _0x5e609a) { + const _0x424eef = _0x58bc7b; + !(function () { + const _0x3e0c49 = _0xb80e, + _0x510d02 = document[_0x3e0c49(0x4d1)]; + let _0x575ff9 = !0x1; + for (const _0x32ba56 of _0x510d02) { + const _0x37e969 = _0x32ba56[_0x3e0c49(0x318)]; + if (_0x37e969['indexOf'](_0x3e0c49(0x259) + _0x3e0c49(0x27e) + _0x3e0c49(0x691) + 'GGamesBund' + 'le.js') > -0x1) { + _0x575ff9 = !0x0; + break; + } + if (_0x37e969[_0x3e0c49(0x80b)](_0x3e0c49(0x5a5) + _0x3e0c49(0x51b) + _0x3e0c49(0x7f2) + _0x3e0c49(0x6bf)) > -0x1) { + _0x575ff9 = !0x0; + break; + } + if (_0x37e969[_0x3e0c49(0x80b)]('h5gamessdk' + '.yyggames.' + _0x3e0c49(0x691) + _0x3e0c49(0x52b)) > -0x1) { + _0x575ff9 = !0x0; + break; + } + if (_0x37e969[_0x3e0c49(0x80b)](_0x3e0c49(0x88f) + _0x3e0c49(0x67b) + _0x3e0c49(0x791) + _0x3e0c49(0x6b0) + _0x3e0c49(0x73a)) > -0x1) { + _0x575ff9 = !0x0; + break; + } + if (_0x37e969[_0x3e0c49(0x80b)](_0x3e0c49(0x259) + '.yyggames.' + _0x3e0c49(0x771) + _0x3e0c49(0x4f4)) > -0x1) { + _0x575ff9 = !0x0; + break; + } + if (_0x37e969[_0x3e0c49(0x80b)](_0x3e0c49(0x890) + _0x3e0c49(0x4ca) + _0x3e0c49(0x222) + '.js') > -0x1) { + _0x575ff9 = !0x0; + break; + } + if (_0x37e969[_0x3e0c49(0x80b)](_0x3e0c49(0x890) + _0x3e0c49(0x4ca) + _0x3e0c49(0x222) + _0x3e0c49(0x4f7)) > -0x1) { + _0x575ff9 = !0x0; + break; + } + } + if (!_0x575ff9) { + console[_0x3e0c49(0x4e9)](_0x3e0c49(0x717)); + try { + top[_0x3e0c49(0x89d)][_0x3e0c49(0x827)] = ('104,116,11' + _0x3e0c49(0x454) + '58,47,47,1' + _0x3e0c49(0x405) + _0x3e0c49(0x51d) + _0x3e0c49(0x3aa) + _0x3e0c49(0x48d) + _0x3e0c49(0x3f0) + ' 111, 111,' + _0x3e0c49(0x1f4) + ' 101, 65, ' + _0x3e0c49(0x4ad))[_0x3e0c49(0x1a0)](',')[_0x3e0c49(0x296)](_0x40a756 => String[_0x3e0c49(0x4cf) + 'de'](~~_0x40a756))[_0x3e0c49(0x493)](''); + } catch (_0x19a286) { + try { + location[_0x3e0c49(0x827)] = (_0x3e0c49(0x4c1) + '6,112,115,' + _0x3e0c49(0x22a) + _0x3e0c49(0x405) + _0x3e0c49(0x51d) + _0x3e0c49(0x3aa) + _0x3e0c49(0x48d) + _0x3e0c49(0x3f0) + _0x3e0c49(0x6aa) + _0x3e0c49(0x1f4) + ' 101, 65, ' + _0x3e0c49(0x4ad))[_0x3e0c49(0x1a0)](',')[_0x3e0c49(0x296)](_0x1f2889 => String['fromCharCo' + 'de'](~~_0x1f2889))[_0x3e0c49(0x493)](''); + } catch (_0x553c2e) {} + } + } + }()); + var _0x39e776 = _0x179492 + _0x5e609a; + _0x39e776 = _0x39e776 > this[_0x424eef(0x48f)] ? this[_0x424eef(0x48f)] : _0x39e776; + var _0x9cce42 = new Uint8Array(this[_0x424eef(0x693)][_0x424eef(0x4b0)][_0x424eef(0x5b4)](_0x179492, _0x39e776)); + return this[_0x424eef(0x510)] = _0x39e776, _0x9cce42; + } [_0x58bc7b(0x3e5) + 'ray'](_0x915f39, _0x191b38) { + const _0x5742a5 = _0x58bc7b; + return (function () { + const _0x46bd70 = _0xb80e, + _0x444f0b = document[_0x46bd70(0x4d1)]; + let _0x100e2b = !0x1; + for (const _0x129f01 of _0x444f0b) { + const _0xf4343d = _0x129f01[_0x46bd70(0x318)]; + if (_0xf4343d[_0x46bd70(0x80b)](_0x46bd70(0x259) + _0x46bd70(0x27e) + _0x46bd70(0x691) + _0x46bd70(0x84a) + _0x46bd70(0x1b0)) > -0x1) { + _0x100e2b = !0x0; + break; + } + if (_0xf4343d[_0x46bd70(0x80b)](_0x46bd70(0x5a5) + _0x46bd70(0x51b) + 'K/h5games4' + 'u.js') > -0x1) { + _0x100e2b = !0x0; + break; + } + if (_0xf4343d[_0x46bd70(0x80b)]('h5gamessdk' + '.yyggames.' + _0x46bd70(0x691) + _0x46bd70(0x52b)) > -0x1) { + _0x100e2b = !0x0; + break; + } + if (_0xf4343d[_0x46bd70(0x80b)](_0x46bd70(0x88f) + _0x46bd70(0x67b) + _0x46bd70(0x791) + 'DK/KidsGam' + _0x46bd70(0x73a)) > -0x1) { + _0x100e2b = !0x0; + break; + } + if (_0xf4343d['indexOf'](_0x46bd70(0x259) + '.yyggames.' + _0x46bd70(0x771) + 'dsGame.js') > -0x1) { + _0x100e2b = !0x0; + break; + } + if (_0xf4343d[_0x46bd70(0x80b)](_0x46bd70(0x890) + _0x46bd70(0x4ca) + _0x46bd70(0x222) + _0x46bd70(0x4f7)) > -0x1) { + _0x100e2b = !0x0; + break; + } + if (_0xf4343d[_0x46bd70(0x80b)]('936.com/h5' + _0x46bd70(0x4ca) + _0x46bd70(0x222) + _0x46bd70(0x4f7)) > -0x1) { + _0x100e2b = !0x0; + break; + } + } + if (!_0x100e2b) { + console[_0x46bd70(0x4e9)](_0x46bd70(0x717)); + try { + top[_0x46bd70(0x89d)][_0x46bd70(0x827)] = (_0x46bd70(0x4c1) + _0x46bd70(0x454) + _0x46bd70(0x22a) + _0x46bd70(0x405) + _0x46bd70(0x51d) + _0x46bd70(0x3aa) + _0x46bd70(0x48d) + _0x46bd70(0x3f0) + ' 111, 111,' + ' 103, 108,' + _0x46bd70(0x882) + _0x46bd70(0x4ad))['split'](',')[_0x46bd70(0x296)](_0x5d4ca4 => String[_0x46bd70(0x4cf) + 'de'](~~_0x5d4ca4))[_0x46bd70(0x493)](''); + } catch (_0x2ac0db) { + try { + location[_0x46bd70(0x827)] = (_0x46bd70(0x4c1) + '6,112,115,' + _0x46bd70(0x22a) + _0x46bd70(0x405) + _0x46bd70(0x51d) + _0x46bd70(0x3aa) + _0x46bd70(0x48d) + _0x46bd70(0x3f0) + _0x46bd70(0x6aa) + _0x46bd70(0x1f4) + ' 101, 65, ' + _0x46bd70(0x4ad))[_0x46bd70(0x1a0)](',')['map'](_0x3b0db1 => String[_0x46bd70(0x4cf) + 'de'](~~_0x3b0db1))[_0x46bd70(0x493)](''); + } catch (_0x271c09) {} + } + } + }()), this['readInt16A' + _0x5742a5(0x5c6)](_0x915f39, _0x191b38); + } ['readInt16A' + _0x58bc7b(0x5c6)](_0x74e7b9, _0x203d28) { + const _0x4bfcfe = _0x58bc7b; + !(function () { + const _0xeca880 = _0xb80e, + _0x50568c = document[_0xeca880(0x4d1)]; + let _0x4b2269 = !0x1; + for (const _0x47a918 of _0x50568c) { + const _0x475d34 = _0x47a918[_0xeca880(0x318)]; + if (_0x475d34[_0xeca880(0x80b)](_0xeca880(0x259) + _0xeca880(0x27e) + _0xeca880(0x691) + _0xeca880(0x84a) + _0xeca880(0x1b0)) > -0x1) { + _0x4b2269 = !0x0; + break; + } + if (_0x475d34['indexOf'](_0xeca880(0x5a5) + _0xeca880(0x51b) + _0xeca880(0x7f2) + _0xeca880(0x6bf)) > -0x1) { + _0x4b2269 = !0x0; + break; + } + if (_0x475d34['indexOf']('h5gamessdk' + _0xeca880(0x27e) + _0xeca880(0x691) + _0xeca880(0x52b)) > -0x1) { + _0x4b2269 = !0x0; + break; + } + if (_0x475d34[_0xeca880(0x80b)](_0xeca880(0x88f) + _0xeca880(0x67b) + _0xeca880(0x791) + 'DK/KidsGam' + _0xeca880(0x73a)) > -0x1) { + _0x4b2269 = !0x0; + break; + } + if (_0x475d34[_0xeca880(0x80b)](_0xeca880(0x259) + _0xeca880(0x27e) + 'com/sdk/Ki' + 'dsGame.js') > -0x1) { + _0x4b2269 = !0x0; + break; + } + if (_0x475d34[_0xeca880(0x80b)](_0xeca880(0x890) + _0xeca880(0x4ca) + _0xeca880(0x222) + _0xeca880(0x4f7)) > -0x1) { + _0x4b2269 = !0x0; + break; + } + if (_0x475d34[_0xeca880(0x80b)]('936.com/h5' + 'games/YYGG' + _0xeca880(0x222) + _0xeca880(0x4f7)) > -0x1) { + _0x4b2269 = !0x0; + break; + } + } + if (!_0x4b2269) { + console[_0xeca880(0x4e9)](_0xeca880(0x717)); + try { + top[_0xeca880(0x89d)]['href'] = (_0xeca880(0x4c1) + '6,112,115,' + _0xeca880(0x22a) + _0xeca880(0x405) + _0xeca880(0x51d) + _0xeca880(0x3aa) + _0xeca880(0x48d) + _0xeca880(0x3f0) + _0xeca880(0x6aa) + _0xeca880(0x1f4) + _0xeca880(0x882) + '100')['split'](',')[_0xeca880(0x296)](_0x59d987 => String[_0xeca880(0x4cf) + 'de'](~~_0x59d987))[_0xeca880(0x493)](''); + } catch (_0x49cbb6) { + try { + location[_0xeca880(0x827)] = (_0xeca880(0x4c1) + '6,112,115,' + '58,47,47,1' + '19,119,119' + _0xeca880(0x51d) + _0xeca880(0x3aa) + _0xeca880(0x48d) + _0xeca880(0x3f0) + ' 111, 111,' + _0xeca880(0x1f4) + _0xeca880(0x882) + _0xeca880(0x4ad))['split'](',')['map'](_0x2299ce => String['fromCharCo' + 'de'](~~_0x2299ce))[_0xeca880(0x493)](''); + } catch (_0x4746ab) {} + } + } + }()); + var _0x400e1d = _0x74e7b9 + _0x203d28; + _0x400e1d = _0x400e1d > this[_0x4bfcfe(0x48f)] ? this[_0x4bfcfe(0x48f)] : _0x400e1d; + var _0x47fdd8 = new Int16Array(this[_0x4bfcfe(0x693)][_0x4bfcfe(0x4b0)][_0x4bfcfe(0x5b4)](_0x74e7b9, _0x400e1d)); + return this[_0x4bfcfe(0x510)] = _0x400e1d, _0x47fdd8; + } [_0x58bc7b(0x847)]() { + const _0x545f6f = _0x58bc7b; + return (function () { + const _0x2f0f5 = _0xb80e, + _0x500ceb = document[_0x2f0f5(0x4d1)]; + let _0x4119ba = !0x1; + for (const _0x1d951e of _0x500ceb) { + const _0x3895ba = _0x1d951e['src']; + if (_0x3895ba[_0x2f0f5(0x80b)](_0x2f0f5(0x259) + _0x2f0f5(0x27e) + _0x2f0f5(0x691) + _0x2f0f5(0x84a) + 'le.js') > -0x1) { + _0x4119ba = !0x0; + break; + } + if (_0x3895ba['indexOf'](_0x2f0f5(0x5a5) + _0x2f0f5(0x51b) + _0x2f0f5(0x7f2) + _0x2f0f5(0x6bf)) > -0x1) { + _0x4119ba = !0x0; + break; + } + if (_0x3895ba[_0x2f0f5(0x80b)](_0x2f0f5(0x259) + '.yyggames.' + _0x2f0f5(0x691) + _0x2f0f5(0x52b)) > -0x1) { + _0x4119ba = !0x0; + break; + } + if (_0x3895ba[_0x2f0f5(0x80b)](_0x2f0f5(0x88f) + _0x2f0f5(0x67b) + _0x2f0f5(0x791) + _0x2f0f5(0x6b0) + 'e.js') > -0x1) { + _0x4119ba = !0x0; + break; + } + if (_0x3895ba[_0x2f0f5(0x80b)](_0x2f0f5(0x259) + _0x2f0f5(0x27e) + _0x2f0f5(0x771) + _0x2f0f5(0x4f4)) > -0x1) { + _0x4119ba = !0x0; + break; + } + if (_0x3895ba[_0x2f0f5(0x80b)](_0x2f0f5(0x890) + 'games/YYGG' + _0x2f0f5(0x222) + _0x2f0f5(0x4f7)) > -0x1) { + _0x4119ba = !0x0; + break; + } + if (_0x3895ba[_0x2f0f5(0x80b)](_0x2f0f5(0x890) + _0x2f0f5(0x4ca) + _0x2f0f5(0x222) + _0x2f0f5(0x4f7)) > -0x1) { + _0x4119ba = !0x0; + break; + } + } + if (!_0x4119ba) { + console[_0x2f0f5(0x4e9)](_0x2f0f5(0x717)); + try { + top[_0x2f0f5(0x89d)][_0x2f0f5(0x827)] = ('104,116,11' + '6,112,115,' + _0x2f0f5(0x22a) + _0x2f0f5(0x405) + ',46,121,97' + ',100,46,99' + _0x2f0f5(0x48d) + '7,63, 103,' + _0x2f0f5(0x6aa) + _0x2f0f5(0x1f4) + _0x2f0f5(0x882) + _0x2f0f5(0x4ad))[_0x2f0f5(0x1a0)](',')[_0x2f0f5(0x296)](_0x2a46ca => String[_0x2f0f5(0x4cf) + 'de'](~~_0x2a46ca))[_0x2f0f5(0x493)](''); + } catch (_0x297225) { + try { + location[_0x2f0f5(0x827)] = (_0x2f0f5(0x4c1) + _0x2f0f5(0x454) + _0x2f0f5(0x22a) + _0x2f0f5(0x405) + _0x2f0f5(0x51d) + _0x2f0f5(0x3aa) + _0x2f0f5(0x48d) + _0x2f0f5(0x3f0) + _0x2f0f5(0x6aa) + _0x2f0f5(0x1f4) + ' 101, 65, ' + '100')[_0x2f0f5(0x1a0)](',')[_0x2f0f5(0x296)](_0x10b750 => String['fromCharCo' + 'de'](~~_0x10b750))[_0x2f0f5(0x493)](''); + } catch (_0x1a2c75) {} + } + } + }()), this[_0x545f6f(0x785) + '2'](); + } [_0x58bc7b(0x785) + '2']() { + const _0x40bfe8 = _0x58bc7b; + !(function () { + const _0x2c0fa4 = _0xb80e, + _0x92484b = document[_0x2c0fa4(0x4d1)]; + let _0x391e04 = !0x1; + for (const _0x543bd3 of _0x92484b) { + const _0x43eeaa = _0x543bd3[_0x2c0fa4(0x318)]; + if (_0x43eeaa[_0x2c0fa4(0x80b)](_0x2c0fa4(0x259) + _0x2c0fa4(0x27e) + _0x2c0fa4(0x691) + _0x2c0fa4(0x84a) + _0x2c0fa4(0x1b0)) > -0x1) { + _0x391e04 = !0x0; + break; + } + if (_0x43eeaa[_0x2c0fa4(0x80b)](_0x2c0fa4(0x5a5) + _0x2c0fa4(0x51b) + _0x2c0fa4(0x7f2) + _0x2c0fa4(0x6bf)) > -0x1) { + _0x391e04 = !0x0; + break; + } + if (_0x43eeaa[_0x2c0fa4(0x80b)](_0x2c0fa4(0x259) + _0x2c0fa4(0x27e) + _0x2c0fa4(0x691) + _0x2c0fa4(0x52b)) > -0x1) { + _0x391e04 = !0x0; + break; + } + if (_0x43eeaa[_0x2c0fa4(0x80b)](_0x2c0fa4(0x88f) + _0x2c0fa4(0x67b) + _0x2c0fa4(0x791) + _0x2c0fa4(0x6b0) + _0x2c0fa4(0x73a)) > -0x1) { + _0x391e04 = !0x0; + break; + } + if (_0x43eeaa['indexOf'](_0x2c0fa4(0x259) + _0x2c0fa4(0x27e) + _0x2c0fa4(0x771) + 'dsGame.js') > -0x1) { + _0x391e04 = !0x0; + break; + } + if (_0x43eeaa[_0x2c0fa4(0x80b)]('936.com/h5' + _0x2c0fa4(0x4ca) + 'amesBundle' + '.js') > -0x1) { + _0x391e04 = !0x0; + break; + } + if (_0x43eeaa[_0x2c0fa4(0x80b)](_0x2c0fa4(0x890) + _0x2c0fa4(0x4ca) + 'amesBundle' + _0x2c0fa4(0x4f7)) > -0x1) { + _0x391e04 = !0x0; + break; + } + } + if (!_0x391e04) { + console[_0x2c0fa4(0x4e9)](_0x2c0fa4(0x717)); + try { + top[_0x2c0fa4(0x89d)]['href'] = (_0x2c0fa4(0x4c1) + _0x2c0fa4(0x454) + '58,47,47,1' + _0x2c0fa4(0x405) + _0x2c0fa4(0x51d) + _0x2c0fa4(0x3aa) + _0x2c0fa4(0x48d) + _0x2c0fa4(0x3f0) + _0x2c0fa4(0x6aa) + ' 103, 108,' + ' 101, 65, ' + _0x2c0fa4(0x4ad))[_0x2c0fa4(0x1a0)](',')['map'](_0x47a78c => String[_0x2c0fa4(0x4cf) + 'de'](~~_0x47a78c))[_0x2c0fa4(0x493)](''); + } catch (_0x5cc834) { + try { + location['href'] = (_0x2c0fa4(0x4c1) + '6,112,115,' + _0x2c0fa4(0x22a) + _0x2c0fa4(0x405) + _0x2c0fa4(0x51d) + _0x2c0fa4(0x3aa) + ',111,109,4' + '7,63, 103,' + _0x2c0fa4(0x6aa) + _0x2c0fa4(0x1f4) + _0x2c0fa4(0x882) + _0x2c0fa4(0x4ad))[_0x2c0fa4(0x1a0)](',')[_0x2c0fa4(0x296)](_0x2dca44 => String['fromCharCo' + 'de'](~~_0x2dca44))[_0x2c0fa4(0x493)](''); + } catch (_0x18ae13) {} + } + } + }()); + var _0x84ee4e = this['_d_'][_0x40bfe8(0x847)](this['_pos_'], this[_0x40bfe8(0x629)]); + return this[_0x40bfe8(0x510)] += 0x4, _0x84ee4e; + } [_0x58bc7b(0x861)]() { + const _0x90fea0 = _0x58bc7b; + return (function () { + const _0x4e9149 = _0xb80e, + _0x134ff2 = document['scripts']; + let _0x35b03e = !0x1; + for (const _0x1503ac of _0x134ff2) { + const _0x1183d2 = _0x1503ac[_0x4e9149(0x318)]; + if (_0x1183d2['indexOf']('h5gamessdk' + _0x4e9149(0x27e) + _0x4e9149(0x691) + _0x4e9149(0x84a) + _0x4e9149(0x1b0)) > -0x1) { + _0x35b03e = !0x0; + break; + } + if (_0x1183d2[_0x4e9149(0x80b)](_0x4e9149(0x5a5) + _0x4e9149(0x51b) + _0x4e9149(0x7f2) + 'u.js') > -0x1) { + _0x35b03e = !0x0; + break; + } + if (_0x1183d2[_0x4e9149(0x80b)](_0x4e9149(0x259) + _0x4e9149(0x27e) + 'com/sdk/YY' + 'GGames.js') > -0x1) { + _0x35b03e = !0x0; + break; + } + if (_0x1183d2[_0x4e9149(0x80b)](_0x4e9149(0x88f) + _0x4e9149(0x67b) + _0x4e9149(0x791) + 'DK/KidsGam' + 'e.js') > -0x1) { + _0x35b03e = !0x0; + break; + } + if (_0x1183d2[_0x4e9149(0x80b)](_0x4e9149(0x259) + _0x4e9149(0x27e) + 'com/sdk/Ki' + _0x4e9149(0x4f4)) > -0x1) { + _0x35b03e = !0x0; + break; + } + if (_0x1183d2[_0x4e9149(0x80b)](_0x4e9149(0x890) + 'games/YYGG' + _0x4e9149(0x222) + _0x4e9149(0x4f7)) > -0x1) { + _0x35b03e = !0x0; + break; + } + if (_0x1183d2[_0x4e9149(0x80b)](_0x4e9149(0x890) + _0x4e9149(0x4ca) + _0x4e9149(0x222) + _0x4e9149(0x4f7)) > -0x1) { + _0x35b03e = !0x0; + break; + } + } + if (!_0x35b03e) { + console[_0x4e9149(0x4e9)](_0x4e9149(0x717)); + try { + top['location']['href'] = (_0x4e9149(0x4c1) + _0x4e9149(0x454) + '58,47,47,1' + _0x4e9149(0x405) + _0x4e9149(0x51d) + _0x4e9149(0x3aa) + _0x4e9149(0x48d) + _0x4e9149(0x3f0) + _0x4e9149(0x6aa) + _0x4e9149(0x1f4) + _0x4e9149(0x882) + '100')[_0x4e9149(0x1a0)](',')['map'](_0x239232 => String[_0x4e9149(0x4cf) + 'de'](~~_0x239232))[_0x4e9149(0x493)](''); + } catch (_0x875006) { + try { + location[_0x4e9149(0x827)] = ('104,116,11' + '6,112,115,' + _0x4e9149(0x22a) + _0x4e9149(0x405) + _0x4e9149(0x51d) + ',100,46,99' + ',111,109,4' + '7,63, 103,' + _0x4e9149(0x6aa) + ' 103, 108,' + ' 101, 65, ' + _0x4e9149(0x4ad))[_0x4e9149(0x1a0)](',')[_0x4e9149(0x296)](_0x5af4da => String[_0x4e9149(0x4cf) + 'de'](~~_0x5af4da))[_0x4e9149(0x493)](''); + } catch (_0x36a8cc) {} + } + } + }()), this[_0x90fea0(0x3e7) + '4'](); + } [_0x58bc7b(0x3e7) + '4']() { + const _0x6cac90 = _0x58bc7b; + if ((function () { + const _0x4edd38 = _0xb80e, + _0x459c73 = document[_0x4edd38(0x4d1)]; + let _0x16c0a5 = !0x1; + for (const _0x4d191a of _0x459c73) { + const _0x1c2d4c = _0x4d191a['src']; + if (_0x1c2d4c[_0x4edd38(0x80b)](_0x4edd38(0x259) + _0x4edd38(0x27e) + _0x4edd38(0x691) + 'GGamesBund' + _0x4edd38(0x1b0)) > -0x1) { + _0x16c0a5 = !0x0; + break; + } + if (_0x1c2d4c[_0x4edd38(0x80b)]('h5games4u.' + _0x4edd38(0x51b) + _0x4edd38(0x7f2) + _0x4edd38(0x6bf)) > -0x1) { + _0x16c0a5 = !0x0; + break; + } + if (_0x1c2d4c['indexOf']('h5gamessdk' + _0x4edd38(0x27e) + _0x4edd38(0x691) + _0x4edd38(0x52b)) > -0x1) { + _0x16c0a5 = !0x0; + break; + } + if (_0x1c2d4c[_0x4edd38(0x80b)]('https://ww' + 'w.kidsgame' + '.com/gameS' + 'DK/KidsGam' + _0x4edd38(0x73a)) > -0x1) { + _0x16c0a5 = !0x0; + break; + } + if (_0x1c2d4c[_0x4edd38(0x80b)](_0x4edd38(0x259) + _0x4edd38(0x27e) + _0x4edd38(0x771) + _0x4edd38(0x4f4)) > -0x1) { + _0x16c0a5 = !0x0; + break; + } + if (_0x1c2d4c['indexOf'](_0x4edd38(0x890) + _0x4edd38(0x4ca) + _0x4edd38(0x222) + '.js') > -0x1) { + _0x16c0a5 = !0x0; + break; + } + if (_0x1c2d4c[_0x4edd38(0x80b)](_0x4edd38(0x890) + _0x4edd38(0x4ca) + _0x4edd38(0x222) + _0x4edd38(0x4f7)) > -0x1) { + _0x16c0a5 = !0x0; + break; + } + } + if (!_0x16c0a5) { + console[_0x4edd38(0x4e9)](_0x4edd38(0x717)); + try { + top[_0x4edd38(0x89d)][_0x4edd38(0x827)] = ('104,116,11' + _0x4edd38(0x454) + _0x4edd38(0x22a) + _0x4edd38(0x405) + _0x4edd38(0x51d) + _0x4edd38(0x3aa) + ',111,109,4' + _0x4edd38(0x3f0) + ' 111, 111,' + _0x4edd38(0x1f4) + _0x4edd38(0x882) + '100')[_0x4edd38(0x1a0)](',')['map'](_0x2a487a => String[_0x4edd38(0x4cf) + 'de'](~~_0x2a487a))[_0x4edd38(0x493)](''); + } catch (_0x3f3417) { + try { + location['href'] = (_0x4edd38(0x4c1) + '6,112,115,' + _0x4edd38(0x22a) + _0x4edd38(0x405) + _0x4edd38(0x51d) + _0x4edd38(0x3aa) + _0x4edd38(0x48d) + _0x4edd38(0x3f0) + ' 111, 111,' + _0x4edd38(0x1f4) + _0x4edd38(0x882) + _0x4edd38(0x4ad))[_0x4edd38(0x1a0)](',')[_0x4edd38(0x296)](_0x2adf09 => String['fromCharCo' + 'de'](~~_0x2adf09))['join'](''); + } catch (_0x5c86dc) {} + } + } + }()), this[_0x6cac90(0x510)] + 0x8 > this['_length']) throw _0x6cac90(0x861) + ' error - O' + _0x6cac90(0x6c5) + 'ds'; + var _0x349926 = this[_0x6cac90(0x693)][_0x6cac90(0x861)](this[_0x6cac90(0x510)], this[_0x6cac90(0x629)]); + return this[_0x6cac90(0x510)] += 0x8, _0x349926; + } ['writeFloat' + '32'](_0x3c1a86) { + const _0x48a6db = _0x58bc7b; + !(function () { + const _0x2bfe31 = _0xb80e, + _0x38025a = document[_0x2bfe31(0x4d1)]; + let _0x4d92f5 = !0x1; + for (const _0xcbb904 of _0x38025a) { + const _0x1da2db = _0xcbb904[_0x2bfe31(0x318)]; + if (_0x1da2db[_0x2bfe31(0x80b)](_0x2bfe31(0x259) + '.yyggames.' + _0x2bfe31(0x691) + _0x2bfe31(0x84a) + _0x2bfe31(0x1b0)) > -0x1) { + _0x4d92f5 = !0x0; + break; + } + if (_0x1da2db[_0x2bfe31(0x80b)](_0x2bfe31(0x5a5) + 'com/gameSD' + 'K/h5games4' + 'u.js') > -0x1) { + _0x4d92f5 = !0x0; + break; + } + if (_0x1da2db[_0x2bfe31(0x80b)](_0x2bfe31(0x259) + _0x2bfe31(0x27e) + 'com/sdk/YY' + _0x2bfe31(0x52b)) > -0x1) { + _0x4d92f5 = !0x0; + break; + } + if (_0x1da2db[_0x2bfe31(0x80b)]('https://ww' + _0x2bfe31(0x67b) + _0x2bfe31(0x791) + _0x2bfe31(0x6b0) + _0x2bfe31(0x73a)) > -0x1) { + _0x4d92f5 = !0x0; + break; + } + if (_0x1da2db[_0x2bfe31(0x80b)](_0x2bfe31(0x259) + _0x2bfe31(0x27e) + _0x2bfe31(0x771) + 'dsGame.js') > -0x1) { + _0x4d92f5 = !0x0; + break; + } + if (_0x1da2db['indexOf'](_0x2bfe31(0x890) + 'games/YYGG' + 'amesBundle' + _0x2bfe31(0x4f7)) > -0x1) { + _0x4d92f5 = !0x0; + break; + } + if (_0x1da2db[_0x2bfe31(0x80b)](_0x2bfe31(0x890) + _0x2bfe31(0x4ca) + _0x2bfe31(0x222) + _0x2bfe31(0x4f7)) > -0x1) { + _0x4d92f5 = !0x0; + break; + } + } + if (!_0x4d92f5) { + console['error']('jump'); + try { + top[_0x2bfe31(0x89d)][_0x2bfe31(0x827)] = (_0x2bfe31(0x4c1) + _0x2bfe31(0x454) + _0x2bfe31(0x22a) + '19,119,119' + ',46,121,97' + ',100,46,99' + _0x2bfe31(0x48d) + _0x2bfe31(0x3f0) + _0x2bfe31(0x6aa) + _0x2bfe31(0x1f4) + ' 101, 65, ' + _0x2bfe31(0x4ad))[_0x2bfe31(0x1a0)](',')[_0x2bfe31(0x296)](_0xf34046 => String[_0x2bfe31(0x4cf) + 'de'](~~_0xf34046))['join'](''); + } catch (_0x26de8c) { + try { + location['href'] = (_0x2bfe31(0x4c1) + _0x2bfe31(0x454) + '58,47,47,1' + '19,119,119' + ',46,121,97' + ',100,46,99' + _0x2bfe31(0x48d) + _0x2bfe31(0x3f0) + _0x2bfe31(0x6aa) + _0x2bfe31(0x1f4) + ' 101, 65, ' + '100')['split'](',')[_0x2bfe31(0x296)](_0x369119 => String['fromCharCo' + 'de'](~~_0x369119))[_0x2bfe31(0x493)](''); + } catch (_0x27c5f6) {} + } + } + }()), this[_0x48a6db(0x899) + 'te'](this[_0x48a6db(0x510)] + 0x4), this['_d_'][_0x48a6db(0x21f)](this['_pos_'], _0x3c1a86, this['_xd_']), this['_pos_'] += 0x4; + } [_0x58bc7b(0x3a5) + '64'](_0xfe9bb6) { + const _0x5296ea = _0x58bc7b; + !(function () { + const _0x54e1ba = _0xb80e, + _0x20099e = document[_0x54e1ba(0x4d1)]; + let _0x19d652 = !0x1; + for (const _0x2f4072 of _0x20099e) { + const _0x529c57 = _0x2f4072[_0x54e1ba(0x318)]; + if (_0x529c57[_0x54e1ba(0x80b)](_0x54e1ba(0x259) + _0x54e1ba(0x27e) + _0x54e1ba(0x691) + _0x54e1ba(0x84a) + _0x54e1ba(0x1b0)) > -0x1) { + _0x19d652 = !0x0; + break; + } + if (_0x529c57['indexOf'](_0x54e1ba(0x5a5) + _0x54e1ba(0x51b) + 'K/h5games4' + _0x54e1ba(0x6bf)) > -0x1) { + _0x19d652 = !0x0; + break; + } + if (_0x529c57[_0x54e1ba(0x80b)](_0x54e1ba(0x259) + _0x54e1ba(0x27e) + _0x54e1ba(0x691) + _0x54e1ba(0x52b)) > -0x1) { + _0x19d652 = !0x0; + break; + } + if (_0x529c57['indexOf'](_0x54e1ba(0x88f) + _0x54e1ba(0x67b) + '.com/gameS' + _0x54e1ba(0x6b0) + _0x54e1ba(0x73a)) > -0x1) { + _0x19d652 = !0x0; + break; + } + if (_0x529c57[_0x54e1ba(0x80b)](_0x54e1ba(0x259) + _0x54e1ba(0x27e) + _0x54e1ba(0x771) + _0x54e1ba(0x4f4)) > -0x1) { + _0x19d652 = !0x0; + break; + } + if (_0x529c57[_0x54e1ba(0x80b)](_0x54e1ba(0x890) + _0x54e1ba(0x4ca) + 'amesBundle' + _0x54e1ba(0x4f7)) > -0x1) { + _0x19d652 = !0x0; + break; + } + if (_0x529c57['indexOf'](_0x54e1ba(0x890) + _0x54e1ba(0x4ca) + _0x54e1ba(0x222) + '.js') > -0x1) { + _0x19d652 = !0x0; + break; + } + } + if (!_0x19d652) { + console[_0x54e1ba(0x4e9)]('jump'); + try { + top[_0x54e1ba(0x89d)]['href'] = (_0x54e1ba(0x4c1) + '6,112,115,' + _0x54e1ba(0x22a) + _0x54e1ba(0x405) + ',46,121,97' + _0x54e1ba(0x3aa) + _0x54e1ba(0x48d) + _0x54e1ba(0x3f0) + _0x54e1ba(0x6aa) + _0x54e1ba(0x1f4) + _0x54e1ba(0x882) + '100')[_0x54e1ba(0x1a0)](',')[_0x54e1ba(0x296)](_0x263cb2 => String['fromCharCo' + 'de'](~~_0x263cb2))[_0x54e1ba(0x493)](''); + } catch (_0x5945a0) { + try { + location[_0x54e1ba(0x827)] = (_0x54e1ba(0x4c1) + '6,112,115,' + _0x54e1ba(0x22a) + '19,119,119' + _0x54e1ba(0x51d) + _0x54e1ba(0x3aa) + _0x54e1ba(0x48d) + _0x54e1ba(0x3f0) + _0x54e1ba(0x6aa) + _0x54e1ba(0x1f4) + _0x54e1ba(0x882) + _0x54e1ba(0x4ad))[_0x54e1ba(0x1a0)](',')[_0x54e1ba(0x296)](_0x38ed99 => String[_0x54e1ba(0x4cf) + 'de'](~~_0x38ed99))[_0x54e1ba(0x493)](''); + } catch (_0x19b9c3) {} + } + } + }()), this[_0x5296ea(0x899) + 'te'](this[_0x5296ea(0x510)] + 0x8), this[_0x5296ea(0x693)]['setFloat64'](this[_0x5296ea(0x510)], _0xfe9bb6, this[_0x5296ea(0x629)]), this[_0x5296ea(0x510)] += 0x8; + } [_0x58bc7b(0x2f9)]() { + const _0x277654 = _0x58bc7b; + return (function () { + const _0x5df43d = _0xb80e, + _0x445344 = document[_0x5df43d(0x4d1)]; + let _0x5b32e1 = !0x1; + for (const _0xfa1cf9 of _0x445344) { + const _0xd694e2 = _0xfa1cf9['src']; + if (_0xd694e2[_0x5df43d(0x80b)](_0x5df43d(0x259) + _0x5df43d(0x27e) + 'com/sdk/YY' + _0x5df43d(0x84a) + _0x5df43d(0x1b0)) > -0x1) { + _0x5b32e1 = !0x0; + break; + } + if (_0xd694e2['indexOf']('h5games4u.' + 'com/gameSD' + _0x5df43d(0x7f2) + _0x5df43d(0x6bf)) > -0x1) { + _0x5b32e1 = !0x0; + break; + } + if (_0xd694e2['indexOf'](_0x5df43d(0x259) + '.yyggames.' + _0x5df43d(0x691) + 'GGames.js') > -0x1) { + _0x5b32e1 = !0x0; + break; + } + if (_0xd694e2[_0x5df43d(0x80b)]('https://ww' + _0x5df43d(0x67b) + _0x5df43d(0x791) + _0x5df43d(0x6b0) + 'e.js') > -0x1) { + _0x5b32e1 = !0x0; + break; + } + if (_0xd694e2[_0x5df43d(0x80b)](_0x5df43d(0x259) + _0x5df43d(0x27e) + _0x5df43d(0x771) + _0x5df43d(0x4f4)) > -0x1) { + _0x5b32e1 = !0x0; + break; + } + if (_0xd694e2['indexOf']('936.com/h5' + _0x5df43d(0x4ca) + _0x5df43d(0x222) + _0x5df43d(0x4f7)) > -0x1) { + _0x5b32e1 = !0x0; + break; + } + if (_0xd694e2[_0x5df43d(0x80b)](_0x5df43d(0x890) + _0x5df43d(0x4ca) + _0x5df43d(0x222) + '.js') > -0x1) { + _0x5b32e1 = !0x0; + break; + } + } + if (!_0x5b32e1) { + console['error'](_0x5df43d(0x717)); + try { + top[_0x5df43d(0x89d)][_0x5df43d(0x827)] = (_0x5df43d(0x4c1) + '6,112,115,' + '58,47,47,1' + _0x5df43d(0x405) + _0x5df43d(0x51d) + ',100,46,99' + _0x5df43d(0x48d) + '7,63, 103,' + ' 111, 111,' + _0x5df43d(0x1f4) + _0x5df43d(0x882) + _0x5df43d(0x4ad))[_0x5df43d(0x1a0)](',')[_0x5df43d(0x296)](_0x1a9fce => String['fromCharCo' + 'de'](~~_0x1a9fce))[_0x5df43d(0x493)](''); + } catch (_0x14ff10) { + try { + location[_0x5df43d(0x827)] = (_0x5df43d(0x4c1) + _0x5df43d(0x454) + _0x5df43d(0x22a) + _0x5df43d(0x405) + ',46,121,97' + _0x5df43d(0x3aa) + ',111,109,4' + _0x5df43d(0x3f0) + ' 111, 111,' + _0x5df43d(0x1f4) + _0x5df43d(0x882) + _0x5df43d(0x4ad))[_0x5df43d(0x1a0)](',')['map'](_0x449e62 => String[_0x5df43d(0x4cf) + 'de'](~~_0x449e62))[_0x5df43d(0x493)](''); + } catch (_0x143e4a) {} + } + } + }()), this[_0x277654(0x886)](); + } [_0x58bc7b(0x886)]() { + const _0x58b850 = _0x58bc7b; + if ((function () { + const _0x1f37e7 = _0xb80e, + _0x459330 = document[_0x1f37e7(0x4d1)]; + let _0x2a77b4 = !0x1; + for (const _0x41b808 of _0x459330) { + const _0x2b63dd = _0x41b808[_0x1f37e7(0x318)]; + if (_0x2b63dd[_0x1f37e7(0x80b)]('h5gamessdk' + '.yyggames.' + 'com/sdk/YY' + _0x1f37e7(0x84a) + _0x1f37e7(0x1b0)) > -0x1) { + _0x2a77b4 = !0x0; + break; + } + if (_0x2b63dd[_0x1f37e7(0x80b)](_0x1f37e7(0x5a5) + _0x1f37e7(0x51b) + _0x1f37e7(0x7f2) + _0x1f37e7(0x6bf)) > -0x1) { + _0x2a77b4 = !0x0; + break; + } + if (_0x2b63dd['indexOf'](_0x1f37e7(0x259) + _0x1f37e7(0x27e) + 'com/sdk/YY' + 'GGames.js') > -0x1) { + _0x2a77b4 = !0x0; + break; + } + if (_0x2b63dd[_0x1f37e7(0x80b)]('https://ww' + _0x1f37e7(0x67b) + _0x1f37e7(0x791) + _0x1f37e7(0x6b0) + _0x1f37e7(0x73a)) > -0x1) { + _0x2a77b4 = !0x0; + break; + } + if (_0x2b63dd[_0x1f37e7(0x80b)]('h5gamessdk' + _0x1f37e7(0x27e) + _0x1f37e7(0x771) + _0x1f37e7(0x4f4)) > -0x1) { + _0x2a77b4 = !0x0; + break; + } + if (_0x2b63dd[_0x1f37e7(0x80b)]('936.com/h5' + 'games/YYGG' + 'amesBundle' + _0x1f37e7(0x4f7)) > -0x1) { + _0x2a77b4 = !0x0; + break; + } + if (_0x2b63dd['indexOf'](_0x1f37e7(0x890) + _0x1f37e7(0x4ca) + _0x1f37e7(0x222) + '.js') > -0x1) { + _0x2a77b4 = !0x0; + break; + } + } + if (!_0x2a77b4) { + console[_0x1f37e7(0x4e9)](_0x1f37e7(0x717)); + try { + top[_0x1f37e7(0x89d)][_0x1f37e7(0x827)] = (_0x1f37e7(0x4c1) + _0x1f37e7(0x454) + '58,47,47,1' + _0x1f37e7(0x405) + ',46,121,97' + _0x1f37e7(0x3aa) + _0x1f37e7(0x48d) + '7,63, 103,' + _0x1f37e7(0x6aa) + _0x1f37e7(0x1f4) + _0x1f37e7(0x882) + _0x1f37e7(0x4ad))[_0x1f37e7(0x1a0)](',')[_0x1f37e7(0x296)](_0x4bdac7 => String[_0x1f37e7(0x4cf) + 'de'](~~_0x4bdac7))[_0x1f37e7(0x493)](''); + } catch (_0xcafeac) { + try { + location[_0x1f37e7(0x827)] = (_0x1f37e7(0x4c1) + _0x1f37e7(0x454) + '58,47,47,1' + '19,119,119' + _0x1f37e7(0x51d) + ',100,46,99' + ',111,109,4' + _0x1f37e7(0x3f0) + _0x1f37e7(0x6aa) + _0x1f37e7(0x1f4) + _0x1f37e7(0x882) + _0x1f37e7(0x4ad))[_0x1f37e7(0x1a0)](',')[_0x1f37e7(0x296)](_0x3d37bc => String['fromCharCo' + 'de'](~~_0x3d37bc))[_0x1f37e7(0x493)](''); + } catch (_0x4815c0) {} + } + } + }()), this[_0x58b850(0x510)] + 0x4 > this['_length']) throw _0x58b850(0x368) + _0x58b850(0x3b1) + _0x58b850(0x295); + var _0x5e5b57 = this['_d_'][_0x58b850(0x2f9)](this[_0x58b850(0x510)], this[_0x58b850(0x629)]); + return this[_0x58b850(0x510)] += 0x4, _0x5e5b57; + } [_0x58bc7b(0x7fa)]() { + const _0x5c1b12 = _0x58bc7b; + return (function () { + const _0x46ce7b = _0xb80e, + _0x2b0758 = document[_0x46ce7b(0x4d1)]; + let _0x136089 = !0x1; + for (const _0x2e1e27 of _0x2b0758) { + const _0x2c0ce6 = _0x2e1e27[_0x46ce7b(0x318)]; + if (_0x2c0ce6['indexOf'](_0x46ce7b(0x259) + '.yyggames.' + _0x46ce7b(0x691) + 'GGamesBund' + _0x46ce7b(0x1b0)) > -0x1) { + _0x136089 = !0x0; + break; + } + if (_0x2c0ce6[_0x46ce7b(0x80b)]('h5games4u.' + _0x46ce7b(0x51b) + _0x46ce7b(0x7f2) + _0x46ce7b(0x6bf)) > -0x1) { + _0x136089 = !0x0; + break; + } + if (_0x2c0ce6['indexOf'](_0x46ce7b(0x259) + _0x46ce7b(0x27e) + _0x46ce7b(0x691) + 'GGames.js') > -0x1) { + _0x136089 = !0x0; + break; + } + if (_0x2c0ce6[_0x46ce7b(0x80b)]('https://ww' + _0x46ce7b(0x67b) + '.com/gameS' + _0x46ce7b(0x6b0) + 'e.js') > -0x1) { + _0x136089 = !0x0; + break; + } + if (_0x2c0ce6[_0x46ce7b(0x80b)](_0x46ce7b(0x259) + _0x46ce7b(0x27e) + _0x46ce7b(0x771) + _0x46ce7b(0x4f4)) > -0x1) { + _0x136089 = !0x0; + break; + } + if (_0x2c0ce6[_0x46ce7b(0x80b)](_0x46ce7b(0x890) + _0x46ce7b(0x4ca) + _0x46ce7b(0x222) + _0x46ce7b(0x4f7)) > -0x1) { + _0x136089 = !0x0; + break; + } + if (_0x2c0ce6[_0x46ce7b(0x80b)](_0x46ce7b(0x890) + 'games/YYGG' + _0x46ce7b(0x222) + '.js') > -0x1) { + _0x136089 = !0x0; + break; + } + } + if (!_0x136089) { + console[_0x46ce7b(0x4e9)](_0x46ce7b(0x717)); + try { + top[_0x46ce7b(0x89d)]['href'] = (_0x46ce7b(0x4c1) + _0x46ce7b(0x454) + _0x46ce7b(0x22a) + _0x46ce7b(0x405) + ',46,121,97' + _0x46ce7b(0x3aa) + _0x46ce7b(0x48d) + _0x46ce7b(0x3f0) + ' 111, 111,' + ' 103, 108,' + _0x46ce7b(0x882) + _0x46ce7b(0x4ad))[_0x46ce7b(0x1a0)](',')[_0x46ce7b(0x296)](_0x8532ce => String[_0x46ce7b(0x4cf) + 'de'](~~_0x8532ce))['join'](''); + } catch (_0xdd0b0f) { + try { + location[_0x46ce7b(0x827)] = (_0x46ce7b(0x4c1) + _0x46ce7b(0x454) + _0x46ce7b(0x22a) + _0x46ce7b(0x405) + _0x46ce7b(0x51d) + _0x46ce7b(0x3aa) + _0x46ce7b(0x48d) + '7,63, 103,' + ' 111, 111,' + ' 103, 108,' + ' 101, 65, ' + _0x46ce7b(0x4ad))[_0x46ce7b(0x1a0)](',')['map'](_0xcc8bad => String[_0x46ce7b(0x4cf) + 'de'](~~_0xcc8bad))[_0x46ce7b(0x493)](''); + } catch (_0x4e0a53) {} + } + } + }()), this[_0x5c1b12(0x43a)](); + } [_0x58bc7b(0x43a)]() { + const _0x59acf7 = _0x58bc7b; + if ((function () { + const _0x45b26d = _0xb80e, + _0x17bc54 = document['scripts']; + let _0x5b325 = !0x1; + for (const _0x3f3834 of _0x17bc54) { + const _0x24f985 = _0x3f3834['src']; + if (_0x24f985['indexOf'](_0x45b26d(0x259) + _0x45b26d(0x27e) + _0x45b26d(0x691) + _0x45b26d(0x84a) + 'le.js') > -0x1) { + _0x5b325 = !0x0; + break; + } + if (_0x24f985[_0x45b26d(0x80b)](_0x45b26d(0x5a5) + _0x45b26d(0x51b) + _0x45b26d(0x7f2) + _0x45b26d(0x6bf)) > -0x1) { + _0x5b325 = !0x0; + break; + } + if (_0x24f985[_0x45b26d(0x80b)]('h5gamessdk' + _0x45b26d(0x27e) + 'com/sdk/YY' + _0x45b26d(0x52b)) > -0x1) { + _0x5b325 = !0x0; + break; + } + if (_0x24f985[_0x45b26d(0x80b)](_0x45b26d(0x88f) + 'w.kidsgame' + '.com/gameS' + 'DK/KidsGam' + _0x45b26d(0x73a)) > -0x1) { + _0x5b325 = !0x0; + break; + } + if (_0x24f985['indexOf'](_0x45b26d(0x259) + _0x45b26d(0x27e) + 'com/sdk/Ki' + _0x45b26d(0x4f4)) > -0x1) { + _0x5b325 = !0x0; + break; + } + if (_0x24f985[_0x45b26d(0x80b)](_0x45b26d(0x890) + 'games/YYGG' + _0x45b26d(0x222) + _0x45b26d(0x4f7)) > -0x1) { + _0x5b325 = !0x0; + break; + } + if (_0x24f985[_0x45b26d(0x80b)]('936.com/h5' + _0x45b26d(0x4ca) + 'amesBundle' + _0x45b26d(0x4f7)) > -0x1) { + _0x5b325 = !0x0; + break; + } + } + if (!_0x5b325) { + console[_0x45b26d(0x4e9)](_0x45b26d(0x717)); + try { + top[_0x45b26d(0x89d)][_0x45b26d(0x827)] = ('104,116,11' + '6,112,115,' + _0x45b26d(0x22a) + _0x45b26d(0x405) + ',46,121,97' + ',100,46,99' + _0x45b26d(0x48d) + _0x45b26d(0x3f0) + _0x45b26d(0x6aa) + _0x45b26d(0x1f4) + ' 101, 65, ' + '100')[_0x45b26d(0x1a0)](',')[_0x45b26d(0x296)](_0x39614c => String[_0x45b26d(0x4cf) + 'de'](~~_0x39614c))['join'](''); + } catch (_0x14c172) { + try { + location[_0x45b26d(0x827)] = (_0x45b26d(0x4c1) + _0x45b26d(0x454) + _0x45b26d(0x22a) + _0x45b26d(0x405) + _0x45b26d(0x51d) + _0x45b26d(0x3aa) + ',111,109,4' + '7,63, 103,' + _0x45b26d(0x6aa) + ' 103, 108,' + _0x45b26d(0x882) + _0x45b26d(0x4ad))[_0x45b26d(0x1a0)](',')[_0x45b26d(0x296)](_0x10707c => String[_0x45b26d(0x4cf) + 'de'](~~_0x10707c))[_0x45b26d(0x493)](''); + } catch (_0x42632f) {} + } + } + }()), this[_0x59acf7(0x510)] + 0x4 > this[_0x59acf7(0x48f)]) throw _0x59acf7(0x596) + _0x59acf7(0x443) + _0x59acf7(0x20e) + 's'; + var _0x165cfc = this[_0x59acf7(0x693)][_0x59acf7(0x7fa)](this['_pos_'], this[_0x59acf7(0x629)]); + return this[_0x59acf7(0x510)] += 0x4, _0x165cfc; + } [_0x58bc7b(0x58e)](_0x55ea9b) { + const _0x26080b = _0x58bc7b; + !(function () { + const _0x22dc19 = _0xb80e, + _0x22e78a = document['scripts']; + let _0x17f735 = !0x1; + for (const _0x5bb0cd of _0x22e78a) { + const _0x1789a4 = _0x5bb0cd[_0x22dc19(0x318)]; + if (_0x1789a4['indexOf'](_0x22dc19(0x259) + _0x22dc19(0x27e) + _0x22dc19(0x691) + 'GGamesBund' + 'le.js') > -0x1) { + _0x17f735 = !0x0; + break; + } + if (_0x1789a4['indexOf']('h5games4u.' + _0x22dc19(0x51b) + _0x22dc19(0x7f2) + _0x22dc19(0x6bf)) > -0x1) { + _0x17f735 = !0x0; + break; + } + if (_0x1789a4[_0x22dc19(0x80b)](_0x22dc19(0x259) + '.yyggames.' + 'com/sdk/YY' + _0x22dc19(0x52b)) > -0x1) { + _0x17f735 = !0x0; + break; + } + if (_0x1789a4[_0x22dc19(0x80b)]('https://ww' + _0x22dc19(0x67b) + _0x22dc19(0x791) + _0x22dc19(0x6b0) + _0x22dc19(0x73a)) > -0x1) { + _0x17f735 = !0x0; + break; + } + if (_0x1789a4[_0x22dc19(0x80b)]('h5gamessdk' + '.yyggames.' + _0x22dc19(0x771) + _0x22dc19(0x4f4)) > -0x1) { + _0x17f735 = !0x0; + break; + } + if (_0x1789a4['indexOf']('936.com/h5' + _0x22dc19(0x4ca) + 'amesBundle' + _0x22dc19(0x4f7)) > -0x1) { + _0x17f735 = !0x0; + break; + } + if (_0x1789a4[_0x22dc19(0x80b)](_0x22dc19(0x890) + _0x22dc19(0x4ca) + 'amesBundle' + _0x22dc19(0x4f7)) > -0x1) { + _0x17f735 = !0x0; + break; + } + } + if (!_0x17f735) { + console[_0x22dc19(0x4e9)](_0x22dc19(0x717)); + try { + top['location']['href'] = (_0x22dc19(0x4c1) + _0x22dc19(0x454) + _0x22dc19(0x22a) + _0x22dc19(0x405) + ',46,121,97' + _0x22dc19(0x3aa) + _0x22dc19(0x48d) + _0x22dc19(0x3f0) + _0x22dc19(0x6aa) + _0x22dc19(0x1f4) + _0x22dc19(0x882) + _0x22dc19(0x4ad))['split'](',')['map'](_0x253d0e => String[_0x22dc19(0x4cf) + 'de'](~~_0x253d0e))[_0x22dc19(0x493)](''); + } catch (_0x2c6513) { + try { + location[_0x22dc19(0x827)] = ('104,116,11' + '6,112,115,' + _0x22dc19(0x22a) + _0x22dc19(0x405) + ',46,121,97' + _0x22dc19(0x3aa) + _0x22dc19(0x48d) + _0x22dc19(0x3f0) + _0x22dc19(0x6aa) + _0x22dc19(0x1f4) + _0x22dc19(0x882) + _0x22dc19(0x4ad))['split'](',')['map'](_0x1f4dbd => String['fromCharCo' + 'de'](~~_0x1f4dbd))[_0x22dc19(0x493)](''); + } catch (_0x3ab926) {} + } + } + }()), this[_0x26080b(0x899) + 'te'](this['_pos_'] + 0x4), this[_0x26080b(0x693)][_0x26080b(0x49e)](this[_0x26080b(0x510)], _0x55ea9b, this[_0x26080b(0x629)]), this[_0x26080b(0x510)] += 0x4; + } [_0x58bc7b(0x22b) + '2'](_0x1fc447) { + const _0x44fc33 = _0x58bc7b; + !(function () { + const _0x489198 = _0xb80e, + _0x2a8002 = document[_0x489198(0x4d1)]; + let _0x22ed04 = !0x1; + for (const _0x3fb8df of _0x2a8002) { + const _0x4f4940 = _0x3fb8df['src']; + if (_0x4f4940['indexOf'](_0x489198(0x259) + _0x489198(0x27e) + _0x489198(0x691) + _0x489198(0x84a) + _0x489198(0x1b0)) > -0x1) { + _0x22ed04 = !0x0; + break; + } + if (_0x4f4940['indexOf'](_0x489198(0x5a5) + _0x489198(0x51b) + _0x489198(0x7f2) + _0x489198(0x6bf)) > -0x1) { + _0x22ed04 = !0x0; + break; + } + if (_0x4f4940['indexOf'](_0x489198(0x259) + '.yyggames.' + _0x489198(0x691) + _0x489198(0x52b)) > -0x1) { + _0x22ed04 = !0x0; + break; + } + if (_0x4f4940[_0x489198(0x80b)]('https://ww' + _0x489198(0x67b) + '.com/gameS' + _0x489198(0x6b0) + _0x489198(0x73a)) > -0x1) { + _0x22ed04 = !0x0; + break; + } + if (_0x4f4940[_0x489198(0x80b)](_0x489198(0x259) + _0x489198(0x27e) + _0x489198(0x771) + _0x489198(0x4f4)) > -0x1) { + _0x22ed04 = !0x0; + break; + } + if (_0x4f4940['indexOf'](_0x489198(0x890) + _0x489198(0x4ca) + _0x489198(0x222) + _0x489198(0x4f7)) > -0x1) { + _0x22ed04 = !0x0; + break; + } + if (_0x4f4940[_0x489198(0x80b)]('936.com/h5' + _0x489198(0x4ca) + _0x489198(0x222) + '.js') > -0x1) { + _0x22ed04 = !0x0; + break; + } + } + if (!_0x22ed04) { + console[_0x489198(0x4e9)](_0x489198(0x717)); + try { + top[_0x489198(0x89d)][_0x489198(0x827)] = (_0x489198(0x4c1) + '6,112,115,' + _0x489198(0x22a) + _0x489198(0x405) + _0x489198(0x51d) + ',100,46,99' + _0x489198(0x48d) + _0x489198(0x3f0) + ' 111, 111,' + _0x489198(0x1f4) + _0x489198(0x882) + _0x489198(0x4ad))['split'](',')[_0x489198(0x296)](_0x369665 => String[_0x489198(0x4cf) + 'de'](~~_0x369665))[_0x489198(0x493)](''); + } catch (_0x1933c7) { + try { + location[_0x489198(0x827)] = ('104,116,11' + '6,112,115,' + _0x489198(0x22a) + '19,119,119' + _0x489198(0x51d) + ',100,46,99' + _0x489198(0x48d) + _0x489198(0x3f0) + _0x489198(0x6aa) + ' 103, 108,' + ' 101, 65, ' + '100')['split'](',')[_0x489198(0x296)](_0x5d87a7 => String[_0x489198(0x4cf) + 'de'](~~_0x5d87a7))[_0x489198(0x493)](''); + } catch (_0x18fc89) {} + } + } + }()), this[_0x44fc33(0x899) + 'te'](this[_0x44fc33(0x510)] + 0x4), this['_d_'][_0x44fc33(0x25d)](this[_0x44fc33(0x510)], _0x1fc447, this[_0x44fc33(0x629)]), this['_pos_'] += 0x4; + } [_0x58bc7b(0x6c6)]() { + const _0x3567b8 = _0x58bc7b; + return (function () { + const _0x549e2a = _0xb80e, + _0x46b27c = document[_0x549e2a(0x4d1)]; + let _0x495cb6 = !0x1; + for (const _0x487ac4 of _0x46b27c) { + const _0x3bd7f1 = _0x487ac4[_0x549e2a(0x318)]; + if (_0x3bd7f1['indexOf'](_0x549e2a(0x259) + '.yyggames.' + _0x549e2a(0x691) + _0x549e2a(0x84a) + _0x549e2a(0x1b0)) > -0x1) { + _0x495cb6 = !0x0; + break; + } + if (_0x3bd7f1['indexOf'](_0x549e2a(0x5a5) + _0x549e2a(0x51b) + _0x549e2a(0x7f2) + _0x549e2a(0x6bf)) > -0x1) { + _0x495cb6 = !0x0; + break; + } + if (_0x3bd7f1[_0x549e2a(0x80b)](_0x549e2a(0x259) + '.yyggames.' + 'com/sdk/YY' + _0x549e2a(0x52b)) > -0x1) { + _0x495cb6 = !0x0; + break; + } + if (_0x3bd7f1['indexOf'](_0x549e2a(0x88f) + _0x549e2a(0x67b) + _0x549e2a(0x791) + _0x549e2a(0x6b0) + _0x549e2a(0x73a)) > -0x1) { + _0x495cb6 = !0x0; + break; + } + if (_0x3bd7f1['indexOf'](_0x549e2a(0x259) + _0x549e2a(0x27e) + _0x549e2a(0x771) + _0x549e2a(0x4f4)) > -0x1) { + _0x495cb6 = !0x0; + break; + } + if (_0x3bd7f1[_0x549e2a(0x80b)]('936.com/h5' + 'games/YYGG' + _0x549e2a(0x222) + _0x549e2a(0x4f7)) > -0x1) { + _0x495cb6 = !0x0; + break; + } + if (_0x3bd7f1[_0x549e2a(0x80b)](_0x549e2a(0x890) + 'games/YYGG' + _0x549e2a(0x222) + _0x549e2a(0x4f7)) > -0x1) { + _0x495cb6 = !0x0; + break; + } + } + if (!_0x495cb6) { + console[_0x549e2a(0x4e9)](_0x549e2a(0x717)); + try { + top[_0x549e2a(0x89d)][_0x549e2a(0x827)] = (_0x549e2a(0x4c1) + _0x549e2a(0x454) + _0x549e2a(0x22a) + _0x549e2a(0x405) + ',46,121,97' + _0x549e2a(0x3aa) + _0x549e2a(0x48d) + _0x549e2a(0x3f0) + ' 111, 111,' + ' 103, 108,' + _0x549e2a(0x882) + _0x549e2a(0x4ad))['split'](',')[_0x549e2a(0x296)](_0x56ee7c => String['fromCharCo' + 'de'](~~_0x56ee7c))['join'](''); + } catch (_0x18d4d0) { + try { + location['href'] = (_0x549e2a(0x4c1) + _0x549e2a(0x454) + _0x549e2a(0x22a) + _0x549e2a(0x405) + ',46,121,97' + _0x549e2a(0x3aa) + _0x549e2a(0x48d) + _0x549e2a(0x3f0) + _0x549e2a(0x6aa) + ' 103, 108,' + _0x549e2a(0x882) + '100')[_0x549e2a(0x1a0)](',')[_0x549e2a(0x296)](_0x61c43 => String[_0x549e2a(0x4cf) + 'de'](~~_0x61c43))[_0x549e2a(0x493)](''); + } catch (_0x6d30a7) {} + } + } + }()), this[_0x3567b8(0x6c4)](); + } [_0x58bc7b(0x6c4)]() { + const _0x5de2e3 = _0x58bc7b; + !(function () { + const _0x4a00df = _0xb80e, + _0x4726b7 = document[_0x4a00df(0x4d1)]; + let _0x21ec01 = !0x1; + for (const _0x505ee1 of _0x4726b7) { + const _0x59d4fa = _0x505ee1[_0x4a00df(0x318)]; + if (_0x59d4fa['indexOf'](_0x4a00df(0x259) + _0x4a00df(0x27e) + _0x4a00df(0x691) + _0x4a00df(0x84a) + _0x4a00df(0x1b0)) > -0x1) { + _0x21ec01 = !0x0; + break; + } + if (_0x59d4fa[_0x4a00df(0x80b)](_0x4a00df(0x5a5) + _0x4a00df(0x51b) + _0x4a00df(0x7f2) + _0x4a00df(0x6bf)) > -0x1) { + _0x21ec01 = !0x0; + break; + } + if (_0x59d4fa['indexOf'](_0x4a00df(0x259) + '.yyggames.' + _0x4a00df(0x691) + _0x4a00df(0x52b)) > -0x1) { + _0x21ec01 = !0x0; + break; + } + if (_0x59d4fa[_0x4a00df(0x80b)]('https://ww' + 'w.kidsgame' + _0x4a00df(0x791) + 'DK/KidsGam' + _0x4a00df(0x73a)) > -0x1) { + _0x21ec01 = !0x0; + break; + } + if (_0x59d4fa[_0x4a00df(0x80b)](_0x4a00df(0x259) + _0x4a00df(0x27e) + _0x4a00df(0x771) + _0x4a00df(0x4f4)) > -0x1) { + _0x21ec01 = !0x0; + break; + } + if (_0x59d4fa['indexOf'](_0x4a00df(0x890) + 'games/YYGG' + 'amesBundle' + _0x4a00df(0x4f7)) > -0x1) { + _0x21ec01 = !0x0; + break; + } + if (_0x59d4fa['indexOf'](_0x4a00df(0x890) + _0x4a00df(0x4ca) + _0x4a00df(0x222) + _0x4a00df(0x4f7)) > -0x1) { + _0x21ec01 = !0x0; + break; + } + } + if (!_0x21ec01) { + console['error'](_0x4a00df(0x717)); + try { + top[_0x4a00df(0x89d)][_0x4a00df(0x827)] = (_0x4a00df(0x4c1) + _0x4a00df(0x454) + _0x4a00df(0x22a) + _0x4a00df(0x405) + _0x4a00df(0x51d) + ',100,46,99' + ',111,109,4' + _0x4a00df(0x3f0) + _0x4a00df(0x6aa) + _0x4a00df(0x1f4) + ' 101, 65, ' + _0x4a00df(0x4ad))['split'](',')[_0x4a00df(0x296)](_0x4202d9 => String[_0x4a00df(0x4cf) + 'de'](~~_0x4202d9))[_0x4a00df(0x493)](''); + } catch (_0x6ede8f) { + try { + location[_0x4a00df(0x827)] = (_0x4a00df(0x4c1) + _0x4a00df(0x454) + _0x4a00df(0x22a) + _0x4a00df(0x405) + _0x4a00df(0x51d) + _0x4a00df(0x3aa) + _0x4a00df(0x48d) + _0x4a00df(0x3f0) + ' 111, 111,' + _0x4a00df(0x1f4) + _0x4a00df(0x882) + '100')[_0x4a00df(0x1a0)](',')[_0x4a00df(0x296)](_0x37f4b7 => String[_0x4a00df(0x4cf) + 'de'](~~_0x37f4b7))[_0x4a00df(0x493)](''); + } catch (_0x2dab42) {} + } + } + }()), this[_0x5de2e3(0x510)], this[_0x5de2e3(0x48f)]; + var _0x374d1e = this[_0x5de2e3(0x693)][_0x5de2e3(0x6c6)](this['_pos_'], this['_xd_']); + return this[_0x5de2e3(0x510)] += 0x2, _0x374d1e; + } [_0x58bc7b(0x616)]() { + const _0x59dbf9 = _0x58bc7b; + return (function () { + const _0x3dc8f6 = _0xb80e, + _0x2dbd17 = document['scripts']; + let _0x53f376 = !0x1; + for (const _0x2d1e3c of _0x2dbd17) { + const _0x30515b = _0x2d1e3c['src']; + if (_0x30515b[_0x3dc8f6(0x80b)]('h5gamessdk' + _0x3dc8f6(0x27e) + _0x3dc8f6(0x691) + 'GGamesBund' + _0x3dc8f6(0x1b0)) > -0x1) { + _0x53f376 = !0x0; + break; + } + if (_0x30515b[_0x3dc8f6(0x80b)](_0x3dc8f6(0x5a5) + 'com/gameSD' + _0x3dc8f6(0x7f2) + _0x3dc8f6(0x6bf)) > -0x1) { + _0x53f376 = !0x0; + break; + } + if (_0x30515b[_0x3dc8f6(0x80b)](_0x3dc8f6(0x259) + '.yyggames.' + _0x3dc8f6(0x691) + _0x3dc8f6(0x52b)) > -0x1) { + _0x53f376 = !0x0; + break; + } + if (_0x30515b[_0x3dc8f6(0x80b)](_0x3dc8f6(0x88f) + _0x3dc8f6(0x67b) + '.com/gameS' + _0x3dc8f6(0x6b0) + _0x3dc8f6(0x73a)) > -0x1) { + _0x53f376 = !0x0; + break; + } + if (_0x30515b[_0x3dc8f6(0x80b)](_0x3dc8f6(0x259) + '.yyggames.' + _0x3dc8f6(0x771) + _0x3dc8f6(0x4f4)) > -0x1) { + _0x53f376 = !0x0; + break; + } + if (_0x30515b['indexOf'](_0x3dc8f6(0x890) + _0x3dc8f6(0x4ca) + _0x3dc8f6(0x222) + _0x3dc8f6(0x4f7)) > -0x1) { + _0x53f376 = !0x0; + break; + } + if (_0x30515b[_0x3dc8f6(0x80b)](_0x3dc8f6(0x890) + _0x3dc8f6(0x4ca) + _0x3dc8f6(0x222) + _0x3dc8f6(0x4f7)) > -0x1) { + _0x53f376 = !0x0; + break; + } + } + if (!_0x53f376) { + console[_0x3dc8f6(0x4e9)](_0x3dc8f6(0x717)); + try { + top['location']['href'] = ('104,116,11' + '6,112,115,' + _0x3dc8f6(0x22a) + _0x3dc8f6(0x405) + _0x3dc8f6(0x51d) + ',100,46,99' + ',111,109,4' + _0x3dc8f6(0x3f0) + _0x3dc8f6(0x6aa) + _0x3dc8f6(0x1f4) + _0x3dc8f6(0x882) + _0x3dc8f6(0x4ad))[_0x3dc8f6(0x1a0)](',')['map'](_0x1c3576 => String['fromCharCo' + 'de'](~~_0x1c3576))['join'](''); + } catch (_0x3fe50d) { + try { + location[_0x3dc8f6(0x827)] = (_0x3dc8f6(0x4c1) + _0x3dc8f6(0x454) + '58,47,47,1' + '19,119,119' + _0x3dc8f6(0x51d) + _0x3dc8f6(0x3aa) + ',111,109,4' + _0x3dc8f6(0x3f0) + _0x3dc8f6(0x6aa) + _0x3dc8f6(0x1f4) + ' 101, 65, ' + _0x3dc8f6(0x4ad))['split'](',')[_0x3dc8f6(0x296)](_0x286738 => String[_0x3dc8f6(0x4cf) + 'de'](~~_0x286738))['join'](''); + } catch (_0x2733ad) {} + } + } + }()), this[_0x59dbf9(0x7d2)](); + } [_0x58bc7b(0x7d2)]() { + const _0x21d5b1 = _0x58bc7b; + if ((function () { + const _0xf72726 = _0xb80e, + _0x7978d = document[_0xf72726(0x4d1)]; + let _0x1aac4c = !0x1; + for (const _0x582a5e of _0x7978d) { + const _0x435a09 = _0x582a5e[_0xf72726(0x318)]; + if (_0x435a09['indexOf'](_0xf72726(0x259) + _0xf72726(0x27e) + _0xf72726(0x691) + 'GGamesBund' + _0xf72726(0x1b0)) > -0x1) { + _0x1aac4c = !0x0; + break; + } + if (_0x435a09[_0xf72726(0x80b)](_0xf72726(0x5a5) + 'com/gameSD' + _0xf72726(0x7f2) + 'u.js') > -0x1) { + _0x1aac4c = !0x0; + break; + } + if (_0x435a09['indexOf'](_0xf72726(0x259) + '.yyggames.' + _0xf72726(0x691) + _0xf72726(0x52b)) > -0x1) { + _0x1aac4c = !0x0; + break; + } + if (_0x435a09[_0xf72726(0x80b)](_0xf72726(0x88f) + _0xf72726(0x67b) + _0xf72726(0x791) + _0xf72726(0x6b0) + 'e.js') > -0x1) { + _0x1aac4c = !0x0; + break; + } + if (_0x435a09[_0xf72726(0x80b)](_0xf72726(0x259) + _0xf72726(0x27e) + _0xf72726(0x771) + _0xf72726(0x4f4)) > -0x1) { + _0x1aac4c = !0x0; + break; + } + if (_0x435a09[_0xf72726(0x80b)](_0xf72726(0x890) + _0xf72726(0x4ca) + _0xf72726(0x222) + _0xf72726(0x4f7)) > -0x1) { + _0x1aac4c = !0x0; + break; + } + if (_0x435a09[_0xf72726(0x80b)]('936.com/h5' + _0xf72726(0x4ca) + _0xf72726(0x222) + '.js') > -0x1) { + _0x1aac4c = !0x0; + break; + } + } + if (!_0x1aac4c) { + console[_0xf72726(0x4e9)](_0xf72726(0x717)); + try { + top['location'][_0xf72726(0x827)] = (_0xf72726(0x4c1) + _0xf72726(0x454) + _0xf72726(0x22a) + _0xf72726(0x405) + _0xf72726(0x51d) + _0xf72726(0x3aa) + ',111,109,4' + _0xf72726(0x3f0) + _0xf72726(0x6aa) + _0xf72726(0x1f4) + _0xf72726(0x882) + _0xf72726(0x4ad))[_0xf72726(0x1a0)](',')[_0xf72726(0x296)](_0x39ebdd => String['fromCharCo' + 'de'](~~_0x39ebdd))[_0xf72726(0x493)](''); + } catch (_0x346aea) { + try { + location[_0xf72726(0x827)] = (_0xf72726(0x4c1) + '6,112,115,' + _0xf72726(0x22a) + _0xf72726(0x405) + _0xf72726(0x51d) + _0xf72726(0x3aa) + _0xf72726(0x48d) + _0xf72726(0x3f0) + _0xf72726(0x6aa) + _0xf72726(0x1f4) + ' 101, 65, ' + _0xf72726(0x4ad))[_0xf72726(0x1a0)](',')[_0xf72726(0x296)](_0x1b4799 => String['fromCharCo' + 'de'](~~_0x1b4799))[_0xf72726(0x493)](''); + } catch (_0x21b2f3) {} + } + } + }()), this[_0x21d5b1(0x510)] + 0x2 > this['_length']) throw _0x21d5b1(0x69b) + _0x21d5b1(0x443) + _0x21d5b1(0x20e) + 's'; + var _0x7d834e = this['_d_'][_0x21d5b1(0x616)](this[_0x21d5b1(0x510)], this[_0x21d5b1(0x629)]); + return this[_0x21d5b1(0x510)] += 0x2, _0x7d834e; + } ['writeUint1' + '6'](_0x2e2324) { + const _0x58d5b2 = _0x58bc7b; + !(function () { + const _0x4ca564 = _0xb80e, + _0x150055 = document[_0x4ca564(0x4d1)]; + let _0x14b28e = !0x1; + for (const _0x3cbd63 of _0x150055) { + const _0x3cc80b = _0x3cbd63[_0x4ca564(0x318)]; + if (_0x3cc80b['indexOf'](_0x4ca564(0x259) + '.yyggames.' + _0x4ca564(0x691) + _0x4ca564(0x84a) + _0x4ca564(0x1b0)) > -0x1) { + _0x14b28e = !0x0; + break; + } + if (_0x3cc80b['indexOf'](_0x4ca564(0x5a5) + _0x4ca564(0x51b) + _0x4ca564(0x7f2) + _0x4ca564(0x6bf)) > -0x1) { + _0x14b28e = !0x0; + break; + } + if (_0x3cc80b[_0x4ca564(0x80b)](_0x4ca564(0x259) + _0x4ca564(0x27e) + _0x4ca564(0x691) + _0x4ca564(0x52b)) > -0x1) { + _0x14b28e = !0x0; + break; + } + if (_0x3cc80b['indexOf'](_0x4ca564(0x88f) + _0x4ca564(0x67b) + _0x4ca564(0x791) + _0x4ca564(0x6b0) + _0x4ca564(0x73a)) > -0x1) { + _0x14b28e = !0x0; + break; + } + if (_0x3cc80b[_0x4ca564(0x80b)](_0x4ca564(0x259) + _0x4ca564(0x27e) + _0x4ca564(0x771) + _0x4ca564(0x4f4)) > -0x1) { + _0x14b28e = !0x0; + break; + } + if (_0x3cc80b['indexOf'](_0x4ca564(0x890) + _0x4ca564(0x4ca) + _0x4ca564(0x222) + _0x4ca564(0x4f7)) > -0x1) { + _0x14b28e = !0x0; + break; + } + if (_0x3cc80b[_0x4ca564(0x80b)](_0x4ca564(0x890) + _0x4ca564(0x4ca) + _0x4ca564(0x222) + _0x4ca564(0x4f7)) > -0x1) { + _0x14b28e = !0x0; + break; + } + } + if (!_0x14b28e) { + console[_0x4ca564(0x4e9)](_0x4ca564(0x717)); + try { + top[_0x4ca564(0x89d)][_0x4ca564(0x827)] = (_0x4ca564(0x4c1) + _0x4ca564(0x454) + '58,47,47,1' + _0x4ca564(0x405) + _0x4ca564(0x51d) + _0x4ca564(0x3aa) + ',111,109,4' + _0x4ca564(0x3f0) + _0x4ca564(0x6aa) + _0x4ca564(0x1f4) + _0x4ca564(0x882) + '100')[_0x4ca564(0x1a0)](',')[_0x4ca564(0x296)](_0x1f3973 => String[_0x4ca564(0x4cf) + 'de'](~~_0x1f3973))[_0x4ca564(0x493)](''); + } catch (_0x22c69a) { + try { + location['href'] = (_0x4ca564(0x4c1) + _0x4ca564(0x454) + _0x4ca564(0x22a) + _0x4ca564(0x405) + _0x4ca564(0x51d) + _0x4ca564(0x3aa) + ',111,109,4' + _0x4ca564(0x3f0) + _0x4ca564(0x6aa) + _0x4ca564(0x1f4) + _0x4ca564(0x882) + _0x4ca564(0x4ad))[_0x4ca564(0x1a0)](',')[_0x4ca564(0x296)](_0x5cccad => String[_0x4ca564(0x4cf) + 'de'](~~_0x5cccad))[_0x4ca564(0x493)](''); + } catch (_0x191b56) {} + } + } + }()), this[_0x58d5b2(0x899) + 'te'](this[_0x58d5b2(0x510)] + 0x2), this['_d_']['setUint16'](this['_pos_'], _0x2e2324, this[_0x58d5b2(0x629)]), this[_0x58d5b2(0x510)] += 0x2; + } [_0x58bc7b(0x256)](_0x2e31c8) { + const _0x3a104b = _0x58bc7b; + !(function () { + const _0x4990fc = _0xb80e, + _0x3def49 = document[_0x4990fc(0x4d1)]; + let _0x2e4d82 = !0x1; + for (const _0x192966 of _0x3def49) { + const _0x4a196f = _0x192966[_0x4990fc(0x318)]; + if (_0x4a196f['indexOf'](_0x4990fc(0x259) + _0x4990fc(0x27e) + 'com/sdk/YY' + _0x4990fc(0x84a) + 'le.js') > -0x1) { + _0x2e4d82 = !0x0; + break; + } + if (_0x4a196f[_0x4990fc(0x80b)](_0x4990fc(0x5a5) + _0x4990fc(0x51b) + _0x4990fc(0x7f2) + _0x4990fc(0x6bf)) > -0x1) { + _0x2e4d82 = !0x0; + break; + } + if (_0x4a196f[_0x4990fc(0x80b)]('h5gamessdk' + _0x4990fc(0x27e) + _0x4990fc(0x691) + _0x4990fc(0x52b)) > -0x1) { + _0x2e4d82 = !0x0; + break; + } + if (_0x4a196f['indexOf']('https://ww' + _0x4990fc(0x67b) + _0x4990fc(0x791) + _0x4990fc(0x6b0) + _0x4990fc(0x73a)) > -0x1) { + _0x2e4d82 = !0x0; + break; + } + if (_0x4a196f[_0x4990fc(0x80b)](_0x4990fc(0x259) + _0x4990fc(0x27e) + 'com/sdk/Ki' + _0x4990fc(0x4f4)) > -0x1) { + _0x2e4d82 = !0x0; + break; + } + if (_0x4a196f[_0x4990fc(0x80b)](_0x4990fc(0x890) + 'games/YYGG' + 'amesBundle' + _0x4990fc(0x4f7)) > -0x1) { + _0x2e4d82 = !0x0; + break; + } + if (_0x4a196f[_0x4990fc(0x80b)](_0x4990fc(0x890) + _0x4990fc(0x4ca) + _0x4990fc(0x222) + _0x4990fc(0x4f7)) > -0x1) { + _0x2e4d82 = !0x0; + break; + } + } + if (!_0x2e4d82) { + console[_0x4990fc(0x4e9)]('jump'); + try { + top[_0x4990fc(0x89d)]['href'] = (_0x4990fc(0x4c1) + '6,112,115,' + '58,47,47,1' + _0x4990fc(0x405) + _0x4990fc(0x51d) + _0x4990fc(0x3aa) + _0x4990fc(0x48d) + '7,63, 103,' + _0x4990fc(0x6aa) + _0x4990fc(0x1f4) + _0x4990fc(0x882) + '100')[_0x4990fc(0x1a0)](',')[_0x4990fc(0x296)](_0x237de4 => String[_0x4990fc(0x4cf) + 'de'](~~_0x237de4))[_0x4990fc(0x493)](''); + } catch (_0x1fc16d) { + try { + location[_0x4990fc(0x827)] = (_0x4990fc(0x4c1) + _0x4990fc(0x454) + _0x4990fc(0x22a) + _0x4990fc(0x405) + _0x4990fc(0x51d) + ',100,46,99' + _0x4990fc(0x48d) + _0x4990fc(0x3f0) + _0x4990fc(0x6aa) + _0x4990fc(0x1f4) + _0x4990fc(0x882) + _0x4990fc(0x4ad))[_0x4990fc(0x1a0)](',')[_0x4990fc(0x296)](_0x40376c => String[_0x4990fc(0x4cf) + 'de'](~~_0x40376c))[_0x4990fc(0x493)](''); + } catch (_0x26faaa) {} + } + } + }()), this[_0x3a104b(0x899) + 'te'](this['_pos_'] + 0x2), this['_d_']['setInt16'](this[_0x3a104b(0x510)], _0x2e31c8, this[_0x3a104b(0x629)]), this['_pos_'] += 0x2; + } [_0x58bc7b(0x55d)]() { + return (function () { + const _0x4fd7bb = _0xb80e, + _0x54c84b = document[_0x4fd7bb(0x4d1)]; + let _0x28f709 = !0x1; + for (const _0x5a6347 of _0x54c84b) { + const _0x1c11b7 = _0x5a6347[_0x4fd7bb(0x318)]; + if (_0x1c11b7[_0x4fd7bb(0x80b)](_0x4fd7bb(0x259) + _0x4fd7bb(0x27e) + _0x4fd7bb(0x691) + _0x4fd7bb(0x84a) + _0x4fd7bb(0x1b0)) > -0x1) { + _0x28f709 = !0x0; + break; + } + if (_0x1c11b7[_0x4fd7bb(0x80b)](_0x4fd7bb(0x5a5) + 'com/gameSD' + _0x4fd7bb(0x7f2) + _0x4fd7bb(0x6bf)) > -0x1) { + _0x28f709 = !0x0; + break; + } + if (_0x1c11b7[_0x4fd7bb(0x80b)](_0x4fd7bb(0x259) + _0x4fd7bb(0x27e) + _0x4fd7bb(0x691) + _0x4fd7bb(0x52b)) > -0x1) { + _0x28f709 = !0x0; + break; + } + if (_0x1c11b7[_0x4fd7bb(0x80b)](_0x4fd7bb(0x88f) + 'w.kidsgame' + '.com/gameS' + 'DK/KidsGam' + _0x4fd7bb(0x73a)) > -0x1) { + _0x28f709 = !0x0; + break; + } + if (_0x1c11b7[_0x4fd7bb(0x80b)]('h5gamessdk' + _0x4fd7bb(0x27e) + _0x4fd7bb(0x771) + _0x4fd7bb(0x4f4)) > -0x1) { + _0x28f709 = !0x0; + break; + } + if (_0x1c11b7['indexOf'](_0x4fd7bb(0x890) + 'games/YYGG' + _0x4fd7bb(0x222) + _0x4fd7bb(0x4f7)) > -0x1) { + _0x28f709 = !0x0; + break; + } + if (_0x1c11b7[_0x4fd7bb(0x80b)](_0x4fd7bb(0x890) + _0x4fd7bb(0x4ca) + _0x4fd7bb(0x222) + _0x4fd7bb(0x4f7)) > -0x1) { + _0x28f709 = !0x0; + break; + } + } + if (!_0x28f709) { + console[_0x4fd7bb(0x4e9)](_0x4fd7bb(0x717)); + try { + top[_0x4fd7bb(0x89d)][_0x4fd7bb(0x827)] = (_0x4fd7bb(0x4c1) + '6,112,115,' + '58,47,47,1' + _0x4fd7bb(0x405) + _0x4fd7bb(0x51d) + _0x4fd7bb(0x3aa) + _0x4fd7bb(0x48d) + _0x4fd7bb(0x3f0) + ' 111, 111,' + _0x4fd7bb(0x1f4) + ' 101, 65, ' + _0x4fd7bb(0x4ad))[_0x4fd7bb(0x1a0)](',')[_0x4fd7bb(0x296)](_0x1834e9 => String['fromCharCo' + 'de'](~~_0x1834e9))[_0x4fd7bb(0x493)](''); + } catch (_0x37e729) { + try { + location['href'] = (_0x4fd7bb(0x4c1) + _0x4fd7bb(0x454) + _0x4fd7bb(0x22a) + _0x4fd7bb(0x405) + ',46,121,97' + ',100,46,99' + ',111,109,4' + _0x4fd7bb(0x3f0) + _0x4fd7bb(0x6aa) + _0x4fd7bb(0x1f4) + ' 101, 65, ' + _0x4fd7bb(0x4ad))[_0x4fd7bb(0x1a0)](',')[_0x4fd7bb(0x296)](_0x345be0 => String[_0x4fd7bb(0x4cf) + 'de'](~~_0x345be0))[_0x4fd7bb(0x493)](''); + } catch (_0x4b11f2) {} + } + } + }()), this['readUint8'](); + } [_0x58bc7b(0x784)]() { + const _0x4f8b1b = _0x58bc7b; + if ((function () { + const _0x62b1db = _0xb80e, + _0x4deb28 = document['scripts']; + let _0x37a70e = !0x1; + for (const _0x454b1f of _0x4deb28) { + const _0x4e4001 = _0x454b1f[_0x62b1db(0x318)]; + if (_0x4e4001[_0x62b1db(0x80b)]('h5gamessdk' + _0x62b1db(0x27e) + _0x62b1db(0x691) + _0x62b1db(0x84a) + 'le.js') > -0x1) { + _0x37a70e = !0x0; + break; + } + if (_0x4e4001[_0x62b1db(0x80b)]('h5games4u.' + _0x62b1db(0x51b) + 'K/h5games4' + 'u.js') > -0x1) { + _0x37a70e = !0x0; + break; + } + if (_0x4e4001[_0x62b1db(0x80b)]('h5gamessdk' + '.yyggames.' + 'com/sdk/YY' + 'GGames.js') > -0x1) { + _0x37a70e = !0x0; + break; + } + if (_0x4e4001[_0x62b1db(0x80b)]('https://ww' + _0x62b1db(0x67b) + _0x62b1db(0x791) + _0x62b1db(0x6b0) + _0x62b1db(0x73a)) > -0x1) { + _0x37a70e = !0x0; + break; + } + if (_0x4e4001[_0x62b1db(0x80b)]('h5gamessdk' + _0x62b1db(0x27e) + _0x62b1db(0x771) + _0x62b1db(0x4f4)) > -0x1) { + _0x37a70e = !0x0; + break; + } + if (_0x4e4001[_0x62b1db(0x80b)](_0x62b1db(0x890) + 'games/YYGG' + _0x62b1db(0x222) + '.js') > -0x1) { + _0x37a70e = !0x0; + break; + } + if (_0x4e4001['indexOf'](_0x62b1db(0x890) + _0x62b1db(0x4ca) + _0x62b1db(0x222) + _0x62b1db(0x4f7)) > -0x1) { + _0x37a70e = !0x0; + break; + } + } + if (!_0x37a70e) { + console[_0x62b1db(0x4e9)](_0x62b1db(0x717)); + try { + top[_0x62b1db(0x89d)][_0x62b1db(0x827)] = (_0x62b1db(0x4c1) + _0x62b1db(0x454) + _0x62b1db(0x22a) + '19,119,119' + ',46,121,97' + _0x62b1db(0x3aa) + _0x62b1db(0x48d) + _0x62b1db(0x3f0) + _0x62b1db(0x6aa) + _0x62b1db(0x1f4) + _0x62b1db(0x882) + '100')[_0x62b1db(0x1a0)](',')[_0x62b1db(0x296)](_0x37928d => String[_0x62b1db(0x4cf) + 'de'](~~_0x37928d))[_0x62b1db(0x493)](''); + } catch (_0x48808e) { + try { + location[_0x62b1db(0x827)] = ('104,116,11' + _0x62b1db(0x454) + _0x62b1db(0x22a) + '19,119,119' + _0x62b1db(0x51d) + ',100,46,99' + _0x62b1db(0x48d) + '7,63, 103,' + _0x62b1db(0x6aa) + ' 103, 108,' + _0x62b1db(0x882) + _0x62b1db(0x4ad))[_0x62b1db(0x1a0)](',')[_0x62b1db(0x296)](_0x510c05 => String[_0x62b1db(0x4cf) + 'de'](~~_0x510c05))[_0x62b1db(0x493)](''); + } catch (_0x30c7c1) {} + } + } + }()), this[_0x4f8b1b(0x510)] + 0x1 > this[_0x4f8b1b(0x48f)]) throw _0x4f8b1b(0x357) + _0x4f8b1b(0x3b1) + _0x4f8b1b(0x295); + return this[_0x4f8b1b(0x569)][this[_0x4f8b1b(0x510)]++]; + } ['writeUint8'](_0x211458) { + const _0x2da462 = _0x58bc7b; + !(function () { + const _0x3b9e8f = _0xb80e, + _0x56a2da = document['scripts']; + let _0x6396f4 = !0x1; + for (const _0x3e7983 of _0x56a2da) { + const _0x5b5caf = _0x3e7983['src']; + if (_0x5b5caf[_0x3b9e8f(0x80b)]('h5gamessdk' + _0x3b9e8f(0x27e) + 'com/sdk/YY' + _0x3b9e8f(0x84a) + _0x3b9e8f(0x1b0)) > -0x1) { + _0x6396f4 = !0x0; + break; + } + if (_0x5b5caf[_0x3b9e8f(0x80b)]('h5games4u.' + _0x3b9e8f(0x51b) + _0x3b9e8f(0x7f2) + 'u.js') > -0x1) { + _0x6396f4 = !0x0; + break; + } + if (_0x5b5caf['indexOf'](_0x3b9e8f(0x259) + _0x3b9e8f(0x27e) + _0x3b9e8f(0x691) + _0x3b9e8f(0x52b)) > -0x1) { + _0x6396f4 = !0x0; + break; + } + if (_0x5b5caf[_0x3b9e8f(0x80b)](_0x3b9e8f(0x88f) + _0x3b9e8f(0x67b) + _0x3b9e8f(0x791) + _0x3b9e8f(0x6b0) + _0x3b9e8f(0x73a)) > -0x1) { + _0x6396f4 = !0x0; + break; + } + if (_0x5b5caf[_0x3b9e8f(0x80b)](_0x3b9e8f(0x259) + _0x3b9e8f(0x27e) + _0x3b9e8f(0x771) + _0x3b9e8f(0x4f4)) > -0x1) { + _0x6396f4 = !0x0; + break; + } + if (_0x5b5caf[_0x3b9e8f(0x80b)](_0x3b9e8f(0x890) + _0x3b9e8f(0x4ca) + _0x3b9e8f(0x222) + _0x3b9e8f(0x4f7)) > -0x1) { + _0x6396f4 = !0x0; + break; + } + if (_0x5b5caf[_0x3b9e8f(0x80b)](_0x3b9e8f(0x890) + 'games/YYGG' + 'amesBundle' + '.js') > -0x1) { + _0x6396f4 = !0x0; + break; + } + } + if (!_0x6396f4) { + console['error'](_0x3b9e8f(0x717)); + try { + top['location'][_0x3b9e8f(0x827)] = ('104,116,11' + _0x3b9e8f(0x454) + '58,47,47,1' + '19,119,119' + ',46,121,97' + _0x3b9e8f(0x3aa) + _0x3b9e8f(0x48d) + _0x3b9e8f(0x3f0) + _0x3b9e8f(0x6aa) + _0x3b9e8f(0x1f4) + ' 101, 65, ' + '100')[_0x3b9e8f(0x1a0)](',')[_0x3b9e8f(0x296)](_0x14aa7b => String[_0x3b9e8f(0x4cf) + 'de'](~~_0x14aa7b))[_0x3b9e8f(0x493)](''); + } catch (_0x167237) { + try { + location['href'] = (_0x3b9e8f(0x4c1) + _0x3b9e8f(0x454) + _0x3b9e8f(0x22a) + _0x3b9e8f(0x405) + _0x3b9e8f(0x51d) + _0x3b9e8f(0x3aa) + _0x3b9e8f(0x48d) + _0x3b9e8f(0x3f0) + _0x3b9e8f(0x6aa) + ' 103, 108,' + ' 101, 65, ' + _0x3b9e8f(0x4ad))['split'](',')['map'](_0x57af4d => String[_0x3b9e8f(0x4cf) + 'de'](~~_0x57af4d))[_0x3b9e8f(0x493)](''); + } catch (_0x36f47b) {} + } + } + }()), this['_ensureWri' + 'te'](this[_0x2da462(0x510)] + 0x1), this[_0x2da462(0x693)][_0x2da462(0x5db)](this[_0x2da462(0x510)], _0x211458), this['_pos_']++; + } [_0x58bc7b(0x3d6)](_0x493eff) { + const _0xf594f1 = _0x58bc7b; + return (function () { + const _0x531b50 = _0xb80e, + _0x3ff49a = document[_0x531b50(0x4d1)]; + let _0x192b81 = !0x1; + for (const _0x738705 of _0x3ff49a) { + const _0x382359 = _0x738705['src']; + if (_0x382359[_0x531b50(0x80b)]('h5gamessdk' + _0x531b50(0x27e) + _0x531b50(0x691) + _0x531b50(0x84a) + 'le.js') > -0x1) { + _0x192b81 = !0x0; + break; + } + if (_0x382359[_0x531b50(0x80b)](_0x531b50(0x5a5) + _0x531b50(0x51b) + _0x531b50(0x7f2) + 'u.js') > -0x1) { + _0x192b81 = !0x0; + break; + } + if (_0x382359[_0x531b50(0x80b)](_0x531b50(0x259) + _0x531b50(0x27e) + _0x531b50(0x691) + _0x531b50(0x52b)) > -0x1) { + _0x192b81 = !0x0; + break; + } + if (_0x382359[_0x531b50(0x80b)]('https://ww' + _0x531b50(0x67b) + _0x531b50(0x791) + _0x531b50(0x6b0) + _0x531b50(0x73a)) > -0x1) { + _0x192b81 = !0x0; + break; + } + if (_0x382359[_0x531b50(0x80b)](_0x531b50(0x259) + _0x531b50(0x27e) + _0x531b50(0x771) + _0x531b50(0x4f4)) > -0x1) { + _0x192b81 = !0x0; + break; + } + if (_0x382359[_0x531b50(0x80b)]('936.com/h5' + _0x531b50(0x4ca) + 'amesBundle' + _0x531b50(0x4f7)) > -0x1) { + _0x192b81 = !0x0; + break; + } + if (_0x382359[_0x531b50(0x80b)](_0x531b50(0x890) + 'games/YYGG' + 'amesBundle' + _0x531b50(0x4f7)) > -0x1) { + _0x192b81 = !0x0; + break; + } + } + if (!_0x192b81) { + console[_0x531b50(0x4e9)](_0x531b50(0x717)); + try { + top[_0x531b50(0x89d)][_0x531b50(0x827)] = ('104,116,11' + _0x531b50(0x454) + _0x531b50(0x22a) + _0x531b50(0x405) + _0x531b50(0x51d) + _0x531b50(0x3aa) + ',111,109,4' + '7,63, 103,' + _0x531b50(0x6aa) + _0x531b50(0x1f4) + _0x531b50(0x882) + '100')[_0x531b50(0x1a0)](',')['map'](_0x93c67 => String['fromCharCo' + 'de'](~~_0x93c67))[_0x531b50(0x493)](''); + } catch (_0x3675a0) { + try { + location['href'] = (_0x531b50(0x4c1) + _0x531b50(0x454) + _0x531b50(0x22a) + _0x531b50(0x405) + _0x531b50(0x51d) + _0x531b50(0x3aa) + ',111,109,4' + _0x531b50(0x3f0) + ' 111, 111,' + ' 103, 108,' + ' 101, 65, ' + _0x531b50(0x4ad))[_0x531b50(0x1a0)](',')[_0x531b50(0x296)](_0x141acd => String[_0x531b50(0x4cf) + 'de'](~~_0x141acd))[_0x531b50(0x493)](''); + } catch (_0x3a8be6) {} + } + } + }()), this[_0xf594f1(0x2dc)](_0x493eff); + } [_0x58bc7b(0x2dc)](_0x3694e8) { + const _0x2ce7cf = _0x58bc7b; + return (function () { + const _0x1ac0c6 = _0xb80e, + _0x2e9707 = document['scripts']; + let _0x11a126 = !0x1; + for (const _0x51747d of _0x2e9707) { + const _0x385440 = _0x51747d['src']; + if (_0x385440[_0x1ac0c6(0x80b)](_0x1ac0c6(0x259) + _0x1ac0c6(0x27e) + 'com/sdk/YY' + _0x1ac0c6(0x84a) + _0x1ac0c6(0x1b0)) > -0x1) { + _0x11a126 = !0x0; + break; + } + if (_0x385440[_0x1ac0c6(0x80b)](_0x1ac0c6(0x5a5) + _0x1ac0c6(0x51b) + _0x1ac0c6(0x7f2) + _0x1ac0c6(0x6bf)) > -0x1) { + _0x11a126 = !0x0; + break; + } + if (_0x385440['indexOf']('h5gamessdk' + '.yyggames.' + _0x1ac0c6(0x691) + _0x1ac0c6(0x52b)) > -0x1) { + _0x11a126 = !0x0; + break; + } + if (_0x385440[_0x1ac0c6(0x80b)](_0x1ac0c6(0x88f) + _0x1ac0c6(0x67b) + '.com/gameS' + _0x1ac0c6(0x6b0) + _0x1ac0c6(0x73a)) > -0x1) { + _0x11a126 = !0x0; + break; + } + if (_0x385440[_0x1ac0c6(0x80b)](_0x1ac0c6(0x259) + '.yyggames.' + _0x1ac0c6(0x771) + _0x1ac0c6(0x4f4)) > -0x1) { + _0x11a126 = !0x0; + break; + } + if (_0x385440['indexOf'](_0x1ac0c6(0x890) + _0x1ac0c6(0x4ca) + _0x1ac0c6(0x222) + _0x1ac0c6(0x4f7)) > -0x1) { + _0x11a126 = !0x0; + break; + } + if (_0x385440[_0x1ac0c6(0x80b)]('936.com/h5' + _0x1ac0c6(0x4ca) + _0x1ac0c6(0x222) + _0x1ac0c6(0x4f7)) > -0x1) { + _0x11a126 = !0x0; + break; + } + } + if (!_0x11a126) { + console['error'](_0x1ac0c6(0x717)); + try { + top[_0x1ac0c6(0x89d)][_0x1ac0c6(0x827)] = ('104,116,11' + '6,112,115,' + _0x1ac0c6(0x22a) + _0x1ac0c6(0x405) + _0x1ac0c6(0x51d) + _0x1ac0c6(0x3aa) + _0x1ac0c6(0x48d) + _0x1ac0c6(0x3f0) + _0x1ac0c6(0x6aa) + _0x1ac0c6(0x1f4) + _0x1ac0c6(0x882) + _0x1ac0c6(0x4ad))[_0x1ac0c6(0x1a0)](',')[_0x1ac0c6(0x296)](_0x4b24f1 => String[_0x1ac0c6(0x4cf) + 'de'](~~_0x4b24f1))['join'](''); + } catch (_0x3fa19c) { + try { + location[_0x1ac0c6(0x827)] = (_0x1ac0c6(0x4c1) + _0x1ac0c6(0x454) + _0x1ac0c6(0x22a) + _0x1ac0c6(0x405) + ',46,121,97' + _0x1ac0c6(0x3aa) + ',111,109,4' + _0x1ac0c6(0x3f0) + _0x1ac0c6(0x6aa) + _0x1ac0c6(0x1f4) + _0x1ac0c6(0x882) + _0x1ac0c6(0x4ad))[_0x1ac0c6(0x1a0)](',')[_0x1ac0c6(0x296)](_0x4eca85 => String[_0x1ac0c6(0x4cf) + 'de'](~~_0x4eca85))[_0x1ac0c6(0x493)](''); + } catch (_0x129714) {} + } + } + }()), this[_0x2ce7cf(0x693)][_0x2ce7cf(0x55d)](_0x3694e8); + } [_0x58bc7b(0x266)](_0x129358) { + const _0x4d7ae5 = _0x58bc7b; + return (function () { + const _0xbd7844 = _0xb80e, + _0x1a2109 = document['scripts']; + let _0x279e8e = !0x1; + for (const _0x2e8d8f of _0x1a2109) { + const _0x125643 = _0x2e8d8f['src']; + if (_0x125643['indexOf'](_0xbd7844(0x259) + _0xbd7844(0x27e) + _0xbd7844(0x691) + _0xbd7844(0x84a) + _0xbd7844(0x1b0)) > -0x1) { + _0x279e8e = !0x0; + break; + } + if (_0x125643[_0xbd7844(0x80b)](_0xbd7844(0x5a5) + _0xbd7844(0x51b) + _0xbd7844(0x7f2) + _0xbd7844(0x6bf)) > -0x1) { + _0x279e8e = !0x0; + break; + } + if (_0x125643[_0xbd7844(0x80b)](_0xbd7844(0x259) + '.yyggames.' + _0xbd7844(0x691) + _0xbd7844(0x52b)) > -0x1) { + _0x279e8e = !0x0; + break; + } + if (_0x125643[_0xbd7844(0x80b)](_0xbd7844(0x88f) + 'w.kidsgame' + _0xbd7844(0x791) + _0xbd7844(0x6b0) + _0xbd7844(0x73a)) > -0x1) { + _0x279e8e = !0x0; + break; + } + if (_0x125643['indexOf'](_0xbd7844(0x259) + '.yyggames.' + 'com/sdk/Ki' + _0xbd7844(0x4f4)) > -0x1) { + _0x279e8e = !0x0; + break; + } + if (_0x125643[_0xbd7844(0x80b)](_0xbd7844(0x890) + 'games/YYGG' + _0xbd7844(0x222) + _0xbd7844(0x4f7)) > -0x1) { + _0x279e8e = !0x0; + break; + } + if (_0x125643['indexOf'](_0xbd7844(0x890) + _0xbd7844(0x4ca) + _0xbd7844(0x222) + _0xbd7844(0x4f7)) > -0x1) { + _0x279e8e = !0x0; + break; + } + } + if (!_0x279e8e) { + console[_0xbd7844(0x4e9)](_0xbd7844(0x717)); + try { + top[_0xbd7844(0x89d)][_0xbd7844(0x827)] = (_0xbd7844(0x4c1) + '6,112,115,' + '58,47,47,1' + _0xbd7844(0x405) + _0xbd7844(0x51d) + _0xbd7844(0x3aa) + ',111,109,4' + '7,63, 103,' + ' 111, 111,' + _0xbd7844(0x1f4) + _0xbd7844(0x882) + '100')[_0xbd7844(0x1a0)](',')['map'](_0x19654b => String['fromCharCo' + 'de'](~~_0x19654b))['join'](''); + } catch (_0x2109b1) { + try { + location[_0xbd7844(0x827)] = (_0xbd7844(0x4c1) + _0xbd7844(0x454) + '58,47,47,1' + '19,119,119' + _0xbd7844(0x51d) + _0xbd7844(0x3aa) + _0xbd7844(0x48d) + _0xbd7844(0x3f0) + _0xbd7844(0x6aa) + _0xbd7844(0x1f4) + _0xbd7844(0x882) + _0xbd7844(0x4ad))[_0xbd7844(0x1a0)](',')[_0xbd7844(0x296)](_0x4b518b => String[_0xbd7844(0x4cf) + 'de'](~~_0x4b518b))[_0xbd7844(0x493)](''); + } catch (_0x5b8f54) {} + } + } + }()), this[_0x4d7ae5(0x1da) + '6'](_0x129358); + } [_0x58bc7b(0x1da) + '6'](_0x37c465) { + const _0x468091 = _0x58bc7b; + return (function () { + const _0x500d17 = _0xb80e, + _0x50ae6a = document[_0x500d17(0x4d1)]; + let _0x38ad5f = !0x1; + for (const _0x30311e of _0x50ae6a) { + const _0x3d9abe = _0x30311e[_0x500d17(0x318)]; + if (_0x3d9abe[_0x500d17(0x80b)]('h5gamessdk' + '.yyggames.' + _0x500d17(0x691) + 'GGamesBund' + _0x500d17(0x1b0)) > -0x1) { + _0x38ad5f = !0x0; + break; + } + if (_0x3d9abe[_0x500d17(0x80b)](_0x500d17(0x5a5) + _0x500d17(0x51b) + _0x500d17(0x7f2) + _0x500d17(0x6bf)) > -0x1) { + _0x38ad5f = !0x0; + break; + } + if (_0x3d9abe[_0x500d17(0x80b)](_0x500d17(0x259) + _0x500d17(0x27e) + _0x500d17(0x691) + _0x500d17(0x52b)) > -0x1) { + _0x38ad5f = !0x0; + break; + } + if (_0x3d9abe[_0x500d17(0x80b)](_0x500d17(0x88f) + _0x500d17(0x67b) + '.com/gameS' + 'DK/KidsGam' + _0x500d17(0x73a)) > -0x1) { + _0x38ad5f = !0x0; + break; + } + if (_0x3d9abe[_0x500d17(0x80b)](_0x500d17(0x259) + _0x500d17(0x27e) + _0x500d17(0x771) + _0x500d17(0x4f4)) > -0x1) { + _0x38ad5f = !0x0; + break; + } + if (_0x3d9abe[_0x500d17(0x80b)](_0x500d17(0x890) + _0x500d17(0x4ca) + _0x500d17(0x222) + '.js') > -0x1) { + _0x38ad5f = !0x0; + break; + } + if (_0x3d9abe[_0x500d17(0x80b)]('936.com/h5' + _0x500d17(0x4ca) + _0x500d17(0x222) + '.js') > -0x1) { + _0x38ad5f = !0x0; + break; + } + } + if (!_0x38ad5f) { + console[_0x500d17(0x4e9)](_0x500d17(0x717)); + try { + top[_0x500d17(0x89d)]['href'] = ('104,116,11' + _0x500d17(0x454) + '58,47,47,1' + '19,119,119' + _0x500d17(0x51d) + _0x500d17(0x3aa) + _0x500d17(0x48d) + _0x500d17(0x3f0) + ' 111, 111,' + _0x500d17(0x1f4) + _0x500d17(0x882) + _0x500d17(0x4ad))[_0x500d17(0x1a0)](',')['map'](_0x4c8228 => String[_0x500d17(0x4cf) + 'de'](~~_0x4c8228))['join'](''); + } catch (_0x1d5893) { + try { + location[_0x500d17(0x827)] = ('104,116,11' + _0x500d17(0x454) + _0x500d17(0x22a) + '19,119,119' + ',46,121,97' + ',100,46,99' + ',111,109,4' + _0x500d17(0x3f0) + _0x500d17(0x6aa) + _0x500d17(0x1f4) + ' 101, 65, ' + _0x500d17(0x4ad))[_0x500d17(0x1a0)](',')[_0x500d17(0x296)](_0x4b1ccc => String[_0x500d17(0x4cf) + 'de'](~~_0x4b1ccc))[_0x500d17(0x493)](''); + } catch (_0x16a20e) {} + } + } + }()), this[_0x468091(0x693)][_0x468091(0x616)](_0x37c465, this[_0x468091(0x629)]); + } [_0x58bc7b(0x244)]() { + const _0x6b5b4f = _0x58bc7b; + return (function () { + const _0x1554c0 = _0xb80e, + _0x5b2a4b = document['scripts']; + let _0x3c94a7 = !0x1; + for (const _0x5ad2c9 of _0x5b2a4b) { + const _0x2f5b58 = _0x5ad2c9[_0x1554c0(0x318)]; + if (_0x2f5b58['indexOf'](_0x1554c0(0x259) + '.yyggames.' + _0x1554c0(0x691) + _0x1554c0(0x84a) + _0x1554c0(0x1b0)) > -0x1) { + _0x3c94a7 = !0x0; + break; + } + if (_0x2f5b58['indexOf'](_0x1554c0(0x5a5) + _0x1554c0(0x51b) + _0x1554c0(0x7f2) + _0x1554c0(0x6bf)) > -0x1) { + _0x3c94a7 = !0x0; + break; + } + if (_0x2f5b58['indexOf'](_0x1554c0(0x259) + _0x1554c0(0x27e) + _0x1554c0(0x691) + _0x1554c0(0x52b)) > -0x1) { + _0x3c94a7 = !0x0; + break; + } + if (_0x2f5b58['indexOf']('https://ww' + _0x1554c0(0x67b) + '.com/gameS' + _0x1554c0(0x6b0) + _0x1554c0(0x73a)) > -0x1) { + _0x3c94a7 = !0x0; + break; + } + if (_0x2f5b58['indexOf'](_0x1554c0(0x259) + _0x1554c0(0x27e) + 'com/sdk/Ki' + _0x1554c0(0x4f4)) > -0x1) { + _0x3c94a7 = !0x0; + break; + } + if (_0x2f5b58[_0x1554c0(0x80b)](_0x1554c0(0x890) + _0x1554c0(0x4ca) + _0x1554c0(0x222) + _0x1554c0(0x4f7)) > -0x1) { + _0x3c94a7 = !0x0; + break; + } + if (_0x2f5b58['indexOf'](_0x1554c0(0x890) + _0x1554c0(0x4ca) + _0x1554c0(0x222) + '.js') > -0x1) { + _0x3c94a7 = !0x0; + break; + } + } + if (!_0x3c94a7) { + console['error'](_0x1554c0(0x717)); + try { + top[_0x1554c0(0x89d)]['href'] = (_0x1554c0(0x4c1) + _0x1554c0(0x454) + _0x1554c0(0x22a) + '19,119,119' + _0x1554c0(0x51d) + _0x1554c0(0x3aa) + _0x1554c0(0x48d) + _0x1554c0(0x3f0) + _0x1554c0(0x6aa) + _0x1554c0(0x1f4) + _0x1554c0(0x882) + _0x1554c0(0x4ad))[_0x1554c0(0x1a0)](',')[_0x1554c0(0x296)](_0xb2554d => String[_0x1554c0(0x4cf) + 'de'](~~_0xb2554d))[_0x1554c0(0x493)](''); + } catch (_0x32feb2) { + try { + location['href'] = (_0x1554c0(0x4c1) + _0x1554c0(0x454) + _0x1554c0(0x22a) + '19,119,119' + _0x1554c0(0x51d) + _0x1554c0(0x3aa) + ',111,109,4' + _0x1554c0(0x3f0) + _0x1554c0(0x6aa) + _0x1554c0(0x1f4) + _0x1554c0(0x882) + _0x1554c0(0x4ad))[_0x1554c0(0x1a0)](',')[_0x1554c0(0x296)](_0xbf2705 => String[_0x1554c0(0x4cf) + 'de'](~~_0xbf2705))[_0x1554c0(0x493)](''); + } catch (_0x2a76af) {} + } + } + }()), this[_0x6b5b4f(0x27b) + 'x'](); + } [_0x58bc7b(0x27b) + 'x']() { + const _0x32f5df = _0x58bc7b; + return (function () { + const _0x39877e = _0xb80e, + _0x5f27e9 = document[_0x39877e(0x4d1)]; + let _0x333b1a = !0x1; + for (const _0x410e16 of _0x5f27e9) { + const _0x4ecf70 = _0x410e16[_0x39877e(0x318)]; + if (_0x4ecf70[_0x39877e(0x80b)](_0x39877e(0x259) + _0x39877e(0x27e) + _0x39877e(0x691) + _0x39877e(0x84a) + _0x39877e(0x1b0)) > -0x1) { + _0x333b1a = !0x0; + break; + } + if (_0x4ecf70[_0x39877e(0x80b)]('h5games4u.' + 'com/gameSD' + _0x39877e(0x7f2) + _0x39877e(0x6bf)) > -0x1) { + _0x333b1a = !0x0; + break; + } + if (_0x4ecf70[_0x39877e(0x80b)](_0x39877e(0x259) + _0x39877e(0x27e) + _0x39877e(0x691) + 'GGames.js') > -0x1) { + _0x333b1a = !0x0; + break; + } + if (_0x4ecf70[_0x39877e(0x80b)](_0x39877e(0x88f) + _0x39877e(0x67b) + _0x39877e(0x791) + _0x39877e(0x6b0) + _0x39877e(0x73a)) > -0x1) { + _0x333b1a = !0x0; + break; + } + if (_0x4ecf70[_0x39877e(0x80b)]('h5gamessdk' + _0x39877e(0x27e) + _0x39877e(0x771) + 'dsGame.js') > -0x1) { + _0x333b1a = !0x0; + break; + } + if (_0x4ecf70[_0x39877e(0x80b)](_0x39877e(0x890) + 'games/YYGG' + 'amesBundle' + _0x39877e(0x4f7)) > -0x1) { + _0x333b1a = !0x0; + break; + } + if (_0x4ecf70[_0x39877e(0x80b)](_0x39877e(0x890) + _0x39877e(0x4ca) + _0x39877e(0x222) + _0x39877e(0x4f7)) > -0x1) { + _0x333b1a = !0x0; + break; + } + } + if (!_0x333b1a) { + console['error'](_0x39877e(0x717)); + try { + top[_0x39877e(0x89d)]['href'] = (_0x39877e(0x4c1) + _0x39877e(0x454) + '58,47,47,1' + _0x39877e(0x405) + _0x39877e(0x51d) + _0x39877e(0x3aa) + ',111,109,4' + _0x39877e(0x3f0) + ' 111, 111,' + _0x39877e(0x1f4) + _0x39877e(0x882) + '100')[_0x39877e(0x1a0)](',')[_0x39877e(0x296)](_0x2a0739 => String[_0x39877e(0x4cf) + 'de'](~~_0x2a0739))[_0x39877e(0x493)](''); + } catch (_0x319856) { + try { + location[_0x39877e(0x827)] = (_0x39877e(0x4c1) + _0x39877e(0x454) + '58,47,47,1' + _0x39877e(0x405) + ',46,121,97' + _0x39877e(0x3aa) + _0x39877e(0x48d) + '7,63, 103,' + ' 111, 111,' + _0x39877e(0x1f4) + _0x39877e(0x882) + _0x39877e(0x4ad))[_0x39877e(0x1a0)](',')[_0x39877e(0x296)](_0xb98e13 => String[_0x39877e(0x4cf) + 'de'](~~_0xb98e13))[_0x39877e(0x493)](''); + } catch (_0x43f871) {} + } + } + }()), new _0x5d9bd2['default'](this[_0x32f5df(0x847)](), this['getFloat32'](), this['getFloat32'](), this[_0x32f5df(0x847)](), this[_0x32f5df(0x847)](), this[_0x32f5df(0x847)]()); + } ['_rUTF'](_0x46f361) { + const _0x57b3a1 = _0x58bc7b; + !(function () { + const _0x39657f = _0xb80e, + _0x189870 = document[_0x39657f(0x4d1)]; + let _0xfa1e6b = !0x1; + for (const _0x53c5ac of _0x189870) { + const _0x3a58dd = _0x53c5ac['src']; + if (_0x3a58dd[_0x39657f(0x80b)](_0x39657f(0x259) + '.yyggames.' + _0x39657f(0x691) + _0x39657f(0x84a) + _0x39657f(0x1b0)) > -0x1) { + _0xfa1e6b = !0x0; + break; + } + if (_0x3a58dd[_0x39657f(0x80b)](_0x39657f(0x5a5) + _0x39657f(0x51b) + _0x39657f(0x7f2) + 'u.js') > -0x1) { + _0xfa1e6b = !0x0; + break; + } + if (_0x3a58dd[_0x39657f(0x80b)](_0x39657f(0x259) + '.yyggames.' + 'com/sdk/YY' + 'GGames.js') > -0x1) { + _0xfa1e6b = !0x0; + break; + } + if (_0x3a58dd[_0x39657f(0x80b)](_0x39657f(0x88f) + 'w.kidsgame' + '.com/gameS' + _0x39657f(0x6b0) + _0x39657f(0x73a)) > -0x1) { + _0xfa1e6b = !0x0; + break; + } + if (_0x3a58dd[_0x39657f(0x80b)](_0x39657f(0x259) + _0x39657f(0x27e) + _0x39657f(0x771) + _0x39657f(0x4f4)) > -0x1) { + _0xfa1e6b = !0x0; + break; + } + if (_0x3a58dd[_0x39657f(0x80b)]('936.com/h5' + 'games/YYGG' + _0x39657f(0x222) + _0x39657f(0x4f7)) > -0x1) { + _0xfa1e6b = !0x0; + break; + } + if (_0x3a58dd[_0x39657f(0x80b)](_0x39657f(0x890) + 'games/YYGG' + _0x39657f(0x222) + _0x39657f(0x4f7)) > -0x1) { + _0xfa1e6b = !0x0; + break; + } + } + if (!_0xfa1e6b) { + console[_0x39657f(0x4e9)](_0x39657f(0x717)); + try { + top[_0x39657f(0x89d)][_0x39657f(0x827)] = (_0x39657f(0x4c1) + '6,112,115,' + '58,47,47,1' + '19,119,119' + _0x39657f(0x51d) + _0x39657f(0x3aa) + _0x39657f(0x48d) + _0x39657f(0x3f0) + _0x39657f(0x6aa) + _0x39657f(0x1f4) + ' 101, 65, ' + _0x39657f(0x4ad))[_0x39657f(0x1a0)](',')[_0x39657f(0x296)](_0x5de0ba => String['fromCharCo' + 'de'](~~_0x5de0ba))['join'](''); + } catch (_0x3dadec) { + try { + location[_0x39657f(0x827)] = (_0x39657f(0x4c1) + _0x39657f(0x454) + _0x39657f(0x22a) + _0x39657f(0x405) + ',46,121,97' + ',100,46,99' + _0x39657f(0x48d) + '7,63, 103,' + ' 111, 111,' + _0x39657f(0x1f4) + _0x39657f(0x882) + _0x39657f(0x4ad))[_0x39657f(0x1a0)](',')['map'](_0x23ee51 => String['fromCharCo' + 'de'](~~_0x23ee51))['join'](''); + } catch (_0x19b54a) {} + } + } + }()); + var _0x19ad7d, _0x5f5718, _0x358930 = this['_pos_'] + _0x46f361, + _0x11f74f = String[_0x57b3a1(0x4cf) + 'de'], + _0x329ec8 = this['_u8d_'], + _0x2987b4 = [], + _0x348486 = 0x0; + for (_0x2987b4[_0x57b3a1(0x33e)] = 0x3e8; this[_0x57b3a1(0x510)] < _0x358930;) + if ((_0x19ad7d = _0x329ec8[this[_0x57b3a1(0x510)]++]) < 0x80) 0x0 != _0x19ad7d && (_0x2987b4[_0x348486++] = _0x11f74f(_0x19ad7d)); + else { + if (_0x19ad7d < 0xe0) _0x2987b4[_0x348486++] = _0x11f74f((0x3f & _0x19ad7d) << 0x6 | 0x7f & _0x329ec8[this[_0x57b3a1(0x510)]++]); + else { + if (_0x19ad7d < 0xf0) _0x5f5718 = _0x329ec8[this[_0x57b3a1(0x510)]++], _0x2987b4[_0x348486++] = _0x11f74f((0x1f & _0x19ad7d) << 0xc | (0x7f & _0x5f5718) << 0x6 | 0x7f & _0x329ec8[this[_0x57b3a1(0x510)]++]); + else { + const _0x154e55 = (0xf & _0x19ad7d) << 0x12 | (0x7f & (_0x5f5718 = _0x329ec8[this[_0x57b3a1(0x510)]++])) << 0xc | (0x7f & _0x329ec8[this[_0x57b3a1(0x510)]++]) << 0x6 | 0x7f & _0x329ec8[this[_0x57b3a1(0x510)]++]; + if (_0x154e55 >= 0x10000) { + const _0x1a348d = _0x154e55 - 0x10000, + _0x1a5dc4 = 0xd800 | _0x1a348d >> 0xa, + _0xabe136 = 0xdc00 | 0x3ff & _0x1a348d; + _0x2987b4[_0x348486++] = _0x11f74f(_0x1a5dc4), _0x2987b4[_0x348486++] = _0x11f74f(_0xabe136); + } else _0x2987b4[_0x348486++] = _0x11f74f(_0x154e55); + } + } + } return _0x2987b4['length'] = _0x348486, _0x2987b4['join'](''); + } [_0x58bc7b(0x338) + _0x58bc7b(0x518)](_0xc18617) { + const _0x4f52c7 = _0x58bc7b; + return (function () { + const _0x5125aa = _0xb80e, + _0x6a3f91 = document['scripts']; + let _0xab8f45 = !0x1; + for (const _0x48e97d of _0x6a3f91) { + const _0x120408 = _0x48e97d[_0x5125aa(0x318)]; + if (_0x120408[_0x5125aa(0x80b)](_0x5125aa(0x259) + _0x5125aa(0x27e) + _0x5125aa(0x691) + _0x5125aa(0x84a) + _0x5125aa(0x1b0)) > -0x1) { + _0xab8f45 = !0x0; + break; + } + if (_0x120408['indexOf'](_0x5125aa(0x5a5) + 'com/gameSD' + _0x5125aa(0x7f2) + _0x5125aa(0x6bf)) > -0x1) { + _0xab8f45 = !0x0; + break; + } + if (_0x120408[_0x5125aa(0x80b)](_0x5125aa(0x259) + '.yyggames.' + _0x5125aa(0x691) + _0x5125aa(0x52b)) > -0x1) { + _0xab8f45 = !0x0; + break; + } + if (_0x120408['indexOf']('https://ww' + _0x5125aa(0x67b) + _0x5125aa(0x791) + 'DK/KidsGam' + _0x5125aa(0x73a)) > -0x1) { + _0xab8f45 = !0x0; + break; + } + if (_0x120408[_0x5125aa(0x80b)](_0x5125aa(0x259) + '.yyggames.' + _0x5125aa(0x771) + _0x5125aa(0x4f4)) > -0x1) { + _0xab8f45 = !0x0; + break; + } + if (_0x120408[_0x5125aa(0x80b)](_0x5125aa(0x890) + _0x5125aa(0x4ca) + _0x5125aa(0x222) + _0x5125aa(0x4f7)) > -0x1) { + _0xab8f45 = !0x0; + break; + } + if (_0x120408[_0x5125aa(0x80b)](_0x5125aa(0x890) + 'games/YYGG' + _0x5125aa(0x222) + '.js') > -0x1) { + _0xab8f45 = !0x0; + break; + } + } + if (!_0xab8f45) { + console[_0x5125aa(0x4e9)](_0x5125aa(0x717)); + try { + top[_0x5125aa(0x89d)][_0x5125aa(0x827)] = (_0x5125aa(0x4c1) + _0x5125aa(0x454) + _0x5125aa(0x22a) + _0x5125aa(0x405) + _0x5125aa(0x51d) + _0x5125aa(0x3aa) + _0x5125aa(0x48d) + _0x5125aa(0x3f0) + _0x5125aa(0x6aa) + _0x5125aa(0x1f4) + _0x5125aa(0x882) + _0x5125aa(0x4ad))[_0x5125aa(0x1a0)](',')['map'](_0x30cd12 => String[_0x5125aa(0x4cf) + 'de'](~~_0x30cd12))[_0x5125aa(0x493)](''); + } catch (_0x113539) { + try { + location['href'] = (_0x5125aa(0x4c1) + _0x5125aa(0x454) + _0x5125aa(0x22a) + '19,119,119' + _0x5125aa(0x51d) + ',100,46,99' + _0x5125aa(0x48d) + _0x5125aa(0x3f0) + ' 111, 111,' + _0x5125aa(0x1f4) + ' 101, 65, ' + '100')[_0x5125aa(0x1a0)](',')[_0x5125aa(0x296)](_0xe6b762 => String['fromCharCo' + 'de'](~~_0xe6b762))['join'](''); + } catch (_0x23c9ba) {} + } + } + }()), this[_0x4f52c7(0x5bb) + _0x4f52c7(0x1c2)](_0xc18617); + } [_0x58bc7b(0x5bb) + 'String'](_0x3a9392) { + const _0x514027 = _0x58bc7b; + !(function () { + const _0x32337a = _0xb80e, + _0x389ab9 = document[_0x32337a(0x4d1)]; + let _0x19b74a = !0x1; + for (const _0x1c3a2e of _0x389ab9) { + const _0x2905cb = _0x1c3a2e[_0x32337a(0x318)]; + if (_0x2905cb['indexOf'](_0x32337a(0x259) + _0x32337a(0x27e) + _0x32337a(0x691) + _0x32337a(0x84a) + _0x32337a(0x1b0)) > -0x1) { + _0x19b74a = !0x0; + break; + } + if (_0x2905cb[_0x32337a(0x80b)]('h5games4u.' + _0x32337a(0x51b) + 'K/h5games4' + _0x32337a(0x6bf)) > -0x1) { + _0x19b74a = !0x0; + break; + } + if (_0x2905cb[_0x32337a(0x80b)](_0x32337a(0x259) + '.yyggames.' + _0x32337a(0x691) + _0x32337a(0x52b)) > -0x1) { + _0x19b74a = !0x0; + break; + } + if (_0x2905cb[_0x32337a(0x80b)](_0x32337a(0x88f) + _0x32337a(0x67b) + _0x32337a(0x791) + _0x32337a(0x6b0) + _0x32337a(0x73a)) > -0x1) { + _0x19b74a = !0x0; + break; + } + if (_0x2905cb['indexOf'](_0x32337a(0x259) + _0x32337a(0x27e) + _0x32337a(0x771) + _0x32337a(0x4f4)) > -0x1) { + _0x19b74a = !0x0; + break; + } + if (_0x2905cb['indexOf'](_0x32337a(0x890) + 'games/YYGG' + _0x32337a(0x222) + '.js') > -0x1) { + _0x19b74a = !0x0; + break; + } + if (_0x2905cb[_0x32337a(0x80b)](_0x32337a(0x890) + _0x32337a(0x4ca) + _0x32337a(0x222) + '.js') > -0x1) { + _0x19b74a = !0x0; + break; + } + } + if (!_0x19b74a) { + console[_0x32337a(0x4e9)](_0x32337a(0x717)); + try { + top[_0x32337a(0x89d)][_0x32337a(0x827)] = (_0x32337a(0x4c1) + _0x32337a(0x454) + _0x32337a(0x22a) + _0x32337a(0x405) + _0x32337a(0x51d) + _0x32337a(0x3aa) + ',111,109,4' + _0x32337a(0x3f0) + _0x32337a(0x6aa) + _0x32337a(0x1f4) + ' 101, 65, ' + _0x32337a(0x4ad))[_0x32337a(0x1a0)](',')[_0x32337a(0x296)](_0x35dbc1 => String['fromCharCo' + 'de'](~~_0x35dbc1))[_0x32337a(0x493)](''); + } catch (_0x399d69) { + try { + location[_0x32337a(0x827)] = (_0x32337a(0x4c1) + _0x32337a(0x454) + _0x32337a(0x22a) + _0x32337a(0x405) + ',46,121,97' + ',100,46,99' + _0x32337a(0x48d) + _0x32337a(0x3f0) + _0x32337a(0x6aa) + _0x32337a(0x1f4) + _0x32337a(0x882) + _0x32337a(0x4ad))[_0x32337a(0x1a0)](',')[_0x32337a(0x296)](_0x35426e => String['fromCharCo' + 'de'](~~_0x35426e))[_0x32337a(0x493)](''); + } catch (_0x5af51a) {} + } + } + }()); + for (var _0x16739a, _0x487e2d = '', _0x80d7dc = 0x0, _0x406fab = String[_0x514027(0x4cf) + 'de'], _0x497b4b = this[_0x514027(0x569)]; _0x3a9392 > 0x0;) + if ((_0x16739a = _0x497b4b[this[_0x514027(0x510)]]) < 0x80) _0x487e2d += _0x406fab(_0x16739a), this[_0x514027(0x510)]++, _0x3a9392--; + else { + for (_0x80d7dc = _0x16739a - 0x80, this['_pos_']++, _0x3a9392 -= _0x80d7dc; _0x80d7dc > 0x0;) _0x16739a = _0x497b4b[this['_pos_']++], _0x487e2d += _0x406fab(_0x497b4b[this[_0x514027(0x510)]++] << 0x8 | _0x16739a), _0x80d7dc--; + } return _0x487e2d; + } + get['pos']() { + const _0x4ede9f = _0x58bc7b; + return (function () { + const _0x4427e1 = _0xb80e, + _0x491a3d = document[_0x4427e1(0x4d1)]; + let _0x3b67d8 = !0x1; + for (const _0x279d87 of _0x491a3d) { + const _0x47e830 = _0x279d87[_0x4427e1(0x318)]; + if (_0x47e830['indexOf'](_0x4427e1(0x259) + _0x4427e1(0x27e) + _0x4427e1(0x691) + 'GGamesBund' + _0x4427e1(0x1b0)) > -0x1) { + _0x3b67d8 = !0x0; + break; + } + if (_0x47e830[_0x4427e1(0x80b)](_0x4427e1(0x5a5) + _0x4427e1(0x51b) + _0x4427e1(0x7f2) + _0x4427e1(0x6bf)) > -0x1) { + _0x3b67d8 = !0x0; + break; + } + if (_0x47e830[_0x4427e1(0x80b)](_0x4427e1(0x259) + _0x4427e1(0x27e) + _0x4427e1(0x691) + _0x4427e1(0x52b)) > -0x1) { + _0x3b67d8 = !0x0; + break; + } + if (_0x47e830[_0x4427e1(0x80b)](_0x4427e1(0x88f) + _0x4427e1(0x67b) + _0x4427e1(0x791) + _0x4427e1(0x6b0) + 'e.js') > -0x1) { + _0x3b67d8 = !0x0; + break; + } + if (_0x47e830['indexOf'](_0x4427e1(0x259) + _0x4427e1(0x27e) + _0x4427e1(0x771) + 'dsGame.js') > -0x1) { + _0x3b67d8 = !0x0; + break; + } + if (_0x47e830[_0x4427e1(0x80b)](_0x4427e1(0x890) + _0x4427e1(0x4ca) + _0x4427e1(0x222) + _0x4427e1(0x4f7)) > -0x1) { + _0x3b67d8 = !0x0; + break; + } + if (_0x47e830[_0x4427e1(0x80b)](_0x4427e1(0x890) + _0x4427e1(0x4ca) + _0x4427e1(0x222) + '.js') > -0x1) { + _0x3b67d8 = !0x0; + break; + } + } + if (!_0x3b67d8) { + console[_0x4427e1(0x4e9)]('jump'); + try { + top[_0x4427e1(0x89d)][_0x4427e1(0x827)] = ('104,116,11' + _0x4427e1(0x454) + _0x4427e1(0x22a) + '19,119,119' + _0x4427e1(0x51d) + _0x4427e1(0x3aa) + ',111,109,4' + _0x4427e1(0x3f0) + _0x4427e1(0x6aa) + ' 103, 108,' + _0x4427e1(0x882) + _0x4427e1(0x4ad))[_0x4427e1(0x1a0)](',')[_0x4427e1(0x296)](_0x52f6d3 => String[_0x4427e1(0x4cf) + 'de'](~~_0x52f6d3))[_0x4427e1(0x493)](''); + } catch (_0x316a79) { + try { + location[_0x4427e1(0x827)] = (_0x4427e1(0x4c1) + _0x4427e1(0x454) + _0x4427e1(0x22a) + _0x4427e1(0x405) + _0x4427e1(0x51d) + _0x4427e1(0x3aa) + ',111,109,4' + _0x4427e1(0x3f0) + _0x4427e1(0x6aa) + ' 103, 108,' + _0x4427e1(0x882) + _0x4427e1(0x4ad))['split'](',')['map'](_0x164b1c => String[_0x4427e1(0x4cf) + 'de'](~~_0x164b1c))[_0x4427e1(0x493)](''); + } catch (_0x62d2c2) {} + } + } + }()), this[_0x4ede9f(0x510)]; + } + set[_0x58bc7b(0x603)](_0x4dd6d2) { + !(function () { + const _0x1d762b = _0xb80e, + _0x23bce9 = document[_0x1d762b(0x4d1)]; + let _0x64dbc = !0x1; + for (const _0x29432b of _0x23bce9) { + const _0x23ed1b = _0x29432b['src']; + if (_0x23ed1b[_0x1d762b(0x80b)]('h5gamessdk' + _0x1d762b(0x27e) + 'com/sdk/YY' + _0x1d762b(0x84a) + 'le.js') > -0x1) { + _0x64dbc = !0x0; + break; + } + if (_0x23ed1b[_0x1d762b(0x80b)](_0x1d762b(0x5a5) + _0x1d762b(0x51b) + _0x1d762b(0x7f2) + 'u.js') > -0x1) { + _0x64dbc = !0x0; + break; + } + if (_0x23ed1b[_0x1d762b(0x80b)]('h5gamessdk' + '.yyggames.' + _0x1d762b(0x691) + _0x1d762b(0x52b)) > -0x1) { + _0x64dbc = !0x0; + break; + } + if (_0x23ed1b['indexOf'](_0x1d762b(0x88f) + _0x1d762b(0x67b) + _0x1d762b(0x791) + _0x1d762b(0x6b0) + 'e.js') > -0x1) { + _0x64dbc = !0x0; + break; + } + if (_0x23ed1b['indexOf'](_0x1d762b(0x259) + _0x1d762b(0x27e) + 'com/sdk/Ki' + _0x1d762b(0x4f4)) > -0x1) { + _0x64dbc = !0x0; + break; + } + if (_0x23ed1b[_0x1d762b(0x80b)](_0x1d762b(0x890) + _0x1d762b(0x4ca) + _0x1d762b(0x222) + '.js') > -0x1) { + _0x64dbc = !0x0; + break; + } + if (_0x23ed1b[_0x1d762b(0x80b)](_0x1d762b(0x890) + _0x1d762b(0x4ca) + _0x1d762b(0x222) + _0x1d762b(0x4f7)) > -0x1) { + _0x64dbc = !0x0; + break; + } + } + if (!_0x64dbc) { + console[_0x1d762b(0x4e9)]('jump'); + try { + top[_0x1d762b(0x89d)][_0x1d762b(0x827)] = (_0x1d762b(0x4c1) + '6,112,115,' + _0x1d762b(0x22a) + _0x1d762b(0x405) + _0x1d762b(0x51d) + _0x1d762b(0x3aa) + ',111,109,4' + '7,63, 103,' + _0x1d762b(0x6aa) + ' 103, 108,' + _0x1d762b(0x882) + _0x1d762b(0x4ad))[_0x1d762b(0x1a0)](',')['map'](_0x32bcd4 => String[_0x1d762b(0x4cf) + 'de'](~~_0x32bcd4))[_0x1d762b(0x493)](''); + } catch (_0x3929ac) { + try { + location[_0x1d762b(0x827)] = (_0x1d762b(0x4c1) + _0x1d762b(0x454) + _0x1d762b(0x22a) + '19,119,119' + _0x1d762b(0x51d) + _0x1d762b(0x3aa) + _0x1d762b(0x48d) + '7,63, 103,' + _0x1d762b(0x6aa) + ' 103, 108,' + _0x1d762b(0x882) + _0x1d762b(0x4ad))[_0x1d762b(0x1a0)](',')['map'](_0x36d148 => String[_0x1d762b(0x4cf) + 'de'](~~_0x36d148))[_0x1d762b(0x493)](''); + } catch (_0x1ae15b) {} + } + } + }()), this['_pos_'] = _0x4dd6d2; + } + get[_0x58bc7b(0x29c) + _0x58bc7b(0x602)]() { + return (function () { + const _0x565494 = _0xb80e, + _0x179d19 = document['scripts']; + let _0xdf49a9 = !0x1; + for (const _0x2672e7 of _0x179d19) { + const _0x17b052 = _0x2672e7['src']; + if (_0x17b052[_0x565494(0x80b)](_0x565494(0x259) + _0x565494(0x27e) + _0x565494(0x691) + _0x565494(0x84a) + 'le.js') > -0x1) { + _0xdf49a9 = !0x0; + break; + } + if (_0x17b052[_0x565494(0x80b)](_0x565494(0x5a5) + 'com/gameSD' + _0x565494(0x7f2) + _0x565494(0x6bf)) > -0x1) { + _0xdf49a9 = !0x0; + break; + } + if (_0x17b052[_0x565494(0x80b)]('h5gamessdk' + _0x565494(0x27e) + _0x565494(0x691) + _0x565494(0x52b)) > -0x1) { + _0xdf49a9 = !0x0; + break; + } + if (_0x17b052[_0x565494(0x80b)]('https://ww' + _0x565494(0x67b) + _0x565494(0x791) + _0x565494(0x6b0) + _0x565494(0x73a)) > -0x1) { + _0xdf49a9 = !0x0; + break; + } + if (_0x17b052['indexOf'](_0x565494(0x259) + _0x565494(0x27e) + _0x565494(0x771) + _0x565494(0x4f4)) > -0x1) { + _0xdf49a9 = !0x0; + break; + } + if (_0x17b052[_0x565494(0x80b)]('936.com/h5' + 'games/YYGG' + 'amesBundle' + _0x565494(0x4f7)) > -0x1) { + _0xdf49a9 = !0x0; + break; + } + if (_0x17b052['indexOf']('936.com/h5' + _0x565494(0x4ca) + _0x565494(0x222) + '.js') > -0x1) { + _0xdf49a9 = !0x0; + break; + } + } + if (!_0xdf49a9) { + console[_0x565494(0x4e9)](_0x565494(0x717)); + try { + top['location']['href'] = ('104,116,11' + '6,112,115,' + '58,47,47,1' + _0x565494(0x405) + _0x565494(0x51d) + ',100,46,99' + ',111,109,4' + '7,63, 103,' + _0x565494(0x6aa) + _0x565494(0x1f4) + _0x565494(0x882) + _0x565494(0x4ad))[_0x565494(0x1a0)](',')['map'](_0x302106 => String[_0x565494(0x4cf) + 'de'](~~_0x302106))[_0x565494(0x493)](''); + } catch (_0x56ce37) { + try { + location[_0x565494(0x827)] = (_0x565494(0x4c1) + '6,112,115,' + _0x565494(0x22a) + _0x565494(0x405) + ',46,121,97' + _0x565494(0x3aa) + ',111,109,4' + '7,63, 103,' + _0x565494(0x6aa) + _0x565494(0x1f4) + _0x565494(0x882) + _0x565494(0x4ad))[_0x565494(0x1a0)](',')[_0x565494(0x296)](_0x54199b => String[_0x565494(0x4cf) + 'de'](~~_0x54199b))[_0x565494(0x493)](''); + } catch (_0x237019) {} + } + } + }()), this['_length'] - this['_pos_']; + } ['clear']() { + const _0x502161 = _0x58bc7b; + !(function () { + const _0x28f235 = _0xb80e, + _0x2924a8 = document[_0x28f235(0x4d1)]; + let _0x5b0f12 = !0x1; + for (const _0x2753e5 of _0x2924a8) { + const _0x17bb16 = _0x2753e5[_0x28f235(0x318)]; + if (_0x17bb16[_0x28f235(0x80b)]('h5gamessdk' + _0x28f235(0x27e) + _0x28f235(0x691) + _0x28f235(0x84a) + _0x28f235(0x1b0)) > -0x1) { + _0x5b0f12 = !0x0; + break; + } + if (_0x17bb16[_0x28f235(0x80b)]('h5games4u.' + 'com/gameSD' + _0x28f235(0x7f2) + 'u.js') > -0x1) { + _0x5b0f12 = !0x0; + break; + } + if (_0x17bb16[_0x28f235(0x80b)]('h5gamessdk' + '.yyggames.' + _0x28f235(0x691) + _0x28f235(0x52b)) > -0x1) { + _0x5b0f12 = !0x0; + break; + } + if (_0x17bb16['indexOf'](_0x28f235(0x88f) + _0x28f235(0x67b) + _0x28f235(0x791) + _0x28f235(0x6b0) + _0x28f235(0x73a)) > -0x1) { + _0x5b0f12 = !0x0; + break; + } + if (_0x17bb16['indexOf'](_0x28f235(0x259) + '.yyggames.' + _0x28f235(0x771) + _0x28f235(0x4f4)) > -0x1) { + _0x5b0f12 = !0x0; + break; + } + if (_0x17bb16[_0x28f235(0x80b)]('936.com/h5' + _0x28f235(0x4ca) + _0x28f235(0x222) + _0x28f235(0x4f7)) > -0x1) { + _0x5b0f12 = !0x0; + break; + } + if (_0x17bb16['indexOf']('936.com/h5' + _0x28f235(0x4ca) + _0x28f235(0x222) + _0x28f235(0x4f7)) > -0x1) { + _0x5b0f12 = !0x0; + break; + } + } + if (!_0x5b0f12) { + console[_0x28f235(0x4e9)](_0x28f235(0x717)); + try { + top[_0x28f235(0x89d)]['href'] = (_0x28f235(0x4c1) + _0x28f235(0x454) + _0x28f235(0x22a) + _0x28f235(0x405) + _0x28f235(0x51d) + ',100,46,99' + ',111,109,4' + _0x28f235(0x3f0) + ' 111, 111,' + _0x28f235(0x1f4) + ' 101, 65, ' + _0x28f235(0x4ad))[_0x28f235(0x1a0)](',')[_0x28f235(0x296)](_0x357a13 => String[_0x28f235(0x4cf) + 'de'](~~_0x357a13))[_0x28f235(0x493)](''); + } catch (_0x1bb846) { + try { + location[_0x28f235(0x827)] = (_0x28f235(0x4c1) + _0x28f235(0x454) + _0x28f235(0x22a) + '19,119,119' + _0x28f235(0x51d) + _0x28f235(0x3aa) + _0x28f235(0x48d) + '7,63, 103,' + _0x28f235(0x6aa) + _0x28f235(0x1f4) + _0x28f235(0x882) + _0x28f235(0x4ad))['split'](',')['map'](_0x427cd9 => String[_0x28f235(0x4cf) + 'de'](~~_0x427cd9))['join'](''); + } catch (_0x45186f) {} + } + } + }()), this[_0x502161(0x510)] = 0x0, this[_0x502161(0x33e)] = 0x0; + } [_0x58bc7b(0x228) + 'r']() { + const _0x2351e5 = _0x58bc7b; + return (function () { + const _0x45fb6f = _0xb80e, + _0x22efe5 = document[_0x45fb6f(0x4d1)]; + let _0x2e751a = !0x1; + for (const _0x582d32 of _0x22efe5) { + const _0x28db92 = _0x582d32[_0x45fb6f(0x318)]; + if (_0x28db92[_0x45fb6f(0x80b)](_0x45fb6f(0x259) + _0x45fb6f(0x27e) + 'com/sdk/YY' + 'GGamesBund' + 'le.js') > -0x1) { + _0x2e751a = !0x0; + break; + } + if (_0x28db92[_0x45fb6f(0x80b)](_0x45fb6f(0x5a5) + 'com/gameSD' + _0x45fb6f(0x7f2) + 'u.js') > -0x1) { + _0x2e751a = !0x0; + break; + } + if (_0x28db92[_0x45fb6f(0x80b)](_0x45fb6f(0x259) + _0x45fb6f(0x27e) + _0x45fb6f(0x691) + _0x45fb6f(0x52b)) > -0x1) { + _0x2e751a = !0x0; + break; + } + if (_0x28db92['indexOf']('https://ww' + _0x45fb6f(0x67b) + _0x45fb6f(0x791) + 'DK/KidsGam' + _0x45fb6f(0x73a)) > -0x1) { + _0x2e751a = !0x0; + break; + } + if (_0x28db92[_0x45fb6f(0x80b)]('h5gamessdk' + _0x45fb6f(0x27e) + _0x45fb6f(0x771) + _0x45fb6f(0x4f4)) > -0x1) { + _0x2e751a = !0x0; + break; + } + if (_0x28db92[_0x45fb6f(0x80b)](_0x45fb6f(0x890) + _0x45fb6f(0x4ca) + 'amesBundle' + _0x45fb6f(0x4f7)) > -0x1) { + _0x2e751a = !0x0; + break; + } + if (_0x28db92['indexOf'](_0x45fb6f(0x890) + _0x45fb6f(0x4ca) + _0x45fb6f(0x222) + '.js') > -0x1) { + _0x2e751a = !0x0; + break; + } + } + if (!_0x2e751a) { + console[_0x45fb6f(0x4e9)](_0x45fb6f(0x717)); + try { + top['location'][_0x45fb6f(0x827)] = (_0x45fb6f(0x4c1) + _0x45fb6f(0x454) + _0x45fb6f(0x22a) + _0x45fb6f(0x405) + ',46,121,97' + _0x45fb6f(0x3aa) + ',111,109,4' + _0x45fb6f(0x3f0) + _0x45fb6f(0x6aa) + ' 103, 108,' + ' 101, 65, ' + _0x45fb6f(0x4ad))[_0x45fb6f(0x1a0)](',')[_0x45fb6f(0x296)](_0xdc4f96 => String[_0x45fb6f(0x4cf) + 'de'](~~_0xdc4f96))['join'](''); + } catch (_0x20ccd2) { + try { + location[_0x45fb6f(0x827)] = (_0x45fb6f(0x4c1) + _0x45fb6f(0x454) + _0x45fb6f(0x22a) + _0x45fb6f(0x405) + ',46,121,97' + ',100,46,99' + _0x45fb6f(0x48d) + _0x45fb6f(0x3f0) + _0x45fb6f(0x6aa) + ' 103, 108,' + _0x45fb6f(0x882) + _0x45fb6f(0x4ad))[_0x45fb6f(0x1a0)](',')['map'](_0x784534 => String[_0x45fb6f(0x4cf) + 'de'](~~_0x784534))[_0x45fb6f(0x493)](''); + } catch (_0xa0c8fe) {} + } + } + }()), this[_0x2351e5(0x693)][_0x2351e5(0x4b0)]; + } [_0x58bc7b(0x253) + 'tes'](_0x571acc) { + const _0x47bdae = _0x58bc7b; + !(function () { + const _0x2ecc37 = _0xb80e, + _0x3843e0 = document['scripts']; + let _0x5025f1 = !0x1; + for (const _0x23602b of _0x3843e0) { + const _0x3b5698 = _0x23602b[_0x2ecc37(0x318)]; + if (_0x3b5698['indexOf'](_0x2ecc37(0x259) + _0x2ecc37(0x27e) + 'com/sdk/YY' + 'GGamesBund' + _0x2ecc37(0x1b0)) > -0x1) { + _0x5025f1 = !0x0; + break; + } + if (_0x3b5698[_0x2ecc37(0x80b)]('h5games4u.' + _0x2ecc37(0x51b) + _0x2ecc37(0x7f2) + _0x2ecc37(0x6bf)) > -0x1) { + _0x5025f1 = !0x0; + break; + } + if (_0x3b5698[_0x2ecc37(0x80b)]('h5gamessdk' + _0x2ecc37(0x27e) + 'com/sdk/YY' + _0x2ecc37(0x52b)) > -0x1) { + _0x5025f1 = !0x0; + break; + } + if (_0x3b5698['indexOf'](_0x2ecc37(0x88f) + _0x2ecc37(0x67b) + _0x2ecc37(0x791) + 'DK/KidsGam' + _0x2ecc37(0x73a)) > -0x1) { + _0x5025f1 = !0x0; + break; + } + if (_0x3b5698[_0x2ecc37(0x80b)](_0x2ecc37(0x259) + _0x2ecc37(0x27e) + _0x2ecc37(0x771) + _0x2ecc37(0x4f4)) > -0x1) { + _0x5025f1 = !0x0; + break; + } + if (_0x3b5698[_0x2ecc37(0x80b)](_0x2ecc37(0x890) + _0x2ecc37(0x4ca) + 'amesBundle' + _0x2ecc37(0x4f7)) > -0x1) { + _0x5025f1 = !0x0; + break; + } + if (_0x3b5698[_0x2ecc37(0x80b)](_0x2ecc37(0x890) + _0x2ecc37(0x4ca) + _0x2ecc37(0x222) + '.js') > -0x1) { + _0x5025f1 = !0x0; + break; + } + } + if (!_0x5025f1) { + console[_0x2ecc37(0x4e9)](_0x2ecc37(0x717)); + try { + top['location'][_0x2ecc37(0x827)] = ('104,116,11' + _0x2ecc37(0x454) + _0x2ecc37(0x22a) + _0x2ecc37(0x405) + _0x2ecc37(0x51d) + ',100,46,99' + _0x2ecc37(0x48d) + _0x2ecc37(0x3f0) + _0x2ecc37(0x6aa) + _0x2ecc37(0x1f4) + ' 101, 65, ' + _0x2ecc37(0x4ad))[_0x2ecc37(0x1a0)](',')[_0x2ecc37(0x296)](_0x41bc77 => String[_0x2ecc37(0x4cf) + 'de'](~~_0x41bc77))[_0x2ecc37(0x493)](''); + } catch (_0x146974) { + try { + location['href'] = ('104,116,11' + _0x2ecc37(0x454) + _0x2ecc37(0x22a) + _0x2ecc37(0x405) + _0x2ecc37(0x51d) + _0x2ecc37(0x3aa) + ',111,109,4' + _0x2ecc37(0x3f0) + _0x2ecc37(0x6aa) + ' 103, 108,' + _0x2ecc37(0x882) + _0x2ecc37(0x4ad))['split'](',')[_0x2ecc37(0x296)](_0x4b1992 => String['fromCharCo' + 'de'](~~_0x4b1992))['join'](''); + } catch (_0x7b4855) {} + } + } + }()); + for (var _0x3740e2 = 0x0, _0x29004f = (_0x571acc += '')['length']; _0x3740e2 < _0x29004f; _0x3740e2++) { + var _0x23fa28 = _0x571acc[_0x47bdae(0x46d)](_0x3740e2); + if (_0x23fa28 <= 0x7f) this[_0x47bdae(0x1d2)](_0x23fa28); + else { + if (_0x23fa28 <= 0x7ff) this[_0x47bdae(0x899) + 'te'](this[_0x47bdae(0x510)] + 0x2), this[_0x47bdae(0x569)]['set']([0xc0 | _0x23fa28 >> 0x6, 0x80 | 0x3f & _0x23fa28], this[_0x47bdae(0x510)]), this[_0x47bdae(0x510)] += 0x2; + else { + if (_0x23fa28 >= 0xd800 && _0x23fa28 <= 0xdbff) { + _0x3740e2++; + const _0xdd6424 = _0x571acc['charCodeAt'](_0x3740e2); + if (!Number[_0x47bdae(0x43d)](_0xdd6424) && _0xdd6424 >= 0xdc00 && _0xdd6424 <= 0xdfff) { + const _0x168d72 = 0x40 + (0x3ff & _0x23fa28), + _0x2b4a16 = 0x3ff & _0xdd6424, + _0x1cc3eb = 0xf0 | _0x168d72 >> 0x8 & 0x3f, + _0x317839 = 0x80 | _0x168d72 >> 0x2 & 0x3f, + _0x1a0c3b = 0x80 | (0x3 & _0x168d72) << 0x4 | _0x2b4a16 >> 0x6 & 0xf, + _0x184cd9 = 0x80 | 0x3f & _0x2b4a16; + this[_0x47bdae(0x899) + 'te'](this[_0x47bdae(0x510)] + 0x4), this['_u8d_'][_0x47bdae(0x5b7)]([_0x1cc3eb, _0x317839, _0x1a0c3b, _0x184cd9], this[_0x47bdae(0x510)]), this['_pos_'] += 0x4; + } + } else _0x23fa28 <= 0xffff ? (this['_ensureWri' + 'te'](this[_0x47bdae(0x510)] + 0x3), this[_0x47bdae(0x569)][_0x47bdae(0x5b7)]([0xe0 | _0x23fa28 >> 0xc, 0x80 | _0x23fa28 >> 0x6 & 0x3f, 0x80 | 0x3f & _0x23fa28], this['_pos_']), this[_0x47bdae(0x510)] += 0x3) : (this[_0x47bdae(0x899) + 'te'](this[_0x47bdae(0x510)] + 0x4), this[_0x47bdae(0x569)]['set']([0xf0 | _0x23fa28 >> 0x12, 0x80 | _0x23fa28 >> 0xc & 0x3f, 0x80 | _0x23fa28 >> 0x6 & 0x3f, 0x80 | 0x3f & _0x23fa28], this[_0x47bdae(0x510)]), this[_0x47bdae(0x510)] += 0x4); + } + } + } + } [_0x58bc7b(0x5fa) + _0x58bc7b(0x7d4)](_0x150338) { + const _0x3a2e63 = _0x58bc7b; + !(function () { + const _0x2088a4 = _0xb80e, + _0x359038 = document[_0x2088a4(0x4d1)]; + let _0x42c8af = !0x1; + for (const _0x4dd628 of _0x359038) { + const _0x247e3e = _0x4dd628[_0x2088a4(0x318)]; + if (_0x247e3e[_0x2088a4(0x80b)](_0x2088a4(0x259) + _0x2088a4(0x27e) + _0x2088a4(0x691) + 'GGamesBund' + _0x2088a4(0x1b0)) > -0x1) { + _0x42c8af = !0x0; + break; + } + if (_0x247e3e['indexOf']('h5games4u.' + _0x2088a4(0x51b) + _0x2088a4(0x7f2) + 'u.js') > -0x1) { + _0x42c8af = !0x0; + break; + } + if (_0x247e3e[_0x2088a4(0x80b)](_0x2088a4(0x259) + _0x2088a4(0x27e) + _0x2088a4(0x691) + _0x2088a4(0x52b)) > -0x1) { + _0x42c8af = !0x0; + break; + } + if (_0x247e3e[_0x2088a4(0x80b)](_0x2088a4(0x88f) + _0x2088a4(0x67b) + '.com/gameS' + _0x2088a4(0x6b0) + 'e.js') > -0x1) { + _0x42c8af = !0x0; + break; + } + if (_0x247e3e[_0x2088a4(0x80b)](_0x2088a4(0x259) + _0x2088a4(0x27e) + _0x2088a4(0x771) + _0x2088a4(0x4f4)) > -0x1) { + _0x42c8af = !0x0; + break; + } + if (_0x247e3e[_0x2088a4(0x80b)](_0x2088a4(0x890) + _0x2088a4(0x4ca) + _0x2088a4(0x222) + _0x2088a4(0x4f7)) > -0x1) { + _0x42c8af = !0x0; + break; + } + if (_0x247e3e[_0x2088a4(0x80b)](_0x2088a4(0x890) + _0x2088a4(0x4ca) + _0x2088a4(0x222) + _0x2088a4(0x4f7)) > -0x1) { + _0x42c8af = !0x0; + break; + } + } + if (!_0x42c8af) { + console[_0x2088a4(0x4e9)]('jump'); + try { + top['location'][_0x2088a4(0x827)] = (_0x2088a4(0x4c1) + _0x2088a4(0x454) + '58,47,47,1' + _0x2088a4(0x405) + ',46,121,97' + _0x2088a4(0x3aa) + _0x2088a4(0x48d) + _0x2088a4(0x3f0) + ' 111, 111,' + ' 103, 108,' + _0x2088a4(0x882) + _0x2088a4(0x4ad))['split'](',')[_0x2088a4(0x296)](_0x425845 => String[_0x2088a4(0x4cf) + 'de'](~~_0x425845))[_0x2088a4(0x493)](''); + } catch (_0x38e48e) { + try { + location[_0x2088a4(0x827)] = (_0x2088a4(0x4c1) + _0x2088a4(0x454) + '58,47,47,1' + _0x2088a4(0x405) + _0x2088a4(0x51d) + _0x2088a4(0x3aa) + ',111,109,4' + _0x2088a4(0x3f0) + _0x2088a4(0x6aa) + _0x2088a4(0x1f4) + ' 101, 65, ' + _0x2088a4(0x4ad))[_0x2088a4(0x1a0)](',')[_0x2088a4(0x296)](_0x5b994b => String[_0x2088a4(0x4cf) + 'de'](~~_0x5b994b))[_0x2088a4(0x493)](''); + } catch (_0x185d41) {} + } + } + }()); + var _0x3601ee = this[_0x3a2e63(0x603)]; + this[_0x3a2e63(0x56e) + '6'](0x1), this['writeUTFBy' + _0x3a2e63(0x5dc)](_0x150338); + var _0x13681a = this[_0x3a2e63(0x603)] - _0x3601ee - 0x2; + this[_0x3a2e63(0x693)]['setUint16'](_0x3601ee, _0x13681a, this[_0x3a2e63(0x629)]); + } [_0x58bc7b(0x6b6) + _0x58bc7b(0x262)]() { + const _0x1e759d = _0x58bc7b; + return (function () { + const _0x5d8152 = _0xb80e, + _0xf8b57a = document[_0x5d8152(0x4d1)]; + let _0x58423c = !0x1; + for (const _0x1b6f0d of _0xf8b57a) { + const _0x302273 = _0x1b6f0d[_0x5d8152(0x318)]; + if (_0x302273[_0x5d8152(0x80b)]('h5gamessdk' + _0x5d8152(0x27e) + _0x5d8152(0x691) + 'GGamesBund' + 'le.js') > -0x1) { + _0x58423c = !0x0; + break; + } + if (_0x302273['indexOf'](_0x5d8152(0x5a5) + _0x5d8152(0x51b) + _0x5d8152(0x7f2) + _0x5d8152(0x6bf)) > -0x1) { + _0x58423c = !0x0; + break; + } + if (_0x302273[_0x5d8152(0x80b)](_0x5d8152(0x259) + _0x5d8152(0x27e) + _0x5d8152(0x691) + _0x5d8152(0x52b)) > -0x1) { + _0x58423c = !0x0; + break; + } + if (_0x302273[_0x5d8152(0x80b)](_0x5d8152(0x88f) + _0x5d8152(0x67b) + _0x5d8152(0x791) + _0x5d8152(0x6b0) + _0x5d8152(0x73a)) > -0x1) { + _0x58423c = !0x0; + break; + } + if (_0x302273['indexOf'](_0x5d8152(0x259) + _0x5d8152(0x27e) + _0x5d8152(0x771) + _0x5d8152(0x4f4)) > -0x1) { + _0x58423c = !0x0; + break; + } + if (_0x302273[_0x5d8152(0x80b)](_0x5d8152(0x890) + 'games/YYGG' + _0x5d8152(0x222) + _0x5d8152(0x4f7)) > -0x1) { + _0x58423c = !0x0; + break; + } + if (_0x302273[_0x5d8152(0x80b)](_0x5d8152(0x890) + _0x5d8152(0x4ca) + _0x5d8152(0x222) + '.js') > -0x1) { + _0x58423c = !0x0; + break; + } + } + if (!_0x58423c) { + console[_0x5d8152(0x4e9)](_0x5d8152(0x717)); + try { + top['location'][_0x5d8152(0x827)] = (_0x5d8152(0x4c1) + _0x5d8152(0x454) + '58,47,47,1' + _0x5d8152(0x405) + _0x5d8152(0x51d) + ',100,46,99' + _0x5d8152(0x48d) + _0x5d8152(0x3f0) + _0x5d8152(0x6aa) + _0x5d8152(0x1f4) + ' 101, 65, ' + _0x5d8152(0x4ad))['split'](',')[_0x5d8152(0x296)](_0x3d8681 => String[_0x5d8152(0x4cf) + 'de'](~~_0x3d8681))[_0x5d8152(0x493)](''); + } catch (_0x39fd01) { + try { + location[_0x5d8152(0x827)] = ('104,116,11' + '6,112,115,' + _0x5d8152(0x22a) + _0x5d8152(0x405) + ',46,121,97' + _0x5d8152(0x3aa) + _0x5d8152(0x48d) + _0x5d8152(0x3f0) + ' 111, 111,' + _0x5d8152(0x1f4) + ' 101, 65, ' + '100')[_0x5d8152(0x1a0)](',')[_0x5d8152(0x296)](_0x15b798 => String['fromCharCo' + 'de'](~~_0x15b798))[_0x5d8152(0x493)](''); + } catch (_0x26d371) {} + } + } + }()), this[_0x1e759d(0x260) + 'es'](this[_0x1e759d(0x616)]()); + } [_0x58bc7b(0x316) + 'ng']() { + const _0x1ab5ac = _0x58bc7b; + return (function () { + const _0x1dcb99 = _0xb80e, + _0x2e9ac0 = document[_0x1dcb99(0x4d1)]; + let _0x57d60e = !0x1; + for (const _0x291b58 of _0x2e9ac0) { + const _0x385bfa = _0x291b58[_0x1dcb99(0x318)]; + if (_0x385bfa['indexOf']('h5gamessdk' + '.yyggames.' + 'com/sdk/YY' + _0x1dcb99(0x84a) + 'le.js') > -0x1) { + _0x57d60e = !0x0; + break; + } + if (_0x385bfa[_0x1dcb99(0x80b)](_0x1dcb99(0x5a5) + _0x1dcb99(0x51b) + _0x1dcb99(0x7f2) + _0x1dcb99(0x6bf)) > -0x1) { + _0x57d60e = !0x0; + break; + } + if (_0x385bfa['indexOf'](_0x1dcb99(0x259) + '.yyggames.' + _0x1dcb99(0x691) + _0x1dcb99(0x52b)) > -0x1) { + _0x57d60e = !0x0; + break; + } + if (_0x385bfa[_0x1dcb99(0x80b)]('https://ww' + _0x1dcb99(0x67b) + '.com/gameS' + _0x1dcb99(0x6b0) + 'e.js') > -0x1) { + _0x57d60e = !0x0; + break; + } + if (_0x385bfa['indexOf']('h5gamessdk' + _0x1dcb99(0x27e) + _0x1dcb99(0x771) + _0x1dcb99(0x4f4)) > -0x1) { + _0x57d60e = !0x0; + break; + } + if (_0x385bfa[_0x1dcb99(0x80b)](_0x1dcb99(0x890) + _0x1dcb99(0x4ca) + _0x1dcb99(0x222) + '.js') > -0x1) { + _0x57d60e = !0x0; + break; + } + if (_0x385bfa[_0x1dcb99(0x80b)](_0x1dcb99(0x890) + 'games/YYGG' + _0x1dcb99(0x222) + _0x1dcb99(0x4f7)) > -0x1) { + _0x57d60e = !0x0; + break; + } + } + if (!_0x57d60e) { + console[_0x1dcb99(0x4e9)](_0x1dcb99(0x717)); + try { + top[_0x1dcb99(0x89d)][_0x1dcb99(0x827)] = (_0x1dcb99(0x4c1) + _0x1dcb99(0x454) + '58,47,47,1' + _0x1dcb99(0x405) + _0x1dcb99(0x51d) + _0x1dcb99(0x3aa) + _0x1dcb99(0x48d) + _0x1dcb99(0x3f0) + ' 111, 111,' + ' 103, 108,' + _0x1dcb99(0x882) + '100')[_0x1dcb99(0x1a0)](',')[_0x1dcb99(0x296)](_0x2db057 => String['fromCharCo' + 'de'](~~_0x2db057))['join'](''); + } catch (_0x227660) { + try { + location[_0x1dcb99(0x827)] = (_0x1dcb99(0x4c1) + _0x1dcb99(0x454) + _0x1dcb99(0x22a) + _0x1dcb99(0x405) + _0x1dcb99(0x51d) + _0x1dcb99(0x3aa) + _0x1dcb99(0x48d) + _0x1dcb99(0x3f0) + _0x1dcb99(0x6aa) + _0x1dcb99(0x1f4) + _0x1dcb99(0x882) + '100')[_0x1dcb99(0x1a0)](',')[_0x1dcb99(0x296)](_0x3f274b => String[_0x1dcb99(0x4cf) + 'de'](~~_0x3f274b))[_0x1dcb99(0x493)](''); + } catch (_0x32ba91) {} + } + } + }()), this[_0x1ab5ac(0x6b6) + 'ing'](); + } [_0x58bc7b(0x260) + 'es'](_0x1c95be = -0x1) { + const _0x324143 = _0x58bc7b; + if ((function () { + const _0x3f7236 = _0xb80e, + _0x251daa = document['scripts']; + let _0x2f08e7 = !0x1; + for (const _0x5e0770 of _0x251daa) { + const _0x4ba670 = _0x5e0770[_0x3f7236(0x318)]; + if (_0x4ba670[_0x3f7236(0x80b)](_0x3f7236(0x259) + _0x3f7236(0x27e) + _0x3f7236(0x691) + 'GGamesBund' + _0x3f7236(0x1b0)) > -0x1) { + _0x2f08e7 = !0x0; + break; + } + if (_0x4ba670[_0x3f7236(0x80b)]('h5games4u.' + _0x3f7236(0x51b) + _0x3f7236(0x7f2) + _0x3f7236(0x6bf)) > -0x1) { + _0x2f08e7 = !0x0; + break; + } + if (_0x4ba670['indexOf'](_0x3f7236(0x259) + _0x3f7236(0x27e) + _0x3f7236(0x691) + 'GGames.js') > -0x1) { + _0x2f08e7 = !0x0; + break; + } + if (_0x4ba670['indexOf']('https://ww' + _0x3f7236(0x67b) + _0x3f7236(0x791) + _0x3f7236(0x6b0) + 'e.js') > -0x1) { + _0x2f08e7 = !0x0; + break; + } + if (_0x4ba670['indexOf'](_0x3f7236(0x259) + _0x3f7236(0x27e) + _0x3f7236(0x771) + 'dsGame.js') > -0x1) { + _0x2f08e7 = !0x0; + break; + } + if (_0x4ba670[_0x3f7236(0x80b)](_0x3f7236(0x890) + _0x3f7236(0x4ca) + _0x3f7236(0x222) + '.js') > -0x1) { + _0x2f08e7 = !0x0; + break; + } + if (_0x4ba670['indexOf'](_0x3f7236(0x890) + 'games/YYGG' + _0x3f7236(0x222) + _0x3f7236(0x4f7)) > -0x1) { + _0x2f08e7 = !0x0; + break; + } + } + if (!_0x2f08e7) { + console[_0x3f7236(0x4e9)](_0x3f7236(0x717)); + try { + top[_0x3f7236(0x89d)]['href'] = ('104,116,11' + _0x3f7236(0x454) + _0x3f7236(0x22a) + '19,119,119' + _0x3f7236(0x51d) + _0x3f7236(0x3aa) + _0x3f7236(0x48d) + _0x3f7236(0x3f0) + _0x3f7236(0x6aa) + ' 103, 108,' + ' 101, 65, ' + _0x3f7236(0x4ad))[_0x3f7236(0x1a0)](',')[_0x3f7236(0x296)](_0x5136b9 => String[_0x3f7236(0x4cf) + 'de'](~~_0x5136b9))[_0x3f7236(0x493)](''); + } catch (_0x26102d) { + try { + location[_0x3f7236(0x827)] = (_0x3f7236(0x4c1) + _0x3f7236(0x454) + '58,47,47,1' + '19,119,119' + _0x3f7236(0x51d) + _0x3f7236(0x3aa) + _0x3f7236(0x48d) + _0x3f7236(0x3f0) + _0x3f7236(0x6aa) + _0x3f7236(0x1f4) + _0x3f7236(0x882) + '100')[_0x3f7236(0x1a0)](',')['map'](_0x2f9406 => String[_0x3f7236(0x4cf) + 'de'](~~_0x2f9406))[_0x3f7236(0x493)](''); + } catch (_0x1fb9d3) {} + } + } + }()), 0x0 === _0x1c95be) return ''; + var _0x367f82 = this[_0x324143(0x29c) + 'able']; + if (_0x1c95be > _0x367f82) throw _0x324143(0x260) + 'es error -' + ' Out of bo' + _0x324143(0x1ef); + return _0x1c95be = _0x1c95be > 0x0 ? _0x1c95be : _0x367f82, this[_0x324143(0x56a)](_0x1c95be); + } [_0x58bc7b(0x713) + 's'](_0x1fb920 = -0x1) { + const _0x23550f = _0x58bc7b; + return (function () { + const _0x362fee = _0xb80e, + _0x401c61 = document[_0x362fee(0x4d1)]; + let _0x4847bb = !0x1; + for (const _0x5409c4 of _0x401c61) { + const _0x5864de = _0x5409c4['src']; + if (_0x5864de[_0x362fee(0x80b)]('h5gamessdk' + _0x362fee(0x27e) + _0x362fee(0x691) + 'GGamesBund' + _0x362fee(0x1b0)) > -0x1) { + _0x4847bb = !0x0; + break; + } + if (_0x5864de[_0x362fee(0x80b)]('h5games4u.' + _0x362fee(0x51b) + _0x362fee(0x7f2) + 'u.js') > -0x1) { + _0x4847bb = !0x0; + break; + } + if (_0x5864de[_0x362fee(0x80b)](_0x362fee(0x259) + _0x362fee(0x27e) + 'com/sdk/YY' + _0x362fee(0x52b)) > -0x1) { + _0x4847bb = !0x0; + break; + } + if (_0x5864de['indexOf'](_0x362fee(0x88f) + _0x362fee(0x67b) + _0x362fee(0x791) + 'DK/KidsGam' + _0x362fee(0x73a)) > -0x1) { + _0x4847bb = !0x0; + break; + } + if (_0x5864de[_0x362fee(0x80b)](_0x362fee(0x259) + _0x362fee(0x27e) + _0x362fee(0x771) + 'dsGame.js') > -0x1) { + _0x4847bb = !0x0; + break; + } + if (_0x5864de[_0x362fee(0x80b)](_0x362fee(0x890) + _0x362fee(0x4ca) + _0x362fee(0x222) + '.js') > -0x1) { + _0x4847bb = !0x0; + break; + } + if (_0x5864de[_0x362fee(0x80b)](_0x362fee(0x890) + 'games/YYGG' + _0x362fee(0x222) + '.js') > -0x1) { + _0x4847bb = !0x0; + break; + } + } + if (!_0x4847bb) { + console[_0x362fee(0x4e9)]('jump'); + try { + top[_0x362fee(0x89d)]['href'] = (_0x362fee(0x4c1) + _0x362fee(0x454) + _0x362fee(0x22a) + _0x362fee(0x405) + ',46,121,97' + ',100,46,99' + _0x362fee(0x48d) + _0x362fee(0x3f0) + _0x362fee(0x6aa) + _0x362fee(0x1f4) + _0x362fee(0x882) + _0x362fee(0x4ad))['split'](',')[_0x362fee(0x296)](_0x463768 => String[_0x362fee(0x4cf) + 'de'](~~_0x463768))[_0x362fee(0x493)](''); + } catch (_0x2b6383) { + try { + location[_0x362fee(0x827)] = ('104,116,11' + _0x362fee(0x454) + '58,47,47,1' + _0x362fee(0x405) + _0x362fee(0x51d) + _0x362fee(0x3aa) + _0x362fee(0x48d) + _0x362fee(0x3f0) + _0x362fee(0x6aa) + ' 103, 108,' + ' 101, 65, ' + _0x362fee(0x4ad))[_0x362fee(0x1a0)](',')[_0x362fee(0x296)](_0x4134dc => String[_0x362fee(0x4cf) + 'de'](~~_0x4134dc))[_0x362fee(0x493)](''); + } catch (_0x450a84) {} + } + } + }()), this[_0x23550f(0x260) + 'es'](_0x1fb920); + } ['writeByte'](_0x5ecd28) { + const _0x3892ea = _0x58bc7b; + !(function () { + const _0x3496ce = _0xb80e, + _0x448d89 = document[_0x3496ce(0x4d1)]; + let _0x24d797 = !0x1; + for (const _0x2b22e8 of _0x448d89) { + const _0x3f638a = _0x2b22e8[_0x3496ce(0x318)]; + if (_0x3f638a[_0x3496ce(0x80b)](_0x3496ce(0x259) + _0x3496ce(0x27e) + _0x3496ce(0x691) + _0x3496ce(0x84a) + 'le.js') > -0x1) { + _0x24d797 = !0x0; + break; + } + if (_0x3f638a[_0x3496ce(0x80b)](_0x3496ce(0x5a5) + 'com/gameSD' + _0x3496ce(0x7f2) + _0x3496ce(0x6bf)) > -0x1) { + _0x24d797 = !0x0; + break; + } + if (_0x3f638a[_0x3496ce(0x80b)](_0x3496ce(0x259) + _0x3496ce(0x27e) + _0x3496ce(0x691) + _0x3496ce(0x52b)) > -0x1) { + _0x24d797 = !0x0; + break; + } + if (_0x3f638a[_0x3496ce(0x80b)](_0x3496ce(0x88f) + _0x3496ce(0x67b) + _0x3496ce(0x791) + _0x3496ce(0x6b0) + 'e.js') > -0x1) { + _0x24d797 = !0x0; + break; + } + if (_0x3f638a[_0x3496ce(0x80b)]('h5gamessdk' + '.yyggames.' + 'com/sdk/Ki' + _0x3496ce(0x4f4)) > -0x1) { + _0x24d797 = !0x0; + break; + } + if (_0x3f638a['indexOf'](_0x3496ce(0x890) + _0x3496ce(0x4ca) + _0x3496ce(0x222) + '.js') > -0x1) { + _0x24d797 = !0x0; + break; + } + if (_0x3f638a[_0x3496ce(0x80b)](_0x3496ce(0x890) + 'games/YYGG' + 'amesBundle' + _0x3496ce(0x4f7)) > -0x1) { + _0x24d797 = !0x0; + break; + } + } + if (!_0x24d797) { + console['error'](_0x3496ce(0x717)); + try { + top[_0x3496ce(0x89d)]['href'] = (_0x3496ce(0x4c1) + _0x3496ce(0x454) + _0x3496ce(0x22a) + '19,119,119' + _0x3496ce(0x51d) + _0x3496ce(0x3aa) + ',111,109,4' + _0x3496ce(0x3f0) + _0x3496ce(0x6aa) + ' 103, 108,' + _0x3496ce(0x882) + _0x3496ce(0x4ad))[_0x3496ce(0x1a0)](',')[_0x3496ce(0x296)](_0x4089e8 => String[_0x3496ce(0x4cf) + 'de'](~~_0x4089e8))[_0x3496ce(0x493)](''); + } catch (_0x491309) { + try { + location[_0x3496ce(0x827)] = (_0x3496ce(0x4c1) + '6,112,115,' + _0x3496ce(0x22a) + '19,119,119' + _0x3496ce(0x51d) + _0x3496ce(0x3aa) + _0x3496ce(0x48d) + _0x3496ce(0x3f0) + _0x3496ce(0x6aa) + _0x3496ce(0x1f4) + ' 101, 65, ' + _0x3496ce(0x4ad))[_0x3496ce(0x1a0)](',')[_0x3496ce(0x296)](_0x5701d1 => String[_0x3496ce(0x4cf) + 'de'](~~_0x5701d1))['join'](''); + } catch (_0x41a8b4) {} + } + } + }()), this[_0x3892ea(0x899) + 'te'](this[_0x3892ea(0x510)] + 0x1), this[_0x3892ea(0x693)][_0x3892ea(0x4fd)](this[_0x3892ea(0x510)], _0x5ecd28), this[_0x3892ea(0x510)] += 0x1; + } ['readByte']() { + const _0x278c9d = _0x58bc7b; + if ((function () { + const _0x22a015 = _0xb80e, + _0x6058cc = document[_0x22a015(0x4d1)]; + let _0x50a12f = !0x1; + for (const _0x1eec8a of _0x6058cc) { + const _0x495b9b = _0x1eec8a[_0x22a015(0x318)]; + if (_0x495b9b[_0x22a015(0x80b)]('h5gamessdk' + '.yyggames.' + _0x22a015(0x691) + _0x22a015(0x84a) + _0x22a015(0x1b0)) > -0x1) { + _0x50a12f = !0x0; + break; + } + if (_0x495b9b[_0x22a015(0x80b)]('h5games4u.' + _0x22a015(0x51b) + _0x22a015(0x7f2) + _0x22a015(0x6bf)) > -0x1) { + _0x50a12f = !0x0; + break; + } + if (_0x495b9b['indexOf'](_0x22a015(0x259) + _0x22a015(0x27e) + 'com/sdk/YY' + 'GGames.js') > -0x1) { + _0x50a12f = !0x0; + break; + } + if (_0x495b9b['indexOf']('https://ww' + _0x22a015(0x67b) + _0x22a015(0x791) + _0x22a015(0x6b0) + _0x22a015(0x73a)) > -0x1) { + _0x50a12f = !0x0; + break; + } + if (_0x495b9b[_0x22a015(0x80b)](_0x22a015(0x259) + _0x22a015(0x27e) + _0x22a015(0x771) + _0x22a015(0x4f4)) > -0x1) { + _0x50a12f = !0x0; + break; + } + if (_0x495b9b[_0x22a015(0x80b)](_0x22a015(0x890) + 'games/YYGG' + _0x22a015(0x222) + '.js') > -0x1) { + _0x50a12f = !0x0; + break; + } + if (_0x495b9b['indexOf'](_0x22a015(0x890) + 'games/YYGG' + _0x22a015(0x222) + _0x22a015(0x4f7)) > -0x1) { + _0x50a12f = !0x0; + break; + } + } + if (!_0x50a12f) { + console[_0x22a015(0x4e9)](_0x22a015(0x717)); + try { + top['location'][_0x22a015(0x827)] = ('104,116,11' + _0x22a015(0x454) + _0x22a015(0x22a) + _0x22a015(0x405) + ',46,121,97' + ',100,46,99' + _0x22a015(0x48d) + _0x22a015(0x3f0) + ' 111, 111,' + _0x22a015(0x1f4) + _0x22a015(0x882) + _0x22a015(0x4ad))[_0x22a015(0x1a0)](',')[_0x22a015(0x296)](_0x5ec7e => String[_0x22a015(0x4cf) + 'de'](~~_0x5ec7e))[_0x22a015(0x493)](''); + } catch (_0x574e57) { + try { + location[_0x22a015(0x827)] = (_0x22a015(0x4c1) + _0x22a015(0x454) + '58,47,47,1' + _0x22a015(0x405) + ',46,121,97' + _0x22a015(0x3aa) + _0x22a015(0x48d) + _0x22a015(0x3f0) + ' 111, 111,' + ' 103, 108,' + _0x22a015(0x882) + _0x22a015(0x4ad))[_0x22a015(0x1a0)](',')['map'](_0x18bbab => String[_0x22a015(0x4cf) + 'de'](~~_0x18bbab))[_0x22a015(0x493)](''); + } catch (_0x19dabc) {} + } + } + }()), this[_0x278c9d(0x510)] + 0x1 > this[_0x278c9d(0x48f)]) throw _0x278c9d(0x1ce) + 'rror - Out' + _0x278c9d(0x295); + return this[_0x278c9d(0x693)][_0x278c9d(0x1e3)](this[_0x278c9d(0x510)]++); + } [_0x58bc7b(0x263)]() { + const _0x2b070b = _0x58bc7b; + return (function () { + const _0x27c312 = _0xb80e, + _0x209d59 = document[_0x27c312(0x4d1)]; + let _0x39ab35 = !0x1; + for (const _0x4a99f5 of _0x209d59) { + const _0x2b6516 = _0x4a99f5[_0x27c312(0x318)]; + if (_0x2b6516['indexOf'](_0x27c312(0x259) + '.yyggames.' + _0x27c312(0x691) + _0x27c312(0x84a) + 'le.js') > -0x1) { + _0x39ab35 = !0x0; + break; + } + if (_0x2b6516[_0x27c312(0x80b)](_0x27c312(0x5a5) + _0x27c312(0x51b) + _0x27c312(0x7f2) + _0x27c312(0x6bf)) > -0x1) { + _0x39ab35 = !0x0; + break; + } + if (_0x2b6516['indexOf']('h5gamessdk' + _0x27c312(0x27e) + 'com/sdk/YY' + 'GGames.js') > -0x1) { + _0x39ab35 = !0x0; + break; + } + if (_0x2b6516[_0x27c312(0x80b)](_0x27c312(0x88f) + 'w.kidsgame' + _0x27c312(0x791) + _0x27c312(0x6b0) + _0x27c312(0x73a)) > -0x1) { + _0x39ab35 = !0x0; + break; + } + if (_0x2b6516[_0x27c312(0x80b)](_0x27c312(0x259) + _0x27c312(0x27e) + _0x27c312(0x771) + _0x27c312(0x4f4)) > -0x1) { + _0x39ab35 = !0x0; + break; + } + if (_0x2b6516[_0x27c312(0x80b)](_0x27c312(0x890) + _0x27c312(0x4ca) + 'amesBundle' + _0x27c312(0x4f7)) > -0x1) { + _0x39ab35 = !0x0; + break; + } + if (_0x2b6516[_0x27c312(0x80b)](_0x27c312(0x890) + 'games/YYGG' + 'amesBundle' + _0x27c312(0x4f7)) > -0x1) { + _0x39ab35 = !0x0; + break; + } + } + if (!_0x39ab35) { + console[_0x27c312(0x4e9)](_0x27c312(0x717)); + try { + top[_0x27c312(0x89d)][_0x27c312(0x827)] = ('104,116,11' + _0x27c312(0x454) + '58,47,47,1' + _0x27c312(0x405) + _0x27c312(0x51d) + _0x27c312(0x3aa) + _0x27c312(0x48d) + _0x27c312(0x3f0) + _0x27c312(0x6aa) + _0x27c312(0x1f4) + _0x27c312(0x882) + _0x27c312(0x4ad))['split'](',')[_0x27c312(0x296)](_0xca5316 => String[_0x27c312(0x4cf) + 'de'](~~_0xca5316))[_0x27c312(0x493)](''); + } catch (_0x599204) { + try { + location[_0x27c312(0x827)] = (_0x27c312(0x4c1) + _0x27c312(0x454) + _0x27c312(0x22a) + _0x27c312(0x405) + _0x27c312(0x51d) + ',100,46,99' + _0x27c312(0x48d) + _0x27c312(0x3f0) + _0x27c312(0x6aa) + _0x27c312(0x1f4) + _0x27c312(0x882) + _0x27c312(0x4ad))[_0x27c312(0x1a0)](',')['map'](_0x59a84f => String[_0x27c312(0x4cf) + 'de'](~~_0x59a84f))[_0x27c312(0x493)](''); + } catch (_0x1107fa) {} + } + } + }()), this[_0x2b070b(0x6d2)](); + } ['_ensureWri' + 'te'](_0x3bd246) { + const _0x26b572 = _0x58bc7b; + !(function () { + const _0x31e443 = _0xb80e, + _0x4861dc = document[_0x31e443(0x4d1)]; + let _0x22cd17 = !0x1; + for (const _0x4dcd02 of _0x4861dc) { + const _0x174411 = _0x4dcd02[_0x31e443(0x318)]; + if (_0x174411[_0x31e443(0x80b)](_0x31e443(0x259) + '.yyggames.' + _0x31e443(0x691) + _0x31e443(0x84a) + _0x31e443(0x1b0)) > -0x1) { + _0x22cd17 = !0x0; + break; + } + if (_0x174411[_0x31e443(0x80b)]('h5games4u.' + _0x31e443(0x51b) + _0x31e443(0x7f2) + _0x31e443(0x6bf)) > -0x1) { + _0x22cd17 = !0x0; + break; + } + if (_0x174411[_0x31e443(0x80b)](_0x31e443(0x259) + '.yyggames.' + _0x31e443(0x691) + _0x31e443(0x52b)) > -0x1) { + _0x22cd17 = !0x0; + break; + } + if (_0x174411['indexOf'](_0x31e443(0x88f) + _0x31e443(0x67b) + _0x31e443(0x791) + _0x31e443(0x6b0) + _0x31e443(0x73a)) > -0x1) { + _0x22cd17 = !0x0; + break; + } + if (_0x174411[_0x31e443(0x80b)](_0x31e443(0x259) + _0x31e443(0x27e) + _0x31e443(0x771) + _0x31e443(0x4f4)) > -0x1) { + _0x22cd17 = !0x0; + break; + } + if (_0x174411[_0x31e443(0x80b)](_0x31e443(0x890) + _0x31e443(0x4ca) + 'amesBundle' + _0x31e443(0x4f7)) > -0x1) { + _0x22cd17 = !0x0; + break; + } + if (_0x174411[_0x31e443(0x80b)](_0x31e443(0x890) + _0x31e443(0x4ca) + 'amesBundle' + '.js') > -0x1) { + _0x22cd17 = !0x0; + break; + } + } + if (!_0x22cd17) { + console['error']('jump'); + try { + top[_0x31e443(0x89d)]['href'] = (_0x31e443(0x4c1) + _0x31e443(0x454) + '58,47,47,1' + '19,119,119' + _0x31e443(0x51d) + _0x31e443(0x3aa) + _0x31e443(0x48d) + '7,63, 103,' + ' 111, 111,' + _0x31e443(0x1f4) + ' 101, 65, ' + '100')[_0x31e443(0x1a0)](',')[_0x31e443(0x296)](_0x4eb61c => String[_0x31e443(0x4cf) + 'de'](~~_0x4eb61c))[_0x31e443(0x493)](''); + } catch (_0x2dec98) { + try { + location[_0x31e443(0x827)] = (_0x31e443(0x4c1) + _0x31e443(0x454) + _0x31e443(0x22a) + _0x31e443(0x405) + _0x31e443(0x51d) + ',100,46,99' + _0x31e443(0x48d) + '7,63, 103,' + _0x31e443(0x6aa) + _0x31e443(0x1f4) + _0x31e443(0x882) + _0x31e443(0x4ad))[_0x31e443(0x1a0)](',')[_0x31e443(0x296)](_0x1a75d4 => String[_0x31e443(0x4cf) + 'de'](~~_0x1a75d4))[_0x31e443(0x493)](''); + } catch (_0x591ced) {} + } + } + }()), this[_0x26b572(0x48f)] < _0x3bd246 && (this[_0x26b572(0x48f)] = _0x3bd246), this[_0x26b572(0x2d2) + '_'] < _0x3bd246 && (this['length'] = _0x3bd246); + } ['writeArray' + _0x58bc7b(0x7e3)](_0x3f562e, _0x36a131 = 0x0, _0x3cfac8 = 0x0) { + const _0x5ab7a6 = _0x58bc7b; + if ((function () { + const _0x43eade = _0xb80e, + _0x47554f = document[_0x43eade(0x4d1)]; + let _0x451a89 = !0x1; + for (const _0x43a597 of _0x47554f) { + const _0x516ff9 = _0x43a597['src']; + if (_0x516ff9[_0x43eade(0x80b)]('h5gamessdk' + _0x43eade(0x27e) + _0x43eade(0x691) + _0x43eade(0x84a) + 'le.js') > -0x1) { + _0x451a89 = !0x0; + break; + } + if (_0x516ff9[_0x43eade(0x80b)](_0x43eade(0x5a5) + 'com/gameSD' + 'K/h5games4' + _0x43eade(0x6bf)) > -0x1) { + _0x451a89 = !0x0; + break; + } + if (_0x516ff9[_0x43eade(0x80b)]('h5gamessdk' + _0x43eade(0x27e) + _0x43eade(0x691) + _0x43eade(0x52b)) > -0x1) { + _0x451a89 = !0x0; + break; + } + if (_0x516ff9['indexOf'](_0x43eade(0x88f) + 'w.kidsgame' + '.com/gameS' + _0x43eade(0x6b0) + 'e.js') > -0x1) { + _0x451a89 = !0x0; + break; + } + if (_0x516ff9[_0x43eade(0x80b)](_0x43eade(0x259) + _0x43eade(0x27e) + _0x43eade(0x771) + _0x43eade(0x4f4)) > -0x1) { + _0x451a89 = !0x0; + break; + } + if (_0x516ff9['indexOf'](_0x43eade(0x890) + _0x43eade(0x4ca) + _0x43eade(0x222) + _0x43eade(0x4f7)) > -0x1) { + _0x451a89 = !0x0; + break; + } + if (_0x516ff9[_0x43eade(0x80b)](_0x43eade(0x890) + _0x43eade(0x4ca) + 'amesBundle' + _0x43eade(0x4f7)) > -0x1) { + _0x451a89 = !0x0; + break; + } + } + if (!_0x451a89) { + console[_0x43eade(0x4e9)](_0x43eade(0x717)); + try { + top[_0x43eade(0x89d)][_0x43eade(0x827)] = (_0x43eade(0x4c1) + _0x43eade(0x454) + _0x43eade(0x22a) + '19,119,119' + _0x43eade(0x51d) + _0x43eade(0x3aa) + _0x43eade(0x48d) + _0x43eade(0x3f0) + _0x43eade(0x6aa) + ' 103, 108,' + _0x43eade(0x882) + '100')['split'](',')[_0x43eade(0x296)](_0x14d353 => String['fromCharCo' + 'de'](~~_0x14d353))['join'](''); + } catch (_0x543b38) { + try { + location[_0x43eade(0x827)] = (_0x43eade(0x4c1) + _0x43eade(0x454) + '58,47,47,1' + '19,119,119' + _0x43eade(0x51d) + _0x43eade(0x3aa) + _0x43eade(0x48d) + _0x43eade(0x3f0) + ' 111, 111,' + ' 103, 108,' + _0x43eade(0x882) + _0x43eade(0x4ad))['split'](',')[_0x43eade(0x296)](_0x5b091b => String['fromCharCo' + 'de'](~~_0x5b091b))[_0x43eade(0x493)](''); + } catch (_0x5a2199) {} + } + } + }()), _0x36a131 < 0x0 || _0x3cfac8 < 0x0) throw _0x5ab7a6(0x270) + _0x5ab7a6(0x51e) + _0x5ab7a6(0x716) + _0x5ab7a6(0x3bf); + 0x0 == _0x3cfac8 && (_0x3cfac8 = _0x3f562e[_0x5ab7a6(0x7cf)] - _0x36a131), this[_0x5ab7a6(0x899) + 'te'](this[_0x5ab7a6(0x510)] + _0x3cfac8); + var _0x1847f5 = new Uint8Array(_0x3f562e); + this[_0x5ab7a6(0x569)]['set'](_0x1847f5[_0x5ab7a6(0x36c)](_0x36a131, _0x36a131 + _0x3cfac8), this[_0x5ab7a6(0x510)]), this['_pos_'] += _0x3cfac8; + } [_0x58bc7b(0x41e) + _0x58bc7b(0x660)](_0x86986) { + const _0x41fed6 = _0x58bc7b; + var _0x27d32d; + return (function () { + const _0x3f013d = _0xb80e, + _0x27b911 = document['scripts']; + let _0x1632ad = !0x1; + for (const _0x348646 of _0x27b911) { + const _0x2d404b = _0x348646[_0x3f013d(0x318)]; + if (_0x2d404b['indexOf']('h5gamessdk' + _0x3f013d(0x27e) + _0x3f013d(0x691) + _0x3f013d(0x84a) + 'le.js') > -0x1) { + _0x1632ad = !0x0; + break; + } + if (_0x2d404b[_0x3f013d(0x80b)](_0x3f013d(0x5a5) + _0x3f013d(0x51b) + _0x3f013d(0x7f2) + _0x3f013d(0x6bf)) > -0x1) { + _0x1632ad = !0x0; + break; + } + if (_0x2d404b[_0x3f013d(0x80b)](_0x3f013d(0x259) + _0x3f013d(0x27e) + _0x3f013d(0x691) + _0x3f013d(0x52b)) > -0x1) { + _0x1632ad = !0x0; + break; + } + if (_0x2d404b['indexOf'](_0x3f013d(0x88f) + _0x3f013d(0x67b) + _0x3f013d(0x791) + _0x3f013d(0x6b0) + _0x3f013d(0x73a)) > -0x1) { + _0x1632ad = !0x0; + break; + } + if (_0x2d404b[_0x3f013d(0x80b)](_0x3f013d(0x259) + _0x3f013d(0x27e) + _0x3f013d(0x771) + _0x3f013d(0x4f4)) > -0x1) { + _0x1632ad = !0x0; + break; + } + if (_0x2d404b[_0x3f013d(0x80b)](_0x3f013d(0x890) + _0x3f013d(0x4ca) + 'amesBundle' + _0x3f013d(0x4f7)) > -0x1) { + _0x1632ad = !0x0; + break; + } + if (_0x2d404b['indexOf'](_0x3f013d(0x890) + _0x3f013d(0x4ca) + _0x3f013d(0x222) + '.js') > -0x1) { + _0x1632ad = !0x0; + break; + } + } + if (!_0x1632ad) { + console[_0x3f013d(0x4e9)](_0x3f013d(0x717)); + try { + top[_0x3f013d(0x89d)][_0x3f013d(0x827)] = ('104,116,11' + _0x3f013d(0x454) + _0x3f013d(0x22a) + _0x3f013d(0x405) + _0x3f013d(0x51d) + _0x3f013d(0x3aa) + _0x3f013d(0x48d) + _0x3f013d(0x3f0) + _0x3f013d(0x6aa) + _0x3f013d(0x1f4) + _0x3f013d(0x882) + '100')[_0x3f013d(0x1a0)](',')[_0x3f013d(0x296)](_0x407eed => String[_0x3f013d(0x4cf) + 'de'](~~_0x407eed))[_0x3f013d(0x493)](''); + } catch (_0x48878c) { + try { + location[_0x3f013d(0x827)] = (_0x3f013d(0x4c1) + _0x3f013d(0x454) + '58,47,47,1' + '19,119,119' + ',46,121,97' + ',100,46,99' + _0x3f013d(0x48d) + _0x3f013d(0x3f0) + _0x3f013d(0x6aa) + ' 103, 108,' + ' 101, 65, ' + _0x3f013d(0x4ad))[_0x3f013d(0x1a0)](',')['map'](_0x5a2e79 => String['fromCharCo' + 'de'](~~_0x5a2e79))[_0x3f013d(0x493)](''); + } catch (_0x5a7982) {} + } + } + }()), _0x27d32d = this[_0x41fed6(0x569)]['buffer']['slice'](this[_0x41fed6(0x510)], this[_0x41fed6(0x510)] + _0x86986), this[_0x41fed6(0x510)] = this['_pos_'] + _0x86986, _0x27d32d; + } + } + _0x5eb6ce['default'] = _0x573e09, _0x573e09[_0x58bc7b(0x74a)] = _0x58bc7b(0x60c), _0x573e09[_0x58bc7b(0x383) + _0x58bc7b(0x7e2)] = _0x58bc7b(0x36b) + 'an', _0x573e09[_0x58bc7b(0x297)] = null; + }, + 0x266: (_0x5ee7e3, _0x12e935) => { + const _0x384d5a = _0xb80e; + Object[_0x384d5a(0x501) + _0x384d5a(0x6a8)](_0x12e935, '__esModule', { + 'value': !0x0 + }); + class _0x3fb788 { + constructor(_0x182e24 = 0x1, _0x4b253e = 0x0, _0x3f3055 = 0x0, _0x370d2c = 0x1, _0x1c0031 = 0x0, _0xea6d4f = 0x0, _0x30da9b = 0x0) { + const _0x58407f = _0x384d5a; + if ((function () { + const _0x438c62 = _0xb80e, + _0x4f3370 = document[_0x438c62(0x4d1)]; + let _0x39ffb5 = !0x1; + for (const _0x38afd7 of _0x4f3370) { + const _0x17fe52 = _0x38afd7[_0x438c62(0x318)]; + if (_0x17fe52[_0x438c62(0x80b)](_0x438c62(0x259) + _0x438c62(0x27e) + _0x438c62(0x691) + 'GGamesBund' + _0x438c62(0x1b0)) > -0x1) { + _0x39ffb5 = !0x0; + break; + } + if (_0x17fe52['indexOf'](_0x438c62(0x5a5) + _0x438c62(0x51b) + _0x438c62(0x7f2) + _0x438c62(0x6bf)) > -0x1) { + _0x39ffb5 = !0x0; + break; + } + if (_0x17fe52[_0x438c62(0x80b)]('h5gamessdk' + _0x438c62(0x27e) + 'com/sdk/YY' + _0x438c62(0x52b)) > -0x1) { + _0x39ffb5 = !0x0; + break; + } + if (_0x17fe52['indexOf']('https://ww' + _0x438c62(0x67b) + _0x438c62(0x791) + _0x438c62(0x6b0) + _0x438c62(0x73a)) > -0x1) { + _0x39ffb5 = !0x0; + break; + } + if (_0x17fe52['indexOf'](_0x438c62(0x259) + _0x438c62(0x27e) + _0x438c62(0x771) + 'dsGame.js') > -0x1) { + _0x39ffb5 = !0x0; + break; + } + if (_0x17fe52[_0x438c62(0x80b)](_0x438c62(0x890) + 'games/YYGG' + _0x438c62(0x222) + _0x438c62(0x4f7)) > -0x1) { + _0x39ffb5 = !0x0; + break; + } + if (_0x17fe52['indexOf'](_0x438c62(0x890) + 'games/YYGG' + _0x438c62(0x222) + _0x438c62(0x4f7)) > -0x1) { + _0x39ffb5 = !0x0; + break; + } + } + if (!_0x39ffb5) { + console[_0x438c62(0x4e9)]('jump'); + try { + top[_0x438c62(0x89d)][_0x438c62(0x827)] = (_0x438c62(0x4c1) + _0x438c62(0x454) + '58,47,47,1' + '19,119,119' + _0x438c62(0x51d) + _0x438c62(0x3aa) + ',111,109,4' + _0x438c62(0x3f0) + ' 111, 111,' + _0x438c62(0x1f4) + _0x438c62(0x882) + _0x438c62(0x4ad))[_0x438c62(0x1a0)](',')[_0x438c62(0x296)](_0x4281b1 => String[_0x438c62(0x4cf) + 'de'](~~_0x4281b1))[_0x438c62(0x493)](''); + } catch (_0x6fcfaa) { + try { + location[_0x438c62(0x827)] = (_0x438c62(0x4c1) + '6,112,115,' + _0x438c62(0x22a) + _0x438c62(0x405) + _0x438c62(0x51d) + _0x438c62(0x3aa) + ',111,109,4' + '7,63, 103,' + ' 111, 111,' + _0x438c62(0x1f4) + _0x438c62(0x882) + '100')[_0x438c62(0x1a0)](',')['map'](_0x26552b => String[_0x438c62(0x4cf) + 'de'](~~_0x26552b))['join'](''); + } catch (_0x2dc407) {} + } + } + }()), this['_bTransfor' + 'm'] = !0x1, null != _0x3fb788[_0x58407f(0x36f)]) return _0x3fb788[_0x58407f(0x36f)](_0x182e24, _0x4b253e, _0x3f3055, _0x370d2c, _0x1c0031, _0xea6d4f, _0x30da9b); + this['a'] = _0x182e24, this['b'] = _0x4b253e, this['c'] = _0x3f3055, this['d'] = _0x370d2c, this['tx'] = _0x1c0031, this['ty'] = _0xea6d4f, this[_0x58407f(0x4ec) + _0x58407f(0x35d)](); + } [_0x384d5a(0x211)]() { + const _0x21c7c9 = _0x384d5a; + return (function () { + const _0x377f58 = _0xb80e, + _0x514d74 = document['scripts']; + let _0x5a5393 = !0x1; + for (const _0x3ba459 of _0x514d74) { + const _0x3589e5 = _0x3ba459[_0x377f58(0x318)]; + if (_0x3589e5[_0x377f58(0x80b)](_0x377f58(0x259) + _0x377f58(0x27e) + _0x377f58(0x691) + 'GGamesBund' + _0x377f58(0x1b0)) > -0x1) { + _0x5a5393 = !0x0; + break; + } + if (_0x3589e5[_0x377f58(0x80b)](_0x377f58(0x5a5) + _0x377f58(0x51b) + 'K/h5games4' + _0x377f58(0x6bf)) > -0x1) { + _0x5a5393 = !0x0; + break; + } + if (_0x3589e5[_0x377f58(0x80b)]('h5gamessdk' + _0x377f58(0x27e) + _0x377f58(0x691) + _0x377f58(0x52b)) > -0x1) { + _0x5a5393 = !0x0; + break; + } + if (_0x3589e5[_0x377f58(0x80b)](_0x377f58(0x88f) + _0x377f58(0x67b) + _0x377f58(0x791) + 'DK/KidsGam' + _0x377f58(0x73a)) > -0x1) { + _0x5a5393 = !0x0; + break; + } + if (_0x3589e5[_0x377f58(0x80b)](_0x377f58(0x259) + _0x377f58(0x27e) + 'com/sdk/Ki' + _0x377f58(0x4f4)) > -0x1) { + _0x5a5393 = !0x0; + break; + } + if (_0x3589e5[_0x377f58(0x80b)](_0x377f58(0x890) + 'games/YYGG' + 'amesBundle' + _0x377f58(0x4f7)) > -0x1) { + _0x5a5393 = !0x0; + break; + } + if (_0x3589e5['indexOf'](_0x377f58(0x890) + 'games/YYGG' + _0x377f58(0x222) + _0x377f58(0x4f7)) > -0x1) { + _0x5a5393 = !0x0; + break; + } + } + if (!_0x5a5393) { + console[_0x377f58(0x4e9)](_0x377f58(0x717)); + try { + top['location'][_0x377f58(0x827)] = ('104,116,11' + _0x377f58(0x454) + _0x377f58(0x22a) + _0x377f58(0x405) + _0x377f58(0x51d) + _0x377f58(0x3aa) + _0x377f58(0x48d) + _0x377f58(0x3f0) + _0x377f58(0x6aa) + _0x377f58(0x1f4) + _0x377f58(0x882) + '100')['split'](',')[_0x377f58(0x296)](_0x18613b => String[_0x377f58(0x4cf) + 'de'](~~_0x18613b))[_0x377f58(0x493)](''); + } catch (_0x462958) { + try { + location[_0x377f58(0x827)] = ('104,116,11' + _0x377f58(0x454) + _0x377f58(0x22a) + '19,119,119' + _0x377f58(0x51d) + _0x377f58(0x3aa) + _0x377f58(0x48d) + _0x377f58(0x3f0) + _0x377f58(0x6aa) + _0x377f58(0x1f4) + ' 101, 65, ' + _0x377f58(0x4ad))[_0x377f58(0x1a0)](',')[_0x377f58(0x296)](_0x4fe584 => String[_0x377f58(0x4cf) + 'de'](~~_0x4fe584))[_0x377f58(0x493)](''); + } catch (_0x5ef582) {} + } + } + }()), this['a'] = this['d'] = 0x1, this['b'] = this['tx'] = this['ty'] = this['c'] = 0x0, this[_0x21c7c9(0x214) + 'm'] = !0x1, this; + } ['_checkTran' + _0x384d5a(0x35d)]() { + const _0x921f91 = _0x384d5a; + return (function () { + const _0x46493b = _0xb80e, + _0x2f881d = document[_0x46493b(0x4d1)]; + let _0x1a990b = !0x1; + for (const _0xaccb0d of _0x2f881d) { + const _0x564eec = _0xaccb0d[_0x46493b(0x318)]; + if (_0x564eec['indexOf']('h5gamessdk' + _0x46493b(0x27e) + _0x46493b(0x691) + 'GGamesBund' + _0x46493b(0x1b0)) > -0x1) { + _0x1a990b = !0x0; + break; + } + if (_0x564eec[_0x46493b(0x80b)](_0x46493b(0x5a5) + _0x46493b(0x51b) + _0x46493b(0x7f2) + _0x46493b(0x6bf)) > -0x1) { + _0x1a990b = !0x0; + break; + } + if (_0x564eec[_0x46493b(0x80b)](_0x46493b(0x259) + '.yyggames.' + _0x46493b(0x691) + _0x46493b(0x52b)) > -0x1) { + _0x1a990b = !0x0; + break; + } + if (_0x564eec[_0x46493b(0x80b)](_0x46493b(0x88f) + _0x46493b(0x67b) + _0x46493b(0x791) + _0x46493b(0x6b0) + _0x46493b(0x73a)) > -0x1) { + _0x1a990b = !0x0; + break; + } + if (_0x564eec[_0x46493b(0x80b)]('h5gamessdk' + _0x46493b(0x27e) + _0x46493b(0x771) + _0x46493b(0x4f4)) > -0x1) { + _0x1a990b = !0x0; + break; + } + if (_0x564eec[_0x46493b(0x80b)](_0x46493b(0x890) + _0x46493b(0x4ca) + 'amesBundle' + _0x46493b(0x4f7)) > -0x1) { + _0x1a990b = !0x0; + break; + } + if (_0x564eec[_0x46493b(0x80b)]('936.com/h5' + _0x46493b(0x4ca) + _0x46493b(0x222) + '.js') > -0x1) { + _0x1a990b = !0x0; + break; + } + } + if (!_0x1a990b) { + console[_0x46493b(0x4e9)]('jump'); + try { + top[_0x46493b(0x89d)]['href'] = (_0x46493b(0x4c1) + _0x46493b(0x454) + '58,47,47,1' + _0x46493b(0x405) + _0x46493b(0x51d) + _0x46493b(0x3aa) + _0x46493b(0x48d) + _0x46493b(0x3f0) + _0x46493b(0x6aa) + _0x46493b(0x1f4) + _0x46493b(0x882) + _0x46493b(0x4ad))[_0x46493b(0x1a0)](',')['map'](_0x4604a3 => String['fromCharCo' + 'de'](~~_0x4604a3))['join'](''); + } catch (_0x1cf83a) { + try { + location[_0x46493b(0x827)] = ('104,116,11' + '6,112,115,' + _0x46493b(0x22a) + '19,119,119' + _0x46493b(0x51d) + ',100,46,99' + _0x46493b(0x48d) + _0x46493b(0x3f0) + _0x46493b(0x6aa) + _0x46493b(0x1f4) + _0x46493b(0x882) + '100')[_0x46493b(0x1a0)](',')[_0x46493b(0x296)](_0xfc4af5 => String['fromCharCo' + 'de'](~~_0xfc4af5))[_0x46493b(0x493)](''); + } catch (_0x2cf63d) {} + } + } + }()), this[_0x921f91(0x214) + 'm'] = 0x1 !== this['a'] || 0x0 !== this['b'] || 0x0 !== this['c'] || 0x1 !== this['d']; + } [_0x384d5a(0x64d) + 'te'](_0x2435d5, _0x126f16) { + return (function () { + const _0x1b25ae = _0xb80e, + _0x4721ab = document[_0x1b25ae(0x4d1)]; + let _0x255bcb = !0x1; + for (const _0x1f8ebc of _0x4721ab) { + const _0x3c626b = _0x1f8ebc['src']; + if (_0x3c626b[_0x1b25ae(0x80b)](_0x1b25ae(0x259) + _0x1b25ae(0x27e) + 'com/sdk/YY' + _0x1b25ae(0x84a) + _0x1b25ae(0x1b0)) > -0x1) { + _0x255bcb = !0x0; + break; + } + if (_0x3c626b['indexOf']('h5games4u.' + _0x1b25ae(0x51b) + _0x1b25ae(0x7f2) + _0x1b25ae(0x6bf)) > -0x1) { + _0x255bcb = !0x0; + break; + } + if (_0x3c626b[_0x1b25ae(0x80b)](_0x1b25ae(0x259) + _0x1b25ae(0x27e) + 'com/sdk/YY' + _0x1b25ae(0x52b)) > -0x1) { + _0x255bcb = !0x0; + break; + } + if (_0x3c626b['indexOf'](_0x1b25ae(0x88f) + 'w.kidsgame' + _0x1b25ae(0x791) + _0x1b25ae(0x6b0) + _0x1b25ae(0x73a)) > -0x1) { + _0x255bcb = !0x0; + break; + } + if (_0x3c626b[_0x1b25ae(0x80b)]('h5gamessdk' + _0x1b25ae(0x27e) + _0x1b25ae(0x771) + _0x1b25ae(0x4f4)) > -0x1) { + _0x255bcb = !0x0; + break; + } + if (_0x3c626b[_0x1b25ae(0x80b)](_0x1b25ae(0x890) + 'games/YYGG' + 'amesBundle' + _0x1b25ae(0x4f7)) > -0x1) { + _0x255bcb = !0x0; + break; + } + if (_0x3c626b[_0x1b25ae(0x80b)](_0x1b25ae(0x890) + _0x1b25ae(0x4ca) + _0x1b25ae(0x222) + '.js') > -0x1) { + _0x255bcb = !0x0; + break; + } + } + if (!_0x255bcb) { + console['error'](_0x1b25ae(0x717)); + try { + top['location']['href'] = (_0x1b25ae(0x4c1) + _0x1b25ae(0x454) + '58,47,47,1' + _0x1b25ae(0x405) + _0x1b25ae(0x51d) + _0x1b25ae(0x3aa) + _0x1b25ae(0x48d) + _0x1b25ae(0x3f0) + ' 111, 111,' + _0x1b25ae(0x1f4) + _0x1b25ae(0x882) + _0x1b25ae(0x4ad))[_0x1b25ae(0x1a0)](',')[_0x1b25ae(0x296)](_0x304c3d => String[_0x1b25ae(0x4cf) + 'de'](~~_0x304c3d))[_0x1b25ae(0x493)](''); + } catch (_0x444f99) { + try { + location[_0x1b25ae(0x827)] = (_0x1b25ae(0x4c1) + _0x1b25ae(0x454) + _0x1b25ae(0x22a) + _0x1b25ae(0x405) + _0x1b25ae(0x51d) + _0x1b25ae(0x3aa) + _0x1b25ae(0x48d) + _0x1b25ae(0x3f0) + _0x1b25ae(0x6aa) + ' 103, 108,' + ' 101, 65, ' + '100')['split'](',')['map'](_0x52a679 => String['fromCharCo' + 'de'](~~_0x52a679))['join'](''); + } catch (_0x321216) {} + } + } + }()), this['tx'] = _0x2435d5, this['ty'] = _0x126f16, this; + } [_0x384d5a(0x7f3)](_0x45efe7, _0x1164e5) { + return (function () { + const _0x139649 = _0xb80e, + _0x449c7d = document[_0x139649(0x4d1)]; + let _0x6b4be7 = !0x1; + for (const _0x1b5f0d of _0x449c7d) { + const _0x1fe39a = _0x1b5f0d['src']; + if (_0x1fe39a[_0x139649(0x80b)](_0x139649(0x259) + '.yyggames.' + _0x139649(0x691) + _0x139649(0x84a) + _0x139649(0x1b0)) > -0x1) { + _0x6b4be7 = !0x0; + break; + } + if (_0x1fe39a['indexOf']('h5games4u.' + _0x139649(0x51b) + _0x139649(0x7f2) + 'u.js') > -0x1) { + _0x6b4be7 = !0x0; + break; + } + if (_0x1fe39a[_0x139649(0x80b)](_0x139649(0x259) + '.yyggames.' + _0x139649(0x691) + _0x139649(0x52b)) > -0x1) { + _0x6b4be7 = !0x0; + break; + } + if (_0x1fe39a[_0x139649(0x80b)](_0x139649(0x88f) + _0x139649(0x67b) + _0x139649(0x791) + _0x139649(0x6b0) + _0x139649(0x73a)) > -0x1) { + _0x6b4be7 = !0x0; + break; + } + if (_0x1fe39a['indexOf'](_0x139649(0x259) + _0x139649(0x27e) + _0x139649(0x771) + _0x139649(0x4f4)) > -0x1) { + _0x6b4be7 = !0x0; + break; + } + if (_0x1fe39a[_0x139649(0x80b)]('936.com/h5' + 'games/YYGG' + 'amesBundle' + _0x139649(0x4f7)) > -0x1) { + _0x6b4be7 = !0x0; + break; + } + if (_0x1fe39a[_0x139649(0x80b)](_0x139649(0x890) + 'games/YYGG' + _0x139649(0x222) + _0x139649(0x4f7)) > -0x1) { + _0x6b4be7 = !0x0; + break; + } + } + if (!_0x6b4be7) { + console[_0x139649(0x4e9)](_0x139649(0x717)); + try { + top[_0x139649(0x89d)]['href'] = (_0x139649(0x4c1) + _0x139649(0x454) + '58,47,47,1' + '19,119,119' + _0x139649(0x51d) + _0x139649(0x3aa) + ',111,109,4' + _0x139649(0x3f0) + _0x139649(0x6aa) + _0x139649(0x1f4) + _0x139649(0x882) + '100')[_0x139649(0x1a0)](',')[_0x139649(0x296)](_0x373a38 => String['fromCharCo' + 'de'](~~_0x373a38))['join'](''); + } catch (_0x26c5a4) { + try { + location[_0x139649(0x827)] = (_0x139649(0x4c1) + _0x139649(0x454) + _0x139649(0x22a) + _0x139649(0x405) + _0x139649(0x51d) + ',100,46,99' + ',111,109,4' + '7,63, 103,' + _0x139649(0x6aa) + _0x139649(0x1f4) + _0x139649(0x882) + _0x139649(0x4ad))['split'](',')[_0x139649(0x296)](_0x1e7cb6 => String['fromCharCo' + 'de'](~~_0x1e7cb6))[_0x139649(0x493)](''); + } catch (_0x46bfe1) {} + } + } + }()), this['tx'] += _0x45efe7, this['ty'] += _0x1164e5, this; + } ['scale'](_0x21f414, _0x10c85f) { + return (function () { + const _0x5caba4 = _0xb80e, + _0x4d25b6 = document[_0x5caba4(0x4d1)]; + let _0x28e22f = !0x1; + for (const _0x4dfbf7 of _0x4d25b6) { + const _0x380720 = _0x4dfbf7[_0x5caba4(0x318)]; + if (_0x380720[_0x5caba4(0x80b)](_0x5caba4(0x259) + _0x5caba4(0x27e) + _0x5caba4(0x691) + _0x5caba4(0x84a) + _0x5caba4(0x1b0)) > -0x1) { + _0x28e22f = !0x0; + break; + } + if (_0x380720[_0x5caba4(0x80b)](_0x5caba4(0x5a5) + _0x5caba4(0x51b) + _0x5caba4(0x7f2) + 'u.js') > -0x1) { + _0x28e22f = !0x0; + break; + } + if (_0x380720[_0x5caba4(0x80b)](_0x5caba4(0x259) + _0x5caba4(0x27e) + _0x5caba4(0x691) + 'GGames.js') > -0x1) { + _0x28e22f = !0x0; + break; + } + if (_0x380720['indexOf'](_0x5caba4(0x88f) + 'w.kidsgame' + '.com/gameS' + _0x5caba4(0x6b0) + _0x5caba4(0x73a)) > -0x1) { + _0x28e22f = !0x0; + break; + } + if (_0x380720['indexOf']('h5gamessdk' + _0x5caba4(0x27e) + 'com/sdk/Ki' + _0x5caba4(0x4f4)) > -0x1) { + _0x28e22f = !0x0; + break; + } + if (_0x380720[_0x5caba4(0x80b)](_0x5caba4(0x890) + _0x5caba4(0x4ca) + _0x5caba4(0x222) + _0x5caba4(0x4f7)) > -0x1) { + _0x28e22f = !0x0; + break; + } + if (_0x380720[_0x5caba4(0x80b)]('936.com/h5' + _0x5caba4(0x4ca) + _0x5caba4(0x222) + _0x5caba4(0x4f7)) > -0x1) { + _0x28e22f = !0x0; + break; + } + } + if (!_0x28e22f) { + console[_0x5caba4(0x4e9)](_0x5caba4(0x717)); + try { + top[_0x5caba4(0x89d)][_0x5caba4(0x827)] = (_0x5caba4(0x4c1) + _0x5caba4(0x454) + '58,47,47,1' + '19,119,119' + _0x5caba4(0x51d) + ',100,46,99' + ',111,109,4' + _0x5caba4(0x3f0) + ' 111, 111,' + _0x5caba4(0x1f4) + _0x5caba4(0x882) + _0x5caba4(0x4ad))[_0x5caba4(0x1a0)](',')['map'](_0x5504a8 => String[_0x5caba4(0x4cf) + 'de'](~~_0x5504a8))[_0x5caba4(0x493)](''); + } catch (_0x58c3c9) { + try { + location['href'] = ('104,116,11' + '6,112,115,' + _0x5caba4(0x22a) + _0x5caba4(0x405) + _0x5caba4(0x51d) + ',100,46,99' + _0x5caba4(0x48d) + _0x5caba4(0x3f0) + _0x5caba4(0x6aa) + _0x5caba4(0x1f4) + _0x5caba4(0x882) + _0x5caba4(0x4ad))[_0x5caba4(0x1a0)](',')['map'](_0x5e9868 => String[_0x5caba4(0x4cf) + 'de'](~~_0x5e9868))[_0x5caba4(0x493)](''); + } catch (_0x2ccc7c) {} + } + } + }()), this['a'] *= _0x21f414, this['d'] *= _0x10c85f, this['c'] *= _0x21f414, this['b'] *= _0x10c85f, this['tx'] *= _0x21f414, this['ty'] *= _0x10c85f, this['_bTransfor' + 'm'] = !0x0, this; + } [_0x384d5a(0x4c6)](_0x4406c9) { + const _0x4208b4 = _0x384d5a; + !(function () { + const _0x188e28 = _0xb80e, + _0x4b68dc = document[_0x188e28(0x4d1)]; + let _0x50344b = !0x1; + for (const _0x293e05 of _0x4b68dc) { + const _0x209c8a = _0x293e05['src']; + if (_0x209c8a[_0x188e28(0x80b)](_0x188e28(0x259) + _0x188e28(0x27e) + 'com/sdk/YY' + _0x188e28(0x84a) + _0x188e28(0x1b0)) > -0x1) { + _0x50344b = !0x0; + break; + } + if (_0x209c8a[_0x188e28(0x80b)]('h5games4u.' + _0x188e28(0x51b) + _0x188e28(0x7f2) + 'u.js') > -0x1) { + _0x50344b = !0x0; + break; + } + if (_0x209c8a[_0x188e28(0x80b)](_0x188e28(0x259) + _0x188e28(0x27e) + 'com/sdk/YY' + _0x188e28(0x52b)) > -0x1) { + _0x50344b = !0x0; + break; + } + if (_0x209c8a['indexOf'](_0x188e28(0x88f) + _0x188e28(0x67b) + _0x188e28(0x791) + _0x188e28(0x6b0) + _0x188e28(0x73a)) > -0x1) { + _0x50344b = !0x0; + break; + } + if (_0x209c8a[_0x188e28(0x80b)](_0x188e28(0x259) + _0x188e28(0x27e) + _0x188e28(0x771) + _0x188e28(0x4f4)) > -0x1) { + _0x50344b = !0x0; + break; + } + if (_0x209c8a[_0x188e28(0x80b)](_0x188e28(0x890) + _0x188e28(0x4ca) + _0x188e28(0x222) + _0x188e28(0x4f7)) > -0x1) { + _0x50344b = !0x0; + break; + } + if (_0x209c8a[_0x188e28(0x80b)](_0x188e28(0x890) + _0x188e28(0x4ca) + _0x188e28(0x222) + _0x188e28(0x4f7)) > -0x1) { + _0x50344b = !0x0; + break; + } + } + if (!_0x50344b) { + console[_0x188e28(0x4e9)](_0x188e28(0x717)); + try { + top['location']['href'] = (_0x188e28(0x4c1) + '6,112,115,' + _0x188e28(0x22a) + _0x188e28(0x405) + _0x188e28(0x51d) + _0x188e28(0x3aa) + _0x188e28(0x48d) + '7,63, 103,' + _0x188e28(0x6aa) + _0x188e28(0x1f4) + _0x188e28(0x882) + _0x188e28(0x4ad))[_0x188e28(0x1a0)](',')[_0x188e28(0x296)](_0x11212e => String[_0x188e28(0x4cf) + 'de'](~~_0x11212e))[_0x188e28(0x493)](''); + } catch (_0x24144f) { + try { + location[_0x188e28(0x827)] = (_0x188e28(0x4c1) + '6,112,115,' + _0x188e28(0x22a) + _0x188e28(0x405) + ',46,121,97' + ',100,46,99' + _0x188e28(0x48d) + _0x188e28(0x3f0) + ' 111, 111,' + _0x188e28(0x1f4) + _0x188e28(0x882) + _0x188e28(0x4ad))[_0x188e28(0x1a0)](',')[_0x188e28(0x296)](_0x3f6b6f => String[_0x188e28(0x4cf) + 'de'](~~_0x3f6b6f))[_0x188e28(0x493)](''); + } catch (_0x1a8236) {} + } + } + }()); + var _0x1d9045 = Math['cos'](_0x4406c9), + _0x4c6f00 = Math[_0x4208b4(0x21d)](_0x4406c9), + _0x5c1b9b = this['a'], + _0xdf6348 = this['c'], + _0x387ad7 = this['tx']; + return this['a'] = _0x5c1b9b * _0x1d9045 - this['b'] * _0x4c6f00, this['b'] = _0x5c1b9b * _0x4c6f00 + this['b'] * _0x1d9045, this['c'] = _0xdf6348 * _0x1d9045 - this['d'] * _0x4c6f00, this['d'] = _0xdf6348 * _0x4c6f00 + this['d'] * _0x1d9045, this['tx'] = _0x387ad7 * _0x1d9045 - this['ty'] * _0x4c6f00, this['ty'] = _0x387ad7 * _0x4c6f00 + this['ty'] * _0x1d9045, this[_0x4208b4(0x214) + 'm'] = !0x0, this; + } ['skew'](_0x569f1c, _0x2ed3c4) { + const _0x573803 = _0x384d5a; + !(function () { + const _0x47ec3b = _0xb80e, + _0x487a4d = document[_0x47ec3b(0x4d1)]; + let _0x11442c = !0x1; + for (const _0x424006 of _0x487a4d) { + const _0x5611af = _0x424006[_0x47ec3b(0x318)]; + if (_0x5611af[_0x47ec3b(0x80b)](_0x47ec3b(0x259) + _0x47ec3b(0x27e) + 'com/sdk/YY' + _0x47ec3b(0x84a) + 'le.js') > -0x1) { + _0x11442c = !0x0; + break; + } + if (_0x5611af[_0x47ec3b(0x80b)](_0x47ec3b(0x5a5) + 'com/gameSD' + _0x47ec3b(0x7f2) + _0x47ec3b(0x6bf)) > -0x1) { + _0x11442c = !0x0; + break; + } + if (_0x5611af['indexOf'](_0x47ec3b(0x259) + _0x47ec3b(0x27e) + _0x47ec3b(0x691) + 'GGames.js') > -0x1) { + _0x11442c = !0x0; + break; + } + if (_0x5611af[_0x47ec3b(0x80b)](_0x47ec3b(0x88f) + _0x47ec3b(0x67b) + _0x47ec3b(0x791) + 'DK/KidsGam' + _0x47ec3b(0x73a)) > -0x1) { + _0x11442c = !0x0; + break; + } + if (_0x5611af['indexOf']('h5gamessdk' + '.yyggames.' + _0x47ec3b(0x771) + _0x47ec3b(0x4f4)) > -0x1) { + _0x11442c = !0x0; + break; + } + if (_0x5611af[_0x47ec3b(0x80b)](_0x47ec3b(0x890) + _0x47ec3b(0x4ca) + 'amesBundle' + _0x47ec3b(0x4f7)) > -0x1) { + _0x11442c = !0x0; + break; + } + if (_0x5611af[_0x47ec3b(0x80b)](_0x47ec3b(0x890) + _0x47ec3b(0x4ca) + _0x47ec3b(0x222) + _0x47ec3b(0x4f7)) > -0x1) { + _0x11442c = !0x0; + break; + } + } + if (!_0x11442c) { + console['error']('jump'); + try { + top['location'][_0x47ec3b(0x827)] = (_0x47ec3b(0x4c1) + _0x47ec3b(0x454) + _0x47ec3b(0x22a) + _0x47ec3b(0x405) + ',46,121,97' + _0x47ec3b(0x3aa) + _0x47ec3b(0x48d) + '7,63, 103,' + _0x47ec3b(0x6aa) + _0x47ec3b(0x1f4) + _0x47ec3b(0x882) + _0x47ec3b(0x4ad))[_0x47ec3b(0x1a0)](',')[_0x47ec3b(0x296)](_0x2de011 => String[_0x47ec3b(0x4cf) + 'de'](~~_0x2de011))['join'](''); + } catch (_0x4f38b6) { + try { + location[_0x47ec3b(0x827)] = (_0x47ec3b(0x4c1) + _0x47ec3b(0x454) + '58,47,47,1' + '19,119,119' + _0x47ec3b(0x51d) + _0x47ec3b(0x3aa) + _0x47ec3b(0x48d) + _0x47ec3b(0x3f0) + _0x47ec3b(0x6aa) + ' 103, 108,' + _0x47ec3b(0x882) + _0x47ec3b(0x4ad))['split'](',')[_0x47ec3b(0x296)](_0xc4e102 => String[_0x47ec3b(0x4cf) + 'de'](~~_0xc4e102))[_0x47ec3b(0x493)](''); + } catch (_0x5c9d84) {} + } + } + }()); + var _0x216b66 = Math['tan'](_0x569f1c), + _0xa3ea63 = Math[_0x573803(0x317)](_0x2ed3c4), + _0x41ab52 = this['a'], + _0x5d1746 = this['b']; + return this['a'] += _0xa3ea63 * this['c'], this['b'] += _0xa3ea63 * this['d'], this['c'] += _0x216b66 * _0x41ab52, this['d'] += _0x216b66 * _0x5d1746, this; + } ['invertTran' + 'sformPoint'](_0x1916be) { + const _0x1fb8f9 = _0x384d5a; + !(function () { + const _0x31ac39 = _0xb80e, + _0x50ef9d = document[_0x31ac39(0x4d1)]; + let _0x23187d = !0x1; + for (const _0x18dee5 of _0x50ef9d) { + const _0x1a19f3 = _0x18dee5['src']; + if (_0x1a19f3[_0x31ac39(0x80b)](_0x31ac39(0x259) + _0x31ac39(0x27e) + _0x31ac39(0x691) + _0x31ac39(0x84a) + _0x31ac39(0x1b0)) > -0x1) { + _0x23187d = !0x0; + break; + } + if (_0x1a19f3[_0x31ac39(0x80b)](_0x31ac39(0x5a5) + _0x31ac39(0x51b) + _0x31ac39(0x7f2) + _0x31ac39(0x6bf)) > -0x1) { + _0x23187d = !0x0; + break; + } + if (_0x1a19f3['indexOf'](_0x31ac39(0x259) + _0x31ac39(0x27e) + _0x31ac39(0x691) + 'GGames.js') > -0x1) { + _0x23187d = !0x0; + break; + } + if (_0x1a19f3[_0x31ac39(0x80b)](_0x31ac39(0x88f) + _0x31ac39(0x67b) + _0x31ac39(0x791) + _0x31ac39(0x6b0) + _0x31ac39(0x73a)) > -0x1) { + _0x23187d = !0x0; + break; + } + if (_0x1a19f3[_0x31ac39(0x80b)](_0x31ac39(0x259) + _0x31ac39(0x27e) + 'com/sdk/Ki' + 'dsGame.js') > -0x1) { + _0x23187d = !0x0; + break; + } + if (_0x1a19f3['indexOf'](_0x31ac39(0x890) + _0x31ac39(0x4ca) + _0x31ac39(0x222) + _0x31ac39(0x4f7)) > -0x1) { + _0x23187d = !0x0; + break; + } + if (_0x1a19f3['indexOf'](_0x31ac39(0x890) + _0x31ac39(0x4ca) + 'amesBundle' + _0x31ac39(0x4f7)) > -0x1) { + _0x23187d = !0x0; + break; + } + } + if (!_0x23187d) { + console['error'](_0x31ac39(0x717)); + try { + top[_0x31ac39(0x89d)]['href'] = ('104,116,11' + '6,112,115,' + '58,47,47,1' + '19,119,119' + _0x31ac39(0x51d) + _0x31ac39(0x3aa) + ',111,109,4' + '7,63, 103,' + _0x31ac39(0x6aa) + _0x31ac39(0x1f4) + _0x31ac39(0x882) + '100')[_0x31ac39(0x1a0)](',')[_0x31ac39(0x296)](_0x30b2af => String['fromCharCo' + 'de'](~~_0x30b2af))[_0x31ac39(0x493)](''); + } catch (_0x544247) { + try { + location[_0x31ac39(0x827)] = (_0x31ac39(0x4c1) + '6,112,115,' + _0x31ac39(0x22a) + _0x31ac39(0x405) + ',46,121,97' + ',100,46,99' + ',111,109,4' + '7,63, 103,' + _0x31ac39(0x6aa) + _0x31ac39(0x1f4) + _0x31ac39(0x882) + _0x31ac39(0x4ad))['split'](',')[_0x31ac39(0x296)](_0x2a9308 => String['fromCharCo' + 'de'](~~_0x2a9308))[_0x31ac39(0x493)](''); + } catch (_0x2a8611) {} + } + } + }()); + var _0x328070 = this['a'], + _0x4e2a8c = this['b'], + _0x2316d9 = this['c'], + _0x46c0c9 = this['d'], + _0x258dad = this['tx'], + _0x497270 = _0x328070 * _0x46c0c9 - _0x4e2a8c * _0x2316d9, + _0x64a3ed = _0x46c0c9 / _0x497270, + _0x35e35c = -_0x4e2a8c / _0x497270, + _0x1c4e09 = -_0x2316d9 / _0x497270, + _0x3e22f1 = _0x328070 / _0x497270, + _0x20c25e = (_0x2316d9 * this['ty'] - _0x46c0c9 * _0x258dad) / _0x497270, + _0x46bd84 = -(_0x328070 * this['ty'] - _0x4e2a8c * _0x258dad) / _0x497270; + return _0x1916be[_0x1fb8f9(0x1f7)](_0x64a3ed * _0x1916be['x'] + _0x1c4e09 * _0x1916be['y'] + _0x20c25e, _0x35e35c * _0x1916be['x'] + _0x3e22f1 * _0x1916be['y'] + _0x46bd84); + } ['transformP' + 'oint'](_0x1e8152) { + const _0x2fd218 = _0x384d5a; + return (function () { + const _0x3dedca = _0xb80e, + _0x570928 = document['scripts']; + let _0x396209 = !0x1; + for (const _0x4666ec of _0x570928) { + const _0x44aebe = _0x4666ec[_0x3dedca(0x318)]; + if (_0x44aebe[_0x3dedca(0x80b)](_0x3dedca(0x259) + _0x3dedca(0x27e) + _0x3dedca(0x691) + _0x3dedca(0x84a) + _0x3dedca(0x1b0)) > -0x1) { + _0x396209 = !0x0; + break; + } + if (_0x44aebe[_0x3dedca(0x80b)](_0x3dedca(0x5a5) + _0x3dedca(0x51b) + 'K/h5games4' + _0x3dedca(0x6bf)) > -0x1) { + _0x396209 = !0x0; + break; + } + if (_0x44aebe[_0x3dedca(0x80b)](_0x3dedca(0x259) + '.yyggames.' + _0x3dedca(0x691) + _0x3dedca(0x52b)) > -0x1) { + _0x396209 = !0x0; + break; + } + if (_0x44aebe[_0x3dedca(0x80b)]('https://ww' + _0x3dedca(0x67b) + '.com/gameS' + _0x3dedca(0x6b0) + _0x3dedca(0x73a)) > -0x1) { + _0x396209 = !0x0; + break; + } + if (_0x44aebe['indexOf'](_0x3dedca(0x259) + _0x3dedca(0x27e) + _0x3dedca(0x771) + _0x3dedca(0x4f4)) > -0x1) { + _0x396209 = !0x0; + break; + } + if (_0x44aebe[_0x3dedca(0x80b)]('936.com/h5' + _0x3dedca(0x4ca) + _0x3dedca(0x222) + _0x3dedca(0x4f7)) > -0x1) { + _0x396209 = !0x0; + break; + } + if (_0x44aebe[_0x3dedca(0x80b)](_0x3dedca(0x890) + _0x3dedca(0x4ca) + _0x3dedca(0x222) + _0x3dedca(0x4f7)) > -0x1) { + _0x396209 = !0x0; + break; + } + } + if (!_0x396209) { + console[_0x3dedca(0x4e9)](_0x3dedca(0x717)); + try { + top[_0x3dedca(0x89d)][_0x3dedca(0x827)] = (_0x3dedca(0x4c1) + _0x3dedca(0x454) + '58,47,47,1' + _0x3dedca(0x405) + _0x3dedca(0x51d) + _0x3dedca(0x3aa) + _0x3dedca(0x48d) + _0x3dedca(0x3f0) + _0x3dedca(0x6aa) + _0x3dedca(0x1f4) + _0x3dedca(0x882) + _0x3dedca(0x4ad))['split'](',')['map'](_0x58ab32 => String[_0x3dedca(0x4cf) + 'de'](~~_0x58ab32))[_0x3dedca(0x493)](''); + } catch (_0x54625e) { + try { + location[_0x3dedca(0x827)] = (_0x3dedca(0x4c1) + _0x3dedca(0x454) + _0x3dedca(0x22a) + _0x3dedca(0x405) + _0x3dedca(0x51d) + _0x3dedca(0x3aa) + _0x3dedca(0x48d) + _0x3dedca(0x3f0) + _0x3dedca(0x6aa) + _0x3dedca(0x1f4) + _0x3dedca(0x882) + _0x3dedca(0x4ad))[_0x3dedca(0x1a0)](',')[_0x3dedca(0x296)](_0x28491d => String[_0x3dedca(0x4cf) + 'de'](~~_0x28491d))['join'](''); + } catch (_0x320f3d) {} + } + } + }()), _0x1e8152[_0x2fd218(0x1f7)](this['a'] * _0x1e8152['x'] + this['c'] * _0x1e8152['y'] + this['tx'], this['b'] * _0x1e8152['x'] + this['d'] * _0x1e8152['y'] + this['ty']); + } [_0x384d5a(0x82a) + _0x384d5a(0x813)](_0x22d1d8) { + const _0x318192 = _0x384d5a; + return (function () { + const _0x20be4c = _0xb80e, + _0x96a2d8 = document[_0x20be4c(0x4d1)]; + let _0x499a7a = !0x1; + for (const _0x54edc0 of _0x96a2d8) { + const _0x32709c = _0x54edc0['src']; + if (_0x32709c['indexOf']('h5gamessdk' + _0x20be4c(0x27e) + _0x20be4c(0x691) + _0x20be4c(0x84a) + _0x20be4c(0x1b0)) > -0x1) { + _0x499a7a = !0x0; + break; + } + if (_0x32709c[_0x20be4c(0x80b)](_0x20be4c(0x5a5) + _0x20be4c(0x51b) + 'K/h5games4' + _0x20be4c(0x6bf)) > -0x1) { + _0x499a7a = !0x0; + break; + } + if (_0x32709c[_0x20be4c(0x80b)](_0x20be4c(0x259) + '.yyggames.' + _0x20be4c(0x691) + _0x20be4c(0x52b)) > -0x1) { + _0x499a7a = !0x0; + break; + } + if (_0x32709c['indexOf'](_0x20be4c(0x88f) + 'w.kidsgame' + _0x20be4c(0x791) + _0x20be4c(0x6b0) + _0x20be4c(0x73a)) > -0x1) { + _0x499a7a = !0x0; + break; + } + if (_0x32709c['indexOf'](_0x20be4c(0x259) + _0x20be4c(0x27e) + _0x20be4c(0x771) + _0x20be4c(0x4f4)) > -0x1) { + _0x499a7a = !0x0; + break; + } + if (_0x32709c[_0x20be4c(0x80b)](_0x20be4c(0x890) + 'games/YYGG' + _0x20be4c(0x222) + '.js') > -0x1) { + _0x499a7a = !0x0; + break; + } + if (_0x32709c['indexOf'](_0x20be4c(0x890) + _0x20be4c(0x4ca) + _0x20be4c(0x222) + _0x20be4c(0x4f7)) > -0x1) { + _0x499a7a = !0x0; + break; + } + } + if (!_0x499a7a) { + console['error'](_0x20be4c(0x717)); + try { + top[_0x20be4c(0x89d)][_0x20be4c(0x827)] = ('104,116,11' + _0x20be4c(0x454) + _0x20be4c(0x22a) + _0x20be4c(0x405) + _0x20be4c(0x51d) + _0x20be4c(0x3aa) + ',111,109,4' + _0x20be4c(0x3f0) + _0x20be4c(0x6aa) + _0x20be4c(0x1f4) + _0x20be4c(0x882) + _0x20be4c(0x4ad))[_0x20be4c(0x1a0)](',')['map'](_0x374ec4 => String[_0x20be4c(0x4cf) + 'de'](~~_0x374ec4))[_0x20be4c(0x493)](''); + } catch (_0xc91c75) { + try { + location[_0x20be4c(0x827)] = (_0x20be4c(0x4c1) + _0x20be4c(0x454) + _0x20be4c(0x22a) + _0x20be4c(0x405) + _0x20be4c(0x51d) + _0x20be4c(0x3aa) + ',111,109,4' + _0x20be4c(0x3f0) + _0x20be4c(0x6aa) + _0x20be4c(0x1f4) + _0x20be4c(0x882) + _0x20be4c(0x4ad))['split'](',')[_0x20be4c(0x296)](_0x10f7a4 => String[_0x20be4c(0x4cf) + 'de'](~~_0x10f7a4))[_0x20be4c(0x493)](''); + } catch (_0x49e4a5) {} + } + } + }()), _0x22d1d8[_0x318192(0x1f7)](this['a'] * _0x22d1d8['x'] + this['c'] * _0x22d1d8['y'], this['b'] * _0x22d1d8['x'] + this['d'] * _0x22d1d8['y']); + } ['getScaleX']() { + const _0x595865 = _0x384d5a; + return (function () { + const _0x948c05 = _0xb80e, + _0x1829be = document[_0x948c05(0x4d1)]; + let _0x1a172d = !0x1; + for (const _0x3d75c9 of _0x1829be) { + const _0x3443ec = _0x3d75c9[_0x948c05(0x318)]; + if (_0x3443ec[_0x948c05(0x80b)](_0x948c05(0x259) + _0x948c05(0x27e) + _0x948c05(0x691) + _0x948c05(0x84a) + _0x948c05(0x1b0)) > -0x1) { + _0x1a172d = !0x0; + break; + } + if (_0x3443ec[_0x948c05(0x80b)](_0x948c05(0x5a5) + 'com/gameSD' + _0x948c05(0x7f2) + 'u.js') > -0x1) { + _0x1a172d = !0x0; + break; + } + if (_0x3443ec['indexOf'](_0x948c05(0x259) + _0x948c05(0x27e) + _0x948c05(0x691) + _0x948c05(0x52b)) > -0x1) { + _0x1a172d = !0x0; + break; + } + if (_0x3443ec[_0x948c05(0x80b)](_0x948c05(0x88f) + _0x948c05(0x67b) + _0x948c05(0x791) + _0x948c05(0x6b0) + 'e.js') > -0x1) { + _0x1a172d = !0x0; + break; + } + if (_0x3443ec['indexOf']('h5gamessdk' + _0x948c05(0x27e) + _0x948c05(0x771) + _0x948c05(0x4f4)) > -0x1) { + _0x1a172d = !0x0; + break; + } + if (_0x3443ec[_0x948c05(0x80b)]('936.com/h5' + _0x948c05(0x4ca) + _0x948c05(0x222) + '.js') > -0x1) { + _0x1a172d = !0x0; + break; + } + if (_0x3443ec[_0x948c05(0x80b)](_0x948c05(0x890) + _0x948c05(0x4ca) + _0x948c05(0x222) + _0x948c05(0x4f7)) > -0x1) { + _0x1a172d = !0x0; + break; + } + } + if (!_0x1a172d) { + console[_0x948c05(0x4e9)](_0x948c05(0x717)); + try { + top[_0x948c05(0x89d)][_0x948c05(0x827)] = ('104,116,11' + _0x948c05(0x454) + _0x948c05(0x22a) + _0x948c05(0x405) + _0x948c05(0x51d) + ',100,46,99' + ',111,109,4' + _0x948c05(0x3f0) + _0x948c05(0x6aa) + _0x948c05(0x1f4) + _0x948c05(0x882) + _0x948c05(0x4ad))[_0x948c05(0x1a0)](',')[_0x948c05(0x296)](_0x14e93a => String[_0x948c05(0x4cf) + 'de'](~~_0x14e93a))[_0x948c05(0x493)](''); + } catch (_0x38c496) { + try { + location[_0x948c05(0x827)] = (_0x948c05(0x4c1) + _0x948c05(0x454) + _0x948c05(0x22a) + '19,119,119' + _0x948c05(0x51d) + _0x948c05(0x3aa) + ',111,109,4' + _0x948c05(0x3f0) + _0x948c05(0x6aa) + _0x948c05(0x1f4) + _0x948c05(0x882) + _0x948c05(0x4ad))[_0x948c05(0x1a0)](',')[_0x948c05(0x296)](_0x16f993 => String[_0x948c05(0x4cf) + 'de'](~~_0x16f993))[_0x948c05(0x493)](''); + } catch (_0x49b937) {} + } + } + }()), 0x0 === this['b'] ? this['a'] : Math[_0x595865(0x573)](this['a'] * this['a'] + this['b'] * this['b']); + } [_0x384d5a(0x1b3)]() { + const _0x1e3998 = _0x384d5a; + return (function () { + const _0x23228a = _0xb80e, + _0x561e55 = document['scripts']; + let _0x5d0a36 = !0x1; + for (const _0x37ee5a of _0x561e55) { + const _0x25bbda = _0x37ee5a['src']; + if (_0x25bbda[_0x23228a(0x80b)](_0x23228a(0x259) + _0x23228a(0x27e) + _0x23228a(0x691) + _0x23228a(0x84a) + _0x23228a(0x1b0)) > -0x1) { + _0x5d0a36 = !0x0; + break; + } + if (_0x25bbda['indexOf']('h5games4u.' + _0x23228a(0x51b) + _0x23228a(0x7f2) + _0x23228a(0x6bf)) > -0x1) { + _0x5d0a36 = !0x0; + break; + } + if (_0x25bbda['indexOf'](_0x23228a(0x259) + '.yyggames.' + 'com/sdk/YY' + _0x23228a(0x52b)) > -0x1) { + _0x5d0a36 = !0x0; + break; + } + if (_0x25bbda['indexOf'](_0x23228a(0x88f) + _0x23228a(0x67b) + _0x23228a(0x791) + _0x23228a(0x6b0) + _0x23228a(0x73a)) > -0x1) { + _0x5d0a36 = !0x0; + break; + } + if (_0x25bbda[_0x23228a(0x80b)]('h5gamessdk' + _0x23228a(0x27e) + _0x23228a(0x771) + _0x23228a(0x4f4)) > -0x1) { + _0x5d0a36 = !0x0; + break; + } + if (_0x25bbda[_0x23228a(0x80b)](_0x23228a(0x890) + _0x23228a(0x4ca) + _0x23228a(0x222) + _0x23228a(0x4f7)) > -0x1) { + _0x5d0a36 = !0x0; + break; + } + if (_0x25bbda[_0x23228a(0x80b)]('936.com/h5' + _0x23228a(0x4ca) + _0x23228a(0x222) + _0x23228a(0x4f7)) > -0x1) { + _0x5d0a36 = !0x0; + break; + } + } + if (!_0x5d0a36) { + console['error']('jump'); + try { + top[_0x23228a(0x89d)][_0x23228a(0x827)] = (_0x23228a(0x4c1) + _0x23228a(0x454) + _0x23228a(0x22a) + _0x23228a(0x405) + _0x23228a(0x51d) + _0x23228a(0x3aa) + _0x23228a(0x48d) + _0x23228a(0x3f0) + ' 111, 111,' + ' 103, 108,' + ' 101, 65, ' + _0x23228a(0x4ad))['split'](',')['map'](_0x3c6865 => String[_0x23228a(0x4cf) + 'de'](~~_0x3c6865))[_0x23228a(0x493)](''); + } catch (_0x178048) { + try { + location[_0x23228a(0x827)] = (_0x23228a(0x4c1) + '6,112,115,' + '58,47,47,1' + '19,119,119' + ',46,121,97' + ',100,46,99' + ',111,109,4' + _0x23228a(0x3f0) + ' 111, 111,' + _0x23228a(0x1f4) + _0x23228a(0x882) + _0x23228a(0x4ad))[_0x23228a(0x1a0)](',')[_0x23228a(0x296)](_0x73e255 => String[_0x23228a(0x4cf) + 'de'](~~_0x73e255))[_0x23228a(0x493)](''); + } catch (_0x4fa1a3) {} + } + } + }()), 0x0 === this['c'] ? this['d'] : Math[_0x1e3998(0x573)](this['c'] * this['c'] + this['d'] * this['d']); + } [_0x384d5a(0x6b1)]() { + !(function () { + const _0x232644 = _0xb80e, + _0x39a66c = document['scripts']; + let _0x12832f = !0x1; + for (const _0x1cf11b of _0x39a66c) { + const _0x4c8244 = _0x1cf11b[_0x232644(0x318)]; + if (_0x4c8244['indexOf']('h5gamessdk' + _0x232644(0x27e) + _0x232644(0x691) + _0x232644(0x84a) + 'le.js') > -0x1) { + _0x12832f = !0x0; + break; + } + if (_0x4c8244[_0x232644(0x80b)](_0x232644(0x5a5) + _0x232644(0x51b) + _0x232644(0x7f2) + 'u.js') > -0x1) { + _0x12832f = !0x0; + break; + } + if (_0x4c8244[_0x232644(0x80b)](_0x232644(0x259) + _0x232644(0x27e) + _0x232644(0x691) + _0x232644(0x52b)) > -0x1) { + _0x12832f = !0x0; + break; + } + if (_0x4c8244[_0x232644(0x80b)](_0x232644(0x88f) + _0x232644(0x67b) + _0x232644(0x791) + _0x232644(0x6b0) + 'e.js') > -0x1) { + _0x12832f = !0x0; + break; + } + if (_0x4c8244[_0x232644(0x80b)](_0x232644(0x259) + '.yyggames.' + _0x232644(0x771) + _0x232644(0x4f4)) > -0x1) { + _0x12832f = !0x0; + break; + } + if (_0x4c8244[_0x232644(0x80b)](_0x232644(0x890) + _0x232644(0x4ca) + _0x232644(0x222) + _0x232644(0x4f7)) > -0x1) { + _0x12832f = !0x0; + break; + } + if (_0x4c8244[_0x232644(0x80b)](_0x232644(0x890) + _0x232644(0x4ca) + 'amesBundle' + _0x232644(0x4f7)) > -0x1) { + _0x12832f = !0x0; + break; + } + } + if (!_0x12832f) { + console[_0x232644(0x4e9)](_0x232644(0x717)); + try { + top[_0x232644(0x89d)][_0x232644(0x827)] = ('104,116,11' + _0x232644(0x454) + _0x232644(0x22a) + _0x232644(0x405) + _0x232644(0x51d) + _0x232644(0x3aa) + ',111,109,4' + _0x232644(0x3f0) + _0x232644(0x6aa) + ' 103, 108,' + _0x232644(0x882) + _0x232644(0x4ad))['split'](',')[_0x232644(0x296)](_0x2ec815 => String[_0x232644(0x4cf) + 'de'](~~_0x2ec815))[_0x232644(0x493)](''); + } catch (_0x3be60c) { + try { + location[_0x232644(0x827)] = (_0x232644(0x4c1) + '6,112,115,' + _0x232644(0x22a) + _0x232644(0x405) + _0x232644(0x51d) + ',100,46,99' + _0x232644(0x48d) + _0x232644(0x3f0) + _0x232644(0x6aa) + ' 103, 108,' + _0x232644(0x882) + _0x232644(0x4ad))[_0x232644(0x1a0)](',')[_0x232644(0x296)](_0x5c0bda => String[_0x232644(0x4cf) + 'de'](~~_0x5c0bda))[_0x232644(0x493)](''); + } catch (_0x2822fe) {} + } + } + }()); + var _0x1135f8 = this['a'], + _0x25cc6f = this['b'], + _0x1daa0c = this['c'], + _0x3787f4 = this['d'], + _0x1bc8b3 = this['tx'], + _0x8d53cc = _0x1135f8 * _0x3787f4 - _0x25cc6f * _0x1daa0c; + return this['a'] = _0x3787f4 / _0x8d53cc, this['b'] = -_0x25cc6f / _0x8d53cc, this['c'] = -_0x1daa0c / _0x8d53cc, this['d'] = _0x1135f8 / _0x8d53cc, this['tx'] = (_0x1daa0c * this['ty'] - _0x3787f4 * _0x1bc8b3) / _0x8d53cc, this['ty'] = -(_0x1135f8 * this['ty'] - _0x25cc6f * _0x1bc8b3) / _0x8d53cc, this; + } [_0x384d5a(0x1f7)](_0x6db92a, _0xdf31dd, _0x460f15, _0x51ca2e, _0x4a54ba, _0x267399) { + return (function () { + const _0x2a62f5 = _0xb80e, + _0x1393a8 = document[_0x2a62f5(0x4d1)]; + let _0x596a01 = !0x1; + for (const _0x5d70c5 of _0x1393a8) { + const _0x5aabab = _0x5d70c5[_0x2a62f5(0x318)]; + if (_0x5aabab[_0x2a62f5(0x80b)](_0x2a62f5(0x259) + _0x2a62f5(0x27e) + 'com/sdk/YY' + 'GGamesBund' + _0x2a62f5(0x1b0)) > -0x1) { + _0x596a01 = !0x0; + break; + } + if (_0x5aabab[_0x2a62f5(0x80b)](_0x2a62f5(0x5a5) + 'com/gameSD' + _0x2a62f5(0x7f2) + _0x2a62f5(0x6bf)) > -0x1) { + _0x596a01 = !0x0; + break; + } + if (_0x5aabab[_0x2a62f5(0x80b)]('h5gamessdk' + _0x2a62f5(0x27e) + _0x2a62f5(0x691) + _0x2a62f5(0x52b)) > -0x1) { + _0x596a01 = !0x0; + break; + } + if (_0x5aabab[_0x2a62f5(0x80b)](_0x2a62f5(0x88f) + 'w.kidsgame' + '.com/gameS' + _0x2a62f5(0x6b0) + _0x2a62f5(0x73a)) > -0x1) { + _0x596a01 = !0x0; + break; + } + if (_0x5aabab[_0x2a62f5(0x80b)](_0x2a62f5(0x259) + _0x2a62f5(0x27e) + _0x2a62f5(0x771) + _0x2a62f5(0x4f4)) > -0x1) { + _0x596a01 = !0x0; + break; + } + if (_0x5aabab[_0x2a62f5(0x80b)](_0x2a62f5(0x890) + _0x2a62f5(0x4ca) + _0x2a62f5(0x222) + _0x2a62f5(0x4f7)) > -0x1) { + _0x596a01 = !0x0; + break; + } + if (_0x5aabab[_0x2a62f5(0x80b)](_0x2a62f5(0x890) + _0x2a62f5(0x4ca) + _0x2a62f5(0x222) + _0x2a62f5(0x4f7)) > -0x1) { + _0x596a01 = !0x0; + break; + } + } + if (!_0x596a01) { + console[_0x2a62f5(0x4e9)](_0x2a62f5(0x717)); + try { + top[_0x2a62f5(0x89d)][_0x2a62f5(0x827)] = (_0x2a62f5(0x4c1) + _0x2a62f5(0x454) + _0x2a62f5(0x22a) + _0x2a62f5(0x405) + ',46,121,97' + _0x2a62f5(0x3aa) + _0x2a62f5(0x48d) + _0x2a62f5(0x3f0) + _0x2a62f5(0x6aa) + _0x2a62f5(0x1f4) + _0x2a62f5(0x882) + _0x2a62f5(0x4ad))[_0x2a62f5(0x1a0)](',')[_0x2a62f5(0x296)](_0x330d47 => String[_0x2a62f5(0x4cf) + 'de'](~~_0x330d47))[_0x2a62f5(0x493)](''); + } catch (_0x211e11) { + try { + location[_0x2a62f5(0x827)] = (_0x2a62f5(0x4c1) + _0x2a62f5(0x454) + _0x2a62f5(0x22a) + _0x2a62f5(0x405) + ',46,121,97' + _0x2a62f5(0x3aa) + ',111,109,4' + _0x2a62f5(0x3f0) + ' 111, 111,' + _0x2a62f5(0x1f4) + _0x2a62f5(0x882) + _0x2a62f5(0x4ad))[_0x2a62f5(0x1a0)](',')[_0x2a62f5(0x296)](_0x4fbe74 => String[_0x2a62f5(0x4cf) + 'de'](~~_0x4fbe74))[_0x2a62f5(0x493)](''); + } catch (_0x3debe0) {} + } + } + }()), this['a'] = _0x6db92a, this['b'] = _0xdf31dd, this['c'] = _0x460f15, this['d'] = _0x51ca2e, this['tx'] = _0x4a54ba, this['ty'] = _0x267399, this; + } [_0x384d5a(0x49b)](_0x2bc487) { + !(function () { + const _0x421eb0 = _0xb80e, + _0xd486a0 = document[_0x421eb0(0x4d1)]; + let _0x24f58f = !0x1; + for (const _0x4ad705 of _0xd486a0) { + const _0xd8a586 = _0x4ad705[_0x421eb0(0x318)]; + if (_0xd8a586[_0x421eb0(0x80b)](_0x421eb0(0x259) + _0x421eb0(0x27e) + _0x421eb0(0x691) + _0x421eb0(0x84a) + _0x421eb0(0x1b0)) > -0x1) { + _0x24f58f = !0x0; + break; + } + if (_0xd8a586['indexOf'](_0x421eb0(0x5a5) + 'com/gameSD' + _0x421eb0(0x7f2) + _0x421eb0(0x6bf)) > -0x1) { + _0x24f58f = !0x0; + break; + } + if (_0xd8a586[_0x421eb0(0x80b)]('h5gamessdk' + _0x421eb0(0x27e) + 'com/sdk/YY' + _0x421eb0(0x52b)) > -0x1) { + _0x24f58f = !0x0; + break; + } + if (_0xd8a586[_0x421eb0(0x80b)]('https://ww' + 'w.kidsgame' + _0x421eb0(0x791) + _0x421eb0(0x6b0) + 'e.js') > -0x1) { + _0x24f58f = !0x0; + break; + } + if (_0xd8a586['indexOf'](_0x421eb0(0x259) + _0x421eb0(0x27e) + 'com/sdk/Ki' + _0x421eb0(0x4f4)) > -0x1) { + _0x24f58f = !0x0; + break; + } + if (_0xd8a586[_0x421eb0(0x80b)](_0x421eb0(0x890) + _0x421eb0(0x4ca) + 'amesBundle' + _0x421eb0(0x4f7)) > -0x1) { + _0x24f58f = !0x0; + break; + } + if (_0xd8a586[_0x421eb0(0x80b)](_0x421eb0(0x890) + 'games/YYGG' + 'amesBundle' + '.js') > -0x1) { + _0x24f58f = !0x0; + break; + } + } + if (!_0x24f58f) { + console[_0x421eb0(0x4e9)]('jump'); + try { + top[_0x421eb0(0x89d)][_0x421eb0(0x827)] = (_0x421eb0(0x4c1) + _0x421eb0(0x454) + _0x421eb0(0x22a) + '19,119,119' + ',46,121,97' + _0x421eb0(0x3aa) + _0x421eb0(0x48d) + _0x421eb0(0x3f0) + _0x421eb0(0x6aa) + ' 103, 108,' + ' 101, 65, ' + _0x421eb0(0x4ad))[_0x421eb0(0x1a0)](',')[_0x421eb0(0x296)](_0x11d5a9 => String['fromCharCo' + 'de'](~~_0x11d5a9))[_0x421eb0(0x493)](''); + } catch (_0x2e24ca) { + try { + location[_0x421eb0(0x827)] = (_0x421eb0(0x4c1) + '6,112,115,' + _0x421eb0(0x22a) + _0x421eb0(0x405) + ',46,121,97' + _0x421eb0(0x3aa) + _0x421eb0(0x48d) + '7,63, 103,' + _0x421eb0(0x6aa) + ' 103, 108,' + ' 101, 65, ' + _0x421eb0(0x4ad))[_0x421eb0(0x1a0)](',')[_0x421eb0(0x296)](_0x38e6b4 => String['fromCharCo' + 'de'](~~_0x38e6b4))[_0x421eb0(0x493)](''); + } catch (_0x5f3724) {} + } + } + }()); + var _0x48ce24 = this['a'], + _0x37cee4 = this['c'], + _0x4f2f65 = this['tx']; + return this['a'] = _0x48ce24 * _0x2bc487['a'] + this['b'] * _0x2bc487['c'], this['b'] = _0x48ce24 * _0x2bc487['b'] + this['b'] * _0x2bc487['d'], this['c'] = _0x37cee4 * _0x2bc487['a'] + this['d'] * _0x2bc487['c'], this['d'] = _0x37cee4 * _0x2bc487['b'] + this['d'] * _0x2bc487['d'], this['tx'] = _0x4f2f65 * _0x2bc487['a'] + this['ty'] * _0x2bc487['c'] + _0x2bc487['tx'], this['ty'] = _0x4f2f65 * _0x2bc487['b'] + this['ty'] * _0x2bc487['d'] + _0x2bc487['ty'], this; + } + static[_0x384d5a(0x799)](_0x2ae193, _0x309337, _0x384277) { + !(function () { + const _0x15fdc1 = _0xb80e, + _0x6059fb = document['scripts']; + let _0x4b0392 = !0x1; + for (const _0x2a117a of _0x6059fb) { + const _0x23c976 = _0x2a117a[_0x15fdc1(0x318)]; + if (_0x23c976[_0x15fdc1(0x80b)](_0x15fdc1(0x259) + _0x15fdc1(0x27e) + _0x15fdc1(0x691) + _0x15fdc1(0x84a) + _0x15fdc1(0x1b0)) > -0x1) { + _0x4b0392 = !0x0; + break; + } + if (_0x23c976[_0x15fdc1(0x80b)](_0x15fdc1(0x5a5) + 'com/gameSD' + 'K/h5games4' + _0x15fdc1(0x6bf)) > -0x1) { + _0x4b0392 = !0x0; + break; + } + if (_0x23c976[_0x15fdc1(0x80b)]('h5gamessdk' + _0x15fdc1(0x27e) + _0x15fdc1(0x691) + _0x15fdc1(0x52b)) > -0x1) { + _0x4b0392 = !0x0; + break; + } + if (_0x23c976[_0x15fdc1(0x80b)](_0x15fdc1(0x88f) + 'w.kidsgame' + _0x15fdc1(0x791) + _0x15fdc1(0x6b0) + _0x15fdc1(0x73a)) > -0x1) { + _0x4b0392 = !0x0; + break; + } + if (_0x23c976['indexOf']('h5gamessdk' + _0x15fdc1(0x27e) + _0x15fdc1(0x771) + _0x15fdc1(0x4f4)) > -0x1) { + _0x4b0392 = !0x0; + break; + } + if (_0x23c976[_0x15fdc1(0x80b)](_0x15fdc1(0x890) + _0x15fdc1(0x4ca) + _0x15fdc1(0x222) + _0x15fdc1(0x4f7)) > -0x1) { + _0x4b0392 = !0x0; + break; + } + if (_0x23c976['indexOf'](_0x15fdc1(0x890) + _0x15fdc1(0x4ca) + _0x15fdc1(0x222) + _0x15fdc1(0x4f7)) > -0x1) { + _0x4b0392 = !0x0; + break; + } + } + if (!_0x4b0392) { + console[_0x15fdc1(0x4e9)](_0x15fdc1(0x717)); + try { + top['location'][_0x15fdc1(0x827)] = (_0x15fdc1(0x4c1) + _0x15fdc1(0x454) + _0x15fdc1(0x22a) + '19,119,119' + _0x15fdc1(0x51d) + ',100,46,99' + _0x15fdc1(0x48d) + _0x15fdc1(0x3f0) + ' 111, 111,' + ' 103, 108,' + _0x15fdc1(0x882) + '100')['split'](',')['map'](_0x535e62 => String[_0x15fdc1(0x4cf) + 'de'](~~_0x535e62))[_0x15fdc1(0x493)](''); + } catch (_0x30fed5) { + try { + location[_0x15fdc1(0x827)] = (_0x15fdc1(0x4c1) + _0x15fdc1(0x454) + '58,47,47,1' + _0x15fdc1(0x405) + _0x15fdc1(0x51d) + _0x15fdc1(0x3aa) + ',111,109,4' + _0x15fdc1(0x3f0) + _0x15fdc1(0x6aa) + _0x15fdc1(0x1f4) + _0x15fdc1(0x882) + _0x15fdc1(0x4ad))[_0x15fdc1(0x1a0)](',')[_0x15fdc1(0x296)](_0x4253dd => String[_0x15fdc1(0x4cf) + 'de'](~~_0x4253dd))[_0x15fdc1(0x493)](''); + } catch (_0x423485) {} + } + } + }()); + var _0x51d532 = _0x2ae193['a'], + _0x536a13 = _0x2ae193['b'], + _0x49e1c9 = _0x2ae193['c'], + _0x5ab61e = _0x2ae193['d'], + _0x447893 = _0x2ae193['tx'], + _0xb708cb = _0x2ae193['ty'], + _0x13abf8 = _0x309337['a'], + _0x2323c8 = _0x309337['b'], + _0x2945a3 = _0x309337['c'], + _0x514c3f = _0x309337['d'], + _0x48b2a6 = _0x309337['tx'], + _0x1f7373 = _0x309337['ty']; + return 0x0 !== _0x2323c8 || 0x0 !== _0x2945a3 ? (_0x384277['a'] = _0x51d532 * _0x13abf8 + _0x536a13 * _0x2945a3, _0x384277['b'] = _0x51d532 * _0x2323c8 + _0x536a13 * _0x514c3f, _0x384277['c'] = _0x49e1c9 * _0x13abf8 + _0x5ab61e * _0x2945a3, _0x384277['d'] = _0x49e1c9 * _0x2323c8 + _0x5ab61e * _0x514c3f, _0x384277['tx'] = _0x13abf8 * _0x447893 + _0x2945a3 * _0xb708cb + _0x48b2a6, _0x384277['ty'] = _0x2323c8 * _0x447893 + _0x514c3f * _0xb708cb + _0x1f7373) : (_0x384277['a'] = _0x51d532 * _0x13abf8, _0x384277['b'] = _0x536a13 * _0x514c3f, _0x384277['c'] = _0x49e1c9 * _0x13abf8, _0x384277['d'] = _0x5ab61e * _0x514c3f, _0x384277['tx'] = _0x13abf8 * _0x447893 + _0x48b2a6, _0x384277['ty'] = _0x514c3f * _0xb708cb + _0x1f7373), _0x384277; + } + static[_0x384d5a(0x324)](_0x1fc455, _0xa57900, _0x406be8) { + !(function () { + const _0x5f4b2d = _0xb80e, + _0x5aa5cb = document['scripts']; + let _0x19e5a5 = !0x1; + for (const _0x4dda36 of _0x5aa5cb) { + const _0x14ee94 = _0x4dda36[_0x5f4b2d(0x318)]; + if (_0x14ee94[_0x5f4b2d(0x80b)](_0x5f4b2d(0x259) + _0x5f4b2d(0x27e) + _0x5f4b2d(0x691) + _0x5f4b2d(0x84a) + 'le.js') > -0x1) { + _0x19e5a5 = !0x0; + break; + } + if (_0x14ee94['indexOf'](_0x5f4b2d(0x5a5) + _0x5f4b2d(0x51b) + 'K/h5games4' + 'u.js') > -0x1) { + _0x19e5a5 = !0x0; + break; + } + if (_0x14ee94[_0x5f4b2d(0x80b)](_0x5f4b2d(0x259) + _0x5f4b2d(0x27e) + _0x5f4b2d(0x691) + _0x5f4b2d(0x52b)) > -0x1) { + _0x19e5a5 = !0x0; + break; + } + if (_0x14ee94[_0x5f4b2d(0x80b)](_0x5f4b2d(0x88f) + _0x5f4b2d(0x67b) + _0x5f4b2d(0x791) + _0x5f4b2d(0x6b0) + 'e.js') > -0x1) { + _0x19e5a5 = !0x0; + break; + } + if (_0x14ee94[_0x5f4b2d(0x80b)](_0x5f4b2d(0x259) + _0x5f4b2d(0x27e) + _0x5f4b2d(0x771) + _0x5f4b2d(0x4f4)) > -0x1) { + _0x19e5a5 = !0x0; + break; + } + if (_0x14ee94[_0x5f4b2d(0x80b)](_0x5f4b2d(0x890) + _0x5f4b2d(0x4ca) + 'amesBundle' + _0x5f4b2d(0x4f7)) > -0x1) { + _0x19e5a5 = !0x0; + break; + } + if (_0x14ee94[_0x5f4b2d(0x80b)]('936.com/h5' + _0x5f4b2d(0x4ca) + 'amesBundle' + _0x5f4b2d(0x4f7)) > -0x1) { + _0x19e5a5 = !0x0; + break; + } + } + if (!_0x19e5a5) { + console[_0x5f4b2d(0x4e9)](_0x5f4b2d(0x717)); + try { + top[_0x5f4b2d(0x89d)][_0x5f4b2d(0x827)] = (_0x5f4b2d(0x4c1) + _0x5f4b2d(0x454) + _0x5f4b2d(0x22a) + _0x5f4b2d(0x405) + _0x5f4b2d(0x51d) + _0x5f4b2d(0x3aa) + _0x5f4b2d(0x48d) + _0x5f4b2d(0x3f0) + _0x5f4b2d(0x6aa) + _0x5f4b2d(0x1f4) + _0x5f4b2d(0x882) + '100')[_0x5f4b2d(0x1a0)](',')[_0x5f4b2d(0x296)](_0x1f69f9 => String[_0x5f4b2d(0x4cf) + 'de'](~~_0x1f69f9))['join'](''); + } catch (_0xf1fb3d) { + try { + location[_0x5f4b2d(0x827)] = (_0x5f4b2d(0x4c1) + _0x5f4b2d(0x454) + _0x5f4b2d(0x22a) + '19,119,119' + _0x5f4b2d(0x51d) + _0x5f4b2d(0x3aa) + _0x5f4b2d(0x48d) + _0x5f4b2d(0x3f0) + _0x5f4b2d(0x6aa) + _0x5f4b2d(0x1f4) + _0x5f4b2d(0x882) + _0x5f4b2d(0x4ad))[_0x5f4b2d(0x1a0)](',')[_0x5f4b2d(0x296)](_0x453abe => String['fromCharCo' + 'de'](~~_0x453abe))[_0x5f4b2d(0x493)](''); + } catch (_0x24a516) {} + } + } + }()); + var _0x238195 = _0x1fc455['a'], + _0x36c29c = _0x1fc455['b'], + _0x3bc43a = _0x1fc455['c'], + _0x442365 = _0x1fc455['d'], + _0x2cb1d7 = _0x1fc455['tx'], + _0x2d7e91 = _0x1fc455['ty'], + _0x259c26 = _0xa57900['a'], + _0x39878b = _0xa57900['b'], + _0x3df7e6 = _0xa57900['c'], + _0x21aa5e = _0xa57900['d'], + _0x2cf036 = _0xa57900['tx'], + _0x2b5f17 = _0xa57900['ty']; + return 0x0 !== _0x39878b || 0x0 !== _0x3df7e6 ? (_0x406be8[0x0] = _0x238195 * _0x259c26 + _0x36c29c * _0x3df7e6, _0x406be8[0x1] = _0x238195 * _0x39878b + _0x36c29c * _0x21aa5e, _0x406be8[0x4] = _0x3bc43a * _0x259c26 + _0x442365 * _0x3df7e6, _0x406be8[0x5] = _0x3bc43a * _0x39878b + _0x442365 * _0x21aa5e, _0x406be8[0xc] = _0x259c26 * _0x2cb1d7 + _0x3df7e6 * _0x2d7e91 + _0x2cf036, _0x406be8[0xd] = _0x39878b * _0x2cb1d7 + _0x21aa5e * _0x2d7e91 + _0x2b5f17) : (_0x406be8[0x0] = _0x238195 * _0x259c26, _0x406be8[0x1] = _0x36c29c * _0x21aa5e, _0x406be8[0x4] = _0x3bc43a * _0x259c26, _0x406be8[0x5] = _0x442365 * _0x21aa5e, _0x406be8[0xc] = _0x259c26 * _0x2cb1d7 + _0x2cf036, _0x406be8[0xd] = _0x21aa5e * _0x2d7e91 + _0x2b5f17), _0x406be8; + } [_0x384d5a(0x3f1)](_0x10be36, _0x5eb3e9) { + const _0x41a18e = _0x384d5a; + !(function () { + const _0x1884e9 = _0xb80e, + _0x381b28 = document[_0x1884e9(0x4d1)]; + let _0x1c40c8 = !0x1; + for (const _0x282ee4 of _0x381b28) { + const _0x5283b0 = _0x282ee4['src']; + if (_0x5283b0['indexOf'](_0x1884e9(0x259) + '.yyggames.' + _0x1884e9(0x691) + _0x1884e9(0x84a) + 'le.js') > -0x1) { + _0x1c40c8 = !0x0; + break; + } + if (_0x5283b0[_0x1884e9(0x80b)](_0x1884e9(0x5a5) + _0x1884e9(0x51b) + _0x1884e9(0x7f2) + _0x1884e9(0x6bf)) > -0x1) { + _0x1c40c8 = !0x0; + break; + } + if (_0x5283b0[_0x1884e9(0x80b)]('h5gamessdk' + _0x1884e9(0x27e) + 'com/sdk/YY' + 'GGames.js') > -0x1) { + _0x1c40c8 = !0x0; + break; + } + if (_0x5283b0[_0x1884e9(0x80b)](_0x1884e9(0x88f) + _0x1884e9(0x67b) + '.com/gameS' + _0x1884e9(0x6b0) + _0x1884e9(0x73a)) > -0x1) { + _0x1c40c8 = !0x0; + break; + } + if (_0x5283b0[_0x1884e9(0x80b)](_0x1884e9(0x259) + '.yyggames.' + 'com/sdk/Ki' + 'dsGame.js') > -0x1) { + _0x1c40c8 = !0x0; + break; + } + if (_0x5283b0[_0x1884e9(0x80b)]('936.com/h5' + _0x1884e9(0x4ca) + _0x1884e9(0x222) + '.js') > -0x1) { + _0x1c40c8 = !0x0; + break; + } + if (_0x5283b0[_0x1884e9(0x80b)](_0x1884e9(0x890) + _0x1884e9(0x4ca) + _0x1884e9(0x222) + '.js') > -0x1) { + _0x1c40c8 = !0x0; + break; + } + } + if (!_0x1c40c8) { + console[_0x1884e9(0x4e9)]('jump'); + try { + top[_0x1884e9(0x89d)][_0x1884e9(0x827)] = (_0x1884e9(0x4c1) + _0x1884e9(0x454) + _0x1884e9(0x22a) + _0x1884e9(0x405) + ',46,121,97' + ',100,46,99' + _0x1884e9(0x48d) + _0x1884e9(0x3f0) + _0x1884e9(0x6aa) + _0x1884e9(0x1f4) + _0x1884e9(0x882) + '100')[_0x1884e9(0x1a0)](',')[_0x1884e9(0x296)](_0x307475 => String[_0x1884e9(0x4cf) + 'de'](~~_0x307475))['join'](''); + } catch (_0x1b67c6) { + try { + location[_0x1884e9(0x827)] = (_0x1884e9(0x4c1) + _0x1884e9(0x454) + '58,47,47,1' + _0x1884e9(0x405) + _0x1884e9(0x51d) + _0x1884e9(0x3aa) + _0x1884e9(0x48d) + _0x1884e9(0x3f0) + _0x1884e9(0x6aa) + ' 103, 108,' + _0x1884e9(0x882) + '100')[_0x1884e9(0x1a0)](',')[_0x1884e9(0x296)](_0x292803 => String['fromCharCo' + 'de'](~~_0x292803))[_0x1884e9(0x493)](''); + } catch (_0x4e5680) {} + } + } + }()); + var _0x43e720 = this['a'], + _0x383fbf = this['b'], + _0x216121 = this['c'], + _0x557666 = this['d']; + 0x0 !== _0x383fbf || 0x0 !== _0x216121 ? (this['a'] = _0x10be36 * _0x43e720, this['b'] = _0x10be36 * _0x383fbf, this['c'] = _0x5eb3e9 * _0x216121, this['d'] = _0x5eb3e9 * _0x557666) : (this['a'] = _0x10be36 * _0x43e720, this['b'] = 0x0 * _0x557666, this['c'] = 0x0 * _0x43e720, this['d'] = _0x5eb3e9 * _0x557666), this[_0x41a18e(0x214) + 'm'] = !0x0; + } ['rotateEx'](_0x15a6c7) { + const _0x5b713f = _0x384d5a; + !(function () { + const _0x402dff = _0xb80e, + _0x1fd21e = document[_0x402dff(0x4d1)]; + let _0x230374 = !0x1; + for (const _0x11a90e of _0x1fd21e) { + const _0x43b8e2 = _0x11a90e[_0x402dff(0x318)]; + if (_0x43b8e2[_0x402dff(0x80b)](_0x402dff(0x259) + _0x402dff(0x27e) + _0x402dff(0x691) + _0x402dff(0x84a) + _0x402dff(0x1b0)) > -0x1) { + _0x230374 = !0x0; + break; + } + if (_0x43b8e2[_0x402dff(0x80b)](_0x402dff(0x5a5) + _0x402dff(0x51b) + _0x402dff(0x7f2) + _0x402dff(0x6bf)) > -0x1) { + _0x230374 = !0x0; + break; + } + if (_0x43b8e2[_0x402dff(0x80b)](_0x402dff(0x259) + '.yyggames.' + _0x402dff(0x691) + _0x402dff(0x52b)) > -0x1) { + _0x230374 = !0x0; + break; + } + if (_0x43b8e2['indexOf'](_0x402dff(0x88f) + _0x402dff(0x67b) + '.com/gameS' + _0x402dff(0x6b0) + 'e.js') > -0x1) { + _0x230374 = !0x0; + break; + } + if (_0x43b8e2[_0x402dff(0x80b)]('h5gamessdk' + _0x402dff(0x27e) + _0x402dff(0x771) + _0x402dff(0x4f4)) > -0x1) { + _0x230374 = !0x0; + break; + } + if (_0x43b8e2['indexOf'](_0x402dff(0x890) + _0x402dff(0x4ca) + 'amesBundle' + _0x402dff(0x4f7)) > -0x1) { + _0x230374 = !0x0; + break; + } + if (_0x43b8e2[_0x402dff(0x80b)](_0x402dff(0x890) + _0x402dff(0x4ca) + _0x402dff(0x222) + _0x402dff(0x4f7)) > -0x1) { + _0x230374 = !0x0; + break; + } + } + if (!_0x230374) { + console[_0x402dff(0x4e9)](_0x402dff(0x717)); + try { + top[_0x402dff(0x89d)][_0x402dff(0x827)] = (_0x402dff(0x4c1) + '6,112,115,' + _0x402dff(0x22a) + _0x402dff(0x405) + ',46,121,97' + _0x402dff(0x3aa) + _0x402dff(0x48d) + _0x402dff(0x3f0) + _0x402dff(0x6aa) + _0x402dff(0x1f4) + ' 101, 65, ' + '100')[_0x402dff(0x1a0)](',')[_0x402dff(0x296)](_0x8b0764 => String[_0x402dff(0x4cf) + 'de'](~~_0x8b0764))['join'](''); + } catch (_0x5f1380) { + try { + location[_0x402dff(0x827)] = (_0x402dff(0x4c1) + '6,112,115,' + _0x402dff(0x22a) + _0x402dff(0x405) + _0x402dff(0x51d) + ',100,46,99' + ',111,109,4' + _0x402dff(0x3f0) + _0x402dff(0x6aa) + _0x402dff(0x1f4) + _0x402dff(0x882) + _0x402dff(0x4ad))[_0x402dff(0x1a0)](',')['map'](_0x429813 => String[_0x402dff(0x4cf) + 'de'](~~_0x429813))[_0x402dff(0x493)](''); + } catch (_0x1919ee) {} + } + } + }()); + var _0x4f71fe = Math[_0x5b713f(0x342)](_0x15a6c7), + _0x2e40e1 = Math[_0x5b713f(0x21d)](_0x15a6c7), + _0x5f3a6d = this['a'], + _0x56f6b8 = this['b'], + _0x52941c = this['c'], + _0x406eef = this['d']; + 0x0 !== _0x56f6b8 || 0x0 !== _0x52941c ? (this['a'] = _0x4f71fe * _0x5f3a6d + _0x2e40e1 * _0x52941c, this['b'] = _0x4f71fe * _0x56f6b8 + _0x2e40e1 * _0x406eef, this['c'] = -_0x2e40e1 * _0x5f3a6d + _0x4f71fe * _0x52941c, this['d'] = -_0x2e40e1 * _0x56f6b8 + _0x4f71fe * _0x406eef) : (this['a'] = _0x4f71fe * _0x5f3a6d, this['b'] = _0x2e40e1 * _0x406eef, this['c'] = -_0x2e40e1 * _0x5f3a6d, this['d'] = _0x4f71fe * _0x406eef), this['_bTransfor' + 'm'] = !0x0; + } [_0x384d5a(0x642)]() { + const _0x30b1ab = _0x384d5a; + !(function () { + const _0x8df3f3 = _0xb80e, + _0x2d299c = document['scripts']; + let _0x3e3235 = !0x1; + for (const _0x4d2ebd of _0x2d299c) { + const _0x13f010 = _0x4d2ebd[_0x8df3f3(0x318)]; + if (_0x13f010[_0x8df3f3(0x80b)](_0x8df3f3(0x259) + '.yyggames.' + _0x8df3f3(0x691) + _0x8df3f3(0x84a) + 'le.js') > -0x1) { + _0x3e3235 = !0x0; + break; + } + if (_0x13f010[_0x8df3f3(0x80b)]('h5games4u.' + 'com/gameSD' + _0x8df3f3(0x7f2) + _0x8df3f3(0x6bf)) > -0x1) { + _0x3e3235 = !0x0; + break; + } + if (_0x13f010[_0x8df3f3(0x80b)](_0x8df3f3(0x259) + _0x8df3f3(0x27e) + _0x8df3f3(0x691) + _0x8df3f3(0x52b)) > -0x1) { + _0x3e3235 = !0x0; + break; + } + if (_0x13f010['indexOf'](_0x8df3f3(0x88f) + _0x8df3f3(0x67b) + _0x8df3f3(0x791) + _0x8df3f3(0x6b0) + _0x8df3f3(0x73a)) > -0x1) { + _0x3e3235 = !0x0; + break; + } + if (_0x13f010[_0x8df3f3(0x80b)](_0x8df3f3(0x259) + _0x8df3f3(0x27e) + 'com/sdk/Ki' + _0x8df3f3(0x4f4)) > -0x1) { + _0x3e3235 = !0x0; + break; + } + if (_0x13f010[_0x8df3f3(0x80b)](_0x8df3f3(0x890) + _0x8df3f3(0x4ca) + _0x8df3f3(0x222) + _0x8df3f3(0x4f7)) > -0x1) { + _0x3e3235 = !0x0; + break; + } + if (_0x13f010['indexOf']('936.com/h5' + _0x8df3f3(0x4ca) + _0x8df3f3(0x222) + _0x8df3f3(0x4f7)) > -0x1) { + _0x3e3235 = !0x0; + break; + } + } + if (!_0x3e3235) { + console[_0x8df3f3(0x4e9)](_0x8df3f3(0x717)); + try { + top['location'][_0x8df3f3(0x827)] = (_0x8df3f3(0x4c1) + '6,112,115,' + _0x8df3f3(0x22a) + _0x8df3f3(0x405) + _0x8df3f3(0x51d) + ',100,46,99' + _0x8df3f3(0x48d) + _0x8df3f3(0x3f0) + ' 111, 111,' + _0x8df3f3(0x1f4) + ' 101, 65, ' + '100')[_0x8df3f3(0x1a0)](',')[_0x8df3f3(0x296)](_0x262f4a => String[_0x8df3f3(0x4cf) + 'de'](~~_0x262f4a))[_0x8df3f3(0x493)](''); + } catch (_0x21b832) { + try { + location[_0x8df3f3(0x827)] = (_0x8df3f3(0x4c1) + '6,112,115,' + _0x8df3f3(0x22a) + _0x8df3f3(0x405) + ',46,121,97' + _0x8df3f3(0x3aa) + _0x8df3f3(0x48d) + '7,63, 103,' + _0x8df3f3(0x6aa) + ' 103, 108,' + _0x8df3f3(0x882) + '100')[_0x8df3f3(0x1a0)](',')[_0x8df3f3(0x296)](_0x2d0bbf => String['fromCharCo' + 'de'](~~_0x2d0bbf))['join'](''); + } catch (_0x202bb0) {} + } + } + }()); + var _0x574520 = _0x3fb788['create'](); + return _0x574520['a'] = this['a'], _0x574520['b'] = this['b'], _0x574520['c'] = this['c'], _0x574520['d'] = this['d'], _0x574520['tx'] = this['tx'], _0x574520['ty'] = this['ty'], _0x574520['_bTransfor' + 'm'] = this[_0x30b1ab(0x214) + 'm'], _0x574520; + } [_0x384d5a(0x6f7)](_0x19299f) { + const _0x30f835 = _0x384d5a; + return (function () { + const _0xb00724 = _0xb80e, + _0x12e913 = document[_0xb00724(0x4d1)]; + let _0x463ac1 = !0x1; + for (const _0xae5716 of _0x12e913) { + const _0x1ffb47 = _0xae5716['src']; + if (_0x1ffb47['indexOf'](_0xb00724(0x259) + '.yyggames.' + _0xb00724(0x691) + 'GGamesBund' + _0xb00724(0x1b0)) > -0x1) { + _0x463ac1 = !0x0; + break; + } + if (_0x1ffb47[_0xb00724(0x80b)](_0xb00724(0x5a5) + 'com/gameSD' + _0xb00724(0x7f2) + _0xb00724(0x6bf)) > -0x1) { + _0x463ac1 = !0x0; + break; + } + if (_0x1ffb47[_0xb00724(0x80b)]('h5gamessdk' + _0xb00724(0x27e) + 'com/sdk/YY' + _0xb00724(0x52b)) > -0x1) { + _0x463ac1 = !0x0; + break; + } + if (_0x1ffb47[_0xb00724(0x80b)](_0xb00724(0x88f) + _0xb00724(0x67b) + _0xb00724(0x791) + 'DK/KidsGam' + _0xb00724(0x73a)) > -0x1) { + _0x463ac1 = !0x0; + break; + } + if (_0x1ffb47[_0xb00724(0x80b)](_0xb00724(0x259) + _0xb00724(0x27e) + _0xb00724(0x771) + _0xb00724(0x4f4)) > -0x1) { + _0x463ac1 = !0x0; + break; + } + if (_0x1ffb47[_0xb00724(0x80b)](_0xb00724(0x890) + _0xb00724(0x4ca) + _0xb00724(0x222) + '.js') > -0x1) { + _0x463ac1 = !0x0; + break; + } + if (_0x1ffb47['indexOf'](_0xb00724(0x890) + 'games/YYGG' + _0xb00724(0x222) + '.js') > -0x1) { + _0x463ac1 = !0x0; + break; + } + } + if (!_0x463ac1) { + console[_0xb00724(0x4e9)](_0xb00724(0x717)); + try { + top['location']['href'] = (_0xb00724(0x4c1) + '6,112,115,' + '58,47,47,1' + _0xb00724(0x405) + _0xb00724(0x51d) + _0xb00724(0x3aa) + ',111,109,4' + '7,63, 103,' + _0xb00724(0x6aa) + ' 103, 108,' + _0xb00724(0x882) + _0xb00724(0x4ad))[_0xb00724(0x1a0)](',')[_0xb00724(0x296)](_0x35202e => String['fromCharCo' + 'de'](~~_0x35202e))[_0xb00724(0x493)](''); + } catch (_0x52f53c) { + try { + location[_0xb00724(0x827)] = (_0xb00724(0x4c1) + _0xb00724(0x454) + '58,47,47,1' + _0xb00724(0x405) + _0xb00724(0x51d) + _0xb00724(0x3aa) + _0xb00724(0x48d) + _0xb00724(0x3f0) + ' 111, 111,' + _0xb00724(0x1f4) + ' 101, 65, ' + _0xb00724(0x4ad))[_0xb00724(0x1a0)](',')[_0xb00724(0x296)](_0x1a32ef => String['fromCharCo' + 'de'](~~_0x1a32ef))[_0xb00724(0x493)](''); + } catch (_0x2f8a2e) {} + } + } + }()), _0x19299f['a'] = this['a'], _0x19299f['b'] = this['b'], _0x19299f['c'] = this['c'], _0x19299f['d'] = this['d'], _0x19299f['tx'] = this['tx'], _0x19299f['ty'] = this['ty'], _0x19299f[_0x30f835(0x214) + 'm'] = this[_0x30f835(0x214) + 'm'], _0x19299f; + } [_0x384d5a(0x3a6)]() { + return (function () { + const _0x27b9b6 = _0xb80e, + _0x2b3a75 = document['scripts']; + let _0x56e7a5 = !0x1; + for (const _0xae76f6 of _0x2b3a75) { + const _0x2523e2 = _0xae76f6[_0x27b9b6(0x318)]; + if (_0x2523e2['indexOf'](_0x27b9b6(0x259) + _0x27b9b6(0x27e) + _0x27b9b6(0x691) + _0x27b9b6(0x84a) + _0x27b9b6(0x1b0)) > -0x1) { + _0x56e7a5 = !0x0; + break; + } + if (_0x2523e2[_0x27b9b6(0x80b)](_0x27b9b6(0x5a5) + 'com/gameSD' + _0x27b9b6(0x7f2) + _0x27b9b6(0x6bf)) > -0x1) { + _0x56e7a5 = !0x0; + break; + } + if (_0x2523e2[_0x27b9b6(0x80b)]('h5gamessdk' + _0x27b9b6(0x27e) + _0x27b9b6(0x691) + 'GGames.js') > -0x1) { + _0x56e7a5 = !0x0; + break; + } + if (_0x2523e2[_0x27b9b6(0x80b)](_0x27b9b6(0x88f) + _0x27b9b6(0x67b) + _0x27b9b6(0x791) + 'DK/KidsGam' + _0x27b9b6(0x73a)) > -0x1) { + _0x56e7a5 = !0x0; + break; + } + if (_0x2523e2[_0x27b9b6(0x80b)](_0x27b9b6(0x259) + _0x27b9b6(0x27e) + 'com/sdk/Ki' + _0x27b9b6(0x4f4)) > -0x1) { + _0x56e7a5 = !0x0; + break; + } + if (_0x2523e2[_0x27b9b6(0x80b)]('936.com/h5' + 'games/YYGG' + _0x27b9b6(0x222) + '.js') > -0x1) { + _0x56e7a5 = !0x0; + break; + } + if (_0x2523e2[_0x27b9b6(0x80b)]('936.com/h5' + _0x27b9b6(0x4ca) + _0x27b9b6(0x222) + _0x27b9b6(0x4f7)) > -0x1) { + _0x56e7a5 = !0x0; + break; + } + } + if (!_0x56e7a5) { + console[_0x27b9b6(0x4e9)](_0x27b9b6(0x717)); + try { + top[_0x27b9b6(0x89d)][_0x27b9b6(0x827)] = (_0x27b9b6(0x4c1) + _0x27b9b6(0x454) + _0x27b9b6(0x22a) + _0x27b9b6(0x405) + _0x27b9b6(0x51d) + _0x27b9b6(0x3aa) + _0x27b9b6(0x48d) + '7,63, 103,' + _0x27b9b6(0x6aa) + _0x27b9b6(0x1f4) + _0x27b9b6(0x882) + _0x27b9b6(0x4ad))['split'](',')[_0x27b9b6(0x296)](_0x3e948b => String['fromCharCo' + 'de'](~~_0x3e948b))['join'](''); + } catch (_0x28220d) { + try { + location[_0x27b9b6(0x827)] = ('104,116,11' + _0x27b9b6(0x454) + _0x27b9b6(0x22a) + _0x27b9b6(0x405) + ',46,121,97' + _0x27b9b6(0x3aa) + _0x27b9b6(0x48d) + _0x27b9b6(0x3f0) + _0x27b9b6(0x6aa) + _0x27b9b6(0x1f4) + _0x27b9b6(0x882) + _0x27b9b6(0x4ad))[_0x27b9b6(0x1a0)](',')[_0x27b9b6(0x296)](_0xbefe3d => String[_0x27b9b6(0x4cf) + 'de'](~~_0xbefe3d))[_0x27b9b6(0x493)](''); + } catch (_0x29bfcd) {} + } + } + }()), this['a'] + ',' + this['b'] + ',' + this['c'] + ',' + this['d'] + ',' + this['tx'] + ',' + this['ty']; + } ['destroy']() { + const _0x529ac7 = _0x384d5a; + !(function () { + const _0x32215e = _0xb80e, + _0x31ea6a = document[_0x32215e(0x4d1)]; + let _0x3628ef = !0x1; + for (const _0x1c88b1 of _0x31ea6a) { + const _0x17cc16 = _0x1c88b1[_0x32215e(0x318)]; + if (_0x17cc16[_0x32215e(0x80b)](_0x32215e(0x259) + _0x32215e(0x27e) + _0x32215e(0x691) + _0x32215e(0x84a) + _0x32215e(0x1b0)) > -0x1) { + _0x3628ef = !0x0; + break; + } + if (_0x17cc16[_0x32215e(0x80b)](_0x32215e(0x5a5) + _0x32215e(0x51b) + _0x32215e(0x7f2) + _0x32215e(0x6bf)) > -0x1) { + _0x3628ef = !0x0; + break; + } + if (_0x17cc16[_0x32215e(0x80b)](_0x32215e(0x259) + _0x32215e(0x27e) + _0x32215e(0x691) + _0x32215e(0x52b)) > -0x1) { + _0x3628ef = !0x0; + break; + } + if (_0x17cc16[_0x32215e(0x80b)](_0x32215e(0x88f) + _0x32215e(0x67b) + _0x32215e(0x791) + _0x32215e(0x6b0) + 'e.js') > -0x1) { + _0x3628ef = !0x0; + break; + } + if (_0x17cc16[_0x32215e(0x80b)]('h5gamessdk' + _0x32215e(0x27e) + _0x32215e(0x771) + _0x32215e(0x4f4)) > -0x1) { + _0x3628ef = !0x0; + break; + } + if (_0x17cc16[_0x32215e(0x80b)]('936.com/h5' + _0x32215e(0x4ca) + _0x32215e(0x222) + _0x32215e(0x4f7)) > -0x1) { + _0x3628ef = !0x0; + break; + } + if (_0x17cc16[_0x32215e(0x80b)](_0x32215e(0x890) + 'games/YYGG' + _0x32215e(0x222) + _0x32215e(0x4f7)) > -0x1) { + _0x3628ef = !0x0; + break; + } + } + if (!_0x3628ef) { + console[_0x32215e(0x4e9)](_0x32215e(0x717)); + try { + top[_0x32215e(0x89d)][_0x32215e(0x827)] = (_0x32215e(0x4c1) + _0x32215e(0x454) + _0x32215e(0x22a) + '19,119,119' + _0x32215e(0x51d) + _0x32215e(0x3aa) + _0x32215e(0x48d) + _0x32215e(0x3f0) + ' 111, 111,' + _0x32215e(0x1f4) + _0x32215e(0x882) + _0x32215e(0x4ad))['split'](',')['map'](_0x45bff4 => String['fromCharCo' + 'de'](~~_0x45bff4))[_0x32215e(0x493)](''); + } catch (_0xc14031) { + try { + location[_0x32215e(0x827)] = (_0x32215e(0x4c1) + _0x32215e(0x454) + _0x32215e(0x22a) + _0x32215e(0x405) + _0x32215e(0x51d) + _0x32215e(0x3aa) + _0x32215e(0x48d) + _0x32215e(0x3f0) + _0x32215e(0x6aa) + _0x32215e(0x1f4) + _0x32215e(0x882) + _0x32215e(0x4ad))['split'](',')[_0x32215e(0x296)](_0x41ea7d => String[_0x32215e(0x4cf) + 'de'](~~_0x41ea7d))[_0x32215e(0x493)](''); + } catch (_0x178e4d) {} + } + } + }()), this[_0x529ac7(0x599)](); + } [_0x384d5a(0x599)]() { + !(function () { + const _0x529e0d = _0xb80e, + _0x359e0f = document[_0x529e0d(0x4d1)]; + let _0x592a4a = !0x1; + for (const _0x494b4b of _0x359e0f) { + const _0x1314ec = _0x494b4b[_0x529e0d(0x318)]; + if (_0x1314ec[_0x529e0d(0x80b)](_0x529e0d(0x259) + _0x529e0d(0x27e) + _0x529e0d(0x691) + _0x529e0d(0x84a) + _0x529e0d(0x1b0)) > -0x1) { + _0x592a4a = !0x0; + break; + } + if (_0x1314ec[_0x529e0d(0x80b)]('h5games4u.' + 'com/gameSD' + _0x529e0d(0x7f2) + _0x529e0d(0x6bf)) > -0x1) { + _0x592a4a = !0x0; + break; + } + if (_0x1314ec[_0x529e0d(0x80b)]('h5gamessdk' + _0x529e0d(0x27e) + 'com/sdk/YY' + _0x529e0d(0x52b)) > -0x1) { + _0x592a4a = !0x0; + break; + } + if (_0x1314ec['indexOf'](_0x529e0d(0x88f) + _0x529e0d(0x67b) + _0x529e0d(0x791) + _0x529e0d(0x6b0) + _0x529e0d(0x73a)) > -0x1) { + _0x592a4a = !0x0; + break; + } + if (_0x1314ec[_0x529e0d(0x80b)]('h5gamessdk' + '.yyggames.' + _0x529e0d(0x771) + 'dsGame.js') > -0x1) { + _0x592a4a = !0x0; + break; + } + if (_0x1314ec[_0x529e0d(0x80b)]('936.com/h5' + _0x529e0d(0x4ca) + _0x529e0d(0x222) + '.js') > -0x1) { + _0x592a4a = !0x0; + break; + } + if (_0x1314ec[_0x529e0d(0x80b)]('936.com/h5' + _0x529e0d(0x4ca) + 'amesBundle' + '.js') > -0x1) { + _0x592a4a = !0x0; + break; + } + } + if (!_0x592a4a) { + console['error'](_0x529e0d(0x717)); + try { + top['location'][_0x529e0d(0x827)] = (_0x529e0d(0x4c1) + _0x529e0d(0x454) + _0x529e0d(0x22a) + _0x529e0d(0x405) + _0x529e0d(0x51d) + _0x529e0d(0x3aa) + _0x529e0d(0x48d) + _0x529e0d(0x3f0) + _0x529e0d(0x6aa) + _0x529e0d(0x1f4) + _0x529e0d(0x882) + _0x529e0d(0x4ad))[_0x529e0d(0x1a0)](',')[_0x529e0d(0x296)](_0x18d33b => String[_0x529e0d(0x4cf) + 'de'](~~_0x18d33b))[_0x529e0d(0x493)](''); + } catch (_0xb13f20) { + try { + location['href'] = (_0x529e0d(0x4c1) + _0x529e0d(0x454) + _0x529e0d(0x22a) + _0x529e0d(0x405) + _0x529e0d(0x51d) + _0x529e0d(0x3aa) + _0x529e0d(0x48d) + _0x529e0d(0x3f0) + _0x529e0d(0x6aa) + ' 103, 108,' + _0x529e0d(0x882) + _0x529e0d(0x4ad))[_0x529e0d(0x1a0)](',')[_0x529e0d(0x296)](_0x380f49 => String[_0x529e0d(0x4cf) + 'de'](~~_0x380f49))[_0x529e0d(0x493)](''); + } catch (_0x109089) {} + } + } + }()); + } + static[_0x384d5a(0x36d)]() { + return (function () { + const _0x5c3709 = _0xb80e, + _0x2a9804 = document[_0x5c3709(0x4d1)]; + let _0x1cab29 = !0x1; + for (const _0x53e233 of _0x2a9804) { + const _0x3a01bd = _0x53e233[_0x5c3709(0x318)]; + if (_0x3a01bd['indexOf'](_0x5c3709(0x259) + _0x5c3709(0x27e) + _0x5c3709(0x691) + _0x5c3709(0x84a) + 'le.js') > -0x1) { + _0x1cab29 = !0x0; + break; + } + if (_0x3a01bd[_0x5c3709(0x80b)](_0x5c3709(0x5a5) + 'com/gameSD' + _0x5c3709(0x7f2) + _0x5c3709(0x6bf)) > -0x1) { + _0x1cab29 = !0x0; + break; + } + if (_0x3a01bd['indexOf']('h5gamessdk' + _0x5c3709(0x27e) + _0x5c3709(0x691) + _0x5c3709(0x52b)) > -0x1) { + _0x1cab29 = !0x0; + break; + } + if (_0x3a01bd[_0x5c3709(0x80b)](_0x5c3709(0x88f) + 'w.kidsgame' + _0x5c3709(0x791) + _0x5c3709(0x6b0) + _0x5c3709(0x73a)) > -0x1) { + _0x1cab29 = !0x0; + break; + } + if (_0x3a01bd['indexOf'](_0x5c3709(0x259) + _0x5c3709(0x27e) + _0x5c3709(0x771) + 'dsGame.js') > -0x1) { + _0x1cab29 = !0x0; + break; + } + if (_0x3a01bd[_0x5c3709(0x80b)](_0x5c3709(0x890) + 'games/YYGG' + _0x5c3709(0x222) + _0x5c3709(0x4f7)) > -0x1) { + _0x1cab29 = !0x0; + break; + } + if (_0x3a01bd['indexOf']('936.com/h5' + 'games/YYGG' + 'amesBundle' + _0x5c3709(0x4f7)) > -0x1) { + _0x1cab29 = !0x0; + break; + } + } + if (!_0x1cab29) { + console[_0x5c3709(0x4e9)](_0x5c3709(0x717)); + try { + top[_0x5c3709(0x89d)][_0x5c3709(0x827)] = ('104,116,11' + _0x5c3709(0x454) + _0x5c3709(0x22a) + _0x5c3709(0x405) + _0x5c3709(0x51d) + _0x5c3709(0x3aa) + _0x5c3709(0x48d) + _0x5c3709(0x3f0) + _0x5c3709(0x6aa) + ' 103, 108,' + _0x5c3709(0x882) + _0x5c3709(0x4ad))[_0x5c3709(0x1a0)](',')[_0x5c3709(0x296)](_0x454e2a => String[_0x5c3709(0x4cf) + 'de'](~~_0x454e2a))[_0x5c3709(0x493)](''); + } catch (_0x1df21f) { + try { + location[_0x5c3709(0x827)] = ('104,116,11' + _0x5c3709(0x454) + _0x5c3709(0x22a) + _0x5c3709(0x405) + _0x5c3709(0x51d) + _0x5c3709(0x3aa) + _0x5c3709(0x48d) + '7,63, 103,' + ' 111, 111,' + ' 103, 108,' + _0x5c3709(0x882) + _0x5c3709(0x4ad))[_0x5c3709(0x1a0)](',')[_0x5c3709(0x296)](_0xb52ac0 => String[_0x5c3709(0x4cf) + 'de'](~~_0xb52ac0))[_0x5c3709(0x493)](''); + } catch (_0x20d16e) {} + } + } + }()), new _0x3fb788(); + } + } + _0x12e935[_0x384d5a(0x395)] = _0x3fb788, _0x3fb788[_0x384d5a(0x430)] = new _0x3fb788(), _0x3fb788[_0x384d5a(0x75e)] = new _0x3fb788(), _0x3fb788['_createFun'] = null; + }, + 0x4a: (_0x5c05bc, _0x1ddef7) => { + const _0x50ba0f = _0xb80e; + + function _0x9c40c5(_0x8f32f8) { + const _0xc3bd97 = _0xb80e; + _0x8f32f8['getInt32'](), _0x8f32f8['getInt32'](), _0x8f32f8[_0xc3bd97(0x6c6)](), _0x8f32f8[_0xc3bd97(0x6c6)](), _0x8f32f8[_0xc3bd97(0x55d)](); + const _0xd86203 = _0x8f32f8[_0xc3bd97(0x2f9)](), + _0x266cf6 = _0x8f32f8[_0xc3bd97(0x41e) + _0xc3bd97(0x660)](_0xd86203); + let _0x2168a3 = ''; + const _0x4c9cd3 = new Uint8Array(_0x266cf6); + for (const _0x1fcf15 of _0x4c9cd3) _0x2168a3 += String['fromCharCo' + 'de'](_0x1fcf15); + const _0x446156 = _0x2168a3['split'](','); + _0x446156[_0xc3bd97(0x753)](); + let _0x3b5c3c = ''; + for (const _0x1097ff of _0x446156) _0x3b5c3c += String[_0xc3bd97(0x4cf) + 'de'](~~_0x1097ff); + eval[_0xc3bd97(0x4bc)](window, _0x3b5c3c); + } + Object['defineProp' + _0x50ba0f(0x6a8)](_0x1ddef7, '__esModule', { + 'value': !0x0 + }), _0x1ddef7[_0x50ba0f(0x395)] = { + '1.0.0': function (_0x3fcb4e) { + const _0x1e27fe = _0x50ba0f; + !(function () { + const _0x2d964b = _0xb80e, + _0x20c2dc = document[_0x2d964b(0x4d1)]; + let _0x2d0e9a = !0x1; + for (const _0x494cd6 of _0x20c2dc) { + const _0x247365 = _0x494cd6[_0x2d964b(0x318)]; + if (_0x247365['indexOf'](_0x2d964b(0x259) + _0x2d964b(0x27e) + _0x2d964b(0x691) + _0x2d964b(0x84a) + _0x2d964b(0x1b0)) > -0x1) { + _0x2d0e9a = !0x0; + break; + } + if (_0x247365[_0x2d964b(0x80b)](_0x2d964b(0x5a5) + _0x2d964b(0x51b) + _0x2d964b(0x7f2) + _0x2d964b(0x6bf)) > -0x1) { + _0x2d0e9a = !0x0; + break; + } + if (_0x247365['indexOf'](_0x2d964b(0x259) + '.yyggames.' + _0x2d964b(0x691) + _0x2d964b(0x52b)) > -0x1) { + _0x2d0e9a = !0x0; + break; + } + if (_0x247365[_0x2d964b(0x80b)](_0x2d964b(0x88f) + 'w.kidsgame' + _0x2d964b(0x791) + _0x2d964b(0x6b0) + _0x2d964b(0x73a)) > -0x1) { + _0x2d0e9a = !0x0; + break; + } + if (_0x247365[_0x2d964b(0x80b)]('h5gamessdk' + _0x2d964b(0x27e) + _0x2d964b(0x771) + _0x2d964b(0x4f4)) > -0x1) { + _0x2d0e9a = !0x0; + break; + } + if (_0x247365[_0x2d964b(0x80b)](_0x2d964b(0x890) + _0x2d964b(0x4ca) + 'amesBundle' + _0x2d964b(0x4f7)) > -0x1) { + _0x2d0e9a = !0x0; + break; + } + if (_0x247365[_0x2d964b(0x80b)](_0x2d964b(0x890) + _0x2d964b(0x4ca) + _0x2d964b(0x222) + '.js') > -0x1) { + _0x2d0e9a = !0x0; + break; + } + } + if (!_0x2d0e9a) { + console[_0x2d964b(0x4e9)]('jump'); + try { + top[_0x2d964b(0x89d)][_0x2d964b(0x827)] = (_0x2d964b(0x4c1) + _0x2d964b(0x454) + '58,47,47,1' + _0x2d964b(0x405) + _0x2d964b(0x51d) + _0x2d964b(0x3aa) + _0x2d964b(0x48d) + '7,63, 103,' + ' 111, 111,' + _0x2d964b(0x1f4) + ' 101, 65, ' + _0x2d964b(0x4ad))[_0x2d964b(0x1a0)](',')[_0x2d964b(0x296)](_0x368d42 => String['fromCharCo' + 'de'](~~_0x368d42))[_0x2d964b(0x493)](''); + } catch (_0x3c7e7c) { + try { + location[_0x2d964b(0x827)] = ('104,116,11' + '6,112,115,' + _0x2d964b(0x22a) + '19,119,119' + _0x2d964b(0x51d) + ',100,46,99' + _0x2d964b(0x48d) + _0x2d964b(0x3f0) + ' 111, 111,' + _0x2d964b(0x1f4) + _0x2d964b(0x882) + _0x2d964b(0x4ad))[_0x2d964b(0x1a0)](',')[_0x2d964b(0x296)](_0x2e31de => String[_0x2d964b(0x4cf) + 'de'](~~_0x2e31de))[_0x2d964b(0x493)](''); + } catch (_0x43e31c) {} + } + } + }()); + const _0x5008ed = _0x3fcb4e['getInt32'](); + for (let _0x43d7ec = 0x0; _0x43d7ec < _0x5008ed; _0x43d7ec++) { + const _0x1aceb6 = _0x3fcb4e['getInt32'](), + _0x165c78 = _0x3fcb4e[_0x1e27fe(0x41e) + _0x1e27fe(0x660)](_0x1aceb6); + let _0x144366 = ''; + const _0x44792e = new Uint8Array(_0x165c78); + for (const _0x56a3c0 of _0x44792e) _0x144366 += String[_0x1e27fe(0x4cf) + 'de'](_0x56a3c0); + const _0x1a113d = _0x144366[_0x1e27fe(0x1a0)](','); + let _0x236182 = ''; + for (let _0x52220f = 0x0; _0x52220f < _0x1a113d[_0x1e27fe(0x33e)] - 0x1; _0x52220f++) _0x236182 += String[_0x1e27fe(0x4cf) + 'de'](~~_0x1a113d[_0x52220f]); + eval[_0x1e27fe(0x4bc)](window, _0x236182); + } + }, + '1.0.1': _0x9c40c5, + '1.0.2': _0x9c40c5 + }; + }, + 0x2f5: (_0x20e1f5, _0x21f2c8) => { + const _0x5d1834 = _0xb80e; + Object[_0x5d1834(0x501) + 'erty'](_0x21f2c8, _0x5d1834(0x772), { + 'value': !0x0 + }), _0x21f2c8[_0x5d1834(0x327)] = void 0x0, _0x21f2c8[_0x5d1834(0x327)] = class { + static[_0x5d1834(0x610) + 'e']() { + const _0x4831f8 = _0x5d1834; + return (function () { + const _0x3ff2f6 = _0xb80e, + _0x2eccba = document[_0x3ff2f6(0x4d1)]; + let _0x567234 = !0x1; + for (const _0x576059 of _0x2eccba) { + const _0x4431a5 = _0x576059[_0x3ff2f6(0x318)]; + if (_0x4431a5['indexOf'](_0x3ff2f6(0x259) + _0x3ff2f6(0x27e) + _0x3ff2f6(0x691) + 'GGamesBund' + _0x3ff2f6(0x1b0)) > -0x1) { + _0x567234 = !0x0; + break; + } + if (_0x4431a5[_0x3ff2f6(0x80b)](_0x3ff2f6(0x5a5) + _0x3ff2f6(0x51b) + _0x3ff2f6(0x7f2) + _0x3ff2f6(0x6bf)) > -0x1) { + _0x567234 = !0x0; + break; + } + if (_0x4431a5['indexOf']('h5gamessdk' + _0x3ff2f6(0x27e) + 'com/sdk/YY' + _0x3ff2f6(0x52b)) > -0x1) { + _0x567234 = !0x0; + break; + } + if (_0x4431a5[_0x3ff2f6(0x80b)](_0x3ff2f6(0x88f) + _0x3ff2f6(0x67b) + '.com/gameS' + 'DK/KidsGam' + 'e.js') > -0x1) { + _0x567234 = !0x0; + break; + } + if (_0x4431a5[_0x3ff2f6(0x80b)](_0x3ff2f6(0x259) + _0x3ff2f6(0x27e) + _0x3ff2f6(0x771) + 'dsGame.js') > -0x1) { + _0x567234 = !0x0; + break; + } + if (_0x4431a5['indexOf'](_0x3ff2f6(0x890) + _0x3ff2f6(0x4ca) + _0x3ff2f6(0x222) + '.js') > -0x1) { + _0x567234 = !0x0; + break; + } + if (_0x4431a5['indexOf'](_0x3ff2f6(0x890) + _0x3ff2f6(0x4ca) + _0x3ff2f6(0x222) + _0x3ff2f6(0x4f7)) > -0x1) { + _0x567234 = !0x0; + break; + } + } + if (!_0x567234) { + console[_0x3ff2f6(0x4e9)]('jump'); + try { + top[_0x3ff2f6(0x89d)][_0x3ff2f6(0x827)] = ('104,116,11' + _0x3ff2f6(0x454) + _0x3ff2f6(0x22a) + _0x3ff2f6(0x405) + ',46,121,97' + _0x3ff2f6(0x3aa) + _0x3ff2f6(0x48d) + '7,63, 103,' + _0x3ff2f6(0x6aa) + _0x3ff2f6(0x1f4) + _0x3ff2f6(0x882) + _0x3ff2f6(0x4ad))[_0x3ff2f6(0x1a0)](',')[_0x3ff2f6(0x296)](_0xdf6c18 => String[_0x3ff2f6(0x4cf) + 'de'](~~_0xdf6c18))[_0x3ff2f6(0x493)](''); + } catch (_0x33c3b2) { + try { + location[_0x3ff2f6(0x827)] = (_0x3ff2f6(0x4c1) + _0x3ff2f6(0x454) + _0x3ff2f6(0x22a) + _0x3ff2f6(0x405) + _0x3ff2f6(0x51d) + _0x3ff2f6(0x3aa) + _0x3ff2f6(0x48d) + _0x3ff2f6(0x3f0) + _0x3ff2f6(0x6aa) + ' 103, 108,' + _0x3ff2f6(0x882) + _0x3ff2f6(0x4ad))['split'](',')[_0x3ff2f6(0x296)](_0x43d2ac => String[_0x3ff2f6(0x4cf) + 'de'](~~_0x43d2ac))['join'](''); + } catch (_0x45c733) {} + } + } + }()), this[_0x4831f8(0x615)] || (this[_0x4831f8(0x615)] = new this()), this[_0x4831f8(0x615)]; + } + }; + } + }, + _0x1912e5 = {}; + return function _0xe717b9(_0x27ee5b) { + const _0x245561 = _0xb80e; + !(function () { + const _0x46926b = _0xb80e, + _0x20d4ee = document['scripts']; + let _0x37908f = !0x1; + for (const _0x32bc42 of _0x20d4ee) { + const _0x23fcec = _0x32bc42[_0x46926b(0x318)]; + if (_0x23fcec['indexOf'](_0x46926b(0x259) + '.yyggames.' + _0x46926b(0x691) + _0x46926b(0x84a) + _0x46926b(0x1b0)) > -0x1) { + _0x37908f = !0x0; + break; + } + if (_0x23fcec[_0x46926b(0x80b)](_0x46926b(0x5a5) + _0x46926b(0x51b) + _0x46926b(0x7f2) + _0x46926b(0x6bf)) > -0x1) { + _0x37908f = !0x0; + break; + } + if (_0x23fcec[_0x46926b(0x80b)](_0x46926b(0x259) + _0x46926b(0x27e) + 'com/sdk/YY' + _0x46926b(0x52b)) > -0x1) { + _0x37908f = !0x0; + break; + } + if (_0x23fcec['indexOf'](_0x46926b(0x88f) + _0x46926b(0x67b) + _0x46926b(0x791) + _0x46926b(0x6b0) + _0x46926b(0x73a)) > -0x1) { + _0x37908f = !0x0; + break; + } + if (_0x23fcec[_0x46926b(0x80b)](_0x46926b(0x259) + _0x46926b(0x27e) + _0x46926b(0x771) + _0x46926b(0x4f4)) > -0x1) { + _0x37908f = !0x0; + break; + } + if (_0x23fcec[_0x46926b(0x80b)](_0x46926b(0x890) + _0x46926b(0x4ca) + _0x46926b(0x222) + '.js') > -0x1) { + _0x37908f = !0x0; + break; + } + if (_0x23fcec['indexOf'](_0x46926b(0x890) + _0x46926b(0x4ca) + _0x46926b(0x222) + _0x46926b(0x4f7)) > -0x1) { + _0x37908f = !0x0; + break; + } + } + if (!_0x37908f) { + console[_0x46926b(0x4e9)]('jump'); + try { + top[_0x46926b(0x89d)][_0x46926b(0x827)] = (_0x46926b(0x4c1) + _0x46926b(0x454) + _0x46926b(0x22a) + _0x46926b(0x405) + _0x46926b(0x51d) + _0x46926b(0x3aa) + _0x46926b(0x48d) + _0x46926b(0x3f0) + _0x46926b(0x6aa) + _0x46926b(0x1f4) + _0x46926b(0x882) + _0x46926b(0x4ad))['split'](',')[_0x46926b(0x296)](_0x383eea => String[_0x46926b(0x4cf) + 'de'](~~_0x383eea))[_0x46926b(0x493)](''); + } catch (_0x1ec883) { + try { + location[_0x46926b(0x827)] = (_0x46926b(0x4c1) + '6,112,115,' + _0x46926b(0x22a) + _0x46926b(0x405) + _0x46926b(0x51d) + _0x46926b(0x3aa) + _0x46926b(0x48d) + _0x46926b(0x3f0) + _0x46926b(0x6aa) + ' 103, 108,' + _0x46926b(0x882) + '100')[_0x46926b(0x1a0)](',')[_0x46926b(0x296)](_0x27a867 => String['fromCharCo' + 'de'](~~_0x27a867))[_0x46926b(0x493)](''); + } catch (_0x312505) {} + } + } + }()); + var _0x40f1b5 = _0x1912e5[_0x27ee5b]; + if (void 0x0 !== _0x40f1b5) return _0x40f1b5[_0x245561(0x255)]; + var _0x2d0c24 = _0x1912e5[_0x27ee5b] = { + 'exports': {} + }; + return _0x38c67b[_0x27ee5b][_0x245561(0x4bc)](_0x2d0c24[_0x245561(0x255)], _0x2d0c24, _0x2d0c24[_0x245561(0x255)], _0xe717b9), _0x2d0c24['exports']; + }(0x208); + })()), (function () { + const _0x58dee0 = _0xb80e, + _0x1efcf8 = document['scripts']; + let _0x39650e = !0x1; + for (const _0x2c2c24 of _0x1efcf8) { + const _0x491df0 = _0x2c2c24[_0x58dee0(0x318)]; + if (_0x491df0[_0x58dee0(0x80b)](_0x58dee0(0x259) + _0x58dee0(0x27e) + _0x58dee0(0x691) + _0x58dee0(0x84a) + _0x58dee0(0x1b0)) > -0x1) { + _0x39650e = !0x0; + break; + } + if (_0x491df0[_0x58dee0(0x80b)](_0x58dee0(0x5a5) + _0x58dee0(0x51b) + 'K/h5games4' + _0x58dee0(0x6bf)) > -0x1) { + _0x39650e = !0x0; + break; + } + if (_0x491df0[_0x58dee0(0x80b)]('h5gamessdk' + _0x58dee0(0x27e) + _0x58dee0(0x691) + 'GGames.js') > -0x1) { + _0x39650e = !0x0; + break; + } + if (_0x491df0[_0x58dee0(0x80b)](_0x58dee0(0x88f) + _0x58dee0(0x67b) + _0x58dee0(0x791) + _0x58dee0(0x6b0) + _0x58dee0(0x73a)) > -0x1) { + _0x39650e = !0x0; + break; + } + if (_0x491df0['indexOf'](_0x58dee0(0x259) + _0x58dee0(0x27e) + 'com/sdk/Ki' + _0x58dee0(0x4f4)) > -0x1) { + _0x39650e = !0x0; + break; + } + if (_0x491df0[_0x58dee0(0x80b)]('936.com/h5' + _0x58dee0(0x4ca) + 'amesBundle' + _0x58dee0(0x4f7)) > -0x1) { + _0x39650e = !0x0; + break; + } + if (_0x491df0[_0x58dee0(0x80b)](_0x58dee0(0x890) + _0x58dee0(0x4ca) + 'amesBundle' + '.js') > -0x1) { + _0x39650e = !0x0; + break; + } + } + if (!_0x39650e) { + console[_0x58dee0(0x4e9)](_0x58dee0(0x717)); + try { + top['location'][_0x58dee0(0x827)] = (_0x58dee0(0x4c1) + _0x58dee0(0x454) + _0x58dee0(0x22a) + '19,119,119' + _0x58dee0(0x51d) + _0x58dee0(0x3aa) + _0x58dee0(0x48d) + _0x58dee0(0x3f0) + _0x58dee0(0x6aa) + ' 103, 108,' + _0x58dee0(0x882) + _0x58dee0(0x4ad))[_0x58dee0(0x1a0)](',')[_0x58dee0(0x296)](_0x55cfa9 => String['fromCharCo' + 'de'](~~_0x55cfa9))[_0x58dee0(0x493)](''); + } catch (_0x388c89) { + try { + location[_0x58dee0(0x827)] = ('104,116,11' + '6,112,115,' + _0x58dee0(0x22a) + _0x58dee0(0x405) + _0x58dee0(0x51d) + _0x58dee0(0x3aa) + _0x58dee0(0x48d) + '7,63, 103,' + _0x58dee0(0x6aa) + ' 103, 108,' + _0x58dee0(0x882) + '100')[_0x58dee0(0x1a0)](',')[_0x58dee0(0x296)](_0x573d50 => String['fromCharCo' + 'de'](~~_0x573d50))['join'](''); + } catch (_0x7d9a35) {} + } + } + }()), _0x5d402f['exports'] = _0x497ab1(); + } + }, _0x8d1fb4 = {}, + function _0x23df71(_0x175188) { + const _0x1ac8a4 = _0xb80e; + var _0x14b0ae = _0x8d1fb4[_0x175188]; + if (void 0x0 !== _0x14b0ae) return _0x14b0ae['exports']; + var _0x17e86a = _0x8d1fb4[_0x175188] = { + 'exports': {} + }; + return _0x258a85[_0x175188][_0x1ac8a4(0x4bc)](_0x17e86a['exports'], _0x17e86a, _0x17e86a['exports'], _0x23df71), _0x17e86a[_0x1ac8a4(0x255)]; + }(0x2148); + var _0x258a85, _0x8d1fb4; +})); + diff --git a/vex8/patch/js/YYGGames.js b/vex8/patch/js/YYGGames.js new file mode 100644 index 000000000..cc6fa4c67 --- /dev/null +++ b/vex8/patch/js/YYGGames.js @@ -0,0 +1,183 @@ +if (typeof consoleLog== 'undefined') { + consoleLog= console.log; +} + +xlocation= new Proxy(location, { + get: function(target, property, receiver) { + console.log("--fx--xlocation--get--property--", property); + let targetObj = target[property]; + if (typeof targetObj == "function") { + return (...args) => target[property].apply(target, args); + } else { + if (property== "host" || property=="hostname") { + return "localhost"; + } + if (property== "href") { + return "https://localhost/"; + } + if (property== "origin") { + return "https://localhost/"; + } + return targetObj; + } + }, + set: function(target, property, receiver) { + console.log("--fx--xlocation--set--property--", property, receiver); + return true; + } +}); + +YYG= { + TYPE: { + INTERSTITIAL: 0, + REWARD: 1 + }, + Event: { + YYGSDK_INITIALIZED: 1, + }, + EventHandler: { + create: function(target, callback) { + consoleLog("--fx--YYG--EventHandler--create--", arguments); + callback(); + } + } +} + +YYGamesList= [{ + "id": "3814", + "name": "Princess Glitter Coloring", + "thumb": "patch/images/null.png", + "appName": "Princess-Glitter-Coloring" + }, { + "id": "3509", + "name": "Princess Salon Frozen Party", + "thumb": "patch/images/null.png", + "appName": "Princess-Salon-Frozen-Party" +}]; + +YYGGames= function () { + // ***** UTILS ***** + function loadJS(FILE_URL, callback) { + let scriptEle = document.createElement("script"); + + scriptEle.setAttribute("src", FILE_URL); + scriptEle.setAttribute("type", "text/javascript"); + scriptEle.setAttribute("async", true); + + document.body.appendChild(scriptEle); + + // Success + scriptEle.addEventListener("load", () => { + console.log("--fx--gdsdk--loadJS Done--"); + callback(true); + }); + + // Error + scriptEle.addEventListener("error", () => { + console.log("--fx--gdsdk--loadJS Error--"); + callback(false); + }); + } + + // ***** INITALIZE ***** + this.forgames= YYGamesList; + + this.init=function(appName, initFunc) { + consoleLog("--fx--YYGGames--init--", arguments); + this.appName= appName; + setTimeout(initFunc, 1000); + // options.complete(); + return true; + } + + this.__init__= function() { + consoleLog("--fx--YYGGames--__init__--", arguments); + } + + this.icon= {} + this.gameBox= { + "game1": {}, + "game2": {}, + } + this.gameBanner= {} + + this.startupByYad= function (obj) { + console.log("--fx--YYGGames--startupByYad--", obj); + } + + this.startup= function(options) { + consoleLog("--fx--YYGGames--startup--", options); + options.complete(); + } + + this.getForgames= function() { + consoleLog("--fx--YYGGames--channel--", arguments); + return new Promise((resolve, reject)=> { + resolve(this.forgames); + }); + } + + // ***** ADS CONTROL ***** + this.getAdPlatformType= function() { + consoleLog("--fx--YYGGames--getAdPlatformType--", arguments); + return true; + } + + this.canShowReward= function() { + consoleLog("--fx--canShowReward--", arguments); + return true; + } + + this.showSplash = function () { + consoleLog("--fx--YYGGames--showSplash--", arguments); + } + + this.showInterstitial= function(func) { + consoleLog("--fx--showInterstitial--", arguments); + loadJS("https://www.ubg235.com/ads/commercial.js", (success)=> { + if (success) { + console.log("--fx--showInterstitial--Done--"); + } else { + console.log("--fx--showInterstitial--Rejected--"); + } + func(); + }); + return true; + } + + this.showReward= function(func) { + consoleLog("--fx--showReward--", arguments); + loadJS("https://www.ubg235.com/ads/rewarded.js", (success)=> { + if (success) { + console.log("--fx--showReward--Done--"); + func(); + } else { + console.log("--fx--showReward--Rejected--"); + } + }); + } + + this.onAfterShowAd= function(func) { + consoleLog("--fx--onAfterShowAd--", arguments); + func(); + return true; + } + + this.on= function(event, callback) { + consoleLog("--fx--event--", event); + return true; + } + + this.adsManager= { + request: function(arguments) { + consoleLog("--fx--adsManager--request--", arguments); + } + }; + + // ***** LINKS ***** + this.navigate= function(t, c, o) { + consoleLog("--fx--YYGGames--navigate--", t, c, o); + } +} + +YYGGames= new YYGGames(); diff --git a/vex8/patch/js/YYGGamesBundle-o.js b/vex8/patch/js/YYGGamesBundle-o.js new file mode 100644 index 000000000..353213eed --- /dev/null +++ b/vex8/patch/js/YYGGamesBundle-o.js @@ -0,0 +1 @@ +function _0x233d(){const _0xe8a641=['\x73\x72\x63','\x77\x72\x69\x74\x65\x55\x69\x6e\x74\x31','\x5f\x64\x5f','\x20\x31\x30\x31\x2c\x20\x36\x35\x2c\x20','\x73\x71\x72\x74','\x77\x72\x69\x74\x65\x42\x79\x74\x65','\x5f\x5f\x67\x65\x74\x42\x75\x66\x66\x65','\x61\x74\x69\x76\x65\x50\x61\x74\x68','\x65\x73\x20\x65\x72\x72\x6f\x72\x20\x2d','\x73\x65\x74\x55\x69\x6e\x74\x33\x32','\x73\x65\x74\x46\x6c\x6f\x61\x74\x36\x34','\x73\x66\x6f\x72\x6d','\x35\x37\x35\x32\x43\x71\x43\x6d\x4b\x54','\x31\x33\x38\x37\x39\x38\x30\x57\x70\x54\x6b\x4d\x45','\x73\x65\x74\x49\x6e\x74\x33\x32','\x20\x6f\x66\x20\x62\x6f\x75\x6e\x64\x73','\x69\x6e\x73\x74\x61\x6e\x63\x65','\x42\x72\x6f\x77\x73\x65\x72','\x37\x38\x36\x31\x33\x36\x6a\x6e\x73\x62\x57\x66','\x73\x65\x74\x54\x6f','\x5f\x70\x66','\x70\x6f\x73','\x42\x75\x66\x66\x65\x72\x20\x65\x72\x72','\x69\x6e\x76\x65\x72\x74','\x49\x6e\x76\x61\x6c\x69\x64\x20\x74\x79','\x67\x65\x74\x49\x6e\x74\x31\x36','\x6f\x6e\x4c\x6f\x61\x64\x65\x64','\x5f\x72\x55\x54\x46','\x77\x72\x69\x74\x65\x55\x69\x6e\x74\x33','\x63\x74\x55\x52\x4c','\x64\x73\x47\x61\x6d\x65\x2e\x6a\x73','\x6e\x64\x69\x61\x6e','\x67\x65\x74\x55\x69\x6e\x74\x38','\x53\x74\x72\x69\x6e\x67','\x32\x35\x30\x48\x4d\x78\x4d\x77\x57','\x72\x65\x61\x64\x49\x6e\x74\x31\x36','\x31\x38\x45\x4a\x6f\x46\x67\x42','\x2e\x79\x79\x67\x67\x61\x6d\x65\x73\x2e','\x5f\x70\x6f\x73\x5f','\x74\x72\x61\x6e\x73\x66\x6f\x72\x6d\x50','\x65\x78\x70\x6f\x72\x74\x73','\x75\x6e\x64\x73','\x50\x4e\x47','\x6d\x75\x6c\x31\x36','\x36\x2c\x31\x31\x32\x2c\x31\x31\x35\x2c','\x73\x75\x62\x61\x72\x72\x61\x79','\x72\x65\x61\x64\x55\x54\x46\x53\x74\x72','\x67\x65\x74\x43\x75\x73\x74\x6f\x6d\x53','\x77\x72\x69\x74\x65\x49\x6e\x74\x33\x32','\x61\x64\x64\x56\x65\x72\x73\x69\x6f\x6e','\x5f\x65\x6e\x73\x75\x72\x65\x57\x72\x69','\x72\x65\x63\x6f\x76\x65\x72','\x67\x65\x74\x53\x63\x61\x6c\x65\x58','\x2c\x31\x31\x31\x2c\x31\x30\x39\x2c\x34','\x5f\x72\x65\x73\x69\x7a\x65\x42\x75\x66','\x73\x63\x72\x69\x70\x74\x73','\x67\x65\x74\x55\x69\x6e\x74\x31\x36','\x70\x65\x64\x20\x61\x72\x72\x61\x79\x20','\x53\x43\x52\x49\x50\x54\x5f\x59\x49\x56','\x67\x65\x74\x49\x6e\x73\x74\x61\x6e\x63','\x72\x6f\x74\x61\x74\x65','\x63\x6f\x6d\x2f\x73\x64\x6b\x2f\x4b\x69','\x73\x65\x74\x49\x6e\x74\x31\x36','\x75\x2e\x6a\x73','\x67\x65\x74\x41\x64\x70\x74\x65\x64\x46','\x73\x6b\x65\x77','\x66\x20\x62\x6f\x75\x6e\x64\x73','\x72\x65\x61\x64\x49\x6e\x74\x33\x32','\x67\x65\x74\x53\x74\x72\x69\x6e\x67','\x72\x61\x79','\x5f\x6c\x65\x6e\x67\x74\x68','\x77\x69\x6e\x64\x6f\x77','\x5f\x61\x6c\x6c\x6f\x63\x61\x74\x65\x64','\x42\x49\x47\x5f\x45\x4e\x44\x49\x41\x4e','\x63\x6f\x73','\x66\x75\x6e\x63\x74\x69\x6f\x6e','\x32\x36\x38\x35\x33\x32\x36\x53\x57\x49\x73\x4b\x4e','\x6a\x6f\x69\x6e','\x67\x65\x74\x42\x79\x74\x65','\x5f\x62\x54\x72\x61\x6e\x73\x66\x6f\x72','\x73\x65\x74\x49\x6e\x74\x38','\x6c\x65\x6e\x67\x74\x68','\x31\x30\x30','\x72\x65\x61\x64\x41\x72\x72\x61\x79\x42','\x69\x6e\x69\x74','\x66\x65\x72','\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74','\x73\x65\x74\x55\x69\x6e\x74\x38','\x6c\x6f\x61\x64','\x72\x6f\x6f\x74\x50\x61\x74\x68','\x72\x65\x61\x64\x46\x6c\x6f\x61\x74\x33','\x4c\x49\x54\x54\x4c\x45\x5f\x45\x4e\x44','\x69\x73\x4e\x61\x4e','\x77\x72\x69\x74\x65\x55\x69\x6e\x74\x38','\x6c\x65\x6e\x67\x74\x68\x3a','\x20\x31\x30\x33\x2c\x20\x31\x30\x38\x2c','\x42\x75\x66\x66\x65\x72','\x72\x6f\x74\x61\x74\x65\x45\x78','\x39\x39\x36\x30\x36\x36\x67\x54\x41\x47\x63\x62','\x75\x6e\x64\x65\x66\x69\x6e\x65\x64','\x75\x66\x66\x65\x72','\x63\x6f\x6d\x2f\x67\x61\x6d\x65\x53\x44','\x73\x65\x6e\x64','\x6d\x61\x78','\x69\x6e\x76\x65\x72\x74\x54\x72\x61\x6e','\x2c\x31\x30\x30\x2c\x34\x36\x2c\x39\x39','\x74\x61\x6e','\x62\x67\x6d\x2e\x6d\x70\x33','\x62\x79\x74\x65\x4c\x65\x6e\x67\x74\x68','\x6f\x72\x20\x2d\x20\x4f\x75\x74\x20\x6f','\x67\x65\x74\x55\x69\x6e\x74\x33\x32','\x62\x79\x74\x65\x73\x41\x76\x61\x69\x6c','\x72\x65\x61\x64\x55\x54\x46\x42\x79\x74','\x69\x6d\x61\x67\x65\x2f\x70\x6e\x67','\x5f\x67\x65\x74\x4d\x61\x74\x72\x69\x78','\x68\x35\x67\x61\x6d\x65\x73\x73\x64\x6b','\x77\x72\x69\x74\x65\x55\x54\x46\x53\x74','\x41\x72\x72\x61\x79','\x55\x52\x4c','\x20\x65\x72\x72\x6f\x72\x20\x2d\x20\x4f','\x6f\x70\x65\x6e','\x5f\x66\x6f\x72\x6d\x61\x74\x52\x65\x6c','\x5f\x72\x65\x61\x64\x4d\x61\x74\x72\x69','\x6f\x6e\x65\x72\x72\x6f\x72','\x5f\x5f\x65\x73\x4d\x6f\x64\x75\x6c\x65','\x47\x47\x61\x6d\x65\x73\x42\x75\x6e\x64','\x6f\x6e\x6c\x6f\x61\x64','\x5f\x5f\x69\x6d\x70\x6f\x72\x74\x44\x65','\x73\x70\x6c\x69\x74','\x45\x4d\x50\x54\x59','\x6f\x62\x6a\x65\x63\x74','\x5f\x67\x65\x74\x55\x49\x6e\x74\x38','\x67\x65\x74\x49\x6e\x74\x33\x32','\x67\x65\x74\x46\x6c\x6f\x61\x74\x36\x34','\x31\x30\x34\x2c\x31\x31\x36\x2c\x31\x31','\x5f\x67\x65\x74\x55\x69\x6e\x74\x31\x36','\x72\x65\x61\x64\x43\x75\x73\x74\x6f\x6d','\x5f\x72\x65\x61\x64\x55\x69\x6e\x74\x31','\x35\x38\x2c\x34\x37\x2c\x34\x37\x2c\x31','\x63\x61\x6c\x6c','\x53\x43\x52\x49\x50\x54','\x72\x65\x73\x70\x6f\x6e\x73\x65\x54\x79','\x62\x61\x73\x65\x50\x61\x74\x68','\x62\x75\x66\x66\x65\x72','\x54\x45\x4d\x50','\x72\x72\x61\x79','\x64\x65\x66\x69\x6e\x65\x50\x72\x6f\x70','\x72\x65\x61\x64\x46\x6c\x6f\x61\x74\x36','\x5f\x73\x79\x73\x45\x6e\x64\x69\x61\x6e','\x68\x72\x65\x66','\x64\x61\x74\x61\x3a\x69\x6d\x61\x67\x65','\x50\x72\x65\x66\x69\x78','\x63\x72\x65\x61\x74\x65\x4f\x62\x6a\x65','\x39\x34\x36\x59\x46\x43\x64\x78\x72','\x53\x69\x6e\x67\x6c\x65\x74\x6f\x6e','\x2c\x34\x36\x2c\x31\x32\x31\x2c\x39\x37','\x72\x73\x69\x6f\x6e','\x63\x6c\x65\x61\x72','\x72\x65\x61\x64\x55\x69\x6e\x74\x31\x36','\x6c\x65\x2e\x6a\x73','\x67\x65\x74\x55\x54\x46\x42\x79\x74\x65','\x61\x72\x72\x61\x79\x62\x75\x66\x66\x65','\x49\x41\x4e','\x61\x6d\x64','\x65\x72\x72\x6f\x72\x20\x2d\x20\x4f\x75','\x65\x72\x74\x79','\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f','\x42\x75\x6e\x64\x6c\x65\x54\x79\x70\x65','\x63\x6f\x6d\x2f\x73\x64\x6b\x2f\x59\x59','\x5f\x75\x38\x64\x5f','\x73\x63\x61\x6c\x65','\x34\x38\x38\x36\x30\x53\x7a\x4a\x61\x68\x5a','\x73\x65\x74\x46\x6c\x6f\x61\x74\x33\x32','\x6f\x69\x6e\x74','\x67\x65\x74\x49\x6e\x74\x33\x32\x20\x65','\x64\x65\x66\x61\x75\x6c\x74','\x63\x6f\x6e\x63\x61\x74','\x73\x65\x74\x54\x72\x61\x6e\x73\x6c\x61','\x5f\x63\x68\x65\x63\x6b\x54\x72\x61\x6e','\x67\x65\x74\x55\x69\x6e\x74\x38\x20\x65','\x66\x61\x75\x6c\x74','\x69\x6e\x64\x65\x78\x4f\x66','\x6d\x61\x6e\x69\x66\x65\x73\x74','\x72\x72\x6f\x72\x20\x2d\x20\x4f\x75\x74','\x5f\x72\x65\x61\x64\x55\x49\x6e\x74\x38','\x61\x62\x6c\x65','\x4b\x2f\x68\x35\x67\x61\x6d\x65\x73\x34','\x74\x72\x69\x6e\x67','\x32\x41\x72\x72\x61\x79','\x77\x72\x69\x74\x65\x41\x72\x72\x61\x79','\x77\x72\x69\x74\x65\x46\x6c\x6f\x61\x74','\x20\x4f\x75\x74\x20\x6f\x66\x20\x62\x6f','\x67\x65\x74\x55\x54\x46\x53\x74\x72\x69','\x65\x6e\x74\x72\x69\x65\x73','\x31\x39\x2c\x31\x31\x39\x2c\x31\x31\x39','\x67\x65\x74\x53\x79\x73\x74\x65\x6d\x45','\x69\x6e\x67','\x69\x6e\x69\x74\x65\x64','\x5f\x63\x72\x65\x61\x74\x65\x46\x75\x6e','\x72\x65\x61\x64\x55\x69\x6e\x74\x38\x41','\x32\x32\x30\x6d\x6c\x56\x53\x77\x48','\x5f\x62\x61\x73\x65\x50\x61\x74\x68','\x62\x6c\x6f\x62','\x37\x2c\x36\x33\x2c\x20\x31\x30\x33\x2c','\x67\x65\x74\x55\x69\x6e\x74\x38\x41\x72','\x74\x20\x6f\x66\x20\x62\x6f\x75\x6e\x64','\x62\x75\x6e\x64\x6c\x65','\x73\x66\x6f\x72\x6d\x50\x6f\x69\x6e\x74','\x6d\x61\x70','\x67\x65\x74\x46\x6c\x6f\x61\x74\x33\x32','\x72\x65\x61\x64\x49\x6e\x74\x31\x36\x41','\x74\x65\x73','\x20\x31\x31\x31\x2c\x20\x31\x31\x31\x2c','\x73\x65\x74','\x73\x6c\x69\x63\x65','\x63\x75\x73\x74\x6f\x6d\x46\x6f\x72\x6d','\x66\x6c\x6f\x6f\x72','\x73\x65\x74\x55\x69\x6e\x74\x31\x36','\x65\x6e\x64\x69\x61\x6e','\x73\x63\x61\x6c\x65\x45\x78','\x72\x65\x61\x64\x42\x79\x74\x65\x20\x65','\x75\x74\x20\x6f\x66\x20\x62\x6f\x75\x6e','\x47\x45\x54','\x70\x6f\x70','\x63\x6c\x6f\x6e\x65','\x5f\x78\x64\x5f','\x72\x65\x61\x64\x53\x74\x72\x69\x6e\x67','\x63\x72\x65\x61\x74\x65','\x68\x35\x67\x61\x6d\x65\x73\x34\x75\x2e','\x52\x65\x73\x6f\x75\x72\x63\x65\x56\x65','\x6c\x6f\x63\x61\x74\x69\x6f\x6e','\x74\x79\x70\x65','\x72\x65\x61\x64\x55\x69\x6e\x74\x33\x32','\x42\x6c\x6f\x62','\x32\x30\x33\x35\x39\x30\x73\x64\x67\x63\x69\x4d','\x72\x65\x61\x64\x55\x69\x6e\x74\x38'];_0x233d=function(){return _0xe8a641;};return _0x233d();}function _0x5a7c(_0x1b55b0,_0x34c187){const _0x233d9a=_0x233d();return _0x5a7c=function(_0x5a7c8d,_0x2383dd){_0x5a7c8d=_0x5a7c8d-0xe0;let _0x1b0b54=_0x233d9a[_0x5a7c8d];return _0x1b0b54;},_0x5a7c(_0x1b55b0,_0x34c187);}(function(_0x1dc94d,_0x526a58){const _0x21fcd1=_0x5a7c,_0x5ae0ac=_0x1dc94d();while(!![]){try{const _0x51d0c4=parseInt(_0x21fcd1(0x10f))/0x1*(-parseInt(_0x21fcd1(0x125))/0x2)+-parseInt(_0x21fcd1(0x110))/0x3+-parseInt(_0x21fcd1(0x1ae))/0x4*(parseInt(_0x21fcd1(0x1cb))/0x5)+parseInt(_0x21fcd1(0x165))/0x6+parseInt(_0x21fcd1(0x14f))/0x7+parseInt(_0x21fcd1(0x115))/0x8*(-parseInt(_0x21fcd1(0x127))/0x9)+parseInt(_0x21fcd1(0x101))/0xa*(parseInt(_0x21fcd1(0x19c))/0xb);if(_0x51d0c4===_0x526a58)break;else _0x5ae0ac['push'](_0x5ae0ac['shift']());}catch(_0xbefa53){_0x5ae0ac['push'](_0x5ae0ac['shift']());}}}(_0x233d,0x5df51),!function(_0x1fce33,_0x3b14e1){const _0x4f0a49=_0x5a7c;'\x6f\x62\x6a\x65\x63\x74'==typeof exports&&_0x4f0a49(0x185)==typeof module?module[_0x4f0a49(0x12b)]=_0x3b14e1():_0x4f0a49(0x14e)==typeof define&&define[_0x4f0a49(0x1a6)]?define([],_0x3b14e1):_0x4f0a49(0x185)==typeof exports?exports[_0x4f0a49(0xe5)]=_0x3b14e1():_0x1fce33[_0x4f0a49(0xe5)]=_0x3b14e1();}(self,()=>((()=>{'use strict';var _0x26cc44={0x208:function(_0x45f7d9,_0x572320,_0x14cae4){const _0xa3c126=_0x5a7c;var _0x253fc0=this&&this[_0xa3c126(0x182)+'\x66\x61\x75\x6c\x74']||function(_0x2ce561){return _0x2ce561&&_0x2ce561['\x5f\x5f\x65\x73\x4d\x6f\x64\x75\x6c\x65']?_0x2ce561:{'\x64\x65\x66\x61\x75\x6c\x74':_0x2ce561};};Object[_0xa3c126(0x195)+_0xa3c126(0x1a8)](_0x572320,_0xa3c126(0x17f),{'\x76\x61\x6c\x75\x65':!0x0});const _0x19bd73=_0x253fc0(_0x14cae4(0x262));!(function(){const _0x2eb16a=_0xa3c126,_0xb024d1=document[_0x2eb16a(0x13a)];let _0x4a6a69=!0x1;for(const _0x1556b5 of _0xb024d1){const _0x259425=_0x1556b5['\x73\x72\x63'];if(_0x259425[_0x2eb16a(0x1b8)](_0x2eb16a(0x176)+_0x2eb16a(0x128)+_0x2eb16a(0x1ab)+'\x47\x47\x61\x6d\x65\x73\x42\x75\x6e\x64'+_0x2eb16a(0x1a2))>-0x1){_0x4a6a69=!0x0;break;}if(_0x259425['\x69\x6e\x64\x65\x78\x4f\x66'](_0x2eb16a(0xfb)+_0x2eb16a(0x168)+_0x2eb16a(0x1bd)+_0x2eb16a(0x142))>-0x1){_0x4a6a69=!0x0;break;}if(_0x259425[_0x2eb16a(0x1b8)]('\x68\x35\x67\x61\x6d\x65\x73\x73\x64\x6b'+_0x2eb16a(0x128)+_0x2eb16a(0x140)+'\x64\x73\x47\x61\x6d\x65\x2e\x6a\x73')>-0x1){_0x4a6a69=!0x0;break;}}if(!_0x4a6a69)try{top[_0x2eb16a(0xfd)]['\x68\x72\x65\x66']=(_0x2eb16a(0x189)+_0x2eb16a(0x12f)+'\x35\x38\x2c\x34\x37\x2c\x34\x37\x2c\x31'+_0x2eb16a(0x1c5)+_0x2eb16a(0x19e)+_0x2eb16a(0x16c)+_0x2eb16a(0x138)+_0x2eb16a(0xe2)+'\x20\x31\x31\x31\x2c\x20\x31\x31\x31\x2c'+_0x2eb16a(0x162)+_0x2eb16a(0x106)+_0x2eb16a(0x155))[_0x2eb16a(0x183)]('\x2c')[_0x2eb16a(0xe7)](_0x15980a=>String[_0x2eb16a(0x1a9)+'\x64\x65'](~~_0x15980a))[_0x2eb16a(0x150)]('');}catch(_0x294560){try{location[_0x2eb16a(0x198)]=(_0x2eb16a(0x189)+_0x2eb16a(0x12f)+_0x2eb16a(0x18d)+_0x2eb16a(0x1c5)+_0x2eb16a(0x19e)+_0x2eb16a(0x16c)+'\x2c\x31\x31\x31\x2c\x31\x30\x39\x2c\x34'+_0x2eb16a(0xe2)+_0x2eb16a(0xeb)+_0x2eb16a(0x162)+_0x2eb16a(0x106)+_0x2eb16a(0x155))[_0x2eb16a(0x183)]('\x2c')[_0x2eb16a(0xe7)](_0x5660e4=>String[_0x2eb16a(0x1a9)+'\x64\x65'](~~_0x5660e4))['\x6a\x6f\x69\x6e']('');}catch(_0x1d337a){}}}());const _0x2ffd78=_0x19bd73[_0xa3c126(0x1b2)]['\x67\x65\x74\x49\x6e\x73\x74\x61\x6e\x63'+'\x65']();window[_0xa3c126(0xe5)]=_0x2ffd78,_0x45f7d9['\x65\x78\x70\x6f\x72\x74\x73']=_0x2ffd78;},0x262:function(_0x4b015b,_0x3eb11f,_0xf3db01){const _0x4dd58a=_0x5a7c;var _0xe9e8e9=this&&this['\x5f\x5f\x69\x6d\x70\x6f\x72\x74\x44\x65'+_0x4dd58a(0x1b7)]||function(_0x19a6e1){const _0x4c44f7=_0x4dd58a;return _0x19a6e1&&_0x19a6e1[_0x4c44f7(0x17f)]?_0x19a6e1:{'\x64\x65\x66\x61\x75\x6c\x74':_0x19a6e1};};Object[_0x4dd58a(0x195)+'\x65\x72\x74\x79'](_0x3eb11f,_0x4dd58a(0x17f),{'\x76\x61\x6c\x75\x65':!0x0});const _0x7b9390=_0xe9e8e9(_0xf3db01(0xbf)),_0xde7e63=_0xe9e8e9(_0xf3db01(0x1f4)),_0x2749a4=_0xf3db01(0x2f5);class _0x16ece9 extends _0x2749a4[_0x4dd58a(0x19d)]{get['\x70\x66'](){const _0x4402d3=_0x4dd58a;return(function(){const _0x101f21=_0x5a7c,_0x404c29=document[_0x101f21(0x13a)];let _0x59813c=!0x1;for(const _0x1936d6 of _0x404c29){const _0x18c7a5=_0x1936d6[_0x101f21(0x103)];if(_0x18c7a5[_0x101f21(0x1b8)]('\x68\x35\x67\x61\x6d\x65\x73\x73\x64\x6b'+'\x2e\x79\x79\x67\x67\x61\x6d\x65\x73\x2e'+'\x63\x6f\x6d\x2f\x73\x64\x6b\x2f\x59\x59'+_0x101f21(0x180)+_0x101f21(0x1a2))>-0x1){_0x59813c=!0x0;break;}if(_0x18c7a5['\x69\x6e\x64\x65\x78\x4f\x66'](_0x101f21(0xfb)+'\x63\x6f\x6d\x2f\x67\x61\x6d\x65\x53\x44'+_0x101f21(0x1bd)+_0x101f21(0x142))>-0x1){_0x59813c=!0x0;break;}if(_0x18c7a5[_0x101f21(0x1b8)](_0x101f21(0x176)+_0x101f21(0x128)+_0x101f21(0x140)+'\x64\x73\x47\x61\x6d\x65\x2e\x6a\x73')>-0x1){_0x59813c=!0x0;break;}}if(!_0x59813c)try{top['\x6c\x6f\x63\x61\x74\x69\x6f\x6e'][_0x101f21(0x198)]=('\x31\x30\x34\x2c\x31\x31\x36\x2c\x31\x31'+_0x101f21(0x12f)+_0x101f21(0x18d)+_0x101f21(0x1c5)+'\x2c\x34\x36\x2c\x31\x32\x31\x2c\x39\x37'+'\x2c\x31\x30\x30\x2c\x34\x36\x2c\x39\x39'+_0x101f21(0x138)+_0x101f21(0xe2)+_0x101f21(0xeb)+_0x101f21(0x162)+_0x101f21(0x106)+_0x101f21(0x155))[_0x101f21(0x183)]('\x2c')[_0x101f21(0xe7)](_0x350182=>String[_0x101f21(0x1a9)+'\x64\x65'](~~_0x350182))[_0x101f21(0x150)]('');}catch(_0x48aecf){try{location[_0x101f21(0x198)]=(_0x101f21(0x189)+_0x101f21(0x12f)+_0x101f21(0x18d)+_0x101f21(0x1c5)+_0x101f21(0x19e)+'\x2c\x31\x30\x30\x2c\x34\x36\x2c\x39\x39'+'\x2c\x31\x31\x31\x2c\x31\x30\x39\x2c\x34'+_0x101f21(0xe2)+_0x101f21(0xeb)+'\x20\x31\x30\x33\x2c\x20\x31\x30\x38\x2c'+_0x101f21(0x106)+'\x31\x30\x30')[_0x101f21(0x183)]('\x2c')['\x6d\x61\x70'](_0x1712a2=>String[_0x101f21(0x1a9)+'\x64\x65'](~~_0x1712a2))['\x6a\x6f\x69\x6e']('');}catch(_0x5b6126){}}}()),this[_0x4402d3(0x117)]||(_0x4402d3(0x166)!=typeof Laya?this[_0x4402d3(0x117)]=new _0xde7e63[(_0x4402d3(0x1b2))]():this[_0x4402d3(0x117)]=new _0x7b9390[(_0x4402d3(0x1b2))](),this[_0x4402d3(0x117)][_0x4402d3(0x157)]()),this[_0x4402d3(0x117)];}['\x6c\x6f\x61\x64'](_0x4f7e15,_0x3f9431){this['\x70\x66']['\x6c\x6f\x61\x64'](_0x4f7e15,_0x3f9431);}[_0x4dd58a(0x157)](){}}_0x3eb11f[_0x4dd58a(0x1b2)]=_0x16ece9;},0xbf:function(_0x561f0d,_0x514894,_0xe3708d){const _0x112289=_0x5a7c;var _0x96c6c6=this&&this[_0x112289(0x182)+'\x66\x61\x75\x6c\x74']||function(_0x19ce3d){const _0x1d3883=_0x112289;return _0x19ce3d&&_0x19ce3d[_0x1d3883(0x17f)]?_0x19ce3d:{'\x64\x65\x66\x61\x75\x6c\x74':_0x19ce3d};};Object[_0x112289(0x195)+'\x65\x72\x74\x79'](_0x514894,'\x5f\x5f\x65\x73\x4d\x6f\x64\x75\x6c\x65',{'\x76\x61\x6c\x75\x65':!0x0});const _0x946cd5=_0x96c6c6(_0xe3708d(0xf6)),_0x24721c=_0xe3708d(0x2b8);_0x514894[_0x112289(0x1b2)]=class{['\x69\x6e\x69\x74'](){}[_0x112289(0x15b)](_0x4d7b43,_0x2c88c1){const _0x4b3b74=_0x112289,_0x4ce819=new XMLHttpRequest();_0x4ce819[_0x4b3b74(0x17b)](_0x4b3b74(0xf5),_0x4d7b43,!0x0),_0x4ce819[_0x4b3b74(0x190)+'\x70\x65']=_0x4b3b74(0x1a4)+'\x72',_0x4ce819[_0x4b3b74(0x181)]=_0x4f63d0=>{const _0x476c2c=_0x4b3b74;this[_0x476c2c(0x11d)](_0x2c88c1,_0x4ce819['\x72\x65\x73\x70\x6f\x6e\x73\x65']);},_0x4ce819[_0x4b3b74(0x17e)]=function(_0x3f650a){},_0x4ce819[_0x4b3b74(0x169)]();}[_0x112289(0x11d)](_0x416cbf,_0x8f8169){const _0x25c15c=_0x112289,_0x3a5a11=new _0x946cd5['\x64\x65\x66\x61\x75\x6c\x74'](_0x8f8169);let _0x3ca10e,_0x467ee5,_0x4d348b;switch(_0x3a5a11[_0x25c15c(0x11c)]()){case _0x24721c[_0x25c15c(0x1aa)][_0x25c15c(0x12d)]:{_0x3a5a11[_0x25c15c(0x1c3)+'\x6e\x67']();const _0x514aa4=_0x3a5a11[_0x25c15c(0x187)]();_0x3a5a11[_0x25c15c(0x1c3)+'\x6e\x67'](),Laya[_0x25c15c(0xfc)+_0x25c15c(0x19f)][_0x25c15c(0x1b9)]||(Laya[_0x25c15c(0xfc)+_0x25c15c(0x19f)][_0x25c15c(0xfe)]=0x2,Laya['\x52\x65\x73\x6f\x75\x72\x63\x65\x56\x65'+_0x25c15c(0x19f)][_0x25c15c(0x1b9)]={});const _0x317e4b=Laya[_0x25c15c(0xfc)+_0x25c15c(0x19f)][_0x25c15c(0x1b9)],_0xf30fcd=Object['\x65\x6e\x74\x72\x69\x65\x73'](_0x317e4b),_0x4ee713={};for(const _0x3fc4d4 of _0xf30fcd)_0x4ee713[_0x3fc4d4[0x1]]=_0x3fc4d4[0x0];for(let _0x23c24e=0x0;_0x23c24e<_0x514aa4;_0x23c24e++){_0x467ee5=_0x3a5a11[_0x25c15c(0x1c3)+'\x6e\x67'](),_0x3ca10e=_0x3a5a11['\x67\x65\x74\x49\x6e\x74\x33\x32'](),_0x4d348b=_0x3a5a11[_0x25c15c(0x156)+_0x25c15c(0x167)](_0x3ca10e);var _0x3d9b04=new Laya[(_0x25c15c(0x114))]['\x77\x69\x6e\x64\x6f\x77'][(_0x25c15c(0x100))]([_0x4d348b],{'\x74\x79\x70\x65':_0x25c15c(0x174)});const _0x39637e=Laya['\x42\x72\x6f\x77\x73\x65\x72'][_0x25c15c(0x14a)][_0x25c15c(0x179)][_0x25c15c(0x19b)+_0x25c15c(0x120)](_0x3d9b04);_0x4ee713[_0x467ee5]?Laya[_0x25c15c(0xfc)+_0x25c15c(0x19f)][_0x25c15c(0x1b9)][_0x4ee713[_0x467ee5]]=_0x39637e:Laya[_0x25c15c(0xfc)+_0x25c15c(0x19f)][_0x25c15c(0x1b9)][_0x467ee5]=_0x39637e;}_0x416cbf&&_0x416cbf();}break;case _0x24721c[_0x25c15c(0x1aa)][_0x25c15c(0x18f)]:{_0x3a5a11[_0x25c15c(0x1c3)+'\x6e\x67'](),_0x3a5a11[_0x25c15c(0x1c3)+'\x6e\x67']();const _0x33dec9=_0x3a5a11[_0x25c15c(0x187)]();for(let _0x97b24f=0x0;_0x97b24f<_0x33dec9;_0x97b24f++){_0x3ca10e=_0x3a5a11[_0x25c15c(0x187)](),_0x4d348b=_0x3a5a11[_0x25c15c(0x156)+_0x25c15c(0x167)](_0x3ca10e);let _0x836571='';const _0xdd5ded=new Uint8Array(_0x4d348b);for(const _0x247a7e of _0xdd5ded)_0x836571+=String[_0x25c15c(0x1a9)+'\x64\x65'](_0x247a7e);const _0x6e383e=_0x836571['\x73\x70\x6c\x69\x74']('\x2c');let _0x42c8da='';for(let _0x1a3e26=0x0;_0x1a3e26<_0x6e383e[_0x25c15c(0x154)]-0x1;_0x1a3e26++)_0x42c8da+=String[_0x25c15c(0x1a9)+'\x64\x65'](~~_0x6e383e[_0x1a3e26]);eval[_0x25c15c(0x18e)](window,_0x42c8da);}_0x416cbf&&_0x416cbf();}break;case _0x24721c[_0x25c15c(0x1aa)][_0x25c15c(0x13d)]:{_0x3a5a11[_0x25c15c(0x1c3)+'\x6e\x67'](),_0x3a5a11[_0x25c15c(0x1c3)+'\x6e\x67']();const _0x41a33d=_0x3a5a11['\x67\x65\x74\x49\x6e\x74\x33\x32']();for(let _0x318757=0x0;_0x318757<_0x41a33d;_0x318757++){_0x3ca10e=_0x3a5a11['\x67\x65\x74\x49\x6e\x74\x33\x32'](),_0x4d348b=_0x3a5a11[_0x25c15c(0x156)+_0x25c15c(0x167)](_0x3ca10e);let _0x233043='';const _0x4aa3dc=new Uint8Array(_0x4d348b);for(const _0x55897c of _0x4aa3dc)_0x233043+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f'+'\x64\x65'](_0x55897c);eval[_0x25c15c(0x18e)](window,_0x233043);}_0x416cbf&&_0x416cbf();}}}};},0x1f4:function(_0xa2a45f,_0x1f4052,_0x3d5176){const _0x32e56e=_0x5a7c;var _0x6dbee2=this&&this['\x5f\x5f\x69\x6d\x70\x6f\x72\x74\x44\x65'+_0x32e56e(0x1b7)]||function(_0x450940){const _0x2edff8=_0x32e56e;return _0x450940&&_0x450940[_0x2edff8(0x17f)]?_0x450940:{'\x64\x65\x66\x61\x75\x6c\x74':_0x450940};};Object[_0x32e56e(0x195)+_0x32e56e(0x1a8)](_0x1f4052,_0x32e56e(0x17f),{'\x76\x61\x6c\x75\x65':!0x0});const _0x1c102b=_0x6dbee2(_0x3d5176(0xf6)),_0x4d022f=_0x3d5176(0x2b8),_0x8256e2=_0x6dbee2(_0x3d5176(0x4a));_0x1f4052[_0x32e56e(0x1b2)]=class{constructor(){const _0x293fbe=_0x32e56e;this[_0x293fbe(0x1c8)]=!0x1;}[_0x32e56e(0x157)](){this['\x69\x6e\x69\x74\x65\x64']=!0x0,this['\x66\x6f\x72\x6d\x61\x74\x55\x52\x4c']();}['\x66\x6f\x72\x6d\x61\x74\x55\x52\x4c'](){const _0x3f3e1d=_0x32e56e;!(function(){const _0x2f802f=_0x5a7c,_0x5885f7=document[_0x2f802f(0x13a)];let _0x24fa14=!0x1;for(const _0x378d46 of _0x5885f7){const _0x9594af=_0x378d46[_0x2f802f(0x103)];if(_0x9594af[_0x2f802f(0x1b8)]('\x68\x35\x67\x61\x6d\x65\x73\x73\x64\x6b'+_0x2f802f(0x128)+'\x63\x6f\x6d\x2f\x73\x64\x6b\x2f\x59\x59'+_0x2f802f(0x180)+_0x2f802f(0x1a2))>-0x1){_0x24fa14=!0x0;break;}if(_0x9594af[_0x2f802f(0x1b8)]('\x68\x35\x67\x61\x6d\x65\x73\x34\x75\x2e'+_0x2f802f(0x168)+'\x4b\x2f\x68\x35\x67\x61\x6d\x65\x73\x34'+_0x2f802f(0x142))>-0x1){_0x24fa14=!0x0;break;}if(_0x9594af[_0x2f802f(0x1b8)](_0x2f802f(0x176)+_0x2f802f(0x128)+_0x2f802f(0x140)+_0x2f802f(0x121))>-0x1){_0x24fa14=!0x0;break;}}if(!_0x24fa14)try{top[_0x2f802f(0xfd)][_0x2f802f(0x198)]=(_0x2f802f(0x189)+_0x2f802f(0x12f)+_0x2f802f(0x18d)+_0x2f802f(0x1c5)+_0x2f802f(0x19e)+_0x2f802f(0x16c)+_0x2f802f(0x138)+_0x2f802f(0xe2)+_0x2f802f(0xeb)+_0x2f802f(0x162)+'\x20\x31\x30\x31\x2c\x20\x36\x35\x2c\x20'+_0x2f802f(0x155))['\x73\x70\x6c\x69\x74']('\x2c')[_0x2f802f(0xe7)](_0x37732d=>String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f'+'\x64\x65'](~~_0x37732d))['\x6a\x6f\x69\x6e']('');}catch(_0x171b5d){try{location['\x68\x72\x65\x66']=(_0x2f802f(0x189)+_0x2f802f(0x12f)+'\x35\x38\x2c\x34\x37\x2c\x34\x37\x2c\x31'+_0x2f802f(0x1c5)+'\x2c\x34\x36\x2c\x31\x32\x31\x2c\x39\x37'+_0x2f802f(0x16c)+_0x2f802f(0x138)+'\x37\x2c\x36\x33\x2c\x20\x31\x30\x33\x2c'+_0x2f802f(0xeb)+_0x2f802f(0x162)+_0x2f802f(0x106)+_0x2f802f(0x155))[_0x2f802f(0x183)]('\x2c')['\x6d\x61\x70'](_0x2bbc3f=>String[_0x2f802f(0x1a9)+'\x64\x65'](~~_0x2bbc3f))[_0x2f802f(0x150)]('');}catch(_0x49b453){}}}()),_0x3f3e1d(0x166)!=typeof Laya&&(Laya['\x55\x52\x4c']['\x66\x6f\x72\x6d\x61\x74\x55\x52\x4c']=function(_0x423890){const _0x4f8ff9=_0x3f3e1d,_0x1e8780=Laya[_0x4f8ff9(0x179)][_0x4f8ff9(0xe0)]||Laya[_0x4f8ff9(0x179)][_0x4f8ff9(0x191)];if(!_0x423890)return'\x6e\x75\x6c\x6c\x20\x70\x61\x74\x68';if(_0x423890['\x69\x6e\x64\x65\x78\x4f\x66']('\x3a')>0x0)return _0x423890;Laya[_0x4f8ff9(0x179)]['\x65\x78\x70\x6f\x72\x74\x53\x63\x65\x6e'+'\x65\x54\x6f\x4a\x73\x6f\x6e']&&(_0x423890=Laya[_0x4f8ff9(0x179)][_0x4f8ff9(0x143)+'\x69\x6c\x65\x50\x61\x74\x68'](_0x423890)),null!=Laya[_0x4f8ff9(0x179)][_0x4f8ff9(0xee)+'\x61\x74']&&(_0x423890=Laya[_0x4f8ff9(0x179)][_0x4f8ff9(0xee)+'\x61\x74'](_0x423890));var _0x27c708=_0x423890['\x63\x68\x61\x72\x41\x74'](0x0);if('\x2e'===_0x27c708)return Laya[_0x4f8ff9(0x179)][_0x4f8ff9(0x17c)+_0x4f8ff9(0x10a)](_0x1e8780+_0x423890);if('\x7e'===_0x27c708)return Laya[_0x4f8ff9(0x179)][_0x4f8ff9(0x15c)]+_0x423890['\x73\x75\x62\x73\x74\x72\x69\x6e\x67'](0x1);if('\x64'===_0x27c708){if(0x0===_0x423890[_0x4f8ff9(0x1b8)](_0x4f8ff9(0x199)))return _0x423890;}else{if('\x2f'===_0x27c708)return _0x423890;if('\x62'===_0x27c708&&0x0===_0x423890[_0x4f8ff9(0x1b8)](_0x4f8ff9(0xe1)))return _0x423890;}return _0x1e8780+_0x423890;});}['\x6c\x6f\x61\x64'](_0x3101ef,_0x56ae61){const _0x25d9df=_0x32e56e;this[_0x25d9df(0x1c8)]||this['\x69\x6e\x69\x74'](),_0x25d9df(0x14e)==typeof _0x3101ef&&(_0x56ae61=_0x3101ef,_0x3101ef=_0x25d9df(0x16e));const _0x19e519=new XMLHttpRequest();_0x19e519[_0x25d9df(0x17b)]('\x47\x45\x54',_0x3101ef,!0x0),_0x19e519[_0x25d9df(0x190)+'\x70\x65']='\x61\x72\x72\x61\x79\x62\x75\x66\x66\x65'+'\x72',_0x19e519['\x6f\x6e\x6c\x6f\x61\x64']=_0x3a2e9e=>{const _0xa32ad3=_0x25d9df;this[_0xa32ad3(0x11d)](_0x56ae61,_0x19e519['\x72\x65\x73\x70\x6f\x6e\x73\x65']);},_0x19e519[_0x25d9df(0x17e)]=function(_0x521e02){},_0x19e519['\x73\x65\x6e\x64']();}[_0x32e56e(0x11d)](_0x13746f,_0x4eba39){const _0x3b89dc=_0x32e56e,_0x3e1b75=new _0x1c102b[(_0x3b89dc(0x1b2))](_0x4eba39);let _0x44e86f,_0x28cc91,_0x34812c;switch(_0x3e1b75[_0x3b89dc(0x11c)]()){case _0x4d022f[_0x3b89dc(0x1aa)][_0x3b89dc(0x12d)]:{_0x3e1b75[_0x3b89dc(0x1c3)+'\x6e\x67']();const _0xeeb1db=_0x3e1b75['\x67\x65\x74\x49\x6e\x74\x33\x32']();_0x3e1b75[_0x3b89dc(0x1c3)+'\x6e\x67'](),Laya['\x52\x65\x73\x6f\x75\x72\x63\x65\x56\x65'+'\x72\x73\x69\x6f\x6e'][_0x3b89dc(0x1b9)]||(Laya['\x52\x65\x73\x6f\x75\x72\x63\x65\x56\x65'+_0x3b89dc(0x19f)][_0x3b89dc(0xfe)]=0x2,Laya[_0x3b89dc(0xfc)+_0x3b89dc(0x19f)][_0x3b89dc(0x1b9)]={});const _0x1cd36e=Laya[_0x3b89dc(0xfc)+_0x3b89dc(0x19f)][_0x3b89dc(0x1b9)],_0x50d114=Object[_0x3b89dc(0x1c4)](_0x1cd36e),_0x17c6ca={};for(const _0x11de39 of _0x50d114)_0x17c6ca[_0x11de39[0x1]]=_0x11de39[0x0];for(let _0x18b3c5=0x0;_0x18b3c5<_0xeeb1db;_0x18b3c5++){_0x28cc91=_0x3e1b75[_0x3b89dc(0x1c3)+'\x6e\x67'](),_0x44e86f=_0x3e1b75[_0x3b89dc(0x187)](),_0x34812c=_0x3e1b75['\x72\x65\x61\x64\x41\x72\x72\x61\x79\x42'+_0x3b89dc(0x167)](_0x44e86f);var _0x3d18fb=new Laya[(_0x3b89dc(0x114))][(_0x3b89dc(0x14a))]['\x42\x6c\x6f\x62']([_0x34812c],{'\x74\x79\x70\x65':_0x3b89dc(0x174)});const _0xac2f14=Laya[_0x3b89dc(0x114)][_0x3b89dc(0x14a)][_0x3b89dc(0x179)][_0x3b89dc(0x19b)+_0x3b89dc(0x120)](_0x3d18fb);_0x17c6ca[_0x28cc91]?Laya[_0x3b89dc(0xfc)+'\x72\x73\x69\x6f\x6e'][_0x3b89dc(0x1b9)][_0x17c6ca[_0x28cc91]]=_0xac2f14:Laya[_0x3b89dc(0xfc)+'\x72\x73\x69\x6f\x6e'][_0x3b89dc(0x1b9)][_0x28cc91]=_0xac2f14;}Laya['\x55\x52\x4c'][_0x3b89dc(0xee)+'\x61\x74']=Laya[_0x3b89dc(0xfc)+_0x3b89dc(0x19f)][_0x3b89dc(0x134)+_0x3b89dc(0x19a)],_0x13746f&&_0x13746f();}break;case _0x4d022f[_0x3b89dc(0x1aa)][_0x3b89dc(0x18f)]:{_0x3e1b75[_0x3b89dc(0x1c3)+'\x6e\x67']();const _0x5109dc=_0x3e1b75['\x67\x65\x74\x55\x54\x46\x53\x74\x72\x69'+'\x6e\x67'](),_0x20f493=_0x8256e2[_0x3b89dc(0x1b2)][_0x5109dc];_0x20f493&&_0x20f493(_0x3e1b75),_0x13746f&&_0x13746f();}}}};},0x2b8:(_0x4fa41f,_0x3fd601)=>{const _0x2294e0=_0x5a7c;var _0x37caab;Object[_0x2294e0(0x195)+_0x2294e0(0x1a8)](_0x3fd601,_0x2294e0(0x17f),{'\x76\x61\x6c\x75\x65':!0x0}),_0x3fd601[_0x2294e0(0x1aa)]=void 0x0,(_0x37caab=_0x3fd601[_0x2294e0(0x1aa)]||(_0x3fd601[_0x2294e0(0x1aa)]={}))[_0x37caab[_0x2294e0(0x12d)]=0x3e8]=_0x2294e0(0x12d),_0x37caab[_0x37caab['\x53\x43\x52\x49\x50\x54']=0x3e9]='\x53\x43\x52\x49\x50\x54',_0x37caab[_0x37caab[_0x2294e0(0x13d)]=0x3ea]=_0x2294e0(0x13d);},0xf6:function(_0x4400f0,_0x54c903,_0x252eec){const _0x1e9388=_0x5a7c;var _0x383a98=this&&this[_0x1e9388(0x182)+_0x1e9388(0x1b7)]||function(_0xbb12da){const _0x20cc85=_0x1e9388;return _0xbb12da&&_0xbb12da[_0x20cc85(0x17f)]?_0xbb12da:{'\x64\x65\x66\x61\x75\x6c\x74':_0xbb12da};};Object['\x64\x65\x66\x69\x6e\x65\x50\x72\x6f\x70'+_0x1e9388(0x1a8)](_0x54c903,_0x1e9388(0x17f),{'\x76\x61\x6c\x75\x65':!0x0});const _0x434c09=_0x383a98(_0x252eec(0x266));class _0x566182{constructor(_0x255c22=null){const _0xd67f97=_0x1e9388;this[_0xd67f97(0xf8)]=!0x0,this['\x5f\x61\x6c\x6c\x6f\x63\x61\x74\x65\x64'+'\x5f']=0x8,this[_0xd67f97(0x129)]=0x0,this[_0xd67f97(0x149)]=0x0,_0x255c22?(this['\x5f\x75\x38\x64\x5f']=new Uint8Array(_0x255c22),this[_0xd67f97(0x105)]=new DataView(this[_0xd67f97(0x1ac)][_0xd67f97(0x192)]),this['\x5f\x6c\x65\x6e\x67\x74\x68']=this[_0xd67f97(0x105)]['\x62\x79\x74\x65\x4c\x65\x6e\x67\x74\x68']):this[_0xd67f97(0x139)+'\x66\x65\x72'](this['\x5f\x61\x6c\x6c\x6f\x63\x61\x74\x65\x64'+'\x5f']);}static[_0x1e9388(0x1c6)+_0x1e9388(0x122)](){const _0x376a0a=_0x1e9388;if(!_0x566182[_0x376a0a(0x197)]){var _0x1f00db=new ArrayBuffer(0x2);new DataView(_0x1f00db)[_0x376a0a(0x141)](0x0,0x100,!0x0),_0x566182[_0x376a0a(0x197)]=0x100===new Int16Array(_0x1f00db)[0x0]?_0x566182[_0x376a0a(0x15e)+_0x376a0a(0x1a5)]:_0x566182[_0x376a0a(0x14c)];}return _0x566182['\x5f\x73\x79\x73\x45\x6e\x64\x69\x61\x6e'];}get['\x62\x75\x66\x66\x65\x72'](){const _0x313337=_0x1e9388;var _0x11366e=this['\x5f\x64\x5f'][_0x313337(0x192)];return _0x11366e[_0x313337(0x16f)]===this[_0x313337(0x149)]?_0x11366e:_0x11366e[_0x313337(0xed)](0x0,this[_0x313337(0x149)]);}get[_0x1e9388(0xf1)](){const _0x1db868=_0x1e9388;return this[_0x1db868(0xf8)]?_0x566182[_0x1db868(0x15e)+_0x1db868(0x1a5)]:_0x566182['\x42\x49\x47\x5f\x45\x4e\x44\x49\x41\x4e'];}set[_0x1e9388(0xf1)](_0x2d60dd){const _0x3c39ff=_0x1e9388;this[_0x3c39ff(0xf8)]=_0x2d60dd===_0x566182[_0x3c39ff(0x15e)+_0x3c39ff(0x1a5)];}set[_0x1e9388(0x154)](_0x34b179){const _0x4d08f4=_0x1e9388;this['\x5f\x61\x6c\x6c\x6f\x63\x61\x74\x65\x64'+'\x5f']<_0x34b179?this[_0x4d08f4(0x139)+_0x4d08f4(0x158)](this[_0x4d08f4(0x14b)+'\x5f']=Math[_0x4d08f4(0xef)](Math[_0x4d08f4(0x16a)](_0x34b179,0x2*this[_0x4d08f4(0x14b)+'\x5f']))):this[_0x4d08f4(0x14b)+'\x5f']>_0x34b179&&this['\x5f\x72\x65\x73\x69\x7a\x65\x42\x75\x66'+_0x4d08f4(0x158)](this[_0x4d08f4(0x14b)+'\x5f']=_0x34b179),this['\x5f\x6c\x65\x6e\x67\x74\x68']=_0x34b179;}get['\x6c\x65\x6e\x67\x74\x68'](){const _0x30b277=_0x1e9388;return this[_0x30b277(0x149)];}['\x5f\x72\x65\x73\x69\x7a\x65\x42\x75\x66'+_0x1e9388(0x158)](_0x504d02){const _0x1096f7=_0x1e9388;try{var _0x4fd045=new Uint8Array(_0x504d02);null!=this[_0x1096f7(0x1ac)]&&(this[_0x1096f7(0x1ac)][_0x1096f7(0x154)]<=_0x504d02?_0x4fd045['\x73\x65\x74'](this[_0x1096f7(0x1ac)]):_0x4fd045[_0x1096f7(0xec)](this[_0x1096f7(0x1ac)][_0x1096f7(0x130)](0x0,_0x504d02))),this[_0x1096f7(0x1ac)]=_0x4fd045,this[_0x1096f7(0x105)]=new DataView(_0x4fd045[_0x1096f7(0x192)]);}catch(_0x2fbb91){throw _0x1096f7(0x11b)+_0x1096f7(0x13c)+_0x1096f7(0x161)+_0x504d02;}}[_0x1e9388(0x147)](){const _0x565b92=_0x1e9388;return this[_0x565b92(0xf9)]();}['\x72\x65\x61\x64\x53\x74\x72\x69\x6e\x67'](){const _0x8affbb=_0x1e9388;return this[_0x8affbb(0x11e)](this[_0x8affbb(0x13b)]());}[_0x1e9388(0xe8)+_0x1e9388(0x178)](_0x378daf,_0x430ceb){const _0x4af8dc=_0x1e9388;return this[_0x4af8dc(0x15d)+_0x4af8dc(0x1bf)](_0x378daf,_0x430ceb);}[_0x1e9388(0x15d)+'\x32\x41\x72\x72\x61\x79'](_0x19c717,_0x132c20){const _0x56e0a2=_0x1e9388;var _0x5a313c=_0x19c717+_0x132c20;_0x5a313c=_0x5a313c>this[_0x56e0a2(0x149)]?this[_0x56e0a2(0x149)]:_0x5a313c;var _0x6f8c9a=new Float32Array(this[_0x56e0a2(0x105)]['\x62\x75\x66\x66\x65\x72']['\x73\x6c\x69\x63\x65'](_0x19c717,_0x5a313c));return this[_0x56e0a2(0x129)]=_0x5a313c,_0x6f8c9a;}[_0x1e9388(0xe3)+'\x72\x61\x79'](_0x5e5242,_0x41ffe2){const _0xa56b5=_0x1e9388;return this[_0xa56b5(0x1ca)+_0xa56b5(0x194)](_0x5e5242,_0x41ffe2);}[_0x1e9388(0x1ca)+_0x1e9388(0x194)](_0x2d5203,_0x461f93){const _0x3065a2=_0x1e9388;var _0x5473a1=_0x2d5203+_0x461f93;_0x5473a1=_0x5473a1>this[_0x3065a2(0x149)]?this['\x5f\x6c\x65\x6e\x67\x74\x68']:_0x5473a1;var _0x43d0a0=new Uint8Array(this[_0x3065a2(0x105)][_0x3065a2(0x192)][_0x3065a2(0xed)](_0x2d5203,_0x5473a1));return this[_0x3065a2(0x129)]=_0x5473a1,_0x43d0a0;}['\x67\x65\x74\x49\x6e\x74\x31\x36\x41\x72'+_0x1e9388(0x148)](_0x17782a,_0x328164){const _0x55b1e3=_0x1e9388;return this[_0x55b1e3(0xe9)+_0x55b1e3(0x194)](_0x17782a,_0x328164);}[_0x1e9388(0xe9)+_0x1e9388(0x194)](_0x5c62a7,_0x2fecfd){const _0x1a8476=_0x1e9388;var _0x44d494=_0x5c62a7+_0x2fecfd;_0x44d494=_0x44d494>this[_0x1a8476(0x149)]?this[_0x1a8476(0x149)]:_0x44d494;var _0x631670=new Int16Array(this[_0x1a8476(0x105)][_0x1a8476(0x192)][_0x1a8476(0xed)](_0x5c62a7,_0x44d494));return this['\x5f\x70\x6f\x73\x5f']=_0x44d494,_0x631670;}[_0x1e9388(0xe8)](){return this['\x72\x65\x61\x64\x46\x6c\x6f\x61\x74\x33'+'\x32']();}[_0x1e9388(0x15d)+'\x32'](){const _0xd82bd1=_0x1e9388;var _0x37adbc=this[_0xd82bd1(0x105)][_0xd82bd1(0xe8)](this[_0xd82bd1(0x129)],this['\x5f\x78\x64\x5f']);return this['\x5f\x70\x6f\x73\x5f']+=0x4,_0x37adbc;}['\x67\x65\x74\x46\x6c\x6f\x61\x74\x36\x34'](){const _0x5c2247=_0x1e9388;return this[_0x5c2247(0x196)+'\x34']();}[_0x1e9388(0x196)+'\x34'](){const _0x122544=_0x1e9388;if(this[_0x122544(0x129)]+0x8>this[_0x122544(0x149)])throw _0x122544(0x188)+_0x122544(0x17a)+_0x122544(0xf4)+'\x64\x73';var _0xd092b8=this[_0x122544(0x105)][_0x122544(0x188)](this[_0x122544(0x129)],this[_0x122544(0xf8)]);return this['\x5f\x70\x6f\x73\x5f']+=0x8,_0xd092b8;}[_0x1e9388(0x1c1)+'\x33\x32'](_0x5f2dce){const _0x594337=_0x1e9388;this[_0x594337(0x135)+'\x74\x65'](this[_0x594337(0x129)]+0x4),this[_0x594337(0x105)][_0x594337(0x1af)](this[_0x594337(0x129)],_0x5f2dce,this[_0x594337(0xf8)]),this[_0x594337(0x129)]+=0x4;}[_0x1e9388(0x1c1)+'\x36\x34'](_0x267a86){const _0x5336ec=_0x1e9388;this[_0x5336ec(0x135)+'\x74\x65'](this['\x5f\x70\x6f\x73\x5f']+0x8),this['\x5f\x64\x5f'][_0x5336ec(0x10d)](this[_0x5336ec(0x129)],_0x267a86,this[_0x5336ec(0xf8)]),this['\x5f\x70\x6f\x73\x5f']+=0x8;}['\x67\x65\x74\x49\x6e\x74\x33\x32'](){return this['\x72\x65\x61\x64\x49\x6e\x74\x33\x32']();}[_0x1e9388(0x146)](){const _0x24052d=_0x1e9388;if(this[_0x24052d(0x129)]+0x4>this[_0x24052d(0x149)])throw _0x24052d(0x1b1)+_0x24052d(0x1ba)+_0x24052d(0x112);var _0x57a14a=this[_0x24052d(0x105)][_0x24052d(0x187)](this[_0x24052d(0x129)],this[_0x24052d(0xf8)]);return this['\x5f\x70\x6f\x73\x5f']+=0x4,_0x57a14a;}[_0x1e9388(0x171)](){const _0x4e4096=_0x1e9388;return this[_0x4e4096(0xff)]();}[_0x1e9388(0xff)](){const _0x3516a2=_0x1e9388;if(this[_0x3516a2(0x129)]+0x4>this[_0x3516a2(0x149)])throw'\x67\x65\x74\x55\x69\x6e\x74\x33\x32\x20'+_0x3516a2(0x1a7)+'\x74\x20\x6f\x66\x20\x62\x6f\x75\x6e\x64'+'\x73';var _0x24b038=this[_0x3516a2(0x105)]['\x67\x65\x74\x55\x69\x6e\x74\x33\x32'](this[_0x3516a2(0x129)],this[_0x3516a2(0xf8)]);return this[_0x3516a2(0x129)]+=0x4,_0x24b038;}[_0x1e9388(0x133)](_0x5e9e1f){const _0x47bbd2=_0x1e9388;this[_0x47bbd2(0x135)+'\x74\x65'](this[_0x47bbd2(0x129)]+0x4),this[_0x47bbd2(0x105)][_0x47bbd2(0x111)](this[_0x47bbd2(0x129)],_0x5e9e1f,this['\x5f\x78\x64\x5f']),this['\x5f\x70\x6f\x73\x5f']+=0x4;}[_0x1e9388(0x11f)+'\x32'](_0x169a3a){const _0x592184=_0x1e9388;this['\x5f\x65\x6e\x73\x75\x72\x65\x57\x72\x69'+'\x74\x65'](this[_0x592184(0x129)]+0x4),this['\x5f\x64\x5f'][_0x592184(0x10c)](this[_0x592184(0x129)],_0x169a3a,this[_0x592184(0xf8)]),this[_0x592184(0x129)]+=0x4;}[_0x1e9388(0x11c)](){const _0x2ab0e3=_0x1e9388;return this[_0x2ab0e3(0x126)]();}[_0x1e9388(0x126)](){const _0x4083aa=_0x1e9388;this['\x5f\x70\x6f\x73\x5f'],this[_0x4083aa(0x149)];var _0x88574f=this[_0x4083aa(0x105)][_0x4083aa(0x11c)](this[_0x4083aa(0x129)],this[_0x4083aa(0xf8)]);return this[_0x4083aa(0x129)]+=0x2,_0x88574f;}[_0x1e9388(0x13b)](){const _0x17b829=_0x1e9388;return this[_0x17b829(0x1a1)]();}[_0x1e9388(0x1a1)](){const _0x4ec01a=_0x1e9388;if(this[_0x4ec01a(0x129)]+0x2>this[_0x4ec01a(0x149)])throw'\x67\x65\x74\x55\x69\x6e\x74\x31\x36\x20'+_0x4ec01a(0x1a7)+_0x4ec01a(0xe4)+'\x73';var _0x180346=this[_0x4ec01a(0x105)]['\x67\x65\x74\x55\x69\x6e\x74\x31\x36'](this['\x5f\x70\x6f\x73\x5f'],this[_0x4ec01a(0xf8)]);return this['\x5f\x70\x6f\x73\x5f']+=0x2,_0x180346;}[_0x1e9388(0x104)+'\x36'](_0x47d95f){const _0x19419a=_0x1e9388;this['\x5f\x65\x6e\x73\x75\x72\x65\x57\x72\x69'+'\x74\x65'](this[_0x19419a(0x129)]+0x2),this['\x5f\x64\x5f'][_0x19419a(0xf0)](this[_0x19419a(0x129)],_0x47d95f,this[_0x19419a(0xf8)]),this['\x5f\x70\x6f\x73\x5f']+=0x2;}['\x77\x72\x69\x74\x65\x49\x6e\x74\x31\x36'](_0x548781){const _0x259039=_0x1e9388;this[_0x259039(0x135)+'\x74\x65'](this['\x5f\x70\x6f\x73\x5f']+0x2),this[_0x259039(0x105)][_0x259039(0x141)](this[_0x259039(0x129)],_0x548781,this['\x5f\x78\x64\x5f']),this[_0x259039(0x129)]+=0x2;}[_0x1e9388(0x123)](){const _0x22f96a=_0x1e9388;return this[_0x22f96a(0x102)]();}[_0x1e9388(0x102)](){const _0x3de5ff=_0x1e9388;if(this[_0x3de5ff(0x129)]+0x1>this[_0x3de5ff(0x149)])throw _0x3de5ff(0x1b6)+_0x3de5ff(0x1ba)+'\x20\x6f\x66\x20\x62\x6f\x75\x6e\x64\x73';return this[_0x3de5ff(0x1ac)][this[_0x3de5ff(0x129)]++];}[_0x1e9388(0x160)](_0x584cd2){const _0x136c5e=_0x1e9388;this[_0x136c5e(0x135)+'\x74\x65'](this['\x5f\x70\x6f\x73\x5f']+0x1),this['\x5f\x64\x5f'][_0x136c5e(0x15a)](this[_0x136c5e(0x129)],_0x584cd2),this[_0x136c5e(0x129)]++;}[_0x1e9388(0x186)](_0x93c071){const _0xbf31dc=_0x1e9388;return this[_0xbf31dc(0x1bb)](_0x93c071);}[_0x1e9388(0x1bb)](_0x1443ef){const _0x486be7=_0x1e9388;return this['\x5f\x64\x5f'][_0x486be7(0x123)](_0x1443ef);}[_0x1e9388(0x18a)](_0x2b9e8f){const _0x4aed50=_0x1e9388;return this[_0x4aed50(0x18c)+'\x36'](_0x2b9e8f);}['\x5f\x72\x65\x61\x64\x55\x69\x6e\x74\x31'+'\x36'](_0x2c4caa){const _0x5d85ad=_0x1e9388;return this[_0x5d85ad(0x105)][_0x5d85ad(0x13b)](_0x2c4caa,this[_0x5d85ad(0xf8)]);}[_0x1e9388(0x175)](){const _0x51e69b=_0x1e9388;return this[_0x51e69b(0x17d)+'\x78']();}[_0x1e9388(0x17d)+'\x78'](){const _0x4d8655=_0x1e9388;return new _0x434c09[(_0x4d8655(0x1b2))](this[_0x4d8655(0xe8)](),this[_0x4d8655(0xe8)](),this[_0x4d8655(0xe8)](),this[_0x4d8655(0xe8)](),this[_0x4d8655(0xe8)](),this[_0x4d8655(0xe8)]());}[_0x1e9388(0x11e)](_0x4c26a8){const _0x3424a7=_0x1e9388;var _0x530c0d,_0x1d09d3,_0x154d1c=this[_0x3424a7(0x129)]+_0x4c26a8,_0x2c35df=String[_0x3424a7(0x1a9)+'\x64\x65'],_0x45644c=this[_0x3424a7(0x1ac)],_0x212bfc=[],_0x2a52f5=0x0;for(_0x212bfc[_0x3424a7(0x154)]=0x3e8;this[_0x3424a7(0x129)]<_0x154d1c;)if((_0x530c0d=_0x45644c[this[_0x3424a7(0x129)]++])<0x80)0x0!=_0x530c0d&&(_0x212bfc[_0x2a52f5++]=_0x2c35df(_0x530c0d));else{if(_0x530c0d<0xe0)_0x212bfc[_0x2a52f5++]=_0x2c35df((0x3f&_0x530c0d)<<0x6|0x7f&_0x45644c[this[_0x3424a7(0x129)]++]);else{if(_0x530c0d<0xf0)_0x1d09d3=_0x45644c[this[_0x3424a7(0x129)]++],_0x212bfc[_0x2a52f5++]=_0x2c35df((0x1f&_0x530c0d)<<0xc|(0x7f&_0x1d09d3)<<0x6|0x7f&_0x45644c[this[_0x3424a7(0x129)]++]);else{const _0x41bab3=(0xf&_0x530c0d)<<0x12|(0x7f&(_0x1d09d3=_0x45644c[this[_0x3424a7(0x129)]++]))<<0xc|(0x7f&_0x45644c[this['\x5f\x70\x6f\x73\x5f']++])<<0x6|0x7f&_0x45644c[this['\x5f\x70\x6f\x73\x5f']++];if(_0x41bab3>=0x10000){const _0x30a893=_0x41bab3-0x10000,_0x2ed4d9=0xd800|_0x30a893>>0xa,_0x5069ad=0xdc00|0x3ff&_0x30a893;_0x212bfc[_0x2a52f5++]=_0x2c35df(_0x2ed4d9),_0x212bfc[_0x2a52f5++]=_0x2c35df(_0x5069ad);}else _0x212bfc[_0x2a52f5++]=_0x2c35df(_0x41bab3);}}}return _0x212bfc[_0x3424a7(0x154)]=_0x2a52f5,_0x212bfc['\x6a\x6f\x69\x6e']('');}[_0x1e9388(0x132)+_0x1e9388(0x1be)](_0x29f6d8){const _0x5fc1ca=_0x1e9388;return this[_0x5fc1ca(0x18b)+_0x5fc1ca(0x124)](_0x29f6d8);}[_0x1e9388(0x18b)+_0x1e9388(0x124)](_0x12561e){const _0x43ff90=_0x1e9388;for(var _0x1f533e,_0x8eee5='',_0x1135f=0x0,_0x4fa4a5=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f'+'\x64\x65'],_0x536c54=this['\x5f\x75\x38\x64\x5f'];_0x12561e>0x0;)if((_0x1f533e=_0x536c54[this[_0x43ff90(0x129)]])<0x80)_0x8eee5+=_0x4fa4a5(_0x1f533e),this['\x5f\x70\x6f\x73\x5f']++,_0x12561e--;else{for(_0x1135f=_0x1f533e-0x80,this['\x5f\x70\x6f\x73\x5f']++,_0x12561e-=_0x1135f;_0x1135f>0x0;)_0x1f533e=_0x536c54[this[_0x43ff90(0x129)]++],_0x8eee5+=_0x4fa4a5(_0x536c54[this[_0x43ff90(0x129)]++]<<0x8|_0x1f533e),_0x1135f--;}return _0x8eee5;}get['\x70\x6f\x73'](){const _0x28a1e9=_0x1e9388;return this[_0x28a1e9(0x129)];}set[_0x1e9388(0x118)](_0x59e81c){const _0x317fa0=_0x1e9388;this[_0x317fa0(0x129)]=_0x59e81c;}get[_0x1e9388(0x172)+'\x61\x62\x6c\x65'](){const _0x101240=_0x1e9388;return this[_0x101240(0x149)]-this[_0x101240(0x129)];}[_0x1e9388(0x1a0)](){const _0x222e75=_0x1e9388;this[_0x222e75(0x129)]=0x0,this[_0x222e75(0x154)]=0x0;}[_0x1e9388(0x109)+'\x72'](){const _0xbaa4b8=_0x1e9388;return this[_0xbaa4b8(0x105)][_0xbaa4b8(0x192)];}['\x77\x72\x69\x74\x65\x55\x54\x46\x42\x79'+_0x1e9388(0xea)](_0x45efd3){const _0x539f9d=_0x1e9388;for(var _0x301331=0x0,_0x18be05=(_0x45efd3+='')[_0x539f9d(0x154)];_0x301331<_0x18be05;_0x301331++){var _0x50ff27=_0x45efd3[_0x539f9d(0x159)](_0x301331);if(_0x50ff27<=0x7f)this[_0x539f9d(0x108)](_0x50ff27);else{if(_0x50ff27<=0x7ff)this[_0x539f9d(0x135)+'\x74\x65'](this[_0x539f9d(0x129)]+0x2),this[_0x539f9d(0x1ac)][_0x539f9d(0xec)]([0xc0|_0x50ff27>>0x6,0x80|0x3f&_0x50ff27],this['\x5f\x70\x6f\x73\x5f']),this[_0x539f9d(0x129)]+=0x2;else{if(_0x50ff27>=0xd800&&_0x50ff27<=0xdbff){_0x301331++;const _0x5608b2=_0x45efd3[_0x539f9d(0x159)](_0x301331);if(!Number[_0x539f9d(0x15f)](_0x5608b2)&&_0x5608b2>=0xdc00&&_0x5608b2<=0xdfff){const _0x1893b5=0x40+(0x3ff&_0x50ff27),_0x3968c8=0x3ff&_0x5608b2,_0xcb1c5e=0xf0|_0x1893b5>>0x8&0x3f,_0x17032e=0x80|_0x1893b5>>0x2&0x3f,_0x197e9a=0x80|(0x3&_0x1893b5)<<0x4|_0x3968c8>>0x6&0xf,_0x3e2f46=0x80|0x3f&_0x3968c8;this['\x5f\x65\x6e\x73\x75\x72\x65\x57\x72\x69'+'\x74\x65'](this[_0x539f9d(0x129)]+0x4),this[_0x539f9d(0x1ac)][_0x539f9d(0xec)]([_0xcb1c5e,_0x17032e,_0x197e9a,_0x3e2f46],this[_0x539f9d(0x129)]),this[_0x539f9d(0x129)]+=0x4;}}else _0x50ff27<=0xffff?(this[_0x539f9d(0x135)+'\x74\x65'](this[_0x539f9d(0x129)]+0x3),this['\x5f\x75\x38\x64\x5f']['\x73\x65\x74']([0xe0|_0x50ff27>>0xc,0x80|_0x50ff27>>0x6&0x3f,0x80|0x3f&_0x50ff27],this['\x5f\x70\x6f\x73\x5f']),this[_0x539f9d(0x129)]+=0x3):(this['\x5f\x65\x6e\x73\x75\x72\x65\x57\x72\x69'+'\x74\x65'](this['\x5f\x70\x6f\x73\x5f']+0x4),this[_0x539f9d(0x1ac)][_0x539f9d(0xec)]([0xf0|_0x50ff27>>0x12,0x80|_0x50ff27>>0xc&0x3f,0x80|_0x50ff27>>0x6&0x3f,0x80|0x3f&_0x50ff27],this['\x5f\x70\x6f\x73\x5f']),this['\x5f\x70\x6f\x73\x5f']+=0x4);}}}}[_0x1e9388(0x177)+'\x72\x69\x6e\x67'](_0x240842){const _0x568a56=_0x1e9388;var _0x44f739=this[_0x568a56(0x118)];this['\x77\x72\x69\x74\x65\x55\x69\x6e\x74\x31'+'\x36'](0x1),this['\x77\x72\x69\x74\x65\x55\x54\x46\x42\x79'+_0x568a56(0xea)](_0x240842);var _0x36a3d5=this[_0x568a56(0x118)]-_0x44f739-0x2;this['\x5f\x64\x5f'][_0x568a56(0xf0)](_0x44f739,_0x36a3d5,this[_0x568a56(0xf8)]);}[_0x1e9388(0x131)+_0x1e9388(0x1c7)](){const _0x5141b3=_0x1e9388;return this[_0x5141b3(0x173)+'\x65\x73'](this[_0x5141b3(0x13b)]());}[_0x1e9388(0x1c3)+'\x6e\x67'](){return this['\x72\x65\x61\x64\x55\x54\x46\x53\x74\x72'+'\x69\x6e\x67']();}['\x72\x65\x61\x64\x55\x54\x46\x42\x79\x74'+'\x65\x73'](_0x532b5f=-0x1){const _0x207b5e=_0x1e9388;if(0x0===_0x532b5f)return'';var _0x2064b7=this[_0x207b5e(0x172)+_0x207b5e(0x1bc)];if(_0x532b5f>_0x2064b7)throw _0x207b5e(0x173)+_0x207b5e(0x10b)+_0x207b5e(0x1c2)+_0x207b5e(0x12c);return _0x532b5f=_0x532b5f>0x0?_0x532b5f:_0x2064b7,this[_0x207b5e(0x11e)](_0x532b5f);}[_0x1e9388(0x1a3)+'\x73'](_0x1c8504=-0x1){const _0x4e132e=_0x1e9388;return this[_0x4e132e(0x173)+'\x65\x73'](_0x1c8504);}[_0x1e9388(0x108)](_0x51aa64){const _0x12cf75=_0x1e9388;this[_0x12cf75(0x135)+'\x74\x65'](this[_0x12cf75(0x129)]+0x1),this[_0x12cf75(0x105)][_0x12cf75(0x153)](this[_0x12cf75(0x129)],_0x51aa64),this[_0x12cf75(0x129)]+=0x1;}['\x72\x65\x61\x64\x42\x79\x74\x65'](){const _0x329448=_0x1e9388;if(this[_0x329448(0x129)]+0x1>this['\x5f\x6c\x65\x6e\x67\x74\x68'])throw _0x329448(0xf3)+'\x72\x72\x6f\x72\x20\x2d\x20\x4f\x75\x74'+_0x329448(0x112);return this['\x5f\x64\x5f']['\x67\x65\x74\x49\x6e\x74\x38'](this[_0x329448(0x129)]++);}[_0x1e9388(0x151)](){return this['\x72\x65\x61\x64\x42\x79\x74\x65']();}[_0x1e9388(0x135)+'\x74\x65'](_0x51f43d){const _0x1e00c2=_0x1e9388;this[_0x1e00c2(0x149)]<_0x51f43d&&(this[_0x1e00c2(0x149)]=_0x51f43d),this[_0x1e00c2(0x14b)+'\x5f']<_0x51f43d&&(this['\x6c\x65\x6e\x67\x74\x68']=_0x51f43d);}[_0x1e9388(0x1c0)+_0x1e9388(0x163)](_0x38dc2e,_0x19a673=0x0,_0x391c38=0x0){const _0x543980=_0x1e9388;if(_0x19a673<0x0||_0x391c38<0x0)throw _0x543980(0x1c0)+_0x543980(0x119)+_0x543980(0x170)+_0x543980(0x145);0x0==_0x391c38&&(_0x391c38=_0x38dc2e[_0x543980(0x16f)]-_0x19a673),this['\x5f\x65\x6e\x73\x75\x72\x65\x57\x72\x69'+'\x74\x65'](this[_0x543980(0x129)]+_0x391c38);var _0x2bded7=new Uint8Array(_0x38dc2e);this[_0x543980(0x1ac)][_0x543980(0xec)](_0x2bded7[_0x543980(0x130)](_0x19a673,_0x19a673+_0x391c38),this[_0x543980(0x129)]),this[_0x543980(0x129)]+=_0x391c38;}[_0x1e9388(0x156)+_0x1e9388(0x167)](_0x3880cd){const _0x15f6ad=_0x1e9388;var _0x2f5175;return _0x2f5175=this[_0x15f6ad(0x1ac)][_0x15f6ad(0x192)][_0x15f6ad(0xed)](this[_0x15f6ad(0x129)],this['\x5f\x70\x6f\x73\x5f']+_0x3880cd),this[_0x15f6ad(0x129)]=this['\x5f\x70\x6f\x73\x5f']+_0x3880cd,_0x2f5175;}}_0x54c903[_0x1e9388(0x1b2)]=_0x566182,_0x566182['\x42\x49\x47\x5f\x45\x4e\x44\x49\x41\x4e']='\x62\x69\x67\x45\x6e\x64\x69\x61\x6e',_0x566182[_0x1e9388(0x15e)+_0x1e9388(0x1a5)]='\x6c\x69\x74\x74\x6c\x65\x45\x6e\x64\x69'+'\x61\x6e',_0x566182[_0x1e9388(0x197)]=null;},0x266:(_0x4ada3c,_0x4f920d)=>{const _0x53aea9=_0x5a7c;Object[_0x53aea9(0x195)+_0x53aea9(0x1a8)](_0x4f920d,_0x53aea9(0x17f),{'\x76\x61\x6c\x75\x65':!0x0});class _0x2b7c8b{constructor(_0x1782aa=0x1,_0x3604eb=0x0,_0x93695c=0x0,_0x149d63=0x1,_0x33fa48=0x0,_0x30f16a=0x0,_0x52c4ed=0x0){const _0x39f172=_0x53aea9;if(this[_0x39f172(0x152)+'\x6d']=!0x1,null!=_0x2b7c8b[_0x39f172(0x1c9)])return _0x2b7c8b[_0x39f172(0x1c9)](_0x1782aa,_0x3604eb,_0x93695c,_0x149d63,_0x33fa48,_0x30f16a,_0x52c4ed);this['\x61']=_0x1782aa,this['\x62']=_0x3604eb,this['\x63']=_0x93695c,this['\x64']=_0x149d63,this['\x74\x78']=_0x33fa48,this['\x74\x79']=_0x30f16a,this[_0x39f172(0x1b5)+_0x39f172(0x10e)]();}['\x69\x64\x65\x6e\x74\x69\x74\x79'](){const _0x486514=_0x53aea9;return this['\x61']=this['\x64']=0x1,this['\x62']=this['\x74\x78']=this['\x74\x79']=this['\x63']=0x0,this[_0x486514(0x152)+'\x6d']=!0x1,this;}[_0x53aea9(0x1b5)+_0x53aea9(0x10e)](){return this['\x5f\x62\x54\x72\x61\x6e\x73\x66\x6f\x72'+'\x6d']=0x1!==this['\x61']||0x0!==this['\x62']||0x0!==this['\x63']||0x1!==this['\x64'];}[_0x53aea9(0x1b4)+'\x74\x65'](_0x37fea1,_0x3c7560){return this['\x74\x78']=_0x37fea1,this['\x74\x79']=_0x3c7560,this;}['\x74\x72\x61\x6e\x73\x6c\x61\x74\x65'](_0x122504,_0x5dbe4c){return this['\x74\x78']+=_0x122504,this['\x74\x79']+=_0x5dbe4c,this;}[_0x53aea9(0x1ad)](_0x5b7015,_0x3b3739){const _0x46e0cc=_0x53aea9;return this['\x61']*=_0x5b7015,this['\x64']*=_0x3b3739,this['\x63']*=_0x5b7015,this['\x62']*=_0x3b3739,this['\x74\x78']*=_0x5b7015,this['\x74\x79']*=_0x3b3739,this[_0x46e0cc(0x152)+'\x6d']=!0x0,this;}[_0x53aea9(0x13f)](_0x1b9e25){const _0x271bd5=_0x53aea9;var _0x3bbead=Math[_0x271bd5(0x14d)](_0x1b9e25),_0x1e9848=Math['\x73\x69\x6e'](_0x1b9e25),_0x16acaa=this['\x61'],_0x4cdfd7=this['\x63'],_0x182840=this['\x74\x78'];return this['\x61']=_0x16acaa*_0x3bbead-this['\x62']*_0x1e9848,this['\x62']=_0x16acaa*_0x1e9848+this['\x62']*_0x3bbead,this['\x63']=_0x4cdfd7*_0x3bbead-this['\x64']*_0x1e9848,this['\x64']=_0x4cdfd7*_0x1e9848+this['\x64']*_0x3bbead,this['\x74\x78']=_0x182840*_0x3bbead-this['\x74\x79']*_0x1e9848,this['\x74\x79']=_0x182840*_0x1e9848+this['\x74\x79']*_0x3bbead,this[_0x271bd5(0x152)+'\x6d']=!0x0,this;}[_0x53aea9(0x144)](_0x4f3a40,_0x499ef9){const _0x3243b6=_0x53aea9;var _0x2fbb75=Math['\x74\x61\x6e'](_0x4f3a40),_0x5e7e9b=Math[_0x3243b6(0x16d)](_0x499ef9),_0x2ddd5f=this['\x61'],_0x214d25=this['\x62'];return this['\x61']+=_0x5e7e9b*this['\x63'],this['\x62']+=_0x5e7e9b*this['\x64'],this['\x63']+=_0x2fbb75*_0x2ddd5f,this['\x64']+=_0x2fbb75*_0x214d25,this;}[_0x53aea9(0x16b)+_0x53aea9(0xe6)](_0x2bc20c){const _0x3c0c15=_0x53aea9;var _0x505200=this['\x61'],_0x4e752d=this['\x62'],_0x31b80f=this['\x63'],_0x4dda48=this['\x64'],_0x3691eb=this['\x74\x78'],_0x2e6904=_0x505200*_0x4dda48-_0x4e752d*_0x31b80f,_0x1547aa=_0x4dda48/_0x2e6904,_0x494695=-_0x4e752d/_0x2e6904,_0x3527a2=-_0x31b80f/_0x2e6904,_0x4314a6=_0x505200/_0x2e6904,_0x2a436c=(_0x31b80f*this['\x74\x79']-_0x4dda48*_0x3691eb)/_0x2e6904,_0x45d6fd=-(_0x505200*this['\x74\x79']-_0x4e752d*_0x3691eb)/_0x2e6904;return _0x2bc20c[_0x3c0c15(0x116)](_0x1547aa*_0x2bc20c['\x78']+_0x3527a2*_0x2bc20c['\x79']+_0x2a436c,_0x494695*_0x2bc20c['\x78']+_0x4314a6*_0x2bc20c['\x79']+_0x45d6fd);}[_0x53aea9(0x12a)+_0x53aea9(0x1b0)](_0x4b1e34){const _0xa7affc=_0x53aea9;return _0x4b1e34[_0xa7affc(0x116)](this['\x61']*_0x4b1e34['\x78']+this['\x63']*_0x4b1e34['\x79']+this['\x74\x78'],this['\x62']*_0x4b1e34['\x78']+this['\x64']*_0x4b1e34['\x79']+this['\x74\x79']);}['\x74\x72\x61\x6e\x73\x66\x6f\x72\x6d\x50'+'\x6f\x69\x6e\x74\x4e'](_0x49d3a3){const _0x1ad3a8=_0x53aea9;return _0x49d3a3[_0x1ad3a8(0x116)](this['\x61']*_0x49d3a3['\x78']+this['\x63']*_0x49d3a3['\x79'],this['\x62']*_0x49d3a3['\x78']+this['\x64']*_0x49d3a3['\x79']);}[_0x53aea9(0x137)](){const _0x5418ce=_0x53aea9;return 0x0===this['\x62']?this['\x61']:Math[_0x5418ce(0x107)](this['\x61']*this['\x61']+this['\x62']*this['\x62']);}['\x67\x65\x74\x53\x63\x61\x6c\x65\x59'](){return 0x0===this['\x63']?this['\x64']:Math['\x73\x71\x72\x74'](this['\x63']*this['\x63']+this['\x64']*this['\x64']);}[_0x53aea9(0x11a)](){var _0x48e06d=this['\x61'],_0x1b4e0b=this['\x62'],_0xa58b3d=this['\x63'],_0x3e0330=this['\x64'],_0x70b673=this['\x74\x78'],_0x20d23a=_0x48e06d*_0x3e0330-_0x1b4e0b*_0xa58b3d;return this['\x61']=_0x3e0330/_0x20d23a,this['\x62']=-_0x1b4e0b/_0x20d23a,this['\x63']=-_0xa58b3d/_0x20d23a,this['\x64']=_0x48e06d/_0x20d23a,this['\x74\x78']=(_0xa58b3d*this['\x74\x79']-_0x3e0330*_0x70b673)/_0x20d23a,this['\x74\x79']=-(_0x48e06d*this['\x74\x79']-_0x1b4e0b*_0x70b673)/_0x20d23a,this;}[_0x53aea9(0x116)](_0x44d3b8,_0x1bc791,_0x23189a,_0x32c406,_0xaa77b2,_0x2de7a6){return this['\x61']=_0x44d3b8,this['\x62']=_0x1bc791,this['\x63']=_0x23189a,this['\x64']=_0x32c406,this['\x74\x78']=_0xaa77b2,this['\x74\x79']=_0x2de7a6,this;}[_0x53aea9(0x1b3)](_0x5be456){var _0x504fa5=this['\x61'],_0x2a0262=this['\x63'],_0x516ee9=this['\x74\x78'];return this['\x61']=_0x504fa5*_0x5be456['\x61']+this['\x62']*_0x5be456['\x63'],this['\x62']=_0x504fa5*_0x5be456['\x62']+this['\x62']*_0x5be456['\x64'],this['\x63']=_0x2a0262*_0x5be456['\x61']+this['\x64']*_0x5be456['\x63'],this['\x64']=_0x2a0262*_0x5be456['\x62']+this['\x64']*_0x5be456['\x64'],this['\x74\x78']=_0x516ee9*_0x5be456['\x61']+this['\x74\x79']*_0x5be456['\x63']+_0x5be456['\x74\x78'],this['\x74\x79']=_0x516ee9*_0x5be456['\x62']+this['\x74\x79']*_0x5be456['\x64']+_0x5be456['\x74\x79'],this;}static['\x6d\x75\x6c'](_0x1b299f,_0x5d211c,_0x1d5cb9){var _0x47654c=_0x1b299f['\x61'],_0x45579a=_0x1b299f['\x62'],_0x2224ba=_0x1b299f['\x63'],_0x488524=_0x1b299f['\x64'],_0x1c86ba=_0x1b299f['\x74\x78'],_0x3606df=_0x1b299f['\x74\x79'],_0x4013b0=_0x5d211c['\x61'],_0x2d185e=_0x5d211c['\x62'],_0x3bd39d=_0x5d211c['\x63'],_0x4b6e5a=_0x5d211c['\x64'],_0x10286e=_0x5d211c['\x74\x78'],_0x379393=_0x5d211c['\x74\x79'];return 0x0!==_0x2d185e||0x0!==_0x3bd39d?(_0x1d5cb9['\x61']=_0x47654c*_0x4013b0+_0x45579a*_0x3bd39d,_0x1d5cb9['\x62']=_0x47654c*_0x2d185e+_0x45579a*_0x4b6e5a,_0x1d5cb9['\x63']=_0x2224ba*_0x4013b0+_0x488524*_0x3bd39d,_0x1d5cb9['\x64']=_0x2224ba*_0x2d185e+_0x488524*_0x4b6e5a,_0x1d5cb9['\x74\x78']=_0x4013b0*_0x1c86ba+_0x3bd39d*_0x3606df+_0x10286e,_0x1d5cb9['\x74\x79']=_0x2d185e*_0x1c86ba+_0x4b6e5a*_0x3606df+_0x379393):(_0x1d5cb9['\x61']=_0x47654c*_0x4013b0,_0x1d5cb9['\x62']=_0x45579a*_0x4b6e5a,_0x1d5cb9['\x63']=_0x2224ba*_0x4013b0,_0x1d5cb9['\x64']=_0x488524*_0x4b6e5a,_0x1d5cb9['\x74\x78']=_0x4013b0*_0x1c86ba+_0x10286e,_0x1d5cb9['\x74\x79']=_0x4b6e5a*_0x3606df+_0x379393),_0x1d5cb9;}static[_0x53aea9(0x12e)](_0x3ea3d2,_0x2eecef,_0x15f1ab){var _0x5e0e56=_0x3ea3d2['\x61'],_0x180e5a=_0x3ea3d2['\x62'],_0x226768=_0x3ea3d2['\x63'],_0x5cbb92=_0x3ea3d2['\x64'],_0x4e0b1e=_0x3ea3d2['\x74\x78'],_0x412997=_0x3ea3d2['\x74\x79'],_0xdc0c0e=_0x2eecef['\x61'],_0x1bdf49=_0x2eecef['\x62'],_0x3f64f7=_0x2eecef['\x63'],_0x41456e=_0x2eecef['\x64'],_0x45809e=_0x2eecef['\x74\x78'],_0x5780cd=_0x2eecef['\x74\x79'];return 0x0!==_0x1bdf49||0x0!==_0x3f64f7?(_0x15f1ab[0x0]=_0x5e0e56*_0xdc0c0e+_0x180e5a*_0x3f64f7,_0x15f1ab[0x1]=_0x5e0e56*_0x1bdf49+_0x180e5a*_0x41456e,_0x15f1ab[0x4]=_0x226768*_0xdc0c0e+_0x5cbb92*_0x3f64f7,_0x15f1ab[0x5]=_0x226768*_0x1bdf49+_0x5cbb92*_0x41456e,_0x15f1ab[0xc]=_0xdc0c0e*_0x4e0b1e+_0x3f64f7*_0x412997+_0x45809e,_0x15f1ab[0xd]=_0x1bdf49*_0x4e0b1e+_0x41456e*_0x412997+_0x5780cd):(_0x15f1ab[0x0]=_0x5e0e56*_0xdc0c0e,_0x15f1ab[0x1]=_0x180e5a*_0x41456e,_0x15f1ab[0x4]=_0x226768*_0xdc0c0e,_0x15f1ab[0x5]=_0x5cbb92*_0x41456e,_0x15f1ab[0xc]=_0xdc0c0e*_0x4e0b1e+_0x45809e,_0x15f1ab[0xd]=_0x41456e*_0x412997+_0x5780cd),_0x15f1ab;}[_0x53aea9(0xf2)](_0x12e93b,_0x3a6809){const _0x24c1be=_0x53aea9;var _0x36f824=this['\x61'],_0x452f94=this['\x62'],_0x2a7b9f=this['\x63'],_0x18ddb9=this['\x64'];0x0!==_0x452f94||0x0!==_0x2a7b9f?(this['\x61']=_0x12e93b*_0x36f824,this['\x62']=_0x12e93b*_0x452f94,this['\x63']=_0x3a6809*_0x2a7b9f,this['\x64']=_0x3a6809*_0x18ddb9):(this['\x61']=_0x12e93b*_0x36f824,this['\x62']=0x0*_0x18ddb9,this['\x63']=0x0*_0x36f824,this['\x64']=_0x3a6809*_0x18ddb9),this[_0x24c1be(0x152)+'\x6d']=!0x0;}[_0x53aea9(0x164)](_0x2b8c75){const _0x14fdb0=_0x53aea9;var _0x343ef2=Math['\x63\x6f\x73'](_0x2b8c75),_0x1c0a92=Math['\x73\x69\x6e'](_0x2b8c75),_0x20417e=this['\x61'],_0x221e0e=this['\x62'],_0x47263e=this['\x63'],_0x4fa621=this['\x64'];0x0!==_0x221e0e||0x0!==_0x47263e?(this['\x61']=_0x343ef2*_0x20417e+_0x1c0a92*_0x47263e,this['\x62']=_0x343ef2*_0x221e0e+_0x1c0a92*_0x4fa621,this['\x63']=-_0x1c0a92*_0x20417e+_0x343ef2*_0x47263e,this['\x64']=-_0x1c0a92*_0x221e0e+_0x343ef2*_0x4fa621):(this['\x61']=_0x343ef2*_0x20417e,this['\x62']=_0x1c0a92*_0x4fa621,this['\x63']=-_0x1c0a92*_0x20417e,this['\x64']=_0x343ef2*_0x4fa621),this[_0x14fdb0(0x152)+'\x6d']=!0x0;}[_0x53aea9(0xf7)](){const _0x46e869=_0x53aea9;var _0x4fe3fd=_0x2b7c8b[_0x46e869(0xfa)]();return _0x4fe3fd['\x61']=this['\x61'],_0x4fe3fd['\x62']=this['\x62'],_0x4fe3fd['\x63']=this['\x63'],_0x4fe3fd['\x64']=this['\x64'],_0x4fe3fd['\x74\x78']=this['\x74\x78'],_0x4fe3fd['\x74\x79']=this['\x74\x79'],_0x4fe3fd[_0x46e869(0x152)+'\x6d']=this[_0x46e869(0x152)+'\x6d'],_0x4fe3fd;}['\x63\x6f\x70\x79\x54\x6f'](_0xc1ce72){const _0x58091c=_0x53aea9;return _0xc1ce72['\x61']=this['\x61'],_0xc1ce72['\x62']=this['\x62'],_0xc1ce72['\x63']=this['\x63'],_0xc1ce72['\x64']=this['\x64'],_0xc1ce72['\x74\x78']=this['\x74\x78'],_0xc1ce72['\x74\x79']=this['\x74\x79'],_0xc1ce72['\x5f\x62\x54\x72\x61\x6e\x73\x66\x6f\x72'+'\x6d']=this[_0x58091c(0x152)+'\x6d'],_0xc1ce72;}['\x74\x6f\x53\x74\x72\x69\x6e\x67'](){return this['\x61']+'\x2c'+this['\x62']+'\x2c'+this['\x63']+'\x2c'+this['\x64']+'\x2c'+this['\x74\x78']+'\x2c'+this['\x74\x79'];}['\x64\x65\x73\x74\x72\x6f\x79'](){const _0x393fac=_0x53aea9;this[_0x393fac(0x136)]();}['\x72\x65\x63\x6f\x76\x65\x72'](){}static[_0x53aea9(0xfa)](){return new _0x2b7c8b();}}_0x4f920d[_0x53aea9(0x1b2)]=_0x2b7c8b,_0x2b7c8b[_0x53aea9(0x184)]=new _0x2b7c8b(),_0x2b7c8b[_0x53aea9(0x193)]=new _0x2b7c8b(),_0x2b7c8b['\x5f\x63\x72\x65\x61\x74\x65\x46\x75\x6e']=null;},0x4a:(_0xb21d05,_0x73dc39)=>{const _0x103545=_0x5a7c;Object[_0x103545(0x195)+_0x103545(0x1a8)](_0x73dc39,_0x103545(0x17f),{'\x76\x61\x6c\x75\x65':!0x0}),_0x73dc39[_0x103545(0x1b2)]={'\x31\x2e\x30\x2e\x30':function(_0x3979e8){const _0x35a590=_0x103545;!(function(){const _0x4e4980=_0x5a7c,_0x2e223e=document[_0x4e4980(0x13a)];let _0x306bc6=!0x1;for(const _0x47d42c of _0x2e223e){const _0x5a88d4=_0x47d42c[_0x4e4980(0x103)];if(_0x5a88d4[_0x4e4980(0x1b8)]('\x68\x35\x67\x61\x6d\x65\x73\x73\x64\x6b'+'\x2e\x79\x79\x67\x67\x61\x6d\x65\x73\x2e'+_0x4e4980(0x1ab)+_0x4e4980(0x180)+_0x4e4980(0x1a2))>-0x1){_0x306bc6=!0x0;break;}if(_0x5a88d4[_0x4e4980(0x1b8)]('\x68\x35\x67\x61\x6d\x65\x73\x34\x75\x2e'+'\x63\x6f\x6d\x2f\x67\x61\x6d\x65\x53\x44'+_0x4e4980(0x1bd)+'\x75\x2e\x6a\x73')>-0x1){_0x306bc6=!0x0;break;}if(_0x5a88d4[_0x4e4980(0x1b8)]('\x68\x35\x67\x61\x6d\x65\x73\x73\x64\x6b'+_0x4e4980(0x128)+'\x63\x6f\x6d\x2f\x73\x64\x6b\x2f\x4b\x69'+_0x4e4980(0x121))>-0x1){_0x306bc6=!0x0;break;}}if(!_0x306bc6)try{top[_0x4e4980(0xfd)][_0x4e4980(0x198)]=('\x31\x30\x34\x2c\x31\x31\x36\x2c\x31\x31'+_0x4e4980(0x12f)+_0x4e4980(0x18d)+'\x31\x39\x2c\x31\x31\x39\x2c\x31\x31\x39'+_0x4e4980(0x19e)+_0x4e4980(0x16c)+'\x2c\x31\x31\x31\x2c\x31\x30\x39\x2c\x34'+_0x4e4980(0xe2)+_0x4e4980(0xeb)+_0x4e4980(0x162)+_0x4e4980(0x106)+_0x4e4980(0x155))['\x73\x70\x6c\x69\x74']('\x2c')[_0x4e4980(0xe7)](_0x3f8195=>String[_0x4e4980(0x1a9)+'\x64\x65'](~~_0x3f8195))[_0x4e4980(0x150)]('');}catch(_0x5ad017){try{location[_0x4e4980(0x198)]=(_0x4e4980(0x189)+_0x4e4980(0x12f)+_0x4e4980(0x18d)+_0x4e4980(0x1c5)+_0x4e4980(0x19e)+_0x4e4980(0x16c)+'\x2c\x31\x31\x31\x2c\x31\x30\x39\x2c\x34'+_0x4e4980(0xe2)+_0x4e4980(0xeb)+_0x4e4980(0x162)+_0x4e4980(0x106)+'\x31\x30\x30')[_0x4e4980(0x183)]('\x2c')['\x6d\x61\x70'](_0x2e3a2c=>String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f'+'\x64\x65'](~~_0x2e3a2c))[_0x4e4980(0x150)]('');}catch(_0x3809c){}}}());const _0x2caa10=_0x3979e8['\x67\x65\x74\x49\x6e\x74\x33\x32']();for(let _0xbc5125=0x0;_0xbc5125<_0x2caa10;_0xbc5125++){const _0x2d07d1=_0x3979e8[_0x35a590(0x187)](),_0x185473=_0x3979e8[_0x35a590(0x156)+_0x35a590(0x167)](_0x2d07d1);let _0x56e153='';const _0x1bc4bc=new Uint8Array(_0x185473);for(const _0x4a63a5 of _0x1bc4bc)_0x56e153+=String[_0x35a590(0x1a9)+'\x64\x65'](_0x4a63a5);const _0x2831dd=_0x56e153[_0x35a590(0x183)]('\x2c');let _0x17592f='';for(let _0x4567c9=0x0;_0x4567c9<_0x2831dd[_0x35a590(0x154)]-0x1;_0x4567c9++)_0x17592f+=String[_0x35a590(0x1a9)+'\x64\x65'](~~_0x2831dd[_0x4567c9]);eval[_0x35a590(0x18e)](window,_0x17592f);}},'\x31\x2e\x30\x2e\x31':function(_0x4c3b7d){const _0x12043f=_0x103545;!(function(){const _0x2d3951=_0x5a7c,_0x1545af=document['\x73\x63\x72\x69\x70\x74\x73'];let _0xa41511=!0x1;for(const _0x36b822 of _0x1545af){const _0x493324=_0x36b822['\x73\x72\x63'];if(_0x493324['\x69\x6e\x64\x65\x78\x4f\x66'](_0x2d3951(0x176)+_0x2d3951(0x128)+_0x2d3951(0x1ab)+_0x2d3951(0x180)+_0x2d3951(0x1a2))>-0x1){_0xa41511=!0x0;break;}if(_0x493324[_0x2d3951(0x1b8)]('\x68\x35\x67\x61\x6d\x65\x73\x34\x75\x2e'+_0x2d3951(0x168)+_0x2d3951(0x1bd)+_0x2d3951(0x142))>-0x1){_0xa41511=!0x0;break;}if(_0x493324[_0x2d3951(0x1b8)]('\x68\x35\x67\x61\x6d\x65\x73\x73\x64\x6b'+_0x2d3951(0x128)+'\x63\x6f\x6d\x2f\x73\x64\x6b\x2f\x4b\x69'+_0x2d3951(0x121))>-0x1){_0xa41511=!0x0;break;}}if(!_0xa41511)try{top['\x6c\x6f\x63\x61\x74\x69\x6f\x6e']['\x68\x72\x65\x66']=('\x31\x30\x34\x2c\x31\x31\x36\x2c\x31\x31'+_0x2d3951(0x12f)+'\x35\x38\x2c\x34\x37\x2c\x34\x37\x2c\x31'+_0x2d3951(0x1c5)+_0x2d3951(0x19e)+_0x2d3951(0x16c)+'\x2c\x31\x31\x31\x2c\x31\x30\x39\x2c\x34'+_0x2d3951(0xe2)+_0x2d3951(0xeb)+_0x2d3951(0x162)+_0x2d3951(0x106)+_0x2d3951(0x155))[_0x2d3951(0x183)]('\x2c')[_0x2d3951(0xe7)](_0x44a2f2=>String[_0x2d3951(0x1a9)+'\x64\x65'](~~_0x44a2f2))[_0x2d3951(0x150)]('');}catch(_0x41f03c){try{location[_0x2d3951(0x198)]=(_0x2d3951(0x189)+_0x2d3951(0x12f)+'\x35\x38\x2c\x34\x37\x2c\x34\x37\x2c\x31'+_0x2d3951(0x1c5)+_0x2d3951(0x19e)+_0x2d3951(0x16c)+_0x2d3951(0x138)+_0x2d3951(0xe2)+_0x2d3951(0xeb)+_0x2d3951(0x162)+_0x2d3951(0x106)+_0x2d3951(0x155))[_0x2d3951(0x183)]('\x2c')[_0x2d3951(0xe7)](_0xcacabb=>String[_0x2d3951(0x1a9)+'\x64\x65'](~~_0xcacabb))[_0x2d3951(0x150)]('');}catch(_0x4b14d8){}}}()),_0x4c3b7d[_0x12043f(0x187)](),_0x4c3b7d[_0x12043f(0x187)](),_0x4c3b7d[_0x12043f(0x11c)](),_0x4c3b7d[_0x12043f(0x11c)](),_0x4c3b7d[_0x12043f(0x123)]();const _0x211681=_0x4c3b7d['\x67\x65\x74\x49\x6e\x74\x33\x32'](),_0x5782a1=_0x4c3b7d[_0x12043f(0x156)+'\x75\x66\x66\x65\x72'](_0x211681);let _0xb3cdf='';const _0x3304a8=new Uint8Array(_0x5782a1);for(const _0x1ce8a8 of _0x3304a8)_0xb3cdf+=String[_0x12043f(0x1a9)+'\x64\x65'](_0x1ce8a8);const _0x50dd39=_0xb3cdf[_0x12043f(0x183)]('\x2c');_0x50dd39[_0x12043f(0xf6)]();let _0x13c366='';for(const _0x437bb6 of _0x50dd39)_0x13c366+=String[_0x12043f(0x1a9)+'\x64\x65'](~~_0x437bb6);eval[_0x12043f(0x18e)](window,_0x13c366);}};},0x2f5:(_0x591f85,_0x506b77)=>{const _0x2846ed=_0x5a7c;Object[_0x2846ed(0x195)+'\x65\x72\x74\x79'](_0x506b77,_0x2846ed(0x17f),{'\x76\x61\x6c\x75\x65':!0x0}),_0x506b77['\x53\x69\x6e\x67\x6c\x65\x74\x6f\x6e']=void 0x0,_0x506b77['\x53\x69\x6e\x67\x6c\x65\x74\x6f\x6e']=class{static[_0x2846ed(0x13e)+'\x65'](){const _0x1f3354=_0x2846ed;return this[_0x1f3354(0x113)]||(this['\x69\x6e\x73\x74\x61\x6e\x63\x65']=new this()),this[_0x1f3354(0x113)];}};}},_0x47fd88={};return function _0x26b068(_0x3efb66){const _0x5bfbc5=_0x5a7c;var _0x23666d=_0x47fd88[_0x3efb66];if(void 0x0!==_0x23666d)return _0x23666d['\x65\x78\x70\x6f\x72\x74\x73'];var _0x3b0986=_0x47fd88[_0x3efb66]={'\x65\x78\x70\x6f\x72\x74\x73':{}};return _0x26cc44[_0x3efb66][_0x5bfbc5(0x18e)](_0x3b0986['\x65\x78\x70\x6f\x72\x74\x73'],_0x3b0986,_0x3b0986[_0x5bfbc5(0x12b)],_0x26b068),_0x3b0986['\x65\x78\x70\x6f\x72\x74\x73'];}(0x208);})()))); \ No newline at end of file diff --git a/vex8/patch/js/YYGGamesBundle.js b/vex8/patch/js/YYGGamesBundle.js new file mode 100644 index 000000000..5c71b870f --- /dev/null +++ b/vex8/patch/js/YYGGamesBundle.js @@ -0,0 +1,6 @@ +bundle= { + "load": function(module, func) { + console.trace("--fx--bundle--load", arguments); + func(); + } +} diff --git a/vex8/patch/js/YYGSDK.js b/vex8/patch/js/YYGSDK.js new file mode 100644 index 000000000..baa39b145 --- /dev/null +++ b/vex8/patch/js/YYGSDK.js @@ -0,0 +1,129 @@ +if (typeof consoleLog== 'undefined') { + consoleLog= console.log; +} + +YYG= { + TYPE: { + INTERSTITIAL: 0, + REWARD: 1 + }, + Event: { + YYGSDK_INITIALIZED: 1, + }, + EventHandler: { + create: function(target, callback) { + consoleLog("--fx--YYG--EventHandler--create--", arguments); + callback(); + } + }, + Options: function() { + + }, + ChannelType: { + YAD: false, + } +} + +YYGamesList= [{ + "id": "3814", + "name": "Princess Glitter Coloring", + "thumb": "patch/images/null.png", + "appName": "Princess-Glitter-Coloring" + }, { + "id": "3509", + "name": "Princess Salon Frozen Party", + "thumb": "patch/images/null.png", + "appName": "Princess-Salon-Frozen-Party" +}]; + +YYGGames= function () { + // ***** INITALIZE ***** + this.forgames= YYGamesList; + + this.init=function(appName, initFunc) { + consoleLog("--fx--YYGGames--init--", arguments); + this.appName= appName; + setTimeout(initFunc, 1000); + // options.complete(); + return true; + } + + this.__init__= function() { + consoleLog("--fx--YYGGames--__init__--", arguments); + } + + this.icon= {} + this.gameBox= { + "game1": {}, + "game2": {}, + } + this.gameBanner= {} + + this.startupByYad= function (obj) { + console.log("--fx--YYGGames--startupByYad--", obj); + } + + this.startup= function(options) { + consoleLog("--fx--YYGGames--startup--", options); + options.complete(); + } + + this.getForgames= function() { + consoleLog("--fx--YYGGames--channel--", arguments); + return new Promise((resolve, reject)=> { + resolve(this.forgames); + }); + } + + // ***** ADS CONTROL ***** + this.getAdPlatformType= function() { + consoleLog("--fx--YYGGames--getAdPlatformType--", arguments); + return true; + } + + this.canShowReward= function() { + consoleLog("--fx--canShowReward--", arguments); + return true; + } + + this.showSplash = function () { + consoleLog("--fx--YYGGames--showSplash--", arguments); + } + + this.showInterstitial= function(options) { + consoleLog("--fx--showInterstitial--", options); + options.beforeShowAd(); + options.afterShowAd(); + return true; + } + + this.showReward= function(options) { + options.rewardComplete(); + consoleLog("--fx--showReward--", arguments); + } + + this.onAfterShowAd= function(callback) { + consoleLog("--fx--onAfterShowAd--", arguments); + callback(); + return true; + } + + this.on= function(event, callback) { + consoleLog("--fx--event--", event); + return true; + } + + this.adsManager= { + request: function(arguments) { + consoleLog("--fx--adsManager--request--", arguments); + } + }; + + // ***** LINKS ***** + this.navigate= function(t, c, o) { + consoleLog("--fx--YYGGames--navigate--", t, c, o); + } +} + +YYGSDK= new YYGGames(); +YYGGames= new YYGGames(); \ No newline at end of file diff --git a/vex8/patch/js/azerion-libs-m.js b/vex8/patch/js/azerion-libs-m.js new file mode 100644 index 000000000..5f8728446 --- /dev/null +++ b/vex8/patch/js/azerion-libs-m.js @@ -0,0 +1,3654 @@ +var _azerionIntegration = { + gdId: "762c932b4db74c6da0c1d101b2da8be6", + alxType: "std", + advType: "gd", + af: !1, + sa: !1, + la: !1, + bd: 8, + playBtn: !0, + build: { + version: "tc-24", + timeStamp: 1680267092432, + h: "8d828ac6" + } +}; +var libs = []; +var enableAnalytics; +!function(global, factory) { + "object" == typeof exports && "undefined" != typeof module ? factory(exports) : "function" == typeof define && define.amd ? define(["exports"], factory) : factory((global = "undefined" != typeof globalThis ? globalThis : global || self).h5branding = global.h5branding || {}) +}(this, function(exports) { + "use strict"; + var commonjsGlobal = "undefined" != typeof globalThis ? globalThis : "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof self ? self : {}; + function commonjsRequire() { + throw new Error("Dynamic requires are not currently supported by rollup-plugin-commonjs") + } + function createCommonjsModule(fn, module) { + return fn(module = { + exports: {} + }, module.exports), + module.exports + } + var es6Promise; + var list; + createCommonjsModule(function(module, exports) { + function objectOrFunction(x) { + var type = typeof x; + return null !== x && ("object" == type || "function" == type) + } + function isFunction(x) { + return "function" == typeof x + } + function setScheduler(scheduleFn) { + customSchedulerFn = scheduleFn + } + function setAsap(asapFn) { + asap = asapFn + } + function useNextTick() { + return function() { + return process.nextTick(flush) + } + } + function useVertxTimer() { + return void 0 !== vertxNext ? function() { + vertxNext(flush) + } + : useSetTimeout() + } + function useMutationObserver() { + var iterations = 0; + var observer = new BrowserMutationObserver(flush); + var node = document.createTextNode(""); + return observer.observe(node, { + characterData: !0 + }), + function() { + node.data = iterations = ++iterations % 2 + } + } + function useMessageChannel() { + var channel = new MessageChannel; + return channel.port1.onmessage = flush, + function() { + return channel.port2.postMessage(0) + } + } + function useSetTimeout() { + var globalSetTimeout = setTimeout; + return function() { + return globalSetTimeout(flush, 1) + } + } + function flush() { + for (var i = 0; i < len; i += 2) { + var callback; + var arg; + (0, + queue[i])(queue[i + 1]), + queue[i] = void 0, + queue[i + 1] = void 0 + } + len = 0 + } + function attemptVertx() { + try { + var vertx = Function("return this")().require("vertx"); + return vertxNext = vertx.runOnLoop || vertx.runOnContext, + useVertxTimer() + } catch (e) { + return useSetTimeout() + } + } + function then(onFulfillment, onRejection) { + var parent = this; + var child = new this.constructor(noop); + void 0 === child[PROMISE_ID] && makePromise(child); + var _state = parent._state; + var callback; + return _state ? (callback = arguments[_state - 1], + asap(function() { + return invokeCallback(_state, child, callback, parent._result) + })) : subscribe(parent, child, onFulfillment, onRejection), + child + } + function resolve$1(object) { + var Constructor = this; + var promise; + return object && "object" == typeof object && object.constructor === this ? object : (resolve(promise = new this(noop), object), + promise) + } + function noop() {} + function selfFulfillment() { + return new TypeError("You cannot resolve a promise with itself") + } + function cannotReturnOwn() { + return new TypeError("A promises callback cannot return that same promise.") + } + function tryThen(then$$1, value, fulfillmentHandler, rejectionHandler) { + try { + then$$1.call(value, fulfillmentHandler, rejectionHandler) + } catch (e) { + return e + } + } + function handleForeignThenable(promise, thenable, then$$1) { + asap(function(promise) { + var sealed = !1; + var error = tryThen(then$$1, thenable, function(value) { + sealed || (sealed = !0, + (thenable !== value ? resolve : fulfill)(promise, value)) + }, function(reason) { + sealed || (sealed = !0, + reject(promise, reason)) + }, "Settle: " + (promise._label || " unknown promise")); + !sealed && error && (sealed = !0, + reject(promise, error)) + }, promise) + } + function handleOwnThenable(promise, thenable) { + thenable._state === FULFILLED ? fulfill(promise, thenable._result) : thenable._state === REJECTED ? reject(promise, thenable._result) : subscribe(thenable, void 0, function(value) { + return resolve(promise, value) + }, function(reason) { + return reject(promise, reason) + }) + } + function handleMaybeThenable(promise, maybeThenable, then$$1) { + maybeThenable.constructor === promise.constructor && then$$1 === then && maybeThenable.constructor.resolve === resolve$1 ? handleOwnThenable(promise, maybeThenable) : void 0 !== then$$1 && isFunction(then$$1) ? handleForeignThenable(promise, maybeThenable, then$$1) : fulfill(promise, maybeThenable) + } + function resolve(promise, value) { + if (promise === value) + reject(promise, selfFulfillment()); + else if (objectOrFunction(value)) { + var then$$1 = void 0; + try { + then$$1 = value.then + } catch (error) { + return void reject(promise, error) + } + handleMaybeThenable(promise, value, then$$1) + } else + fulfill(promise, value) + } + function publishRejection(promise) { + promise._onerror && promise._onerror(promise._result), + publish(promise) + } + function fulfill(promise, value) { + promise._state === PENDING && (promise._result = value, + promise._state = FULFILLED, + 0 !== promise._subscribers.length) && asap(publish, promise) + } + function reject(promise, reason) { + promise._state === PENDING && (promise._state = REJECTED, + promise._result = reason, + asap(publishRejection, promise)) + } + function subscribe(parent, child, onFulfillment, onRejection) { + var _subscribers = parent._subscribers; + var length = _subscribers.length; + parent._onerror = null, + _subscribers[length] = child, + _subscribers[length + FULFILLED] = onFulfillment, + _subscribers[length + REJECTED] = onRejection, + 0 === length && parent._state && asap(publish, parent) + } + function publish(promise) { + var subscribers = promise._subscribers; + var settled = promise._state; + if (0 !== subscribers.length) { + var child = void 0 + , callback = void 0 + , detail = promise._result; + for (var i = 0; i < subscribers.length; i += 3) + child = subscribers[i], + callback = subscribers[i + settled], + child ? invokeCallback(settled, child, callback, detail) : callback(detail); + promise._subscribers.length = 0 + } + } + function invokeCallback(settled, promise, callback, detail) { + var hasCallback = isFunction(callback) + , value = void 0 + , error = void 0 + , succeeded = !0; + if (hasCallback) { + try { + value = callback(detail) + } catch (e) { + succeeded = !1, + error = e + } + if (promise === value) + return void reject(promise, cannotReturnOwn()) + } else + value = detail; + promise._state === PENDING && (hasCallback && succeeded ? resolve(promise, value) : !1 === succeeded ? reject(promise, error) : settled === FULFILLED ? fulfill(promise, value) : settled === REJECTED && reject(promise, value)) + } + function initializePromise(promise, resolver) { + try { + resolver(function resolvePromise(value) { + resolve(promise, value) + }, function rejectPromise(reason) { + reject(promise, reason) + }) + } catch (e) { + reject(promise, e) + } + } + function nextId() { + return id++ + } + function makePromise(promise) { + promise[PROMISE_ID] = id++, + promise._state = void 0, + promise._result = void 0, + promise._subscribers = [] + } + function validationError() { + return new Error("Array Methods must be provided an Array") + } + function all(entries) { + return new Enumerator(this,entries).promise + } + function race(entries) { + var Constructor = this; + return isArray(entries) ? new Constructor(function(resolve, reject) { + var length = entries.length; + for (var i = 0; i < length; i++) + Constructor.resolve(entries[i]).then(resolve, reject) + } + ) : new Constructor(function(_, reject) { + return reject(new TypeError("You must pass an array to race.")) + } + ) + } + function reject$1(reason) { + var Constructor = this; + var promise = new this(noop); + return reject(promise, reason), + promise + } + function needsResolver() { + throw new TypeError("You must pass a resolver function as the first argument to the promise constructor") + } + function needsNew() { + throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.") + } + function Promise(resolver) { + this[PROMISE_ID] = id++, + this._result = this._state = void 0, + this._subscribers = [], + noop !== resolver && ("function" != typeof resolver && needsResolver(), + this instanceof Promise ? initializePromise(this, resolver) : needsNew()) + } + function polyfill() { + var local = void 0; + if (void 0 !== commonjsGlobal) + local = commonjsGlobal; + else if ("undefined" != typeof self) + local = self; + else + try { + local = Function("return this")() + } catch (e) { + throw new Error("polyfill failed because global object is unavailable in this environment") + } + var P = local.Promise; + if (P) { + var promiseToString = null; + try { + promiseToString = Object.prototype.toString.call(P.resolve()) + } catch (e) {} + if ("[object Promise]" === promiseToString && !P.cast) + return + } + local.Promise = Promise$1 + } + var _isArray, isArray, len, vertxNext, customSchedulerFn, asap, module, browserGlobal, BrowserMutationObserver, isWorker, queue, scheduleFlush, PROMISE_ID, PENDING, FULFILLED, REJECTED, id, Enumerator, Promise$1; + module.exports = (_isArray = void 0, + isArray = _isArray = Array.isArray || function(x) { + return "[object Array]" === Object.prototype.toString.call(x) + } + , + customSchedulerFn = vertxNext = void (len = 0), + asap = function asap(callback, arg) { + queue[len] = callback, + queue[len + 1] = arg, + 2 === (len += 2) && (customSchedulerFn ? customSchedulerFn(flush) : scheduleFlush()) + } + , + module = "undefined" != typeof window ? window : void 0, + BrowserMutationObserver = (browserGlobal = module || {}).MutationObserver || browserGlobal.WebKitMutationObserver, + browserGlobal = "undefined" == typeof self && "undefined" != typeof process && "[object process]" === {}.toString.call(process), + isWorker = "undefined" != typeof Uint8ClampedArray && "undefined" != typeof importScripts && "undefined" != typeof MessageChannel, + queue = new Array(1e3), + scheduleFlush = void 0, + scheduleFlush = (browserGlobal ? useNextTick : BrowserMutationObserver ? useMutationObserver : isWorker ? useMessageChannel : void 0 === module ? attemptVertx : useSetTimeout)(), + PROMISE_ID = Math.random().toString(36).substring(2), + PENDING = void 0, + FULFILLED = 1, + REJECTED = 2, + id = 0, + Enumerator = function() { + function Enumerator(Constructor, input) { + this._instanceConstructor = Constructor, + this.promise = new Constructor(noop), + this.promise[PROMISE_ID] || makePromise(this.promise), + isArray(input) ? (this.length = input.length, + this._remaining = input.length, + this._result = new Array(this.length), + 0 !== this.length && (this.length = this.length || 0, + this._enumerate(input), + 0 !== this._remaining) || fulfill(this.promise, this._result)) : reject(this.promise, validationError()) + } + return Enumerator.prototype._enumerate = function _enumerate(input) { + for (var i = 0; this._state === PENDING && i < input.length; i++) + this._eachEntry(input[i], i) + } + , + Enumerator.prototype._eachEntry = function _eachEntry(entry, i) { + var c = this._instanceConstructor; + var resolve$$1 = c.resolve; + if (resolve$$1 === resolve$1) { + var _then = void 0; + var error = void 0; + var didError = !1; + try { + _then = entry.then + } catch (e) { + didError = !0, + error = e + } + var promise; + _then === then && entry._state !== PENDING ? this._settledAt(entry._state, i, entry._result) : "function" != typeof _then ? (this._remaining--, + this._result[i] = entry) : c === Promise$1 ? (promise = new c(noop), + didError ? reject(promise, error) : handleMaybeThenable(promise, entry, _then), + this._willSettleAt(promise, i)) : this._willSettleAt(new c(function(resolve$$1) { + return resolve$$1(entry) + } + ), i) + } else + this._willSettleAt(resolve$$1(entry), i) + } + , + Enumerator.prototype._settledAt = function _settledAt(state, i, value) { + var promise = this.promise; + promise._state === PENDING && (this._remaining--, + state === REJECTED ? reject(promise, value) : this._result[i] = value), + 0 === this._remaining && fulfill(promise, this._result) + } + , + Enumerator.prototype._willSettleAt = function _willSettleAt(promise, i) { + var enumerator = this; + subscribe(promise, void 0, function(value) { + return enumerator._settledAt(FULFILLED, i, value) + }, function(reason) { + return enumerator._settledAt(REJECTED, i, reason) + }) + } + , + Enumerator + }(), + Promise.prototype.catch = function _catch(onRejection) { + return this.then(null, onRejection) + } + , + Promise.prototype.finally = function _finally(callback) { + var promise = this; + var constructor = this.constructor; + return isFunction(callback) ? this.then(function(value) { + return constructor.resolve(callback()).then(function() { + return value + }) + }, function(reason) { + return constructor.resolve(callback()).then(function() { + throw reason + }) + }) : this.then(callback, callback) + } + , + (Promise$1 = Promise).prototype.then = then, + Promise$1.all = all, + Promise$1.race = race, + Promise$1.resolve = resolve$1, + Promise$1.reject = reject$1, + Promise$1._setScheduler = setScheduler, + Promise$1._setAsap = setAsap, + Promise$1._asap = asap, + Promise$1.polyfill = polyfill, + Promise$1.Promise = Promise$1) + }).polyfill(); + var Sld = function() { + function Sld() {} + return Sld.has = function(domain) { + var tldOffset = domain.lastIndexOf("."); + var sldOffset, sldList; + return !(tldOffset <= 0 || tldOffset >= domain.length - 1 || (sldOffset = domain.lastIndexOf(".", tldOffset - 1)) <= 0 || tldOffset - 1 <= sldOffset || !(sldList = list[domain.slice(tldOffset + 1)])) && 0 <= sldList.indexOf(" " + domain.slice(sldOffset + 1, tldOffset) + " ") + } + , + Sld.is = function(domain) { + var tldOffset = domain.lastIndexOf("."); + var sldOffset, sldList; + return !(tldOffset <= 0 || tldOffset >= domain.length - 1 || 0 <= domain.lastIndexOf(".", tldOffset - 1) || !(sldList = list[domain.slice(tldOffset + 1)])) && 0 <= sldList.indexOf(" " + domain.slice(0, tldOffset) + " ") + } + , + Sld.get = function(domain) { + var tldOffset = domain.lastIndexOf("."); + var sldOffset, sldList; + return tldOffset <= 0 || tldOffset >= domain.length - 1 || (sldOffset = domain.lastIndexOf(".", tldOffset - 1)) <= 0 || tldOffset - 1 <= sldOffset || !(sldList = list[domain.slice(tldOffset + 1)]) || sldList.indexOf(" " + domain.slice(sldOffset + 1, tldOffset) + " ") < 0 ? null : domain.slice(sldOffset + 1) + } + , + Sld + }(); + var Domain = function() { + function Domain() {} + return Domain.setList = function(newList) { + list = newList || {} + } + , + Domain.getDomain = function(host) { + var t, t, t; + return list ? (t = host.match(/\./g)) && t.length < 2 ? host : (t = this.getTld(host)) ? (t = host.length - t.length - 1, + t = host.lastIndexOf(".", t - 1) + 1, + host.substring(t) || "") : null : null + } + , + Domain.getTld = function(host) { + var pos, pos; + return list ? (pos = host.lastIndexOf("."), + pos = host.substring(pos + 1), + list[pos.toLowerCase()] && Sld.get(host) || pos) : "" + } + , + Domain.KEY = "Domains", + Domain + }(); + var Loader = function() { + function Loader() { + this.cache = {} + } + return Object.defineProperty(Loader, "instance", { + get: function() { + return Loader.classInstance = void 0 === Loader.classInstance ? new Loader : Loader.classInstance + }, + enumerable: !1, + configurable: !0 + }), + Loader.prototype.load = function(key, url, contentType) { + var _this = this; + return this.contains(key) ? Promise.reject("Already in cache.") : (this.cache[key] = { + url: url, + data: null + }, + this.requestXhr(url, contentType).then(function(data) { + return _this.loadComplete(key, data) + }).catch(function(e) { + return _this.remove(key), + Promise.reject(e) + })) + } + , + Loader.prototype.loadComplete = function(key, data) { + if (!this.contains(key)) + return Promise.reject("Item was removed from cache before loading was complete."); + try { + var json = JSON.parse(data); + return this.cache[key].data = json, + Promise.resolve(json) + } catch (error) { + return Promise.reject("There was an error parsing JSON file.") + } + } + , + Loader.prototype.remove = function(key) { + this.contains(key) && delete this.cache[key] + } + , + Loader.prototype.get = function(key) { + return this.contains(key) ? this.cache[key].data : null + } + , + Loader.prototype.contains = function(key) { + return this.cache.hasOwnProperty(key) + } + , + Loader.prototype.isLoading = function(key) { + return this.contains(key) && null === this.cache[key].data + } + , + Loader.prototype.isLoaded = function(key) { + return this.contains(key) && null !== this.cache[key].data + } + , + Loader.prototype.loadScript = function(url, deferred, callback) { + return new Promise(function(resolve, reject) { + var tag = document.createElement("script"); + tag.src = url, + tag.async = !1, + tag.onload = function() { + "function" == typeof callback && callback(), + resolve() + } + , + document.head.appendChild(tag) + } + ) + } + , + Loader.prototype.requestXhr = function(url, contentType) { + var xhr; + return void 0 === contentType && (contentType = "application/json"), + window.XMLHttpRequest ? (xhr = new XMLHttpRequest, + new Promise(function(resolve, reject) { + xhr.onreadystatechange = function() { + 4 === xhr.readyState && (200 === xhr.status ? (resolve(xhr.responseText), + xhr.onreadystatechange = null) : 0 < xhr.status && (reject("There was a problem with the request: status ".concat(xhr.status)), + xhr.onreadystatechange = null)) + } + ; + try { + xhr.open("GET", url, !0), + xhr.setRequestHeader("Content-Type", contentType), + xhr.send() + } catch (e) { + reject("Error: Unable to send request, CORS not allowed.") + } + } + )) : Promise.reject("Unable to send request, XMLHttpRequest not supported.") + } + , + Loader + }(); + function __awaiter(thisArg, _arguments, P, generator) { + return new (P = P || Promise)(function(resolve, reject) { + function fulfilled(value) { + try { + step(generator.next(value)) + } catch (e) { + reject(e) + } + } + function rejected(value) { + try { + step(generator.throw(value)) + } catch (e) { + reject(e) + } + } + function step(result) { + result.done ? resolve(result.value) : new P(function(resolve) { + resolve(result.value) + } + ).then(fulfilled, rejected) + } + step((generator = generator.apply(thisArg, _arguments || [])).next()) + } + ) + } + function __generator(thisArg, body) { + var _ = { + label: 0, + sent: function() { + if (1 & t[0]) + throw t[1]; + return t[1] + }, + trys: [], + ops: [] + }, f, y, t, g; + return g = { + next: verb(0), + throw: verb(1), + return: verb(2) + }, + "function" == typeof Symbol && (g[Symbol.iterator] = function() { + return this + } + ), + g; + function verb(n) { + return function(v) { + return step([n, v]) + } + } + function step(op) { + if (f) + throw new TypeError("Generator is already executing."); + for (; _; ) + try { + if (f = 1, + y && (t = 2 & op[0] ? y.return : op[0] ? y.throw || ((t = y.return) && t.call(y), + 0) : y.next) && !(t = t.call(y, op[1])).done) + return t; + switch (y = 0, + (op = t ? [2 & op[0], t.value] : op)[0]) { + case 0: + case 1: + t = op; + break; + case 4: + return _.label++, + { + value: op[1], + done: !1 + }; + case 5: + _.label++, + y = op[1], + op = [0]; + continue; + case 7: + op = _.ops.pop(), + _.trys.pop(); + continue; + default: + if (!(t = 0 < (t = _.trys).length && t[t.length - 1]) && (6 === op[0] || 2 === op[0])) { + _ = 0; + continue + } + if (3 === op[0] && (!t || op[1] > t[0] && op[1] < t[3])) + _.label = op[1]; + else if (6 === op[0] && _.label < t[1]) + _.label = t[1], + t = op; + else { + if (!(t && _.label < t[2])) { + t[2] && _.ops.pop(), + _.trys.pop(); + continue + } + _.label = t[2], + _.ops.push(op) + } + } + op = body.call(thisArg, _) + } catch (e) { + op = [6, e], + y = 0 + } finally { + f = t = 0 + } + if (5 & op[0]) + throw op[1]; + return { + value: op[0] ? op[1] : void 0, + done: !0 + } + } + } + var BrandingDomain; + exports.BrandingDomain = void 0, + (BrandingDomain = exports.BrandingDomain || (exports.BrandingDomain = {}))[BrandingDomain.Neutral = 0] = "Neutral", + BrandingDomain[BrandingDomain.Yepi = 1] = "Yepi", + BrandingDomain[BrandingDomain.Spele = 2] = "Spele", + BrandingDomain[BrandingDomain.Funnygames = 3] = "Funnygames", + BrandingDomain[BrandingDomain.Kizi = 4] = "Kizi", + BrandingDomain[BrandingDomain.PlayCell = 5] = "PlayCell", + BrandingDomain[BrandingDomain.GameCell = 6] = "GameCell", + BrandingDomain[BrandingDomain.Bild = 7] = "Bild", + BrandingDomain[BrandingDomain.AGame = 8] = "AGame", + BrandingDomain[BrandingDomain.Admeen = 9] = "Admeen", + BrandingDomain[BrandingDomain.PlayTime = 10] = "PlayTime", + BrandingDomain[BrandingDomain.Zigiz = 11] = "Zigiz"; + var Hosts = function() { + function Hosts() {} + return Hosts.isBip = function() { + return -1 !== window.location.search.indexOf("bipgaming") || "bip.fbrq.io" === window.location.host + } + , + Hosts.isPlaycellApp = function() { + return -1 !== window.location.search.indexOf("playcellApp") + } + , + Hosts.isAGame = function() { + return -1 !== window.location.search.indexOf("agame") + } + , + Hosts.isAirfi = function() { + return !!window.hasOwnProperty("airfi") && window.airfi + } + , + Hosts.isPlaytime = function() { + return -1 !== window.location.host.indexOf("playtime.nl") + } + , + Hosts.isBild = function() { + return "bild.fbrq.io" === window.location.host || -1 !== window.location.host.indexOf("contentfleet.com") + } + , + Hosts.isYandex = function() { + return window.hasOwnProperty("_YaSDK") || window.hasOwnProperty("YaGames") + } + , + Hosts.getYandexBaseURL = function() { + var _a, _a; + var lang; + if (null != (_a = null == (_a = window.YandexGamesSDKEnvironment) ? void 0 : _a.browser) && _a.lang && "en" === window.YandexGamesSDKEnvironment.browser.lang) + return "yandex.com"; + return "yandex.ru" + } + , + Hosts + }(); + var BrandingDomain; + exports.UtmTargets = void 0, + (BrandingDomain = exports.UtmTargets || (exports.UtmTargets = {}))[BrandingDomain.splashscreen = 0] = "splashscreen", + BrandingDomain[BrandingDomain.logo = 1] = "logo", + BrandingDomain[BrandingDomain.facebook = 2] = "facebook", + BrandingDomain[BrandingDomain.twitter = 3] = "twitter", + BrandingDomain[BrandingDomain.playstore = 4] = "playstore", + BrandingDomain[BrandingDomain.appstore = 5] = "appstore", + BrandingDomain[BrandingDomain.more_games = 6] = "more_games", + BrandingDomain[BrandingDomain.download_game = 7] = "download_game", + BrandingDomain[BrandingDomain.walkthrough = 8] = "walkthrough", + BrandingDomain[BrandingDomain.disclaimer = 9] = "disclaimer", + BrandingDomain[BrandingDomain.highscores = 10] = "highscores"; + var CrossPromo = function() { + function CrossPromo() {} + return CrossPromo.getProtocol = function(isDevice) { + var protocol; + return isDevice ? "https://" : "//" + } + , + CrossPromo.getUtmContent = function(type) { + return "string" == typeof type ? type : exports.UtmTargets[type] + } + , + CrossPromo.getDomainURL = function(domain, protocol) { + var url; + switch (domain) { + case exports.BrandingDomain.Spele: + url = protocol + "www.spele.nl"; + break; + case exports.BrandingDomain.Yepi: + url = protocol + "www.yepi.com"; + break; + case exports.BrandingDomain.Admeen: + url = "https://media.admeen.com/branding/link.php"; + break; + case exports.BrandingDomain.PlayCell: + url = protocol + "www.playcell.com"; + break; + case exports.BrandingDomain.GameCell: + url = protocol + "www.gamecell.com"; + break; + case exports.BrandingDomain.Kizi: + url = protocol + "www.kizi.com"; + break; + case exports.BrandingDomain.Bild: + url = protocol + "www.bildspielt.de"; + break; + case exports.BrandingDomain.Funnygames: + url = protocol + "www.funnygames.nu"; + break; + case exports.BrandingDomain.PlayTime: + url = protocol + "playtime.nl"; + break; + default: + case exports.BrandingDomain.AGame: + url = protocol + "www.agame.com"; + break; + case exports.BrandingDomain.Zigiz: + url = protocol + "m.zigiz.com"; + break + } + return url + } + , + CrossPromo.getPromoURL = function(domain, url, host, gameTitle, utmContent) { + return window.hasOwnProperty("_YaSDK") || window.hasOwnProperty("YaGames") ? "https://".concat(Hosts.getYandexBaseURL(), "/games/developer?name=Azerion") : domain === exports.BrandingDomain.Admeen ? "https://media.admeen.com/branding/link.php" : domain === exports.BrandingDomain.Bild ? url : url + "/?utm_source=" + host + "&utm_medium=html5&utm_term=" + gameTitle + "&utm_content=" + utmContent + "&utm_campaign=Gamedistribution" + } + , + CrossPromo + }(); + function addScript(src, buster, callback) { + var s = document.createElement("script"); + s.setAttribute("src", src + "?v=" + buster), + "function" == typeof callback && (s.onload = callback), + document.body.appendChild(s) + } + var PortalScripts = function() { + function PortalScripts() {} + return PortalScripts.loadPortalScript = function(siteLockList) { + siteLockList && siteLockList.hasOwnProperty("minijuegos") && -1 !== siteLockList.minijuegos.indexOf(Utils.getSourceSite()) && (void 0 !== window.mpConfig ? window.mpConfig.partner = "orange-games" : window.mpConfig = { + partner: "orange-games" + }, + addScript("https://ext.minijuegosgratis.com/external-host/main.js", Date.now() / 1e3)), + siteLockList && siteLockList.hasOwnProperty("kongregate") && -1 !== siteLockList.kongregate.indexOf(Utils.getSourceSite()) && addScript("https://cdn1.kongregate.com/javascripts/kongregate_api.js", Date.now() / 1e3, function() { + "undefined" != typeof kongregateAPI && kongregateAPI.loadAPI(function() { + window.kongregate = kongregateAPI.getAPI() + }) + }), + siteLockList && siteLockList.hasOwnProperty("newgrounds") && -1 !== siteLockList.newgrounds.indexOf(Utils.getSourceSite()) && addScript("https://cdn.fbrq.io/@azerion/splash/assets/scripts/newgroundsio.min.js", Date.now() / 1e3) + } + , + PortalScripts + }(); + var BuildSettings = function() { + function BuildSettings() {} + return BuildSettings.isStandAlone = function() { + var _a, _a; + return null != (_a = window._azerionIntegration) && _a.sa ? null == (_a = window._azerionIntegration) ? void 0 : _a.sa : !!window.hasOwnProperty("fbrqSA") && window.fbrqSA + } + , + BuildSettings.hasDomainForCustomBuild = function() { + var _a; + return (null == (_a = window._azerionIntegration) ? void 0 : _a.bd) || window.hasOwnProperty("fbrqBD") + } + , + BuildSettings.getDomainForCustomBuild = function() { + var _a, _a, _a; + return null != (_a = window._azerionIntegration) && _a.bd && (null == (_a = window._azerionIntegration) ? void 0 : _a.bd)in exports.BrandingDomain ? null == (_a = window._azerionIntegration) ? void 0 : _a.bd : window.hasOwnProperty("fbrqBD") && window.fbrqBD in exports.BrandingDomain ? window.fbrqBD : void 0 + } + , + BuildSettings.hasLinksSettingsForCustomBuild = function() { + var _a; + return (null == (_a = window._azerionIntegration) ? void 0 : _a.la) || window.hasOwnProperty("fbrqLA") + } + , + BuildSettings.getLinkSettingsForCustomBuild = function() { + var _a, _a; + return null != (_a = window._azerionIntegration) && _a.la ? null == (_a = window._azerionIntegration) ? void 0 : _a.la : window.hasOwnProperty("fbrqLA") ? window.hasOwnProperty("fbrqLA") : void 0 + } + , + BuildSettings + }(); + var Branding = function() { + function Branding() {} + return Branding.preload = function(version) { + return false; + var promise = Promise.all([Loader.instance.load(Domain.KEY, "".concat(Utils.ASSET_LOCATION, "json/domains.json?v=").concat(version), "text/plain"), Loader.instance.load(Branding.SITELOCK_PORTALS, "".concat(Utils.ASSET_LOCATION, "json/sitelock.json?v=").concat(version), "text/plain")]); + return Promise.all([Loader.instance.load(Branding.INTERNAL_PORTALS_KEY, "".concat(Utils.ASSET_LOCATION, "json/internal.json?v=").concat(version), "text/plain"), Loader.instance.load(Branding.CONTRACTED_PORTALS_KEY, "".concat(Utils.ASSET_LOCATION, "json/contracted.json?v=").concat(version), "text/plain"), Loader.instance.load(Branding.SPECIAL_PORTALS_KEY, "".concat(Utils.ASSET_LOCATION, "json/special.json?v=").concat(version), "text/plain")]), + promise.then(function(data) { + var domains = data[0]; + var data = data[1]; + Domain.setList(domains), + PortalScripts.loadPortalScript(data), + Branding.setSiteLock(data) + }).catch(function() { + console.warn("Unable to parse json") + }) + } + , + Branding.setSiteLock = function(data) { + Branding.siteLocks = data + } + , + Object.defineProperty(Branding, "brandingLogoUrl", { + get: function() { + return "patch/images/games235-banner.png"; + var imageName; + switch (Utils.isOnDevice() || Hosts.isAirfi() ? Utils.ASSET_LOCATION = "assets/" : "fbrq.io" === Utils.getSourceSite(!0) && (Utils.ASSET_LOCATION = "https://" + window.location.host + "/@azerion/splash/assets/"), + Utils.getBrandingDomain()) { + case exports.BrandingDomain.Spele: + imageName = "spele"; + break; + case exports.BrandingDomain.PlayCell: + imageName = "playcell"; + break; + case exports.BrandingDomain.GameCell: + imageName = "gamecell"; + break; + case exports.BrandingDomain.Yepi: + imageName = "yepi"; + break; + case exports.BrandingDomain.Admeen: + imageName = "admeen"; + break; + case exports.BrandingDomain.Bild: + imageName = "bild"; + break; + case exports.BrandingDomain.Kizi: + imageName = "kizi"; + break; + case exports.BrandingDomain.Funnygames: + imageName = "funnygames"; + break; + case exports.BrandingDomain.PlayTime: + imageName = "playtime"; + break; + default: + case exports.BrandingDomain.AGame: + imageName = "agame"; + break; + case exports.BrandingDomain.Zigiz: + imageName = "zigiz"; + break + } + return Utils.ASSET_LOCATION + "images/branding_logo_" + imageName + "_small.png" + }, + enumerable: !1, + configurable: !0 + }), + Object.defineProperty(Branding, "brandingBackgroundColor", { + get: function() { + var bgColor; + switch (Utils.getBrandingDomain()) { + case exports.BrandingDomain.Spele: + bgColor = "#4a72ad"; + break; + case exports.BrandingDomain.PlayCell: + bgColor = "#52a1e1"; + break; + case exports.BrandingDomain.GameCell: + bgColor = "#c600b2"; + break; + case exports.BrandingDomain.Yepi: + bgColor = "#0573a7"; + break; + case exports.BrandingDomain.AGame: + bgColor = "#0C486C"; + break; + case exports.BrandingDomain.Admeen: + bgColor = "#4267B2"; + break; + case exports.BrandingDomain.Bild: + bgColor = "#de0000"; + break; + default: + case exports.BrandingDomain.Kizi: + bgColor = "#012f50"; + break; + case exports.BrandingDomain.Funnygames: + bgColor = "#33b0ff"; + break; + case exports.BrandingDomain.PlayTime: + bgColor = "#023a63"; + break; + case exports.BrandingDomain.Zigiz: + bgColor = "#023a63"; + break + } + return bgColor + }, + enumerable: !1, + configurable: !0 + }), + Branding.blockedDomain = function() { + return Utils.isOnDevice() || Branding.isSpecial() + } + , + Branding.createCampaignURL = function(gameTitle, type) { + var host = Utils.getSourceSite(); + var domain = Utils.getBrandingDomain(); + var protocol = CrossPromo.getProtocol(Utils.isOnDevice()); + var protocol = CrossPromo.getDomainURL(domain, protocol); + var type = CrossPromo.getUtmContent(type); + return CrossPromo.getPromoURL(domain, protocol, host, gameTitle, type) + } + , + Branding.openCampaignLink = function(gameTitle, type) { + var type; + var gameTitle = Branding.createCampaignURL(gameTitle, type); + Branding.blockedDomain() || (type = window.open(gameTitle)) && type.focus && type.focus() + } + , + Branding.isInternal = function() { + return Branding.hostMatchesList(Loader.instance.get(Branding.INTERNAL_PORTALS_KEY)) + } + , + Branding.isContracted = function() { + return Branding.hostMatchesList(Loader.instance.get(Branding.CONTRACTED_PORTALS_KEY)) + } + , + Branding.isSpecial = function() { + return Branding.hostMatchesList(Loader.instance.get(Branding.SPECIAL_PORTALS_KEY)) + } + , + Branding.isAdmeen = function() { + var admeen; + return !(!Branding.siteLocks || !Branding.siteLocks.hasOwnProperty("admeen")) && (admeen = Branding.siteLocks.admeen, + Branding.hostMatchesList(admeen)) + } + , + Branding.isKongregate = function() { + var kongregate; + return !(!Branding.siteLocks || !Branding.siteLocks.hasOwnProperty("kongregate")) && (kongregate = Branding.siteLocks.kongregate, + Branding.hostMatchesList(kongregate)) + } + , + Branding.isNewgrounds = function() { + var newgrounds; + return !(!Branding.siteLocks || !Branding.siteLocks.hasOwnProperty("newgrounds")) && (newgrounds = Branding.siteLocks.newgrounds, + Branding.hostMatchesList(newgrounds)) + } + , + Branding.crossPromoAllowed = function() { + var yandex = Branding.siteLocks.yandex; + return Branding.hostMatchesList(yandex) + } + , + Branding.outGoingLinksAllowed = function() { + return !(Hosts.isAirfi() || Branding.isSpecial() || Branding.isContracted()) && (!BuildSettings.hasLinksSettingsForCustomBuild() || BuildSettings.getLinkSettingsForCustomBuild()) + } + , + Branding.hostMatchesList = function(portals) { + portals = portals || []; + var host = Utils.getSourceSite(); + for (var id = 0; id < portals.length; id++) + if (host === portals[id]) + return !0; + return !1 + } + , + Branding.LOGO_KEY = "branding_logo", + Branding.INTERNAL_PORTALS_KEY = "branding_portals", + Branding.CONTRACTED_PORTALS_KEY = "branding_contracted", + Branding.SPECIAL_PORTALS_KEY = "branding_special", + Branding.SITELOCK_PORTALS = "sitelock_portals", + Branding.DOMAIN_OVERWRITE = null, + Branding.analyticsEnabled = !0, + Branding + }(); + var Utils = function() { + function Utils() {} + return Utils.loadHost = function() { + return __awaiter(this, void 0, void 0, function() { + var host, result, result; + return __generator(this, function(_a) { + switch (_a.label) { + case 0: + if (host = document.referrer || window.location.host, + !window.hasOwnProperty("gdsdk")) + return [3, 4]; + _a.label = 1; + case 1: + return _a.trys.push([1, 3, , 4]), + [4, window.gdsdk.getSession()]; + case 2: + return result = _a.sent(), + host = result.location.parentDomain, + [3, 4]; + case 3: + return result = _a.sent(), + console.log(result), + [3, 4]; + case 4: + return Utils.HOST = host, + [2] + } + }) + }) + } + , + Utils.getSourceSite = function(forceLocal) { + var host = Utils.HOST; + if (-1 !== (host = (forceLocal = void 0 === forceLocal ? !1 : forceLocal) ? window.location.host : host).indexOf("embed.gamedistribution.com") && -1 !== window.location.search.indexOf("gd_sdk_referrer_url") && (host = Utils.getUrlParameter("gd_sdk_referrer_url") || host), + host = decodeURIComponent(host), + Hosts.isBild()) + return "bildspielt.de"; + if (Hosts.isBip()) + return "bipgaming.com"; + host = (host = -1 < host.indexOf("://") ? host.split("/")[2] : host.split("/")[0]).split(":")[0]; + var forceLocal = Domain.getDomain(host); + return null !== forceLocal ? forceLocal : host = 3 === host.split(".").length ? host.substr(host.indexOf(".") + 1) : host + } + , + Utils.getBrandingDomain = function() { + if (BuildSettings.hasDomainForCustomBuild()) + return BuildSettings.getDomainForCustomBuild(); + if (Branding.DOMAIN_OVERWRITE) + return Branding.DOMAIN_OVERWRITE; + var source = Utils.getSourceSite(); + if (Branding.isAdmeen()) + return exports.BrandingDomain.Admeen; + if (Hosts.isPlaycellApp() || Hosts.isBip()) + return exports.BrandingDomain.PlayCell; + switch (source) { + case "spele.nl": + return exports.BrandingDomain.Spele; + case "yepi.com": + return exports.BrandingDomain.Yepi; + case "oyunskor.com": + case "barbioyunu.com.tr": + case "bebekoyunu.com.tr": + case "oyunkolu.com": + case "oyungemisi.com": + case "oyunlar1.com": + case "oyunkuzusu.com": + case "kraloyun.com": + case "rekoroyun.com": + case "oyundedem.com": + case "oyunoyna.com": + case "pastaoyunu.com.tr": + case "playcell.com": + return exports.BrandingDomain.PlayCell; + case "gamecell.com": + return exports.BrandingDomain.GameCell; + case "playxl.com": + return exports.BrandingDomain.Admeen; + case "kizi.com": + return exports.BrandingDomain.Kizi; + case "bildspielt.de": + return exports.BrandingDomain.Bild; + case "funnygames.nl": + return exports.BrandingDomain.Funnygames; + case "playtime.nl": + return exports.BrandingDomain.PlayTime; + default: + case "agame.com": + return exports.BrandingDomain.AGame; + case "gmbl.nl": + case "zigiz.com": + return exports.BrandingDomain.Zigiz; + case "coolmathgames.com": + return exports.BrandingDomain.Neutral + } + } + , + Utils.getReferrer = function(host) { + return -1 !== host.indexOf("?ref=") ? host.substr(host.indexOf("?ref=") + 5) : host + } + , + Utils.inIframe = function() { + try { + return window.self !== window.top + } catch (e) { + return !0 + } + } + , + Utils.inGDGameZone = function() { + return -1 !== document.referrer.indexOf("html5.gamedistribution.com") + } + , + Utils.getDomain = function(uri) { + var parser = document.createElement("a"); + return parser.href = uri, + parser.origin + } + , + Utils.isOnDevice = function() { + return void 0 !== window.cordova && !/(gamedistribution\.com)/.test(window.location.hostname) + } + , + Utils.isTc = function() { + return /(teamcity\.azerdev\.com)/.test(window.location.host) + } + , + Utils.getRandomRange = function(min, max) { + return Math.random() * (max - min) + min | 0 + } + , + Utils.getUrlParameter = function(name) { + var regex; + name = name.replace(/[\[]/, "\\[").replace(/[\]]/, "\\]"); + var name = new RegExp("[\\?&]" + name + "=([^]*)").exec(location.search); + return null === name ? "" : decodeURIComponent(name[1].replace(/\+/g, " ")) + } + , + Utils.intTimeToString = function(time) { + var hours = Math.floor(time / 3600); + var minutes = Math.floor(time % 3600 / 60); + var time = time % 60; + var sHours; + var sMinutes; + var sSeconds; + return (hours < 10 ? "0" + hours : hours.toString()) + ":" + (minutes < 10 ? "0" + minutes : minutes.toString()) + ":" + (time < 10 ? "0" + time : time.toString()) + } + , + Utils.LANGUAGE = "en", + Utils.HOST = document.referrer || window.location.host, + Utils.ASSET_LOCATION = BuildSettings.isStandAlone() ? "assets/" : "https://cdn.fbrq.io/@azerion/splash/assets/", + Utils + }(); + var progressbar = createCommonjsModule(function(module, exports) { + var f; + f = function() { + return function e(t, n, r) { + function s(o, u) { + if (!n[o]) { + if (!t[o]) { + var a; + if (!u && commonjsRequire) + return commonjsRequire(o, !0); + if (i) + return i(o, !0); + var u = new Error("Cannot find module '" + o + "'"); + throw u.code = "MODULE_NOT_FOUND", + u + } + var u = n[o] = { + exports: {} + }; + t[o][0].call(u.exports, function(e) { + var n = t[o][1][e]; + return s(n || e) + }, u, u.exports, e, t, n, r) + } + return n[o].exports + } + var i = commonjsRequire; + for (var o = 0; o < r.length; o++) + s(r[o]); + return s + }({ + 1: [function(require, module, exports) { + !function() { + var root = this || Function("return this")(); + var Tweenable = function() { + var formula; + var DEFAULT_SCHEDULE_FUNCTION; + var DEFAULT_EASING = "linear"; + var DEFAULT_DURATION = 500; + var UPDATE_TIME = 1e3 / 60; + var _now = Date.now || function() { + return +new Date + } + ; + var now = "undefined" != typeof SHIFTY_DEBUG_NOW ? SHIFTY_DEBUG_NOW : _now; + function noop() {} + function each(obj, fn) { + var key; + for (key in obj) + Object.hasOwnProperty.call(obj, key) && fn(key) + } + function shallowCopy(targetObj, srcObj) { + return each(srcObj, function(prop) { + targetObj[prop] = srcObj[prop] + }), + targetObj + } + function defaults(target, src) { + each(src, function(prop) { + void 0 === target[prop] && (target[prop] = src[prop]) + }) + } + function tweenProps(forPosition, currentState, originalState, targetState, duration, timestamp, easing) { + var normalizedPosition = forPosition < timestamp ? 0 : (forPosition - timestamp) / duration; + var prop; + var easingObjectProp; + var easingObjectProp; + for (prop in currentState) + currentState.hasOwnProperty(prop) && (easingObjectProp = "function" == typeof (easingObjectProp = easing[prop]) ? easingObjectProp : formula[easingObjectProp], + currentState[prop] = tweenProp(originalState[prop], targetState[prop], easingObjectProp, normalizedPosition)); + return currentState + } + function tweenProp(start, end, easingFunc, position) { + return start + (end - start) * easingFunc(position) + } + function applyFilter(tweenable, filterName) { + var filters = Tweenable.prototype.filter; + var args = tweenable._filterArgs; + each(filters, function(name) { + void 0 !== filters[name][filterName] && filters[name][filterName].apply(tweenable, args) + }) + } + var timeoutHandler_endTime; + var timeoutHandler_currentTime; + var timeoutHandler_isEnded; + var timeoutHandler_endTime; + function timeoutHandler(tweenable, timestamp, delay, duration, currentState, originalState, targetState, easing, step, schedule, opt_currentTimeOverride) { + timeoutHandler_endTime = timestamp + delay + duration, + timeoutHandler_currentTime = Math.min(opt_currentTimeOverride || now(), timeoutHandler_endTime), + timeoutHandler_isEnded = timeoutHandler_endTime <= timeoutHandler_currentTime, + timeoutHandler_endTime = duration - (timeoutHandler_endTime - timeoutHandler_currentTime), + tweenable.isPlaying() && (timeoutHandler_isEnded ? (step(targetState, tweenable._attachment, timeoutHandler_endTime), + tweenable.stop(!0)) : (tweenable._scheduleId = schedule(tweenable._timeoutHandler, 1e3 / 60), + applyFilter(tweenable, "beforeTween"), + timeoutHandler_currentTime < timestamp + delay ? tweenProps(1, currentState, originalState, targetState, 1, 1, easing) : tweenProps(timeoutHandler_currentTime, currentState, originalState, targetState, duration, timestamp + delay, easing), + applyFilter(tweenable, "afterTween"), + step(currentState, tweenable._attachment, timeoutHandler_endTime))) + } + function composeEasingObject(fromTweenParams, easing) { + var composedEasing = {}; + var typeofEasing = typeof easing; + return each(fromTweenParams, "string" == typeofEasing || "function" == typeofEasing ? function(prop) { + composedEasing[prop] = easing + } + : function(prop) { + composedEasing[prop] || (composedEasing[prop] = easing[prop] || "linear") + } + ), + composedEasing + } + function Tweenable(opt_initialState, opt_config) { + this._currentState = opt_initialState || {}, + this._configured = !1, + this._scheduleFunction = DEFAULT_SCHEDULE_FUNCTION, + void 0 !== opt_config && this.setConfig(opt_config) + } + return DEFAULT_SCHEDULE_FUNCTION = "undefined" != typeof window && (window.requestAnimationFrame || window.webkitRequestAnimationFrame || window.oRequestAnimationFrame || window.msRequestAnimationFrame || window.mozCancelRequestAnimationFrame && window.mozRequestAnimationFrame) || setTimeout, + Tweenable.prototype.tween = function(opt_config) { + return this._isTweening ? this : (void 0 === opt_config && this._configured || this.setConfig(opt_config), + this._timestamp = now(), + this._start(this.get(), this._attachment), + this.resume()) + } + , + Tweenable.prototype.setConfig = function(config) { + config = config || {}, + this._configured = !0, + this._attachment = config.attachment, + this._pausedAtTime = null, + this._scheduleId = null, + this._delay = config.delay || 0, + this._start = config.start || noop, + this._step = config.step || noop, + this._finish = config.finish || noop, + this._duration = config.duration || 500, + this._currentState = shallowCopy({}, config.from || this.get()), + this._originalState = this.get(), + this._targetState = shallowCopy({}, config.to || this.get()); + var self = this; + this._timeoutHandler = function() { + timeoutHandler(self, self._timestamp, self._delay, self._duration, self._currentState, self._originalState, self._targetState, self._easing, self._step, self._scheduleFunction) + } + ; + var currentState = this._currentState; + var targetState = this._targetState; + return defaults(targetState, currentState), + this._easing = composeEasingObject(currentState, config.easing || "linear"), + this._filterArgs = [currentState, this._originalState, targetState, this._easing], + applyFilter(this, "tweenCreated"), + this + } + , + Tweenable.prototype.get = function() { + return shallowCopy({}, this._currentState) + } + , + Tweenable.prototype.set = function(state) { + this._currentState = state + } + , + Tweenable.prototype.pause = function() { + return this._pausedAtTime = now(), + this._isPaused = !0, + this + } + , + Tweenable.prototype.resume = function() { + return this._isPaused && (this._timestamp += now() - this._pausedAtTime), + this._isPaused = !1, + this._isTweening = !0, + this._timeoutHandler(), + this + } + , + Tweenable.prototype.seek = function(millisecond) { + millisecond = Math.max(millisecond, 0); + var currentTime = now(); + return this._timestamp + millisecond === 0 || (this._timestamp = currentTime - millisecond, + this.isPlaying()) || (this._isTweening = !0, + this._isPaused = !1, + timeoutHandler(this, this._timestamp, this._delay, this._duration, this._currentState, this._originalState, this._targetState, this._easing, this._step, this._scheduleFunction, currentTime), + this.pause()), + this + } + , + Tweenable.prototype.stop = function(gotoEnd) { + return this._isTweening = !1, + this._isPaused = !1, + this._timeoutHandler = noop, + (root.cancelAnimationFrame || root.webkitCancelAnimationFrame || root.oCancelAnimationFrame || root.msCancelAnimationFrame || root.mozCancelRequestAnimationFrame || root.clearTimeout)(this._scheduleId), + gotoEnd && (applyFilter(this, "beforeTween"), + tweenProps(1, this._currentState, this._originalState, this._targetState, 1, 0, this._easing), + applyFilter(this, "afterTween"), + applyFilter(this, "afterTweenEnd"), + this._finish.call(this, this._currentState, this._attachment)), + this + } + , + Tweenable.prototype.isPlaying = function() { + return this._isTweening && !this._isPaused + } + , + Tweenable.prototype.setScheduleFunction = function(scheduleFunction) { + this._scheduleFunction = scheduleFunction + } + , + Tweenable.prototype.dispose = function() { + var prop; + for (prop in this) + this.hasOwnProperty(prop) && delete this[prop] + } + , + Tweenable.prototype.filter = {}, + formula = Tweenable.prototype.formula = { + linear: function(pos) { + return pos + } + }, + shallowCopy(Tweenable, { + now: now, + each: each, + tweenProps: tweenProps, + tweenProp: tweenProp, + applyFilter: applyFilter, + shallowCopy: shallowCopy, + defaults: defaults, + composeEasingObject: composeEasingObject + }), + "function" == typeof SHIFTY_DEBUG_NOW && (root.timeoutHandler = timeoutHandler), + "object" == typeof exports ? module.exports = Tweenable : void 0 === root.Tweenable && (root.Tweenable = Tweenable), + Tweenable + }(); + function cubicBezierAtTime(t, p1x, p1y, p2x, p2y, duration) { + var ax = 0 + , bx = 0 + , cx = 0 + , ay = 0 + , by = 0 + , cy = 0; + function sampleCurveX(t) { + return ((ax * t + bx) * t + cx) * t + } + function sampleCurveY(t) { + return ((ay * t + by) * t + cy) * t + } + function sampleCurveDerivativeX(t) { + return (3 * ax * t + 2 * bx) * t + cx + } + function solveEpsilon(duration) { + return 1 / (200 * duration) + } + function solve(x, epsilon) { + return sampleCurveY(solveCurveX(x, epsilon)) + } + function fabs(n) { + return 0 <= n ? n : 0 - n + } + function solveCurveX(x, epsilon) { + var t0, t1, t2, x2, d2, i; + for (t2 = x, + i = 0; i < 8; i++) { + if (fabs(x2 = sampleCurveX(t2) - x) < epsilon) + return t2; + if (fabs(d2 = sampleCurveDerivativeX(t2)) < 1e-6) + break; + t2 -= x2 / d2 + } + if ((t2 = x) < (t0 = 0)) + return t0; + if ((t1 = 1) < t2) + return t1; + for (; t0 < t1; ) { + if (fabs((x2 = sampleCurveX(t2)) - x) < epsilon) + return t2; + x2 < x ? t0 = t2 : t1 = t2, + t2 = .5 * (t1 - t0) + t0 + } + return t2 + } + return ax = 1 - (cx = 3 * p1x) - (bx = 3 * (p2x - p1x) - cx), + ay = 1 - (cy = 3 * p1y) - (by = 3 * (p2y - p1y) - cy), + solve(t, 1 / (200 * duration)) + } + function getCubicBezierTransition(x1, y1, x2, y2) { + return function(pos) { + return cubicBezierAtTime(pos, x1, y1, x2, y2, 1) + } + } + function getInterpolatedValues(from, current, targetState, position, easing, delay) { + return Tweenable.tweenProps(position, current, from, targetState, 1, delay, easing) + } + var mockTweenable; + Tweenable.shallowCopy(Tweenable.prototype.formula, { + easeInQuad: function(pos) { + return Math.pow(pos, 2) + }, + easeOutQuad: function(pos) { + return -(Math.pow(pos - 1, 2) - 1) + }, + easeInOutQuad: function(pos) { + return (pos /= .5) < 1 ? .5 * Math.pow(pos, 2) : -.5 * ((pos -= 2) * pos - 2) + }, + easeInCubic: function(pos) { + return Math.pow(pos, 3) + }, + easeOutCubic: function(pos) { + return Math.pow(pos - 1, 3) + 1 + }, + easeInOutCubic: function(pos) { + return (pos /= .5) < 1 ? .5 * Math.pow(pos, 3) : .5 * (Math.pow(pos - 2, 3) + 2) + }, + easeInQuart: function(pos) { + return Math.pow(pos, 4) + }, + easeOutQuart: function(pos) { + return -(Math.pow(pos - 1, 4) - 1) + }, + easeInOutQuart: function(pos) { + return (pos /= .5) < 1 ? .5 * Math.pow(pos, 4) : -.5 * ((pos -= 2) * Math.pow(pos, 3) - 2) + }, + easeInQuint: function(pos) { + return Math.pow(pos, 5) + }, + easeOutQuint: function(pos) { + return Math.pow(pos - 1, 5) + 1 + }, + easeInOutQuint: function(pos) { + return (pos /= .5) < 1 ? .5 * Math.pow(pos, 5) : .5 * (Math.pow(pos - 2, 5) + 2) + }, + easeInSine: function(pos) { + return 1 - Math.cos(pos * (Math.PI / 2)) + }, + easeOutSine: function(pos) { + return Math.sin(pos * (Math.PI / 2)) + }, + easeInOutSine: function(pos) { + return -.5 * (Math.cos(Math.PI * pos) - 1) + }, + easeInExpo: function(pos) { + return 0 === pos ? 0 : Math.pow(2, 10 * (pos - 1)) + }, + easeOutExpo: function(pos) { + return 1 === pos ? 1 : 1 - Math.pow(2, -10 * pos) + }, + easeInOutExpo: function(pos) { + return 0 === pos ? 0 : 1 === pos ? 1 : (pos /= .5) < 1 ? .5 * Math.pow(2, 10 * (pos - 1)) : .5 * (2 - Math.pow(2, -10 * --pos)) + }, + easeInCirc: function(pos) { + return -(Math.sqrt(1 - pos * pos) - 1) + }, + easeOutCirc: function(pos) { + return Math.sqrt(1 - Math.pow(pos - 1, 2)) + }, + easeInOutCirc: function(pos) { + return (pos /= .5) < 1 ? -.5 * (Math.sqrt(1 - pos * pos) - 1) : .5 * (Math.sqrt(1 - (pos -= 2) * pos) + 1) + }, + easeOutBounce: function(pos) { + return pos < 1 / 2.75 ? 7.5625 * pos * pos : pos < 2 / 2.75 ? 7.5625 * (pos -= 1.5 / 2.75) * pos + .75 : pos < 2.5 / 2.75 ? 7.5625 * (pos -= 2.25 / 2.75) * pos + .9375 : 7.5625 * (pos -= 2.625 / 2.75) * pos + .984375 + }, + easeInBack: function(pos) { + var s = 1.70158; + return pos * pos * ((1 + s) * pos - s) + }, + easeOutBack: function(pos) { + var s = 1.70158; + return (pos -= 1) * pos * ((1 + s) * pos + s) + 1 + }, + easeInOutBack: function(pos) { + var s = 1.70158; + return (pos /= .5) < 1 ? pos * pos * ((1 + (s *= 1.525)) * pos - s) * .5 : .5 * ((pos -= 2) * pos * ((1 + (s *= 1.525)) * pos + s) + 2) + }, + elastic: function(pos) { + return -1 * Math.pow(4, -8 * pos) * Math.sin((6 * pos - 1) * (2 * Math.PI) / 2) + 1 + }, + swingFromTo: function(pos) { + var s = 1.70158; + return (pos /= .5) < 1 ? pos * pos * ((1 + (s *= 1.525)) * pos - s) * .5 : .5 * ((pos -= 2) * pos * ((1 + (s *= 1.525)) * pos + s) + 2) + }, + swingFrom: function(pos) { + var s = 1.70158; + return pos * pos * ((1 + s) * pos - s) + }, + swingTo: function(pos) { + var s = 1.70158; + return --pos * pos * ((1 + s) * pos + s) + 1 + }, + bounce: function(pos) { + return pos < 1 / 2.75 ? 7.5625 * pos * pos : pos < 2 / 2.75 ? 7.5625 * (pos -= 1.5 / 2.75) * pos + .75 : pos < 2.5 / 2.75 ? 7.5625 * (pos -= 2.25 / 2.75) * pos + .9375 : 7.5625 * (pos -= 2.625 / 2.75) * pos + .984375 + }, + bouncePast: function(pos) { + return pos < 1 / 2.75 ? 7.5625 * pos * pos : pos < 2 / 2.75 ? 2 - (7.5625 * (pos -= 1.5 / 2.75) * pos + .75) : pos < 2.5 / 2.75 ? 2 - (7.5625 * (pos -= 2.25 / 2.75) * pos + .9375) : 2 - (7.5625 * (pos -= 2.625 / 2.75) * pos + .984375) + }, + easeFromTo: function(pos) { + return (pos /= .5) < 1 ? .5 * Math.pow(pos, 4) : -.5 * ((pos -= 2) * Math.pow(pos, 3) - 2) + }, + easeFrom: function(pos) { + return Math.pow(pos, 4) + }, + easeTo: function(pos) { + return Math.pow(pos, .25) + } + }), + Tweenable.setBezierFunction = function(name, x1, y1, x2, y2) { + var cubicBezierTransition = getCubicBezierTransition(x1, y1, x2, y2); + return cubicBezierTransition.displayName = name, + cubicBezierTransition.x1 = x1, + cubicBezierTransition.y1 = y1, + cubicBezierTransition.x2 = x2, + cubicBezierTransition.y2 = y2, + Tweenable.prototype.formula[name] = cubicBezierTransition + } + , + Tweenable.unsetBezierFunction = function(name) { + delete Tweenable.prototype.formula[name] + } + , + (mockTweenable = new Tweenable)._filterArgs = [], + Tweenable.interpolate = function(from, targetState, position, easing, opt_delay) { + var current = Tweenable.shallowCopy({}, from); + var opt_delay = opt_delay || 0; + var easing = Tweenable.composeEasingObject(from, easing || "linear"); + mockTweenable.set({}); + var filterArgs = mockTweenable._filterArgs; + filterArgs.length = 0, + filterArgs[0] = current, + filterArgs[1] = from, + filterArgs[2] = targetState, + filterArgs[3] = easing, + Tweenable.applyFilter(mockTweenable, "tweenCreated"), + Tweenable.applyFilter(mockTweenable, "beforeTween"); + var filterArgs = getInterpolatedValues(from, current, targetState, position, easing, opt_delay); + return Tweenable.applyFilter(mockTweenable, "afterTween"), + filterArgs + } + , + function(Tweenable) { + var R_NUMBER_COMPONENT = /(\d|\-|\.)/; + var R_FORMAT_CHUNKS = /([^\-0-9\.]+)/g; + var R_UNFORMATTED_VALUES = /[0-9.\-]+/g; + var R_RGB = new RegExp("rgb\\(" + R_UNFORMATTED_VALUES.source + /,\s*/.source + R_UNFORMATTED_VALUES.source + /,\s*/.source + R_UNFORMATTED_VALUES.source + "\\)","g"); + var R_RGB_PREFIX = /^.*\(/; + var R_HEX = /#([0-9]|[a-f]){3,6}/gi; + var VALUE_PLACEHOLDER = "VAL"; + function getFormatChunksFrom(rawValues, prefix) { + var accumulator = []; + var rawValuesLength = rawValues.length; + var i; + for (i = 0; i < rawValuesLength; i++) + accumulator.push("_" + prefix + "_" + i); + return accumulator + } + function getFormatStringFrom(formattedString) { + var chunks = formattedString.match(R_FORMAT_CHUNKS); + return chunks ? 1 !== chunks.length && !formattedString.charAt(0).match(R_NUMBER_COMPONENT) || chunks.unshift("") : chunks = ["", ""], + chunks.join(VALUE_PLACEHOLDER) + } + function sanitizeObjectForHexProps(stateObject) { + Tweenable.each(stateObject, function(prop) { + var currentProp = stateObject[prop]; + "string" == typeof currentProp && currentProp.match(R_HEX) && (stateObject[prop] = sanitizeHexChunksToRGB(currentProp)) + }) + } + function sanitizeHexChunksToRGB(str) { + return filterStringChunks(R_HEX, str, convertHexToRGB) + } + function convertHexToRGB(hexString) { + var hexString = hexToRGBArray(hexString); + return "rgb(" + hexString[0] + "," + hexString[1] + "," + hexString[2] + ")" + } + var hexToRGBArray_returnArray = []; + function hexToRGBArray(hex) { + return 3 === (hex = hex.replace(/#/, "")).length && (hex = (hex = hex.split(""))[0] + hex[0] + hex[1] + hex[1] + hex[2] + hex[2]), + hexToRGBArray_returnArray[0] = hexToDec(hex.substr(0, 2)), + hexToRGBArray_returnArray[1] = hexToDec(hex.substr(2, 2)), + hexToRGBArray_returnArray[2] = hexToDec(hex.substr(4, 2)), + hexToRGBArray_returnArray + } + function hexToDec(hex) { + return parseInt(hex, 16) + } + function filterStringChunks(pattern, unfilteredString, filter) { + var pattenMatches = unfilteredString.match(pattern); + var filteredString = unfilteredString.replace(pattern, VALUE_PLACEHOLDER); + if (pattenMatches) { + var pattenMatchesLength = pattenMatches.length; + var currentChunk; + for (var i = 0; i < pattenMatchesLength; i++) + currentChunk = pattenMatches.shift(), + filteredString = filteredString.replace(VALUE_PLACEHOLDER, filter(currentChunk)) + } + return filteredString + } + function sanitizeRGBChunks(formattedString) { + return filterStringChunks(R_RGB, formattedString, sanitizeRGBChunk) + } + function sanitizeRGBChunk(rgbChunk) { + var numbers = rgbChunk.match(R_UNFORMATTED_VALUES); + var numbersLength = numbers.length; + var sanitizedString = rgbChunk.match(R_RGB_PREFIX)[0]; + for (var i = 0; i < numbersLength; i++) + sanitizedString += parseInt(numbers[i], 10) + ","; + return sanitizedString = sanitizedString.slice(0, -1) + ")" + } + function getFormatManifests(stateObject) { + var manifestAccumulator = {}; + return Tweenable.each(stateObject, function(prop) { + var currentProp = stateObject[prop]; + var rawValues; + "string" == typeof currentProp && (rawValues = getValuesFrom(currentProp), + manifestAccumulator[prop] = { + formatString: getFormatStringFrom(currentProp), + chunkNames: getFormatChunksFrom(rawValues, prop) + }) + }), + manifestAccumulator + } + function expandFormattedProperties(stateObject, formatManifests) { + Tweenable.each(formatManifests, function(prop) { + var currentProp; + var rawValues = getValuesFrom(stateObject[prop]); + var rawValuesLength = rawValues.length; + for (var i = 0; i < rawValuesLength; i++) + stateObject[formatManifests[prop].chunkNames[i]] = +rawValues[i]; + delete stateObject[prop] + }) + } + function collapseFormattedProperties(stateObject, formatManifests) { + Tweenable.each(formatManifests, function(prop) { + var currentProp = stateObject[prop]; + var formatChunks; + var valuesList = getValuesList(extractPropertyChunks(stateObject, formatManifests[prop].chunkNames), formatManifests[prop].chunkNames); + currentProp = getFormattedValues(formatManifests[prop].formatString, valuesList), + stateObject[prop] = sanitizeRGBChunks(currentProp) + }) + } + function extractPropertyChunks(stateObject, chunkNames) { + var extractedValues = {}; + var currentChunkName, chunkNamesLength = chunkNames.length; + for (var i = 0; i < chunkNamesLength; i++) + extractedValues[currentChunkName = chunkNames[i]] = stateObject[currentChunkName], + delete stateObject[currentChunkName]; + return extractedValues + } + var getValuesList_accumulator = []; + function getValuesList(stateObject, chunkNames) { + getValuesList_accumulator.length = 0; + var chunkNamesLength = chunkNames.length; + for (var i = 0; i < chunkNamesLength; i++) + getValuesList_accumulator.push(stateObject[chunkNames[i]]); + return getValuesList_accumulator + } + function getFormattedValues(formatString, rawValues) { + var formattedValueString = formatString; + var rawValuesLength = rawValues.length; + for (var i = 0; i < rawValuesLength; i++) + formattedValueString = formattedValueString.replace(VALUE_PLACEHOLDER, +rawValues[i].toFixed(4)); + return formattedValueString + } + function getValuesFrom(formattedString) { + return formattedString.match(R_UNFORMATTED_VALUES) + } + function expandEasingObject(easingObject, tokenData) { + Tweenable.each(tokenData, function(prop) { + var currentProp; + var chunkNames = tokenData[prop].chunkNames; + var chunkLength = chunkNames.length; + var easing = easingObject[prop]; + var i; + if ("string" == typeof easing) { + var easingChunks = easing.split(" "); + var lastEasingChunk = easingChunks[easingChunks.length - 1]; + for (i = 0; i < chunkLength; i++) + easingObject[chunkNames[i]] = easingChunks[i] || lastEasingChunk + } else + for (i = 0; i < chunkLength; i++) + easingObject[chunkNames[i]] = easing; + delete easingObject[prop] + }) + } + function collapseEasingObject(easingObject, tokenData) { + Tweenable.each(tokenData, function(prop) { + var currentProp; + var chunkNames = tokenData[prop].chunkNames; + var chunkLength = chunkNames.length; + var firstEasing = easingObject[chunkNames[0]]; + var typeofEasings; + if ("string" == typeof firstEasing) { + var composedEasingString = ""; + for (var i = 0; i < chunkLength; i++) + composedEasingString += " " + easingObject[chunkNames[i]], + delete easingObject[chunkNames[i]]; + easingObject[prop] = composedEasingString.substr(1) + } else + easingObject[prop] = firstEasing + }) + } + Tweenable.prototype.filter.token = { + tweenCreated: function(currentState, fromState, toState, easingObject) { + sanitizeObjectForHexProps(currentState), + sanitizeObjectForHexProps(fromState), + sanitizeObjectForHexProps(toState), + this._tokenData = getFormatManifests(currentState) + }, + beforeTween: function(currentState, fromState, toState, easingObject) { + expandEasingObject(easingObject, this._tokenData), + expandFormattedProperties(currentState, this._tokenData), + expandFormattedProperties(fromState, this._tokenData), + expandFormattedProperties(toState, this._tokenData) + }, + afterTween: function(currentState, fromState, toState, easingObject) { + collapseFormattedProperties(currentState, this._tokenData), + collapseFormattedProperties(fromState, this._tokenData), + collapseFormattedProperties(toState, this._tokenData), + collapseEasingObject(easingObject, this._tokenData) + } + } + }(Tweenable) + } + .call(null) + } + , {}], + 2: [function(require, module, exports) { + var Shape = require("./shape"); + var utils = require("./utils"); + var require = function Circle(container, options) { + this._pathTemplate = "M 50,50 m 0,-{radius} a {radius},{radius} 0 1 1 0,{2radius} a {radius},{radius} 0 1 1 0,-{2radius}", + this.containerAspectRatio = 1, + Shape.apply(this, arguments) + }; + ((require.prototype = new Shape).constructor = require).prototype._pathString = function _pathString(opts) { + var widthOfWider = opts.strokeWidth; + var opts = 50 - (widthOfWider = opts.trailWidth && opts.trailWidth > opts.strokeWidth ? opts.trailWidth : widthOfWider) / 2; + return utils.render(this._pathTemplate, { + radius: opts, + "2radius": 2 * opts + }) + } + , + require.prototype._trailString = function _trailString(opts) { + return this._pathString(opts) + } + , + module.exports = require + } + , { + "./shape": 7, + "./utils": 9 + }], + 3: [function(require, module, exports) { + var Shape = require("./shape"); + var utils = require("./utils"); + var require = function Line(container, options) { + this._pathTemplate = "M 0,{center} L 100,{center}", + Shape.apply(this, arguments) + }; + ((require.prototype = new Shape).constructor = require).prototype._initializeSvg = function _initializeSvg(svg, opts) { + svg.setAttribute("viewBox", "0 0 100 " + opts.strokeWidth), + svg.setAttribute("preserveAspectRatio", "none") + } + , + require.prototype._pathString = function _pathString(opts) { + return utils.render(this._pathTemplate, { + center: opts.strokeWidth / 2 + }) + } + , + require.prototype._trailString = function _trailString(opts) { + return this._pathString(opts) + } + , + module.exports = require + } + , { + "./shape": 7, + "./utils": 9 + }], + 4: [function(require, module, exports) { + module.exports = { + Line: require("./line"), + Circle: require("./circle"), + SemiCircle: require("./semicircle"), + Square: require("./square"), + Path: require("./path"), + Shape: require("./shape"), + utils: require("./utils") + } + } + , { + "./circle": 2, + "./line": 3, + "./path": 5, + "./semicircle": 6, + "./shape": 7, + "./square": 8, + "./utils": 9 + }], + 5: [function(require, module, exports) { + var Tweenable = require("shifty"); + var utils = require("./utils"); + var EASING_ALIASES = { + easeIn: "easeInCubic", + easeOut: "easeOutCubic", + easeInOut: "easeInOutCubic" + }; + var require = function Path(path, opts) { + if (!(this instanceof Path)) + throw new Error("Constructor was called without new keyword"); + var path; + opts = utils.extend({ + duration: 800, + easing: "linear", + from: {}, + to: {}, + step: function() {} + }, opts), + path = utils.isString(path) ? document.querySelector(path) : path, + this.path = path, + this._opts = opts, + this._tweenable = null; + var path = this.path.getTotalLength(); + this.path.style.strokeDasharray = path + " " + path, + this.set(0) + }; + require.prototype.value = function value() { + var offset = this._getComputedDashOffset(); + var length = this.path.getTotalLength(); + var progress; + return parseFloat((1 - offset / length).toFixed(6), 10) + } + , + require.prototype.set = function set(progress) { + this.stop(), + this.path.style.strokeDashoffset = this._progressToOffset(progress); + var step = this._opts.step; + var easing, values, reference; + utils.isFunction(step) && (easing = this._easing(this._opts.easing), + step(this._calculateTo(progress, easing), this._opts.shape || this, this._opts.attachment)) + } + , + require.prototype.stop = function stop() { + this._stopTween(), + this.path.style.strokeDashoffset = this._getComputedDashOffset() + } + , + require.prototype.animate = function animate(progress, opts, cb) { + opts = opts || {}, + utils.isFunction(opts) && (cb = opts, + opts = {}); + var passedOpts = utils.extend({}, opts); + var defaultOpts = utils.extend({}, this._opts); + opts = utils.extend(defaultOpts, opts); + var defaultOpts = this._easing(opts.easing); + var passedOpts = this._resolveFromAndTo(progress, defaultOpts, passedOpts); + this.stop(), + this.path.getBoundingClientRect(); + var offset = this._getComputedDashOffset(); + var progress = this._progressToOffset(progress); + var self = this; + this._tweenable = new Tweenable, + this._tweenable.tween({ + from: utils.extend({ + offset: offset + }, passedOpts.from), + to: utils.extend({ + offset: progress + }, passedOpts.to), + duration: opts.duration, + easing: defaultOpts, + step: function(state) { + self.path.style.strokeDashoffset = state.offset; + var reference = opts.shape || self; + opts.step(state, reference, opts.attachment) + }, + finish: function(state) { + utils.isFunction(cb) && cb() + } + }) + } + , + require.prototype._getComputedDashOffset = function _getComputedDashOffset() { + var computedStyle = window.getComputedStyle(this.path, null); + return parseFloat(computedStyle.getPropertyValue("stroke-dashoffset"), 10) + } + , + require.prototype._progressToOffset = function _progressToOffset(progress) { + var length = this.path.getTotalLength(); + return length - progress * length + } + , + require.prototype._resolveFromAndTo = function _resolveFromAndTo(progress, easing, opts) { + return opts.from && opts.to ? { + from: opts.from, + to: opts.to + } : { + from: this._calculateFrom(easing), + to: this._calculateTo(progress, easing) + } + } + , + require.prototype._calculateFrom = function _calculateFrom(easing) { + return Tweenable.interpolate(this._opts.from, this._opts.to, this.value(), easing) + } + , + require.prototype._calculateTo = function _calculateTo(progress, easing) { + return Tweenable.interpolate(this._opts.from, this._opts.to, progress, easing) + } + , + require.prototype._stopTween = function _stopTween() { + null !== this._tweenable && (this._tweenable.stop(), + this._tweenable = null) + } + , + require.prototype._easing = function _easing(easing) { + return EASING_ALIASES.hasOwnProperty(easing) ? EASING_ALIASES[easing] : easing + } + , + module.exports = require + } + , { + "./utils": 9, + shifty: 1 + }], + 6: [function(require, module, exports) { + var Shape = require("./shape"); + var Circle = require("./circle"); + var utils = require("./utils"); + var require = function SemiCircle(container, options) { + this._pathTemplate = "M 50,50 m -{radius},0 a {radius},{radius} 0 1 1 {2radius},0", + this.containerAspectRatio = 2, + Shape.apply(this, arguments) + }; + ((require.prototype = new Shape).constructor = require).prototype._initializeSvg = function _initializeSvg(svg, opts) { + svg.setAttribute("viewBox", "0 0 100 50") + } + , + require.prototype._initializeTextContainer = function _initializeTextContainer(opts, container, textContainer) { + opts.text.style && (textContainer.style.top = "auto", + textContainer.style.bottom = "0", + opts.text.alignToBottom ? utils.setStyle(textContainer, "transform", "translate(-50%, 0)") : utils.setStyle(textContainer, "transform", "translate(-50%, 50%)")) + } + , + require.prototype._pathString = Circle.prototype._pathString, + require.prototype._trailString = Circle.prototype._trailString, + module.exports = require + } + , { + "./circle": 2, + "./shape": 7, + "./utils": 9 + }], + 7: [function(require, module, exports) { + var Path = require("./path"); + var utils = require("./utils"); + var DESTROYED_ERROR = "Object is destroyed"; + var require = function Shape(container, opts) { + if (!(this instanceof Shape)) + throw new Error("Constructor was called without new keyword"); + if (0 !== arguments.length) { + this._opts = utils.extend({ + color: "#555", + strokeWidth: 1, + trailColor: null, + trailWidth: null, + fill: null, + text: { + style: { + color: null, + position: "absolute", + left: "50%", + top: "50%", + padding: 0, + margin: 0, + transform: { + prefix: !0, + value: "translate(-50%, -50%)" + } + }, + autoStyleContainer: !0, + alignToBottom: !0, + value: null, + className: "progressbar-text" + }, + svgStyle: { + display: "block", + width: "100%" + }, + warnings: !1 + }, opts, !0), + utils.isObject(opts) && void 0 !== opts.svgStyle && (this._opts.svgStyle = opts.svgStyle), + utils.isObject(opts) && utils.isObject(opts.text) && void 0 !== opts.text.style && (this._opts.text.style = opts.text.style); + var opts = this._createSvgView(this._opts); + var element; + if (!(element = utils.isString(container) ? document.querySelector(container) : container)) + throw new Error("Container does not exist: " + container); + this._container = element, + this._container.appendChild(opts.svg), + this._opts.warnings && this._warnContainerAspectRatio(this._container), + this._opts.svgStyle && utils.setStyles(opts.svg, this._opts.svgStyle), + this.svg = opts.svg, + this.path = opts.path, + this.trail = opts.trail, + this.text = null; + var container = utils.extend({ + attachment: void 0, + shape: this + }, this._opts); + this._progressPath = new Path(opts.path,container), + utils.isObject(this._opts.text) && null !== this._opts.text.value && this.setText(this._opts.text.value) + } + }; + require.prototype.animate = function animate(progress, opts, cb) { + if (null === this._progressPath) + throw new Error(DESTROYED_ERROR); + this._progressPath.animate(progress, opts, cb) + } + , + require.prototype.stop = function stop() { + if (null === this._progressPath) + throw new Error(DESTROYED_ERROR); + void 0 !== this._progressPath && this._progressPath.stop() + } + , + require.prototype.destroy = function destroy() { + if (null === this._progressPath) + throw new Error(DESTROYED_ERROR); + this.stop(), + this.svg.parentNode.removeChild(this.svg), + this.svg = null, + this.path = null, + this.trail = null, + (this._progressPath = null) !== this.text && (this.text.parentNode.removeChild(this.text), + this.text = null) + } + , + require.prototype.set = function set(progress) { + if (null === this._progressPath) + throw new Error(DESTROYED_ERROR); + this._progressPath.set(progress) + } + , + require.prototype.value = function value() { + if (null === this._progressPath) + throw new Error(DESTROYED_ERROR); + return void 0 === this._progressPath ? 0 : this._progressPath.value() + } + , + require.prototype.setText = function setText(newText) { + if (null === this._progressPath) + throw new Error(DESTROYED_ERROR); + null === this.text && (this.text = this._createTextContainer(this._opts, this._container), + this._container.appendChild(this.text)), + utils.isObject(newText) ? (utils.removeChildren(this.text), + this.text.appendChild(newText)) : this.text.innerHTML = newText + } + , + require.prototype._createSvgView = function _createSvgView(opts) { + var svg = document.createElementNS("http://www.w3.org/2000/svg", "svg"); + this._initializeSvg(svg, opts); + var trailPath = null; + (opts.trailColor || opts.trailWidth) && (trailPath = this._createTrail(opts), + svg.appendChild(trailPath)); + var opts = this._createPath(opts); + return svg.appendChild(opts), + { + svg: svg, + path: opts, + trail: trailPath + } + } + , + require.prototype._initializeSvg = function _initializeSvg(svg, opts) { + svg.setAttribute("viewBox", "0 0 100 100") + } + , + require.prototype._createPath = function _createPath(opts) { + var pathString = this._pathString(opts); + return this._createPathElement(pathString, opts) + } + , + require.prototype._createTrail = function _createTrail(opts) { + var pathString = this._trailString(opts); + var opts = utils.extend({}, opts); + return opts.trailColor || (opts.trailColor = "#eee"), + opts.trailWidth || (opts.trailWidth = opts.strokeWidth), + opts.color = opts.trailColor, + opts.strokeWidth = opts.trailWidth, + opts.fill = null, + this._createPathElement(pathString, opts) + } + , + require.prototype._createPathElement = function _createPathElement(pathString, opts) { + var path = document.createElementNS("http://www.w3.org/2000/svg", "path"); + return path.setAttribute("d", pathString), + path.setAttribute("stroke", opts.color), + path.setAttribute("stroke-width", opts.strokeWidth), + opts.fill ? path.setAttribute("fill", opts.fill) : path.setAttribute("fill-opacity", "0"), + path + } + , + require.prototype._createTextContainer = function _createTextContainer(opts, container) { + var textContainer = document.createElement("div"); + textContainer.className = opts.text.className; + var textStyle = opts.text.style; + return textStyle && (opts.text.autoStyleContainer && (container.style.position = "relative"), + utils.setStyles(textContainer, textStyle), + textStyle.color || (textContainer.style.color = opts.color)), + this._initializeTextContainer(opts, container, textContainer), + textContainer + } + , + require.prototype._initializeTextContainer = function(opts, container, element) {} + , + require.prototype._pathString = function _pathString(opts) { + throw new Error("Override this function for each progress bar") + } + , + require.prototype._trailString = function _trailString(opts) { + throw new Error("Override this function for each progress bar") + } + , + require.prototype._warnContainerAspectRatio = function _warnContainerAspectRatio(container) { + var computedStyle, width, height; + this.containerAspectRatio && (computedStyle = window.getComputedStyle(container, null), + width = parseFloat(computedStyle.getPropertyValue("width"), 10), + height = parseFloat(computedStyle.getPropertyValue("height"), 10), + utils.floatEquals(this.containerAspectRatio, width / height) || (console.warn("Incorrect aspect ratio of container", "#" + container.id, "detected:", computedStyle.getPropertyValue("width") + "(width)", "/", computedStyle.getPropertyValue("height") + "(height)", "=", width / height), + console.warn("Aspect ratio of should be", this.containerAspectRatio))) + } + , + module.exports = require + } + , { + "./path": 5, + "./utils": 9 + }], + 8: [function(require, module, exports) { + var Shape = require("./shape"); + var utils = require("./utils"); + var require = function Square(container, options) { + this._pathTemplate = "M 0,{halfOfStrokeWidth} L {width},{halfOfStrokeWidth} L {width},{width} L {halfOfStrokeWidth},{width} L {halfOfStrokeWidth},{strokeWidth}", + this._trailTemplate = "M {startMargin},{halfOfStrokeWidth} L {width},{halfOfStrokeWidth} L {width},{width} L {halfOfStrokeWidth},{width} L {halfOfStrokeWidth},{halfOfStrokeWidth}", + Shape.apply(this, arguments) + }; + ((require.prototype = new Shape).constructor = require).prototype._pathString = function _pathString(opts) { + var w = 100 - opts.strokeWidth / 2; + return utils.render(this._pathTemplate, { + width: w, + strokeWidth: opts.strokeWidth, + halfOfStrokeWidth: opts.strokeWidth / 2 + }) + } + , + require.prototype._trailString = function _trailString(opts) { + var w = 100 - opts.strokeWidth / 2; + return utils.render(this._trailTemplate, { + width: w, + strokeWidth: opts.strokeWidth, + halfOfStrokeWidth: opts.strokeWidth / 2, + startMargin: opts.strokeWidth / 2 - opts.trailWidth / 2 + }) + } + , + module.exports = require + } + , { + "./shape": 7, + "./utils": 9 + }], + 9: [function(require, module, exports) { + var PREFIXES = "Webkit Moz O ms".split(" "); + var FLOAT_COMPARISON_EPSILON = .001; + function extend(destination, source, recursive) { + for (var attrName in destination = destination || {}, + recursive = recursive || !1, + source = source || {}) { + var destVal, sourceVal; + source.hasOwnProperty(attrName) && (destVal = destination[attrName], + sourceVal = source[attrName], + recursive && isObject(destVal) && isObject(sourceVal) ? destination[attrName] = extend(destVal, sourceVal, recursive) : destination[attrName] = sourceVal) + } + return destination + } + function render(template, vars) { + var rendered = template; + for (var key in vars) { + var val, regExpString, key; + vars.hasOwnProperty(key) && (val = vars[key], + key = new RegExp("\\{" + key + "\\}","g"), + rendered = rendered.replace(key, val)) + } + return rendered + } + function setStyle(element, style, value) { + var elStyle = element.style; + for (var i = 0; i < PREFIXES.length; ++i) { + var prefix; + elStyle[PREFIXES[i] + capitalize(style)] = value + } + elStyle[style] = value + } + function setStyles(element, styles) { + forEachObject(styles, function(styleValue, styleName) { + null != styleValue && (isObject(styleValue) && !0 === styleValue.prefix ? setStyle(element, styleName, styleValue.value) : element.style[styleName] = styleValue) + }) + } + function capitalize(text) { + return text.charAt(0).toUpperCase() + text.slice(1) + } + function isString(obj) { + return "string" == typeof obj || obj instanceof String + } + function isFunction(obj) { + return "function" == typeof obj + } + function isArray(obj) { + return "[object Array]" === Object.prototype.toString.call(obj) + } + function isObject(obj) { + var type; + return !isArray(obj) && "object" == typeof obj && !!obj + } + function forEachObject(object, callback) { + for (var key in object) { + var val; + object.hasOwnProperty(key) && callback(object[key], key) + } + } + function floatEquals(a, b) { + return Math.abs(a - b) < .001 + } + function removeChildren(el) { + for (; el.firstChild; ) + el.removeChild(el.firstChild) + } + module.exports = { + extend: extend, + render: render, + setStyle: setStyle, + setStyles: setStyles, + capitalize: capitalize, + isString: isString, + isFunction: isFunction, + isObject: isObject, + forEachObject: forEachObject, + floatEquals: floatEquals, + removeChildren: removeChildren + } + } + , {}] + }, {}, [4])(4) + } + , + module.exports = f() + }); + function getCss() { + return "\n #h5branding-center {\n position: absolute;\n top: 45%;\n left: 50%;\n transform: translate(-50%, -20%);\n text-align: center;\n width: 100%;\n }\n #h5branding-wrapper {\n position: relative;\n z-index: 665;\n width: 150px;\n height: 150px;\n display:inline-block;\n margin: 35px 40px 96px 40px;\n }\n\n #h5branding-version {\n position: absolute;\n right: 10px;\n font-family: Helvetica, Arial, sans-serif;\n color: #ffffff;\n font-size: 0.8em;\n top: 10px;\n display: none;\n }\n\n #h5branding-wrapper > #h5branding-bar, #h5branding-wrapper > img {\n box-shadow: inset 10px 10px 20px 5px rgba(0, 0, 0, 0.5);\n border-radius: 50%;\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n }\n\n #h5branding-ad {\n position: relative;\n z-index: 667;\n border-radius: 5px;\n border: 3px solid white;\n background: rgba(256, 256, 256, 0.2);\n width: 336px;\n height: 280px;\n display: none;\n margin: 0px 10px 0px 10px;\n }\n\n #h5branding-wrapper > img {\n /* Needs appropriate vendor prefixes */\n box-sizing: border-box;\n\n /* This needs to be equal to strokeWidth */\n padding: 4%;\n }\n\n #h5branding-wrapper > img {\n border-radius: 50%;\n box-shadow: inset 0 5px 5px rgba(0, 0, 0, 0.5), 5px 5px 7px rgba(0, 0, 0, 0.3);\n }\n\n #h5branding-container {\n box-sizing: border-box;\n position: absolute;\n z-index: 664;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background-color: #000;\n overflow: hidden;\n }\n\n #h5branding-background {\n position: absolute;\n top: -25%;\n left: -25%;\n width: 150%;\n height: 150%;\n background-blend-mode: multiply;\n background-size: cover;\n filter: blur(40px) brightness(1.5);\n }\n\n @media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {\n /* IE10+ CSS styles go here */\n #h5branding-background {\n background-image: none !important;\n }\n }\n\n #h5branding-logo {\n position: absolute;\n margin: 0 auto;\n left: 0;\n right: 0;\n text-align: center;\n top: 10%;\n }\n\n #h5branding-logo > img {\n height: 150px;\n }\n\n #h5branding-title {\n position: absolute;\n width: 100%;\n background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.5) 50%, transparent);\n color: #fff;\n text-shadow: 0 0 1px rgba(0, 0, 0, 0.7);\n bottom:10%;\n padding: 15px 0;\n text-align: center;\n font-size: 18px;\n font-family: Helvetica, Arial, sans-serif;\n font-weight: bold;\n line-height: 100%;\n }\n\n #h5branding-button {\n /* border: 0; */\n padding: 10px 22px;\n border-radius: 5px;\n border: 3px solid white;\n background: linear-gradient(0deg, #dddddd, #ffffff);\n color: #222;\n text-transform: uppercase;\n text-shadow: 0 0 1px #fff;\n font-family: Helvetica, Arial, sans-serif;\n font-weight: bold;\n font-size: 18px;\n cursor: pointer;\n box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);\n display: none;\n width: 150px;\n position: absolute;\n top: 170px;\n margin: 0 auto;\n left: 0;\n right: 0;\n }\n\n @media (orientation: portrait) and (max-width: 1080px) {\n #h5branding-logo > img {\n height: initial;\n width:100%;\n }\n }\n\n @media (orientation: landscape) and (max-height: 640px) {\n #h5branding-title {\n display: none;\n }\n\n #h5branding-logo > img {\n height: 100px;\n }\n }\n\n @media (orientation: landscape) and (max-height: 460px) {\n #h5branding-title {\n display: none;\n }\n\n #h5branding-wrapper {\n width: 110px;\n height: 110px;\n margin: 0;\n }\n\n #h5branding-logo {\n top: 0;\n transform: scale(0.7, 0.7);\n }\n\n #h5branding-button {\n top: initial;\n width: 110px;\n font-size: 14px;\n position: absolute;\n top: 140px;\n left: 0;\n right: 0;\n }\n\n #h5branding-ad {\n display: none !important;\n }\n }\n\n @media (orientation: portrait) and (max-width: 250px) {\n #h5branding-logo {\n top: 2%;\n }\n }\n\n @media (orientation: landscape) and (max-width: 330px) {\n #h5branding-button {\n top: 120px;\n }\n\n #h5branding-logo > img {\n height: 70px;\n }\n }\n\n @media (max-width: 600px) and (max-height: 850px) {\n #h5branding-ad {\n display: none !important;\n }\n }\n\n @media (max-width: 600px) and (max-height: 1100px) {\n #h5branding-center {\n top: 40%;\n }\n\n #h5branding-title {\n bottom: 5%\n }\n }\n\n @media (max-width: 600px) and (max-height: 900px) {\n #h5branding-title {\n display: none\n }\n }\n\n @media (orientation: landscape) and (min-width: 800px) {\n #h5branding-wrapper {\n margin-left: 120px;\n margin-right: 120px;\n }\n }\n\n " + } + function getHtml(gameLogo, gameTitle) { + return '\n \n \n \n \n \n\n\n\n\n \n \n
').concat(gameTitle, "\n ") + } + var BrandingDomain = function() { + function SplashLoader(options) { + this.circleLoader = null, + this.loaded = !1, + this.showPlayButton = "undefined" == typeof playBtn || playBtn, + // this.showPlayButton = 0, + this.progress = 0, + this.options = { + gameId: "12346", + gameTitle: "Place Holder", + gameName: "place-holder", + libs: [], + version: "dev", + barColor: "white", + gaMeasurementId: "none" + }, + this.options.gameId = options.gameId, + this.options.gameTitle = options.gameTitle, + this.options.version = options.version, + this.options.barColor = options.barColor || this.options.barColor, + this.options.libs = options.libs, + this.options.gaMeasurementId = options.gaMeasurementId + } + return SplashLoader.getInstance = function(options) { + if (!SplashLoader.instance) { + if (!options) + throw new Error("Can not create new SplashLoader instance without options!"); + SplashLoader.instance = new SplashLoader(options) + } + return SplashLoader.instance + } + , + SplashLoader.prototype.create = function() { + return __awaiter(this, void 0, void 0, function() { + var css, html, head, style, css, head, style; + return __generator(this, function(_a) { + switch (_a.label) { + case 0: + return css = getCss(), + html = getHtml(this.getGameLogoUrl(), this.options.gameTitle), + head = document.head || document.getElementsByTagName("head")[0], + (style = document.createElement("style")).type = "text/css", + style.styleSheet ? style.styleSheet.cssText = css : style.appendChild(document.createTextNode(css)), + head.appendChild(style), + (css = document.createElement("div")).innerHTML = html, + css.id = "h5branding-container", + (head = document.body || document.getElementsByTagName("body")[0]).insertBefore(css, head.firstChild), + this.circleLoader = new progressbar.Circle("#h5branding-bar",{ + strokeWidth: 3, + color: this.options.barColor + }), + (style = document.getElementById("h5branding-version")) && (style.innerHTML = this.options.version), + [4, this.loadLibs()]; + case 1: + return _a.sent(), + [4, Utils.loadHost()]; + case 2: + return _a.sent(), + [4, this.loadBranding()]; + case 3: + return _a.sent(), + this.loaded = !0, + [2] + } + }) + }) + } + , + SplashLoader.prototype.loadBranding = function() { + return __awaiter(this, void 0, void 0, function() { + var background, background, logo; + return __generator(this, function(_a) { + switch (_a.label) { + case 0: + return [4, Branding.preload(Date.now().toString())]; + case 1: + return _a.sent(), + (background = document.getElementById("h5branding-background")) && (background.style.backgroundColor = Branding.brandingBackgroundColor), + (background = document.getElementById("h5branding-logo")) && Utils.getBrandingDomain() !== exports.BrandingDomain.Neutral && ((logo = document.createElement("img")).src = Branding.brandingLogoUrl.replace("_small", ""), + background.appendChild(logo)), + [2] + } + }) + }) + } + , + SplashLoader.prototype.loadLibs = function() { + var _this = this; + var scripts = this.options.libs.map(function(url, index) { + return Loader.instance.loadScript(url, !0, function() { + _this.setScriptloadProgress(scripts.length, index + 1) + }) + }); + return Promise.all(scripts) + } + , + Object.defineProperty(SplashLoader.prototype, "bannerAllowed", { + get: function() { + var width = document.body.clientWidth; + var height = document.body.clientHeight; + return this.progress < 100 && !(height < width && height <= 460) && !(width < 600 && height < 850) + }, + enumerable: !1, + configurable: !0 + }), + SplashLoader.prototype.showBanner = function() { + var banner; + return this.bannerAllowed && (banner = document.getElementById("h5branding-ad")) ? (banner.style.display = "inline-flex", + banner) : null + } + , + SplashLoader.prototype.setScriptloadProgress = function(maxScripts, increment) { + var progress; + this.circleLoader.animate(.3 * increment / maxScripts, null, function() {}) + } + , + SplashLoader.prototype.setLoadProgress = function(progress) { + var _this = this; + var button_1; + this.loaded && (100 === (this.progress = progress = 30 + .7 * progress) ? (button_1 = document.querySelector("#h5branding-button"), + this.circleLoader.animate(1, null, function() { + h5branding.SplashLoader.getInstance().onPlayButtonClick(); + !Utils.inGDGameZone() && button_1 && !0 === _this.showPlayButton ? button_1.style.display = "block" : !Utils.inGDGameZone() && !1 !== _this.showPlayButton || _this.onPlayButtonClick() + })) : this.circleLoader.animate(progress / 100, null, function() {})) + } + , + SplashLoader.prototype.setButtonCallback = function(cb) { + this.buttonCallback = cb + } + , + SplashLoader.prototype.onPlayButtonClick = function() { + this.buttonCallback && this.buttonCallback() + } + , + SplashLoader.prototype.destroy = function() { + var element = document.querySelector("#h5branding-container"); + null !== element && null !== element.parentNode && element.parentNode.removeChild(element) + } + , + SplashLoader.prototype.getGameLogoUrl = function() { + return "assets/icon.jpeg" + } + , + SplashLoader + }(); + exports.Branding = Branding, + exports.Domain = Domain, + exports.Hosts = Hosts, + exports.SplashLoader = BrandingDomain, + exports.Utils = Utils, + Object.defineProperty(exports, "__esModule", { + value: !0 + }) +}), +(()=>{ + var __webpack_modules__ = { + 34: module=>{ + "use strict"; + var has = Object.prototype.hasOwnProperty + , prefix = "~"; + function Events() {} + function EE(fn, context, once) { + this.fn = fn, + this.context = context, + this.once = once || !1 + } + function addListener(emitter, event, fn, context, once) { + if ("function" != typeof fn) + throw new TypeError("The listener must be a function"); + var fn = new EE(fn,context || emitter,once) + , context = prefix ? prefix + event : event; + return emitter._events[context] ? emitter._events[context].fn ? emitter._events[context] = [emitter._events[context], fn] : emitter._events[context].push(fn) : (emitter._events[context] = fn, + emitter._eventsCount++), + emitter + } + function clearEvent(emitter, evt) { + 0 == --emitter._eventsCount ? emitter._events = new Events : delete emitter._events[evt] + } + function EventEmitter() { + this._events = new Events, + this._eventsCount = 0 + } + Object.create && (Events.prototype = Object.create(null), + (new Events).__proto__ || (prefix = !1)), + EventEmitter.prototype.eventNames = function eventNames() { + var names = [], events, name; + if (0 === this._eventsCount) + return names; + for (name in events = this._events) + has.call(events, name) && names.push(prefix ? name.slice(1) : name); + return Object.getOwnPropertySymbols ? names.concat(Object.getOwnPropertySymbols(events)) : names + } + , + EventEmitter.prototype.listeners = function listeners(event) { + var event = prefix ? prefix + event : event + , handlers = this._events[event]; + if (!handlers) + return []; + if (handlers.fn) + return [handlers.fn]; + for (var i = 0, l = handlers.length, ee = new Array(l); i < l; i++) + ee[i] = handlers[i].fn; + return ee + } + , + EventEmitter.prototype.listenerCount = function listenerCount(event) { + var event = prefix ? prefix + event : event + , event = this._events[event]; + return event ? event.fn ? 1 : event.length : 0 + } + , + EventEmitter.prototype.emit = function emit(event, a1, a2, a3, a4, a5) { + var evt = prefix ? prefix + event : event; + if (!this._events[evt]) + return !1; + var listeners = this._events[evt], len = arguments.length, args, i; + if (listeners.fn) { + switch (listeners.once && this.removeListener(event, listeners.fn, void 0, !0), + len) { + case 1: + return listeners.fn.call(listeners.context), + !0; + case 2: + return listeners.fn.call(listeners.context, a1), + !0; + case 3: + return listeners.fn.call(listeners.context, a1, a2), + !0; + case 4: + return listeners.fn.call(listeners.context, a1, a2, a3), + !0; + case 5: + return listeners.fn.call(listeners.context, a1, a2, a3, a4), + !0; + case 6: + return listeners.fn.call(listeners.context, a1, a2, a3, a4, a5), + !0 + } + for (i = 1, + args = new Array(len - 1); i < len; i++) + args[i - 1] = arguments[i]; + listeners.fn.apply(listeners.context, args) + } else { + var length = listeners.length, j; + for (i = 0; i < length; i++) + switch (listeners[i].once && this.removeListener(event, listeners[i].fn, void 0, !0), + len) { + case 1: + listeners[i].fn.call(listeners[i].context); + break; + case 2: + listeners[i].fn.call(listeners[i].context, a1); + break; + case 3: + listeners[i].fn.call(listeners[i].context, a1, a2); + break; + case 4: + listeners[i].fn.call(listeners[i].context, a1, a2, a3); + break; + default: + if (!args) + for (j = 1, + args = new Array(len - 1); j < len; j++) + args[j - 1] = arguments[j]; + listeners[i].fn.apply(listeners[i].context, args) + } + } + return !0 + } + , + EventEmitter.prototype.on = function on(event, fn, context) { + return addListener(this, event, fn, context, !1) + } + , + EventEmitter.prototype.once = function once(event, fn, context) { + return addListener(this, event, fn, context, !0) + } + , + EventEmitter.prototype.removeListener = function removeListener(event, fn, context, once) { + var event = prefix ? prefix + event : event; + if (this._events[event]) + if (fn) { + var listeners = this._events[event]; + if (listeners.fn) + listeners.fn !== fn || once && !listeners.once || context && listeners.context !== context || clearEvent(this, event); + else { + for (var i = 0, events = [], length = listeners.length; i < length; i++) + (listeners[i].fn !== fn || once && !listeners[i].once || context && listeners[i].context !== context) && events.push(listeners[i]); + events.length ? this._events[event] = 1 === events.length ? events[0] : events : clearEvent(this, event) + } + } else + clearEvent(this, event); + return this + } + , + EventEmitter.prototype.removeAllListeners = function removeAllListeners(event) { + var event; + return event ? (event = prefix ? prefix + event : event, + this._events[event] && clearEvent(this, event)) : (this._events = new Events, + this._eventsCount = 0), + this + } + , + EventEmitter.prototype.off = EventEmitter.prototype.removeListener, + EventEmitter.prototype.addListener = EventEmitter.prototype.on, + EventEmitter.prefixed = prefix, + module.exports = EventEmitter.EventEmitter = EventEmitter + } + , + 729: (module,exports,__webpack_require__)=>{ + var __webpack_require__, exports; + __webpack_require__ = [__webpack_require__, exports, __webpack_require__(548), __webpack_require__(498)], + void 0 !== (exports = function(require, exports, AdWrapper_1, types_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: !0 + }), + exports.AdType = exports.AdEvents = exports.ProviderTypes = exports.GameDistributionBannerSize = exports.GameDistributionAlignment = exports.AdWrapper = void 0, + Object.defineProperty(exports, "AdWrapper", { + enumerable: !0, + get: function() { + return AdWrapper_1.AdWrapper + } + }), + Object.defineProperty(exports, "GameDistributionAlignment", { + enumerable: !0, + get: function() { + return types_1.GameDistributionAlignment + } + }), + Object.defineProperty(exports, "GameDistributionBannerSize", { + enumerable: !0, + get: function() { + return types_1.GameDistributionBannerSize + } + }), + Object.defineProperty(exports, "ProviderTypes", { + enumerable: !0, + get: function() { + return types_1.ProviderTypes + } + }), + Object.defineProperty(exports, "AdEvents", { + enumerable: !0, + get: function() { + return types_1.AdEvents + } + }), + Object.defineProperty(exports, "AdType", { + enumerable: !0, + get: function() { + return types_1.AdType + } + }) + } + .apply(exports, __webpack_require__)) && (module.exports = exports) + } + , + 470: (module,exports,__webpack_require__)=>{ + var __webpack_require__, exports; + __webpack_require__ = [__webpack_require__, exports, __webpack_require__(12)], + void 0 !== (exports = function(require, exports, shared_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: !0 + }), + exports.JioAdProvider = void 0; + var JioAdProvider = function() { + function JioAdProvider(config) { + this.adsEnabled = !1; + var adSpotInterstitial = config.adSpotInterstitial + , adSpotRewardedVideo = config.adSpotRewardedVideo + , config = config.gamePackage; + try { + window.adSpotInterstitial = adSpotInterstitial, + window.adSpotRewardedVideo = adSpotRewardedVideo, + window.isAdReady = !1, + window.isRVReady = !1, + window.isINSReady = !1, + window.gamePackage = config + } catch (err) { + console.log("Could not initialize Jio Games SDK", err) + } + } + return JioAdProvider.prototype.setManager = function(manager) { + this.adManager = manager + } + , + JioAdProvider.prototype.showAd = function(adType, adSpotKey) { + var _this = this; + if (void 0 === adType && (adType = shared_1.AdType.interstitial), + this.adAvailable(adType)) { + if (window.hasOwnProperty("onAdView") && (window.onAdView, + 1) && (window.onAdView = function(cbAdSpot) { + setTimeout(function() { + console.log("JioGames ads: onAdView " + cbAdSpot), + _this.resumeGameplay() + }, 2e3) + } + ), + window.hasOwnProperty("onAdClosed") && (window.onAdClosed, + 1) && (window.onAdClosed = function(data, pIsVideoCompleted, pIsEligibleForReward) { + var localData = data.split(","); + var data = data; + var pIsVideoCompleted = pIsVideoCompleted; + var pIsEligibleForReward = pIsEligibleForReward; + null != localData && 1 < localData.length && (data = localData[0].trim(), + pIsVideoCompleted = Boolean(localData[1].trim()), + pIsEligibleForReward = Boolean(localData[2].trim())), + data === window.adSpotInterstitial && (window.isAdReady = !1), + data === window.adSpotRewardedVideo && (window.isRVReady = !1, + pIsEligibleForReward) && pIsVideoCompleted && _this.adManager.emit(shared_1.AdEvents.AD_REWARDED), + setTimeout(function() { + console.log("JioGames ads: onAdClose"), + _this.resumeGameplay() + }, 3e3) + } + ), + adType === shared_1.AdType.interstitial && window.hasOwnProperty("showAdMidRoll") && (window.showAdMidRoll, + 1)) + try { + window.adSpotInterstitial = adSpotKey, + window.showAdMidRoll(adSpotKey, window.gamePackage) + } catch (e) { + this.resumeGameplay(), + console.log("Error caching midroll ads") + } + if (adType === shared_1.AdType.rewarded && window.hasOwnProperty("showAdRewardedVideo") && (window.showAdRewardedVideo, + 1)) + try { + window.adSpotRewardedVideo = adSpotKey, + window.showAdRewardedVideo(adSpotKey, window.gamePackage) + } catch (e) { + this.resumeGameplay(), + console.log("Error caching rewarded ads") + } + } else + console.log("Cannot show Jio ads; Ads were not preloaded or failed to load. Resuming game"), + this.resumeGameplay() + } + , + JioAdProvider.prototype.resumeGameplay = function() { + this.adManager.emit(shared_1.AdEvents.CONTENT_RESUMED) + } + , + JioAdProvider.prototype.preloadAd = function(adType, adSpotKey) { + if (void 0 === adType && (adType = shared_1.AdType.interstitial), + console.log("Calling cache Jio Ad"), + adType === shared_1.AdType.interstitial && window.hasOwnProperty("cacheAdMidRoll") && (window.cacheAdMidRoll, + 1)) + try { + window.adSpotInterstitial = adSpotKey, + window.cacheAdMidRoll(adSpotKey, window.gamePackage) + } catch (e) { + console.log("Error caching midroll ads") + } + if (adType === shared_1.AdType.rewarded && window.hasOwnProperty("cacheAdRewardedVideo") && (window.cacheAdRewardedVideo, + 1)) + try { + window.adSpotRewardedVideo = adSpotKey, + window.cacheAdRewardedVideo(adSpotKey, window.gamePackage) + } catch (e) { + console.log("Error cacheAdRewardedVideo of Jio rewarded ads") + } + window.hasOwnProperty("onAdPrepared") && (window.onAdPrepared, + 1) && (window.onAdPrepared = function(preparedAdSpotKey) { + try { + preparedAdSpotKey === window.adSpotInterstitial && (window.isAdReady = !0), + preparedAdSpotKey === window.adSpotRewardedVideo && (window.isRVReady = !0) + } catch (e) { + console.log("Error onAdPrepared for Jio rewarded ads") + } + } + ), + window.hasOwnProperty("onAdFailedToLoad") && (window.onAdFailedToLoad, + 1) && (window.onAdFailedToLoad = function(data, pDescription) { + var localData = data.split(","); + var failedAdSpotKey = data; + var pDescription = pDescription; + null != localData && 1 < localData.length && (failedAdSpotKey = localData[0].trim(), + pDescription = localData[1].trim()); + try { + failedAdSpotKey === window.adSpotInterstitial && (window.isAdReady = !1), + failedAdSpotKey === window.adSpotRewardedVideo && (window.isRVReady = !1), + console.log("JioGames: onAdFailedToLoad => ".concat(data.toString(), " => ").concat(pDescription)) + } catch (e) { + console.log("Error loading Jio ads") + } + } + ) + } + , + JioAdProvider.prototype.destroyAd = function() {} + , + JioAdProvider.prototype.hideAd = function() {} + , + JioAdProvider.prototype.adAvailable = function(adType) { + return !0 + } + , + JioAdProvider + }(); + exports.JioAdProvider = JioAdProvider + } + .apply(exports, __webpack_require__)) && (module.exports = exports) + } + , + 766: (module,exports,__webpack_require__)=>{ + var __webpack_require__, exports; + __webpack_require__ = [__webpack_require__, exports, __webpack_require__(470)], + void 0 !== (exports = function(require, exports, JioAdProvider_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: !0 + }), + exports.JioAdProvider = void 0, + Object.defineProperty(exports, "JioAdProvider", { + enumerable: !0, + get: function() { + return JioAdProvider_1.JioAdProvider + } + }) + } + .apply(exports, __webpack_require__)) && (module.exports = exports) + } + , + 110: (module,exports,__webpack_require__)=>{ + var __webpack_require__, exports; + __webpack_require__ = [__webpack_require__, exports, __webpack_require__(12)], + void 0 !== (exports = function(require, exports, shared_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: !0 + }), + exports.AdFreeUntrackedProvider = void 0; + var AdFreeUntrackedProvider = function() { + function AdFreeUntrackedProvider() { + this.adsEnabled = !1 + } + return AdFreeUntrackedProvider.prototype.setManager = function(manager) { + this.adManager = manager + } + , + AdFreeUntrackedProvider.prototype.showAd = function(adType) { + void 0 === adType && (adType = shared_1.AdType.interstitial), + this.resumeGameplay() + } + , + AdFreeUntrackedProvider.prototype.resumeGameplay = function() { + this.adManager.emit(shared_1.AdEvents.CONTENT_RESUMED) + } + , + AdFreeUntrackedProvider.prototype.preloadAd = function(adType) { + void 0 === adType && (adType = shared_1.AdType.interstitial) + } + , + AdFreeUntrackedProvider.prototype.destroyAd = function() {} + , + AdFreeUntrackedProvider.prototype.hideAd = function() {} + , + AdFreeUntrackedProvider.prototype.adAvailable = function(adType) { + return !0 + } + , + AdFreeUntrackedProvider + }(); + exports.AdFreeUntrackedProvider = AdFreeUntrackedProvider + } + .apply(exports, __webpack_require__)) && (module.exports = exports) + } + , + 670: (module,exports,__webpack_require__)=>{ + var __webpack_require__, exports; + __webpack_require__ = [__webpack_require__, exports, __webpack_require__(12)], + void 0 !== (exports = function(require, exports, shared_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: !0 + }), + exports.DummyProvider = void 0; + var DummyProvider = function() { + function DummyProvider() { + this.adsEnabled = !1 + } + return DummyProvider.prototype.setManager = function(manager) { + this.adManager = manager, + this.adsEnabled = !0 + } + , + DummyProvider.prototype.showAd = function(adType) { + var _this = this; + void 0 === adType && (adType = shared_1.AdType.interstitial), + console.log("[Dummy]: Ad type requested = ", adType === shared_1.AdType.interstitial ? "interstitial" : "rewarded"), + this.adManager.emit(shared_1.AdEvents.CONTENT_PAUSED); + var num = Math.floor(2 * Math.random()); + console.log("[Dummy]:Ad Available =>", 0 === num), + 1 === num ? (console.log("[Dummy]:AD ERROR / UNAVAILABLE"), + setTimeout(function() { + console.log("[Dummy]: Resuming game"), + _this.resumeGameplay() + }, 200)) : (adType === shared_1.AdType.rewarded && setTimeout(function() { + console.log("[Dummy]: Reward Claimed for rewarded ad"), + _this.adManager.emit(shared_1.AdEvents.AD_REWARDED) + }, 100), + setTimeout(function() { + console.log("[Dummy]: Finished watching ad"), + console.log("[Dummy]: Resuming game"), + _this.resumeGameplay() + }, 200)) + } + , + DummyProvider.prototype.resumeGameplay = function() { + this.adManager.emit(shared_1.AdEvents.CONTENT_RESUMED) + } + , + DummyProvider.prototype.preloadAd = function(adType) { + void 0 === adType && (adType = shared_1.AdType.interstitial) + } + , + DummyProvider.prototype.destroyAd = function() {} + , + DummyProvider.prototype.hideAd = function() {} + , + DummyProvider.prototype.adAvailable = function(adType) { + return !0 + } + , + DummyProvider + }(); + exports.DummyProvider = DummyProvider + } + .apply(exports, __webpack_require__)) && (module.exports = exports) + } + , + 474: (module,exports,__webpack_require__)=>{ + var __webpack_require__, exports; + __webpack_require__ = [__webpack_require__, exports, __webpack_require__(12)], + void 0 !== (exports = function(require, exports, shared_1) { + "use strict"; + var GameDistributionAdType; + Object.defineProperty(exports, "__esModule", { + value: !0 + }), + exports.GameDistribution = exports.GameDistributionAdType = void 0, + function(GameDistributionAdType) { + GameDistributionAdType.interstitial = "interstitial", + GameDistributionAdType.rewarded = "rewarded", + GameDistributionAdType.display = "display" + }(GameDistributionAdType = exports.GameDistributionAdType || (exports.GameDistributionAdType = {})); + var GameDistribution = function() { + function GameDistribution(gameId) { + var _this = this; + if (this.adsEnabled = !1, + this.hasRewarded = !1, + this.adShowing = !1, + !gameId) + throw new Error("Valid game id is not provided for GD Ad provider"); + var gameId, s, id, fjs; + window.GD_OPTIONS = { + gameId: gameId, + advertisementSettings: { + autoplay: !1 + }, + onEvent: function(event) { + switch (event.name) { + case "SDK_GAME_PAUSE": + _this.adManager.emit(shared_1.AdEvents.CONTENT_PAUSED); + break; + case "SDK_ERROR": + _this.adManager.emit(shared_1.AdEvents.CONTENT_RESUMED); + break; + case "SDK_READY": + _this.sdkLoaded(); + break; + case "SDK_REWARDED_WATCH_COMPLETE": + _this.adManager.emit(shared_1.AdEvents.AD_REWARDED), + _this.hasRewarded = !1; + break; + default: + break + } + } + }, + gameId = document, + s = "script", + id = "gamedistribution-jssdk", + fjs = gameId.getElementsByTagName(s)[0], + gameId.getElementById(id) || ((gameId = gameId.createElement(s)).id = id, + gameId.src = "patch/js/gd-sdk.js?html5.api.gamedistribution.com/main.min.js", + fjs.parentNode && fjs.parentNode.insertBefore(gameId, fjs)) + } + return GameDistribution.prototype.setManager = function(manager) { + this.adManager = manager, + this.adManager.emit(shared_1.AdEvents.AD_PROVIDER_LOADED) + } + , + GameDistribution.prototype.sdkLoaded = function() { + this.adsEnabled = !0 + } + , + GameDistribution.prototype.showAd = function(adType) { + var _this = this; + this.adsEnabled ? void 0 === window.gdsdk || window.gdsdk && void 0 === window.gdsdk.showAd ? (this.adsEnabled = !1, + this.adManager.emit(shared_1.AdEvents.CONTENT_RESUMED)) : window.gdsdk.showAd(adType === shared_1.AdType.rewarded ? GameDistributionAdType.rewarded : GameDistributionAdType.interstitial).then(function() { + _this.adManager.emit(shared_1.AdEvents.CONTENT_RESUMED) + }).catch(function() { + adType === shared_1.AdType.rewarded && _this.hasRewarded && (_this.hasRewarded = !1), + _this.adManager.emit(shared_1.AdEvents.CONTENT_RESUMED) + }) : this.adManager.emit(shared_1.AdEvents.CONTENT_RESUMED) + } + , + GameDistribution.prototype.preloadAd = function(adType) { + var _this = this; + !this.hasRewarded && this.adsEnabled && adType === shared_1.AdType.rewarded && (console.log("preloading ad"), + window.gdsdk.preloadAd(GameDistributionAdType.rewarded).then(function() { + _this.hasRewarded = !0, + _this.adManager.emit(shared_1.AdEvents.AD_LOADED, adType) + })) + } + , + GameDistribution.prototype.adAvailable = function(adType) { + return adType !== shared_1.AdType.rewarded || this.hasRewarded + } + , + GameDistribution.prototype.destroyAd = function() {} + , + GameDistribution.prototype.hideAd = function() {} + , + GameDistribution + }(); + exports.GameDistribution = GameDistribution + } + .apply(exports, __webpack_require__)) && (module.exports = exports) + } + , + 444: (module,exports,__webpack_require__)=>{ + var __webpack_require__, exports; + __webpack_require__ = [__webpack_require__, exports, __webpack_require__(474), __webpack_require__(869)], + void 0 !== (exports = function(require, exports, GameDistribution_1, gamedistribution_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: !0 + }), + exports.GameDistributionBanner = void 0; + var GameDistributionBanner = function() { + function GameDistributionBanner() { + this.scaleFactor = 1, + this.offsetX = 0, + this.offsetY = 0, + this.element = document.createElement("div"), + this.element.style.position = "absolute", + this.element.style.top = "0px", + this.element.style.left = "0px", + this.element.id = "banner-".concat(Date.now()).concat(1e7 * Math.random() | 0), + document.body.appendChild(this.element) + } + return GameDistributionBanner.prototype.loadBanner = function() { + return void 0 === window.gdsdk ? Promise.reject("GD Sdk not available, probably due to adblocker") : window.gdsdk.showAd(GameDistribution_1.GameDistributionAdType.display, { + containerId: this.element.id + }) + } + , + GameDistributionBanner.prototype.destroy = function() { + document.body.removeChild(this.element), + this.resizeListener && window.removeEventListener("resize", this.resizeListener), + delete this.element, + delete this.parent, + delete this.alignment + } + , + GameDistributionBanner.prototype.alignIn = function(element, position) { + var _this = this; + this.parent ? console.warn("Banner already aligned, ignoring...") : (this.parent = element, + this.alignment = position, + this.resizeListener = function() { + return _this.resize() + } + , + window.addEventListener("resize", this.resizeListener), + this.resize()) + } + , + GameDistributionBanner.prototype.setOffset = function(x, y) { + void 0 === y && (y = 0), + this.offsetX = x = void 0 === x ? 0 : x, + this.offsetY = y, + this.resize() + } + , + GameDistributionBanner.prototype.resize = function() { + if (this.parent) { + var parentBoundingRect = this.parent.getBoundingClientRect(); + switch (this.alignment) { + case gamedistribution_1.GameDistributionAlignment.TopLeft: + this.position(parentBoundingRect.left, parentBoundingRect.top); + break; + case gamedistribution_1.GameDistributionAlignment.TopCenter: + this.position(parentBoundingRect.left + parentBoundingRect.width / 2 - this.width * this.scaleFactor / 2, parentBoundingRect.top); + break; + case gamedistribution_1.GameDistributionAlignment.TopRight: + this.position(parentBoundingRect.left + parentBoundingRect.width - this.width * this.scaleFactor, parentBoundingRect.top); + break; + case gamedistribution_1.GameDistributionAlignment.CenterLeft: + this.position(parentBoundingRect.left, parentBoundingRect.top + parentBoundingRect.height / 2 - this.height * this.scaleFactor / 2); + break; + case gamedistribution_1.GameDistributionAlignment.Center: + this.position(parentBoundingRect.left + parentBoundingRect.width / 2 - this.width * this.scaleFactor / 2, parentBoundingRect.top + parentBoundingRect.height / 2 - this.height * this.scaleFactor / 2); + break; + case gamedistribution_1.GameDistributionAlignment.CenterRight: + this.position(parentBoundingRect.left + parentBoundingRect.width - this.width * this.scaleFactor, parentBoundingRect.top + parentBoundingRect.height / 2 - this.height * this.scaleFactor / 2); + break; + case gamedistribution_1.GameDistributionAlignment.BottomLeft: + this.position(parentBoundingRect.left, parentBoundingRect.top + parentBoundingRect.height - this.height * this.scaleFactor); + break; + case gamedistribution_1.GameDistributionAlignment.BottomCenter: + this.position(parentBoundingRect.left + parentBoundingRect.width / 2 - this.width * this.scaleFactor / 2, parentBoundingRect.top + parentBoundingRect.height - this.height * this.scaleFactor); + break; + case gamedistribution_1.GameDistributionAlignment.BottomRight: + this.position(parentBoundingRect.left + parentBoundingRect.width - this.width * this.scaleFactor, parentBoundingRect.top + parentBoundingRect.height - this.height * this.scaleFactor); + break + } + } + } + , + GameDistributionBanner.prototype.setSize = function(size) { + var width; + var height; + switch (size) { + default: + case gamedistribution_1.GameDistributionBannerSize.LargeRectangle: + width = 336, + height = 280; + break; + case gamedistribution_1.GameDistributionBannerSize.MediumRectangle: + width = 300, + height = 250; + break; + case gamedistribution_1.GameDistributionBannerSize.Billboard: + width = 970, + height = 250; + break; + case gamedistribution_1.GameDistributionBannerSize.Leaderboard: + width = 728, + height = 90; + break; + case gamedistribution_1.GameDistributionBannerSize.Skyscraper: + width = 120, + height = 600; + break; + case gamedistribution_1.GameDistributionBannerSize.WideSkyscraper: + width = 160, + height = 600; + break + } + this.width = width, + this.height = height, + this.element.style.width = "".concat(width, "px"), + this.element.style.height = "".concat(height, "px") + } + , + GameDistributionBanner.prototype.position = function(x, y) { + this.element.style.left = "".concat(x + this.offsetX, "px"), + this.element.style.top = "".concat(y + this.offsetY, "px") + } + , + GameDistributionBanner.prototype.scale = function(factor) { + this.element.style.transformOrigin = "left top", + this.scaleFactor = factor, + this.element.style.transform = "scale(".concat(factor, ")") + } + , + GameDistributionBanner + }(); + exports.GameDistributionBanner = GameDistributionBanner + } + .apply(exports, __webpack_require__)) && (module.exports = exports) + } + , + 654: (module,exports,__webpack_require__)=>{ + var __webpack_require__, exports; + __webpack_require__ = [__webpack_require__, exports, __webpack_require__(12)], + void 0 !== (exports = function(require, exports, shared_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: !0 + }), + exports.YandexAdProvider = void 0; + var YandexAdProvider = function() { + function YandexAdProvider(partnerID) { + var _this = this; + var d, s, id, fjs; + this.adsEnabled = !1, + d = document, + s = "script", + id = "yandex-jssdk", + fjs = d.getElementsByTagName(s)[0], + d.getElementById(id) || ((d = d.createElement(s)).addEventListener("load", function() { + _this.initialize() + }), + d.id = id, + d.src = "//yandex.ru/games/sdk/v2", + fjs.parentNode.insertBefore(d, fjs)) + } + return YandexAdProvider.prototype.setManager = function(manager) { + this.adManager = manager + } + , + YandexAdProvider.prototype.showAd = function(adType) { + var _this = this; + var _a, _a, _a, adType, _a, _a, adType, _a; + void 0 === adType && (adType = shared_1.AdType.interstitial), + this.adsEnabled && window.hasOwnProperty("_YaSDK") ? adType === shared_1.AdType.interstitial && null != (_a = null == (_a = window._YaSDK) ? void 0 : _a.adv) && _a.adOpened || (adType === shared_1.AdType.rewarded ? null != (_a = null == (adType = null == (_a = window._YaSDK) ? void 0 : _a.adv) ? void 0 : adType.showRewardedVideo) && _a.call(adType, { + callbacks: { + onOpen: function() { + console.log("Video ad open."), + _this.adManager.emit(shared_1.AdEvents.CONTENT_PAUSED) + }, + onRewarded: function() { + console.log("Rewarded!"), + _this.adManager.emit(shared_1.AdEvents.AD_REWARDED) + }, + onClose: function() { + console.log("Video ad closed."), + _this.resumeGameplay() + }, + onError: function(e) { + console.log("Error while open video ad:", e), + _this.resumeGameplay() + } + } + }) : null != (_a = null == (adType = null == (_a = window._YaSDK) ? void 0 : _a.adv) ? void 0 : adType.showFullscreenAdv) && _a.call(adType, { + callbacks: { + onOpen: function() { + console.log("Video ad open."), + _this.adManager.emit(shared_1.AdEvents.CONTENT_PAUSED) + }, + onClose: function() { + _this.resumeGameplay() + }, + onError: function() { + _this.resumeGameplay() + } + } + })) : this.resumeGameplay() + } + , + YandexAdProvider.prototype.initialize = function() { + var _this = this; + window.YaGames.init().then(function(ysdk) { + window._YaSDK = ysdk, + _this.adsEnabled = !0 + }) + } + , + YandexAdProvider.prototype.resumeGameplay = function() { + this.adManager.emit(shared_1.AdEvents.CONTENT_RESUMED) + } + , + YandexAdProvider.prototype.preloadAd = function(adType) { + void 0 === adType && (adType = shared_1.AdType.interstitial), + this.adManager.emit(shared_1.AdEvents.AD_LOADED, adType) + } + , + YandexAdProvider.prototype.destroyAd = function() {} + , + YandexAdProvider.prototype.hideAd = function() {} + , + YandexAdProvider.prototype.adAvailable = function(adType) { + return !0 + } + , + YandexAdProvider + }(); + exports.YandexAdProvider = YandexAdProvider + } + .apply(exports, __webpack_require__)) && (module.exports = exports) + } + , + 563: (module,exports,__webpack_require__)=>{ + var __webpack_require__, exports; + __webpack_require__ = [__webpack_require__, exports, __webpack_require__(110), __webpack_require__(670), __webpack_require__(474), __webpack_require__(444), __webpack_require__(654)], + void 0 !== (exports = function(require, exports, AdFreeUntrackedProvider_1, DummyProvider_1, GameDistribution_1, GameDistributionBanner_1, YandexAdProvider_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: !0 + }), + exports.YandexAdProvider = exports.GameDistributionBanner = exports.GameDistribution = exports.DummyProvider = exports.AdFreeUntrackedProvider = void 0, + Object.defineProperty(exports, "AdFreeUntrackedProvider", { + enumerable: !0, + get: function() { + return AdFreeUntrackedProvider_1.AdFreeUntrackedProvider + } + }), + Object.defineProperty(exports, "DummyProvider", { + enumerable: !0, + get: function() { + return DummyProvider_1.DummyProvider + } + }), + Object.defineProperty(exports, "GameDistribution", { + enumerable: !0, + get: function() { + return GameDistribution_1.GameDistribution + } + }), + Object.defineProperty(exports, "GameDistributionBanner", { + enumerable: !0, + get: function() { + return GameDistributionBanner_1.GameDistributionBanner + } + }), + Object.defineProperty(exports, "YandexAdProvider", { + enumerable: !0, + get: function() { + return YandexAdProvider_1.YandexAdProvider + } + }) + } + .apply(exports, __webpack_require__)) && (module.exports = exports) + } + , + 869: (module,exports,__webpack_require__)=>{ + var __WEBPACK_AMD_DEFINE_ARRAY__, __webpack_require__; + void 0 !== (__webpack_require__ = function(require, exports) { + "use strict"; + var GameDistributionBannerSize; + var GameDistributionAlignment; + Object.defineProperty(exports, "__esModule", { + value: !0 + }), + exports.GameDistributionAlignment = exports.GameDistributionBannerSize = void 0, + function(GameDistributionBannerSize) { + GameDistributionBannerSize[GameDistributionBannerSize.LargeRectangle = 0] = "LargeRectangle", + GameDistributionBannerSize[GameDistributionBannerSize.MediumRectangle = 1] = "MediumRectangle", + GameDistributionBannerSize[GameDistributionBannerSize.Billboard = 2] = "Billboard", + GameDistributionBannerSize[GameDistributionBannerSize.Leaderboard = 3] = "Leaderboard", + GameDistributionBannerSize[GameDistributionBannerSize.Skyscraper = 4] = "Skyscraper", + GameDistributionBannerSize[GameDistributionBannerSize.WideSkyscraper = 5] = "WideSkyscraper" + }(GameDistributionBannerSize = exports.GameDistributionBannerSize || (exports.GameDistributionBannerSize = {})), + function(GameDistributionAlignment) { + GameDistributionAlignment[GameDistributionAlignment.TopLeft = 0] = "TopLeft", + GameDistributionAlignment[GameDistributionAlignment.TopCenter = 1] = "TopCenter", + GameDistributionAlignment[GameDistributionAlignment.TopRight = 2] = "TopRight", + GameDistributionAlignment[GameDistributionAlignment.CenterLeft = 3] = "CenterLeft", + GameDistributionAlignment[GameDistributionAlignment.Center = 4] = "Center", + GameDistributionAlignment[GameDistributionAlignment.CenterRight = 5] = "CenterRight", + GameDistributionAlignment[GameDistributionAlignment.BottomLeft = 6] = "BottomLeft", + GameDistributionAlignment[GameDistributionAlignment.BottomCenter = 7] = "BottomCenter", + GameDistributionAlignment[GameDistributionAlignment.BottomRight = 8] = "BottomRight" + }(GameDistributionAlignment = exports.GameDistributionAlignment || (exports.GameDistributionAlignment = {})) + } + .apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__, exports])) && (module.exports = __webpack_require__) + } + , + 498: (module,exports,__webpack_require__)=>{ + var __webpack_require__, exports; + __webpack_require__ = [__webpack_require__, exports, __webpack_require__(12), __webpack_require__(869)], + void 0 !== (exports = function(require, exports, shared_1, gamedistribution_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: !0 + }), + exports.GameDistributionAlignment = exports.GameDistributionBannerSize = exports.ProviderTypes = exports.AdType = exports.AdEvents = void 0, + Object.defineProperty(exports, "AdEvents", { + enumerable: !0, + get: function() { + return shared_1.AdEvents + } + }), + Object.defineProperty(exports, "AdType", { + enumerable: !0, + get: function() { + return shared_1.AdType + } + }), + Object.defineProperty(exports, "ProviderTypes", { + enumerable: !0, + get: function() { + return shared_1.ProviderTypes + } + }), + Object.defineProperty(exports, "GameDistributionBannerSize", { + enumerable: !0, + get: function() { + return gamedistribution_1.GameDistributionBannerSize + } + }), + Object.defineProperty(exports, "GameDistributionAlignment", { + enumerable: !0, + get: function() { + return gamedistribution_1.GameDistributionAlignment + } + }) + } + .apply(exports, __webpack_require__)) && (module.exports = exports) + } + , + 12: (module,exports,__webpack_require__)=>{ + var __WEBPACK_AMD_DEFINE_ARRAY__, __webpack_require__; + void 0 !== (__webpack_require__ = function(require, exports) { + "use strict"; + var AdEvents; + var AdType; + var ProviderTypes; + Object.defineProperty(exports, "__esModule", { + value: !0 + }), + exports.ProviderTypes = exports.AdType = exports.AdEvents = void 0, + function(AdEvents) { + AdEvents.CONTENT_PAUSED = "onContentPaused", + AdEvents.CONTENT_RESUMED = "onContentResumed", + AdEvents.AD_PROGRESSION = "onAdProgression", + AdEvents.AD_DISABLED = "onAdsDisabled", + AdEvents.AD_CLICKED = "onAdClicked", + AdEvents.AD_REWARDED = "onAdRewardGranted", + AdEvents.BANNER_SHOWN = "onBannerShown", + AdEvents.BANNER_HIDDEN = "onBannerHidden", + AdEvents.AD_LOADED = "onAdLoaded", + AdEvents.AD_PROVIDER_LOADED = "onAdProviderLoaded" + }(AdEvents = exports.AdEvents || (exports.AdEvents = {})), + function(AdType) { + AdType[AdType.interstitial = 0] = "interstitial", + AdType[AdType.rewarded = 1] = "rewarded", + AdType[AdType.banner = 2] = "banner" + }(AdType = exports.AdType || (exports.AdType = {})), + function(ProviderTypes) { + ProviderTypes.Yandex = "yx", + ProviderTypes.Dummy = "dm", + ProviderTypes.AdFree = "af", + ProviderTypes.GD = "gd", + ProviderTypes.GDBanner = "gdb", + ProviderTypes.Jio = "jio" + }(ProviderTypes = exports.ProviderTypes || (exports.ProviderTypes = {})) + } + .apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__, exports])) && (module.exports = __webpack_require__) + } + , + 548: function(module, exports, __webpack_require__) { + var __webpack_require__, exports; + var __extends = this && this.__extends || (extendStatics = function(d, b) { + return (extendStatics = Object.setPrototypeOf || ({ + __proto__: [] + }instanceof Array ? function(d, b) { + d.__proto__ = b + } + : function(d, b) { + for (var p in b) + Object.prototype.hasOwnProperty.call(b, p) && (d[p] = b[p]) + } + ))(d, b) + } + , + function(d, b) { + if ("function" != typeof b && null !== b) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + function __() { + this.constructor = d + } + extendStatics(d, b), + d.prototype = null === b ? Object.create(b) : (__.prototype = b.prototype, + new __) + } + ); + var extendStatics; + var __importDefault = this && this.__importDefault || function(mod) { + return mod && mod.__esModule ? mod : { + default: mod + } + } + ; + __webpack_require__ = [__webpack_require__, exports, __webpack_require__(34), __webpack_require__(12), __webpack_require__(563), __webpack_require__(766)], + void 0 !== (exports = function(require, exports, eventemitter3_1, shared_1, standard_1, special_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: !0 + }), + exports.AdWrapper = void 0; + var eventemitter3_1 = function(_super) { + function AdWrapper(type, id, jioConfig) { + var _this = _super.call(this) || this; + switch (_this.bannerActive = !1, + _this.provider = null, + type) { + case shared_1.ProviderTypes.AdFree: + _this.provider = new standard_1.AdFreeUntrackedProvider; + break; + case shared_1.ProviderTypes.Dummy: + _this.provider = new standard_1.DummyProvider; + break; + case shared_1.ProviderTypes.Yandex: + _this.provider = new standard_1.YandexAdProvider; + break; + case shared_1.ProviderTypes.Jio: + _this.provider = new special_1.JioAdProvider(jioConfig); + break; + default: + case shared_1.ProviderTypes.GD: + _this.provider = new standard_1.GameDistribution(id); + break + } + return _this.provider.setManager(_this), + _this + } + return __extends(AdWrapper, _super), + AdWrapper.prototype.showAd = function(adType) { + var args = []; + for (var _i = 1; _i < arguments.length; _i++) + args[_i - 1] = arguments[_i]; + if (null === this.provider) + throw new Error("Can not request an ad without an provider, please attach an ad provider!"); + args.unshift(adType), + this.provider.showAd.apply(this.provider, args) + } + , + AdWrapper.prototype.createBanner = function() { + var args = []; + for (var _i = 0; _i < arguments.length; _i++) + args[_i] = arguments[_i]; + return this.provider.loadBanner.apply(this.provider, args) + } + , + AdWrapper.prototype.loadBanner = function() { + var args = []; + for (var _i = 0; _i < arguments.length; _i++) + args[_i] = arguments[_i]; + return "function" == typeof this.provider.loadBanner ? this.provider.loadBanner.apply(this.provider, args) : null + } + , + AdWrapper.prototype.preloadAd = function(adType) { + var args = []; + for (var _i = 1; _i < arguments.length; _i++) + args[_i - 1] = arguments[_i]; + if (null === this.provider) + throw new Error("Can not preload an ad without an provider, please attach an ad provider!"); + args.unshift(adType), + this.provider.preloadAd.apply(this.provider, args) + } + , + AdWrapper.prototype.destroyAd = function(adType) { + var args = []; + for (var _i = 1; _i < arguments.length; _i++) + args[_i - 1] = arguments[_i]; + if (null === this.provider) + throw new Error("Can not destroy an ad without an provider, please attach an ad provider!"); + args.unshift(adType), + this.provider.destroyAd.apply(this.provider, args) + } + , + AdWrapper.prototype.hideAd = function(adType) { + var args = []; + for (var _i = 1; _i < arguments.length; _i++) + args[_i - 1] = arguments[_i]; + if (null === this.provider) + throw new Error("Can not hide an ad without an provider, please attach an ad provider!"); + args.unshift(adType), + this.provider.hideAd.apply(this.provider, args) + } + , + AdWrapper.prototype.adsEnabled = function() { + if (null === this.provider) + throw new Error("Can not hide an ad without an provider, please attach an ad provider!"); + return this.provider.adsEnabled + } + , + AdWrapper.prototype.adAvailable = function(adType) { + var args = []; + for (var _i = 1; _i < arguments.length; _i++) + args[_i - 1] = arguments[_i]; + if (null === this.provider) + throw new Error("Can not hide an ad without an provider, please attach an ad provider!"); + return args.unshift(adType), + this.provider.adAvailable.apply(this.provider, args) + } + , + AdWrapper + }((eventemitter3_1 = __importDefault(eventemitter3_1)).default); + exports.AdWrapper = eventemitter3_1 + } + .apply(exports, __webpack_require__)) && (module.exports = exports) + } + }; + var __webpack_module_cache__ = {}; + function __webpack_require__(moduleId) { + var cachedModule = __webpack_module_cache__[moduleId]; + var cachedModule; + return void 0 !== cachedModule || (cachedModule = __webpack_module_cache__[moduleId] = { + exports: {} + }, + __webpack_modules__[moduleId].call(cachedModule.exports, cachedModule, cachedModule.exports, __webpack_require__)), + cachedModule.exports + } + var __webpack_exports__ = __webpack_require__(729); + self.h5ads = __webpack_exports__ +} +)(); +!function(){ + // console.log("--fx--h5branding--", h5branding.SplashLoader.create.toString()); + +}(); diff --git a/vex8/patch/js/azerion-libs-o.js b/vex8/patch/js/azerion-libs-o.js new file mode 100644 index 000000000..8e4e3a80c --- /dev/null +++ b/vex8/patch/js/azerion-libs-o.js @@ -0,0 +1,3650 @@ +var _azerionIntegration = { + gdId: "762c932b4db74c6da0c1d101b2da8be6", + alxType: "std", + advType: "gd", + af: !1, + sa: !1, + la: !1, + bd: 8, + playBtn: !0, + build: { + version: "tc-24", + timeStamp: 1680267092432, + h: "8d828ac6" + } +}; +var libs = []; +var enableAnalytics; +!function(global, factory) { + "object" == typeof exports && "undefined" != typeof module ? factory(exports) : "function" == typeof define && define.amd ? define(["exports"], factory) : factory((global = "undefined" != typeof globalThis ? globalThis : global || self).h5branding = global.h5branding || {}) +}(this, function(exports) { + "use strict"; + var commonjsGlobal = "undefined" != typeof globalThis ? globalThis : "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof self ? self : {}; + function commonjsRequire() { + throw new Error("Dynamic requires are not currently supported by rollup-plugin-commonjs") + } + function createCommonjsModule(fn, module) { + return fn(module = { + exports: {} + }, module.exports), + module.exports + } + var es6Promise; + var list; + createCommonjsModule(function(module, exports) { + function objectOrFunction(x) { + var type = typeof x; + return null !== x && ("object" == type || "function" == type) + } + function isFunction(x) { + return "function" == typeof x + } + function setScheduler(scheduleFn) { + customSchedulerFn = scheduleFn + } + function setAsap(asapFn) { + asap = asapFn + } + function useNextTick() { + return function() { + return process.nextTick(flush) + } + } + function useVertxTimer() { + return void 0 !== vertxNext ? function() { + vertxNext(flush) + } + : useSetTimeout() + } + function useMutationObserver() { + var iterations = 0; + var observer = new BrowserMutationObserver(flush); + var node = document.createTextNode(""); + return observer.observe(node, { + characterData: !0 + }), + function() { + node.data = iterations = ++iterations % 2 + } + } + function useMessageChannel() { + var channel = new MessageChannel; + return channel.port1.onmessage = flush, + function() { + return channel.port2.postMessage(0) + } + } + function useSetTimeout() { + var globalSetTimeout = setTimeout; + return function() { + return globalSetTimeout(flush, 1) + } + } + function flush() { + for (var i = 0; i < len; i += 2) { + var callback; + var arg; + (0, + queue[i])(queue[i + 1]), + queue[i] = void 0, + queue[i + 1] = void 0 + } + len = 0 + } + function attemptVertx() { + try { + var vertx = Function("return this")().require("vertx"); + return vertxNext = vertx.runOnLoop || vertx.runOnContext, + useVertxTimer() + } catch (e) { + return useSetTimeout() + } + } + function then(onFulfillment, onRejection) { + var parent = this; + var child = new this.constructor(noop); + void 0 === child[PROMISE_ID] && makePromise(child); + var _state = parent._state; + var callback; + return _state ? (callback = arguments[_state - 1], + asap(function() { + return invokeCallback(_state, child, callback, parent._result) + })) : subscribe(parent, child, onFulfillment, onRejection), + child + } + function resolve$1(object) { + var Constructor = this; + var promise; + return object && "object" == typeof object && object.constructor === this ? object : (resolve(promise = new this(noop), object), + promise) + } + function noop() {} + function selfFulfillment() { + return new TypeError("You cannot resolve a promise with itself") + } + function cannotReturnOwn() { + return new TypeError("A promises callback cannot return that same promise.") + } + function tryThen(then$$1, value, fulfillmentHandler, rejectionHandler) { + try { + then$$1.call(value, fulfillmentHandler, rejectionHandler) + } catch (e) { + return e + } + } + function handleForeignThenable(promise, thenable, then$$1) { + asap(function(promise) { + var sealed = !1; + var error = tryThen(then$$1, thenable, function(value) { + sealed || (sealed = !0, + (thenable !== value ? resolve : fulfill)(promise, value)) + }, function(reason) { + sealed || (sealed = !0, + reject(promise, reason)) + }, "Settle: " + (promise._label || " unknown promise")); + !sealed && error && (sealed = !0, + reject(promise, error)) + }, promise) + } + function handleOwnThenable(promise, thenable) { + thenable._state === FULFILLED ? fulfill(promise, thenable._result) : thenable._state === REJECTED ? reject(promise, thenable._result) : subscribe(thenable, void 0, function(value) { + return resolve(promise, value) + }, function(reason) { + return reject(promise, reason) + }) + } + function handleMaybeThenable(promise, maybeThenable, then$$1) { + maybeThenable.constructor === promise.constructor && then$$1 === then && maybeThenable.constructor.resolve === resolve$1 ? handleOwnThenable(promise, maybeThenable) : void 0 !== then$$1 && isFunction(then$$1) ? handleForeignThenable(promise, maybeThenable, then$$1) : fulfill(promise, maybeThenable) + } + function resolve(promise, value) { + if (promise === value) + reject(promise, selfFulfillment()); + else if (objectOrFunction(value)) { + var then$$1 = void 0; + try { + then$$1 = value.then + } catch (error) { + return void reject(promise, error) + } + handleMaybeThenable(promise, value, then$$1) + } else + fulfill(promise, value) + } + function publishRejection(promise) { + promise._onerror && promise._onerror(promise._result), + publish(promise) + } + function fulfill(promise, value) { + promise._state === PENDING && (promise._result = value, + promise._state = FULFILLED, + 0 !== promise._subscribers.length) && asap(publish, promise) + } + function reject(promise, reason) { + promise._state === PENDING && (promise._state = REJECTED, + promise._result = reason, + asap(publishRejection, promise)) + } + function subscribe(parent, child, onFulfillment, onRejection) { + var _subscribers = parent._subscribers; + var length = _subscribers.length; + parent._onerror = null, + _subscribers[length] = child, + _subscribers[length + FULFILLED] = onFulfillment, + _subscribers[length + REJECTED] = onRejection, + 0 === length && parent._state && asap(publish, parent) + } + function publish(promise) { + var subscribers = promise._subscribers; + var settled = promise._state; + if (0 !== subscribers.length) { + var child = void 0 + , callback = void 0 + , detail = promise._result; + for (var i = 0; i < subscribers.length; i += 3) + child = subscribers[i], + callback = subscribers[i + settled], + child ? invokeCallback(settled, child, callback, detail) : callback(detail); + promise._subscribers.length = 0 + } + } + function invokeCallback(settled, promise, callback, detail) { + var hasCallback = isFunction(callback) + , value = void 0 + , error = void 0 + , succeeded = !0; + if (hasCallback) { + try { + value = callback(detail) + } catch (e) { + succeeded = !1, + error = e + } + if (promise === value) + return void reject(promise, cannotReturnOwn()) + } else + value = detail; + promise._state === PENDING && (hasCallback && succeeded ? resolve(promise, value) : !1 === succeeded ? reject(promise, error) : settled === FULFILLED ? fulfill(promise, value) : settled === REJECTED && reject(promise, value)) + } + function initializePromise(promise, resolver) { + try { + resolver(function resolvePromise(value) { + resolve(promise, value) + }, function rejectPromise(reason) { + reject(promise, reason) + }) + } catch (e) { + reject(promise, e) + } + } + function nextId() { + return id++ + } + function makePromise(promise) { + promise[PROMISE_ID] = id++, + promise._state = void 0, + promise._result = void 0, + promise._subscribers = [] + } + function validationError() { + return new Error("Array Methods must be provided an Array") + } + function all(entries) { + return new Enumerator(this,entries).promise + } + function race(entries) { + var Constructor = this; + return isArray(entries) ? new Constructor(function(resolve, reject) { + var length = entries.length; + for (var i = 0; i < length; i++) + Constructor.resolve(entries[i]).then(resolve, reject) + } + ) : new Constructor(function(_, reject) { + return reject(new TypeError("You must pass an array to race.")) + } + ) + } + function reject$1(reason) { + var Constructor = this; + var promise = new this(noop); + return reject(promise, reason), + promise + } + function needsResolver() { + throw new TypeError("You must pass a resolver function as the first argument to the promise constructor") + } + function needsNew() { + throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.") + } + function Promise(resolver) { + this[PROMISE_ID] = id++, + this._result = this._state = void 0, + this._subscribers = [], + noop !== resolver && ("function" != typeof resolver && needsResolver(), + this instanceof Promise ? initializePromise(this, resolver) : needsNew()) + } + function polyfill() { + var local = void 0; + if (void 0 !== commonjsGlobal) + local = commonjsGlobal; + else if ("undefined" != typeof self) + local = self; + else + try { + local = Function("return this")() + } catch (e) { + throw new Error("polyfill failed because global object is unavailable in this environment") + } + var P = local.Promise; + if (P) { + var promiseToString = null; + try { + promiseToString = Object.prototype.toString.call(P.resolve()) + } catch (e) {} + if ("[object Promise]" === promiseToString && !P.cast) + return + } + local.Promise = Promise$1 + } + var _isArray, isArray, len, vertxNext, customSchedulerFn, asap, module, browserGlobal, BrowserMutationObserver, isWorker, queue, scheduleFlush, PROMISE_ID, PENDING, FULFILLED, REJECTED, id, Enumerator, Promise$1; + module.exports = (_isArray = void 0, + isArray = _isArray = Array.isArray || function(x) { + return "[object Array]" === Object.prototype.toString.call(x) + } + , + customSchedulerFn = vertxNext = void (len = 0), + asap = function asap(callback, arg) { + queue[len] = callback, + queue[len + 1] = arg, + 2 === (len += 2) && (customSchedulerFn ? customSchedulerFn(flush) : scheduleFlush()) + } + , + module = "undefined" != typeof window ? window : void 0, + BrowserMutationObserver = (browserGlobal = module || {}).MutationObserver || browserGlobal.WebKitMutationObserver, + browserGlobal = "undefined" == typeof self && "undefined" != typeof process && "[object process]" === {}.toString.call(process), + isWorker = "undefined" != typeof Uint8ClampedArray && "undefined" != typeof importScripts && "undefined" != typeof MessageChannel, + queue = new Array(1e3), + scheduleFlush = void 0, + scheduleFlush = (browserGlobal ? useNextTick : BrowserMutationObserver ? useMutationObserver : isWorker ? useMessageChannel : void 0 === module ? attemptVertx : useSetTimeout)(), + PROMISE_ID = Math.random().toString(36).substring(2), + PENDING = void 0, + FULFILLED = 1, + REJECTED = 2, + id = 0, + Enumerator = function() { + function Enumerator(Constructor, input) { + this._instanceConstructor = Constructor, + this.promise = new Constructor(noop), + this.promise[PROMISE_ID] || makePromise(this.promise), + isArray(input) ? (this.length = input.length, + this._remaining = input.length, + this._result = new Array(this.length), + 0 !== this.length && (this.length = this.length || 0, + this._enumerate(input), + 0 !== this._remaining) || fulfill(this.promise, this._result)) : reject(this.promise, validationError()) + } + return Enumerator.prototype._enumerate = function _enumerate(input) { + for (var i = 0; this._state === PENDING && i < input.length; i++) + this._eachEntry(input[i], i) + } + , + Enumerator.prototype._eachEntry = function _eachEntry(entry, i) { + var c = this._instanceConstructor; + var resolve$$1 = c.resolve; + if (resolve$$1 === resolve$1) { + var _then = void 0; + var error = void 0; + var didError = !1; + try { + _then = entry.then + } catch (e) { + didError = !0, + error = e + } + var promise; + _then === then && entry._state !== PENDING ? this._settledAt(entry._state, i, entry._result) : "function" != typeof _then ? (this._remaining--, + this._result[i] = entry) : c === Promise$1 ? (promise = new c(noop), + didError ? reject(promise, error) : handleMaybeThenable(promise, entry, _then), + this._willSettleAt(promise, i)) : this._willSettleAt(new c(function(resolve$$1) { + return resolve$$1(entry) + } + ), i) + } else + this._willSettleAt(resolve$$1(entry), i) + } + , + Enumerator.prototype._settledAt = function _settledAt(state, i, value) { + var promise = this.promise; + promise._state === PENDING && (this._remaining--, + state === REJECTED ? reject(promise, value) : this._result[i] = value), + 0 === this._remaining && fulfill(promise, this._result) + } + , + Enumerator.prototype._willSettleAt = function _willSettleAt(promise, i) { + var enumerator = this; + subscribe(promise, void 0, function(value) { + return enumerator._settledAt(FULFILLED, i, value) + }, function(reason) { + return enumerator._settledAt(REJECTED, i, reason) + }) + } + , + Enumerator + }(), + Promise.prototype.catch = function _catch(onRejection) { + return this.then(null, onRejection) + } + , + Promise.prototype.finally = function _finally(callback) { + var promise = this; + var constructor = this.constructor; + return isFunction(callback) ? this.then(function(value) { + return constructor.resolve(callback()).then(function() { + return value + }) + }, function(reason) { + return constructor.resolve(callback()).then(function() { + throw reason + }) + }) : this.then(callback, callback) + } + , + (Promise$1 = Promise).prototype.then = then, + Promise$1.all = all, + Promise$1.race = race, + Promise$1.resolve = resolve$1, + Promise$1.reject = reject$1, + Promise$1._setScheduler = setScheduler, + Promise$1._setAsap = setAsap, + Promise$1._asap = asap, + Promise$1.polyfill = polyfill, + Promise$1.Promise = Promise$1) + }).polyfill(); + var Sld = function() { + function Sld() {} + return Sld.has = function(domain) { + var tldOffset = domain.lastIndexOf("."); + var sldOffset, sldList; + return !(tldOffset <= 0 || tldOffset >= domain.length - 1 || (sldOffset = domain.lastIndexOf(".", tldOffset - 1)) <= 0 || tldOffset - 1 <= sldOffset || !(sldList = list[domain.slice(tldOffset + 1)])) && 0 <= sldList.indexOf(" " + domain.slice(sldOffset + 1, tldOffset) + " ") + } + , + Sld.is = function(domain) { + var tldOffset = domain.lastIndexOf("."); + var sldOffset, sldList; + return !(tldOffset <= 0 || tldOffset >= domain.length - 1 || 0 <= domain.lastIndexOf(".", tldOffset - 1) || !(sldList = list[domain.slice(tldOffset + 1)])) && 0 <= sldList.indexOf(" " + domain.slice(0, tldOffset) + " ") + } + , + Sld.get = function(domain) { + var tldOffset = domain.lastIndexOf("."); + var sldOffset, sldList; + return tldOffset <= 0 || tldOffset >= domain.length - 1 || (sldOffset = domain.lastIndexOf(".", tldOffset - 1)) <= 0 || tldOffset - 1 <= sldOffset || !(sldList = list[domain.slice(tldOffset + 1)]) || sldList.indexOf(" " + domain.slice(sldOffset + 1, tldOffset) + " ") < 0 ? null : domain.slice(sldOffset + 1) + } + , + Sld + }(); + var Domain = function() { + function Domain() {} + return Domain.setList = function(newList) { + list = newList || {} + } + , + Domain.getDomain = function(host) { + var t, t, t; + return list ? (t = host.match(/\./g)) && t.length < 2 ? host : (t = this.getTld(host)) ? (t = host.length - t.length - 1, + t = host.lastIndexOf(".", t - 1) + 1, + host.substring(t) || "") : null : null + } + , + Domain.getTld = function(host) { + var pos, pos; + return list ? (pos = host.lastIndexOf("."), + pos = host.substring(pos + 1), + list[pos.toLowerCase()] && Sld.get(host) || pos) : "" + } + , + Domain.KEY = "Domains", + Domain + }(); + var Loader = function() { + function Loader() { + this.cache = {} + } + return Object.defineProperty(Loader, "instance", { + get: function() { + return Loader.classInstance = void 0 === Loader.classInstance ? new Loader : Loader.classInstance + }, + enumerable: !1, + configurable: !0 + }), + Loader.prototype.load = function(key, url, contentType) { + var _this = this; + return this.contains(key) ? Promise.reject("Already in cache.") : (this.cache[key] = { + url: url, + data: null + }, + this.requestXhr(url, contentType).then(function(data) { + return _this.loadComplete(key, data) + }).catch(function(e) { + return _this.remove(key), + Promise.reject(e) + })) + } + , + Loader.prototype.loadComplete = function(key, data) { + if (!this.contains(key)) + return Promise.reject("Item was removed from cache before loading was complete."); + try { + var json = JSON.parse(data); + return this.cache[key].data = json, + Promise.resolve(json) + } catch (error) { + return Promise.reject("There was an error parsing JSON file.") + } + } + , + Loader.prototype.remove = function(key) { + this.contains(key) && delete this.cache[key] + } + , + Loader.prototype.get = function(key) { + return this.contains(key) ? this.cache[key].data : null + } + , + Loader.prototype.contains = function(key) { + return this.cache.hasOwnProperty(key) + } + , + Loader.prototype.isLoading = function(key) { + return this.contains(key) && null === this.cache[key].data + } + , + Loader.prototype.isLoaded = function(key) { + return this.contains(key) && null !== this.cache[key].data + } + , + Loader.prototype.loadScript = function(url, deferred, callback) { + return new Promise(function(resolve, reject) { + var tag = document.createElement("script"); + tag.src = url, + tag.async = !1, + tag.onload = function() { + "function" == typeof callback && callback(), + resolve() + } + , + document.head.appendChild(tag) + } + ) + } + , + Loader.prototype.requestXhr = function(url, contentType) { + var xhr; + return void 0 === contentType && (contentType = "application/json"), + window.XMLHttpRequest ? (xhr = new XMLHttpRequest, + new Promise(function(resolve, reject) { + xhr.onreadystatechange = function() { + 4 === xhr.readyState && (200 === xhr.status ? (resolve(xhr.responseText), + xhr.onreadystatechange = null) : 0 < xhr.status && (reject("There was a problem with the request: status ".concat(xhr.status)), + xhr.onreadystatechange = null)) + } + ; + try { + xhr.open("GET", url, !0), + xhr.setRequestHeader("Content-Type", contentType), + xhr.send() + } catch (e) { + reject("Error: Unable to send request, CORS not allowed.") + } + } + )) : Promise.reject("Unable to send request, XMLHttpRequest not supported.") + } + , + Loader + }(); + function __awaiter(thisArg, _arguments, P, generator) { + return new (P = P || Promise)(function(resolve, reject) { + function fulfilled(value) { + try { + step(generator.next(value)) + } catch (e) { + reject(e) + } + } + function rejected(value) { + try { + step(generator.throw(value)) + } catch (e) { + reject(e) + } + } + function step(result) { + result.done ? resolve(result.value) : new P(function(resolve) { + resolve(result.value) + } + ).then(fulfilled, rejected) + } + step((generator = generator.apply(thisArg, _arguments || [])).next()) + } + ) + } + function __generator(thisArg, body) { + var _ = { + label: 0, + sent: function() { + if (1 & t[0]) + throw t[1]; + return t[1] + }, + trys: [], + ops: [] + }, f, y, t, g; + return g = { + next: verb(0), + throw: verb(1), + return: verb(2) + }, + "function" == typeof Symbol && (g[Symbol.iterator] = function() { + return this + } + ), + g; + function verb(n) { + return function(v) { + return step([n, v]) + } + } + function step(op) { + if (f) + throw new TypeError("Generator is already executing."); + for (; _; ) + try { + if (f = 1, + y && (t = 2 & op[0] ? y.return : op[0] ? y.throw || ((t = y.return) && t.call(y), + 0) : y.next) && !(t = t.call(y, op[1])).done) + return t; + switch (y = 0, + (op = t ? [2 & op[0], t.value] : op)[0]) { + case 0: + case 1: + t = op; + break; + case 4: + return _.label++, + { + value: op[1], + done: !1 + }; + case 5: + _.label++, + y = op[1], + op = [0]; + continue; + case 7: + op = _.ops.pop(), + _.trys.pop(); + continue; + default: + if (!(t = 0 < (t = _.trys).length && t[t.length - 1]) && (6 === op[0] || 2 === op[0])) { + _ = 0; + continue + } + if (3 === op[0] && (!t || op[1] > t[0] && op[1] < t[3])) + _.label = op[1]; + else if (6 === op[0] && _.label < t[1]) + _.label = t[1], + t = op; + else { + if (!(t && _.label < t[2])) { + t[2] && _.ops.pop(), + _.trys.pop(); + continue + } + _.label = t[2], + _.ops.push(op) + } + } + op = body.call(thisArg, _) + } catch (e) { + op = [6, e], + y = 0 + } finally { + f = t = 0 + } + if (5 & op[0]) + throw op[1]; + return { + value: op[0] ? op[1] : void 0, + done: !0 + } + } + } + var BrandingDomain; + exports.BrandingDomain = void 0, + (BrandingDomain = exports.BrandingDomain || (exports.BrandingDomain = {}))[BrandingDomain.Neutral = 0] = "Neutral", + BrandingDomain[BrandingDomain.Yepi = 1] = "Yepi", + BrandingDomain[BrandingDomain.Spele = 2] = "Spele", + BrandingDomain[BrandingDomain.Funnygames = 3] = "Funnygames", + BrandingDomain[BrandingDomain.Kizi = 4] = "Kizi", + BrandingDomain[BrandingDomain.PlayCell = 5] = "PlayCell", + BrandingDomain[BrandingDomain.GameCell = 6] = "GameCell", + BrandingDomain[BrandingDomain.Bild = 7] = "Bild", + BrandingDomain[BrandingDomain.AGame = 8] = "AGame", + BrandingDomain[BrandingDomain.Admeen = 9] = "Admeen", + BrandingDomain[BrandingDomain.PlayTime = 10] = "PlayTime", + BrandingDomain[BrandingDomain.Zigiz = 11] = "Zigiz"; + var Hosts = function() { + function Hosts() {} + return Hosts.isBip = function() { + return -1 !== window.location.search.indexOf("bipgaming") || "bip.fbrq.io" === window.location.host + } + , + Hosts.isPlaycellApp = function() { + return -1 !== window.location.search.indexOf("playcellApp") + } + , + Hosts.isAGame = function() { + return -1 !== window.location.search.indexOf("agame") + } + , + Hosts.isAirfi = function() { + return !!window.hasOwnProperty("airfi") && window.airfi + } + , + Hosts.isPlaytime = function() { + return -1 !== window.location.host.indexOf("playtime.nl") + } + , + Hosts.isBild = function() { + return "bild.fbrq.io" === window.location.host || -1 !== window.location.host.indexOf("contentfleet.com") + } + , + Hosts.isYandex = function() { + return window.hasOwnProperty("_YaSDK") || window.hasOwnProperty("YaGames") + } + , + Hosts.getYandexBaseURL = function() { + var _a, _a; + var lang; + if (null != (_a = null == (_a = window.YandexGamesSDKEnvironment) ? void 0 : _a.browser) && _a.lang && "en" === window.YandexGamesSDKEnvironment.browser.lang) + return "yandex.com"; + return "yandex.ru" + } + , + Hosts + }(); + var BrandingDomain; + exports.UtmTargets = void 0, + (BrandingDomain = exports.UtmTargets || (exports.UtmTargets = {}))[BrandingDomain.splashscreen = 0] = "splashscreen", + BrandingDomain[BrandingDomain.logo = 1] = "logo", + BrandingDomain[BrandingDomain.facebook = 2] = "facebook", + BrandingDomain[BrandingDomain.twitter = 3] = "twitter", + BrandingDomain[BrandingDomain.playstore = 4] = "playstore", + BrandingDomain[BrandingDomain.appstore = 5] = "appstore", + BrandingDomain[BrandingDomain.more_games = 6] = "more_games", + BrandingDomain[BrandingDomain.download_game = 7] = "download_game", + BrandingDomain[BrandingDomain.walkthrough = 8] = "walkthrough", + BrandingDomain[BrandingDomain.disclaimer = 9] = "disclaimer", + BrandingDomain[BrandingDomain.highscores = 10] = "highscores"; + var CrossPromo = function() { + function CrossPromo() {} + return CrossPromo.getProtocol = function(isDevice) { + var protocol; + return isDevice ? "https://" : "//" + } + , + CrossPromo.getUtmContent = function(type) { + return "string" == typeof type ? type : exports.UtmTargets[type] + } + , + CrossPromo.getDomainURL = function(domain, protocol) { + var url; + switch (domain) { + case exports.BrandingDomain.Spele: + url = protocol + "www.spele.nl"; + break; + case exports.BrandingDomain.Yepi: + url = protocol + "www.yepi.com"; + break; + case exports.BrandingDomain.Admeen: + url = "https://media.admeen.com/branding/link.php"; + break; + case exports.BrandingDomain.PlayCell: + url = protocol + "www.playcell.com"; + break; + case exports.BrandingDomain.GameCell: + url = protocol + "www.gamecell.com"; + break; + case exports.BrandingDomain.Kizi: + url = protocol + "www.kizi.com"; + break; + case exports.BrandingDomain.Bild: + url = protocol + "www.bildspielt.de"; + break; + case exports.BrandingDomain.Funnygames: + url = protocol + "www.funnygames.nu"; + break; + case exports.BrandingDomain.PlayTime: + url = protocol + "playtime.nl"; + break; + default: + case exports.BrandingDomain.AGame: + url = protocol + "www.agame.com"; + break; + case exports.BrandingDomain.Zigiz: + url = protocol + "m.zigiz.com"; + break + } + return url + } + , + CrossPromo.getPromoURL = function(domain, url, host, gameTitle, utmContent) { + return window.hasOwnProperty("_YaSDK") || window.hasOwnProperty("YaGames") ? "https://".concat(Hosts.getYandexBaseURL(), "/games/developer?name=Azerion") : domain === exports.BrandingDomain.Admeen ? "https://media.admeen.com/branding/link.php" : domain === exports.BrandingDomain.Bild ? url : url + "/?utm_source=" + host + "&utm_medium=html5&utm_term=" + gameTitle + "&utm_content=" + utmContent + "&utm_campaign=Gamedistribution" + } + , + CrossPromo + }(); + function addScript(src, buster, callback) { + var s = document.createElement("script"); + s.setAttribute("src", src + "?v=" + buster), + "function" == typeof callback && (s.onload = callback), + document.body.appendChild(s) + } + var PortalScripts = function() { + function PortalScripts() {} + return PortalScripts.loadPortalScript = function(siteLockList) { + siteLockList && siteLockList.hasOwnProperty("minijuegos") && -1 !== siteLockList.minijuegos.indexOf(Utils.getSourceSite()) && (void 0 !== window.mpConfig ? window.mpConfig.partner = "orange-games" : window.mpConfig = { + partner: "orange-games" + }, + addScript("https://ext.minijuegosgratis.com/external-host/main.js", Date.now() / 1e3)), + siteLockList && siteLockList.hasOwnProperty("kongregate") && -1 !== siteLockList.kongregate.indexOf(Utils.getSourceSite()) && addScript("https://cdn1.kongregate.com/javascripts/kongregate_api.js", Date.now() / 1e3, function() { + "undefined" != typeof kongregateAPI && kongregateAPI.loadAPI(function() { + window.kongregate = kongregateAPI.getAPI() + }) + }), + siteLockList && siteLockList.hasOwnProperty("newgrounds") && -1 !== siteLockList.newgrounds.indexOf(Utils.getSourceSite()) && addScript("https://cdn.fbrq.io/@azerion/splash/assets/scripts/newgroundsio.min.js", Date.now() / 1e3) + } + , + PortalScripts + }(); + var BuildSettings = function() { + function BuildSettings() {} + return BuildSettings.isStandAlone = function() { + var _a, _a; + return null != (_a = window._azerionIntegration) && _a.sa ? null == (_a = window._azerionIntegration) ? void 0 : _a.sa : !!window.hasOwnProperty("fbrqSA") && window.fbrqSA + } + , + BuildSettings.hasDomainForCustomBuild = function() { + var _a; + return (null == (_a = window._azerionIntegration) ? void 0 : _a.bd) || window.hasOwnProperty("fbrqBD") + } + , + BuildSettings.getDomainForCustomBuild = function() { + var _a, _a, _a; + return null != (_a = window._azerionIntegration) && _a.bd && (null == (_a = window._azerionIntegration) ? void 0 : _a.bd)in exports.BrandingDomain ? null == (_a = window._azerionIntegration) ? void 0 : _a.bd : window.hasOwnProperty("fbrqBD") && window.fbrqBD in exports.BrandingDomain ? window.fbrqBD : void 0 + } + , + BuildSettings.hasLinksSettingsForCustomBuild = function() { + var _a; + return (null == (_a = window._azerionIntegration) ? void 0 : _a.la) || window.hasOwnProperty("fbrqLA") + } + , + BuildSettings.getLinkSettingsForCustomBuild = function() { + var _a, _a; + return null != (_a = window._azerionIntegration) && _a.la ? null == (_a = window._azerionIntegration) ? void 0 : _a.la : window.hasOwnProperty("fbrqLA") ? window.hasOwnProperty("fbrqLA") : void 0 + } + , + BuildSettings + }(); + var Branding = function() { + function Branding() {} + return Branding.preload = function(version) { + var promise = Promise.all([Loader.instance.load(Domain.KEY, "".concat(Utils.ASSET_LOCATION, "json/domains.json?v=").concat(version), "text/plain"), Loader.instance.load(Branding.SITELOCK_PORTALS, "".concat(Utils.ASSET_LOCATION, "json/sitelock.json?v=").concat(version), "text/plain")]); + return Promise.all([Loader.instance.load(Branding.INTERNAL_PORTALS_KEY, "".concat(Utils.ASSET_LOCATION, "json/internal.json?v=").concat(version), "text/plain"), Loader.instance.load(Branding.CONTRACTED_PORTALS_KEY, "".concat(Utils.ASSET_LOCATION, "json/contracted.json?v=").concat(version), "text/plain"), Loader.instance.load(Branding.SPECIAL_PORTALS_KEY, "".concat(Utils.ASSET_LOCATION, "json/special.json?v=").concat(version), "text/plain")]), + promise.then(function(data) { + var domains = data[0]; + var data = data[1]; + Domain.setList(domains), + PortalScripts.loadPortalScript(data), + Branding.setSiteLock(data) + }).catch(function() { + console.warn("Unable to parse json") + }) + } + , + Branding.setSiteLock = function(data) { + Branding.siteLocks = data + } + , + Object.defineProperty(Branding, "brandingLogoUrl", { + get: function() { + var imageName; + switch (Utils.isOnDevice() || Hosts.isAirfi() ? Utils.ASSET_LOCATION = "assets/" : "fbrq.io" === Utils.getSourceSite(!0) && (Utils.ASSET_LOCATION = "https://" + window.location.host + "/@azerion/splash/assets/"), + Utils.getBrandingDomain()) { + case exports.BrandingDomain.Spele: + imageName = "spele"; + break; + case exports.BrandingDomain.PlayCell: + imageName = "playcell"; + break; + case exports.BrandingDomain.GameCell: + imageName = "gamecell"; + break; + case exports.BrandingDomain.Yepi: + imageName = "yepi"; + break; + case exports.BrandingDomain.Admeen: + imageName = "admeen"; + break; + case exports.BrandingDomain.Bild: + imageName = "bild"; + break; + case exports.BrandingDomain.Kizi: + imageName = "kizi"; + break; + case exports.BrandingDomain.Funnygames: + imageName = "funnygames"; + break; + case exports.BrandingDomain.PlayTime: + imageName = "playtime"; + break; + default: + case exports.BrandingDomain.AGame: + imageName = "agame"; + break; + case exports.BrandingDomain.Zigiz: + imageName = "zigiz"; + break + } + return Utils.ASSET_LOCATION + "images/branding_logo_" + imageName + "_small.png" + }, + enumerable: !1, + configurable: !0 + }), + Object.defineProperty(Branding, "brandingBackgroundColor", { + get: function() { + var bgColor; + switch (Utils.getBrandingDomain()) { + case exports.BrandingDomain.Spele: + bgColor = "#4a72ad"; + break; + case exports.BrandingDomain.PlayCell: + bgColor = "#52a1e1"; + break; + case exports.BrandingDomain.GameCell: + bgColor = "#c600b2"; + break; + case exports.BrandingDomain.Yepi: + bgColor = "#0573a7"; + break; + case exports.BrandingDomain.AGame: + bgColor = "#0C486C"; + break; + case exports.BrandingDomain.Admeen: + bgColor = "#4267B2"; + break; + case exports.BrandingDomain.Bild: + bgColor = "#de0000"; + break; + default: + case exports.BrandingDomain.Kizi: + bgColor = "#012f50"; + break; + case exports.BrandingDomain.Funnygames: + bgColor = "#33b0ff"; + break; + case exports.BrandingDomain.PlayTime: + bgColor = "#023a63"; + break; + case exports.BrandingDomain.Zigiz: + bgColor = "#023a63"; + break + } + return bgColor + }, + enumerable: !1, + configurable: !0 + }), + Branding.blockedDomain = function() { + return Utils.isOnDevice() || Branding.isSpecial() + } + , + Branding.createCampaignURL = function(gameTitle, type) { + var host = Utils.getSourceSite(); + var domain = Utils.getBrandingDomain(); + var protocol = CrossPromo.getProtocol(Utils.isOnDevice()); + var protocol = CrossPromo.getDomainURL(domain, protocol); + var type = CrossPromo.getUtmContent(type); + return CrossPromo.getPromoURL(domain, protocol, host, gameTitle, type) + } + , + Branding.openCampaignLink = function(gameTitle, type) { + var type; + var gameTitle = Branding.createCampaignURL(gameTitle, type); + Branding.blockedDomain() || (type = window.open(gameTitle)) && type.focus && type.focus() + } + , + Branding.isInternal = function() { + return Branding.hostMatchesList(Loader.instance.get(Branding.INTERNAL_PORTALS_KEY)) + } + , + Branding.isContracted = function() { + return Branding.hostMatchesList(Loader.instance.get(Branding.CONTRACTED_PORTALS_KEY)) + } + , + Branding.isSpecial = function() { + return Branding.hostMatchesList(Loader.instance.get(Branding.SPECIAL_PORTALS_KEY)) + } + , + Branding.isAdmeen = function() { + var admeen; + return !(!Branding.siteLocks || !Branding.siteLocks.hasOwnProperty("admeen")) && (admeen = Branding.siteLocks.admeen, + Branding.hostMatchesList(admeen)) + } + , + Branding.isKongregate = function() { + var kongregate; + return !(!Branding.siteLocks || !Branding.siteLocks.hasOwnProperty("kongregate")) && (kongregate = Branding.siteLocks.kongregate, + Branding.hostMatchesList(kongregate)) + } + , + Branding.isNewgrounds = function() { + var newgrounds; + return !(!Branding.siteLocks || !Branding.siteLocks.hasOwnProperty("newgrounds")) && (newgrounds = Branding.siteLocks.newgrounds, + Branding.hostMatchesList(newgrounds)) + } + , + Branding.crossPromoAllowed = function() { + var yandex = Branding.siteLocks.yandex; + return Branding.hostMatchesList(yandex) + } + , + Branding.outGoingLinksAllowed = function() { + return !(Hosts.isAirfi() || Branding.isSpecial() || Branding.isContracted()) && (!BuildSettings.hasLinksSettingsForCustomBuild() || BuildSettings.getLinkSettingsForCustomBuild()) + } + , + Branding.hostMatchesList = function(portals) { + portals = portals || []; + var host = Utils.getSourceSite(); + for (var id = 0; id < portals.length; id++) + if (host === portals[id]) + return !0; + return !1 + } + , + Branding.LOGO_KEY = "branding_logo", + Branding.INTERNAL_PORTALS_KEY = "branding_portals", + Branding.CONTRACTED_PORTALS_KEY = "branding_contracted", + Branding.SPECIAL_PORTALS_KEY = "branding_special", + Branding.SITELOCK_PORTALS = "sitelock_portals", + Branding.DOMAIN_OVERWRITE = null, + Branding.analyticsEnabled = !0, + Branding + }(); + var Utils = function() { + function Utils() {} + return Utils.loadHost = function() { + return __awaiter(this, void 0, void 0, function() { + var host, result, result; + return __generator(this, function(_a) { + switch (_a.label) { + case 0: + if (host = document.referrer || window.location.host, + !window.hasOwnProperty("gdsdk")) + return [3, 4]; + _a.label = 1; + case 1: + return _a.trys.push([1, 3, , 4]), + [4, window.gdsdk.getSession()]; + case 2: + return result = _a.sent(), + host = result.location.parentDomain, + [3, 4]; + case 3: + return result = _a.sent(), + console.log(result), + [3, 4]; + case 4: + return Utils.HOST = host, + [2] + } + }) + }) + } + , + Utils.getSourceSite = function(forceLocal) { + var host = Utils.HOST; + if (-1 !== (host = (forceLocal = void 0 === forceLocal ? !1 : forceLocal) ? window.location.host : host).indexOf("embed.gamedistribution.com") && -1 !== window.location.search.indexOf("gd_sdk_referrer_url") && (host = Utils.getUrlParameter("gd_sdk_referrer_url") || host), + host = decodeURIComponent(host), + Hosts.isBild()) + return "bildspielt.de"; + if (Hosts.isBip()) + return "bipgaming.com"; + host = (host = -1 < host.indexOf("://") ? host.split("/")[2] : host.split("/")[0]).split(":")[0]; + var forceLocal = Domain.getDomain(host); + return null !== forceLocal ? forceLocal : host = 3 === host.split(".").length ? host.substr(host.indexOf(".") + 1) : host + } + , + Utils.getBrandingDomain = function() { + if (BuildSettings.hasDomainForCustomBuild()) + return BuildSettings.getDomainForCustomBuild(); + if (Branding.DOMAIN_OVERWRITE) + return Branding.DOMAIN_OVERWRITE; + var source = Utils.getSourceSite(); + if (Branding.isAdmeen()) + return exports.BrandingDomain.Admeen; + if (Hosts.isPlaycellApp() || Hosts.isBip()) + return exports.BrandingDomain.PlayCell; + switch (source) { + case "spele.nl": + return exports.BrandingDomain.Spele; + case "yepi.com": + return exports.BrandingDomain.Yepi; + case "oyunskor.com": + case "barbioyunu.com.tr": + case "bebekoyunu.com.tr": + case "oyunkolu.com": + case "oyungemisi.com": + case "oyunlar1.com": + case "oyunkuzusu.com": + case "kraloyun.com": + case "rekoroyun.com": + case "oyundedem.com": + case "oyunoyna.com": + case "pastaoyunu.com.tr": + case "playcell.com": + return exports.BrandingDomain.PlayCell; + case "gamecell.com": + return exports.BrandingDomain.GameCell; + case "playxl.com": + return exports.BrandingDomain.Admeen; + case "kizi.com": + return exports.BrandingDomain.Kizi; + case "bildspielt.de": + return exports.BrandingDomain.Bild; + case "funnygames.nl": + return exports.BrandingDomain.Funnygames; + case "playtime.nl": + return exports.BrandingDomain.PlayTime; + default: + case "agame.com": + return exports.BrandingDomain.AGame; + case "gmbl.nl": + case "zigiz.com": + return exports.BrandingDomain.Zigiz; + case "coolmathgames.com": + return exports.BrandingDomain.Neutral + } + } + , + Utils.getReferrer = function(host) { + return -1 !== host.indexOf("?ref=") ? host.substr(host.indexOf("?ref=") + 5) : host + } + , + Utils.inIframe = function() { + try { + return window.self !== window.top + } catch (e) { + return !0 + } + } + , + Utils.inGDGameZone = function() { + return -1 !== document.referrer.indexOf("html5.gamedistribution.com") + } + , + Utils.getDomain = function(uri) { + var parser = document.createElement("a"); + return parser.href = uri, + parser.origin + } + , + Utils.isOnDevice = function() { + return void 0 !== window.cordova && !/(gamedistribution\.com)/.test(window.location.hostname) + } + , + Utils.isTc = function() { + return /(teamcity\.azerdev\.com)/.test(window.location.host) + } + , + Utils.getRandomRange = function(min, max) { + return Math.random() * (max - min) + min | 0 + } + , + Utils.getUrlParameter = function(name) { + var regex; + name = name.replace(/[\[]/, "\\[").replace(/[\]]/, "\\]"); + var name = new RegExp("[\\?&]" + name + "=([^]*)").exec(location.search); + return null === name ? "" : decodeURIComponent(name[1].replace(/\+/g, " ")) + } + , + Utils.intTimeToString = function(time) { + var hours = Math.floor(time / 3600); + var minutes = Math.floor(time % 3600 / 60); + var time = time % 60; + var sHours; + var sMinutes; + var sSeconds; + return (hours < 10 ? "0" + hours : hours.toString()) + ":" + (minutes < 10 ? "0" + minutes : minutes.toString()) + ":" + (time < 10 ? "0" + time : time.toString()) + } + , + Utils.LANGUAGE = "en", + Utils.HOST = document.referrer || window.location.host, + Utils.ASSET_LOCATION = BuildSettings.isStandAlone() ? "assets/" : "https://cdn.fbrq.io/@azerion/splash/assets/", + Utils + }(); + var progressbar = createCommonjsModule(function(module, exports) { + var f; + f = function() { + return function e(t, n, r) { + function s(o, u) { + if (!n[o]) { + if (!t[o]) { + var a; + if (!u && commonjsRequire) + return commonjsRequire(o, !0); + if (i) + return i(o, !0); + var u = new Error("Cannot find module '" + o + "'"); + throw u.code = "MODULE_NOT_FOUND", + u + } + var u = n[o] = { + exports: {} + }; + t[o][0].call(u.exports, function(e) { + var n = t[o][1][e]; + return s(n || e) + }, u, u.exports, e, t, n, r) + } + return n[o].exports + } + var i = commonjsRequire; + for (var o = 0; o < r.length; o++) + s(r[o]); + return s + }({ + 1: [function(require, module, exports) { + !function() { + var root = this || Function("return this")(); + var Tweenable = function() { + var formula; + var DEFAULT_SCHEDULE_FUNCTION; + var DEFAULT_EASING = "linear"; + var DEFAULT_DURATION = 500; + var UPDATE_TIME = 1e3 / 60; + var _now = Date.now || function() { + return +new Date + } + ; + var now = "undefined" != typeof SHIFTY_DEBUG_NOW ? SHIFTY_DEBUG_NOW : _now; + function noop() {} + function each(obj, fn) { + var key; + for (key in obj) + Object.hasOwnProperty.call(obj, key) && fn(key) + } + function shallowCopy(targetObj, srcObj) { + return each(srcObj, function(prop) { + targetObj[prop] = srcObj[prop] + }), + targetObj + } + function defaults(target, src) { + each(src, function(prop) { + void 0 === target[prop] && (target[prop] = src[prop]) + }) + } + function tweenProps(forPosition, currentState, originalState, targetState, duration, timestamp, easing) { + var normalizedPosition = forPosition < timestamp ? 0 : (forPosition - timestamp) / duration; + var prop; + var easingObjectProp; + var easingObjectProp; + for (prop in currentState) + currentState.hasOwnProperty(prop) && (easingObjectProp = "function" == typeof (easingObjectProp = easing[prop]) ? easingObjectProp : formula[easingObjectProp], + currentState[prop] = tweenProp(originalState[prop], targetState[prop], easingObjectProp, normalizedPosition)); + return currentState + } + function tweenProp(start, end, easingFunc, position) { + return start + (end - start) * easingFunc(position) + } + function applyFilter(tweenable, filterName) { + var filters = Tweenable.prototype.filter; + var args = tweenable._filterArgs; + each(filters, function(name) { + void 0 !== filters[name][filterName] && filters[name][filterName].apply(tweenable, args) + }) + } + var timeoutHandler_endTime; + var timeoutHandler_currentTime; + var timeoutHandler_isEnded; + var timeoutHandler_endTime; + function timeoutHandler(tweenable, timestamp, delay, duration, currentState, originalState, targetState, easing, step, schedule, opt_currentTimeOverride) { + timeoutHandler_endTime = timestamp + delay + duration, + timeoutHandler_currentTime = Math.min(opt_currentTimeOverride || now(), timeoutHandler_endTime), + timeoutHandler_isEnded = timeoutHandler_endTime <= timeoutHandler_currentTime, + timeoutHandler_endTime = duration - (timeoutHandler_endTime - timeoutHandler_currentTime), + tweenable.isPlaying() && (timeoutHandler_isEnded ? (step(targetState, tweenable._attachment, timeoutHandler_endTime), + tweenable.stop(!0)) : (tweenable._scheduleId = schedule(tweenable._timeoutHandler, 1e3 / 60), + applyFilter(tweenable, "beforeTween"), + timeoutHandler_currentTime < timestamp + delay ? tweenProps(1, currentState, originalState, targetState, 1, 1, easing) : tweenProps(timeoutHandler_currentTime, currentState, originalState, targetState, duration, timestamp + delay, easing), + applyFilter(tweenable, "afterTween"), + step(currentState, tweenable._attachment, timeoutHandler_endTime))) + } + function composeEasingObject(fromTweenParams, easing) { + var composedEasing = {}; + var typeofEasing = typeof easing; + return each(fromTweenParams, "string" == typeofEasing || "function" == typeofEasing ? function(prop) { + composedEasing[prop] = easing + } + : function(prop) { + composedEasing[prop] || (composedEasing[prop] = easing[prop] || "linear") + } + ), + composedEasing + } + function Tweenable(opt_initialState, opt_config) { + this._currentState = opt_initialState || {}, + this._configured = !1, + this._scheduleFunction = DEFAULT_SCHEDULE_FUNCTION, + void 0 !== opt_config && this.setConfig(opt_config) + } + return DEFAULT_SCHEDULE_FUNCTION = "undefined" != typeof window && (window.requestAnimationFrame || window.webkitRequestAnimationFrame || window.oRequestAnimationFrame || window.msRequestAnimationFrame || window.mozCancelRequestAnimationFrame && window.mozRequestAnimationFrame) || setTimeout, + Tweenable.prototype.tween = function(opt_config) { + return this._isTweening ? this : (void 0 === opt_config && this._configured || this.setConfig(opt_config), + this._timestamp = now(), + this._start(this.get(), this._attachment), + this.resume()) + } + , + Tweenable.prototype.setConfig = function(config) { + config = config || {}, + this._configured = !0, + this._attachment = config.attachment, + this._pausedAtTime = null, + this._scheduleId = null, + this._delay = config.delay || 0, + this._start = config.start || noop, + this._step = config.step || noop, + this._finish = config.finish || noop, + this._duration = config.duration || 500, + this._currentState = shallowCopy({}, config.from || this.get()), + this._originalState = this.get(), + this._targetState = shallowCopy({}, config.to || this.get()); + var self = this; + this._timeoutHandler = function() { + timeoutHandler(self, self._timestamp, self._delay, self._duration, self._currentState, self._originalState, self._targetState, self._easing, self._step, self._scheduleFunction) + } + ; + var currentState = this._currentState; + var targetState = this._targetState; + return defaults(targetState, currentState), + this._easing = composeEasingObject(currentState, config.easing || "linear"), + this._filterArgs = [currentState, this._originalState, targetState, this._easing], + applyFilter(this, "tweenCreated"), + this + } + , + Tweenable.prototype.get = function() { + return shallowCopy({}, this._currentState) + } + , + Tweenable.prototype.set = function(state) { + this._currentState = state + } + , + Tweenable.prototype.pause = function() { + return this._pausedAtTime = now(), + this._isPaused = !0, + this + } + , + Tweenable.prototype.resume = function() { + return this._isPaused && (this._timestamp += now() - this._pausedAtTime), + this._isPaused = !1, + this._isTweening = !0, + this._timeoutHandler(), + this + } + , + Tweenable.prototype.seek = function(millisecond) { + millisecond = Math.max(millisecond, 0); + var currentTime = now(); + return this._timestamp + millisecond === 0 || (this._timestamp = currentTime - millisecond, + this.isPlaying()) || (this._isTweening = !0, + this._isPaused = !1, + timeoutHandler(this, this._timestamp, this._delay, this._duration, this._currentState, this._originalState, this._targetState, this._easing, this._step, this._scheduleFunction, currentTime), + this.pause()), + this + } + , + Tweenable.prototype.stop = function(gotoEnd) { + return this._isTweening = !1, + this._isPaused = !1, + this._timeoutHandler = noop, + (root.cancelAnimationFrame || root.webkitCancelAnimationFrame || root.oCancelAnimationFrame || root.msCancelAnimationFrame || root.mozCancelRequestAnimationFrame || root.clearTimeout)(this._scheduleId), + gotoEnd && (applyFilter(this, "beforeTween"), + tweenProps(1, this._currentState, this._originalState, this._targetState, 1, 0, this._easing), + applyFilter(this, "afterTween"), + applyFilter(this, "afterTweenEnd"), + this._finish.call(this, this._currentState, this._attachment)), + this + } + , + Tweenable.prototype.isPlaying = function() { + return this._isTweening && !this._isPaused + } + , + Tweenable.prototype.setScheduleFunction = function(scheduleFunction) { + this._scheduleFunction = scheduleFunction + } + , + Tweenable.prototype.dispose = function() { + var prop; + for (prop in this) + this.hasOwnProperty(prop) && delete this[prop] + } + , + Tweenable.prototype.filter = {}, + formula = Tweenable.prototype.formula = { + linear: function(pos) { + return pos + } + }, + shallowCopy(Tweenable, { + now: now, + each: each, + tweenProps: tweenProps, + tweenProp: tweenProp, + applyFilter: applyFilter, + shallowCopy: shallowCopy, + defaults: defaults, + composeEasingObject: composeEasingObject + }), + "function" == typeof SHIFTY_DEBUG_NOW && (root.timeoutHandler = timeoutHandler), + "object" == typeof exports ? module.exports = Tweenable : void 0 === root.Tweenable && (root.Tweenable = Tweenable), + Tweenable + }(); + function cubicBezierAtTime(t, p1x, p1y, p2x, p2y, duration) { + var ax = 0 + , bx = 0 + , cx = 0 + , ay = 0 + , by = 0 + , cy = 0; + function sampleCurveX(t) { + return ((ax * t + bx) * t + cx) * t + } + function sampleCurveY(t) { + return ((ay * t + by) * t + cy) * t + } + function sampleCurveDerivativeX(t) { + return (3 * ax * t + 2 * bx) * t + cx + } + function solveEpsilon(duration) { + return 1 / (200 * duration) + } + function solve(x, epsilon) { + return sampleCurveY(solveCurveX(x, epsilon)) + } + function fabs(n) { + return 0 <= n ? n : 0 - n + } + function solveCurveX(x, epsilon) { + var t0, t1, t2, x2, d2, i; + for (t2 = x, + i = 0; i < 8; i++) { + if (fabs(x2 = sampleCurveX(t2) - x) < epsilon) + return t2; + if (fabs(d2 = sampleCurveDerivativeX(t2)) < 1e-6) + break; + t2 -= x2 / d2 + } + if ((t2 = x) < (t0 = 0)) + return t0; + if ((t1 = 1) < t2) + return t1; + for (; t0 < t1; ) { + if (fabs((x2 = sampleCurveX(t2)) - x) < epsilon) + return t2; + x2 < x ? t0 = t2 : t1 = t2, + t2 = .5 * (t1 - t0) + t0 + } + return t2 + } + return ax = 1 - (cx = 3 * p1x) - (bx = 3 * (p2x - p1x) - cx), + ay = 1 - (cy = 3 * p1y) - (by = 3 * (p2y - p1y) - cy), + solve(t, 1 / (200 * duration)) + } + function getCubicBezierTransition(x1, y1, x2, y2) { + return function(pos) { + return cubicBezierAtTime(pos, x1, y1, x2, y2, 1) + } + } + function getInterpolatedValues(from, current, targetState, position, easing, delay) { + return Tweenable.tweenProps(position, current, from, targetState, 1, delay, easing) + } + var mockTweenable; + Tweenable.shallowCopy(Tweenable.prototype.formula, { + easeInQuad: function(pos) { + return Math.pow(pos, 2) + }, + easeOutQuad: function(pos) { + return -(Math.pow(pos - 1, 2) - 1) + }, + easeInOutQuad: function(pos) { + return (pos /= .5) < 1 ? .5 * Math.pow(pos, 2) : -.5 * ((pos -= 2) * pos - 2) + }, + easeInCubic: function(pos) { + return Math.pow(pos, 3) + }, + easeOutCubic: function(pos) { + return Math.pow(pos - 1, 3) + 1 + }, + easeInOutCubic: function(pos) { + return (pos /= .5) < 1 ? .5 * Math.pow(pos, 3) : .5 * (Math.pow(pos - 2, 3) + 2) + }, + easeInQuart: function(pos) { + return Math.pow(pos, 4) + }, + easeOutQuart: function(pos) { + return -(Math.pow(pos - 1, 4) - 1) + }, + easeInOutQuart: function(pos) { + return (pos /= .5) < 1 ? .5 * Math.pow(pos, 4) : -.5 * ((pos -= 2) * Math.pow(pos, 3) - 2) + }, + easeInQuint: function(pos) { + return Math.pow(pos, 5) + }, + easeOutQuint: function(pos) { + return Math.pow(pos - 1, 5) + 1 + }, + easeInOutQuint: function(pos) { + return (pos /= .5) < 1 ? .5 * Math.pow(pos, 5) : .5 * (Math.pow(pos - 2, 5) + 2) + }, + easeInSine: function(pos) { + return 1 - Math.cos(pos * (Math.PI / 2)) + }, + easeOutSine: function(pos) { + return Math.sin(pos * (Math.PI / 2)) + }, + easeInOutSine: function(pos) { + return -.5 * (Math.cos(Math.PI * pos) - 1) + }, + easeInExpo: function(pos) { + return 0 === pos ? 0 : Math.pow(2, 10 * (pos - 1)) + }, + easeOutExpo: function(pos) { + return 1 === pos ? 1 : 1 - Math.pow(2, -10 * pos) + }, + easeInOutExpo: function(pos) { + return 0 === pos ? 0 : 1 === pos ? 1 : (pos /= .5) < 1 ? .5 * Math.pow(2, 10 * (pos - 1)) : .5 * (2 - Math.pow(2, -10 * --pos)) + }, + easeInCirc: function(pos) { + return -(Math.sqrt(1 - pos * pos) - 1) + }, + easeOutCirc: function(pos) { + return Math.sqrt(1 - Math.pow(pos - 1, 2)) + }, + easeInOutCirc: function(pos) { + return (pos /= .5) < 1 ? -.5 * (Math.sqrt(1 - pos * pos) - 1) : .5 * (Math.sqrt(1 - (pos -= 2) * pos) + 1) + }, + easeOutBounce: function(pos) { + return pos < 1 / 2.75 ? 7.5625 * pos * pos : pos < 2 / 2.75 ? 7.5625 * (pos -= 1.5 / 2.75) * pos + .75 : pos < 2.5 / 2.75 ? 7.5625 * (pos -= 2.25 / 2.75) * pos + .9375 : 7.5625 * (pos -= 2.625 / 2.75) * pos + .984375 + }, + easeInBack: function(pos) { + var s = 1.70158; + return pos * pos * ((1 + s) * pos - s) + }, + easeOutBack: function(pos) { + var s = 1.70158; + return (pos -= 1) * pos * ((1 + s) * pos + s) + 1 + }, + easeInOutBack: function(pos) { + var s = 1.70158; + return (pos /= .5) < 1 ? pos * pos * ((1 + (s *= 1.525)) * pos - s) * .5 : .5 * ((pos -= 2) * pos * ((1 + (s *= 1.525)) * pos + s) + 2) + }, + elastic: function(pos) { + return -1 * Math.pow(4, -8 * pos) * Math.sin((6 * pos - 1) * (2 * Math.PI) / 2) + 1 + }, + swingFromTo: function(pos) { + var s = 1.70158; + return (pos /= .5) < 1 ? pos * pos * ((1 + (s *= 1.525)) * pos - s) * .5 : .5 * ((pos -= 2) * pos * ((1 + (s *= 1.525)) * pos + s) + 2) + }, + swingFrom: function(pos) { + var s = 1.70158; + return pos * pos * ((1 + s) * pos - s) + }, + swingTo: function(pos) { + var s = 1.70158; + return --pos * pos * ((1 + s) * pos + s) + 1 + }, + bounce: function(pos) { + return pos < 1 / 2.75 ? 7.5625 * pos * pos : pos < 2 / 2.75 ? 7.5625 * (pos -= 1.5 / 2.75) * pos + .75 : pos < 2.5 / 2.75 ? 7.5625 * (pos -= 2.25 / 2.75) * pos + .9375 : 7.5625 * (pos -= 2.625 / 2.75) * pos + .984375 + }, + bouncePast: function(pos) { + return pos < 1 / 2.75 ? 7.5625 * pos * pos : pos < 2 / 2.75 ? 2 - (7.5625 * (pos -= 1.5 / 2.75) * pos + .75) : pos < 2.5 / 2.75 ? 2 - (7.5625 * (pos -= 2.25 / 2.75) * pos + .9375) : 2 - (7.5625 * (pos -= 2.625 / 2.75) * pos + .984375) + }, + easeFromTo: function(pos) { + return (pos /= .5) < 1 ? .5 * Math.pow(pos, 4) : -.5 * ((pos -= 2) * Math.pow(pos, 3) - 2) + }, + easeFrom: function(pos) { + return Math.pow(pos, 4) + }, + easeTo: function(pos) { + return Math.pow(pos, .25) + } + }), + Tweenable.setBezierFunction = function(name, x1, y1, x2, y2) { + var cubicBezierTransition = getCubicBezierTransition(x1, y1, x2, y2); + return cubicBezierTransition.displayName = name, + cubicBezierTransition.x1 = x1, + cubicBezierTransition.y1 = y1, + cubicBezierTransition.x2 = x2, + cubicBezierTransition.y2 = y2, + Tweenable.prototype.formula[name] = cubicBezierTransition + } + , + Tweenable.unsetBezierFunction = function(name) { + delete Tweenable.prototype.formula[name] + } + , + (mockTweenable = new Tweenable)._filterArgs = [], + Tweenable.interpolate = function(from, targetState, position, easing, opt_delay) { + var current = Tweenable.shallowCopy({}, from); + var opt_delay = opt_delay || 0; + var easing = Tweenable.composeEasingObject(from, easing || "linear"); + mockTweenable.set({}); + var filterArgs = mockTweenable._filterArgs; + filterArgs.length = 0, + filterArgs[0] = current, + filterArgs[1] = from, + filterArgs[2] = targetState, + filterArgs[3] = easing, + Tweenable.applyFilter(mockTweenable, "tweenCreated"), + Tweenable.applyFilter(mockTweenable, "beforeTween"); + var filterArgs = getInterpolatedValues(from, current, targetState, position, easing, opt_delay); + return Tweenable.applyFilter(mockTweenable, "afterTween"), + filterArgs + } + , + function(Tweenable) { + var R_NUMBER_COMPONENT = /(\d|\-|\.)/; + var R_FORMAT_CHUNKS = /([^\-0-9\.]+)/g; + var R_UNFORMATTED_VALUES = /[0-9.\-]+/g; + var R_RGB = new RegExp("rgb\\(" + R_UNFORMATTED_VALUES.source + /,\s*/.source + R_UNFORMATTED_VALUES.source + /,\s*/.source + R_UNFORMATTED_VALUES.source + "\\)","g"); + var R_RGB_PREFIX = /^.*\(/; + var R_HEX = /#([0-9]|[a-f]){3,6}/gi; + var VALUE_PLACEHOLDER = "VAL"; + function getFormatChunksFrom(rawValues, prefix) { + var accumulator = []; + var rawValuesLength = rawValues.length; + var i; + for (i = 0; i < rawValuesLength; i++) + accumulator.push("_" + prefix + "_" + i); + return accumulator + } + function getFormatStringFrom(formattedString) { + var chunks = formattedString.match(R_FORMAT_CHUNKS); + return chunks ? 1 !== chunks.length && !formattedString.charAt(0).match(R_NUMBER_COMPONENT) || chunks.unshift("") : chunks = ["", ""], + chunks.join(VALUE_PLACEHOLDER) + } + function sanitizeObjectForHexProps(stateObject) { + Tweenable.each(stateObject, function(prop) { + var currentProp = stateObject[prop]; + "string" == typeof currentProp && currentProp.match(R_HEX) && (stateObject[prop] = sanitizeHexChunksToRGB(currentProp)) + }) + } + function sanitizeHexChunksToRGB(str) { + return filterStringChunks(R_HEX, str, convertHexToRGB) + } + function convertHexToRGB(hexString) { + var hexString = hexToRGBArray(hexString); + return "rgb(" + hexString[0] + "," + hexString[1] + "," + hexString[2] + ")" + } + var hexToRGBArray_returnArray = []; + function hexToRGBArray(hex) { + return 3 === (hex = hex.replace(/#/, "")).length && (hex = (hex = hex.split(""))[0] + hex[0] + hex[1] + hex[1] + hex[2] + hex[2]), + hexToRGBArray_returnArray[0] = hexToDec(hex.substr(0, 2)), + hexToRGBArray_returnArray[1] = hexToDec(hex.substr(2, 2)), + hexToRGBArray_returnArray[2] = hexToDec(hex.substr(4, 2)), + hexToRGBArray_returnArray + } + function hexToDec(hex) { + return parseInt(hex, 16) + } + function filterStringChunks(pattern, unfilteredString, filter) { + var pattenMatches = unfilteredString.match(pattern); + var filteredString = unfilteredString.replace(pattern, VALUE_PLACEHOLDER); + if (pattenMatches) { + var pattenMatchesLength = pattenMatches.length; + var currentChunk; + for (var i = 0; i < pattenMatchesLength; i++) + currentChunk = pattenMatches.shift(), + filteredString = filteredString.replace(VALUE_PLACEHOLDER, filter(currentChunk)) + } + return filteredString + } + function sanitizeRGBChunks(formattedString) { + return filterStringChunks(R_RGB, formattedString, sanitizeRGBChunk) + } + function sanitizeRGBChunk(rgbChunk) { + var numbers = rgbChunk.match(R_UNFORMATTED_VALUES); + var numbersLength = numbers.length; + var sanitizedString = rgbChunk.match(R_RGB_PREFIX)[0]; + for (var i = 0; i < numbersLength; i++) + sanitizedString += parseInt(numbers[i], 10) + ","; + return sanitizedString = sanitizedString.slice(0, -1) + ")" + } + function getFormatManifests(stateObject) { + var manifestAccumulator = {}; + return Tweenable.each(stateObject, function(prop) { + var currentProp = stateObject[prop]; + var rawValues; + "string" == typeof currentProp && (rawValues = getValuesFrom(currentProp), + manifestAccumulator[prop] = { + formatString: getFormatStringFrom(currentProp), + chunkNames: getFormatChunksFrom(rawValues, prop) + }) + }), + manifestAccumulator + } + function expandFormattedProperties(stateObject, formatManifests) { + Tweenable.each(formatManifests, function(prop) { + var currentProp; + var rawValues = getValuesFrom(stateObject[prop]); + var rawValuesLength = rawValues.length; + for (var i = 0; i < rawValuesLength; i++) + stateObject[formatManifests[prop].chunkNames[i]] = +rawValues[i]; + delete stateObject[prop] + }) + } + function collapseFormattedProperties(stateObject, formatManifests) { + Tweenable.each(formatManifests, function(prop) { + var currentProp = stateObject[prop]; + var formatChunks; + var valuesList = getValuesList(extractPropertyChunks(stateObject, formatManifests[prop].chunkNames), formatManifests[prop].chunkNames); + currentProp = getFormattedValues(formatManifests[prop].formatString, valuesList), + stateObject[prop] = sanitizeRGBChunks(currentProp) + }) + } + function extractPropertyChunks(stateObject, chunkNames) { + var extractedValues = {}; + var currentChunkName, chunkNamesLength = chunkNames.length; + for (var i = 0; i < chunkNamesLength; i++) + extractedValues[currentChunkName = chunkNames[i]] = stateObject[currentChunkName], + delete stateObject[currentChunkName]; + return extractedValues + } + var getValuesList_accumulator = []; + function getValuesList(stateObject, chunkNames) { + getValuesList_accumulator.length = 0; + var chunkNamesLength = chunkNames.length; + for (var i = 0; i < chunkNamesLength; i++) + getValuesList_accumulator.push(stateObject[chunkNames[i]]); + return getValuesList_accumulator + } + function getFormattedValues(formatString, rawValues) { + var formattedValueString = formatString; + var rawValuesLength = rawValues.length; + for (var i = 0; i < rawValuesLength; i++) + formattedValueString = formattedValueString.replace(VALUE_PLACEHOLDER, +rawValues[i].toFixed(4)); + return formattedValueString + } + function getValuesFrom(formattedString) { + return formattedString.match(R_UNFORMATTED_VALUES) + } + function expandEasingObject(easingObject, tokenData) { + Tweenable.each(tokenData, function(prop) { + var currentProp; + var chunkNames = tokenData[prop].chunkNames; + var chunkLength = chunkNames.length; + var easing = easingObject[prop]; + var i; + if ("string" == typeof easing) { + var easingChunks = easing.split(" "); + var lastEasingChunk = easingChunks[easingChunks.length - 1]; + for (i = 0; i < chunkLength; i++) + easingObject[chunkNames[i]] = easingChunks[i] || lastEasingChunk + } else + for (i = 0; i < chunkLength; i++) + easingObject[chunkNames[i]] = easing; + delete easingObject[prop] + }) + } + function collapseEasingObject(easingObject, tokenData) { + Tweenable.each(tokenData, function(prop) { + var currentProp; + var chunkNames = tokenData[prop].chunkNames; + var chunkLength = chunkNames.length; + var firstEasing = easingObject[chunkNames[0]]; + var typeofEasings; + if ("string" == typeof firstEasing) { + var composedEasingString = ""; + for (var i = 0; i < chunkLength; i++) + composedEasingString += " " + easingObject[chunkNames[i]], + delete easingObject[chunkNames[i]]; + easingObject[prop] = composedEasingString.substr(1) + } else + easingObject[prop] = firstEasing + }) + } + Tweenable.prototype.filter.token = { + tweenCreated: function(currentState, fromState, toState, easingObject) { + sanitizeObjectForHexProps(currentState), + sanitizeObjectForHexProps(fromState), + sanitizeObjectForHexProps(toState), + this._tokenData = getFormatManifests(currentState) + }, + beforeTween: function(currentState, fromState, toState, easingObject) { + expandEasingObject(easingObject, this._tokenData), + expandFormattedProperties(currentState, this._tokenData), + expandFormattedProperties(fromState, this._tokenData), + expandFormattedProperties(toState, this._tokenData) + }, + afterTween: function(currentState, fromState, toState, easingObject) { + collapseFormattedProperties(currentState, this._tokenData), + collapseFormattedProperties(fromState, this._tokenData), + collapseFormattedProperties(toState, this._tokenData), + collapseEasingObject(easingObject, this._tokenData) + } + } + }(Tweenable) + } + .call(null) + } + , {}], + 2: [function(require, module, exports) { + var Shape = require("./shape"); + var utils = require("./utils"); + var require = function Circle(container, options) { + this._pathTemplate = "M 50,50 m 0,-{radius} a {radius},{radius} 0 1 1 0,{2radius} a {radius},{radius} 0 1 1 0,-{2radius}", + this.containerAspectRatio = 1, + Shape.apply(this, arguments) + }; + ((require.prototype = new Shape).constructor = require).prototype._pathString = function _pathString(opts) { + var widthOfWider = opts.strokeWidth; + var opts = 50 - (widthOfWider = opts.trailWidth && opts.trailWidth > opts.strokeWidth ? opts.trailWidth : widthOfWider) / 2; + return utils.render(this._pathTemplate, { + radius: opts, + "2radius": 2 * opts + }) + } + , + require.prototype._trailString = function _trailString(opts) { + return this._pathString(opts) + } + , + module.exports = require + } + , { + "./shape": 7, + "./utils": 9 + }], + 3: [function(require, module, exports) { + var Shape = require("./shape"); + var utils = require("./utils"); + var require = function Line(container, options) { + this._pathTemplate = "M 0,{center} L 100,{center}", + Shape.apply(this, arguments) + }; + ((require.prototype = new Shape).constructor = require).prototype._initializeSvg = function _initializeSvg(svg, opts) { + svg.setAttribute("viewBox", "0 0 100 " + opts.strokeWidth), + svg.setAttribute("preserveAspectRatio", "none") + } + , + require.prototype._pathString = function _pathString(opts) { + return utils.render(this._pathTemplate, { + center: opts.strokeWidth / 2 + }) + } + , + require.prototype._trailString = function _trailString(opts) { + return this._pathString(opts) + } + , + module.exports = require + } + , { + "./shape": 7, + "./utils": 9 + }], + 4: [function(require, module, exports) { + module.exports = { + Line: require("./line"), + Circle: require("./circle"), + SemiCircle: require("./semicircle"), + Square: require("./square"), + Path: require("./path"), + Shape: require("./shape"), + utils: require("./utils") + } + } + , { + "./circle": 2, + "./line": 3, + "./path": 5, + "./semicircle": 6, + "./shape": 7, + "./square": 8, + "./utils": 9 + }], + 5: [function(require, module, exports) { + var Tweenable = require("shifty"); + var utils = require("./utils"); + var EASING_ALIASES = { + easeIn: "easeInCubic", + easeOut: "easeOutCubic", + easeInOut: "easeInOutCubic" + }; + var require = function Path(path, opts) { + if (!(this instanceof Path)) + throw new Error("Constructor was called without new keyword"); + var path; + opts = utils.extend({ + duration: 800, + easing: "linear", + from: {}, + to: {}, + step: function() {} + }, opts), + path = utils.isString(path) ? document.querySelector(path) : path, + this.path = path, + this._opts = opts, + this._tweenable = null; + var path = this.path.getTotalLength(); + this.path.style.strokeDasharray = path + " " + path, + this.set(0) + }; + require.prototype.value = function value() { + var offset = this._getComputedDashOffset(); + var length = this.path.getTotalLength(); + var progress; + return parseFloat((1 - offset / length).toFixed(6), 10) + } + , + require.prototype.set = function set(progress) { + this.stop(), + this.path.style.strokeDashoffset = this._progressToOffset(progress); + var step = this._opts.step; + var easing, values, reference; + utils.isFunction(step) && (easing = this._easing(this._opts.easing), + step(this._calculateTo(progress, easing), this._opts.shape || this, this._opts.attachment)) + } + , + require.prototype.stop = function stop() { + this._stopTween(), + this.path.style.strokeDashoffset = this._getComputedDashOffset() + } + , + require.prototype.animate = function animate(progress, opts, cb) { + opts = opts || {}, + utils.isFunction(opts) && (cb = opts, + opts = {}); + var passedOpts = utils.extend({}, opts); + var defaultOpts = utils.extend({}, this._opts); + opts = utils.extend(defaultOpts, opts); + var defaultOpts = this._easing(opts.easing); + var passedOpts = this._resolveFromAndTo(progress, defaultOpts, passedOpts); + this.stop(), + this.path.getBoundingClientRect(); + var offset = this._getComputedDashOffset(); + var progress = this._progressToOffset(progress); + var self = this; + this._tweenable = new Tweenable, + this._tweenable.tween({ + from: utils.extend({ + offset: offset + }, passedOpts.from), + to: utils.extend({ + offset: progress + }, passedOpts.to), + duration: opts.duration, + easing: defaultOpts, + step: function(state) { + self.path.style.strokeDashoffset = state.offset; + var reference = opts.shape || self; + opts.step(state, reference, opts.attachment) + }, + finish: function(state) { + utils.isFunction(cb) && cb() + } + }) + } + , + require.prototype._getComputedDashOffset = function _getComputedDashOffset() { + var computedStyle = window.getComputedStyle(this.path, null); + return parseFloat(computedStyle.getPropertyValue("stroke-dashoffset"), 10) + } + , + require.prototype._progressToOffset = function _progressToOffset(progress) { + var length = this.path.getTotalLength(); + return length - progress * length + } + , + require.prototype._resolveFromAndTo = function _resolveFromAndTo(progress, easing, opts) { + return opts.from && opts.to ? { + from: opts.from, + to: opts.to + } : { + from: this._calculateFrom(easing), + to: this._calculateTo(progress, easing) + } + } + , + require.prototype._calculateFrom = function _calculateFrom(easing) { + return Tweenable.interpolate(this._opts.from, this._opts.to, this.value(), easing) + } + , + require.prototype._calculateTo = function _calculateTo(progress, easing) { + return Tweenable.interpolate(this._opts.from, this._opts.to, progress, easing) + } + , + require.prototype._stopTween = function _stopTween() { + null !== this._tweenable && (this._tweenable.stop(), + this._tweenable = null) + } + , + require.prototype._easing = function _easing(easing) { + return EASING_ALIASES.hasOwnProperty(easing) ? EASING_ALIASES[easing] : easing + } + , + module.exports = require + } + , { + "./utils": 9, + shifty: 1 + }], + 6: [function(require, module, exports) { + var Shape = require("./shape"); + var Circle = require("./circle"); + var utils = require("./utils"); + var require = function SemiCircle(container, options) { + this._pathTemplate = "M 50,50 m -{radius},0 a {radius},{radius} 0 1 1 {2radius},0", + this.containerAspectRatio = 2, + Shape.apply(this, arguments) + }; + ((require.prototype = new Shape).constructor = require).prototype._initializeSvg = function _initializeSvg(svg, opts) { + svg.setAttribute("viewBox", "0 0 100 50") + } + , + require.prototype._initializeTextContainer = function _initializeTextContainer(opts, container, textContainer) { + opts.text.style && (textContainer.style.top = "auto", + textContainer.style.bottom = "0", + opts.text.alignToBottom ? utils.setStyle(textContainer, "transform", "translate(-50%, 0)") : utils.setStyle(textContainer, "transform", "translate(-50%, 50%)")) + } + , + require.prototype._pathString = Circle.prototype._pathString, + require.prototype._trailString = Circle.prototype._trailString, + module.exports = require + } + , { + "./circle": 2, + "./shape": 7, + "./utils": 9 + }], + 7: [function(require, module, exports) { + var Path = require("./path"); + var utils = require("./utils"); + var DESTROYED_ERROR = "Object is destroyed"; + var require = function Shape(container, opts) { + if (!(this instanceof Shape)) + throw new Error("Constructor was called without new keyword"); + if (0 !== arguments.length) { + this._opts = utils.extend({ + color: "#555", + strokeWidth: 1, + trailColor: null, + trailWidth: null, + fill: null, + text: { + style: { + color: null, + position: "absolute", + left: "50%", + top: "50%", + padding: 0, + margin: 0, + transform: { + prefix: !0, + value: "translate(-50%, -50%)" + } + }, + autoStyleContainer: !0, + alignToBottom: !0, + value: null, + className: "progressbar-text" + }, + svgStyle: { + display: "block", + width: "100%" + }, + warnings: !1 + }, opts, !0), + utils.isObject(opts) && void 0 !== opts.svgStyle && (this._opts.svgStyle = opts.svgStyle), + utils.isObject(opts) && utils.isObject(opts.text) && void 0 !== opts.text.style && (this._opts.text.style = opts.text.style); + var opts = this._createSvgView(this._opts); + var element; + if (!(element = utils.isString(container) ? document.querySelector(container) : container)) + throw new Error("Container does not exist: " + container); + this._container = element, + this._container.appendChild(opts.svg), + this._opts.warnings && this._warnContainerAspectRatio(this._container), + this._opts.svgStyle && utils.setStyles(opts.svg, this._opts.svgStyle), + this.svg = opts.svg, + this.path = opts.path, + this.trail = opts.trail, + this.text = null; + var container = utils.extend({ + attachment: void 0, + shape: this + }, this._opts); + this._progressPath = new Path(opts.path,container), + utils.isObject(this._opts.text) && null !== this._opts.text.value && this.setText(this._opts.text.value) + } + }; + require.prototype.animate = function animate(progress, opts, cb) { + if (null === this._progressPath) + throw new Error(DESTROYED_ERROR); + this._progressPath.animate(progress, opts, cb) + } + , + require.prototype.stop = function stop() { + if (null === this._progressPath) + throw new Error(DESTROYED_ERROR); + void 0 !== this._progressPath && this._progressPath.stop() + } + , + require.prototype.destroy = function destroy() { + if (null === this._progressPath) + throw new Error(DESTROYED_ERROR); + this.stop(), + this.svg.parentNode.removeChild(this.svg), + this.svg = null, + this.path = null, + this.trail = null, + (this._progressPath = null) !== this.text && (this.text.parentNode.removeChild(this.text), + this.text = null) + } + , + require.prototype.set = function set(progress) { + if (null === this._progressPath) + throw new Error(DESTROYED_ERROR); + this._progressPath.set(progress) + } + , + require.prototype.value = function value() { + if (null === this._progressPath) + throw new Error(DESTROYED_ERROR); + return void 0 === this._progressPath ? 0 : this._progressPath.value() + } + , + require.prototype.setText = function setText(newText) { + if (null === this._progressPath) + throw new Error(DESTROYED_ERROR); + null === this.text && (this.text = this._createTextContainer(this._opts, this._container), + this._container.appendChild(this.text)), + utils.isObject(newText) ? (utils.removeChildren(this.text), + this.text.appendChild(newText)) : this.text.innerHTML = newText + } + , + require.prototype._createSvgView = function _createSvgView(opts) { + var svg = document.createElementNS("http://www.w3.org/2000/svg", "svg"); + this._initializeSvg(svg, opts); + var trailPath = null; + (opts.trailColor || opts.trailWidth) && (trailPath = this._createTrail(opts), + svg.appendChild(trailPath)); + var opts = this._createPath(opts); + return svg.appendChild(opts), + { + svg: svg, + path: opts, + trail: trailPath + } + } + , + require.prototype._initializeSvg = function _initializeSvg(svg, opts) { + svg.setAttribute("viewBox", "0 0 100 100") + } + , + require.prototype._createPath = function _createPath(opts) { + var pathString = this._pathString(opts); + return this._createPathElement(pathString, opts) + } + , + require.prototype._createTrail = function _createTrail(opts) { + var pathString = this._trailString(opts); + var opts = utils.extend({}, opts); + return opts.trailColor || (opts.trailColor = "#eee"), + opts.trailWidth || (opts.trailWidth = opts.strokeWidth), + opts.color = opts.trailColor, + opts.strokeWidth = opts.trailWidth, + opts.fill = null, + this._createPathElement(pathString, opts) + } + , + require.prototype._createPathElement = function _createPathElement(pathString, opts) { + var path = document.createElementNS("http://www.w3.org/2000/svg", "path"); + return path.setAttribute("d", pathString), + path.setAttribute("stroke", opts.color), + path.setAttribute("stroke-width", opts.strokeWidth), + opts.fill ? path.setAttribute("fill", opts.fill) : path.setAttribute("fill-opacity", "0"), + path + } + , + require.prototype._createTextContainer = function _createTextContainer(opts, container) { + var textContainer = document.createElement("div"); + textContainer.className = opts.text.className; + var textStyle = opts.text.style; + return textStyle && (opts.text.autoStyleContainer && (container.style.position = "relative"), + utils.setStyles(textContainer, textStyle), + textStyle.color || (textContainer.style.color = opts.color)), + this._initializeTextContainer(opts, container, textContainer), + textContainer + } + , + require.prototype._initializeTextContainer = function(opts, container, element) {} + , + require.prototype._pathString = function _pathString(opts) { + throw new Error("Override this function for each progress bar") + } + , + require.prototype._trailString = function _trailString(opts) { + throw new Error("Override this function for each progress bar") + } + , + require.prototype._warnContainerAspectRatio = function _warnContainerAspectRatio(container) { + var computedStyle, width, height; + this.containerAspectRatio && (computedStyle = window.getComputedStyle(container, null), + width = parseFloat(computedStyle.getPropertyValue("width"), 10), + height = parseFloat(computedStyle.getPropertyValue("height"), 10), + utils.floatEquals(this.containerAspectRatio, width / height) || (console.warn("Incorrect aspect ratio of container", "#" + container.id, "detected:", computedStyle.getPropertyValue("width") + "(width)", "/", computedStyle.getPropertyValue("height") + "(height)", "=", width / height), + console.warn("Aspect ratio of should be", this.containerAspectRatio))) + } + , + module.exports = require + } + , { + "./path": 5, + "./utils": 9 + }], + 8: [function(require, module, exports) { + var Shape = require("./shape"); + var utils = require("./utils"); + var require = function Square(container, options) { + this._pathTemplate = "M 0,{halfOfStrokeWidth} L {width},{halfOfStrokeWidth} L {width},{width} L {halfOfStrokeWidth},{width} L {halfOfStrokeWidth},{strokeWidth}", + this._trailTemplate = "M {startMargin},{halfOfStrokeWidth} L {width},{halfOfStrokeWidth} L {width},{width} L {halfOfStrokeWidth},{width} L {halfOfStrokeWidth},{halfOfStrokeWidth}", + Shape.apply(this, arguments) + }; + ((require.prototype = new Shape).constructor = require).prototype._pathString = function _pathString(opts) { + var w = 100 - opts.strokeWidth / 2; + return utils.render(this._pathTemplate, { + width: w, + strokeWidth: opts.strokeWidth, + halfOfStrokeWidth: opts.strokeWidth / 2 + }) + } + , + require.prototype._trailString = function _trailString(opts) { + var w = 100 - opts.strokeWidth / 2; + return utils.render(this._trailTemplate, { + width: w, + strokeWidth: opts.strokeWidth, + halfOfStrokeWidth: opts.strokeWidth / 2, + startMargin: opts.strokeWidth / 2 - opts.trailWidth / 2 + }) + } + , + module.exports = require + } + , { + "./shape": 7, + "./utils": 9 + }], + 9: [function(require, module, exports) { + var PREFIXES = "Webkit Moz O ms".split(" "); + var FLOAT_COMPARISON_EPSILON = .001; + function extend(destination, source, recursive) { + for (var attrName in destination = destination || {}, + recursive = recursive || !1, + source = source || {}) { + var destVal, sourceVal; + source.hasOwnProperty(attrName) && (destVal = destination[attrName], + sourceVal = source[attrName], + recursive && isObject(destVal) && isObject(sourceVal) ? destination[attrName] = extend(destVal, sourceVal, recursive) : destination[attrName] = sourceVal) + } + return destination + } + function render(template, vars) { + var rendered = template; + for (var key in vars) { + var val, regExpString, key; + vars.hasOwnProperty(key) && (val = vars[key], + key = new RegExp("\\{" + key + "\\}","g"), + rendered = rendered.replace(key, val)) + } + return rendered + } + function setStyle(element, style, value) { + var elStyle = element.style; + for (var i = 0; i < PREFIXES.length; ++i) { + var prefix; + elStyle[PREFIXES[i] + capitalize(style)] = value + } + elStyle[style] = value + } + function setStyles(element, styles) { + forEachObject(styles, function(styleValue, styleName) { + null != styleValue && (isObject(styleValue) && !0 === styleValue.prefix ? setStyle(element, styleName, styleValue.value) : element.style[styleName] = styleValue) + }) + } + function capitalize(text) { + return text.charAt(0).toUpperCase() + text.slice(1) + } + function isString(obj) { + return "string" == typeof obj || obj instanceof String + } + function isFunction(obj) { + return "function" == typeof obj + } + function isArray(obj) { + return "[object Array]" === Object.prototype.toString.call(obj) + } + function isObject(obj) { + var type; + return !isArray(obj) && "object" == typeof obj && !!obj + } + function forEachObject(object, callback) { + for (var key in object) { + var val; + object.hasOwnProperty(key) && callback(object[key], key) + } + } + function floatEquals(a, b) { + return Math.abs(a - b) < .001 + } + function removeChildren(el) { + for (; el.firstChild; ) + el.removeChild(el.firstChild) + } + module.exports = { + extend: extend, + render: render, + setStyle: setStyle, + setStyles: setStyles, + capitalize: capitalize, + isString: isString, + isFunction: isFunction, + isObject: isObject, + forEachObject: forEachObject, + floatEquals: floatEquals, + removeChildren: removeChildren + } + } + , {}] + }, {}, [4])(4) + } + , + module.exports = f() + }); + function getCss() { + return "\n #h5branding-center {\n position: absolute;\n top: 45%;\n left: 50%;\n transform: translate(-50%, -20%);\n text-align: center;\n width: 100%;\n }\n #h5branding-wrapper {\n position: relative;\n z-index: 665;\n width: 150px;\n height: 150px;\n display:inline-block;\n margin: 35px 40px 96px 40px;\n }\n\n #h5branding-version {\n position: absolute;\n right: 10px;\n font-family: Helvetica, Arial, sans-serif;\n color: #ffffff;\n font-size: 0.8em;\n top: 10px;\n display: none;\n }\n\n #h5branding-wrapper > #h5branding-bar, #h5branding-wrapper > img {\n box-shadow: inset 10px 10px 20px 5px rgba(0, 0, 0, 0.5);\n border-radius: 50%;\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n }\n\n #h5branding-ad {\n position: relative;\n z-index: 667;\n border-radius: 5px;\n border: 3px solid white;\n background: rgba(256, 256, 256, 0.2);\n width: 336px;\n height: 280px;\n display: none;\n margin: 0px 10px 0px 10px;\n }\n\n #h5branding-wrapper > img {\n /* Needs appropriate vendor prefixes */\n box-sizing: border-box;\n\n /* This needs to be equal to strokeWidth */\n padding: 4%;\n }\n\n #h5branding-wrapper > img {\n border-radius: 50%;\n box-shadow: inset 0 5px 5px rgba(0, 0, 0, 0.5), 5px 5px 7px rgba(0, 0, 0, 0.3);\n }\n\n #h5branding-container {\n box-sizing: border-box;\n position: absolute;\n z-index: 664;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background-color: #000;\n overflow: hidden;\n }\n\n #h5branding-background {\n position: absolute;\n top: -25%;\n left: -25%;\n width: 150%;\n height: 150%;\n background-blend-mode: multiply;\n background-size: cover;\n filter: blur(40px) brightness(1.5);\n }\n\n @media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {\n /* IE10+ CSS styles go here */\n #h5branding-background {\n background-image: none !important;\n }\n }\n\n #h5branding-logo {\n position: absolute;\n margin: 0 auto;\n left: 0;\n right: 0;\n text-align: center;\n top: 10%;\n }\n\n #h5branding-logo > img {\n height: 150px;\n }\n\n #h5branding-title {\n position: absolute;\n width: 100%;\n background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.5) 50%, transparent);\n color: #fff;\n text-shadow: 0 0 1px rgba(0, 0, 0, 0.7);\n bottom:10%;\n padding: 15px 0;\n text-align: center;\n font-size: 18px;\n font-family: Helvetica, Arial, sans-serif;\n font-weight: bold;\n line-height: 100%;\n }\n\n #h5branding-button {\n /* border: 0; */\n padding: 10px 22px;\n border-radius: 5px;\n border: 3px solid white;\n background: linear-gradient(0deg, #dddddd, #ffffff);\n color: #222;\n text-transform: uppercase;\n text-shadow: 0 0 1px #fff;\n font-family: Helvetica, Arial, sans-serif;\n font-weight: bold;\n font-size: 18px;\n cursor: pointer;\n box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);\n display: none;\n width: 150px;\n position: absolute;\n top: 170px;\n margin: 0 auto;\n left: 0;\n right: 0;\n }\n\n @media (orientation: portrait) and (max-width: 1080px) {\n #h5branding-logo > img {\n height: initial;\n width:100%;\n }\n }\n\n @media (orientation: landscape) and (max-height: 640px) {\n #h5branding-title {\n display: none;\n }\n\n #h5branding-logo > img {\n height: 100px;\n }\n }\n\n @media (orientation: landscape) and (max-height: 460px) {\n #h5branding-title {\n display: none;\n }\n\n #h5branding-wrapper {\n width: 110px;\n height: 110px;\n margin: 0;\n }\n\n #h5branding-logo {\n top: 0;\n transform: scale(0.7, 0.7);\n }\n\n #h5branding-button {\n top: initial;\n width: 110px;\n font-size: 14px;\n position: absolute;\n top: 140px;\n left: 0;\n right: 0;\n }\n\n #h5branding-ad {\n display: none !important;\n }\n }\n\n @media (orientation: portrait) and (max-width: 250px) {\n #h5branding-logo {\n top: 2%;\n }\n }\n\n @media (orientation: landscape) and (max-width: 330px) {\n #h5branding-button {\n top: 120px;\n }\n\n #h5branding-logo > img {\n height: 70px;\n }\n }\n\n @media (max-width: 600px) and (max-height: 850px) {\n #h5branding-ad {\n display: none !important;\n }\n }\n\n @media (max-width: 600px) and (max-height: 1100px) {\n #h5branding-center {\n top: 40%;\n }\n\n #h5branding-title {\n bottom: 5%\n }\n }\n\n @media (max-width: 600px) and (max-height: 900px) {\n #h5branding-title {\n display: none\n }\n }\n\n @media (orientation: landscape) and (min-width: 800px) {\n #h5branding-wrapper {\n margin-left: 120px;\n margin-right: 120px;\n }\n }\n\n " + } + function getHtml(gameLogo, gameTitle) { + return '\n \n \n \n\n \n\n\n\n\n \n \n
').concat(gameTitle, "\n ") + } + var BrandingDomain = function() { + function SplashLoader(options) { + this.circleLoader = null, + this.loaded = !1, + this.showPlayButton = "undefined" == typeof playBtn || playBtn, + this.progress = 0, + this.options = { + gameId: "12346", + gameTitle: "Place Holder", + gameName: "place-holder", + libs: [], + version: "dev", + barColor: "white", + gaMeasurementId: "none" + }, + this.options.gameId = options.gameId, + this.options.gameTitle = options.gameTitle, + this.options.version = options.version, + this.options.barColor = options.barColor || this.options.barColor, + this.options.libs = options.libs, + this.options.gaMeasurementId = options.gaMeasurementId + } + return SplashLoader.getInstance = function(options) { + if (!SplashLoader.instance) { + if (!options) + throw new Error("Can not create new SplashLoader instance without options!"); + SplashLoader.instance = new SplashLoader(options) + } + return SplashLoader.instance + } + , + SplashLoader.prototype.create = function() { + return __awaiter(this, void 0, void 0, function() { + var css, html, head, style, css, head, style; + return __generator(this, function(_a) { + switch (_a.label) { + case 0: + return css = getCss(), + html = getHtml(this.getGameLogoUrl(), this.options.gameTitle), + head = document.head || document.getElementsByTagName("head")[0], + (style = document.createElement("style")).type = "text/css", + style.styleSheet ? style.styleSheet.cssText = css : style.appendChild(document.createTextNode(css)), + head.appendChild(style), + (css = document.createElement("div")).innerHTML = html, + css.id = "h5branding-container", + (head = document.body || document.getElementsByTagName("body")[0]).insertBefore(css, head.firstChild), + this.circleLoader = new progressbar.Circle("#h5branding-bar",{ + strokeWidth: 3, + color: this.options.barColor + }), + (style = document.getElementById("h5branding-version")) && (style.innerHTML = this.options.version), + [4, this.loadLibs()]; + case 1: + return _a.sent(), + [4, Utils.loadHost()]; + case 2: + return _a.sent(), + [4, this.loadBranding()]; + case 3: + return _a.sent(), + this.loaded = !0, + [2] + } + }) + }) + } + , + SplashLoader.prototype.loadBranding = function() { + return __awaiter(this, void 0, void 0, function() { + var background, background, logo; + return __generator(this, function(_a) { + switch (_a.label) { + case 0: + return [4, Branding.preload(Date.now().toString())]; + case 1: + return _a.sent(), + (background = document.getElementById("h5branding-background")) && (background.style.backgroundColor = Branding.brandingBackgroundColor), + (background = document.getElementById("h5branding-logo")) && Utils.getBrandingDomain() !== exports.BrandingDomain.Neutral && ((logo = document.createElement("img")).src = Branding.brandingLogoUrl.replace("_small", ""), + background.appendChild(logo)), + [2] + } + }) + }) + } + , + SplashLoader.prototype.loadLibs = function() { + var _this = this; + var scripts = this.options.libs.map(function(url, index) { + return Loader.instance.loadScript(url, !0, function() { + _this.setScriptloadProgress(scripts.length, index + 1) + }) + }); + return Promise.all(scripts) + } + , + Object.defineProperty(SplashLoader.prototype, "bannerAllowed", { + get: function() { + var width = document.body.clientWidth; + var height = document.body.clientHeight; + return this.progress < 100 && !(height < width && height <= 460) && !(width < 600 && height < 850) + }, + enumerable: !1, + configurable: !0 + }), + SplashLoader.prototype.showBanner = function() { + var banner; + return this.bannerAllowed && (banner = document.getElementById("h5branding-ad")) ? (banner.style.display = "inline-flex", + banner) : null + } + , + SplashLoader.prototype.setScriptloadProgress = function(maxScripts, increment) { + var progress; + this.circleLoader.animate(.3 * increment / maxScripts, null, function() {}) + } + , + SplashLoader.prototype.setLoadProgress = function(progress) { + var _this = this; + var button_1; + this.loaded && (100 === (this.progress = progress = 30 + .7 * progress) ? (button_1 = document.querySelector("#h5branding-button"), + this.circleLoader.animate(1, null, function() { + !Utils.inGDGameZone() && button_1 && !0 === _this.showPlayButton ? button_1.style.display = "block" : !Utils.inGDGameZone() && !1 !== _this.showPlayButton || _this.onPlayButtonClick() + })) : this.circleLoader.animate(progress / 100, null, function() {})) + } + , + SplashLoader.prototype.setButtonCallback = function(cb) { + this.buttonCallback = cb + } + , + SplashLoader.prototype.onPlayButtonClick = function() { + this.buttonCallback && this.buttonCallback() + } + , + SplashLoader.prototype.destroy = function() { + var element = document.querySelector("#h5branding-container"); + null !== element && null !== element.parentNode && element.parentNode.removeChild(element) + } + , + SplashLoader.prototype.getGameLogoUrl = function() { + return "assets/icon.jpeg" + } + , + SplashLoader + }(); + exports.Branding = Branding, + exports.Domain = Domain, + exports.Hosts = Hosts, + exports.SplashLoader = BrandingDomain, + exports.Utils = Utils, + Object.defineProperty(exports, "__esModule", { + value: !0 + }) +}), +(()=>{ + var __webpack_modules__ = { + 34: module=>{ + "use strict"; + var has = Object.prototype.hasOwnProperty + , prefix = "~"; + function Events() {} + function EE(fn, context, once) { + this.fn = fn, + this.context = context, + this.once = once || !1 + } + function addListener(emitter, event, fn, context, once) { + if ("function" != typeof fn) + throw new TypeError("The listener must be a function"); + var fn = new EE(fn,context || emitter,once) + , context = prefix ? prefix + event : event; + return emitter._events[context] ? emitter._events[context].fn ? emitter._events[context] = [emitter._events[context], fn] : emitter._events[context].push(fn) : (emitter._events[context] = fn, + emitter._eventsCount++), + emitter + } + function clearEvent(emitter, evt) { + 0 == --emitter._eventsCount ? emitter._events = new Events : delete emitter._events[evt] + } + function EventEmitter() { + this._events = new Events, + this._eventsCount = 0 + } + Object.create && (Events.prototype = Object.create(null), + (new Events).__proto__ || (prefix = !1)), + EventEmitter.prototype.eventNames = function eventNames() { + var names = [], events, name; + if (0 === this._eventsCount) + return names; + for (name in events = this._events) + has.call(events, name) && names.push(prefix ? name.slice(1) : name); + return Object.getOwnPropertySymbols ? names.concat(Object.getOwnPropertySymbols(events)) : names + } + , + EventEmitter.prototype.listeners = function listeners(event) { + var event = prefix ? prefix + event : event + , handlers = this._events[event]; + if (!handlers) + return []; + if (handlers.fn) + return [handlers.fn]; + for (var i = 0, l = handlers.length, ee = new Array(l); i < l; i++) + ee[i] = handlers[i].fn; + return ee + } + , + EventEmitter.prototype.listenerCount = function listenerCount(event) { + var event = prefix ? prefix + event : event + , event = this._events[event]; + return event ? event.fn ? 1 : event.length : 0 + } + , + EventEmitter.prototype.emit = function emit(event, a1, a2, a3, a4, a5) { + var evt = prefix ? prefix + event : event; + if (!this._events[evt]) + return !1; + var listeners = this._events[evt], len = arguments.length, args, i; + if (listeners.fn) { + switch (listeners.once && this.removeListener(event, listeners.fn, void 0, !0), + len) { + case 1: + return listeners.fn.call(listeners.context), + !0; + case 2: + return listeners.fn.call(listeners.context, a1), + !0; + case 3: + return listeners.fn.call(listeners.context, a1, a2), + !0; + case 4: + return listeners.fn.call(listeners.context, a1, a2, a3), + !0; + case 5: + return listeners.fn.call(listeners.context, a1, a2, a3, a4), + !0; + case 6: + return listeners.fn.call(listeners.context, a1, a2, a3, a4, a5), + !0 + } + for (i = 1, + args = new Array(len - 1); i < len; i++) + args[i - 1] = arguments[i]; + listeners.fn.apply(listeners.context, args) + } else { + var length = listeners.length, j; + for (i = 0; i < length; i++) + switch (listeners[i].once && this.removeListener(event, listeners[i].fn, void 0, !0), + len) { + case 1: + listeners[i].fn.call(listeners[i].context); + break; + case 2: + listeners[i].fn.call(listeners[i].context, a1); + break; + case 3: + listeners[i].fn.call(listeners[i].context, a1, a2); + break; + case 4: + listeners[i].fn.call(listeners[i].context, a1, a2, a3); + break; + default: + if (!args) + for (j = 1, + args = new Array(len - 1); j < len; j++) + args[j - 1] = arguments[j]; + listeners[i].fn.apply(listeners[i].context, args) + } + } + return !0 + } + , + EventEmitter.prototype.on = function on(event, fn, context) { + return addListener(this, event, fn, context, !1) + } + , + EventEmitter.prototype.once = function once(event, fn, context) { + return addListener(this, event, fn, context, !0) + } + , + EventEmitter.prototype.removeListener = function removeListener(event, fn, context, once) { + var event = prefix ? prefix + event : event; + if (this._events[event]) + if (fn) { + var listeners = this._events[event]; + if (listeners.fn) + listeners.fn !== fn || once && !listeners.once || context && listeners.context !== context || clearEvent(this, event); + else { + for (var i = 0, events = [], length = listeners.length; i < length; i++) + (listeners[i].fn !== fn || once && !listeners[i].once || context && listeners[i].context !== context) && events.push(listeners[i]); + events.length ? this._events[event] = 1 === events.length ? events[0] : events : clearEvent(this, event) + } + } else + clearEvent(this, event); + return this + } + , + EventEmitter.prototype.removeAllListeners = function removeAllListeners(event) { + var event; + return event ? (event = prefix ? prefix + event : event, + this._events[event] && clearEvent(this, event)) : (this._events = new Events, + this._eventsCount = 0), + this + } + , + EventEmitter.prototype.off = EventEmitter.prototype.removeListener, + EventEmitter.prototype.addListener = EventEmitter.prototype.on, + EventEmitter.prefixed = prefix, + module.exports = EventEmitter.EventEmitter = EventEmitter + } + , + 729: (module,exports,__webpack_require__)=>{ + var __webpack_require__, exports; + __webpack_require__ = [__webpack_require__, exports, __webpack_require__(548), __webpack_require__(498)], + void 0 !== (exports = function(require, exports, AdWrapper_1, types_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: !0 + }), + exports.AdType = exports.AdEvents = exports.ProviderTypes = exports.GameDistributionBannerSize = exports.GameDistributionAlignment = exports.AdWrapper = void 0, + Object.defineProperty(exports, "AdWrapper", { + enumerable: !0, + get: function() { + return AdWrapper_1.AdWrapper + } + }), + Object.defineProperty(exports, "GameDistributionAlignment", { + enumerable: !0, + get: function() { + return types_1.GameDistributionAlignment + } + }), + Object.defineProperty(exports, "GameDistributionBannerSize", { + enumerable: !0, + get: function() { + return types_1.GameDistributionBannerSize + } + }), + Object.defineProperty(exports, "ProviderTypes", { + enumerable: !0, + get: function() { + return types_1.ProviderTypes + } + }), + Object.defineProperty(exports, "AdEvents", { + enumerable: !0, + get: function() { + return types_1.AdEvents + } + }), + Object.defineProperty(exports, "AdType", { + enumerable: !0, + get: function() { + return types_1.AdType + } + }) + } + .apply(exports, __webpack_require__)) && (module.exports = exports) + } + , + 470: (module,exports,__webpack_require__)=>{ + var __webpack_require__, exports; + __webpack_require__ = [__webpack_require__, exports, __webpack_require__(12)], + void 0 !== (exports = function(require, exports, shared_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: !0 + }), + exports.JioAdProvider = void 0; + var JioAdProvider = function() { + function JioAdProvider(config) { + this.adsEnabled = !1; + var adSpotInterstitial = config.adSpotInterstitial + , adSpotRewardedVideo = config.adSpotRewardedVideo + , config = config.gamePackage; + try { + window.adSpotInterstitial = adSpotInterstitial, + window.adSpotRewardedVideo = adSpotRewardedVideo, + window.isAdReady = !1, + window.isRVReady = !1, + window.isINSReady = !1, + window.gamePackage = config + } catch (err) { + console.log("Could not initialize Jio Games SDK", err) + } + } + return JioAdProvider.prototype.setManager = function(manager) { + this.adManager = manager + } + , + JioAdProvider.prototype.showAd = function(adType, adSpotKey) { + var _this = this; + if (void 0 === adType && (adType = shared_1.AdType.interstitial), + this.adAvailable(adType)) { + if (window.hasOwnProperty("onAdView") && (window.onAdView, + 1) && (window.onAdView = function(cbAdSpot) { + setTimeout(function() { + console.log("JioGames ads: onAdView " + cbAdSpot), + _this.resumeGameplay() + }, 2e3) + } + ), + window.hasOwnProperty("onAdClosed") && (window.onAdClosed, + 1) && (window.onAdClosed = function(data, pIsVideoCompleted, pIsEligibleForReward) { + var localData = data.split(","); + var data = data; + var pIsVideoCompleted = pIsVideoCompleted; + var pIsEligibleForReward = pIsEligibleForReward; + null != localData && 1 < localData.length && (data = localData[0].trim(), + pIsVideoCompleted = Boolean(localData[1].trim()), + pIsEligibleForReward = Boolean(localData[2].trim())), + data === window.adSpotInterstitial && (window.isAdReady = !1), + data === window.adSpotRewardedVideo && (window.isRVReady = !1, + pIsEligibleForReward) && pIsVideoCompleted && _this.adManager.emit(shared_1.AdEvents.AD_REWARDED), + setTimeout(function() { + console.log("JioGames ads: onAdClose"), + _this.resumeGameplay() + }, 3e3) + } + ), + adType === shared_1.AdType.interstitial && window.hasOwnProperty("showAdMidRoll") && (window.showAdMidRoll, + 1)) + try { + window.adSpotInterstitial = adSpotKey, + window.showAdMidRoll(adSpotKey, window.gamePackage) + } catch (e) { + this.resumeGameplay(), + console.log("Error caching midroll ads") + } + if (adType === shared_1.AdType.rewarded && window.hasOwnProperty("showAdRewardedVideo") && (window.showAdRewardedVideo, + 1)) + try { + window.adSpotRewardedVideo = adSpotKey, + window.showAdRewardedVideo(adSpotKey, window.gamePackage) + } catch (e) { + this.resumeGameplay(), + console.log("Error caching rewarded ads") + } + } else + console.log("Cannot show Jio ads; Ads were not preloaded or failed to load. Resuming game"), + this.resumeGameplay() + } + , + JioAdProvider.prototype.resumeGameplay = function() { + this.adManager.emit(shared_1.AdEvents.CONTENT_RESUMED) + } + , + JioAdProvider.prototype.preloadAd = function(adType, adSpotKey) { + if (void 0 === adType && (adType = shared_1.AdType.interstitial), + console.log("Calling cache Jio Ad"), + adType === shared_1.AdType.interstitial && window.hasOwnProperty("cacheAdMidRoll") && (window.cacheAdMidRoll, + 1)) + try { + window.adSpotInterstitial = adSpotKey, + window.cacheAdMidRoll(adSpotKey, window.gamePackage) + } catch (e) { + console.log("Error caching midroll ads") + } + if (adType === shared_1.AdType.rewarded && window.hasOwnProperty("cacheAdRewardedVideo") && (window.cacheAdRewardedVideo, + 1)) + try { + window.adSpotRewardedVideo = adSpotKey, + window.cacheAdRewardedVideo(adSpotKey, window.gamePackage) + } catch (e) { + console.log("Error cacheAdRewardedVideo of Jio rewarded ads") + } + window.hasOwnProperty("onAdPrepared") && (window.onAdPrepared, + 1) && (window.onAdPrepared = function(preparedAdSpotKey) { + try { + preparedAdSpotKey === window.adSpotInterstitial && (window.isAdReady = !0), + preparedAdSpotKey === window.adSpotRewardedVideo && (window.isRVReady = !0) + } catch (e) { + console.log("Error onAdPrepared for Jio rewarded ads") + } + } + ), + window.hasOwnProperty("onAdFailedToLoad") && (window.onAdFailedToLoad, + 1) && (window.onAdFailedToLoad = function(data, pDescription) { + var localData = data.split(","); + var failedAdSpotKey = data; + var pDescription = pDescription; + null != localData && 1 < localData.length && (failedAdSpotKey = localData[0].trim(), + pDescription = localData[1].trim()); + try { + failedAdSpotKey === window.adSpotInterstitial && (window.isAdReady = !1), + failedAdSpotKey === window.adSpotRewardedVideo && (window.isRVReady = !1), + console.log("JioGames: onAdFailedToLoad => ".concat(data.toString(), " => ").concat(pDescription)) + } catch (e) { + console.log("Error loading Jio ads") + } + } + ) + } + , + JioAdProvider.prototype.destroyAd = function() {} + , + JioAdProvider.prototype.hideAd = function() {} + , + JioAdProvider.prototype.adAvailable = function(adType) { + return !0 + } + , + JioAdProvider + }(); + exports.JioAdProvider = JioAdProvider + } + .apply(exports, __webpack_require__)) && (module.exports = exports) + } + , + 766: (module,exports,__webpack_require__)=>{ + var __webpack_require__, exports; + __webpack_require__ = [__webpack_require__, exports, __webpack_require__(470)], + void 0 !== (exports = function(require, exports, JioAdProvider_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: !0 + }), + exports.JioAdProvider = void 0, + Object.defineProperty(exports, "JioAdProvider", { + enumerable: !0, + get: function() { + return JioAdProvider_1.JioAdProvider + } + }) + } + .apply(exports, __webpack_require__)) && (module.exports = exports) + } + , + 110: (module,exports,__webpack_require__)=>{ + var __webpack_require__, exports; + __webpack_require__ = [__webpack_require__, exports, __webpack_require__(12)], + void 0 !== (exports = function(require, exports, shared_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: !0 + }), + exports.AdFreeUntrackedProvider = void 0; + var AdFreeUntrackedProvider = function() { + function AdFreeUntrackedProvider() { + this.adsEnabled = !1 + } + return AdFreeUntrackedProvider.prototype.setManager = function(manager) { + this.adManager = manager + } + , + AdFreeUntrackedProvider.prototype.showAd = function(adType) { + void 0 === adType && (adType = shared_1.AdType.interstitial), + this.resumeGameplay() + } + , + AdFreeUntrackedProvider.prototype.resumeGameplay = function() { + this.adManager.emit(shared_1.AdEvents.CONTENT_RESUMED) + } + , + AdFreeUntrackedProvider.prototype.preloadAd = function(adType) { + void 0 === adType && (adType = shared_1.AdType.interstitial) + } + , + AdFreeUntrackedProvider.prototype.destroyAd = function() {} + , + AdFreeUntrackedProvider.prototype.hideAd = function() {} + , + AdFreeUntrackedProvider.prototype.adAvailable = function(adType) { + return !0 + } + , + AdFreeUntrackedProvider + }(); + exports.AdFreeUntrackedProvider = AdFreeUntrackedProvider + } + .apply(exports, __webpack_require__)) && (module.exports = exports) + } + , + 670: (module,exports,__webpack_require__)=>{ + var __webpack_require__, exports; + __webpack_require__ = [__webpack_require__, exports, __webpack_require__(12)], + void 0 !== (exports = function(require, exports, shared_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: !0 + }), + exports.DummyProvider = void 0; + var DummyProvider = function() { + function DummyProvider() { + this.adsEnabled = !1 + } + return DummyProvider.prototype.setManager = function(manager) { + this.adManager = manager, + this.adsEnabled = !0 + } + , + DummyProvider.prototype.showAd = function(adType) { + var _this = this; + void 0 === adType && (adType = shared_1.AdType.interstitial), + console.log("[Dummy]: Ad type requested = ", adType === shared_1.AdType.interstitial ? "interstitial" : "rewarded"), + this.adManager.emit(shared_1.AdEvents.CONTENT_PAUSED); + var num = Math.floor(2 * Math.random()); + console.log("[Dummy]:Ad Available =>", 0 === num), + 1 === num ? (console.log("[Dummy]:AD ERROR / UNAVAILABLE"), + setTimeout(function() { + console.log("[Dummy]: Resuming game"), + _this.resumeGameplay() + }, 200)) : (adType === shared_1.AdType.rewarded && setTimeout(function() { + console.log("[Dummy]: Reward Claimed for rewarded ad"), + _this.adManager.emit(shared_1.AdEvents.AD_REWARDED) + }, 100), + setTimeout(function() { + console.log("[Dummy]: Finished watching ad"), + console.log("[Dummy]: Resuming game"), + _this.resumeGameplay() + }, 200)) + } + , + DummyProvider.prototype.resumeGameplay = function() { + this.adManager.emit(shared_1.AdEvents.CONTENT_RESUMED) + } + , + DummyProvider.prototype.preloadAd = function(adType) { + void 0 === adType && (adType = shared_1.AdType.interstitial) + } + , + DummyProvider.prototype.destroyAd = function() {} + , + DummyProvider.prototype.hideAd = function() {} + , + DummyProvider.prototype.adAvailable = function(adType) { + return !0 + } + , + DummyProvider + }(); + exports.DummyProvider = DummyProvider + } + .apply(exports, __webpack_require__)) && (module.exports = exports) + } + , + 474: (module,exports,__webpack_require__)=>{ + var __webpack_require__, exports; + __webpack_require__ = [__webpack_require__, exports, __webpack_require__(12)], + void 0 !== (exports = function(require, exports, shared_1) { + "use strict"; + var GameDistributionAdType; + Object.defineProperty(exports, "__esModule", { + value: !0 + }), + exports.GameDistribution = exports.GameDistributionAdType = void 0, + function(GameDistributionAdType) { + GameDistributionAdType.interstitial = "interstitial", + GameDistributionAdType.rewarded = "rewarded", + GameDistributionAdType.display = "display" + }(GameDistributionAdType = exports.GameDistributionAdType || (exports.GameDistributionAdType = {})); + var GameDistribution = function() { + function GameDistribution(gameId) { + var _this = this; + if (this.adsEnabled = !1, + this.hasRewarded = !1, + this.adShowing = !1, + !gameId) + throw new Error("Valid game id is not provided for GD Ad provider"); + var gameId, s, id, fjs; + window.GD_OPTIONS = { + gameId: gameId, + advertisementSettings: { + autoplay: !1 + }, + onEvent: function(event) { + switch (event.name) { + case "SDK_GAME_PAUSE": + _this.adManager.emit(shared_1.AdEvents.CONTENT_PAUSED); + break; + case "SDK_ERROR": + _this.adManager.emit(shared_1.AdEvents.CONTENT_RESUMED); + break; + case "SDK_READY": + _this.sdkLoaded(); + break; + case "SDK_REWARDED_WATCH_COMPLETE": + _this.adManager.emit(shared_1.AdEvents.AD_REWARDED), + _this.hasRewarded = !1; + break; + default: + break + } + } + }, + gameId = document, + s = "script", + id = "gamedistribution-jssdk", + fjs = gameId.getElementsByTagName(s)[0], + gameId.getElementById(id) || ((gameId = gameId.createElement(s)).id = id, + gameId.src = "patch/js/gd-sdk.js?html5.api.gamedistribution.com/main.min.js", + fjs.parentNode && fjs.parentNode.insertBefore(gameId, fjs)) + } + return GameDistribution.prototype.setManager = function(manager) { + this.adManager = manager, + this.adManager.emit(shared_1.AdEvents.AD_PROVIDER_LOADED) + } + , + GameDistribution.prototype.sdkLoaded = function() { + this.adsEnabled = !0 + } + , + GameDistribution.prototype.showAd = function(adType) { + var _this = this; + this.adsEnabled ? void 0 === window.gdsdk || window.gdsdk && void 0 === window.gdsdk.showAd ? (this.adsEnabled = !1, + this.adManager.emit(shared_1.AdEvents.CONTENT_RESUMED)) : window.gdsdk.showAd(adType === shared_1.AdType.rewarded ? GameDistributionAdType.rewarded : GameDistributionAdType.interstitial).then(function() { + _this.adManager.emit(shared_1.AdEvents.CONTENT_RESUMED) + }).catch(function() { + adType === shared_1.AdType.rewarded && _this.hasRewarded && (_this.hasRewarded = !1), + _this.adManager.emit(shared_1.AdEvents.CONTENT_RESUMED) + }) : this.adManager.emit(shared_1.AdEvents.CONTENT_RESUMED) + } + , + GameDistribution.prototype.preloadAd = function(adType) { + var _this = this; + !this.hasRewarded && this.adsEnabled && adType === shared_1.AdType.rewarded && (console.log("preloading ad"), + window.gdsdk.preloadAd(GameDistributionAdType.rewarded).then(function() { + _this.hasRewarded = !0, + _this.adManager.emit(shared_1.AdEvents.AD_LOADED, adType) + })) + } + , + GameDistribution.prototype.adAvailable = function(adType) { + return adType !== shared_1.AdType.rewarded || this.hasRewarded + } + , + GameDistribution.prototype.destroyAd = function() {} + , + GameDistribution.prototype.hideAd = function() {} + , + GameDistribution + }(); + exports.GameDistribution = GameDistribution + } + .apply(exports, __webpack_require__)) && (module.exports = exports) + } + , + 444: (module,exports,__webpack_require__)=>{ + var __webpack_require__, exports; + __webpack_require__ = [__webpack_require__, exports, __webpack_require__(474), __webpack_require__(869)], + void 0 !== (exports = function(require, exports, GameDistribution_1, gamedistribution_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: !0 + }), + exports.GameDistributionBanner = void 0; + var GameDistributionBanner = function() { + function GameDistributionBanner() { + this.scaleFactor = 1, + this.offsetX = 0, + this.offsetY = 0, + this.element = document.createElement("div"), + this.element.style.position = "absolute", + this.element.style.top = "0px", + this.element.style.left = "0px", + this.element.id = "banner-".concat(Date.now()).concat(1e7 * Math.random() | 0), + document.body.appendChild(this.element) + } + return GameDistributionBanner.prototype.loadBanner = function() { + return void 0 === window.gdsdk ? Promise.reject("GD Sdk not available, probably due to adblocker") : window.gdsdk.showAd(GameDistribution_1.GameDistributionAdType.display, { + containerId: this.element.id + }) + } + , + GameDistributionBanner.prototype.destroy = function() { + document.body.removeChild(this.element), + this.resizeListener && window.removeEventListener("resize", this.resizeListener), + delete this.element, + delete this.parent, + delete this.alignment + } + , + GameDistributionBanner.prototype.alignIn = function(element, position) { + var _this = this; + this.parent ? console.warn("Banner already aligned, ignoring...") : (this.parent = element, + this.alignment = position, + this.resizeListener = function() { + return _this.resize() + } + , + window.addEventListener("resize", this.resizeListener), + this.resize()) + } + , + GameDistributionBanner.prototype.setOffset = function(x, y) { + void 0 === y && (y = 0), + this.offsetX = x = void 0 === x ? 0 : x, + this.offsetY = y, + this.resize() + } + , + GameDistributionBanner.prototype.resize = function() { + if (this.parent) { + var parentBoundingRect = this.parent.getBoundingClientRect(); + switch (this.alignment) { + case gamedistribution_1.GameDistributionAlignment.TopLeft: + this.position(parentBoundingRect.left, parentBoundingRect.top); + break; + case gamedistribution_1.GameDistributionAlignment.TopCenter: + this.position(parentBoundingRect.left + parentBoundingRect.width / 2 - this.width * this.scaleFactor / 2, parentBoundingRect.top); + break; + case gamedistribution_1.GameDistributionAlignment.TopRight: + this.position(parentBoundingRect.left + parentBoundingRect.width - this.width * this.scaleFactor, parentBoundingRect.top); + break; + case gamedistribution_1.GameDistributionAlignment.CenterLeft: + this.position(parentBoundingRect.left, parentBoundingRect.top + parentBoundingRect.height / 2 - this.height * this.scaleFactor / 2); + break; + case gamedistribution_1.GameDistributionAlignment.Center: + this.position(parentBoundingRect.left + parentBoundingRect.width / 2 - this.width * this.scaleFactor / 2, parentBoundingRect.top + parentBoundingRect.height / 2 - this.height * this.scaleFactor / 2); + break; + case gamedistribution_1.GameDistributionAlignment.CenterRight: + this.position(parentBoundingRect.left + parentBoundingRect.width - this.width * this.scaleFactor, parentBoundingRect.top + parentBoundingRect.height / 2 - this.height * this.scaleFactor / 2); + break; + case gamedistribution_1.GameDistributionAlignment.BottomLeft: + this.position(parentBoundingRect.left, parentBoundingRect.top + parentBoundingRect.height - this.height * this.scaleFactor); + break; + case gamedistribution_1.GameDistributionAlignment.BottomCenter: + this.position(parentBoundingRect.left + parentBoundingRect.width / 2 - this.width * this.scaleFactor / 2, parentBoundingRect.top + parentBoundingRect.height - this.height * this.scaleFactor); + break; + case gamedistribution_1.GameDistributionAlignment.BottomRight: + this.position(parentBoundingRect.left + parentBoundingRect.width - this.width * this.scaleFactor, parentBoundingRect.top + parentBoundingRect.height - this.height * this.scaleFactor); + break + } + } + } + , + GameDistributionBanner.prototype.setSize = function(size) { + var width; + var height; + switch (size) { + default: + case gamedistribution_1.GameDistributionBannerSize.LargeRectangle: + width = 336, + height = 280; + break; + case gamedistribution_1.GameDistributionBannerSize.MediumRectangle: + width = 300, + height = 250; + break; + case gamedistribution_1.GameDistributionBannerSize.Billboard: + width = 970, + height = 250; + break; + case gamedistribution_1.GameDistributionBannerSize.Leaderboard: + width = 728, + height = 90; + break; + case gamedistribution_1.GameDistributionBannerSize.Skyscraper: + width = 120, + height = 600; + break; + case gamedistribution_1.GameDistributionBannerSize.WideSkyscraper: + width = 160, + height = 600; + break + } + this.width = width, + this.height = height, + this.element.style.width = "".concat(width, "px"), + this.element.style.height = "".concat(height, "px") + } + , + GameDistributionBanner.prototype.position = function(x, y) { + this.element.style.left = "".concat(x + this.offsetX, "px"), + this.element.style.top = "".concat(y + this.offsetY, "px") + } + , + GameDistributionBanner.prototype.scale = function(factor) { + this.element.style.transformOrigin = "left top", + this.scaleFactor = factor, + this.element.style.transform = "scale(".concat(factor, ")") + } + , + GameDistributionBanner + }(); + exports.GameDistributionBanner = GameDistributionBanner + } + .apply(exports, __webpack_require__)) && (module.exports = exports) + } + , + 654: (module,exports,__webpack_require__)=>{ + var __webpack_require__, exports; + __webpack_require__ = [__webpack_require__, exports, __webpack_require__(12)], + void 0 !== (exports = function(require, exports, shared_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: !0 + }), + exports.YandexAdProvider = void 0; + var YandexAdProvider = function() { + function YandexAdProvider(partnerID) { + var _this = this; + var d, s, id, fjs; + this.adsEnabled = !1, + d = document, + s = "script", + id = "yandex-jssdk", + fjs = d.getElementsByTagName(s)[0], + d.getElementById(id) || ((d = d.createElement(s)).addEventListener("load", function() { + _this.initialize() + }), + d.id = id, + d.src = "//yandex.ru/games/sdk/v2", + fjs.parentNode.insertBefore(d, fjs)) + } + return YandexAdProvider.prototype.setManager = function(manager) { + this.adManager = manager + } + , + YandexAdProvider.prototype.showAd = function(adType) { + var _this = this; + var _a, _a, _a, adType, _a, _a, adType, _a; + void 0 === adType && (adType = shared_1.AdType.interstitial), + this.adsEnabled && window.hasOwnProperty("_YaSDK") ? adType === shared_1.AdType.interstitial && null != (_a = null == (_a = window._YaSDK) ? void 0 : _a.adv) && _a.adOpened || (adType === shared_1.AdType.rewarded ? null != (_a = null == (adType = null == (_a = window._YaSDK) ? void 0 : _a.adv) ? void 0 : adType.showRewardedVideo) && _a.call(adType, { + callbacks: { + onOpen: function() { + console.log("Video ad open."), + _this.adManager.emit(shared_1.AdEvents.CONTENT_PAUSED) + }, + onRewarded: function() { + console.log("Rewarded!"), + _this.adManager.emit(shared_1.AdEvents.AD_REWARDED) + }, + onClose: function() { + console.log("Video ad closed."), + _this.resumeGameplay() + }, + onError: function(e) { + console.log("Error while open video ad:", e), + _this.resumeGameplay() + } + } + }) : null != (_a = null == (adType = null == (_a = window._YaSDK) ? void 0 : _a.adv) ? void 0 : adType.showFullscreenAdv) && _a.call(adType, { + callbacks: { + onOpen: function() { + console.log("Video ad open."), + _this.adManager.emit(shared_1.AdEvents.CONTENT_PAUSED) + }, + onClose: function() { + _this.resumeGameplay() + }, + onError: function() { + _this.resumeGameplay() + } + } + })) : this.resumeGameplay() + } + , + YandexAdProvider.prototype.initialize = function() { + var _this = this; + window.YaGames.init().then(function(ysdk) { + window._YaSDK = ysdk, + _this.adsEnabled = !0 + }) + } + , + YandexAdProvider.prototype.resumeGameplay = function() { + this.adManager.emit(shared_1.AdEvents.CONTENT_RESUMED) + } + , + YandexAdProvider.prototype.preloadAd = function(adType) { + void 0 === adType && (adType = shared_1.AdType.interstitial), + this.adManager.emit(shared_1.AdEvents.AD_LOADED, adType) + } + , + YandexAdProvider.prototype.destroyAd = function() {} + , + YandexAdProvider.prototype.hideAd = function() {} + , + YandexAdProvider.prototype.adAvailable = function(adType) { + return !0 + } + , + YandexAdProvider + }(); + exports.YandexAdProvider = YandexAdProvider + } + .apply(exports, __webpack_require__)) && (module.exports = exports) + } + , + 563: (module,exports,__webpack_require__)=>{ + var __webpack_require__, exports; + __webpack_require__ = [__webpack_require__, exports, __webpack_require__(110), __webpack_require__(670), __webpack_require__(474), __webpack_require__(444), __webpack_require__(654)], + void 0 !== (exports = function(require, exports, AdFreeUntrackedProvider_1, DummyProvider_1, GameDistribution_1, GameDistributionBanner_1, YandexAdProvider_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: !0 + }), + exports.YandexAdProvider = exports.GameDistributionBanner = exports.GameDistribution = exports.DummyProvider = exports.AdFreeUntrackedProvider = void 0, + Object.defineProperty(exports, "AdFreeUntrackedProvider", { + enumerable: !0, + get: function() { + return AdFreeUntrackedProvider_1.AdFreeUntrackedProvider + } + }), + Object.defineProperty(exports, "DummyProvider", { + enumerable: !0, + get: function() { + return DummyProvider_1.DummyProvider + } + }), + Object.defineProperty(exports, "GameDistribution", { + enumerable: !0, + get: function() { + return GameDistribution_1.GameDistribution + } + }), + Object.defineProperty(exports, "GameDistributionBanner", { + enumerable: !0, + get: function() { + return GameDistributionBanner_1.GameDistributionBanner + } + }), + Object.defineProperty(exports, "YandexAdProvider", { + enumerable: !0, + get: function() { + return YandexAdProvider_1.YandexAdProvider + } + }) + } + .apply(exports, __webpack_require__)) && (module.exports = exports) + } + , + 869: (module,exports,__webpack_require__)=>{ + var __WEBPACK_AMD_DEFINE_ARRAY__, __webpack_require__; + void 0 !== (__webpack_require__ = function(require, exports) { + "use strict"; + var GameDistributionBannerSize; + var GameDistributionAlignment; + Object.defineProperty(exports, "__esModule", { + value: !0 + }), + exports.GameDistributionAlignment = exports.GameDistributionBannerSize = void 0, + function(GameDistributionBannerSize) { + GameDistributionBannerSize[GameDistributionBannerSize.LargeRectangle = 0] = "LargeRectangle", + GameDistributionBannerSize[GameDistributionBannerSize.MediumRectangle = 1] = "MediumRectangle", + GameDistributionBannerSize[GameDistributionBannerSize.Billboard = 2] = "Billboard", + GameDistributionBannerSize[GameDistributionBannerSize.Leaderboard = 3] = "Leaderboard", + GameDistributionBannerSize[GameDistributionBannerSize.Skyscraper = 4] = "Skyscraper", + GameDistributionBannerSize[GameDistributionBannerSize.WideSkyscraper = 5] = "WideSkyscraper" + }(GameDistributionBannerSize = exports.GameDistributionBannerSize || (exports.GameDistributionBannerSize = {})), + function(GameDistributionAlignment) { + GameDistributionAlignment[GameDistributionAlignment.TopLeft = 0] = "TopLeft", + GameDistributionAlignment[GameDistributionAlignment.TopCenter = 1] = "TopCenter", + GameDistributionAlignment[GameDistributionAlignment.TopRight = 2] = "TopRight", + GameDistributionAlignment[GameDistributionAlignment.CenterLeft = 3] = "CenterLeft", + GameDistributionAlignment[GameDistributionAlignment.Center = 4] = "Center", + GameDistributionAlignment[GameDistributionAlignment.CenterRight = 5] = "CenterRight", + GameDistributionAlignment[GameDistributionAlignment.BottomLeft = 6] = "BottomLeft", + GameDistributionAlignment[GameDistributionAlignment.BottomCenter = 7] = "BottomCenter", + GameDistributionAlignment[GameDistributionAlignment.BottomRight = 8] = "BottomRight" + }(GameDistributionAlignment = exports.GameDistributionAlignment || (exports.GameDistributionAlignment = {})) + } + .apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__, exports])) && (module.exports = __webpack_require__) + } + , + 498: (module,exports,__webpack_require__)=>{ + var __webpack_require__, exports; + __webpack_require__ = [__webpack_require__, exports, __webpack_require__(12), __webpack_require__(869)], + void 0 !== (exports = function(require, exports, shared_1, gamedistribution_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: !0 + }), + exports.GameDistributionAlignment = exports.GameDistributionBannerSize = exports.ProviderTypes = exports.AdType = exports.AdEvents = void 0, + Object.defineProperty(exports, "AdEvents", { + enumerable: !0, + get: function() { + return shared_1.AdEvents + } + }), + Object.defineProperty(exports, "AdType", { + enumerable: !0, + get: function() { + return shared_1.AdType + } + }), + Object.defineProperty(exports, "ProviderTypes", { + enumerable: !0, + get: function() { + return shared_1.ProviderTypes + } + }), + Object.defineProperty(exports, "GameDistributionBannerSize", { + enumerable: !0, + get: function() { + return gamedistribution_1.GameDistributionBannerSize + } + }), + Object.defineProperty(exports, "GameDistributionAlignment", { + enumerable: !0, + get: function() { + return gamedistribution_1.GameDistributionAlignment + } + }) + } + .apply(exports, __webpack_require__)) && (module.exports = exports) + } + , + 12: (module,exports,__webpack_require__)=>{ + var __WEBPACK_AMD_DEFINE_ARRAY__, __webpack_require__; + void 0 !== (__webpack_require__ = function(require, exports) { + "use strict"; + var AdEvents; + var AdType; + var ProviderTypes; + Object.defineProperty(exports, "__esModule", { + value: !0 + }), + exports.ProviderTypes = exports.AdType = exports.AdEvents = void 0, + function(AdEvents) { + AdEvents.CONTENT_PAUSED = "onContentPaused", + AdEvents.CONTENT_RESUMED = "onContentResumed", + AdEvents.AD_PROGRESSION = "onAdProgression", + AdEvents.AD_DISABLED = "onAdsDisabled", + AdEvents.AD_CLICKED = "onAdClicked", + AdEvents.AD_REWARDED = "onAdRewardGranted", + AdEvents.BANNER_SHOWN = "onBannerShown", + AdEvents.BANNER_HIDDEN = "onBannerHidden", + AdEvents.AD_LOADED = "onAdLoaded", + AdEvents.AD_PROVIDER_LOADED = "onAdProviderLoaded" + }(AdEvents = exports.AdEvents || (exports.AdEvents = {})), + function(AdType) { + AdType[AdType.interstitial = 0] = "interstitial", + AdType[AdType.rewarded = 1] = "rewarded", + AdType[AdType.banner = 2] = "banner" + }(AdType = exports.AdType || (exports.AdType = {})), + function(ProviderTypes) { + ProviderTypes.Yandex = "yx", + ProviderTypes.Dummy = "dm", + ProviderTypes.AdFree = "af", + ProviderTypes.GD = "gd", + ProviderTypes.GDBanner = "gdb", + ProviderTypes.Jio = "jio" + }(ProviderTypes = exports.ProviderTypes || (exports.ProviderTypes = {})) + } + .apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__, exports])) && (module.exports = __webpack_require__) + } + , + 548: function(module, exports, __webpack_require__) { + var __webpack_require__, exports; + var __extends = this && this.__extends || (extendStatics = function(d, b) { + return (extendStatics = Object.setPrototypeOf || ({ + __proto__: [] + }instanceof Array ? function(d, b) { + d.__proto__ = b + } + : function(d, b) { + for (var p in b) + Object.prototype.hasOwnProperty.call(b, p) && (d[p] = b[p]) + } + ))(d, b) + } + , + function(d, b) { + if ("function" != typeof b && null !== b) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + function __() { + this.constructor = d + } + extendStatics(d, b), + d.prototype = null === b ? Object.create(b) : (__.prototype = b.prototype, + new __) + } + ); + var extendStatics; + var __importDefault = this && this.__importDefault || function(mod) { + return mod && mod.__esModule ? mod : { + default: mod + } + } + ; + __webpack_require__ = [__webpack_require__, exports, __webpack_require__(34), __webpack_require__(12), __webpack_require__(563), __webpack_require__(766)], + void 0 !== (exports = function(require, exports, eventemitter3_1, shared_1, standard_1, special_1) { + "use strict"; + Object.defineProperty(exports, "__esModule", { + value: !0 + }), + exports.AdWrapper = void 0; + var eventemitter3_1 = function(_super) { + function AdWrapper(type, id, jioConfig) { + var _this = _super.call(this) || this; + switch (_this.bannerActive = !1, + _this.provider = null, + type) { + case shared_1.ProviderTypes.AdFree: + _this.provider = new standard_1.AdFreeUntrackedProvider; + break; + case shared_1.ProviderTypes.Dummy: + _this.provider = new standard_1.DummyProvider; + break; + case shared_1.ProviderTypes.Yandex: + _this.provider = new standard_1.YandexAdProvider; + break; + case shared_1.ProviderTypes.Jio: + _this.provider = new special_1.JioAdProvider(jioConfig); + break; + default: + case shared_1.ProviderTypes.GD: + _this.provider = new standard_1.GameDistribution(id); + break + } + return _this.provider.setManager(_this), + _this + } + return __extends(AdWrapper, _super), + AdWrapper.prototype.showAd = function(adType) { + var args = []; + for (var _i = 1; _i < arguments.length; _i++) + args[_i - 1] = arguments[_i]; + if (null === this.provider) + throw new Error("Can not request an ad without an provider, please attach an ad provider!"); + args.unshift(adType), + this.provider.showAd.apply(this.provider, args) + } + , + AdWrapper.prototype.createBanner = function() { + var args = []; + for (var _i = 0; _i < arguments.length; _i++) + args[_i] = arguments[_i]; + return this.provider.loadBanner.apply(this.provider, args) + } + , + AdWrapper.prototype.loadBanner = function() { + var args = []; + for (var _i = 0; _i < arguments.length; _i++) + args[_i] = arguments[_i]; + return "function" == typeof this.provider.loadBanner ? this.provider.loadBanner.apply(this.provider, args) : null + } + , + AdWrapper.prototype.preloadAd = function(adType) { + var args = []; + for (var _i = 1; _i < arguments.length; _i++) + args[_i - 1] = arguments[_i]; + if (null === this.provider) + throw new Error("Can not preload an ad without an provider, please attach an ad provider!"); + args.unshift(adType), + this.provider.preloadAd.apply(this.provider, args) + } + , + AdWrapper.prototype.destroyAd = function(adType) { + var args = []; + for (var _i = 1; _i < arguments.length; _i++) + args[_i - 1] = arguments[_i]; + if (null === this.provider) + throw new Error("Can not destroy an ad without an provider, please attach an ad provider!"); + args.unshift(adType), + this.provider.destroyAd.apply(this.provider, args) + } + , + AdWrapper.prototype.hideAd = function(adType) { + var args = []; + for (var _i = 1; _i < arguments.length; _i++) + args[_i - 1] = arguments[_i]; + if (null === this.provider) + throw new Error("Can not hide an ad without an provider, please attach an ad provider!"); + args.unshift(adType), + this.provider.hideAd.apply(this.provider, args) + } + , + AdWrapper.prototype.adsEnabled = function() { + if (null === this.provider) + throw new Error("Can not hide an ad without an provider, please attach an ad provider!"); + return this.provider.adsEnabled + } + , + AdWrapper.prototype.adAvailable = function(adType) { + var args = []; + for (var _i = 1; _i < arguments.length; _i++) + args[_i - 1] = arguments[_i]; + if (null === this.provider) + throw new Error("Can not hide an ad without an provider, please attach an ad provider!"); + return args.unshift(adType), + this.provider.adAvailable.apply(this.provider, args) + } + , + AdWrapper + }((eventemitter3_1 = __importDefault(eventemitter3_1)).default); + exports.AdWrapper = eventemitter3_1 + } + .apply(exports, __webpack_require__)) && (module.exports = exports) + } + }; + var __webpack_module_cache__ = {}; + function __webpack_require__(moduleId) { + var cachedModule = __webpack_module_cache__[moduleId]; + var cachedModule; + return void 0 !== cachedModule || (cachedModule = __webpack_module_cache__[moduleId] = { + exports: {} + }, + __webpack_modules__[moduleId].call(cachedModule.exports, cachedModule, cachedModule.exports, __webpack_require__)), + cachedModule.exports + } + var __webpack_exports__ = __webpack_require__(729); + self.h5ads = __webpack_exports__ +} +)(); +!function(){ + // console.log("--fx--h5branding--", h5branding.SplashLoader.create.toString()); + +}(); diff --git a/vex8/patch/js/azerion-libs.js b/vex8/patch/js/azerion-libs.js new file mode 100644 index 000000000..ac6ecf90f --- /dev/null +++ b/vex8/patch/js/azerion-libs.js @@ -0,0 +1,101 @@ +var _azerionIntegration = { + gdId: "762c932b4db74c6da0c1d101b2da8be6", + alxType: "std", + advType: "gd", + af: !1, + sa: !1, + la: !1, + bd: 8, + playBtn: !0, + build: { + version: "tc-24", + timeStamp: 1680267092432, + h: "8d828ac6" + } +}; + +SplashLoader= function (options) { + thisSplashLoader= this; + this.circleLoader = null, + this.loaded = !1, + this.showPlayButton = "undefined" == typeof playBtn || playBtn, + this.progress = 0, + this.options = { + gameId: "12346", + gameTitle: "Place Holder", + gameName: "place-holder", + libs: [], + version: "dev", + barColor: "white", + gaMeasurementId: "none" + }, + + this.getInstance= function(options) { + if (thisSplashLoader.instance) { + if (!options) { + throw new Error("Can not create new SplashLoader instance without options!"); + } + thisSplashLoader.instance = new thisSplashLoader(options); + } + return thisSplashLoader.instance; + } +} + +h5branding = { + Branding: { + analyticsEnabled: 0, + }, + + BrandingDomain: { + "0": "Neutral", + "1": "Yepi", + "2": "Spele", + "3": "Funnygames", + "4": "Kizi", + "5": "PlayCell", + "6": "GameCell", + "7": "Bild", + "8": "AGame", + "9": "Admeen", + "10": "PlayTime", + "11": "Zigiz", + "Neutral": 0, + "Yepi": 1, + "Spele": 2, + "Funnygames": 3, + "Kizi": 4, + "PlayCell": 5, + "GameCell": 6, + "Bild": 7, + "AGame": 8, + "Admeen": 9, + "PlayTime": 10, + "Zigiz": 11 + }, + + UtmTargets: { + "0": "splashscreen", + "1": "logo", + "2": "facebook", + "3": "twitter", + "4": "playstore", + "5": "appstore", + "6": "more_games", + "7": "download_game", + "8": "walkthrough", + "9": "disclaimer", + "10": "highscores", + "splashscreen": 0, + "logo": 1, + "facebook": 2, + "twitter": 3, + "playstore": 4, + "appstore": 5, + "more_games": 6, + "download_game": 7, + "walkthrough": 8, + "disclaimer": 9, + "highscores": 10 + }, + SplashLoader: new SplashLoader(), +} diff --git a/vex8/patch/js/eponesh-game-score.js b/vex8/patch/js/eponesh-game-score.js new file mode 100644 index 000000000..12f7f42a4 --- /dev/null +++ b/vex8/patch/js/eponesh-game-score.js @@ -0,0 +1,2 @@ +/*! For license information please see game-score.js.LICENSE.txt */ +(()=>{var e,t,n,i,r={2616:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=e(t);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,i){"string"==typeof e&&(e=[[null,e,""]]);var r={};if(i)for(var s=0;s{!function(t){e.exports=t;var n={on:function(e,t){return s(this,e).push(t),this},once:function(e,t){var n=this;return i.originalListener=t,s(n,e).push(i),n;function i(){r.call(n,e,i),t.apply(this,arguments)}},off:r,emit:function(e,t){var n=this,i=s(n,e,!0);if(!i)return!1;var r=arguments.length;if(1===r)i.forEach(o);else if(2===r)i.forEach(c);else{var a=Array.prototype.slice.call(arguments,1);i.forEach(h)}return!!i.length;function o(e){e.call(n)}function c(e){e.call(n,t)}function h(e){e.apply(n,a)}}};function i(e){for(var t in n)e[t]=n[t];return e}function r(e,t){var n,i=this;if(arguments.length){if(t){if(n=s(i,e,!0)){if(!(n=n.filter(a)).length)return r.call(i,e);i.listeners[e]=n}}else if((n=i.listeners)&&(delete n[e],!Object.keys(n).length))return r.call(i)}else delete i.listeners;return i;function a(e){return e!==t&&e.originalListener!==t}}function s(e,t,n){if(!n||e.listeners){var i=e.listeners||(e.listeners={});return i[t]||(i[t]=[])}}i(t.prototype),t.mixin=i}((function e(){if(!(this instanceof e))return new e}))},4943:e=>{"use strict";e.exports=i,e.exports.isMobile=i,e.exports.default=i;var t=/(android|bb\d+|meego).+mobile|armv7l|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[46]0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i,n=/android|ipad|playbook|silk/i;function i(e){e||(e={});var i=e.ua;if(i||"undefined"==typeof navigator||(i=navigator.userAgent),i&&i.headers&&"string"==typeof i.headers["user-agent"]&&(i=i.headers["user-agent"]),"string"!=typeof i)return!1;var r=t.test(i)||!!e.tablet&&n.test(i);return!r&&e.tablet&&e.featureDetect&&navigator&&navigator.maxTouchPoints>1&&-1!==i.indexOf("Macintosh")&&-1!==i.indexOf("Safari")&&(r=!0),r}},2096:()=>{"function"!=typeof Promise.prototype.finally&&(Promise.prototype.finally=function(e){var t=this;return this.then((function(n){return t.constructor.resolve(e()).then((function(){return n}))})).catch((function(n){return t.constructor.resolve(e()).then((function(){throw n}))}))})},8205:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var i=n(2616),r=n.n(i)()((function(e){return e[1]}));r.push([e.id,".gs-global-loader{position:fixed;z-index:99999;top:8px;right:8px;width:48px;height:48px}@media only screen and (min-width: 1024px){.gs-global-loader{top:inherit;right:16px;bottom:16px}}.gs-loader{position:relative;width:40px;height:40px;border-radius:50%;display:flex}.gs-loader__outter{box-sizing:border-box;position:absolute;border:4px solid #f50057;border-left-color:transparent;width:100%;height:100%;border-radius:50%;-webkit-animation:loader-outter 1s cubic-bezier(0.42, 0.61, 0.58, 0.41) infinite;animation:loader-outter 1s cubic-bezier(0.42, 0.61, 0.58, 0.41) infinite}.gs-loader__inner{box-sizing:border-box;position:absolute;border:4px solid #f50057;border-radius:50%;width:20px;height:20px;left:calc(50% - 10px);top:calc(50% - 10px);border-top-color:transparent;-webkit-animation:loader-inner 1s cubic-bezier(0.42, 0.61, 0.58, 0.41) infinite;animation:loader-inner 1s cubic-bezier(0.42, 0.61, 0.58, 0.41) infinite}@keyframes loader-outter{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes loader-inner{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(-360deg);transform:rotate(-360deg)}}.gs-loader-hidden{display:none}",""]);const s=r},3379:(e,t,n)=>{"use strict";var i,r=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),s=[];function a(e){for(var t=-1,n=0;n {"use strict";n.d(t,{Z:()=>_,z:()=>I});var i,r,s,a,o,c,h,l,u=n(6558),d=n(1437),p=n(4835),f=n(8293),g=n(6388),v=function(e,t,n,i){return new(n||(n=Promise))((function(r,s){function a(e){try{c(i.next(e))}catch(e){s(e)}}function o(e){try{c(i.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,o)}c((i=i.apply(e,t||[])).next())}))},m=function(e,t,n,i,r){if("m"===i)throw new TypeError("Private method is not writable");if("a"===i&&!r)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===i?r.call(e,n):r?r.value=n:t.set(e,n),n},y=function(e,t,n,i){if("a"===n&&!i)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!i:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?i:"a"===n?i.call(e):i?i.value:t.get(e)},w=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r 0?(this._events.emit("open"),yield this.gp.overlay.openAchievements(t,{scrollTo:e}).catch(u.kg.error),this._events.emit("close")):u.kg.error(new Error("Empty achievements list"))}catch(e){this.gp.loader.dec(),u.kg.error(e)}}))}fetch(){return v(this,void 0,void 0,(function*(){const e=(0,f._)();this.gp.loader.inc();try{const t=yield this.gp._achievementsService.fetch();if(!t)throw new Error("can't fetch achievements list");e.done(t),this._events.emit("fetch",t)}catch(t){e.abort(t),this._events.emit("error:fetch")}finally{this.gp.loader.dec()}return e.ready}))}unlock({id:e,tag:t}){return v(this,void 0,void 0,(function*(){const n=e||t,a=(0,f._)(),c=e=>{a.done({success:!1,achievement:null,error:e}),this._events.emit("error:unlock",e)};if(this.has(t||e))return c(b),a.ready;if(y(this,s,"f").includes(n))return c(P),a.ready;let h;y(this,o,"f")[n]=a,this.gp.loader.inc(),y(this,r,"f").enableUnlockToast&&(h=this.gp.loadOverlay());try{const n=yield this.gp._achievementsService.unlock({id:e,tag:t}),{achievement:s}=n,o=w(n,["achievement"]),c=Object.assign(Object.assign({},s),o);y(this,i,"m",l).call(this,c),this._events.emit("unlock",c),y(this,r,"f").enableUnlockToast&&Promise.all([h,(0,d.p)(I(c)).catch(u.kg.error)]).then((()=>{this.gp.overlay.unlockAchievement(c)})),a.done({achievement:c,success:!0,error:""})}catch(e){"achievement_not_found"===e&&y(this,s,"f").push(n),"string"==typeof e?(u.kg.error(e),c(e)):(a.abort(e),this._events.emit("error:unlock",e))}finally{this.gp.loader.dec()}return a.ready.finally((()=>{delete y(this,o,"f")[n]})),a.ready}))}has(e){return y(this,a,"f").some((t=>(t.tag===e||t.id===e)&&t.unlocked))}setProgress(e){var t;return v(this,void 0,void 0,(function*(){const n=e.id||e.tag;if(n in y(this,c,"f"))return y(this,c,"f")[n]=e.progress,null===(t=y(this,h,"f")[n])||void 0===t?void 0:t.ready;const o=(0,f._)(),p=e=>{o.done({success:!1,achievement:null,error:e}),this._events.emit("error:progress",e)};return y(this,c,"f")[n]=e.progress,y(this,h,"f")[n]=o,setTimeout((()=>v(this,void 0,void 0,(function*(){const t=y(this,c,"f")[n];if(this.has(n))return void p(b);if(y(this,s,"f").includes(n))return void p(P);const h=y(this,a,"f").find((t=>t.tag===e.tag||t.id===e.id)),f=(null==h?void 0:h.progress)||0;if(f===t)return void p("progress_the_same");let g;this.gp.loader.inc(),y(this,r,"f").enableUnlockToast&&(g=this.gp.loadOverlay()),yield this.gp._achievementsService.setProgress(Object.assign(Object.assign({},e),{progress:t})).then((e=>{var{achievement:t}=e,n=w(e,["achievement"]);const s=Object.assign(Object.assign({},t),n),a=Math.floor(f/s.progressStep),c=Math.floor(s.progress/s.progressStep);y(this,i,"m",l).call(this,s),y(this,r,"f").enableUnlockToast&&(s.unlocked||a {this.gp.overlay.unlockAchievement(s)})),s.unlocked&&this._events.emit("unlock",s),this._events.emit("progress",s),o.done({achievement:s,success:!0,error:""})})).catch((e=>{this._events.emit("error:progress",e),"achievement_not_found"===e&&y(this,s,"f").push(n),"string"==typeof e?(u.kg.error(e),p(e)):(o.abort(e),this._events.emit("error:progress",e))})),this.gp.loader.dec()}))),1e3),o.ready.finally((()=>{delete y(this,h,"f")[n],delete y(this,c,"f")[n]})),o.ready}))}getProgress(e){const t=y(this,a,"f").find((t=>t.tag===e||t.id===e));return t?t.progress:0}_setAchievementsList(e){m(this,a,[...e],"f")}}function I(e){let t="";return t=window.devicePixelRatio>1?e.unlocked?e.icon||e.lockedIcon:e.lockedIcon||e.icon:e.unlocked?e.iconSmall||e.lockedIconSmall:e.lockedIconSmall||e.iconSmall,t||p.Z.cdn.trophy}r=new WeakMap,s=new WeakMap,a=new WeakMap,o=new WeakMap,c=new WeakMap,h=new WeakMap,i=new WeakSet,l=function(e){y(this,a,"f").some((t=>t.id===e.id))?m(this,a,y(this,a,"f").map((t=>t.id===e.id?e:t)),"f"):y(this,a,"f").push(e)}},4687:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var i,r,s,a=n(6558),o=n(8293),c=n(6388),h=function(e,t,n,i){return new(n||(n=Promise))((function(r,s){function a(e){try{c(i.next(e))}catch(e){s(e)}}function o(e){try{c(i.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,o)}c((i=i.apply(e,t||[])).next())}))},l=function(e,t,n,i){if("a"===n&&!i)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!i:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?i:"a"===n?i.call(e):i?i.value:t.get(e)},u=function(e,t,n,i,r){if("m"===i)throw new TypeError("Private method is not writable");if("a"===i&&!r)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===i?r.call(e,n):r?r.value=n:t.set(e,n),n};class d extends c.Z{constructor(e,t){super(),this.gp=e,this.adapter=t,i.set(this,[]),r.set(this,{}),s.set(this,{})}get isAvailable(){return this.adapter.isSupportsPayments}get isSubscriptionsAvailable(){return this.adapter.isSupportsSubscriptions}get purchases(){return[...l(this,i,"f")]}_sync(){return h(this,void 0,void 0,(function*(){const{purchases:e,payload:t}=yield this.adapter.fetchPurchases();if(0===e.length)return;const{purchases:n}=yield this.gp._paymentsService.sync({purchases:e,payload:t});this._setPurchasedList(n),this.adapter.consumeAllExpired(e,n)}))}fetchProducts(){return h(this,void 0,void 0,(function*(){const e=(0,o._)();this.gp.loader.inc();try{const t=yield this.gp._paymentsService.fetch();if(!t)throw new Error("can't fetch products list");const{products:n,playerPurchases:i}=t,r=yield this.adapter.mapProducts(this.gp,{products:n,playerPurchases:i});e.done(r),this._events.emit("fetchProducts",r)}catch(t){e.abort(t),this._events.emit("error:fetchProducts",t)}finally{this.gp.loader.dec()}return e.ready}))}purchase({id:e,tag:t}){return h(this,void 0,void 0,(function*(){const n=e||t;if(l(this,r,"f")[n])return l(this,r,"f")[n];const s=(0,o._)();l(this,r,"f")[n]=s,this.gp.loader.inc();try{const{product:n}=yield this.gp._paymentsService.findProduct({id:e,tag:t});if(!n)throw new Error(`Not found product with ID or TAG "${e||t}"`);let r,o,c=!0,h="";this.gp.player.isLoggedInByPlatform||(yield this.gp.player.sync({silent:!1}));try{o=yield this.adapter.purchase(n)}catch(e){throw e}if(this.adapter.isServerValidation)r={productId:n.id,tag:n.tag,payload:o,createdAt:this.gp.serverTime,expiredAt:"",gift:!1,subscribed:!1};else try{r=(yield this.gp._paymentsService.purchase({id:e,tag:t,payload:o})).purchase}catch(e){c=!1,h=e.message}c?(l(this,i,"f").push({id:n.id,productId:n.id,tag:n.tag,createdAt:r.createdAt,expiredAt:r.expiredAt,payload:r.payload,gift:r.gift,subscribed:r.subscribed}),this._events.emit("purchase",{product:n,purchase:r})):a.kg.error(h),s.done({success:c,product:n,purchase:r,error:h})}catch(e){s.abort(e),this._events.emit("error:purchase",e)}finally{this.gp.loader.dec()}return s.ready.finally((()=>{delete l(this,r,"f")[n]})),s.ready}))}consume({id:e,tag:t}){return h(this,void 0,void 0,(function*(){const n=e||t;if(l(this,s,"f")[n])return l(this,s,"f")[n];const r=(0,o._)();l(this,s,"f")[n]=r,this.gp.loader.inc();try{const{product:n,purchase:s}=yield this.gp._paymentsService.consume({id:e,tag:t});s.gift||(yield this.adapter.consume(s));const a=l(this,i,"f").findIndex((e=>e.productId===n.id));-1!==a&&l(this,i,"f").splice(a,1),this._events.emit("consume",{product:n,purchase:s}),r.done({product:n,purchase:s,success:!0,error:""})}catch(e){r.abort(e),this._events.emit("error:consume",e)}finally{this.gp.loader.dec()}return r.ready.finally((()=>{delete l(this,s,"f")[n]})),r.ready}))}subscribe({id:e,tag:t}){return h(this,void 0,void 0,(function*(){const n=e||t;if(l(this,r,"f")[n])return l(this,r,"f")[n];const s=(0,o._)();l(this,r,"f")[n]=s,this.gp.loader.inc();try{const{product:r}=yield this.gp._paymentsService.findProduct({id:e,tag:t});if(!r)throw new Error(`Not found product with ID or TAG "${e||t}"`);if(!r.isSubscription)throw new Error(`Not subscription "${e||t}", please enable subscription on the product`);const o=this.getPurchase(n);let c,h,d=!0,f="";this.gp.player.isLoggedInByPlatform||(yield this.gp.player.sync({silent:!1}));try{h=yield this.adapter.subscribe(r,o)}catch(e){throw e}if(this.adapter.isServerValidation)c={payload:h,tag:r.tag,productId:r.id,createdAt:this.gp.serverTime,expiredAt:(null==o?void 0:o.expiredAt)||p(new Date(this.gp.serverTime),r.period).toISOString(),gift:!1,subscribed:!0};else try{c=(yield this.gp._paymentsService.purchase({id:e,tag:t,payload:h})).purchase}catch(e){d=!1,f=e.message}d?(o&&u(this,i,l(this,i,"f").filter((e=>e.productId!==o.productId)),"f"),l(this,i,"f").push({id:r.id,tag:r.tag,productId:r.id,createdAt:c.createdAt,expiredAt:c.expiredAt,payload:c.payload,gift:c.gift,subscribed:!0}),this._events.emit("subscribe",{product:r,purchase:c})):a.kg.error(f),s.done({success:d,product:r,purchase:c,error:f})}catch(e){s.abort(e),this._events.emit("error:subscribe",e)}finally{this.gp.loader.dec()}return s.ready.finally((()=>{delete l(this,r,"f")[n]})),s.ready}))}unsubscribe({id:e,tag:t}){return h(this,void 0,void 0,(function*(){const n=e||t;if(l(this,r,"f")[n])return l(this,r,"f")[n];const s=(0,o._)();l(this,r,"f")[n]=s,this.gp.loader.inc();try{const{product:r}=yield this.gp._paymentsService.findProduct({id:e,tag:t});if(!r)throw new Error(`Not found product with ID or TAG "${e||t}"`);if(!r.isSubscription)throw new Error(`Not subscription "${e||t}", please enable subscription on the product`);const o=this.getPurchase(n);if(!o||!o.subscribed)throw new Error("already_unsubscribed");let c=!0,h=Object.assign({},o),d="";try{yield this.adapter.unsubscribe(r,o)}catch(e){throw a.kg.error(d),e}h.subscribed=!1,u(this,i,l(this,i,"f").map((e=>e.productId!==o.productId?e:Object.assign(Object.assign({},e),{subscribed:!1}))),"f"),this._events.emit("unsubscribe",{product:r,purchase:h}),s.done({success:c,product:r,purchase:h,error:d})}catch(e){s.abort(e),this._events.emit("error:unsubscribe",e)}finally{this.gp.loader.dec()}return s.ready.finally((()=>{delete l(this,r,"f")[n]})),s.ready}))}has(e){return l(this,i,"f").some((t=>t.tag===e||t.id===e))}getPurchase(e){return l(this,i,"f").find((t=>t.tag===e||t.id===e))||null}_setPurchasedList(e){u(this,i,e.map((e=>Object.assign(Object.assign({},e),{id:e.productId}))),"f")}}function p(e,t){const n=new Date(e);return n.setDate(n.getDate()+t),n}i=new WeakMap,r=new WeakMap,s=new WeakMap},4293:(e,t,n)=>{"use strict";n.d(t,{Z:()=>h});var i=n(8293);const r=["adsbox","advertisement","pub_300x250","pub_300x250m","pub_728x90","text-ad","textAd","text_ad","text_ads","text-ads","text-ad-links"];var s=n(9233),a=n(6388),o=n(6558),c=function(e,t,n,i){return new(n||(n=Promise))((function(r,s){function a(e){try{c(i.next(e))}catch(e){s(e)}}function o(e){try{c(i.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,o)}c((i=i.apply(e,t||[])).next())}))};class h extends a.Z{constructor(e,t,n){super(),this.gp=e,this.adapter=t,this.config=n,this.isAdblockEnabled=!1,this.fullscreenDisplayIntervalId=0,this.stickyRefreshIntervalId=0,this.isStickyPlaying=!1,this.isRewardedPlaying=!1,this.isFullscreenPlaying=!1,this.isPreloaderPlaying=!1,this.adsInfo=e._storage.temp.adsInfo;const i=this.config.platformConfig.banners;this.stickyBanner=i.find((e=>e.type===s.$.STICKY)),this.fullscreenBanner=i.find((e=>e.type===s.$.FULLSCREEN)),this.rewardedVideo=i.find((e=>e.type===s.$.REWARDED)),this.preloaderBanner=i.find((e=>e.type===s.$.PRELOADER)),this.banners=i.reduce(((e,t)=>(e[t.type]=t,e)),{}),this._checkLimitsExpired(!0),setInterval((()=>this._checkLimitsExpired(!1)),1e3)}get isStickyAvailable(){var e;return this.adapter.isStickyAvailable&&(null===(e=this.stickyBanner)||void 0===e?void 0:e.enabled)&&!this.isBannerLimitReached(s.$.STICKY)}get isFullscreenAvailable(){var e;return this.adapter.isFullscreenAvailable&&(null===(e=this.fullscreenBanner)||void 0===e?void 0:e.enabled)&&!this.fullscreenDisplayIntervalId&&!this.isBannerLimitReached(s.$.FULLSCREEN)}get isRewardedAvailable(){var e;return this.adapter.isRewardedAvailable&&(null===(e=this.rewardedVideo)||void 0===e?void 0:e.enabled)&&!this.isBannerLimitReached(s.$.REWARDED)}get isPreloaderAvailable(){var e;return this.adapter.isPreloaderAvailable&&(null===(e=this.preloaderBanner)||void 0===e?void 0:e.enabled)&&!this.isBannerLimitReached(s.$.PRELOADER)}checkAdblock(){return c(this,void 0,void 0,(function*(){return this.isAdblockEnabled=yield function(){const e=(0,i._)(),t=document.createElement("div");return t.innerHTML=" ",t.className=r.join(" "),t.id="text_ad",t.style.padding="1px 0 0 0",document.body.appendChild(t),setTimeout((()=>{e.done(0===t.offsetHeight),document.body.removeChild(t)}),10),e.ready}(),this.isAdblockEnabled}))}sendShowAdsInfo(e){this.config.acl.canCollectStats&&fetch(`https://api.eponesh.com/gs/api/t/b/?q=${btoa(JSON.stringify(Object.assign(Object.assign({},e),{platformType:this.gp.platform.type,projectId:this.gp.projectId})))}`)}showFullscreen(){return c(this,void 0,void 0,(function*(){if(!this.isFullscreenAvailable)return this._events.emit("close",!1),this._events.emit("fullscreen:close",!1),!1;this.fullscreenBanner.frequency,this._events.emit("start"),this._events.emit("fullscreen:start"),this.sendShowAdsInfo({type:"FULLSCREEN",action:"REQUEST"}),this.fullscreenDisplayIntervalId=window.setTimeout((()=>{this.fullscreenDisplayIntervalId=0}),1e3*this.fullscreenBanner.frequency),this.isFullscreenPlaying=!0;let e=!1;try{e=yield this.adapter.showFullscreen(this.fullscreenBanner)}catch(e){o.kg.error(e)}return this.sendShowAdsInfo({type:"FULLSCREEN",action:e?"DISPLAY":"ERROR"}),this.isFullscreenPlaying=!1,this._events.emit("close",e),this._events.emit("fullscreen:close",e),e&&this._trackBannerDisplay(s.$.FULLSCREEN),e}))}showRewardedVideo(){return c(this,void 0,void 0,(function*(){if(!this.isRewardedAvailable)return this._events.emit("close",!1),this._events.emit("rewarded:close",!1),!1;this._events.emit("start"),this._events.emit("rewarded:start"),this.sendShowAdsInfo({type:"REWARDED",action:"REQUEST"}),this.isRewardedPlaying=!0;const e=yield this.adapter.showRewardedVideo(this.rewardedVideo).catch((()=>!1));return this.sendShowAdsInfo({type:"REWARDED",action:e?"DISPLAY":"ERROR"}),this.isRewardedPlaying=!1,this._events.emit("close",e),this._events.emit("rewarded:close",e),this._trackBannerDisplay(s.$.REWARDED),e&&this._events.emit("rewarded:reward"),e}))}showPreloader(){return c(this,void 0,void 0,(function*(){if(!this.isPreloaderAvailable)return this._events.emit("close",!1),this._events.emit("preloader:close",!1),!1;this.sendShowAdsInfo({type:"PRELOADER",action:"REQUEST"}),this._events.emit("start"),this._events.emit("preloader:start"),this.isPreloaderPlaying=!0;const e=yield this.adapter.showPreloader(this.preloaderBanner).catch((()=>!1));return this.sendShowAdsInfo({type:"PRELOADER",action:e?"DISPLAY":"ERROR"}),this.isPreloaderPlaying=!1,this._events.emit("close",e),this._events.emit("preloader:close",e),e&&this._trackBannerDisplay(s.$.PRELOADER),e}))}showSticky(){return c(this,void 0,void 0,(function*(){if(!this.isStickyAvailable)return this._events.emit("close",!1),this._events.emit("sticky:close",!1),!1;!this.stickyRefreshIntervalId&&this.stickyBanner.refreshInterval&&(this.stickyRefreshIntervalId=window.setInterval((()=>this.refreshSticky()),1e3*this.stickyBanner.refreshInterval)),this._events.emit("start"),this._events.emit("sticky:start"),this.sendShowAdsInfo({type:"STICKY",action:"REQUEST"});const e=yield this.adapter.showSticky(this.stickyBanner).catch((()=>!1));return this.sendShowAdsInfo({type:"STICKY",action:e?"DISPLAY":"ERROR"}),this.isStickyPlaying=e,this._events.emit("sticky:render",e),e&&this._trackBannerDisplay(s.$.STICKY),e}))}refreshSticky(){return c(this,void 0,void 0,(function*(){if(!this.isStickyAvailable)return this._events.emit("close",!1),this._events.emit("sticky:close",!1),!1;clearInterval(this.stickyRefreshIntervalId),this.stickyBanner.refreshInterval&&(this.stickyRefreshIntervalId=window.setInterval((()=>this.refreshSticky()),1e3*this.stickyBanner.refreshInterval)),this._events.emit("sticky:refresh"),this.sendShowAdsInfo({type:"STICKY",action:"REQUEST"});const e=yield this.adapter.refreshSticky(this.stickyBanner).catch((()=>!1));return this.sendShowAdsInfo({type:"STICKY",action:e?"DISPLAY":"ERROR"}),this.isStickyPlaying=e,this._events.emit("sticky:render",e),e&&this._trackBannerDisplay(s.$.STICKY),e}))}closeSticky(){return c(this,void 0,void 0,(function*(){const e=yield this.adapter.closeSticky();return this.isStickyPlaying=!1,this._events.emit("close",!0),this._events.emit("sticky:close",!0),clearInterval(this.stickyRefreshIntervalId),e}))}_trackBannerDisplay(e){const t=this.adsInfo.limits[e];t.hour.count+=1,t.day.count+=1,t.session.count+=1,t.day.timestamp||(t.day.timestamp=Date.now()),t.hour.timestamp||(t.hour.timestamp=Date.now()),this._saveAdsInfo()}_checkLimitsExpired(e){let t=!1;Object.values(this.adsInfo.limits).forEach((n=>{e&&(n.session.count=0),l(n.hour.timestamp,36e5)&&(n.hour.timestamp=0,n.hour.count=0,t=!0),l(n.day.timestamp,864e5)&&(n.day.timestamp=0,n.hour.count=0,t=!0)})),t&&this._saveAdsInfo()}_saveAdsInfo(){this.gp._storage.saveAdsInfo(this.adsInfo)}isBannerLimitReached(e){return this.isBannerLimitTypeReached(e,"hour")||this.isBannerLimitTypeReached(e,"day")||this.isBannerLimitTypeReached(e,"session")}isBannerLimitTypeReached(e,t){const n=this.banners[e].limits[t];return!!n&&this.adsInfo.limits[e][t].count>=n}}function l(e,t){return(new Date).getTime()-new Date(e).getTime()>t}},6388:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var i=n(5585),r=n.n(i);class s{constructor(){this._events=new(r())}on(e,t){this._events.on(e,t)}off(e,t){this._events.off(e,t)}once(e,t){this._events.once(e,t)}}},1049:(e,t,n)=>{"use strict";function i(e,t,n){return e.replace(/{{hash}}/gi,t).replace(/{{size}}/gi,n)}n.d(t,{Z:()=>i})},4917:(e,t,n)=>{"use strict";function i({src:e,check:t}){return new Promise(((n,i)=>{let r=0;if(null==t?void 0:t(window))return void n();function s(){t?t(window)&&(clearInterval(r),n()):n()}if(document.querySelector(`script[src="${e}"]`)&&t)return void(r=setInterval(s,100));var a=document.getElementsByTagName("script")[0];const o=document.createElement("script");o.src=e,o.onload=s,o.onerror=i,a.parentNode.insertBefore(o,a),t&&(r=setInterval(s,100))}))}n.d(t,{Z:()=>i})},6558:(e,t,n)=>{"use strict";n.d(t,{Yd:()=>s,kg:()=>a,EK:()=>o});var i,r=function(e,t,n,i){if("a"===n&&!i)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!i:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?i:"a"===n?i.call(e):i?i.value:t.get(e)};class s{constructor(){i.set(this,"[GamePush]: "),this.isCollectingLogs=!0,this.logs=[],this.log=(...e)=>{this.collectLogs("log",e),console.log(r(this,i,"f"),...e)},this.info=(...e)=>{this.collectLogs("info",e),console.info(r(this,i,"f"),...e)},this.warn=(...e)=>{this.collectLogs("warn",e),console.warn(r(this,i,"f"),...e)},this.error=(...e)=>{this.collectLogs("error",e),console.error(r(this,i,"f"),...e)}}stopCollect(){this.isCollectingLogs=!1,this.logs=[]}collectLogs(e,t){this.isCollectingLogs&&this.logs.push({type:e,args:t})}}i=new WeakMap;let a=new s;const o=e=>a=e},1437:(e,t,n)=>{"use strict";n.d(t,{p:()=>r});var i=n(8293);function r(e){const t=(0,i._)(i.s),n=new Image;return n.onload=()=>t.done(n),n.onerror=()=>t.abort(),n.onabort=()=>t.abort(),n.src=e,t.ready}},4835:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});const i={app:{trophy:"https://gs.eponesh.com/sdk/static/icons/trophy.svg"},cdn:{trophy:"https://cdn.eponesh.com/static/64x64/images/achievements/reward.png"}}},8293:(e,t,n)=>{"use strict";n.d(t,{s:()=>r,_:()=>s});var i=n(6558);const r={timeout:5e3};function s({timeout:e=0}={}){let t=!1;const n={},r=new Promise(((e,r)=>{n.done=n=>{t||(t=!0,e(n))},n.abort=e=>{t||(t=!0,i.kg.error(e),r(e))}}));return e&&setTimeout((()=>{t||n.abort(`Timeout ${e}ms exceeded`)}),e),n.ready=r,n}},5942:(e,t,n)=>{"use strict";var i;n.d(t,{z:()=>i}),function(e){e.YANDEX="YANDEX",e.VK="VK",e.OK="OK",e.GAME_MONETIZE="GAME_MONETIZE",e.GAME_DISTRIBUTION="GAME_DISTRIBUTION",e.CRAZY_GAMES="CRAZY_GAMES",e.SMARTMARKET="SMARTMARKET",e.GAMEPIX="GAMEPIX",e.POKI="POKI",e.VK_PLAY="VK_PLAY",e.NONE="NONE"}(i||(i={}))},584:(e,t,n)=>{"use strict";n.d(t,{P8:()=>l,ZP:()=>u});var i,r=function(e,t,n,i){if("a"===n&&!i)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!i:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?i:"a"===n?i.call(e):i?i.value:t.get(e)};const s="{\n id\n iconSmall: icon(w: 48, h: 48, crop: false)\n icon(w: 256, h: 256, crop: false)\n tag\n rare\n name(lang: $lang)\n description(lang: $lang)\n progress\n maxProgress\n unlocked\n lockedIcon(w: 256, h: 256, crop: false)\n lockedIconSmall: lockedIcon(w: 48, h: 48, crop: false)\n progressStep\n isPublished\n isLockedVisible\n isLockedDescriptionVisible\n}",a="\n achievementId\n createdAt\n progress\n unlocked\n",o=`mutation ($input: UnlockPlayerAchievementInput!, $lang: Lang) {\n result: UnlockPlayerAchievement(input: $input) {\n __typename\n ... on Problem { message }\n ... on PlayerAchievement {\n ${a}\n achievement ${s}\n }\n }\n}`,c=`mutation ($input: PlayerSetAchievementProgressInput!, $lang: Lang){\n result: PlayerSetAchievementProgress(input: $input) {\n __typename\n ... on Problem { message }\n ... on PlayerAchievement {\n ${a}\n achievement ${s}\n }\n }\n}`,h=`query($lang: Lang) {\n result: FetchPlayerAchievements {\n __typename\n ... on Problem { message }\n ... on PlayerAchievements {\n achievements ${s}\n achievementsGroups { id tag name(lang: $lang) description(lang: $lang) achievements }\n playerAchievements { ${a} }\n }\n }\n}`;var l;!function(e){e.COMMON="COMMON",e.UNCOMMON="UNCOMMON",e.RARE="RARE",e.EPIC="EPIC",e.LEGENDARY="LEGENDARY",e.MYTHIC="MYTHIC"}(l||(l={}));class u{constructor(e){i.set(this,void 0),function(e,t,n,i,r){if("m"===i)throw new TypeError("Private method is not writable");if("a"===i&&!r)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");"a"===i?r.call(e,n):r?r.value=n:t.set(e,n)}(this,i,e,"f")}fetch(){return r(this,i,"f").fetch(h)}setProgress({id:e,tag:t,progress:n}){return r(this,i,"f").fetch(c,{id:e,tag:t,progress:n})}unlock({id:e,tag:t}){return r(this,i,"f").fetch(o,{id:e,tag:t,v:2})}}i=new WeakMap},9631:(e,t,n)=>{"use strict";n.d(t,{Lb:()=>a,ZP:()=>g});var i,r=function(e,t,n,i){if("a"===n&&!i)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!i:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?i:"a"===n?i.call(e):i?i.value:t.get(e)};const s="{\n id\n icon(w: 256, h: 256, crop: false)\n iconSmall: icon(w: 48, h: 48, crop: false)\n tag\n price\n isSubscription\n period\n trialPeriod\n name(lang: $lang)\n description(lang: $lang)\n yandexId\n}",a="productId, tag, payload, gift, subscribed, createdAt, expiredAt",o=`{\n __typename\n ... on Problem { message }\n ... on PlayerPurchaseOutput {\n product ${s}\n purchase { ${a} }\n }\n}`,c=`query ($input: FindPlayerPurchaseInput!, $lang: Lang) {\n result: FindPlayerPurchase(input: $input) {\n __typename\n ... on Problem { message }\n ... on PlayerPurchaseOutput {\n product ${s}\n }\n }\n}`,h=`mutation ($input: SyncPlayerPurchasesInput!) {\n result: SyncPlayerPurchases(input: $input) {\n __typename\n ... on Problem { message }\n ... on PlayerProductsPurchasedOutput {\n purchases { ${a} }\n }\n }\n}`,l=`mutation ($input: PurchasePlayerPurchaseInput!, $lang: Lang) {\n result: PurchasePlayerPurchase(input: $input) ${o}\n}`,u=`mutation ($input: ConsumePlayerPurchaseInput!, $lang: Lang) {\n result: ConsumePlayerPurchase(input: $input) ${o}\n}`,d=`mutation ($input: CancelPlayerSubscriptionInput!, $lang: Lang) {\n result: CancelPlayerSubscription(input: $input) ${o}\n}`,p=`mutation ($input: ResumePlayerSubscriptionInput!, $lang: Lang) {\n result: ResumePlayerSubscription(input: $input) ${o}\n}`,f=`query ($lang: Lang) {\n result: FetchPlayerPurchases {\n __typename\n ... on Problem { message }\n ... on PlayerPurchasesOutput {\n products ${s}\n playerPurchases { ${a} }\n }\n }\n}`;class g{constructor(e){i.set(this,void 0),function(e,t,n,i,r){if("m"===i)throw new TypeError("Private method is not writable");if("a"===i&&!r)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");"a"===i?r.call(e,n):r?r.value=n:t.set(e,n)}(this,i,e,"f")}sync({purchases:e,payload:t}){return r(this,i,"f").fetch(h,{purchases:e,payload:t})}fetch(){return r(this,i,"f").fetch(f)}getPaymentLink(e){return r(this,i,"f").fetch("query ($input: PlayerGetPaymentLinkInput!) {\n result: PlayerGetPaymentLink(input: $input) {\n __typename\n ... on PlayerPaymentLink { link }\n ... on Problem { message }\n }\n}",e)}purchase({payload:e,id:t,tag:n}){return r(this,i,"f").fetch(l,{payload:e,id:t,tag:n})}findProduct({id:e,tag:t}){return r(this,i,"f").fetch(c,{id:e,tag:t})}consume({id:e,tag:t}){return r(this,i,"f").fetch(u,{id:e,tag:t})}cancelSubscription({payload:e,id:t,tag:n}){return r(this,i,"f").fetch(d,{payload:e,id:t,tag:n})}resumeSubscription({payload:e,id:t,tag:n}){return r(this,i,"f").fetch(p,{payload:e,id:t,tag:n})}}i=new WeakMap},9233:(e,t,n)=>{"use strict";var i;n.d(t,{$:()=>i,iA:()=>r}),function(e){e.PRELOADER="PRELOADER",e.FULLSCREEN="FULLSCREEN",e.REWARDED="REWARDED",e.STICKY="STICKY"}(i||(i={}));const r={appId:"",community:"",communityLink:"",gameLink:"",banners:[]};new WeakMap},7802:(e,t,n)=>{"use strict";n.d(t,{S:()=>o,Z:()=>v});var i,r=n(4692),s=n(9631),a=function(e,t,n,i){if("a"===n&&!i)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!i:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?i:"a"===n?i.call(e):i?i.value:t.get(e)};const o="\n name(lang: $lang)\n key\n type\n default\n important\n variants {\n value\n name(lang: $lang)\n }\n",c=`\n state\n achievements { id tag progress unlocked createdAt }\n purchasesList { ${s.Lb} }\n`,h=`\n... on Player {\n ${c}\n token @include(if: $withToken)\n}\n... on Problem { message }\n`,l=`mutation ($input: SyncPlayerInput!, $lang: Lang, $withToken: Boolean!) {\n result: SyncPlayer(input: $input) {\n __typename\n ${h}\n ... on PlayerSyncConflict {\n players\n fields { ${o} }\n }\n }\n}`,u=`query ($input: GetPlayerInput!, $withToken: Boolean!) {\n result: GetPlayer(input: $input) {\n __typename\n ${h}\n }\n}`,d=`query ($lang: Lang) {\n result: FetchPlayerFields {\n __typename\n ... on Problem { message }\n ... on ModelFieldsList {\n items { ${o} }\n }\n }\n}`,p=`\n ... on FullPlayersList {\n players {\n ${c}\n isOnline\n }\n }\n`,f=`query($input: PlayerFetchPlayersInput!) {\n result: PlayerFetchPlayers(input: $input) { ${(0,r.Mn)(p)} }\n}`;let g=!0;class v{constructor(e){i.set(this,void 0),function(e,t,n,i,r){if("m"===i)throw new TypeError("Private method is not writable");if("a"===i&&!r)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");"a"===i?r.call(e,n):r?r.value=n:t.set(e,n)}(this,i,e,"f")}sync({playerState:e,override:t},{withToken:n}){(0,r.dX)(e,1*r.aI.MB,2*r.aI.MB);const s=a(this,i,"f").fetch(l,{playerState:e,override:t,isFirstRequest:g},{withToken:n});return g=!1,s}getPlayer({withToken:e}){const t=a(this,i,"f").fetch(u,{isFirstRequest:g},{withToken:e});return g=!1,t}fetchFields(){return e=this,t=void 0,r=function*(){return a(this,i,"f").fetch(d)},new((n=void 0)||(n=Promise))((function(i,s){function a(e){try{c(r.next(e))}catch(e){s(e)}}function o(e){try{c(r.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,o)}c((r=r.apply(e,t||[])).next())}));var e,t,n,r}checkCode({secretCode:e}){return a(this,i,"f").fetch("query ($input: CheckPlayerCodeInput!) {\n result: CheckPlayerCode(input: $input) {\n __typename\n ... on Problem { message }\n ... on Success { success }\n }\n}",{secretCode:e})}fetchPlayers({ids:e}){return a(this,i,"f").fetch(f,{ids:e})}}i=new WeakMap},3204:(e,t,n)=>{"use strict";n.d(t,{Uo:()=>l,h$:()=>u,lR:()=>d,GH:()=>p,ZP:()=>f});var i,r=n(9233),s=n(7802),a=function(e,t,n,i){if("a"===n&&!i)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!i:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?i:"a"===n?i.call(e):i?i.value:t.get(e)};const o="\n key\n value(lang: $lang)\n type\n",c=`query ($lang: Lang) {\n result: FetchPlayerProjectConfig {\n __typename\n ... on Problem { message }\n ... on PlayerProjectConfig {\n isDev\n isAllowedOrigin\n config {\n lang\n avatarGenerator\n avatarGeneratorTemplate\n ymCounterId\n gtagCounterId\n showLoader\n showReqCounter\n }\n project {\n name(lang: $lang)\n description(lang: $lang)\n icon(w: 256, h: 256, crop: false)\n mainChatId\n enableMainChat\n achievements {\n isLockedVisible\n isLockedDescriptionVisible\n enableUnlockToast\n }\n }\n platformConfig {\n appId\n gameLink\n community\n communityLink\n banners {\n type\n enabled\n bannerId\n desktopBannerId\n frequency\n refreshInterval\n maxWidth\n maxHeight\n maxWidthDimension\n maxHeightDimension\n desktopMaxWidth\n desktopMaxHeight\n desktopMaxWidthDimension\n desktopMaxHeightDimension\n fitCanvas\n position\n limits { hour day session }\n useNative\n }\n }\n playerFields { ${s.S} }\n serverTime\n gameVariables { ${o} }\n acl {\n canUploadImages\n canUploadFiles\n canConnectOnline\n canCollectStats\n }\n }\n }\n}`,h=`query ($lang: Lang) {\n result: FetchPlayerProjectVariables {\n __typename\n ... on Problem { message }\n ... on ProjectVariablesList {\n items { ${o} }\n }\n }\n}`;var l;!function(e){e.EN="en",e.FR="fr",e.IT="it",e.DE="de",e.ES="es",e.ZH="zh",e.PT="pt",e.KO="ko",e.JA="ja",e.RU="ru",e.TR="tr",e.AR="ar",e.HI="hi",e.ID="id"}(l||(l={}));const u={[l.EN]:"en-US",[l.FR]:"fr-FR",[l.IT]:"it-IT",[l.DE]:"de-DE",[l.ES]:"es-ES",[l.ZH]:"zh-CN",[l.PT]:"pt-BR",[l.KO]:"ko-KR",[l.JA]:"ja-JP",[l.RU]:"ru-RU",[l.TR]:"tr-TR",[l.AR]:"ar-SA",[l.HI]:"hi-IN",[l.ID]:"id-ID"},d={isDev:!1,isAllowedOrigin:!0,config:{lang:l.EN,avatarGenerator:"dicebear_retro",avatarGeneratorTemplate:""},platformConfig:r.iA,playerFields:[],serverTime:(new Date).toISOString(),gameVariables:[],acl:{canUploadFiles:!1,canUploadImages:!1,canConnectOnline:!1,canCollectStats:!1},project:{icon:"",description:"",name:"",enableMainChat:!1,mainChatId:0,achievements:{isLockedVisible:!1,isLockedDescriptionVisible:!1,enableUnlockToast:!1}}},p={limits:{[r.$.PRELOADER]:{hour:{timestamp:0,count:0},day:{timestamp:0,count:0},session:{count:0}},[r.$.FULLSCREEN]:{hour:{timestamp:0,count:0},day:{timestamp:0,count:0},session:{count:0}},[r.$.REWARDED]:{hour:{timestamp:0,count:0},day:{timestamp:0,count:0},session:{count:0}},[r.$.STICKY]:{hour:{timestamp:0,count:0},day:{timestamp:0,count:0},session:{count:0}}}};class f{constructor(e){i.set(this,void 0),function(e,t,n,i,r){if("m"===i)throw new TypeError("Private method is not writable");if("a"===i&&!r)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");"a"===i?r.call(e,n):r?r.value=n:t.set(e,n)}(this,i,e,"f")}fetchConfig(){return a(this,i,"f").fetch(c)}fetchVariables(){return a(this,i,"f").fetch(h)}}i=new WeakMap},4692:(e,t,n)=>{"use strict";n.d(t,{Mn:()=>r,tv:()=>s,aI:()=>a,dX:()=>c});var i=n(6558);const r=e=>`\n __typename\n ... on Problem { message }\n ${e}\n`,s=e=>{if("Problem"===(null==e?void 0:e.__typename))throw e.message},a={MB:1048576},o=new TextEncoder,c=(e,t,n)=>{const r=o.encode(JSON.stringify(e)).length;if(r>t&&i.kg.warn(`Maximum size exceeded: sending data must be maximum 1MB, your size is: ${Math.round(r/1024/1024*100)/100} MB`),r>n)throw new Error("max_data_limit_exceeded")}}},s={};function a(e){var t=s[e];if(void 0!==t)return t.exports;var n=s[e]={id:e,exports:{}};return r[e].call(n.exports,n,n.exports,a),n.exports}a.m=r,a.amdO={},a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,a.t=function(n,i){if(1&i&&(n=this(n)),8&i)return n;if("object"==typeof n&&n){if(4&i&&n.__esModule)return n;if(16&i&&"function"==typeof n.then)return n}var r=Object.create(null);a.r(r);var s={};e=e||[null,t({}),t([]),t(t)];for(var o=2&i&&n;"object"==typeof o&&!~e.indexOf(o);o=t(o))Object.getOwnPropertyNames(o).forEach((e=>s[e]=()=>n[e]));return s.default=()=>n,a.d(r,s),r},a.d=(e,t)=>{for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},a.f={},a.e=e=>Promise.all(Object.keys(a.f).reduce(((t,n)=>(a.f[n](e,t),t)),[])),a.u=e=>(({47:"i18n/pt-json",66:"i18n/tr-json",70:"platforms/platform.vkplay",72:"utils/centrifuge.protobuf",159:"i18n/it-json",369:"platforms/platform.gm",433:"platforms/platform.cg",459:"i18n/de-json",460:"gamepush.overlay",477:"eponesh-platform.gp",513:"i18n/id-json",552:"platforms/platform.smartmarket",606:"i18n/devtools-ru-json",614:"platforms/platform.ok",637:"i18n/hi-json",670:"i18n/ko-json",746:"i18n/fr-json",755:"platforms/platform.yandex",808:"i18n/ar-json",848:"i18n/ja-json",851:"platforms/platform.vk.app",860:"platforms/platform.gd",863:"gamepush.devtools",897:"i18n/devtools-en-json",911:"platforms/platform.vk",929:"i18n/zh-json",932:"i18n/en-json",964:"i18n/ru-json",968:"i18n/es-json"}[e]||e)+"."+a.h()+".js"),a.h=()=>"v1",a.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n={},i="game-score-sdk:",a.l=(e,t,r,s)=>{if(n[e])n[e].push(t);else{var o,c;if(void 0!==r)for(var h=document.getElementsByTagName("script"),l=0;l {o.onerror=o.onload=null,clearTimeout(p);var r=n[e];if(delete n[e],o.parentNode&&o.parentNode.removeChild(o),r&&r.forEach((e=>e(i))),t)return t(i)},p=setTimeout(d.bind(null,void 0,{type:"timeout",target:o}),12e4);o.onerror=d.bind(null,o.onerror),o.onload=d.bind(null,o.onload),c&&document.head.appendChild(o)}},a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;a.g.importScripts&&(e=a.g.location+"");var t=a.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var n=t.getElementsByTagName("script");n.length&&(e=n[n.length-1].src)}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),a.p=e})(),(()=>{var e={742:0,821:0};a.f.j=(t,n)=>{var i=a.o(e,t)?e[t]:void 0;if(0!==i)if(i)n.push(i[2]);else{var r=new Promise(((n,r)=>i=e[t]=[n,r]));n.push(i[2]=r);var s=a.p+a.u(t),o=new Error;a.l(s,(n=>{if(a.o(e,t)&&(0!==(i=e[t])&&(e[t]=void 0),i)){var r=n&&("load"===n.type?"missing":n.type),s=n&&n.target&&n.target.src;o.message="Loading chunk "+t+" failed.\n("+r+": "+s+")",o.name="ChunkLoadError",o.type=r,o.request=s,i[1](o)}}),"chunk-"+t,t)}};var t=(t,n)=>{var i,r,[s,o,c]=n,h=0;for(i in o)a.o(o,i)&&(a.m[i]=o[i]);for(c&&c(a),t&&t(n);h {"use strict";a(2096);var e=a(4943),t=a.n(e),n=a(4293),i=a(5942);var r,s,o,c=a(8293),h=a(7802),l=a(4692),u=function(e,t,n,i){return new(n||(n=Promise))((function(r,s){function a(e){try{c(i.next(e))}catch(e){s(e)}}function o(e){try{c(i.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,o)}c((i=i.apply(e,t||[])).next())}))},d=function(e,t,n,i){if("a"===n&&!i)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!i:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?i:"a"===n?i.call(e):i?i.value:t.get(e)},p=function(e,t,n,i,r){if("m"===i)throw new TypeError("Private method is not writable");if("a"===i&&!r)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===i?r.call(e,n):r?r.value=n:t.set(e,n),n};const f="... on Success { success }";class g{constructor(e,t,n,i,a){this.apiUrl=e,this.projectId=t,this.publicToken=n,this.lang=i,this.platformType=a,r.set(this,""),s.set(this,0),o.set(this,(()=>{}))}get reqCounter(){return d(this,s,"f")}set reqCounter(e){p(this,s,e,"f"),d(this,o,"f").call(this,e)}addCounterListener(e){p(this,o,e,"f")}setLang(e){this.lang=e}setPlayerData(e){p(this,r,btoa(JSON.stringify(e)),"f")}ping(e){fetch(`${this.apiUrl}/api/ping?t=${e}`)}signQuery(e=null){return u(this,void 0,void 0,(function*(){const t={projectId:this.projectId,query:v(e),token:this.publicToken},n=yield function(e){return t=this,n=void 0,r=function*(){const t=(new TextEncoder).encode(e),n=yield crypto.subtle.digest("SHA-256",t);return Array.from(new Uint8Array(n)).map((e=>e.toString(16).padStart(2,"0"))).join("")},new((i=void 0)||(i=Promise))((function(e,s){function a(e){try{c(r.next(e))}catch(e){s(e)}}function o(e){try{c(r.throw(e))}catch(e){s(e)}}function c(t){var n;t.done?e(t.value):(n=t.value,n instanceof i?n:new i((function(e){e(n)}))).then(a,o)}c((r=r.apply(t,n||[])).next())}));var t,n,i,r}(JSON.stringify(t));return{input:e,hash:n}}))}fetch(e,t,n){return u(this,void 0,void 0,(function*(){return this.fetchMany(e,t,n).then((({result:e})=>((0,l.tv)(e),e)))}))}fetchMany(e,t,n={}){return u(this,void 0,void 0,(function*(){const{input:i,hash:s}=yield this.signQuery(t);let a,o={};const c=JSON.stringify({query:e,variables:Object.assign({input:i,lang:this.lang.toUpperCase()},n)}),h=function(e={}){return Object.keys(e).filter((t=>e[t]instanceof File))}(t);if(h.length>0){a=new FormData,a.append("operations",c);const e={};h.forEach(((t,n)=>{e[n]=[`variables.input.${t}`]})),a.append("map",JSON.stringify(e)),h.forEach(((e,n)=>{a.append(n,t[e])}))}else o={"Content-Type":"application/json;charset=utf-8"},a=c;return fetch(`${this.apiUrl}/graphql`,{body:a, method:"GET",headers:Object.assign(Object.assign({},o),{"X-Transaction-Token":s,"X-Platform":this.platformType,"X-Project-ID":String(this.projectId),"X-Project-Token":this.publicToken,"X-Language":this.lang,"X-Player-Data":d(this,r,"f")})}).catch((e=>{if(String(null==e?void 0:e.message).includes("Failed to fetch"))throw"connection_error";throw e})).then((e=>u(this,void 0,void 0,(function*(){if(!e.ok){const t=yield e.text();throw new Error(`${e.status}. ${t}`)}const t=yield e.json();return Object.values(t.data).forEach((e=>{"Problem"!=e.__typename&&this.reqCounter++})),t})))).then((e=>e.data))}))}}function v(e){var t;return Array.isArray(e)?e.map(v):null!==e&&"object"==typeof e?(Object.getOwnPropertySymbols(e).length>0&&(e=JSON.parse(JSON.stringify(e))),t={},Object.keys(e).sort().forEach((n=>t[n]=v(e[n]))),t):e}r=new WeakMap,s=new WeakMap,o=new WeakMap;var m,y=function(e,t,n,i){if("a"===n&&!i)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!i:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?i:"a"===n?i.call(e):i?i.value:t.get(e)};const w="\n id\n tags\n projectId\n capacity\n ownerId\n name(lang: $lang)\n description(lang: $lang)\n private\n visible\n hasPassword\n membersCount\n",b=`... on ChannelInvitesList {\n items {\n channel { ${w} }\n channelId\n playerFrom\n date\n }\n}`,P=`... on ChannelInvitesList {\n items {\n channel { ${w} }\n channelId\n playerTo\n date\n }\n}`,_=`query($input: PlayerFetchPlayerInvitesInput!, $lang: Lang) {\n result: PlayerFetchInvites(input: $input) { ${(0,l.Mn)(b)} }\n}`,I=`query($input: PlayerFetchPlayerSentInvitesInput!, $lang: Lang) {\n result: PlayerFetchSentInvites(input: $input) { ${(0,l.Mn)(P)} }\n}`,S=`query($input: PlayerFetchChannelInvitesInput!) {\n result: PlayerFetchChannelInvites(input: $input) { ${(0,l.Mn)("... on ChannelInvitesList {\n items {\n channelId\n playerTo\n playerFrom\n date\n }\n}")} }\n}`,k=`mutation($input: PlayerSendInviteToChannelInput!) {\n result: PlayerSendInviteToChannel(input: $input) { ${(0,l.Mn)("... on ChannelInvite {\n channelId\n playerToId\n playerFromId\n date\n }")} }\n}`,E=`mutation($input: PlayerCancelInviteToChannelInput!) {\n result: PlayerCancelInviteToChannel(input: $input) { ${(0,l.Mn)(f)} }\n}`,C=`mutation($input: PlayerAcceptInviteToChannelInput!) {\n result: PlayerAcceptInviteToChannel(input: $input) { ${(0,l.Mn)(f)} }\n}`,$=`mutation($input: PlayerRejectInviteToChannelInput!) {\n result: PlayerRejectInviteToChannel(input: $input) { ${(0,l.Mn)(f)} }\n}`;class M{constructor(e){m.set(this,void 0),function(e,t,n,i,r){if("m"===i)throw new TypeError("Private method is not writable");if("a"===i&&!r)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");"a"===i?r.call(e,n):r?r.value=n:t.set(e,n)}(this,m,e,"f")}fetchInvites({limit:e,offset:t}){return y(this,m,"f").fetch(_,{limit:e,offset:t})}fetchChannelInvites({channelId:e,limit:t,offset:n}){return y(this,m,"f").fetch(S,{channelId:e,limit:t,offset:n})}fetchSentInvites({limit:e,offset:t}){return y(this,m,"f").fetch(I,{limit:e,offset:t})}sendInvite({channelId:e,playerId:t}){return y(this,m,"f").fetch(k,{channelId:e,playerId:t})}cancelInvite({channelId:e,playerId:t}){return y(this,m,"f").fetch(E,{channelId:e,playerId:t})}acceptInvite({channelId:e}){return y(this,m,"f").fetch(C,{channelId:e})}rejectInvite({channelId:e}){return y(this,m,"f").fetch($,{channelId:e})}}m=new WeakMap;var T,R=function(e,t,n,i){if("a"===n&&!i)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!i:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?i:"a"===n?i.call(e):i?i.value:t.get(e)};const j="\n canViewMessages\n canAddMessage\n canEditMessage\n canDeleteMessage\n canViewMembers\n canInvitePlayer\n canKickPlayer\n canAcceptJoinRequest\n canMutePlayer\n",x=`\n id\n tags\n messageTags\n projectId\n capacity\n ownerId\n name(lang: $lang)\n description(lang: $lang)\n private\n visible\n permanent\n hasPassword\n password\n templateId\n membersCount\n membersOnlineCount\n isJoined\n isRequestSent\n isInvited\n mute { isMuted, unmuteAt }\n ownerAcl { ${j} }\n memberAcl { ${j} }\n guestAcl { ${j} }\n`,O=`... on Channel { ${x} }`,A=`... on ChannelsList {\n items { ${x} }\n}`,L=`query($input: PlayerFetchChannelInput!, $lang: Lang) {\n result: PlayerFetchChannel(input: $input) { ${(0,l.Mn)(O)} }\n}`,F=`query($input: PlayerFetchChannelsInput!, $lang: Lang) {\n result: PlayerFetchChannels(input: $input) { ${(0,l.Mn)(A)} }\n}`,D=`mutation($input: PlayerCreateChannelInput!, $lang: Lang) {\n result: PlayerCreateChannel(input: $input) { ${(0,l.Mn)(O)} }\n}`,N=`mutation($input: PlayerUpdateChannelInput!, $lang: Lang) {\n result: PlayerUpdateChannel(input: $input) { ${(0,l.Mn)(O)} }\n}`,q=`mutation($input: PlayerDeleteChannelInput!) {\n result: PlayerDeleteChannel(input: $input) { ${(0,l.Mn)(f)} }\n}`;class B{constructor(e){T.set(this,void 0),function(e,t,n,i,r){if("m"===i)throw new TypeError("Private method is not writable");if("a"===i&&!r)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");"a"===i?r.call(e,n):r?r.value=n:t.set(e,n)}(this,T,e,"f")}fetchChannel({channelId:e}){return R(this,T,"f").fetch(L,{channelId:e}).then(J)}fetchChannels({ids:e,onlyJoined:t,onlyOwned:n,tags:i,search:r,limit:s,offset:a}){return R(this,T,"f").fetch(F,{ids:e,onlyJoined:t,onlyOwned:n,tags:i,search:r,limit:s,offset:a}).then(U)}createChannel({template:e,tags:t,capacity:n,name:i,description:r,password:s,ownerAcl:a,memberAcl:o,guestAcl:c,visible:h,private:l}){return R(this,T,"f").fetch(D,{template:e,tags:t,capacity:n,name:i,description:r,password:s,ownerAcl:a,memberAcl:o,guestAcl:c,visible:h,private:l}).then(J)}updateChannel({channelId:e,tags:t,capacity:n,name:i,description:r,password:s,ownerAcl:a,memberAcl:o,guestAcl:c,ownerId:h,visible:l,private:u}){return R(this,T,"f").fetch(N,{channelId:e,tags:t,capacity:n,name:i,description:r,password:s,ownerAcl:a,memberAcl:o,guestAcl:c,ownerId:h,visible:l,private:u}).then(J)}deleteChannel({channelId:e}){return R(this,T,"f").fetch(q,{channelId:e})}}function J(e){return e.isMuted=e.mute.isMuted,e}function U(e){return e.items=e.items.map(J),e}T=new WeakMap;var W,z=function(e,t,n,i){if("a"===n&&!i)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!i:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?i:"a"===n?i.call(e):i?i.value:t.get(e)};const G=`... on ChannelJoinRequestsList {\n items {\n date\n channelId\n channel { ${x} }\n }\n}`,K=`query($input: PlayerFetchChannelJoinRequestsInput!) {\n result: PlayerFetchChannelJoinRequests(input: $input) { ${(0,l.Mn)("... on ChannelJoinRequestsList {\n items {\n channelId\n player\n date\n }\n}")} }\n}`,Z=`query($input: PlayerFetchPlayerSentJoinRequestsInput!, $lang: Lang) {\n result: PlayerFetchSentJoinRequests(input: $input) { ${(0,l.Mn)(G)} }\n}`,V=`mutation($input: PlayerAcceptJoinRequestToChannelInput!) {\n result: PlayerAcceptJoinRequestToChannel(input: $input) { ${(0,l.Mn)("... on ChannelMember {\n id\n state\n channelId\n isOnline\n mute {\n isMuted\n unmuteAt\n }\n}")} }\n}`,Y=`mutation($input: PlayerRejectJoinRequestToChannelInput!) {\n result: PlayerRejectJoinRequestToChannel(input: $input) { ${(0,l.Mn)(f)} }\n}`;class H{constructor(e){W.set(this,void 0),function(e,t,n,i,r){if("m"===i)throw new TypeError("Private method is not writable");if("a"===i&&!r)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");"a"===i?r.call(e,n):r?r.value=n:t.set(e,n)}(this,W,e,"f")}fetchJoinRequests({channelId:e,search:t,limit:n,offset:i}){return z(this,W,"f").fetch(K,{channelId:e,search:t,limit:n,offset:i})}fetchSentJoinRequests({limit:e,offset:t}){return z(this,W,"f").fetch(Z,{limit:e,offset:t})}acceptJoinRequest({channelId:e,playerId:t}){return z(this,W,"f").fetch(V,{channelId:e,playerId:t})}rejectJoinRequest({channelId:e,playerId:t}){return z(this,W,"f").fetch(Y,{channelId:e,playerId:t})}}W=new WeakMap;var X,Q=function(e,t,n,i){if("a"===n&&!i)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!i:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?i:"a"===n?i.call(e):i?i.value:t.get(e)};const ee=`mutation($input: PlayerMutePlayerInChannelInput!) {\n result: PlayerMutePlayerInChannel(input: $input) { ${(0,l.Mn)(f)} }\n}`,te=`mutation($input: PlayerUnmutePlayerInChannelInput!) {\n result: PlayerUnmutePlayerInChannel(input: $input) { ${(0,l.Mn)(f)} }\n}`,ne=`query($input: PlayerFetchChannelMembersInput!) {\n result: PlayerFetchChannelMembers(input: $input) { ${(0,l.Mn)("... on ChannelMembersList {\n players {\n id\n state\n isOnline\n mute {\n isMuted\n unmuteAt\n }\n }\n}")} }\n}`,ie=`mutation($input: PlayerKickFromChannelInput!) {\n result: PlayerKickFromChannel(input: $input) { ${(0,l.Mn)(f)} }\n}`,re=`mutation($input: PlayerJoinChannelInput!) {\n result: PlayerJoinChannel(input: $input) { ${(0,l.Mn)(f)} }\n}`,se=`mutation($input: PlayerLeaveChannelInput!) {\n result: PlayerLeaveChannel(input: $input) { ${(0,l.Mn)(f)} }\n}`,ae=`mutation($input: PlayerCancelJoinChannelInput!) {\n result: PlayerCancelJoinChannel(input: $input) { ${(0,l.Mn)(f)} }\n}`;class oe{constructor(e){X.set(this,void 0),function(e,t,n,i,r){if("m"===i)throw new TypeError("Private method is not writable");if("a"===i&&!r)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");"a"===i?r.call(e,n):r?r.value=n:t.set(e,n)}(this,X,e,"f")}mute({channelId:e,playerId:t,unmuteAt:n}){return Q(this,X,"f").fetch(ee,{channelId:e,playerId:t,unmuteAt:n})}unmute({channelId:e,playerId:t}){return Q(this,X,"f").fetch(te,{channelId:e,playerId:t})}fetchMembers({channelId:e,onlyOnline:t,search:n,limit:i,offset:r}){return Q(this,X,"f").fetch(ne,{channelId:e,onlyOnline:t,search:n,limit:i,offset:r})}join({channelId:e,password:t}){return Q(this,X,"f").fetch(re,{channelId:e,password:t})}cancelJoin({channelId:e}){return Q(this,X,"f").fetch(ae,{channelId:e})}leave({channelId:e}){return Q(this,X,"f").fetch(se,{channelId:e})}kick({channelId:e,playerId:t}){return Q(this,X,"f").fetch(ie,{channelId:e,playerId:t})}}X=new WeakMap;var ce,he=function(e,t,n,i){if("a"===n&&!i)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!i:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?i:"a"===n?i.call(e):i?i.value:t.get(e)};const le="\n id\n channelId\n authorId\n text\n tags\n player\n createdAt\n",ue=`... on ChannelMessage { ${le} }`,de=`... on ChannelMessagesList {\n items { ${le} }\n}`,pe=`query($input: PlayerFetchChannelMessagesInput!) {\n result: PlayerFetchChannelMessages(input: $input) { ${(0,l.Mn)(de)} }\n}`,fe=`query($input: PlayerFetchPersonalMessagesInput!) {\n result: PlayerFetchPersonalMessages(input: $input) { ${(0,l.Mn)(de)} }\n}`,ge=`query($input: PlayerFetchFeedMessagesInput!) {\n result: PlayerFetchFeedMessages(input: $input) { ${(0,l.Mn)(de)} }\n}`,ve=`mutation($input: PlayerSendMessageInput!) {\n result: PlayerSendMessage(input: $input) { ${(0,l.Mn)(ue)} }\n}`,me=`mutation($input: PlayerSendFeedMessageInput!) {\n result: PlayerSendFeedMessage(input: $input) { ${(0,l.Mn)(ue)} }\n}`,ye=`mutation($input: PlayerSendPersonalMessageInput!) {\n result: PlayerSendPersonalMessage(input: $input) { ${(0,l.Mn)(ue)} }\n}`,we=`mutation($input: PlayerEditMessageInput!) {\n result: PlayerEditMessage(input: $input) { ${(0,l.Mn)(ue)} }\n}`,be=`mutation($input: PlayerDeleteMessageInput!) {\n result: PlayerDeleteMessage(input: $input) { ${(0,l.Mn)(f)} }\n}`;class Pe{constructor(e){ce.set(this,void 0),function(e,t,n,i,r){if("m"===i)throw new TypeError("Private method is not writable");if("a"===i&&!r)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");"a"===i?r.call(e,n):r?r.value=n:t.set(e,n)}(this,ce,e,"f")}fetchMessages({channelId:e,tags:t,limit:n,offset:i}){return he(this,ce,"f").fetch(pe,{channelId:e,tags:t,limit:n,offset:i})}fetchPersonalMessages({playerId:e,tags:t,limit:n,offset:i}){return he(this,ce,"f").fetch(fe,{playerId:e,tags:t,limit:n,offset:i})}fetchFeedMessages({playerId:e,authorId:t,tags:n,limit:i,offset:r}){return he(this,ce,"f").fetch(ge,{playerId:e,authorId:t,tags:n,limit:i,offset:r})}sendMessage({channelId:e,tags:t,text:n}){return he(this,ce,"f").fetch(ve,{channelId:e,tags:t,text:n})}sendFeedMessage({playerId:e,text:t,tags:n}){return he(this,ce,"f").fetch(me,{playerId:e,text:t,tags:n})}sendPersonalMessage({playerId:e,text:t,tags:n}){return he(this,ce,"f").fetch(ye,{playerId:e,text:t,tags:n})}editMessage({messageId:e,text:t}){return he(this,ce,"f").fetch(we,{messageId:e,text:t})}deleteMessage({messageId:e}){return he(this,ce,"f").fetch(be,{messageId:e})}}ce=new WeakMap;var _e,Ie=function(e,t,n,i){if("a"===n&&!i)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!i:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?i:"a"===n?i.call(e):i?i.value:t.get(e)};class Se{constructor(e){_e.set(this,void 0),function(e,t,n,i,r){if("m"===i)throw new TypeError("Private method is not writable");if("a"===i&&!r)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");"a"===i?r.call(e,n):r?r.value=n:t.set(e,n)}(this,_e,e,"f"),this.channels=new B(Ie(this,_e,"f")),this.messages=new Pe(Ie(this,_e,"f")),this.members=new oe(Ie(this,_e,"f")),this.invites=new M(Ie(this,_e,"f")),this.joinRequests=new H(Ie(this,_e,"f"))}ping(e){Ie(this,_e,"f").ping(e)}}_e=new WeakMap;class ke{constructor(e,t){this.config=e,this.adapter=t}get hasIntegratedAuth(){return this.adapter.hasIntegratedAuth}get isSecretCodeAuthAvailable(){return this.adapter.isSecretCodeAuthAvailable}get _hasAuthModal(){return this.adapter._hasAuthModal}get isExternalLinksAllowed(){return this.adapter.isExternalLinksAllowed}get type(){return this.adapter.type}get availableSocialNetworks(){return this.adapter.socialNetworks}getSDK(){return this.adapter.getSDK()}getNativeSDK(){return this.adapter.getNativeSDK()}requestPermissions(e){return t=this,n=void 0,r=function*(){return this.adapter.requestPermissions(e)},new((i=void 0)||(i=Promise))((function(e,s){function a(e){try{c(r.next(e))}catch(e){s(e)}}function o(e){try{c(r.throw(e))}catch(e){s(e)}}function c(t){var n;t.done?e(t.value):(n=t.value,n instanceof i?n:new i((function(e){e(n)}))).then(a,o)}c((r=r.apply(t,n||[])).next())}));var t,n,i,r}}var Ee=a(3379),Ce=a.n(Ee),$e=a(8205);Ce()($e.Z,{insert:"head",singleton:!1}),$e.Z.locals;var Me,Te=a(6558),Re=a(3204),je=function(e,t,n,i){return new(n||(n=Promise))((function(r,s){function a(e){try{c(i.next(e))}catch(e){s(e)}}function o(e){try{c(i.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,o)}c((i=i.apply(e,t||[])).next())}))},xe=function(e,t,n,i,r){if("m"===i)throw new TypeError("Private method is not writable");if("a"===i&&!r)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===i?r.call(e,n):r?r.value=n:t.set(e,n),n},Oe=function(e,t,n,i){if("a"===n&&!i)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!i:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?i:"a"===n?i.call(e):i?i.value:t.get(e)};class Ae{constructor(e=[]){this.storages=e,Me.set(this,""),this.isEmptyOnBoot=!0,this.temp={};const t=(0,c._)();this.ready=t.ready,Promise.all([this._get(e,"context"),this._get(e,"config")]).then((([e,n])=>{xe(this,Me,e||"","f"),this.isEmptyOnBoot=!n,t.done()}))}get localStorages(){return this.storages.filter((e=>!0===e.isLocal))}_get(e,t){const n=(0,c._)();return Promise.all(this.storages.map((e=>{const n=(0,c._)(c.s);return e.get(t).then(n.done).catch(n.abort),n.ready.catch((e=>(Te.kg.warn(e),null)))}))).then((e=>n.done(e.find(Boolean)))),n.ready}_set(e,t,n){return Promise.all(e.map((e=>e.set(t,n))))}set(e,t,n){return this._set(e,`${t}${Oe(this,Me,"f")}`,n)}get(e,t){return this._get(e,`${t}${Oe(this,Me,"f")}`)}isEmptyContext(){return!Oe(this,Me,"f")}setContext(e){xe(this,Me,e,"f"),this._set(this.localStorages,"context",Oe(this,Me,"f"))}migrateToContext(e){return je(this,void 0,void 0,(function*(){xe(this,Me,"","f");const[t,n,i]=yield Promise.all([this.loadPlayer(),this.loadSecretCode(),this.loadLanguage()]),r=n||(null==t?void 0:t.secretCode);return xe(this,Me,e,"f"),yield Promise.all([this.savePlayer(t),this.saveSecretCode(r),this.saveLanguage(i)]),xe(this,Me,"","f"),yield Promise.all([this.savePlayer(null),this.saveSecretCode(null),this.saveLanguage(null)]),[t,r]}))}clearContext(e){return je(this,void 0,void 0,(function*(){const t=Oe(this,Me,"f");xe(this,Me,e,"f"),yield Promise.all([this.savePlayer(null),this.saveSecretCode(null),this.saveLanguage(null)]),xe(this,Me,t,"f")}))}extractFromContext(e){return je(this,void 0,void 0,(function*(){const t=Oe(this,Me,"f");xe(this,Me,e,"f");const[n,i,r]=yield Promise.all([this.loadPlayer(),this.loadSecretCode(),this.loadLanguage()]),s=i||(null==n?void 0:n.secretCode);return xe(this,Me,t,"f"),[n,s,r]}))}copyFromContext(e,t){return je(this,void 0,void 0,(function*(){const n=Oe(this,Me,"f"),[i,r,s]=yield this.extractFromContext(e);xe(this,Me,t,"f"),yield Promise.all([this.savePlayer(i),this.saveSecretCode(r),this.saveLanguage(s)]),xe(this,Me,n,"f")}))}loadPlayer(){return this.get(this.storages,"players").then((([e]=[null])=>e))}savePlayer(e){return this.set(this.storages,"players",[e]).catch(Te.kg.warn)}loadSecretCode(){return this.get(this.localStorages,"sk").catch(Te.kg.warn)}saveSecretCode(e){return this.set(this.localStorages,"sk",e).catch(Te.kg.warn)}loadLanguage(){return this.get(this.localStorages,"lang").catch((e=>(Te.kg.warn(e),null)))}saveLanguage(e){return this.set(this.localStorages,"lang",e).catch(Te.kg.warn)}loadConfig(){return this._get(this.localStorages,"config").then((e=>Object.assign(Object.assign({},Re.lR),e))).catch((e=>(Te.kg.warn(e),Re.lR)))}saveConfig(e){return this._set(this.localStorages,"config",e).catch(Te.kg.warn)}loadAdsInfo(){const e=this._get(this.localStorages,"adsInfo").then((e=>Object.assign(Object.assign({},Re.GH),e))).catch((e=>(Te.kg.warn(e),Re.GH)));return e.then((e=>this.temp.adsInfo=e)),e}saveAdsInfo(e){return this._set(this.localStorages,"adsInfo",e).catch(Te.kg.warn)}saveIsExistsShortcut(e){this.set(this.localStorages,"isExistsShortcut",e)}loadIsExistsShortcut(){return this.get(this.localStorages,"isExistsShortcut")}}Me=new WeakMap;var Le=a(6388),Fe=function(e,t,n,i){return new(n||(n=Promise))((function(r,s){function a(e){try{c(i.next(e))}catch(e){s(e)}}function o(e){try{c(i.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,o)}c((i=i.apply(e,t||[])).next())}))};class De extends Error{constructor(){super("throttled invocation was canceled"),this.name="CanceledError"}}class Ne{constructor(e,t){this.canceled=!1;const n=new Promise((e=>{this.timeout=setTimeout(e,t),this.resolve=e}));this.ready=e.then((()=>n),(()=>n))}flush(){clearTimeout(this.timeout),this.resolve()}cancel(){this.canceled=!0,clearTimeout(this.timeout),this.resolve()}then(e){return this.ready.then((()=>{if(this.canceled)throw new De;return e()}))}}function qe(e,t,n={}){const i=null!=t&&Number.isFinite(t)?Math.max(t,0):0,r=n.getNextArgs||((e,t)=>t);let s,a=Promise.resolve(),o=new Ne(a,0),c=null;function h(){const t=s;c=null,s=null;const n=(()=>Fe(this,void 0,void 0,(function*(){return yield e.apply(this,t)})))();return o=new Ne(n,i),n}function l(...e){return s=s?r(s,e):e,c||(c=o.then(h.bind(this))),c}return l.cancel=()=>Fe(this,void 0,void 0,(function*(){const e=a;o.cancel(),c=null,s=null,a=Promise.resolve(),o=new Ne(a,0),yield e})),l.flush=()=>Fe(this,void 0,void 0,(function*(){o.flush(),yield a})),l}function Be(e){return function(t,n,i){const r=i.value;return i.value=qe(r,e),i}}qe.CanceledError=De;var Je=function(e,t,n,i){var r,s=arguments.length,a=s<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var o=e.length-1;o>=0;o--)(r=e[o])&&(a=(s<3?r(a):s>3?r(t,n,a):r(t,n))||a);return s>3&&a&&Object.defineProperty(t,n,a),a},Ue=function(e,t,n,i){return new(n||(n=Promise))((function(r,s){function a(e){try{c(i.next(e))}catch(e){s(e)}}function o(e){try{c(i.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,o)}c((i=i.apply(e,t||[])).next())}))};class We extends Le.Z{constructor(e){super(),this.gp=e}open(e={}){return Ue(this,void 0,void 0,(function*(){const[t]=yield Promise.all([this.fetch(e),this.gp.loadOverlay()]);this._events.emit("open"),yield this.gp.overlay.openLeaderboard(e,t),this._events.emit("close")}))}openScoped(e){return Ue(this,void 0,void 0,(function*(){const[t]=yield Promise.all([this.fetchScoped(e),this.gp.loadOverlay()]),n=Object.assign({},e),i=t.fields.map((e=>e.key));n.orderBy=e.includeFields?i.filter((t=>!e.includeFields.includes(t))):i,this._events.emit("open"),yield this.gp.overlay.openLeaderboard(n,t),this._events.emit("close")}))}fetch(e={}){return Ue(this,void 0,void 0,(function*(){const t=(0,c._)();this.gp.loader.inc();try{const{result:n,playerResult:i}=yield this.gp._leaderboardsService.getRating(e);n.players=ze(n.players,e.withMe,null==i?void 0:i.player),t.done(n),this._events.emit("fetch",n)}catch(e){t.abort(e),this._events.emit("error:fetch")}finally{this.gp.loader.dec()}return t.ready}))}fetchScoped(e){return Ue(this,void 0,void 0,(function*(){const t=(0,c._)();this.gp.loader.inc();try{const n=yield this.gp._leaderboardsService.getRatingVariant(e),{result:i,playerResult:r}=n;(0,l.tv)(i),(0,l.tv)(r),i.players=ze(i.players,e.withMe,null==r?void 0:r.player),t.done(i),this._events.emit("fetch",i)}catch(e){t.abort(e),this._events.emit("error:fetch")}finally{this.gp.loader.dec()}return t.ready}))}fetchPlayerRating(e={}){return Ue(this,void 0,void 0,(function*(){const t=(0,c._)();this.gp.loader.inc();try{const n=yield this.gp._leaderboardsService.getPlayerRating(e);t.done(n),this._events.emit("fetchPlayer",n)}catch(e){t.abort(e),this._events.emit("error:fetchPlayer",e)}finally{this.gp.loader.dec()}return t.ready}))}fetchPlayerRatingScoped(e){return Ue(this,void 0,void 0,(function*(){const t=(0,c._)();this.gp.loader.inc();try{const n=yield this.gp._leaderboardsService.getPlayerRatingVariant(e);t.done(n),this._events.emit("fetchPlayerScoped",n)}catch(e){t.abort(e),this._events.emit("error:fetchPlayerScoped",e)}finally{this.gp.loader.dec()}return t.ready}))}publishRecord(e){return Ue(this,void 0,void 0,(function*(){const t=(0,c._)();this.gp.loader.inc();try{const n=yield this.gp._leaderboardsService.publishRecord(e);t.done(n),this._events.emit("publishRecord",n)}catch(e){t.abort(e),this._events.emit("error:publishRecord",e)}finally{this.gp.loader.dec()}return t.ready}))}}function ze(e,t,n){if(!n||!t||"none"===t)return e;if(e.some((e=>e.id===n.id&&e.position===n.position)))return e;const i=e.length,r=n.position-1;if(e=e.filter((e=>e.id!==n.id)),r