aptechka 0.12.0 → 0.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (430) hide show
  1. package/{client-lib/Animation-uimN7sdT.js → lib/Animation-DF5jPON_.js} +23 -28
  2. package/lib/Animation-seVC6-fS.cjs +1 -0
  3. package/lib/Composed-ChlKoJEp.cjs +1 -0
  4. package/lib/Composed-CoX1ImVk.js +31 -0
  5. package/lib/Damped-BDO-F13V.js +53 -0
  6. package/lib/Damped-C7WAqKPh.cjs +1 -0
  7. package/lib/Derived-B-2UXnVE.cjs +1 -0
  8. package/lib/Derived-CDGpSMKu.js +56 -0
  9. package/{client-lib/SourceManager--L_rA28b.js → lib/SourceManager-B8-EMNnd.js} +26 -30
  10. package/lib/SourceManager-TzU9Rw08.cjs +1 -0
  11. package/lib/Store-BnA-dJsE.cjs +1 -0
  12. package/{client-lib/Store-Qr3SNOSf.js → lib/Store-DGtldlBH.js} +29 -34
  13. package/lib/Tweened-CHhmfvzo.js +44 -0
  14. package/lib/Tweened-DSXD0I0k.cjs +1 -0
  15. package/lib/Viewport-BmLTk_6k.cjs +1 -0
  16. package/lib/Viewport-DTlImj28.js +123 -0
  17. package/lib/accordion/index.cjs +1 -0
  18. package/lib/accordion/index.js +167 -0
  19. package/{client-lib → lib}/animation/index.cjs +1 -1
  20. package/lib/animation/index.js +8 -0
  21. package/lib/attribute/index.cjs +1 -0
  22. package/{client-lib → lib}/attribute/index.js +15 -20
  23. package/lib/canvas/index.cjs +1 -0
  24. package/lib/canvas/index.js +111 -0
  25. package/lib/checkbox/index.cjs +1 -0
  26. package/{client-lib → lib}/checkbox/index.js +20 -25
  27. package/lib/class-linked-status/index.cjs +1 -0
  28. package/lib/class-linked-status/index.js +45 -0
  29. package/lib/connector/index.cjs +1 -0
  30. package/{client-lib → lib}/connector/index.js +14 -18
  31. package/lib/controls/index.cjs +1 -0
  32. package/lib/controls/index.js +207 -0
  33. package/{client-lib/createStylesheet-BqjaCUhm.cjs → lib/createStylesheet-CaDI99iu.cjs} +1 -1
  34. package/{client-lib/createStylesheet-DNG2b5X4.js → lib/createStylesheet-DO5t5q-m.js} +1 -1
  35. package/lib/css-property/index.cjs +1 -0
  36. package/lib/css-property/index.js +58 -0
  37. package/lib/css-unit-parser/index.cjs +8 -0
  38. package/lib/css-unit-parser/index.js +31 -0
  39. package/{client-lib → lib}/dev/index.cjs +1 -1
  40. package/{client-lib → lib}/dev/index.js +1 -1
  41. package/{client-lib → lib}/device/index.cjs +1 -1
  42. package/{client-lib → lib}/device/index.js +1 -1
  43. package/{client-lib → lib}/element-constructor/index.cjs +1 -1
  44. package/{client-lib → lib}/element-constructor/index.js +2 -2
  45. package/lib/element-resizer/index.cjs +1 -0
  46. package/{client-lib → lib}/element-resizer/index.js +12 -16
  47. package/lib/en3/helpers/index.cjs +1 -0
  48. package/{client-lib → lib}/en3/helpers/index.js +612 -646
  49. package/{client-lib → lib}/en3/index.cjs +1 -1
  50. package/lib/en3/index.js +6 -0
  51. package/{client-lib → lib}/en3/libs/index.js +1 -2
  52. package/lib/en3/loaders/index.cjs +1 -0
  53. package/{client-lib → lib}/en3/loaders/index.js +152 -167
  54. package/lib/en3/misc/index.cjs +10 -0
  55. package/{client-lib → lib}/en3/misc/index.js +18 -23
  56. package/{client-lib → lib}/en3/utils/index.cjs +1 -1
  57. package/{client-lib → lib}/en3/utils/index.js +2 -2
  58. package/lib/en3-C1fLmsjs.cjs +8 -0
  59. package/{client-lib/en3-THFHEReu.js → lib/en3-x-Ki30MY.js} +59 -64
  60. package/{client-lib → lib}/image/index.cjs +1 -1
  61. package/{client-lib → lib}/image/index.js +1 -1
  62. package/{client-lib/index-BuvwT3dS.js → lib/index-BhbT9PrL.js} +35 -40
  63. package/lib/index-BpsQqM-8.cjs +9 -0
  64. package/lib/intersector/index.cjs +1 -0
  65. package/{client-lib → lib}/intersector/index.js +12 -16
  66. package/lib/ladder/index.cjs +1 -0
  67. package/{client-lib → lib}/ladder/index.js +20 -25
  68. package/lib/layout-box/index.cjs +1 -0
  69. package/lib/layout-box/index.js +318 -0
  70. package/lib/loading/index.cjs +1 -0
  71. package/{client-lib → lib}/loading/index.js +17 -21
  72. package/lib/media/index.cjs +1 -0
  73. package/lib/media/index.js +26 -0
  74. package/lib/modal/index.cjs +1 -0
  75. package/{client-lib → lib}/modal/index.js +22 -26
  76. package/lib/morph/index.cjs +1 -0
  77. package/lib/morph/index.js +225 -0
  78. package/lib/notifier/index.cjs +1 -0
  79. package/lib/notifier/index.js +36 -0
  80. package/lib/pointer/index.cjs +1 -0
  81. package/{client-lib → lib}/pointer/index.js +37 -41
  82. package/lib/popover/index.cjs +1 -0
  83. package/{client-lib → lib}/popover/index.js +71 -79
  84. package/lib/router/index.cjs +1 -0
  85. package/{client-lib → lib}/router/index.js +54 -60
  86. package/lib/scroll/index.cjs +1 -0
  87. package/lib/scroll/index.js +1131 -0
  88. package/lib/scroll-entries/index.cjs +1 -0
  89. package/{client-lib → lib}/scroll-entries/index.js +11 -15
  90. package/{client-lib → lib}/select/index.cjs +1 -1
  91. package/{client-lib → lib}/select/index.js +1 -1
  92. package/lib/sequence/index.cjs +1 -0
  93. package/{client-lib → lib}/sequence/index.js +26 -30
  94. package/lib/slicer/index.cjs +11 -0
  95. package/{client-lib → lib}/slicer/index.js +27 -31
  96. package/lib/source/index.cjs +5 -0
  97. package/{client-lib → lib}/source/index.js +19 -24
  98. package/lib/store/index.cjs +1 -0
  99. package/{client-lib → lib}/store/index.js +29 -33
  100. package/{client-lib → lib}/svg-path-data/index.js +3 -6
  101. package/lib/tags-4AoxVUe3.js +833 -0
  102. package/lib/tags-v-OSVkiQ.cjs +1 -0
  103. package/{client-lib → lib}/theme/index.cjs +1 -1
  104. package/{client-lib → lib}/theme/index.js +2 -2
  105. package/lib/ticker/index.cjs +1 -0
  106. package/lib/ticker/index.js +119 -0
  107. package/{client-lib/traverseMaterials-BtBXV88O.cjs → lib/traverseMaterials-CD_3_56D.cjs} +1 -1
  108. package/{client-lib/traverseMaterials-BKSwwNmo.js → lib/traverseMaterials-mGC2_FkG.js} +1 -1
  109. package/lib/tweaker/index.cjs +10 -0
  110. package/{client-lib → lib}/tweaker/index.js +271 -279
  111. package/{client-lib → lib}/utils/index.js +1 -2
  112. package/lib/video/index.cjs +1 -0
  113. package/{client-lib → lib}/video/index.js +13 -17
  114. package/lib/window-resizer/index.cjs +1 -0
  115. package/lib/window-resizer/index.js +42 -0
  116. package/package.json +351 -378
  117. package/client-lib/Animation-BInSRYNr.cjs +0 -1
  118. package/client-lib/Composed-Fa7owymK.js +0 -35
  119. package/client-lib/Composed-Iihn8fT4.cjs +0 -1
  120. package/client-lib/Damped-Da3EnNN4.cjs +0 -1
  121. package/client-lib/Damped-yrNXlkDE.js +0 -57
  122. package/client-lib/Derived-CNbsNMn_.cjs +0 -1
  123. package/client-lib/Derived-rInkx3e4.js +0 -60
  124. package/client-lib/SourceManager-D6D2LVKf.cjs +0 -1
  125. package/client-lib/Store-Cr3VaD9G.cjs +0 -1
  126. package/client-lib/Tweened-CjgvoOwL.js +0 -48
  127. package/client-lib/Tweened-DksN-Rz6.cjs +0 -1
  128. package/client-lib/Viewport-BBYt1Ivy.cjs +0 -1
  129. package/client-lib/Viewport-Cgtq2I_K.js +0 -127
  130. package/client-lib/accordion/AccordionElement.d.ts +0 -30
  131. package/client-lib/accordion/index.cjs +0 -1
  132. package/client-lib/accordion/index.d.ts +0 -1
  133. package/client-lib/accordion/index.js +0 -176
  134. package/client-lib/animation/Animation.d.ts +0 -35
  135. package/client-lib/animation/Damped.d.ts +0 -19
  136. package/client-lib/animation/Tweened.d.ts +0 -15
  137. package/client-lib/animation/index.d.ts +0 -3
  138. package/client-lib/animation/index.js +0 -8
  139. package/client-lib/attribute/index.cjs +0 -1
  140. package/client-lib/attribute/index.d.ts +0 -15
  141. package/client-lib/canvas/index.cjs +0 -1
  142. package/client-lib/canvas/index.d.ts +0 -35
  143. package/client-lib/canvas/index.js +0 -119
  144. package/client-lib/checkbox/index.cjs +0 -1
  145. package/client-lib/checkbox/index.d.ts +0 -14
  146. package/client-lib/class-linked-status/index.cjs +0 -1
  147. package/client-lib/class-linked-status/index.d.ts +0 -12
  148. package/client-lib/class-linked-status/index.js +0 -49
  149. package/client-lib/connector/index.cjs +0 -1
  150. package/client-lib/connector/index.d.ts +0 -15
  151. package/client-lib/controls/AutoplayControls.d.ts +0 -17
  152. package/client-lib/controls/Controls.d.ts +0 -9
  153. package/client-lib/controls/DragControls.d.ts +0 -16
  154. package/client-lib/controls/KeyboardControls.d.ts +0 -14
  155. package/client-lib/controls/WheelControls.d.ts +0 -19
  156. package/client-lib/controls/index.cjs +0 -1
  157. package/client-lib/controls/index.d.ts +0 -5
  158. package/client-lib/controls/index.js +0 -213
  159. package/client-lib/counter/index.d.ts +0 -6
  160. package/client-lib/css-property/index.cjs +0 -1
  161. package/client-lib/css-property/index.d.ts +0 -17
  162. package/client-lib/css-property/index.js +0 -62
  163. package/client-lib/css-unit-parser/index.cjs +0 -8
  164. package/client-lib/css-unit-parser/index.d.ts +0 -6
  165. package/client-lib/css-unit-parser/index.js +0 -36
  166. package/client-lib/css-value-parser/index.d.ts +0 -6
  167. package/client-lib/dev/index.d.ts +0 -1
  168. package/client-lib/device/Device.d.ts +0 -19
  169. package/client-lib/device/Viewport.d.ts +0 -29
  170. package/client-lib/device/index.d.ts +0 -2
  171. package/client-lib/element-constructor/ElementConstructor.d.ts +0 -75
  172. package/client-lib/element-constructor/createStylesheet.d.ts +0 -3
  173. package/client-lib/element-constructor/createTheme.d.ts +0 -13
  174. package/client-lib/element-constructor/index.d.ts +0 -4
  175. package/client-lib/element-constructor/knownSvgTags.d.ts +0 -1
  176. package/client-lib/element-constructor/tags.d.ts +0 -119
  177. package/client-lib/element-resizer/index.cjs +0 -1
  178. package/client-lib/element-resizer/index.d.ts +0 -10
  179. package/client-lib/en3/core/En3Raycaster.d.ts +0 -21
  180. package/client-lib/en3/core/En3View.d.ts +0 -40
  181. package/client-lib/en3/core/en3.d.ts +0 -39
  182. package/client-lib/en3/core/en3Cache.d.ts +0 -4
  183. package/client-lib/en3/helpers/En3ComposerManager.d.ts +0 -5
  184. package/client-lib/en3/helpers/En3GridHelper.d.ts +0 -8
  185. package/client-lib/en3/helpers/En3Helpers.d.ts +0 -5
  186. package/client-lib/en3/helpers/En3Object3dManager.d.ts +0 -14
  187. package/client-lib/en3/helpers/En3OrbitControls.d.ts +0 -8
  188. package/client-lib/en3/helpers/En3ParametersManager.d.ts +0 -16
  189. package/client-lib/en3/helpers/En3TransformControls.d.ts +0 -8
  190. package/client-lib/en3/helpers/index.cjs +0 -1
  191. package/client-lib/en3/helpers/index.d.ts +0 -2
  192. package/client-lib/en3/index.d.ts +0 -3
  193. package/client-lib/en3/index.js +0 -6
  194. package/client-lib/en3/libs/MeshoptDecoder.d.ts +0 -1
  195. package/client-lib/en3/libs/index.d.ts +0 -1
  196. package/client-lib/en3/loaders/En3GLTFLoader.d.ts +0 -12
  197. package/client-lib/en3/loaders/En3TextureLoader.d.ts +0 -8
  198. package/client-lib/en3/loaders/index.cjs +0 -1
  199. package/client-lib/en3/loaders/index.d.ts +0 -3
  200. package/client-lib/en3/loaders/loaders.d.ts +0 -13
  201. package/client-lib/en3/misc/En3ModifiedMaterial.d.ts +0 -33
  202. package/client-lib/en3/misc/En3SourceManager.d.ts +0 -32
  203. package/client-lib/en3/misc/index.cjs +0 -10
  204. package/client-lib/en3/misc/index.d.ts +0 -2
  205. package/client-lib/en3/objects/En3Clip.d.ts +0 -15
  206. package/client-lib/en3/objects/En3ClipHelpers.d.ts +0 -6
  207. package/client-lib/en3/objects/En3GLTF.d.ts +0 -11
  208. package/client-lib/en3/objects/En3Image.d.ts +0 -8
  209. package/client-lib/en3/objects/En3ImageLike.d.ts +0 -25
  210. package/client-lib/en3/objects/En3SourceConsumer.d.ts +0 -5
  211. package/client-lib/en3/objects/En3Video.d.ts +0 -13
  212. package/client-lib/en3/objects/fluid/Advection.d.ts +0 -30
  213. package/client-lib/en3/objects/fluid/Divergence.d.ts +0 -23
  214. package/client-lib/en3/objects/fluid/En3Fluid.d.ts +0 -16
  215. package/client-lib/en3/objects/fluid/En3FluidElement.d.ts +0 -13
  216. package/client-lib/en3/objects/fluid/En3FluidPointer.d.ts +0 -13
  217. package/client-lib/en3/objects/fluid/ExternalForce.d.ts +0 -19
  218. package/client-lib/en3/objects/fluid/Poisson.d.ts +0 -24
  219. package/client-lib/en3/objects/fluid/Pressure.d.ts +0 -26
  220. package/client-lib/en3/objects/fluid/ShaderPass.d.ts +0 -24
  221. package/client-lib/en3/objects/fluid/Simulation.d.ts +0 -33
  222. package/client-lib/en3/objects/fluid/Viscous.d.ts +0 -30
  223. package/client-lib/en3/objects/fluid/index.d.ts +0 -3
  224. package/client-lib/en3/objects/index.d.ts +0 -7
  225. package/client-lib/en3/utils/coverTexture.d.ts +0 -7
  226. package/client-lib/en3/utils/dispose.d.ts +0 -3
  227. package/client-lib/en3/utils/getCurrentViewport.d.ts +0 -9
  228. package/client-lib/en3/utils/index.d.ts +0 -5
  229. package/client-lib/en3/utils/traverseMaterials.d.ts +0 -3
  230. package/client-lib/en3/utils/traverseMeshes.d.ts +0 -3
  231. package/client-lib/en3-CBBYE8rb.cjs +0 -8
  232. package/client-lib/image/index.d.ts +0 -11
  233. package/client-lib/index-Ctct2GyP.cjs +0 -9
  234. package/client-lib/intersector/index.cjs +0 -1
  235. package/client-lib/intersector/index.d.ts +0 -10
  236. package/client-lib/ladder/index.cjs +0 -1
  237. package/client-lib/ladder/index.d.ts +0 -24
  238. package/client-lib/layout-box/index.cjs +0 -1
  239. package/client-lib/layout-box/index.d.ts +0 -96
  240. package/client-lib/layout-box/index.js +0 -326
  241. package/client-lib/libs/path-data-polyfill.d.ts +0 -1
  242. package/client-lib/loading/index.cjs +0 -1
  243. package/client-lib/loading/index.d.ts +0 -39
  244. package/client-lib/media/index.cjs +0 -1
  245. package/client-lib/media/index.d.ts +0 -12
  246. package/client-lib/media/index.js +0 -30
  247. package/client-lib/modal/ModalElement.d.ts +0 -13
  248. package/client-lib/modal/index.cjs +0 -1
  249. package/client-lib/modal/index.d.ts +0 -1
  250. package/client-lib/morph/Link.d.ts +0 -7
  251. package/client-lib/morph/Morph.d.ts +0 -37
  252. package/client-lib/morph/index.cjs +0 -1
  253. package/client-lib/morph/index.d.ts +0 -1
  254. package/client-lib/morph/index.js +0 -235
  255. package/client-lib/notifier/index.cjs +0 -1
  256. package/client-lib/notifier/index.d.ts +0 -8
  257. package/client-lib/notifier/index.js +0 -40
  258. package/client-lib/order/index.d.ts +0 -22
  259. package/client-lib/pointer/Pointer.d.ts +0 -23
  260. package/client-lib/pointer/PointerElement.d.ts +0 -14
  261. package/client-lib/pointer/index.cjs +0 -1
  262. package/client-lib/pointer/index.d.ts +0 -2
  263. package/client-lib/popover/PopoverButtonElement.d.ts +0 -15
  264. package/client-lib/popover/PopoverElement.d.ts +0 -26
  265. package/client-lib/popover/index.cjs +0 -1
  266. package/client-lib/popover/index.d.ts +0 -2
  267. package/client-lib/router/Link.d.ts +0 -7
  268. package/client-lib/router/Route.d.ts +0 -21
  269. package/client-lib/router/Router.d.ts +0 -41
  270. package/client-lib/router/index.cjs +0 -1
  271. package/client-lib/router/index.d.ts +0 -2
  272. package/client-lib/scroll/ScrollBulletButtonsElement.d.ts +0 -12
  273. package/client-lib/scroll/ScrollButtonElement.d.ts +0 -6
  274. package/client-lib/scroll/ScrollElement.d.ts +0 -82
  275. package/client-lib/scroll/ScrollSection.d.ts +0 -23
  276. package/client-lib/scroll/ScrollSegmentElement.d.ts +0 -63
  277. package/client-lib/scroll/ScrollSetButtonElement.d.ts +0 -10
  278. package/client-lib/scroll/ScrollStepButtonElement.d.ts +0 -10
  279. package/client-lib/scroll/ScrollUserElement.d.ts +0 -7
  280. package/client-lib/scroll/ScrollbarElement.d.ts +0 -14
  281. package/client-lib/scroll/index.cjs +0 -1
  282. package/client-lib/scroll/index.d.ts +0 -6
  283. package/client-lib/scroll/index.js +0 -1154
  284. package/client-lib/scroll-entries/index.cjs +0 -1
  285. package/client-lib/scroll-entries/index.d.ts +0 -21
  286. package/client-lib/select/SelectElement.d.ts +0 -24
  287. package/client-lib/select/SelectHeadElement.d.ts +0 -13
  288. package/client-lib/select/SelectOptionElement.d.ts +0 -14
  289. package/client-lib/select/SelectUserElement.d.ts +0 -7
  290. package/client-lib/select/index.d.ts +0 -4
  291. package/client-lib/sequence/index.cjs +0 -1
  292. package/client-lib/sequence/index.d.ts +0 -21
  293. package/client-lib/slicer/DecoderElement.d.ts +0 -11
  294. package/client-lib/slicer/Letter.d.ts +0 -11
  295. package/client-lib/slicer/SlicerElement.d.ts +0 -21
  296. package/client-lib/slicer/Word.d.ts +0 -17
  297. package/client-lib/slicer/index.cjs +0 -11
  298. package/client-lib/slicer/index.d.ts +0 -4
  299. package/client-lib/source/SourceClass.d.ts +0 -11
  300. package/client-lib/source/SourceElement.d.ts +0 -25
  301. package/client-lib/source/SourceManager.d.ts +0 -14
  302. package/client-lib/source/SourceSet.d.ts +0 -9
  303. package/client-lib/source/index.cjs +0 -5
  304. package/client-lib/source/index.d.ts +0 -4
  305. package/client-lib/store/Cached.d.ts +0 -18
  306. package/client-lib/store/Composed.d.ts +0 -8
  307. package/client-lib/store/Derived.d.ts +0 -13
  308. package/client-lib/store/DerivedArray.d.ts +0 -13
  309. package/client-lib/store/Resource.d.ts +0 -12
  310. package/client-lib/store/Store.d.ts +0 -76
  311. package/client-lib/store/StoreRegistry.d.ts +0 -23
  312. package/client-lib/store/index.cjs +0 -1
  313. package/client-lib/store/index.d.ts +0 -7
  314. package/client-lib/svg-path-data/index.d.ts +0 -15
  315. package/client-lib/tags-B0do5eeb.cjs +0 -1
  316. package/client-lib/tags-wG5k157g.js +0 -860
  317. package/client-lib/test/starting-style/index.d.ts +0 -1
  318. package/client-lib/theme/index.d.ts +0 -35
  319. package/client-lib/ticker/index.cjs +0 -1
  320. package/client-lib/ticker/index.d.ts +0 -22
  321. package/client-lib/ticker/index.js +0 -125
  322. package/client-lib/tweaker/TweakerBooleanManagerElement.d.ts +0 -11
  323. package/client-lib/tweaker/TweakerColorManagerElement.d.ts +0 -11
  324. package/client-lib/tweaker/TweakerElement.d.ts +0 -18
  325. package/client-lib/tweaker/TweakerFieldElement.d.ts +0 -21
  326. package/client-lib/tweaker/TweakerFolderElement.d.ts +0 -24
  327. package/client-lib/tweaker/TweakerLinkManagerElement.d.ts +0 -11
  328. package/client-lib/tweaker/TweakerNumberManagerElement.d.ts +0 -14
  329. package/client-lib/tweaker/TweakerSelectManagerElement.d.ts +0 -11
  330. package/client-lib/tweaker/TweakerStoreManagerElement.d.ts +0 -10
  331. package/client-lib/tweaker/TweakerStringManagerElement.d.ts +0 -11
  332. package/client-lib/tweaker/index.cjs +0 -10
  333. package/client-lib/tweaker/index.d.ts +0 -1
  334. package/client-lib/tweaker/tweakerManagerConstructors.d.ts +0 -6
  335. package/client-lib/tweaker/tweakerStorage.d.ts +0 -23
  336. package/client-lib/utils/array.d.ts +0 -2
  337. package/client-lib/utils/attributes.d.ts +0 -2
  338. package/client-lib/utils/browser.d.ts +0 -1
  339. package/client-lib/utils/bytes.d.ts +0 -1
  340. package/client-lib/utils/canvas.d.ts +0 -7
  341. package/client-lib/utils/collisions.d.ts +0 -4
  342. package/client-lib/utils/coordinates.d.ts +0 -14
  343. package/client-lib/utils/cssom.d.ts +0 -5
  344. package/client-lib/utils/decoding.d.ts +0 -2
  345. package/client-lib/utils/dom.d.ts +0 -5
  346. package/client-lib/utils/easings.d.ts +0 -17
  347. package/client-lib/utils/events.d.ts +0 -8
  348. package/client-lib/utils/file.d.ts +0 -1
  349. package/client-lib/utils/function.d.ts +0 -2
  350. package/client-lib/utils/gestures.d.ts +0 -1
  351. package/client-lib/utils/index.d.ts +0 -26
  352. package/client-lib/utils/layout.d.ts +0 -3
  353. package/client-lib/utils/math.d.ts +0 -12
  354. package/client-lib/utils/number.d.ts +0 -3
  355. package/client-lib/utils/object.d.ts +0 -9
  356. package/client-lib/utils/polyfills.d.ts +0 -1
  357. package/client-lib/utils/promises.d.ts +0 -1
  358. package/client-lib/utils/string.d.ts +0 -8
  359. package/client-lib/utils/style.d.ts +0 -2
  360. package/client-lib/utils/ts-shape.d.ts +0 -20
  361. package/client-lib/utils/ts-utility.d.ts +0 -26
  362. package/client-lib/utils/url.d.ts +0 -9
  363. package/client-lib/video/index.cjs +0 -1
  364. package/client-lib/video/index.d.ts +0 -22
  365. package/client-lib/window-resizer/index.cjs +0 -1
  366. package/client-lib/window-resizer/index.d.ts +0 -10
  367. package/client-lib/window-resizer/index.js +0 -46
  368. package/server-lib/optimizer/FFmpeg.d.ts +0 -10
  369. package/server-lib/optimizer/generateFavicon.d.ts +0 -4
  370. package/server-lib/optimizer/generateSequence.d.ts +0 -3
  371. package/server-lib/optimizer/generateSprite.d.ts +0 -4
  372. package/server-lib/optimizer/index.d.ts +0 -10
  373. package/server-lib/optimizer/index.js +0 -404
  374. package/server-lib/optimizer/inputFiles.d.ts +0 -26
  375. package/server-lib/optimizer/optimize.d.ts +0 -13
  376. package/server-lib/optimizer/optimizeImage.d.ts +0 -4
  377. package/server-lib/optimizer/optimizeVideo.d.ts +0 -3
  378. package/server-lib/optimizer/optimizer.d.ts +0 -5
  379. package/server-lib/optimizer/types.d.ts +0 -51
  380. package/server-lib/optimizer/utils.d.ts +0 -1
  381. package/server-lib/utils/buffer.d.ts +0 -1
  382. package/server-lib/utils/fs.d.ts +0 -11
  383. package/server-lib/utils/index.d.ts +0 -5
  384. package/server-lib/utils/index.js +0 -65
  385. package/server-lib/utils/math.d.ts +0 -1
  386. package/server-lib/utils/path.d.ts +0 -3
  387. package/server-lib/utils/types.d.ts +0 -8
  388. /package/{client-lib → lib}/attributes-69we3byR.js +0 -0
  389. /package/{client-lib → lib}/attributes-Bf2svn4j.cjs +0 -0
  390. /package/{client-lib → lib}/browser-0zX67oeU.js +0 -0
  391. /package/{client-lib → lib}/browser-CpzFX2xg.cjs +0 -0
  392. /package/{client-lib → lib}/canvas-CU5Xjahf.cjs +0 -0
  393. /package/{client-lib → lib}/canvas-DeZ0SLUJ.js +0 -0
  394. /package/{client-lib → lib}/coordinates-CgdGoSYs.js +0 -0
  395. /package/{client-lib → lib}/coordinates-D8Np3cPD.cjs +0 -0
  396. /package/{client-lib → lib}/createTheme-CHnsCgAr.js +0 -0
  397. /package/{client-lib → lib}/createTheme-Cfaw9UmV.cjs +0 -0
  398. /package/{client-lib → lib}/css-value-parser/index.cjs +0 -0
  399. /package/{client-lib → lib}/css-value-parser/index.js +0 -0
  400. /package/{client-lib → lib}/dom-JBOkFLTh.cjs +0 -0
  401. /package/{client-lib → lib}/dom-P5QbAASX.js +0 -0
  402. /package/{client-lib → lib}/easings-BKi40vHz.js +0 -0
  403. /package/{client-lib → lib}/easings-DsS5-Kqc.cjs +0 -0
  404. /package/{client-lib → lib}/en3/libs/index.cjs +0 -0
  405. /package/{client-lib → lib}/events-BGwqaxVW.cjs +0 -0
  406. /package/{client-lib → lib}/events-CJTUMSLU.js +0 -0
  407. /package/{client-lib → lib}/file-EevnUtRj.cjs +0 -0
  408. /package/{client-lib → lib}/file-lxi_oXJf.js +0 -0
  409. /package/{client-lib → lib}/function-C10DGppn.js +0 -0
  410. /package/{client-lib → lib}/function-MthRj-GJ.cjs +0 -0
  411. /package/{client-lib → lib}/gestures-D2Fdra_G.js +0 -0
  412. /package/{client-lib → lib}/gestures-DHLrn6Q8.cjs +0 -0
  413. /package/{client-lib → lib}/layout-8ryRAMGJ.cjs +0 -0
  414. /package/{client-lib → lib}/layout-HoBT_Da2.js +0 -0
  415. /package/{client-lib → lib}/math-BOBiC4TN.js +0 -0
  416. /package/{client-lib → lib}/math-GDWEqu7y.cjs +0 -0
  417. /package/{client-lib → lib}/object-CCiXnER2.cjs +0 -0
  418. /package/{client-lib → lib}/object-D6MVWB4l.js +0 -0
  419. /package/{client-lib → lib}/order/index.cjs +0 -0
  420. /package/{client-lib → lib}/order/index.js +0 -0
  421. /package/{client-lib → lib}/polyfills-CM4SCDTt.cjs +0 -0
  422. /package/{client-lib → lib}/polyfills-X6KXuHg-.js +0 -0
  423. /package/{client-lib → lib}/string-DhgS_iFl.cjs +0 -0
  424. /package/{client-lib → lib}/string-f0Dnk0L1.js +0 -0
  425. /package/{client-lib → lib}/style-At6aDoqG.cjs +0 -0
  426. /package/{client-lib → lib}/style-j2TwriJ_.js +0 -0
  427. /package/{client-lib → lib}/svg-path-data/index.cjs +0 -0
  428. /package/{client-lib → lib}/url-C3dWnJQg.cjs +0 -0
  429. /package/{client-lib → lib}/url-DMNfW7uN.js +0 -0
  430. /package/{client-lib → lib}/utils/index.cjs +0 -0
@@ -1,99 +1,94 @@
1
- var ve = (l, r, e) => {
2
- if (!r.has(l))
3
- throw TypeError("Cannot " + e);
1
+ var ke = (l) => {
2
+ throw TypeError(l);
4
3
  };
5
- var t = (l, r, e) => (ve(l, r, "read from private field"), e ? e.call(l) : r.get(l)), o = (l, r, e) => {
6
- if (r.has(l))
7
- throw TypeError("Cannot add the same private member more than once");
8
- r instanceof WeakSet ? r.add(l) : r.set(l, e);
9
- }, n = (l, r, e, s) => (ve(l, r, "write to private field"), s ? s.call(l, e) : r.set(l, e), e);
10
- var m = (l, r, e) => (ve(l, r, "access private method"), e);
11
- import { i as Je } from "../browser-0zX67oeU.js";
12
- import { s as R, a as $, S as Ce } from "../Store-Qr3SNOSf.js";
13
- import { c as We } from "../file-lxi_oXJf.js";
14
- import { d as Xe } from "../function-C10DGppn.js";
15
- import { s as Te } from "../gestures-D2Fdra_G.js";
4
+ var fe = (l, r, e) => r.has(l) || ke("Cannot " + e);
5
+ var t = (l, r, e) => (fe(l, r, "read from private field"), e ? e.call(l) : r.get(l)), o = (l, r, e) => r.has(l) ? ke("Cannot add the same private member more than once") : r instanceof WeakSet ? r.add(l) : r.set(l, e), n = (l, r, e, s) => (fe(l, r, "write to private field"), s ? s.call(l, e) : r.set(l, e), e), f = (l, r, e) => (fe(l, r, "access private method"), e);
6
+ import { i as je } from "../browser-0zX67oeU.js";
7
+ import { s as T, a as $, S as xe } from "../Store-DGtldlBH.js";
8
+ import { c as Be } from "../file-lxi_oXJf.js";
9
+ import { d as Je } from "../function-C10DGppn.js";
10
+ import { s as ze } from "../gestures-D2Fdra_G.js";
16
11
  import "../ticker/index.js";
17
- import { e as g, a0 as me, a as Ye, D as u, aB as qe, p as W, a3 as Ge } from "../tags-wG5k157g.js";
18
- import { c as E } from "../createStylesheet-DNG2b5X4.js";
19
- import { a as Qe } from "../Viewport-Cgtq2I_K.js";
12
+ import { e as m, a0 as pe, a as We, D as g, aB as Xe, p as J, a3 as Ye } from "../tags-4AoxVUe3.js";
13
+ import { c as C } from "../createStylesheet-DO5t5q-m.js";
14
+ import { a as qe } from "../Viewport-DTlImj28.js";
20
15
  import { aptechkaTheme as h } from "../theme/index.js";
21
- import { a as Ue } from "../index-BuvwT3dS.js";
22
- import { a as _e } from "../events-CJTUMSLU.js";
16
+ import { a as Ge } from "../index-BhbT9PrL.js";
17
+ import { a as Qe } from "../events-CJTUMSLU.js";
23
18
  import "../checkbox/index.js";
24
- import { c as et } from "../math-BOBiC4TN.js";
25
- import { n as ze, t as tt } from "../polyfills-X6KXuHg-.js";
26
- import { elementResizer as Re } from "../element-resizer/index.js";
27
- const Fe = '<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M20.536 3.464C19.07 2 16.714 2 12 2C7.286 2 4.929 2 3.464 3.464C2 4.93 2 7.286 2 12c0 4.714 0 7.071 1.464 8.535C4.93 22 7.286 22 12 22c4.714 0 7.071 0 8.535-1.465C22 19.072 22 16.714 22 12s0-7.071-1.465-8.536M16.75 12a.75.75 0 0 1-.75.75H9.81l1.72 1.72a.75.75 0 1 1-1.06 1.06l-3-3a.75.75 0 0 1 0-1.06l3-3a.75.75 0 1 1 1.06 1.06l-1.72 1.72H16a.75.75 0 0 1 .75.75" clip-rule="evenodd"/></svg>', Me = '<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24"><path d="M15.24 2h-3.894c-1.764 0-3.162 0-4.255.148c-1.126.152-2.037.472-2.755 1.193c-.719.721-1.038 1.636-1.189 2.766C3 7.205 3 8.608 3 10.379v5.838c0 1.508.92 2.8 2.227 3.342c-.067-.91-.067-2.185-.067-3.247v-5.01c0-1.281 0-2.386.118-3.27c.127-.948.413-1.856 1.147-2.593c.734-.737 1.639-1.024 2.583-1.152c.88-.118 1.98-.118 3.257-.118h3.07c1.276 0 2.374 0 3.255.118A3.601 3.601 0 0 0 15.24 2Z"/><path d="M6.6 11.397c0-2.726 0-4.089.844-4.936c.843-.847 2.2-.847 4.916-.847h2.88c2.715 0 4.073 0 4.917.847c.843.847.843 2.21.843 4.936v4.82c0 2.726 0 4.089-.843 4.936c-.844.847-2.202.847-4.917.847h-2.88c-2.715 0-4.073 0-4.916-.847c-.844-.847-.844-2.21-.844-4.936v-4.82Z"/></svg>', st = '<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M2 12c0-4.714 0-7.071 1.464-8.536C4.93 2 7.286 2 12 2c4.714 0 7.071 0 8.535 1.464C22 4.93 22 7.286 22 12c0 4.714 0 7.071-1.465 8.535C19.072 22 16.714 22 12 22s-7.071 0-8.536-1.465C2 19.072 2 16.714 2 12Zm10-5.75a.75.75 0 0 1 .75.75v5.19l1.72-1.72a.75.75 0 1 1 1.06 1.06l-3 3a.75.75 0 0 1-1.06 0l-3-3a.75.75 0 1 1 1.06-1.06l1.72 1.72V7a.75.75 0 0 1 .75-.75Zm-4 10a.75.75 0 0 0 0 1.5h8a.75.75 0 0 0 0-1.5H8Z" clip-rule="evenodd"/></svg>', it = '<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M2 12c0-4.714 0-7.071 1.464-8.536C4.93 2 7.286 2 12 2c4.714 0 7.071 0 8.535 1.464C22 4.93 22 7.286 22 12c0 4.714 0 7.071-1.465 8.535C19.072 22 16.714 22 12 22s-7.071 0-8.536-1.465C2 19.072 2 16.714 2 12Zm10 5.75a.75.75 0 0 0 .75-.75v-5.19l1.72 1.72a.75.75 0 1 0 1.06-1.06l-3-3a.75.75 0 0 0-1.06 0l-3 3a.75.75 0 1 0 1.06 1.06l1.72-1.72V17c0 .414.336.75.75.75Zm-4-10a.75.75 0 0 1 0-1.5h8a.75.75 0 0 1 0 1.5H8Z" clip-rule="evenodd"/></svg>';
28
- var P, w, k;
29
- class rt {
19
+ import { c as Ue } from "../math-BOBiC4TN.js";
20
+ import { n as Ee, t as _e } from "../polyfills-X6KXuHg-.js";
21
+ import { elementResizer as Ce } from "../element-resizer/index.js";
22
+ const Re = '<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M20.536 3.464C19.07 2 16.714 2 12 2C7.286 2 4.929 2 3.464 3.464C2 4.93 2 7.286 2 12c0 4.714 0 7.071 1.464 8.535C4.93 22 7.286 22 12 22c4.714 0 7.071 0 8.535-1.465C22 19.072 22 16.714 22 12s0-7.071-1.465-8.536M16.75 12a.75.75 0 0 1-.75.75H9.81l1.72 1.72a.75.75 0 1 1-1.06 1.06l-3-3a.75.75 0 0 1 0-1.06l3-3a.75.75 0 1 1 1.06 1.06l-1.72 1.72H16a.75.75 0 0 1 .75.75" clip-rule="evenodd"/></svg>', Te = '<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24"><path d="M15.24 2h-3.894c-1.764 0-3.162 0-4.255.148c-1.126.152-2.037.472-2.755 1.193c-.719.721-1.038 1.636-1.189 2.766C3 7.205 3 8.608 3 10.379v5.838c0 1.508.92 2.8 2.227 3.342c-.067-.91-.067-2.185-.067-3.247v-5.01c0-1.281 0-2.386.118-3.27c.127-.948.413-1.856 1.147-2.593c.734-.737 1.639-1.024 2.583-1.152c.88-.118 1.98-.118 3.257-.118h3.07c1.276 0 2.374 0 3.255.118A3.601 3.601 0 0 0 15.24 2Z"/><path d="M6.6 11.397c0-2.726 0-4.089.844-4.936c.843-.847 2.2-.847 4.916-.847h2.88c2.715 0 4.073 0 4.917.847c.843.847.843 2.21.843 4.936v4.82c0 2.726 0 4.089-.843 4.936c-.844.847-2.202.847-4.917.847h-2.88c-2.715 0-4.073 0-4.916-.847c-.844-.847-.844-2.21-.844-4.936v-4.82Z"/></svg>', et = '<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M2 12c0-4.714 0-7.071 1.464-8.536C4.93 2 7.286 2 12 2c4.714 0 7.071 0 8.535 1.464C22 4.93 22 7.286 22 12c0 4.714 0 7.071-1.465 8.535C19.072 22 16.714 22 12 22s-7.071 0-8.536-1.465C2 19.072 2 16.714 2 12Zm10-5.75a.75.75 0 0 1 .75.75v5.19l1.72-1.72a.75.75 0 1 1 1.06 1.06l-3 3a.75.75 0 0 1-1.06 0l-3-3a.75.75 0 1 1 1.06-1.06l1.72 1.72V7a.75.75 0 0 1 .75-.75Zm-4 10a.75.75 0 0 0 0 1.5h8a.75.75 0 0 0 0-1.5H8Z" clip-rule="evenodd"/></svg>', tt = '<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M2 12c0-4.714 0-7.071 1.464-8.536C4.93 2 7.286 2 12 2c4.714 0 7.071 0 8.535 1.464C22 4.93 22 7.286 22 12c0 4.714 0 7.071-1.465 8.535C19.072 22 16.714 22 12 22s-7.071 0-8.536-1.465C2 19.072 2 16.714 2 12Zm10 5.75a.75.75 0 0 0 .75-.75v-5.19l1.72 1.72a.75.75 0 1 0 1.06-1.06l-3-3a.75.75 0 0 0-1.06 0l-3 3a.75.75 0 1 0 1.06 1.06l1.72-1.72V17c0 .414.336.75.75.75Zm-4-10a.75.75 0 0 1 0-1.5h8a.75.75 0 0 1 0 1.5H8Z" clip-rule="evenodd"/></svg>';
23
+ var P, b, x;
24
+ class st {
30
25
  constructor() {
31
- o(this, P, void 0);
32
- o(this, w, void 0);
33
- o(this, k, void 0);
34
- this.scrollValue = 0, n(this, P, ""), n(this, w, []), n(this, k, {}), n(this, P, R.projectName + "-studio");
26
+ o(this, P);
27
+ o(this, b);
28
+ o(this, x);
29
+ this.scrollValue = 0, n(this, P, ""), n(this, b, []), n(this, x, {}), n(this, P, T.projectName + "-studio");
35
30
  }
36
31
  openPanel(r) {
37
- t(this, w).includes(r) || t(this, w).push(r);
32
+ t(this, b).includes(r) || t(this, b).push(r);
38
33
  }
39
34
  closePanel(r) {
40
- n(this, w, t(this, w).filter((e) => e !== r));
35
+ n(this, b, t(this, b).filter((e) => e !== r));
41
36
  }
42
37
  isPanelOpened(r) {
43
- return t(this, w).includes(r);
38
+ return t(this, b).includes(r);
44
39
  }
45
40
  changedSizes(r) {
46
- return t(this, k)[r];
41
+ return t(this, x)[r];
47
42
  }
48
43
  changeSize(r, e) {
49
- e ? t(this, k)[r] = e : delete t(this, k)[r];
44
+ e ? t(this, x)[r] = e : delete t(this, x)[r];
50
45
  }
51
46
  save() {
52
47
  const r = {
53
- openedPanels: t(this, w),
54
- changedSizes: t(this, k),
48
+ openedPanels: t(this, b),
49
+ changedSizes: t(this, x),
55
50
  scrollValue: this.scrollValue
56
51
  };
57
- localStorage.setItem(t(this, P), JSON.stringify(r)), R.saveState();
52
+ localStorage.setItem(t(this, P), JSON.stringify(r)), T.saveState();
58
53
  }
59
54
  load() {
60
- R.loadState();
55
+ T.loadState();
61
56
  const r = localStorage.getItem(t(this, P));
62
57
  if (r)
63
58
  try {
64
59
  const e = JSON.parse(r);
65
- e.openedPanels && n(this, w, e.openedPanels), e.changedSizes && n(this, k, e.changedSizes), e.scrollValue && (this.scrollValue = e.scrollValue);
60
+ e.openedPanels && n(this, b, e.openedPanels), e.changedSizes && n(this, x, e.changedSizes), e.scrollValue && (this.scrollValue = e.scrollValue);
66
61
  } catch (e) {
67
62
  console.error(e);
68
63
  }
69
64
  }
70
65
  }
71
- P = new WeakMap(), w = new WeakMap(), k = new WeakMap();
72
- const f = new rt();
73
- var T;
74
- class B extends HTMLElement {
66
+ P = new WeakMap(), b = new WeakMap(), x = new WeakMap();
67
+ const w = new st();
68
+ var F;
69
+ class j extends HTMLElement {
75
70
  constructor(...e) {
76
71
  super();
77
- o(this, T, void 0);
78
- n(this, T, e);
72
+ o(this, F);
73
+ n(this, F, e);
79
74
  }
80
75
  addStore(e) {
81
- t(this, T).push(e);
76
+ t(this, F).push(e);
82
77
  }
83
78
  get firstStore() {
84
- return t(this, T)[0];
79
+ return t(this, F)[0];
85
80
  }
86
81
  get stores() {
87
- return t(this, T);
82
+ return t(this, F);
88
83
  }
89
84
  updateStores(e) {
90
- t(this, T).forEach((s) => {
85
+ t(this, F).forEach((s) => {
91
86
  s.current = e;
92
87
  });
93
88
  }
94
89
  }
95
- T = new WeakMap();
96
- const ot = E({
90
+ F = new WeakMap();
91
+ const it = C({
97
92
  ":host": {
98
93
  width: "100%",
99
94
  display: "inline-flex",
@@ -106,11 +101,11 @@ const ot = E({
106
101
  borderRadius: h.borderRadiusSmall.var
107
102
  }
108
103
  });
109
- class Le extends B {
104
+ class Fe extends j {
110
105
  constructor(...r) {
111
- super(...r), this.attachShadow({ mode: "open" }).adoptedStyleSheets.push(ot), g(this, {
106
+ super(...r), this.attachShadow({ mode: "open" }).adoptedStyleSheets.push(it), m(this, {
112
107
  children: [
113
- g("e-checkbox", {
108
+ m("e-checkbox", {
114
109
  onChange: (s) => {
115
110
  this.updateStores(s.currentTarget.checked);
116
111
  },
@@ -126,9 +121,9 @@ class Le extends B {
126
121
  }
127
122
  customElements.get("e-tweaker-boolean-manager") || customElements.define(
128
123
  "e-tweaker-boolean-manager",
129
- Le
124
+ Fe
130
125
  );
131
- const nt = E({
126
+ const rt = C({
132
127
  ":host": {
133
128
  width: "100%",
134
129
  display: "inline-flex",
@@ -151,11 +146,11 @@ const nt = E({
151
146
  height: "calc(var(--height-input) * 0.93)"
152
147
  }
153
148
  });
154
- class Pe extends B {
149
+ class Me extends j {
155
150
  constructor(...r) {
156
- super(...r), this.attachShadow({ mode: "open" }).adoptedStyleSheets.push(nt), g(this, {
151
+ super(...r), this.attachShadow({ mode: "open" }).adoptedStyleSheets.push(rt), m(this, {
157
152
  children: [
158
- me({
153
+ pe({
159
154
  type: "color",
160
155
  value: this.firstStore,
161
156
  onInput: (s) => {
@@ -166,19 +161,19 @@ class Pe extends B {
166
161
  });
167
162
  }
168
163
  }
169
- customElements.get("e-tweaker-color-manager") || customElements.define("e-tweaker-color-manager", Pe);
170
- const at = E({
164
+ customElements.get("e-tweaker-color-manager") || customElements.define("e-tweaker-color-manager", Me);
165
+ const ot = C({
171
166
  a: {
172
167
  color: "inherit",
173
168
  fontSize: "var(--font-size-small)"
174
169
  }
175
170
  });
176
- class Ie extends B {
171
+ class Le extends j {
177
172
  constructor(...r) {
178
173
  var s, i;
179
- super(...r), this.attachShadow({ mode: "open" }).adoptedStyleSheets.push(at), console.log(this.firstStore), g(this, {
174
+ super(...r), this.attachShadow({ mode: "open" }).adoptedStyleSheets.push(ot), console.log(this.firstStore), m(this, {
180
175
  children: [
181
- Ye({
176
+ We({
182
177
  href: this.firstStore,
183
178
  target: (i = (s = this.firstStore.passport) == null ? void 0 : s.manager) != null && i.sameWindow ? "_self" : "_blank",
184
179
  children: this.firstStore
@@ -187,8 +182,8 @@ class Ie extends B {
187
182
  });
188
183
  }
189
184
  }
190
- customElements.get("e-tweaker-link-manager") || customElements.define("e-tweaker-link-manager", Ie);
191
- const lt = E({
185
+ customElements.get("e-tweaker-link-manager") || customElements.define("e-tweaker-link-manager", Le);
186
+ const nt = C({
192
187
  ":host": {
193
188
  width: "100%",
194
189
  display: "flex",
@@ -252,96 +247,93 @@ const lt = E({
252
247
  opacity: 0.3
253
248
  }
254
249
  });
255
- var I, A, D, x, F, X, Y, y, V, q, G, M, N, Q, Se, U, ye, H, ce, _;
256
- class Ve extends B {
250
+ var I, A, D, E, M, W, X, k, V, Y, q, c, N, we, be, le, G;
251
+ class Pe extends j {
257
252
  constructor(...e) {
258
- var i, a, d, c, S, L, J, xe;
253
+ var i, a, d, p, y, L, B, Se;
259
254
  super(...e);
260
- o(this, M);
261
- o(this, Q);
262
- o(this, U);
263
- o(this, H);
255
+ o(this, c);
264
256
  o(this, I, []);
265
257
  o(this, A, []);
266
- o(this, D, void 0);
267
- o(this, x, void 0);
268
- o(this, F, void 0);
269
- o(this, X, void 0);
270
- o(this, Y, void 0);
271
- o(this, y, void 0);
258
+ o(this, D);
259
+ o(this, E);
260
+ o(this, M);
261
+ o(this, W);
262
+ o(this, X);
263
+ o(this, k);
272
264
  o(this, V, !1);
273
- o(this, q, (e) => {
274
- const s = m(this, M, N).call(this, e);
265
+ o(this, Y, (e) => {
266
+ const s = f(this, c, N).call(this, e);
275
267
  return s.map((i, a) => {
276
- const d = typeof i == "string" ? parseFloat(i) || t(this, x) : i, c = et(d, t(this, x), t(this, F)), S = tt(c, t(this, D));
277
- s[a] = S;
278
- }), t(this, Y) === "number" ? s[0] : s;
268
+ const d = typeof i == "string" ? parseFloat(i) || t(this, E) : i, p = Ue(d, t(this, E), t(this, M)), y = _e(p, t(this, D));
269
+ s[a] = y;
270
+ }), t(this, X) === "number" ? s[0] : s;
279
271
  });
280
- o(this, G, () => {
281
- m(this, M, N).call(this).map((e, s) => {
272
+ o(this, q, () => {
273
+ f(this, c, N).call(this).map((e, s) => {
282
274
  const i = t(this, I)[s];
283
275
  i && (i.value = (e || 0).toString());
284
- }), m(this, Q, Se).call(this);
276
+ }), f(this, c, we).call(this);
285
277
  });
286
- o(this, _, () => {
287
- m(this, Q, Se).call(this);
278
+ o(this, G, () => {
279
+ f(this, c, we).call(this);
288
280
  });
289
- this.attachShadow({ mode: "open" }).adoptedStyleSheets.push(lt), n(this, x, ze(
281
+ this.attachShadow({ mode: "open" }).adoptedStyleSheets.push(nt), n(this, E, Ee(
290
282
  (a = (i = this.firstStore.passport) == null ? void 0 : i.manager) == null ? void 0 : a.min,
291
283
  -1 / 0
292
- )), n(this, F, ze(
293
- (c = (d = this.firstStore.passport) == null ? void 0 : d.manager) == null ? void 0 : c.max,
284
+ )), n(this, M, Ee(
285
+ (p = (d = this.firstStore.passport) == null ? void 0 : d.manager) == null ? void 0 : p.max,
294
286
  1 / 0
295
- )), n(this, D, ((L = (S = this.firstStore.passport) == null ? void 0 : S.manager) == null ? void 0 : L.step) || 0.01), n(this, X, ((xe = (J = this.firstStore.passport) == null ? void 0 : J.manager) == null ? void 0 : xe.ease) || 1), n(this, Y, Array.isArray(this.firstStore.current) ? "array" : "number"), n(this, y, isFinite(t(this, F)) && isFinite(t(this, x))), g(this, {
296
- class: t(this, y) ? "" : "infinite",
297
- children: m(this, M, N).call(this).map((De, de) => u({
287
+ )), n(this, D, ((L = (y = this.firstStore.passport) == null ? void 0 : y.manager) == null ? void 0 : L.step) || 0.01), n(this, W, ((Se = (B = this.firstStore.passport) == null ? void 0 : B.manager) == null ? void 0 : Se.ease) || 1), n(this, X, Array.isArray(this.firstStore.current) ? "array" : "number"), n(this, k, isFinite(t(this, M)) && isFinite(t(this, E))), m(this, {
288
+ class: t(this, k) ? "" : "infinite",
289
+ children: f(this, c, N).call(this).map(($e, ae) => g({
298
290
  class: "inputs-wrapper",
299
291
  children: [
300
- me({
292
+ pe({
301
293
  type: "number",
302
294
  step: t(this, D),
303
- min: t(this, x),
304
- max: t(this, F),
305
- ref: (C) => t(this, I).push(C),
306
- value: De,
295
+ min: t(this, E),
296
+ max: t(this, M),
297
+ ref: (z) => t(this, I).push(z),
298
+ value: $e,
307
299
  onChange: () => {
308
300
  this.updateStores(
309
- t(this, I).map((C) => parseFloat(C.value))
301
+ t(this, I).map((z) => parseFloat(z.value))
310
302
  );
311
303
  }
312
304
  }),
313
- u({
305
+ g({
314
306
  class: "drag",
315
307
  children: [
316
- u({
308
+ g({
317
309
  class: "drag-knob",
318
- ref: (C) => t(this, A).push(C),
319
- onPointerdown: (C) => {
320
- C.preventDefault(), n(this, V, !0);
321
- const fe = m(this, M, N).call(this), He = fe[de], z = t(this, A)[de], Ke = t(this, I)[de];
322
- if (z && Ke) {
323
- const we = z.parentElement, Oe = m(this, U, ye).call(this);
324
- we.classList.add("grabbing"), Te(
325
- (be) => {
326
- const Ee = be.x - C.x, Ze = t(this, y) ? we.offsetWidth / (Oe || 1) : 1, je = He + Ee / Ze * t(this, X);
327
- if (fe[de] = je, !t(this, y)) {
328
- const Be = m(this, H, ce).call(this, z, 0);
329
- z.style.transform = `translateX(${Be + Ee}px)`;
310
+ ref: (z) => t(this, A).push(z),
311
+ onPointerdown: (z) => {
312
+ z.preventDefault(), n(this, V, !0);
313
+ const ue = f(this, c, N).call(this), Ae = ue[ae], R = t(this, A)[ae], De = t(this, I)[ae];
314
+ if (R && De) {
315
+ const ge = R.parentElement, He = f(this, c, be).call(this);
316
+ ge.classList.add("grabbing"), ze(
317
+ (me) => {
318
+ const ye = me.x - z.x, Ke = t(this, k) ? ge.offsetWidth / (He || 1) : 1, Oe = Ae + ye / Ke * t(this, W);
319
+ if (ue[ae] = Oe, !t(this, k)) {
320
+ const Ze = f(this, c, le).call(this, R, 0);
321
+ R.style.transform = `translateX(${Ze + ye}px)`;
330
322
  }
331
- this.updateStores([...fe]);
323
+ this.updateStores([...ue]);
332
324
  },
333
325
  () => {
334
- if (n(this, V, !1), !t(this, y)) {
335
- const be = m(this, H, ce).call(this, z, 0);
336
- z.style.transition = "transform 0.1s", z.style.transform = `translateX(${be}px)`, we.classList.remove("grabbing"), setTimeout(() => {
337
- z.style.transition = "";
326
+ if (n(this, V, !1), !t(this, k)) {
327
+ const me = f(this, c, le).call(this, R, 0);
328
+ R.style.transition = "transform 0.1s", R.style.transform = `translateX(${me}px)`, ge.classList.remove("grabbing"), setTimeout(() => {
329
+ R.style.transition = "";
338
330
  }, 100);
339
331
  }
340
332
  }
341
333
  );
342
334
  }
343
335
  },
344
- children: u({
336
+ children: g({
345
337
  class: "drag-knob-inner"
346
338
  })
347
339
  })
@@ -352,30 +344,30 @@ class Ve extends B {
352
344
  });
353
345
  }
354
346
  connectedCallback() {
355
- this.firstStore.addMiddleware(t(this, q)), this.firstStore.subscribe(t(this, G)), Re.subscribe(this, t(this, _));
347
+ this.firstStore.addMiddleware(t(this, Y)), this.firstStore.subscribe(t(this, q)), Ce.subscribe(this, t(this, G));
356
348
  }
357
349
  disconnectedCallback() {
358
- this.firstStore.removeMiddleware(t(this, q)), this.firstStore.unsubscribe(t(this, G)), Re.unsubscribe(t(this, _));
350
+ this.firstStore.removeMiddleware(t(this, Y)), this.firstStore.unsubscribe(t(this, q)), Ce.unsubscribe(t(this, G));
359
351
  }
360
352
  }
361
- I = new WeakMap(), A = new WeakMap(), D = new WeakMap(), x = new WeakMap(), F = new WeakMap(), X = new WeakMap(), Y = new WeakMap(), y = new WeakMap(), V = new WeakMap(), q = new WeakMap(), G = new WeakMap(), M = new WeakSet(), N = function(e = this.firstStore.current) {
353
+ I = new WeakMap(), A = new WeakMap(), D = new WeakMap(), E = new WeakMap(), M = new WeakMap(), W = new WeakMap(), X = new WeakMap(), k = new WeakMap(), V = new WeakMap(), Y = new WeakMap(), q = new WeakMap(), c = new WeakSet(), N = function(e = this.firstStore.current) {
362
354
  return Array.isArray(e) ? e : [e];
363
- }, Q = new WeakSet(), Se = function() {
364
- m(this, M, N).call(this).map((e, s) => {
355
+ }, we = function() {
356
+ f(this, c, N).call(this).map((e, s) => {
365
357
  const i = t(this, A)[s];
366
- if (i && (!t(this, V) || t(this, V) && t(this, y))) {
367
- const a = m(this, H, ce).call(this, i, e);
358
+ if (i && (!t(this, V) || t(this, V) && t(this, k))) {
359
+ const a = f(this, c, le).call(this, i, e);
368
360
  i.style.transform = `translateX(${a}px)`;
369
361
  }
370
362
  });
371
- }, U = new WeakSet(), ye = function() {
372
- return t(this, y) ? t(this, F) - t(this, x) : 0;
373
- }, H = new WeakSet(), ce = function(e, s) {
374
- const i = e.parentElement, a = m(this, U, ye).call(this), d = a ? s / a : 0.5;
363
+ }, be = function() {
364
+ return t(this, k) ? t(this, M) - t(this, E) : 0;
365
+ }, le = function(e, s) {
366
+ const i = e.parentElement, a = f(this, c, be).call(this), d = a ? s / a : 0.5;
375
367
  return (i.offsetWidth - e.offsetWidth) * d;
376
- }, _ = new WeakMap();
377
- customElements.get("e-tweaker-number-manager") || customElements.define("e-tweaker-number-manager", Ve);
378
- const ht = E({
368
+ }, G = new WeakMap();
369
+ customElements.get("e-tweaker-number-manager") || customElements.define("e-tweaker-number-manager", Pe);
370
+ const at = C({
379
371
  "e-select": {
380
372
  display: "block",
381
373
  width: "100%",
@@ -409,29 +401,29 @@ const ht = E({
409
401
  transform: "scaleY(-1)"
410
402
  }
411
403
  });
412
- class Ne extends B {
404
+ class Ie extends j {
413
405
  constructor(...r) {
414
406
  var i, a;
415
- super(...r), this.attachShadow({ mode: "open" }).adoptedStyleSheets.push(ht);
407
+ super(...r), this.attachShadow({ mode: "open" }).adoptedStyleSheets.push(at);
416
408
  const s = ((a = (i = this.firstStore.passport) == null ? void 0 : i.manager) == null ? void 0 : a.variants) || [];
417
- g(this, {
418
- children: g("e-select", {
409
+ m(this, {
410
+ children: m("e-select", {
419
411
  value: this.firstStore,
420
412
  onChange: (d) => {
421
413
  this.updateStores(d.currentTarget.value);
422
414
  },
423
415
  lightChildren: [
424
- g("e-select-head", {
416
+ m("e-select-head", {
425
417
  lightChildren: [
426
- qe({
418
+ Xe({
427
419
  "data-value-holder": ""
428
420
  })
429
421
  ]
430
422
  }),
431
423
  ...s.map(
432
- (d, c) => g("e-select-option", {
424
+ (d, p) => m("e-select-option", {
433
425
  lightChildren: d,
434
- default: c === 0 ? !0 : null
426
+ default: p === 0 ? !0 : null
435
427
  })
436
428
  )
437
429
  ]
@@ -439,8 +431,8 @@ class Ne extends B {
439
431
  });
440
432
  }
441
433
  }
442
- customElements.get("e-tweaker-select-manager") || customElements.define("e-tweaker-select-manager", Ne);
443
- const dt = E({
434
+ customElements.get("e-tweaker-select-manager") || customElements.define("e-tweaker-select-manager", Ie);
435
+ const lt = C({
444
436
  ":host": {
445
437
  width: "100%",
446
438
  display: "flex",
@@ -462,11 +454,11 @@ const dt = E({
462
454
  borderRadius: h.borderRadius.var
463
455
  }
464
456
  });
465
- class $e extends B {
457
+ class Ve extends j {
466
458
  constructor(...r) {
467
- super(...r), this.attachShadow({ mode: "open" }).adoptedStyleSheets.push(dt), g(this, {
459
+ super(...r), this.attachShadow({ mode: "open" }).adoptedStyleSheets.push(lt), m(this, {
468
460
  children: [
469
- me({
461
+ pe({
470
462
  class: "text-input",
471
463
  type: "string",
472
464
  value: this.firstStore,
@@ -480,15 +472,15 @@ class $e extends B {
480
472
  });
481
473
  }
482
474
  }
483
- customElements.get("e-tweaker-string-manager") || customElements.define("e-tweaker-string-manager", $e);
484
- const ct = {
485
- boolean: Le,
486
- color: Pe,
487
- link: Ie,
488
- number: Ve,
489
- select: Ne,
490
- string: $e
491
- }, pt = E({
475
+ customElements.get("e-tweaker-string-manager") || customElements.define("e-tweaker-string-manager", Ve);
476
+ const ht = {
477
+ boolean: Fe,
478
+ color: Me,
479
+ link: Le,
480
+ number: Pe,
481
+ select: Ie,
482
+ string: Ve
483
+ }, dt = C({
492
484
  ":host": {
493
485
  display: "grid",
494
486
  gridAutoFlow: "column",
@@ -533,56 +525,56 @@ const ct = {
533
525
  height: "100%"
534
526
  }
535
527
  });
536
- var b, K, O, Z, j, ee, te;
537
- class ke extends HTMLElement {
528
+ var v, H, K, O, Z, Q, U;
529
+ class ve extends HTMLElement {
538
530
  constructor(e) {
539
- var a, d, c, S;
531
+ var a, d, p, y;
540
532
  super();
541
- o(this, b, []);
542
- o(this, K, void 0);
543
- o(this, O, void 0);
544
- o(this, Z, !1);
545
- o(this, j, void 0);
546
- o(this, ee, () => {
547
- $.current.find((e) => t(this, b).includes(e)) || this.remove();
533
+ o(this, v, []);
534
+ o(this, H);
535
+ o(this, K);
536
+ o(this, O, !1);
537
+ o(this, Z);
538
+ o(this, Q, () => {
539
+ $.current.find((e) => t(this, v).includes(e)) || this.remove();
548
540
  });
549
- o(this, te, (e) => {
550
- t(this, Z) && ((e.metaKey || e.ctrlKey) && e.code === "KeyC" ? navigator.clipboard.writeText(t(this, b)[0].current) : (e.metaKey || e.ctrlKey) && e.code === "KeyR" && (t(this, b).forEach((s) => {
541
+ o(this, U, (e) => {
542
+ t(this, O) && ((e.metaKey || e.ctrlKey) && e.code === "KeyC" ? navigator.clipboard.writeText(t(this, v)[0].current) : (e.metaKey || e.ctrlKey) && e.code === "KeyR" && (t(this, v).forEach((s) => {
551
543
  s.reset();
552
544
  }), e.preventDefault()));
553
545
  });
554
- n(this, b, [e.store]), n(this, K, e.store.passport.name), n(this, O, t(this, K).split(".").slice(-1).toString());
546
+ n(this, v, [e.store]), n(this, H, e.store.passport.name), n(this, K, t(this, H).split(".").slice(-1).toString());
555
547
  const s = ((d = (a = e.store.passport) == null ? void 0 : a.manager) == null ? void 0 : d.type) || "string";
556
- n(this, j, new ct[s](t(this, b)[0])), this.attachShadow({ mode: "open" }).adoptedStyleSheets.push(pt), g(this, {
548
+ n(this, Z, new ht[s](t(this, v)[0])), this.attachShadow({ mode: "open" }).adoptedStyleSheets.push(dt), m(this, {
557
549
  class: {
558
- disabled: ((S = (c = e.store.passport) == null ? void 0 : c.manager) == null ? void 0 : S.disabled) || !1
550
+ disabled: ((y = (p = e.store.passport) == null ? void 0 : p.manager) == null ? void 0 : y.disabled) || !1
559
551
  },
560
552
  onPointerleave: () => {
561
- n(this, Z, !1);
553
+ n(this, O, !1);
562
554
  },
563
555
  onPointerenter: () => {
564
- n(this, Z, !0);
556
+ n(this, O, !0);
565
557
  },
566
558
  children: [
567
- u({
559
+ g({
568
560
  class: "head",
569
561
  children: [
570
- u({ class: "name", children: t(this, O) + ":" }),
571
- u({
562
+ g({ class: "name", children: t(this, K) + ":" }),
563
+ g({
572
564
  class: "head-buttons",
573
565
  children: [
574
- W({
566
+ J({
575
567
  class: "head-button",
576
- children: Me,
568
+ children: Te,
577
569
  onClick: () => {
578
- navigator.clipboard.writeText(t(this, b)[0].current);
570
+ navigator.clipboard.writeText(t(this, v)[0].current);
579
571
  }
580
572
  }),
581
- W({
573
+ J({
582
574
  class: "head-button",
583
- children: Fe,
575
+ children: Re,
584
576
  onClick: () => {
585
- t(this, b).forEach((L) => {
577
+ t(this, v).forEach((L) => {
586
578
  L.reset();
587
579
  });
588
580
  }
@@ -591,32 +583,32 @@ class ke extends HTMLElement {
591
583
  })
592
584
  ]
593
585
  }),
594
- t(this, j)
586
+ t(this, Z)
595
587
  ]
596
588
  });
597
589
  }
598
590
  get key() {
599
- return t(this, K);
591
+ return t(this, H);
600
592
  }
601
593
  get name() {
602
- return t(this, O);
594
+ return t(this, K);
603
595
  }
604
596
  get stores() {
605
- return t(this, b);
597
+ return t(this, v);
606
598
  }
607
599
  addStore(e) {
608
- t(this, j).addStore(e);
600
+ t(this, Z).addStore(e);
609
601
  }
610
602
  connectedCallback() {
611
- $.subscribe(t(this, ee)), addEventListener("keydown", t(this, te)), _e(this);
603
+ $.subscribe(t(this, Q)), addEventListener("keydown", t(this, U)), Qe(this);
612
604
  }
613
605
  disconnectedCallback() {
614
- $.unsubscribe(t(this, ee)), removeEventListener("keydown", t(this, te));
606
+ $.unsubscribe(t(this, Q)), removeEventListener("keydown", t(this, U));
615
607
  }
616
608
  }
617
- b = new WeakMap(), K = new WeakMap(), O = new WeakMap(), Z = new WeakMap(), j = new WeakMap(), ee = new WeakMap(), te = new WeakMap();
618
- customElements.get("e-tweaker-field") || customElements.define("e-tweaker-field", ke);
619
- const ut = E({
609
+ v = new WeakMap(), H = new WeakMap(), K = new WeakMap(), O = new WeakMap(), Z = new WeakMap(), Q = new WeakMap(), U = new WeakMap();
610
+ customElements.get("e-tweaker-field") || customElements.define("e-tweaker-field", ve);
611
+ const ct = C({
620
612
  ".wrapper": {
621
613
  boxSizing: "border-box",
622
614
  backgroundColor: "rgba(255, 255, 255, 0.1)",
@@ -671,56 +663,56 @@ const ut = E({
671
663
  transform: "scaleY(-1)"
672
664
  }
673
665
  });
674
- var v, se, p, ie, re, oe, ne, ue;
675
- const ge = class ge extends HTMLElement {
666
+ var S, _, u, ee, te, se, ie, de;
667
+ const ce = class ce extends HTMLElement {
676
668
  constructor(e) {
677
669
  super();
678
- o(this, v, void 0);
679
- o(this, se, new Ce(null));
680
- o(this, p, new Ce([]));
681
- o(this, ie, void 0);
682
- o(this, re, null);
683
- o(this, oe, null);
684
- o(this, ne, null);
685
- o(this, ue, (e) => {
670
+ o(this, S);
671
+ o(this, _, new xe(null));
672
+ o(this, u, new xe([]));
673
+ o(this, ee);
674
+ o(this, te, null);
675
+ o(this, se, null);
676
+ o(this, ie, null);
677
+ o(this, de, (e) => {
686
678
  let s = [], i = [];
687
679
  e.forEach((a) => {
688
680
  s = [...s, ...a.removedNodes], i = [...i, ...a.addedNodes];
689
- }), t(this, p).current = t(this, p).current.filter(
681
+ }), t(this, u).current = t(this, u).current.filter(
690
682
  (a) => !s.includes(a)
691
- ), t(this, v) && !t(this, p).current.length && !i.length && this.remove();
683
+ ), t(this, S) && !t(this, u).current.length && !i.length && this.remove();
692
684
  });
693
- this.attachShadow({ mode: "open" }).adoptedStyleSheets.push(ut), n(this, v, e.key), n(this, ie, new MutationObserver(t(this, ue))), g(this, {
685
+ this.attachShadow({ mode: "open" }).adoptedStyleSheets.push(ct), n(this, S, e.key), n(this, ee, new MutationObserver(t(this, de))), m(this, {
694
686
  children: [
695
- u({
687
+ g({
696
688
  class: "wrapper",
697
689
  children: [
698
- u({
690
+ g({
699
691
  class: "head",
700
692
  onClick: (i) => {
701
- this.classList.toggle("opened"), this.classList.contains("opened") ? f.openPanel(t(this, v)) : f.closePanel(t(this, v));
693
+ this.classList.toggle("opened"), this.classList.contains("opened") ? w.openPanel(t(this, S)) : w.closePanel(t(this, S));
702
694
  },
703
695
  children: [
704
- t(this, v) ? u({
696
+ t(this, S) ? g({
705
697
  class: "name",
706
- children: [t(this, v).split(".").slice(-1).toString()]
698
+ children: [t(this, S).split(".").slice(-1).toString()]
707
699
  }) : null,
708
- t(this, se),
709
- g(Ue, {
700
+ t(this, _),
701
+ m(Ge, {
710
702
  class: "arrow"
711
703
  })
712
704
  ]
713
705
  }),
714
- u({
706
+ g({
715
707
  class: "body",
716
708
  ref: (i) => {
717
- n(this, re, i);
709
+ n(this, te, i);
718
710
  },
719
- children: u({
711
+ children: g({
720
712
  class: "body-content",
721
- children: t(this, p),
713
+ children: t(this, u),
722
714
  ref: (i) => {
723
- n(this, oe, i), n(this, ne, i.firstElementChild);
715
+ n(this, se, i), n(this, ie, i.firstElementChild);
724
716
  }
725
717
  })
726
718
  })
@@ -730,36 +722,36 @@ const ge = class ge extends HTMLElement {
730
722
  }), e != null && e.storeBox && this.handleStore(e.storeBox);
731
723
  }
732
724
  get key() {
733
- return t(this, v);
725
+ return t(this, S);
734
726
  }
735
727
  get head() {
736
- return t(this, se);
728
+ return t(this, _);
737
729
  }
738
730
  get content() {
739
- return t(this, p);
731
+ return t(this, u);
740
732
  }
741
733
  get bodyElement() {
742
- return t(this, re);
734
+ return t(this, te);
743
735
  }
744
736
  get contentElement() {
745
- return t(this, oe);
737
+ return t(this, se);
746
738
  }
747
739
  connectedCallback() {
748
- f.isPanelOpened(t(this, v)) && this.classList.add("opened"), setTimeout(() => {
740
+ w.isPanelOpened(t(this, S)) && this.classList.add("opened"), setTimeout(() => {
749
741
  this.classList.add("transition-allowed");
750
- }), t(this, ie).observe(t(this, ne), {
742
+ }), t(this, ee).observe(t(this, ie), {
751
743
  childList: !0
752
744
  });
753
745
  }
754
746
  handleStore(e) {
755
747
  if (e.remainingFolders.length) {
756
- const i = e.store.passport.name.split("."), a = i.slice(0, i.length - e.remainingFolders.length).join("."), d = t(this, p).current.find((c) => c.key === a);
757
- d instanceof ge ? d.handleStore({
748
+ const i = e.store.passport.name.split("."), a = i.slice(0, i.length - e.remainingFolders.length).join("."), d = t(this, u).current.find((p) => p.key === a);
749
+ d instanceof ce ? d.handleStore({
758
750
  store: e.store,
759
751
  remainingFolders: e.remainingFolders.slice(1)
760
- }) : t(this, p).current = [
761
- ...t(this, p).current,
762
- new ge({
752
+ }) : t(this, u).current = [
753
+ ...t(this, u).current,
754
+ new ce({
763
755
  key: a,
764
756
  storeBox: {
765
757
  store: e.store,
@@ -768,22 +760,22 @@ const ge = class ge extends HTMLElement {
768
760
  })
769
761
  ];
770
762
  } else {
771
- const s = t(this, p).current.find(
763
+ const s = t(this, u).current.find(
772
764
  (i) => i.key === e.store.passport.name
773
765
  );
774
- s instanceof ke ? s.addStore(e.store) : t(this, p).current = [
775
- ...t(this, p).current,
776
- new ke({
766
+ s instanceof ve ? s.addStore(e.store) : t(this, u).current = [
767
+ ...t(this, u).current,
768
+ new ve({
777
769
  store: e.store
778
770
  })
779
771
  ];
780
772
  }
781
773
  }
782
774
  };
783
- v = new WeakMap(), se = new WeakMap(), p = new WeakMap(), ie = new WeakMap(), re = new WeakMap(), oe = new WeakMap(), ne = new WeakMap(), ue = new WeakMap();
784
- let pe = ge;
785
- customElements.get("e-tweaker-folder") || customElements.define("e-tweaker-folder", pe);
786
- const gt = E({
775
+ S = new WeakMap(), _ = new WeakMap(), u = new WeakMap(), ee = new WeakMap(), te = new WeakMap(), se = new WeakMap(), ie = new WeakMap(), de = new WeakMap();
776
+ let he = ce;
777
+ customElements.get("e-tweaker-folder") || customElements.define("e-tweaker-folder", he);
778
+ const pt = C({
787
779
  ":host": {
788
780
  "--tweaker-width": "550px",
789
781
  "--tweaker-offset": "20px",
@@ -858,7 +850,7 @@ const gt = E({
858
850
  ":host .body-content::-webkit-scrollbar": {
859
851
  display: "none"
860
852
  },
861
- [`@media ${Qe["<=mobile"]}`]: {
853
+ [`@media ${qe["<=mobile"]}`]: {
862
854
  ":host": {
863
855
  position: "absolute",
864
856
  top: "0",
@@ -875,17 +867,17 @@ const gt = E({
875
867
  }
876
868
  }
877
869
  });
878
- var ae, le, he;
879
- class Ae extends pe {
870
+ var re, oe, ne;
871
+ class Ne extends he {
880
872
  constructor() {
881
873
  super({
882
874
  key: ""
883
875
  });
884
- o(this, ae, !1);
885
- o(this, le, () => {
886
- f.save();
876
+ o(this, re, !1);
877
+ o(this, oe, () => {
878
+ w.save();
887
879
  });
888
- o(this, he, Xe(() => {
880
+ o(this, ne, Je(() => {
889
881
  $.current.forEach((e) => {
890
882
  var s;
891
883
  if (e.passport && !((s = e.passport.manager) != null && s.invisible)) {
@@ -895,50 +887,50 @@ class Ae extends pe {
895
887
  remainingFolders: i.length > 1 ? i.slice(0, -1) : []
896
888
  });
897
889
  }
898
- }), t(this, ae) || (n(this, ae, !0), this.contentElement.scroll({
899
- top: f.scrollValue
890
+ }), t(this, re) || (n(this, re, !0), this.contentElement.scroll({
891
+ top: w.scrollValue
900
892
  }), this.contentElement.addEventListener("scroll", () => {
901
- f.scrollValue = this.contentElement.scrollTop;
893
+ w.scrollValue = this.contentElement.scrollTop;
902
894
  }));
903
895
  }, 10));
904
- f.load(), this.shadowRoot.adoptedStyleSheets.push(gt), this.head.current = [
905
- u({
896
+ w.load(), this.shadowRoot.adoptedStyleSheets.push(pt), this.head.current = [
897
+ g({
906
898
  class: "tweaker-buttons",
907
899
  onClick: (e) => {
908
900
  e.stopPropagation();
909
901
  },
910
902
  children: [
911
- W({
903
+ J({
912
904
  class: "tweaker-button",
913
- children: Fe,
905
+ children: Re,
914
906
  onClick: () => {
915
- R.resetState();
907
+ T.resetState();
916
908
  }
917
909
  }),
918
- W({
910
+ J({
919
911
  class: ["tweaker-button"],
920
- children: [Me],
912
+ children: [Te],
921
913
  onClick: () => {
922
914
  navigator.clipboard.writeText(
923
- JSON.stringify(R.getState())
915
+ JSON.stringify(T.getState())
924
916
  );
925
917
  }
926
918
  }),
927
- W({
919
+ J({
928
920
  class: "tweaker-button",
929
- children: st,
921
+ children: et,
930
922
  onClick: () => {
931
- We(
932
- R.projectName,
933
- R.getState()
923
+ Be(
924
+ T.projectName,
925
+ T.getState()
934
926
  );
935
927
  }
936
928
  }),
937
- Ge({
929
+ Ye({
938
930
  class: "tweaker-button",
939
931
  children: [
940
- it,
941
- me({
932
+ tt,
933
+ pe({
942
934
  type: "file",
943
935
  style: {
944
936
  display: "none"
@@ -948,10 +940,10 @@ class Ae extends pe {
948
940
  const i = (a = e.currentTarget.files) == null ? void 0 : a[0];
949
941
  if (i) {
950
942
  const d = new FileReader();
951
- d.onload = (c) => {
952
- var L, J;
953
- const S = (J = (L = c.target) == null ? void 0 : L.result) == null ? void 0 : J.toString();
954
- S && R.loadState(S);
943
+ d.onload = (p) => {
944
+ var L, B;
945
+ const y = (B = (L = p.target) == null ? void 0 : L.result) == null ? void 0 : B.toString();
946
+ y && T.loadState(y);
955
947
  }, d.readAsText(i);
956
948
  }
957
949
  }
@@ -960,17 +952,17 @@ class Ae extends pe {
960
952
  })
961
953
  ]
962
954
  })
963
- ], g(this.bodyElement, {
955
+ ], m(this.bodyElement, {
964
956
  children: [
965
- u({
957
+ g({
966
958
  class: "resize",
967
959
  onPointerdown: (e) => {
968
960
  e.preventDefault();
969
961
  const s = this.getBoundingClientRect(), i = this.contentElement.scrollTop;
970
- Te(
962
+ ze(
971
963
  (a) => {
972
- const d = e.x - a.x, c = Math.max(400, s.width + d);
973
- this.style.width = c + "px", f.changeSize("tweaker", c);
964
+ const d = e.x - a.x, p = Math.max(400, s.width + d);
965
+ this.style.width = p + "px", w.changeSize("tweaker", p);
974
966
  },
975
967
  () => {
976
968
  setTimeout(() => {
@@ -982,19 +974,19 @@ class Ae extends pe {
982
974
  );
983
975
  },
984
976
  onDblclick: () => {
985
- this.style.width = "", f.changeSize("tweaker", null);
977
+ this.style.width = "", w.changeSize("tweaker", null);
986
978
  }
987
979
  })
988
980
  ]
989
981
  });
990
982
  }
991
983
  connectedCallback() {
992
- super.connectedCallback(), window.addEventListener("beforeunload", t(this, le)), $.subscribe(t(this, he)), f.changedSizes("tweaker") && (this.style.width = f.changedSizes("tweaker") + "px");
984
+ super.connectedCallback(), window.addEventListener("beforeunload", t(this, oe)), $.subscribe(t(this, ne)), w.changedSizes("tweaker") && (this.style.width = w.changedSizes("tweaker") + "px");
993
985
  }
994
986
  disconnectedCallback() {
995
- window.removeEventListener("beforeunload", t(this, le)), f.save(), $.unsubscribe(t(this, he));
987
+ window.removeEventListener("beforeunload", t(this, oe)), w.save(), $.unsubscribe(t(this, ne));
996
988
  }
997
989
  }
998
- ae = new WeakMap(), le = new WeakMap(), he = new WeakMap();
999
- customElements.get("e-tweaker") || customElements.define("e-tweaker", Ae);
1000
- Je && document.body.appendChild(new Ae());
990
+ re = new WeakMap(), oe = new WeakMap(), ne = new WeakMap();
991
+ customElements.get("e-tweaker") || customElements.define("e-tweaker", Ne);
992
+ je && document.body.appendChild(new Ne());