Commit d7c7cb26 authored by huoshizhe's avatar huoshizhe

fix: getdate 失败

parent ae76d17d
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -10,7 +10,7 @@ import { JsonPipe } from '@angular/common';
export class FormComponent implements OnInit, OnChanges, OnDestroy {
// 储存数据用
saveKey = "et_13";
saveKey = "book_read";
// 储存对象
item;
......
{
"ver": "1.1.2",
"uuid": "c35bb2f6-f24a-4850-ae44-643f2fdc7541",
"isBundle": true,
"bundleName": "",
"priority": 1,
"compressionType": {
"android": "default"
},
"optimizeHotUpdate": {
"android": false
},
"inlineSpriteFrames": {
"android": false
},
"isRemoteBundle": {
"android": true
},
"subMetas": {}
}
\ No newline at end of file
{"ver":"1.1.2","uuid":"c35bb2f6-f24a-4850-ae44-643f2fdc7541","isBundle":false,"bundleName":"","priority":1,"compressionType":{"android":"default"},"optimizeHotUpdate":{"android":false},"inlineSpriteFrames":{"android":false},"isRemoteBundle":{"ios":false,"android":false},"subMetas":{}}
\ No newline at end of file
......@@ -3,6 +3,6 @@
"packages": "packages",
"name": "play",
"id": "9af72fd2-44a6-4131-8ea3-3e1b3fa22231",
"version": "2.4.5",
"version": "2.4.4",
"isNew": false
}
\ No newline at end of file
import express from "express";
import os from "os";
import readline from "readline";
import { build } from "./buildCocos.js";
const networkInfo = os.networkInterfaces();
let host = '';
for (const infos of Object.values(networkInfo)) {
for (const info of infos) {
if (info.family == 'IPv4') {
if (info.address.split('.')[0] != "127") {
host = info.address;
}
}
}
}
var app = express();
app.use('/publish', express.static('publish'));
app.get('/', function (req, res) {
res.send('Hello World');
})
let port = '';
var server = app.listen(8081, function () {
port = server.address().port
console.log("测试服务已启动:%s:%s", host, port)
})
const rl = readline.createInterface({
input: process.stdin,
output: process.stdout
})
rl.on('line', async (str) => {
if (str.trim() == 'build') {
await build();
console.log("测试服务已启动:%s:%s", host, port)
console.log('输入 build 构建。')
} else {
console.log("测试服务已启动:%s:%s", host, port)
console.log('输入 build 构建。')
}
})
cd ../form & npm install & npm run publish & cd ../play & CocosCreator.exe --path "./" --build "platform=web-desktop;debug=true" --force & cd ../publish & node build.js
pause
let fs = require('fs');
const compressing = require('compressing');
function fix2(num) {
if (num >= 10) {
return '' + num;
} else {
return '0' + num;
}
}
async function copyDir(src, dst) {
const exists = await fs.existsSync(dst);
if (!exists) {
await fs.mkdirSync(dst);
}
//读取目录
const paths = await fs.readdirSync(src);
for (let i = 0; i < paths.length; i++) {
let path = paths[i];
const newSrc = `${src}/${path}`;
const newDst = `${dst}/${path}`;
const st = await fs.statSync(newSrc);
if (st.isFile()) {
console.log('copy: ' + newDst);
const data = await fs.readFileSync(newSrc);
await fs.writeFileSync(newDst, data);
} else if (st.isDirectory()) {
copyDir(newSrc, newDst);
}
}
}
async function removeDir(src) {
const exists = await fs.existsSync(src);
if (!exists) {
return;
}
//读取目录
const st = await fs.statSync(src);
console.log(st);
const paths = await fs.readdirSync(src);
for (let i = 0; i < paths.length; i++) {
let path = paths[i];
const newSrc = `${src}/${path}`;
const st = await fs.statSync(newSrc);
if (st.isFile()) {
console.log('remove: ' + newSrc);
await fs.unlinkSync(newSrc);
} else if (st.isDirectory()) {
await removeDir(newSrc);
}
}
await fs.rmdirSync(src);
}
async function main() {
let date = new Date();
let fileName = `Release_${date.getFullYear()}${fix2(date.getMonth() + 1)}${fix2(date.getDate())} `;
fileName += `${fix2(date.getHours())}-${fix2(date.getMinutes())}-${fix2(date.getSeconds())}`;
await removeDir('./publish/play');
await removeDir('./publish/form');
await copyDir('../play/build/web-desktop', './publish/play');
const data = await fs.readFileSync('./index.html');
await fs.writeFileSync('./publish/play/index.html', data);
compressing.zip.uncompress('../form/publish/form.zip', './publish/form')
.then(() => {
const tarStream = new compressing.zip.Stream();
tarStream.addEntry('./publish/play');
tarStream.addEntry('./publish/form');
const destStream = fs.createWriteStream(`publish/${fileName}.zip`);
tarStream.pipe(destStream);
console.log('打包完成!');
});
}
main();
\ No newline at end of file
import { build } from "./buildCocos.js";
await build();
\ No newline at end of file
#!/bin/sh
cd publish
set -e
node build_check.js
set +e
cd ../form
npm install
npm run publish
cd ../publish
node build_step_0.js
cd ../play
/Applications/CocosCreator/Creator/2.4.0/CocosCreator.app/Contents/MacOS/CocosCreator --path "./" --build "platform=web-desktop;debug=true" --force
echo "生成 web desktop 完成~!"
cd ../publish
node build_step_1.js
echo "build_step_1 完成~!"
cd ../play
/Applications/CocosCreator/Creator/2.4.4/CocosCreator.app/Contents/MacOS/CocosCreator --path "./" --build "platform=ios;debug=false;md5Cache=true;buildPath=build_ios;encryptJs=true;xxteaKey=6bbfce23-28b4-4a;zipCompressJs=true" --force
echo "生成 ios 完成~!"
cd ../publish
node build_step_2.js
echo "build_step_2 完成~!"
cd ../play
/Applications/CocosCreator/Creator/2.4.4/CocosCreator.app/Contents/MacOS/CocosCreator --path "./" --build "platform=ios;debug=false;md5Cache=true;buildPath=build_android;appABIs=['armeabi-v7a','x86','x86_64','arm64-v8a'];encryptJs=true;xxteaKey=6bbfce23-28b4-4a;zipCompressJs=true" --force
echo "生成 android 完成~!"
cd ../publish
node build_step_3.js
echo "build_step_3 完成~!"
cd ../play
/Applications/CocosCreator/Creator/2.4.4/CocosCreator.app/Contents/MacOS/CocosCreator --path "./" --build "platform=web-desktop;debug=false;buildPath=build_web_desktop" --force
echo "生成 web-desktop 完成~!"
cd ../publish
node build_step_4.js
echo "build_step_4 完成~!"
\ No newline at end of file
import { spawn } from "child_process";
import fs from "fs";
import compressing from 'compressing';
import { v4, parse } from 'uuid';
import { Base64 } from 'js-base64';
import { copyDir, removeDir, fix2 } from "./utils.js";
export async function build() {
const startTime = new Date().getTime();
// 构建前检查
const projectName = build_check();
// 清理旧文件
await removeDir('./publish/play');
await removeDir('./publish/form');
await removeDir('./publish/ios');
await removeDir('./publish/android');
await removeDir('./publish/web_desktop');
// 构建form
await buildForm();
// 替换uuid
replaceUuids();
// 构建play
// 改设置为非bundle
changeSettingToWebDesktop();
// 构建web_desktop
await buildWebDesktop();
await copyDir('../play/build/web-desktop', 'publish/play');
replaceIndexHtml();
console.log('构建 web desktop 成功!');
// 改设置为bundle
changeSettingsToBundle();
await buildAndroidBundle();
await copyDir('../play/build_android/jsb-link/remote', 'publish/android');
console.log('构建 android bundle 成功!');
await buildIosBundle();
await copyDir('../play/build_ios/jsb-link/remote', 'publish/ios');
console.log('构建 ios bundle 成功!');
await buildWebBundle();
await copyDir(`../play/build_web_desktop/web-desktop/assets/${projectName}`, 'publish/web_desktop');
console.log('构建 web bundle 成功!');
// 改设置为非bundle
changeSettingToWebDesktop();
createConfigFile(projectName);
compressAll(projectName);
const endTime = new Date().getTime();
const duration = new Date(endTime - startTime);
console.log(`打包完成!`);
console.log(`用时${duration.getMinutes()}${duration.getSeconds()}秒。`);
}
async function buildForm() {
const paths = fs.readdirSync('../form');
if (!paths.includes('tsconfig.json')) {
await copyDir('../form/src', 'publish/form');
return;
}
if (process.platform == 'win32') {
await execCmd('npm.cmd', ['install'], '../form');
} else {
await execCmd('npm', ['install'], '../form');
}
if (process.platform == 'win32') {
await execCmd('npm.cmd', ['run', 'publish'], '../form');
} else {
await execCmd('npm', ['run', 'publish'], '../form');
}
await compressing.zip.uncompress('../form/publish/form.zip', './publish/form');
}
function execCmd(cmd, params, path) {
return new Promise((resolve, reject) => {
const buffer = spawn(
cmd,
params,
{ cwd: path }
);
buffer.stdout.on('data', (data) => {
console.log(`stdout: ${data}`);
});
buffer.stderr.on('data', (data) => {
console.error(`stderr: ${data}`);
});
buffer.on('close', (code) => {
console.log(`child process exited with code ${code}`);
resolve();
});
});
}
const creatorBasePath = 'C:\\CocosDashboard_1.0.6\\resources\\.editors\\Creator';
export function buildWebDesktop() {
return new Promise((resolve, reject) => {
const buffer = spawn(
`${creatorBasePath}\\2.4.0\\CocosCreator.exe`,
['--path', './', '--build', 'platform=web-desktop;debug=true', '--force'],
{ cwd: '../play' }
);
buffer.stdout.on('data', (data) => {
console.log(`stdout: ${data}`);
});
buffer.stderr.on('data', (data) => {
console.error(`stderr: ${data}`);
});
buffer.on('close', (code) => {
console.log(`child process exited with code ${code}`);
resolve();
});
});
}
export function buildAndroidBundle() {
return new Promise((resolve, reject) => {
const buffer = spawn(
`${creatorBasePath}\\2.4.4\\CocosCreator.exe`,
['--path', './', '--build', "platform=ios;debug=false;md5Cache=true;buildPath=build_android;appABIs=['armeabi-v7a','x86','x86_64','arm64-v8a'];encryptJs=true;xxteaKey=6bbfce23-28b4-4a;zipCompressJs=true", '--force'],
{ cwd: '../play' }
);
buffer.stdout.on('data', (data) => {
console.log(`stdout: ${data}`);
});
buffer.stderr.on('data', (data) => {
console.error(`stderr: ${data}`);
});
buffer.on('close', (code) => {
console.log(`child process exited with code ${code}`);
resolve();
});
});
}
export function buildIosBundle() {
return new Promise((resolve, reject) => {
const buffer = spawn(
`${creatorBasePath}\\2.4.4\\CocosCreator.exe`,
['--path', './', '--build', "platform=ios;debug=false;md5Cache=true;buildPath=build_ios;encryptJs=true;xxteaKey=6bbfce23-28b4-4a;zipCompressJs=true", '--force'],
{ cwd: '../play' }
);
buffer.stdout.on('data', (data) => {
console.log(`stdout: ${data}`);
});
buffer.stderr.on('data', (data) => {
console.error(`stderr: ${data}`);
});
buffer.on('close', (code) => {
console.log(`child process exited with code ${code}`);
resolve();
});
});
}
export function buildWebBundle() {
return new Promise((resolve, reject) => {
const buffer = spawn(
`${creatorBasePath}\\2.4.4\\CocosCreator.exe`,
['--path', './', '--build', "platform=web-desktop;debug=false;buildPath=build_web_desktop", '--force'],
{ cwd: '../play' }
);
buffer.stdout.on('data', (data) => {
console.log(`stdout: ${data}`);
});
buffer.stderr.on('data', (data) => {
console.error(`stderr: ${data}`);
});
buffer.on('close', (code) => {
console.log(`child process exited with code ${code}`);
resolve();
});
});
}
export function createConfigFile(projectName) {
const androidPaths = fs.readdirSync(`publish/android/${projectName}`);
const androidConfigFileName = androidPaths.find(path => path.indexOf('config') == 0);
const androidVersion = androidConfigFileName.split('.')[1];
const iosPaths = fs.readdirSync(`publish/ios/${projectName}`);
const iosConfigFileName = iosPaths.find(path => path.indexOf('config') == 0);
const iosVersion = iosConfigFileName.split('.')[1];
const config = {
"ios": {
"sceneName": projectName,
"version": iosVersion
},
"android": {
"sceneName": projectName,
"version": androidVersion
}
}
fs.writeFileSync('publish/config.json', JSON.stringify(config));
}
export function compressAll(projectName) {
const tarStream = new compressing.zip.Stream();
tarStream.addEntry('./publish/play');
tarStream.addEntry('./publish/form');
tarStream.addEntry('./publish/ios');
tarStream.addEntry('./publish/android');
tarStream.addEntry('./publish/web_desktop');
tarStream.addEntry('./publish/config.json');
const destStream = fs.createWriteStream(`publish/${getReleaseFileName(projectName)}.zip`);
tarStream.pipe(destStream);
}
function getReleaseFileName(projectName) {
let date = new Date();
let fileName = `${projectName}_${date.getFullYear()}${fix2(date.getMonth() + 1)}${fix2(date.getDate())} `;
fileName += `${fix2(date.getHours())}-${fix2(date.getMinutes())}-${fix2(date.getSeconds())}`;
return fileName;
}
export function build_check() {
const dirNames = process.cwd().split(/\/|\\/);
const projectName = dirNames[dirNames.length - 2];
const path = '../play/assets'
let folderName = '';
fs.readdirSync(path).find(fileName => {
const st = fs.statSync(`${path}/${fileName}`);
if (st.isDirectory()) {
folderName = fileName;
}
});
if (projectName != folderName) {
throw (`项目名(${projectName})与bundle文件夹名(${folderName})不相同`);
}
let same = false;
const files = fs.readdirSync(`${path}/${folderName}/scene`);
files.forEach(fileName => {
fileName.split('.').forEach((str, idx, arr) => {
if (str == 'fire') {
const sceneName = arr[idx - 1];
if (folderName == sceneName) {
same = true;
}
}
})
});
if (!same) {
throw (`bundle文件夹名称(${folderName})与scene名称不相同`);
}
return projectName;
}
function getFolderName(path) {
let folderName = '';
fs.readdirSync(path).find(fileName => {
const st = fs.statSync(`${path}/${fileName}`);
if (st.isDirectory()) {
folderName = fileName;
}
});
return folderName;
}
function editFolderMeta(path, folderName, isBundle) {
const metaPath = `${path}/${folderName}.meta`;
const metaDataStr = fs.readFileSync(metaPath);
const metaData = JSON.parse(metaDataStr);
metaData.isBundle = isBundle;
metaData.isRemoteBundle = {
ios: isBundle,
android: isBundle
};
fs.writeFileSync(metaPath, JSON.stringify(metaData));
}
export function changeSettingToWebDesktop() {
const path = '../play/assets'
const folderName = getFolderName(path);
editFolderMeta(path, folderName, false);
}
export function changeSettingsToBundle() {
const path = '../play/assets'
const folderName = getFolderName(path);
editFolderMeta(path, folderName, true);
}
export function replaceUuids() {
console.log('build_step_0 开始~!');
function getFolderName(path) {
let folderName = '';
fs.readdirSync(path).find(fileName => {
const st = fs.statSync(`${path}/${fileName}`);
if (st.isDirectory()) {
folderName = fileName;
}
});
return folderName;
}
function editFolderMeta(path, folderName) {
const metaPath = `${path}/${folderName}.meta`;
const metaDataStr = fs.readFileSync(metaPath);
const metaData = JSON.parse(metaDataStr);
metaData.isBundle = false;
fs.writeFileSync(metaPath, JSON.stringify(metaData));
}
function fileReplace(path, replaceStr, newStr) {
const fileStr = fs.readFileSync(path);
const newFileStr = fileStr.toString().replace(new RegExp(replaceStr.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"), 'g'), newStr);
fs.writeFileSync(path, newFileStr);
}
const path = '../play/assets'
const folderName = getFolderName(path);
editFolderMeta(path, folderName);
const oldFireUuid = '57ea7c61-9b8b-498a-b024-c98ee9124beb';
const newFireUuid = v4();
fileReplace(`../play/assets/${folderName}/scene/${folderName}.fire.meta`, oldFireUuid, newFireUuid);
fileReplace(`../play/assets/${folderName}/scene/${folderName}.fire`, oldFireUuid, newFireUuid);
fileReplace('../play/settings/builder.json', oldFireUuid, newFireUuid);
function getShortUuid(uuid) {
const bytes = parse(uuid).subarray(1);
return uuid.substring(0, 5) + Base64.fromUint8Array(bytes).substring(2);
}
const oldJsUuid = 'f4ede462-f8d7-4069-ba80-915611c058ca';
const oldJsShortUuid = 'f4edeRi+NdAabqAkVYRwFjK';
const oldJsId = 'e687yyoRBIzZAOVRL8Sseh';
const newJsUuid = v4();
const newJsShortUuid = getShortUuid(newJsUuid);
const newJsId = v4().replace(/-/g, '').substring(0, oldJsId.length);
fileReplace(`../play/assets/${folderName}/scene/${folderName}.js.meta`, oldJsUuid, newJsUuid);
fileReplace(`../play/assets/${folderName}/scene/${folderName}.fire`, oldFireUuid, newFireUuid);
fileReplace(`../play/assets/${folderName}/scene/${folderName}.fire`, oldJsShortUuid, newJsShortUuid);
fileReplace(`../play/assets/${folderName}/scene/${folderName}.fire`, oldJsId, newJsId);
console.log('build_step_0 完成~!');
}
export function replaceIndexHtml() {
const data = fs.readFileSync('./index.html');
fs.writeFileSync('./publish/play/index.html', data);
}
let fs = require('fs');
const dirNames = __dirname.split('/');
const projectName = dirNames[dirNames.length - 2];
const path = '../play/assets'
let folderName = '';
fs.readdirSync(path).find(fileName => {
const st = fs.statSync(`${path}/${fileName}`);
if (st.isDirectory()) {
folderName = fileName;
}
});
if (projectName != folderName) {
throw (`项目名(${projectName})与bundle文件夹名(${folderName})不相同`);
}
let same = false;
const files = fs.readdirSync(`${path}/${folderName}/scene`);
files.forEach(fileName => {
fileName.split('.').forEach((str, idx, arr) => {
if (str == 'fire') {
const sceneName = arr[idx - 1];
if (folderName == sceneName) {
same = true;
}
}
})
});
if (!same) {
throw (`bundle文件夹名称(${folderName})与scene名称不相同`);
}
\ No newline at end of file
let fs = require('fs');
const path = '../play/assets'
let folderName = '';
fs.readdirSync(path).find(fileName => {
const st = fs.statSync(`${path}/${fileName}`);
if (st.isDirectory()) {
folderName = fileName;
}
});
const metaPath = `${path}/${folderName}.meta`;
const metaDataStr = fs.readFileSync(metaPath);
const metaData = JSON.parse(metaDataStr);
metaData.isBundle = false;
fs.writeFileSync(metaPath, JSON.stringify(metaData));
const { removeDir, copyDir, fix2 } = require('./utils');
const compressing = require('compressing');
let fs = require('fs');
async function main() {
await removeDir('./publish/play');
await removeDir('./publish/form');
await copyDir('../play/build/web-desktop', './publish/play');
compressing.zip.uncompress('../form/publish/form.zip', './publish/form');
const data = await fs.readFileSync('./index.html');
await fs.writeFileSync('./publish/play/index.html', data);
await removeDir('../play/build/web-desktop');
const path = '../play/assets'
let folderName = '';
fs.readdirSync(path).find(fileName => {
const st = fs.statSync(`${path}/${fileName}`);
if (st.isDirectory()) {
folderName = fileName;
}
});
const metaPath = `${path}/${folderName}.meta`;
const metaDataStr = fs.readFileSync(metaPath);
const metaData = JSON.parse(metaDataStr);
metaData.isBundle = true;
metaData.isRemoteBundle = {
ios: true,
android: true
};
fs.writeFileSync(metaPath, JSON.stringify(metaData));
}
main();
\ No newline at end of file
const { removeDir, copyDir, fix2 } = require('./utils');
const compressing = require('compressing');
async function main() {
await removeDir('./publish/ios');
await copyDir('../play/build_ios/jsb-link/remote', './publish/ios');
await removeDir('../play/build_ios/jsb-link');
}
main();
\ No newline at end of file
const { removeDir, copyDir, fix2 } = require('./utils');
const compressing = require('compressing');
let fs = require('fs');
async function main() {
await removeDir('./publish/android');
await copyDir('../play/build_android/jsb-link/remote', './publish/android');
await removeDir('../play/build_android/jsb-link');
}
main();
\ No newline at end of file
const { removeDir, copyDir, fix2 } = require('./utils');
const compressing = require('compressing');
let fs = require('fs');
async function main() {
await removeDir('./publish/web_desktop');
const projectName = await getBundleName('../play/build_web_desktop/web-desktop/assets');
await copyDir(`../play/build_web_desktop/web-desktop/assets/${projectName}`, './publish/web_desktop');
await removeDir('../play/build_web_desktop');
const bundleData = {
ios: await getBundleData('./publish/ios'),
android: await getBundleData('./publish/android'),
}
fs.writeFileSync('./publish/config.json', JSON.stringify(bundleData));
const tarStream = new compressing.zip.Stream();
tarStream.addEntry('./publish/play');
tarStream.addEntry('./publish/form');
tarStream.addEntry('./publish/ios');
tarStream.addEntry('./publish/android');
tarStream.addEntry('./publish/web_desktop');
tarStream.addEntry('./publish/config.json');
const destStream = fs.createWriteStream(`publish/${getReleaseFileName()}.zip`);
tarStream.pipe(destStream);
console.log('打包完成!');
}
async function getBundleName(path) {
const paths = fs.readdirSync(path);
return paths.find(path => path != 'internal' && path !='main');
}
async function getBundleData(path) {
const bundleData = {
sceneName: '',
version: '',
}
const paths = fs.readdirSync(path);
bundleData.sceneName = paths[0];
const files = fs.readdirSync(path + '/' + bundleData.sceneName);
files.forEach(fileName => {
fileName.split('.').forEach((str, idx, arr) => {
if (str == 'config') {
bundleData.version = arr[idx + 1];
}
})
});
return bundleData;
}
function getReleaseFileName() {
let date = new Date();
let fileName = `Release_${date.getFullYear()}${fix2(date.getMonth() + 1)}${fix2(date.getDate())} `;
fileName += `${fix2(date.getHours())}-${fix2(date.getMinutes())}-${fix2(date.getSeconds())}`;
return fileName;
}
main();
\ No newline at end of file
{
"name": "publish",
"version": "1.0.0",
"lockfileVersion": 1,
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "publish",
"version": "1.0.0",
"license": "ISC",
"dependencies": {
"child_process": "^1.0.2",
"compressing": "^1.5.1",
"express": "^4.17.1",
"js-base64": "^3.7.2",
"uuid": "^8.3.2"
}
},
"node_modules/accepts": {
"version": "1.3.7",
"resolved": "https://registry.nlark.com/accepts/download/accepts-1.3.7.tgz",
"integrity": "sha1-UxvHJlF6OytB+FACHGzBXqq1B80=",
"dependencies": {
"mime-types": "~2.1.24",
"negotiator": "0.6.2"
},
"engines": {
"node": ">= 0.6"
}
},
"node_modules/array-flatten": {
"version": "1.1.1",
"resolved": "https://registry.nlark.com/array-flatten/download/array-flatten-1.1.1.tgz",
"integrity": "sha1-ml9pkFGx5wczKPKgCJaLZOopVdI="
},
"node_modules/bl": {
"version": "1.2.3",
"resolved": "https://registry.npmjs.org/bl/-/bl-1.2.3.tgz",
"integrity": "sha512-pvcNpa0UU69UT341rO6AYy4FVAIkUHuZXRIWbq+zHnsVcRzDDjIAhGuuYoi0d//cwIwtt4pkpKycWEfjdV+vww==",
"dependencies": {
"readable-stream": "^2.3.5",
"safe-buffer": "^5.1.1"
}
},
"node_modules/body-parser": {
"version": "1.19.0",
"resolved": "https://registry.npm.taobao.org/body-parser/download/body-parser-1.19.0.tgz?cache=0&sync_timestamp=1615817950402&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fbody-parser%2Fdownload%2Fbody-parser-1.19.0.tgz",
"integrity": "sha1-lrJwnlfJxOCab9Zqj9l5hE9p8Io=",
"dependencies": {
"bytes": "3.1.0",
"content-type": "~1.0.4",
"debug": "2.6.9",
"depd": "~1.1.2",
"http-errors": "1.7.2",
"iconv-lite": "0.4.24",
"on-finished": "~2.3.0",
"qs": "6.7.0",
"raw-body": "2.4.0",
"type-is": "~1.6.17"
},
"engines": {
"node": ">= 0.8"
}
},
"node_modules/body-parser/node_modules/iconv-lite": {
"version": "0.4.24",
"resolved": "https://registry.nlark.com/iconv-lite/download/iconv-lite-0.4.24.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.nlark.com%2Ficonv-lite%2Fdownload%2Ficonv-lite-0.4.24.tgz",
"integrity": "sha1-ICK0sl+93CHS9SSXSkdKr+czkIs=",
"dependencies": {
"safer-buffer": ">= 2.1.2 < 3"
},
"engines": {
"node": ">=0.10.0"
}
},
"node_modules/buffer-alloc": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/buffer-alloc/-/buffer-alloc-1.2.0.tgz",
"integrity": "sha512-CFsHQgjtW1UChdXgbyJGtnm+O/uLQeZdtbDo8mfUgYXCHSM1wgrVxXm6bSyrUuErEb+4sYVGCzASBRot7zyrow==",
"dependencies": {
"buffer-alloc-unsafe": "^1.1.0",
"buffer-fill": "^1.0.0"
}
},
"node_modules/buffer-alloc-unsafe": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/buffer-alloc-unsafe/-/buffer-alloc-unsafe-1.1.0.tgz",
"integrity": "sha512-TEM2iMIEQdJ2yjPJoSIsldnleVaAk1oW3DBVUykyOLsEsFmEc9kn+SFFPz+gl54KQNxlDnAwCXosOS9Okx2xAg=="
},
"node_modules/buffer-crc32": {
"version": "0.2.13",
"resolved": "https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.13.tgz",
"integrity": "sha1-DTM+PwDqxQqhRUq9MO+MKl2ackI=",
"engines": {
"node": "*"
}
},
"node_modules/buffer-fill": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/buffer-fill/-/buffer-fill-1.0.0.tgz",
"integrity": "sha1-+PeLdniYiO858gXNY39o5wISKyw="
},
"node_modules/bytes": {
"version": "3.1.0",
"resolved": "https://registry.npm.taobao.org/bytes/download/bytes-3.1.0.tgz",
"integrity": "sha1-9s95M6Ng4FiPqf3oVlHNx/gF0fY=",
"engines": {
"node": ">= 0.8"
}
},
"node_modules/child_process": {
"version": "1.0.2",
"resolved": "https://registry.npm.taobao.org/child_process/download/child_process-1.0.2.tgz",
"integrity": "sha1-sffn/HPSXn/R1FWtyU4UODAYK1o="
},
"node_modules/compressing": {
"version": "1.5.1",
"resolved": "https://registry.npmjs.org/compressing/-/compressing-1.5.1.tgz",
"integrity": "sha512-1AGBR4Vh0/rpPKSXHoV9cerLo0CUlAhZ/xsJqU3a9+2cbSaFjWT3fk2MIGkCnbpk//DGWrcWw03rhKFQrA9RQw==",
"dependencies": {
"flushwritable": "^1.0.0",
"get-ready": "^1.0.0",
"iconv-lite": "^0.5.0",
"mkdirp": "^0.5.1",
"pump": "^3.0.0",
"streamifier": "^0.1.1",
"tar-stream": "^1.5.2",
"yauzl": "^2.7.0",
"yazl": "^2.4.2"
},
"engines": {
"node": ">= 4.0.0"
}
},
"node_modules/content-disposition": {
"version": "0.5.3",
"resolved": "https://registry.npm.taobao.org/content-disposition/download/content-disposition-0.5.3.tgz",
"integrity": "sha1-4TDK9+cnkIfFYWwgB9BIVpiYT70=",
"dependencies": {
"safe-buffer": "5.1.2"
},
"engines": {
"node": ">= 0.6"
}
},
"node_modules/content-disposition/node_modules/safe-buffer": {
"version": "5.1.2",
"resolved": "https://registry.npm.taobao.org/safe-buffer/download/safe-buffer-5.1.2.tgz",
"integrity": "sha1-mR7GnSluAxN0fVm9/St0XDX4go0="
},
"node_modules/content-type": {
"version": "1.0.4",
"resolved": "https://registry.npm.taobao.org/content-type/download/content-type-1.0.4.tgz",
"integrity": "sha1-4TjMdeBAxyexlm/l5fjJruJW/js=",
"engines": {
"node": ">= 0.6"
}
},
"node_modules/cookie": {
"version": "0.4.0",
"resolved": "https://registry.npm.taobao.org/cookie/download/cookie-0.4.0.tgz",
"integrity": "sha1-vrQ35wIrO21JAZ0IhmUwPr6cFLo=",
"engines": {
"node": ">= 0.6"
}
},
"node_modules/cookie-signature": {
"version": "1.0.6",
"resolved": "https://registry.nlark.com/cookie-signature/download/cookie-signature-1.0.6.tgz",
"integrity": "sha1-4wOogrNCzD7oylE6eZmXNNqzriw="
},
"node_modules/core-util-is": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz",
"integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac="
},
"node_modules/debug": {
"version": "2.6.9",
"resolved": "https://registry.npmmirror.com/debug/download/debug-2.6.9.tgz",
"integrity": "sha1-XRKFFd8TT/Mn6QpMk/Tgd6U2NB8=",
"dependencies": {
"ms": "2.0.0"
}
},
"node_modules/depd": {
"version": "1.1.2",
"resolved": "https://registry.npm.taobao.org/depd/download/depd-1.1.2.tgz",
"integrity": "sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak=",
"engines": {
"node": ">= 0.6"
}
},
"node_modules/destroy": {
"version": "1.0.4",
"resolved": "https://registry.npm.taobao.org/destroy/download/destroy-1.0.4.tgz",
"integrity": "sha1-l4hXRCxEdJ5CBmE+N5RiBYJqvYA="
},
"node_modules/ee-first": {
"version": "1.1.1",
"resolved": "https://registry.npm.taobao.org/ee-first/download/ee-first-1.1.1.tgz",
"integrity": "sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0="
},
"node_modules/encodeurl": {
"version": "1.0.2",
"resolved": "https://registry.npm.taobao.org/encodeurl/download/encodeurl-1.0.2.tgz",
"integrity": "sha1-rT/0yG7C0CkyL1oCw6mmBslbP1k=",
"engines": {
"node": ">= 0.8"
}
},
"node_modules/end-of-stream": {
"version": "1.4.4",
"resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz",
"integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==",
"dependencies": {
"once": "^1.4.0"
}
},
"node_modules/escape-html": {
"version": "1.0.3",
"resolved": "https://registry.npm.taobao.org/escape-html/download/escape-html-1.0.3.tgz",
"integrity": "sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg="
},
"node_modules/etag": {
"version": "1.8.1",
"resolved": "https://registry.nlark.com/etag/download/etag-1.8.1.tgz?cache=0&sync_timestamp=1618847044821&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fetag%2Fdownload%2Fetag-1.8.1.tgz",
"integrity": "sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc=",
"engines": {
"node": ">= 0.6"
}
},
"node_modules/express": {
"version": "4.17.1",
"resolved": "https://registry.npm.taobao.org/express/download/express-4.17.1.tgz",
"integrity": "sha1-RJH8OGBc9R+GKdOcK10Cb5ikwTQ=",
"dependencies": {
"accepts": "~1.3.7",
"array-flatten": "1.1.1",
"body-parser": "1.19.0",
"content-disposition": "0.5.3",
"content-type": "~1.0.4",
"cookie": "0.4.0",
"cookie-signature": "1.0.6",
"debug": "2.6.9",
"depd": "~1.1.2",
"encodeurl": "~1.0.2",
"escape-html": "~1.0.3",
"etag": "~1.8.1",
"finalhandler": "~1.1.2",
"fresh": "0.5.2",
"merge-descriptors": "1.0.1",
"methods": "~1.1.2",
"on-finished": "~2.3.0",
"parseurl": "~1.3.3",
"path-to-regexp": "0.1.7",
"proxy-addr": "~2.0.5",
"qs": "6.7.0",
"range-parser": "~1.2.1",
"safe-buffer": "5.1.2",
"send": "0.17.1",
"serve-static": "1.14.1",
"setprototypeof": "1.1.1",
"statuses": "~1.5.0",
"type-is": "~1.6.18",
"utils-merge": "1.0.1",
"vary": "~1.1.2"
},
"engines": {
"node": ">= 0.10.0"
}
},
"node_modules/express/node_modules/safe-buffer": {
"version": "5.1.2",
"resolved": "https://registry.npm.taobao.org/safe-buffer/download/safe-buffer-5.1.2.tgz",
"integrity": "sha1-mR7GnSluAxN0fVm9/St0XDX4go0="
},
"node_modules/fd-slicer": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/fd-slicer/-/fd-slicer-1.1.0.tgz",
"integrity": "sha1-JcfInLH5B3+IkbvmHY85Dq4lbx4=",
"dependencies": {
"pend": "~1.2.0"
}
},
"node_modules/finalhandler": {
"version": "1.1.2",
"resolved": "https://registry.npm.taobao.org/finalhandler/download/finalhandler-1.1.2.tgz",
"integrity": "sha1-t+fQAP/RGTjQ/bBTUG9uur6fWH0=",
"dependencies": {
"debug": "2.6.9",
"encodeurl": "~1.0.2",
"escape-html": "~1.0.3",
"on-finished": "~2.3.0",
"parseurl": "~1.3.3",
"statuses": "~1.5.0",
"unpipe": "~1.0.0"
},
"engines": {
"node": ">= 0.8"
}
},
"node_modules/flushwritable": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/flushwritable/-/flushwritable-1.0.0.tgz",
"integrity": "sha1-PjKNj95BKtR+c44751C00pAENJg="
},
"node_modules/forwarded": {
"version": "0.2.0",
"resolved": "https://registry.nlark.com/forwarded/download/forwarded-0.2.0.tgz?cache=0&sync_timestamp=1622503499867&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fforwarded%2Fdownload%2Fforwarded-0.2.0.tgz",
"integrity": "sha1-ImmTZCiq1MFcfr6XeahL8LKoGBE=",
"engines": {
"node": ">= 0.6"
}
},
"node_modules/fresh": {
"version": "0.5.2",
"resolved": "https://registry.nlark.com/fresh/download/fresh-0.5.2.tgz",
"integrity": "sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac=",
"engines": {
"node": ">= 0.6"
}
},
"node_modules/fs-constants": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/fs-constants/-/fs-constants-1.0.0.tgz",
"integrity": "sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow=="
},
"node_modules/get-ready": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/get-ready/-/get-ready-1.0.0.tgz",
"integrity": "sha1-+RgX8emt7P6hOlYq38jeiDqzR4I="
},
"node_modules/http-errors": {
"version": "1.7.2",
"resolved": "https://registry.npmmirror.com/http-errors/download/http-errors-1.7.2.tgz?cache=0&sync_timestamp=1636932182141&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Fhttp-errors%2Fdownload%2Fhttp-errors-1.7.2.tgz",
"integrity": "sha1-T1ApzxMjnzEDblsuVSkrz7zIXI8=",
"dependencies": {
"depd": "~1.1.2",
"inherits": "2.0.3",
"setprototypeof": "1.1.1",
"statuses": ">= 1.5.0 < 2",
"toidentifier": "1.0.0"
},
"engines": {
"node": ">= 0.6"
}
},
"node_modules/http-errors/node_modules/inherits": {
"version": "2.0.3",
"resolved": "https://registry.nlark.com/inherits/download/inherits-2.0.3.tgz",
"integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4="
},
"node_modules/iconv-lite": {
"version": "0.5.2",
"resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.5.2.tgz",
"integrity": "sha512-kERHXvpSaB4aU3eANwidg79K8FlrN77m8G9V+0vOR3HYaRifrlwMEpT7ZBJqLSEIHnEgJTHcWK82wwLwwKwtag==",
"dependencies": {
"safer-buffer": ">= 2.1.2 < 3"
},
"engines": {
"node": ">=0.10.0"
}
},
"node_modules/inherits": {
"version": "2.0.4",
"resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
"integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="
},
"node_modules/ipaddr.js": {
"version": "1.9.1",
"resolved": "https://registry.nlark.com/ipaddr.js/download/ipaddr.js-1.9.1.tgz",
"integrity": "sha1-v/OFQ+64mEglB5/zoqjmy9RngbM=",
"engines": {
"node": ">= 0.10"
}
},
"node_modules/isarray": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz",
"integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE="
},
"node_modules/js-base64": {
"version": "3.7.2",
"resolved": "https://registry.npmmirror.com/js-base64/download/js-base64-3.7.2.tgz",
"integrity": "sha1-gW0R2BqK/yQWA9Gc5XYeE+Qdd0U="
},
"node_modules/media-typer": {
"version": "0.3.0",
"resolved": "https://registry.nlark.com/media-typer/download/media-typer-0.3.0.tgz",
"integrity": "sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g=",
"engines": {
"node": ">= 0.6"
}
},
"node_modules/merge-descriptors": {
"version": "1.0.1",
"resolved": "https://registry.nlark.com/merge-descriptors/download/merge-descriptors-1.0.1.tgz",
"integrity": "sha1-sAqqVW3YtEVoFQ7J0blT8/kMu2E="
},
"node_modules/methods": {
"version": "1.1.2",
"resolved": "https://registry.npm.taobao.org/methods/download/methods-1.1.2.tgz",
"integrity": "sha1-VSmk1nZUE07cxSZmVoNbD4Ua/O4=",
"engines": {
"node": ">= 0.6"
}
},
"node_modules/mime": {
"version": "1.6.0",
"resolved": "https://registry.npmmirror.com/mime/download/mime-1.6.0.tgz",
"integrity": "sha1-Ms2eXGRVO9WNGaVor0Uqz/BJgbE=",
"bin": {
"mime": "cli.js"
},
"engines": {
"node": ">=4"
}
},
"node_modules/mime-db": {
"version": "1.51.0",
"resolved": "https://registry.npmmirror.com/mime-db/download/mime-db-1.51.0.tgz?cache=0&sync_timestamp=1636425960296&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Fmime-db%2Fdownload%2Fmime-db-1.51.0.tgz",
"integrity": "sha512-5y8A56jg7XVQx2mbv1lu49NR4dokRnhZYTtL+KGfaa27uq4pSTXkwQkFJl4pkRMyNFz/EtYDSkiiEHx3F7UN6g==",
"engines": {
"node": ">= 0.6"
}
},
"node_modules/mime-types": {
"version": "2.1.34",
"resolved": "https://registry.npmmirror.com/mime-types/download/mime-types-2.1.34.tgz?cache=0&sync_timestamp=1636432302620&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Fmime-types%2Fdownload%2Fmime-types-2.1.34.tgz",
"integrity": "sha512-6cP692WwGIs9XXdOO4++N+7qjqv0rqxxVvJ3VHPh/Sc9mVZcQP+ZGhkKiTvWMQRr2tbHkJP/Yn7Y0npb3ZBs4A==",
"dependencies": {
"mime-db": "1.51.0"
},
"engines": {
"node": ">= 0.6"
}
},
"node_modules/minimist": {
"version": "1.2.5",
"resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz",
"integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw=="
},
"node_modules/mkdirp": {
"version": "0.5.5",
"resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.5.tgz",
"integrity": "sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ==",
"dependencies": {
"minimist": "^1.2.5"
},
"bin": {
"mkdirp": "bin/cmd.js"
}
},
"node_modules/ms": {
"version": "2.0.0",
"resolved": "https://registry.npmmirror.com/ms/download/ms-2.0.0.tgz",
"integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g="
},
"node_modules/negotiator": {
"version": "0.6.2",
"resolved": "https://registry.npm.taobao.org/negotiator/download/negotiator-0.6.2.tgz",
"integrity": "sha1-/qz3zPUlp3rpY0Q2pkiD/+yjRvs=",
"engines": {
"node": ">= 0.6"
}
},
"node_modules/on-finished": {
"version": "2.3.0",
"resolved": "https://registry.npm.taobao.org/on-finished/download/on-finished-2.3.0.tgz?cache=0&sync_timestamp=1614930634590&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fon-finished%2Fdownload%2Fon-finished-2.3.0.tgz",
"integrity": "sha1-IPEzZIGwg811M3mSoWlxqi2QaUc=",
"dependencies": {
"ee-first": "1.1.1"
},
"engines": {
"node": ">= 0.8"
}
},
"node_modules/once": {
"version": "1.4.0",
"resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
"integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=",
"dependencies": {
"wrappy": "1"
}
},
"node_modules/parseurl": {
"version": "1.3.3",
"resolved": "https://registry.npm.taobao.org/parseurl/download/parseurl-1.3.3.tgz",
"integrity": "sha1-naGee+6NEt/wUT7Vt2lXeTvC6NQ=",
"engines": {
"node": ">= 0.8"
}
},
"node_modules/path-to-regexp": {
"version": "0.1.7",
"resolved": "https://registry.npm.taobao.org/path-to-regexp/download/path-to-regexp-0.1.7.tgz",
"integrity": "sha1-32BBeABfUi8V60SQ5yR6G/qmf4w="
},
"node_modules/pend": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/pend/-/pend-1.2.0.tgz",
"integrity": "sha1-elfrVQpng/kRUzH89GY9XI4AelA="
},
"node_modules/process-nextick-args": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz",
"integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag=="
},
"node_modules/proxy-addr": {
"version": "2.0.7",
"resolved": "https://registry.nlark.com/proxy-addr/download/proxy-addr-2.0.7.tgz",
"integrity": "sha1-8Z/mnOqzEe65S0LnDowgcPm6ECU=",
"dependencies": {
"forwarded": "0.2.0",
"ipaddr.js": "1.9.1"
},
"engines": {
"node": ">= 0.10"
}
},
"node_modules/pump": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz",
"integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==",
"dependencies": {
"end-of-stream": "^1.1.0",
"once": "^1.3.1"
}
},
"node_modules/qs": {
"version": "6.7.0",
"resolved": "https://registry.npm.taobao.org/qs/download/qs-6.7.0.tgz",
"integrity": "sha1-QdwaAV49WB8WIXdr4xr7KHapsbw=",
"engines": {
"node": ">=0.6"
}
},
"node_modules/range-parser": {
"version": "1.2.1",
"resolved": "https://registry.nlark.com/range-parser/download/range-parser-1.2.1.tgz",
"integrity": "sha1-PPNwI9GZ4cJNGlW4SADC8+ZGgDE=",
"engines": {
"node": ">= 0.6"
}
},
"node_modules/raw-body": {
"version": "2.4.0",
"resolved": "https://registry.nlark.com/raw-body/download/raw-body-2.4.0.tgz",
"integrity": "sha1-oc5vucm8NWylLoklarWQWeE9AzI=",
"dependencies": {
"bytes": "3.1.0",
"http-errors": "1.7.2",
"iconv-lite": "0.4.24",
"unpipe": "1.0.0"
},
"engines": {
"node": ">= 0.8"
}
},
"node_modules/raw-body/node_modules/iconv-lite": {
"version": "0.4.24",
"resolved": "https://registry.nlark.com/iconv-lite/download/iconv-lite-0.4.24.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.nlark.com%2Ficonv-lite%2Fdownload%2Ficonv-lite-0.4.24.tgz",
"integrity": "sha1-ICK0sl+93CHS9SSXSkdKr+czkIs=",
"dependencies": {
"safer-buffer": ">= 2.1.2 < 3"
},
"engines": {
"node": ">=0.10.0"
}
},
"node_modules/readable-stream": {
"version": "2.3.7",
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz",
"integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==",
"dependencies": {
"core-util-is": "~1.0.0",
"inherits": "~2.0.3",
"isarray": "~1.0.0",
"process-nextick-args": "~2.0.0",
"safe-buffer": "~5.1.1",
"string_decoder": "~1.1.1",
"util-deprecate": "~1.0.1"
}
},
"node_modules/readable-stream/node_modules/safe-buffer": {
"version": "5.1.2",
"resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
"integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="
},
"node_modules/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=="
},
"node_modules/safer-buffer": {
"version": "2.1.2",
"resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz",
"integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg=="
},
"node_modules/send": {
"version": "0.17.1",
"resolved": "https://registry.npm.taobao.org/send/download/send-0.17.1.tgz",
"integrity": "sha1-wdiwWfeQD3Rm3Uk4vcROEd2zdsg=",
"dependencies": {
"debug": "2.6.9",
"depd": "~1.1.2",
"destroy": "~1.0.4",
"encodeurl": "~1.0.2",
"escape-html": "~1.0.3",
"etag": "~1.8.1",
"fresh": "0.5.2",
"http-errors": "~1.7.2",
"mime": "1.6.0",
"ms": "2.1.1",
"on-finished": "~2.3.0",
"range-parser": "~1.2.1",
"statuses": "~1.5.0"
},
"engines": {
"node": ">= 0.8.0"
}
},
"node_modules/send/node_modules/ms": {
"version": "2.1.1",
"resolved": "https://registry.npmmirror.com/ms/download/ms-2.1.1.tgz",
"integrity": "sha1-MKWGTrPrsKZvLr5tcnrwagnYbgo="
},
"node_modules/serve-static": {
"version": "1.14.1",
"resolved": "https://registry.npm.taobao.org/serve-static/download/serve-static-1.14.1.tgz",
"integrity": "sha1-Zm5jbcTwEPfvKZcKiKZ0MgiYsvk=",
"dependencies": {
"encodeurl": "~1.0.2",
"escape-html": "~1.0.3",
"parseurl": "~1.3.3",
"send": "0.17.1"
},
"engines": {
"node": ">= 0.8.0"
}
},
"node_modules/setprototypeof": {
"version": "1.1.1",
"resolved": "https://registry.npm.taobao.org/setprototypeof/download/setprototypeof-1.1.1.tgz",
"integrity": "sha1-fpWsskqpL1iF4KvvW6ExMw1K5oM="
},
"node_modules/statuses": {
"version": "1.5.0",
"resolved": "https://registry.npm.taobao.org/statuses/download/statuses-1.5.0.tgz?cache=0&sync_timestamp=1609654066899&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fstatuses%2Fdownload%2Fstatuses-1.5.0.tgz",
"integrity": "sha1-Fhx9rBd2Wf2YEfQ3cfqZOBR4Yow=",
"engines": {
"node": ">= 0.6"
}
},
"node_modules/streamifier": {
"version": "0.1.1",
"resolved": "https://registry.npmjs.org/streamifier/-/streamifier-0.1.1.tgz",
"integrity": "sha1-l+mNj6TRBdYqJpHR3AfoINuN/E8=",
"engines": {
"node": ">=0.10"
}
},
"node_modules/string_decoder": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz",
"integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==",
"dependencies": {
"safe-buffer": "~5.1.0"
}
},
"node_modules/string_decoder/node_modules/safe-buffer": {
"version": "5.1.2",
"resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
"integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="
},
"node_modules/tar-stream": {
"version": "1.6.2",
"resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-1.6.2.tgz",
"integrity": "sha512-rzS0heiNf8Xn7/mpdSVVSMAWAoy9bfb1WOTYC78Z0UQKeKa/CWS8FOq0lKGNa8DWKAn9gxjCvMLYc5PGXYlK2A==",
"dependencies": {
"bl": "^1.0.0",
"buffer-alloc": "^1.2.0",
"end-of-stream": "^1.0.0",
"fs-constants": "^1.0.0",
"readable-stream": "^2.3.0",
"to-buffer": "^1.1.1",
"xtend": "^4.0.0"
},
"engines": {
"node": ">= 0.8.0"
}
},
"node_modules/to-buffer": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/to-buffer/-/to-buffer-1.1.1.tgz",
"integrity": "sha512-lx9B5iv7msuFYE3dytT+KE5tap+rNYw+K4jVkb9R/asAb+pbBSM17jtunHplhBe6RRJdZx3Pn2Jph24O32mOVg=="
},
"node_modules/toidentifier": {
"version": "1.0.0",
"resolved": "https://registry.npmmirror.com/toidentifier/download/toidentifier-1.0.0.tgz?cache=0&sync_timestamp=1636938521998&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Ftoidentifier%2Fdownload%2Ftoidentifier-1.0.0.tgz",
"integrity": "sha1-fhvjRw8ed5SLxD2Uo8j013UrpVM=",
"engines": {
"node": ">=0.6"
}
},
"node_modules/type-is": {
"version": "1.6.18",
"resolved": "https://registry.npm.taobao.org/type-is/download/type-is-1.6.18.tgz",
"integrity": "sha1-TlUs0F3wlGfcvE73Od6J8s83wTE=",
"dependencies": {
"media-typer": "0.3.0",
"mime-types": "~2.1.24"
},
"engines": {
"node": ">= 0.6"
}
},
"node_modules/unpipe": {
"version": "1.0.0",
"resolved": "https://registry.npm.taobao.org/unpipe/download/unpipe-1.0.0.tgz",
"integrity": "sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw=",
"engines": {
"node": ">= 0.8"
}
},
"node_modules/util-deprecate": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",
"integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8="
},
"node_modules/utils-merge": {
"version": "1.0.1",
"resolved": "https://registry.npm.taobao.org/utils-merge/download/utils-merge-1.0.1.tgz",
"integrity": "sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM=",
"engines": {
"node": ">= 0.4.0"
}
},
"node_modules/uuid": {
"version": "8.3.2",
"resolved": "https://registry.npmmirror.com/uuid/download/uuid-8.3.2.tgz",
"integrity": "sha1-gNW1ztJxu5r2xEXyGhoExgbO++I=",
"bin": {
"uuid": "dist/bin/uuid"
}
},
"node_modules/vary": {
"version": "1.1.2",
"resolved": "https://registry.npm.taobao.org/vary/download/vary-1.1.2.tgz",
"integrity": "sha1-IpnwLG3tMNSllhsLn3RSShj2NPw=",
"engines": {
"node": ">= 0.8"
}
},
"node_modules/wrappy": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
"integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8="
},
"node_modules/xtend": {
"version": "4.0.2",
"resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz",
"integrity": "sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==",
"engines": {
"node": ">=0.4"
}
},
"node_modules/yauzl": {
"version": "2.10.0",
"resolved": "https://registry.npmjs.org/yauzl/-/yauzl-2.10.0.tgz",
"integrity": "sha1-x+sXyT4RLLEIb6bY5R+wZnt5pfk=",
"dependencies": {
"buffer-crc32": "~0.2.3",
"fd-slicer": "~1.1.0"
}
},
"node_modules/yazl": {
"version": "2.5.1",
"resolved": "https://registry.npmjs.org/yazl/-/yazl-2.5.1.tgz",
"integrity": "sha512-phENi2PLiHnHb6QBVot+dJnaAZ0xosj7p3fWl+znIjBDlnMI2PsZCJZ306BPTFOaHf5qdDEI8x5qFrSOBN5vrw==",
"dependencies": {
"buffer-crc32": "~0.2.3"
}
}
},
"dependencies": {
"accepts": {
"version": "1.3.7",
"resolved": "https://registry.nlark.com/accepts/download/accepts-1.3.7.tgz",
"integrity": "sha1-UxvHJlF6OytB+FACHGzBXqq1B80=",
"requires": {
"mime-types": "~2.1.24",
"negotiator": "0.6.2"
}
},
"array-flatten": {
"version": "1.1.1",
"resolved": "https://registry.nlark.com/array-flatten/download/array-flatten-1.1.1.tgz",
"integrity": "sha1-ml9pkFGx5wczKPKgCJaLZOopVdI="
},
"bl": {
"version": "1.2.3",
"resolved": "https://registry.npmjs.org/bl/-/bl-1.2.3.tgz",
......@@ -13,6 +807,33 @@
"safe-buffer": "^5.1.1"
}
},
"body-parser": {
"version": "1.19.0",
"resolved": "https://registry.npm.taobao.org/body-parser/download/body-parser-1.19.0.tgz?cache=0&sync_timestamp=1615817950402&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fbody-parser%2Fdownload%2Fbody-parser-1.19.0.tgz",
"integrity": "sha1-lrJwnlfJxOCab9Zqj9l5hE9p8Io=",
"requires": {
"bytes": "3.1.0",
"content-type": "~1.0.4",
"debug": "2.6.9",
"depd": "~1.1.2",
"http-errors": "1.7.2",
"iconv-lite": "0.4.24",
"on-finished": "~2.3.0",
"qs": "6.7.0",
"raw-body": "2.4.0",
"type-is": "~1.6.17"
},
"dependencies": {
"iconv-lite": {
"version": "0.4.24",
"resolved": "https://registry.nlark.com/iconv-lite/download/iconv-lite-0.4.24.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.nlark.com%2Ficonv-lite%2Fdownload%2Ficonv-lite-0.4.24.tgz",
"integrity": "sha1-ICK0sl+93CHS9SSXSkdKr+czkIs=",
"requires": {
"safer-buffer": ">= 2.1.2 < 3"
}
}
}
},
"buffer-alloc": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/buffer-alloc/-/buffer-alloc-1.2.0.tgz",
......@@ -37,6 +858,16 @@
"resolved": "https://registry.npmjs.org/buffer-fill/-/buffer-fill-1.0.0.tgz",
"integrity": "sha1-+PeLdniYiO858gXNY39o5wISKyw="
},
"bytes": {
"version": "3.1.0",
"resolved": "https://registry.npm.taobao.org/bytes/download/bytes-3.1.0.tgz",
"integrity": "sha1-9s95M6Ng4FiPqf3oVlHNx/gF0fY="
},
"child_process": {
"version": "1.0.2",
"resolved": "https://registry.npm.taobao.org/child_process/download/child_process-1.0.2.tgz",
"integrity": "sha1-sffn/HPSXn/R1FWtyU4UODAYK1o="
},
"compressing": {
"version": "1.5.1",
"resolved": "https://registry.npmjs.org/compressing/-/compressing-1.5.1.tgz",
......@@ -53,11 +884,69 @@
"yazl": "^2.4.2"
}
},
"content-disposition": {
"version": "0.5.3",
"resolved": "https://registry.npm.taobao.org/content-disposition/download/content-disposition-0.5.3.tgz",
"integrity": "sha1-4TDK9+cnkIfFYWwgB9BIVpiYT70=",
"requires": {
"safe-buffer": "5.1.2"
},
"dependencies": {
"safe-buffer": {
"version": "5.1.2",
"resolved": "https://registry.npm.taobao.org/safe-buffer/download/safe-buffer-5.1.2.tgz",
"integrity": "sha1-mR7GnSluAxN0fVm9/St0XDX4go0="
}
}
},
"content-type": {
"version": "1.0.4",
"resolved": "https://registry.npm.taobao.org/content-type/download/content-type-1.0.4.tgz",
"integrity": "sha1-4TjMdeBAxyexlm/l5fjJruJW/js="
},
"cookie": {
"version": "0.4.0",
"resolved": "https://registry.npm.taobao.org/cookie/download/cookie-0.4.0.tgz",
"integrity": "sha1-vrQ35wIrO21JAZ0IhmUwPr6cFLo="
},
"cookie-signature": {
"version": "1.0.6",
"resolved": "https://registry.nlark.com/cookie-signature/download/cookie-signature-1.0.6.tgz",
"integrity": "sha1-4wOogrNCzD7oylE6eZmXNNqzriw="
},
"core-util-is": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz",
"integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac="
},
"debug": {
"version": "2.6.9",
"resolved": "https://registry.npmmirror.com/debug/download/debug-2.6.9.tgz",
"integrity": "sha1-XRKFFd8TT/Mn6QpMk/Tgd6U2NB8=",
"requires": {
"ms": "2.0.0"
}
},
"depd": {
"version": "1.1.2",
"resolved": "https://registry.npm.taobao.org/depd/download/depd-1.1.2.tgz",
"integrity": "sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak="
},
"destroy": {
"version": "1.0.4",
"resolved": "https://registry.npm.taobao.org/destroy/download/destroy-1.0.4.tgz",
"integrity": "sha1-l4hXRCxEdJ5CBmE+N5RiBYJqvYA="
},
"ee-first": {
"version": "1.1.1",
"resolved": "https://registry.npm.taobao.org/ee-first/download/ee-first-1.1.1.tgz",
"integrity": "sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0="
},
"encodeurl": {
"version": "1.0.2",
"resolved": "https://registry.npm.taobao.org/encodeurl/download/encodeurl-1.0.2.tgz",
"integrity": "sha1-rT/0yG7C0CkyL1oCw6mmBslbP1k="
},
"end-of-stream": {
"version": "1.4.4",
"resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz",
......@@ -66,6 +955,60 @@
"once": "^1.4.0"
}
},
"escape-html": {
"version": "1.0.3",
"resolved": "https://registry.npm.taobao.org/escape-html/download/escape-html-1.0.3.tgz",
"integrity": "sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg="
},
"etag": {
"version": "1.8.1",
"resolved": "https://registry.nlark.com/etag/download/etag-1.8.1.tgz?cache=0&sync_timestamp=1618847044821&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fetag%2Fdownload%2Fetag-1.8.1.tgz",
"integrity": "sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc="
},
"express": {
"version": "4.17.1",
"resolved": "https://registry.npm.taobao.org/express/download/express-4.17.1.tgz",
"integrity": "sha1-RJH8OGBc9R+GKdOcK10Cb5ikwTQ=",
"requires": {
"accepts": "~1.3.7",
"array-flatten": "1.1.1",
"body-parser": "1.19.0",
"content-disposition": "0.5.3",
"content-type": "~1.0.4",
"cookie": "0.4.0",
"cookie-signature": "1.0.6",
"debug": "2.6.9",
"depd": "~1.1.2",
"encodeurl": "~1.0.2",
"escape-html": "~1.0.3",
"etag": "~1.8.1",
"finalhandler": "~1.1.2",
"fresh": "0.5.2",
"merge-descriptors": "1.0.1",
"methods": "~1.1.2",
"on-finished": "~2.3.0",
"parseurl": "~1.3.3",
"path-to-regexp": "0.1.7",
"proxy-addr": "~2.0.5",
"qs": "6.7.0",
"range-parser": "~1.2.1",
"safe-buffer": "5.1.2",
"send": "0.17.1",
"serve-static": "1.14.1",
"setprototypeof": "1.1.1",
"statuses": "~1.5.0",
"type-is": "~1.6.18",
"utils-merge": "1.0.1",
"vary": "~1.1.2"
},
"dependencies": {
"safe-buffer": {
"version": "5.1.2",
"resolved": "https://registry.npm.taobao.org/safe-buffer/download/safe-buffer-5.1.2.tgz",
"integrity": "sha1-mR7GnSluAxN0fVm9/St0XDX4go0="
}
}
},
"fd-slicer": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/fd-slicer/-/fd-slicer-1.1.0.tgz",
......@@ -74,11 +1017,35 @@
"pend": "~1.2.0"
}
},
"finalhandler": {
"version": "1.1.2",
"resolved": "https://registry.npm.taobao.org/finalhandler/download/finalhandler-1.1.2.tgz",
"integrity": "sha1-t+fQAP/RGTjQ/bBTUG9uur6fWH0=",
"requires": {
"debug": "2.6.9",
"encodeurl": "~1.0.2",
"escape-html": "~1.0.3",
"on-finished": "~2.3.0",
"parseurl": "~1.3.3",
"statuses": "~1.5.0",
"unpipe": "~1.0.0"
}
},
"flushwritable": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/flushwritable/-/flushwritable-1.0.0.tgz",
"integrity": "sha1-PjKNj95BKtR+c44751C00pAENJg="
},
"forwarded": {
"version": "0.2.0",
"resolved": "https://registry.nlark.com/forwarded/download/forwarded-0.2.0.tgz?cache=0&sync_timestamp=1622503499867&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fforwarded%2Fdownload%2Fforwarded-0.2.0.tgz",
"integrity": "sha1-ImmTZCiq1MFcfr6XeahL8LKoGBE="
},
"fresh": {
"version": "0.5.2",
"resolved": "https://registry.nlark.com/fresh/download/fresh-0.5.2.tgz",
"integrity": "sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac="
},
"fs-constants": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/fs-constants/-/fs-constants-1.0.0.tgz",
......@@ -89,6 +1056,25 @@
"resolved": "https://registry.npmjs.org/get-ready/-/get-ready-1.0.0.tgz",
"integrity": "sha1-+RgX8emt7P6hOlYq38jeiDqzR4I="
},
"http-errors": {
"version": "1.7.2",
"resolved": "https://registry.npmmirror.com/http-errors/download/http-errors-1.7.2.tgz?cache=0&sync_timestamp=1636932182141&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Fhttp-errors%2Fdownload%2Fhttp-errors-1.7.2.tgz",
"integrity": "sha1-T1ApzxMjnzEDblsuVSkrz7zIXI8=",
"requires": {
"depd": "~1.1.2",
"inherits": "2.0.3",
"setprototypeof": "1.1.1",
"statuses": ">= 1.5.0 < 2",
"toidentifier": "1.0.0"
},
"dependencies": {
"inherits": {
"version": "2.0.3",
"resolved": "https://registry.nlark.com/inherits/download/inherits-2.0.3.tgz",
"integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4="
}
}
},
"iconv-lite": {
"version": "0.5.2",
"resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.5.2.tgz",
......@@ -102,11 +1088,54 @@
"resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
"integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="
},
"ipaddr.js": {
"version": "1.9.1",
"resolved": "https://registry.nlark.com/ipaddr.js/download/ipaddr.js-1.9.1.tgz",
"integrity": "sha1-v/OFQ+64mEglB5/zoqjmy9RngbM="
},
"isarray": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz",
"integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE="
},
"js-base64": {
"version": "3.7.2",
"resolved": "https://registry.npmmirror.com/js-base64/download/js-base64-3.7.2.tgz",
"integrity": "sha1-gW0R2BqK/yQWA9Gc5XYeE+Qdd0U="
},
"media-typer": {
"version": "0.3.0",
"resolved": "https://registry.nlark.com/media-typer/download/media-typer-0.3.0.tgz",
"integrity": "sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g="
},
"merge-descriptors": {
"version": "1.0.1",
"resolved": "https://registry.nlark.com/merge-descriptors/download/merge-descriptors-1.0.1.tgz",
"integrity": "sha1-sAqqVW3YtEVoFQ7J0blT8/kMu2E="
},
"methods": {
"version": "1.1.2",
"resolved": "https://registry.npm.taobao.org/methods/download/methods-1.1.2.tgz",
"integrity": "sha1-VSmk1nZUE07cxSZmVoNbD4Ua/O4="
},
"mime": {
"version": "1.6.0",
"resolved": "https://registry.npmmirror.com/mime/download/mime-1.6.0.tgz",
"integrity": "sha1-Ms2eXGRVO9WNGaVor0Uqz/BJgbE="
},
"mime-db": {
"version": "1.51.0",
"resolved": "https://registry.npmmirror.com/mime-db/download/mime-db-1.51.0.tgz?cache=0&sync_timestamp=1636425960296&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Fmime-db%2Fdownload%2Fmime-db-1.51.0.tgz",
"integrity": "sha512-5y8A56jg7XVQx2mbv1lu49NR4dokRnhZYTtL+KGfaa27uq4pSTXkwQkFJl4pkRMyNFz/EtYDSkiiEHx3F7UN6g=="
},
"mime-types": {
"version": "2.1.34",
"resolved": "https://registry.npmmirror.com/mime-types/download/mime-types-2.1.34.tgz?cache=0&sync_timestamp=1636432302620&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Fmime-types%2Fdownload%2Fmime-types-2.1.34.tgz",
"integrity": "sha512-6cP692WwGIs9XXdOO4++N+7qjqv0rqxxVvJ3VHPh/Sc9mVZcQP+ZGhkKiTvWMQRr2tbHkJP/Yn7Y0npb3ZBs4A==",
"requires": {
"mime-db": "1.51.0"
}
},
"minimist": {
"version": "1.2.5",
"resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz",
......@@ -120,6 +1149,24 @@
"minimist": "^1.2.5"
}
},
"ms": {
"version": "2.0.0",
"resolved": "https://registry.npmmirror.com/ms/download/ms-2.0.0.tgz",
"integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g="
},
"negotiator": {
"version": "0.6.2",
"resolved": "https://registry.npm.taobao.org/negotiator/download/negotiator-0.6.2.tgz",
"integrity": "sha1-/qz3zPUlp3rpY0Q2pkiD/+yjRvs="
},
"on-finished": {
"version": "2.3.0",
"resolved": "https://registry.npm.taobao.org/on-finished/download/on-finished-2.3.0.tgz?cache=0&sync_timestamp=1614930634590&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fon-finished%2Fdownload%2Fon-finished-2.3.0.tgz",
"integrity": "sha1-IPEzZIGwg811M3mSoWlxqi2QaUc=",
"requires": {
"ee-first": "1.1.1"
}
},
"once": {
"version": "1.4.0",
"resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
......@@ -128,6 +1175,16 @@
"wrappy": "1"
}
},
"parseurl": {
"version": "1.3.3",
"resolved": "https://registry.npm.taobao.org/parseurl/download/parseurl-1.3.3.tgz",
"integrity": "sha1-naGee+6NEt/wUT7Vt2lXeTvC6NQ="
},
"path-to-regexp": {
"version": "0.1.7",
"resolved": "https://registry.npm.taobao.org/path-to-regexp/download/path-to-regexp-0.1.7.tgz",
"integrity": "sha1-32BBeABfUi8V60SQ5yR6G/qmf4w="
},
"pend": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/pend/-/pend-1.2.0.tgz",
......@@ -138,6 +1195,15 @@
"resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz",
"integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag=="
},
"proxy-addr": {
"version": "2.0.7",
"resolved": "https://registry.nlark.com/proxy-addr/download/proxy-addr-2.0.7.tgz",
"integrity": "sha1-8Z/mnOqzEe65S0LnDowgcPm6ECU=",
"requires": {
"forwarded": "0.2.0",
"ipaddr.js": "1.9.1"
}
},
"pump": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz",
......@@ -147,6 +1213,37 @@
"once": "^1.3.1"
}
},
"qs": {
"version": "6.7.0",
"resolved": "https://registry.npm.taobao.org/qs/download/qs-6.7.0.tgz",
"integrity": "sha1-QdwaAV49WB8WIXdr4xr7KHapsbw="
},
"range-parser": {
"version": "1.2.1",
"resolved": "https://registry.nlark.com/range-parser/download/range-parser-1.2.1.tgz",
"integrity": "sha1-PPNwI9GZ4cJNGlW4SADC8+ZGgDE="
},
"raw-body": {
"version": "2.4.0",
"resolved": "https://registry.nlark.com/raw-body/download/raw-body-2.4.0.tgz",
"integrity": "sha1-oc5vucm8NWylLoklarWQWeE9AzI=",
"requires": {
"bytes": "3.1.0",
"http-errors": "1.7.2",
"iconv-lite": "0.4.24",
"unpipe": "1.0.0"
},
"dependencies": {
"iconv-lite": {
"version": "0.4.24",
"resolved": "https://registry.nlark.com/iconv-lite/download/iconv-lite-0.4.24.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.nlark.com%2Ficonv-lite%2Fdownload%2Ficonv-lite-0.4.24.tgz",
"integrity": "sha1-ICK0sl+93CHS9SSXSkdKr+czkIs=",
"requires": {
"safer-buffer": ">= 2.1.2 < 3"
}
}
}
},
"readable-stream": {
"version": "2.3.7",
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz",
......@@ -178,6 +1275,54 @@
"resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz",
"integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg=="
},
"send": {
"version": "0.17.1",
"resolved": "https://registry.npm.taobao.org/send/download/send-0.17.1.tgz",
"integrity": "sha1-wdiwWfeQD3Rm3Uk4vcROEd2zdsg=",
"requires": {
"debug": "2.6.9",
"depd": "~1.1.2",
"destroy": "~1.0.4",
"encodeurl": "~1.0.2",
"escape-html": "~1.0.3",
"etag": "~1.8.1",
"fresh": "0.5.2",
"http-errors": "~1.7.2",
"mime": "1.6.0",
"ms": "2.1.1",
"on-finished": "~2.3.0",
"range-parser": "~1.2.1",
"statuses": "~1.5.0"
},
"dependencies": {
"ms": {
"version": "2.1.1",
"resolved": "https://registry.npmmirror.com/ms/download/ms-2.1.1.tgz",
"integrity": "sha1-MKWGTrPrsKZvLr5tcnrwagnYbgo="
}
}
},
"serve-static": {
"version": "1.14.1",
"resolved": "https://registry.npm.taobao.org/serve-static/download/serve-static-1.14.1.tgz",
"integrity": "sha1-Zm5jbcTwEPfvKZcKiKZ0MgiYsvk=",
"requires": {
"encodeurl": "~1.0.2",
"escape-html": "~1.0.3",
"parseurl": "~1.3.3",
"send": "0.17.1"
}
},
"setprototypeof": {
"version": "1.1.1",
"resolved": "https://registry.npm.taobao.org/setprototypeof/download/setprototypeof-1.1.1.tgz",
"integrity": "sha1-fpWsskqpL1iF4KvvW6ExMw1K5oM="
},
"statuses": {
"version": "1.5.0",
"resolved": "https://registry.npm.taobao.org/statuses/download/statuses-1.5.0.tgz?cache=0&sync_timestamp=1609654066899&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fstatuses%2Fdownload%2Fstatuses-1.5.0.tgz",
"integrity": "sha1-Fhx9rBd2Wf2YEfQ3cfqZOBR4Yow="
},
"streamifier": {
"version": "0.1.1",
"resolved": "https://registry.npmjs.org/streamifier/-/streamifier-0.1.1.tgz",
......@@ -217,11 +1362,45 @@
"resolved": "https://registry.npmjs.org/to-buffer/-/to-buffer-1.1.1.tgz",
"integrity": "sha512-lx9B5iv7msuFYE3dytT+KE5tap+rNYw+K4jVkb9R/asAb+pbBSM17jtunHplhBe6RRJdZx3Pn2Jph24O32mOVg=="
},
"toidentifier": {
"version": "1.0.0",
"resolved": "https://registry.npmmirror.com/toidentifier/download/toidentifier-1.0.0.tgz?cache=0&sync_timestamp=1636938521998&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Ftoidentifier%2Fdownload%2Ftoidentifier-1.0.0.tgz",
"integrity": "sha1-fhvjRw8ed5SLxD2Uo8j013UrpVM="
},
"type-is": {
"version": "1.6.18",
"resolved": "https://registry.npm.taobao.org/type-is/download/type-is-1.6.18.tgz",
"integrity": "sha1-TlUs0F3wlGfcvE73Od6J8s83wTE=",
"requires": {
"media-typer": "0.3.0",
"mime-types": "~2.1.24"
}
},
"unpipe": {
"version": "1.0.0",
"resolved": "https://registry.npm.taobao.org/unpipe/download/unpipe-1.0.0.tgz",
"integrity": "sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw="
},
"util-deprecate": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",
"integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8="
},
"utils-merge": {
"version": "1.0.1",
"resolved": "https://registry.npm.taobao.org/utils-merge/download/utils-merge-1.0.1.tgz",
"integrity": "sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM="
},
"uuid": {
"version": "8.3.2",
"resolved": "https://registry.npmmirror.com/uuid/download/uuid-8.3.2.tgz",
"integrity": "sha1-gNW1ztJxu5r2xEXyGhoExgbO++I="
},
"vary": {
"version": "1.1.2",
"resolved": "https://registry.npm.taobao.org/vary/download/vary-1.1.2.tgz",
"integrity": "sha1-IpnwLG3tMNSllhsLn3RSShj2NPw="
},
"wrappy": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
......
......@@ -4,11 +4,18 @@
"description": "",
"main": "build.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"test": "echo \"Error: no test specified\" && exit 1",
"build": "node build.js",
"start": "node app.js"
},
"type": "module",
"author": "",
"license": "ISC",
"dependencies": {
"compressing": "^1.5.1"
"child_process": "^1.0.2",
"compressing": "^1.5.1",
"express": "^4.17.1",
"js-base64": "^3.7.2",
"uuid": "^8.3.2"
}
}
{
"ios": {
"sceneName": "Book_Read",
"version": "e5634"
},
"android": {
"sceneName": "Book_Read",
"version": "0f90d"
}
}
\ No newline at end of file
{"ios":{"sceneName":"Book_Read","version":"f2f1b"},"android":{"sceneName":"Book_Read","version":"f2f1b"}}
\ No newline at end of file
{"paths":{"0":["textures/bg_quan_huang",5],"1":["anim/hand",0],"2":["textures/btn_audio-play3",4,1],"3":["textures/bg_move",5],"4":["textures/icon_hand2",5],"5":["textures/bg_number0",4,1],"6":["textures/icon_hand0",4,1],"7":["prefab/hitItem",3],"8":["textures/btn_audio-play2",5],"9":["audios/按钮",1],"10":["textures/btn_last",4,1],"11":["textures/bg_quan_huang",4,1],"13":["textures/bg_bg",5],"14":["textures/icon_play",4,1],"15":["textures/icon_dian",4,1],"16":["textures/bg_background0",4,1],"17":["textures/btn_x",5],"18":["textures/bg_move",4,1],"19":["textures/btn_next",4,1],"20":["textures/bg_quan_lan",4,1],"21":["textures/icon_hand0",5],"22":["textures/bg_quan",5],"23":["textures/icon_play",5],"24":["textures/bg_number0",5],"25":["textures/btn_audio-play1",4,1],"26":["textures/icon_stop",5],"27":["textures/bg_book0",4,1],"28":["textures/btn_audio-play2",4,1],"29":["textures/bg_quan",4,1],"30":["textures/bg_desk0",5],"31":["anim/tips",0],"32":["textures/icon_stop",4,1],"33":["textures/icon_tips",5],"34":["textures/icon_tips",4,1],"35":["textures/btn_next",5],"36":["textures/btn_x",4,1],"37":["textures/btn_audio-play3",5],"38":["textures/btn_audio-play1",5],"39":["textures/bg_bottom",4,1],"40":["textures/bg_bg",4,1],"41":["textures/bg_book0",5],"42":["textures/btn_last",5],"43":["textures/btn_return0",5],"44":["textures/bg_background0",5],"45":["audios/提示",1],"46":["textures/bg_bottom",5],"47":["textures/btn_return0",4,1],"48":["textures/icon_dian",5],"49":["textures/icon_hand",5],"50":["textures/bg_quan_lan",5],"51":["textures/icon_hand",4,1],"52":["textures/icon_hand2",4,1],"53":["fonts/BRLNSDB",2],"54":["textures/bg_desk0",4,1]},"types":["cc.AnimationClip","cc.AudioClip","cc.TTFFont","cc.Prefab","cc.SpriteFrame","cc.Texture2D"],"uuids":["0967eEj6xPVp1laxKrZ65R","11DVptTU5KBL7SS7VsVtA9","11FtUjwdBPs6isc7gNtsEM","17NOlyhqlHZr3Oe8x5NEXF","1dJ365QGFOiJkF38bPaKZy","24JLpmId9IRbSo6hRB65GT","24PnGr62dN0Iq9XKEQSQPf","2c59WNtv5O96Eo3nb2cqgD","36C+u4ix1EgayWvV179Hq+","397xk5O/lNIaZ6vB3t5SGp","48Ezf1pjVCN4pnejf9WfEZ","4bfQh7hGtCvqD9BoCpQouI","576nxhm4tJirAkyY7pEkvr","58+Z76LCRAGLicXK5k3Vx0","5aKNZF2KpCoIEZYqculvhU","5dq6lv7/VL7pup1nwBNCEq","60apvKpHJCLqjXpX/kouBX","61esvO6yJBa7XV8er3GHyp","65mJJDA61FcolKwdRxLOgs","75RqMzHYtMOqaZskYz2YfT","76Ud18+SFPcYAGTyVxTSS5","80k9fNdkRMxoDHuLRZB+Lh","82rjvDi99GO5fRYOvRkLrS","82txnb9hNIbIsJJ6CAdmXu","887AVyKrhPTK8ND133qWil","95QFuuwFZDaJPcgJ4bPtYc","97TFf9cPFEp63gTG9Q247Q","98ZjcIfq1M+7ws0VxEZSxh","98jaJamRFG4YSe4jOqVVgn","9bM2iCli5Ee50siayiv5W0","9caMSFuCNDko8t3umyyCWz","a1PWVSDs5C44E6ICmtDKsM","a643oIgNdO+oJWjJJa2QY9","b3JUv1ev5NQogVlpPt8U2B","b4Fmf1DglJ9rfoGbiNyOqL","b5ogPZnW5AIKqbKLFRHiAz","b7MWZkq6RACKVKEZCKbAsV","b9PeKj6tVKS7J0IeGg1jxY","bb6ljgkrdMFICLw+sx5rft","c2YOfTmqdGypn1fKXzH3/v","c3H4Hzg9tLRqXDozVywS5/","c62iEUrNZPi4f+Wyt9WgLb","d5yS2hQk1JiLVdSupkB84u","d5409Z4OxF94C3Z5OnAi39","dcGvi65s9Lvr15VA2Ysg5o","e0vPTMNadNYbICjdSSmcLA","e1GnxhcB1BvbdL26x+/Tp+","e5T6qVbndI94w3sdv/Znwb","eazI5bztBBx6HecPsGRb9g","edW4Hi7ntPdrQknfNA5fKY","fca8q58wZK+bPXhRrThjM4","56Le79yf1C8JfX1vWJPvPz","615HxoZY1Ba6RuOZ6/3dLI","c5UZcOsJVF858dJc3ouN6x","d1UP0U3GNBV73aRW8bNYjt","ecpdLyjvZBwrvm+cedCcQy"],"scenes":{"db://assets/Book_Read/scene/Book_Read.fire":12},"redirect":[55,0],"deps":["internal"],"packs":{"01a91b421":[1,6],"096b1073e":[7,11,14,15,20,29,31,32,34,36,39,45],"0ada4dbe2":[2,5,9,10,12,16,18,19,25,27,28,40,47],"0dfad8d6f":[0,3,4,8,13,17,21,22,23,24,26,30,33,35,37,38,41,42,43,44,46,48,49,50]},"name":"Book_Read","importBase":"import","nativeBase":"native","debug":false,"isZip":false,"encrypted":false}
\ No newline at end of file
{"paths":{"0":["textures/bg_quan_huang",5],"1":["anim/hand",0],"2":["textures/btn_audio-play3",4,1],"3":["textures/bg_move",5],"4":["textures/icon_hand2",5],"5":["textures/bg_number0",4,1],"6":["textures/icon_hand0",4,1],"7":["prefab/hitItem",3],"8":["textures/btn_audio-play2",5],"9":["audios/按钮",1],"10":["textures/btn_last",4,1],"11":["textures/bg_quan_huang",4,1],"12":["textures/bg_bg",5],"13":["textures/icon_play",4,1],"14":["textures/icon_dian",4,1],"15":["textures/bg_background0",4,1],"16":["textures/btn_x",5],"17":["textures/bg_move",4,1],"18":["textures/btn_next",4,1],"19":["textures/bg_quan_lan",4,1],"20":["textures/icon_hand0",5],"21":["textures/bg_quan",5],"22":["textures/icon_play",5],"23":["textures/bg_number0",5],"24":["textures/btn_audio-play1",4,1],"25":["textures/icon_stop",5],"26":["textures/bg_book0",4,1],"27":["textures/btn_audio-play2",4,1],"28":["textures/bg_quan",4,1],"29":["textures/bg_desk0",5],"30":["anim/tips",0],"31":["textures/icon_stop",4,1],"32":["textures/icon_tips",5],"33":["textures/icon_tips",4,1],"34":["textures/btn_next",5],"35":["textures/btn_x",4,1],"36":["textures/btn_audio-play3",5],"37":["textures/btn_audio-play1",5],"39":["textures/bg_bottom",4,1],"40":["textures/bg_bg",4,1],"41":["textures/bg_book0",5],"42":["textures/btn_last",5],"43":["textures/btn_return0",5],"44":["textures/bg_background0",5],"45":["audios/提示",1],"46":["textures/bg_bottom",5],"47":["textures/btn_return0",4,1],"48":["textures/icon_dian",5],"49":["textures/icon_hand",5],"50":["textures/bg_quan_lan",5],"51":["textures/icon_hand",4,1],"52":["textures/icon_hand2",4,1],"53":["fonts/BRLNSDB",2],"54":["textures/bg_desk0",4,1]},"types":["cc.AnimationClip","cc.AudioClip","cc.TTFFont","cc.Prefab","cc.SpriteFrame","cc.Texture2D"],"uuids":["0967eEj6xPVp1laxKrZ65R","11DVptTU5KBL7SS7VsVtA9","11FtUjwdBPs6isc7gNtsEM","17NOlyhqlHZr3Oe8x5NEXF","1dJ365QGFOiJkF38bPaKZy","24JLpmId9IRbSo6hRB65GT","24PnGr62dN0Iq9XKEQSQPf","2c59WNtv5O96Eo3nb2cqgD","36C+u4ix1EgayWvV179Hq+","397xk5O/lNIaZ6vB3t5SGp","48Ezf1pjVCN4pnejf9WfEZ","4bfQh7hGtCvqD9BoCpQouI","58+Z76LCRAGLicXK5k3Vx0","5aKNZF2KpCoIEZYqculvhU","5dq6lv7/VL7pup1nwBNCEq","60apvKpHJCLqjXpX/kouBX","61esvO6yJBa7XV8er3GHyp","65mJJDA61FcolKwdRxLOgs","75RqMzHYtMOqaZskYz2YfT","76Ud18+SFPcYAGTyVxTSS5","80k9fNdkRMxoDHuLRZB+Lh","82rjvDi99GO5fRYOvRkLrS","82txnb9hNIbIsJJ6CAdmXu","887AVyKrhPTK8ND133qWil","95QFuuwFZDaJPcgJ4bPtYc","97TFf9cPFEp63gTG9Q247Q","98ZjcIfq1M+7ws0VxEZSxh","98jaJamRFG4YSe4jOqVVgn","9bM2iCli5Ee50siayiv5W0","9caMSFuCNDko8t3umyyCWz","a1PWVSDs5C44E6ICmtDKsM","a643oIgNdO+oJWjJJa2QY9","b3JUv1ev5NQogVlpPt8U2B","b4Fmf1DglJ9rfoGbiNyOqL","b5ogPZnW5AIKqbKLFRHiAz","b7MWZkq6RACKVKEZCKbAsV","b9PeKj6tVKS7J0IeGg1jxY","bb6ljgkrdMFICLw+sx5rft","c1IleF0BFHU5ZuewgIG3HZ","c2YOfTmqdGypn1fKXzH3/v","c3H4Hzg9tLRqXDozVywS5/","c62iEUrNZPi4f+Wyt9WgLb","d5yS2hQk1JiLVdSupkB84u","d5409Z4OxF94C3Z5OnAi39","dcGvi65s9Lvr15VA2Ysg5o","e0vPTMNadNYbICjdSSmcLA","e1GnxhcB1BvbdL26x+/Tp+","e5T6qVbndI94w3sdv/Znwb","eazI5bztBBx6HecPsGRb9g","edW4Hi7ntPdrQknfNA5fKY","fca8q58wZK+bPXhRrThjM4","56Le79yf1C8JfX1vWJPvPz","615HxoZY1Ba6RuOZ6/3dLI","c5UZcOsJVF858dJc3ouN6x","d1UP0U3GNBV73aRW8bNYjt","ecpdLyjvZBwrvm+cedCcQy"],"scenes":{"db://assets/Book_Read/scene/Book_Read.fire":38},"redirect":[55,0],"deps":["internal"],"packs":{"01a91b421":[1,6],"089d54fe5":[2,5,9,10,15,17,18,24,26,27,38,40,47],"096b1073e":[7,11,13,14,19,28,30,31,33,35,39,45],"0dfad8d6f":[0,3,4,8,12,16,20,21,22,23,25,29,32,34,36,37,41,42,43,44,46,48,49,50]},"name":"Book_Read","importBase":"import","nativeBase":"native","debug":false,"isZip":false,"encrypted":false}
\ No newline at end of file
[1,["ecpdLyjvZBwrvm+cedCcQy","a1PWVSDs5C44E6ICmtDKsM","76Ud18+SFPcYAGTyVxTSS5","11DVptTU5KBL7SS7VsVtA9","b4Fmf1DglJ9rfoGbiNyOqL","9bM2iCli5Ee50siayiv5W0","b7MWZkq6RACKVKEZCKbAsV","5aKNZF2KpCoIEZYqculvhU","a643oIgNdO+oJWjJJa2QY9","5dq6lv7/VL7pup1nwBNCEq","24PnGr62dN0Iq9XKEQSQPf","e0vPTMNadNYbICjdSSmcLA","4bfQh7hGtCvqD9BoCpQouI","c2YOfTmqdGypn1fKXzH3/v","0967eEj6xPVp1laxKrZ65R","82txnb9hNIbIsJJ6CAdmXu","eazI5bztBBx6HecPsGRb9g","fca8q58wZK+bPXhRrThjM4","82rjvDi99GO5fRYOvRkLrS","97TFf9cPFEp63gTG9Q247Q","b3JUv1ev5NQogVlpPt8U2B","61esvO6yJBa7XV8er3GHyp","e1GnxhcB1BvbdL26x+/Tp+"],["node","_spriteFrame","_textureSetter","_defaultClip","root","icon_stop","icon_play","btnX","sprite","hand","handAnim","tipsAnim","quan","data","tipClip","quan_lan","quan_huang"],["cc.SpriteFrame",["cc.Node",["_name","_active","_components","_prefab","_contentSize","_parent","_trs","_children"],1,9,4,5,1,7,2],["cc.Widget",["_alignFlags","_top","_left","_right","_verticalCenter","_horizontalCenter","_isAbsHorizontalCenter","_bottom","_originalWidth","_originalHeight","node"],-7,1],["cc.Sprite",["_sizeMode","_type","node","_materials","_spriteFrame"],1,1,3,6],["cc.Node",["_name","_active","_parent","_components","_prefab","_contentSize","_trs","_children"],1,1,12,4,5,7,2],["cc.PrefabInfo",["fileId","root"],2,1],["cc.Animation",["_enabled","node","_clips"],2,1,3],["cc.Prefab",["_name"],2],["cc.Node",["_name","_active","_parent","_components","_prefab","_contentSize"],1,1,2,4,5],["57f79KAb0tNU7HjHMpUOk2e",["node","quan","tipsAnim","handAnim","hand","sprite","btnX","icon_play","icon_stop","tipClip","quan_lan","quan_huang"],3,1,1,1,1,1,1,1,1,1,6,6,6],["d7912kM6VxIgoOHkOzKc7g4",["node"],3,1],["cc.Button",["node","clickEvents"],3,1,9],["cc.ClickEvent",["_componentId","handler","target"],1,1],["cc.AnimationClip",["_name","_duration","sample","wrapMode","curveData"],-2],["cc.AudioClip",["_name","_native","duration"],0]],[[5,0,1,2],[3,2,3,4,1],[1,0,1,5,2,3,4,6,3],[2,0,2,1,10,4],[1,0,1,5,2,3,4,3],[2,0,2,3,1,7,8,9,10,8],[3,0,2,3,4,2],[7,0,2],[1,0,7,2,3,4,2],[1,0,5,2,3,4,6,2],[4,0,2,7,3,4,5,6,2],[4,0,1,2,3,4,5,6,3],[8,0,1,2,3,4,5,3],[9,0,1,2,3,4,5,6,7,8,9,10,11,1],[5,1,1],[2,0,4,5,6,10,5],[2,0,3,1,10,4],[10,0,1],[3,1,0,2,3,4,3],[3,2,3,1],[11,0,1,1],[12,0,1,2,3],[6,1,2,1],[6,0,1,2,2],[13,0,1,2,3,4,6],[14,0,1,2,4]],[[[[7,"hitItem"],[8,"hitItem",[-11,-12,-13,-14,-15,-16,-17,-18],[[13,-10,-9,-8,-7,-6,-5,-4,-3,-2,19,20,21]],[14,-1],[5,351,93]],[10,"hand",1,[-22,-23],[[-19,[15,18,-35,0.1,false,-20],[17,-21]],1,4,4],[0,"9aI5le42RBv5GR0xkx1QW1",1],[5,78,78],[35.1,-35,0,0,0,0,1,1,1,1]],[2,"btn_x",false,1,[[1,-24,[6],7],[20,-25,[[21,"57f79KAb0tNU7HjHMpUOk2e","onClickHide",1]]],[3,9,-30,-30,-26]],[0,"49bqoo7I9FCKRZC0ySxp3O",1],[5,34,34],[-188.5,59.5,0,0,0,0,1,1,1,1]],[11,"icon_tips",false,1,[[[1,-27,[0],1],-28,[16,33,-53.85499999999999,-51.726,-29]],4,1,4],[0,"3ffMrh7m1CyZDq4KfPs7IU",1],[5,46,67],[206.355,64.726,0,0,0,0,1,1,1,1]],[2,"icon_play",false,1,[[1,-30,[8],9],[3,9,-21.30600000000001,-47.931,-31]],[0,"a3Ou7g0PRAKpk6eoBoqYHr",1],[5,42,25],[-175.806,81.931,0,0,0,0,1,1,1,1]],[2,"icon_stop",false,1,[[1,-32,[10],11],[3,9,-21.578000000000003,-48.06699999999999,-33]],[0,"bdj7Z5C1hG9ZUpslIq23db",1],[5,42,25],[-176.078,82.067,0,0,0,0,1,1,1,1]],[4,"bg_quan",false,1,[[6,0,-34,[12],13],[5,45,-23,-23,-23,-23,170,100,-35]],[0,"f7H0+H+qJGh5CiCBaESrqN",1],[5,397,139]],[4,"bg_quan_old",false,1,[[18,1,0,-36,[3],4],[5,45,-23,-23,-23,-23,170,100,-37]],[0,"5bDJee3rVFeaYgoeDYafmQ",1],[5,397,139]],[22,4,[2]],[12,"sprite",false,1,[-38],[0,"b9fWLpmVVF2qpZu9r009Ps",1],[5,351,93]],[19,10,[5]],[2,"icon_dian",false,2,[[1,-39,[14],15]],[0,"85Cu0e6IdO7rehoMCnMUPa",1],[5,49,49],[-22.199,34,0,0,0,0,1,1,1,1]],[9,"icon_hand",2,[[6,0,-40,[16],17]],[0,"60grmEaEVCx7SsKEadDwBA",1],[5,52,50],[-1.579,19.664,0,0,0,0,1,1,1,1]],[23,false,2,[18]]],0,[0,4,1,0,5,6,0,6,5,0,7,3,0,8,11,0,9,2,0,10,14,0,11,9,0,12,7,0,0,1,0,-1,4,0,-2,8,0,-3,10,0,-4,3,0,-5,5,0,-6,6,0,-7,7,0,-8,2,0,-1,14,0,0,2,0,0,2,0,-1,12,0,-2,13,0,0,3,0,0,3,0,0,3,0,0,4,0,-2,9,0,0,4,0,0,5,0,0,5,0,0,6,0,0,6,0,0,7,0,0,7,0,0,8,0,0,8,0,-1,11,0,0,12,0,0,13,0,13,1,40],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,9,11,14],[-1,1,-1,-1,1,-1,-1,1,-1,1,-1,1,-1,1,-1,1,-1,1,-1,14,15,16,3,1,3],[0,4,1,0,5,0,0,6,0,7,0,8,0,2,0,9,0,10,3,11,2,12,1,13,3]],[[{"name":"bg_quan_huang","rect":[35,35,100,100],"offset":[0,0],"originalSize":[170,170],"capInsets":[0,0,0,0]}],[0],0,[0],[2],[14]],[[{"name":"icon_play","rect":[0,0,42,25],"offset":[0,0],"originalSize":[42,25],"capInsets":[0,0,0,0]}],[0],0,[0],[2],[15]],[[{"name":"icon_dian","rect":[0,0,49,49],"offset":[0,0],"originalSize":[49,49],"capInsets":[0,0,0,0]}],[0],0,[0],[2],[16]],[[{"name":"bg_quan_lan","rect":[34,35,100,100],"offset":[-1,0],"originalSize":[170,170],"capInsets":[0,0,0,0]}],[0],0,[0],[2],[17]],[[{"name":"bg_quan","rect":[0,0,170,100],"offset":[0,0],"originalSize":[170,100],"capInsets":[31,31,31,31]}],[0],0,[0],[2],[18]],[[[24,"tips",0.5,40,2,{"props":{"opacity":[{"frame":0,"value":255,"curve":"cubicIn"},{"frame":0.25,"value":0,"curve":"cubicIn"},{"frame":0.5,"value":255}]}}]],0,0,[],[],[]],[[{"name":"icon_stop","rect":[0,0,42,25],"offset":[0,0],"originalSize":[42,25],"capInsets":[0,0,0,0]}],[0],0,[0],[2],[19]],[[{"name":"icon_tips","rect":[0,0,46,67],"offset":[0,0],"originalSize":[46,67],"capInsets":[0,0,0,0]}],[0],0,[0],[2],[20]],[[{"name":"btn_x","rect":[0,0,34,34],"offset":[0,0],"originalSize":[34,34],"capInsets":[0,0,0,0]}],[0],0,[0],[2],[21]],[[{"name":"bg_bottom","rect":[0,0,351,93],"offset":[0,0],"originalSize":[351,93],"capInsets":[0,0,0,0]}],[0],0,[0],[2],[22]],[[[25,"提示",".mp3",1.7487],-1],0,0,[],[],[]]]]
\ No newline at end of file
[1,["ecpdLyjvZBwrvm+cedCcQy","a1PWVSDs5C44E6ICmtDKsM","76Ud18+SFPcYAGTyVxTSS5","11DVptTU5KBL7SS7VsVtA9","b4Fmf1DglJ9rfoGbiNyOqL","9bM2iCli5Ee50siayiv5W0","b7MWZkq6RACKVKEZCKbAsV","5aKNZF2KpCoIEZYqculvhU","a643oIgNdO+oJWjJJa2QY9","5dq6lv7/VL7pup1nwBNCEq","24PnGr62dN0Iq9XKEQSQPf","e0vPTMNadNYbICjdSSmcLA","4bfQh7hGtCvqD9BoCpQouI","c2YOfTmqdGypn1fKXzH3/v","0967eEj6xPVp1laxKrZ65R","82txnb9hNIbIsJJ6CAdmXu","eazI5bztBBx6HecPsGRb9g","fca8q58wZK+bPXhRrThjM4","82rjvDi99GO5fRYOvRkLrS","97TFf9cPFEp63gTG9Q247Q","b3JUv1ev5NQogVlpPt8U2B","61esvO6yJBa7XV8er3GHyp","e1GnxhcB1BvbdL26x+/Tp+"],["node","_spriteFrame","_textureSetter","_defaultClip","root","icon_stop","icon_play","btnX","sprite","hand","handAnim","tipsAnim","quan","data","tipClip","quan_lan","quan_huang"],["cc.SpriteFrame",["cc.Node",["_name","_active","_components","_prefab","_contentSize","_parent","_trs","_children"],1,9,4,5,1,7,2],["cc.Widget",["_alignFlags","_top","_left","_right","_verticalCenter","_horizontalCenter","_isAbsHorizontalCenter","_bottom","_originalWidth","_originalHeight","node"],-7,1],["cc.Sprite",["_sizeMode","_type","node","_materials","_spriteFrame"],1,1,3,6],["cc.Node",["_name","_active","_parent","_components","_prefab","_contentSize","_trs","_children"],1,1,12,4,5,7,2],["cc.PrefabInfo",["fileId","root"],2,1],["cc.Animation",["_enabled","node","_clips"],2,1,3],["cc.Prefab",["_name"],2],["cc.Node",["_name","_active","_parent","_components","_prefab","_contentSize"],1,1,2,4,5],["57f79KAb0tNU7HjHMpUOk2e",["node","quan","tipsAnim","handAnim","hand","sprite","btnX","icon_play","icon_stop","tipClip","quan_lan","quan_huang"],3,1,1,1,1,1,1,1,1,1,6,6,6],["d7912kM6VxIgoOHkOzKc7g4",["node"],3,1],["cc.Button",["node","clickEvents"],3,1,9],["cc.ClickEvent",["_componentId","handler","target"],1,1],["cc.AnimationClip",["_name","_duration","sample","wrapMode","curveData"],-2],["cc.AudioClip",["_name","_native","duration"],0]],[[5,0,1,2],[3,2,3,4,1],[1,0,1,5,2,3,4,6,3],[2,0,2,1,10,4],[11,0,1,1],[12,0,1,2,3],[1,0,1,5,2,3,4,3],[2,0,2,3,1,7,8,9,10,8],[3,0,2,3,4,2],[7,0,2],[1,0,7,2,3,4,2],[1,0,5,2,3,4,6,2],[4,0,2,7,3,4,5,6,2],[4,0,1,2,3,4,5,6,3],[8,0,1,2,3,4,5,3],[9,0,1,2,3,4,5,6,7,8,9,10,11,1],[5,1,1],[2,0,4,5,6,10,5],[2,0,3,1,10,4],[10,0,1],[3,1,0,2,3,4,3],[3,2,3,1],[6,1,2,1],[6,0,1,2,2],[13,0,1,2,3,4,6],[14,0,1,2,4]],[[[[9,"hitItem"],[10,"hitItem",[-11,-12,-13,-14,-15,-16,-17,-18],[[15,-10,-9,-8,-7,-6,-5,-4,-3,-2,19,20,21]],[16,-1],[5,351,93]],[12,"hand",1,[-22,-23],[[-19,[17,18,-35,0.1,false,-20],[19,-21]],1,4,4],[0,"9aI5le42RBv5GR0xkx1QW1",1],[5,78,78],[35.1,-35,0,0,0,0,1,1,1,1]],[2,"btn_x",false,1,[[1,-24,[6],7],[4,-25,[[5,"57f79KAb0tNU7HjHMpUOk2e","onClickHide",1]]],[3,9,-30,-30,-26]],[0,"49bqoo7I9FCKRZC0ySxp3O",1],[5,34,34],[-188.5,59.5,0,0,0,0,1,1,1,1]],[2,"icon_play",false,1,[[1,-27,[8],9],[3,9,-21.30600000000001,-47.931,-28],[4,-29,[[5,"57f79KAb0tNU7HjHMpUOk2e","onTouchStart",1]]]],[0,"a3Ou7g0PRAKpk6eoBoqYHr",1],[5,42,25],[-175.806,81.931,0,0,0,0,1,1,1,1]],[2,"icon_stop",false,1,[[1,-30,[10],11],[3,9,-21.578000000000003,-48.06699999999999,-31],[4,-32,[[5,"57f79KAb0tNU7HjHMpUOk2e","onTouchStart",1]]]],[0,"bdj7Z5C1hG9ZUpslIq23db",1],[5,42,25],[-176.078,82.067,0,0,0,0,1,1,1,1]],[13,"icon_tips",false,1,[[[1,-33,[0],1],-34,[18,33,-53.85499999999999,-51.726,-35]],4,1,4],[0,"3ffMrh7m1CyZDq4KfPs7IU",1],[5,46,67],[206.355,64.726,0,0,0,0,1,1,1,1]],[6,"bg_quan",false,1,[[8,0,-36,[12],13],[7,45,-23,-23,-23,-23,170,100,-37]],[0,"f7H0+H+qJGh5CiCBaESrqN",1],[5,397,139]],[6,"bg_quan_old",false,1,[[20,1,0,-38,[3],4],[7,45,-23,-23,-23,-23,170,100,-39]],[0,"5bDJee3rVFeaYgoeDYafmQ",1],[5,397,139]],[22,6,[2]],[14,"sprite",false,1,[-40],[0,"b9fWLpmVVF2qpZu9r009Ps",1],[5,351,93]],[21,10,[5]],[2,"icon_dian",false,2,[[1,-41,[14],15]],[0,"85Cu0e6IdO7rehoMCnMUPa",1],[5,49,49],[-22.199,34,0,0,0,0,1,1,1,1]],[11,"icon_hand",2,[[8,0,-42,[16],17]],[0,"60grmEaEVCx7SsKEadDwBA",1],[5,52,50],[-1.579,19.664,0,0,0,0,1,1,1,1]],[23,false,2,[18]]],0,[0,4,1,0,5,5,0,6,4,0,7,3,0,8,11,0,9,2,0,10,14,0,11,9,0,12,7,0,0,1,0,-1,6,0,-2,8,0,-3,10,0,-4,3,0,-5,4,0,-6,5,0,-7,7,0,-8,2,0,-1,14,0,0,2,0,0,2,0,-1,12,0,-2,13,0,0,3,0,0,3,0,0,3,0,0,4,0,0,4,0,0,4,0,0,5,0,0,5,0,0,5,0,0,6,0,-2,9,0,0,6,0,0,7,0,0,7,0,0,8,0,0,8,0,-1,11,0,0,12,0,0,13,0,13,1,42],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,9,11,14],[-1,1,-1,-1,1,-1,-1,1,-1,1,-1,1,-1,1,-1,1,-1,1,-1,14,15,16,3,1,3],[0,4,1,0,5,0,0,6,0,7,0,8,0,2,0,9,0,10,3,11,2,12,1,13,3]],[[{"name":"bg_quan_huang","rect":[35,35,100,100],"offset":[0,0],"originalSize":[170,170],"capInsets":[0,0,0,0]}],[0],0,[0],[2],[14]],[[{"name":"icon_play","rect":[0,0,42,25],"offset":[0,0],"originalSize":[42,25],"capInsets":[0,0,0,0]}],[0],0,[0],[2],[15]],[[{"name":"icon_dian","rect":[0,0,49,49],"offset":[0,0],"originalSize":[49,49],"capInsets":[0,0,0,0]}],[0],0,[0],[2],[16]],[[{"name":"bg_quan_lan","rect":[34,35,100,100],"offset":[-1,0],"originalSize":[170,170],"capInsets":[0,0,0,0]}],[0],0,[0],[2],[17]],[[{"name":"bg_quan","rect":[0,0,170,100],"offset":[0,0],"originalSize":[170,100],"capInsets":[31,31,31,31]}],[0],0,[0],[2],[18]],[[[24,"tips",0.5,40,2,{"props":{"opacity":[{"frame":0,"value":255,"curve":"cubicIn"},{"frame":0.25,"value":0,"curve":"cubicIn"},{"frame":0.5,"value":255}]}}]],0,0,[],[],[]],[[{"name":"icon_stop","rect":[0,0,42,25],"offset":[0,0],"originalSize":[42,25],"capInsets":[0,0,0,0]}],[0],0,[0],[2],[19]],[[{"name":"icon_tips","rect":[0,0,46,67],"offset":[0,0],"originalSize":[46,67],"capInsets":[0,0,0,0]}],[0],0,[0],[2],[20]],[[{"name":"btn_x","rect":[0,0,34,34],"offset":[0,0],"originalSize":[34,34],"capInsets":[0,0,0,0]}],[0],0,[0],[2],[21]],[[{"name":"bg_bottom","rect":[0,0,351,93],"offset":[0,0],"originalSize":[351,93],"capInsets":[0,0,0,0]}],[0],0,[0],[2],[22]],[[[25,"提示",".mp3",1.7487],-1],0,0,[],[],[]]]]
\ No newline at end of file
[1,["ecpdLyjvZBwrvm+cedCcQy","65mJJDA61FcolKwdRxLOgs","c3H4Hzg9tLRqXDozVywS5/","2c59WNtv5O96Eo3nb2cqgD","b9PeKj6tVKS7J0IeGg1jxY","887AVyKrhPTK8ND133qWil","d5yS2hQk1JiLVdSupkB84u","60apvKpHJCLqjXpX/kouBX","98ZjcIfq1M+7ws0VxEZSxh","e5T6qVbndI94w3sdv/Znwb","95QFuuwFZDaJPcgJ4bPtYc","98jaJamRFG4YSe4jOqVVgn","11FtUjwdBPs6isc7gNtsEM","c2YOfTmqdGypn1fKXzH3/v","48Ezf1pjVCN4pnejf9WfEZ","75RqMzHYtMOqaZskYz2YfT","24JLpmId9IRbSo6hRB65GT","397xk5O/lNIaZ6vB3t5SGp","dcGvi65s9Lvr15VA2Ysg5o","17NOlyhqlHZr3Oe8x5NEXF","b5ogPZnW5AIKqbKLFRHiAz","bb6ljgkrdMFICLw+sx5rft","c62iEUrNZPi4f+Wyt9WgLb","36C+u4ix1EgayWvV179Hq+","58+Z76LCRAGLicXK5k3Vx0","d5409Z4OxF94C3Z5OnAi39"],["node","_spriteFrame","_textureSetter","_parent","_N$target","hitPre","btn_audio","movepageNode","pageNumNode","rightNode","leftNode","picTempNode","picNode","btn2","btn1","btn0","scene","btnClip"],[["cc.Node",["_name","_active","_id","_opacity","_contentSize","_parent","_components","_trs","_children","_anchorPoint","_color"],-1,5,1,9,7,2,5,5],"cc.SpriteFrame",["cc.Widget",["_alignFlags","_top","_right","_left","_originalWidth","_originalHeight","node"],-3,1],["cc.Button",["zoomScale","_N$transition","node","clickEvents","_N$target"],1,1,9,1],["cc.Sprite",["_srcBlendFactor","_sizeMode","node","_materials","_spriteFrame"],1,1,3,6],["cc.AudioClip",["_name","_native","duration"],0],["cc.SceneAsset",["_name","asyncLoadAssets"],1],["cc.Node",["_name","_parent","_children","_components","_contentSize","_trs"],2,1,12,9,5,7],["cc.Canvas",["_fitHeight","node","_designResolution"],2,1,5],["c238bwNxXtAHqIXQECY4nQz",["node","picNode","picTempNode","leftNode","rightNode","pageNumNode","movepageNode","btn_audio","btnClip"],3,1,1,1,1,1,1,1,1,6],["5bb7aCdT2RLSYYLIb2z0J6C",["node","btn0","btn1","btn2"],3,1,1,1,1],["cc.ClickEvent",["_componentId","handler","target"],1,1],["fccd421MOxLZq6iwp/QwDAf",["node","borders","hitPre"],3,1,2,6],["cc.Scene",["_name","_active","autoReleaseAssets","_children","_anchorPoint","_trs"],0,2,5,7],["cc.Camera",["_clearFlags","_depth","node"],1,1],["cc.Label",["_string","_N$horizontalAlign","_N$verticalAlign","node","_materials"],0,1,3]],[[4,2,3,4,1],[0,0,5,6,4,7,2],[0,0,5,6,4,2],[0,0,1,5,6,4,9,7,3],[11,0,1,2,3],[0,0,5,8,6,4,7,2],[0,0,1,5,6,4,7,3],[7,0,1,2,3,4,5,2],[2,0,6,2],[3,0,1,2,3,3],[12,0,1,2,1],[4,0,1,2,3,3],[5,0,1,2,4],[6,0,1,3],[0,0,2,8,6,4,7,3],[0,0,5,4,9,7,2],[0,0,5,7,2],[0,0,1,5,8,6,4,7,3],[0,0,3,5,6,4,7,3],[0,0,5,6,10,4,2],[0,0,1,5,6,4,3],[8,0,1,2,2],[2,0,2,1,6,4],[2,0,3,2,1,4,6,6],[2,0,3,1,6,4],[2,0,4,5,6,4],[9,0,1,2,3,4,5,6,7,8,1],[10,0,1,2,3,1],[3,2,3,4,1],[3,2,4,1],[4,0,1,2,3,4,3],[13,0,1,2,3,4,5,4],[14,0,1,2,3],[15,0,1,2,3,4,4]],[[[{"name":"btn_audio-play3","rect":[0,0,82,65],"offset":[0,0],"originalSize":[82,65],"capInsets":[0,0,0,0]}],[1],0,[0],[2],[4]],[[{"name":"bg_number0","rect":[0,0,138,48],"offset":[0,0],"originalSize":[138,48],"capInsets":[0,0,0,0]}],[1],0,[0],[2],[5]],[[[12,"按钮",".mp3",0.130612],-1],0,0,[],[],[]],[[{"name":"btn_last","rect":[0,0,64,68],"offset":[0,0],"originalSize":[64,68],"capInsets":[0,0,0,0]}],[1],0,[0],[2],[6]],[[[13,"Book_Read",null],[14,"Canvas","a5esZu+45LA5mBpvttspPD",[-11,-12,-13,-14,-15,-16,-17,-18,-19,-20,-21,-22],[[21,false,-1,[5,1280,720]],[8,45,-2],[26,-10,-9,-8,-7,-6,-5,-4,-3,37]],[5,1280,720],[640,360,0,0,0,0,1,1,1,1]],[5,"btn_audio",1,[-29,-30,-31],[[27,-26,-25,-24,-23],[28,-28,[[4,"c238bwNxXtAHqIXQECY4nQz","onClickAudio",1]],-27]],[5,82,65],[0,-325.423,0,0,0,0,1,1,1,1]],[7,"pic",1,[[-35,[15,"items",-36,[5,720,720],[0,0,1],[-360,360,0,0,0,0,1,1,1,1]],-37,-38],1,4,1,1],[[10,-34,[-32,-33],21]],[5,1280,720],[0,0,0,0,0,0,1,1,1,0]],[7,"pic_temp",1,[[-42,[16,"items",-43,[1274,0,0,0,0,0,1,1,1,1]],-44,-45],1,4,1,1],[[10,-41,[-39,-40],27]],[5,1280,720],[-1280,0,0,0,0,0,1,1,1,0]],[17,"bottomPart",false,1,[-47,-48,-49],[[8,36,-46]],[5,351,91],[464.5,-314.5,0,0,0,0,1,1,1,1]],[5,"page_num",1,[-52],[[0,-50,[35],36],[22,33,1.8110000000000355,8.937000000000012,-51]],[5,138,48],[569.189,327.063,0,0,0,0,1,1,1,1]],[2,"movepage",1,[[29,-54,-53]],[5,1280,720]],[6,"btn_left",false,5,[[9,1.1,3,-55,[[4,"c238bwNxXtAHqIXQECY4nQz","onClickLeft",1]]],[0,-56,[30],31]],[5,64,68],[42.455,-7.606,0,0,0,0,1,1,1,0]],[6,"btn_right",false,5,[[9,1.1,3,-57,[[4,"c238bwNxXtAHqIXQECY4nQz","onClickRight",1]]],[0,-58,[32],33]],[5,64,68],[135.449,-6.961,0,0,0,0,1,1,1,0]],[1,"bg_top",1,[[0,-59,[4],5],[23,41,-27,-27,-20,1334,-60]],[5,1334,132],[0,314,0,0,0,0,1,1,1,1]],[18,"btn_return0",0,1,[[0,-61,[8],9],[24,9,6.013000000000034,3.52800000000002,-62]],[5,82,65],[-601.187,330.472,0,0,0,0,1,0.8,0.8,1]],[1,"0",2,[[0,-63,[10],11]],[5,82,65],[0,0.107,0,0,0,0,1,1,1,1]],[1,"1",2,[[0,-64,[12],13]],[5,82,65],[0,0.083,0,0,0,0,1,1,1,1]],[1,"2",2,[[0,-65,[14],15]],[5,82,65],[0,0.107,0,0,0,0,1,1,1,1]],[2,"icon",3,[[11,1,0,-66,[16]],[25,45,636,396,-67]],[5,1280,720]],[3,"bg_move",false,3,[[0,-68,[17],18]],[5,14,720],[0,1,0.5],[-639.807,0,0,0,0,0,1,1,1,1]],[3,"bg_move",false,3,[[0,-69,[19],20]],[5,14,720],[0,0,0.5],[640.413,0,0,0,0,0,1,1,1,1]],[3,"bg_move",false,4,[[0,-70,[23],24]],[5,14,720],[0,1,0.5],[-626,0,0,0,0,0,1,1,1,1]],[3,"bg_move",false,4,[[0,-71,[25],26]],[5,14,720],[0,0,0.5],[626,0,0,0,0,0,1,1,1,1]],[31,"New Node",false,true,[1],[0,0,0],[0,0,0,0,0,0,1,1,1,1]],[1,"Main Camera",1,[[32,7,-1,-72]],[5,1280,720],[0,0,362.85545494732423,0,0,0,1,1,1,1]],[19,"bg",1,[[30,1,0,-73,[0],1]],[4,4294636517],[5,1280,720]],[2,"bg_bg",1,[[0,-74,[2],3]],[5,1280,720]],[1,"bg_book",1,[[0,-75,[6],7]],[5,1160,700],[0,4.06,0,0,0,0,1,1,1,1]],[1,"icon",4,[[11,1,0,-76,[22]]],[5,1266,706],[0,0,0,0,0,0,1,1,1,0]],[20,"bg_bottom",false,5,[[0,-77,[28],29]],[5,351,93]],[2,"text",6,[[33,"0/3",1,1,-78,[34]]],[5,55.61,50.4]]],0,[0,0,1,0,0,1,0,6,2,0,7,7,0,8,6,0,9,9,0,10,8,0,11,4,0,12,3,0,0,1,0,-1,21,0,-2,22,0,-3,23,0,-4,10,0,-5,24,0,-6,7,0,-7,11,0,-8,2,0,-9,3,0,-10,4,0,-11,5,0,-12,6,0,13,14,0,14,13,0,15,12,0,0,2,0,4,2,0,0,2,0,-1,12,0,-2,13,0,-3,14,0,-1,16,0,-2,17,0,0,3,0,-1,15,0,3,3,0,-3,16,0,-4,17,0,-1,18,0,-2,19,0,0,4,0,-1,25,0,3,4,0,-3,18,0,-4,19,0,0,5,0,-1,26,0,-2,8,0,-3,9,0,0,6,0,0,6,0,-1,27,0,4,7,0,0,7,0,0,8,0,0,8,0,0,9,0,0,9,0,0,10,0,0,10,0,0,11,0,0,11,0,0,12,0,0,13,0,0,14,0,0,15,0,0,15,0,0,16,0,0,17,0,0,18,0,0,19,0,0,21,0,0,22,0,0,23,0,0,24,0,0,25,0,0,26,0,0,27,0,16,20,1,3,20,78],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[-1,1,-1,1,-1,1,-1,1,-1,1,-1,1,-1,1,-1,1,-1,-1,1,-1,1,5,-1,-1,1,-1,1,5,-1,1,-1,1,-1,1,-1,-1,1,17],[0,2,0,2,0,7,0,8,0,9,0,10,0,11,0,12,0,0,1,0,1,3,0,0,1,0,1,3,0,13,0,14,0,15,0,0,16,17]],[[{"name":"bg_background0","rect":[0,0,1334,132],"offset":[0,0],"originalSize":[1334,132],"capInsets":[0,0,0,0]}],[1],0,[0],[2],[18]],[[{"name":"bg_move","rect":[0,0,14,720],"offset":[0,0],"originalSize":[14,720],"capInsets":[0,22,0,33]}],[1],0,[0],[2],[19]],[[{"name":"btn_next","rect":[0,0,64,68],"offset":[0,0],"originalSize":[64,68],"capInsets":[0,0,0,0]}],[1],0,[0],[2],[20]],[[{"name":"btn_audio-play1","rect":[0,0,82,65],"offset":[0,0],"originalSize":[82,65],"capInsets":[0,0,0,0]}],[1],0,[0],[2],[21]],[[{"name":"bg_book0","rect":[0,0,1160,700],"offset":[0,0],"originalSize":[1160,700],"capInsets":[0,0,0,0]}],[1],0,[0],[2],[22]],[[{"name":"btn_audio-play2","rect":[0,0,82,65],"offset":[0,0],"originalSize":[82,65],"capInsets":[0,0,0,0]}],[1],0,[0],[2],[23]],[[{"name":"bg_bg","rect":[0,0,1280,720],"offset":[0,0],"originalSize":[1280,720],"capInsets":[0,0,0,0]}],[1],0,[0],[2],[24]],[[{"name":"btn_return0","rect":[0,0,82,65],"offset":[0,0],"originalSize":[82,65],"capInsets":[0,0,0,0]}],[1],0,[0],[2],[25]]]]
\ No newline at end of file
window.__require=function t(e,i,n){function o(a,r){if(!i[a]){if(!e[a]){var s=a.split("/");if(s=s[s.length-1],!e[s]){var d="function"==typeof __require&&__require;if(!r&&d)return d(s,!0);if(c)return c(s,!0);throw new Error("Cannot find module '"+a+"'")}a=s}var h=i[a]={exports:{}};e[a][0].call(h.exports,function(t){return o(e[a][1][t]||t)},h,h.exports,t,e,i,n)}return i[a].exports}for(var c="function"==typeof __require&&__require,a=0;a<n.length;a++)o(n[a]);return o}({Book_Read:[function(t,e){"use strict";function i(t,e){var i;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(i=n(t))||e&&t&&"number"==typeof t.length){i&&(t=i);var o=0;return function(){return o>=t.length?{done:!0}:{done:!1,value:t[o++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(i=t[Symbol.iterator]()).next.bind(i)}function n(t,e){if(t){if("string"==typeof t)return o(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?o(t,e):void 0}}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}cc._RF.push(e,"c238bwNxXtAHqIXQECY4nQz","Book_Read"),cc.Class({extends:cc.Component,properties:{picNode:{type:cc.Node,default:null},picTempNode:{type:cc.Node,default:null},leftNode:{type:cc.Node,default:null},rightNode:{type:cc.Node,default:null},pageNumNode:{type:cc.Node,default:null},movepageNode:{type:cc.Node,default:null},btn_audio:{type:cc.Node,default:null},btnClip:cc.AudioClip},onLoad:function(){this.initSceneData(),this.initSize()},_imageResList:null,_audioResList:null,_animaResList:null,initSceneData:function(){this._imageResList=[],this._audioResList=[],this._animaResList=[]},_designSize:null,_frameSize:null,_mapScaleMin:null,_mapScaleMax:null,_cocosScale:null,initSize:function(){var t=cc.view.getFrameSize().width/cc.view.getFrameSize().height>=cc.Canvas.instance.designResolution.width/cc.Canvas.instance.designResolution.height;cc.Canvas.instance.fitHeight=t,cc.Canvas.instance.fitWidth=!t;var e=cc.view.getFrameSize();this._frameSize=e,this._designSize=cc.view.getDesignResolutionSize();var i=cc.winSize.width/e.width,n=cc.winSize.height/e.height;this._cocosScale=Math.min(i,n),i=e.width/this._designSize.width,n=e.height/this._designSize.height,this._mapScaleMin=Math.min(i,n)*this._cocosScale,this._mapScaleMax=Math.max(i,n)*this._cocosScale},start:function(){var t=this,e=this.getData.bind(this);window&&window.courseware&&(e=window.courseware.getData),e(function(e){console.log("data:",e),t.data=e&&e.length?e:t.getDefaultData(),t.data=JSON.parse(JSON.stringify(t.data)),t.preloadItem()}),this.picNode.opacity=0,this.leftNode.active=!1,this.rightNode.active=!1},onEnable:function(){cc.systemEvent.on("playAudio",this.onPlayAudio,this)},onDisable:function(){cc.systemEvent.off("playAudio",this.onPlayAudio,this)},getData:function(t){t(this.getDefaultData())},getDefaultData:function(){return JSON.parse(' [{"bgItem":{"url":"http://staging-teach.cdn.ireadabc.com/a962378295f3deb54e9f9329d59aa909.jpg","rect":{"x":427.1,"y":0,"width":1534.81,"height":892}},"hotZoneItemArr":[{"id":"1634813643232","index":0,"audio_url":"http://staging-teach.cdn.ireadabc.com/0b42398a12e1b2f075e9965e4d608765.mp3","itemType":"rect","fontScale":1.86640625,"imgScale":1,"mapScale":1.86640625,"gIdx":"0","useHand":true,"useBorder":true,"rect":{"x":108.92,"y":450.35,"width":290.08,"height":290.08}},{"id":"1634813702995","index":1,"itemType":"rect","fontScale":1.86640625,"imgScale":1,"mapScale":1.86640625,"gIdx":"0","useHand":true,"useBorder":true,"rect":{"x":493.28,"y":408.29,"width":290.08,"height":290.08}},{"id":"1634813712642","index":2,"audio_url":"http://staging-teach.cdn.ireadabc.com/784cd4188bf126d6c3c9395d9a807619.mp3","itemType":"rect","fontScale":1.86640625,"imgScale":1,"mapScale":1.86640625,"gIdx":"0","useHand":true,"useBorder":true,"rect":{"x":789.18,"y":469.21,"width":290.08,"height":290.08}}]},{"bgItem":{"url":"http://staging-teach.cdn.ireadabc.com/281406244e10356325f075522f016ceb.jpg","rect":{"x":427.1,"y":0,"width":1534.81,"height":892}},"hotZoneItemArr":[{"id":"1634813750668","index":0,"itemType":"rect","fontScale":1.86640625,"imgScale":1,"mapScale":1.86640625,"gIdx":"0","useHand":true,"useBorder":true,"rect":{"x":637.6,"y":419.17,"width":100.08,"height":100.08}},{"id":"1634813772152","index":1,"itemType":"rect","fontScale":1.86640625,"imgScale":1,"mapScale":1.86640625,"gIdx":"0","useHand":true,"useBorder":true,"rect":{"x":791.35,"y":398.86,"width":85.57,"height":85.57}},{"id":"1634813784384","index":2,"itemType":"rect","fontScale":1.86640625,"imgScale":1,"mapScale":1.86640625,"gIdx":"0","useHand":true,"useBorder":true,"rect":{"x":898.68,"y":374.21,"width":82.67,"height":82.67}},{"id":"1634813800497","index":3,"itemType":"rect","fontScale":1.86640625,"imgScale":1,"mapScale":1.86640625,"gIdx":"0","useHand":true,"useBorder":true,"rect":{"x":1030.67,"y":342.3,"width":73.97,"height":73.97}}]},{"bgItem":{"url":"http://staging-teach.cdn.ireadabc.com/562f741288227a9a36a7ce63a152278e.jpg","rect":{"x":288.4,"y":0,"width":1058.19,"height":615}},"hotZoneItemArr":[{"id":"1634813836558","index":0,"audio_url":"http://staging-teach.cdn.ireadabc.com/7c1d1540233b6d050eae8215679104a8.mp3","itemType":"rect","fontScale":1.27734375,"imgScale":1,"mapScale":1.27734375,"gIdx":"1","useHand":true,"useBorder":true,"rect":{"x":9.6,"y":305,"width":69,"height":69}},{"id":"1634813857964","index":1,"audio_url":"http://staging-teach.cdn.ireadabc.com/495324991838775e49e3ca6593d432c9.mp3","itemType":"rect","fontScale":1.27734375,"imgScale":1,"mapScale":1.27734375,"gIdx":"1","useHand":true,"useBorder":true,"rect":{"x":115.6,"y":303,"width":67,"height":67}},{"id":"1634813868736","index":2,"audio_url":"http://staging-teach.cdn.ireadabc.com/3d0fea61d5d97f3caf04a9b738a0291b.mp3","itemType":"rect","fontScale":1.27734375,"imgScale":1,"mapScale":1.27734375,"gIdx":"1","useHand":true,"useBorder":true,"rect":{"x":209.6,"y":290,"width":65,"height":65}}]}]')},preloadItem:function(){this.addPreload(),this.preload()},addPreload:function(){for(var t,e=0;e<this.data.length;e++)if((t=this.data[e]).bgItem){this._imageResList.push({url:t.bgItem.url});for(var n,o=i(t.hotZoneItemArr);!(n=o()).done;){var c=n.value;c.pic_url&&this._imageResList.push({url:c.pic_url}),c.audio_url&&this._audioResList.push({url:c.audio_url})}}else this.data.splice(e,1)},preload:function(){var t=this,e=this._imageResList.concat(this._audioResList).concat(this._animaResList);cc.assetManager.loadAny(e,null,null,function(){t.loadEnd(),window&&window.air&&window.air.hideAirClassLoading(),cc.debug.setDisplayStats(!1)})},loadEnd:function(){this.initData(),this.initView()},_cantouch:null,initData:function(){this._cantouch=!0},initView:function(){this.initBg(),this.initPic(),this.initEvent()},initEvent:function(){this.movepageNode.on(cc.Node.EventType.TOUCH_END,this.onTouchEnd,this),cc.systemEvent.on("stopAutoPlay",this.stopAll,this)},initBg:function(){cc.find("Canvas/bg").scale=this._mapScaleMax},initPic:function(){this.picNode.opacity=0,cc.Tween.stopAllByTarget(this.picNode),cc.tween(this.picNode).to(1,{opacity:255},{easing:"cubicInOut"}).start(),this.curPage=0,1==this.data.length?(this.leftNode.active=!1,this.rightNode.active=!1):(this.leftNode.active=!1,this.rightNode.active=!0),this.setContent(this.picNode,this.data[0])},curPage:null,onTouchEnd:function(t){var e=t.touch,i=e.getStartLocation(),n=e.getLocation().x-i.x;n<-100?this.onClickRight():n>100&&this.onClickLeft()},onClickRight:function(){this._cantouch&&(this.curPage+=1,this.curPage==this.data.length&&(this.curPage=0),1==this.curPage&&(this.leftNode.active=!0,this.leftNode.scale=1),this.curPage==this.data.length-1&&(this.rightNode.active=!1),this.leftMove(),cc.audioEngine.play(this.btnClip,!1,.5))},onClickLeft:function(){this._cantouch&&(this.curPage-=1,this.curPage<0&&(this.curPage=2),0==this.curPage&&(this.leftNode.active=!1),this.curPage==this.data.length-2&&(this.rightNode.active=!0,this.rightNode.scale=1),this.rightMove(),cc.audioEngine.play(this.btnClip,!1,.8))},onClickAudio:function(){this.isPlaying?this.stopAll():this.playAll()},playAll:function(){this.isPlaying=!0,this.btn_audio.getComponent("btn_loop").startPlay(),this.picNode.getComponent("picNode").autoTouchAll()},stopAll:function(){this.isPlaying=!1,this.btn_audio.getComponent("btn_loop").stopPlay(),this.picNode.getComponent("picNode").stopTouchAll()},leftMove:function(){var t=this;this.stopAudio(),this._cantouch=!1;var e=cc.winSize.width+64;this.picNode.x=0,this.picTempNode.x=e,this.setContent(this.picTempNode,this.data[this.curPage]),cc.tween(this.picNode).to(1,{x:-e},{easing:"cubicInOut"}).start(),cc.tween(this.picTempNode).to(1,{x:0},{easing:"cubicInOut"}).call(function(){var e=t.picNode;t.picNode=t.picTempNode,t.picTempNode=e,t._cantouch=!0}).start()},rightMove:function(){var t=this;this.stopAudio(),this._cantouch=!1;var e=cc.winSize.width+64;this.picNode.x=0,this.picTempNode.x=-e,this.setContent(this.picTempNode,this.data[this.curPage]),cc.tween(this.picNode).to(1,{x:e},{easing:"cubicInOut"}).start(),cc.tween(this.picTempNode).to(1,{x:0},{easing:"cubicInOut"}).call(function(){var e=t.picNode;t.picNode=t.picTempNode,t.picTempNode=e,t._cantouch=!0}).start()},stopAudio:function(){cc.systemEvent.emit("stopMusic")},setContent:function(t,e){if(e){var i=e.hotZoneItemArr.every(function(t){return!t.audio_url});this.btn_audio.active=!i,t.getComponent("picNode").initWithData(e)}else console.log("\u6570\u636e\u9519\u8bef")},update:function(){this.pageNumNode.getChildByName("text").getComponent(cc.Label).string=this.curPage%this.data.length+1+"/"+this.data.length}}),cc._RF.pop()},{}],NewScript:[function(t,e,i){"use strict";cc._RF.push(e,"81db34s2BVIkad9VlHVTckt","NewScript");var n,o=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(t,e)},function(t,e){function i(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),c=this&&this.__decorate||function(t,e,i,n){var o,c=arguments.length,a=c<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,i,n);else for(var r=t.length-1;r>=0;r--)(o=t[r])&&(a=(c<3?o(a):c>3?o(e,i,a):o(e,i))||a);return c>3&&a&&Object.defineProperty(e,i,a),a};Object.defineProperty(i,"__esModule",{value:!0});var a=cc._decorator,r=a.ccclass,s=a.property,d=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.label=null,e.text="hello",e}return o(e,t),e.prototype.start=function(){cc.color(),this.node.off(cc.Node.EventType.MOUSE_DOWN),cc.systemEvent.emit("stopMusic")},e.prototype.onEnable=function(){this.node.removeAllChildren()},c([s(cc.Label)],e.prototype,"label",void 0),c([s],e.prototype,"text",void 0),c([r],e)}(cc.Component);i.default=d,cc._RF.pop()},{}],btn_loop:[function(t,e){"use strict";cc._RF.push(e,"5bb7aCdT2RLSYYLIb2z0J6C","btn_loop"),cc.Class({extends:cc.Component,properties:{btn0:cc.Node,btn1:cc.Node,btn2:cc.Node},onLoad:function(){this.isPlaying=!1,this.count=-1},startPlay:function(){this.isPlaying=!0},stopPlay:function(){this.isPlaying=!1},start:function(){},update:function(){this.isPlaying?(this.count/20%3==0?(this.btn0.active=!0,this.btn1.active=!1,this.btn2.active=!1):this.count/20%3==1?(this.btn0.active=!1,this.btn1.active=!0,this.btn2.active=!1):this.count/20%3==2&&(this.btn0.active=!1,this.btn1.active=!1,this.btn2.active=!0),this.count=this.count+1):(this.btn0.active=!1,this.btn1.active=!1,this.btn2.active=!0)}}),cc._RF.pop()},{}],btn_rotate:[function(t,e){"use strict";cc._RF.push(e,"d7912kM6VxIgoOHkOzKc7g4","btn_rotate"),cc.Class({extends:cc.Component,properties:{},onLoad:function(){this.node},play:function(){var t=cc.repeatForever(cc.sequence(cc.rotateTo(.1,-5),cc.rotateTo(.1,0),cc.rotateTo(.1,5),cc.rotateTo(.1,0),cc.rotateTo(.1,-5),cc.rotateTo(.1,0),cc.rotateTo(.1,5),cc.rotateTo(.1,0),cc.rotateTo(.1,0),cc.rotateTo(.1,0),cc.rotateTo(.1,0),cc.rotateTo(.1,0)));this.node.runAction(t)},stop:function(){this.node.stopAllActions()},start:function(){},update:function(){}}),cc._RF.pop()},{}],defaultData:[function(t,e,i){"use strict";cc._RF.push(e,"c41b05RVddEPK86siw92bnl","defaultData"),i.__esModule=!0,i.defaultData=void 0,i.defaultData={pic_url:"http://staging-teach.cdn.ireadabc.com/ed94332a503c31e0908bd4c6923a2665.png",pic_url_2:"http://staging-teach.cdn.ireadabc.com/5fb60317ade0195d35ad8034d5370a7f.png",text:"This is a test label.",audio_url:"http://staging-teach.cdn.ireadabc.com/f47f1d7b5c160fe1c59500d180346240.mp3"},cc._RF.pop()},{}],hitItem:[function(t,e){"use strict";function i(t,e){var i;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(i=n(t))||e&&t&&"number"==typeof t.length){i&&(t=i);var o=0;return function(){return o>=t.length?{done:!0}:{done:!1,value:t[o++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(i=t[Symbol.iterator]()).next.bind(i)}function n(t,e){if(t){if("string"==typeof t)return o(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?o(t,e):void 0}}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}cc._RF.push(e,"57f79KAb0tNU7HjHMpUOk2e","hitItem");var c,a=t("../script/tools");cc.Class({extends:cc.Component,properties:{quan:cc.Node,tipsAnim:cc.Animation,handAnim:cc.Animation,hand:cc.Node,sprite:cc.Sprite,tipClip:cc.AudioClip,btnX:cc.Node,icon_play:cc.Node,icon_stop:cc.Node,quan_lan:cc.SpriteFrame,quan_huang:cc.SpriteFrame},data:null,onLoad:function(){this._playing=!1,this.quan.active=!1,this.tipsAnim.node.active=!1,this.hand.active=!1,this.icon_stop.active=!1},onEnable:function(){this.node.on(cc.Node.EventType.TOUCH_START,this.onTouchStart,this)},onDisable:function(){this.node.off(cc.Node.EventType.TOUCH_START,this.onTouchStart,this)},initWithData:function(t,e){this.data=t;var n=this.data.rect;this.node.x=(n.x+n.width/2)/e,this.node.y=(-n.y-n.height/2)/e,this.node.width=n.width/e*.8,this.node.height=n.height/e*.8,this.sprite.node.active=!1,t.useHand&&(this.hand.active=!0,this.hand.getComponent("btn_rotate").play());for(var o,c=i(this.getComponentsInChildren(cc.Widget));!(o=c()).done;)o.value.updateAlignment();this.audioId=null},onTouchStart:function(){var t=this;return new Promise(function(e){if(!t.data.audio_url)return t.hand.active=!1,t.stopAudio(),void(t.data.useBorder&&(t.quan.active=!0));if(t._playing||t.audioId){if(t._playing=!1,t.icon_play.active=!0,t.icon_stop.active=!1,!t.audioId)return;return cc.audioEngine.stop(t.audioId),void(t.audioId=null)}if(t.data&&(t.quan.getComponent(cc.Sprite).spriteFrame=t.quan_lan,t.icon_stop.active=!0,t.icon_play.active=!1,t.data.pic_url&&0==t.data.gIdx&&a.getSpriteFrimeByUrl(t.data.pic_url,function(e){t.sprite.spriteFrame=e,t.sprite.node.width=t.node.width,t.sprite.node.height=t.node.height,t.sprite.node.active=!0}),t.data.useBorder&&(t.quan.active=!0),t.hand.getComponent("btn_rotate").stop(),t.hand.active=!1,c=t,!t._playing)){if(t._playing=!0,cc.systemEvent.once("stopMusic",t.onStopAudio,t),c!=t)return void(t._playing=!1);var i=t.data.audio_url;i&&""!=i?t.playAudio(i):t._playing=!1}t.timer&&clearInterval(t.timer),t.timer=setInterval(function(){t._playing||(t.timer&&clearInterval(t.timer),t.timer=null,e(""))},60)})},onClickHide:function(){this.sprite.node.active=!1,this.hideBox()},hideBox:function(){this.quan.active=!1,this.icon_stop.active=!1,this.stopAudio()},playAudio:function(t){var e=this;cc.assetManager.loadRemote(t,function(t,i){t||e._playing&&(e.audioId=cc.audioEngine.play(i,!1,.8),cc.audioEngine.setFinishCallback(e.audioId,e.stopAudio.bind(e)))})},onStopAudio:function(){this._playing=!1,this.stopAudio()},stopAudio:function(){this._playing=!1,null!=this.audioId&&(cc.audioEngine.stop(this.audioId),this.audioId=null),this.quan.getComponent(cc.Sprite).spriteFrame=this.quan_huang,this.icon_stop.active=!1,cc.systemEvent.off("stopMusic",this.onStopAudio,this)},audioId:null}),cc._RF.pop()},{"../script/tools":"tools"}],picNode:[function(t,e){"use strict";function i(t,e){var i;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(i=n(t))||e&&t&&"number"==typeof t.length){i&&(t=i);var o=0;return function(){return o>=t.length?{done:!0}:{done:!1,value:t[o++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(i=t[Symbol.iterator]()).next.bind(i)}function n(t,e){if(t){if("string"==typeof t)return o(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?o(t,e):void 0}}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}cc._RF.push(e,"fccd421MOxLZq6iwp/QwDAf","picNode");var c=t("../script/tools");cc.Class({extends:cc.Component,properties:{hitPre:cc.Prefab,borders:[cc.Node]},onLoad:function(){this._hitItem=[],this._items=this.node.getChildByName("items"),this._sprite=this.getComponentInChildren(cc.Sprite),this.borders[0].active=!1,this.borders[1].active=!1},initWithData:function(t){var e=this;this.clearItems(),c.getSpriteFrimeByUrl(t.bgItem.url,function(n){var o,c=n.getRect(),a=c.width/c.height,r=cc.size(1084,630),s=r.width/r.height;if(a<s){a=c.height/r.height;var d=c.width/a;e.node.width=d,e.node.height=r.height}else a>s?(a=c.width/r.width,e.node.height=c.height/a,e.node.width=r.width):(a=c.width/r.width,e.node.width=r.width,e.node.height=r.height);e._sprite.spriteFrame=n,e._sprite.node.width=e.node.width,e._sprite.node.height=e.node.height,e._items.width=e.node.width,e._items.height=e.node.height,e._items.x=-e.node.width/2,e._sprite.node.y=30,e._items.y=e.node.height/2+e._sprite.node.y,a=t.bgItem.rect.width/e.node.width;for(var h,u=i(t.hotZoneItemArr);!(h=u()).done;){var l=h.value;o=cc.instantiate(e.hitPre),e._items.addChild(o),o.getComponent("hitItem").initWithData(l,a),e._hitItem.push(o)}})},autoTouchAll:function(){this.autoPlay||(this.autoPlay=!0,this.items=this._items.children,this.count=0,this.play())},play:function(){var t=this;if(!this.autoPlay)return cc.systemEvent.emit("stopAutoPlay");var e=this.items[this.count++];if(!e)return cc.systemEvent.emit("stopAutoPlay");e.getComponent("hitItem").onTouchStart().then(function(){t.play()})},stopTouchAll:function(){this.autoPlay&&(this.autoPlay=!1,cc.systemEvent.emit("stopMusic"))},clearItems:function(){this._items.removeAllChildren(!0),this._hitItem.length=0}}),cc._RF.pop()},{"../script/tools":"tools"}],tools:[function(t,e){"use strict";cc._RF.push(e,"689472Q4ERI/4vOZw24YzaB","tools");var i={getSpriteFrimeByUrl:function(t,e){cc.loader.load({url:t},function(t,i){var n=new cc.SpriteFrame(i);e&&e(n)})}};e.exports=i,cc._RF.pop()},{}]},{},["Book_Read","hitItem","picNode","NewScript","btn_loop","btn_rotate","defaultData","tools"]);
\ No newline at end of file
window.__require=function t(e,i,n){function o(c,r){if(!i[c]){if(!e[c]){var s=c.split("/");if(s=s[s.length-1],!e[s]){var l="function"==typeof __require&&__require;if(!r&&l)return l(s,!0);if(a)return a(s,!0);throw new Error("Cannot find module '"+c+"'")}c=s}var h=i[c]={exports:{}};e[c][0].call(h.exports,function(t){return o(e[c][1][t]||t)},h,h.exports,t,e,i,n)}return i[c].exports}for(var a="function"==typeof __require&&__require,c=0;c<n.length;c++)o(n[c]);return o}({Book_Read:[function(t,e){"use strict";function i(t,e){var i;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(i=n(t))||e&&t&&"number"==typeof t.length){i&&(t=i);var o=0;return function(){return o>=t.length?{done:!0}:{done:!1,value:t[o++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(i=t[Symbol.iterator]()).next.bind(i)}function n(t,e){if(t){if("string"==typeof t)return o(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?o(t,e):void 0}}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}cc._RF.push(e,"f3d0dsNiwBNiI2iHXJ2myfc","Book_Read"),cc.Class({extends:cc.Component,properties:{picNode:{type:cc.Node,default:null},picTempNode:{type:cc.Node,default:null},leftNode:{type:cc.Node,default:null},rightNode:{type:cc.Node,default:null},pageNumNode:{type:cc.Node,default:null},movepageNode:{type:cc.Node,default:null},btn_audio:{type:cc.Node,default:null},btnClip:cc.AudioClip},onLoad:function(){this.initSceneData(),this.initSize()},_imageResList:null,_audioResList:null,_animaResList:null,initSceneData:function(){this._imageResList=[],this._audioResList=[],this._animaResList=[]},_designSize:null,_frameSize:null,_mapScaleMin:null,_mapScaleMax:null,_cocosScale:null,initSize:function(){var t=cc.view.getFrameSize().width/cc.view.getFrameSize().height>=cc.Canvas.instance.designResolution.width/cc.Canvas.instance.designResolution.height;cc.Canvas.instance.fitHeight=t,cc.Canvas.instance.fitWidth=!t;var e=cc.view.getFrameSize();this._frameSize=e,this._designSize=cc.view.getDesignResolutionSize();var i=cc.winSize.width/e.width,n=cc.winSize.height/e.height;this._cocosScale=Math.min(i,n),i=e.width/this._designSize.width,n=e.height/this._designSize.height,this._mapScaleMin=Math.min(i,n)*this._cocosScale,this._mapScaleMax=Math.max(i,n)*this._cocosScale},start:function(){var t=this,e=this.getData.bind(this);window&&window.courseware&&(e=window.courseware.getData),e(function(e){e?e.data?t.data=e.data:t.data=e:t.data=t.getDefaultData(),t.data=JSON.parse(JSON.stringify(t.data)),t.preloadItem()}),this.picNode.opacity=0,this.leftNode.active=!1,this.rightNode.active=!1},onEnable:function(){cc.systemEvent.on("playAudio",this.onPlayAudio,this)},onDisable:function(){cc.systemEvent.off("playAudio",this.onPlayAudio,this)},getData:function(t){if(window&&window.courseware)window.courseware.getData(t,"ww03");else{var e=cc.find("middleLayer");e?e.getComponent("middleLayer").getData(t):t(this.getDefaultData())}},getDefaultData:function(){return JSON.parse('[{"bgItem":{"url":"http://staging-teach.cdn.ireadabc.com/35bfd1d1342e1f2ea3db408afd072343.jpg","rect":{"x":651.79,"y":0,"width":471.43,"height":660}},"hotZoneItemArr":[{"id":"1636511068807","index":0,"audio_url":"http://staging-teach.cdn.ireadabc.com/989f78ee25c48624047f9f0275eb4193.mp3","itemType":"rect","fontScale":1.38671875,"imgScale":1,"mapScale":1.38671875,"gIdx":"0","useHand":true,"useBorder":true,"rect":{"x":89.71,"y":329,"width":130,"height":130}},{"id":"1636536972082","index":1,"audio_url":"http://staging-teach.cdn.ireadabc.com/3e5c5d427828a8d65bf3f980e954da0c.mp3","itemType":"rect","fontScale":1.38671875,"imgScale":1,"mapScale":1.38671875,"gIdx":"0","useHand":true,"useBorder":true,"rect":{"x":275.71,"y":370,"width":200,"height":200}},{"id":"1636536992261","index":2,"audio_url":"http://staging-teach.cdn.ireadabc.com/130feba39f7665f46adfc6765f86c6cd.mp3","itemType":"rect","fontScale":1.38671875,"imgScale":1,"mapScale":1.38671875,"gIdx":"0","useHand":true,"useBorder":true,"rect":{"x":135.71,"y":230,"width":200,"height":200}}]}]')},preloadItem:function(){this.addPreload(),this.preload()},addPreload:function(){for(var t,e=0;e<this.data.length;e++)if((t=this.data[e]).bgItem){this._imageResList.push({url:t.bgItem.url});for(var n,o=i(t.hotZoneItemArr);!(n=o()).done;){var a=n.value;a.pic_url&&this._imageResList.push({url:a.pic_url}),a.audio_url&&this._audioResList.push({url:a.audio_url})}}else this.data.splice(e,1)},preload:function(){var t=this,e=this._imageResList.concat(this._audioResList).concat(this._animaResList);cc.assetManager.loadAny(e,null,null,function(){t.loadEnd(),window&&window.air&&window.air.hideAirClassLoading(),cc.debug.setDisplayStats(!1)})},loadEnd:function(){this.initData(),this.initView()},_cantouch:null,initData:function(){this._cantouch=!0},initView:function(){this.initBg(),this.initPic(),this.initEvent()},initEvent:function(){this.movepageNode.on(cc.Node.EventType.TOUCH_END,this.onTouchEnd,this),cc.systemEvent.on("stopAutoPlay",this.stopAll,this)},initBg:function(){cc.find("Canvas/bg").scale=this._mapScaleMax},initPic:function(){this.picNode.opacity=0,cc.Tween.stopAllByTarget(this.picNode),cc.tween(this.picNode).to(1,{opacity:255},{easing:"cubicInOut"}).start(),this.curPage=0,1==this.data.length?(this.leftNode.active=!1,this.rightNode.active=!1):(this.leftNode.active=!1,this.rightNode.active=!0),this.setContent(this.picNode,this.data[0])},curPage:null,onTouchEnd:function(t){var e=t.touch,i=e.getStartLocation(),n=e.getLocation().x-i.x;n<-100?this.onClickRight():n>100&&this.onClickLeft()},onClickRight:function(){this._cantouch&&(this.curPage+=1,this.curPage==this.data.length&&(this.curPage=0),1==this.curPage&&(this.leftNode.active=!0,this.leftNode.scale=1),this.curPage==this.data.length-1&&(this.rightNode.active=!1),this.leftMove(),cc.audioEngine.play(this.btnClip,!1,.5))},onClickLeft:function(){this._cantouch&&(this.curPage-=1,this.curPage<0&&(this.curPage=this.data.length-1),0==this.curPage&&(this.leftNode.active=!1),this.curPage==this.data.length-1&&(this.rightNode.active=!0,this.rightNode.scale=1),this.rightMove(),cc.audioEngine.play(this.btnClip,!1,.8))},onClickAudio:function(){this.isPlaying?this.stopAll():this.playAll()},playAll:function(){var t=this;this.stopAudio(),this.isPlaying=!0,this.btn_audio.getComponent("btn_loop").startPlay(),this._playAllData||(this._playAllData={currentPageIdx:this.curPage,currentPicIdx:0,currentAudioId:null}),this.curPage!=this._playAllData.currentPageIdx&&(this._playAllData.currentPageIdx=this.curPage,this._playAllData.currentPicIdx=0,this._playAllData.currentAudioId=null);var e=this.picNode.getComponent("picNode")._items.children[this._playAllData.currentPicIdx].getComponent("hitItem");if(e.showBox(),null===this._playAllData.currentAudioId){var i=this.data[this._playAllData.currentPageIdx].hotZoneItemArr[this._playAllData.currentPicIdx].audio_url;i?cc.assetManager.loadRemote(i,function(e,i){e||t.isPlaying&&(t._playAllData.currentAudioId=cc.audioEngine.play(i,!1,.8),cc.audioEngine.setFinishCallback(t._playAllData.currentAudioId,function(){t.picNode.getComponent("picNode")._items.children[t._playAllData.currentPicIdx].getComponent("hitItem").hideBox(),t._playAllData.currentPicIdx++,t._playAllData.currentPicIdx>=t.data[t._playAllData.currentPageIdx].hotZoneItemArr.length?(t._playAllData=null,t.stopAll()):(t._playAllData.currentAudioId=null,t.playAll())}))}):(e.hideBox(),this._playAllData.currentPicIdx++,this._playAllData.currentPicIdx>=this.data[this._playAllData.currentPageIdx].hotZoneItemArr.length?(this._playAllData=null,this.stopAll()):(this._playAllData.currentAudioId=null,this.playAll()))}else cc.audioEngine.resume(this._playAllData.currentAudioId)},stopAll:function(){this.isPlaying=!1,this.btn_audio.getComponent("btn_loop").stopPlay(),this.picNode.getComponent("picNode")._items.children.forEach(function(t){t.getComponent("hitItem").hideBox()}),this._playAllData&&void 0!==this._playAllData.currentAudioId&&cc.audioEngine.pause(this._playAllData.currentAudioId)},leftMove:function(){var t=this;this.stopAll(),this.stopAudio(),this._cantouch=!1;var e=cc.winSize.width+64;this.picNode.x=0,this.picTempNode.x=e,this.setContent(this.picTempNode,this.data[this.curPage]),cc.tween(this.picNode).to(1,{x:-e},{easing:"cubicInOut"}).start(),cc.tween(this.picTempNode).to(1,{x:0},{easing:"cubicInOut"}).call(function(){var e=t.picNode;t.picNode=t.picTempNode,t.picTempNode=e,t._cantouch=!0}).start()},rightMove:function(){var t=this;this.stopAll(),this.stopAudio(),this._cantouch=!1;var e=cc.winSize.width+64;this.picNode.x=0,this.picTempNode.x=-e,this.setContent(this.picTempNode,this.data[this.curPage]),cc.tween(this.picNode).to(1,{x:e},{easing:"cubicInOut"}).start(),cc.tween(this.picTempNode).to(1,{x:0},{easing:"cubicInOut"}).call(function(){var e=t.picNode;t.picNode=t.picTempNode,t.picTempNode=e,t._cantouch=!0}).start()},stopAudio:function(){cc.systemEvent.emit("stopMusic")},setContent:function(t,e){if(e){var i=e.hotZoneItemArr.every(function(t){return!t.audio_url});this.btn_audio.active=!i,t.getComponent("picNode").initWithData(e)}else console.log("\u6570\u636e\u9519\u8bef")},update:function(){this.data&&(this.pageNumNode.getChildByName("text").getComponent(cc.Label).string=this.curPage%this.data.length+1+"/"+this.data.length)}}),cc._RF.pop()},{}],NewScript:[function(t,e,i){"use strict";cc._RF.push(e,"81db34s2BVIkad9VlHVTckt","NewScript");var n,o=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])})(t,e)},function(t,e){function i(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),a=this&&this.__decorate||function(t,e,i,n){var o,a=arguments.length,c=a<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(t,e,i,n);else for(var r=t.length-1;r>=0;r--)(o=t[r])&&(c=(a<3?o(c):a>3?o(e,i,c):o(e,i))||c);return a>3&&c&&Object.defineProperty(e,i,c),c};Object.defineProperty(i,"__esModule",{value:!0});var c=cc._decorator,r=c.ccclass,s=c.property,l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.label=null,e.text="hello",e}return o(e,t),e.prototype.start=function(){cc.color(),this.node.off(cc.Node.EventType.MOUSE_DOWN),cc.systemEvent.emit("stopMusic")},e.prototype.onEnable=function(){this.node.removeAllChildren()},a([s(cc.Label)],e.prototype,"label",void 0),a([s],e.prototype,"text",void 0),a([r],e)}(cc.Component);i.default=l,cc._RF.pop()},{}],btn_loop:[function(t,e){"use strict";cc._RF.push(e,"5bb7aCdT2RLSYYLIb2z0J6C","btn_loop"),cc.Class({extends:cc.Component,properties:{btn0:cc.Node,btn1:cc.Node,btn2:cc.Node},onLoad:function(){this.isPlaying=!1,this.count=-1},startPlay:function(){this.isPlaying=!0},stopPlay:function(){this.isPlaying=!1},start:function(){},update:function(){this.isPlaying?(this.count/20%3==0?(this.btn0.active=!0,this.btn1.active=!1,this.btn2.active=!1):this.count/20%3==1?(this.btn0.active=!1,this.btn1.active=!0,this.btn2.active=!1):this.count/20%3==2&&(this.btn0.active=!1,this.btn1.active=!1,this.btn2.active=!0),this.count=this.count+1):(this.btn0.active=!1,this.btn1.active=!1,this.btn2.active=!0)}}),cc._RF.pop()},{}],btn_rotate:[function(t,e){"use strict";cc._RF.push(e,"d7912kM6VxIgoOHkOzKc7g4","btn_rotate"),cc.Class({extends:cc.Component,properties:{},onLoad:function(){this.node},play:function(){var t=cc.repeatForever(cc.sequence(cc.rotateTo(.1,-5),cc.rotateTo(.1,0),cc.rotateTo(.1,5),cc.rotateTo(.1,0),cc.rotateTo(.1,-5),cc.rotateTo(.1,0),cc.rotateTo(.1,5),cc.rotateTo(.1,0),cc.rotateTo(.1,0),cc.rotateTo(.1,0),cc.rotateTo(.1,0),cc.rotateTo(.1,0)));this.node.runAction(t)},stop:function(){this.node.stopAllActions()},start:function(){},update:function(){}}),cc._RF.pop()},{}],defaultData:[function(t,e,i){"use strict";cc._RF.push(e,"c41b05RVddEPK86siw92bnl","defaultData"),i.__esModule=!0,i.defaultData=void 0,i.defaultData={pic_url:"http://staging-teach.cdn.ireadabc.com/ed94332a503c31e0908bd4c6923a2665.png",pic_url_2:"http://staging-teach.cdn.ireadabc.com/5fb60317ade0195d35ad8034d5370a7f.png",text:"This is a test label.",audio_url:"http://staging-teach.cdn.ireadabc.com/f47f1d7b5c160fe1c59500d180346240.mp3"},cc._RF.pop()},{}],hitItem:[function(t,e){"use strict";function i(t,e){var i;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(i=n(t))||e&&t&&"number"==typeof t.length){i&&(t=i);var o=0;return function(){return o>=t.length?{done:!0}:{done:!1,value:t[o++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(i=t[Symbol.iterator]()).next.bind(i)}function n(t,e){if(t){if("string"==typeof t)return o(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?o(t,e):void 0}}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}cc._RF.push(e,"57f79KAb0tNU7HjHMpUOk2e","hitItem");var a,c=t("../script/tools");cc.Class({extends:cc.Component,properties:{quan:cc.Node,tipsAnim:cc.Animation,handAnim:cc.Animation,hand:cc.Node,sprite:cc.Sprite,tipClip:cc.AudioClip,btnX:cc.Node,icon_play:cc.Node,icon_stop:cc.Node,quan_lan:cc.SpriteFrame,quan_huang:cc.SpriteFrame},data:null,onLoad:function(){this._playing=!1,this.quan.active=!1,this.tipsAnim.node.active=!1,this.hand.active=!1,this.icon_stop.active=!1},onEnable:function(){this.node.on(cc.Node.EventType.TOUCH_START,this.onTouchStart,this)},onDisable:function(){this.node.off(cc.Node.EventType.TOUCH_START,this.onTouchStart,this)},initWithData:function(t,e){this.data=t;var n=this.data.rect;this.node.x=(n.x+n.width/2)/e,this.node.y=(-n.y-n.height/2)/e,this.node.width=n.width/e*.8,this.node.height=n.height/e*.8,this.sprite.node.active=!1,t.useHand&&(this.hand.active=!0,this.hand.getComponent("btn_rotate").play());for(var o,a=i(this.getComponentsInChildren(cc.Widget));!(o=a()).done;)o.value.updateAlignment();this.audioId=null},onTouchStart:function(){var t=this;return new Promise(function(e){if(!t.data.audio_url)return t.hand.active=!1,t.stopAudio(),void(t.data.useBorder&&(t.quan.active=!0));if(t._playing||t.audioId){if(t._playing=!1,t.icon_play.active=!0,t.icon_stop.active=!1,!t.audioId)return;return cc.audioEngine.stop(t.audioId),void(t.audioId=null)}if(cc.find("Canvas").getComponent("Book_Read").stopAll(),cc.systemEvent.emit("stopMusic"),t.data&&(t.quan.getComponent(cc.Sprite).spriteFrame=t.quan_lan,t.icon_stop.active=!0,t.icon_play.active=!1,t.data.pic_url&&0==t.data.gIdx&&c.getSpriteFrimeByUrl(t.data.pic_url,function(e){t.sprite.spriteFrame=e,t.sprite.node.width=t.node.width,t.sprite.node.height=t.node.height,t.sprite.node.active=!0}),t.data.useBorder&&(t.quan.active=!0),t.hand.getComponent("btn_rotate").stop(),t.hand.active=!1,a=t,!t._playing)){if(t._playing=!0,cc.systemEvent.once("stopMusic",t.onStopAudio,t),a!=t)return void(t._playing=!1);var i=t.data.audio_url;i&&""!=i?t.playAudio(i):t._playing=!1}t.timer&&clearInterval(t.timer),t.timer=setInterval(function(){t._playing||(t.timer&&clearInterval(t.timer),t.timer=null,e(""))},60)})},onClickHide:function(){this.sprite.node.active=!1,this.hideBox(),this.stopAudio()},showBox:function(){this.data.useBorder&&(this.quan.active=!0),this.hand.active=!1,this.quan.getComponent(cc.Sprite).spriteFrame=this.quan_lan},hideBox:function(){this.hand.active=!1,this.quan.getComponent(cc.Sprite).spriteFrame=this.quan_huang},playAudio:function(t){var e=this;cc.assetManager.loadRemote(t,function(t,i){t||e._playing&&(e.audioId=cc.audioEngine.play(i,!1,.8),cc.audioEngine.setFinishCallback(e.audioId,e.stopAudio.bind(e)))})},onStopAudio:function(){this._playing=!1,this.stopAudio()},stopAudio:function(){this._playing=!1,null!=this.audioId&&(cc.audioEngine.stop(this.audioId),this.audioId=null),this.quan.getComponent(cc.Sprite).spriteFrame=this.quan_huang,this.icon_stop.active=!1,cc.systemEvent.off("stopMusic",this.onStopAudio,this)},audioId:null}),cc._RF.pop()},{"../script/tools":"tools"}],picNode:[function(t,e){"use strict";function i(t,e){var i;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(i=n(t))||e&&t&&"number"==typeof t.length){i&&(t=i);var o=0;return function(){return o>=t.length?{done:!0}:{done:!1,value:t[o++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(i=t[Symbol.iterator]()).next.bind(i)}function n(t,e){if(t){if("string"==typeof t)return o(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?o(t,e):void 0}}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}cc._RF.push(e,"fccd421MOxLZq6iwp/QwDAf","picNode");var a=t("../script/tools");cc.Class({extends:cc.Component,properties:{hitPre:cc.Prefab,borders:[cc.Node]},onLoad:function(){this._hitItem=[],this._items=this.node.getChildByName("items"),this._sprite=this.getComponentInChildren(cc.Sprite),this.borders[0].active=!1,this.borders[1].active=!1},initWithData:function(t){var e=this;this.clearItems(),a.getSpriteFrimeByUrl(t.bgItem.url,function(n){var o,a=n.getRect(),c=a.width/a.height,r=cc.size(1084,630),s=r.width/r.height;if(c<s){c=a.height/r.height;var l=a.width/c;e.node.width=l,e.node.height=r.height}else c>s?(c=a.width/r.width,e.node.height=a.height/c,e.node.width=r.width):(c=a.width/r.width,e.node.width=r.width,e.node.height=r.height);e._sprite.spriteFrame=n,e._sprite.node.width=e.node.width,e._sprite.node.height=e.node.height,e._items.width=e.node.width,e._items.height=e.node.height,e._items.x=-e.node.width/2,e._sprite.node.y=30,e._items.y=e.node.height/2+e._sprite.node.y,c=t.bgItem.rect.width/e.node.width;for(var h,d=i(t.hotZoneItemArr);!(h=d()).done;){var u=h.value;o=cc.instantiate(e.hitPre),e._items.addChild(o),o.getComponent("hitItem").initWithData(u,c),e._hitItem.push(o)}})},autoTouchAll:function(){this.autoPlay||(this.autoPlay=!0,this.items=this._items.children,void 0===this.count&&(this.count=0),this.play())},play:function(){var t=this;if(!this.autoPlay)return cc.systemEvent.emit("stopAutoPlay");var e=this.items[this.count++];if(!e)return cc.systemEvent.emit("stopAutoPlay");e.getComponent("hitItem").onTouchStart().then(function(){t.play()})},stopTouchAll:function(){this.autoPlay&&(this.autoPlay=!1,cc.systemEvent.emit("stopMusic"))},clearItems:function(){this._items.removeAllChildren(!0),this._hitItem.length=0}}),cc._RF.pop()},{"../script/tools":"tools"}],tools:[function(t,e){"use strict";cc._RF.push(e,"689472Q4ERI/4vOZw24YzaB","tools");var i={getSpriteFrimeByUrl:function(t,e){cc.loader.load({url:t},function(t,i){var n=new cc.SpriteFrame(i);e&&e(n)})}};e.exports=i,cc._RF.pop()},{}]},{},["Book_Read","hitItem","picNode","NewScript","btn_loop","btn_rotate","defaultData","tools"]);
\ No newline at end of file
let fs = require('fs');
import fs from 'fs';
module.exports = {
fix2: function (num) {
if (num >= 10) {
return '' + num;
} else {
return '0' + num;
}
},
copyDir: async function (src, dst) {
const exists = await fs.existsSync(dst);
if (!exists) {
await fs.mkdirSync(dst);
}
//读取目录
const paths = await fs.readdirSync(src);
for (let i = 0; i < paths.length; i++) {
let path = paths[i];
const newSrc = `${src}/${path}`;
const newDst = `${dst}/${path}`;
const st = await fs.statSync(newSrc);
if (st.isFile()) {
console.log('copy: ' + newDst);
const data = await fs.readFileSync(newSrc);
await fs.writeFileSync(newDst, data);
} else if (st.isDirectory()) {
arguments.callee(newSrc, newDst);
}
}
},
export function fix2(num) {
if (num >= 10) {
return '' + num;
} else {
return '0' + num;
}
}
removeDir: async function (src) {
const exists = await fs.existsSync(src);
if (!exists) {
return;
export async function copyDir(src, dst) {
const exists = await fs.existsSync(dst);
if (!exists) {
await fs.mkdirSync(dst);
}
//读取目录
const paths = await fs.readdirSync(src);
for (let i = 0; i < paths.length; i++) {
let path = paths[i];
const newSrc = `${src}/${path}`;
const newDst = `${dst}/${path}`;
const st = await fs.statSync(newSrc);
if (st.isFile()) {
console.log('copy: ' + newDst);
const data = await fs.readFileSync(newSrc);
await fs.writeFileSync(newDst, data);
} else if (st.isDirectory()) {
await copyDir(newSrc, newDst);
}
}
}
//读取目录
const st = await fs.statSync(src);
const paths = await fs.readdirSync(src);
for (let i = 0; i < paths.length; i++) {
let path = paths[i];
const newSrc = `${src}/${path}`;
const st = await fs.statSync(newSrc);
if (st.isFile()) {
console.log('remove: ' + newSrc);
await fs.unlinkSync(newSrc);
} else if (st.isDirectory()) {
await arguments.callee(newSrc);
}
export async function removeDir(src) {
const exists = await fs.existsSync(src);
if (!exists) {
return;
}
//读取目录
const st = await fs.statSync(src);
const paths = await fs.readdirSync(src);
for (let i = 0; i < paths.length; i++) {
let path = paths[i];
const newSrc = `${src}/${path}`;
const st = await fs.statSync(newSrc);
if (st.isFile()) {
console.log('remove: ' + newSrc);
await fs.unlinkSync(newSrc);
} else if (st.isDirectory()) {
await removeDir(newSrc);
}
await fs.rmdirSync(src);
}
}
await fs.rmdirSync(src);
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment