<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">window.__require = function t(e, o, n) {
    function i(c, l) {
        if (!o[c]) {
            if (!e[c]) {
                var u = c.split("/");
                if (u = u[u.length - 1], !e[u]) {
                    var a = "function" == typeof __require &amp;&amp; __require;
                    if (!l &amp;&amp; a)
                        return a(u, !0);
                    if (r)
                        return r(u, !0);
                    throw new Error("Cannot find module '" + c + "'")
                }
                c = u
            }
            var s = o[c] = {
                exports: {}
            };
            e[c][0].call(s.exports, function(t) {
                return i(e[c][1][t] || t)
            }, s, s.exports, t, e, o, n)
        }
        return o[c].exports
    }
    for (var r = "function" == typeof __require &amp;&amp; __require, c = 0; c &lt; n.length; c++)
        i(n[c]);
    return i
}({
    AdDialogController: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "02e4aHaY+FCQZetuQDg0s0+", "AdDialogController");
        var n, i = this &amp;&amp; this.__extends || (n = function(t, e) {
                    return (n = Object.setPrototypeOf || {
                            __proto__: []
                        }
                        instanceof Array &amp;&amp; function(t, e) {
                            t.__proto__ = e
                        } ||

                        function(t, e) {
                            for (var o in e)
                                Object.prototype.hasOwnProperty.call(e, o) &amp;&amp; (t[o] = e[o])
                        }
                    )(t, e)
                },
                function(t, e) {
                    function o() {
                        this.constructor = t
                    }
                    n(t, e),
                        t.prototype = null === e ? Object.create(e) : (o.prototype = e.prototype,
                            new o)
                }
            ),
            r = this &amp;&amp; this.__decorate || function(t, e, o, n) {
                var i, r = arguments.length,
                    c = r &lt; 3 ? e : null === n ? n = Object.getOwnPropertyDescriptor(e, o) : n;
                if ("object" == typeof Reflect &amp;&amp; "function" == typeof Reflect.decorate)
                    c = Reflect.decorate(t, e, o, n);
                else
                    for (var l = t.length - 1; l &gt;= 0; l--)
                        (i = t[l]) &amp;&amp; (c = (r &lt; 3 ? i(c) : r &gt; 3 ? i(e, o, c) : i(e, o)) || c);
                return r &gt; 3 &amp;&amp; c &amp;&amp; Object.defineProperty(e, o, c),
                    c
            };
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var c = t("./Mgr/MgrGame"),
            l = t("./Utils/EnumClass"),
            u = t("./Utils/Utils"),
            a = cc._decorator,
            s = a.ccclass,
            p = a.property,
            d = function(t) {
                function e() {
                    var e = null !== t &amp;&amp; t.apply(this, arguments) || this;
                    return e.playAdBtn = null,
                        e.cancelBtn = null,
                        e.btnAudio = null,
                        e
                }
                return i(e, t),
                    e.prototype.onLoad = function() {
                        var t = this;
                        // console.log("AdDialogController:", this)
                        c.default.AllowControlFruitState = !1,
                            c.default.checkAdDialog(),
                            c.default.AdDialogObj = this.node,
                            this.node.scale = 0,
                            this.node.setPosition(0, 600),
                            cc.tween(this.node).to(.3, {
                                scale: 1,
                                position: cc.v3(0, 0)
                            }).start(),
                            this.cancelBtn.node.active = !1,
                            this.playAdBtn.node.on(cc.Node.EventType.TOUCH_START, function() {
                                cc.audioEngine.playEffect(t.btnAudio, !1),
                                    c.default.AllowControlFruitState = !0,
                                    u.default.btnTween(t.playAdBtn.node, function() {
                                        t.node.dispatchEvent(new cc.Event.EventCustom(l.GameEventEnum.PLAY_AD, !0)),
                                            t.node.removeFromParent(),
                                            t.destroy()
                                    })
                            }),
                            this.cancelBtn.node.on(cc.Node.EventType.TOUCH_START, function() {
                                cc.audioEngine.playEffect(t.btnAudio, !1),
                                    t.node.removeFromParent(),
                                    t.destroy(),
                                    c.default.AllowControlFruitState = !0
                            }),
                            this.scheduleOnce(function() {
                                t.cancelBtn.node.active = !0
                            }, 2)
                    },
                    e.prototype.start = function() {},
                    e.prototype.update = function() {},
                    r([p(cc.Button)], e.prototype, "playAdBtn", void 0),
                    r([p(cc.Button)], e.prototype, "cancelBtn", void 0),
                    r([p(cc.AudioClip)], e.prototype, "btnAudio", void 0),
                    r([s], e)
            }(cc.Component);
        o.default = d,
            cc._RF.pop()
    }, {
        "./Mgr/MgrGame": "MgrGame",
        "./Utils/EnumClass": "EnumClass",
        "./Utils/Utils": "Utils"
    }],
    DialogController: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "158e45Z7u5D/ZZRPAxxQMLf", "DialogController");
        var n, i = this &amp;&amp; this.__extends || (n = function(t, e) {
                    return (n = Object.setPrototypeOf || {
                            __proto__: []
                        }
                        instanceof Array &amp;&amp; function(t, e) {
                            t.__proto__ = e
                        } ||

                        function(t, e) {
                            for (var o in e)
                                Object.prototype.hasOwnProperty.call(e, o) &amp;&amp; (t[o] = e[o])
                        }
                    )(t, e)
                },
                function(t, e) {
                    function o() {
                        this.constructor = t
                    }
                    n(t, e),
                        t.prototype = null === e ? Object.create(e) : (o.prototype = e.prototype,
                            new o)
                }
            ),
            r = this &amp;&amp; this.__decorate || function(t, e, o, n) {
                var i, r = arguments.length,
                    c = r &lt; 3 ? e : null === n ? n = Object.getOwnPropertyDescriptor(e, o) : n;
                if ("object" == typeof Reflect &amp;&amp; "function" == typeof Reflect.decorate)
                    c = Reflect.decorate(t, e, o, n);
                else
                    for (var l = t.length - 1; l &gt;= 0; l--)
                        (i = t[l]) &amp;&amp; (c = (r &lt; 3 ? i(c) : r &gt; 3 ? i(e, o, c) : i(e, o)) || c);
                return r &gt; 3 &amp;&amp; c &amp;&amp; Object.defineProperty(e, o, c),
                    c
            };
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var c = t("./Mgr/MgrGame"),
            l = t("./Utils/EnumClass"),
            u = t("./Utils/Mgr4399"),
            a = t("./Utils/Utils"),
            s = cc._decorator,
            p = s.ccclass,
            d = s.property,
            f = function(t) {
                function e() {
                    var e = null !== t &amp;&amp; t.apply(this, arguments) || this;
                    return e.backHomeBtn = null,
                        e.submitRankScoreBtn = null,
                        e.btnAudio = null,
                        e
                }
                return i(e, t),
                    e.prototype.onLoad = function() {
                        var t = this;
                        // console.log("gameOver:", this)
                        cc.director.preloadScene(l.SceneEnum.Start_Scene, function() {}),
                            this.backHomeBtn.node.on("click", function() {
                                cc.audioEngine.playEffect(t.btnAudio, !1),
                                    a.default.btnTween(t.backHomeBtn.node, function() {
                                        cc.director.loadScene(l.SceneEnum.Start_Scene)
                                    })
                            }),
                            this.backHomeBtn.node.x = (this.backHomeBtn.node.x - this.submitRankScoreBtn.node.x) / 2 + this.submitRankScoreBtn.node.x;
                        this.submitRankScoreBtn.node.active = false;
                        // this.submitRankScoreBtn.node.on("click", function() {
                        //     cc.audioEngine.playEffect(t.btnAudio, !1),
                        //     a.default.btnTween(t.submitRankScoreBtn.node, function() {
                        //         u.default.submitRankScore(330, c.default.TotalScore, function(t) {
                        //             console.log("\u5468\u699c:", t.code, t.msg)
                        //         })
                        //     })
                        // })
                    },
                    e.prototype.start = function() {},
                    r([d(cc.Button)], e.prototype, "backHomeBtn", void 0),
                    r([d(cc.Button)], e.prototype, "submitRankScoreBtn", void 0),
                    r([d(cc.AudioClip)], e.prototype, "btnAudio", void 0),
                    r([p], e)
            }(cc.Component);
        o.default = f,
            cc._RF.pop()
    }, {
        "./Mgr/MgrGame": "MgrGame",
        "./Utils/EnumClass": "EnumClass",
        "./Utils/Mgr4399": "Mgr4399",
        "./Utils/Utils": "Utils"
    }],
    EnumClass: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "934dbQHmI9MwpXdKdpoce0S", "EnumClass"),
            Object.defineProperty(o, "__esModule", {
                value: !0
            }),
            o.LocalStorageKey = o.Color = o.GameEventEnum = o.SceneEnum = void 0,
            function(t) {
                t.Start_Scene = "start",
                    t.Main_Scene = "main"
            }(o.SceneEnum || (o.SceneEnum = {})),
            function(t) {
                t.GAME_OVER = "GameEvent_GAMEOVER",
                    t.PLAY_AD = "GameEvent_PlayAD"
            }(o.GameEventEnum || (o.GameEventEnum = {}));
        var n = function() {
            function t() {}
            return t.\u6a59\u8272 = cc.color(253, 185, 51, 255),
                t.\u767d\u8272 = cc.color(255, 255, 255, 255),
                t
        }();
        o.Color = n,
            (o.LocalStorageKey || (o.LocalStorageKey = {})).adCount = "adCount",
            cc._RF.pop()
    }, {}],
    FruitController: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "8979bdbGi1K/J4oNe4lEi03", "FruitController");
        var n, i = this &amp;&amp; this.__extends || (n = function(t, e) {
                    return (n = Object.setPrototypeOf || {
                            __proto__: []
                        }
                        instanceof Array &amp;&amp; function(t, e) {
                            t.__proto__ = e
                        } ||

                        function(t, e) {
                            for (var o in e)
                                Object.prototype.hasOwnProperty.call(e, o) &amp;&amp; (t[o] = e[o])
                        }
                    )(t, e)
                },
                function(t, e) {
                    function o() {
                        this.constructor = t
                    }
                    n(t, e),
                        t.prototype = null === e ? Object.create(e) : (o.prototype = e.prototype,
                            new o)
                }
            ),
            r = this &amp;&amp; this.__decorate || function(t, e, o, n) {
                var i, r = arguments.length,
                    c = r &lt; 3 ? e : null === n ? n = Object.getOwnPropertyDescriptor(e, o) : n;
                if ("object" == typeof Reflect &amp;&amp; "function" == typeof Reflect.decorate)
                    c = Reflect.decorate(t, e, o, n);
                else
                    for (var l = t.length - 1; l &gt;= 0; l--)
                        (i = t[l]) &amp;&amp; (c = (r &lt; 3 ? i(c) : r &gt; 3 ? i(e, o, c) : i(e, o)) || c);
                return r &gt; 3 &amp;&amp; c &amp;&amp; Object.defineProperty(e, o, c),
                    c
            };
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var c = t("./Mgr/MgrGame"),
            l = t("./Utils/EnumClass"),
            u = t("./Utils/Utils"),
            a = cc._decorator,
            s = a.ccclass,
            p = a.property,
            d = function(t) {
                function e() {
                    var e = null !== t &amp;&amp; t.apply(this, arguments) || this;
                    return e.id = -1,
                        e.score = 0,
                        e.allowBoom = !0,
                        e.nextFruitPrefab = null,
                        e.topLine = null,
                        e.typeId = 0,
                        e.onFruitup = null,
                        e.onTouch = null,
                        e.topLineTweenState = !1,
                        e.topLineTriggerState = !1,
                        e.topLineTriggerTime = 0,
                        e
                }
                return i(e, t),
                    e.prototype.onLoad = function() {
                        var t = this;
                        this.node.on(cc.Node.EventType.TOUCH_END, function(e) {
                            null != t.onTouch &amp;&amp; t.onTouch(e, t.node)
                        })
                    },
                    e.prototype.start = function() {},
                    e.prototype.update = function(t) {
                        var e = this;
                        if (this.topLineTriggerState &amp;&amp; (this.topLineTriggerTime += t,
                                this.topLineTriggerTime &gt; 1)) {
                            if (this.topLineTweenState)
                                return;
                            this.topLineTweenState = !0,
                                cc.tween(this.topLine).blink(2, 5).call(function() {
                                    var t;
                                    e.topLineTriggerTime &gt; 2 &amp;&amp; !c.default.GameOverState &amp;&amp; (e.topLineTriggerState = !1,
                                        cc.error("\u6e38\u620f\u7ed3\u675f!!"),
                                        c.default.GameOverState = !0,
                                        null === (t = e.node) || void 0 === t || t.dispatchEvent(new cc.Event.EventCustom(l.GameEventEnum.GAME_OVER, !0)))
                                }).start()
                        }
                    },
                    e.prototype.onCollisionEnter = function(t, e) {
                        1 == t.node.groupIndex &amp;&amp; t.name == e.name &amp;&amp; this.allowBoom &amp;&amp; null != this.nextFruitPrefab ? e.node.y &gt; t.node.y ? null != this.onFruitup &amp;&amp; this.onFruitup(e, t) : e.node.y == t.node.y &amp;&amp; u.default.getFruitController(e).id &gt; u.default.getFruitController(t).id &amp;&amp; null != this.onFruitup &amp;&amp; this.onFruitup(e, t) : 3 == t.node.groupIndex &amp;&amp; (this.topLineTriggerState = !0,
                            null == this.topLine &amp;&amp; (this.topLine = t.node))
                    },
                    e.prototype.onCollisionExit = function(t) {
                        3 == t.node.groupIndex &amp;&amp; (this.topLineTriggerState = !1,
                            this.topLine = null)
                    },
                    r([p()], e.prototype, "score", void 0),
                    r([p(cc.Prefab)], e.prototype, "nextFruitPrefab", void 0),
                    r([p()], e.prototype, "typeId", void 0),
                    r([s], e)
            }(cc.Component);
        o.default = d,
            cc._RF.pop()
    }, {
        "./Mgr/MgrGame": "MgrGame",
        "./Utils/EnumClass": "EnumClass",
        "./Utils/Utils": "Utils"
    }],
    GameController: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "53814+pQdxCMrZVjv2klbTX", "GameController");
        var n, i = this &amp;&amp; this.__extends || (n = function(t, e) {
                    return (n = Object.setPrototypeOf || {
                            __proto__: []
                        }
                        instanceof Array &amp;&amp; function(t, e) {
                            t.__proto__ = e
                        } ||

                        function(t, e) {
                            for (var o in e)
                                Object.prototype.hasOwnProperty.call(e, o) &amp;&amp; (t[o] = e[o])
                        }
                    )(t, e)
                },
                function(t, e) {
                    function o() {
                        this.constructor = t
                    }
                    n(t, e),
                        t.prototype = null === e ? Object.create(e) : (o.prototype = e.prototype,
                            new o)
                }
            ),
            r = this &amp;&amp; this.__decorate || function(t, e, o, n) {
                var i, r = arguments.length,
                    c = r &lt; 3 ? e : null === n ? n = Object.getOwnPropertyDescriptor(e, o) : n;
                if ("object" == typeof Reflect &amp;&amp; "function" == typeof Reflect.decorate)
                    c = Reflect.decorate(t, e, o, n);
                else
                    for (var l = t.length - 1; l &gt;= 0; l--)
                        (i = t[l]) &amp;&amp; (c = (r &lt; 3 ? i(c) : r &gt; 3 ? i(e, o, c) : i(e, o)) || c);
                return r &gt; 3 &amp;&amp; c &amp;&amp; Object.defineProperty(e, o, c),
                    c
            };
        Object.defineProperty(o, "__esModule", {
                value: !0
            }),
            o.JuiceItem = void 0;
        var c = cc._decorator,
            l = c.ccclass,
            u = c.property,
            a = t("./JuiceController"),
            s = t("./Utils/Mgr4399"),
            p = t("./Utils/EnumClass"),
            d = t("./Utils/Utils"),
            f = t("./Mgr/MgrGame"),
            h = function() {
                function t() {
                    this.particle = null,
                        this.circle = null,
                        this.slash = null
                }
                return r([u(cc.SpriteFrame)], t.prototype, "particle", void 0),
                    r([u(cc.SpriteFrame)], t.prototype, "circle", void 0),
                    r([u(cc.SpriteFrame)], t.prototype, "slash", void 0),
                    r([l], t)
            }();
        o.JuiceItem = h;
        var y = function(t) {
            function e() {
                var e = null !== t &amp;&amp; t.apply(this, arguments) || this;
                return e.fruitList = [],
                    e.boomAudio = null,
                    e.waterAudio = null,
                    e.boomPrefab = null,
                    e.totalScoreLable = null,
                    e.bornPoint = null,
                    e.backHomeDialog = null,
                    e.adDialog = null,
                    e.eliminateFruitPropBtn = null,
                    e.bg = null,
                    e.hintLable = null,
                    e.juicePrefab = null,
                    e.bgmAudio = null,
                    e.coolAudio = null,
                    e.btnAudio = null,
                    e.rankListBtn = null,
                    e._allFruitList = [],
                    e._countId = 0,
                    e._currentFruit = null,
                    e.eliminateFruitPropState = !1,
                    e.juiceList = [],
                    e.fruitUp = function(t, o) {
                        if (e.isExistAtList(t) &amp;&amp; e.isExistAtList(o)) {
                            var n = d.default.getFruitController(t),
                                i = d.default.getFruitController(o);
                            n.allowBoom &amp;&amp; i.allowBoom &amp;&amp; null != n.nextFruitPrefab &amp;&amp; (n.allowBoom = !1,
                                i.allowBoom = !1,
                                e.stopColliderAndRigidBody(o),
                                e.stopColliderAndRigidBody(t),
                                cc.tween(t.node).to(.1, {
                                    position: cc.v3(o.node.x, o.node.y, 0)
                                }).call(function() {
                                    d.default.getFruitController(t).id % 10 == 0 &amp;&amp; cc.audioEngine.playEffect(e.coolAudio, !1),
                                        e.removeFruitFromList(t.node),
                                        e.removeFruitFromList(o.node),
                                        e.destroyObj(null == o ? void 0 : o.node),
                                        e.destroyObj(null == t ? void 0 : t.node);
                                    var r = e.initOneFruit(n.nextFruitPrefab, o.node.getPosition());
                                    r.scale = 0,
                                        e.createFruitJuice(i.typeId, o.node.position, o.node.width),
                                        cc.tween(r).to(.2, {
                                            scale: 1
                                        }).start(),
                                        e.addScore(n.score)
                                }).start())
                        }
                    },
                    e.fruitTouch = function(t, o) {
                        if (e.eliminateFruitPropState) {
                            t.stopPropagation();
                            var n = d.default.getFruitController(o);
                            n.id != d.default.getFruitController(e._currentFruit).id ? cc.tween(o).to(.2, {
                                scale: 0
                            }).call(function() {
                                e.createFruitJuice(n.typeId, o.position, o.width),
                                    e.removeFruitFromList(o),
                                    e.destroyObj(o),
                                    e.eliminateFruitPropState = !1,
                                    f.default.AllowControlFruitState = !0,
                                    e.setEliminateFruitPropBtnImg(!1),
                                    f.default.EliminateFruitPropMaxCount--
                            }).start() : e.setHint("Don't knock on fruit that hasn't been put down", 5)
                        }
                    },
                    e
            }
            return i(e, t),
                e.prototype.createFruitJuice = function(t, e, o) {
                    this.playBoomAudio();
                    var n = cc.instantiate(this.juicePrefab);
                    n.setParent(this.node),
                        n.zIndex = 99;
                    var i = this.juiceList[t - 1],
                        r = n.getComponent(a.default);
                    r.init(i),
                        r.showJuice(e, o),
                        this.scheduleOnce(function() {
                            null == n || n.destroy()
                        }, 2)
                },
                e.prototype.onLoad = function() {
                    f.default.GameOverState = !1,
                        f.default.initEliminateFruitPropMaxCount(),
                        cc.director.getPhysicsManager().enabled = !0,
                        cc.director.getCollisionManager().enabled = !0,
                        this.playBgm(),
                        this.listenTouch(),
                        this.listenGameOver(),
                        this.listenPlayAd(),
                        this.listenPropTouch(),
                        this.listenRankListBtn(),
                        this.addScore(-f.default.TotalScore)
                },
                e.prototype.listenRankListBtn = function() {
                    var t = this;
                    this.rankListBtn.node.active = false;
                    // this.rankListBtn.node.on("click", function() {
                    //     cc.audioEngine.playEffect(t.btnAudio, !1),
                    //     d.default.btnTween(t.rankListBtn.node, function() {
                    //         s.default.showRankList()
                    //     })
                    // })
                },
                e.prototype.listenPlayAd = function() {
                    var t = this;
                    this.node.on(p.GameEventEnum.PLAY_AD, function() {
                        try {
                            // console.log("\u68c0\u67e5\u662f\u5426\u53ef\u4ee5\u64ad\u653e\u5e7f\u544a"),
                            //     s.default.canPlayAd(function(e) {
                            //         console.log("\u662f\u5426\u53ef\u64ad\u653e\u5e7f\u544a:", e.canPlayAd, "  \u5269\u4f59\u6b21\u6570:", e.remain),
                            //             e.remain &lt;= 0 ? t.setHint("\u4eca\u65e5\u5e7f\u544a\u6b21\u6570\u5df2\u7528\u5b8c\uff0c\u8bf7\u660e\u65e5\u7ee7\u7eed", 5) : e.canPlayAd &amp;&amp; (t.pauseBgm(),
                            //                 console.log("\u5f00\u59cb\u64ad\u653e\u5e7f\u544a"),
                            //                 s.default.playAd(function(e) {
                            //                     console.log("\u4ee3\u7801:" + e.code + ",\u6d88\u606f:" + e.message),
                            //                         1e4 === e.code ? console.log("code: 10000 \u5f00\u59cb\u64ad\u653e") : 10001 === e.code ? (console.log("code: 10001 \u64ad\u653e\u7ed3\u675f"),
                            //                             t.useEliminateFruitProp()) : (console.error("\u5e7f\u544a\u5f02\u5e38"),
                            //                             console.error(e.message))
                            //                 }))
                            //     })
							window.dStart=()=&gt;{
								t.useEliminateFruitProp()
							}
							if (typeof sdk !== 'undefined' &amp;&amp; sdk.showBanner !== 'undefined') {
							    sdk.showBanner();
							}
                        } catch (e) {
                            console.error(e),
                                t.resumeBgm()
                        }
                    })
                },
                e.prototype.useEliminateFruitProp = function() {
                    this.setHint("Please select fruit, remaining times:" + f.default.EliminateFruitPropMaxCount, 5),
                        this.eliminateFruitPropState = !0,
                        f.default.AllowControlFruitState = !1,
                        this.setEliminateFruitPropBtnImg(!0),
                        this.resumeBgm()
                },
                e.prototype.start = function() {
                    this.createFruitInBornPoint()
                },
                e.prototype.update = function() {},
                e.prototype.listenPropTouch = function() {
                    var t = this;
                    this.eliminateFruitPropBtn.node.on(cc.Node.EventType.TOUCH_START, function() {
                        cc.audioEngine.playEffect(t.btnAudio, !1),
                        t.eliminateFruitPropState ? d.default.btnTween(t.eliminateFruitPropBtn.node, function() {
                            t.eliminateFruitPropState = !1,
                            f.default.AllowControlFruitState = !0,
                            t.setEliminateFruitPropBtnImg(!1)
                        }) : (f.default.checkAdDialog(),
                        f.default.EliminateFruitPropMaxCount &gt; 0 ? d.default.btnTween(t.eliminateFruitPropBtn.node, function() {
                            var e = cc.instantiate(t.adDialog);
                            e.setPosition(0, 0),
                            e.setParent(t.node)
                        }) : t.setHint("Too many hammers have been used"))
                        // f.default.GameOverState = !1
                        // t.node.dispatchEvent(new cc.Event.EventCustom(p.GameEventEnum.GAME_OVER, !0))
                    })
                },
                e.prototype.listenTouch = function() {
                    var t = this;
                    this.node.on(cc.Node.EventType.TOUCH_START, function(e) {
                            if (t._currentFruit &amp;&amp; f.default.AllowControlFruitState) {
                                var o = t.convertToNodeSpaceAR(e);
                                t.moveXposOfCurrentFruit(o.x)
                            }
                        }),
                        this.node.on(cc.Node.EventType.TOUCH_MOVE, function(e) {
                            if (t._currentFruit &amp;&amp; f.default.AllowControlFruitState) {
                                var o = t.convertToNodeSpaceAR(e);
                                t._currentFruit.setPosition(o.x, t._currentFruit.position.y)
                            }
                        }),
                        this.node.on(cc.Node.EventType.TOUCH_END, function(e) {
                            if (f.default.GameOverState)
                                cc.log("\u6e38\u620f\u5df2\u7ecf\u7ed3\u675f!!");
                            else if (t._currentFruit &amp;&amp; f.default.AllowControlFruitState) {
                                var o = t.convertToNodeSpaceAR(e);
                                t.moveXposOfCurrentFruit(o.x),
                                    t.startColliderAndRigidBody(t._currentFruit),
                                    cc.tween(t._currentFruit).to(1, {
                                        angle: 360
                                    }).start(),
                                    t._currentFruit = null,
                                    t.scheduleOnce(function() {
                                        t.createFruitInBornPoint()
                                    }, .5)
                            }
                        })
                },
                e.prototype.playBgm = function() {
                    cc.audioEngine.playMusic(this.bgmAudio, !0)
                },
                e.prototype.stopBgm = function() {
                    cc.audioEngine.stopMusic()
                },
                e.prototype.resumeBgm = function() {
                    cc.audioEngine.resumeMusic()
                },
                e.prototype.pauseBgm = function() {
                    cc.audioEngine.pauseMusic()
                },
                e.prototype.setEliminateFruitPropBtnImg = function(t) {
                    t ? this.setBgColor(p.Color.\u6a59\u8272) : this.setBgColor(p.Color.\u767d\u8272)
                },
                e.prototype.createFruitInBornPoint = function() {
                    var t = d.default.GetRandomNumberByRange(0, this.fruitList.length),
                        e = this.initOneFruit(this.fruitList[t], this.bornPoint.getPosition());
                    this.stopColliderAndRigidBody(e),
                        e.scale = 0,
                        cc.tween(e).to(.2, {
                            scale: 1
                        }).start(),
                        this._currentFruit = e
                },
                e.prototype.listenGameOver = function() {
                    var t = this;
                    this.node.on(p.GameEventEnum.GAME_OVER, function() {
                        cc.log("\u89e6\u53d1gameover"),
                            t.playBoomAudio();
                        for (var e = 0; e &lt; t._allFruitList.length; e++) {
                            var o = t._allFruitList[e];
                            t.destroyObj(o)
                        }
                        t._allFruitList.length = 0,
                            t._currentFruit = null;
                        var n = cc.instantiate(t.backHomeDialog);
                        n.setPosition(0, 0),
                            n.setParent(t.node),
                            f.default.GameOverState = !0
                    })
                },
                e.prototype.convertToNodeSpaceAR = function(t) {
                    return this.node.convertToNodeSpaceAR(t.getLocation())
                },
                e.prototype.moveXposOfCurrentFruit = function(t) {
                    this._currentFruit &amp;&amp; cc.tween(this._currentFruit).to(.1, {
                        position: cc.v3(t, this._currentFruit.position.y, 0)
                    }).start()
                },
                e.prototype.playBoomAudio = function() {
                    cc.audioEngine.playEffect(this.boomAudio, !1),
                        cc.audioEngine.playEffect(this.waterAudio, !1)
                },
                e.prototype.createBoom = function(t, e) {
                    var o = this,
                        n = cc.instantiate(this.boomPrefab);
                    n.setPosition(e),
                        n.setParent(t),
                        this.scheduleOnce(function() {
                            o.destroyObj(n)
                        }, 1)
                },
                e.prototype.destroyObj = function(t) {
                    null == t || t.removeFromParent(),
                        null == t || t.destroy()
                },
                e.prototype.initOneFruit = function(t, e) {
                    var o = cc.instantiate(t);
                    o.setPosition(e),
                        o.setParent(this.node);
                    var n = d.default.getFruitController(o);
                    return n.id = this._countId++,
                        n.onFruitup = this.fruitUp,
                        n.onTouch = this.fruitTouch,
                        this._allFruitList.push(o),
                        o
                },
                e.prototype.setHint = function(t, e) {
                    var o = this;
                    this.hintLable.string = t;
                    var n = t;
                    null == e || e &lt;= 0 ? this.scheduleOnce(function() {
                        o.hintLable.string == n &amp;&amp; (o.hintLable.string = "")
                    }, 10) : this.scheduleOnce(function() {
                        o.hintLable.string == n &amp;&amp; (o.hintLable.string = "")
                    }, e)
                },
                e.prototype.setBgColor = function(t) {
                    this.bg.color = t
                },
                e.prototype.removeFruitFromList = function(t) {
                    for (var e = d.default.getFruitController(t), o = 0; o &lt; this._allFruitList.length; o++)
                        if (e.id == d.default.getFruitController(this._allFruitList[o]).id)
                            return void this._allFruitList.splice(o, 1)
                },
                e.prototype.isExistAtList = function(t) {
                    for (var e = d.default.getFruitController(t), o = 0, n = this._allFruitList; o &lt; n.length; o++) {
                        var i = n[o],
                            r = d.default.getFruitController(i);
                        if (e.id == r.id)
                            return !0
                    }
                    return !1
                },
                e.prototype.stopColliderAndRigidBody = function(t) {
                    t.getComponent(cc.CircleCollider).enabled = !1,
                        t.getComponent(cc.PhysicsCircleCollider).enabled = !1,
                        t.getComponent(cc.RigidBody).type = cc.RigidBodyType.Static
                },
                e.prototype.startColliderAndRigidBody = function(t) {
                    t.getComponent(cc.CircleCollider).enabled = !0,
                        t.getComponent(cc.PhysicsCircleCollider).enabled = !0,
                        t.getComponent(cc.RigidBody).type = cc.RigidBodyType.Dynamic
                },
                e.prototype.addScore = function(t) {
                    this.totalScoreLable.string = f.default.addTotalScore(t)
                },
                r([u(cc.Prefab)], e.prototype, "fruitList", void 0),
                r([u(cc.AudioClip)], e.prototype, "boomAudio", void 0),
                r([u(cc.AudioClip)], e.prototype, "waterAudio", void 0),
                r([u(cc.Prefab)], e.prototype, "boomPrefab", void 0),
                r([u(cc.Label)], e.prototype, "totalScoreLable", void 0),
                r([u(cc.Node)], e.prototype, "bornPoint", void 0),
                r([u(cc.Prefab)], e.prototype, "backHomeDialog", void 0),
                r([u(cc.Prefab)], e.prototype, "adDialog", void 0),
                r([u(cc.Button)], e.prototype, "eliminateFruitPropBtn", void 0),
                r([u(cc.Node)], e.prototype, "bg", void 0),
                r([u(cc.Label)], e.prototype, "hintLable", void 0),
                r([u(cc.Prefab)], e.prototype, "juicePrefab", void 0),
                r([u(cc.AudioClip)], e.prototype, "bgmAudio", void 0),
                r([u(cc.AudioClip)], e.prototype, "coolAudio", void 0),
                r([u(cc.AudioClip)], e.prototype, "btnAudio", void 0),
                r([u(cc.Button)], e.prototype, "rankListBtn", void 0),
                r([u(h)], e.prototype, "juiceList", void 0),
                r([l], e)
        }(cc.Component);
        o.default = y,
            cc._RF.pop()
    }, {
        "./JuiceController": "JuiceController",
        "./Mgr/MgrGame": "MgrGame",
        "./Utils/EnumClass": "EnumClass",
        "./Utils/Mgr4399": "Mgr4399",
        "./Utils/Utils": "Utils"
    }],
    JuiceController: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "78eccHvECBGU4gGJEqUxwxC", "JuiceController");
        var n, i = this &amp;&amp; this.__extends || (n = function(t, e) {
                    return (n = Object.setPrototypeOf || {
                            __proto__: []
                        }
                        instanceof Array &amp;&amp; function(t, e) {
                            t.__proto__ = e
                        } ||

                        function(t, e) {
                            for (var o in e)
                                Object.prototype.hasOwnProperty.call(e, o) &amp;&amp; (t[o] = e[o])
                        }
                    )(t, e)
                },
                function(t, e) {
                    function o() {
                        this.constructor = t
                    }
                    n(t, e),
                        t.prototype = null === e ? Object.create(e) : (o.prototype = e.prototype,
                            new o)
                }
            ),
            r = this &amp;&amp; this.__decorate || function(t, e, o, n) {
                var i, r = arguments.length,
                    c = r &lt; 3 ? e : null === n ? n = Object.getOwnPropertyDescriptor(e, o) : n;
                if ("object" == typeof Reflect &amp;&amp; "function" == typeof Reflect.decorate)
                    c = Reflect.decorate(t, e, o, n);
                else
                    for (var l = t.length - 1; l &gt;= 0; l--)
                        (i = t[l]) &amp;&amp; (c = (r &lt; 3 ? i(c) : r &gt; 3 ? i(e, o, c) : i(e, o)) || c);
                return r &gt; 3 &amp;&amp; c &amp;&amp; Object.defineProperty(e, o, c),
                    c
            };
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var c = t("./Utils/Utils"),
            l = cc._decorator,
            u = l.ccclass,
            a = l.property,
            s = function(t) {
                function e() {
                    var e = null !== t &amp;&amp; t.apply(this, arguments) || this;
                    return e.particle = null,
                        e.circle = null,
                        e.slash = null,
                        e
                }
                return i(e, t),
                    e.prototype.onLoad = function() {},
                    e.prototype.start = function() {},
                    e.prototype.update = function() {},
                    e.prototype.init = function(t) {
                        this.particle = t.particle,
                            this.circle = t.circle,
                            this.slash = t.slash
                    },
                    e.prototype.showJuice = function(t, e) {
                        for (var o = function() {
                                var o = new cc.Node("Sprite");
                                o.addComponent(cc.Sprite).spriteFrame = n.particle,
                                    o.parent = n.node;
                                var i = 359 * Math.random(),
                                    r = 30 * Math.random() + e / 2,
                                    l = cc.v2(Math.sin(i * Math.PI / 180) * r, Math.cos(i * Math.PI / 180) * r);
                                o.scale = .5 * Math.random() + e / 100,
                                    o.position = t,
                                    cc.tween(o).parallel(cc.tween().by(.2, {
                                        position: cc.v3(l.x, l.y)
                                    }), cc.tween().to(.7, {
                                        scale: .3
                                    }), cc.tween().by(.7, {
                                        angle: c.default.GetRandomNumberByRange(-360, 360)
                                    })).to(.3, {
                                        opacity: 0
                                    }).call(function() {
                                        o.active = !1
                                    }).start()
                            }, n = this, i = 0; i &lt; 10; ++i)
                            o();
                        for (var r = function() {
                                var o = new cc.Node("Sprite");
                                o.addComponent(cc.Sprite).spriteFrame = l.circle,
                                    o.parent = l.node;
                                var n = 359 * Math.random(),
                                    i = 30 * Math.random() + e / 2,
                                    r = cc.v2(Math.sin(n * Math.PI / 180) * i, Math.cos(n * Math.PI / 180) * i);
                                o.scale = .5 * Math.random() + e / 100,
                                    o.position = t,
                                    o.zIndex = 5,
                                    cc.tween(o).parallel(cc.tween().by(.2, {
                                        position: cc.v3(r.x, r.y, 0)
                                    }), cc.tween().to(.7, {
                                        scale: .3
                                    })).to(.3, {
                                        opacity: 0
                                    }).call(function() {
                                        o.active = !1
                                    }).start()
                            }, l = this, u = 0; u &lt; 10; u++)
                            r();
                        var a = new cc.Node("Sprite");
                        a.addComponent(cc.Sprite).spriteFrame = this.slash,
                            a.parent = this.node,
                            a.position = t,
                            a.scale = 0,
                            a.angle = c.default.GetRandomNumberByRange(0, 360),
                            cc.tween(a).by(.2, {
                                scale: e / 150
                            }).to(.2, {
                                opacity: 0
                            }).call(function() {
                                a.active = !1
                            }).start()
                    },
                    r([a(cc.SpriteFrame)], e.prototype, "particle", void 0),
                    r([a(cc.SpriteFrame)], e.prototype, "circle", void 0),
                    r([a(cc.SpriteFrame)], e.prototype, "slash", void 0),
                    r([u], e)
            }(cc.Component);
        o.default = s,
            cc._RF.pop()
    }, {
        "./Utils/Utils": "Utils"
    }],
    Mgr4399: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "5b96fHPP5pPUYM7dq31+TrH", "Mgr4399"),
            Object.defineProperty(o, "__esModule", {
                value: !0
            });
        var n = function() {
            function t() {}
            return t.checkApiStruct = function() {
                    var t = null != this.apiStruct;
                    return t || cc.warn("\u672a\u6210\u529f\u52a0\u8f7d\u5e7f\u544a\u6a21\u5757"),
                        t
                },
                t.canPlayAd = function(t) {
                    null != t &amp;&amp; this.checkApiStruct() &amp;&amp; this.apiStruct.canPlayAd(t)
                },
                t.playAd = function(t) {
                    null != t &amp;&amp; this.checkApiStruct() &amp;&amp; this.apiStruct.playAd(t)
                },
                t.showRankList = function() {
                    this.checkApiStruct() &amp;&amp; this.apiStruct.showRankList()
                },
                t.submitRankScore = function(t, e, o) {
                    this.checkApiStruct() &amp;&amp; this.apiStruct.submitRankScore(t, e, o)
                },
                t.apiStruct = window.h5api,
                t
        }();
        o.default = n,
            cc._RF.pop()
    }, {}],
    MgrGame: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "21150t9i9lJmKxoWfVlfZea", "MgrGame"),
            Object.defineProperty(o, "__esModule", {
                value: !0
            });
        var n = function() {
            function t() {}
            return t.addTotalScore = function(t) {
                    return this.TotalScore += t,
                        this.TotalScore.toString()
                },
                t.checkAdDialog = function() {
                    null != this.AdDialogObj &amp;&amp; (this.AdDialogObj.removeFromParent(),
                        this.AdDialogObj.destroy(),
                        this.AdDialogObj = null)
                },
                t.initEliminateFruitPropMaxCount = function() {
                    this.EliminateFruitPropMaxCount = 5
                },
                t.TotalScore = 0,
                t.AdDialogObj = null,
                t.GameOverState = !1,
                t.EliminateFruitPropMaxCount = 0,
                t.AllowControlFruitState = !0,
                t
        }();
        o.default = n,
            cc._RF.pop()
    }, {}],
    StartController: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "aa3e61sZPlCJokAw2ZdB3XQ", "StartController");
        var n, i = this &amp;&amp; this.__extends || (n = function(t, e) {
                    return (n = Object.setPrototypeOf || {
                            __proto__: []
                        }
                        instanceof Array &amp;&amp; function(t, e) {
                            t.__proto__ = e
                        } ||

                        function(t, e) {
                            for (var o in e)
                                Object.prototype.hasOwnProperty.call(e, o) &amp;&amp; (t[o] = e[o])
                        }
                    )(t, e)
                },
                function(t, e) {
                    function o() {
                        this.constructor = t
                    }
                    n(t, e),
                        t.prototype = null === e ? Object.create(e) : (o.prototype = e.prototype,
                            new o)
                }
            ),
            r = this &amp;&amp; this.__decorate || function(t, e, o, n) {
                var i, r = arguments.length,
                    c = r &lt; 3 ? e : null === n ? n = Object.getOwnPropertyDescriptor(e, o) : n;
                if ("object" == typeof Reflect &amp;&amp; "function" == typeof Reflect.decorate)
                    c = Reflect.decorate(t, e, o, n);
                else
                    for (var l = t.length - 1; l &gt;= 0; l--)
                        (i = t[l]) &amp;&amp; (c = (r &lt; 3 ? i(c) : r &gt; 3 ? i(e, o, c) : i(e, o)) || c);
                return r &gt; 3 &amp;&amp; c &amp;&amp; Object.defineProperty(e, o, c),
                    c
            };
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var c = t("./Utils/EnumClass"),
            l = t("./Utils/Mgr4399"),
            u = t("./Utils/Utils"),
            a = cc._decorator,
            s = a.ccclass,
            p = a.property,
            d = function(t) {
                function e() {
                    var e = null !== t &amp;&amp; t.apply(this, arguments) || this;
                    return e.startGameBtn = null,
                        e.btnAudio = null,
                        e.rankListBtn = null,
                        e
                }
                return i(e, t),
                    e.prototype.onLoad = function() {
                        // console.log("startController:", this)
                        // console.log("cc.view:", cc.view)
						let bg= cc.find("bg",this.node)
						bg.opacity=200
						// bg.width=2000
						bg.height=2000
						
                        if (true) {
                            sdk &amp;&amp; sdk.showBanner()
                        }
                        var t = this;
                        cc.director.preloadScene(c.SceneEnum.Main_Scene, function() {}),
                            this.startGameBtn.node.on("click", function() {
                                window.dStart = () =&gt; {
                                    cc.audioEngine.playEffect(t.btnAudio, !1),
                                        u.default.btnTween(t.startGameBtn.node, function() {
                                            cc.director.loadScene(c.SceneEnum.Main_Scene)
                                        })
                                }
                                if (typeof sdk !== 'undefined' &amp;&amp; sdk.showBanner !== 'undefined') {
                                    sdk.showBanner();
                                }
                            }),
                            this.rankListBtn.node.active = false;
                        // this.rankListBtn.node.on("click", function() {
                        //     cc.audioEngine.playEffect(t.btnAudio, !1),
                        //     u.default.btnTween(t.rankListBtn.node, function() {
                        //         l.default.showRankList()
                        //     })
                        // })
                    },
                    r([p(cc.Button)], e.prototype, "startGameBtn", void 0),
                    r([p(cc.AudioClip)], e.prototype, "btnAudio", void 0),
                    r([p(cc.Button)], e.prototype, "rankListBtn", void 0),
                    r([s], e)
            }(cc.Component);
        o.default = d,
            cc._RF.pop()
    }, {
        "./Utils/EnumClass": "EnumClass",
        "./Utils/Mgr4399": "Mgr4399",
        "./Utils/Utils": "Utils"
    }],
    TopLineController: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "2b5aeCp++BNwLRM+tFWyYAZ", "TopLineController");
        var n, i = this &amp;&amp; this.__extends || (n = function(t, e) {
                    return (n = Object.setPrototypeOf || {
                            __proto__: []
                        }
                        instanceof Array &amp;&amp; function(t, e) {
                            t.__proto__ = e
                        } ||

                        function(t, e) {
                            for (var o in e)
                                Object.prototype.hasOwnProperty.call(e, o) &amp;&amp; (t[o] = e[o])
                        }
                    )(t, e)
                },
                function(t, e) {
                    function o() {
                        this.constructor = t
                    }
                    n(t, e),
                        t.prototype = null === e ? Object.create(e) : (o.prototype = e.prototype,
                            new o)
                }
            ),
            r = this &amp;&amp; this.__decorate || function(t, e, o, n) {
                var i, r = arguments.length,
                    c = r &lt; 3 ? e : null === n ? n = Object.getOwnPropertyDescriptor(e, o) : n;
                if ("object" == typeof Reflect &amp;&amp; "function" == typeof Reflect.decorate)
                    c = Reflect.decorate(t, e, o, n);
                else
                    for (var l = t.length - 1; l &gt;= 0; l--)
                        (i = t[l]) &amp;&amp; (c = (r &lt; 3 ? i(c) : r &gt; 3 ? i(e, o, c) : i(e, o)) || c);
                return r &gt; 3 &amp;&amp; c &amp;&amp; Object.defineProperty(e, o, c),
                    c
            };
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var c = t("./Utils/Utils"),
            l = cc._decorator,
            u = l.ccclass,
            a = (l.property,
                function(t) {
                    function e() {
                        var e = null !== t &amp;&amp; t.apply(this, arguments) || this;
                        return e.touchList = [],
                            e
                    }
                    return i(e, t),
                        e.prototype.onLoad = function() {},
                        e.prototype.start = function() {
                            cc.log(this.node.getComponent(cc.PhysicsBoxCollider))
                        },
                        e.prototype.update = function() {},
                        e.prototype.isExistAtList = function(t) {
                            for (var e = c.default.getFruitController(t), o = 0, n = this.touchList; o &lt; n.length; o++)
                                if (n[o].touchFruitId == e.id)
                                    return !0;
                            return this.touchList.push({
                                    touchFruitId: e.id,
                                    touchState: !1
                                }),
                                this.isExistAtList(t)
                        },
                        e.prototype.getItemIdFromList = function(t) {
                            for (var e = c.default.getFruitController(t), o = 0; o &lt; this.touchList.length; o++)
                                if (this.touchList[o].touchFruitId == e.id)
                                    return o;
                            return this.touchList.push({
                                touchFruitId: e.id,
                                touchState: !1
                            }) - 1
                        },
                        e.prototype.onBeginContact = function(t, e, o) {
                            var n = this.getItemIdFromList(o);
                            n &gt;= 0 &amp;&amp; (this.touchList[n].touchState = !0)
                        },
                        e.prototype.onEndContact = function() {},
                        r([u], e)
                }(cc.Component));
        o.default = a,
            cc._RF.pop()
    }, {
        "./Utils/Utils": "Utils"
    }],
    Utils: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "6769bXvjnNDm7PCJvMZIpm5", "Utils"),
            Object.defineProperty(o, "__esModule", {
                value: !0
            });
        var n = t("../FruitController"),
            i = function() {
                function t() {}
                return t.GetRandomNumberByRange = function(t, e) {
                        return Math.floor(Math.random() * (e - t) + t)
                    },
                    t.getFruitController = function(t) {
                        return t.getComponent(n.default)
                    },
                    t.SetData = function(t, e) {
                        return cc.sys.localStorage.setItem(t, e)
                    },
                    t.GetData = function(t) {
                        return cc.sys.localStorage.setItem(t)
                    },
                    t.btnTween = function(t, e) {
                        cc.tween(t).by(.05, {
                            scale: .1
                        }).by(.05, {
                            scale: -.1
                        }).delay(.2).call(function() {
                            e()
                        }).start()
                    },
                    t
            }();
        o.default = i,
            cc._RF.pop()
    }, {
        "../FruitController": "FruitController"
    }]
}, {}, ["AdDialogController", "DialogController", "FruitController", "GameController", "JuiceController", "MgrGame", "StartController", "TopLineController", "EnumClass", "Mgr4399", "Utils"]);</pre></body></html>