t3d-ez.gl 0.0.1

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 (223) hide show
  1. package/dist/core/Controls/controlsLibs/FirstControls.cjs.js +1 -0
  2. package/dist/core/Controls/controlsLibs/FirstControls.esm.js +1 -0
  3. package/dist/core/Controls/index.cjs.js +1 -0
  4. package/dist/core/Controls/index.esm.js +1 -0
  5. package/dist/core/DynamicSky/index.cjs.js +1 -0
  6. package/dist/core/DynamicSky/index.esm.js +1 -0
  7. package/dist/core/Lights/Builders/DirectionalLightBuilder.cjs.js +1 -0
  8. package/dist/core/Lights/Builders/DirectionalLightBuilder.esm.js +1 -0
  9. package/dist/core/Lights/Builders/PointLightBuilder.cjs.js +1 -0
  10. package/dist/core/Lights/Builders/PointLightBuilder.esm.js +1 -0
  11. package/dist/core/Lights/index.cjs.js +1 -0
  12. package/dist/core/Lights/index.esm.js +1 -0
  13. package/dist/core/Map/extrudeMap.cjs.js +1 -0
  14. package/dist/core/Map/extrudeMap.esm.js +1 -0
  15. package/dist/core/Map/index.cjs.js +1 -0
  16. package/dist/core/Map/index.esm.js +1 -0
  17. package/dist/core/MarkerHtmlUI/index.cjs.js +1 -0
  18. package/dist/core/MarkerHtmlUI/index.esm.js +1 -0
  19. package/dist/core/Materials/FresnelMaterial.cjs.js +1 -0
  20. package/dist/core/Materials/FresnelMaterial.esm.js +1 -0
  21. package/dist/core/Materials/GradationMaterial.cjs.js +1 -0
  22. package/dist/core/Materials/GradationMaterial.esm.js +1 -0
  23. package/dist/core/Materials/index.cjs.js +1 -0
  24. package/dist/core/Materials/index.esm.js +1 -0
  25. package/dist/core/Meshes/Builders/BoxBuilder.cjs.js +1 -0
  26. package/dist/core/Meshes/Builders/BoxBuilder.esm.js +1 -0
  27. package/dist/core/Meshes/Builders/MeshBuilder.cjs.js +1 -0
  28. package/dist/core/Meshes/Builders/MeshBuilder.esm.js +1 -0
  29. package/dist/core/Meshes/Builders/PlaneBuilder.cjs.js +1 -0
  30. package/dist/core/Meshes/Builders/PlaneBuilder.esm.js +1 -0
  31. package/dist/core/Meshes/Builders/SphereBuilder.cjs.js +1 -0
  32. package/dist/core/Meshes/Builders/SphereBuilder.esm.js +1 -0
  33. package/dist/core/Meshes/index.cjs.js +1 -0
  34. package/dist/core/Meshes/index.esm.js +1 -0
  35. package/dist/core/PostProcessor/effects/OutlineEffect.cjs.js +1 -0
  36. package/dist/core/PostProcessor/effects/OutlineEffect.esm.js +1 -0
  37. package/dist/core/PostProcessor/effects/PotateEffect.cjs.js +1 -0
  38. package/dist/core/PostProcessor/effects/PotateEffect.esm.js +1 -0
  39. package/dist/core/PostProcessor/effects/SAOEffect.cjs.js +1 -0
  40. package/dist/core/PostProcessor/effects/SAOEffect.esm.js +1 -0
  41. package/dist/core/PostProcessor/effects/UnrealBloomEffect.cjs.js +1 -0
  42. package/dist/core/PostProcessor/effects/UnrealBloomEffect.esm.js +1 -0
  43. package/dist/core/PostProcessor/index.cjs.js +1 -0
  44. package/dist/core/PostProcessor/index.esm.js +1 -0
  45. package/dist/core/Resource/ResourceManager.cjs.js +1 -0
  46. package/dist/core/Resource/ResourceManager.esm.js +1 -0
  47. package/dist/core/Resource/loaders.cjs.js +1 -0
  48. package/dist/core/Resource/loaders.esm.js +1 -0
  49. package/dist/core/Resource/types.cjs.js +1 -0
  50. package/dist/core/Resource/types.esm.js +1 -0
  51. package/dist/core/WebGLEngine/index.cjs.js +1 -0
  52. package/dist/core/WebGLEngine/index.esm.js +1 -0
  53. package/dist/helpers/InfiniteGridHelper.cjs.js +1 -0
  54. package/dist/helpers/InfiniteGridHelper.esm.js +1 -0
  55. package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/fsum.cjs.js +1 -0
  56. package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/fsum.esm.js +1 -0
  57. package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/merge.cjs.js +1 -0
  58. package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/merge.esm.js +1 -0
  59. package/dist/node_modules/.pnpm/d3-geo@3.1.1/node_modules/d3-geo/src/cartesian.cjs.js +1 -0
  60. package/dist/node_modules/.pnpm/d3-geo@3.1.1/node_modules/d3-geo/src/cartesian.esm.js +1 -0
  61. package/dist/node_modules/.pnpm/d3-geo@3.1.1/node_modules/d3-geo/src/circle.cjs.js +1 -0
  62. package/dist/node_modules/.pnpm/d3-geo@3.1.1/node_modules/d3-geo/src/circle.esm.js +1 -0
  63. package/dist/node_modules/.pnpm/d3-geo@3.1.1/node_modules/d3-geo/src/clip/antimeridian.cjs.js +1 -0
  64. package/dist/node_modules/.pnpm/d3-geo@3.1.1/node_modules/d3-geo/src/clip/antimeridian.esm.js +1 -0
  65. package/dist/node_modules/.pnpm/d3-geo@3.1.1/node_modules/d3-geo/src/clip/buffer.cjs.js +1 -0
  66. package/dist/node_modules/.pnpm/d3-geo@3.1.1/node_modules/d3-geo/src/clip/buffer.esm.js +1 -0
  67. package/dist/node_modules/.pnpm/d3-geo@3.1.1/node_modules/d3-geo/src/clip/circle.cjs.js +1 -0
  68. package/dist/node_modules/.pnpm/d3-geo@3.1.1/node_modules/d3-geo/src/clip/circle.esm.js +1 -0
  69. package/dist/node_modules/.pnpm/d3-geo@3.1.1/node_modules/d3-geo/src/clip/index.cjs.js +1 -0
  70. package/dist/node_modules/.pnpm/d3-geo@3.1.1/node_modules/d3-geo/src/clip/index.esm.js +1 -0
  71. package/dist/node_modules/.pnpm/d3-geo@3.1.1/node_modules/d3-geo/src/clip/line.cjs.js +1 -0
  72. package/dist/node_modules/.pnpm/d3-geo@3.1.1/node_modules/d3-geo/src/clip/line.esm.js +1 -0
  73. package/dist/node_modules/.pnpm/d3-geo@3.1.1/node_modules/d3-geo/src/clip/rectangle.cjs.js +1 -0
  74. package/dist/node_modules/.pnpm/d3-geo@3.1.1/node_modules/d3-geo/src/clip/rectangle.esm.js +1 -0
  75. package/dist/node_modules/.pnpm/d3-geo@3.1.1/node_modules/d3-geo/src/clip/rejoin.cjs.js +1 -0
  76. package/dist/node_modules/.pnpm/d3-geo@3.1.1/node_modules/d3-geo/src/clip/rejoin.esm.js +1 -0
  77. package/dist/node_modules/.pnpm/d3-geo@3.1.1/node_modules/d3-geo/src/compose.cjs.js +1 -0
  78. package/dist/node_modules/.pnpm/d3-geo@3.1.1/node_modules/d3-geo/src/compose.esm.js +1 -0
  79. package/dist/node_modules/.pnpm/d3-geo@3.1.1/node_modules/d3-geo/src/identity.cjs.js +1 -0
  80. package/dist/node_modules/.pnpm/d3-geo@3.1.1/node_modules/d3-geo/src/identity.esm.js +1 -0
  81. package/dist/node_modules/.pnpm/d3-geo@3.1.1/node_modules/d3-geo/src/math.cjs.js +1 -0
  82. package/dist/node_modules/.pnpm/d3-geo@3.1.1/node_modules/d3-geo/src/math.esm.js +1 -0
  83. package/dist/node_modules/.pnpm/d3-geo@3.1.1/node_modules/d3-geo/src/noop.cjs.js +1 -0
  84. package/dist/node_modules/.pnpm/d3-geo@3.1.1/node_modules/d3-geo/src/noop.esm.js +1 -0
  85. package/dist/node_modules/.pnpm/d3-geo@3.1.1/node_modules/d3-geo/src/path/bounds.cjs.js +1 -0
  86. package/dist/node_modules/.pnpm/d3-geo@3.1.1/node_modules/d3-geo/src/path/bounds.esm.js +1 -0
  87. package/dist/node_modules/.pnpm/d3-geo@3.1.1/node_modules/d3-geo/src/pointEqual.cjs.js +1 -0
  88. package/dist/node_modules/.pnpm/d3-geo@3.1.1/node_modules/d3-geo/src/pointEqual.esm.js +1 -0
  89. package/dist/node_modules/.pnpm/d3-geo@3.1.1/node_modules/d3-geo/src/polygonContains.cjs.js +1 -0
  90. package/dist/node_modules/.pnpm/d3-geo@3.1.1/node_modules/d3-geo/src/polygonContains.esm.js +1 -0
  91. package/dist/node_modules/.pnpm/d3-geo@3.1.1/node_modules/d3-geo/src/projection/fit.cjs.js +1 -0
  92. package/dist/node_modules/.pnpm/d3-geo@3.1.1/node_modules/d3-geo/src/projection/fit.esm.js +1 -0
  93. package/dist/node_modules/.pnpm/d3-geo@3.1.1/node_modules/d3-geo/src/projection/index.cjs.js +1 -0
  94. package/dist/node_modules/.pnpm/d3-geo@3.1.1/node_modules/d3-geo/src/projection/index.esm.js +1 -0
  95. package/dist/node_modules/.pnpm/d3-geo@3.1.1/node_modules/d3-geo/src/projection/mercator.cjs.js +1 -0
  96. package/dist/node_modules/.pnpm/d3-geo@3.1.1/node_modules/d3-geo/src/projection/mercator.esm.js +1 -0
  97. package/dist/node_modules/.pnpm/d3-geo@3.1.1/node_modules/d3-geo/src/projection/resample.cjs.js +1 -0
  98. package/dist/node_modules/.pnpm/d3-geo@3.1.1/node_modules/d3-geo/src/projection/resample.esm.js +1 -0
  99. package/dist/node_modules/.pnpm/d3-geo@3.1.1/node_modules/d3-geo/src/rotation.cjs.js +1 -0
  100. package/dist/node_modules/.pnpm/d3-geo@3.1.1/node_modules/d3-geo/src/rotation.esm.js +1 -0
  101. package/dist/node_modules/.pnpm/d3-geo@3.1.1/node_modules/d3-geo/src/stream.cjs.js +1 -0
  102. package/dist/node_modules/.pnpm/d3-geo@3.1.1/node_modules/d3-geo/src/stream.esm.js +1 -0
  103. package/dist/node_modules/.pnpm/d3-geo@3.1.1/node_modules/d3-geo/src/transform.cjs.js +1 -0
  104. package/dist/node_modules/.pnpm/d3-geo@3.1.1/node_modules/d3-geo/src/transform.esm.js +1 -0
  105. package/dist/node_modules/.pnpm/gsap@3.14.2/node_modules/gsap/CSSPlugin.cjs.js +1 -0
  106. package/dist/node_modules/.pnpm/gsap@3.14.2/node_modules/gsap/CSSPlugin.esm.js +1 -0
  107. package/dist/node_modules/.pnpm/gsap@3.14.2/node_modules/gsap/gsap-core.cjs.js +1 -0
  108. package/dist/node_modules/.pnpm/gsap@3.14.2/node_modules/gsap/gsap-core.esm.js +1 -0
  109. package/dist/node_modules/.pnpm/gsap@3.14.2/node_modules/gsap/index.cjs.js +1 -0
  110. package/dist/node_modules/.pnpm/gsap@3.14.2/node_modules/gsap/index.esm.js +1 -0
  111. package/dist/node_modules/.pnpm/three@0.182.0/node_modules/three/build/three.core.cjs.js +1 -0
  112. package/dist/node_modules/.pnpm/three@0.182.0/node_modules/three/build/three.core.esm.js +1 -0
  113. package/dist/node_modules/.pnpm/three@0.182.0/node_modules/three/build/three.module.cjs.js +1 -0
  114. package/dist/node_modules/.pnpm/three@0.182.0/node_modules/three/build/three.module.esm.js +1 -0
  115. package/dist/node_modules/.pnpm/three@0.182.0/node_modules/three/examples/jsm/controls/OrbitControls.cjs.js +1 -0
  116. package/dist/node_modules/.pnpm/three@0.182.0/node_modules/three/examples/jsm/controls/OrbitControls.esm.js +1 -0
  117. package/dist/node_modules/.pnpm/three@0.182.0/node_modules/three/examples/jsm/controls/PointerLockControls.cjs.js +1 -0
  118. package/dist/node_modules/.pnpm/three@0.182.0/node_modules/three/examples/jsm/controls/PointerLockControls.esm.js +1 -0
  119. package/dist/node_modules/.pnpm/three@0.182.0/node_modules/three/examples/jsm/controls/TrackballControls.cjs.js +1 -0
  120. package/dist/node_modules/.pnpm/three@0.182.0/node_modules/three/examples/jsm/controls/TrackballControls.esm.js +1 -0
  121. package/dist/node_modules/.pnpm/three@0.182.0/node_modules/three/examples/jsm/environments/RoomEnvironment.cjs.js +1 -0
  122. package/dist/node_modules/.pnpm/three@0.182.0/node_modules/three/examples/jsm/environments/RoomEnvironment.esm.js +1 -0
  123. package/dist/node_modules/.pnpm/three@0.182.0/node_modules/three/examples/jsm/libs/stats.module.cjs.js +1 -0
  124. package/dist/node_modules/.pnpm/three@0.182.0/node_modules/three/examples/jsm/libs/stats.module.esm.js +1 -0
  125. package/dist/node_modules/.pnpm/three@0.182.0/node_modules/three/examples/jsm/loaders/DRACOLoader.cjs.js +1 -0
  126. package/dist/node_modules/.pnpm/three@0.182.0/node_modules/three/examples/jsm/loaders/DRACOLoader.esm.js +1 -0
  127. package/dist/node_modules/.pnpm/three@0.182.0/node_modules/three/examples/jsm/loaders/GLTFLoader.cjs.js +1 -0
  128. package/dist/node_modules/.pnpm/three@0.182.0/node_modules/three/examples/jsm/loaders/GLTFLoader.esm.js +1 -0
  129. package/dist/node_modules/.pnpm/three@0.182.0/node_modules/three/examples/jsm/loaders/HDRLoader.cjs.js +1 -0
  130. package/dist/node_modules/.pnpm/three@0.182.0/node_modules/three/examples/jsm/loaders/HDRLoader.esm.js +1 -0
  131. package/dist/node_modules/.pnpm/three@0.182.0/node_modules/three/examples/jsm/loaders/RGBELoader.cjs.js +1 -0
  132. package/dist/node_modules/.pnpm/three@0.182.0/node_modules/three/examples/jsm/loaders/RGBELoader.esm.js +1 -0
  133. package/dist/node_modules/.pnpm/three@0.182.0/node_modules/three/examples/jsm/physics/AmmoPhysics.cjs.js +1 -0
  134. package/dist/node_modules/.pnpm/three@0.182.0/node_modules/three/examples/jsm/physics/AmmoPhysics.esm.js +1 -0
  135. package/dist/node_modules/.pnpm/three@0.182.0/node_modules/three/examples/jsm/postprocessing/EffectComposer.cjs.js +1 -0
  136. package/dist/node_modules/.pnpm/three@0.182.0/node_modules/three/examples/jsm/postprocessing/EffectComposer.esm.js +1 -0
  137. package/dist/node_modules/.pnpm/three@0.182.0/node_modules/three/examples/jsm/postprocessing/MaskPass.cjs.js +1 -0
  138. package/dist/node_modules/.pnpm/three@0.182.0/node_modules/three/examples/jsm/postprocessing/MaskPass.esm.js +1 -0
  139. package/dist/node_modules/.pnpm/three@0.182.0/node_modules/three/examples/jsm/postprocessing/OutlinePass.cjs.js +1 -0
  140. package/dist/node_modules/.pnpm/three@0.182.0/node_modules/three/examples/jsm/postprocessing/OutlinePass.esm.js +1 -0
  141. package/dist/node_modules/.pnpm/three@0.182.0/node_modules/three/examples/jsm/postprocessing/OutputPass.cjs.js +1 -0
  142. package/dist/node_modules/.pnpm/three@0.182.0/node_modules/three/examples/jsm/postprocessing/OutputPass.esm.js +1 -0
  143. package/dist/node_modules/.pnpm/three@0.182.0/node_modules/three/examples/jsm/postprocessing/Pass.cjs.js +1 -0
  144. package/dist/node_modules/.pnpm/three@0.182.0/node_modules/three/examples/jsm/postprocessing/Pass.esm.js +1 -0
  145. package/dist/node_modules/.pnpm/three@0.182.0/node_modules/three/examples/jsm/postprocessing/RenderPass.cjs.js +1 -0
  146. package/dist/node_modules/.pnpm/three@0.182.0/node_modules/three/examples/jsm/postprocessing/RenderPass.esm.js +1 -0
  147. package/dist/node_modules/.pnpm/three@0.182.0/node_modules/three/examples/jsm/postprocessing/SAOPass.cjs.js +1 -0
  148. package/dist/node_modules/.pnpm/three@0.182.0/node_modules/three/examples/jsm/postprocessing/SAOPass.esm.js +1 -0
  149. package/dist/node_modules/.pnpm/three@0.182.0/node_modules/three/examples/jsm/postprocessing/SMAAPass.cjs.js +1 -0
  150. package/dist/node_modules/.pnpm/three@0.182.0/node_modules/three/examples/jsm/postprocessing/SMAAPass.esm.js +1 -0
  151. package/dist/node_modules/.pnpm/three@0.182.0/node_modules/three/examples/jsm/postprocessing/ShaderPass.cjs.js +1 -0
  152. package/dist/node_modules/.pnpm/three@0.182.0/node_modules/three/examples/jsm/postprocessing/ShaderPass.esm.js +1 -0
  153. package/dist/node_modules/.pnpm/three@0.182.0/node_modules/three/examples/jsm/postprocessing/UnrealBloomPass.cjs.js +1 -0
  154. package/dist/node_modules/.pnpm/three@0.182.0/node_modules/three/examples/jsm/postprocessing/UnrealBloomPass.esm.js +1 -0
  155. package/dist/node_modules/.pnpm/three@0.182.0/node_modules/three/examples/jsm/renderers/CSS3DRenderer.cjs.js +1 -0
  156. package/dist/node_modules/.pnpm/three@0.182.0/node_modules/three/examples/jsm/renderers/CSS3DRenderer.esm.js +1 -0
  157. package/dist/node_modules/.pnpm/three@0.182.0/node_modules/three/examples/jsm/shaders/CopyShader.cjs.js +1 -0
  158. package/dist/node_modules/.pnpm/three@0.182.0/node_modules/three/examples/jsm/shaders/CopyShader.esm.js +1 -0
  159. package/dist/node_modules/.pnpm/three@0.182.0/node_modules/three/examples/jsm/shaders/DepthLimitedBlurShader.cjs.js +1 -0
  160. package/dist/node_modules/.pnpm/three@0.182.0/node_modules/three/examples/jsm/shaders/DepthLimitedBlurShader.esm.js +1 -0
  161. package/dist/node_modules/.pnpm/three@0.182.0/node_modules/three/examples/jsm/shaders/GammaCorrectionShader.cjs.js +1 -0
  162. package/dist/node_modules/.pnpm/three@0.182.0/node_modules/three/examples/jsm/shaders/GammaCorrectionShader.esm.js +1 -0
  163. package/dist/node_modules/.pnpm/three@0.182.0/node_modules/three/examples/jsm/shaders/LuminosityHighPassShader.cjs.js +1 -0
  164. package/dist/node_modules/.pnpm/three@0.182.0/node_modules/three/examples/jsm/shaders/LuminosityHighPassShader.esm.js +1 -0
  165. package/dist/node_modules/.pnpm/three@0.182.0/node_modules/three/examples/jsm/shaders/OutputShader.cjs.js +1 -0
  166. package/dist/node_modules/.pnpm/three@0.182.0/node_modules/three/examples/jsm/shaders/OutputShader.esm.js +1 -0
  167. package/dist/node_modules/.pnpm/three@0.182.0/node_modules/three/examples/jsm/shaders/SAOShader.cjs.js +1 -0
  168. package/dist/node_modules/.pnpm/three@0.182.0/node_modules/three/examples/jsm/shaders/SAOShader.esm.js +1 -0
  169. package/dist/node_modules/.pnpm/three@0.182.0/node_modules/three/examples/jsm/shaders/SMAAShader.cjs.js +1 -0
  170. package/dist/node_modules/.pnpm/three@0.182.0/node_modules/three/examples/jsm/shaders/SMAAShader.esm.js +1 -0
  171. package/dist/node_modules/.pnpm/three@0.182.0/node_modules/three/examples/jsm/utils/BufferGeometryUtils.cjs.js +1 -0
  172. package/dist/node_modules/.pnpm/three@0.182.0/node_modules/three/examples/jsm/utils/BufferGeometryUtils.esm.js +1 -0
  173. package/dist/package.json +36 -0
  174. package/dist/public/texture/yun_noise.png +0 -0
  175. package/dist/t3d-ez.gl.cjs.js +1 -0
  176. package/dist/t3d-ez.gl.esm.js +1 -0
  177. package/dist/types/core/Controls/controlsLibs/FirstControls.d.ts +19 -0
  178. package/dist/types/core/Controls/index.d.ts +36 -0
  179. package/dist/types/core/DynamicSky/index.d.ts +140 -0
  180. package/dist/types/core/Lights/Builders/DirectionalLightBuilder.d.ts +12 -0
  181. package/dist/types/core/Lights/Builders/PointLightBuilder.d.ts +14 -0
  182. package/dist/types/core/Lights/index.d.ts +7 -0
  183. package/dist/types/core/Map/extrudeMap.d.ts +19 -0
  184. package/dist/types/core/Map/index.d.ts +20 -0
  185. package/dist/types/core/MarkerHtmlUI/index.d.ts +21 -0
  186. package/dist/types/core/Materials/FresnelMaterial.d.ts +37 -0
  187. package/dist/types/core/Materials/GradationMaterial.d.ts +11 -0
  188. package/dist/types/core/Materials/index.d.ts +7 -0
  189. package/dist/types/core/Meshes/Builders/BoxBuilder.d.ts +20 -0
  190. package/dist/types/core/Meshes/Builders/MeshBuilder.d.ts +6 -0
  191. package/dist/types/core/Meshes/Builders/PlaneBuilder.d.ts +18 -0
  192. package/dist/types/core/Meshes/Builders/SphereBuilder.d.ts +21 -0
  193. package/dist/types/core/Meshes/Builders/index.d.ts +3 -0
  194. package/dist/types/core/Meshes/index.d.ts +9 -0
  195. package/dist/types/core/Physics/index.d.ts +1 -0
  196. package/dist/types/core/PostProcessor/effects/OutlineEffect.d.ts +12 -0
  197. package/dist/types/core/PostProcessor/effects/PotateEffect.d.ts +10 -0
  198. package/dist/types/core/PostProcessor/effects/SAOEffect.d.ts +14 -0
  199. package/dist/types/core/PostProcessor/effects/UnrealBloomEffect.d.ts +24 -0
  200. package/dist/types/core/PostProcessor/effects/index.d.ts +4 -0
  201. package/dist/types/core/PostProcessor/index.d.ts +21 -0
  202. package/dist/types/core/Resource/ResourceManager.d.ts +25 -0
  203. package/dist/types/core/Resource/index.d.ts +3 -0
  204. package/dist/types/core/Resource/loaders.d.ts +6 -0
  205. package/dist/types/core/Resource/types.d.ts +24 -0
  206. package/dist/types/core/WebGLEngine/index.d.ts +43 -0
  207. package/dist/types/core/WebGLEngine/types/index.d.ts +25 -0
  208. package/dist/types/core/index.d.ts +9 -0
  209. package/dist/types/helpers/InfiniteGridHelper.d.ts +5 -0
  210. package/dist/types/helpers/index.d.ts +1 -0
  211. package/dist/types/index.d.ts +11 -0
  212. package/dist/types/types/PostProcessor/index.d.ts +5 -0
  213. package/dist/types/types/index.d.ts +1 -0
  214. package/dist/types/utils/FpsMeter/index.d.ts +16 -0
  215. package/dist/types/utils/Logger.d.ts +10 -0
  216. package/dist/types/utils/index.d.ts +42 -0
  217. package/dist/utils/FpsMeter/index.cjs.js +1 -0
  218. package/dist/utils/FpsMeter/index.esm.js +1 -0
  219. package/dist/utils/Logger.cjs.js +1 -0
  220. package/dist/utils/Logger.esm.js +1 -0
  221. package/dist/utils/index.cjs.js +1 -0
  222. package/dist/utils/index.esm.js +1 -0
  223. package/package.json +36 -0
@@ -0,0 +1 @@
1
+ import{abs as t,epsilon as r}from"./math.esm.js";function e(e,m){return t(e[0]-m[0])<r&&t(e[1]-m[1])<r}export{e as default};
@@ -0,0 +1 @@
1
+ "use strict";var a=require("./cartesian.cjs.js"),r=require("./math.cjs.js"),s=require("../../../../d3-array@3.2.4/node_modules/d3-array/src/fsum.cjs.js");function i(a){return r.abs(a[0])<=r.pi?a[0]:r.sign(a[0])*((r.abs(a[0])+r.pi)%r.tau-r.pi)}module.exports=function(e,n){var t=i(n),c=n[1],o=r.sin(c),u=[r.sin(t),-r.cos(t),0],l=0,d=0,f=new s.Adder;1===o?c=r.halfPi+r.epsilon:-1===o&&(c=-r.halfPi-r.epsilon);for(var p=0,v=e.length;p<v;++p)if(m=(j=e[p]).length)for(var j,m,P=j[m-1],h=i(P),q=P[1]/2+r.quarterPi,g=r.sin(q),b=r.cos(q),y=0;y<m;++y,h=C,g=N,b=w,P=z){var z=j[y],C=i(z),I=z[1]/2+r.quarterPi,N=r.sin(I),w=r.cos(I),x=C-h,A=x>=0?1:-1,_=A*x,k=_>r.pi,B=g*N;if(f.add(r.atan2(B*A*r.sin(_),b*w+B*r.cos(_))),l+=k?x+A*r.tau:x,k^h>=t^C>=t){var D=a.cartesianCross(a.cartesian(P),a.cartesian(z));a.cartesianNormalizeInPlace(D);var E=a.cartesianCross(u,D);a.cartesianNormalizeInPlace(E);var F=(k^x>=0?-1:1)*r.asin(E[2]);(c>F||c===F&&(D[0]||D[1]))&&(d+=k^x>=0?1:-1)}}return(l<-r.epsilon||l<r.epsilon&&f<-1e-12)^1&d};
@@ -0,0 +1 @@
1
+ import{cartesianCross as r,cartesian as a,cartesianNormalizeInPlace as e}from"./cartesian.esm.js";import{quarterPi as o,atan2 as t,sin as m,cos as f,asin as n,epsilon as s,halfPi as i,pi as d,tau as u,abs as v,sign as c}from"./math.esm.js";import{Adder as l}from"../../../../d3-array@3.2.4/node_modules/d3-array/src/fsum.esm.js";function p(r){return v(r[0])<=d?r[0]:c(r[0])*((v(r[0])+d)%u-d)}function h(v,c){var h=p(c),j=c[1],g=m(j),y=[m(h),-f(h),0],w=0,x=0,_=new l;1===g?j=i+s:-1===g&&(j=-i-s);for(var b=0,k=v.length;b<k;++b)if(z=(q=v[b]).length)for(var q,z,A=q[z-1],B=p(A),C=A[1]/2+o,D=m(C),E=f(C),F=0;F<z;++F,B=H,D=J,E=K,A=G){var G=q[F],H=p(G),I=G[1]/2+o,J=m(I),K=f(I),L=H-B,M=L>=0?1:-1,N=M*L,O=N>d,P=D*J;if(_.add(t(P*M*m(N),E*K+P*f(N))),w+=O?L+M*u:L,O^B>=h^H>=h){var Q=r(a(A),a(G));e(Q);var R=r(y,Q);e(R);var S=(O^L>=0?-1:1)*n(R[2]);(j>S||j===S&&(Q[0]||Q[1]))&&(x+=O^L>=0?1:-1)}}return(w<-s||w<s&&_<-1e-12)^1&x}export{h as default};
@@ -0,0 +1 @@
1
+ "use strict";var t=require("../stream.cjs.js"),n=require("../path/bounds.cjs.js");function e(e,r,i){var s=e.clipExtent&&e.clipExtent();return e.scale(150).translate([0,0]),null!=s&&e.clipExtent(null),t(i,e.stream(n)),r(n.result()),null!=s&&e.clipExtent(s),e}function r(t,n,r){return e(t,function(e){var r=n[1][0]-n[0][0],i=n[1][1]-n[0][1],s=Math.min(r/(e[1][0]-e[0][0]),i/(e[1][1]-e[0][1])),a=+n[0][0]+(r-s*(e[1][0]+e[0][0]))/2,u=+n[0][1]+(i-s*(e[1][1]+e[0][1]))/2;t.scale(150*s).translate([a,u])},r)}exports.fitExtent=r,exports.fitHeight=function(t,n,r){return e(t,function(e){var r=+n,i=r/(e[1][1]-e[0][1]),s=-i*e[0][0],a=(r-i*(e[1][1]+e[0][1]))/2;t.scale(150*i).translate([s,a])},r)},exports.fitSize=function(t,n,e){return r(t,[[0,0],n],e)},exports.fitWidth=function(t,n,r){return e(t,function(e){var r=+n,i=r/(e[1][0]-e[0][0]),s=(r-i*(e[1][0]+e[0][0]))/2,a=-i*e[0][1];t.scale(150*i).translate([s,a])},r)};
@@ -0,0 +1 @@
1
+ import t from"../stream.esm.js";import n from"../path/bounds.esm.js";function r(r,e,a){var l=r.clipExtent&&r.clipExtent();return r.scale(150).translate([0,0]),null!=l&&r.clipExtent(null),t(a,r.stream(n)),e(n.result()),null!=l&&r.clipExtent(l),r}function e(t,n,e){return r(t,function(r){var e=n[1][0]-n[0][0],a=n[1][1]-n[0][1],l=Math.min(e/(r[1][0]-r[0][0]),a/(r[1][1]-r[0][1])),u=+n[0][0]+(e-l*(r[1][0]+r[0][0]))/2,c=+n[0][1]+(a-l*(r[1][1]+r[0][1]))/2;t.scale(150*l).translate([u,c])},e)}function a(t,n,r){return e(t,[[0,0],n],r)}function l(t,n,e){return r(t,function(r){var e=+n,a=e/(r[1][0]-r[0][0]),l=(e-a*(r[1][0]+r[0][0]))/2,u=-a*r[0][1];t.scale(150*a).translate([l,u])},e)}function u(t,n,e){return r(t,function(r){var e=+n,a=e/(r[1][1]-r[0][1]),l=-a*r[0][0],u=(e-a*(r[1][1]+r[0][1]))/2;t.scale(150*a).translate([l,u])},e)}export{e as fitExtent,u as fitHeight,a as fitSize,l as fitWidth};
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=require("../clip/antimeridian.cjs.js"),r=require("../clip/circle.cjs.js"),t=require("../clip/rectangle.cjs.js"),e=require("../compose.cjs.js"),i=require("../identity.cjs.js"),u=require("../math.cjs.js"),s=require("../rotation.cjs.js"),c=require("../transform.cjs.js"),o=require("./fit.cjs.js"),l=require("./resample.cjs.js"),a=c.transformer({point:function(n,r){this.stream.point(n*u.radians,r*u.radians)}});function f(n,r,t,e,i,s){if(!s)return function(n,r,t,e,i){function u(u,s){return[r+n*(u*=e),t-n*(s*=i)]}return u.invert=function(u,s){return[(u-r)/n*e,(t-s)/n*i]},u}(n,r,t,e,i);var c=u.cos(s),o=u.sin(s),l=c*n,a=o*n,f=c/n,d=o/n,g=(o*t-c*r)/n,p=(o*r+c*t)/n;function j(n,u){return[l*(n*=e)-a*(u*=i)+r,t-a*n-l*u]}return j.invert=function(n,r){return[e*(f*n-d*r+g),i*(p-d*n-f*r)]},j}function d(d){var g,p,j,h,v,q,m,x,y,E,z=150,H=480,M=250,S=0,W=0,_=0,b=0,A=0,O=0,P=1,R=1,X=null,Y=n,k=null,w=i,B=.5;function C(n){return x(n[0]*u.radians,n[1]*u.radians)}function D(n){return(n=x.invert(n[0],n[1]))&&[n[0]*u.degrees,n[1]*u.degrees]}function F(){var n=f(z,0,0,P,R,O).apply(null,g(S,W)),r=f(z,H-n[0],M-n[1],P,R,O);return p=s.rotateRadians(_,b,A),m=e(g,r),x=e(p,m),q=l(m,B),G()}function G(){return y=E=null,C}return C.stream=function(n){return y&&E===n?y:y=a(function(n){return c.transformer({point:function(r,t){var e=n(r,t);return this.stream.point(e[0],e[1])}})}(p)(Y(q(w(E=n)))))},C.preclip=function(n){return arguments.length?(Y=n,X=void 0,G()):Y},C.postclip=function(n){return arguments.length?(w=n,k=j=h=v=null,G()):w},C.clipAngle=function(t){return arguments.length?(Y=+t?r(X=t*u.radians):(X=null,n),G()):X*u.degrees},C.clipExtent=function(n){return arguments.length?(w=null==n?(k=j=h=v=null,i):t(k=+n[0][0],j=+n[0][1],h=+n[1][0],v=+n[1][1]),G()):null==k?null:[[k,j],[h,v]]},C.scale=function(n){return arguments.length?(z=+n,F()):z},C.translate=function(n){return arguments.length?(H=+n[0],M=+n[1],F()):[H,M]},C.center=function(n){return arguments.length?(S=n[0]%360*u.radians,W=n[1]%360*u.radians,F()):[S*u.degrees,W*u.degrees]},C.rotate=function(n){return arguments.length?(_=n[0]%360*u.radians,b=n[1]%360*u.radians,A=n.length>2?n[2]%360*u.radians:0,F()):[_*u.degrees,b*u.degrees,A*u.degrees]},C.angle=function(n){return arguments.length?(O=n%360*u.radians,F()):O*u.degrees},C.reflectX=function(n){return arguments.length?(P=n?-1:1,F()):P<0},C.reflectY=function(n){return arguments.length?(R=n?-1:1,F()):R<0},C.precision=function(n){return arguments.length?(q=l(m,B=n*n),G()):u.sqrt(B)},C.fitExtent=function(n,r){return o.fitExtent(C,n,r)},C.fitSize=function(n,r){return o.fitSize(C,n,r)},C.fitWidth=function(n,r){return o.fitWidth(C,n,r)},C.fitHeight=function(n,r){return o.fitHeight(C,n,r)},function(){return g=d.apply(this,arguments),C.invert=g.invert&&D,F()}}exports.default=function(n){return d(function(){return n})()},exports.projectionMutator=d;
@@ -0,0 +1 @@
1
+ import n from"../clip/antimeridian.esm.js";import t from"../clip/circle.esm.js";import r from"../clip/rectangle.esm.js";import e from"../compose.esm.js";import i from"../identity.esm.js";import{degrees as u,radians as o,sqrt as f,cos as l,sin as c}from"../math.esm.js";import{rotateRadians as m}from"../rotation.esm.js";import{transformer as s}from"../transform.esm.js";import{fitExtent as p,fitSize as a,fitWidth as h,fitHeight as g}from"./fit.esm.js";import v from"./resample.esm.js";var j=s({point:function(n,t){this.stream.point(n*o,t*o)}});function d(n,t,r,e,i,u){if(!u)return function(n,t,r,e,i){function u(u,o){return[t+n*(u*=e),r-n*(o*=i)]}return u.invert=function(u,o){return[(u-t)/n*e,(r-o)/n*i]},u}(n,t,r,e,i);var o=l(u),f=c(u),m=o*n,s=f*n,p=o/n,a=f/n,h=(f*r-o*t)/n,g=(f*t+o*r)/n;function v(n,u){return[m*(n*=e)-s*(u*=i)+t,r-s*n-m*u]}return v.invert=function(n,t){return[e*(p*n-a*t+h),i*(g-a*n-p*t)]},v}function x(n){return y(function(){return n})()}function y(l){var c,x,y,E,z,A,H,S,W,X,Y=150,b=480,k=250,q=0,w=0,B=0,C=0,D=0,F=0,G=1,I=1,J=null,K=n,L=null,M=i,N=.5;function O(n){return S(n[0]*o,n[1]*o)}function P(n){return(n=S.invert(n[0],n[1]))&&[n[0]*u,n[1]*u]}function Q(){var n=d(Y,0,0,G,I,F).apply(null,c(q,w)),t=d(Y,b-n[0],k-n[1],G,I,F);return x=m(B,C,D),H=e(c,t),S=e(x,H),A=v(H,N),R()}function R(){return W=X=null,O}return O.stream=function(n){return W&&X===n?W:W=j(function(n){return s({point:function(t,r){var e=n(t,r);return this.stream.point(e[0],e[1])}})}(x)(K(A(M(X=n)))))},O.preclip=function(n){return arguments.length?(K=n,J=void 0,R()):K},O.postclip=function(n){return arguments.length?(M=n,L=y=E=z=null,R()):M},O.clipAngle=function(r){return arguments.length?(K=+r?t(J=r*o):(J=null,n),R()):J*u},O.clipExtent=function(n){return arguments.length?(M=null==n?(L=y=E=z=null,i):r(L=+n[0][0],y=+n[0][1],E=+n[1][0],z=+n[1][1]),R()):null==L?null:[[L,y],[E,z]]},O.scale=function(n){return arguments.length?(Y=+n,Q()):Y},O.translate=function(n){return arguments.length?(b=+n[0],k=+n[1],Q()):[b,k]},O.center=function(n){return arguments.length?(q=n[0]%360*o,w=n[1]%360*o,Q()):[q*u,w*u]},O.rotate=function(n){return arguments.length?(B=n[0]%360*o,C=n[1]%360*o,D=n.length>2?n[2]%360*o:0,Q()):[B*u,C*u,D*u]},O.angle=function(n){return arguments.length?(F=n%360*o,Q()):F*u},O.reflectX=function(n){return arguments.length?(G=n?-1:1,Q()):G<0},O.reflectY=function(n){return arguments.length?(I=n?-1:1,Q()):I<0},O.precision=function(n){return arguments.length?(A=v(H,N=n*n),R()):f(N)},O.fitExtent=function(n,t){return p(O,n,t)},O.fitSize=function(n,t){return a(O,n,t)},O.fitWidth=function(n,t){return h(O,n,t)},O.fitHeight=function(n,t){return g(O,n,t)},function(){return c=l.apply(this,arguments),O.invert=c.invert&&P,Q()}}export{x as default,y as projectionMutator};
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=require("../math.cjs.js"),e=require("../rotation.cjs.js"),n=require("./index.cjs.js");function r(e,n){return[e,t.log(t.tan((t.halfPi+n)/2))]}function u(u){var a,l,i,c=n.default(u),o=c.center,s=c.scale,f=c.translate,h=c.clipExtent,x=null;function p(){var n=t.pi*s(),o=c(e.default(c.rotate()).invert([0,0]));return h(null==x?[[o[0]-n,o[1]-n],[o[0]+n,o[1]+n]]:u===r?[[Math.max(o[0]-n,x),a],[Math.min(o[0]+n,l),i]]:[[x,Math.max(o[1]-n,a)],[l,Math.min(o[1]+n,i)]])}return c.scale=function(t){return arguments.length?(s(t),p()):s()},c.translate=function(t){return arguments.length?(f(t),p()):f()},c.center=function(t){return arguments.length?(o(t),p()):o()},c.clipExtent=function(t){return arguments.length?(null==t?x=a=l=i=null:(x=+t[0][0],a=+t[0][1],l=+t[1][0],i=+t[1][1]),p()):null==x?null:[[x,a],[l,i]]},p()}r.invert=function(e,n){return[e,2*t.atan(t.exp(n))-t.halfPi]},exports.default=function(){return u(r).scale(961/t.tau)},exports.mercatorProjection=u,exports.mercatorRaw=r;
@@ -0,0 +1 @@
1
+ import{tau as n,pi as t,log as r,tan as e,halfPi as u,atan as l,exp as a}from"../math.esm.js";import i from"../rotation.esm.js";import o from"./index.esm.js";function c(n,t){return[n,r(e((u+t)/2))]}function m(){return f(c).scale(961/n)}function f(n){var r,e,u,l=o(n),a=l.center,m=l.scale,f=l.translate,s=l.clipExtent,h=null;function p(){var a=t*m(),o=l(i(l.rotate()).invert([0,0]));return s(null==h?[[o[0]-a,o[1]-a],[o[0]+a,o[1]+a]]:n===c?[[Math.max(o[0]-a,h),r],[Math.min(o[0]+a,e),u]]:[[h,Math.max(o[1]-a,r)],[e,Math.min(o[1]+a,u)]])}return l.scale=function(n){return arguments.length?(m(n),p()):m()},l.translate=function(n){return arguments.length?(f(n),p()):f()},l.center=function(n){return arguments.length?(a(n),p()):a()},l.clipExtent=function(n){return arguments.length?(null==n?h=r=e=u=null:(h=+n[0][0],r=+n[0][1],e=+n[1][0],u=+n[1][1]),p()):null==h?null:[[h,r],[e,u]]},p()}c.invert=function(n,t){return[n,2*l(a(t))-u]};export{m as default,f as mercatorProjection,c as mercatorRaw};
@@ -0,0 +1 @@
1
+ "use strict";var n=require("../cartesian.cjs.js"),t=require("../math.cjs.js"),i=require("../transform.cjs.js"),o=t.cos(30*t.radians);module.exports=function(r,a){return+a?function(i,r){function a(n,e,s,u,c,f,p,l,d,j,E,S,m,v){var b=p-n,g=l-e,q=b*b+g*g;if(q>4*r&&m--){var y=u+j,h=c+E,N=f+S,x=t.sqrt(y*y+h*h+N*N),k=t.asin(N/=x),w=t.abs(t.abs(N)-1)<t.epsilon||t.abs(s-d)<t.epsilon?(s+d)/2:t.atan2(h,y),z=i(w,k),A=z[0],B=z[1],C=A-n,D=B-e,F=g*C-b*D;(F*F/q>r||t.abs((b*C+g*D)/q-.5)>.3||u*j+c*E+f*S<o)&&(a(n,e,s,u,c,f,A,B,w,y/=x,h/=x,N,m,v),v.point(A,B),a(A,B,w,y,h,N,p,l,d,j,E,S,m,v))}}return function(t){var o,r,e,s,u,c,f,p,l,d,j,E,S={point:m,lineStart:v,lineEnd:g,polygonStart:function(){t.polygonStart(),S.lineStart=q},polygonEnd:function(){t.polygonEnd(),S.lineStart=v}};function m(n,o){n=i(n,o),t.point(n[0],n[1])}function v(){p=NaN,S.point=b,t.lineStart()}function b(o,r){var e=n.cartesian([o,r]),s=i(o,r);a(p,l,f,d,j,E,p=s[0],l=s[1],f=o,d=e[0],j=e[1],E=e[2],16,t),t.point(p,l)}function g(){S.point=m,t.lineEnd()}function q(){v(),S.point=y,S.lineEnd=h}function y(n,t){b(o=n,t),r=p,e=l,s=d,u=j,c=E,S.point=b}function h(){a(p,l,f,d,j,E,r,e,o,s,u,c,16,t),S.lineEnd=g,g()}return S}}(r,a):function(n){return i.transformer({point:function(t,i){t=n(t,i),this.stream.point(t[0],t[1])}})}(r)};
@@ -0,0 +1 @@
1
+ import{cartesian as n}from"../cartesian.esm.js";import{atan2 as t,asin as o,abs as i,sqrt as r,cos as f,radians as u,epsilon as a}from"../math.esm.js";import{transformer as e}from"../transform.esm.js";var p=f(30*u);function c(f,u){return+u?function(f,u){function e(n,c,l,m,s,d,E,S,v,g,y,j,h,N){var x=E-n,b=S-c,k=x*x+b*b;if(k>4*u&&h--){var q=m+g,w=s+y,z=d+j,A=r(q*q+w*w+z*z),B=o(z/=A),C=i(i(z)-1)<a||i(l-v)<a?(l+v)/2:t(w,q),D=f(C,B),F=D[0],G=D[1],H=F-n,I=G-c,J=b*H-x*I;(J*J/k>u||i((x*H+b*I)/k-.5)>.3||m*g+s*y+d*j<p)&&(e(n,c,l,m,s,d,F,G,C,q/=A,w/=A,z,h,N),N.point(F,G),e(F,G,C,q,w,z,E,S,v,g,y,j,h,N))}}return function(t){var o,i,r,u,a,p,c,l,m,s,d,E,S={point:v,lineStart:g,lineEnd:j,polygonStart:function(){t.polygonStart(),S.lineStart=h},polygonEnd:function(){t.polygonEnd(),S.lineStart=g}};function v(n,o){n=f(n,o),t.point(n[0],n[1])}function g(){l=NaN,S.point=y,t.lineStart()}function y(o,i){var r=n([o,i]),u=f(o,i);e(l,m,c,s,d,E,l=u[0],m=u[1],c=o,s=r[0],d=r[1],E=r[2],16,t),t.point(l,m)}function j(){S.point=v,t.lineEnd()}function h(){g(),S.point=N,S.lineEnd=x}function N(n,t){y(o=n,t),i=l,r=m,u=s,a=d,p=E,S.point=y}function x(){e(l,m,c,s,d,E,i,r,o,u,a,p,16,t),S.lineEnd=j,j()}return S}}(f,u):function(n){return e({point:function(t,o){t=n(t,o),this.stream.point(t[0],t[1])}})}(f)}export{c as default};
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=require("./compose.cjs.js"),r=require("./math.cjs.js");function t(n,t){return r.abs(n)>r.pi&&(n-=Math.round(n/r.tau)*r.tau),[n,t]}function e(e,a,u){return(e%=r.tau)?a||u?n(s(e),i(a,u)):s(e):a||u?i(a,u):t}function a(n){return function(t,e){return t+=n,r.abs(t)>r.pi&&(t-=Math.round(t/r.tau)*r.tau),[t,e]}}function s(n){var r=a(n);return r.invert=a(-n),r}function i(n,t){var e=r.cos(n),a=r.sin(n),s=r.cos(t),i=r.sin(t);function u(n,t){var u=r.cos(t),o=r.cos(n)*u,c=r.sin(n)*u,d=r.sin(t),f=d*e+o*a;return[r.atan2(c*s-f*i,o*e-d*a),r.asin(f*s+c*i)]}return u.invert=function(n,t){var u=r.cos(t),o=r.cos(n)*u,c=r.sin(n)*u,d=r.sin(t),f=d*s-c*i;return[r.atan2(c*s+d*i,o*e+f*a),r.asin(f*e-o*a)]},u}t.invert=t,exports.default=function(n){function t(t){return(t=n(t[0]*r.radians,t[1]*r.radians))[0]*=r.degrees,t[1]*=r.degrees,t}return n=e(n[0]*r.radians,n[1]*r.radians,n.length>2?n[2]*r.radians:0),t.invert=function(t){return(t=n.invert(t[0]*r.radians,t[1]*r.radians))[0]*=r.degrees,t[1]*=r.degrees,t},t},exports.rotateRadians=e;
@@ -0,0 +1 @@
1
+ import n from"./compose.esm.js";import{radians as r,degrees as t,tau as u,atan2 as e,asin as o,sin as i,cos as f,abs as c,pi as a}from"./math.esm.js";function v(n,r){return c(n)>a&&(n-=Math.round(n/u)*u),[n,r]}function m(r,t,e){return(r%=u)?t||e?n(h(r),p(t,e)):h(r):t||e?p(t,e):v}function s(n){return function(r,t){return c(r+=n)>a&&(r-=Math.round(r/u)*u),[r,t]}}function h(n){var r=s(n);return r.invert=s(-n),r}function p(n,r){var t=f(n),u=i(n),c=f(r),a=i(r);function v(n,r){var v=f(r),m=f(n)*v,s=i(n)*v,h=i(r),p=h*t+m*u;return[e(s*c-p*a,m*t-h*u),o(p*c+s*a)]}return v.invert=function(n,r){var v=f(r),m=f(n)*v,s=i(n)*v,h=i(r),p=h*c-s*a;return[e(s*c+h*a,m*t+p*u),o(p*t-m*u)]},v}function d(n){function u(u){return(u=n(u[0]*r,u[1]*r))[0]*=t,u[1]*=t,u}return n=m(n[0]*r,n[1]*r,n.length>2?n[2]*r:0),u.invert=function(u){return(u=n.invert(u[0]*r,u[1]*r))[0]*=t,u[1]*=t,u},u}v.invert=v;export{d as default,m as rotateRadians};
@@ -0,0 +1 @@
1
+ "use strict";function n(n,t){n&&o.hasOwnProperty(n.type)&&o[n.type](n,t)}var t={Feature:function(t,o){n(t.geometry,o)},FeatureCollection:function(t,o){for(var e=t.features,r=-1,i=e.length;++r<i;)n(e[r].geometry,o)}},o={Sphere:function(n,t){t.sphere()},Point:function(n,t){n=n.coordinates,t.point(n[0],n[1],n[2])},MultiPoint:function(n,t){for(var o=n.coordinates,e=-1,r=o.length;++e<r;)n=o[e],t.point(n[0],n[1],n[2])},LineString:function(n,t){e(n.coordinates,t,0)},MultiLineString:function(n,t){for(var o=n.coordinates,r=-1,i=o.length;++r<i;)e(o[r],t,0)},Polygon:function(n,t){r(n.coordinates,t)},MultiPolygon:function(n,t){for(var o=n.coordinates,e=-1,i=o.length;++e<i;)r(o[e],t)},GeometryCollection:function(t,o){for(var e=t.geometries,r=-1,i=e.length;++r<i;)n(e[r],o)}};function e(n,t,o){var e,r=-1,i=n.length-o;for(t.lineStart();++r<i;)e=n[r],t.point(e[0],e[1],e[2]);t.lineEnd()}function r(n,t){var o=-1,r=n.length;for(t.polygonStart();++o<r;)e(n[o],t,1);t.polygonEnd()}module.exports=function(o,e){o&&t.hasOwnProperty(o.type)?t[o.type](o,e):n(o,e)};
@@ -0,0 +1 @@
1
+ function n(n,t){n&&o.hasOwnProperty(n.type)&&o[n.type](n,t)}var t={Feature:function(t,o){n(t.geometry,o)},FeatureCollection:function(t,o){for(var e=t.features,r=-1,i=e.length;++r<i;)n(e[r].geometry,o)}},o={Sphere:function(n,t){t.sphere()},Point:function(n,t){n=n.coordinates,t.point(n[0],n[1],n[2])},MultiPoint:function(n,t){for(var o=n.coordinates,e=-1,r=o.length;++e<r;)n=o[e],t.point(n[0],n[1],n[2])},LineString:function(n,t){e(n.coordinates,t,0)},MultiLineString:function(n,t){for(var o=n.coordinates,r=-1,i=o.length;++r<i;)e(o[r],t,0)},Polygon:function(n,t){r(n.coordinates,t)},MultiPolygon:function(n,t){for(var o=n.coordinates,e=-1,i=o.length;++e<i;)r(o[e],t)},GeometryCollection:function(t,o){for(var e=t.geometries,r=-1,i=e.length;++r<i;)n(e[r],o)}};function e(n,t,o){var e,r=-1,i=n.length-o;for(t.lineStart();++r<i;)e=n[r],t.point(e[0],e[1],e[2]);t.lineEnd()}function r(n,t){var o=-1,r=n.length;for(t.polygonStart();++o<r;)e(n[o],t,1);t.polygonEnd()}function i(o,e){o&&t.hasOwnProperty(o.type)?t[o.type](o,e):n(o,e)}export{i as default};
@@ -0,0 +1 @@
1
+ "use strict";function t(){}t.prototype={constructor:t,point:function(t,n){this.stream.point(t,n)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}},exports.transformer=function(n){return function(r){var o=new t;for(var i in n)o[i]=n[i];return o.stream=r,o}};
@@ -0,0 +1 @@
1
+ function t(t){return function(o){var r=new n;for(var i in t)r[i]=t[i];return r.stream=o,r}}function n(){}n.prototype={constructor:n,point:function(t,n){this.stream.point(t,n)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}};export{t as transformer};
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t,e,r,n,i,s,o,a,p=require("./gsap-core.cjs.js"),u={},l=180/Math.PI,f=Math.PI/180,c=Math.atan2,h=/([A-Z])/g,g=/(left|right|width|margin|padding|x)/i,d=/[\s,\(]\S/,m={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},_=function(t,e){return e.set(e.t,e.p,Math.round(1e4*(e.s+e.c*t))/1e4+e.u,e)},x=function(t,e){return e.set(e.t,e.p,1===t?e.e:Math.round(1e4*(e.s+e.c*t))/1e4+e.u,e)},y=function(t,e){return e.set(e.t,e.p,t?Math.round(1e4*(e.s+e.c*t))/1e4+e.u:e.b,e)},v=function(t,e){return e.set(e.t,e.p,1===t?e.e:t?Math.round(1e4*(e.s+e.c*t))/1e4+e.u:e.b,e)},b=function(t,e){var r=e.s+e.c*t;e.set(e.t,e.p,~~(r+(r<0?-.5:.5))+e.u,e)},O=function(t,e){return e.set(e.t,e.p,t?e.e:e.b,e)},w=function(t,e){return e.set(e.t,e.p,1!==t?e.b:e.e,e)},P=function(t,e,r){return t.style[e]=r},M=function(t,e,r){return t.style.setProperty(e,r)},C=function(t,e,r){return t._gsap[e]=r},S=function(t,e,r){return t._gsap.scaleX=t._gsap.scaleY=r},T=function(t,e,r,n,i){var s=t._gsap;s.scaleX=s.scaleY=r,s.renderTransform(i,s)},A=function(t,e,r,n,i){var s=t._gsap;s[e]=r,s.renderTransform(i,s)},E="transform",F=E+"Origin",Y=function t(e,r){var n=this,i=this.target,s=i.style,o=i._gsap;if(e in u&&s){if(this.tfm=this.tfm||{},"transform"===e)return m.transform.split(",").forEach(function(e){return t.call(n,e,r)});if(~(e=m[e]||e).indexOf(",")?e.split(",").forEach(function(t){return n.tfm[t]=$(i,t)}):this.tfm[e]=o.x?o[e]:$(i,e),e===F&&(this.tfm.zOrigin=o.zOrigin),this.props.indexOf(E)>=0)return;o.svg&&(this.svgo=i.getAttribute("data-svg-origin"),this.props.push(F,r,"")),e=E}(s||r)&&this.props.push(e,r,s[e])},z=function(t){t.translate&&(t.removeProperty("translate"),t.removeProperty("scale"),t.removeProperty("rotate"))},X=function(){var t,e,r=this.props,n=this.target,i=n.style,s=n._gsap;for(t=0;t<r.length;t+=3)r[t+1]?2===r[t+1]?n[r[t]](r[t+2]):n[r[t]]=r[t+2]:r[t+2]?i[r[t]]=r[t+2]:i.removeProperty("--"===r[t].substr(0,2)?r[t]:r[t].replace(h,"-$1").toLowerCase());if(this.tfm){for(e in this.tfm)s[e]=this.tfm[e];s.svg&&(s.renderTransform(),n.setAttribute("data-svg-origin",this.svgo||"")),(t=o())&&t.isStart||i[E]||(z(i),s.zOrigin&&i[F]&&(i[F]+=" "+s.zOrigin+"px",s.zOrigin=0,s.renderTransform()),s.uncache=1)}},k=function(t,e){var r={target:t,props:[],revert:X,save:Y};return t._gsap||p.gsap.core.getCache(t),e&&t.style&&t.nodeType&&e.split(",").forEach(function(t){return r.save(t)}),r},B=function(t,r){var n=e.createElementNS?e.createElementNS((r||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),t):e.createElement(t);return n&&n.style?n:e.createElement(t)},U=function t(e,r,n){var i=getComputedStyle(e);return i[r]||i.getPropertyValue(r.replace(h,"-$1").toLowerCase())||i.getPropertyValue(r)||!n&&t(e,R(r)||r,1)||""},N="O,Moz,ms,Ms,Webkit".split(","),R=function(t,e,r){var n=(e||i).style,s=5;if(t in n&&!r)return t;for(t=t.charAt(0).toUpperCase()+t.substr(1);s--&&!(N[s]+t in n););return s<0?null:(3===s?"ms":s>=0?N[s]:"")+t},W=function(){"undefined"!=typeof window&&window.document&&(t=window,e=t.document,r=e.documentElement,i=B("div")||{style:{}},B("div"),E=R(E),F=E+"Origin",i.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",a=!!R("perspective"),o=p.gsap.core.reverting,n=1)},j=function(t){var e,n=t.ownerSVGElement,i=B("svg",n&&n.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),s=t.cloneNode(!0);s.style.display="block",i.appendChild(s),r.appendChild(i);try{e=s.getBBox()}catch(t){}return i.removeChild(s),r.removeChild(i),e},I=function(t,e){for(var r=e.length;r--;)if(t.hasAttribute(e[r]))return t.getAttribute(e[r])},q=function(t){var e,r;try{e=t.getBBox()}catch(n){e=j(t),r=1}return e&&(e.width||e.height)||r||(e=j(t)),!e||e.width||e.x||e.y?e:{x:+I(t,["x","cx","x1"])||0,y:+I(t,["y","cy","y1"])||0,width:0,height:0}},D=function(t){return!(!t.getCTM||t.parentNode&&!t.ownerSVGElement||!q(t))},V=function(t,e){if(e){var r,n=t.style;e in u&&e!==F&&(e=E),n.removeProperty?("ms"!==(r=e.substr(0,2))&&"webkit"!==e.substr(0,6)||(e="-"+e),n.removeProperty("--"===r?e:e.replace(h,"-$1").toLowerCase())):n.removeAttribute(e)}},L=function(t,e,r,n,i,s){var o=new p.PropTween(t._pt,e,r,0,1,s?w:O);return t._pt=o,o.b=n,o.e=i,t._props.push(r),o},G={deg:1,rad:1,turn:1},Z={grid:1,flex:1},H=function t(r,n,s,o){var a,l,f,c,h=parseFloat(s)||0,d=(s+"").trim().substr((h+"").length)||"px",m=i.style,_=g.test(n),x="svg"===r.tagName.toLowerCase(),y=(x?"client":"offset")+(_?"Width":"Height"),v=100,b="px"===o,O="%"===o;if(o===d||!h||G[o]||G[d])return h;if("px"!==d&&!b&&(h=t(r,n,s,"px")),c=r.getCTM&&D(r),(O||"%"===d)&&(u[n]||~n.indexOf("adius")))return a=c?r.getBBox()[_?"width":"height"]:r[y],p._round(O?h/a*v:h/100*a);if(m[_?"width":"height"]=v+(b?d:o),l="rem"!==o&&~n.indexOf("adius")||"em"===o&&r.appendChild&&!x?r:r.parentNode,c&&(l=(r.ownerSVGElement||{}).parentNode),l&&l!==e&&l.appendChild||(l=e.body),(f=l._gsap)&&O&&f.width&&_&&f.time===p._ticker.time&&!f.uncache)return p._round(h/f.width*v);if(!O||"height"!==n&&"width"!==n)(O||"%"===d)&&!Z[U(l,"display")]&&(m.position=U(r,"position")),l===r&&(m.position="static"),l.appendChild(i),a=i[y],l.removeChild(i),m.position="absolute";else{var w=r.style[n];r.style[n]=v+o,a=r[y],w?r.style[n]=w:V(r,n)}return _&&O&&((f=p._getCache(l)).time=p._ticker.time,f.width=l[y]),p._round(b?a*h/v:a&&h?v/a*h:0)},$=function(t,e,r,i){var s;return n||W(),e in m&&"transform"!==e&&~(e=m[e]).indexOf(",")&&(e=e.split(",")[0]),u[e]&&"transform"!==e?(s=pt(t,i),s="transformOrigin"!==e?s[e]:s.svg?s.origin:ut(U(t,F))+" "+s.zOrigin+"px"):(!(s=t.style[e])||"auto"===s||i||~(s+"").indexOf("calc("))&&(s=et[e]&&et[e](t,e,r)||U(t,e)||p._getProperty(t,e)||("opacity"===e?1:0)),r&&!~(s+"").trim().indexOf(" ")?H(t,e,s,r)+r:s},J=function(t,e,r,n){if(!r||"none"===r){var i=R(e,t,1),s=i&&U(t,i,1);s&&s!==r?(e=i,r=s):"borderColor"===e&&(r=U(t,"borderTopColor"))}var o,a,u,l,f,c,h,g,d,m,_,x=new p.PropTween(this._pt,t.style,e,0,1,p._renderComplexString),y=0,v=0;if(x.b=r,x.e=n,r+="","var(--"===(n+="").substring(0,6)&&(n=U(t,n.substring(4,n.indexOf(")")))),"auto"===n&&(c=t.style[e],t.style[e]=n,n=U(t,e)||n,c?t.style[e]=c:V(t,e)),o=[r,n],p._colorStringFilter(o),n=o[1],u=(r=o[0]).match(p._numWithUnitExp)||[],(n.match(p._numWithUnitExp)||[]).length){for(;a=p._numWithUnitExp.exec(n);)h=a[0],d=n.substring(y,a.index),f?f=(f+1)%5:"rgba("!==d.substr(-5)&&"hsla("!==d.substr(-5)||(f=1),h!==(c=u[v++]||"")&&(l=parseFloat(c)||0,_=c.substr((l+"").length),"="===h.charAt(1)&&(h=p._parseRelative(l,h)+_),g=parseFloat(h),m=h.substr((g+"").length),y=p._numWithUnitExp.lastIndex-m.length,m||(m=m||p._config.units[e]||_,y===n.length&&(n+=m,x.e+=m)),_!==m&&(l=H(t,e,c,m)||0),x._pt={_next:x._pt,p:d||1===v?d:",",s:l,c:g-l,m:f&&f<4||"zIndex"===e?Math.round:0});x.c=y<n.length?n.substring(y,n.length):""}else x.r="display"===e&&"none"===n?w:O;return p._relExp.test(n)&&(x.e=0),this._pt=x,x},K={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},Q=function(t){var e=t.split(" "),r=e[0],n=e[1]||"50%";return"top"!==r&&"bottom"!==r&&"left"!==n&&"right"!==n||(t=r,r=n,n=t),e[0]=K[r]||r,e[1]=K[n]||n,e.join(" ")},tt=function(t,e){if(e.tween&&e.tween._time===e.tween._dur){var r,n,i,s=e.t,o=s.style,a=e.u,p=s._gsap;if("all"===a||!0===a)o.cssText="",n=1;else for(i=(a=a.split(",")).length;--i>-1;)r=a[i],u[r]&&(n=1,r="transformOrigin"===r?F:E),V(s,r);n&&(V(s,E),p&&(p.svg&&s.removeAttribute("transform"),o.scale=o.rotate=o.translate="none",pt(s,1),p.uncache=1,z(o)))}},et={clearProps:function(t,e,r,n,i){if("isFromStart"!==i.data){var s=t._pt=new p.PropTween(t._pt,e,r,0,0,tt);return s.u=n,s.pr=-10,s.tween=i,t._props.push(r),1}}},rt=[1,0,0,1,0,0],nt={},it=function(t){return"matrix(1, 0, 0, 1, 0, 0)"===t||"none"===t||!t},st=function(t){var e=U(t,E);return it(e)?rt:e.substr(7).match(p._numExp).map(p._round)},ot=function(t,e){var n,i,s,o,a=t._gsap||p._getCache(t),u=t.style,l=st(t);return a.svg&&t.getAttribute("transform")?"1,0,0,1,0,0"===(l=[(s=t.transform.baseVal.consolidate().matrix).a,s.b,s.c,s.d,s.e,s.f]).join(",")?rt:l:(l!==rt||t.offsetParent||t===r||a.svg||(s=u.display,u.display="block",(n=t.parentNode)&&(t.offsetParent||t.getBoundingClientRect().width)||(o=1,i=t.nextElementSibling,r.appendChild(t)),l=st(t),s?u.display=s:V(t,"display"),o&&(i?n.insertBefore(t,i):n?n.appendChild(t):r.removeChild(t))),e&&l.length>6?[l[0],l[1],l[4],l[5],l[12],l[13]]:l)},at=function(t,e,r,n,i,s){var o,a,p,u=t._gsap,l=i||ot(t,!0),f=u.xOrigin||0,c=u.yOrigin||0,h=u.xOffset||0,g=u.yOffset||0,d=l[0],m=l[1],_=l[2],x=l[3],y=l[4],v=l[5],b=e.split(" "),O=parseFloat(b[0])||0,w=parseFloat(b[1])||0;r?l!==rt&&(a=d*x-m*_)&&(p=O*(-m/a)+w*(d/a)-(d*v-m*y)/a,O=O*(x/a)+w*(-_/a)+(_*v-x*y)/a,w=p):(O=(o=q(t)).x+(~b[0].indexOf("%")?O/100*o.width:O),w=o.y+(~(b[1]||b[0]).indexOf("%")?w/100*o.height:w)),n||!1!==n&&u.smooth?(y=O-f,v=w-c,u.xOffset=h+(y*d+v*_)-y,u.yOffset=g+(y*m+v*x)-v):u.xOffset=u.yOffset=0,u.xOrigin=O,u.yOrigin=w,u.smooth=!!n,u.origin=e,u.originIsAbsolute=!!r,t.style[F]="0px 0px",s&&(L(s,u,"xOrigin",f,O),L(s,u,"yOrigin",c,w),L(s,u,"xOffset",h,u.xOffset),L(s,u,"yOffset",g,u.yOffset)),t.setAttribute("data-svg-origin",O+" "+w)},pt=function(t,e){var r=t._gsap||new p.GSCache(t);if("x"in r&&!e&&!r.uncache)return r;var n,i,s,o,u,h,g,d,m,_,x,y,v,b,O,w,P,M,C,S,T,A,Y,z,X,k,B,N,R,W,j,I,q=t.style,V=r.scaleX<0,L="px",G="deg",Z=getComputedStyle(t),H=U(t,F)||"0";return n=i=s=h=g=d=m=_=x=0,o=u=1,r.svg=!(!t.getCTM||!D(t)),Z.translate&&("none"===Z.translate&&"none"===Z.scale&&"none"===Z.rotate||(q[E]=("none"!==Z.translate?"translate3d("+(Z.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+("none"!==Z.rotate?"rotate("+Z.rotate+") ":"")+("none"!==Z.scale?"scale("+Z.scale.split(" ").join(",")+") ":"")+("none"!==Z[E]?Z[E]:"")),q.scale=q.rotate=q.translate="none"),b=ot(t,r.svg),r.svg&&(r.uncache?(X=t.getBBox(),H=r.xOrigin-X.x+"px "+(r.yOrigin-X.y)+"px",z=""):z=!e&&t.getAttribute("data-svg-origin"),at(t,z||H,!!z||r.originIsAbsolute,!1!==r.smooth,b)),y=r.xOrigin||0,v=r.yOrigin||0,b!==rt&&(M=b[0],C=b[1],S=b[2],T=b[3],n=A=b[4],i=Y=b[5],6===b.length?(o=Math.sqrt(M*M+C*C),u=Math.sqrt(T*T+S*S),h=M||C?c(C,M)*l:0,(m=S||T?c(S,T)*l+h:0)&&(u*=Math.abs(Math.cos(m*f))),r.svg&&(n-=y-(y*M+v*S),i-=v-(y*C+v*T))):(I=b[6],W=b[7],B=b[8],N=b[9],R=b[10],j=b[11],n=b[12],i=b[13],s=b[14],g=(O=c(I,R))*l,O&&(z=A*(w=Math.cos(-O))+B*(P=Math.sin(-O)),X=Y*w+N*P,k=I*w+R*P,B=A*-P+B*w,N=Y*-P+N*w,R=I*-P+R*w,j=W*-P+j*w,A=z,Y=X,I=k),d=(O=c(-S,R))*l,O&&(w=Math.cos(-O),j=T*(P=Math.sin(-O))+j*w,M=z=M*w-B*P,C=X=C*w-N*P,S=k=S*w-R*P),h=(O=c(C,M))*l,O&&(z=M*(w=Math.cos(O))+C*(P=Math.sin(O)),X=A*w+Y*P,C=C*w-M*P,Y=Y*w-A*P,M=z,A=X),g&&Math.abs(g)+Math.abs(h)>359.9&&(g=h=0,d=180-d),o=p._round(Math.sqrt(M*M+C*C+S*S)),u=p._round(Math.sqrt(Y*Y+I*I)),O=c(A,Y),m=Math.abs(O)>2e-4?O*l:0,x=j?1/(j<0?-j:j):0),r.svg&&(z=t.getAttribute("transform"),r.forceCSS=t.setAttribute("transform","")||!it(U(t,E)),z&&t.setAttribute("transform",z))),Math.abs(m)>90&&Math.abs(m)<270&&(V?(o*=-1,m+=h<=0?180:-180,h+=h<=0?180:-180):(u*=-1,m+=m<=0?180:-180)),e=e||r.uncache,r.x=n-((r.xPercent=n&&(!e&&r.xPercent||(Math.round(t.offsetWidth/2)===Math.round(-n)?-50:0)))?t.offsetWidth*r.xPercent/100:0)+L,r.y=i-((r.yPercent=i&&(!e&&r.yPercent||(Math.round(t.offsetHeight/2)===Math.round(-i)?-50:0)))?t.offsetHeight*r.yPercent/100:0)+L,r.z=s+L,r.scaleX=p._round(o),r.scaleY=p._round(u),r.rotation=p._round(h)+G,r.rotationX=p._round(g)+G,r.rotationY=p._round(d)+G,r.skewX=m+G,r.skewY=_+G,r.transformPerspective=x+L,(r.zOrigin=parseFloat(H.split(" ")[2])||!e&&r.zOrigin||0)&&(q[F]=ut(H)),r.xOffset=r.yOffset=0,r.force3D=p._config.force3D,r.renderTransform=r.svg?mt:a?dt:ft,r.uncache=0,r},ut=function(t){return(t=t.split(" "))[0]+" "+t[1]},lt=function(t,e,r){var n=p.getUnit(e);return p._round(parseFloat(e)+parseFloat(H(t,"x",r+"px",n)))+n},ft=function(t,e){e.z="0px",e.rotationY=e.rotationX="0deg",e.force3D=0,dt(t,e)},ct="0deg",ht="0px",gt=") ",dt=function(t,e){var r=e||this,n=r.xPercent,i=r.yPercent,s=r.x,o=r.y,a=r.z,p=r.rotation,u=r.rotationY,l=r.rotationX,c=r.skewX,h=r.skewY,g=r.scaleX,d=r.scaleY,m=r.transformPerspective,_=r.force3D,x=r.target,y=r.zOrigin,v="",b="auto"===_&&t&&1!==t||!0===_;if(y&&(l!==ct||u!==ct)){var O,w=parseFloat(u)*f,P=Math.sin(w),M=Math.cos(w);w=parseFloat(l)*f,O=Math.cos(w),s=lt(x,s,P*O*-y),o=lt(x,o,-Math.sin(w)*-y),a=lt(x,a,M*O*-y+y)}m!==ht&&(v+="perspective("+m+gt),(n||i)&&(v+="translate("+n+"%, "+i+"%) "),(b||s!==ht||o!==ht||a!==ht)&&(v+=a!==ht||b?"translate3d("+s+", "+o+", "+a+") ":"translate("+s+", "+o+gt),p!==ct&&(v+="rotate("+p+gt),u!==ct&&(v+="rotateY("+u+gt),l!==ct&&(v+="rotateX("+l+gt),c===ct&&h===ct||(v+="skew("+c+", "+h+gt),1===g&&1===d||(v+="scale("+g+", "+d+gt),x.style[E]=v||"translate(0, 0)"},mt=function(t,e){var r,n,i,s,o,a=e||this,u=a.xPercent,l=a.yPercent,c=a.x,h=a.y,g=a.rotation,d=a.skewX,m=a.skewY,_=a.scaleX,x=a.scaleY,y=a.target,v=a.xOrigin,b=a.yOrigin,O=a.xOffset,w=a.yOffset,P=a.forceCSS,M=parseFloat(c),C=parseFloat(h);g=parseFloat(g),d=parseFloat(d),(m=parseFloat(m))&&(d+=m=parseFloat(m),g+=m),g||d?(g*=f,d*=f,r=Math.cos(g)*_,n=Math.sin(g)*_,i=Math.sin(g-d)*-x,s=Math.cos(g-d)*x,d&&(m*=f,o=Math.tan(d-m),i*=o=Math.sqrt(1+o*o),s*=o,m&&(o=Math.tan(m),r*=o=Math.sqrt(1+o*o),n*=o)),r=p._round(r),n=p._round(n),i=p._round(i),s=p._round(s)):(r=_,s=x,n=i=0),(M&&!~(c+"").indexOf("px")||C&&!~(h+"").indexOf("px"))&&(M=H(y,"x",c,"px"),C=H(y,"y",h,"px")),(v||b||O||w)&&(M=p._round(M+v-(v*r+b*i)+O),C=p._round(C+b-(v*n+b*s)+w)),(u||l)&&(o=y.getBBox(),M=p._round(M+u/100*o.width),C=p._round(C+l/100*o.height)),o="matrix("+r+","+n+","+i+","+s+","+M+","+C+")",y.setAttribute("transform",o),P&&(y.style[E]=o)},_t=function(t,e,r,n,i){var s,o,a=360,u=p._isString(i),f=parseFloat(i)*(u&&~i.indexOf("rad")?l:1)-n,c=n+f+"deg";return u&&("short"===(s=i.split("_")[1])&&(f%=a)!==f%180&&(f+=f<0?a:-360),"cw"===s&&f<0?f=(f+36e9)%a-~~(f/a)*a:"ccw"===s&&f>0&&(f=(f-36e9)%a-~~(f/a)*a)),t._pt=o=new p.PropTween(t._pt,e,r,n,f,x),o.e=c,o.u="deg",t._props.push(r),o},xt=function(t,e){for(var r in e)t[r]=e[r];return t},yt=function(t,e,r){var n,i,s,o,a,l,f,c=xt({},r._gsap),h=r.style;for(i in c.svg?(s=r.getAttribute("transform"),r.setAttribute("transform",""),h[E]=e,n=pt(r,1),V(r,E),r.setAttribute("transform",s)):(s=getComputedStyle(r)[E],h[E]=e,n=pt(r,1),h[E]=s),u)(s=c[i])!==(o=n[i])&&"perspective,force3D,transformOrigin,svgOrigin".indexOf(i)<0&&(a=p.getUnit(s)!==(f=p.getUnit(o))?H(r,i,s,f):parseFloat(s),l=parseFloat(o),t._pt=new p.PropTween(t._pt,n,i,a,l-a,_),t._pt.u=f||0,t._props.push(i));xt(n,c)};p._forEachName("padding,margin,Width,Radius",function(t,e){var r="Top",n="Right",i="Bottom",s="Left",o=(e<3?[r,n,i,s]:[r+s,r+n,i+n,i+s]).map(function(r){return e<2?t+r:"border"+r+t});et[e>1?"border"+t:t]=function(t,e,r,n,i){var s,a;if(arguments.length<4)return s=o.map(function(e){return $(t,e,r)}),5===(a=s.join(" ")).split(s[0]).length?s[0]:a;s=(n+"").split(" "),a={},o.forEach(function(t,e){return a[t]=s[e]=s[e]||s[(e-1)/2|0]}),t.init(e,a,i)}});var vt,bt,Ot,wt={name:"css",register:W,targetTest:function(t){return t.style&&t.nodeType},init:function(t,e,r,i,s){var o,a,l,f,c,h,g,x,O,w,P,M,C,S,T,A,Y,z=this._props,X=t.style,B=r.vars.startAt;for(g in n||W(),this.styles=this.styles||k(t),A=this.styles.props,this.tween=r,e)if("autoRound"!==g&&(a=e[g],!p._plugins[g]||!p._checkPlugin(g,e,r,i,t,s)))if(c=typeof a,h=et[g],"function"===c&&(c=typeof(a=a.call(r,i,t,s))),"string"===c&&~a.indexOf("random(")&&(a=p._replaceRandom(a)),h)h(this,t,g,a,r)&&(T=1);else if("--"===g.substr(0,2))o=(getComputedStyle(t).getPropertyValue(g)+"").trim(),a+="",p._colorExp.lastIndex=0,p._colorExp.test(o)||(x=p.getUnit(o),(O=p.getUnit(a))?x!==O&&(o=H(t,g,o,O)+O):x&&(a+=x)),this.add(X,"setProperty",o,a,i,s,0,0,g),z.push(g),A.push(g,0,X[g]);else if("undefined"!==c){if(B&&g in B?(o="function"==typeof B[g]?B[g].call(r,i,t,s):B[g],p._isString(o)&&~o.indexOf("random(")&&(o=p._replaceRandom(o)),p.getUnit(o+"")||"auto"===o||(o+=p._config.units[g]||p.getUnit($(t,g))||""),"="===(o+"").charAt(1)&&(o=$(t,g))):o=$(t,g),f=parseFloat(o),(w="string"===c&&"="===a.charAt(1)&&a.substr(0,2))&&(a=a.substr(2)),l=parseFloat(a),g in m&&("autoAlpha"===g&&(1===f&&"hidden"===$(t,"visibility")&&l&&(f=0),A.push("visibility",0,X.visibility),L(this,X,"visibility",f?"inherit":"hidden",l?"inherit":"hidden",!l)),"scale"!==g&&"transform"!==g&&~(g=m[g]).indexOf(",")&&(g=g.split(",")[0])),P=g in u){if(this.styles.save(g),Y=a,"string"===c&&"var(--"===a.substring(0,6)){if("calc("===(a=U(t,a.substring(4,a.indexOf(")")))).substring(0,5)){var N=t.style.perspective;t.style.perspective=a,a=U(t,"perspective"),N?t.style.perspective=N:V(t,"perspective")}l=parseFloat(a)}if(M||((C=t._gsap).renderTransform&&!e.parseTransform||pt(t,e.parseTransform),S=!1!==e.smoothOrigin&&C.smooth,(M=this._pt=new p.PropTween(this._pt,X,E,0,1,C.renderTransform,C,0,-1)).dep=1),"scale"===g)this._pt=new p.PropTween(this._pt,C,"scaleY",C.scaleY,(w?p._parseRelative(C.scaleY,w+l):l)-C.scaleY||0,_),this._pt.u=0,z.push("scaleY",g),g+="X";else{if("transformOrigin"===g){A.push(F,0,X[F]),a=Q(a),C.svg?at(t,a,0,S,0,this):((O=parseFloat(a.split(" ")[2])||0)!==C.zOrigin&&L(this,C,"zOrigin",C.zOrigin,O),L(this,X,g,ut(o),ut(a)));continue}if("svgOrigin"===g){at(t,a,1,S,0,this);continue}if(g in nt){_t(this,C,g,f,w?p._parseRelative(f,w+a):a);continue}if("smoothOrigin"===g){L(this,C,"smooth",C.smooth,a);continue}if("force3D"===g){C[g]=a;continue}if("transform"===g){yt(this,a,t);continue}}}else g in X||(g=R(g)||g);if(P||(l||0===l)&&(f||0===f)&&!d.test(a)&&g in X)l||(l=0),(x=(o+"").substr((f+"").length))!==(O=p.getUnit(a)||(g in p._config.units?p._config.units[g]:x))&&(f=H(t,g,o,O)),this._pt=new p.PropTween(this._pt,P?C:X,g,f,(w?p._parseRelative(f,w+l):l)-f,P||"px"!==O&&"zIndex"!==g||!1===e.autoRound?_:b),this._pt.u=O||0,P&&Y!==a?(this._pt.b=o,this._pt.e=Y,this._pt.r=v):x!==O&&"%"!==O&&(this._pt.b=o,this._pt.r=y);else if(g in X)J.call(this,t,g,o,w?w+a:a);else if(g in t)this.add(t,g,o||t[g],w?w+a:a,i,s);else if("parseTransform"!==g){p._missingPlugin(g,a);continue}P||(g in X?A.push(g,0,X[g]):"function"==typeof t[g]?A.push(g,2,t[g]()):A.push(g,1,o||t[g])),z.push(g)}T&&p._sortPropTweensByPriority(this)},render:function(t,e){if(e.tween._time||!o())for(var r=e._pt;r;)r.r(t,r.d),r=r._next;else e.styles.revert()},get:$,aliases:m,getSetter:function(t,e,r){var n=m[e];return n&&n.indexOf(",")<0&&(e=n),e in u&&e!==F&&(t._gsap.x||$(t,"x"))?r&&s===r?"scale"===e?S:C:(s=r||{})&&("scale"===e?T:A):t.style&&!p._isUndefined(t.style[e])?P:~e.indexOf("-")?M:p._getSetter(t,e)},core:{_removeProperty:V,_getMatrix:ot}};p.gsap.utils.checkPrefix=R,p.gsap.core.getStyleSaver=k,vt="x,y,z,scale,scaleX,scaleY,xPercent,yPercent",bt="rotation,rotationX,rotationY,skewX,skewY",Ot=p._forEachName(vt+","+bt+",transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective",function(t){u[t]=1}),p._forEachName(bt,function(t){p._config.units[t]="deg",nt[t]=1}),m[Ot[13]]=vt+","+bt,p._forEachName("0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY",function(t){var e=t.split(":");m[e[1]]=Ot[e[0]]}),p._forEachName("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(t){p._config.units[t]="px"}),p.gsap.registerPlugin(wt),exports.CSSPlugin=wt,exports._createElement=B,exports._getBBox=q,exports.checkPrefix=R,exports.default=wt;
@@ -0,0 +1 @@
1
+ import{_getSetter as t,_isUndefined as e,_plugins as r,_checkPlugin as n,_replaceRandom as i,_colorExp as s,getUnit as a,_isString as o,_config as p,PropTween as f,_parseRelative as l,_missingPlugin as u,_sortPropTweensByPriority as c,_getCache as h,_getProperty as g,gsap as d,_round as m,_ticker as y,GSCache as v,_renderComplexString as x,_colorStringFilter as b,_numWithUnitExp as O,_relExp as w,_numExp as _,_forEachName as M}from"./gsap-core.esm.js";var P,C,A,F,Y,z,S,T,X={},k=180/Math.PI,B=Math.PI/180,E=Math.atan2,I=/([A-Z])/g,N=/(left|right|width|margin|padding|x)/i,D=/[\s,\(]\S/,V={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},j=function(t,e){return e.set(e.t,e.p,Math.round(1e4*(e.s+e.c*t))/1e4+e.u,e)},q=function(t,e){return e.set(e.t,e.p,1===t?e.e:Math.round(1e4*(e.s+e.c*t))/1e4+e.u,e)},L=function(t,e){return e.set(e.t,e.p,t?Math.round(1e4*(e.s+e.c*t))/1e4+e.u:e.b,e)},R=function(t,e){return e.set(e.t,e.p,1===t?e.e:t?Math.round(1e4*(e.s+e.c*t))/1e4+e.u:e.b,e)},W=function(t,e){var r=e.s+e.c*t;e.set(e.t,e.p,~~(r+(r<0?-.5:.5))+e.u,e)},Z=function(t,e){return e.set(e.t,e.p,t?e.e:e.b,e)},G=function(t,e){return e.set(e.t,e.p,1!==t?e.b:e.e,e)},H=function(t,e,r){return t.style[e]=r},$=function(t,e,r){return t.style.setProperty(e,r)},U=function(t,e,r){return t._gsap[e]=r},J=function(t,e,r){return t._gsap.scaleX=t._gsap.scaleY=r},K=function(t,e,r,n,i){var s=t._gsap;s.scaleX=s.scaleY=r,s.renderTransform(i,s)},Q=function(t,e,r,n,i){var s=t._gsap;s[e]=r,s.renderTransform(i,s)},tt="transform",et=tt+"Origin",rt=function t(e,r){var n=this,i=this.target,s=i.style,a=i._gsap;if(e in X&&s){if(this.tfm=this.tfm||{},"transform"===e)return V.transform.split(",").forEach(function(e){return t.call(n,e,r)});if(~(e=V[e]||e).indexOf(",")?e.split(",").forEach(function(t){return n.tfm[t]=bt(i,t)}):this.tfm[e]=a.x?a[e]:bt(i,e),e===et&&(this.tfm.zOrigin=a.zOrigin),this.props.indexOf(tt)>=0)return;a.svg&&(this.svgo=i.getAttribute("data-svg-origin"),this.props.push(et,r,"")),e=tt}(s||r)&&this.props.push(e,r,s[e])},nt=function(t){t.translate&&(t.removeProperty("translate"),t.removeProperty("scale"),t.removeProperty("rotate"))},it=function(){var t,e,r=this.props,n=this.target,i=n.style,s=n._gsap;for(t=0;t<r.length;t+=3)r[t+1]?2===r[t+1]?n[r[t]](r[t+2]):n[r[t]]=r[t+2]:r[t+2]?i[r[t]]=r[t+2]:i.removeProperty("--"===r[t].substr(0,2)?r[t]:r[t].replace(I,"-$1").toLowerCase());if(this.tfm){for(e in this.tfm)s[e]=this.tfm[e];s.svg&&(s.renderTransform(),n.setAttribute("data-svg-origin",this.svgo||"")),(t=S())&&t.isStart||i[tt]||(nt(i),s.zOrigin&&i[et]&&(i[et]+=" "+s.zOrigin+"px",s.zOrigin=0,s.renderTransform()),s.uncache=1)}},st=function(t,e){var r={target:t,props:[],revert:it,save:rt};return t._gsap||d.core.getCache(t),e&&t.style&&t.nodeType&&e.split(",").forEach(function(t){return r.save(t)}),r},at=function(t,e){var r=C.createElementNS?C.createElementNS((e||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),t):C.createElement(t);return r&&r.style?r:C.createElement(t)},ot=function t(e,r,n){var i=getComputedStyle(e);return i[r]||i.getPropertyValue(r.replace(I,"-$1").toLowerCase())||i.getPropertyValue(r)||!n&&t(e,ft(r)||r,1)||""},pt="O,Moz,ms,Ms,Webkit".split(","),ft=function(t,e,r){var n=(e||Y).style,i=5;if(t in n&&!r)return t;for(t=t.charAt(0).toUpperCase()+t.substr(1);i--&&!(pt[i]+t in n););return i<0?null:(3===i?"ms":i>=0?pt[i]:"")+t},lt=function(){"undefined"!=typeof window&&window.document&&(P=window,C=P.document,A=C.documentElement,Y=at("div")||{style:{}},at("div"),tt=ft(tt),et=tt+"Origin",Y.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",T=!!ft("perspective"),S=d.core.reverting,F=1)},ut=function(t){var e,r=t.ownerSVGElement,n=at("svg",r&&r.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),i=t.cloneNode(!0);i.style.display="block",n.appendChild(i),A.appendChild(n);try{e=i.getBBox()}catch(t){}return n.removeChild(i),A.removeChild(n),e},ct=function(t,e){for(var r=e.length;r--;)if(t.hasAttribute(e[r]))return t.getAttribute(e[r])},ht=function(t){var e,r;try{e=t.getBBox()}catch(n){e=ut(t),r=1}return e&&(e.width||e.height)||r||(e=ut(t)),!e||e.width||e.x||e.y?e:{x:+ct(t,["x","cx","x1"])||0,y:+ct(t,["y","cy","y1"])||0,width:0,height:0}},gt=function(t){return!(!t.getCTM||t.parentNode&&!t.ownerSVGElement||!ht(t))},dt=function(t,e){if(e){var r,n=t.style;e in X&&e!==et&&(e=tt),n.removeProperty?("ms"!==(r=e.substr(0,2))&&"webkit"!==e.substr(0,6)||(e="-"+e),n.removeProperty("--"===r?e:e.replace(I,"-$1").toLowerCase())):n.removeAttribute(e)}},mt=function(t,e,r,n,i,s){var a=new f(t._pt,e,r,0,1,s?G:Z);return t._pt=a,a.b=n,a.e=i,t._props.push(r),a},yt={deg:1,rad:1,turn:1},vt={grid:1,flex:1},xt=function t(e,r,n,i){var s,a,o,p,f=parseFloat(n)||0,l=(n+"").trim().substr((f+"").length)||"px",u=Y.style,c=N.test(r),g="svg"===e.tagName.toLowerCase(),d=(g?"client":"offset")+(c?"Width":"Height"),v=100,x="px"===i,b="%"===i;if(i===l||!f||yt[i]||yt[l])return f;if("px"!==l&&!x&&(f=t(e,r,n,"px")),p=e.getCTM&&gt(e),(b||"%"===l)&&(X[r]||~r.indexOf("adius")))return s=p?e.getBBox()[c?"width":"height"]:e[d],m(b?f/s*v:f/100*s);if(u[c?"width":"height"]=v+(x?l:i),a="rem"!==i&&~r.indexOf("adius")||"em"===i&&e.appendChild&&!g?e:e.parentNode,p&&(a=(e.ownerSVGElement||{}).parentNode),a&&a!==C&&a.appendChild||(a=C.body),(o=a._gsap)&&b&&o.width&&c&&o.time===y.time&&!o.uncache)return m(f/o.width*v);if(!b||"height"!==r&&"width"!==r)(b||"%"===l)&&!vt[ot(a,"display")]&&(u.position=ot(e,"position")),a===e&&(u.position="static"),a.appendChild(Y),s=Y[d],a.removeChild(Y),u.position="absolute";else{var O=e.style[r];e.style[r]=v+i,s=e[d],O?e.style[r]=O:dt(e,r)}return c&&b&&((o=h(a)).time=y.time,o.width=a[d]),m(x?s*f/v:s&&f?v/s*f:0)},bt=function(t,e,r,n){var i;return F||lt(),e in V&&"transform"!==e&&~(e=V[e]).indexOf(",")&&(e=e.split(",")[0]),X[e]&&"transform"!==e?(i=Tt(t,n),i="transformOrigin"!==e?i[e]:i.svg?i.origin:Xt(ot(t,et))+" "+i.zOrigin+"px"):(!(i=t.style[e])||"auto"===i||n||~(i+"").indexOf("calc("))&&(i=Pt[e]&&Pt[e](t,e,r)||ot(t,e)||g(t,e)||("opacity"===e?1:0)),r&&!~(i+"").trim().indexOf(" ")?xt(t,e,i,r)+r:i},Ot=function(t,e,r,n){if(!r||"none"===r){var i=ft(e,t,1),s=i&&ot(t,i,1);s&&s!==r?(e=i,r=s):"borderColor"===e&&(r=ot(t,"borderTopColor"))}var a,o,u,c,h,g,d,m,y,v,_,M=new f(this._pt,t.style,e,0,1,x),P=0,C=0;if(M.b=r,M.e=n,r+="","var(--"===(n+="").substring(0,6)&&(n=ot(t,n.substring(4,n.indexOf(")")))),"auto"===n&&(g=t.style[e],t.style[e]=n,n=ot(t,e)||n,g?t.style[e]=g:dt(t,e)),b(a=[r,n]),n=a[1],u=(r=a[0]).match(O)||[],(n.match(O)||[]).length){for(;o=O.exec(n);)d=o[0],y=n.substring(P,o.index),h?h=(h+1)%5:"rgba("!==y.substr(-5)&&"hsla("!==y.substr(-5)||(h=1),d!==(g=u[C++]||"")&&(c=parseFloat(g)||0,_=g.substr((c+"").length),"="===d.charAt(1)&&(d=l(c,d)+_),m=parseFloat(d),v=d.substr((m+"").length),P=O.lastIndex-v.length,v||(v=v||p.units[e]||_,P===n.length&&(n+=v,M.e+=v)),_!==v&&(c=xt(t,e,g,v)||0),M._pt={_next:M._pt,p:y||1===C?y:",",s:c,c:m-c,m:h&&h<4||"zIndex"===e?Math.round:0});M.c=P<n.length?n.substring(P,n.length):""}else M.r="display"===e&&"none"===n?G:Z;return w.test(n)&&(M.e=0),this._pt=M,M},wt={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},_t=function(t){var e=t.split(" "),r=e[0],n=e[1]||"50%";return"top"!==r&&"bottom"!==r&&"left"!==n&&"right"!==n||(t=r,r=n,n=t),e[0]=wt[r]||r,e[1]=wt[n]||n,e.join(" ")},Mt=function(t,e){if(e.tween&&e.tween._time===e.tween._dur){var r,n,i,s=e.t,a=s.style,o=e.u,p=s._gsap;if("all"===o||!0===o)a.cssText="",n=1;else for(i=(o=o.split(",")).length;--i>-1;)r=o[i],X[r]&&(n=1,r="transformOrigin"===r?et:tt),dt(s,r);n&&(dt(s,tt),p&&(p.svg&&s.removeAttribute("transform"),a.scale=a.rotate=a.translate="none",Tt(s,1),p.uncache=1,nt(a)))}},Pt={clearProps:function(t,e,r,n,i){if("isFromStart"!==i.data){var s=t._pt=new f(t._pt,e,r,0,0,Mt);return s.u=n,s.pr=-10,s.tween=i,t._props.push(r),1}}},Ct=[1,0,0,1,0,0],At={},Ft=function(t){return"matrix(1, 0, 0, 1, 0, 0)"===t||"none"===t||!t},Yt=function(t){var e=ot(t,tt);return Ft(e)?Ct:e.substr(7).match(_).map(m)},zt=function(t,e){var r,n,i,s,a=t._gsap||h(t),o=t.style,p=Yt(t);return a.svg&&t.getAttribute("transform")?"1,0,0,1,0,0"===(p=[(i=t.transform.baseVal.consolidate().matrix).a,i.b,i.c,i.d,i.e,i.f]).join(",")?Ct:p:(p!==Ct||t.offsetParent||t===A||a.svg||(i=o.display,o.display="block",(r=t.parentNode)&&(t.offsetParent||t.getBoundingClientRect().width)||(s=1,n=t.nextElementSibling,A.appendChild(t)),p=Yt(t),i?o.display=i:dt(t,"display"),s&&(n?r.insertBefore(t,n):r?r.appendChild(t):A.removeChild(t))),e&&p.length>6?[p[0],p[1],p[4],p[5],p[12],p[13]]:p)},St=function(t,e,r,n,i,s){var a,o,p,f=t._gsap,l=i||zt(t,!0),u=f.xOrigin||0,c=f.yOrigin||0,h=f.xOffset||0,g=f.yOffset||0,d=l[0],m=l[1],y=l[2],v=l[3],x=l[4],b=l[5],O=e.split(" "),w=parseFloat(O[0])||0,_=parseFloat(O[1])||0;r?l!==Ct&&(o=d*v-m*y)&&(p=w*(-m/o)+_*(d/o)-(d*b-m*x)/o,w=w*(v/o)+_*(-y/o)+(y*b-v*x)/o,_=p):(w=(a=ht(t)).x+(~O[0].indexOf("%")?w/100*a.width:w),_=a.y+(~(O[1]||O[0]).indexOf("%")?_/100*a.height:_)),n||!1!==n&&f.smooth?(x=w-u,b=_-c,f.xOffset=h+(x*d+b*y)-x,f.yOffset=g+(x*m+b*v)-b):f.xOffset=f.yOffset=0,f.xOrigin=w,f.yOrigin=_,f.smooth=!!n,f.origin=e,f.originIsAbsolute=!!r,t.style[et]="0px 0px",s&&(mt(s,f,"xOrigin",u,w),mt(s,f,"yOrigin",c,_),mt(s,f,"xOffset",h,f.xOffset),mt(s,f,"yOffset",g,f.yOffset)),t.setAttribute("data-svg-origin",w+" "+_)},Tt=function(t,e){var r=t._gsap||new v(t);if("x"in r&&!e&&!r.uncache)return r;var n,i,s,a,o,f,l,u,c,h,g,d,y,x,b,O,w,_,M,P,C,A,F,Y,z,S,X,I,N,D,V,j,q=t.style,L=r.scaleX<0,R="px",W="deg",Z=getComputedStyle(t),G=ot(t,et)||"0";return n=i=s=f=l=u=c=h=g=0,a=o=1,r.svg=!(!t.getCTM||!gt(t)),Z.translate&&("none"===Z.translate&&"none"===Z.scale&&"none"===Z.rotate||(q[tt]=("none"!==Z.translate?"translate3d("+(Z.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+("none"!==Z.rotate?"rotate("+Z.rotate+") ":"")+("none"!==Z.scale?"scale("+Z.scale.split(" ").join(",")+") ":"")+("none"!==Z[tt]?Z[tt]:"")),q.scale=q.rotate=q.translate="none"),x=zt(t,r.svg),r.svg&&(r.uncache?(z=t.getBBox(),G=r.xOrigin-z.x+"px "+(r.yOrigin-z.y)+"px",Y=""):Y=!e&&t.getAttribute("data-svg-origin"),St(t,Y||G,!!Y||r.originIsAbsolute,!1!==r.smooth,x)),d=r.xOrigin||0,y=r.yOrigin||0,x!==Ct&&(_=x[0],M=x[1],P=x[2],C=x[3],n=A=x[4],i=F=x[5],6===x.length?(a=Math.sqrt(_*_+M*M),o=Math.sqrt(C*C+P*P),f=_||M?E(M,_)*k:0,(c=P||C?E(P,C)*k+f:0)&&(o*=Math.abs(Math.cos(c*B))),r.svg&&(n-=d-(d*_+y*P),i-=y-(d*M+y*C))):(j=x[6],D=x[7],X=x[8],I=x[9],N=x[10],V=x[11],n=x[12],i=x[13],s=x[14],l=(b=E(j,N))*k,b&&(Y=A*(O=Math.cos(-b))+X*(w=Math.sin(-b)),z=F*O+I*w,S=j*O+N*w,X=A*-w+X*O,I=F*-w+I*O,N=j*-w+N*O,V=D*-w+V*O,A=Y,F=z,j=S),u=(b=E(-P,N))*k,b&&(O=Math.cos(-b),V=C*(w=Math.sin(-b))+V*O,_=Y=_*O-X*w,M=z=M*O-I*w,P=S=P*O-N*w),f=(b=E(M,_))*k,b&&(Y=_*(O=Math.cos(b))+M*(w=Math.sin(b)),z=A*O+F*w,M=M*O-_*w,F=F*O-A*w,_=Y,A=z),l&&Math.abs(l)+Math.abs(f)>359.9&&(l=f=0,u=180-u),a=m(Math.sqrt(_*_+M*M+P*P)),o=m(Math.sqrt(F*F+j*j)),b=E(A,F),c=Math.abs(b)>2e-4?b*k:0,g=V?1/(V<0?-V:V):0),r.svg&&(Y=t.getAttribute("transform"),r.forceCSS=t.setAttribute("transform","")||!Ft(ot(t,tt)),Y&&t.setAttribute("transform",Y))),Math.abs(c)>90&&Math.abs(c)<270&&(L?(a*=-1,c+=f<=0?180:-180,f+=f<=0?180:-180):(o*=-1,c+=c<=0?180:-180)),e=e||r.uncache,r.x=n-((r.xPercent=n&&(!e&&r.xPercent||(Math.round(t.offsetWidth/2)===Math.round(-n)?-50:0)))?t.offsetWidth*r.xPercent/100:0)+R,r.y=i-((r.yPercent=i&&(!e&&r.yPercent||(Math.round(t.offsetHeight/2)===Math.round(-i)?-50:0)))?t.offsetHeight*r.yPercent/100:0)+R,r.z=s+R,r.scaleX=m(a),r.scaleY=m(o),r.rotation=m(f)+W,r.rotationX=m(l)+W,r.rotationY=m(u)+W,r.skewX=c+W,r.skewY=h+W,r.transformPerspective=g+R,(r.zOrigin=parseFloat(G.split(" ")[2])||!e&&r.zOrigin||0)&&(q[et]=Xt(G)),r.xOffset=r.yOffset=0,r.force3D=p.force3D,r.renderTransform=r.svg?Vt:T?Dt:Bt,r.uncache=0,r},Xt=function(t){return(t=t.split(" "))[0]+" "+t[1]},kt=function(t,e,r){var n=a(e);return m(parseFloat(e)+parseFloat(xt(t,"x",r+"px",n)))+n},Bt=function(t,e){e.z="0px",e.rotationY=e.rotationX="0deg",e.force3D=0,Dt(t,e)},Et="0deg",It="0px",Nt=") ",Dt=function(t,e){var r=e||this,n=r.xPercent,i=r.yPercent,s=r.x,a=r.y,o=r.z,p=r.rotation,f=r.rotationY,l=r.rotationX,u=r.skewX,c=r.skewY,h=r.scaleX,g=r.scaleY,d=r.transformPerspective,m=r.force3D,y=r.target,v=r.zOrigin,x="",b="auto"===m&&t&&1!==t||!0===m;if(v&&(l!==Et||f!==Et)){var O,w=parseFloat(f)*B,_=Math.sin(w),M=Math.cos(w);w=parseFloat(l)*B,O=Math.cos(w),s=kt(y,s,_*O*-v),a=kt(y,a,-Math.sin(w)*-v),o=kt(y,o,M*O*-v+v)}d!==It&&(x+="perspective("+d+Nt),(n||i)&&(x+="translate("+n+"%, "+i+"%) "),(b||s!==It||a!==It||o!==It)&&(x+=o!==It||b?"translate3d("+s+", "+a+", "+o+") ":"translate("+s+", "+a+Nt),p!==Et&&(x+="rotate("+p+Nt),f!==Et&&(x+="rotateY("+f+Nt),l!==Et&&(x+="rotateX("+l+Nt),u===Et&&c===Et||(x+="skew("+u+", "+c+Nt),1===h&&1===g||(x+="scale("+h+", "+g+Nt),y.style[tt]=x||"translate(0, 0)"},Vt=function(t,e){var r,n,i,s,a,o=e||this,p=o.xPercent,f=o.yPercent,l=o.x,u=o.y,c=o.rotation,h=o.skewX,g=o.skewY,d=o.scaleX,y=o.scaleY,v=o.target,x=o.xOrigin,b=o.yOrigin,O=o.xOffset,w=o.yOffset,_=o.forceCSS,M=parseFloat(l),P=parseFloat(u);c=parseFloat(c),h=parseFloat(h),(g=parseFloat(g))&&(h+=g=parseFloat(g),c+=g),c||h?(c*=B,h*=B,r=Math.cos(c)*d,n=Math.sin(c)*d,i=Math.sin(c-h)*-y,s=Math.cos(c-h)*y,h&&(g*=B,a=Math.tan(h-g),i*=a=Math.sqrt(1+a*a),s*=a,g&&(a=Math.tan(g),r*=a=Math.sqrt(1+a*a),n*=a)),r=m(r),n=m(n),i=m(i),s=m(s)):(r=d,s=y,n=i=0),(M&&!~(l+"").indexOf("px")||P&&!~(u+"").indexOf("px"))&&(M=xt(v,"x",l,"px"),P=xt(v,"y",u,"px")),(x||b||O||w)&&(M=m(M+x-(x*r+b*i)+O),P=m(P+b-(x*n+b*s)+w)),(p||f)&&(a=v.getBBox(),M=m(M+p/100*a.width),P=m(P+f/100*a.height)),a="matrix("+r+","+n+","+i+","+s+","+M+","+P+")",v.setAttribute("transform",a),_&&(v.style[tt]=a)},jt=function(t,e,r,n,i){var s,a,p=360,l=o(i),u=parseFloat(i)*(l&&~i.indexOf("rad")?k:1)-n,c=n+u+"deg";return l&&("short"===(s=i.split("_")[1])&&(u%=p)!==u%180&&(u+=u<0?p:-360),"cw"===s&&u<0?u=(u+36e9)%p-~~(u/p)*p:"ccw"===s&&u>0&&(u=(u-36e9)%p-~~(u/p)*p)),t._pt=a=new f(t._pt,e,r,n,u,q),a.e=c,a.u="deg",t._props.push(r),a},qt=function(t,e){for(var r in e)t[r]=e[r];return t},Lt=function(t,e,r){var n,i,s,o,p,l,u,c=qt({},r._gsap),h=r.style;for(i in c.svg?(s=r.getAttribute("transform"),r.setAttribute("transform",""),h[tt]=e,n=Tt(r,1),dt(r,tt),r.setAttribute("transform",s)):(s=getComputedStyle(r)[tt],h[tt]=e,n=Tt(r,1),h[tt]=s),X)(s=c[i])!==(o=n[i])&&"perspective,force3D,transformOrigin,svgOrigin".indexOf(i)<0&&(p=a(s)!==(u=a(o))?xt(r,i,s,u):parseFloat(s),l=parseFloat(o),t._pt=new f(t._pt,n,i,p,l-p,j),t._pt.u=u||0,t._props.push(i));qt(n,c)};M("padding,margin,Width,Radius",function(t,e){var r="Top",n="Right",i="Bottom",s="Left",a=(e<3?[r,n,i,s]:[r+s,r+n,i+n,i+s]).map(function(r){return e<2?t+r:"border"+r+t});Pt[e>1?"border"+t:t]=function(t,e,r,n,i){var s,o;if(arguments.length<4)return s=a.map(function(e){return bt(t,e,r)}),5===(o=s.join(" ")).split(s[0]).length?s[0]:o;s=(n+"").split(" "),o={},a.forEach(function(t,e){return o[t]=s[e]=s[e]||s[(e-1)/2|0]}),t.init(e,o,i)}});var Rt,Wt,Zt,Gt={name:"css",register:lt,targetTest:function(t){return t.style&&t.nodeType},init:function(t,e,h,g,d){var m,y,v,x,b,O,w,_,M,P,C,A,Y,z,S,T,k,B=this._props,E=t.style,I=h.vars.startAt;for(w in F||lt(),this.styles=this.styles||st(t),T=this.styles.props,this.tween=h,e)if("autoRound"!==w&&(y=e[w],!r[w]||!n(w,e,h,g,t,d)))if(b=typeof y,O=Pt[w],"function"===b&&(b=typeof(y=y.call(h,g,t,d))),"string"===b&&~y.indexOf("random(")&&(y=i(y)),O)O(this,t,w,y,h)&&(S=1);else if("--"===w.substr(0,2))m=(getComputedStyle(t).getPropertyValue(w)+"").trim(),y+="",s.lastIndex=0,s.test(m)||(_=a(m),(M=a(y))?_!==M&&(m=xt(t,w,m,M)+M):_&&(y+=_)),this.add(E,"setProperty",m,y,g,d,0,0,w),B.push(w),T.push(w,0,E[w]);else if("undefined"!==b){if(I&&w in I?(m="function"==typeof I[w]?I[w].call(h,g,t,d):I[w],o(m)&&~m.indexOf("random(")&&(m=i(m)),a(m+"")||"auto"===m||(m+=p.units[w]||a(bt(t,w))||""),"="===(m+"").charAt(1)&&(m=bt(t,w))):m=bt(t,w),x=parseFloat(m),(P="string"===b&&"="===y.charAt(1)&&y.substr(0,2))&&(y=y.substr(2)),v=parseFloat(y),w in V&&("autoAlpha"===w&&(1===x&&"hidden"===bt(t,"visibility")&&v&&(x=0),T.push("visibility",0,E.visibility),mt(this,E,"visibility",x?"inherit":"hidden",v?"inherit":"hidden",!v)),"scale"!==w&&"transform"!==w&&~(w=V[w]).indexOf(",")&&(w=w.split(",")[0])),C=w in X){if(this.styles.save(w),k=y,"string"===b&&"var(--"===y.substring(0,6)){if("calc("===(y=ot(t,y.substring(4,y.indexOf(")")))).substring(0,5)){var N=t.style.perspective;t.style.perspective=y,y=ot(t,"perspective"),N?t.style.perspective=N:dt(t,"perspective")}v=parseFloat(y)}if(A||((Y=t._gsap).renderTransform&&!e.parseTransform||Tt(t,e.parseTransform),z=!1!==e.smoothOrigin&&Y.smooth,(A=this._pt=new f(this._pt,E,tt,0,1,Y.renderTransform,Y,0,-1)).dep=1),"scale"===w)this._pt=new f(this._pt,Y,"scaleY",Y.scaleY,(P?l(Y.scaleY,P+v):v)-Y.scaleY||0,j),this._pt.u=0,B.push("scaleY",w),w+="X";else{if("transformOrigin"===w){T.push(et,0,E[et]),y=_t(y),Y.svg?St(t,y,0,z,0,this):((M=parseFloat(y.split(" ")[2])||0)!==Y.zOrigin&&mt(this,Y,"zOrigin",Y.zOrigin,M),mt(this,E,w,Xt(m),Xt(y)));continue}if("svgOrigin"===w){St(t,y,1,z,0,this);continue}if(w in At){jt(this,Y,w,x,P?l(x,P+y):y);continue}if("smoothOrigin"===w){mt(this,Y,"smooth",Y.smooth,y);continue}if("force3D"===w){Y[w]=y;continue}if("transform"===w){Lt(this,y,t);continue}}}else w in E||(w=ft(w)||w);if(C||(v||0===v)&&(x||0===x)&&!D.test(y)&&w in E)v||(v=0),(_=(m+"").substr((x+"").length))!==(M=a(y)||(w in p.units?p.units[w]:_))&&(x=xt(t,w,m,M)),this._pt=new f(this._pt,C?Y:E,w,x,(P?l(x,P+v):v)-x,C||"px"!==M&&"zIndex"!==w||!1===e.autoRound?j:W),this._pt.u=M||0,C&&k!==y?(this._pt.b=m,this._pt.e=k,this._pt.r=R):_!==M&&"%"!==M&&(this._pt.b=m,this._pt.r=L);else if(w in E)Ot.call(this,t,w,m,P?P+y:y);else if(w in t)this.add(t,w,m||t[w],P?P+y:y,g,d);else if("parseTransform"!==w){u(w,y);continue}C||(w in E?T.push(w,0,E[w]):"function"==typeof t[w]?T.push(w,2,t[w]()):T.push(w,1,m||t[w])),B.push(w)}S&&c(this)},render:function(t,e){if(e.tween._time||!S())for(var r=e._pt;r;)r.r(t,r.d),r=r._next;else e.styles.revert()},get:bt,aliases:V,getSetter:function(r,n,i){var s=V[n];return s&&s.indexOf(",")<0&&(n=s),n in X&&n!==et&&(r._gsap.x||bt(r,"x"))?i&&z===i?"scale"===n?J:U:(z=i||{})&&("scale"===n?K:Q):r.style&&!e(r.style[n])?H:~n.indexOf("-")?$:t(r,n)},core:{_removeProperty:dt,_getMatrix:zt}};d.utils.checkPrefix=ft,d.core.getStyleSaver=st,Zt=M((Rt="x,y,z,scale,scaleX,scaleY,xPercent,yPercent")+","+(Wt="rotation,rotationX,rotationY,skewX,skewY")+",transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective",function(t){X[t]=1}),M(Wt,function(t){p.units[t]="deg",At[t]=1}),V[Zt[13]]=Rt+","+Wt,M("0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY",function(t){var e=t.split(":");V[e[1]]=Zt[e[0]]}),M("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(t){p.units[t]="px"}),d.registerPlugin(Gt);export{Gt as CSSPlugin,at as _createElement,ht as _getBBox,ft as checkPrefix,Gt as default};
@@ -0,0 +1 @@
1
+ "use strict";function t(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function e(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}Object.defineProperty(exports,"__esModule",{value:!0});var r,i,n,s,a,o,u,h,_,f,l,p,c,d,m,v,g,y={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},T={duration:.5,overwrite:!1,delay:0},x=1e8,w=1e-8,b=2*Math.PI,k=b/4,D=0,M=Math.sqrt,R=Math.cos,C=Math.sin,A=function(t){return"string"==typeof t},E=function(t){return"function"==typeof t},S=function(t){return"number"==typeof t},z=function(t){return void 0===t},O=function(t){return"object"==typeof t},P=function(t){return!1!==t},L=function(){return"undefined"!=typeof window},F=function(t){return E(t)||A(t)},I="function"==typeof ArrayBuffer&&ArrayBuffer.isView||function(){},U=Array.isArray,B=/random\([^)]+\)/g,N=/,\s*/g,q=/(?:-?\.?\d|\.)+/gi,j=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,Q=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,V=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,G=/[+-]=-?[.\d]+/,W=/[^,'"\[\]\s]+/gi,Y=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,H={},$={},J=function(t){return($=Mt(t,H))&&Pr},K=function(t,e){},X=function(t,e){return!e&&void 0},Z=function(t,e){return t&&(H[t]=e)&&$&&($[t]=e)||H},tt=function(){return 0},et={suppressEvents:!0,isStart:!0,kill:!1},rt={suppressEvents:!0,kill:!1},it={suppressEvents:!0},nt={},st=[],at={},ot={},ut={},ht=30,_t=[],ft="",lt=function(t){var e,r,i=t[0];if(O(i)||E(i)||(t=[t]),!(e=(i._gsap||{}).harness)){for(r=_t.length;r--&&!_t[r].targetTest(i););e=_t[r]}for(r=t.length;r--;)t[r]&&(t[r]._gsap||(t[r]._gsap=new He(t[r],e)))||t.splice(r,1);return t},pt=function(t){return t._gsap||lt(se(t))[0]._gsap},ct=function(t,e,r){return(r=t[e])&&E(r)?t[e]():z(r)&&t.getAttribute&&t.getAttribute(e)||r},dt=function(t,e){return(t=t.split(",")).forEach(e)||t},mt=function(t){return Math.round(1e5*t)/1e5||0},vt=function(t){return Math.round(1e7*t)/1e7||0},gt=function(t,e){var r=e.charAt(0),i=parseFloat(e.substr(2));return t=parseFloat(t),"+"===r?t+i:"-"===r?t-i:"*"===r?t*i:t/i},yt=function(t,e){for(var r=e.length,i=0;t.indexOf(e[i])<0&&++i<r;);return i<r},Tt=function(){var t,e,r=st.length,i=st.slice(0);for(at={},st.length=0,t=0;t<r;t++)(e=i[t])&&e._lazy&&(e.render(e._lazy[0],e._lazy[1],!0)._lazy=0)},xt=function(t){return!!(t._initted||t._startAt||t.add)},wt=function(t,e,r,n){st.length&&!i&&Tt(),t.render(e,r,!!(i&&e<0&&xt(t))),st.length&&!i&&Tt()},bt=function(t){var e=parseFloat(t);return(e||0===e)&&(t+"").match(W).length<2?e:A(t)?t.trim():t},kt=function(t){return t},Dt=function(t,e){for(var r in e)r in t||(t[r]=e[r]);return t},Mt=function(t,e){for(var r in e)t[r]=e[r];return t},Rt=function t(e,r){for(var i in r)"__proto__"!==i&&"constructor"!==i&&"prototype"!==i&&(e[i]=O(r[i])?t(e[i]||(e[i]={}),r[i]):r[i]);return e},Ct=function(t,e){var r,i={};for(r in t)r in e||(i[r]=t[r]);return i},At=function(t){var e,r=t.parent||s,i=t.keyframes?(e=U(t.keyframes),function(t,r){for(var i in r)i in t||"duration"===i&&e||"ease"===i||(t[i]=r[i])}):Dt;if(P(t.inherit))for(;r;)i(t,r.vars.defaults),r=r.parent||r._dp;return t},Et=function(t,e,r,i,n){var s,a=t[i];if(n)for(s=e[n];a&&a[n]>s;)a=a._prev;return a?(e._next=a._next,a._next=e):(e._next=t[r],t[r]=e),e._next?e._next._prev=e:t[i]=e,e._prev=a,e.parent=e._dp=t,e},St=function(t,e,r,i){void 0===r&&(r="_first"),void 0===i&&(i="_last");var n=e._prev,s=e._next;n?n._next=s:t[r]===e&&(t[r]=s),s?s._prev=n:t[i]===e&&(t[i]=n),e._next=e._prev=e.parent=null},zt=function(t,e){t.parent&&(!e||t.parent.autoRemoveChildren)&&t.parent.remove&&t.parent.remove(t),t._act=0},Ot=function(t,e){if(t&&(!e||e._end>t._dur||e._start<0))for(var r=t;r;)r._dirty=1,r=r.parent;return t},Pt=function(t,e,r,n){return t._startAt&&(i?t._startAt.revert(rt):t.vars.immediateRender&&!t.vars.autoRevert||t._startAt.render(e,!0,n))},Lt=function t(e){return!e||e._ts&&t(e.parent)},Ft=function(t){return t._repeat?It(t._tTime,t=t.duration()+t._rDelay)*t:0},It=function(t,e){var r=Math.floor(t=vt(t/e));return t&&r===t?r-1:r},Ut=function(t,e){return(t-e._start)*e._ts+(e._ts>=0?0:e._dirty?e.totalDuration():e._tDur)},Bt=function(t){return t._end=vt(t._start+(t._tDur/Math.abs(t._ts||t._rts||w)||0))},Nt=function(t,e){var r=t._dp;return r&&r.smoothChildTiming&&t._ts&&(t._start=vt(r._time-(t._ts>0?e/t._ts:((t._dirty?t.totalDuration():t._tDur)-e)/-t._ts)),Bt(t),r._dirty||Ot(r,t)),t},qt=function(t,e){var r;if((e._time||!e._dur&&e._initted||e._start<t._time&&(e._dur||!e.add))&&(r=Ut(t.rawTime(),e),(!e._dur||Zt(0,e.totalDuration(),r)-e._tTime>w)&&e.render(r,!0)),Ot(t,e)._dp&&t._initted&&t._time>=t._dur&&t._ts){if(t._dur<t.duration())for(r=t;r._dp;)r.rawTime()>=0&&r.totalTime(r._tTime),r=r._dp;t._zTime=-1e-8}},jt=function(t,e,r,i){return e.parent&&zt(e),e._start=vt((S(r)?r:r||t!==s?Jt(t,r,e):t._time)+e._delay),e._end=vt(e._start+(e.totalDuration()/Math.abs(e.timeScale())||0)),Et(t,e,"_first","_last",t._sort?"_start":0),Wt(e)||(t._recent=e),i||qt(t,e),t._ts<0&&Nt(t,t._tTime),t},Qt=function(t,e){return H.ScrollTrigger?H.ScrollTrigger.create(e,t):void 0},Vt=function(t,e,r,n,s){return rr(t,e,s),t._initted?!r&&t._pt&&!i&&(t._dur&&!1!==t.vars.lazy||!t._dur&&t.vars.lazy)&&_!==Le.frame?(st.push(t),t._lazy=[s,n],1):void 0:1},Gt=function t(e){var r=e.parent;return r&&r._ts&&r._initted&&!r._lock&&(r.rawTime()<0||t(r))},Wt=function(t){var e=t.data;return"isFromStart"===e||"isStart"===e},Yt=function(t,e,r,i){var n=t._repeat,s=vt(e)||0,a=t._tTime/t._tDur;return a&&!i&&(t._time*=s/t._dur),t._dur=s,t._tDur=n?n<0?1e10:vt(s*(n+1)+t._rDelay*n):s,a>0&&!i&&Nt(t,t._tTime=t._tDur*a),t.parent&&Bt(t),r||Ot(t.parent,t),t},Ht=function(t){return t instanceof Je?Ot(t):Yt(t,t._dur)},$t={_start:0,endTime:tt,totalDuration:tt},Jt=function t(e,r,i){var n,s,a,o=e.labels,u=e._recent||$t,h=e.duration()>=x?u.endTime(!1):e._dur;return A(r)&&(isNaN(r)||r in o)?(s=r.charAt(0),a="%"===r.substr(-1),n=r.indexOf("="),"<"===s||">"===s?(n>=0&&(r=r.replace(/=/,"")),("<"===s?u._start:u.endTime(u._repeat>=0))+(parseFloat(r.substr(1))||0)*(a?(n<0?u:i).totalDuration()/100:1)):n<0?(r in o||(o[r]=h),o[r]):(s=parseFloat(r.charAt(n-1)+r.substr(n+1)),a&&i&&(s=s/100*(U(i)?i[0]:i).totalDuration()),n>1?t(e,r.substr(0,n-1),i)+s:h+s)):null==r?h:+r},Kt=function(t,e,r){var i,n,s=S(e[1]),a=(s?2:1)+(t<2?0:1),o=e[a];if(s&&(o.duration=e[1]),o.parent=r,t){for(i=o,n=r;n&&!("immediateRender"in i);)i=n.vars.defaults||{},n=P(n.vars.inherit)&&n.parent;o.immediateRender=P(i.immediateRender),t<2?o.runBackwards=1:o.startAt=e[a-1]}return new or(e[0],o,e[a+1])},Xt=function(t,e){return t||0===t?e(t):e},Zt=function(t,e,r){return r<t?t:r>e?e:r},te=function(t,e){return A(t)&&(e=Y.exec(t))?e[1]:""},ee=function(t,e,r){return Xt(r,function(r){return Zt(t,e,r)})},re=[].slice,ie=function(t,e){return t&&O(t)&&"length"in t&&(!e&&!t.length||t.length-1 in t&&O(t[0]))&&!t.nodeType&&t!==a},ne=function(t,e,r){return void 0===r&&(r=[]),t.forEach(function(t){var i;return A(t)&&!e||ie(t,1)?(i=r).push.apply(i,se(t)):r.push(t)})||r},se=function(t,e,r){return n&&!e&&n.selector?n.selector(t):!A(t)||r||!o&&Fe()?U(t)?ne(t,r):ie(t)?re.call(t,0):t?[t]:[]:re.call((e||u).querySelectorAll(t),0)},ae=function(t){return t=se(t)[0]||X()||{},function(e){var r=t.current||t.nativeElement||t;return se(e,r.querySelectorAll?r:r===t?X()||u.createElement("div"):t)}},oe=function(t){return t.sort(function(){return.5-Math.random()})},ue=function(t){if(E(t))return t;var e=O(t)?t:{each:t},r=Qe(e.ease),i=e.from||0,n=parseFloat(e.base)||0,s={},a=i>0&&i<1,o=isNaN(i)||a,u=e.axis,h=i,_=i;return A(i)?h=_={center:.5,edges:.5,end:1}[i]||0:!a&&o&&(h=i[0],_=i[1]),function(t,a,f){var l,p,c,d,m,v,g,y,T,w=(f||e).length,b=s[w];if(!b){if(!(T="auto"===e.grid?0:(e.grid||[1,x])[1])){for(g=-x;g<(g=f[T++].getBoundingClientRect().left)&&T<w;);T<w&&T--}for(b=s[w]=[],l=o?Math.min(T,w)*h-.5:i%T,p=T===x?0:o?w*_/T-.5:i/T|0,g=0,y=x,v=0;v<w;v++)c=v%T-l,d=p-(v/T|0),b[v]=m=u?Math.abs("y"===u?d:c):M(c*c+d*d),m>g&&(g=m),m<y&&(y=m);"random"===i&&oe(b),b.max=g-y,b.min=y,b.v=w=(parseFloat(e.amount)||parseFloat(e.each)*(T>w?w-1:u?"y"===u?w/T:T:Math.max(T,w/T))||0)*("edges"===i?-1:1),b.b=w<0?n-w:n,b.u=te(e.amount||e.each)||0,r=r&&w<0?qe(r):r}return w=(b[t]-b.min)/b.max||0,vt(b.b+(r?r(w):w)*b.v)+b.u}},he=function(t){var e=Math.pow(10,((t+"").split(".")[1]||"").length);return function(r){var i=vt(Math.round(parseFloat(r)/t)*t*e);return(i-i%1)/e+(S(r)?0:te(r))}},_e=function(t,e){var r,i,n=U(t);return!n&&O(t)&&(r=n=t.radius||x,t.values?(t=se(t.values),(i=!S(t[0]))&&(r*=r)):t=he(t.increment)),Xt(e,n?E(t)?function(e){return i=t(e),Math.abs(i-e)<=r?i:e}:function(e){for(var n,s,a=parseFloat(i?e.x:e),o=parseFloat(i?e.y:0),u=x,h=0,_=t.length;_--;)(n=i?(n=t[_].x-a)*n+(s=t[_].y-o)*s:Math.abs(t[_]-a))<u&&(u=n,h=_);return h=!r||u<=r?t[h]:e,i||h===e||S(e)?h:h+te(e)}:he(t))},fe=function(t,e,r,i){return Xt(U(t)?!e:!0===r?!!(r=0):!i,function(){return U(t)?t[~~(Math.random()*t.length)]:(r=r||1e-5)&&(i=r<1?Math.pow(10,(r+"").length-2):1)&&Math.floor(Math.round((t-r/2+Math.random()*(e-t+.99*r))/r)*r*i)/i})},le=function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return function(t){return e.reduce(function(t,e){return e(t)},t)}},pe=function(t,e){return function(r){return t(parseFloat(r))+(e||te(r))}},ce=function(t,e,r){return ye(t,e,0,1,r)},de=function(t,e,r){return Xt(r,function(r){return t[~~e(r)]})},me=function t(e,r,i){var n=r-e;return U(e)?de(e,t(0,e.length),r):Xt(i,function(t){return(n+(t-e)%n)%n+e})},ve=function t(e,r,i){var n=r-e,s=2*n;return U(e)?de(e,t(0,e.length-1),r):Xt(i,function(t){return e+((t=(s+(t-e)%s)%s||0)>n?s-t:t)})},ge=function(t){return t.replace(B,function(t){var e=t.indexOf("[")+1,r=t.substring(e||7,e?t.indexOf("]"):t.length-1).split(N);return fe(e?r:+r[0],e?0:+r[1],+r[2]||1e-5)})},ye=function(t,e,r,i,n){var s=e-t,a=i-r;return Xt(n,function(e){return r+((e-t)/s*a||0)})},Te=function t(e,r,i,n){var s=isNaN(e+r)?0:function(t){return(1-t)*e+t*r};if(!s){var a,o,u,h,_,f=A(e),l={};if(!0===i&&(n=1)&&(i=null),f)e={p:e},r={p:r};else if(U(e)&&!U(r)){for(u=[],h=e.length,_=h-2,o=1;o<h;o++)u.push(t(e[o-1],e[o]));h--,s=function(t){t*=h;var e=Math.min(_,~~t);return u[e](t-e)},i=r}else n||(e=Mt(U(e)?[]:{},e));if(!u){for(a in r)tr.call(l,e,a,"get",r[a]);s=function(t){return mr(t,l)||(f?e.p:e)}}}return Xt(i,s)},xe=function(t,e,r){var i,n,s,a=t.labels,o=x;for(i in a)(n=a[i]-e)<0==!!r&&n&&o>(n=Math.abs(n))&&(s=i,o=n);return s},we=function(t,e,r){var i,s,a,o=t.vars,u=o[e],h=n,_=t._ctx;if(u)return i=o[e+"Params"],s=o.callbackScope||t,r&&st.length&&Tt(),_&&(n=_),a=i?u.apply(s,i):u.call(s),n=h,a},be=function(t){return zt(t),t.scrollTrigger&&t.scrollTrigger.kill(!!i),t.progress()<1&&we(t,"onInterrupt"),t},ke=[],De=function(t){if(t)if(t=!t.name&&t.default||t,L()||t.headless){var e=t.name,r=E(t),i=e&&!r&&t.init?function(){this._props=[]}:t,n={init:tt,render:mr,add:tr,kill:gr,modifier:vr,rawVars:0},s={targetTest:0,get:0,getSetter:lr,aliases:{},register:0};if(Fe(),t!==i){if(ot[e])return;Dt(i,Dt(Ct(t,n),s)),Mt(i.prototype,Mt(n,Ct(t,s))),ot[i.prop=e]=i,t.targetTest&&(_t.push(i),nt[e]=1),e=("css"===e?"CSS":e.charAt(0).toUpperCase()+e.substr(1))+"Plugin"}Z(e,i),t.register&&t.register(Pr,i,xr)}else ke.push(t)},Me=255,Re={aqua:[0,Me,Me],lime:[0,Me,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,Me],navy:[0,0,128],white:[Me,Me,Me],olive:[128,128,0],yellow:[Me,Me,0],orange:[Me,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[Me,0,0],pink:[Me,192,203],cyan:[0,Me,Me],transparent:[Me,Me,Me,0]},Ce=function(t,e,r){return(6*(t+=t<0?1:t>1?-1:0)<1?e+(r-e)*t*6:t<.5?r:3*t<2?e+(r-e)*(2/3-t)*6:e)*Me+.5|0},Ae=function(t,e,r){var i,n,s,a,o,u,h,_,f,l,p=t?S(t)?[t>>16,t>>8&Me,t&Me]:0:Re.black;if(!p){if(","===t.substr(-1)&&(t=t.substr(0,t.length-1)),Re[t])p=Re[t];else if("#"===t.charAt(0)){if(t.length<6&&(i=t.charAt(1),n=t.charAt(2),s=t.charAt(3),t="#"+i+i+n+n+s+s+(5===t.length?t.charAt(4)+t.charAt(4):"")),9===t.length)return[(p=parseInt(t.substr(1,6),16))>>16,p>>8&Me,p&Me,parseInt(t.substr(7),16)/255];p=[(t=parseInt(t.substr(1),16))>>16,t>>8&Me,t&Me]}else if("hsl"===t.substr(0,3))if(p=l=t.match(q),e){if(~t.indexOf("="))return p=t.match(j),r&&p.length<4&&(p[3]=1),p}else a=+p[0]%360/360,o=+p[1]/100,i=2*(u=+p[2]/100)-(n=u<=.5?u*(o+1):u+o-u*o),p.length>3&&(p[3]*=1),p[0]=Ce(a+1/3,i,n),p[1]=Ce(a,i,n),p[2]=Ce(a-1/3,i,n);else p=t.match(q)||Re.transparent;p=p.map(Number)}return e&&!l&&(i=p[0]/Me,n=p[1]/Me,s=p[2]/Me,u=((h=Math.max(i,n,s))+(_=Math.min(i,n,s)))/2,h===_?a=o=0:(f=h-_,o=u>.5?f/(2-h-_):f/(h+_),a=h===i?(n-s)/f+(n<s?6:0):h===n?(s-i)/f+2:(i-n)/f+4,a*=60),p[0]=~~(a+.5),p[1]=~~(100*o+.5),p[2]=~~(100*u+.5)),r&&p.length<4&&(p[3]=1),p},Ee=function(t){var e=[],r=[],i=-1;return t.split(ze).forEach(function(t){var n=t.match(Q)||[];e.push.apply(e,n),r.push(i+=n.length+1)}),e.c=r,e},Se=function(t,e,r){var i,n,s,a,o="",u=(t+o).match(ze),h=e?"hsla(":"rgba(",_=0;if(!u)return t;if(u=u.map(function(t){return(t=Ae(t,e,1))&&h+(e?t[0]+","+t[1]+"%,"+t[2]+"%,"+t[3]:t.join(","))+")"}),r&&(s=Ee(t),(i=r.c).join(o)!==s.c.join(o)))for(a=(n=t.replace(ze,"1").split(Q)).length-1;_<a;_++)o+=n[_]+(~i.indexOf(_)?u.shift()||h+"0,0,0,0)":(s.length?s:u.length?u:r).shift());if(!n)for(a=(n=t.split(ze)).length-1;_<a;_++)o+=n[_]+u[_];return o+n[a]},ze=function(){var t,e="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b";for(t in Re)e+="|"+t+"\\b";return new RegExp(e+")","gi")}(),Oe=/hsl[a]?\(/,Pe=function(t){var e,r=t.join(" ");if(ze.lastIndex=0,ze.test(r))return e=Oe.test(r),t[1]=Se(t[1],e),t[0]=Se(t[0],e,Ee(t[1])),!0},Le=function(){var t,e,r,i,n,s,_=Date.now,f=500,p=33,c=_(),d=c,m=1e3/240,v=m,g=[],y=function r(a){var o,u,h,l,y=_()-d,T=!0===a;if((y>f||y<0)&&(c+=y-p),((o=(h=(d+=y)-c)-v)>0||T)&&(l=++i.frame,n=h-1e3*i.time,i.time=h/=1e3,v+=o+(o>=m?4:m-o),u=1),T||(t=e(r)),u)for(s=0;s<g.length;s++)g[s](h,n,l,a)};return i={time:0,frame:0,tick:function(){y(!0)},deltaRatio:function(t){return n/(1e3/(t||60))},wake:function(){h&&(!o&&L()&&(a=o=window,u=a.document||{},H.gsap=Pr,(a.gsapVersions||(a.gsapVersions=[])).push(Pr.version),J($||a.GreenSockGlobals||!a.gsap&&a||{}),ke.forEach(De)),r="undefined"!=typeof requestAnimationFrame&&requestAnimationFrame,t&&i.sleep(),e=r||function(t){return setTimeout(t,v-1e3*i.time+1|0)},l=1,y(2))},sleep:function(){(r?cancelAnimationFrame:clearTimeout)(t),l=0,e=tt},lagSmoothing:function(t,e){f=t||1/0,p=Math.min(e||33,f)},fps:function(t){m=1e3/(t||240),v=1e3*i.time+m},add:function(t,e,r){var n=e?function(e,r,s,a){t(e,r,s,a),i.remove(n)}:t;return i.remove(t),g[r?"unshift":"push"](n),Fe(),n},remove:function(t,e){~(e=g.indexOf(t))&&g.splice(e,1)&&s>=e&&s--},_listeners:g}}(),Fe=function(){return!l&&Le.wake()},Ie={},Ue=/^[\d.\-M][\d.\-,\s]/,Be=/["']/g,Ne=function(t){for(var e,r,i,n={},s=t.substr(1,t.length-3).split(":"),a=s[0],o=1,u=s.length;o<u;o++)r=s[o],e=o!==u-1?r.lastIndexOf(","):r.length,i=r.substr(0,e),n[a]=isNaN(i)?i.replace(Be,"").trim():+i,a=r.substr(e+1).trim();return n},qe=function(t){return function(e){return 1-t(1-e)}},je=function t(e,r){for(var i,n=e._first;n;)n instanceof Je?t(n,r):!n.vars.yoyoEase||n._yoyo&&n._repeat||n._yoyo===r||(n.timeline?t(n.timeline,r):(i=n._ease,n._ease=n._yEase,n._yEase=i,n._yoyo=r)),n=n._next},Qe=function(t,e){return t&&(E(t)?t:Ie[t]||function(t){var e,r,i,n,s=(t+"").split("("),a=Ie[s[0]];return a&&s.length>1&&a.config?a.config.apply(null,~t.indexOf("{")?[Ne(s[1])]:(e=t,r=e.indexOf("(")+1,i=e.indexOf(")"),n=e.indexOf("(",r),e.substring(r,~n&&n<i?e.indexOf(")",i+1):i)).split(",").map(bt)):Ie._CE&&Ue.test(t)?Ie._CE("",t):a}(t))||e},Ve=function(t,e,r,i){void 0===r&&(r=function(t){return 1-e(1-t)}),void 0===i&&(i=function(t){return t<.5?e(2*t)/2:1-e(2*(1-t))/2});var n,s={easeIn:e,easeOut:r,easeInOut:i};return dt(t,function(t){for(var e in Ie[t]=H[t]=s,Ie[n=t.toLowerCase()]=r,s)Ie[n+("easeIn"===e?".in":"easeOut"===e?".out":".inOut")]=Ie[t+"."+e]=s[e]}),s},Ge=function(t){return function(e){return e<.5?(1-t(1-2*e))/2:.5+t(2*(e-.5))/2}},We=function t(e,r,i){var n=r>=1?r:1,s=(i||(e?.3:.45))/(r<1?r:1),a=s/b*(Math.asin(1/n)||0),o=function(t){return 1===t?1:n*Math.pow(2,-10*t)*C((t-a)*s)+1},u="out"===e?o:"in"===e?function(t){return 1-o(1-t)}:Ge(o);return s=b/s,u.config=function(r,i){return t(e,r,i)},u},Ye=function t(e,r){void 0===r&&(r=1.70158);var i=function(t){return t?--t*t*((r+1)*t+r)+1:0},n="out"===e?i:"in"===e?function(t){return 1-i(1-t)}:Ge(i);return n.config=function(r){return t(e,r)},n};dt("Linear,Quad,Cubic,Quart,Quint,Strong",function(t,e){var r=e<5?e+1:e;Ve(t+",Power"+(r-1),e?function(t){return Math.pow(t,r)}:function(t){return t},function(t){return 1-Math.pow(1-t,r)},function(t){return t<.5?Math.pow(2*t,r)/2:1-Math.pow(2*(1-t),r)/2})}),Ie.Linear.easeNone=Ie.none=Ie.Linear.easeIn,Ve("Elastic",We("in"),We("out"),We()),p=7.5625,m=2*(d=1/(c=2.75)),v=2.5*d,Ve("Bounce",function(t){return 1-g(1-t)},g=function(t){return t<d?p*t*t:t<m?p*Math.pow(t-1.5/c,2)+.75:t<v?p*(t-=2.25/c)*t+.9375:p*Math.pow(t-2.625/c,2)+.984375}),Ve("Expo",function(t){return Math.pow(2,10*(t-1))*t+t*t*t*t*t*t*(1-t)}),Ve("Circ",function(t){return-(M(1-t*t)-1)}),Ve("Sine",function(t){return 1===t?1:1-R(t*k)}),Ve("Back",Ye("in"),Ye("out"),Ye()),Ie.SteppedEase=Ie.steps=H.SteppedEase={config:function(t,e){void 0===t&&(t=1);var r=1/t,i=t+(e?0:1),n=e?1:0;return function(t){return((i*Zt(0,.99999999,t)|0)+n)*r}}},T.ease=Ie["quad.out"],dt("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(t){return ft+=t+","+t+"Params,"});var He=function(t,e){this.id=D++,t._gsap=this,this.target=t,this.harness=e,this.get=e?e.get:ct,this.set=e?e.getSetter:lr},$e=function(){function t(t){this.vars=t,this._delay=+t.delay||0,(this._repeat=t.repeat===1/0?-2:t.repeat||0)&&(this._rDelay=t.repeatDelay||0,this._yoyo=!!t.yoyo||!!t.yoyoEase),this._ts=1,Yt(this,+t.duration,1,1),this.data=t.data,n&&(this._ctx=n,n.data.push(this)),l||Le.wake()}var e=t.prototype;return e.delay=function(t){return t||0===t?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+t-this._delay),this._delay=t,this):this._delay},e.duration=function(t){return arguments.length?this.totalDuration(this._repeat>0?t+(t+this._rDelay)*this._repeat:t):this.totalDuration()&&this._dur},e.totalDuration=function(t){return arguments.length?(this._dirty=0,Yt(this,this._repeat<0?t:(t-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(t,e){if(Fe(),!arguments.length)return this._tTime;var r=this._dp;if(r&&r.smoothChildTiming&&this._ts){for(Nt(this,t),!r._dp||r.parent||qt(r,this);r&&r.parent;)r.parent._time!==r._start+(r._ts>=0?r._tTime/r._ts:(r.totalDuration()-r._tTime)/-r._ts)&&r.totalTime(r._tTime,!0),r=r.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&t<this._tDur||this._ts<0&&t>0||!this._tDur&&!t)&&jt(this._dp,this,this._start-this._delay)}return(this._tTime!==t||!this._dur&&!e||this._initted&&Math.abs(this._zTime)===w||!this._initted&&this._dur&&t||!t&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=t),wt(this,t,e)),this},e.time=function(t,e){return arguments.length?this.totalTime(Math.min(this.totalDuration(),t+Ft(this))%(this._dur+this._rDelay)||(t?this._dur:0),e):this._time},e.totalProgress=function(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0},e.progress=function(t,e){return arguments.length?this.totalTime(this.duration()*(!this._yoyo||1&this.iteration()?t:1-t)+Ft(this),e):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},e.iteration=function(t,e){var r=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(t-1)*r,e):this._repeat?It(this._tTime,r)+1:1},e.timeScale=function(t,e){if(!arguments.length)return-1e-8===this._rts?0:this._rts;if(this._rts===t)return this;var r=this.parent&&this._ts?Ut(this.parent._time,this):this._tTime;return this._rts=+t||0,this._ts=this._ps||-1e-8===t?0:this._rts,this.totalTime(Zt(-Math.abs(this._delay),this.totalDuration(),r),!1!==e),Bt(this),function(t){for(var e=t.parent;e&&e.parent;)e._dirty=1,e.totalDuration(),e=e.parent;return t}(this)},e.paused=function(t){return arguments.length?(this._ps!==t&&(this._ps=t,t?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(Fe(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,1===this.progress()&&Math.abs(this._zTime)!==w&&(this._tTime-=w)))),this):this._ps},e.startTime=function(t){if(arguments.length){this._start=vt(t);var e=this.parent||this._dp;return e&&(e._sort||!this.parent)&&jt(e,this,this._start-this._delay),this}return this._start},e.endTime=function(t){return this._start+(P(t)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},e.rawTime=function(t){var e=this.parent||this._dp;return e?t&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?Ut(e.rawTime(t),this):this._tTime:this._tTime},e.revert=function(t){void 0===t&&(t=it);var e=i;return i=t,xt(this)&&(this.timeline&&this.timeline.revert(t),this.totalTime(-.01,t.suppressEvents)),"nested"!==this.data&&!1!==t.kill&&this.kill(),i=e,this},e.globalTime=function(t){for(var e=this,r=arguments.length?t:e.rawTime();e;)r=e._start+r/(Math.abs(e._ts)||1),e=e._dp;return!this.parent&&this._sat?this._sat.globalTime(t):r},e.repeat=function(t){return arguments.length?(this._repeat=t===1/0?-2:t,Ht(this)):-2===this._repeat?1/0:this._repeat},e.repeatDelay=function(t){if(arguments.length){var e=this._time;return this._rDelay=t,Ht(this),e?this.time(e):this}return this._rDelay},e.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},e.seek=function(t,e){return this.totalTime(Jt(this,t),P(e))},e.restart=function(t,e){return this.play().totalTime(t?-this._delay:0,P(e)),this._dur||(this._zTime=-1e-8),this},e.play=function(t,e){return null!=t&&this.seek(t,e),this.reversed(!1).paused(!1)},e.reverse=function(t,e){return null!=t&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1)},e.pause=function(t,e){return null!=t&&this.seek(t,e),this.paused(!0)},e.resume=function(){return this.paused(!1)},e.reversed=function(t){return arguments.length?(!!t!==this.reversed()&&this.timeScale(-this._rts||(t?-1e-8:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-1e-8,this},e.isActive=function(){var t,e=this.parent||this._dp,r=this._start;return!(e&&!(this._ts&&this._initted&&e.isActive()&&(t=e.rawTime(!0))>=r&&t<this.endTime(!0)-w))},e.eventCallback=function(t,e,r){var i=this.vars;return arguments.length>1?(e?(i[t]=e,r&&(i[t+"Params"]=r),"onUpdate"===t&&(this._onUpdate=e)):delete i[t],this):i[t]},e.then=function(t){var e=this,r=e._prom;return new Promise(function(i){var n=E(t)?t:kt,s=function(){var t=e.then;e.then=null,r&&r(),E(n)&&(n=n(e))&&(n.then||n===e)&&(e.then=t),i(n),e.then=t};e._initted&&1===e.totalProgress()&&e._ts>=0||!e._tTime&&e._ts<0?s():e._prom=s})},e.kill=function(){be(this)},t}();Dt($e.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-1e-8,_prom:0,_ps:!1,_rts:1});var Je=function(r){function n(e,i){var n;return void 0===e&&(e={}),(n=r.call(this,e)||this).labels={},n.smoothChildTiming=!!e.smoothChildTiming,n.autoRemoveChildren=!!e.autoRemoveChildren,n._sort=P(e.sortChildren),s&&jt(e.parent||s,t(n),i),e.reversed&&n.reverse(),e.paused&&n.paused(!0),e.scrollTrigger&&Qt(t(n),e.scrollTrigger),n}e(n,r);var a=n.prototype;return a.to=function(t,e,r){return Kt(0,arguments,this),this},a.from=function(t,e,r){return Kt(1,arguments,this),this},a.fromTo=function(t,e,r,i){return Kt(2,arguments,this),this},a.set=function(t,e,r){return e.duration=0,e.parent=this,At(e).repeatDelay||(e.repeat=0),e.immediateRender=!!e.immediateRender,new or(t,e,Jt(this,r),1),this},a.call=function(t,e,r){return jt(this,or.delayedCall(0,t,e),r)},a.staggerTo=function(t,e,r,i,n,s,a){return r.duration=e,r.stagger=r.stagger||i,r.onComplete=s,r.onCompleteParams=a,r.parent=this,new or(t,r,Jt(this,n)),this},a.staggerFrom=function(t,e,r,i,n,s,a){return r.runBackwards=1,At(r).immediateRender=P(r.immediateRender),this.staggerTo(t,e,r,i,n,s,a)},a.staggerFromTo=function(t,e,r,i,n,s,a,o){return i.startAt=r,At(i).immediateRender=P(i.immediateRender),this.staggerTo(t,e,i,n,s,a,o)},a.render=function(t,e,r){var n,a,o,u,h,_,f,l,p,c,d,m,v=this._time,g=this._dirty?this.totalDuration():this._tDur,y=this._dur,T=t<=0?0:vt(t),x=this._zTime<0!=t<0&&(this._initted||!y);if(this!==s&&T>g&&t>=0&&(T=g),T!==this._tTime||r||x){if(v!==this._time&&y&&(T+=this._time-v,t+=this._time-v),n=T,p=this._start,_=!(l=this._ts),x&&(y||(v=this._zTime),(t||!e)&&(this._zTime=t)),this._repeat){if(d=this._yoyo,h=y+this._rDelay,this._repeat<-1&&t<0)return this.totalTime(100*h+t,e,r);if(n=vt(T%h),T===g?(u=this._repeat,n=y):((u=~~(c=vt(T/h)))&&u===c&&(n=y,u--),n>y&&(n=y)),c=It(this._tTime,h),!v&&this._tTime&&c!==u&&this._tTime-c*h-this._dur<=0&&(c=u),d&&1&u&&(n=y-n,m=1),u!==c&&!this._lock){var b=d&&1&c,k=b===(d&&1&u);if(u<c&&(b=!b),v=b?0:T%y?y:T,this._lock=1,this.render(v||(m?0:vt(u*h)),e,!y)._lock=0,this._tTime=T,!e&&this.parent&&we(this,"onRepeat"),this.vars.repeatRefresh&&!m&&(this.invalidate()._lock=1,c=u),v&&v!==this._time||_!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(y=this._dur,g=this._tDur,k&&(this._lock=2,v=b?y:-1e-4,this.render(v,!0),this.vars.repeatRefresh&&!m&&this.invalidate()),this._lock=0,!this._ts&&!_)return this;je(this,m)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(f=function(t,e,r){var i;if(r>e)for(i=t._first;i&&i._start<=r;){if("isPause"===i.data&&i._start>e)return i;i=i._next}else for(i=t._last;i&&i._start>=r;){if("isPause"===i.data&&i._start<e)return i;i=i._prev}}(this,vt(v),vt(n)),f&&(T-=n-(n=f._start))),this._tTime=T,this._time=n,this._act=!l,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=t,v=0),!v&&T&&y&&!e&&!c&&(we(this,"onStart"),this._tTime!==T))return this;if(n>=v&&t>=0)for(a=this._first;a;){if(o=a._next,(a._act||n>=a._start)&&a._ts&&f!==a){if(a.parent!==this)return this.render(t,e,r);if(a.render(a._ts>0?(n-a._start)*a._ts:(a._dirty?a.totalDuration():a._tDur)+(n-a._start)*a._ts,e,r),n!==this._time||!this._ts&&!_){f=0,o&&(T+=this._zTime=-1e-8);break}}a=o}else{a=this._last;for(var D=t<0?t:n;a;){if(o=a._prev,(a._act||D<=a._end)&&a._ts&&f!==a){if(a.parent!==this)return this.render(t,e,r);if(a.render(a._ts>0?(D-a._start)*a._ts:(a._dirty?a.totalDuration():a._tDur)+(D-a._start)*a._ts,e,r||i&&xt(a)),n!==this._time||!this._ts&&!_){f=0,o&&(T+=this._zTime=D?-1e-8:w);break}}a=o}}if(f&&!e&&(this.pause(),f.render(n>=v?0:-1e-8)._zTime=n>=v?1:-1,this._ts))return this._start=p,Bt(this),this.render(t,e,r);this._onUpdate&&!e&&we(this,"onUpdate",!0),(T===g&&this._tTime>=this.totalDuration()||!T&&v)&&(p!==this._start&&Math.abs(l)===Math.abs(this._ts)||this._lock||((t||!y)&&(T===g&&this._ts>0||!T&&this._ts<0)&&zt(this,1),e||t<0&&!v||!T&&!v&&g||(we(this,T===g&&t>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(T<g&&this.timeScale()>0)&&this._prom())))}return this},a.add=function(t,e){var r=this;if(S(e)||(e=Jt(this,e,t)),!(t instanceof $e)){if(U(t))return t.forEach(function(t){return r.add(t,e)}),this;if(A(t))return this.addLabel(t,e);if(!E(t))return this;t=or.delayedCall(0,t)}return this!==t?jt(this,t,e):this},a.getChildren=function(t,e,r,i){void 0===t&&(t=!0),void 0===e&&(e=!0),void 0===r&&(r=!0),void 0===i&&(i=-x);for(var n=[],s=this._first;s;)s._start>=i&&(s instanceof or?e&&n.push(s):(r&&n.push(s),t&&n.push.apply(n,s.getChildren(!0,e,r)))),s=s._next;return n},a.getById=function(t){for(var e=this.getChildren(1,1,1),r=e.length;r--;)if(e[r].vars.id===t)return e[r]},a.remove=function(t){return A(t)?this.removeLabel(t):E(t)?this.killTweensOf(t):(t.parent===this&&St(this,t),t===this._recent&&(this._recent=this._last),Ot(this))},a.totalTime=function(t,e){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=vt(Le.time-(this._ts>0?t/this._ts:(this.totalDuration()-t)/-this._ts))),r.prototype.totalTime.call(this,t,e),this._forcing=0,this):this._tTime},a.addLabel=function(t,e){return this.labels[t]=Jt(this,e),this},a.removeLabel=function(t){return delete this.labels[t],this},a.addPause=function(t,e,r){var i=or.delayedCall(0,e||tt,r);return i.data="isPause",this._hasPause=1,jt(this,i,Jt(this,t))},a.removePause=function(t){var e=this._first;for(t=Jt(this,t);e;)e._start===t&&"isPause"===e.data&&zt(e),e=e._next},a.killTweensOf=function(t,e,r){for(var i=this.getTweensOf(t,r),n=i.length;n--;)Ke!==i[n]&&i[n].kill(t,e);return this},a.getTweensOf=function(t,e){for(var r,i=[],n=se(t),s=this._first,a=S(e);s;)s instanceof or?yt(s._targets,n)&&(a?(!Ke||s._initted&&s._ts)&&s.globalTime(0)<=e&&s.globalTime(s.totalDuration())>e:!e||s.isActive())&&i.push(s):(r=s.getTweensOf(n,e)).length&&i.push.apply(i,r),s=s._next;return i},a.tweenTo=function(t,e){e=e||{};var r,i=this,n=Jt(i,t),s=e,a=s.startAt,o=s.onStart,u=s.onStartParams,h=s.immediateRender,_=or.to(i,Dt({ease:e.ease||"none",lazy:!1,immediateRender:!1,time:n,overwrite:"auto",duration:e.duration||Math.abs((n-(a&&"time"in a?a.time:i._time))/i.timeScale())||w,onStart:function(){if(i.pause(),!r){var t=e.duration||Math.abs((n-(a&&"time"in a?a.time:i._time))/i.timeScale());_._dur!==t&&Yt(_,t,0,1).render(_._time,!0,!0),r=1}o&&o.apply(_,u||[])}},e));return h?_.render(0):_},a.tweenFromTo=function(t,e,r){return this.tweenTo(e,Dt({startAt:{time:Jt(this,t)}},r))},a.recent=function(){return this._recent},a.nextLabel=function(t){return void 0===t&&(t=this._time),xe(this,Jt(this,t))},a.previousLabel=function(t){return void 0===t&&(t=this._time),xe(this,Jt(this,t),1)},a.currentLabel=function(t){return arguments.length?this.seek(t,!0):this.previousLabel(this._time+w)},a.shiftChildren=function(t,e,r){void 0===r&&(r=0);var i,n=this._first,s=this.labels;for(t=vt(t);n;)n._start>=r&&(n._start+=t,n._end+=t),n=n._next;if(e)for(i in s)s[i]>=r&&(s[i]+=t);return Ot(this)},a.invalidate=function(t){var e=this._first;for(this._lock=0;e;)e.invalidate(t),e=e._next;return r.prototype.invalidate.call(this,t)},a.clear=function(t){void 0===t&&(t=!0);for(var e,r=this._first;r;)e=r._next,this.remove(r),r=e;return this._dp&&(this._time=this._tTime=this._pTime=0),t&&(this.labels={}),Ot(this)},a.totalDuration=function(t){var e,r,i,n=0,a=this,o=a._last,u=x;if(arguments.length)return a.timeScale((a._repeat<0?a.duration():a.totalDuration())/(a.reversed()?-t:t));if(a._dirty){for(i=a.parent;o;)e=o._prev,o._dirty&&o.totalDuration(),(r=o._start)>u&&a._sort&&o._ts&&!a._lock?(a._lock=1,jt(a,o,r-o._delay,1)._lock=0):u=r,r<0&&o._ts&&(n-=r,(!i&&!a._dp||i&&i.smoothChildTiming)&&(a._start+=vt(r/a._ts),a._time-=r,a._tTime-=r),a.shiftChildren(-r,!1,-1/0),u=0),o._end>n&&o._ts&&(n=o._end),o=e;Yt(a,a===s&&a._time>n?a._time:n,1,1),a._dirty=0}return a._tDur},n.updateRoot=function(t){if(s._ts&&(wt(s,Ut(t,s)),_=Le.frame),Le.frame>=ht){ht+=y.autoSleep||120;var e=s._first;if((!e||!e._ts)&&y.autoSleep&&Le._listeners.length<2){for(;e&&!e._ts;)e=e._next;e||Le.sleep()}}},n}($e);Dt(Je.prototype,{_lock:0,_hasPause:0,_forcing:0});var Ke,Xe,Ze=function(t,e,r,i,n,s,a){var o,u,h,_,f,l,p,c,d=new xr(this._pt,t,e,0,1,dr,null,n),m=0,v=0;for(d.b=r,d.e=i,r+="",(p=~(i+="").indexOf("random("))&&(i=ge(i)),s&&(s(c=[r,i],t,e),r=c[0],i=c[1]),u=r.match(V)||[];o=V.exec(i);)_=o[0],f=i.substring(m,o.index),h?h=(h+1)%5:"rgba("===f.substr(-5)&&(h=1),_!==u[v++]&&(l=parseFloat(u[v-1])||0,d._pt={_next:d._pt,p:f||1===v?f:",",s:l,c:"="===_.charAt(1)?gt(l,_)-l:parseFloat(_)-l,m:h&&h<4?Math.round:0},m=V.lastIndex);return d.c=m<i.length?i.substring(m,i.length):"",d.fp=a,(G.test(i)||p)&&(d.e=0),this._pt=d,d},tr=function(t,e,r,i,n,s,a,o,u,h){E(i)&&(i=i(n||0,t,s));var _,f=t[e],l="get"!==r?r:E(f)?u?t[e.indexOf("set")||!E(t["get"+e.substr(3)])?e:"get"+e.substr(3)](u):t[e]():f,p=E(f)?u?_r:hr:ur;if(A(i)&&(~i.indexOf("random(")&&(i=ge(i)),"="===i.charAt(1)&&((_=gt(l,i)+(te(l)||0))||0===_)&&(i=_)),!h||l!==i||Xe)return isNaN(l*i)||""===i?Ze.call(this,t,e,l,i,p,o||y.stringFilter,u):(_=new xr(this._pt,t,e,+l||0,i-(l||0),"boolean"==typeof f?cr:pr,0,p),u&&(_.fp=u),a&&_.modifier(a,this,t),this._pt=_)},er=function(t,e,r,i,n,s){var a,o,u,h;if(ot[t]&&!1!==(a=new ot[t]).init(n,a.rawVars?e[t]:function(t,e,r,i,n){if(E(t)&&(t=nr(t,n,e,r,i)),!O(t)||t.style&&t.nodeType||U(t)||I(t))return A(t)?nr(t,n,e,r,i):t;var s,a={};for(s in t)a[s]=nr(t[s],n,e,r,i);return a}(e[t],i,n,s,r),r,i,s)&&(r._pt=o=new xr(r._pt,n,t,0,1,a.render,a,0,a.priority),r!==f))for(u=r._ptLookup[r._targets.indexOf(n)],h=a._props.length;h--;)u[a._props[h]]=o;return a},rr=function t(e,n,a){var o,u,h,_,f,l,p,c,d,m,v,g,y,b=e.vars,k=b.ease,D=b.startAt,M=b.immediateRender,R=b.lazy,C=b.onUpdate,A=b.runBackwards,E=b.yoyoEase,S=b.keyframes,z=b.autoRevert,O=e._dur,L=e._startAt,F=e._targets,I=e.parent,U=I&&"nested"===I.data?I.vars.targets:F,B="auto"===e._overwrite&&!r,N=e.timeline;if(N&&(!S||!k)&&(k="none"),e._ease=Qe(k,T.ease),e._yEase=E?qe(Qe(!0===E?k:E,T.ease)):0,E&&e._yoyo&&!e._repeat&&(E=e._yEase,e._yEase=e._ease,e._ease=E),e._from=!N&&!!b.runBackwards,!N||S&&!b.stagger){if(g=(c=F[0]?pt(F[0]).harness:0)&&b[c.prop],o=Ct(b,nt),L&&(L._zTime<0&&L.progress(1),n<0&&A&&M&&!z?L.render(-1,!0):L.revert(A&&O?rt:et),L._lazy=0),D){if(zt(e._startAt=or.set(F,Dt({data:"isStart",overwrite:!1,parent:I,immediateRender:!0,lazy:!L&&P(R),startAt:null,delay:0,onUpdate:C&&function(){return we(e,"onUpdate")},stagger:0},D))),e._startAt._dp=0,e._startAt._sat=e,n<0&&(i||!M&&!z)&&e._startAt.revert(rt),M&&O&&n<=0&&a<=0)return void(n&&(e._zTime=n))}else if(A&&O&&!L)if(n&&(M=!1),h=Dt({overwrite:!1,data:"isFromStart",lazy:M&&!L&&P(R),immediateRender:M,stagger:0,parent:I},o),g&&(h[c.prop]=g),zt(e._startAt=or.set(F,h)),e._startAt._dp=0,e._startAt._sat=e,n<0&&(i?e._startAt.revert(rt):e._startAt.render(-1,!0)),e._zTime=n,M){if(!n)return}else t(e._startAt,w,w);for(e._pt=e._ptCache=0,R=O&&P(R)||R&&!O,u=0;u<F.length;u++){if(p=(f=F[u])._gsap||lt(F)[u]._gsap,e._ptLookup[u]=m={},at[p.id]&&st.length&&Tt(),v=U===F?u:U.indexOf(f),c&&!1!==(d=new c).init(f,g||o,e,v,U)&&(e._pt=_=new xr(e._pt,f,d.name,0,1,d.render,d,0,d.priority),d._props.forEach(function(t){m[t]=_}),d.priority&&(l=1)),!c||g)for(h in o)ot[h]&&(d=er(h,o,e,v,f,U))?d.priority&&(l=1):m[h]=_=tr.call(e,f,h,"get",o[h],v,U,0,b.stringFilter);e._op&&e._op[u]&&e.kill(f,e._op[u]),B&&e._pt&&(Ke=e,s.killTweensOf(f,m,e.globalTime(n)),y=!e.parent,Ke=0),e._pt&&R&&(at[p.id]=1)}l&&Tr(e),e._onInit&&e._onInit(e)}e._onUpdate=C,e._initted=(!e._op||e._pt)&&!y,S&&n<=0&&N.render(x,!0,!0)},ir=function(t,e,r,i){var n,s,a=e.ease||i||"power1.inOut";if(U(e))s=r[t]||(r[t]=[]),e.forEach(function(t,r){return s.push({t:r/(e.length-1)*100,v:t,e:a})});else for(n in e)s=r[n]||(r[n]=[]),"ease"===n||s.push({t:parseFloat(t),v:e[n],e:a})},nr=function(t,e,r,i,n){return E(t)?t.call(e,r,i,n):A(t)&&~t.indexOf("random(")?ge(t):t},sr=ft+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",ar={};dt(sr+",id,stagger,delay,duration,paused,scrollTrigger",function(t){return ar[t]=1});var or=function(n){function a(e,i,a,o){var u;"number"==typeof i&&(a.duration=i,i=a,a=null);var h,_,f,l,p,c,d,m,v=(u=n.call(this,o?i:At(i))||this).vars,g=v.duration,T=v.delay,x=v.immediateRender,w=v.stagger,b=v.overwrite,k=v.keyframes,D=v.defaults,M=v.scrollTrigger,R=v.yoyoEase,C=i.parent||s,A=(U(e)||I(e)?S(e[0]):"length"in i)?[e]:se(e);if(u._targets=A.length?lt(A):X(0,!y.nullTargetWarn)||[],u._ptLookup=[],u._overwrite=b,k||w||F(g)||F(T)){if(i=u.vars,(h=u.timeline=new Je({data:"nested",defaults:D||{},targets:C&&"nested"===C.data?C.vars.targets:A})).kill(),h.parent=h._dp=t(u),h._start=0,w||F(g)||F(T)){if(l=A.length,d=w&&ue(w),O(w))for(p in w)~sr.indexOf(p)&&(m||(m={}),m[p]=w[p]);for(_=0;_<l;_++)(f=Ct(i,ar)).stagger=0,R&&(f.yoyoEase=R),m&&Mt(f,m),c=A[_],f.duration=+nr(g,t(u),_,c,A),f.delay=(+nr(T,t(u),_,c,A)||0)-u._delay,!w&&1===l&&f.delay&&(u._delay=T=f.delay,u._start+=T,f.delay=0),h.to(c,f,d?d(_,c,A):0),h._ease=Ie.none;h.duration()?g=T=0:u.timeline=0}else if(k){At(Dt(h.vars.defaults,{ease:"none"})),h._ease=Qe(k.ease||i.ease||"none");var E,z,L,B=0;if(U(k))k.forEach(function(t){return h.to(A,t,">")}),h.duration();else{for(p in f={},k)"ease"===p||"easeEach"===p||ir(p,k[p],f,k.easeEach);for(p in f)for(E=f[p].sort(function(t,e){return t.t-e.t}),B=0,_=0;_<E.length;_++)(L={ease:(z=E[_]).e,duration:(z.t-(_?E[_-1].t:0))/100*g})[p]=z.v,h.to(A,L,B),B+=L.duration;h.duration()<g&&h.to({},{duration:g-h.duration()})}}g||u.duration(g=h.duration())}else u.timeline=0;return!0!==b||r||(Ke=t(u),s.killTweensOf(A),Ke=0),jt(C,t(u),a),i.reversed&&u.reverse(),i.paused&&u.paused(!0),(x||!g&&!k&&u._start===vt(C._time)&&P(x)&&Lt(t(u))&&"nested"!==C.data)&&(u._tTime=-1e-8,u.render(Math.max(0,-T)||0)),M&&Qt(t(u),M),u}e(a,n);var o=a.prototype;return o.render=function(t,e,r){var n,s,a,o,u,h,_,f,l,p=this._time,c=this._tDur,d=this._dur,m=t<0,v=t>c-w&&!m?c:t<w?0:t;if(d){if(v!==this._tTime||!t||r||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==m||this._lazy){if(n=v,f=this.timeline,this._repeat){if(o=d+this._rDelay,this._repeat<-1&&m)return this.totalTime(100*o+t,e,r);if(n=vt(v%o),v===c?(a=this._repeat,n=d):(a=~~(u=vt(v/o)))&&a===u?(n=d,a--):n>d&&(n=d),(h=this._yoyo&&1&a)&&(l=this._yEase,n=d-n),u=It(this._tTime,o),n===p&&!r&&this._initted&&a===u)return this._tTime=v,this;a!==u&&(f&&this._yEase&&je(f,h),this.vars.repeatRefresh&&!h&&!this._lock&&n!==o&&this._initted&&(this._lock=r=1,this.render(vt(o*a),!0).invalidate()._lock=0))}if(!this._initted){if(Vt(this,m?t:n,r,e,v))return this._tTime=0,this;if(!(p===this._time||r&&this.vars.repeatRefresh&&a!==u))return this;if(d!==this._dur)return this.render(t,e,r)}if(this._tTime=v,this._time=n,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=_=(l||this._ease)(n/d),this._from&&(this.ratio=_=1-_),!p&&v&&!e&&!u&&(we(this,"onStart"),this._tTime!==v))return this;for(s=this._pt;s;)s.r(_,s.d),s=s._next;f&&f.render(t<0?t:f._dur*f._ease(n/this._dur),e,r)||this._startAt&&(this._zTime=t),this._onUpdate&&!e&&(m&&Pt(this,t,0,r),we(this,"onUpdate")),this._repeat&&a!==u&&this.vars.onRepeat&&!e&&this.parent&&we(this,"onRepeat"),v!==this._tDur&&v||this._tTime!==v||(m&&!this._onUpdate&&Pt(this,t,0,!0),(t||!d)&&(v===this._tDur&&this._ts>0||!v&&this._ts<0)&&zt(this,1),e||m&&!p||!(v||p||h)||(we(this,v===c?"onComplete":"onReverseComplete",!0),this._prom&&!(v<c&&this.timeScale()>0)&&this._prom()))}}else!function(t,e,r,n){var s,a,o,u=t.ratio,h=e<0||!e&&(!t._start&&Gt(t)&&(t._initted||!Wt(t))||(t._ts<0||t._dp._ts<0)&&!Wt(t))?0:1,_=t._rDelay,f=0;if(_&&t._repeat&&(f=Zt(0,t._tDur,e),a=It(f,_),t._yoyo&&1&a&&(h=1-h),a!==It(t._tTime,_)&&(u=1-h,t.vars.repeatRefresh&&t._initted&&t.invalidate())),h!==u||i||n||t._zTime===w||!e&&t._zTime){if(!t._initted&&Vt(t,e,n,r,f))return;for(o=t._zTime,t._zTime=e||(r?w:0),r||(r=e&&!o),t.ratio=h,t._from&&(h=1-h),t._time=0,t._tTime=f,s=t._pt;s;)s.r(h,s.d),s=s._next;e<0&&Pt(t,e,0,!0),t._onUpdate&&!r&&we(t,"onUpdate"),f&&t._repeat&&!r&&t.parent&&we(t,"onRepeat"),(e>=t._tDur||e<0)&&t.ratio===h&&(h&&zt(t,1),r||i||(we(t,h?"onComplete":"onReverseComplete",!0),t._prom&&t._prom()))}else t._zTime||(t._zTime=e)}(this,t,e,r);return this},o.targets=function(){return this._targets},o.invalidate=function(t){return(!t||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(t),n.prototype.invalidate.call(this,t)},o.resetTo=function(t,e,r,i,n){l||Le.wake(),this._ts||this.play();var s=Math.min(this._dur,(this._dp._time-this._start)*this._ts);return this._initted||rr(this,s),function(t,e,r,i,n,s,a,o){var u,h,_,f,l=(t._pt&&t._ptCache||(t._ptCache={}))[e];if(!l)for(l=t._ptCache[e]=[],_=t._ptLookup,f=t._targets.length;f--;){if((u=_[f][e])&&u.d&&u.d._pt)for(u=u.d._pt;u&&u.p!==e&&u.fp!==e;)u=u._next;if(!u)return Xe=1,t.vars[e]="+=0",rr(t,a),Xe=0,o?X():1;l.push(u)}for(f=l.length;f--;)(u=(h=l[f])._pt||h).s=!i&&0!==i||n?u.s+(i||0)+s*u.c:i,u.c=r-u.s,h.e&&(h.e=mt(r)+te(h.e)),h.b&&(h.b=u.s+te(h.b))}(this,t,e,r,i,this._ease(s/this._dur),s,n)?this.resetTo(t,e,r,i,1):(Nt(this,0),this.parent||Et(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},o.kill=function(t,e){if(void 0===e&&(e="all"),!(t||e&&"all"!==e))return this._lazy=this._pt=0,this.parent?be(this):this.scrollTrigger&&this.scrollTrigger.kill(!!i),this;if(this.timeline){var r=this.timeline.totalDuration();return this.timeline.killTweensOf(t,e,Ke&&!0!==Ke.vars.overwrite)._first||be(this),this.parent&&r!==this.timeline.totalDuration()&&Yt(this,this._dur*this.timeline._tDur/r,0,1),this}var n,s,a,o,u,h,_,f=this._targets,l=t?se(t):f,p=this._ptLookup,c=this._pt;if((!e||"all"===e)&&function(t,e){for(var r=t.length,i=r===e.length;i&&r--&&t[r]===e[r];);return r<0}(f,l))return"all"===e&&(this._pt=0),be(this);for(n=this._op=this._op||[],"all"!==e&&(A(e)&&(u={},dt(e,function(t){return u[t]=1}),e=u),e=function(t,e){var r,i,n,s,a=t[0]?pt(t[0]).harness:0,o=a&&a.aliases;if(!o)return e;for(i in r=Mt({},e),o)if(i in r)for(n=(s=o[i].split(",")).length;n--;)r[s[n]]=r[i];return r}(f,e)),_=f.length;_--;)if(~l.indexOf(f[_]))for(u in s=p[_],"all"===e?(n[_]=e,o=s,a={}):(a=n[_]=n[_]||{},o=e),o)(h=s&&s[u])&&("kill"in h.d&&!0!==h.d.kill(u)||St(this,h,"_pt"),delete s[u]),"all"!==a&&(a[u]=1);return this._initted&&!this._pt&&c&&be(this),this},a.to=function(t,e){return new a(t,e,arguments[2])},a.from=function(t,e){return Kt(1,arguments)},a.delayedCall=function(t,e,r,i){return new a(e,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:t,onComplete:e,onReverseComplete:e,onCompleteParams:r,onReverseCompleteParams:r,callbackScope:i})},a.fromTo=function(t,e,r){return Kt(2,arguments)},a.set=function(t,e){return e.duration=0,e.repeatDelay||(e.repeat=0),new a(t,e)},a.killTweensOf=function(t,e,r){return s.killTweensOf(t,e,r)},a}($e);Dt(or.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),dt("staggerTo,staggerFrom,staggerFromTo",function(t){or[t]=function(){var e=new Je,r=re.call(arguments,0);return r.splice("staggerFromTo"===t?5:4,0,0),e[t].apply(e,r)}});var ur=function(t,e,r){return t[e]=r},hr=function(t,e,r){return t[e](r)},_r=function(t,e,r,i){return t[e](i.fp,r)},fr=function(t,e,r){return t.setAttribute(e,r)},lr=function(t,e){return E(t[e])?hr:z(t[e])&&t.setAttribute?fr:ur},pr=function(t,e){return e.set(e.t,e.p,Math.round(1e6*(e.s+e.c*t))/1e6,e)},cr=function(t,e){return e.set(e.t,e.p,!!(e.s+e.c*t),e)},dr=function(t,e){var r=e._pt,i="";if(!t&&e.b)i=e.b;else if(1===t&&e.e)i=e.e;else{for(;r;)i=r.p+(r.m?r.m(r.s+r.c*t):Math.round(1e4*(r.s+r.c*t))/1e4)+i,r=r._next;i+=e.c}e.set(e.t,e.p,i,e)},mr=function(t,e){for(var r=e._pt;r;)r.r(t,r.d),r=r._next},vr=function(t,e,r,i){for(var n,s=this._pt;s;)n=s._next,s.p===i&&s.modifier(t,e,r),s=n},gr=function(t){for(var e,r,i=this._pt;i;)r=i._next,i.p===t&&!i.op||i.op===t?St(this,i,"_pt"):i.dep||(e=1),i=r;return!e},yr=function(t,e,r,i){i.mSet(t,e,i.m.call(i.tween,r,i.mt),i)},Tr=function(t){for(var e,r,i,n,s=t._pt;s;){for(e=s._next,r=i;r&&r.pr>s.pr;)r=r._next;(s._prev=r?r._prev:n)?s._prev._next=s:i=s,(s._next=r)?r._prev=s:n=s,s=e}t._pt=i},xr=function(){function t(t,e,r,i,n,s,a,o,u){this.t=e,this.s=i,this.c=n,this.p=r,this.r=s||pr,this.d=a||this,this.set=o||ur,this.pr=u||0,this._next=t,t&&(t._prev=this)}return t.prototype.modifier=function(t,e,r){this.mSet=this.mSet||this.set,this.set=yr,this.m=t,this.mt=r,this.tween=e},t}();dt(ft+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",function(t){return nt[t]=1}),H.TweenMax=H.TweenLite=or,H.TimelineLite=H.TimelineMax=Je,s=new Je({sortChildren:!1,defaults:T,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),y.stringFilter=Pe;var wr=[],br={},kr=[],Dr=0,Mr=0,Rr=function(t){return(br[t]||kr).map(function(t){return t()})},Cr=function(){var t=Date.now(),e=[];t-Dr>2&&(Rr("matchMediaInit"),wr.forEach(function(t){var r,i,n,s,o=t.queries,u=t.conditions;for(i in o)(r=a.matchMedia(o[i]).matches)&&(n=1),r!==u[i]&&(u[i]=r,s=1);s&&(t.revert(),n&&e.push(t))}),Rr("matchMediaRevert"),e.forEach(function(t){return t.onMatch(t,function(e){return t.add(null,e)})}),Dr=t,Rr("matchMedia"))},Ar=function(){function t(t,e){this.selector=e&&ae(e),this.data=[],this._r=[],this.isReverted=!1,this.id=Mr++,t&&this.add(t)}var e=t.prototype;return e.add=function(t,e,r){E(t)&&(r=e,e=t,t=E);var i=this,s=function(){var t,s=n,a=i.selector;return s&&s!==i&&s.data.push(i),r&&(i.selector=ae(r)),n=i,t=e.apply(i,arguments),E(t)&&i._r.push(t),n=s,i.selector=a,i.isReverted=!1,t};return i.last=s,t===E?s(i,function(t){return i.add(null,t)}):t?i[t]=s:s},e.ignore=function(t){var e=n;n=null,t(this),n=e},e.getTweens=function(){var e=[];return this.data.forEach(function(r){return r instanceof t?e.push.apply(e,r.getTweens()):r instanceof or&&!(r.parent&&"nested"===r.parent.data)&&e.push(r)}),e},e.clear=function(){this._r.length=this.data.length=0},e.kill=function(t,e){var r=this;if(t?function(){for(var e,i=r.getTweens(),n=r.data.length;n--;)"isFlip"===(e=r.data[n]).data&&(e.revert(),e.getChildren(!0,!0,!1).forEach(function(t){return i.splice(i.indexOf(t),1)}));for(i.map(function(t){return{g:t._dur||t._delay||t._sat&&!t._sat.vars.immediateRender?t.globalTime(0):-1/0,t:t}}).sort(function(t,e){return e.g-t.g||-1/0}).forEach(function(e){return e.t.revert(t)}),n=r.data.length;n--;)(e=r.data[n])instanceof Je?"nested"!==e.data&&(e.scrollTrigger&&e.scrollTrigger.revert(),e.kill()):!(e instanceof or)&&e.revert&&e.revert(t);r._r.forEach(function(e){return e(t,r)}),r.isReverted=!0}():this.data.forEach(function(t){return t.kill&&t.kill()}),this.clear(),e)for(var i=wr.length;i--;)wr[i].id===this.id&&wr.splice(i,1)},e.revert=function(t){this.kill(t||{})},t}(),Er=function(){function t(t){this.contexts=[],this.scope=t,n&&n.data.push(this)}var e=t.prototype;return e.add=function(t,e,r){O(t)||(t={matches:t});var i,s,o,u=new Ar(0,r||this.scope),h=u.conditions={};for(s in n&&!u.selector&&(u.selector=n.selector),this.contexts.push(u),e=u.add("onMatch",e),u.queries=t,t)"all"===s?o=1:(i=a.matchMedia(t[s]))&&(wr.indexOf(u)<0&&wr.push(u),(h[s]=i.matches)&&(o=1),i.addListener?i.addListener(Cr):i.addEventListener("change",Cr));return o&&e(u,function(t){return u.add(null,t)}),this},e.revert=function(t){this.kill(t||{})},e.kill=function(t){this.contexts.forEach(function(e){return e.kill(t,!0)})},t}(),Sr={registerPlugin:function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];e.forEach(function(t){return De(t)})},timeline:function(t){return new Je(t)},getTweensOf:function(t,e){return s.getTweensOf(t,e)},getProperty:function(t,e,r,i){A(t)&&(t=se(t)[0]);var n=pt(t||{}).get,s=r?kt:bt;return"native"===r&&(r=""),t?e?s((ot[e]&&ot[e].get||n)(t,e,r,i)):function(e,r,i){return s((ot[e]&&ot[e].get||n)(t,e,r,i))}:t},quickSetter:function(t,e,r){if((t=se(t)).length>1){var i=t.map(function(t){return Pr.quickSetter(t,e,r)}),n=i.length;return function(t){for(var e=n;e--;)i[e](t)}}t=t[0]||{};var s=ot[e],a=pt(t),o=a.harness&&(a.harness.aliases||{})[e]||e,u=s?function(e){var i=new s;f._pt=0,i.init(t,r?e+r:e,f,0,[t]),i.render(1,i),f._pt&&mr(1,f)}:a.set(t,o);return s?u:function(e){return u(t,o,r?e+r:e,a,1)}},quickTo:function(t,e,r){var i,n=Pr.to(t,Dt(((i={})[e]="+=0.1",i.paused=!0,i.stagger=0,i),r||{})),s=function(t,r,i){return n.resetTo(e,t,r,i)};return s.tween=n,s},isTweening:function(t){return s.getTweensOf(t,!0).length>0},defaults:function(t){return t&&t.ease&&(t.ease=Qe(t.ease,T.ease)),Rt(T,t||{})},config:function(t){return Rt(y,t||{})},registerEffect:function(t){var e=t.name,r=t.effect,i=t.plugins,n=t.defaults,s=t.extendTimeline;(i||"").split(",").forEach(function(t){return t&&!ot[t]&&!H[t]&&X()}),ut[e]=function(t,e,i){return r(se(t),Dt(e||{},n),i)},s&&(Je.prototype[e]=function(t,r,i){return this.add(ut[e](t,O(r)?r:(i=r)&&{},this),i)})},registerEase:function(t,e){Ie[t]=Qe(e)},parseEase:function(t,e){return arguments.length?Qe(t,e):Ie},getById:function(t){return s.getById(t)},exportRoot:function(t,e){void 0===t&&(t={});var r,i,n=new Je(t);for(n.smoothChildTiming=P(t.smoothChildTiming),s.remove(n),n._dp=0,n._time=n._tTime=s._time,r=s._first;r;)i=r._next,!e&&!r._dur&&r instanceof or&&r.vars.onComplete===r._targets[0]||jt(n,r,r._start-r._delay),r=i;return jt(s,n,0),n},context:function(t,e){return t?new Ar(t,e):n},matchMedia:function(t){return new Er(t)},matchMediaRefresh:function(){return wr.forEach(function(t){var e,r,i=t.conditions;for(r in i)i[r]&&(i[r]=!1,e=1);e&&t.revert()})||Cr()},addEventListener:function(t,e){var r=br[t]||(br[t]=[]);~r.indexOf(e)||r.push(e)},removeEventListener:function(t,e){var r=br[t],i=r&&r.indexOf(e);i>=0&&r.splice(i,1)},utils:{wrap:me,wrapYoyo:ve,distribute:ue,random:fe,snap:_e,normalize:ce,getUnit:te,clamp:ee,splitColor:Ae,toArray:se,selector:ae,mapRange:ye,pipe:le,unitize:pe,interpolate:Te,shuffle:oe},install:J,effects:ut,ticker:Le,updateRoot:Je.updateRoot,plugins:ot,globalTimeline:s,core:{PropTween:xr,globals:Z,Tween:or,Timeline:Je,Animation:$e,getCache:pt,_removeLinkedListItem:St,reverting:function(){return i},context:function(t){return t&&n&&(n.data.push(t),t._ctx=n),n},suppressOverwrites:function(t){return r=t}}};dt("to,from,fromTo,delayedCall,set,killTweensOf",function(t){return Sr[t]=or[t]}),Le.add(Je.updateRoot),f=Sr.to({},{duration:0});var zr=function(t,e){for(var r=t._pt;r&&r.p!==e&&r.op!==e&&r.fp!==e;)r=r._next;return r},Or=function(t,e){return{name:t,headless:1,rawVars:1,init:function(t,r,i){i._onInit=function(t){var i,n;if(A(r)&&(i={},dt(r,function(t){return i[t]=1}),r=i),e){for(n in i={},r)i[n]=e(r[n]);r=i}!function(t,e){var r,i,n,s=t._targets;for(r in e)for(i=s.length;i--;)(n=t._ptLookup[i][r])&&(n=n.d)&&(n._pt&&(n=zr(n,r)),n&&n.modifier&&n.modifier(e[r],t,s[i],r))}(t,r)}}}},Pr=Sr.registerPlugin({name:"attr",init:function(t,e,r,i,n){var s,a,o;for(s in this.tween=r,e)o=t.getAttribute(s)||"",(a=this.add(t,"setAttribute",(o||0)+"",e[s],i,n,0,0,s)).op=s,a.b=o,this._props.push(s)},render:function(t,e){for(var r=e._pt;r;)i?r.set(r.t,r.p,r.b,r):r.r(t,r.d),r=r._next}},{name:"endArray",headless:1,init:function(t,e){for(var r=e.length;r--;)this.add(t,r,t[r]||0,e[r],0,0,0,0,0,1)}},Or("roundProps",he),Or("modifiers"),Or("snap",_e))||Sr;or.version=Je.version=Pr.version="3.14.2",h=1,L()&&Fe(),Ie.Power0,Ie.Power1,Ie.Power2,Ie.Power3,Ie.Power4,Ie.Linear,Ie.Quad,Ie.Cubic,Ie.Quart,Ie.Quint,Ie.Strong,Ie.Elastic,Ie.Back,Ie.SteppedEase,Ie.Bounce,Ie.Sine,Ie.Expo,Ie.Circ,exports.Animation=$e,exports.GSCache=He,exports.PropTween=xr,exports.Timeline=Je,exports.TimelineLite=Je,exports.TimelineMax=Je,exports.Tween=or,exports.TweenLite=or,exports.TweenMax=or,exports._checkPlugin=er,exports._colorExp=ze,exports._colorStringFilter=Pe,exports._config=y,exports._forEachName=dt,exports._getCache=pt,exports._getProperty=ct,exports._getSetter=lr,exports._isString=A,exports._isUndefined=z,exports._missingPlugin=K,exports._numExp=j,exports._numWithUnitExp=Q,exports._parseRelative=gt,exports._plugins=ot,exports._relExp=G,exports._removeLinkedListItem=St,exports._renderComplexString=dr,exports._replaceRandom=ge,exports._round=mt,exports._roundModifier=he,exports._setDefaults=Dt,exports._sortPropTweensByPriority=Tr,exports._ticker=Le,exports.clamp=ee,exports.default=Pr,exports.distribute=ue,exports.getUnit=te,exports.gsap=Pr,exports.interpolate=Te,exports.mapRange=ye,exports.normalize=ce,exports.pipe=le,exports.random=fe,exports.selector=ae,exports.shuffle=oe,exports.snap=_e,exports.splitColor=Ae,exports.toArray=se,exports.unitize=pe,exports.wrap=me,exports.wrapYoyo=ve;
@@ -0,0 +1 @@
1
+ function t(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function e(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}var r,i,n,s,a,o,u,h,_,f,l,c,d,p,m,v,g,y={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},T={duration:.5,overwrite:!1,delay:0},w=1e8,b=1e-8,k=2*Math.PI,x=k/4,D=0,M=Math.sqrt,R=Math.cos,A=Math.sin,C=function(t){return"string"==typeof t},E=function(t){return"function"==typeof t},z=function(t){return"number"==typeof t},S=function(t){return void 0===t},O=function(t){return"object"==typeof t},P=function(t){return!1!==t},L=function(){return"undefined"!=typeof window},F=function(t){return E(t)||C(t)},I="function"==typeof ArrayBuffer&&ArrayBuffer.isView||function(){},U=Array.isArray,B=/random\([^)]+\)/g,q=/,\s*/g,N=/(?:-?\.?\d|\.)+/gi,j=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,Q=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,V=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,G=/[+-]=-?[.\d]+/,W=/[^,'"\[\]\s]+/gi,H=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,Y={},$={},J=function(t){return($=Mt(t,Y))&&Pr},K=function(t,e){},X=function(t,e){return!e&&void 0},Z=function(t,e){return t&&(Y[t]=e)&&$&&($[t]=e)||Y},tt=function(){return 0},et={suppressEvents:!0,isStart:!0,kill:!1},rt={suppressEvents:!0,kill:!1},it={suppressEvents:!0},nt={},st=[],at={},ot={},ut={},ht=30,_t=[],ft="",lt=function(t){var e,r,i=t[0];if(O(i)||E(i)||(t=[t]),!(e=(i._gsap||{}).harness)){for(r=_t.length;r--&&!_t[r].targetTest(i););e=_t[r]}for(r=t.length;r--;)t[r]&&(t[r]._gsap||(t[r]._gsap=new Ye(t[r],e)))||t.splice(r,1);return t},ct=function(t){return t._gsap||lt(se(t))[0]._gsap},dt=function(t,e,r){return(r=t[e])&&E(r)?t[e]():S(r)&&t.getAttribute&&t.getAttribute(e)||r},pt=function(t,e){return(t=t.split(",")).forEach(e)||t},mt=function(t){return Math.round(1e5*t)/1e5||0},vt=function(t){return Math.round(1e7*t)/1e7||0},gt=function(t,e){var r=e.charAt(0),i=parseFloat(e.substr(2));return t=parseFloat(t),"+"===r?t+i:"-"===r?t-i:"*"===r?t*i:t/i},yt=function(t,e){for(var r=e.length,i=0;t.indexOf(e[i])<0&&++i<r;);return i<r},Tt=function(){var t,e,r=st.length,i=st.slice(0);for(at={},st.length=0,t=0;t<r;t++)(e=i[t])&&e._lazy&&(e.render(e._lazy[0],e._lazy[1],!0)._lazy=0)},wt=function(t){return!!(t._initted||t._startAt||t.add)},bt=function(t,e,r,n){st.length&&!i&&Tt(),t.render(e,r,!!(i&&e<0&&wt(t))),st.length&&!i&&Tt()},kt=function(t){var e=parseFloat(t);return(e||0===e)&&(t+"").match(W).length<2?e:C(t)?t.trim():t},xt=function(t){return t},Dt=function(t,e){for(var r in e)r in t||(t[r]=e[r]);return t},Mt=function(t,e){for(var r in e)t[r]=e[r];return t},Rt=function t(e,r){for(var i in r)"__proto__"!==i&&"constructor"!==i&&"prototype"!==i&&(e[i]=O(r[i])?t(e[i]||(e[i]={}),r[i]):r[i]);return e},At=function(t,e){var r,i={};for(r in t)r in e||(i[r]=t[r]);return i},Ct=function(t){var e,r=t.parent||s,i=t.keyframes?(e=U(t.keyframes),function(t,r){for(var i in r)i in t||"duration"===i&&e||"ease"===i||(t[i]=r[i])}):Dt;if(P(t.inherit))for(;r;)i(t,r.vars.defaults),r=r.parent||r._dp;return t},Et=function(t,e,r,i,n){var s,a=t[i];if(n)for(s=e[n];a&&a[n]>s;)a=a._prev;return a?(e._next=a._next,a._next=e):(e._next=t[r],t[r]=e),e._next?e._next._prev=e:t[i]=e,e._prev=a,e.parent=e._dp=t,e},zt=function(t,e,r,i){void 0===r&&(r="_first"),void 0===i&&(i="_last");var n=e._prev,s=e._next;n?n._next=s:t[r]===e&&(t[r]=s),s?s._prev=n:t[i]===e&&(t[i]=n),e._next=e._prev=e.parent=null},St=function(t,e){t.parent&&(!e||t.parent.autoRemoveChildren)&&t.parent.remove&&t.parent.remove(t),t._act=0},Ot=function(t,e){if(t&&(!e||e._end>t._dur||e._start<0))for(var r=t;r;)r._dirty=1,r=r.parent;return t},Pt=function(t,e,r,n){return t._startAt&&(i?t._startAt.revert(rt):t.vars.immediateRender&&!t.vars.autoRevert||t._startAt.render(e,!0,n))},Lt=function t(e){return!e||e._ts&&t(e.parent)},Ft=function(t){return t._repeat?It(t._tTime,t=t.duration()+t._rDelay)*t:0},It=function(t,e){var r=Math.floor(t=vt(t/e));return t&&r===t?r-1:r},Ut=function(t,e){return(t-e._start)*e._ts+(e._ts>=0?0:e._dirty?e.totalDuration():e._tDur)},Bt=function(t){return t._end=vt(t._start+(t._tDur/Math.abs(t._ts||t._rts||b)||0))},qt=function(t,e){var r=t._dp;return r&&r.smoothChildTiming&&t._ts&&(t._start=vt(r._time-(t._ts>0?e/t._ts:((t._dirty?t.totalDuration():t._tDur)-e)/-t._ts)),Bt(t),r._dirty||Ot(r,t)),t},Nt=function(t,e){var r;if((e._time||!e._dur&&e._initted||e._start<t._time&&(e._dur||!e.add))&&(r=Ut(t.rawTime(),e),(!e._dur||Zt(0,e.totalDuration(),r)-e._tTime>b)&&e.render(r,!0)),Ot(t,e)._dp&&t._initted&&t._time>=t._dur&&t._ts){if(t._dur<t.duration())for(r=t;r._dp;)r.rawTime()>=0&&r.totalTime(r._tTime),r=r._dp;t._zTime=-1e-8}},jt=function(t,e,r,i){return e.parent&&St(e),e._start=vt((z(r)?r:r||t!==s?Jt(t,r,e):t._time)+e._delay),e._end=vt(e._start+(e.totalDuration()/Math.abs(e.timeScale())||0)),Et(t,e,"_first","_last",t._sort?"_start":0),Wt(e)||(t._recent=e),i||Nt(t,e),t._ts<0&&qt(t,t._tTime),t},Qt=function(t,e){return Y.ScrollTrigger?Y.ScrollTrigger.create(e,t):void 0},Vt=function(t,e,r,n,s){return rr(t,e,s),t._initted?!r&&t._pt&&!i&&(t._dur&&!1!==t.vars.lazy||!t._dur&&t.vars.lazy)&&_!==Le.frame?(st.push(t),t._lazy=[s,n],1):void 0:1},Gt=function t(e){var r=e.parent;return r&&r._ts&&r._initted&&!r._lock&&(r.rawTime()<0||t(r))},Wt=function(t){var e=t.data;return"isFromStart"===e||"isStart"===e},Ht=function(t,e,r,i){var n=t._repeat,s=vt(e)||0,a=t._tTime/t._tDur;return a&&!i&&(t._time*=s/t._dur),t._dur=s,t._tDur=n?n<0?1e10:vt(s*(n+1)+t._rDelay*n):s,a>0&&!i&&qt(t,t._tTime=t._tDur*a),t.parent&&Bt(t),r||Ot(t.parent,t),t},Yt=function(t){return t instanceof Je?Ot(t):Ht(t,t._dur)},$t={_start:0,endTime:tt,totalDuration:tt},Jt=function t(e,r,i){var n,s,a,o=e.labels,u=e._recent||$t,h=e.duration()>=w?u.endTime(!1):e._dur;return C(r)&&(isNaN(r)||r in o)?(s=r.charAt(0),a="%"===r.substr(-1),n=r.indexOf("="),"<"===s||">"===s?(n>=0&&(r=r.replace(/=/,"")),("<"===s?u._start:u.endTime(u._repeat>=0))+(parseFloat(r.substr(1))||0)*(a?(n<0?u:i).totalDuration()/100:1)):n<0?(r in o||(o[r]=h),o[r]):(s=parseFloat(r.charAt(n-1)+r.substr(n+1)),a&&i&&(s=s/100*(U(i)?i[0]:i).totalDuration()),n>1?t(e,r.substr(0,n-1),i)+s:h+s)):null==r?h:+r},Kt=function(t,e,r){var i,n,s=z(e[1]),a=(s?2:1)+(t<2?0:1),o=e[a];if(s&&(o.duration=e[1]),o.parent=r,t){for(i=o,n=r;n&&!("immediateRender"in i);)i=n.vars.defaults||{},n=P(n.vars.inherit)&&n.parent;o.immediateRender=P(i.immediateRender),t<2?o.runBackwards=1:o.startAt=e[a-1]}return new or(e[0],o,e[a+1])},Xt=function(t,e){return t||0===t?e(t):e},Zt=function(t,e,r){return r<t?t:r>e?e:r},te=function(t,e){return C(t)&&(e=H.exec(t))?e[1]:""},ee=function(t,e,r){return Xt(r,function(r){return Zt(t,e,r)})},re=[].slice,ie=function(t,e){return t&&O(t)&&"length"in t&&(!e&&!t.length||t.length-1 in t&&O(t[0]))&&!t.nodeType&&t!==a},ne=function(t,e,r){return void 0===r&&(r=[]),t.forEach(function(t){var i;return C(t)&&!e||ie(t,1)?(i=r).push.apply(i,se(t)):r.push(t)})||r},se=function(t,e,r){return n&&!e&&n.selector?n.selector(t):!C(t)||r||!o&&Fe()?U(t)?ne(t,r):ie(t)?re.call(t,0):t?[t]:[]:re.call((e||u).querySelectorAll(t),0)},ae=function(t){return t=se(t)[0]||X()||{},function(e){var r=t.current||t.nativeElement||t;return se(e,r.querySelectorAll?r:r===t?X()||u.createElement("div"):t)}},oe=function(t){return t.sort(function(){return.5-Math.random()})},ue=function(t){if(E(t))return t;var e=O(t)?t:{each:t},r=Qe(e.ease),i=e.from||0,n=parseFloat(e.base)||0,s={},a=i>0&&i<1,o=isNaN(i)||a,u=e.axis,h=i,_=i;return C(i)?h=_={center:.5,edges:.5,end:1}[i]||0:!a&&o&&(h=i[0],_=i[1]),function(t,a,f){var l,c,d,p,m,v,g,y,T,b=(f||e).length,k=s[b];if(!k){if(!(T="auto"===e.grid?0:(e.grid||[1,w])[1])){for(g=-w;g<(g=f[T++].getBoundingClientRect().left)&&T<b;);T<b&&T--}for(k=s[b]=[],l=o?Math.min(T,b)*h-.5:i%T,c=T===w?0:o?b*_/T-.5:i/T|0,g=0,y=w,v=0;v<b;v++)d=v%T-l,p=c-(v/T|0),k[v]=m=u?Math.abs("y"===u?p:d):M(d*d+p*p),m>g&&(g=m),m<y&&(y=m);"random"===i&&oe(k),k.max=g-y,k.min=y,k.v=b=(parseFloat(e.amount)||parseFloat(e.each)*(T>b?b-1:u?"y"===u?b/T:T:Math.max(T,b/T))||0)*("edges"===i?-1:1),k.b=b<0?n-b:n,k.u=te(e.amount||e.each)||0,r=r&&b<0?Ne(r):r}return b=(k[t]-k.min)/k.max||0,vt(k.b+(r?r(b):b)*k.v)+k.u}},he=function(t){var e=Math.pow(10,((t+"").split(".")[1]||"").length);return function(r){var i=vt(Math.round(parseFloat(r)/t)*t*e);return(i-i%1)/e+(z(r)?0:te(r))}},_e=function(t,e){var r,i,n=U(t);return!n&&O(t)&&(r=n=t.radius||w,t.values?(t=se(t.values),(i=!z(t[0]))&&(r*=r)):t=he(t.increment)),Xt(e,n?E(t)?function(e){return i=t(e),Math.abs(i-e)<=r?i:e}:function(e){for(var n,s,a=parseFloat(i?e.x:e),o=parseFloat(i?e.y:0),u=w,h=0,_=t.length;_--;)(n=i?(n=t[_].x-a)*n+(s=t[_].y-o)*s:Math.abs(t[_]-a))<u&&(u=n,h=_);return h=!r||u<=r?t[h]:e,i||h===e||z(e)?h:h+te(e)}:he(t))},fe=function(t,e,r,i){return Xt(U(t)?!e:!0===r?!!(r=0):!i,function(){return U(t)?t[~~(Math.random()*t.length)]:(r=r||1e-5)&&(i=r<1?Math.pow(10,(r+"").length-2):1)&&Math.floor(Math.round((t-r/2+Math.random()*(e-t+.99*r))/r)*r*i)/i})},le=function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return function(t){return e.reduce(function(t,e){return e(t)},t)}},ce=function(t,e){return function(r){return t(parseFloat(r))+(e||te(r))}},de=function(t,e,r){return ye(t,e,0,1,r)},pe=function(t,e,r){return Xt(r,function(r){return t[~~e(r)]})},me=function t(e,r,i){var n=r-e;return U(e)?pe(e,t(0,e.length),r):Xt(i,function(t){return(n+(t-e)%n)%n+e})},ve=function t(e,r,i){var n=r-e,s=2*n;return U(e)?pe(e,t(0,e.length-1),r):Xt(i,function(t){return e+((t=(s+(t-e)%s)%s||0)>n?s-t:t)})},ge=function(t){return t.replace(B,function(t){var e=t.indexOf("[")+1,r=t.substring(e||7,e?t.indexOf("]"):t.length-1).split(q);return fe(e?r:+r[0],e?0:+r[1],+r[2]||1e-5)})},ye=function(t,e,r,i,n){var s=e-t,a=i-r;return Xt(n,function(e){return r+((e-t)/s*a||0)})},Te=function t(e,r,i,n){var s=isNaN(e+r)?0:function(t){return(1-t)*e+t*r};if(!s){var a,o,u,h,_,f=C(e),l={};if(!0===i&&(n=1)&&(i=null),f)e={p:e},r={p:r};else if(U(e)&&!U(r)){for(u=[],h=e.length,_=h-2,o=1;o<h;o++)u.push(t(e[o-1],e[o]));h--,s=function(t){t*=h;var e=Math.min(_,~~t);return u[e](t-e)},i=r}else n||(e=Mt(U(e)?[]:{},e));if(!u){for(a in r)tr.call(l,e,a,"get",r[a]);s=function(t){return mr(t,l)||(f?e.p:e)}}}return Xt(i,s)},we=function(t,e,r){var i,n,s,a=t.labels,o=w;for(i in a)(n=a[i]-e)<0==!!r&&n&&o>(n=Math.abs(n))&&(s=i,o=n);return s},be=function(t,e,r){var i,s,a,o=t.vars,u=o[e],h=n,_=t._ctx;if(u)return i=o[e+"Params"],s=o.callbackScope||t,r&&st.length&&Tt(),_&&(n=_),a=i?u.apply(s,i):u.call(s),n=h,a},ke=function(t){return St(t),t.scrollTrigger&&t.scrollTrigger.kill(!!i),t.progress()<1&&be(t,"onInterrupt"),t},xe=[],De=function(t){if(t)if(t=!t.name&&t.default||t,L()||t.headless){var e=t.name,r=E(t),i=e&&!r&&t.init?function(){this._props=[]}:t,n={init:tt,render:mr,add:tr,kill:gr,modifier:vr,rawVars:0},s={targetTest:0,get:0,getSetter:lr,aliases:{},register:0};if(Fe(),t!==i){if(ot[e])return;Dt(i,Dt(At(t,n),s)),Mt(i.prototype,Mt(n,At(t,s))),ot[i.prop=e]=i,t.targetTest&&(_t.push(i),nt[e]=1),e=("css"===e?"CSS":e.charAt(0).toUpperCase()+e.substr(1))+"Plugin"}Z(e,i),t.register&&t.register(Pr,i,wr)}else xe.push(t)},Me=255,Re={aqua:[0,Me,Me],lime:[0,Me,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,Me],navy:[0,0,128],white:[Me,Me,Me],olive:[128,128,0],yellow:[Me,Me,0],orange:[Me,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[Me,0,0],pink:[Me,192,203],cyan:[0,Me,Me],transparent:[Me,Me,Me,0]},Ae=function(t,e,r){return(6*(t+=t<0?1:t>1?-1:0)<1?e+(r-e)*t*6:t<.5?r:3*t<2?e+(r-e)*(2/3-t)*6:e)*Me+.5|0},Ce=function(t,e,r){var i,n,s,a,o,u,h,_,f,l,c=t?z(t)?[t>>16,t>>8&Me,t&Me]:0:Re.black;if(!c){if(","===t.substr(-1)&&(t=t.substr(0,t.length-1)),Re[t])c=Re[t];else if("#"===t.charAt(0)){if(t.length<6&&(i=t.charAt(1),n=t.charAt(2),s=t.charAt(3),t="#"+i+i+n+n+s+s+(5===t.length?t.charAt(4)+t.charAt(4):"")),9===t.length)return[(c=parseInt(t.substr(1,6),16))>>16,c>>8&Me,c&Me,parseInt(t.substr(7),16)/255];c=[(t=parseInt(t.substr(1),16))>>16,t>>8&Me,t&Me]}else if("hsl"===t.substr(0,3))if(c=l=t.match(N),e){if(~t.indexOf("="))return c=t.match(j),r&&c.length<4&&(c[3]=1),c}else a=+c[0]%360/360,o=+c[1]/100,i=2*(u=+c[2]/100)-(n=u<=.5?u*(o+1):u+o-u*o),c.length>3&&(c[3]*=1),c[0]=Ae(a+1/3,i,n),c[1]=Ae(a,i,n),c[2]=Ae(a-1/3,i,n);else c=t.match(N)||Re.transparent;c=c.map(Number)}return e&&!l&&(i=c[0]/Me,n=c[1]/Me,s=c[2]/Me,u=((h=Math.max(i,n,s))+(_=Math.min(i,n,s)))/2,h===_?a=o=0:(f=h-_,o=u>.5?f/(2-h-_):f/(h+_),a=h===i?(n-s)/f+(n<s?6:0):h===n?(s-i)/f+2:(i-n)/f+4,a*=60),c[0]=~~(a+.5),c[1]=~~(100*o+.5),c[2]=~~(100*u+.5)),r&&c.length<4&&(c[3]=1),c},Ee=function(t){var e=[],r=[],i=-1;return t.split(Se).forEach(function(t){var n=t.match(Q)||[];e.push.apply(e,n),r.push(i+=n.length+1)}),e.c=r,e},ze=function(t,e,r){var i,n,s,a,o="",u=(t+o).match(Se),h=e?"hsla(":"rgba(",_=0;if(!u)return t;if(u=u.map(function(t){return(t=Ce(t,e,1))&&h+(e?t[0]+","+t[1]+"%,"+t[2]+"%,"+t[3]:t.join(","))+")"}),r&&(s=Ee(t),(i=r.c).join(o)!==s.c.join(o)))for(a=(n=t.replace(Se,"1").split(Q)).length-1;_<a;_++)o+=n[_]+(~i.indexOf(_)?u.shift()||h+"0,0,0,0)":(s.length?s:u.length?u:r).shift());if(!n)for(a=(n=t.split(Se)).length-1;_<a;_++)o+=n[_]+u[_];return o+n[a]},Se=function(){var t,e="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b";for(t in Re)e+="|"+t+"\\b";return new RegExp(e+")","gi")}(),Oe=/hsl[a]?\(/,Pe=function(t){var e,r=t.join(" ");if(Se.lastIndex=0,Se.test(r))return e=Oe.test(r),t[1]=ze(t[1],e),t[0]=ze(t[0],e,Ee(t[1])),!0},Le=function(){var t,e,r,i,n,s,_=Date.now,f=500,c=33,d=_(),p=d,m=1e3/240,v=m,g=[],y=function r(a){var o,u,h,l,y=_()-p,T=!0===a;if((y>f||y<0)&&(d+=y-c),((o=(h=(p+=y)-d)-v)>0||T)&&(l=++i.frame,n=h-1e3*i.time,i.time=h/=1e3,v+=o+(o>=m?4:m-o),u=1),T||(t=e(r)),u)for(s=0;s<g.length;s++)g[s](h,n,l,a)};return i={time:0,frame:0,tick:function(){y(!0)},deltaRatio:function(t){return n/(1e3/(t||60))},wake:function(){h&&(!o&&L()&&(a=o=window,u=a.document||{},Y.gsap=Pr,(a.gsapVersions||(a.gsapVersions=[])).push(Pr.version),J($||a.GreenSockGlobals||!a.gsap&&a||{}),xe.forEach(De)),r="undefined"!=typeof requestAnimationFrame&&requestAnimationFrame,t&&i.sleep(),e=r||function(t){return setTimeout(t,v-1e3*i.time+1|0)},l=1,y(2))},sleep:function(){(r?cancelAnimationFrame:clearTimeout)(t),l=0,e=tt},lagSmoothing:function(t,e){f=t||1/0,c=Math.min(e||33,f)},fps:function(t){m=1e3/(t||240),v=1e3*i.time+m},add:function(t,e,r){var n=e?function(e,r,s,a){t(e,r,s,a),i.remove(n)}:t;return i.remove(t),g[r?"unshift":"push"](n),Fe(),n},remove:function(t,e){~(e=g.indexOf(t))&&g.splice(e,1)&&s>=e&&s--},_listeners:g}}(),Fe=function(){return!l&&Le.wake()},Ie={},Ue=/^[\d.\-M][\d.\-,\s]/,Be=/["']/g,qe=function(t){for(var e,r,i,n={},s=t.substr(1,t.length-3).split(":"),a=s[0],o=1,u=s.length;o<u;o++)r=s[o],e=o!==u-1?r.lastIndexOf(","):r.length,i=r.substr(0,e),n[a]=isNaN(i)?i.replace(Be,"").trim():+i,a=r.substr(e+1).trim();return n},Ne=function(t){return function(e){return 1-t(1-e)}},je=function t(e,r){for(var i,n=e._first;n;)n instanceof Je?t(n,r):!n.vars.yoyoEase||n._yoyo&&n._repeat||n._yoyo===r||(n.timeline?t(n.timeline,r):(i=n._ease,n._ease=n._yEase,n._yEase=i,n._yoyo=r)),n=n._next},Qe=function(t,e){return t&&(E(t)?t:Ie[t]||function(t){var e,r,i,n,s=(t+"").split("("),a=Ie[s[0]];return a&&s.length>1&&a.config?a.config.apply(null,~t.indexOf("{")?[qe(s[1])]:(e=t,r=e.indexOf("(")+1,i=e.indexOf(")"),n=e.indexOf("(",r),e.substring(r,~n&&n<i?e.indexOf(")",i+1):i)).split(",").map(kt)):Ie._CE&&Ue.test(t)?Ie._CE("",t):a}(t))||e},Ve=function(t,e,r,i){void 0===r&&(r=function(t){return 1-e(1-t)}),void 0===i&&(i=function(t){return t<.5?e(2*t)/2:1-e(2*(1-t))/2});var n,s={easeIn:e,easeOut:r,easeInOut:i};return pt(t,function(t){for(var e in Ie[t]=Y[t]=s,Ie[n=t.toLowerCase()]=r,s)Ie[n+("easeIn"===e?".in":"easeOut"===e?".out":".inOut")]=Ie[t+"."+e]=s[e]}),s},Ge=function(t){return function(e){return e<.5?(1-t(1-2*e))/2:.5+t(2*(e-.5))/2}},We=function t(e,r,i){var n=r>=1?r:1,s=(i||(e?.3:.45))/(r<1?r:1),a=s/k*(Math.asin(1/n)||0),o=function(t){return 1===t?1:n*Math.pow(2,-10*t)*A((t-a)*s)+1},u="out"===e?o:"in"===e?function(t){return 1-o(1-t)}:Ge(o);return s=k/s,u.config=function(r,i){return t(e,r,i)},u},He=function t(e,r){void 0===r&&(r=1.70158);var i=function(t){return t?--t*t*((r+1)*t+r)+1:0},n="out"===e?i:"in"===e?function(t){return 1-i(1-t)}:Ge(i);return n.config=function(r){return t(e,r)},n};pt("Linear,Quad,Cubic,Quart,Quint,Strong",function(t,e){var r=e<5?e+1:e;Ve(t+",Power"+(r-1),e?function(t){return Math.pow(t,r)}:function(t){return t},function(t){return 1-Math.pow(1-t,r)},function(t){return t<.5?Math.pow(2*t,r)/2:1-Math.pow(2*(1-t),r)/2})}),Ie.Linear.easeNone=Ie.none=Ie.Linear.easeIn,Ve("Elastic",We("in"),We("out"),We()),c=7.5625,m=2*(p=1/(d=2.75)),v=2.5*p,Ve("Bounce",function(t){return 1-g(1-t)},g=function(t){return t<p?c*t*t:t<m?c*Math.pow(t-1.5/d,2)+.75:t<v?c*(t-=2.25/d)*t+.9375:c*Math.pow(t-2.625/d,2)+.984375}),Ve("Expo",function(t){return Math.pow(2,10*(t-1))*t+t*t*t*t*t*t*(1-t)}),Ve("Circ",function(t){return-(M(1-t*t)-1)}),Ve("Sine",function(t){return 1===t?1:1-R(t*x)}),Ve("Back",He("in"),He("out"),He()),Ie.SteppedEase=Ie.steps=Y.SteppedEase={config:function(t,e){void 0===t&&(t=1);var r=1/t,i=t+(e?0:1),n=e?1:0;return function(t){return((i*Zt(0,.99999999,t)|0)+n)*r}}},T.ease=Ie["quad.out"],pt("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(t){return ft+=t+","+t+"Params,"});var Ye=function(t,e){this.id=D++,t._gsap=this,this.target=t,this.harness=e,this.get=e?e.get:dt,this.set=e?e.getSetter:lr},$e=function(){function t(t){this.vars=t,this._delay=+t.delay||0,(this._repeat=t.repeat===1/0?-2:t.repeat||0)&&(this._rDelay=t.repeatDelay||0,this._yoyo=!!t.yoyo||!!t.yoyoEase),this._ts=1,Ht(this,+t.duration,1,1),this.data=t.data,n&&(this._ctx=n,n.data.push(this)),l||Le.wake()}var e=t.prototype;return e.delay=function(t){return t||0===t?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+t-this._delay),this._delay=t,this):this._delay},e.duration=function(t){return arguments.length?this.totalDuration(this._repeat>0?t+(t+this._rDelay)*this._repeat:t):this.totalDuration()&&this._dur},e.totalDuration=function(t){return arguments.length?(this._dirty=0,Ht(this,this._repeat<0?t:(t-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(t,e){if(Fe(),!arguments.length)return this._tTime;var r=this._dp;if(r&&r.smoothChildTiming&&this._ts){for(qt(this,t),!r._dp||r.parent||Nt(r,this);r&&r.parent;)r.parent._time!==r._start+(r._ts>=0?r._tTime/r._ts:(r.totalDuration()-r._tTime)/-r._ts)&&r.totalTime(r._tTime,!0),r=r.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&t<this._tDur||this._ts<0&&t>0||!this._tDur&&!t)&&jt(this._dp,this,this._start-this._delay)}return(this._tTime!==t||!this._dur&&!e||this._initted&&Math.abs(this._zTime)===b||!this._initted&&this._dur&&t||!t&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=t),bt(this,t,e)),this},e.time=function(t,e){return arguments.length?this.totalTime(Math.min(this.totalDuration(),t+Ft(this))%(this._dur+this._rDelay)||(t?this._dur:0),e):this._time},e.totalProgress=function(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0},e.progress=function(t,e){return arguments.length?this.totalTime(this.duration()*(!this._yoyo||1&this.iteration()?t:1-t)+Ft(this),e):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},e.iteration=function(t,e){var r=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(t-1)*r,e):this._repeat?It(this._tTime,r)+1:1},e.timeScale=function(t,e){if(!arguments.length)return-1e-8===this._rts?0:this._rts;if(this._rts===t)return this;var r=this.parent&&this._ts?Ut(this.parent._time,this):this._tTime;return this._rts=+t||0,this._ts=this._ps||-1e-8===t?0:this._rts,this.totalTime(Zt(-Math.abs(this._delay),this.totalDuration(),r),!1!==e),Bt(this),function(t){for(var e=t.parent;e&&e.parent;)e._dirty=1,e.totalDuration(),e=e.parent;return t}(this)},e.paused=function(t){return arguments.length?(this._ps!==t&&(this._ps=t,t?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(Fe(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,1===this.progress()&&Math.abs(this._zTime)!==b&&(this._tTime-=b)))),this):this._ps},e.startTime=function(t){if(arguments.length){this._start=vt(t);var e=this.parent||this._dp;return e&&(e._sort||!this.parent)&&jt(e,this,this._start-this._delay),this}return this._start},e.endTime=function(t){return this._start+(P(t)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},e.rawTime=function(t){var e=this.parent||this._dp;return e?t&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?Ut(e.rawTime(t),this):this._tTime:this._tTime},e.revert=function(t){void 0===t&&(t=it);var e=i;return i=t,wt(this)&&(this.timeline&&this.timeline.revert(t),this.totalTime(-.01,t.suppressEvents)),"nested"!==this.data&&!1!==t.kill&&this.kill(),i=e,this},e.globalTime=function(t){for(var e=this,r=arguments.length?t:e.rawTime();e;)r=e._start+r/(Math.abs(e._ts)||1),e=e._dp;return!this.parent&&this._sat?this._sat.globalTime(t):r},e.repeat=function(t){return arguments.length?(this._repeat=t===1/0?-2:t,Yt(this)):-2===this._repeat?1/0:this._repeat},e.repeatDelay=function(t){if(arguments.length){var e=this._time;return this._rDelay=t,Yt(this),e?this.time(e):this}return this._rDelay},e.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},e.seek=function(t,e){return this.totalTime(Jt(this,t),P(e))},e.restart=function(t,e){return this.play().totalTime(t?-this._delay:0,P(e)),this._dur||(this._zTime=-1e-8),this},e.play=function(t,e){return null!=t&&this.seek(t,e),this.reversed(!1).paused(!1)},e.reverse=function(t,e){return null!=t&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1)},e.pause=function(t,e){return null!=t&&this.seek(t,e),this.paused(!0)},e.resume=function(){return this.paused(!1)},e.reversed=function(t){return arguments.length?(!!t!==this.reversed()&&this.timeScale(-this._rts||(t?-1e-8:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-1e-8,this},e.isActive=function(){var t,e=this.parent||this._dp,r=this._start;return!(e&&!(this._ts&&this._initted&&e.isActive()&&(t=e.rawTime(!0))>=r&&t<this.endTime(!0)-b))},e.eventCallback=function(t,e,r){var i=this.vars;return arguments.length>1?(e?(i[t]=e,r&&(i[t+"Params"]=r),"onUpdate"===t&&(this._onUpdate=e)):delete i[t],this):i[t]},e.then=function(t){var e=this,r=e._prom;return new Promise(function(i){var n=E(t)?t:xt,s=function(){var t=e.then;e.then=null,r&&r(),E(n)&&(n=n(e))&&(n.then||n===e)&&(e.then=t),i(n),e.then=t};e._initted&&1===e.totalProgress()&&e._ts>=0||!e._tTime&&e._ts<0?s():e._prom=s})},e.kill=function(){ke(this)},t}();Dt($e.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-1e-8,_prom:0,_ps:!1,_rts:1});var Je=function(r){function n(e,i){var n;return void 0===e&&(e={}),(n=r.call(this,e)||this).labels={},n.smoothChildTiming=!!e.smoothChildTiming,n.autoRemoveChildren=!!e.autoRemoveChildren,n._sort=P(e.sortChildren),s&&jt(e.parent||s,t(n),i),e.reversed&&n.reverse(),e.paused&&n.paused(!0),e.scrollTrigger&&Qt(t(n),e.scrollTrigger),n}e(n,r);var a=n.prototype;return a.to=function(t,e,r){return Kt(0,arguments,this),this},a.from=function(t,e,r){return Kt(1,arguments,this),this},a.fromTo=function(t,e,r,i){return Kt(2,arguments,this),this},a.set=function(t,e,r){return e.duration=0,e.parent=this,Ct(e).repeatDelay||(e.repeat=0),e.immediateRender=!!e.immediateRender,new or(t,e,Jt(this,r),1),this},a.call=function(t,e,r){return jt(this,or.delayedCall(0,t,e),r)},a.staggerTo=function(t,e,r,i,n,s,a){return r.duration=e,r.stagger=r.stagger||i,r.onComplete=s,r.onCompleteParams=a,r.parent=this,new or(t,r,Jt(this,n)),this},a.staggerFrom=function(t,e,r,i,n,s,a){return r.runBackwards=1,Ct(r).immediateRender=P(r.immediateRender),this.staggerTo(t,e,r,i,n,s,a)},a.staggerFromTo=function(t,e,r,i,n,s,a,o){return i.startAt=r,Ct(i).immediateRender=P(i.immediateRender),this.staggerTo(t,e,i,n,s,a,o)},a.render=function(t,e,r){var n,a,o,u,h,_,f,l,c,d,p,m,v=this._time,g=this._dirty?this.totalDuration():this._tDur,y=this._dur,T=t<=0?0:vt(t),w=this._zTime<0!=t<0&&(this._initted||!y);if(this!==s&&T>g&&t>=0&&(T=g),T!==this._tTime||r||w){if(v!==this._time&&y&&(T+=this._time-v,t+=this._time-v),n=T,c=this._start,_=!(l=this._ts),w&&(y||(v=this._zTime),(t||!e)&&(this._zTime=t)),this._repeat){if(p=this._yoyo,h=y+this._rDelay,this._repeat<-1&&t<0)return this.totalTime(100*h+t,e,r);if(n=vt(T%h),T===g?(u=this._repeat,n=y):((u=~~(d=vt(T/h)))&&u===d&&(n=y,u--),n>y&&(n=y)),d=It(this._tTime,h),!v&&this._tTime&&d!==u&&this._tTime-d*h-this._dur<=0&&(d=u),p&&1&u&&(n=y-n,m=1),u!==d&&!this._lock){var k=p&&1&d,x=k===(p&&1&u);if(u<d&&(k=!k),v=k?0:T%y?y:T,this._lock=1,this.render(v||(m?0:vt(u*h)),e,!y)._lock=0,this._tTime=T,!e&&this.parent&&be(this,"onRepeat"),this.vars.repeatRefresh&&!m&&(this.invalidate()._lock=1,d=u),v&&v!==this._time||_!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(y=this._dur,g=this._tDur,x&&(this._lock=2,v=k?y:-1e-4,this.render(v,!0),this.vars.repeatRefresh&&!m&&this.invalidate()),this._lock=0,!this._ts&&!_)return this;je(this,m)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(f=function(t,e,r){var i;if(r>e)for(i=t._first;i&&i._start<=r;){if("isPause"===i.data&&i._start>e)return i;i=i._next}else for(i=t._last;i&&i._start>=r;){if("isPause"===i.data&&i._start<e)return i;i=i._prev}}(this,vt(v),vt(n)),f&&(T-=n-(n=f._start))),this._tTime=T,this._time=n,this._act=!l,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=t,v=0),!v&&T&&y&&!e&&!d&&(be(this,"onStart"),this._tTime!==T))return this;if(n>=v&&t>=0)for(a=this._first;a;){if(o=a._next,(a._act||n>=a._start)&&a._ts&&f!==a){if(a.parent!==this)return this.render(t,e,r);if(a.render(a._ts>0?(n-a._start)*a._ts:(a._dirty?a.totalDuration():a._tDur)+(n-a._start)*a._ts,e,r),n!==this._time||!this._ts&&!_){f=0,o&&(T+=this._zTime=-1e-8);break}}a=o}else{a=this._last;for(var D=t<0?t:n;a;){if(o=a._prev,(a._act||D<=a._end)&&a._ts&&f!==a){if(a.parent!==this)return this.render(t,e,r);if(a.render(a._ts>0?(D-a._start)*a._ts:(a._dirty?a.totalDuration():a._tDur)+(D-a._start)*a._ts,e,r||i&&wt(a)),n!==this._time||!this._ts&&!_){f=0,o&&(T+=this._zTime=D?-1e-8:b);break}}a=o}}if(f&&!e&&(this.pause(),f.render(n>=v?0:-1e-8)._zTime=n>=v?1:-1,this._ts))return this._start=c,Bt(this),this.render(t,e,r);this._onUpdate&&!e&&be(this,"onUpdate",!0),(T===g&&this._tTime>=this.totalDuration()||!T&&v)&&(c!==this._start&&Math.abs(l)===Math.abs(this._ts)||this._lock||((t||!y)&&(T===g&&this._ts>0||!T&&this._ts<0)&&St(this,1),e||t<0&&!v||!T&&!v&&g||(be(this,T===g&&t>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(T<g&&this.timeScale()>0)&&this._prom())))}return this},a.add=function(t,e){var r=this;if(z(e)||(e=Jt(this,e,t)),!(t instanceof $e)){if(U(t))return t.forEach(function(t){return r.add(t,e)}),this;if(C(t))return this.addLabel(t,e);if(!E(t))return this;t=or.delayedCall(0,t)}return this!==t?jt(this,t,e):this},a.getChildren=function(t,e,r,i){void 0===t&&(t=!0),void 0===e&&(e=!0),void 0===r&&(r=!0),void 0===i&&(i=-w);for(var n=[],s=this._first;s;)s._start>=i&&(s instanceof or?e&&n.push(s):(r&&n.push(s),t&&n.push.apply(n,s.getChildren(!0,e,r)))),s=s._next;return n},a.getById=function(t){for(var e=this.getChildren(1,1,1),r=e.length;r--;)if(e[r].vars.id===t)return e[r]},a.remove=function(t){return C(t)?this.removeLabel(t):E(t)?this.killTweensOf(t):(t.parent===this&&zt(this,t),t===this._recent&&(this._recent=this._last),Ot(this))},a.totalTime=function(t,e){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=vt(Le.time-(this._ts>0?t/this._ts:(this.totalDuration()-t)/-this._ts))),r.prototype.totalTime.call(this,t,e),this._forcing=0,this):this._tTime},a.addLabel=function(t,e){return this.labels[t]=Jt(this,e),this},a.removeLabel=function(t){return delete this.labels[t],this},a.addPause=function(t,e,r){var i=or.delayedCall(0,e||tt,r);return i.data="isPause",this._hasPause=1,jt(this,i,Jt(this,t))},a.removePause=function(t){var e=this._first;for(t=Jt(this,t);e;)e._start===t&&"isPause"===e.data&&St(e),e=e._next},a.killTweensOf=function(t,e,r){for(var i=this.getTweensOf(t,r),n=i.length;n--;)Ke!==i[n]&&i[n].kill(t,e);return this},a.getTweensOf=function(t,e){for(var r,i=[],n=se(t),s=this._first,a=z(e);s;)s instanceof or?yt(s._targets,n)&&(a?(!Ke||s._initted&&s._ts)&&s.globalTime(0)<=e&&s.globalTime(s.totalDuration())>e:!e||s.isActive())&&i.push(s):(r=s.getTweensOf(n,e)).length&&i.push.apply(i,r),s=s._next;return i},a.tweenTo=function(t,e){e=e||{};var r,i=this,n=Jt(i,t),s=e,a=s.startAt,o=s.onStart,u=s.onStartParams,h=s.immediateRender,_=or.to(i,Dt({ease:e.ease||"none",lazy:!1,immediateRender:!1,time:n,overwrite:"auto",duration:e.duration||Math.abs((n-(a&&"time"in a?a.time:i._time))/i.timeScale())||b,onStart:function(){if(i.pause(),!r){var t=e.duration||Math.abs((n-(a&&"time"in a?a.time:i._time))/i.timeScale());_._dur!==t&&Ht(_,t,0,1).render(_._time,!0,!0),r=1}o&&o.apply(_,u||[])}},e));return h?_.render(0):_},a.tweenFromTo=function(t,e,r){return this.tweenTo(e,Dt({startAt:{time:Jt(this,t)}},r))},a.recent=function(){return this._recent},a.nextLabel=function(t){return void 0===t&&(t=this._time),we(this,Jt(this,t))},a.previousLabel=function(t){return void 0===t&&(t=this._time),we(this,Jt(this,t),1)},a.currentLabel=function(t){return arguments.length?this.seek(t,!0):this.previousLabel(this._time+b)},a.shiftChildren=function(t,e,r){void 0===r&&(r=0);var i,n=this._first,s=this.labels;for(t=vt(t);n;)n._start>=r&&(n._start+=t,n._end+=t),n=n._next;if(e)for(i in s)s[i]>=r&&(s[i]+=t);return Ot(this)},a.invalidate=function(t){var e=this._first;for(this._lock=0;e;)e.invalidate(t),e=e._next;return r.prototype.invalidate.call(this,t)},a.clear=function(t){void 0===t&&(t=!0);for(var e,r=this._first;r;)e=r._next,this.remove(r),r=e;return this._dp&&(this._time=this._tTime=this._pTime=0),t&&(this.labels={}),Ot(this)},a.totalDuration=function(t){var e,r,i,n=0,a=this,o=a._last,u=w;if(arguments.length)return a.timeScale((a._repeat<0?a.duration():a.totalDuration())/(a.reversed()?-t:t));if(a._dirty){for(i=a.parent;o;)e=o._prev,o._dirty&&o.totalDuration(),(r=o._start)>u&&a._sort&&o._ts&&!a._lock?(a._lock=1,jt(a,o,r-o._delay,1)._lock=0):u=r,r<0&&o._ts&&(n-=r,(!i&&!a._dp||i&&i.smoothChildTiming)&&(a._start+=vt(r/a._ts),a._time-=r,a._tTime-=r),a.shiftChildren(-r,!1,-1/0),u=0),o._end>n&&o._ts&&(n=o._end),o=e;Ht(a,a===s&&a._time>n?a._time:n,1,1),a._dirty=0}return a._tDur},n.updateRoot=function(t){if(s._ts&&(bt(s,Ut(t,s)),_=Le.frame),Le.frame>=ht){ht+=y.autoSleep||120;var e=s._first;if((!e||!e._ts)&&y.autoSleep&&Le._listeners.length<2){for(;e&&!e._ts;)e=e._next;e||Le.sleep()}}},n}($e);Dt(Je.prototype,{_lock:0,_hasPause:0,_forcing:0});var Ke,Xe,Ze=function(t,e,r,i,n,s,a){var o,u,h,_,f,l,c,d,p=new wr(this._pt,t,e,0,1,pr,null,n),m=0,v=0;for(p.b=r,p.e=i,r+="",(c=~(i+="").indexOf("random("))&&(i=ge(i)),s&&(s(d=[r,i],t,e),r=d[0],i=d[1]),u=r.match(V)||[];o=V.exec(i);)_=o[0],f=i.substring(m,o.index),h?h=(h+1)%5:"rgba("===f.substr(-5)&&(h=1),_!==u[v++]&&(l=parseFloat(u[v-1])||0,p._pt={_next:p._pt,p:f||1===v?f:",",s:l,c:"="===_.charAt(1)?gt(l,_)-l:parseFloat(_)-l,m:h&&h<4?Math.round:0},m=V.lastIndex);return p.c=m<i.length?i.substring(m,i.length):"",p.fp=a,(G.test(i)||c)&&(p.e=0),this._pt=p,p},tr=function(t,e,r,i,n,s,a,o,u,h){E(i)&&(i=i(n||0,t,s));var _,f=t[e],l="get"!==r?r:E(f)?u?t[e.indexOf("set")||!E(t["get"+e.substr(3)])?e:"get"+e.substr(3)](u):t[e]():f,c=E(f)?u?_r:hr:ur;if(C(i)&&(~i.indexOf("random(")&&(i=ge(i)),"="===i.charAt(1)&&((_=gt(l,i)+(te(l)||0))||0===_)&&(i=_)),!h||l!==i||Xe)return isNaN(l*i)||""===i?Ze.call(this,t,e,l,i,c,o||y.stringFilter,u):(_=new wr(this._pt,t,e,+l||0,i-(l||0),"boolean"==typeof f?dr:cr,0,c),u&&(_.fp=u),a&&_.modifier(a,this,t),this._pt=_)},er=function(t,e,r,i,n,s){var a,o,u,h;if(ot[t]&&!1!==(a=new ot[t]).init(n,a.rawVars?e[t]:function(t,e,r,i,n){if(E(t)&&(t=nr(t,n,e,r,i)),!O(t)||t.style&&t.nodeType||U(t)||I(t))return C(t)?nr(t,n,e,r,i):t;var s,a={};for(s in t)a[s]=nr(t[s],n,e,r,i);return a}(e[t],i,n,s,r),r,i,s)&&(r._pt=o=new wr(r._pt,n,t,0,1,a.render,a,0,a.priority),r!==f))for(u=r._ptLookup[r._targets.indexOf(n)],h=a._props.length;h--;)u[a._props[h]]=o;return a},rr=function t(e,n,a){var o,u,h,_,f,l,c,d,p,m,v,g,y,k=e.vars,x=k.ease,D=k.startAt,M=k.immediateRender,R=k.lazy,A=k.onUpdate,C=k.runBackwards,E=k.yoyoEase,z=k.keyframes,S=k.autoRevert,O=e._dur,L=e._startAt,F=e._targets,I=e.parent,U=I&&"nested"===I.data?I.vars.targets:F,B="auto"===e._overwrite&&!r,q=e.timeline;if(q&&(!z||!x)&&(x="none"),e._ease=Qe(x,T.ease),e._yEase=E?Ne(Qe(!0===E?x:E,T.ease)):0,E&&e._yoyo&&!e._repeat&&(E=e._yEase,e._yEase=e._ease,e._ease=E),e._from=!q&&!!k.runBackwards,!q||z&&!k.stagger){if(g=(d=F[0]?ct(F[0]).harness:0)&&k[d.prop],o=At(k,nt),L&&(L._zTime<0&&L.progress(1),n<0&&C&&M&&!S?L.render(-1,!0):L.revert(C&&O?rt:et),L._lazy=0),D){if(St(e._startAt=or.set(F,Dt({data:"isStart",overwrite:!1,parent:I,immediateRender:!0,lazy:!L&&P(R),startAt:null,delay:0,onUpdate:A&&function(){return be(e,"onUpdate")},stagger:0},D))),e._startAt._dp=0,e._startAt._sat=e,n<0&&(i||!M&&!S)&&e._startAt.revert(rt),M&&O&&n<=0&&a<=0)return void(n&&(e._zTime=n))}else if(C&&O&&!L)if(n&&(M=!1),h=Dt({overwrite:!1,data:"isFromStart",lazy:M&&!L&&P(R),immediateRender:M,stagger:0,parent:I},o),g&&(h[d.prop]=g),St(e._startAt=or.set(F,h)),e._startAt._dp=0,e._startAt._sat=e,n<0&&(i?e._startAt.revert(rt):e._startAt.render(-1,!0)),e._zTime=n,M){if(!n)return}else t(e._startAt,b,b);for(e._pt=e._ptCache=0,R=O&&P(R)||R&&!O,u=0;u<F.length;u++){if(c=(f=F[u])._gsap||lt(F)[u]._gsap,e._ptLookup[u]=m={},at[c.id]&&st.length&&Tt(),v=U===F?u:U.indexOf(f),d&&!1!==(p=new d).init(f,g||o,e,v,U)&&(e._pt=_=new wr(e._pt,f,p.name,0,1,p.render,p,0,p.priority),p._props.forEach(function(t){m[t]=_}),p.priority&&(l=1)),!d||g)for(h in o)ot[h]&&(p=er(h,o,e,v,f,U))?p.priority&&(l=1):m[h]=_=tr.call(e,f,h,"get",o[h],v,U,0,k.stringFilter);e._op&&e._op[u]&&e.kill(f,e._op[u]),B&&e._pt&&(Ke=e,s.killTweensOf(f,m,e.globalTime(n)),y=!e.parent,Ke=0),e._pt&&R&&(at[c.id]=1)}l&&Tr(e),e._onInit&&e._onInit(e)}e._onUpdate=A,e._initted=(!e._op||e._pt)&&!y,z&&n<=0&&q.render(w,!0,!0)},ir=function(t,e,r,i){var n,s,a=e.ease||i||"power1.inOut";if(U(e))s=r[t]||(r[t]=[]),e.forEach(function(t,r){return s.push({t:r/(e.length-1)*100,v:t,e:a})});else for(n in e)s=r[n]||(r[n]=[]),"ease"===n||s.push({t:parseFloat(t),v:e[n],e:a})},nr=function(t,e,r,i,n){return E(t)?t.call(e,r,i,n):C(t)&&~t.indexOf("random(")?ge(t):t},sr=ft+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",ar={};pt(sr+",id,stagger,delay,duration,paused,scrollTrigger",function(t){return ar[t]=1});var or=function(n){function a(e,i,a,o){var u;"number"==typeof i&&(a.duration=i,i=a,a=null);var h,_,f,l,c,d,p,m,v=(u=n.call(this,o?i:Ct(i))||this).vars,g=v.duration,T=v.delay,w=v.immediateRender,b=v.stagger,k=v.overwrite,x=v.keyframes,D=v.defaults,M=v.scrollTrigger,R=v.yoyoEase,A=i.parent||s,C=(U(e)||I(e)?z(e[0]):"length"in i)?[e]:se(e);if(u._targets=C.length?lt(C):X(0,!y.nullTargetWarn)||[],u._ptLookup=[],u._overwrite=k,x||b||F(g)||F(T)){if(i=u.vars,(h=u.timeline=new Je({data:"nested",defaults:D||{},targets:A&&"nested"===A.data?A.vars.targets:C})).kill(),h.parent=h._dp=t(u),h._start=0,b||F(g)||F(T)){if(l=C.length,p=b&&ue(b),O(b))for(c in b)~sr.indexOf(c)&&(m||(m={}),m[c]=b[c]);for(_=0;_<l;_++)(f=At(i,ar)).stagger=0,R&&(f.yoyoEase=R),m&&Mt(f,m),d=C[_],f.duration=+nr(g,t(u),_,d,C),f.delay=(+nr(T,t(u),_,d,C)||0)-u._delay,!b&&1===l&&f.delay&&(u._delay=T=f.delay,u._start+=T,f.delay=0),h.to(d,f,p?p(_,d,C):0),h._ease=Ie.none;h.duration()?g=T=0:u.timeline=0}else if(x){Ct(Dt(h.vars.defaults,{ease:"none"})),h._ease=Qe(x.ease||i.ease||"none");var E,S,L,B=0;if(U(x))x.forEach(function(t){return h.to(C,t,">")}),h.duration();else{for(c in f={},x)"ease"===c||"easeEach"===c||ir(c,x[c],f,x.easeEach);for(c in f)for(E=f[c].sort(function(t,e){return t.t-e.t}),B=0,_=0;_<E.length;_++)(L={ease:(S=E[_]).e,duration:(S.t-(_?E[_-1].t:0))/100*g})[c]=S.v,h.to(C,L,B),B+=L.duration;h.duration()<g&&h.to({},{duration:g-h.duration()})}}g||u.duration(g=h.duration())}else u.timeline=0;return!0!==k||r||(Ke=t(u),s.killTweensOf(C),Ke=0),jt(A,t(u),a),i.reversed&&u.reverse(),i.paused&&u.paused(!0),(w||!g&&!x&&u._start===vt(A._time)&&P(w)&&Lt(t(u))&&"nested"!==A.data)&&(u._tTime=-1e-8,u.render(Math.max(0,-T)||0)),M&&Qt(t(u),M),u}e(a,n);var o=a.prototype;return o.render=function(t,e,r){var n,s,a,o,u,h,_,f,l,c=this._time,d=this._tDur,p=this._dur,m=t<0,v=t>d-b&&!m?d:t<b?0:t;if(p){if(v!==this._tTime||!t||r||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==m||this._lazy){if(n=v,f=this.timeline,this._repeat){if(o=p+this._rDelay,this._repeat<-1&&m)return this.totalTime(100*o+t,e,r);if(n=vt(v%o),v===d?(a=this._repeat,n=p):(a=~~(u=vt(v/o)))&&a===u?(n=p,a--):n>p&&(n=p),(h=this._yoyo&&1&a)&&(l=this._yEase,n=p-n),u=It(this._tTime,o),n===c&&!r&&this._initted&&a===u)return this._tTime=v,this;a!==u&&(f&&this._yEase&&je(f,h),this.vars.repeatRefresh&&!h&&!this._lock&&n!==o&&this._initted&&(this._lock=r=1,this.render(vt(o*a),!0).invalidate()._lock=0))}if(!this._initted){if(Vt(this,m?t:n,r,e,v))return this._tTime=0,this;if(!(c===this._time||r&&this.vars.repeatRefresh&&a!==u))return this;if(p!==this._dur)return this.render(t,e,r)}if(this._tTime=v,this._time=n,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=_=(l||this._ease)(n/p),this._from&&(this.ratio=_=1-_),!c&&v&&!e&&!u&&(be(this,"onStart"),this._tTime!==v))return this;for(s=this._pt;s;)s.r(_,s.d),s=s._next;f&&f.render(t<0?t:f._dur*f._ease(n/this._dur),e,r)||this._startAt&&(this._zTime=t),this._onUpdate&&!e&&(m&&Pt(this,t,0,r),be(this,"onUpdate")),this._repeat&&a!==u&&this.vars.onRepeat&&!e&&this.parent&&be(this,"onRepeat"),v!==this._tDur&&v||this._tTime!==v||(m&&!this._onUpdate&&Pt(this,t,0,!0),(t||!p)&&(v===this._tDur&&this._ts>0||!v&&this._ts<0)&&St(this,1),e||m&&!c||!(v||c||h)||(be(this,v===d?"onComplete":"onReverseComplete",!0),this._prom&&!(v<d&&this.timeScale()>0)&&this._prom()))}}else!function(t,e,r,n){var s,a,o,u=t.ratio,h=e<0||!e&&(!t._start&&Gt(t)&&(t._initted||!Wt(t))||(t._ts<0||t._dp._ts<0)&&!Wt(t))?0:1,_=t._rDelay,f=0;if(_&&t._repeat&&(f=Zt(0,t._tDur,e),a=It(f,_),t._yoyo&&1&a&&(h=1-h),a!==It(t._tTime,_)&&(u=1-h,t.vars.repeatRefresh&&t._initted&&t.invalidate())),h!==u||i||n||t._zTime===b||!e&&t._zTime){if(!t._initted&&Vt(t,e,n,r,f))return;for(o=t._zTime,t._zTime=e||(r?b:0),r||(r=e&&!o),t.ratio=h,t._from&&(h=1-h),t._time=0,t._tTime=f,s=t._pt;s;)s.r(h,s.d),s=s._next;e<0&&Pt(t,e,0,!0),t._onUpdate&&!r&&be(t,"onUpdate"),f&&t._repeat&&!r&&t.parent&&be(t,"onRepeat"),(e>=t._tDur||e<0)&&t.ratio===h&&(h&&St(t,1),r||i||(be(t,h?"onComplete":"onReverseComplete",!0),t._prom&&t._prom()))}else t._zTime||(t._zTime=e)}(this,t,e,r);return this},o.targets=function(){return this._targets},o.invalidate=function(t){return(!t||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(t),n.prototype.invalidate.call(this,t)},o.resetTo=function(t,e,r,i,n){l||Le.wake(),this._ts||this.play();var s=Math.min(this._dur,(this._dp._time-this._start)*this._ts);return this._initted||rr(this,s),function(t,e,r,i,n,s,a,o){var u,h,_,f,l=(t._pt&&t._ptCache||(t._ptCache={}))[e];if(!l)for(l=t._ptCache[e]=[],_=t._ptLookup,f=t._targets.length;f--;){if((u=_[f][e])&&u.d&&u.d._pt)for(u=u.d._pt;u&&u.p!==e&&u.fp!==e;)u=u._next;if(!u)return Xe=1,t.vars[e]="+=0",rr(t,a),Xe=0,o?X():1;l.push(u)}for(f=l.length;f--;)(u=(h=l[f])._pt||h).s=!i&&0!==i||n?u.s+(i||0)+s*u.c:i,u.c=r-u.s,h.e&&(h.e=mt(r)+te(h.e)),h.b&&(h.b=u.s+te(h.b))}(this,t,e,r,i,this._ease(s/this._dur),s,n)?this.resetTo(t,e,r,i,1):(qt(this,0),this.parent||Et(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},o.kill=function(t,e){if(void 0===e&&(e="all"),!(t||e&&"all"!==e))return this._lazy=this._pt=0,this.parent?ke(this):this.scrollTrigger&&this.scrollTrigger.kill(!!i),this;if(this.timeline){var r=this.timeline.totalDuration();return this.timeline.killTweensOf(t,e,Ke&&!0!==Ke.vars.overwrite)._first||ke(this),this.parent&&r!==this.timeline.totalDuration()&&Ht(this,this._dur*this.timeline._tDur/r,0,1),this}var n,s,a,o,u,h,_,f=this._targets,l=t?se(t):f,c=this._ptLookup,d=this._pt;if((!e||"all"===e)&&function(t,e){for(var r=t.length,i=r===e.length;i&&r--&&t[r]===e[r];);return r<0}(f,l))return"all"===e&&(this._pt=0),ke(this);for(n=this._op=this._op||[],"all"!==e&&(C(e)&&(u={},pt(e,function(t){return u[t]=1}),e=u),e=function(t,e){var r,i,n,s,a=t[0]?ct(t[0]).harness:0,o=a&&a.aliases;if(!o)return e;for(i in r=Mt({},e),o)if(i in r)for(n=(s=o[i].split(",")).length;n--;)r[s[n]]=r[i];return r}(f,e)),_=f.length;_--;)if(~l.indexOf(f[_]))for(u in s=c[_],"all"===e?(n[_]=e,o=s,a={}):(a=n[_]=n[_]||{},o=e),o)(h=s&&s[u])&&("kill"in h.d&&!0!==h.d.kill(u)||zt(this,h,"_pt"),delete s[u]),"all"!==a&&(a[u]=1);return this._initted&&!this._pt&&d&&ke(this),this},a.to=function(t,e){return new a(t,e,arguments[2])},a.from=function(t,e){return Kt(1,arguments)},a.delayedCall=function(t,e,r,i){return new a(e,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:t,onComplete:e,onReverseComplete:e,onCompleteParams:r,onReverseCompleteParams:r,callbackScope:i})},a.fromTo=function(t,e,r){return Kt(2,arguments)},a.set=function(t,e){return e.duration=0,e.repeatDelay||(e.repeat=0),new a(t,e)},a.killTweensOf=function(t,e,r){return s.killTweensOf(t,e,r)},a}($e);Dt(or.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),pt("staggerTo,staggerFrom,staggerFromTo",function(t){or[t]=function(){var e=new Je,r=re.call(arguments,0);return r.splice("staggerFromTo"===t?5:4,0,0),e[t].apply(e,r)}});var ur=function(t,e,r){return t[e]=r},hr=function(t,e,r){return t[e](r)},_r=function(t,e,r,i){return t[e](i.fp,r)},fr=function(t,e,r){return t.setAttribute(e,r)},lr=function(t,e){return E(t[e])?hr:S(t[e])&&t.setAttribute?fr:ur},cr=function(t,e){return e.set(e.t,e.p,Math.round(1e6*(e.s+e.c*t))/1e6,e)},dr=function(t,e){return e.set(e.t,e.p,!!(e.s+e.c*t),e)},pr=function(t,e){var r=e._pt,i="";if(!t&&e.b)i=e.b;else if(1===t&&e.e)i=e.e;else{for(;r;)i=r.p+(r.m?r.m(r.s+r.c*t):Math.round(1e4*(r.s+r.c*t))/1e4)+i,r=r._next;i+=e.c}e.set(e.t,e.p,i,e)},mr=function(t,e){for(var r=e._pt;r;)r.r(t,r.d),r=r._next},vr=function(t,e,r,i){for(var n,s=this._pt;s;)n=s._next,s.p===i&&s.modifier(t,e,r),s=n},gr=function(t){for(var e,r,i=this._pt;i;)r=i._next,i.p===t&&!i.op||i.op===t?zt(this,i,"_pt"):i.dep||(e=1),i=r;return!e},yr=function(t,e,r,i){i.mSet(t,e,i.m.call(i.tween,r,i.mt),i)},Tr=function(t){for(var e,r,i,n,s=t._pt;s;){for(e=s._next,r=i;r&&r.pr>s.pr;)r=r._next;(s._prev=r?r._prev:n)?s._prev._next=s:i=s,(s._next=r)?r._prev=s:n=s,s=e}t._pt=i},wr=function(){function t(t,e,r,i,n,s,a,o,u){this.t=e,this.s=i,this.c=n,this.p=r,this.r=s||cr,this.d=a||this,this.set=o||ur,this.pr=u||0,this._next=t,t&&(t._prev=this)}return t.prototype.modifier=function(t,e,r){this.mSet=this.mSet||this.set,this.set=yr,this.m=t,this.mt=r,this.tween=e},t}();pt(ft+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",function(t){return nt[t]=1}),Y.TweenMax=Y.TweenLite=or,Y.TimelineLite=Y.TimelineMax=Je,s=new Je({sortChildren:!1,defaults:T,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),y.stringFilter=Pe;var br=[],kr={},xr=[],Dr=0,Mr=0,Rr=function(t){return(kr[t]||xr).map(function(t){return t()})},Ar=function(){var t=Date.now(),e=[];t-Dr>2&&(Rr("matchMediaInit"),br.forEach(function(t){var r,i,n,s,o=t.queries,u=t.conditions;for(i in o)(r=a.matchMedia(o[i]).matches)&&(n=1),r!==u[i]&&(u[i]=r,s=1);s&&(t.revert(),n&&e.push(t))}),Rr("matchMediaRevert"),e.forEach(function(t){return t.onMatch(t,function(e){return t.add(null,e)})}),Dr=t,Rr("matchMedia"))},Cr=function(){function t(t,e){this.selector=e&&ae(e),this.data=[],this._r=[],this.isReverted=!1,this.id=Mr++,t&&this.add(t)}var e=t.prototype;return e.add=function(t,e,r){E(t)&&(r=e,e=t,t=E);var i=this,s=function(){var t,s=n,a=i.selector;return s&&s!==i&&s.data.push(i),r&&(i.selector=ae(r)),n=i,t=e.apply(i,arguments),E(t)&&i._r.push(t),n=s,i.selector=a,i.isReverted=!1,t};return i.last=s,t===E?s(i,function(t){return i.add(null,t)}):t?i[t]=s:s},e.ignore=function(t){var e=n;n=null,t(this),n=e},e.getTweens=function(){var e=[];return this.data.forEach(function(r){return r instanceof t?e.push.apply(e,r.getTweens()):r instanceof or&&!(r.parent&&"nested"===r.parent.data)&&e.push(r)}),e},e.clear=function(){this._r.length=this.data.length=0},e.kill=function(t,e){var r=this;if(t?function(){for(var e,i=r.getTweens(),n=r.data.length;n--;)"isFlip"===(e=r.data[n]).data&&(e.revert(),e.getChildren(!0,!0,!1).forEach(function(t){return i.splice(i.indexOf(t),1)}));for(i.map(function(t){return{g:t._dur||t._delay||t._sat&&!t._sat.vars.immediateRender?t.globalTime(0):-1/0,t:t}}).sort(function(t,e){return e.g-t.g||-1/0}).forEach(function(e){return e.t.revert(t)}),n=r.data.length;n--;)(e=r.data[n])instanceof Je?"nested"!==e.data&&(e.scrollTrigger&&e.scrollTrigger.revert(),e.kill()):!(e instanceof or)&&e.revert&&e.revert(t);r._r.forEach(function(e){return e(t,r)}),r.isReverted=!0}():this.data.forEach(function(t){return t.kill&&t.kill()}),this.clear(),e)for(var i=br.length;i--;)br[i].id===this.id&&br.splice(i,1)},e.revert=function(t){this.kill(t||{})},t}(),Er=function(){function t(t){this.contexts=[],this.scope=t,n&&n.data.push(this)}var e=t.prototype;return e.add=function(t,e,r){O(t)||(t={matches:t});var i,s,o,u=new Cr(0,r||this.scope),h=u.conditions={};for(s in n&&!u.selector&&(u.selector=n.selector),this.contexts.push(u),e=u.add("onMatch",e),u.queries=t,t)"all"===s?o=1:(i=a.matchMedia(t[s]))&&(br.indexOf(u)<0&&br.push(u),(h[s]=i.matches)&&(o=1),i.addListener?i.addListener(Ar):i.addEventListener("change",Ar));return o&&e(u,function(t){return u.add(null,t)}),this},e.revert=function(t){this.kill(t||{})},e.kill=function(t){this.contexts.forEach(function(e){return e.kill(t,!0)})},t}(),zr={registerPlugin:function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];e.forEach(function(t){return De(t)})},timeline:function(t){return new Je(t)},getTweensOf:function(t,e){return s.getTweensOf(t,e)},getProperty:function(t,e,r,i){C(t)&&(t=se(t)[0]);var n=ct(t||{}).get,s=r?xt:kt;return"native"===r&&(r=""),t?e?s((ot[e]&&ot[e].get||n)(t,e,r,i)):function(e,r,i){return s((ot[e]&&ot[e].get||n)(t,e,r,i))}:t},quickSetter:function(t,e,r){if((t=se(t)).length>1){var i=t.map(function(t){return Pr.quickSetter(t,e,r)}),n=i.length;return function(t){for(var e=n;e--;)i[e](t)}}t=t[0]||{};var s=ot[e],a=ct(t),o=a.harness&&(a.harness.aliases||{})[e]||e,u=s?function(e){var i=new s;f._pt=0,i.init(t,r?e+r:e,f,0,[t]),i.render(1,i),f._pt&&mr(1,f)}:a.set(t,o);return s?u:function(e){return u(t,o,r?e+r:e,a,1)}},quickTo:function(t,e,r){var i,n=Pr.to(t,Dt(((i={})[e]="+=0.1",i.paused=!0,i.stagger=0,i),r||{})),s=function(t,r,i){return n.resetTo(e,t,r,i)};return s.tween=n,s},isTweening:function(t){return s.getTweensOf(t,!0).length>0},defaults:function(t){return t&&t.ease&&(t.ease=Qe(t.ease,T.ease)),Rt(T,t||{})},config:function(t){return Rt(y,t||{})},registerEffect:function(t){var e=t.name,r=t.effect,i=t.plugins,n=t.defaults,s=t.extendTimeline;(i||"").split(",").forEach(function(t){return t&&!ot[t]&&!Y[t]&&X()}),ut[e]=function(t,e,i){return r(se(t),Dt(e||{},n),i)},s&&(Je.prototype[e]=function(t,r,i){return this.add(ut[e](t,O(r)?r:(i=r)&&{},this),i)})},registerEase:function(t,e){Ie[t]=Qe(e)},parseEase:function(t,e){return arguments.length?Qe(t,e):Ie},getById:function(t){return s.getById(t)},exportRoot:function(t,e){void 0===t&&(t={});var r,i,n=new Je(t);for(n.smoothChildTiming=P(t.smoothChildTiming),s.remove(n),n._dp=0,n._time=n._tTime=s._time,r=s._first;r;)i=r._next,!e&&!r._dur&&r instanceof or&&r.vars.onComplete===r._targets[0]||jt(n,r,r._start-r._delay),r=i;return jt(s,n,0),n},context:function(t,e){return t?new Cr(t,e):n},matchMedia:function(t){return new Er(t)},matchMediaRefresh:function(){return br.forEach(function(t){var e,r,i=t.conditions;for(r in i)i[r]&&(i[r]=!1,e=1);e&&t.revert()})||Ar()},addEventListener:function(t,e){var r=kr[t]||(kr[t]=[]);~r.indexOf(e)||r.push(e)},removeEventListener:function(t,e){var r=kr[t],i=r&&r.indexOf(e);i>=0&&r.splice(i,1)},utils:{wrap:me,wrapYoyo:ve,distribute:ue,random:fe,snap:_e,normalize:de,getUnit:te,clamp:ee,splitColor:Ce,toArray:se,selector:ae,mapRange:ye,pipe:le,unitize:ce,interpolate:Te,shuffle:oe},install:J,effects:ut,ticker:Le,updateRoot:Je.updateRoot,plugins:ot,globalTimeline:s,core:{PropTween:wr,globals:Z,Tween:or,Timeline:Je,Animation:$e,getCache:ct,_removeLinkedListItem:zt,reverting:function(){return i},context:function(t){return t&&n&&(n.data.push(t),t._ctx=n),n},suppressOverwrites:function(t){return r=t}}};pt("to,from,fromTo,delayedCall,set,killTweensOf",function(t){return zr[t]=or[t]}),Le.add(Je.updateRoot),f=zr.to({},{duration:0});var Sr=function(t,e){for(var r=t._pt;r&&r.p!==e&&r.op!==e&&r.fp!==e;)r=r._next;return r},Or=function(t,e){return{name:t,headless:1,rawVars:1,init:function(t,r,i){i._onInit=function(t){var i,n;if(C(r)&&(i={},pt(r,function(t){return i[t]=1}),r=i),e){for(n in i={},r)i[n]=e(r[n]);r=i}!function(t,e){var r,i,n,s=t._targets;for(r in e)for(i=s.length;i--;)(n=t._ptLookup[i][r])&&(n=n.d)&&(n._pt&&(n=Sr(n,r)),n&&n.modifier&&n.modifier(e[r],t,s[i],r))}(t,r)}}}},Pr=zr.registerPlugin({name:"attr",init:function(t,e,r,i,n){var s,a,o;for(s in this.tween=r,e)o=t.getAttribute(s)||"",(a=this.add(t,"setAttribute",(o||0)+"",e[s],i,n,0,0,s)).op=s,a.b=o,this._props.push(s)},render:function(t,e){for(var r=e._pt;r;)i?r.set(r.t,r.p,r.b,r):r.r(t,r.d),r=r._next}},{name:"endArray",headless:1,init:function(t,e){for(var r=e.length;r--;)this.add(t,r,t[r]||0,e[r],0,0,0,0,0,1)}},Or("roundProps",he),Or("modifiers"),Or("snap",_e))||zr;or.version=Je.version=Pr.version="3.14.2",h=1,L()&&Fe(),Ie.Power0,Ie.Power1,Ie.Power2,Ie.Power3,Ie.Power4,Ie.Linear,Ie.Quad,Ie.Cubic,Ie.Quart,Ie.Quint,Ie.Strong,Ie.Elastic,Ie.Back,Ie.SteppedEase,Ie.Bounce,Ie.Sine,Ie.Expo,Ie.Circ;export{$e as Animation,Ye as GSCache,wr as PropTween,Je as Timeline,Je as TimelineLite,Je as TimelineMax,or as Tween,or as TweenLite,or as TweenMax,er as _checkPlugin,Se as _colorExp,Pe as _colorStringFilter,y as _config,pt as _forEachName,ct as _getCache,dt as _getProperty,lr as _getSetter,C as _isString,S as _isUndefined,K as _missingPlugin,j as _numExp,Q as _numWithUnitExp,gt as _parseRelative,ot as _plugins,G as _relExp,zt as _removeLinkedListItem,pr as _renderComplexString,ge as _replaceRandom,mt as _round,he as _roundModifier,Dt as _setDefaults,Tr as _sortPropTweensByPriority,Le as _ticker,ee as clamp,Pr as default,ue as distribute,te as getUnit,Pr as gsap,Te as interpolate,ye as mapRange,de as normalize,le as pipe,fe as random,ae as selector,oe as shuffle,_e as snap,Ce as splitColor,se as toArray,ce as unitize,me as wrap,ve as wrapYoyo};
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./gsap-core.cjs.js"),i=require("./CSSPlugin.cjs.js"),r=e.gsap.registerPlugin(i.CSSPlugin)||e.gsap;r.core.Tween,exports.TimelineLite=e.Timeline,exports.TimelineMax=e.Timeline,exports.TweenLite=e.Tween,exports.CSSPlugin=i.CSSPlugin,exports.default=r,exports.gsap=r;
@@ -0,0 +1 @@
1
+ import{gsap as e}from"./gsap-core.esm.js";export{Timeline as TimelineLite,Timeline as TimelineMax,Tween as TweenLite}from"./gsap-core.esm.js";import{CSSPlugin as i}from"./CSSPlugin.esm.js";var s=e.registerPlugin(i)||e;s.core.Tween;export{i as CSSPlugin,s as default,s as gsap};