@svgrid/enterprise 2.3.2 → 2.5.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 (165) hide show
  1. package/dist/cdn/svgrid-enterprise.svelte-external.js +5917 -5545
  2. package/dist/designer/assets/index-oYok52zd.css +1 -0
  3. package/dist/designer/assets/{index-DVrv9dH6.js → index-qL7ir9C7.js} +89 -89
  4. package/dist/designer/assets/src-96d31O63.js +2873 -0
  5. package/dist/designer/assets/src-D-O2F805.css +1 -0
  6. package/dist/designer/index.html +6 -6
  7. package/dist/node/studio.js +681 -84
  8. package/package.json +3 -3
  9. package/src/SvGridEditPanel.dom.test.ts +174 -0
  10. package/src/SvGridEditPanel.svelte +209 -46
  11. package/src/edit-panel.test.ts +145 -36
  12. package/src/edit-panel.ts +167 -16
  13. package/src/expressions/evaluate.ts +1 -1
  14. package/src/expressions/parse.ts +3 -3
  15. package/src/index.ts +8 -0
  16. package/src/license-core.ts +77 -5
  17. package/src/license-expiry.test.ts +91 -0
  18. package/src/license.ts +31 -2
  19. package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/_svelte_metadata.json +1 -0
  20. package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/_metadata.json +178 -0
  21. package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/attachments-ZrPsKxob.js +3875 -0
  22. package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/attachments-ZrPsKxob.js.map +1 -0
  23. package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/constants-ACqvWGE2.js +21 -0
  24. package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/constants-ACqvWGE2.js.map +1 -0
  25. package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/dev-D3w5jt92.js +1938 -0
  26. package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/dev-D3w5jt92.js.map +1 -0
  27. package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/events-CC2V3H0y.js +205 -0
  28. package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/events-CC2V3H0y.js.map +1 -0
  29. package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/flags-BXP37tAa.js +18 -0
  30. package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/flags-BXP37tAa.js.map +1 -0
  31. package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/hydration-DwubnU5b.js +264 -0
  32. package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/hydration-DwubnU5b.js.map +1 -0
  33. package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/legacy-client-hD7f6PUz.js +697 -0
  34. package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/legacy-client-hD7f6PUz.js.map +1 -0
  35. package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/package.json +3 -0
  36. package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte.js +134 -0
  37. package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte.js.map +1 -0
  38. package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_animate.js +55 -0
  39. package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_animate.js.map +1 -0
  40. package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_attachments.js +2 -0
  41. package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_compiler.js +46843 -0
  42. package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_compiler.js.map +1 -0
  43. package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_easing.js +237 -0
  44. package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_easing.js.map +1 -0
  45. package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_events.js +2 -0
  46. package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_internal.js +4 -0
  47. package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_internal.js.map +1 -0
  48. package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_internal_client.js +7 -0
  49. package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_internal_disclose-version.js +4 -0
  50. package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_internal_disclose-version.js.map +1 -0
  51. package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_internal_flags_async.js +5 -0
  52. package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_internal_flags_async.js.map +1 -0
  53. package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_internal_flags_legacy.js +5 -0
  54. package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_internal_flags_legacy.js.map +1 -0
  55. package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_internal_flags_tracing.js +5 -0
  56. package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_internal_flags_tracing.js.map +1 -0
  57. package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_internal_server.js +6 -0
  58. package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_legacy.js +83 -0
  59. package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_legacy.js.map +1 -0
  60. package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_motion.js +559 -0
  61. package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_motion.js.map +1 -0
  62. package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_reactivity.js +24 -0
  63. package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_reactivity.js.map +1 -0
  64. package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_reactivity_window.js +122 -0
  65. package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_reactivity_window.js.map +1 -0
  66. package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_server.js +2 -0
  67. package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_store.js +89 -0
  68. package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_store.js.map +1 -0
  69. package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_transition.js +241 -0
  70. package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_transition.js.map +1 -0
  71. package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/utils-DBx1SCN6.js +4938 -0
  72. package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/utils-DBx1SCN6.js.map +1 -0
  73. package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/utils-gjfpSTFS.js +495 -0
  74. package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/utils-gjfpSTFS.js.map +1 -0
  75. package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/validate-DKoOKg8S.js +190 -0
  76. package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/validate-DKoOKg8S.js.map +1 -0
  77. package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/version-C0MiR7eR.js +8 -0
  78. package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/version-C0MiR7eR.js.map +1 -0
  79. package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/warnings-B6Y7P0Q-.js +138 -0
  80. package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/warnings-B6Y7P0Q-.js.map +1 -0
  81. package/src/schema.ts +63 -0
  82. package/src/studio/emit-project.test.ts +191 -0
  83. package/src/studio/emit-project.ts +237 -27
  84. package/src/studio/emit-schema.ts +4 -1
  85. package/src/studio/index.ts +2 -0
  86. package/src/studio/init-flow.test.ts +150 -0
  87. package/src/studio/init-flow.ts +169 -22
  88. package/src/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/_svelte_metadata.json +1 -0
  89. package/src/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/_metadata.json +178 -0
  90. package/src/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/attachments-BOv1rBKp.js +3875 -0
  91. package/src/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/attachments-BOv1rBKp.js.map +1 -0
  92. package/src/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/constants-B9vgIdCd.js +21 -0
  93. package/src/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/constants-B9vgIdCd.js.map +1 -0
  94. package/src/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/dev-T1qbW_qD.js +1938 -0
  95. package/src/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/dev-T1qbW_qD.js.map +1 -0
  96. package/src/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/events-Bo11SfVK.js +205 -0
  97. package/src/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/events-Bo11SfVK.js.map +1 -0
  98. package/src/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/flags-X7D4vfrZ.js +18 -0
  99. package/src/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/flags-X7D4vfrZ.js.map +1 -0
  100. package/src/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/hydration-oyUje5i1.js +264 -0
  101. package/src/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/hydration-oyUje5i1.js.map +1 -0
  102. package/src/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/legacy-client-DeSQgSFm.js +697 -0
  103. package/src/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/legacy-client-DeSQgSFm.js.map +1 -0
  104. package/src/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/package.json +3 -0
  105. package/src/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte.js +134 -0
  106. package/src/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte.js.map +1 -0
  107. package/src/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_animate.js +55 -0
  108. package/src/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_animate.js.map +1 -0
  109. package/src/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_attachments.js +2 -0
  110. package/src/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_compiler.js +46843 -0
  111. package/src/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_compiler.js.map +1 -0
  112. package/src/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_easing.js +237 -0
  113. package/src/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_easing.js.map +1 -0
  114. package/src/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_events.js +2 -0
  115. package/src/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_internal.js +4 -0
  116. package/src/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_internal.js.map +1 -0
  117. package/src/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_internal_client.js +7 -0
  118. package/src/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_internal_disclose-version.js +4 -0
  119. package/src/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_internal_disclose-version.js.map +1 -0
  120. package/src/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_internal_flags_async.js +5 -0
  121. package/src/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_internal_flags_async.js.map +1 -0
  122. package/src/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_internal_flags_legacy.js +5 -0
  123. package/src/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_internal_flags_legacy.js.map +1 -0
  124. package/src/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_internal_flags_tracing.js +5 -0
  125. package/src/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_internal_flags_tracing.js.map +1 -0
  126. package/src/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_internal_server.js +6 -0
  127. package/src/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_legacy.js +83 -0
  128. package/src/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_legacy.js.map +1 -0
  129. package/src/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_motion.js +559 -0
  130. package/src/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_motion.js.map +1 -0
  131. package/src/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_reactivity.js +24 -0
  132. package/src/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_reactivity.js.map +1 -0
  133. package/src/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_reactivity_window.js +122 -0
  134. package/src/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_reactivity_window.js.map +1 -0
  135. package/src/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_server.js +2 -0
  136. package/src/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_store.js +89 -0
  137. package/src/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_store.js.map +1 -0
  138. package/src/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_transition.js +241 -0
  139. package/src/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_transition.js.map +1 -0
  140. package/src/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/utils-BbWyXNk1.js +4938 -0
  141. package/src/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/utils-BbWyXNk1.js.map +1 -0
  142. package/src/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/utils-DI_fC7vt.js +495 -0
  143. package/src/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/utils-DI_fC7vt.js.map +1 -0
  144. package/src/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/validate-Dyr3lQv9.js +190 -0
  145. package/src/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/validate-Dyr3lQv9.js.map +1 -0
  146. package/src/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/version-_9FHH-LF.js +8 -0
  147. package/src/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/version-_9FHH-LF.js.map +1 -0
  148. package/src/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/warnings-CUbSPnyP.js +138 -0
  149. package/src/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/warnings-CUbSPnyP.js.map +1 -0
  150. package/src/studio/project.test.ts +30 -0
  151. package/src/studio/project.ts +72 -8
  152. package/src/studio/samples/crm.ts +11 -2
  153. package/src/studio/samples/insurance.ts +10 -4
  154. package/src/studio/samples/samples.test.ts +36 -0
  155. package/src/studio/samples/shared.ts +14 -0
  156. package/src/studio/samples/support.ts +12 -5
  157. package/src/studio/screen-suites.test.ts +43 -0
  158. package/src/studio/screen-suites.ts +5 -2
  159. package/src/studio/user-error.ts +31 -0
  160. package/src/upgrade-prompt.ts +23 -10
  161. package/src/version.test.ts +17 -0
  162. package/src/version.ts +13 -0
  163. package/dist/designer/assets/index-DjPp1mn7.css +0 -1
  164. package/dist/designer/assets/src-BRKu53tV.js +0 -2842
  165. package/dist/designer/assets/src-DseB1VRN.css +0 -1
@@ -0,0 +1,559 @@
1
+ import { A as render_effect, dn as tag, en as writable, hr as noop, ht as state, ir as deferred, o as get, pt as set } from "./utils-DBx1SCN6.js";
2
+ import { linear } from "./svelte_easing.js";
3
+ import { gt as raf, ht as loop } from "./attachments-ZrPsKxob.js";
4
+ import { MediaQuery } from "./svelte_reactivity.js";
5
+ //#region ../../../node_modules/.pnpm/svelte@5.55.9_@typescript-eslint+types@8.67.0/node_modules/svelte/src/motion/utils.js
6
+ /**
7
+ * @param {any} obj
8
+ * @returns {obj is Date}
9
+ */
10
+ function is_date(obj) {
11
+ return Object.prototype.toString.call(obj) === "[object Date]";
12
+ }
13
+ //#endregion
14
+ //#region ../../../node_modules/.pnpm/svelte@5.55.9_@typescript-eslint+types@8.67.0/node_modules/svelte/src/motion/spring.js
15
+ /** @import { Task } from '#client' */
16
+ /** @import { TickContext } from './private.js' */
17
+ /** @import { Spring as SpringStore, SpringOptions, SpringUpdateOptions } from './public.js' */
18
+ /**
19
+ * @template T
20
+ * @param {TickContext} ctx
21
+ * @param {T} last_value
22
+ * @param {T} current_value
23
+ * @param {T} target_value
24
+ * @returns {T}
25
+ */
26
+ function tick_spring(ctx, last_value, current_value, target_value) {
27
+ if (typeof current_value === "number" || is_date(current_value)) {
28
+ const delta = target_value - current_value;
29
+ const velocity = (current_value - last_value) / (ctx.dt || 1 / 60);
30
+ const d = (velocity + (ctx.opts.stiffness * delta - ctx.opts.damping * velocity) * ctx.inv_mass) * ctx.dt;
31
+ if (Math.abs(d) < ctx.opts.precision && Math.abs(delta) < ctx.opts.precision) return target_value;
32
+ else {
33
+ ctx.settled = false;
34
+ return is_date(current_value) ? new Date(current_value.getTime() + d) : current_value + d;
35
+ }
36
+ } else if (Array.isArray(current_value)) return current_value.map((_, i) => tick_spring(ctx, last_value[i], current_value[i], target_value[i]));
37
+ else if (typeof current_value === "object") {
38
+ const next_value = {};
39
+ for (const k in current_value) next_value[k] = tick_spring(ctx, last_value[k], current_value[k], target_value[k]);
40
+ return next_value;
41
+ } else throw new Error(`Cannot spring ${typeof current_value} values`);
42
+ }
43
+ /**
44
+ * The spring function in Svelte creates a store whose value is animated, with a motion that simulates the behavior of a spring. This means when the value changes, instead of transitioning at a steady rate, it "bounces" like a spring would, depending on the physics parameters provided. This adds a level of realism to the transitions and can enhance the user experience.
45
+ *
46
+ * @deprecated Use [`Spring`](https://svelte.dev/docs/svelte/svelte-motion#Spring) instead
47
+ * @template [T=any]
48
+ * @param {T} [value]
49
+ * @param {SpringOptions} [opts]
50
+ * @returns {SpringStore<T>}
51
+ */
52
+ function spring(value, opts = {}) {
53
+ const store = writable(value);
54
+ const { stiffness = .15, damping = .8, precision = .01 } = opts;
55
+ /** @type {number} */
56
+ let last_time;
57
+ /** @type {Task | null} */
58
+ let task;
59
+ /** @type {object} */
60
+ let current_token;
61
+ let last_value = value;
62
+ let target_value = value;
63
+ let inv_mass = 1;
64
+ let inv_mass_recovery_rate = 0;
65
+ let cancel_task = false;
66
+ /**
67
+ * @param {T} new_value
68
+ * @param {SpringUpdateOptions} opts
69
+ * @returns {Promise<void>}
70
+ */
71
+ function set(new_value, opts = {}) {
72
+ target_value = new_value;
73
+ const token = current_token = {};
74
+ if (value == null || opts.hard || spring.stiffness >= 1 && spring.damping >= 1) {
75
+ cancel_task = true;
76
+ last_time = raf.now();
77
+ last_value = new_value;
78
+ store.set(value = target_value);
79
+ return Promise.resolve();
80
+ } else if (opts.soft) {
81
+ inv_mass_recovery_rate = 1 / ((opts.soft === true ? .5 : +opts.soft) * 60);
82
+ inv_mass = 0;
83
+ }
84
+ if (!task) {
85
+ last_time = raf.now();
86
+ cancel_task = false;
87
+ task = loop((now) => {
88
+ if (cancel_task) {
89
+ cancel_task = false;
90
+ task = null;
91
+ return false;
92
+ }
93
+ inv_mass = Math.min(inv_mass + inv_mass_recovery_rate, 1);
94
+ const elapsed = Math.min(now - last_time, 1e3 / 30);
95
+ /** @type {TickContext} */
96
+ const ctx = {
97
+ inv_mass,
98
+ opts: spring,
99
+ settled: true,
100
+ dt: elapsed * 60 / 1e3
101
+ };
102
+ const next_value = tick_spring(ctx, last_value, value, target_value);
103
+ last_time = now;
104
+ last_value = value;
105
+ store.set(value = next_value);
106
+ if (ctx.settled) task = null;
107
+ return !ctx.settled;
108
+ });
109
+ }
110
+ return new Promise((fulfil) => {
111
+ /** @type {Task} */ task.promise.then(() => {
112
+ if (token === current_token) fulfil();
113
+ });
114
+ });
115
+ }
116
+ /** @type {SpringStore<T>} */
117
+ const spring = {
118
+ set,
119
+ update: (fn, opts) => set(fn(target_value, value), opts),
120
+ subscribe: store.subscribe,
121
+ stiffness,
122
+ damping,
123
+ precision
124
+ };
125
+ return spring;
126
+ }
127
+ /**
128
+ * A wrapper for a value that behaves in a spring-like fashion. Changes to `spring.target` will cause `spring.current` to
129
+ * move towards it over time, taking account of the `spring.stiffness` and `spring.damping` parameters.
130
+ *
131
+ * ```svelte
132
+ * <script>
133
+ * import { Spring } from 'svelte/motion';
134
+ *
135
+ * const spring = new Spring(0);
136
+ * <\/script>
137
+ *
138
+ * <input type="range" bind:value={spring.target} />
139
+ * <input type="range" bind:value={spring.current} disabled />
140
+ * ```
141
+ * @template T
142
+ * @since 5.8.0
143
+ */
144
+ var Spring = class Spring {
145
+ #stiffness = /* @__PURE__ */ state(.15);
146
+ #damping = /* @__PURE__ */ state(.8);
147
+ #precision = /* @__PURE__ */ state(.01);
148
+ #current;
149
+ #target;
150
+ #last_value = void 0;
151
+ #last_time = 0;
152
+ #inverse_mass = 1;
153
+ #momentum = 0;
154
+ /** @type {import('../internal/client/types').Task | null} */
155
+ #task = null;
156
+ /** @type {ReturnType<typeof deferred> | null} */
157
+ #deferred = null;
158
+ /**
159
+ * @param {T} value
160
+ * @param {SpringOptions} [options]
161
+ */
162
+ constructor(value, options = {}) {
163
+ this.#current = tag(/* @__PURE__ */ state(value), "Spring.current");
164
+ this.#target = tag(/* @__PURE__ */ state(value), "Spring.target");
165
+ if (typeof options.stiffness === "number") this.#stiffness.v = clamp(options.stiffness, 0, 1);
166
+ if (typeof options.damping === "number") this.#damping.v = clamp(options.damping, 0, 1);
167
+ if (typeof options.precision === "number") this.#precision.v = options.precision;
168
+ tag(this.#stiffness, "Spring.stiffness");
169
+ tag(this.#damping, "Spring.damping");
170
+ tag(this.#precision, "Spring.precision");
171
+ tag(this.#current, "Spring.current");
172
+ tag(this.#target, "Spring.target");
173
+ }
174
+ /**
175
+ * Create a spring whose value is bound to the return value of `fn`. This must be called
176
+ * inside an effect root (for example, during component initialisation).
177
+ *
178
+ * ```svelte
179
+ * <script>
180
+ * import { Spring } from 'svelte/motion';
181
+ *
182
+ * let { number } = $props();
183
+ *
184
+ * const spring = Spring.of(() => number);
185
+ * <\/script>
186
+ * ```
187
+ * @template U
188
+ * @param {() => U} fn
189
+ * @param {SpringOptions} [options]
190
+ */
191
+ static of(fn, options) {
192
+ const spring = new Spring(fn(), options);
193
+ render_effect(() => {
194
+ spring.set(fn());
195
+ });
196
+ return spring;
197
+ }
198
+ /** @param {T} value */
199
+ #update(value) {
200
+ set(this.#target, value);
201
+ this.#current.v ??= value;
202
+ this.#last_value ??= this.#current.v;
203
+ if (!this.#task) {
204
+ this.#last_time = raf.now();
205
+ var inv_mass_recovery_rate = 1e3 / (this.#momentum * 60);
206
+ this.#task ??= loop((now) => {
207
+ this.#inverse_mass = Math.min(this.#inverse_mass + inv_mass_recovery_rate, 1);
208
+ const elapsed = Math.min(now - this.#last_time, 1e3 / 30);
209
+ /** @type {import('./private').TickContext} */
210
+ const ctx = {
211
+ inv_mass: this.#inverse_mass,
212
+ opts: {
213
+ stiffness: this.#stiffness.v,
214
+ damping: this.#damping.v,
215
+ precision: this.#precision.v
216
+ },
217
+ settled: true,
218
+ dt: elapsed * 60 / 1e3
219
+ };
220
+ var next = tick_spring(ctx, this.#last_value, this.#current.v, this.#target.v);
221
+ this.#last_value = this.#current.v;
222
+ this.#last_time = now;
223
+ set(this.#current, next);
224
+ if (ctx.settled) this.#task = null;
225
+ return !ctx.settled;
226
+ });
227
+ }
228
+ return this.#task.promise;
229
+ }
230
+ /**
231
+ * Sets `spring.target` to `value` and returns a `Promise` that resolves if and when `spring.current` catches up to it.
232
+ *
233
+ * If `options.instant` is `true`, `spring.current` immediately matches `spring.target`.
234
+ *
235
+ * If `options.preserveMomentum` is provided, the spring will continue on its current trajectory for
236
+ * the specified number of milliseconds. This is useful for things like 'fling' gestures.
237
+ *
238
+ * @param {T} value
239
+ * @param {SpringUpdateOptions} [options]
240
+ */
241
+ set(value, options) {
242
+ this.#deferred?.reject(/* @__PURE__ */ new Error("Aborted"));
243
+ if (options?.instant || this.#current.v === void 0) {
244
+ this.#task?.abort();
245
+ this.#task = null;
246
+ set(this.#current, set(this.#target, value));
247
+ this.#last_value = value;
248
+ return Promise.resolve();
249
+ }
250
+ if (options?.preserveMomentum) {
251
+ this.#inverse_mass = 0;
252
+ this.#momentum = options.preserveMomentum;
253
+ }
254
+ var d = this.#deferred = deferred();
255
+ d.promise.catch(noop);
256
+ this.#update(value).then(() => {
257
+ if (d !== this.#deferred) return;
258
+ d.resolve(void 0);
259
+ });
260
+ return d.promise;
261
+ }
262
+ get current() {
263
+ return get(this.#current);
264
+ }
265
+ get damping() {
266
+ return get(this.#damping);
267
+ }
268
+ set damping(v) {
269
+ set(this.#damping, clamp(v, 0, 1));
270
+ }
271
+ get precision() {
272
+ return get(this.#precision);
273
+ }
274
+ set precision(v) {
275
+ set(this.#precision, v);
276
+ }
277
+ get stiffness() {
278
+ return get(this.#stiffness);
279
+ }
280
+ set stiffness(v) {
281
+ set(this.#stiffness, clamp(v, 0, 1));
282
+ }
283
+ get target() {
284
+ return get(this.#target);
285
+ }
286
+ set target(v) {
287
+ this.set(v);
288
+ }
289
+ };
290
+ /**
291
+ * @param {number} n
292
+ * @param {number} min
293
+ * @param {number} max
294
+ */
295
+ function clamp(n, min, max) {
296
+ return Math.max(min, Math.min(max, n));
297
+ }
298
+ //#endregion
299
+ //#region ../../../node_modules/.pnpm/svelte@5.55.9_@typescript-eslint+types@8.67.0/node_modules/svelte/src/motion/tweened.js
300
+ /** @import { Task } from '../internal/client/types' */
301
+ /** @import { Tweened, TweenOptions } from './public' */
302
+ /**
303
+ * @template T
304
+ * @param {T} a
305
+ * @param {T} b
306
+ * @returns {(t: number) => T}
307
+ */
308
+ function get_interpolator(a, b) {
309
+ if (a === b || a !== a) return () => a;
310
+ const type = typeof a;
311
+ if (type !== typeof b || Array.isArray(a) !== Array.isArray(b)) throw new Error("Cannot interpolate values of different type");
312
+ if (Array.isArray(a)) {
313
+ const arr = b.map((bi, i) => {
314
+ return get_interpolator(
315
+ /** @type {Array<any>} */
316
+ a[i],
317
+ bi
318
+ );
319
+ });
320
+ return (t) => arr.map((fn) => fn(t));
321
+ }
322
+ if (type === "object") {
323
+ if (!a || !b) throw new Error("Object cannot be null");
324
+ if (is_date(a) && is_date(b)) {
325
+ const an = a.getTime();
326
+ const delta = b.getTime() - an;
327
+ return (t) => new Date(an + t * delta);
328
+ }
329
+ const keys = Object.keys(b);
330
+ /** @type {Record<string, (t: number) => T>} */
331
+ const interpolators = {};
332
+ keys.forEach((key) => {
333
+ interpolators[key] = get_interpolator(a[key], b[key]);
334
+ });
335
+ return (t) => {
336
+ /** @type {Record<string, any>} */
337
+ const result = {};
338
+ keys.forEach((key) => {
339
+ result[key] = interpolators[key](t);
340
+ });
341
+ return result;
342
+ };
343
+ }
344
+ if (type === "number") {
345
+ const delta = b - a;
346
+ return (t) => a + t * delta;
347
+ }
348
+ return () => b;
349
+ }
350
+ /**
351
+ * A tweened store in Svelte is a special type of store that provides smooth transitions between state values over time.
352
+ *
353
+ * @deprecated Use [`Tween`](https://svelte.dev/docs/svelte/svelte-motion#Tween) instead
354
+ * @template T
355
+ * @param {T} [value]
356
+ * @param {TweenOptions<T>} [defaults]
357
+ * @returns {Tweened<T>}
358
+ */
359
+ function tweened(value, defaults = {}) {
360
+ const store = writable(value);
361
+ /** @type {Task} */
362
+ let task;
363
+ let target_value = value;
364
+ /**
365
+ * @param {T} new_value
366
+ * @param {TweenOptions<T>} [opts]
367
+ */
368
+ function set(new_value, opts) {
369
+ target_value = new_value;
370
+ if (value == null) {
371
+ store.set(value = new_value);
372
+ return Promise.resolve();
373
+ }
374
+ /** @type {Task | null} */
375
+ let previous_task = task;
376
+ let started = false;
377
+ let { delay = 0, duration = 400, easing = linear, interpolate = get_interpolator } = {
378
+ ...defaults,
379
+ ...opts
380
+ };
381
+ if (duration === 0) {
382
+ if (previous_task) {
383
+ previous_task.abort();
384
+ previous_task = null;
385
+ }
386
+ store.set(value = target_value);
387
+ return Promise.resolve();
388
+ }
389
+ const start = raf.now() + delay;
390
+ /** @type {(t: number) => T} */
391
+ let fn;
392
+ task = loop((now) => {
393
+ if (now < start) return true;
394
+ if (!started) {
395
+ fn = interpolate(value, new_value);
396
+ if (typeof duration === "function") duration = duration(value, new_value);
397
+ started = true;
398
+ }
399
+ if (previous_task) {
400
+ previous_task.abort();
401
+ previous_task = null;
402
+ }
403
+ const elapsed = now - start;
404
+ if (elapsed > duration) {
405
+ store.set(value = new_value);
406
+ return false;
407
+ }
408
+ store.set(value = fn(easing(elapsed / duration)));
409
+ return true;
410
+ });
411
+ return task.promise;
412
+ }
413
+ return {
414
+ set,
415
+ update: (fn, opts) => set(fn(target_value, value), opts),
416
+ subscribe: store.subscribe
417
+ };
418
+ }
419
+ /**
420
+ * A wrapper for a value that tweens smoothly to its target value. Changes to `tween.target` will cause `tween.current` to
421
+ * move towards it over time, taking account of the `delay`, `duration` and `easing` options.
422
+ *
423
+ * ```svelte
424
+ * <script>
425
+ * import { Tween } from 'svelte/motion';
426
+ *
427
+ * const tween = new Tween(0);
428
+ * <\/script>
429
+ *
430
+ * <input type="range" bind:value={tween.target} />
431
+ * <input type="range" bind:value={tween.current} disabled />
432
+ * ```
433
+ * @template T
434
+ * @since 5.8.0
435
+ */
436
+ var Tween = class Tween {
437
+ #current;
438
+ #target;
439
+ /** @type {TweenOptions<T>} */
440
+ #defaults;
441
+ /** @type {import('../internal/client/types').Task | null} */
442
+ #task = null;
443
+ /**
444
+ * @param {T} value
445
+ * @param {TweenOptions<T>} options
446
+ */
447
+ constructor(value, options = {}) {
448
+ this.#current = /* @__PURE__ */ state(value);
449
+ this.#target = /* @__PURE__ */ state(value);
450
+ this.#defaults = options;
451
+ tag(this.#current, "Tween.current");
452
+ tag(this.#target, "Tween.target");
453
+ }
454
+ /**
455
+ * Create a tween whose value is bound to the return value of `fn`. This must be called
456
+ * inside an effect root (for example, during component initialisation).
457
+ *
458
+ * ```svelte
459
+ * <script>
460
+ * import { Tween } from 'svelte/motion';
461
+ *
462
+ * let { number } = $props();
463
+ *
464
+ * const tween = Tween.of(() => number);
465
+ * <\/script>
466
+ * ```
467
+ * @template U
468
+ * @param {() => U} fn
469
+ * @param {TweenOptions<U>} [options]
470
+ */
471
+ static of(fn, options) {
472
+ const tween = new Tween(fn(), options);
473
+ render_effect(() => {
474
+ tween.set(fn());
475
+ });
476
+ return tween;
477
+ }
478
+ /**
479
+ * Sets `tween.target` to `value` and returns a `Promise` that resolves if and when `tween.current` catches up to it.
480
+ *
481
+ * If `options` are provided, they will override the tween's defaults.
482
+ * @param {T} value
483
+ * @param {TweenOptions<T>} [options]
484
+ * @returns
485
+ */
486
+ set(value, options) {
487
+ set(this.#target, value);
488
+ let { delay = 0, duration = 400, easing = linear, interpolate = get_interpolator } = {
489
+ ...this.#defaults,
490
+ ...options
491
+ };
492
+ if (duration === 0) {
493
+ this.#task?.abort();
494
+ set(this.#current, value);
495
+ return Promise.resolve();
496
+ }
497
+ const start = raf.now() + delay;
498
+ /** @type {(t: number) => T} */
499
+ let fn;
500
+ let started = false;
501
+ let previous_task = this.#task;
502
+ this.#task = loop((now) => {
503
+ if (now < start) return true;
504
+ if (!started) {
505
+ started = true;
506
+ const prev = this.#current.v;
507
+ fn = interpolate(prev, value);
508
+ if (typeof duration === "function") duration = duration(prev, value);
509
+ previous_task?.abort();
510
+ }
511
+ const elapsed = now - start;
512
+ if (elapsed > duration) {
513
+ set(this.#current, value);
514
+ return false;
515
+ }
516
+ set(this.#current, fn(easing(elapsed / duration)));
517
+ return true;
518
+ });
519
+ return this.#task.promise;
520
+ }
521
+ get current() {
522
+ return get(this.#current);
523
+ }
524
+ get target() {
525
+ return get(this.#target);
526
+ }
527
+ set target(v) {
528
+ this.set(v);
529
+ }
530
+ };
531
+ //#endregion
532
+ //#region ../../../node_modules/.pnpm/svelte@5.55.9_@typescript-eslint+types@8.67.0/node_modules/svelte/src/motion/index.js
533
+ /**
534
+ * A [media query](https://svelte.dev/docs/svelte/svelte-reactivity#MediaQuery) that matches if the user [prefers reduced motion](https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-reduced-motion).
535
+ *
536
+ * ```svelte
537
+ * <script>
538
+ * import { prefersReducedMotion } from 'svelte/motion';
539
+ * import { fly } from 'svelte/transition';
540
+ *
541
+ * let visible = $state(false);
542
+ * <\/script>
543
+ *
544
+ * <button onclick={() => visible = !visible}>
545
+ * toggle
546
+ * </button>
547
+ *
548
+ * {#if visible}
549
+ * <p transition:fly={{ y: prefersReducedMotion.current ? 0 : 200 }}>
550
+ * flies in, unless the user prefers reduced motion
551
+ * </p>
552
+ * {/if}
553
+ * ```
554
+ * @type {MediaQuery}
555
+ * @since 5.7.0
556
+ */
557
+ var prefersReducedMotion = /*@__PURE__*/ new MediaQuery("(prefers-reduced-motion: reduce)");
558
+ //#endregion
559
+ export { Spring, Tween, prefersReducedMotion, spring, tweened };
@@ -0,0 +1 @@
1
+ {"version":3,"file":"svelte_motion.js","names":["#current","#target","#stiffness","#damping","#precision","#last_value","#task","#last_time","#momentum","#inverse_mass","#deferred","#update","#current","#target","#defaults","#task"],"sources":["../../../../../../../../node_modules/.pnpm/svelte@5.55.9_@typescript-eslint+types@8.67.0/node_modules/svelte/src/motion/utils.js","../../../../../../../../node_modules/.pnpm/svelte@5.55.9_@typescript-eslint+types@8.67.0/node_modules/svelte/src/motion/spring.js","../../../../../../../../node_modules/.pnpm/svelte@5.55.9_@typescript-eslint+types@8.67.0/node_modules/svelte/src/motion/tweened.js","../../../../../../../../node_modules/.pnpm/svelte@5.55.9_@typescript-eslint+types@8.67.0/node_modules/svelte/src/motion/index.js"],"sourcesContent":["/**\n * @param {any} obj\n * @returns {obj is Date}\n */\nexport function is_date(obj) {\n\treturn Object.prototype.toString.call(obj) === '[object Date]';\n}\n","/** @import { Task } from '#client' */\n/** @import { TickContext } from './private.js' */\n/** @import { Spring as SpringStore, SpringOptions, SpringUpdateOptions } from './public.js' */\nimport { writable } from '../store/shared/index.js';\nimport { loop } from '../internal/client/loop.js';\nimport { raf } from '../internal/client/timing.js';\nimport { is_date } from './utils.js';\nimport { set, state } from '../internal/client/reactivity/sources.js';\nimport { render_effect } from '../internal/client/reactivity/effects.js';\nimport { tag } from '../internal/client/dev/tracing.js';\nimport { get } from '../internal/client/runtime.js';\nimport { deferred, noop } from '../internal/shared/utils.js';\nimport { DEV } from 'esm-env';\n\n/**\n * @template T\n * @param {TickContext} ctx\n * @param {T} last_value\n * @param {T} current_value\n * @param {T} target_value\n * @returns {T}\n */\nfunction tick_spring(ctx, last_value, current_value, target_value) {\n\tif (typeof current_value === 'number' || is_date(current_value)) {\n\t\t// @ts-ignore\n\t\tconst delta = target_value - current_value;\n\t\t// @ts-ignore\n\t\tconst velocity = (current_value - last_value) / (ctx.dt || 1 / 60); // guard div by 0\n\t\tconst spring = ctx.opts.stiffness * delta;\n\t\tconst damper = ctx.opts.damping * velocity;\n\t\tconst acceleration = (spring - damper) * ctx.inv_mass;\n\t\tconst d = (velocity + acceleration) * ctx.dt;\n\t\tif (Math.abs(d) < ctx.opts.precision && Math.abs(delta) < ctx.opts.precision) {\n\t\t\treturn target_value; // settled\n\t\t} else {\n\t\t\tctx.settled = false; // signal loop to keep ticking\n\t\t\t// @ts-ignore\n\t\t\treturn is_date(current_value) ? new Date(current_value.getTime() + d) : current_value + d;\n\t\t}\n\t} else if (Array.isArray(current_value)) {\n\t\t// @ts-ignore\n\t\treturn current_value.map((_, i) =>\n\t\t\t// @ts-ignore\n\t\t\ttick_spring(ctx, last_value[i], current_value[i], target_value[i])\n\t\t);\n\t} else if (typeof current_value === 'object') {\n\t\tconst next_value = {};\n\t\tfor (const k in current_value) {\n\t\t\t// @ts-ignore\n\t\t\tnext_value[k] = tick_spring(ctx, last_value[k], current_value[k], target_value[k]);\n\t\t}\n\t\t// @ts-ignore\n\t\treturn next_value;\n\t} else {\n\t\tthrow new Error(`Cannot spring ${typeof current_value} values`);\n\t}\n}\n\n/**\n * The spring function in Svelte creates a store whose value is animated, with a motion that simulates the behavior of a spring. This means when the value changes, instead of transitioning at a steady rate, it \"bounces\" like a spring would, depending on the physics parameters provided. This adds a level of realism to the transitions and can enhance the user experience.\n *\n * @deprecated Use [`Spring`](https://svelte.dev/docs/svelte/svelte-motion#Spring) instead\n * @template [T=any]\n * @param {T} [value]\n * @param {SpringOptions} [opts]\n * @returns {SpringStore<T>}\n */\nexport function spring(value, opts = {}) {\n\tconst store = writable(value);\n\tconst { stiffness = 0.15, damping = 0.8, precision = 0.01 } = opts;\n\t/** @type {number} */\n\tlet last_time;\n\t/** @type {Task | null} */\n\tlet task;\n\t/** @type {object} */\n\tlet current_token;\n\n\tlet last_value = /** @type {T} */ (value);\n\tlet target_value = /** @type {T | undefined} */ (value);\n\n\tlet inv_mass = 1;\n\tlet inv_mass_recovery_rate = 0;\n\tlet cancel_task = false;\n\t/**\n\t * @param {T} new_value\n\t * @param {SpringUpdateOptions} opts\n\t * @returns {Promise<void>}\n\t */\n\tfunction set(new_value, opts = {}) {\n\t\ttarget_value = new_value;\n\t\tconst token = (current_token = {});\n\t\tif (value == null || opts.hard || (spring.stiffness >= 1 && spring.damping >= 1)) {\n\t\t\tcancel_task = true; // cancel any running animation\n\t\t\tlast_time = raf.now();\n\t\t\tlast_value = new_value;\n\t\t\tstore.set((value = target_value));\n\t\t\treturn Promise.resolve();\n\t\t} else if (opts.soft) {\n\t\t\tconst rate = opts.soft === true ? 0.5 : +opts.soft;\n\t\t\tinv_mass_recovery_rate = 1 / (rate * 60);\n\t\t\tinv_mass = 0; // infinite mass, unaffected by spring forces\n\t\t}\n\t\tif (!task) {\n\t\t\tlast_time = raf.now();\n\t\t\tcancel_task = false;\n\t\t\ttask = loop((now) => {\n\t\t\t\tif (cancel_task) {\n\t\t\t\t\tcancel_task = false;\n\t\t\t\t\ttask = null;\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t\tinv_mass = Math.min(inv_mass + inv_mass_recovery_rate, 1);\n\n\t\t\t\t// clamp elapsed time to 1/30th of a second, so that longer pauses\n\t\t\t\t// (blocked thread or inactive tab) don't cause the spring to go haywire\n\t\t\t\tconst elapsed = Math.min(now - last_time, 1000 / 30);\n\n\t\t\t\t/** @type {TickContext} */\n\t\t\t\tconst ctx = {\n\t\t\t\t\tinv_mass,\n\t\t\t\t\topts: spring,\n\t\t\t\t\tsettled: true,\n\t\t\t\t\tdt: (elapsed * 60) / 1000\n\t\t\t\t};\n\t\t\t\t// @ts-ignore\n\t\t\t\tconst next_value = tick_spring(ctx, last_value, value, target_value);\n\t\t\t\tlast_time = now;\n\t\t\t\tlast_value = /** @type {T} */ (value);\n\t\t\t\tstore.set((value = /** @type {T} */ (next_value)));\n\t\t\t\tif (ctx.settled) {\n\t\t\t\t\ttask = null;\n\t\t\t\t}\n\t\t\t\treturn !ctx.settled;\n\t\t\t});\n\t\t}\n\t\treturn new Promise((fulfil) => {\n\t\t\t/** @type {Task} */ (task).promise.then(() => {\n\t\t\t\tif (token === current_token) fulfil();\n\t\t\t});\n\t\t});\n\t}\n\t/** @type {SpringStore<T>} */\n\t// @ts-expect-error - class-only properties are missing\n\tconst spring = {\n\t\tset,\n\t\tupdate: (fn, opts) => set(fn(/** @type {T} */ (target_value), /** @type {T} */ (value)), opts),\n\t\tsubscribe: store.subscribe,\n\t\tstiffness,\n\t\tdamping,\n\t\tprecision\n\t};\n\treturn spring;\n}\n\n/**\n * A wrapper for a value that behaves in a spring-like fashion. Changes to `spring.target` will cause `spring.current` to\n * move towards it over time, taking account of the `spring.stiffness` and `spring.damping` parameters.\n *\n * ```svelte\n * <script>\n * \timport { Spring } from 'svelte/motion';\n *\n * \tconst spring = new Spring(0);\n * </script>\n *\n * <input type=\"range\" bind:value={spring.target} />\n * <input type=\"range\" bind:value={spring.current} disabled />\n * ```\n * @template T\n * @since 5.8.0\n */\nexport class Spring {\n\t#stiffness = state(0.15);\n\t#damping = state(0.8);\n\t#precision = state(0.01);\n\n\t#current;\n\t#target;\n\n\t#last_value = /** @type {T} */ (undefined);\n\t#last_time = 0;\n\n\t#inverse_mass = 1;\n\t#momentum = 0;\n\n\t/** @type {import('../internal/client/types').Task | null} */\n\t#task = null;\n\n\t/** @type {ReturnType<typeof deferred> | null} */\n\t#deferred = null;\n\n\t/**\n\t * @param {T} value\n\t * @param {SpringOptions} [options]\n\t */\n\tconstructor(value, options = {}) {\n\t\tthis.#current = DEV ? tag(state(value), 'Spring.current') : state(value);\n\t\tthis.#target = DEV ? tag(state(value), 'Spring.target') : state(value);\n\n\t\tif (typeof options.stiffness === 'number') this.#stiffness.v = clamp(options.stiffness, 0, 1);\n\t\tif (typeof options.damping === 'number') this.#damping.v = clamp(options.damping, 0, 1);\n\t\tif (typeof options.precision === 'number') this.#precision.v = options.precision;\n\n\t\tif (DEV) {\n\t\t\ttag(this.#stiffness, 'Spring.stiffness');\n\t\t\ttag(this.#damping, 'Spring.damping');\n\t\t\ttag(this.#precision, 'Spring.precision');\n\t\t\ttag(this.#current, 'Spring.current');\n\t\t\ttag(this.#target, 'Spring.target');\n\t\t}\n\t}\n\n\t/**\n\t * Create a spring whose value is bound to the return value of `fn`. This must be called\n\t * inside an effect root (for example, during component initialisation).\n\t *\n\t * ```svelte\n\t * <script>\n\t * \timport { Spring } from 'svelte/motion';\n\t *\n\t * \tlet { number } = $props();\n\t *\n\t * \tconst spring = Spring.of(() => number);\n\t * </script>\n\t * ```\n\t * @template U\n\t * @param {() => U} fn\n\t * @param {SpringOptions} [options]\n\t */\n\tstatic of(fn, options) {\n\t\tconst spring = new Spring(fn(), options);\n\n\t\trender_effect(() => {\n\t\t\tspring.set(fn());\n\t\t});\n\n\t\treturn spring;\n\t}\n\n\t/** @param {T} value */\n\t#update(value) {\n\t\tset(this.#target, value);\n\n\t\tthis.#current.v ??= value;\n\t\tthis.#last_value ??= this.#current.v;\n\n\t\tif (!this.#task) {\n\t\t\tthis.#last_time = raf.now();\n\n\t\t\tvar inv_mass_recovery_rate = 1000 / (this.#momentum * 60);\n\n\t\t\tthis.#task ??= loop((now) => {\n\t\t\t\tthis.#inverse_mass = Math.min(this.#inverse_mass + inv_mass_recovery_rate, 1);\n\n\t\t\t\t// clamp elapsed time to 1/30th of a second, so that longer pauses\n\t\t\t\t// (blocked thread or inactive tab) don't cause the spring to go haywire\n\t\t\t\tconst elapsed = Math.min(now - this.#last_time, 1000 / 30);\n\n\t\t\t\t/** @type {import('./private').TickContext} */\n\t\t\t\tconst ctx = {\n\t\t\t\t\tinv_mass: this.#inverse_mass,\n\t\t\t\t\topts: {\n\t\t\t\t\t\tstiffness: this.#stiffness.v,\n\t\t\t\t\t\tdamping: this.#damping.v,\n\t\t\t\t\t\tprecision: this.#precision.v\n\t\t\t\t\t},\n\t\t\t\t\tsettled: true,\n\t\t\t\t\tdt: (elapsed * 60) / 1000\n\t\t\t\t};\n\n\t\t\t\tvar next = tick_spring(ctx, this.#last_value, this.#current.v, this.#target.v);\n\t\t\t\tthis.#last_value = this.#current.v;\n\t\t\t\tthis.#last_time = now;\n\t\t\t\tset(this.#current, next);\n\n\t\t\t\tif (ctx.settled) {\n\t\t\t\t\tthis.#task = null;\n\t\t\t\t}\n\n\t\t\t\treturn !ctx.settled;\n\t\t\t});\n\t\t}\n\n\t\treturn this.#task.promise;\n\t}\n\n\t/**\n\t * Sets `spring.target` to `value` and returns a `Promise` that resolves if and when `spring.current` catches up to it.\n\t *\n\t * If `options.instant` is `true`, `spring.current` immediately matches `spring.target`.\n\t *\n\t * If `options.preserveMomentum` is provided, the spring will continue on its current trajectory for\n\t * the specified number of milliseconds. This is useful for things like 'fling' gestures.\n\t *\n\t * @param {T} value\n\t * @param {SpringUpdateOptions} [options]\n\t */\n\tset(value, options) {\n\t\tthis.#deferred?.reject(new Error('Aborted'));\n\n\t\tif (options?.instant || this.#current.v === undefined) {\n\t\t\tthis.#task?.abort();\n\t\t\tthis.#task = null;\n\t\t\tset(this.#current, set(this.#target, value));\n\t\t\tthis.#last_value = value;\n\t\t\treturn Promise.resolve();\n\t\t}\n\n\t\tif (options?.preserveMomentum) {\n\t\t\tthis.#inverse_mass = 0;\n\t\t\tthis.#momentum = options.preserveMomentum;\n\t\t}\n\n\t\tvar d = (this.#deferred = deferred());\n\t\td.promise.catch(noop);\n\n\t\tthis.#update(value).then(() => {\n\t\t\tif (d !== this.#deferred) return;\n\t\t\td.resolve(undefined);\n\t\t});\n\n\t\treturn d.promise;\n\t}\n\n\tget current() {\n\t\treturn get(this.#current);\n\t}\n\n\tget damping() {\n\t\treturn get(this.#damping);\n\t}\n\n\tset damping(v) {\n\t\tset(this.#damping, clamp(v, 0, 1));\n\t}\n\n\tget precision() {\n\t\treturn get(this.#precision);\n\t}\n\n\tset precision(v) {\n\t\tset(this.#precision, v);\n\t}\n\n\tget stiffness() {\n\t\treturn get(this.#stiffness);\n\t}\n\n\tset stiffness(v) {\n\t\tset(this.#stiffness, clamp(v, 0, 1));\n\t}\n\n\tget target() {\n\t\treturn get(this.#target);\n\t}\n\n\tset target(v) {\n\t\tthis.set(v);\n\t}\n}\n\n/**\n * @param {number} n\n * @param {number} min\n * @param {number} max\n */\nfunction clamp(n, min, max) {\n\treturn Math.max(min, Math.min(max, n));\n}\n","/** @import { Task } from '../internal/client/types' */\n/** @import { Tweened, TweenOptions } from './public' */\nimport { writable } from '../store/shared/index.js';\nimport { raf } from '../internal/client/timing.js';\nimport { loop } from '../internal/client/loop.js';\nimport { linear } from '../easing/index.js';\nimport { is_date } from './utils.js';\nimport { set, state } from '../internal/client/reactivity/sources.js';\nimport { tag } from '../internal/client/dev/tracing.js';\nimport { get, render_effect } from 'svelte/internal/client';\nimport { DEV } from 'esm-env';\n\n/**\n * @template T\n * @param {T} a\n * @param {T} b\n * @returns {(t: number) => T}\n */\nfunction get_interpolator(a, b) {\n\tif (a === b || a !== a) return () => a;\n\n\tconst type = typeof a;\n\tif (type !== typeof b || Array.isArray(a) !== Array.isArray(b)) {\n\t\tthrow new Error('Cannot interpolate values of different type');\n\t}\n\n\tif (Array.isArray(a)) {\n\t\tconst arr = /** @type {Array<any>} */ (b).map((bi, i) => {\n\t\t\treturn get_interpolator(/** @type {Array<any>} */ (a)[i], bi);\n\t\t});\n\n\t\t// @ts-ignore\n\t\treturn (t) => arr.map((fn) => fn(t));\n\t}\n\n\tif (type === 'object') {\n\t\tif (!a || !b) {\n\t\t\tthrow new Error('Object cannot be null');\n\t\t}\n\n\t\tif (is_date(a) && is_date(b)) {\n\t\t\tconst an = a.getTime();\n\t\t\tconst bn = b.getTime();\n\t\t\tconst delta = bn - an;\n\n\t\t\t// @ts-ignore\n\t\t\treturn (t) => new Date(an + t * delta);\n\t\t}\n\n\t\tconst keys = Object.keys(b);\n\n\t\t/** @type {Record<string, (t: number) => T>} */\n\t\tconst interpolators = {};\n\t\tkeys.forEach((key) => {\n\t\t\t// @ts-ignore\n\t\t\tinterpolators[key] = get_interpolator(a[key], b[key]);\n\t\t});\n\n\t\t// @ts-ignore\n\t\treturn (t) => {\n\t\t\t/** @type {Record<string, any>} */\n\t\t\tconst result = {};\n\t\t\tkeys.forEach((key) => {\n\t\t\t\tresult[key] = interpolators[key](t);\n\t\t\t});\n\t\t\treturn result;\n\t\t};\n\t}\n\n\tif (type === 'number') {\n\t\tconst delta = /** @type {number} */ (b) - /** @type {number} */ (a);\n\t\t// @ts-ignore\n\t\treturn (t) => a + t * delta;\n\t}\n\n\t// for non-numeric values, snap to the final value immediately\n\treturn () => b;\n}\n\n/**\n * A tweened store in Svelte is a special type of store that provides smooth transitions between state values over time.\n *\n * @deprecated Use [`Tween`](https://svelte.dev/docs/svelte/svelte-motion#Tween) instead\n * @template T\n * @param {T} [value]\n * @param {TweenOptions<T>} [defaults]\n * @returns {Tweened<T>}\n */\nexport function tweened(value, defaults = {}) {\n\tconst store = writable(value);\n\t/** @type {Task} */\n\tlet task;\n\tlet target_value = value;\n\t/**\n\t * @param {T} new_value\n\t * @param {TweenOptions<T>} [opts]\n\t */\n\tfunction set(new_value, opts) {\n\t\ttarget_value = new_value;\n\n\t\tif (value == null) {\n\t\t\tstore.set((value = new_value));\n\t\t\treturn Promise.resolve();\n\t\t}\n\n\t\t/** @type {Task | null} */\n\t\tlet previous_task = task;\n\n\t\tlet started = false;\n\t\tlet {\n\t\t\tdelay = 0,\n\t\t\tduration = 400,\n\t\t\teasing = linear,\n\t\t\tinterpolate = get_interpolator\n\t\t} = { ...defaults, ...opts };\n\n\t\tif (duration === 0) {\n\t\t\tif (previous_task) {\n\t\t\t\tprevious_task.abort();\n\t\t\t\tprevious_task = null;\n\t\t\t}\n\t\t\tstore.set((value = target_value));\n\t\t\treturn Promise.resolve();\n\t\t}\n\n\t\tconst start = raf.now() + delay;\n\n\t\t/** @type {(t: number) => T} */\n\t\tlet fn;\n\t\ttask = loop((now) => {\n\t\t\tif (now < start) return true;\n\t\t\tif (!started) {\n\t\t\t\tfn = interpolate(/** @type {any} */ (value), new_value);\n\t\t\t\tif (typeof duration === 'function')\n\t\t\t\t\tduration = duration(/** @type {any} */ (value), new_value);\n\t\t\t\tstarted = true;\n\t\t\t}\n\t\t\tif (previous_task) {\n\t\t\t\tprevious_task.abort();\n\t\t\t\tprevious_task = null;\n\t\t\t}\n\t\t\tconst elapsed = now - start;\n\t\t\tif (elapsed > /** @type {number} */ (duration)) {\n\t\t\t\tstore.set((value = new_value));\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\t// @ts-ignore\n\t\t\tstore.set((value = fn(easing(elapsed / duration))));\n\t\t\treturn true;\n\t\t});\n\t\treturn task.promise;\n\t}\n\treturn {\n\t\tset,\n\t\tupdate: (fn, opts) =>\n\t\t\tset(fn(/** @type {any} */ (target_value), /** @type {any} */ (value)), opts),\n\t\tsubscribe: store.subscribe\n\t};\n}\n\n/**\n * A wrapper for a value that tweens smoothly to its target value. Changes to `tween.target` will cause `tween.current` to\n * move towards it over time, taking account of the `delay`, `duration` and `easing` options.\n *\n * ```svelte\n * <script>\n * \timport { Tween } from 'svelte/motion';\n *\n * \tconst tween = new Tween(0);\n * </script>\n *\n * <input type=\"range\" bind:value={tween.target} />\n * <input type=\"range\" bind:value={tween.current} disabled />\n * ```\n * @template T\n * @since 5.8.0\n */\nexport class Tween {\n\t#current;\n\t#target;\n\n\t/** @type {TweenOptions<T>} */\n\t#defaults;\n\n\t/** @type {import('../internal/client/types').Task | null} */\n\t#task = null;\n\n\t/**\n\t * @param {T} value\n\t * @param {TweenOptions<T>} options\n\t */\n\tconstructor(value, options = {}) {\n\t\tthis.#current = state(value);\n\t\tthis.#target = state(value);\n\t\tthis.#defaults = options;\n\n\t\tif (DEV) {\n\t\t\ttag(this.#current, 'Tween.current');\n\t\t\ttag(this.#target, 'Tween.target');\n\t\t}\n\t}\n\n\t/**\n\t * Create a tween whose value is bound to the return value of `fn`. This must be called\n\t * inside an effect root (for example, during component initialisation).\n\t *\n\t * ```svelte\n\t * <script>\n\t * \timport { Tween } from 'svelte/motion';\n\t *\n\t * \tlet { number } = $props();\n\t *\n\t * \tconst tween = Tween.of(() => number);\n\t * </script>\n\t * ```\n\t * @template U\n\t * @param {() => U} fn\n\t * @param {TweenOptions<U>} [options]\n\t */\n\tstatic of(fn, options) {\n\t\tconst tween = new Tween(fn(), options);\n\n\t\trender_effect(() => {\n\t\t\ttween.set(fn());\n\t\t});\n\n\t\treturn tween;\n\t}\n\n\t/**\n\t * Sets `tween.target` to `value` and returns a `Promise` that resolves if and when `tween.current` catches up to it.\n\t *\n\t * If `options` are provided, they will override the tween's defaults.\n\t * @param {T} value\n\t * @param {TweenOptions<T>} [options]\n\t * @returns\n\t */\n\tset(value, options) {\n\t\tset(this.#target, value);\n\n\t\tlet {\n\t\t\tdelay = 0,\n\t\t\tduration = 400,\n\t\t\teasing = linear,\n\t\t\tinterpolate = get_interpolator\n\t\t} = { ...this.#defaults, ...options };\n\n\t\tif (duration === 0) {\n\t\t\tthis.#task?.abort();\n\t\t\tset(this.#current, value);\n\t\t\treturn Promise.resolve();\n\t\t}\n\n\t\tconst start = raf.now() + delay;\n\n\t\t/** @type {(t: number) => T} */\n\t\tlet fn;\n\t\tlet started = false;\n\t\tlet previous_task = this.#task;\n\n\t\tthis.#task = loop((now) => {\n\t\t\tif (now < start) {\n\t\t\t\treturn true;\n\t\t\t}\n\n\t\t\tif (!started) {\n\t\t\t\tstarted = true;\n\n\t\t\t\tconst prev = this.#current.v;\n\n\t\t\t\tfn = interpolate(prev, value);\n\n\t\t\t\tif (typeof duration === 'function') {\n\t\t\t\t\tduration = duration(prev, value);\n\t\t\t\t}\n\n\t\t\t\tprevious_task?.abort();\n\t\t\t}\n\n\t\t\tconst elapsed = now - start;\n\n\t\t\tif (elapsed > /** @type {number} */ (duration)) {\n\t\t\t\tset(this.#current, value);\n\t\t\t\treturn false;\n\t\t\t}\n\n\t\t\tset(this.#current, fn(easing(elapsed / /** @type {number} */ (duration))));\n\t\t\treturn true;\n\t\t});\n\n\t\treturn this.#task.promise;\n\t}\n\n\tget current() {\n\t\treturn get(this.#current);\n\t}\n\n\tget target() {\n\t\treturn get(this.#target);\n\t}\n\n\tset target(v) {\n\t\tthis.set(v);\n\t}\n}\n","import { MediaQuery } from 'svelte/reactivity';\n\nexport * from './spring.js';\nexport * from './tweened.js';\n\n/**\n * A [media query](https://svelte.dev/docs/svelte/svelte-reactivity#MediaQuery) that matches if the user [prefers reduced motion](https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-reduced-motion).\n *\n * ```svelte\n * <script>\n * \timport { prefersReducedMotion } from 'svelte/motion';\n * \timport { fly } from 'svelte/transition';\n *\n * \tlet visible = $state(false);\n * </script>\n *\n * <button onclick={() => visible = !visible}>\n * \ttoggle\n * </button>\n *\n * {#if visible}\n * \t<p transition:fly={{ y: prefersReducedMotion.current ? 0 : 200 }}>\n * \t\tflies in, unless the user prefers reduced motion\n * \t</p>\n * {/if}\n * ```\n * @type {MediaQuery}\n * @since 5.7.0\n */\nexport const prefersReducedMotion = /*@__PURE__*/ new MediaQuery(\n\t'(prefers-reduced-motion: reduce)'\n);\n"],"x_google_ignoreList":[0,1,2,3],"mappings":";;;;;;;;;AAIA,SAAgB,QAAQ,KAAK;CAC5B,OAAO,OAAO,UAAU,SAAS,KAAK,GAAG,MAAM;AAChD;;;;;;;;;;;;;;ACgBA,SAAS,YAAY,KAAK,YAAY,eAAe,cAAc;CAClE,IAAI,OAAO,kBAAkB,YAAY,QAAQ,aAAa,GAAG;EAEhE,MAAM,QAAQ,eAAe;EAE7B,MAAM,YAAY,gBAAgB,eAAe,IAAI,MAAM,IAAI;EAI/D,MAAM,KAAK,YAHI,IAAI,KAAK,YAAY,QACrB,IAAI,KAAK,UAAU,YACO,IAAI,YACP,IAAI;EAC1C,IAAI,KAAK,IAAI,CAAC,IAAI,IAAI,KAAK,aAAa,KAAK,IAAI,KAAK,IAAI,IAAI,KAAK,WAClE,OAAO;OACD;GACN,IAAI,UAAU;GAEd,OAAO,QAAQ,aAAa,IAAI,IAAI,KAAK,cAAc,QAAQ,IAAI,CAAC,IAAI,gBAAgB;EACzF;CACD,OAAO,IAAI,MAAM,QAAQ,aAAa,GAErC,OAAO,cAAc,KAAK,GAAG,MAE5B,YAAY,KAAK,WAAW,IAAI,cAAc,IAAI,aAAa,EAAE,CAClE;MACM,IAAI,OAAO,kBAAkB,UAAU;EAC7C,MAAM,aAAa,CAAC;EACpB,KAAK,MAAM,KAAK,eAEf,W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,qBACX;GAAE,GAAG,KAAKC;GAAW,GAAG;EAAQ;EAEpC,IAAI,aAAa,GAAG;GACnB,KAAKC,OAAO,MAAM;GAClB,IAAI,KAAKH,UAAU,KAAK;GACxB,OAAO,QAAQ,QAAQ;EACxB;EAEA,MAAM,QAAQ,IAAI,IAAI,IAAI;;EAG1B,IAAI;EACJ,IAAI,UAAU;EACd,IAAI,gBAAgB,KAAKG;EAEzB,KAAKA,QAAQ,MAAM,QAAQ;GAC1B,IAAI,MAAM,OACT,OAAO;GAGR,IAAI,CAAC,SAAS;IACb,UAAU;IAEV,MAAM,OAAO,KAAKH,SAAS;IAE3B,KAAK,YAAY,MAAM,KAAK;IAE5B,IAAI,OAAO,aAAa,YACvB,WAAW,SAAS,MAAM,KAAK;IAGhC,eAAe,MAAM;GACtB;GAEA,MAAM,UAAU,MAAM;GAEtB,IAAI,UAAiC,UAAW;IAC/C,IAAI,KAAKA,UAAU,KAAK;IACxB,OAAO;GACR;GAEA,IAAI,KAAKA,UAAU,GAAG,OAAO,UAAiC,QAAS,CAAC,CAAC;GACzE,OAAO;EACR,CAAC;EAED,OAAO,KAAKG,MAAM;CACnB;CAEA,IAAI,UAAU;EACb,OAAO,IAAI,KAAKH,QAAQ;CACzB;CAEA,IAAI,SAAS;EACZ,OAAO,IAAI,KAAKC,OAAO;CACxB;CAEA,IAAI,OAAO,GAAG;EACb,KAAK,IAAI,CAAC;CACX;AACD;;;;;;;;;;;;;;;;;;;;;;;;;;;ACnRA,IAAa,qCAAqC,IAAI,WACrD,kCACD"}
@@ -0,0 +1,24 @@
1
+ //#region ../../../node_modules/.pnpm/svelte@5.55.9_@typescript-eslint+types@8.67.0/node_modules/svelte/src/reactivity/index-server.js
2
+ var SvelteDate = globalThis.Date;
3
+ var SvelteSet = globalThis.Set;
4
+ var SvelteMap = globalThis.Map;
5
+ var SvelteURL = globalThis.URL;
6
+ var SvelteURLSearchParams = globalThis.URLSearchParams;
7
+ var MediaQuery = class {
8
+ current;
9
+ /**
10
+ * @param {string} query
11
+ * @param {boolean} [matches]
12
+ */
13
+ constructor(query, matches = false) {
14
+ this.current = matches;
15
+ }
16
+ };
17
+ /**
18
+ * @param {any} _
19
+ */
20
+ function createSubscriber(_) {
21
+ return () => {};
22
+ }
23
+ //#endregion
24
+ export { MediaQuery, SvelteDate, SvelteMap, SvelteSet, SvelteURL, SvelteURLSearchParams, createSubscriber };
@@ -0,0 +1 @@
1
+ {"version":3,"file":"svelte_reactivity.js","names":[],"sources":["../../../../../../../../node_modules/.pnpm/svelte@5.55.9_@typescript-eslint+types@8.67.0/node_modules/svelte/src/reactivity/index-server.js"],"sourcesContent":["export const SvelteDate = globalThis.Date;\nexport const SvelteSet = globalThis.Set;\nexport const SvelteMap = globalThis.Map;\nexport const SvelteURL = globalThis.URL;\nexport const SvelteURLSearchParams = globalThis.URLSearchParams;\n\nexport class MediaQuery {\n\tcurrent;\n\t/**\n\t * @param {string} query\n\t * @param {boolean} [matches]\n\t */\n\tconstructor(query, matches = false) {\n\t\tthis.current = matches;\n\t}\n}\n\n/**\n * @param {any} _\n */\nexport function createSubscriber(_) {\n\treturn () => {};\n}\n"],"x_google_ignoreList":[0],"mappings":";AAAA,IAAa,aAAa,WAAW;AACrC,IAAa,YAAY,WAAW;AACpC,IAAa,YAAY,WAAW;AACpC,IAAa,YAAY,WAAW;AACpC,IAAa,wBAAwB,WAAW;AAEhD,IAAa,aAAb,MAAwB;CACvB;;;;;CAKA,YAAY,OAAO,UAAU,OAAO;EACnC,KAAK,UAAU;CAChB;AACD;;;;AAKA,SAAgB,iBAAiB,GAAG;CACnC,aAAa,CAAC;AACf"}