Spaces:
Running
Running
move romaji convertor to backend
Browse files- app.py +33 -2
- frontend/dist/css/{chunk-vendors.67710748.css → chunk-vendors.db3e6b3f.css} +0 -0
- frontend/dist/dict/base.datgz +0 -3
- frontend/dist/dict/cc.datgz +0 -3
- frontend/dist/dict/check.datgz +0 -3
- frontend/dist/dict/tid.datgz +0 -3
- frontend/dist/dict/tid_map.datgz +0 -3
- frontend/dist/dict/tid_pos.datgz +0 -3
- frontend/dist/dict/unk.datgz +0 -3
- frontend/dist/dict/unk_char.datgz +0 -3
- frontend/dist/dict/unk_compat.datgz +0 -3
- frontend/dist/dict/unk_invoke.datgz +0 -3
- frontend/dist/dict/unk_map.datgz +0 -3
- frontend/dist/dict/unk_pos.datgz +0 -3
- frontend/dist/font/vuetify.min.css +0 -0
- frontend/dist/index.html +1 -1
- frontend/dist/js/app.79416ce3.js +1 -0
- frontend/dist/js/app.a4baf4ef.js +0 -1
- frontend/dist/js/chunk-vendors.799a3db0.js +0 -0
- frontend/dist/js/chunk-vendors.f5ab6a81.js +0 -0
- frontend/package.json +0 -3
- frontend/public/dict/base.datgz +0 -3
- frontend/public/dict/cc.datgz +0 -3
- frontend/public/dict/check.datgz +0 -3
- frontend/public/dict/tid.datgz +0 -3
- frontend/public/dict/tid_map.datgz +0 -3
- frontend/public/dict/tid_pos.datgz +0 -3
- frontend/public/dict/unk.datgz +0 -3
- frontend/public/dict/unk_char.datgz +0 -3
- frontend/public/dict/unk_compat.datgz +0 -3
- frontend/public/dict/unk_invoke.datgz +0 -3
- frontend/public/dict/unk_map.datgz +0 -3
- frontend/public/dict/unk_pos.datgz +0 -3
- frontend/public/font/vuetify.min.css +0 -0
- frontend/src/App.vue +4 -25
- frontend/yarn.lock +11 -219
- requirements.txt +3 -1
app.py
CHANGED
@@ -1,6 +1,12 @@
|
|
1 |
import torch
|
2 |
from transformers import T5Tokenizer, GPT2LMHeadModel
|
3 |
from flask import Flask, request, jsonify
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
|
5 |
device = torch.device("cpu")
|
6 |
if torch.cuda.is_available():
|
@@ -40,7 +46,9 @@ def gen_lyric(title: str, prompt_text: str):
|
|
40 |
generated_sequence = output_sequences.tolist()[0]
|
41 |
generated_tokens = tokenizer.convert_ids_to_tokens(generated_sequence)
|
42 |
generated_text = tokenizer.convert_tokens_to_string(generated_tokens)
|
43 |
-
generated_text = "\n".join([s.strip() for s in generated_text.split('\\n')]).replace(' ', '\u3000').replace('<s>',
|
|
|
|
|
44 |
title_and_lyric = generated_text.split("[CLS]", 1)
|
45 |
if len(title_and_lyric) == 1:
|
46 |
title, lyric = "", title_and_lyric[0].strip()
|
@@ -50,7 +58,7 @@ def gen_lyric(title: str, prompt_text: str):
|
|
50 |
|
51 |
|
52 |
app = Flask(__name__, static_url_path="", static_folder="frontend/dist")
|
53 |
-
|
54 |
|
55 |
@app.route('/')
|
56 |
def index_page():
|
@@ -78,5 +86,28 @@ def generate():
|
|
78 |
return jsonify(result), result["state"]
|
79 |
|
80 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
81 |
if __name__ == '__main__':
|
82 |
app.run(host="0.0.0.0", port=7860, debug=False, use_reloader=False)
|
|
|
1 |
import torch
|
2 |
from transformers import T5Tokenizer, GPT2LMHeadModel
|
3 |
from flask import Flask, request, jsonify
|
4 |
+
from flask_cors import CORS, cross_origin
|
5 |
+
import cutlet
|
6 |
+
|
7 |
+
convertors = {}
|
8 |
+
for romaji_sys in ["hepburn", "kunrei", "nippon"]:
|
9 |
+
convertors[romaji_sys] = cutlet.Cutlet(romaji_sys)
|
10 |
|
11 |
device = torch.device("cpu")
|
12 |
if torch.cuda.is_available():
|
|
|
46 |
generated_sequence = output_sequences.tolist()[0]
|
47 |
generated_tokens = tokenizer.convert_ids_to_tokens(generated_sequence)
|
48 |
generated_text = tokenizer.convert_tokens_to_string(generated_tokens)
|
49 |
+
generated_text = "\n".join([s.strip() for s in generated_text.split('\\n')]).replace(' ', '\u3000').replace('<s>',
|
50 |
+
'').replace(
|
51 |
+
'</s>', '\n\n---end---')
|
52 |
title_and_lyric = generated_text.split("[CLS]", 1)
|
53 |
if len(title_and_lyric) == 1:
|
54 |
title, lyric = "", title_and_lyric[0].strip()
|
|
|
58 |
|
59 |
|
60 |
app = Flask(__name__, static_url_path="", static_folder="frontend/dist")
|
61 |
+
cors = CORS(app)
|
62 |
|
63 |
@app.route('/')
|
64 |
def index_page():
|
|
|
86 |
return jsonify(result), result["state"]
|
87 |
|
88 |
|
89 |
+
@app.route('/romaji', methods=["POST"])
|
90 |
+
def romaji():
|
91 |
+
if request.method == "POST":
|
92 |
+
try:
|
93 |
+
data = request.get_json()
|
94 |
+
text = data['text']
|
95 |
+
system = data['system']
|
96 |
+
lines = []
|
97 |
+
# 不支持带换行符的直接转换
|
98 |
+
for line in text.split("\n"):
|
99 |
+
lines.append(convertors[system].romaji(line))
|
100 |
+
result = {
|
101 |
+
"state": 200,
|
102 |
+
"romaji": "\n".join(lines),
|
103 |
+
}
|
104 |
+
except Exception as e:
|
105 |
+
result = {
|
106 |
+
"state": 400,
|
107 |
+
"msg": f"{e}"
|
108 |
+
}
|
109 |
+
return jsonify(result), result["state"]
|
110 |
+
|
111 |
+
|
112 |
if __name__ == '__main__':
|
113 |
app.run(host="0.0.0.0", port=7860, debug=False, use_reloader=False)
|
frontend/dist/css/{chunk-vendors.67710748.css → chunk-vendors.db3e6b3f.css}
RENAMED
The diff for this file is too large to render.
See raw diff
|
|
frontend/dist/dict/base.datgz
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:0803327762e1c93ca731e4319ab8343340f2806bb84941207782cde9d2d5a8eb
|
3 |
-
size 3956825
|
|
|
|
|
|
|
|
frontend/dist/dict/cc.datgz
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:02b7631be0d4de3a1a75cd9f9cc51536e4f94c9e6b389b813e06ba0f6e7de765
|
3 |
-
size 1692067
|
|
|
|
|
|
|
|
frontend/dist/dict/check.datgz
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:193ae0035fff6fe812b58d9ee730e7a7d7ee601d918481ce51075c58114f6cc9
|
3 |
-
size 3111633
|
|
|
|
|
|
|
|
frontend/dist/dict/tid.datgz
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:d43d831cb6fb0f0a411739cd287a6d5e998e121a8daca614df14a81a0dcac586
|
3 |
-
size 1605820
|
|
|
|
|
|
|
|
frontend/dist/dict/tid_map.datgz
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:33efd5ffd87a70f669add093fa39dee44341d58f940844ef107c8fd98bb795b2
|
3 |
-
size 1485576
|
|
|
|
|
|
|
|
frontend/dist/dict/tid_pos.datgz
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:60dbfc99a6ab993f30c5dab648bec6ad7f9aaefa5c14e1843837d95e509f8895
|
3 |
-
size 5916009
|
|
|
|
|
|
|
|
frontend/dist/dict/unk.datgz
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:f7f991cdeb9bfd3e9c0e4577cc50ee0815a11c508cccd444a9d3ab3c81521100
|
3 |
-
size 10512
|
|
|
|
|
|
|
|
frontend/dist/dict/unk_char.datgz
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:9a8e86fd9aff32d323fbb59f5a7006f05927a11f8173c90712cc56293aeb3225
|
3 |
-
size 306
|
|
|
|
|
|
|
|
frontend/dist/dict/unk_compat.datgz
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:50f60aa29bc2e86c2903ab8c825bb6fa604d2b294d96941c1d3924259791899d
|
3 |
-
size 338
|
|
|
|
|
|
|
|
frontend/dist/dict/unk_invoke.datgz
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:6b210889548457c3006913afd12c8b525562255f2709e404604be9614a25e94c
|
3 |
-
size 1140
|
|
|
|
|
|
|
|
frontend/dist/dict/unk_map.datgz
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:6df12460e5477230bb6fd9641def918b699fc0a8868016b6c9f794488630509b
|
3 |
-
size 1190
|
|
|
|
|
|
|
|
frontend/dist/dict/unk_pos.datgz
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:5b183a29f281acc7e0542beca47b83f7985047c0a2d27e78a66f32276be5ad11
|
3 |
-
size 10540
|
|
|
|
|
|
|
|
frontend/dist/font/vuetify.min.css
DELETED
The diff for this file is too large to render.
See raw diff
|
|
frontend/dist/index.html
CHANGED
@@ -1 +1 @@
|
|
1 |
-
<!DOCTYPE html><html lang="en" style="overflow-y: auto"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="favicon.ico"><title>日语歌词生成器</title><link rel="stylesheet" href="font/roboto.css"><link rel="stylesheet" href="font/materialdesignicons.min.css"><link href="css/chunk-vendors.
|
|
|
1 |
+
<!DOCTYPE html><html lang="en" style="overflow-y: auto"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="favicon.ico"><title>日语歌词生成器</title><link rel="stylesheet" href="font/roboto.css"><link rel="stylesheet" href="font/materialdesignicons.min.css"><link href="css/chunk-vendors.db3e6b3f.css" rel="preload" as="style"><link href="js/app.79416ce3.js" rel="preload" as="script"><link href="js/chunk-vendors.f5ab6a81.js" rel="preload" as="script"><link href="css/chunk-vendors.db3e6b3f.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but lyric-generator doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script src="js/chunk-vendors.f5ab6a81.js"></script><script src="js/app.79416ce3.js"></script></body></html>
|
frontend/dist/js/app.79416ce3.js
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
(function(t){function e(e){for(var a,o,i=e[0],l=e[1],c=e[2],p=0,_=[];p<i.length;p++)o=i[p],Object.prototype.hasOwnProperty.call(n,o)&&n[o]&&_.push(n[o][0]),n[o]=0;for(a in l)Object.prototype.hasOwnProperty.call(l,a)&&(t[a]=l[a]);u&&u(e);while(_.length)_.shift()();return s.push.apply(s,c||[]),r()}function r(){for(var t,e=0;e<s.length;e++){for(var r=s[e],a=!0,i=1;i<r.length;i++){var l=r[i];0!==n[l]&&(a=!1)}a&&(s.splice(e--,1),t=o(o.s=r[0]))}return t}var a={},n={app:0},s=[];function o(e){if(a[e])return a[e].exports;var r=a[e]={i:e,l:!1,exports:{}};return t[e].call(r.exports,r,r.exports,o),r.l=!0,r.exports}o.m=t,o.c=a,o.d=function(t,e,r){o.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},o.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.t=function(t,e){if(1&e&&(t=o(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(o.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var a in t)o.d(r,a,function(e){return t[e]}.bind(null,a));return r},o.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return o.d(e,"a",e),e},o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o.p="";var i=window["webpackJsonp"]=window["webpackJsonp"]||[],l=i.push.bind(i);i.push=e,i=i.slice();for(var c=0;c<i.length;c++)e(i[c]);var u=l;s.push([0,"chunk-vendors"]),r()})({0:function(t,e,r){t.exports=r("56d7")},"56d7":function(t,e,r){"use strict";r.r(e);r("e260"),r("e6cf"),r("cca6"),r("a79d");var a=r("2b0e"),n=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("v-app",{style:{"max-height":t.$vuetify.breakpoint.height+"px","overflow-y":"scroll"}},[r("v-app-bar",{attrs:{app:"",dark:"",color:"primary"}},[r("v-toolbar-title",[t._v(t._s(t.i18n.title))]),r("v-spacer"),r("v-select",{staticStyle:{"max-width":"10rem"},attrs:{items:["English","Chinese"],"prepend-icon":"mdi-web","hide-details":""},on:{change:function(e){return t.set_locale(t.locale_name)}},model:{value:t.locale_name,callback:function(e){t.locale_name=e},expression:"locale_name"}}),r("v-btn",{attrs:{href:"https://github.com/SkyTNT/gpt2-japanese-lyric",icon:""}},[r("v-icon",[t._v("mdi-github")])],1),r("v-btn",{attrs:{href:"https://fab.moe",icon:""}},[r("v-icon",[t._v("mdi-home")])],1)],1),r("v-main",[r("v-row",{staticClass:"mx-3"},[r("div",{staticClass:"col-12 offset-0 col-sm-8 offset-sm-2 col-md-8 offset-md-2 col-lg-6 offset-lg-3 col-xl-6 offset-xl-3 mt-8"},[r("v-textarea",{attrs:{label:t.i18n.input_title_label,disabled:t.loading,rows:"1","prepend-icon":"mdi-comment",hint:t.i18n.input_title_hint,"no-resize":""},model:{value:t.prompt_title,callback:function(e){t.prompt_title=e},expression:"prompt_title"}}),r("v-textarea",{attrs:{label:t.i18n.input_text_label,disabled:t.loading,rows:"2","prepend-icon":"mdi-comment",hint:t.i18n.input_text_hint,"no-resize":""},model:{value:t.prompt_text,callback:function(e){t.prompt_text=e},expression:"prompt_text"}}),r("v-row",[r("v-checkbox",{staticClass:"col-6",attrs:{disabled:t.loading,label:t.i18n.show_romaji},on:{change:function(e){t.show_type=t.show_romaji?0:1}},model:{value:t.show_romaji,callback:function(e){t.show_romaji=e},expression:"show_romaji"}}),r("v-scroll-x-transition",[t.show_romaji?r("v-select",{staticClass:"col-6",attrs:{disabled:t.loading,items:t.romaji_systems,hint:t.i18n.romaji_system},model:{value:t.romaji_system,callback:function(e){t.romaji_system=e},expression:"romaji_system"}}):t._e()],1)],1),r("v-row",{staticClass:"mt-n8"},[r("v-checkbox",{staticClass:"col-6",attrs:{disabled:t.loading,label:t.i18n.use_translate},on:{change:function(e){t.show_type=t.use_trans?1:0}},model:{value:t.use_trans,callback:function(e){t.use_trans=e},expression:"use_trans"}}),r("v-scroll-x-transition",[t.use_trans?r("v-select",{staticClass:"col-6",attrs:{disabled:t.loading,items:t.google_supported_languages,hint:t.i18n.target_lang},model:{value:t.trans_target_lang,callback:function(e){t.trans_target_lang=e},expression:"trans_target_lang"}}):t._e()],1)],1),r("v-btn",{staticClass:"mb-10",attrs:{color:"primary",elevation:"5",loading:t.loading,text:"",block:"",large:"",tile:""},on:{click:function(e){return t.do_gen(0)}}},[t._v(t._s(t.i18n.generate))]),r("v-expand-transition",[0!==t.lyric.length?r("v-simple-table",{staticClass:"py-5",attrs:{dense:""},scopedSlots:t._u([{key:"default",fn:function(){return[r("thead",[r("tr",[r("th",[t._v(t._s(t.i18n.lyric)),r("v-btn",{staticClass:"ml-2",attrs:{elevation:"0",fab:"","x-small":""},on:{click:function(e){return t.copy_lyric("s")}}},[r("v-icon",[t._v("mdi-content-copy")])],1)],1),r("v-scroll-x-transition",[t.use_trans||t.show_romaji?r("th",[t.show_romaji&&!t.use_trans?r("span",[t._v(t._s(t.i18n.romaji))]):t._e(),!t.show_romaji&&t.use_trans?r("span",[t._v(t._s(t.i18n.translation))]):t._e(),t.use_trans&&t.show_romaji?r("v-btn",{staticClass:"mr-n2",attrs:{elevation:"0",text:"",small:""},on:{click:function(e){t.show_type=0===t.show_type?1:0}}},[t.show_romaji?r("span",{class:{"grey--text":1===t.show_type}},[t._v(t._s(t.i18n.romaji_s))]):t._e(),t._v("/"),t.use_trans?r("span",{class:{"grey--text":0===t.show_type}},[t._v(t._s(t.i18n.translation_s))]):t._e()]):t._e(),r("v-btn",{staticClass:"ml-2",attrs:{elevation:"0",fab:"","x-small":""},on:{click:function(e){return t.copy_lyric(0===t.show_type?"r":"t")}}},[r("v-icon",[t._v("mdi-content-copy")])],1)],1):t._e()])],1)]),r("tbody",{staticStyle:{"word-break":"break-word","word-wrap":"break-word"}},t._l(t.lyric,(function(e,a){return r("tr",{key:a,on:{mouseenter:function(e){t.hover=a},mouseleave:function(e){t.hover=-1}}},[r("td",{class:{"text-h6":0===a,"text-center":!e.is_lyric}},[t._v(" "+t._s(e.s)+" "),t.tts_support?r("v-scroll-x-transition",[t.tts_loading||""===e.s||t.speaking!==a&&(-1!==t.speaking||t.hover!==a)?t._e():r("v-btn",{class:{"mr-n9":!0,"blue--text":t.speaking===a},attrs:{icon:"",small:""},on:{click:function(e){return t.ja_tts(a)}}},[r("v-icon",[t._v("mdi-volume-high")])],1)],1):t._e(),t.tts_support&&t.speaking===a&&t.tts_loading?r("v-progress-circular",{staticClass:"mr-n9",attrs:{indeterminate:"",size:"20",width:"2",color:"primary"}}):t._e()],1),r("v-scroll-x-transition",[t.use_trans||t.show_romaji?r("td",{class:{"text-center":!e.is_lyric}},[t._v(t._s(0===t.show_type?e.r:e.t))]):t._e()])],1)})),0)]},proxy:!0}],null,!1,3397400449)}):t._e()],1)],1)]),r("v-snackbar",{attrs:{dark:"",timeout:2e3},scopedSlots:t._u([{key:"action",fn:function(e){var a=e.attrs;return[r("v-btn",t._b({attrs:{color:"blue",text:""},on:{click:function(e){t.snackbar=!1}}},"v-btn",a,!1),[t._v(" Close ")])]}}]),model:{value:t.snackbar,callback:function(e){t.snackbar=e},expression:"snackbar"}},[t._v(" "+t._s(t.snackbar_msg)+" ")])],1),r("v-footer",[r("v-row",{staticClass:"ma-0"},[r("div",{staticClass:"text-center caption col-12 pa-0"},[t._v(t._s(t.i18n.footer))]),r("div",{staticClass:"text-center caption col-12 pa-0"},[t._v("© 2022 SkyTNT")])])],1)],1)},s=[],o=r("1da1"),i=(r("96cf"),r("498a"),r("ac1f"),r("5319"),r("00b4"),r("99af"),r("1276"),r("d3b7"),r("bc3a")),l=r.n(i);function c(){return/(iPhone|iPad|iPod|iOS|Android|Windows Phone)/i.test(navigator.userAgent)}String.prototype.trim||(String.prototype.trim=function(){return this.triml().trimr()},String.prototype.triml=function(){return this.replace(/^[\s\n\t]+/g,"")},String.prototype.trimr=function(){return this.replace(/[\s\n\t]+$/g,"")});var u={name:"App",data:function(){return{locale_name:"English",i18n:{},use_trans:!1,google_supported_languages:["af","sq","am","ar","hy","az","eu","be","bn","bs","bg","my","ca","ca","ceb","co","cs","da","nl","nl","en","eo","et","fi","fr","fy","ka","de","gd","gd","ga","gl","el","gu","ht","ht","ha","haw","he","hi","hr","hu","ig","is","id","it","jw","ja","kn","kk","km","ky","ky","ko","ku","lo","la","lv","lt","lb","lb","mk","ml","mi","mr","ms","mg","mt","mn","ne","no","ny","ny","ny","or","pa","pa","fa","pl","pt","ps","ps","ro","ro","ro","ru","si","si","sk","sl","sm","sn","sd","so","st","es","es","sr","su","sw","sv","ta","te","tg","tl","th","tr","ug","ug","uk","ur","uz","vi","cy","xh","yi","yo","zu","zh-CN","zh-TW"],trans_target_lang:"zh-CN",show_romaji:!1,show_type:0,romaji_systems:["hepburn","kunrei","nippon"],romaji_system:"hepburn",prompt_title:"桜",prompt_text:"",loading:!1,lyric:[],tts_cache:{},tts_loading:!1,tts_support:!1,speaking:-1,hover:-1,snackbar:!1,snackbar_msg:""}},mounted:function(){this.locale_name="zh-CN"===(navigator.language||navigator.userLanguage)?"Chinese":"English","English"===this.locale_name&&(this.trans_target_lang="en"),this.set_locale(this.locale_name),this.loads()},methods:{set_locale:function(t){var e="English"===t?"en":"zh",r={en:{title:"Japanese Lyric Generator",loading:"Loading",input_title_label:"Title (can be empty)",input_text_label:"Beginning (can be empty)",input_title_hint:"Generate lyric for a given title",input_text_hint:"The generator continues with this text",show_romaji:"Show romaji",romaji_system:"Romaji system",use_translate:"Translate",target_lang:"Target language",generate:"Generate!",lyric:"Lyric",romaji:"Romaji",romaji_s:"R",translation:"Translation",translation_s:"T",footer:"The generated content can be used as you like, please share this site if you like.",copy_successful:"Copy successful",error:"Error",error_network:"Network error",error_failed_load_kuromoji:"Failed to load romaji converter",error_failed_covert_romaji:"Failed to convert lyric to romaji",error_failed_translate:"Failed to translate lyric",error_copy:"Copy failed, browser does not support"},zh:{title:"日语歌词生成器",loading:"加载中",input_title_label:"歌词标题(可不填)",input_text_label:"歌词开头(可不填)",input_title_hint:"给定标题生成歌词",input_text_hint:"生成器以这段文本进行续写",show_romaji:"显示罗马音",romaji_system:"罗马音系统",use_translate:"是否进行翻译",target_lang:"目标语言",generate:"生成!",lyric:"歌词",romaji:"罗马音",romaji_s:"音",translation:"翻译",translation_s:"译",footer:"生成的内容可以随意使用,喜欢的话就请分享本网站",copy_successful:"复制成功",error:"错误",error_network:"网络错误",error_failed_load_kuromoji:"罗马音转换器加载失败",error_failed_covert_romaji:"转换罗马音错误",error_failed_translate:"翻译出错",error_copy:"复制失败,浏览器不支持"}};this.i18n=r[e]},loads:function(){return Object(o["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(c()){t.next=6;break}return t.t0=eval,t.next=4,l.a.get("https://l2d.fab.moe/js/autoload.js");case 4:t.t1=t.sent.data,(0,t.t0)(t.t1);case 6:case"end":return t.stop()}}),t)})))()},do_gen:function(){var t=this;return Object(o["a"])(regeneratorRuntime.mark((function e(){var r,a,n,s,o,i,c,u,p,_,m;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return r=t.prompt_title.trim(),a=t.prompt_text.trim(),t.loading=!0,t.lyric=[],t.tts_cache={},e.prev=5,e.next=8,l.a.post("gen",{title:r,text:a});case 8:for(i in n=e.sent,s="".concat(n.data.title,"\n\n").concat(n.data.lyric),o=s.split("\n"),o)c=o[i].trim().replace(/ /g," "),t.lyric.push({s:c,r:"",t:"",is_lyric:"---end---"!==c});return t.lyric[0].is_lyric=!1,e.prev=13,e.next=16,l.a.post("romaji",{system:t.romaji_system,text:s});case 16:for(p in u=e.sent.data.romaji,u=u.split("\n"),u)t.lyric[p].r=u[p];e.next=24;break;case 21:e.prev=21,e.t0=e["catch"](13),t.show_snackbar(t.i18n.error_failed_covert_romaji+":"+e.t0.message);case 24:if(!t.use_trans){e.next=29;break}return e.next=27,t.google_translate(s);case 27:if(_=e.sent,""!==_)for(m in _=_.split("\n"),_)t.lyric[m].t=_[m].trim().replace(/ /g," ");case 29:t.loading=!1,e.next=36;break;case 32:e.prev=32,e.t1=e["catch"](5),console.log(e.t1),"Network Error"===e.t1.message||void 0===e.t1.response?(t.show_snackbar(t.i18n.error_network),t.loading=!1):(t.show_snackbar(t.i18n.error+":"+e.t1.response.data.msg),t.loading=!1);case 36:case"end":return e.stop()}}),e,null,[[5,32],[13,21]])})))()},google_translate:function(t){var e=this;return Object(o["a"])(regeneratorRuntime.mark((function r(){var a,n,s,o,i;return regeneratorRuntime.wrap((function(r){while(1)switch(r.prev=r.next){case 0:return a={client:"gtx",dt:"t",sl:"ja",tl:e.trans_target_lang,q:t},r.prev=1,r.next=4,l.a.get("https://translate.googleapis.com/translate_a/single",{params:a});case 4:for(i in n=r.sent,s="",o=n.data[0],o)s+=o[i][0];return r.abrupt("return",s);case 11:r.prev=11,r.t0=r["catch"](1),e.show_snackbar(e.i18n.error_failed_translate+":"+r.t0.message);case 14:return r.abrupt("return","");case 15:case"end":return r.stop()}}),r,null,[[1,11]])})))()},ja_tts:function(t){var e=this;return Object(o["a"])(regeneratorRuntime.mark((function r(){var a,n,s,o,i,c;return regeneratorRuntime.wrap((function(r){while(1)switch(r.prev=r.next){case 0:if(a=e.lyric[t].s,-1===e.speaking&&""!==a){r.next=3;break}return r.abrupt("return");case 3:if(e.speaking=t,r.prev=4,n=new AudioContext,s=n.createGain(),s.gain.value=2,void 0!==e.tts_cache[a]){r.next=20;break}return e.tts_loading=!0,r.next=12,l.a.post("https://voicevox-skytnt.cloud.okteto.net/audio_query",null,{params:{speaker:4,text:a}});case 12:return o=r.sent.data,r.next=15,l.a.post("https://voicevox-skytnt.cloud.okteto.net/synthesis",o,{params:{speaker:4},responseType:"arraybuffer"});case 15:return i=r.sent.data,e.tts_loading=!1,r.next=19,n.decodeAudioData(i);case 19:e.tts_cache[a]=r.sent;case 20:return c=n.createBufferSource(),c.buffer=e.tts_cache[a],c.loop=!1,c.connect(s),s.connect(n.destination),r.next=27,new Promise((function(t){c.onended=function(){t()},c.start(0)}));case 27:r.next=32;break;case 29:r.prev=29,r.t0=r["catch"](4),e.show_snackbar(e.i18n.error+":"+r.t0.message);case 32:e.speaking=-1,e.tts_loading=!1;case 34:case"end":return r.stop()}}),r,null,[[4,29]])})))()},copy_lyric:function(t){var e="";for(var r in this.lyric)e+=this.lyric[r][t]+"\n";e=e.trim(),this.copy(e)},copy:function(t){var e=this;return Object(o["a"])(regeneratorRuntime.mark((function r(){var a,n;return regeneratorRuntime.wrap((function(r){while(1)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,navigator.clipboard.writeText(t);case 3:e.show_snackbar(e.i18n.copy_successful),r.next=18;break;case 6:r.prev=6,r.t0=r["catch"](0),a=document.createElement("textarea"),a.style.position="fixed",a.style.top="-10000px",a.style.zIndex="-999",document.body.appendChild(a),console.log("input",a),a.value=t,a.focus(),a.select();try{n=document.execCommand("copy"),n&&"unsuccessful"!==n?e.show_snackbar(e.i18n.copy_successful):e.show_snackbar(e.i18n.error_copy)}catch(s){e.show_snackbar(e.i18n.error_copy)}finally{document.body.removeChild(a)}case 18:case"end":return r.stop()}}),r,null,[[0,6]])})))()},show_snackbar:function(t){this.snackbar=!0,this.snackbar_msg=t}}},p=u,_=r("2877"),m=r("6544"),d=r.n(m),h=r("7496"),f=r("40dc"),g=r("8336"),v=r("ac7c"),b=r("0789"),y=r("553a"),k=r("132d"),x=r("f6c4"),w=r("490a"),j=r("0fd9"),C=r("b974"),S=r("1f4f"),T=r("2db4"),O=r("2fa4"),V=r("a844"),R=r("2a7f"),z=Object(_["a"])(p,n,s,!1,null,null,null),P=z.exports;d()(z,{VApp:h["a"],VAppBar:f["a"],VBtn:g["a"],VCheckbox:v["a"],VExpandTransition:b["a"],VFooter:y["a"],VIcon:k["a"],VMain:x["a"],VProgressCircular:w["a"],VRow:j["a"],VScrollXTransition:b["d"],VSelect:C["a"],VSimpleTable:S["a"],VSnackbar:T["a"],VSpacer:O["a"],VTextarea:V["a"],VToolbarTitle:R["a"]});var E=r("f309");a["a"].use(E["a"]);var A=new E["a"]({}),N=r("8c4f");a["a"].use(N["a"]);var M=[],B=new N["a"]({routes:M}),F=B;a["a"].config.productionTip=!1,new a["a"]({vuetify:A,router:F,render:function(t){return t(P)}}).$mount("#app")}});
|
frontend/dist/js/app.a4baf4ef.js
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
(function(t){function e(e){for(var a,s,i=e[0],l=e[1],c=e[2],p=0,_=[];p<i.length;p++)s=i[p],Object.prototype.hasOwnProperty.call(n,s)&&n[s]&&_.push(n[s][0]),n[s]=0;for(a in l)Object.prototype.hasOwnProperty.call(l,a)&&(t[a]=l[a]);u&&u(e);while(_.length)_.shift()();return o.push.apply(o,c||[]),r()}function r(){for(var t,e=0;e<o.length;e++){for(var r=o[e],a=!0,i=1;i<r.length;i++){var l=r[i];0!==n[l]&&(a=!1)}a&&(o.splice(e--,1),t=s(s.s=r[0]))}return t}var a={},n={app:0},o=[];function s(e){if(a[e])return a[e].exports;var r=a[e]={i:e,l:!1,exports:{}};return t[e].call(r.exports,r,r.exports,s),r.l=!0,r.exports}s.m=t,s.c=a,s.d=function(t,e,r){s.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},s.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},s.t=function(t,e){if(1&e&&(t=s(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(s.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var a in t)s.d(r,a,function(e){return t[e]}.bind(null,a));return r},s.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return s.d(e,"a",e),e},s.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},s.p="";var i=window["webpackJsonp"]=window["webpackJsonp"]||[],l=i.push.bind(i);i.push=e,i=i.slice();for(var c=0;c<i.length;c++)e(i[c]);var u=l;o.push([0,"chunk-vendors"]),r()})({0:function(t,e,r){t.exports=r("56d7")},"56d7":function(t,e,r){"use strict";r.r(e);r("e260"),r("e6cf"),r("cca6"),r("a79d");var a=r("2b0e"),n=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("v-app",{style:{"max-height":t.$vuetify.breakpoint.height+"px","overflow-y":"scroll"}},[r("v-app-bar",{attrs:{app:"",dark:"",color:"primary"}},[r("v-toolbar-title",[t._v(t._s(t.i18n.title))]),r("v-spacer"),r("v-select",{staticStyle:{"max-width":"10rem"},attrs:{items:["English","Chinese"],"prepend-icon":"mdi-web","hide-details":""},on:{change:function(e){return t.set_locale(t.locale_name)}},model:{value:t.locale_name,callback:function(e){t.locale_name=e},expression:"locale_name"}}),r("v-btn",{attrs:{href:"https://github.com/SkyTNT/gpt2-japanese-lyric",icon:""}},[r("v-icon",[t._v("mdi-github")])],1),r("v-btn",{attrs:{href:"https://fab.moe",icon:""}},[r("v-icon",[t._v("mdi-home")])],1)],1),r("v-main",[t.loading_kuroshiro?r("v-container",{staticStyle:{height:"100%"},attrs:{fluid:""}},[r("div",{staticClass:"py-2 d-flex flex-column justify-center align-center",staticStyle:{height:"100%"}},[r("v-progress-circular",{attrs:{color:"blue",indeterminate:""}}),r("label",{staticClass:"py-4 text"},[t._v(t._s(t.i18n.loading))])],1)]):t._e(),t.loading_kuroshiro?t._e():r("v-row",{staticClass:"mx-3"},[r("div",{staticClass:"col-12 offset-0 col-sm-8 offset-sm-2 col-md-8 offset-md-2 col-lg-6 offset-lg-3 col-xl-6 offset-xl-3 mt-8"},[r("v-textarea",{attrs:{label:t.i18n.input_title_label,disabled:t.loading,rows:"1","prepend-icon":"mdi-comment",hint:t.i18n.input_title_hint,"no-resize":""},model:{value:t.prompt_title,callback:function(e){t.prompt_title=e},expression:"prompt_title"}}),r("v-textarea",{attrs:{label:t.i18n.input_text_label,disabled:t.loading,rows:"2","prepend-icon":"mdi-comment",hint:t.i18n.input_text_hint,"no-resize":""},model:{value:t.prompt_text,callback:function(e){t.prompt_text=e},expression:"prompt_text"}}),r("v-row",[r("v-checkbox",{staticClass:"col-6",attrs:{disabled:t.loading,label:t.i18n.show_romaji},on:{change:function(e){t.show_type=t.show_romaji?0:1}},model:{value:t.show_romaji,callback:function(e){t.show_romaji=e},expression:"show_romaji"}}),r("v-scroll-x-transition",[t.show_romaji?r("v-select",{staticClass:"col-6",attrs:{disabled:t.loading,items:t.romaji_systems,hint:t.i18n.romaji_system},model:{value:t.romaji_system,callback:function(e){t.romaji_system=e},expression:"romaji_system"}}):t._e()],1)],1),r("v-row",{staticClass:"mt-n8"},[r("v-checkbox",{staticClass:"col-6",attrs:{disabled:t.loading,label:t.i18n.use_translate},on:{change:function(e){t.show_type=t.use_trans?1:0}},model:{value:t.use_trans,callback:function(e){t.use_trans=e},expression:"use_trans"}}),r("v-scroll-x-transition",[t.use_trans?r("v-select",{staticClass:"col-6",attrs:{disabled:t.loading,items:t.google_supported_languages,hint:t.i18n.target_lang},model:{value:t.trans_target_lang,callback:function(e){t.trans_target_lang=e},expression:"trans_target_lang"}}):t._e()],1)],1),r("v-btn",{staticClass:"mb-10",attrs:{color:"primary",elevation:"5",loading:t.loading,text:"",block:"",large:"",tile:""},on:{click:function(e){return t.do_gen(0)}}},[t._v(t._s(t.i18n.generate))]),r("v-expand-transition",[0!==t.lyric.length?r("v-simple-table",{staticClass:"py-5",attrs:{dense:""},scopedSlots:t._u([{key:"default",fn:function(){return[r("thead",[r("tr",[r("th",[t._v(t._s(t.i18n.lyric)),r("v-btn",{staticClass:"ml-2",attrs:{elevation:"0",fab:"","x-small":""},on:{click:function(e){return t.copy_lyric("s")}}},[r("v-icon",[t._v("mdi-content-copy")])],1)],1),r("v-scroll-x-transition",[t.use_trans||t.show_romaji?r("th",[t.show_romaji&&!t.use_trans?r("span",[t._v(t._s(t.i18n.romaji))]):t._e(),!t.show_romaji&&t.use_trans?r("span",[t._v(t._s(t.i18n.translation))]):t._e(),t.use_trans&&t.show_romaji?r("v-btn",{staticClass:"mr-n2",attrs:{elevation:"0",text:"",small:""},on:{click:function(e){t.show_type=0===t.show_type?1:0}}},[t.show_romaji?r("span",{class:{"grey--text":1===t.show_type}},[t._v(t._s(t.i18n.romaji_s))]):t._e(),t._v("/"),t.use_trans?r("span",{class:{"grey--text":0===t.show_type}},[t._v(t._s(t.i18n.translation_s))]):t._e()]):t._e(),r("v-btn",{staticClass:"ml-2",attrs:{elevation:"0",fab:"","x-small":""},on:{click:function(e){return t.copy_lyric(0===t.show_type?"r":"t")}}},[r("v-icon",[t._v("mdi-content-copy")])],1)],1):t._e()])],1)]),r("tbody",{staticStyle:{"word-break":"break-word","word-wrap":"break-word"}},t._l(t.lyric,(function(e,a){return r("tr",{key:a,on:{mouseenter:function(e){t.hover=a},mouseleave:function(e){t.hover=-1}}},[r("td",{class:{"text-h6":0===a,"text-center":!e.is_lyric}},[t._v(" "+t._s(e.s)+" "),t.tts_support?r("v-scroll-x-transition",[t.tts_loading||""===e.s||t.speaking!==a&&(-1!==t.speaking||t.hover!==a)?t._e():r("v-btn",{class:{"mr-n9":!0,"blue--text":t.speaking===a},attrs:{icon:"",small:""},on:{click:function(e){return t.ja_tts(a)}}},[r("v-icon",[t._v("mdi-volume-high")])],1)],1):t._e(),t.tts_support&&t.speaking===a&&t.tts_loading?r("v-progress-circular",{staticClass:"mr-n9",attrs:{indeterminate:"",size:"20",width:"2",color:"primary"}}):t._e()],1),r("v-scroll-x-transition",[t.use_trans||t.show_romaji?r("td",{class:{"text-center":!e.is_lyric}},[t._v(t._s(0===t.show_type?e.r:e.t))]):t._e()])],1)})),0)]},proxy:!0}],null,!1,3397400449)}):t._e()],1)],1)]),r("v-snackbar",{attrs:{dark:"",timeout:2e3},scopedSlots:t._u([{key:"action",fn:function(e){var a=e.attrs;return[r("v-btn",t._b({attrs:{color:"blue",text:""},on:{click:function(e){t.snackbar=!1}}},"v-btn",a,!1),[t._v(" Close ")])]}}]),model:{value:t.snackbar,callback:function(e){t.snackbar=e},expression:"snackbar"}},[t._v(" "+t._s(t.snackbar_msg)+" ")])],1),r("v-footer",[r("v-row",{staticClass:"ma-0"},[r("div",{staticClass:"text-center caption col-12 pa-0"},[t._v(t._s(t.i18n.footer))]),r("div",{staticClass:"text-center caption col-12 pa-0"},[t._v("© 2022 SkyTNT")])])],1)],1)},o=[],s=r("1da1"),i=(r("96cf"),r("498a"),r("ac1f"),r("5319"),r("00b4"),r("99af"),r("1276"),r("d3b7"),r("bc3a")),l=r.n(i),c=r("1539"),u=r("856a");function p(){return/(iPhone|iPad|iPod|iOS|Android|Windows Phone)/i.test(navigator.userAgent)}String.prototype.trim||(String.prototype.trim=function(){return this.triml().trimr()},String.prototype.triml=function(){return this.replace(/^[\s\n\t]+/g,"")},String.prototype.trimr=function(){return this.replace(/[\s\n\t]+$/g,"")});var _={name:"App",data:function(){return{locale_name:"English",i18n:{},use_trans:!1,google_supported_languages:["af","sq","am","ar","hy","az","eu","be","bn","bs","bg","my","ca","ca","ceb","co","cs","da","nl","nl","en","eo","et","fi","fr","fy","ka","de","gd","gd","ga","gl","el","gu","ht","ht","ha","haw","he","hi","hr","hu","ig","is","id","it","jw","ja","kn","kk","km","ky","ky","ko","ku","lo","la","lv","lt","lb","lb","mk","ml","mi","mr","ms","mg","mt","mn","ne","no","ny","ny","ny","or","pa","pa","fa","pl","pt","ps","ps","ro","ro","ro","ru","si","si","sk","sl","sm","sn","sd","so","st","es","es","sr","su","sw","sv","ta","te","tg","tl","th","tr","ug","ug","uk","ur","uz","vi","cy","xh","yi","yo","zu","zh-CN","zh-TW"],trans_target_lang:"zh-CN",show_romaji:!1,show_type:0,romaji_systems:["nippon","passport","hepburn"],romaji_system:"hepburn",prompt_title:"桜",prompt_text:"",loading_kuroshiro:!0,loading:!1,lyric:[],tts_cache:{},tts_loading:!1,tts_support:!1,speaking:-1,hover:-1,snackbar:!1,snackbar_msg:"",kuroshiro:new c["a"]}},mounted:function(){this.locale_name="zh-CN"===(navigator.language||navigator.userLanguage)?"Chinese":"English","English"===this.locale_name&&(this.trans_target_lang="en"),this.set_locale(this.locale_name),this.loads()},methods:{set_locale:function(t){var e="English"===t?"en":"zh",r={en:{title:"Japanese Lyric Generator",loading:"Loading",input_title_label:"Title (can be empty)",input_text_label:"Beginning (can be empty)",input_title_hint:"Generate lyric for a given title",input_text_hint:"The generator continues with this text",show_romaji:"Show romaji",romaji_system:"Romaji system",use_translate:"Translate",target_lang:"Target language",generate:"Generate!",lyric:"Lyric",romaji:"Romaji",romaji_s:"R",translation:"Translation",translation_s:"T",footer:"The generated content can be used as you like, please share this site if you like.",copy_successful:"Copy successful",error:"Error",error_network:"Network error",error_failed_load_kuromoji:"Failed to load romaji converter",error_failed_covert_romaji:"Failed to convert lyric to romaji",error_failed_translate:"Failed to translate lyric",error_copy:"Copy failed, browser does not support"},zh:{title:"日语歌词生成器",loading:"加载中",input_title_label:"歌词标题(可不填)",input_text_label:"歌词开头(可��填)",input_title_hint:"给定标题生成歌词",input_text_hint:"生成器以这段文本进行续写",show_romaji:"显示罗马音",romaji_system:"罗马音系统",use_translate:"是否进行翻译",target_lang:"目标语言",generate:"生成!",lyric:"歌词",romaji:"罗马音",romaji_s:"音",translation:"翻译",translation_s:"译",footer:"生成的内容可以随意使用,喜欢的话就请分享本网站",copy_successful:"复制成功",error:"错误",error_network:"网络错误",error_failed_load_kuromoji:"罗马音转换器加载失败",error_failed_covert_romaji:"转换罗马音错误",error_failed_translate:"翻译出错",error_copy:"复制失败,浏览器不支持"}};this.i18n=r[e]},loads:function(){var t=this;return Object(s["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,t.load_kuroshiro();case 2:if(p()){e.next=8;break}return e.t0=eval,e.next=6,l.a.get("https://l2d.fab.moe/js/autoload.js");case 6:e.t1=e.sent.data,(0,e.t0)(e.t1);case 8:case"end":return e.stop()}}),e)})))()},load_kuroshiro:function(){var t=this;return Object(s["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.kuroshiro.init(new u["a"]({dictPath:"dict/"}));case 3:e.next=9;break;case 5:e.prev=5,e.t0=e["catch"](0),t.show_snackbar(t.i18n.error_failed_load_kuromoji+":"+e.t0.message),console.log(e.t0);case 9:t.loading_kuroshiro=!1,console.log("kuroshiro loaded");case 11:case"end":return e.stop()}}),e,null,[[0,5]])})))()},do_gen:function(){var t=this;return Object(s["a"])(regeneratorRuntime.mark((function e(){var r,a,n,o,s,i,c,u,p,_,m;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return r=t.prompt_title.trim(),a=t.prompt_text.trim(),t.loading=!0,t.lyric=[],t.tts_cache={},e.prev=5,e.next=8,l.a.post("gen",{title:r,text:a});case 8:for(i in n=e.sent,o="".concat(n.data.title,"\n\n").concat(n.data.lyric),s=o.split("\n"),s)c=s[i].trim().replace(/ /g," "),t.lyric.push({s:c,r:"",t:"",is_lyric:"---end---"!==c});return t.lyric[0].is_lyric=!1,e.prev=13,e.next=16,t.kuroshiro.convert(o,{to:"romaji",mode:"spaced",romajiSystem:t.romaji_system});case 16:for(p in u=e.sent,u=u.split("\n"),u)t.lyric[p].r=u[p];e.next=24;break;case 21:e.prev=21,e.t0=e["catch"](13),t.show_snackbar(t.i18n.error_failed_covert_romaji+":"+e.t0.message);case 24:if(!t.use_trans){e.next=29;break}return e.next=27,t.google_translate(o);case 27:if(_=e.sent,""!==_)for(m in _=_.split("\n"),_)t.lyric[m].t=_[m].trim().replace(/ /g," ");case 29:t.loading=!1,e.next=36;break;case 32:e.prev=32,e.t1=e["catch"](5),console.log(e.t1),"Network Error"===e.t1.message||void 0===e.t1.response?(t.show_snackbar(t.i18n.error_network),t.loading=!1):(t.show_snackbar(t.i18n.error+":"+e.t1.response.data.msg),t.loading=!1);case 36:case"end":return e.stop()}}),e,null,[[5,32],[13,21]])})))()},google_translate:function(t){var e=this;return Object(s["a"])(regeneratorRuntime.mark((function r(){var a,n,o,s,i;return regeneratorRuntime.wrap((function(r){while(1)switch(r.prev=r.next){case 0:return a={client:"gtx",dt:"t",sl:"ja",tl:e.trans_target_lang,q:t},r.prev=1,r.next=4,l.a.get("https://translate.googleapis.com/translate_a/single",{params:a});case 4:for(i in n=r.sent,o="",s=n.data[0],s)o+=s[i][0];return r.abrupt("return",o);case 11:r.prev=11,r.t0=r["catch"](1),e.show_snackbar(e.i18n.error_failed_translate+":"+r.t0.message);case 14:return r.abrupt("return","");case 15:case"end":return r.stop()}}),r,null,[[1,11]])})))()},ja_tts:function(t){var e=this;return Object(s["a"])(regeneratorRuntime.mark((function r(){var a,n,o,s,i,c;return regeneratorRuntime.wrap((function(r){while(1)switch(r.prev=r.next){case 0:if(a=e.lyric[t].s,-1===e.speaking&&""!==a){r.next=3;break}return r.abrupt("return");case 3:if(e.speaking=t,r.prev=4,n=new AudioContext,o=n.createGain(),o.gain.value=2,void 0!==e.tts_cache[a]){r.next=20;break}return e.tts_loading=!0,r.next=12,l.a.post("https://voicevox-skytnt.cloud.okteto.net/audio_query",null,{params:{speaker:4,text:a}});case 12:return s=r.sent.data,r.next=15,l.a.post("https://voicevox-skytnt.cloud.okteto.net/synthesis",s,{params:{speaker:4},responseType:"arraybuffer"});case 15:return i=r.sent.data,e.tts_loading=!1,r.next=19,n.decodeAudioData(i);case 19:e.tts_cache[a]=r.sent;case 20:return c=n.createBufferSource(),c.buffer=e.tts_cache[a],c.loop=!1,c.connect(o),o.connect(n.destination),r.next=27,new Promise((function(t){c.onended=function(){t()},c.start(0)}));case 27:r.next=32;break;case 29:r.prev=29,r.t0=r["catch"](4),e.show_snackbar(e.i18n.error+":"+r.t0.message);case 32:e.speaking=-1,e.tts_loading=!1;case 34:case"end":return r.stop()}}),r,null,[[4,29]])})))()},copy_lyric:function(t){var e="";for(var r in this.lyric)e+=this.lyric[r][t]+"\n";e=e.trim(),this.copy(e)},copy:function(t){var e=this;return Object(s["a"])(regeneratorRuntime.mark((function r(){var a,n;return regeneratorRuntime.wrap((function(r){while(1)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,navigator.clipboard.writeText(t);case 3:e.show_snackbar(e.i18n.copy_successful),r.next=18;break;case 6:r.prev=6,r.t0=r["catch"](0),a=document.createElement("textarea"),a.style.position="fixed",a.style.top="-10000px",a.style.zIndex="-999",document.body.appendChild(a),console.log("input",a),a.value=t,a.focus(),a.select();try{n=document.execCommand("copy"),n&&"unsuccessful"!==n?e.show_snackbar(e.i18n.copy_successful):e.show_snackbar(e.i18n.error_copy)}catch(o){e.show_snackbar(e.i18n.error_copy)}finally{document.body.removeChild(a)}case 18:case"end":return r.stop()}}),r,null,[[0,6]])})))()},show_snackbar:function(t){this.snackbar=!0,this.snackbar_msg=t}}},m=_,d=r("2877"),h=r("6544"),g=r.n(h),f=r("7496"),v=r("40dc"),b=r("8336"),y=r("ac7c"),k=r("a523"),x=r("0789"),w=r("553a"),j=r("132d"),C=r("f6c4"),S=r("490a"),T=r("0fd9"),O=r("b974"),V=r("1f4f"),R=r("2db4"),P=r("2fa4"),z=r("a844"),E=r("2a7f"),A=Object(d["a"])(m,n,o,!1,null,null,null),N=A.exports;g()(A,{VApp:f["a"],VAppBar:v["a"],VBtn:b["a"],VCheckbox:y["a"],VContainer:k["a"],VExpandTransition:x["a"],VFooter:w["a"],VIcon:j["a"],VMain:C["a"],VProgressCircular:S["a"],VRow:T["a"],VScrollXTransition:x["d"],VSelect:O["a"],VSimpleTable:V["a"],VSnackbar:R["a"],VSpacer:P["a"],VTextarea:z["a"],VToolbarTitle:E["a"]});var M=r("f309");a["a"].use(M["a"]);var B=new M["a"]({}),F=r("8c4f");a["a"].use(F["a"]);var G=[],L=new F["a"]({routes:G}),$=L;a["a"].config.productionTip=!1,new a["a"]({vuetify:B,router:$,render:function(t){return t(N)}}).$mount("#app")}});
|
|
|
|
frontend/dist/js/chunk-vendors.799a3db0.js
DELETED
The diff for this file is too large to render.
See raw diff
|
|
frontend/dist/js/chunk-vendors.f5ab6a81.js
ADDED
The diff for this file is too large to render.
See raw diff
|
|
frontend/package.json
CHANGED
@@ -9,9 +9,6 @@
|
|
9 |
},
|
10 |
"dependencies": {
|
11 |
"core-js": "^3.6.5",
|
12 |
-
"kod-cloud-web-deploy": "^1.0.2",
|
13 |
-
"kuroshiro": "^1.2.0",
|
14 |
-
"kuroshiro-analyzer-kuromoji": "^1.1.0",
|
15 |
"vue": "^2.6.11",
|
16 |
"vue-router": "^3.2.0",
|
17 |
"vuetify": "^2.6.0"
|
|
|
9 |
},
|
10 |
"dependencies": {
|
11 |
"core-js": "^3.6.5",
|
|
|
|
|
|
|
12 |
"vue": "^2.6.11",
|
13 |
"vue-router": "^3.2.0",
|
14 |
"vuetify": "^2.6.0"
|
frontend/public/dict/base.datgz
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:0803327762e1c93ca731e4319ab8343340f2806bb84941207782cde9d2d5a8eb
|
3 |
-
size 3956825
|
|
|
|
|
|
|
|
frontend/public/dict/cc.datgz
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:02b7631be0d4de3a1a75cd9f9cc51536e4f94c9e6b389b813e06ba0f6e7de765
|
3 |
-
size 1692067
|
|
|
|
|
|
|
|
frontend/public/dict/check.datgz
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:193ae0035fff6fe812b58d9ee730e7a7d7ee601d918481ce51075c58114f6cc9
|
3 |
-
size 3111633
|
|
|
|
|
|
|
|
frontend/public/dict/tid.datgz
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:d43d831cb6fb0f0a411739cd287a6d5e998e121a8daca614df14a81a0dcac586
|
3 |
-
size 1605820
|
|
|
|
|
|
|
|
frontend/public/dict/tid_map.datgz
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:33efd5ffd87a70f669add093fa39dee44341d58f940844ef107c8fd98bb795b2
|
3 |
-
size 1485576
|
|
|
|
|
|
|
|
frontend/public/dict/tid_pos.datgz
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:60dbfc99a6ab993f30c5dab648bec6ad7f9aaefa5c14e1843837d95e509f8895
|
3 |
-
size 5916009
|
|
|
|
|
|
|
|
frontend/public/dict/unk.datgz
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:f7f991cdeb9bfd3e9c0e4577cc50ee0815a11c508cccd444a9d3ab3c81521100
|
3 |
-
size 10512
|
|
|
|
|
|
|
|
frontend/public/dict/unk_char.datgz
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:9a8e86fd9aff32d323fbb59f5a7006f05927a11f8173c90712cc56293aeb3225
|
3 |
-
size 306
|
|
|
|
|
|
|
|
frontend/public/dict/unk_compat.datgz
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:50f60aa29bc2e86c2903ab8c825bb6fa604d2b294d96941c1d3924259791899d
|
3 |
-
size 338
|
|
|
|
|
|
|
|
frontend/public/dict/unk_invoke.datgz
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:6b210889548457c3006913afd12c8b525562255f2709e404604be9614a25e94c
|
3 |
-
size 1140
|
|
|
|
|
|
|
|
frontend/public/dict/unk_map.datgz
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:6df12460e5477230bb6fd9641def918b699fc0a8868016b6c9f794488630509b
|
3 |
-
size 1190
|
|
|
|
|
|
|
|
frontend/public/dict/unk_pos.datgz
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:5b183a29f281acc7e0542beca47b83f7985047c0a2d27e78a66f32276be5ad11
|
3 |
-
size 10540
|
|
|
|
|
|
|
|
frontend/public/font/vuetify.min.css
DELETED
The diff for this file is too large to render.
See raw diff
|
|
frontend/src/App.vue
CHANGED
@@ -8,13 +8,7 @@
|
|
8 |
<v-btn href="https://fab.moe" icon><v-icon>mdi-home</v-icon></v-btn>
|
9 |
</v-app-bar>
|
10 |
<v-main>
|
11 |
-
<v-
|
12 |
-
<div class="py-2 d-flex flex-column justify-center align-center" style="height:100%;">
|
13 |
-
<v-progress-circular color="blue" indeterminate></v-progress-circular>
|
14 |
-
<label class="py-4 text">{{i18n.loading}}</label>
|
15 |
-
</div>
|
16 |
-
</v-container>
|
17 |
-
<v-row v-if="!loading_kuroshiro" class="mx-3">
|
18 |
<div class="col-12 offset-0 col-sm-8 offset-sm-2 col-md-8 offset-md-2 col-lg-6 offset-lg-3 col-xl-6 offset-xl-3 mt-8">
|
19 |
<v-textarea
|
20 |
v-model="prompt_title"
|
@@ -108,8 +102,6 @@
|
|
108 |
</style>
|
109 |
<script>
|
110 |
import axios from 'axios'
|
111 |
-
import Kuroshiro from "kuroshiro";
|
112 |
-
import KuromojiAnalyzer from "kuroshiro-analyzer-kuromoji";
|
113 |
|
114 |
if (!String.prototype.trim) {
|
115 |
String.prototype.trim = function () {
|
@@ -137,11 +129,10 @@ export default {
|
|
137 |
trans_target_lang:"zh-CN",
|
138 |
show_romaji:false,
|
139 |
show_type:0,
|
140 |
-
romaji_systems:["
|
141 |
romaji_system:"hepburn",
|
142 |
prompt_title:"桜",
|
143 |
prompt_text:"",
|
144 |
-
loading_kuroshiro:true,
|
145 |
loading:false,
|
146 |
lyric:[],
|
147 |
tts_cache:{},//tts缓存
|
@@ -150,8 +141,7 @@ export default {
|
|
150 |
speaking:-1,//正在tts的行数
|
151 |
hover:-1,//鼠标悬停的行数
|
152 |
snackbar:false,
|
153 |
-
snackbar_msg:""
|
154 |
-
kuroshiro: new Kuroshiro()
|
155 |
}),
|
156 |
mounted() {
|
157 |
this.locale_name = (navigator.language ||navigator.userLanguage)==="zh-CN"?"Chinese":"English"
|
@@ -220,21 +210,10 @@ export default {
|
|
220 |
this.i18n = langs[locale];
|
221 |
},
|
222 |
async loads(){
|
223 |
-
await this.load_kuroshiro();
|
224 |
if(!isMobile()){
|
225 |
eval((await axios.get('https://l2d.fab.moe/js/autoload.js')).data);
|
226 |
}
|
227 |
},
|
228 |
-
async load_kuroshiro(){
|
229 |
-
try {
|
230 |
-
await this.kuroshiro.init(new KuromojiAnalyzer({dictPath:"dict/"}));
|
231 |
-
}catch (e) {
|
232 |
-
this.show_snackbar(this.i18n.error_failed_load_kuromoji+":"+e.message);
|
233 |
-
console.log(e);
|
234 |
-
}
|
235 |
-
this.loading_kuroshiro=false;
|
236 |
-
console.log("kuroshiro loaded");
|
237 |
-
},
|
238 |
async do_gen(){
|
239 |
let prompt_title = this.prompt_title.trim();
|
240 |
let prompt_text = this.prompt_text.trim();
|
@@ -254,7 +233,7 @@ export default {
|
|
254 |
this.lyric[0].is_lyric = false; //title
|
255 |
|
256 |
try {
|
257 |
-
let romajis = await
|
258 |
romajis = romajis.split('\n')
|
259 |
for (let i in romajis) {
|
260 |
this.lyric[i].r = romajis[i]
|
|
|
8 |
<v-btn href="https://fab.moe" icon><v-icon>mdi-home</v-icon></v-btn>
|
9 |
</v-app-bar>
|
10 |
<v-main>
|
11 |
+
<v-row class="mx-3">
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
<div class="col-12 offset-0 col-sm-8 offset-sm-2 col-md-8 offset-md-2 col-lg-6 offset-lg-3 col-xl-6 offset-xl-3 mt-8">
|
13 |
<v-textarea
|
14 |
v-model="prompt_title"
|
|
|
102 |
</style>
|
103 |
<script>
|
104 |
import axios from 'axios'
|
|
|
|
|
105 |
|
106 |
if (!String.prototype.trim) {
|
107 |
String.prototype.trim = function () {
|
|
|
129 |
trans_target_lang:"zh-CN",
|
130 |
show_romaji:false,
|
131 |
show_type:0,
|
132 |
+
romaji_systems:["hepburn", "kunrei", "nippon"],
|
133 |
romaji_system:"hepburn",
|
134 |
prompt_title:"桜",
|
135 |
prompt_text:"",
|
|
|
136 |
loading:false,
|
137 |
lyric:[],
|
138 |
tts_cache:{},//tts缓存
|
|
|
141 |
speaking:-1,//正在tts的行数
|
142 |
hover:-1,//鼠标悬停的行数
|
143 |
snackbar:false,
|
144 |
+
snackbar_msg:""
|
|
|
145 |
}),
|
146 |
mounted() {
|
147 |
this.locale_name = (navigator.language ||navigator.userLanguage)==="zh-CN"?"Chinese":"English"
|
|
|
210 |
this.i18n = langs[locale];
|
211 |
},
|
212 |
async loads(){
|
|
|
213 |
if(!isMobile()){
|
214 |
eval((await axios.get('https://l2d.fab.moe/js/autoload.js')).data);
|
215 |
}
|
216 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
217 |
async do_gen(){
|
218 |
let prompt_title = this.prompt_title.trim();
|
219 |
let prompt_text = this.prompt_text.trim();
|
|
|
233 |
this.lyric[0].is_lyric = false; //title
|
234 |
|
235 |
try {
|
236 |
+
let romajis = (await axios.post("romaji",{system:this.romaji_system, text:gen_text})).data.romaji
|
237 |
romajis = romajis.split('\n')
|
238 |
for (let i in romajis) {
|
239 |
this.lyric[i].r = romajis[i]
|
frontend/yarn.lock
CHANGED
@@ -895,7 +895,7 @@
|
|
895 |
"@babel/types" "^7.4.4"
|
896 |
esutils "^2.0.2"
|
897 |
|
898 |
-
"@babel/runtime@^7.11.0", "@babel/runtime@^7.
|
899 |
version "7.17.9"
|
900 |
resolved "https://registry.npmmirror.com/@babel/runtime/-/runtime-7.17.9.tgz#d19fbf802d01a8cb6cf053a64e472d42c434ba72"
|
901 |
integrity sha512-lSiBBvodq29uShpWGNbgFdKYNiFDo5/HIYsaCEY9ff4sb10x9jizo2+pRrSyF4jKZCXqgzuqBOQKbUm90gQwJg==
|
@@ -1778,35 +1778,6 @@ arch@^2.1.1:
|
|
1778 |
resolved "https://registry.npmmirror.com/arch/-/arch-2.2.0.tgz#1bc47818f305764f23ab3306b0bfc086c5a29d11"
|
1779 |
integrity sha512-Of/R0wqp83cgHozfIYLbBMnej79U/SVGOOyuB3VVFv1NRM/PSFMK12x9KVtiYzJqmnU5WR2qp0Z5rHb7sWGnFQ==
|
1780 |
|
1781 |
-
archiver-utils@^2.1.0:
|
1782 |
-
version "2.1.0"
|
1783 |
-
resolved "https://registry.npmjs.org/archiver-utils/-/archiver-utils-2.1.0.tgz#e8a460e94b693c3e3da182a098ca6285ba9249e2"
|
1784 |
-
integrity sha512-bEL/yUb/fNNiNTuUz979Z0Yg5L+LzLxGJz8x79lYmR54fmTIb6ob/hNQgkQnIUDWIFjZVQwl9Xs356I6BAMHfw==
|
1785 |
-
dependencies:
|
1786 |
-
glob "^7.1.4"
|
1787 |
-
graceful-fs "^4.2.0"
|
1788 |
-
lazystream "^1.0.0"
|
1789 |
-
lodash.defaults "^4.2.0"
|
1790 |
-
lodash.difference "^4.5.0"
|
1791 |
-
lodash.flatten "^4.4.0"
|
1792 |
-
lodash.isplainobject "^4.0.6"
|
1793 |
-
lodash.union "^4.6.0"
|
1794 |
-
normalize-path "^3.0.0"
|
1795 |
-
readable-stream "^2.0.0"
|
1796 |
-
|
1797 |
-
archiver@^5.1.0:
|
1798 |
-
version "5.3.1"
|
1799 |
-
resolved "https://registry.npmjs.org/archiver/-/archiver-5.3.1.tgz#21e92811d6f09ecfce649fbefefe8c79e57cbbb6"
|
1800 |
-
integrity sha512-8KyabkmbYrH+9ibcTScQ1xCJC/CGcugdVIwB+53f5sZziXgwUh3iXlAlANMxcZyDEfTHMe6+Z5FofV8nopXP7w==
|
1801 |
-
dependencies:
|
1802 |
-
archiver-utils "^2.1.0"
|
1803 |
-
async "^3.2.3"
|
1804 |
-
buffer-crc32 "^0.2.1"
|
1805 |
-
readable-stream "^3.6.0"
|
1806 |
-
readdir-glob "^1.0.0"
|
1807 |
-
tar-stream "^2.2.0"
|
1808 |
-
zip-stream "^4.1.0"
|
1809 |
-
|
1810 |
argparse@^1.0.7:
|
1811 |
version "1.0.10"
|
1812 |
resolved "https://registry.npmmirror.com/argparse/-/argparse-1.0.10.tgz#bcd6791ea5ae09725e17e5ad988134cd40b3d911"
|
@@ -1906,18 +1877,13 @@ async-limiter@~1.0.0:
|
|
1906 |
resolved "https://registry.npmmirror.com/async-limiter/-/async-limiter-1.0.1.tgz#dd379e94f0db8310b08291f9d64c3209766617fd"
|
1907 |
integrity sha512-csOlWGAcRFJaI6m+F2WKdnMKr4HhdhFVBk0H/QbJFMCr+uO2kwohwXQPxw/9OCxp05r5ghVBFSyioixx3gfkNQ==
|
1908 |
|
1909 |
-
async@^2.
|
1910 |
version "2.6.4"
|
1911 |
resolved "https://registry.npmmirror.com/async/-/async-2.6.4.tgz#706b7ff6084664cd7eae713f6f965433b5504221"
|
1912 |
integrity sha512-mzo5dfJYwAn29PeiJ0zvwTo04zj8HDJj0Mn8TD7sno7q12prdbnasKJHhkm2c1LgrhlJ0teaea8860oxi51mGA==
|
1913 |
dependencies:
|
1914 |
lodash "^4.17.14"
|
1915 |
|
1916 |
-
async@^3.2.3:
|
1917 |
-
version "3.2.3"
|
1918 |
-
resolved "https://registry.npmjs.org/async/-/async-3.2.3.tgz#ac53dafd3f4720ee9e8a160628f18ea91df196c9"
|
1919 |
-
integrity sha512-spZRyzKL5l5BZQrr/6m/SqFdBN0q3OCI0f9rjfBzCMBIP4p75P620rR3gTmaksNOhmzgdxcaxdNfMy6anrbM0g==
|
1920 |
-
|
1921 |
asynckit@^0.4.0:
|
1922 |
version "0.4.0"
|
1923 |
resolved "https://registry.npmmirror.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79"
|
@@ -1959,13 +1925,6 @@ axios@^0.18.0:
|
|
1959 |
follow-redirects "1.5.10"
|
1960 |
is-buffer "^2.0.2"
|
1961 |
|
1962 |
-
axios@^0.21.1:
|
1963 |
-
version "0.21.4"
|
1964 |
-
resolved "https://registry.npmjs.org/axios/-/axios-0.21.4.tgz#c67b90dc0568e5c1cf2b0b858c43ba28e2eda575"
|
1965 |
-
integrity sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==
|
1966 |
-
dependencies:
|
1967 |
-
follow-redirects "^1.14.0"
|
1968 |
-
|
1969 |
babel-eslint@^10.1.0:
|
1970 |
version "10.1.0"
|
1971 |
resolved "https://registry.npmmirror.com/babel-eslint/-/babel-eslint-10.1.0.tgz#6968e568a910b78fb3779cdd8b6ac2f479943232"
|
@@ -2024,7 +1983,7 @@ balanced-match@^1.0.0:
|
|
2024 |
resolved "https://registry.npmmirror.com/balanced-match/-/balanced-match-1.0.2.tgz#e83e3a7e3f300b34cb9d87f615fa0cbf357690ee"
|
2025 |
integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==
|
2026 |
|
2027 |
-
base64-js@^1.0.2
|
2028 |
version "1.5.1"
|
2029 |
resolved "https://registry.npmmirror.com/base64-js/-/base64-js-1.5.1.tgz#1b1b440160a5bf7ad40b650f095963481903930a"
|
2030 |
integrity sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==
|
@@ -2091,15 +2050,6 @@ bindings@^1.5.0:
|
|
2091 |
dependencies:
|
2092 |
file-uri-to-path "1.0.0"
|
2093 |
|
2094 |
-
bl@^4.0.3:
|
2095 |
-
version "4.1.0"
|
2096 |
-
resolved "https://registry.npmjs.org/bl/-/bl-4.1.0.tgz#451535264182bec2fbbc83a62ab98cf11d9f7b3a"
|
2097 |
-
integrity sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==
|
2098 |
-
dependencies:
|
2099 |
-
buffer "^5.5.0"
|
2100 |
-
inherits "^2.0.4"
|
2101 |
-
readable-stream "^3.4.0"
|
2102 |
-
|
2103 |
bluebird@^3.1.1, bluebird@^3.5.5:
|
2104 |
version "3.7.2"
|
2105 |
resolved "https://registry.npmmirror.com/bluebird/-/bluebird-3.7.2.tgz#9f229c15be272454ffa973ace0dbee79a1b0c36f"
|
@@ -2258,11 +2208,6 @@ browserslist@^4.0.0, browserslist@^4.12.0, browserslist@^4.20.2, browserslist@^4
|
|
2258 |
node-releases "^2.0.3"
|
2259 |
picocolors "^1.0.0"
|
2260 |
|
2261 |
-
buffer-crc32@^0.2.1, buffer-crc32@^0.2.13:
|
2262 |
-
version "0.2.13"
|
2263 |
-
resolved "https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.13.tgz#0d333e3f00eac50aa1454abd30ef8c2a5d9a7242"
|
2264 |
-
integrity sha1-DTM+PwDqxQqhRUq9MO+MKl2ackI=
|
2265 |
-
|
2266 |
buffer-from@^1.0.0:
|
2267 |
version "1.1.2"
|
2268 |
resolved "https://registry.npmmirror.com/buffer-from/-/buffer-from-1.1.2.tgz#2b146a6fd72e80b4f55d255f35ed59a3a9a41bd5"
|
@@ -2292,14 +2237,6 @@ buffer@^4.3.0:
|
|
2292 |
ieee754 "^1.1.4"
|
2293 |
isarray "^1.0.0"
|
2294 |
|
2295 |
-
buffer@^5.5.0:
|
2296 |
-
version "5.7.1"
|
2297 |
-
resolved "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz#ba62e7c13133053582197160851a8f648e99eed0"
|
2298 |
-
integrity sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==
|
2299 |
-
dependencies:
|
2300 |
-
base64-js "^1.3.1"
|
2301 |
-
ieee754 "^1.1.13"
|
2302 |
-
|
2303 |
builtin-status-codes@^3.0.0:
|
2304 |
version "3.0.0"
|
2305 |
resolved "https://registry.npmmirror.com/builtin-status-codes/-/builtin-status-codes-3.0.0.tgz#85982878e21b98e1c66425e03d0174788f569ee8"
|
@@ -2696,7 +2633,7 @@ color@^3.0.0:
|
|
2696 |
color-convert "^1.9.3"
|
2697 |
color-string "^1.6.0"
|
2698 |
|
2699 |
-
combined-stream@^1.0.6, combined-stream
|
2700 |
version "1.0.8"
|
2701 |
resolved "https://registry.npmmirror.com/combined-stream/-/combined-stream-1.0.8.tgz#c3d45a8b34fd730631a110a8a2520682b31d5a7f"
|
2702 |
integrity sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==
|
@@ -2713,11 +2650,6 @@ commander@^2.18.0, commander@^2.20.0:
|
|
2713 |
resolved "https://registry.npmmirror.com/commander/-/commander-2.20.3.tgz#fd485e84c03eb4881c20722ba48035e8531aeb33"
|
2714 |
integrity sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==
|
2715 |
|
2716 |
-
commander@^6.2.1:
|
2717 |
-
version "6.2.1"
|
2718 |
-
resolved "https://registry.npmjs.org/commander/-/commander-6.2.1.tgz#0792eb682dfbc325999bb2b84fddddba110ac73c"
|
2719 |
-
integrity sha512-U7VdrJFnJgo4xjrHpTzu0yrHPGImdsmD95ZlgYSEajAn2JKzDhDTPG9kBTefmObL2w/ngeZnilk+OV9CG3d7UA==
|
2720 |
-
|
2721 |
commander@~2.19.0:
|
2722 |
version "2.19.0"
|
2723 |
resolved "https://registry.npmmirror.com/commander/-/commander-2.19.0.tgz#f6198aa84e5b83c46054b94ddedbfed5ee9ff12a"
|
@@ -2733,16 +2665,6 @@ component-emitter@^1.2.1:
|
|
2733 |
resolved "https://registry.npmmirror.com/component-emitter/-/component-emitter-1.3.0.tgz#16e4070fba8ae29b679f2215853ee181ab2eabc0"
|
2734 |
integrity sha512-Rd3se6QB+sO1TwqZjscQrurpEPIfO0/yYnSin6Q/rD3mOutHvUrCAhJub3r90uNb+SESBuE0QYoB90YdfatsRg==
|
2735 |
|
2736 |
-
compress-commons@^4.1.0:
|
2737 |
-
version "4.1.1"
|
2738 |
-
resolved "https://registry.npmjs.org/compress-commons/-/compress-commons-4.1.1.tgz#df2a09a7ed17447642bad10a85cc9a19e5c42a7d"
|
2739 |
-
integrity sha512-QLdDLCKNV2dtoTorqgxngQCMA+gWXkM/Nwu7FpeBhk/RdkzimqC3jueb/FDmaZeXh+uby1jkBqE3xArsLBE5wQ==
|
2740 |
-
dependencies:
|
2741 |
-
buffer-crc32 "^0.2.13"
|
2742 |
-
crc32-stream "^4.0.2"
|
2743 |
-
normalize-path "^3.0.0"
|
2744 |
-
readable-stream "^3.6.0"
|
2745 |
-
|
2746 |
compressible@~2.0.16:
|
2747 |
version "2.0.18"
|
2748 |
resolved "https://registry.npmmirror.com/compressible/-/compressible-2.0.18.tgz#af53cca6b070d4c3c0750fbd77286a6d7cc46fba"
|
@@ -2897,19 +2819,6 @@ cosmiconfig@^5.0.0:
|
|
2897 |
js-yaml "^3.13.1"
|
2898 |
parse-json "^4.0.0"
|
2899 |
|
2900 |
-
crc-32@^1.2.0:
|
2901 |
-
version "1.2.2"
|
2902 |
-
resolved "https://registry.npmjs.org/crc-32/-/crc-32-1.2.2.tgz#3cad35a934b8bf71f25ca524b6da51fb7eace2ff"
|
2903 |
-
integrity sha512-ROmzCKrTnOwybPcJApAA6WBWij23HVfGVNKqqrZpuyZOHqK2CwHSvpGuyt/UNNvaIjEd8X5IFGp4Mh+Ie1IHJQ==
|
2904 |
-
|
2905 |
-
crc32-stream@^4.0.2:
|
2906 |
-
version "4.0.2"
|
2907 |
-
resolved "https://registry.npmjs.org/crc32-stream/-/crc32-stream-4.0.2.tgz#c922ad22b38395abe9d3870f02fa8134ed709007"
|
2908 |
-
integrity sha512-DxFZ/Hk473b/muq1VJ///PMNLj0ZMnzye9thBpmjpJKCc5eMgB95aK8zCGrGfQ90cWo561Te6HK9D+j4KPdM6w==
|
2909 |
-
dependencies:
|
2910 |
-
crc-32 "^1.2.0"
|
2911 |
-
readable-stream "^3.4.0"
|
2912 |
-
|
2913 |
create-ecdh@^4.0.0:
|
2914 |
version "4.0.4"
|
2915 |
resolved "https://registry.npmmirror.com/create-ecdh/-/create-ecdh-4.0.4.tgz#d6e7f4bffa66736085a0762fd3a632684dabcc4e"
|
@@ -3456,11 +3365,6 @@ dotenv@^8.2.0:
|
|
3456 |
resolved "https://registry.npmmirror.com/dotenv/-/dotenv-8.6.0.tgz#061af664d19f7f4d8fc6e4ff9b584ce237adcb8b"
|
3457 |
integrity sha512-IrPdXQsk2BbzvCBGBOTmmSH5SodmqZNt4ERAZDmW4CT+tL8VtvinqywuANaFu4bOMWki16nqf0e4oC0QIaDr/g==
|
3458 |
|
3459 |
-
doublearray@0.0.2:
|
3460 |
-
version "0.0.2"
|
3461 |
-
resolved "https://registry.npmjs.org/doublearray/-/doublearray-0.0.2.tgz#63186fe8d34413276d3621f6aa0ec5f79e227ef9"
|
3462 |
-
integrity sha1-Yxhv6NNEEydtNiH2qg7F954ifvk=
|
3463 |
-
|
3464 |
duplexer@^0.1.1:
|
3465 |
version "0.1.2"
|
3466 |
resolved "https://registry.npmmirror.com/duplexer/-/duplexer-0.1.2.tgz#3abe43aef3835f8ae077d136ddce0f276b0400e6"
|
@@ -3542,7 +3446,7 @@ encodeurl@~1.0.2:
|
|
3542 |
resolved "https://registry.npmmirror.com/encodeurl/-/encodeurl-1.0.2.tgz#ad3ff4c86ec2d029322f5a02c3a9a606c95b3f59"
|
3543 |
integrity sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==
|
3544 |
|
3545 |
-
end-of-stream@^1.0.0, end-of-stream@^1.1.0
|
3546 |
version "1.4.4"
|
3547 |
resolved "https://registry.npmmirror.com/end-of-stream/-/end-of-stream-1.4.4.tgz#5ae64a5f45057baf3626ec14da0ca5e4b2431eb0"
|
3548 |
integrity sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==
|
@@ -4139,7 +4043,7 @@ follow-redirects@1.5.10:
|
|
4139 |
dependencies:
|
4140 |
debug "=3.1.0"
|
4141 |
|
4142 |
-
follow-redirects@^1.0.0
|
4143 |
version "1.15.0"
|
4144 |
resolved "https://registry.npmmirror.com/follow-redirects/-/follow-redirects-1.15.0.tgz#06441868281c86d0dda4ad8bdaead2d02dca89d4"
|
4145 |
integrity sha512-aExlJShTV4qOUOL7yF1U5tvLCB0xQuudbf6toyYA0E/acBNw71mvjFTnLaRp50aQaYocMR0a/RMMBIHeZnGyjQ==
|
@@ -4154,15 +4058,6 @@ forever-agent@~0.6.1:
|
|
4154 |
resolved "https://registry.npmmirror.com/forever-agent/-/forever-agent-0.6.1.tgz#fbc71f0c41adeb37f96c577ad1ed42d8fdacca91"
|
4155 |
integrity sha512-j0KLYPhm6zeac4lz3oJ3o65qvgQCcPubiyotZrXqEaG4hNagNYO8qdlUrX5vwqv9ohqeT/Z3j6+yW067yWWdUw==
|
4156 |
|
4157 |
-
form-data@^3.0.0:
|
4158 |
-
version "3.0.1"
|
4159 |
-
resolved "https://registry.npmjs.org/form-data/-/form-data-3.0.1.tgz#ebd53791b78356a99af9a300d4282c4d5eb9755f"
|
4160 |
-
integrity sha512-RHkBKtLWUVwd7SqRIvCZMEvAMoGUp0XU+seQiZejj0COz3RI3hWP4sCv3gZWWLjJTd7rGwcsF5eKZGii0r/hbg==
|
4161 |
-
dependencies:
|
4162 |
-
asynckit "^0.4.0"
|
4163 |
-
combined-stream "^1.0.8"
|
4164 |
-
mime-types "^2.1.12"
|
4165 |
-
|
4166 |
form-data@~2.3.2:
|
4167 |
version "2.3.3"
|
4168 |
resolved "https://registry.npmmirror.com/form-data/-/form-data-2.3.3.tgz#dcce52c05f644f298c6a7ab936bd724ceffbf3a6"
|
@@ -4197,11 +4092,6 @@ from2@^2.1.0:
|
|
4197 |
inherits "^2.0.1"
|
4198 |
readable-stream "^2.0.0"
|
4199 |
|
4200 |
-
fs-constants@^1.0.0:
|
4201 |
-
version "1.0.0"
|
4202 |
-
resolved "https://registry.npmjs.org/fs-constants/-/fs-constants-1.0.0.tgz#6be0de9be998ce16af8afc24497b9ee9b7ccd9ad"
|
4203 |
-
integrity sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==
|
4204 |
-
|
4205 |
fs-extra@^7.0.1:
|
4206 |
version "7.0.1"
|
4207 |
resolved "https://registry.npmmirror.com/fs-extra/-/fs-extra-7.0.1.tgz#4f189c44aa123b895f722804f55ea23eadc348e9"
|
@@ -4403,7 +4293,7 @@ globby@^9.2.0:
|
|
4403 |
pify "^4.0.1"
|
4404 |
slash "^2.0.0"
|
4405 |
|
4406 |
-
graceful-fs@^4.1.11, graceful-fs@^4.1.15, graceful-fs@^4.1.2, graceful-fs@^4.1.6
|
4407 |
version "4.2.10"
|
4408 |
resolved "https://registry.npmmirror.com/graceful-fs/-/graceful-fs-4.2.10.tgz#147d3a006da4ca3ce14728c7aefc287c367d7a6c"
|
4409 |
integrity sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==
|
@@ -4732,7 +4622,7 @@ icss-utils@^4.0.0, icss-utils@^4.1.1:
|
|
4732 |
dependencies:
|
4733 |
postcss "^7.0.14"
|
4734 |
|
4735 |
-
ieee754@^1.1.
|
4736 |
version "1.2.1"
|
4737 |
resolved "https://registry.npmmirror.com/ieee754/-/ieee754-1.2.1.tgz#8eb7a10a63fff25d15a57b001586d177d1b0d352"
|
4738 |
integrity sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==
|
@@ -5387,40 +5277,6 @@ klona@^2.0.4:
|
|
5387 |
resolved "https://registry.npmmirror.com/klona/-/klona-2.0.5.tgz#d166574d90076395d9963aa7a928fabb8d76afbc"
|
5388 |
integrity sha512-pJiBpiXMbt7dkzXe8Ghj/u4FfXOOa98fPW+bihOJ4SjnoijweJrNThJfd3ifXpXhREjpoF2mZVH1GfS9LV3kHQ==
|
5389 |
|
5390 |
-
kod-cloud-web-deploy@^1.0.2:
|
5391 |
-
version "1.0.2"
|
5392 |
-
resolved "https://registry.npmjs.org/kod-cloud-web-deploy/-/kod-cloud-web-deploy-1.0.2.tgz#9325730bafe17c966524379677a47b0b65731ccc"
|
5393 |
-
integrity sha512-9dOskkRDf8pPjYCDQtTjW2kjulplf8eaGiO5xWmvo/a6jQXYAJXaZzBYoUxcy8TDX0QuD6ApNdIDduxqB3ix2Q==
|
5394 |
-
dependencies:
|
5395 |
-
archiver "^5.1.0"
|
5396 |
-
axios "^0.21.1"
|
5397 |
-
commander "^6.2.1"
|
5398 |
-
form-data "^3.0.0"
|
5399 |
-
qs "^6.9.4"
|
5400 |
-
|
5401 |
-
kuromoji@^0.1.1:
|
5402 |
-
version "0.1.2"
|
5403 |
-
resolved "https://registry.npmjs.org/kuromoji/-/kuromoji-0.1.2.tgz#293f0d6706df006112137980588d5daac26d0790"
|
5404 |
-
integrity sha512-V0dUf+C2LpcPEXhoHLMAop/bOht16Dyr+mDiIE39yX3vqau7p80De/koFqpiTcL1zzdZlc3xuHZ8u5gjYRfFaQ==
|
5405 |
-
dependencies:
|
5406 |
-
async "^2.0.1"
|
5407 |
-
doublearray "0.0.2"
|
5408 |
-
zlibjs "^0.3.1"
|
5409 |
-
|
5410 |
-
kuroshiro-analyzer-kuromoji@^1.1.0:
|
5411 |
-
version "1.1.0"
|
5412 |
-
resolved "https://registry.npmjs.org/kuroshiro-analyzer-kuromoji/-/kuroshiro-analyzer-kuromoji-1.1.0.tgz#c4b1715d92896e02ccd89194d31910f8b1c109d2"
|
5413 |
-
integrity sha512-BSJFhpsQdPwfFLfjKxfLA9iL+/PC6LCR9vgwgb5Jc7jZwk9ilX8SAV6CwhAQZY611tiuhbB52ONYKDO8hgY1bA==
|
5414 |
-
dependencies:
|
5415 |
-
kuromoji "^0.1.1"
|
5416 |
-
|
5417 |
-
kuroshiro@^1.2.0:
|
5418 |
-
version "1.2.0"
|
5419 |
-
resolved "https://registry.npmjs.org/kuroshiro/-/kuroshiro-1.2.0.tgz#c393795b1959f776e37ceab2fa9e32a88a7e1dfa"
|
5420 |
-
integrity sha512-yBGCK9oDOY3LGZ/KXaN9m7ADcAuSczOR2FoMRYwHLUlis3/o/uxdMVROAjENFO0NQJgALhIdWxI/vIBVrMCk9w==
|
5421 |
-
dependencies:
|
5422 |
-
"@babel/runtime" "^7.14.0"
|
5423 |
-
|
5424 |
launch-editor-middleware@^2.2.1:
|
5425 |
version "2.3.0"
|
5426 |
resolved "https://registry.npmmirror.com/launch-editor-middleware/-/launch-editor-middleware-2.3.0.tgz#edd0ed45a46f5f1cf27540f93346b5de9e8c3be0"
|
@@ -5436,13 +5292,6 @@ launch-editor@^2.2.1, launch-editor@^2.3.0:
|
|
5436 |
picocolors "^1.0.0"
|
5437 |
shell-quote "^1.6.1"
|
5438 |
|
5439 |
-
lazystream@^1.0.0:
|
5440 |
-
version "1.0.1"
|
5441 |
-
resolved "https://registry.npmjs.org/lazystream/-/lazystream-1.0.1.tgz#494c831062f1f9408251ec44db1cba29242a2638"
|
5442 |
-
integrity sha512-b94GiNHQNy6JNTrt5w6zNyffMrNkXZb3KTkCZJb2V1xaEGCk093vkZ2jk3tpaeP33/OiXC+WvK9AxUebnf5nbw==
|
5443 |
-
dependencies:
|
5444 |
-
readable-stream "^2.0.5"
|
5445 |
-
|
5446 |
levn@^0.3.0, levn@~0.3.0:
|
5447 |
version "0.3.0"
|
5448 |
resolved "https://registry.npmmirror.com/levn/-/levn-0.3.0.tgz#3b09924edf9f083c0490fdd4c0bc4421e04764ee"
|
@@ -5517,31 +5366,11 @@ lodash.debounce@^4.0.8:
|
|
5517 |
resolved "https://registry.npmmirror.com/lodash.debounce/-/lodash.debounce-4.0.8.tgz#82d79bff30a67c4005ffd5e2515300ad9ca4d7af"
|
5518 |
integrity sha512-FT1yDzDYEoYWhnSGnpE/4Kj1fLZkDFyqRb7fNt6FdYOSxlUWAtp42Eh6Wb0rGIv/m9Bgo7x4GhQbm5Ys4SG5ow==
|
5519 |
|
5520 |
-
lodash.defaults@^4.2.0:
|
5521 |
-
version "4.2.0"
|
5522 |
-
resolved "https://registry.npmjs.org/lodash.defaults/-/lodash.defaults-4.2.0.tgz#d09178716ffea4dde9e5fb7b37f6f0802274580c"
|
5523 |
-
integrity sha1-0JF4cW/+pN3p5ft7N/bwgCJ0WAw=
|
5524 |
-
|
5525 |
lodash.defaultsdeep@^4.6.1:
|
5526 |
version "4.6.1"
|
5527 |
resolved "https://registry.npmmirror.com/lodash.defaultsdeep/-/lodash.defaultsdeep-4.6.1.tgz#512e9bd721d272d94e3d3a63653fa17516741ca6"
|
5528 |
integrity sha512-3j8wdDzYuWO3lM3Reg03MuQR957t287Rpcxp1njpEa8oDrikb+FwGdW3n+FELh/A6qib6yPit0j/pv9G/yeAqA==
|
5529 |
|
5530 |
-
lodash.difference@^4.5.0:
|
5531 |
-
version "4.5.0"
|
5532 |
-
resolved "https://registry.npmjs.org/lodash.difference/-/lodash.difference-4.5.0.tgz#9ccb4e505d486b91651345772885a2df27fd017c"
|
5533 |
-
integrity sha1-nMtOUF1Ia5FlE0V3KIWi3yf9AXw=
|
5534 |
-
|
5535 |
-
lodash.flatten@^4.4.0:
|
5536 |
-
version "4.4.0"
|
5537 |
-
resolved "https://registry.npmjs.org/lodash.flatten/-/lodash.flatten-4.4.0.tgz#f31c22225a9632d2bbf8e4addbef240aa765a61f"
|
5538 |
-
integrity sha1-8xwiIlqWMtK7+OSt2+8kCqdlph8=
|
5539 |
-
|
5540 |
-
lodash.isplainobject@^4.0.6:
|
5541 |
-
version "4.0.6"
|
5542 |
-
resolved "https://registry.npmjs.org/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz#7c526a52d89b45c45cc690b88163be0497f550cb"
|
5543 |
-
integrity sha1-fFJqUtibRcRcxpC4gWO+BJf1UMs=
|
5544 |
-
|
5545 |
lodash.kebabcase@^4.1.1:
|
5546 |
version "4.1.1"
|
5547 |
resolved "https://registry.npmmirror.com/lodash.kebabcase/-/lodash.kebabcase-4.1.1.tgz#8489b1cb0d29ff88195cceca448ff6d6cc295c36"
|
@@ -5562,11 +5391,6 @@ lodash.transform@^4.6.0:
|
|
5562 |
resolved "https://registry.npmmirror.com/lodash.transform/-/lodash.transform-4.6.0.tgz#12306422f63324aed8483d3f38332b5f670547a0"
|
5563 |
integrity sha512-LO37ZnhmBVx0GvOU/caQuipEh4GN82TcWv3yHlebGDgOxbxiwwzW5Pcx2AcvpIv2WmvmSMoC492yQFNhy/l/UQ==
|
5564 |
|
5565 |
-
lodash.union@^4.6.0:
|
5566 |
-
version "4.6.0"
|
5567 |
-
resolved "https://registry.npmjs.org/lodash.union/-/lodash.union-4.6.0.tgz#48bb5088409f16f1821666641c44dd1aaae3cd88"
|
5568 |
-
integrity sha1-SLtQiECfFvGCFmZkHETdGqrjzYg=
|
5569 |
-
|
5570 |
lodash.uniq@^4.5.0:
|
5571 |
version "4.5.0"
|
5572 |
resolved "https://registry.npmmirror.com/lodash.uniq/-/lodash.uniq-4.5.0.tgz#d0225373aeb652adc1bc82e4945339a842754773"
|
@@ -7010,7 +6834,7 @@ q@^1.1.2:
|
|
7010 |
resolved "https://registry.npmmirror.com/q/-/q-1.5.1.tgz#7e32f75b41381291d04611f1bf14109ac00651d7"
|
7011 |
integrity sha512-kV/CThkXo6xyFEZUugw/+pIOywXcDbFYgSct5cT3gqlbkBE1SJdwy6UQoZvodiWF/ckQLZyDE/Bu1M6gVu5lVw==
|
7012 |
|
7013 |
-
qs@6.10.3
|
7014 |
version "6.10.3"
|
7015 |
resolved "https://registry.npmmirror.com/qs/-/qs-6.10.3.tgz#d6cde1b2ffca87b5aa57889816c5f81535e22e8e"
|
7016 |
integrity sha512-wr7M2E0OFRfIfJZjKGieI8lBKb7fRCH4Fv5KNPEs7gJ8jadvotdsS08PzOKR7opXhZ/Xkjtt3WF9g38drmyRqQ==
|
@@ -7085,7 +6909,7 @@ read-pkg@^5.1.1:
|
|
7085 |
parse-json "^5.0.0"
|
7086 |
type-fest "^0.6.0"
|
7087 |
|
7088 |
-
"readable-stream@1 || 2", readable-stream@^2.0.0, readable-stream@^2.0.1, readable-stream@^2.0.2, readable-stream@^2.
|
7089 |
version "2.3.7"
|
7090 |
resolved "https://registry.npmmirror.com/readable-stream/-/readable-stream-2.3.7.tgz#1eca1cf711aef814c04f62252a36a62f6cb23b57"
|
7091 |
integrity sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==
|
@@ -7098,7 +6922,7 @@ read-pkg@^5.1.1:
|
|
7098 |
string_decoder "~1.1.1"
|
7099 |
util-deprecate "~1.0.1"
|
7100 |
|
7101 |
-
readable-stream@^3.0.6, readable-stream@^3.
|
7102 |
version "3.6.0"
|
7103 |
resolved "https://registry.npmmirror.com/readable-stream/-/readable-stream-3.6.0.tgz#337bbda3adc0706bd3e024426a286d4b4b2c9198"
|
7104 |
integrity sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==
|
@@ -7107,13 +6931,6 @@ readable-stream@^3.0.6, readable-stream@^3.1.1, readable-stream@^3.4.0, readable
|
|
7107 |
string_decoder "^1.1.1"
|
7108 |
util-deprecate "^1.0.1"
|
7109 |
|
7110 |
-
readdir-glob@^1.0.0:
|
7111 |
-
version "1.1.1"
|
7112 |
-
resolved "https://registry.npmjs.org/readdir-glob/-/readdir-glob-1.1.1.tgz#f0e10bb7bf7bfa7e0add8baffdc54c3f7dbee6c4"
|
7113 |
-
integrity sha512-91/k1EzZwDx6HbERR+zucygRFfiPl2zkIYZtv3Jjr6Mn7SkKcVct8aVO+sSRiGMc6fLf72du3d92/uY63YPdEA==
|
7114 |
-
dependencies:
|
7115 |
-
minimatch "^3.0.4"
|
7116 |
-
|
7117 |
readdirp@^2.2.1:
|
7118 |
version "2.2.1"
|
7119 |
resolved "https://registry.npmmirror.com/readdirp/-/readdirp-2.2.1.tgz#0e87622a3325aa33e892285caf8b4e846529a525"
|
@@ -8079,17 +7896,6 @@ tapable@^1.0.0, tapable@^1.1.3:
|
|
8079 |
resolved "https://registry.npmmirror.com/tapable/-/tapable-1.1.3.tgz#a1fccc06b58db61fd7a45da2da44f5f3a3e67ba2"
|
8080 |
integrity sha512-4WK/bYZmj8xLr+HUCODHGF1ZFzsYffasLUgEiMBY4fgtltdO6B4WJtlSbPaDTLpYTcGVwM2qLnFTICEcNxs3kA==
|
8081 |
|
8082 |
-
tar-stream@^2.2.0:
|
8083 |
-
version "2.2.0"
|
8084 |
-
resolved "https://registry.npmjs.org/tar-stream/-/tar-stream-2.2.0.tgz#acad84c284136b060dc3faa64474aa9aebd77287"
|
8085 |
-
integrity sha512-ujeqbceABgwMZxEJnk2HDY2DlnUZ+9oEcb1KzTVfYHio0UE6dG71n60d8D2I4qNvleWrrXpmjpt7vZeF1LnMZQ==
|
8086 |
-
dependencies:
|
8087 |
-
bl "^4.0.3"
|
8088 |
-
end-of-stream "^1.4.1"
|
8089 |
-
fs-constants "^1.0.0"
|
8090 |
-
inherits "^2.0.3"
|
8091 |
-
readable-stream "^3.1.1"
|
8092 |
-
|
8093 |
terser-webpack-plugin@^1.4.3, terser-webpack-plugin@^1.4.4:
|
8094 |
version "1.4.5"
|
8095 |
resolved "https://registry.npmmirror.com/terser-webpack-plugin/-/terser-webpack-plugin-1.4.5.tgz#a217aefaea330e734ffacb6120ec1fa312d6040b"
|
@@ -8991,17 +8797,3 @@ yorkie@^2.0.0:
|
|
8991 |
is-ci "^1.0.10"
|
8992 |
normalize-path "^1.0.0"
|
8993 |
strip-indent "^2.0.0"
|
8994 |
-
|
8995 |
-
zip-stream@^4.1.0:
|
8996 |
-
version "4.1.0"
|
8997 |
-
resolved "https://registry.npmjs.org/zip-stream/-/zip-stream-4.1.0.tgz#51dd326571544e36aa3f756430b313576dc8fc79"
|
8998 |
-
integrity sha512-zshzwQW7gG7hjpBlgeQP9RuyPGNxvJdzR8SUM3QhxCnLjWN2E7j3dOvpeDcQoETfHx0urRS7EtmVToql7YpU4A==
|
8999 |
-
dependencies:
|
9000 |
-
archiver-utils "^2.1.0"
|
9001 |
-
compress-commons "^4.1.0"
|
9002 |
-
readable-stream "^3.6.0"
|
9003 |
-
|
9004 |
-
zlibjs@^0.3.1:
|
9005 |
-
version "0.3.1"
|
9006 |
-
resolved "https://registry.npmjs.org/zlibjs/-/zlibjs-0.3.1.tgz#50197edb28a1c42ca659cc8b4e6a9ddd6d444554"
|
9007 |
-
integrity sha1-UBl+2yihxCymWcyLTmqd3W1ERVQ=
|
|
|
895 |
"@babel/types" "^7.4.4"
|
896 |
esutils "^2.0.2"
|
897 |
|
898 |
+
"@babel/runtime@^7.11.0", "@babel/runtime@^7.8.4":
|
899 |
version "7.17.9"
|
900 |
resolved "https://registry.npmmirror.com/@babel/runtime/-/runtime-7.17.9.tgz#d19fbf802d01a8cb6cf053a64e472d42c434ba72"
|
901 |
integrity sha512-lSiBBvodq29uShpWGNbgFdKYNiFDo5/HIYsaCEY9ff4sb10x9jizo2+pRrSyF4jKZCXqgzuqBOQKbUm90gQwJg==
|
|
|
1778 |
resolved "https://registry.npmmirror.com/arch/-/arch-2.2.0.tgz#1bc47818f305764f23ab3306b0bfc086c5a29d11"
|
1779 |
integrity sha512-Of/R0wqp83cgHozfIYLbBMnej79U/SVGOOyuB3VVFv1NRM/PSFMK12x9KVtiYzJqmnU5WR2qp0Z5rHb7sWGnFQ==
|
1780 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1781 |
argparse@^1.0.7:
|
1782 |
version "1.0.10"
|
1783 |
resolved "https://registry.npmmirror.com/argparse/-/argparse-1.0.10.tgz#bcd6791ea5ae09725e17e5ad988134cd40b3d911"
|
|
|
1877 |
resolved "https://registry.npmmirror.com/async-limiter/-/async-limiter-1.0.1.tgz#dd379e94f0db8310b08291f9d64c3209766617fd"
|
1878 |
integrity sha512-csOlWGAcRFJaI6m+F2WKdnMKr4HhdhFVBk0H/QbJFMCr+uO2kwohwXQPxw/9OCxp05r5ghVBFSyioixx3gfkNQ==
|
1879 |
|
1880 |
+
async@^2.6.2:
|
1881 |
version "2.6.4"
|
1882 |
resolved "https://registry.npmmirror.com/async/-/async-2.6.4.tgz#706b7ff6084664cd7eae713f6f965433b5504221"
|
1883 |
integrity sha512-mzo5dfJYwAn29PeiJ0zvwTo04zj8HDJj0Mn8TD7sno7q12prdbnasKJHhkm2c1LgrhlJ0teaea8860oxi51mGA==
|
1884 |
dependencies:
|
1885 |
lodash "^4.17.14"
|
1886 |
|
|
|
|
|
|
|
|
|
|
|
1887 |
asynckit@^0.4.0:
|
1888 |
version "0.4.0"
|
1889 |
resolved "https://registry.npmmirror.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79"
|
|
|
1925 |
follow-redirects "1.5.10"
|
1926 |
is-buffer "^2.0.2"
|
1927 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1928 |
babel-eslint@^10.1.0:
|
1929 |
version "10.1.0"
|
1930 |
resolved "https://registry.npmmirror.com/babel-eslint/-/babel-eslint-10.1.0.tgz#6968e568a910b78fb3779cdd8b6ac2f479943232"
|
|
|
1983 |
resolved "https://registry.npmmirror.com/balanced-match/-/balanced-match-1.0.2.tgz#e83e3a7e3f300b34cb9d87f615fa0cbf357690ee"
|
1984 |
integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==
|
1985 |
|
1986 |
+
base64-js@^1.0.2:
|
1987 |
version "1.5.1"
|
1988 |
resolved "https://registry.npmmirror.com/base64-js/-/base64-js-1.5.1.tgz#1b1b440160a5bf7ad40b650f095963481903930a"
|
1989 |
integrity sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==
|
|
|
2050 |
dependencies:
|
2051 |
file-uri-to-path "1.0.0"
|
2052 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2053 |
bluebird@^3.1.1, bluebird@^3.5.5:
|
2054 |
version "3.7.2"
|
2055 |
resolved "https://registry.npmmirror.com/bluebird/-/bluebird-3.7.2.tgz#9f229c15be272454ffa973ace0dbee79a1b0c36f"
|
|
|
2208 |
node-releases "^2.0.3"
|
2209 |
picocolors "^1.0.0"
|
2210 |
|
|
|
|
|
|
|
|
|
|
|
2211 |
buffer-from@^1.0.0:
|
2212 |
version "1.1.2"
|
2213 |
resolved "https://registry.npmmirror.com/buffer-from/-/buffer-from-1.1.2.tgz#2b146a6fd72e80b4f55d255f35ed59a3a9a41bd5"
|
|
|
2237 |
ieee754 "^1.1.4"
|
2238 |
isarray "^1.0.0"
|
2239 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2240 |
builtin-status-codes@^3.0.0:
|
2241 |
version "3.0.0"
|
2242 |
resolved "https://registry.npmmirror.com/builtin-status-codes/-/builtin-status-codes-3.0.0.tgz#85982878e21b98e1c66425e03d0174788f569ee8"
|
|
|
2633 |
color-convert "^1.9.3"
|
2634 |
color-string "^1.6.0"
|
2635 |
|
2636 |
+
combined-stream@^1.0.6, combined-stream@~1.0.6:
|
2637 |
version "1.0.8"
|
2638 |
resolved "https://registry.npmmirror.com/combined-stream/-/combined-stream-1.0.8.tgz#c3d45a8b34fd730631a110a8a2520682b31d5a7f"
|
2639 |
integrity sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==
|
|
|
2650 |
resolved "https://registry.npmmirror.com/commander/-/commander-2.20.3.tgz#fd485e84c03eb4881c20722ba48035e8531aeb33"
|
2651 |
integrity sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==
|
2652 |
|
|
|
|
|
|
|
|
|
|
|
2653 |
commander@~2.19.0:
|
2654 |
version "2.19.0"
|
2655 |
resolved "https://registry.npmmirror.com/commander/-/commander-2.19.0.tgz#f6198aa84e5b83c46054b94ddedbfed5ee9ff12a"
|
|
|
2665 |
resolved "https://registry.npmmirror.com/component-emitter/-/component-emitter-1.3.0.tgz#16e4070fba8ae29b679f2215853ee181ab2eabc0"
|
2666 |
integrity sha512-Rd3se6QB+sO1TwqZjscQrurpEPIfO0/yYnSin6Q/rD3mOutHvUrCAhJub3r90uNb+SESBuE0QYoB90YdfatsRg==
|
2667 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2668 |
compressible@~2.0.16:
|
2669 |
version "2.0.18"
|
2670 |
resolved "https://registry.npmmirror.com/compressible/-/compressible-2.0.18.tgz#af53cca6b070d4c3c0750fbd77286a6d7cc46fba"
|
|
|
2819 |
js-yaml "^3.13.1"
|
2820 |
parse-json "^4.0.0"
|
2821 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2822 |
create-ecdh@^4.0.0:
|
2823 |
version "4.0.4"
|
2824 |
resolved "https://registry.npmmirror.com/create-ecdh/-/create-ecdh-4.0.4.tgz#d6e7f4bffa66736085a0762fd3a632684dabcc4e"
|
|
|
3365 |
resolved "https://registry.npmmirror.com/dotenv/-/dotenv-8.6.0.tgz#061af664d19f7f4d8fc6e4ff9b584ce237adcb8b"
|
3366 |
integrity sha512-IrPdXQsk2BbzvCBGBOTmmSH5SodmqZNt4ERAZDmW4CT+tL8VtvinqywuANaFu4bOMWki16nqf0e4oC0QIaDr/g==
|
3367 |
|
|
|
|
|
|
|
|
|
|
|
3368 |
duplexer@^0.1.1:
|
3369 |
version "0.1.2"
|
3370 |
resolved "https://registry.npmmirror.com/duplexer/-/duplexer-0.1.2.tgz#3abe43aef3835f8ae077d136ddce0f276b0400e6"
|
|
|
3446 |
resolved "https://registry.npmmirror.com/encodeurl/-/encodeurl-1.0.2.tgz#ad3ff4c86ec2d029322f5a02c3a9a606c95b3f59"
|
3447 |
integrity sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==
|
3448 |
|
3449 |
+
end-of-stream@^1.0.0, end-of-stream@^1.1.0:
|
3450 |
version "1.4.4"
|
3451 |
resolved "https://registry.npmmirror.com/end-of-stream/-/end-of-stream-1.4.4.tgz#5ae64a5f45057baf3626ec14da0ca5e4b2431eb0"
|
3452 |
integrity sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==
|
|
|
4043 |
dependencies:
|
4044 |
debug "=3.1.0"
|
4045 |
|
4046 |
+
follow-redirects@^1.0.0:
|
4047 |
version "1.15.0"
|
4048 |
resolved "https://registry.npmmirror.com/follow-redirects/-/follow-redirects-1.15.0.tgz#06441868281c86d0dda4ad8bdaead2d02dca89d4"
|
4049 |
integrity sha512-aExlJShTV4qOUOL7yF1U5tvLCB0xQuudbf6toyYA0E/acBNw71mvjFTnLaRp50aQaYocMR0a/RMMBIHeZnGyjQ==
|
|
|
4058 |
resolved "https://registry.npmmirror.com/forever-agent/-/forever-agent-0.6.1.tgz#fbc71f0c41adeb37f96c577ad1ed42d8fdacca91"
|
4059 |
integrity sha512-j0KLYPhm6zeac4lz3oJ3o65qvgQCcPubiyotZrXqEaG4hNagNYO8qdlUrX5vwqv9ohqeT/Z3j6+yW067yWWdUw==
|
4060 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4061 |
form-data@~2.3.2:
|
4062 |
version "2.3.3"
|
4063 |
resolved "https://registry.npmmirror.com/form-data/-/form-data-2.3.3.tgz#dcce52c05f644f298c6a7ab936bd724ceffbf3a6"
|
|
|
4092 |
inherits "^2.0.1"
|
4093 |
readable-stream "^2.0.0"
|
4094 |
|
|
|
|
|
|
|
|
|
|
|
4095 |
fs-extra@^7.0.1:
|
4096 |
version "7.0.1"
|
4097 |
resolved "https://registry.npmmirror.com/fs-extra/-/fs-extra-7.0.1.tgz#4f189c44aa123b895f722804f55ea23eadc348e9"
|
|
|
4293 |
pify "^4.0.1"
|
4294 |
slash "^2.0.0"
|
4295 |
|
4296 |
+
graceful-fs@^4.1.11, graceful-fs@^4.1.15, graceful-fs@^4.1.2, graceful-fs@^4.1.6:
|
4297 |
version "4.2.10"
|
4298 |
resolved "https://registry.npmmirror.com/graceful-fs/-/graceful-fs-4.2.10.tgz#147d3a006da4ca3ce14728c7aefc287c367d7a6c"
|
4299 |
integrity sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==
|
|
|
4622 |
dependencies:
|
4623 |
postcss "^7.0.14"
|
4624 |
|
4625 |
+
ieee754@^1.1.4:
|
4626 |
version "1.2.1"
|
4627 |
resolved "https://registry.npmmirror.com/ieee754/-/ieee754-1.2.1.tgz#8eb7a10a63fff25d15a57b001586d177d1b0d352"
|
4628 |
integrity sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==
|
|
|
5277 |
resolved "https://registry.npmmirror.com/klona/-/klona-2.0.5.tgz#d166574d90076395d9963aa7a928fabb8d76afbc"
|
5278 |
integrity sha512-pJiBpiXMbt7dkzXe8Ghj/u4FfXOOa98fPW+bihOJ4SjnoijweJrNThJfd3ifXpXhREjpoF2mZVH1GfS9LV3kHQ==
|
5279 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5280 |
launch-editor-middleware@^2.2.1:
|
5281 |
version "2.3.0"
|
5282 |
resolved "https://registry.npmmirror.com/launch-editor-middleware/-/launch-editor-middleware-2.3.0.tgz#edd0ed45a46f5f1cf27540f93346b5de9e8c3be0"
|
|
|
5292 |
picocolors "^1.0.0"
|
5293 |
shell-quote "^1.6.1"
|
5294 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5295 |
levn@^0.3.0, levn@~0.3.0:
|
5296 |
version "0.3.0"
|
5297 |
resolved "https://registry.npmmirror.com/levn/-/levn-0.3.0.tgz#3b09924edf9f083c0490fdd4c0bc4421e04764ee"
|
|
|
5366 |
resolved "https://registry.npmmirror.com/lodash.debounce/-/lodash.debounce-4.0.8.tgz#82d79bff30a67c4005ffd5e2515300ad9ca4d7af"
|
5367 |
integrity sha512-FT1yDzDYEoYWhnSGnpE/4Kj1fLZkDFyqRb7fNt6FdYOSxlUWAtp42Eh6Wb0rGIv/m9Bgo7x4GhQbm5Ys4SG5ow==
|
5368 |
|
|
|
|
|
|
|
|
|
|
|
5369 |
lodash.defaultsdeep@^4.6.1:
|
5370 |
version "4.6.1"
|
5371 |
resolved "https://registry.npmmirror.com/lodash.defaultsdeep/-/lodash.defaultsdeep-4.6.1.tgz#512e9bd721d272d94e3d3a63653fa17516741ca6"
|
5372 |
integrity sha512-3j8wdDzYuWO3lM3Reg03MuQR957t287Rpcxp1njpEa8oDrikb+FwGdW3n+FELh/A6qib6yPit0j/pv9G/yeAqA==
|
5373 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5374 |
lodash.kebabcase@^4.1.1:
|
5375 |
version "4.1.1"
|
5376 |
resolved "https://registry.npmmirror.com/lodash.kebabcase/-/lodash.kebabcase-4.1.1.tgz#8489b1cb0d29ff88195cceca448ff6d6cc295c36"
|
|
|
5391 |
resolved "https://registry.npmmirror.com/lodash.transform/-/lodash.transform-4.6.0.tgz#12306422f63324aed8483d3f38332b5f670547a0"
|
5392 |
integrity sha512-LO37ZnhmBVx0GvOU/caQuipEh4GN82TcWv3yHlebGDgOxbxiwwzW5Pcx2AcvpIv2WmvmSMoC492yQFNhy/l/UQ==
|
5393 |
|
|
|
|
|
|
|
|
|
|
|
5394 |
lodash.uniq@^4.5.0:
|
5395 |
version "4.5.0"
|
5396 |
resolved "https://registry.npmmirror.com/lodash.uniq/-/lodash.uniq-4.5.0.tgz#d0225373aeb652adc1bc82e4945339a842754773"
|
|
|
6834 |
resolved "https://registry.npmmirror.com/q/-/q-1.5.1.tgz#7e32f75b41381291d04611f1bf14109ac00651d7"
|
6835 |
integrity sha512-kV/CThkXo6xyFEZUugw/+pIOywXcDbFYgSct5cT3gqlbkBE1SJdwy6UQoZvodiWF/ckQLZyDE/Bu1M6gVu5lVw==
|
6836 |
|
6837 |
+
qs@6.10.3:
|
6838 |
version "6.10.3"
|
6839 |
resolved "https://registry.npmmirror.com/qs/-/qs-6.10.3.tgz#d6cde1b2ffca87b5aa57889816c5f81535e22e8e"
|
6840 |
integrity sha512-wr7M2E0OFRfIfJZjKGieI8lBKb7fRCH4Fv5KNPEs7gJ8jadvotdsS08PzOKR7opXhZ/Xkjtt3WF9g38drmyRqQ==
|
|
|
6909 |
parse-json "^5.0.0"
|
6910 |
type-fest "^0.6.0"
|
6911 |
|
6912 |
+
"readable-stream@1 || 2", readable-stream@^2.0.0, readable-stream@^2.0.1, readable-stream@^2.0.2, readable-stream@^2.1.5, readable-stream@^2.2.2, readable-stream@^2.3.3, readable-stream@^2.3.6, readable-stream@~2.3.6:
|
6913 |
version "2.3.7"
|
6914 |
resolved "https://registry.npmmirror.com/readable-stream/-/readable-stream-2.3.7.tgz#1eca1cf711aef814c04f62252a36a62f6cb23b57"
|
6915 |
integrity sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==
|
|
|
6922 |
string_decoder "~1.1.1"
|
6923 |
util-deprecate "~1.0.1"
|
6924 |
|
6925 |
+
readable-stream@^3.0.6, readable-stream@^3.6.0:
|
6926 |
version "3.6.0"
|
6927 |
resolved "https://registry.npmmirror.com/readable-stream/-/readable-stream-3.6.0.tgz#337bbda3adc0706bd3e024426a286d4b4b2c9198"
|
6928 |
integrity sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==
|
|
|
6931 |
string_decoder "^1.1.1"
|
6932 |
util-deprecate "^1.0.1"
|
6933 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6934 |
readdirp@^2.2.1:
|
6935 |
version "2.2.1"
|
6936 |
resolved "https://registry.npmmirror.com/readdirp/-/readdirp-2.2.1.tgz#0e87622a3325aa33e892285caf8b4e846529a525"
|
|
|
7896 |
resolved "https://registry.npmmirror.com/tapable/-/tapable-1.1.3.tgz#a1fccc06b58db61fd7a45da2da44f5f3a3e67ba2"
|
7897 |
integrity sha512-4WK/bYZmj8xLr+HUCODHGF1ZFzsYffasLUgEiMBY4fgtltdO6B4WJtlSbPaDTLpYTcGVwM2qLnFTICEcNxs3kA==
|
7898 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7899 |
terser-webpack-plugin@^1.4.3, terser-webpack-plugin@^1.4.4:
|
7900 |
version "1.4.5"
|
7901 |
resolved "https://registry.npmmirror.com/terser-webpack-plugin/-/terser-webpack-plugin-1.4.5.tgz#a217aefaea330e734ffacb6120ec1fa312d6040b"
|
|
|
8797 |
is-ci "^1.0.10"
|
8798 |
normalize-path "^1.0.0"
|
8799 |
strip-indent "^2.0.0"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
requirements.txt
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
flask
|
2 |
torch
|
3 |
transformers
|
4 |
-
sentencepiece
|
|
|
|
|
|
1 |
flask
|
2 |
torch
|
3 |
transformers
|
4 |
+
sentencepiece
|
5 |
+
unidic-lite
|
6 |
+
cutlet
|