@operato/scene-indoor-map 1.0.0-alpha.2 → 1.0.0-alpha.22

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md CHANGED
@@ -3,70 +3,206 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
- ## [1.0.0-alpha.2](https://github.com/things-scene/operato-scene/compare/v1.0.0-alpha.1...v1.0.0-alpha.2) (2022-03-13)
6
+ ## [1.0.0-alpha.22](https://github.com/things-scene/operato-scene/compare/v1.0.0-alpha.21...v1.0.0-alpha.22) (2022-06-16)
7
7
 
8
8
 
9
9
  ### :bug: Bug Fix
10
10
 
11
- * [@operato](https://github.com/operato) 1.0.0-alpha.14 ([c124d67](https://github.com/things-scene/operato-scene/commit/c124d672260ac940175a2a831f702aa3b5f5c996))
11
+ * latest @hatiolab/things-scene ([0928090](https://github.com/things-scene/operato-scene/commit/09280903b4b0280ee8a76a4d1c2a0bf8d0997563))
12
12
 
13
13
 
14
14
 
15
- ## [1.0.0-alpha.1](https://github.com/things-scene/operato-scene/compare/v0.1.5...v1.0.0-alpha.1) (2022-03-13)
15
+ ## [1.0.0-alpha.21](https://github.com/things-scene/operato-scene/compare/v1.0.0-alpha.20...v1.0.0-alpha.21) (2022-06-16)
16
16
 
17
17
 
18
18
  ### :bug: Bug Fix
19
19
 
20
- * remove all things-editors ([b87aa8e](https://github.com/things-scene/operato-scene/commit/b87aa8e842636f3340163988337cbbfdd39b6f3c))
20
+ * latest [@operato](https://github.com/operato) ([8384a79](https://github.com/things-scene/operato-scene/commit/8384a79c616db7c5fb437a480bb8c8337b75db84))
21
21
 
22
22
 
23
- ### :rocket: New Features
24
23
 
25
- * [@operato](https://github.com/operato) 1.0.0-alpha and [@things-factory](https://github.com/things-factory) 5.0.0-alpha ([5f7f2d4](https://github.com/things-scene/operato-scene/commit/5f7f2d45ccc8300822e712c93948850bcdb43687))
24
+ ## [1.0.0-alpha.20](https://github.com/things-scene/operato-scene/compare/v1.0.0-alpha.19...v1.0.0-alpha.20) (2022-06-10)
26
25
 
26
+ **Note:** Version bump only for package @operato/scene-indoor-map
27
27
 
28
28
 
29
- ### [0.1.5](https://github.com/things-scene/operato-scene/compare/v0.1.4...v0.1.5) (2022-02-10)
30
29
 
31
30
 
32
- ### :rocket: New Features
33
31
 
34
- * move news-ticker to here ([c5e565d](https://github.com/things-scene/operato-scene/commit/c5e565dff6016977766e54b3b74c4f80838f7cd2))
32
+ ## [1.0.0-alpha.19](https://github.com/things-scene/operato-scene/compare/v1.0.0-alpha.18...v1.0.0-alpha.19) (2022-06-09)
35
33
 
36
34
 
35
+ ### :bug: Bug Fix
37
36
 
38
- ### [0.1.4](https://github.com/things-scene/operato-scene/compare/v0.1.3...v0.1.4) (2022-01-30)
37
+ * latest [@operato](https://github.com/operato) [@things-factory](https://github.com/things-factory) ([c6a5475](https://github.com/things-scene/operato-scene/commit/c6a54751a3af539840fd57d031e09ee1552a7b4c))
38
+
39
+
40
+
41
+ ## [1.0.0-alpha.18](https://github.com/things-scene/operato-scene/compare/v1.0.0-alpha.17...v1.0.0-alpha.18) (2022-05-30)
42
+
43
+
44
+ ### :bug: Bug Fix
45
+
46
+ * latest dependencies ([5fae24c](https://github.com/things-scene/operato-scene/commit/5fae24ce2e7d17b5e2e85fae4cee04cfca690549))
47
+
48
+
49
+
50
+ ## [1.0.0-alpha.17](https://github.com/things-scene/operato-scene/compare/v1.0.0-alpha.16...v1.0.0-alpha.17) (2022-05-29)
51
+
52
+
53
+ ### :bug: Bug Fix
54
+
55
+ * latest things-scene & [@things-factory](https://github.com/things-factory) ([485bcce](https://github.com/things-scene/operato-scene/commit/485bccead07ccc5065088f1d458175f84083f9a5))
56
+ * update [@operato](https://github.com/operato) [@things-factory](https://github.com/things-factory) ([8552127](https://github.com/things-scene/operato-scene/commit/8552127bdda3282ac74e86b936342caa085f6bea))
57
+
58
+
59
+
60
+ ## [1.0.0-alpha.16](https://github.com/things-scene/operato-scene/compare/v1.0.0-alpha.15...v1.0.0-alpha.16) (2022-05-23)
39
61
 
40
62
 
41
63
  ### :rocket: New Features
42
64
 
43
- * scene-label migrated from things-factory project ([3c9033c](https://github.com/things-scene/operato-scene/commit/3c9033c9af28bdd0377ac4a538ef7d4bfd38d488))
65
+ * migrate data-transform from [@things-factory](https://github.com/things-factory) ([2b7c5d3](https://github.com/things-scene/operato-scene/commit/2b7c5d34027d611c5e8210cada8cd15272944fa5))
44
66
 
45
67
 
46
68
  ### :bug: Bug Fix
47
69
 
48
- * applied [@operato](https://github.com/operato) 0.3.24 ([fb4fed0](https://github.com/things-scene/operato-scene/commit/fb4fed0d9fd44d6ae38db6359fdca15fc61f167c))
49
- * applied [@things-factory](https://github.com/things-factory)@^4.0.40 ([3d4e6cb](https://github.com/things-scene/operato-scene/commit/3d4e6cbe167f605a68333fffe18949adb5247c1d))
50
- * escape build error ([0258c5f](https://github.com/things-scene/operato-scene/commit/0258c5f6e01fae369607541c63aba64b412b99fe))
51
- * upgrade [@operato](https://github.com/operato) dependencies ([7d2478e](https://github.com/things-scene/operato-scene/commit/7d2478e72586b662e6c219f0720c78cde5dd7a2d))
52
- * upgrade [@things-factory](https://github.com/things-factory) and [@operato](https://github.com/operato) ([4d97897](https://github.com/things-scene/operato-scene/commit/4d978970d3c8aba6ecae99e3fa98e431a647e8cb))
70
+ * update dependencies ([8ef917f](https://github.com/things-scene/operato-scene/commit/8ef917f41e83126495d3b75ae3042bbd66cf12c3))
53
71
 
54
72
 
55
73
 
56
- ### [0.1.3](https://github.com/things-scene/operato-scene/compare/v0.1.2...v0.1.3) (2022-01-28)
74
+ ## [1.0.0-alpha.15](https://github.com/things-scene/operato-scene/compare/v1.0.0-alpha.14...v1.0.0-alpha.15) (2022-05-13)
75
+
76
+ **Note:** Version bump only for package @operato/scene-indoor-map
77
+
78
+
79
+
80
+
81
+
82
+ ## [1.0.0-alpha.14](https://github.com/things-scene/operato-scene/compare/v1.0.0-alpha.13...v1.0.0-alpha.14) (2022-05-01)
83
+
84
+
85
+ ### :bug: Bug Fix
86
+
87
+ * apply @hatiolab/things-scene 3.0.6 - memory free ([5778610](https://github.com/things-scene/operato-scene/commit/5778610aa6456709cb931a3185b189f1d3bd1ff9))
88
+
89
+
90
+
91
+ ## [1.0.0-alpha.13](https://github.com/things-scene/operato-scene/compare/v1.0.0-alpha.12...v1.0.0-alpha.13) (2022-04-24)
92
+
93
+
94
+ ### :bug: Bug Fix
95
+
96
+ * "@hatiolab/things-scene": "^3.0.2" ([13057dd](https://github.com/things-scene/operato-scene/commit/13057dd2f8bbb3859abb479516c3483bcc15354b))
97
+ * @hatiolab/things-scene 3.0.5 and [@operato](https://github.com/operato) 1.0.0-beta.7 ([bd69bf1](https://github.com/things-scene/operato-scene/commit/bd69bf134c1fe6789f4964f0e6525f728eee8275))
98
+ * things-scene 3.0.1 ([288f953](https://github.com/things-scene/operato-scene/commit/288f953947d73ffa3f6e8743f8326570d1dace80))
99
+
100
+
101
+
102
+ ## [1.0.0-alpha.12](https://github.com/things-scene/operato-scene/compare/v1.0.0-alpha.11...v1.0.0-alpha.12) (2022-04-18)
103
+
104
+
105
+ ### :bug: Bug Fix
106
+
107
+ * @hatiolab/things-scene 3.0.0 ([29021a5](https://github.com/things-scene/operato-scene/commit/29021a511e5dc1e91b337b155817d846883ceff7))
108
+
109
+
110
+
111
+ ## [1.0.0-alpha.11](https://github.com/things-scene/operato-scene/compare/v1.0.0-alpha.10...v1.0.0-alpha.11) (2022-04-17)
112
+
113
+ **Note:** Version bump only for package @operato/scene-indoor-map
57
114
 
58
115
 
116
+
117
+
118
+
119
+ ## [1.0.0-alpha.10](https://github.com/things-scene/operato-scene/compare/v1.0.0-alpha.9...v1.0.0-alpha.10) (2022-04-10)
120
+
121
+ **Note:** Version bump only for package @operato/scene-indoor-map
122
+
123
+ ## [1.0.0-alpha.9](https://github.com/things-scene/operato-scene/compare/v1.0.0-alpha.8...v1.0.0-alpha.9) (2022-04-07)
124
+
125
+ **Note:** Version bump only for package @operato/scene-indoor-map
126
+
127
+ ## [1.0.0-alpha.8](https://github.com/things-scene/operato-scene/compare/v1.0.0-alpha.7...v1.0.0-alpha.8) (2022-04-07)
128
+
129
+ **Note:** Version bump only for package @operato/scene-indoor-map
130
+
131
+ ## [1.0.0-alpha.7](https://github.com/things-scene/operato-scene/compare/v1.0.0-alpha.6...v1.0.0-alpha.7) (2022-04-06)
132
+
133
+ **Note:** Version bump only for package @operato/scene-indoor-map
134
+
135
+ ## [1.0.0-alpha.6](https://github.com/things-scene/operato-scene/compare/v1.0.0-alpha.5...v1.0.0-alpha.6) (2022-04-05)
136
+
137
+ ### :bug: Bug Fix
138
+
139
+ - [@things-factory](https://github.com/things-factory) 5.0.0-alpha.36 ([459ce88](https://github.com/things-scene/operato-scene/commit/459ce884942ab11bcd1e9b9c6af7bf045b580a41))
140
+ - add activeIndex property into indoor-map ([81ea401](https://github.com/things-scene/operato-scene/commit/81ea401ae32d2e2ddc7da862bf98974bbdf8d075))
141
+
142
+ ## [1.0.0-alpha.5](https://github.com/things-scene/operato-scene/compare/v1.0.0-alpha.4...v1.0.0-alpha.5) (2022-04-03)
143
+
144
+ ### :bug: Bug Fix
145
+
146
+ - upgrade lit and operato, things-factory ([f056300](https://github.com/things-scene/operato-scene/commit/f056300c0e2f85c41715d3178f12c39bf3110a34))
147
+
148
+ ## [1.0.0-alpha.4](https://github.com/things-scene/operato-scene/compare/v1.0.0-alpha.3...v1.0.0-alpha.4) (2022-03-13)
149
+
150
+ ### :bug: Bug Fix
151
+
152
+ - [@operato](https://github.com/operato) 1.0.0-alpha.17 ([a8a147c](https://github.com/things-scene/operato-scene/commit/a8a147c972ed571e35d210feb3bfbc7cd31f280b))
153
+
154
+ ## [1.0.0-alpha.3](https://github.com/things-scene/operato-scene/compare/v1.0.0-alpha.2...v1.0.0-alpha.3) (2022-03-13)
155
+
156
+ ### :bug: Bug Fix
157
+
158
+ - [@operato](https://github.com/operato) 1.0.0-alpha.17 ([52c63fe](https://github.com/things-scene/operato-scene/commit/52c63fe1efde1a8fe6a9dc3b6852b1b2e12322bf))
159
+
160
+ ## [1.0.0-alpha.2](https://github.com/things-scene/operato-scene/compare/v1.0.0-alpha.1...v1.0.0-alpha.2) (2022-03-13)
161
+
162
+ ### :bug: Bug Fix
163
+
164
+ - [@operato](https://github.com/operato) 1.0.0-alpha.14 ([c124d67](https://github.com/things-scene/operato-scene/commit/c124d672260ac940175a2a831f702aa3b5f5c996))
165
+
166
+ ## [1.0.0-alpha.1](https://github.com/things-scene/operato-scene/compare/v0.1.5...v1.0.0-alpha.1) (2022-03-13)
167
+
168
+ ### :bug: Bug Fix
169
+
170
+ - remove all things-editors ([b87aa8e](https://github.com/things-scene/operato-scene/commit/b87aa8e842636f3340163988337cbbfdd39b6f3c))
171
+
172
+ ### :rocket: New Features
173
+
174
+ - [@operato](https://github.com/operato) 1.0.0-alpha and [@things-factory](https://github.com/things-factory) 5.0.0-alpha ([5f7f2d4](https://github.com/things-scene/operato-scene/commit/5f7f2d45ccc8300822e712c93948850bcdb43687))
175
+
176
+ ### [0.1.5](https://github.com/things-scene/operato-scene/compare/v0.1.4...v0.1.5) (2022-02-10)
177
+
59
178
  ### :rocket: New Features
60
179
 
61
- * add graphql, mqtt scene component ([e223063](https://github.com/things-scene/operato-scene/commit/e223063b562f6a6a7b6ff12f3e32df30aa920da8))
180
+ - move news-ticker to here ([c5e565d](https://github.com/things-scene/operato-scene/commit/c5e565dff6016977766e54b3b74c4f80838f7cd2))
181
+
182
+ ### [0.1.4](https://github.com/things-scene/operato-scene/compare/v0.1.3...v0.1.4) (2022-01-30)
183
+
184
+ ### :rocket: New Features
62
185
 
186
+ - scene-label migrated from things-factory project ([3c9033c](https://github.com/things-scene/operato-scene/commit/3c9033c9af28bdd0377ac4a538ef7d4bfd38d488))
63
187
 
64
188
  ### :bug: Bug Fix
65
189
 
66
- * applied [@operato](https://github.com/operato)@^0.3.20 ([9a1dcbd](https://github.com/things-scene/operato-scene/commit/9a1dcbd2d1ca7f95b498503c87242b6d57ee3482))
67
- * applied [@things-factory](https://github.com/things-factory)@^4.0.38 and [@operato](https://github.com/operato)@^0.3.18 ([d506c2d](https://github.com/things-scene/operato-scene/commit/d506c2d8a58341eee235079eff9b79bfa1fe350f))
190
+ - applied [@operato](https://github.com/operato) 0.3.24 ([fb4fed0](https://github.com/things-scene/operato-scene/commit/fb4fed0d9fd44d6ae38db6359fdca15fc61f167c))
191
+ - applied [@things-factory](https://github.com/things-factory)@^4.0.40 ([3d4e6cb](https://github.com/things-scene/operato-scene/commit/3d4e6cbe167f605a68333fffe18949adb5247c1d))
192
+ - escape build error ([0258c5f](https://github.com/things-scene/operato-scene/commit/0258c5f6e01fae369607541c63aba64b412b99fe))
193
+ - upgrade [@operato](https://github.com/operato) dependencies ([7d2478e](https://github.com/things-scene/operato-scene/commit/7d2478e72586b662e6c219f0720c78cde5dd7a2d))
194
+ - upgrade [@things-factory](https://github.com/things-factory) and [@operato](https://github.com/operato) ([4d97897](https://github.com/things-scene/operato-scene/commit/4d978970d3c8aba6ecae99e3fa98e431a647e8cb))
68
195
 
196
+ ### [0.1.3](https://github.com/things-scene/operato-scene/compare/v0.1.2...v0.1.3) (2022-01-28)
197
+
198
+ ### :rocket: New Features
199
+
200
+ - add graphql, mqtt scene component ([e223063](https://github.com/things-scene/operato-scene/commit/e223063b562f6a6a7b6ff12f3e32df30aa920da8))
201
+
202
+ ### :bug: Bug Fix
69
203
 
204
+ - applied [@operato](https://github.com/operato)@^0.3.20 ([9a1dcbd](https://github.com/things-scene/operato-scene/commit/9a1dcbd2d1ca7f95b498503c87242b6d57ee3482))
205
+ - applied [@things-factory](https://github.com/things-factory)@^4.0.38 and [@operato](https://github.com/operato)@^0.3.18 ([d506c2d](https://github.com/things-scene/operato-scene/commit/d506c2d8a58341eee235079eff9b79bfa1fe350f))
70
206
 
71
207
  ### [0.1.2](https://github.com/things-scene/operato-scene/compare/v0.1.1...v0.1.2) (2022-01-13)
72
208
 
package/dist/camera.d.ts CHANGED
@@ -10,7 +10,7 @@ export default class Camera extends Camera_base {
10
10
  y: number;
11
11
  z: number;
12
12
  }[];
13
- static get nature(): ComponentNature;
13
+ get nature(): ComponentNature;
14
14
  __drawLines(context: CanvasRenderingContext2D, transformed: POINT[]): void;
15
15
  __drawRect(context: CanvasRenderingContext2D, transformed: POINT[]): void;
16
16
  onchange(after: Properties, before: Properties): void;
package/dist/camera.js CHANGED
@@ -70,7 +70,7 @@ export default class Camera extends RectPath(Component) {
70
70
  var { yaw = 0, pitch = 0, roll = 0 } = this.model;
71
71
  return rotate_by_quaternion_axis(points, pitch - (this._anim_alpha_pitch || 0), roll - (this._anim_alpha_roll || 0), yaw - (this._anim_alpha_yaw || 0));
72
72
  }
73
- static get nature() {
73
+ get nature() {
74
74
  return NATURE;
75
75
  }
76
76
  __drawLines(context, transformed) {
@@ -1 +1 @@
1
- {"version":3,"file":"camera.js","sourceRoot":"","sources":["../src/camera.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAsC,QAAQ,EAAE,MAAM,wBAAwB,CAAA;AAEhG;;GAEG;AACH,OAAO,UAAU,MAAM,cAAc,CAAA;AAIrC,MAAM,MAAM,GAAoB,EAAE,CAAA;AAElC,MAAM,MAAM,GAAG;IACb,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE;IACpB,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,EAAE,CAAC,GAAG,EAAE,CAAC,EAAE,CAAC,GAAG,EAAE;IAC5B,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,EAAE,CAAC,GAAG,EAAE,CAAC,EAAE,CAAC,GAAG,EAAE;IAC5B,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,EAAE,CAAC,GAAG,EAAE,CAAC,EAAE,CAAC,GAAG,EAAE;IAC5B,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,EAAE,CAAC,GAAG,EAAE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,GAAG,IAAI,CAAA;QACf,IAAI,QAAQ,GAAG,KAAK,CAAC,GAAG,GAAG,MAAM,CAAC,GAAG,CAAA;QACrC,IAAI,UAAU,GAAG,KAAK,CAAC,KAAK,GAAG,MAAM,CAAC,KAAK,CAAA;QAC3C,IAAI,SAAS,GAAG,KAAK,CAAC,IAAI,GAAG,MAAM,CAAC,IAAI,CAAA;QAExC,IAAI,CAAC,eAAe,GAAG,QAAQ,CAAA;QAC/B,IAAI,CAAC,iBAAiB,GAAG,UAAU,CAAA;QACnC,IAAI,CAAC,gBAAgB,GAAG,SAAS,CAAA;QAEjC,IAAI,CAAC,OAAO,CAAC;YACX,IAAI,EAAE,UAAU,KAAa;gBAC3B,IAAI,CAAC,eAAe,GAAG,QAAQ,GAAG,CAAC,CAAC,GAAG,KAAK,CAAC,CAAA;gBAC7C,IAAI,CAAC,iBAAiB,GAAG,UAAU,GAAG,CAAC,CAAC,GAAG,KAAK,CAAC,CAAA;gBACjD,IAAI,CAAC,gBAAgB,GAAG,SAAS,GAAG,CAAC,CAAC,GAAG,KAAK,CAAC,CAAA;gBAE/C,IAAI,CAAC,UAAU,EAAE,CAAA;YACnB,CAAC;YACD,QAAQ,EAAE,IAAI;YACd,KAAK,EAAE,MAAM;YACb,OAAO,EAAE;gBACP,CAAC,EAAE,CAAC;aACL;YACD,IAAI,EAAE,OAAO;SACd,CAAC,CAAC,KAAK,EAAE,CAAA;IACZ,CAAC;CACF;AAED,6DAA6D;AAE7D,SAAS,CAAC,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAA","sourcesContent":["import { Component, ComponentNature, POINT, Properties, RectPath } from '@hatiolab/things-scene'\n\n/*\n * Copyright © HatioLab Inc. All rights reserved.\n */\nimport Quaternion from './quaternion'\n\ntype VEC = { x: number; y: number; z: number }\n\nconst NATURE: ComponentNature = {}\n\nconst points = [\n { x: 0, y: 0, z: 0 },\n { x: -50, y: +100, z: -100 },\n { x: +50, y: +100, z: -100 },\n { x: +50, y: -100, z: -100 },\n { x: -50, y: -100, z: -100 },\n { x: 0, y: 0, z: -100 }, // 렌즈의 중심을 표현하는 좌표.\n { x: 0, y: +50, z: -100 } // 카메라의 위쪽을 표시하기위한 좌표.\n]\n\n/* rotate_by_euler와 같이 동작하도록 순서를 맞춤. */\nfunction rotate_by_quaternion_axis(points: VEC[], pitch: number, roll: number, yaw: number) {\n var qx = Quaternion.fromAxis({ x: 1, y: 0, z: 0 }, pitch)\n var qy = Quaternion.fromAxis({ x: 0, y: 1, z: 0 }, roll)\n var qz = Quaternion.fromAxis({ x: 0, y: 0, z: 1 }, yaw)\n\n var q = qz.multiply(qy).multiply(qx)\n\n return points.map(point => {\n return q.multiVec(point)\n })\n}\n\nfunction rotate_by_euler(points: VEC[], pitch: number, roll: number, yaw: number) {\n var cosa = Math.cos(yaw)\n var sina = Math.sin(yaw)\n\n var cosb = Math.cos(roll)\n var sinb = Math.sin(roll)\n\n var cosc = Math.cos(pitch)\n var sinc = Math.sin(pitch)\n\n var Axx = cosa * cosb\n var Axy = cosa * sinb * sinc - sina * cosc\n var Axz = cosa * sinb * cosc + sina * sinc\n\n var Ayx = sina * cosb\n var Ayy = sina * sinb * sinc + cosa * cosc\n var Ayz = sina * sinb * cosc - cosa * sinc\n\n var Azx = -sinb\n var Azy = cosb * sinc\n var Azz = cosb * cosc\n\n return points.map(point => {\n let { x, y, z } = point\n\n return {\n x: Axx * x + Axy * y + Axz * z,\n y: Ayx * x + Ayy * y + Ayz * z,\n z: Azx * x + Azy * y + Azz * z\n }\n })\n}\n\nexport default class Camera extends RectPath(Component) {\n render(context: CanvasRenderingContext2D) {\n var transformed = this.transformed\n\n if (this.transformed[5].z > 0) {\n this.__drawLines(context, transformed)\n this.__drawRect(context, transformed)\n } else {\n this.__drawRect(context, transformed)\n this.__drawLines(context, transformed)\n }\n }\n\n private _anim_alpha_yaw: number = 0\n private _anim_alpha_roll: number = 0\n private _anim_alpha_pitch: number = 0\n\n get transformed() {\n var { yaw = 0, pitch = 0, roll = 0 } = this.model\n\n return rotate_by_quaternion_axis(\n points,\n pitch - (this._anim_alpha_pitch || 0),\n roll - (this._anim_alpha_roll || 0),\n yaw - (this._anim_alpha_yaw || 0)\n )\n }\n\n static get nature() {\n return NATURE\n }\n\n __drawLines(context: CanvasRenderingContext2D, transformed: POINT[]) {\n var center = this.center\n\n context.beginPath()\n\n // 2D좌표에서 Y축이 반대방향이므로 center에서 빼준다.\n context.moveTo(center.x + transformed[0].x, center.y - transformed[0].y)\n context.lineTo(center.x + transformed[1].x, center.y - transformed[1].y)\n context.moveTo(center.x + transformed[0].x, center.y - transformed[0].y)\n context.lineTo(center.x + transformed[2].x, center.y - transformed[2].y)\n context.moveTo(center.x + transformed[0].x, center.y - transformed[0].y)\n context.lineTo(center.x + transformed[3].x, center.y - transformed[3].y)\n context.moveTo(center.x + transformed[0].x, center.y - transformed[0].y)\n context.lineTo(center.x + transformed[4].x, center.y - transformed[4].y)\n\n context.strokeStyle = this.model.strokeStyle\n context.stroke()\n context.closePath()\n }\n\n __drawRect(context: CanvasRenderingContext2D, transformed: POINT[]) {\n var center = this.center\n\n context.beginPath()\n\n // 2D좌표에서 Y축이 반대방향이므로 center에서 빼준다.\n context.moveTo(center.x + transformed[1].x, center.y - transformed[1].y)\n context.lineTo(center.x + transformed[2].x, center.y - transformed[2].y)\n context.lineTo(center.x + transformed[3].x, center.y - transformed[3].y)\n context.lineTo(center.x + transformed[4].x, center.y - transformed[4].y)\n context.lineTo(center.x + transformed[1].x, center.y - transformed[1].y)\n\n context.fillStyle = this.model.fillStyle\n context.strokeStyle = this.model.strokeStyle\n context.fill()\n context.stroke()\n\n context.beginPath()\n context.ellipse(center.x + transformed[6].x, center.y - transformed[6].y, 5, 5, 0, 0, Math.PI * 2)\n context.stroke()\n }\n\n /*\n * Performance 문제로 애니메이션 적용 보류\n * 만약, 적용하려면,\n * - 먼저, 아래 메쏘드의 이름을 수정한다. (_onchange ==> onchange)\n * - 그리고, 아래의 Component.memoize(Camera.prototype, 'transformed', false); 부분을 코멘트 처리한다.\n */\n onchange(after: Properties, before: Properties) {\n if (after.hasOwnProperty('data')) {\n let data = after.data\n if (!data.hasOwnProperty('yaw') && !data.hasOwnProperty('pitch') && !data.hasOwnProperty('roll')) return\n\n this.set({\n yaw: data.yaw,\n pitch: data.pitch,\n roll: data.roll\n })\n return\n }\n\n if (!after.hasOwnProperty('yaw') && !after.hasOwnProperty('pitch') && !after.hasOwnProperty('roll')) return\n\n var self = this\n var diff_yaw = after.yaw - before.yaw\n var diff_pitch = after.pitch - before.pitch\n var diff_roll = after.roll - before.roll\n\n this._anim_alpha_yaw = diff_yaw\n this._anim_alpha_pitch = diff_pitch\n this._anim_alpha_roll = diff_roll\n\n this.animate({\n step: function (delta: number) {\n self._anim_alpha_yaw = diff_yaw * (1 - delta)\n self._anim_alpha_pitch = diff_pitch * (1 - delta)\n self._anim_alpha_roll = diff_roll * (1 - delta)\n\n self.invalidate()\n },\n duration: 1000,\n delta: 'circ',\n options: {\n x: 1\n },\n ease: 'inout'\n }).start()\n }\n}\n\n// Component.memoize(Camera.prototype, 'transformed', false);\n\nComponent.register('camera', Camera)\n"]}
1
+ {"version":3,"file":"camera.js","sourceRoot":"","sources":["../src/camera.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAsC,QAAQ,EAAE,MAAM,wBAAwB,CAAA;AAEhG;;GAEG;AACH,OAAO,UAAU,MAAM,cAAc,CAAA;AAIrC,MAAM,MAAM,GAAoB,EAAE,CAAA;AAElC,MAAM,MAAM,GAAG;IACb,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE;IACpB,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,EAAE,CAAC,GAAG,EAAE,CAAC,EAAE,CAAC,GAAG,EAAE;IAC5B,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,EAAE,CAAC,GAAG,EAAE,CAAC,EAAE,CAAC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Lab Inc. All rights reserved.\n */\nimport Quaternion from './quaternion'\n\ntype VEC = { x: number; y: number; z: number }\n\nconst NATURE: ComponentNature = {}\n\nconst points = [\n { x: 0, y: 0, z: 0 },\n { x: -50, y: +100, z: -100 },\n { x: +50, y: +100, z: -100 },\n { x: +50, y: -100, z: -100 },\n { x: -50, y: -100, z: -100 },\n { x: 0, y: 0, z: -100 }, // 렌즈의 중심을 표현하는 좌표.\n { x: 0, y: +50, z: -100 } // 카메라의 위쪽을 표시하기위한 좌표.\n]\n\n/* rotate_by_euler와 같이 동작하도록 순서를 맞춤. */\nfunction rotate_by_quaternion_axis(points: VEC[], pitch: number, roll: number, yaw: number) {\n var qx = Quaternion.fromAxis({ x: 1, y: 0, z: 0 }, pitch)\n var qy = Quaternion.fromAxis({ x: 0, y: 1, z: 0 }, roll)\n var qz = Quaternion.fromAxis({ x: 0, y: 0, z: 1 }, yaw)\n\n var q = qz.multiply(qy).multiply(qx)\n\n return points.map(point => {\n return q.multiVec(point)\n })\n}\n\nfunction rotate_by_euler(points: VEC[], pitch: number, roll: number, yaw: number) {\n var cosa = Math.cos(yaw)\n var sina = Math.sin(yaw)\n\n var cosb = Math.cos(roll)\n var sinb = Math.sin(roll)\n\n var cosc = Math.cos(pitch)\n var sinc = Math.sin(pitch)\n\n var Axx = cosa * cosb\n var Axy = cosa * sinb * sinc - sina * cosc\n var Axz = cosa * sinb * cosc + sina * sinc\n\n var Ayx = sina * cosb\n var Ayy = sina * sinb * sinc + cosa * cosc\n var Ayz = sina * sinb * cosc - cosa * sinc\n\n var Azx = -sinb\n var Azy = cosb * sinc\n var Azz = cosb * cosc\n\n return points.map(point => {\n let { x, y, z } = point\n\n return {\n x: Axx * x + Axy * y + Axz * z,\n y: Ayx * x + Ayy * y + Ayz * z,\n z: Azx * x + Azy * y + Azz * z\n }\n })\n}\n\nexport default class Camera extends RectPath(Component) {\n render(context: CanvasRenderingContext2D) {\n var transformed = this.transformed\n\n if (this.transformed[5].z > 0) {\n this.__drawLines(context, transformed)\n this.__drawRect(context, transformed)\n } else {\n this.__drawRect(context, transformed)\n this.__drawLines(context, transformed)\n }\n }\n\n private _anim_alpha_yaw: number = 0\n private _anim_alpha_roll: number = 0\n private _anim_alpha_pitch: number = 0\n\n get transformed() {\n var { yaw = 0, pitch = 0, roll = 0 } = this.model\n\n return rotate_by_quaternion_axis(\n points,\n pitch - (this._anim_alpha_pitch || 0),\n roll - (this._anim_alpha_roll || 0),\n yaw - (this._anim_alpha_yaw || 0)\n )\n }\n\n get nature() {\n return NATURE\n }\n\n __drawLines(context: CanvasRenderingContext2D, transformed: POINT[]) {\n var center = this.center\n\n context.beginPath()\n\n // 2D좌표에서 Y축이 반대방향이므로 center에서 빼준다.\n context.moveTo(center.x + transformed[0].x, center.y - transformed[0].y)\n context.lineTo(center.x + transformed[1].x, center.y - transformed[1].y)\n context.moveTo(center.x + transformed[0].x, center.y - transformed[0].y)\n context.lineTo(center.x + transformed[2].x, center.y - transformed[2].y)\n context.moveTo(center.x + transformed[0].x, center.y - transformed[0].y)\n context.lineTo(center.x + transformed[3].x, center.y - transformed[3].y)\n context.moveTo(center.x + transformed[0].x, center.y - transformed[0].y)\n context.lineTo(center.x + transformed[4].x, center.y - transformed[4].y)\n\n context.strokeStyle = this.model.strokeStyle\n context.stroke()\n context.closePath()\n }\n\n __drawRect(context: CanvasRenderingContext2D, transformed: POINT[]) {\n var center = this.center\n\n context.beginPath()\n\n // 2D좌표에서 Y축이 반대방향이므로 center에서 빼준다.\n context.moveTo(center.x + transformed[1].x, center.y - transformed[1].y)\n context.lineTo(center.x + transformed[2].x, center.y - transformed[2].y)\n context.lineTo(center.x + transformed[3].x, center.y - transformed[3].y)\n context.lineTo(center.x + transformed[4].x, center.y - transformed[4].y)\n context.lineTo(center.x + transformed[1].x, center.y - transformed[1].y)\n\n context.fillStyle = this.model.fillStyle\n context.strokeStyle = this.model.strokeStyle\n context.fill()\n context.stroke()\n\n context.beginPath()\n context.ellipse(center.x + transformed[6].x, center.y - transformed[6].y, 5, 5, 0, 0, Math.PI * 2)\n context.stroke()\n }\n\n /*\n * Performance 문제로 애니메이션 적용 보류\n * 만약, 적용하려면,\n * - 먼저, 아래 메쏘드의 이름을 수정한다. (_onchange ==> onchange)\n * - 그리고, 아래의 Component.memoize(Camera.prototype, 'transformed', false); 부분을 코멘트 처리한다.\n */\n onchange(after: Properties, before: Properties) {\n if (after.hasOwnProperty('data')) {\n let data = after.data\n if (!data.hasOwnProperty('yaw') && !data.hasOwnProperty('pitch') && !data.hasOwnProperty('roll')) return\n\n this.set({\n yaw: data.yaw,\n pitch: data.pitch,\n roll: data.roll\n })\n return\n }\n\n if (!after.hasOwnProperty('yaw') && !after.hasOwnProperty('pitch') && !after.hasOwnProperty('roll')) return\n\n var self = this\n var diff_yaw = after.yaw - before.yaw\n var diff_pitch = after.pitch - before.pitch\n var diff_roll = after.roll - before.roll\n\n this._anim_alpha_yaw = diff_yaw\n this._anim_alpha_pitch = diff_pitch\n this._anim_alpha_roll = diff_roll\n\n this.animate({\n step: function (delta: number) {\n self._anim_alpha_yaw = diff_yaw * (1 - delta)\n self._anim_alpha_pitch = diff_pitch * (1 - delta)\n self._anim_alpha_roll = diff_roll * (1 - delta)\n\n self.invalidate()\n },\n duration: 1000,\n delta: 'circ',\n options: {\n x: 1\n },\n ease: 'inout'\n }).start()\n }\n}\n\n// Component.memoize(Camera.prototype, 'transformed', false);\n\nComponent.register('camera', Camera)\n"]}
@@ -2,5 +2,5 @@ import { Properties } from '@hatiolab/things-scene';
2
2
  import { OxPropertyEditor } from '@operato/property-editor';
3
3
  export default class ThingsEditorAction extends OxPropertyEditor {
4
4
  static styles: import("lit").CSSResult[];
5
- editorTemplate(props: Properties): import("lit").TemplateResult<1>;
5
+ editorTemplate(props: Properties): import("lit-html").TemplateResult<1>;
6
6
  }
@@ -0,0 +1,6 @@
1
+ import { Properties } from '@hatiolab/things-scene';
2
+ import { OxPropertyEditor } from '@operato/property-editor';
3
+ export default class ThingsEditorAction extends OxPropertyEditor {
4
+ static styles: import("lit").CSSResult[];
5
+ editorTemplate(props: Properties): import("lit").TemplateResult<1>;
6
+ }
@@ -0,0 +1,46 @@
1
+ /*
2
+ * Copyright © HatioLab Inc. All rights reserved.
3
+ */
4
+ import { __decorate } from "tslib";
5
+ import { css, html } from 'lit';
6
+ import { OxPropertyEditor } from '@operato/property-editor';
7
+ import { customElement } from 'lit/decorators.js';
8
+ let ThingsEditorAction = class ThingsEditorAction extends OxPropertyEditor {
9
+ editorTemplate(props) {
10
+ var property = props.property || {};
11
+ var { icon, action } = property;
12
+ return html `
13
+ <paper-icon-button
14
+ .icon=${icon}
15
+ @click=${(e) => {
16
+ this.dispatchEvent(new CustomEvent('i-need-selected', {
17
+ bubbles: true,
18
+ composed: true,
19
+ detail: {
20
+ callback: (selected) => {
21
+ typeof action === 'function' && action(selected[0]);
22
+ }
23
+ }
24
+ }));
25
+ }}
26
+ ></paper-icon-button>
27
+ `;
28
+ }
29
+ };
30
+ ThingsEditorAction.styles = [
31
+ ...OxPropertyEditor.styles,
32
+ css `
33
+ :host > label {
34
+ display: flex;
35
+ grid-column: span 3;
36
+ order: 1;
37
+ align-items: center;
38
+ justify-self: right;
39
+ }
40
+ `
41
+ ];
42
+ ThingsEditorAction = __decorate([
43
+ customElement('things-editor-action')
44
+ ], ThingsEditorAction);
45
+ export default ThingsEditorAction;
46
+ //# sourceMappingURL=things-editor-action.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"things-editor-action.js","sourceRoot":"","sources":["../../src/editors/things-editor-action.ts"],"names":[],"mappings":"AAAA;;GAEG;;AAGH,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,KAAK,CAAA;AAE/B,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAA;AAC3D,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAGjD,IAAqB,kBAAkB,GAAvC,MAAqB,kBAAmB,SAAQ,gBAAgB;IAc9D,cAAc,CAAC,KAAiB;QAC9B,IAAI,QAAQ,GAAG,KAAK,CAAC,QAAQ,IAAI,EAAE,CAAA;QACnC,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,QAAQ,CAAA;QAE/B,OAAO,IAAI,CAAA;;gBAEC,IAAI;iBACH,CAAC,CAAa,EAAE,EAAE;YACzB,IAAI,CAAC,aAAa,CAChB,IAAI,WAAW,CAAC,iBAAiB,EAAE;gBACjC,OAAO,EAAE,IAAI;gBACb,QAAQ,EAAE,IAAI;gBACd,MAAM,EAAE;oBACN,QAAQ,EAAE,CAAC,QAAqB,EAAE,EAAE;wBAClC,OAAO,MAAM,KAAK,UAAU,IAAI,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAA;oBACrD,CAAC;iBACF;aACF,CAAC,CACH,CAAA;QACH,CAAC;;KAEJ,CAAA;IACH,CAAC;CACF,CAAA;AApCQ,yBAAM,GAAG;IACd,GAAG,gBAAgB,CAAC,MAAM;IAC1B,GAAG,CAAA;;;;;;;;KAQF;CACF,CAAA;AAZkB,kBAAkB;IADtC,aAAa,CAAC,sBAAsB,CAAC;GACjB,kBAAkB,CAqCtC;eArCoB,kBAAkB","sourcesContent":["/*\n * Copyright © HatioLab Inc. All rights reserved.\n */\n\nimport { Component, Properties } from '@hatiolab/things-scene'\nimport { css, html } from 'lit'\n\nimport { OxPropertyEditor } from '@operato/property-editor'\nimport { customElement } from 'lit/decorators.js'\n\n@customElement('things-editor-action')\nexport default class ThingsEditorAction extends OxPropertyEditor {\n static styles = [\n ...OxPropertyEditor.styles,\n css`\n :host > label {\n display: flex;\n grid-column: span 3;\n order: 1;\n align-items: center;\n justify-self: right;\n }\n `\n ]\n\n editorTemplate(props: Properties) {\n var property = props.property || {}\n var { icon, action } = property\n\n return html`\n <paper-icon-button\n .icon=${icon}\n @click=${(e: MouseEvent) => {\n this.dispatchEvent(\n new CustomEvent('i-need-selected', {\n bubbles: true,\n composed: true,\n detail: {\n callback: (selected: Component[]) => {\n typeof action === 'function' && action(selected[0])\n }\n }\n })\n )\n }}\n ></paper-icon-button>\n `\n }\n}\n"]}
@@ -8,6 +8,8 @@ export default class IndoorMap extends Container {
8
8
  get layoutConfig(): any;
9
9
  set layoutConfig(config: any);
10
10
  get activeFloor(): Floor;
11
+ get activeIndex(): number;
12
+ set activeIndex(activeIndex: number);
11
13
  ready(): void;
12
14
  postrender(context: CanvasRenderingContext2D): void;
13
15
  contains(x: number, y: number): boolean;
@@ -52,6 +52,12 @@ export default class IndoorMap extends Container {
52
52
  get activeFloor() {
53
53
  return this.components[this.get('layoutConfig').activeIndex];
54
54
  }
55
+ get activeIndex() {
56
+ return this.get('activeIndex');
57
+ }
58
+ set activeIndex(activeIndex) {
59
+ this.set('activeIndex', Number(activeIndex));
60
+ }
55
61
  ready() {
56
62
  super.ready();
57
63
  if (this.components.length == 0)
@@ -1 +1 @@
1
- {"version":3,"file":"indoor-map.js","sourceRoot":"","sources":["../src/indoor-map.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,EAAE,SAAS,EAAmB,SAAS,EAAE,KAAK,EAAgB,MAAM,wBAAwB,CAAA;AAI/G,MAAM,WAAW,GAAG,EAAE,CAAA;AACtB,MAAM,YAAY,GAAG,EAAE,CAAA;AAEvB,SAAS,IAAI,CAAC,CAAS,EAAE,CAAS,EAAE,CAAS,EAAE,CAAS;IACtD,OAAO,QAAQ,CAAC,KAAK,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,CAAA;AACvC,CAAC;AAED,MAAM,MAAM,GAAoB;IAC9B,OAAO,EAAE,KAAK;IACd,SAAS,EAAE,IAAI;IACf,SAAS,EAAE,IAAI;IACf,UAAU,EAAE;QACV;YACE,IAAI,EAAE,QAAQ;YACd,KAAK,EAAE,OAAO;YACd,IAAI,EAAE,OAAO;YACb,QAAQ,EAAE;gBACR,IAAI,EAAE,YAAY;gBAClB,MAAM,EAAE,CAAC,SAAoB,EAAE,EAAE;oBAC/B,SAA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E,SAAS,CAAC,CAAA","sourcesContent":["/*\n * Copyright © HatioLab Inc. All rights reserved.\n */\nimport { CardLayout, Component, ComponentNature, Container, Model, POINT, State } from '@hatiolab/things-scene'\n\nimport Floor from './floor'\n\nconst LABEL_WIDTH = 25\nconst LABEL_HEIGHT = 25\n\nfunction rgba(r: number, g: number, b: number, a: number) {\n return `rgba(${r}, ${g}, ${b}, ${a})`\n}\n\nconst NATURE: ComponentNature = {\n mutable: false,\n resizable: true,\n rotatable: true,\n properties: [\n {\n type: 'action',\n label: 'floor',\n name: 'floor',\n property: {\n icon: 'add-circle',\n action: (indoorMap: IndoorMap) => {\n indoorMap.addFloor()\n }\n }\n },\n {\n type: 'number',\n label: 'active index',\n name: 'activeIndex'\n }\n ],\n 'value-property': 'activeIndex',\n help: 'scene/component/indoor-map'\n}\n\nexport default class IndoorMap extends Container {\n private _focused: boolean = false\n private __down_point?: POINT\n\n get nature() {\n return NATURE\n }\n\n get layout() {\n return CardLayout\n }\n\n get layoutConfig() {\n return this.get('layoutConfig')\n }\n\n set layoutConfig(config) {\n this.set('layoutConfig', config)\n }\n\n get activeFloor(): Floor {\n return this.components[this.get('layoutConfig').activeIndex] as Floor\n }\n\n ready() {\n super.ready()\n\n if (this.components.length == 0) this.addFloor()\n }\n\n postrender(context: CanvasRenderingContext2D) {\n if (!this.app.isViewMode && this._focused) {\n var { left, top, width, fillStyle } = this.model\n\n // floor 선택 탭 그리기\n for (let i = 0; i < this.components.length; i++) {\n context.beginPath()\n\n context.rect(left - LABEL_WIDTH, top + i * LABEL_HEIGHT, LABEL_WIDTH, LABEL_HEIGHT)\n\n let color = 255 - ((20 * (i + 1)) % 255)\n context.fillStyle = rgba(color, color, color, 1)\n context.fill()\n\n context.closePath()\n }\n\n context.beginPath()\n\n context.moveTo(left, top)\n context.lineTo(left - LABEL_WIDTH, top)\n context.lineTo(left - LABEL_WIDTH, top + this.components.length * LABEL_HEIGHT)\n context.lineTo(left, top + this.components.length * LABEL_HEIGHT)\n\n context.strokeStyle = '#ccc'\n context.stroke()\n\n context.closePath()\n }\n\n super.postrender(context)\n }\n\n contains(x: number, y: number) {\n var contains = super.contains(x, y)\n\n if (this.app.isViewMode) return contains\n\n var { left, top, width } = this.bounds\n var h = LABEL_HEIGHT\n\n contains =\n contains ||\n // card selector 영역에 포함되는지\n (x < Math.max(left - LABEL_WIDTH, left) &&\n x > Math.min(left - LABEL_WIDTH, left) &&\n y < Math.max(top + h * this.size(), top) &&\n y > Math.min(top + h * this.size(), top))\n\n if (contains) this._focused = true\n else this._focused = false\n\n this.invalidate()\n return contains\n }\n\n onchange(after: State) {\n if ('activeIndex' in after) {\n this.layoutConfig = {\n ...this.layoutConfig,\n activeIndex: after.activeIndex\n }\n }\n }\n\n onmouseup(e: MouseEvent) {\n var down_point = this.__down_point\n delete this.__down_point\n\n if (!down_point || down_point.x != e.offsetX || down_point.y != e.offsetY) {\n return\n }\n\n var point = this.transcoordC2S(e.offsetX, e.offsetY)\n\n var { left, top } = this.model\n\n var x = point.x - left\n var y = point.y - top\n\n if (x > 0) return\n\n y /= LABEL_HEIGHT\n y = Math.floor(y)\n\n if (!this.layoutConfig) this.layoutConfig = {}\n\n if (y >= this.components.length) return\n\n // /* 생성 버튼이 클릭되면, 새로운 floor를 추가한다. */\n // if(y == this.components.length) {\n // this.add(Model.compile({\n // type: 'floor',\n // width: 100,\n // height: 100\n // }))\n // }\n this.set('activeIndex', y)\n }\n\n onmousedown(e: MouseEvent) {\n this.__down_point = {\n x: e.offsetX,\n y: e.offsetY\n }\n }\n\n addFloor() {\n let floor = Model.compile({\n type: 'floor',\n fillStyle: 'gray',\n top: 0,\n left: 0,\n width: 100,\n height: 100\n })\n\n this.addComponent(floor)\n this.set('activeIndex', this.components.length - 1)\n }\n}\n\nComponent.register('indoor-map', IndoorMap)\n"]}
1
+ {"version":3,"file":"indoor-map.js","sourceRoot":"","sources":["../src/indoor-map.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU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UAAU,CAAC,MAAM;YAAE,OAAM;QAEvC,sCAAsC;QACtC,oCAAoC;QACpC,6BAA6B;QAC7B,qBAAqB;QACrB,kBAAkB;QAClB,kBAAkB;QAClB,QAAQ;QACR,IAAI;QACJ,IAAI,CAAC,GAAG,CAAC,aAAa,EAAE,CAAC,CAAC,CAAA;IAC5B,CAAC;IAED,WAAW,CAAC,CAAa;QACvB,IAAI,CAAC,YAAY,GAAG;YAClB,CAAC,EAAE,CAAC,CAAC,OAAO;YACZ,CAAC,EAAE,CAAC,CAAC,OAAO;SACb,CAAA;IACH,CAAC;IAED,QAAQ;QACN,IAAI,KAAK,GAAG,KAAK,CAAC,OAAO,CAAC;YACxB,IAAI,EAAE,OAAO;YACb,SAAS,EAAE,MAAM;YACjB,GAAG,EAAE,CAAC;YACN,IAAI,EAAE,CAAC;YACP,KAAK,EAAE,GAAG;YACV,MAAM,EAAE,GAAG;SACZ,CAAC,CAAA;QAEF,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC,CAAA;QACxB,IAAI,CAAC,GAAG,CAAC,aAAa,EAAE,IAAI,CAAC,UAAU,CAAC,MAAM,GAAG,CAAC,CAAC,CAAA;IACrD,CAAC;CACF;AAED,SAAS,CAAC,QAAQ,CAAC,YAAY,EAAE,SAAS,CAAC,CAAA","sourcesContent":["/*\n * Copyright © HatioLab Inc. All rights reserved.\n */\nimport { CardLayout, Component, ComponentNature, Container, Model, POINT, State } from '@hatiolab/things-scene'\n\nimport Floor from './floor'\n\nconst LABEL_WIDTH = 25\nconst LABEL_HEIGHT = 25\n\nfunction rgba(r: number, g: number, b: number, a: number) {\n return `rgba(${r}, ${g}, ${b}, ${a})`\n}\n\nconst NATURE: ComponentNature = {\n mutable: false,\n resizable: true,\n rotatable: true,\n properties: [\n {\n type: 'action',\n label: 'floor',\n name: 'floor',\n property: {\n icon: 'add-circle',\n action: (indoorMap: IndoorMap) => {\n indoorMap.addFloor()\n }\n }\n },\n {\n type: 'number',\n label: 'active index',\n name: 'activeIndex'\n }\n ],\n 'value-property': 'activeIndex',\n help: 'scene/component/indoor-map'\n}\n\nexport default class IndoorMap extends Container {\n private _focused: boolean = false\n private __down_point?: POINT\n\n get nature() {\n return NATURE\n }\n\n get layout() {\n return CardLayout\n }\n\n get layoutConfig() {\n return this.get('layoutConfig')\n }\n\n set layoutConfig(config) {\n this.set('layoutConfig', config)\n }\n\n get activeFloor(): Floor {\n return this.components[this.get('layoutConfig').activeIndex] as Floor\n }\n\n get activeIndex() {\n return this.get('activeIndex')\n }\n\n set activeIndex(activeIndex: number) {\n this.set('activeIndex', Number(activeIndex))\n }\n\n ready() {\n super.ready()\n\n if (this.components.length == 0) this.addFloor()\n }\n\n postrender(context: CanvasRenderingContext2D) {\n if (!this.app.isViewMode && this._focused) {\n var { left, top, width, fillStyle } = this.model\n\n // floor 선택 탭 그리기\n for (let i = 0; i < this.components.length; i++) {\n context.beginPath()\n\n context.rect(left - LABEL_WIDTH, top + i * LABEL_HEIGHT, LABEL_WIDTH, LABEL_HEIGHT)\n\n let color = 255 - ((20 * (i + 1)) % 255)\n context.fillStyle = rgba(color, color, color, 1)\n context.fill()\n\n context.closePath()\n }\n\n context.beginPath()\n\n context.moveTo(left, top)\n context.lineTo(left - LABEL_WIDTH, top)\n context.lineTo(left - LABEL_WIDTH, top + this.components.length * LABEL_HEIGHT)\n context.lineTo(left, top + this.components.length * LABEL_HEIGHT)\n\n context.strokeStyle = '#ccc'\n context.stroke()\n\n context.closePath()\n }\n\n super.postrender(context)\n }\n\n contains(x: number, y: number) {\n var contains = super.contains(x, y)\n\n if (this.app.isViewMode) return contains\n\n var { left, top, width } = this.bounds\n var h = LABEL_HEIGHT\n\n contains =\n contains ||\n // card selector 영역에 포함되는지\n (x < Math.max(left - LABEL_WIDTH, left) &&\n x > Math.min(left - LABEL_WIDTH, left) &&\n y < Math.max(top + h * this.size(), top) &&\n y > Math.min(top + h * this.size(), top))\n\n if (contains) this._focused = true\n else this._focused = false\n\n this.invalidate()\n return contains\n }\n\n onchange(after: State) {\n if ('activeIndex' in after) {\n this.layoutConfig = {\n ...this.layoutConfig,\n activeIndex: after.activeIndex\n }\n }\n }\n\n onmouseup(e: MouseEvent) {\n var down_point = this.__down_point\n delete this.__down_point\n\n if (!down_point || down_point.x != e.offsetX || down_point.y != e.offsetY) {\n return\n }\n\n var point = this.transcoordC2S(e.offsetX, e.offsetY)\n\n var { left, top } = this.model\n\n var x = point.x - left\n var y = point.y - top\n\n if (x > 0) return\n\n y /= LABEL_HEIGHT\n y = Math.floor(y)\n\n if (!this.layoutConfig) this.layoutConfig = {}\n\n if (y >= this.components.length) return\n\n // /* 생성 버튼이 클릭되면, 새로운 floor를 추가한다. */\n // if(y == this.components.length) {\n // this.add(Model.compile({\n // type: 'floor',\n // width: 100,\n // height: 100\n // }))\n // }\n this.set('activeIndex', y)\n }\n\n onmousedown(e: MouseEvent) {\n this.__down_point = {\n x: e.offsetX,\n y: e.offsetY\n }\n }\n\n addFloor() {\n let floor = Model.compile({\n type: 'floor',\n fillStyle: 'gray',\n top: 0,\n left: 0,\n width: 100,\n height: 100\n })\n\n this.addComponent(floor)\n this.set('activeIndex', this.components.length - 1)\n }\n}\n\nComponent.register('indoor-map', IndoorMap)\n"]}
@@ -0,0 +1,15 @@
1
+ {
2
+ "keep": {
3
+ "days": true,
4
+ "amount": 2
5
+ },
6
+ "auditLog": "logs/.08636eb59927f12972f6774f5947c8507b3564c2-audit.json",
7
+ "files": [
8
+ {
9
+ "date": 1649144701315,
10
+ "name": "logs/application-2022-04-05-16.log",
11
+ "hash": "1f76466268b4a6213d87d89b4c30e303"
12
+ }
13
+ ],
14
+ "hashType": "md5"
15
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "keep": {
3
+ "days": true,
4
+ "amount": 14
5
+ },
6
+ "auditLog": "logs/.5e5d741d8b7784a2fbad65eedc0fd46946aaf6f2-audit.json",
7
+ "files": [
8
+ {
9
+ "date": 1649144704326,
10
+ "name": "logs/connections-2022-04-05-16.log",
11
+ "hash": "faef34d19147d0660ec71a76fa5a5ed2"
12
+ }
13
+ ],
14
+ "hashType": "md5"
15
+ }
@@ -0,0 +1,12 @@
1
+ 2022-04-05T07:45:02.708Z info: File Storage is Ready.
2
+ 2022-04-05T07:45:08.491Z info: Database connection established
3
+ 2022-04-05T07:45:09.826Z error: listen EADDRINUSE: address already in use :::3000
4
+ 2022-04-05T07:50:32.945Z info: File Storage is Ready.
5
+ 2022-04-05T07:50:36.883Z info: Database connection established
6
+ 2022-04-05T07:50:38.404Z info: 🚀 Server ready at http://0.0.0.0:3000/graphql
7
+ 2022-04-05T07:50:38.405Z info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/subscriptions
8
+ 2022-04-05T07:54:24.048Z info: File Storage is Ready.
9
+ 2022-04-05T07:54:40.153Z info: File Storage is Ready.
10
+ 2022-04-05T07:54:43.334Z info: Database connection established
11
+ 2022-04-05T07:54:44.986Z info: 🚀 Server ready at http://0.0.0.0:3000/graphql
12
+ 2022-04-05T07:54:44.986Z info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/subscriptions
@@ -0,0 +1,70 @@
1
+ 2022-04-05T07:50:38.935Z info: Initializing ConnectionManager...
2
+ 2022-04-05T07:50:38.936Z info: Connector 'echo-back-server' started to ready
3
+ 2022-04-05T07:50:38.936Z info: Connector 'echo-back' started to ready
4
+ 2022-04-05T07:50:38.937Z info: Connector 'http-connector' started to ready
5
+ 2022-04-05T07:50:38.937Z info: Connector 'graphql-connector' started to ready
6
+ 2022-04-05T07:50:38.937Z info: Connector 'sqlite-connector' started to ready
7
+ 2022-04-05T07:50:38.937Z info: Connector 'postgresql-connector' started to ready
8
+ 2022-04-05T07:50:38.938Z info: Connector 'mqtt-connector' started to ready
9
+ 2022-04-05T07:50:38.938Z info: Connector 'mssql-connector' started to ready
10
+ 2022-04-05T07:50:38.938Z info: Connector 'oracle-connector' started to ready
11
+ 2022-04-05T07:50:38.938Z info: Connector 'mysql-connector' started to ready
12
+ 2022-04-05T07:50:38.939Z info: Connector 'socket-server' started to ready
13
+ 2022-04-05T07:50:38.939Z info: echo-back-servers are ready
14
+ 2022-04-05T07:50:38.939Z info: echo-back connections are ready
15
+ 2022-04-05T07:50:38.939Z info: http-connector connections are ready
16
+ 2022-04-05T07:50:38.939Z info: graphql-connector connections are ready
17
+ 2022-04-05T07:50:38.939Z info: sqlite-connector connections are ready
18
+ 2022-04-05T07:50:38.939Z info: postgresql-connector connections are ready
19
+ 2022-04-05T07:50:38.940Z info: mqtt-connector connections are ready
20
+ 2022-04-05T07:50:38.940Z info: mssql-connector connections are ready
21
+ 2022-04-05T07:50:38.940Z info: oracle-connector connections are ready
22
+ 2022-04-05T07:50:38.940Z info: mysql-connector connections are ready
23
+ 2022-04-05T07:50:38.940Z info: socket servers are ready
24
+ 2022-04-05T07:50:38.940Z info: All connector for 'echo-back-server' ready
25
+ 2022-04-05T07:50:38.940Z info: All connector for 'echo-back' ready
26
+ 2022-04-05T07:50:38.940Z info: All connector for 'http-connector' ready
27
+ 2022-04-05T07:50:38.940Z info: All connector for 'graphql-connector' ready
28
+ 2022-04-05T07:50:38.940Z info: All connector for 'sqlite-connector' ready
29
+ 2022-04-05T07:50:38.940Z info: All connector for 'postgresql-connector' ready
30
+ 2022-04-05T07:50:38.940Z info: All connector for 'mqtt-connector' ready
31
+ 2022-04-05T07:50:38.940Z info: All connector for 'mssql-connector' ready
32
+ 2022-04-05T07:50:38.940Z info: All connector for 'oracle-connector' ready
33
+ 2022-04-05T07:50:38.941Z info: All connector for 'mysql-connector' ready
34
+ 2022-04-05T07:50:38.941Z info: All connector for 'socket-server' ready
35
+ 2022-04-05T07:50:38.941Z info: ConnectionManager initialization done:
36
+ 2022-04-05T07:54:45.203Z info: Initializing ConnectionManager...
37
+ 2022-04-05T07:54:45.204Z info: Connector 'echo-back-server' started to ready
38
+ 2022-04-05T07:54:45.204Z info: Connector 'echo-back' started to ready
39
+ 2022-04-05T07:54:45.208Z info: Connector 'http-connector' started to ready
40
+ 2022-04-05T07:54:45.209Z info: Connector 'graphql-connector' started to ready
41
+ 2022-04-05T07:54:45.210Z info: Connector 'sqlite-connector' started to ready
42
+ 2022-04-05T07:54:45.210Z info: Connector 'postgresql-connector' started to ready
43
+ 2022-04-05T07:54:45.212Z info: Connector 'mqtt-connector' started to ready
44
+ 2022-04-05T07:54:45.214Z info: Connector 'mssql-connector' started to ready
45
+ 2022-04-05T07:54:45.215Z info: Connector 'oracle-connector' started to ready
46
+ 2022-04-05T07:54:45.215Z info: Connector 'mysql-connector' started to ready
47
+ 2022-04-05T07:54:45.216Z info: Connector 'socket-server' started to ready
48
+ 2022-04-05T07:54:45.217Z info: echo-back-servers are ready
49
+ 2022-04-05T07:54:45.217Z info: echo-back connections are ready
50
+ 2022-04-05T07:54:45.217Z info: http-connector connections are ready
51
+ 2022-04-05T07:54:45.217Z info: graphql-connector connections are ready
52
+ 2022-04-05T07:54:45.217Z info: sqlite-connector connections are ready
53
+ 2022-04-05T07:54:45.217Z info: postgresql-connector connections are ready
54
+ 2022-04-05T07:54:45.218Z info: mqtt-connector connections are ready
55
+ 2022-04-05T07:54:45.218Z info: mssql-connector connections are ready
56
+ 2022-04-05T07:54:45.218Z info: oracle-connector connections are ready
57
+ 2022-04-05T07:54:45.218Z info: mysql-connector connections are ready
58
+ 2022-04-05T07:54:45.218Z info: socket servers are ready
59
+ 2022-04-05T07:54:45.218Z info: All connector for 'echo-back-server' ready
60
+ 2022-04-05T07:54:45.219Z info: All connector for 'echo-back' ready
61
+ 2022-04-05T07:54:45.219Z info: All connector for 'http-connector' ready
62
+ 2022-04-05T07:54:45.219Z info: All connector for 'graphql-connector' ready
63
+ 2022-04-05T07:54:45.219Z info: All connector for 'sqlite-connector' ready
64
+ 2022-04-05T07:54:45.219Z info: All connector for 'postgresql-connector' ready
65
+ 2022-04-05T07:54:45.219Z info: All connector for 'mqtt-connector' ready
66
+ 2022-04-05T07:54:45.219Z info: All connector for 'mssql-connector' ready
67
+ 2022-04-05T07:54:45.219Z info: All connector for 'oracle-connector' ready
68
+ 2022-04-05T07:54:45.220Z info: All connector for 'mysql-connector' ready
69
+ 2022-04-05T07:54:45.220Z info: All connector for 'socket-server' ready
70
+ 2022-04-05T07:54:45.220Z info: ConnectionManager initialization done:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@operato/scene-indoor-map",
3
- "version": "1.0.0-alpha.2",
3
+ "version": "1.0.0-alpha.22",
4
4
  "description": "Indoor Map component for things-scene.",
5
5
  "license": "MIT",
6
6
  "author": "heartyoh",
@@ -26,13 +26,13 @@
26
26
  "migration": "things-factory-migration"
27
27
  },
28
28
  "dependencies": {
29
- "@hatiolab/things-scene": "^2.7.34"
29
+ "@hatiolab/things-scene": "^3.0.13"
30
30
  },
31
31
  "devDependencies": {
32
32
  "@hatiolab/prettier-config": "^1.0.0",
33
- "@operato/board": "^1.0.0-alpha.14",
34
- "@things-factory/builder": "^5.0.0-alpha.5",
35
- "@things-factory/operato-board": "^5.0.0-alpha.5",
33
+ "@operato/board": "^1.0.0-beta.33",
34
+ "@things-factory/builder": "^5.0.0-zeta.1",
35
+ "@things-factory/operato-board": "^5.0.0-zeta.1",
36
36
  "@typescript-eslint/eslint-plugin": "^4.33.0",
37
37
  "@typescript-eslint/parser": "^4.33.0",
38
38
  "@web/dev-server": "^0.1.28",
@@ -57,5 +57,5 @@
57
57
  "prettier --write"
58
58
  ]
59
59
  },
60
- "gitHead": "5cdd6fef45cb25cbc17638b400443d93592a6136"
60
+ "gitHead": "5d982a9a5803854d809093925be1c1888ff9eff8"
61
61
  }
package/src/camera.ts CHANGED
@@ -93,7 +93,7 @@ export default class Camera extends RectPath(Component) {
93
93
  )
94
94
  }
95
95
 
96
- static get nature() {
96
+ get nature() {
97
97
  return NATURE
98
98
  }
99
99
 
package/src/indoor-map.ts CHANGED
@@ -62,6 +62,14 @@ export default class IndoorMap extends Container {
62
62
  return this.components[this.get('layoutConfig').activeIndex] as Floor
63
63
  }
64
64
 
65
+ get activeIndex() {
66
+ return this.get('activeIndex')
67
+ }
68
+
69
+ set activeIndex(activeIndex: number) {
70
+ this.set('activeIndex', Number(activeIndex))
71
+ }
72
+
65
73
  ready() {
66
74
  super.ready()
67
75
 
@@ -1 +1 @@
1
- {"program":{"fileNames":["../../node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/typescript/lib/lib.es2015.d.ts","../../node_modules/typescript/lib/lib.es2016.d.ts","../../node_modules/typescript/lib/lib.es2017.d.ts","../../node_modules/typescript/lib/lib.es2018.d.ts","../../node_modules/typescript/lib/lib.es2019.d.ts","../../node_modules/typescript/lib/lib.es2020.d.ts","../../node_modules/typescript/lib/lib.dom.d.ts","../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../node_modules/tslib/tslib.d.ts","../../node_modules/@types/lodash/common/common.d.ts","../../node_modules/@types/lodash/common/array.d.ts","../../node_modules/@types/lodash/common/collection.d.ts","../../node_modules/@types/lodash/common/date.d.ts","../../node_modules/@types/lodash/common/function.d.ts","../../node_modules/@types/lodash/common/lang.d.ts","../../node_modules/@types/lodash/common/math.d.ts","../../node_modules/@types/lodash/common/number.d.ts","../../node_modules/@types/lodash/common/object.d.ts","../../node_modules/@types/lodash/common/seq.d.ts","../../node_modules/@types/lodash/common/string.d.ts","../../node_modules/@types/lodash/common/util.d.ts","../../node_modules/@types/lodash/index.d.ts","../../node_modules/@hatiolab/things-scene/things-scene.d.ts","./src/beacon.ts","./src/quaternion.ts","./src/camera.ts","./src/indoor-map.ts","./src/floor.ts","./src/rack.ts","./src/index.ts","../../node_modules/lit/node_modules/@lit/reactive-element/css-tag.d.ts","../../node_modules/lit/node_modules/@lit/reactive-element/reactive-controller.d.ts","../../node_modules/lit/node_modules/@lit/reactive-element/reactive-element.d.ts","../../node_modules/@types/trusted-types/lib/index.d.ts","../../node_modules/@types/trusted-types/index.d.ts","../../node_modules/lit/node_modules/lit-html/directive.d.ts","../../node_modules/lit/node_modules/lit-html/lit-html.d.ts","../../node_modules/lit-element/node_modules/@lit/reactive-element/reactive-element.d.ts","../../node_modules/lit-element/node_modules/lit-html/lit-html.d.ts","../../node_modules/lit-element/lit-element.d.ts","../../node_modules/lit/index.d.ts","../../node_modules/@operato/property-editor/dist/src/types.d.ts","../../node_modules/lit-html/directive.d.ts","../../node_modules/lit-html/lit-html.d.ts","../../node_modules/@operato/property-editor/dist/src/ox-property-editor.d.ts","../../node_modules/@operato/property-editor/dist/src/index.d.ts","../../node_modules/lit/node_modules/@lit/reactive-element/decorators/base.d.ts","../../node_modules/lit/node_modules/@lit/reactive-element/decorators/custom-element.d.ts","../../node_modules/lit/node_modules/@lit/reactive-element/decorators/property.d.ts","../../node_modules/lit/node_modules/@lit/reactive-element/decorators/state.d.ts","../../node_modules/lit/node_modules/@lit/reactive-element/decorators/event-options.d.ts","../../node_modules/lit/node_modules/@lit/reactive-element/decorators/query.d.ts","../../node_modules/lit/node_modules/@lit/reactive-element/decorators/query-all.d.ts","../../node_modules/lit/node_modules/@lit/reactive-element/decorators/query-async.d.ts","../../node_modules/lit/node_modules/@lit/reactive-element/decorators/query-assigned-nodes.d.ts","../../node_modules/lit/node_modules/@lit/reactive-element/decorators/query-assigned-elements.d.ts","../../node_modules/lit/decorators.d.ts","./src/editors/ox-property-editor-action.ts","./src/editors/index.ts","./src/templates/beacon.ts","./src/templates/camera.ts","./src/templates/indoor-map.ts","./src/templates/rack.ts","./src/templates/index.ts","../../node_modules/@types/node/assert.d.ts","../../node_modules/@types/node/assert/strict.d.ts","../../node_modules/@types/node/globals.d.ts","../../node_modules/@types/node/async_hooks.d.ts","../../node_modules/@types/node/buffer.d.ts","../../node_modules/@types/node/child_process.d.ts","../../node_modules/@types/node/cluster.d.ts","../../node_modules/@types/node/console.d.ts","../../node_modules/@types/node/constants.d.ts","../../node_modules/@types/node/crypto.d.ts","../../node_modules/@types/node/dgram.d.ts","../../node_modules/@types/node/diagnostics_channel.d.ts","../../node_modules/@types/node/dns.d.ts","../../node_modules/@types/node/dns/promises.d.ts","../../node_modules/@types/node/domain.d.ts","../../node_modules/@types/node/events.d.ts","../../node_modules/@types/node/fs.d.ts","../../node_modules/@types/node/fs/promises.d.ts","../../node_modules/@types/node/http.d.ts","../../node_modules/@types/node/http2.d.ts","../../node_modules/@types/node/https.d.ts","../../node_modules/@types/node/inspector.d.ts","../../node_modules/@types/node/module.d.ts","../../node_modules/@types/node/net.d.ts","../../node_modules/@types/node/os.d.ts","../../node_modules/@types/node/path.d.ts","../../node_modules/@types/node/perf_hooks.d.ts","../../node_modules/@types/node/process.d.ts","../../node_modules/@types/node/punycode.d.ts","../../node_modules/@types/node/querystring.d.ts","../../node_modules/@types/node/readline.d.ts","../../node_modules/@types/node/repl.d.ts","../../node_modules/@types/node/stream.d.ts","../../node_modules/@types/node/stream/promises.d.ts","../../node_modules/@types/node/stream/consumers.d.ts","../../node_modules/@types/node/stream/web.d.ts","../../node_modules/@types/node/string_decoder.d.ts","../../node_modules/@types/node/timers.d.ts","../../node_modules/@types/node/timers/promises.d.ts","../../node_modules/@types/node/tls.d.ts","../../node_modules/@types/node/trace_events.d.ts","../../node_modules/@types/node/tty.d.ts","../../node_modules/@types/node/url.d.ts","../../node_modules/@types/node/util.d.ts","../../node_modules/@types/node/v8.d.ts","../../node_modules/@types/node/vm.d.ts","../../node_modules/@types/node/wasi.d.ts","../../node_modules/@types/node/worker_threads.d.ts","../../node_modules/@types/node/zlib.d.ts","../../node_modules/@types/node/globals.global.d.ts","../../node_modules/@types/node/index.d.ts"],"fileInfos":[{"version":"6adbf5efd0e374ff5f427a4f26a5a413e9734eee5067a0e86da69aea41910b52","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84","e21c071ca3e1b4a815d5f04a7475adcaeea5d64367e840dd0154096d705c3940",{"version":"abba1071bfd89e55e88a054b0c851ea3e8a494c340d0f3fab19eb18f6afb0c9e","affectsGlobalScope":true},{"version":"d8996609230d17e90484a2dd58f22668f9a05a3bfe00bfb1d6271171e54a31fb","affectsGlobalScope":true},{"version":"43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"4378fc8122ec9d1a685b01eb66c46f62aba6b239ca7228bb6483bcf8259ee493","affectsGlobalScope":true},{"version":"0d5f52b3174bee6edb81260ebcd792692c32c81fd55499d69531496f3f2b25e7","affectsGlobalScope":true},{"version":"810627a82ac06fb5166da5ada4159c4ec11978dfbb0805fe804c86406dab8357","affectsGlobalScope":true},{"version":"62d80405c46c3f4c527ee657ae9d43fda65a0bf582292429aea1e69144a522a6","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"75ec0bdd727d887f1b79ed6619412ea72ba3c81d92d0787ccb64bab18d261f14","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"12a310447c5d23c7d0d5ca2af606e3bd08afda69100166730ab92c62999ebb9d","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"1b3fe904465430e030c93239a348f05e1be80640d91f2f004c3512c2c2c89f34","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"d071129cba6a5f2700be09c86c07ad2791ab67d4e5ed1eb301d6746c62745ea4","affectsGlobalScope":true},{"version":"10bbdc1981b8d9310ee75bfac28ee0477bb2353e8529da8cff7cb26c409cb5e8","affectsGlobalScope":true},"12f4cfe2fe60b810c3174537bc2ddb20c1067b7768643d12cb1266fd183afb75","675e702f2032766a91eeadee64f51014c64688525da99dccd8178f0c599f13a8","fe4a2042d087990ebfc7dc0142d5aaf5a152e4baea86b45f283f103ec1e871ea","d70c026dd2eeaa974f430ea229230a1897fdb897dc74659deebe2afd4feeb08f","187119ff4f9553676a884e296089e131e8cc01691c546273b1d0089c3533ce42","c24ad9be9adf28f0927e3d9d9e9cec1c677022356f241ccbbfb97bfe8fb3d1a1","0ec0998e2d085e8ea54266f547976ae152c9dd6cdb9ac4d8a520a230f5ebae84","9364c7566b0be2f7b70ff5285eb34686f83ccb01bda529b82d23b2a844653bfb","00baffbe8a2f2e4875367479489b5d43b5fc1429ecb4a4cc98cfc3009095f52a","ae9930989ed57478eb03b9b80ad3efa7a3eacdfeff0f78ecf7894c4963a64f93","3c92b6dfd43cc1c2485d9eba5ff0b74a19bb8725b692773ef1d66dac48cda4bd","3e59f00ab03c33717b3130066d4debb272da90eeded4935ff0604c2bc25a5cae","6ac6f24aff52e62c3950461aa17eab26e3a156927858e6b654baef0058b4cd1e",{"version":"0714e2046df66c0e93c3330d30dbc0565b3e8cd3ee302cf99e4ede6220e5fec8","affectsGlobalScope":true},"45a631650d3970dcb50a5b6f10bdd8533eed562aa5d85fa9887621c074c09de1","9987a99d74661d0375a5758425f99b35eeb0e7783535b11d7ee8acc338d5b260","8846e9ec615004e255a9aac0056071d9f2e8dedf4e391c4dd308d793db2f5744","2b71b6520b30908afa32db15b45aef8f1eaa392affa28b9c74bf02545158c4b6","40de8a03ebdaa77ed6e43d69240891e34357d5defcfb678bafe136b50ccd3f67","1695bf33141ec1743b505db00972713fcc471592e0aaa3a653ed64c303653812","9505dee7563d7d3192211bc1629a76f1f25ab681b373bd81fd4a3bd33853c208","73801edd15e5b7d77e0c3159a9a5f5ae506a0631893faaa0e4deb89f83630386","6e2c5a9358c2be6791713f778c3af2d3357b8665d881e22f50b3aa861a2a9717","1e5743b25a63fd34ffbae89adcbf248ee17db6ed08d90079ffa93803c3e80d2a","13bb750b495c48fd60d7b5e09f65d4a7b010ab7e09a8943a6d54511e7d184f84","2fcd2d22b1f30555e785105597cd8f57ed50300e213c4f1bbca6ae149f782c38",{"version":"bb4248c7f953233ac52332088fac897d62b82be07244e551d87c5049600b6cf7","affectsGlobalScope":true},"70f04c91d3186b1b10157157887fab664968fc9b88377785a5ee42750c202c6d","f690af1a7043e58fce8c672df5e1d1e27bad7459b81143af991db7c5427a0785","13bb750b495c48fd60d7b5e09f65d4a7b010ab7e09a8943a6d54511e7d184f84","f690af1a7043e58fce8c672df5e1d1e27bad7459b81143af991db7c5427a0785","eba7cf33380cc3a3cf614faf67300e14d0bdff9ea6c5cd6f4b040b1756a48ab1","f07a77a7fb1d49aa2b61cb68bf712a083487acd7130d20223a83de03af0c257d","89ec2f58a1b63a71b5129f7a827a5b2b744404959eb4ab3ad72b85a3387acd06","70f04c91d3186b1b10157157887fab664968fc9b88377785a5ee42750c202c6d","06e20da1bc94df355f22ac7a9533c2488816ec4cb9134d9b160a263629a07072","661d3a80e2683e213ccc991ed2912648342b0fb1bc6b71e4e6957c403a4a26dd","4b19ef22586a488de7412e25b5490ace2562e86cfdb3e1c9a22cad11ecb9fd5e","97c58f6db61d45712d91d2260994817ae2b568bbb37cc280013079b6b5d2232d","ac388c7c7a262213a3700451bc921e382a93fb27c0252c34ccf03540b4ce044b","1da789e534bc558808021dd64abf33a91a68e422bbf28aeec236bd74df640401","fb0107c83e2e0e75b77dacd0c3c6c3ab6844e98dce2a8f858c6f0a57c12136a6","0a478dcb6e6bd8a5d871165659c79cee7b8c3b7a87289118d22e1a04d171e252","a25d1e52291791819032826af5c52987e16ffdb96e8bb69f7f1790f5ab080be6","d660961abada6b5030461f3322ef3a2e1d9fec74167574f8b590a7796cf90a72","707b4eae3d469b2f347d2083037151922f94c370a9456ebd5ac0a4fb7441c7e7","4bcb813ea56182beaaab1e8274524eb9f1449b0d8e79efc4a0399de09e43f816","c784eab1cf838d9d6527bce3d9f2d373145606666b68f7610291a7adf6e6bda9","f0380f581cb015778c0fe51e95b5b7f6dae237280654558469b2486c1572268a","29aa0d87d5a2219c221f3314f5bc5e3c64c987d15f4f2ada9891b62f19163334","1e8c2d32c81bef941358591c6dcfe8bc6db862d2fd005ec899084620692fbd42","2ba0cb8fbf1b320f2d33dab37d41750da20969c756fc1af4ac3a0eec152fd0aa","7c956c4fafb80b92043011fbd2e5ac558fa644dfa86f8853233bba363cfbddf5","527e2272129fff50d6295495a2592acebfff01607bf3ad6f8616f2dc7cb46953","10b1b87f8f53c4871ebf53788f7723b2214329d82b1aa8d89a4b6524b18d3d26","2459a79823f59c1d0b6a77660f636e6aae91e4270e25296aa534bc524c7b96d0","0d5a2ee1fdfa82740e0103389b9efd6bfe145a20018a2da3c02b89666181f4d9","a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a",{"version":"92d63add669d18ebc349efbacd88966d6f2ccdddfb1b880b2db98ae3aa7bf7c4","affectsGlobalScope":true},"ccc94049a9841fe47abe5baef6be9a38fc6228807974ae675fb15dc22531b4be",{"version":"9acfe4d1ff027015151ce81d60797b04b52bffe97ad8310bb0ec2e8fd61e1303","affectsGlobalScope":true},"95843d5cfafced8f3f8a5ce57d2335f0bcd361b9483587d12a25e4bd403b8216","afc6e96061af46bcff47246158caee7e056f5288783f2d83d6858cd25be1c565",{"version":"34f5bcac12b36d70304b73de5f5aab3bb91bd9919f984be80579ebcad03a624e","affectsGlobalScope":true},"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","2f520601649a893e6a49a8851ebfcf4be8ce090dc1281c2a08a871cb04e8251f","f50c975ab7b50e25a69e3d8a3773894125b44e9698924105f23b812bf7488baf","2b8c764f856a1dd0a9a2bf23e5efddbff157de8138b0754010be561ae5fcaa90","76650408392bf49a8fbf3e2b6b302712a92d76af77b06e2da1cc8077359c4409","0af3121e68297b2247dd331c0d24dba599e50736a7517a5622d5591aae4a3122","6972fca26f6e9bd56197568d4379f99071a90766e06b4fcb5920a0130a9202be",{"version":"4a2628e95962c8ab756121faa3ac2ed348112ff7a87b5c286dd2cc3326546b4c","affectsGlobalScope":true},"80793b2277f31baa199234daed806fff0fb11491d1ebd3357e520c3558063f00","a049a59a02009fc023684fcfaf0ac526fe36c35dcc5d2b7d620c1750ba11b083","5533392c50c51b1a5c32b89f13145db929c574ef1c5949cf67a074a05ea107d9","b287b810b5035d5685f1df6e1e418f1ca452a3ed4f59fd5cc081dbf2045f0d9b","4b9a003b5c556c96784132945bb41c655ea11273b1917f5c8d0c154dd5fd20dd","a458dc78104cc80048ac24fdc02fe6dce254838094c2f25641b3f954d9721241",{"version":"e8b18c6385ff784228a6f369694fcf1a6b475355ba89090a88de13587a9391d5","affectsGlobalScope":true},"902cd98bf46e95caf4118a0733fb801e9e90eec3edaed6abdad77124afec9ca2","abc1c425b2ad6720433f40f1877abfa4223f0f3dd486c9c28c492179ca183cb6","cd4854d38f4eb5592afd98ab95ca17389a7dfe38013d9079e802d739bdbcc939","94eed4cc2f5f658d5e229ff1ccd38860bddf4233e347bf78edd2154dee1f2b99",{"version":"bd1a08e30569b0fb2f0b21035eb9b039871f68faa9b98accf847e9c878c5e0a9","affectsGlobalScope":true},"9f1069b9e2c051737b1f9b4f1baf50e4a63385a6a89c32235549ae87fc3d5492","ee18f2da7a037c6ceeb112a084e485aead9ea166980bf433474559eac1b46553","29c2706fa0cc49a2bd90c83234da33d08bb9554ecec675e91c1f85087f5a5324","0acbf26bf958f9e80c1ffa587b74749d2697b75b484062d36e103c137c562bc3","d7838022c7dab596357a9604b9c6adffe37dc34085ce0779c958ce9545bd7139","1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff",{"version":"806ef4cac3b3d9fa4a48d849c8e084d7c72fcd7b16d76e06049a9ed742ff79c0","affectsGlobalScope":true},"a7971f9fb2a32ec7788ec6cda9d7a33c02023dfe9a62db2030ad1359649d8050","c33a6ea7147af60d8e98f1ac127047f4b0d4e2ce28b8f08ff3de07ca7cc00637",{"version":"b42b47e17b8ece2424ae8039feb944c2e3ba4b262986aebd582e51efbdca93dc","affectsGlobalScope":true},"664d8f2d59164f2e08c543981453893bc7e003e4dfd29651ce09db13e9457980","2408611d9b4146e35d1dbd1f443ccd8e187c74614a54b80300728277529dbf11","998a3de5237518c0b3ac00a11b3b4417affb008aa20aedee52f3fdae3cb86151","ad41008ffe077206e1811fc873f4d9005b5fd7f6ab52bb6118fef600815a5cb4","d88ecca73348e7c337541c4b8b60a50aca5e87384f6b8a422fc6603c637e4c21","badae0df9a8016ac36994b0a0e7b82ba6aaa3528e175a8c3cb161e4683eec03e","c3db860bcaaaeb3bbc23f353bbda1f8ab82756c8d5e973bebb3953cb09ea68f2","235a53595bd20b0b0eeb1a29cb2887c67c48375e92f03749b2488fbd46d0b1a0","bc09393cd4cd13f69cf1366d4236fbae5359bb550f0de4e15767e9a91d63dfb1","9c266243b01545e11d2733a55ad02b4c00ecdbda99c561cd1674f96e89cdc958","c71155c05fc76ff948a4759abc1cb9feec036509f500174bc18dad4c7827a60c",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"1cdb8f094b969dcc183745dc88404e2d8fcf2a858c6e7cc2441011476573238e"],"options":{"allowSyntheticDefaultImports":true,"declaration":true,"esModuleInterop":false,"experimentalDecorators":true,"importHelpers":true,"inlineSources":true,"module":99,"noEmitOnError":true,"outDir":"./dist","rootDir":"./src","sourceMap":true,"strict":true,"target":5},"fileIdsList":[[53,139],[73,76,139],[72,75,139],[139],[41,43,44,45,46,47,48,49,50,51,52,53,139],[41,42,44,45,46,47,48,49,50,51,52,53,139],[42,43,44,45,46,47,48,49,50,51,52,53,139],[41,42,43,45,46,47,48,49,50,51,52,53,139],[41,42,43,44,46,47,48,49,50,51,52,53,139],[41,42,43,44,45,47,48,49,50,51,52,53,139],[41,42,43,44,45,46,48,49,50,51,52,53,139],[41,42,43,44,45,46,47,49,50,51,52,53,139],[41,42,43,44,45,46,47,48,50,51,52,53,139],[41,42,43,44,45,46,47,48,49,51,52,53,139],[41,42,43,44,45,46,47,48,49,50,52,53,139],[41,42,43,44,45,46,47,48,49,50,51,53,139],[41,42,43,44,45,46,47,48,49,50,51,52,139],[96,139],[99,139],[100,105,139],[101,111,112,119,128,138,139],[101,102,111,119,139],[103,139],[104,105,112,120,139],[105,128,135,139],[106,108,111,119,139],[107,139],[108,109,139],[110,111,139],[111,139],[111,112,113,128,138,139],[111,112,113,128,139],[114,119,128,138,139],[111,112,114,115,119,128,135,138,139],[114,116,128,135,138,139],[96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145],[111,117,139],[118,138,139],[108,111,119,128,139],[120,139],[121,139],[99,122,139],[123,137,139,143],[124,139],[125,139],[111,126,139],[126,127,139,141],[111,128,129,130,139],[128,130,139],[128,129,139],[131,139],[132,139],[111,133,134,139],[133,134,139],[105,119,135,139],[136,139],[119,137,139],[100,114,125,138,139],[105,139],[128,139,140],[139,141],[139,142],[100,105,111,113,122,128,138,139,141,143],[128,139,144],[65,139],[64,68,139],[62,63,139],[66,67,139],[75,139],[66,74,139],[79,80,81,82,83,84,85,86,87,139],[64,68,71,139],[64,139],[78,139],[64,78,139],[64,78,86,139],[68,139],[40,54,139],[40,54,56,139],[40,89,139],[40,54,72,77,88,139],[40,54,58,139],[40,58,59,60,139],[40,54,59,139],[40,139],[40,93,94,139]],"referencedMap":[[54,1],[77,2],[76,3],[73,4],[42,5],[43,6],[41,7],[44,8],[45,9],[46,10],[47,11],[48,12],[49,13],[50,14],[51,15],[52,16],[53,17],[96,18],[97,18],[99,19],[100,20],[101,21],[102,22],[103,23],[104,24],[105,25],[106,26],[107,27],[108,28],[109,28],[110,29],[111,30],[112,31],[113,32],[98,4],[145,4],[114,33],[115,34],[116,35],[146,36],[117,37],[118,38],[119,39],[120,40],[121,41],[122,42],[123,43],[124,44],[125,45],[126,46],[127,47],[128,48],[130,49],[129,50],[131,51],[132,52],[133,53],[134,54],[135,55],[136,56],[137,57],[138,58],[139,59],[140,60],[141,61],[142,62],[143,63],[144,64],[66,65],[65,4],[71,66],[69,67],[70,68],[74,69],[75,70],[88,71],[72,72],[62,4],[78,73],[79,74],[82,75],[80,75],[84,75],[87,76],[86,4],[85,75],[83,75],[81,74],[63,4],[64,67],[67,77],[68,68],[40,4],[8,4],[10,4],[9,4],[2,4],[11,4],[12,4],[13,4],[14,4],[15,4],[16,4],[17,4],[18,4],[3,4],[4,4],[22,4],[19,4],[20,4],[21,4],[23,4],[24,4],[25,4],[5,4],[26,4],[27,4],[28,4],[29,4],[6,4],[30,4],[31,4],[32,4],[33,4],[7,4],[38,4],[34,4],[35,4],[36,4],[37,4],[1,4],[39,4],[55,78],[57,79],[90,80],[89,81],[59,82],[61,83],[58,84],[56,85],[60,78],[91,85],[92,85],[95,86],[93,85],[94,85]],"exportedModulesMap":[[54,1],[77,2],[76,3],[73,4],[42,5],[43,6],[41,7],[44,8],[45,9],[46,10],[47,11],[48,12],[49,13],[50,14],[51,15],[52,16],[53,17],[96,18],[97,18],[99,19],[100,20],[101,21],[102,22],[103,23],[104,24],[105,25],[106,26],[107,27],[108,28],[109,28],[110,29],[111,30],[112,31],[113,32],[98,4],[145,4],[114,33],[115,34],[116,35],[146,36],[117,37],[118,38],[119,39],[120,40],[121,41],[122,42],[123,43],[124,44],[125,45],[126,46],[127,47],[128,48],[130,49],[129,50],[131,51],[132,52],[133,53],[134,54],[135,55],[136,56],[137,57],[138,58],[139,59],[140,60],[141,61],[142,62],[143,63],[144,64],[66,65],[65,4],[71,66],[69,67],[70,68],[74,69],[75,70],[88,71],[72,72],[62,4],[78,73],[79,74],[82,75],[80,75],[84,75],[87,76],[86,4],[85,75],[83,75],[81,74],[63,4],[64,67],[67,77],[68,68],[40,4],[8,4],[10,4],[9,4],[2,4],[11,4],[12,4],[13,4],[14,4],[15,4],[16,4],[17,4],[18,4],[3,4],[4,4],[22,4],[19,4],[20,4],[21,4],[23,4],[24,4],[25,4],[5,4],[26,4],[27,4],[28,4],[29,4],[6,4],[30,4],[31,4],[32,4],[33,4],[7,4],[38,4],[34,4],[35,4],[36,4],[37,4],[1,4],[39,4],[55,78],[57,79],[90,80],[89,81],[59,82],[61,83],[58,84],[56,85],[60,78],[91,85],[92,85],[95,86],[93,85],[94,85]],"semanticDiagnosticsPerFile":[54,77,76,73,42,43,41,44,45,46,47,48,49,50,51,52,53,96,97,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,98,145,114,115,116,146,117,118,119,120,121,122,123,124,125,126,127,128,130,129,131,132,133,134,135,136,137,138,139,140,141,142,143,144,66,65,71,69,70,74,75,88,72,62,78,79,82,80,84,87,86,85,83,81,63,64,67,68,40,8,10,9,2,11,12,13,14,15,16,17,18,3,4,22,19,20,21,23,24,25,5,26,27,28,29,6,30,31,32,33,7,38,34,35,36,37,1,39,55,57,90,89,59,61,58,56,60,91,92,95,93,94]},"version":"4.5.2"}
1
+ {"program":{"fileNames":["../../node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/typescript/lib/lib.es2015.d.ts","../../node_modules/typescript/lib/lib.es2016.d.ts","../../node_modules/typescript/lib/lib.es2017.d.ts","../../node_modules/typescript/lib/lib.es2018.d.ts","../../node_modules/typescript/lib/lib.es2019.d.ts","../../node_modules/typescript/lib/lib.es2020.d.ts","../../node_modules/typescript/lib/lib.dom.d.ts","../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../node_modules/tslib/tslib.d.ts","../../node_modules/@types/lodash/common/common.d.ts","../../node_modules/@types/lodash/common/array.d.ts","../../node_modules/@types/lodash/common/collection.d.ts","../../node_modules/@types/lodash/common/date.d.ts","../../node_modules/@types/lodash/common/function.d.ts","../../node_modules/@types/lodash/common/lang.d.ts","../../node_modules/@types/lodash/common/math.d.ts","../../node_modules/@types/lodash/common/number.d.ts","../../node_modules/@types/lodash/common/object.d.ts","../../node_modules/@types/lodash/common/seq.d.ts","../../node_modules/@types/lodash/common/string.d.ts","../../node_modules/@types/lodash/common/util.d.ts","../../node_modules/@types/lodash/index.d.ts","../../node_modules/@hatiolab/things-scene/things-scene.d.ts","./src/beacon.ts","./src/quaternion.ts","./src/camera.ts","./src/indoor-map.ts","./src/floor.ts","./src/rack.ts","./src/index.ts","../../node_modules/@lit/reactive-element/css-tag.d.ts","../../node_modules/@lit/reactive-element/reactive-controller.d.ts","../../node_modules/@lit/reactive-element/reactive-element.d.ts","../../node_modules/@types/trusted-types/lib/index.d.ts","../../node_modules/@types/trusted-types/index.d.ts","../../node_modules/lit-html/directive.d.ts","../../node_modules/lit-html/lit-html.d.ts","../../node_modules/lit-element/lit-element.d.ts","../../node_modules/lit/index.d.ts","../../node_modules/@operato/property-editor/dist/src/types.d.ts","../../node_modules/@operato/property-editor/dist/src/ox-property-editor.d.ts","../../node_modules/@operato/property-editor/dist/src/index.d.ts","../../node_modules/@lit/reactive-element/decorators/base.d.ts","../../node_modules/@lit/reactive-element/decorators/custom-element.d.ts","../../node_modules/@lit/reactive-element/decorators/property.d.ts","../../node_modules/@lit/reactive-element/decorators/state.d.ts","../../node_modules/@lit/reactive-element/decorators/event-options.d.ts","../../node_modules/@lit/reactive-element/decorators/query.d.ts","../../node_modules/@lit/reactive-element/decorators/query-all.d.ts","../../node_modules/@lit/reactive-element/decorators/query-async.d.ts","../../node_modules/@lit/reactive-element/decorators/query-assigned-nodes.d.ts","../../node_modules/@lit/reactive-element/decorators/query-assigned-elements.d.ts","../../node_modules/lit/decorators.d.ts","./src/editors/ox-property-editor-action.ts","./src/editors/index.ts","./src/templates/beacon.ts","./src/templates/camera.ts","./src/templates/indoor-map.ts","./src/templates/rack.ts","./src/templates/index.ts","../../node_modules/@types/node/assert.d.ts","../../node_modules/@types/node/assert/strict.d.ts","../../node_modules/@types/node/globals.d.ts","../../node_modules/@types/node/async_hooks.d.ts","../../node_modules/@types/node/buffer.d.ts","../../node_modules/@types/node/child_process.d.ts","../../node_modules/@types/node/cluster.d.ts","../../node_modules/@types/node/console.d.ts","../../node_modules/@types/node/constants.d.ts","../../node_modules/@types/node/crypto.d.ts","../../node_modules/@types/node/dgram.d.ts","../../node_modules/@types/node/diagnostics_channel.d.ts","../../node_modules/@types/node/dns.d.ts","../../node_modules/@types/node/dns/promises.d.ts","../../node_modules/@types/node/domain.d.ts","../../node_modules/@types/node/events.d.ts","../../node_modules/@types/node/fs.d.ts","../../node_modules/@types/node/fs/promises.d.ts","../../node_modules/@types/node/http.d.ts","../../node_modules/@types/node/http2.d.ts","../../node_modules/@types/node/https.d.ts","../../node_modules/@types/node/inspector.d.ts","../../node_modules/@types/node/module.d.ts","../../node_modules/@types/node/net.d.ts","../../node_modules/@types/node/os.d.ts","../../node_modules/@types/node/path.d.ts","../../node_modules/@types/node/perf_hooks.d.ts","../../node_modules/@types/node/process.d.ts","../../node_modules/@types/node/punycode.d.ts","../../node_modules/@types/node/querystring.d.ts","../../node_modules/@types/node/readline.d.ts","../../node_modules/@types/node/repl.d.ts","../../node_modules/@types/node/stream.d.ts","../../node_modules/@types/node/stream/promises.d.ts","../../node_modules/@types/node/stream/consumers.d.ts","../../node_modules/@types/node/stream/web.d.ts","../../node_modules/@types/node/string_decoder.d.ts","../../node_modules/@types/node/timers.d.ts","../../node_modules/@types/node/timers/promises.d.ts","../../node_modules/@types/node/tls.d.ts","../../node_modules/@types/node/trace_events.d.ts","../../node_modules/@types/node/tty.d.ts","../../node_modules/@types/node/url.d.ts","../../node_modules/@types/node/util.d.ts","../../node_modules/@types/node/v8.d.ts","../../node_modules/@types/node/vm.d.ts","../../node_modules/@types/node/wasi.d.ts","../../node_modules/@types/node/worker_threads.d.ts","../../node_modules/@types/node/zlib.d.ts","../../node_modules/@types/node/globals.global.d.ts","../../node_modules/@types/node/index.d.ts","../../node_modules/lit/node_modules/@lit/reactive-element/reactive-element.d.ts","../../node_modules/lit/node_modules/lit-html/lit-html.d.ts","../../node_modules/lit/node_modules/@lit/reactive-element/decorators/custom-element.d.ts","../../node_modules/lit/node_modules/@lit/reactive-element/decorators/property.d.ts","../../node_modules/lit/node_modules/@lit/reactive-element/decorators/state.d.ts","../../node_modules/lit/node_modules/@lit/reactive-element/decorators/event-options.d.ts","../../node_modules/lit/node_modules/@lit/reactive-element/decorators/query.d.ts","../../node_modules/lit/node_modules/@lit/reactive-element/decorators/query-all.d.ts","../../node_modules/lit/node_modules/@lit/reactive-element/decorators/query-async.d.ts","../../node_modules/lit/node_modules/@lit/reactive-element/decorators/query-assigned-nodes.d.ts","../../node_modules/lit/node_modules/@lit/reactive-element/decorators/query-assigned-elements.d.ts"],"fileInfos":[{"version":"89f78430e422a0f06d13019d60d5a45b37ec2d28e67eb647f73b1b0d19a46b72","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84","e21c071ca3e1b4a815d5f04a7475adcaeea5d64367e840dd0154096d705c3940",{"version":"abba1071bfd89e55e88a054b0c851ea3e8a494c340d0f3fab19eb18f6afb0c9e","affectsGlobalScope":true},{"version":"d8996609230d17e90484a2dd58f22668f9a05a3bfe00bfb1d6271171e54a31fb","affectsGlobalScope":true},{"version":"43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"4378fc8122ec9d1a685b01eb66c46f62aba6b239ca7228bb6483bcf8259ee493","affectsGlobalScope":true},{"version":"0d5f52b3174bee6edb81260ebcd792692c32c81fd55499d69531496f3f2b25e7","affectsGlobalScope":true},{"version":"810627a82ac06fb5166da5ada4159c4ec11978dfbb0805fe804c86406dab8357","affectsGlobalScope":true},{"version":"62d80405c46c3f4c527ee657ae9d43fda65a0bf582292429aea1e69144a522a6","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"75ec0bdd727d887f1b79ed6619412ea72ba3c81d92d0787ccb64bab18d261f14","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"12a310447c5d23c7d0d5ca2af606e3bd08afda69100166730ab92c62999ebb9d","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"1b3fe904465430e030c93239a348f05e1be80640d91f2f004c3512c2c2c89f34","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"d071129cba6a5f2700be09c86c07ad2791ab67d4e5ed1eb301d6746c62745ea4","affectsGlobalScope":true},{"version":"10bbdc1981b8d9310ee75bfac28ee0477bb2353e8529da8cff7cb26c409cb5e8","affectsGlobalScope":true},"12f4cfe2fe60b810c3174537bc2ddb20c1067b7768643d12cb1266fd183afb75","675e702f2032766a91eeadee64f51014c64688525da99dccd8178f0c599f13a8","fe4a2042d087990ebfc7dc0142d5aaf5a152e4baea86b45f283f103ec1e871ea","d88a479cccf787b4aa82362150fbeba5211a32dbfafa7b92ba6995ecaf9a1a89","187119ff4f9553676a884e296089e131e8cc01691c546273b1d0089c3533ce42","c24ad9be9adf28f0927e3d9d9e9cec1c677022356f241ccbbfb97bfe8fb3d1a1","0ec0998e2d085e8ea54266f547976ae152c9dd6cdb9ac4d8a520a230f5ebae84","9364c7566b0be2f7b70ff5285eb34686f83ccb01bda529b82d23b2a844653bfb","00baffbe8a2f2e4875367479489b5d43b5fc1429ecb4a4cc98cfc3009095f52a","ae9930989ed57478eb03b9b80ad3efa7a3eacdfeff0f78ecf7894c4963a64f93","3c92b6dfd43cc1c2485d9eba5ff0b74a19bb8725b692773ef1d66dac48cda4bd","3e59f00ab03c33717b3130066d4debb272da90eeded4935ff0604c2bc25a5cae","6ac6f24aff52e62c3950461aa17eab26e3a156927858e6b654baef0058b4cd1e",{"version":"0714e2046df66c0e93c3330d30dbc0565b3e8cd3ee302cf99e4ede6220e5fec8","affectsGlobalScope":true},"f1871ed88ce44fff555b6f2151884c785adcb3f45fd8266a0727ec0f7bb92ecc",{"version":"9987a99d74661d0375a5758425f99b35eeb0e7783535b11d7ee8acc338d5b260","signature":"f2b67706f9d5a6fa2851f26f51b2d64df937233b72ea679e7242fcc3ad9e66ed"},"8846e9ec615004e255a9aac0056071d9f2e8dedf4e391c4dd308d793db2f5744",{"version":"1a8802077cf1fb45d6455380928f0eaa46d0694fe016dd4dc324170a50222f50","signature":"a650a48772f85fd7e9b1981c196b5037c45f44638e182dccaffdf4a9b000e9ee"},{"version":"143881bffb40fedb9ecfc7281237f997e4ba658fa992d5b220d32847b8880722","signature":"ab36f6b4e0d4b381178bcb0a11910e2ec86e118ab856f698fd0fa0cf48c4208e"},{"version":"1695bf33141ec1743b505db00972713fcc471592e0aaa3a653ed64c303653812","signature":"c762fa6ef6365b29c34081b6926fdc4852b3fa2e85d30a495b86c9d2079e191f"},{"version":"9505dee7563d7d3192211bc1629a76f1f25ab681b373bd81fd4a3bd33853c208","signature":"cdc7d82472ac4284c99bfd5fb5aee9b5bf6f38b4f38ebd1e4c1a569dcd8de3b0"},"73801edd15e5b7d77e0c3159a9a5f5ae506a0631893faaa0e4deb89f83630386","6e2c5a9358c2be6791713f778c3af2d3357b8665d881e22f50b3aa861a2a9717","1e5743b25a63fd34ffbae89adcbf248ee17db6ed08d90079ffa93803c3e80d2a","13bb750b495c48fd60d7b5e09f65d4a7b010ab7e09a8943a6d54511e7d184f84","2fcd2d22b1f30555e785105597cd8f57ed50300e213c4f1bbca6ae149f782c38",{"version":"bb4248c7f953233ac52332088fac897d62b82be07244e551d87c5049600b6cf7","affectsGlobalScope":true},"3f30c6b57bf5eb7a7d4298506b78b18d428a39a409e1eadd93a3fdd0299d2687","f690af1a7043e58fce8c672df5e1d1e27bad7459b81143af991db7c5427a0785","eba7cf33380cc3a3cf614faf67300e14d0bdff9ea6c5cd6f4b040b1756a48ab1","f07a77a7fb1d49aa2b61cb68bf712a083487acd7130d20223a83de03af0c257d","89ec2f58a1b63a71b5129f7a827a5b2b744404959eb4ab3ad72b85a3387acd06","661d3a80e2683e213ccc991ed2912648342b0fb1bc6b71e4e6957c403a4a26dd","4b19ef22586a488de7412e25b5490ace2562e86cfdb3e1c9a22cad11ecb9fd5e","97c58f6db61d45712d91d2260994817ae2b568bbb37cc280013079b6b5d2232d","ac388c7c7a262213a3700451bc921e382a93fb27c0252c34ccf03540b4ce044b","1da789e534bc558808021dd64abf33a91a68e422bbf28aeec236bd74df640401","fb0107c83e2e0e75b77dacd0c3c6c3ab6844e98dce2a8f858c6f0a57c12136a6","0a478dcb6e6bd8a5d871165659c79cee7b8c3b7a87289118d22e1a04d171e252","e385eb01000d045ea07cea09c488f66e051709a9ac460bf271623f9984e0c419","bf69beba89702c85d84546269e0d4e8b128d32e26b314ee9b501b0b32c82490b","46f3a421b048670d16a3c02589261f17c1cea687f2602eed31e1335b53aed785","4bcb813ea56182beaaab1e8274524eb9f1449b0d8e79efc4a0399de09e43f816","c784eab1cf838d9d6527bce3d9f2d373145606666b68f7610291a7adf6e6bda9","f0380f581cb015778c0fe51e95b5b7f6dae237280654558469b2486c1572268a",{"version":"29aa0d87d5a2219c221f3314f5bc5e3c64c987d15f4f2ada9891b62f19163334","signature":"c6f6dd9198a61a12cf02bad5d3c6c043318884bfd3bf4f11fd82c8fbe681e882"},{"version":"1e8c2d32c81bef941358591c6dcfe8bc6db862d2fd005ec899084620692fbd42","signature":"53a72db644b477baa73139ea77c881d5abc9f3456f1241c5614c60bbbd522311"},"2ba0cb8fbf1b320f2d33dab37d41750da20969c756fc1af4ac3a0eec152fd0aa","7c956c4fafb80b92043011fbd2e5ac558fa644dfa86f8853233bba363cfbddf5","527e2272129fff50d6295495a2592acebfff01607bf3ad6f8616f2dc7cb46953","10b1b87f8f53c4871ebf53788f7723b2214329d82b1aa8d89a4b6524b18d3d26","2459a79823f59c1d0b6a77660f636e6aae91e4270e25296aa534bc524c7b96d0","0cba3a5d7b81356222594442753cf90dd2892e5ccfe1d262aaca6896ba6c1380","a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a",{"version":"c2ab70bbc7a24c42a790890739dd8a0ba9d2e15038b40dff8163a97a5d148c00","affectsGlobalScope":true},"422dbb183fdced59425ca072c8bd09efaa77ce4e2ab928ec0d8a1ce062d2a45a",{"version":"2a801b0322994c3dd7f0ef30265d19b3dd3bae6d793596879166ed6219c3da68","affectsGlobalScope":true},"1dab5ab6bcf11de47ab9db295df8c4f1d92ffa750e8f095e88c71ce4c3299628","f71f46ccd5a90566f0a37b25b23bc4684381ab2180bdf6733f4e6624474e1894",{"version":"54e65985a3ee3cec182e6a555e20974ea936fc8b8d1738c14e8ed8a42bd921d4","affectsGlobalScope":true},"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","98a3ebfa494b46265634a73459050befba5da8fdc6ca0ef9b7269421780f4ff3","34e5de87d983bc6aefef8b17658556e3157003e8d9555d3cb098c6bef0b5fbc8","cc0b61316c4f37393f1f9595e93b673f4184e9d07f4c127165a490ec4a928668","f27371653aded82b2b160f7a7033fb4a5b1534b6f6081ef7be1468f0f15327d3","c762cd6754b13a461c54b59d0ae0ab7aeef3c292c6cf889873f786ee4d8e75c9","f4ea7d5df644785bd9fbf419930cbaec118f0d8b4160037d2339b8e23c059e79",{"version":"bfea28e6162ed21a0aeed181b623dcf250aa79abf49e24a6b7e012655af36d81","affectsGlobalScope":true},"7a5459efa09ea82088234e6533a203d528c594b01787fb90fba148885a36e8b6","ae97e20f2e10dbeec193d6a2f9cd9a367a1e293e7d6b33b68bacea166afd7792","10d4796a130577d57003a77b95d8723530bbec84718e364aa2129fa8ffba0378","ad41bb744149e92adb06eb953da195115620a3f2ad48e7d3ae04d10762dae197","bf73c576885408d4a176f44a9035d798827cc5020d58284cb18d7573430d9022","7ae078ca42a670445ae0c6a97c029cb83d143d62abd1730efb33f68f0b2c0e82",{"version":"e8b18c6385ff784228a6f369694fcf1a6b475355ba89090a88de13587a9391d5","affectsGlobalScope":true},"5d0a9ea09d990b5788f867f1c79d4878f86f7384cb7dab38eecbf22f9efd063d","12eea70b5e11e924bb0543aea5eadc16ced318aa26001b453b0d561c2fd0bd1e","08777cd9318d294646b121838574e1dd7acbb22c21a03df84e1f2c87b1ad47f2","08a90bcdc717df3d50a2ce178d966a8c353fd23e5c392fd3594a6e39d9bb6304",{"version":"8207e7e6db9aa5fc7e61c8f17ba74cf9c115d26f51f91ee93f790815a7ea9dfb","affectsGlobalScope":true},"2a12d2da5ac4c4979401a3f6eaafa874747a37c365e4bc18aa2b171ae134d21b","002b837927b53f3714308ecd96f72ee8a053b8aeb28213d8ec6de23ed1608b66","1dc9c847473bb47279e398b22c740c83ea37a5c88bf66629666e3cf4c5b9f99c","a9e4a5a24bf2c44de4c98274975a1a705a0abbaad04df3557c2d3cd8b1727949","00fa7ce8bc8acc560dc341bbfdf37840a8c59e6a67c9bfa3fa5f36254df35db2","1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff",{"version":"806ef4cac3b3d9fa4a48d849c8e084d7c72fcd7b16d76e06049a9ed742ff79c0","affectsGlobalScope":true},"cfe724f7c694aab65a9bdd1acb05997848c504548c9d4c71645c187a091cfa2a","5f0ed51db151c2cdc4fa3bb0f44ce6066912ad001b607a34e65a96c52eb76248",{"version":"3345c276cab0e76dda86c0fb79104ff915a4580ba0f3e440870e183b1baec476","affectsGlobalScope":true},"664d8f2d59164f2e08c543981453893bc7e003e4dfd29651ce09db13e9457980","e383ff72aabf294913f8c346f5da1445ae6ad525836d28efd52cbadc01a361a6","f52fbf64c7e480271a9096763c4882d356b05cab05bf56a64e68a95313cd2ce2","59bdb65f28d7ce52ccfc906e9aaf422f8b8534b2d21c32a27d7819be5ad81df7","1835259a20b9fa6b1882931375b69ae5978195f2b139b4e0db51ec8319261649","28a2e7383fd898c386ffdcacedf0ec0845e5d1a86b5a43f25b86bc315f556b79","3aff9c8c36192e46a84afe7b926136d520487155154ab9ba982a8b544ea8fc95","a880cf8d85af2e4189c709b0fea613741649c0e40fffb4360ec70762563d5de0","85bbf436a15bbeda4db888be3062d47f99c66fd05d7c50f0f6473a9151b6a070","9f9c49c95ecd25e0cb2587751925976cf64fd184714cb11e213749c80cf0f927","f0c75c08a71f9212c93a719a25fb0320d53f2e50ca89a812640e08f8ad8c408c",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"0b3eba6dca8c6e534d16ef7b7d76cb546cd3cbab616c8f71daa0a151b5412b9e"],"options":{"allowSyntheticDefaultImports":true,"declaration":true,"esModuleInterop":false,"experimentalDecorators":true,"importHelpers":true,"inlineSources":true,"module":99,"noEmitOnError":true,"outDir":"./dist","rootDir":"./src","sourceMap":true,"strict":true,"target":5},"fileIdsList":[[53,135],[135],[64,135],[74,135],[64,74,135],[64,74,82,135],[62,63,135],[71,72,135],[68,70,135],[41,43,44,45,46,47,48,49,50,51,52,53,135],[41,42,44,45,46,47,48,49,50,51,52,53,135],[42,43,44,45,46,47,48,49,50,51,52,53,135],[41,42,43,45,46,47,48,49,50,51,52,53,135],[41,42,43,44,46,47,48,49,50,51,52,53,135],[41,42,43,44,45,47,48,49,50,51,52,53,135],[41,42,43,44,45,46,48,49,50,51,52,53,135],[41,42,43,44,45,46,47,49,50,51,52,53,135],[41,42,43,44,45,46,47,48,50,51,52,53,135],[41,42,43,44,45,46,47,48,49,51,52,53,135],[41,42,43,44,45,46,47,48,49,50,52,53,135],[41,42,43,44,45,46,47,48,49,50,51,53,135],[41,42,43,44,45,46,47,48,49,50,51,52,135],[92,135],[95,135],[96,101,135],[97,107,108,115,124,134,135],[97,98,107,115,135],[99,135],[100,101,108,116,135],[101,124,131,135],[102,104,107,115,135],[103,135],[104,105,135],[106,107,135],[107,135],[107,108,109,124,134,135],[107,108,109,124,135],[110,115,124,134,135],[107,108,110,111,115,124,131,134,135],[110,112,124,131,134,135],[92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141],[107,113,135],[114,134,135],[104,107,115,124,135],[116,135],[117,135],[95,118,135],[119,133,135,139],[120,135],[121,135],[107,122,135],[122,123,135,137],[107,124,125,126,135],[124,126,135],[124,125,135],[127,135],[128,135],[107,129,130,135],[129,130,135],[101,115,124,131,135],[132,135],[115,133,135],[96,110,121,134,135],[101,135],[124,135,136],[135,137],[135,138],[96,101,107,109,118,124,134,135,137,139],[124,135,140],[65,135],[64,68,135],[68,135],[66,67,135],[75,76,77,78,79,80,81,82,83,135],[64,68,69,135],[40,54,135],[40,54,56,135],[40,85,135],[40,54,70,73,84,135],[40,54,58,135],[40,58,59,60,135],[40,54,59,135],[40,135],[40,89,90,135],[135,143,144],[135,145,146,147,148,149,150,151,152,153],[69,135,143,144],[54],[85],[54,68,70,73],[54,59]],"referencedMap":[[54,1],[62,2],[74,3],[75,4],[78,5],[76,5],[80,5],[83,6],[82,2],[81,5],[79,5],[77,4],[63,2],[64,7],[73,8],[72,9],[71,2],[42,10],[43,11],[41,12],[44,13],[45,14],[46,15],[47,16],[48,17],[49,18],[50,19],[51,20],[52,21],[53,22],[92,23],[93,23],[95,24],[96,25],[97,26],[98,27],[99,28],[100,29],[101,30],[102,31],[103,32],[104,33],[105,33],[106,34],[107,35],[108,36],[109,37],[94,2],[141,2],[110,38],[111,39],[112,40],[142,41],[113,42],[114,43],[115,44],[116,45],[117,46],[118,47],[119,48],[120,49],[121,50],[122,51],[123,52],[124,53],[126,54],[125,55],[127,56],[128,57],[129,58],[130,59],[131,60],[132,61],[133,62],[134,63],[135,64],[136,65],[137,66],[138,67],[139,68],[140,69],[66,70],[65,2],[69,71],[67,72],[68,73],[84,74],[70,75],[40,2],[8,2],[10,2],[9,2],[2,2],[11,2],[12,2],[13,2],[14,2],[15,2],[16,2],[17,2],[18,2],[3,2],[4,2],[22,2],[19,2],[20,2],[21,2],[23,2],[24,2],[25,2],[5,2],[26,2],[27,2],[28,2],[29,2],[6,2],[30,2],[31,2],[32,2],[33,2],[7,2],[38,2],[34,2],[35,2],[36,2],[37,2],[1,2],[39,2],[55,76],[57,77],[86,78],[85,79],[59,80],[61,81],[58,82],[56,83],[60,76],[87,83],[88,83],[91,84],[89,83],[90,83]],"exportedModulesMap":[[54,1],[62,2],[74,3],[75,4],[78,5],[76,5],[80,5],[83,6],[82,2],[81,5],[79,5],[77,4],[63,2],[64,7],[73,8],[72,9],[71,2],[42,10],[43,11],[41,12],[44,13],[45,14],[46,15],[47,16],[48,17],[49,18],[50,19],[51,20],[52,21],[53,22],[92,23],[93,23],[95,24],[96,25],[97,26],[98,27],[99,28],[100,29],[101,30],[102,31],[103,32],[104,33],[105,33],[106,34],[107,35],[108,36],[109,37],[94,2],[141,2],[110,38],[111,39],[112,40],[142,41],[113,42],[114,43],[115,44],[116,45],[117,46],[118,47],[119,48],[120,49],[121,50],[122,51],[123,52],[124,53],[126,54],[125,55],[127,56],[128,57],[129,58],[130,59],[131,60],[132,61],[133,62],[134,63],[135,64],[136,65],[137,66],[138,67],[139,68],[140,69],[66,70],[65,2],[69,85],[67,72],[68,73],[84,86],[70,87],[40,2],[8,2],[10,2],[9,2],[2,2],[11,2],[12,2],[13,2],[14,2],[15,2],[16,2],[17,2],[18,2],[3,2],[4,2],[22,2],[19,2],[20,2],[21,2],[23,2],[24,2],[25,2],[5,2],[26,2],[27,2],[28,2],[29,2],[6,2],[30,2],[31,2],[32,2],[33,2],[7,2],[38,2],[34,2],[35,2],[36,2],[37,2],[1,2],[39,2],[55,88],[57,88],[86,89],[85,90],[59,88],[61,81],[58,91],[56,83],[60,88],[87,83],[88,83],[91,84],[89,83],[90,83]],"semanticDiagnosticsPerFile":[54,62,74,75,78,76,80,83,82,81,79,77,63,64,73,72,71,42,43,41,44,45,46,47,48,49,50,51,52,53,92,93,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,94,141,110,111,112,142,113,114,115,116,117,118,119,120,121,122,123,124,126,125,127,128,129,130,131,132,133,134,135,136,137,138,139,140,66,65,69,67,68,84,70,40,8,10,9,2,11,12,13,14,15,16,17,18,3,4,22,19,20,21,23,24,25,5,26,27,28,29,6,30,31,32,33,7,38,34,35,36,37,1,39,55,57,86,85,59,61,58,56,60,87,88,91,89,90]},"version":"4.5.5"}