提交 caf31cef authored 作者: wangmenglong's avatar wangmenglong

首次提交

上级
/node_modules/
# Default ignored files
/shelf/
/workspace.xml
# Editor-based HTTP Client requests
/httpRequests/
<?xml version="1.0" encoding="UTF-8"?>
<module type="WEB_MODULE" version="4">
<component name="NewModuleRootManager">
<content url="file://$MODULE_DIR$">
<excludeFolder url="file://$MODULE_DIR$/.tmp" />
<excludeFolder url="file://$MODULE_DIR$/temp" />
<excludeFolder url="file://$MODULE_DIR$/tmp" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/jft-node-platform.iml" filepath="$PROJECT_DIR$/.idea/jft-node-platform.iml" />
</modules>
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="" vcs="Git" />
</component>
</project>
\ No newline at end of file
FROM node:20.11.1-alpine
RUN mkdir -p /home/web
ADD . /home/web
WORKDIR /home/web
COPY package*.json ./
RUN npm fund
RUN npm audit fix --force
RUN npm audit
RUN npm install
#RUN npm run build
ENV LANG C.UTF-8
EXPOSE ${PORT}
CMD ["sh","-c","node /home/web/app.js ${PORT}"]
\ No newline at end of file
def git_url="https://gitlab.365jft.com/root/jft-node-platform.git"
def credentialsId_val="5a1987eb-5b29-4886-b6d5-fc8d7ba94bbe" //git凭据
def harbor_url="172.30.156.70:8081"
def harbor_pro_name="jft"
def harbor_auth="29244d80-2457-4753-9912-04bd9233569c"
def project_version = "${project_version}".split(',') // 替换为要检查的属性名
def checkArray=new String[1]
def versionArray=new String[1]
def proStr = ''
def versionStr = ''
def tag= "latest" //版本
def operate = "${operate}"
def operateType= "web"
def kube_space="jft-cloud"
def part = "${part}"
def gray = "${gray}"
def proArray=["jft-node-platform"]
if (operate == "release") {
node {
stage('pull code') {
checkout([$class: 'GitSCM', branches: [[name: '*/master']],
extensions: [], userRemoteConfigs: [[credentialsId: "${credentialsId_val}",
url: "${git_url}"]]])
def n=0
for(int i = 0;i < project_version.size(); i++){
if (i % 2 == 0){
checkArray[n] = project_version[i];
versionArray[n] = project_version[i+1];
n++
}
}
for(int i = 0; i < checkArray.size(); i++){
if (checkArray[i]=="true"){
def pro = proArray[i]
def ver = versionArray[i]
proStr = proStr + pro
proStr = proStr + ','
versionStr = versionStr + ver
versionStr = versionStr + ','
}
}
proStr = proStr.substring(0 , proStr.size() -1 )
versionStr = versionStr.substring(0 , versionStr.size() - 1)
echo 'pull code over--------------------------------------------------------------------------------------------'
}
stage('build images') {
for(int i = 0; i < checkArray.size(); i++){
if (checkArray[i] == "true") {
def pro = proArray[i]
def version = versionArray[i]
sh "docker build -t ${pro}:${tag} ./"
sh "docker tag ${pro}:latest ${harbor_url}/${harbor_pro_name}/${pro}:${version}"
}
}
echo 'build images over--------------------------------------------------------------------------------------'
}
stage('push images') {
withCredentials([usernamePassword(credentialsId: "${harbor_auth}",
passwordVariable: 'pwd', usernameVariable: 'account')]) {
sh "docker login -u ${account} -p ${pwd} ${harbor_url}"
for(int i = 0;i < checkArray.size(); i++){
if (checkArray[i]=="true"){
def pro = proArray[i]
def version = versionArray[i]
sh "docker push ${harbor_url}/${harbor_pro_name}/${pro}:${version}"
}
}
}
echo 'push images over------------------------------------------------------------------------------------------'
}
stage('clean images') {
for(int i = 0;i < checkArray.size(); i++){
if (checkArray[i] == "true"){
def pro = proArray[i]
def version = versionArray[i]
sh "docker rmi ${pro}:${tag}"
sh "docker rmi ${harbor_url}/${harbor_pro_name}/${pro}:${version}"
}
}
echo 'clean images over------------------------------------------------------------------------------------------'
}
stage('remote deploy') {
echo 'kube_space------------------------------------------------------------------------------------------'+"${kube_space}"
sshPublisher(publishers: [sshPublisherDesc(configName: 'jft-m0',
transfers: [sshTransfer(cleanRemote: false, excludes: '', execCommand: "/opt/deploy/deploy.sh $proStr $versionStr $operateType $kube_space $harbor_pro_name $gray $part",
execTimeout: 120000, flatten: false, makeEmptyDirs: false, noDefaultExcludes: false,
patternSeparator: '[, ]+', remoteDirectory: '', remoteDirectorySDF: false, removePrefix: '', sourceFiles: '')],
usePromotionTimestamp: false, useWorkspaceInPromotion: false, verbose: false)])
echo 'deploy over--------------------------------------------------------------------------------------------------------'
}
}
}
if (operate == "delete") {
node{
stage('clean harbor'){
def n=0
for(int i = 0;i < project_version.size(); i++){
if (i % 2 == 0){
checkArray[n] = project_version[i];
versionArray[n] = project_version[i+1];
n++
}
}
for(int i = 0; i < checkArray.size(); i++){
if (checkArray[i]=="true"){
def pro = proArray[i]
def ver = versionArray[i]
echo '-------------------------------------------------------------pro===='+pro
def response = sh returnStdout: true, script: 'curl -u "admin:hbrLyjft@xggq!" -X DELETE "http://172.30.156.70:8081/api/v2.0/projects/odd-job/repositories/"'+"${pro}"
proStr = proStr + pro
proStr = proStr + ','
versionStr = versionStr + ver
versionStr = versionStr + ','
}
}
proStr = proStr.substring(0 , proStr.size() -1 )
versionStr = versionStr.substring(0 , versionStr.size() - 1)
echo 'clean kube--------------------------------------------------------------------------------------------------------'
}
stage('clean kube') {
sshPublisher(publishers: [sshPublisherDesc(configName: 'jft-m0',
transfers: [sshTransfer(cleanRemote: false, excludes: '', execCommand: "/opt/deploy/delete.sh $proStr $versionStr $operateType $kube_space $harbor_pro_name $gray $part",
execTimeout: 120000, flatten: false, makeEmptyDirs: false, noDefaultExcludes: false,
patternSeparator: '[, ]+', remoteDirectory: '', remoteDirectorySDF: false, removePrefix: '', sourceFiles: '')],
usePromotionTimestamp: false, useWorkspaceInPromotion: false, verbose: false)])
echo 'clean kube--------------------------------------------------------------------------------------------------------'
sleep(40)
}
stage('clean images jft-n0') {
sshPublisher(publishers: [sshPublisherDesc(configName: 'jft-n0',
transfers: [sshTransfer(cleanRemote: false, excludes: '', execCommand: "/opt/deploy/images-delete.sh $proStr $versionStr $harbor_pro_name",
execTimeout: 120000, flatten: false, makeEmptyDirs: false, noDefaultExcludes: false,
patternSeparator: '[, ]+', remoteDirectory: '', remoteDirectorySDF: false, removePrefix: '', sourceFiles: '')],
usePromotionTimestamp: false, useWorkspaceInPromotion: false, verbose: false)])
echo 'clean images jft-n0--------------------------------------------------------------------------------------------------------'
}
stage('clean images jft-n1') {
sshPublisher(publishers: [sshPublisherDesc(configName: 'jft-n1',
transfers: [sshTransfer(cleanRemote: false, excludes: '', execCommand: "/opt/deploy/images-delete.sh $proStr $versionStr $harbor_pro_name",
execTimeout: 120000, flatten: false, makeEmptyDirs: false, noDefaultExcludes: false,
patternSeparator: '[, ]+', remoteDirectory: '', remoteDirectorySDF: false, removePrefix: '', sourceFiles: '')],
usePromotionTimestamp: false, useWorkspaceInPromotion: false, verbose: false)])
echo 'clean images jft-n1--------------------------------------------------------------------------------------------------------'
}
stage('clean images jft-n2') {
sshPublisher(publishers: [sshPublisherDesc(configName: 'jft-n2',
transfers: [sshTransfer(cleanRemote: false, excludes: '', execCommand: "/opt/deploy/images-delete.sh $proStr $versionStr $harbor_pro_name",
execTimeout: 120000, flatten: false, makeEmptyDirs: false, noDefaultExcludes: false,
patternSeparator: '[, ]+', remoteDirectory: '', remoteDirectorySDF: false, removePrefix: '', sourceFiles: '')],
usePromotionTimestamp: false, useWorkspaceInPromotion: false, verbose: false)])
echo 'clean images jft-n2--------------------------------------------------------------------------------------------------------'
}
}
}
var express = require('express');
var path = require('path');
var cookieParser = require('cookie-parser');
var logger = require('morgan');
const {createProxyMiddleware} = require('http-proxy-middleware');
const history = require('connect-history-api-fallback');
var app = express();
//下面两行代码解决刷新404(加上下面两行代码微信扫码登录不能用)
// app.use(history());
// app.use(express.static(__dirname+'/public'));
app.use(express.static(path.join(__dirname, 'public')));
var param = process.argv.splice(2);
var port = param[0];
// 允许所有域名跨域
app.all('*', function (req, res, next) {
req.header("gray","yes");
res.header("Access-Control-Allow-Origin", "*");
res.header("Access-Control-Allow-Headers", "Content-Type,Content-Length, Authorization, Accept,X-Requested-With");
res.header("Access-Control-Allow-Methods", "PUT,POST,GET,DELETE,OPTIONS");
res.header("X-Powered-By", ' 3.2.1');
res.header("gray", ' yes');
console.log("=============prod123");
// 跨域请求CORS中的预请求
if (req.method == "OPTIONS") {
// res.send(200); //让options请求快速返回
} else {
next();
}
});
app.use('/djl-account',
createProxyMiddleware({
target: "http://djl-account",
changeOrigin: true,
pathRewrite: {
"^/djl-account": "/"
}
}));
app.use('/djl-archives',
createProxyMiddleware({
target: "http://djl-archives",
changeOrigin: true,
pathRewrite: {
"^/djl-archives": "/"
}
}));
app.use('/djl-attendance',
createProxyMiddleware({
target: "http://djl-attendance",
changeOrigin: true,
pathRewrite: {
"^/djl-attendance": "/"
}
}));
app.use('/djl-auth',
createProxyMiddleware({
target: "http://djl-auth",
changeOrigin: true,
pathRewrite: {
"^/djl-auth": "/"
}
}));
app.use('/djl-contract',
createProxyMiddleware({
target: "http://djl-contract",
changeOrigin: true,
pathRewrite: {
"^/djl-contract": "/"
}
}));
app.use('/djl-message',
createProxyMiddleware({
target: "http://djl-message",
changeOrigin: true,
pathRewrite: {
"^/djl-message": "/"
}
}));
app.use('/djl-oss',
createProxyMiddleware({
target: "http://djl-oss",
changeOrigin: true,
pathRewrite: {
"^/djl-oss": "/"
}
}));
app.use('/djl-project',
createProxyMiddleware({
target: "http://djl-project",
changeOrigin: true,
pathRewrite: {
"^/djl-project": "/"
}
}));
app.use('/djl-recruit',
createProxyMiddleware({
target: "http://djl-recruit",
changeOrigin: true,
pathRewrite: {
"^/djl-recruit": "/"
}
}));
app.use('/djl-role',
createProxyMiddleware({
target: "http://djl-role",
changeOrigin: true,
pathRewrite: {
"^/djl-role": "/"
}
}));
app.use('/djl-salary',
createProxyMiddleware({
target: "http://djl-salary",
changeOrigin: true,
pathRewrite: {
"^/djl-salary": "/"
}
}));
app.use('/djl-settlement',
createProxyMiddleware({
target: "http://djl-settlement",
changeOrigin: true,
pathRewrite: {
"^/djl-settlement": "/"
}
}));
app.listen(port);
#!/usr/bin/env node
/**
* Module dependencies.
*/
var app = require('../app');
var debug = require('debug')('jft-node-channel:server');
var http = require('http');
/**
* Get port from environment and store in Express.
*/
var port = normalizePort(process.env.PORT || '3000');
app.set('port', port);
/**
* Create HTTP server.
*/
var server = http.createServer(app);
/**
* Listen on provided port, on all network interfaces.
*/
server.listen(port);
server.on('error', onError);
server.on('listening', onListening);
/**
* Normalize a port into a number, string, or false.
*/
function normalizePort(val) {
var port = parseInt(val, 10);
if (isNaN(port)) {
// named pipe
return val;
}
if (port >= 0) {
// port number
return port;
}
return false;
}
/**
* Event listener for HTTP server "error" event.
*/
function onError(error) {
if (error.syscall !== 'listen') {
throw error;
}
var bind = typeof port === 'string'
? 'Pipe ' + port
: 'Port ' + port;
// handle specific listen errors with friendly messages
switch (error.code) {
case 'EACCES':
console.error(bind + ' requires elevated privileges');
process.exit(1);
break;
case 'EADDRINUSE':
console.error(bind + ' is already in use');
process.exit(1);
break;
default:
throw error;
}
}
/**
* Event listener for HTTP server "listening" event.
*/
function onListening() {
var addr = server.address();
var bind = typeof addr === 'string'
? 'pipe ' + addr
: 'port ' + addr.port;
debug('Listening on ' + bind);
}
{
"name": "jft-node-channel",
"version": "0.0.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "jft-node-channel",
"version": "0.0.0",
"dependencies": {
"connect-history-api-fallback": "^2.0.0",
"cookie-parser": "~1.4.4",
"debug": "~2.6.9",
"express": "~4.16.1",
"http-proxy-middleware": "^3.0.0",
"morgan": "~1.9.1"
}
},
"node_modules/@types/http-proxy": {
"version": "1.17.14",
"resolved": "https://registry.npmjs.org/@types/http-proxy/-/http-proxy-1.17.14.tgz",
"integrity": "sha512-SSrD0c1OQzlFX7pGu1eXxSEjemej64aaNPRhhVYUGqXh0BtldAAx37MG8btcumvpgKyZp1F5Gn3JkktdxiFv6w==",
"dependencies": {
"@types/node": "*"
}
},
"node_modules/@types/node": {
"version": "20.12.10",
"resolved": "https://registry.npmjs.org/@types/node/-/node-20.12.10.tgz",
"integrity": "sha512-Eem5pH9pmWBHoGAT8Dr5fdc5rYA+4NAovdM4EktRPVAAiJhmWWfQrA0cFhAbOsQdSfIHjAud6YdkbL69+zSKjw==",
"dependencies": {
"undici-types": "~5.26.4"
}
},
"node_modules/accepts": {
"version": "1.3.8",
"resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz",
"integrity": "sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==",
"dependencies": {
"mime-types": "~2.1.34",
"negotiator": "0.6.3"
},
"engines": {
"node": ">= 0.6"
}
},
"node_modules/array-flatten": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz",
"integrity": "sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg=="
},
"node_modules/basic-auth": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/basic-auth/-/basic-auth-2.0.1.tgz",
"integrity": "sha512-NF+epuEdnUYVlGuhaxbbq+dvJttwLnGY+YixlXlME5KpQ5W3CnXA5cVTneY3SPbPDRkcjMbifrwmFYcClgOZeg==",
"dependencies": {
"safe-buffer": "5.1.2"
},
"engines": {
"node": ">= 0.8"
}
},
"node_modules/body-parser": {
"version": "1.18.3",
"resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.18.3.tgz",
"integrity": "sha512-YQyoqQG3sO8iCmf8+hyVpgHHOv0/hCEFiS4zTGUwTA1HjAFX66wRcNQrVCeJq9pgESMRvUAOvSil5MJlmccuKQ==",
"dependencies": {
"bytes": "3.0.0",
"content-type": "~1.0.4",
"debug": "2.6.9",
"depd": "~1.1.2",
"http-errors": "~1.6.3",
"iconv-lite": "0.4.23",
"on-finished": "~2.3.0",
"qs": "6.5.2",
"raw-body": "2.3.3",
"type-is": "~1.6.16"
},
"engines": {
"node": ">= 0.8"
}
},
"node_modules/body-parser/node_modules/debug": {
"version": "2.6.9",
"resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
"integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
"dependencies": {
"ms": "2.0.0"
}
},
"node_modules/braces": {
"version": "3.0.2",
"resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz",
"integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==",
"dependencies": {
"fill-range": "^7.0.1"
},
"engines": {
"node": ">=8"
}
},
"node_modules/bytes": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/bytes/-/bytes-3.0.0.tgz",
"integrity": "sha512-pMhOfFDPiv9t5jjIXkHosWmkSyQbvsgEVNkz0ERHbuLh2T/7j4Mqqpz523Fe8MVY89KC6Sh/QfS2sM+SjgFDcw==",
"engines": {
"node": ">= 0.8"
}
},
"node_modules/connect-history-api-fallback": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/connect-history-api-fallback/-/connect-history-api-fallback-2.0.0.tgz",
"integrity": "sha512-U73+6lQFmfiNPrYbXqr6kZ1i1wiRqXnp2nhMsINseWXO8lDau0LGEffJ8kQi4EjLZympVgRdvqjAgiZ1tgzDDA==",
"engines": {
"node": ">=0.8"
}
},
"node_modules/content-disposition": {
"version": "0.5.2",
"resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.2.tgz",
"integrity": "sha512-kRGRZw3bLlFISDBgwTSA1TMBFN6J6GWDeubmDE3AF+3+yXL8hTWv8r5rkLbqYXY4RjPk/EzHnClI3zQf1cFmHA==",
"engines": {
"node": ">= 0.6"
}
},
"node_modules/content-type": {
"version": "1.0.5",
"resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.5.tgz",
"integrity": "sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==",
"engines": {
"node": ">= 0.6"
}
},
"node_modules/cookie": {
"version": "0.4.1",
"resolved": "https://registry.npmjs.org/cookie/-/cookie-0.4.1.tgz",
"integrity": "sha512-ZwrFkGJxUR3EIoXtO+yVE69Eb7KlixbaeAWfBQB9vVsNn/o+Yw69gBWSSDK825hQNdN+wF8zELf3dFNl/kxkUA==",
"engines": {
"node": ">= 0.6"
}
},
"node_modules/cookie-parser": {
"version": "1.4.6",
"resolved": "https://registry.npmjs.org/cookie-parser/-/cookie-parser-1.4.6.tgz",
"integrity": "sha512-z3IzaNjdwUC2olLIB5/ITd0/setiaFMLYiZJle7xg5Fe9KWAceil7xszYfHHBtDFYLSgJduS2Ty0P1uJdPDJeA==",
"dependencies": {
"cookie": "0.4.1",
"cookie-signature": "1.0.6"
},
"engines": {
"node": ">= 0.8.0"
}
},
"node_modules/cookie-signature": {
"version": "1.0.6",
"resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz",
"integrity": "sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ=="
},
"node_modules/debug": {
"version": "2.6.9",
"resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
"integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
"dependencies": {
"ms": "2.0.0"
}
},
"node_modules/depd": {
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz",
"integrity": "sha512-7emPTl6Dpo6JRXOXjLRxck+FlLRX5847cLKEn00PLAgc3g2hTZZgr+e4c2v6QpSmLeFP3n5yUo7ft6avBK/5jQ==",
"engines": {
"node": ">= 0.6"
}
},
"node_modules/destroy": {
"version": "1.0.4",
"resolved": "https://registry.npmjs.org/destroy/-/destroy-1.0.4.tgz",
"integrity": "sha512-3NdhDuEXnfun/z7x9GOElY49LoqVHoGScmOKwmxhsS8N5Y+Z8KyPPDnaSzqWgYt/ji4mqwfTS34Htrk0zPIXVg=="
},
"node_modules/ee-first": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz",
"integrity": "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow=="
},
"node_modules/encodeurl": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz",
"integrity": "sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==",
"engines": {
"node": ">= 0.8"
}
},
"node_modules/escape-html": {
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz",
"integrity": "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow=="
},
"node_modules/etag": {
"version": "1.8.1",
"resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz",
"integrity": "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==",
"engines": {
"node": ">= 0.6"
}
},
"node_modules/eventemitter3": {
"version": "4.0.7",
"resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.7.tgz",
"integrity": "sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw=="
},
"node_modules/express": {
"version": "4.16.4",
"resolved": "https://registry.npmjs.org/express/-/express-4.16.4.tgz",
"integrity": "sha512-j12Uuyb4FMrd/qQAm6uCHAkPtO8FDTRJZBDd5D2KOL2eLaz1yUNdUB/NOIyq0iU4q4cFarsUCrnFDPBcnksuOg==",
"dependencies": {
"accepts": "~1.3.5",
"array-flatten": "1.1.1",
"body-parser": "1.18.3",
"content-disposition": "0.5.2",
"content-type": "~1.0.4",
"cookie": "0.3.1",
"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.1",
"fresh": "0.5.2",
"merge-descriptors": "1.0.1",
"methods": "~1.1.2",
"on-finished": "~2.3.0",
"parseurl": "~1.3.2",
"path-to-regexp": "0.1.7",
"proxy-addr": "~2.0.4",
"qs": "6.5.2",
"range-parser": "~1.2.0",
"safe-buffer": "5.1.2",
"send": "0.16.2",
"serve-static": "1.13.2",
"setprototypeof": "1.1.0",
"statuses": "~1.4.0",
"type-is": "~1.6.16",
"utils-merge": "1.0.1",
"vary": "~1.1.2"
},
"engines": {
"node": ">= 0.10.0"
}
},
"node_modules/express/node_modules/cookie": {
"version": "0.3.1",
"resolved": "https://registry.npmjs.org/cookie/-/cookie-0.3.1.tgz",
"integrity": "sha512-+IJOX0OqlHCszo2mBUq+SrEbCj6w7Kpffqx60zYbPTFaO4+yYgRjHwcZNpWvaTylDHaV7PPmBHzSecZiMhtPgw==",
"engines": {
"node": ">= 0.6"
}
},
"node_modules/express/node_modules/debug": {
"version": "2.6.9",
"resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
"integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
"dependencies": {
"ms": "2.0.0"
}
},
"node_modules/fill-range": {
"version": "7.0.1",
"resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz",
"integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==",
"dependencies": {
"to-regex-range": "^5.0.1"
},
"engines": {
"node": ">=8"
}
},
"node_modules/finalhandler": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.1.1.tgz",
"integrity": "sha512-Y1GUDo39ez4aHAw7MysnUD5JzYX+WaIj8I57kO3aEPT1fFRL4sr7mjei97FgnwhAyyzRYmQZaTHb2+9uZ1dPtg==",
"dependencies": {
"debug": "2.6.9",
"encodeurl": "~1.0.2",
"escape-html": "~1.0.3",
"on-finished": "~2.3.0",
"parseurl": "~1.3.2",
"statuses": "~1.4.0",
"unpipe": "~1.0.0"
},
"engines": {
"node": ">= 0.8"
}
},
"node_modules/finalhandler/node_modules/debug": {
"version": "2.6.9",
"resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
"integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
"dependencies": {
"ms": "2.0.0"
}
},
"node_modules/follow-redirects": {
"version": "1.15.6",
"resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.6.tgz",
"integrity": "sha512-wWN62YITEaOpSK584EZXJafH1AGpO8RVgElfkuXbTOrPX4fIfOyEpW/CsiNd8JdYrAoOvafRTOEnvsO++qCqFA==",
"funding": [
{
"type": "individual",
"url": "https://github.com/sponsors/RubenVerborgh"
}
],
"engines": {
"node": ">=4.0"
},
"peerDependenciesMeta": {
"debug": {
"optional": true
}
}
},
"node_modules/forwarded": {
"version": "0.2.0",
"resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz",
"integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==",
"engines": {
"node": ">= 0.6"
}
},
"node_modules/fresh": {
"version": "0.5.2",
"resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz",
"integrity": "sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q==",
"engines": {
"node": ">= 0.6"
}
},
"node_modules/http-errors": {
"version": "1.6.3",
"resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.6.3.tgz",
"integrity": "sha512-lks+lVC8dgGyh97jxvxeYTWQFvh4uw4yC12gVl63Cg30sjPX4wuGcdkICVXDAESr6OJGjqGA8Iz5mkeN6zlD7A==",
"dependencies": {
"depd": "~1.1.2",
"inherits": "2.0.3",
"setprototypeof": "1.1.0",
"statuses": ">= 1.4.0 < 2"
},
"engines": {
"node": ">= 0.6"
}
},
"node_modules/http-proxy": {
"version": "1.18.1",
"resolved": "https://registry.npmjs.org/http-proxy/-/http-proxy-1.18.1.tgz",
"integrity": "sha512-7mz/721AbnJwIVbnaSv1Cz3Am0ZLT/UBwkC92VlxhXv/k/BBQfM2fXElQNC27BVGr0uwUpplYPQM9LnaBMR5NQ==",
"dependencies": {
"eventemitter3": "^4.0.0",
"follow-redirects": "^1.0.0",
"requires-port": "^1.0.0"
},
"engines": {
"node": ">=8.0.0"
}
},
"node_modules/http-proxy-middleware": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/http-proxy-middleware/-/http-proxy-middleware-3.0.0.tgz",
"integrity": "sha512-36AV1fIaI2cWRzHo+rbcxhe3M3jUDCNzc4D5zRl57sEWRAxdXYtw7FSQKYY6PDKssiAKjLYypbssHk+xs/kMXw==",
"dependencies": {
"@types/http-proxy": "^1.17.10",
"debug": "^4.3.4",
"http-proxy": "^1.18.1",
"is-glob": "^4.0.1",
"is-plain-obj": "^3.0.0",
"micromatch": "^4.0.5"
},
"engines": {
"node": "^14.15.0 || ^16.10.0 || >=18.0.0"
}
},
"node_modules/http-proxy-middleware/node_modules/debug": {
"version": "4.3.4",
"resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz",
"integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==",
"dependencies": {
"ms": "2.1.2"
},
"engines": {
"node": ">=6.0"
},
"peerDependenciesMeta": {
"supports-color": {
"optional": true
}
}
},
"node_modules/http-proxy-middleware/node_modules/ms": {
"version": "2.1.2",
"resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
"integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w=="
},
"node_modules/iconv-lite": {
"version": "0.4.23",
"resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.23.tgz",
"integrity": "sha512-neyTUVFtahjf0mB3dZT77u+8O0QB89jFdnBkd5P1JgYPbPaia3gXXOVL2fq8VyU2gMMD7SaN7QukTB/pmXYvDA==",
"dependencies": {
"safer-buffer": ">= 2.1.2 < 3"
},
"engines": {
"node": ">=0.10.0"
}
},
"node_modules/inherits": {
"version": "2.0.3",
"resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz",
"integrity": "sha512-x00IRNXNy63jwGkJmzPigoySHbaqpNuzKbBOmzK+g2OdZpQ9w+sxCN+VSB3ja7IAge2OP2qpfxTjeNcyjmW1uw=="
},
"node_modules/ipaddr.js": {
"version": "1.9.1",
"resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz",
"integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==",
"engines": {
"node": ">= 0.10"
}
},
"node_modules/is-extglob": {
"version": "2.1.1",
"resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz",
"integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==",
"engines": {
"node": ">=0.10.0"
}
},
"node_modules/is-glob": {
"version": "4.0.3",
"resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz",
"integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==",
"dependencies": {
"is-extglob": "^2.1.1"
},
"engines": {
"node": ">=0.10.0"
}
},
"node_modules/is-number": {
"version": "7.0.0",
"resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz",
"integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==",
"engines": {
"node": ">=0.12.0"
}
},
"node_modules/is-plain-obj": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-3.0.0.tgz",
"integrity": "sha512-gwsOE28k+23GP1B6vFl1oVh/WOzmawBrKwo5Ev6wMKzPkaXaCDIQKzLnvsA42DRlbVTWorkgTKIviAKCWkfUwA==",
"engines": {
"node": ">=10"
},
"funding": {
"url": "https://github.com/sponsors/sindresorhus"
}
},
"node_modules/media-typer": {
"version": "0.3.0",
"resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz",
"integrity": "sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ==",
"engines": {
"node": ">= 0.6"
}
},
"node_modules/merge-descriptors": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz",
"integrity": "sha512-cCi6g3/Zr1iqQi6ySbseM1Xvooa98N0w31jzUYrXPX2xqObmFGHJ0tQ5u74H3mVh7wLouTseZyYIq39g8cNp1w=="
},
"node_modules/methods": {
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz",
"integrity": "sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w==",
"engines": {
"node": ">= 0.6"
}
},
"node_modules/micromatch": {
"version": "4.0.5",
"resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz",
"integrity": "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==",
"dependencies": {
"braces": "^3.0.2",
"picomatch": "^2.3.1"
},
"engines": {
"node": ">=8.6"
}
},
"node_modules/mime": {
"version": "1.4.1",
"resolved": "https://registry.npmjs.org/mime/-/mime-1.4.1.tgz",
"integrity": "sha512-KI1+qOZu5DcW6wayYHSzR/tXKCDC5Om4s1z2QJjDULzLcmf3DvzS7oluY4HCTrc+9FiKmWUgeNLg7W3uIQvxtQ==",
"bin": {
"mime": "cli.js"
}
},
"node_modules/mime-db": {
"version": "1.52.0",
"resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz",
"integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==",
"engines": {
"node": ">= 0.6"
}
},
"node_modules/mime-types": {
"version": "2.1.35",
"resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz",
"integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==",
"dependencies": {
"mime-db": "1.52.0"
},
"engines": {
"node": ">= 0.6"
}
},
"node_modules/morgan": {
"version": "1.9.1",
"resolved": "https://registry.npmjs.org/morgan/-/morgan-1.9.1.tgz",
"integrity": "sha512-HQStPIV4y3afTiCYVxirakhlCfGkI161c76kKFca7Fk1JusM//Qeo1ej2XaMniiNeaZklMVrh3vTtIzpzwbpmA==",
"dependencies": {
"basic-auth": "~2.0.0",
"debug": "2.6.9",
"depd": "~1.1.2",
"on-finished": "~2.3.0",
"on-headers": "~1.0.1"
},
"engines": {
"node": ">= 0.8.0"
}
},
"node_modules/morgan/node_modules/debug": {
"version": "2.6.9",
"resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
"integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
"dependencies": {
"ms": "2.0.0"
}
},
"node_modules/ms": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
"integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A=="
},
"node_modules/negotiator": {
"version": "0.6.3",
"resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz",
"integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==",
"engines": {
"node": ">= 0.6"
}
},
"node_modules/on-finished": {
"version": "2.3.0",
"resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz",
"integrity": "sha512-ikqdkGAAyf/X/gPhXGvfgAytDZtDbr+bkNUJ0N9h5MI/dmdgCs3l6hoHrcUv41sRKew3jIwrp4qQDXiK99Utww==",
"dependencies": {
"ee-first": "1.1.1"
},
"engines": {
"node": ">= 0.8"
}
},
"node_modules/on-headers": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/on-headers/-/on-headers-1.0.2.tgz",
"integrity": "sha512-pZAE+FJLoyITytdqK0U5s+FIpjN0JP3OzFi/u8Rx+EV5/W+JTWGXG8xFzevE7AjBfDqHv/8vL8qQsIhHnqRkrA==",
"engines": {
"node": ">= 0.8"
}
},
"node_modules/parseurl": {
"version": "1.3.3",
"resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz",
"integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==",
"engines": {
"node": ">= 0.8"
}
},
"node_modules/path-to-regexp": {
"version": "0.1.7",
"resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz",
"integrity": "sha512-5DFkuoqlv1uYQKxy8omFBeJPQcdoE07Kv2sferDCrAq1ohOU+MSDswDIbnx3YAM60qIOnYa53wBhXW0EbMonrQ=="
},
"node_modules/picomatch": {
"version": "2.3.1",
"resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz",
"integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==",
"engines": {
"node": ">=8.6"
},
"funding": {
"url": "https://github.com/sponsors/jonschlinkert"
}
},
"node_modules/proxy-addr": {
"version": "2.0.7",
"resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz",
"integrity": "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==",
"dependencies": {
"forwarded": "0.2.0",
"ipaddr.js": "1.9.1"
},
"engines": {
"node": ">= 0.10"
}
},
"node_modules/qs": {
"version": "6.5.2",
"resolved": "https://registry.npmjs.org/qs/-/qs-6.5.2.tgz",
"integrity": "sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA==",
"engines": {
"node": ">=0.6"
}
},
"node_modules/range-parser": {
"version": "1.2.1",
"resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz",
"integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==",
"engines": {
"node": ">= 0.6"
}
},
"node_modules/raw-body": {
"version": "2.3.3",
"resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.3.3.tgz",
"integrity": "sha512-9esiElv1BrZoI3rCDuOuKCBRbuApGGaDPQfjSflGxdy4oyzqghxu6klEkkVIvBje+FF0BX9coEv8KqW6X/7njw==",
"dependencies": {
"bytes": "3.0.0",
"http-errors": "1.6.3",
"iconv-lite": "0.4.23",
"unpipe": "1.0.0"
},
"engines": {
"node": ">= 0.8"
}
},
"node_modules/requires-port": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/requires-port/-/requires-port-1.0.0.tgz",
"integrity": "sha512-KigOCHcocU3XODJxsu8i/j8T9tzT4adHiecwORRQ0ZZFcp7ahwXuRU1m+yuO90C5ZUyGeGfocHDI14M3L3yDAQ=="
},
"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/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.16.2",
"resolved": "https://registry.npmjs.org/send/-/send-0.16.2.tgz",
"integrity": "sha512-E64YFPUssFHEFBvpbbjr44NCLtI1AohxQ8ZSiJjQLskAdKuriYEP6VyGEsRDH8ScozGpkaX1BGvhanqCwkcEZw==",
"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.6.2",
"mime": "1.4.1",
"ms": "2.0.0",
"on-finished": "~2.3.0",
"range-parser": "~1.2.0",
"statuses": "~1.4.0"
},
"engines": {
"node": ">= 0.8.0"
}
},
"node_modules/send/node_modules/debug": {
"version": "2.6.9",
"resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
"integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
"dependencies": {
"ms": "2.0.0"
}
},
"node_modules/serve-static": {
"version": "1.13.2",
"resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.13.2.tgz",
"integrity": "sha512-p/tdJrO4U387R9oMjb1oj7qSMaMfmOyd4j9hOFoxZe2baQszgHcSWjuya/CiT5kgZZKRudHNOA0pYXOl8rQ5nw==",
"dependencies": {
"encodeurl": "~1.0.2",
"escape-html": "~1.0.3",
"parseurl": "~1.3.2",
"send": "0.16.2"
},
"engines": {
"node": ">= 0.8.0"
}
},
"node_modules/setprototypeof": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.0.tgz",
"integrity": "sha512-BvE/TwpZX4FXExxOxZyRGQQv651MSwmWKZGqvmPcRIjDqWub67kTKuIMx43cZZrS/cBBzwBcNDWoFxt2XEFIpQ=="
},
"node_modules/statuses": {
"version": "1.4.0",
"resolved": "https://registry.npmjs.org/statuses/-/statuses-1.4.0.tgz",
"integrity": "sha512-zhSCtt8v2NDrRlPQpCNtw/heZLtfUDqxBM1udqikb/Hbk52LK4nQSwr10u77iopCW5LsyHpuXS0GnEc48mLeew==",
"engines": {
"node": ">= 0.6"
}
},
"node_modules/to-regex-range": {
"version": "5.0.1",
"resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz",
"integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==",
"dependencies": {
"is-number": "^7.0.0"
},
"engines": {
"node": ">=8.0"
}
},
"node_modules/type-is": {
"version": "1.6.18",
"resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz",
"integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==",
"dependencies": {
"media-typer": "0.3.0",
"mime-types": "~2.1.24"
},
"engines": {
"node": ">= 0.6"
}
},
"node_modules/undici-types": {
"version": "5.26.5",
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz",
"integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA=="
},
"node_modules/unpipe": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz",
"integrity": "sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==",
"engines": {
"node": ">= 0.8"
}
},
"node_modules/utils-merge": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz",
"integrity": "sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA==",
"engines": {
"node": ">= 0.4.0"
}
},
"node_modules/vary": {
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz",
"integrity": "sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==",
"engines": {
"node": ">= 0.8"
}
}
}
}
{
"name": "jft-node-channel",
"version": "0.0.0",
"private": true,
"scripts": {
"start": "node ./bin/www"
},
"dependencies": {
"connect-history-api-fallback": "^2.0.0",
"cookie-parser": "~1.4.4",
"debug": "~2.6.9",
"express": "~4.16.1",
"http-proxy-middleware": "^3.0.0",
"morgan": "~1.9.1"
}
}
import{_ as h,r as f,c as n,d as m,e as k,f as t,h as o,m as _,k as e,i as b,v as g,p as w,q as x}from"./index-BXdSy86L.js";const I=""+new URL("401-HGF6Q5qM.gif",import.meta.url).href,a=s=>(w("data-v-980b8710"),s=s(),x(),s),v={class:"errPage-container"},y=a(()=>e("h1",{class:"text-jumbo text-ginormous"}," 401错误! ",-1)),B=a(()=>e("h2",null,"您没有访问权限!",-1)),C=a(()=>e("h6",null,"对不起,您没有访问权限,请不要进行非法操作!您可以返回主页面",-1)),G={class:"list-unstyled"},q={class:"link-type"},N=["src"],S={__name:"401",setup(s){let{proxy:c}=g();const l=f(I+"?"+ +new Date);function i(){c.$route.query.noGoBack?c.$router.push({path:"/"}):c.$router.go(-1)}return(V,$)=>{const u=n("el-button"),p=n("router-link"),r=n("el-col"),d=n("el-row");return m(),k("div",v,[t(u,{icon:"arrow-left",class:"pan-back-btn",onClick:i},{default:o(()=>[_(" 返回 ")]),_:1}),t(d,null,{default:o(()=>[t(r,{span:12},{default:o(()=>[y,B,C,e("ul",G,[e("li",q,[t(p,{to:"/"},{default:o(()=>[_(" 回首页 ")]),_:1})])])]),_:1}),t(r,{span:12},{default:o(()=>[e("img",{src:b(l),width:"313",height:"428",alt:"Girl has dropped her ice cream."},null,8,N)]),_:1})]),_:1})])}}},D=h(S,[["__scopeId","data-v-980b8710"]]);export{D as default};
.errPage-container[data-v-980b8710]{width:800px;max-width:100%;margin:100px auto}.errPage-container .pan-back-btn[data-v-980b8710]{background:#008489;color:#fff;border:none!important}.errPage-container .pan-gif[data-v-980b8710]{margin:0 auto;display:block}.errPage-container .pan-img[data-v-980b8710]{display:block;margin:0 auto;width:100%}.errPage-container .text-jumbo[data-v-980b8710]{font-size:60px;font-weight:700;color:#484848}.errPage-container .list-unstyled[data-v-980b8710]{font-size:14px}.errPage-container .list-unstyled li[data-v-980b8710]{padding-bottom:5px}.errPage-container .list-unstyled a[data-v-980b8710]{color:#008489;text-decoration:none}.errPage-container .list-unstyled a[data-v-980b8710]:hover{text-decoration:underline}
.wscn-http404-container[data-v-e3a2dc79]{transform:translate(-50%,-50%);position:absolute;top:40%;left:50%}.wscn-http404[data-v-e3a2dc79]{position:relative;width:1200px;padding:0 50px;overflow:hidden}.wscn-http404 .pic-404[data-v-e3a2dc79]{position:relative;float:left;width:600px;overflow:hidden}.wscn-http404 .pic-404__parent[data-v-e3a2dc79]{width:100%}.wscn-http404 .pic-404__child[data-v-e3a2dc79]{position:absolute}.wscn-http404 .pic-404__child.left[data-v-e3a2dc79]{width:80px;top:17px;left:220px;opacity:0;animation-name:cloudLeft-e3a2dc79;animation-duration:2s;animation-timing-function:linear;animation-fill-mode:forwards;animation-delay:1s}.wscn-http404 .pic-404__child.mid[data-v-e3a2dc79]{width:46px;top:10px;left:420px;opacity:0;animation-name:cloudMid-e3a2dc79;animation-duration:2s;animation-timing-function:linear;animation-fill-mode:forwards;animation-delay:1.2s}.wscn-http404 .pic-404__child.right[data-v-e3a2dc79]{width:62px;top:100px;left:500px;opacity:0;animation-name:cloudRight-e3a2dc79;animation-duration:2s;animation-timing-function:linear;animation-fill-mode:forwards;animation-delay:1s}@keyframes cloudLeft-e3a2dc79{0%{top:17px;left:220px;opacity:0}20%{top:33px;left:188px;opacity:1}80%{top:81px;left:92px;opacity:1}to{top:97px;left:60px;opacity:0}}@keyframes cloudMid-e3a2dc79{0%{top:10px;left:420px;opacity:0}20%{top:40px;left:360px;opacity:1}70%{top:130px;left:180px;opacity:1}to{top:160px;left:120px;opacity:0}}@keyframes cloudRight-e3a2dc79{0%{top:100px;left:500px;opacity:0}20%{top:120px;left:460px;opacity:1}80%{top:180px;left:340px;opacity:1}to{top:200px;left:300px;opacity:0}}.wscn-http404 .bullshit[data-v-e3a2dc79]{position:relative;float:left;width:300px;padding:30px 0;overflow:hidden}.wscn-http404 .bullshit__oops[data-v-e3a2dc79]{font-size:32px;font-weight:700;line-height:40px;color:#1482f0;opacity:0;margin-bottom:20px;animation-name:slideUp-e3a2dc79;animation-duration:.5s;animation-fill-mode:forwards}.wscn-http404 .bullshit__headline[data-v-e3a2dc79]{font-size:20px;line-height:24px;color:#222;font-weight:700;opacity:0;margin-bottom:10px;animation-name:slideUp-e3a2dc79;animation-duration:.5s;animation-delay:.1s;animation-fill-mode:forwards}.wscn-http404 .bullshit__info[data-v-e3a2dc79]{font-size:13px;line-height:21px;color:gray;opacity:0;margin-bottom:30px;animation-name:slideUp-e3a2dc79;animation-duration:.5s;animation-delay:.2s;animation-fill-mode:forwards}.wscn-http404 .bullshit__return-home[data-v-e3a2dc79]{display:block;float:left;width:110px;height:36px;background:#1482f0;border-radius:100px;text-align:center;color:#fff;opacity:0;font-size:14px;line-height:36px;cursor:pointer;animation-name:slideUp-e3a2dc79;animation-duration:.5s;animation-delay:.3s;animation-fill-mode:forwards}@keyframes slideUp-e3a2dc79{0%{transform:translateY(60px);opacity:0}to{transform:translateY(0);opacity:1}}
import{_,x as i,c as d,d as l,e as r,k as s,y as n,i as p,f as h,h as m,z as u,m as v,p as f,q as g}from"./index-BXdSy86L.js";const x=""+new URL("404-N4aRkdWY.png",import.meta.url).href,e=""+new URL("404_cloud-CPexjtDj.png",import.meta.url).href,a=t=>(f("data-v-e3a2dc79"),t=t(),g(),t),k={class:"wscn-http404-container"},w={class:"wscn-http404"},b=u('<div class="pic-404" data-v-e3a2dc79><img class="pic-404__parent" src="'+x+'" alt="404" data-v-e3a2dc79><img class="pic-404__child left" src="'+e+'" alt="404" data-v-e3a2dc79><img class="pic-404__child mid" src="'+e+'" alt="404" data-v-e3a2dc79><img class="pic-404__child right" src="'+e+'" alt="404" data-v-e3a2dc79></div>',1),N={class:"bullshit"},S=a(()=>s("div",{class:"bullshit__oops"}," 404错误! ",-1)),I={class:"bullshit__headline"},R=a(()=>s("div",{class:"bullshit__info"}," 对不起,您正在寻找的页面不存在。尝试检查URL的错误,然后按浏览器上的刷新按钮或尝试在我们的应用程序中找到其他内容。 ",-1)),V={__name:"404",setup(t){let c=i(()=>"找不到网页!");return(B,C)=>{const o=d("router-link");return l(),r("div",k,[s("div",w,[b,s("div",N,[S,s("div",I,n(p(c)),1),R,h(o,{to:"/",class:"bullshit__return-home"},{default:m(()=>[v(" 返回首页 ")]),_:1})])])])}}},U=_(V,[["__scopeId","data-v-e3a2dc79"]]);export{U as default};
import{I as e}from"./index-BXdSy86L.js";function t(a){return e({url:"/djl-role/dispatch/query/list",method:"get",params:a})}function s(a){return e({url:"/djl-role/salary/advance/insert",method:"post",data:a})}function d(a){return e({url:"/djl-role/salary/advance/by/baseCode",method:"get",params:a})}function n(a){return e({url:"/djl-role/salary/advance/update",method:"post",data:a})}export{n as a,s as b,t as d,d as s};
import{r as s,A as P,B as R,c as r,C as E,d as x,e as A,D as h,E as V,i as l,f as e,h as o,G as L,l as y,m as u,y as N,v as Q}from"./index-BXdSy86L.js";import{d as $}from"./dispatch-D5OGiGsN.js";const F={class:"app-container"},H={__name:"index",setup(G){const{proxy:w}=Q(),v=s([]);s(!1);const m=s(!0),k=s(!0),f=s(0),C=P({form:{},queryParams:{page:1,limit:10}}),{queryParams:a,form:I}=R(C);function _(){m.value=!0,$(a.value).then(d=>{v.value=d.data,f.value=d.count,m.value=!1})}function p(){a.value.page=1,a.value.limit=10,_()}function K(){w.resetForm("queryRef"),p()}function S(d){w.$router.push("dispatch/salary/advance?id="+d.id+"&code="+d.base_code)}return _(),(d,i)=>{const b=r("el-input"),c=r("el-form-item"),g=r("el-button"),U=r("el-form"),t=r("el-table-column"),q=r("el-table"),B=r("pagination"),D=E("loading");return x(),A("div",F,[h(e(U,{model:l(a),ref:"queryRef",inline:!0},{default:o(()=>[e(c,{label:"派遣公司名称",prop:"name"},{default:o(()=>[e(b,{modelValue:l(a).name,"onUpdate:modelValue":i[0]||(i[0]=n=>l(a).name=n),clearable:"",style:{width:"300px"},onKeyup:y(p,["enter"])},null,8,["modelValue","onKeyup"])]),_:1}),e(c,{label:"默认账号",prop:"default_account"},{default:o(()=>[e(b,{modelValue:l(a).default_account,"onUpdate:modelValue":i[1]||(i[1]=n=>l(a).default_account=n),clearable:"",style:{width:"300px"},onKeyup:y(p,["enter"])},null,8,["modelValue","onKeyup"])]),_:1}),e(c,{label:"编号",prop:"base_code"},{default:o(()=>[e(b,{modelValue:l(a).base_code,"onUpdate:modelValue":i[2]||(i[2]=n=>l(a).base_code=n),clearable:"",style:{width:"300px"},onKeyup:y(p,["enter"])},null,8,["modelValue","onKeyup"])]),_:1}),e(c,null,{default:o(()=>[e(g,{type:"primary",icon:"Search",onClick:p},{default:o(()=>[u("搜索")]),_:1}),e(g,{icon:"Refresh",onClick:K},{default:o(()=>[u("重置")]),_:1})]),_:1})]),_:1},8,["model"]),[[V,l(k)]]),h((x(),L(q,{data:l(v)},{default:o(()=>[e(t,{label:"编号",align:"left",prop:"base_code",width:"200",fixed:""}),e(t,{label:"派遣公司名称",align:"left",prop:"name",width:"260",fixed:""}),e(t,{label:"默认账号",align:"left",prop:"default_account",width:"180",fixed:""}),e(t,{label:"前缀",align:"left",prop:"prefix",width:"100"}),e(t,{label:"规模",align:"center",prop:"scale"}),e(t,{label:"联系人",align:"center",prop:"contracts"}),e(t,{label:"联系电话",align:"center",prop:"contract_number",width:"120"}),e(t,{label:"公司地址(省市县区 )",align:"left",prop:"district",width:"200"}),e(t,{label:"详细地址",align:"left",prop:"address",width:"200"}),e(t,{label:"是否使用电子合同",align:"center",prop:"line_contract",width:"180"},{default:o(({row:n})=>[u(N(n.line_contract=="1"?"是":"否"),1)]),_:1}),e(t,{label:"统一社会信用代码",align:"left",prop:"id_no",width:"180"}),e(t,{label:"电子签章应用id",align:"left",prop:"seal_id",width:"180"}),e(t,{label:"电子签章应用秘钥",align:"left",prop:"secret_key",width:"280"}),e(t,{label:"注册日期",align:"left",prop:"register_time",width:"180"}),e(t,{label:"创建时间",align:"left",prop:"create_time",width:"180"}),e(t,{label:"更新时间",align:"left",prop:"update_time",width:"180"}),e(t,{label:"操作",width:"180",align:"center","class-name":"small-padding fixed-width"},{default:o(({row:n})=>[e(g,{link:"",type:"primary",onClick:T=>S(n),icon:"EditPen"},{default:o(()=>[u("设置预支工资")]),_:2},1032,["onClick"])]),_:1})]),_:1},8,["data"])),[[D,l(m)]]),h(e(B,{total:l(f),page:l(a).page,"onUpdate:page":i[3]||(i[3]=n=>l(a).page=n),limit:l(a).limit,"onUpdate:limit":i[4]||(i[4]=n=>l(a).limit=n),onPagination:_},null,8,["total","page","limit"]),[[V,l(f)>0]])])}}};export{H as default};
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
import{I as g,r as p,A as ie,B as de,c,C as pe,d as y,e as C,D as R,E as I,i as a,f as e,h as o,F as S,J as L,G as j,m as f,y as A,k as x,H as J,v as se}from"./index-BXdSy86L.js";function ce(u){return g({url:"/djl-recruit/releasedproject/queryallproject",method:"get",params:u})}function me(u){return g({url:"/djl-recruit/manufacturer/query/list",method:"get",params:u})}function fe(u){return g({url:"/djl-recruit/releasedproject/query/projectList",method:"get",params:u})}function _e(u){return g({url:"/djl-recruit/channelqrcode/download/base64/qrcode",method:"get",params:u})}function ve(u){return g({url:"/djl-recruit/recruitpersonnel/querychannelproject",method:"get",params:u})}function be(u){return g({url:"/djl-recruit/releasedpricepolicy/queryallpricepolicy",method:"get",params:u})}function ye(u){return g({url:"/djl-recruit/recruitpersonnel/insertchannelproject",method:"post",data:u})}const ge={class:"app-container"},he={class:"block"},Ve=["src"],ke={class:"dialog-footer"},Ce={class:"dialog-footer"},xe={__name:"index",setup(u){const{proxy:_}=se(),Y=p([]),V=p(!1),h=p(!1),w=p(!0),O=p(!0),q=p(0),G=p(""),F=p([]),B=p([]),U=p([]),$=p(""),k=p(""),H=ie({form:{proid:""},queryParams:{page:1,limit:10},rules:{pricepolicyid:[{required:!0,message:"请选择招聘政策",trigger:"blur"}]}}),{queryParams:n,form:m,rules:T}=de(H);ce().then(r=>{F.value=[{value:"",label:"请选择"},...r.data.map(l=>({value:l.id,label:l.name,id:l.id}))]}),me().then(r=>{B.value=[{value:"",label:"请选择"},...r.map(l=>(l=JSON.parse(l),{value:l.id,label:l.name,id:l.id}))]});function D(){w.value=!0,fe(n.value).then(r=>{Y.value=r.data,q.value=r.count,w.value=!1})}function z(r){_.$router.push("/channel_recruit_report/project_details?id="+r.id)}function K(r,l){V.value=!0;var i={};switch(i.pro_id=r.id,i.type=l,l){case"bycar":k.value="出发二维码";break;case"arrived":k.value="接站二维码";break;case"interview":k.value="面试二维码";break}_e(i).then(s=>{$.value="data:application/octet-stream;base64,"+s.data})}function W(){const r=document.createElement("a");r.href=$.value,r.setAttribute("download",k.value+".jpg"),r.click()}function N(){n.value.page=1,n.value.limit=10,D()}function X(){_.resetForm("queryRef"),N()}function Z(r){m.value.pricepolicy=U.value.find(l=>l.id===r).label}function ee(r){ve({proid:r.id}).then(l=>{l.code=="stop"?(_.$refs.postRef!==void 0&&_.$refs.postRef.resetFields(),m.value.proid=r.id,h.value=!0,be({proid:r.id}).then(i=>{U.value=[{value:"",label:"请选择"},...i.data.map(s=>({value:s.id,label:s.channel_policy,id:s.id}))]})):_.$router.push("/channel_recruit_report/report?id="+r.id)})}function le(){h.value=!1}function te(){_.$refs.postRef.validate(r=>{r&&ye(m.value).then(l=>{_.$modal.msgSuccess(l.code),_.$router.push("/channel_recruit_report/report?id="+m.value.proid)})})}D();function ae(r){if(r.state==="new")return"未发布";if(r.state==="release")return"已发布";if(r.state==="finish")return"已结束";if(r.state==="closed")return"已关闭"}return(r,l)=>{const i=c("el-option"),s=c("el-select"),v=c("el-form-item"),E=c("el-date-picker"),b=c("el-button"),P=c("el-form"),d=c("el-table-column"),oe=c("el-table"),re=c("pagination"),M=c("el-dialog"),ne=c("el-input"),ue=pe("loading");return y(),C("div",ge,[R(e(P,{model:a(n),ref:"queryRef",inline:!0},{default:o(()=>[e(v,{label:"项目名称",prop:"name"},{default:o(()=>[e(s,{modelValue:a(n).name,"onUpdate:modelValue":l[0]||(l[0]=t=>a(n).name=t),placeholder:"请选择",style:{width:"240px"}},{default:o(()=>[(y(!0),C(S,null,L(a(F),t=>(y(),j(i,{key:t.value,label:t.label,value:t.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),e(v,{label:"招聘厂商",prop:"manufacturer"},{default:o(()=>[e(s,{modelValue:a(n).manufacturer,"onUpdate:modelValue":l[1]||(l[1]=t=>a(n).manufacturer=t),placeholder:"请选择",style:{width:"240px"}},{default:o(()=>[(y(!0),C(S,null,L(a(B),t=>(y(),j(i,{key:t.value,label:t.label,value:t.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),e(v,{label:"是否已报备人员",prop:"is_report"},{default:o(()=>[e(s,{modelValue:a(n).is_report,"onUpdate:modelValue":l[2]||(l[2]=t=>a(n).is_report=t),placeholder:"请选择",style:{width:"240px"}},{default:o(()=>[e(i,{label:"是",value:"true"}),e(i,{label:"否",value:"false"})]),_:1},8,["modelValue"])]),_:1}),e(v,{label:"项目开始日期",prop:"start_date"},{default:o(()=>[e(E,{modelValue:a(n).start_date,"onUpdate:modelValue":l[3]||(l[3]=t=>a(n).start_date=t),type:"date","value-format":"YYYY-MM-DD"},null,8,["modelValue"])]),_:1}),e(v,{label:"项目结束日期",prop:"end_date"},{default:o(()=>[e(E,{modelValue:a(n).end_date,"onUpdate:modelValue":l[4]||(l[4]=t=>a(n).end_date=t),type:"date","value-format":"YYYY-MM-DD"},null,8,["modelValue"])]),_:1}),e(v,{label:"状态",prop:"state"},{default:o(()=>[e(s,{modelValue:a(n).state,"onUpdate:modelValue":l[5]||(l[5]=t=>a(n).state=t),placeholder:"请选择",style:{width:"240px"}},{default:o(()=>[e(i,{label:"已发布",value:"release"}),e(i,{label:"已关闭",value:"closed"})]),_:1},8,["modelValue"])]),_:1}),e(v,null,{default:o(()=>[e(b,{type:"primary",icon:"Search",onClick:N},{default:o(()=>[f("搜索")]),_:1}),e(b,{icon:"Refresh",onClick:X},{default:o(()=>[f("重置")]),_:1})]),_:1})]),_:1},8,["model"]),[[I,a(O)]]),R((y(),j(oe,{data:a(Y)},{default:o(()=>[e(d,{label:"项目名称",align:"left",prop:"name",width:"200"},{default:o(({row:t})=>[e(b,{link:"",type:"primary",onClick:Q=>z(t)},{default:o(()=>[f(A(t.name),1)]),_:2},1032,["onClick"])]),_:1}),e(d,{label:"招聘厂商",align:"left",prop:"manufacturer"}),e(d,{label:"招聘人数",align:"left",prop:"recruit_amount"}),e(d,{label:"岗位",align:"left",prop:"post"}),e(d,{label:"项目开始日期",align:"center",prop:"start_date"}),e(d,{label:"项目结束日期",align:"center",prop:"end_date"}),e(d,{label:"接站时间",align:"left",prop:"arrive_time"}),e(d,{label:"联系电话",align:"left",prop:"contact_number"}),e(d,{label:"联系人",align:"left",prop:"contacts"}),e(d,{label:"可预支工资",align:"center",prop:"able_advance"},{default:o(({row:t})=>[f(A(t.able_advance=="1"?"是":"否"),1)]),_:1}),e(d,{label:"状态",align:"center",prop:"state",formatter:ae}),e(d,{label:"出发二维码",align:"center"},{default:o(({row:t})=>[e(b,{link:"",type:"primary",onClick:Q=>K(t,"bycar")},{default:o(()=>[f("查看")]),_:2},1032,["onClick"])]),_:1}),e(d,{label:"操作",width:"180",align:"center","class-name":"small-padding fixed-width"},{default:o(({row:t})=>[e(b,{link:"",type:"primary",onClick:Q=>ee(t),icon:"EditPen"},{default:o(()=>[f("报备")]),_:2},1032,["onClick"])]),_:1})]),_:1},8,["data"])),[[ue,a(w)]]),R(e(re,{total:a(q),page:a(n).page,"onUpdate:page":l[6]||(l[6]=t=>a(n).page=t),limit:a(n).limit,"onUpdate:limit":l[7]||(l[7]=t=>a(n).limit=t),onPagination:D},null,8,["total","page","limit"]),[[I,a(q)>0]]),e(M,{title:a(G),modelValue:a(V),"onUpdate:modelValue":l[9]||(l[9]=t=>J(V)?V.value=t:null),width:"390px","append-to-body":""},{footer:o(()=>[x("div",ke,[e(b,{type:"primary",onClick:l[8]||(l[8]=t=>W())},{default:o(()=>[f("下载")]),_:1})])]),default:o(()=>[e(P,{model:a(m),"label-width":"100px"},{default:o(()=>[x("div",he,[x("img",{src:a($),style:{width:"350px",height:"350px"}},null,8,Ve)])]),_:1},8,["model"])]),_:1},8,["title","modelValue"]),e(M,{title:"招聘政策",modelValue:a(h),"onUpdate:modelValue":l[12]||(l[12]=t=>J(h)?h.value=t:null),width:"390px","append-to-body":""},{footer:o(()=>[x("div",Ce,[e(b,{type:"primary",onClick:te},{default:o(()=>[f("提 交")]),_:1}),e(b,{onClick:le},{default:o(()=>[f("取 消")]),_:1})])]),default:o(()=>[e(P,{ref:"postRef",model:a(m),rules:a(T),"label-width":"100px"},{default:o(()=>[e(ne,{modelValue:a(m).pricepolicy,"onUpdate:modelValue":l[10]||(l[10]=t=>a(m).pricepolicy=t),type:"hidden"},null,8,["modelValue"]),e(v,{label:"招聘政策",prop:"pricepolicyid"},{default:o(()=>[e(s,{modelValue:a(m).pricepolicyid,"onUpdate:modelValue":l[11]||(l[11]=t=>a(m).pricepolicyid=t),placeholder:"请选择",style:{width:"300px"},onChange:Z},{default:o(()=>[(y(!0),C(S,null,L(a(U),t=>(y(),j(i,{key:t.value,label:t.label,value:t.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])]),_:1},8,["modelValue"])])}}};export{xe as default};
import{g as ie,_ as ne,u as se,a as oe,b as ae,r as gt,w as he,o as ue,c as bt,d as ot,e as at,f as rt,h as dt,i as G,j as mt,k as it,F as ce,l as le,m as Ft,n as fe,p as pe,q as ge,s as de,t as me,v as ve}from"./index-BXdSy86L.js";const ye=""+new URL("jft-4vPt_c-J.png",import.meta.url).href,be=""+new URL("saoma-Ds7j0Ub4.png",import.meta.url).href,Te=""+new URL("zhanghao-DMEFaW4S.png",import.meta.url).href;var Ut={exports:{}};/*! For license information please see jsencrypt.min.js.LICENSE.txt */(function(Q,Y){(function(ht,nt){Q.exports=nt()})(window,()=>(()=>{var ht={155:I=>{var v,E,m=I.exports={};function X(){throw new Error("setTimeout has not been defined")}function j(){throw new Error("clearTimeout has not been defined")}function ut(y){if(v===setTimeout)return setTimeout(y,0);if((v===X||!v)&&setTimeout)return v=setTimeout,setTimeout(y,0);try{return v(y,0)}catch{try{return v.call(null,y,0)}catch{return v.call(this,y,0)}}}(function(){try{v=typeof setTimeout=="function"?setTimeout:X}catch{v=X}try{E=typeof clearTimeout=="function"?clearTimeout:j}catch{E=j}})();var k,N=[],C=!1,W=-1;function R(){C&&k&&(C=!1,k.length?N=k.concat(N):W=-1,N.length&&D())}function D(){if(!C){var y=ut(R);C=!0;for(var w=N.length;w;){for(k=N,N=[];++W<w;)k&&k[W].run();W=-1,w=N.length}k=null,C=!1,function(M){if(E===clearTimeout)return clearTimeout(M);if((E===j||!E)&&clearTimeout)return E=clearTimeout,clearTimeout(M);try{return E(M)}catch{try{return E.call(null,M)}catch{return E.call(this,M)}}}(y)}}function P(y,w){this.fun=y,this.array=w}function V(){}m.nextTick=function(y){var w=new Array(arguments.length-1);if(arguments.length>1)for(var M=1;M<arguments.length;M++)w[M-1]=arguments[M];N.push(new P(y,w)),N.length!==1||C||ut(D)},P.prototype.run=function(){this.fun.apply(null,this.array)},m.title="browser",m.browser=!0,m.env={},m.argv=[],m.version="",m.versions={},m.on=V,m.addListener=V,m.once=V,m.off=V,m.removeListener=V,m.removeAllListeners=V,m.emit=V,m.prependListener=V,m.prependOnceListener=V,m.listeners=function(y){return[]},m.binding=function(y){throw new Error("process.binding is not supported")},m.cwd=function(){return"/"},m.chdir=function(y){throw new Error("process.chdir is not supported")},m.umask=function(){return 0}}},nt={};function F(I){var v=nt[I];if(v!==void 0)return v.exports;var E=nt[I]={exports:{}};return ht[I](E,E.exports,F),E.exports}F.d=(I,v)=>{for(var E in v)F.o(v,E)&&!F.o(I,E)&&Object.defineProperty(I,E,{enumerable:!0,get:v[E]})},F.o=(I,v)=>Object.prototype.hasOwnProperty.call(I,v);var q={};return(()=>{F.d(q,{default:()=>ee});var I="0123456789abcdefghijklmnopqrstuvwxyz";function v(i){return I.charAt(i)}function E(i,t){return i&t}function m(i,t){return i|t}function X(i,t){return i^t}function j(i,t){return i&~t}function ut(i){if(i==0)return-1;var t=0;return!(65535&i)&&(i>>=16,t+=16),!(255&i)&&(i>>=8,t+=8),!(15&i)&&(i>>=4,t+=4),!(3&i)&&(i>>=2,t+=2),!(1&i)&&++t,t}function k(i){for(var t=0;i!=0;)i&=i-1,++t;return t}var N,C="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",W="=";function R(i){var t,e,r="";for(t=0;t+3<=i.length;t+=3)e=parseInt(i.substring(t,t+3),16),r+=C.charAt(e>>6)+C.charAt(63&e);for(t+1==i.length?(e=parseInt(i.substring(t,t+1),16),r+=C.charAt(e<<2)):t+2==i.length&&(e=parseInt(i.substring(t,t+2),16),r+=C.charAt(e>>2)+C.charAt((3&e)<<4));(3&r.length)>0;)r+=W;return r}function D(i){var t,e="",r=0,n=0;for(t=0;t<i.length&&i.charAt(t)!=W;++t){var s=C.indexOf(i.charAt(t));s<0||(r==0?(e+=v(s>>2),n=3&s,r=1):r==1?(e+=v(n<<2|s>>4),n=15&s,r=2):r==2?(e+=v(n),e+=v(s>>2),n=3&s,r=3):(e+=v(n<<2|s>>4),e+=v(15&s),r=0))}return r==1&&(e+=v(n<<2)),e}var P,V={decode:function(i){var t;if(P===void 0){var e=`= \f
\r  \u2028\u2029`;for(P=Object.create(null),t=0;t<64;++t)P["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(t)]=t;for(P["-"]=62,P._=63,t=0;t<e.length;++t)P[e.charAt(t)]=-1}var r=[],n=0,s=0;for(t=0;t<i.length;++t){var o=i.charAt(t);if(o=="=")break;if((o=P[o])!=-1){if(o===void 0)throw new Error("Illegal character at offset "+t);n|=o,++s>=4?(r[r.length]=n>>16,r[r.length]=n>>8&255,r[r.length]=255&n,n=0,s=0):n<<=6}}switch(s){case 1:throw new Error("Base64 encoding incomplete: at least 2 bits missing");case 2:r[r.length]=n>>10;break;case 3:r[r.length]=n>>16,r[r.length]=n>>8&255}return r},re:/-----BEGIN [^-]+-----([A-Za-z0-9+\/=\s]+)-----END [^-]+-----|begin-base64[^\n]+\n([A-Za-z0-9+\/=\s]+)====/,unarmor:function(i){var t=V.re.exec(i);if(t)if(t[1])i=t[1];else{if(!t[2])throw new Error("RegExp out of sync");i=t[2]}return V.decode(i)}},y=1e13,w=function(){function i(t){this.buf=[+t||0]}return i.prototype.mulAdd=function(t,e){var r,n,s=this.buf,o=s.length;for(r=0;r<o;++r)(n=s[r]*t+e)<y?e=0:n-=(e=0|n/y)*y,s[r]=n;e>0&&(s[r]=e)},i.prototype.sub=function(t){var e,r,n=this.buf,s=n.length;for(e=0;e<s;++e)(r=n[e]-t)<0?(r+=y,t=1):t=0,n[e]=r;for(;n[n.length-1]===0;)n.pop()},i.prototype.toString=function(t){if((t||10)!=10)throw new Error("only base 10 is supported");for(var e=this.buf,r=e[e.length-1].toString(),n=e.length-2;n>=0;--n)r+=(y+e[n]).toString().substring(1);return r},i.prototype.valueOf=function(){for(var t=this.buf,e=0,r=t.length-1;r>=0;--r)e=e*y+t[r];return e},i.prototype.simplify=function(){var t=this.buf;return t.length==1?t[0]:this},i}(),M="…",U=/^(\d\d)(0[1-9]|1[0-2])(0[1-9]|[12]\d|3[01])([01]\d|2[0-3])(?:([0-5]\d)(?:([0-5]\d)(?:[.,](\d{1,3}))?)?)?(Z|[-+](?:[0]\d|1[0-2])([0-5]\d)?)?$/,ct=/^(\d\d\d\d)(0[1-9]|1[0-2])(0[1-9]|[12]\d|3[01])([01]\d|2[0-3])(?:([0-5]\d)(?:([0-5]\d)(?:[.,](\d{1,3}))?)?)?(Z|[-+](?:[0]\d|1[0-2])([0-5]\d)?)?$/;function lt(i,t){return i.length>t&&(i=i.substring(0,t)+M),i}var $,Rt=function(){function i(t,e){this.hexDigits="0123456789ABCDEF",t instanceof i?(this.enc=t.enc,this.pos=t.pos):(this.enc=t,this.pos=e)}return i.prototype.get=function(t){if(t===void 0&&(t=this.pos++),t>=this.enc.length)throw new Error("Requesting byte offset ".concat(t," on a stream of length ").concat(this.enc.length));return typeof this.enc=="string"?this.enc.charCodeAt(t):this.enc[t]},i.prototype.hexByte=function(t){return this.hexDigits.charAt(t>>4&15)+this.hexDigits.charAt(15&t)},i.prototype.hexDump=function(t,e,r){for(var n="",s=t;s<e;++s)if(n+=this.hexByte(this.get(s)),r!==!0)switch(15&s){case 7:n+=" ";break;case 15:n+=`
`;break;default:n+=" "}return n},i.prototype.isASCII=function(t,e){for(var r=t;r<e;++r){var n=this.get(r);if(n<32||n>176)return!1}return!0},i.prototype.parseStringISO=function(t,e){for(var r="",n=t;n<e;++n)r+=String.fromCharCode(this.get(n));return r},i.prototype.parseStringUTF=function(t,e){for(var r="",n=t;n<e;){var s=this.get(n++);r+=s<128?String.fromCharCode(s):s>191&&s<224?String.fromCharCode((31&s)<<6|63&this.get(n++)):String.fromCharCode((15&s)<<12|(63&this.get(n++))<<6|63&this.get(n++))}return r},i.prototype.parseStringBMP=function(t,e){for(var r,n,s="",o=t;o<e;)r=this.get(o++),n=this.get(o++),s+=String.fromCharCode(r<<8|n);return s},i.prototype.parseTime=function(t,e,r){var n=this.parseStringISO(t,e),s=(r?U:ct).exec(n);return s?(r&&(s[1]=+s[1],s[1]+=+s[1]<70?2e3:1900),n=s[1]+"-"+s[2]+"-"+s[3]+" "+s[4],s[5]&&(n+=":"+s[5],s[6]&&(n+=":"+s[6],s[7]&&(n+="."+s[7]))),s[8]&&(n+=" UTC",s[8]!="Z"&&(n+=s[8],s[9]&&(n+=":"+s[9]))),n):"Unrecognized time: "+n},i.prototype.parseInteger=function(t,e){for(var r,n=this.get(t),s=n>127,o=s?255:0,a="";n==o&&++t<e;)n=this.get(t);if((r=e-t)==0)return s?-1:0;if(r>4){for(a=n,r<<=3;!(128&(+a^o));)a=+a<<1,--r;a="("+r+` bit)
`}s&&(n-=256);for(var h=new w(n),c=t+1;c<e;++c)h.mulAdd(256,this.get(c));return a+h.toString()},i.prototype.parseBitString=function(t,e,r){for(var n=this.get(t),s="("+((e-t-1<<3)-n)+` bit)
`,o="",a=t+1;a<e;++a){for(var h=this.get(a),c=a==e-1?n:0,l=7;l>=c;--l)o+=h>>l&1?"1":"0";if(o.length>r)return s+lt(o,r)}return s+o},i.prototype.parseOctetString=function(t,e,r){if(this.isASCII(t,e))return lt(this.parseStringISO(t,e),r);var n=e-t,s="("+n+` byte)
`;n>(r/=2)&&(e=t+r);for(var o=t;o<e;++o)s+=this.hexByte(this.get(o));return n>r&&(s+=M),s},i.prototype.parseOID=function(t,e,r){for(var n="",s=new w,o=0,a=t;a<e;++a){var h=this.get(a);if(s.mulAdd(128,127&h),o+=7,!(128&h)){if(n==="")if((s=s.simplify())instanceof w)s.sub(80),n="2."+s.toString();else{var c=s<80?s<40?0:1:2;n=c+"."+(s-40*c)}else n+="."+s.toString();if(n.length>r)return lt(n,r);s=new w,o=0}}return o>0&&(n+=".incomplete"),n},i}(),zt=function(){function i(t,e,r,n,s){if(!(n instanceof Mt))throw new Error("Invalid tag value.");this.stream=t,this.header=e,this.length=r,this.tag=n,this.sub=s}return i.prototype.typeName=function(){switch(this.tag.tagClass){case 0:switch(this.tag.tagNumber){case 0:return"EOC";case 1:return"BOOLEAN";case 2:return"INTEGER";case 3:return"BIT_STRING";case 4:return"OCTET_STRING";case 5:return"NULL";case 6:return"OBJECT_IDENTIFIER";case 7:return"ObjectDescriptor";case 8:return"EXTERNAL";case 9:return"REAL";case 10:return"ENUMERATED";case 11:return"EMBEDDED_PDV";case 12:return"UTF8String";case 16:return"SEQUENCE";case 17:return"SET";case 18:return"NumericString";case 19:return"PrintableString";case 20:return"TeletexString";case 21:return"VideotexString";case 22:return"IA5String";case 23:return"UTCTime";case 24:return"GeneralizedTime";case 25:return"GraphicString";case 26:return"VisibleString";case 27:return"GeneralString";case 28:return"UniversalString";case 30:return"BMPString"}return"Universal_"+this.tag.tagNumber.toString();case 1:return"Application_"+this.tag.tagNumber.toString();case 2:return"["+this.tag.tagNumber.toString()+"]";case 3:return"Private_"+this.tag.tagNumber.toString()}},i.prototype.content=function(t){if(this.tag===void 0)return null;t===void 0&&(t=1/0);var e=this.posContent(),r=Math.abs(this.length);if(!this.tag.isUniversal())return this.sub!==null?"("+this.sub.length+" elem)":this.stream.parseOctetString(e,e+r,t);switch(this.tag.tagNumber){case 1:return this.stream.get(e)===0?"false":"true";case 2:return this.stream.parseInteger(e,e+r);case 3:return this.sub?"("+this.sub.length+" elem)":this.stream.parseBitString(e,e+r,t);case 4:return this.sub?"("+this.sub.length+" elem)":this.stream.parseOctetString(e,e+r,t);case 6:return this.stream.parseOID(e,e+r,t);case 16:case 17:return this.sub!==null?"("+this.sub.length+" elem)":"(no elem)";case 12:return lt(this.stream.parseStringUTF(e,e+r),t);case 18:case 19:case 20:case 21:case 22:case 26:return lt(this.stream.parseStringISO(e,e+r),t);case 30:return lt(this.stream.parseStringBMP(e,e+r),t);case 23:case 24:return this.stream.parseTime(e,e+r,this.tag.tagNumber==23)}return null},i.prototype.toString=function(){return this.typeName()+"@"+this.stream.pos+"[header:"+this.header+",length:"+this.length+",sub:"+(this.sub===null?"null":this.sub.length)+"]"},i.prototype.toPrettyString=function(t){t===void 0&&(t="");var e=t+this.typeName()+" @"+this.stream.pos;if(this.length>=0&&(e+="+"),e+=this.length,this.tag.tagConstructed?e+=" (constructed)":!this.tag.isUniversal()||this.tag.tagNumber!=3&&this.tag.tagNumber!=4||this.sub===null||(e+=" (encapsulates)"),e+=`
`,this.sub!==null){t+=" ";for(var r=0,n=this.sub.length;r<n;++r)e+=this.sub[r].toPrettyString(t)}return e},i.prototype.posStart=function(){return this.stream.pos},i.prototype.posContent=function(){return this.stream.pos+this.header},i.prototype.posEnd=function(){return this.stream.pos+this.header+Math.abs(this.length)},i.prototype.toHexString=function(){return this.stream.hexDump(this.posStart(),this.posEnd(),!0)},i.decodeLength=function(t){var e=t.get(),r=127&e;if(r==e)return r;if(r>6)throw new Error("Length over 48 bits not supported at position "+(t.pos-1));if(r===0)return null;e=0;for(var n=0;n<r;++n)e=256*e+t.get();return e},i.prototype.getHexStringValue=function(){var t=this.toHexString(),e=2*this.header,r=2*this.length;return t.substr(e,r)},i.decode=function(t){var e;e=t instanceof Rt?t:new Rt(t,0);var r=new Rt(e),n=new Mt(e),s=i.decodeLength(e),o=e.pos,a=o-r.pos,h=null,c=function(){var b=[];if(s!==null){for(var g=o+s;e.pos<g;)b[b.length]=i.decode(e);if(e.pos!=g)throw new Error("Content size is not correct for container starting at offset "+o)}else try{for(;;){var x=i.decode(e);if(x.tag.isEOC())break;b[b.length]=x}s=o-e.pos}catch(S){throw new Error("Exception while decoding undefined length content: "+S)}return b};if(n.tagConstructed)h=c();else if(n.isUniversal()&&(n.tagNumber==3||n.tagNumber==4))try{if(n.tagNumber==3&&e.get()!=0)throw new Error("BIT STRINGs with unused bits cannot encapsulate.");h=c();for(var l=0;l<h.length;++l)if(h[l].tag.isEOC())throw new Error("EOC is not supposed to be actual content.")}catch{h=null}if(h===null){if(s===null)throw new Error("We can't skip over an invalid tag with undefined length at offset "+o);e.pos=o+Math.abs(s)}return new i(r,a,s,n,h)},i}(),Mt=function(){function i(t){var e=t.get();if(this.tagClass=e>>6,this.tagConstructed=(32&e)!=0,this.tagNumber=31&e,this.tagNumber==31){var r=new w;do e=t.get(),r.mulAdd(128,127&e);while(128&e);this.tagNumber=r.simplify()}}return i.prototype.isUniversal=function(){return this.tagClass===0},i.prototype.isEOC=function(){return this.tagClass===0&&this.tagNumber===0},i}(),L=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509,521,523,541,547,557,563,569,571,577,587,593,599,601,607,613,617,619,631,641,643,647,653,659,661,673,677,683,691,701,709,719,727,733,739,743,751,757,761,769,773,787,797,809,811,821,823,827,829,839,853,857,859,863,877,881,883,887,907,911,919,929,937,941,947,953,967,971,977,983,991,997],Gt=(1<<26)/L[L.length-1],p=function(){function i(t,e,r){t!=null&&(typeof t=="number"?this.fromNumber(t,e,r):e==null&&typeof t!="string"?this.fromString(t,256):this.fromString(t,e))}return i.prototype.toString=function(t){if(this.s<0)return"-"+this.negate().toString(t);var e;if(t==16)e=4;else if(t==8)e=3;else if(t==2)e=1;else if(t==32)e=5;else{if(t!=4)return this.toRadix(t);e=2}var r,n=(1<<e)-1,s=!1,o="",a=this.t,h=this.DB-a*this.DB%e;if(a-- >0)for(h<this.DB&&(r=this[a]>>h)>0&&(s=!0,o=v(r));a>=0;)h<e?(r=(this[a]&(1<<h)-1)<<e-h,r|=this[--a]>>(h+=this.DB-e)):(r=this[a]>>(h-=e)&n,h<=0&&(h+=this.DB,--a)),r>0&&(s=!0),s&&(o+=v(r));return s?o:"0"},i.prototype.negate=function(){var t=d();return i.ZERO.subTo(this,t),t},i.prototype.abs=function(){return this.s<0?this.negate():this},i.prototype.compareTo=function(t){var e=this.s-t.s;if(e!=0)return e;var r=this.t;if((e=r-t.t)!=0)return this.s<0?-e:e;for(;--r>=0;)if((e=this[r]-t[r])!=0)return e;return 0},i.prototype.bitLength=function(){return this.t<=0?0:this.DB*(this.t-1)+St(this[this.t-1]^this.s&this.DM)},i.prototype.mod=function(t){var e=d();return this.abs().divRemTo(t,null,e),this.s<0&&e.compareTo(i.ZERO)>0&&t.subTo(e,e),e},i.prototype.modPowInt=function(t,e){var r;return r=t<256||e.isEven()?new qt(e):new Ct(e),this.exp(t,r)},i.prototype.clone=function(){var t=d();return this.copyTo(t),t},i.prototype.intValue=function(){if(this.s<0){if(this.t==1)return this[0]-this.DV;if(this.t==0)return-1}else{if(this.t==1)return this[0];if(this.t==0)return 0}return(this[1]&(1<<32-this.DB)-1)<<this.DB|this[0]},i.prototype.byteValue=function(){return this.t==0?this.s:this[0]<<24>>24},i.prototype.shortValue=function(){return this.t==0?this.s:this[0]<<16>>16},i.prototype.signum=function(){return this.s<0?-1:this.t<=0||this.t==1&&this[0]<=0?0:1},i.prototype.toByteArray=function(){var t=this.t,e=[];e[0]=this.s;var r,n=this.DB-t*this.DB%8,s=0;if(t-- >0)for(n<this.DB&&(r=this[t]>>n)!=(this.s&this.DM)>>n&&(e[s++]=r|this.s<<this.DB-n);t>=0;)n<8?(r=(this[t]&(1<<n)-1)<<8-n,r|=this[--t]>>(n+=this.DB-8)):(r=this[t]>>(n-=8)&255,n<=0&&(n+=this.DB,--t)),128&r&&(r|=-256),s==0&&(128&this.s)!=(128&r)&&++s,(s>0||r!=this.s)&&(e[s++]=r);return e},i.prototype.equals=function(t){return this.compareTo(t)==0},i.prototype.min=function(t){return this.compareTo(t)<0?this:t},i.prototype.max=function(t){return this.compareTo(t)>0?this:t},i.prototype.and=function(t){var e=d();return this.bitwiseTo(t,E,e),e},i.prototype.or=function(t){var e=d();return this.bitwiseTo(t,m,e),e},i.prototype.xor=function(t){var e=d();return this.bitwiseTo(t,X,e),e},i.prototype.andNot=function(t){var e=d();return this.bitwiseTo(t,j,e),e},i.prototype.not=function(){for(var t=d(),e=0;e<this.t;++e)t[e]=this.DM&~this[e];return t.t=this.t,t.s=~this.s,t},i.prototype.shiftLeft=function(t){var e=d();return t<0?this.rShiftTo(-t,e):this.lShiftTo(t,e),e},i.prototype.shiftRight=function(t){var e=d();return t<0?this.lShiftTo(-t,e):this.rShiftTo(t,e),e},i.prototype.getLowestSetBit=function(){for(var t=0;t<this.t;++t)if(this[t]!=0)return t*this.DB+ut(this[t]);return this.s<0?this.t*this.DB:-1},i.prototype.bitCount=function(){for(var t=0,e=this.s&this.DM,r=0;r<this.t;++r)t+=k(this[r]^e);return t},i.prototype.testBit=function(t){var e=Math.floor(t/this.DB);return e>=this.t?this.s!=0:(this[e]&1<<t%this.DB)!=0},i.prototype.setBit=function(t){return this.changeBit(t,m)},i.prototype.clearBit=function(t){return this.changeBit(t,j)},i.prototype.flipBit=function(t){return this.changeBit(t,X)},i.prototype.add=function(t){var e=d();return this.addTo(t,e),e},i.prototype.subtract=function(t){var e=d();return this.subTo(t,e),e},i.prototype.multiply=function(t){var e=d();return this.multiplyTo(t,e),e},i.prototype.divide=function(t){var e=d();return this.divRemTo(t,e,null),e},i.prototype.remainder=function(t){var e=d();return this.divRemTo(t,null,e),e},i.prototype.divideAndRemainder=function(t){var e=d(),r=d();return this.divRemTo(t,e,r),[e,r]},i.prototype.modPow=function(t,e){var r,n,s=t.bitLength(),o=tt(1);if(s<=0)return o;r=s<18?1:s<48?3:s<144?4:s<768?5:6,n=s<8?new qt(e):e.isEven()?new Yt(e):new Ct(e);var a=[],h=3,c=r-1,l=(1<<r)-1;if(a[1]=n.convert(this),r>1){var b=d();for(n.sqrTo(a[1],b);h<=l;)a[h]=d(),n.mulTo(b,a[h-2],a[h]),h+=2}var g,x,S=t.t-1,T=!0,A=d();for(s=St(t[S])-1;S>=0;){for(s>=c?g=t[S]>>s-c&l:(g=(t[S]&(1<<s+1)-1)<<c-s,S>0&&(g|=t[S-1]>>this.DB+s-c)),h=r;!(1&g);)g>>=1,--h;if((s-=h)<0&&(s+=this.DB,--S),T)a[g].copyTo(o),T=!1;else{for(;h>1;)n.sqrTo(o,A),n.sqrTo(A,o),h-=2;h>0?n.sqrTo(o,A):(x=o,o=A,A=x),n.mulTo(A,a[g],o)}for(;S>=0&&!(t[S]&1<<s);)n.sqrTo(o,A),x=o,o=A,A=x,--s<0&&(s=this.DB-1,--S)}return n.revert(o)},i.prototype.modInverse=function(t){var e=t.isEven();if(this.isEven()&&e||t.signum()==0)return i.ZERO;for(var r=t.clone(),n=this.clone(),s=tt(1),o=tt(0),a=tt(0),h=tt(1);r.signum()!=0;){for(;r.isEven();)r.rShiftTo(1,r),e?(s.isEven()&&o.isEven()||(s.addTo(this,s),o.subTo(t,o)),s.rShiftTo(1,s)):o.isEven()||o.subTo(t,o),o.rShiftTo(1,o);for(;n.isEven();)n.rShiftTo(1,n),e?(a.isEven()&&h.isEven()||(a.addTo(this,a),h.subTo(t,h)),a.rShiftTo(1,a)):h.isEven()||h.subTo(t,h),h.rShiftTo(1,h);r.compareTo(n)>=0?(r.subTo(n,r),e&&s.subTo(a,s),o.subTo(h,o)):(n.subTo(r,n),e&&a.subTo(s,a),h.subTo(o,h))}return n.compareTo(i.ONE)!=0?i.ZERO:h.compareTo(t)>=0?h.subtract(t):h.signum()<0?(h.addTo(t,h),h.signum()<0?h.add(t):h):h},i.prototype.pow=function(t){return this.exp(t,new Qt)},i.prototype.gcd=function(t){var e=this.s<0?this.negate():this.clone(),r=t.s<0?t.negate():t.clone();if(e.compareTo(r)<0){var n=e;e=r,r=n}var s=e.getLowestSetBit(),o=r.getLowestSetBit();if(o<0)return e;for(s<o&&(o=s),o>0&&(e.rShiftTo(o,e),r.rShiftTo(o,r));e.signum()>0;)(s=e.getLowestSetBit())>0&&e.rShiftTo(s,e),(s=r.getLowestSetBit())>0&&r.rShiftTo(s,r),e.compareTo(r)>=0?(e.subTo(r,e),e.rShiftTo(1,e)):(r.subTo(e,r),r.rShiftTo(1,r));return o>0&&r.lShiftTo(o,r),r},i.prototype.isProbablePrime=function(t){var e,r=this.abs();if(r.t==1&&r[0]<=L[L.length-1]){for(e=0;e<L.length;++e)if(r[0]==L[e])return!0;return!1}if(r.isEven())return!1;for(e=1;e<L.length;){for(var n=L[e],s=e+1;s<L.length&&n<Gt;)n*=L[s++];for(n=r.modInt(n);e<s;)if(n%L[e++]==0)return!1}return r.millerRabin(t)},i.prototype.copyTo=function(t){for(var e=this.t-1;e>=0;--e)t[e]=this[e];t.t=this.t,t.s=this.s},i.prototype.fromInt=function(t){this.t=1,this.s=t<0?-1:0,t>0?this[0]=t:t<-1?this[0]=t+this.DV:this.t=0},i.prototype.fromString=function(t,e){var r;if(e==16)r=4;else if(e==8)r=3;else if(e==256)r=8;else if(e==2)r=1;else if(e==32)r=5;else{if(e!=4)return void this.fromRadix(t,e);r=2}this.t=0,this.s=0;for(var n=t.length,s=!1,o=0;--n>=0;){var a=r==8?255&+t[n]:_t(t,n);a<0?t.charAt(n)=="-"&&(s=!0):(s=!1,o==0?this[this.t++]=a:o+r>this.DB?(this[this.t-1]|=(a&(1<<this.DB-o)-1)<<o,this[this.t++]=a>>this.DB-o):this[this.t-1]|=a<<o,(o+=r)>=this.DB&&(o-=this.DB))}r==8&&128&+t[0]&&(this.s=-1,o>0&&(this[this.t-1]|=(1<<this.DB-o)-1<<o)),this.clamp(),s&&i.ZERO.subTo(this,this)},i.prototype.clamp=function(){for(var t=this.s&this.DM;this.t>0&&this[this.t-1]==t;)--this.t},i.prototype.dlShiftTo=function(t,e){var r;for(r=this.t-1;r>=0;--r)e[r+t]=this[r];for(r=t-1;r>=0;--r)e[r]=0;e.t=this.t+t,e.s=this.s},i.prototype.drShiftTo=function(t,e){for(var r=t;r<this.t;++r)e[r-t]=this[r];e.t=Math.max(this.t-t,0),e.s=this.s},i.prototype.lShiftTo=function(t,e){for(var r=t%this.DB,n=this.DB-r,s=(1<<n)-1,o=Math.floor(t/this.DB),a=this.s<<r&this.DM,h=this.t-1;h>=0;--h)e[h+o+1]=this[h]>>n|a,a=(this[h]&s)<<r;for(h=o-1;h>=0;--h)e[h]=0;e[o]=a,e.t=this.t+o+1,e.s=this.s,e.clamp()},i.prototype.rShiftTo=function(t,e){e.s=this.s;var r=Math.floor(t/this.DB);if(r>=this.t)e.t=0;else{var n=t%this.DB,s=this.DB-n,o=(1<<n)-1;e[0]=this[r]>>n;for(var a=r+1;a<this.t;++a)e[a-r-1]|=(this[a]&o)<<s,e[a-r]=this[a]>>n;n>0&&(e[this.t-r-1]|=(this.s&o)<<s),e.t=this.t-r,e.clamp()}},i.prototype.subTo=function(t,e){for(var r=0,n=0,s=Math.min(t.t,this.t);r<s;)n+=this[r]-t[r],e[r++]=n&this.DM,n>>=this.DB;if(t.t<this.t){for(n-=t.s;r<this.t;)n+=this[r],e[r++]=n&this.DM,n>>=this.DB;n+=this.s}else{for(n+=this.s;r<t.t;)n-=t[r],e[r++]=n&this.DM,n>>=this.DB;n-=t.s}e.s=n<0?-1:0,n<-1?e[r++]=this.DV+n:n>0&&(e[r++]=n),e.t=r,e.clamp()},i.prototype.multiplyTo=function(t,e){var r=this.abs(),n=t.abs(),s=r.t;for(e.t=s+n.t;--s>=0;)e[s]=0;for(s=0;s<n.t;++s)e[s+r.t]=r.am(0,n[s],e,s,0,r.t);e.s=0,e.clamp(),this.s!=t.s&&i.ZERO.subTo(e,e)},i.prototype.squareTo=function(t){for(var e=this.abs(),r=t.t=2*e.t;--r>=0;)t[r]=0;for(r=0;r<e.t-1;++r){var n=e.am(r,e[r],t,2*r,0,1);(t[r+e.t]+=e.am(r+1,2*e[r],t,2*r+1,n,e.t-r-1))>=e.DV&&(t[r+e.t]-=e.DV,t[r+e.t+1]=1)}t.t>0&&(t[t.t-1]+=e.am(r,e[r],t,2*r,0,1)),t.s=0,t.clamp()},i.prototype.divRemTo=function(t,e,r){var n=t.abs();if(!(n.t<=0)){var s=this.abs();if(s.t<n.t)return e!=null&&e.fromInt(0),void(r!=null&&this.copyTo(r));r==null&&(r=d());var o=d(),a=this.s,h=t.s,c=this.DB-St(n[n.t-1]);c>0?(n.lShiftTo(c,o),s.lShiftTo(c,r)):(n.copyTo(o),s.copyTo(r));var l=o.t,b=o[l-1];if(b!=0){var g=b*(1<<this.F1)+(l>1?o[l-2]>>this.F2:0),x=this.FV/g,S=(1<<this.F1)/g,T=1<<this.F2,A=r.t,J=A-l,_=e??d();for(o.dlShiftTo(J,_),r.compareTo(_)>=0&&(r[r.t++]=1,r.subTo(_,r)),i.ONE.dlShiftTo(l,_),_.subTo(o,o);o.t<l;)o[o.t++]=0;for(;--J>=0;){var H=r[--A]==b?this.DM:Math.floor(r[A]*x+(r[A-1]+T)*S);if((r[A]+=o.am(0,H,r,J,0,l))<H)for(o.dlShiftTo(J,_),r.subTo(_,r);r[A]<--H;)r.subTo(_,r)}e!=null&&(r.drShiftTo(l,e),a!=h&&i.ZERO.subTo(e,e)),r.t=l,r.clamp(),c>0&&r.rShiftTo(c,r),a<0&&i.ZERO.subTo(r,r)}}},i.prototype.invDigit=function(){if(this.t<1)return 0;var t=this[0];if(!(1&t))return 0;var e=3&t;return(e=(e=(e=(e=e*(2-(15&t)*e)&15)*(2-(255&t)*e)&255)*(2-((65535&t)*e&65535))&65535)*(2-t*e%this.DV)%this.DV)>0?this.DV-e:-e},i.prototype.isEven=function(){return(this.t>0?1&this[0]:this.s)==0},i.prototype.exp=function(t,e){if(t>4294967295||t<1)return i.ONE;var r=d(),n=d(),s=e.convert(this),o=St(t)-1;for(s.copyTo(r);--o>=0;)if(e.sqrTo(r,n),(t&1<<o)>0)e.mulTo(n,s,r);else{var a=r;r=n,n=a}return e.revert(r)},i.prototype.chunkSize=function(t){return Math.floor(Math.LN2*this.DB/Math.log(t))},i.prototype.toRadix=function(t){if(t==null&&(t=10),this.signum()==0||t<2||t>36)return"0";var e=this.chunkSize(t),r=Math.pow(t,e),n=tt(r),s=d(),o=d(),a="";for(this.divRemTo(n,s,o);s.signum()>0;)a=(r+o.intValue()).toString(t).substr(1)+a,s.divRemTo(n,s,o);return o.intValue().toString(t)+a},i.prototype.fromRadix=function(t,e){this.fromInt(0),e==null&&(e=10);for(var r=this.chunkSize(e),n=Math.pow(e,r),s=!1,o=0,a=0,h=0;h<t.length;++h){var c=_t(t,h);c<0?t.charAt(h)=="-"&&this.signum()==0&&(s=!0):(a=e*a+c,++o>=r&&(this.dMultiply(n),this.dAddOffset(a,0),o=0,a=0))}o>0&&(this.dMultiply(Math.pow(e,o)),this.dAddOffset(a,0)),s&&i.ZERO.subTo(this,this)},i.prototype.fromNumber=function(t,e,r){if(typeof e=="number")if(t<2)this.fromInt(1);else for(this.fromNumber(t,r),this.testBit(t-1)||this.bitwiseTo(i.ONE.shiftLeft(t-1),m,this),this.isEven()&&this.dAddOffset(1,0);!this.isProbablePrime(e);)this.dAddOffset(2,0),this.bitLength()>t&&this.subTo(i.ONE.shiftLeft(t-1),this);else{var n=[],s=7&t;n.length=1+(t>>3),e.nextBytes(n),s>0?n[0]&=(1<<s)-1:n[0]=0,this.fromString(n,256)}},i.prototype.bitwiseTo=function(t,e,r){var n,s,o=Math.min(t.t,this.t);for(n=0;n<o;++n)r[n]=e(this[n],t[n]);if(t.t<this.t){for(s=t.s&this.DM,n=o;n<this.t;++n)r[n]=e(this[n],s);r.t=this.t}else{for(s=this.s&this.DM,n=o;n<t.t;++n)r[n]=e(s,t[n]);r.t=t.t}r.s=e(this.s,t.s),r.clamp()},i.prototype.changeBit=function(t,e){var r=i.ONE.shiftLeft(t);return this.bitwiseTo(r,e,r),r},i.prototype.addTo=function(t,e){for(var r=0,n=0,s=Math.min(t.t,this.t);r<s;)n+=this[r]+t[r],e[r++]=n&this.DM,n>>=this.DB;if(t.t<this.t){for(n+=t.s;r<this.t;)n+=this[r],e[r++]=n&this.DM,n>>=this.DB;n+=this.s}else{for(n+=this.s;r<t.t;)n+=t[r],e[r++]=n&this.DM,n>>=this.DB;n+=t.s}e.s=n<0?-1:0,n>0?e[r++]=n:n<-1&&(e[r++]=this.DV+n),e.t=r,e.clamp()},i.prototype.dMultiply=function(t){this[this.t]=this.am(0,t-1,this,0,0,this.t),++this.t,this.clamp()},i.prototype.dAddOffset=function(t,e){if(t!=0){for(;this.t<=e;)this[this.t++]=0;for(this[e]+=t;this[e]>=this.DV;)this[e]-=this.DV,++e>=this.t&&(this[this.t++]=0),++this[e]}},i.prototype.multiplyLowerTo=function(t,e,r){var n=Math.min(this.t+t.t,e);for(r.s=0,r.t=n;n>0;)r[--n]=0;for(var s=r.t-this.t;n<s;++n)r[n+this.t]=this.am(0,t[n],r,n,0,this.t);for(s=Math.min(t.t,e);n<s;++n)this.am(0,t[n],r,n,0,e-n);r.clamp()},i.prototype.multiplyUpperTo=function(t,e,r){--e;var n=r.t=this.t+t.t-e;for(r.s=0;--n>=0;)r[n]=0;for(n=Math.max(e-this.t,0);n<t.t;++n)r[this.t+n-e]=this.am(e-n,t[n],r,0,0,this.t+n-e);r.clamp(),r.drShiftTo(1,r)},i.prototype.modInt=function(t){if(t<=0)return 0;var e=this.DV%t,r=this.s<0?t-1:0;if(this.t>0)if(e==0)r=this[0]%t;else for(var n=this.t-1;n>=0;--n)r=(e*r+this[n])%t;return r},i.prototype.millerRabin=function(t){var e=this.subtract(i.ONE),r=e.getLowestSetBit();if(r<=0)return!1;var n=e.shiftRight(r);(t=t+1>>1)>L.length&&(t=L.length);for(var s=d(),o=0;o<t;++o){s.fromInt(L[Math.floor(Math.random()*L.length)]);var a=s.modPow(n,this);if(a.compareTo(i.ONE)!=0&&a.compareTo(e)!=0){for(var h=1;h++<r&&a.compareTo(e)!=0;)if((a=a.modPowInt(2,this)).compareTo(i.ONE)==0)return!1;if(a.compareTo(e)!=0)return!1}}return!0},i.prototype.square=function(){var t=d();return this.squareTo(t),t},i.prototype.gcda=function(t,e){var r=this.s<0?this.negate():this.clone(),n=t.s<0?t.negate():t.clone();if(r.compareTo(n)<0){var s=r;r=n,n=s}var o=r.getLowestSetBit(),a=n.getLowestSetBit();if(a<0)e(r);else{o<a&&(a=o),a>0&&(r.rShiftTo(a,r),n.rShiftTo(a,n));var h=function(){(o=r.getLowestSetBit())>0&&r.rShiftTo(o,r),(o=n.getLowestSetBit())>0&&n.rShiftTo(o,n),r.compareTo(n)>=0?(r.subTo(n,r),r.rShiftTo(1,r)):(n.subTo(r,n),n.rShiftTo(1,n)),r.signum()>0?setTimeout(h,0):(a>0&&n.lShiftTo(a,n),setTimeout(function(){e(n)},0))};setTimeout(h,10)}},i.prototype.fromNumberAsync=function(t,e,r,n){if(typeof e=="number")if(t<2)this.fromInt(1);else{this.fromNumber(t,r),this.testBit(t-1)||this.bitwiseTo(i.ONE.shiftLeft(t-1),m,this),this.isEven()&&this.dAddOffset(1,0);var s=this,o=function(){s.dAddOffset(2,0),s.bitLength()>t&&s.subTo(i.ONE.shiftLeft(t-1),s),s.isProbablePrime(e)?setTimeout(function(){n()},0):setTimeout(o,0)};setTimeout(o,0)}else{var a=[],h=7&t;a.length=1+(t>>3),e.nextBytes(a),h>0?a[0]&=(1<<h)-1:a[0]=0,this.fromString(a,256)}},i}(),Qt=function(){function i(){}return i.prototype.convert=function(t){return t},i.prototype.revert=function(t){return t},i.prototype.mulTo=function(t,e,r){t.multiplyTo(e,r)},i.prototype.sqrTo=function(t,e){t.squareTo(e)},i}(),qt=function(){function i(t){this.m=t}return i.prototype.convert=function(t){return t.s<0||t.compareTo(this.m)>=0?t.mod(this.m):t},i.prototype.revert=function(t){return t},i.prototype.reduce=function(t){t.divRemTo(this.m,null,t)},i.prototype.mulTo=function(t,e,r){t.multiplyTo(e,r),this.reduce(r)},i.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e)},i}(),Ct=function(){function i(t){this.m=t,this.mp=t.invDigit(),this.mpl=32767&this.mp,this.mph=this.mp>>15,this.um=(1<<t.DB-15)-1,this.mt2=2*t.t}return i.prototype.convert=function(t){var e=d();return t.abs().dlShiftTo(this.m.t,e),e.divRemTo(this.m,null,e),t.s<0&&e.compareTo(p.ZERO)>0&&this.m.subTo(e,e),e},i.prototype.revert=function(t){var e=d();return t.copyTo(e),this.reduce(e),e},i.prototype.reduce=function(t){for(;t.t<=this.mt2;)t[t.t++]=0;for(var e=0;e<this.m.t;++e){var r=32767&t[e],n=r*this.mpl+((r*this.mph+(t[e]>>15)*this.mpl&this.um)<<15)&t.DM;for(t[r=e+this.m.t]+=this.m.am(0,n,t,e,0,this.m.t);t[r]>=t.DV;)t[r]-=t.DV,t[++r]++}t.clamp(),t.drShiftTo(this.m.t,t),t.compareTo(this.m)>=0&&t.subTo(this.m,t)},i.prototype.mulTo=function(t,e,r){t.multiplyTo(e,r),this.reduce(r)},i.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e)},i}(),Yt=function(){function i(t){this.m=t,this.r2=d(),this.q3=d(),p.ONE.dlShiftTo(2*t.t,this.r2),this.mu=this.r2.divide(t)}return i.prototype.convert=function(t){if(t.s<0||t.t>2*this.m.t)return t.mod(this.m);if(t.compareTo(this.m)<0)return t;var e=d();return t.copyTo(e),this.reduce(e),e},i.prototype.revert=function(t){return t},i.prototype.reduce=function(t){for(t.drShiftTo(this.m.t-1,this.r2),t.t>this.m.t+1&&(t.t=this.m.t+1,t.clamp()),this.mu.multiplyUpperTo(this.r2,this.m.t+1,this.q3),this.m.multiplyLowerTo(this.q3,this.m.t+1,this.r2);t.compareTo(this.r2)<0;)t.dAddOffset(1,this.m.t+1);for(t.subTo(this.r2,t);t.compareTo(this.m)>=0;)t.subTo(this.m,t)},i.prototype.mulTo=function(t,e,r){t.multiplyTo(e,r),this.reduce(r)},i.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e)},i}();function d(){return new p(null)}function B(i,t){return new p(i,t)}var Lt=typeof navigator<"u";Lt&&navigator.appName=="Microsoft Internet Explorer"?(p.prototype.am=function(i,t,e,r,n,s){for(var o=32767&t,a=t>>15;--s>=0;){var h=32767&this[i],c=this[i++]>>15,l=a*h+c*o;n=((h=o*h+((32767&l)<<15)+e[r]+(1073741823&n))>>>30)+(l>>>15)+a*c+(n>>>30),e[r++]=1073741823&h}return n},$=30):Lt&&navigator.appName!="Netscape"?(p.prototype.am=function(i,t,e,r,n,s){for(;--s>=0;){var o=t*this[i++]+e[r]+n;n=Math.floor(o/67108864),e[r++]=67108863&o}return n},$=26):(p.prototype.am=function(i,t,e,r,n,s){for(var o=16383&t,a=t>>14;--s>=0;){var h=16383&this[i],c=this[i++]>>14,l=a*h+c*o;n=((h=o*h+((16383&l)<<14)+e[r]+n)>>28)+(l>>14)+a*c,e[r++]=268435455&h}return n},$=28),p.prototype.DB=$,p.prototype.DM=(1<<$)-1,p.prototype.DV=1<<$,p.prototype.FV=Math.pow(2,52),p.prototype.F1=52-$,p.prototype.F2=2*$-52;var ft,K,Tt=[];for(ft=48,K=0;K<=9;++K)Tt[ft++]=K;for(ft=97,K=10;K<36;++K)Tt[ft++]=K;for(ft=65,K=10;K<36;++K)Tt[ft++]=K;function _t(i,t){var e=Tt[i.charCodeAt(t)];return e??-1}function tt(i){var t=d();return t.fromInt(i),t}function St(i){var t,e=1;return(t=i>>>16)!=0&&(i=t,e+=16),(t=i>>8)!=0&&(i=t,e+=8),(t=i>>4)!=0&&(i=t,e+=4),(t=i>>2)!=0&&(i=t,e+=2),(t=i>>1)!=0&&(i=t,e+=1),e}p.ZERO=tt(0),p.ONE=tt(1);var wt,Z,Wt=function(){function i(){this.i=0,this.j=0,this.S=[]}return i.prototype.init=function(t){var e,r,n;for(e=0;e<256;++e)this.S[e]=e;for(r=0,e=0;e<256;++e)r=r+this.S[e]+t[e%t.length]&255,n=this.S[e],this.S[e]=this.S[r],this.S[r]=n;this.i=0,this.j=0},i.prototype.next=function(){var t;return this.i=this.i+1&255,this.j=this.j+this.S[this.i]&255,t=this.S[this.i],this.S[this.i]=this.S[this.j],this.S[this.j]=t,this.S[t+this.S[this.i]&255]},i}(),jt=256,et=null;if(et==null){et=[],Z=0;var Et=void 0;if(typeof window<"u"&&window.crypto&&window.crypto.getRandomValues){var Vt=new Uint32Array(256);for(window.crypto.getRandomValues(Vt),Et=0;Et<Vt.length;++Et)et[Z++]=255&Vt[Et]}var Ot=0,Dt=function(i){if((Ot=Ot||0)>=256||Z>=jt)window.removeEventListener?window.removeEventListener("mousemove",Dt,!1):window.detachEvent&&window.detachEvent("onmousemove",Dt);else try{var t=i.x+i.y;et[Z++]=255&t,Ot+=1}catch{}};typeof window<"u"&&(window.addEventListener?window.addEventListener("mousemove",Dt,!1):window.attachEvent&&window.attachEvent("onmousemove",Dt))}function Jt(){if(wt==null){for(wt=new Wt;Z<jt;){var i=Math.floor(65536*Math.random());et[Z++]=255&i}for(wt.init(et),Z=0;Z<et.length;++Z)et[Z]=0;Z=0}return wt.next()}var It=function(){function i(){}return i.prototype.nextBytes=function(t){for(var e=0;e<t.length;++e)t[e]=Jt()},i}(),Xt=function(){function i(){this.n=null,this.e=0,this.d=null,this.p=null,this.q=null,this.dmp1=null,this.dmq1=null,this.coeff=null}return i.prototype.doPublic=function(t){return t.modPowInt(this.e,this.n)},i.prototype.doPrivate=function(t){if(this.p==null||this.q==null)return t.modPow(this.d,this.n);for(var e=t.mod(this.p).modPow(this.dmp1,this.p),r=t.mod(this.q).modPow(this.dmq1,this.q);e.compareTo(r)<0;)e=e.add(this.p);return e.subtract(r).multiply(this.coeff).mod(this.p).multiply(this.q).add(r)},i.prototype.setPublic=function(t,e){t!=null&&e!=null&&t.length>0&&e.length>0?(this.n=B(t,16),this.e=parseInt(e,16)):console.error("Invalid RSA public key")},i.prototype.encrypt=function(t){var e=this.n.bitLength()+7>>3,r=function(h,c){if(c<h.length+11)return console.error("Message too long for RSA"),null;for(var l=[],b=h.length-1;b>=0&&c>0;){var g=h.charCodeAt(b--);g<128?l[--c]=g:g>127&&g<2048?(l[--c]=63&g|128,l[--c]=g>>6|192):(l[--c]=63&g|128,l[--c]=g>>6&63|128,l[--c]=g>>12|224)}l[--c]=0;for(var x=new It,S=[];c>2;){for(S[0]=0;S[0]==0;)x.nextBytes(S);l[--c]=S[0]}return l[--c]=2,l[--c]=0,new p(l)}(t,e);if(r==null)return null;var n=this.doPublic(r);if(n==null)return null;for(var s=n.toString(16),o=s.length,a=0;a<2*e-o;a++)s="0"+s;return s},i.prototype.setPrivate=function(t,e,r){t!=null&&e!=null&&t.length>0&&e.length>0?(this.n=B(t,16),this.e=parseInt(e,16),this.d=B(r,16)):console.error("Invalid RSA private key")},i.prototype.setPrivateEx=function(t,e,r,n,s,o,a,h){t!=null&&e!=null&&t.length>0&&e.length>0?(this.n=B(t,16),this.e=parseInt(e,16),this.d=B(r,16),this.p=B(n,16),this.q=B(s,16),this.dmp1=B(o,16),this.dmq1=B(a,16),this.coeff=B(h,16)):console.error("Invalid RSA private key")},i.prototype.generate=function(t,e){var r=new It,n=t>>1;this.e=parseInt(e,16);for(var s=new p(e,16);;){for(;this.p=new p(t-n,1,r),this.p.subtract(p.ONE).gcd(s).compareTo(p.ONE)!=0||!this.p.isProbablePrime(10););for(;this.q=new p(n,1,r),this.q.subtract(p.ONE).gcd(s).compareTo(p.ONE)!=0||!this.q.isProbablePrime(10););if(this.p.compareTo(this.q)<=0){var o=this.p;this.p=this.q,this.q=o}var a=this.p.subtract(p.ONE),h=this.q.subtract(p.ONE),c=a.multiply(h);if(c.gcd(s).compareTo(p.ONE)==0){this.n=this.p.multiply(this.q),this.d=s.modInverse(c),this.dmp1=this.d.mod(a),this.dmq1=this.d.mod(h),this.coeff=this.q.modInverse(this.p);break}}},i.prototype.decrypt=function(t){var e=B(t,16),r=this.doPrivate(e);return r==null?null:function(n,s){for(var o=n.toByteArray(),a=0;a<o.length&&o[a]==0;)++a;if(o.length-a!=s-1||o[a]!=2)return null;for(++a;o[a]!=0;)if(++a>=o.length)return null;for(var h="";++a<o.length;){var c=255&o[a];c<128?h+=String.fromCharCode(c):c>191&&c<224?(h+=String.fromCharCode((31&c)<<6|63&o[a+1]),++a):(h+=String.fromCharCode((15&c)<<12|(63&o[a+1])<<6|63&o[a+2]),a+=2)}return h}(r,this.n.bitLength()+7>>3)},i.prototype.generateAsync=function(t,e,r){var n=new It,s=t>>1;this.e=parseInt(e,16);var o=new p(e,16),a=this,h=function(){var c=function(){if(a.p.compareTo(a.q)<=0){var g=a.p;a.p=a.q,a.q=g}var x=a.p.subtract(p.ONE),S=a.q.subtract(p.ONE),T=x.multiply(S);T.gcd(o).compareTo(p.ONE)==0?(a.n=a.p.multiply(a.q),a.d=o.modInverse(T),a.dmp1=a.d.mod(x),a.dmq1=a.d.mod(S),a.coeff=a.q.modInverse(a.p),setTimeout(function(){r()},0)):setTimeout(h,0)},l=function(){a.q=d(),a.q.fromNumberAsync(s,1,n,function(){a.q.subtract(p.ONE).gcda(o,function(g){g.compareTo(p.ONE)==0&&a.q.isProbablePrime(10)?setTimeout(c,0):setTimeout(l,0)})})},b=function(){a.p=d(),a.p.fromNumberAsync(t-s,1,n,function(){a.p.subtract(p.ONE).gcda(o,function(g){g.compareTo(p.ONE)==0&&a.p.isProbablePrime(10)?setTimeout(l,0):setTimeout(b,0)})})};setTimeout(b,0)};setTimeout(h,0)},i.prototype.sign=function(t,e,r){var n=function(a,h){if(h<a.length+22)return console.error("Message too long for RSA"),null;for(var c=h-a.length-6,l="",b=0;b<c;b+=2)l+="ff";return B("0001"+l+"00"+a,16)}((xt[r]||"")+e(t).toString(),this.n.bitLength()/4);if(n==null)return null;var s=this.doPrivate(n);if(s==null)return null;var o=s.toString(16);return 1&o.length?"0"+o:o},i.prototype.verify=function(t,e,r){var n=B(e,16),s=this.doPublic(n);return s==null?null:function(o){for(var a in xt)if(xt.hasOwnProperty(a)){var h=xt[a],c=h.length;if(o.substr(0,c)==h)return o.substr(c)}return o}(s.toString(16).replace(/^1f+00/,""))==r(t).toString()},i}(),xt={md2:"3020300c06082a864886f70d020205000410",md5:"3020300c06082a864886f70d020505000410",sha1:"3021300906052b0e03021a05000414",sha224:"302d300d06096086480165030402040500041c",sha256:"3031300d060960864801650304020105000420",sha384:"3041300d060960864801650304020205000430",sha512:"3051300d060960864801650304020305000440",ripemd160:"3021300906052b2403020105000414"},O={};O.lang={extend:function(i,t,e){if(!t||!i)throw new Error("YAHOO.lang.extend failed, please check that all dependencies are included.");var r=function(){};if(r.prototype=t.prototype,i.prototype=new r,i.prototype.constructor=i,i.superclass=t.prototype,t.prototype.constructor==Object.prototype.constructor&&(t.prototype.constructor=t),e){var n;for(n in e)i.prototype[n]=e[n];var s=function(){},o=["toString","valueOf"];try{/MSIE/.test(navigator.userAgent)&&(s=function(a,h){for(n=0;n<o.length;n+=1){var c=o[n],l=h[c];typeof l=="function"&&l!=Object.prototype[c]&&(a[c]=l)}})}catch{}s(i.prototype,e)}}};var u={};u.asn1!==void 0&&u.asn1||(u.asn1={}),u.asn1.ASN1Util=new function(){this.integerToByteHex=function(i){var t=i.toString(16);return t.length%2==1&&(t="0"+t),t},this.bigIntToMinTwosComplementsHex=function(i){var t=i.toString(16);if(t.substr(0,1)!="-")t.length%2==1?t="0"+t:t.match(/^[0-7]/)||(t="00"+t);else{var e=t.substr(1).length;e%2==1?e+=1:t.match(/^[0-7]/)||(e+=2);for(var r="",n=0;n<e;n++)r+="f";t=new p(r,16).xor(i).add(p.ONE).toString(16).replace(/^-/,"")}return t},this.getPEMStringFromHex=function(i,t){return hextopem(i,t)},this.newObject=function(i){var t=u.asn1,e=t.DERBoolean,r=t.DERInteger,n=t.DERBitString,s=t.DEROctetString,o=t.DERNull,a=t.DERObjectIdentifier,h=t.DEREnumerated,c=t.DERUTF8String,l=t.DERNumericString,b=t.DERPrintableString,g=t.DERTeletexString,x=t.DERIA5String,S=t.DERUTCTime,T=t.DERGeneralizedTime,A=t.DERSequence,J=t.DERSet,_=t.DERTaggedObject,H=t.ASN1Util.newObject,pt=Object.keys(i);if(pt.length!=1)throw"key of param shall be only one.";var f=pt[0];if(":bool:int:bitstr:octstr:null:oid:enum:utf8str:numstr:prnstr:telstr:ia5str:utctime:gentime:seq:set:tag:".indexOf(":"+f+":")==-1)throw"undefined key: "+f;if(f=="bool")return new e(i[f]);if(f=="int")return new r(i[f]);if(f=="bitstr")return new n(i[f]);if(f=="octstr")return new s(i[f]);if(f=="null")return new o(i[f]);if(f=="oid")return new a(i[f]);if(f=="enum")return new h(i[f]);if(f=="utf8str")return new c(i[f]);if(f=="numstr")return new l(i[f]);if(f=="prnstr")return new b(i[f]);if(f=="telstr")return new g(i[f]);if(f=="ia5str")return new x(i[f]);if(f=="utctime")return new S(i[f]);if(f=="gentime")return new T(i[f]);if(f=="seq"){for(var vt=i[f],yt=[],st=0;st<vt.length;st++){var Nt=H(vt[st]);yt.push(Nt)}return new A({array:yt})}if(f=="set"){for(vt=i[f],yt=[],st=0;st<vt.length;st++)Nt=H(vt[st]),yt.push(Nt);return new J({array:yt})}if(f=="tag"){var z=i[f];if(Object.prototype.toString.call(z)==="[object Array]"&&z.length==3){var re=H(z[2]);return new _({tag:z[0],explicit:z[1],obj:re})}var Bt={};if(z.explicit!==void 0&&(Bt.explicit=z.explicit),z.tag!==void 0&&(Bt.tag=z.tag),z.obj===void 0)throw"obj shall be specified for 'tag'.";return Bt.obj=H(z.obj),new _(Bt)}},this.jsonToASN1HEX=function(i){return this.newObject(i).getEncodedHex()}},u.asn1.ASN1Util.oidHexToInt=function(i){for(var t="",e=parseInt(i.substr(0,2),16),r=(t=Math.floor(e/40)+"."+e%40,""),n=2;n<i.length;n+=2){var s=("00000000"+parseInt(i.substr(n,2),16).toString(2)).slice(-8);r+=s.substr(1,7),s.substr(0,1)=="0"&&(t=t+"."+new p(r,2).toString(10),r="")}return t},u.asn1.ASN1Util.oidIntToHex=function(i){var t=function(a){var h=a.toString(16);return h.length==1&&(h="0"+h),h},e=function(a){var h="",c=new p(a,10).toString(2),l=7-c.length%7;l==7&&(l=0);for(var b="",g=0;g<l;g++)b+="0";for(c=b+c,g=0;g<c.length-1;g+=7){var x=c.substr(g,7);g!=c.length-7&&(x="1"+x),h+=t(parseInt(x,2))}return h};if(!i.match(/^[0-9.]+$/))throw"malformed oid string: "+i;var r="",n=i.split("."),s=40*parseInt(n[0])+parseInt(n[1]);r+=t(s),n.splice(0,2);for(var o=0;o<n.length;o++)r+=e(n[o]);return r},u.asn1.ASN1Object=function(){this.getLengthHexFromValue=function(){if(this.hV===void 0||this.hV==null)throw"this.hV is null or undefined.";if(this.hV.length%2==1)throw"value hex must be even length: n=0,v="+this.hV;var i=this.hV.length/2,t=i.toString(16);if(t.length%2==1&&(t="0"+t),i<128)return t;var e=t.length/2;if(e>15)throw"ASN.1 length too long to represent by 8x: n = "+i.toString(16);return(128+e).toString(16)+t},this.getEncodedHex=function(){return(this.hTLV==null||this.isModified)&&(this.hV=this.getFreshValueHex(),this.hL=this.getLengthHexFromValue(),this.hTLV=this.hT+this.hL+this.hV,this.isModified=!1),this.hTLV},this.getValueHex=function(){return this.getEncodedHex(),this.hV},this.getFreshValueHex=function(){return""}},u.asn1.DERAbstractString=function(i){u.asn1.DERAbstractString.superclass.constructor.call(this),this.getString=function(){return this.s},this.setString=function(t){this.hTLV=null,this.isModified=!0,this.s=t,this.hV=stohex(this.s)},this.setStringHex=function(t){this.hTLV=null,this.isModified=!0,this.s=null,this.hV=t},this.getFreshValueHex=function(){return this.hV},i!==void 0&&(typeof i=="string"?this.setString(i):i.str!==void 0?this.setString(i.str):i.hex!==void 0&&this.setStringHex(i.hex))},O.lang.extend(u.asn1.DERAbstractString,u.asn1.ASN1Object),u.asn1.DERAbstractTime=function(i){u.asn1.DERAbstractTime.superclass.constructor.call(this),this.localDateToUTC=function(t){return utc=t.getTime()+6e4*t.getTimezoneOffset(),new Date(utc)},this.formatDate=function(t,e,r){var n=this.zeroPadding,s=this.localDateToUTC(t),o=String(s.getFullYear());e=="utc"&&(o=o.substr(2,2));var a=o+n(String(s.getMonth()+1),2)+n(String(s.getDate()),2)+n(String(s.getHours()),2)+n(String(s.getMinutes()),2)+n(String(s.getSeconds()),2);if(r===!0){var h=s.getMilliseconds();if(h!=0){var c=n(String(h),3);a=a+"."+(c=c.replace(/[0]+$/,""))}}return a+"Z"},this.zeroPadding=function(t,e){return t.length>=e?t:new Array(e-t.length+1).join("0")+t},this.getString=function(){return this.s},this.setString=function(t){this.hTLV=null,this.isModified=!0,this.s=t,this.hV=stohex(t)},this.setByDateValue=function(t,e,r,n,s,o){var a=new Date(Date.UTC(t,e-1,r,n,s,o,0));this.setByDate(a)},this.getFreshValueHex=function(){return this.hV}},O.lang.extend(u.asn1.DERAbstractTime,u.asn1.ASN1Object),u.asn1.DERAbstractStructured=function(i){u.asn1.DERAbstractString.superclass.constructor.call(this),this.setByASN1ObjectArray=function(t){this.hTLV=null,this.isModified=!0,this.asn1Array=t},this.appendASN1Object=function(t){this.hTLV=null,this.isModified=!0,this.asn1Array.push(t)},this.asn1Array=new Array,i!==void 0&&i.array!==void 0&&(this.asn1Array=i.array)},O.lang.extend(u.asn1.DERAbstractStructured,u.asn1.ASN1Object),u.asn1.DERBoolean=function(){u.asn1.DERBoolean.superclass.constructor.call(this),this.hT="01",this.hTLV="0101ff"},O.lang.extend(u.asn1.DERBoolean,u.asn1.ASN1Object),u.asn1.DERInteger=function(i){u.asn1.DERInteger.superclass.constructor.call(this),this.hT="02",this.setByBigInteger=function(t){this.hTLV=null,this.isModified=!0,this.hV=u.asn1.ASN1Util.bigIntToMinTwosComplementsHex(t)},this.setByInteger=function(t){var e=new p(String(t),10);this.setByBigInteger(e)},this.setValueHex=function(t){this.hV=t},this.getFreshValueHex=function(){return this.hV},i!==void 0&&(i.bigint!==void 0?this.setByBigInteger(i.bigint):i.int!==void 0?this.setByInteger(i.int):typeof i=="number"?this.setByInteger(i):i.hex!==void 0&&this.setValueHex(i.hex))},O.lang.extend(u.asn1.DERInteger,u.asn1.ASN1Object),u.asn1.DERBitString=function(i){if(i!==void 0&&i.obj!==void 0){var t=u.asn1.ASN1Util.newObject(i.obj);i.hex="00"+t.getEncodedHex()}u.asn1.DERBitString.superclass.constructor.call(this),this.hT="03",this.setHexValueIncludingUnusedBits=function(e){this.hTLV=null,this.isModified=!0,this.hV=e},this.setUnusedBitsAndHexValue=function(e,r){if(e<0||7<e)throw"unused bits shall be from 0 to 7: u = "+e;var n="0"+e;this.hTLV=null,this.isModified=!0,this.hV=n+r},this.setByBinaryString=function(e){var r=8-(e=e.replace(/0+$/,"")).length%8;r==8&&(r=0);for(var n=0;n<=r;n++)e+="0";var s="";for(n=0;n<e.length-1;n+=8){var o=e.substr(n,8),a=parseInt(o,2).toString(16);a.length==1&&(a="0"+a),s+=a}this.hTLV=null,this.isModified=!0,this.hV="0"+r+s},this.setByBooleanArray=function(e){for(var r="",n=0;n<e.length;n++)e[n]==1?r+="1":r+="0";this.setByBinaryString(r)},this.newFalseArray=function(e){for(var r=new Array(e),n=0;n<e;n++)r[n]=!1;return r},this.getFreshValueHex=function(){return this.hV},i!==void 0&&(typeof i=="string"&&i.toLowerCase().match(/^[0-9a-f]+$/)?this.setHexValueIncludingUnusedBits(i):i.hex!==void 0?this.setHexValueIncludingUnusedBits(i.hex):i.bin!==void 0?this.setByBinaryString(i.bin):i.array!==void 0&&this.setByBooleanArray(i.array))},O.lang.extend(u.asn1.DERBitString,u.asn1.ASN1Object),u.asn1.DEROctetString=function(i){if(i!==void 0&&i.obj!==void 0){var t=u.asn1.ASN1Util.newObject(i.obj);i.hex=t.getEncodedHex()}u.asn1.DEROctetString.superclass.constructor.call(this,i),this.hT="04"},O.lang.extend(u.asn1.DEROctetString,u.asn1.DERAbstractString),u.asn1.DERNull=function(){u.asn1.DERNull.superclass.constructor.call(this),this.hT="05",this.hTLV="0500"},O.lang.extend(u.asn1.DERNull,u.asn1.ASN1Object),u.asn1.DERObjectIdentifier=function(i){var t=function(r){var n=r.toString(16);return n.length==1&&(n="0"+n),n},e=function(r){var n="",s=new p(r,10).toString(2),o=7-s.length%7;o==7&&(o=0);for(var a="",h=0;h<o;h++)a+="0";for(s=a+s,h=0;h<s.length-1;h+=7){var c=s.substr(h,7);h!=s.length-7&&(c="1"+c),n+=t(parseInt(c,2))}return n};u.asn1.DERObjectIdentifier.superclass.constructor.call(this),this.hT="06",this.setValueHex=function(r){this.hTLV=null,this.isModified=!0,this.s=null,this.hV=r},this.setValueOidString=function(r){if(!r.match(/^[0-9.]+$/))throw"malformed oid string: "+r;var n="",s=r.split("."),o=40*parseInt(s[0])+parseInt(s[1]);n+=t(o),s.splice(0,2);for(var a=0;a<s.length;a++)n+=e(s[a]);this.hTLV=null,this.isModified=!0,this.s=null,this.hV=n},this.setValueName=function(r){var n=u.asn1.x509.OID.name2oid(r);if(n==="")throw"DERObjectIdentifier oidName undefined: "+r;this.setValueOidString(n)},this.getFreshValueHex=function(){return this.hV},i!==void 0&&(typeof i=="string"?i.match(/^[0-2].[0-9.]+$/)?this.setValueOidString(i):this.setValueName(i):i.oid!==void 0?this.setValueOidString(i.oid):i.hex!==void 0?this.setValueHex(i.hex):i.name!==void 0&&this.setValueName(i.name))},O.lang.extend(u.asn1.DERObjectIdentifier,u.asn1.ASN1Object),u.asn1.DEREnumerated=function(i){u.asn1.DEREnumerated.superclass.constructor.call(this),this.hT="0a",this.setByBigInteger=function(t){this.hTLV=null,this.isModified=!0,this.hV=u.asn1.ASN1Util.bigIntToMinTwosComplementsHex(t)},this.setByInteger=function(t){var e=new p(String(t),10);this.setByBigInteger(e)},this.setValueHex=function(t){this.hV=t},this.getFreshValueHex=function(){return this.hV},i!==void 0&&(i.int!==void 0?this.setByInteger(i.int):typeof i=="number"?this.setByInteger(i):i.hex!==void 0&&this.setValueHex(i.hex))},O.lang.extend(u.asn1.DEREnumerated,u.asn1.ASN1Object),u.asn1.DERUTF8String=function(i){u.asn1.DERUTF8String.superclass.constructor.call(this,i),this.hT="0c"},O.lang.extend(u.asn1.DERUTF8String,u.asn1.DERAbstractString),u.asn1.DERNumericString=function(i){u.asn1.DERNumericString.superclass.constructor.call(this,i),this.hT="12"},O.lang.extend(u.asn1.DERNumericString,u.asn1.DERAbstractString),u.asn1.DERPrintableString=function(i){u.asn1.DERPrintableString.superclass.constructor.call(this,i),this.hT="13"},O.lang.extend(u.asn1.DERPrintableString,u.asn1.DERAbstractString),u.asn1.DERTeletexString=function(i){u.asn1.DERTeletexString.superclass.constructor.call(this,i),this.hT="14"},O.lang.extend(u.asn1.DERTeletexString,u.asn1.DERAbstractString),u.asn1.DERIA5String=function(i){u.asn1.DERIA5String.superclass.constructor.call(this,i),this.hT="16"},O.lang.extend(u.asn1.DERIA5String,u.asn1.DERAbstractString),u.asn1.DERUTCTime=function(i){u.asn1.DERUTCTime.superclass.constructor.call(this,i),this.hT="17",this.setByDate=function(t){this.hTLV=null,this.isModified=!0,this.date=t,this.s=this.formatDate(this.date,"utc"),this.hV=stohex(this.s)},this.getFreshValueHex=function(){return this.date===void 0&&this.s===void 0&&(this.date=new Date,this.s=this.formatDate(this.date,"utc"),this.hV=stohex(this.s)),this.hV},i!==void 0&&(i.str!==void 0?this.setString(i.str):typeof i=="string"&&i.match(/^[0-9]{12}Z$/)?this.setString(i):i.hex!==void 0?this.setStringHex(i.hex):i.date!==void 0&&this.setByDate(i.date))},O.lang.extend(u.asn1.DERUTCTime,u.asn1.DERAbstractTime),u.asn1.DERGeneralizedTime=function(i){u.asn1.DERGeneralizedTime.superclass.constructor.call(this,i),this.hT="18",this.withMillis=!1,this.setByDate=function(t){this.hTLV=null,this.isModified=!0,this.date=t,this.s=this.formatDate(this.date,"gen",this.withMillis),this.hV=stohex(this.s)},this.getFreshValueHex=function(){return this.date===void 0&&this.s===void 0&&(this.date=new Date,this.s=this.formatDate(this.date,"gen",this.withMillis),this.hV=stohex(this.s)),this.hV},i!==void 0&&(i.str!==void 0?this.setString(i.str):typeof i=="string"&&i.match(/^[0-9]{14}Z$/)?this.setString(i):i.hex!==void 0?this.setStringHex(i.hex):i.date!==void 0&&this.setByDate(i.date),i.millis===!0&&(this.withMillis=!0))},O.lang.extend(u.asn1.DERGeneralizedTime,u.asn1.DERAbstractTime),u.asn1.DERSequence=function(i){u.asn1.DERSequence.superclass.constructor.call(this,i),this.hT="30",this.getFreshValueHex=function(){for(var t="",e=0;e<this.asn1Array.length;e++)t+=this.asn1Array[e].getEncodedHex();return this.hV=t,this.hV}},O.lang.extend(u.asn1.DERSequence,u.asn1.DERAbstractStructured),u.asn1.DERSet=function(i){u.asn1.DERSet.superclass.constructor.call(this,i),this.hT="31",this.sortFlag=!0,this.getFreshValueHex=function(){for(var t=new Array,e=0;e<this.asn1Array.length;e++){var r=this.asn1Array[e];t.push(r.getEncodedHex())}return this.sortFlag==1&&t.sort(),this.hV=t.join(""),this.hV},i!==void 0&&i.sortflag!==void 0&&i.sortflag==0&&(this.sortFlag=!1)},O.lang.extend(u.asn1.DERSet,u.asn1.DERAbstractStructured),u.asn1.DERTaggedObject=function(i){u.asn1.DERTaggedObject.superclass.constructor.call(this),this.hT="a0",this.hV="",this.isExplicit=!0,this.asn1Object=null,this.setASN1Object=function(t,e,r){this.hT=e,this.isExplicit=t,this.asn1Object=r,this.isExplicit?(this.hV=this.asn1Object.getEncodedHex(),this.hTLV=null,this.isModified=!0):(this.hV=null,this.hTLV=r.getEncodedHex(),this.hTLV=this.hTLV.replace(/^../,e),this.isModified=!1)},this.getFreshValueHex=function(){return this.hV},i!==void 0&&(i.tag!==void 0&&(this.hT=i.tag),i.explicit!==void 0&&(this.isExplicit=i.explicit),i.obj!==void 0&&(this.asn1Object=i.obj,this.setASN1Object(this.isExplicit,this.hT,this.asn1Object)))},O.lang.extend(u.asn1.DERTaggedObject,u.asn1.ASN1Object);var At,Ht,$t=(At=function(i,t){return At=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])},At(i,t)},function(i,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function e(){this.constructor=i}At(i,t),i.prototype=t===null?Object.create(t):(e.prototype=t.prototype,new e)}),kt=function(i){function t(e){var r=i.call(this)||this;return e&&(typeof e=="string"?r.parseKey(e):(t.hasPrivateKeyProperty(e)||t.hasPublicKeyProperty(e))&&r.parsePropertiesFrom(e)),r}return $t(t,i),t.prototype.parseKey=function(e){try{var r=0,n=0,s=/^\s*(?:[0-9A-Fa-f][0-9A-Fa-f]\s*)+$/.test(e)?function(S){var T;if(N===void 0){var A="0123456789ABCDEF",J=` \f
\r  \u2028\u2029`;for(N={},T=0;T<16;++T)N[A.charAt(T)]=T;for(A=A.toLowerCase(),T=10;T<16;++T)N[A.charAt(T)]=T;for(T=0;T<J.length;++T)N[J.charAt(T)]=-1}var _=[],H=0,pt=0;for(T=0;T<S.length;++T){var f=S.charAt(T);if(f=="=")break;if((f=N[f])!=-1){if(f===void 0)throw new Error("Illegal character at offset "+T);H|=f,++pt>=2?(_[_.length]=H,H=0,pt=0):H<<=4}}if(pt)throw new Error("Hex encoding incomplete: 4 bits missing");return _}(e):V.unarmor(e),o=zt.decode(s);if(o.sub.length===3&&(o=o.sub[2].sub[0]),o.sub.length===9){r=o.sub[1].getHexStringValue(),this.n=B(r,16),n=o.sub[2].getHexStringValue(),this.e=parseInt(n,16);var a=o.sub[3].getHexStringValue();this.d=B(a,16);var h=o.sub[4].getHexStringValue();this.p=B(h,16);var c=o.sub[5].getHexStringValue();this.q=B(c,16);var l=o.sub[6].getHexStringValue();this.dmp1=B(l,16);var b=o.sub[7].getHexStringValue();this.dmq1=B(b,16);var g=o.sub[8].getHexStringValue();this.coeff=B(g,16)}else{if(o.sub.length!==2)return!1;if(o.sub[0].sub){var x=o.sub[1].sub[0];r=x.sub[0].getHexStringValue(),this.n=B(r,16),n=x.sub[1].getHexStringValue(),this.e=parseInt(n,16)}else r=o.sub[0].getHexStringValue(),this.n=B(r,16),n=o.sub[1].getHexStringValue(),this.e=parseInt(n,16)}return!0}catch{return!1}},t.prototype.getPrivateBaseKey=function(){var e={array:[new u.asn1.DERInteger({int:0}),new u.asn1.DERInteger({bigint:this.n}),new u.asn1.DERInteger({int:this.e}),new u.asn1.DERInteger({bigint:this.d}),new u.asn1.DERInteger({bigint:this.p}),new u.asn1.DERInteger({bigint:this.q}),new u.asn1.DERInteger({bigint:this.dmp1}),new u.asn1.DERInteger({bigint:this.dmq1}),new u.asn1.DERInteger({bigint:this.coeff})]};return new u.asn1.DERSequence(e).getEncodedHex()},t.prototype.getPrivateBaseKeyB64=function(){return R(this.getPrivateBaseKey())},t.prototype.getPublicBaseKey=function(){var e=new u.asn1.DERSequence({array:[new u.asn1.DERObjectIdentifier({oid:"1.2.840.113549.1.1.1"}),new u.asn1.DERNull]}),r=new u.asn1.DERSequence({array:[new u.asn1.DERInteger({bigint:this.n}),new u.asn1.DERInteger({int:this.e})]}),n=new u.asn1.DERBitString({hex:"00"+r.getEncodedHex()});return new u.asn1.DERSequence({array:[e,n]}).getEncodedHex()},t.prototype.getPublicBaseKeyB64=function(){return R(this.getPublicBaseKey())},t.wordwrap=function(e,r){if(!e)return e;var n="(.{1,"+(r=r||64)+`})( +|$
?)|(.{1,`+r+"})";return e.match(RegExp(n,"g")).join(`
`)},t.prototype.getPrivateKey=function(){var e=`-----BEGIN RSA PRIVATE KEY-----
`;return(e+=t.wordwrap(this.getPrivateBaseKeyB64())+`
`)+"-----END RSA PRIVATE KEY-----"},t.prototype.getPublicKey=function(){var e=`-----BEGIN PUBLIC KEY-----
`;return(e+=t.wordwrap(this.getPublicBaseKeyB64())+`
`)+"-----END PUBLIC KEY-----"},t.hasPublicKeyProperty=function(e){return(e=e||{}).hasOwnProperty("n")&&e.hasOwnProperty("e")},t.hasPrivateKeyProperty=function(e){return(e=e||{}).hasOwnProperty("n")&&e.hasOwnProperty("e")&&e.hasOwnProperty("d")&&e.hasOwnProperty("p")&&e.hasOwnProperty("q")&&e.hasOwnProperty("dmp1")&&e.hasOwnProperty("dmq1")&&e.hasOwnProperty("coeff")},t.prototype.parsePropertiesFrom=function(e){this.n=e.n,this.e=e.e,e.hasOwnProperty("d")&&(this.d=e.d,this.p=e.p,this.q=e.q,this.dmp1=e.dmp1,this.dmq1=e.dmq1,this.coeff=e.coeff)},t}(Xt),Kt=F(155),te=Kt!==void 0?(Ht=Kt.env)===null||Ht===void 0?void 0:"3.3.2":void 0;const ee=function(){function i(t){t===void 0&&(t={}),t=t||{},this.default_key_size=t.default_key_size?parseInt(t.default_key_size,10):1024,this.default_public_exponent=t.default_public_exponent||"010001",this.log=t.log||!1,this.key=null}return i.prototype.setKey=function(t){this.log&&this.key&&console.warn("A key was already set, overriding existing."),this.key=new kt(t)},i.prototype.setPrivateKey=function(t){this.setKey(t)},i.prototype.setPublicKey=function(t){this.setKey(t)},i.prototype.decrypt=function(t){try{return this.getKey().decrypt(D(t))}catch{return!1}},i.prototype.encrypt=function(t){try{return R(this.getKey().encrypt(t))}catch{return!1}},i.prototype.sign=function(t,e,r){try{return R(this.getKey().sign(t,e,r))}catch{return!1}},i.prototype.verify=function(t,e,r){try{return this.getKey().verify(t,D(e),r)}catch{return!1}},i.prototype.getKey=function(t){if(!this.key){if(this.key=new kt,t&&{}.toString.call(t)==="[object Function]")return void this.key.generateAsync(this.default_key_size,this.default_public_exponent,t);this.key.generate(this.default_key_size,this.default_public_exponent)}return this.key},i.prototype.getPrivateKey=function(){return this.getKey().getPrivateKey()},i.prototype.getPrivateKeyB64=function(){return this.getKey().getPrivateBaseKeyB64()},i.prototype.getPublicKey=function(){return this.getKey().getPublicKey()},i.prototype.getPublicKeyB64=function(){return this.getKey().getPublicBaseKeyB64()},i.version=te,i}()})(),q.default})())})(Ut);var Se=Ut.exports;const Zt=ie(Se),we=`MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBAKoR8mX0rGKLqzcWmOzbfj64K8ZIgOdH
nzkXSOVOZbFu/TJhZ7rFAN+eaGkl3C4buccQd/EjEsj9ir7ijT7h96MCAwEAAQ==`,Ee=`MIIBVAIBADANBgkqhkiG9w0BAQEFAASCAT4wggE6AgEAAkEAqhHyZfSsYourNxaY
7Nt+PrgrxkiA50efORdI5U5lsW79MmFnusUA355oaSXcLhu5xxB38SMSyP2KvuKN
PuH3owIDAQABAkAfoiLyL+Z4lf4Myxk6xUDgLaWGximj20CUf+5BKKnlrK+Ed8gA
kM0HqoTt2UZwA5E2MzS4EI2gjfQhz5X28uqxAiEA3wNFxfrCZlSZHb0gn2zDpWow
cSxQAgiCstxGUoOqlW8CIQDDOerGKH5OmCJ4Z21v+F25WaHYPxCFMvwxpcw99Ecv
DQIgIdhDTIqD2jfYjPTY8Jj3EDGPbH2HHuffvflECt3Ek60CIQCFRlCkHpi7hthh
YhovyloRYsM+IS9h/0BzlEAuO0ktMQIgSPT3aFAgJYwKpqRYKlLDVcflZFCKY7u3
UP8iWi1Qw0Y=`;function De(Q){const Y=new Zt;return Y.setPublicKey(we),Y.encrypt(Q)}function xe(Q){const Y=new Zt;return Y.setPrivateKey(Ee),Y.decrypt(Q)}const Pt=Q=>(pe("data-v-9271dc58"),Q=Q(),ge(),Q),Ae={class:"login"},Be=Pt(()=>it("div",{class:"lg_left"},[it("img",{src:ye,class:"lg_logo",alt:"Image"}),it("div",{class:"lg_h2"},"就服通")],-1)),Re={class:"sign"},Ve=Pt(()=>it("h2",{class:"title"},[Ft("欢迎登录 "),it("span",{style:{color:"#346DF2"}},"就服通")],-1)),Oe={key:0},Ie={key:1},Ne=Pt(()=>it("div",{class:"el-login-footer"},[it("span",null,"Copyright © 2018-2024 ruoyi.vip All Rights Reserved.")],-1)),Pe={__name:"login",setup(Q){const Y=se(),ht=oe(),nt=ae(),{proxy:F}=ve(),q=gt({account:"",password:"",rememberMe:!1});let I=gt(!0),v=gt(""),E=gt(""),m;const X={account:[{required:!0,trigger:"blur",message:"请输入您的账号"}],password:[{required:!0,trigger:"blur",message:"请输入您的密码"}]},j=gt(!1),ut=gt(void 0);he(ht,R=>{ut.value=R.query&&R.query.redirect},{immediate:!0});function k(){F.$refs.loginRef.validate(R=>{R&&(j.value=!0,q.value.rememberMe?(mt.set("account",q.value.account,{expires:30}),mt.set("password",De(q.value.password),{expires:30})):(mt.remove("account"),mt.remove("password")),Y.login(q.value).then(D=>{if(D.code=="200"){const P=ht.query,V=Object.keys(P).reduce((y,w)=>(w!=="redirect"&&(y[w]=P[w]),y),{});nt.push({path:"/",query:V})}else F.$modal.msgError(D.message),j.value=!1}).catch(()=>{j.value=!1}))})}function N(){const R=mt.get("account"),D=mt.get("password");q.value={account:R===void 0?q.value.account:R,password:D===void 0?q.value.password:xe(D)}}const C=async()=>{if(I.value=!I.value,v.value="",m&&clearInterval(m),!I.value){const{isSuccess:R,data:D}=await de();R&&(new WxLogin({self_redirect:!0,id:"qrCode",appid:"wxbd5b6f7d18e73397",scope:"snsapi_login",redirect_uri:encodeURI("https://cha.365jft.com/djl-account/wx/channel/callback"),state:D.key,style:"black",href:"data:text/css;base64,LmltcG93ZXJCb3ggLnFyY29kZSB7d2lkdGg6IDIwMHB4OyBtYXJnaW46MH0KLmltcG93ZXJCb3ggLnRpdGxlIHtkaXNwbGF5OiBub25lO30KLmltcG93ZXJCb3ggLmluZm8ge3dpZHRoOiAyMDBweDt9Ci5zdGF0dXNfaWNvbiB7ZGlzcGxheTogbm9uZX0KLmltcG93ZXJCb3ggLnN0YXR1cyB7dGV4dC1hbGlnbjogY2VudGVyO30="}),E.value=D.key,W())}},W=()=>{m=setInterval(async()=>{const{data:R,isSuccess:D,code:P}=await me({key:E.value});if(D){if(R.state==2){clearInterval(m);let V={account:R.account,password:R.password,loginType:"scan"};Y.login(V).then(y=>{if(y.code=="200"){const w=ht.query,M=Object.keys(w).reduce((U,ct)=>(ct!=="redirect"&&(U[ct]=w[ct]),U),{});nt.push({path:"/",query:M})}else F.$modal.msgError(y.message),j.value=!1}).catch(()=>{j.value=!1})}}else clearInterval(m),ElMessage.error(prompt[P]),I.value=!I.value},2e3)};return ue(()=>{m&&clearInterval(m)}),N(),(R,D)=>{const P=bt("el-input"),V=bt("el-form-item"),y=bt("el-checkbox"),w=bt("el-button"),M=bt("el-form");return ot(),at("div",Ae,[Be,rt(M,{ref:"loginRef",model:G(q),rules:X,class:"login-form","label-position":"top"},{default:dt(()=>[it("div",Re,[G(I)?(ot(),at("img",{key:0,src:be,style:{width:"120px"},onClick:C})):(ot(),at("img",{key:1,src:Te,style:{width:"143px"},onClick:C}))]),Ve,G(I)?(ot(),at(ce,{key:0},[rt(V,{prop:"account",label:"用户名"},{default:dt(()=>[rt(P,{modelValue:G(q).account,"onUpdate:modelValue":D[0]||(D[0]=U=>G(q).account=U),type:"text",size:"large","auto-complete":"off",placeholder:"输入后台账号"},null,8,["modelValue"])]),_:1}),rt(V,{prop:"password",label:"密码"},{default:dt(()=>[rt(P,{modelValue:G(q).password,"onUpdate:modelValue":D[1]||(D[1]=U=>G(q).password=U),type:"password",size:"large","auto-complete":"off",placeholder:"输入登录密码",onKeyup:le(k,["enter"])},null,8,["modelValue","onKeyup"])]),_:1}),rt(y,{modelValue:G(q).rememberMe,"onUpdate:modelValue":D[2]||(D[2]=U=>G(q).rememberMe=U),style:{margin:"0px 0px 25px 0px"}},{default:dt(()=>[Ft("记住密码")]),_:1},8,["modelValue"]),rt(V,{style:{width:"100%"}},{default:dt(()=>[rt(w,{loading:G(j),size:"large",type:"primary",style:{width:"100%"},onClick:fe(k,["prevent"])},{default:dt(()=>[G(j)?(ot(),at("span",Ie,"登 录 中...")):(ot(),at("span",Oe,"登 录"))]),_:1},8,["loading","onClick"])]),_:1})],64)):(ot(),at("div",{key:1,class:"qrCode",id:"qrCode",ref_key:"qrcode",ref:v},null,512))]),_:1},8,["model"]),Ne])}}},qe=ne(Pe,[["__scopeId","data-v-9271dc58"]]);export{qe as default};
.login[data-v-9271dc58]{display:flex;justify-content:center;align-items:center;height:100%;background-image:url(./bj-DL1oreq8.png);background-size:cover;position:relative}.login .lg_left[data-v-9271dc58]{position:absolute;left:200px;top:10px;display:flex}.login .lg_left .lg_logo[data-v-9271dc58]{width:70px;height:70px;margin-right:10px;margin-top:25px}.login .lg_left .lg_h2[data-v-9271dc58]{color:#000;font-size:40px;font-weight:600;line-height:120px;font-style:italic}.login .login-form[data-v-9271dc58]{background:#fff;width:380px;height:471px;padding:30px;position:absolute;border-radius:20px;right:24%;top:22%;box-shadow:0 0 12px #0003;overflow:hidden}.login .login-form .sign[data-v-9271dc58]{position:absolute;top:0;right:0}.login .login-form .title[data-v-9271dc58]{padding:30px 0;text-align:left;color:#707070}.login .login-form .el-input[data-v-9271dc58],.login .login-form .el-input input[data-v-9271dc58]{height:40px}.login .login-form .el-button[data-v-9271dc58]{height:34px}.login .login-form .input-icon[data-v-9271dc58]{height:39px;width:14px;margin-left:0}.login .login-form .qrCode[data-v-9271dc58]{width:200px;height:200px;margin-left:9px}.login .login-form .qrCode iframe[data-v-9271dc58]{width:200px!important;height:200px}.login .el-login-footer[data-v-9271dc58]{height:40px;line-height:40px;position:fixed;bottom:0;width:100%;text-align:center;color:#fff;font-family:Arial;font-size:12px;letter-spacing:1px}
.qrCodeSuccess[data-v-347bc309]{margin-top:60px;display:flex;flex-direction:column;align-items:center;color:green;font-size:20px}
import{_ as a,c,d as n,e as _,f as o,h as d,p as r,q as l,k as i}from"./index-BXdSy86L.js";const p={},h=e=>(r("data-v-347bc309"),e=e(),l(),e),f={class:"qrCodeSuccess"},u=h(()=>i("div",null,"登录成功",-1));function C(e,m){const s=c("CircleCheckFilled"),t=c("el-icon");return n(),_("div",f,[o(t,{size:"100px"},{default:d(()=>[o(s)]),_:1}),u])}const v=a(p,[["render",C],["__scopeId","data-v-347bc309"]]);export{v as default};
import{s as N,a as O,b as j}from"./dispatch-D5OGiGsN.js";import{r as x,A as L,B as z,c as v,d as E,e as H,k as y,f as l,h as o,m as f,i,H as J,v as T,y as k}from"./index-BXdSy86L.js";const G={class:"dispatch-salary-advance"},K={class:"tips"},M={class:"tipscontent"},Q={style:{margin:"0 auto"}},X={class:"dialog-footer"},le={__name:"salary_advance",setup(Y){const{proxy:m}=T();x([]);const A=x(!1);m.$route.query.id;const _=m.$route.query.code||"",b=x(),F=x(!1);let c;const C=L({formLabelAlign:{minAmount:"",freeAmount:"",fee:[]},addForm:{},rules:{minAmount:[{required:!0,message:"请输入最低预支额度",trigger:"blur"}],freeAmount:[{required:!0,message:"请输入无手续费当月累计限额",trigger:"blur"}],fee:[{required:!0,message:"请添加手续费",trigger:"blur"}]},feeRules:{serviceFee:[{required:!0,message:"请输入手续费",trigger:"blur"}],minAmount:[{required:!0,message:"请输入最小值",trigger:"blur"}],maxAmount:[{required:!0,message:"请输入最大值",trigger:"blur"}]}}),{addForm:a,formLabelAlign:t,rules:R,feeRules:D}=z(C);_&&P();function V(n){if(n)b.value="编辑手续费",F.value=n.$index===0,a.value={...n.row},c=n.$index;else{a.value={maxAmount:"",minAmount:"",serviceFee:""},b.value="新增手续费",F.value=!0;let e=t.value.fee||[];if(e.length===0)a.value.minAmount=0;else{let r=e[e.length-1];if(r.maxAmount==0)return m.$modal.msgWarning("已存在无限制区间,无法新增");a.value.minAmount=parseFloat(r.maxAmount)+1}}A.value=!0,m.$refs.addDialogRef!=null&&m.$refs.addDialogRef.clearValidate()}function q(){m.$refs.addDialogRef.validate(n=>{if(!n)return;if(a.value.maxAmount!=0&&parseFloat(a.value.minAmount)>parseFloat(a.value.maxAmount))return m.$modal.msgWarning("最小值不能大于最大值!");let e=t.value.fee||[];for(let r=0;r<e.length;r++)if(e[r].serviceFee==a.value.serviceFee&&e[r].id!=a.value.id)return m.$modal.msgWarning("手续费已存在!");if(b.value==="新增手续费")t.value.fee.push({...a.value});else{let r=t.value.fee,d=t.value.fee[c-1],p=t.value.fee[c+1],s=t.value.fee[c];if(c!==0&&s.minAmount!=a.value.minAmount){if(parseFloat(a.value.minAmount)<parseFloat(d.minAmount))return m.$modal.msgWarning("最小值不能小于上条手续费的最小值:"+d.minAmount);if(parseFloat(a.value.minAmount)>parseFloat(d.maxAmount))return m.$modal.msgWarning("最小值不能大于上条手续费的最大值:"+d.maxAmount);d.maxAmount=a.value.minAmount-1}if(c!==r.length-1&&s.maxAmount!=a.value.maxAmount){if(parseFloat(a.value.maxAmount)>parseFloat(p.maxAmount))return m.$modal.msgWarning("最大值不能大于下条手续费的最大值:"+p.maxAmount);p.minAmount=parseFloat(a.value.maxAmount)+1}r[c]=a.value,t.value.fee=r}A.value=!1})}function W(n){t.value.fee.length-1===n.$index||(n.$index==0?t.value.fee[n.$index+1].minAmount=0:t.value.fee[n.$index+1].minAmount=t.value.fee[n.$index-1].maxAmount),t.value.fee.splice(n.$index,1)}function U(){m.$router.go(-1)}function S(){m.$refs.ruleFormRef.validate(async n=>{if(!n)return;const e={...t.value};e.fee=JSON.stringify(e.fee),t.value.id?O({...e,code:_,rsapId:t.value.id}).then(r=>{m.$modal.msgSuccess(r.code);const d={path:"/dispatch"};m.$tab.closeOpenPage(d)}):j({...e,code:_}).then(r=>{m.$modal.msgSuccess(r.code);const d={path:"/dispatch"};m.$tab.closeOpenPage(d)})})}function P(){N({code:_}).then(n=>{n.data&&(n.data.salaryAdvanceParam&&(t.value=n.data.salaryAdvanceParam),n.data.salaryAdvanceFee&&(t.value.fee=n.data.salaryAdvanceFee))})}return(n,e)=>{const r=v("WarningFilled"),d=v("el-icon"),p=v("el-input"),s=v("el-form-item"),$=v("el-table-column"),g=v("el-button"),w=v("el-table"),h=v("el-form"),B=v("el-dialog");return E(),H("div",G,[y("p",K,[y("div",M,[l(d,{size:"14px"},{default:o(()=>[l(r)]),_:1}),f(" 温馨提醒:在新增手续费的操作中,若最后一个区间的最大值为 0 ,则无法继续新增区间。需知,区间最大值为 0 即代表无限制。")])]),l(h,{inline:!0,"label-position":"right","label-width":"170px",model:i(t),style:{"max-width":"90%"},ref:"ruleFormRef",rules:i(R),class:"ruleFormRef"},{default:o(()=>[l(s,{label:"最低预支额度",prop:"minAmount"},{default:o(()=>[l(p,{modelValue:i(t).minAmount,"onUpdate:modelValue":e[0]||(e[0]=u=>i(t).minAmount=u),type:"number",oninput:"if(value) if(value<0){value='0'}"},null,8,["modelValue"])]),_:1}),l(s),l(s),l(s,{label:"无手续费当月累计限额",prop:"freeAmount"},{default:o(()=>[l(p,{modelValue:i(t).freeAmount,"onUpdate:modelValue":e[1]||(e[1]=u=>i(t).freeAmount=u),type:"number",oninput:"if(value) if(value<0){value='0'}"},null,8,["modelValue"])]),_:1}),l(s),l(s,{label:"手续费",style:{width:"1010px"},prop:"fee"},{default:o(()=>[l(w,{data:i(t).fee},{default:o(()=>[l($,{label:"手续费",align:"center",prop:"serviceFee"},{default:o(({row:u})=>[f(k(u.serviceFee+"%"),1)]),_:1}),l($,{label:"金额范围",align:"center",prop:"minAmount"},{default:o(({row:u})=>[f(k(u.minAmount+"-"+u.maxAmount),1)]),_:1}),l($,{label:"操作",width:"180",align:"center","class-name":"small-padding fixed-width"},{default:o(u=>[l(g,{link:"",type:"primary",icon:"edit",onClick:I=>V(u)},{default:o(()=>[f("编辑")]),_:2},1032,["onClick"]),l(g,{link:"",type:"primary",icon:"Delete",onClick:I=>W(u)},{default:o(()=>[f("删除")]),_:2},1032,["onClick"])]),_:1})]),_:1},8,["data"]),l(g,{onClick:e[2]||(e[2]=u=>V()),icon:"Plus",style:{width:"100%",border:"1px dashed #dcdfe6","margin-top":"6px"}},{default:o(()=>[f("新增")]),_:1})]),_:1}),l(s,{style:{width:"100%"}},{default:o(()=>[y("div",Q,[l(g,{onClick:U},{default:o(()=>[f("取消")]),_:1}),l(g,{onClick:S,type:"primary"},{default:o(()=>[f("提交")]),_:1})])]),_:1})]),_:1},8,["model","rules"]),l(B,{title:i(b),modelValue:i(A),"onUpdate:modelValue":e[8]||(e[8]=u=>J(A)?A.value=u:null),width:"500px","append-to-body":""},{footer:o(()=>[y("div",X,[l(g,{type:"primary",onClick:e[6]||(e[6]=u=>q())},{default:o(()=>[f("确 定")]),_:1}),l(g,{onClick:e[7]||(e[7]=u=>A.value=!1)},{default:o(()=>[f("取 消")]),_:1})])]),default:o(()=>[l(h,{ref:"addDialogRef",model:i(a),rules:i(D),"label-width":"110"},{default:o(()=>[l(s,{label:"手续费(%)",prop:"serviceFee"},{default:o(()=>[l(p,{modelValue:i(a).serviceFee,"onUpdate:modelValue":e[3]||(e[3]=u=>i(a).serviceFee=u),placeholder:"请输入手续费",type:"number",oninput:"if(value) if(value<0){value='0'} if(value>=10){value='10'}"},null,8,["modelValue"])]),_:1}),l(s,{label:"最小值",prop:"minAmount"},{default:o(()=>[l(p,{modelValue:i(a).minAmount,"onUpdate:modelValue":e[4]||(e[4]=u=>i(a).minAmount=u),placeholder:"请输入最小值",type:"number",oninput:"if(value) if(value<0){value='0'}",disabled:i(F)},null,8,["modelValue","disabled"])]),_:1}),l(s,{label:"最大值",prop:"maxAmount"},{default:o(()=>[l(p,{modelValue:i(a).maxAmount,"onUpdate:modelValue":e[5]||(e[5]=u=>i(a).maxAmount=u),placeholder:"请输入最大值",type:"number",oninput:"if(value) if(value<0){value='0'}"},null,8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])]),_:1},8,["title","modelValue"])])}}};export{le as default};
.dispatch-salary-advance .el-form.ruleFormRef{margin:20px auto;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap}.dispatch-salary-advance .el-form.ruleFormRef .el-form-item{width:30%}.dispatch-salary-advance .el-form.ruleFormRef .el-form-item .el-input,.dispatch-salary-advance .el-form.ruleFormRef .el-form-item .el-select,.dispatch-salary-advance .el-form.ruleFormRef .el-form-item .el-date-editor.el-input,.dispatch-salary-advance .el-form.ruleFormRef .el-form-item .el-date-editor.el-input__wrapper{width:100%}.tips{margin-top:0;padding:8px;color:#ed6f1c;background:#fffae8;line-height:1.4;font-size:12px;display:flex;justify-content:flex-start}.tipscontent{margin-left:7.4%}
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="renderer" content="webkit">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<script src="https://map.qq.com/api/gljs?v=1.exp&key=DGPBZ-NFQRN-6O5F7-SRHPW-FSS4F-EHFGA&libraries=service"></script>
<link rel="icon" href="./favicon.ico">
<title>就服通管理系统</title>
<!--[if lt IE 11]><script>window.location.href='/html/ie.html';</script><![endif]-->
<style>
html,
body,
#app {
height: 100%;
margin: 0px;
padding: 0px;
}
.chromeframe {
margin: 0.2em 0;
background: #ccc;
color: #000;
padding: 0.2em 0;
}
#loader-wrapper {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 999999;
}
#loader {
display: block;
position: relative;
left: 50%;
top: 50%;
width: 150px;
height: 150px;
margin: -75px 0 0 -75px;
border-radius: 50%;
border: 3px solid transparent;
border-top-color: #FFF;
-webkit-animation: spin 2s linear infinite;
-ms-animation: spin 2s linear infinite;
-moz-animation: spin 2s linear infinite;
-o-animation: spin 2s linear infinite;
animation: spin 2s linear infinite;
z-index: 1001;
}
#loader:before {
content: "";
position: absolute;
top: 5px;
left: 5px;
right: 5px;
bottom: 5px;
border-radius: 50%;
border: 3px solid transparent;
border-top-color: #FFF;
-webkit-animation: spin 3s linear infinite;
-moz-animation: spin 3s linear infinite;
-o-animation: spin 3s linear infinite;
-ms-animation: spin 3s linear infinite;
animation: spin 3s linear infinite;
}
#loader:after {
content: "";
position: absolute;
top: 15px;
left: 15px;
right: 15px;
bottom: 15px;
border-radius: 50%;
border: 3px solid transparent;
border-top-color: #FFF;
-moz-animation: spin 1.5s linear infinite;
-o-animation: spin 1.5s linear infinite;
-ms-animation: spin 1.5s linear infinite;
-webkit-animation: spin 1.5s linear infinite;
animation: spin 1.5s linear infinite;
}
@-webkit-keyframes spin {
0% {
-webkit-transform: rotate(0deg);
-ms-transform: rotate(0deg);
transform: rotate(0deg);
}
100% {
-webkit-transform: rotate(360deg);
-ms-transform: rotate(360deg);
transform: rotate(360deg);
}
}
@keyframes spin {
0% {
-webkit-transform: rotate(0deg);
-ms-transform: rotate(0deg);
transform: rotate(0deg);
}
100% {
-webkit-transform: rotate(360deg);
-ms-transform: rotate(360deg);
transform: rotate(360deg);
}
}
#loader-wrapper .loader-section {
position: fixed;
top: 0;
width: 51%;
height: 100%;
background: #7171C6;
z-index: 1000;
-webkit-transform: translateX(0);
-ms-transform: translateX(0);
transform: translateX(0);
}
#loader-wrapper .loader-section.section-left {
left: 0;
}
#loader-wrapper .loader-section.section-right {
right: 0;
}
.loaded #loader-wrapper .loader-section.section-left {
-webkit-transform: translateX(-100%);
-ms-transform: translateX(-100%);
transform: translateX(-100%);
-webkit-transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
}
.loaded #loader-wrapper .loader-section.section-right {
-webkit-transform: translateX(100%);
-ms-transform: translateX(100%);
transform: translateX(100%);
-webkit-transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
}
.loaded #loader {
opacity: 0;
-webkit-transition: all 0.3s ease-out;
transition: all 0.3s ease-out;
}
.loaded #loader-wrapper {
visibility: hidden;
-webkit-transform: translateY(-100%);
-ms-transform: translateY(-100%);
transform: translateY(-100%);
-webkit-transition: all 0.3s 1s ease-out;
transition: all 0.3s 1s ease-out;
}
.no-js #loader-wrapper {
display: none;
}
.no-js h1 {
color: #222222;
}
#loader-wrapper .load_title {
font-family: 'Open Sans';
color: #FFF;
font-size: 19px;
width: 100%;
text-align: center;
z-index: 9999999999999;
position: absolute;
top: 60%;
opacity: 1;
line-height: 30px;
}
#loader-wrapper .load_title span {
font-weight: normal;
font-style: italic;
font-size: 13px;
color: #FFF;
opacity: 0.5;
}
</style>
<script type="module" crossorigin src="./assets/index-BXdSy86L.js"></script>
<link rel="stylesheet" crossorigin href="./assets/index-BP7aGp1P.css">
</head>
<body>
<div id="app">
<div id="loader-wrapper">
<div id="loader"></div>
<div class="loader-section section-left"></div>
<div class="loader-section section-right"></div>
<div class="load_title">正在加载系统资源,请耐心等待</div>
</div>
</div>
</body>
<script src="https://res.wx.qq.com/connect/zh_CN/htmledition/js/wxLogin.js"></script>
</html>
\ No newline at end of file
var express = require('express');
var router = express.Router();
/* GET home page. */
router.get('/', function(req, res, next) {
res.render('index', { title: 'Express' });
});
module.exports = router;
var express = require('express');
var router = express.Router();
/* GET users listing. */
router.get('/', function(req, res, next) {
res.send('respond with a resource');
});
module.exports = router;
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论