@realsee/dnalogel 2.9.0-1 → 2.9.0-alpha.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 (296) hide show
  1. package/dist/PanoTagPlugin/controller/TagComputer.d.ts +1 -1
  2. package/dist/PanoTagPlugin/typings/tag/TagData.d.ts +6 -6
  3. package/dist/PanoTagPlugin/utils/px2rem.d.ts +1 -1
  4. package/dist/base/BasePlugin.d.ts +6 -6
  5. package/dist/index.cjs.js +51 -71
  6. package/dist/index.d.ts +0 -1
  7. package/dist/index.js +4398 -4610
  8. package/dist/index.umd.js +41 -61
  9. package/docs/assets/search.js +1 -1
  10. package/docs/classes/CSS3DRender.html +31 -32
  11. package/docs/classes/CruisePluginController.html +24 -25
  12. package/docs/classes/Magnifier.html +20 -21
  13. package/docs/classes/ModelRoomLabelController.html +11 -12
  14. package/docs/classes/Object3DHelperController.html +24 -25
  15. package/docs/classes/PaintBrush.html +15 -16
  16. package/docs/classes/PanoMeasurePluginLine.html +23 -24
  17. package/docs/classes/PanoMeasurePluginModel.html +22 -23
  18. package/docs/classes/PanoMeasurePluginPoint.html +14 -15
  19. package/docs/classes/PanoMeasurePluginPolyline.html +26 -27
  20. package/docs/classes/PanoTagPluginController.html +51 -52
  21. package/docs/classes/Util.BetterTween.html +8 -9
  22. package/docs/classes/Util.FivePointSelector.html +12 -13
  23. package/docs/classes/Util.Interval.html +12 -13
  24. package/docs/classes/Util.Magnifier.html +17 -18
  25. package/docs/classes/Util.PointDomHelper.html +11 -12
  26. package/docs/classes/Util.PointHelper.html +11 -12
  27. package/docs/classes/Util.Rectangle.html +13 -14
  28. package/docs/enums/CameraMovementEffect.html +7 -8
  29. package/docs/enums/ContentType.html +19 -20
  30. package/docs/enums/DIRECTION.html +9 -10
  31. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -10
  32. package/docs/enums/DimensionType.html +7 -8
  33. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -9
  34. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -10
  35. package/docs/enums/PaintBrushTypeEnum.html +8 -9
  36. package/docs/enums/PointType.html +7 -8
  37. package/docs/enums/Rotation.html +8 -9
  38. package/docs/functions/CSS3DRenderPlugin.html +5 -9
  39. package/docs/functions/CameraMovementPlugin.html +5 -9
  40. package/docs/functions/CruisePlugin.html +5 -9
  41. package/docs/functions/GuideLinePlugin.html +5 -9
  42. package/docs/functions/ItemLabelPlugin.html +5 -9
  43. package/docs/functions/MapviewFloorplanPlugin.html +5 -9
  44. package/docs/functions/ModelChassisCompassPlugin.html +5 -9
  45. package/docs/functions/ModelEntryDoorGuidePlugin.html +5 -9
  46. package/docs/functions/ModelFloorplanPlugin.html +5 -9
  47. package/docs/functions/ModelItemLabelPlugin.html +5 -9
  48. package/docs/functions/ModelRoomLabelPlugin.html +5 -9
  49. package/docs/functions/ModelTVVideoPlugin.html +5 -9
  50. package/docs/functions/ModelViewPlugin.html +5 -9
  51. package/docs/functions/Object3DHelperPlugin.html +5 -9
  52. package/docs/functions/PanoCompassPlugin.html +5 -9
  53. package/docs/functions/PanoCursorRaycasterPlugin.html +5 -9
  54. package/docs/functions/PanoDoorLabelPlugin.html +5 -9
  55. package/docs/functions/PanoFloorplanRadarPlugin.html +5 -9
  56. package/docs/functions/PanoMeasurePlugin.html +5 -9
  57. package/docs/functions/PanoRulerPlugin.html +5 -9
  58. package/docs/functions/PanoRulerProPlugin.html +5 -9
  59. package/docs/functions/PanoSpatialTagPlugin.html +5 -9
  60. package/docs/functions/PanoTagPlugin.html +5 -9
  61. package/docs/functions/TopviewFloorplanPlugin.html +5 -9
  62. package/docs/functions/Util.getCoordsFromClient.html +5 -6
  63. package/docs/functions/Util.getCoordsFromElement.html +5 -6
  64. package/docs/functions/Util.getFrameTime.html +5 -6
  65. package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -6
  66. package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -6
  67. package/docs/functions/Util.isNil.html +5 -6
  68. package/docs/functions/Util.nextFrame.html +5 -6
  69. package/docs/functions/Util.notNil.html +5 -6
  70. package/docs/functions/Util.requestAnimationFrameInterval.html +5 -6
  71. package/docs/functions/Util.tweenProgress.html +5 -6
  72. package/docs/functions/pluginFlag.html +5 -9
  73. package/docs/index.html +4 -8
  74. package/docs/interfaces/AddTagConfig.html +6 -7
  75. package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -12
  76. package/docs/interfaces/CSS3DRenderPluginState.html +8 -9
  77. package/docs/interfaces/CameraMovementPluginExportType.html +7 -8
  78. package/docs/interfaces/EventMap.html +15 -16
  79. package/docs/interfaces/FloorplanBounding.html +8 -9
  80. package/docs/interfaces/FloorplanData.html +10 -11
  81. package/docs/interfaces/FloorplanEntrance.html +11 -12
  82. package/docs/interfaces/FloorplanExtraObject.html +10 -11
  83. package/docs/interfaces/FloorplanExtraObject3D.html +8 -9
  84. package/docs/interfaces/FloorplanFloorData.html +9 -10
  85. package/docs/interfaces/FloorplanImagePosition.html +7 -8
  86. package/docs/interfaces/FloorplanObserver.html +9 -10
  87. package/docs/interfaces/FloorplanOutlineItem.html +9 -10
  88. package/docs/interfaces/FloorplanPosition.html +7 -8
  89. package/docs/interfaces/FloorplanRoomItem.html +13 -14
  90. package/docs/interfaces/FloorplanRoomLabelItem.html +7 -8
  91. package/docs/interfaces/FloorplanServerBounding.html +8 -9
  92. package/docs/interfaces/FloorplanServerComputedData.html +10 -11
  93. package/docs/interfaces/FloorplanServerData.html +7 -8
  94. package/docs/interfaces/FloorplanServerDoorItem.html +10 -11
  95. package/docs/interfaces/FloorplanServerDoorPosition.html +8 -9
  96. package/docs/interfaces/FloorplanServerEntrance.html +11 -12
  97. package/docs/interfaces/FloorplanServerFloorData.html +9 -10
  98. package/docs/interfaces/FloorplanServerImagePosition.html +7 -8
  99. package/docs/interfaces/FloorplanServerObserver.html +9 -10
  100. package/docs/interfaces/FloorplanServerOutlineItem.html +9 -10
  101. package/docs/interfaces/FloorplanServerPosition.html +7 -8
  102. package/docs/interfaces/FloorplanServerRoomItem.html +14 -15
  103. package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -8
  104. package/docs/interfaces/HelperOffset.html +8 -9
  105. package/docs/interfaces/ItemLabelPluginData.html +6 -7
  106. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -12
  107. package/docs/interfaces/ItemLabelPluginParametersType.html +9 -10
  108. package/docs/interfaces/MinMax.html +7 -8
  109. package/docs/interfaces/ModelChassisCompassPluginData.html +7 -8
  110. package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -9
  111. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -8
  112. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -9
  113. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -9
  114. package/docs/interfaces/ModelItemLabelPluginData.html +6 -7
  115. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -12
  116. package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -8
  117. package/docs/interfaces/ModelRoomLabelPluginData.html +6 -7
  118. package/docs/interfaces/ModelTVVideoPluginData.html +9 -10
  119. package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -9
  120. package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -7
  121. package/docs/interfaces/ModelViewPluginExportType.html +11 -12
  122. package/docs/interfaces/Object3DHelperState.html +8 -9
  123. package/docs/interfaces/ObjectHelperControllers.html +9 -10
  124. package/docs/interfaces/PaintBrushAction.html +12 -13
  125. package/docs/interfaces/PaintBrushConfigs.html +12 -13
  126. package/docs/interfaces/PaintBrushState.html +10 -11
  127. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -11
  128. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +5 -9
  129. package/docs/interfaces/PanoMeasureParameterType.html +12 -13
  130. package/docs/interfaces/PanoMeasurePluginLineJson.html +8 -9
  131. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +7 -8
  132. package/docs/interfaces/PanoMeasurePluginPointJson.html +7 -8
  133. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +8 -9
  134. package/docs/interfaces/PanoRulerPluginExportType.html +10 -11
  135. package/docs/interfaces/PanoRulerPluginOptions.html +7 -8
  136. package/docs/interfaces/PanoRulerPluginParameterType.html +8 -9
  137. package/docs/interfaces/PanoRulerProPluginExportType.html +9 -10
  138. package/docs/interfaces/PanoRulerProPluginOptions.html +7 -8
  139. package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -8
  140. package/docs/interfaces/PanoRulerProPluginState.html +8 -9
  141. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +5 -9
  142. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +5 -9
  143. package/docs/interfaces/PanoSpatialTagPluginData.html +11 -12
  144. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -11
  145. package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -14
  146. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -11
  147. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -14
  148. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -12
  149. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -11
  150. package/docs/interfaces/Point.html +8 -9
  151. package/docs/interfaces/Room.html +9 -10
  152. package/docs/interfaces/RoomInfo.html +7 -8
  153. package/docs/interfaces/RoomLabel.html +14 -15
  154. package/docs/interfaces/RoomRules.html +5 -9
  155. package/docs/interfaces/Rooms.html +5 -9
  156. package/docs/interfaces/Scissor.html +9 -10
  157. package/docs/interfaces/State.html +8 -9
  158. package/docs/interfaces/TagCache.html +12 -13
  159. package/docs/interfaces/TagConfig.html +10 -11
  160. package/docs/interfaces/TagIconUrl.html +9 -10
  161. package/docs/interfaces/Tags.html +9 -10
  162. package/docs/interfaces/TemporaryState.html +6 -7
  163. package/docs/interfaces/Util.MagnifierParameter.html +11 -12
  164. package/docs/interfaces/Util.MouseGroupParameter.html +8 -9
  165. package/docs/modules/Util.html +5 -6
  166. package/docs/modules.html +5 -13
  167. package/docs/types/ArrayPosition.html +5 -9
  168. package/docs/types/AudioAppearance.html +5 -9
  169. package/docs/types/AudioTagTypeConfigKey.html +5 -9
  170. package/docs/types/CSS3DRenderExportType.html +5 -9
  171. package/docs/types/CSS3DRenderPluginExportType.html +5 -9
  172. package/docs/types/CSS3DRenderPluginParameterType.html +5 -9
  173. package/docs/types/ClassFunctionParameters.html +5 -9
  174. package/docs/types/Color.html +5 -9
  175. package/docs/types/ContentTypeConfigKey.html +5 -9
  176. package/docs/types/ContentTypeConfigKeySplit.html +5 -9
  177. package/docs/types/ContentTypeMap.html +5 -9
  178. package/docs/types/Create3DDomContainerReturnType.html +5 -9
  179. package/docs/types/Create3DElementReturnType.html +5 -9
  180. package/docs/types/CruisePluginExportType.html +5 -9
  181. package/docs/types/Direction-1.html +5 -9
  182. package/docs/types/Direction4.html +5 -9
  183. package/docs/types/FloorplanRuleLabels.html +5 -9
  184. package/docs/types/FloorplanServerRuleLabels.html +5 -9
  185. package/docs/types/GuideLinePluginExportType.html +5 -9
  186. package/docs/types/HelperEventMap.html +5 -9
  187. package/docs/types/LoadTagConfig.html +5 -9
  188. package/docs/types/MapviewFloorplanPluginParameterType.html +5 -9
  189. package/docs/types/MapviewFloorplanPluginReturnType.html +5 -9
  190. package/docs/types/MediaData.html +5 -9
  191. package/docs/types/MediaStore.html +5 -9
  192. package/docs/types/ModelElement.html +5 -9
  193. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +5 -9
  194. package/docs/types/ModelFloorplanPluginParameterType.html +5 -9
  195. package/docs/types/ModelFloorplanPluginReturnType.html +5 -9
  196. package/docs/types/ModelRoomLabelPluginParameters.html +5 -9
  197. package/docs/types/ModelRoomLabelPluginReturnType.html +5 -9
  198. package/docs/types/MoveArgs.html +5 -9
  199. package/docs/types/MoveOpts.html +5 -9
  200. package/docs/types/Object3DHelperEventMap.html +5 -9
  201. package/docs/types/ObjectFit.html +5 -9
  202. package/docs/types/PaintBrushEventMap.html +5 -9
  203. package/docs/types/PanoCompassPluginData.html +5 -9
  204. package/docs/types/PanoCompassPluginExportType.html +5 -9
  205. package/docs/types/PanoCompassPluginParameterType.html +5 -9
  206. package/docs/types/PanoFloorplanRadarPluginParameterType.html +5 -9
  207. package/docs/types/PanoFloorplanRadarPluginReturnType.html +5 -9
  208. package/docs/types/PanoIndex.html +5 -9
  209. package/docs/types/PanoMeasurePluginEvent.html +5 -9
  210. package/docs/types/PanoMeasureReturnType.html +5 -9
  211. package/docs/types/PanoSpatialTagPluginId.html +5 -9
  212. package/docs/types/PanoTagPluginExportInterface.html +5 -9
  213. package/docs/types/PanoTagPluginParamsInterface.html +5 -9
  214. package/docs/types/PlaneTag.html +5 -9
  215. package/docs/types/PlaneTagElement.html +5 -9
  216. package/docs/types/Point2DElement.html +5 -9
  217. package/docs/types/Point2DTag.html +5 -9
  218. package/docs/types/Point3DElement.html +5 -9
  219. package/docs/types/Point3DTag.html +5 -9
  220. package/docs/types/PointTag.html +5 -9
  221. package/docs/types/PointTagElement.html +5 -9
  222. package/docs/types/Position.html +5 -9
  223. package/docs/types/RotateArgs.html +5 -9
  224. package/docs/types/RotateOpts.html +5 -9
  225. package/docs/types/RuleLabelsKey.html +5 -9
  226. package/docs/types/RuleLabelsValue.html +5 -9
  227. package/docs/types/StickType.html +5 -9
  228. package/docs/types/Tag.html +5 -9
  229. package/docs/types/Tag2D.html +5 -9
  230. package/docs/types/Tag3D.html +5 -9
  231. package/docs/types/TagContentType.html +5 -9
  232. package/docs/types/TagDimensionType.html +5 -9
  233. package/docs/types/TagElement.html +5 -9
  234. package/docs/types/TagEvents.html +5 -9
  235. package/docs/types/TagGLTFObject.html +5 -9
  236. package/docs/types/TagHooks.html +5 -9
  237. package/docs/types/TagIconSize.html +5 -9
  238. package/docs/types/TagId.html +5 -9
  239. package/docs/types/TagPointType.html +5 -9
  240. package/docs/types/TopviewFloorplanPluginParameterType.html +5 -9
  241. package/docs/types/TopviewFloorplanPluginReturnType.html +5 -9
  242. package/docs/types/WorkCode.html +5 -9
  243. package/docs/variables/FLOOR_TYPE_MAP.html +5 -9
  244. package/docs/variables/PLUGIN.html +5 -9
  245. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +5 -9
  246. package/docs/variables/ROOM_TYPE_MAP.html +5 -9
  247. package/docs/variables/VERSION.html +5 -9
  248. package/docs/variables/itemLabelPluginServerParams.html +5 -9
  249. package/docs/variables/modelItemLabelPluginServerParams.html +5 -9
  250. package/docs/variables/modelRoomLabelPluginServerParams.html +5 -9
  251. package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js +90 -90
  252. package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +11 -12
  253. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +184 -146
  254. package/libs/PanoTagPlugin/Components/Tag/index.js +111 -112
  255. package/libs/PanoTagPlugin/Components/TagContainer.js +2 -3
  256. package/libs/PanoTagPlugin/Components/TagItem.js +2 -3
  257. package/libs/PanoTagPlugin/controller/TagComputer.d.ts +1 -1
  258. package/libs/PanoTagPlugin/controller/TagComputer.js +1 -1
  259. package/libs/PanoTagPlugin/controller/index.js +5 -6
  260. package/libs/PanoTagPlugin/index.js +11 -12
  261. package/libs/PanoTagPlugin/typings/tag/TagData.d.ts +6 -6
  262. package/libs/PanoTagPlugin/utils/px2rem.d.ts +1 -1
  263. package/libs/PanoTagPlugin/utils/px2rem.js +3 -3
  264. package/libs/base/BasePlugin.d.ts +6 -6
  265. package/libs/index.d.ts +0 -1
  266. package/libs/index.js +100 -108
  267. package/package.json +1 -1
  268. package/dist/PanoTagPlugin/utils/color.d.ts +0 -7
  269. package/dist/PanoTagPlugin/utils/timeToString.d.ts +0 -1
  270. package/dist/PanoVideoPlugin/Controller.d.ts +0 -31
  271. package/dist/PanoVideoPlugin/VideoMeshController.d.ts +0 -85
  272. package/dist/PanoVideoPlugin/index.d.ts +0 -16
  273. package/dist/PanoVideoPlugin/typings.d.ts +0 -64
  274. package/dist/PanoVideoPlugin/utils/shader.d.ts +0 -2
  275. package/docs/functions/PanoVideoPlugin.html +0 -284
  276. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +0 -74
  277. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +0 -89
  278. package/docs/interfaces/PanoVideoPluginType.PluginData.html +0 -66
  279. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +0 -165
  280. package/docs/interfaces/PanoVideoPluginType.PluginState.html +0 -66
  281. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +0 -97
  282. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +0 -114
  283. package/docs/modules/PanoVideoPluginType.html +0 -62
  284. package/docs/types/PanoVideoPluginParameterType.html +0 -265
  285. package/docs/types/PanoVideoPluginReturnType.html +0 -265
  286. package/libs/PanoVideoPlugin/Controller.d.ts +0 -31
  287. package/libs/PanoVideoPlugin/Controller.js +0 -127
  288. package/libs/PanoVideoPlugin/VideoMeshController.d.ts +0 -85
  289. package/libs/PanoVideoPlugin/VideoMeshController.js +0 -152
  290. package/libs/PanoVideoPlugin/index.d.ts +0 -16
  291. package/libs/PanoVideoPlugin/index.js +0 -31
  292. package/libs/PanoVideoPlugin/typings/index.js +0 -6
  293. package/libs/PanoVideoPlugin/typings.d.ts +0 -64
  294. package/libs/PanoVideoPlugin/typings.js +0 -1
  295. package/libs/PanoVideoPlugin/utils/shader.d.ts +0 -2
  296. package/libs/PanoVideoPlugin/utils/shader.js +0 -25
@@ -1,13 +1,14 @@
1
- import { SvelteComponent as de, init as ce, safe_not_equal as ge, append_styles as pe, element as h, create_component as be, space as A, text as D, attr as c, set_style as R, src_url_equal as j, toggle_class as Y, insert as S, mount_component as ue, append as d, set_data as E, transition_in as he, transition_out as ve, detach as T, destroy_component as ke, destroy_each as $, empty as fe } from "../../../vendor/svelte/internal/index.js";
1
+ import { SvelteComponent as le, init as ie, safe_not_equal as ae, append_styles as re, element as h, create_component as ne, space as C, text as S, attr as m, set_style as L, null_to_empty as M, toggle_class as G, insert as T, mount_component as se, append as c, set_data as P, transition_in as oe, transition_out as fe, detach as z, destroy_component as me, src_url_equal as j, add_render_callback as de, add_resize_listener as ge, destroy_each as E, svg_element as X } from "../../../vendor/svelte/internal/index.js";
2
2
  import "hammerjs";
3
3
  import "three";
4
4
  import "@realsee/five";
5
5
  import "@tweenjs/tween.js";
6
6
  import "../../../CSS3DRenderPlugin/CSS3DRender.js";
7
7
  import "../../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
8
- import { notNil as L } from "../../../shared-utils/isNil.js";
8
+ import { notNil as ce } from "../../../shared-utils/isNil.js";
9
9
  import "../../../shared-utils/animationFrame/BetterTween.js";
10
- import ye from "../Common/Shadow.js";
10
+ import pe from "../../utils/px2rem.js";
11
+ import ve from "../Common/Shadow.js";
11
12
  import "../../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
12
13
  import "three/examples/jsm/renderers/CSS3DRenderer";
13
14
  import "../../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
@@ -23,142 +24,197 @@ import "../../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
23
24
  import "../../../shared-utils/animationFrame/index.js";
24
25
  import "../../../vendor/svelte/transition/index.js";
25
26
  import "../../../vendor/svelte/easing/index.js";
26
- function _e(l) {
27
- pe(l, "svelte-8mby9k", ".svelte-8mby9k.svelte-8mby9k{box-sizing:border-box}.marketing.svelte-8mby9k.svelte-8mby9k{transform:translateY(-100%)}.content.svelte-8mby9k .headerImage.svelte-8mby9k{position:absolute;width:100%;top:0.25rem;transform:translateY(-100%);border-top-left-radius:0.25rem;border-top-right-radius:0.25rem}.line.svelte-8mby9k.svelte-8mby9k{position:absolute;height:2.0625rem;width:0.0625rem;left:50%;transform:translateX(-50%);background-color:white;bottom:0;transform-origin:bottom;transition:all 500ms}.content.svelte-8mby9k.svelte-8mby9k{background-color:white;position:relative;display:flex;flex-direction:column;min-width:11.125rem;width:-moz-max-content;width:max-content;height:-moz-max-content;height:max-content;border-radius:0.25rem;top:-1.875rem;left:-1rem;padding:0.5rem 0rem 0.5625rem;transition:all 500ms}.title.svelte-8mby9k.svelte-8mby9k{position:absolute;background-color:white;border-radius:0.25rem;width:100%;top:0.5rem;padding-left:0.75rem;padding-right:0.75rem}.title.svelte-8mby9k .text.svelte-8mby9k{display:block;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:0.75rem;font-weight:bold;line-height:1.125rem;color:#000}.footer.svelte-8mby9k.svelte-8mby9k{position:relative;padding-left:0.75rem;padding-right:0.75rem;width:100%;height:1.375rem;display:flex;align-items:center}.footer.svelte-8mby9k .goto-button.svelte-8mby9k{flex-shrink:0;white-space:nowrap;background-image:linear-gradient(to right, rgba(87, 144, 253, 1) 0, rgba(42, 114, 254, 1) 100%);color:#fff;font-size:0.625rem;border-radius:0.875rem;font-weight:bold;padding-left:0.5rem;padding-right:0.5rem;height:1.25rem;margin-left:auto;display:flex;align-items:center}.footer.svelte-8mby9k .goto-icon.svelte-8mby9k::after{content:'';display:inline-block;width:0.75rem;height:0.75rem;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAMAAADW3miqAAAAeFBMVEUAAAD////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////GqOSsAAAAJ3RSTlMAFNO2pYt4bErz8uP6ysawgVtBPDcR5C4s2L6ZmJBzZGJXUyEeDws/0G2zAAAAkklEQVQ4y+3TRw6DMBAF0OAeJ3QCpCe0uf8NwRILLBYfiS1/aT3JoymnI+sERZ5VCH0iVto3QDfBLmeSSMUTogRV9bBEpJAKaYpGijn13aTSLeraeG9D0NZFZv4/rRL5FDHnITlllqjv6tykWsmX4JHr05y7j6oFKq2P8He48B0tAM0EY0EDxquClw6vLz6EI35GmwwSZpe+WOgAAAAASUVORK5CYII=);background-size:100% auto;background-repeat:no-repeat}.price.svelte-8mby9k.svelte-8mby9k{flex-shrink:0;margin-right:0.75rem;white-space:nowrap;color:#ff6600;display:flex;align-items:baseline}.price.svelte-8mby9k .value.svelte-8mby9k{position:relative;top:0.0625rem;font-size:1.125rem;line-height:1.375rem;font-family:TG-TYPE, PingFangSC, Segoe UI, Rototo, sans-serif;letter-spacing:0rem}.price.svelte-8mby9k .unit.svelte-8mby9k{padding-left:0.125rem;font-size:0.625rem}.tag.svelte-8mby9k.svelte-8mby9k{position:relative;background-color:white;display:flex;width:-moz-max-content;width:max-content;padding-left:0.75rem;padding-right:0.75rem;min-height:1.75rem}.tag.svelte-8mby9k .base-tag.svelte-8mby9k{height:1rem;margin-top:1.375rem;margin-bottom:0.5rem;margin-right:0.25rem;font-size:0.625rem;line-height:0.875rem;padding:0.0625rem 0.25rem;border-radius:0.125rem;overflow:hidden}.tag.svelte-8mby9k .primary-tag.svelte-8mby9k{background:#e5eefe;color:#0055ff}.tag.svelte-8mby9k .secondary-tag.svelte-8mby9k{background:rgba(255, 102, 0, 0.08);color:rgba(255, 102, 0, 1)}.unfolded.svelte-8mby9k .line.svelte-8mby9k{transform:translateX(-50%) scale(1, 1)}.folded.svelte-8mby9k .line.svelte-8mby9k{transform:translateX(-50%) scale(1, 0);transition-timing-function:ease-in}.unfolded.svelte-8mby9k .content.svelte-8mby9k{opacity:1}.folded.svelte-8mby9k .content.svelte-8mby9k{opacity:0;transform:translateY(0.425rem);transition-timing-function:ease-in}");
27
+ function he(l) {
28
+ re(l, "svelte-1yl9i3a", '@charset "UTF-8";.svelte-1yl9i3a.svelte-1yl9i3a{box-sizing:border-box}.marketing.svelte-1yl9i3a.svelte-1yl9i3a{transform:translateY(-100%)}.marketing.svelte-1yl9i3a .line.svelte-1yl9i3a{position:absolute;height:2.0625rem;width:0.0625rem;left:50%;transform:translateX(-50%);background-color:white;bottom:0;transform-origin:bottom;transition:all 500ms}.marketing.svelte-1yl9i3a .content.svelte-1yl9i3a{position:relative;min-width:7.5rem;width:-moz-max-content;width:max-content;height:-moz-max-content;height:max-content;border-radius:0.25rem;top:-1.875rem;left:-1rem;padding:0.5rem 0rem 0.5625rem;transition-property:opacity, transform;transition-duration:500ms}.marketing.svelte-1yl9i3a .content .headerImage.svelte-1yl9i3a{position:absolute;width:100%;top:0.25rem;transform:translateY(-100%);border-top-left-radius:0.25rem;border-top-right-radius:0.25rem}.title-wrapper.svelte-1yl9i3a.svelte-1yl9i3a{position:relative;width:100%;height:1.125rem}.title-wrapper.svelte-1yl9i3a .title.svelte-1yl9i3a{border-radius:0.25rem;width:100%;padding-left:0.625rem;padding-right:0.625rem}.title-wrapper.svelte-1yl9i3a .title .text.svelte-1yl9i3a{display:block;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:0.75rem;font-weight:bold;line-height:1.125rem}.footer.svelte-1yl9i3a.svelte-1yl9i3a{position:relative;padding:0.5rem 0.625rem 0 0;width:100%;display:flex;align-items:center}.footer.svelte-1yl9i3a .goto-button.svelte-1yl9i3a{display:flex;flex-wrap:wrap;align-items:center;overflow:hidden;font-size:0.625rem;height:0.875rem}.footer.svelte-1yl9i3a .goto-button .gap.svelte-1yl9i3a{height:100%;width:0.625rem}.footer.svelte-1yl9i3a .goto-button .text.svelte-1yl9i3a{display:inline-block}.footer.svelte-1yl9i3a svg.arrow.svelte-1yl9i3a{flex-grow:0;flex-shrink:0;margin-left:0.25rem;width:0.375rem;height:0.5625rem}.footer.svelte-1yl9i3a .price.svelte-1yl9i3a{flex-shrink:0;margin-right:auto;white-space:nowrap;display:flex;align-items:baseline;margin-left:0.625rem}.footer.svelte-1yl9i3a .price .value.svelte-1yl9i3a{position:relative;font-size:0.875rem;line-height:1rem;font-family:TG-TYPE, PingFangSC, Segoe UI, Rototo, sans-serif;letter-spacing:0rem}.footer.svelte-1yl9i3a .price .unit.svelte-1yl9i3a{padding-left:0.125rem;font-size:0.625rem}.tags-wrapper.svelte-1yl9i3a.svelte-1yl9i3a{position:relative;overflow:hidden;height:1rem;margin-top:0.25rem}.tags-wrapper.svelte-1yl9i3a .tags.svelte-1yl9i3a{position:relative;display:inline-flex;max-width:100%;flex-wrap:wrap;padding-left:0.625rem;padding-right:0.375rem}.tags-wrapper.svelte-1yl9i3a .tags .tag.svelte-1yl9i3a{display:flex;align-items:center;justify-content:center;flex-shrink:0;flex-grow:0;font-size:0.625rem;height:1rem;margin-right:0.25rem;margin-bottom:0.625rem;padding:0 0.25rem;border-radius:0.125rem;max-width:100%;text-overflow:ellipsis;overflow:hidden}.marketing.light.svelte-1yl9i3a .content.svelte-1yl9i3a{background-color:white}.marketing.light.svelte-1yl9i3a .content .title-wrapper .title .text.svelte-1yl9i3a{color:rgba(0, 0, 0, 0.8)}.marketing.light.svelte-1yl9i3a .content .tags-wrapper .tags .primary-tag.svelte-1yl9i3a{background:rgba(234, 208, 154, 0.5);color:#946700}.marketing.light.svelte-1yl9i3a .content .tags-wrapper .tags .secondary-tag.svelte-1yl9i3a{background:rgba(0, 0, 0, 0.06);color:rgba(0, 0, 0, 0.5)}.marketing.light.svelte-1yl9i3a .content .footer.svelte-1yl9i3a{color:#946700;fill:#946700}.marketing.dark.svelte-1yl9i3a .content.svelte-1yl9i3a{background-color:rgba(0, 0, 0, 0.5)}.marketing.dark.svelte-1yl9i3a .content .title-wrapper .title .text.svelte-1yl9i3a{color:white}.marketing.dark.svelte-1yl9i3a .content .tags-wrapper .tags .primary-tag.svelte-1yl9i3a{background:rgba(234, 208, 154, 0.5);color:white}.marketing.dark.svelte-1yl9i3a .content .tags-wrapper .tags .secondary-tag.svelte-1yl9i3a{background:rgba(255, 255, 255, 0.15);color:rgba(255, 255, 255, 0.85)}.marketing.dark.svelte-1yl9i3a .content .footer.svelte-1yl9i3a{color:#ead09a;fill:#ead09a}.marketing.unfolded.svelte-1yl9i3a .line.svelte-1yl9i3a{transform:translateX(-50%) scale(1, 1)}.marketing.folded.svelte-1yl9i3a .line.svelte-1yl9i3a{transform:translateX(-50%) scale(1, 0);transition-timing-function:ease-in}.marketing.unfolded.svelte-1yl9i3a .content.svelte-1yl9i3a{opacity:1}.marketing.folded.svelte-1yl9i3a .content.svelte-1yl9i3a{opacity:0;transform:translateY(0.425rem);transition-timing-function:ease-in}');
28
29
  }
29
- function x(l, t, e) {
30
- const i = l.slice();
31
- return i[0] = t[e], i;
30
+ function N(l, e, t) {
31
+ const a = l.slice();
32
+ return a[0] = e[t], a;
32
33
  }
33
- function ee(l, t, e) {
34
- const i = l.slice();
35
- return i[0] = t[e], i;
34
+ function O(l, e, t) {
35
+ const a = l.slice();
36
+ return a[0] = e[t], a;
36
37
  }
37
- function te(l) {
38
- let t, e = l[0] + "", i;
38
+ function Z(l) {
39
+ let e, t;
39
40
  return {
40
41
  c() {
41
- t = h("div"), i = D(e), c(t, "class", "base-tag primary-tag svelte-8mby9k");
42
+ e = h("img"), m(e, "class", "headerImage svelte-1yl9i3a"), j(e.src, t = l[3].headerPictureUrl) || m(e, "src", t), m(e, "alt", "");
42
43
  },
43
- m(r, m) {
44
- S(r, t, m), d(t, i);
44
+ m(a, r) {
45
+ T(a, e, r);
45
46
  },
46
- p(r, m) {
47
- m & 4 && e !== (e = r[0] + "") && E(i, e);
47
+ p(a, r) {
48
+ r & 8 && !j(e.src, t = a[3].headerPictureUrl) && m(e, "src", t);
48
49
  },
49
- d(r) {
50
- r && T(t);
50
+ d(a) {
51
+ a && z(e);
51
52
  }
52
53
  };
53
54
  }
54
- function ie(l) {
55
- let t, e = l[0] && te(l);
55
+ function A(l) {
56
+ let e, t, a, r, s = l[2] || [], i = [];
57
+ for (let o = 0; o < s.length; o += 1)
58
+ i[o] = J(O(l, s, o));
59
+ let d = l[5] || [], f = [];
60
+ for (let o = 0; o < d.length; o += 1)
61
+ f[o] = K(N(l, d, o));
56
62
  return {
57
63
  c() {
58
- e && e.c(), t = fe();
64
+ e = h("div"), t = h("div");
65
+ for (let o = 0; o < i.length; o += 1)
66
+ i[o].c();
67
+ a = C();
68
+ for (let o = 0; o < f.length; o += 1)
69
+ f[o].c();
70
+ m(t, "class", "tags svelte-1yl9i3a"), de(() => l[11].call(t)), m(e, "class", "tags-wrapper svelte-1yl9i3a");
59
71
  },
60
- m(i, r) {
61
- e && e.m(i, r), S(i, t, r);
72
+ m(o, v) {
73
+ T(o, e, v), c(e, t);
74
+ for (let n = 0; n < i.length; n += 1)
75
+ i[n].m(t, null);
76
+ c(t, a);
77
+ for (let n = 0; n < f.length; n += 1)
78
+ f[n].m(t, null);
79
+ r = ge(t, l[11].bind(t));
62
80
  },
63
- p(i, r) {
64
- i[0] ? e ? e.p(i, r) : (e = te(i), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null);
81
+ p(o, v) {
82
+ if (v & 4) {
83
+ s = o[2] || [];
84
+ let n;
85
+ for (n = 0; n < s.length; n += 1) {
86
+ const p = O(o, s, n);
87
+ i[n] ? i[n].p(p, v) : (i[n] = J(p), i[n].c(), i[n].m(t, a));
88
+ }
89
+ for (; n < i.length; n += 1)
90
+ i[n].d(1);
91
+ i.length = s.length;
92
+ }
93
+ if (v & 32) {
94
+ d = o[5] || [];
95
+ let n;
96
+ for (n = 0; n < d.length; n += 1) {
97
+ const p = N(o, d, n);
98
+ f[n] ? f[n].p(p, v) : (f[n] = K(p), f[n].c(), f[n].m(t, null));
99
+ }
100
+ for (; n < f.length; n += 1)
101
+ f[n].d(1);
102
+ f.length = d.length;
103
+ }
65
104
  },
66
- d(i) {
67
- e && e.d(i), i && T(t);
105
+ d(o) {
106
+ o && z(e), E(i, o), E(f, o), r();
68
107
  }
69
108
  };
70
109
  }
71
- function le(l) {
72
- let t, e = l[0] + "", i;
110
+ function J(l) {
111
+ let e, t = l[0] + "", a;
73
112
  return {
74
113
  c() {
75
- t = h("div"), i = D(e), c(t, "class", "base-tag secondary-tag svelte-8mby9k");
114
+ e = h("div"), a = S(t), m(e, "class", "tag primary-tag svelte-1yl9i3a"), L(e, "min-width", q);
76
115
  },
77
- m(r, m) {
78
- S(r, t, m), d(t, i);
116
+ m(r, s) {
117
+ T(r, e, s), c(e, a);
79
118
  },
80
- p(r, m) {
81
- m & 4 && e !== (e = r[0] + "") && E(i, e);
119
+ p(r, s) {
120
+ s & 4 && t !== (t = r[0] + "") && P(a, t);
82
121
  },
83
122
  d(r) {
84
- r && T(t);
123
+ r && z(e);
85
124
  }
86
125
  };
87
126
  }
88
- function re(l) {
89
- let t, e = l[0] && le(l);
127
+ function K(l) {
128
+ let e, t = l[0] + "", a;
90
129
  return {
91
130
  c() {
92
- e && e.c(), t = fe();
131
+ e = h("div"), a = S(t), m(e, "class", "tag secondary-tag svelte-1yl9i3a"), L(e, "min-width", q);
93
132
  },
94
- m(i, r) {
95
- e && e.m(i, r), S(i, t, r);
133
+ m(r, s) {
134
+ T(r, e, s), c(e, a);
96
135
  },
97
- p(i, r) {
98
- i[0] ? e ? e.p(i, r) : (e = le(i), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null);
136
+ p(r, s) {
137
+ s & 32 && t !== (t = r[0] + "") && P(a, t);
99
138
  },
100
- d(i) {
101
- e && e.d(i), i && T(t);
139
+ d(r) {
140
+ r && z(e);
102
141
  }
103
142
  };
104
143
  }
105
- function oe(l) {
106
- let t, e, i = l[2].price.value + "", r, m, n = l[2].price.unit && ne(l);
144
+ function Q(l) {
145
+ let e, t, a = l[7] && V(l), r = l[3].highlightText && $(l);
107
146
  return {
108
147
  c() {
109
- t = h("div"), e = h("span"), r = D(i), m = A(), n && n.c(), c(e, "class", "value svelte-8mby9k"), c(t, "class", "price svelte-8mby9k");
148
+ e = h("div"), a && a.c(), t = C(), r && r.c(), m(e, "class", "footer svelte-1yl9i3a");
110
149
  },
111
- m(f, v) {
112
- S(f, t, v), d(t, e), d(e, r), d(t, m), n && n.m(t, null);
150
+ m(s, i) {
151
+ T(s, e, i), a && a.m(e, null), c(e, t), r && r.m(e, null);
113
152
  },
114
- p(f, v) {
115
- v & 4 && i !== (i = f[2].price.value + "") && E(r, i), f[2].price.unit ? n ? n.p(f, v) : (n = ne(f), n.c(), n.m(t, null)) : n && (n.d(1), n = null);
153
+ p(s, i) {
154
+ s[7] ? a ? a.p(s, i) : (a = V(s), a.c(), a.m(e, t)) : a && (a.d(1), a = null), s[3].highlightText ? r ? r.p(s, i) : (r = $(s), r.c(), r.m(e, null)) : r && (r.d(1), r = null);
116
155
  },
117
- d(f) {
118
- f && T(t), n && n.d();
156
+ d(s) {
157
+ s && z(e), a && a.d(), r && r.d();
119
158
  }
120
159
  };
121
160
  }
122
- function ne(l) {
123
- let t, e = l[2].price.unit + "", i;
161
+ function V(l) {
162
+ let e, t, a = l[3].price.value + "", r, s, i = l[3].price.unit && x(l);
124
163
  return {
125
164
  c() {
126
- t = h("span"), i = D(e), c(t, "class", "unit svelte-8mby9k");
165
+ e = h("div"), t = h("span"), r = S(a), s = C(), i && i.c(), m(t, "class", "value svelte-1yl9i3a"), m(e, "class", "price svelte-1yl9i3a");
127
166
  },
128
- m(r, m) {
129
- S(r, t, m), d(t, i);
167
+ m(d, f) {
168
+ T(d, e, f), c(e, t), c(t, r), c(e, s), i && i.m(e, null);
130
169
  },
131
- p(r, m) {
132
- m & 4 && e !== (e = r[2].price.unit + "") && E(i, e);
170
+ p(d, f) {
171
+ f & 8 && a !== (a = d[3].price.value + "") && P(r, a), d[3].price.unit ? i ? i.p(d, f) : (i = x(d), i.c(), i.m(e, null)) : i && (i.d(1), i = null);
133
172
  },
134
- d(r) {
135
- r && T(t);
173
+ d(d) {
174
+ d && z(e), i && i.d();
136
175
  }
137
176
  };
138
177
  }
139
- function ae(l) {
140
- let t, e = l[2].highlightText + "", i;
178
+ function x(l) {
179
+ let e, t = l[3].price.unit + "", a;
141
180
  return {
142
181
  c() {
143
- t = h("div"), i = D(e), c(t, "class", "goto-button goto-icon svelte-8mby9k");
182
+ e = h("span"), a = S(t), m(e, "class", "unit svelte-1yl9i3a");
144
183
  },
145
- m(r, m) {
146
- S(r, t, m), d(t, i);
184
+ m(r, s) {
185
+ T(r, e, s), c(e, a);
147
186
  },
148
- p(r, m) {
149
- m & 4 && e !== (e = r[2].highlightText + "") && E(i, e);
187
+ p(r, s) {
188
+ s & 8 && t !== (t = r[3].price.unit + "") && P(a, t);
150
189
  },
151
190
  d(r) {
152
- r && T(t);
191
+ r && z(e);
192
+ }
193
+ };
194
+ }
195
+ function $(l) {
196
+ let e, t, a, r, s = l[3].highlightText + "", i, d, f, o, v;
197
+ return {
198
+ c() {
199
+ e = h("div"), t = h("div"), a = C(), r = h("span"), i = S(s), d = C(), f = X("svg"), o = X("g"), v = X("path"), m(t, "class", "gap svelte-1yl9i3a"), m(r, "class", "text svelte-1yl9i3a"), m(e, "class", "goto-button goto-icon svelte-1yl9i3a"), m(v, "d", "M4.43868724,2.12056563 C4.28121824,1.95989074 4.02582143,1.95979988 3.86824251,2.1203627 C3.72498894,2.26632889 3.71189225,2.49481723 3.82900374,2.65587166 L6.57092402,5.92894326 C6.72651763,6.11470411 6.72651763,6.38529589 6.57092402,6.57105674 L3.86804348,9.79798499 C3.72488984,9.94405307 3.71194952,10.1725507 3.8291712,10.3335217 L3.86824251,10.3796373 C4.01149607,10.5256035 4.23559087,10.5387981 4.39346025,10.4192733 L4.43868724,10.3794344 L8.1144599,6.5985342 C8.30312347,6.40447482 8.30312347,6.09552518 8.1144599,5.9014658 L4.43868724,2.12056563 Z"), m(v, "class", "svelte-1yl9i3a"), m(o, "transform", "translate(-3, -2)"), m(o, "fill-rule", "nonzero"), m(o, "class", "svelte-1yl9i3a"), m(f, "class", "arrow svelte-1yl9i3a"), m(f, "viewBox", "0 0 6 9");
200
+ },
201
+ m(n, p) {
202
+ T(n, e, p), c(e, t), c(e, a), c(e, r), c(r, i), T(n, d, p), T(n, f, p), c(f, o), c(o, v);
203
+ },
204
+ p(n, p) {
205
+ p & 8 && s !== (s = n[3].highlightText + "") && P(i, s);
206
+ },
207
+ d(n) {
208
+ n && z(e), n && z(d), n && z(f);
153
209
  }
154
210
  };
155
211
  }
156
- function we(l) {
157
- var Q, X;
158
- let t, e, i, r, m, n, f, v, P, _, F, O, B, I, U = l[2].title + "", J, Z, k, M = L((Q = l[2].price) == null ? void 0 : Q.value) && ((X = l[2].price) == null ? void 0 : X.value) !== "", N, w;
159
- e = new ye({
212
+ function ue(l) {
213
+ var Y, B;
214
+ let e, t, a, r, s, i, d, f, o, v, n = l[3].title + "", p, U, W, w, b;
215
+ t = new ve({
160
216
  props: {
161
- visible: l[1],
217
+ visible: l[4],
162
218
  outDelay: 500,
163
219
  left: 61,
164
220
  bottom: 87,
@@ -166,86 +222,68 @@ function we(l) {
166
222
  spreadRadius: 75
167
223
  }
168
224
  });
169
- let z = l[2].brandTags || [], g = [];
170
- for (let o = 0; o < z.length; o += 1)
171
- g[o] = ie(ee(l, z, o));
172
- let C = l[2].tags || [], p = [];
173
- for (let o = 0; o < C.length; o += 1)
174
- p[o] = re(x(l, C, o));
175
- let b = M && oe(l), u = l[2].highlightText && ae(l);
225
+ let u = l[3].headerPictureUrl && Z(l), y = ((Y = l[2].length) != null ? Y : 0) + ((B = l[5].length) != null ? B : 0) > 0 && A(l), _ = (l[7] || l[3].highlightText) && Q(l);
176
226
  return {
177
227
  c() {
178
- var o;
179
- t = h("div"), be(e.$$.fragment), i = A(), r = h("div"), m = A(), n = h("div"), f = h("img"), P = A(), _ = h("div");
180
- for (let a = 0; a < g.length; a += 1)
181
- g[a].c();
182
- F = A();
183
- for (let a = 0; a < p.length; a += 1)
184
- p[a].c();
185
- O = A(), B = h("div"), I = h("div"), J = D(U), Z = A(), k = h("div"), b && b.c(), N = A(), u && u.c(), c(r, "class", "line svelte-8mby9k"), R(r, "transition-delay", l[1] ? V + "ms" : q + me - se - 40 + "ms"), c(f, "class", "headerImage svelte-8mby9k"), j(f.src, v = l[2].headerPictureUrl) || c(f, "src", v), c(f, "alt", ""), c(_, "class", "tag svelte-8mby9k"), c(I, "class", "text svelte-8mby9k"), c(B, "class", "title svelte-8mby9k"), c(k, "class", "footer svelte-8mby9k"), R(k, "height", L((o = l[2].price) == null ? void 0 : o.value) && l[2].highlightText ? void 0 : "1rem"), c(n, "class", "content svelte-8mby9k"), R(n, "transition-delay", l[1] ? V + q + "ms" : "0ms"), c(t, "class", "marketing svelte-8mby9k"), Y(t, "unfolded", l[1]), Y(t, "folded", l[3]);
186
- },
187
- m(o, a) {
188
- S(o, t, a), ue(e, t, null), d(t, i), d(t, r), d(t, m), d(t, n), d(n, f), d(n, P), d(n, _);
189
- for (let y = 0; y < g.length; y += 1)
190
- g[y].m(_, null);
191
- d(_, F);
192
- for (let y = 0; y < p.length; y += 1)
193
- p[y].m(_, null);
194
- d(n, O), d(n, B), d(B, I), d(I, J), d(n, Z), d(n, k), b && b.m(k, null), d(k, N), u && u.m(k, null), w = !0;
195
- },
196
- p(o, [a]) {
197
- var H, K, W;
198
- const y = {};
199
- if (a & 2 && (y.visible = o[1]), e.$set(y), a & 2 && R(r, "transition-delay", o[1] ? V + "ms" : q + me - se - 40 + "ms"), (!w || a & 4 && !j(f.src, v = o[2].headerPictureUrl)) && c(f, "src", v), a & 4) {
200
- z = o[2].brandTags || [];
201
- let s;
202
- for (s = 0; s < z.length; s += 1) {
203
- const G = ee(o, z, s);
204
- g[s] ? g[s].p(G, a) : (g[s] = ie(G), g[s].c(), g[s].m(_, F));
205
- }
206
- for (; s < g.length; s += 1)
207
- g[s].d(1);
208
- g.length = z.length;
209
- }
210
- if (a & 4) {
211
- C = o[2].tags || [];
212
- let s;
213
- for (s = 0; s < C.length; s += 1) {
214
- const G = x(o, C, s);
215
- p[s] ? p[s].p(G, a) : (p[s] = re(G), p[s].c(), p[s].m(_, null));
216
- }
217
- for (; s < p.length; s += 1)
218
- p[s].d(1);
219
- p.length = C.length;
220
- }
221
- (!w || a & 4) && U !== (U = o[2].title + "") && E(J, U), a & 4 && (M = L((H = o[2].price) == null ? void 0 : H.value) && ((K = o[2].price) == null ? void 0 : K.value) !== ""), M ? b ? b.p(o, a) : (b = oe(o), b.c(), b.m(k, N)) : b && (b.d(1), b = null), o[2].highlightText ? u ? u.p(o, a) : (u = ae(o), u.c(), u.m(k, null)) : u && (u.d(1), u = null), a & 4 && R(k, "height", L((W = o[2].price) == null ? void 0 : W.value) && o[2].highlightText ? void 0 : "1rem"), a & 2 && R(n, "transition-delay", o[1] ? V + q + "ms" : "0ms"), (!w || a & 2) && Y(t, "unfolded", o[1]), (!w || a & 8) && Y(t, "folded", o[3]);
228
+ e = h("div"), ne(t.$$.fragment), a = C(), r = h("div"), s = C(), i = h("div"), u && u.c(), d = C(), f = h("div"), o = h("div"), v = h("div"), p = S(n), U = C(), y && y.c(), W = C(), _ && _.c(), m(r, "class", "line svelte-1yl9i3a"), L(r, "transition-delay", l[4] ? I + "ms" : R + te - ee - 40 + "ms"), m(v, "class", "text svelte-1yl9i3a"), m(o, "class", "title svelte-1yl9i3a"), m(f, "class", "title-wrapper svelte-1yl9i3a"), m(i, "class", "content svelte-1yl9i3a"), L(i, "max-width", pe(l[9])), L(i, "transition-delay", l[4] ? I + R + "ms" : "0ms"), m(e, "class", w = M(`marketing ${l[6]}`) + " svelte-1yl9i3a"), G(e, "unfolded", l[4]), G(e, "folded", l[8]);
222
229
  },
223
- i(o) {
224
- w || (he(e.$$.fragment, o), w = !0);
230
+ m(g, k) {
231
+ T(g, e, k), se(t, e, null), c(e, a), c(e, r), c(e, s), c(e, i), u && u.m(i, null), c(i, d), c(i, f), c(f, o), c(o, v), c(v, p), c(i, U), y && y.m(i, null), c(i, W), _ && _.m(i, null), b = !0;
225
232
  },
226
- o(o) {
227
- ve(e.$$.fragment, o), w = !1;
233
+ p(g, [k]) {
234
+ var F, H;
235
+ const D = {};
236
+ k & 16 && (D.visible = g[4]), t.$set(D), k & 16 && L(r, "transition-delay", g[4] ? I + "ms" : R + te - ee - 40 + "ms"), g[3].headerPictureUrl ? u ? u.p(g, k) : (u = Z(g), u.c(), u.m(i, d)) : u && (u.d(1), u = null), (!b || k & 8) && n !== (n = g[3].title + "") && P(p, n), ((F = g[2].length) != null ? F : 0) + ((H = g[5].length) != null ? H : 0) > 0 ? y ? y.p(g, k) : (y = A(g), y.c(), y.m(i, W)) : y && (y.d(1), y = null), g[7] || g[3].highlightText ? _ ? _.p(g, k) : (_ = Q(g), _.c(), _.m(i, null)) : _ && (_.d(1), _ = null), k & 16 && L(i, "transition-delay", g[4] ? I + R + "ms" : "0ms"), (!b || k & 64 && w !== (w = M(`marketing ${g[6]}`) + " svelte-1yl9i3a")) && m(e, "class", w), (!b || k & 80) && G(e, "unfolded", g[4]), (!b || k & 320) && G(e, "folded", g[8]);
228
237
  },
229
- d(o) {
230
- o && T(t), ke(e), $(g, o), $(p, o), b && b.d(), u && u.d();
238
+ i(g) {
239
+ b || (oe(t.$$.fragment, g), b = !0);
240
+ },
241
+ o(g) {
242
+ fe(t.$$.fragment, g), b = !1;
243
+ },
244
+ d(g) {
245
+ g && z(e), me(t), u && u.d(), y && y.d(), _ && _.d();
231
246
  }
232
247
  };
233
248
  }
234
- const V = 400, se = 500, q = 180, me = 500;
235
- function Ae(l, t, e) {
236
- let i, r, m, { tag: n } = t;
237
- return l.$$set = (f) => {
238
- "tag" in f && e(0, n = f.tag);
249
+ const q = 40, I = 400, ee = 500, R = 180, te = 500;
250
+ function ye(l, e, t) {
251
+ let a, r, s, i, d, f, o, v, { tag: n } = e, p, U = (() => {
252
+ var b;
253
+ const w = (b = n.data.limitWidth) != null ? b : !0;
254
+ if (typeof w == "number")
255
+ return w;
256
+ if (w === !0)
257
+ return 172;
258
+ })();
259
+ function W() {
260
+ p = this.offsetHeight, t(1, p);
261
+ }
262
+ return l.$$set = (w) => {
263
+ "tag" in w && t(0, n = w.tag);
239
264
  }, l.$$.update = () => {
240
- var f, v;
241
- l.$$.dirty & 1 && e(1, i = (v = (f = n.state) == null ? void 0 : f.unfolded) != null ? v : !1), l.$$.dirty & 2 && e(3, r = !i), l.$$.dirty & 1 && e(2, m = n.data);
242
- }, [n, i, m, r];
265
+ var w, b, u, y, _, Y, B;
266
+ l.$$.dirty & 1 && t(4, a = (b = (w = n.state) == null ? void 0 : w.unfolded) != null ? b : !1), l.$$.dirty & 16 && t(8, r = !a), l.$$.dirty & 1 && t(3, s = n.data), l.$$.dirty & 8 && t(7, i = ce((u = s.price) == null ? void 0 : u.value) && ((y = s.price) == null ? void 0 : y.value) !== ""), l.$$.dirty & 1 && t(6, d = (_ = n.data.theme) != null ? _ : "light"), l.$$.dirty & 1026 && p > 40 && t(10, f = f - 1), l.$$.dirty & 1032 && t(2, o = ((Y = s.brandTags) == null ? void 0 : Y.slice(0, f).filter(Boolean)) || []), l.$$.dirty & 1036 && t(5, v = ((B = s.tags) == null ? void 0 : B.slice(0, f - o.length).filter(Boolean)) || []);
267
+ }, t(10, f = (U - 20) / q), [
268
+ n,
269
+ p,
270
+ o,
271
+ s,
272
+ a,
273
+ v,
274
+ d,
275
+ i,
276
+ r,
277
+ U,
278
+ f,
279
+ W
280
+ ];
243
281
  }
244
- class Ke extends de {
245
- constructor(t) {
246
- super(), ce(this, t, Ae, we, ge, { tag: 0 }, _e);
282
+ class Oe extends le {
283
+ constructor(e) {
284
+ super(), ie(this, e, ye, ue, ae, { tag: 0 }, he);
247
285
  }
248
286
  }
249
287
  export {
250
- Ke as default
288
+ Oe as default
251
289
  };