{
  "code": "import { ui } from \"../ui/layaMaxUI\";\r\nimport { AccountManager } from \"../Net/AccountManager\";\r\nimport MainView from \"./MainView\";\r\nimport { ServerManager, BlastToMerge } from \"../Net/ServerManager\";\r\nimport { EventManager, StageMode } from \"../Tool/EventManager\";\r\nexport default class FailureView extends ui.FailureViewUI {\r\n    constructor() {\r\n        super();\r\n    }\r\n    static get Instance() {\r\n        if (FailureView.ins) {\r\n            return FailureView.ins;\r\n        }\r\n        else {\r\n            return new FailureView();\r\n        }\r\n    }\r\n    Show() {\r\n        this.BackBtn.clickHandler = Laya.Handler.create(this, this.ClickBack);\r\n        this.TryBtn.clickHandler = Laya.Handler.create(this, this.ClickTry);\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    Close() {\r\n    }\r\n    ClickBack() {\r\n        var args = [{ \"t\": AccountManager.Instance.ServerTime.toString() }, { \"play_id\": MainView.Instance.play_id }, { \"win\": \"0\" }];\r\n        ServerManager.Instance.SendHttp(BlastToMerge.JieShu, args, Laya.Handler.create(this, this.BackMain), null);\r\n    }\r\n    ClickTry() {\r\n        var args = [{ \"t\": AccountManager.Instance.ServerTime.toString() }, { \"play_id\": MainView.Instance.play_id }, { \"win\": \"0\" }];\r\n        ServerManager.Instance.SendHttp(BlastToMerge.JieShu, args, Laya.Handler.create(this, this.Try), null);\r\n    }\r\n    BackMain() {\r\n    }\r\n    Try() {\r\n        EventManager.StageTrigger(StageMode.Start);\r\n    }\r\n}\r\n//# sourceMappingURL=FailureView.js.map",
  "references": [
    "E:/LayaProject/BlastToMerge/src/ui/layaMaxUI.ts",
    "E:/LayaProject/BlastToMerge/src/View/ViewManager.ts",
    "E:/LayaProject/BlastToMerge/src/Net/AccountManager.ts",
    "E:/LayaProject/BlastToMerge/src/View/MainView.ts",
    "E:/LayaProject/BlastToMerge/src/Net/ServerManager.ts",
    "E:/LayaProject/BlastToMerge/src/Tool/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