@pi-outpost/embed 0.62.3 → 0.63.1
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/dist/{CodeEditor-C2mtBAxz.js → CodeEditor-BW8cShfE.js} +870 -869
- package/dist/CodeEditor-BZfOQyjO.cjs +9 -0
- package/dist/{conversationExport-jRLUX0kH.js → conversationExport-BHXWfKKh.js} +37 -37
- package/dist/{conversationExport-DXxmgLoF.cjs → conversationExport-CWUOyeJO.cjs} +2 -2
- package/dist/{conversationHistory-C6PqGsO9.cjs → conversationHistory-0ds9dEO5.cjs} +26 -4
- package/dist/{conversationHistory-3pDBlkZZ.js → conversationHistory-xEFHYA2a.js} +94 -61
- package/dist/{dist-B9wvGgxB.js → dist-B-n0qSdY.js} +134 -133
- package/dist/{dist-LBUs7dVk.js → dist-B53CIh_q.js} +62 -61
- package/dist/{dist-DeLxY4Ia.js → dist-BBPYf4ef.js} +30 -29
- package/dist/dist-BFbWWJdM.cjs +23 -0
- package/dist/dist-BLE5-Y8p.cjs +9 -0
- package/dist/dist-BQCPWecG.cjs +1 -0
- package/dist/dist-BmjjdWVL.cjs +1 -0
- package/dist/{dist-kpPXlS4A.cjs → dist-Bo7aGd2O.cjs} +2 -2
- package/dist/{dist-Bk3hLKgL.js → dist-BoHwBqKn.js} +49 -49
- package/dist/{dist-VWDOErn8.js → dist-BpRy8-Lq.js} +47 -47
- package/dist/dist-BzV3uXd3.js +2842 -0
- package/dist/dist-C3wOZTh_.cjs +1 -0
- package/dist/dist-C6485_TJ.cjs +1 -0
- package/dist/{dist-BIMxMB--.js → dist-CEPaeNz_.js} +57 -57
- package/dist/dist-CbNZ-oK_.cjs +11 -0
- package/dist/dist-CewGgiCl.cjs +1 -0
- package/dist/dist-Cgkuh5Wk.cjs +11 -0
- package/dist/dist-ChIJFFop.cjs +3 -0
- package/dist/dist-Cqy-WSUm.cjs +6 -0
- package/dist/{dist-Bg1-NGne.js → dist-D1XDfvdG.js} +17 -17
- package/dist/{dist-qeX2QqDc.js → dist-DAh__jUg.js} +6724 -9561
- package/dist/dist-DV7vb3Vn.cjs +1 -0
- package/dist/dist-DWOMmaS_.cjs +1 -0
- package/dist/{dist-BWAsFrsx.js → dist-DcevhA0K.js} +73 -73
- package/dist/dist-DdI6ugoG.cjs +1 -0
- package/dist/{dist-CpOA8cNn.js → dist-DhtR0qbm.js} +49 -49
- package/dist/{dist-CwPu13CG.js → dist-DlwWvZ4d.js} +46 -46
- package/dist/{dist-nQ2aeIgK.js → dist-DnmbmV7C.js} +495 -494
- package/dist/dist-DsOiUWHL.cjs +1 -0
- package/dist/dist-DuyBYmw-.cjs +1 -0
- package/dist/{dist-DUziszL2.js → dist-T7rNKseu.js} +32 -32
- package/dist/{dist-CcTOENSK.js → dist-XKeyr4Om.js} +26 -26
- package/dist/{dist-CvxwObne.js → dist-n29rG6c2.js} +117 -117
- package/dist/{dist-DCT8mdeU.js → dist-s8hmOD0A.js} +52 -52
- package/dist/pi-outpost-embed.cjs +46 -44
- package/dist/pi-outpost-embed.js +5022 -4147
- package/package.json +1 -1
- package/dist/CodeEditor-CHKp59kP.cjs +0 -9
- package/dist/dist-B9TXDASo.cjs +0 -1
- package/dist/dist-BMzIUMhf.cjs +0 -1
- package/dist/dist-BawiB8yE.cjs +0 -23
- package/dist/dist-BjxwUutQ.cjs +0 -6
- package/dist/dist-BlUoR-U1.cjs +0 -13
- package/dist/dist-Bnsp4Y3i.cjs +0 -9
- package/dist/dist-CM2l_BHt.cjs +0 -1
- package/dist/dist-CkDnvyBs.cjs +0 -1
- package/dist/dist-CpsCEkIr.cjs +0 -1
- package/dist/dist-DJYmQsI-.cjs +0 -1
- package/dist/dist-F6qtkv2Q.cjs +0 -11
- package/dist/dist-Lxxq5IH0.cjs +0 -1
- package/dist/dist-c-DRw6Dh.cjs +0 -1
- package/dist/dist-sM-IE5EO.cjs +0 -1
- package/dist/dist-vBlUeRrZ.cjs +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as e } from "./rolldown-runtime-5HNE8Q1r.js";
|
|
2
|
-
import {
|
|
3
|
-
import { i as d, n as f, r as te } from "./dist-
|
|
2
|
+
import { F as t, M as n, N as r, _ as i, a, h as o, k as s, n as c, u as l, x as ee, z as u } from "./dist-BzV3uXd3.js";
|
|
3
|
+
import { i as d, n as f, r as te } from "./dist-DcevhA0K.js";
|
|
4
4
|
//#region ../node_modules/@lezer/css/dist/index.js
|
|
5
5
|
var ne = 148, p = 1, re = 149, m = 150, h = 2, g = 151, ie = 3, _ = 4, v = 152, y = [
|
|
6
6
|
9,
|
|
@@ -75,39 +75,39 @@ function F(e) {
|
|
|
75
75
|
let t = e.length;
|
|
76
76
|
return (t == 4 || t == 5 || t == 7 || t == 9) && /^#[a-f\d]+$/i.test(e) ? v : -1;
|
|
77
77
|
}
|
|
78
|
-
var I =
|
|
79
|
-
"AtKeyword import charset namespace keyframes media supports font-feature-values":
|
|
80
|
-
"from to selector scope MatchFlag":
|
|
81
|
-
NamespaceName:
|
|
82
|
-
KeyframeName:
|
|
83
|
-
KeyframeRangeName:
|
|
84
|
-
TagName:
|
|
85
|
-
ClassName:
|
|
86
|
-
PseudoClassName:
|
|
87
|
-
IdName:
|
|
88
|
-
"FeatureName PropertyName":
|
|
89
|
-
AttributeName:
|
|
90
|
-
NumberLiteral:
|
|
91
|
-
KeywordQuery:
|
|
92
|
-
UnaryQueryOp:
|
|
93
|
-
"CallTag ValueName FontName":
|
|
94
|
-
VariableName:
|
|
95
|
-
Callee:
|
|
96
|
-
Unit:
|
|
97
|
-
"UniversalSelector NestingSelector":
|
|
98
|
-
"MatchOp CompareOp":
|
|
99
|
-
"ChildOp SiblingOp, LogicOp":
|
|
100
|
-
BinOp:
|
|
101
|
-
Important:
|
|
102
|
-
Comment:
|
|
103
|
-
ColorLiteral:
|
|
104
|
-
"ParenthesizedContent StringLiteral":
|
|
105
|
-
":":
|
|
106
|
-
PseudoOp:
|
|
107
|
-
"; , |":
|
|
108
|
-
"( )":
|
|
109
|
-
"[ ]":
|
|
110
|
-
"{ }":
|
|
78
|
+
var I = n({
|
|
79
|
+
"AtKeyword import charset namespace keyframes media supports font-feature-values": r.definitionKeyword,
|
|
80
|
+
"from to selector scope MatchFlag": r.keyword,
|
|
81
|
+
NamespaceName: r.namespace,
|
|
82
|
+
KeyframeName: r.labelName,
|
|
83
|
+
KeyframeRangeName: r.operatorKeyword,
|
|
84
|
+
TagName: r.tagName,
|
|
85
|
+
ClassName: r.className,
|
|
86
|
+
PseudoClassName: r.constant(r.className),
|
|
87
|
+
IdName: r.labelName,
|
|
88
|
+
"FeatureName PropertyName": r.propertyName,
|
|
89
|
+
AttributeName: r.attributeName,
|
|
90
|
+
NumberLiteral: r.number,
|
|
91
|
+
KeywordQuery: r.keyword,
|
|
92
|
+
UnaryQueryOp: r.operatorKeyword,
|
|
93
|
+
"CallTag ValueName FontName": r.atom,
|
|
94
|
+
VariableName: r.variableName,
|
|
95
|
+
Callee: r.operatorKeyword,
|
|
96
|
+
Unit: r.unit,
|
|
97
|
+
"UniversalSelector NestingSelector": r.definitionOperator,
|
|
98
|
+
"MatchOp CompareOp": r.compareOperator,
|
|
99
|
+
"ChildOp SiblingOp, LogicOp": r.logicOperator,
|
|
100
|
+
BinOp: r.arithmeticOperator,
|
|
101
|
+
Important: r.modifier,
|
|
102
|
+
Comment: r.blockComment,
|
|
103
|
+
ColorLiteral: r.color,
|
|
104
|
+
"ParenthesizedContent StringLiteral": r.string,
|
|
105
|
+
":": r.punctuation,
|
|
106
|
+
PseudoOp: r.derefOperator,
|
|
107
|
+
"; , |": r.separator,
|
|
108
|
+
"( )": r.paren,
|
|
109
|
+
"[ ]": r.squareBracket,
|
|
110
|
+
"{ }": r.brace
|
|
111
111
|
}), L = {
|
|
112
112
|
__proto__: null,
|
|
113
113
|
lang: 44,
|
|
@@ -292,34 +292,34 @@ function me(e, t) {
|
|
|
292
292
|
let n = e.parent?.firstChild;
|
|
293
293
|
return n?.name == "Callee" && t.sliceString(n.from, n.to) == "var";
|
|
294
294
|
}
|
|
295
|
-
var J = /*@__PURE__*/ new
|
|
295
|
+
var J = /*@__PURE__*/ new u(), he = ["Declaration"];
|
|
296
296
|
function ge(e) {
|
|
297
297
|
for (let t = e;;) {
|
|
298
298
|
if (t.type.isTop) return t;
|
|
299
299
|
if (!(t = t.parent)) return e;
|
|
300
300
|
}
|
|
301
301
|
}
|
|
302
|
-
function Y(e,
|
|
303
|
-
if (
|
|
304
|
-
let i = J.get(
|
|
302
|
+
function Y(e, n, r) {
|
|
303
|
+
if (n.to - n.from > 4096) {
|
|
304
|
+
let i = J.get(n);
|
|
305
305
|
if (i) return i;
|
|
306
|
-
let a = [], o = /* @__PURE__ */ new Set(), s =
|
|
306
|
+
let a = [], o = /* @__PURE__ */ new Set(), s = n.cursor(t.IncludeAnonymous);
|
|
307
307
|
if (s.firstChild()) do
|
|
308
308
|
for (let t of Y(e, s.node, r)) o.has(t.label) || (o.add(t.label), a.push(t));
|
|
309
309
|
while (s.nextSibling());
|
|
310
|
-
return J.set(
|
|
310
|
+
return J.set(n, a), a;
|
|
311
311
|
}
|
|
312
312
|
{
|
|
313
|
-
let
|
|
314
|
-
return
|
|
315
|
-
if (r(
|
|
316
|
-
let r = e.sliceString(
|
|
317
|
-
i.has(r) || (i.add(r),
|
|
313
|
+
let t = [], i = /* @__PURE__ */ new Set();
|
|
314
|
+
return n.cursor().iterate((n) => {
|
|
315
|
+
if (r(n) && n.matchContext(he) && n.node.nextSibling?.name == ":") {
|
|
316
|
+
let r = e.sliceString(n.from, n.to);
|
|
317
|
+
i.has(r) || (i.add(r), t.push({
|
|
318
318
|
label: r,
|
|
319
319
|
type: "variable"
|
|
320
320
|
}));
|
|
321
321
|
}
|
|
322
|
-
}),
|
|
322
|
+
}), t;
|
|
323
323
|
}
|
|
324
324
|
}
|
|
325
325
|
var X = (e) => (t) => {
|
|
@@ -378,7 +378,7 @@ var X = (e) => (t) => {
|
|
|
378
378
|
} : null;
|
|
379
379
|
}, Z = /*@__PURE__*/ X((e) => e.name == "VariableName"), Q = /*@__PURE__*/ c.define({
|
|
380
380
|
name: "css",
|
|
381
|
-
parser: /*@__PURE__*/ V.configure({ props: [/*@__PURE__*/ ee.add({ Declaration: /*@__PURE__*/ l() }), /*@__PURE__*/
|
|
381
|
+
parser: /*@__PURE__*/ V.configure({ props: [/*@__PURE__*/ ee.add({ Declaration: /*@__PURE__*/ l() }), /*@__PURE__*/ i.add({ "Block KeyframeList": o })] }),
|
|
382
382
|
languageData: {
|
|
383
383
|
commentTokens: { block: {
|
|
384
384
|
open: "/*",
|
|
@@ -389,7 +389,7 @@ var X = (e) => (t) => {
|
|
|
389
389
|
}
|
|
390
390
|
});
|
|
391
391
|
function $() {
|
|
392
|
-
return new
|
|
392
|
+
return new a(Q, Q.data.of({ autocomplete: Z }));
|
|
393
393
|
}
|
|
394
394
|
//#endregion
|
|
395
395
|
export { Q as n, H as r, $ as t };
|
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { r as u } from "./dist-
|
|
1
|
+
import { M as e, N as t, _ as n, a as r, f as i, h as a, n as o, p as s, u as c, x as l } from "./dist-BzV3uXd3.js";
|
|
2
|
+
import { r as u } from "./dist-DcevhA0K.js";
|
|
3
3
|
//#region ../node_modules/@lezer/java/dist/index.js
|
|
4
|
-
var d =
|
|
5
|
-
null:
|
|
6
|
-
instanceof:
|
|
7
|
-
this:
|
|
8
|
-
"new super assert open to with void":
|
|
9
|
-
"class interface extends implements enum var":
|
|
10
|
-
"module package import":
|
|
11
|
-
"switch while for if else case default do break continue return try catch finally throw":
|
|
12
|
-
"requires exports opens uses provides public private protected static transitive abstract final strictfp synchronized native transient volatile throws":
|
|
13
|
-
IntegerLiteral:
|
|
14
|
-
FloatingPointLiteral:
|
|
15
|
-
"StringLiteral TextBlock":
|
|
16
|
-
CharacterLiteral:
|
|
17
|
-
LineComment:
|
|
18
|
-
BlockComment:
|
|
19
|
-
BooleanLiteral:
|
|
20
|
-
PrimitiveType:
|
|
21
|
-
TypeName:
|
|
22
|
-
Identifier:
|
|
23
|
-
"MethodName/Identifier":
|
|
24
|
-
Definition:
|
|
25
|
-
ArithOp:
|
|
26
|
-
LogicOp:
|
|
27
|
-
BitOp:
|
|
28
|
-
CompareOp:
|
|
29
|
-
AssignOp:
|
|
30
|
-
UpdateOp:
|
|
31
|
-
Asterisk:
|
|
32
|
-
Label:
|
|
33
|
-
"( )":
|
|
34
|
-
"[ ]":
|
|
35
|
-
"{ }":
|
|
36
|
-
".":
|
|
37
|
-
", ;":
|
|
4
|
+
var d = e({
|
|
5
|
+
null: t.null,
|
|
6
|
+
instanceof: t.operatorKeyword,
|
|
7
|
+
this: t.self,
|
|
8
|
+
"new super assert open to with void": t.keyword,
|
|
9
|
+
"class interface extends implements enum var": t.definitionKeyword,
|
|
10
|
+
"module package import": t.moduleKeyword,
|
|
11
|
+
"switch while for if else case default do break continue return try catch finally throw": t.controlKeyword,
|
|
12
|
+
"requires exports opens uses provides public private protected static transitive abstract final strictfp synchronized native transient volatile throws": t.modifier,
|
|
13
|
+
IntegerLiteral: t.integer,
|
|
14
|
+
FloatingPointLiteral: t.float,
|
|
15
|
+
"StringLiteral TextBlock": t.string,
|
|
16
|
+
CharacterLiteral: t.character,
|
|
17
|
+
LineComment: t.lineComment,
|
|
18
|
+
BlockComment: t.blockComment,
|
|
19
|
+
BooleanLiteral: t.bool,
|
|
20
|
+
PrimitiveType: t.standard(t.typeName),
|
|
21
|
+
TypeName: t.typeName,
|
|
22
|
+
Identifier: t.variableName,
|
|
23
|
+
"MethodName/Identifier": t.function(t.variableName),
|
|
24
|
+
Definition: t.definition(t.variableName),
|
|
25
|
+
ArithOp: t.arithmeticOperator,
|
|
26
|
+
LogicOp: t.logicOperator,
|
|
27
|
+
BitOp: t.bitwiseOperator,
|
|
28
|
+
CompareOp: t.compareOperator,
|
|
29
|
+
AssignOp: t.definitionOperator,
|
|
30
|
+
UpdateOp: t.updateOperator,
|
|
31
|
+
Asterisk: t.punctuation,
|
|
32
|
+
Label: t.labelName,
|
|
33
|
+
"( )": t.paren,
|
|
34
|
+
"[ ]": t.squareBracket,
|
|
35
|
+
"{ }": t.brace,
|
|
36
|
+
".": t.derefOperator,
|
|
37
|
+
", ;": t.separator
|
|
38
38
|
}), f = {
|
|
39
39
|
__proto__: null,
|
|
40
40
|
void: 34,
|
|
@@ -231,21 +231,21 @@ var d = l({
|
|
|
231
231
|
get: (e) => f[e] || -1
|
|
232
232
|
}],
|
|
233
233
|
tokenPrec: 9164
|
|
234
|
-
}), m = /*@__PURE__*/
|
|
234
|
+
}), m = /*@__PURE__*/ o.define({
|
|
235
235
|
name: "java",
|
|
236
|
-
parser: /*@__PURE__*/ p.configure({ props: [/*@__PURE__*/
|
|
237
|
-
IfStatement: /*@__PURE__*/
|
|
238
|
-
TryStatement: /*@__PURE__*/
|
|
239
|
-
LabeledStatement:
|
|
236
|
+
parser: /*@__PURE__*/ p.configure({ props: [/*@__PURE__*/ l.add({
|
|
237
|
+
IfStatement: /*@__PURE__*/ c({ except: /^\s*({|else\b)/ }),
|
|
238
|
+
TryStatement: /*@__PURE__*/ c({ except: /^\s*({|catch|finally)\b/ }),
|
|
239
|
+
LabeledStatement: s,
|
|
240
240
|
SwitchBlock: (e) => {
|
|
241
241
|
let t = e.textAfter, n = /^\s*\}/.test(t), r = /^\s*(case|default)\b/.test(t);
|
|
242
242
|
return e.baseIndent + (n ? 0 : r ? 1 : 2) * e.unit;
|
|
243
243
|
},
|
|
244
|
-
Block: /*@__PURE__*/
|
|
244
|
+
Block: /*@__PURE__*/ i({ closing: "}" }),
|
|
245
245
|
BlockComment: () => null,
|
|
246
|
-
Statement: /*@__PURE__*/
|
|
247
|
-
}), /*@__PURE__*/
|
|
248
|
-
"Block SwitchBlock ClassBody ElementValueArrayInitializer ModuleBody EnumBody ConstructorBody InterfaceBody ArrayInitializer":
|
|
246
|
+
Statement: /*@__PURE__*/ c({ except: /^{/ })
|
|
247
|
+
}), /*@__PURE__*/ n.add({
|
|
248
|
+
"Block SwitchBlock ClassBody ElementValueArrayInitializer ModuleBody EnumBody ConstructorBody InterfaceBody ArrayInitializer": a,
|
|
249
249
|
BlockComment(e) {
|
|
250
250
|
return {
|
|
251
251
|
from: e.from + 2,
|
|
@@ -265,7 +265,7 @@ var d = l({
|
|
|
265
265
|
}
|
|
266
266
|
});
|
|
267
267
|
function h() {
|
|
268
|
-
return new
|
|
268
|
+
return new r(m);
|
|
269
269
|
}
|
|
270
270
|
//#endregion
|
|
271
271
|
export { h as java };
|