iobroker.mywebui 1.76.0 → 1.78.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 (235) hide show
  1. package/default-controls/controls/gauges/setpoint-gauge.control +1 -0
  2. package/dist/backend/3d-editor-integration.js +1 -1
  3. package/dist/backend/ImportmapCreator.js +1 -1
  4. package/dist/backend/UploadHelper.js +1 -1
  5. package/dist/backend/main.js +1 -1
  6. package/io-package.json +1 -1
  7. package/package.json +1 -1
  8. package/www/3d-editor/js/Animation.js +1 -1
  9. package/www/3d-editor/js/AnimationResizer.js +1 -1
  10. package/www/3d-editor/js/Command.js +1 -1
  11. package/www/3d-editor/js/Config.js +1 -1
  12. package/www/3d-editor/js/Editor.js +1 -1
  13. package/www/3d-editor/js/EditorControls.js +1 -1
  14. package/www/3d-editor/js/GLTFImportDialog.js +1 -1
  15. package/www/3d-editor/js/History.js +1 -1
  16. package/www/3d-editor/js/Loader.js +1 -1
  17. package/www/3d-editor/js/LoaderUtils.js +1 -1
  18. package/www/3d-editor/js/Menubar.Add.js +1 -1
  19. package/www/3d-editor/js/Menubar.Edit.js +1 -1
  20. package/www/3d-editor/js/Menubar.File.js +1 -1
  21. package/www/3d-editor/js/Menubar.Help.js +1 -1
  22. package/www/3d-editor/js/Menubar.Render.js +1 -1
  23. package/www/3d-editor/js/Menubar.Status.js +1 -1
  24. package/www/3d-editor/js/Menubar.View.js +1 -1
  25. package/www/3d-editor/js/Menubar.js +1 -1
  26. package/www/3d-editor/js/Player.js +1 -1
  27. package/www/3d-editor/js/Resizer.js +1 -1
  28. package/www/3d-editor/js/Script.js +1 -1
  29. package/www/3d-editor/js/Selector.js +1 -1
  30. package/www/3d-editor/js/Sidebar.Geometry.BoxGeometry.js +1 -1
  31. package/www/3d-editor/js/Sidebar.Geometry.BufferGeometry.js +1 -1
  32. package/www/3d-editor/js/Sidebar.Geometry.CapsuleGeometry.js +1 -1
  33. package/www/3d-editor/js/Sidebar.Geometry.CircleGeometry.js +1 -1
  34. package/www/3d-editor/js/Sidebar.Geometry.CylinderGeometry.js +1 -1
  35. package/www/3d-editor/js/Sidebar.Geometry.DodecahedronGeometry.js +1 -1
  36. package/www/3d-editor/js/Sidebar.Geometry.ExtrudeGeometry.js +1 -1
  37. package/www/3d-editor/js/Sidebar.Geometry.IcosahedronGeometry.js +1 -1
  38. package/www/3d-editor/js/Sidebar.Geometry.LatheGeometry.js +1 -1
  39. package/www/3d-editor/js/Sidebar.Geometry.Modifiers.js +1 -1
  40. package/www/3d-editor/js/Sidebar.Geometry.OctahedronGeometry.js +1 -1
  41. package/www/3d-editor/js/Sidebar.Geometry.PlaneGeometry.js +1 -1
  42. package/www/3d-editor/js/Sidebar.Geometry.RingGeometry.js +1 -1
  43. package/www/3d-editor/js/Sidebar.Geometry.ShapeGeometry.js +1 -1
  44. package/www/3d-editor/js/Sidebar.Geometry.SphereGeometry.js +1 -1
  45. package/www/3d-editor/js/Sidebar.Geometry.TetrahedronGeometry.js +1 -1
  46. package/www/3d-editor/js/Sidebar.Geometry.TextGeometry.js +1 -1
  47. package/www/3d-editor/js/Sidebar.Geometry.TorusGeometry.js +1 -1
  48. package/www/3d-editor/js/Sidebar.Geometry.TorusKnotGeometry.js +1 -1
  49. package/www/3d-editor/js/Sidebar.Geometry.TubeGeometry.js +1 -1
  50. package/www/3d-editor/js/Sidebar.Geometry.js +1 -1
  51. package/www/3d-editor/js/Sidebar.Material.BooleanProperty.js +1 -1
  52. package/www/3d-editor/js/Sidebar.Material.ColorProperty.js +1 -1
  53. package/www/3d-editor/js/Sidebar.Material.ConstantProperty.js +1 -1
  54. package/www/3d-editor/js/Sidebar.Material.MapProperty.js +1 -1
  55. package/www/3d-editor/js/Sidebar.Material.NumberProperty.js +1 -1
  56. package/www/3d-editor/js/Sidebar.Material.Program.js +1 -1
  57. package/www/3d-editor/js/Sidebar.Material.RangeValueProperty.js +1 -1
  58. package/www/3d-editor/js/Sidebar.Material.js +1 -1
  59. package/www/3d-editor/js/Sidebar.Object.js +1 -1
  60. package/www/3d-editor/js/Sidebar.Project.App.js +1 -1
  61. package/www/3d-editor/js/Sidebar.Project.Materials.js +1 -1
  62. package/www/3d-editor/js/Sidebar.Project.Renderer.js +1 -1
  63. package/www/3d-editor/js/Sidebar.Project.Resources.js +1 -1
  64. package/www/3d-editor/js/Sidebar.Project.js +1 -1
  65. package/www/3d-editor/js/Sidebar.Properties.js +1 -1
  66. package/www/3d-editor/js/Sidebar.Scene.js +1 -1
  67. package/www/3d-editor/js/Sidebar.Script.js +1 -1
  68. package/www/3d-editor/js/Sidebar.Settings.History.js +1 -1
  69. package/www/3d-editor/js/Sidebar.Settings.Shortcuts.js +1 -1
  70. package/www/3d-editor/js/Sidebar.Settings.js +1 -1
  71. package/www/3d-editor/js/Sidebar.js +1 -1
  72. package/www/3d-editor/js/Storage.js +1 -1
  73. package/www/3d-editor/js/Strings.js +1 -1
  74. package/www/3d-editor/js/TextureParametersDialog.js +1 -1
  75. package/www/3d-editor/js/Toolbar.js +1 -1
  76. package/www/3d-editor/js/Viewport.Controls.js +1 -1
  77. package/www/3d-editor/js/Viewport.Info.js +1 -1
  78. package/www/3d-editor/js/Viewport.Pathtracer.js +1 -1
  79. package/www/3d-editor/js/Viewport.ViewHelper.js +1 -1
  80. package/www/3d-editor/js/Viewport.XR.js +1 -1
  81. package/www/3d-editor/js/Viewport.js +1 -1
  82. package/www/3d-editor/js/commands/AddObjectCommand.js +1 -1
  83. package/www/3d-editor/js/commands/AddScriptCommand.js +1 -1
  84. package/www/3d-editor/js/commands/Commands.js +1 -1
  85. package/www/3d-editor/js/commands/MoveObjectCommand.js +1 -1
  86. package/www/3d-editor/js/commands/MultiCmdsCommand.js +1 -1
  87. package/www/3d-editor/js/commands/RemoveObjectCommand.js +1 -1
  88. package/www/3d-editor/js/commands/RemoveScriptCommand.js +1 -1
  89. package/www/3d-editor/js/commands/SetColorCommand.js +1 -1
  90. package/www/3d-editor/js/commands/SetGeometryCommand.js +1 -1
  91. package/www/3d-editor/js/commands/SetGeometryValueCommand.js +1 -1
  92. package/www/3d-editor/js/commands/SetMaterialColorCommand.js +1 -1
  93. package/www/3d-editor/js/commands/SetMaterialCommand.js +1 -1
  94. package/www/3d-editor/js/commands/SetMaterialMapCommand.js +1 -1
  95. package/www/3d-editor/js/commands/SetMaterialRangeCommand.js +1 -1
  96. package/www/3d-editor/js/commands/SetMaterialValueCommand.js +1 -1
  97. package/www/3d-editor/js/commands/SetMaterialVectorCommand.js +1 -1
  98. package/www/3d-editor/js/commands/SetPositionCommand.js +1 -1
  99. package/www/3d-editor/js/commands/SetRotationCommand.js +1 -1
  100. package/www/3d-editor/js/commands/SetScaleCommand.js +1 -1
  101. package/www/3d-editor/js/commands/SetSceneCommand.js +1 -1
  102. package/www/3d-editor/js/commands/SetScriptValueCommand.js +1 -1
  103. package/www/3d-editor/js/commands/SetShadowValueCommand.js +1 -1
  104. package/www/3d-editor/js/commands/SetTextureParametersCommand.js +1 -1
  105. package/www/3d-editor/js/commands/SetUuidCommand.js +1 -1
  106. package/www/3d-editor/js/commands/SetValueCommand.js +1 -1
  107. package/www/dist/frontend/bundle/chunk-3C6XC7RW.js +1 -1
  108. package/www/dist/frontend/bundle/chunk-3WGNLIWJ.js +3 -3
  109. package/www/dist/frontend/bundle/chunk-3YK3Y2SJ.js +1 -1
  110. package/www/dist/frontend/bundle/chunk-43HEBO5G.js +2 -2
  111. package/www/dist/frontend/bundle/chunk-5MUGMRXU.js +1 -1
  112. package/www/dist/frontend/bundle/chunk-5UBRCTRX.js +3 -3
  113. package/www/dist/frontend/bundle/chunk-65A3PNMG.js +1 -1
  114. package/www/dist/frontend/bundle/chunk-7CWDQGAG.js +3 -3
  115. package/www/dist/frontend/bundle/chunk-7PT7IGUJ.js +3 -3
  116. package/www/dist/frontend/bundle/chunk-AI5PDLDE.js +2 -2
  117. package/www/dist/frontend/bundle/chunk-AWKVUUKN.js +3 -3
  118. package/www/dist/frontend/bundle/chunk-B6NXWGSB.js +1 -1
  119. package/www/dist/frontend/bundle/chunk-BHSHNRXW.js +1 -1
  120. package/www/dist/frontend/bundle/chunk-BVONDEOL.js +3 -3
  121. package/www/dist/frontend/bundle/chunk-CHDKROX5.js +3 -3
  122. package/www/dist/frontend/bundle/chunk-DNCD2F6X.js +3 -3
  123. package/www/dist/frontend/bundle/chunk-FHF6DL5U.js +1 -1
  124. package/www/dist/frontend/bundle/chunk-FO56TEZH.js +3 -3
  125. package/www/dist/frontend/bundle/chunk-FSRRPQMX.js +3 -3
  126. package/www/dist/frontend/bundle/chunk-GLQNGCFL.js +1 -1
  127. package/www/dist/frontend/bundle/chunk-JBDSDK2C.js +3 -3
  128. package/www/dist/frontend/bundle/chunk-JSC66ZLQ.js +1 -1
  129. package/www/dist/frontend/bundle/chunk-K6IV7LKW.js +1 -1
  130. package/www/dist/frontend/bundle/chunk-KY73TL6O.js +2 -2
  131. package/www/dist/frontend/bundle/chunk-M6VVTDVX.js +3 -3
  132. package/www/dist/frontend/bundle/chunk-MECWXZRN.js +1 -1
  133. package/www/dist/frontend/bundle/chunk-N2YIZTB2.js +1 -1
  134. package/www/dist/frontend/bundle/chunk-NQ7L7KNT.js +3 -3
  135. package/www/dist/frontend/bundle/chunk-P7EOR36H.js +1 -1
  136. package/www/dist/frontend/bundle/chunk-PJYK24KZ.js +1 -1
  137. package/www/dist/frontend/bundle/chunk-PYLAW6UA.js +3 -3
  138. package/www/dist/frontend/bundle/chunk-QJJGP23I.js +1 -1
  139. package/www/dist/frontend/bundle/chunk-QV4IBWXA.js +1 -1
  140. package/www/dist/frontend/bundle/chunk-R6IQDPAP.js +3 -3
  141. package/www/dist/frontend/bundle/chunk-RTTBZOQU.js +3 -3
  142. package/www/dist/frontend/bundle/chunk-S4TLNW5D.js +1 -1
  143. package/www/dist/frontend/bundle/chunk-SE6N4ZEN.js +1 -1
  144. package/www/dist/frontend/bundle/chunk-SQHXO2IT.js +3 -3
  145. package/www/dist/frontend/bundle/chunk-T4AIQBBH.js +3 -3
  146. package/www/dist/frontend/bundle/chunk-U5Q332OH.js +1 -1
  147. package/www/dist/frontend/bundle/chunk-UIP324PP.js +1 -1
  148. package/www/dist/frontend/bundle/chunk-V27IRYSL.js +1 -1
  149. package/www/dist/frontend/bundle/chunk-V4C5FGJL.js +2 -2
  150. package/www/dist/frontend/bundle/chunk-WED7CGWA.js +2 -2
  151. package/www/dist/frontend/bundle/chunk-WQ5H5LTG.js +3 -3
  152. package/www/dist/frontend/bundle/chunk-WU54NCEU.js +1 -1
  153. package/www/dist/frontend/bundle/chunk-XFO5FUCN.js +1 -1
  154. package/www/dist/frontend/bundle/chunk-XWAQ2BWM.js +3 -3
  155. package/www/dist/frontend/bundle/chunk-YTQCHNRQ.js +3 -3
  156. package/www/dist/frontend/bundle/chunk-YUSK4FN3.js +3 -3
  157. package/www/dist/frontend/bundle/chunk-Z34BSG5O.js +3 -3
  158. package/www/dist/frontend/bundle/common/IobrokerHandler.js +1 -1
  159. package/www/dist/frontend/bundle/runtime/CustomControls.js +1 -1
  160. package/www/dist/frontend/bundle/runtime/ScreenViewer.js +1 -1
  161. package/www/dist/frontend/bundle/runtime/controls.js +4 -4
  162. package/www/dist/frontend/bundle/runtime/init.js +2 -2
  163. package/www/dist/frontend/common/Common.globals.js +1 -1
  164. package/www/dist/frontend/common/IobrokerHandler.js +1 -1
  165. package/www/dist/frontend/common/Runtime.js +1 -1
  166. package/www/dist/frontend/config/CommandHandling.js +1 -1
  167. package/www/dist/frontend/config/ConfigureWebcomponentDesigner.js +1 -1
  168. package/www/dist/frontend/config/DockHelper.js +1 -1
  169. package/www/dist/frontend/config/IobrokerWebui3DDriveEngine.js +1 -1
  170. package/www/dist/frontend/config/IobrokerWebui3DScreenEditor.js +3 -3
  171. package/www/dist/frontend/config/IobrokerWebui3DScreenPropertiesPanel.js +3 -3
  172. package/www/dist/frontend/config/IobrokerWebui3DScreenViewer.js +2 -2
  173. package/www/dist/frontend/config/IobrokerWebuiAppShell.js +3 -3
  174. package/www/dist/frontend/config/IobrokerWebuiBindingsEditor.js +1 -1
  175. package/www/dist/frontend/config/IobrokerWebuiConfirmationWrapper.js +3 -3
  176. package/www/dist/frontend/config/IobrokerWebuiControlPropertiesEditor.js +3 -3
  177. package/www/dist/frontend/config/IobrokerWebuiDynamicPropsEditor.js +1 -1
  178. package/www/dist/frontend/config/IobrokerWebuiEventAssignment.js +1 -1
  179. package/www/dist/frontend/config/IobrokerWebuiIconsView.js +2 -2
  180. package/www/dist/frontend/config/IobrokerWebuiMonacoEditor.js +2 -2
  181. package/www/dist/frontend/config/IobrokerWebuiPropertyGrid.js +1 -1
  182. package/www/dist/frontend/config/IobrokerWebuiScreenEditor.js +1 -1
  183. package/www/dist/frontend/config/IobrokerWebuiScreensView.js +3 -3
  184. package/www/dist/frontend/config/IobrokerWebuiSignalPropertyEditor.js +1 -1
  185. package/www/dist/frontend/config/IobrokerWebuiSolutionExplorer.js +3 -3
  186. package/www/dist/frontend/config/IobrokerWebuiTranslationEditor.js +1 -1
  187. package/www/dist/frontend/config/IobrokerWebuiWidgetGallery.js +3 -3
  188. package/www/dist/frontend/helper/DialogHelper.js +2 -2
  189. package/www/dist/frontend/helper/EsprimaHelper.js +1 -1
  190. package/www/dist/frontend/helper/Helper.js +1 -1
  191. package/www/dist/frontend/helper/LayoutHelper.js +1 -1
  192. package/www/dist/frontend/helper/XmlHelper.js +1 -1
  193. package/www/dist/frontend/helper/ZipHelper.js +1 -1
  194. package/www/dist/frontend/runtime/AnimationService.js +1 -1
  195. package/www/dist/frontend/runtime/CustomControls.js +1 -1
  196. package/www/dist/frontend/runtime/DynamicElementProperties.js +1 -1
  197. package/www/dist/frontend/runtime/HabPanelLikeMenu.js +3 -3
  198. package/www/dist/frontend/runtime/NavigationShell.js +1 -1
  199. package/www/dist/frontend/runtime/ScreenViewer.js +3 -3
  200. package/www/dist/frontend/runtime/TranslateableText.js +2 -2
  201. package/www/dist/frontend/runtime/VisibilityService.js +1 -1
  202. package/www/dist/frontend/runtime/controls.js +1 -1
  203. package/www/dist/frontend/runtime/init.js +1 -1
  204. package/www/dist/frontend/scripting/IobrokerWebuiScriptSystem.js +1 -1
  205. package/www/dist/frontend/scripting/blockly/OpenScreen.js +1 -1
  206. package/www/dist/frontend/scripting/blockly/webuiBlocklyToolbox.js +1 -1
  207. package/www/dist/frontend/services/DynamicPropertiesHelper.js +1 -1
  208. package/www/dist/frontend/services/IobrokerWebuiBindableLocalObjectsService.js +1 -1
  209. package/www/dist/frontend/services/IobrokerWebuiBindableObjectDragDropService.js +1 -1
  210. package/www/dist/frontend/services/IobrokerWebuiBindableObjectsForPropertiesService.js +1 -1
  211. package/www/dist/frontend/services/IobrokerWebuiBindableObjectsService.js +1 -1
  212. package/www/dist/frontend/services/IobrokerWebuiConfigButtonProvider.js +1 -1
  213. package/www/dist/frontend/services/IobrokerWebuiCopyPasteService.js +1 -1
  214. package/www/dist/frontend/services/IobrokerWebuiCustomControlEventsService.js +1 -1
  215. package/www/dist/frontend/services/IobrokerWebuiCustomElementContextMenu.js +1 -1
  216. package/www/dist/frontend/services/IobrokerWebuiDemoProviderService.js +1 -1
  217. package/www/dist/frontend/services/IobrokerWebuiDynamicPropertiesService.js +1 -1
  218. package/www/dist/frontend/services/IobrokerWebuiEventsService.js +1 -1
  219. package/www/dist/frontend/services/IobrokerWebuiExternalDragDropService.js +1 -1
  220. package/www/dist/frontend/services/IobrokerWebuiLitPropertiesService.js +1 -1
  221. package/www/dist/frontend/services/IobrokerWebuiPropertiesService.js +1 -1
  222. package/www/dist/frontend/services/IobrokerWebuiPropertyGroupsService.js +1 -1
  223. package/www/dist/frontend/services/IobrokerWebuiRefactorService.js +1 -1
  224. package/www/dist/frontend/services/IobrokerWebuiScreenContextMenu.js +1 -1
  225. package/www/dist/frontend/services/IobrokerWebuiSpecialPropertiesService.js +1 -1
  226. package/www/dist/frontend/services/IobrokerWebuiSpectrumEditorService.js +1 -1
  227. package/www/dist/frontend/services/IobrokerWebuiVisibilityPropertiesService.js +1 -1
  228. package/www/dist/frontend/services/LayoutComponentsPropertiesService.js +1 -1
  229. package/www/dist/frontend/widgets/OrthoFlowLineTool.js +1 -1
  230. package/www/dist/frontend/widgets/customElementsObserver.js +1 -1
  231. package/www/dist/frontend/widgets/importWidgetFiles.js +1 -1
  232. package/www/dist/frontend/widgets/importWidgetFilesRuntime.js +1 -1
  233. package/www/dist/frontend/widgets/layout-components.js +1 -1
  234. package/www/dist/frontend/widgets/layout-placement-services.js +1 -1
  235. package/www/dist/frontend/widgets/testElement.js +1 -1
@@ -1 +1 @@
1
- (function(d,e){const I=b,f=d();while(!![]){try{const g=-parseInt(I(0x12f))/0x1*(parseInt(I(0x148))/0x2)+parseInt(I(0x134))/0x3*(-parseInt(I(0x144))/0x4)+-parseInt(I(0x14a))/0x5+parseInt(I(0x140))/0x6+parseInt(I(0x128))/0x7*(-parseInt(I(0x129))/0x8)+parseInt(I(0x133))/0x9*(-parseInt(I(0x138))/0xa)+parseInt(I(0x13e))/0xb;if(g===e)break;else f['push'](f['shift']());}catch(h){f['push'](f['shift']());}}}(a,0xce8cc));import*as c from'three';import{UIDiv,UIRow,UIText,UIInteger,UICheckbox,UIButton,UINumber}from'./libs/ui.js';function a(){const O=['51560707vkNkBy','execute','9524628hZiPHb','sidebar/geometry/extrude_geometry/bevelSegments','bevelEnabled','bevelSize','2348pEwKjU','signals','options','getValue','3326UoBakj','onChange','2770230PFcAjg','setClass','sidebar/geometry/extrude_geometry/bevelOffset','7YoXgvv','11300272hnjEPz','setValue','getKey','sidebar/geometry/extrude_geometry/bevelEnabled','120px','strings','997EjHhKb','bevelSegments','Label','geometryChanged','126yIHjHZ','6036uKkEmX','add','steps','parameters','445080eNrCbz','sidebar/geometry/extrude_geometry/depth','bevelOffset','setDisplay','depth','bevelThickness'];a=function(){return O;};return a();}import{SetGeometryCommand}from'./commands/SetGeometryCommand.js';function b(c,d){c=c-0x128;const e=a();let f=e[c];return f;}function GeometryParametersPanel(d,e){const J=b,f=d[J(0x12e)],g=d[J(0x145)],h=new UIDiv(),i=e['geometry'],j=i['parameters'],k=j[J(0x146)];k['curveSegments']=k['curveSegments']!=undefined?k['curveSegments']:0xc,k[J(0x136)]=k['steps']!=undefined?k[J(0x136)]:0x1,k[J(0x13c)]=k['depth']!=undefined?k['depth']:0x1;const l=k['bevelThickness']!==undefined?k[J(0x13d)]:0.2;k['bevelThickness']=l,k[J(0x143)]=k['bevelSize']!==undefined?k['bevelSize']:l-0.1,k[J(0x13a)]=k['bevelOffset']!==undefined?k[J(0x13a)]:0x0,k[J(0x130)]=k['bevelSegments']!==undefined?k[J(0x130)]:0x3;const m=new UIRow(),n=new UIInteger(k['curveSegments'])[J(0x149)](F)['setRange'](0x1,Infinity);m['add'](new UIText(f['getKey']('sidebar/geometry/extrude_geometry/curveSegments'))['setClass'](J(0x131))),m[J(0x135)](n),h['add'](m);const o=new UIRow(),p=new UIInteger(k[J(0x136)])[J(0x149)](F)['setRange'](0x1,Infinity);o['add'](new UIText(f[J(0x12b)]('sidebar/geometry/extrude_geometry/steps'))['setClass'](J(0x131))),o['add'](p),h['add'](o);const q=new UIRow(),r=new UINumber(k[J(0x13c)])['onChange'](F)['setRange'](0x1,Infinity);q['add'](new UIText(f[J(0x12b)](J(0x139)))['setClass'](J(0x131))),q[J(0x135)](r),h['add'](q);const s=new UIRow(),t=new UICheckbox(k['bevelEnabled'])[J(0x149)](F);s['add'](new UIText(f['getKey'](J(0x12c)))[J(0x14b)]('Label')),s['add'](t),h['add'](s);const u=new UIRow(),v=new UINumber(k['bevelThickness'])[J(0x149)](F);u['add'](new UIText(f[J(0x12b)]('sidebar/geometry/extrude_geometry/bevelThickness'))['setClass']('Label')),u[J(0x135)](v),h[J(0x135)](u);const w=new UIRow(),x=new UINumber(k[J(0x143)])['onChange'](F);w['add'](new UIText(f[J(0x12b)]('sidebar/geometry/extrude_geometry/bevelSize'))[J(0x14b)]('Label')),w['add'](x),h['add'](w);const y=new UIRow(),z=new UINumber(k[J(0x13a)])['onChange'](F);y['add'](new UIText(f[J(0x12b)](J(0x14c)))[J(0x14b)]('Label')),y[J(0x135)](z),h[J(0x135)](y);const A=new UIRow(),B=new UIInteger(k['bevelSegments'])[J(0x149)](F)['setRange'](0x0,Infinity);A[J(0x135)](new UIText(f[J(0x12b)](J(0x141)))['setClass'](J(0x131))),A[J(0x135)](B),h['add'](A),D(k['bevelEnabled']);const C=new UIButton(f['getKey']('sidebar/geometry/extrude_geometry/shape'))['onClick'](G)['setClass'](J(0x131))['setMarginLeft'](J(0x12d));h['add'](C);function D(H){const K=J;H===!![]?(u['setDisplay'](''),w[K(0x13b)](''),y['setDisplay'](''),A['setDisplay']('')):(u[K(0x13b)]('none'),w[K(0x13b)]('none'),y['setDisplay']('none'),A[K(0x13b)]('none'));}function E(){const L=J,H=e['geometry'][L(0x137)][L(0x146)];n[L(0x12a)](H['curveSegments']),p[L(0x12a)](H[L(0x136)]),r['setValue'](H['depth']),t['setValue'](H[L(0x142)]),v[L(0x12a)](H['bevelThickness']),x[L(0x12a)](H[L(0x143)]),z['setValue'](H['bevelOffset']),B['setValue'](H[L(0x130)]),D(H['bevelEnabled']);}g[J(0x132)]['add'](function(H){H===e&&E();});function F(){const M=J;D(t['getValue']()),d['execute'](new SetGeometryCommand(d,e,new c['ExtrudeGeometry'](j['shapes'],{'curveSegments':n['getValue'](),'steps':p['getValue'](),'depth':r[M(0x147)](),'bevelEnabled':t['getValue'](),'bevelThickness':v!==undefined?v['getValue']():k[M(0x13d)],'bevelSize':x!==undefined?x['getValue']():k['bevelSize'],'bevelOffset':z!==undefined?z[M(0x147)]():k['bevelOffset'],'bevelSegments':B!==undefined?B['getValue']():k['bevelSegments']})));}function G(){const N=J;d[N(0x13f)](new SetGeometryCommand(d,e,new c['ShapeGeometry'](j['shapes'],k['curveSegments'])));}return h;}export{GeometryParametersPanel};
1
+ function a(){const O=['curveSegments','getKey','options','1674xtzNIc','steps','getValue','395505RvlBUB','Label','1295930fgnPzt','onChange','setClass','bevelSize','8cVUoIV','add','setDisplay','depth','setValue','1378643bnbhaT','parameters','setRange','bevelThickness','sidebar/geometry/extrude_geometry/depth','execute','12yoRgjc','419224fYIKZj','2965odmVVl','bevelEnabled','bevelSegments','sidebar/geometry/extrude_geometry/bevelOffset','bevelOffset','geometryChanged','ShapeGeometry','11510anWcuS','184973oaodwD','none'];a=function(){return O;};return a();}(function(d,e){const I=b,f=d();while(!![]){try{const g=-parseInt(I(0x1eb))/0x1+-parseInt(I(0x1ea))/0x2*(parseInt(I(0x1e1))/0x3)+-parseInt(I(0x1e2))/0x4+parseInt(I(0x1e3))/0x5*(parseInt(I(0x1f0))/0x6)+-parseInt(I(0x1fe))/0x7*(-parseInt(I(0x1f9))/0x8)+-parseInt(I(0x1f3))/0x9+parseInt(I(0x1f5))/0xa;if(g===e)break;else f['push'](f['shift']());}catch(h){f['push'](f['shift']());}}}(a,0x2104d));import*as c from'three';import{UIDiv,UIRow,UIText,UIInteger,UICheckbox,UIButton,UINumber}from'./libs/ui.js';function b(c,d){c=c-0x1e1;const e=a();let f=e[c];return f;}import{SetGeometryCommand}from'./commands/SetGeometryCommand.js';function GeometryParametersPanel(d,e){const J=b,f=d['strings'],g=d['signals'],h=new UIDiv(),i=e['geometry'],j=i[J(0x1ff)],k=j['options'];k[J(0x1ed)]=k['curveSegments']!=undefined?k[J(0x1ed)]:0xc,k['steps']=k['steps']!=undefined?k[J(0x1f1)]:0x1,k[J(0x1fc)]=k['depth']!=undefined?k[J(0x1fc)]:0x1;const l=k[J(0x201)]!==undefined?k['bevelThickness']:0.2;k[J(0x201)]=l,k['bevelSize']=k[J(0x1f8)]!==undefined?k[J(0x1f8)]:l-0.1,k[J(0x1e7)]=k[J(0x1e7)]!==undefined?k['bevelOffset']:0x0,k['bevelSegments']=k['bevelSegments']!==undefined?k[J(0x1e5)]:0x3;const m=new UIRow(),n=new UIInteger(k[J(0x1ed)])[J(0x1f6)](F)['setRange'](0x1,Infinity);m[J(0x1fa)](new UIText(f['getKey']('sidebar/geometry/extrude_geometry/curveSegments'))[J(0x1f7)](J(0x1f4))),m['add'](n),h[J(0x1fa)](m);const o=new UIRow(),p=new UIInteger(k['steps'])[J(0x1f6)](F)[J(0x200)](0x1,Infinity);o[J(0x1fa)](new UIText(f[J(0x1ee)]('sidebar/geometry/extrude_geometry/steps'))['setClass'](J(0x1f4))),o[J(0x1fa)](p),h['add'](o);const q=new UIRow(),r=new UINumber(k[J(0x1fc)])[J(0x1f6)](F)['setRange'](0x1,Infinity);q[J(0x1fa)](new UIText(f[J(0x1ee)](J(0x202)))['setClass']('Label')),q[J(0x1fa)](r),h[J(0x1fa)](q);const s=new UIRow(),t=new UICheckbox(k[J(0x1e4)])[J(0x1f6)](F);s[J(0x1fa)](new UIText(f['getKey']('sidebar/geometry/extrude_geometry/bevelEnabled'))[J(0x1f7)](J(0x1f4))),s[J(0x1fa)](t),h['add'](s);const u=new UIRow(),v=new UINumber(k[J(0x201)])[J(0x1f6)](F);u[J(0x1fa)](new UIText(f['getKey']('sidebar/geometry/extrude_geometry/bevelThickness'))['setClass'](J(0x1f4))),u[J(0x1fa)](v),h[J(0x1fa)](u);const w=new UIRow(),x=new UINumber(k['bevelSize'])['onChange'](F);w[J(0x1fa)](new UIText(f['getKey']('sidebar/geometry/extrude_geometry/bevelSize'))['setClass']('Label')),w['add'](x),h['add'](w);const y=new UIRow(),z=new UINumber(k['bevelOffset'])[J(0x1f6)](F);y['add'](new UIText(f['getKey'](J(0x1e6)))['setClass'](J(0x1f4))),y[J(0x1fa)](z),h[J(0x1fa)](y);const A=new UIRow(),B=new UIInteger(k['bevelSegments'])['onChange'](F)[J(0x200)](0x0,Infinity);A['add'](new UIText(f['getKey']('sidebar/geometry/extrude_geometry/bevelSegments'))[J(0x1f7)]('Label')),A[J(0x1fa)](B),h[J(0x1fa)](A),D(k['bevelEnabled']);const C=new UIButton(f['getKey']('sidebar/geometry/extrude_geometry/shape'))['onClick'](G)['setClass'](J(0x1f4))['setMarginLeft']('120px');h[J(0x1fa)](C);function D(H){const K=J;H===!![]?(u['setDisplay'](''),w['setDisplay'](''),y[K(0x1fb)](''),A['setDisplay']('')):(u[K(0x1fb)](K(0x1ec)),w[K(0x1fb)](K(0x1ec)),y[K(0x1fb)](K(0x1ec)),A[K(0x1fb)](K(0x1ec)));}function E(){const L=J,H=e['geometry'][L(0x1ff)][L(0x1ef)];n[L(0x1fd)](H['curveSegments']),p[L(0x1fd)](H['steps']),r['setValue'](H[L(0x1fc)]),t[L(0x1fd)](H[L(0x1e4)]),v[L(0x1fd)](H['bevelThickness']),x[L(0x1fd)](H['bevelSize']),z[L(0x1fd)](H['bevelOffset']),B[L(0x1fd)](H[L(0x1e5)]),D(H[L(0x1e4)]);}g[J(0x1e8)]['add'](function(H){H===e&&E();});function F(){const M=J;D(t['getValue']()),d[M(0x203)](new SetGeometryCommand(d,e,new c['ExtrudeGeometry'](j['shapes'],{'curveSegments':n['getValue'](),'steps':p['getValue'](),'depth':r['getValue'](),'bevelEnabled':t['getValue'](),'bevelThickness':v!==undefined?v['getValue']():k[M(0x201)],'bevelSize':x!==undefined?x['getValue']():k['bevelSize'],'bevelOffset':z!==undefined?z['getValue']():k[M(0x1e7)],'bevelSegments':B!==undefined?B[M(0x1f2)]():k[M(0x1e5)]})));}function G(){const N=J;d[N(0x203)](new SetGeometryCommand(d,e,new c[(N(0x1e9))](j['shapes'],k['curveSegments'])));}return h;}export{GeometryParametersPanel};
@@ -1 +1 @@
1
- (function(d,e){const r=b,f=d();while(!![]){try{const g=parseInt(r(0x88))/0x1+parseInt(r(0x7e))/0x2+-parseInt(r(0x93))/0x3*(parseInt(r(0x8e))/0x4)+parseInt(r(0x7f))/0x5*(parseInt(r(0x8d))/0x6)+parseInt(r(0x85))/0x7*(parseInt(r(0x81))/0x8)+-parseInt(r(0x8c))/0x9*(-parseInt(r(0x92))/0xa)+-parseInt(r(0x90))/0xb;if(g===e)break;else f['push'](f['shift']());}catch(h){f['push'](f['shift']());}}}(a,0xae5df));import*as c from'three';function a(){const v=['40XFkGyL','signals','geometry','radius','1025486Qtnjax','detail','IcosahedronGeometry','520195JNCDUO','sidebar/geometry/icosahedron_geometry/detail','execute','Label','3029274BAOwNv','403302BrhEbV','986204NAgNFj','onChange','14492555yhEOJh','setClass','20dyIhDt','6kaSFnq','setRange','parameters','1063480Fkicnm','5NvHuTz','add'];a=function(){return v;};return a();}function b(c,d){c=c-0x7c;const e=a();let f=e[c];return f;}import{UIDiv,UIRow,UIText,UIInteger,UINumber}from'./libs/ui.js';import{SetGeometryCommand}from'./commands/SetGeometryCommand.js';function GeometryParametersPanel(d,e){const s=b,f=d['strings'],g=d[s(0x82)],h=new UIDiv(),i=e[s(0x83)],j=i[s(0x7d)],k=new UIRow(),l=new UINumber(j['radius'])[s(0x8f)](p);k[s(0x80)](new UIText(f['getKey']('sidebar/geometry/icosahedron_geometry/radius'))[s(0x91)](s(0x8b))),k[s(0x80)](l),h['add'](k);const m=new UIRow(),n=new UIInteger(j['detail'])[s(0x7c)](0x0,Infinity)['onChange'](p);m[s(0x80)](new UIText(f['getKey'](s(0x89)))['setClass'](s(0x8b))),m[s(0x80)](n),h['add'](m);function o(){const t=s,q=e[t(0x83)][t(0x7d)];l['setValue'](q[t(0x84)]),n['setValue'](q[t(0x86)]);}g['geometryChanged'][s(0x80)](function(q){q===e&&o();});function p(){const u=s;d[u(0x8a)](new SetGeometryCommand(d,e,new c[(u(0x87))](l['getValue'](),n['getValue']())));}return h;}export{GeometryParametersPanel};
1
+ function a(){const v=['detail','radius','geometry','16965oWAbmp','Label','288hbOOpF','add','41436CrisXw','5rqqsXS','getKey','617265Kzemge','6tIlFxy','1208TrioGJ','setClass','execute','getValue','10998800JnoKWN','927493kDqaHm','4059lGIFgy','setValue','421310IVqrmb','2703AsBPTy'];a=function(){return v;};return a();}(function(d,e){const r=b,f=d();while(!![]){try{const g=-parseInt(r(0x1d1))/0x1*(-parseInt(r(0x1c7))/0x2)+parseInt(r(0x1c8))/0x3*(parseInt(r(0x1ce))/0x4)+-parseInt(r(0x1d3))/0x5+-parseInt(r(0x1d4))/0x6*(parseInt(r(0x1c4))/0x7)+parseInt(r(0x1d5))/0x8*(-parseInt(r(0x1cc))/0x9)+-parseInt(r(0x1c3))/0xa+parseInt(r(0x1c5))/0xb*(parseInt(r(0x1d0))/0xc);if(g===e)break;else f['push'](f['shift']());}catch(h){f['push'](f['shift']());}}}(a,0xb78dd));import*as c from'three';import{UIDiv,UIRow,UIText,UIInteger,UINumber}from'./libs/ui.js';function b(c,d){c=c-0x1c1;const e=a();let f=e[c];return f;}import{SetGeometryCommand}from'./commands/SetGeometryCommand.js';function GeometryParametersPanel(d,e){const s=b,f=d['strings'],g=d['signals'],h=new UIDiv(),i=e['geometry'],j=i['parameters'],k=new UIRow(),l=new UINumber(j[s(0x1ca)])['onChange'](p);k['add'](new UIText(f['getKey']('sidebar/geometry/icosahedron_geometry/radius'))['setClass'](s(0x1cd))),k['add'](l),h[s(0x1cf)](k);const m=new UIRow(),n=new UIInteger(j[s(0x1c9)])['setRange'](0x0,Infinity)['onChange'](p);m['add'](new UIText(f[s(0x1d2)]('sidebar/geometry/icosahedron_geometry/detail'))[s(0x1d6)](s(0x1cd))),m[s(0x1cf)](n),h[s(0x1cf)](m);function o(){const t=s,q=e[t(0x1cb)]['parameters'];l[t(0x1c6)](q[t(0x1ca)]),n['setValue'](q['detail']);}g['geometryChanged'][s(0x1cf)](function(q){q===e&&o();});function p(){const u=s;d[u(0x1c1)](new SetGeometryCommand(d,e,new c['IcosahedronGeometry'](l['getValue'](),n[u(0x1c2)]())));}return h;}export{GeometryParametersPanel};
@@ -1 +1 @@
1
- (function(d,e){const v=b,f=d();while(!![]){try{const g=-parseInt(v(0xa2))/0x1*(parseInt(v(0xa4))/0x2)+parseInt(v(0xad))/0x3+parseInt(v(0xba))/0x4*(parseInt(v(0xaa))/0x5)+parseInt(v(0xb6))/0x6+parseInt(v(0xa8))/0x7+-parseInt(v(0xb2))/0x8*(parseInt(v(0xa9))/0x9)+-parseInt(v(0xaf))/0xa;if(g===e)break;else f['push'](f['shift']());}catch(h){f['push'](f['shift']());}}}(a,0x90142));import*as c from'three';import{UIDiv,UIRow,UIText,UIInteger,UINumber}from'./libs/ui.js';function b(c,d){c=c-0xa1;const e=a();let f=e[c];return f;}import{UIPoints2}from'./libs/ui.three.js';import{SetGeometryCommand}from'./commands/SetGeometryCommand.js';function a(){const z=['Label','phiLength','sidebar/geometry/lathe_geometry/segments','6835686LxuKeS','parameters','MathUtils','getKey','3240qTEWWg','sidebar/geometry/lathe_geometry/phistart','1159YUSESR','phiStart','1360CIzXZi','getValue','RAD2DEG','setValue','3054051bvfphw','198171jbqdIF','4940AZymIh','geometry','geometryChanged','1970802pfRFZA','setClass','15003890zVBmKd','add','onChange','56CNmaWn'];a=function(){return z;};return a();}function GeometryParametersPanel(d,e){const w=b,f=d['strings'],g=d['signals'],h=new UIDiv(),i=e[w(0xab)],j=i['parameters'],k=new UIRow(),l=new UIInteger(j['segments'])[w(0xb1)](t);k['add'](new UIText(f[w(0xb9)](w(0xb5)))[w(0xae)]('Label')),k[w(0xb0)](l),h['add'](k);const m=new UIRow(),n=new UINumber(j['phiStart']*c[w(0xb8)][w(0xa6)])[w(0xb1)](t);m['add'](new UIText(f[w(0xb9)](w(0xa1)))[w(0xae)]('Label')),m['add'](n),h['add'](m);const o=new UIRow(),p=new UINumber(j[w(0xb4)]*c[w(0xb8)][w(0xa6)])[w(0xb1)](t);o['add'](new UIText(f['getKey']('sidebar/geometry/lathe_geometry/philength'))[w(0xae)](w(0xb3))),o['add'](p),h['add'](o);const q=new UIRow();q[w(0xb0)](new UIText(f[w(0xb9)]('sidebar/geometry/lathe_geometry/points'))[w(0xae)]('Label'));const r=new UIPoints2()['setValue'](j['points'])['onChange'](t);q['add'](r),h[w(0xb0)](q);function s(){const x=w,u=e[x(0xab)][x(0xb7)];r[x(0xa7)](u['points'],![]),l['setValue'](u['segments']),n['setValue'](u[x(0xa3)]*c[x(0xb8)][x(0xa6)]),p[x(0xa7)](u[x(0xb4)]*c['MathUtils'][x(0xa6)]);}g[w(0xac)][w(0xb0)](function(u){u===e&&s();});function t(){const y=w;d['execute'](new SetGeometryCommand(d,e,new c['LatheGeometry'](r['getValue'](),l[y(0xa5)](),n[y(0xa5)]()*c[y(0xb8)]['DEG2RAD'],p[y(0xa5)]()*c[y(0xb8)]['DEG2RAD'])));}return h;}export{GeometryParametersPanel};
1
+ (function(d,e){const v=b,f=d();while(!![]){try{const g=-parseInt(v(0x1ac))/0x1*(-parseInt(v(0x1b2))/0x2)+parseInt(v(0x19b))/0x3*(-parseInt(v(0x1b4))/0x4)+parseInt(v(0x1b1))/0x5+-parseInt(v(0x1aa))/0x6+parseInt(v(0x1ab))/0x7+-parseInt(v(0x19d))/0x8+parseInt(v(0x1a2))/0x9*(parseInt(v(0x198))/0xa);if(g===e)break;else f['push'](f['shift']());}catch(h){f['push'](f['shift']());}}}(a,0x6b6f9));function b(c,d){c=c-0x198;const e=a();let f=e[c];return f;}import*as c from'three';import{UIDiv,UIRow,UIText,UIInteger,UINumber}from'./libs/ui.js';import{UIPoints2}from'./libs/ui.three.js';import{SetGeometryCommand}from'./commands/SetGeometryCommand.js';function GeometryParametersPanel(d,e){const w=b,f=d[w(0x1ae)],g=d[w(0x1b0)],h=new UIDiv(),i=e[w(0x1a4)],j=i[w(0x199)],k=new UIRow(),l=new UIInteger(j[w(0x1a8)])[w(0x19c)](t);k['add'](new UIText(f[w(0x19e)](w(0x1b5)))['setClass'](w(0x1a9))),k['add'](l),h[w(0x1a6)](k);const m=new UIRow(),n=new UINumber(j[w(0x1ad)]*c[w(0x19f)][w(0x1a3)])['onChange'](t);m[w(0x1a6)](new UIText(f[w(0x19e)]('sidebar/geometry/lathe_geometry/phistart'))['setClass'](w(0x1a9))),m[w(0x1a6)](n),h[w(0x1a6)](m);const o=new UIRow(),p=new UINumber(j[w(0x1b3)]*c[w(0x19f)]['RAD2DEG'])[w(0x19c)](t);o['add'](new UIText(f['getKey']('sidebar/geometry/lathe_geometry/philength'))['setClass'](w(0x1a9))),o[w(0x1a6)](p),h['add'](o);const q=new UIRow();q[w(0x1a6)](new UIText(f[w(0x19e)]('sidebar/geometry/lathe_geometry/points'))[w(0x1a5)](w(0x1a9)));const r=new UIPoints2()[w(0x1a1)](j[w(0x1a0)])[w(0x19c)](t);q['add'](r),h[w(0x1a6)](q);function s(){const x=w,u=e[x(0x1a4)][x(0x199)];r['setValue'](u[x(0x1a0)],![]),l['setValue'](u['segments']),n['setValue'](u['phiStart']*c['MathUtils'][x(0x1a3)]),p[x(0x1a1)](u['phiLength']*c[x(0x19f)]['RAD2DEG']);}g['geometryChanged']['add'](function(u){u===e&&s();});function t(){const y=w;d['execute'](new SetGeometryCommand(d,e,new c[(y(0x1af))](r['getValue'](),l['getValue'](),n['getValue']()*c[y(0x19f)]['DEG2RAD'],p[y(0x1a7)]()*c[y(0x19f)][y(0x19a)])));}return h;}function a(){const z=['segments','Label','1021500YAlCSF','3992254SwfNRa','3sXaCaJ','phiStart','strings','LatheGeometry','signals','1111060lcwdkQ','381314JzOGZF','phiLength','1669944iqAPGL','sidebar/geometry/lathe_geometry/segments','7332870OVsCjH','parameters','DEG2RAD','6aRbPDZ','onChange','5220104ZNOZpw','getKey','MathUtils','points','setValue','9Ajpqqm','RAD2DEG','geometry','setClass','add','getValue'];a=function(){return z;};return a();}export{GeometryParametersPanel};
@@ -1 +1 @@
1
- (function(d,e){const p=b,f=d();while(!![]){try{const g=parseInt(p(0x6d))/0x1+-parseInt(p(0x7d))/0x2*(parseInt(p(0x74))/0x3)+parseInt(p(0x73))/0x4+parseInt(p(0x7e))/0x5*(parseInt(p(0x76))/0x6)+parseInt(p(0x79))/0x7*(parseInt(p(0x77))/0x8)+parseInt(p(0x75))/0x9*(-parseInt(p(0x70))/0xa)+-parseInt(p(0x6a))/0xb*(-parseInt(p(0x6c))/0xc);if(g===e)break;else f['push'](f['shift']());}catch(h){f['push'](f['shift']());}}}(a,0xe3f9c));import{UIDiv,UIButton,UIRow}from'./libs/ui.js';import{computeMikkTSpaceTangents}from'three/addons/utils/BufferGeometryUtils.js';function b(c,d){c=c-0x69;const e=a();let f=e[c];return f;}import*as c from'three/addons/libs/mikktspace.module.js';function SidebarGeometryModifiers(d,e){const q=b,f=d[q(0x71)],g=d[q(0x6f)],h=new UIDiv()['setMarginLeft']('120px'),i=e['geometry'],j=new UIButton(f[q(0x72)]('sidebar/geometry/compute_vertex_normals'));j['onClick'](function(){const r=q;i[r(0x69)](),g['geometryChanged'][r(0x6e)](e);});const k=new UIRow();k['add'](j),h['add'](k);if(i['hasAttribute']('position')&&i['hasAttribute']('normal')&&i[q(0x7b)]('uv')){const n=new UIButton(f['getKey']('sidebar/geometry/compute_vertex_tangents'));n[q(0x6b)](async function(){const s=q;await c[s(0x7f)],computeMikkTSpaceTangents(i,c),g['geometryChanged'][s(0x6e)](e);});const o=new UIRow();o['add'](n),h['add'](o);}const l=new UIButton(f[q(0x72)]('sidebar/geometry/center'));l['onClick'](function(){const t=q;i[t(0x7a)](),g[t(0x7c)]['dispatch'](e);});const m=new UIRow();return m[q(0x78)](l),h[q(0x78)](m),h;}export{SidebarGeometryModifiers};function a(){const u=['strings','getKey','2653884GsoAtw','3BkEtDw','108FBXCAM','673038MxEOEi','64wrzLIa','add','621453DKvHpX','center','hasAttribute','geometryChanged','850680ovIEuV','5WvIzIW','ready','computeVertexNormals','8347757dpeSmG','onClick','12ajlLvn','590257UfmmLE','dispatch','signals','1229910nNleoj'];a=function(){return u;};return a();}
1
+ (function(d,e){const p=b,f=d();while(!![]){try{const g=-parseInt(p(0x106))/0x1+parseInt(p(0x101))/0x2*(parseInt(p(0x113))/0x3)+parseInt(p(0x107))/0x4*(-parseInt(p(0x10e))/0x5)+-parseInt(p(0x10a))/0x6+parseInt(p(0x104))/0x7*(-parseInt(p(0x110))/0x8)+-parseInt(p(0xfb))/0x9*(parseInt(p(0x10f))/0xa)+-parseInt(p(0x10d))/0xb*(-parseInt(p(0x10b))/0xc);if(g===e)break;else f['push'](f['shift']());}catch(h){f['push'](f['shift']());}}}(a,0x784aa));import{UIDiv,UIButton,UIRow}from'./libs/ui.js';import{computeMikkTSpaceTangents}from'three/addons/utils/BufferGeometryUtils.js';function b(c,d){c=c-0xfa;const e=a();let f=e[c];return f;}import*as c from'three/addons/libs/mikktspace.module.js';function SidebarGeometryModifiers(d,e){const q=b,f=d[q(0xfd)],g=d[q(0x112)],h=new UIDiv()['setMarginLeft'](q(0x102)),i=e[q(0xfc)],j=new UIButton(f['getKey']('sidebar/geometry/compute_vertex_normals'));j[q(0xff)](function(){const r=q;i['computeVertexNormals'](),g['geometryChanged'][r(0x10c)](e);});const k=new UIRow();k['add'](j),h['add'](k);if(i['hasAttribute'](q(0x100))&&i[q(0x111)]('normal')&&i['hasAttribute']('uv')){const n=new UIButton(f[q(0x105)](q(0xfe)));n['onClick'](async function(){const s=q;await c[s(0x109)],computeMikkTSpaceTangents(i,c),g[s(0x108)][s(0x10c)](e);});const o=new UIRow();o[q(0x103)](n),h[q(0x103)](o);}const l=new UIButton(f['getKey']('sidebar/geometry/center'));l['onClick'](function(){const t=q;i[t(0xfa)](),g[t(0x108)]['dispatch'](e);});const m=new UIRow();return m['add'](l),h[q(0x103)](m),h;}export{SidebarGeometryModifiers};function a(){const u=['hasAttribute','signals','30ELdTvH','center','119349dLtQBn','geometry','strings','sidebar/geometry/compute_vertex_tangents','onClick','position','16490sGHIfp','120px','add','7mGjDaG','getKey','580957eMZcMn','680XRpxky','geometryChanged','ready','4805892aPgPrz','5827116AGpdIA','dispatch','77NBkhIc','13395giJmnu','710hftTHG','1679896VUugPb'];a=function(){return u;};return a();}
@@ -1 +1 @@
1
- (function(d,e){const r=b,f=d();while(!![]){try{const g=-parseInt(r(0x148))/0x1*(parseInt(r(0x14c))/0x2)+parseInt(r(0x14a))/0x3+-parseInt(r(0x149))/0x4+-parseInt(r(0x14e))/0x5*(parseInt(r(0x147))/0x6)+-parseInt(r(0x155))/0x7*(parseInt(r(0x13f))/0x8)+-parseInt(r(0x154))/0x9*(-parseInt(r(0x151))/0xa)+parseInt(r(0x144))/0xb*(parseInt(r(0x156))/0xc);if(g===e)break;else f['push'](f['shift']());}catch(h){f['push'](f['shift']());}}}(a,0x4662a));function b(c,d){c=c-0x13e;const e=a();let f=e[c];return f;}function a(){const v=['geometryChanged','10xlQYyG','setClass','radius','3974274tamOjj','35MAZrYl','351612WrqkWS','parameters','436064vteIea','strings','Label','getKey','geometry','297VnnBqj','execute','signals','684036PQhGzy','87264zTteUN','738036rTHaIc','1134708bqvlQG','setValue','12UJqjCQ','add','15HDTYui','detail'];a=function(){return v;};return a();}import*as c from'three';import{UIDiv,UIRow,UIText,UIInteger,UINumber}from'./libs/ui.js';import{SetGeometryCommand}from'./commands/SetGeometryCommand.js';function GeometryParametersPanel(d,e){const s=b,f=d[s(0x140)],g=d[s(0x146)],h=new UIDiv(),i=e['geometry'],j=i[s(0x13e)],k=new UIRow(),l=new UINumber(j[s(0x153)])['onChange'](p);k['add'](new UIText(f['getKey']('sidebar/geometry/octahedron_geometry/radius'))[s(0x152)](s(0x141))),k[s(0x14d)](l),h['add'](k);const m=new UIRow(),n=new UIInteger(j['detail'])['setRange'](0x0,Infinity)['onChange'](p);m['add'](new UIText(f[s(0x142)]('sidebar/geometry/octahedron_geometry/detail'))['setClass'](s(0x141))),m['add'](n),h['add'](m);function o(){const t=s,q=e[t(0x143)][t(0x13e)];l[t(0x14b)](q[t(0x153)]),n['setValue'](q[t(0x14f)]);}g[s(0x150)]['add'](function(q){q===e&&o();});function p(){const u=s;d[u(0x145)](new SetGeometryCommand(d,e,new c['OctahedronGeometry'](l['getValue'](),n['getValue']())));}return h;}export{GeometryParametersPanel};
1
+ (function(d,e){const r=b,f=d();while(!![]){try{const g=parseInt(r(0x1cf))/0x1*(-parseInt(r(0x1d6))/0x2)+-parseInt(r(0x1d3))/0x3*(parseInt(r(0x1d5))/0x4)+-parseInt(r(0x1d0))/0x5+parseInt(r(0x1c5))/0x6*(parseInt(r(0x1c6))/0x7)+-parseInt(r(0x1d4))/0x8+parseInt(r(0x1c8))/0x9+parseInt(r(0x1ce))/0xa;if(g===e)break;else f['push'](f['shift']());}catch(h){f['push'](f['shift']());}}}(a,0xe3241));import*as c from'three';import{UIDiv,UIRow,UIText,UIInteger,UINumber}from'./libs/ui.js';import{SetGeometryCommand}from'./commands/SetGeometryCommand.js';function GeometryParametersPanel(d,e){const s=b,f=d['strings'],g=d['signals'],h=new UIDiv(),i=e[s(0x1c4)],j=i[s(0x1c3)],k=new UIRow(),l=new UINumber(j[s(0x1c9)])[s(0x1d2)](p);k['add'](new UIText(f['getKey']('sidebar/geometry/octahedron_geometry/radius'))['setClass']('Label')),k[s(0x1cc)](l),h[s(0x1cc)](k);const m=new UIRow(),n=new UIInteger(j['detail'])[s(0x1ca)](0x0,Infinity)[s(0x1d2)](p);m['add'](new UIText(f[s(0x1d1)](s(0x1c7)))['setClass']('Label')),m['add'](n),h[s(0x1cc)](m);function o(){const t=s,q=e['geometry'][t(0x1c3)];l['setValue'](q['radius']),n['setValue'](q[t(0x1cb)]);}g[s(0x1cd)]['add'](function(q){q===e&&o();});function p(){d['execute'](new SetGeometryCommand(d,e,new c['OctahedronGeometry'](l['getValue'](),n['getValue']())));}return h;}function b(c,d){c=c-0x1c3;const e=a();let f=e[c];return f;}export{GeometryParametersPanel};function a(){const u=['10653336NpAGNK','4192ZIMgzR','2ussTRT','parameters','geometry','630318EhIpOF','28QlTYCB','sidebar/geometry/octahedron_geometry/detail','10530144Eplfxu','radius','setRange','detail','add','geometryChanged','28693650DzeXId','139741Qjvyre','3005480emOSlg','getKey','onChange','4170MwtPkH'];a=function(){return u;};return a();}
@@ -1 +1 @@
1
- function a(){const z=['5588850jlTKSn','widthSegments','sidebar/geometry/plane_geometry/width','sidebar/geometry/plane_geometry/heightsegments','42godjbd','814111zMbsgX','width','setRange','onChange','26675829RRHRsk','add','getValue','11337392GoSnlC','1169019TyZBtu','1933968mhNpct','setValue','getKey','heightSegments','setClass','2zrOHDu','607332VydpOI','height','Label'];a=function(){return z;};return a();}(function(d,e){const v=b,f=d();while(!![]){try{const g=parseInt(v(0x166))/0x1+parseInt(v(0x15d))/0x2*(-parseInt(v(0x16e))/0x3)+parseInt(v(0x16f))/0x4+-parseInt(v(0x161))/0x5+parseInt(v(0x15e))/0x6*(-parseInt(v(0x165))/0x7)+-parseInt(v(0x16d))/0x8+parseInt(v(0x16a))/0x9;if(g===e)break;else f['push'](f['shift']());}catch(h){f['push'](f['shift']());}}}(a,0xb2223));import*as c from'three';import{UIDiv,UIRow,UIText,UIInteger,UINumber}from'./libs/ui.js';import{SetGeometryCommand}from'./commands/SetGeometryCommand.js';function b(c,d){c=c-0x15b;const e=a();let f=e[c];return f;}function GeometryParametersPanel(d,e){const w=b,f=d['strings'],g=d['signals'],h=new UIDiv(),i=e['geometry'],j=i['parameters'],k=new UIRow(),l=new UINumber(j['width'])['onChange'](t);k['add'](new UIText(f['getKey'](w(0x163)))['setClass'](w(0x160))),k['add'](l),h['add'](k);const m=new UIRow(),n=new UINumber(j[w(0x15f)])['onChange'](t);m['add'](new UIText(f['getKey']('sidebar/geometry/plane_geometry/height'))[w(0x15c)](w(0x160))),m[w(0x16b)](n),h['add'](m);const o=new UIRow(),p=new UIInteger(j[w(0x162)])[w(0x168)](0x1,Infinity)[w(0x169)](t);o['add'](new UIText(f[w(0x171)]('sidebar/geometry/plane_geometry/widthsegments'))['setClass']('Label')),o[w(0x16b)](p),h['add'](o);const q=new UIRow(),r=new UIInteger(j['heightSegments'])[w(0x168)](0x1,Infinity)['onChange'](t);q[w(0x16b)](new UIText(f['getKey'](w(0x164)))[w(0x15c)]('Label')),q[w(0x16b)](r),h['add'](q);function s(){const x=w,u=e['geometry']['parameters'];l[x(0x170)](u[x(0x167)]),n['setValue'](u[x(0x15f)]),p['setValue'](u['widthSegments']),r[x(0x170)](u[x(0x15b)]);}g['geometryChanged'][w(0x16b)](function(u){u===e&&s();});function t(){const y=w;d['execute'](new SetGeometryCommand(d,e,new c['PlaneGeometry'](l['getValue'](),n[y(0x16c)](),p['getValue'](),r['getValue']())));}return h;}export{GeometryParametersPanel};
1
+ (function(d,e){const v=b,f=d();while(!![]){try{const g=parseInt(v(0x89))/0x1+-parseInt(v(0x86))/0x2*(parseInt(v(0x7d))/0x3)+-parseInt(v(0x92))/0x4*(parseInt(v(0x7f))/0x5)+parseInt(v(0x8c))/0x6*(parseInt(v(0x8b))/0x7)+parseInt(v(0x81))/0x8+parseInt(v(0x84))/0x9*(parseInt(v(0x83))/0xa)+-parseInt(v(0x90))/0xb;if(g===e)break;else f['push'](f['shift']());}catch(h){f['push'](f['shift']());}}}(a,0xa5b3b));import*as c from'three';import{UIDiv,UIRow,UIText,UIInteger,UINumber}from'./libs/ui.js';import{SetGeometryCommand}from'./commands/SetGeometryCommand.js';function a(){const z=['24715141gxfKDI','heightSegments','345340nrcyFC','add','getValue','signals','setRange','geometry','14031JLRnqb','getKey','5Bnnbgr','execute','8079688pwpOGm','width','1790GrSJsm','31797PtdVqP','widthSegments','110bktYtl','onChange','parameters','1099390kcilVE','setClass','615251wbbioF','36nAcXiJ','Label','sidebar/geometry/plane_geometry/heightsegments','setValue'];a=function(){return z;};return a();}function GeometryParametersPanel(d,e){const w=b,f=d['strings'],g=d[w(0x95)],h=new UIDiv(),i=e[w(0x7c)],j=i[w(0x88)],k=new UIRow(),l=new UINumber(j[w(0x82)])['onChange'](t);k[w(0x93)](new UIText(f[w(0x7e)]('sidebar/geometry/plane_geometry/width'))['setClass']('Label')),k[w(0x93)](l),h['add'](k);const m=new UIRow(),n=new UINumber(j['height'])[w(0x87)](t);m[w(0x93)](new UIText(f['getKey']('sidebar/geometry/plane_geometry/height'))[w(0x8a)]('Label')),m['add'](n),h['add'](m);const o=new UIRow(),p=new UIInteger(j[w(0x85)])['setRange'](0x1,Infinity)[w(0x87)](t);o['add'](new UIText(f[w(0x7e)]('sidebar/geometry/plane_geometry/widthsegments'))['setClass'](w(0x8d))),o[w(0x93)](p),h[w(0x93)](o);const q=new UIRow(),r=new UIInteger(j['heightSegments'])[w(0x96)](0x1,Infinity)[w(0x87)](t);q['add'](new UIText(f[w(0x7e)](w(0x8e)))[w(0x8a)](w(0x8d))),q[w(0x93)](r),h['add'](q);function s(){const x=w,u=e['geometry']['parameters'];l[x(0x8f)](u['width']),n[x(0x8f)](u['height']),p[x(0x8f)](u[x(0x85)]),r['setValue'](u[x(0x91)]);}g['geometryChanged']['add'](function(u){u===e&&s();});function t(){const y=w;d[y(0x80)](new SetGeometryCommand(d,e,new c['PlaneGeometry'](l['getValue'](),n['getValue'](),p[y(0x94)](),r[y(0x94)]())));}return h;}function b(c,d){c=c-0x7c;const e=a();let f=e[c];return f;}export{GeometryParametersPanel};
@@ -1 +1 @@
1
- (function(d,e){const z=b,f=d();while(!![]){try{const g=parseInt(z(0x1be))/0x1*(parseInt(z(0x1bc))/0x2)+-parseInt(z(0x1c0))/0x3+-parseInt(z(0x1d0))/0x4*(parseInt(z(0x1ce))/0x5)+parseInt(z(0x1c3))/0x6*(-parseInt(z(0x1c9))/0x7)+-parseInt(z(0x1b7))/0x8+parseInt(z(0x1bd))/0x9+parseInt(z(0x1bf))/0xa;if(g===e)break;else f['push'](f['shift']());}catch(h){f['push'](f['shift']());}}}(a,0xd228f));import*as c from'three';import{UIDiv,UIRow,UIText,UIInteger,UINumber}from'./libs/ui.js';import{SetGeometryCommand}from'./commands/SetGeometryCommand.js';function GeometryParametersPanel(d,e){const A=b,f=d[A(0x1ba)],g=d[A(0x1ca)],h=new UIDiv(),i=e['geometry'],j=i[A(0x1b1)],k=new UIRow(),l=new UINumber(j['innerRadius'])['onChange'](x);k['add'](new UIText(f['getKey'](A(0x1b5)))['setClass']('Label')),k[A(0x1b9)](l),h[A(0x1b9)](k);const m=new UIRow(),n=new UINumber(j[A(0x1c7)])[A(0x1c6)](x);m['add'](new UIText(f[A(0x1c2)]('sidebar/geometry/ring_geometry/outerRadius'))['setClass'](A(0x1b4))),m[A(0x1b9)](n),h[A(0x1b9)](m);const o=new UIRow(),p=new UIInteger(j['thetaSegments'])[A(0x1bb)](0x3,Infinity)['onChange'](x);o['add'](new UIText(f[A(0x1c2)](A(0x1c8)))[A(0x1cc)]('Label')),o[A(0x1b9)](p),h[A(0x1b9)](o);const q=new UIRow(),r=new UIInteger(j['phiSegments'])['setRange'](0x3,Infinity)['onChange'](x);q['add'](new UIText(f['getKey']('sidebar/geometry/ring_geometry/phiSegments'))['setClass']('Label')),q['add'](r),h[A(0x1b9)](q);const s=new UIRow(),t=new UINumber(j['thetaStart']*c[A(0x1cd)]['RAD2DEG'])['setUnit']('°')['setStep'](0xa)['onChange'](x);s[A(0x1b9)](new UIText(f['getKey'](A(0x1cf)))['setClass']('Label')),s['add'](t),h['add'](s);const u=new UIRow(),v=new UINumber(j[A(0x1c4)]*c[A(0x1cd)]['RAD2DEG'])[A(0x1b8)]('°')[A(0x1d1)](0xa)['onChange'](x);u['add'](new UIText(f[A(0x1c2)]('sidebar/geometry/ring_geometry/thetalength'))[A(0x1cc)]('Label')),u[A(0x1b9)](v),h[A(0x1b9)](u);function w(){const B=A,y=e['geometry'][B(0x1b1)];l[B(0x1b2)](y['innerRadius']),n[B(0x1b2)](y['outerRadius']),p[B(0x1b2)](y['thetaSegments']),r[B(0x1b2)](y['phiSegments']),t['setValue'](y['thetaStart']*c[B(0x1cd)]['RAD2DEG']),v[B(0x1b2)](y[B(0x1c4)]*c['MathUtils'][B(0x1b6)]);}g[A(0x1b3)][A(0x1b9)](function(y){y===e&&w();});function x(){const C=A;d[C(0x1c5)](new SetGeometryCommand(d,e,new c['RingGeometry'](l[C(0x1cb)](),n['getValue'](),p['getValue'](),r[C(0x1cb)](),t['getValue']()*c['MathUtils'][C(0x1c1)],v[C(0x1cb)]()*c['MathUtils']['DEG2RAD'])));}return h;}export{GeometryParametersPanel};function b(c,d){c=c-0x1b1;const e=a();let f=e[c];return f;}function a(){const D=['signals','getValue','setClass','MathUtils','4023605mDkLFg','sidebar/geometry/ring_geometry/thetastart','4wInECm','setStep','parameters','setValue','geometryChanged','Label','sidebar/geometry/ring_geometry/innerRadius','RAD2DEG','7722080IpNNzq','setUnit','add','strings','setRange','16452HsoRUa','3431925haaheG','167kaivrF','24507220jorrqt','3761622jwUGUH','DEG2RAD','getKey','6glLUzq','thetaLength','execute','onChange','outerRadius','sidebar/geometry/ring_geometry/thetaSegments','2247833HXWzgJ'];a=function(){return D;};return a();}
1
+ function b(c,d){c=c-0x114;const e=a();let f=e[c];return f;}(function(d,e){const z=b,f=d();while(!![]){try{const g=parseInt(z(0x133))/0x1*(-parseInt(z(0x118))/0x2)+-parseInt(z(0x126))/0x3*(parseInt(z(0x12a))/0x4)+-parseInt(z(0x119))/0x5+parseInt(z(0x120))/0x6*(-parseInt(z(0x11a))/0x7)+-parseInt(z(0x123))/0x8*(parseInt(z(0x127))/0x9)+parseInt(z(0x122))/0xa+-parseInt(z(0x121))/0xb*(-parseInt(z(0x134))/0xc);if(g===e)break;else f['push'](f['shift']());}catch(h){f['push'](f['shift']());}}}(a,0xc9248));import*as c from'three';import{UIDiv,UIRow,UIText,UIInteger,UINumber}from'./libs/ui.js';function a(){const D=['RAD2DEG','getValue','399414xWzbuN','9DwYhZk','signals','outerRadius','44ywohdp','strings','phiSegments','thetaLength','onChange','getKey','parameters','innerRadius','sidebar/geometry/ring_geometry/outerRadius','1kUgErX','1214364kHnprY','thetaStart','setRange','execute','add','DEG2RAD','sidebar/geometry/ring_geometry/thetalength','609364oPxaOM','4028110sBMlIB','7mHKjVB','Label','MathUtils','setClass','setValue','sidebar/geometry/ring_geometry/phiSegments','3278514qbhaSG','341jtQwEb','13802130MgJBpb','4577592Ukzimh'];a=function(){return D;};return a();}import{SetGeometryCommand}from'./commands/SetGeometryCommand.js';function GeometryParametersPanel(d,e){const A=b,f=d[A(0x12b)],g=d[A(0x128)],h=new UIDiv(),i=e['geometry'],j=i[A(0x130)],k=new UIRow(),l=new UINumber(j['innerRadius'])['onChange'](x);k['add'](new UIText(f['getKey']('sidebar/geometry/ring_geometry/innerRadius'))[A(0x11d)]('Label')),k[A(0x115)](l),h['add'](k);const m=new UIRow(),n=new UINumber(j[A(0x129)])[A(0x12e)](x);m[A(0x115)](new UIText(f['getKey'](A(0x132)))[A(0x11d)]('Label')),m[A(0x115)](n),h['add'](m);const o=new UIRow(),p=new UIInteger(j['thetaSegments'])[A(0x136)](0x3,Infinity)[A(0x12e)](x);o['add'](new UIText(f[A(0x12f)]('sidebar/geometry/ring_geometry/thetaSegments'))[A(0x11d)]('Label')),o[A(0x115)](p),h[A(0x115)](o);const q=new UIRow(),r=new UIInteger(j[A(0x12c)])['setRange'](0x3,Infinity)['onChange'](x);q[A(0x115)](new UIText(f['getKey'](A(0x11f)))['setClass'](A(0x11b))),q['add'](r),h['add'](q);const s=new UIRow(),t=new UINumber(j['thetaStart']*c[A(0x11c)]['RAD2DEG'])['setUnit']('°')['setStep'](0xa)[A(0x12e)](x);s['add'](new UIText(f[A(0x12f)]('sidebar/geometry/ring_geometry/thetastart'))[A(0x11d)]('Label')),s['add'](t),h[A(0x115)](s);const u=new UIRow(),v=new UINumber(j['thetaLength']*c[A(0x11c)][A(0x124)])['setUnit']('°')['setStep'](0xa)['onChange'](x);u[A(0x115)](new UIText(f[A(0x12f)](A(0x117)))['setClass'](A(0x11b))),u['add'](v),h['add'](u);function w(){const B=A,y=e['geometry'][B(0x130)];l['setValue'](y[B(0x131)]),n[B(0x11e)](y[B(0x129)]),p['setValue'](y['thetaSegments']),r[B(0x11e)](y[B(0x12c)]),t['setValue'](y[B(0x135)]*c[B(0x11c)]['RAD2DEG']),v[B(0x11e)](y[B(0x12d)]*c[B(0x11c)]['RAD2DEG']);}g['geometryChanged'][A(0x115)](function(y){y===e&&w();});function x(){const C=A;d[C(0x114)](new SetGeometryCommand(d,e,new c['RingGeometry'](l[C(0x125)](),n['getValue'](),p['getValue'](),r['getValue'](),t['getValue']()*c['MathUtils'][C(0x116)],v[C(0x125)]()*c[C(0x11c)]['DEG2RAD'])));}return h;}export{GeometryParametersPanel};
@@ -1 +1 @@
1
- (function(d,e){const r=b,f=d();while(!![]){try{const g=-parseInt(r(0x174))/0x1+parseInt(r(0x16d))/0x2+-parseInt(r(0x16b))/0x3*(-parseInt(r(0x17c))/0x4)+-parseInt(r(0x16a))/0x5+parseInt(r(0x166))/0x6*(-parseInt(r(0x175))/0x7)+parseInt(r(0x162))/0x8*(-parseInt(r(0x173))/0x9)+parseInt(r(0x177))/0xa;if(g===e)break;else f['push'](f['shift']());}catch(h){f['push'](f['shift']());}}}(a,0x44898));function b(c,d){c=c-0x161;const e=a();let f=e[c];return f;}import*as c from'three';import{UIDiv,UIRow,UIText,UIInteger,UIButton}from'./libs/ui.js';import{SetGeometryCommand}from'./commands/SetGeometryCommand.js';function GeometryParametersPanel(d,e){const s=b,f=d['strings'],g=d[s(0x171)],h=new UIDiv(),i=e[s(0x178)],j=i[s(0x169)],k=new UIRow(),l=new UIInteger(j[s(0x161)]||0xc)[s(0x170)](o)[s(0x168)](0x1,Infinity);k[s(0x17a)](new UIText(f[s(0x167)](s(0x17b)))['setClass'](s(0x16f))),k[s(0x17a)](l),h[s(0x17a)](k);const m=new UIButton(f['getKey'](s(0x16c)))['onClick'](p)[s(0x176)](s(0x16f))['setMarginLeft']('120px');h[s(0x17a)](m);function n(){const t=s,q=e['geometry'][t(0x169)];l['setValue'](q[t(0x161)]);}g[s(0x179)][s(0x17a)](function(q){q===e&&n();});function o(){const u=s;d['execute'](new SetGeometryCommand(d,e,new c[(u(0x165))](j['shapes'],l['getValue']())));}function p(){const v=s;d[v(0x172)](new SetGeometryCommand(d,e,new c[(v(0x164))](j[v(0x16e)],{'curveSegments':l[v(0x163)]()})));}return h;}export{GeometryParametersPanel};function a(){const w=['shapes','Label','onChange','signals','execute','207UYVSls','188339nZKPEh','1003856AokTBB','setClass','6156370iSxLYw','geometry','geometryChanged','add','sidebar/geometry/shape_geometry/curveSegments','4rIJlfv','curveSegments','47024rEgWgf','getValue','ExtrudeGeometry','ShapeGeometry','18iCAqsv','getKey','setRange','parameters','376635KPjnKk','616518JspBym','sidebar/geometry/shape_geometry/extrude','577338PBOMAU'];a=function(){return w;};return a();}
1
+ (function(d,e){const r=b,f=d();while(!![]){try{const g=-parseInt(r(0x7b))/0x1*(-parseInt(r(0x84))/0x2)+-parseInt(r(0x83))/0x3*(-parseInt(r(0x82))/0x4)+-parseInt(r(0x77))/0x5*(-parseInt(r(0x8a))/0x6)+-parseInt(r(0x85))/0x7*(-parseInt(r(0x7c))/0x8)+-parseInt(r(0x7a))/0x9+-parseInt(r(0x8b))/0xa+-parseInt(r(0x74))/0xb*(parseInt(r(0x86))/0xc);if(g===e)break;else f['push'](f['shift']());}catch(h){f['push'](f['shift']());}}}(a,0x8f28d));import*as c from'three';import{UIDiv,UIRow,UIText,UIInteger,UIButton}from'./libs/ui.js';function b(c,d){c=c-0x74;const e=a();let f=e[c];return f;}import{SetGeometryCommand}from'./commands/SetGeometryCommand.js';function a(){const w=['469328fVekBJ','getKey','onChange','add','setClass','ExtrudeGeometry','4YjQdca','761223jzFcyt','384392pCCunF','77dUznUv','844656piFRBN','Label','parameters','shapes','147270mJJoPa','4507630WUTgdd','44pXRGSl','strings','getValue','65AeWwQg','execute','geometryChanged','6014160pQwkmZ','4HDSMMI'];a=function(){return w;};return a();}function GeometryParametersPanel(d,e){const s=b,f=d[s(0x75)],g=d['signals'],h=new UIDiv(),i=e['geometry'],j=i['parameters'],k=new UIRow(),l=new UIInteger(j['curveSegments']||0xc)[s(0x7e)](o)['setRange'](0x1,Infinity);k[s(0x7f)](new UIText(f['getKey']('sidebar/geometry/shape_geometry/curveSegments'))[s(0x80)](s(0x87))),k['add'](l),h[s(0x7f)](k);const m=new UIButton(f[s(0x7d)]('sidebar/geometry/shape_geometry/extrude'))['onClick'](p)['setClass'](s(0x87))['setMarginLeft']('120px');h[s(0x7f)](m);function n(){const t=s,q=e['geometry'][t(0x88)];l['setValue'](q['curveSegments']);}g[s(0x79)]['add'](function(q){q===e&&n();});function o(){const u=s;d[u(0x78)](new SetGeometryCommand(d,e,new c['ShapeGeometry'](j[u(0x89)],l[u(0x76)]())));}function p(){const v=s;d['execute'](new SetGeometryCommand(d,e,new c[(v(0x81))](j[v(0x89)],{'curveSegments':l['getValue']()})));}return h;}export{GeometryParametersPanel};
@@ -1 +1 @@
1
- (function(d,e){const B=b,f=d();while(!![]){try{const g=-parseInt(B(0x155))/0x1*(-parseInt(B(0x14a))/0x2)+parseInt(B(0x157))/0x3+parseInt(B(0x14b))/0x4+parseInt(B(0x14c))/0x5+-parseInt(B(0x147))/0x6*(parseInt(B(0x13a))/0x7)+parseInt(B(0x13f))/0x8*(-parseInt(B(0x13e))/0x9)+-parseInt(B(0x14e))/0xa*(parseInt(B(0x154))/0xb);if(g===e)break;else f['push'](f['shift']());}catch(h){f['push'](f['shift']());}}}(a,0x8a610));function b(c,d){c=c-0x13a;const e=a();let f=e[c];return f;}import*as c from'three';function a(){const F=['56696lJmPdN','strings','1008489YmXTzN','Label','sidebar/geometry/sphere_geometry/radius','SphereGeometry','190820vWOSIJ','add','setRange','getValue','297vUWqKU','14888eenDca','setValue','setClass','sidebar/geometry/sphere_geometry/philength','setStep','DEG2RAD','setUnit','onChange','102tQmCoi','MathUtils','heightSegments','12UunXgr','1288104DGRSen','2288730ScHBvs','phiStart','1822390jqmSMd','getKey','RAD2DEG','sidebar/geometry/sphere_geometry/thetastart','thetaLength','geometry','22JGOKnc'];a=function(){return F;};return a();}import{UIDiv,UIRow,UIText,UIInteger,UINumber}from'./libs/ui.js';import{SetGeometryCommand}from'./commands/SetGeometryCommand.js';function GeometryParametersPanel(d,e){const C=b,f=d[C(0x156)],g=d['signals'],h=new UIDiv(),i=e['geometry'],j=i['parameters'],k=new UIRow(),l=new UINumber(j['radius'])['onChange'](z);k[C(0x13b)](new UIText(f['getKey'](C(0x159)))['setClass'](C(0x158))),k['add'](l),h[C(0x13b)](k);const m=new UIRow(),n=new UIInteger(j['widthSegments'])['setRange'](0x1,Infinity)['onChange'](z);m['add'](new UIText(f['getKey']('sidebar/geometry/sphere_geometry/widthsegments'))[C(0x141)]('Label')),m['add'](n),h[C(0x13b)](m);const o=new UIRow(),p=new UIInteger(j[C(0x149)])[C(0x13c)](0x1,Infinity)[C(0x146)](z);o[C(0x13b)](new UIText(f['getKey']('sidebar/geometry/sphere_geometry/heightsegments'))['setClass'](C(0x158))),o['add'](p),h['add'](o);const q=new UIRow(),r=new UINumber(j[C(0x14d)]*c[C(0x148)]['RAD2DEG'])['setUnit']('°')['setStep'](0xa)[C(0x146)](z);q['add'](new UIText(f[C(0x14f)]('sidebar/geometry/sphere_geometry/phistart'))['setClass']('Label')),q[C(0x13b)](r),h[C(0x13b)](q);const s=new UIRow(),t=new UINumber(j['phiLength']*c['MathUtils'][C(0x150)])[C(0x145)]('°')[C(0x143)](0xa)[C(0x146)](z);s['add'](new UIText(f['getKey'](C(0x142)))[C(0x141)](C(0x158))),s[C(0x13b)](t),h['add'](s);const u=new UIRow(),v=new UINumber(j['thetaStart']*c[C(0x148)][C(0x150)])[C(0x145)]('°')[C(0x143)](0xa)[C(0x146)](z);u[C(0x13b)](new UIText(f[C(0x14f)](C(0x151)))[C(0x141)](C(0x158))),u['add'](v),h['add'](u);const w=new UIRow(),x=new UINumber(j['thetaLength']*c[C(0x148)][C(0x150)])[C(0x145)]('°')[C(0x143)](0xa)[C(0x146)](z);w['add'](new UIText(f['getKey']('sidebar/geometry/sphere_geometry/thetalength'))[C(0x141)](C(0x158))),w['add'](x),h[C(0x13b)](w);function y(){const D=C,A=e[D(0x153)]['parameters'];l[D(0x140)](A['radius']),n[D(0x140)](A['widthSegments']),p['setValue'](A['heightSegments']),r[D(0x140)](A['phiStart']*c['MathUtils'][D(0x150)]),t['setValue'](A['phiLength']*c[D(0x148)]['RAD2DEG']),v[D(0x140)](A['thetaStart']*c[D(0x148)][D(0x150)]),x[D(0x140)](A[D(0x152)]*c[D(0x148)][D(0x150)]);}g['geometryChanged']['add'](function(A){A===e&&y();});function z(){const E=C;d['execute'](new SetGeometryCommand(d,e,new c[(E(0x15a))](l['getValue'](),n['getValue'](),p['getValue'](),r[E(0x13d)]()*c[E(0x148)]['DEG2RAD'],t[E(0x13d)]()*c['MathUtils'][E(0x144)],v['getValue']()*c[E(0x148)][E(0x144)],x[E(0x13d)]()*c[E(0x148)]['DEG2RAD'])));}return h;}export{GeometryParametersPanel};
1
+ (function(d,e){const B=b,f=d();while(!![]){try{const g=parseInt(B(0x134))/0x1*(-parseInt(B(0x132))/0x2)+-parseInt(B(0x11f))/0x3*(parseInt(B(0x10f))/0x4)+-parseInt(B(0x12f))/0x5+parseInt(B(0x115))/0x6+-parseInt(B(0x12a))/0x7*(parseInt(B(0x113))/0x8)+-parseInt(B(0x129))/0x9*(-parseInt(B(0x124))/0xa)+parseInt(B(0x12b))/0xb*(parseInt(B(0x12d))/0xc);if(g===e)break;else f['push'](f['shift']());}catch(h){f['push'](f['shift']());}}}(a,0xd7d03));import*as c from'three';import{UIDiv,UIRow,UIText,UIInteger,UINumber}from'./libs/ui.js';function b(c,d){c=c-0x10d;const e=a();let f=e[c];return f;}import{SetGeometryCommand}from'./commands/SetGeometryCommand.js';function a(){const F=['679hfRpzN','22IRgJJA','thetaLength','20833308kQXmHv','signals','5528355GmEqLw','phiLength','setStep','2353436MizLxt','getKey','1rgkQnM','thetaStart','heightSegments','4iZibsl','onChange','sidebar/geometry/sphere_geometry/widthsegments','add','17064EefczL','sidebar/geometry/sphere_geometry/thetastart','99780EjoncL','setRange','DEG2RAD','getValue','geometryChanged','setClass','radius','geometry','sidebar/geometry/sphere_geometry/radius','MathUtils','4108653FdJofI','parameters','setUnit','sidebar/geometry/sphere_geometry/thetalength','Label','30PiYDXI','setValue','RAD2DEG','sidebar/geometry/sphere_geometry/phistart','phiStart','3761892kgSURz'];a=function(){return F;};return a();}function GeometryParametersPanel(d,e){const C=b,f=d['strings'],g=d[C(0x12e)],h=new UIDiv(),i=e[C(0x11c)],j=i[C(0x120)],k=new UIRow(),l=new UINumber(j['radius'])[C(0x110)](z);k['add'](new UIText(f[C(0x133)](C(0x11d)))['setClass']('Label')),k['add'](l),h[C(0x112)](k);const m=new UIRow(),n=new UIInteger(j['widthSegments'])[C(0x116)](0x1,Infinity)['onChange'](z);m['add'](new UIText(f[C(0x133)](C(0x111)))[C(0x11a)]('Label')),m[C(0x112)](n),h['add'](m);const o=new UIRow(),p=new UIInteger(j[C(0x10e)])['setRange'](0x1,Infinity)['onChange'](z);o[C(0x112)](new UIText(f[C(0x133)]('sidebar/geometry/sphere_geometry/heightsegments'))['setClass']('Label')),o['add'](p),h[C(0x112)](o);const q=new UIRow(),r=new UINumber(j['phiStart']*c['MathUtils'][C(0x126)])['setUnit']('°')[C(0x131)](0xa)[C(0x110)](z);q['add'](new UIText(f['getKey'](C(0x127)))[C(0x11a)]('Label')),q['add'](r),h[C(0x112)](q);const s=new UIRow(),t=new UINumber(j[C(0x130)]*c['MathUtils']['RAD2DEG'])[C(0x121)]('°')['setStep'](0xa)[C(0x110)](z);s['add'](new UIText(f['getKey']('sidebar/geometry/sphere_geometry/philength'))['setClass']('Label')),s['add'](t),h[C(0x112)](s);const u=new UIRow(),v=new UINumber(j['thetaStart']*c[C(0x11e)]['RAD2DEG'])['setUnit']('°')['setStep'](0xa)[C(0x110)](z);u['add'](new UIText(f['getKey'](C(0x114)))[C(0x11a)]('Label')),u['add'](v),h[C(0x112)](u);const w=new UIRow(),x=new UINumber(j['thetaLength']*c['MathUtils'][C(0x126)])[C(0x121)]('°')['setStep'](0xa)['onChange'](z);w['add'](new UIText(f[C(0x133)](C(0x122)))[C(0x11a)](C(0x123))),w[C(0x112)](x),h[C(0x112)](w);function y(){const D=C,A=e['geometry']['parameters'];l['setValue'](A[D(0x11b)]),n[D(0x125)](A['widthSegments']),p['setValue'](A[D(0x10e)]),r['setValue'](A[D(0x128)]*c['MathUtils'][D(0x126)]),t[D(0x125)](A['phiLength']*c['MathUtils']['RAD2DEG']),v['setValue'](A[D(0x10d)]*c[D(0x11e)]['RAD2DEG']),x[D(0x125)](A[D(0x12c)]*c[D(0x11e)][D(0x126)]);}g[C(0x119)][C(0x112)](function(A){A===e&&y();});function z(){const E=C;d['execute'](new SetGeometryCommand(d,e,new c['SphereGeometry'](l[E(0x118)](),n[E(0x118)](),p[E(0x118)](),r[E(0x118)]()*c[E(0x11e)]['DEG2RAD'],t[E(0x118)]()*c[E(0x11e)][E(0x117)],v[E(0x118)]()*c[E(0x11e)]['DEG2RAD'],x['getValue']()*c[E(0x11e)]['DEG2RAD'])));}return h;}export{GeometryParametersPanel};
@@ -1 +1 @@
1
- function a(){const v=['20zcnAxK','geometryChanged','1025274epELNW','10SaJIFP','getKey','getValue','4186670fJdVqj','16TTDQWX','974393YLqIwI','9007IUJiue','setValue','add','1410969LjhFHM','TetrahedronGeometry','setClass','3559131QyYUZy','radius','geometry','setRange','Label','signals','parameters','11QtzyXo','8834748pNMpQd','8FuIihD','sidebar/geometry/tetrahedron_geometry/detail','detail'];a=function(){return v;};return a();}(function(d,e){const r=b,f=d();while(!![]){try{const g=-parseInt(r(0x17e))/0x1*(parseInt(r(0x178))/0x2)+parseInt(r(0x181))/0x3*(-parseInt(r(0x172))/0x4)+parseInt(r(0x175))/0x5*(parseInt(r(0x177))/0x6)+-parseInt(r(0x17d))/0x7+parseInt(r(0x17c))/0x8*(parseInt(r(0x184))/0x9)+-parseInt(r(0x17b))/0xa+-parseInt(r(0x170))/0xb*(-parseInt(r(0x171))/0xc);if(g===e)break;else f['push'](f['shift']());}catch(h){f['push'](f['shift']());}}}(a,0xa2dec));import*as c from'three';function b(c,d){c=c-0x16d;const e=a();let f=e[c];return f;}import{UIDiv,UIRow,UIText,UIInteger,UINumber}from'./libs/ui.js';import{SetGeometryCommand}from'./commands/SetGeometryCommand.js';function GeometryParametersPanel(d,e){const s=b,f=d['strings'],g=d[s(0x16e)],h=new UIDiv(),i=e[s(0x186)],j=i['parameters'],k=new UIRow(),l=new UINumber(j[s(0x185)])['onChange'](p);k['add'](new UIText(f[s(0x179)]('sidebar/geometry/tetrahedron_geometry/radius'))['setClass']('Label')),k[s(0x180)](l),h[s(0x180)](k);const m=new UIRow(),n=new UIInteger(j['detail'])[s(0x187)](0x0,Infinity)['onChange'](p);m['add'](new UIText(f['getKey'](s(0x173)))[s(0x183)](s(0x16d))),m[s(0x180)](n),h[s(0x180)](m);function o(){const t=s,q=e['geometry'][t(0x16f)];l[t(0x17f)](q['radius']),n[t(0x17f)](q[t(0x174)]);}g[s(0x176)][s(0x180)](function(q){q===e&&o();});function p(){const u=s;d['execute'](new SetGeometryCommand(d,e,new c[(u(0x182))](l[u(0x17a)](),n['getValue']())));}return h;}export{GeometryParametersPanel};
1
+ function b(c,d){c=c-0x1e1;const e=a();let f=e[c];return f;}function a(){const v=['sidebar/geometry/tetrahedron_geometry/detail','4052468RDQEuX','getValue','sidebar/geometry/tetrahedron_geometry/radius','3505744QHlzty','2183877qyPTZK','293649KvjKZZ','setValue','geometry','radius','7255scGwOn','Label','1368556axhmHX','414964ddADDq','TetrahedronGeometry','execute','parameters','246JPPUwd','getKey','setClass','50DToUHO','6uUMwQS','add','onChange'];a=function(){return v;};return a();}(function(d,e){const r=b,f=d();while(!![]){try{const g=parseInt(r(0x1e1))/0x1+parseInt(r(0x1e9))/0x2*(-parseInt(r(0x1f2))/0x3)+parseInt(r(0x1f8))/0x4+-parseInt(r(0x1f6))/0x5*(-parseInt(r(0x1e5))/0x6)+parseInt(r(0x1ed))/0x7+parseInt(r(0x1f0))/0x8+-parseInt(r(0x1f1))/0x9*(parseInt(r(0x1e8))/0xa);if(g===e)break;else f['push'](f['shift']());}catch(h){f['push'](f['shift']());}}}(a,0x4fca6));import*as c from'three';import{UIDiv,UIRow,UIText,UIInteger,UINumber}from'./libs/ui.js';import{SetGeometryCommand}from'./commands/SetGeometryCommand.js';function GeometryParametersPanel(d,e){const s=b,f=d['strings'],g=d['signals'],h=new UIDiv(),i=e['geometry'],j=i[s(0x1e4)],k=new UIRow(),l=new UINumber(j['radius'])[s(0x1eb)](p);k[s(0x1ea)](new UIText(f[s(0x1e6)](s(0x1ef)))[s(0x1e7)](s(0x1f7))),k['add'](l),h[s(0x1ea)](k);const m=new UIRow(),n=new UIInteger(j['detail'])['setRange'](0x0,Infinity)[s(0x1eb)](p);m['add'](new UIText(f[s(0x1e6)](s(0x1ec)))[s(0x1e7)]('Label')),m[s(0x1ea)](n),h['add'](m);function o(){const t=s,q=e[t(0x1f4)][t(0x1e4)];l[t(0x1f3)](q[t(0x1f5)]),n['setValue'](q['detail']);}g['geometryChanged'][s(0x1ea)](function(q){q===e&&o();});function p(){const u=s;d[u(0x1e3)](new SetGeometryCommand(d,e,new c[(u(0x1e2))](l[u(0x1ee)](),n['getValue']())));}return h;}export{GeometryParametersPanel};
@@ -1 +1 @@
1
- (function(c,d){const D=b,e=c();while(!![]){try{const f=parseInt(D(0x1a2))/0x1+-parseInt(D(0x1a9))/0x2+parseInt(D(0x1af))/0x3+parseInt(D(0x1b0))/0x4*(-parseInt(D(0x1a1))/0x5)+parseInt(D(0x1b6))/0x6+parseInt(D(0x1ab))/0x7+-parseInt(D(0x1a8))/0x8;if(f===d)break;else e['push'](e['shift']());}catch(g){e['push'](e['shift']());}}}(a,0xa6e68));function a(){const G=['4647237oCpCDN','bevelSize','bevelThickness','sidebar/geometry/text_geometry/bevelenabled','1617786YAdLtQ','20cnaumn','getKey','setRange','setClass','add','Label','5913816cLVeer','onChange','sidebar/geometry/text_geometry/bevelOffset','size','sidebar/geometry/text_geometry/bevelseg','getValue','font','execute','609965JEFPev','988760EMGqaU','setValue','depth','bevelEnabled','sidebar/geometry/text_geometry/bevelsize','sidebar/geometry/text_geometry/size','11862496Jbnenk','802296bLJVjO','curveSegments'];a=function(){return G;};return a();}function b(c,d){c=c-0x1a1;const e=a();let f=e[c];return f;}import{TextGeometry}from'three/addons/geometries/TextGeometry.js';import{UIDiv,UIRow,UIText,UINumber,UIInteger,UIInput,UICheckbox}from'./libs/ui.js';import{SetGeometryCommand}from'./commands/SetGeometryCommand.js';function GeometryParametersPanel(c,d){const E=b,e=c['strings'],f=new UIDiv(),g=d['geometry'],h=g['parameters']['options'],i=new UIRow(),j=new UIInput()[E(0x1a3)](h['text'])['onChange'](A);i['add'](new UIText(e[E(0x1b1)]('sidebar/geometry/text_geometry/text'))['setClass']('Label')),i['add'](j),f[E(0x1b4)](i);const k=new UIRow(),l=new UINumber()['setPrecision'](0x3)['setValue'](h[E(0x1b9)])[E(0x1b7)](A);k['add'](new UIText(e[E(0x1b1)](E(0x1a7)))['setClass'](E(0x1b5))),k[E(0x1b4)](l),f['add'](k);const m=new UIRow(),n=new UINumber()['setPrecision'](0x3)[E(0x1a3)](h[E(0x1a4)])['onChange'](A);m['add'](new UIText(e[E(0x1b1)]('sidebar/geometry/text_geometry/depth'))[E(0x1b3)]('Label')),m[E(0x1b4)](n),f['add'](m);const o=new UIRow(),p=new UIInteger(h[E(0x1aa)])[E(0x1b2)](0x1,Infinity)['onChange'](A);o[E(0x1b4)](new UIText(e['getKey']('sidebar/geometry/text_geometry/curveseg'))['setClass']('Label')),o['add'](p),f[E(0x1b4)](o);const q=new UIRow(),r=new UICheckbox(h[E(0x1a5)])['onChange'](A);q[E(0x1b4)](new UIText(e[E(0x1b1)](E(0x1ae)))[E(0x1b3)]('Label')),q['add'](r),f[E(0x1b4)](q);const s=new UIRow(),t=new UINumber(h[E(0x1ad)])['setPrecision'](0x3)['setRange'](0x0,Infinity)['onChange'](A);s['add'](new UIText(e['getKey']('sidebar/geometry/text_geometry/bevelthickness'))[E(0x1b3)](E(0x1b5))),s['add'](t),f[E(0x1b4)](s);const u=new UIRow(),v=new UINumber(h[E(0x1ac)])[E(0x1b2)](0x0,Infinity)['onChange'](A);u[E(0x1b4)](new UIText(e[E(0x1b1)](E(0x1a6)))['setClass']('Label')),u[E(0x1b4)](v),f[E(0x1b4)](u);const w=new UIRow(),x=new UINumber(h['bevelOffset'])['setRange'](0x0,Infinity)[E(0x1b7)](A);w[E(0x1b4)](new UIText(e['getKey'](E(0x1b8)))['setClass']('Label')),w[E(0x1b4)](x),f[E(0x1b4)](w);const y=new UIRow(),z=new UIInteger(h['bevelSegments'])[E(0x1b2)](0x0,Infinity)['onChange'](A);y['add'](new UIText(e['getKey'](E(0x1ba)))['setClass'](E(0x1b5))),y[E(0x1b4)](z),f[E(0x1b4)](y);function A(){const F=E,B={'text':j[F(0x1bb)](),'font':h[F(0x1bc)],'size':l[F(0x1bb)](),'depth':n['getValue'](),'curveSegments':p[F(0x1bb)](),'bevelEnabled':r['getValue'](),'bevelThickness':t[F(0x1bb)](),'bevelSize':v[F(0x1bb)](),'bevelOffset':x[F(0x1bb)](),'bevelSegments':z[F(0x1bb)]()},C=new TextGeometry(B['text'],B);c[F(0x1bd)](new SetGeometryCommand(c,d,C));}return f;}export{GeometryParametersPanel};
1
+ (function(c,d){const D=b,e=c();while(!![]){try{const f=parseInt(D(0x155))/0x1*(parseInt(D(0x13f))/0x2)+-parseInt(D(0x154))/0x3*(-parseInt(D(0x13e))/0x4)+-parseInt(D(0x143))/0x5+parseInt(D(0x156))/0x6+-parseInt(D(0x13c))/0x7+-parseInt(D(0x152))/0x8*(parseInt(D(0x149))/0x9)+-parseInt(D(0x13b))/0xa;if(f===d)break;else e['push'](e['shift']());}catch(g){e['push'](e['shift']());}}}(a,0x7b357));function a(){const G=['2109075rxrPAA','7swqVop','5895282mPjrEK','onChange','setRange','bevelSize','setValue','3317930xjvHiV','451549gMzOqp','bevelOffset','4BxWsTS','162574nXDRhR','sidebar/geometry/text_geometry/bevelseg','sidebar/geometry/text_geometry/depth','sidebar/geometry/text_geometry/bevelenabled','3021185QvdqTW','Label','getKey','getValue','strings','sidebar/geometry/text_geometry/size','15021ytMGXo','sidebar/geometry/text_geometry/bevelsize','geometry','sidebar/geometry/text_geometry/text','execute','curveSegments','add','sidebar/geometry/text_geometry/bevelthickness','text','3592NgKIKS','setClass'];a=function(){return G;};return a();}import{TextGeometry}from'three/addons/geometries/TextGeometry.js';import{UIDiv,UIRow,UIText,UINumber,UIInteger,UIInput,UICheckbox}from'./libs/ui.js';import{SetGeometryCommand}from'./commands/SetGeometryCommand.js';function b(c,d){c=c-0x138;const e=a();let f=e[c];return f;}function GeometryParametersPanel(c,d){const E=b,e=c[E(0x147)],f=new UIDiv(),g=d[E(0x14b)],h=g['parameters']['options'],i=new UIRow(),j=new UIInput()[E(0x13a)](h['text'])[E(0x157)](A);i['add'](new UIText(e[E(0x145)](E(0x14c)))['setClass']('Label')),i[E(0x14f)](j),f['add'](i);const k=new UIRow(),l=new UINumber()['setPrecision'](0x3)[E(0x13a)](h['size'])['onChange'](A);k['add'](new UIText(e['getKey'](E(0x148)))['setClass']('Label')),k['add'](l),f['add'](k);const m=new UIRow(),n=new UINumber()['setPrecision'](0x3)['setValue'](h['depth'])[E(0x157)](A);m['add'](new UIText(e[E(0x145)](E(0x141)))[E(0x153)]('Label')),m[E(0x14f)](n),f['add'](m);const o=new UIRow(),p=new UIInteger(h[E(0x14e)])['setRange'](0x1,Infinity)[E(0x157)](A);o[E(0x14f)](new UIText(e['getKey']('sidebar/geometry/text_geometry/curveseg'))[E(0x153)](E(0x144))),o[E(0x14f)](p),f[E(0x14f)](o);const q=new UIRow(),r=new UICheckbox(h['bevelEnabled'])['onChange'](A);q['add'](new UIText(e[E(0x145)](E(0x142)))['setClass'](E(0x144))),q['add'](r),f['add'](q);const s=new UIRow(),t=new UINumber(h['bevelThickness'])['setPrecision'](0x3)['setRange'](0x0,Infinity)[E(0x157)](A);s[E(0x14f)](new UIText(e['getKey'](E(0x150)))[E(0x153)]('Label')),s['add'](t),f['add'](s);const u=new UIRow(),v=new UINumber(h[E(0x139)])[E(0x138)](0x0,Infinity)[E(0x157)](A);u[E(0x14f)](new UIText(e['getKey'](E(0x14a)))[E(0x153)]('Label')),u[E(0x14f)](v),f['add'](u);const w=new UIRow(),x=new UINumber(h[E(0x13d)])[E(0x138)](0x0,Infinity)[E(0x157)](A);w[E(0x14f)](new UIText(e[E(0x145)]('sidebar/geometry/text_geometry/bevelOffset'))['setClass'](E(0x144))),w['add'](x),f['add'](w);const y=new UIRow(),z=new UIInteger(h['bevelSegments'])[E(0x138)](0x0,Infinity)[E(0x157)](A);y['add'](new UIText(e[E(0x145)](E(0x140)))['setClass']('Label')),y[E(0x14f)](z),f['add'](y);function A(){const F=E,B={'text':j[F(0x146)](),'font':h['font'],'size':l[F(0x146)](),'depth':n['getValue'](),'curveSegments':p['getValue'](),'bevelEnabled':r[F(0x146)](),'bevelThickness':t[F(0x146)](),'bevelSize':v[F(0x146)](),'bevelOffset':x['getValue'](),'bevelSegments':z['getValue']()},C=new TextGeometry(B[F(0x151)],B);c[F(0x14d)](new SetGeometryCommand(c,d,C));}return f;}export{GeometryParametersPanel};
@@ -1 +1 @@
1
- (function(d,e){const x=b,f=d();while(!![]){try{const g=parseInt(x(0x168))/0x1+-parseInt(x(0x171))/0x2*(-parseInt(x(0x17f))/0x3)+parseInt(x(0x16d))/0x4*(-parseInt(x(0x179))/0x5)+parseInt(x(0x174))/0x6+-parseInt(x(0x17b))/0x7*(-parseInt(x(0x180))/0x8)+parseInt(x(0x172))/0x9+-parseInt(x(0x167))/0xa;if(g===e)break;else f['push'](f['shift']());}catch(h){f['push'](f['shift']());}}}(a,0x88a6f));import*as c from'three';import{UIDiv,UIRow,UIText,UIInteger,UINumber}from'./libs/ui.js';function b(c,d){c=c-0x166;const e=a();let f=e[c];return f;}function a(){const B=['radialSegments','setValue','onChange','5MKGAAM','Label','668087uUurkL','getValue','MathUtils','tube','1381953otPbIn','88lQLabM','sidebar/geometry/torus_geometry/tubularsegments','TorusGeometry','radius','sidebar/geometry/torus_geometry/tube','30601490SubeEZ','503758HydarK','sidebar/geometry/torus_geometry/radialsegments','getKey','geometryChanged','add','544964ADrLGq','parameters','signals','execute','2ouKzWc','6324435UCFExR','setClass','6234852ZECajN','geometry'];a=function(){return B;};return a();}import{SetGeometryCommand}from'./commands/SetGeometryCommand.js';function GeometryParametersPanel(d,e){const y=b,f=d['strings'],g=d[y(0x16f)],h=new UIDiv(),i=e['geometry'],j=i[y(0x16e)],k=new UIRow(),l=new UINumber(j['radius'])['onChange'](v);k['add'](new UIText(f[y(0x16a)]('sidebar/geometry/torus_geometry/radius'))[y(0x173)]('Label')),k['add'](l),h['add'](k);const m=new UIRow(),n=new UINumber(j[y(0x17e)])['onChange'](v);m['add'](new UIText(f[y(0x16a)](y(0x166)))['setClass'](y(0x17a))),m[y(0x16c)](n),h['add'](m);const o=new UIRow(),p=new UIInteger(j['radialSegments'])['setRange'](0x1,Infinity)[y(0x178)](v);o['add'](new UIText(f['getKey'](y(0x169)))['setClass']('Label')),o[y(0x16c)](p),h['add'](o);const q=new UIRow(),r=new UIInteger(j['tubularSegments'])['setRange'](0x1,Infinity)[y(0x178)](v);q['add'](new UIText(f['getKey'](y(0x181)))['setClass']('Label')),q['add'](r),h[y(0x16c)](q);const s=new UIRow(),t=new UINumber(j['arc']*c[y(0x17d)]['RAD2DEG'])['setUnit']('°')['setStep'](0xa)['onChange'](v);s['add'](new UIText(f['getKey']('sidebar/geometry/torus_geometry/arc'))[y(0x173)](y(0x17a))),s[y(0x16c)](t),h['add'](s);function u(){const z=y,w=e[z(0x175)][z(0x16e)];l['setValue'](w[z(0x183)]),n[z(0x177)](w['tube']),p['setValue'](w[z(0x176)]),r['setValue'](w['tubularSegments']),t['setValue'](w['arc']*c[z(0x17d)]['RAD2DEG']);}g[y(0x16b)]['add'](function(w){w===e&&u();});function v(){const A=y;d[A(0x170)](new SetGeometryCommand(d,e,new c[(A(0x182))](l['getValue'](),n['getValue'](),p[A(0x17c)](),r['getValue'](),t['getValue']()*c['MathUtils']['DEG2RAD'])));}return h;}export{GeometryParametersPanel};
1
+ (function(d,e){const x=b,f=d();while(!![]){try{const g=parseInt(x(0x16b))/0x1*(-parseInt(x(0x16d))/0x2)+parseInt(x(0x16e))/0x3+-parseInt(x(0x171))/0x4+parseInt(x(0x173))/0x5*(parseInt(x(0x17e))/0x6)+parseInt(x(0x184))/0x7*(parseInt(x(0x178))/0x8)+parseInt(x(0x186))/0x9*(parseInt(x(0x16a))/0xa)+-parseInt(x(0x175))/0xb;if(g===e)break;else f['push'](f['shift']());}catch(h){f['push'](f['shift']());}}}(a,0x37977));import*as c from'three';import{UIDiv,UIRow,UIText,UIInteger,UINumber}from'./libs/ui.js';import{SetGeometryCommand}from'./commands/SetGeometryCommand.js';function b(c,d){c=c-0x16a;const e=a();let f=e[c];return f;}function a(){const B=['radialSegments','42YUGwYK','setUnit','parameters','strings','onChange','geometry','7FxtoPk','Label','2070riGJpr','5540rgFgSa','169dWATts','tubularSegments','2102adlsEG','1212414VWNBBP','add','setValue','9624ylNOLa','sidebar/geometry/torus_geometry/tube','3795OsZUEl','getValue','4430338pOjKNY','setRange','MathUtils','2188920EFXQJm','radius','setStep','execute','setClass'];a=function(){return B;};return a();}function GeometryParametersPanel(d,e){const y=b,f=d[y(0x181)],g=d['signals'],h=new UIDiv(),i=e[y(0x183)],j=i[y(0x180)],k=new UIRow(),l=new UINumber(j[y(0x179)])['onChange'](v);k[y(0x16f)](new UIText(f['getKey']('sidebar/geometry/torus_geometry/radius'))[y(0x17c)](y(0x185))),k['add'](l),h['add'](k);const m=new UIRow(),n=new UINumber(j['tube'])[y(0x182)](v);m[y(0x16f)](new UIText(f['getKey'](y(0x172)))[y(0x17c)](y(0x185))),m['add'](n),h['add'](m);const o=new UIRow(),p=new UIInteger(j['radialSegments'])[y(0x176)](0x1,Infinity)['onChange'](v);o[y(0x16f)](new UIText(f['getKey']('sidebar/geometry/torus_geometry/radialsegments'))['setClass'](y(0x185))),o['add'](p),h[y(0x16f)](o);const q=new UIRow(),r=new UIInteger(j['tubularSegments'])['setRange'](0x1,Infinity)[y(0x182)](v);q[y(0x16f)](new UIText(f['getKey']('sidebar/geometry/torus_geometry/tubularsegments'))[y(0x17c)](y(0x185))),q[y(0x16f)](r),h['add'](q);const s=new UIRow(),t=new UINumber(j['arc']*c[y(0x177)]['RAD2DEG'])[y(0x17f)]('°')[y(0x17a)](0xa)['onChange'](v);s[y(0x16f)](new UIText(f['getKey']('sidebar/geometry/torus_geometry/arc'))[y(0x17c)](y(0x185))),s[y(0x16f)](t),h[y(0x16f)](s);function u(){const z=y,w=e['geometry']['parameters'];l[z(0x170)](w[z(0x179)]),n['setValue'](w['tube']),p[z(0x170)](w[z(0x17d)]),r[z(0x170)](w[z(0x16c)]),t['setValue'](w['arc']*c['MathUtils']['RAD2DEG']);}g['geometryChanged'][y(0x16f)](function(w){w===e&&u();});function v(){const A=y;d[A(0x17b)](new SetGeometryCommand(d,e,new c['TorusGeometry'](l[A(0x174)](),n['getValue'](),p['getValue'](),r['getValue'](),t[A(0x174)]()*c[A(0x177)]['DEG2RAD'])));}return h;}export{GeometryParametersPanel};
@@ -1 +1 @@
1
- (function(d,e){const B=b,f=d();while(!![]){try{const g=parseInt(B(0x174))/0x1+-parseInt(B(0x16f))/0x2*(-parseInt(B(0x179))/0x3)+parseInt(B(0x163))/0x4*(parseInt(B(0x16c))/0x5)+-parseInt(B(0x16e))/0x6*(-parseInt(B(0x178))/0x7)+parseInt(B(0x168))/0x8*(parseInt(B(0x17b))/0x9)+-parseInt(B(0x164))/0xa*(-parseInt(B(0x177))/0xb)+parseInt(B(0x17d))/0xc*(-parseInt(B(0x17c))/0xd);if(g===e)break;else f['push'](f['shift']());}catch(h){f['push'](f['shift']());}}}(a,0x48e09));import*as c from'three';import{UIDiv,UIRow,UIText,UIInteger,UINumber}from'./libs/ui.js';function b(c,d){c=c-0x162;const e=a();let f=e[c];return f;}import{SetGeometryCommand}from'./commands/SetGeometryCommand.js';function GeometryParametersPanel(d,e){const C=b,f=d['strings'],g=d['signals'],h=new UIDiv(),i=e[C(0x17a)],j=i['parameters'],k=new UIRow(),l=new UINumber(j['radius'])[C(0x162)](z);k['add'](new UIText(f['getKey'](C(0x16d)))['setClass']('Label')),k[C(0x172)](l),h['add'](k);const m=new UIRow(),n=new UINumber(j['tube'])[C(0x162)](z);m['add'](new UIText(f[C(0x169)](C(0x171)))[C(0x170)]('Label')),m[C(0x172)](n),h[C(0x172)](m);const o=new UIRow(),r=new UIInteger(j[C(0x166)])['setRange'](0x1,Infinity)['onChange'](z);o['add'](new UIText(f[C(0x169)]('sidebar/geometry/torusKnot_geometry/tubularsegments'))['setClass']('Label')),o[C(0x172)](r),h['add'](o);const s=new UIRow(),t=new UIInteger(j['radialSegments'])[C(0x176)](0x1,Infinity)['onChange'](z);s[C(0x172)](new UIText(f['getKey']('sidebar/geometry/torusKnot_geometry/radialsegments'))['setClass']('Label')),s[C(0x172)](t),h['add'](s);const u=new UIRow(),v=new UIInteger(j['p'])['onChange'](z);u[C(0x172)](new UIText(f[C(0x169)]('sidebar/geometry/torusKnot_geometry/p'))['setClass']('Label')),u[C(0x172)](v),h['add'](u);const w=new UIRow(),x=new UIInteger(j['q'])[C(0x162)](z);w[C(0x172)](new UIText(f[C(0x169)]('sidebar/geometry/torusKnot_geometry/q'))[C(0x170)]('Label')),w['add'](x),h[C(0x172)](w);function y(){const D=C,A=e['geometry']['parameters'];l[D(0x173)](A['radius']),n[D(0x173)](A[D(0x165)]),r['setValue'](A['tubularSegments']),t[D(0x173)](A[D(0x16a)]),v[D(0x173)](A['p']),x[D(0x173)](A['q']);}g['geometryChanged']['add'](function(A){A===e&&y();});function z(){const E=C;d[E(0x175)](new SetGeometryCommand(d,e,new c[(E(0x16b))](l[E(0x167)](),n['getValue'](),r['getValue'](),t[E(0x167)](),v[E(0x167)](),x[E(0x167)]())));}return h;}function a(){const F=['229164fjIAmd','1164qHbfWT','onChange','28DyLXLD','1773570mOmvWS','tube','tubularSegments','getValue','32jZoTTS','getKey','radialSegments','TorusKnotGeometry','249745IqkeiB','sidebar/geometry/torusKnot_geometry/radius','66dMBokF','8UjAVHD','setClass','sidebar/geometry/torusKnot_geometry/tube','add','setValue','544349YVIVGs','execute','setRange','22SFhnVg','171339EChyvi','282381wiOQmg','geometry','256410thMYDv'];a=function(){return F;};return a();}export{GeometryParametersPanel};
1
+ (function(d,e){const B=b,f=d();while(!![]){try{const g=parseInt(B(0x1aa))/0x1+parseInt(B(0x1b0))/0x2+-parseInt(B(0x1a2))/0x3+-parseInt(B(0x1b6))/0x4+-parseInt(B(0x1a6))/0x5*(-parseInt(B(0x1b4))/0x6)+-parseInt(B(0x1b8))/0x7*(parseInt(B(0x19f))/0x8)+-parseInt(B(0x19e))/0x9*(parseInt(B(0x1a9))/0xa);if(g===e)break;else f['push'](f['shift']());}catch(h){f['push'](f['shift']());}}}(a,0x5574d));import*as c from'three';import{UIDiv,UIRow,UIText,UIInteger,UINumber}from'./libs/ui.js';import{SetGeometryCommand}from'./commands/SetGeometryCommand.js';function a(){const F=['onChange','10LWKsIn','595623siYJnN','tubularSegments','setClass','parameters','strings','radius','610600WeVkbw','setRange','radialSegments','sidebar/geometry/torusKnot_geometry/p','66576aSSyZW','getKey','278748ZDlfLC','getValue','7VTUoTS','setValue','2484387Klzhfz','2618288lkHupb','geometryChanged','tube','465834MdoSDX','TorusKnotGeometry','sidebar/geometry/torusKnot_geometry/tube','add','125nNlBox','Label'];a=function(){return F;};return a();}function GeometryParametersPanel(d,e){const C=b,f=d[C(0x1ae)],g=d['signals'],h=new UIDiv(),i=e['geometry'],j=i['parameters'],k=new UIRow(),l=new UINumber(j['radius'])['onChange'](z);k[C(0x1a5)](new UIText(f[C(0x1b5)]('sidebar/geometry/torusKnot_geometry/radius'))['setClass'](C(0x1a7))),k[C(0x1a5)](l),h['add'](k);const m=new UIRow(),n=new UINumber(j[C(0x1a1)])['onChange'](z);m['add'](new UIText(f['getKey'](C(0x1a4)))['setClass']('Label')),m[C(0x1a5)](n),h[C(0x1a5)](m);const o=new UIRow(),r=new UIInteger(j[C(0x1ab)])['setRange'](0x1,Infinity)[C(0x1a8)](z);o[C(0x1a5)](new UIText(f['getKey']('sidebar/geometry/torusKnot_geometry/tubularsegments'))['setClass'](C(0x1a7))),o[C(0x1a5)](r),h[C(0x1a5)](o);const s=new UIRow(),t=new UIInteger(j[C(0x1b2)])[C(0x1b1)](0x1,Infinity)[C(0x1a8)](z);s['add'](new UIText(f['getKey']('sidebar/geometry/torusKnot_geometry/radialsegments'))['setClass'](C(0x1a7))),s[C(0x1a5)](t),h['add'](s);const u=new UIRow(),v=new UIInteger(j['p'])[C(0x1a8)](z);u[C(0x1a5)](new UIText(f[C(0x1b5)](C(0x1b3)))[C(0x1ac)]('Label')),u['add'](v),h[C(0x1a5)](u);const w=new UIRow(),x=new UIInteger(j['q'])[C(0x1a8)](z);w['add'](new UIText(f[C(0x1b5)]('sidebar/geometry/torusKnot_geometry/q'))[C(0x1ac)](C(0x1a7))),w[C(0x1a5)](x),h[C(0x1a5)](w);function y(){const D=C,A=e['geometry'][D(0x1ad)];l[D(0x1b9)](A[D(0x1af)]),n[D(0x1b9)](A[D(0x1a1)]),r[D(0x1b9)](A[D(0x1ab)]),t['setValue'](A[D(0x1b2)]),v['setValue'](A['p']),x[D(0x1b9)](A['q']);}g[C(0x1a0)]['add'](function(A){A===e&&y();});function z(){const E=C;d['execute'](new SetGeometryCommand(d,e,new c[(E(0x1a3))](l[E(0x1b7)](),n['getValue'](),r[E(0x1b7)](),t[E(0x1b7)](),v['getValue'](),x['getValue']())));}return h;}function b(c,d){c=c-0x19e;const e=a();let f=e[c];return f;}export{GeometryParametersPanel};
@@ -1 +1 @@
1
- (function(d,e){const B=b,f=d();while(!![]){try{const g=-parseInt(B(0x1d7))/0x1*(parseInt(B(0x1c1))/0x2)+-parseInt(B(0x1b8))/0x3+parseInt(B(0x1b7))/0x4*(-parseInt(B(0x1c8))/0x5)+parseInt(B(0x1b6))/0x6*(-parseInt(B(0x1d6))/0x7)+parseInt(B(0x1bb))/0x8*(-parseInt(B(0x1bd))/0x9)+parseInt(B(0x1d8))/0xa+parseInt(B(0x1cc))/0xb*(parseInt(B(0x1b4))/0xc);if(g===e)break;else f['push'](f['shift']());}catch(h){f['push'](f['shift']());}}}(a,0x20371));import*as c from'three';import{UIDiv,UIRow,UIText,UIInteger,UISelect,UICheckbox,UINumber}from'./libs/ui.js';function b(c,d){c=c-0x1b4;const e=a();let f=e[c];return f;}import{UIPoints3}from'./libs/ui.three.js';function a(){const F=['9KgkvaB','sidebar/geometry/tube_geometry/curvetype','sidebar/geometry/tube_geometry/radius','strings','2yPCwmi','setStep','Label','radialSegments','geometryChanged','parameters','path','5AHRCAS','setClass','execute','chordal','77IzsDpq','onChange','getValue','TubeGeometry','sidebar/geometry/tube_geometry/tension','tension','curveType','catmullrom','setValue','closed','259CWTveG','111646EvOQAB','1512010HOJMOv','getKey','1074552LWppxc','tubularSegments','4572sbfydw','471620lbGkqh','784422yOeUDu','points','add','1014808RYyGbE','setDisplay'];a=function(){return F;};return a();}import{SetGeometryCommand}from'./commands/SetGeometryCommand.js';function GeometryParametersPanel(d,e){const C=b,f=d[C(0x1c0)],g=d['signals'],h=new UIDiv(),i=e['geometry'],j=i[C(0x1c6)],k=new UIRow();k[C(0x1ba)](new UIText(f['getKey']('sidebar/geometry/tube_geometry/path'))['setClass']('Label'));const l=new UIPoints3()['setValue'](j[C(0x1c7)][C(0x1b9)])[C(0x1cd)](z);k[C(0x1ba)](l),h['add'](k);const m=new UIRow(),n=new UINumber(j['radius'])[C(0x1cd)](z);m['add'](new UIText(f['getKey'](C(0x1bf)))[C(0x1c9)]('Label')),m['add'](n),h[C(0x1ba)](m);const o=new UIRow(),p=new UIInteger(j[C(0x1b5)])['onChange'](z);o[C(0x1ba)](new UIText(f['getKey']('sidebar/geometry/tube_geometry/tubularsegments'))['setClass']('Label')),o['add'](p),h[C(0x1ba)](o);const q=new UIRow(),r=new UIInteger(j[C(0x1c4)])['onChange'](z);q['add'](new UIText(f['getKey']('sidebar/geometry/tube_geometry/radialsegments'))['setClass']('Label')),q[C(0x1ba)](r),h[C(0x1ba)](q);const s=new UIRow(),t=new UICheckbox(j['closed'])['onChange'](z);s['add'](new UIText(f[C(0x1d9)]('sidebar/geometry/tube_geometry/closed'))[C(0x1c9)]('Label')),s[C(0x1ba)](t),h['add'](s);const u=new UIRow(),v=new UISelect()['setOptions']({'centripetal':'centripetal','chordal':C(0x1cb),'catmullrom':C(0x1d3)})[C(0x1d4)](j['path']['curveType'])['onChange'](z);u['add'](new UIText(f['getKey'](C(0x1be)))['setClass'](C(0x1c3)),v),h[C(0x1ba)](u);const w=new UIRow()[C(0x1bc)](v['getValue']()==C(0x1d3)?'':'none'),x=new UINumber(j['path']['tension'])[C(0x1c2)](0.01)[C(0x1cd)](z);w[C(0x1ba)](new UIText(f[C(0x1d9)](C(0x1d0)))['setClass']('Label'),x),h[C(0x1ba)](w);function y(){const D=C,A=e['geometry']['parameters'];p[D(0x1d4)](A['tubularSegments']),n['setValue'](A['radius']),r[D(0x1d4)](A[D(0x1c4)]),t[D(0x1d4)](A[D(0x1d5)]),l[D(0x1d4)](A['path']['points'],![]),v[D(0x1d4)](A[D(0x1c7)][D(0x1d2)]),x['setValue'](A[D(0x1c7)][D(0x1d1)]),w['setDisplay'](v[D(0x1ce)]()=='catmullrom'?'':'none');}g[C(0x1c5)][C(0x1ba)](function(A){A===e&&y();});function z(){const E=C;w[E(0x1bc)](v[E(0x1ce)]()==E(0x1d3)?'':'none'),d[E(0x1ca)](new SetGeometryCommand(d,e,new c[(E(0x1cf))](new c['CatmullRomCurve3'](l['getValue'](),t[E(0x1ce)](),v['getValue'](),x['getValue']()),p[E(0x1ce)](),n['getValue'](),r['getValue'](),t['getValue']())));}return h;}export{GeometryParametersPanel};
1
+ (function(d,e){const B=b,f=d();while(!![]){try{const g=parseInt(B(0x1c7))/0x1*(-parseInt(B(0x1c6))/0x2)+parseInt(B(0x1b9))/0x3*(-parseInt(B(0x1c2))/0x4)+-parseInt(B(0x1c5))/0x5+-parseInt(B(0x1b8))/0x6*(-parseInt(B(0x1a7))/0x7)+-parseInt(B(0x1a6))/0x8+parseInt(B(0x1c0))/0x9+parseInt(B(0x1b5))/0xa;if(g===e)break;else f['push'](f['shift']());}catch(h){f['push'](f['shift']());}}}(a,0xcad9e));import*as c from'three';import{UIDiv,UIRow,UIText,UIInteger,UISelect,UICheckbox,UINumber}from'./libs/ui.js';import{UIPoints3}from'./libs/ui.three.js';import{SetGeometryCommand}from'./commands/SetGeometryCommand.js';function GeometryParametersPanel(d,e){const C=b,f=d[C(0x1bb)],g=d['signals'],h=new UIDiv(),i=e[C(0x1ab)],j=i['parameters'],k=new UIRow();k[C(0x1b7)](new UIText(f[C(0x1be)](C(0x1b4)))[C(0x1ad)](C(0x1bf)));const l=new UIPoints3()[C(0x1b1)](j['path']['points'])['onChange'](z);k[C(0x1b7)](l),h['add'](k);const m=new UIRow(),n=new UINumber(j[C(0x1ae)])[C(0x1bd)](z);m[C(0x1b7)](new UIText(f['getKey']('sidebar/geometry/tube_geometry/radius'))['setClass'](C(0x1bf))),m['add'](n),h['add'](m);const o=new UIRow(),p=new UIInteger(j[C(0x1b2)])['onChange'](z);o['add'](new UIText(f['getKey']('sidebar/geometry/tube_geometry/tubularsegments'))[C(0x1ad)]('Label')),o['add'](p),h[C(0x1b7)](o);const q=new UIRow(),r=new UIInteger(j[C(0x1c4)])[C(0x1bd)](z);q['add'](new UIText(f['getKey']('sidebar/geometry/tube_geometry/radialsegments'))['setClass']('Label')),q['add'](r),h[C(0x1b7)](q);const s=new UIRow(),t=new UICheckbox(j[C(0x1c3)])['onChange'](z);s[C(0x1b7)](new UIText(f['getKey']('sidebar/geometry/tube_geometry/closed'))[C(0x1ad)](C(0x1bf))),s['add'](t),h[C(0x1b7)](s);const u=new UIRow(),v=new UISelect()['setOptions']({'centripetal':'centripetal','chordal':'chordal','catmullrom':'catmullrom'})['setValue'](j['path'][C(0x1b6)])['onChange'](z);u['add'](new UIText(f['getKey'](C(0x1b0)))[C(0x1ad)]('Label'),v),h['add'](u);const w=new UIRow()['setDisplay'](v['getValue']()=='catmullrom'?'':C(0x1bc)),x=new UINumber(j['path'][C(0x1b3)])['setStep'](0.01)['onChange'](z);w[C(0x1b7)](new UIText(f['getKey'](C(0x1a9)))[C(0x1ad)](C(0x1bf)),x),h['add'](w);function y(){const D=C,A=e[D(0x1ab)][D(0x1af)];p['setValue'](A['tubularSegments']),n[D(0x1b1)](A[D(0x1ae)]),r['setValue'](A[D(0x1c4)]),t['setValue'](A['closed']),l['setValue'](A[D(0x1ac)]['points'],![]),v['setValue'](A[D(0x1ac)]['curveType']),x[D(0x1b1)](A[D(0x1ac)]['tension']),w[D(0x1ba)](v[D(0x1a5)]()==D(0x1a8)?'':D(0x1bc));}g['geometryChanged'][C(0x1b7)](function(A){A===e&&y();});function z(){const E=C;w[E(0x1ba)](v['getValue']()==E(0x1a8)?'':E(0x1bc)),d[E(0x1aa)](new SetGeometryCommand(d,e,new c[(E(0x1c1))](new c['CatmullRomCurve3'](l['getValue'](),t['getValue'](),v[E(0x1a5)](),x['getValue']()),p['getValue'](),n[E(0x1a5)](),r[E(0x1a5)](),t['getValue']())));}return h;}export{GeometryParametersPanel};function b(c,d){c=c-0x1a5;const e=a();let f=e[c];return f;}function a(){const F=['closed','radialSegments','166400jozcRo','3532EEOgyW','139SaFvLs','getValue','12879440DzsAsK','7744709ndEtlH','catmullrom','sidebar/geometry/tube_geometry/tension','execute','geometry','path','setClass','radius','parameters','sidebar/geometry/tube_geometry/curvetype','setValue','tubularSegments','tension','sidebar/geometry/tube_geometry/path','24152530pEibFW','curveType','add','6SWJPfr','9nINuLf','setDisplay','strings','none','onChange','getKey','Label','4092489uxRFnM','TubeGeometry','1675732RDYxjS'];a=function(){return F;};return a();}
@@ -1 +1 @@
1
- (function(d,e){const Q=b,f=d();while(!![]){try{const g=parseInt(Q(0xfc))/0x1+parseInt(Q(0xf6))/0x2+parseInt(Q(0x101))/0x3+parseInt(Q(0xe9))/0x4*(parseInt(Q(0xd2))/0x5)+-parseInt(Q(0xe4))/0x6+-parseInt(Q(0xf9))/0x7+parseInt(Q(0x104))/0x8;if(g===e)break;else f['push'](f['shift']());}catch(h){f['push'](f['shift']());}}}(a,0x3ec49));import*as c from'three';import{UIPanel,UIRow,UIText,UIInput,UIButton,UISpan,UITextArea,UINumber,UIDiv,UIBreak}from'./libs/ui.js';import{SetGeometryValueCommand}from'./commands/SetGeometryValueCommand.js';function a(){const a2=['fail','geometryChanged','onClick','7px','3029856YntnZA','userData','objectChanged','objectSelected','setRange','4cGshKs','MathUtils','sidebar/geometry/export','signals','40px','success','sidebar/geometry/morph','selected','Label','onKeyUp','type','none','setClass','568562SzUPyW','parse','setWidth','3541223bHLjap','setValue','save','157222IorFnA','setHeight','sidebar/geometry/name','keys','boundingBox','1030278mAWnGG','setMarginLeft','execute','3566576bOQZxh','dispatch','InstancedBufferGeometry','name','setFontSize','hasAttribute','remove','min','add','<br/>','helpers','BufferGeometry','morphTargetInfluences','morphTargetsUpdated','dom','setBorderTop','classList','geometry','20px','floor','clear','186055eHkrJO','stringify','setInnerHTML','getKey','strings','150px','setMarginTop','getValue','replace','sidebar/geometry/uuid','uppercase','length','setDisabled','setDisplay'];a=function(){return a2;};return a();}function b(c,d){c=c-0xbf;const e=a();let f=e[c];return f;}import{SidebarGeometryBufferGeometry}from'./Sidebar.Geometry.BufferGeometry.js';import{SidebarGeometryModifiers}from'./Sidebar.Geometry.Modifiers.js';import{VertexNormalsHelper}from'three/addons/helpers/VertexNormalsHelper.js';function SidebarGeometry(d){const R=b,e=d[R(0xd6)],f=d[R(0xec)],g=new UIPanel();g[R(0xcc)]('0'),g[R(0xdf)](R(0xf4)),g['setPaddingTop'](R(0xcf));let h=null;const i=new UIRow(),j=new UIText();i['add'](new UIText(e[R(0xd5)]('sidebar/geometry/type'))['setClass'](R(0xf1))),i[R(0xc5)](j),g['add'](i);const k=new UIRow(),l=new UIInput()[R(0xf8)]('102px')[R(0xc1)]('12px')[R(0xde)](!![]),m=new UIButton(e['getKey']('sidebar/geometry/new'))[R(0x102)](R(0xe3))['onClick'](function(){const S=R;l['setValue'](c[S(0xea)]['generateUUID']()),d[S(0x103)](new SetGeometryValueCommand(d,d['selected'],'uuid',l[S(0xd9)]()));});k[R(0xc5)](new UIText(e['getKey'](R(0xdb)))['setClass']('Label')),k[R(0xc5)](l),k[R(0xc5)](m),g[R(0xc5)](k);const n=new UIRow(),o=new UIInput()['setWidth'](R(0xd7))[R(0xc1)]('12px')['onChange'](function(){const T=R;d['execute'](new SetGeometryValueCommand(d,d[T(0xf0)],T(0xc0),o['getValue']()));});n[R(0xc5)](new UIText(e['getKey'](R(0xfe)))['setClass']('Label')),n[R(0xc5)](o),g['add'](n);const p=new UISpan();g[R(0xc5)](p),g[R(0xc5)](new SidebarGeometryBufferGeometry(d));const q=new UIText()['setFontSize']('12px'),r=new UIRow();r['add'](new UIText(e[R(0xd5)]('sidebar/geometry/bounds'))['setClass'](R(0xf1))),r[R(0xc5)](q),g['add'](r);const s=new UIRow(),t=new UITextArea()[R(0xfa)]('{}')['setWidth']('150px')[R(0xfd)](R(0xed))[R(0xc1)]('12px')['onChange'](function(){const U=R;try{const D=JSON[U(0xf7)](t['getValue']());JSON[U(0xd3)](d['selected']['geometry']['userData'])!=JSON['stringify'](D)&&(d[U(0x103)](new SetGeometryValueCommand(d,d[U(0xf0)],'userData',D)),z());}catch(E){console['warn'](E);}});t[R(0xf2)](function(){const V=R;try{JSON['parse'](t['getValue']()),t[V(0xcb)][V(0xcd)][V(0xc5)](V(0xee)),t[V(0xcb)]['classList']['remove'](V(0xe0));}catch(D){t['dom'][V(0xcd)][V(0xc3)]('success'),t[V(0xcb)]['classList'][V(0xc5)](V(0xe0));}}),s['add'](new UIText(e['getKey']('sidebar/geometry/userdata'))[R(0xf5)](R(0xf1))),s[R(0xc5)](t),g[R(0xc5)](s);const u=new UIRow()['setMarginLeft']('120px');g[R(0xc5)](u);const v=new UIButton(e['getKey']('sidebar/geometry/show_vertex_normals'));v['onClick'](function(){const W=R,D=d['selected'];d[W(0xc7)][D['id']]===undefined?d['addHelper'](D,new VertexNormalsHelper(D)):d['removeHelper'](D),f['sceneGraphChanged'][W(0x105)]();}),u[R(0xc5)](v);const w=new UIButton(e['getKey'](R(0xeb)));w['setMarginLeft']('120px'),w[R(0xe2)](function(){const X=R,D=d[X(0xf0)],E=D[X(0xce)];let F=E['toJSON']();try{F=JSON['stringify'](F,null,'\x09'),F=F[X(0xda)](/[\n\t]+([\d\.e\-\[\]]+)/g,'$1');}catch(G){F=JSON['stringify'](F);}d['utils'][X(0xfb)](new Blob([F]),(o['getValue']()||'geometry')+'.json');}),g[R(0xc5)](w);const x=new UIDiv();x[R(0xd8)](R(0xcf)),x['setDisplay'](R(0xf4)),g['add'](x),x['add'](new UIText(e[R(0xd5)](R(0xef)))['setTextTransform'](R(0xdc))),x[R(0xc5)](new UIBreak()),x[R(0xc5)](new UIBreak());const y=new UIDiv();x['add'](y);async function z(){const Y=R,D=d[Y(0xf0)];if(D&&D['geometry']){const E=D['geometry'];g[Y(0xdf)]('block'),j['setValue'](E['type']),l['setValue'](E['uuid']),o['setValue'](E['name']);if(h!==E['type']){p['clear']();if(E[Y(0xf3)]===Y(0xc8)||E[Y(0xf3)]===Y(0xbf))p['add'](new SidebarGeometryModifiers(d,D));else{const {GeometryParametersPanel:K}=await import('./Sidebar.Geometry.'+E['type']+'.js');p['add'](new K(d,D));}h=E['type'];}if(E['boundingBox']===null)E['computeBoundingBox']();const F=E[Y(0x100)],G=Math[Y(0xd0)]((F['max']['x']-F[Y(0xc4)]['x'])*0x3e8)/0x3e8,H=Math[Y(0xd0)]((F['max']['y']-F[Y(0xc4)]['y'])*0x3e8)/0x3e8,I=Math[Y(0xd0)]((F['max']['z']-F[Y(0xc4)]['z'])*0x3e8)/0x3e8;q[Y(0xd4)](G+'<br/>'+H+Y(0xc6)+I),u['setDisplay'](E[Y(0xc2)]('normal')?'':'none'),t['setValue'](JSON[Y(0xd3)](E[Y(0xe5)],null,'\x20\x20'));const J=d['helpers'][D['id']];J!==undefined&&J['isVertexNormalsHelper']===!![]&&(d['removeHelper'](D),d['addHelper'](D,new VertexNormalsHelper(D)));A[Y(0xdd)]=0x0,y[Y(0xd1)]();if(D['morphTargetInfluences']){const L=D['morphTargetDictionary'],M=D['morphTargetInfluences'],N=Object[Y(0xff)](L);for(let O=0x0;O<N['length'];O++){const P=N[O];y[Y(0xc5)](new B(O,P,M));}x[Y(0xdf)]('');}else x['setDisplay']('none');}}const A=[];function B(D,E,F){const Z=R,G=new UIRow(),H=new UIText(E)[Z(0xf8)]('200px');G['add'](H);const I=new UINumber()['setWidth']('60px')[Z(0xe8)](0x0,0x1)['onChange'](function J(){const a0=Z;F[D]=I['getValue'](),f[a0(0xe6)][a0(0x105)](d[a0(0xf0)]);});return I[Z(0xfa)](F[D]),G[Z(0xc5)](I),A['push'](I),G;}function C(){const a1=R,D=d[a1(0xf0)];if(D!==null&&D[a1(0xc9)])for(let E=0x0;E<A['length'];E++){const F=A[E];F[a1(0xfa)](D['morphTargetInfluences'][E]);}}return f[R(0xe7)][R(0xc5)](function(){h=null,z();}),f[R(0xe1)][R(0xc5)](z),f[R(0xca)][R(0xc5)](C),g;}export{SidebarGeometry};
1
+ (function(d,e){const Q=b,f=d();while(!![]){try{const g=parseInt(Q(0x1b4))/0x1*(-parseInt(Q(0x1bc))/0x2)+parseInt(Q(0x1ad))/0x3+-parseInt(Q(0x1d8))/0x4+parseInt(Q(0x1c2))/0x5+parseInt(Q(0x1d4))/0x6+parseInt(Q(0x1ab))/0x7*(-parseInt(Q(0x1b2))/0x8)+parseInt(Q(0x1c1))/0x9;if(g===e)break;else f['push'](f['shift']());}catch(h){f['push'](f['shift']());}}}(a,0x6e366));import*as c from'three';import{UIPanel,UIRow,UIText,UIInput,UIButton,UISpan,UITextArea,UINumber,UIDiv,UIBreak}from'./libs/ui.js';function b(c,d){c=c-0x195;const e=a();let f=e[c];return f;}import{SetGeometryValueCommand}from'./commands/SetGeometryValueCommand.js';import{SidebarGeometryBufferGeometry}from'./Sidebar.Geometry.BufferGeometry.js';import{SidebarGeometryModifiers}from'./Sidebar.Geometry.Modifiers.js';import{VertexNormalsHelper}from'three/addons/helpers/VertexNormalsHelper.js';function a(){const a2=['setValue','16562gKIDAV','none','140277hBXJGI','setClass','7px','utils','min','536jbBeqh','<br/>','166BAAVwg','MathUtils','keys','max','setDisplay','setMarginLeft','setRange','remove','3138fmLcSr','parse','setFontSize','name','getValue','431037qDdwNq','3182465YYUdPK','addHelper','12px','sceneGraphChanged','morphTargetInfluences','InstancedBufferGeometry','setTextTransform','success','uuid','add','setHeight','Label','dispatch','execute','BufferGeometry','60px','generateUUID','normal','2441214bOauzB','onKeyUp','clear','type','1070432VGkdTM','20px','geometry','onClick','getKey','boundingBox','helpers','userData','onChange','toJSON','length','selected','setMarginTop','120px','.js','sidebar/geometry/new','200px','setWidth','replace','floor','classList','stringify','computeBoundingBox','block','setPaddingTop','dom'];a=function(){return a2;};return a();}function SidebarGeometry(d){const R=b,e=d['strings'],f=d['signals'],g=new UIPanel();g['setBorderTop']('0'),g[R(0x1b8)]('none'),g[R(0x1a8)]('20px');let h=null;const i=new UIRow(),j=new UIText();i['add'](new UIText(e['getKey']('sidebar/geometry/type'))[R(0x1ae)](R(0x1cd))),i[R(0x1cb)](j),g['add'](i);const k=new UIRow(),l=new UIInput()[R(0x1a1)]('102px')['setFontSize']('12px')['setDisabled'](!![]),m=new UIButton(e[R(0x1dc)](R(0x19f)))[R(0x1b9)](R(0x1af))[R(0x1db)](function(){const S=R;l['setValue'](c[S(0x1b5)][S(0x1d2)]()),d[S(0x1cf)](new SetGeometryValueCommand(d,d['selected'],S(0x1ca),l[S(0x1c0)]()));});k['add'](new UIText(e['getKey']('sidebar/geometry/uuid'))['setClass']('Label')),k[R(0x1cb)](l),k[R(0x1cb)](m),g['add'](k);const n=new UIRow(),o=new UIInput()[R(0x1a1)]('150px')[R(0x1be)]('12px')['onChange'](function(){const T=R;d[T(0x1cf)](new SetGeometryValueCommand(d,d['selected'],T(0x1bf),o['getValue']()));});n['add'](new UIText(e[R(0x1dc)]('sidebar/geometry/name'))['setClass'](R(0x1cd))),n['add'](o),g[R(0x1cb)](n);const p=new UISpan();g[R(0x1cb)](p),g[R(0x1cb)](new SidebarGeometryBufferGeometry(d));const q=new UIText()['setFontSize'](R(0x1c4)),r=new UIRow();r['add'](new UIText(e['getKey']('sidebar/geometry/bounds'))['setClass'](R(0x1cd))),r[R(0x1cb)](q),g[R(0x1cb)](r);const s=new UIRow(),t=new UITextArea()['setValue']('{}')['setWidth']('150px')[R(0x1cc)]('40px')['setFontSize'](R(0x1c4))['onChange'](function(){const U=R;try{const D=JSON[U(0x1bd)](t['getValue']());JSON['stringify'](d[U(0x19b)][U(0x1da)][U(0x197)])!=JSON['stringify'](D)&&(d[U(0x1cf)](new SetGeometryValueCommand(d,d[U(0x19b)],'userData',D)),z());}catch(E){console['warn'](E);}});t[R(0x1d5)](function(){const V=R;try{JSON['parse'](t['getValue']()),t['dom'][V(0x1a4)]['add'](V(0x1c9)),t[V(0x1a9)]['classList'][V(0x1bb)]('fail');}catch(D){t[V(0x1a9)][V(0x1a4)]['remove'](V(0x1c9)),t[V(0x1a9)][V(0x1a4)][V(0x1cb)]('fail');}}),s['add'](new UIText(e[R(0x1dc)]('sidebar/geometry/userdata'))[R(0x1ae)](R(0x1cd))),s[R(0x1cb)](t),g[R(0x1cb)](s);const u=new UIRow()['setMarginLeft']('120px');g[R(0x1cb)](u);const v=new UIButton(e['getKey']('sidebar/geometry/show_vertex_normals'));v['onClick'](function(){const W=R,D=d['selected'];d[W(0x196)][D['id']]===undefined?d['addHelper'](D,new VertexNormalsHelper(D)):d['removeHelper'](D),f[W(0x1c5)]['dispatch']();}),u['add'](v);const w=new UIButton(e['getKey']('sidebar/geometry/export'));w[R(0x1b9)](R(0x19d)),w['onClick'](function(){const X=R,D=d['selected'],E=D['geometry'];let F=E[X(0x199)]();try{F=JSON[X(0x1a5)](F,null,'\x09'),F=F[X(0x1a2)](/[\n\t]+([\d\.e\-\[\]]+)/g,'$1');}catch(G){F=JSON['stringify'](F);}d[X(0x1b0)]['save'](new Blob([F]),(o[X(0x1c0)]()||'geometry')+'.json');}),g['add'](w);const x=new UIDiv();x[R(0x19c)](R(0x1d9)),x['setDisplay'](R(0x1ac)),g[R(0x1cb)](x),x['add'](new UIText(e[R(0x1dc)]('sidebar/geometry/morph'))[R(0x1c8)]('uppercase')),x[R(0x1cb)](new UIBreak()),x[R(0x1cb)](new UIBreak());const y=new UIDiv();x['add'](y);async function z(){const Y=R,D=d[Y(0x19b)];if(D&&D[Y(0x1da)]){const E=D[Y(0x1da)];g[Y(0x1b8)](Y(0x1a7)),j['setValue'](E[Y(0x1d7)]),l[Y(0x1aa)](E['uuid']),o[Y(0x1aa)](E[Y(0x1bf)]);if(h!==E[Y(0x1d7)]){p[Y(0x1d6)]();if(E[Y(0x1d7)]===Y(0x1d0)||E['type']===Y(0x1c7))p['add'](new SidebarGeometryModifiers(d,D));else{const {GeometryParametersPanel:K}=await import('./Sidebar.Geometry.'+E['type']+Y(0x19e));p[Y(0x1cb)](new K(d,D));}h=E['type'];}if(E[Y(0x195)]===null)E[Y(0x1a6)]();const F=E['boundingBox'],G=Math[Y(0x1a3)]((F['max']['x']-F[Y(0x1b1)]['x'])*0x3e8)/0x3e8,H=Math['floor']((F['max']['y']-F[Y(0x1b1)]['y'])*0x3e8)/0x3e8,I=Math[Y(0x1a3)]((F[Y(0x1b7)]['z']-F[Y(0x1b1)]['z'])*0x3e8)/0x3e8;q['setInnerHTML'](G+'<br/>'+H+Y(0x1b3)+I),u[Y(0x1b8)](E['hasAttribute'](Y(0x1d3))?'':'none'),t['setValue'](JSON['stringify'](E[Y(0x197)],null,'\x20\x20'));const J=d[Y(0x196)][D['id']];J!==undefined&&J['isVertexNormalsHelper']===!![]&&(d['removeHelper'](D),d[Y(0x1c3)](D,new VertexNormalsHelper(D)));A['length']=0x0,y['clear']();if(D[Y(0x1c6)]){const L=D['morphTargetDictionary'],M=D[Y(0x1c6)],N=Object[Y(0x1b6)](L);for(let O=0x0;O<N['length'];O++){const P=N[O];y['add'](new B(O,P,M));}x[Y(0x1b8)]('');}else x['setDisplay'](Y(0x1ac));}}const A=[];function B(D,E,F){const Z=R,G=new UIRow(),H=new UIText(E)['setWidth'](Z(0x1a0));G['add'](H);const I=new UINumber()['setWidth'](Z(0x1d1))[Z(0x1ba)](0x0,0x1)[Z(0x198)](function J(){const a0=Z;F[D]=I[a0(0x1c0)](),f['objectChanged'][a0(0x1ce)](d['selected']);});return I['setValue'](F[D]),G['add'](I),A['push'](I),G;}function C(){const a1=R,D=d[a1(0x19b)];if(D!==null&&D[a1(0x1c6)])for(let E=0x0;E<A[a1(0x19a)];E++){const F=A[E];F['setValue'](D[a1(0x1c6)][E]);}}return f['objectSelected']['add'](function(){h=null,z();}),f['geometryChanged']['add'](z),f['morphTargetsUpdated'][R(0x1cb)](C),g;}export{SidebarGeometry};
@@ -1 +1 @@
1
- function b(c,d){c=c-0x12b;const e=a();let f=e[c];return f;}(function(c,d){const p=b,e=c();while(!![]){try{const f=parseInt(p(0x137))/0x1+-parseInt(p(0x12f))/0x2+parseInt(p(0x12e))/0x3+-parseInt(p(0x138))/0x4+-parseInt(p(0x136))/0x5*(parseInt(p(0x13c))/0x6)+-parseInt(p(0x13b))/0x7*(parseInt(p(0x135))/0x8)+parseInt(p(0x12c))/0x9;if(f===d)break;else e['push'](e['shift']());}catch(g){e['push'](e['shift']());}}}(a,0xac80d));import{UICheckbox,UIRow,UIText}from'./libs/ui.js';function a(){const t=['5pZEjtL','974929rxNMVd','56544Bqweax','setValue','execute','3932488yqsZJz','4329138VKevSD','Label','add','19120608iEjuCq','onChange','273552clTubt','2373218JxxhAT','getValue','setDisplay','getObjectMaterial','signals','objectSelected','8IpTeMW'];a=function(){return t;};return a();}import{SetMaterialValueCommand}from'./commands/SetMaterialValueCommand.js';function SidebarMaterialBooleanProperty(c,d,e){const q=b,f=c[q(0x133)],g=new UIRow();g[q(0x12b)](new UIText(e)['setClass'](q(0x13d)));const h=new UICheckbox()['setLeft']('100px')[q(0x12d)](l);g[q(0x12b)](h);let i=null,j=null,k=null;function l(){const r=q;k[d]!==h[r(0x130)]()&&c[r(0x13a)](new SetMaterialValueCommand(c,i,d,h[r(0x130)](),j));}function m(n,o=0x0){const s=q;i=n,j=o;if(i===null)return;if(i['material']===undefined)return;k=c[s(0x132)](i,j),d in k?(h[s(0x139)](k[d]),g['setDisplay']('')):g[s(0x131)]('none');}return f[q(0x134)]['add'](m),f['materialChanged']['add'](m),g;}export{SidebarMaterialBooleanProperty};
1
+ function b(c,d){c=c-0xd9;const e=a();let f=e[c];return f;}(function(c,d){const p=b,e=c();while(!![]){try{const f=parseInt(p(0xe9))/0x1+parseInt(p(0xda))/0x2+parseInt(p(0xdf))/0x3+parseInt(p(0xe0))/0x4*(-parseInt(p(0xe5))/0x5)+-parseInt(p(0xde))/0x6*(-parseInt(p(0xeb))/0x7)+parseInt(p(0xd9))/0x8*(-parseInt(p(0xe8))/0x9)+-parseInt(p(0xdc))/0xa;if(f===d)break;else e['push'](e['shift']());}catch(g){e['push'](e['shift']());}}}(a,0xd5b14));import{UICheckbox,UIRow,UIText}from'./libs/ui.js';function a(){const t=['onChange','signals','setClass','getObjectMaterial','114525CQjKTA','setValue','execute','9WaGcUp','462395ikbDty','add','710262fvroxq','7680552zDBXfg','3395664LBVfgF','setLeft','25254350JVehxf','objectSelected','96xHDqNM','3998910MXzMOl','132gdpMNA'];a=function(){return t;};return a();}import{SetMaterialValueCommand}from'./commands/SetMaterialValueCommand.js';function SidebarMaterialBooleanProperty(c,d,e){const q=b,f=c[q(0xe2)],g=new UIRow();g['add'](new UIText(e)[q(0xe3)]('Label'));const h=new UICheckbox()[q(0xdb)]('100px')[q(0xe1)](l);g['add'](h);let i=null,j=null,k=null;function l(){const r=q;k[d]!==h['getValue']()&&c[r(0xe7)](new SetMaterialValueCommand(c,i,d,h['getValue'](),j));}function m(n,o=0x0){const s=q;i=n,j=o;if(i===null)return;if(i['material']===undefined)return;k=c[s(0xe4)](i,j),d in k?(h[s(0xe6)](k[d]),g['setDisplay']('')):g['setDisplay']('none');}return f[q(0xdd)]['add'](m),f['materialChanged'][q(0xea)](m),g;}export{SidebarMaterialBooleanProperty};
@@ -1 +1 @@
1
- (function(c,d){const q=b,e=c();while(!![]){try{const f=-parseInt(q(0x1ac))/0x1*(-parseInt(q(0x1a0))/0x2)+parseInt(q(0x1a5))/0x3+parseInt(q(0x1b4))/0x4*(-parseInt(q(0x1b8))/0x5)+parseInt(q(0x1a1))/0x6*(parseInt(q(0x1a2))/0x7)+-parseInt(q(0x1aa))/0x8+-parseInt(q(0x1b6))/0x9*(-parseInt(q(0x1ae))/0xa)+-parseInt(q(0x19f))/0xb;if(f===d)break;else e['push'](e['shift']());}catch(g){e['push'](e['shift']());}}}(a,0xdd7b3));import{UIColor,UINumber,UIRow,UIText}from'./libs/ui.js';import{SetMaterialColorCommand}from'./commands/SetMaterialColorCommand.js';function b(c,d){c=c-0x19f;const e=a();let f=e[c];return f;}import{SetMaterialValueCommand}from'./commands/SetMaterialValueCommand.js';function SidebarMaterialColorProperty(c,d,e){const r=b,f=c[r(0x1b7)],g=new UIRow();g[r(0x1a3)](new UIText(e)[r(0x1b1)]('Label'));const h=new UIColor()['onInput'](m);g[r(0x1a3)](h);let i;d===r(0x1a8)&&(i=new UINumber(0x1)['setWidth']('30px')['setRange'](0x0,Infinity)['onChange'](m),g[r(0x1a3)](i));let j=null,k=null,l=null;function m(){const s=r;l[d]['getHex']()!==h[s(0x1af)]()&&c[s(0x1a4)](new SetMaterialColorCommand(c,j,d,h[s(0x1af)](),k)),i!==undefined&&(l[d+'Intensity']!==i[s(0x1b5)]()&&c[s(0x1a4)](new SetMaterialValueCommand(c,j,d+s(0x1ad),i[s(0x1b5)](),k)));}function n(o,p=0x0){const t=r;j=o,k=p;if(j===null)return;if(j[t(0x1a7)]===undefined)return;l=c[t(0x1b2)](j,k),d in l?(h[t(0x1ab)](l[d][t(0x1a6)]()),i!==undefined&&i['setValue'](l[d+t(0x1ad)]),g[t(0x1a9)]('')):g[t(0x1a9)](t(0x1b3));}return f[r(0x1b0)][r(0x1a3)](n),f['materialChanged'][r(0x1a3)](n),g;}function a(){const u=['emissive','setDisplay','8400984KmOYRn','setHexValue','815VBdqBQ','Intensity','343510yfXBVM','getHexValue','objectSelected','setClass','getObjectMaterial','none','3022036Ppxsar','getValue','468ugJAnA','signals','5uuKJfW','18407631eCCGPJ','3884gSlZBP','6hlPGfy','773591wgDIlb','add','execute','2720235YukOqD','getHexString','material'];a=function(){return u;};return a();}export{SidebarMaterialColorProperty};
1
+ (function(c,d){const q=b,e=c();while(!![]){try{const f=parseInt(q(0x19b))/0x1+-parseInt(q(0x19d))/0x2*(parseInt(q(0x199))/0x3)+parseInt(q(0x1a4))/0x4+parseInt(q(0x1af))/0x5+parseInt(q(0x19f))/0x6*(parseInt(q(0x1a1))/0x7)+-parseInt(q(0x1a8))/0x8*(-parseInt(q(0x1aa))/0x9)+-parseInt(q(0x1a2))/0xa;if(f===d)break;else e['push'](e['shift']());}catch(g){e['push'](e['shift']());}}}(a,0x78a60));import{UIColor,UINumber,UIRow,UIText}from'./libs/ui.js';import{SetMaterialColorCommand}from'./commands/SetMaterialColorCommand.js';function b(c,d){c=c-0x199;const e=a();let f=e[c];return f;}function a(){const u=['659997MZwKIY','setClass','30px','getObjectMaterial','setRange','6570vXqsRY','onInput','75JVbyrc','getValue','131344aIeVeE','onChange','24QDjRAR','emissive','93048ERegAG','Intensity','434JGeXUp','19960200PGDWKR','setDisplay','2065384zVYKQQ','signals','add','getHex','96EnjwzO','execute'];a=function(){return u;};return a();}import{SetMaterialValueCommand}from'./commands/SetMaterialValueCommand.js';function SidebarMaterialColorProperty(c,d,e){const r=b,f=c[r(0x1a5)],g=new UIRow();g['add'](new UIText(e)[r(0x1ab)]('Label'));const h=new UIColor()[r(0x1b0)](m);g['add'](h);let i;d===r(0x19e)&&(i=new UINumber(0x1)['setWidth'](r(0x1ac))[r(0x1ae)](0x0,Infinity)[r(0x19c)](m),g[r(0x1a6)](i));let j=null,k=null,l=null;function m(){const s=r;l[d][s(0x1a7)]()!==h['getHexValue']()&&c[s(0x1a9)](new SetMaterialColorCommand(c,j,d,h['getHexValue'](),k)),i!==undefined&&(l[d+'Intensity']!==i[s(0x19a)]()&&c[s(0x1a9)](new SetMaterialValueCommand(c,j,d+'Intensity',i['getValue'](),k)));}function n(o,p=0x0){const t=r;j=o,k=p;if(j===null)return;if(j['material']===undefined)return;l=c[t(0x1ad)](j,k),d in l?(h['setHexValue'](l[d]['getHexString']()),i!==undefined&&i['setValue'](l[d+t(0x1a0)]),g['setDisplay']('')):g[t(0x1a3)]('none');}return f['objectSelected']['add'](n),f['materialChanged'][r(0x1a6)](n),g;}export{SidebarMaterialColorProperty};
@@ -1 +1 @@
1
- (function(c,d){const q=b,e=c();while(!![]){try{const f=-parseInt(q(0xf1))/0x1+-parseInt(q(0xf0))/0x2*(-parseInt(q(0xf5))/0x3)+parseInt(q(0xea))/0x4+parseInt(q(0xed))/0x5*(-parseInt(q(0xe9))/0x6)+parseInt(q(0xf3))/0x7+parseInt(q(0xef))/0x8+-parseInt(q(0xf7))/0x9;if(f===d)break;else e['push'](e['shift']());}catch(g){e['push'](e['shift']());}}}(a,0x69b34));import{UIRow,UISelect,UIText}from'./libs/ui.js';function a(){const t=['setValue','3776920XmFFZk','materialChanged','5637fTjHkm','setClass','1704411zLDzpe','objectSelected','material','246CPWGbq','98600JyCwnG','add','Label','50865NIlNbz','getObjectMaterial','1372272ouHItg','604zoOXEU','263782NDrRrU'];a=function(){return t;};return a();}import{SetMaterialValueCommand}from'./commands/SetMaterialValueCommand.js';function SidebarMaterialConstantProperty(c,d,e,f){const r=b,g=c['signals'],h=new UIRow();h[r(0xeb)](new UIText(e)[r(0xf6)](r(0xec)));const i=new UISelect()['setOptions'](f)['onChange'](m);h[r(0xeb)](i);let j=null,k=null,l=null;function m(){const o=parseInt(i['getValue']());l[d]!==o&&c['execute'](new SetMaterialValueCommand(c,j,d,o,k));}function n(o,p=0x0){const s=r;j=o,k=p;if(j===null)return;if(j[s(0xe8)]===undefined)return;l=c[s(0xee)](j,k),d in l?(i[s(0xf2)](l[d]),h['setDisplay']('')):h['setDisplay']('none');}return g[r(0xe7)][r(0xeb)](n),g[r(0xf4)]['add'](n),h;}function b(c,d){c=c-0xe7;const e=a();let f=e[c];return f;}export{SidebarMaterialConstantProperty};
1
+ (function(c,d){const q=b,e=c();while(!![]){try{const f=-parseInt(q(0x17e))/0x1+parseInt(q(0x17d))/0x2*(parseInt(q(0x185))/0x3)+parseInt(q(0x179))/0x4+parseInt(q(0x17a))/0x5*(parseInt(q(0x177))/0x6)+-parseInt(q(0x17f))/0x7+parseInt(q(0x182))/0x8*(parseInt(q(0x186))/0x9)+-parseInt(q(0x178))/0xa;if(f===d)break;else e['push'](e['shift']());}catch(g){e['push'](e['shift']());}}}(a,0x27de7));function b(c,d){c=c-0x177;const e=a();let f=e[c];return f;}import{UIRow,UISelect,UIText}from'./libs/ui.js';import{SetMaterialValueCommand}from'./commands/SetMaterialValueCommand.js';function a(){const u=['execute','6PXRvpi','779040GIJSWD','642vIjtKo','4038200SxmGEN','472480ykiIaZ','5780kmSkfi','none','objectSelected','293084WwyaMy','57621kWKNcg','582904embARQ','setValue','add','16FLCrbp','setDisplay'];a=function(){return u;};return a();}function SidebarMaterialConstantProperty(c,d,e,f){const t=b,g=c['signals'],h=new UIRow();h['add'](new UIText(e)['setClass']('Label'));const i=new UISelect()['setOptions'](f)['onChange'](m);h['add'](i);let j=null,k=null,l=null;function m(){const r=b,o=parseInt(i['getValue']());l[d]!==o&&c[r(0x184)](new SetMaterialValueCommand(c,j,d,o,k));}function n(o,p=0x0){const s=b;j=o,k=p;if(j===null)return;if(j['material']===undefined)return;l=c['getObjectMaterial'](j,k),d in l?(i[s(0x180)](l[d]),h[s(0x183)]('')):h['setDisplay'](s(0x17b));}return g[t(0x17c)][t(0x181)](n),g['materialChanged'][t(0x181)](n),h;}export{SidebarMaterialConstantProperty};
@@ -1 +1 @@
1
- (function(d,e){const L=b,f=d();while(!![]){try{const g=parseInt(L(0x13a))/0x1+parseInt(L(0x132))/0x2+parseInt(L(0x166))/0x3+parseInt(L(0x162))/0x4+parseInt(L(0x138))/0x5+-parseInt(L(0x139))/0x6*(-parseInt(L(0x133))/0x7)+-parseInt(L(0x13f))/0x8*(parseInt(L(0x155))/0x9);if(g===e)break;else f['push'](f['shift']());}catch(h){f['push'](f['shift']());}}}(a,0x8190a));import*as c from'three';import{UIButton,UICheckbox,UIDiv,UINumber,UIRow,UIText}from'./libs/ui.js';import{UITexture}from'./libs/ui.three.js';import{SetMaterialMapCommand}from'./commands/SetMaterialMapCommand.js';import{SetMaterialValueCommand}from'./commands/SetMaterialValueCommand.js';function a(){const W=['mapping','onClick','bumpMap','16iTJoct','setDisplay','add','setStyle','geometry','setWidth','colorSpace','setStep','Scale','8px','setUnit','setValue','getObjectMaterial','setClass','materialChanged','30px','needsUpdate','execute','setMarginBottom','getValue','Label','show','11759859oTBRpe','SRGBColorSpace','envMap','4px','setDisabled','6px','40px','emissiveMap','replace','TextureSettingsButton','onChange','Range','Intensity','3108248uGUmLt','max:','isDataTexture','0px','1314645SzAdRF','1561202hkxqLx','105cuAErG','material','Map','35px','setNudge','1116965ptSlil','319284EsBWQg','126519TqLjPn','setMarginRight'];a=function(){return W;};return a();}import{SetMaterialRangeCommand}from'./commands/SetMaterialRangeCommand.js';import{SetMaterialVectorCommand}from'./commands/SetMaterialVectorCommand.js';import{SetTextureParametersCommand}from'./commands/SetTextureParametersCommand.js';import{TextureParametersDialog}from'./TextureParametersDialog.js';function b(c,d){c=c-0x132;const e=a();let f=e[c];return f;}function SidebarMaterialMapProperty(d,e,f){const M=b,g=d['signals'],h=new UIRow();h['add'](new UIText(f)[M(0x14c)](M(0x153)));const i=new UICheckbox(![])[M(0x13b)](M(0x148))['onChange'](w);h[M(0x141)](i);const j=new UITexture(d)[M(0x15f)](y);h[M(0x141)](j);const k=new UIButton('⚙')[M(0x14c)](M(0x15e))[M(0x13b)](M(0x158))[M(0x13d)](x);k['setDisabled'](!![]),h[M(0x141)](k);const l=e[M(0x15d)](M(0x135),''),m=['map',M(0x15c),'sheenColorMap','specularColorMap','envMap'];let n;e==='aoMap'&&(n=new UINumber(0x1)[M(0x144)](M(0x14e))['setRange'](0x0,0x1)['onChange'](z),h['add'](n));let o;(e===M(0x13e)||e==='displacementMap')&&(o=new UINumber()[M(0x144)](M(0x14e))['onChange'](A),h['add'](o));let p,q;(e==='normalMap'||e==='clearcoatNormalMap')&&(p=new UINumber()[M(0x144)]('30px')['onChange'](B),h[M(0x141)](p),q=new UINumber()[M(0x144)]('30px')['onChange'](B),h[M(0x141)](q));let r,s;if(e==='iridescenceThicknessMap'){const E=new UIDiv()['setMarginLeft']('3px');h['add'](E);const F=new UIRow()['setMarginBottom']('0px')['setStyle']('min-height',M(0x165));E[M(0x141)](F),F[M(0x141)](new UIText('min:')['setWidth'](M(0x136))),r=new UINumber()['setWidth']('40px')[M(0x15f)](C),F[M(0x141)](r);const G=new UIRow()[M(0x151)](M(0x15a))[M(0x142)]('min-height','0px');E[M(0x141)](G),G['add'](new UIText(M(0x163))['setWidth'](M(0x136))),s=new UINumber()[M(0x144)](M(0x15b))[M(0x15f)](C),G['add'](s),r['setPrecision'](0x0)['setRange'](0x0,Infinity)[M(0x137)](0x1)[M(0x146)](0xa)['setUnit']('nm'),s['setPrecision'](0x0)['setRange'](0x0,Infinity)['setNudge'](0x1)['setStep'](0xa)[M(0x149)]('nm');}let t=null,u=null,v=null;function w(){const N=M,H=i[N(0x152)]()?j[N(0x152)]():null;if(v[e]!==H){if(H!==null){const I=t[N(0x143)];if(I['hasAttribute']('uv')===![])console['warn']('Geometry\x20doesn\x27t\x20have\x20uvs:',I);if(e===N(0x157))H[N(0x13c)]=c['EquirectangularReflectionMapping'];}d[N(0x150)](new SetMaterialMapCommand(d,t,e,H,u));}}async function x(){const O=M,H=j['getValue']();if(H===null)return;const I=new TextureParametersDialog(d,H);try{const J=await I[O(0x154)]();d['execute'](new SetTextureParametersCommand(d,H,J));}catch(K){}}function y(H){const P=M;H!==null&&(m['includes'](e)&&H[P(0x164)]!==!![]&&H[P(0x145)]!==c['SRGBColorSpace']&&(H['colorSpace']=c[P(0x156)],v[P(0x14f)]=!![])),i['setDisabled'](![]),k['setDisabled'](H===null),w();}function z(){const Q=M;v[e+'Intensity']!==n[Q(0x152)]()&&d[Q(0x150)](new SetMaterialValueCommand(d,t,e+Q(0x161),n[Q(0x152)](),u));}function A(){const R=M;v[l+R(0x147)]!==o[R(0x152)]()&&d[R(0x150)](new SetMaterialValueCommand(d,t,l+R(0x147),o['getValue'](),u));}function B(){const S=M,H=[p['getValue'](),q[S(0x152)]()];(v[l+'Scale']['x']!==H[0x0]||v[l+S(0x147)]['y']!==H[0x1])&&d[S(0x150)](new SetMaterialVectorCommand(d,t,l+'Scale',H,u));}function C(){const T=M,H=[r['getValue'](),s['getValue']()];(v[l+'Range'][0x0]!==H[0x0]||v[l+'Range'][0x1]!==H[0x1])&&d['execute'](new SetMaterialRangeCommand(d,t,l+T(0x160),H[0x0],H[0x1],u));}function D(H,I=0x0){const U=M;t=H,u=I;if(t===null)return;if(t[U(0x134)]===undefined)return;v=d[U(0x14b)](t,u),e in v?(v[e]!==null&&j['setValue'](v[e]),i[U(0x14a)](v[e]!==null),i['setDisabled'](j['getValue']()===null),k[U(0x159)](j['getValue']()===null),n!==undefined&&n['setValue'](v[e+'Intensity']),o!==undefined&&o[U(0x14a)](v[l+'Scale']),p!==undefined&&(p[U(0x14a)](v[l+U(0x147)]['x']),q['setValue'](v[l+U(0x147)]['y'])),r!==undefined&&(r['setValue'](v[l+'Range'][0x0]),s[U(0x14a)](v[l+'Range'][0x1])),h[U(0x140)]('')):h[U(0x140)]('none');}return g['objectSelected']['add'](function(H){const V=M;j[V(0x14a)](null),D(H);}),g[M(0x14d)]['add'](D),h;}export{SidebarMaterialMapProperty};
1
+ (function(d,e){const L=b,f=d();while(!![]){try{const g=parseInt(L(0x1a3))/0x1+parseInt(L(0x193))/0x2*(parseInt(L(0x195))/0x3)+-parseInt(L(0x18a))/0x4*(parseInt(L(0x1a9))/0x5)+-parseInt(L(0x176))/0x6*(parseInt(L(0x1a6))/0x7)+-parseInt(L(0x1ab))/0x8+parseInt(L(0x19e))/0x9+parseInt(L(0x192))/0xa*(parseInt(L(0x1ad))/0xb);if(g===e)break;else f['push'](f['shift']());}catch(h){f['push'](f['shift']());}}}(a,0x355ac));import*as c from'three';import{UIButton,UICheckbox,UIDiv,UINumber,UIRow,UIText}from'./libs/ui.js';import{UITexture}from'./libs/ui.three.js';import{SetMaterialMapCommand}from'./commands/SetMaterialMapCommand.js';import{SetMaterialValueCommand}from'./commands/SetMaterialValueCommand.js';import{SetMaterialRangeCommand}from'./commands/SetMaterialRangeCommand.js';import{SetMaterialVectorCommand}from'./commands/SetMaterialVectorCommand.js';function a(){const V=['max:','35px','setDisabled','displacementMap','8px','setWidth','mapping','sheenColorMap','358884akOXTH','setValue','show','Intensity','needsUpdate','add','material','setDisplay','379010fLkIfi','6fGcJFN','setRange','230766VWPMbF','getValue','Scale','execute','none','Label','onChange','setStep','SRGBColorSpace','238590dOxdep','Map','Geometry\x20doesn\x27t\x20have\x20uvs:','30px','emissiveMap','69546uqKQAN','setMarginRight','6px','936474rOTGYY','setStyle','specularColorMap','20CGTrBp','EquirectangularReflectionMapping','3292296lnAqvX','3px','231ncKPav','signals','iridescenceThicknessMap','40px','colorSpace','includes','aoMap','setNudge','6JKhDCM','warn','map','replace','TextureSettingsButton','Range','envMap','0px','isDataTexture','setMarginLeft','setUnit','bumpMap'];a=function(){return V;};return a();}import{SetTextureParametersCommand}from'./commands/SetTextureParametersCommand.js';import{TextureParametersDialog}from'./TextureParametersDialog.js';function SidebarMaterialMapProperty(d,e,f){const M=b,g=d[M(0x1ae)],h=new UIRow();h['add'](new UIText(f)['setClass'](M(0x19a)));const i=new UICheckbox(![])['setMarginRight'](M(0x186))[M(0x19b)](w);h['add'](i);const j=new UITexture(d)['onChange'](y);h[M(0x18f)](j);const k=new UIButton('⚙')['setClass'](M(0x17a))[M(0x1a4)]('4px')['onClick'](x);k['setDisabled'](!![]),h['add'](k);const l=e[M(0x179)](M(0x19f),''),m=[M(0x178),M(0x1a2),M(0x189),M(0x1a8),M(0x17c)];let n;e===M(0x174)&&(n=new UINumber(0x1)[M(0x187)]('30px')[M(0x194)](0x0,0x1)[M(0x19b)](z),h['add'](n));let o;(e===M(0x181)||e===M(0x185))&&(o=new UINumber()['setWidth']('30px')['onChange'](A),h[M(0x18f)](o));let p,q;(e==='normalMap'||e==='clearcoatNormalMap')&&(p=new UINumber()['setWidth'](M(0x1a1))[M(0x19b)](B),h['add'](p),q=new UINumber()['setWidth'](M(0x1a1))[M(0x19b)](B),h[M(0x18f)](q));let r,s;if(e===M(0x1af)){const E=new UIDiv()[M(0x17f)](M(0x1ac));h[M(0x18f)](E);const F=new UIRow()['setMarginBottom']('0px')[M(0x1a7)]('min-height',M(0x17d));E['add'](F),F[M(0x18f)](new UIText('min:')[M(0x187)](M(0x183))),r=new UINumber()[M(0x187)](M(0x1b0))[M(0x19b)](C),F[M(0x18f)](r);const G=new UIRow()['setMarginBottom'](M(0x1a5))[M(0x1a7)]('min-height',M(0x17d));E[M(0x18f)](G),G['add'](new UIText(M(0x182))['setWidth'](M(0x183))),s=new UINumber()[M(0x187)](M(0x1b0))['onChange'](C),G['add'](s),r['setPrecision'](0x0)['setRange'](0x0,Infinity)['setNudge'](0x1)[M(0x19c)](0xa)[M(0x180)]('nm'),s['setPrecision'](0x0)['setRange'](0x0,Infinity)[M(0x175)](0x1)['setStep'](0xa)[M(0x180)]('nm');}let t=null,u=null,v=null;function w(){const N=M,H=i[N(0x196)]()?j['getValue']():null;if(v[e]!==H){if(H!==null){const I=t['geometry'];if(I['hasAttribute']('uv')===![])console[N(0x177)](N(0x1a0),I);if(e===N(0x17c))H[N(0x188)]=c[N(0x1aa)];}d[N(0x198)](new SetMaterialMapCommand(d,t,e,H,u));}}async function x(){const O=M,H=j[O(0x196)]();if(H===null)return;const I=new TextureParametersDialog(d,H);try{const J=await I[O(0x18c)]();d[O(0x198)](new SetTextureParametersCommand(d,H,J));}catch(K){}}function y(H){const P=M;H!==null&&(m[P(0x173)](e)&&H[P(0x17e)]!==!![]&&H[P(0x1b1)]!==c['SRGBColorSpace']&&(H[P(0x1b1)]=c[P(0x19d)],v[P(0x18e)]=!![])),i[P(0x184)](![]),k[P(0x184)](H===null),w();}function z(){const Q=M;v[e+Q(0x18d)]!==n[Q(0x196)]()&&d[Q(0x198)](new SetMaterialValueCommand(d,t,e+'Intensity',n['getValue'](),u));}function A(){const R=M;v[l+'Scale']!==o[R(0x196)]()&&d[R(0x198)](new SetMaterialValueCommand(d,t,l+'Scale',o['getValue'](),u));}function B(){const S=M,H=[p['getValue'](),q[S(0x196)]()];(v[l+S(0x197)]['x']!==H[0x0]||v[l+S(0x197)]['y']!==H[0x1])&&d['execute'](new SetMaterialVectorCommand(d,t,l+S(0x197),H,u));}function C(){const T=M,H=[r['getValue'](),s[T(0x196)]()];(v[l+'Range'][0x0]!==H[0x0]||v[l+'Range'][0x1]!==H[0x1])&&d[T(0x198)](new SetMaterialRangeCommand(d,t,l+'Range',H[0x0],H[0x1],u));}function D(H,I=0x0){const U=M;t=H,u=I;if(t===null)return;if(t[U(0x190)]===undefined)return;v=d['getObjectMaterial'](t,u),e in v?(v[e]!==null&&j[U(0x18b)](v[e]),i[U(0x18b)](v[e]!==null),i[U(0x184)](j[U(0x196)]()===null),k['setDisabled'](j[U(0x196)]()===null),n!==undefined&&n[U(0x18b)](v[e+U(0x18d)]),o!==undefined&&o[U(0x18b)](v[l+U(0x197)]),p!==undefined&&(p[U(0x18b)](v[l+'Scale']['x']),q[U(0x18b)](v[l+U(0x197)]['y'])),r!==undefined&&(r['setValue'](v[l+U(0x17b)][0x0]),s['setValue'](v[l+U(0x17b)][0x1])),h[U(0x191)]('')):h['setDisplay'](U(0x199));}return g['objectSelected']['add'](function(H){j['setValue'](null),D(H);}),g['materialChanged'][M(0x18f)](D),h;}function b(c,d){c=c-0x173;const e=a();let f=e[c];return f;}export{SidebarMaterialMapProperty};
@@ -1 +1 @@
1
- (function(c,d){const r=b,e=c();while(!![]){try{const f=-parseInt(r(0x99))/0x1+-parseInt(r(0x8e))/0x2+parseInt(r(0x8f))/0x3*(parseInt(r(0x8d))/0x4)+-parseInt(r(0x98))/0x5+-parseInt(r(0x97))/0x6*(parseInt(r(0x95))/0x7)+parseInt(r(0x92))/0x8+-parseInt(r(0x8c))/0x9*(-parseInt(r(0x96))/0xa);if(f===d)break;else e['push'](e['shift']());}catch(g){e['push'](e['shift']());}}}(a,0x9f110));import{UINumber,UIRow,UIText}from'./libs/ui.js';import{SetMaterialValueCommand}from'./commands/SetMaterialValueCommand.js';function SidebarMaterialNumberProperty(c,d,e,f=[-Infinity,Infinity],g=0x2){const s=b,h=c[s(0x9b)],i=new UIRow();i[s(0x8a)](new UIText(e)['setClass']('Label'));const j=new UINumber()[s(0x94)]('60px')['setRange'](f[0x0],f[0x1])[s(0x90)](g)['onChange'](n);i['add'](j);let k=null,l=null,m=null;function n(){const t=s;m[d]!==j[t(0x91)]()&&c[t(0x93)](new SetMaterialValueCommand(c,k,d,j[t(0x91)](),l));}function o(p,q=0x0){const u=s;k=p,l=q;if(k===null)return;if(k['material']===undefined)return;m=c[u(0x9d)](k,l),d in m?(j[u(0x9a)](m[d]),i['setDisplay']('')):i['setDisplay']('none');}return h[s(0x9c)][s(0x8a)](o),h[s(0x8b)]['add'](o),i;}function b(c,d){c=c-0x8a;const e=a();let f=e[c];return f;}function a(){const v=['5572696sKNFNV','execute','setWidth','7BYoMkV','580CUmkyr','3713886NlthDJ','2905905JWOtNO','871480esLSZn','setValue','signals','objectSelected','getObjectMaterial','add','materialChanged','321039xodfEl','425372kkCivH','510026qlHKSi','6qeYRAA','setPrecision','getValue'];a=function(){return v;};return a();}export{SidebarMaterialNumberProperty};
1
+ (function(c,d){const r=b,e=c();while(!![]){try{const f=-parseInt(r(0x1da))/0x1+-parseInt(r(0x1d3))/0x2*(parseInt(r(0x1e3))/0x3)+-parseInt(r(0x1d6))/0x4+-parseInt(r(0x1d5))/0x5*(-parseInt(r(0x1d9))/0x6)+-parseInt(r(0x1e0))/0x7*(-parseInt(r(0x1dc))/0x8)+parseInt(r(0x1e5))/0x9*(-parseInt(r(0x1d8))/0xa)+parseInt(r(0x1de))/0xb;if(f===d)break;else e['push'](e['shift']());}catch(g){e['push'](e['shift']());}}}(a,0x64a29));import{UINumber,UIRow,UIText}from'./libs/ui.js';function a(){const u=['14XUBkuy','60px','setDisplay','1752UkuAXT','setWidth','33507nncPng','objectSelected','1742LLPZck','setPrecision','58115pSjRmb','2317164pCmwwp','add','1950AJnmfP','78SIFdpo','458099rwxriU','setClass','3134352BWEGmo','setRange','19245083EXUqNS','setValue'];a=function(){return u;};return a();}import{SetMaterialValueCommand}from'./commands/SetMaterialValueCommand.js';function b(c,d){c=c-0x1d2;const e=a();let f=e[c];return f;}function SidebarMaterialNumberProperty(c,d,e,f=[-Infinity,Infinity],g=0x2){const s=b,h=c['signals'],i=new UIRow();i[s(0x1d7)](new UIText(e)[s(0x1db)]('Label'));const j=new UINumber()[s(0x1e4)](s(0x1e1))[s(0x1dd)](f[0x0],f[0x1])[s(0x1d4)](g)['onChange'](n);i['add'](j);let k=null,l=null,m=null;function n(){m[d]!==j['getValue']()&&c['execute'](new SetMaterialValueCommand(c,k,d,j['getValue'](),l));}function o(p,q=0x0){const t=s;k=p,l=q;if(k===null)return;if(k['material']===undefined)return;m=c['getObjectMaterial'](k,l),d in m?(j[t(0x1df)](m[d]),i[t(0x1e2)]('')):i[t(0x1e2)]('none');}return h[s(0x1d2)]['add'](o),h['materialChanged'][s(0x1d7)](o),i;}export{SidebarMaterialNumberProperty};
@@ -1 +1 @@
1
- function b(c,d){c=c-0xb7;const e=a();let f=e[c];return f;}function a(){const v=['vertexShader','materialChanged','sidebar/material/info','132615nPuLFA','onClick','3143232YulqLi','setDisplay','sidebar/material/fragment','55620NVmSuS','328550Zbippn','sidebar/material/program','setClass','110PFcNSF','editScript','getKey','4px','objectSelected','7679371qMOMJF','424snaldt','4kojTKe','246010uFiKvb','3110544iWtcPc','add','88iTbzAo'];a=function(){return v;};return a();}(function(c,d){const q=b,e=c();while(!![]){try{const f=-parseInt(q(0xc0))/0x1*(-parseInt(q(0xbf))/0x2)+-parseInt(q(0xc9))/0x3+parseInt(q(0xc1))/0x4+parseInt(q(0xb8))/0x5*(-parseInt(q(0xcc))/0x6)+parseInt(q(0xbd))/0x7+parseInt(q(0xbe))/0x8*(-parseInt(q(0xc7))/0x9)+parseInt(q(0xcd))/0xa*(parseInt(q(0xc3))/0xb);if(f===d)break;else e['push'](e['shift']());}catch(g){e['push'](e['shift']());}}}(a,0x91bae));import{UIButton,UIRow,UIText}from'./libs/ui.js';function SidebarMaterialProgram(c,d){const r=b,e=c['signals'],f=c['strings'];let g=null,h=null,i=null;const j=new UIRow();j['add'](new UIText(f[r(0xba)](r(0xce)))[r(0xb7)]('Label'));const k=new UIButton(f['getKey'](r(0xc6)));k['setMarginRight'](r(0xbb)),k['onClick'](function(){e['editScript']['dispatch'](g,'programInfo');}),j['add'](k);const l=new UIButton(f[r(0xba)]('sidebar/material/vertex'));l['setMarginRight']('4px'),l[r(0xc8)](function(){const s=r;e[s(0xb9)]['dispatch'](g,s(0xc4));}),j[r(0xc2)](l);const m=new UIButton(f['getKey'](r(0xcb)));m['setMarginRight']('4px'),m['onClick'](function(){const t=r;e[t(0xb9)]['dispatch'](g,'fragmentShader');}),j['add'](m);function n(o,p=0x0){const u=r;g=o,h=p;if(g===null)return;if(g['material']===undefined)return;i=c['getObjectMaterial'](g,h),d in i?j['setDisplay'](''):j[u(0xca)]('none');}return e[r(0xbc)][r(0xc2)](n),e[r(0xc5)][r(0xc2)](n),j;}export{SidebarMaterialProgram};
1
+ function a(){const w=['1990137bwyCCf','dispatch','strings','onClick','2063140HsXmyC','Label','513891XPgSwS','fragmentShader','2881170yRHAPw','sidebar/material/info','setMarginRight','editScript','getObjectMaterial','4kirLiR','2885309xhZfGd','4px','programInfo','62354sLeDlK','6zvAIjZ','sidebar/material/program','vertexShader','none','926984uEmZgW','objectSelected','add','getKey'];a=function(){return w;};return a();}(function(c,d){const q=b,e=c();while(!![]){try{const f=parseInt(q(0x1ea))/0x1*(parseInt(q(0x1e6))/0x2)+parseInt(q(0x1f3))/0x3+-parseInt(q(0x1dd))/0x4+parseInt(q(0x1e1))/0x5+-parseInt(q(0x1eb))/0x6*(parseInt(q(0x1e7))/0x7)+parseInt(q(0x1ef))/0x8+parseInt(q(0x1df))/0x9;if(f===d)break;else e['push'](e['shift']());}catch(g){e['push'](e['shift']());}}}(a,0x94c29));function b(c,d){c=c-0x1dd;const e=a();let f=e[c];return f;}import{UIButton,UIRow,UIText}from'./libs/ui.js';function SidebarMaterialProgram(c,d){const r=b,e=c['signals'],f=c[r(0x1f5)];let g=null,h=null,i=null;const j=new UIRow();j['add'](new UIText(f[r(0x1f2)](r(0x1ec)))['setClass'](r(0x1de)));const k=new UIButton(f[r(0x1f2)](r(0x1e2)));k['setMarginRight']('4px'),k['onClick'](function(){const s=r;e[s(0x1e4)]['dispatch'](g,s(0x1e9));}),j[r(0x1f1)](k);const l=new UIButton(f[r(0x1f2)]('sidebar/material/vertex'));l[r(0x1e3)](r(0x1e8)),l['onClick'](function(){const t=r;e[t(0x1e4)][t(0x1f4)](g,t(0x1ed));}),j[r(0x1f1)](l);const m=new UIButton(f['getKey']('sidebar/material/fragment'));m[r(0x1e3)]('4px'),m[r(0x1f6)](function(){const u=r;e[u(0x1e4)]['dispatch'](g,u(0x1e0));}),j[r(0x1f1)](m);function n(o,p=0x0){const v=r;g=o,h=p;if(g===null)return;if(g['material']===undefined)return;i=c[v(0x1e5)](g,h),d in i?j['setDisplay'](''):j['setDisplay'](v(0x1ee));}return e[r(0x1f0)]['add'](n),e['materialChanged']['add'](n),j;}export{SidebarMaterialProgram};
@@ -1 +1 @@
1
- (function(c,d){const v=b,e=c();while(!![]){try{const f=-parseInt(v(0x1df))/0x1*(-parseInt(v(0x1ce))/0x2)+-parseInt(v(0x1d9))/0x3*(-parseInt(v(0x1ca))/0x4)+-parseInt(v(0x1e1))/0x5*(parseInt(v(0x1dc))/0x6)+parseInt(v(0x1d4))/0x7+parseInt(v(0x1cb))/0x8+parseInt(v(0x1e2))/0x9*(parseInt(v(0x1dd))/0xa)+parseInt(v(0x1c9))/0xb*(-parseInt(v(0x1cf))/0xc);if(f===d)break;else e['push'](e['shift']());}catch(g){e['push'](e['shift']());}}}(a,0x32891));import{UINumber,UIRow,UIText}from'./libs/ui.js';function b(c,d){c=c-0x1c8;const e=a();let f=e[c];return f;}import{SetMaterialRangeCommand}from'./commands/SetMaterialRangeCommand.js';function SidebarMaterialRangeValueProperty(c,d,e,f,g=[-Infinity,Infinity],h=0x2,i=0x1,j=0.01,k=''){const w=b,l=c['signals'],m=new UIRow();m['add'](new UIText(e)[w(0x1e3)](w(0x1db)));const n=new UINumber()[w(0x1d0)]('60px')['setRange'](g[0x0],g[0x1])[w(0x1cd)](h)[w(0x1cc)](i)['setNudge'](j)[w(0x1da)](k)[w(0x1d2)](r);m['add'](n);let o=null,p=null,q=null;function r(){const x=w;if(q[d][f?0x0:0x1]!==n['getValue']()){const t=f?n['getValue']():q[d][0x0],u=f?q[d][0x1]:n[x(0x1c8)]();c[x(0x1d6)](new SetMaterialRangeCommand(c,o,d,t,u,p));}}function s(t,u=0x0){const y=w;o=t,p=u;if(o===null)return;if(o[y(0x1de)]===undefined)return;q=c['getObjectMaterial'](o,p),d in q?(n[y(0x1d7)](q[d][f?0x0:0x1]),m[y(0x1e0)]('')):m[y(0x1e0)](y(0x1d1));}return l[w(0x1d8)][w(0x1d5)](s),l[w(0x1d3)][w(0x1d5)](s),m;}function a(){const z=['12lVeosY','setUnit','Label','53970xIFmiR','5380HvNfIi','material','70304qHflQZ','setDisplay','5zZZDXJ','2718zECEjz','setClass','getValue','24376TIxJWf','100580uvRfIG','1858568NjgaXL','setStep','setPrecision','2cYuUvT','2940mlpEob','setWidth','none','onChange','materialChanged','1352589rqbCGN','add','execute','setValue','objectSelected'];a=function(){return z;};return a();}export{SidebarMaterialRangeValueProperty};
1
+ (function(c,d){const v=b,e=c();while(!![]){try{const f=-parseInt(v(0x1f3))/0x1*(parseInt(v(0x1f7))/0x2)+parseInt(v(0x1f5))/0x3+parseInt(v(0x1f4))/0x4+-parseInt(v(0x1f8))/0x5+-parseInt(v(0x1fa))/0x6+parseInt(v(0x204))/0x7+-parseInt(v(0x1f9))/0x8;if(f===d)break;else e['push'](e['shift']());}catch(g){e['push'](e['shift']());}}}(a,0xa0a66));import{UINumber,UIRow,UIText}from'./libs/ui.js';import{SetMaterialRangeCommand}from'./commands/SetMaterialRangeCommand.js';function SidebarMaterialRangeValueProperty(c,d,e,f,g=[-Infinity,Infinity],h=0x2,i=0x1,j=0.01,k=''){const w=b,l=c['signals'],m=new UIRow();m['add'](new UIText(e)['setClass']('Label'));const n=new UINumber()[w(0x200)](w(0x201))[w(0x1fb)](g[0x0],g[0x1])[w(0x203)](h)[w(0x205)](i)['setNudge'](j)[w(0x1f6)](k)['onChange'](r);m['add'](n);let o=null,p=null,q=null;function r(){const x=w;if(q[d][f?0x0:0x1]!==n[x(0x202)]()){const t=f?n['getValue']():q[d][0x0],u=f?q[d][0x1]:n[x(0x202)]();c[x(0x1ff)](new SetMaterialRangeCommand(c,o,d,t,u,p));}}function s(t,u=0x0){const y=w;o=t,p=u;if(o===null)return;if(o['material']===undefined)return;q=c['getObjectMaterial'](o,p),d in q?(n[y(0x1fe)](q[d][f?0x0:0x1]),m['setDisplay']('')):m['setDisplay'](y(0x1fd));}return l[w(0x1fc)]['add'](s),l['materialChanged']['add'](s),m;}function a(){const z=['getValue','setPrecision','4358354nGyVTf','setStep','68834uogzEP','3952212dQeKdw','2334441cjGoAk','setUnit','26DDCoRQ','2822305dBrvUH','842048RNazPH','997446hyNIOu','setRange','objectSelected','none','setValue','execute','setWidth','60px'];a=function(){return z;};return a();}function b(c,d){c=c-0x1f3;const e=a();let f=e[c];return f;}export{SidebarMaterialRangeValueProperty};