{
  "code": "import GameConfig from \"./GameConfig\";\r\nimport { LoadWindow } from \"./Window/LoadWindow\";\r\nimport WxApi from \"./WXSDK/wxsdk\";\r\nimport { CheckMain } from \"./Scripts/Game/CheckMain\";\r\nexport class Main {\r\n    constructor() {\r\n        this.localAtlas = [\r\n            \"res/atlas/local.atlas\",\r\n            \"res/atlas/local.png\",\r\n            \"res/atlas/load.atlas\",\r\n            \"res/atlas/load.png\",\r\n        ];\r\n        if (CheckMain.create)\r\n            return;\r\n        CheckMain.create = true;\r\n        if (window[\"Laya3D\"])\r\n            Laya3D.init(GameConfig.width, GameConfig.height);\r\n        else\r\n            Laya.init(GameConfig.width, GameConfig.height, Laya[\"WebGL\"]);\r\n        Laya[\"Physics\"] && Laya[\"Physics\"].enable();\r\n        Laya[\"DebugPanel\"] && Laya[\"DebugPanel\"].enable();\r\n        Laya.stage.scaleMode = GameConfig.scaleMode;\r\n        Laya.stage.screenMode = GameConfig.screenMode;\r\n        Laya.URL.exportSceneToJson = GameConfig.exportSceneToJson;\r\n        if (GameConfig.debug || Laya.Utils.getQueryString(\"debug\") == \"true\")\r\n            Laya.enableDebugPanel();\r\n        if (GameConfig.physicsDebug && Laya[\"PhysicsDebugDraw\"])\r\n            Laya[\"PhysicsDebugDraw\"].enable();\r\n        if (GameConfig.stat)\r\n            Laya.Stat.show();\r\n        Laya.alertGlobalError = true;\r\n        Main.OnWx = Laya.Browser.onWeiXin;\r\n        if (Main.OnWx)\r\n            WxApi.Instance.WxInit(() => { });\r\n        Laya.ResourceVersion.enable(\"version.json\", Laya.Handler.create(this, this.onVersionLoaded), Laya.ResourceVersion.FILENAME_VERSION);\r\n    }\r\n    onVersionLoaded() {\r\n        Laya.AtlasInfoManager.enable(\"fileconfig.json\", Laya.Handler.create(this, this.onConfigLoaded));\r\n    }\r\n    onConfigLoaded() {\r\n        Laya.loader.create(this.localAtlas, Laya.Handler.create(this, () => {\r\n            new LoadWindow();\r\n        }));\r\n    }\r\n}\r\nMain.Ver = \"1.0.85\";\r\nMain.sceneValue = \"000000\";\r\nnew Main();\r\n//# sourceMappingURL=Main.js.map",
  "references": [
    "C:/Users/admin/Desktop/runner/src/GameConfig.ts",
    "C:/Users/admin/Desktop/runner/src/Window/LoadWindow.ts",
    "C:/Users/admin/Desktop/runner/src/WXSDK/wxsdk.ts",
    "C:/Users/admin/Desktop/runner/src/Scripts/Game/CheckMain.ts"
  ],
  "map": "{\"version\":3,\"file\":\"Main.js\",\"sourceRoot\":\"\",\"sources\":[\"../../src/Main.ts\"],\"names\":[],\"mappings\":\"AAAA,OAAO,UAAU,MAAM,cAAc,CAAC;AACtC,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,KAAK,MAAM,eAAe,CAAC;AAClC,OAAO,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AACrD,MAAM,OAAO,IAAI;IAIhB;QA+BA,eAAU,GACV;YACC,uBAAuB;YACvB,qBAAqB;YACrB,sBAAsB;YACtB,oBAAoB;SACpB,CAAC;QApCD,IAAG,SAAS,CAAC,MAAM;YAAC,OAAM;QAC1B,SAAS,CAAC,MAAM,GAAG,IAAI,CAAC;QAExB,IAAI,MAAM,CAAC,QAAQ,CAAC;YAAE,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,MAAM,CAAC,CAAC;;YAClE,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,MAAM,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;QACnE,IAAI,CAAC,SAAS,CAAC,IAAI,IAAI,CAAC,SAAS,CAAC,CAAC,MAAM,EAAE,CAAC;QAC5C,IAAI,CAAC,YAAY,CAAC,IAAI,IAAI,CAAC,YAAY,CAAC,CAAC,MAAM,EAAE,CAAC;QAClD,IAAI,CAAC,KAAK,CAAC,SAAS,GAAG,UAAU,CAAC,SAAS,CAAC;QAC5C,IAAI,CAAC,KAAK,CAAC,UAAU,G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