{
  "code": "import { ui } from \"../ui/layaMaxUI\";\r\nimport { ViewManager, ViewType } from \"../Net/ViewManager\";\r\nimport { FYHD_Sdk } from \"../Net/FYHD_Sdk\";\r\nimport { GameTool } from \"../Util/GameTool\";\r\nimport { GuangGao } from \"../Net/GuangGao\";\r\nexport default class ExportView extends ui.ExportViewUI {\r\n    constructor() {\r\n        super(...arguments);\r\n        this.jump = false;\r\n    }\r\n    OnShow(data) {\r\n        this.CloseBtn.clickHandler = Laya.Handler.create(this, this.ClickClose, null, false);\r\n        this.ContinueBtn.clickHandler = Laya.Handler.create(this, this.ClickContinue, null, false);\r\n        this.SetData();\r\n        this.ContinueBtn.visible = FYHD_Sdk.iswhite;\r\n        this.CloseBtn.visible = false;\r\n        if (FYHD_Sdk.iswhite) {\r\n            GuangGao.OpenBanner();\r\n            Laya.timer.once(3000, this, () => {\r\n                console.log(444444444444444444444);\r\n                GuangGao.Clear();\r\n                this.CloseBtn.visible = true;\r\n                console.log(5555555555555555555);\r\n            });\r\n        }\r\n        else {\r\n            Laya.timer.once(3000, this, () => {\r\n                this.CloseBtn.visible = true;\r\n            });\r\n        }\r\n        this.height = Laya.stage.height;\r\n        Laya.stage.on(Laya.Event.RESIZE, this, () => {\r\n            this.height = Laya.stage.height;\r\n        });\r\n    }\r\n    OnClose() {\r\n        Laya.timer.clearAll(this);\r\n    }\r\n    ClickClose(_data) {\r\n        ViewManager.Instance.CloseView(ViewType.ExportView);\r\n    }\r\n    ClickContinue() {\r\n        let ran = GameTool.randomInt(0, FYHD_Sdk.pushData.length);\r\n        let item = FYHD_Sdk.pushData[ran];\r\n        FYHD_Sdk.ClickAd(FYHD_Sdk.Ad_ClickType.PushClick);\r\n        FYHD_Sdk.ShowHuTuiJump(item);\r\n    }\r\n    SetData() {\r\n        FYHD_Sdk.SetHuTuiList(this.TopList, 2, \"\");\r\n        FYHD_Sdk.SetHuTuiList(this.BottomList, 1, \"\");\r\n        this.GunGun();\r\n    }\r\n    GunGun() {\r\n        var maxTop;\r\n        var maxBtm;\r\n        try {\r\n            this.TopList.scrollBar.value = 0;\r\n            this.BottomList.scrollBar.value = 0;\r\n            maxTop = this.TopList.scrollBar.max;\r\n            maxBtm = this.BottomList.scrollBar.max;\r\n        }\r\n        catch (error) {\r\n            console.error(error);\r\n            return;\r\n        }\r\n        var tempTop = 1;\r\n        var tempBtm = 1;\r\n        Laya.timer.frameLoop(1, this, () => {\r\n            this.TopList.scrollBar.value += tempTop;\r\n            if (this.TopList.scrollBar.value >= maxTop || this.TopList.scrollBar.value <= 0) {\r\n                tempTop = -tempTop;\r\n            }\r\n            this.BottomList.scrollBar.value += tempBtm;\r\n            if (this.BottomList.scrollBar.value >= maxBtm || this.BottomList.scrollBar.value <= 0) {\r\n                tempBtm = -tempBtm;\r\n            }\r\n        });\r\n    }\r\n}\r\n//# sourceMappingURL=ExportView.js.map",
  "references": [
    "C:/Users/admin/Desktop/？？/gungang/src/ui/layaMaxUI.ts",
    "C:/Users/admin/Desktop/？？/gungang/src/Net/ViewManager.ts",
    "C:/Users/admin/Desktop/？？/gungang/src/Net/FYHD_Sdk.ts",
    "C:/Users/admin/Desktop/？？/gungang/src/Util/GameTool.ts",
    "C:/Users/admin/Desktop/？？/gungang/src/Net/GuangGao.ts"
  ],
  "map": "{\"version\":3,\"file\":\"ExportView.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../src/View/ExportView.ts\"],\"names\":[],\"mappings\":\"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,iBAAiB,CAAC;AACrC,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAC3D,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAG3C,MAAM,CAAC,OAAO,OAAO,UAAW,SAAQ,EAAE,CAAC,YAAY;IAAvD;;QACI,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