@digipair/skill-web-chatbot 0.114.2 → 0.114.3

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 (49) hide show
  1. package/dist/index.cjs.js +2118 -8
  2. package/dist/index.esm2.js +5 -5
  3. package/package.json +6 -2
  4. package/dist/SAP-icons.cjs.js +0 -2489
  5. package/dist/SAP-icons.cjs2.js +0 -2489
  6. package/dist/Tableau10-558cc280.cjs.js +0 -9
  7. package/dist/arc-d1f6357e.cjs.js +0 -88
  8. package/dist/array-2ff2c7a6.cjs.js +0 -11
  9. package/dist/blockDiagram-5dc23a45.cjs.js +0 -2916
  10. package/dist/c4Diagram-1e775db3.cjs.js +0 -4386
  11. package/dist/channel-ebbc4130.cjs.js +0 -9
  12. package/dist/classDiagram-f52caa06.cjs.js +0 -209
  13. package/dist/classDiagram-v2-640c694e.cjs.js +0 -401
  14. package/dist/clone-afc2f047.cjs.js +0 -10
  15. package/dist/createText-03b82060.cjs.js +0 -2940
  16. package/dist/edges-16357fde.cjs.js +0 -2002
  17. package/dist/erDiagram-c7ff1bec.cjs.js +0 -1807
  18. package/dist/flowDb-9a89ea33.cjs.js +0 -5542
  19. package/dist/flowDiagram-aadb13b0.cjs.js +0 -1351
  20. package/dist/flowDiagram-v2-f2119625.cjs.js +0 -31
  21. package/dist/flowchart-elk-definition-cf813a97.cjs.js +0 -50248
  22. package/dist/ganttDiagram-3c2fde2b.cjs.js +0 -3710
  23. package/dist/gitGraphDiagram-c3a0619c.cjs.js +0 -3815
  24. package/dist/graph-0ee63739.cjs.js +0 -954
  25. package/dist/index-bb6d8841.cjs.js +0 -648
  26. package/dist/index.cjs2.js +0 -76743
  27. package/dist/infoDiagram-2f5c50c0.cjs.js +0 -460
  28. package/dist/init-f9637058.cjs.js +0 -17
  29. package/dist/journeyDiagram-14fe341a.cjs.js +0 -1061
  30. package/dist/katex-d90b6d29.cjs.js +0 -25690
  31. package/dist/layout-fd473db2.cjs.js +0 -1613
  32. package/dist/line-24d93f1b.cjs.js +0 -34
  33. package/dist/linear-9bcf74c4.cjs.js +0 -537
  34. package/dist/mindmap-definition-9399c7e6.cjs.js +0 -20488
  35. package/dist/ordinal-5695958c.cjs.js +0 -330
  36. package/dist/path-428ebac9.cjs.js +0 -316
  37. package/dist/pieDiagram-828dae43.cjs.js +0 -949
  38. package/dist/quadrantDiagram-5fa00455.cjs.js +0 -2409
  39. package/dist/requirementDiagram-03163dc4.cjs.js +0 -2267
  40. package/dist/sankeyDiagram-52ec8976.cjs.js +0 -1848
  41. package/dist/sequenceDiagram-b517d154.cjs.js +0 -5948
  42. package/dist/stateDiagram-fca82b5b.cjs.js +0 -283
  43. package/dist/stateDiagram-v2-ed04200a.cjs.js +0 -373
  44. package/dist/styles-11e81fdd.cjs.js +0 -3943
  45. package/dist/styles-cacbff60.cjs.js +0 -2120
  46. package/dist/styles-e75131e4.cjs.js +0 -671
  47. package/dist/svgDrawCommon-ecc5f780.cjs.js +0 -68
  48. package/dist/timeline-definition-4ee9bff4.cjs.js +0 -1161
  49. package/dist/xychartDiagram-e5e6b652.cjs.js +0 -3150
@@ -1,330 +0,0 @@
1
- 'use strict';
2
-
3
- var initF9637058 = require('./init-f9637058.cjs.js');
4
-
5
- function _array_like_to_array(arr, len) {
6
- if (len == null || len > arr.length) len = arr.length;
7
- for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
8
- return arr2;
9
- }
10
- function _array_with_holes(arr) {
11
- if (Array.isArray(arr)) return arr;
12
- }
13
- function _assert_this_initialized(self) {
14
- if (self === void 0) {
15
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
16
- }
17
- return self;
18
- }
19
- function _class_call_check(instance, Constructor) {
20
- if (!(instance instanceof Constructor)) {
21
- throw new TypeError("Cannot call a class as a function");
22
- }
23
- }
24
- function _construct(Parent, args, Class) {
25
- if (_is_native_reflect_construct()) {
26
- _construct = Reflect.construct;
27
- } else {
28
- _construct = function construct(Parent, args, Class) {
29
- var a = [
30
- null
31
- ];
32
- a.push.apply(a, args);
33
- var Constructor = Function.bind.apply(Parent, a);
34
- var instance = new Constructor();
35
- if (Class) _set_prototype_of(instance, Class.prototype);
36
- return instance;
37
- };
38
- }
39
- return _construct.apply(null, arguments);
40
- }
41
- function _defineProperties(target, props) {
42
- for(var i = 0; i < props.length; i++){
43
- var descriptor = props[i];
44
- descriptor.enumerable = descriptor.enumerable || false;
45
- descriptor.configurable = true;
46
- if ("value" in descriptor) descriptor.writable = true;
47
- Object.defineProperty(target, descriptor.key, descriptor);
48
- }
49
- }
50
- function _create_class(Constructor, protoProps, staticProps) {
51
- if (protoProps) _defineProperties(Constructor.prototype, protoProps);
52
- return Constructor;
53
- }
54
- function _get(target, property, receiver) {
55
- if (typeof Reflect !== "undefined" && Reflect.get) {
56
- _get = Reflect.get;
57
- } else {
58
- _get = function get(target, property, receiver) {
59
- var base = _super_prop_base(target, property);
60
- if (!base) return;
61
- var desc = Object.getOwnPropertyDescriptor(base, property);
62
- if (desc.get) {
63
- return desc.get.call(receiver || target);
64
- }
65
- return desc.value;
66
- };
67
- }
68
- return _get(target, property, receiver || target);
69
- }
70
- function _get_prototype_of(o) {
71
- _get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
72
- return o.__proto__ || Object.getPrototypeOf(o);
73
- };
74
- return _get_prototype_of(o);
75
- }
76
- function _inherits(subClass, superClass) {
77
- if (typeof superClass !== "function" && superClass !== null) {
78
- throw new TypeError("Super expression must either be null or a function");
79
- }
80
- subClass.prototype = Object.create(superClass && superClass.prototype, {
81
- constructor: {
82
- value: subClass,
83
- writable: true,
84
- configurable: true
85
- }
86
- });
87
- if (superClass) _set_prototype_of(subClass, superClass);
88
- }
89
- function _is_native_function(fn) {
90
- return Function.toString.call(fn).indexOf("[native code]") !== -1;
91
- }
92
- function _iterable_to_array_limit(arr, i) {
93
- var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
94
- if (_i == null) return;
95
- var _arr = [];
96
- var _n = true;
97
- var _d = false;
98
- var _s, _e;
99
- try {
100
- for(_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true){
101
- _arr.push(_s.value);
102
- if (i && _arr.length === i) break;
103
- }
104
- } catch (err) {
105
- _d = true;
106
- _e = err;
107
- } finally{
108
- try {
109
- if (!_n && _i["return"] != null) _i["return"]();
110
- } finally{
111
- if (_d) throw _e;
112
- }
113
- }
114
- return _arr;
115
- }
116
- function _non_iterable_rest() {
117
- throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
118
- }
119
- function _possible_constructor_return(self, call) {
120
- if (call && (_type_of(call) === "object" || typeof call === "function")) {
121
- return call;
122
- }
123
- return _assert_this_initialized(self);
124
- }
125
- function _set_prototype_of(o, p) {
126
- _set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o, p) {
127
- o.__proto__ = p;
128
- return o;
129
- };
130
- return _set_prototype_of(o, p);
131
- }
132
- function _sliced_to_array(arr, i) {
133
- return _array_with_holes(arr) || _iterable_to_array_limit(arr, i) || _unsupported_iterable_to_array(arr, i) || _non_iterable_rest();
134
- }
135
- function _super_prop_base(object, property) {
136
- while(!Object.prototype.hasOwnProperty.call(object, property)){
137
- object = _get_prototype_of(object);
138
- if (object === null) break;
139
- }
140
- return object;
141
- }
142
- function _type_of(obj) {
143
- "@swc/helpers - typeof";
144
- return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
145
- }
146
- function _unsupported_iterable_to_array(o, minLen) {
147
- if (!o) return;
148
- if (typeof o === "string") return _array_like_to_array(o, minLen);
149
- var n = Object.prototype.toString.call(o).slice(8, -1);
150
- if (n === "Object" && o.constructor) n = o.constructor.name;
151
- if (n === "Map" || n === "Set") return Array.from(n);
152
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
153
- }
154
- function _wrap_native_super(Class) {
155
- var _cache = typeof Map === "function" ? new Map() : undefined;
156
- _wrap_native_super = function wrapNativeSuper(Class) {
157
- if (Class === null || !_is_native_function(Class)) return Class;
158
- if (typeof Class !== "function") {
159
- throw new TypeError("Super expression must either be null or a function");
160
- }
161
- if (typeof _cache !== "undefined") {
162
- if (_cache.has(Class)) return _cache.get(Class);
163
- _cache.set(Class, Wrapper);
164
- }
165
- function Wrapper() {
166
- return _construct(Class, arguments, _get_prototype_of(this).constructor);
167
- }
168
- Wrapper.prototype = Object.create(Class.prototype, {
169
- constructor: {
170
- value: Wrapper,
171
- enumerable: false,
172
- writable: true,
173
- configurable: true
174
- }
175
- });
176
- return _set_prototype_of(Wrapper, Class);
177
- };
178
- return _wrap_native_super(Class);
179
- }
180
- function _is_native_reflect_construct() {
181
- if (typeof Reflect === "undefined" || !Reflect.construct) return false;
182
- if (Reflect.construct.sham) return false;
183
- if (typeof Proxy === "function") return true;
184
- try {
185
- Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
186
- return true;
187
- } catch (e) {
188
- return false;
189
- }
190
- }
191
- function _create_super(Derived) {
192
- var hasNativeReflectConstruct = _is_native_reflect_construct();
193
- return function _createSuperInternal() {
194
- var Super = _get_prototype_of(Derived), result;
195
- if (hasNativeReflectConstruct) {
196
- var NewTarget = _get_prototype_of(this).constructor;
197
- result = Reflect.construct(Super, arguments, NewTarget);
198
- } else {
199
- result = Super.apply(this, arguments);
200
- }
201
- return _possible_constructor_return(this, result);
202
- };
203
- }
204
- var o = /*#__PURE__*/ function(Map1) {
205
- _inherits(o, Map1);
206
- var _super = _create_super(o);
207
- function o(n) {
208
- var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : g;
209
- _class_call_check(this, o);
210
- var _this;
211
- var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
212
- if (_this = _super.call(this), Object.defineProperties(_assert_this_initialized(_this), {
213
- _intern: {
214
- value: /* @__PURE__ */ new Map()
215
- },
216
- _key: {
217
- value: t
218
- }
219
- }), n != null) try {
220
- for(var _iterator = n[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){
221
- var _step_value = _sliced_to_array(_step.value, 2), r = _step_value[0], s = _step_value[1];
222
- _this.set(r, s);
223
- }
224
- } catch (err) {
225
- _didIteratorError = true;
226
- _iteratorError = err;
227
- } finally{
228
- try {
229
- if (!_iteratorNormalCompletion && _iterator.return != null) {
230
- _iterator.return();
231
- }
232
- } finally{
233
- if (_didIteratorError) {
234
- throw _iteratorError;
235
- }
236
- }
237
- }
238
- return _possible_constructor_return(_this);
239
- }
240
- _create_class(o, [
241
- {
242
- key: "get",
243
- value: function get(n) {
244
- return _get(_get_prototype_of(o.prototype), "get", this).call(this, c(this, n));
245
- }
246
- },
247
- {
248
- key: "has",
249
- value: function has(n) {
250
- return _get(_get_prototype_of(o.prototype), "has", this).call(this, c(this, n));
251
- }
252
- },
253
- {
254
- key: "set",
255
- value: function set(n, t) {
256
- return _get(_get_prototype_of(o.prototype), "set", this).call(this, l(this, n), t);
257
- }
258
- },
259
- {
260
- key: "delete",
261
- value: function _delete(n) {
262
- return _get(_get_prototype_of(o.prototype), "delete", this).call(this, p(this, n));
263
- }
264
- }
265
- ]);
266
- return o;
267
- }(_wrap_native_super(Map));
268
- function c(param, t) {
269
- var e = param._intern, n = param._key;
270
- var r = n(t);
271
- return e.has(r) ? e.get(r) : t;
272
- }
273
- function l(param, t) {
274
- var e = param._intern, n = param._key;
275
- var r = n(t);
276
- return e.has(r) ? e.get(r) : (e.set(r, t), t);
277
- }
278
- function p(param, t) {
279
- var e = param._intern, n = param._key;
280
- var r = n(t);
281
- return e.has(r) && (t = e.get(r), e.delete(r)), t;
282
- }
283
- function g(e) {
284
- return e !== null && (typeof e === "undefined" ? "undefined" : _type_of(e)) == "object" ? e.valueOf() : e;
285
- }
286
- var f = Symbol("implicit");
287
- function h() {
288
- var e = new o(), n = [], t = [], r = f;
289
- function s(u) {
290
- var i = e.get(u);
291
- if (i === void 0) {
292
- if (r !== f) return r;
293
- e.set(u, i = n.push(u) - 1);
294
- }
295
- return t[i % t.length];
296
- }
297
- return s.domain = function(u) {
298
- if (!arguments.length) return n.slice();
299
- n = [], e = new o();
300
- var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
301
- try {
302
- for(var _iterator = u[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){
303
- var i = _step.value;
304
- e.has(i) || e.set(i, n.push(i) - 1);
305
- }
306
- } catch (err) {
307
- _didIteratorError = true;
308
- _iteratorError = err;
309
- } finally{
310
- try {
311
- if (!_iteratorNormalCompletion && _iterator.return != null) {
312
- _iterator.return();
313
- }
314
- } finally{
315
- if (_didIteratorError) {
316
- throw _iteratorError;
317
- }
318
- }
319
- }
320
- return s;
321
- }, s.range = function(u) {
322
- return arguments.length ? (t = Array.from(u), s) : t.slice();
323
- }, s.unknown = function(u) {
324
- return arguments.length ? (r = u, s) : r;
325
- }, s.copy = function() {
326
- return h(n, t).unknown(r);
327
- }, initF9637058.t.apply(s, arguments), s;
328
- }
329
-
330
- exports.h = h;
@@ -1,316 +0,0 @@
1
- 'use strict';
2
-
3
- function _class_call_check(instance, Constructor) {
4
- if (!(instance instanceof Constructor)) {
5
- throw new TypeError("Cannot call a class as a function");
6
- }
7
- }
8
- function _defineProperties(target, props) {
9
- for(var i = 0; i < props.length; i++){
10
- var descriptor = props[i];
11
- descriptor.enumerable = descriptor.enumerable || false;
12
- descriptor.configurable = true;
13
- if ("value" in descriptor) descriptor.writable = true;
14
- Object.defineProperty(target, descriptor.key, descriptor);
15
- }
16
- }
17
- function _create_class(Constructor, protoProps, staticProps) {
18
- if (protoProps) _defineProperties(Constructor.prototype, protoProps);
19
- return Constructor;
20
- }
21
- function _tagged_template_literal(strings, raw) {
22
- if (!raw) {
23
- raw = strings.slice(0);
24
- }
25
- return Object.freeze(Object.defineProperties(strings, {
26
- raw: {
27
- value: Object.freeze(raw)
28
- }
29
- }));
30
- }
31
- function _templateObject() {
32
- var data = _tagged_template_literal([
33
- "M",
34
- ",",
35
- ""
36
- ]);
37
- _templateObject = function _templateObject() {
38
- return data;
39
- };
40
- return data;
41
- }
42
- function _templateObject1() {
43
- var data = _tagged_template_literal([
44
- "Z"
45
- ]);
46
- _templateObject1 = function _templateObject() {
47
- return data;
48
- };
49
- return data;
50
- }
51
- function _templateObject2() {
52
- var data = _tagged_template_literal([
53
- "L",
54
- ",",
55
- ""
56
- ]);
57
- _templateObject2 = function _templateObject() {
58
- return data;
59
- };
60
- return data;
61
- }
62
- function _templateObject3() {
63
- var data = _tagged_template_literal([
64
- "Q",
65
- ",",
66
- ",",
67
- ",",
68
- ""
69
- ]);
70
- _templateObject3 = function _templateObject() {
71
- return data;
72
- };
73
- return data;
74
- }
75
- function _templateObject4() {
76
- var data = _tagged_template_literal([
77
- "C",
78
- ",",
79
- ",",
80
- ",",
81
- ",",
82
- ",",
83
- ""
84
- ]);
85
- _templateObject4 = function _templateObject() {
86
- return data;
87
- };
88
- return data;
89
- }
90
- function _templateObject5() {
91
- var data = _tagged_template_literal([
92
- "M",
93
- ",",
94
- ""
95
- ]);
96
- _templateObject5 = function _templateObject() {
97
- return data;
98
- };
99
- return data;
100
- }
101
- function _templateObject6() {
102
- var data = _tagged_template_literal([
103
- "L",
104
- ",",
105
- ""
106
- ]);
107
- _templateObject6 = function _templateObject() {
108
- return data;
109
- };
110
- return data;
111
- }
112
- function _templateObject7() {
113
- var data = _tagged_template_literal([
114
- "L",
115
- ",",
116
- ""
117
- ]);
118
- _templateObject7 = function _templateObject() {
119
- return data;
120
- };
121
- return data;
122
- }
123
- function _templateObject8() {
124
- var data = _tagged_template_literal([
125
- "A",
126
- ",",
127
- ",0,0,",
128
- ",",
129
- ",",
130
- ""
131
- ]);
132
- _templateObject8 = function _templateObject() {
133
- return data;
134
- };
135
- return data;
136
- }
137
- function _templateObject9() {
138
- var data = _tagged_template_literal([
139
- "M",
140
- ",",
141
- ""
142
- ]);
143
- _templateObject9 = function _templateObject() {
144
- return data;
145
- };
146
- return data;
147
- }
148
- function _templateObject10() {
149
- var data = _tagged_template_literal([
150
- "L",
151
- ",",
152
- ""
153
- ]);
154
- _templateObject10 = function _templateObject() {
155
- return data;
156
- };
157
- return data;
158
- }
159
- function _templateObject11() {
160
- var data = _tagged_template_literal([
161
- "A",
162
- ",",
163
- ",0,1,",
164
- ",",
165
- ",",
166
- "A",
167
- ",",
168
- ",0,1,",
169
- ",",
170
- ",",
171
- ""
172
- ]);
173
- _templateObject11 = function _templateObject() {
174
- return data;
175
- };
176
- return data;
177
- }
178
- function _templateObject12() {
179
- var data = _tagged_template_literal([
180
- "A",
181
- ",",
182
- ",0,",
183
- ",",
184
- ",",
185
- ",",
186
- ""
187
- ]);
188
- _templateObject12 = function _templateObject() {
189
- return data;
190
- };
191
- return data;
192
- }
193
- function _templateObject13() {
194
- var data = _tagged_template_literal([
195
- "M",
196
- ",",
197
- "h",
198
- "v",
199
- "h",
200
- "Z"
201
- ]);
202
- _templateObject13 = function _templateObject() {
203
- return data;
204
- };
205
- return data;
206
- }
207
- var c = Math.PI, x = 2 * c, u = 1e-6, m = x - u;
208
- function E(e) {
209
- this._ += e[0];
210
- for(var t = 1, h = e.length; t < h; ++t)this._ += arguments[t] + e[t];
211
- }
212
- function A(e) {
213
- var t = Math.floor(e);
214
- if (!(t >= 0)) throw new Error("invalid digits: ".concat(e));
215
- if (t > 15) return E;
216
- var h = Math.pow(10, t);
217
- return function(i) {
218
- this._ += i[0];
219
- for(var s = 1, n = i.length; s < n; ++s)this._ += Math.round(arguments[s] * h) / h + i[s];
220
- };
221
- }
222
- var L = /*#__PURE__*/ function() {
223
- function L(t) {
224
- _class_call_check(this, L);
225
- this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "", this._append = t == null ? E : A(t);
226
- }
227
- _create_class(L, [
228
- {
229
- key: "moveTo",
230
- value: function moveTo(t, h) {
231
- this._append(_templateObject(), this._x0 = this._x1 = +t, this._y0 = this._y1 = +h);
232
- }
233
- },
234
- {
235
- key: "closePath",
236
- value: function closePath() {
237
- this._x1 !== null && (this._x1 = this._x0, this._y1 = this._y0, this._append(_templateObject1()));
238
- }
239
- },
240
- {
241
- key: "lineTo",
242
- value: function lineTo(t, h) {
243
- this._append(_templateObject2(), this._x1 = +t, this._y1 = +h);
244
- }
245
- },
246
- {
247
- key: "quadraticCurveTo",
248
- value: function quadraticCurveTo(t, h, i, s) {
249
- this._append(_templateObject3(), +t, +h, this._x1 = +i, this._y1 = +s);
250
- }
251
- },
252
- {
253
- key: "bezierCurveTo",
254
- value: function bezierCurveTo(t, h, i, s, n, $) {
255
- this._append(_templateObject4(), +t, +h, +i, +s, this._x1 = +n, this._y1 = +$);
256
- }
257
- },
258
- {
259
- key: "arcTo",
260
- value: function arcTo(t, h, i, s, n) {
261
- if (t = +t, h = +h, i = +i, s = +s, n = +n, n < 0) throw new Error("negative radius: ".concat(n));
262
- var $ = this._x1, r = this._y1, p = i - t, l = s - h, _ = $ - t, o = r - h, a = _ * _ + o * o;
263
- if (this._x1 === null) this._append(_templateObject5(), this._x1 = t, this._y1 = h);
264
- else if (a > u) if (!(Math.abs(o * p - l * _) > u) || !n) this._append(_templateObject6(), this._x1 = t, this._y1 = h);
265
- else {
266
- var d = i - $, f = s - r, y = p * p + l * l, T = d * d + f * f, g = Math.sqrt(y), v = Math.sqrt(a), w = n * Math.tan((c - Math.acos((y + a - T) / (2 * g * v))) / 2), M = w / v, b = w / g;
267
- Math.abs(M - 1) > u && this._append(_templateObject7(), t + M * _, h + M * o), this._append(_templateObject8(), n, n, +(o * d > _ * f), this._x1 = t + b * p, this._y1 = h + b * l);
268
- }
269
- }
270
- },
271
- {
272
- key: "arc",
273
- value: function arc(t, h, i, s, n, $) {
274
- if (t = +t, h = +h, i = +i, $ = !!$, i < 0) throw new Error("negative radius: ".concat(i));
275
- var r = i * Math.cos(s), p = i * Math.sin(s), l = t + r, _ = h + p, o = 1 ^ $, a = $ ? s - n : n - s;
276
- this._x1 === null ? this._append(_templateObject9(), l, _) : (Math.abs(this._x1 - l) > u || Math.abs(this._y1 - _) > u) && this._append(_templateObject10(), l, _), i && (a < 0 && (a = a % x + x), a > m ? this._append(_templateObject11(), i, i, o, t - r, h - p, i, i, o, this._x1 = l, this._y1 = _) : a > u && this._append(_templateObject12(), i, i, +(a >= c), o, this._x1 = t + i * Math.cos(n), this._y1 = h + i * Math.sin(n)));
277
- }
278
- },
279
- {
280
- key: "rect",
281
- value: function rect(t, h, i, s) {
282
- this._append(_templateObject13(), this._x0 = this._x1 = +t, this._y0 = this._y1 = +h, i = +i, +s, -i);
283
- }
284
- },
285
- {
286
- key: "toString",
287
- value: function toString() {
288
- return this._;
289
- }
290
- }
291
- ]);
292
- return L;
293
- }();
294
- function P(e) {
295
- return function() {
296
- return e;
297
- };
298
- }
299
- function q(e) {
300
- var t = 3;
301
- return e.digits = function(h) {
302
- if (!arguments.length) return t;
303
- if (h == null) t = null;
304
- else {
305
- var i = Math.floor(h);
306
- if (!(i >= 0)) throw new RangeError("invalid digits: ".concat(h));
307
- t = i;
308
- }
309
- return e;
310
- }, function() {
311
- return new L(t);
312
- };
313
- }
314
-
315
- exports.P = P;
316
- exports.q = q;