logicdn 1.0.770 → 1.0.771

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.
@@ -1,127 +1,17 @@
1
1
  #backtop {
2
- padding: 0.75em 1em;
2
+ padding: 0.75em 1em;
3
3
  }
4
4
 
5
- .google-auto-placed {
6
- display: none;
7
- }
8
-
9
- .biaoqing.quyin {
10
- margin-bottom: -.3125rem;
11
- min-height: 3.25rem;
12
- height: 1em
13
- }
14
-
15
- /*
16
- https://github.com/hakula139/UserAgent-for-Typecho
17
- https://www.zrahh.com/archives/298.html
18
- */
19
- .ua-icon {
20
- display: inline-block;
21
- width: 1pc;
22
- height: 1pc;
23
- background-size: cover;
24
- background-repeat: no-repeat;
25
- vertical-align: text-top
26
- }
27
-
28
- .icon-360 {
29
- background-image: url(https://image.baidu.com/search/down?tn=download&url=https://tva1.sinaimg.cn/large/006DZngIgy1h61ujbjepoj301s01sdfs.jpg)
30
- /* background-image: url(//www.zrahh.com/usr/uploads/2019/03/360.png) */
31
- }
32
-
33
- .icon-android {
34
- background-image: url(https://image.baidu.com/search/down?tn=download&url=https://tva1.sinaimg.cn/large/006DZngIgy1h61ul5izr0j301g01smx0.jpg);
35
- /* background-image: url(//www.zrahh.com/usr/uploads/2019/03/android.png); */
36
- height: 19px
37
- }
38
-
39
- .icon-apple {
40
- background-image: url(https://image.baidu.com/search/down?tn=download&url=https://tva1.sinaimg.cn/large/006DZngIgy1h61umi5pxwj301s01sglg.jpg)
41
- /* background-image: url(//www.zrahh.com/usr/uploads/2019/03/apple.png) */
42
- }
43
-
44
- .icon-baidu {
45
- background-image: url(https://image.baidu.com/search/down?tn=download&url=https://tva1.sinaimg.cn/large/006DZngIgy1h61umwcshhj305c05c0sz.jpg)
46
- /* background-image: url(//www.zrahh.com/usr/uploads/2019/03/baidu.png) */
47
- }
48
-
49
- .icon-chrome {
50
- background-image: url(https://image.baidu.com/search/down?tn=download&url=https://tva1.sinaimg.cn/large/006DZngIgy1h61un97ushj301s01st8m.jpg)
51
- /* background-image: url(//www.zrahh.com/usr/uploads/2019/03/chrome.png) */
52
- }
53
-
54
- .icon-edge {
55
- background-image: url(https://image.baidu.com/search/down?tn=download&url=https://tva1.sinaimg.cn/large/006DZngIgy1h61unm3eigj301s01swed.jpg)
56
- /* background-image: url(//www.zrahh.com/usr/uploads/2019/03/edge.png) */
57
- }
58
-
59
- .icon-firefox {
60
- background-image: url(https://image.baidu.com/search/down?tn=download&url=https://tva1.sinaimg.cn/large/006DZngIgy1h61uo6qhwxj301s01swee.jpg)
61
- /* background-image: url(//www.zrahh.com/usr/uploads/2019/03/firefox.png) */
62
- }
63
-
64
- .icon-google {
65
- background-image: url(https://image.baidu.com/search/down?tn=download&url=https://tva1.sinaimg.cn/large/006DZngIgy1h61uof24s5j301s01sjra.jpg)
66
- /* background-image: url(//www.zrahh.com/usr/uploads/2019/03/google.png) */
5
+ #comments .captcha-wrapper {
6
+ display: none;
67
7
  }
68
8
 
69
- .icon-ie {
70
- /* background-image: url(//www.zrahh.com/usr/uploads/2019/03/ie.png) */
71
- background-image: url(https://image.baidu.com/search/down?tn=download&url=https://tva1.sinaimg.cn/large/006DZngIgy1h61uopv5ayj301s01s0sn.jpg)
72
- }
73
-
74
- .icon-liebao {
75
- background-image: url(https://image.baidu.com/search/down?tn=download&url=https://tva1.sinaimg.cn/large/006DZngIgy1h61up9dpwvj301s01swef.jpg)
76
- /* background-image: url(//www.zrahh.com/usr/uploads/2019/03/liebao.png) */
77
- }
78
-
79
- .icon-linux {
80
- background-image: url(https://image.baidu.com/search/down?tn=download&url=https://tva1.sinaimg.cn/large/006DZngIgy1h61upkh1x0j301s01s745.jpg)
81
- /* background-image: url(//www.zrahh.com/usr/uploads/2019/03/linux.png) */
82
- }
83
-
84
- .icon-mac {
85
- /* background-image: url(//www.zrahh.com/usr/uploads/2019/03/mac.png) */
86
- background-image: url(https://image.baidu.com/search/down?tn=download&url=https://tva1.sinaimg.cn/large/006DZngIgy1h61upunrs0j301s01st8k.jpg)
87
- }
88
-
89
- .icon-opera {
90
- background-image: url(https://image.baidu.com/search/down?tn=download&url=https://tva1.sinaimg.cn/large/006DZngIgy1h61uq64vyqj301s01swed.jpg)
91
- /* background-image: url(//www.zrahh.com/usr/uploads/2019/03/opera.png) */
92
- }
93
-
94
- .icon-qq {
95
- background-image: url(https://image.baidu.com/search/down?tn=download&url=https://tva1.sinaimg.cn/large/006DZngIgy1h61uqcudapj301s01swee.jpg)
96
- /* background-image: url(//www.zrahh.com/usr/uploads/2019/03/qq.png) */
97
- }
98
-
99
- .icon-quark {
100
- background-image: url(https://image.baidu.com/search/down?tn=download&url=https://tva1.sinaimg.cn/large/006DZngIgy1h61uqjh4uqj301s01s3yf.jpg)
101
- /* background-image: url(//www.zrahh.com/usr/uploads/2019/03/quark.png) */
102
- }
103
-
104
- .icon-safari {
105
- background-image: url(https://image.baidu.com/search/down?tn=download&url=https://tva1.sinaimg.cn/large/006DZngIgy1h61uqrmc2ij301s01sglj.jpg)
106
- /* background-image: url(//www.zrahh.com/usr/uploads/2019/03/safari.png) */
107
- }
108
-
109
- .icon-ubuntu {
110
- background-image: url(https://image.baidu.com/search/down?tn=download&url=https://tva1.sinaimg.cn/large/006DZngIgy1h61uqybkf3j301s01st8l.jpg)
111
- /* background-image: url(//www.zrahh.com/usr/uploads/2019/03/ubuntu.png) */
112
- }
113
-
114
- .icon-uc {
115
- background-image: url(https://image.baidu.com/search/down?tn=download&url=https://tva1.sinaimg.cn/large/006DZngIgy1h61ureouptj301s01s747.jpg)
116
- /* background-image: url(//www.zrahh.com/usr/uploads/2019/03/uc.png) */
117
- }
118
-
119
- .icon-win1 {
120
- background-image: url(https://image.baidu.com/search/down?tn=download&url=https://tva1.sinaimg.cn/large/006DZngIgy1h61urn8th4j301s01sjra.jpg)
121
- /* background-image: url(//www.zrahh.com/usr/uploads/2019/03/win1.png) */
9
+ .google-auto-placed {
10
+ display: none;
122
11
  }
123
12
 
124
- .icon-win2 {
125
- background-image: url(https://image.baidu.com/search/down?tn=download&url=https://tva1.sinaimg.cn/large/006DZngIgy1h61uru0icyj301s01s3yd.jpg)
126
- /* background-image: url(//www.zrahh.com/usr/uploads/2019/03/win2.png) */
13
+ .biaoqing.quyin {
14
+ margin-bottom: -0.3125rem;
15
+ min-height: 3.25rem;
16
+ height: 1em;
127
17
  }
@@ -0,0 +1,131 @@
1
+ #backtop {
2
+ padding: 0.75em 1em;
3
+ }
4
+
5
+ #comments .captcha-wrapper {
6
+ display: none;
7
+ }
8
+
9
+ .google-auto-placed {
10
+ display: none;
11
+ }
12
+
13
+ .biaoqing.quyin {
14
+ margin-bottom: -0.3125rem;
15
+ min-height: 3.25rem;
16
+ height: 1em;
17
+ }
18
+
19
+ /*
20
+ https://github.com/hakula139/UserAgent-for-Typecho
21
+ https://www.zrahh.com/archives/298.html
22
+ */
23
+ .ua-icon {
24
+ display: inline-block;
25
+ width: 1pc;
26
+ height: 1pc;
27
+ background-size: cover;
28
+ background-repeat: no-repeat;
29
+ vertical-align: text-top;
30
+ }
31
+
32
+ .icon-360 {
33
+ background-image: url(https://image.baidu.com/search/down?tn=download&url=https://tva1.sinaimg.cn/large/006DZngIgy1h61ujbjepoj301s01sdfs.jpg);
34
+ /* background-image: url(//www.zrahh.com/usr/uploads/2019/03/360.png) */
35
+ }
36
+
37
+ .icon-android {
38
+ background-image: url(https://image.baidu.com/search/down?tn=download&url=https://tva1.sinaimg.cn/large/006DZngIgy1h61ul5izr0j301g01smx0.jpg);
39
+ /* background-image: url(//www.zrahh.com/usr/uploads/2019/03/android.png); */
40
+ height: 19px;
41
+ }
42
+
43
+ .icon-apple {
44
+ background-image: url(https://image.baidu.com/search/down?tn=download&url=https://tva1.sinaimg.cn/large/006DZngIgy1h61umi5pxwj301s01sglg.jpg);
45
+ /* background-image: url(//www.zrahh.com/usr/uploads/2019/03/apple.png) */
46
+ }
47
+
48
+ .icon-baidu {
49
+ background-image: url(https://image.baidu.com/search/down?tn=download&url=https://tva1.sinaimg.cn/large/006DZngIgy1h61umwcshhj305c05c0sz.jpg);
50
+ /* background-image: url(//www.zrahh.com/usr/uploads/2019/03/baidu.png) */
51
+ }
52
+
53
+ .icon-chrome {
54
+ background-image: url(https://image.baidu.com/search/down?tn=download&url=https://tva1.sinaimg.cn/large/006DZngIgy1h61un97ushj301s01st8m.jpg);
55
+ /* background-image: url(//www.zrahh.com/usr/uploads/2019/03/chrome.png) */
56
+ }
57
+
58
+ .icon-edge {
59
+ background-image: url(https://image.baidu.com/search/down?tn=download&url=https://tva1.sinaimg.cn/large/006DZngIgy1h61unm3eigj301s01swed.jpg);
60
+ /* background-image: url(//www.zrahh.com/usr/uploads/2019/03/edge.png) */
61
+ }
62
+
63
+ .icon-firefox {
64
+ background-image: url(https://image.baidu.com/search/down?tn=download&url=https://tva1.sinaimg.cn/large/006DZngIgy1h61uo6qhwxj301s01swee.jpg);
65
+ /* background-image: url(//www.zrahh.com/usr/uploads/2019/03/firefox.png) */
66
+ }
67
+
68
+ .icon-google {
69
+ background-image: url(https://image.baidu.com/search/down?tn=download&url=https://tva1.sinaimg.cn/large/006DZngIgy1h61uof24s5j301s01sjra.jpg);
70
+ /* background-image: url(//www.zrahh.com/usr/uploads/2019/03/google.png) */
71
+ }
72
+
73
+ .icon-ie {
74
+ /* background-image: url(//www.zrahh.com/usr/uploads/2019/03/ie.png) */
75
+ background-image: url(https://image.baidu.com/search/down?tn=download&url=https://tva1.sinaimg.cn/large/006DZngIgy1h61uopv5ayj301s01s0sn.jpg);
76
+ }
77
+
78
+ .icon-liebao {
79
+ background-image: url(https://image.baidu.com/search/down?tn=download&url=https://tva1.sinaimg.cn/large/006DZngIgy1h61up9dpwvj301s01swef.jpg);
80
+ /* background-image: url(//www.zrahh.com/usr/uploads/2019/03/liebao.png) */
81
+ }
82
+
83
+ .icon-linux {
84
+ background-image: url(https://image.baidu.com/search/down?tn=download&url=https://tva1.sinaimg.cn/large/006DZngIgy1h61upkh1x0j301s01s745.jpg);
85
+ /* background-image: url(//www.zrahh.com/usr/uploads/2019/03/linux.png) */
86
+ }
87
+
88
+ .icon-mac {
89
+ /* background-image: url(//www.zrahh.com/usr/uploads/2019/03/mac.png) */
90
+ background-image: url(https://image.baidu.com/search/down?tn=download&url=https://tva1.sinaimg.cn/large/006DZngIgy1h61upunrs0j301s01st8k.jpg);
91
+ }
92
+
93
+ .icon-opera {
94
+ background-image: url(https://image.baidu.com/search/down?tn=download&url=https://tva1.sinaimg.cn/large/006DZngIgy1h61uq64vyqj301s01swed.jpg);
95
+ /* background-image: url(//www.zrahh.com/usr/uploads/2019/03/opera.png) */
96
+ }
97
+
98
+ .icon-qq {
99
+ background-image: url(https://image.baidu.com/search/down?tn=download&url=https://tva1.sinaimg.cn/large/006DZngIgy1h61uqcudapj301s01swee.jpg);
100
+ /* background-image: url(//www.zrahh.com/usr/uploads/2019/03/qq.png) */
101
+ }
102
+
103
+ .icon-quark {
104
+ background-image: url(https://image.baidu.com/search/down?tn=download&url=https://tva1.sinaimg.cn/large/006DZngIgy1h61uqjh4uqj301s01s3yf.jpg);
105
+ /* background-image: url(//www.zrahh.com/usr/uploads/2019/03/quark.png) */
106
+ }
107
+
108
+ .icon-safari {
109
+ background-image: url(https://image.baidu.com/search/down?tn=download&url=https://tva1.sinaimg.cn/large/006DZngIgy1h61uqrmc2ij301s01sglj.jpg);
110
+ /* background-image: url(//www.zrahh.com/usr/uploads/2019/03/safari.png) */
111
+ }
112
+
113
+ .icon-ubuntu {
114
+ background-image: url(https://image.baidu.com/search/down?tn=download&url=https://tva1.sinaimg.cn/large/006DZngIgy1h61uqybkf3j301s01st8l.jpg);
115
+ /* background-image: url(//www.zrahh.com/usr/uploads/2019/03/ubuntu.png) */
116
+ }
117
+
118
+ .icon-uc {
119
+ background-image: url(https://image.baidu.com/search/down?tn=download&url=https://tva1.sinaimg.cn/large/006DZngIgy1h61ureouptj301s01s747.jpg);
120
+ /* background-image: url(//www.zrahh.com/usr/uploads/2019/03/uc.png) */
121
+ }
122
+
123
+ .icon-win1 {
124
+ background-image: url(https://image.baidu.com/search/down?tn=download&url=https://tva1.sinaimg.cn/large/006DZngIgy1h61urn8th4j301s01sjra.jpg);
125
+ /* background-image: url(//www.zrahh.com/usr/uploads/2019/03/win1.png) */
126
+ }
127
+
128
+ .icon-win2 {
129
+ background-image: url(https://image.baidu.com/search/down?tn=download&url=https://tva1.sinaimg.cn/large/006DZngIgy1h61uru0icyj301s01s3yd.jpg);
130
+ /* background-image: url(//www.zrahh.com/usr/uploads/2019/03/win2.png) */
131
+ }
@@ -7,11 +7,12 @@
7
7
  npmGlobal: 'https://cdn.cbd.int',
8
8
  npmChinaPackage: 'logicdn@1.0.0',
9
9
  npmGlobalPackage: 'logicdn@1.0.765',
10
- forwardService: 'https://cd.logi.im/services/serverless/forward/?url=',
10
+ forwardService: 'https://pg.logi.im/forward/?url=',
11
11
  // danmakuService: `${location.origin}/danmaku/`,
12
12
  // danmakuService: 'https://dplayer.moerats.com/',
13
- danmakuService: 'https://angustar.tech/api/dplayer/',
14
- boringAvatarsService: 'https://source.boringavatars.com',
13
+ danmakuService: 'https://angustar.com/api/dplayer/',
14
+ // boringAvatarsService: 'https://source.boringavatars.com',
15
+ boringAvatarsService: 'https://boringavatars.vercel.app',
15
16
  };
16
17
 
17
18
  for (const [k, v] of Object.entries(window.SITE_CONFIG || {})) {
@@ -40,6 +41,7 @@
40
41
  initOuterLinkInComment();
41
42
  initPJAX();
42
43
  expandTOC();
44
+ initCaptchaLoader();
43
45
  };
44
46
  }
45
47
 
@@ -58,6 +60,7 @@
58
60
  sayHello();
59
61
  initFriendLinks();
60
62
  expandTOC();
63
+ initCaptchaLoader();
61
64
  //initGoogleAdsense();
62
65
  });
63
66
 
@@ -471,7 +474,12 @@
471
474
 
472
475
  const render = (data) => {
473
476
  function randomAvatar(suffix) {
474
- return `${CONFIG.boringAvatarsService}/beam/200/${btoa(suffix)}`;
477
+ // return `${CONFIG.boringAvatarsService}/beam/200/${btoa(suffix)}`;
478
+ return `${CONFIG.forwardService}${
479
+ CONFIG.boringAvatarsService
480
+ }/api?variant=beam&colors=EFD9B4,D6A692,A39081,4D6160,292522&size=200&name=${btoa(
481
+ suffix
482
+ )}`;
475
483
  }
476
484
 
477
485
  const online = generateHTMLElement(`<div class="link-box"></div>`);
@@ -498,7 +506,7 @@
498
506
  ? `${CONFIG.npmGlobal}/${CONFIG.npmGlobalPackage}/logi.im/api/` +
499
507
  friend.avatar
500
508
  : randomAvatar(friend.avatar)
501
- }?t=${Date.now()}" alt="${friend.name}">
509
+ }" alt="${friend.name}">
502
510
  </div>
503
511
  <div class="content status ${
504
512
  friend.untracked
@@ -1035,6 +1043,15 @@
1035
1043
  }
1036
1044
  }
1037
1045
 
1046
+ // 动态加载验证码
1047
+ function initCaptchaLoader() {
1048
+ const submitBtn = document.querySelector('#comment-form #submit.button');
1049
+ const captcha = document.querySelector('#comments .captcha-wrapper');
1050
+ if (!submitBtn || !captcha) return;
1051
+
1052
+ submitBtn.addEventListener('click', () => (captcha.style.display = 'grid'));
1053
+ }
1054
+
1038
1055
  // APlayer API
1039
1056
  window.aplayers = window.aplayers || [];
1040
1057
  window.initAplayer = initAplayer;
@@ -1,202 +1,6 @@
1
- hljs.registerLanguage("dos", function (e) {
2
- var r = e.C(/^\s*@?rem\b/, /$/, {
3
- r: 10
4
- });
5
- return {
6
- aliases: ["bat", "cmd"],
7
- cI: !0,
8
- i: /\/\*/,
9
- k: {
10
- keyword: "if else goto for in do call exit not exist errorlevel defined equ neq lss leq gtr geq",
11
- built_in: "prn nul lpt3 lpt2 lpt1 con com4 com3 com2 com1 aux shift cd dir echo setlocal endlocal set pause copy append assoc at attrib break cacls cd chcp chdir chkdsk chkntfs cls cmd color comp compact convert date dir diskcomp diskcopy doskey erase fs find findstr format ftype graftabl help keyb label md mkdir mode more move path pause print popd pushd promt rd recover rem rename replace restore rmdir shiftsort start subst time title tree type ver verify vol ping net ipconfig taskkill xcopy ren del"
12
- },
13
- c: [{
14
- cN: "variable",
15
- b: /%%[^ ]|%[^ ]+?%|![^ ]+?!/
16
- }, {
17
- cN: "function",
18
- b: "^\\s*[A-Za-z._?][A-Za-z0-9_$#@~.?]*(:|\\s+label)",
19
- e: "goto:eof",
20
- c: [e.inherit(e.TM, {
21
- b: "([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"
22
- }), r]
23
- }, {
24
- cN: "number",
25
- b: "\\b\\d+",
26
- r: 0
27
- }, r]
28
- }
29
- });
30
- hljs.registerLanguage("powershell", function (e) {
31
- var t = {
32
- b: "`[\\s\\S]",
33
- r: 0
34
- },
35
- o = {
36
- cN: "variable",
37
- v: [{
38
- b: /\$[\w\d][\w\d_:]*/
39
- }]
40
- },
41
- r = {
42
- cN: "string",
43
- v: [{
44
- b: /"/,
45
- e: /"/
46
- }, {
47
- b: /@"/,
48
- e: /^"@/
49
- }],
50
- c: [t, o, {
51
- cN: "variable",
52
- b: /\$[A-z]/,
53
- e: /[^A-z]/
54
- }]
55
- },
56
- n = e.inherit(e.C(null, null), {
57
- v: [{
58
- b: /#/,
59
- e: /$/
60
- }, {
61
- b: /<#/,
62
- e: /#>/
63
- }],
64
- c: [{
65
- cN: "doctag",
66
- v: [{
67
- b: /\.(synopsis|description|example|inputs|outputs|notes|link|component|role|functionality)/
68
- }, {
69
- b: /\.(parameter|forwardhelptargetname|forwardhelpcategory|remotehelprunspace|externalhelp)\s+\S+/
70
- }]
71
- }]
72
- });
73
- return {
74
- aliases: ["ps"],
75
- l: /-?[A-z\.\-]+/,
76
- cI: !0,
77
- k: {
78
- keyword: "if else foreach return function do while until elseif begin for trap data dynamicparam end break throw param continue finally in switch exit filter try process catch",
79
- built_in: "Add-Computer Add-Content Add-History Add-JobTrigger Add-Member Add-PSSnapin Add-Type Checkpoint-Computer Clear-Content Clear-EventLog Clear-History Clear-Host Clear-Item Clear-ItemProperty Clear-Variable Compare-Object Complete-Transaction Connect-PSSession Connect-WSMan Convert-Path ConvertFrom-Csv ConvertFrom-Json ConvertFrom-SecureString ConvertFrom-StringData ConvertTo-Csv ConvertTo-Html ConvertTo-Json ConvertTo-SecureString ConvertTo-Xml Copy-Item Copy-ItemProperty Debug-Process Disable-ComputerRestore Disable-JobTrigger Disable-PSBreakpoint Disable-PSRemoting Disable-PSSessionConfiguration Disable-WSManCredSSP Disconnect-PSSession Disconnect-WSMan Disable-ScheduledJob Enable-ComputerRestore Enable-JobTrigger Enable-PSBreakpoint Enable-PSRemoting Enable-PSSessionConfiguration Enable-ScheduledJob Enable-WSManCredSSP Enter-PSSession Exit-PSSession Export-Alias Export-Clixml Export-Console Export-Counter Export-Csv Export-FormatData Export-ModuleMember Export-PSSession ForEach-Object Format-Custom Format-List Format-Table Format-Wide Get-Acl Get-Alias Get-AuthenticodeSignature Get-ChildItem Get-Command Get-ComputerRestorePoint Get-Content Get-ControlPanelItem Get-Counter Get-Credential Get-Culture Get-Date Get-Event Get-EventLog Get-EventSubscriber Get-ExecutionPolicy Get-FormatData Get-Host Get-HotFix Get-Help Get-History Get-IseSnippet Get-Item Get-ItemProperty Get-Job Get-JobTrigger Get-Location Get-Member Get-Module Get-PfxCertificate Get-Process Get-PSBreakpoint Get-PSCallStack Get-PSDrive Get-PSProvider Get-PSSession Get-PSSessionConfiguration Get-PSSnapin Get-Random Get-ScheduledJob Get-ScheduledJobOption Get-Service Get-TraceSource Get-Transaction Get-TypeData Get-UICulture Get-Unique Get-Variable Get-Verb Get-WinEvent Get-WmiObject Get-WSManCredSSP Get-WSManInstance Group-Object Import-Alias Import-Clixml Import-Counter Import-Csv Import-IseSnippet Import-LocalizedData Import-PSSession Import-Module Invoke-AsWorkflow Invoke-Command Invoke-Expression Invoke-History Invoke-Item Invoke-RestMethod Invoke-WebRequest Invoke-WmiMethod Invoke-WSManAction Join-Path Limit-EventLog Measure-Command Measure-Object Move-Item Move-ItemProperty New-Alias New-Event New-EventLog New-IseSnippet New-Item New-ItemProperty New-JobTrigger New-Object New-Module New-ModuleManifest New-PSDrive New-PSSession New-PSSessionConfigurationFile New-PSSessionOption New-PSTransportOption New-PSWorkflowExecutionOption New-PSWorkflowSession New-ScheduledJobOption New-Service New-TimeSpan New-Variable New-WebServiceProxy New-WinEvent New-WSManInstance New-WSManSessionOption Out-Default Out-File Out-GridView Out-Host Out-Null Out-Printer Out-String Pop-Location Push-Location Read-Host Receive-Job Register-EngineEvent Register-ObjectEvent Register-PSSessionConfiguration Register-ScheduledJob Register-WmiEvent Remove-Computer Remove-Event Remove-EventLog Remove-Item Remove-ItemProperty Remove-Job Remove-JobTrigger Remove-Module Remove-PSBreakpoint Remove-PSDrive Remove-PSSession Remove-PSSnapin Remove-TypeData Remove-Variable Remove-WmiObject Remove-WSManInstance Rename-Computer Rename-Item Rename-ItemProperty Reset-ComputerMachinePassword Resolve-Path Restart-Computer Restart-Service Restore-Computer Resume-Job Resume-Service Save-Help Select-Object Select-String Select-Xml Send-MailMessage Set-Acl Set-Alias Set-AuthenticodeSignature Set-Content Set-Date Set-ExecutionPolicy Set-Item Set-ItemProperty Set-JobTrigger Set-Location Set-PSBreakpoint Set-PSDebug Set-PSSessionConfiguration Set-ScheduledJob Set-ScheduledJobOption Set-Service Set-StrictMode Set-TraceSource Set-Variable Set-WmiInstance Set-WSManInstance Set-WSManQuickConfig Show-Command Show-ControlPanelItem Show-EventLog Sort-Object Split-Path Start-Job Start-Process Start-Service Start-Sleep Start-Transaction Start-Transcript Stop-Computer Stop-Job Stop-Process Stop-Service Stop-Transcript Suspend-Job Suspend-Service Tee-Object Test-ComputerSecureChannel Test-Connection Test-ModuleManifest Test-Path Test-PSSessionConfigurationFile Trace-Command Unblock-File Undo-Transaction Unregister-Event Unregister-PSSessionConfiguration Unregister-ScheduledJob Update-FormatData Update-Help Update-List Update-TypeData Use-Transaction Wait-Event Wait-Job Wait-Process Where-Object Write-Debug Write-Error Write-EventLog Write-Host Write-Output Write-Progress Write-Verbose Write-Warning Add-MDTPersistentDrive Disable-MDTMonitorService Enable-MDTMonitorService Get-MDTDeploymentShareStatistics Get-MDTMonitorData Get-MDTOperatingSystemCatalog Get-MDTPersistentDrive Import-MDTApplication Import-MDTDriver Import-MDTOperatingSystem Import-MDTPackage Import-MDTTaskSequence New-MDTDatabase Remove-MDTMonitorData Remove-MDTPersistentDrive Restore-MDTPersistentDrive Set-MDTMonitorData Test-MDTDeploymentShare Test-MDTMonitorData Update-MDTDatabaseSchema Update-MDTDeploymentShare Update-MDTLinkedDS Update-MDTMedia Update-MDTMedia Add-VamtProductKey Export-VamtData Find-VamtManagedMachine Get-VamtConfirmationId Get-VamtProduct Get-VamtProductKey Import-VamtData Initialize-VamtData Install-VamtConfirmationId Install-VamtProductActivation Install-VamtProductKey Update-VamtProduct",
80
- nomarkup: "-ne -eq -lt -gt -ge -le -not -like -notlike -match -notmatch -contains -notcontains -in -notin -replace"
81
- },
82
- c: [t, e.NM, r, {
83
- cN: "string",
84
- v: [{
85
- b: /'/,
86
- e: /'/
87
- }, {
88
- b: /@'/,
89
- e: /^'@/
90
- }]
91
- }, {
92
- cN: "literal",
93
- b: /\$(null|true|false)\b/
94
- }, o, n]
95
- }
96
- });
97
- hljs.registerLanguage("vbscript", function (e) {
98
- return {
99
- aliases: ["vbs"],
100
- cI: !0,
101
- k: {
102
- keyword: "call class const dim do loop erase execute executeglobal exit for each next function if then else on error option explicit new private property let get public randomize redim rem select case set stop sub while wend with end to elseif is or xor and not class_initialize class_terminate default preserve in me byval byref step resume goto",
103
- built_in: "lcase month vartype instrrev ubound setlocale getobject rgb getref string weekdayname rnd dateadd monthname now day minute isarray cbool round formatcurrency conversions csng timevalue second year space abs clng timeserial fixs len asc isempty maths dateserial atn timer isobject filter weekday datevalue ccur isdate instr datediff formatdatetime replace isnull right sgn array snumeric log cdbl hex chr lbound msgbox ucase getlocale cos cdate cbyte rtrim join hour oct typename trim strcomp int createobject loadpicture tan formatnumber mid scriptenginebuildversion scriptengine split scriptengineminorversion cint sin datepart ltrim sqr scriptenginemajorversion time derived eval date formatpercent exp inputbox left ascw chrw regexp server response request cstr err",
104
- literal: "true false null nothing empty"
105
- },
106
- i: "//",
107
- c: [e.inherit(e.QSM, {
108
- c: [{
109
- b: '""'
110
- }]
111
- }), e.C(/'/, /$/, {
112
- r: 0
113
- }), e.CNM]
114
- }
115
- });
116
- hljs.registerLanguage("nginx", function (e) {
117
- var r = {
118
- cN: "variable",
119
- v: [{
120
- b: /\$\d+/
121
- }, {
122
- b: /\$\{/,
123
- e: /}/
124
- }, {
125
- b: "[\\$\\@]" + e.UIR
126
- }]
127
- },
128
- b = {
129
- eW: !0,
130
- l: "[a-z/_]+",
131
- k: {
132
- literal: "on off yes no true false none blocked debug info notice warn error crit select break last permanent redirect kqueue rtsig epoll poll /dev/poll"
133
- },
134
- r: 0,
135
- i: "=>",
136
- c: [e.HCM, {
137
- cN: "string",
138
- c: [e.BE, r],
139
- v: [{
140
- b: /"/,
141
- e: /"/
142
- }, {
143
- b: /'/,
144
- e: /'/
145
- }]
146
- }, {
147
- b: "([a-z]+):/",
148
- e: "\\s",
149
- eW: !0,
150
- eE: !0,
151
- c: [r]
152
- }, {
153
- cN: "regexp",
154
- c: [e.BE, r],
155
- v: [{
156
- b: "\\s\\^",
157
- e: "\\s|{|;",
158
- rE: !0
159
- }, {
160
- b: "~\\*?\\s+",
161
- e: "\\s|{|;",
162
- rE: !0
163
- }, {
164
- b: "\\*(\\.[a-z\\-]+)+"
165
- }, {
166
- b: "([a-z\\-]+\\.)+\\*"
167
- }]
168
- }, {
169
- cN: "number",
170
- b: "\\b\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}(:\\d{1,5})?\\b"
171
- }, {
172
- cN: "number",
173
- b: "\\b\\d+[kKmMgGdshdwy]*\\b",
174
- r: 0
175
- }, r]
176
- };
177
- return {
178
- aliases: ["nginxconf"],
179
- c: [e.HCM, {
180
- b: e.UIR + "\\s+{",
181
- rB: !0,
182
- e: "{",
183
- c: [{
184
- cN: "section",
185
- b: e.UIR
186
- }],
187
- r: 0
188
- }, {
189
- b: e.UIR + "\\s",
190
- e: ";|{",
191
- rB: !0,
192
- c: [{
193
- cN: "attribute",
194
- b: e.UIR,
195
- starts: b
196
- }],
197
- r: 0
198
- }],
199
- i: "[^\\s\\}]"
200
- }
201
- });
202
- hljs.registerLanguage("go",function(e){var t={keyword:"break default func interface select case map struct chan else goto package switch const fallthrough if range type continue for import return var go defer bool byte complex64 complex128 float32 float64 int8 int16 int32 int64 string uint8 uint16 uint32 uint64 int uint uintptr rune",literal:"true false iota nil",built_in:"append cap close complex copy imag len make new panic print println real recover delete"};return{aliases:["golang"],k:t,i:"</",c:[e.CLCM,e.CBCM,{cN:"string",v:[e.QSM,{b:"'",e:"[^\\\\]'"},{b:"`",e:"`"}]},{cN:"number",v:[{b:e.CNR+"[dflsi]",r:1},e.CNM]},{b:/:=/},{cN:"function",bK:"func",e:/\s*\{/,eE:!0,c:[e.TM,{cN:"params",b:/\(/,e:/\)/,k:t,i:/["']/}]}]}});
1
+ hljs.registerLanguage("dos",function(e){var r=e.C(/^\s*@?rem\b/,/$/,{r:10});return{aliases:["bat","cmd"],cI:!0,i:/\/\*/,k:{keyword:"if else goto for in do call exit not exist errorlevel defined equ neq lss leq gtr geq",built_in:"prn nul lpt3 lpt2 lpt1 con com4 com3 com2 com1 aux shift cd dir echo setlocal endlocal set pause copy append assoc at attrib break cacls cd chcp chdir chkdsk chkntfs cls cmd color comp compact convert date dir diskcomp diskcopy doskey erase fs find findstr format ftype graftabl help keyb label md mkdir mode more move path pause print popd pushd promt rd recover rem rename replace restore rmdir shiftsort start subst time title tree type ver verify vol ping net ipconfig taskkill xcopy ren del"},c:[{cN:"variable",b:/%%[^ ]|%[^ ]+?%|![^ ]+?!/},{cN:"function",b:"^\\s*[A-Za-z._?][A-Za-z0-9_$#@~.?]*(:|\\s+label)",e:"goto:eof",c:[e.inherit(e.TM,{b:"([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"}),r]},{cN:"number",b:"\\b\\d+",r:0},r]}});
2
+ hljs.registerLanguage("powershell",function(e){var t={b:"`[\\s\\S]",r:0},o={cN:"variable",v:[{b:/\$[\w\d][\w\d_:]*/}]},r={cN:"string",v:[{b:/"/,e:/"/},{b:/@"/,e:/^"@/}],c:[t,o,{cN:"variable",b:/\$[A-z]/,e:/[^A-z]/}]},n=e.inherit(e.C(null,null),{v:[{b:/#/,e:/$/},{b:/<#/,e:/#>/}],c:[{cN:"doctag",v:[{b:/\.(synopsis|description|example|inputs|outputs|notes|link|component|role|functionality)/},{b:/\.(parameter|forwardhelptargetname|forwardhelpcategory|remotehelprunspace|externalhelp)\s+\S+/}]}]});return{aliases:["ps"],l:/-?[A-z\.\-]+/,cI:!0,k:{keyword:"if else foreach return function do while until elseif begin for trap data dynamicparam end break throw param continue finally in switch exit filter try process catch",built_in:"Add-Computer Add-Content Add-History Add-JobTrigger Add-Member Add-PSSnapin Add-Type Checkpoint-Computer Clear-Content Clear-EventLog Clear-History Clear-Host Clear-Item Clear-ItemProperty Clear-Variable Compare-Object Complete-Transaction Connect-PSSession Connect-WSMan Convert-Path ConvertFrom-Csv ConvertFrom-Json ConvertFrom-SecureString ConvertFrom-StringData ConvertTo-Csv ConvertTo-Html ConvertTo-Json ConvertTo-SecureString ConvertTo-Xml Copy-Item Copy-ItemProperty Debug-Process Disable-ComputerRestore Disable-JobTrigger Disable-PSBreakpoint Disable-PSRemoting Disable-PSSessionConfiguration Disable-WSManCredSSP Disconnect-PSSession Disconnect-WSMan Disable-ScheduledJob Enable-ComputerRestore Enable-JobTrigger Enable-PSBreakpoint Enable-PSRemoting Enable-PSSessionConfiguration Enable-ScheduledJob Enable-WSManCredSSP Enter-PSSession Exit-PSSession Export-Alias Export-Clixml Export-Console Export-Counter Export-Csv Export-FormatData Export-ModuleMember Export-PSSession ForEach-Object Format-Custom Format-List Format-Table Format-Wide Get-Acl Get-Alias Get-AuthenticodeSignature Get-ChildItem Get-Command Get-ComputerRestorePoint Get-Content Get-ControlPanelItem Get-Counter Get-Credential Get-Culture Get-Date Get-Event Get-EventLog Get-EventSubscriber Get-ExecutionPolicy Get-FormatData Get-Host Get-HotFix Get-Help Get-History Get-IseSnippet Get-Item Get-ItemProperty Get-Job Get-JobTrigger Get-Location Get-Member Get-Module Get-PfxCertificate Get-Process Get-PSBreakpoint Get-PSCallStack Get-PSDrive Get-PSProvider Get-PSSession Get-PSSessionConfiguration Get-PSSnapin Get-Random Get-ScheduledJob Get-ScheduledJobOption Get-Service Get-TraceSource Get-Transaction Get-TypeData Get-UICulture Get-Unique Get-Variable Get-Verb Get-WinEvent Get-WmiObject Get-WSManCredSSP Get-WSManInstance Group-Object Import-Alias Import-Clixml Import-Counter Import-Csv Import-IseSnippet Import-LocalizedData Import-PSSession Import-Module Invoke-AsWorkflow Invoke-Command Invoke-Expression Invoke-History Invoke-Item Invoke-RestMethod Invoke-WebRequest Invoke-WmiMethod Invoke-WSManAction Join-Path Limit-EventLog Measure-Command Measure-Object Move-Item Move-ItemProperty New-Alias New-Event New-EventLog New-IseSnippet New-Item New-ItemProperty New-JobTrigger New-Object New-Module New-ModuleManifest New-PSDrive New-PSSession New-PSSessionConfigurationFile New-PSSessionOption New-PSTransportOption New-PSWorkflowExecutionOption New-PSWorkflowSession New-ScheduledJobOption New-Service New-TimeSpan New-Variable New-WebServiceProxy New-WinEvent New-WSManInstance New-WSManSessionOption Out-Default Out-File Out-GridView Out-Host Out-Null Out-Printer Out-String Pop-Location Push-Location Read-Host Receive-Job Register-EngineEvent Register-ObjectEvent Register-PSSessionConfiguration Register-ScheduledJob Register-WmiEvent Remove-Computer Remove-Event Remove-EventLog Remove-Item Remove-ItemProperty Remove-Job Remove-JobTrigger Remove-Module Remove-PSBreakpoint Remove-PSDrive Remove-PSSession Remove-PSSnapin Remove-TypeData Remove-Variable Remove-WmiObject Remove-WSManInstance Rename-Computer Rename-Item Rename-ItemProperty Reset-ComputerMachinePassword Resolve-Path Restart-Computer Restart-Service Restore-Computer Resume-Job Resume-Service Save-Help Select-Object Select-String Select-Xml Send-MailMessage Set-Acl Set-Alias Set-AuthenticodeSignature Set-Content Set-Date Set-ExecutionPolicy Set-Item Set-ItemProperty Set-JobTrigger Set-Location Set-PSBreakpoint Set-PSDebug Set-PSSessionConfiguration Set-ScheduledJob Set-ScheduledJobOption Set-Service Set-StrictMode Set-TraceSource Set-Variable Set-WmiInstance Set-WSManInstance Set-WSManQuickConfig Show-Command Show-ControlPanelItem Show-EventLog Sort-Object Split-Path Start-Job Start-Process Start-Service Start-Sleep Start-Transaction Start-Transcript Stop-Computer Stop-Job Stop-Process Stop-Service Stop-Transcript Suspend-Job Suspend-Service Tee-Object Test-ComputerSecureChannel Test-Connection Test-ModuleManifest Test-Path Test-PSSessionConfigurationFile Trace-Command Unblock-File Undo-Transaction Unregister-Event Unregister-PSSessionConfiguration Unregister-ScheduledJob Update-FormatData Update-Help Update-List Update-TypeData Use-Transaction Wait-Event Wait-Job Wait-Process Where-Object Write-Debug Write-Error Write-EventLog Write-Host Write-Output Write-Progress Write-Verbose Write-Warning Add-MDTPersistentDrive Disable-MDTMonitorService Enable-MDTMonitorService Get-MDTDeploymentShareStatistics Get-MDTMonitorData Get-MDTOperatingSystemCatalog Get-MDTPersistentDrive Import-MDTApplication Import-MDTDriver Import-MDTOperatingSystem Import-MDTPackage Import-MDTTaskSequence New-MDTDatabase Remove-MDTMonitorData Remove-MDTPersistentDrive Restore-MDTPersistentDrive Set-MDTMonitorData Test-MDTDeploymentShare Test-MDTMonitorData Update-MDTDatabaseSchema Update-MDTDeploymentShare Update-MDTLinkedDS Update-MDTMedia Update-MDTMedia Add-VamtProductKey Export-VamtData Find-VamtManagedMachine Get-VamtConfirmationId Get-VamtProduct Get-VamtProductKey Import-VamtData Initialize-VamtData Install-VamtConfirmationId Install-VamtProductActivation Install-VamtProductKey Update-VamtProduct",nomarkup:"-ne -eq -lt -gt -ge -le -not -like -notlike -match -notmatch -contains -notcontains -in -notin -replace"},c:[t,e.NM,r,{cN:"string",v:[{b:/'/,e:/'/},{b:/@'/,e:/^'@/}]},{cN:"literal",b:/\$(null|true|false)\b/},o,n]}});
3
+ hljs.registerLanguage("vbscript",function(e){return{aliases:["vbs"],cI:!0,k:{keyword:"call class const dim do loop erase execute executeglobal exit for each next function if then else on error option explicit new private property let get public randomize redim rem select case set stop sub while wend with end to elseif is or xor and not class_initialize class_terminate default preserve in me byval byref step resume goto",built_in:"lcase month vartype instrrev ubound setlocale getobject rgb getref string weekdayname rnd dateadd monthname now day minute isarray cbool round formatcurrency conversions csng timevalue second year space abs clng timeserial fixs len asc isempty maths dateserial atn timer isobject filter weekday datevalue ccur isdate instr datediff formatdatetime replace isnull right sgn array snumeric log cdbl hex chr lbound msgbox ucase getlocale cos cdate cbyte rtrim join hour oct typename trim strcomp int createobject loadpicture tan formatnumber mid scriptenginebuildversion scriptengine split scriptengineminorversion cint sin datepart ltrim sqr scriptenginemajorversion time derived eval date formatpercent exp inputbox left ascw chrw regexp server response request cstr err",literal:"true false null nothing empty"},i:"//",c:[e.inherit(e.QSM,{c:[{b:'""'}]}),e.C(/'/,/$/,{r:0}),e.CNM]}});
4
+ hljs.registerLanguage("nginx",function(e){var r={cN:"variable",v:[{b:/\$\d+/},{b:/\$\{/,e:/}/},{b:"[\\$\\@]"+e.UIR}]},b={eW:!0,l:"[a-z/_]+",k:{literal:"on off yes no true false none blocked debug info notice warn error crit select break last permanent redirect kqueue rtsig epoll poll /dev/poll"},r:0,i:"=>",c:[e.HCM,{cN:"string",c:[e.BE,r],v:[{b:/"/,e:/"/},{b:/'/,e:/'/}]},{b:"([a-z]+):/",e:"\\s",eW:!0,eE:!0,c:[r]},{cN:"regexp",c:[e.BE,r],v:[{b:"\\s\\^",e:"\\s|{|;",rE:!0},{b:"~\\*?\\s+",e:"\\s|{|;",rE:!0},{b:"\\*(\\.[a-z\\-]+)+"},{b:"([a-z\\-]+\\.)+\\*"}]},{cN:"number",b:"\\b\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}(:\\d{1,5})?\\b"},{cN:"number",b:"\\b\\d+[kKmMgGdshdwy]*\\b",r:0},r]};return{aliases:["nginxconf"],c:[e.HCM,{b:e.UIR+"\\s+{",rB:!0,e:"{",c:[{cN:"section",b:e.UIR}],r:0},{b:e.UIR+"\\s",e:";|{",rB:!0,c:[{cN:"attribute",b:e.UIR,starts:b}],r:0}],i:"[^\\s\\}]"}});
5
+ hljs.registerLanguage("go",function(e){var t={keyword:"break default func interface select case map struct chan else goto package switch const fallthrough if range type continue for import return var go defer bool byte complex64 complex128 float32 float64 int8 int16 int32 int64 string uint8 uint16 uint32 uint64 int uint uintptr rune",literal:"true false iota nil",built_in:"append cap close complex copy imag len make new panic print println real recover delete"};return{aliases:["golang"],k:t,i:"</",c:[e.CLCM,e.CBCM,{cN:"string",v:[e.QSM,{b:"'",e:"[^\\\\]'"},{b:"`",e:"`"}]},{cN:"number",v:[{b:e.CNR+"[dflsi]",r:1},e.CNM]},{b:/:=/},{cN:"function",bK:"func",e:/\s*\{/,eE:!0,c:[e.TM,{cN:"params",b:/\(/,e:/\)/,k:t,i:/["']/}]}]}});
6
+ hljs.registerLanguage("rust",function(e){var t="([ui](8|16|32|64|128|size)|f(32|64))?",r="drop i8 i16 i32 i64 i128 isize u8 u16 u32 u64 u128 usize f32 f64 str char bool Box Option Result String Vec Copy Send Sized Sync Drop Fn FnMut FnOnce ToOwned Clone Debug PartialEq PartialOrd Eq Ord AsRef AsMut Into From Default Iterator Extend IntoIterator DoubleEndedIterator ExactSizeIterator SliceConcatExt ToString assert! assert_eq! bitflags! bytes! cfg! col! concat! concat_idents! debug_assert! debug_assert_eq! env! panic! file! format! format_args! include_bin! include_str! line! local_data_key! module_path! option_env! print! println! select! stringify! try! unimplemented! unreachable! vec! write! writeln! macro_rules! assert_ne! debug_assert_ne!";return{aliases:["rs"],k:{keyword:"alignof as be box break const continue crate do else enum extern false fn for if impl in let loop match mod mut offsetof once priv proc pub pure ref return self Self sizeof static struct super trait true type typeof unsafe unsized use virtual while where yield move default",literal:"true false Some None Ok Err",built_in:r},l:e.IR+"!?",i:"</",c:[e.CLCM,e.C("/\\*","\\*/",{c:["self"]}),e.inherit(e.QSM,{b:/b?"/,i:null}),{cN:"string",v:[{b:/r(#*)"(.|\n)*?"\1(?!#)/},{b:/b?'\\?(x\w{2}|u\w{4}|U\w{8}|.)'/}]},{cN:"symbol",b:/'[a-zA-Z_][a-zA-Z0-9_]*/},{cN:"number",v:[{b:"\\b0b([01_]+)"+t},{b:"\\b0o([0-7_]+)"+t},{b:"\\b0x([A-Fa-f0-9_]+)"+t},{b:"\\b(\\d[\\d_]*(\\.[0-9_]+)?([eE][+-]?[0-9_]+)?)"+t}],r:0},{cN:"function",bK:"fn",e:"(\\(|<)",eE:!0,c:[e.UTM]},{cN:"meta",b:"#\\!?\\[",e:"\\]",c:[{cN:"meta-string",b:/"/,e:/"/}]},{cN:"class",bK:"type",e:";",c:[e.inherit(e.UTM,{endsParent:!0})],i:"\\S"},{cN:"class",bK:"trait enum struct union",e:"{",c:[e.inherit(e.UTM,{endsParent:!0})],i:"[\\w\\d]"},{b:e.IR+"::",k:{built_in:r}},{b:"->"}]}});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "logicdn",
3
- "version": "1.0.770",
3
+ "version": "1.0.771",
4
4
  "description": "Static CDN for Personal Use",
5
5
  "main": "index.mjs",
6
6
  "repository": {