@realsee/dnalogel 2.9.0-0 → 2.9.0-2

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