[add] 3.6 first

This commit is contained in:
2022-08-19 10:51:46 +08:00
parent 33aac332c5
commit b6ac647c92
140 changed files with 24888 additions and 79296 deletions

View File

@@ -0,0 +1 @@
{"logCount":"3","retinaEnable":true,"autoUpdateTree":true,"displayAsFairyTree":false,"hideFairyComContainer":false,"syncNodeDetail":true,"disableWebSec":false,"showDevToolInTab":true,"size":[720,1280],"extraSizes":[],"isPortrait":true,"show":false,"urlParams":"","customUrl":"","clearLogAfterRefresh":true,"extensionFile":"","enableExtension":true,"statisticing":false,"statistics":null,"sortCompProperties":{"<UITransform>":false,"<Canvas>":false,"<Widget>":true,"<Manager>":false,"<Camera>":false,"<DirectionalLight>":false,"<WebView>":false,"<Graphics>":false},"simpleMode":false,"orderNum":"STORE9e27d7c776bd1"}

BIN
extensions/cocos_inspector/.DS_Store vendored Normal file

Binary file not shown.

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
{"logCount":"3","retinaEnable":true,"autoUpdateTree":true,"size":[320,480],"isPortrait":true,"show":true}

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

View File

@@ -0,0 +1,135 @@
@font-face {
font-family: "iconfont"; /* Project id 2598600 */
src: url('iconfont.woff2?t=1642433558801') format('woff2'),
url('iconfont.woff?t=1642433558801') format('woff'),
url('iconfont.ttf?t=1642433558801') format('truetype');
}
.iconfont {
font-family: "iconfont" !important;
font-size: 16px;
font-style: normal;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.icon-sound-:before {
content: "\e6f9";
}
.icon-sound-1:before {
content: "\e6fa";
}
.icon-pointer:before {
content: "\e934";
}
.icon-drag:before {
content: "\e8c8";
}
.icon-aim:before {
content: "\e600";
}
.icon-aim1:before {
content: "\e7b2";
}
.icon-Plugin:before {
content: "\eab7";
}
.icon-terminal-box-line:before {
content: "\e787";
}
.icon-help:before {
content: "\e616";
}
.icon-wrong2:before {
content: "\e694";
}
.icon-menu:before {
content: "\e652";
}
.icon-iconset0216:before {
content: "\e673";
}
.icon-shanchu:before {
content: "\e68a";
}
.icon-bofangsanjiaoxing:before {
content: "\e769";
}
.icon-zoushi:before {
content: "\e61f";
}
.icon-right:before {
content: "\e68b";
}
.icon-jiarehuoyan-xianxing:before {
content: "\e7a2";
}
.icon-jiedian:before {
content: "\e649";
}
.icon-tools-hardware:before {
content: "\e882";
}
.icon-iconfront-:before {
content: "\e620";
}
.icon-tree_line:before {
content: "\e6f5";
}
.icon-dingwei:before {
content: "\e8ae";
}
.icon-mima:before {
content: "\e8b2";
}
.icon-shuaxin:before {
content: "\e8b9";
}
.icon-sousuo:before {
content: "\e8ba";
}
.icon-shangsanjiao:before {
content: "\e74b";
}
.icon-shuxingjiegou:before {
content: "\e708";
}
.icon-lianjie:before {
content: "\e61a";
}
.icon-shezhi:before {
content: "\e60b";
}
.icon-xuanzhuan:before {
content: "\e603";
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,13 @@
System.register(["cc"], function (_export, _context) {
"use strict";
return {
setters: [function (_cc) {
window["__primitives"] = _cc.primitives;
}],
execute: function () {
}
};
});

View File

@@ -0,0 +1,983 @@
<html>
<head>
<link rel="stylesheet" href="iconFont.css">
<script src="vue.min.js"></script>
<meta charset="utf-8">
</head>
<style type="text/css">
body {
position: relative;
-webkit-font-smoothing: subpixel-antialiased;
margin: 0px;
padding: 0px;
background: #2c2c2c;
/* linear-gradient(rgb(45, 45, 45), rgb(25, 25, 25)); */
color: rgb(189, 189, 189);
/* font-size: 12px; */
}
button {
color: rgb(235, 233, 233);
/* background-color: rgb(78, 77, 77); */
border-radius: 0.3em;
border-image: none;
border-style: none;
background-color: #2c2c2c;
border: 0.5px solid rgb(87, 86, 86);
}
button:hover{
color: white;
font-weight: bold;
}
button:active {
background-color: #070707;
outline:none;
}
:root {
--top-and-bottom: calc(100vh - 54px);
--top: calc(100vh - 32px);
}
webview {
/* border:solid 1px darkgray;
border-left: unset;
border-right: unset; */
}
#app {
display: flex;
flex-direction: row;
height: 100vh;
overflow-x: hidden;
}
.gamePanel {
position: relative;
display: flex;
flex-direction: column;
border-right: solid 0.5px rgb(87, 86, 86);
height: 100%
}
.nodePanel {
display: flex;
flex-direction: column;
height: 100%;
flex: 1;
overflow: auto;
/* min-width: calc(15em + 300px); */
/* margin-left: -0.5px; */
}
.nodePanel hr {
/* width: calc(100% - 0.5px) */
margin-left: -0.5px;
}
.Component input[type="search"] {
display: block;
width: calc(100% - 8px);
margin-top: 2px;
margin-left: 4px;
margin-right: 4px;
color: black;
background-color: whitesmoke;
border: 1px;
border-radius: 0.4em;
}
.gameBtns {
display: flex;
padding: 4px;
background-color: #484848;
}
.gameBtnsRight {
/* flex:1; */
/* align-content: flex-end; */
/* border:solid 1px red; */
}
.gameBtnsLeft {
flex: 1;
padding-top: 1px;
}
.consolePanel {
flex: 1 1 0%;
display: flex;
position: relative;
flex-direction: column;
max-height: var(--top);
}
.nodePanel webview {
flex: 1 1 0%
}
.consolePanel input[type="search"] {
color: whitesmoke;
background-color: #2c2c2c;
border: 1px solid gray;
border-radius: 0.3em;
}
.codeTips {
position: absolute;
bottom: 20;
left: 0;
right: 0;
background-color: rgb(46, 46, 46);
padding: 0.3em;
border-radius: 0.5em;
box-shadow: 0 0 12px 1px black;
}
.helpPanel .helpTitle {
font-weight: bold;
color: lightblue;
}
.helpPanel a {
word-wrap: break-word;
word-break: break-all;
}
.codeTips .helpCon {
display: flex;
justify-content: space-between;
}
.codeTips .help {
color: darkkhaki;
}
.tipsCon {
max-height: 20em;
overflow-y: auto;
}
.tipsCon span {
color: rgb(150, 150, 150);
}
.codeTips .selected {
background-color: black;
}
.consolePanel a {
white-space: nowrap;
}
.consolePanel .topMenu {
padding-left: 5px;
/* text-align: left; */
}
.consolePanel .topMenu>input {
margin-right: 0.5em;
}
.consolePanel .topMenu label {
margin-right: 0.5em;
white-space: pre;
}
.logs {
word-wrap: break-word;
word-break: break-all;
overflow-y: auto;
font-size: 0.9em;
background: #111111;
}
.gamePanel .logs {
background: unset;
}
.logs .logTime {
color: rgb(31, 154, 255);
}
.logItem:hover {
background-color: black;
}
.logItem {
/* content-visibility: auto; */
padding-left: 4px;
border-bottom: solid 0.5px rgba(196, 194, 194, 0.151);
word-break: break-all;
word-wrap: break-word;
}
.logItem .filter {
/* font-weight: bold; */
color: greenyellow;
background-color: rgba(210, 105, 30, 0.658);
}
/* .logItem span{
line-height: 1em;
} */
.tab {
display: flex;
padding: 4px;
padding-bottom: 0px;
align-items: stretch;
border-bottom: solid 0.5px rgb(87, 86, 86);
white-space: nowrap;
background-color: #484848;
}
.tabs {
flex: 1;
display: flex;
align-items: stretch;
}
.tabItem {
display: inline-block;
margin-right: 0.5em;
padding-left: 0.5em;
padding-right: 0.5em;
padding-bottom: 4px;
user-select: none;
cursor: pointer;
background-color: #353535;
color: #d4d4d4;
/* line-height: 100%; */
/* height:100%; */
}
.tabs .selected {
background-color: #2c2c2c;
border: 0.5px solid rgb(87, 86, 86);
border-bottom: 0;
margin-bottom: -1px;
cursor: default;
color: whitesmoke;
}
.nodeTree {
overflow: auto;
min-width: 242px;
max-height: var(--top-and-bottom);
border-right: solid 0.5px rgb(87, 86, 86);
flex: 1;
scroll-behavior: smooth;
/* position: relative; */
}
.nodearrow {
transition: all 0.2s;
}
.nodearrow:hover{
/* background-color: #2c2c2c;
border-radius: 50%; */
/* color: #ffffff; */
text-shadow:-0.5px -0.5px 0px #ffffff
}
.node {
font-size: 13px;
}
.searchPanel {
position: absolute;
left: 0;
right: 0;
bottom: 0;
display: flex;
flex-direction: column;
background-color: black;
padding: 0.1em;
border-radius: 0.5em;
}
.searchBox {
display: flex;
padding-left: 2px;
padding-right: 2px;
}
.searchBox {
border: solid 0.5px rgb(98, 100, 100);
border-radius: 0.5em;
}
.searchBox input[type="search"] {
color: white;
flex: 1;
background: none;
outline: none;
border: none;
font-size: 0.9em;
}
.searchBox input[type="search"]:focus {
outline: none;
}
.searchTitle {
padding: 0.3em;
padding-bottom: 0;
}
.searchTitle label {
white-space: pre;
}
.searchList {
padding: 0.3em;
padding-bottom: 0;
overflow-y: auto;
flex: 1;
max-height: 15em;
}
.searchList .itemPath {
color: gray;
font-size: 0.9em;
}
.inspectPanel {
overflow: auto;
overflow-x: hidden;
font-size: 13px;
min-width: 300px;
/* width:auto;
max-width: 360px; */
height: auto;
max-height: var(--top-and-bottom);
/* resize:horizontal; */
/* padding:2px; */
}
.inspectPanel input[type="number"] {
width: 4.5em;
}
.nodeName {
position: sticky;
top: 0;
background-color: #2c2c2c;
border-bottom: solid 1px rgb(87, 86, 86);
}
.nodeName {
display: flex;
/* flex:1; */
padding: 2px;
padding-left: 4px;
padding-right: 4px;
}
/* .nodeName label{
flex:1;
} */
.comProperty,
.nodeProperty {
display: flex;
align-items: center;
color: whitesmoke;
word-break: keep-all;
white-space: nowrap;
padding: 2px;
margin-top: 3px;
margin-bottom: 3px;
padding-left: 4px;
padding-right: 4px;
width: auto;
/* white-space:pre-wrap; */
}
.comProperty input[type="color"] {
background-color: unset;
}
.comProperty select {
background-color: unset;
color: whitesmoke;
}
.comProperty option {
background-color: black;
color: whitesmoke;
}
.comProperty:hover {
background-color: black;
}
.nodePropertyTitle {
display: inline-block;
width: 5em;
color: rgb(150, 150, 150);
text-align: right;
word-wrap: break-word;
/* word-break:normal; */
white-space: pre-wrap;
line-height: 0.95em;
margin-right: 1px;
}
.nodePropertyTitle::selection {
background-color: #2553c9;
}
.comProperty .nodePropertyTitle {
width: 8em;
}
/* .comProperty */
a {
color: rgb(14, 127, 233);
cursor: pointer;
}
a:hover {
color: rgb(52, 146, 235);
}
a:active {
color: rgb(104, 170, 233);
}
.nodePropertySubTitle {
display: inline-block;
width: 1em;
text-align: start;
line-height: 0.95em;
}
.colorRect {
width: 1em;
height: 1em;
display: inline-block;
border-width: solid 1px black;
}
.comProperty .nodePropertySubTitle {
/* overflow-x: hidden; */
width: auto;
max-width: 172px;
word-wrap: break-word;
/* word-break:normal; */
/* white-space: wrap; */
line-height: 0.95em;
}
.prewrap {
white-space: pre-wrap;
}
.nodePropertySubTitle .icon-wrong2 {
color: rgb(253, 94, 94);
}
.nodePropertySubTitle .icon-right {
color: lightgreen;
}
.nodeTitle {
/* content-visibility: auto; */
/* pointer-events: none; */
display: block;
user-select: none;
/* word-wrap:; */
word-break: keep-all;
white-space: nowrap;
}
.nodeTitle:hover {
background-color: rgb(82, 80, 80);
}
.dcDesc {
font-weight: bold;
color: wheat;
}
hr {
width: calc(100% - 0px);
padding: 0;
margin: 0;
border: none;
border-bottom: solid 1px rgb(87, 86, 86);
/* background-color: red; */
/* border-color: rgb(87, 86, 86);
border-width: 0.5px; */
}
.setting {
position: fixed;
top: 0;
right: 0;
bottom: 0;
height: 100%;
max-height: calc(100%);
width: min(calc(100vw - 32px), 20em);
box-shadow: -1px 0 4px 0px black;
background-color: #2c2c2c;
padding: 1em;
padding-top: 0;
display: flex;
/* z-index:200; */
flex-direction: column;
user-select: none;
overflow-y: auto;
}
.setting textarea {
width: 100%;
resize: vertical;
max-height: 5em;
}
.about {
display: flex;
/* z-index:200; */
flex-direction: column;
user-select: text;
}
.about .nodePropertyTitle {
user-select: text;
cursor: default;
margin-bottom: 10px;
}
.setting span {
cursor: pointer;
}
.settingHeader {
display: flex;
padding: 2px;
padding-top: 1em;
position: sticky;
top: 0;
background-color: #2c2c2c;
border-bottom: 0.5px solid rgb(87, 86, 86);
}
.topSticky{
position: sticky;
top: -1em;
background-color: #2c2c2c;
border-bottom: 0.5px solid rgb(87, 86, 86);
}
.settingTitle {
flex: 1;
text-align: center;
font-size: 2em;
height: 1.4em;
align-items: center;
justify-content: center;
display: flex;
}
.settingTitle img{
height:1em;
width:1em;
margin-right: 10px;
}
.setting label {
margin-top: 0.5em;
}
.searcItem {
content-visibility: auto;
height: 43px;
/* contain: size; */
}
.slide-fade-enter-active {
transition: all .3s ease;
}
.slide-fade-leave-active {
transition: all .2s;
}
.slide-fade-enter,
.slide-fade-leave-to
/* .slide-fade-leave-active for below version 2.1.8 */
{
transform: translateX(20em);
/* opacity: 0; */
}
.ResolutionResizer{
position: fixed;
top: 31px;
left: 0px;
resize: both;
overflow: hidden;
/* background-color: rgba(255, 217, 0, 0.555); */
pointer-events: none;
z-index: 1000;
min-width: 280px;
min-height: 200px;
}
.ResolutionSelector {
position: absolute;
top: 31px;
right: 0px;
background-color: rgb(66, 66, 66);
padding: 0.3em;
border-radius: 0.5em;
box-shadow: 0 0 12px 1px black;
}
.ResolutionSelector hr {
margin-bottom: 0.5em;
}
.ResolutionSelector input[type="number"] {
/* width: 100%; */
/* margin: 0.3em; */
}
.resoItem {
cursor: pointer;
border-radius: 0.5em;
padding: 0.2em;
display: flex;
/* min-width: 200px; */
}
.flex1 {
flex: 1;
}
.sizeName {
display: flex;
min-width: 200px;
border-radius: 0.5em;
padding-left: 0.5em;
padding-right: 0.5em;
}
/* .sizeName .name{
width:80px;
} */
.sizeName:hover {
background-color: lightgrey;
color: black;
}
.cocosPanel {
padding: 1em;
max-height: var(--top);
overflow-y: auto
}
.varsCon {
margin-top: 0.5em;
display: grid;
grid-template-columns: 15em 15em
}
.localStorageCon {
margin-top: 0.5em;
display: flex;
flex-direction: column;
}
.varItem {
/* width:10em; */
word-break: break-all;
}
.localStorageCon .varItem:hover{
background-color: #070707;
}
.varItemValue {
color: lightgray;
}
.extensionPanel {
display: flex;
flex-direction: column;
flex: 1;
padding: 1em;
}
.extensionPanel textarea {
flex: 1;
width: 100%;
resize: none;
}
.extensionPanel hr {
margin-top: 1em;
margin-bottom: 1em;
}
.nanStr{
background:black;
padding-left:10px;
padding-right:10px;
z-index:1000;
color: white;
}
</style>
<body>
<div id="app" style="visibility:hidden;" @contextmenu="showAppMenu" @click="showResolutionSelector=false">
<validate-panel></validate-panel>
<div class="gamePanel" :style="setting.gamePanelStyle">
<div class="gamebtns">
<div class="gameBtnsLeft">
<button @click="refresh" title="Refresh Game">
<span class="iconfont icon-shuaxin"></span>
</button>
</div>
<div class="gameBtnsRight">
<button @click="playOrPause" title="Play|Pause Game">
<span :class="[pauseIcon]"></span>
</button>
<button @click="toggleFps" title="Show|Hide FPS">
<span class="iconfont icon-zoushi"></span>
</button>
<button @click="toggleSnd" title="Mute|Resume Sound">
<span v-if="!isMuted" class="iconfont icon-sound-"></span>
<span v-if="isMuted" class="iconfont icon-sound-1"></span>
</button>
<button @contextmenu.stop="toggle3dHover" @click="toggleHover" :style="hoverBtnStyle" title="find by Hover, left click for 2d | right click for 3d">
<span class="iconfont icon-aim1"></span>
<label style="position: absolute;top: -0.3em;right: -0.6em;font-size: smaller;">{{hoverMark}}</label>
</button>
<button @click="toggleDesignMode" :style="designBtnStyle" title="toggle design mode">
<span class="iconfont icon-drag"></span>
</button>
<button @click.stop="showResolutionSelector=!showResolutionSelector" title="adjust resolution and rotation" :style="resolutionBtnStyle">
<span class="iconfont icon-xuanzhuan"></span>
</button>
<button v-if="!showDevToolInTab" @click="openWvDevTool" title="Open DevTool of Game Page">
<span class="iconfont icon-tools-hardware"></span>
</button>
</div>
</div>
<resolution-resizer></resolution-resizer>
<resolution-selector v-if="showResolutionSelector"></resolution-selector>
<hr>
<!-- http://gameview.creator-star.cn/cocos/cake/index.html -->
<!-- http://localhost:7456 -->
<webview ref="wv" preload="./preload.js" :src="gameUrl" :style="setting.webviewStyle"
:disablewebsecurity="disableWebSec" nodeintegrationinsubframes="true"
webpreferences="contextIsolation=no"></webview>
<hr>
<div class="logs" ref="logs">
<div class="logItem" v-for="l in smallLogs" :style="{color:logColor(l.t)}"><span
class="logTime">{{l.time}}:</span>{{l.d}}</div>
</div>
</div>
<div class="nodePanel" v-show="!setting.simpleMode">
<div class="tab">
<div class="tabs">
<div :class="{tabItem:true,selected:tab==0}" @click="tab=0" @contextmenu.stop="showMenu">
<span class="iconfont icon-shuxingjiegou"></span>{{sceneName}}
<a v-show="showRefreshTreeBtn" @click="forceUpdateTree" class="iconfont icon-shuaxin"></a>
</div>
<div :class="{tabItem:true,selected:tab==1}" @click="tab=1">
<span class="iconfont icon-terminal-box-line"></span>{{showDevToolInTab?"DevTool":"Console"}}
</div>
<div :class="{tabItem:true,selected:tab==2}" @click="tab=2">
<span class="iconfont icon-jiarehuoyan-xianxing"></span>Cocos
</div>
<div :class="{tabItem:true,selected:tab==3}" @click="tab=3">
<span class="iconfont icon-jiedian"></span>Extension
</div>
</div>
<div>
<button @click="showHelp" title="Help">
<span class="iconfont icon-help"></span>
</button>
<!-- <button @click="location.reload()" title="Refresh Plugin">
<span class="iconfont icon-shuaxin"></span>
</button> -->
<button @click="showSetting" title="Setting">
<span class="iconfont icon-shezhi"></span>
</button>
</div>
</div>
<!-- <hr> -->
<!-- "n","deep","selected","close" -->
<div style="display:flex;flex:1;position:relative;" v-show="tab==0">
<div ref="nodeTree" v-if="nodeTree" class="nodeTree">
<div style="min-width: max-content;">
<node-view v-for="sn in nodeTree.children" :n="sn" :deep="1" :selected="selectedNode==sn.id"
:key="sn.id"></node-view>
</div>
</div>
<div v-show="!nodeTree" style="font-size: 50px;text-align: center;margin: 100px auto auto;text-shadow: 3px 3px 4px #0000004a;">
<div style="color: rgb(0 0 0 / 0%);background: linear-gradient(60deg, #36d1ff, #fafdff, #23b2ff, #ffff72);background-clip: text;-webkit-background-clip: text;">COCOS</div>
<div style="color: rgb(0 0 0 / 0%);background: linear-gradient(60deg, #b3b3b38c, #fafdff, #656565, #b7b7b0);background-clip: text;-webkit-background-clip: text;">INSPECTOR</div>
<div style="font-size: 20px;margin-top: auto;color: rgb(31, 154, 255);">loading ...</div>
<!-- <div style="font-size: 0.5em;">loading...</div> -->
</div>
<div class="inspectPanel" v-if="nodeDetail">
<node-detail-view :detail="nodeDetail"></node-detail-view>
<node-component v-for="com in nodeDetail.coms" :com="com" :key="com"></node-component>
</div>
<search-panel></search-panel>
</div>
<webview v-show="tab==1 && showDevToolInTab" nodeintegrationinsubframes="true" webpreferences="contextIsolation=no" ref="devtools" src="about:blank"></webview>
<console-panel v-if="!showDevToolInTab && tab==1"></console-panel>
<cocos-panel v-if="tab==2"></cocos-panel>
<extension-panel v-if="tab==3"></extension-panel>
</div>
<my-help ref="help"></my-help>
</div>
<div class="settingBox" id="setting">
<transition name="slide-fade">
<div class="setting" style="display: none;" v-show="show">
<div class="settingHeader">
<span class="iconfont icon-shanchu" @click="close" style="font-size: 1.5em;"></span>
<div class="settingTitle"><img src="icon.png"/> Setting</div>
</div>
<!-- <hr> -->
<label>
Log Count Under GameView:
<!-- {{logCount}} -->
<input type="number" @change="saveToStorage" v-model="logCount" min="0" max="100" step="1" />
</label>
<label>
Url Parameters:
<!-- {{logCount}} -->
<br>
<textarea placeholder="example:?xxx=y&abc=d" @change="saveToStorage" v-model="urlParams"></textarea>
</label>
<label>
Custom Url:
<!-- {{logCount}} -->
<br>
<textarea placeholder="example:http://xxx.com" @change="saveToStorage"
v-model="customUrl"></textarea>
</label>
<label>
<input type="checkbox" @change="saveToStorage" v-model="retinaEnable" />
Retina Enable
</label>
<label>
<input type="checkbox" @change="saveToStorage" v-model="autoUpdateTree" />
Auto Update Node Tree
</label>
<label>
<input type="checkbox" @change="saveToStorage" v-model="syncNodeDetail" />
Sync Node Detail
</label>
<hr>
<br>
<b>Need Restart Inspector/CocosCreator After Change</b>
<label>
<input type="checkbox" @change="saveToStorage" v-model="disableWebSec" />
Disable Web Security
</label>
<label>
<input type="checkbox" @change="saveToStorage" v-model="showDevToolInTab" />
Show DevTool In Tab
</label>
<hr>
<br>
<b>FGUI Setting</b>
<label>
<input type="checkbox" @change="saveToStorage" v-model="displayAsFairyTree" />
Display As Fairy Tree
</label>
<label>
<input type="checkbox" :disabled="!displayAsFairyTree" @change="saveToStorage"
v-model="hideFairyComContainer" />
Hide Fairy Component Container
</label>
<hr>
<br>
<div v-once>Feedback: <a @click="remote.shell.openExternal('https://forum.cocos.org/t/topic/116855')"
target="_blank">https://forum.cocos.org/t/topic/116855</a></div>
<br>
<div v-once>Check New Version: <a
@click="remote.shell.openExternal('https://store.cocos.com/app/detail/2940')"
target="_blank">https://store.cocos.com/app/detail/2940</a></div>
<hr>
<br>
<!-- <br> -->
<!-- <br> -->
<div class="about">
<div class="settingHeader">
<div class="settingTitle">About </div>
</div>
<!-- <hr> -->
<div>
<span class="nodePropertyTitle">Author: </span>
chuan.z
</div>
<div>
<span class="nodePropertyTitle">Contact: </span>
<a @click="remote.shell.openExternal('mailto:bytetalking@qq.com')">bytetalking@qq.com</a>
</div>
<div>
<span class="nodePropertyTitle">WebSite: </span>
<a @click="remote.shell.openExternal('https://bytetalking.com')">https://bytetalking.com</a>
</div>
<hr>
<div>
<span class="nodePropertyTitle">WeChat Offical Account: </span>
ByteTalking
</div>
<div>
<span class="nodePropertyTitle">QRCode: </span>
<img src="wechatOC.jpeg" style="max-width: 150px;max-height: 150px;">
</div>
</div>
</div>
</transition>
</div>
<!-- <div class="validatePanel">
</div> -->
<script src="./app.js">
</script>
</body>
</html>

View File

@@ -0,0 +1,450 @@
'use strict';
const _0x310e = [
'RbwEt',
'jesju',
'cESkJ',
'node',
'loadURL',
'oEQbF',
'removeAllL',
'webContent',
'../cocos-i',
'select',
'size',
'version',
'join',
'aScript',
'mLYBN',
'unselect',
'ent\x20size',
'dKKAT',
'resize',
'TPjnl',
'User',
'842799JVuQpT',
'index.html',
'IlBgy',
'ApRBL',
'lready!',
'getData',
'dLQyw',
'electron.h',
'576689NkJJcn',
'access_tok',
'query-port',
'exports',
'getSelecte',
'asset',
'ykNBc',
'setImage',
'yPCtW',
'isPortrait',
'click',
'rPQkG',
'setContent',
'gQVMI',
'fixed\x20cont',
'Size',
'DupIz',
'split',
'setMenu',
'NueHt',
'openDevToo',
'server',
'lwDOI',
'UbtjH',
'mainPreloa',
'versions',
'de(',
'LYYCI',
'request',
'GzNUa',
'1xMlblC',
'dvdDp',
'how',
'#2e2c29',
'XoXHt',
'v?.refresh',
'1201626VaCHvn',
'warn',
'Path',
'name',
'append',
'Menu',
'process',
'?port=',
'RrHkd',
':focusAsse',
'simpleMode',
'nspector-c',
'xChts',
'executeJav',
'DdQwk',
'1RyJhNo',
'./package.',
'setContext',
'setMenuBar',
'has\x20tray\x20a',
'ggleSimple',
'Cocos\x20Insp',
'Message',
'ector\x20v',
'then',
'387763giuIJZ',
'Visibility',
'json',
'parse',
'ch-asset',
'gYZds',
'SXqpg',
'ui-kit:tou',
':focusNode',
'Selection',
'YQMXg',
'electron',
'3MBpfmL',
'tml',
'setting.to',
'quydc',
'onfig.json',
'yIZUc',
'OpenDevToo',
'config.jso',
'file://',
'closed',
'2gJOlSw',
'error',
'357509sjjISt',
'rMain',
'destroy',
'Iabjt',
'v.switchMo',
'show',
'Mode()',
'i\x20Mode',
'374149OrYcEB',
'Toggle\x20Min',
'utf-8',
'ready-to-s',
'existsSync',
'./icon.png',
'85441FUXjmn',
'assign',
'xcTRk',
'readFileSy',
'path',
'createFrom',
'disableWeb',
'getUserTok',
'nfigDataFo',
'PDdcz',
'd.js',
'gLLah',
'Sec',
'getContent',
'&mode=',
'YFYku',
'xQTKP',
'WJFpC',
'setting.co',
'DUnFc',
'LzUKU',
'index_low_',
'broadcast',
'isteners'
];
const _0x412a05 = _0x4215;
(function (_0x2f3a2e, _0x7730a5) {
const _0x1f9415 = _0x4215;
while (!![]) {
try {
const _0x118ded = parseInt(_0x1f9415(0x257)) + -parseInt(_0x1f9415(0x255)) * parseInt(_0x1f9415(0x265)) + parseInt(_0x1f9415(0x226)) + parseInt(_0x1f9415(0x1fa)) * -parseInt(_0x1f9415(0x220)) + -parseInt(_0x1f9415(0x23f)) + parseInt(_0x1f9415(0x235)) * -parseInt(_0x1f9415(0x202)) + -parseInt(_0x1f9415(0x25f)) * -parseInt(_0x1f9415(0x24b));
if (_0x118ded === _0x7730a5)
break;
else
_0x2f3a2e['push'](_0x2f3a2e['shift']());
} catch (_0x1363dd) {
_0x2f3a2e['push'](_0x2f3a2e['shift']());
}
}
}(_0x310e, 0xff06b + 0x1 * -0xbf8f8 + 0x6c466));
const {BrowserWindow, app, remote, ipcMain, Menu, Tray, nativeImage, MenuItem} = require(_0x412a05(0x24a)), path = require(_0x412a05(0x1d1)), pcs = require(_0x412a05(0x22c)), os = require('os'), folder = '', devTools = ![];
let win, tray = null, mode = -0x1ce7 + -0x9 * 0x289 + -0x8 * -0x677, unloaded = ![];
const PKG_NAME = require(_0x412a05(0x236) + _0x412a05(0x241))[_0x412a05(0x229)], PKG_VERSION = require(_0x412a05(0x236) + _0x412a05(0x241))[_0x412a05(0x1f0)];
let fs = require('fs'), _configPath = path[_0x412a05(0x1f1)](__dirname, _0x412a05(0x252) + 'n'), __parentConfig = path[_0x412a05(0x1f1)](__dirname, _0x412a05(0x1ed) + _0x412a05(0x231) + _0x412a05(0x24f));
function readConfig() {
const _0x4bb624 = _0x412a05, _0x517f07 = { 'jesju': _0x4bb624(0x261) };
let _0x5c569e = '';
return fs[_0x4bb624(0x263)](__parentConfig) ? _0x5c569e = fs[_0x4bb624(0x268) + 'nc'](__parentConfig, { 'encoding': _0x517f07[_0x4bb624(0x1e6)] }) : _0x5c569e = fs[_0x4bb624(0x268) + 'nc'](_configPath, { 'encoding': _0x517f07[_0x4bb624(0x1e6)] }), JSON[_0x4bb624(0x242)](_0x5c569e);
}
let config = readConfig(), disableWebSec = Boolean(config[_0x412a05(0x1d3) + _0x412a05(0x1d9)]), dw = 0xe9 * -0x2 + 0x1 * -0x131a + 0x14ec, dh = 0x1 * 0x5ab + -0x6c * -0xf + -0xbff;
function changeDWH() {
const _0x4dde7a = _0x412a05, _0x4fdf37 = {
'NueHt': function (_0x32064a, _0x32fbf0) {
return _0x32064a + _0x32fbf0;
}
};
dw = config[_0x4dde7a(0x230)] ? config[_0x4dde7a(0x20b)] ? config[_0x4dde7a(0x1ef)][-0x541 * 0x6 + -0x11 * 0x1e1 + 0x7 * 0x911] : config[_0x4dde7a(0x1ef)][0xd3d + 0x15f9 + 0x2335 * -0x1] : -0x6a1 + 0x1 * 0x1ac9 + -0x85d * 0x2, dh = config[_0x4dde7a(0x230)] ? _0x4fdf37[_0x4dde7a(0x215)](config[_0x4dde7a(0x20b)] ? config[_0x4dde7a(0x1ef)][0x1d31 + 0x19c4 + 0x1b7a * -0x2] : config[_0x4dde7a(0x1ef)][-0x348 + -0x74b + -0xa93 * -0x1], -0x1 * 0x236e + -0x1ef0 + 0x4291) : 0x196d + -0xdf3 * -0x1 + -0x2508;
}
changeDWH();
let u = null;
module[_0x412a05(0x205)] = {
async 'load'() {
const _0x36feb9 = _0x412a05;
ipcMain['on'](PKG_NAME + _0x36feb9(0x247), focusNode), ipcMain['on'](PKG_NAME + (_0x36feb9(0x22f) + 't'), focusAsset);
try {
u = await Editor[_0x36feb9(0x1f9)][_0x36feb9(0x1ff)]();
if (!u[_0x36feb9(0x203) + 'en'])
Object[_0x36feb9(0x266)](u, await Editor[_0x36feb9(0x1f9)][_0x36feb9(0x1d4) + 'en']());
} catch (_0xaed645) {
}
},
'unload'() {
const _0x55d6df = _0x412a05;
unloaded = !![], ipcMain[_0x55d6df(0x1eb) + _0x55d6df(0x1e4)](PKG_NAME + _0x55d6df(0x247)), ipcMain[_0x55d6df(0x1eb) + _0x55d6df(0x1e4)](PKG_NAME + (_0x55d6df(0x22f) + 't'));
},
'methods': {
'previewMode'() {
const _0x523077 = _0x412a05, _0x3f8a1 = {
'oEQbF': function (_0x4c772a, _0xad0e31) {
return _0x4c772a(_0xad0e31);
}
};
if (unloaded)
return;
_0x3f8a1[_0x523077(0x1ea)](tryShowWindow, -0x7 * -0x1c1 + 0x1 * -0x22d + -0x6 * 0x1af);
},
'buildMobileMode'() {
const _0xbe053e = _0x412a05, _0x388eda = {
'dvdDp': function (_0x3b5eaf, _0x1fca84) {
return _0x3b5eaf(_0x1fca84);
}
};
if (unloaded)
return;
_0x388eda[_0xbe053e(0x221)](tryShowWindow, -0x142e + -0x9 * -0x1a3 + 0x574);
},
'buildDesktopMode'() {
const _0x5463e3 = _0x412a05, _0x4ca301 = {
'UbtjH': function (_0x4bb687, _0x8a3fb0) {
return _0x4bb687(_0x8a3fb0);
}
};
if (unloaded)
return;
_0x4ca301[_0x5463e3(0x219)](tryShowWindow, -0x2421 + -0x1517 * 0x1 + 0x393b);
},
'openCustomPage'() {
const _0x2a7c94 = _0x412a05, _0xe2ca47 = {
'PDdcz': function (_0x2d9c17, _0x45212e) {
return _0x2d9c17(_0x45212e);
}
};
if (unloaded)
return;
_0xe2ca47[_0x2a7c94(0x1d6)](tryShowWindow, -0x727 * 0x5 + 0x1 * 0x1445 + 0xf80);
},
'refresh'() {
const _0xf7b3be = _0x412a05, _0x41f7fe = { 'DupIz': _0xf7b3be(0x225) + '()' };
win?.[_0xf7b3be(0x1ec) + 's']?.[_0xf7b3be(0x233) + _0xf7b3be(0x1f2)](_0x41f7fe[_0xf7b3be(0x212)]);
}
}
};
function focusNode(_0x2cd6ba, _0xb25dc2) {
const _0x7f68e4 = _0x412a05, _0x224ad7 = { 'xChts': _0x7f68e4(0x1e8) };
let _0x503ff7 = Editor[_0x7f68e4(0x248)][_0x7f68e4(0x206) + 'd'](_0x224ad7[_0x7f68e4(0x232)]);
Editor[_0x7f68e4(0x248)][_0x7f68e4(0x1f4)](_0x224ad7[_0x7f68e4(0x232)], _0x503ff7), Editor[_0x7f68e4(0x248)][_0x7f68e4(0x1ee)](_0x224ad7[_0x7f68e4(0x232)], _0xb25dc2);
}
function focusAsset(_0x54a396, _0x16b35e) {
const _0x366b25 = _0x412a05, _0x369bef = {
'DUnFc': _0x366b25(0x246) + _0x366b25(0x243),
'TPjnl': _0x366b25(0x207)
};
Editor[_0x366b25(0x23c)][_0x366b25(0x1e3)](_0x369bef[_0x366b25(0x1e0)], _0x16b35e);
let _0xb5d56a = Editor[_0x366b25(0x248)][_0x366b25(0x206) + 'd'](_0x369bef[_0x366b25(0x1f8)]);
Editor[_0x366b25(0x248)][_0x366b25(0x1f4)](_0x369bef[_0x366b25(0x1f8)], _0xb5d56a), Editor[_0x366b25(0x248)][_0x366b25(0x1ee)](_0x369bef[_0x366b25(0x1f8)], _0x16b35e);
}
function _0x4215(_0x413ec0, _0xae40c7) {
_0x413ec0 = _0x413ec0 - (0x6 * 0x5d1 + -0x16bc + -0xa59);
let _0x1cf92d = _0x310e[_0x413ec0];
return _0x1cf92d;
}
async function showWindow() {
const _0x225047 = _0x412a05, _0x5d1bfb = {
'WJFpC': function (_0x228bd6) {
return _0x228bd6();
},
'yPCtW': function (_0x17751b, _0x2b8932) {
return _0x17751b != _0x2b8932;
},
'XoXHt': _0x225047(0x210) + _0x225047(0x1f5),
'ApRBL': _0x225047(0x1df) + _0x225047(0x1d5) + _0x225047(0x258),
'xcTRk': function (_0x1d635b, _0x3c84a9) {
return _0x1d635b + _0x3c84a9;
},
'DdQwk': _0x225047(0x23b) + _0x225047(0x23d),
'gLLah': _0x225047(0x223),
'YFYku': _0x225047(0x1f7),
'LzUKU': _0x225047(0x262) + _0x225047(0x222),
'YQMXg': _0x225047(0x254),
'dLQyw': function (_0x2f05dd, _0x5230dc) {
return _0x2f05dd >= _0x5230dc;
},
'mLYBN': _0x225047(0x217),
'LYYCI': _0x225047(0x204),
'ykNBc': function (_0x54be1d, _0x4b00c8) {
return _0x54be1d + _0x4b00c8;
},
'gYZds': function (_0x380c71, _0x33a196) {
return _0x380c71 + _0x33a196;
},
'RrHkd': function (_0x397b54, _0x6d3c4d) {
return _0x397b54 + _0x6d3c4d;
},
'RbwEt': function (_0x599f75, _0x35f9c4) {
return _0x599f75 + _0x35f9c4;
},
'GzNUa': _0x225047(0x22d),
'Iabjt': _0x225047(0x1db)
};
if (win) {
win[_0x225047(0x25c)](), win[_0x225047(0x1ec) + 's'][_0x225047(0x233) + _0x225047(0x1f2)](_0x225047(0x25b) + _0x225047(0x21c) + mode + ')');
return;
}
win = new BrowserWindow({
'width': dw,
'height': dh,
'title': _0x5d1bfb[_0x225047(0x267)](_0x5d1bfb[_0x225047(0x234)], PKG_VERSION),
'backgroundColor': _0x5d1bfb[_0x225047(0x1d8)],
'autoHideMenuBar': !![],
'webPreferences': {
'useContentSize': !![],
'enablePreferredSizeMode': ![],
'preferredSizeMode': ![],
'webviewTag': !![],
'nodeIntegration': !![],
'nodeIntegrationInSubFrames': !![],
'enableRemoteModule': !![],
'sandbox': ![],
'devTools': devTools,
'contextIsolation': ![],
'webSecurity': !disableWebSec,
'resizable': !config[_0x225047(0x230)],
'minimizable': !config[_0x225047(0x230)],
'maximizable': !config[_0x225047(0x230)],
'preload': path[_0x225047(0x1f1)](__dirname, folder + (_0x225047(0x21a) + _0x225047(0x1d7)))
}
});
try {
win[_0x225047(0x214)](null), win[_0x225047(0x238) + _0x225047(0x240)](![]), win[_0x225047(0x238) + _0x225047(0x240)] = win[_0x225047(0x214)] = function (_0x577dfb) {
};
} catch (_0x280a22) {
}
win['on'](_0x5d1bfb[_0x225047(0x1dc)], () => {
const _0x2138bc = _0x225047, _0x19af86 = {
'lwDOI': function (_0x45ed58) {
const _0x158ff3 = _0x4215;
return _0x5d1bfb[_0x158ff3(0x1de)](_0x45ed58);
},
'yIZUc': function (_0x4b7849, _0x3b49f6) {
const _0x4a1c42 = _0x4215;
return _0x5d1bfb[_0x4a1c42(0x20a)](_0x4b7849, _0x3b49f6);
},
'cESkJ': function (_0xbcdda3, _0x491321) {
const _0x5e89d9 = _0x4215;
return _0x5d1bfb[_0x5e89d9(0x20a)](_0xbcdda3, _0x491321);
},
'xQTKP': _0x5d1bfb[_0x2138bc(0x224)]
};
try {
win[_0x2138bc(0x1ec) + 's'][_0x2138bc(0x233) + _0x2138bc(0x1f2)](_0x5d1bfb[_0x2138bc(0x1fd)])[_0x2138bc(0x23e)](function (_0x2386c8) {
const _0x34f505 = _0x2138bc;
if (_0x2386c8)
config = _0x2386c8;
_0x19af86[_0x34f505(0x218)](changeDWH);
if (config[_0x34f505(0x230)] && win[_0x34f505(0x1ec) + 's']) {
let _0x1a80f9 = win[_0x34f505(0x1da) + _0x34f505(0x211)]();
(_0x19af86[_0x34f505(0x250)](dw, _0x1a80f9[0x3 * 0x11f + -0x1526 + 0x11c9]), _0x19af86[_0x34f505(0x1e7)](dh, _0x1a80f9[-0x23 * -0x61 + -0x438 + -0x59 * 0x1a])) && (win[_0x34f505(0x20e) + _0x34f505(0x211)](dw, dh), devTools && console[_0x34f505(0x227)](_0x19af86[_0x34f505(0x1dd)]));
}
});
} catch (_0x3a8bcb) {
console[_0x2138bc(0x256)](_0x3a8bcb);
}
}), win['on'](_0x5d1bfb[_0x225047(0x1e1)], () => win[_0x225047(0x25c)]()), win['on'](_0x5d1bfb[_0x225047(0x249)], () => {
const _0x491be5 = _0x225047;
win[_0x491be5(0x259)](), win = null;
if (tray)
tray[_0x491be5(0x259)]();
tray = null;
});
let _0x24f5b9 = folder + (_0x225047(0x1e2) + _0x225047(0x201) + _0x225047(0x24c));
_0x5d1bfb[_0x225047(0x200)](process[_0x225047(0x21b)][_0x225047(0x24a)][_0x225047(0x213)]('.')[-0x3a3 * -0x2 + -0xe0d + -0x15b * -0x5], -0x2 * -0xfd9 + 0x6b9 + -0x2666) && (_0x24f5b9 = folder + _0x225047(0x1fb));
let _0x591e11 = await Editor[_0x225047(0x23c)][_0x225047(0x21e)](_0x5d1bfb[_0x225047(0x1f3)], _0x5d1bfb[_0x225047(0x21d)]), _0x301340 = path[_0x225047(0x1f1)](__dirname, _0x5d1bfb[_0x225047(0x208)](_0x5d1bfb[_0x225047(0x244)](_0x5d1bfb[_0x225047(0x22e)](_0x5d1bfb[_0x225047(0x1e5)](_0x24f5b9, _0x5d1bfb[_0x225047(0x21f)]), _0x591e11), _0x5d1bfb[_0x225047(0x25a)]), mode));
if (u) {
let {
cocos_uid: _0x1f4031,
nickname: _0x4fb4c9,
access_token: _0xadd97a
} = u, _0x1874ef = {
'cocos_uid': _0x1f4031,
'nickname': _0x4fb4c9,
'access_token': _0xadd97a
};
for (let _0x12b143 in _0x1874ef) {
_0x301340 += '&' + _0x12b143 + '=' + _0x1874ef[_0x12b143];
}
}
win[_0x225047(0x1e9)](_0x225047(0x253) + _0x301340);
}
function tryShowWindow(_0x62e59) {
const _0x218d29 = _0x412a05, _0x21fe42 = {
'SXqpg': _0x218d29(0x264),
'gQVMI': _0x218d29(0x20c),
'quydc': _0x218d29(0x260) + _0x218d29(0x25e),
'dKKAT': _0x218d29(0x251) + 'ls',
'IlBgy': _0x218d29(0x239) + _0x218d29(0x1fe),
'rPQkG': function (_0x3b850b) {
return _0x3b850b();
}
};
try {
let _0x4dda46 = nativeImage[_0x218d29(0x1d2) + _0x218d29(0x228)](path[_0x218d29(0x1f1)](__dirname, _0x21fe42[_0x218d29(0x245)]));
_0x4dda46 = _0x4dda46[_0x218d29(0x1f7)]({
'width': 0x10,
'height': 0x10
});
tray && tray[_0x218d29(0x209)](_0x4dda46);
if (!tray) {
tray = new Tray(_0x4dda46), tray['on'](_0x21fe42[_0x218d29(0x20f)], function () {
const _0x4cb8f8 = _0x218d29;
win[_0x4cb8f8(0x25c)]();
});
let _0x5daa94 = new Menu();
_0x5daa94[_0x218d29(0x22a)](new MenuItem({
'label': _0x21fe42[_0x218d29(0x24e)],
'click': function () {
const _0x4ad777 = _0x218d29;
win && win[_0x4ad777(0x1ec) + 's'][_0x4ad777(0x233) + _0x4ad777(0x1f2)](_0x4ad777(0x24d) + _0x4ad777(0x23a) + _0x4ad777(0x25d));
}
})), devTools && _0x5daa94[_0x218d29(0x22a)](new MenuItem({
'label': _0x21fe42[_0x218d29(0x1f6)],
'click': function () {
const _0x163c33 = _0x218d29;
win && win[_0x163c33(0x1ec) + 's'][_0x163c33(0x216) + 'ls']();
}
})), tray[_0x218d29(0x237) + _0x218d29(0x22b)](_0x5daa94);
} else {
if (devTools)
console[_0x218d29(0x227)](_0x21fe42[_0x218d29(0x1fc)]);
}
} catch (_0xe9e8b7) {
if (devTools)
console[_0x218d29(0x256)](_0xe9e8b7);
}
mode = _0x62e59;
try {
_0x21fe42[_0x218d29(0x20d)](showWindow);
} catch (_0x1195a4) {
console[_0x218d29(0x256)](_0x1195a4);
}
}

View File

@@ -0,0 +1,60 @@
const _0x3271 = [
'YlACI',
'1ojlQBz',
'1359293nemOSu',
'962164cKrNjX',
'parse',
'../cocos-i',
'writeFileS',
'417283AVujAA',
'readConfig',
'stringify',
'config.jso',
'1TbTgIx',
'1005673YlfGNY',
'366566GxxVoZ',
'saveConfig',
'utf-8',
'ync',
'1zcqMvK',
'join',
'307979QDrVPr',
'3571aoLOEf',
'23pQRmMZ',
'onfig.json',
'existsSync',
'nspector-c',
'path',
'NtYxX',
'readFileSy'
];
const _0x51d295 = _0x3812;
function _0x3812(_0x40eb3b, _0x22c54c) {
_0x40eb3b = _0x40eb3b - (0x1 * -0x86f + 0x1f91 * 0x1 + -0xabd * 0x2);
let _0x31559d = _0x3271[_0x40eb3b];
return _0x31559d;
}
(function (_0x7eade2, _0x206395) {
const _0x45a6fe = _0x3812;
while (!![]) {
try {
const _0x11de5d = -parseInt(_0x45a6fe(0x1b7)) + -parseInt(_0x45a6fe(0x1ad)) * -parseInt(_0x45a6fe(0x1ac)) + parseInt(_0x45a6fe(0x1ab)) + -parseInt(_0x45a6fe(0x1bf)) * -parseInt(_0x45a6fe(0x1bb)) + parseInt(_0x45a6fe(0x1c1)) + -parseInt(_0x45a6fe(0x1a9)) * parseInt(_0x45a6fe(0x1c0)) + parseInt(_0x45a6fe(0x1b6)) * parseInt(_0x45a6fe(0x1b5));
if (_0x11de5d === _0x206395)
break;
else
_0x7eade2['push'](_0x7eade2['shift']());
} catch (_0x296c2a) {
_0x7eade2['push'](_0x7eade2['shift']());
}
}
}(_0x3271, -0x109 * -0xe78 + -0x581c6 + -0xd7c9));
let fs = require('fs'), path = require(_0x51d295(0x1b1)), _configPath = path[_0x51d295(0x1aa)](__dirname, _0x51d295(0x1be) + 'n'), __parentConfig = path[_0x51d295(0x1aa)](__dirname, _0x51d295(0x1b9) + _0x51d295(0x1b0) + _0x51d295(0x1ae));
global[_0x51d295(0x1bc)] = () => {
const _0x5d4f54 = _0x51d295, _0x45a6c0 = { 'NtYxX': _0x5d4f54(0x1c3) };
let _0x3f88f4 = '';
return fs[_0x5d4f54(0x1af)](__parentConfig) ? _0x3f88f4 = fs[_0x5d4f54(0x1b3) + 'nc'](__parentConfig, { 'encoding': _0x45a6c0[_0x5d4f54(0x1b2)] }) : _0x3f88f4 = fs[_0x5d4f54(0x1b3) + 'nc'](_configPath, { 'encoding': _0x45a6c0[_0x5d4f54(0x1b2)] }), JSON[_0x5d4f54(0x1b8)](_0x3f88f4);
}, global[_0x51d295(0x1c2)] = _0x153239 => {
const _0x21f507 = _0x51d295, _0x2cd1b4 = { 'YlACI': _0x21f507(0x1c3) };
let _0x3de604 = JSON[_0x21f507(0x1bd)](_0x153239);
fs[_0x21f507(0x1ba) + _0x21f507(0x1a8)](__parentConfig, _0x3de604, { 'encoding': _0x2cd1b4[_0x21f507(0x1b4)] });
};

View File

@@ -0,0 +1,232 @@
{
"name": "cocos_inspector",
"version": "0.3.4",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
"asynckit": {
"version": "0.4.0",
"resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz",
"integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k="
},
"call-bind": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz",
"integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==",
"requires": {
"function-bind": "^1.1.1",
"get-intrinsic": "^1.0.2"
}
},
"combined-stream": {
"version": "1.0.8",
"resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz",
"integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==",
"requires": {
"delayed-stream": "~1.0.0"
}
},
"component-emitter": {
"version": "1.3.0",
"resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.3.0.tgz",
"integrity": "sha512-Rd3se6QB+sO1TwqZjscQrurpEPIfO0/yYnSin6Q/rD3mOutHvUrCAhJub3r90uNb+SESBuE0QYoB90YdfatsRg=="
},
"cookiejar": {
"version": "2.1.3",
"resolved": "https://registry.npmjs.org/cookiejar/-/cookiejar-2.1.3.tgz",
"integrity": "sha512-JxbCBUdrfr6AQjOXrxoTvAMJO4HBTUIlBzslcJPAz+/KT8yk53fXun51u+RenNYvad/+Vc2DIz5o9UxlCDymFQ=="
},
"debug": {
"version": "4.3.2",
"resolved": "https://registry.npmjs.org/debug/-/debug-4.3.2.tgz",
"integrity": "sha512-mOp8wKcvj7XxC78zLgw/ZA+6TSgkoE2C/ienthhRD298T7UNwAg9diBpLRxC0mOezLl4B0xV7M0cCO6P/O0Xhw==",
"requires": {
"ms": "2.1.2"
}
},
"delayed-stream": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz",
"integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk="
},
"electron-baidu-tongji": {
"version": "1.0.5",
"resolved": "https://registry.npmjs.org/electron-baidu-tongji/-/electron-baidu-tongji-1.0.5.tgz",
"integrity": "sha512-HGBNnJHvDYAIlGlo3ql+3y+XRXldLvG6jSE+ZNLRBHbL2KHySLgI/xDbrCITlRtlqw8pX4xEcTjUube16kWP3g==",
"requires": {
"superagent": "^6.1.0"
}
},
"fast-safe-stringify": {
"version": "2.1.1",
"resolved": "https://registry.npmjs.org/fast-safe-stringify/-/fast-safe-stringify-2.1.1.tgz",
"integrity": "sha512-W+KJc2dmILlPplD/H4K9l9LcAHAfPtP6BY84uVLXQ6Evcz9Lcg33Y2z1IVblT6xdY54PXYVHEv+0Wpq8Io6zkA=="
},
"form-data": {
"version": "3.0.1",
"resolved": "https://registry.npmjs.org/form-data/-/form-data-3.0.1.tgz",
"integrity": "sha512-RHkBKtLWUVwd7SqRIvCZMEvAMoGUp0XU+seQiZejj0COz3RI3hWP4sCv3gZWWLjJTd7rGwcsF5eKZGii0r/hbg==",
"requires": {
"asynckit": "^0.4.0",
"combined-stream": "^1.0.8",
"mime-types": "^2.1.12"
}
},
"formidable": {
"version": "1.2.2",
"resolved": "https://registry.npmjs.org/formidable/-/formidable-1.2.2.tgz",
"integrity": "sha512-V8gLm+41I/8kguQ4/o1D3RIHRmhYFG4pnNyonvua+40rqcEmT4+V71yaZ3B457xbbgCsCfjSPi65u/W6vK1U5Q=="
},
"function-bind": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz",
"integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A=="
},
"get-intrinsic": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.1.tgz",
"integrity": "sha512-kWZrnVM42QCiEA2Ig1bG8zjoIMOgxWwYCEeNdwY6Tv/cOSeGpcoX4pXHfKUxNKVoArnrEr2e9srnAxxGIraS9Q==",
"requires": {
"function-bind": "^1.1.1",
"has": "^1.0.3",
"has-symbols": "^1.0.1"
}
},
"has": {
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz",
"integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==",
"requires": {
"function-bind": "^1.1.1"
}
},
"has-symbols": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.2.tgz",
"integrity": "sha512-chXa79rL/UC2KlX17jo3vRGz0azaWEx5tGqZg5pO3NUyEJVB17dMruQlzCCOfUvElghKcm5194+BCRvi2Rv/Gw=="
},
"inherits": {
"version": "2.0.4",
"resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
"integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="
},
"lru-cache": {
"version": "6.0.0",
"resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz",
"integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==",
"requires": {
"yallist": "^4.0.0"
}
},
"methods": {
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz",
"integrity": "sha1-VSmk1nZUE07cxSZmVoNbD4Ua/O4="
},
"mime": {
"version": "2.5.2",
"resolved": "https://registry.npmjs.org/mime/-/mime-2.5.2.tgz",
"integrity": "sha512-tqkh47FzKeCPD2PUiPB6pkbMzsCasjxAfC62/Wap5qrUWcb+sFasXUC5I3gYM5iBM8v/Qpn4UK0x+j0iHyFPDg=="
},
"mime-db": {
"version": "1.50.0",
"resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.50.0.tgz",
"integrity": "sha512-9tMZCDlYHqeERXEHO9f/hKfNXhre5dK2eE/krIvUjZbS2KPcqGDfNShIWS1uW9XOTKQKqK6qbeOci18rbfW77A=="
},
"mime-types": {
"version": "2.1.33",
"resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.33.tgz",
"integrity": "sha512-plLElXp7pRDd0bNZHw+nMd52vRYjLwQjygaNg7ddJ2uJtTlmnTCjWuPKxVu6//AdaRuME84SvLW91sIkBqGT0g==",
"requires": {
"mime-db": "1.50.0"
}
},
"ms": {
"version": "2.1.2",
"resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
"integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w=="
},
"object-inspect": {
"version": "1.11.0",
"resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.11.0.tgz",
"integrity": "sha512-jp7ikS6Sd3GxQfZJPyH3cjcbJF6GZPClgdV+EFygjFLQ5FmW/dRUnTd9PQ9k0JhoNDabWFbpF1yCdSWCC6gexg=="
},
"qs": {
"version": "6.10.1",
"resolved": "https://registry.npmjs.org/qs/-/qs-6.10.1.tgz",
"integrity": "sha512-M528Hph6wsSVOBiYUnGf+K/7w0hNshs/duGsNXPUCLH5XAqjEtiPGwNONLV0tBH8NoGb0mvD5JubnUTrujKDTg==",
"requires": {
"side-channel": "^1.0.4"
}
},
"readable-stream": {
"version": "3.6.0",
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz",
"integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==",
"requires": {
"inherits": "^2.0.3",
"string_decoder": "^1.1.1",
"util-deprecate": "^1.0.1"
}
},
"safe-buffer": {
"version": "5.2.1",
"resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz",
"integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ=="
},
"semver": {
"version": "7.3.5",
"resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz",
"integrity": "sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==",
"requires": {
"lru-cache": "^6.0.0"
}
},
"side-channel": {
"version": "1.0.4",
"resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz",
"integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==",
"requires": {
"call-bind": "^1.0.0",
"get-intrinsic": "^1.0.2",
"object-inspect": "^1.9.0"
}
},
"string_decoder": {
"version": "1.3.0",
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz",
"integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==",
"requires": {
"safe-buffer": "~5.2.0"
}
},
"superagent": {
"version": "6.1.0",
"resolved": "https://registry.npmjs.org/superagent/-/superagent-6.1.0.tgz",
"integrity": "sha512-OUDHEssirmplo3F+1HWKUrUjvnQuA+nZI6i/JJBdXb5eq9IyEQwPyPpqND+SSsxf6TygpBEkUjISVRN4/VOpeg==",
"requires": {
"component-emitter": "^1.3.0",
"cookiejar": "^2.1.2",
"debug": "^4.1.1",
"fast-safe-stringify": "^2.0.7",
"form-data": "^3.0.0",
"formidable": "^1.2.2",
"methods": "^1.1.2",
"mime": "^2.4.6",
"qs": "^6.9.4",
"readable-stream": "^3.6.0",
"semver": "^7.3.2"
}
},
"util-deprecate": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",
"integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8="
},
"yallist": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz",
"integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A=="
}
}
}

View File

@@ -0,0 +1,47 @@
{
"name": "cocos_inspector",
"version": "1.2.1",
"package_version":2,
"description": "Cocos Runtime Inspector for cocos creator3.x",
"author": "chuan.zhang",
"main": "./main.js",
"contributions":{
"menu":[
{
"path":"i18n:menu.extension/Cocos Inspector",
"label":"preview Mode",
"message":"previewMode"
},
{
"path":"i18n:menu.extension/Cocos Inspector",
"label":"build Mobile Mode",
"message":"buildMobileMode"
},
{
"path":"i18n:menu.extension/Cocos Inspector",
"label":"build Desktop Mode",
"message":"buildDesktopMode"
},
{
"path":"i18n:menu.extension/Cocos Inspector",
"label":"open Custom Page",
"message":"openCustomPage"
},
{
"path":"i18n:menu.extension/Cocos Inspector",
"label":"refresh",
"message":"refresh"
}
],
"messages":{
"previewMode":{"methods":["previewMode"]},
"buildMobileMode":{"methods":["buildMobileMode"]},
"buildDesktopMode":{"methods":["buildDesktopMode"]},
"openCustomPage":{"methods":["openCustomPage"]},
"refresh":{"methods":["refresh"]}
}
},
"dependencies": {
}
}

View File

@@ -0,0 +1,16 @@
{
"menu": {
"node": [
[
"Print Node",
"console.log"
]
],
"component": [
[
"Print Comp",
"console.log"
]
]
}
}

View File

@@ -0,0 +1,91 @@
const _0x456f = [
'consoleLog',
'electron',
'showNodeDe',
'2610hIhMEm',
'DqLBp',
'sendStatis',
'1detUib',
'sendToHost',
'gameState',
'canUpdateT',
'657994nORLaJ',
'locateNode',
'ate',
'sendError',
'24KioBiD',
'479wgeLcK',
'1245955pYeiYz',
'sendGameSt',
'sendLog',
'309cPcZcn',
'dFKen',
'sSKmA',
'iGlGX',
'426733BTlnaI',
'QfExh',
'905767sgSRyv',
'consoleErr',
'YQIYP',
'sendWarn',
'tail',
'ree',
'updateTree',
'1809QKGqLK',
'consoleWar',
'lHJOI',
'nnBMa',
'WcecA',
'8311trKLPr',
'sendTree',
'tic'
];
const _0x273fa1 = _0x281c;
(function (_0x3a8f3a, _0x41b11b) {
const _0x17a78d = _0x281c;
while (!![]) {
try {
const _0x47f24f = parseInt(_0x17a78d(0x6d)) + parseInt(_0x17a78d(0x88)) + -parseInt(_0x17a78d(0x66)) + -parseInt(_0x17a78d(0x76)) * -parseInt(_0x17a78d(0x8d)) + -parseInt(_0x17a78d(0x69)) * -parseInt(_0x17a78d(0x81)) + parseInt(_0x17a78d(0x84)) * -parseInt(_0x17a78d(0x6f)) + -parseInt(_0x17a78d(0x7b)) * -parseInt(_0x17a78d(0x8c));
if (_0x47f24f === _0x41b11b)
break;
else
_0x3a8f3a['push'](_0x3a8f3a['shift']());
} catch (_0xb93f65) {
_0x3a8f3a['push'](_0x3a8f3a['shift']());
}
}
}(_0x456f, 0x17fc8 * -0x8 + 0x1 * 0x146075 + 0x3e829));
const {ipcRenderer} = require(_0x273fa1(0x7f));
function _0x281c(_0xb88148, _0x1c84ab) {
_0xb88148 = _0xb88148 - (-0x7 * -0x37d + 0x8ab + -0x20b0);
let _0x39f0e8 = _0x456f[_0xb88148];
return _0x39f0e8;
}
global[_0x273fa1(0x67) + _0x273fa1(0x8a)] = _0x3f88f6 => {
const _0x59f7ff = _0x273fa1, _0x2aa7fd = { 'WcecA': _0x59f7ff(0x86) };
ipcRenderer[_0x59f7ff(0x85)](_0x2aa7fd[_0x59f7ff(0x7a)], _0x3f88f6);
}, global[_0x273fa1(0x89)] = _0x500cc3 => {
const _0x321d8c = _0x273fa1, _0x4dbac4 = { 'iGlGX': _0x321d8c(0x89) };
ipcRenderer[_0x321d8c(0x85)](_0x4dbac4[_0x321d8c(0x6c)], _0x500cc3);
}, global[_0x273fa1(0x68)] = _0x22c96a => {
const _0x4b1891 = _0x273fa1, _0x5673cf = { 'YQIYP': _0x4b1891(0x7e) };
ipcRenderer[_0x4b1891(0x85)](_0x5673cf[_0x4b1891(0x71)], _0x22c96a);
}, global[_0x273fa1(0x8b)] = _0x31691a => {
const _0x575995 = _0x273fa1, _0x5e121d = { 'nnBMa': _0x575995(0x70) + 'or' };
ipcRenderer[_0x575995(0x85)](_0x5e121d[_0x575995(0x79)], _0x31691a);
}, global[_0x273fa1(0x72)] = _0x3ba4ac => {
const _0x59dd5c = _0x273fa1, _0x312a7d = { 'lHJOI': _0x59dd5c(0x77) + 'n' };
ipcRenderer[_0x59dd5c(0x85)](_0x312a7d[_0x59dd5c(0x78)], _0x3ba4ac);
}, global[_0x273fa1(0x7c)] = _0x1a3b63 => {
const _0x57b32a = _0x273fa1, _0xbb4f10 = { 'sSKmA': _0x57b32a(0x75) };
ipcRenderer[_0x57b32a(0x85)](_0xbb4f10[_0x57b32a(0x6b)], _0x1a3b63);
}, global[_0x273fa1(0x80) + _0x273fa1(0x73)] = _0x474c5a => {
const _0x87f793 = _0x273fa1, _0x1bed7b = { 'dFKen': _0x87f793(0x80) + _0x87f793(0x73) };
ipcRenderer[_0x87f793(0x85)](_0x1bed7b[_0x87f793(0x6a)], _0x474c5a);
}, global[_0x273fa1(0x83) + _0x273fa1(0x7d)] = _0x229382 => {
const _0x561d53 = _0x273fa1, _0x139453 = { 'QfExh': _0x561d53(0x83) + _0x561d53(0x7d) };
ipcRenderer[_0x561d53(0x85)](_0x139453[_0x561d53(0x6e)], _0x229382);
}, global[_0x273fa1(0x87) + _0x273fa1(0x74)] = () => {
const _0x11d99c = _0x273fa1, _0x537783 = { 'DqLBp': _0x11d99c(0x87) + _0x11d99c(0x74) };
ipcRenderer[_0x11d99c(0x85)](_0x537783[_0x11d99c(0x82)], !![]);
};

View File

@@ -0,0 +1,209 @@
const _0x1751 = [
'HBizY',
'7859peiOVM',
'498402dpufIy',
'pmCwF',
'_hmt',
'bZezM',
'/hm.js?',
'9eqdwqw',
'getElement',
'mZbvZ',
'FWkfl',
'3635lfNLlo',
'604DnoYyp',
'44MdgMjM',
'ctor.bytet',
'1311oZKgEv',
'appendChil',
'view',
'_trackEven',
'889964ivzADF',
'eMbmj',
'Var',
'https',
'1DvDLpa',
'or.bytetal',
'103537xknlah',
'psloF',
'dIOZl',
'AcFmm',
'cosinspect',
'require\x20si',
'Stlur',
'_setCustom',
'utf-8',
'https://hm',
'1JzHPxB',
'alking.com',
'DnBAe',
'data',
'sByTagName',
'get',
'eZEtF',
'end',
'clocation',
'https://co',
'push',
'error',
'ent',
'text',
'replace',
'teId',
'king.com',
'createElem',
'clocation.',
'setEncodin',
'244910pDBXNX',
'qBuAn',
'cocosinspe',
'aJwwz',
'_trackPage',
'RnLLp',
'nuTZU',
'string',
'NJIqk',
'jtOTB',
'ZYjxG',
'arkXY',
'HplCx',
'bMgtN',
'tRlSr',
'king.com/',
'.baidu.com',
'OrwUE',
'FuQsv',
'script',
'https:',
'exports',
'101WYOpDb',
'head'
];
const _0xc911cd = _0x568a;
(function (_0x2e55f7, _0x251947) {
const _0x42ad7f = _0x568a;
while (!![]) {
try {
const _0x52b48d = parseInt(_0x42ad7f(0x141)) * parseInt(_0x42ad7f(0x144)) + parseInt(_0x42ad7f(0x148)) * -parseInt(_0x42ad7f(0x14c)) + -parseInt(_0x42ad7f(0x11d)) * -parseInt(_0x42ad7f(0x158)) + -parseInt(_0x42ad7f(0x14e)) * -parseInt(_0x42ad7f(0x13c)) + -parseInt(_0x42ad7f(0x137)) + -parseInt(_0x42ad7f(0x136)) * -parseInt(_0x42ad7f(0x142)) + -parseInt(_0x42ad7f(0x140)) * parseInt(_0x42ad7f(0x133));
if (_0x52b48d === _0x251947)
break;
else
_0x2e55f7['push'](_0x2e55f7['shift']());
} catch (_0x571591) {
_0x2e55f7['push'](_0x2e55f7['shift']());
}
}
}(_0x1751, 0x9 * -0x1270d + -0xb * 0x139c6 + 0x2b * 0xc0cb));
let cccuid = '';
function _0x568a(_0x40c6df, _0x7585b2) {
_0x40c6df = _0x40c6df - (0xa50 + -0x6a3 * 0x4 + 0x3 * 0x5c2);
let _0x2fdefb = _0x1751[_0x40c6df];
return _0x2fdefb;
}
const ebtMain = _0x29f3da => {
cccuid = _0x29f3da;
}, ebtRenderer = _0x9f7d1d => {
const _0x10dcd0 = _0x568a, _0x53ee2a = {
'HplCx': _0x10dcd0(0x156),
'aJwwz': _0x10dcd0(0x10c),
'tRlSr': _0x10dcd0(0x110),
'DnBAe': function (_0x3194ee) {
return _0x3194ee();
},
'NJIqk': _0x10dcd0(0x11b),
'Stlur': _0x10dcd0(0x130),
'mZbvZ': _0x10dcd0(0x134),
'arkXY': function (_0x1068db, _0x3a35fa) {
return _0x1068db(_0x3a35fa);
},
'eMbmj': _0x10dcd0(0x14b),
'bZezM': _0x10dcd0(0x157) + _0x10dcd0(0x12d) + '/',
'eZEtF': _0x10dcd0(0x114),
'FuQsv': function (_0x14b0ad, _0x3cad69) {
return _0x14b0ad === _0x3cad69;
},
'ZYjxG': _0x10dcd0(0x124)
};
if (!(_0x9f7d1d && _0x53ee2a[_0x10dcd0(0x12f)](typeof _0x9f7d1d, _0x53ee2a[_0x10dcd0(0x127)])))
throw new TypeError(_0x10dcd0(0x153) + _0x10dcd0(0x118));
return new Promise(_0x58478e => {
const _0x2daa12 = _0x10dcd0, _0x4b5899 = {
'nuTZU': function (_0x375a69) {
const _0x1e4baa = _0x568a;
return _0x53ee2a[_0x1e4baa(0x10b)](_0x375a69);
},
'pmCwF': _0x53ee2a[_0x2daa12(0x125)],
'HBizY': _0x53ee2a[_0x2daa12(0x154)],
'bMgtN': _0x53ee2a[_0x2daa12(0x13e)],
'FWkfl': function (_0x2e3220) {
const _0xd4b4bd = _0x2daa12;
return _0x53ee2a[_0xd4b4bd(0x10b)](_0x2e3220);
}
};
let _0x3a4abe = _0x53ee2a[_0x2daa12(0x128)](require, _0x53ee2a[_0x2daa12(0x149)]), _0x55619e = { 'headers': { 'Referer': _0x53ee2a[_0x2daa12(0x13a)] } };
_0x3a4abe[_0x2daa12(0x10e)](_0x2daa12(0x157) + _0x2daa12(0x12d) + _0x2daa12(0x13b) + _0x9f7d1d, _0x55619e, _0x119789 => {
const _0x3e36f9 = _0x2daa12;
_0x119789[_0x3e36f9(0x11c) + 'g'](_0x53ee2a[_0x3e36f9(0x129)]);
let _0xc4f1d9 = '';
_0x119789['on'](_0x53ee2a[_0x3e36f9(0x120)], _0x5ccac0 => {
_0xc4f1d9 += _0x5ccac0;
}), _0x119789['on'](_0x53ee2a[_0x3e36f9(0x12b)], () => {
const _0x3ba580 = _0x3e36f9;
_0x4b5899[_0x3ba580(0x123)](init), _0xc4f1d9 = _0xc4f1d9[_0x3ba580(0x117)](/document.location./g, _0x4b5899[_0x3ba580(0x138)]);
let _0x1b2496 = document[_0x3ba580(0x11a) + _0x3ba580(0x115)](_0x4b5899[_0x3ba580(0x135)]);
_0x1b2496[_0x3ba580(0x116)] = _0xc4f1d9;
let _0x36951f = document[_0x3ba580(0x13d) + _0x3ba580(0x10d)](_0x4b5899[_0x3ba580(0x12a)])[0x14 * -0x8 + 0x1f08 + -0x1e68];
_0x36951f[_0x3ba580(0x145) + 'd'](_0x1b2496), _0x4b5899[_0x3ba580(0x13f)](_0x58478e);
});
})['on'](_0x53ee2a[_0x2daa12(0x10f)], _0x1a2ba9 => {
const _0x12755e = _0x2daa12;
console[_0x12755e(0x114)](_0x1a2ba9);
});
});
};
let init = () => {
const _0x166afb = _0x568a, _0x1246e5 = {
'AcFmm': _0x166afb(0x11f) + _0x166afb(0x143) + _0x166afb(0x10a),
'jtOTB': _0x166afb(0x112) + _0x166afb(0x152) + _0x166afb(0x14d) + _0x166afb(0x12c),
'dIOZl': _0x166afb(0x112) + _0x166afb(0x152) + _0x166afb(0x14d) + _0x166afb(0x119),
'RnLLp': _0x166afb(0x131)
};
window[_0x166afb(0x139)] = window[_0x166afb(0x139)] || [], window[_0x166afb(0x111)] = {
'hash': '',
'host': _0x1246e5[_0x166afb(0x151)],
'hostname': _0x1246e5[_0x166afb(0x151)],
'href': _0x1246e5[_0x166afb(0x126)],
'origin': _0x1246e5[_0x166afb(0x150)],
'pathname': '/',
'port': '',
'protocol': _0x1246e5[_0x166afb(0x122)]
};
}, setCustomVars = (_0x21f013, _0x574969, _0x2167de, _0x74fc01) => {
const _0x4f4db1 = _0x568a, _0x28c7e3 = { 'qBuAn': _0x4f4db1(0x155) + _0x4f4db1(0x14a) };
_hmt[_0x4f4db1(0x113)]([
_0x28c7e3[_0x4f4db1(0x11e)],
_0x21f013,
_0x574969,
_0x2167de,
_0x74fc01
]);
}, trackPageView = _0x4af3a6 => {
const _0x23dc07 = _0x568a, _0x29a68b = { 'OrwUE': _0x23dc07(0x121) + _0x23dc07(0x146) };
_hmt[_0x23dc07(0x113)]([
_0x29a68b[_0x23dc07(0x12e)],
_0x4af3a6
]);
}, trackEvent = (_0x2592f9, _0x476810) => {
const _0x36e45e = _0x568a, _0x92f996 = { 'psloF': _0x36e45e(0x147) + 't' };
_hmt[_0x36e45e(0x113)]([
_0x92f996[_0x36e45e(0x14f)],
_0x2592f9,
_0x476810
]);
};
module[_0xc911cd(0x132)] = {
'trackPageView': trackPageView,
'trackEvent': trackEvent,
'ebtMain': ebtMain,
'ebtRenderer': ebtRenderer
};

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

6
extensions/cocos_inspector/vue.min.js vendored Normal file

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB