tiro-notes 0.30.48 → 0.30.52
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cli.js +109 -4
- package/client/asset-manifest.json +83 -83
- package/client/index.html +1 -1
- package/client/static/js/{0.96d25570.chunk.js → 0.c490099b.chunk.js} +1 -1
- package/client/static/js/{1.ce6087e5.chunk.js → 1.d5c20c38.chunk.js} +1 -1
- package/client/static/js/{10.3fd8768a.chunk.js → 10.95b2edda.chunk.js} +1 -1
- package/client/static/js/{11.03cc8bb2.chunk.js → 11.04e83a60.chunk.js} +1 -1
- package/client/static/js/{12.947e305d.chunk.js → 12.23f17cae.chunk.js} +1 -1
- package/client/static/js/{13.8f045f39.chunk.js → 13.e2ce43ca.chunk.js} +1 -1
- package/client/static/js/{14.9c9c9a2e.chunk.js → 14.d1f78332.chunk.js} +1 -1
- package/client/static/js/{15.626b2d1d.chunk.js → 15.19558fb3.chunk.js} +1 -1
- package/client/static/js/{16.bed1900e.chunk.js → 16.9356c734.chunk.js} +1 -1
- package/client/static/js/{17.007401b8.chunk.js → 17.249c76f1.chunk.js} +1 -1
- package/client/static/js/{18.b12a80a1.chunk.js → 18.6f0a373c.chunk.js} +1 -1
- package/client/static/js/{19.178eb433.chunk.js → 19.545642bc.chunk.js} +1 -1
- package/client/static/js/{20.b5337f76.chunk.js → 20.f8215841.chunk.js} +1 -1
- package/client/static/js/{21.c62b3dd9.chunk.js → 21.e5f7c151.chunk.js} +1 -1
- package/client/static/js/{22.0912db96.chunk.js → 22.ed91e085.chunk.js} +1 -1
- package/client/static/js/{23.a4fc71f7.chunk.js → 23.7dadd977.chunk.js} +1 -1
- package/client/static/js/{24.ef9a161f.chunk.js → 24.966c0e2e.chunk.js} +1 -1
- package/client/static/js/{25.505cc9d5.chunk.js → 25.f5bf249a.chunk.js} +1 -1
- package/client/static/js/{26.2f7b6c02.chunk.js → 26.f1dbe9b2.chunk.js} +1 -1
- package/client/static/js/{27.006b8e5c.chunk.js → 27.50ee22bc.chunk.js} +1 -1
- package/client/static/js/{28.1def83f7.chunk.js → 28.7a8292e6.chunk.js} +1 -1
- package/client/static/js/{29.fab41293.chunk.js → 29.54345dda.chunk.js} +1 -1
- package/client/static/js/{30.1df91a9d.chunk.js → 30.2ba035b4.chunk.js} +1 -1
- package/client/static/js/{31.0e5eea50.chunk.js → 31.32245201.chunk.js} +1 -1
- package/client/static/js/{32.3cf7833d.chunk.js → 32.5a19b5ee.chunk.js} +1 -1
- package/client/static/js/{33.818fe5d8.chunk.js → 33.f99079cd.chunk.js} +1 -1
- package/client/static/js/{34.9471fce6.chunk.js → 34.a20b4464.chunk.js} +1 -1
- package/client/static/js/{35.4f562dd8.chunk.js → 35.506e1750.chunk.js} +1 -1
- package/client/static/js/{36.4078c53d.chunk.js → 36.45194f2c.chunk.js} +1 -1
- package/client/static/js/{37.79f940c9.chunk.js → 37.6cacdf19.chunk.js} +1 -1
- package/client/static/js/{38.77c71754.chunk.js → 38.26ac693b.chunk.js} +1 -1
- package/client/static/js/{39.0cc4bff7.chunk.js → 39.c4112562.chunk.js} +1 -1
- package/client/static/js/{4.7b260e5a.chunk.js → 4.d9f235e7.chunk.js} +2 -2
- package/client/static/js/{4.7b260e5a.chunk.js.LICENSE.txt → 4.d9f235e7.chunk.js.LICENSE.txt} +0 -0
- package/client/static/js/{40.140c139e.chunk.js → 40.eeca90df.chunk.js} +1 -1
- package/client/static/js/{41.3cdccd20.chunk.js → 41.7b68c511.chunk.js} +1 -1
- package/client/static/js/{42.1ec92659.chunk.js → 42.9c2c5e97.chunk.js} +1 -1
- package/client/static/js/{43.8bac53fb.chunk.js → 43.5d7317a5.chunk.js} +1 -1
- package/client/static/js/{44.dc17a09f.chunk.js → 44.fe9af4f2.chunk.js} +1 -1
- package/client/static/js/{45.2b54450c.chunk.js → 45.44342f11.chunk.js} +1 -1
- package/client/static/js/{46.63f78695.chunk.js → 46.e98dbf2f.chunk.js} +1 -1
- package/client/static/js/{47.ee55c041.chunk.js → 47.7557c994.chunk.js} +1 -1
- package/client/static/js/{48.01af3340.chunk.js → 48.6196bde4.chunk.js} +1 -1
- package/client/static/js/{49.78b9c639.chunk.js → 49.96931133.chunk.js} +1 -1
- package/client/static/js/{5.3c3e81d1.chunk.js → 5.7154c544.chunk.js} +1 -1
- package/client/static/js/{50.abe623b0.chunk.js → 50.4b6c4945.chunk.js} +1 -1
- package/client/static/js/{51.f55ad8cb.chunk.js → 51.a0453ca7.chunk.js} +1 -1
- package/client/static/js/{52.85267a87.chunk.js → 52.02d806fa.chunk.js} +1 -1
- package/client/static/js/{53.824270e8.chunk.js → 53.2eb3a4c2.chunk.js} +1 -1
- package/client/static/js/{54.f4cd5a86.chunk.js → 54.d45590e9.chunk.js} +1 -1
- package/client/static/js/{55.aaeb7a76.chunk.js → 55.7b65aff4.chunk.js} +1 -1
- package/client/static/js/{56.7e6af4bd.chunk.js → 56.aba293cf.chunk.js} +1 -1
- package/client/static/js/{57.f706d878.chunk.js → 57.fe307fff.chunk.js} +1 -1
- package/client/static/js/{58.1060b6a5.chunk.js → 58.9911af61.chunk.js} +1 -1
- package/client/static/js/{59.5903fcf0.chunk.js → 59.3ece5218.chunk.js} +1 -1
- package/client/static/js/{6.54798d08.chunk.js → 6.3b3ed6b3.chunk.js} +1 -1
- package/client/static/js/{60.fcc24c05.chunk.js → 60.8022a138.chunk.js} +1 -1
- package/client/static/js/{61.7a00deca.chunk.js → 61.aa0a68a3.chunk.js} +1 -1
- package/client/static/js/{62.bba721e7.chunk.js → 62.5b759580.chunk.js} +1 -1
- package/client/static/js/{63.ff329579.chunk.js → 63.3704ad94.chunk.js} +1 -1
- package/client/static/js/{64.3c92104a.chunk.js → 64.a56b476c.chunk.js} +1 -1
- package/client/static/js/{65.9bc487bf.chunk.js → 65.5cb7a5a5.chunk.js} +1 -1
- package/client/static/js/{66.9f0a78e1.chunk.js → 66.c79fff81.chunk.js} +1 -1
- package/client/static/js/{67.032ffb1b.chunk.js → 67.fbae1306.chunk.js} +1 -1
- package/client/static/js/{68.2c41878d.chunk.js → 68.7889a44c.chunk.js} +1 -1
- package/client/static/js/{69.9b3afc04.chunk.js → 69.39edff23.chunk.js} +1 -1
- package/client/static/js/{7.eeed7e6b.chunk.js → 7.05cc9dbd.chunk.js} +1 -1
- package/client/static/js/{70.1cd8212e.chunk.js → 70.16aeae57.chunk.js} +2 -2
- package/client/static/js/{70.1cd8212e.chunk.js.LICENSE.txt → 70.16aeae57.chunk.js.LICENSE.txt} +0 -0
- package/client/static/js/{71.74ec8486.chunk.js → 71.a1d51cd4.chunk.js} +1 -1
- package/client/static/js/{72.58df345d.chunk.js → 72.27125a85.chunk.js} +1 -1
- package/client/static/js/{73.2d9be138.chunk.js → 73.e79ee491.chunk.js} +1 -1
- package/client/static/js/{74.a06eb860.chunk.js → 74.17cd2084.chunk.js} +1 -1
- package/client/static/js/{75.7141a5e5.chunk.js → 75.804c47a0.chunk.js} +1 -1
- package/client/static/js/{76.0c6f0052.chunk.js → 76.6e339e9f.chunk.js} +1 -1
- package/client/static/js/{77.3fc05af0.chunk.js → 77.46a6b6a0.chunk.js} +1 -1
- package/client/static/js/{8.8613e932.chunk.js → 8.02f6f6d2.chunk.js} +1 -1
- package/client/static/js/{9.75ff48d0.chunk.js → 9.0cb915ad.chunk.js} +1 -1
- package/client/static/js/main.2da4214c.chunk.js +1 -0
- package/client/static/js/runtime-main.8aa8b9eb.js +1 -0
- package/package.json +1 -1
- package/server/tiro-server.js +1 -1
- package/server/tiro-server.js.LICENSE.txt +6 -0
- package/shared.helpers.build.js +64 -3
- package/client/static/js/main.4374d465.chunk.js +0 -1
- package/client/static/js/runtime-main.5db0e41b.js +0 -1
package/cli.js
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
// const isDev = false
|
|
4
4
|
const isDev = process.env.ISDEV
|
|
5
5
|
const tHelpers = isDev ? require('../shared.helpers.js') : require(`./shared.helpers.build.js`);
|
|
6
|
+
const pathServerJs = isDev ? `${__dirname}/node-build/server/tiro-server.js` : `${__dirname}/server/tiro-server.js`
|
|
6
7
|
|
|
7
8
|
|
|
8
9
|
// CLI HELP MANUAL
|
|
@@ -22,7 +23,15 @@ ARGS:
|
|
|
22
23
|
|
|
23
24
|
--https/-s : enable https ssl with self signed certificate (boolean, false by default)
|
|
24
25
|
--port/-p : port to use (number, 3023 by default)
|
|
25
|
-
--
|
|
26
|
+
--no-open/-no : do not open Tiro in browser when starting
|
|
27
|
+
--verbose/-v : more verbose logs
|
|
28
|
+
|
|
29
|
+
--tunnel/-t : [require autossh] uses autossh to "publish" the app on the web, requires a server you can access with ssh and autossh installed on that device. (ex:npx tiro-notes@latest -t REMOTE_USER@REMOTE_URL:REMOTE_PORT)
|
|
30
|
+
|
|
31
|
+
--backup/-b : [require tar] will incrementally backup changes in archives like tiro.0.xz.tar, tiro.1.xz.tar... every day in a specific folder. You can then execute commands after that process in a post backup script (useful for syncing these archives to clouds, think rsync, rclone etc.)
|
|
32
|
+
--backup-folder : modify backup folder destination. (default: "your/path/to/tiro/data_folder"+_backup
|
|
33
|
+
--backup-post-script : modify script to be executed after a backup finishes. Should be a ".txt" file with your OS commands. (default: "your/path/to/tiro/data_folder"+_backup/post_backup_script.txt
|
|
34
|
+
|
|
26
35
|
--help/-h : help
|
|
27
36
|
|
|
28
37
|
EXAMPLES:
|
|
@@ -48,6 +57,13 @@ function getCliArgs () {
|
|
|
48
57
|
port: 3023,
|
|
49
58
|
https: false,
|
|
50
59
|
help: false,
|
|
60
|
+
open: true,
|
|
61
|
+
verbose: false,
|
|
62
|
+
backup: {
|
|
63
|
+
enabled: false,
|
|
64
|
+
location: "default",
|
|
65
|
+
scriptLocation: "default"
|
|
66
|
+
},
|
|
51
67
|
tunnel: {
|
|
52
68
|
enabled: false,
|
|
53
69
|
},
|
|
@@ -60,6 +76,13 @@ function getCliArgs () {
|
|
|
60
76
|
if (argName === 'p' || argName === 'port') argsObj.port = parseInt(argVal);
|
|
61
77
|
if (argName === 's' || argName === 'https') argsObj.https = true
|
|
62
78
|
if (argName === 'h' || argName === 'help') argsObj.help = true
|
|
79
|
+
if (argName === 'no-open' || argName === 'no') argsObj.open = false
|
|
80
|
+
if (argName === 'v' || argName === 'verbose') argsObj.verbose = true
|
|
81
|
+
|
|
82
|
+
if (argName === 'b' || argName === 'backup') argsObj.backup.enabled = true
|
|
83
|
+
if (argName === 'backup-location') argsObj.backup.location = argVal
|
|
84
|
+
if (argName === 'backup-post-script') argsObj.backup.scriptLocation = argVal
|
|
85
|
+
|
|
63
86
|
if (argName === 't' || argName === 'tunnel') {
|
|
64
87
|
const argsArr = argVal.split(':')
|
|
65
88
|
if (argsArr.length > 1) {
|
|
@@ -79,19 +102,94 @@ function startTiroServer (argsObj, cb) {
|
|
|
79
102
|
tHelpers.killPreviousInstances(() => {
|
|
80
103
|
|
|
81
104
|
// start tiro server, detect success message and get server params
|
|
82
|
-
tHelpers.execCmd('node', [
|
|
105
|
+
tHelpers.execCmd('node', [pathServerJs], {
|
|
106
|
+
showLog: argsObj.verbose,
|
|
83
107
|
env: {
|
|
84
108
|
TIRO_PORT: argsObj.port,
|
|
85
109
|
TIRO_HTTPS: argsObj.https
|
|
86
110
|
},
|
|
87
111
|
logName: 'tiroServer',
|
|
88
112
|
onLog: str => {
|
|
113
|
+
// we get params like dataFolder from server.js directly
|
|
89
114
|
tHelpers.checkAndGetTiroConfig(str, {platform: 'cli', cb})
|
|
90
115
|
}
|
|
91
116
|
})
|
|
92
117
|
});
|
|
93
118
|
}
|
|
94
119
|
|
|
120
|
+
const startBackupScript = async (argsObj, dataFolder) => {
|
|
121
|
+
if (!argsObj.backup.enabled) return;
|
|
122
|
+
if (!dataFolder) return console.warn ("[BACKUP] no dataFolder detected!");
|
|
123
|
+
|
|
124
|
+
// get BACKUP_FOLDER path
|
|
125
|
+
const defaultBackupFolder = dataFolder + "_backup/"
|
|
126
|
+
const backupFolder = argsObj.backup.location !== "default" ? argsObj.backup.location : defaultBackupFolder
|
|
127
|
+
// if does not exists, create it
|
|
128
|
+
if (!tHelpers.fileExists(backupFolder)) await tHelpers.createDir(backupFolder)
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
// get POST_BACKUP_SCRIPT
|
|
132
|
+
const defaultPostBackupScript = backupFolder + "post_backup_script.txt"
|
|
133
|
+
const postBackupScriptFile = argsObj.backup.scriptLocation !== "default" ? argsObj.backup.scriptLocation : defaultPostBackupScript
|
|
134
|
+
// if does not exists, create it, empty
|
|
135
|
+
if (!tHelpers.fileExists(postBackupScriptFile)) await tHelpers.saveFile(postBackupScriptFile, "")
|
|
136
|
+
let postBackupScript = await tHelpers.openFile(postBackupScriptFile)
|
|
137
|
+
if (postBackupScript) postBackupScript += ";"
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
// get LAST_BACKUP_TIMESTAMP
|
|
141
|
+
const timestampFile = backupFolder + "last_backup_timestamp.txt"
|
|
142
|
+
const now = () => new Date().getTime()
|
|
143
|
+
// if does not exists, create it, then give a timestamp of 0
|
|
144
|
+
if (!tHelpers.fileExists(timestampFile)) await tHelpers.saveFile(timestampFile, "0")
|
|
145
|
+
const getLastTimestamp = async () => {
|
|
146
|
+
let lastBackupTimestampRaw = await tHelpers.openFile(timestampFile);
|
|
147
|
+
let lastBackupTimestamp = parseInt(lastBackupTimestampRaw)
|
|
148
|
+
return lastBackupTimestamp
|
|
149
|
+
}
|
|
150
|
+
let replaceTimestampCli = () => `echo ${now()} > '${timestampFile}'`
|
|
151
|
+
|
|
152
|
+
// START INTERVAL
|
|
153
|
+
const timeInterval = 1000 * 60 * 60 // one hour
|
|
154
|
+
const backupInterval = 1000 * 60 * 60 * 24 // one day
|
|
155
|
+
|
|
156
|
+
const tarExec = process.platform === "darwin" ? "gtar" : "tar"
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
console.log ("[BACKUP] starting backup logic!");
|
|
160
|
+
|
|
161
|
+
const debugBackupNow = isDev ? false : false
|
|
162
|
+
const processBackupEveryDay = async () => {
|
|
163
|
+
// if > 1 day
|
|
164
|
+
const lastTimestamp = await getLastTimestamp()
|
|
165
|
+
const diff = backupInterval + lastTimestamp - new Date().getTime()
|
|
166
|
+
const diffMin = Math.round(diff / (1000 * 60))
|
|
167
|
+
if (diff < 0 || debugBackupNow) {
|
|
168
|
+
console.log(`[BACKUP] time has come, BACKUP!`);
|
|
169
|
+
|
|
170
|
+
let backupCli = `${replaceTimestampCli()}; mkdir '${backupFolder}'; mkdir '${backupFolder}/backups'; cd '${backupFolder}'; echo '[${new Date().toLocaleString()}] -> new backup started' >> backups.txt; ${tarExec} --xz --verbose --create --file="backups/tiro.$(ls backups/ | wc -l | sed 's/^ *//;s/ *$//').tar.xz" '${dataFolder}' --listed-incremental='${backupFolder}metadata.snar'; ${postBackupScript}`
|
|
171
|
+
// append to backup CLI current timestamp to last_backup_timestamp
|
|
172
|
+
// execute cli
|
|
173
|
+
tHelpers.execCmdInFile(backupCli, backupFolder+"cli.sh", {
|
|
174
|
+
showLog: argsObj.verbose
|
|
175
|
+
})
|
|
176
|
+
|
|
177
|
+
const debugObj = {backupFolder, postBackupScriptFile, lastTimestamp, postBackupScript, timeInterval, backupCli}
|
|
178
|
+
|
|
179
|
+
console.log (debugObj);
|
|
180
|
+
} else {
|
|
181
|
+
console.log(`[BACKUP] time has no come... still waiting for ${diffMin} mins`);
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
// every hour
|
|
186
|
+
processBackupEveryDay();
|
|
187
|
+
let int = setInterval(() => {
|
|
188
|
+
processBackupEveryDay()
|
|
189
|
+
}, timeInterval)
|
|
190
|
+
|
|
191
|
+
}
|
|
192
|
+
|
|
95
193
|
const startSshTunnel = (argsObj) => {
|
|
96
194
|
if (argsObj.tunnel.enabled) {
|
|
97
195
|
// kill previous autossh processes
|
|
@@ -135,12 +233,16 @@ function main () {
|
|
|
135
233
|
const c = configServerObj
|
|
136
234
|
const protocol = c.https ? 'https' : 'http'
|
|
137
235
|
const port = c.port
|
|
236
|
+
const dataFolder = c.dataFolder
|
|
138
237
|
|
|
139
238
|
// open in browser
|
|
140
|
-
openInBrowser(`${protocol}://localhost:${port}`);
|
|
239
|
+
if (argsObj.open) openInBrowser(`${protocol}://localhost:${port}`);
|
|
141
240
|
|
|
142
241
|
// start tunnel with autossh if asked
|
|
143
242
|
startSshTunnel(argsObj);
|
|
243
|
+
|
|
244
|
+
// start backup script
|
|
245
|
+
startBackupScript(argsObj, dataFolder);
|
|
144
246
|
|
|
145
247
|
})
|
|
146
248
|
}
|
|
@@ -148,7 +250,10 @@ function main () {
|
|
|
148
250
|
|
|
149
251
|
const test = () => {
|
|
150
252
|
var argsObj = getCliArgs();
|
|
151
|
-
startSshTunnel(argsObj);
|
|
253
|
+
// startSshTunnel(argsObj);
|
|
254
|
+
console.log(argsObj);
|
|
255
|
+
// startBackupScript(argsObj, "/Users/gregoirethiebault/Desktop/your markdown notes")
|
|
256
|
+
startBackupScript(argsObj, "/Users/gregoirethiebault/Desktop/nodal_ex")
|
|
152
257
|
}
|
|
153
258
|
|
|
154
259
|
|
|
@@ -1,87 +1,87 @@
|
|
|
1
1
|
{
|
|
2
2
|
"files": {
|
|
3
|
-
"static/js/0.
|
|
4
|
-
"static/js/1.
|
|
5
|
-
"main.js": "/static/js/main.
|
|
6
|
-
"runtime-main.js": "/static/js/runtime-main.
|
|
3
|
+
"static/js/0.c490099b.chunk.js": "/static/js/0.c490099b.chunk.js",
|
|
4
|
+
"static/js/1.d5c20c38.chunk.js": "/static/js/1.d5c20c38.chunk.js",
|
|
5
|
+
"main.js": "/static/js/main.2da4214c.chunk.js",
|
|
6
|
+
"runtime-main.js": "/static/js/runtime-main.8aa8b9eb.js",
|
|
7
7
|
"static/css/4.992ae4ff.chunk.css": "/static/css/4.992ae4ff.chunk.css",
|
|
8
|
-
"static/js/4.
|
|
9
|
-
"static/js/5.
|
|
10
|
-
"static/js/6.
|
|
11
|
-
"static/js/7.
|
|
12
|
-
"static/js/8.
|
|
13
|
-
"static/js/9.
|
|
14
|
-
"static/js/10.
|
|
15
|
-
"static/js/11.
|
|
16
|
-
"static/js/12.
|
|
17
|
-
"static/js/13.
|
|
18
|
-
"static/js/14.
|
|
19
|
-
"static/js/15.
|
|
20
|
-
"static/js/16.
|
|
21
|
-
"static/js/17.
|
|
22
|
-
"static/js/18.
|
|
23
|
-
"static/js/19.
|
|
24
|
-
"static/js/20.
|
|
25
|
-
"static/js/21.
|
|
26
|
-
"static/js/22.
|
|
27
|
-
"static/js/23.
|
|
28
|
-
"static/js/24.
|
|
29
|
-
"static/js/25.
|
|
30
|
-
"static/js/26.
|
|
31
|
-
"static/js/27.
|
|
32
|
-
"static/js/28.
|
|
33
|
-
"static/js/29.
|
|
34
|
-
"static/js/30.
|
|
35
|
-
"static/js/31.
|
|
36
|
-
"static/js/32.
|
|
37
|
-
"static/js/33.
|
|
38
|
-
"static/js/34.
|
|
39
|
-
"static/js/35.
|
|
40
|
-
"static/js/36.
|
|
41
|
-
"static/js/37.
|
|
42
|
-
"static/js/38.
|
|
43
|
-
"static/js/39.
|
|
44
|
-
"static/js/40.
|
|
45
|
-
"static/js/41.
|
|
46
|
-
"static/js/42.
|
|
47
|
-
"static/js/43.
|
|
48
|
-
"static/js/44.
|
|
49
|
-
"static/js/45.
|
|
50
|
-
"static/js/46.
|
|
51
|
-
"static/js/47.
|
|
52
|
-
"static/js/48.
|
|
53
|
-
"static/js/49.
|
|
54
|
-
"static/js/50.
|
|
55
|
-
"static/js/51.
|
|
56
|
-
"static/js/52.
|
|
57
|
-
"static/js/53.
|
|
58
|
-
"static/js/54.
|
|
59
|
-
"static/js/55.
|
|
60
|
-
"static/js/56.
|
|
61
|
-
"static/js/57.
|
|
62
|
-
"static/js/58.
|
|
63
|
-
"static/js/59.
|
|
64
|
-
"static/js/60.
|
|
65
|
-
"static/js/61.
|
|
66
|
-
"static/js/62.
|
|
67
|
-
"static/js/63.
|
|
68
|
-
"static/js/64.
|
|
69
|
-
"static/js/65.
|
|
70
|
-
"static/js/66.
|
|
71
|
-
"static/js/67.
|
|
72
|
-
"static/js/68.
|
|
73
|
-
"static/js/69.
|
|
74
|
-
"static/js/70.
|
|
75
|
-
"static/js/71.
|
|
76
|
-
"static/js/72.
|
|
77
|
-
"static/js/73.
|
|
78
|
-
"static/js/74.
|
|
79
|
-
"static/js/75.
|
|
80
|
-
"static/js/76.
|
|
81
|
-
"static/js/77.
|
|
8
|
+
"static/js/4.d9f235e7.chunk.js": "/static/js/4.d9f235e7.chunk.js",
|
|
9
|
+
"static/js/5.7154c544.chunk.js": "/static/js/5.7154c544.chunk.js",
|
|
10
|
+
"static/js/6.3b3ed6b3.chunk.js": "/static/js/6.3b3ed6b3.chunk.js",
|
|
11
|
+
"static/js/7.05cc9dbd.chunk.js": "/static/js/7.05cc9dbd.chunk.js",
|
|
12
|
+
"static/js/8.02f6f6d2.chunk.js": "/static/js/8.02f6f6d2.chunk.js",
|
|
13
|
+
"static/js/9.0cb915ad.chunk.js": "/static/js/9.0cb915ad.chunk.js",
|
|
14
|
+
"static/js/10.95b2edda.chunk.js": "/static/js/10.95b2edda.chunk.js",
|
|
15
|
+
"static/js/11.04e83a60.chunk.js": "/static/js/11.04e83a60.chunk.js",
|
|
16
|
+
"static/js/12.23f17cae.chunk.js": "/static/js/12.23f17cae.chunk.js",
|
|
17
|
+
"static/js/13.e2ce43ca.chunk.js": "/static/js/13.e2ce43ca.chunk.js",
|
|
18
|
+
"static/js/14.d1f78332.chunk.js": "/static/js/14.d1f78332.chunk.js",
|
|
19
|
+
"static/js/15.19558fb3.chunk.js": "/static/js/15.19558fb3.chunk.js",
|
|
20
|
+
"static/js/16.9356c734.chunk.js": "/static/js/16.9356c734.chunk.js",
|
|
21
|
+
"static/js/17.249c76f1.chunk.js": "/static/js/17.249c76f1.chunk.js",
|
|
22
|
+
"static/js/18.6f0a373c.chunk.js": "/static/js/18.6f0a373c.chunk.js",
|
|
23
|
+
"static/js/19.545642bc.chunk.js": "/static/js/19.545642bc.chunk.js",
|
|
24
|
+
"static/js/20.f8215841.chunk.js": "/static/js/20.f8215841.chunk.js",
|
|
25
|
+
"static/js/21.e5f7c151.chunk.js": "/static/js/21.e5f7c151.chunk.js",
|
|
26
|
+
"static/js/22.ed91e085.chunk.js": "/static/js/22.ed91e085.chunk.js",
|
|
27
|
+
"static/js/23.7dadd977.chunk.js": "/static/js/23.7dadd977.chunk.js",
|
|
28
|
+
"static/js/24.966c0e2e.chunk.js": "/static/js/24.966c0e2e.chunk.js",
|
|
29
|
+
"static/js/25.f5bf249a.chunk.js": "/static/js/25.f5bf249a.chunk.js",
|
|
30
|
+
"static/js/26.f1dbe9b2.chunk.js": "/static/js/26.f1dbe9b2.chunk.js",
|
|
31
|
+
"static/js/27.50ee22bc.chunk.js": "/static/js/27.50ee22bc.chunk.js",
|
|
32
|
+
"static/js/28.7a8292e6.chunk.js": "/static/js/28.7a8292e6.chunk.js",
|
|
33
|
+
"static/js/29.54345dda.chunk.js": "/static/js/29.54345dda.chunk.js",
|
|
34
|
+
"static/js/30.2ba035b4.chunk.js": "/static/js/30.2ba035b4.chunk.js",
|
|
35
|
+
"static/js/31.32245201.chunk.js": "/static/js/31.32245201.chunk.js",
|
|
36
|
+
"static/js/32.5a19b5ee.chunk.js": "/static/js/32.5a19b5ee.chunk.js",
|
|
37
|
+
"static/js/33.f99079cd.chunk.js": "/static/js/33.f99079cd.chunk.js",
|
|
38
|
+
"static/js/34.a20b4464.chunk.js": "/static/js/34.a20b4464.chunk.js",
|
|
39
|
+
"static/js/35.506e1750.chunk.js": "/static/js/35.506e1750.chunk.js",
|
|
40
|
+
"static/js/36.45194f2c.chunk.js": "/static/js/36.45194f2c.chunk.js",
|
|
41
|
+
"static/js/37.6cacdf19.chunk.js": "/static/js/37.6cacdf19.chunk.js",
|
|
42
|
+
"static/js/38.26ac693b.chunk.js": "/static/js/38.26ac693b.chunk.js",
|
|
43
|
+
"static/js/39.c4112562.chunk.js": "/static/js/39.c4112562.chunk.js",
|
|
44
|
+
"static/js/40.eeca90df.chunk.js": "/static/js/40.eeca90df.chunk.js",
|
|
45
|
+
"static/js/41.7b68c511.chunk.js": "/static/js/41.7b68c511.chunk.js",
|
|
46
|
+
"static/js/42.9c2c5e97.chunk.js": "/static/js/42.9c2c5e97.chunk.js",
|
|
47
|
+
"static/js/43.5d7317a5.chunk.js": "/static/js/43.5d7317a5.chunk.js",
|
|
48
|
+
"static/js/44.fe9af4f2.chunk.js": "/static/js/44.fe9af4f2.chunk.js",
|
|
49
|
+
"static/js/45.44342f11.chunk.js": "/static/js/45.44342f11.chunk.js",
|
|
50
|
+
"static/js/46.e98dbf2f.chunk.js": "/static/js/46.e98dbf2f.chunk.js",
|
|
51
|
+
"static/js/47.7557c994.chunk.js": "/static/js/47.7557c994.chunk.js",
|
|
52
|
+
"static/js/48.6196bde4.chunk.js": "/static/js/48.6196bde4.chunk.js",
|
|
53
|
+
"static/js/49.96931133.chunk.js": "/static/js/49.96931133.chunk.js",
|
|
54
|
+
"static/js/50.4b6c4945.chunk.js": "/static/js/50.4b6c4945.chunk.js",
|
|
55
|
+
"static/js/51.a0453ca7.chunk.js": "/static/js/51.a0453ca7.chunk.js",
|
|
56
|
+
"static/js/52.02d806fa.chunk.js": "/static/js/52.02d806fa.chunk.js",
|
|
57
|
+
"static/js/53.2eb3a4c2.chunk.js": "/static/js/53.2eb3a4c2.chunk.js",
|
|
58
|
+
"static/js/54.d45590e9.chunk.js": "/static/js/54.d45590e9.chunk.js",
|
|
59
|
+
"static/js/55.7b65aff4.chunk.js": "/static/js/55.7b65aff4.chunk.js",
|
|
60
|
+
"static/js/56.aba293cf.chunk.js": "/static/js/56.aba293cf.chunk.js",
|
|
61
|
+
"static/js/57.fe307fff.chunk.js": "/static/js/57.fe307fff.chunk.js",
|
|
62
|
+
"static/js/58.9911af61.chunk.js": "/static/js/58.9911af61.chunk.js",
|
|
63
|
+
"static/js/59.3ece5218.chunk.js": "/static/js/59.3ece5218.chunk.js",
|
|
64
|
+
"static/js/60.8022a138.chunk.js": "/static/js/60.8022a138.chunk.js",
|
|
65
|
+
"static/js/61.aa0a68a3.chunk.js": "/static/js/61.aa0a68a3.chunk.js",
|
|
66
|
+
"static/js/62.5b759580.chunk.js": "/static/js/62.5b759580.chunk.js",
|
|
67
|
+
"static/js/63.3704ad94.chunk.js": "/static/js/63.3704ad94.chunk.js",
|
|
68
|
+
"static/js/64.a56b476c.chunk.js": "/static/js/64.a56b476c.chunk.js",
|
|
69
|
+
"static/js/65.5cb7a5a5.chunk.js": "/static/js/65.5cb7a5a5.chunk.js",
|
|
70
|
+
"static/js/66.c79fff81.chunk.js": "/static/js/66.c79fff81.chunk.js",
|
|
71
|
+
"static/js/67.fbae1306.chunk.js": "/static/js/67.fbae1306.chunk.js",
|
|
72
|
+
"static/js/68.7889a44c.chunk.js": "/static/js/68.7889a44c.chunk.js",
|
|
73
|
+
"static/js/69.39edff23.chunk.js": "/static/js/69.39edff23.chunk.js",
|
|
74
|
+
"static/js/70.16aeae57.chunk.js": "/static/js/70.16aeae57.chunk.js",
|
|
75
|
+
"static/js/71.a1d51cd4.chunk.js": "/static/js/71.a1d51cd4.chunk.js",
|
|
76
|
+
"static/js/72.27125a85.chunk.js": "/static/js/72.27125a85.chunk.js",
|
|
77
|
+
"static/js/73.e79ee491.chunk.js": "/static/js/73.e79ee491.chunk.js",
|
|
78
|
+
"static/js/74.17cd2084.chunk.js": "/static/js/74.17cd2084.chunk.js",
|
|
79
|
+
"static/js/75.804c47a0.chunk.js": "/static/js/75.804c47a0.chunk.js",
|
|
80
|
+
"static/js/76.6e339e9f.chunk.js": "/static/js/76.6e339e9f.chunk.js",
|
|
81
|
+
"static/js/77.46a6b6a0.chunk.js": "/static/js/77.46a6b6a0.chunk.js",
|
|
82
82
|
"index.html": "/index.html",
|
|
83
|
-
"static/js/4.
|
|
84
|
-
"static/js/70.
|
|
83
|
+
"static/js/4.d9f235e7.chunk.js.LICENSE.txt": "/static/js/4.d9f235e7.chunk.js.LICENSE.txt",
|
|
84
|
+
"static/js/70.16aeae57.chunk.js.LICENSE.txt": "/static/js/70.16aeae57.chunk.js.LICENSE.txt",
|
|
85
85
|
"static/media/book-solid.87f5b737.svg": "/static/media/book-solid.87f5b737.svg",
|
|
86
86
|
"static/media/codicon.css": "/static/media/codicon.0e0f4555.ttf",
|
|
87
87
|
"static/media/compact-disc-solid.55b6e50c.svg": "/static/media/compact-disc-solid.55b6e50c.svg",
|
|
@@ -102,9 +102,9 @@
|
|
|
102
102
|
"static/media/search-solid.cc51b702.svg": "/static/media/search-solid.cc51b702.svg"
|
|
103
103
|
},
|
|
104
104
|
"entrypoints": [
|
|
105
|
-
"static/js/runtime-main.
|
|
105
|
+
"static/js/runtime-main.8aa8b9eb.js",
|
|
106
106
|
"static/css/4.992ae4ff.chunk.css",
|
|
107
|
-
"static/js/4.
|
|
108
|
-
"static/js/main.
|
|
107
|
+
"static/js/4.d9f235e7.chunk.js",
|
|
108
|
+
"static/js/main.2da4214c.chunk.js"
|
|
109
109
|
]
|
|
110
110
|
}
|
package/client/index.html
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/favicon.png"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><title>Tiro</title><link href="/static/css/4.992ae4ff.chunk.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script>!function(e){function t(t){for(var n,f
|
|
1
|
+
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/favicon.png"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><title>Tiro</title><link href="/static/css/4.992ae4ff.chunk.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script>!function(e){function t(t){for(var n,o,f=t[0],u=t[1],i=t[2],l=0,b=[];l<f.length;l++)o=f[l],Object.prototype.hasOwnProperty.call(a,o)&&a[o]&&b.push(a[o][0]),a[o]=0;for(n in u)Object.prototype.hasOwnProperty.call(u,n)&&(e[n]=u[n]);for(d&&d(t);b.length;)b.shift()();return c.push.apply(c,i||[]),r()}function r(){for(var e,t=0;t<c.length;t++){for(var r=c[t],n=!0,f=1;f<r.length;f++){var u=r[f];0!==a[u]&&(n=!1)}n&&(c.splice(t--,1),e=o(o.s=r[0]))}return e}var n={},a={3:0},c=[];function o(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,o),r.l=!0,r.exports}o.e=function(e){var t=[],r=a[e];if(0!==r)if(r)t.push(r[2]);else{var n=new Promise((function(t,n){r=a[e]=[t,n]}));t.push(r[2]=n);var c,f=document.createElement("script");f.charset="utf-8",f.timeout=120,o.nc&&f.setAttribute("nonce",o.nc),f.src=function(e){return o.p+"static/js/"+({}[e]||e)+"."+{0:"c490099b",1:"d5c20c38",5:"7154c544",6:"3b3ed6b3",7:"05cc9dbd",8:"02f6f6d2",9:"0cb915ad",10:"95b2edda",11:"04e83a60",12:"23f17cae",13:"e2ce43ca",14:"d1f78332",15:"19558fb3",16:"9356c734",17:"249c76f1",18:"6f0a373c",19:"545642bc",20:"f8215841",21:"e5f7c151",22:"ed91e085",23:"7dadd977",24:"966c0e2e",25:"f5bf249a",26:"f1dbe9b2",27:"50ee22bc",28:"7a8292e6",29:"54345dda",30:"2ba035b4",31:"32245201",32:"5a19b5ee",33:"f99079cd",34:"a20b4464",35:"506e1750",36:"45194f2c",37:"6cacdf19",38:"26ac693b",39:"c4112562",40:"eeca90df",41:"7b68c511",42:"9c2c5e97",43:"5d7317a5",44:"fe9af4f2",45:"44342f11",46:"e98dbf2f",47:"7557c994",48:"6196bde4",49:"96931133",50:"4b6c4945",51:"a0453ca7",52:"02d806fa",53:"2eb3a4c2",54:"d45590e9",55:"7b65aff4",56:"aba293cf",57:"fe307fff",58:"9911af61",59:"3ece5218",60:"8022a138",61:"aa0a68a3",62:"5b759580",63:"3704ad94",64:"a56b476c",65:"5cb7a5a5",66:"c79fff81",67:"fbae1306",68:"7889a44c",69:"39edff23",70:"16aeae57",71:"a1d51cd4",72:"27125a85",73:"e79ee491",74:"17cd2084",75:"804c47a0",76:"6e339e9f",77:"46a6b6a0"}[e]+".chunk.js"}(e);var u=new Error;c=function(t){f.onerror=f.onload=null,clearTimeout(i);var r=a[e];if(0!==r){if(r){var n=t&&("load"===t.type?"missing":t.type),c=t&&t.target&&t.target.src;u.message="Loading chunk "+e+" failed.\n("+n+": "+c+")",u.name="ChunkLoadError",u.type=n,u.request=c,r[1](u)}a[e]=void 0}};var i=setTimeout((function(){c({type:"timeout",target:f})}),12e4);f.onerror=f.onload=c,document.head.appendChild(f)}return Promise.all(t)},o.m=e,o.c=n,o.d=function(e,t,r){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(o.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)o.d(r,n,function(t){return e[t]}.bind(null,n));return r},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="/",o.oe=function(e){throw console.error(e),e};var f=this["webpackJsonptiro-notes-client"]=this["webpackJsonptiro-notes-client"]||[],u=f.push.bind(f);f.push=t,f=f.slice();for(var i=0;i<f.length;i++)t(f[i]);var d=u;r()}([])</script><script src="/static/js/4.d9f235e7.chunk.js"></script><script src="/static/js/main.2da4214c.chunk.js"></script></body></html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(this["webpackJsonptiro-notes-client"]=this["webpackJsonptiro-notes-client"]||[]).push([[0],{
|
|
1
|
+
(this["webpackJsonptiro-notes-client"]=this["webpackJsonptiro-notes-client"]||[]).push([[0],{625:function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return r}));var i={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"[",close:"]"},{open:"{",close:"}"},{open:"(",close:")"},{open:"'",close:"'",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*#pragma\\s+region\\b"),end:new RegExp("^\\s*#pragma\\s+endregion\\b")}}},r={defaultToken:"",tokenPostfix:".cpp",brackets:[{token:"delimiter.curly",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"},{token:"delimiter.angle",open:"<",close:">"}],keywords:["abstract","amp","array","auto","bool","break","case","catch","char","class","const","constexpr","const_cast","continue","cpu","decltype","default","delegate","delete","do","double","dynamic_cast","each","else","enum","event","explicit","export","extern","false","final","finally","float","for","friend","gcnew","generic","goto","if","in","initonly","inline","int","interface","interior_ptr","internal","literal","long","mutable","namespace","new","noexcept","nullptr","__nullptr","operator","override","partial","pascal","pin_ptr","private","property","protected","public","ref","register","reinterpret_cast","restrict","return","safe_cast","sealed","short","signed","sizeof","static","static_assert","static_cast","struct","switch","template","this","thread_local","throw","tile_static","true","try","typedef","typeid","typename","union","unsigned","using","virtual","void","volatile","wchar_t","where","while","_asm","_based","_cdecl","_declspec","_fastcall","_if_exists","_if_not_exists","_inline","_multiple_inheritance","_pascal","_single_inheritance","_stdcall","_virtual_inheritance","_w64","__abstract","__alignof","__asm","__assume","__based","__box","__builtin_alignof","__cdecl","__clrcall","__declspec","__delegate","__event","__except","__fastcall","__finally","__forceinline","__gc","__hook","__identifier","__if_exists","__if_not_exists","__inline","__int128","__int16","__int32","__int64","__int8","__interface","__leave","__m128","__m128d","__m128i","__m256","__m256d","__m256i","__m64","__multiple_inheritance","__newslot","__nogc","__noop","__nounwind","__novtordisp","__pascal","__pin","__pragma","__property","__ptr32","__ptr64","__raise","__restrict","__resume","__sealed","__single_inheritance","__stdcall","__super","__thiscall","__try","__try_cast","__typeof","__unaligned","__unhook","__uuidof","__value","__virtual_inheritance","__w64","__wchar_t"],operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,integersuffix:/(ll|LL|u|U|l|L)?(ll|LL|u|U|l|L)?/,floatsuffix:/[fFlL]?/,encoding:/u|u8|U|L/,tokenizer:{root:[[/@encoding?R\"(?:([^ ()\\\t]*))\(/,{token:"string.raw.begin",next:"@raw.$1"}],[/[a-zA-Z_]\w*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],[/^\s*#\s*include/,{token:"keyword.directive.include",next:"@include"}],[/^\s*#\s*\w+/,"keyword.directive"],{include:"@whitespace"},[/\[\s*\[/,{token:"annotation",next:"@annotation"}],[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/\d*\d+[eE]([\-+]?\d+)?(@floatsuffix)/,"number.float"],[/\d*\.\d+([eE][\-+]?\d+)?(@floatsuffix)/,"number.float"],[/0[xX][0-9a-fA-F']*[0-9a-fA-F](@integersuffix)/,"number.hex"],[/0[0-7']*[0-7](@integersuffix)/,"number.octal"],[/0[bB][0-1']*[0-1](@integersuffix)/,"number.binary"],[/\d[\d']*\d(@integersuffix)/,"number"],[/\d(@integersuffix)/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@doccomment"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],doccomment:[[/[^\/*]+/,"comment.doc"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],raw:[[/(.*)(\))(?:([^ ()\\\t"]*))(\")/,{cases:{"$3==$S2":["string.raw","string.raw.end","string.raw.end",{token:"string.raw.end",next:"@pop"}],"@default":["string.raw","string.raw","string.raw","string.raw"]}}],[/.*/,"string.raw"]],annotation:[{include:"@whitespace"},[/using|alignas/,"keyword"],[/[a-zA-Z0-9_]+/,"annotation"],[/[,:]/,"delimiter"],[/[()]/,"@brackets"],[/\]\s*\]/,{token:"annotation",next:"@pop"}]],include:[[/(\s*)(<)([^<>]*)(>)/,["","keyword.directive.include.begin","string.include.identifier",{token:"keyword.directive.include.end",next:"@pop"}]],[/(\s*)(")([^"]*)(")/,["","keyword.directive.include.begin","string.include.identifier",{token:"keyword.directive.include.end",next:"@pop"}]]]}}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(this["webpackJsonptiro-notes-client"]=this["webpackJsonptiro-notes-client"]||[]).push([[1],{
|
|
1
|
+
(this["webpackJsonptiro-notes-client"]=this["webpackJsonptiro-notes-client"]||[]).push([[1],{681:function(e,n,i){"use strict";i.r(n),i.d(n,"conf",(function(){return t})),i.d(n,"language",(function(){return r}));var t={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"],["begin","end"],["case","endcase"],["casex","endcase"],["casez","endcase"],["checker","endchecker"],["class","endclass"],["clocking","endclocking"],["config","endconfig"],["function","endfunction"],["generate","endgenerate"],["group","endgroup"],["interface","endinterface"],["module","endmodule"],["package","endpackage"],["primitive","endprimitive"],["program","endprogram"],["property","endproperty"],["specify","endspecify"],["sequence","endsequence"],["table","endtable"],["task","endtask"]],autoClosingPairs:[{open:"[",close:"]"},{open:"{",close:"}"},{open:"(",close:")"},{open:"'",close:"'",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{offSide:!1,markers:{start:new RegExp("^(?:\\s*|.*(?!\\/[\\/\\*])[^\\w])(?:begin|case(x|z)?|class|clocking|config|covergroup|function|generate|interface|module|package|primitive|property|program|sequence|specify|table|task)\\b"),end:new RegExp("^(?:\\s*|.*(?!\\/[\\/\\*])[^\\w])(?:end|endcase|endclass|endclocking|endconfig|endgroup|endfunction|endgenerate|endinterface|endmodule|endpackage|endprimitive|endproperty|endprogram|endsequence|endspecify|endtable|endtask)\\b")}}},r={defaultToken:"",tokenPostfix:".sv",brackets:[{token:"delimiter.curly",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"},{token:"delimiter.angle",open:"<",close:">"}],keywords:["accept_on","alias","always","always_comb","always_ff","always_latch","and","assert","assign","assume","automatic","before","begin","bind","bins","binsof","bit","break","buf","bufif0","bufif1","byte","case","casex","casez","cell","chandle","checker","class","clocking","cmos","config","const","constraint","context","continue","cover","covergroup","coverpoint","cross","deassign","default","defparam","design","disable","dist","do","edge","else","end","endcase","endchecker","endclass","endclocking","endconfig","endfunction","endgenerate","endgroup","endinterface","endmodule","endpackage","endprimitive","endprogram","endproperty","endspecify","endsequence","endtable","endtask","enum","event","eventually","expect","export","extends","extern","final","first_match","for","force","foreach","forever","fork","forkjoin","function","generate","genvar","global","highz0","highz1","if","iff","ifnone","ignore_bins","illegal_bins","implements","implies","import","incdir","include","initial","inout","input","inside","instance","int","integer","interconnect","interface","intersect","join","join_any","join_none","large","let","liblist","library","local","localparam","logic","longint","macromodule","matches","medium","modport","module","nand","negedge","nettype","new","nexttime","nmos","nor","noshowcancelled","not","notif0","notif1","null","or","output","package","packed","parameter","pmos","posedge","primitive","priority","program","property","protected","pull0","pull1","pulldown","pullup","pulsestyle_ondetect","pulsestyle_onevent","pure","rand","randc","randcase","randsequence","rcmos","real","realtime","ref","reg","reject_on","release","repeat","restrict","return","rnmos","rpmos","rtran","rtranif0","rtranif1","s_always","s_eventually","s_nexttime","s_until","s_until_with","scalared","sequence","shortint","shortreal","showcancelled","signed","small","soft","solve","specify","specparam","static","string","strong","strong0","strong1","struct","super","supply0","supply1","sync_accept_on","sync_reject_on","table","tagged","task","this","throughout","time","timeprecision","timeunit","tran","tranif0","tranif1","tri","tri0","tri1","triand","trior","trireg","type","typedef","union","unique","unique0","unsigned","until","until_with","untyped","use","uwire","var","vectored","virtual","void","wait","wait_order","wand","weak","weak0","weak1","while","wildcard","wire","with","within","wor","xnor","xor"],builtin_gates:["and","nand","nor","or","xor","xnor","buf","not","bufif0","bufif1","notif1","notif0","cmos","nmos","pmos","rcmos","rnmos","rpmos","tran","tranif1","tranif0","rtran","rtranif1","rtranif0"],operators:["=","+=","-=","*=","/=","%=","&=","|=","^=","<<=",">>+","<<<=",">>>=","?",":","+","-","!","~","&","~&","|","~|","^","~^","^~","+","-","*","/","%","==","!=","===","!==","==?","!=?","&&","||","**","<","<=",">",">=","&","|","^",">>","<<",">>>","<<<","++","--","->","<->","inside","dist","::","+:","-:","*>","&&&","|->","|=>","#=#"],symbols:/[=><!~?:&|+\-*\/\^%#]+/,escapes:/%%|\\(?:[antvf\\"']|x[0-9A-Fa-f]{1,2}|[0-7]{1,3})/,identifier:/(?:[a-zA-Z_][a-zA-Z0-9_$\.]*|\\\S+ )/,systemcall:/[$][a-zA-Z0-9_]+/,timeunits:/s|ms|us|ns|ps|fs/,tokenizer:{root:[[/^(\s*)(@identifier)/,["",{cases:{"@builtin_gates":{token:"keyword.$2",next:"@module_instance"},"@keywords":{token:"keyword.$2"},"@default":{token:"identifier",next:"@module_instance"}}}]],[/^\s*`include/,{token:"keyword.directive.include",next:"@include"}],[/^\s*`\s*\w+/,"keyword"],{include:"@identifier_or_keyword"},{include:"@whitespace"},[/\(\*.*\*\)/,"annotation"],[/@systemcall/,"variable.predefined"],[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],{include:"@numbers"},[/[;,.]/,"delimiter"],{include:"@strings"}],identifier_or_keyword:[[/@identifier/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}]],numbers:[[/\d+?[\d_]*(?:\.[\d_]+)?[eE][\-+]?\d+/,"number.float"],[/\d+?[\d_]*\.[\d_]+(?:\s*@timeunits)?/,"number.float"],[/(?:\d+?[\d_]*\s*)?'[sS]?[dD]\s*[0-9xXzZ?]+?[0-9xXzZ?_]*/,"number"],[/(?:\d+?[\d_]*\s*)?'[sS]?[bB]\s*[0-1xXzZ?]+?[0-1xXzZ?_]*/,"number.binary"],[/(?:\d+?[\d_]*\s*)?'[sS]?[oO]\s*[0-7xXzZ?]+?[0-7xXzZ?_]*/,"number.octal"],[/(?:\d+?[\d_]*\s*)?'[sS]?[hH]\s*[0-9a-fA-FxXzZ?]+?[0-9a-fA-FxXzZ?_]*/,"number.hex"],[/1step/,"number"],[/[\dxXzZ]+?[\dxXzZ_]*(?:\s*@timeunits)?/,"number"],[/'[01xXzZ]+/,"number"]],module_instance:[{include:"@whitespace"},[/(#?)(\()/,["",{token:"@brackets",next:"@port_connection"}]],[/@identifier\s*[;={}\[\],]/,{token:"@rematch",next:"@pop"}],[/@symbols|[;={}\[\],]/,{token:"@rematch",next:"@pop"}],[/@identifier/,"type"],[/;/,"delimiter","@pop"]],port_connection:[{include:"@identifier_or_keyword"},{include:"@whitespace"},[/@systemcall/,"variable.predefined"],{include:"@numbers"},{include:"@strings"},[/[,]/,"delimiter"],[/\(/,"@brackets","@port_connection"],[/\)/,"@brackets","@pop"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],strings:[[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],include:[[/(\s*)(")([\w*\/*]*)(.\w*)(")/,["","string.include.identifier","string.include.identifier","string.include.identifier",{token:"string.include.identifier",next:"@pop"}]],[/(\s*)(<)([\w*\/*]*)(.\w*)(>)/,["","string.include.identifier","string.include.identifier","string.include.identifier",{token:"string.include.identifier",next:"@pop"}]]]}}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(this["webpackJsonptiro-notes-client"]=this["webpackJsonptiro-notes-client"]||[]).push([[10],{
|
|
1
|
+
(this["webpackJsonptiro-notes-client"]=this["webpackJsonptiro-notes-client"]||[]).push([[10],{618:function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return o})),n.d(t,"language",(function(){return i}));var o={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"<",close:">"}],folding:{markers:{start:new RegExp("^\\s*//\\s*(?:(?:#?region\\b)|(?:<editor-fold\\b))"),end:new RegExp("^\\s*//\\s*(?:(?:#?endregion\\b)|(?:</editor-fold>))")}}},s=[];["abstract","activate","and","any","array","as","asc","assert","autonomous","begin","bigdecimal","blob","boolean","break","bulk","by","case","cast","catch","char","class","collect","commit","const","continue","convertcurrency","decimal","default","delete","desc","do","double","else","end","enum","exception","exit","export","extends","false","final","finally","float","for","from","future","get","global","goto","group","having","hint","if","implements","import","in","inner","insert","instanceof","int","interface","into","join","last_90_days","last_month","last_n_days","last_week","like","limit","list","long","loop","map","merge","native","new","next_90_days","next_month","next_n_days","next_week","not","null","nulls","number","object","of","on","or","outer","override","package","parallel","pragma","private","protected","public","retrieve","return","returning","rollback","savepoint","search","select","set","short","sort","stat","static","strictfp","super","switch","synchronized","system","testmethod","then","this","this_month","this_week","throw","throws","today","tolabel","tomorrow","transaction","transient","trigger","true","try","type","undelete","update","upsert","using","virtual","void","volatile","webservice","when","where","while","yesterday"].forEach((function(e){s.push(e),s.push(e.toUpperCase()),s.push(function(e){return e.charAt(0).toUpperCase()+e.substr(1)}(e))}));var i={defaultToken:"",tokenPostfix:".apex",keywords:s,operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,digits:/\d+(_+\d+)*/,octaldigits:/[0-7]+(_+[0-7]+)*/,binarydigits:/[0-1]+(_+[0-1]+)*/,hexdigits:/[[0-9a-fA-F]+(_+[0-9a-fA-F]+)*/,tokenizer:{root:[[/[a-z_$][\w$]*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],[/[A-Z][\w\$]*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"type.identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/@\s*[a-zA-Z_\$][\w\$]*/,"annotation"],[/(@digits)[eE]([\-+]?(@digits))?[fFdD]?/,"number.float"],[/(@digits)\.(@digits)([eE][\-+]?(@digits))?[fFdD]?/,"number.float"],[/(@digits)[fFdD]/,"number.float"],[/(@digits)[lL]?/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/"/,"string",'@string."'],[/'/,"string","@string.'"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@apexdoc"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],apexdoc:[[/[^\/*]+/,"comment.doc"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],string:[[/[^\\"']+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/["']/,{cases:{"$#==$S2":{token:"string",next:"@pop"},"@default":"string"}}]]}}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(this["webpackJsonptiro-notes-client"]=this["webpackJsonptiro-notes-client"]||[]).push([[11],{
|
|
1
|
+
(this["webpackJsonptiro-notes-client"]=this["webpackJsonptiro-notes-client"]||[]).push([[11],{619:function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return o})),n.d(t,"language",(function(){return s}));var o={comments:{lineComment:"#"}},s={defaultToken:"keyword",ignoreCase:!0,tokenPostfix:".azcli",str:/[^#\s]/,tokenizer:{root:[{include:"@comment"},[/\s-+@str*\s*/,{cases:{"@eos":{token:"key.identifier",next:"@popall"},"@default":{token:"key.identifier",next:"@type"}}}],[/^-+@str*\s*/,{cases:{"@eos":{token:"key.identifier",next:"@popall"},"@default":{token:"key.identifier",next:"@type"}}}]],type:[{include:"@comment"},[/-+@str*\s*/,{cases:{"@eos":{token:"key.identifier",next:"@popall"},"@default":"key.identifier"}}],[/@str+\s*/,{cases:{"@eos":{token:"string",next:"@popall"},"@default":"string"}}]],comment:[[/#.*$/,{cases:{"@eos":{token:"comment",next:"@popall"}}}]]}}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(this["webpackJsonptiro-notes-client"]=this["webpackJsonptiro-notes-client"]||[]).push([[12],{
|
|
1
|
+
(this["webpackJsonptiro-notes-client"]=this["webpackJsonptiro-notes-client"]||[]).push([[12],{620:function(e,s,t){"use strict";t.r(s),t.d(s,"conf",(function(){return o})),t.d(s,"language",(function(){return n}));var o={comments:{lineComment:"REM"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}],surroundingPairs:[{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}],folding:{markers:{start:new RegExp("^\\s*(::\\s*|REM\\s+)#region"),end:new RegExp("^\\s*(::\\s*|REM\\s+)#endregion")}}},n={defaultToken:"",ignoreCase:!0,tokenPostfix:".bat",brackets:[{token:"delimiter.bracket",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"}],keywords:/call|defined|echo|errorlevel|exist|for|goto|if|pause|set|shift|start|title|not|pushd|popd/,symbols:/[=><!~?&|+\-*\/\^;\.,]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/^(\s*)(rem(?:\s.*|))$/,["","comment"]],[/(\@?)(@keywords)(?!\w)/,[{token:"keyword"},{token:"keyword.$2"}]],[/[ \t\r\n]+/,""],[/setlocal(?!\w)/,"keyword.tag-setlocal"],[/endlocal(?!\w)/,"keyword.tag-setlocal"],[/[a-zA-Z_]\w*/,""],[/:\w*/,"metatag"],[/%[^%]+%/,"variable"],[/%%[\w]+(?!\w)/,"variable"],[/[{}()\[\]]/,"@brackets"],[/@symbols/,"delimiter"],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F_]*[0-9a-fA-F]/,"number.hex"],[/\d+/,"number"],[/[;,.]/,"delimiter"],[/"/,"string",'@string."'],[/'/,"string","@string.'"]],string:[[/[^\\"'%]+/,{cases:{"@eos":{token:"string",next:"@popall"},"@default":"string"}}],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/%[\w ]+%/,"variable"],[/%%[\w]+(?!\w)/,"variable"],[/["']/,{cases:{"$#==$S2":{token:"string",next:"@pop"},"@default":"string"}}],[/$/,"string","@popall"]]}}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(this["webpackJsonptiro-notes-client"]=this["webpackJsonptiro-notes-client"]||[]).push([[13],{
|
|
1
|
+
(this["webpackJsonptiro-notes-client"]=this["webpackJsonptiro-notes-client"]||[]).push([[13],{621:function(e,n,t){"use strict";t.r(n),t.d(n,"conf",(function(){return r})),t.d(n,"language",(function(){return i}));var o="\\b"+"[_a-zA-Z][_a-zA-Z0-9]*"+"\\b",r={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"'",close:"'"},{open:"'''",close:"'''"}],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"'",close:"'",notIn:["string","comment"]},{open:"'''",close:"'''",notIn:["string","comment"]}],autoCloseBefore:":.,=}])' \n\t",indentationRules:{increaseIndentPattern:new RegExp("^((?!\\/\\/).)*(\\{[^}\"'`]*|\\([^)\"'`]*|\\[[^\\]\"'`]*)$"),decreaseIndentPattern:new RegExp("^((?!.*?\\/\\*).*\\*/)?\\s*[\\}\\]].*$")}},i={defaultToken:"",tokenPostfix:".bicep",brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"}],symbols:/[=><!~?:&|+\-*/^%]+/,keywords:["targetScope","resource","module","param","var","output","for","in","if","existing"],namedLiterals:["true","false","null"],escapes:"\\\\(u{[0-9A-Fa-f]+}|n|r|t|\\\\|'|\\${)",tokenizer:{root:[{include:"@expression"},{include:"@whitespace"}],stringVerbatim:[{regex:"(|'|'')[^']",action:{token:"string"}},{regex:"'''",action:{token:"string.quote",next:"@pop"}}],stringLiteral:[{regex:"\\${",action:{token:"delimiter.bracket",next:"@bracketCounting"}},{regex:"[^\\\\'$]+",action:{token:"string"}},{regex:"@escapes",action:{token:"string.escape"}},{regex:"\\\\.",action:{token:"string.escape.invalid"}},{regex:"'",action:{token:"string",next:"@pop"}}],bracketCounting:[{regex:"{",action:{token:"delimiter.bracket",next:"@bracketCounting"}},{regex:"}",action:{token:"delimiter.bracket",next:"@pop"}},{include:"expression"}],comment:[{regex:"[^\\*]+",action:{token:"comment"}},{regex:"\\*\\/",action:{token:"comment",next:"@pop"}},{regex:"[\\/*]",action:{token:"comment"}}],whitespace:[{regex:"[ \\t\\r\\n]"},{regex:"\\/\\*",action:{token:"comment",next:"@comment"}},{regex:"\\/\\/.*$",action:{token:"comment"}}],expression:[{regex:"'''",action:{token:"string.quote",next:"@stringVerbatim"}},{regex:"'",action:{token:"string.quote",next:"@stringLiteral"}},{regex:"[0-9]+",action:{token:"number"}},{regex:o,action:{cases:{"@keywords":{token:"keyword"},"@namedLiterals":{token:"keyword"},"@default":{token:"identifier"}}}}]}}}}]);
|