@xiuper/mpp-core 0.0.2
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/Kotlin-DateTime-library-kotlinx-datetime.js +7836 -0
- package/Kotlin-DateTime-library-kotlinx-datetime.js.map +1 -0
- package/Kotlin-Immutable-Collections-kotlinx-collections-immutable.js +1241 -0
- package/Kotlin-Immutable-Collections-kotlinx-collections-immutable.js.map +1 -0
- package/Xiuper-mpp-codegraph.js +1471 -0
- package/Xiuper-mpp-codegraph.js.map +1 -0
- package/annotations.js +15 -0
- package/annotations.js.map +1 -0
- package/autodev-mpp-core.d.ts +1312 -0
- package/autodev-mpp-core.js +86483 -0
- package/autodev-mpp-core.js.map +1 -0
- package/kaml.js +3387 -0
- package/kaml.js.map +1 -0
- package/koog-agents-agents-core.js +22927 -0
- package/koog-agents-agents-core.js.map +1 -0
- package/koog-agents-agents-ext.js +15 -0
- package/koog-agents-agents-ext.js.map +1 -0
- package/koog-agents-agents-features-agents-features-event-handler.js +15 -0
- package/koog-agents-agents-features-agents-features-event-handler.js.map +1 -0
- package/koog-agents-agents-features-agents-features-memory.js +15 -0
- package/koog-agents-agents-features-agents-features-memory.js.map +1 -0
- package/koog-agents-agents-features-agents-features-opentelemetry.js +15 -0
- package/koog-agents-agents-features-agents-features-opentelemetry.js.map +1 -0
- package/koog-agents-agents-features-agents-features-snapshot.js +15 -0
- package/koog-agents-agents-features-agents-features-snapshot.js.map +1 -0
- package/koog-agents-agents-features-agents-features-tokenizer.js +15 -0
- package/koog-agents-agents-features-agents-features-tokenizer.js.map +1 -0
- package/koog-agents-agents-features-agents-features-trace.js +15 -0
- package/koog-agents-agents-features-agents-features-trace.js.map +1 -0
- package/koog-agents-agents-mcp.js +15 -0
- package/koog-agents-agents-mcp.js.map +1 -0
- package/koog-agents-agents-tools.js +322 -0
- package/koog-agents-agents-tools.js.map +1 -0
- package/koog-agents-agents-utils.js +232 -0
- package/koog-agents-agents-utils.js.map +1 -0
- package/koog-embeddings-embeddings-base.js +15 -0
- package/koog-embeddings-embeddings-base.js.map +1 -0
- package/koog-embeddings-embeddings-llm.js +15 -0
- package/koog-embeddings-embeddings-llm.js.map +1 -0
- package/koog-http-client-http-client-core.js +57 -0
- package/koog-http-client-http-client-core.js.map +1 -0
- package/koog-http-client-http-client-ktor.js +703 -0
- package/koog-http-client-http-client-ktor.js.map +1 -0
- package/koog-koog-agents.js +15 -0
- package/koog-koog-agents.js.map +1 -0
- package/koog-prompt-prompt-cache-prompt-cache-files.js +15 -0
- package/koog-prompt-prompt-cache-prompt-cache-files.js.map +1 -0
- package/koog-prompt-prompt-cache-prompt-cache-model.js +15 -0
- package/koog-prompt-prompt-cache-prompt-cache-model.js.map +1 -0
- package/koog-prompt-prompt-cache-prompt-cache-redis.js +15 -0
- package/koog-prompt-prompt-cache-prompt-cache-redis.js.map +1 -0
- package/koog-prompt-prompt-executor-prompt-executor-cached.js +15 -0
- package/koog-prompt-prompt-executor-prompt-executor-cached.js.map +1 -0
- package/koog-prompt-prompt-executor-prompt-executor-clients-prompt-executor-anthropic-client.js +4991 -0
- package/koog-prompt-prompt-executor-prompt-executor-clients-prompt-executor-anthropic-client.js.map +1 -0
- package/koog-prompt-prompt-executor-prompt-executor-clients-prompt-executor-bedrock-client.js +15 -0
- package/koog-prompt-prompt-executor-prompt-executor-clients-prompt-executor-bedrock-client.js.map +1 -0
- package/koog-prompt-prompt-executor-prompt-executor-clients-prompt-executor-dashscope-client.js +15 -0
- package/koog-prompt-prompt-executor-prompt-executor-clients-prompt-executor-dashscope-client.js.map +1 -0
- package/koog-prompt-prompt-executor-prompt-executor-clients-prompt-executor-deepseek-client.js +1249 -0
- package/koog-prompt-prompt-executor-prompt-executor-clients-prompt-executor-deepseek-client.js.map +1 -0
- package/koog-prompt-prompt-executor-prompt-executor-clients-prompt-executor-google-client.js +4675 -0
- package/koog-prompt-prompt-executor-prompt-executor-clients-prompt-executor-google-client.js.map +1 -0
- package/koog-prompt-prompt-executor-prompt-executor-clients-prompt-executor-mistralai-client.js +15 -0
- package/koog-prompt-prompt-executor-prompt-executor-clients-prompt-executor-mistralai-client.js.map +1 -0
- package/koog-prompt-prompt-executor-prompt-executor-clients-prompt-executor-ollama-client.js +2343 -0
- package/koog-prompt-prompt-executor-prompt-executor-clients-prompt-executor-ollama-client.js.map +1 -0
- package/koog-prompt-prompt-executor-prompt-executor-clients-prompt-executor-openai-client-base.js +6613 -0
- package/koog-prompt-prompt-executor-prompt-executor-clients-prompt-executor-openai-client-base.js.map +1 -0
- package/koog-prompt-prompt-executor-prompt-executor-clients-prompt-executor-openai-client.js +19901 -0
- package/koog-prompt-prompt-executor-prompt-executor-clients-prompt-executor-openai-client.js.map +1 -0
- package/koog-prompt-prompt-executor-prompt-executor-clients-prompt-executor-openrouter-client.js +2313 -0
- package/koog-prompt-prompt-executor-prompt-executor-clients-prompt-executor-openrouter-client.js.map +1 -0
- package/koog-prompt-prompt-executor-prompt-executor-clients.js +222 -0
- package/koog-prompt-prompt-executor-prompt-executor-clients.js.map +1 -0
- package/koog-prompt-prompt-executor-prompt-executor-llms-all.js +70 -0
- package/koog-prompt-prompt-executor-prompt-executor-llms-all.js.map +1 -0
- package/koog-prompt-prompt-executor-prompt-executor-llms.js +134 -0
- package/koog-prompt-prompt-executor-prompt-executor-llms.js.map +1 -0
- package/koog-prompt-prompt-executor-prompt-executor-model.js +42 -0
- package/koog-prompt-prompt-executor-prompt-executor-model.js.map +1 -0
- package/koog-prompt-prompt-llm.js +1710 -0
- package/koog-prompt-prompt-llm.js.map +1 -0
- package/koog-prompt-prompt-markdown.js +122 -0
- package/koog-prompt-prompt-markdown.js.map +1 -0
- package/koog-prompt-prompt-model.js +5848 -0
- package/koog-prompt-prompt-model.js.map +1 -0
- package/koog-prompt-prompt-structure.js +1513 -0
- package/koog-prompt-prompt-structure.js.map +1 -0
- package/koog-prompt-prompt-tokenizer.js +15 -0
- package/koog-prompt-prompt-tokenizer.js.map +1 -0
- package/koog-prompt-prompt-xml.js +15 -0
- package/koog-prompt-prompt-xml.js.map +1 -0
- package/koog-rag-rag-base.js +15 -0
- package/koog-rag-rag-base.js.map +1 -0
- package/koog-rag-vector-storage.js +15 -0
- package/koog-rag-vector-storage.js.map +1 -0
- package/koog-utils.js +63 -0
- package/koog-utils.js.map +1 -0
- package/kotlin-kotlin-stdlib.js +18965 -0
- package/kotlin-kotlin-stdlib.js.map +1 -0
- package/kotlin-logging.js +509 -0
- package/kotlin-logging.js.map +1 -0
- package/kotlin-sdk-kotlin-sdk-client.js +1340 -0
- package/kotlin-sdk-kotlin-sdk-client.js.map +1 -0
- package/kotlin-sdk-kotlin-sdk-core.js +15195 -0
- package/kotlin-sdk-kotlin-sdk-core.js.map +1 -0
- package/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.js +15 -0
- package/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.js.map +1 -0
- package/kotlinx-atomicfu.js +259 -0
- package/kotlinx-atomicfu.js.map +1 -0
- package/kotlinx-coroutines-core.js +13742 -0
- package/kotlinx-coroutines-core.js.map +1 -0
- package/kotlinx-io-kotlinx-io-bytestring.js +214 -0
- package/kotlinx-io-kotlinx-io-bytestring.js.map +1 -0
- package/kotlinx-io-kotlinx-io-core.js +2892 -0
- package/kotlinx-io-kotlinx-io-core.js.map +1 -0
- package/kotlinx-serialization-kotlinx-serialization-core.js +6563 -0
- package/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -0
- package/kotlinx-serialization-kotlinx-serialization-json-io.js +15 -0
- package/kotlinx-serialization-kotlinx-serialization-json-io.js.map +1 -0
- package/kotlinx-serialization-kotlinx-serialization-json.js +5927 -0
- package/kotlinx-serialization-kotlinx-serialization-json.js.map +1 -0
- package/ktor-ktor-client-content-negotiation.js +775 -0
- package/ktor-ktor-client-content-negotiation.js.map +1 -0
- package/ktor-ktor-client-core.js +11110 -0
- package/ktor-ktor-client-core.js.map +1 -0
- package/ktor-ktor-client-logging.js +15 -0
- package/ktor-ktor-client-logging.js.map +1 -0
- package/ktor-ktor-events.js +126 -0
- package/ktor-ktor-events.js.map +1 -0
- package/ktor-ktor-http-cio.js +4257 -0
- package/ktor-ktor-http-cio.js.map +1 -0
- package/ktor-ktor-http.js +3671 -0
- package/ktor-ktor-http.js.map +1 -0
- package/ktor-ktor-io.js +4114 -0
- package/ktor-ktor-io.js.map +1 -0
- package/ktor-ktor-network.js +1399 -0
- package/ktor-ktor-network.js.map +1 -0
- package/ktor-ktor-serialization-kotlinx-json.js +67 -0
- package/ktor-ktor-serialization-kotlinx-json.js.map +1 -0
- package/ktor-ktor-serialization-kotlinx.js +881 -0
- package/ktor-ktor-serialization-kotlinx.js.map +1 -0
- package/ktor-ktor-serialization.js +388 -0
- package/ktor-ktor-serialization.js.map +1 -0
- package/ktor-ktor-server-cio.js +3735 -0
- package/ktor-ktor-server-cio.js.map +1 -0
- package/ktor-ktor-server-core.js +8696 -0
- package/ktor-ktor-server-core.js.map +1 -0
- package/ktor-ktor-server-sse.js +668 -0
- package/ktor-ktor-server-sse.js.map +1 -0
- package/ktor-ktor-server-websockets.js +15 -0
- package/ktor-ktor-server-websockets.js.map +1 -0
- package/ktor-ktor-sse.js +161 -0
- package/ktor-ktor-sse.js.map +1 -0
- package/ktor-ktor-utils.js +3589 -0
- package/ktor-ktor-utils.js.map +1 -0
- package/ktor-ktor-websocket-serialization.js +15 -0
- package/ktor-ktor-websocket-serialization.js.map +1 -0
- package/ktor-ktor-websockets.js +450 -0
- package/ktor-ktor-websockets.js.map +1 -0
- package/markdown.js +5174 -0
- package/markdown.js.map +1 -0
- package/okio-parent-okio.js +2628 -0
- package/okio-parent-okio.js.map +1 -0
- package/package.json +18 -0
- package/snakeyaml-engine-kmp.js +7079 -0
- package/snakeyaml-engine-kmp.js.map +1 -0
- package/urlencoder-urlencoder-lib.js +322 -0
- package/urlencoder-urlencoder-lib.js.map +1 -0
- package/xiuper-mpp-core.d.ts +1312 -0
- package/xiuper-mpp-core.js +86483 -0
- package/xiuper-mpp-core.js.map +1 -0
|
@@ -0,0 +1,214 @@
|
|
|
1
|
+
(function (factory) {
|
|
2
|
+
if (typeof define === 'function' && define.amd)
|
|
3
|
+
define(['exports', './kotlin-kotlin-stdlib.js'], factory);
|
|
4
|
+
else if (typeof exports === 'object')
|
|
5
|
+
factory(module.exports, require('./kotlin-kotlin-stdlib.js'));
|
|
6
|
+
else {
|
|
7
|
+
if (typeof globalThis['kotlin-kotlin-stdlib'] === 'undefined') {
|
|
8
|
+
throw new Error("Error loading module 'kotlinx-io-kotlinx-io-bytestring'. Its dependency 'kotlin-kotlin-stdlib' was not found. Please, check whether 'kotlin-kotlin-stdlib' is loaded prior to 'kotlinx-io-kotlinx-io-bytestring'.");
|
|
9
|
+
}
|
|
10
|
+
globalThis['kotlinx-io-kotlinx-io-bytestring'] = factory(typeof globalThis['kotlinx-io-kotlinx-io-bytestring'] === 'undefined' ? {} : globalThis['kotlinx-io-kotlinx-io-bytestring'], globalThis['kotlin-kotlin-stdlib']);
|
|
11
|
+
}
|
|
12
|
+
}(function (_, kotlin_kotlin) {
|
|
13
|
+
'use strict';
|
|
14
|
+
//region block: imports
|
|
15
|
+
var imul = Math.imul;
|
|
16
|
+
var VOID = kotlin_kotlin.$_$.h;
|
|
17
|
+
var copyOfRange = kotlin_kotlin.$_$.x7;
|
|
18
|
+
var protoOf = kotlin_kotlin.$_$.we;
|
|
19
|
+
var objectCreate = kotlin_kotlin.$_$.ve;
|
|
20
|
+
var toCharArray = kotlin_kotlin.$_$.cj;
|
|
21
|
+
var initMetadataForCompanion = kotlin_kotlin.$_$.vd;
|
|
22
|
+
var getKClassFromExpression = kotlin_kotlin.$_$.e;
|
|
23
|
+
var THROW_CCE = kotlin_kotlin.$_$.zk;
|
|
24
|
+
var Unit_instance = kotlin_kotlin.$_$.h6;
|
|
25
|
+
var contentEquals = kotlin_kotlin.$_$.t7;
|
|
26
|
+
var contentHashCode = kotlin_kotlin.$_$.u7;
|
|
27
|
+
var IndexOutOfBoundsException_init_$Create$ = kotlin_kotlin.$_$.o2;
|
|
28
|
+
var _UByte___init__impl__g9hnc4 = kotlin_kotlin.$_$.x3;
|
|
29
|
+
var _UByte___get_data__impl__jof9qr = kotlin_kotlin.$_$.y3;
|
|
30
|
+
var compareTo = kotlin_kotlin.$_$.kd;
|
|
31
|
+
var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.o1;
|
|
32
|
+
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.j3;
|
|
33
|
+
var Comparable = kotlin_kotlin.$_$.ik;
|
|
34
|
+
var initMetadataForClass = kotlin_kotlin.$_$.ud;
|
|
35
|
+
var decodeToString = kotlin_kotlin.$_$.mg;
|
|
36
|
+
var initMetadataForObject = kotlin_kotlin.$_$.ae;
|
|
37
|
+
//endregion
|
|
38
|
+
//region block: pre-declaration
|
|
39
|
+
initMetadataForCompanion(Companion);
|
|
40
|
+
initMetadataForClass(ByteString, 'ByteString', VOID, VOID, [Comparable]);
|
|
41
|
+
initMetadataForObject(UnsafeByteStringOperations, 'UnsafeByteStringOperations');
|
|
42
|
+
//endregion
|
|
43
|
+
function ByteString_init_$Init$(data, startIndex, endIndex, $this) {
|
|
44
|
+
startIndex = startIndex === VOID ? 0 : startIndex;
|
|
45
|
+
endIndex = endIndex === VOID ? data.length : endIndex;
|
|
46
|
+
ByteString.call($this, copyOfRange(data, startIndex, endIndex), null);
|
|
47
|
+
return $this;
|
|
48
|
+
}
|
|
49
|
+
function ByteString_init_$Create$(data, startIndex, endIndex) {
|
|
50
|
+
return ByteString_init_$Init$(data, startIndex, endIndex, objectCreate(protoOf(ByteString)));
|
|
51
|
+
}
|
|
52
|
+
function Companion() {
|
|
53
|
+
Companion_instance = this;
|
|
54
|
+
this.e3a_1 = new ByteString(new Int8Array(0), null);
|
|
55
|
+
this.f3a_1 = toCharArray('0123456789abcdef');
|
|
56
|
+
}
|
|
57
|
+
protoOf(Companion).g3a = function (byteArray) {
|
|
58
|
+
return new ByteString(byteArray, null);
|
|
59
|
+
};
|
|
60
|
+
var Companion_instance;
|
|
61
|
+
function Companion_getInstance() {
|
|
62
|
+
if (Companion_instance == null)
|
|
63
|
+
new Companion();
|
|
64
|
+
return Companion_instance;
|
|
65
|
+
}
|
|
66
|
+
function ByteString(data, dummy) {
|
|
67
|
+
Companion_getInstance();
|
|
68
|
+
this.h3a_1 = data;
|
|
69
|
+
this.i3a_1 = 0;
|
|
70
|
+
}
|
|
71
|
+
protoOf(ByteString).s = function () {
|
|
72
|
+
return this.h3a_1.length;
|
|
73
|
+
};
|
|
74
|
+
protoOf(ByteString).equals = function (other) {
|
|
75
|
+
if (this === other)
|
|
76
|
+
return true;
|
|
77
|
+
if (other == null || !getKClassFromExpression(this).equals(getKClassFromExpression(other)))
|
|
78
|
+
return false;
|
|
79
|
+
if (!(other instanceof ByteString))
|
|
80
|
+
THROW_CCE();
|
|
81
|
+
if (!(other.h3a_1.length === this.h3a_1.length))
|
|
82
|
+
return false;
|
|
83
|
+
if (!(other.i3a_1 === 0) && !(this.i3a_1 === 0) && !(other.i3a_1 === this.i3a_1))
|
|
84
|
+
return false;
|
|
85
|
+
return contentEquals(this.h3a_1, other.h3a_1);
|
|
86
|
+
};
|
|
87
|
+
protoOf(ByteString).hashCode = function () {
|
|
88
|
+
var hc = this.i3a_1;
|
|
89
|
+
if (hc === 0) {
|
|
90
|
+
hc = contentHashCode(this.h3a_1);
|
|
91
|
+
this.i3a_1 = hc;
|
|
92
|
+
}
|
|
93
|
+
return hc;
|
|
94
|
+
};
|
|
95
|
+
protoOf(ByteString).u = function (index) {
|
|
96
|
+
if (index < 0 || index >= this.s())
|
|
97
|
+
throw IndexOutOfBoundsException_init_$Create$('index (' + index + ') is out of byte string bounds: [0..' + this.s() + ')');
|
|
98
|
+
return this.h3a_1[index];
|
|
99
|
+
};
|
|
100
|
+
protoOf(ByteString).z1u = function (startIndex, endIndex) {
|
|
101
|
+
var tmp;
|
|
102
|
+
if (startIndex === endIndex) {
|
|
103
|
+
tmp = Companion_getInstance().e3a_1;
|
|
104
|
+
} else {
|
|
105
|
+
tmp = ByteString_init_$Create$(this.h3a_1, startIndex, endIndex);
|
|
106
|
+
}
|
|
107
|
+
return tmp;
|
|
108
|
+
};
|
|
109
|
+
protoOf(ByteString).j3a = function (startIndex, endIndex, $super) {
|
|
110
|
+
endIndex = endIndex === VOID ? this.s() : endIndex;
|
|
111
|
+
return $super === VOID ? this.z1u(startIndex, endIndex) : $super.z1u.call(this, startIndex, endIndex);
|
|
112
|
+
};
|
|
113
|
+
protoOf(ByteString).k3a = function (other) {
|
|
114
|
+
if (other === this)
|
|
115
|
+
return 0;
|
|
116
|
+
var localData = this.h3a_1;
|
|
117
|
+
var otherData = other.h3a_1;
|
|
118
|
+
var inductionVariable = 0;
|
|
119
|
+
var tmp0 = this.s();
|
|
120
|
+
// Inline function 'kotlin.math.min' call
|
|
121
|
+
var b = other.s();
|
|
122
|
+
var last = Math.min(tmp0, b);
|
|
123
|
+
if (inductionVariable < last)
|
|
124
|
+
do {
|
|
125
|
+
var i = inductionVariable;
|
|
126
|
+
inductionVariable = inductionVariable + 1 | 0;
|
|
127
|
+
// Inline function 'kotlin.toUByte' call
|
|
128
|
+
var this_0 = localData[i];
|
|
129
|
+
var tmp0_0 = _UByte___init__impl__g9hnc4(this_0);
|
|
130
|
+
// Inline function 'kotlin.toUByte' call
|
|
131
|
+
var this_1 = otherData[i];
|
|
132
|
+
// Inline function 'kotlin.UByte.compareTo' call
|
|
133
|
+
var other_0 = _UByte___init__impl__g9hnc4(this_1);
|
|
134
|
+
// Inline function 'kotlin.UByte.toInt' call
|
|
135
|
+
var tmp = _UByte___get_data__impl__jof9qr(tmp0_0) & 255;
|
|
136
|
+
// Inline function 'kotlin.UByte.toInt' call
|
|
137
|
+
var tmp$ret$4 = _UByte___get_data__impl__jof9qr(other_0) & 255;
|
|
138
|
+
var cmp = compareTo(tmp, tmp$ret$4);
|
|
139
|
+
if (!(cmp === 0))
|
|
140
|
+
return cmp;
|
|
141
|
+
}
|
|
142
|
+
while (inductionVariable < last);
|
|
143
|
+
return compareTo(this.s(), other.s());
|
|
144
|
+
};
|
|
145
|
+
protoOf(ByteString).d = function (other) {
|
|
146
|
+
return this.k3a(other instanceof ByteString ? other : THROW_CCE());
|
|
147
|
+
};
|
|
148
|
+
protoOf(ByteString).toString = function () {
|
|
149
|
+
if (isEmpty(this)) {
|
|
150
|
+
return 'ByteString(size=0)';
|
|
151
|
+
}
|
|
152
|
+
var sizeStr = this.s().toString();
|
|
153
|
+
var len = (22 + sizeStr.length | 0) + imul(this.s(), 2) | 0;
|
|
154
|
+
// Inline function 'kotlin.with' call
|
|
155
|
+
var $this$with = StringBuilder_init_$Create$(len);
|
|
156
|
+
$this$with.z8('ByteString(size=');
|
|
157
|
+
$this$with.z8(sizeStr);
|
|
158
|
+
$this$with.z8(' hex=');
|
|
159
|
+
var localData = this.h3a_1;
|
|
160
|
+
var inductionVariable = 0;
|
|
161
|
+
var last = this.s();
|
|
162
|
+
if (inductionVariable < last)
|
|
163
|
+
do {
|
|
164
|
+
var i = inductionVariable;
|
|
165
|
+
inductionVariable = inductionVariable + 1 | 0;
|
|
166
|
+
var b = localData[i];
|
|
167
|
+
$this$with.a9(Companion_getInstance().f3a_1[(b >>> 4 | 0) & 15]);
|
|
168
|
+
$this$with.a9(Companion_getInstance().f3a_1[b & 15]);
|
|
169
|
+
}
|
|
170
|
+
while (inductionVariable < last);
|
|
171
|
+
return $this$with.a9(_Char___init__impl__6a9atx(41)).toString();
|
|
172
|
+
};
|
|
173
|
+
protoOf(ByteString).l3a = function () {
|
|
174
|
+
return this.h3a_1;
|
|
175
|
+
};
|
|
176
|
+
function ByteString_0(bytes) {
|
|
177
|
+
var tmp;
|
|
178
|
+
// Inline function 'kotlin.collections.isEmpty' call
|
|
179
|
+
if (bytes.length === 0) {
|
|
180
|
+
tmp = Companion_getInstance().e3a_1;
|
|
181
|
+
} else {
|
|
182
|
+
tmp = Companion_getInstance().g3a(bytes);
|
|
183
|
+
}
|
|
184
|
+
return tmp;
|
|
185
|
+
}
|
|
186
|
+
function isEmpty(_this__u8e3s4) {
|
|
187
|
+
return _this__u8e3s4.s() === 0;
|
|
188
|
+
}
|
|
189
|
+
function decodeToString_0(_this__u8e3s4) {
|
|
190
|
+
return decodeToString(_this__u8e3s4.l3a());
|
|
191
|
+
}
|
|
192
|
+
function UnsafeByteStringOperations() {
|
|
193
|
+
}
|
|
194
|
+
protoOf(UnsafeByteStringOperations).m3a = function (array) {
|
|
195
|
+
return Companion_getInstance().g3a(array);
|
|
196
|
+
};
|
|
197
|
+
var UnsafeByteStringOperations_instance;
|
|
198
|
+
function UnsafeByteStringOperations_getInstance() {
|
|
199
|
+
return UnsafeByteStringOperations_instance;
|
|
200
|
+
}
|
|
201
|
+
//region block: init
|
|
202
|
+
UnsafeByteStringOperations_instance = new UnsafeByteStringOperations();
|
|
203
|
+
//endregion
|
|
204
|
+
//region block: exports
|
|
205
|
+
_.$_$ = _.$_$ || {};
|
|
206
|
+
_.$_$.a = ByteString_init_$Create$;
|
|
207
|
+
_.$_$.b = UnsafeByteStringOperations_instance;
|
|
208
|
+
_.$_$.c = ByteString_0;
|
|
209
|
+
_.$_$.d = decodeToString_0;
|
|
210
|
+
//endregion
|
|
211
|
+
return _;
|
|
212
|
+
}));
|
|
213
|
+
|
|
214
|
+
//# sourceMappingURL=kotlinx-io-kotlinx-io-bytestring.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../../../.gradle/daemon/8.14.3/Z:/BuildAgent/work/22e3a7db6b861ba7/bytestring/common/src/ByteString.kt","../../../../../mpp-core/build/compileSync/js/main/productionLibrary/kotlin/js/src/kotlin/math.kt","../../../../../mpp-core/build/compileSync/js/main/productionLibrary/kotlin/unsigned/src/kotlin/UByte.kt","../../../../../mpp-core/build/compileSync/js/main/productionLibrary/kotlin/common/src/generated/_Arrays.kt","../../../../../../../.gradle/daemon/8.14.3/Z:/BuildAgent/work/22e3a7db6b861ba7/bytestring/common/src/unsafe/UnsafeByteStringOperations.kt"],"sourcesContent":[null,null,null,null,null],"ignoreList":[],"x_google_ignoreList":[],"names":["ByteString_init_$Init$","data","startIndex","endIndex","ByteString_init_$Create$","<init>","wrap","byteArray","dummy","<get-size>","equals","other","hashCode","hc","get","index","substring","substring$default","compareTo","localData","otherData","i","cmp","toString","sizeStr","len","b","getBackingArrayReference","ByteString","bytes","isEmpty","<this>","decodeToString","wrapUnsafe","array"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCA8FIA,CAAmBC,I,EAAiBC,U,EAAqBC,Q,OAAzDH,E;uCAAsD,C;mCAAmB,I,CAAK,M;IACtE,uBAAU,YAAL,IAAK,EAAY,UAAZ,EAAwB,QAAxB,CAAV,EAA6C,IAA7C,C;;G;mCADRI,CAAmBH,I,EAAiBC,U,EAAqBC,QAAzDC,E;;G;oBAMAC,CAAAA,EAAA;A;IAIqC,4BAAW,cAAU,CAAV,CAAX,EAAyB,IAAzB,C;IAIW,yBAAnB,kBAAmB,C;EARhD,C;oCAMIC,CAAkBC,SAAlBD,EAAsD;A,IAA2B,OAA3B,eAAW,SAAX,EAAsB,IAAtB,C;EAA0B,C;;;;;;;qBA5BhED,CACpBJ,I,EACAO,KAFoBH,EAAA;A,IAAxB,uB;IACI,iB;IAmB4B,c;EApBR,C;mCAqChBI,CAAAA,EAAa;A,IAAS,OAAT,IAAS,CAAT,KAAS,CAAJ,M;EAAG,C;wCAOzBC,CAAoBC,KAApBD,EAA0C;A,IAClC,aAAS,KAAT,C;MAAgB,OAAO,I;IACvB,aAAS,IAAT,IAAiB,8DAAe,KAAf,EAAjB,C;MAA8C,OAAO,K;UAEzD,K;;IAEI,YAAM,KAAN,CAAW,MAAX,KAAmB,IAAnB,CAAmB,KAAnB,CAAwB,MAAxB,E;MAA8B,OAAO,K;IACrC,YAAM,KAAN,KAAkB,CAAlB,KAAuB,iBAAY,CAAZ,CAAvB,IAAwC,QAAM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