sanity 3.94.1-next.4.3a875e37ff → 3.94.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.
Files changed (113) hide show
  1. package/dist/BehaviorSubject-CU-WJrzA.mjs +30 -0
  2. package/dist/BehaviorSubject-CU-WJrzA.mjs.map +1 -0
  3. package/dist/BroadcastDisplayedDocument-BSV9T3BU.mjs +20 -0
  4. package/dist/BroadcastDisplayedDocument-BSV9T3BU.mjs.map +1 -0
  5. package/dist/DisplayedDocumentBroadcaster-DZ65n35Q.mjs +62 -0
  6. package/dist/DisplayedDocumentBroadcaster-DZ65n35Q.mjs.map +1 -0
  7. package/dist/LiveQueries-Crz53eU5.mjs +407 -0
  8. package/dist/LiveQueries-Crz53eU5.mjs.map +1 -0
  9. package/dist/Observable-CCQtH8Gg.mjs +546 -0
  10. package/dist/Observable-CCQtH8Gg.mjs.map +1 -0
  11. package/dist/PostMessageDocuments-BjgsJxz4.mjs +72 -0
  12. package/dist/PostMessageDocuments-BjgsJxz4.mjs.map +1 -0
  13. package/dist/PostMessagePerspective-pucY-E6a.mjs +22 -0
  14. package/dist/PostMessagePerspective-pucY-E6a.mjs.map +1 -0
  15. package/dist/PostMessagePreviewSnapshots-CRQgRg4_.mjs +71 -0
  16. package/dist/PostMessagePreviewSnapshots-CRQgRg4_.mjs.map +1 -0
  17. package/dist/PostMessageRefreshMutations-D944RbO3.mjs +66 -0
  18. package/dist/PostMessageRefreshMutations-D944RbO3.mjs.map +1 -0
  19. package/dist/PostMessageSchema-3eOtr1bs.mjs +516 -0
  20. package/dist/PostMessageSchema-3eOtr1bs.mjs.map +1 -0
  21. package/dist/PostMessageTelemetry-DMTQDJeN.mjs +20 -0
  22. package/dist/PostMessageTelemetry-DMTQDJeN.mjs.map +1 -0
  23. package/dist/PresentationToolGrantsCheck-B0q4AQ3b.mjs +3999 -0
  24. package/dist/PresentationToolGrantsCheck-B0q4AQ3b.mjs.map +1 -0
  25. package/dist/QRCodeSVG-hyTW2xeN.mjs +648 -0
  26. package/dist/QRCodeSVG-hyTW2xeN.mjs.map +1 -0
  27. package/dist/Refractor-Zss2QEe8.mjs +2568 -0
  28. package/dist/Refractor-Zss2QEe8.mjs.map +1 -0
  29. package/dist/SourceContext-QxJD1Wrm.mjs +111 -0
  30. package/dist/SourceContext-QxJD1Wrm.mjs.map +1 -0
  31. package/dist/StructureToolProvider-B-7cwz7l.mjs +2287 -0
  32. package/dist/StructureToolProvider-B-7cwz7l.mjs.map +1 -0
  33. package/dist/ViteDevServerStopped-CgIEqy9p.mjs +57 -0
  34. package/dist/ViteDevServerStopped-CgIEqy9p.mjs.map +1 -0
  35. package/dist/_createContext.mjs +38 -0
  36. package/dist/_createContext.mjs.map +1 -0
  37. package/dist/_singletons.mjs +216 -0
  38. package/dist/_singletons.mjs.map +1 -0
  39. package/dist/browser-B0Q9qZJS.mjs +478 -0
  40. package/dist/browser-B0Q9qZJS.mjs.map +1 -0
  41. package/dist/browser-DmX5VEcE.mjs +324 -0
  42. package/dist/browser-DmX5VEcE.mjs.map +1 -0
  43. package/dist/desk.mjs +53 -0
  44. package/dist/desk.mjs.map +1 -0
  45. package/dist/first-Cz545eV-.mjs +42 -0
  46. package/dist/first-Cz545eV-.mjs.map +1 -0
  47. package/dist/index-B2GCDfau.mjs +96 -0
  48. package/dist/index-B2GCDfau.mjs.map +1 -0
  49. package/dist/index-BRIelBPK.mjs +6946 -0
  50. package/dist/index-BRIelBPK.mjs.map +1 -0
  51. package/dist/index-BUB137yJ.mjs +144 -0
  52. package/dist/index-BUB137yJ.mjs.map +1 -0
  53. package/dist/index-C3PGPrdL.mjs +1192 -0
  54. package/dist/index-C3PGPrdL.mjs.map +1 -0
  55. package/dist/index-C9NvTy6s.mjs +319 -0
  56. package/dist/index-C9NvTy6s.mjs.map +1 -0
  57. package/dist/index-DCkQlgdi.mjs +4001 -0
  58. package/dist/index-DCkQlgdi.mjs.map +1 -0
  59. package/dist/index-DG-3plB0.mjs +71 -0
  60. package/dist/index-DG-3plB0.mjs.map +1 -0
  61. package/dist/index-RoxwhtVB.mjs +5600 -0
  62. package/dist/index-RoxwhtVB.mjs.map +1 -0
  63. package/dist/index-iMZR29eF.mjs +756 -0
  64. package/dist/index-iMZR29eF.mjs.map +1 -0
  65. package/dist/index-wVXq9rWS.mjs +244 -0
  66. package/dist/index-wVXq9rWS.mjs.map +1 -0
  67. package/dist/index.mjs +137385 -0
  68. package/dist/index.mjs.map +1 -0
  69. package/dist/lodash-Vz5dH_Dm.mjs +3679 -0
  70. package/dist/lodash-Vz5dH_Dm.mjs.map +1 -0
  71. package/dist/pane-Bm_57XKB.mjs +5 -0
  72. package/dist/pane-Bm_57XKB.mjs.map +1 -0
  73. package/dist/pane-Dopl4BjD.mjs +5 -0
  74. package/dist/pane-Dopl4BjD.mjs.map +1 -0
  75. package/dist/presentation-DsIky7Cj.mjs +556 -0
  76. package/dist/presentation-DsIky7Cj.mjs.map +1 -0
  77. package/dist/presentation.mjs +10 -0
  78. package/dist/presentation.mjs.map +1 -0
  79. package/dist/publishReplay-PuJoYJpp.mjs +92 -0
  80. package/dist/publishReplay-PuJoYJpp.mjs.map +1 -0
  81. package/dist/refractor-Bg1S3YDK.mjs +26 -0
  82. package/dist/refractor-Bg1S3YDK.mjs.map +1 -0
  83. package/dist/resources-BQsCEzu1.mjs +60 -0
  84. package/dist/resources-BQsCEzu1.mjs.map +1 -0
  85. package/dist/resources-BahMtJuO.mjs +177 -0
  86. package/dist/resources-BahMtJuO.mjs.map +1 -0
  87. package/dist/resources-CjkBN4z6.mjs +126 -0
  88. package/dist/resources-CjkBN4z6.mjs.map +1 -0
  89. package/dist/resources-Dc-6ZcPg.mjs +157 -0
  90. package/dist/resources-Dc-6ZcPg.mjs.map +1 -0
  91. package/dist/resources-DqxSuDsr.mjs +37 -0
  92. package/dist/resources-DqxSuDsr.mjs.map +1 -0
  93. package/dist/resources-_gTjFWLH.mjs +517 -0
  94. package/dist/resources-_gTjFWLH.mjs.map +1 -0
  95. package/dist/resources-kA1bao30.mjs +358 -0
  96. package/dist/resources-kA1bao30.mjs.map +1 -0
  97. package/dist/router.mjs +721 -0
  98. package/dist/router.mjs.map +1 -0
  99. package/dist/stegaEncodeSourceMap-DCG9Ba1H.mjs +358 -0
  100. package/dist/stegaEncodeSourceMap-DCG9Ba1H.mjs.map +1 -0
  101. package/dist/structure.mjs +57 -0
  102. package/dist/structure.mjs.map +1 -0
  103. package/dist/structureTool-Bth1vd8r.mjs +13150 -0
  104. package/dist/structureTool-Bth1vd8r.mjs.map +1 -0
  105. package/dist/switchMap-DHVUskpL.mjs +54 -0
  106. package/dist/switchMap-DHVUskpL.mjs.map +1 -0
  107. package/dist/v4-zH-CAum7.mjs +24798 -0
  108. package/dist/v4-zH-CAum7.mjs.map +1 -0
  109. package/dist/version-DoE_JnhG.mjs +5 -0
  110. package/dist/version-DoE_JnhG.mjs.map +1 -0
  111. package/lib/_chunks-cjs/version.js +1 -1
  112. package/lib/_chunks-es/version.mjs +1 -1
  113. package/package.json +23 -23
@@ -0,0 +1,324 @@
1
+ import { g as q } from "./index-C9NvTy6s.mjs";
2
+ var w = { exports: {} }, A, x;
3
+ function S() {
4
+ if (x) return A;
5
+ x = 1;
6
+ var u = 1e3, i = u * 60, C = i * 60, r = C * 24, h = r * 7, m = r * 365.25;
7
+ A = function(t, e) {
8
+ e = e || {};
9
+ var n = typeof t;
10
+ if (n === "string" && t.length > 0)
11
+ return d(t);
12
+ if (n === "number" && isFinite(t))
13
+ return e.long ? p(t) : g(t);
14
+ throw new Error(
15
+ "val is not a non-empty string or a valid number. val=" + JSON.stringify(t)
16
+ );
17
+ };
18
+ function d(t) {
19
+ if (t = String(t), !(t.length > 100)) {
20
+ var e = /^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(
21
+ t
22
+ );
23
+ if (e) {
24
+ var n = parseFloat(e[1]), s = (e[2] || "ms").toLowerCase();
25
+ switch (s) {
26
+ case "years":
27
+ case "year":
28
+ case "yrs":
29
+ case "yr":
30
+ case "y":
31
+ return n * m;
32
+ case "weeks":
33
+ case "week":
34
+ case "w":
35
+ return n * h;
36
+ case "days":
37
+ case "day":
38
+ case "d":
39
+ return n * r;
40
+ case "hours":
41
+ case "hour":
42
+ case "hrs":
43
+ case "hr":
44
+ case "h":
45
+ return n * C;
46
+ case "minutes":
47
+ case "minute":
48
+ case "mins":
49
+ case "min":
50
+ case "m":
51
+ return n * i;
52
+ case "seconds":
53
+ case "second":
54
+ case "secs":
55
+ case "sec":
56
+ case "s":
57
+ return n * u;
58
+ case "milliseconds":
59
+ case "millisecond":
60
+ case "msecs":
61
+ case "msec":
62
+ case "ms":
63
+ return n;
64
+ default:
65
+ return;
66
+ }
67
+ }
68
+ }
69
+ }
70
+ function g(t) {
71
+ var e = Math.abs(t);
72
+ return e >= r ? Math.round(t / r) + "d" : e >= C ? Math.round(t / C) + "h" : e >= i ? Math.round(t / i) + "m" : e >= u ? Math.round(t / u) + "s" : t + "ms";
73
+ }
74
+ function p(t) {
75
+ var e = Math.abs(t);
76
+ return e >= r ? o(t, e, r, "day") : e >= C ? o(t, e, C, "hour") : e >= i ? o(t, e, i, "minute") : e >= u ? o(t, e, u, "second") : t + " ms";
77
+ }
78
+ function o(t, e, n, s) {
79
+ var a = e >= n * 1.5;
80
+ return Math.round(t / n) + " " + s + (a ? "s" : "");
81
+ }
82
+ return A;
83
+ }
84
+ var I, E;
85
+ function B() {
86
+ if (E) return I;
87
+ E = 1;
88
+ function u(i) {
89
+ r.debug = r, r.default = r, r.coerce = o, r.disable = g, r.enable = m, r.enabled = p, r.humanize = S(), r.destroy = t, Object.keys(i).forEach((e) => {
90
+ r[e] = i[e];
91
+ }), r.names = [], r.skips = [], r.formatters = {};
92
+ function C(e) {
93
+ let n = 0;
94
+ for (let s = 0; s < e.length; s++)
95
+ n = (n << 5) - n + e.charCodeAt(s), n |= 0;
96
+ return r.colors[Math.abs(n) % r.colors.length];
97
+ }
98
+ r.selectColor = C;
99
+ function r(e) {
100
+ let n, s = null, a, F;
101
+ function c(...l) {
102
+ if (!c.enabled)
103
+ return;
104
+ const f = c, y = Number(/* @__PURE__ */ new Date()), j = y - (n || y);
105
+ f.diff = j, f.prev = n, f.curr = y, n = y, l[0] = r.coerce(l[0]), typeof l[0] != "string" && l.unshift("%O");
106
+ let b = 0;
107
+ l[0] = l[0].replace(/%([a-zA-Z%])/g, (v, D) => {
108
+ if (v === "%%")
109
+ return "%";
110
+ b++;
111
+ const k = r.formatters[D];
112
+ if (typeof k == "function") {
113
+ const O = l[b];
114
+ v = k.call(f, O), l.splice(b, 1), b--;
115
+ }
116
+ return v;
117
+ }), r.formatArgs.call(f, l), (f.log || r.log).apply(f, l);
118
+ }
119
+ return c.namespace = e, c.useColors = r.useColors(), c.color = r.selectColor(e), c.extend = h, c.destroy = r.destroy, Object.defineProperty(c, "enabled", {
120
+ enumerable: !0,
121
+ configurable: !1,
122
+ get: () => s !== null ? s : (a !== r.namespaces && (a = r.namespaces, F = r.enabled(e)), F),
123
+ set: (l) => {
124
+ s = l;
125
+ }
126
+ }), typeof r.init == "function" && r.init(c), c;
127
+ }
128
+ function h(e, n) {
129
+ const s = r(this.namespace + (typeof n > "u" ? ":" : n) + e);
130
+ return s.log = this.log, s;
131
+ }
132
+ function m(e) {
133
+ r.save(e), r.namespaces = e, r.names = [], r.skips = [];
134
+ const n = (typeof e == "string" ? e : "").trim().replace(/\s+/g, ",").split(",").filter(Boolean);
135
+ for (const s of n)
136
+ s[0] === "-" ? r.skips.push(s.slice(1)) : r.names.push(s);
137
+ }
138
+ function d(e, n) {
139
+ let s = 0, a = 0, F = -1, c = 0;
140
+ for (; s < e.length; )
141
+ if (a < n.length && (n[a] === e[s] || n[a] === "*"))
142
+ n[a] === "*" ? (F = a, c = s, a++) : (s++, a++);
143
+ else if (F !== -1)
144
+ a = F + 1, c++, s = c;
145
+ else
146
+ return !1;
147
+ for (; a < n.length && n[a] === "*"; )
148
+ a++;
149
+ return a === n.length;
150
+ }
151
+ function g() {
152
+ const e = [
153
+ ...r.names,
154
+ ...r.skips.map((n) => "-" + n)
155
+ ].join(",");
156
+ return r.enable(""), e;
157
+ }
158
+ function p(e) {
159
+ for (const n of r.skips)
160
+ if (d(e, n))
161
+ return !1;
162
+ for (const n of r.names)
163
+ if (d(e, n))
164
+ return !0;
165
+ return !1;
166
+ }
167
+ function o(e) {
168
+ return e instanceof Error ? e.stack || e.message : e;
169
+ }
170
+ function t() {
171
+ console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");
172
+ }
173
+ return r.enable(r.load()), r;
174
+ }
175
+ return I = u, I;
176
+ }
177
+ var M;
178
+ function L() {
179
+ return M || (M = 1, function(u, i) {
180
+ var C = {};
181
+ i.formatArgs = h, i.save = m, i.load = d, i.useColors = r, i.storage = g(), i.destroy = /* @__PURE__ */ (() => {
182
+ let o = !1;
183
+ return () => {
184
+ o || (o = !0, console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."));
185
+ };
186
+ })(), i.colors = [
187
+ "#0000CC",
188
+ "#0000FF",
189
+ "#0033CC",
190
+ "#0033FF",
191
+ "#0066CC",
192
+ "#0066FF",
193
+ "#0099CC",
194
+ "#0099FF",
195
+ "#00CC00",
196
+ "#00CC33",
197
+ "#00CC66",
198
+ "#00CC99",
199
+ "#00CCCC",
200
+ "#00CCFF",
201
+ "#3300CC",
202
+ "#3300FF",
203
+ "#3333CC",
204
+ "#3333FF",
205
+ "#3366CC",
206
+ "#3366FF",
207
+ "#3399CC",
208
+ "#3399FF",
209
+ "#33CC00",
210
+ "#33CC33",
211
+ "#33CC66",
212
+ "#33CC99",
213
+ "#33CCCC",
214
+ "#33CCFF",
215
+ "#6600CC",
216
+ "#6600FF",
217
+ "#6633CC",
218
+ "#6633FF",
219
+ "#66CC00",
220
+ "#66CC33",
221
+ "#9900CC",
222
+ "#9900FF",
223
+ "#9933CC",
224
+ "#9933FF",
225
+ "#99CC00",
226
+ "#99CC33",
227
+ "#CC0000",
228
+ "#CC0033",
229
+ "#CC0066",
230
+ "#CC0099",
231
+ "#CC00CC",
232
+ "#CC00FF",
233
+ "#CC3300",
234
+ "#CC3333",
235
+ "#CC3366",
236
+ "#CC3399",
237
+ "#CC33CC",
238
+ "#CC33FF",
239
+ "#CC6600",
240
+ "#CC6633",
241
+ "#CC9900",
242
+ "#CC9933",
243
+ "#CCCC00",
244
+ "#CCCC33",
245
+ "#FF0000",
246
+ "#FF0033",
247
+ "#FF0066",
248
+ "#FF0099",
249
+ "#FF00CC",
250
+ "#FF00FF",
251
+ "#FF3300",
252
+ "#FF3333",
253
+ "#FF3366",
254
+ "#FF3399",
255
+ "#FF33CC",
256
+ "#FF33FF",
257
+ "#FF6600",
258
+ "#FF6633",
259
+ "#FF9900",
260
+ "#FF9933",
261
+ "#FFCC00",
262
+ "#FFCC33"
263
+ ];
264
+ function r() {
265
+ if (typeof window < "u" && window.process && (window.process.type === "renderer" || window.process.__nwjs))
266
+ return !0;
267
+ if (typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))
268
+ return !1;
269
+ let o;
270
+ return typeof document < "u" && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance || // Is firebug? http://stackoverflow.com/a/398120/376773
271
+ typeof window < "u" && window.console && (window.console.firebug || window.console.exception && window.console.table) || // Is firefox >= v31?
272
+ // https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages
273
+ typeof navigator < "u" && navigator.userAgent && (o = navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)) && parseInt(o[1], 10) >= 31 || // Double check webkit in userAgent just in case we are in a worker
274
+ typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/);
275
+ }
276
+ function h(o) {
277
+ if (o[0] = (this.useColors ? "%c" : "") + this.namespace + (this.useColors ? " %c" : " ") + o[0] + (this.useColors ? "%c " : " ") + "+" + u.exports.humanize(this.diff), !this.useColors)
278
+ return;
279
+ const t = "color: " + this.color;
280
+ o.splice(1, 0, t, "color: inherit");
281
+ let e = 0, n = 0;
282
+ o[0].replace(/%[a-zA-Z%]/g, (s) => {
283
+ s !== "%%" && (e++, s === "%c" && (n = e));
284
+ }), o.splice(n, 0, t);
285
+ }
286
+ i.log = console.debug || console.log || (() => {
287
+ });
288
+ function m(o) {
289
+ try {
290
+ o ? i.storage.setItem("debug", o) : i.storage.removeItem("debug");
291
+ } catch {
292
+ }
293
+ }
294
+ function d() {
295
+ let o;
296
+ try {
297
+ o = i.storage.getItem("debug") || i.storage.getItem("DEBUG");
298
+ } catch {
299
+ }
300
+ return !o && typeof process < "u" && "env" in process && (o = C.DEBUG), o;
301
+ }
302
+ function g() {
303
+ try {
304
+ return localStorage;
305
+ } catch {
306
+ }
307
+ }
308
+ u.exports = B()(i);
309
+ const { formatters: p } = u.exports;
310
+ p.j = function(o) {
311
+ try {
312
+ return JSON.stringify(o);
313
+ } catch (t) {
314
+ return "[UnexpectedJSONParseError]: " + t.message;
315
+ }
316
+ };
317
+ }(w, w.exports)), w.exports;
318
+ }
319
+ var _ = L();
320
+ const J = /* @__PURE__ */ q(_);
321
+ export {
322
+ J as D
323
+ };
324
+ //# sourceMappingURL=browser-DmX5VEcE.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"browser-DmX5VEcE.mjs","sources":["../../../node_modules/.pnpm/ms@2.1.3/node_modules/ms/index.js","../../../node_modules/.pnpm/debug@4.4.1_supports-color@5.5.0/node_modules/debug/src/common.js","../../../node_modules/.pnpm/debug@4.4.1_supports-color@5.5.0/node_modules/debug/src/browser.js"],"sourcesContent":["/**\n * Helpers.\n */\n\nvar s = 1000;\nvar m = s * 60;\nvar h = m * 60;\nvar d = h * 24;\nvar w = d * 7;\nvar y = d * 365.25;\n\n/**\n * Parse or format the given `val`.\n *\n * Options:\n *\n * - `long` verbose formatting [false]\n *\n * @param {String|Number} val\n * @param {Object} [options]\n * @throws {Error} throw an error if val is not a non-empty string or a number\n * @return {String|Number}\n * @api public\n */\n\nmodule.exports = function (val, options) {\n options = options || {};\n var type = typeof val;\n if (type === 'string' && val.length > 0) {\n return parse(val);\n } else if (type === 'number' && isFinite(val)) {\n return options.long ? fmtLong(val) : fmtShort(val);\n }\n throw new Error(\n 'val is not a non-empty string or a valid number. val=' +\n JSON.stringify(val)\n );\n};\n\n/**\n * Parse the given `str` and return milliseconds.\n *\n * @param {String} str\n * @return {Number}\n * @api private\n */\n\nfunction parse(str) {\n str = String(str);\n if (str.length > 100) {\n return;\n }\n var match = /^(-?(?:\\d+)?\\.?\\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(\n str\n );\n if (!match) {\n return;\n }\n var n = parseFloat(match[1]);\n var type = (match[2] || 'ms').toLowerCase();\n switch (type) {\n case 'years':\n case 'year':\n case 'yrs':\n case 'yr':\n case 'y':\n return n * y;\n case 'weeks':\n case 'week':\n case 'w':\n return n * w;\n case 'days':\n case 'day':\n case 'd':\n return n * d;\n case 'hours':\n case 'hour':\n case 'hrs':\n case 'hr':\n case 'h':\n return n * h;\n case 'minutes':\n case 'minute':\n case 'mins':\n case 'min':\n case 'm':\n return n * m;\n case 'seconds':\n case 'second':\n case 'secs':\n case 'sec':\n case 's':\n return n * s;\n case 'milliseconds':\n case 'millisecond':\n case 'msecs':\n case 'msec':\n case 'ms':\n return n;\n default:\n return undefined;\n }\n}\n\n/**\n * Short format for `ms`.\n *\n * @param {Number} ms\n * @return {String}\n * @api private\n */\n\nfunction fmtShort(ms) {\n var msAbs = Math.abs(ms);\n if (msAbs >= d) {\n return Math.round(ms / d) + 'd';\n }\n if (msAbs >= h) {\n return Math.round(ms / h) + 'h';\n }\n if (msAbs >= m) {\n return Math.round(ms / m) + 'm';\n }\n if (msAbs >= s) {\n return Math.round(ms / s) + 's';\n }\n return ms + 'ms';\n}\n\n/**\n * Long format for `ms`.\n *\n * @param {Number} ms\n * @return {String}\n * @api private\n */\n\nfunction fmtLong(ms) {\n var msAbs = Math.abs(ms);\n if (msAbs >= d) {\n return plural(ms, msAbs, d, 'day');\n }\n if (msAbs >= h) {\n return plural(ms, msAbs, h, 'hour');\n }\n if (msAbs >= m) {\n return plural(ms, msAbs, m, 'minute');\n }\n if (msAbs >= s) {\n return plural(ms, msAbs, s, 'second');\n }\n return ms + ' ms';\n}\n\n/**\n * Pluralization helper.\n */\n\nfunction plural(ms, msAbs, n, name) {\n var isPlural = msAbs >= n * 1.5;\n return Math.round(ms / n) + ' ' + name + (isPlural ? 's' : '');\n}\n","\n/**\n * This is the common logic for both the Node.js and web browser\n * implementations of `debug()`.\n */\n\nfunction setup(env) {\n\tcreateDebug.debug = createDebug;\n\tcreateDebug.default = createDebug;\n\tcreateDebug.coerce = coerce;\n\tcreateDebug.disable = disable;\n\tcreateDebug.enable = enable;\n\tcreateDebug.enabled = enabled;\n\tcreateDebug.humanize = require('ms');\n\tcreateDebug.destroy = destroy;\n\n\tObject.keys(env).forEach(key => {\n\t\tcreateDebug[key] = env[key];\n\t});\n\n\t/**\n\t* The currently active debug mode names, and names to skip.\n\t*/\n\n\tcreateDebug.names = [];\n\tcreateDebug.skips = [];\n\n\t/**\n\t* Map of special \"%n\" handling functions, for the debug \"format\" argument.\n\t*\n\t* Valid key names are a single, lower or upper-case letter, i.e. \"n\" and \"N\".\n\t*/\n\tcreateDebug.formatters = {};\n\n\t/**\n\t* Selects a color for a debug namespace\n\t* @param {String} namespace The namespace string for the debug instance to be colored\n\t* @return {Number|String} An ANSI color code for the given namespace\n\t* @api private\n\t*/\n\tfunction selectColor(namespace) {\n\t\tlet hash = 0;\n\n\t\tfor (let i = 0; i < namespace.length; i++) {\n\t\t\thash = ((hash << 5) - hash) + namespace.charCodeAt(i);\n\t\t\thash |= 0; // Convert to 32bit integer\n\t\t}\n\n\t\treturn createDebug.colors[Math.abs(hash) % createDebug.colors.length];\n\t}\n\tcreateDebug.selectColor = selectColor;\n\n\t/**\n\t* Create a debugger with the given `namespace`.\n\t*\n\t* @param {String} namespace\n\t* @return {Function}\n\t* @api public\n\t*/\n\tfunction createDebug(namespace) {\n\t\tlet prevTime;\n\t\tlet enableOverride = null;\n\t\tlet namespacesCache;\n\t\tlet enabledCache;\n\n\t\tfunction debug(...args) {\n\t\t\t// Disabled?\n\t\t\tif (!debug.enabled) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tconst self = debug;\n\n\t\t\t// Set `diff` timestamp\n\t\t\tconst curr = Number(new Date());\n\t\t\tconst ms = curr - (prevTime || curr);\n\t\t\tself.diff = ms;\n\t\t\tself.prev = prevTime;\n\t\t\tself.curr = curr;\n\t\t\tprevTime = curr;\n\n\t\t\targs[0] = createDebug.coerce(args[0]);\n\n\t\t\tif (typeof args[0] !== 'string') {\n\t\t\t\t// Anything else let's inspect with %O\n\t\t\t\targs.unshift('%O');\n\t\t\t}\n\n\t\t\t// Apply any `formatters` transformations\n\t\t\tlet index = 0;\n\t\t\targs[0] = args[0].replace(/%([a-zA-Z%])/g, (match, format) => {\n\t\t\t\t// If we encounter an escaped % then don't increase the array index\n\t\t\t\tif (match === '%%') {\n\t\t\t\t\treturn '%';\n\t\t\t\t}\n\t\t\t\tindex++;\n\t\t\t\tconst formatter = createDebug.formatters[format];\n\t\t\t\tif (typeof formatter === 'function') {\n\t\t\t\t\tconst val = args[index];\n\t\t\t\t\tmatch = formatter.call(self, val);\n\n\t\t\t\t\t// Now we need to remove `args[index]` since it's inlined in the `format`\n\t\t\t\t\targs.splice(index, 1);\n\t\t\t\t\tindex--;\n\t\t\t\t}\n\t\t\t\treturn match;\n\t\t\t});\n\n\t\t\t// Apply env-specific formatting (colors, etc.)\n\t\t\tcreateDebug.formatArgs.call(self, args);\n\n\t\t\tconst logFn = self.log || createDebug.log;\n\t\t\tlogFn.apply(self, args);\n\t\t}\n\n\t\tdebug.namespace = namespace;\n\t\tdebug.useColors = createDebug.useColors();\n\t\tdebug.color = createDebug.selectColor(namespace);\n\t\tdebug.extend = extend;\n\t\tdebug.destroy = createDebug.destroy; // XXX Temporary. Will be removed in the next major release.\n\n\t\tObject.defineProperty(debug, 'enabled', {\n\t\t\tenumerable: true,\n\t\t\tconfigurable: false,\n\t\t\tget: () => {\n\t\t\t\tif (enableOverride !== null) {\n\t\t\t\t\treturn enableOverride;\n\t\t\t\t}\n\t\t\t\tif (namespacesCache !== createDebug.namespaces) {\n\t\t\t\t\tnamespacesCache = createDebug.namespaces;\n\t\t\t\t\tenabledCache = createDebug.enabled(namespace);\n\t\t\t\t}\n\n\t\t\t\treturn enabledCache;\n\t\t\t},\n\t\t\tset: v => {\n\t\t\t\tenableOverride = v;\n\t\t\t}\n\t\t});\n\n\t\t// Env-specific initialization logic for debug instances\n\t\tif (typeof createDebug.init === 'function') {\n\t\t\tcreateDebug.init(debug);\n\t\t}\n\n\t\treturn debug;\n\t}\n\n\tfunction extend(namespace, delimiter) {\n\t\tconst newDebug = createDebug(this.namespace + (typeof delimiter === 'undefined' ? ':' : delimiter) + namespace);\n\t\tnewDebug.log = this.log;\n\t\treturn newDebug;\n\t}\n\n\t/**\n\t* Enables a debug mode by namespaces. This can include modes\n\t* separated by a colon and wildcards.\n\t*\n\t* @param {String} namespaces\n\t* @api public\n\t*/\n\tfunction enable(namespaces) {\n\t\tcreateDebug.save(namespaces);\n\t\tcreateDebug.namespaces = namespaces;\n\n\t\tcreateDebug.names = [];\n\t\tcreateDebug.skips = [];\n\n\t\tconst split = (typeof namespaces === 'string' ? namespaces : '')\n\t\t\t.trim()\n\t\t\t.replace(/\\s+/g, ',')\n\t\t\t.split(',')\n\t\t\t.filter(Boolean);\n\n\t\tfor (const ns of split) {\n\t\t\tif (ns[0] === '-') {\n\t\t\t\tcreateDebug.skips.push(ns.slice(1));\n\t\t\t} else {\n\t\t\t\tcreateDebug.names.push(ns);\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * Checks if the given string matches a namespace template, honoring\n\t * asterisks as wildcards.\n\t *\n\t * @param {String} search\n\t * @param {String} template\n\t * @return {Boolean}\n\t */\n\tfunction matchesTemplate(search, template) {\n\t\tlet searchIndex = 0;\n\t\tlet templateIndex = 0;\n\t\tlet starIndex = -1;\n\t\tlet matchIndex = 0;\n\n\t\twhile (searchIndex < search.length) {\n\t\t\tif (templateIndex < template.length && (template[templateIndex] === search[searchIndex] || template[templateIndex] === '*')) {\n\t\t\t\t// Match character or proceed with wildcard\n\t\t\t\tif (template[templateIndex] === '*') {\n\t\t\t\t\tstarIndex = templateIndex;\n\t\t\t\t\tmatchIndex = searchIndex;\n\t\t\t\t\ttemplateIndex++; // Skip the '*'\n\t\t\t\t} else {\n\t\t\t\t\tsearchIndex++;\n\t\t\t\t\ttemplateIndex++;\n\t\t\t\t}\n\t\t\t} else if (starIndex !== -1) { // eslint-disable-line no-negated-condition\n\t\t\t\t// Backtrack to the last '*' and try to match more characters\n\t\t\t\ttemplateIndex = starIndex + 1;\n\t\t\t\tmatchIndex++;\n\t\t\t\tsearchIndex = matchIndex;\n\t\t\t} else {\n\t\t\t\treturn false; // No match\n\t\t\t}\n\t\t}\n\n\t\t// Handle trailing '*' in template\n\t\twhile (templateIndex < template.length && template[templateIndex] === '*') {\n\t\t\ttemplateIndex++;\n\t\t}\n\n\t\treturn templateIndex === template.length;\n\t}\n\n\t/**\n\t* Disable debug output.\n\t*\n\t* @return {String} namespaces\n\t* @api public\n\t*/\n\tfunction disable() {\n\t\tconst namespaces = [\n\t\t\t...createDebug.names,\n\t\t\t...createDebug.skips.map(namespace => '-' + namespace)\n\t\t].join(',');\n\t\tcreateDebug.enable('');\n\t\treturn namespaces;\n\t}\n\n\t/**\n\t* Returns true if the given mode name is enabled, false otherwise.\n\t*\n\t* @param {String} name\n\t* @return {Boolean}\n\t* @api public\n\t*/\n\tfunction enabled(name) {\n\t\tfor (const skip of createDebug.skips) {\n\t\t\tif (matchesTemplate(name, skip)) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\n\t\tfor (const ns of createDebug.names) {\n\t\t\tif (matchesTemplate(name, ns)) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\n\t\treturn false;\n\t}\n\n\t/**\n\t* Coerce `val`.\n\t*\n\t* @param {Mixed} val\n\t* @return {Mixed}\n\t* @api private\n\t*/\n\tfunction coerce(val) {\n\t\tif (val instanceof Error) {\n\t\t\treturn val.stack || val.message;\n\t\t}\n\t\treturn val;\n\t}\n\n\t/**\n\t* XXX DO NOT USE. This is a temporary stub function.\n\t* XXX It WILL be removed in the next major release.\n\t*/\n\tfunction destroy() {\n\t\tconsole.warn('Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.');\n\t}\n\n\tcreateDebug.enable(createDebug.load());\n\n\treturn createDebug;\n}\n\nmodule.exports = setup;\n","/* eslint-env browser */\n\n/**\n * This is the web browser implementation of `debug()`.\n */\n\nexports.formatArgs = formatArgs;\nexports.save = save;\nexports.load = load;\nexports.useColors = useColors;\nexports.storage = localstorage();\nexports.destroy = (() => {\n\tlet warned = false;\n\n\treturn () => {\n\t\tif (!warned) {\n\t\t\twarned = true;\n\t\t\tconsole.warn('Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.');\n\t\t}\n\t};\n})();\n\n/**\n * Colors.\n */\n\nexports.colors = [\n\t'#0000CC',\n\t'#0000FF',\n\t'#0033CC',\n\t'#0033FF',\n\t'#0066CC',\n\t'#0066FF',\n\t'#0099CC',\n\t'#0099FF',\n\t'#00CC00',\n\t'#00CC33',\n\t'#00CC66',\n\t'#00CC99',\n\t'#00CCCC',\n\t'#00CCFF',\n\t'#3300CC',\n\t'#3300FF',\n\t'#3333CC',\n\t'#3333FF',\n\t'#3366CC',\n\t'#3366FF',\n\t'#3399CC',\n\t'#3399FF',\n\t'#33CC00',\n\t'#33CC33',\n\t'#33CC66',\n\t'#33CC99',\n\t'#33CCCC',\n\t'#33CCFF',\n\t'#6600CC',\n\t'#6600FF',\n\t'#6633CC',\n\t'#6633FF',\n\t'#66CC00',\n\t'#66CC33',\n\t'#9900CC',\n\t'#9900FF',\n\t'#9933CC',\n\t'#9933FF',\n\t'#99CC00',\n\t'#99CC33',\n\t'#CC0000',\n\t'#CC0033',\n\t'#CC0066',\n\t'#CC0099',\n\t'#CC00CC',\n\t'#CC00FF',\n\t'#CC3300',\n\t'#CC3333',\n\t'#CC3366',\n\t'#CC3399',\n\t'#CC33CC',\n\t'#CC33FF',\n\t'#CC6600',\n\t'#CC6633',\n\t'#CC9900',\n\t'#CC9933',\n\t'#CCCC00',\n\t'#CCCC33',\n\t'#FF0000',\n\t'#FF0033',\n\t'#FF0066',\n\t'#FF0099',\n\t'#FF00CC',\n\t'#FF00FF',\n\t'#FF3300',\n\t'#FF3333',\n\t'#FF3366',\n\t'#FF3399',\n\t'#FF33CC',\n\t'#FF33FF',\n\t'#FF6600',\n\t'#FF6633',\n\t'#FF9900',\n\t'#FF9933',\n\t'#FFCC00',\n\t'#FFCC33'\n];\n\n/**\n * Currently only WebKit-based Web Inspectors, Firefox >= v31,\n * and the Firebug extension (any Firefox version) are known\n * to support \"%c\" CSS customizations.\n *\n * TODO: add a `localStorage` variable to explicitly enable/disable colors\n */\n\n// eslint-disable-next-line complexity\nfunction useColors() {\n\t// NB: In an Electron preload script, document will be defined but not fully\n\t// initialized. Since we know we're in Chrome, we'll just detect this case\n\t// explicitly\n\tif (typeof window !== 'undefined' && window.process && (window.process.type === 'renderer' || window.process.__nwjs)) {\n\t\treturn true;\n\t}\n\n\t// Internet Explorer and Edge do not support colors.\n\tif (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/(edge|trident)\\/(\\d+)/)) {\n\t\treturn false;\n\t}\n\n\tlet m;\n\n\t// Is webkit? http://stackoverflow.com/a/16459606/376773\n\t// document is undefined in react-native: https://github.com/facebook/react-native/pull/1632\n\t// eslint-disable-next-line no-return-assign\n\treturn (typeof document !== 'undefined' && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance) ||\n\t\t// Is firebug? http://stackoverflow.com/a/398120/376773\n\t\t(typeof window !== 'undefined' && window.console && (window.console.firebug || (window.console.exception && window.console.table))) ||\n\t\t// Is firefox >= v31?\n\t\t// https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages\n\t\t(typeof navigator !== 'undefined' && navigator.userAgent && (m = navigator.userAgent.toLowerCase().match(/firefox\\/(\\d+)/)) && parseInt(m[1], 10) >= 31) ||\n\t\t// Double check webkit in userAgent just in case we are in a worker\n\t\t(typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\\/(\\d+)/));\n}\n\n/**\n * Colorize log arguments if enabled.\n *\n * @api public\n */\n\nfunction formatArgs(args) {\n\targs[0] = (this.useColors ? '%c' : '') +\n\t\tthis.namespace +\n\t\t(this.useColors ? ' %c' : ' ') +\n\t\targs[0] +\n\t\t(this.useColors ? '%c ' : ' ') +\n\t\t'+' + module.exports.humanize(this.diff);\n\n\tif (!this.useColors) {\n\t\treturn;\n\t}\n\n\tconst c = 'color: ' + this.color;\n\targs.splice(1, 0, c, 'color: inherit');\n\n\t// The final \"%c\" is somewhat tricky, because there could be other\n\t// arguments passed either before or after the %c, so we need to\n\t// figure out the correct index to insert the CSS into\n\tlet index = 0;\n\tlet lastC = 0;\n\targs[0].replace(/%[a-zA-Z%]/g, match => {\n\t\tif (match === '%%') {\n\t\t\treturn;\n\t\t}\n\t\tindex++;\n\t\tif (match === '%c') {\n\t\t\t// We only are interested in the *last* %c\n\t\t\t// (the user may have provided their own)\n\t\t\tlastC = index;\n\t\t}\n\t});\n\n\targs.splice(lastC, 0, c);\n}\n\n/**\n * Invokes `console.debug()` when available.\n * No-op when `console.debug` is not a \"function\".\n * If `console.debug` is not available, falls back\n * to `console.log`.\n *\n * @api public\n */\nexports.log = console.debug || console.log || (() => {});\n\n/**\n * Save `namespaces`.\n *\n * @param {String} namespaces\n * @api private\n */\nfunction save(namespaces) {\n\ttry {\n\t\tif (namespaces) {\n\t\t\texports.storage.setItem('debug', namespaces);\n\t\t} else {\n\t\t\texports.storage.removeItem('debug');\n\t\t}\n\t} catch (error) {\n\t\t// Swallow\n\t\t// XXX (@Qix-) should we be logging these?\n\t}\n}\n\n/**\n * Load `namespaces`.\n *\n * @return {String} returns the previously persisted debug modes\n * @api private\n */\nfunction load() {\n\tlet r;\n\ttry {\n\t\tr = exports.storage.getItem('debug') || exports.storage.getItem('DEBUG') ;\n\t} catch (error) {\n\t\t// Swallow\n\t\t// XXX (@Qix-) should we be logging these?\n\t}\n\n\t// If debug isn't set in LS, and we're in Electron, try to load $DEBUG\n\tif (!r && typeof process !== 'undefined' && 'env' in process) {\n\t\tr = process.env.DEBUG;\n\t}\n\n\treturn r;\n}\n\n/**\n * Localstorage attempts to return the localstorage.\n *\n * This is necessary because safari throws\n * when a user disables cookies/localstorage\n * and you attempt to access it.\n *\n * @return {LocalStorage}\n * @api private\n */\n\nfunction localstorage() {\n\ttry {\n\t\t// TVMLKit (Apple TV JS Runtime) does not have a window object, just localStorage in the global context\n\t\t// The Browser also has localStorage in the global context.\n\t\treturn localStorage;\n\t} catch (error) {\n\t\t// Swallow\n\t\t// XXX (@Qix-) should we be logging these?\n\t}\n}\n\nmodule.exports = require('./common')(exports);\n\nconst {formatters} = module.exports;\n\n/**\n * Map %j to `JSON.stringify()`, since no Web Inspectors do that by default.\n */\n\nformatters.j = function (v) {\n\ttry {\n\t\treturn JSON.stringify(v);\n\t} catch (error) {\n\t\treturn '[UnexpectedJSONParseError]: ' + error.message;\n\t}\n};\n"],"names":["s","m","h","d","w","y","ms","val","options","type","parse","fmtLong","fmtShort","str","match","msAbs","plural","name","isPlural","setup","env","createDebug","coerce","disable","enable","enabled","require$$0","destroy","key","selectColor","namespace","hash","i","prevTime","enableOverride","namespacesCache","enabledCache","debug","args","self","curr","index","format","formatter","extend","v","delimiter","newDebug","namespaces","split","ns","matchesTemplate","search","template","searchIndex","templateIndex","starIndex","matchIndex","skip","common","exports","formatArgs","save","load","useColors","localstorage","warned","module","c","lastC","r","define_process_env_default","formatters","error"],"mappings":";;;;;AAIA,MAAIA,IAAI,KACJC,IAAID,IAAI,IACRE,IAAID,IAAI,IACRE,IAAID,IAAI,IACRE,IAAID,IAAI,GACRE,IAAIF,IAAI;AAgBZ,EAAAG,IAAiB,SAAUC,GAAKC,GAAS;AACvC,IAAAA,IAAUA,KAAW,CAAE;AACvB,QAAIC,IAAO,OAAOF;AAClB,QAAIE,MAAS,YAAYF,EAAI,SAAS;AACpC,aAAOG,EAAMH,CAAG;AACX,QAAIE,MAAS,YAAY,SAASF,CAAG;AAC1C,aAAOC,EAAQ,OAAOG,EAAQJ,CAAG,IAAIK,EAASL,CAAG;AAEnD,UAAM,IAAI;AAAA,MACR,0DACE,KAAK,UAAUA,CAAG;AAAA,IACrB;AAAA,EACF;AAUD,WAASG,EAAMG,GAAK;AAElB,QADAA,IAAM,OAAOA,CAAG,GACZ,EAAAA,EAAI,SAAS,MAGjB;AAAA,UAAIC,IAAQ,mIAAmI;AAAA,QAC7ID;AAAA,MACD;AACD,UAAKC,GAGL;AAAA,YAAI,IAAI,WAAWA,EAAM,CAAC,CAAC,GACvBL,KAAQK,EAAM,CAAC,KAAK,MAAM,YAAa;AAC3C,gBAAQL,GAAI;AAAA,UACV,KAAK;AAAA,UACL,KAAK;AAAA,UACL,KAAK;AAAA,UACL,KAAK;AAAA,UACL,KAAK;AACH,mBAAO,IAAIJ;AAAA,UACb,KAAK;AAAA,UACL,KAAK;AAAA,UACL,KAAK;AACH,mBAAO,IAAID;AAAA,UACb,KAAK;AAAA,UACL,KAAK;AAAA,UACL,KAAK;AACH,mBAAO,IAAID;AAAA,UACb,KAAK;AAAA,UACL,KAAK;AAAA,UACL,KAAK;AAAA,UACL,KAAK;AAAA,UACL,KAAK;A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B,UAAA;AACH,QAAIA,IACKY,EAAA,QAAQ,QAAQ,SAASZ,CAAU,IAEnCY,EAAA,QAAQ,WAAW,OAAO;AAAA,cAEpB;AAAA,MAAA;AAAA,IAIjB;AAQA,aAASG,IAAO;AACX,UAAAO;AACA,UAAA;AACC,QAAAA,IAAAV,EAAQ,QAAQ,QAAQ,OAAO,KAAKA,EAAQ,QAAQ,QAAQ,OAAO;AAAA,cACxD;AAAA,MAAA;AAMhB,aAAI,CAACU,KAAK,OAAO,UAAY,OAAe,SAAS,YACpDA,IAAIC,EAAY,QAGVD;AAAA,IACR;AAaA,aAASL,IAAe;AACnB,UAAA;AAGI,eAAA;AAAA,cACQ;AAAA,MAAA;AAAA,IAIjB;AAEA,IAAAE,EAAiB,UAAAzC,EAAkB,EAAEkC,CAAO;AAE5C,UAAM,EAAC,YAAAY,MAAcL,EAAO;AAM5B,IAAAK,EAAW,IAAI,SAAU3B,GAAG;AACvB,UAAA;AACI,eAAA,KAAK,UAAUA,CAAC;AAAA,eACf4B,GAAO;AACf,eAAO,iCAAiCA,EAAM;AAAA,MAAA;AAAA;;;;;","x_google_ignoreList":[0,1,2]}
package/dist/desk.mjs ADDED
@@ -0,0 +1,53 @@
1
+ import { C as e, x as t, l as o, A as n, D as s, b as a, e as r, f as i, F as u, G as m, y as c, H as l, I as d, L as I, o as $, M as p, u as D, S as B, w as L, c as T, j as P, n as V, d as y, a as F, v as S, q as g, r as C, g as E, i as M, m as f, p as h, t as w, z, k as b, h as N, s as G } from "./StructureToolProvider-B-7cwz7l.mjs";
2
+ import { C as k, D as H, h as R, d as _, c as v, b as A, s as O, i as U, g as W, f as x, u as j } from "./structureTool-Bth1vd8r.mjs";
3
+ const K = e, Q = t, X = k, Y = o, Z = n, ee = s, te = H, oe = a, ne = r, se = R, ae = _, re = v, ie = i, ue = u, me = m, ce = c, le = l, de = d, Ie = I, $e = $, pe = p, De = D, Be = A, Le = B, Te = L, Pe = T, Ve = P, ye = V, Fe = O, Se = y, ge = F, Ce = S, Ee = g, Me = C, fe = E, he = M, we = f, ze = h, be = w, Ne = z, Ge = b, ke = N, He = G, Re = U, _e = W, ve = x, Ae = j;
4
+ export {
5
+ K as ComponentBuilder,
6
+ Q as ComponentViewBuilder,
7
+ X as ConfirmDeleteDialog,
8
+ Y as DEFAULT_INTENT_HANDLER,
9
+ Z as DeskToolProvider,
10
+ ee as DocumentBuilder,
11
+ te as DocumentInspectorHeader,
12
+ oe as DocumentListBuilder,
13
+ ne as DocumentListItemBuilder,
14
+ se as DocumentListPane,
15
+ ae as DocumentPane,
16
+ re as DocumentPaneProvider,
17
+ ie as DocumentTypeListBuilder,
18
+ ue as FormViewBuilder,
19
+ me as GenericListBuilder,
20
+ ce as GenericViewBuilder,
21
+ le as HELP_URL,
22
+ de as InitialValueTemplateItemBuilder,
23
+ Ie as ListBuilder,
24
+ $e as ListItemBuilder,
25
+ pe as MenuItemBuilder,
26
+ De as MenuItemGroupBuilder,
27
+ Be as PaneLayout,
28
+ Le as SerializeError,
29
+ Te as component,
30
+ Pe as createStructureBuilder,
31
+ Ve as defaultInitialValueTemplateItems,
32
+ ye as defaultIntentChecker,
33
+ Fe as deskTool,
34
+ Se as documentFromEditor,
35
+ ge as documentFromEditorWithInitialValue,
36
+ Ce as form,
37
+ Ee as getOrderingMenuItem,
38
+ Me as getOrderingMenuItemsForSchemaType,
39
+ fe as getTypeNamesFromFilter,
40
+ he as isDocumentListItem,
41
+ we as maybeSerializeInitialValueTemplateItem,
42
+ ze as maybeSerializeMenuItem,
43
+ be as maybeSerializeMenuItemGroup,
44
+ Ne as maybeSerializeView,
45
+ Ge as menuItemsFromInitialValueTemplateItems,
46
+ ke as shallowIntentChecker,
47
+ He as structureLocaleNamespace,
48
+ Re as useDeskTool,
49
+ _e as useDocumentPane,
50
+ ve as useDocumentTitle,
51
+ Ae as usePaneRouter
52
+ };
53
+ //# sourceMappingURL=desk.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"desk.mjs","sources":["../src/desk/index.ts"],"sourcesContent":["/**\n * This is a _FALLBACK MODULE_ provided for backwards compatibility, and is likely to be removed\n * in Sanity v4.0.0. Please import from `sanity/structure` instead.\n *\n * @deprecated Use `sanity/structure` instead.\n */\nimport {\n type BackLinkProps as _BackLinkProps,\n type BaseGenericList as _BaseGenericList,\n type BaseIntentParams as _BaseIntentParams,\n type BaseView as _BaseView,\n type BuildableComponent as _BuildableComponent,\n type BuildableGenericList as _BuildableGenericList,\n type BuildableList as _BuildableList,\n type Builder as _Builder,\n type Child as _Child,\n type ChildLinkProps as _ChildLinkProps,\n type ChildObservable as _ChildObservable,\n type ChildResolver as _ChildResolver,\n type ChildResolverOptions as _ChildResolverOptions,\n type Collection as _Collection,\n type CollectionBuilder as _CollectionBuilder,\n type Component as _Component,\n component as _component,\n ComponentBuilder as _ComponentBuilder,\n type ComponentInput as _ComponentInput,\n type ComponentView as _ComponentView,\n ComponentViewBuilder as _ComponentViewBuilder,\n ConfirmDeleteDialog as _ConfirmDeleteDialog,\n type ConfirmDeleteDialogProps as _ConfirmDeleteDialogProps,\n createStructureBuilder as _createStructureBuilder,\n type CustomComponentPaneNode as _CustomComponentPaneNode,\n DEFAULT_INTENT_HANDLER as _DEFAULT_INTENT_HANDLER,\n type DefaultDocumentNodeContext as _DefaultDocumentNodeContext,\n type DefaultDocumentNodeResolver as _DefaultDocumentNodeResolver,\n defaultInitialValueTemplateItems as _defaultInitialValueTemplateItems,\n defaultIntentChecker as _defaultIntentChecker,\n type Divider as _Divider,\n DocumentBuilder as _DocumentBuilder,\n type DocumentFieldMenuActionNode as _DocumentFieldMenuActionNode,\n documentFromEditor as _documentFromEditor,\n documentFromEditorWithInitialValue as _documentFromEditorWithInitialValue,\n DocumentInspectorHeader as _DocumentInspectorHeader,\n type DocumentList as _DocumentList,\n DocumentListBuilder as _DocumentListBuilder,\n type DocumentListInput as _DocumentListInput,\n type DocumentListItem as _DocumentListItem,\n DocumentListItemBuilder as _DocumentListItemBuilder,\n type DocumentListItemInput as _DocumentListItemInput,\n type DocumentListOptions as _DocumentListOptions,\n DocumentListPane as _DocumentListPane,\n type DocumentListPaneNode as _DocumentListPaneNode,\n type DocumentListPaneProps as _DocumentListPaneProps,\n type DocumentNode as _DocumentNode,\n type DocumentOptions as _DocumentOptions,\n DocumentPane as _DocumentPane,\n type DocumentPaneNode as _DocumentPaneNode,\n DocumentPaneProvider as _DocumentPaneProvider,\n type DocumentPaneProviderProps as _DocumentPaneProviderProps,\n DocumentTypeListBuilder as _DocumentTypeListBuilder,\n type DocumentTypeListInput as _DocumentTypeListInput,\n type EditorNode as _EditorNode,\n type EditReferenceOptions as _EditReferenceOptions,\n form as _form,\n type FormView as _FormView,\n FormViewBuilder as _FormViewBuilder,\n type GenericList as _GenericList,\n GenericListBuilder as _GenericListBuilder,\n type GenericListInput as _GenericListInput,\n GenericViewBuilder as _GenericViewBuilder,\n getOrderingMenuItem as _getOrderingMenuItem,\n getOrderingMenuItemsForSchemaType as _getOrderingMenuItemsForSchemaType,\n getTypeNamesFromFilter as _getTypeNamesFromFilter,\n HELP_URL as _HELP_URL,\n InitialValueTemplateItemBuilder as _InitialValueTemplateItemBuilder,\n type Intent as _Intent,\n type IntentChecker as _IntentChecker,\n type IntentJsonParams as _IntentJsonParams,\n type IntentParams as _IntentParams,\n isDocumentListItem as _isDocumentListItem,\n type ItemChild as _ItemChild,\n type List as _List,\n ListBuilder as _ListBuilder,\n type ListDisplayOptions as _ListDisplayOptions,\n type ListInput as _ListInput,\n type ListItem as _ListItem,\n ListItemBuilder as _ListItemBuilder,\n type ListItemChild as _ListItemChild,\n type ListItemDisplayOptions as _ListItemDisplayOptions,\n type ListItemInput as _ListItemInput,\n type ListItemSerializeOptions as _ListItemSerializeOptions,\n type ListPaneNode as _ListPaneNode,\n maybeSerializeInitialValueTemplateItem as _maybeSerializeInitialValueTemplateItem,\n maybeSerializeMenuItem as _maybeSerializeMenuItem,\n maybeSerializeMenuItemGroup as _maybeSerializeMenuItemGroup,\n maybeSerializeView as _maybeSerializeView,\n type MenuItem as _MenuItem,\n type MenuItemActionType as _MenuItemActionType,\n MenuItemBuilder as _MenuItemBuilder,\n type MenuItemGroup as _MenuItemGroup,\n MenuItemGroupBuilder as _MenuItemGroupBuilder,\n type MenuItemParamsType as _MenuItemParamsType,\n menuItemsFromInitialValueTemplateItems as _menuItemsFromInitialValueTemplateItems,\n PaneLayout as _PaneLayout,\n type PaneListItem as _PaneListItem,\n type PaneListItemDivider as _PaneListItemDivider,\n type PaneMenuItem as _PaneMenuItem,\n type PaneMenuItemGroup as _PaneMenuItemGroup,\n type PaneNode as _PaneNode,\n type PaneNodeResolver as _PaneNodeResolver,\n type PaneRouterContextValue as _PaneRouterContextValue,\n type ParameterizedLinkProps as _ParameterizedLinkProps,\n type PartialDocumentList as _PartialDocumentList,\n type PartialDocumentListItem as _PartialDocumentListItem,\n type PartialDocumentNode as _PartialDocumentNode,\n type PartialListItem as _PartialListItem,\n type PartialMenuItem as _PartialMenuItem,\n type ReferenceChildLinkProps as _ReferenceChildLinkProps,\n type RouterPaneGroup as _RouterPaneGroup,\n type RouterPanes as _RouterPanes,\n type RouterPaneSibling as _RouterPaneSibling,\n type RouterPaneSiblingContext as _RouterPaneSiblingContext,\n type SerializablePaneNode as _SerializablePaneNode,\n SerializeError as _SerializeError,\n type SerializeOptions as _SerializeOptions,\n type SerializePath as _SerializePath,\n shallowIntentChecker as _shallowIntentChecker,\n type SortMenuItem as _SortMenuItem,\n type StructureBuilder as _StructureBuilder,\n type StructureBuilderOptions as _StructureBuilderOptions,\n type StructureContext as _StructureContext,\n structureLocaleNamespace as _structureLocaleNamespace,\n type StructureLocaleResourceKeys as _StructureLocaleResourceKeys,\n type StructureNode as _StructureNode,\n type StructureResolver as _StructureResolver,\n type StructureResolverContext as _StructureResolverContext,\n structureTool as _structureTool,\n type StructureToolContextValue as _DeskToolContextValue,\n type StructureToolFeatures as _DeskToolFeatures,\n type StructureToolMenuItem as _DeskToolMenuItem,\n type StructureToolOptions as _DeskToolOptions,\n type StructureToolPaneActionHandler as _DeskToolPaneActionHandler,\n StructureToolProvider as _DeskToolProvider,\n type StructureToolProviderProps as _DeskToolProviderProps,\n type UnresolvedPaneNode as _UnresolvedPaneNode,\n type UnserializedListItem as _UnserializedListItem,\n type UnserializedListItemChild as _UnserializedListItemChild,\n useDocumentPane as _useDocumentPane,\n useDocumentTitle as _useDocumentTitle,\n usePaneRouter as _usePaneRouter,\n type UserComponent as _UserComponent,\n type UserViewComponent as _UserViewComponent,\n useStructureTool as _useStructureTool,\n type View as _View,\n type ViewBuilder as _ViewBuilder,\n} from '../structure'\n\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type BackLinkProps = _BackLinkProps\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type BaseGenericList = _BaseGenericList\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type BaseIntentParams = _BaseIntentParams\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type {BaseResolvedPaneNode} from '../structure'\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type BaseView = _BaseView\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type BuildableComponent = _BuildableComponent\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type BuildableGenericList = _BuildableGenericList\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type BuildableList = _BuildableList\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type Builder = _Builder\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type Child = _Child\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type ChildLinkProps = _ChildLinkProps\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type ChildObservable = _ChildObservable\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type ChildResolver = _ChildResolver\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type ChildResolverOptions = _ChildResolverOptions\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type Collection = _Collection\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type CollectionBuilder = _CollectionBuilder\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type Component = _Component\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type ComponentInput = _ComponentInput\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type ComponentView = _ComponentView\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type ConfirmDeleteDialogProps = _ConfirmDeleteDialogProps\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type CustomComponentPaneNode = _CustomComponentPaneNode\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type DefaultDocumentNodeContext = _DefaultDocumentNodeContext\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type DefaultDocumentNodeResolver = _DefaultDocumentNodeResolver\n/**\n * @deprecated Import `StructureToolContextValue` from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type DeskToolContextValue = _DeskToolContextValue\n/**\n * @deprecated Import `StructureToolFeatures` from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type DeskToolFeatures = _DeskToolFeatures\n/**\n * @deprecated Import `StructureToolMenuItem` from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type DeskToolMenuItem = _DeskToolMenuItem\n/**\n * @deprecated Import `StructureToolOptions` from `sanity/structure` instead\n * @hidden\n * @public\n */\nexport type DeskToolOptions = _DeskToolOptions\n/**\n * @deprecated Import `StructureToolPaneActionHandler` from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type DeskToolPaneActionHandler = _DeskToolPaneActionHandler\n/**\n * @deprecated Import `StructureToolProviderProps` from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type DeskToolProviderProps = _DeskToolProviderProps\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type Divider = _Divider\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type DocumentFieldMenuActionNode = _DocumentFieldMenuActionNode\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type DocumentList = _DocumentList\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type DocumentListInput = _DocumentListInput\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type DocumentListItem = _DocumentListItem\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type DocumentListItemInput = _DocumentListItemInput\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type DocumentListOptions = _DocumentListOptions\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type DocumentListPaneNode = _DocumentListPaneNode\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type DocumentListPaneProps = _DocumentListPaneProps\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type DocumentNode = _DocumentNode\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type DocumentOptions = _DocumentOptions\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type DocumentPaneNode = _DocumentPaneNode\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type DocumentPaneProviderProps = _DocumentPaneProviderProps\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type DocumentTypeListInput = _DocumentTypeListInput\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type EditReferenceOptions = _EditReferenceOptions\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type EditorNode = _EditorNode\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type FormView = _FormView\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type GenericList = _GenericList\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type GenericListInput = _GenericListInput\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type Intent = _Intent\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type IntentChecker = _IntentChecker\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type IntentJsonParams = _IntentJsonParams\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type IntentParams = _IntentParams\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type ItemChild = _ItemChild\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type List = _List\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type ListDisplayOptions = _ListDisplayOptions\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type ListInput = _ListInput\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type ListItem = _ListItem\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type ListItemChild = _ListItemChild\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type ListItemDisplayOptions = _ListItemDisplayOptions\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type ListItemInput = _ListItemInput\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type ListItemSerializeOptions = _ListItemSerializeOptions\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type ListPaneNode = _ListPaneNode\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type MenuItem = _MenuItem\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type MenuItemActionType = _MenuItemActionType\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type MenuItemGroup = _MenuItemGroup\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type MenuItemParamsType = _MenuItemParamsType\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type PaneListItem = _PaneListItem\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type PaneListItemDivider = _PaneListItemDivider\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type PaneMenuItem = _PaneMenuItem\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type PaneMenuItemGroup = _PaneMenuItemGroup\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type PaneNode = _PaneNode\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type PaneNodeResolver = _PaneNodeResolver\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type PaneRouterContextValue = _PaneRouterContextValue\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type ParameterizedLinkProps = _ParameterizedLinkProps\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type PartialDocumentList = _PartialDocumentList\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type PartialDocumentListItem = _PartialDocumentListItem\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type PartialDocumentNode = _PartialDocumentNode\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type PartialListItem = _PartialListItem\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type PartialMenuItem = _PartialMenuItem\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type ReferenceChildLinkProps = _ReferenceChildLinkProps\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type RouterPaneGroup = _RouterPaneGroup\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type RouterPaneSibling = _RouterPaneSibling\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type RouterPaneSiblingContext = _RouterPaneSiblingContext\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type RouterPanes = _RouterPanes\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type {Serializable} from '../structure'\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type SerializablePaneNode = _SerializablePaneNode\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type SerializeOptions = _SerializeOptions\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type SerializePath = _SerializePath\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type SortMenuItem = _SortMenuItem\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type StructureBuilder = _StructureBuilder\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type StructureBuilderOptions = _StructureBuilderOptions\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type StructureContext = _StructureContext\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type StructureLocaleResourceKeys = _StructureLocaleResourceKeys\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type StructureNode = _StructureNode\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type StructureResolver = _StructureResolver\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type StructureResolverContext = _StructureResolverContext\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type UnresolvedPaneNode = _UnresolvedPaneNode\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type UnserializedListItem = _UnserializedListItem\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type UnserializedListItemChild = _UnserializedListItemChild\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type UserComponent = _UserComponent\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type UserViewComponent = _UserViewComponent\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type View = _View\n/**\n * @deprecated Import from `sanity/structure` instead\n * @hidden\n * @beta\n */\nexport type ViewBuilder = _ViewBuilder\n\n/** --------- NON-TYPES FOLLOW --------- */\n\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const ComponentBuilder = _ComponentBuilder\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const ComponentViewBuilder = _ComponentViewBuilder\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const ConfirmDeleteDialog = _ConfirmDeleteDialog\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const DEFAULT_INTENT_HANDLER = _DEFAULT_INTENT_HANDLER\n/**\n * @deprecated Import `StructureToolProvider` from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const DeskToolProvider = _DeskToolProvider\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const DocumentBuilder = _DocumentBuilder\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const DocumentInspectorHeader = _DocumentInspectorHeader\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const DocumentListBuilder = _DocumentListBuilder\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const DocumentListItemBuilder = _DocumentListItemBuilder\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const DocumentListPane = _DocumentListPane\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const DocumentPane = _DocumentPane\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const DocumentPaneProvider = _DocumentPaneProvider\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const DocumentTypeListBuilder = _DocumentTypeListBuilder\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const FormViewBuilder = _FormViewBuilder\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const GenericListBuilder = _GenericListBuilder\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const GenericViewBuilder = _GenericViewBuilder\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const HELP_URL = _HELP_URL\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const InitialValueTemplateItemBuilder = _InitialValueTemplateItemBuilder\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const ListBuilder = _ListBuilder\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const ListItemBuilder = _ListItemBuilder\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const MenuItemBuilder = _MenuItemBuilder\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const MenuItemGroupBuilder = _MenuItemGroupBuilder\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const PaneLayout = _PaneLayout\n\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const SerializeError = _SerializeError\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const component = _component\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const createStructureBuilder = _createStructureBuilder\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const defaultInitialValueTemplateItems = _defaultInitialValueTemplateItems\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const defaultIntentChecker = _defaultIntentChecker\n/**\n * @deprecated Import `structureTool` from `sanity/structure` instead!\n * @hidden\n * @public\n */\nexport const deskTool = _structureTool\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const documentFromEditor = _documentFromEditor\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const documentFromEditorWithInitialValue = _documentFromEditorWithInitialValue\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const form = _form\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const getOrderingMenuItem = _getOrderingMenuItem\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const getOrderingMenuItemsForSchemaType = _getOrderingMenuItemsForSchemaType\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const getTypeNamesFromFilter = _getTypeNamesFromFilter\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const isDocumentListItem = _isDocumentListItem\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const maybeSerializeInitialValueTemplateItem = _maybeSerializeInitialValueTemplateItem\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const maybeSerializeMenuItem = _maybeSerializeMenuItem\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const maybeSerializeMenuItemGroup = _maybeSerializeMenuItemGroup\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const maybeSerializeView = _maybeSerializeView\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const menuItemsFromInitialValueTemplateItems = _menuItemsFromInitialValueTemplateItems\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const shallowIntentChecker = _shallowIntentChecker\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const structureLocaleNamespace = _structureLocaleNamespace\n/**\n * @deprecated Import `useStructureTool` from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const useDeskTool = _useStructureTool\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const useDocumentPane = _useDocumentPane\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const useDocumentTitle = _useDocumentTitle\n/**\n * @deprecated Import from `sanity/structure` instead!\n * @hidden\n * @beta\n */\nexport const usePaneRouter = _usePaneRouter\n"],"names":["ComponentBuilder","_ComponentBuilder","ComponentViewBuilder","_ComponentViewBuilder","ConfirmDeleteDialog","_ConfirmDeleteDialog","DEFAULT_INTENT_HANDLER","_DEFAULT_INTENT_HANDLER","DeskToolProvider","_DeskToolProvider","DocumentBuilder","_DocumentBuilder","DocumentInspectorHeader","_DocumentInspectorHeader","DocumentListBuilder","_DocumentListBuilder","DocumentListItemBuilder","_DocumentListItemBuilder","DocumentListPane","_DocumentListPane","DocumentPane","_DocumentPane","DocumentPaneProvider","_DocumentPaneProvider","DocumentTypeListBuilder","_DocumentTypeListBuilder","FormViewBuilder","_FormViewBuilder","GenericListBuilder","_GenericListBuilder","GenericViewBuilder","_GenericViewBuilder","HELP_URL","_HELP_URL","InitialValueTemplateItemBuilder","_InitialValueTemplateItemBuilder","ListBuilder","_ListBuilder","ListItemBuilder","_ListItemBuilder","MenuItemBuilder","_MenuItemBuilder","MenuItemGroupBuilder","_MenuItemGroupBuilder","PaneLayout","_PaneLayout","SerializeError","_SerializeError","component","_component","createStructureBuilder","_createStructureBuilder","defaultInitialValueTemplateItems","_defaultInitialValueTemplateItems","defaultIntentChecker","_defaultIntentChecker","deskTool","_structureTool","documentFromEditor","_documentFromEditor","documentFromEditorWithInitialValue","_documentFromEditorWithInitialValue","form","_form","getOrderingMenuItem","_getOrderingMenuItem","getOrderingMenuItemsForSchemaType","_getOrderingMenuItemsForSchemaType","getTypeNamesFromFilter","_getTypeNamesFromFilter","isDocumentListItem","_isDocumentListItem","maybeSerializeInitialValueTemplateItem","_maybeSerializeInitialValueTemplateItem","maybeSerializeMenuItem","_maybeSerializeMenuItem","maybeSerializeMenuItemGroup","_maybeSerializeMenuItemGroup","maybeSerializeView","_maybeSerializeView","menuItemsFromInitialValueTemplateItems","_menuItemsFromInitialValueTemplateItems","shallowIntentChecker","_shallowIntentChecker","structureLocaleNamespace","_structureLocaleNamespace","useDeskTool","_useStructureTool","useDocumentPane","_useDocumentPane","useDocumentTitle","_useDocumentTitle","usePaneRouter","_usePaneRouter"],"mappings":";;AA+wBO,MAAMA,IAAmBC,GAMnBC,IAAuBC,GAMvBC,IAAsBC,GAMtBC,IAAyBC,GAMzBC,IAAmBC,GAMnBC,KAAkBC,GAMlBC,KAA0BC,GAM1BC,KAAsBC,GAMtBC,KAA0BC,GAM1BC,KAAmBC,GAMnBC,KAAeC,GAMfC,KAAuBC,GAMvBC,KAA0BC,GAM1BC,KAAkBC,GAMlBC,KAAqBC,GAMrBC,KAAqBC,GAMrBC,KAAWC,GAMXC,KAAkCC,GAMlCC,KAAcC,GAMdC,KAAkBC,GAMlBC,KAAkBC,GAMlBC,KAAuBC,GAMvBC,KAAaC,GAObC,KAAiBC,GAMjBC,KAAYC,GAMZC,KAAyBC,GAMzBC,KAAmCC,GAMnCC,KAAuBC,GAMvBC,KAAWC,GAMXC,KAAqBC,GAMrBC,KAAqCC,GAMrCC,KAAOC,GAMPC,KAAsBC,GAMtBC,KAAoCC,GAMpCC,KAAyBC,GAMzBC,KAAqBC,GAMrBC,KAAyCC,GAMzCC,KAAyBC,GAMzBC,KAA8BC,GAM9BC,KAAqBC,GAMrBC,KAAyCC,GAMzCC,KAAuBC,GAMvBC,KAA2BC,GAM3BC,KAAcC,GAMdC,KAAkBC,GAMlBC,KAAmBC,GAMnBC,KAAgBC;"}
@@ -0,0 +1,42 @@
1
+ import { E as a, f as l, b as m } from "./index-RoxwhtVB.mjs";
2
+ import { o, c as u } from "./v4-zH-CAum7.mjs";
3
+ import { i as p } from "./Observable-CCQtH8Gg.mjs";
4
+ function c(n) {
5
+ return o(function(f, t) {
6
+ var e = !1;
7
+ f.subscribe(u(t, function(r) {
8
+ e = !0, t.next(r);
9
+ }, function() {
10
+ e || t.next(n), t.complete();
11
+ }));
12
+ });
13
+ }
14
+ function s(n) {
15
+ return n === void 0 && (n = E), o(function(f, t) {
16
+ var e = !1;
17
+ f.subscribe(u(t, function(r) {
18
+ e = !0, t.next(r);
19
+ }, function() {
20
+ return e ? t.complete() : t.error(n());
21
+ }));
22
+ });
23
+ }
24
+ function E() {
25
+ return new a();
26
+ }
27
+ function x(n, f) {
28
+ var t = arguments.length >= 2;
29
+ return function(e) {
30
+ return e.pipe(n ? l(function(r, i) {
31
+ return n(r, i, e);
32
+ }) : p, m(1), t ? c(f) : s(function() {
33
+ return new a();
34
+ }));
35
+ };
36
+ }
37
+ export {
38
+ c as d,
39
+ x as f,
40
+ s as t
41
+ };
42
+ //# sourceMappingURL=first-Cz545eV-.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"first-Cz545eV-.mjs","sources":["../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/operators/defaultIfEmpty.js","../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/operators/throwIfEmpty.js","../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/operators/first.js"],"sourcesContent":["import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function defaultIfEmpty(defaultValue) {\n return operate(function (source, subscriber) {\n var hasValue = false;\n source.subscribe(createOperatorSubscriber(subscriber, function (value) {\n hasValue = true;\n subscriber.next(value);\n }, function () {\n if (!hasValue) {\n subscriber.next(defaultValue);\n }\n subscriber.complete();\n }));\n });\n}\n//# sourceMappingURL=defaultIfEmpty.js.map","import { EmptyError } from '../util/EmptyError';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function throwIfEmpty(errorFactory) {\n if (errorFactory === void 0) { errorFactory = defaultErrorFactory; }\n return operate(function (source, subscriber) {\n var hasValue = false;\n source.subscribe(createOperatorSubscriber(subscriber, function (value) {\n hasValue = true;\n subscriber.next(value);\n }, function () { return (hasValue ? subscriber.complete() : subscriber.error(errorFactory())); }));\n });\n}\nfunction defaultErrorFactory() {\n return new EmptyError();\n}\n//# sourceMappingURL=throwIfEmpty.js.map","import { EmptyError } from '../util/EmptyError';\nimport { filter } from './filter';\nimport { take } from './take';\nimport { defaultIfEmpty } from './defaultIfEmpty';\nimport { throwIfEmpty } from './throwIfEmpty';\nimport { identity } from '../util/identity';\nexport function first(predicate, defaultValue) {\n var hasDefaultValue = arguments.length >= 2;\n return function (source) {\n return source.pipe(predicate ? filter(function (v, i) { return predicate(v, i, source); }) : identity, take(1), hasDefaultValue ? defaultIfEmpty(defaultValue) : throwIfEmpty(function () { return new EmptyError(); }));\n };\n}\n//# sourceMappingURL=first.js.map"],"names":["defaultIfEmpty","defaultValue","operate","source","subscriber","hasValue","createOperatorSubscriber","value","throwIfEmpty","errorFactory","defaultErrorFactory","EmptyError","first","predicate","hasDefaultValue","filter","v","identity","take"],"mappings":";;;AAEO,SAASA,EAAeC,GAAc;AACzC,SAAOC,EAAQ,SAAUC,GAAQC,GAAY;AACzC,QAAIC,IAAW;AACf,IAAAF,EAAO,UAAUG,EAAyBF,GAAY,SAAUG,GAAO;AACnE,MAAAF,IAAW,IACXD,EAAW,KAAKG,CAAK;AAAA,IACjC,GAAW,WAAY;AACX,MAAKF,KACDD,EAAW,KAAKH,CAAY,GAEhCG,EAAW,SAAU;AAAA,IACjC,CAAS,CAAC;AAAA,EACV,CAAK;AACL;ACZO,SAASI,EAAaC,GAAc;AACvC,SAAIA,MAAiB,WAAUA,IAAeC,IACvCR,EAAQ,SAAUC,GAAQC,GAAY;AACzC,QAAIC,IAAW;AACf,IAAAF,EAAO,UAAUG,EAAyBF,GAAY,SAAUG,GAAO;AACnE,MAAAF,IAAW,IACXD,EAAW,KAAKG,CAAK;AAAA,IACxB,GAAE,WAAY;AAAE,aAAQF,IAAWD,EAAW,SAAQ,IAAKA,EAAW,MAAMK,GAAc;AAAA,IAAK,CAAA,CAAC;AAAA,EACzG,CAAK;AACL;AACA,SAASC,IAAsB;AAC3B,SAAO,IAAIC,EAAY;AAC3B;ACTO,SAASC,EAAMC,GAAWZ,GAAc;AAC3C,MAAIa,IAAkB,UAAU,UAAU;AAC1C,SAAO,SAAUX,GAAQ;AACrB,WAAOA,EAAO,KAAKU,IAAYE,EAAO,SAAUC,GAAG,GAAG;AAAE,aAAOH,EAAUG,GAAG,GAAGb,CAAM;AAAA,IAAE,CAAE,IAAIc,GAAUC,EAAK,CAAC,GAAGJ,IAAkBd,EAAeC,CAAY,IAAIO,EAAa,WAAY;AAAE,aAAO,IAAIG,EAAY;AAAA,IAAG,CAAA,CAAC;AAAA,EAC1N;AACL;","x_google_ignoreList":[0,1,2]}