vviinn-widgets 2.216.2 → 2.217.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 (76) hide show
  1. package/dist/cjs/{index-BM7VfZ_J.js → index-KB8ruJQe.js} +1 -1
  2. package/dist/cjs/loader.cjs.js +1 -1
  3. package/dist/cjs/resultsPageUrl-Cki7CFQz.js +45 -0
  4. package/dist/cjs/{search.store-DX5IRC4l.js → search.store-C82VhK1A.js} +13 -7
  5. package/dist/cjs/vviinn-button_6.cjs.entry.js +4 -4
  6. package/dist/cjs/vviinn-camera_12.cjs.entry.js +23 -21
  7. package/dist/cjs/vviinn-carousel_10.cjs.entry.js +15 -11
  8. package/dist/cjs/vviinn-shop-the-look.cjs.entry.js +2 -2
  9. package/dist/cjs/vviinn-text-search.cjs.entry.js +21 -15
  10. package/dist/cjs/vviinn-vps-button.cjs.entry.js +3 -3
  11. package/dist/cjs/vviinn-widgets.cjs.js +1 -1
  12. package/dist/collection/components/vviinn-carousel/vviinn-carousel.js +3 -5
  13. package/dist/collection/components/vviinn-results/stories/ResultsTemplate.js +3 -1
  14. package/dist/collection/components/vviinn-results/vviinn-results.js +24 -5
  15. package/dist/collection/components/vviinn-shop-the-look/vviinn-shop-the-look.js +1 -1
  16. package/dist/collection/components/vviinn-suggestions/render-helpers.js +4 -2
  17. package/dist/collection/components/vviinn-text-search/helpers/handleSuggestionsKeyDown.js +1 -1
  18. package/dist/collection/components/vviinn-text-search/helpers/renderSuggestions.js +5 -6
  19. package/dist/collection/components/vviinn-text-search/vviinn-text-search.js +34 -8
  20. package/dist/collection/components/vviinn-vpr-button/recommendations-sidebar/recommendations-sidebar.js +4 -4
  21. package/dist/collection/components/vviinn-vpr-widget/vviinn-vpr-widget.js +10 -4
  22. package/dist/collection/components/vviinn-vps-button/vviinn-vps-button.js +23 -4
  23. package/dist/collection/components/vviinn-vps-widget/vviinn-vps-widget.js +33 -14
  24. package/dist/collection/helpers/url/resultsPageUrl.js +24 -7
  25. package/dist/collection/helpers/url/resultsPageUrl.test.js +63 -1
  26. package/dist/collection/store/search.store.js +13 -6
  27. package/dist/esm/{index-CmCUlnFh.js → index-CMX-QEzm.js} +1 -1
  28. package/dist/esm/loader.js +1 -1
  29. package/dist/esm/resultsPageUrl-DbOxfJSz.js +39 -0
  30. package/dist/esm/{search.store-B0ZhYtWV.js → search.store-Bof_HKxz.js} +13 -7
  31. package/dist/esm/vviinn-button_6.entry.js +4 -4
  32. package/dist/esm/vviinn-camera_12.entry.js +23 -21
  33. package/dist/esm/vviinn-carousel_10.entry.js +15 -11
  34. package/dist/esm/vviinn-shop-the-look.entry.js +2 -2
  35. package/dist/esm/vviinn-text-search.entry.js +21 -15
  36. package/dist/esm/vviinn-vps-button.entry.js +3 -3
  37. package/dist/esm/vviinn-widgets.js +1 -1
  38. package/dist/types/components/vviinn-filters/helpers/syncRequestFilters.d.ts +3 -1
  39. package/dist/types/components/vviinn-results/vviinn-results.d.ts +2 -0
  40. package/dist/types/components/vviinn-text-search/vviinn-text-search.d.ts +2 -0
  41. package/dist/types/components/vviinn-vps-button/vviinn-vps-button.d.ts +3 -1
  42. package/dist/types/components/vviinn-vps-widget/vviinn-vps-widget.d.ts +3 -1
  43. package/dist/types/components.d.ts +36 -4
  44. package/dist/types/helpers/url/resultsPageUrl.d.ts +9 -3
  45. package/dist/types/store/search.store.d.ts +8 -4
  46. package/{www/build/p-a3829a7f.entry.js → dist/vviinn-widgets/p-5ee404fb.entry.js} +1 -1
  47. package/{www/build/p-c64a4923.entry.js → dist/vviinn-widgets/p-756d201c.entry.js} +1 -1
  48. package/dist/vviinn-widgets/{p-1e7d7fc8.entry.js → p-97099d69.entry.js} +1 -1
  49. package/dist/vviinn-widgets/{p-DIMfQtwJ.js → p-DM6fTGU7.js} +1 -1
  50. package/dist/vviinn-widgets/p-DbOxfJSz.js +1 -0
  51. package/dist/vviinn-widgets/p-dcaf6f35.entry.js +1 -0
  52. package/dist/vviinn-widgets/p-e4c19fc9.entry.js +1 -0
  53. package/dist/vviinn-widgets/{p-B--7xBdV.js → p-elxMiKkD.js} +1 -1
  54. package/dist/vviinn-widgets/{p-df67781e.entry.js → p-fbbf34ba.entry.js} +1 -1
  55. package/dist/vviinn-widgets/vviinn-widgets.esm.js +1 -1
  56. package/package.json +1 -1
  57. package/{dist/vviinn-widgets/p-a3829a7f.entry.js → www/build/p-5ee404fb.entry.js} +1 -1
  58. package/{dist/vviinn-widgets/p-c64a4923.entry.js → www/build/p-756d201c.entry.js} +1 -1
  59. package/www/build/{p-1e7d7fc8.entry.js → p-97099d69.entry.js} +1 -1
  60. package/www/build/{p-DIMfQtwJ.js → p-DM6fTGU7.js} +1 -1
  61. package/www/build/p-DbOxfJSz.js +1 -0
  62. package/www/build/p-dcaf6f35.entry.js +1 -0
  63. package/www/build/p-e4c19fc9.entry.js +1 -0
  64. package/www/build/{p-B--7xBdV.js → p-elxMiKkD.js} +1 -1
  65. package/www/build/{p-df67781e.entry.js → p-fbbf34ba.entry.js} +1 -1
  66. package/www/build/{p-64d1f5a3.js → p-fff4758a.js} +1 -1
  67. package/www/build/vviinn-widgets.esm.js +1 -1
  68. package/www/index.html +1 -1
  69. package/dist/cjs/resultsPageUrl-BMlvrFCW.js +0 -27
  70. package/dist/esm/resultsPageUrl-niHq9WT6.js +0 -22
  71. package/dist/vviinn-widgets/p-137944e9.entry.js +0 -1
  72. package/dist/vviinn-widgets/p-2b96382d.entry.js +0 -1
  73. package/dist/vviinn-widgets/p-niHq9WT6.js +0 -1
  74. package/www/build/p-137944e9.entry.js +0 -1
  75. package/www/build/p-2b96382d.entry.js +0 -1
  76. package/www/build/p-niHq9WT6.js +0 -1
@@ -1 +1 @@
1
- import{h as t,r as e,c as r,f as n,F as i,H as o,g as a}from"./p-RkvPN2Rk.js";import{h as l,j as s,_ as c,u,C as f,D as d,E as h,v}from"./p-DIMfQtwJ.js";import{X as p,Y as b,_ as g,g as m,O as y,v as x,N as w,Z as j,L as _,$ as O,a0 as k,a1 as C,a2 as M,E as z}from"./p-CrEgr0jU.js";import{i as S,d as T,t as I,a as E}from"./p-BJxQCbNV.js";import{S as A,C as L,o as W,p as P,R as V,q as R,D as F,h as B,r as N,u as D,t as $,j as H,m as Z,w as q,k as U,l as J,s as Y,P as K,x as X,v as G,c as Q,e as tt,b as et,d as rt,f as nt,y as it}from"./p-B--7xBdV.js";import{P as ot,D as at,c as lt}from"./p-rqiiCPBX.js";import{s as st,a as ct,i as ut,S as ft}from"./p-DKHkeCw7.js";import{o as dt,i as ht,j as vt,h as pt,q as bt,e as gt,l as mt,p as yt,t as xt}from"./p-CPTOq59a.js";import{r as wt,c as jt,s as _t}from"./p-Er2KrWw1.js";import{r as Ot,o as kt}from"./p-CtSr754V.js";const Ct=()=>t("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t("g",{id:"shopping-bag"},t("path",{id:"Vector",d:"M6 22C5.45 22 4.97917 21.8042 4.5875 21.4125C4.19583 21.0208 4 20.55 4 20V8C4 7.45 4.19583 6.97917 4.5875 6.5875C4.97917 6.19583 5.45 6 6 6H8C8 4.9 8.39167 3.95833 9.175 3.175C9.95833 2.39167 10.9 2 12 2C13.1 2 14.0417 2.39167 14.825 3.175C15.6083 3.95833 16 4.9 16 6H18C18.55 6 19.0208 6.19583 19.4125 6.5875C19.8042 6.97917 20 7.45 20 8V20C20 20.55 19.8042 21.0208 19.4125 21.4125C19.0208 21.8042 18.55 22 18 22H6ZM6 20H18V8H16V10C16 10.2833 15.9042 10.5208 15.7125 10.7125C15.5208 10.9042 15.2833 11 15 11C14.7167 11 14.4792 10.9042 14.2875 10.7125C14.0958 10.5208 14 10.2833 14 10V8H10V10C10 10.2833 9.90417 10.5208 9.7125 10.7125C9.52083 10.9042 9.28333 11 9 11C8.71667 11 8.47917 10.9042 8.2875 10.7125C8.09583 10.5208 8 10.2833 8 10V8H6V20ZM10 6H14C14 5.45 13.8042 4.97917 13.4125 4.5875C13.0208 4.19583 12.55 4 12 4C11.45 4 10.9792 4.19583 10.5875 4.5875C10.1958 4.97917 10 5.45 10 6Z",fill:"#161616"}))),Mt=()=>t("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t("g",{id:"check"},t("path",{id:"Vector",d:"M10.6 13.8L8.45 11.65C8.26667 11.4667 8.03333 11.375 7.75 11.375C7.46667 11.375 7.23333 11.4667 7.05 11.65C6.86667 11.8333 6.775 12.0667 6.775 12.35C6.775 12.6333 6.86667 12.8667 7.05 13.05L9.9 15.9C10.1 16.1 10.3333 16.2 10.6 16.2C10.8667 16.2 11.1 16.1 11.3 15.9L16.95 10.25C17.1333 10.0667 17.225 9.83333 17.225 9.55C17.225 9.26667 17.1333 9.03333 16.95 8.85C16.7667 8.66667 16.5333 8.575 16.25 8.575C15.9667 8.575 15.7333 8.66667 15.55 8.85L10.6 13.8ZM12 22C10.6167 22 9.31667 21.7375 8.1 21.2125C6.88333 20.6875 5.825 19.975 4.925 19.075C4.025 18.175 3.3125 17.1167 2.7875 15.9C2.2625 14.6833 2 13.3833 2 12C2 10.6167 2.2625 9.31667 2.7875 8.1C3.3125 6.88333 4.025 5.825 4.925 4.925C5.825 4.025 6.88333 3.3125 8.1 2.7875C9.31667 2.2625 10.6167 2 12 2C13.3833 2 14.6833 2.2625 15.9 2.7875C17.1167 3.3125 18.175 4.025 19.075 4.925C19.975 5.825 20.6875 6.88333 21.2125 8.1C21.7375 9.31667 22 10.6167 22 12C22 13.3833 21.7375 14.6833 21.2125 15.9C20.6875 17.1167 19.975 18.175 19.075 19.075C18.175 19.975 17.1167 20.6875 15.9 21.2125C14.6833 21.7375 13.3833 22 12 22Z",fill:"#16A34A"}))),zt=()=>t("svg",{width:"9",height:"16",xmlns:"http://www.w3.org/2000/svg"},t("path",{d:"m9 8-7.895 8L0 14.88 6.79 8 0 1.12 1.105 0 9 8Z"})),St=()=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none","aria-hidden":"true"},t("path",{d:"M13.6 12L9.70005 8.09999C9.51672 7.91665 9.42505 7.68332 9.42505 7.39999C9.42505 7.11665 9.51672 6.88332 9.70005 6.69999C9.88338 6.51665 10.1167 6.42499 10.4 6.42499C10.6834 6.42499 10.9167 6.51665 11.1 6.69999L15.7 11.3C15.8 11.4 15.8709 11.5083 15.9125 11.625C15.9542 11.7417 15.975 11.8667 15.975 12C15.975 12.1333 15.9542 12.2583 15.9125 12.375C15.8709 12.4917 15.8 12.6 15.7 12.7L11.1 17.3C10.9167 17.4833 10.6834 17.575 10.4 17.575C10.1167 17.575 9.88338 17.4833 9.70005 17.3C9.51672 17.1167 9.42505 16.8833 9.42505 16.6C9.42505 16.3167 9.51672 16.0833 9.70005 15.9L13.6 12Z",fill:"currentColor"})),Tt=()=>t("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t("path",{d:"M9.5 16C7.68333 16 6.14583 15.3708 4.8875 14.1125C3.62917 12.8542 3 11.3167 3 9.5C3 7.68333 3.62917 6.14583 4.8875 4.8875C6.14583 3.62917 7.68333 3 9.5 3C11.3167 3 12.8542 3.62917 14.1125 4.8875C15.3708 6.14583 16 7.68333 16 9.5C16 10.2333 15.8833 10.925 15.65 11.575C15.4167 12.225 15.1 12.8 14.7 13.3L20.3 18.9C20.4833 19.0833 20.575 19.3167 20.575 19.6C20.575 19.8833 20.4833 20.1167 20.3 20.3C20.1167 20.4833 19.8833 20.575 19.6 20.575C19.3167 20.575 19.0833 20.4833 18.9 20.3L13.3 14.7C12.8 15.1 12.225 15.4167 11.575 15.65C10.925 15.8833 10.2333 16 9.5 16ZM9.5 14C10.75 14 11.8125 13.5625 12.6875 12.6875C13.5625 11.8125 14 10.75 14 9.5C14 8.25 13.5625 7.1875 12.6875 6.3125C11.8125 5.4375 10.75 5 9.5 5C8.25 5 7.1875 5.4375 6.3125 6.3125C5.4375 7.1875 5 8.25 5 9.5C5 10.75 5.4375 11.8125 6.3125 12.6875C7.1875 13.5625 8.25 14 9.5 14Z",fill:"#A1A1A1"})),It=({width:e=24,height:r=24})=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:r,viewBox:"0 0 24 24",fill:"none"},t("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M23.5998 4.57C20.3898 4.19 19.8798 3.68 19.4198 0.37C19.3798 0.15 19.2198 0 19.0098 0C18.7998 0 18.6298 0.15 18.5898 0.37C18.1198 3.66 17.6298 4.13 14.4098 4.57C14.1698 4.61 14.0098 4.77 14.0098 5C14.0098 5.23 14.1698 5.39 14.4098 5.42C17.6298 5.81 18.1398 6.31 18.5898 9.62C18.6298 9.84 18.7998 10 19.0098 10C19.2198 10 19.3898 9.84 19.4198 9.62C19.8898 6.31 20.3898 5.81 23.5998 5.42C23.8398 5.38 23.9998 5.22 23.9998 5C23.9998 4.78 23.8298 4.6 23.5998 4.57Z",fill:"currentColor"}),t("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M19.93 13C19.43 13 19.01 13.37 18.95 13.86C18.52 17.36 15.51 20.06 11.89 20C8.24 19.94 5.15 16.92 5.01 13.27C4.92 10.79 6.13 8.58 8.01 7.27V11C8.01 11.55 8.46 12 9.01 12C9.56 12 10.01 11.55 10.01 11V5C10.01 4.45 9.56 4 9.01 4H3C2.45 4 2 4.45 2 5C2 5.55 2.45 6 3 6H6.35C4.24 7.71 2.91 10.35 3 13.3C3.15 17.98 7.06 21.87 11.74 22C16.45 22.13 20.37 18.65 20.93 14.13C21 13.53 20.53 13.01 19.93 13.01V13Z",fill:"currentColor"})),Et=()=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none","aria-hidden":"true"},t("path",{d:"M12 21C11.7167 21 11.4792 20.9042 11.2875 20.7125C11.0958 20.5208 11 20.2833 11 20V16C11 15.7167 11.0958 15.4792 11.2875 15.2875C11.4792 15.0958 11.7167 15 12 15C12.2833 15 12.5208 15.0958 12.7125 15.2875C12.9042 15.4792 13 15.7167 13 16V17H20C20.2833 17 20.5208 17.0958 20.7125 17.2875C20.9042 17.4792 21 17.7167 21 18C21 18.2833 20.9042 18.5208 20.7125 18.7125C20.5208 18.9042 20.2833 19 20 19H13V20C13 20.2833 12.9042 20.5208 12.7125 20.7125C12.5208 20.9042 12.2833 21 12 21ZM4 19C3.71667 19 3.47917 18.9042 3.2875 18.7125C3.09583 18.5208 3 18.2833 3 18C3 17.7167 3.09583 17.4792 3.2875 17.2875C3.47917 17.0958 3.71667 17 4 17H8C8.28333 17 8.52083 17.0958 8.7125 17.2875C8.90417 17.4792 9 17.7167 9 18C9 18.2833 8.90417 18.5208 8.7125 18.7125C8.52083 18.9042 8.28333 19 8 19H4ZM8 15C7.71667 15 7.47917 14.9042 7.2875 14.7125C7.09583 14.5208 7 14.2833 7 14V13H4C3.71667 13 3.47917 12.9042 3.2875 12.7125C3.09583 12.5208 3 12.2833 3 12C3 11.7167 3.09583 11.4792 3.2875 11.2875C3.47917 11.0958 3.71667 11 4 11H7V10C7 9.71667 7.09583 9.47917 7.2875 9.2875C7.47917 9.09583 7.71667 9 8 9C8.28333 9 8.52083 9.09583 8.7125 9.2875C8.90417 9.47917 9 9.71667 9 10V14C9 14.2833 8.90417 14.5208 8.7125 14.7125C8.52083 14.9042 8.28333 15 8 15ZM12 13C11.7167 13 11.4792 12.9042 11.2875 12.7125C11.0958 12.5208 11 12.2833 11 12C11 11.7167 11.0958 11.4792 11.2875 11.2875C11.4792 11.0958 11.7167 11 12 11H20C20.2833 11 20.5208 11.0958 20.7125 11.2875C20.9042 11.4792 21 11.7167 21 12C21 12.2833 20.9042 12.5208 20.7125 12.7125C20.5208 12.9042 20.2833 13 20 13H12ZM16 9C15.7167 9 15.4792 8.90417 15.2875 8.7125C15.0958 8.52083 15 8.28333 15 8V4C15 3.71667 15.0958 3.47917 15.2875 3.2875C15.4792 3.09583 15.7167 3 16 3C16.2833 3 16.5208 3.09583 16.7125 3.2875C16.9042 3.47917 17 3.71667 17 4V5H20C20.2833 5 20.5208 5.09583 20.7125 5.2875C20.9042 5.47917 21 5.71667 21 6C21 6.28333 20.9042 6.52083 20.7125 6.7125C20.5208 6.90417 20.2833 7 20 7H17V8C17 8.28333 16.9042 8.52083 16.7125 8.7125C16.5208 8.90417 16.2833 9 16 9ZM4 7C3.71667 7 3.47917 6.90417 3.2875 6.7125C3.09583 6.52083 3 6.28333 3 6C3 5.71667 3.09583 5.47917 3.2875 5.2875C3.47917 5.09583 3.71667 5 4 5H12C12.2833 5 12.5208 5.09583 12.7125 5.2875C12.9042 5.47917 13 5.71667 13 6C13 6.28333 12.9042 6.52083 12.7125 6.7125C12.5208 6.90417 12.2833 7 12 7H4Z",fill:"#161616"})),At=()=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none","aria-hidden":"true"},t("path",{d:"M12 13.3892L6.91958 18.4696C6.72248 18.6667 6.49095 18.7653 6.225 18.7653C5.95905 18.7653 5.72753 18.6667 5.53043 18.4696C5.33333 18.2725 5.23478 18.041 5.23478 17.775C5.23478 17.5091 5.33333 17.2776 5.53043 17.0805L10.6109 12L5.53043 6.9196C5.33333 6.7225 5.23478 6.49098 5.23478 6.22503C5.23478 5.95908 5.33333 5.72755 5.53043 5.53045C5.72753 5.33335 5.95905 5.2348 6.225 5.2348C6.49095 5.2348 6.72248 5.33335 6.91958 5.53045L12 10.6109L17.0804 5.53045C17.2775 5.33335 17.5091 5.2348 17.775 5.2348C18.041 5.2348 18.2725 5.33335 18.4696 5.53045C18.6667 5.72755 18.7652 5.95908 18.7652 6.22503C18.7652 6.49098 18.6667 6.7225 18.4696 6.9196L13.3892 12L18.4696 17.0805C18.6667 17.2776 18.7652 17.5091 18.7652 17.775C18.7652 18.041 18.6667 18.2725 18.4696 18.4696C18.2725 18.6667 18.041 18.7653 17.775 18.7653C17.5091 18.7653 17.2775 18.6667 17.0804 18.4696L12 13.3892Z",fill:"currentColor"})),Lt=({width:e=24,height:r=24})=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:r,viewBox:"0 0 24 24",fill:"none"},t("path",{d:"M12 21.325C11.7667 21.325 11.5292 21.2834 11.2875 21.2C11.0458 21.1167 10.8333 20.9834 10.65 20.8L8.925 19.225C7.15833 17.6084 5.5625 16.0042 4.1375 14.4125C2.7125 12.8209 2 11.0667 2 9.15002C2 7.58336 2.525 6.27502 3.575 5.22502C4.625 4.17502 5.93333 3.65002 7.5 3.65002C8.38333 3.65002 9.21667 3.83752 10 4.21252C10.7833 4.58752 11.45 5.10002 12 5.75002C12.55 5.10002 13.2167 4.58752 14 4.21252C14.7833 3.83752 15.6167 3.65002 16.5 3.65002C18.0667 3.65002 19.375 4.17502 20.425 5.22502C21.475 6.27502 22 7.58336 22 9.15002C22 11.0667 21.2917 12.825 19.875 14.425C18.4583 16.025 16.85 17.6334 15.05 19.25L13.35 20.8C13.1667 20.9834 12.9542 21.1167 12.7125 21.2C12.4708 21.2834 12.2333 21.325 12 21.325ZM11.05 7.75002C10.5667 7.06669 10.05 6.54586 9.5 6.18752C8.95 5.82919 8.28333 5.65002 7.5 5.65002C6.5 5.65002 5.66667 5.98336 5 6.65002C4.33333 7.31669 4 8.15002 4 9.15002C4 10.0167 4.30833 10.9375 4.925 11.9125C5.54167 12.8875 6.27917 13.8334 7.1375 14.75C7.99583 15.6667 8.87917 16.525 9.7875 17.325C10.6958 18.125 11.4333 18.7834 12 19.3C12.5667 18.7834 13.3042 18.125 14.2125 17.325C15.1208 16.525 16.0042 15.6667 16.8625 14.75C17.7208 13.8334 18.4583 12.8875 19.075 11.9125C19.6917 10.9375 20 10.0167 20 9.15002C20 8.15002 19.6667 7.31669 19 6.65002C18.3333 5.98336 17.5 5.65002 16.5 5.65002C15.7167 5.65002 15.05 5.82919 14.5 6.18752C13.95 6.54586 13.4333 7.06669 12.95 7.75002C12.8333 7.91669 12.6917 8.04169 12.525 8.12502C12.3583 8.20836 12.1833 8.25002 12 8.25002C11.8167 8.25002 11.6417 8.20836 11.475 8.12502C11.3083 8.04169 11.1667 7.91669 11.05 7.75002Z",fill:"currentColor"})),Wt=({width:e=24,height:r=24})=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:r,viewBox:"0 0 24 24",fill:"none"},t("path",{d:"M12 21.325C11.7667 21.325 11.5292 21.2834 11.2875 21.2C11.0458 21.1167 10.8333 20.9834 10.65 20.8L8.925 19.225C7.15833 17.6084 5.5625 16.0042 4.1375 14.4125C2.7125 12.8209 2 11.0667 2 9.15002C2 7.58336 2.525 6.27502 3.575 5.22502C4.625 4.17502 5.93333 3.65002 7.5 3.65002C8.38333 3.65002 9.21667 3.83752 10 4.21252C10.7833 4.58752 11.45 5.10002 12 5.75002C12.55 5.10002 13.2167 4.58752 14 4.21252C14.7833 3.83752 15.6167 3.65002 16.5 3.65002C18.0667 3.65002 19.375 4.17502 20.425 5.22502C21.475 6.27502 22 7.58336 22 9.15002C22 11.0667 21.2917 12.825 19.875 14.425C18.4583 16.025 16.85 17.6334 15.05 19.25L13.35 20.8C13.1667 20.9834 12.9542 21.1167 12.7125 21.2C12.4708 21.2834 12.2333 21.325 12 21.325Z",fill:"white"}));Object.assign(Object.assign({},{concat:(t,e)=>t/e}),{empty:1});const Pt=(t,e)=>Math.floor(Math.random()*(e-t+1))+t;function Vt(t,e,r){return function(n){for(var i=Array(r.length+1),o=0;o<r.length;o++)i[o]=r[o];return i[r.length]=n,0===e?t.apply(null,i):Vt(t,e-1,i)}}var Rt={1:function(t){return[t]},2:function(t){return function(e){return[t,e]}},3:function(t){return function(e){return function(r){return[t,e,r]}}},4:function(t){return function(e){return function(r){return function(n){return[t,e,r,n]}}}},5:function(t){return function(e){return function(r){return function(n){return function(i){return[t,e,r,n,i]}}}}}};function Ft(t){return p.call(Rt,t)||(Rt[t]=Vt(b,t-1,[])),Rt[t]}const Bt=class{constructor(n){e(this,n),this.vviinnProductLoad=r(this,"vviinnProductLoad"),this.vviinnProductView=r(this,"vviinnProductView"),this.moveDirection="right",this.contentGroups=[],this.activeContentGroup=0,this.currentScrollIndex=0,this.isRTL=!1,this.crossSellingRecommendations=[],this.setModeDiscount=null,this.currentDiscountIndex=0,this.setModeAppliedDiscounts={},this.columns=0,this.showContent=!1,this.mode="continuity",this.imageWidth=ot,this.showScroll=!0,this.recommendations=[],this.showMultipleImages=!1,this.addPriceContainer=!1,this.setItemsAmount=4,this.isAppended=!1,this.loading=!1,this.hasErrorOnLoad=!1,this.showInWidget=!1,this.imageResolutionWidth=at,this.resizeObserver=new ResizeObserver((()=>{if(this.handleResize(),this.isSetMode&&this.updatingAllCards){const t=this.el.style.getPropertyValue(A);t&&"100%"!==t||this.setImageWidthSetMode("100%")}else this.setImageWidthSetMode("100%")})),this.defaultAnimationInterval=2e3,this.setModeMaxDiscount=null,this.scrollHandler=null,this.scrollEndHandler=null,this.mutationObserver=new MutationObserver((()=>this.cloneSlottedContent())),this.updateCard=(t,e,r)=>{let n=this.crossSellingRecommendations.find((e=>e.productId===t));const i=this.crossSellingRecommendations.indexOf(n),o=this.recommendations.indexOf(n),a=this.crossSellingRecommendations;if(o+e<this.recommendations.length){const n=this.recommendations[o+e];a[i]=n;const l=this.getProductData(n,o+e);this.isSetMode&&this.vviinnProductLoad.emit(l);let s=this.el.querySelector(`[data-id="${t}"]`);const c=s.getBoundingClientRect().width;this.setImageWidthSetMode(`${c}px`),this.crossSellingRecommendations=[...a];const u=s.shadowRoot.querySelector(".update-button");null==u||u.classList.add("hidden");const f=setTimeout((()=>{o+2*e<=this.recommendations.length-1&&(null==u||u.classList.remove("hidden")),this.isSetMode&&this.vviinnProductView.emit(l),clearTimeout(f)}),r)}},this.renderRecommendationGroups=e=>e.map((e=>t("div",{class:L,part:L},e)))}getProductData(t,e){return Object.assign({productId:t.productId,productRank:e,productName:t.productTitle,productType:t.productType,campaignTypeId:this.campaignTypeId,campaignTypeName:l[this.campaignTypeId],widgetVersion:this.widgetVersion},s("widgetId",this.widgetElementId))}getMaxScrollIndex(){if(this.isGridMode)return Math.max(0,Math.ceil(this.recommendations.length/this.columns)-1);const t=this.getContentNode();if(!t||t.scrollWidth<=t.clientWidth)return 0;const e=t.scrollWidth-t.clientWidth,r=this.getItemWidth()+this.contentGap;return r>0?Math.ceil(e/r):0}isFirst(){return 0===this.currentScrollIndex}isLast(){return this.currentScrollIndex>=this.getMaxScrollIndex()}connectedCallback(){this.setItemWidth(),this.isSetMode="set"===this.mode,this.isGridMode="grid"===this.mode,this.isContinuityMode="continuity"===this.mode}disconnectedCallback(){const t=this.getContentNode();t&&(this.scrollEndHandler&&t.removeEventListener("scrollend",this.scrollEndHandler),this.scrollHandler&&t.removeEventListener("scroll",this.scrollHandler)),this.resizeObserver.disconnect()}componentDidUpdate(){this.replaceSlotsContent()}componentWillLoad(){var t,e;this.isRTL="rtl"===document.dir,this.updateColumnsNumber(),this.isSetMode&&(null===(t=this.recommendations)||void 0===t?void 0:t.length)>0&&this.recommendationsWatcher(),(null===(e=this.recommendations)||void 0===e?void 0:e.length)>0&&!this.showContent&&!this.loading&&(this.showContent=!0)}componentDidLoad(){this.setWidth();const t=this.el.querySelector(".content");this.mutationObserver.observe(t,{subtree:!0,childList:!0}),this.resizeObserver.observe(this.getHostParent()),this.updateContentGap();const e=this.getContentNode();this.scrollEndHandler=()=>{this.updateCurrentScrollIndex(e)},e.addEventListener("scrollend",this.scrollEndHandler),this.isGridMode||(this.scrollHandler=()=>{this.updateCurrentScrollIndex(e)},e.addEventListener("scroll",this.scrollHandler)),n(this)}recommendationsWatcher(){this.isSetMode&&(this.setModeDiscount=this.setModeDiscountsArray[0],this.setModeMaxDiscount=this.setModeDiscountsArray[this.setModeDiscountsArray.length-1],this.recommendations.length>=this.columns?this.crossSellingRecommendations=this.recommendations.slice(0,this.columns):this.recommendations.length>0&&(this.crossSellingRecommendations=[...this.recommendations]))}updatingAllCardsWatcher(){this.updatingAllCards&&this.crossSellingRecommendations.forEach((t=>{this.updateCard(t.productId,this.columns,this.defaultAnimationInterval)}))}onLoadingChange(t){t?this.showContent=!1:setTimeout((()=>{this.showContent=!0}),200)}crossSellingClickListener({detail:t}){const{animationInterval:e,productData:r}=t;this.updateCard(r.productId,this.columns,e)}getItemWidthFromDocument(){return parseInt(getComputedStyle(document.body).getPropertyValue(W))}async setModeAddToBasketHandler({detail:t}){if(!this.isSetMode)return;const{productId:e}=t;this.setModeAppliedDiscounts.hasOwnProperty(e)||(this.setModeAppliedDiscounts=Object.assign(Object.assign({},this.setModeAppliedDiscounts),{[e]:this.setModeDiscount}),this.setModeDiscount===this.setModeMaxDiscount||(this.currentDiscountIndex+=1,this.setModeDiscount=this.setModeDiscountsArray[this.currentDiscountIndex]))}setItemWidth(){const t=this.getItemWidthFromDocument(),e=isNaN(t)?this.imageWidth:t;this.el.style.setProperty(W,`${e}px`)}setImageWidthSetMode(t){this.el.style.setProperty(A,t)}getContentClassMap(){return{content:!0,[this.moveDirection]:!0,[this.mode]:!0,"show-scrollbar":!this.isSetMode&&this.showScroll}}getBodyClassMap(){return{body:!0,"append-slider":this.isAppended,"empty-results":this.isEmptyResults()}}handleResize(){this.updateColumnsNumber(),this.setWidth(),this.setItemWidth(),this.updateContentGap()}getItemWidth(){var t;const e=this.getContentNode(),r=null===(t=null==e?void 0:e.children)||void 0===t?void 0:t[0];return r?r.getBoundingClientRect().width:this.imageWidth}calculateMoveStep(){if(this.isGridMode){const t=this.getContent().filter((t=>!t.matches("button"))).map((t=>t.getBoundingClientRect().width));return t.reduce(((t,e)=>t+e),0)/t.length+this.contentGap}return this.getItemWidth()+this.contentGap}getHostParent(){return this.el.parentNode.host.parentElement}setWidth(){const t=this.getHostParent();if(!t)return;const e=getComputedStyle(t),r=t.getBoundingClientRect().width-(parseInt(e["padding-right"])+parseInt(e["padding-left"]));this.el.style.setProperty(P,`${r}px`)}getParent(){return this.el.parentNode.host.parentElement}cloneSlottedContent(){this.setWidth()}getContentNode(){return this.el.querySelector(".content")}getContent(){const t=this.getContentNode().children;return Array.from(t).map((t=>t))}updateContentGap(){this.contentGap=g.pipe(window.getComputedStyle(this.getContentNode()),(t=>t.getPropertyValue("gap")),(t=>parseInt(t.split("px")[0])),(t=>isNaN(t)?0:t))}updateColumnsNumber(){if(this.isSetMode)return void(this.columns=this.setItemsAmount);const t=getComputedStyle(this.el),e=parseInt(t.getPropertyValue(V));if(!e||isNaN(e)){const e=parseInt(t.getPropertyValue(R));this.columns=e>=1?e:F}else this.columns=e}handleCarouselButtonClick(t){this.moveDirection=t;const e=this.getContentNode(),r=this.calculateMoveStep();let n=this.currentScrollIndex+("right"===t?1:-1);if(n=Math.max(0,Math.min(this.getMaxScrollIndex(),n)),this.currentScrollIndex=n,this.isContinuityMode){const i=e.scrollWidth-e.clientWidth;let o=r*n;return"right"===t&&o>i-N&&(o=i),void requestAnimationFrame((()=>{e.scrollTo({top:0,left:o,behavior:"smooth"})}))}requestAnimationFrame((()=>{e.scrollTo({top:0,left:r*n,behavior:"smooth"})}))}scroll(t){const e=this.getContentNode();this.currentScrollIndex=t,requestAnimationFrame((()=>{e.scrollTo({top:0,left:this.calculateMoveStep()*t,behavior:"smooth"})}))}showBullets(){return!this.loading&&this.isGridMode&&this.showScroll}showScrollbar(){return!this.loading&&this.isContinuityMode&&this.showScroll}showArrowButtons(){var t;return this.showContent&&!!(null===(t=this.recommendations)||void 0===t?void 0:t.length)&&!this.isSetMode}getClassMap(){return{[this.mode]:!0,"show-scrollbar":this.showScrollbar()}}renderRecommendation(e,r){var n,i,o,a,l,s;const c=this.setModeAppliedDiscounts[e.productId],u=(f=null===(n=e.price)||void 0===n?void 0:n.actual,Math.round(f*(1-(null!=c?c:this.setModeDiscount)/100)*100)/100);var f;return t("vviinn-product-card",{index:r,productId:e.productId,product:e,productTitle:e.title,productType:e.productType,entityType:e.entityType,deeplink:e.deeplink,image:null!==(o=null===(i=e.image)||void 0===i?void 0:i.thumbnail)&&void 0!==o?o:null===(a=e.image)||void 0===a?void 0:a.original,images:e.images,showMultipleImages:this.showMultipleImages,disableMobileSwiper:!0,brand:e.brand,imageWidth:this.imageWidth,imageResolutionWidth:this.imageResolutionWidth,price:e.price.actual,salePrice:this.isSetMode?u:e.price.sale,basePrice:null===(l=e.basePrice)||void 0===l?void 0:l.actual,baseSalePrice:null===(s=e.basePrice)||void 0===s?void 0:s.sale,responsive:this.isGridMode||this.isSetMode,campaignTypeId:this.campaignTypeId,widgetElementId:this.widgetElementId,widgetVersion:this.widgetVersion,addToBasketShow:this.addToBasketShow,"data-id":e.productId,energyCertifications:e.energyCertifications,updatingAllCards:this.updatingAllCards,defaultAnimationInterval:this.defaultAnimationInterval,updateButtonLocation:this.updateButtonLocation,appliedDiscountPercentage:c,currentDiscountPercentage:this.setModeDiscount,currencySign:this.currencySign,pricePrefix:this.pricePrefix,locale:this.locale,numberLocale:this.numberLocale,isSetMode:this.isSetMode,customLabels:B(e),addPriceContainer:this.addPriceContainer,favoriteShow:this.favoriteShow})}renderRecommendations(){return this.isGridMode?this.renderGrid():this.renderRecommendationsElements()}renderGrid(){return this.loading||!this.showContent?this.renderSkeletonContainer():this.renderSliderContent()}renderRecommendationsElements(){return(this.isSetMode?this.crossSellingRecommendations:this.recommendations).map(((t,e)=>this.renderRecommendation(t,e)))}renderSkeletonContainer(){return t("div",{part:L,class:{[L]:!0}},Array.from({length:this.columns}).map(((e,r)=>t("vviinn-product-card",{loading:!0,responsive:!0,productTitle:"",productId:`skeleton-${r}`,key:`skeleton-${r}`}))))}renderSliderContent(){const t=this.renderRecommendationsElements(),e=c.chunksOf(this.columns)(t);return this.renderRecommendationGroups(e)}renderBullets(){const e=Math.ceil(this.recommendations.length/this.columns);return Array.from(Array(e).keys()).map((e=>t("div",{class:{bullet:!0,active:this.currentScrollIndex===e},onClick:()=>this.scroll(e)})))}isEmptyResults(){return this.hasErrorOnLoad||0===this.recommendations.length&&!this.loading}updateCurrentScrollIndex(t){if(!t)return;let e;if(this.isGridMode){const r=this.calculateMoveStep();e=Math.round(t.scrollLeft/r)}else if(t.scrollWidth-t.clientWidth-t.scrollLeft<N)e=this.getMaxScrollIndex();else{const r=this.getItemWidth()+this.contentGap;e=Math.round(t.scrollLeft/r)}this.currentScrollIndex=Math.max(0,Math.min(this.getMaxScrollIndex(),e))}render(){var e,r,n,a,l;return t(o,{key:"c5f34b585ae2cf1307d3011db185fcb038a807b6",class:this.getClassMap()},t("div",{key:"098746eefad49ac0cf2bdac38e74fdc53d3b2313",class:Object.assign(Object.assign({},this.getClassMap()),this.getBodyClassMap())},this.isSetMode&&this.crossSellingRecommendations.length>0&&t("vviinn-product-card",{key:"3fe540bbe42a9fd21c5fb1a79d8f8949c9ef08a7",class:"set-mode product-card--source",productTitle:this.sourceProduct.title,image:null!==(r=null===(e=this.sourceProduct.image)||void 0===e?void 0:e.thumbnail)&&void 0!==r?r:null===(n=this.sourceProduct.image)||void 0===n?void 0:n.original,images:this.sourceProduct.images,showMultipleImages:this.showMultipleImages,disableMobileSwiper:!0,entityType:this.sourceProduct.entityType,price:this.sourceProduct.price.actual,salePrice:this.sourceProduct.price.sale,basePrice:null===(a=this.sourceProduct.basePrice)||void 0===a?void 0:a.actual,baseSalePrice:null===(l=this.sourceProduct.basePrice)||void 0===l?void 0:l.sale,addPriceContainer:this.addPriceContainer,imageWidth:300,imageResolutionWidth:this.imageResolutionWidth,isSourceProduct:!0,currencySign:this.currencySign,pricePrefix:this.pricePrefix,isSetMode:this.isSetMode,locale:this.locale,numberLocale:this.numberLocale,favoriteShow:this.favoriteShow,customLabels:B(this.sourceProduct),responsive:!0}),t("div",{key:"f22aa5a751ee14cdd305193280ec61bbb8fffc8b",class:this.getContentClassMap()},this.renderRecommendations(),this.showArrowButtons()&&t(i,{key:"e6a14ce9e7c409cac09d16a0d35b65e70cfff007"},t("button",{key:"8fb9606e5ba9aecf18252422243f9c4072397a9f",class:{prev:!0,"grid-arrows-dynamic":this.gridArrowsDynamic&&this.isGridMode},onClick:()=>this.handleCarouselButtonClick("left"),part:"carousel-button carousel-button-prev",disabled:this.isFirst(),"aria-label":S.t("buttons.previous")},t(zt,{key:"70aeaed3d65ebb2344f964f8bfba34f67de1c97a"})),t("button",{key:"edd35c95f6404725cdfe9548f24fc555efe5b21d",class:"next",onClick:()=>this.handleCarouselButtonClick("right"),part:"carousel-button carousel-button-next",disabled:this.isLast(),"aria-label":S.t("buttons.next")},t(zt,{key:"e5af48de0f6c1f95dfaaf577ca930a233f8eb488"}))))),this.showBullets()&&t("div",{key:"b0957a0f30c6a43c71198780d650413c4c28c1d3",class:"bullets"},this.renderBullets()))}get el(){return a(this)}static get watchers(){return{recommendations:["recommendationsWatcher"],updatingAllCards:["updatingAllCardsWatcher"],loading:["onLoadingChange"]}}};Bt.style=":host{}.body{display:flex;position:relative;width:var(--vviinn-carousel-content-width);flex-direction:column}.body.append-slider{min-height:calc(var(--product-card-calculated-height) + 24px)}.body.append-slider.empty-results{min-height:unset}.bullets{display:flex;flex-direction:row;grid-gap:24px;justify-content:center}.bullet{width:10px;height:10px;background:#e0e0e0;border-radius:50%;cursor:pointer}.bullet.active{background:#161616}.content{display:flex;flex-direction:row;gap:8px;overflow-y:hidden;overflow-x:auto;flex-grow:1;scrollbar-width:thin}:host(.continuity) .content,:host(.grid) .content{padding-bottom:16px}.content:not(.show-scrollbar),.content.grid{scrollbar-color:#fff0 #fff0}content. .content:not(.show-scrollbar)::-webkit-scrollbar,.content.grid::-webkit-scrollbar{opacity:0}@supports (scrollbar-color: unset){.content.continuity,:host(.set){scrollbar-color:transparent transparent}.content.continuity:hover,:host(.set:hover){scrollbar-color:initial}}.content.left>*{scroll-snap-align:start}.content.right>*{scroll-snap-align:end}:host(.continuity) .prev,:host(.continuity) .next{border-radius:2px}:host(.grid) .prev,:host(.grid) .next{border-radius:50%}.prev,.next{align-items:center;background-color:white;border:none;box-shadow:0px 2px 6px rgba(0, 0, 0, 0.15);fill:#525252;cursor:pointer;display:grid;height:40px;justify-items:center;position:absolute;top:calc(50% - 20px);width:40px;z-index:1;padding:0;margin:0;transition:opacity 0.2s ease-in-out}.next:disabled,.prev:disabled{opacity:0.5;cursor:not-allowed}.next.grid-arrows-dynamic:disabled,.prev.grid-arrows-dynamic:disabled{display:none}.prev svg{transform:rotate(180deg);margin-left:-5px}.prev{left:0}.next{right:0}.items-group{display:grid;grid-gap:16px;grid-template-columns:repeat(var(--vviinn-carousel-columns, 4), 1fr);min-width:100%}.body.set{max-width:100%;justify-content:space-between;margin-left:auto;display:flex;flex-direction:row;gap:112px}.body.set::-webkit-scrollbar{display:none}@media (max-width: 768px){.body.set{gap:40px}}@media (max-width: 480px){.items-group{grid-template-columns:repeat(2, 1fr)}}.content.set{grid-gap:20px;height:-moz-fit-content;height:fit-content;max-width:-moz-fit-content;max-width:fit-content;overflow:unset}";const Nt=class{constructor(t){e(this,t),this.iconDirection="right"}componentWillLoad(){st(this,this.el)}getEnergyIconAltText(){var t,e;return this.certificationClass&&(null===(t=this.classRange)||void 0===t?void 0:t.min)&&(null===(e=this.classRange)||void 0===e?void 0:e.max)?S.t("energyLabel.iconAltWithClass",{energyClass:this.certificationClass,minClass:this.classRange.min,maxClass:this.classRange.max}):this.certificationClass?S.t("energyLabel.iconAltWithClassOnly",{energyClass:this.certificationClass}):S.t("energyLabel.iconAlt")}render(){return t(o,{key:"f311f7c89f27a7dd90a8198284b179fe6e04cb3f",class:{hidden:!this.classIconUrls&&!this.productType&&!this.classDataSheetUrl},exportparts:dt},t("div",{key:"d20b22eaca0f7121a09f20e9a1a8e16ae8c77a16",class:"container",part:"energy-label-container"},!!this.classIconUrls&&t("img",{key:"4551fc562d643b825ff489ebd4fcf51812479862",class:"class-label-icon",part:"energy-label-icon",src:this.classIconUrls[this.iconDirection],alt:this.getEnergyIconAltText()}),(this.productType||this.classDataSheetUrl)&&t("div",{key:"3260e0e590ed46c72daf3b06075a153c23ed0c51",class:"info-container"},this.productType&&t("span",{key:"be310b1e00cc1b279d58ce2d56cee9803622f01b",class:"product-type",part:"energy-label-product-type"},this.productType),this.classDataSheetUrl&&t("a",{key:"2e4f3d3985d11d7b2bba729b6c1816af866cafdc",class:"data-sheet-link",part:"energy-label-data-sheet-link",href:this.classDataSheetUrl,target:"_blank",rel:"noopener noreferrer"},t("slot",{key:"ca584e501471e5d6bc9c76f7d3767910ed645016",name:"vviinn-energy-label-data-sheet-text"},S.t("energyLabel.dataSheetText"))))))}get el(){return a(this)}};Nt.style=":host{--font-family-base:Inter, system-ui, sans-serif;--font-family-mono:monospace;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;--font-size-display:32px;--font-size-title:24px;--font-size-headline:18px;--font-size-label-large:16px;--font-size-label:14px;--font-size-body-large:16px;--font-size-body:14px;--font-size-caption:12px;--line-height-display:40px;--line-height-title:32px;--line-height-headline:24px;--line-height-label-large:24px;--line-height-label:20px;--line-height-body-large:24px;--line-height-body:20px;--line-height-caption:16px;--letter-spacing-title:0px;--letter-spacing-headline:0px;--letter-spacing-label-large:0px;--letter-spacing-label:0px;--letter-spacing-body-large:0px;--letter-spacing-body:0px;--letter-spacing-caption:0px;--font-weight-400:400;--font-weight-500:500;--font-weight-600:600;--font-weight-700:700;--spacing-none:0px;--spacing-25:2px;--spacing-50:4px;--spacing-75:6px;--spacing-100:8px;--spacing-125:10px;--spacing-150:12px;--spacing-200:16px;--spacing-250:20px;--spacing-300:24px;--spacing-400:32px;--spacing-500:40px;--spacing-600:48px;--border-radius-none:0px;--border-radius-25:2px;--border-radius-50:4px;--border-radius-100:8px;--border-radius-150:12px;--border-radius-200:16px;--border-radius-300:24px;--border-radius-400:32px;--border-radius-full:9999px;--stroke-width-none:0px;--stroke-width-25:1px;--stroke-width-50:2px;--stroke-width-75:3px;--stroke-width-100:4px;--stroke-width-150:6px;--stroke-width-200:8px;--stroke-width-300:12px;--product-card-widget-min-width:135px;--product-card-results-min-width:250px;--image-set-mode-min-width:155px;--source-card-set-mode-max-width:500px;--filter-blur-none:0px;--filter-blur-100:8px;--filter-blur-150:12px;--filter-blur-200:16px;--color-bg-base:#ffffff;--color-bg-inverse:#161616;--color-border-00:#ffffff;--color-border-01:#f4f4f4;--color-border-02:#e0e0e0;--color-border-03:#c6c6c6;--color-border-inverse-00:#161616;--color-border-inverse-01:#393939;--color-field-01:#ffffff;--color-field-02:#f4f4f4;--color-icon-primary:#161616;--color-icon-secondary:#525252;--color-icon-helper:#8d8d8d;--color-icon-on-color:#ffffff;--color-icon-inverse:#ffffff;--color-icon-disabled:#16161640;--color-text-primary:#161616;--color-text-secondary:#707070;--color-text-helper:#8d8d8d;--color-text-placeholder:#a8a8a8;--color-text-on-color:#ffffff;--color-text-inverse:#ffffff;--color-text-disabled:#16161640;--button-bg-color-primary:#000000;--button-bg-color-primary-hover:#161616;--button-bg-color-primary-active:#1e1e1e;--button-bg-color-secondary:#f4f4f4;--button-bg-color-secondary-hover:#e0e0e0;--button-bg-color-secondary-active:#c6c6c6;--button-bg-color-ghost-hover:#f4f4f4;--button-bg-color-ghost-active:#eaeaea;--button-bg-color-frosted:#6f6f6f66;--button-bg-color-frosted-hover:#6f6f6f80;--button-bg-color-frosted-active:#6f6f6f99;--button-bg-color-disabled:#e0e0e0;--button-bg-color-positive:#dcfce7;--surface-bg-color-01:#f4f4f4;--surface-bg-color-01-hover:#eaeaea;--surface-bg-color-01-active:#e0e0e0;--surface-bg-color-02:#ffffff;--surface-bg-color-inverse:#262626;--surface-bg-color-inverse-hover:#303030;--surface-bg-color-inverse-active:#393939;--surface-bg-color-disabled:#e0e0e0;--surface-bg-color-shadow-01:#dddddd;--surface-bg-color-shadow-02:#c6c6c6;--chip-bg-color-primary:#161616;--chip-bg-color-primary-hover:#1e1e1e;--chip-bg-color-primary-active:#262626;--chip-bg-color-subtle:#f4f4f4;--chip-bg-color-subtle-hover:#eaeaea;--chip-bg-color-subtle-active:#e0e0e0;--chip-bg-color-outline-hover:#f4f4f4;--chip-bg-color-outline-active:#eaeaea;--label-bg-color-accent:#ff3944;--sidebar-animation-duration-default:0.5s;--search-modal-animation-duration-default:0.25s;--search-modal-animation-duration-mobile-default:0.35s;}:host{display:contents;line-height:0px}:host(.hidden){display:none}.container{display:flex;flex-direction:row;max-width:100%;gap:var(--spacing-75);justify-content:var(\n --product-card-content-align,\n var(--product-card-content-align-default)\n );align-items:center}.info-container{width:-moz-fit-content;width:fit-content;height:100%;display:flex;justify-content:center;text-align:left;flex-direction:column;font-size:var(--font-size-caption);font-weight:var(--font-weight-400);line-height:var(--line-height-caption);letter-spacing:var(--letter-spacing-caption);font-style:normal}.class-label-icon{display:inline-block;height:32px;width:auto;flex-shrink:0}.product-type,.data-sheet-link{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;overflow-wrap:anywhere;overflow:hidden;text-overflow:ellipsis;text-decoration:none;color:var(--color-text-primary)}.product-type{color:var(--color-text-secondary)}.data-sheet-link{display:none;cursor:pointer;text-decoration:none;color:var(--color-text-primary)}";const Dt=t=>t&&"values"in t?t.values:t&&"histogram"in t?t.histogram:[],$t=(t,e)=>{const r=t.find((t=>t.column===e));return null==r?void 0:r.values[0]},Ht=class{constructor(t){e(this,t),this.vviinnFiltersChanged=r(this,"vviinnFiltersChanged"),this.vviinnFilterTriggered=r(this,"vviinnFilterTriggered"),this.globalSlotsChanged=r(this,"globalSlotsChanged"),this.vviinnSelectedFiltersReset=r(this,"vviinnSelectedFiltersReset"),this.vviinnExtendedFiltersButtonClicked=r(this,"vviinnExtendedFiltersButtonClicked"),this.mode="button",this.showHeader=!0,this.searchThreshold=0,this.filtersString="",this.showInWidget=!1,this.showingInButton=!1,this.showIntervalInputs=!1,this.innerFilters=[],this.requestFilters=[],this.showMore=!1,this.selectedMoreOptions=[],this.displayedOptionsCount=new Map,this.searchTerm="",this.skipStateChanges=t=>this.showInWidget!==t,this.getFilters=()=>this.innerFilters.length?this.innerFilters:this.state.dynamicFilters,this.handleSearchInput=t=>{this.searchTerm=t},this.handleModalKeyDown=t=>{"Escape"===t.key&&this.showMore&&(t.preventDefault(),this.handleCloseModal())},this.handleSelectedFiltersReset=({detail:t})=>{this.skipStateChanges(t.isTriggeredByVpsWidget)||(this.requestFilters=[],this.innerFilters=[],this.showMore=!1,this.resetOptionsInteractions())},this.handleCloseModal=()=>{var t;this.showMore=!1,this.resetOptionsInteractions(),this.announceFilterChange(S.t("a11y.filterDialogClosed")),null===(t=this.triggerElement)||void 0===t||t.focus()},this.resetModal=()=>{D(this.getFilterEventData()),this.vviinnSelectedFiltersReset.emit(this.getEventTriggerData()),this.handleCloseModal()},this.handleExtendedFiltersButtonClicked=({detail:t})=>{const{isTriggeredByVpsWidget:e,triggerElement:r}=t;this.skipStateChanges(e)||(this.triggerElement=r,this.showMore=!0)},this.handleSubFilterSelection=(t,e)=>{this.requestFilters=$(Object.assign({filterValue:t,selectedFilter:e,requestFilters:this.requestFilters},this.getFilterEventData()))},this.handleFiltersChanged=({detail:t})=>{const{filters:e,el:r,isTriggeredByVpsWidget:n}=t;r===this.el||this.skipStateChanges(n)||(this.requestFilters=e)},this.intervalFilterChangeHandler=(t,e)=>{const r=this.getFilters().find((t=>t.column===e));r&&this.handleSubFilterSelection(t,r)},this.isKeyboardClick=t=>0===t.clientX&&0===t.clientY,this.getEventTriggerData=()=>({isTriggeredByVpsWidget:this.showInWidget}),this.getFilterEventData=()=>Object.assign({vviinnFilterTriggered:this.vviinnFilterTriggered,vviinnFiltersChanged:this.vviinnFiltersChanged,el:this.el},this.getEventTriggerData())}resetOptionsInteractions(){this.displayedOptionsCount=new Map,this.selectedMoreOptions=[],this.searchTerm=""}announceFilterChange(t){H(t,this.filterAnnouncementRef)}replaceSlotsContent(){const t=this.el.querySelectorAll("[slot]");this.globalSlotsChanged.emit({slots:Array.from(t),element:this.el})}showMoreWatcher(t){this.vviinnFilterTriggered.emit(Object.assign({action:t?"open":"close"},this.getEventTriggerData())),t&&(this.announceFilterChange(S.t("a11y.filterDialogOpened")),setTimeout((()=>{const t=this.el.shadowRoot.querySelector(".filters-modal-close");null==t||t.focus()}),10))}selectedMoreOptionsWatcher(t){this.isPreviewInlineMode&&t.length>0&&setTimeout((()=>{const t=this.el.shadowRoot.querySelector(".filters-search-input");null==t||t.focus()}),10)}componentDidRender(){this.replaceSlotsContent()}componentWillRender(){const t=this.getFilters();if(!t.length)return;const e=new Map(this.displayedOptionsCount);let r=!1;t.forEach((({column:t})=>{e.has(t)||(e.set(t,8),r=!0)})),r&&(this.displayedOptionsCount=e)}async componentWillLoad(){await ht(this.locale),st(this,this.el)}initializeDisplayedOptions(t){this.displayedOptionsCount.has(t)||this.displayedOptionsCount.set(t,8)}showMoreOptions(t,e){const r=this.displayedOptionsCount.get(t)||8,n=Math.min(r+5,e);this.displayedOptionsCount=new Map(this.displayedOptionsCount),this.displayedOptionsCount.set(t,n)}renderModal(e){return t("div",{class:`filters-modal ${this.mode} ${this.showMore?"open":""}`,part:"extended-filters-modal",role:"dialog","aria-labelledby":"filters-modal-title",onKeyDown:this.handleModalKeyDown},t("aside",{class:"filters-modal-wrapper",part:"extended-filters-modal-wrapper"},t("div",{class:{"filters-modal-header":!0,"show-header-content":this.showHeader},part:"extended-filters-header"},this.showHeader&&t(i,null,t("h2",{id:"filters-modal-title",class:"filters-modal-title",part:"extended-filters-title"},t("slot",{name:"vviinn-extended-filters-title"},S.t("filters.modal.title"))),t("button",{class:"filters-modal-close",onClick:this.handleCloseModal,part:"extended-filters-modal-close","aria-label":S.t("a11y.closeDialog"),type:"button"},t(At,null)))),t("div",{class:"filters-modal-main",part:"extended-filters-main"},0===e.length&&"loading"!==this.state.searchStatus?t("div",{class:"filters-modal-no-filters-message",part:"extended-filters-no-filters"},t("slot",{name:"vviinn-extended-filters-no-filters"},S.t("filters.modal.noFiltersMessage"))):t("ul",{class:"filters-modal-list",part:"extended-filters-list"},(null!=e?e:[]).map((r=>{var n;const i=r.column,o=Dt(r),a=this.selectedMoreOptions.includes(r.column),l=this.requestFilters.find((({column:t})=>t===i)),s=[];null===(n=null==l?void 0:l.values)||void 0===n||n.forEach((n=>{var a;if("interval"===r.type){const r=e.find((t=>t.column===i)),o=Z(r,n,null!==(a=this.currencySign)&&void 0!==a?a:T.currencySign);o&&s.push(t("span",null,o))}else{const e=o.findIndex((t=>{var e;return(null!==(e=t.value.value)&&void 0!==e?e:t.value)===n}));e>-1&&s.push(t("span",null,o[e].label))}}));const c=this.isPreviewInlineMode&&"interval"!==r.type&&o.length>=this.searchThreshold;return t("li",{class:"extended-filters-row",part:"extended-filters-row"},t("div",{class:"filters-modal-main-button-wrapper "+(a?"open":""),part:"extended-filters-row-wrapper"},t("button",{onClick:t=>{this.isPreviewInlineMode&&t.stopPropagation(),this.handleMoreOptionsMainClick(r.column,t)},class:"filters-modal-main-button",part:"extended-filters-main-button","aria-expanded":a?"true":"false",type:"button"},t("span",null,r.label),!this.isPreviewInlineMode&&s.length>0&&t("div",{class:"filters-modal-main-button-added-options",part:"extended-filters-selected-wrapper"},s),t(St,null)),a?t("div",{class:"filters-search-container",part:"filters-search-container"},c&&(({searchTerm:e,onSearchInput:r,placeholder:n="Start Search...",iconSlot:i})=>t("div",{class:"filters-search-input-container",part:"filters-search-input-container"},t("div",{class:"filters-search-icon",part:"filters-search-icon"},t("slot",{name:"vviinn-filters-search-icon"},i||t(Tt,null))),t("input",{type:"text",placeholder:n,class:"filters-search-input",part:"filters-search-input",value:e,onInput:t=>r(t.target.value)})))({searchTerm:this.searchTerm,onSearchInput:this.handleSearchInput,placeholder:S.t("filters.search.placeholder")}),t("ul",{class:"filters-modal-sub-list",part:"extended-filters-sub-list"},"interval"===r.type?t("vviinn-range-filter",{histogram:o,intervalChangeHandler:t=>this.intervalFilterChangeHandler(t,r.column),selectedInterval:$t(this.requestFilters,r.column),showCurrency:q(r.column),currencySign:this.currencySign,showIntervalInputs:this.showIntervalInputs}):this.renderFilterOptions(r,o))):null))}))),(null==e?void 0:e.length)>0&&t("div",{class:"filters-modal-actions",part:"extended-filters-actions"},"button"===this.mode&&t("button",{class:"filters-modal-apply",onClick:()=>this.showMore=!1,disabled:0===this.requestFilters.length,part:"extended-filters-apply",type:"button"},t("slot",{name:"vviinn-extended-filters-apply"},S.t("filters.modal.apply"))),t("button",{class:"filters-modal-reset",onClick:this.resetModal,part:"extended-filters-reset",type:"button"},t("slot",{name:"vviinn-extended-filters-reset"},S.t("filters.modal.resetFilters")))))))}renderFilterOptions(e,r){const{column:n}=e,o="categorical"===e.type?((t,e)=>{if(!e.trim())return t;const r=e.toLowerCase().trim();return t.filter((({label:t})=>t.toLowerCase().includes(r)))})(r,this.searchTerm):r;let a;this.isPreviewInlineMode?a=o.length:(this.initializeDisplayedOptions(n),a=this.displayedOptionsCount.get(n)||8);const l=o.slice(0,a),s=a<o.length;return t(i,null,l.map((({value:t,label:r,active:n})=>{const i=U(this.requestFilters,t,e);return J({handleSubFilterSelection:this.handleSubFilterSelection,selectedFilter:e,showColorLabel:this.isPreviewInlineMode,value:t,label:r,active:n,isSelected:i})})),s&&t("li",{role:"listitem"},t("button",{onClick:()=>this.showMoreOptions(n,o.length),class:"filters-more-modal-button",part:"filters-option-button",type:"button","aria-label":S.t("a11y.showMoreOptions",{count:o.length-a,label:e.label})},t(St,null))))}handleMoreOptionsMainClick(t,e){this.selectedMoreOptions.includes(t)?(this.selectedMoreOptions=[...this.selectedMoreOptions.filter((e=>e!==t))],this.displayedOptionsCount=new Map(this.displayedOptionsCount),this.displayedOptionsCount.delete(t)):(this.vviinnFilterTriggered.emit(Object.assign({action:"show",kind:t},this.getEventTriggerData())),this.selectedMoreOptions=this.isPreviewInlineMode?[t]:[...this.selectedMoreOptions,t],this.isPreviewInlineMode&&e&&this.applyModalPositioning(e)),this.searchTerm=""}filtersStringWatcher(){if(""!==this.filtersString)try{this.innerFilters=JSON.parse(this.filtersString)}catch(t){console.error("Invalid filters string",t)}}connectedCallback(){const{state:t,onChange:e}=u(this.showInWidget);this.state=t,this.isPreviewInlineMode="preview-inline"===this.mode,Y(t,e,(t=>this.requestFilters=t)),this.eventAbortController=new AbortController;const{signal:r}=this.eventAbortController;ct(document,[["vviinnFiltersChanged",this.handleFiltersChanged],["vviinnSelectedFiltersReset",this.handleSelectedFiltersReset],..."preview"!==this.mode?[["vviinnExtendedFiltersButtonClicked",this.handleExtendedFiltersButtonClicked]]:[]],r),this.filtersStringWatcher()}disconnectedCallback(){var t;null===(t=this.eventAbortController)||void 0===t||t.abort()}applyModalPositioning(t){const e=t.target.closest(".extended-filters-row");e&&requestAnimationFrame((()=>{(t=>{const e=t.querySelector(".filters-modal-main-button-wrapper");e&&(e.classList.remove("align-right"),(t=>{const e=t.getBoundingClientRect(),r=window.innerWidth;return e.left+e.width/2>r/2})(t)&&e.classList.add("align-right"))})(e)}))}bodyMouseDownListener(t){"preview"===this.mode||this.isKeyboardClick(t)||ut(t,".filters-modal-list")||(this.showMore||this.isPreviewInlineMode&&this.selectedMoreOptions.length>0)&&(this.isPreviewInlineMode?this.selectedMoreOptions=[]:this.handleCloseModal())}render(){const e=this.getFilters();return t(o,{key:"f2f23f0f4e997ff8ec7b00a96a84ba4ea18f5d3f",class:{"show-in-widget":this.showInWidget},exportParts:vt},t("div",{key:"57de996421fe25deb1cc484bc0ea2598e7dfb3c1",ref:t=>this.filterAnnouncementRef=t,"aria-live":"polite",class:"sr-only"}),ft("filters"),(null==e?void 0:e.length)>0&&"button"===this.mode&&t("vviinn-extended-filters-button",{key:"0219f9a675885f280eb93cbaab4fb426af18e029"}),this.renderModal(e))}get el(){return a(this)}static get watchers(){return{showMore:["showMoreWatcher"],selectedMoreOptions:["selectedMoreOptionsWatcher"],filtersString:["filtersStringWatcher"]}}};Ht.style=':host{--font-family-base:Inter, system-ui, sans-serif;--font-family-mono:monospace;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;--font-size-display:32px;--font-size-title:24px;--font-size-headline:18px;--font-size-label-large:16px;--font-size-label:14px;--font-size-body-large:16px;--font-size-body:14px;--font-size-caption:12px;--line-height-display:40px;--line-height-title:32px;--line-height-headline:24px;--line-height-label-large:24px;--line-height-label:20px;--line-height-body-large:24px;--line-height-body:20px;--line-height-caption:16px;--letter-spacing-title:0px;--letter-spacing-headline:0px;--letter-spacing-label-large:0px;--letter-spacing-label:0px;--letter-spacing-body-large:0px;--letter-spacing-body:0px;--letter-spacing-caption:0px;--font-weight-400:400;--font-weight-500:500;--font-weight-600:600;--font-weight-700:700;--spacing-none:0px;--spacing-25:2px;--spacing-50:4px;--spacing-75:6px;--spacing-100:8px;--spacing-125:10px;--spacing-150:12px;--spacing-200:16px;--spacing-250:20px;--spacing-300:24px;--spacing-400:32px;--spacing-500:40px;--spacing-600:48px;--border-radius-none:0px;--border-radius-25:2px;--border-radius-50:4px;--border-radius-100:8px;--border-radius-150:12px;--border-radius-200:16px;--border-radius-300:24px;--border-radius-400:32px;--border-radius-full:9999px;--stroke-width-none:0px;--stroke-width-25:1px;--stroke-width-50:2px;--stroke-width-75:3px;--stroke-width-100:4px;--stroke-width-150:6px;--stroke-width-200:8px;--stroke-width-300:12px;--product-card-widget-min-width:135px;--product-card-results-min-width:250px;--image-set-mode-min-width:155px;--source-card-set-mode-max-width:500px;--filter-blur-none:0px;--filter-blur-100:8px;--filter-blur-150:12px;--filter-blur-200:16px;--color-bg-base:#ffffff;--color-bg-inverse:#161616;--color-border-00:#ffffff;--color-border-01:#f4f4f4;--color-border-02:#e0e0e0;--color-border-03:#c6c6c6;--color-border-inverse-00:#161616;--color-border-inverse-01:#393939;--color-field-01:#ffffff;--color-field-02:#f4f4f4;--color-icon-primary:#161616;--color-icon-secondary:#525252;--color-icon-helper:#8d8d8d;--color-icon-on-color:#ffffff;--color-icon-inverse:#ffffff;--color-icon-disabled:#16161640;--color-text-primary:#161616;--color-text-secondary:#707070;--color-text-helper:#8d8d8d;--color-text-placeholder:#a8a8a8;--color-text-on-color:#ffffff;--color-text-inverse:#ffffff;--color-text-disabled:#16161640;--button-bg-color-primary:#000000;--button-bg-color-primary-hover:#161616;--button-bg-color-primary-active:#1e1e1e;--button-bg-color-secondary:#f4f4f4;--button-bg-color-secondary-hover:#e0e0e0;--button-bg-color-secondary-active:#c6c6c6;--button-bg-color-ghost-hover:#f4f4f4;--button-bg-color-ghost-active:#eaeaea;--button-bg-color-frosted:#6f6f6f66;--button-bg-color-frosted-hover:#6f6f6f80;--button-bg-color-frosted-active:#6f6f6f99;--button-bg-color-disabled:#e0e0e0;--button-bg-color-positive:#dcfce7;--surface-bg-color-01:#f4f4f4;--surface-bg-color-01-hover:#eaeaea;--surface-bg-color-01-active:#e0e0e0;--surface-bg-color-02:#ffffff;--surface-bg-color-inverse:#262626;--surface-bg-color-inverse-hover:#303030;--surface-bg-color-inverse-active:#393939;--surface-bg-color-disabled:#e0e0e0;--surface-bg-color-shadow-01:#dddddd;--surface-bg-color-shadow-02:#c6c6c6;--chip-bg-color-primary:#161616;--chip-bg-color-primary-hover:#1e1e1e;--chip-bg-color-primary-active:#262626;--chip-bg-color-subtle:#f4f4f4;--chip-bg-color-subtle-hover:#eaeaea;--chip-bg-color-subtle-active:#e0e0e0;--chip-bg-color-outline-hover:#f4f4f4;--chip-bg-color-outline-active:#eaeaea;--label-bg-color-accent:#ff3944;--sidebar-animation-duration-default:0.5s;--search-modal-animation-duration-default:0.25s;--search-modal-animation-duration-mobile-default:0.35s;}:host{display:block;font-family:var(--font-family, var(--font-family-base));font-style:normal;display:contents;}.filters-modal-list,.sub-filters-wrapper,.main-filters-list,.filters-modal-sub-list,.selected-filters-wrapper{list-style:none;margin:0;padding:0}.main-filters-list{padding:var(--spacing-25);gap:var(--spacing-25);border-radius:8px;background:var(--surface-bg-color-01);display:inline-flex}vviinn-range-filter{width:100%;max-width:500px;padding-bottom:var(--spacing-150)}.filters-search-input-container{position:relative;box-sizing:border-box;width:100%;display:flex;align-items:center}.filters-search-icon{position:absolute;left:var(--spacing-100);color:var(--color-icon-helper);z-index:1;pointer-events:none;display:flex;align-items:center;justify-content:center}.filters-search-input{width:100%;padding:var(--spacing-100) var(--spacing-100) var(--spacing-100)\n var(--spacing-500);border:none;background:var(--color-bg-base);font-family:var(--font-family, var(--font-family-base));font-size:var(--font-size-body);font-weight:var(--font-weight-400);line-height:var(--line-height-body);color:var(--color-text-primary);box-sizing:border-box;outline:none}.filters-search-input::-moz-placeholder{color:var(--color-text-placeholder)}.filters-search-input::placeholder{color:var(--color-text-placeholder)}.filters-modal-main-button,.filters-sub-button,.filters-main-button,.filters-modal-close,.filters-sub-button-selected{font-family:var(--font-family, var(--font-family-base));cursor:pointer;border:none}.filters-sub-button,.filters-main-button{font-size:var(--font-size-body);font-weight:var(--font-weight-400);line-height:var(--line-height-body);letter-spacing:var(--letter-spacing-body);display:flex;justify-content:center;align-items:center;border-radius:6px}.filters-main-button{padding:var(--spacing-100);color:var(--color-text-secondary);background:none;transition:background 0.15s,\n color 0.15s}.filters-main-button.active,.filters-main-button:hover{background:var(--surface-bg-color-02);color:var(--color-text-primary)}.sub-filters-wrapper,.selected-filters-wrapper{gap:var(--spacing-100);display:flex;flex-direction:row;overflow-x:auto;scrollbar-width:thin}.sub-filters-wrapper{align-items:center;gap:var(--spacing-100);margin:16px -2px 0}.sub-filters-wrapper>li{padding:2px}.selected-filters-wrapper{align-items:center;gap:var(--spacing-100);flex-wrap:wrap}.filters-sub-button{color:var(--color-text-primary);background:var(--surface-bg-color-01);padding:var(--spacing-100);gap:var(--spacing-25);height:100%}.filters-sub-button>span,.filters-sub-button-selected>span{display:inline-flex;justify-content:center;align-items:center;gap:var(--spacing-25);white-space:nowrap}.filters-sub-button>span>span,.filters-sub-button-selected>span>span{padding:var(--spacing-25)}.filters-sub-button:hover{background:var(--surface-bg-color-01-hover)}.filters-sub-button:disabled{cursor:not-allowed;background:var(--surface-bg-color-disabled);color:var(--color-text-disabled)}.filters-more-button{display:flex;padding:var(--spacing-100);gap:var(--spacing-50);border-radius:var(--border-radius-100);align-items:flex-start;background-color:var(--button-bg-color-secondary);transition:background-color 0.1s;border:none;cursor:pointer}.filters-more-button:hover{background-color:var(--button-bg-color-secondary-hover)}.filters-modal-wrapper{display:flex;flex-direction:column;background:#ffffff}.filters-modal.button,.filters-modal.modal{display:none;position:fixed;top:0;bottom:0;right:0;left:0;z-index:99999;background-color:rgba(0, 0, 0, 0.5)}.filters-modal.button .filters-modal-wrapper{position:fixed;top:0;bottom:0;right:0;width:420px;z-index:99999;border-radius:var(--border-radius-400) var(--border-radius-none)\n var(--border-radius-none) var(--border-radius-400)}.filters-modal.preview{display:block}.filters-modal.open{display:block}.filters-modal-header{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;color:var(--color-text-primary);text-align:center;border-bottom:1px solid var(--color-border-01)}.filters-modal-header.show-header-content{min-height:64px}.filters-modal-title{margin:0;padding:0;font-size:var(--font-size-headline);font-weight:var(--font-weight-500);line-height:var(--line-height-headline);letter-spacing:var(--letter-spacing-headline)}.filters-modal-no-filters-message{font-size:var(--font-size-caption);color:var(--color-text-secondary);font-weight:var(--font-weight-500);line-height:var(--line-height-caption);letter-spacing:var(--letter-spacing-caption);text-align:center;padding:var(--spacing-300) var(--spacing-200);display:flex;align-items:center;justify-content:center}.filters-modal-main{overflow-y:auto;scrolbar-width:thin}.filters-modal-list{margin:var(--spacing-50) 0 0 var(--spacing-300)}.filters-modal-list>li{padding-right:var(--spacing-300)}.filters-modal:not(.preview-inline) .filters-modal-list>li:not(:last-child) .filters-modal-main-button-wrapper{border-bottom:1px solid var(--color-border-01)}.filters-modal-main-button{position:relative;width:100%;background:none;text-align:left;padding:var(--spacing-200) 0;color:var(--color-text-primary);font-size:var(--font-size-label-large);font-weight:var(--font-weight-500);line-height:var(--line-height-label-large);letter-spacing:var(--letter-spacing-label-large)}.filters-modal-main-button>svg{position:absolute;right:0;top:var(--spacing-200);color:var(--color-icon-helper);transform:rotate(90deg)}.filters-modal-main-button:hover>svg{color:var(--color-icon-primary);transition:color 0.2s}.filters-modal-main-button-wrapper.open .filters-modal-main-button>svg{transform:rotate(-90deg);color:var(--color-icon-primary)}.filters-modal-sub-list{display:none}.filters-modal-main-button-wrapper.open .filters-modal-sub-list{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding-bottom:var(--spacing-150)}.filters-modal-sub-list>li{display:contents}.filters-modal-close{position:absolute;color:#6f6f6f;right:var(--spacing-100);top:var(--spacing-200);cursor:pointer;background:none}.filters-modal-close:hover{color:#000}.filters-modal.preview .filters-modal-close{display:none}.filters-more-modal-button{background:none;border:none;cursor:pointer;display:flex;align-items:center;height:36px;padding:var(--spacing-75);gap:var(--spacing-50);border-radius:var(--border-radius-100);background-color:var(--surface-bg-color-01);transition:background-color 0.1s;font-family:var(--font-family, var(--font-family-base));font-size:var(--font-size-label);color:var(--color-text-primary)}.filters-more-modal-button.custom:not(.clickable){cursor:default}.filters-more-modal-button:hover{background-color:var(--surface-bg-color-01-hover)}.filters-more-modal-button.active{background:var(--surface-bg-color-inverse);color:var(--color-text-inverse)}.filters-more-modal-button.active .filters-option-icon-wrapper{border-color:var(--color-bg-base);background-color:var(--color-bg-base);color:var(--color-icon-primary)}.filters-more-modal-button>span{white-space:nowrap;padding:var(--spacing-25)}.filters-more-modal-button:disabled{cursor:not-allowed;opacity:0.5}.filters-more-modal-button img{box-sizing:border-box;-o-object-fit:cover;object-fit:cover;-o-object-position:center;object-position:center;border-radius:var(--border-radius-full);border:1px solid var(--color-border-01)}.filters-modal-actions{border-top:1px solid var(--color-border-01);padding:var(--spacing-125);z-index:10;border-radius:0px 0px 0px 32px}.filters-modal-apply,.filters-modal-reset{font-family:var(--font-family, var(--font-family-base))}.filters-modal-apply{cursor:pointer;width:100%;border:none;margin-bottom:20px;display:flex;padding:var(--spacing-150);justify-content:center;align-items:center;gap:var(--spacing-50);align-self:stretch;color:var(--color-text-inverse);text-align:center;border-radius:var(--border-radius-150);background:var(--button-bg-color-primary);font-size:var(--font-size-label-large);font-weight:var(--font-weight-500);line-height:var(--line-height-label-large);letter-spacing:var(--letter-spacing-label-large)}.filters-modal-apply:disabled{background:var(--button-bg-color-disabled);color:var(--color-text-disabled)}.filters-modal-reset{background:none;border:none;cursor:pointer;display:block;text-align:center;width:100%;padding:var(--spacing-125) 0;color:var(--color-text-secondary);text-align:center;font-size:var(--font-size-label);font-weight:var(--font-weight-500);line-height:var(--line-height-label);letter-spacing:var(--letter-spacing-label)}.filters-modal-reset:hover{color:var(--color-text-primary)}.selected-filters-wrapper>li .filters-sub-button-selected{border-radius:var(--border-radius-100);background:var(--surface-bg-color-inverse);display:flex;align-items:center;justify-content:center;cursor:pointer;padding:var(--spacing-100)}.selected-filters-wrapper>li.hidden{display:none}.filters-sub-button-selected{display:flex;align-items:center;gap:var(--spacing-25);background:var(--surface-bg-color-inverse);border-radius:var(--border-radius-100);color:var(--color-text-inverse);text-overflow:ellipsis;font-size:var(--font-size-body);font-weight:var(--font-weight-400);line-height:var(--line-height-body);letter-spacing:var(--letter-spacing-body);padding:var(--spacing-100)}.filters-sub-button-color-dot{box-sizing:border-box;width:24px;height:24px;border-radius:var(--border-radius-full);border:var(--stroke-width-50) solid var(--color-border-01)}.selected-filters-wrapper .filters-sub-button-selected{width:24px;height:24px;border:none}.filters-option-icon-wrapper{display:flex;box-sizing:border-box;align-items:center;justify-content:center;border-radius:4px;border:2px solid #e0e0e0;background:#fff;width:20px;height:20px}.filters-modal-main-button-added-options{color:var(--color-text-secondary);text-overflow:ellipsis;padding-right:var(--spacing-100);font-size:var(--font-size-body);font-weight:var(--font-weight-400);line-height:var(--line-height-body);letter-spacing:var(--letter-spacing-body)}.filters-modal-main-button-added-options>span::after{content:", "}.filters-modal-main-button-added-options>span:last-child::after{content:""}.filters-modal.preview-inline,.filters-modal.preview-inline .filters-modal-wrapper,.filters-modal.preview-inline .filters-modal-main{overflow:visible}.filters-modal.preview-inline .filters-modal-header,.filters-modal.preview-inline .filters-modal-actions{display:none}.filters-modal.preview-inline .filters-modal-list{margin:0;flex-direction:row;gap:var(--spacing-100);display:flex;flex-wrap:wrap}.filters-modal.preview-inline .extended-filters-row{box-sizing:border-box;padding-right:0;border-radius:var(--border-radius-100);background:var(--surface-bg-color-01)}.filters-modal.preview-inline .filters-modal-main-button{width:100%;display:flex;align-items:center;padding:var(--spacing-75);gap:var(--spacing-25);justify-content:space-between;font-size:var(--font-size-body);font-weight:var(--font-weight-400)}.filters-modal.preview-inline .filters-modal-main-button>svg{position:static}.filters-modal.preview-inline .extended-filters-row{position:relative}.filters-modal.preview-inline .filters-search-container{max-height:225px;width:-moz-max-content;width:max-content;min-width:140px;height:-moz-fit-content;height:fit-content;overflow:hidden;position:absolute;display:flex;flex-direction:column;flex-wrap:nowrap;align-items:stretch;padding:0;top:calc(100% + var(--spacing-75));left:0;right:0;z-index:1000;border-radius:var(--border-radius-150);border:1px solid var(--color-border-01);background-color:var(--color-bg-base);box-shadow:0 4px 8px 0 rgba(0, 0, 0, 0.1);box-sizing:border-box}.filters-modal.preview-inline .filters-search-input-container{position:sticky;top:0;background-color:var(--color-bg-base);padding:var(--spacing-50);border-bottom:1px solid var(--color-border-01);z-index:1}.filters-modal.preview-inline .filters-modal-sub-list{position:static;border:none;background:none;box-shadow:none;padding:var(--spacing-50);margin:0;max-height:165px;width:100%;box-sizing:border-box;display:flex;flex-direction:column;flex-wrap:nowrap;align-items:flex-start;gap:8px;overflow-y:auto;scrollbar-width:thin}.filters-modal.preview-inline .align-right .filters-search-container{left:auto;right:0}.filters-modal.preview-inline .filters-more-modal-button{width:100%;gap:var(--spacing-150);background-color:var(--color-bg-base)}.filters-modal.preview-inline .filters-option-icon-wrapper{margin-left:auto}.filters-modal.preview-inline .filters-more-modal-button:hover{background-color:var(--surface-bg-color-01-hover)}.filters-modal.preview-inline .filters-more-modal-button.active{color:var(--color-text-primary)}.filters-modal.preview-inline .filters-more-modal-button.active .filters-option-icon-wrapper{border-color:var(--color-bg-inverse);background-color:var(--color-bg-inverse);color:var(--color-icon-inverse)}.filters-modal.preview-inline .filters-modal-sub-list:has(vviinn-range-filter){padding:0 var(--spacing-75);width:220px;max-height:unset}.filters-modal.preview-inline vviinn-range-filter{width:100%}@media (max-width: 768px){.sub-filters-wrapper,.selected-filters-wrapper{flex-wrap:unset;overflow-x:auto;scrollbar-width:none;padding-bottom:0}.sub-filters-wrapper,.selected-filters-wrapper{-webkit-overflow-scrolling:touch;scrollbar-width:none;-ms-overflow-style:none}.sub-filters-wrapper::-webkit-scrollbar,.selected-filters-wrapper::-webkit-scrollbar{display:none}:host(.show-in-widget) .selected-filters-container{overflow-x:auto;width:100%}:host(.show-in-widget) .selected-filters-wrapper{padding:0 var(--spacing-300)}.filters-modal.button .filters-modal-wrapper,.filters-modal.modal .filters-modal-wrapper{width:100%;border-radius:24px 24px 0px 0px}.filters-modal.button .filters-modal-wrapper{top:10%}.filters-modal.modal .filters-modal-wrapper{position:fixed;width:100%;height:calc(100% - 64px);bottom:0;transform:translateY(-64px)}.filters-modal.modal .filters-modal-header{font-size:var(--font-size-body-large)}.filters-modal.modal .filters-modal-main{padding-bottom:120px}vviinn-range-filter{max-width:unset}:host(.show-in-widget.primary-filters) vviinn-range-filter{max-width:calc(100% - 48px);transform:translateX(24px)}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border:0}';const Zt=class{constructor(t){e(this,t),this.vviinnExtendedFiltersButtonClicked=r(this,"vviinnExtendedFiltersButtonClicked"),this.showInWidget=!1,this.handleButtonClick=()=>{this.vviinnExtendedFiltersButtonClicked.emit({isTriggeredByVpsWidget:this.showInWidget,triggerElement:this.buttonElement})}}render(){return t(o,{key:"f039b6cb2802ced74d5f13fdbcfdf6e78d131a56",exportparts:"extended-filters-button"},t("button",{key:"b01be92c86d5b12610a03b8cd3a6587f6c0ee900",ref:t=>this.buttonElement=t,class:"filters-more-button",onClick:this.handleButtonClick,part:"extended-filters-button","aria-label":S.t("a11y.openFilters"),type:"button"},t(Et,{key:"52b14ab5368c22543d8ce01c61d3fa8098806fb6"})))}};Zt.style=':host{--font-family-base:Inter, system-ui, sans-serif;--font-family-mono:monospace;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;--font-size-display:32px;--font-size-title:24px;--font-size-headline:18px;--font-size-label-large:16px;--font-size-label:14px;--font-size-body-large:16px;--font-size-body:14px;--font-size-caption:12px;--line-height-display:40px;--line-height-title:32px;--line-height-headline:24px;--line-height-label-large:24px;--line-height-label:20px;--line-height-body-large:24px;--line-height-body:20px;--line-height-caption:16px;--letter-spacing-title:0px;--letter-spacing-headline:0px;--letter-spacing-label-large:0px;--letter-spacing-label:0px;--letter-spacing-body-large:0px;--letter-spacing-body:0px;--letter-spacing-caption:0px;--font-weight-400:400;--font-weight-500:500;--font-weight-600:600;--font-weight-700:700;--spacing-none:0px;--spacing-25:2px;--spacing-50:4px;--spacing-75:6px;--spacing-100:8px;--spacing-125:10px;--spacing-150:12px;--spacing-200:16px;--spacing-250:20px;--spacing-300:24px;--spacing-400:32px;--spacing-500:40px;--spacing-600:48px;--border-radius-none:0px;--border-radius-25:2px;--border-radius-50:4px;--border-radius-100:8px;--border-radius-150:12px;--border-radius-200:16px;--border-radius-300:24px;--border-radius-400:32px;--border-radius-full:9999px;--stroke-width-none:0px;--stroke-width-25:1px;--stroke-width-50:2px;--stroke-width-75:3px;--stroke-width-100:4px;--stroke-width-150:6px;--stroke-width-200:8px;--stroke-width-300:12px;--product-card-widget-min-width:135px;--product-card-results-min-width:250px;--image-set-mode-min-width:155px;--source-card-set-mode-max-width:500px;--filter-blur-none:0px;--filter-blur-100:8px;--filter-blur-150:12px;--filter-blur-200:16px;--color-bg-base:#ffffff;--color-bg-inverse:#161616;--color-border-00:#ffffff;--color-border-01:#f4f4f4;--color-border-02:#e0e0e0;--color-border-03:#c6c6c6;--color-border-inverse-00:#161616;--color-border-inverse-01:#393939;--color-field-01:#ffffff;--color-field-02:#f4f4f4;--color-icon-primary:#161616;--color-icon-secondary:#525252;--color-icon-helper:#8d8d8d;--color-icon-on-color:#ffffff;--color-icon-inverse:#ffffff;--color-icon-disabled:#16161640;--color-text-primary:#161616;--color-text-secondary:#707070;--color-text-helper:#8d8d8d;--color-text-placeholder:#a8a8a8;--color-text-on-color:#ffffff;--color-text-inverse:#ffffff;--color-text-disabled:#16161640;--button-bg-color-primary:#000000;--button-bg-color-primary-hover:#161616;--button-bg-color-primary-active:#1e1e1e;--button-bg-color-secondary:#f4f4f4;--button-bg-color-secondary-hover:#e0e0e0;--button-bg-color-secondary-active:#c6c6c6;--button-bg-color-ghost-hover:#f4f4f4;--button-bg-color-ghost-active:#eaeaea;--button-bg-color-frosted:#6f6f6f66;--button-bg-color-frosted-hover:#6f6f6f80;--button-bg-color-frosted-active:#6f6f6f99;--button-bg-color-disabled:#e0e0e0;--button-bg-color-positive:#dcfce7;--surface-bg-color-01:#f4f4f4;--surface-bg-color-01-hover:#eaeaea;--surface-bg-color-01-active:#e0e0e0;--surface-bg-color-02:#ffffff;--surface-bg-color-inverse:#262626;--surface-bg-color-inverse-hover:#303030;--surface-bg-color-inverse-active:#393939;--surface-bg-color-disabled:#e0e0e0;--surface-bg-color-shadow-01:#dddddd;--surface-bg-color-shadow-02:#c6c6c6;--chip-bg-color-primary:#161616;--chip-bg-color-primary-hover:#1e1e1e;--chip-bg-color-primary-active:#262626;--chip-bg-color-subtle:#f4f4f4;--chip-bg-color-subtle-hover:#eaeaea;--chip-bg-color-subtle-active:#e0e0e0;--chip-bg-color-outline-hover:#f4f4f4;--chip-bg-color-outline-active:#eaeaea;--label-bg-color-accent:#ff3944;--sidebar-animation-duration-default:0.5s;--search-modal-animation-duration-default:0.25s;--search-modal-animation-duration-mobile-default:0.35s;}:host{display:block;font-family:var(--font-family, var(--font-family-base));font-style:normal;display:contents;}.filters-modal-list,.sub-filters-wrapper,.main-filters-list,.filters-modal-sub-list,.selected-filters-wrapper{list-style:none;margin:0;padding:0}.main-filters-list{padding:var(--spacing-25);gap:var(--spacing-25);border-radius:8px;background:var(--surface-bg-color-01);display:inline-flex}vviinn-range-filter{width:100%;max-width:500px;padding-bottom:var(--spacing-150)}.filters-search-input-container{position:relative;box-sizing:border-box;width:100%;display:flex;align-items:center}.filters-search-icon{position:absolute;left:var(--spacing-100);color:var(--color-icon-helper);z-index:1;pointer-events:none;display:flex;align-items:center;justify-content:center}.filters-search-input{width:100%;padding:var(--spacing-100) var(--spacing-100) var(--spacing-100)\n var(--spacing-500);border:none;background:var(--color-bg-base);font-family:var(--font-family, var(--font-family-base));font-size:var(--font-size-body);font-weight:var(--font-weight-400);line-height:var(--line-height-body);color:var(--color-text-primary);box-sizing:border-box;outline:none}.filters-search-input::-moz-placeholder{color:var(--color-text-placeholder)}.filters-search-input::placeholder{color:var(--color-text-placeholder)}.filters-modal-main-button,.filters-sub-button,.filters-main-button,.filters-modal-close,.filters-sub-button-selected{font-family:var(--font-family, var(--font-family-base));cursor:pointer;border:none}.filters-sub-button,.filters-main-button{font-size:var(--font-size-body);font-weight:var(--font-weight-400);line-height:var(--line-height-body);letter-spacing:var(--letter-spacing-body);display:flex;justify-content:center;align-items:center;border-radius:6px}.filters-main-button{padding:var(--spacing-100);color:var(--color-text-secondary);background:none;transition:background 0.15s,\n color 0.15s}.filters-main-button.active,.filters-main-button:hover{background:var(--surface-bg-color-02);color:var(--color-text-primary)}.sub-filters-wrapper,.selected-filters-wrapper{gap:var(--spacing-100);display:flex;flex-direction:row;overflow-x:auto;scrollbar-width:thin}.sub-filters-wrapper{align-items:center;gap:var(--spacing-100);margin:16px -2px 0}.sub-filters-wrapper>li{padding:2px}.selected-filters-wrapper{align-items:center;gap:var(--spacing-100);flex-wrap:wrap}.filters-sub-button{color:var(--color-text-primary);background:var(--surface-bg-color-01);padding:var(--spacing-100);gap:var(--spacing-25);height:100%}.filters-sub-button>span,.filters-sub-button-selected>span{display:inline-flex;justify-content:center;align-items:center;gap:var(--spacing-25);white-space:nowrap}.filters-sub-button>span>span,.filters-sub-button-selected>span>span{padding:var(--spacing-25)}.filters-sub-button:hover{background:var(--surface-bg-color-01-hover)}.filters-sub-button:disabled{cursor:not-allowed;background:var(--surface-bg-color-disabled);color:var(--color-text-disabled)}.filters-more-button{display:flex;padding:var(--spacing-100);gap:var(--spacing-50);border-radius:var(--border-radius-100);align-items:flex-start;background-color:var(--button-bg-color-secondary);transition:background-color 0.1s;border:none;cursor:pointer}.filters-more-button:hover{background-color:var(--button-bg-color-secondary-hover)}.filters-modal-wrapper{display:flex;flex-direction:column;background:#ffffff}.filters-modal.button,.filters-modal.modal{display:none;position:fixed;top:0;bottom:0;right:0;left:0;z-index:99999;background-color:rgba(0, 0, 0, 0.5)}.filters-modal.button .filters-modal-wrapper{position:fixed;top:0;bottom:0;right:0;width:420px;z-index:99999;border-radius:var(--border-radius-400) var(--border-radius-none)\n var(--border-radius-none) var(--border-radius-400)}.filters-modal.preview{display:block}.filters-modal.open{display:block}.filters-modal-header{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;color:var(--color-text-primary);text-align:center;border-bottom:1px solid var(--color-border-01)}.filters-modal-header.show-header-content{min-height:64px}.filters-modal-title{margin:0;padding:0;font-size:var(--font-size-headline);font-weight:var(--font-weight-500);line-height:var(--line-height-headline);letter-spacing:var(--letter-spacing-headline)}.filters-modal-no-filters-message{font-size:var(--font-size-caption);color:var(--color-text-secondary);font-weight:var(--font-weight-500);line-height:var(--line-height-caption);letter-spacing:var(--letter-spacing-caption);text-align:center;padding:var(--spacing-300) var(--spacing-200);display:flex;align-items:center;justify-content:center}.filters-modal-main{overflow-y:auto;scrolbar-width:thin}.filters-modal-list{margin:var(--spacing-50) 0 0 var(--spacing-300)}.filters-modal-list>li{padding-right:var(--spacing-300)}.filters-modal:not(.preview-inline) .filters-modal-list>li:not(:last-child) .filters-modal-main-button-wrapper{border-bottom:1px solid var(--color-border-01)}.filters-modal-main-button{position:relative;width:100%;background:none;text-align:left;padding:var(--spacing-200) 0;color:var(--color-text-primary);font-size:var(--font-size-label-large);font-weight:var(--font-weight-500);line-height:var(--line-height-label-large);letter-spacing:var(--letter-spacing-label-large)}.filters-modal-main-button>svg{position:absolute;right:0;top:var(--spacing-200);color:var(--color-icon-helper);transform:rotate(90deg)}.filters-modal-main-button:hover>svg{color:var(--color-icon-primary);transition:color 0.2s}.filters-modal-main-button-wrapper.open .filters-modal-main-button>svg{transform:rotate(-90deg);color:var(--color-icon-primary)}.filters-modal-sub-list{display:none}.filters-modal-main-button-wrapper.open .filters-modal-sub-list{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding-bottom:var(--spacing-150)}.filters-modal-sub-list>li{display:contents}.filters-modal-close{position:absolute;color:#6f6f6f;right:var(--spacing-100);top:var(--spacing-200);cursor:pointer;background:none}.filters-modal-close:hover{color:#000}.filters-modal.preview .filters-modal-close{display:none}.filters-more-modal-button{background:none;border:none;cursor:pointer;display:flex;align-items:center;height:36px;padding:var(--spacing-75);gap:var(--spacing-50);border-radius:var(--border-radius-100);background-color:var(--surface-bg-color-01);transition:background-color 0.1s;font-family:var(--font-family, var(--font-family-base));font-size:var(--font-size-label);color:var(--color-text-primary)}.filters-more-modal-button.custom:not(.clickable){cursor:default}.filters-more-modal-button:hover{background-color:var(--surface-bg-color-01-hover)}.filters-more-modal-button.active{background:var(--surface-bg-color-inverse);color:var(--color-text-inverse)}.filters-more-modal-button.active .filters-option-icon-wrapper{border-color:var(--color-bg-base);background-color:var(--color-bg-base);color:var(--color-icon-primary)}.filters-more-modal-button>span{white-space:nowrap;padding:var(--spacing-25)}.filters-more-modal-button:disabled{cursor:not-allowed;opacity:0.5}.filters-more-modal-button img{box-sizing:border-box;-o-object-fit:cover;object-fit:cover;-o-object-position:center;object-position:center;border-radius:var(--border-radius-full);border:1px solid var(--color-border-01)}.filters-modal-actions{border-top:1px solid var(--color-border-01);padding:var(--spacing-125);z-index:10;border-radius:0px 0px 0px 32px}.filters-modal-apply,.filters-modal-reset{font-family:var(--font-family, var(--font-family-base))}.filters-modal-apply{cursor:pointer;width:100%;border:none;margin-bottom:20px;display:flex;padding:var(--spacing-150);justify-content:center;align-items:center;gap:var(--spacing-50);align-self:stretch;color:var(--color-text-inverse);text-align:center;border-radius:var(--border-radius-150);background:var(--button-bg-color-primary);font-size:var(--font-size-label-large);font-weight:var(--font-weight-500);line-height:var(--line-height-label-large);letter-spacing:var(--letter-spacing-label-large)}.filters-modal-apply:disabled{background:var(--button-bg-color-disabled);color:var(--color-text-disabled)}.filters-modal-reset{background:none;border:none;cursor:pointer;display:block;text-align:center;width:100%;padding:var(--spacing-125) 0;color:var(--color-text-secondary);text-align:center;font-size:var(--font-size-label);font-weight:var(--font-weight-500);line-height:var(--line-height-label);letter-spacing:var(--letter-spacing-label)}.filters-modal-reset:hover{color:var(--color-text-primary)}.selected-filters-wrapper>li .filters-sub-button-selected{border-radius:var(--border-radius-100);background:var(--surface-bg-color-inverse);display:flex;align-items:center;justify-content:center;cursor:pointer;padding:var(--spacing-100)}.selected-filters-wrapper>li.hidden{display:none}.filters-sub-button-selected{display:flex;align-items:center;gap:var(--spacing-25);background:var(--surface-bg-color-inverse);border-radius:var(--border-radius-100);color:var(--color-text-inverse);text-overflow:ellipsis;font-size:var(--font-size-body);font-weight:var(--font-weight-400);line-height:var(--line-height-body);letter-spacing:var(--letter-spacing-body);padding:var(--spacing-100)}.filters-sub-button-color-dot{box-sizing:border-box;width:24px;height:24px;border-radius:var(--border-radius-full);border:var(--stroke-width-50) solid var(--color-border-01)}.selected-filters-wrapper .filters-sub-button-selected{width:24px;height:24px;border:none}.filters-option-icon-wrapper{display:flex;box-sizing:border-box;align-items:center;justify-content:center;border-radius:4px;border:2px solid #e0e0e0;background:#fff;width:20px;height:20px}.filters-modal-main-button-added-options{color:var(--color-text-secondary);text-overflow:ellipsis;padding-right:var(--spacing-100);font-size:var(--font-size-body);font-weight:var(--font-weight-400);line-height:var(--line-height-body);letter-spacing:var(--letter-spacing-body)}.filters-modal-main-button-added-options>span::after{content:", "}.filters-modal-main-button-added-options>span:last-child::after{content:""}.filters-modal.preview-inline,.filters-modal.preview-inline .filters-modal-wrapper,.filters-modal.preview-inline .filters-modal-main{overflow:visible}.filters-modal.preview-inline .filters-modal-header,.filters-modal.preview-inline .filters-modal-actions{display:none}.filters-modal.preview-inline .filters-modal-list{margin:0;flex-direction:row;gap:var(--spacing-100);display:flex;flex-wrap:wrap}.filters-modal.preview-inline .extended-filters-row{box-sizing:border-box;padding-right:0;border-radius:var(--border-radius-100);background:var(--surface-bg-color-01)}.filters-modal.preview-inline .filters-modal-main-button{width:100%;display:flex;align-items:center;padding:var(--spacing-75);gap:var(--spacing-25);justify-content:space-between;font-size:var(--font-size-body);font-weight:var(--font-weight-400)}.filters-modal.preview-inline .filters-modal-main-button>svg{position:static}.filters-modal.preview-inline .extended-filters-row{position:relative}.filters-modal.preview-inline .filters-search-container{max-height:225px;width:-moz-max-content;width:max-content;min-width:140px;height:-moz-fit-content;height:fit-content;overflow:hidden;position:absolute;display:flex;flex-direction:column;flex-wrap:nowrap;align-items:stretch;padding:0;top:calc(100% + var(--spacing-75));left:0;right:0;z-index:1000;border-radius:var(--border-radius-150);border:1px solid var(--color-border-01);background-color:var(--color-bg-base);box-shadow:0 4px 8px 0 rgba(0, 0, 0, 0.1);box-sizing:border-box}.filters-modal.preview-inline .filters-search-input-container{position:sticky;top:0;background-color:var(--color-bg-base);padding:var(--spacing-50);border-bottom:1px solid var(--color-border-01);z-index:1}.filters-modal.preview-inline .filters-modal-sub-list{position:static;border:none;background:none;box-shadow:none;padding:var(--spacing-50);margin:0;max-height:165px;width:100%;box-sizing:border-box;display:flex;flex-direction:column;flex-wrap:nowrap;align-items:flex-start;gap:8px;overflow-y:auto;scrollbar-width:thin}.filters-modal.preview-inline .align-right .filters-search-container{left:auto;right:0}.filters-modal.preview-inline .filters-more-modal-button{width:100%;gap:var(--spacing-150);background-color:var(--color-bg-base)}.filters-modal.preview-inline .filters-option-icon-wrapper{margin-left:auto}.filters-modal.preview-inline .filters-more-modal-button:hover{background-color:var(--surface-bg-color-01-hover)}.filters-modal.preview-inline .filters-more-modal-button.active{color:var(--color-text-primary)}.filters-modal.preview-inline .filters-more-modal-button.active .filters-option-icon-wrapper{border-color:var(--color-bg-inverse);background-color:var(--color-bg-inverse);color:var(--color-icon-inverse)}.filters-modal.preview-inline .filters-modal-sub-list:has(vviinn-range-filter){padding:0 var(--spacing-75);width:220px;max-height:unset}.filters-modal.preview-inline vviinn-range-filter{width:100%}@media (max-width: 768px){.sub-filters-wrapper,.selected-filters-wrapper{flex-wrap:unset;overflow-x:auto;scrollbar-width:none;padding-bottom:0}.sub-filters-wrapper,.selected-filters-wrapper{-webkit-overflow-scrolling:touch;scrollbar-width:none;-ms-overflow-style:none}.sub-filters-wrapper::-webkit-scrollbar,.selected-filters-wrapper::-webkit-scrollbar{display:none}:host(.show-in-widget) .selected-filters-container{overflow-x:auto;width:100%}:host(.show-in-widget) .selected-filters-wrapper{padding:0 var(--spacing-300)}.filters-modal.button .filters-modal-wrapper,.filters-modal.modal .filters-modal-wrapper{width:100%;border-radius:24px 24px 0px 0px}.filters-modal.button .filters-modal-wrapper{top:10%}.filters-modal.modal .filters-modal-wrapper{position:fixed;width:100%;height:calc(100% - 64px);bottom:0;transform:translateY(-64px)}.filters-modal.modal .filters-modal-header{font-size:var(--font-size-body-large)}.filters-modal.modal .filters-modal-main{padding-bottom:120px}vviinn-range-filter{max-width:unset}:host(.show-in-widget.primary-filters) vviinn-range-filter{max-width:calc(100% - 48px);transform:translateX(24px)}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border:0}';const qt=class{constructor(t){e(this,t),this.vviinnFiltersChanged=r(this,"vviinnFiltersChanged"),this.vviinnFilterTriggered=r(this,"vviinnFilterTriggered"),this.globalSlotsChanged=r(this,"globalSlotsChanged"),this.vviinnSelectedFiltersReset=r(this,"vviinnSelectedFiltersReset"),this.filtersString="",this.showInWidget=!1,this.showIntervalInputs=!1,this.innerFilters=[],this.requestFilters=[],this.getFilters=()=>this.innerFilters.length?this.innerFilters:this.state.dynamicFilters,this.handleKeyDown=t=>{"Escape"===t.key&&this.selectedFilterColumn&&(this.selectedFilterColumn=void 0,this.announceFilterChange(S.t("a11y.filterSelectionCleared")))},this.handleSelectedFiltersReset=({detail:t})=>{this.skipStateChanges(t.isTriggeredByVpsWidget)||(this.requestFilters=[],this.selectedFilterColumn=void 0)},this.skipStateChanges=t=>this.showInWidget!==t,this.intervalChangeHandler=t=>{this.handleSubFilterSelection(t,this.selectedFilter)},this.handleSubFilterSelection=(t,e)=>{this.requestFilters=$({filterValue:t,selectedFilter:e,requestFilters:this.requestFilters,vviinnFilterTriggered:this.vviinnFilterTriggered,vviinnFiltersChanged:this.vviinnFiltersChanged,el:this.el,isTriggeredByVpsWidget:this.showInWidget})},this.handleFilterTriggered=({detail:t})=>{var e;const{kind:r,isTriggeredByVpsWidget:n,action:i,customTrigger:o}=t;this.skipStateChanges(n)||o||"select"===i&&(this.selectedFilterColumn=null===(e=this.getFilters().find((t=>t.column===r)))||void 0===e?void 0:e.column)},this.handleFiltersChanged=({detail:t})=>{var e;const{filters:r,el:n,isTriggeredByVpsWidget:i}=t;n===this.el||this.skipStateChanges(i)||(this.requestFilters=r,this.selectedFilterColumn||(this.selectedFilterColumn=null===(e=this.getFilters().find((t=>{var e;return(null==t?void 0:t.column)===(null===(e=r[0])||void 0===e?void 0:e.column)})))||void 0===e?void 0:e.column))}}get selectedFilter(){return this.getFilters().find((t=>t.column===this.selectedFilterColumn))}handleMainFilterSelection(t){this.selectedFilterColumn=t.column,this.vviinnFilterTriggered.emit({action:"show",kind:t.column,isTriggeredByVpsWidget:this.showInWidget}),this.announceFilterChange(S.t("a11y.filterExpanded",{label:t.label}))}announceFilterChange(t){H(t,this.filterAnnouncementRef)}showActiveOnMainButton({column:t}){return this.selectedFilterColumn&&this.selectedFilterColumn===t?"active":""}filtersStringWatcher(){if(""!==this.filtersString)try{this.innerFilters=JSON.parse(this.filtersString)}catch(t){console.error("Invalid filters string",t)}}connectedCallback(){const{state:t,onChange:e}=u(this.showInWidget);this.state=t,Y(t,e,(t=>this.requestFilters=t)),this.eventAbortController=new AbortController;const{signal:r}=this.eventAbortController;ct(document,[["vviinnFiltersChanged",this.handleFiltersChanged],["vviinnSelectedFiltersReset",this.handleSelectedFiltersReset],["vviinnFilterTriggered",this.handleFilterTriggered]],r),this.filtersStringWatcher()}componentWillLoad(){st(this,this.el)}componentDidRender(){this.replaceSlotsContent()}disconnectedCallback(){var t;null===(t=this.eventAbortController)||void 0===t||t.abort()}replaceSlotsContent(){const t=this.el.querySelectorAll("[slot]");this.globalSlotsChanged.emit({slots:Array.from(t),element:this.el})}render(){const e=this.getFilters().filter((t=>t.isPrimary)),{selectedFilter:r,handleSubFilterSelection:n}=this,i=Dt(r);return t(o,{key:"43ca9aa547e2436a198c6b98599edc256ead2908",class:{"show-in-widget":this.showInWidget,"primary-filters":!0},onKeyDown:this.handleKeyDown,exportparts:pt},ft("filters"),t("div",{key:"cbc3b18419bd5797c97270e7104c723a08185750",ref:t=>this.filterAnnouncementRef=t,"aria-live":"polite",class:"sr-only"}),(null==e?void 0:e.length)>0&&t("nav",{key:"1d879a02b353b8e11dc633d634012b254385488d","aria-label":S.t("a11y.productFilters")},t("ul",{key:"2487026565e1f54ea19359a4a710d477c26ef4ff",class:"main-filters-list",part:"filters-list"},e.map((e=>{const r=this.selectedFilterColumn===e.column;return t("li",null,t("button",{class:`filters-main-button ${this.showActiveOnMainButton(e)}`,onClick:()=>this.handleMainFilterSelection(e),part:"filters-main-button","aria-expanded":r?"true":"false","aria-label":S.t("a11y.filterButton",{label:e.label}),type:"button"},e.label))})))),!!r&&r.isPrimary&&t("section",{key:"1b54108c059e98426e83bfeac574be5ae5143504",class:"filters-footer",part:"filters-footer","aria-label":S.t("a11y.filterOptions",{label:r.label})},"interval"===(null==r?void 0:r.type)?t("vviinn-range-filter",{histogram:i,intervalChangeHandler:this.intervalChangeHandler,selectedInterval:$t(this.requestFilters,r.column),showCurrency:q(r.column),showIntervalInputs:this.showIntervalInputs}):t("ul",{class:"sub-filters-wrapper",part:"filters-footer-list"},!!i&&i.map((({value:t,label:e,active:i})=>{const o=U(this.requestFilters,t,r);return J({handleSubFilterSelection:n,selectedFilter:r,value:t,label:e,active:i,isSelected:o})})))))}get el(){return a(this)}static get watchers(){return{filtersString:["filtersStringWatcher"]}}};qt.style=':host{--font-family-base:Inter, system-ui, sans-serif;--font-family-mono:monospace;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;--font-size-display:32px;--font-size-title:24px;--font-size-headline:18px;--font-size-label-large:16px;--font-size-label:14px;--font-size-body-large:16px;--font-size-body:14px;--font-size-caption:12px;--line-height-display:40px;--line-height-title:32px;--line-height-headline:24px;--line-height-label-large:24px;--line-height-label:20px;--line-height-body-large:24px;--line-height-body:20px;--line-height-caption:16px;--letter-spacing-title:0px;--letter-spacing-headline:0px;--letter-spacing-label-large:0px;--letter-spacing-label:0px;--letter-spacing-body-large:0px;--letter-spacing-body:0px;--letter-spacing-caption:0px;--font-weight-400:400;--font-weight-500:500;--font-weight-600:600;--font-weight-700:700;--spacing-none:0px;--spacing-25:2px;--spacing-50:4px;--spacing-75:6px;--spacing-100:8px;--spacing-125:10px;--spacing-150:12px;--spacing-200:16px;--spacing-250:20px;--spacing-300:24px;--spacing-400:32px;--spacing-500:40px;--spacing-600:48px;--border-radius-none:0px;--border-radius-25:2px;--border-radius-50:4px;--border-radius-100:8px;--border-radius-150:12px;--border-radius-200:16px;--border-radius-300:24px;--border-radius-400:32px;--border-radius-full:9999px;--stroke-width-none:0px;--stroke-width-25:1px;--stroke-width-50:2px;--stroke-width-75:3px;--stroke-width-100:4px;--stroke-width-150:6px;--stroke-width-200:8px;--stroke-width-300:12px;--product-card-widget-min-width:135px;--product-card-results-min-width:250px;--image-set-mode-min-width:155px;--source-card-set-mode-max-width:500px;--filter-blur-none:0px;--filter-blur-100:8px;--filter-blur-150:12px;--filter-blur-200:16px;--color-bg-base:#ffffff;--color-bg-inverse:#161616;--color-border-00:#ffffff;--color-border-01:#f4f4f4;--color-border-02:#e0e0e0;--color-border-03:#c6c6c6;--color-border-inverse-00:#161616;--color-border-inverse-01:#393939;--color-field-01:#ffffff;--color-field-02:#f4f4f4;--color-icon-primary:#161616;--color-icon-secondary:#525252;--color-icon-helper:#8d8d8d;--color-icon-on-color:#ffffff;--color-icon-inverse:#ffffff;--color-icon-disabled:#16161640;--color-text-primary:#161616;--color-text-secondary:#707070;--color-text-helper:#8d8d8d;--color-text-placeholder:#a8a8a8;--color-text-on-color:#ffffff;--color-text-inverse:#ffffff;--color-text-disabled:#16161640;--button-bg-color-primary:#000000;--button-bg-color-primary-hover:#161616;--button-bg-color-primary-active:#1e1e1e;--button-bg-color-secondary:#f4f4f4;--button-bg-color-secondary-hover:#e0e0e0;--button-bg-color-secondary-active:#c6c6c6;--button-bg-color-ghost-hover:#f4f4f4;--button-bg-color-ghost-active:#eaeaea;--button-bg-color-frosted:#6f6f6f66;--button-bg-color-frosted-hover:#6f6f6f80;--button-bg-color-frosted-active:#6f6f6f99;--button-bg-color-disabled:#e0e0e0;--button-bg-color-positive:#dcfce7;--surface-bg-color-01:#f4f4f4;--surface-bg-color-01-hover:#eaeaea;--surface-bg-color-01-active:#e0e0e0;--surface-bg-color-02:#ffffff;--surface-bg-color-inverse:#262626;--surface-bg-color-inverse-hover:#303030;--surface-bg-color-inverse-active:#393939;--surface-bg-color-disabled:#e0e0e0;--surface-bg-color-shadow-01:#dddddd;--surface-bg-color-shadow-02:#c6c6c6;--chip-bg-color-primary:#161616;--chip-bg-color-primary-hover:#1e1e1e;--chip-bg-color-primary-active:#262626;--chip-bg-color-subtle:#f4f4f4;--chip-bg-color-subtle-hover:#eaeaea;--chip-bg-color-subtle-active:#e0e0e0;--chip-bg-color-outline-hover:#f4f4f4;--chip-bg-color-outline-active:#eaeaea;--label-bg-color-accent:#ff3944;--sidebar-animation-duration-default:0.5s;--search-modal-animation-duration-default:0.25s;--search-modal-animation-duration-mobile-default:0.35s;}:host{display:block;font-family:var(--font-family, var(--font-family-base));font-style:normal;display:contents;}.filters-modal-list,.sub-filters-wrapper,.main-filters-list,.filters-modal-sub-list,.selected-filters-wrapper{list-style:none;margin:0;padding:0}.main-filters-list{padding:var(--spacing-25);gap:var(--spacing-25);border-radius:8px;background:var(--surface-bg-color-01);display:inline-flex}vviinn-range-filter{width:100%;max-width:500px;padding-bottom:var(--spacing-150)}.filters-search-input-container{position:relative;box-sizing:border-box;width:100%;display:flex;align-items:center}.filters-search-icon{position:absolute;left:var(--spacing-100);color:var(--color-icon-helper);z-index:1;pointer-events:none;display:flex;align-items:center;justify-content:center}.filters-search-input{width:100%;padding:var(--spacing-100) var(--spacing-100) var(--spacing-100)\n var(--spacing-500);border:none;background:var(--color-bg-base);font-family:var(--font-family, var(--font-family-base));font-size:var(--font-size-body);font-weight:var(--font-weight-400);line-height:var(--line-height-body);color:var(--color-text-primary);box-sizing:border-box;outline:none}.filters-search-input::-moz-placeholder{color:var(--color-text-placeholder)}.filters-search-input::placeholder{color:var(--color-text-placeholder)}.filters-modal-main-button,.filters-sub-button,.filters-main-button,.filters-modal-close,.filters-sub-button-selected{font-family:var(--font-family, var(--font-family-base));cursor:pointer;border:none}.filters-sub-button,.filters-main-button{font-size:var(--font-size-body);font-weight:var(--font-weight-400);line-height:var(--line-height-body);letter-spacing:var(--letter-spacing-body);display:flex;justify-content:center;align-items:center;border-radius:6px}.filters-main-button{padding:var(--spacing-100);color:var(--color-text-secondary);background:none;transition:background 0.15s,\n color 0.15s}.filters-main-button.active,.filters-main-button:hover{background:var(--surface-bg-color-02);color:var(--color-text-primary)}.sub-filters-wrapper,.selected-filters-wrapper{gap:var(--spacing-100);display:flex;flex-direction:row;overflow-x:auto;scrollbar-width:thin}.sub-filters-wrapper{align-items:center;gap:var(--spacing-100);margin:16px -2px 0}.sub-filters-wrapper>li{padding:2px}.selected-filters-wrapper{align-items:center;gap:var(--spacing-100);flex-wrap:wrap}.filters-sub-button{color:var(--color-text-primary);background:var(--surface-bg-color-01);padding:var(--spacing-100);gap:var(--spacing-25);height:100%}.filters-sub-button>span,.filters-sub-button-selected>span{display:inline-flex;justify-content:center;align-items:center;gap:var(--spacing-25);white-space:nowrap}.filters-sub-button>span>span,.filters-sub-button-selected>span>span{padding:var(--spacing-25)}.filters-sub-button:hover{background:var(--surface-bg-color-01-hover)}.filters-sub-button:disabled{cursor:not-allowed;background:var(--surface-bg-color-disabled);color:var(--color-text-disabled)}.filters-more-button{display:flex;padding:var(--spacing-100);gap:var(--spacing-50);border-radius:var(--border-radius-100);align-items:flex-start;background-color:var(--button-bg-color-secondary);transition:background-color 0.1s;border:none;cursor:pointer}.filters-more-button:hover{background-color:var(--button-bg-color-secondary-hover)}.filters-modal-wrapper{display:flex;flex-direction:column;background:#ffffff}.filters-modal.button,.filters-modal.modal{display:none;position:fixed;top:0;bottom:0;right:0;left:0;z-index:99999;background-color:rgba(0, 0, 0, 0.5)}.filters-modal.button .filters-modal-wrapper{position:fixed;top:0;bottom:0;right:0;width:420px;z-index:99999;border-radius:var(--border-radius-400) var(--border-radius-none)\n var(--border-radius-none) var(--border-radius-400)}.filters-modal.preview{display:block}.filters-modal.open{display:block}.filters-modal-header{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;color:var(--color-text-primary);text-align:center;border-bottom:1px solid var(--color-border-01)}.filters-modal-header.show-header-content{min-height:64px}.filters-modal-title{margin:0;padding:0;font-size:var(--font-size-headline);font-weight:var(--font-weight-500);line-height:var(--line-height-headline);letter-spacing:var(--letter-spacing-headline)}.filters-modal-no-filters-message{font-size:var(--font-size-caption);color:var(--color-text-secondary);font-weight:var(--font-weight-500);line-height:var(--line-height-caption);letter-spacing:var(--letter-spacing-caption);text-align:center;padding:var(--spacing-300) var(--spacing-200);display:flex;align-items:center;justify-content:center}.filters-modal-main{overflow-y:auto;scrolbar-width:thin}.filters-modal-list{margin:var(--spacing-50) 0 0 var(--spacing-300)}.filters-modal-list>li{padding-right:var(--spacing-300)}.filters-modal:not(.preview-inline) .filters-modal-list>li:not(:last-child) .filters-modal-main-button-wrapper{border-bottom:1px solid var(--color-border-01)}.filters-modal-main-button{position:relative;width:100%;background:none;text-align:left;padding:var(--spacing-200) 0;color:var(--color-text-primary);font-size:var(--font-size-label-large);font-weight:var(--font-weight-500);line-height:var(--line-height-label-large);letter-spacing:var(--letter-spacing-label-large)}.filters-modal-main-button>svg{position:absolute;right:0;top:var(--spacing-200);color:var(--color-icon-helper);transform:rotate(90deg)}.filters-modal-main-button:hover>svg{color:var(--color-icon-primary);transition:color 0.2s}.filters-modal-main-button-wrapper.open .filters-modal-main-button>svg{transform:rotate(-90deg);color:var(--color-icon-primary)}.filters-modal-sub-list{display:none}.filters-modal-main-button-wrapper.open .filters-modal-sub-list{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding-bottom:var(--spacing-150)}.filters-modal-sub-list>li{display:contents}.filters-modal-close{position:absolute;color:#6f6f6f;right:var(--spacing-100);top:var(--spacing-200);cursor:pointer;background:none}.filters-modal-close:hover{color:#000}.filters-modal.preview .filters-modal-close{display:none}.filters-more-modal-button{background:none;border:none;cursor:pointer;display:flex;align-items:center;height:36px;padding:var(--spacing-75);gap:var(--spacing-50);border-radius:var(--border-radius-100);background-color:var(--surface-bg-color-01);transition:background-color 0.1s;font-family:var(--font-family, var(--font-family-base));font-size:var(--font-size-label);color:var(--color-text-primary)}.filters-more-modal-button.custom:not(.clickable){cursor:default}.filters-more-modal-button:hover{background-color:var(--surface-bg-color-01-hover)}.filters-more-modal-button.active{background:var(--surface-bg-color-inverse);color:var(--color-text-inverse)}.filters-more-modal-button.active .filters-option-icon-wrapper{border-color:var(--color-bg-base);background-color:var(--color-bg-base);color:var(--color-icon-primary)}.filters-more-modal-button>span{white-space:nowrap;padding:var(--spacing-25)}.filters-more-modal-button:disabled{cursor:not-allowed;opacity:0.5}.filters-more-modal-button img{box-sizing:border-box;-o-object-fit:cover;object-fit:cover;-o-object-position:center;object-position:center;border-radius:var(--border-radius-full);border:1px solid var(--color-border-01)}.filters-modal-actions{border-top:1px solid var(--color-border-01);padding:var(--spacing-125);z-index:10;border-radius:0px 0px 0px 32px}.filters-modal-apply,.filters-modal-reset{font-family:var(--font-family, var(--font-family-base))}.filters-modal-apply{cursor:pointer;width:100%;border:none;margin-bottom:20px;display:flex;padding:var(--spacing-150);justify-content:center;align-items:center;gap:var(--spacing-50);align-self:stretch;color:var(--color-text-inverse);text-align:center;border-radius:var(--border-radius-150);background:var(--button-bg-color-primary);font-size:var(--font-size-label-large);font-weight:var(--font-weight-500);line-height:var(--line-height-label-large);letter-spacing:var(--letter-spacing-label-large)}.filters-modal-apply:disabled{background:var(--button-bg-color-disabled);color:var(--color-text-disabled)}.filters-modal-reset{background:none;border:none;cursor:pointer;display:block;text-align:center;width:100%;padding:var(--spacing-125) 0;color:var(--color-text-secondary);text-align:center;font-size:var(--font-size-label);font-weight:var(--font-weight-500);line-height:var(--line-height-label);letter-spacing:var(--letter-spacing-label)}.filters-modal-reset:hover{color:var(--color-text-primary)}.selected-filters-wrapper>li .filters-sub-button-selected{border-radius:var(--border-radius-100);background:var(--surface-bg-color-inverse);display:flex;align-items:center;justify-content:center;cursor:pointer;padding:var(--spacing-100)}.selected-filters-wrapper>li.hidden{display:none}.filters-sub-button-selected{display:flex;align-items:center;gap:var(--spacing-25);background:var(--surface-bg-color-inverse);border-radius:var(--border-radius-100);color:var(--color-text-inverse);text-overflow:ellipsis;font-size:var(--font-size-body);font-weight:var(--font-weight-400);line-height:var(--line-height-body);letter-spacing:var(--letter-spacing-body);padding:var(--spacing-100)}.filters-sub-button-color-dot{box-sizing:border-box;width:24px;height:24px;border-radius:var(--border-radius-full);border:var(--stroke-width-50) solid var(--color-border-01)}.selected-filters-wrapper .filters-sub-button-selected{width:24px;height:24px;border:none}.filters-option-icon-wrapper{display:flex;box-sizing:border-box;align-items:center;justify-content:center;border-radius:4px;border:2px solid #e0e0e0;background:#fff;width:20px;height:20px}.filters-modal-main-button-added-options{color:var(--color-text-secondary);text-overflow:ellipsis;padding-right:var(--spacing-100);font-size:var(--font-size-body);font-weight:var(--font-weight-400);line-height:var(--line-height-body);letter-spacing:var(--letter-spacing-body)}.filters-modal-main-button-added-options>span::after{content:", "}.filters-modal-main-button-added-options>span:last-child::after{content:""}.filters-modal.preview-inline,.filters-modal.preview-inline .filters-modal-wrapper,.filters-modal.preview-inline .filters-modal-main{overflow:visible}.filters-modal.preview-inline .filters-modal-header,.filters-modal.preview-inline .filters-modal-actions{display:none}.filters-modal.preview-inline .filters-modal-list{margin:0;flex-direction:row;gap:var(--spacing-100);display:flex;flex-wrap:wrap}.filters-modal.preview-inline .extended-filters-row{box-sizing:border-box;padding-right:0;border-radius:var(--border-radius-100);background:var(--surface-bg-color-01)}.filters-modal.preview-inline .filters-modal-main-button{width:100%;display:flex;align-items:center;padding:var(--spacing-75);gap:var(--spacing-25);justify-content:space-between;font-size:var(--font-size-body);font-weight:var(--font-weight-400)}.filters-modal.preview-inline .filters-modal-main-button>svg{position:static}.filters-modal.preview-inline .extended-filters-row{position:relative}.filters-modal.preview-inline .filters-search-container{max-height:225px;width:-moz-max-content;width:max-content;min-width:140px;height:-moz-fit-content;height:fit-content;overflow:hidden;position:absolute;display:flex;flex-direction:column;flex-wrap:nowrap;align-items:stretch;padding:0;top:calc(100% + var(--spacing-75));left:0;right:0;z-index:1000;border-radius:var(--border-radius-150);border:1px solid var(--color-border-01);background-color:var(--color-bg-base);box-shadow:0 4px 8px 0 rgba(0, 0, 0, 0.1);box-sizing:border-box}.filters-modal.preview-inline .filters-search-input-container{position:sticky;top:0;background-color:var(--color-bg-base);padding:var(--spacing-50);border-bottom:1px solid var(--color-border-01);z-index:1}.filters-modal.preview-inline .filters-modal-sub-list{position:static;border:none;background:none;box-shadow:none;padding:var(--spacing-50);margin:0;max-height:165px;width:100%;box-sizing:border-box;display:flex;flex-direction:column;flex-wrap:nowrap;align-items:flex-start;gap:8px;overflow-y:auto;scrollbar-width:thin}.filters-modal.preview-inline .align-right .filters-search-container{left:auto;right:0}.filters-modal.preview-inline .filters-more-modal-button{width:100%;gap:var(--spacing-150);background-color:var(--color-bg-base)}.filters-modal.preview-inline .filters-option-icon-wrapper{margin-left:auto}.filters-modal.preview-inline .filters-more-modal-button:hover{background-color:var(--surface-bg-color-01-hover)}.filters-modal.preview-inline .filters-more-modal-button.active{color:var(--color-text-primary)}.filters-modal.preview-inline .filters-more-modal-button.active .filters-option-icon-wrapper{border-color:var(--color-bg-inverse);background-color:var(--color-bg-inverse);color:var(--color-icon-inverse)}.filters-modal.preview-inline .filters-modal-sub-list:has(vviinn-range-filter){padding:0 var(--spacing-75);width:220px;max-height:unset}.filters-modal.preview-inline vviinn-range-filter{width:100%}@media (max-width: 768px){.sub-filters-wrapper,.selected-filters-wrapper{flex-wrap:unset;overflow-x:auto;scrollbar-width:none;padding-bottom:0}.sub-filters-wrapper,.selected-filters-wrapper{-webkit-overflow-scrolling:touch;scrollbar-width:none;-ms-overflow-style:none}.sub-filters-wrapper::-webkit-scrollbar,.selected-filters-wrapper::-webkit-scrollbar{display:none}:host(.show-in-widget) .selected-filters-container{overflow-x:auto;width:100%}:host(.show-in-widget) .selected-filters-wrapper{padding:0 var(--spacing-300)}.filters-modal.button .filters-modal-wrapper,.filters-modal.modal .filters-modal-wrapper{width:100%;border-radius:24px 24px 0px 0px}.filters-modal.button .filters-modal-wrapper{top:10%}.filters-modal.modal .filters-modal-wrapper{position:fixed;width:100%;height:calc(100% - 64px);bottom:0;transform:translateY(-64px)}.filters-modal.modal .filters-modal-header{font-size:var(--font-size-body-large)}.filters-modal.modal .filters-modal-main{padding-bottom:120px}vviinn-range-filter{max-width:unset}:host(.show-in-widget.primary-filters) vviinn-range-filter{max-width:calc(100% - 48px);transform:translateX(24px)}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border:0}';const Ut=class{constructor(t){e(this,t),this.vviinnImageLoad=r(this,"vviinnImageLoad"),this.vviinnImageError=r(this,"vviinnImageError"),this.imageLoaded=!1,this.imageError=!1,this.alt="",this.imageTitle="",this.responsive=!1,this.entityType="product",this.objectFit="contain",this.showSkeleton=!1,this.isSetMode=!1,this.customClass="",this.borderRadius="",this.border="",this.backgroundColor="",this.isContentType=!1,this.isListType=!1,this.handleImageLoad=t=>{var e;const r=t.target;this.imageLoaded=!0,this.vviinnImageLoad.emit(),this.imageRef&&this.imageRef(r),null===(e=this.loadEndCallback)||void 0===e||e.call(this)},this.handleImageError=()=>{var t;this.imageError=!0,this.vviinnImageError.emit(),this.imageRef&&this.imageRef(null),null===(t=this.loadEndCallback)||void 0===t||t.call(this)}}connectedCallback(){this.isContentType="content"===this.entityType,this.isListType="list"===this.entityType}get usesFlexibleLayout(){return this.isContentType||this.isListType}get shouldShowSkeleton(){return this.isSetMode?this.showSkeleton:this.showSkeleton&&!this.imageLoaded&&!this.imageError}get hasValidImage(){return!!this.src&&!this.imageError}getProcessedSrc(){if(!this.src)return"";if(this.imageResolutionWidth){const t=/fit\/\d+\//;return this.src.match(t)?this.src.replace(t,`fit/${this.imageResolutionWidth}/`):this.src}return this.src}getContainerStyles(){const t={};return this.responsive||!this.width||this.isContentType||this.isListType||(t.width=`${this.width}px`),this.borderRadius&&(t.borderRadius=this.borderRadius),this.border&&(t.border=this.border),this.backgroundColor&&(t.backgroundColor=this.backgroundColor),t}getImageStyles(){const t={};return this.usesFlexibleLayout||(t.objectFit=this.objectFit,!this.responsive&&this.width&&(t.width=`${this.width}px`)),t}getImageClassMap(){return{image:!0,responsive:this.responsive,"full-height":this.isContentType,"content-card-image":this.isContentType,"list-card-image":this.isListType,"set-mode-transition":this.isSetMode&&this.shouldShowSkeleton,loaded:this.imageLoaded,error:this.imageError,[this.customClass]:!!this.customClass}}renderImage(){const e=this.getProcessedSrc();return this.hasValidImage&&e?t("img",{src:e,alt:this.alt,title:this.imageTitle,class:this.getImageClassMap(),part:`image ${this.entityType}-card-image`,style:this.getImageStyles(),onLoad:this.handleImageLoad,onError:this.handleImageError,loading:"lazy"}):null}renderSkeleton(){return t("div",{class:"image-skeleton",part:"image-skeleton"},t("vviinn-skeleton",null))}render(){return t(o,{key:"5f0a58b7271229ae34f84188f24487901bf23ff3",exportparts:bt,class:{"has-skeleton-icon":this.isSetMode,"set-mode-transition":this.isSetMode&&this.shouldShowSkeleton}},t("div",{key:"59742b75db4f00da1b06583aceb0cac59a162d81",class:{"image-container":!0,"content-card-image-container":this.isContentType,"list-card-image-container":this.isListType,loading:this.shouldShowSkeleton,loaded:this.imageLoaded},part:`image-container ${this.entityType}-card-image-container`,style:this.getContainerStyles()},t("picture",{key:"3f7b91ce630e3e86e5d617310d9ca4e5c6547e0d",part:`image-picture ${this.entityType}-card-image-picture`},this.renderImage()),this.shouldShowSkeleton&&this.renderSkeleton()))}get host(){return a(this)}};Ut.style=":host{display:block;width:100%;height:100%;line-height:0}.vviinn-skeleton{display:inline-block;animation:pulse 1.2s infinite}@keyframes pulse{0%{background-color:rgb(244, 244, 244)}50%{background-color:rgb(232, 232, 232)}100%{background-color:rgba(244, 244, 244)}}:host{--image-border-default:none;--image-bg-color-default:var(--surface-bg-color-01);--product-card-image-aspect-ratio-default:1;--image-transition-duration-default:0.5s;display:block}.image{box-sizing:border-box;display:grid;align-content:center;-o-object-position:50% 50%;object-position:50% 50%;aspect-ratio:var(\n --product-card-image-aspect-ratio,\n var(--product-card-image-aspect-ratio-default)\n );-o-object-fit:contain;object-fit:contain;text-align:center;border:var(--image-border, var(--image-border-default));opacity:0;transition:opacity\n var(--image-transition-duration, var(--image-transition-duration-default))\n ease-in-out}.image.loaded{opacity:1}.image-container.loaded .image-skeleton{opacity:0}.image.responsive{width:100%;height:auto}.image.content-card-image,.image.list-card-image{aspect-ratio:unset;-o-object-fit:cover;object-fit:cover;width:100%;height:100%}.image-placeholder{display:flex;align-items:center;justify-content:center;background:#f0f0f0;aspect-ratio:var(\n --product-card-image-aspect-ratio,\n var(--product-card-image-aspect-ratio-default)\n );width:100%;height:auto;transition:opacity\n var(--image-transition-duration, var(--image-transition-duration-default))\n ease-in-out;opacity:1}.image-placeholder.loaded{opacity:0}picture{display:block;width:100%;height:100%;position:relative;mix-blend-mode:var(--picture-blend-mode, normal)}picture::after{box-sizing:border-box;display:var(--image-bg-display, block);position:absolute;width:100%;height:100%;top:0;left:0;background-color:var(--image-bg-color, var(--image-bg-color-default));mix-blend-mode:multiply;content:\"\"}.image-container{position:relative;display:block;aspect-ratio:var(\n --product-card-image-aspect-ratio,\n var(--product-card-image-aspect-ratio-default)\n )}.image-container.content-card-image-container,.image-container.list-card-image-container{aspect-ratio:unset;height:100%}.image-container.content-card-image-container picture,.image-container.list-card-image-container picture{height:100%}.image-skeleton{position:absolute;top:0;left:0;width:100%;height:100%;opacity:1;transition:opacity\n var(--image-transition-duration, var(--image-transition-duration-default))\n ease-in-out}:host(.set-mode-transition) .image-skeleton{transition:none;opacity:1}:host(.set-mode-transition) .image{transition:none;opacity:0}.image-skeleton vviinn-skeleton{width:100%;height:100%}:host(.has-skeleton-icon) .image-skeleton::after{content:url(\"data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_810_154)'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M64.7332 1.23333C66.2665 12.2667 67.9665 13.9667 78.6665 15.2333C79.4332 15.3333 79.9999 15.9333 79.9999 16.6667C79.9999 17.4 79.4665 17.9333 78.6665 18.0667C67.9665 19.3667 66.2999 21.0333 64.7332 32.0667C64.6332 32.8 64.0665 33.3333 63.3665 33.3333C62.6665 33.3333 62.0999 32.8 61.9665 32.0667C60.4665 21.0333 58.7665 19.3667 48.0332 18.0667C47.2332 17.9667 46.6999 17.4333 46.6999 16.6667C46.6999 15.9 47.2332 15.3667 48.0332 15.2333C58.7665 13.7667 60.3999 12.2 61.9665 1.23333C62.0999 0.5 62.6665 0 63.3665 0C64.0665 0 64.5999 0.5 64.7332 1.23333ZM38.5665 71.5667C38.3665 72.6 37.6665 73.3333 36.6665 73.3333C35.6665 73.3333 34.9665 72.6 34.7998 71.5667C31.9332 50.7 29.0998 47.9 8.49984 45.2C7.39984 45.1 6.6665 44.3 6.6665 43.3C6.6665 42.3 7.39984 41.5333 8.49984 41.4333C29.1332 39.1333 32.0998 35.9333 34.7998 15.0333C34.9665 14.0333 35.6665 13.3333 36.6665 13.3333C37.6665 13.3333 38.3665 14 38.5665 15.0333C41.2665 35.9333 44.1998 39.1333 64.8665 41.4333C65.9332 41.5333 66.6665 42.2667 66.6665 43.3C66.6665 44.3333 65.9332 45.1 64.8665 45.2C44.1998 47.5 41.2665 50.7 38.5665 71.5667Z' fill='white'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_810_154'%3E%3Crect width='80' height='80' fill='white'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E\");position:absolute;width:80px;height:80px;left:calc(50% - 40px);top:calc(50% - 40px);z-index:10}";class Jt{sendImpression(t){var e,r,n;t&&gtag("event","view_item_list",{items:[{id:t.productId,name:t.title,brand:null!==(e=t.brand)&&void 0!==e?e:"",category:null!==(r=t.productType)&&void 0!==r?r:"",list_name:"VI VPR View",price:Math.min(t.price.actual,null!==(n=t.price.sale)&&void 0!==n?n:1/0)}]})}sendClick(t){var e,r,n;t&&gtag("event","select_content",{content_type:"product",items:[{id:t.productId,name:t.title,brand:null!==(e=t.brand)&&void 0!==e?e:"",category:null!==(r=t.productType)&&void 0!==r?r:"",list_name:"VI VPR View",price:Math.min(t.price.actual,null!==(n=t.price.sale)&&void 0!==n?n:1/0)}]})}}class Yt{constructor(){ga("require","ec")}convertProduct(t){var e,r,n;return{id:t.productId,name:t.title,brand:null!==(e=t.brand)&&void 0!==e?e:"",category:null!==(r=t.productType)&&void 0!==r?r:"",list:"VI VPR View",price:Math.min(t.price.actual,null!==(n=t.price.sale)&&void 0!==n?n:1/0)}}sendImpression(t){t&&ga("ec:addImpression",this.convertProduct(t))}sendClick(t){var e,r,n;t&&(ga("ec:addProduct",{id:t.productId,name:t.title,brand:null!==(e=t.brand)&&void 0!==e?e:"",category:null!==(r=t.productType)&&void 0!==r?r:"",price:Math.min(t.price.actual,null!==(n=t.price.sale)&&void 0!==n?n:1/0)}),ga("ec:setAction","click",{list:"VI VPR View"}))}}const Kt=y.getMonoid(m().first()).concat(g.pipe(y.fromNullable(window.gtag),y.map((()=>new Jt))),g.pipe(y.fromNullable(window.ga),y.map((()=>new Yt)))),Xt=(t,e)=>t&&e>=2,Gt=(t,e)=>{var r;if(!t||0===e.length)return!1;const n=e[0];return(null!==(r=null==n?void 0:n.thumbnail)&&void 0!==r?r:null==n?void 0:n.original)===t},Qt=(t,e,r,n)=>{var i;if(n&&t&&r.length>0){const t=r[Gt(e,r)&&r.length>1?1:0];return null!==(i=null==t?void 0:t.thumbnail)&&void 0!==i?i:null==t?void 0:t.original}return e};"undefined"!=typeof window&&wt();const te=(e,r)=>e.deeplink?t("a",{class:e.part,part:e.part,href:e.deeplink,tabindex:e.tabindex},r):r,ee=(t,e)=>t?new Intl.NumberFormat(e,{minimumFractionDigits:2,maximumFractionDigits:2}).format(t):null,re=e=>{const r=e.priceType,n=ee(e.price,e.numberLocale),i=e.prefix?t("span",{part:"price-prefix"},e.prefix+" "):null,o=e.currency?t("span",{part:"currency",class:"currency"},e.currency):null;return n?t("span",{class:"price-amount",part:"price-amount"+(r?"-"+r:"")},i,n,o):null},ne=({currency:e,basePrice:r,priceType:n,numberLocale:i})=>{if(!(null==r?void 0:r.price))return null;const o=ee(r.price,i);return t("span",{class:"price-amount price-amount--base",part:"price-amount-base"+(n?"-"+n:"")},o,(null==e?void 0:e.length)>0&&t("span",{part:"currency",class:"currency"},e),"/",(null==r?void 0:r.quantity)>1&&(null==r?void 0:r.quantity),null==r?void 0:r.measure)},ie=t=>t?"string"==typeof t?JSON.parse(t):t:null,oe=(e,r)=>t(i,null,e.map(((e,n)=>((e,n)=>e?t("span",{part:`custom-label-${n} custom-label-${r}`,class:"custom-label"},t("slot",{name:`vviinn-custom-label-${n}`},e)):null)(e,n)))),ae=e=>{var r,n;const i=e.price||(null===(r=e.basePrice)||void 0===r?void 0:r.price),o=e.salePrice||(null===(n=e.baseSalePrice)||void 0===n?void 0:n.price),a=(r,n,i)=>t("span",{class:`price-${r}`,part:`price-${r}`},t(re,{prefix:e.prefix,currency:e.currency,price:n,numberLocale:e.numberLocale,priceType:r}),t(ne,{currency:e.currency,basePrice:i,numberLocale:e.numberLocale,priceType:r})),l=()=>o?[i&&a("outdated",e.price,e.basePrice),a("sale",e.salePrice,e.baseSalePrice)]:i?a("regular",e.price,e.basePrice):null;return e.showInContainer?t("div",{class:"price-container",part:"price-container"},l()):l()},le=e=>{const{src:r,width:n,title:i,responsive:o=!1,imageResolutionWidth:a,showSkeleton:l=!1,isSetMode:s=!1,entityType:c="product",customClass:u="",imageRef:d,onImageLoad:h,renderPlaceholderSlot:v=!0,images:p=[],showMultipleImages:b=!1,disableMobileSwiper:g=!1,deeplink:m}=e;if(b&&!g&&f()){const e=((t,e)=>(!t||Gt(t,e)?e:[{original:t,thumbnail:t},...e]).slice(0,2))(r,p);if(e.length>1)return t(se,{images:e,productTitle:i,imageWidth:n,imageResolutionWidth:a,onImageLoad:h,responsive:o,showSkeleton:l,isSetMode:s,entityType:c,customClass:u,imageRef:d,deeplink:m})}const y=t("vviinn-image",{src:r,width:n,alt:i,imageTitle:i,responsive:o,entityType:c,imageResolutionWidth:a,customClass:u,imageRef:d,onVviinnImageLoad:h,showSkeleton:l,isSetMode:s,style:{"--image-border":"var(--product-card-image-border, none)","--image-bg-color":"var(--product-card-image-bg-color, var(--surface-bg-color-01))","--image-transition-duration":"var(--product-card-transition-duration, 0.5s)"}},v&&t("slot",{name:"vviinn-image-placeholder-icon",slot:"placeholder-icon"}));return t(te,{deeplink:m,part:"image-link"},y)},se=e=>{const{images:r,productTitle:n,imageWidth:i,imageResolutionWidth:o,onImageLoad:a,responsive:l,showSkeleton:s,isSetMode:c,entityType:u="product",customClass:f,imageRef:d,deeplink:h}=e;return t("div",{class:"product-card-swiper-wrapper"},t("swiper-container",{ref:t=>{t&&jt(t,{isDesktop:!1,pagination:r.length>1,slidesPerView:1,spaceBetween:0})},class:"product-card-swiper",pagination:r.length>1?"true":void 0,"pagination-clickable":r.length>1?"true":void 0,exportparts:"pagination:product-images-pagination, bullet:product-images-pagination-bullet, bullet-active:product-images-pagination-bullet-active"},r.map(((e,r)=>{var v;const p=null!==(v=e.thumbnail)&&void 0!==v?v:e.original;return t("swiper-slide",{key:p},t(te,{deeplink:h,part:"image-link"},t("vviinn-image",{src:p,width:i,alt:n,imageTitle:n,responsive:l,entityType:u,imageResolutionWidth:o,customClass:f,imageRef:0===r?d:void 0,onVviinnImageLoad:0===r?a:void 0,showSkeleton:s,isSetMode:c,style:{"--image-border":"var(--product-card-image-border, none)","--image-bg-color":"var(--product-card-image-bg-color, var(--surface-bg-color-01))","--image-transition-duration":"var(--product-card-transition-duration, 0.5s)"}})))}))))},ce=class{constructor(t){e(this,t),this.vviinnProductLoad=r(this,"vviinnProductLoad"),this.vviinnProductView=r(this,"vviinnProductView"),this.vviinnProductClick=r(this,"vviinnProductClick"),this.vviinnAddToBasket=r(this,"vviinnAddToBasket"),this.vviinnAddToFavorite=r(this,"vviinnAddToFavorite"),this.vviinnAuxClick=r(this,"vviinnAuxClick"),this.vviinnCrossSellingClick=r(this,"vviinnCrossSellingClick"),this.vviinnUpdatingAllCardsStarted=r(this,"vviinnUpdatingAllCardsStarted"),this.vviinnUpdatingAllCardsFinished=r(this,"vviinnUpdatingAllCardsFinished"),this.currencySign=void 0,this.images=[],this.showMultipleImages=!1,this.imageWidth=ot,this.entityType="product",this.isSetMode=!1,this.responsive=!1,this.customLabels="",this.addPriceContainer=!1,this.cssUrl=null,this.index=0,this.isSourceProduct=!1,this.isResultsWidget=!1,this.energyCertificationsString="",this.isStandalone=!1,this.showFooterArrow=!1,this.imageResolutionWidth=lt,this.loading=!1,this.disableMobileSwiper=!1,this.isTransitioning=!1,this.basketButonPressed=!1,this.favoriteButonPressed=!1,this.imageLoaded=!1,this.showSecondImage=!1,this.productData=null,this.hoverTimerManager=(()=>{let t;const e=()=>{t&&(clearTimeout(t),t=void 0)};return{set:(r,n)=>{e(),t=setTimeout(r,n)},clear:e}})(),this.isContentCard=!1,this.isListCard=!1,this.isShowUpdateButton=()=>this.isSetMode&&!this.isSourceProduct&&!this.basketButonPressed&&"onTop"!==this.updateButtonLocation,this.isShowBasketButton=()=>!this.isSourceProduct&&(this.addToBasketShow||this.isSetMode),this.showSkeleton=()=>this.isSetMode?this.isTransitioning:this.loading,this.handleImageMouseEnter=()=>{Xt(this.showMultipleImages,this.images.length)&&this.hoverTimerManager.set((()=>{this.showSecondImage=!0}),65)},this.handleImageMouseLeave=()=>{Xt(this.showMultipleImages,this.images.length)&&(this.hoverTimerManager.clear(),this.showSecondImage=!1)}}get effectiveCurrencySign(){var t;return null!==(t=this.currencySign)&&void 0!==t?t:T.currencySign}get effectiveLocale(){var t;return null!==(t=this.locale)&&void 0!==t?t:T.locale}get effectiveNumberLocale(){return this.numberLocale||this.effectiveLocale}connectedCallback(){this.productData=this.getProductData(),this.isContentCard="content"===this.entityType,this.isListCard="list"===this.entityType,this.imageProps=this.getImageProps(),this.isStandalone&&ht(this.effectiveLocale),this.energyCertificationsString.length>0&&this.parseEnergyCertificationsString()}componentWillLoad(){st(this,this.el)}componentDidLoad(){this.showSkeleton()||(this.vviinnProductLoad.emit(this.productData),this.addLinksEventListeners(),this.initializeVisibilityTracking())}initializeVisibilityTracking(){!this.imageElement||this.intersectionObserver||this.showSkeleton()||(this.intersectionObserver=_t(this.imageElement,{threshold:.95,onIntersectionChange:t=>{var e;t&&(g.pipe(Kt,y.map((t=>t.sendImpression(this.product)))),this.vviinnProductView.emit(this.productData),null===(e=this.intersectionObserver)||void 0===e||e.disconnect())}}))}cleanupVisibilityTracking(){var t;null===(t=this.intersectionObserver)||void 0===t||t.disconnect(),this.intersectionObserver=null,this.visibilityTrackedElement=null}crossSellingClickListener({detail:t}){const{animationInterval:e}=t;this.isTransitioning=!0,this.resetButtonStates(),this.startAnimationTimer(e)}updatingAllCardsWatcher(){this.updatingAllCards&&(this.vviinnUpdatingAllCardsStarted.emit(),this.isTransitioning=!0,this.resetButtonStates(),this.startAnimationTimer(this.defaultAnimationInterval,(()=>{this.vviinnUpdatingAllCardsFinished.emit()})))}productIdWatcher(){this.productData=this.getProductData(),this.imageProps=this.getImageProps()}showSecondImageWatcher(){this.imageProps=this.getImageProps()}parseEnergyCertificationsString(){if(""!==this.energyCertificationsString)try{this.energyCertifications=JSON.parse(this.energyCertificationsString)}catch(t){console.error("Invalid filters string",t)}}getProductData(){var t;return Object.assign({productId:this.productId,productRank:this.index,productName:this.productTitle,productType:this.productType,campaignTypeId:this.campaignTypeId,campaignTypeName:l[this.campaignTypeId],widgetVersion:this.widgetVersion},s("widgetId",null!==(t=this.buttonElementId)&&void 0!==t?t:this.widgetElementId))}basketButtonClickHandler(){this.vviinnAddToBasket.emit(Object.assign(Object.assign({},this.productData),{discount:this.currentDiscountPercentage})),this.basketButonPressed=!0}favoriteButtonClickHandler(){this.vviinnAddToFavorite.emit(Object.assign({},this.productData)),this.favoriteButonPressed=!this.favoriteButonPressed}productClickHandler(t){t.preventDefault(),t.stopImmediatePropagation(),this.vviinnProductClick.emit(Object.assign(Object.assign({},this.productData),{clickEvent:t})),g.pipe(Kt,y.match((()=>null),(t=>t.sendClick(this.product))))}addLinksEventListeners(){if(this.showSkeleton())return;this.linkEventAbortController=new AbortController;const{signal:t}=this.linkEventAbortController;this.el.shadowRoot.querySelectorAll("a").forEach((e=>{const r=this.productClickHandler.bind(this);ct(e,[["click",r],["auxclick",()=>{this.vviinnAuxClick.emit(Object.assign({},this.productData))}]],t)}))}disconnectedCallback(){var t;null===(t=this.linkEventAbortController)||void 0===t||t.abort(),this.cleanupVisibilityTracking(),this.hoverTimerManager.clear()}getImageProps(){return{width:this.imageWidth,src:Qt(this.showSecondImage,this.image,this.images,Xt(this.showMultipleImages,this.images.length)),imageResolutionWidth:this.isContentCard?2*this.imageResolutionWidth:this.imageResolutionWidth,title:this.productTitle,ref:t=>{this.imageElement=t,t&&this.visibilityTrackedElement!==t?(this.cleanupVisibilityTracking(),this.visibilityTrackedElement=t,this.initializeVisibilityTracking()):t||this.cleanupVisibilityTracking()},isSource:this.isSourceProduct,onLoadEnd:()=>{this.imageLoaded=!0,this.loading=!1}}}resetButtonStates(){this.basketButonPressed=!1,this.favoriteButonPressed=!1}startAnimationTimer(t,e){const r=setTimeout((()=>{null==e||e(),this.isTransitioning=!1,clearTimeout(r)}),t)}render(){var e,r,n,a,l;return this.isContentCard||this.isListCard?t(o,{part:`product-card ${this.entityType}-card`,class:`${this.entityType}-card`,exportparts:this.isContentCard?gt:mt,"data-id":this.productId},Ot(this.cssUrl),t("div",{class:`image-container ${this.entityType}-card-image-container`,part:"image-container"},le({src:this.imageProps.src,width:this.imageProps.width,title:this.imageProps.title,responsive:this.responsive,entityType:this.entityType,imageResolutionWidth:this.imageProps.imageResolutionWidth,customClass:this.imageLoaded?"loaded":"",imageRef:this.imageProps.ref,onImageLoad:this.imageProps.onLoadEnd,showSkeleton:this.showSkeleton(),isSetMode:this.isSetMode,images:this.images,showMultipleImages:this.showMultipleImages,disableMobileSwiper:this.disableMobileSwiper,deeplink:this.deeplink})),this.isContentCard?((e,r,n)=>t("div",{class:"content-container",part:"content-container content-card-content-container"},t("div",{class:"content-label",part:"content-label"},n),e&&t("div",{class:"content-title",part:"content-title",title:e},e),r&&t(te,{deeplink:r,part:"content-link",tabindex:0},function(t){if(!t)return"";if(!t.includes("://"))return t;try{const e=new URL(t).pathname.split("/").filter(Boolean);return e.length?`/${e.pop()}`:t}catch(e){return t}}(r))))(this.productTitle,this.deeplink,S.t("contentLabel")):(a=this.productTitle,l=S.t("listLabel"),t("div",{class:"content-container",part:"list-container list-card-content-container"},t("div",{class:"list-label",part:"list-label"},l),a&&t("div",{class:"list-title",part:"list-title",title:a},a))),this.isListCard&&this.deeplink&&t("a",{href:this.deeplink,class:"list-card-overlay-link","aria-label":this.productTitle})):t(o,{part:"product-card",class:{animated:this.isTransitioning,"product-card--source":this.isSourceProduct,"set-mode":this.isSetMode},exportparts:yt,"data-id":this.productId},Ot(this.cssUrl),t("div",{class:"content-container",part:"content-container"},this.showSkeleton()?t(i,null,t("vviinn-skeleton",{height:40}),t("vviinn-skeleton",{height:20,halfWidth:!0}),t("vviinn-skeleton",{height:40})):t(i,null,t(te,{deeplink:this.deeplink,part:"deeplink",tabindex:0},t("span",{class:"title",part:"title"},this.productTitle)),(null===(e=this.brand)||void 0===e?void 0:e.length)>0&&t("span",{class:"brand",part:"brand"},this.brand),(null===(r=this.productType)||void 0===r?void 0:r.length)>0&&t("span",{class:"product-type",part:"product-type"},this.productType),(null!==(n=null==this?void 0:this.energyCertifications)&&void 0!==n?n:[]).map((e=>t("vviinn-energy-label",{classIconUrls:null==e?void 0:e.classIconUrls,classDataSheetUrl:null==e?void 0:e.classDataSheetUrl,productType:null==e?void 0:e.productType,certificationClass:null==e?void 0:e.certificationClass,classRange:null==e?void 0:e.classRange}))),t(ae,{prefix:this.pricePrefix,currency:this.effectiveCurrencySign,numberLocale:this.effectiveNumberLocale,price:this.price,basePrice:ie(this.basePrice),salePrice:this.salePrice,baseSalePrice:ie(this.baseSalePrice),showInContainer:this.addPriceContainer}),oe(this.customLabels.split(X),"content"))),t("div",{class:{"basket-button-container":!0,hidden:!this.isShowBasketButton()||this.showSkeleton()},part:"basket-button-container"},t("button",{class:{"basket-button":!0,pressed:this.basketButonPressed},part:"basket-button",onClick:this.basketButtonClickHandler.bind(this)},t("div",{class:{"basket-button-content":!0,hidden:this.basketButonPressed},key:"not-pressed"},t("span",{class:"basket-button-icon-container"},t("slot",{name:"vviinn-basket-button-icon"},t(Ct,null))),t("span",null,this.isSetMode?t("slot",{name:"vviinn-basket-button-text",key:"button-text-set"},S.t("setMode.basketButtonText")):t("slot",{name:"vviinn-basket-button-text",key:"button-text-default"},S.t("basketButtonText")))),t("div",{key:"pressed",class:{"basket-button-content":!0,hidden:!this.basketButonPressed}},t("span",{class:"basket-button-icon-container"},t("slot",{name:"vviinn-basket-button-icon-pressed"},t(Mt,null))),t("span",null,t("span",{class:"discount-percentage",part:"discount-percentage",hidden:!(this.isSetMode&&this.appliedDiscountPercentage)},this.appliedDiscountPercentage,"%"),t("slot",{name:"vviinn-basket-button-text-pressed"},S.t(this.isSetMode?"setMode.basketButtonPressedText":"basketButtonPressedText")))))),t("div",{class:"image-container",part:"image-container",onMouseEnter:this.handleImageMouseEnter,onMouseLeave:this.handleImageMouseLeave},le({src:this.imageProps.src,width:this.imageProps.width,title:this.imageProps.title,responsive:this.responsive,entityType:this.entityType,imageResolutionWidth:this.imageProps.imageResolutionWidth,customClass:this.imageLoaded?"loaded":"",imageRef:this.imageProps.ref,onImageLoad:this.imageProps.onLoadEnd,showSkeleton:this.showSkeleton(),isSetMode:this.isSetMode,images:this.images,showMultipleImages:this.showMultipleImages,disableMobileSwiper:this.disableMobileSwiper,deeplink:this.deeplink}),this.isSourceProduct&&t(K,{class:"plus-icon"}),this.isSetMode&&!this.appliedDiscountPercentage&&this.currentDiscountPercentage&&t("div",{class:"discount-label",part:"discount-label"},`-${this.currentDiscountPercentage}%`),t("div",{class:"product-card-actions-top",part:"product-card-actions-top"},t("button",{class:{hidden:!this.favoriteShow||this.isSourceProduct},part:"favorite-button",onClick:this.favoriteButtonClickHandler.bind(this),"aria-label":S.t(this.favoriteButonPressed?"a11y.removeFromFavorites":"a11y.addToFavorites")},t("div",{key:"favorite-not-pressed",class:{hidden:this.favoriteButonPressed}},t("slot",{name:"vviinn-favorite-icon"},t(Lt,{width:14,height:14}))),t("div",{key:"favorite-pressed",class:{hidden:!this.favoriteButonPressed}},t("slot",{name:"vviinn-favorite-icon-pressed"},t(Wt,{width:14,height:14})))),t("button",{class:{"update-button":!0,hidden:!this.isShowUpdateButton()},part:"update-button-item",onClick:()=>{this.vviinnCrossSellingClick.emit({animationInterval:Pt(800,1400),productData:this.productData})},"aria-label":S.t("a11y.findSimilarProducts")},t("div",null,t("slot",{name:"vviinn-update-button-icon"},t(It,{width:14,height:14}))))),t("div",{class:"product-card-actions",part:"product-card-actions"},t("slot",{name:"vviinn-product-card-actions"})),oe(this.customLabels.split(X),"image")),this.showFooterArrow&&t("div",{class:"footer-arrow"}))}get el(){return a(this)}static get watchers(){return{updatingAllCards:["updatingAllCardsWatcher"],productId:["productIdWatcher"],showSecondImage:["showSecondImageWatcher"]}}};ce.style=':host{--font-family-base:Inter, system-ui, sans-serif;--font-family-mono:monospace;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;--font-size-display:32px;--font-size-title:24px;--font-size-headline:18px;--font-size-label-large:16px;--font-size-label:14px;--font-size-body-large:16px;--font-size-body:14px;--font-size-caption:12px;--line-height-display:40px;--line-height-title:32px;--line-height-headline:24px;--line-height-label-large:24px;--line-height-label:20px;--line-height-body-large:24px;--line-height-body:20px;--line-height-caption:16px;--letter-spacing-title:0px;--letter-spacing-headline:0px;--letter-spacing-label-large:0px;--letter-spacing-label:0px;--letter-spacing-body-large:0px;--letter-spacing-body:0px;--letter-spacing-caption:0px;--font-weight-400:400;--font-weight-500:500;--font-weight-600:600;--font-weight-700:700;--spacing-none:0px;--spacing-25:2px;--spacing-50:4px;--spacing-75:6px;--spacing-100:8px;--spacing-125:10px;--spacing-150:12px;--spacing-200:16px;--spacing-250:20px;--spacing-300:24px;--spacing-400:32px;--spacing-500:40px;--spacing-600:48px;--border-radius-none:0px;--border-radius-25:2px;--border-radius-50:4px;--border-radius-100:8px;--border-radius-150:12px;--border-radius-200:16px;--border-radius-300:24px;--border-radius-400:32px;--border-radius-full:9999px;--stroke-width-none:0px;--stroke-width-25:1px;--stroke-width-50:2px;--stroke-width-75:3px;--stroke-width-100:4px;--stroke-width-150:6px;--stroke-width-200:8px;--stroke-width-300:12px;--product-card-widget-min-width:135px;--product-card-results-min-width:250px;--image-set-mode-min-width:155px;--source-card-set-mode-max-width:500px;--filter-blur-none:0px;--filter-blur-100:8px;--filter-blur-150:12px;--filter-blur-200:16px;--color-bg-base:#ffffff;--color-bg-inverse:#161616;--color-border-00:#ffffff;--color-border-01:#f4f4f4;--color-border-02:#e0e0e0;--color-border-03:#c6c6c6;--color-border-inverse-00:#161616;--color-border-inverse-01:#393939;--color-field-01:#ffffff;--color-field-02:#f4f4f4;--color-icon-primary:#161616;--color-icon-secondary:#525252;--color-icon-helper:#8d8d8d;--color-icon-on-color:#ffffff;--color-icon-inverse:#ffffff;--color-icon-disabled:#16161640;--color-text-primary:#161616;--color-text-secondary:#707070;--color-text-helper:#8d8d8d;--color-text-placeholder:#a8a8a8;--color-text-on-color:#ffffff;--color-text-inverse:#ffffff;--color-text-disabled:#16161640;--button-bg-color-primary:#000000;--button-bg-color-primary-hover:#161616;--button-bg-color-primary-active:#1e1e1e;--button-bg-color-secondary:#f4f4f4;--button-bg-color-secondary-hover:#e0e0e0;--button-bg-color-secondary-active:#c6c6c6;--button-bg-color-ghost-hover:#f4f4f4;--button-bg-color-ghost-active:#eaeaea;--button-bg-color-frosted:#6f6f6f66;--button-bg-color-frosted-hover:#6f6f6f80;--button-bg-color-frosted-active:#6f6f6f99;--button-bg-color-disabled:#e0e0e0;--button-bg-color-positive:#dcfce7;--surface-bg-color-01:#f4f4f4;--surface-bg-color-01-hover:#eaeaea;--surface-bg-color-01-active:#e0e0e0;--surface-bg-color-02:#ffffff;--surface-bg-color-inverse:#262626;--surface-bg-color-inverse-hover:#303030;--surface-bg-color-inverse-active:#393939;--surface-bg-color-disabled:#e0e0e0;--surface-bg-color-shadow-01:#dddddd;--surface-bg-color-shadow-02:#c6c6c6;--chip-bg-color-primary:#161616;--chip-bg-color-primary-hover:#1e1e1e;--chip-bg-color-primary-active:#262626;--chip-bg-color-subtle:#f4f4f4;--chip-bg-color-subtle-hover:#eaeaea;--chip-bg-color-subtle-active:#e0e0e0;--chip-bg-color-outline-hover:#f4f4f4;--chip-bg-color-outline-active:#eaeaea;--label-bg-color-accent:#ff3944;--sidebar-animation-duration-default:0.5s;--search-modal-animation-duration-default:0.25s;--search-modal-animation-duration-mobile-default:0.35s;}swiper-container::part(bullet){width:8px;height:8px;border-radius:var(--border-radius-full);background:var(--color-border-02);transition:width 0.25s cubic-bezier(0.4, 0, 0.2, 1),\n height 0.25s cubic-bezier(0.4, 0, 0.2, 1),\n border-radius 0.25s cubic-bezier(0.4, 0, 0.2, 1),\n background 0.25s cubic-bezier(0.4, 0, 0.2, 1),\n transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);margin:0;opacity:1;cursor:pointer;border:none;outline:none;transform:scale(1);position:relative}swiper-container::part(bullet)::after{content:"";position:absolute;top:-8px;left:-8px;right:-8px;bottom:-8px;cursor:pointer}swiper-container::part(bullet):hover{background:rgba(22, 22, 22, 0.5);transform:scale(1.2)}swiper-container::part(bullet-active){width:24px;height:8px;border-radius:var(--spacing-50);background:var(--color-icon-helper)}swiper-container::part(bullet-active):hover{background:var(--color-icon-secondary);transform:scale(1.1)}:host{--product-card-content-align-default:flex-start;--product-card-text-align-default:left;--product-card-image-border-default:none;--product-card-image-bg-color-default:var(--surface-bg-color-01);--basket-button-bg-color-pressed-default:var(--button-bg-color-positive);--product-card-image-aspect-ratio-default:1;--product-card-transition-duration-default:0.5s;box-sizing:border-box;position:relative;height:-moz-fit-content;height:fit-content;display:flex;flex-direction:column;align-items:var(\n --product-card-content-align,\n var(--product-card-content-align-default)\n );text-align:var(\n --product-card-text-align,\n var(--product-card-text-align-default)\n );font-family:var(--font-family, var(--font-family-base));font-weight:var(--font-weight-400);font-size:var(--font-size-body);line-height:var(--line-height-body);font-style:normal;color:var(--color-text-primary);gap:var(--spacing-100)}.image-container{order:1}.content-container{order:2}.basket-button-container{order:3}.image-container{position:relative;width:100%;cursor:pointer}.image-container vviinn-image{transition:opacity var(--product-card-transition-duration, 0.3s) ease-in-out}:host(.set-mode) vviinn-image::part(image),:host(.set-mode.product-card--source) vviinn-image::part(image){width:var(--vviinn-set-mode-image-width, 100%);height:100%;min-width:var(--image-set-mode-min-width)}.plus-icon{position:absolute;width:32px;height:32px;top:50%;right:-88px;transform:translateY(-50%);padding:8px;background-color:white;color:#999;border:1px solid #dddddd;border-radius:50%;z-index:1}.image-placeholder{display:flex;align-items:center;justify-content:center;background:#f0f0f0;aspect-ratio:var(\n --product-card-image-aspect-ratio,\n var(--product-card-image-aspect-ratio-default)\n );width:100%;height:auto}.basket-button-container{width:100%;display:flex;justify-content:var(\n --product-card-content-align,\n var(--product-card-content-align-default)\n )}.content-container{box-sizing:border-box;display:grid;width:100%;grid-template-columns:1fr;align-items:var(\n --product-card-content-align,\n var(--product-card-content-align-default)\n );gap:var(--spacing-50);background-color:var(--surface-bg-color-02)}.price-container{display:flex;flex-direction:column;gap:var(--spacing-50);flex-wrap:wrap;justify-content:var(\n --product-card-content-align,\n var(--product-card-content-align-default)\n )}.price-outdated,.price-sale,.price-regular{justify-content:var(\n --product-card-content-align,\n var(--product-card-content-align-default)\n );display:flex;gap:var(--spacing-100);flex-wrap:wrap}.price-outdated{color:var(--color-text-secondary);text-decoration:line-through}.custom-label{font-weight:var(--font-weight-600);display:none}.price-amount,.custom-label>span,.currency{white-space:nowrap}.custom-label>span{margin-right:var(--spacing-75)}.price-amount--base{color:var(--color-text-secondary);font-size:var(--font-size-caption)}.product-type{word-wrap:anywhere}.currency{padding-left:var(--spacing-50)}.brand,.title,.product-type{display:-webkit-box;text-align:var(\n --product-card-text-align,\n var(--product-card-text-align-default)\n );-webkit-box-orient:vertical;-webkit-line-clamp:1;overflow-wrap:anywhere;text-overflow:ellipsis;overflow:hidden}.title{font-weight:var(--font-weight-600);color:var(--color-text-primary);-webkit-line-clamp:2}.deeplink{max-width:100%;text-decoration:none}.image-link{display:contents}.product-card-actions,.product-card-actions-top{line-height:0px;position:absolute;right:var(--spacing-75);z-index:3}.product-card-actions-top{top:var(--spacing-75)}.product-card-actions{bottom:var(--spacing-75)}::slotted([slot="vviinn-product-card-actions"]),.product-card-actions-top,.product-card-actions{display:flex;flex-direction:column;gap:4px}.product-card-actions-top button,.product-card-actions button,vviinn-vpr-button::part(button),.update-button{width:24px;height:24px;line-height:0px;z-index:1;border:none;cursor:pointer;background:none;background-color:var(--button-bg-color-frosted);color:var(--color-icon-on-color);backdrop-filter:blur(calc(var(--filter-blur-150) / 2));border-radius:var(--border-radius-100);padding:var(--spacing-50);display:flex;justify-content:center;align-items:center}.product-card-actions-top button:hover,.product-card-actions button:hover,.product-card-actions vviinn-vpr-button::part(button):hover,.update-button:hover{background-color:var(--button-bg-color-frosted-hover)}.product-card-actions-top button::after,.product-card-actions button::after,.product-card-actions vviinn-vpr-button::part(button)::after,.update-button::after{position:absolute;width:calc(100% + var(--spacing-100));height:calc(100% + var(--spacing-100));top:calc(-1 * var(--spacing-50));right:calc(-1 * var(--spacing-50));content:"";cursor:pointer}.basket-button{box-sizing:border-box;border:none;width:100%;padding:var(--spacing-100);font-size:var(--font-size-label);font-weight:var(--font-weight-600);font-family:var(--font-family, var(--font-family-base));color:var(--color-text-primary);background-color:var(--button-bg-color-secondary);cursor:pointer}.basket-button:hover{background-color:var(--button-bg-color-secondary-hover)}.basket-button-icon-container{display:inline-flex;align-items:center;justify-content:center}:host(.animated) .product-card-actions,:host(.animated) .product-card-actions-top{display:none}.basket-button-content{box-sizing:border-box;display:flex;align-items:center;justify-content:center;gap:var(--spacing-75)}.basket-button.pressed{background-color:var(\n --basket-button-bg-color-pressed,\n var(--basket-button-bg-color-pressed-default)\n )}.basket-button.pressed .discount-percentage{padding-right:var(--spacing-50)}@media (max-width: 768px){.plus-icon{padding:var(--spacing-100);top:50%;transform:translateY(-50%);right:calc(-1 * var(--spacing-300))}}.discount-label{position:absolute;left:var(--spacing-none);top:var(--spacing-150);padding:var(--spacing-25) var(--spacing-50);border-radius:var(--border-radius-none) var(--border-radius-50)\n var(--border-radius-50) var(--border-radius-none);color:var(--color-text-on-color);background-color:var(--label-bg-color-accent);letter-spacing:var(--letter-spacing-label)}:host(.animated) .discount-label{display:none}vviinn-energy-label{justify-content:var(\n --product-card-content-align,\n var(--product-card-content-align-default)\n )}.content-card-image-container{height:100%}.content-card-image-container .image-placeholder,.list-card-image-container .image-placeholder{aspect-ratio:unset;height:100%}.content-title,.content-link{display:-webkit-box;-webkit-box-orient:vertical;overflow-wrap:anywhere;text-overflow:ellipsis;overflow:hidden}.content-title{-webkit-line-clamp:3;font-size:var(--font-size-headline);font-weight:var(--font-weight-600);line-height:var(--line-height-headline);letter-spacing:var(--letter-spacing-headline)}.content-link{-webkit-line-clamp:1;color:var(--color-text-primary);text-decoration:none}:host(.list-card){position:relative;box-sizing:border-box;display:flex;flex-direction:column;align-items:center;padding:var(--spacing-250);gap:0;background-color:var(--surface-bg-color-01);align-self:flex-start}:host(.list-card)::before,:host(.list-card)::after{content:"";position:absolute;left:50%;transform:translateX(-50%);z-index:-1}:host(.list-card)::before{bottom:-12px;width:calc(100% - 16px);height:12px;background-color:var(--surface-bg-color-shadow-01)}:host(.list-card)::after{bottom:-20px;width:calc(100% - 32px);height:8px;background-color:var(--surface-bg-color-shadow-02)}:host(.list-card) .content-container{order:1;background-color:unset}:host(.list-card) vviinn-image{--image-bg-display:none;--picture-blend-mode:multiply}.list-card-image-container{order:2;box-sizing:border-box;padding:var(--spacing-125);flex:1;display:flex;align-items:center;justify-content:center}.list-card-image-container vviinn-image{max-width:100%;max-height:100%;width:auto;height:auto}.list-label{text-align:center;color:var(--color-text-secondary);font-size:var(--font-size-body);font-weight:var(--font-weight-400);line-height:var(--line-height-body);letter-spacing:var(--letter-spacing-body)}.list-title{text-align:center;font-size:var(--font-size-display);font-weight:var(--font-weight-600);line-height:var(--line-height-display);letter-spacing:var(--letter-spacing-title);display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis}.list-card-overlay-link{position:absolute;top:0;left:0;width:100%;height:100%;z-index:1;cursor:pointer}.footer-arrow{position:absolute;bottom:-35px;left:50%;width:0;height:0;transform:translate(-50%, 0) rotate(90deg);border-top:22px solid transparent;border-bottom:22px solid transparent;border-right:22px solid var(--color-border-02);z-index:99}.footer-arrow::after{content:"";width:0;height:0;border-top:21px solid transparent;border-bottom:21px solid transparent;border-right:21.5px solid #ffffff;position:absolute;top:-21px;left:1px}.hidden{display:none !important}.image-container:has(.product-card-swiper-wrapper){--swiper-pagination-bullet-size:8px;--pagination-height:calc(\n var(--spacing-200) + var(--swiper-pagination-bullet-size)\n );margin-bottom:var(--pagination-height)}.product-card-swiper-wrapper{margin-bottom:calc(-1 * var(--pagination-height))}.product-card-swiper::part(pagination){position:static;display:flex;justify-content:center;align-items:center;gap:var(--spacing-100);padding:var(--spacing-100) 0}';const ue=/[^\d]/g,fe=class{constructor(r){e(this,r),this.histogram=[],this.showCurrency=!0,this.showIntervalInputs=!1,this.clampAndEnforceMargin=(t,e)=>{let r=Math.max(this.minValue,Math.min(this.maxValue,t));return r="from"===e?Math.min(r,this.toValue-this.minMargin):Math.max(r,this.fromValue+this.minMargin),r},this.controlSlider=(t,e)=>{const r=t.target,n=parseInt(r.value),i=this.clampAndEnforceMargin(n,e);"from"===e?this.fromValue=i:this.toValue=i,r.value=String(i)},this.sendBackValue=()=>{this.intervalChangeHandler({interval:{start:this.fromValue,end:this.toValue}})},this.calculateInputSize=t=>Math.max(String(t).length,1),this.setCursorToEnd=t=>{t.setSelectionRange(t.value.length,t.value.length)},this.handleInputChange=t=>{const e=t.target,r=e.value.replace(ue,"");e.value=r,e.size=this.calculateInputSize(r)},this.handleInputBlur=(t,e)=>{const r=t.target,n=r.value.replace(ue,""),i="from"===e?this.minValue:this.maxValue;let o=parseInt(n);isNaN(o)&&(o=i);const a=this.clampAndEnforceMargin(o,e);"from"===e?this.fromValue=a:this.toValue=a,r.value=String(a),r.size=this.calculateInputSize(a),this.sendBackValue()},this.renderValueDisplay=(e,r,n,i,o)=>{var a,l;return this.showIntervalInputs?t("div",{class:"input-container",part:"histogram-input-container",onClick:t=>{const e=t.currentTarget.querySelector(".value-input");e&&t.target!==e&&(e.focus(),this.setCursorToEnd(e))}},t("span",{class:"input-label",part:"histogram-input-label"},t("slot",{name:o},S.t(n))),t("div",{class:"input-value-wrapper"},t("input",{type:"text",class:"value-input",part:`histogram-${r}-input`,value:e,size:this.calculateInputSize(e),onInput:this.handleInputChange,onBlur:t=>this.handleInputBlur(t,r),onKeyDown:t=>{"Enter"===t.key&&t.target.blur()},"aria-label":S.t(i)}),this.showCurrency&&t("span",{class:"input-currency"},null!==(a=this.currencySign)&&void 0!==a?a:T.currencySign))):t("div",{class:"label",part:"histogram-label"},e,this.showCurrency&&t("span",{class:"histogram-currency"},null!==(l=this.currencySign)&&void 0!==l?l:T.currencySign))}}componentWillLoad(){st(this,this.el),this.initializeValues()}initializeValues(){var t,e;if(!this.histogram||0===this.histogram.length)return;this.minValue=this.histogram[0].value.interval.start,this.maxValue=this.histogram[this.histogram.length-1].value.interval.end,this.selectedInterval?(this.fromValue=null!==(t=this.selectedInterval.start)&&void 0!==t?t:this.minValue,this.toValue=null!==(e=this.selectedInterval.end)&&void 0!==e?e:this.maxValue):(this.fromValue=this.minValue,this.toValue=this.maxValue);const r=Math.max(...this.histogram.map((({value:t})=>t.frequency)));this.scalingFactor=100/r}get minMargin(){return Math.max(1,Math.round(.03*(this.maxValue-this.minValue)))}calculateBarHeight(t){return t*this.scalingFactor}isBarActive(t){if(!t.active)return!1;const{start:e,end:r}=t.value.interval;return!(r<this.fromValue||e>this.toValue)}calculateBarWidth(t){const{start:e,end:r}=t.value.interval;return(r-e)/(this.maxValue-this.minValue)*100}render(){return t(o,{key:"243f582969e87741635e7c613a5a11f220ec1d38",exportparts:xt},t("div",{key:"cc5ce4f289195db063d9ffd4dd07cce0774ba383",class:"histogram",part:"histogram"},this.histogram.map((e=>{const r=this.calculateBarHeight(e.value.frequency),n=r&&r<3?3:r,i=this.calculateBarWidth(e),o=this.isBarActive(e);return t("div",{class:{"histogram-bar":!0,"histogram-bar-inactive":!o},style:{height:`${n}%`,width:`${i}%`},part:"histogram-bar"})}))),t("div",{key:"f0ba4223dbe6ad2161a829e3e8604450f32086e7",class:"range_container",part:"histogram-range-container"},t("div",{key:"994067ff81837734e016817fa973bc9b10ad99d5",class:"sliders_control",part:"histogram-sliders-control"},t("input",{key:"6540033eca0ccade67bd4ebe34656f34775e42d0",id:"fromSlider",type:"range",min:this.minValue,max:this.maxValue,step:1,value:this.fromValue,onInput:t=>this.controlSlider(t,"from"),onChange:this.sendBackValue,part:"histogram-from-slider","aria-label":S.t("a11y.priceRangeMin")}),t("input",{key:"7d6ea7ffd19a41e61cb8c026166892dc885a31cc",id:"toSlider",type:"range",min:this.minValue,max:this.maxValue,step:1,value:this.toValue,onInput:t=>this.controlSlider(t,"to"),onChange:this.sendBackValue,part:"histogram-to-slider","aria-label":S.t("a11y.priceRangeMax")}))),t("div",{key:"efd8b01f41281d378ba7f0152b0fedcecd3e3621",class:{"label-wrapper":!0,"with-inputs":this.showIntervalInputs},part:"histogram-label-wrapper"},this.renderValueDisplay(this.fromValue,"from","filters.from","a11y.priceRangeMin","vviinn-range-filter-from-label"),this.renderValueDisplay(this.toValue,"to","filters.till","a11y.priceRangeMax","vviinn-range-filter-to-label")))}get el(){return a(this)}static get watchers(){return{selectedInterval:["initializeValues"],histogram:["initializeValues"]}}};fe.style=':host{--font-family-base:Inter, system-ui, sans-serif;--font-family-mono:monospace;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;--font-size-display:32px;--font-size-title:24px;--font-size-headline:18px;--font-size-label-large:16px;--font-size-label:14px;--font-size-body-large:16px;--font-size-body:14px;--font-size-caption:12px;--line-height-display:40px;--line-height-title:32px;--line-height-headline:24px;--line-height-label-large:24px;--line-height-label:20px;--line-height-body-large:24px;--line-height-body:20px;--line-height-caption:16px;--letter-spacing-title:0px;--letter-spacing-headline:0px;--letter-spacing-label-large:0px;--letter-spacing-label:0px;--letter-spacing-body-large:0px;--letter-spacing-body:0px;--letter-spacing-caption:0px;--font-weight-400:400;--font-weight-500:500;--font-weight-600:600;--font-weight-700:700;--spacing-none:0px;--spacing-25:2px;--spacing-50:4px;--spacing-75:6px;--spacing-100:8px;--spacing-125:10px;--spacing-150:12px;--spacing-200:16px;--spacing-250:20px;--spacing-300:24px;--spacing-400:32px;--spacing-500:40px;--spacing-600:48px;--border-radius-none:0px;--border-radius-25:2px;--border-radius-50:4px;--border-radius-100:8px;--border-radius-150:12px;--border-radius-200:16px;--border-radius-300:24px;--border-radius-400:32px;--border-radius-full:9999px;--stroke-width-none:0px;--stroke-width-25:1px;--stroke-width-50:2px;--stroke-width-75:3px;--stroke-width-100:4px;--stroke-width-150:6px;--stroke-width-200:8px;--stroke-width-300:12px;--product-card-widget-min-width:135px;--product-card-results-min-width:250px;--image-set-mode-min-width:155px;--source-card-set-mode-max-width:500px;--filter-blur-none:0px;--filter-blur-100:8px;--filter-blur-150:12px;--filter-blur-200:16px;--color-bg-base:#ffffff;--color-bg-inverse:#161616;--color-border-00:#ffffff;--color-border-01:#f4f4f4;--color-border-02:#e0e0e0;--color-border-03:#c6c6c6;--color-border-inverse-00:#161616;--color-border-inverse-01:#393939;--color-field-01:#ffffff;--color-field-02:#f4f4f4;--color-icon-primary:#161616;--color-icon-secondary:#525252;--color-icon-helper:#8d8d8d;--color-icon-on-color:#ffffff;--color-icon-inverse:#ffffff;--color-icon-disabled:#16161640;--color-text-primary:#161616;--color-text-secondary:#707070;--color-text-helper:#8d8d8d;--color-text-placeholder:#a8a8a8;--color-text-on-color:#ffffff;--color-text-inverse:#ffffff;--color-text-disabled:#16161640;--button-bg-color-primary:#000000;--button-bg-color-primary-hover:#161616;--button-bg-color-primary-active:#1e1e1e;--button-bg-color-secondary:#f4f4f4;--button-bg-color-secondary-hover:#e0e0e0;--button-bg-color-secondary-active:#c6c6c6;--button-bg-color-ghost-hover:#f4f4f4;--button-bg-color-ghost-active:#eaeaea;--button-bg-color-frosted:#6f6f6f66;--button-bg-color-frosted-hover:#6f6f6f80;--button-bg-color-frosted-active:#6f6f6f99;--button-bg-color-disabled:#e0e0e0;--button-bg-color-positive:#dcfce7;--surface-bg-color-01:#f4f4f4;--surface-bg-color-01-hover:#eaeaea;--surface-bg-color-01-active:#e0e0e0;--surface-bg-color-02:#ffffff;--surface-bg-color-inverse:#262626;--surface-bg-color-inverse-hover:#303030;--surface-bg-color-inverse-active:#393939;--surface-bg-color-disabled:#e0e0e0;--surface-bg-color-shadow-01:#dddddd;--surface-bg-color-shadow-02:#c6c6c6;--chip-bg-color-primary:#161616;--chip-bg-color-primary-hover:#1e1e1e;--chip-bg-color-primary-active:#262626;--chip-bg-color-subtle:#f4f4f4;--chip-bg-color-subtle-hover:#eaeaea;--chip-bg-color-subtle-active:#e0e0e0;--chip-bg-color-outline-hover:#f4f4f4;--chip-bg-color-outline-active:#eaeaea;--label-bg-color-accent:#ff3944;--sidebar-animation-duration-default:0.5s;--search-modal-animation-duration-default:0.25s;--search-modal-animation-duration-mobile-default:0.35s;}:host{display:block;margin-top:var(--spacing-300);font-family:var(--font-family, var(--font-family-base));--thumb-size:32px}.histogram{height:64px;display:flex;align-items:flex-end;gap:var(--spacing-25);padding:0 var(--spacing-150)}.histogram-bar{background:var(--surface-inverse-bg-color, #262626);border-radius:2px 2px 0px 0px}.histogram-bar.histogram-bar-inactive{background:var(--surface-bg-color-disabled)}.range_container{display:flex;flex-direction:column;width:100%;margin-top:-2px;transform:translateX(-2px)}.range_container .sliders_control{position:relative;min-height:25px}.range_container .form_control{position:relative;display:flex;justify-content:space-between;font-size:24px;color:#635a5a}.range_container input[type="range"]{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:1px;width:100%;position:absolute;background:var(--color-border-02);pointer-events:none}.range_container input[type="range"]::-webkit-slider-thumb{-webkit-appearance:none;pointer-events:all;width:var(--thumb-size);height:var(--thumb-size);background-color:var(--color-bg-base);box-shadow:unset;border-radius:50%;border:1px solid var(--color-border-03);cursor:pointer}.range_container input[type="range"]::-moz-range-thumb{-webkit-appearance:none;pointer-events:all;width:var(--thumb-size);height:var(--thumb-size);background-color:var(--color-bg-base);box-shadow:unset;border-radius:50%;border:1px solid var(--color-border-02);cursor:pointer}.range_container input[type="range"]::-webkit-slider-thumb:hover{background:#f7f7f7}.range_container #fromSlider{z-index:1;background:transparent}.label-wrapper{display:flex;justify-content:space-between;margin-top:6px}.label-wrapper.with-inputs{gap:var(--spacing-100);height:48px;justify-content:flex-start}.label-wrapper .label{display:flex;padding:var(--spacing-25) var(--spacing-100);justify-content:center;align-items:center;border-radius:var(--border-radius-100);background:var(--chip-bg-color-primary);color:var(--color-text-inverse);text-align:center;font-size:var(--font-size-label);font-style:normal;font-weight:var(--font-weight-500);line-height:var(--line-height-label);letter-spacing:var(--letter-spacing-label);gap:3px}.input-container{display:flex;flex-direction:column;gap:0;align-items:stretch;flex:1 1 0;height:40px;border:1px solid var(--color-border-01);border-radius:var(--border-radius-100);background:var(--color-bg-base);padding:var(--spacing-50) var(--spacing-100);justify-content:center;cursor:text}.input-container:focus-within{border-color:var(--color-border-03)}.input-label{color:var(--color-text-secondary);font-size:var(--font-size-body);font-weight:var(--font-weight-400);line-height:var(--line-height-body);letter-spacing:var(--letter-spacing-body);font-family:var(--font-family-base);text-overflow:ellipsis;white-space:nowrap}.input-value-wrapper{display:inline-flex;align-items:baseline;gap:var(--spacing-25)}.value-input{border:none;background:transparent;color:var(--color-text-primary);font-size:var(--font-size-body);font-weight:var(--font-weight-400);line-height:var(--line-height-body);letter-spacing:var(--letter-spacing-body);font-family:var(--font-family-base);padding:0;max-width:100%}.value-input:focus{outline:none}.input-currency{color:var(--color-text-primary);font-size:var(--font-size-body);font-weight:var(--font-weight-400);line-height:var(--line-height-body);flex-shrink:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}';const de=class{constructor(t){e(this,t),this.halfWidth=!1}render(){return t(o,{key:"149fe2396c333fff4ff01e607a8f1b238ac12bdb"},t("div",{key:"6a9e376f9955458af0c30c9df01ea7c2b8849196",class:{"vviinn-skeleton":!0},style:{height:this.height?`${this.height.toString()}px`:"100%",width:this.halfWidth?"50%":"100%","aspect-ratio":this.aspectRatio?`${this.aspectRatio}`:void 0}}))}get el(){return a(this)}};de.style=":host{display:block;width:100%;height:100%;line-height:0}.vviinn-skeleton{display:inline-block;animation:pulse 1.2s infinite}@keyframes pulse{0%{background-color:rgb(244, 244, 244)}50%{background-color:rgb(232, 232, 232)}100%{background-color:rgba(244, 244, 244)}}";var he,ve={},pe={},be={},ge={};function me(){return he||(he=1,Object.defineProperty(ge,"__esModule",{value:!0}),ge.isFunction=void 0,ge.isFunction=function(t){return"function"==typeof t}),ge}var ye,xe,we={},je={},_e={};function Oe(){return ye||(ye=1,Object.defineProperty(_e,"__esModule",{value:!0}),_e.createErrorClass=void 0,_e.createErrorClass=function(t){var e=t((function(t){Error.call(t),t.stack=(new Error).stack}));return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}),_e}function ke(){if(xe)return je;xe=1,Object.defineProperty(je,"__esModule",{value:!0}),je.UnsubscriptionError=void 0;var t=Oe();return je.UnsubscriptionError=t.createErrorClass((function(t){return function(e){t(this),this.message=e?e.length+" errors occurred during unsubscription:\n"+e.map((function(t,e){return e+1+") "+t.toString()})).join("\n "):"",this.name="UnsubscriptionError",this.errors=e}})),je}var Ce,Me,ze={};function Se(){return Ce||(Ce=1,Object.defineProperty(ze,"__esModule",{value:!0}),ze.arrRemove=void 0,ze.arrRemove=function(t,e){if(t){var r=t.indexOf(e);0<=r&&t.splice(r,1)}}),ze}function Te(){if(Me)return we;Me=1;var t=we&&we.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},e=we&&we.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,i,o=r.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(t){i={error:t}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},r=we&&we.__spreadArray||function(t,e){for(var r=0,n=e.length,i=t.length;r<n;r++,i++)t[i]=e[r];return t};Object.defineProperty(we,"__esModule",{value:!0}),we.isSubscription=we.EMPTY_SUBSCRIPTION=we.Subscription=void 0;var n=me(),i=ke(),o=Se(),a=function(){function a(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return a.prototype.unsubscribe=function(){var o,a,s,c,u;if(!this.closed){this.closed=!0;var f=this._parentage;if(f)if(this._parentage=null,Array.isArray(f))try{for(var d=t(f),h=d.next();!h.done;h=d.next())h.value.remove(this)}catch(t){o={error:t}}finally{try{h&&!h.done&&(a=d.return)&&a.call(d)}finally{if(o)throw o.error}}else f.remove(this);var v=this.initialTeardown;if(n.isFunction(v))try{v()}catch(t){u=t instanceof i.UnsubscriptionError?t.errors:[t]}var p=this._finalizers;if(p){this._finalizers=null;try{for(var b=t(p),g=b.next();!g.done;g=b.next()){var m=g.value;try{l(m)}catch(t){u=null!=u?u:[],t instanceof i.UnsubscriptionError?u=r(r([],e(u)),e(t.errors)):u.push(t)}}}catch(t){s={error:t}}finally{try{g&&!g.done&&(c=b.return)&&c.call(b)}finally{if(s)throw s.error}}}if(u)throw new i.UnsubscriptionError(u)}},a.prototype.add=function(t){var e;if(t&&t!==this)if(this.closed)l(t);else{if(t instanceof a){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(e=this._finalizers)&&void 0!==e?e:[]).push(t)}},a.prototype._hasParent=function(t){var e=this._parentage;return e===t||Array.isArray(e)&&e.includes(t)},a.prototype._addParent=function(t){var e=this._parentage;this._parentage=Array.isArray(e)?(e.push(t),e):e?[e,t]:t},a.prototype._removeParent=function(t){var e=this._parentage;e===t?this._parentage=null:Array.isArray(e)&&o.arrRemove(e,t)},a.prototype.remove=function(t){var e=this._finalizers;e&&o.arrRemove(e,t),t instanceof a&&t._removeParent(this)},a.EMPTY=function(){var t=new a;return t.closed=!0,t}(),a}();function l(t){n.isFunction(t)?t():t.unsubscribe()}return we.Subscription=a,we.EMPTY_SUBSCRIPTION=a.EMPTY,we.isSubscription=function(t){return t instanceof a||t&&"closed"in t&&n.isFunction(t.remove)&&n.isFunction(t.add)&&n.isFunction(t.unsubscribe)},we}var Ie,Ee={};function Ae(){return Ie||(Ie=1,Object.defineProperty(Ee,"__esModule",{value:!0}),Ee.config=void 0,Ee.config={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}),Ee}var Le,We,Pe={},Ve={};function Re(){return Le||(Le=1,t=Ve,e=Ve&&Ve.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,i,o=r.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(t){i={error:t}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},r=Ve&&Ve.__spreadArray||function(t,e){for(var r=0,n=e.length,i=t.length;r<n;r++,i++)t[i]=e[r];return t},Object.defineProperty(t,"__esModule",{value:!0}),t.timeoutProvider=void 0,t.timeoutProvider={setTimeout:function(n,i){for(var o=[],a=2;a<arguments.length;a++)o[a-2]=arguments[a];var l=t.timeoutProvider.delegate;return(null==l?void 0:l.setTimeout)?l.setTimeout.apply(l,r([n,i],e(o))):setTimeout.apply(void 0,r([n,i],e(o)))},clearTimeout:function(e){var r=t.timeoutProvider.delegate;return((null==r?void 0:r.clearTimeout)||clearTimeout)(e)},delegate:void 0}),Ve;var t,e,r}function Fe(){if(We)return Pe;We=1,Object.defineProperty(Pe,"__esModule",{value:!0}),Pe.reportUnhandledError=void 0;var t=Ae(),e=Re();return Pe.reportUnhandledError=function(r){e.timeoutProvider.setTimeout((function(){var e=t.config.onUnhandledError;if(!e)throw r;e(r)}))},Pe}var Be,Ne={};function De(){return Be||(Be=1,Object.defineProperty(Ne,"__esModule",{value:!0}),Ne.noop=void 0,Ne.noop=function(){}),Ne}var $e,He,Ze,qe={},Ue={};function Je(){if(He)return Ue;He=1,Object.defineProperty(Ue,"__esModule",{value:!0}),Ue.captureError=Ue.errorContext=void 0;var t=Ae(),e=null;return Ue.errorContext=function(r){if(t.config.useDeprecatedSynchronousErrorHandling){var n=!e;if(n&&(e={errorThrown:!1,error:null}),r(),n){var i=e;if(e=null,i.errorThrown)throw i.error}}else r()},Ue.captureError=function(r){t.config.useDeprecatedSynchronousErrorHandling&&e&&(e.errorThrown=!0,e.error=r)},Ue}function Ye(){return Ze||(Ze=1,function(t){var e,r=be&&be.__extends||(e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},e(t,r)},function(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.EMPTY_OBSERVER=t.SafeSubscriber=t.Subscriber=void 0;var n=me(),i=Te(),o=Ae(),a=Fe(),l=De(),s=function(){if($e)return qe;function t(t,e,r){return{kind:t,value:e,error:r}}return $e=1,Object.defineProperty(qe,"__esModule",{value:!0}),qe.createNotification=qe.nextNotification=qe.errorNotification=qe.COMPLETE_NOTIFICATION=void 0,qe.COMPLETE_NOTIFICATION=t("C",void 0,void 0),qe.errorNotification=function(e){return t("E",void 0,e)},qe.nextNotification=function(e){return t("N",e,void 0)},qe.createNotification=t,qe}(),c=Re(),u=Je(),f=function(e){function n(r){var n=e.call(this)||this;return n.isStopped=!1,r?(n.destination=r,i.isSubscription(r)&&r.add(n)):n.destination=t.EMPTY_OBSERVER,n}return r(n,e),n.create=function(t,e,r){return new p(t,e,r)},n.prototype.next=function(t){this.isStopped?g(s.nextNotification(t),this):this._next(t)},n.prototype.error=function(t){this.isStopped?g(s.errorNotification(t),this):(this.isStopped=!0,this._error(t))},n.prototype.complete=function(){this.isStopped?g(s.COMPLETE_NOTIFICATION,this):(this.isStopped=!0,this._complete())},n.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},n.prototype._next=function(t){this.destination.next(t)},n.prototype._error=function(t){try{this.destination.error(t)}finally{this.unsubscribe()}},n.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},n}(i.Subscription);t.Subscriber=f;var d=Function.prototype.bind;function h(t,e){return d.call(t,e)}var v=function(){function t(t){this.partialObserver=t}return t.prototype.next=function(t){var e=this.partialObserver;if(e.next)try{e.next(t)}catch(t){b(t)}},t.prototype.error=function(t){var e=this.partialObserver;if(e.error)try{e.error(t)}catch(t){b(t)}else b(t)},t.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(t){b(t)}},t}(),p=function(t){function e(e,r,i){var a,l,s=t.call(this)||this;return n.isFunction(e)||!e?a={next:null!=e?e:void 0,error:null!=r?r:void 0,complete:null!=i?i:void 0}:s&&o.config.useDeprecatedNextContext?((l=Object.create(e)).unsubscribe=function(){return s.unsubscribe()},a={next:e.next&&h(e.next,l),error:e.error&&h(e.error,l),complete:e.complete&&h(e.complete,l)}):a=e,s.destination=new v(a),s}return r(e,t),e}(f);function b(t){o.config.useDeprecatedSynchronousErrorHandling?u.captureError(t):a.reportUnhandledError(t)}function g(t,e){var r=o.config.onStoppedNotification;r&&c.timeoutProvider.setTimeout((function(){return r(t,e)}))}t.SafeSubscriber=p,t.EMPTY_OBSERVER={closed:!0,next:l.noop,error:function(t){throw t},complete:l.noop}}(be)),be}var Ke,Xe={};function Ge(){return Ke||(Ke=1,Object.defineProperty(Xe,"__esModule",{value:!0}),Xe.observable=void 0,Xe.observable="function"==typeof Symbol&&Symbol.observable||"@@observable"),Xe}var Qe,tr,er,rr={},nr={};function ir(){return Qe||(Qe=1,Object.defineProperty(nr,"__esModule",{value:!0}),nr.identity=void 0,nr.identity=function(t){return t}),nr}function or(){if(tr)return rr;tr=1,Object.defineProperty(rr,"__esModule",{value:!0}),rr.pipeFromArray=rr.pipe=void 0;var t=ir();function e(e){return 0===e.length?t.identity:1===e.length?e[0]:function(t){return e.reduce((function(t,e){return e(t)}),t)}}return rr.pipe=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return e(t)},rr.pipeFromArray=e,rr}function ar(){if(er)return pe;er=1,Object.defineProperty(pe,"__esModule",{value:!0}),pe.Observable=void 0;var t=Ye(),e=Te(),r=Ge(),n=or(),i=Ae(),o=me(),a=Je(),l=function(){function i(t){t&&(this._subscribe=t)}return i.prototype.lift=function(t){var e=new i;return e.source=this,e.operator=t,e},i.prototype.subscribe=function(r,n,i){var l,s=this,c=(l=r)&&l instanceof t.Subscriber||function(t){return t&&o.isFunction(t.next)&&o.isFunction(t.error)&&o.isFunction(t.complete)}(l)&&e.isSubscription(l)?r:new t.SafeSubscriber(r,n,i);return a.errorContext((function(){var t=s.operator,e=s.source;c.add(t?t.call(c,e):e?s._subscribe(c):s._trySubscribe(c))})),c},i.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},i.prototype.forEach=function(e,r){var n=this;return new(r=s(r))((function(r,i){var o=new t.SafeSubscriber({next:function(t){try{e(t)}catch(t){i(t),o.unsubscribe()}},error:i,complete:r});n.subscribe(o)}))},i.prototype._subscribe=function(t){var e;return null===(e=this.source)||void 0===e?void 0:e.subscribe(t)},i.prototype[r.observable]=function(){return this},i.prototype.pipe=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return n.pipeFromArray(t)(this)},i.prototype.toPromise=function(t){var e=this;return new(t=s(t))((function(t,r){var n;e.subscribe((function(t){return n=t}),(function(t){return r(t)}),(function(){return t(n)}))}))},i.create=function(t){return new i(t)},i}();function s(t){var e;return null!==(e=null!=t?t:i.config.Promise)&&void 0!==e?e:Promise}return pe.Observable=l,pe}var lr,sr={},cr={},ur={};function fr(){if(lr)return ur;lr=1,Object.defineProperty(ur,"__esModule",{value:!0}),ur.operate=ur.hasLift=void 0;var t=me();function e(e){return t.isFunction(null==e?void 0:e.lift)}return ur.hasLift=e,ur.operate=function(t){return function(r){if(e(r))return r.lift((function(e){try{return t(e,this)}catch(t){this.error(t)}}));throw new TypeError("Unable to lift unknown Observable type")}},ur}var dr,hr,vr,pr={};function br(){if(dr)return pr;dr=1;var t,e=pr&&pr.__extends||(t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},t(e,r)},function(e,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)});Object.defineProperty(pr,"__esModule",{value:!0}),pr.OperatorSubscriber=pr.createOperatorSubscriber=void 0;var r=Ye();pr.createOperatorSubscriber=function(t,e,r,i,o){return new n(t,e,r,i,o)};var n=function(t){function r(e,r,n,i,o,a){var l=t.call(this,e)||this;return l.onFinalize=o,l.shouldUnsubscribe=a,l._next=r?function(t){try{r(t)}catch(t){e.error(t)}}:t.prototype._next,l._error=i?function(t){try{i(t)}catch(t){e.error(t)}finally{this.unsubscribe()}}:t.prototype._error,l._complete=n?function(){try{n()}catch(t){e.error(t)}finally{this.unsubscribe()}}:t.prototype._complete,l}return e(r,t),r.prototype.unsubscribe=function(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var r=this.closed;t.prototype.unsubscribe.call(this),!r&&(null===(e=this.onFinalize)||void 0===e||e.call(this))}},r}(r.Subscriber);return pr.OperatorSubscriber=n,pr}function gr(){if(hr)return cr;hr=1,Object.defineProperty(cr,"__esModule",{value:!0}),cr.refCount=void 0;var t=fr(),e=br();return cr.refCount=function(){return t.operate((function(t,r){var n=null;t._refCount++;var i=e.createOperatorSubscriber(r,void 0,void 0,void 0,(function(){if(!t||t._refCount<=0||0<--t._refCount)n=null;else{var e=t._connection,i=n;n=null,!e||i&&e!==i||e.unsubscribe(),r.unsubscribe()}}));t.subscribe(i),i.closed||(n=t.connect())}))},cr}function mr(){if(vr)return sr;vr=1;var t,e=sr&&sr.__extends||(t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},t(e,r)},function(e,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)});Object.defineProperty(sr,"__esModule",{value:!0}),sr.ConnectableObservable=void 0;var r=ar(),n=Te(),i=gr(),o=br(),a=fr(),l=function(t){function r(e,r){var n=t.call(this)||this;return n.source=e,n.subjectFactory=r,n._subject=null,n._refCount=0,n._connection=null,a.hasLift(e)&&(n.lift=e.lift),n}return e(r,t),r.prototype._subscribe=function(t){return this.getSubject().subscribe(t)},r.prototype.getSubject=function(){var t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject},r.prototype._teardown=function(){this._refCount=0;var t=this._connection;this._subject=this._connection=null,null==t||t.unsubscribe()},r.prototype.connect=function(){var t=this,e=this._connection;if(!e){e=this._connection=new n.Subscription;var r=this.getSubject();e.add(this.source.subscribe(o.createOperatorSubscriber(r,void 0,(function(){t._teardown(),r.complete()}),(function(e){t._teardown(),r.error(e)}),(function(){return t._teardown()})))),e.closed&&(this._connection=null,e=n.Subscription.EMPTY)}return e},r.prototype.refCount=function(){return i.refCount()(this)},r}(r.Observable);return sr.ConnectableObservable=l,sr}var yr,xr,wr,jr={},_r={},Or={};function kr(){return xr||(xr=1,function(t){var e=Or&&Or.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,i,o=r.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(t){i={error:t}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},r=Or&&Or.__spreadArray||function(t,e){for(var r=0,n=e.length,i=t.length;r<n;r++,i++)t[i]=e[r];return t};Object.defineProperty(t,"__esModule",{value:!0}),t.animationFrameProvider=void 0;var n=Te();t.animationFrameProvider={schedule:function(e){var r=requestAnimationFrame,i=cancelAnimationFrame,o=t.animationFrameProvider.delegate;o&&(r=o.requestAnimationFrame,i=o.cancelAnimationFrame);var a=r((function(t){i=void 0,e(t)}));return new n.Subscription((function(){return null==i?void 0:i(a)}))},requestAnimationFrame:function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];var o=t.animationFrameProvider.delegate;return((null==o?void 0:o.requestAnimationFrame)||requestAnimationFrame).apply(void 0,r([],e(n)))},cancelAnimationFrame:function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];var o=t.animationFrameProvider.delegate;return((null==o?void 0:o.cancelAnimationFrame)||cancelAnimationFrame).apply(void 0,r([],e(n)))},delegate:void 0}}(Or)),Or}var Cr,Mr,zr={},Sr={};function Tr(){if(Cr)return Sr;Cr=1,Object.defineProperty(Sr,"__esModule",{value:!0}),Sr.ObjectUnsubscribedError=void 0;var t=Oe();return Sr.ObjectUnsubscribedError=t.createErrorClass((function(t){return function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})),Sr}function Ir(){if(Mr)return zr;Mr=1;var t,e=zr&&zr.__extends||(t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},t(e,r)},function(e,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}),r=zr&&zr.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(zr,"__esModule",{value:!0}),zr.AnonymousSubject=zr.Subject=void 0;var n=ar(),i=Te(),o=Tr(),a=Se(),l=Je(),s=function(t){function s(){var e=t.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return e(s,t),s.prototype.lift=function(t){var e=new c(this,this);return e.operator=t,e},s.prototype._throwIfClosed=function(){if(this.closed)throw new o.ObjectUnsubscribedError},s.prototype.next=function(t){var e=this;l.errorContext((function(){var n,i;if(e._throwIfClosed(),!e.isStopped){e.currentObservers||(e.currentObservers=Array.from(e.observers));try{for(var o=r(e.currentObservers),a=o.next();!a.done;a=o.next())a.value.next(t)}catch(t){n={error:t}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}}}))},s.prototype.error=function(t){var e=this;l.errorContext((function(){if(e._throwIfClosed(),!e.isStopped){e.hasError=e.isStopped=!0,e.thrownError=t;for(var r=e.observers;r.length;)r.shift().error(t)}}))},s.prototype.complete=function(){var t=this;l.errorContext((function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}}))},s.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(s.prototype,"observed",{get:function(){var t;return(null===(t=this.observers)||void 0===t?void 0:t.length)>0},enumerable:!1,configurable:!0}),s.prototype._trySubscribe=function(e){return this._throwIfClosed(),t.prototype._trySubscribe.call(this,e)},s.prototype._subscribe=function(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)},s.prototype._innerSubscribe=function(t){var e=this,r=this,n=r.observers;return r.hasError||r.isStopped?i.EMPTY_SUBSCRIPTION:(this.currentObservers=null,n.push(t),new i.Subscription((function(){e.currentObservers=null,a.arrRemove(n,t)})))},s.prototype._checkFinalizedStatuses=function(t){var e=this,r=e.isStopped;e.hasError?t.error(e.thrownError):r&&t.complete()},s.prototype.asObservable=function(){var t=new n.Observable;return t.source=this,t},s.create=function(t,e){return new c(t,e)},s}(n.Observable);zr.Subject=s;var c=function(t){function r(e,r){var n=t.call(this)||this;return n.destination=e,n.source=r,n}return e(r,t),r.prototype.next=function(t){var e,r;null===(r=null===(e=this.destination)||void 0===e?void 0:e.next)||void 0===r||r.call(e,t)},r.prototype.error=function(t){var e,r;null===(r=null===(e=this.destination)||void 0===e?void 0:e.error)||void 0===r||r.call(e,t)},r.prototype.complete=function(){var t,e;null===(e=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===e||e.call(t)},r.prototype._subscribe=function(t){var e,r;return null!==(r=null===(e=this.source)||void 0===e?void 0:e.subscribe(t))&&void 0!==r?r:i.EMPTY_SUBSCRIPTION},r}(s);return zr.AnonymousSubject=c,zr}var Er,Ar={};function Lr(){if(Er)return Ar;Er=1;var t,e=Ar&&Ar.__extends||(t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},t(e,r)},function(e,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)});Object.defineProperty(Ar,"__esModule",{value:!0}),Ar.BehaviorSubject=void 0;var r=function(t){function r(e){var r=t.call(this)||this;return r._value=e,r}return e(r,t),Object.defineProperty(r.prototype,"value",{get:function(){return this.getValue()},enumerable:!1,configurable:!0}),r.prototype._subscribe=function(e){var r=t.prototype._subscribe.call(this,e);return!r.closed&&e.next(this._value),r},r.prototype.getValue=function(){var t=this,e=t._value;if(t.hasError)throw t.thrownError;return this._throwIfClosed(),e},r.prototype.next=function(e){t.prototype.next.call(this,this._value=e)},r}(Ir().Subject);return Ar.BehaviorSubject=r,Ar}var Wr,Pr,Vr={},Rr={};function Fr(){return Wr||(Wr=1,t=Rr,Object.defineProperty(t,"__esModule",{value:!0}),t.dateTimestampProvider=void 0,t.dateTimestampProvider={now:function(){return(t.dateTimestampProvider.delegate||Date).now()},delegate:void 0}),Rr;var t}function Br(){if(Pr)return Vr;Pr=1;var t,e=Vr&&Vr.__extends||(t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},t(e,r)},function(e,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)});Object.defineProperty(Vr,"__esModule",{value:!0}),Vr.ReplaySubject=void 0;var r=Ir(),n=Fr(),i=function(t){function r(e,r,i){void 0===e&&(e=1/0),void 0===r&&(r=1/0),void 0===i&&(i=n.dateTimestampProvider);var o=t.call(this)||this;return o._bufferSize=e,o._windowTime=r,o._timestampProvider=i,o._buffer=[],o._infiniteTimeWindow=!0,o._infiniteTimeWindow=r===1/0,o._bufferSize=Math.max(1,e),o._windowTime=Math.max(1,r),o}return e(r,t),r.prototype.next=function(e){var r=this,n=r._buffer,i=r._infiniteTimeWindow,o=r._timestampProvider,a=r._windowTime;r.isStopped||(n.push(e),!i&&n.push(o.now()+a)),this._trimBuffer(),t.prototype.next.call(this,e)},r.prototype._subscribe=function(t){this._throwIfClosed(),this._trimBuffer();for(var e=this._innerSubscribe(t),r=this._infiniteTimeWindow,n=this._buffer.slice(),i=0;i<n.length&&!t.closed;i+=r?1:2)t.next(n[i]);return this._checkFinalizedStatuses(t),e},r.prototype._trimBuffer=function(){var t=this,e=t._bufferSize,r=t._timestampProvider,n=t._buffer,i=t._infiniteTimeWindow,o=(i?1:2)*e;if(e<1/0&&o<n.length&&n.splice(0,n.length-o),!i){for(var a=r.now(),l=0,s=1;s<n.length&&n[s]<=a;s+=2)l=s;l&&n.splice(0,l+1)}},r}(r.Subject);return Vr.ReplaySubject=i,Vr}var Nr,Dr={};function $r(){if(Nr)return Dr;Nr=1;var t,e=Dr&&Dr.__extends||(t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},t(e,r)},function(e,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)});Object.defineProperty(Dr,"__esModule",{value:!0}),Dr.AsyncSubject=void 0;var r=function(t){function r(){var e=null!==t&&t.apply(this,arguments)||this;return e._value=null,e._hasValue=!1,e._isComplete=!1,e}return e(r,t),r.prototype._checkFinalizedStatuses=function(t){var e=this,r=e._hasValue,n=e._value,i=e.isStopped,o=e._isComplete;e.hasError?t.error(e.thrownError):(i||o)&&(r&&t.next(n),t.complete())},r.prototype.next=function(t){this.isStopped||(this._value=t,this._hasValue=!0)},r.prototype.complete=function(){var e=this,r=e._hasValue,n=e._value;e._isComplete||(this._isComplete=!0,r&&t.prototype.next.call(this,n),t.prototype.complete.call(this))},r}(Ir().Subject);return Dr.AsyncSubject=r,Dr}var Hr,Zr,qr,Ur={},Jr={},Yr={},Kr={},Xr={};function Gr(){if(qr)return Yr;qr=1;var t,e=Yr&&Yr.__extends||(t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},t(e,r)},function(e,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)});Object.defineProperty(Yr,"__esModule",{value:!0}),Yr.AsyncAction=void 0;var r,n,i,o=function(){if(Hr)return Kr;Hr=1;var t,e=Kr&&Kr.__extends||(t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},t(e,r)},function(e,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)});Object.defineProperty(Kr,"__esModule",{value:!0}),Kr.Action=void 0;var r=function(t){function r(){return t.call(this)||this}return e(r,t),r.prototype.schedule=function(){return this},r}(Te().Subscription);return Kr.Action=r,Kr}(),a=(Zr||(Zr=1,r=Xr,n=Xr&&Xr.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,i,o=r.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(t){i={error:t}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},i=Xr&&Xr.__spreadArray||function(t,e){for(var r=0,n=e.length,i=t.length;r<n;r++,i++)t[i]=e[r];return t},Object.defineProperty(r,"__esModule",{value:!0}),r.intervalProvider=void 0,r.intervalProvider={setInterval:function(t,e){for(var o=[],a=2;a<arguments.length;a++)o[a-2]=arguments[a];var l=r.intervalProvider.delegate;return(null==l?void 0:l.setInterval)?l.setInterval.apply(l,i([t,e],n(o))):setInterval.apply(void 0,i([t,e],n(o)))},clearInterval:function(t){var e=r.intervalProvider.delegate;return((null==e?void 0:e.clearInterval)||clearInterval)(t)},delegate:void 0}),Xr),l=Se(),s=function(t){function r(e,r){var n=t.call(this,e,r)||this;return n.scheduler=e,n.work=r,n.pending=!1,n}return e(r,t),r.prototype.schedule=function(t,e){var r;if(void 0===e&&(e=0),this.closed)return this;this.state=t;var n=this.id,i=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(i,n,e)),this.pending=!0,this.delay=e,this.id=null!==(r=this.id)&&void 0!==r?r:this.requestAsyncId(i,this.id,e),this},r.prototype.requestAsyncId=function(t,e,r){return void 0===r&&(r=0),a.intervalProvider.setInterval(t.flush.bind(t,this),r)},r.prototype.recycleAsyncId=function(t,e,r){if(void 0===r&&(r=0),null!=r&&this.delay===r&&!1===this.pending)return e;null!=e&&a.intervalProvider.clearInterval(e)},r.prototype.execute=function(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var r=this._execute(t,e);if(r)return r;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},r.prototype._execute=function(t){var e,r=!1;try{this.work(t)}catch(t){r=!0,e=t||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),e},r.prototype.unsubscribe=function(){if(!this.closed){var e=this.id,r=this.scheduler,n=r.actions;this.work=this.state=this.scheduler=null,this.pending=!1,l.arrRemove(n,this),null!=e&&(this.id=this.recycleAsyncId(r,e,null)),this.delay=null,t.prototype.unsubscribe.call(this)}},r}(o.Action);return Yr.AsyncAction=s,Yr}var Qr,tn,en,rn={},nn={};var on,an,ln,sn,cn={},un={},fn={};function dn(){if(on)return fn;on=1,Object.defineProperty(fn,"__esModule",{value:!0}),fn.Scheduler=void 0;var t=Fr(),e=function(){function e(t,r){void 0===r&&(r=e.now),this.schedulerActionCtor=t,this.now=r}return e.prototype.schedule=function(t,e,r){return void 0===e&&(e=0),new this.schedulerActionCtor(this,t).schedule(r,e)},e.now=t.dateTimestampProvider.now,e}();return fn.Scheduler=e,fn}function hn(){if(an)return un;an=1;var t,e=un&&un.__extends||(t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},t(e,r)},function(e,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)});Object.defineProperty(un,"__esModule",{value:!0}),un.AsyncScheduler=void 0;var r=dn(),n=function(t){function n(e,n){void 0===n&&(n=r.Scheduler.now);var i=t.call(this,e,n)||this;return i.actions=[],i._active=!1,i}return e(n,t),n.prototype.flush=function(t){var e=this.actions;if(this._active)e.push(t);else{var r;this._active=!0;do{if(r=t.execute(t.state,t.delay))break}while(t=e.shift());if(this._active=!1,r){for(;t=e.shift();)t.unsubscribe();throw r}}},n}(r.Scheduler);return un.AsyncScheduler=n,un}function vn(){return sn||(sn=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.asap=t.asapScheduler=void 0;var e=function(){if(en)return Jr;en=1;var t,e=Jr&&Jr.__extends||(t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},t(e,r)},function(e,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)});Object.defineProperty(Jr,"__esModule",{value:!0}),Jr.AsapAction=void 0;var r=Gr(),n=(tn||(tn=1,function(t){var e=rn&&rn.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,i,o=r.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(t){i={error:t}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},r=rn&&rn.__spreadArray||function(t,e){for(var r=0,n=e.length,i=t.length;r<n;r++,i++)t[i]=e[r];return t};Object.defineProperty(t,"__esModule",{value:!0}),t.immediateProvider=void 0;var n=function(){if(Qr)return nn;Qr=1,Object.defineProperty(nn,"__esModule",{value:!0}),nn.TestTools=nn.Immediate=void 0;var t,e=1,r={};function n(t){return t in r&&(delete r[t],!0)}return nn.Immediate={setImmediate:function(i){var o=e++;return r[o]=!0,t||(t=Promise.resolve()),t.then((function(){return n(o)&&i()})),o},clearImmediate:function(t){n(t)}},nn.TestTools={pending:function(){return Object.keys(r).length}},nn}(),i=n.Immediate.setImmediate,o=n.Immediate.clearImmediate;t.immediateProvider={setImmediate:function(){for(var n=[],o=0;o<arguments.length;o++)n[o]=arguments[o];var a=t.immediateProvider.delegate;return((null==a?void 0:a.setImmediate)||i).apply(void 0,r([],e(n)))},clearImmediate:function(e){var r=t.immediateProvider.delegate;return((null==r?void 0:r.clearImmediate)||o)(e)},delegate:void 0}}(rn)),rn),i=function(t){function r(e,r){var n=t.call(this,e,r)||this;return n.scheduler=e,n.work=r,n}return e(r,t),r.prototype.requestAsyncId=function(e,r,i){return void 0===i&&(i=0),null!==i&&i>0?t.prototype.requestAsyncId.call(this,e,r,i):(e.actions.push(this),e._scheduled||(e._scheduled=n.immediateProvider.setImmediate(e.flush.bind(e,void 0))))},r.prototype.recycleAsyncId=function(e,r,i){var o;if(void 0===i&&(i=0),null!=i?i>0:this.delay>0)return t.prototype.recycleAsyncId.call(this,e,r,i);var a=e.actions;null!=r&&(null===(o=a[a.length-1])||void 0===o?void 0:o.id)!==r&&(n.immediateProvider.clearImmediate(r),e._scheduled===r&&(e._scheduled=void 0))},r}(r.AsyncAction);return Jr.AsapAction=i,Jr}(),r=function(){if(ln)return cn;ln=1;var t,e=cn&&cn.__extends||(t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},t(e,r)},function(e,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)});Object.defineProperty(cn,"__esModule",{value:!0}),cn.AsapScheduler=void 0;var r=function(t){function r(){return null!==t&&t.apply(this,arguments)||this}return e(r,t),r.prototype.flush=function(t){this._active=!0;var e=this._scheduled;this._scheduled=void 0;var r,n=this.actions;t=t||n.shift();do{if(r=t.execute(t.state,t.delay))break}while((t=n[0])&&t.id===e&&n.shift());if(this._active=!1,r){for(;(t=n[0])&&t.id===e&&n.shift();)t.unsubscribe();throw r}},r}(hn().AsyncScheduler);return cn.AsapScheduler=r,cn}();t.asapScheduler=new r.AsapScheduler(e.AsapAction),t.asap=t.asapScheduler}(Ur)),Ur}var pn,bn={};function gn(){return pn||(pn=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.async=t.asyncScheduler=void 0;var e=Gr(),r=hn();t.asyncScheduler=new r.AsyncScheduler(e.AsyncAction),t.async=t.asyncScheduler}(bn)),bn}var mn,yn,xn,wn={},jn={},_n={};var On,kn,Cn,Mn={},zn={},Sn={};var Tn,In,En={},An={},Ln={};function Wn(){return In||(In=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.empty=t.EMPTY=void 0;var e=ar();t.EMPTY=new e.Observable((function(t){return t.complete()})),t.empty=function(r){return r?function(t){return new e.Observable((function(e){return t.schedule((function(){return e.complete()}))}))}(r):t.EMPTY}}(Ln)),Ln}var Pn,Vn,Rn={},Fn={},Bn={};function Nn(){if(Pn)return Bn;Pn=1,Object.defineProperty(Bn,"__esModule",{value:!0}),Bn.isScheduler=void 0;var t=me();return Bn.isScheduler=function(e){return e&&t.isFunction(e.schedule)},Bn}function Dn(){if(Vn)return Fn;Vn=1,Object.defineProperty(Fn,"__esModule",{value:!0}),Fn.popNumber=Fn.popScheduler=Fn.popResultSelector=void 0;var t=me(),e=Nn();function r(t){return t[t.length-1]}return Fn.popResultSelector=function(e){return t.isFunction(r(e))?e.pop():void 0},Fn.popScheduler=function(t){return e.isScheduler(r(t))?t.pop():void 0},Fn.popNumber=function(t,e){return"number"==typeof r(t)?t.pop():e},Fn}var $n,Hn={},Zn={},qn={},Un={},Jn={};function Yn(){return $n||($n=1,Object.defineProperty(Jn,"__esModule",{value:!0}),Jn.isArrayLike=void 0,Jn.isArrayLike=function(t){return t&&"number"==typeof t.length&&"function"!=typeof t}),Jn}var Kn,Xn={};function Gn(){if(Kn)return Xn;Kn=1,Object.defineProperty(Xn,"__esModule",{value:!0}),Xn.isPromise=void 0;var t=me();return Xn.isPromise=function(e){return t.isFunction(null==e?void 0:e.then)},Xn}var Qn,ti={};function ei(){if(Qn)return ti;Qn=1,Object.defineProperty(ti,"__esModule",{value:!0}),ti.isInteropObservable=void 0;var t=Ge(),e=me();return ti.isInteropObservable=function(r){return e.isFunction(r[t.observable])},ti}var ri,ni={};function ii(){if(ri)return ni;ri=1,Object.defineProperty(ni,"__esModule",{value:!0}),ni.isAsyncIterable=void 0;var t=me();return ni.isAsyncIterable=function(e){return Symbol.asyncIterator&&t.isFunction(null==e?void 0:e[Symbol.asyncIterator])},ni}var oi,ai={};function li(){return oi||(oi=1,Object.defineProperty(ai,"__esModule",{value:!0}),ai.createInvalidObservableTypeError=void 0,ai.createInvalidObservableTypeError=function(t){return new TypeError("You provided "+(null!==t&&"object"==typeof t?"an invalid object":"'"+t+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}),ai}var si,ci,ui={},fi={};function di(){if(si)return fi;function t(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}return si=1,Object.defineProperty(fi,"__esModule",{value:!0}),fi.iterator=fi.getSymbolIterator=void 0,fi.getSymbolIterator=t,fi.iterator=t(),fi}function hi(){if(ci)return ui;ci=1,Object.defineProperty(ui,"__esModule",{value:!0}),ui.isIterable=void 0;var t=di(),e=me();return ui.isIterable=function(r){return e.isFunction(null==r?void 0:r[t.iterator])},ui}var vi,pi,bi={};function gi(){if(vi)return bi;vi=1;var t=bi&&bi.__generator||function(t,e){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function l(o){return function(l){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=e.call(t,a)}catch(t){o=[6,t],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,l])}}},e=bi&&bi.__await||function(t){return this instanceof e?(this.v=t,this):new e(t)},r=bi&&bi.__asyncGenerator||function(t,r,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i,o=n.apply(t,r||[]),a=[];return i={},l("next"),l("throw"),l("return"),i[Symbol.asyncIterator]=function(){return this},i;function l(t){o[t]&&(i[t]=function(e){return new Promise((function(r,n){a.push([t,e,r,n])>1||s(t,e)}))})}function s(t,r){try{(n=o[t](r)).value instanceof e?Promise.resolve(n.value.v).then(c,u):f(a[0][2],n)}catch(t){f(a[0][3],t)}var n}function c(t){s("next",t)}function u(t){s("throw",t)}function f(t,e){t(e),a.shift(),a.length&&s(a[0][0],a[0][1])}};Object.defineProperty(bi,"__esModule",{value:!0}),bi.isReadableStreamLike=bi.readableStreamLikeToAsyncGenerator=void 0;var n=me();return bi.readableStreamLikeToAsyncGenerator=function(n){return r(this,arguments,(function(){var r,i,o;return t(this,(function(t){switch(t.label){case 0:r=n.getReader(),t.label=1;case 1:t.trys.push([1,,9,10]),t.label=2;case 2:return[4,e(r.read())];case 3:return i=t.sent(),o=i.value,i.done?[4,e(void 0)]:[3,5];case 4:return[2,t.sent()];case 5:return[4,e(o)];case 6:return[4,t.sent()];case 7:return t.sent(),[3,2];case 8:return[3,10];case 9:return r.releaseLock(),[7];case 10:return[2]}}))}))},bi.isReadableStreamLike=function(t){return n.isFunction(null==t?void 0:t.getReader)},bi}function mi(){if(pi)return Un;pi=1;var t=Un&&Un.__awaiter||function(t,e,r,n){return new(r||(r=Promise))((function(i,o){function a(t){try{s(n.next(t))}catch(t){o(t)}}function l(t){try{s(n.throw(t))}catch(t){o(t)}}function s(t){var e;t.done?i(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(a,l)}s((n=n.apply(t,e||[])).next())}))},e=Un&&Un.__generator||function(t,e){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function l(o){return function(l){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=e.call(t,a)}catch(t){o=[6,t],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,l])}}},r=Un&&Un.__asyncValues||function(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,r=t[Symbol.asyncIterator];return r?r.call(t):(t="function"==typeof n?n(t):t[Symbol.iterator](),e={},i("next"),i("throw"),i("return"),e[Symbol.asyncIterator]=function(){return this},e);function i(r){e[r]=t[r]&&function(e){return new Promise((function(n,i){!function(t,e,r,n){Promise.resolve(n).then((function(e){t({value:e,done:r})}),e)}(n,i,(e=t[r](e)).done,e.value)}))}}},n=Un&&Un.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(Un,"__esModule",{value:!0}),Un.fromReadableStreamLike=Un.fromAsyncIterable=Un.fromIterable=Un.fromPromise=Un.fromArrayLike=Un.fromInteropObservable=Un.innerFrom=void 0;var i=Yn(),o=Gn(),a=ar(),l=ei(),s=ii(),c=li(),u=hi(),f=gi(),d=me(),h=Fe(),v=Ge();function p(t){return new a.Observable((function(e){var r=t[v.observable]();if(d.isFunction(r.subscribe))return r.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")}))}function b(t){return new a.Observable((function(e){for(var r=0;r<t.length&&!e.closed;r++)e.next(t[r]);e.complete()}))}function g(t){return new a.Observable((function(e){t.then((function(t){e.closed||(e.next(t),e.complete())}),(function(t){return e.error(t)})).then(null,h.reportUnhandledError)}))}function m(t){return new a.Observable((function(e){var r,i;try{for(var o=n(t),a=o.next();!a.done;a=o.next())if(e.next(a.value),e.closed)return}catch(t){r={error:t}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(r)throw r.error}}e.complete()}))}function y(n){return new a.Observable((function(i){(function(n,i){var o,a,l,s;return t(this,void 0,void 0,(function(){var t;return e(this,(function(e){switch(e.label){case 0:e.trys.push([0,5,6,11]),o=r(n),e.label=1;case 1:return[4,o.next()];case 2:if((a=e.sent()).done)return[3,4];if(i.next(a.value),i.closed)return[2];e.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return t=e.sent(),l={error:t},[3,11];case 6:return e.trys.push([6,,9,10]),a&&!a.done&&(s=o.return)?[4,s.call(o)]:[3,8];case 7:e.sent(),e.label=8;case 8:return[3,10];case 9:if(l)throw l.error;return[7];case 10:return[7];case 11:return i.complete(),[2]}}))}))})(n,i).catch((function(t){return i.error(t)}))}))}function x(t){return y(f.readableStreamLikeToAsyncGenerator(t))}return Un.innerFrom=function(t){if(t instanceof a.Observable)return t;if(null!=t){if(l.isInteropObservable(t))return p(t);if(i.isArrayLike(t))return b(t);if(o.isPromise(t))return g(t);if(s.isAsyncIterable(t))return y(t);if(u.isIterable(t))return m(t);if(f.isReadableStreamLike(t))return x(t)}throw c.createInvalidObservableTypeError(t)},Un.fromInteropObservable=p,Un.fromArrayLike=b,Un.fromPromise=g,Un.fromIterable=m,Un.fromAsyncIterable=y,Un.fromReadableStreamLike=x,Un}var yi,xi,wi={},ji={};function _i(){return yi||(yi=1,Object.defineProperty(ji,"__esModule",{value:!0}),ji.executeSchedule=void 0,ji.executeSchedule=function(t,e,r,n,i){void 0===n&&(n=0),void 0===i&&(i=!1);var o=e.schedule((function(){r(),i?t.add(this.schedule(null,n)):this.unsubscribe()}),n);if(t.add(o),!i)return o}),ji}function Oi(){if(xi)return wi;xi=1,Object.defineProperty(wi,"__esModule",{value:!0}),wi.observeOn=void 0;var t=_i(),e=fr(),r=br();return wi.observeOn=function(n,i){return void 0===i&&(i=0),e.operate((function(e,o){e.subscribe(r.createOperatorSubscriber(o,(function(e){return t.executeSchedule(o,n,(function(){return o.next(e)}),i)}),(function(){return t.executeSchedule(o,n,(function(){return o.complete()}),i)}),(function(e){return t.executeSchedule(o,n,(function(){return o.error(e)}),i)})))}))},wi}var ki,Ci,Mi={};function zi(){if(ki)return Mi;ki=1,Object.defineProperty(Mi,"__esModule",{value:!0}),Mi.subscribeOn=void 0;var t=fr();return Mi.subscribeOn=function(e,r){return void 0===r&&(r=0),t.operate((function(t,n){n.add(e.schedule((function(){return t.subscribe(n)}),r))}))},Mi}var Si,Ti,Ii,Ei={},Ai={},Li={};function Wi(){if(Ii)return Li;Ii=1,Object.defineProperty(Li,"__esModule",{value:!0}),Li.scheduleIterable=void 0;var t=ar(),e=di(),r=me(),n=_i();return Li.scheduleIterable=function(i,o){return new t.Observable((function(t){var a;return n.executeSchedule(t,o,(function(){a=i[e.iterator](),n.executeSchedule(t,o,(function(){var e,r,n;try{r=(e=a.next()).value,n=e.done}catch(e){return void t.error(e)}n?t.complete():t.next(r)}),0,!0)})),function(){return r.isFunction(null==a?void 0:a.return)&&a.return()}}))},Li}var Pi,Vi={};function Ri(){if(Pi)return Vi;Pi=1,Object.defineProperty(Vi,"__esModule",{value:!0}),Vi.scheduleAsyncIterable=void 0;var t=ar(),e=_i();return Vi.scheduleAsyncIterable=function(r,n){if(!r)throw new Error("Iterable cannot be null");return new t.Observable((function(t){e.executeSchedule(t,n,(function(){var i=r[Symbol.asyncIterator]();e.executeSchedule(t,n,(function(){i.next().then((function(e){e.done?t.complete():t.next(e.value)}))}),0,!0)}))}))},Vi}var Fi,Bi,Ni,Di,$i={};function Hi(){if(Bi)return Zn;Bi=1,Object.defineProperty(Zn,"__esModule",{value:!0}),Zn.scheduled=void 0;var t=function(){if(Ci)return qn;Ci=1,Object.defineProperty(qn,"__esModule",{value:!0}),qn.scheduleObservable=void 0;var t=mi(),e=Oi(),r=zi();return qn.scheduleObservable=function(n,i){return t.innerFrom(n).pipe(r.subscribeOn(i),e.observeOn(i))},qn}(),e=function(){if(Si)return Ei;Si=1,Object.defineProperty(Ei,"__esModule",{value:!0}),Ei.schedulePromise=void 0;var t=mi(),e=Oi(),r=zi();return Ei.schedulePromise=function(n,i){return t.innerFrom(n).pipe(r.subscribeOn(i),e.observeOn(i))},Ei}(),r=function(){if(Ti)return Ai;Ti=1,Object.defineProperty(Ai,"__esModule",{value:!0}),Ai.scheduleArray=void 0;var t=ar();return Ai.scheduleArray=function(e,r){return new t.Observable((function(t){var n=0;return r.schedule((function(){n===e.length?t.complete():(t.next(e[n++]),t.closed||this.schedule())}))}))},Ai}(),n=Wi(),i=Ri(),o=ei(),a=Gn(),l=Yn(),s=hi(),c=ii(),u=li(),f=gi(),d=function(){if(Fi)return $i;Fi=1,Object.defineProperty($i,"__esModule",{value:!0}),$i.scheduleReadableStreamLike=void 0;var t=Ri(),e=gi();return $i.scheduleReadableStreamLike=function(r,n){return t.scheduleAsyncIterable(e.readableStreamLikeToAsyncGenerator(r),n)},$i}();return Zn.scheduled=function(h,v){if(null!=h){if(o.isInteropObservable(h))return t.scheduleObservable(h,v);if(l.isArrayLike(h))return r.scheduleArray(h,v);if(a.isPromise(h))return e.schedulePromise(h,v);if(c.isAsyncIterable(h))return i.scheduleAsyncIterable(h,v);if(s.isIterable(h))return n.scheduleIterable(h,v);if(f.isReadableStreamLike(h))return d.scheduleReadableStreamLike(h,v)}throw u.createInvalidObservableTypeError(h)},Zn}function Zi(){if(Ni)return Hn;Ni=1,Object.defineProperty(Hn,"__esModule",{value:!0}),Hn.from=void 0;var t=Hi(),e=mi();return Hn.from=function(r,n){return n?t.scheduled(r,n):e.innerFrom(r)},Hn}function qi(){if(Di)return Rn;Di=1,Object.defineProperty(Rn,"__esModule",{value:!0}),Rn.of=void 0;var t=Dn(),e=Zi();return Rn.of=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var i=t.popScheduler(r);return e.from(r,i)},Rn}var Ui,Ji,Yi={};function Ki(){if(Ui)return Yi;Ui=1,Object.defineProperty(Yi,"__esModule",{value:!0}),Yi.throwError=void 0;var t=ar(),e=me();return Yi.throwError=function(r,n){var i=e.isFunction(r)?r:function(){return r},o=function(t){return t.error(i())};return new t.Observable(n?function(t){return n.schedule(o,0,t)}:o)},Yi}function Xi(){return Ji||(Ji=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.observeNotification=t.Notification=t.NotificationKind=void 0;var e,r=Wn(),n=qi(),i=Ki(),o=me();(e=t.NotificationKind||(t.NotificationKind={})).NEXT="N",e.ERROR="E",e.COMPLETE="C";var a=function(){function t(t,e,r){this.kind=t,this.value=e,this.error=r,this.hasValue="N"===t}return t.prototype.observe=function(t){return l(this,t)},t.prototype.do=function(t,e,r){var n=this,i=n.kind,o=n.error;return"N"===i?null==t?void 0:t(n.value):"E"===i?null==e?void 0:e(o):null==r?void 0:r()},t.prototype.accept=function(t,e,r){var n;return o.isFunction(null===(n=t)||void 0===n?void 0:n.next)?this.observe(t):this.do(t,e,r)},t.prototype.toObservable=function(){var t=this,e=t.kind,o=t.error,a="N"===e?n.of(t.value):"E"===e?i.throwError((function(){return o})):"C"===e?r.EMPTY:0;if(!a)throw new TypeError("Unexpected notification kind "+e);return a},t.createNext=function(e){return new t("N",e)},t.createError=function(e){return new t("E",void 0,e)},t.createComplete=function(){return t.completeNotification},t.completeNotification=new t("C"),t}();function l(t,e){var r,n,i,o=t.kind,a=t.value,l=t.error;if("string"!=typeof o)throw new TypeError('Invalid notification, missing "kind"');"N"===o?null===(r=e.next)||void 0===r||r.call(e,a):"E"===o?null===(n=e.error)||void 0===n||n.call(e,l):null===(i=e.complete)||void 0===i||i.call(e)}t.Notification=a,t.observeNotification=l}(An)),An}var Gi,Qi,to,eo={},ro={},no={};function io(){if(Qi)return no;Qi=1,Object.defineProperty(no,"__esModule",{value:!0}),no.EmptyError=void 0;var t=Oe();return no.EmptyError=t.createErrorClass((function(t){return function(){t(this),this.name="EmptyError",this.message="no elements in sequence"}})),no}var oo,ao,lo={},so={};function co(){if(ao)return so;ao=1,Object.defineProperty(so,"__esModule",{value:!0}),so.ArgumentOutOfRangeError=void 0;var t=Oe();return so.ArgumentOutOfRangeError=t.createErrorClass((function(t){return function(){t(this),this.name="ArgumentOutOfRangeError",this.message="argument out of range"}})),so}var uo,fo={};function ho(){if(uo)return fo;uo=1,Object.defineProperty(fo,"__esModule",{value:!0}),fo.NotFoundError=void 0;var t=Oe();return fo.NotFoundError=t.createErrorClass((function(t){return function(e){t(this),this.name="NotFoundError",this.message=e}})),fo}var vo,po={};function bo(){if(vo)return po;vo=1,Object.defineProperty(po,"__esModule",{value:!0}),po.SequenceError=void 0;var t=Oe();return po.SequenceError=t.createErrorClass((function(t){return function(e){t(this),this.name="SequenceError",this.message=e}})),po}var go,mo,yo={},xo={};function wo(){return go||(go=1,Object.defineProperty(xo,"__esModule",{value:!0}),xo.isValidDate=void 0,xo.isValidDate=function(t){return t instanceof Date&&!isNaN(t)}),xo}function jo(){return mo||(mo=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.timeout=t.TimeoutError=void 0;var e=gn(),r=wo(),n=fr(),i=mi(),o=Oe(),a=br(),l=_i();function s(e){throw new t.TimeoutError(e)}t.TimeoutError=o.createErrorClass((function(t){return function(e){void 0===e&&(e=null),t(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=e}})),t.timeout=function(t,o){var c=r.isValidDate(t)?{first:t}:"number"==typeof t?{each:t}:t,u=c.first,f=c.each,d=c.with,h=void 0===d?s:d,v=c.scheduler,p=void 0===v?null!=o?o:e.asyncScheduler:v,b=c.meta,g=void 0===b?null:b;if(null==u&&null==f)throw new TypeError("No timeout provided.");return n.operate((function(t,e){var r,n,o=null,s=0,c=function(t){n=l.executeSchedule(e,p,(function(){try{r.unsubscribe(),i.innerFrom(h({meta:g,lastValue:o,seen:s})).subscribe(e)}catch(t){e.error(t)}}),t)};r=t.subscribe(a.createOperatorSubscriber(e,(function(t){null==n||n.unsubscribe(),s++,e.next(o=t),f>0&&c(f)}),void 0,void 0,(function(){(null==n?void 0:n.closed)||null==n||n.unsubscribe(),o=null}))),!s&&c(null!=u?"number"==typeof u?u:+u-p.now():f)}))}}(yo)),yo}var _o,Oo,ko,Co,Mo={},zo={},So={},To={};function Io(){if(_o)return To;_o=1,Object.defineProperty(To,"__esModule",{value:!0}),To.map=void 0;var t=fr(),e=br();return To.map=function(r,n){return t.operate((function(t,i){var o=0;t.subscribe(e.createOperatorSubscriber(i,(function(t){i.next(r.call(n,t,o++))})))}))},To}function Eo(){if(Oo)return So;Oo=1;var t=So&&So.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,i,o=r.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(t){i={error:t}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},e=So&&So.__spreadArray||function(t,e){for(var r=0,n=e.length,i=t.length;r<n;r++,i++)t[i]=e[r];return t};Object.defineProperty(So,"__esModule",{value:!0}),So.mapOneOrManyArgs=void 0;var r=Io(),n=Array.isArray;return So.mapOneOrManyArgs=function(i){return r.map((function(r){return function(r,i){return n(i)?r.apply(void 0,e([],t(i))):r(i)}(i,r)}))},So}function Ao(){if(ko)return zo;ko=1;var t=zo&&zo.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,i,o=r.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(t){i={error:t}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},e=zo&&zo.__spreadArray||function(t,e){for(var r=0,n=e.length,i=t.length;r<n;r++,i++)t[i]=e[r];return t};Object.defineProperty(zo,"__esModule",{value:!0}),zo.bindCallbackInternals=void 0;var r=Nn(),n=ar(),i=zi(),o=Eo(),a=Oi(),l=$r();return zo.bindCallbackInternals=function s(c,u,f,d){if(f){if(!r.isScheduler(f))return function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return s(c,u,d).apply(this,t).pipe(o.mapOneOrManyArgs(f))};d=f}return d?function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return s(c,u).apply(this,t).pipe(i.subscribeOn(d),a.observeOn(d))}:function(){for(var r=this,i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];var a=new l.AsyncSubject,s=!0;return new n.Observable((function(n){var o=a.subscribe(n);if(s){s=!1;var l=!1,f=!1;u.apply(r,e(e([],t(i)),[function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];if(c){var r=t.shift();if(null!=r)return void a.error(r)}a.next(1<t.length?t:t[0]),f=!0,l&&a.complete()}])),f&&a.complete(),l=!0}return o}))}},zo}var Lo,Wo,Po={},Vo={},Ro={};function Fo(){if(Wo)return Ro;Wo=1,Object.defineProperty(Ro,"__esModule",{value:!0}),Ro.argsArgArrayOrObject=void 0;var t=Array.isArray,e=Object.getPrototypeOf,r=Object.prototype,n=Object.keys;return Ro.argsArgArrayOrObject=function(i){if(1===i.length){var o=i[0];if(t(o))return{args:o,keys:null};if((l=o)&&"object"==typeof l&&e(l)===r){var a=n(o);return{args:a.map((function(t){return o[t]})),keys:a}}}var l;return{args:i,keys:null}},Ro}var Bo,No,Do={};function $o(){return Bo||(Bo=1,Object.defineProperty(Do,"__esModule",{value:!0}),Do.createObject=void 0,Do.createObject=function(t,e){return t.reduce((function(t,r,n){return t[r]=e[n],t}),{})}),Do}function Ho(){if(No)return Vo;No=1,Object.defineProperty(Vo,"__esModule",{value:!0}),Vo.combineLatestInit=Vo.combineLatest=void 0;var t=ar(),e=Fo(),r=Zi(),n=ir(),i=Eo(),o=Dn(),a=$o(),l=br(),s=_i();function c(t,e,i){return void 0===i&&(i=n.identity),function(n){u(e,(function(){for(var o=t.length,a=new Array(o),s=o,c=o,f=function(o){u(e,(function(){var u=r.from(t[o],e),f=!1;u.subscribe(l.createOperatorSubscriber(n,(function(t){a[o]=t,f||(f=!0,c--),c||n.next(i(a.slice()))}),(function(){--s||n.complete()})))}),n)},d=0;d<o;d++)f(d)}),n)}}function u(t,e,r){t?s.executeSchedule(r,t,e):e()}return Vo.combineLatest=function(){for(var l=[],s=0;s<arguments.length;s++)l[s]=arguments[s];var u=o.popScheduler(l),f=o.popResultSelector(l),d=e.argsArgArrayOrObject(l),h=d.args,v=d.keys;if(0===h.length)return r.from([],u);var p=new t.Observable(c(h,u,v?function(t){return a.createObject(v,t)}:n.identity));return f?p.pipe(i.mapOneOrManyArgs(f)):p},Vo.combineLatestInit=c,Vo}var Zo,qo,Uo,Jo,Yo,Ko={},Xo={},Go={},Qo={},ta={};function ea(){if(Zo)return ta;Zo=1,Object.defineProperty(ta,"__esModule",{value:!0}),ta.mergeInternals=void 0;var t=mi(),e=_i(),r=br();return ta.mergeInternals=function(n,i,o,a,l,s,c,u){var f=[],d=0,h=0,v=!1,p=function(){!v||f.length||d||i.complete()},b=function(t){return d<a?g(t):f.push(t)},g=function(n){s&&i.next(n),d++;var u=!1;t.innerFrom(o(n,h++)).subscribe(r.createOperatorSubscriber(i,(function(t){null==l||l(t),s?b(t):i.next(t)}),(function(){u=!0}),void 0,(function(){if(u)try{d--;for(var t=function(){var t=f.shift();c?e.executeSchedule(i,c,(function(){return g(t)})):g(t)};f.length&&d<a;)t();p()}catch(t){i.error(t)}})))};return n.subscribe(r.createOperatorSubscriber(i,b,(function(){v=!0,p()}))),function(){null==u||u()}},ta}function ra(){if(qo)return Qo;qo=1,Object.defineProperty(Qo,"__esModule",{value:!0}),Qo.mergeMap=void 0;var t=Io(),e=mi(),r=fr(),n=ea(),i=me();return Qo.mergeMap=function o(a,l,s){return void 0===s&&(s=1/0),i.isFunction(l)?o((function(r,n){return t.map((function(t,e){return l(r,t,n,e)}))(e.innerFrom(a(r,n)))}),s):("number"==typeof l&&(s=l),r.operate((function(t,e){return n.mergeInternals(t,e,a,s)})))},Qo}function na(){if(Uo)return Go;Uo=1,Object.defineProperty(Go,"__esModule",{value:!0}),Go.mergeAll=void 0;var t=ra(),e=ir();return Go.mergeAll=function(r){return void 0===r&&(r=1/0),t.mergeMap(e.identity,r)},Go}function ia(){if(Jo)return Xo;Jo=1,Object.defineProperty(Xo,"__esModule",{value:!0}),Xo.concatAll=void 0;var t=na();return Xo.concatAll=function(){return t.mergeAll(1)},Xo}function oa(){if(Yo)return Ko;Yo=1,Object.defineProperty(Ko,"__esModule",{value:!0}),Ko.concat=void 0;var t=ia(),e=Dn(),r=Zi();return Ko.concat=function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];return t.concatAll()(r.from(n,e.popScheduler(n)))},Ko}var aa,la,sa={},ca={};function ua(){if(aa)return ca;aa=1,Object.defineProperty(ca,"__esModule",{value:!0}),ca.defer=void 0;var t=ar(),e=mi();return ca.defer=function(r){return new t.Observable((function(t){e.innerFrom(r()).subscribe(t)}))},ca}var fa,da,ha={},va={};var pa,ba,ma={},ya={};var xa,wa,ja,_a={},Oa={},ka={};function Ca(){if(wa)return ka;wa=1,Object.defineProperty(ka,"__esModule",{value:!0}),ka.timer=void 0;var t=ar(),e=gn(),r=Nn(),n=wo();return ka.timer=function(i,o,a){void 0===i&&(i=0),void 0===a&&(a=e.async);var l=-1;return null!=o&&(r.isScheduler(o)?a=o:l=o),new t.Observable((function(t){var e=n.isValidDate(i)?+i-a.now():i;e<0&&(e=0);var r=0;return a.schedule((function(){t.closed||(t.next(r++),0<=l?this.schedule(void 0,l):t.complete())}),e)}))},ka}function Ma(){if(ja)return Oa;ja=1,Object.defineProperty(Oa,"__esModule",{value:!0}),Oa.interval=void 0;var t=gn(),e=Ca();return Oa.interval=function(r,n){return void 0===r&&(r=0),void 0===n&&(n=t.asyncScheduler),r<0&&(r=0),e.timer(r,r,n)},Oa}var za,Sa,Ta={},Ia={};function Ea(){return Sa||(Sa=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.never=t.NEVER=void 0;var e=ar(),r=De();t.NEVER=new e.Observable(r.noop),t.never=function(){return t.NEVER}}(Ia)),Ia}var Aa,La,Wa={},Pa={};function Va(){if(Aa)return Pa;Aa=1,Object.defineProperty(Pa,"__esModule",{value:!0}),Pa.argsOrArgArray=void 0;var t=Array.isArray;return Pa.argsOrArgArray=function(e){return 1===e.length&&t(e[0])?e[0]:e},Pa}function Ra(){if(La)return Wa;La=1,Object.defineProperty(Wa,"__esModule",{value:!0}),Wa.onErrorResumeNext=void 0;var t=ar(),e=Va(),r=br(),n=De(),i=mi();return Wa.onErrorResumeNext=function(){for(var o=[],a=0;a<arguments.length;a++)o[a]=arguments[a];var l=e.argsOrArgArray(o);return new t.Observable((function(t){var e=0,o=function(){if(e<l.length){var a=void 0;try{a=i.innerFrom(l[e++])}catch(t){return void o()}var s=new r.OperatorSubscriber(t,void 0,n.noop,n.noop);a.subscribe(s),s.add(o)}else t.complete()};o()}))},Wa}var Fa,Ba,Na,Da,$a={},Ha={},Za={},qa={};function Ua(){if(Na)return qa;Na=1,Object.defineProperty(qa,"__esModule",{value:!0}),qa.filter=void 0;var t=fr(),e=br();return qa.filter=function(r,n){return t.operate((function(t,i){var o=0;t.subscribe(e.createOperatorSubscriber(i,(function(t){return r.call(n,t,o++)&&i.next(t)})))}))},qa}var Ja,Ya={};function Ka(){if(Ja)return Ya;Ja=1,Object.defineProperty(Ya,"__esModule",{value:!0}),Ya.raceInit=Ya.race=void 0;var t=ar(),e=mi(),r=Va(),n=br();function i(t){return function(r){for(var i=[],o=function(o){i.push(e.innerFrom(t[o]).subscribe(n.createOperatorSubscriber(r,(function(t){if(i){for(var e=0;e<i.length;e++)e!==o&&i[e].unsubscribe();i=null}r.next(t)}))))},a=0;i&&!r.closed&&a<t.length;a++)o(a)}}return Ya.race=function(){for(var n=[],o=0;o<arguments.length;o++)n[o]=arguments[o];return 1===(n=r.argsOrArgArray(n)).length?e.innerFrom(n[0]):new t.Observable(i(n))},Ya.raceInit=i,Ya}var Xa,Ga,Qa,tl={},el={},rl={};function nl(){if(Qa)return rl;Qa=1;var t=rl&&rl.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,i,o=r.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(t){i={error:t}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},e=rl&&rl.__spreadArray||function(t,e){for(var r=0,n=e.length,i=t.length;r<n;r++,i++)t[i]=e[r];return t};Object.defineProperty(rl,"__esModule",{value:!0}),rl.zip=void 0;var r=ar(),n=mi(),i=Va(),o=Wn(),a=br(),l=Dn();return rl.zip=function(){for(var s=[],c=0;c<arguments.length;c++)s[c]=arguments[c];var u=l.popResultSelector(s),f=i.argsOrArgArray(s);return f.length?new r.Observable((function(r){var i=f.map((function(){return[]})),o=f.map((function(){return!1}));r.add((function(){i=o=null}));for(var l=function(l){n.innerFrom(f[l]).subscribe(a.createOperatorSubscriber(r,(function(n){if(i[l].push(n),i.every((function(t){return t.length}))){var a=i.map((function(t){return t.shift()}));r.next(u?u.apply(void 0,e([],t(a))):a),i.some((function(t,e){return!t.length&&o[e]}))&&r.complete()}}),(function(){o[l]=!0,!i[l].length&&r.complete()})))},s=0;!r.closed&&s<f.length;s++)l(s);return function(){i=o=null}})):o.EMPTY},rl}var il,ol,al={},ll={};function sl(){if(ol)return ll;ol=1,Object.defineProperty(ll,"__esModule",{value:!0}),ll.audit=void 0;var t=fr(),e=mi(),r=br();return ll.audit=function(n){return t.operate((function(t,i){var o=!1,a=null,l=null,s=!1,c=function(){if(null==l||l.unsubscribe(),l=null,o){o=!1;var t=a;a=null,i.next(t)}s&&i.complete()},u=function(){l=null,s&&i.complete()};t.subscribe(r.createOperatorSubscriber(i,(function(t){o=!0,a=t,l||e.innerFrom(n(t)).subscribe(l=r.createOperatorSubscriber(i,c,u))}),(function(){s=!0,(!o||!l||l.closed)&&i.complete()})))}))},ll}var cl,ul,fl,dl,hl,vl,pl,bl,gl,ml,yl,xl,wl,jl={},_l={},Ol={},kl={},Cl={},Ml={},zl={},Sl={},Tl={},Il={},El={},Al={},Ll={};function Wl(){if(bl)return Ll;bl=1,Object.defineProperty(Ll,"__esModule",{value:!0}),Ll.scanInternals=void 0;var t=br();return Ll.scanInternals=function(e,r,n,i,o){return function(a,l){var s=n,c=r,u=0;a.subscribe(t.createOperatorSubscriber(l,(function(t){var r=u++;c=s?e(c,t,r):(s=!0,t),i&&l.next(c)}),o&&function(){s&&l.next(c),l.complete()}))}},Ll}function Pl(){if(gl)return Al;gl=1,Object.defineProperty(Al,"__esModule",{value:!0}),Al.reduce=void 0;var t=Wl(),e=fr();return Al.reduce=function(r,n){return e.operate(t.scanInternals(r,n,arguments.length>=2,!1,!0))},Al}function Vl(){if(ml)return El;ml=1,Object.defineProperty(El,"__esModule",{value:!0}),El.toArray=void 0;var t=Pl(),e=fr(),r=function(t,e){return t.push(e),t};return El.toArray=function(){return e.operate((function(e,n){t.reduce(r,[])(e).subscribe(n)}))},El}function Rl(){if(yl)return Il;yl=1,Object.defineProperty(Il,"__esModule",{value:!0}),Il.joinAllInternals=void 0;var t=ir(),e=Eo(),r=or(),n=ra(),i=Vl();return Il.joinAllInternals=function(o,a){return r.pipe(i.toArray(),n.mergeMap((function(t){return o(t)})),a?e.mapOneOrManyArgs(a):t.identity)},Il}function Fl(){if(xl)return Tl;xl=1,Object.defineProperty(Tl,"__esModule",{value:!0}),Tl.combineLatestAll=void 0;var t=Ho(),e=Rl();return Tl.combineLatestAll=function(r){return e.joinAllInternals(t.combineLatest,r)},Tl}var Bl,Nl,Dl={},$l={};var Hl,Zl={};function ql(){if(Hl)return Zl;Hl=1,Object.defineProperty(Zl,"__esModule",{value:!0}),Zl.concatMap=void 0;var t=ra(),e=me();return Zl.concatMap=function(r,n){return e.isFunction(n)?t.mergeMap(r,n,1):t.mergeMap(r,1)},Zl}var Ul,Jl,Yl,Kl={},Xl={},Gl={};var Ql,ts,es={},rs={};function ns(){if(ts)return es;ts=1,Object.defineProperty(es,"__esModule",{value:!0}),es.connect=void 0;var t=Ir(),e=mi(),r=fr(),n=function(){if(Ql)return rs;Ql=1,Object.defineProperty(rs,"__esModule",{value:!0}),rs.fromSubscribable=void 0;var t=ar();return rs.fromSubscribable=function(e){return new t.Observable((function(t){return e.subscribe(t)}))},rs}(),i={connector:function(){return new t.Subject}};return es.connect=function(t,o){void 0===o&&(o=i);var a=o.connector;return r.operate((function(r,i){var o=a();e.innerFrom(t(n.fromSubscribable(o))).subscribe(i),i.add(r.subscribe(o))}))},es}var is,os,as,ls,ss={},cs={},us={},fs={};function ds(){if(ls)return fs;ls=1,Object.defineProperty(fs,"__esModule",{value:!0}),fs.defaultIfEmpty=void 0;var t=fr(),e=br();return fs.defaultIfEmpty=function(r){return t.operate((function(t,n){var i=!1;t.subscribe(e.createOperatorSubscriber(n,(function(t){i=!0,n.next(t)}),(function(){i||n.next(r),n.complete()})))}))},fs}var hs,vs={},ps={},bs={};function gs(){if(hs)return bs;hs=1,Object.defineProperty(bs,"__esModule",{value:!0}),bs.take=void 0;var t=Wn(),e=fr(),r=br();return bs.take=function(n){return n<=0?function(){return t.EMPTY}:e.operate((function(t,e){var i=0;t.subscribe(r.createOperatorSubscriber(e,(function(t){++i<=n&&(e.next(t),n<=i&&e.complete())})))}))},bs}var ms,ys={};function xs(){if(ms)return ys;ms=1,Object.defineProperty(ys,"__esModule",{value:!0}),ys.ignoreElements=void 0;var t=fr(),e=br(),r=De();return ys.ignoreElements=function(){return t.operate((function(t,n){t.subscribe(e.createOperatorSubscriber(n,r.noop))}))},ys}var ws,js,_s,Os={};function ks(){if(ws)return Os;ws=1,Object.defineProperty(Os,"__esModule",{value:!0}),Os.mapTo=void 0;var t=Io();return Os.mapTo=function(e){return t.map((function(){return e}))},Os}function Cs(){if(js)return ps;js=1,Object.defineProperty(ps,"__esModule",{value:!0}),ps.delayWhen=void 0;var t=oa(),e=gs(),r=xs(),n=ks(),i=ra(),o=mi();return ps.delayWhen=function a(l,s){return s?function(n){return t.concat(s.pipe(e.take(1),r.ignoreElements()),n.pipe(a(l)))}:i.mergeMap((function(t,r){return o.innerFrom(l(t,r)).pipe(e.take(1),n.mapTo(t))}))},ps}var Ms,zs,Ss,Ts={},Is={},Es={};function As(){if(Ss)return Es;Ss=1,Object.defineProperty(Es,"__esModule",{value:!0}),Es.distinctUntilChanged=void 0;var t=ir(),e=fr(),r=br();function n(t,e){return t===e}return Es.distinctUntilChanged=function(i,o){return void 0===o&&(o=t.identity),i=null!=i?i:n,e.operate((function(t,e){var n,a=!0;t.subscribe(r.createOperatorSubscriber(e,(function(t){var r=o(t);!a&&i(n,r)||(a=!1,n=r,e.next(t))})))}))},Es}var Ls,Ws,Ps,Vs={},Rs={},Fs={};function Bs(){if(Ws)return Fs;Ws=1,Object.defineProperty(Fs,"__esModule",{value:!0}),Fs.throwIfEmpty=void 0;var t=io(),e=fr(),r=br();function n(){return new t.EmptyError}return Fs.throwIfEmpty=function(t){return void 0===t&&(t=n),e.operate((function(e,n){var i=!1;e.subscribe(r.createOperatorSubscriber(n,(function(t){i=!0,n.next(t)}),(function(){return i?n.complete():n.error(t())})))}))},Fs}var Ns,Ds,$s,Hs,Zs,qs={},Us={},Js={},Ys={},Ks={};function Xs(){if($s)return Ks;$s=1,Object.defineProperty(Ks,"__esModule",{value:!0}),Ks.exhaustMap=void 0;var t=Io(),e=mi(),r=fr(),n=br();return Ks.exhaustMap=function i(o,a){return a?function(r){return r.pipe(i((function(r,n){return e.innerFrom(o(r,n)).pipe(t.map((function(t,e){return a(r,t,n,e)})))})))}:r.operate((function(t,r){var i=0,a=null,l=!1;t.subscribe(n.createOperatorSubscriber(r,(function(t){a||(a=n.createOperatorSubscriber(r,void 0,(function(){a=null,l&&r.complete()})),e.innerFrom(o(t,i++)).subscribe(a))}),(function(){l=!0,!a&&r.complete()})))}))},Ks}function Gs(){if(Hs)return Ys;Hs=1,Object.defineProperty(Ys,"__esModule",{value:!0}),Ys.exhaustAll=void 0;var t=Xs(),e=ir();return Ys.exhaustAll=function(){return t.exhaustMap(e.identity)},Ys}var Qs,tc,ec,rc={},nc={},ic={};function oc(){if(ec)return ic;ec=1,Object.defineProperty(ic,"__esModule",{value:!0}),ic.createFind=ic.find=void 0;var t=fr(),e=br();function r(t,r,n){var i="index"===n;return function(n,o){var a=0;n.subscribe(e.createOperatorSubscriber(o,(function(e){var l=a++;t.call(r,e,l,n)&&(o.next(i?l:e),o.complete())}),(function(){o.next(i?-1:void 0),o.complete()})))}}return ic.find=function(e,n){return t.operate(r(e,n,"value"))},ic.createFind=r,ic}var ac,lc,sc,cc={},uc={},fc={};var dc,hc,vc,pc={},bc={},gc={};function mc(){if(hc)return gc;hc=1;var t=gc&&gc.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(gc,"__esModule",{value:!0}),gc.takeLast=void 0;var e=Wn(),r=fr(),n=br();return gc.takeLast=function(i){return i<=0?function(){return e.EMPTY}:r.operate((function(e,r){var o=[];e.subscribe(n.createOperatorSubscriber(r,(function(t){o.push(t),i<o.length&&o.shift()}),(function(){var e,n;try{for(var i=t(o),a=i.next();!a.done;a=i.next())r.next(a.value)}catch(t){e={error:t}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}r.complete()}),void 0,(function(){o=null})))}))},gc}var yc,xc,wc,jc,_c,Oc,kc,Cc={},Mc={},zc={},Sc={},Tc={},Ic={},Ec={};var Ac,Lc,Wc={},Pc={};function Vc(){if(Lc)return Pc;Lc=1,Object.defineProperty(Pc,"__esModule",{value:!0}),Pc.multicast=void 0;var t=mr(),e=me(),r=ns();return Pc.multicast=function(n,i){var o=e.isFunction(n)?n:function(){return n};return e.isFunction(i)?r.connect(i,{connector:o}):function(e){return new t.ConnectableObservable(e,o)}},Pc}var Rc,Fc,Bc,Nc,Dc,$c,Hc,Zc,qc,Uc,Jc={},Yc={},Kc={},Xc={},Gc={},Qc={},tu={},eu={},ru={},nu={};var iu,ou,au,lu={},su={},cu={};function uu(){if(au)return cu;au=1,Object.defineProperty(cu,"__esModule",{value:!0}),cu.sample=void 0;var t=mi(),e=fr(),r=De(),n=br();return cu.sample=function(i){return e.operate((function(e,o){var a=!1,l=null;e.subscribe(n.createOperatorSubscriber(o,(function(t){a=!0,l=t}))),t.innerFrom(i).subscribe(n.createOperatorSubscriber(o,(function(){if(a){a=!1;var t=l;l=null,o.next(t)}}),r.noop))}))},cu}var fu,du,hu,vu,pu={},bu={},gu={},mu={};function yu(){if(vu)return mu;vu=1;var t=mu&&mu.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,i,o=r.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(t){i={error:t}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},e=mu&&mu.__spreadArray||function(t,e){for(var r=0,n=e.length,i=t.length;r<n;r++,i++)t[i]=e[r];return t};Object.defineProperty(mu,"__esModule",{value:!0}),mu.share=void 0;var r=mi(),n=Ir(),i=Ye(),o=fr();function a(n,o){for(var a=[],l=2;l<arguments.length;l++)a[l-2]=arguments[l];if(!0!==o){if(!1!==o){var s=new i.SafeSubscriber({next:function(){s.unsubscribe(),n()}});return r.innerFrom(o.apply(void 0,e([],t(a)))).subscribe(s)}}else n()}return mu.share=function(t){void 0===t&&(t={});var e=t.connector,l=void 0===e?function(){return new n.Subject}:e,s=t.resetOnError,c=void 0===s||s,u=t.resetOnComplete,f=void 0===u||u,d=t.resetOnRefCountZero,h=void 0===d||d;return function(t){var e,n,s,u=0,d=!1,v=!1,p=function(){null==n||n.unsubscribe(),n=void 0},b=function(){p(),e=s=void 0,d=v=!1},g=function(){var t=e;b(),null==t||t.unsubscribe()};return o.operate((function(t,o){u++,v||d||p();var m=s=null!=s?s:l();o.add((function(){0!=--u||v||d||(n=a(g,h))})),m.subscribe(o),!e&&u>0&&(e=new i.SafeSubscriber({next:function(t){return m.next(t)},error:function(t){v=!0,p(),n=a(b,c,t),m.error(t)},complete:function(){d=!0,p(),n=a(b,f),m.complete()}}),r.innerFrom(t).subscribe(e))}))(t)}},mu}var xu,wu,ju,_u,Ou,ku,Cu,Mu,zu,Su={},Tu={},Iu={},Eu={},Au={},Lu={},Wu={},Pu={},Vu={};function Ru(){if(Mu)return Vu;Mu=1,Object.defineProperty(Vu,"__esModule",{value:!0}),Vu.switchMap=void 0;var t=mi(),e=fr(),r=br();return Vu.switchMap=function(n,i){return e.operate((function(e,o){var a=null,l=0,s=!1,c=function(){return s&&!a&&o.complete()};e.subscribe(r.createOperatorSubscriber(o,(function(e){null==a||a.unsubscribe();var s=0,u=l++;t.innerFrom(n(e,u)).subscribe(a=r.createOperatorSubscriber(o,(function(t){return o.next(i?i(e,t,u,s++):t)}),(function(){a=null,c()})))}),(function(){s=!0,c()})))}))},Vu}var Fu,Bu,Nu,Du,$u,Hu,Zu={},qu={},Uu={},Ju={},Yu={},Ku={};function Xu(){if(Hu)return Ku;Hu=1,Object.defineProperty(Ku,"__esModule",{value:!0}),Ku.throttle=void 0;var t=fr(),e=br(),r=mi();return Ku.throttle=function(n,i){return t.operate((function(t,o){var a=null!=i?i:{},l=a.leading,s=void 0===l||l,c=a.trailing,u=void 0!==c&&c,f=!1,d=null,h=null,v=!1,p=function(){null==h||h.unsubscribe(),h=null,u&&(m(),v&&o.complete())},b=function(){h=null,v&&o.complete()},g=function(t){return h=r.innerFrom(n(t)).subscribe(e.createOperatorSubscriber(o,p,b))},m=function(){if(f){f=!1;var t=d;d=null,o.next(t),!v&&g(t)}};t.subscribe(e.createOperatorSubscriber(o,(function(t){f=!0,d=t,(!h||h.closed)&&(s?m():g(t))}),(function(){v=!0,(!(u&&f&&h)||h.closed)&&o.complete()})))}))},Ku}var Gu,Qu,tf,ef,rf,nf,of,af,lf,sf,cf,uf,ff,df,hf={},vf={},pf={},bf={},gf={},mf={},yf={},xf={},wf={},jf={},_f={},Of={},kf={};function Cf(){return df||(df=1,function(t){var e=ve&&ve.__createBinding||(Object.create?function(t,e,r,n){void 0===n&&(n=r),Object.defineProperty(t,n,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,n){void 0===n&&(n=r),t[n]=e[r]}),r=ve&&ve.__exportStar||function(t,r){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(r,n)||e(r,t,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.interval=t.iif=t.generate=t.fromEventPattern=t.fromEvent=t.from=t.forkJoin=t.empty=t.defer=t.connectable=t.concat=t.combineLatest=t.bindNodeCallback=t.bindCallback=t.UnsubscriptionError=t.TimeoutError=t.SequenceError=t.ObjectUnsubscribedError=t.NotFoundError=t.EmptyError=t.ArgumentOutOfRangeError=t.firstValueFrom=t.lastValueFrom=t.isObservable=t.identity=t.noop=t.pipe=t.NotificationKind=t.Notification=t.Subscriber=t.Subscription=t.Scheduler=t.VirtualAction=t.VirtualTimeScheduler=t.animationFrameScheduler=t.animationFrame=t.queueScheduler=t.queue=t.asyncScheduler=t.async=t.asapScheduler=t.asap=t.AsyncSubject=t.ReplaySubject=t.BehaviorSubject=t.Subject=t.animationFrames=t.observable=t.ConnectableObservable=t.Observable=void 0,t.filter=t.expand=t.exhaustMap=t.exhaustAll=t.exhaust=t.every=t.endWith=t.elementAt=t.distinctUntilKeyChanged=t.distinctUntilChanged=t.distinct=t.dematerialize=t.delayWhen=t.delay=t.defaultIfEmpty=t.debounceTime=t.debounce=t.count=t.connect=t.concatWith=t.concatMapTo=t.concatMap=t.concatAll=t.combineLatestWith=t.combineLatestAll=t.combineAll=t.catchError=t.bufferWhen=t.bufferToggle=t.bufferTime=t.bufferCount=t.buffer=t.auditTime=t.audit=t.config=t.NEVER=t.EMPTY=t.scheduled=t.zip=t.using=t.timer=t.throwError=t.range=t.race=t.partition=t.pairs=t.onErrorResumeNext=t.of=t.never=t.merge=void 0,t.switchMap=t.switchAll=t.subscribeOn=t.startWith=t.skipWhile=t.skipUntil=t.skipLast=t.skip=t.single=t.shareReplay=t.share=t.sequenceEqual=t.scan=t.sampleTime=t.sample=t.refCount=t.retryWhen=t.retry=t.repeatWhen=t.repeat=t.reduce=t.raceWith=t.publishReplay=t.publishLast=t.publishBehavior=t.publish=t.pluck=t.pairwise=t.onErrorResumeNextWith=t.observeOn=t.multicast=t.min=t.mergeWith=t.mergeScan=t.mergeMapTo=t.mergeMap=t.flatMap=t.mergeAll=t.max=t.materialize=t.mapTo=t.map=t.last=t.isEmpty=t.ignoreElements=t.groupBy=t.first=t.findIndex=t.find=t.finalize=void 0,t.zipWith=t.zipAll=t.withLatestFrom=t.windowWhen=t.windowToggle=t.windowTime=t.windowCount=t.window=t.toArray=t.timestamp=t.timeoutWith=t.timeout=t.timeInterval=t.throwIfEmpty=t.throttleTime=t.throttle=t.tap=t.takeWhile=t.takeUntil=t.takeLast=t.take=t.switchScan=t.switchMapTo=void 0;var n=ar();Object.defineProperty(t,"Observable",{enumerable:!0,get:function(){return n.Observable}});var i=mr();Object.defineProperty(t,"ConnectableObservable",{enumerable:!0,get:function(){return i.ConnectableObservable}});var o=Ge();Object.defineProperty(t,"observable",{enumerable:!0,get:function(){return o.observable}});var a=function(){if(wr)return jr;wr=1,Object.defineProperty(jr,"__esModule",{value:!0}),jr.animationFrames=void 0;var t,e=ar(),r=(yr||(yr=1,t=_r,Object.defineProperty(t,"__esModule",{value:!0}),t.performanceTimestampProvider=void 0,t.performanceTimestampProvider={now:function(){return(t.performanceTimestampProvider.delegate||performance).now()},delegate:void 0}),_r),n=kr();function i(t){return new e.Observable((function(e){var i=t||r.performanceTimestampProvider,o=i.now(),a=0,l=function(){e.closed||(a=n.animationFrameProvider.requestAnimationFrame((function(r){a=0;var n=i.now();e.next({timestamp:t?n:r,elapsed:n-o}),l()})))};return l(),function(){a&&n.animationFrameProvider.cancelAnimationFrame(a)}}))}jr.animationFrames=function(t){return t?i(t):o};var o=i();return jr}();Object.defineProperty(t,"animationFrames",{enumerable:!0,get:function(){return a.animationFrames}});var l=Ir();Object.defineProperty(t,"Subject",{enumerable:!0,get:function(){return l.Subject}});var s=Lr();Object.defineProperty(t,"BehaviorSubject",{enumerable:!0,get:function(){return s.BehaviorSubject}});var c=Br();Object.defineProperty(t,"ReplaySubject",{enumerable:!0,get:function(){return c.ReplaySubject}});var u=$r();Object.defineProperty(t,"AsyncSubject",{enumerable:!0,get:function(){return u.AsyncSubject}});var f=vn();Object.defineProperty(t,"asap",{enumerable:!0,get:function(){return f.asap}}),Object.defineProperty(t,"asapScheduler",{enumerable:!0,get:function(){return f.asapScheduler}});var d=gn();Object.defineProperty(t,"async",{enumerable:!0,get:function(){return d.async}}),Object.defineProperty(t,"asyncScheduler",{enumerable:!0,get:function(){return d.asyncScheduler}});var h=(xn||(xn=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.queue=t.queueScheduler=void 0;var e=function(){if(mn)return jn;mn=1;var t,e=jn&&jn.__extends||(t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},t(e,r)},function(e,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)});Object.defineProperty(jn,"__esModule",{value:!0}),jn.QueueAction=void 0;var r=function(t){function r(e,r){var n=t.call(this,e,r)||this;return n.scheduler=e,n.work=r,n}return e(r,t),r.prototype.schedule=function(e,r){return void 0===r&&(r=0),r>0?t.prototype.schedule.call(this,e,r):(this.delay=r,this.state=e,this.scheduler.flush(this),this)},r.prototype.execute=function(e,r){return r>0||this.closed?t.prototype.execute.call(this,e,r):this._execute(e,r)},r.prototype.requestAsyncId=function(e,r,n){return void 0===n&&(n=0),null!=n&&n>0||null==n&&this.delay>0?t.prototype.requestAsyncId.call(this,e,r,n):(e.flush(this),0)},r}(Gr().AsyncAction);return jn.QueueAction=r,jn}(),r=function(){if(yn)return _n;yn=1;var t,e=_n&&_n.__extends||(t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},t(e,r)},function(e,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)});Object.defineProperty(_n,"__esModule",{value:!0}),_n.QueueScheduler=void 0;var r=function(t){function r(){return null!==t&&t.apply(this,arguments)||this}return e(r,t),r}(hn().AsyncScheduler);return _n.QueueScheduler=r,_n}();t.queueScheduler=new r.QueueScheduler(e.QueueAction),t.queue=t.queueScheduler}(wn)),wn);Object.defineProperty(t,"queue",{enumerable:!0,get:function(){return h.queue}}),Object.defineProperty(t,"queueScheduler",{enumerable:!0,get:function(){return h.queueScheduler}});var v=(Cn||(Cn=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.animationFrame=t.animationFrameScheduler=void 0;var e=function(){if(On)return zn;On=1;var t,e=zn&&zn.__extends||(t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},t(e,r)},function(e,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)});Object.defineProperty(zn,"__esModule",{value:!0}),zn.AnimationFrameAction=void 0;var r=Gr(),n=kr(),i=function(t){function r(e,r){var n=t.call(this,e,r)||this;return n.scheduler=e,n.work=r,n}return e(r,t),r.prototype.requestAsyncId=function(e,r,i){return void 0===i&&(i=0),null!==i&&i>0?t.prototype.requestAsyncId.call(this,e,r,i):(e.actions.push(this),e._scheduled||(e._scheduled=n.animationFrameProvider.requestAnimationFrame((function(){return e.flush(void 0)}))))},r.prototype.recycleAsyncId=function(e,r,i){var o;if(void 0===i&&(i=0),null!=i?i>0:this.delay>0)return t.prototype.recycleAsyncId.call(this,e,r,i);var a=e.actions;null!=r&&r===e._scheduled&&(null===(o=a[a.length-1])||void 0===o?void 0:o.id)!==r&&(n.animationFrameProvider.cancelAnimationFrame(r),e._scheduled=void 0)},r}(r.AsyncAction);return zn.AnimationFrameAction=i,zn}(),r=function(){if(kn)return Sn;kn=1;var t,e=Sn&&Sn.__extends||(t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},t(e,r)},function(e,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)});Object.defineProperty(Sn,"__esModule",{value:!0}),Sn.AnimationFrameScheduler=void 0;var r=function(t){function r(){return null!==t&&t.apply(this,arguments)||this}return e(r,t),r.prototype.flush=function(t){var e;this._active=!0,t?e=t.id:(e=this._scheduled,this._scheduled=void 0);var r,n=this.actions;t=t||n.shift();do{if(r=t.execute(t.state,t.delay))break}while((t=n[0])&&t.id===e&&n.shift());if(this._active=!1,r){for(;(t=n[0])&&t.id===e&&n.shift();)t.unsubscribe();throw r}},r}(hn().AsyncScheduler);return Sn.AnimationFrameScheduler=r,Sn}();t.animationFrameScheduler=new r.AnimationFrameScheduler(e.AnimationFrameAction),t.animationFrame=t.animationFrameScheduler}(Mn)),Mn);Object.defineProperty(t,"animationFrame",{enumerable:!0,get:function(){return v.animationFrame}}),Object.defineProperty(t,"animationFrameScheduler",{enumerable:!0,get:function(){return v.animationFrameScheduler}});var p=function(){if(Tn)return En;Tn=1;var t,e=En&&En.__extends||(t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},t(e,r)},function(e,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)});Object.defineProperty(En,"__esModule",{value:!0}),En.VirtualAction=En.VirtualTimeScheduler=void 0;var r=Gr(),n=Te(),i=function(t){function r(e,r){void 0===e&&(e=o),void 0===r&&(r=1/0);var n=t.call(this,e,(function(){return n.frame}))||this;return n.maxFrames=r,n.frame=0,n.index=-1,n}return e(r,t),r.prototype.flush=function(){for(var t,e,r=this.actions,n=this.maxFrames;(e=r[0])&&e.delay<=n&&(r.shift(),this.frame=e.delay,!(t=e.execute(e.state,e.delay))););if(t){for(;e=r.shift();)e.unsubscribe();throw t}},r.frameTimeFactor=10,r}(hn().AsyncScheduler);En.VirtualTimeScheduler=i;var o=function(t){function r(e,r,n){void 0===n&&(n=e.index+=1);var i=t.call(this,e,r)||this;return i.scheduler=e,i.work=r,i.index=n,i.active=!0,i.index=e.index=n,i}return e(r,t),r.prototype.schedule=function(e,i){if(void 0===i&&(i=0),Number.isFinite(i)){if(!this.id)return t.prototype.schedule.call(this,e,i);this.active=!1;var o=new r(this.scheduler,this.work);return this.add(o),o.schedule(e,i)}return n.Subscription.EMPTY},r.prototype.requestAsyncId=function(t,e,n){void 0===n&&(n=0),this.delay=t.frame+n;var i=t.actions;return i.push(this),i.sort(r.sortActions),1},r.prototype.recycleAsyncId=function(){},r.prototype._execute=function(e,r){if(!0===this.active)return t.prototype._execute.call(this,e,r)},r.sortActions=function(t,e){return t.delay===e.delay?t.index===e.index?0:t.index>e.index?1:-1:t.delay>e.delay?1:-1},r}(r.AsyncAction);return En.VirtualAction=o,En}();Object.defineProperty(t,"VirtualTimeScheduler",{enumerable:!0,get:function(){return p.VirtualTimeScheduler}}),Object.defineProperty(t,"VirtualAction",{enumerable:!0,get:function(){return p.VirtualAction}});var b=dn();Object.defineProperty(t,"Scheduler",{enumerable:!0,get:function(){return b.Scheduler}});var g=Te();Object.defineProperty(t,"Subscription",{enumerable:!0,get:function(){return g.Subscription}});var m=Ye();Object.defineProperty(t,"Subscriber",{enumerable:!0,get:function(){return m.Subscriber}});var y=Xi();Object.defineProperty(t,"Notification",{enumerable:!0,get:function(){return y.Notification}}),Object.defineProperty(t,"NotificationKind",{enumerable:!0,get:function(){return y.NotificationKind}});var x=or();Object.defineProperty(t,"pipe",{enumerable:!0,get:function(){return x.pipe}});var w=De();Object.defineProperty(t,"noop",{enumerable:!0,get:function(){return w.noop}});var j=ir();Object.defineProperty(t,"identity",{enumerable:!0,get:function(){return j.identity}});var _=function(){if(Gi)return eo;Gi=1,Object.defineProperty(eo,"__esModule",{value:!0}),eo.isObservable=void 0;var t=ar(),e=me();return eo.isObservable=function(r){return!!r&&(r instanceof t.Observable||e.isFunction(r.lift)&&e.isFunction(r.subscribe))},eo}();Object.defineProperty(t,"isObservable",{enumerable:!0,get:function(){return _.isObservable}});var O=function(){if(to)return ro;to=1,Object.defineProperty(ro,"__esModule",{value:!0}),ro.lastValueFrom=void 0;var t=io();return ro.lastValueFrom=function(e,r){var n="object"==typeof r;return new Promise((function(i,o){var a,l=!1;e.subscribe({next:function(t){a=t,l=!0},error:o,complete:function(){l?i(a):n?i(r.defaultValue):o(new t.EmptyError)}})}))},ro}();Object.defineProperty(t,"lastValueFrom",{enumerable:!0,get:function(){return O.lastValueFrom}});var k=function(){if(oo)return lo;oo=1,Object.defineProperty(lo,"__esModule",{value:!0}),lo.firstValueFrom=void 0;var t=io(),e=Ye();return lo.firstValueFrom=function(r,n){var i="object"==typeof n;return new Promise((function(o,a){var l=new e.SafeSubscriber({next:function(t){o(t),l.unsubscribe()},error:a,complete:function(){i?o(n.defaultValue):a(new t.EmptyError)}});r.subscribe(l)}))},lo}();Object.defineProperty(t,"firstValueFrom",{enumerable:!0,get:function(){return k.firstValueFrom}});var C=co();Object.defineProperty(t,"ArgumentOutOfRangeError",{enumerable:!0,get:function(){return C.ArgumentOutOfRangeError}});var M=io();Object.defineProperty(t,"EmptyError",{enumerable:!0,get:function(){return M.EmptyError}});var z=ho();Object.defineProperty(t,"NotFoundError",{enumerable:!0,get:function(){return z.NotFoundError}});var S=Tr();Object.defineProperty(t,"ObjectUnsubscribedError",{enumerable:!0,get:function(){return S.ObjectUnsubscribedError}});var T=bo();Object.defineProperty(t,"SequenceError",{enumerable:!0,get:function(){return T.SequenceError}});var I=jo();Object.defineProperty(t,"TimeoutError",{enumerable:!0,get:function(){return I.TimeoutError}});var E=ke();Object.defineProperty(t,"UnsubscriptionError",{enumerable:!0,get:function(){return E.UnsubscriptionError}});var A=function(){if(Co)return Mo;Co=1,Object.defineProperty(Mo,"__esModule",{value:!0}),Mo.bindCallback=void 0;var t=Ao();return Mo.bindCallback=function(e,r,n){return t.bindCallbackInternals(!1,e,r,n)},Mo}();Object.defineProperty(t,"bindCallback",{enumerable:!0,get:function(){return A.bindCallback}});var L=function(){if(Lo)return Po;Lo=1,Object.defineProperty(Po,"__esModule",{value:!0}),Po.bindNodeCallback=void 0;var t=Ao();return Po.bindNodeCallback=function(e,r,n){return t.bindCallbackInternals(!0,e,r,n)},Po}();Object.defineProperty(t,"bindNodeCallback",{enumerable:!0,get:function(){return L.bindNodeCallback}});var W=Ho();Object.defineProperty(t,"combineLatest",{enumerable:!0,get:function(){return W.combineLatest}});var P=oa();Object.defineProperty(t,"concat",{enumerable:!0,get:function(){return P.concat}});var V=function(){if(la)return sa;la=1,Object.defineProperty(sa,"__esModule",{value:!0}),sa.connectable=void 0;var t=Ir(),e=ar(),r=ua(),n={connector:function(){return new t.Subject},resetOnDisconnect:!0};return sa.connectable=function(t,i){void 0===i&&(i=n);var o=null,a=i.connector,l=i.resetOnDisconnect,s=void 0===l||l,c=a(),u=new e.Observable((function(t){return c.subscribe(t)}));return u.connect=function(){return o&&!o.closed||(o=r.defer((function(){return t})).subscribe(c),s&&o.add((function(){return c=a()}))),o},u},sa}();Object.defineProperty(t,"connectable",{enumerable:!0,get:function(){return V.connectable}});var R=ua();Object.defineProperty(t,"defer",{enumerable:!0,get:function(){return R.defer}});var F=Wn();Object.defineProperty(t,"empty",{enumerable:!0,get:function(){return F.empty}});var B=function(){if(fa)return ha;fa=1,Object.defineProperty(ha,"__esModule",{value:!0}),ha.forkJoin=void 0;var t=ar(),e=Fo(),r=mi(),n=Dn(),i=br(),o=Eo(),a=$o();return ha.forkJoin=function(){for(var l=[],s=0;s<arguments.length;s++)l[s]=arguments[s];var c=n.popResultSelector(l),u=e.argsArgArrayOrObject(l),f=u.args,d=u.keys,h=new t.Observable((function(t){var e=f.length;if(e)for(var n=new Array(e),o=e,l=e,s=function(e){var s=!1;r.innerFrom(f[e]).subscribe(i.createOperatorSubscriber(t,(function(t){s||(s=!0,l--),n[e]=t}),(function(){return o--}),void 0,(function(){o&&s||(l||t.next(d?a.createObject(d,n):n),t.complete())})))},c=0;c<e;c++)s(c);else t.complete()}));return c?h.pipe(o.mapOneOrManyArgs(c)):h},ha}();Object.defineProperty(t,"forkJoin",{enumerable:!0,get:function(){return B.forkJoin}});var N=Zi();Object.defineProperty(t,"from",{enumerable:!0,get:function(){return N.from}});var D=function(){if(da)return va;da=1;var t=va&&va.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,i,o=r.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(t){i={error:t}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a};Object.defineProperty(va,"__esModule",{value:!0}),va.fromEvent=void 0;var e=mi(),r=ar(),n=ra(),i=Yn(),o=me(),a=Eo(),l=["addListener","removeListener"],s=["addEventListener","removeEventListener"],c=["on","off"];function u(t,e){return function(r){return function(n){return t[r](e,n)}}}return va.fromEvent=function f(d,h,v,p){if(o.isFunction(v)&&(p=v,v=void 0),p)return f(d,h,v).pipe(a.mapOneOrManyArgs(p));var b=t(function(t){return o.isFunction(t.addEventListener)&&o.isFunction(t.removeEventListener)}(d)?s.map((function(t){return function(e){return d[t](h,e,v)}})):function(t){return o.isFunction(t.addListener)&&o.isFunction(t.removeListener)}(d)?l.map(u(d,h)):function(t){return o.isFunction(t.on)&&o.isFunction(t.off)}(d)?c.map(u(d,h)):[],2),g=b[0],m=b[1];if(!g&&i.isArrayLike(d))return n.mergeMap((function(t){return f(t,h,v)}))(e.innerFrom(d));if(!g)throw new TypeError("Invalid event target");return new r.Observable((function(t){var e=function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return t.next(1<e.length?e:e[0])};return g(e),function(){return m(e)}}))},va}();Object.defineProperty(t,"fromEvent",{enumerable:!0,get:function(){return D.fromEvent}});var $=function(){if(pa)return ma;pa=1,Object.defineProperty(ma,"__esModule",{value:!0}),ma.fromEventPattern=void 0;var t=ar(),e=me(),r=Eo();return ma.fromEventPattern=function n(i,o,a){return a?n(i,o).pipe(r.mapOneOrManyArgs(a)):new t.Observable((function(t){var r=function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return t.next(1===e.length?e[0]:e)},n=i(r);return e.isFunction(o)?function(){return o(r,n)}:void 0}))},ma}();Object.defineProperty(t,"fromEventPattern",{enumerable:!0,get:function(){return $.fromEventPattern}});var H=function(){if(ba)return ya;ba=1;var t=ya&&ya.__generator||function(t,e){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function l(o){return function(l){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=e.call(t,a)}catch(t){o=[6,t],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,l])}}};Object.defineProperty(ya,"__esModule",{value:!0}),ya.generate=void 0;var e=ir(),r=Nn(),n=ua(),i=Wi();return ya.generate=function(o,a,l,s,c){var u,f,d,h;function v(){var e;return t(this,(function(t){switch(t.label){case 0:e=h,t.label=1;case 1:return a&&!a(e)?[3,4]:[4,d(e)];case 2:t.sent(),t.label=3;case 3:return e=l(e),[3,1];case 4:return[2]}}))}return 1===arguments.length?(h=(u=o).initialState,a=u.condition,l=u.iterate,d=void 0===(f=u.resultSelector)?e.identity:f,c=u.scheduler):(h=o,!s||r.isScheduler(s)?(d=e.identity,c=s):d=s),n.defer(c?function(){return i.scheduleIterable(v(),c)}:v)},ya}();Object.defineProperty(t,"generate",{enumerable:!0,get:function(){return H.generate}});var Z=function(){if(xa)return _a;xa=1,Object.defineProperty(_a,"__esModule",{value:!0}),_a.iif=void 0;var t=ua();return _a.iif=function(e,r,n){return t.defer((function(){return e()?r:n}))},_a}();Object.defineProperty(t,"iif",{enumerable:!0,get:function(){return Z.iif}});var q=Ma();Object.defineProperty(t,"interval",{enumerable:!0,get:function(){return q.interval}});var U=function(){if(za)return Ta;za=1,Object.defineProperty(Ta,"__esModule",{value:!0}),Ta.merge=void 0;var t=na(),e=mi(),r=Wn(),n=Dn(),i=Zi();return Ta.merge=function(){for(var o=[],a=0;a<arguments.length;a++)o[a]=arguments[a];var l=n.popScheduler(o),s=n.popNumber(o,1/0),c=o;return c.length?1===c.length?e.innerFrom(c[0]):t.mergeAll(s)(i.from(c,l)):r.EMPTY},Ta}();Object.defineProperty(t,"merge",{enumerable:!0,get:function(){return U.merge}});var J=Ea();Object.defineProperty(t,"never",{enumerable:!0,get:function(){return J.never}});var Y=qi();Object.defineProperty(t,"of",{enumerable:!0,get:function(){return Y.of}});var K=Ra();Object.defineProperty(t,"onErrorResumeNext",{enumerable:!0,get:function(){return K.onErrorResumeNext}});var X=function(){if(Fa)return $a;Fa=1,Object.defineProperty($a,"__esModule",{value:!0}),$a.pairs=void 0;var t=Zi();return $a.pairs=function(e,r){return t.from(Object.entries(e),r)},$a}();Object.defineProperty(t,"pairs",{enumerable:!0,get:function(){return X.pairs}});var G=function(){if(Da)return Ha;Da=1,Object.defineProperty(Ha,"__esModule",{value:!0}),Ha.partition=void 0;var t=(Ba||(Ba=1,Object.defineProperty(Za,"__esModule",{value:!0}),Za.not=void 0,Za.not=function(t,e){return function(r,n){return!t.call(e,r,n)}}),Za),e=Ua(),r=mi();return Ha.partition=function(n,i,o){return[e.filter(i,o)(r.innerFrom(n)),e.filter(t.not(i,o))(r.innerFrom(n))]},Ha}();Object.defineProperty(t,"partition",{enumerable:!0,get:function(){return G.partition}});var Q=Ka();Object.defineProperty(t,"race",{enumerable:!0,get:function(){return Q.race}});var tt=function(){if(Xa)return tl;Xa=1,Object.defineProperty(tl,"__esModule",{value:!0}),tl.range=void 0;var t=ar(),e=Wn();return tl.range=function(r,n,i){if(null==n&&(n=r,r=0),n<=0)return e.EMPTY;var o=n+r;return new t.Observable(i?function(t){var e=r;return i.schedule((function(){e<o?(t.next(e++),this.schedule()):t.complete()}))}:function(t){for(var e=r;e<o&&!t.closed;)t.next(e++);t.complete()})},tl}();Object.defineProperty(t,"range",{enumerable:!0,get:function(){return tt.range}});var et=Ki();Object.defineProperty(t,"throwError",{enumerable:!0,get:function(){return et.throwError}});var rt=Ca();Object.defineProperty(t,"timer",{enumerable:!0,get:function(){return rt.timer}});var nt=function(){if(Ga)return el;Ga=1,Object.defineProperty(el,"__esModule",{value:!0}),el.using=void 0;var t=ar(),e=mi(),r=Wn();return el.using=function(n,i){return new t.Observable((function(t){var o=n(),a=i(o);return(a?e.innerFrom(a):r.EMPTY).subscribe(t),function(){o&&o.unsubscribe()}}))},el}();Object.defineProperty(t,"using",{enumerable:!0,get:function(){return nt.using}});var it=nl();Object.defineProperty(t,"zip",{enumerable:!0,get:function(){return it.zip}});var ot=Hi();Object.defineProperty(t,"scheduled",{enumerable:!0,get:function(){return ot.scheduled}});var at=Wn();Object.defineProperty(t,"EMPTY",{enumerable:!0,get:function(){return at.EMPTY}});var lt=Ea();Object.defineProperty(t,"NEVER",{enumerable:!0,get:function(){return lt.NEVER}}),r((il||(il=1,Object.defineProperty(al,"__esModule",{value:!0})),al),t);var st=Ae();Object.defineProperty(t,"config",{enumerable:!0,get:function(){return st.config}});var ct=sl();Object.defineProperty(t,"audit",{enumerable:!0,get:function(){return ct.audit}});var ut=function(){if(cl)return jl;cl=1,Object.defineProperty(jl,"__esModule",{value:!0}),jl.auditTime=void 0;var t=gn(),e=sl(),r=Ca();return jl.auditTime=function(n,i){return void 0===i&&(i=t.asyncScheduler),e.audit((function(){return r.timer(n,i)}))},jl}();Object.defineProperty(t,"auditTime",{enumerable:!0,get:function(){return ut.auditTime}});var ft=function(){if(ul)return _l;ul=1,Object.defineProperty(_l,"__esModule",{value:!0}),_l.buffer=void 0;var t=fr(),e=De(),r=br(),n=mi();return _l.buffer=function(i){return t.operate((function(t,o){var a=[];return t.subscribe(r.createOperatorSubscriber(o,(function(t){return a.push(t)}),(function(){o.next(a),o.complete()}))),n.innerFrom(i).subscribe(r.createOperatorSubscriber(o,(function(){var t=a;a=[],o.next(t)}),e.noop)),function(){a=null}}))},_l}();Object.defineProperty(t,"buffer",{enumerable:!0,get:function(){return ft.buffer}});var dt=function(){if(fl)return Ol;fl=1;var t=Ol&&Ol.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(Ol,"__esModule",{value:!0}),Ol.bufferCount=void 0;var e=fr(),r=br(),n=Se();return Ol.bufferCount=function(i,o){return void 0===o&&(o=null),o=null!=o?o:i,e.operate((function(e,a){var l=[],s=0;e.subscribe(r.createOperatorSubscriber(a,(function(e){var r,c,u,f,d=null;s++%o==0&&l.push([]);try{for(var h=t(l),v=h.next();!v.done;v=h.next())(g=v.value).push(e),i<=g.length&&(d=null!=d?d:[]).push(g)}catch(t){r={error:t}}finally{try{v&&!v.done&&(c=h.return)&&c.call(h)}finally{if(r)throw r.error}}if(d)try{for(var p=t(d),b=p.next();!b.done;b=p.next()){var g;n.arrRemove(l,g=b.value),a.next(g)}}catch(t){u={error:t}}finally{try{b&&!b.done&&(f=p.return)&&f.call(p)}finally{if(u)throw u.error}}}),(function(){var e,r;try{for(var n=t(l),i=n.next();!i.done;i=n.next())a.next(i.value)}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}a.complete()}),void 0,(function(){l=null})))}))},Ol}();Object.defineProperty(t,"bufferCount",{enumerable:!0,get:function(){return dt.bufferCount}});var ht=function(){if(dl)return kl;dl=1;var t=kl&&kl.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(kl,"__esModule",{value:!0}),kl.bufferTime=void 0;var e=Te(),r=fr(),n=br(),i=Se(),o=gn(),a=Dn(),l=_i();return kl.bufferTime=function(s){for(var c,u,f=[],d=1;d<arguments.length;d++)f[d-1]=arguments[d];var h=null!==(c=a.popScheduler(f))&&void 0!==c?c:o.asyncScheduler,v=null!==(u=f[0])&&void 0!==u?u:null,p=f[1]||1/0;return r.operate((function(r,o){var a=[],c=!1,u=function(t){var e=t.buffer;t.subs.unsubscribe(),i.arrRemove(a,t),o.next(e),c&&f()},f=function(){if(a){var t=new e.Subscription;o.add(t);var r={buffer:[],subs:t};a.push(r),l.executeSchedule(t,h,(function(){return u(r)}),s)}};null!==v&&v>=0?l.executeSchedule(o,h,f,v,!0):c=!0,f();var d=n.createOperatorSubscriber(o,(function(e){var r,n,i=a.slice();try{for(var o=t(i),l=o.next();!l.done;l=o.next()){var s=l.value,c=s.buffer;c.push(e),p<=c.length&&u(s)}}catch(t){r={error:t}}finally{try{l&&!l.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}}),(function(){for(;null==a?void 0:a.length;)o.next(a.shift().buffer);null==d||d.unsubscribe(),o.complete(),o.unsubscribe()}),void 0,(function(){return a=null}));r.subscribe(d)}))},kl}();Object.defineProperty(t,"bufferTime",{enumerable:!0,get:function(){return ht.bufferTime}});var vt=function(){if(hl)return Cl;hl=1;var t=Cl&&Cl.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(Cl,"__esModule",{value:!0}),Cl.bufferToggle=void 0;var e=Te(),r=fr(),n=mi(),i=br(),o=De(),a=Se();return Cl.bufferToggle=function(l,s){return r.operate((function(r,c){var u=[];n.innerFrom(l).subscribe(i.createOperatorSubscriber(c,(function(t){var r=[];u.push(r);var l=new e.Subscription;l.add(n.innerFrom(s(t)).subscribe(i.createOperatorSubscriber(c,(function(){a.arrRemove(u,r),c.next(r),l.unsubscribe()}),o.noop)))}),o.noop)),r.subscribe(i.createOperatorSubscriber(c,(function(e){var r,n;try{for(var i=t(u),o=i.next();!o.done;o=i.next())o.value.push(e)}catch(t){r={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}}),(function(){for(;u.length>0;)c.next(u.shift());c.complete()})))}))},Cl}();Object.defineProperty(t,"bufferToggle",{enumerable:!0,get:function(){return vt.bufferToggle}});var pt=function(){if(vl)return Ml;vl=1,Object.defineProperty(Ml,"__esModule",{value:!0}),Ml.bufferWhen=void 0;var t=fr(),e=De(),r=br(),n=mi();return Ml.bufferWhen=function(i){return t.operate((function(t,o){var a=null,l=null,s=function(){null==l||l.unsubscribe();var t=a;a=[],t&&o.next(t),n.innerFrom(i()).subscribe(l=r.createOperatorSubscriber(o,s,e.noop))};s(),t.subscribe(r.createOperatorSubscriber(o,(function(t){return null==a?void 0:a.push(t)}),(function(){a&&o.next(a),o.complete()}),void 0,(function(){return a=l=null})))}))},Ml}();Object.defineProperty(t,"bufferWhen",{enumerable:!0,get:function(){return pt.bufferWhen}});var bt=function(){if(pl)return zl;pl=1,Object.defineProperty(zl,"__esModule",{value:!0}),zl.catchError=void 0;var t=mi(),e=br(),r=fr();return zl.catchError=function n(i){return r.operate((function(r,o){var a,l=null,s=!1;l=r.subscribe(e.createOperatorSubscriber(o,void 0,void 0,(function(e){a=t.innerFrom(i(e,n(i)(r))),l?(l.unsubscribe(),l=null,a.subscribe(o)):s=!0}))),s&&(l.unsubscribe(),l=null,a.subscribe(o))}))},zl}();Object.defineProperty(t,"catchError",{enumerable:!0,get:function(){return bt.catchError}});var gt=function(){if(wl)return Sl;wl=1,Object.defineProperty(Sl,"__esModule",{value:!0}),Sl.combineAll=void 0;var t=Fl();return Sl.combineAll=t.combineLatestAll,Sl}();Object.defineProperty(t,"combineAll",{enumerable:!0,get:function(){return gt.combineAll}});var mt=Fl();Object.defineProperty(t,"combineLatestAll",{enumerable:!0,get:function(){return mt.combineLatestAll}});var yt=function(){if(Nl)return Dl;Nl=1;var t=Dl&&Dl.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,i,o=r.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(t){i={error:t}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},e=Dl&&Dl.__spreadArray||function(t,e){for(var r=0,n=e.length,i=t.length;r<n;r++,i++)t[i]=e[r];return t};Object.defineProperty(Dl,"__esModule",{value:!0}),Dl.combineLatestWith=void 0;var r=function(){if(Bl)return $l;Bl=1;var t=$l&&$l.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,i,o=r.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(t){i={error:t}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},e=$l&&$l.__spreadArray||function(t,e){for(var r=0,n=e.length,i=t.length;r<n;r++,i++)t[i]=e[r];return t};Object.defineProperty($l,"__esModule",{value:!0}),$l.combineLatest=void 0;var r=Ho(),n=fr(),i=Va(),o=Eo(),a=or(),l=Dn();return $l.combineLatest=function s(){for(var c=[],u=0;u<arguments.length;u++)c[u]=arguments[u];var f=l.popResultSelector(c);return f?a.pipe(s.apply(void 0,e([],t(c))),o.mapOneOrManyArgs(f)):n.operate((function(n,o){r.combineLatestInit(e([n],t(i.argsOrArgArray(c))))(o)}))},$l}();return Dl.combineLatestWith=function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];return r.combineLatest.apply(void 0,e([],t(n)))},Dl}();Object.defineProperty(t,"combineLatestWith",{enumerable:!0,get:function(){return yt.combineLatestWith}});var xt=ia();Object.defineProperty(t,"concatAll",{enumerable:!0,get:function(){return xt.concatAll}});var wt=ql();Object.defineProperty(t,"concatMap",{enumerable:!0,get:function(){return wt.concatMap}});var jt=function(){if(Ul)return Kl;Ul=1,Object.defineProperty(Kl,"__esModule",{value:!0}),Kl.concatMapTo=void 0;var t=ql(),e=me();return Kl.concatMapTo=function(r,n){return e.isFunction(n)?t.concatMap((function(){return r}),n):t.concatMap((function(){return r}))},Kl}();Object.defineProperty(t,"concatMapTo",{enumerable:!0,get:function(){return jt.concatMapTo}});var _t=function(){if(Yl)return Xl;Yl=1;var t=Xl&&Xl.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,i,o=r.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(t){i={error:t}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},e=Xl&&Xl.__spreadArray||function(t,e){for(var r=0,n=e.length,i=t.length;r<n;r++,i++)t[i]=e[r];return t};Object.defineProperty(Xl,"__esModule",{value:!0}),Xl.concatWith=void 0;var r=function(){if(Jl)return Gl;Jl=1;var t=Gl&&Gl.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,i,o=r.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(t){i={error:t}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},e=Gl&&Gl.__spreadArray||function(t,e){for(var r=0,n=e.length,i=t.length;r<n;r++,i++)t[i]=e[r];return t};Object.defineProperty(Gl,"__esModule",{value:!0}),Gl.concat=void 0;var r=fr(),n=ia(),i=Dn(),o=Zi();return Gl.concat=function(){for(var a=[],l=0;l<arguments.length;l++)a[l]=arguments[l];var s=i.popScheduler(a);return r.operate((function(r,i){n.concatAll()(o.from(e([r],t(a)),s)).subscribe(i)}))},Gl}();return Xl.concatWith=function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];return r.concat.apply(void 0,e([],t(n)))},Xl}();Object.defineProperty(t,"concatWith",{enumerable:!0,get:function(){return _t.concatWith}});var Ot=ns();Object.defineProperty(t,"connect",{enumerable:!0,get:function(){return Ot.connect}});var kt=function(){if(is)return ss;is=1,Object.defineProperty(ss,"__esModule",{value:!0}),ss.count=void 0;var t=Pl();return ss.count=function(e){return t.reduce((function(t,r,n){return!e||e(r,n)?t+1:t}),0)},ss}();Object.defineProperty(t,"count",{enumerable:!0,get:function(){return kt.count}});var Ct=function(){if(os)return cs;os=1,Object.defineProperty(cs,"__esModule",{value:!0}),cs.debounce=void 0;var t=fr(),e=De(),r=br(),n=mi();return cs.debounce=function(i){return t.operate((function(t,o){var a=!1,l=null,s=null,c=function(){if(null==s||s.unsubscribe(),s=null,a){a=!1;var t=l;l=null,o.next(t)}};t.subscribe(r.createOperatorSubscriber(o,(function(t){null==s||s.unsubscribe(),a=!0,l=t,s=r.createOperatorSubscriber(o,c,e.noop),n.innerFrom(i(t)).subscribe(s)}),(function(){c(),o.complete()}),void 0,(function(){l=s=null})))}))},cs}();Object.defineProperty(t,"debounce",{enumerable:!0,get:function(){return Ct.debounce}});var Mt=function(){if(as)return us;as=1,Object.defineProperty(us,"__esModule",{value:!0}),us.debounceTime=void 0;var t=gn(),e=fr(),r=br();return us.debounceTime=function(n,i){return void 0===i&&(i=t.asyncScheduler),e.operate((function(t,e){var o=null,a=null,l=null,s=function(){if(o){o.unsubscribe(),o=null;var t=a;a=null,e.next(t)}};function c(){var t=l+n,r=i.now();if(r<t)return o=this.schedule(void 0,t-r),void e.add(o);s()}t.subscribe(r.createOperatorSubscriber(e,(function(t){a=t,l=i.now(),o||(o=i.schedule(c,n),e.add(o))}),(function(){s(),e.complete()}),void 0,(function(){a=o=null})))}))},us}();Object.defineProperty(t,"debounceTime",{enumerable:!0,get:function(){return Mt.debounceTime}});var zt=ds();Object.defineProperty(t,"defaultIfEmpty",{enumerable:!0,get:function(){return zt.defaultIfEmpty}});var St=function(){if(_s)return vs;_s=1,Object.defineProperty(vs,"__esModule",{value:!0}),vs.delay=void 0;var t=gn(),e=Cs(),r=Ca();return vs.delay=function(n,i){void 0===i&&(i=t.asyncScheduler);var o=r.timer(n,i);return e.delayWhen((function(){return o}))},vs}();Object.defineProperty(t,"delay",{enumerable:!0,get:function(){return St.delay}});var Tt=Cs();Object.defineProperty(t,"delayWhen",{enumerable:!0,get:function(){return Tt.delayWhen}});var It=function(){if(Ms)return Ts;Ms=1,Object.defineProperty(Ts,"__esModule",{value:!0}),Ts.dematerialize=void 0;var t=Xi(),e=fr(),r=br();return Ts.dematerialize=function(){return e.operate((function(e,n){e.subscribe(r.createOperatorSubscriber(n,(function(e){return t.observeNotification(e,n)})))}))},Ts}();Object.defineProperty(t,"dematerialize",{enumerable:!0,get:function(){return It.dematerialize}});var Et=function(){if(zs)return Is;zs=1,Object.defineProperty(Is,"__esModule",{value:!0}),Is.distinct=void 0;var t=fr(),e=br(),r=De(),n=mi();return Is.distinct=function(i,o){return t.operate((function(t,a){var l=new Set;t.subscribe(e.createOperatorSubscriber(a,(function(t){var e=i?i(t):t;l.has(e)||(l.add(e),a.next(t))}))),o&&n.innerFrom(o).subscribe(e.createOperatorSubscriber(a,(function(){return l.clear()}),r.noop))}))},Is}();Object.defineProperty(t,"distinct",{enumerable:!0,get:function(){return Et.distinct}});var At=As();Object.defineProperty(t,"distinctUntilChanged",{enumerable:!0,get:function(){return At.distinctUntilChanged}});var Lt=function(){if(Ls)return Vs;Ls=1,Object.defineProperty(Vs,"__esModule",{value:!0}),Vs.distinctUntilKeyChanged=void 0;var t=As();return Vs.distinctUntilKeyChanged=function(e,r){return t.distinctUntilChanged((function(t,n){return r?r(t[e],n[e]):t[e]===n[e]}))},Vs}();Object.defineProperty(t,"distinctUntilKeyChanged",{enumerable:!0,get:function(){return Lt.distinctUntilKeyChanged}});var Wt=function(){if(Ps)return Rs;Ps=1,Object.defineProperty(Rs,"__esModule",{value:!0}),Rs.elementAt=void 0;var t=co(),e=Ua(),r=Bs(),n=ds(),i=gs();return Rs.elementAt=function(o,a){if(o<0)throw new t.ArgumentOutOfRangeError;var l=arguments.length>=2;return function(s){return s.pipe(e.filter((function(t,e){return e===o})),i.take(1),l?n.defaultIfEmpty(a):r.throwIfEmpty((function(){return new t.ArgumentOutOfRangeError})))}},Rs}();Object.defineProperty(t,"elementAt",{enumerable:!0,get:function(){return Wt.elementAt}});var Pt=function(){if(Ns)return qs;Ns=1;var t=qs&&qs.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,i,o=r.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(t){i={error:t}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},e=qs&&qs.__spreadArray||function(t,e){for(var r=0,n=e.length,i=t.length;r<n;r++,i++)t[i]=e[r];return t};Object.defineProperty(qs,"__esModule",{value:!0}),qs.endWith=void 0;var r=oa(),n=qi();return qs.endWith=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];return function(o){return r.concat(o,n.of.apply(void 0,e([],t(i))))}},qs}();Object.defineProperty(t,"endWith",{enumerable:!0,get:function(){return Pt.endWith}});var Vt=function(){if(Ds)return Us;Ds=1,Object.defineProperty(Us,"__esModule",{value:!0}),Us.every=void 0;var t=fr(),e=br();return Us.every=function(r,n){return t.operate((function(t,i){var o=0;t.subscribe(e.createOperatorSubscriber(i,(function(e){r.call(n,e,o++,t)||(i.next(!1),i.complete())}),(function(){i.next(!0),i.complete()})))}))},Us}();Object.defineProperty(t,"every",{enumerable:!0,get:function(){return Vt.every}});var Rt=function(){if(Zs)return Js;Zs=1,Object.defineProperty(Js,"__esModule",{value:!0}),Js.exhaust=void 0;var t=Gs();return Js.exhaust=t.exhaustAll,Js}();Object.defineProperty(t,"exhaust",{enumerable:!0,get:function(){return Rt.exhaust}});var Ft=Gs();Object.defineProperty(t,"exhaustAll",{enumerable:!0,get:function(){return Ft.exhaustAll}});var Bt=Xs();Object.defineProperty(t,"exhaustMap",{enumerable:!0,get:function(){return Bt.exhaustMap}});var Nt=function(){if(Qs)return rc;Qs=1,Object.defineProperty(rc,"__esModule",{value:!0}),rc.expand=void 0;var t=fr(),e=ea();return rc.expand=function(r,n,i){return void 0===n&&(n=1/0),n=(n||0)<1?1/0:n,t.operate((function(t,o){return e.mergeInternals(t,o,r,n,void 0,!0,i)}))},rc}();Object.defineProperty(t,"expand",{enumerable:!0,get:function(){return Nt.expand}});var Dt=Ua();Object.defineProperty(t,"filter",{enumerable:!0,get:function(){return Dt.filter}});var $t=function(){if(tc)return nc;tc=1,Object.defineProperty(nc,"__esModule",{value:!0}),nc.finalize=void 0;var t=fr();return nc.finalize=function(e){return t.operate((function(t,r){try{t.subscribe(r)}finally{r.add(e)}}))},nc}();Object.defineProperty(t,"finalize",{enumerable:!0,get:function(){return $t.finalize}});var Ht=oc();Object.defineProperty(t,"find",{enumerable:!0,get:function(){return Ht.find}});var Zt=function(){if(ac)return cc;ac=1,Object.defineProperty(cc,"__esModule",{value:!0}),cc.findIndex=void 0;var t=fr(),e=oc();return cc.findIndex=function(r,n){return t.operate(e.createFind(r,n,"index"))},cc}();Object.defineProperty(t,"findIndex",{enumerable:!0,get:function(){return Zt.findIndex}});var qt=function(){if(lc)return uc;lc=1,Object.defineProperty(uc,"__esModule",{value:!0}),uc.first=void 0;var t=io(),e=Ua(),r=gs(),n=ds(),i=Bs(),o=ir();return uc.first=function(a,l){var s=arguments.length>=2;return function(c){return c.pipe(a?e.filter((function(t,e){return a(t,e,c)})):o.identity,r.take(1),s?n.defaultIfEmpty(l):i.throwIfEmpty((function(){return new t.EmptyError})))}},uc}();Object.defineProperty(t,"first",{enumerable:!0,get:function(){return qt.first}});var Ut=function(){if(sc)return fc;sc=1,Object.defineProperty(fc,"__esModule",{value:!0}),fc.groupBy=void 0;var t=ar(),e=mi(),r=Ir(),n=fr(),i=br();return fc.groupBy=function(o,a,l,s){return n.operate((function(n,c){var u;a&&"function"!=typeof a?(l=a.duration,u=a.element,s=a.connector):u=a;var f=new Map,d=function(t){f.forEach(t),t(c)},h=function(t){return d((function(e){return e.error(t)}))},v=0,p=!1,b=new i.OperatorSubscriber(c,(function(n){try{var a=o(n),d=f.get(a);if(!d){f.set(a,d=s?s():new r.Subject);var g=(y=a,x=d,(w=new t.Observable((function(t){v++;var e=x.subscribe(t);return function(){e.unsubscribe(),0==--v&&p&&b.unsubscribe()}}))).key=y,w);if(c.next(g),l){var m=i.createOperatorSubscriber(d,(function(){d.complete(),null==m||m.unsubscribe()}),void 0,void 0,(function(){return f.delete(a)}));b.add(e.innerFrom(l(g)).subscribe(m))}}d.next(u?u(n):n)}catch(t){h(t)}var y,x,w}),(function(){return d((function(t){return t.complete()}))}),h,(function(){return f.clear()}),(function(){return p=!0,0===v}));n.subscribe(b)}))},fc}();Object.defineProperty(t,"groupBy",{enumerable:!0,get:function(){return Ut.groupBy}});var Jt=xs();Object.defineProperty(t,"ignoreElements",{enumerable:!0,get:function(){return Jt.ignoreElements}});var Yt=function(){if(dc)return pc;dc=1,Object.defineProperty(pc,"__esModule",{value:!0}),pc.isEmpty=void 0;var t=fr(),e=br();return pc.isEmpty=function(){return t.operate((function(t,r){t.subscribe(e.createOperatorSubscriber(r,(function(){r.next(!1),r.complete()}),(function(){r.next(!0),r.complete()})))}))},pc}();Object.defineProperty(t,"isEmpty",{enumerable:!0,get:function(){return Yt.isEmpty}});var Kt=function(){if(vc)return bc;vc=1,Object.defineProperty(bc,"__esModule",{value:!0}),bc.last=void 0;var t=io(),e=Ua(),r=mc(),n=Bs(),i=ds(),o=ir();return bc.last=function(a,l){var s=arguments.length>=2;return function(c){return c.pipe(a?e.filter((function(t,e){return a(t,e,c)})):o.identity,r.takeLast(1),s?i.defaultIfEmpty(l):n.throwIfEmpty((function(){return new t.EmptyError})))}},bc}();Object.defineProperty(t,"last",{enumerable:!0,get:function(){return Kt.last}});var Xt=Io();Object.defineProperty(t,"map",{enumerable:!0,get:function(){return Xt.map}});var Gt=ks();Object.defineProperty(t,"mapTo",{enumerable:!0,get:function(){return Gt.mapTo}});var Qt=function(){if(yc)return Cc;yc=1,Object.defineProperty(Cc,"__esModule",{value:!0}),Cc.materialize=void 0;var t=Xi(),e=fr(),r=br();return Cc.materialize=function(){return e.operate((function(e,n){e.subscribe(r.createOperatorSubscriber(n,(function(e){n.next(t.Notification.createNext(e))}),(function(){n.next(t.Notification.createComplete()),n.complete()}),(function(e){n.next(t.Notification.createError(e)),n.complete()})))}))},Cc}();Object.defineProperty(t,"materialize",{enumerable:!0,get:function(){return Qt.materialize}});var te=function(){if(xc)return Mc;xc=1,Object.defineProperty(Mc,"__esModule",{value:!0}),Mc.max=void 0;var t=Pl(),e=me();return Mc.max=function(r){return t.reduce(e.isFunction(r)?function(t,e){return r(t,e)>0?t:e}:function(t,e){return t>e?t:e})},Mc}();Object.defineProperty(t,"max",{enumerable:!0,get:function(){return te.max}});var ee=na();Object.defineProperty(t,"mergeAll",{enumerable:!0,get:function(){return ee.mergeAll}});var re=function(){if(wc)return zc;wc=1,Object.defineProperty(zc,"__esModule",{value:!0}),zc.flatMap=void 0;var t=ra();return zc.flatMap=t.mergeMap,zc}();Object.defineProperty(t,"flatMap",{enumerable:!0,get:function(){return re.flatMap}});var ne=ra();Object.defineProperty(t,"mergeMap",{enumerable:!0,get:function(){return ne.mergeMap}});var ie=function(){if(jc)return Sc;jc=1,Object.defineProperty(Sc,"__esModule",{value:!0}),Sc.mergeMapTo=void 0;var t=ra(),e=me();return Sc.mergeMapTo=function(r,n,i){return void 0===i&&(i=1/0),e.isFunction(n)?t.mergeMap((function(){return r}),n,i):("number"==typeof n&&(i=n),t.mergeMap((function(){return r}),i))},Sc}();Object.defineProperty(t,"mergeMapTo",{enumerable:!0,get:function(){return ie.mergeMapTo}});var oe=function(){if(_c)return Tc;_c=1,Object.defineProperty(Tc,"__esModule",{value:!0}),Tc.mergeScan=void 0;var t=fr(),e=ea();return Tc.mergeScan=function(r,n,i){return void 0===i&&(i=1/0),t.operate((function(t,o){var a=n;return e.mergeInternals(t,o,(function(t,e){return r(a,t,e)}),i,(function(t){a=t}),!1,void 0,(function(){return a=null}))}))},Tc}();Object.defineProperty(t,"mergeScan",{enumerable:!0,get:function(){return oe.mergeScan}});var ae=function(){if(kc)return Ic;kc=1;var t=Ic&&Ic.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,i,o=r.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(t){i={error:t}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},e=Ic&&Ic.__spreadArray||function(t,e){for(var r=0,n=e.length,i=t.length;r<n;r++,i++)t[i]=e[r];return t};Object.defineProperty(Ic,"__esModule",{value:!0}),Ic.mergeWith=void 0;var r=function(){if(Oc)return Ec;Oc=1;var t=Ec&&Ec.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,i,o=r.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(t){i={error:t}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},e=Ec&&Ec.__spreadArray||function(t,e){for(var r=0,n=e.length,i=t.length;r<n;r++,i++)t[i]=e[r];return t};Object.defineProperty(Ec,"__esModule",{value:!0}),Ec.merge=void 0;var r=fr(),n=na(),i=Dn(),o=Zi();return Ec.merge=function(){for(var a=[],l=0;l<arguments.length;l++)a[l]=arguments[l];var s=i.popScheduler(a),c=i.popNumber(a,1/0);return r.operate((function(r,i){n.mergeAll(c)(o.from(e([r],t(a)),s)).subscribe(i)}))},Ec}();return Ic.mergeWith=function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];return r.merge.apply(void 0,e([],t(n)))},Ic}();Object.defineProperty(t,"mergeWith",{enumerable:!0,get:function(){return ae.mergeWith}});var le=function(){if(Ac)return Wc;Ac=1,Object.defineProperty(Wc,"__esModule",{value:!0}),Wc.min=void 0;var t=Pl(),e=me();return Wc.min=function(r){return t.reduce(e.isFunction(r)?function(t,e){return r(t,e)<0?t:e}:function(t,e){return t<e?t:e})},Wc}();Object.defineProperty(t,"min",{enumerable:!0,get:function(){return le.min}});var se=Vc();Object.defineProperty(t,"multicast",{enumerable:!0,get:function(){return se.multicast}});var ce=Oi();Object.defineProperty(t,"observeOn",{enumerable:!0,get:function(){return ce.observeOn}});var ue=function(){if(Rc)return Jc;Rc=1;var t=Jc&&Jc.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,i,o=r.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(t){i={error:t}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},e=Jc&&Jc.__spreadArray||function(t,e){for(var r=0,n=e.length,i=t.length;r<n;r++,i++)t[i]=e[r];return t};Object.defineProperty(Jc,"__esModule",{value:!0}),Jc.onErrorResumeNext=Jc.onErrorResumeNextWith=void 0;var r=Va(),n=Ra();function i(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];var a=r.argsOrArgArray(i);return function(r){return n.onErrorResumeNext.apply(void 0,e([r],t(a)))}}return Jc.onErrorResumeNextWith=i,Jc.onErrorResumeNext=i,Jc}();Object.defineProperty(t,"onErrorResumeNextWith",{enumerable:!0,get:function(){return ue.onErrorResumeNextWith}});var fe=function(){if(Fc)return Yc;Fc=1,Object.defineProperty(Yc,"__esModule",{value:!0}),Yc.pairwise=void 0;var t=fr(),e=br();return Yc.pairwise=function(){return t.operate((function(t,r){var n,i=!1;t.subscribe(e.createOperatorSubscriber(r,(function(t){var e=n;n=t,i&&r.next([e,t]),i=!0})))}))},Yc}();Object.defineProperty(t,"pairwise",{enumerable:!0,get:function(){return fe.pairwise}});var de=function(){if(Bc)return Kc;Bc=1,Object.defineProperty(Kc,"__esModule",{value:!0}),Kc.pluck=void 0;var t=Io();return Kc.pluck=function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var n=e.length;if(0===n)throw new Error("list of properties cannot be empty.");return t.map((function(t){for(var r=t,i=0;i<n;i++){var o=null==r?void 0:r[e[i]];if(void 0===o)return;r=o}return r}))},Kc}();Object.defineProperty(t,"pluck",{enumerable:!0,get:function(){return de.pluck}});var he=function(){if(Nc)return Xc;Nc=1,Object.defineProperty(Xc,"__esModule",{value:!0}),Xc.publish=void 0;var t=Ir(),e=Vc(),r=ns();return Xc.publish=function(n){return n?function(t){return r.connect(n)(t)}:function(r){return e.multicast(new t.Subject)(r)}},Xc}();Object.defineProperty(t,"publish",{enumerable:!0,get:function(){return he.publish}});var pe=function(){if(Dc)return Gc;Dc=1,Object.defineProperty(Gc,"__esModule",{value:!0}),Gc.publishBehavior=void 0;var t=Lr(),e=mr();return Gc.publishBehavior=function(r){return function(n){var i=new t.BehaviorSubject(r);return new e.ConnectableObservable(n,(function(){return i}))}},Gc}();Object.defineProperty(t,"publishBehavior",{enumerable:!0,get:function(){return pe.publishBehavior}});var be=function(){if($c)return Qc;$c=1,Object.defineProperty(Qc,"__esModule",{value:!0}),Qc.publishLast=void 0;var t=$r(),e=mr();return Qc.publishLast=function(){return function(r){var n=new t.AsyncSubject;return new e.ConnectableObservable(r,(function(){return n}))}},Qc}();Object.defineProperty(t,"publishLast",{enumerable:!0,get:function(){return be.publishLast}});var ge=function(){if(Hc)return tu;Hc=1,Object.defineProperty(tu,"__esModule",{value:!0}),tu.publishReplay=void 0;var t=Br(),e=Vc(),r=me();return tu.publishReplay=function(n,i,o,a){o&&!r.isFunction(o)&&(a=o);var l=r.isFunction(o)?o:void 0;return function(r){return e.multicast(new t.ReplaySubject(n,i,a),l)(r)}},tu}();Object.defineProperty(t,"publishReplay",{enumerable:!0,get:function(){return ge.publishReplay}});var ye=function(){if(Zc)return eu;Zc=1;var t=eu&&eu.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,i,o=r.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(t){i={error:t}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},e=eu&&eu.__spreadArray||function(t,e){for(var r=0,n=e.length,i=t.length;r<n;r++,i++)t[i]=e[r];return t};Object.defineProperty(eu,"__esModule",{value:!0}),eu.raceWith=void 0;var r=Ka(),n=fr(),i=ir();return eu.raceWith=function(){for(var o=[],a=0;a<arguments.length;a++)o[a]=arguments[a];return o.length?n.operate((function(n,i){r.raceInit(e([n],t(o)))(i)})):i.identity},eu}();Object.defineProperty(t,"raceWith",{enumerable:!0,get:function(){return ye.raceWith}});var xe=Pl();Object.defineProperty(t,"reduce",{enumerable:!0,get:function(){return xe.reduce}});var we=function(){if(qc)return ru;qc=1,Object.defineProperty(ru,"__esModule",{value:!0}),ru.repeat=void 0;var t=Wn(),e=fr(),r=br(),n=mi(),i=Ca();return ru.repeat=function(o){var a,l,s=1/0;return null!=o&&("object"==typeof o?(s=void 0===(a=o.count)?1/0:a,l=o.delay):s=o),s<=0?function(){return t.EMPTY}:e.operate((function(t,e){var o,a=0,c=function(){if(null==o||o.unsubscribe(),o=null,null!=l){var t="number"==typeof l?i.timer(l):n.innerFrom(l(a)),s=r.createOperatorSubscriber(e,(function(){s.unsubscribe(),u()}));t.subscribe(s)}else u()},u=function(){var n=!1;o=t.subscribe(r.createOperatorSubscriber(e,void 0,(function(){++a<s?o?c():n=!0:e.complete()}))),n&&c()};u()}))},ru}();Object.defineProperty(t,"repeat",{enumerable:!0,get:function(){return we.repeat}});var je=function(){if(Uc)return nu;Uc=1,Object.defineProperty(nu,"__esModule",{value:!0}),nu.repeatWhen=void 0;var t=mi(),e=Ir(),r=fr(),n=br();return nu.repeatWhen=function(i){return r.operate((function(r,o){var a,l,s=!1,c=!1,u=!1,f=function(){return u&&c&&(o.complete(),!0)},d=function(){u=!1,a=r.subscribe(n.createOperatorSubscriber(o,void 0,(function(){u=!0,!f()&&(l||(l=new e.Subject,t.innerFrom(i(l)).subscribe(n.createOperatorSubscriber(o,(function(){a?d():s=!0}),(function(){c=!0,f()})))),l).next()}))),s&&(a.unsubscribe(),a=null,s=!1,d())};d()}))},nu}();Object.defineProperty(t,"repeatWhen",{enumerable:!0,get:function(){return je.repeatWhen}});var _e=function(){if(iu)return lu;iu=1,Object.defineProperty(lu,"__esModule",{value:!0}),lu.retry=void 0;var t=fr(),e=br(),r=ir(),n=Ca(),i=mi();return lu.retry=function(o){var a;void 0===o&&(o=1/0);var l=(a=o&&"object"==typeof o?o:{count:o}).count,s=void 0===l?1/0:l,c=a.delay,u=a.resetOnSuccess,f=void 0!==u&&u;return s<=0?r.identity:t.operate((function(t,r){var o,a=0,l=function(){var u=!1;o=t.subscribe(e.createOperatorSubscriber(r,(function(t){f&&(a=0),r.next(t)}),void 0,(function(t){if(a++<s){var f=function(){o?(o.unsubscribe(),o=null,l()):u=!0};if(null!=c){var d="number"==typeof c?n.timer(c):i.innerFrom(c(t,a)),h=e.createOperatorSubscriber(r,(function(){h.unsubscribe(),f()}),(function(){r.complete()}));d.subscribe(h)}else f()}else r.error(t)}))),u&&(o.unsubscribe(),o=null,l())};l()}))},lu}();Object.defineProperty(t,"retry",{enumerable:!0,get:function(){return _e.retry}});var Oe=function(){if(ou)return su;ou=1,Object.defineProperty(su,"__esModule",{value:!0}),su.retryWhen=void 0;var t=mi(),e=Ir(),r=fr(),n=br();return su.retryWhen=function(i){return r.operate((function(r,o){var a,l,s=!1,c=function(){a=r.subscribe(n.createOperatorSubscriber(o,void 0,void 0,(function(r){l||(l=new e.Subject,t.innerFrom(i(l)).subscribe(n.createOperatorSubscriber(o,(function(){return a?c():s=!0})))),l&&l.next(r)}))),s&&(a.unsubscribe(),a=null,s=!1,c())};c()}))},su}();Object.defineProperty(t,"retryWhen",{enumerable:!0,get:function(){return Oe.retryWhen}});var Ce=gr();Object.defineProperty(t,"refCount",{enumerable:!0,get:function(){return Ce.refCount}});var Me=uu();Object.defineProperty(t,"sample",{enumerable:!0,get:function(){return Me.sample}});var ze=function(){if(fu)return pu;fu=1,Object.defineProperty(pu,"__esModule",{value:!0}),pu.sampleTime=void 0;var t=gn(),e=uu(),r=Ma();return pu.sampleTime=function(n,i){return void 0===i&&(i=t.asyncScheduler),e.sample(r.interval(n,i))},pu}();Object.defineProperty(t,"sampleTime",{enumerable:!0,get:function(){return ze.sampleTime}});var Ie=function(){if(du)return bu;du=1,Object.defineProperty(bu,"__esModule",{value:!0}),bu.scan=void 0;var t=fr(),e=Wl();return bu.scan=function(r,n){return t.operate(e.scanInternals(r,n,arguments.length>=2,!0))},bu}();Object.defineProperty(t,"scan",{enumerable:!0,get:function(){return Ie.scan}});var Ee=function(){if(hu)return gu;hu=1,Object.defineProperty(gu,"__esModule",{value:!0}),gu.sequenceEqual=void 0;var t=fr(),e=br(),r=mi();return gu.sequenceEqual=function(n,i){return void 0===i&&(i=function(t,e){return t===e}),t.operate((function(t,o){var a={buffer:[],complete:!1},l={buffer:[],complete:!1},s=function(t){o.next(t),o.complete()},c=function(t,r){var n=e.createOperatorSubscriber(o,(function(e){var n=r.buffer;0===n.length?r.complete?s(!1):t.buffer.push(e):!i(e,n.shift())&&s(!1)}),(function(){t.complete=!0,r.complete&&s(0===r.buffer.length),null==n||n.unsubscribe()}));return n};t.subscribe(c(a,l)),r.innerFrom(n).subscribe(c(l,a))}))},gu}();Object.defineProperty(t,"sequenceEqual",{enumerable:!0,get:function(){return Ee.sequenceEqual}});var Le=yu();Object.defineProperty(t,"share",{enumerable:!0,get:function(){return Le.share}});var We=function(){if(xu)return Su;xu=1,Object.defineProperty(Su,"__esModule",{value:!0}),Su.shareReplay=void 0;var t=Br(),e=yu();return Su.shareReplay=function(r,n,i){var o,a,l,s,c=!1;return r&&"object"==typeof r?(s=void 0===(o=r.bufferSize)?1/0:o,n=void 0===(a=r.windowTime)?1/0:a,c=void 0!==(l=r.refCount)&&l,i=r.scheduler):s=null!=r?r:1/0,e.share({connector:function(){return new t.ReplaySubject(s,n,i)},resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:c})},Su}();Object.defineProperty(t,"shareReplay",{enumerable:!0,get:function(){return We.shareReplay}});var Pe=function(){if(wu)return Tu;wu=1,Object.defineProperty(Tu,"__esModule",{value:!0}),Tu.single=void 0;var t=io(),e=bo(),r=ho(),n=fr(),i=br();return Tu.single=function(o){return n.operate((function(n,a){var l,s=!1,c=!1,u=0;n.subscribe(i.createOperatorSubscriber(a,(function(t){c=!0,o&&!o(t,u++,n)||(s&&a.error(new e.SequenceError("Too many matching values")),s=!0,l=t)}),(function(){s?(a.next(l),a.complete()):a.error(c?new r.NotFoundError("No matching values"):new t.EmptyError)})))}))},Tu}();Object.defineProperty(t,"single",{enumerable:!0,get:function(){return Pe.single}});var Ve=function(){if(ju)return Iu;ju=1,Object.defineProperty(Iu,"__esModule",{value:!0}),Iu.skip=void 0;var t=Ua();return Iu.skip=function(e){return t.filter((function(t,r){return e<=r}))},Iu}();Object.defineProperty(t,"skip",{enumerable:!0,get:function(){return Ve.skip}});var Re=function(){if(_u)return Eu;_u=1,Object.defineProperty(Eu,"__esModule",{value:!0}),Eu.skipLast=void 0;var t=ir(),e=fr(),r=br();return Eu.skipLast=function(n){return n<=0?t.identity:e.operate((function(t,e){var i=new Array(n),o=0;return t.subscribe(r.createOperatorSubscriber(e,(function(t){var r=o++;if(r<n)i[r]=t;else{var a=r%n,l=i[a];i[a]=t,e.next(l)}}))),function(){i=null}}))},Eu}();Object.defineProperty(t,"skipLast",{enumerable:!0,get:function(){return Re.skipLast}});var Fe=function(){if(Ou)return Au;Ou=1,Object.defineProperty(Au,"__esModule",{value:!0}),Au.skipUntil=void 0;var t=fr(),e=br(),r=mi(),n=De();return Au.skipUntil=function(i){return t.operate((function(t,o){var a=!1,l=e.createOperatorSubscriber(o,(function(){null==l||l.unsubscribe(),a=!0}),n.noop);r.innerFrom(i).subscribe(l),t.subscribe(e.createOperatorSubscriber(o,(function(t){return a&&o.next(t)})))}))},Au}();Object.defineProperty(t,"skipUntil",{enumerable:!0,get:function(){return Fe.skipUntil}});var Be=function(){if(ku)return Lu;ku=1,Object.defineProperty(Lu,"__esModule",{value:!0}),Lu.skipWhile=void 0;var t=fr(),e=br();return Lu.skipWhile=function(r){return t.operate((function(t,n){var i=!1,o=0;t.subscribe(e.createOperatorSubscriber(n,(function(t){return(i||(i=!r(t,o++)))&&n.next(t)})))}))},Lu}();Object.defineProperty(t,"skipWhile",{enumerable:!0,get:function(){return Be.skipWhile}});var Ne=function(){if(Cu)return Wu;Cu=1,Object.defineProperty(Wu,"__esModule",{value:!0}),Wu.startWith=void 0;var t=oa(),e=Dn(),r=fr();return Wu.startWith=function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];var o=e.popScheduler(n);return r.operate((function(e,r){(o?t.concat(n,e,o):t.concat(n,e)).subscribe(r)}))},Wu}();Object.defineProperty(t,"startWith",{enumerable:!0,get:function(){return Ne.startWith}});var $e=zi();Object.defineProperty(t,"subscribeOn",{enumerable:!0,get:function(){return $e.subscribeOn}});var He=function(){if(zu)return Pu;zu=1,Object.defineProperty(Pu,"__esModule",{value:!0}),Pu.switchAll=void 0;var t=Ru(),e=ir();return Pu.switchAll=function(){return t.switchMap(e.identity)},Pu}();Object.defineProperty(t,"switchAll",{enumerable:!0,get:function(){return He.switchAll}});var Ze=Ru();Object.defineProperty(t,"switchMap",{enumerable:!0,get:function(){return Ze.switchMap}});var qe=function(){if(Fu)return Zu;Fu=1,Object.defineProperty(Zu,"__esModule",{value:!0}),Zu.switchMapTo=void 0;var t=Ru(),e=me();return Zu.switchMapTo=function(r,n){return e.isFunction(n)?t.switchMap((function(){return r}),n):t.switchMap((function(){return r}))},Zu}();Object.defineProperty(t,"switchMapTo",{enumerable:!0,get:function(){return qe.switchMapTo}});var Ue=function(){if(Bu)return qu;Bu=1,Object.defineProperty(qu,"__esModule",{value:!0}),qu.switchScan=void 0;var t=Ru(),e=fr();return qu.switchScan=function(r,n){return e.operate((function(e,i){var o=n;return t.switchMap((function(t,e){return r(o,t,e)}),(function(t,e){return o=e,e}))(e).subscribe(i),function(){o=null}}))},qu}();Object.defineProperty(t,"switchScan",{enumerable:!0,get:function(){return Ue.switchScan}});var Je=gs();Object.defineProperty(t,"take",{enumerable:!0,get:function(){return Je.take}});var Ke=mc();Object.defineProperty(t,"takeLast",{enumerable:!0,get:function(){return Ke.takeLast}});var Xe=function(){if(Nu)return Uu;Nu=1,Object.defineProperty(Uu,"__esModule",{value:!0}),Uu.takeUntil=void 0;var t=fr(),e=br(),r=mi(),n=De();return Uu.takeUntil=function(i){return t.operate((function(t,o){r.innerFrom(i).subscribe(e.createOperatorSubscriber(o,(function(){return o.complete()}),n.noop)),!o.closed&&t.subscribe(o)}))},Uu}();Object.defineProperty(t,"takeUntil",{enumerable:!0,get:function(){return Xe.takeUntil}});var Qe=function(){if(Du)return Ju;Du=1,Object.defineProperty(Ju,"__esModule",{value:!0}),Ju.takeWhile=void 0;var t=fr(),e=br();return Ju.takeWhile=function(r,n){return void 0===n&&(n=!1),t.operate((function(t,i){var o=0;t.subscribe(e.createOperatorSubscriber(i,(function(t){var e=r(t,o++);(e||n)&&i.next(t),!e&&i.complete()})))}))},Ju}();Object.defineProperty(t,"takeWhile",{enumerable:!0,get:function(){return Qe.takeWhile}});var tr=function(){if($u)return Yu;$u=1,Object.defineProperty(Yu,"__esModule",{value:!0}),Yu.tap=void 0;var t=me(),e=fr(),r=br(),n=ir();return Yu.tap=function(i,o,a){var l=t.isFunction(i)||o||a?{next:i,error:o,complete:a}:i;return l?e.operate((function(t,e){var n;null===(n=l.subscribe)||void 0===n||n.call(l);var i=!0;t.subscribe(r.createOperatorSubscriber(e,(function(t){var r;null===(r=l.next)||void 0===r||r.call(l,t),e.next(t)}),(function(){var t;i=!1,null===(t=l.complete)||void 0===t||t.call(l),e.complete()}),(function(t){var r;i=!1,null===(r=l.error)||void 0===r||r.call(l,t),e.error(t)}),(function(){var t,e;i&&(null===(t=l.unsubscribe)||void 0===t||t.call(l)),null===(e=l.finalize)||void 0===e||e.call(l)})))})):n.identity},Yu}();Object.defineProperty(t,"tap",{enumerable:!0,get:function(){return tr.tap}});var er=Xu();Object.defineProperty(t,"throttle",{enumerable:!0,get:function(){return er.throttle}});var rr=function(){if(Gu)return hf;Gu=1,Object.defineProperty(hf,"__esModule",{value:!0}),hf.throttleTime=void 0;var t=gn(),e=Xu(),r=Ca();return hf.throttleTime=function(n,i,o){void 0===i&&(i=t.asyncScheduler);var a=r.timer(n,i);return e.throttle((function(){return a}),o)},hf}();Object.defineProperty(t,"throttleTime",{enumerable:!0,get:function(){return rr.throttleTime}});var nr=Bs();Object.defineProperty(t,"throwIfEmpty",{enumerable:!0,get:function(){return nr.throwIfEmpty}});var lr=function(){if(Qu)return vf;Qu=1,Object.defineProperty(vf,"__esModule",{value:!0}),vf.TimeInterval=vf.timeInterval=void 0;var t=gn(),e=fr(),r=br();vf.timeInterval=function(i){return void 0===i&&(i=t.asyncScheduler),e.operate((function(t,e){var o=i.now();t.subscribe(r.createOperatorSubscriber(e,(function(t){var r=i.now(),a=r-o;o=r,e.next(new n(t,a))})))}))};var n=function(t,e){this.value=t,this.interval=e};return vf.TimeInterval=n,vf}();Object.defineProperty(t,"timeInterval",{enumerable:!0,get:function(){return lr.timeInterval}});var sr=jo();Object.defineProperty(t,"timeout",{enumerable:!0,get:function(){return sr.timeout}});var cr=function(){if(tf)return pf;tf=1,Object.defineProperty(pf,"__esModule",{value:!0}),pf.timeoutWith=void 0;var t=gn(),e=wo(),r=jo();return pf.timeoutWith=function(n,i,o){var a,l,s;if(o=null!=o?o:t.async,e.isValidDate(n)?a=n:"number"==typeof n&&(l=n),!i)throw new TypeError("No observable provided to switch to");if(s=function(){return i},null==a&&null==l)throw new TypeError("No timeout provided.");return r.timeout({first:a,each:l,scheduler:o,with:s})},pf}();Object.defineProperty(t,"timeoutWith",{enumerable:!0,get:function(){return cr.timeoutWith}});var ur=function(){if(ef)return bf;ef=1,Object.defineProperty(bf,"__esModule",{value:!0}),bf.timestamp=void 0;var t=Fr(),e=Io();return bf.timestamp=function(r){return void 0===r&&(r=t.dateTimestampProvider),e.map((function(t){return{value:t,timestamp:r.now()}}))},bf}();Object.defineProperty(t,"timestamp",{enumerable:!0,get:function(){return ur.timestamp}});var dr=Vl();Object.defineProperty(t,"toArray",{enumerable:!0,get:function(){return dr.toArray}});var hr=function(){if(rf)return gf;rf=1,Object.defineProperty(gf,"__esModule",{value:!0}),gf.window=void 0;var t=Ir(),e=fr(),r=br(),n=De(),i=mi();return gf.window=function(o){return e.operate((function(e,a){var l=new t.Subject;a.next(l.asObservable());var s=function(t){l.error(t),a.error(t)};return e.subscribe(r.createOperatorSubscriber(a,(function(t){return null==l?void 0:l.next(t)}),(function(){l.complete(),a.complete()}),s)),i.innerFrom(o).subscribe(r.createOperatorSubscriber(a,(function(){l.complete(),a.next(l=new t.Subject)}),n.noop,s)),function(){null==l||l.unsubscribe(),l=null}}))},gf}();Object.defineProperty(t,"window",{enumerable:!0,get:function(){return hr.window}});var vr=function(){if(nf)return mf;nf=1;var t=mf&&mf.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(mf,"__esModule",{value:!0}),mf.windowCount=void 0;var e=Ir(),r=fr(),n=br();return mf.windowCount=function(i,o){void 0===o&&(o=0);var a=o>0?o:i;return r.operate((function(r,o){var l=[new e.Subject],s=0;o.next(l[0].asObservable()),r.subscribe(n.createOperatorSubscriber(o,(function(r){var n,c;try{for(var u=t(l),f=u.next();!f.done;f=u.next())f.value.next(r)}catch(t){n={error:t}}finally{try{f&&!f.done&&(c=u.return)&&c.call(u)}finally{if(n)throw n.error}}var d=s-i+1;if(d>=0&&d%a==0&&l.shift().complete(),++s%a==0){var h=new e.Subject;l.push(h),o.next(h.asObservable())}}),(function(){for(;l.length>0;)l.shift().complete();o.complete()}),(function(t){for(;l.length>0;)l.shift().error(t);o.error(t)}),(function(){l=null})))}))},mf}();Object.defineProperty(t,"windowCount",{enumerable:!0,get:function(){return vr.windowCount}});var pr=function(){if(of)return yf;of=1,Object.defineProperty(yf,"__esModule",{value:!0}),yf.windowTime=void 0;var t=Ir(),e=gn(),r=Te(),n=fr(),i=br(),o=Se(),a=Dn(),l=_i();return yf.windowTime=function(s){for(var c,u,f=[],d=1;d<arguments.length;d++)f[d-1]=arguments[d];var h=null!==(c=a.popScheduler(f))&&void 0!==c?c:e.asyncScheduler,v=null!==(u=f[0])&&void 0!==u?u:null,p=f[1]||1/0;return n.operate((function(e,n){var a=[],c=!1,u=function(t){var e=t.subs;t.window.complete(),e.unsubscribe(),o.arrRemove(a,t),c&&f()},f=function(){if(a){var e=new r.Subscription;n.add(e);var i=new t.Subject,o={window:i,subs:e,seen:0};a.push(o),n.next(i.asObservable()),l.executeSchedule(e,h,(function(){return u(o)}),s)}};null!==v&&v>=0?l.executeSchedule(n,h,f,v,!0):c=!0,f();var d=function(t){return a.slice().forEach(t)},b=function(t){d((function(e){return t(e.window)})),t(n),n.unsubscribe()};return e.subscribe(i.createOperatorSubscriber(n,(function(t){d((function(e){e.window.next(t),p<=++e.seen&&u(e)}))}),(function(){return b((function(t){return t.complete()}))}),(function(t){return b((function(e){return e.error(t)}))}))),function(){a=null}}))},yf}();Object.defineProperty(t,"windowTime",{enumerable:!0,get:function(){return pr.windowTime}});var xr=function(){if(af)return xf;af=1;var t=xf&&xf.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(xf,"__esModule",{value:!0}),xf.windowToggle=void 0;var e=Ir(),r=Te(),n=fr(),i=mi(),o=br(),a=De(),l=Se();return xf.windowToggle=function(s,c){return n.operate((function(n,u){var f=[],d=function(t){for(;0<f.length;)f.shift().error(t);u.error(t)};i.innerFrom(s).subscribe(o.createOperatorSubscriber(u,(function(t){var n=new e.Subject;f.push(n);var s,h=new r.Subscription;try{s=i.innerFrom(c(t))}catch(t){return void d(t)}u.next(n.asObservable()),h.add(s.subscribe(o.createOperatorSubscriber(u,(function(){l.arrRemove(f,n),n.complete(),h.unsubscribe()}),a.noop,d)))}),a.noop)),n.subscribe(o.createOperatorSubscriber(u,(function(e){var r,n,i=f.slice();try{for(var o=t(i),a=o.next();!a.done;a=o.next())a.value.next(e)}catch(t){r={error:t}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}}),(function(){for(;0<f.length;)f.shift().complete();u.complete()}),d,(function(){for(;0<f.length;)f.shift().unsubscribe()})))}))},xf}();Object.defineProperty(t,"windowToggle",{enumerable:!0,get:function(){return xr.windowToggle}});var Or=function(){if(lf)return wf;lf=1,Object.defineProperty(wf,"__esModule",{value:!0}),wf.windowWhen=void 0;var t=Ir(),e=fr(),r=br(),n=mi();return wf.windowWhen=function(i){return e.operate((function(e,o){var a,l,s=function(t){a.error(t),o.error(t)},c=function(){var e;null==l||l.unsubscribe(),null==a||a.complete(),a=new t.Subject,o.next(a.asObservable());try{e=n.innerFrom(i())}catch(t){return void s(t)}e.subscribe(l=r.createOperatorSubscriber(o,c,c,s))};c(),e.subscribe(r.createOperatorSubscriber(o,(function(t){return a.next(t)}),(function(){a.complete(),o.complete()}),s,(function(){null==l||l.unsubscribe(),a=null})))}))},wf}();Object.defineProperty(t,"windowWhen",{enumerable:!0,get:function(){return Or.windowWhen}});var Cr=function(){if(sf)return jf;sf=1;var t=jf&&jf.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,i,o=r.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(t){i={error:t}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},e=jf&&jf.__spreadArray||function(t,e){for(var r=0,n=e.length,i=t.length;r<n;r++,i++)t[i]=e[r];return t};Object.defineProperty(jf,"__esModule",{value:!0}),jf.withLatestFrom=void 0;var r=fr(),n=br(),i=mi(),o=ir(),a=De(),l=Dn();return jf.withLatestFrom=function(){for(var s=[],c=0;c<arguments.length;c++)s[c]=arguments[c];var u=l.popResultSelector(s);return r.operate((function(r,l){for(var c=s.length,f=new Array(c),d=s.map((function(){return!1})),h=!1,v=function(t){i.innerFrom(s[t]).subscribe(n.createOperatorSubscriber(l,(function(e){f[t]=e,h||d[t]||(d[t]=!0,(h=d.every(o.identity))&&(d=null))}),a.noop))},p=0;p<c;p++)v(p);r.subscribe(n.createOperatorSubscriber(l,(function(r){if(h){var n=e([r],t(f));l.next(u?u.apply(void 0,e([],t(n))):n)}})))}))},jf}();Object.defineProperty(t,"withLatestFrom",{enumerable:!0,get:function(){return Cr.withLatestFrom}});var Mr=function(){if(cf)return _f;cf=1,Object.defineProperty(_f,"__esModule",{value:!0}),_f.zipAll=void 0;var t=nl(),e=Rl();return _f.zipAll=function(r){return e.joinAllInternals(t.zip,r)},_f}();Object.defineProperty(t,"zipAll",{enumerable:!0,get:function(){return Mr.zipAll}});var zr=function(){if(ff)return Of;ff=1;var t=Of&&Of.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,i,o=r.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(t){i={error:t}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},e=Of&&Of.__spreadArray||function(t,e){for(var r=0,n=e.length,i=t.length;r<n;r++,i++)t[i]=e[r];return t};Object.defineProperty(Of,"__esModule",{value:!0}),Of.zipWith=void 0;var r=function(){if(uf)return kf;uf=1;var t=kf&&kf.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,i,o=r.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(t){i={error:t}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},e=kf&&kf.__spreadArray||function(t,e){for(var r=0,n=e.length,i=t.length;r<n;r++,i++)t[i]=e[r];return t};Object.defineProperty(kf,"__esModule",{value:!0}),kf.zip=void 0;var r=nl(),n=fr();return kf.zip=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];return n.operate((function(n,o){r.zip.apply(void 0,e([n],t(i))).subscribe(o)}))},kf}();return Of.zipWith=function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];return r.zip.apply(void 0,e([],t(n)))},Of}();Object.defineProperty(t,"zipWith",{enumerable:!0,get:function(){return zr.zipWith}})}(ve)),ve}var Mf=Cf();const zf=g.flow((t=>`Bearer ${t}`),(t=>new Headers({Authorization:t,"Content-Type":"application/json"})),(t=>({headers:t}))),Sf=(Tf=C,function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var r=t.length,n=Ft(r),i=Tf.map(t[0],n),o=1;o<r;o++)i=Tf.ap(i,t[o]);return i});var Tf;const If=(t,e={},r)=>x(Sf(O(r),k),_,w(j(t,e))),Ef=t=>e=>r=>If("similar-products",Object.assign(Object.assign({},e),{body:JSON.stringify(t)}),r),Af=t=>e=>r=>If("cross-selling",Object.assign(Object.assign({},e),{body:JSON.stringify(t)}),r);var Lf=function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(t);i<n.length;i++)e.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(t,n[i])&&(r[n[i]]=t[n[i]])}return r};const Wf=class{constructor(t){e(this,t),this.vviinnWidgetLoad=r(this,"vviinnWidgetLoad"),this.vviinnProductLoad=r(this,"vviinnProductLoad"),this.vviinnProductView=r(this,"vviinnProductView"),this.vviinnProductClick=r(this,"vviinnProductClick"),this.vviinnResultLoad=r(this,"vviinnResultLoad"),this.vviinnResultView=r(this,"vviinnResultView"),this.vviinnNoResult=r(this,"vviinnNoResult"),this.vviinnAddToBasket=r(this,"vviinnAddToBasket"),this.vviinnFiltersChanged=r(this,"vviinnFiltersChanged"),this.globalSlotsChanged=r(this,"globalSlotsChanged"),this.vviinnRecommendationsLoaded=r(this,"vviinnRecommendationsLoaded"),this.vviinnWidgetOpen=r(this,"vviinnWidgetOpen"),this.vviinnWidgetClose=r(this,"vviinnWidgetClose"),this.vviinnOneClickDiscoveryAppendClosed=r(this,"vviinnOneClickDiscoveryAppendClosed"),this.sourceProductReceived=r(this,"sourceProductReceived"),this.mode="continuity",this.campaigns="",this.excluded="",this.campaignType="set"===this.mode?"VCS":"VPR",this.color="",this.imageWidth=ot,this.imageResolutionWidth=at,this.showMultipleImages=!1,this.setItemsAmount=4,this.cssUrl=null,this.noResultText="",this.noResultShow=!0,this.gridArrowsDynamic=!1,this.productDetailsNewTab=!1,this.productDetailsRedirect=!0,this.addToBasketShow=!1,this.showFilters=!1,this.showExtendedFilters=!1,this.setModeDiscounts="set"===this.mode?"5, 10, 15":"",this.updateButtonLocation="topAndItem",this.addPriceContainer=!1,this.favoriteShow=!1,this.showScroll=!0,this.useCarousel=!0,this.showingInButton=!1,this.isAppended=!1,this.showInWidget=!1,this.recommendationsLoading=!1,this.recommendations=[],this.dynamicFilters=[],this.sourceProduct=null,this.hasErrorOnLoad=!1,this.updatingAllCards=!1,this.updatedCardsAmount=0,this.setModeDiscountsArray=[],this.productImageLoadedSubject=new Mf.Subject,this.resultViewed=!1,this.requestDynamicFilters=[],this.setLoading=t=>{var e;this.recommendationsLoading=t,null===(e=this.setRecommendationsLoading)||void 0===e||e.call(this,t)},this.showNoResultText=()=>!this.recommendationsLoading&&(0===this.recommendations.length||this.hasErrorOnLoad),this.productCardEventDataToEventBody=t=>{const{productRank:e,productId:r}=t,n=Lf(t,["productRank","productId","campaignTypeId","discount"]);return Object.assign({session_id:this.uiSessionId,rank:e,product:r},n)}}trackIfNotAppended(t){if(!this.isAppended)return t()}trackProductEventIfNotAppended(t,e){this.trackIfNotAppended((()=>{const r=this.getProductTrackEvent(t,e);r&&I(r,this.token,this.apiPath)}))}getTrackingCampaignType(){return"VCS"===this.campaignType?"VPC":"VPR"}getBasicEventData(){return Object.assign({campaignTypeId:this.campaignType,campaignTypeName:l[this.campaignType],widgetVersion:v},s("widgetId",this.id))}findProductById(t){return this.recommendations.find((e=>e.productId===t))}replaceSlotsContent(){const t=this.el.querySelectorAll("[slot]");this.globalSlotsChanged.emit({slots:Array.from(t),element:this.el})}handleProductIdChange(){this.getRecommendations()}handleCampaignTypeChange(){this.trackingCampaignType=this.getTrackingCampaignType(),this.getRecommendations()}handleCampaignsChange(){this.getRecommendations()}trackWidgetOpen(){this.opened&&(this.vviinnWidgetOpen.emit(this.getBasicEventData()),this.trackWidgetEvent("open"))}trackWidgetClose(){this.closed&&(this.vviinnOneClickDiscoveryAppendClosed.emit({isTriggeredByVpsWidget:this.showInWidget}),this.vviinnWidgetClose.emit(this.getBasicEventData()),this.trackWidgetEvent("close"))}componentDidRender(){this.showingInButton&&this.closed||this.replaceSlotsContent()}connectedCallback(){var t;this.id=null!==(t=this.buttonElementId)&&void 0!==t?t:this.el.id,this.uiSessionId||(this.uiSessionId=G()),this.trackingCampaignType=this.getTrackingCampaignType(),this.getRecommendations(),this.vviinnWidgetLoad.emit(this.getBasicEventData()),this.trackWidgetEvent("load"),this.isSetMode="set"===this.mode,this.isGridMode="grid"===this.mode,this.isSetMode&&this.setModeDiscounts.length&&(this.setModeDiscountsArray=this.setModeDiscounts.split(",").map((t=>parseInt(t.trim()))).filter((t=>!isNaN(t))))}async componentWillLoad(){await ht(this.locale),st(this,this.el)}trackProductLoad({detail:t}){this.productImageLoadedSubject.next(t.productId),this.trackProductEventIfNotAppended(t,"load")}trackProductView({detail:t}){this.resultViewed||(this.resultViewed=!0,this.vviinnResultView.emit(this.getBasicEventData()),this.trackResultEvent("view")),this.trackProductEventIfNotAppended(t,"view")}async trackProductClick({detail:t}){const{productId:e,clickEvent:r}=t,n=this.findProductById(e);n&&n.deeplink&&(await this.trackIfNotAppended((async()=>{const e=this.getProductTrackEvent(t,"click");await I(e,this.token,this.apiPath).finally((()=>{kt(n.deeplink,r,this.productDetailsRedirect,this.productDetailsNewTab)}))})),this.isAppended&&kt(n.deeplink,r,this.productDetailsRedirect,this.productDetailsNewTab))}async trackAuxClick({detail:t}){const{productId:e}=t,r=this.findProductById(e);r&&r.deeplink&&this.trackProductEventIfNotAppended(t,"click")}async trackAddToBasket({detail:t}){this.trackProductEventIfNotAppended(t,"basket")}async trackAddToWishlist({detail:t}){this.trackProductEventIfNotAppended(t,"wishlist")}updatingAllCardsFinishedListener(){this.updatingAllCards&&(this.updatingAllCards=!1)}async filtersChanged({detail:t}){this.requestDynamicFilters=t.filters,this.getRecommendations()}trackWidgetEvent(t){const e=this.getBasicEventData(),r=Lf(e,["campaignTypeId"]),n=Object.assign({action:t,session_id:this.uiSessionId},r),i=Q(this.trackingCampaignType)(n);I(i,this.token,this.apiPath)}trackResultEvent(t){const e=this.getBasicEventData(),r=Lf(e,["campaignTypeId"]),n=Object.assign({session_id:this.uiSessionId},r),i=tt(t,this.trackingCampaignType)(n);I(i,this.token,this.apiPath)}getProductTrackEvent(t,e){if(!E())return null;"basket"===e&&delete t.discount;const r=this.productCardEventDataToEventBody(t);if(!t.campaignTypeId)return null;const n=this.trackingCampaignType;return"basket"===e||"wishlist"===e?("basket"===e?et:rt)(n)(r):nt(e,n)(r)}async getRecommendations(){if(void 0===this.productId||void 0===this.token)return;this.setLoading(!0);const t=this.campaignType.length>0?this.campaignType:"VPR",e=zf(this.token),r=it({productId:this.productId,color:this.color,excluded:this.excluded,campaigns:this.campaigns,dynamicFilters:this.requestDynamicFilters}),n=g.pipe(M.of((t=>g.pipe(d(t),h((()=>Ef),(()=>Af))))(t)),M.ap(M.of(r)),M.ap(M.of(e)),M.ap(M.of(this.apiPath)),M.flatten);g.pipe(await n(),z.fold((t=>{this.handleError(t),this.vviinnNoResult.emit(this.getBasicEventData()),this.vviinnRecommendationsLoaded.emit(),this.setLoading(!1)}),(t=>{this.handleRecommendationsSuccess(t),this.vviinnRecommendationsLoaded.emit(),this.setLoading(!1)})))}handleError(t){this.hasErrorOnLoad=!0}handleRecommendationsSuccess({data:t,interactions:e}){this.vviinnResultLoad.emit(this.getBasicEventData()),this.trackResultEvent("load"),this.dynamicFilters=e.dynamicFilters;const{products:r,sourceProduct:n}=t;this.recommendations=r,this.sourceProduct=n,this.sourceProductReceived.emit(n),this.productIds=this.recommendations.map((t=>t.productId)),this.productImageLoadedSubject.subscribe((t=>{this.productIds=this.productIds.filter((e=>e!==t)),this.isSetMode||0!==this.productIds.length||this.vviinnRecommendationsLoaded.emit(),this.isSetMode&&this.productIds.length===this.recommendations.length-this.setItemsAmount&&this.vviinnRecommendationsLoaded.emit()}))}renderRecommendation(e,r){var n,i,o,a,l;return t("vviinn-product-card",{currencySign:this.currencySign,pricePrefix:this.pricePrefix,locale:this.locale,numberLocale:this.numberLocale,productId:e.productId,product:e,productTitle:e.title,productType:e.productType,entityType:e.entityType,deeplink:e.deeplink,image:null!==(i=null===(n=e.image)||void 0===n?void 0:n.thumbnail)&&void 0!==i?i:null===(o=e.image)||void 0===o?void 0:o.original,images:e.images,showMultipleImages:this.showMultipleImages,disableMobileSwiper:!0,imageResolutionWidth:this.imageResolutionWidth,brand:e.brand,imageWidth:this.imageWidth,price:e.price.actual,salePrice:e.price.sale,basePrice:null===(a=e.basePrice)||void 0===a?void 0:a.actual,baseSalePrice:null===(l=e.basePrice)||void 0===l?void 0:l.sale,energyCertifications:e.energyCertifications,addPriceContainer:this.addPriceContainer,responsive:this.isGridMode,addToBasketShow:this.addToBasketShow,campaignTypeId:this.campaignType,index:r,widgetElementId:this.id,widgetVersion:v,isSetMode:this.isSetMode,customLabels:B(e),favoriteShow:this.favoriteShow})}renderResults(){const e=getComputedStyle(this.el),r=parseInt(e.getPropertyValue(V)),n=this.recommendationsLoading;return t("div",{class:`recommendations-results recommendations-${this.mode}`,part:"recommendations-results","aria-busy":n?"true":"false","aria-live":n?"polite":"off"},n?Array.from({length:3*r}).map(((e,r)=>t("vviinn-product-card",{loading:!0,responsive:!0,productTitle:"",productId:`skeleton-${r}`,key:`skeleton-${r}`}))):this.recommendations.map(((t,e)=>this.renderRecommendation(t,e))))}renderCarousel(){return t("vviinn-carousel",{currencySign:this.currencySign,pricePrefix:this.pricePrefix,locale:this.locale,numberLocale:this.numberLocale,mode:this.mode,campaignTypeId:this.campaignType,imageWidth:this.imageWidth,showScroll:this.showScroll,recommendations:this.recommendations,sourceProduct:this.sourceProduct,widgetElementId:this.id,widgetVersion:v,gridArrowsDynamic:this.gridArrowsDynamic,addToBasketShow:this.addToBasketShow,addPriceContainer:this.addPriceContainer,updatingAllCards:this.updatingAllCards,updateButtonLocation:this.updateButtonLocation,replaceSlotsContent:this.replaceSlotsContent.bind(this),setModeDiscountsArray:this.setModeDiscountsArray,imageResolutionWidth:this.imageResolutionWidth,showMultipleImages:this.showMultipleImages,favoriteShow:this.favoriteShow,setItemsAmount:this.setItemsAmount,loading:this.recommendationsLoading,isAppended:this.isAppended,hasErrorOnLoad:this.hasErrorOnLoad,showInWidget:this.showInWidget})}render(){var e;if(0===this.recommendations.length&&!1===this.noResultShow)return null;const r=this.recommendationsLoading;return t(o,{class:{loaded:!0,empty:0==this.recommendations.length,[this.mode]:!0,"show-in-widget":this.showInWidget},role:"region","aria-label":this.showingInButton?void 0:S.t("a11y.recommendations"),"aria-busy":r?"true":"false","aria-live":r?"polite":"off"},t(i,null,Ot(this.cssUrl),ft("discovery"),(this.isSetMode||""!==this.blockTitle||!!this.blockSubtitle)&&t("div",{class:"widget-header"},t("div",null,""!==this.blockTitle&&t("h2",{part:"recommendations-title"},t("slot",{name:"vviinn-recommendations-title"},null!==(e=this.blockTitle)&&void 0!==e?e:S.t(this.isSetMode?"setMode.widgetTitle":"discoveryWidgetTitle"))),(this.isSetMode||!!this.blockSubtitle)&&t("h3",{part:"recommendations-subtitle"},t("slot",{name:"vviinn-recommendations-subtitle"},this.blockSubtitle||(this.isSetMode?S.t("setMode.widgetSubtitle"):"")))),this.isSetMode&&"onItem"!==this.updateButtonLocation&&this.recommendations.length>0?t("button",{class:"update-button",part:"update-button-top",onClick:()=>this.updatingAllCards=!0},t("slot",{name:"vviinn-update-button-icon"},t(It,null)),t("slot",{name:"vviinn-update-button-text"},t("span",null,S.t("setMode.updateButtonText")))):null),(this.showFilters||this.showExtendedFilters)&&t("div",{class:"filters-header "},this.showFilters&&t("vviinn-filters",null),this.showExtendedFilters&&t("vviinn-extended-filters",{showingInButton:this.showingInButton,locale:this.locale,currencySign:this.currencySign})),this.useCarousel?this.renderCarousel():this.renderResults(),this.showNoResultText()&&t("div",{class:"no-result-text",role:"status"},this.noResultText.length?this.noResultText:S.t("noResultText"))))}get el(){return a(this)}static get watchers(){return{productId:["handleProductIdChange"],campaignType:["handleCampaignTypeChange"],campaigns:["handleCampaignsChange"],opened:["trackWidgetOpen"],closed:["trackWidgetClose"]}}};Wf.style=":host{--font-family-base:Inter, system-ui, sans-serif;--font-family-mono:monospace;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;--font-size-display:32px;--font-size-title:24px;--font-size-headline:18px;--font-size-label-large:16px;--font-size-label:14px;--font-size-body-large:16px;--font-size-body:14px;--font-size-caption:12px;--line-height-display:40px;--line-height-title:32px;--line-height-headline:24px;--line-height-label-large:24px;--line-height-label:20px;--line-height-body-large:24px;--line-height-body:20px;--line-height-caption:16px;--letter-spacing-title:0px;--letter-spacing-headline:0px;--letter-spacing-label-large:0px;--letter-spacing-label:0px;--letter-spacing-body-large:0px;--letter-spacing-body:0px;--letter-spacing-caption:0px;--font-weight-400:400;--font-weight-500:500;--font-weight-600:600;--font-weight-700:700;--spacing-none:0px;--spacing-25:2px;--spacing-50:4px;--spacing-75:6px;--spacing-100:8px;--spacing-125:10px;--spacing-150:12px;--spacing-200:16px;--spacing-250:20px;--spacing-300:24px;--spacing-400:32px;--spacing-500:40px;--spacing-600:48px;--border-radius-none:0px;--border-radius-25:2px;--border-radius-50:4px;--border-radius-100:8px;--border-radius-150:12px;--border-radius-200:16px;--border-radius-300:24px;--border-radius-400:32px;--border-radius-full:9999px;--stroke-width-none:0px;--stroke-width-25:1px;--stroke-width-50:2px;--stroke-width-75:3px;--stroke-width-100:4px;--stroke-width-150:6px;--stroke-width-200:8px;--stroke-width-300:12px;--product-card-widget-min-width:135px;--product-card-results-min-width:250px;--image-set-mode-min-width:155px;--source-card-set-mode-max-width:500px;--filter-blur-none:0px;--filter-blur-100:8px;--filter-blur-150:12px;--filter-blur-200:16px;--color-bg-base:#ffffff;--color-bg-inverse:#161616;--color-border-00:#ffffff;--color-border-01:#f4f4f4;--color-border-02:#e0e0e0;--color-border-03:#c6c6c6;--color-border-inverse-00:#161616;--color-border-inverse-01:#393939;--color-field-01:#ffffff;--color-field-02:#f4f4f4;--color-icon-primary:#161616;--color-icon-secondary:#525252;--color-icon-helper:#8d8d8d;--color-icon-on-color:#ffffff;--color-icon-inverse:#ffffff;--color-icon-disabled:#16161640;--color-text-primary:#161616;--color-text-secondary:#707070;--color-text-helper:#8d8d8d;--color-text-placeholder:#a8a8a8;--color-text-on-color:#ffffff;--color-text-inverse:#ffffff;--color-text-disabled:#16161640;--button-bg-color-primary:#000000;--button-bg-color-primary-hover:#161616;--button-bg-color-primary-active:#1e1e1e;--button-bg-color-secondary:#f4f4f4;--button-bg-color-secondary-hover:#e0e0e0;--button-bg-color-secondary-active:#c6c6c6;--button-bg-color-ghost-hover:#f4f4f4;--button-bg-color-ghost-active:#eaeaea;--button-bg-color-frosted:#6f6f6f66;--button-bg-color-frosted-hover:#6f6f6f80;--button-bg-color-frosted-active:#6f6f6f99;--button-bg-color-disabled:#e0e0e0;--button-bg-color-positive:#dcfce7;--surface-bg-color-01:#f4f4f4;--surface-bg-color-01-hover:#eaeaea;--surface-bg-color-01-active:#e0e0e0;--surface-bg-color-02:#ffffff;--surface-bg-color-inverse:#262626;--surface-bg-color-inverse-hover:#303030;--surface-bg-color-inverse-active:#393939;--surface-bg-color-disabled:#e0e0e0;--surface-bg-color-shadow-01:#dddddd;--surface-bg-color-shadow-02:#c6c6c6;--chip-bg-color-primary:#161616;--chip-bg-color-primary-hover:#1e1e1e;--chip-bg-color-primary-active:#262626;--chip-bg-color-subtle:#f4f4f4;--chip-bg-color-subtle-hover:#eaeaea;--chip-bg-color-subtle-active:#e0e0e0;--chip-bg-color-outline-hover:#f4f4f4;--chip-bg-color-outline-active:#eaeaea;--label-bg-color-accent:#ff3944;--sidebar-animation-duration-default:0.5s;--search-modal-animation-duration-default:0.25s;--search-modal-animation-duration-mobile-default:0.35s;}.visually-hidden{clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}:host{display:grid;grid-gap:var(--spacing-200);width:100%}:host(:not(.loaded)){position:absolute;visibility:hidden}:host(.set){grid-gap:var(--spacing-300)}:host(.set) vviinn-carousel{overflow-x:auto;scrollbar-width:thin}:host(.set) vviinn-product-card::part(content-container){width:var(--vviinn-set-mode-image-width, 100%)}:host(.grid) h2{justify-content:center}.filters-header{display:flex;justify-content:space-between;gap:14px}.filters-header>vviinn-extended-filters{width:44px;height:44px}@media (max-width: 768px){.filters-header>vviinn-filters{flex:1;width:100px}}.widget-header{display:flex;flex-wrap:wrap;gap:20px;justify-content:space-between;align-items:center}.widget-header h3{margin-top:8px;margin-bottom:0;font-size:14px;font-weight:400;line-height:20px}.widget-header h2,.widget-header h3{margin:0;font-family:var(--font-family, var(--font-family-base))}.widget-header h2{font-weight:var(--font-weight-600);line-height:var(--line-height-title)}.widget-header h3{line-height:var(--line-height-body);margin-top:var(--spacing-100)}.update-button{display:flex;align-items:center;align-self:flex-end;justify-content:center;font-family:var(--font-family, var(--font-family-base));color:#525252;gap:8px;padding:8px 10px;background:rgb(244, 244, 244);border:none;cursor:pointer}.update-button:hover{background:rgb(234, 234, 234)}.update-button svg{color:#6f6f6f}.results{display:grid;grid-gap:1rem}.no-result-text{line-height:var(--line-height-headline);font-family:var(--font-family, var(--font-family-base));font-size:var(--font-size-headline);padding-bottom:48px}.recommendations-results.recommendations-grid{width:100%;align-content:center;align-items:start;box-sizing:border-box;display:grid;grid-gap:32px 16px;grid-template-columns:repeat(\n auto-fill,\n minmax(\n var(--product-card-width, var(--product-card-results-min-width)),\n 1fr\n )\n );padding-bottom:var(--spacing-300)}@media (max-width: 768px){:host(.show-in-widget) .recommendations-results.recommendations-grid{width:unset;grid-gap:24px 16px;justify-content:center;grid-template-columns:repeat(auto-fill, minmax(155px, 1fr))}}";export{Bt as vviinn_carousel,Nt as vviinn_energy_label,Ht as vviinn_extended_filters,Zt as vviinn_extended_filters_button,qt as vviinn_filters,Ut as vviinn_image,ce as vviinn_product_card,fe as vviinn_range_filter,de as vviinn_skeleton,Wf as vviinn_vpr_widget}
1
+ import{h as t,r as e,c as r,f as n,F as i,H as o,g as a}from"./p-RkvPN2Rk.js";import{h as l,j as s,_ as c,u,C as f,D as d,E as h,v}from"./p-DM6fTGU7.js";import{X as p,Y as b,_ as g,g as m,O as y,v as x,N as w,Z as j,L as _,$ as O,a0 as k,a1 as C,a2 as M,E as z}from"./p-CrEgr0jU.js";import{i as S,d as T,t as I,a as E}from"./p-BJxQCbNV.js";import{S as A,C as L,o as W,p as P,R as V,q as R,D as F,h as B,r as N,u as D,t as $,j as H,m as Z,w as q,k as U,l as Y,s as J,P as K,x as X,v as G,c as Q,e as tt,b as et,d as rt,f as nt,y as it}from"./p-elxMiKkD.js";import{P as ot,D as at,c as lt}from"./p-rqiiCPBX.js";import{s as st,a as ct,i as ut,S as ft}from"./p-DKHkeCw7.js";import{o as dt,i as ht,j as vt,h as pt,q as bt,e as gt,l as mt,p as yt,t as xt}from"./p-CPTOq59a.js";import{r as wt,c as jt,s as _t}from"./p-Er2KrWw1.js";import{r as Ot,o as kt}from"./p-CtSr754V.js";const Ct=()=>t("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t("g",{id:"shopping-bag"},t("path",{id:"Vector",d:"M6 22C5.45 22 4.97917 21.8042 4.5875 21.4125C4.19583 21.0208 4 20.55 4 20V8C4 7.45 4.19583 6.97917 4.5875 6.5875C4.97917 6.19583 5.45 6 6 6H8C8 4.9 8.39167 3.95833 9.175 3.175C9.95833 2.39167 10.9 2 12 2C13.1 2 14.0417 2.39167 14.825 3.175C15.6083 3.95833 16 4.9 16 6H18C18.55 6 19.0208 6.19583 19.4125 6.5875C19.8042 6.97917 20 7.45 20 8V20C20 20.55 19.8042 21.0208 19.4125 21.4125C19.0208 21.8042 18.55 22 18 22H6ZM6 20H18V8H16V10C16 10.2833 15.9042 10.5208 15.7125 10.7125C15.5208 10.9042 15.2833 11 15 11C14.7167 11 14.4792 10.9042 14.2875 10.7125C14.0958 10.5208 14 10.2833 14 10V8H10V10C10 10.2833 9.90417 10.5208 9.7125 10.7125C9.52083 10.9042 9.28333 11 9 11C8.71667 11 8.47917 10.9042 8.2875 10.7125C8.09583 10.5208 8 10.2833 8 10V8H6V20ZM10 6H14C14 5.45 13.8042 4.97917 13.4125 4.5875C13.0208 4.19583 12.55 4 12 4C11.45 4 10.9792 4.19583 10.5875 4.5875C10.1958 4.97917 10 5.45 10 6Z",fill:"#161616"}))),Mt=()=>t("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t("g",{id:"check"},t("path",{id:"Vector",d:"M10.6 13.8L8.45 11.65C8.26667 11.4667 8.03333 11.375 7.75 11.375C7.46667 11.375 7.23333 11.4667 7.05 11.65C6.86667 11.8333 6.775 12.0667 6.775 12.35C6.775 12.6333 6.86667 12.8667 7.05 13.05L9.9 15.9C10.1 16.1 10.3333 16.2 10.6 16.2C10.8667 16.2 11.1 16.1 11.3 15.9L16.95 10.25C17.1333 10.0667 17.225 9.83333 17.225 9.55C17.225 9.26667 17.1333 9.03333 16.95 8.85C16.7667 8.66667 16.5333 8.575 16.25 8.575C15.9667 8.575 15.7333 8.66667 15.55 8.85L10.6 13.8ZM12 22C10.6167 22 9.31667 21.7375 8.1 21.2125C6.88333 20.6875 5.825 19.975 4.925 19.075C4.025 18.175 3.3125 17.1167 2.7875 15.9C2.2625 14.6833 2 13.3833 2 12C2 10.6167 2.2625 9.31667 2.7875 8.1C3.3125 6.88333 4.025 5.825 4.925 4.925C5.825 4.025 6.88333 3.3125 8.1 2.7875C9.31667 2.2625 10.6167 2 12 2C13.3833 2 14.6833 2.2625 15.9 2.7875C17.1167 3.3125 18.175 4.025 19.075 4.925C19.975 5.825 20.6875 6.88333 21.2125 8.1C21.7375 9.31667 22 10.6167 22 12C22 13.3833 21.7375 14.6833 21.2125 15.9C20.6875 17.1167 19.975 18.175 19.075 19.075C18.175 19.975 17.1167 20.6875 15.9 21.2125C14.6833 21.7375 13.3833 22 12 22Z",fill:"#16A34A"}))),zt=()=>t("svg",{width:"9",height:"16",xmlns:"http://www.w3.org/2000/svg"},t("path",{d:"m9 8-7.895 8L0 14.88 6.79 8 0 1.12 1.105 0 9 8Z"})),St=()=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none","aria-hidden":"true"},t("path",{d:"M13.6 12L9.70005 8.09999C9.51672 7.91665 9.42505 7.68332 9.42505 7.39999C9.42505 7.11665 9.51672 6.88332 9.70005 6.69999C9.88338 6.51665 10.1167 6.42499 10.4 6.42499C10.6834 6.42499 10.9167 6.51665 11.1 6.69999L15.7 11.3C15.8 11.4 15.8709 11.5083 15.9125 11.625C15.9542 11.7417 15.975 11.8667 15.975 12C15.975 12.1333 15.9542 12.2583 15.9125 12.375C15.8709 12.4917 15.8 12.6 15.7 12.7L11.1 17.3C10.9167 17.4833 10.6834 17.575 10.4 17.575C10.1167 17.575 9.88338 17.4833 9.70005 17.3C9.51672 17.1167 9.42505 16.8833 9.42505 16.6C9.42505 16.3167 9.51672 16.0833 9.70005 15.9L13.6 12Z",fill:"currentColor"})),Tt=()=>t("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t("path",{d:"M9.5 16C7.68333 16 6.14583 15.3708 4.8875 14.1125C3.62917 12.8542 3 11.3167 3 9.5C3 7.68333 3.62917 6.14583 4.8875 4.8875C6.14583 3.62917 7.68333 3 9.5 3C11.3167 3 12.8542 3.62917 14.1125 4.8875C15.3708 6.14583 16 7.68333 16 9.5C16 10.2333 15.8833 10.925 15.65 11.575C15.4167 12.225 15.1 12.8 14.7 13.3L20.3 18.9C20.4833 19.0833 20.575 19.3167 20.575 19.6C20.575 19.8833 20.4833 20.1167 20.3 20.3C20.1167 20.4833 19.8833 20.575 19.6 20.575C19.3167 20.575 19.0833 20.4833 18.9 20.3L13.3 14.7C12.8 15.1 12.225 15.4167 11.575 15.65C10.925 15.8833 10.2333 16 9.5 16ZM9.5 14C10.75 14 11.8125 13.5625 12.6875 12.6875C13.5625 11.8125 14 10.75 14 9.5C14 8.25 13.5625 7.1875 12.6875 6.3125C11.8125 5.4375 10.75 5 9.5 5C8.25 5 7.1875 5.4375 6.3125 6.3125C5.4375 7.1875 5 8.25 5 9.5C5 10.75 5.4375 11.8125 6.3125 12.6875C7.1875 13.5625 8.25 14 9.5 14Z",fill:"#A1A1A1"})),It=({width:e=24,height:r=24})=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:r,viewBox:"0 0 24 24",fill:"none"},t("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M23.5998 4.57C20.3898 4.19 19.8798 3.68 19.4198 0.37C19.3798 0.15 19.2198 0 19.0098 0C18.7998 0 18.6298 0.15 18.5898 0.37C18.1198 3.66 17.6298 4.13 14.4098 4.57C14.1698 4.61 14.0098 4.77 14.0098 5C14.0098 5.23 14.1698 5.39 14.4098 5.42C17.6298 5.81 18.1398 6.31 18.5898 9.62C18.6298 9.84 18.7998 10 19.0098 10C19.2198 10 19.3898 9.84 19.4198 9.62C19.8898 6.31 20.3898 5.81 23.5998 5.42C23.8398 5.38 23.9998 5.22 23.9998 5C23.9998 4.78 23.8298 4.6 23.5998 4.57Z",fill:"currentColor"}),t("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M19.93 13C19.43 13 19.01 13.37 18.95 13.86C18.52 17.36 15.51 20.06 11.89 20C8.24 19.94 5.15 16.92 5.01 13.27C4.92 10.79 6.13 8.58 8.01 7.27V11C8.01 11.55 8.46 12 9.01 12C9.56 12 10.01 11.55 10.01 11V5C10.01 4.45 9.56 4 9.01 4H3C2.45 4 2 4.45 2 5C2 5.55 2.45 6 3 6H6.35C4.24 7.71 2.91 10.35 3 13.3C3.15 17.98 7.06 21.87 11.74 22C16.45 22.13 20.37 18.65 20.93 14.13C21 13.53 20.53 13.01 19.93 13.01V13Z",fill:"currentColor"})),Et=()=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none","aria-hidden":"true"},t("path",{d:"M12 21C11.7167 21 11.4792 20.9042 11.2875 20.7125C11.0958 20.5208 11 20.2833 11 20V16C11 15.7167 11.0958 15.4792 11.2875 15.2875C11.4792 15.0958 11.7167 15 12 15C12.2833 15 12.5208 15.0958 12.7125 15.2875C12.9042 15.4792 13 15.7167 13 16V17H20C20.2833 17 20.5208 17.0958 20.7125 17.2875C20.9042 17.4792 21 17.7167 21 18C21 18.2833 20.9042 18.5208 20.7125 18.7125C20.5208 18.9042 20.2833 19 20 19H13V20C13 20.2833 12.9042 20.5208 12.7125 20.7125C12.5208 20.9042 12.2833 21 12 21ZM4 19C3.71667 19 3.47917 18.9042 3.2875 18.7125C3.09583 18.5208 3 18.2833 3 18C3 17.7167 3.09583 17.4792 3.2875 17.2875C3.47917 17.0958 3.71667 17 4 17H8C8.28333 17 8.52083 17.0958 8.7125 17.2875C8.90417 17.4792 9 17.7167 9 18C9 18.2833 8.90417 18.5208 8.7125 18.7125C8.52083 18.9042 8.28333 19 8 19H4ZM8 15C7.71667 15 7.47917 14.9042 7.2875 14.7125C7.09583 14.5208 7 14.2833 7 14V13H4C3.71667 13 3.47917 12.9042 3.2875 12.7125C3.09583 12.5208 3 12.2833 3 12C3 11.7167 3.09583 11.4792 3.2875 11.2875C3.47917 11.0958 3.71667 11 4 11H7V10C7 9.71667 7.09583 9.47917 7.2875 9.2875C7.47917 9.09583 7.71667 9 8 9C8.28333 9 8.52083 9.09583 8.7125 9.2875C8.90417 9.47917 9 9.71667 9 10V14C9 14.2833 8.90417 14.5208 8.7125 14.7125C8.52083 14.9042 8.28333 15 8 15ZM12 13C11.7167 13 11.4792 12.9042 11.2875 12.7125C11.0958 12.5208 11 12.2833 11 12C11 11.7167 11.0958 11.4792 11.2875 11.2875C11.4792 11.0958 11.7167 11 12 11H20C20.2833 11 20.5208 11.0958 20.7125 11.2875C20.9042 11.4792 21 11.7167 21 12C21 12.2833 20.9042 12.5208 20.7125 12.7125C20.5208 12.9042 20.2833 13 20 13H12ZM16 9C15.7167 9 15.4792 8.90417 15.2875 8.7125C15.0958 8.52083 15 8.28333 15 8V4C15 3.71667 15.0958 3.47917 15.2875 3.2875C15.4792 3.09583 15.7167 3 16 3C16.2833 3 16.5208 3.09583 16.7125 3.2875C16.9042 3.47917 17 3.71667 17 4V5H20C20.2833 5 20.5208 5.09583 20.7125 5.2875C20.9042 5.47917 21 5.71667 21 6C21 6.28333 20.9042 6.52083 20.7125 6.7125C20.5208 6.90417 20.2833 7 20 7H17V8C17 8.28333 16.9042 8.52083 16.7125 8.7125C16.5208 8.90417 16.2833 9 16 9ZM4 7C3.71667 7 3.47917 6.90417 3.2875 6.7125C3.09583 6.52083 3 6.28333 3 6C3 5.71667 3.09583 5.47917 3.2875 5.2875C3.47917 5.09583 3.71667 5 4 5H12C12.2833 5 12.5208 5.09583 12.7125 5.2875C12.9042 5.47917 13 5.71667 13 6C13 6.28333 12.9042 6.52083 12.7125 6.7125C12.5208 6.90417 12.2833 7 12 7H4Z",fill:"#161616"})),At=()=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none","aria-hidden":"true"},t("path",{d:"M12 13.3892L6.91958 18.4696C6.72248 18.6667 6.49095 18.7653 6.225 18.7653C5.95905 18.7653 5.72753 18.6667 5.53043 18.4696C5.33333 18.2725 5.23478 18.041 5.23478 17.775C5.23478 17.5091 5.33333 17.2776 5.53043 17.0805L10.6109 12L5.53043 6.9196C5.33333 6.7225 5.23478 6.49098 5.23478 6.22503C5.23478 5.95908 5.33333 5.72755 5.53043 5.53045C5.72753 5.33335 5.95905 5.2348 6.225 5.2348C6.49095 5.2348 6.72248 5.33335 6.91958 5.53045L12 10.6109L17.0804 5.53045C17.2775 5.33335 17.5091 5.2348 17.775 5.2348C18.041 5.2348 18.2725 5.33335 18.4696 5.53045C18.6667 5.72755 18.7652 5.95908 18.7652 6.22503C18.7652 6.49098 18.6667 6.7225 18.4696 6.9196L13.3892 12L18.4696 17.0805C18.6667 17.2776 18.7652 17.5091 18.7652 17.775C18.7652 18.041 18.6667 18.2725 18.4696 18.4696C18.2725 18.6667 18.041 18.7653 17.775 18.7653C17.5091 18.7653 17.2775 18.6667 17.0804 18.4696L12 13.3892Z",fill:"currentColor"})),Lt=({width:e=24,height:r=24})=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:r,viewBox:"0 0 24 24",fill:"none"},t("path",{d:"M12 21.325C11.7667 21.325 11.5292 21.2834 11.2875 21.2C11.0458 21.1167 10.8333 20.9834 10.65 20.8L8.925 19.225C7.15833 17.6084 5.5625 16.0042 4.1375 14.4125C2.7125 12.8209 2 11.0667 2 9.15002C2 7.58336 2.525 6.27502 3.575 5.22502C4.625 4.17502 5.93333 3.65002 7.5 3.65002C8.38333 3.65002 9.21667 3.83752 10 4.21252C10.7833 4.58752 11.45 5.10002 12 5.75002C12.55 5.10002 13.2167 4.58752 14 4.21252C14.7833 3.83752 15.6167 3.65002 16.5 3.65002C18.0667 3.65002 19.375 4.17502 20.425 5.22502C21.475 6.27502 22 7.58336 22 9.15002C22 11.0667 21.2917 12.825 19.875 14.425C18.4583 16.025 16.85 17.6334 15.05 19.25L13.35 20.8C13.1667 20.9834 12.9542 21.1167 12.7125 21.2C12.4708 21.2834 12.2333 21.325 12 21.325ZM11.05 7.75002C10.5667 7.06669 10.05 6.54586 9.5 6.18752C8.95 5.82919 8.28333 5.65002 7.5 5.65002C6.5 5.65002 5.66667 5.98336 5 6.65002C4.33333 7.31669 4 8.15002 4 9.15002C4 10.0167 4.30833 10.9375 4.925 11.9125C5.54167 12.8875 6.27917 13.8334 7.1375 14.75C7.99583 15.6667 8.87917 16.525 9.7875 17.325C10.6958 18.125 11.4333 18.7834 12 19.3C12.5667 18.7834 13.3042 18.125 14.2125 17.325C15.1208 16.525 16.0042 15.6667 16.8625 14.75C17.7208 13.8334 18.4583 12.8875 19.075 11.9125C19.6917 10.9375 20 10.0167 20 9.15002C20 8.15002 19.6667 7.31669 19 6.65002C18.3333 5.98336 17.5 5.65002 16.5 5.65002C15.7167 5.65002 15.05 5.82919 14.5 6.18752C13.95 6.54586 13.4333 7.06669 12.95 7.75002C12.8333 7.91669 12.6917 8.04169 12.525 8.12502C12.3583 8.20836 12.1833 8.25002 12 8.25002C11.8167 8.25002 11.6417 8.20836 11.475 8.12502C11.3083 8.04169 11.1667 7.91669 11.05 7.75002Z",fill:"currentColor"})),Wt=({width:e=24,height:r=24})=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:r,viewBox:"0 0 24 24",fill:"none"},t("path",{d:"M12 21.325C11.7667 21.325 11.5292 21.2834 11.2875 21.2C11.0458 21.1167 10.8333 20.9834 10.65 20.8L8.925 19.225C7.15833 17.6084 5.5625 16.0042 4.1375 14.4125C2.7125 12.8209 2 11.0667 2 9.15002C2 7.58336 2.525 6.27502 3.575 5.22502C4.625 4.17502 5.93333 3.65002 7.5 3.65002C8.38333 3.65002 9.21667 3.83752 10 4.21252C10.7833 4.58752 11.45 5.10002 12 5.75002C12.55 5.10002 13.2167 4.58752 14 4.21252C14.7833 3.83752 15.6167 3.65002 16.5 3.65002C18.0667 3.65002 19.375 4.17502 20.425 5.22502C21.475 6.27502 22 7.58336 22 9.15002C22 11.0667 21.2917 12.825 19.875 14.425C18.4583 16.025 16.85 17.6334 15.05 19.25L13.35 20.8C13.1667 20.9834 12.9542 21.1167 12.7125 21.2C12.4708 21.2834 12.2333 21.325 12 21.325Z",fill:"white"}));Object.assign(Object.assign({},{concat:(t,e)=>t/e}),{empty:1});const Pt=(t,e)=>Math.floor(Math.random()*(e-t+1))+t;function Vt(t,e,r){return function(n){for(var i=Array(r.length+1),o=0;o<r.length;o++)i[o]=r[o];return i[r.length]=n,0===e?t.apply(null,i):Vt(t,e-1,i)}}var Rt={1:function(t){return[t]},2:function(t){return function(e){return[t,e]}},3:function(t){return function(e){return function(r){return[t,e,r]}}},4:function(t){return function(e){return function(r){return function(n){return[t,e,r,n]}}}},5:function(t){return function(e){return function(r){return function(n){return function(i){return[t,e,r,n,i]}}}}}};function Ft(t){return p.call(Rt,t)||(Rt[t]=Vt(b,t-1,[])),Rt[t]}const Bt=class{constructor(n){e(this,n),this.vviinnProductLoad=r(this,"vviinnProductLoad"),this.vviinnProductView=r(this,"vviinnProductView"),this.moveDirection="right",this.contentGroups=[],this.activeContentGroup=0,this.currentScrollIndex=0,this.isRTL=!1,this.crossSellingRecommendations=[],this.setModeDiscount=null,this.currentDiscountIndex=0,this.setModeAppliedDiscounts={},this.columns=0,this.showContent=!1,this.mode="continuity",this.imageWidth=ot,this.showScroll=!0,this.recommendations=[],this.showMultipleImages=!1,this.addPriceContainer=!1,this.setItemsAmount=4,this.isAppended=!1,this.loading=!1,this.hasErrorOnLoad=!1,this.showInWidget=!1,this.imageResolutionWidth=at,this.resizeObserver=new ResizeObserver((()=>{if(this.handleResize(),this.isSetMode&&this.updatingAllCards){const t=this.el.style.getPropertyValue(A);t&&"100%"!==t||this.setImageWidthSetMode("100%")}else this.setImageWidthSetMode("100%")})),this.defaultAnimationInterval=2e3,this.setModeMaxDiscount=null,this.scrollHandler=null,this.scrollEndHandler=null,this.mutationObserver=new MutationObserver((()=>this.cloneSlottedContent())),this.updateCard=(t,e,r)=>{let n=this.crossSellingRecommendations.find((e=>e.productId===t));const i=this.crossSellingRecommendations.indexOf(n),o=this.recommendations.indexOf(n),a=this.crossSellingRecommendations;if(o+e<this.recommendations.length){const n=this.recommendations[o+e];a[i]=n;const l=this.getProductData(n,o+e);this.isSetMode&&this.vviinnProductLoad.emit(l);let s=this.el.querySelector(`[data-id="${t}"]`);const c=s.getBoundingClientRect().width;this.setImageWidthSetMode(`${c}px`),this.crossSellingRecommendations=[...a];const u=s.shadowRoot.querySelector(".update-button");null==u||u.classList.add("hidden");const f=setTimeout((()=>{o+2*e<=this.recommendations.length-1&&(null==u||u.classList.remove("hidden")),this.isSetMode&&this.vviinnProductView.emit(l),clearTimeout(f)}),r)}},this.renderRecommendationGroups=e=>e.map((e=>t("div",{class:L,part:L},e)))}getProductData(t,e){return Object.assign({productId:t.productId,productRank:e,productName:t.productTitle,productType:t.productType,campaignTypeId:this.campaignTypeId,campaignTypeName:l[this.campaignTypeId],widgetVersion:this.widgetVersion},s("widgetId",this.widgetElementId))}getMaxScrollIndex(){if(this.isGridMode)return Math.max(0,Math.ceil(this.recommendations.length/this.columns)-1);const t=this.getContentNode();if(!t||t.scrollWidth<=t.clientWidth)return 0;const e=t.scrollWidth-t.clientWidth,r=this.getItemWidth()+this.contentGap;return r>0?Math.ceil(e/r):0}isFirst(){return 0===this.currentScrollIndex}isLast(){return this.currentScrollIndex>=this.getMaxScrollIndex()}connectedCallback(){this.setItemWidth(),this.isSetMode="set"===this.mode,this.isGridMode="grid"===this.mode,this.isContinuityMode="continuity"===this.mode}disconnectedCallback(){const t=this.getContentNode();t&&(this.scrollEndHandler&&t.removeEventListener("scrollend",this.scrollEndHandler),this.scrollHandler&&t.removeEventListener("scroll",this.scrollHandler)),this.resizeObserver.disconnect()}componentDidUpdate(){this.replaceSlotsContent()}componentWillLoad(){var t,e;this.isRTL="rtl"===document.dir,this.updateColumnsNumber(),this.isSetMode&&(null===(t=this.recommendations)||void 0===t?void 0:t.length)>0&&this.recommendationsWatcher(),(null===(e=this.recommendations)||void 0===e?void 0:e.length)>0&&!this.showContent&&!this.loading&&(this.showContent=!0)}componentDidLoad(){this.setWidth();const t=this.el.querySelector(".content");this.mutationObserver.observe(t,{subtree:!0,childList:!0}),this.resizeObserver.observe(this.getHostParent()),this.updateContentGap();const e=this.getContentNode();this.scrollEndHandler=()=>{this.updateCurrentScrollIndex(e)},e.addEventListener("scrollend",this.scrollEndHandler),this.isGridMode||(this.scrollHandler=()=>{this.updateCurrentScrollIndex(e)},e.addEventListener("scroll",this.scrollHandler)),n(this)}recommendationsWatcher(){this.isSetMode&&(this.setModeDiscount=this.setModeDiscountsArray[0],this.setModeMaxDiscount=this.setModeDiscountsArray[this.setModeDiscountsArray.length-1],this.recommendations.length>=this.columns?this.crossSellingRecommendations=this.recommendations.slice(0,this.columns):this.recommendations.length>0&&(this.crossSellingRecommendations=[...this.recommendations]))}updatingAllCardsWatcher(){this.updatingAllCards&&this.crossSellingRecommendations.forEach((t=>{this.updateCard(t.productId,this.columns,this.defaultAnimationInterval)}))}onLoadingChange(t){t?this.showContent=!1:setTimeout((()=>{this.showContent=!0}),200)}crossSellingClickListener({detail:t}){const{animationInterval:e,productData:r}=t;this.updateCard(r.productId,this.columns,e)}getItemWidthFromDocument(){return parseInt(getComputedStyle(document.body).getPropertyValue(W))}async setModeAddToBasketHandler({detail:t}){if(!this.isSetMode)return;const{productId:e}=t;this.setModeAppliedDiscounts.hasOwnProperty(e)||(this.setModeAppliedDiscounts=Object.assign(Object.assign({},this.setModeAppliedDiscounts),{[e]:this.setModeDiscount}),this.setModeDiscount===this.setModeMaxDiscount||(this.currentDiscountIndex+=1,this.setModeDiscount=this.setModeDiscountsArray[this.currentDiscountIndex]))}setItemWidth(){const t=this.getItemWidthFromDocument(),e=isNaN(t)?this.imageWidth:t;this.el.style.setProperty(W,`${e}px`)}setImageWidthSetMode(t){this.el.style.setProperty(A,t)}getContentClassMap(){return{content:!0,[this.moveDirection]:!0,[this.mode]:!0,"show-scrollbar":!this.isSetMode&&this.showScroll}}getBodyClassMap(){return{body:!0,"append-slider":this.isAppended,"empty-results":this.isEmptyResults()}}handleResize(){this.updateColumnsNumber(),this.setWidth(),this.setItemWidth(),this.updateContentGap()}getItemWidth(){var t;const e=this.getContentNode(),r=null===(t=null==e?void 0:e.children)||void 0===t?void 0:t[0];return r?r.getBoundingClientRect().width:this.imageWidth}calculateMoveStep(){if(this.isGridMode){const t=this.getContent().filter((t=>!t.matches("button"))).map((t=>t.getBoundingClientRect().width));return t.reduce(((t,e)=>t+e),0)/t.length+this.contentGap}return this.getItemWidth()+this.contentGap}getHostParent(){return this.el.parentNode.host.parentElement}setWidth(){const t=this.getHostParent();if(!t)return;const e=getComputedStyle(t),r=t.getBoundingClientRect().width-(parseInt(e["padding-right"])+parseInt(e["padding-left"]));this.el.style.setProperty(P,`${r}px`)}getParent(){return this.el.parentNode.host.parentElement}cloneSlottedContent(){this.setWidth()}getContentNode(){return this.el.querySelector(".content")}getContent(){const t=this.getContentNode().children;return Array.from(t).map((t=>t))}updateContentGap(){this.contentGap=g.pipe(window.getComputedStyle(this.getContentNode()),(t=>t.getPropertyValue("gap")),(t=>parseInt(t.split("px")[0])),(t=>isNaN(t)?0:t))}updateColumnsNumber(){if(this.isSetMode)return void(this.columns=this.setItemsAmount);const t=getComputedStyle(this.el),e=parseInt(t.getPropertyValue(V));if(!e||isNaN(e)){const e=parseInt(t.getPropertyValue(R));this.columns=e>=1?e:F}else this.columns=e}handleCarouselButtonClick(t){this.moveDirection=t;const e=this.getContentNode(),r=this.calculateMoveStep();let n=this.currentScrollIndex+("right"===t?1:-1);if(n=Math.max(0,Math.min(this.getMaxScrollIndex(),n)),this.currentScrollIndex=n,this.isContinuityMode){const i=e.scrollWidth-e.clientWidth;let o=r*n;return"right"===t&&o>i-N&&(o=i),void requestAnimationFrame((()=>{e.scrollTo({top:0,left:o,behavior:"smooth"})}))}requestAnimationFrame((()=>{e.scrollTo({top:0,left:r*n,behavior:"smooth"})}))}scroll(t){const e=this.getContentNode();this.currentScrollIndex=t,requestAnimationFrame((()=>{e.scrollTo({top:0,left:this.calculateMoveStep()*t,behavior:"smooth"})}))}showBullets(){return!this.loading&&this.isGridMode&&this.showScroll}showScrollbar(){return!this.loading&&this.isContinuityMode&&this.showScroll}showArrowButtons(){var t;return this.showContent&&!!(null===(t=this.recommendations)||void 0===t?void 0:t.length)&&!this.isSetMode}getClassMap(){return{[this.mode]:!0,"show-scrollbar":this.showScrollbar()}}renderRecommendation(e,r){var n,i,o,a,l,s;const c=this.setModeAppliedDiscounts[e.productId],u=(f=null===(n=e.price)||void 0===n?void 0:n.actual,Math.round(f*(1-(null!=c?c:this.setModeDiscount)/100)*100)/100);var f;return t("vviinn-product-card",{index:r,productId:e.productId,product:e,productTitle:e.title,productType:e.productType,entityType:e.entityType,deeplink:e.deeplink,image:null!==(o=null===(i=e.image)||void 0===i?void 0:i.thumbnail)&&void 0!==o?o:null===(a=e.image)||void 0===a?void 0:a.original,images:e.images,showMultipleImages:this.showMultipleImages,disableMobileSwiper:!0,brand:e.brand,imageWidth:this.imageWidth,imageResolutionWidth:this.imageResolutionWidth,price:e.price.actual,salePrice:this.isSetMode?u:e.price.sale,basePrice:null===(l=e.basePrice)||void 0===l?void 0:l.actual,baseSalePrice:null===(s=e.basePrice)||void 0===s?void 0:s.sale,responsive:this.isGridMode||this.isSetMode,campaignTypeId:this.campaignTypeId,widgetElementId:this.widgetElementId,widgetVersion:this.widgetVersion,addToBasketShow:this.addToBasketShow,"data-id":e.productId,energyCertifications:e.energyCertifications,updatingAllCards:this.updatingAllCards,defaultAnimationInterval:this.defaultAnimationInterval,updateButtonLocation:this.updateButtonLocation,appliedDiscountPercentage:c,currentDiscountPercentage:this.setModeDiscount,currencySign:this.currencySign,pricePrefix:this.pricePrefix,locale:this.locale,numberLocale:this.numberLocale,isSetMode:this.isSetMode,customLabels:B(e),addPriceContainer:this.addPriceContainer,favoriteShow:this.favoriteShow})}renderRecommendations(){return this.isGridMode?this.renderGrid():this.renderRecommendationsElements()}renderGrid(){return this.loading||!this.showContent?this.renderSkeletonContainer():this.renderSliderContent()}renderRecommendationsElements(){return(this.isSetMode?this.crossSellingRecommendations:this.recommendations).map(((t,e)=>this.renderRecommendation(t,e)))}renderSkeletonContainer(){return t("div",{part:L,class:{[L]:!0}},Array.from({length:this.columns}).map(((e,r)=>t("vviinn-product-card",{loading:!0,responsive:!0,productTitle:"",productId:`skeleton-${r}`,key:`skeleton-${r}`}))))}renderSliderContent(){const t=this.renderRecommendationsElements(),e=c.chunksOf(this.columns)(t);return this.renderRecommendationGroups(e)}renderBullets(){const e=Math.ceil(this.recommendations.length/this.columns);return Array.from(Array(e).keys()).map((e=>t("div",{class:{bullet:!0,active:this.currentScrollIndex===e},onClick:()=>this.scroll(e)})))}isEmptyResults(){return this.hasErrorOnLoad||0===this.recommendations.length&&!this.loading}updateCurrentScrollIndex(t){if(!t)return;let e;if(this.isGridMode){const r=this.calculateMoveStep();e=Math.round(t.scrollLeft/r)}else if(t.scrollWidth-t.clientWidth-t.scrollLeft<N)e=this.getMaxScrollIndex();else{const r=this.getItemWidth()+this.contentGap;e=Math.round(t.scrollLeft/r)}this.currentScrollIndex=Math.max(0,Math.min(this.getMaxScrollIndex(),e))}render(){var e,r,n,a,l;return t(o,{key:"17df2493a9d19208c12c0655f9a66ac120217a75",class:this.getClassMap()},t("div",{key:"e23e8c0b69f6948a1f8cf4f21b774761a745eda5",class:Object.assign(Object.assign({},this.getClassMap()),this.getBodyClassMap())},this.isSetMode&&this.crossSellingRecommendations.length>0&&t("vviinn-product-card",{key:"a43b88e69f1a6023deb7bdb85542beabaeb433b8",class:"set-mode product-card--source",productTitle:this.sourceProduct.title,image:null!==(r=null===(e=this.sourceProduct.image)||void 0===e?void 0:e.thumbnail)&&void 0!==r?r:null===(n=this.sourceProduct.image)||void 0===n?void 0:n.original,images:this.sourceProduct.images,showMultipleImages:this.showMultipleImages,disableMobileSwiper:!0,entityType:this.sourceProduct.entityType,price:this.sourceProduct.price.actual,salePrice:this.sourceProduct.price.sale,basePrice:null===(a=this.sourceProduct.basePrice)||void 0===a?void 0:a.actual,baseSalePrice:null===(l=this.sourceProduct.basePrice)||void 0===l?void 0:l.sale,addPriceContainer:this.addPriceContainer,imageWidth:300,imageResolutionWidth:this.imageResolutionWidth,isSourceProduct:!0,currencySign:this.currencySign,pricePrefix:this.pricePrefix,isSetMode:this.isSetMode,locale:this.locale,numberLocale:this.numberLocale,favoriteShow:this.favoriteShow,customLabels:B(this.sourceProduct),responsive:!0}),t("div",{key:"9c96c18a6a8baa6fe399b05422d50b4b5e04fe3f",class:this.getContentClassMap()},this.renderRecommendations(),this.showArrowButtons()&&t(i,{key:"ecb5092972959988a16a92917c6e66ce8921a182"},t("button",{key:"2c010f6e44921a9059ba7b4461ef3789a98b8c25",class:{prev:!0,"grid-arrows-dynamic":this.gridArrowsDynamic&&this.isGridMode},onClick:()=>this.handleCarouselButtonClick("left"),part:"carousel-button carousel-button-prev",disabled:this.isFirst(),"aria-label":S.t("buttons.previous")},t(zt,{key:"ab45bd9d910d09a55687d3f30fa406b3a73447ab"})),t("button",{key:"6abf98f21ab7298eabebc269d536a5a9e1d79b40",class:"next",onClick:()=>this.handleCarouselButtonClick("right"),part:"carousel-button carousel-button-next",disabled:this.isLast(),"aria-label":S.t("buttons.next")},t(zt,{key:"1509f1cebeaf3855c189c1f0739a0248342e72b0"}))))),this.showBullets()&&t("div",{key:"1e550f3d478c4ed419932b228d7266abddd8d9c1",class:"bullets"},this.renderBullets()))}get el(){return a(this)}static get watchers(){return{recommendations:["recommendationsWatcher"],updatingAllCards:["updatingAllCardsWatcher"],loading:["onLoadingChange"]}}};Bt.style=":host{}.body{display:flex;position:relative;width:var(--vviinn-carousel-content-width);flex-direction:column}.body.append-slider{min-height:calc(var(--product-card-calculated-height) + 24px)}.body.append-slider.empty-results{min-height:unset}.bullets{display:flex;flex-direction:row;grid-gap:24px;justify-content:center}.bullet{width:10px;height:10px;background:#e0e0e0;border-radius:50%;cursor:pointer}.bullet.active{background:#161616}.content{display:flex;flex-direction:row;gap:8px;overflow-y:hidden;overflow-x:auto;flex-grow:1;scrollbar-width:thin}:host(.continuity) .content,:host(.grid) .content{padding-bottom:16px}.content:not(.show-scrollbar),.content.grid{scrollbar-color:#fff0 #fff0}content. .content:not(.show-scrollbar)::-webkit-scrollbar,.content.grid::-webkit-scrollbar{opacity:0}@supports (scrollbar-color: unset){.content.continuity,:host(.set){scrollbar-color:transparent transparent}.content.continuity:hover,:host(.set:hover){scrollbar-color:initial}}.content.left>*{scroll-snap-align:start}.content.right>*{scroll-snap-align:end}:host(.continuity) .prev,:host(.continuity) .next{border-radius:2px}:host(.grid) .prev,:host(.grid) .next{border-radius:50%}.prev,.next{align-items:center;background-color:white;border:none;box-shadow:0px 2px 6px rgba(0, 0, 0, 0.15);fill:#525252;cursor:pointer;display:grid;height:40px;justify-items:center;position:absolute;top:calc(50% - 20px);width:40px;z-index:1;padding:0;margin:0;transition:opacity 0.2s ease-in-out}.next:disabled,.prev:disabled{opacity:0.5;cursor:not-allowed}.next.grid-arrows-dynamic:disabled,.prev.grid-arrows-dynamic:disabled{display:none}.prev svg{transform:rotate(180deg);margin-left:-5px}.prev{left:0}.next{right:0}.items-group{display:grid;grid-gap:16px;grid-template-columns:repeat(var(--vviinn-carousel-columns, 4), 1fr);min-width:100%}.body.set{max-width:100%;justify-content:space-between;margin-left:auto;display:flex;flex-direction:row;gap:112px}.body.set::-webkit-scrollbar{display:none}@media (max-width: 768px){.body.set{gap:40px}}@media (max-width: 480px){.items-group{grid-template-columns:repeat(2, 1fr)}}.content.set{grid-gap:20px;height:-moz-fit-content;height:fit-content;max-width:-moz-fit-content;max-width:fit-content;overflow:unset}";const Nt=class{constructor(t){e(this,t),this.iconDirection="right"}componentWillLoad(){st(this,this.el)}getEnergyIconAltText(){var t,e;return this.certificationClass&&(null===(t=this.classRange)||void 0===t?void 0:t.min)&&(null===(e=this.classRange)||void 0===e?void 0:e.max)?S.t("energyLabel.iconAltWithClass",{energyClass:this.certificationClass,minClass:this.classRange.min,maxClass:this.classRange.max}):this.certificationClass?S.t("energyLabel.iconAltWithClassOnly",{energyClass:this.certificationClass}):S.t("energyLabel.iconAlt")}render(){return t(o,{key:"f311f7c89f27a7dd90a8198284b179fe6e04cb3f",class:{hidden:!this.classIconUrls&&!this.productType&&!this.classDataSheetUrl},exportparts:dt},t("div",{key:"d20b22eaca0f7121a09f20e9a1a8e16ae8c77a16",class:"container",part:"energy-label-container"},!!this.classIconUrls&&t("img",{key:"4551fc562d643b825ff489ebd4fcf51812479862",class:"class-label-icon",part:"energy-label-icon",src:this.classIconUrls[this.iconDirection],alt:this.getEnergyIconAltText()}),(this.productType||this.classDataSheetUrl)&&t("div",{key:"3260e0e590ed46c72daf3b06075a153c23ed0c51",class:"info-container"},this.productType&&t("span",{key:"be310b1e00cc1b279d58ce2d56cee9803622f01b",class:"product-type",part:"energy-label-product-type"},this.productType),this.classDataSheetUrl&&t("a",{key:"2e4f3d3985d11d7b2bba729b6c1816af866cafdc",class:"data-sheet-link",part:"energy-label-data-sheet-link",href:this.classDataSheetUrl,target:"_blank",rel:"noopener noreferrer"},t("slot",{key:"ca584e501471e5d6bc9c76f7d3767910ed645016",name:"vviinn-energy-label-data-sheet-text"},S.t("energyLabel.dataSheetText"))))))}get el(){return a(this)}};Nt.style=":host{--font-family-base:Inter, system-ui, sans-serif;--font-family-mono:monospace;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;--font-size-display:32px;--font-size-title:24px;--font-size-headline:18px;--font-size-label-large:16px;--font-size-label:14px;--font-size-body-large:16px;--font-size-body:14px;--font-size-caption:12px;--line-height-display:40px;--line-height-title:32px;--line-height-headline:24px;--line-height-label-large:24px;--line-height-label:20px;--line-height-body-large:24px;--line-height-body:20px;--line-height-caption:16px;--letter-spacing-title:0px;--letter-spacing-headline:0px;--letter-spacing-label-large:0px;--letter-spacing-label:0px;--letter-spacing-body-large:0px;--letter-spacing-body:0px;--letter-spacing-caption:0px;--font-weight-400:400;--font-weight-500:500;--font-weight-600:600;--font-weight-700:700;--spacing-none:0px;--spacing-25:2px;--spacing-50:4px;--spacing-75:6px;--spacing-100:8px;--spacing-125:10px;--spacing-150:12px;--spacing-200:16px;--spacing-250:20px;--spacing-300:24px;--spacing-400:32px;--spacing-500:40px;--spacing-600:48px;--border-radius-none:0px;--border-radius-25:2px;--border-radius-50:4px;--border-radius-100:8px;--border-radius-150:12px;--border-radius-200:16px;--border-radius-300:24px;--border-radius-400:32px;--border-radius-full:9999px;--stroke-width-none:0px;--stroke-width-25:1px;--stroke-width-50:2px;--stroke-width-75:3px;--stroke-width-100:4px;--stroke-width-150:6px;--stroke-width-200:8px;--stroke-width-300:12px;--product-card-widget-min-width:135px;--product-card-results-min-width:250px;--image-set-mode-min-width:155px;--source-card-set-mode-max-width:500px;--filter-blur-none:0px;--filter-blur-100:8px;--filter-blur-150:12px;--filter-blur-200:16px;--color-bg-base:#ffffff;--color-bg-inverse:#161616;--color-border-00:#ffffff;--color-border-01:#f4f4f4;--color-border-02:#e0e0e0;--color-border-03:#c6c6c6;--color-border-inverse-00:#161616;--color-border-inverse-01:#393939;--color-field-01:#ffffff;--color-field-02:#f4f4f4;--color-icon-primary:#161616;--color-icon-secondary:#525252;--color-icon-helper:#8d8d8d;--color-icon-on-color:#ffffff;--color-icon-inverse:#ffffff;--color-icon-disabled:#16161640;--color-text-primary:#161616;--color-text-secondary:#707070;--color-text-helper:#8d8d8d;--color-text-placeholder:#a8a8a8;--color-text-on-color:#ffffff;--color-text-inverse:#ffffff;--color-text-disabled:#16161640;--button-bg-color-primary:#000000;--button-bg-color-primary-hover:#161616;--button-bg-color-primary-active:#1e1e1e;--button-bg-color-secondary:#f4f4f4;--button-bg-color-secondary-hover:#e0e0e0;--button-bg-color-secondary-active:#c6c6c6;--button-bg-color-ghost-hover:#f4f4f4;--button-bg-color-ghost-active:#eaeaea;--button-bg-color-frosted:#6f6f6f66;--button-bg-color-frosted-hover:#6f6f6f80;--button-bg-color-frosted-active:#6f6f6f99;--button-bg-color-disabled:#e0e0e0;--button-bg-color-positive:#dcfce7;--surface-bg-color-01:#f4f4f4;--surface-bg-color-01-hover:#eaeaea;--surface-bg-color-01-active:#e0e0e0;--surface-bg-color-02:#ffffff;--surface-bg-color-inverse:#262626;--surface-bg-color-inverse-hover:#303030;--surface-bg-color-inverse-active:#393939;--surface-bg-color-disabled:#e0e0e0;--surface-bg-color-shadow-01:#dddddd;--surface-bg-color-shadow-02:#c6c6c6;--chip-bg-color-primary:#161616;--chip-bg-color-primary-hover:#1e1e1e;--chip-bg-color-primary-active:#262626;--chip-bg-color-subtle:#f4f4f4;--chip-bg-color-subtle-hover:#eaeaea;--chip-bg-color-subtle-active:#e0e0e0;--chip-bg-color-outline-hover:#f4f4f4;--chip-bg-color-outline-active:#eaeaea;--label-bg-color-accent:#ff3944;--sidebar-animation-duration-default:0.5s;--search-modal-animation-duration-default:0.25s;--search-modal-animation-duration-mobile-default:0.35s;}:host{display:contents;line-height:0px}:host(.hidden){display:none}.container{display:flex;flex-direction:row;max-width:100%;gap:var(--spacing-75);justify-content:var(\n --product-card-content-align,\n var(--product-card-content-align-default)\n );align-items:center}.info-container{width:-moz-fit-content;width:fit-content;height:100%;display:flex;justify-content:center;text-align:left;flex-direction:column;font-size:var(--font-size-caption);font-weight:var(--font-weight-400);line-height:var(--line-height-caption);letter-spacing:var(--letter-spacing-caption);font-style:normal}.class-label-icon{display:inline-block;height:32px;width:auto;flex-shrink:0}.product-type,.data-sheet-link{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;overflow-wrap:anywhere;overflow:hidden;text-overflow:ellipsis;text-decoration:none;color:var(--color-text-primary)}.product-type{color:var(--color-text-secondary)}.data-sheet-link{display:none;cursor:pointer;text-decoration:none;color:var(--color-text-primary)}";const Dt=t=>t&&"values"in t?t.values:t&&"histogram"in t?t.histogram:[],$t=(t,e)=>{const r=t.find((t=>t.column===e));return null==r?void 0:r.values[0]},Ht=class{constructor(t){e(this,t),this.vviinnFiltersChanged=r(this,"vviinnFiltersChanged"),this.vviinnFilterTriggered=r(this,"vviinnFilterTriggered"),this.globalSlotsChanged=r(this,"globalSlotsChanged"),this.vviinnSelectedFiltersReset=r(this,"vviinnSelectedFiltersReset"),this.vviinnExtendedFiltersButtonClicked=r(this,"vviinnExtendedFiltersButtonClicked"),this.mode="button",this.showHeader=!0,this.searchThreshold=0,this.filtersString="",this.showInWidget=!1,this.showingInButton=!1,this.showIntervalInputs=!1,this.innerFilters=[],this.requestFilters=[],this.showMore=!1,this.selectedMoreOptions=[],this.displayedOptionsCount=new Map,this.searchTerm="",this.skipStateChanges=t=>this.showInWidget!==t,this.getFilters=()=>this.innerFilters.length?this.innerFilters:this.state.dynamicFilters,this.handleSearchInput=t=>{this.searchTerm=t},this.handleModalKeyDown=t=>{"Escape"===t.key&&this.showMore&&(t.preventDefault(),this.handleCloseModal())},this.handleSelectedFiltersReset=({detail:t})=>{this.skipStateChanges(t.isTriggeredByVpsWidget)||(this.requestFilters=[],this.innerFilters=[],this.showMore=!1,this.resetOptionsInteractions())},this.handleCloseModal=()=>{var t;this.showMore=!1,this.resetOptionsInteractions(),this.announceFilterChange(S.t("a11y.filterDialogClosed")),null===(t=this.triggerElement)||void 0===t||t.focus()},this.resetModal=()=>{D(this.getFilterEventData()),this.vviinnSelectedFiltersReset.emit(this.getEventTriggerData()),this.handleCloseModal()},this.handleExtendedFiltersButtonClicked=({detail:t})=>{const{isTriggeredByVpsWidget:e,triggerElement:r}=t;this.skipStateChanges(e)||(this.triggerElement=r,this.showMore=!0)},this.handleSubFilterSelection=(t,e)=>{this.requestFilters=$(Object.assign({filterValue:t,selectedFilter:e,requestFilters:this.requestFilters},this.getFilterEventData()))},this.handleFiltersChanged=({detail:t})=>{const{filters:e,el:r,isTriggeredByVpsWidget:n}=t;r===this.el||this.skipStateChanges(n)||(this.requestFilters=e)},this.intervalFilterChangeHandler=(t,e)=>{const r=this.getFilters().find((t=>t.column===e));r&&this.handleSubFilterSelection(t,r)},this.isKeyboardClick=t=>0===t.clientX&&0===t.clientY,this.getEventTriggerData=()=>({isTriggeredByVpsWidget:this.showInWidget}),this.getFilterEventData=()=>Object.assign({vviinnFilterTriggered:this.vviinnFilterTriggered,vviinnFiltersChanged:this.vviinnFiltersChanged,el:this.el},this.getEventTriggerData())}resetOptionsInteractions(){this.displayedOptionsCount=new Map,this.selectedMoreOptions=[],this.searchTerm=""}announceFilterChange(t){H(t,this.filterAnnouncementRef)}replaceSlotsContent(){const t=this.el.querySelectorAll("[slot]");this.globalSlotsChanged.emit({slots:Array.from(t),element:this.el})}showMoreWatcher(t){this.vviinnFilterTriggered.emit(Object.assign({action:t?"open":"close"},this.getEventTriggerData())),t&&(this.announceFilterChange(S.t("a11y.filterDialogOpened")),setTimeout((()=>{const t=this.el.shadowRoot.querySelector(".filters-modal-close");null==t||t.focus()}),10))}selectedMoreOptionsWatcher(t){this.isPreviewInlineMode&&t.length>0&&setTimeout((()=>{const t=this.el.shadowRoot.querySelector(".filters-search-input");null==t||t.focus()}),10)}componentDidRender(){this.replaceSlotsContent()}componentWillRender(){const t=this.getFilters();if(!t.length)return;const e=new Map(this.displayedOptionsCount);let r=!1;t.forEach((({column:t})=>{e.has(t)||(e.set(t,8),r=!0)})),r&&(this.displayedOptionsCount=e)}async componentWillLoad(){await ht(this.locale),st(this,this.el)}initializeDisplayedOptions(t){this.displayedOptionsCount.has(t)||this.displayedOptionsCount.set(t,8)}showMoreOptions(t,e){const r=this.displayedOptionsCount.get(t)||8,n=Math.min(r+5,e);this.displayedOptionsCount=new Map(this.displayedOptionsCount),this.displayedOptionsCount.set(t,n)}renderModal(e){return t("div",{class:`filters-modal ${this.mode} ${this.showMore?"open":""}`,part:"extended-filters-modal",role:"dialog","aria-labelledby":"filters-modal-title",onKeyDown:this.handleModalKeyDown},t("aside",{class:"filters-modal-wrapper",part:"extended-filters-modal-wrapper"},t("div",{class:{"filters-modal-header":!0,"show-header-content":this.showHeader},part:"extended-filters-header"},this.showHeader&&t(i,null,t("h2",{id:"filters-modal-title",class:"filters-modal-title",part:"extended-filters-title"},t("slot",{name:"vviinn-extended-filters-title"},S.t("filters.modal.title"))),t("button",{class:"filters-modal-close",onClick:this.handleCloseModal,part:"extended-filters-modal-close","aria-label":S.t("a11y.closeDialog"),type:"button"},t(At,null)))),t("div",{class:"filters-modal-main",part:"extended-filters-main"},0===e.length&&"loading"!==this.state.searchStatus?t("div",{class:"filters-modal-no-filters-message",part:"extended-filters-no-filters"},t("slot",{name:"vviinn-extended-filters-no-filters"},S.t("filters.modal.noFiltersMessage"))):t("ul",{class:"filters-modal-list",part:"extended-filters-list"},(null!=e?e:[]).map((r=>{var n;const i=r.column,o=Dt(r),a=this.selectedMoreOptions.includes(r.column),l=this.requestFilters.find((({column:t})=>t===i)),s=[];null===(n=null==l?void 0:l.values)||void 0===n||n.forEach((n=>{var a;if("interval"===r.type){const r=e.find((t=>t.column===i)),o=Z(r,n,null!==(a=this.currencySign)&&void 0!==a?a:T.currencySign);o&&s.push(t("span",null,o))}else{const e=o.findIndex((t=>{var e;return(null!==(e=t.value.value)&&void 0!==e?e:t.value)===n}));e>-1&&s.push(t("span",null,o[e].label))}}));const c=this.isPreviewInlineMode&&"interval"!==r.type&&o.length>=this.searchThreshold;return t("li",{class:"extended-filters-row",part:"extended-filters-row"},t("div",{class:"filters-modal-main-button-wrapper "+(a?"open":""),part:"extended-filters-row-wrapper"},t("button",{onClick:t=>{this.isPreviewInlineMode&&t.stopPropagation(),this.handleMoreOptionsMainClick(r.column,t)},class:"filters-modal-main-button",part:"extended-filters-main-button","aria-expanded":a?"true":"false",type:"button"},t("span",null,r.label),!this.isPreviewInlineMode&&s.length>0&&t("div",{class:"filters-modal-main-button-added-options",part:"extended-filters-selected-wrapper"},s),t(St,null)),a?t("div",{class:"filters-search-container",part:"filters-search-container"},c&&(({searchTerm:e,onSearchInput:r,placeholder:n="Start Search...",iconSlot:i})=>t("div",{class:"filters-search-input-container",part:"filters-search-input-container"},t("div",{class:"filters-search-icon",part:"filters-search-icon"},t("slot",{name:"vviinn-filters-search-icon"},i||t(Tt,null))),t("input",{type:"text",placeholder:n,class:"filters-search-input",part:"filters-search-input",value:e,onInput:t=>r(t.target.value)})))({searchTerm:this.searchTerm,onSearchInput:this.handleSearchInput,placeholder:S.t("filters.search.placeholder")}),t("ul",{class:"filters-modal-sub-list",part:"extended-filters-sub-list"},"interval"===r.type?t("vviinn-range-filter",{histogram:o,intervalChangeHandler:t=>this.intervalFilterChangeHandler(t,r.column),selectedInterval:$t(this.requestFilters,r.column),showCurrency:q(r.column),currencySign:this.currencySign,showIntervalInputs:this.showIntervalInputs}):this.renderFilterOptions(r,o))):null))}))),(null==e?void 0:e.length)>0&&t("div",{class:"filters-modal-actions",part:"extended-filters-actions"},"button"===this.mode&&t("button",{class:"filters-modal-apply",onClick:()=>this.showMore=!1,disabled:0===this.requestFilters.length,part:"extended-filters-apply",type:"button"},t("slot",{name:"vviinn-extended-filters-apply"},S.t("filters.modal.apply"))),t("button",{class:"filters-modal-reset",onClick:this.resetModal,part:"extended-filters-reset",type:"button"},t("slot",{name:"vviinn-extended-filters-reset"},S.t("filters.modal.resetFilters")))))))}renderFilterOptions(e,r){const{column:n}=e,o="categorical"===e.type?((t,e)=>{if(!e.trim())return t;const r=e.toLowerCase().trim();return t.filter((({label:t})=>t.toLowerCase().includes(r)))})(r,this.searchTerm):r;let a;this.isPreviewInlineMode?a=o.length:(this.initializeDisplayedOptions(n),a=this.displayedOptionsCount.get(n)||8);const l=o.slice(0,a),s=a<o.length;return t(i,null,l.map((({value:t,label:r,active:n})=>{const i=U(this.requestFilters,t,e);return Y({handleSubFilterSelection:this.handleSubFilterSelection,selectedFilter:e,showColorLabel:this.isPreviewInlineMode,value:t,label:r,active:n,isSelected:i})})),s&&t("li",{role:"listitem"},t("button",{onClick:()=>this.showMoreOptions(n,o.length),class:"filters-more-modal-button",part:"filters-option-button",type:"button","aria-label":S.t("a11y.showMoreOptions",{count:o.length-a,label:e.label})},t(St,null))))}handleMoreOptionsMainClick(t,e){this.selectedMoreOptions.includes(t)?(this.selectedMoreOptions=[...this.selectedMoreOptions.filter((e=>e!==t))],this.displayedOptionsCount=new Map(this.displayedOptionsCount),this.displayedOptionsCount.delete(t)):(this.vviinnFilterTriggered.emit(Object.assign({action:"show",kind:t},this.getEventTriggerData())),this.selectedMoreOptions=this.isPreviewInlineMode?[t]:[...this.selectedMoreOptions,t],this.isPreviewInlineMode&&e&&this.applyModalPositioning(e)),this.searchTerm=""}filtersStringWatcher(){if(""!==this.filtersString)try{this.innerFilters=JSON.parse(this.filtersString)}catch(t){console.error("Invalid filters string",t)}}connectedCallback(){const{state:t,onChange:e}=u(this.showInWidget);this.state=t,this.isPreviewInlineMode="preview-inline"===this.mode,J(t,e,(t=>this.requestFilters=t)),this.eventAbortController=new AbortController;const{signal:r}=this.eventAbortController;ct(document,[["vviinnFiltersChanged",this.handleFiltersChanged],["vviinnSelectedFiltersReset",this.handleSelectedFiltersReset],..."preview"!==this.mode?[["vviinnExtendedFiltersButtonClicked",this.handleExtendedFiltersButtonClicked]]:[]],r),this.filtersStringWatcher()}disconnectedCallback(){var t;null===(t=this.eventAbortController)||void 0===t||t.abort()}applyModalPositioning(t){const e=t.target.closest(".extended-filters-row");e&&requestAnimationFrame((()=>{(t=>{const e=t.querySelector(".filters-modal-main-button-wrapper");e&&(e.classList.remove("align-right"),(t=>{const e=t.getBoundingClientRect(),r=window.innerWidth;return e.left+e.width/2>r/2})(t)&&e.classList.add("align-right"))})(e)}))}bodyMouseDownListener(t){"preview"===this.mode||this.isKeyboardClick(t)||ut(t,".filters-modal-list")||(this.showMore||this.isPreviewInlineMode&&this.selectedMoreOptions.length>0)&&(this.isPreviewInlineMode?this.selectedMoreOptions=[]:this.handleCloseModal())}render(){const e=this.getFilters();return t(o,{key:"f2f23f0f4e997ff8ec7b00a96a84ba4ea18f5d3f",class:{"show-in-widget":this.showInWidget},exportParts:vt},t("div",{key:"57de996421fe25deb1cc484bc0ea2598e7dfb3c1",ref:t=>this.filterAnnouncementRef=t,"aria-live":"polite",class:"sr-only"}),ft("filters"),(null==e?void 0:e.length)>0&&"button"===this.mode&&t("vviinn-extended-filters-button",{key:"0219f9a675885f280eb93cbaab4fb426af18e029"}),this.renderModal(e))}get el(){return a(this)}static get watchers(){return{showMore:["showMoreWatcher"],selectedMoreOptions:["selectedMoreOptionsWatcher"],filtersString:["filtersStringWatcher"]}}};Ht.style=':host{--font-family-base:Inter, system-ui, sans-serif;--font-family-mono:monospace;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;--font-size-display:32px;--font-size-title:24px;--font-size-headline:18px;--font-size-label-large:16px;--font-size-label:14px;--font-size-body-large:16px;--font-size-body:14px;--font-size-caption:12px;--line-height-display:40px;--line-height-title:32px;--line-height-headline:24px;--line-height-label-large:24px;--line-height-label:20px;--line-height-body-large:24px;--line-height-body:20px;--line-height-caption:16px;--letter-spacing-title:0px;--letter-spacing-headline:0px;--letter-spacing-label-large:0px;--letter-spacing-label:0px;--letter-spacing-body-large:0px;--letter-spacing-body:0px;--letter-spacing-caption:0px;--font-weight-400:400;--font-weight-500:500;--font-weight-600:600;--font-weight-700:700;--spacing-none:0px;--spacing-25:2px;--spacing-50:4px;--spacing-75:6px;--spacing-100:8px;--spacing-125:10px;--spacing-150:12px;--spacing-200:16px;--spacing-250:20px;--spacing-300:24px;--spacing-400:32px;--spacing-500:40px;--spacing-600:48px;--border-radius-none:0px;--border-radius-25:2px;--border-radius-50:4px;--border-radius-100:8px;--border-radius-150:12px;--border-radius-200:16px;--border-radius-300:24px;--border-radius-400:32px;--border-radius-full:9999px;--stroke-width-none:0px;--stroke-width-25:1px;--stroke-width-50:2px;--stroke-width-75:3px;--stroke-width-100:4px;--stroke-width-150:6px;--stroke-width-200:8px;--stroke-width-300:12px;--product-card-widget-min-width:135px;--product-card-results-min-width:250px;--image-set-mode-min-width:155px;--source-card-set-mode-max-width:500px;--filter-blur-none:0px;--filter-blur-100:8px;--filter-blur-150:12px;--filter-blur-200:16px;--color-bg-base:#ffffff;--color-bg-inverse:#161616;--color-border-00:#ffffff;--color-border-01:#f4f4f4;--color-border-02:#e0e0e0;--color-border-03:#c6c6c6;--color-border-inverse-00:#161616;--color-border-inverse-01:#393939;--color-field-01:#ffffff;--color-field-02:#f4f4f4;--color-icon-primary:#161616;--color-icon-secondary:#525252;--color-icon-helper:#8d8d8d;--color-icon-on-color:#ffffff;--color-icon-inverse:#ffffff;--color-icon-disabled:#16161640;--color-text-primary:#161616;--color-text-secondary:#707070;--color-text-helper:#8d8d8d;--color-text-placeholder:#a8a8a8;--color-text-on-color:#ffffff;--color-text-inverse:#ffffff;--color-text-disabled:#16161640;--button-bg-color-primary:#000000;--button-bg-color-primary-hover:#161616;--button-bg-color-primary-active:#1e1e1e;--button-bg-color-secondary:#f4f4f4;--button-bg-color-secondary-hover:#e0e0e0;--button-bg-color-secondary-active:#c6c6c6;--button-bg-color-ghost-hover:#f4f4f4;--button-bg-color-ghost-active:#eaeaea;--button-bg-color-frosted:#6f6f6f66;--button-bg-color-frosted-hover:#6f6f6f80;--button-bg-color-frosted-active:#6f6f6f99;--button-bg-color-disabled:#e0e0e0;--button-bg-color-positive:#dcfce7;--surface-bg-color-01:#f4f4f4;--surface-bg-color-01-hover:#eaeaea;--surface-bg-color-01-active:#e0e0e0;--surface-bg-color-02:#ffffff;--surface-bg-color-inverse:#262626;--surface-bg-color-inverse-hover:#303030;--surface-bg-color-inverse-active:#393939;--surface-bg-color-disabled:#e0e0e0;--surface-bg-color-shadow-01:#dddddd;--surface-bg-color-shadow-02:#c6c6c6;--chip-bg-color-primary:#161616;--chip-bg-color-primary-hover:#1e1e1e;--chip-bg-color-primary-active:#262626;--chip-bg-color-subtle:#f4f4f4;--chip-bg-color-subtle-hover:#eaeaea;--chip-bg-color-subtle-active:#e0e0e0;--chip-bg-color-outline-hover:#f4f4f4;--chip-bg-color-outline-active:#eaeaea;--label-bg-color-accent:#ff3944;--sidebar-animation-duration-default:0.5s;--search-modal-animation-duration-default:0.25s;--search-modal-animation-duration-mobile-default:0.35s;}:host{display:block;font-family:var(--font-family, var(--font-family-base));font-style:normal;display:contents;}.filters-modal-list,.sub-filters-wrapper,.main-filters-list,.filters-modal-sub-list,.selected-filters-wrapper{list-style:none;margin:0;padding:0}.main-filters-list{padding:var(--spacing-25);gap:var(--spacing-25);border-radius:8px;background:var(--surface-bg-color-01);display:inline-flex}vviinn-range-filter{width:100%;max-width:500px;padding-bottom:var(--spacing-150)}.filters-search-input-container{position:relative;box-sizing:border-box;width:100%;display:flex;align-items:center}.filters-search-icon{position:absolute;left:var(--spacing-100);color:var(--color-icon-helper);z-index:1;pointer-events:none;display:flex;align-items:center;justify-content:center}.filters-search-input{width:100%;padding:var(--spacing-100) var(--spacing-100) var(--spacing-100)\n var(--spacing-500);border:none;background:var(--color-bg-base);font-family:var(--font-family, var(--font-family-base));font-size:var(--font-size-body);font-weight:var(--font-weight-400);line-height:var(--line-height-body);color:var(--color-text-primary);box-sizing:border-box;outline:none}.filters-search-input::-moz-placeholder{color:var(--color-text-placeholder)}.filters-search-input::placeholder{color:var(--color-text-placeholder)}.filters-modal-main-button,.filters-sub-button,.filters-main-button,.filters-modal-close,.filters-sub-button-selected{font-family:var(--font-family, var(--font-family-base));cursor:pointer;border:none}.filters-sub-button,.filters-main-button{font-size:var(--font-size-body);font-weight:var(--font-weight-400);line-height:var(--line-height-body);letter-spacing:var(--letter-spacing-body);display:flex;justify-content:center;align-items:center;border-radius:6px}.filters-main-button{padding:var(--spacing-100);color:var(--color-text-secondary);background:none;transition:background 0.15s,\n color 0.15s}.filters-main-button.active,.filters-main-button:hover{background:var(--surface-bg-color-02);color:var(--color-text-primary)}.sub-filters-wrapper,.selected-filters-wrapper{gap:var(--spacing-100);display:flex;flex-direction:row;overflow-x:auto;scrollbar-width:thin}.sub-filters-wrapper{align-items:center;gap:var(--spacing-100);margin:16px -2px 0}.sub-filters-wrapper>li{padding:2px}.selected-filters-wrapper{align-items:center;gap:var(--spacing-100);flex-wrap:wrap}.filters-sub-button{color:var(--color-text-primary);background:var(--surface-bg-color-01);padding:var(--spacing-100);gap:var(--spacing-25);height:100%}.filters-sub-button>span,.filters-sub-button-selected>span{display:inline-flex;justify-content:center;align-items:center;gap:var(--spacing-25);white-space:nowrap}.filters-sub-button>span>span,.filters-sub-button-selected>span>span{padding:var(--spacing-25)}.filters-sub-button:hover{background:var(--surface-bg-color-01-hover)}.filters-sub-button:disabled{cursor:not-allowed;background:var(--surface-bg-color-disabled);color:var(--color-text-disabled)}.filters-more-button{display:flex;padding:var(--spacing-100);gap:var(--spacing-50);border-radius:var(--border-radius-100);align-items:flex-start;background-color:var(--button-bg-color-secondary);transition:background-color 0.1s;border:none;cursor:pointer}.filters-more-button:hover{background-color:var(--button-bg-color-secondary-hover)}.filters-modal-wrapper{display:flex;flex-direction:column;background:#ffffff}.filters-modal.button,.filters-modal.modal{display:none;position:fixed;top:0;bottom:0;right:0;left:0;z-index:99999;background-color:rgba(0, 0, 0, 0.5)}.filters-modal.button .filters-modal-wrapper{position:fixed;top:0;bottom:0;right:0;width:420px;z-index:99999;border-radius:var(--border-radius-400) var(--border-radius-none)\n var(--border-radius-none) var(--border-radius-400)}.filters-modal.preview{display:block}.filters-modal.open{display:block}.filters-modal-header{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;color:var(--color-text-primary);text-align:center;border-bottom:1px solid var(--color-border-01)}.filters-modal-header.show-header-content{min-height:64px}.filters-modal-title{margin:0;padding:0;font-size:var(--font-size-headline);font-weight:var(--font-weight-500);line-height:var(--line-height-headline);letter-spacing:var(--letter-spacing-headline)}.filters-modal-no-filters-message{font-size:var(--font-size-caption);color:var(--color-text-secondary);font-weight:var(--font-weight-500);line-height:var(--line-height-caption);letter-spacing:var(--letter-spacing-caption);text-align:center;padding:var(--spacing-300) var(--spacing-200);display:flex;align-items:center;justify-content:center}.filters-modal-main{overflow-y:auto;scrolbar-width:thin}.filters-modal-list{margin:var(--spacing-50) 0 0 var(--spacing-300)}.filters-modal-list>li{padding-right:var(--spacing-300)}.filters-modal:not(.preview-inline) .filters-modal-list>li:not(:last-child) .filters-modal-main-button-wrapper{border-bottom:1px solid var(--color-border-01)}.filters-modal-main-button{position:relative;width:100%;background:none;text-align:left;padding:var(--spacing-200) 0;color:var(--color-text-primary);font-size:var(--font-size-label-large);font-weight:var(--font-weight-500);line-height:var(--line-height-label-large);letter-spacing:var(--letter-spacing-label-large)}.filters-modal-main-button>svg{position:absolute;right:0;top:var(--spacing-200);color:var(--color-icon-helper);transform:rotate(90deg)}.filters-modal-main-button:hover>svg{color:var(--color-icon-primary);transition:color 0.2s}.filters-modal-main-button-wrapper.open .filters-modal-main-button>svg{transform:rotate(-90deg);color:var(--color-icon-primary)}.filters-modal-sub-list{display:none}.filters-modal-main-button-wrapper.open .filters-modal-sub-list{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding-bottom:var(--spacing-150)}.filters-modal-sub-list>li{display:contents}.filters-modal-close{position:absolute;color:#6f6f6f;right:var(--spacing-100);top:var(--spacing-200);cursor:pointer;background:none}.filters-modal-close:hover{color:#000}.filters-modal.preview .filters-modal-close{display:none}.filters-more-modal-button{background:none;border:none;cursor:pointer;display:flex;align-items:center;height:36px;padding:var(--spacing-75);gap:var(--spacing-50);border-radius:var(--border-radius-100);background-color:var(--surface-bg-color-01);transition:background-color 0.1s;font-family:var(--font-family, var(--font-family-base));font-size:var(--font-size-label);color:var(--color-text-primary)}.filters-more-modal-button.custom:not(.clickable){cursor:default}.filters-more-modal-button:hover{background-color:var(--surface-bg-color-01-hover)}.filters-more-modal-button.active{background:var(--surface-bg-color-inverse);color:var(--color-text-inverse)}.filters-more-modal-button.active .filters-option-icon-wrapper{border-color:var(--color-bg-base);background-color:var(--color-bg-base);color:var(--color-icon-primary)}.filters-more-modal-button>span{white-space:nowrap;padding:var(--spacing-25)}.filters-more-modal-button:disabled{cursor:not-allowed;opacity:0.5}.filters-more-modal-button img{box-sizing:border-box;-o-object-fit:cover;object-fit:cover;-o-object-position:center;object-position:center;border-radius:var(--border-radius-full);border:1px solid var(--color-border-01)}.filters-modal-actions{border-top:1px solid var(--color-border-01);padding:var(--spacing-125);z-index:10;border-radius:0px 0px 0px 32px}.filters-modal-apply,.filters-modal-reset{font-family:var(--font-family, var(--font-family-base))}.filters-modal-apply{cursor:pointer;width:100%;border:none;margin-bottom:20px;display:flex;padding:var(--spacing-150);justify-content:center;align-items:center;gap:var(--spacing-50);align-self:stretch;color:var(--color-text-inverse);text-align:center;border-radius:var(--border-radius-150);background:var(--button-bg-color-primary);font-size:var(--font-size-label-large);font-weight:var(--font-weight-500);line-height:var(--line-height-label-large);letter-spacing:var(--letter-spacing-label-large)}.filters-modal-apply:disabled{background:var(--button-bg-color-disabled);color:var(--color-text-disabled)}.filters-modal-reset{background:none;border:none;cursor:pointer;display:block;text-align:center;width:100%;padding:var(--spacing-125) 0;color:var(--color-text-secondary);text-align:center;font-size:var(--font-size-label);font-weight:var(--font-weight-500);line-height:var(--line-height-label);letter-spacing:var(--letter-spacing-label)}.filters-modal-reset:hover{color:var(--color-text-primary)}.selected-filters-wrapper>li .filters-sub-button-selected{border-radius:var(--border-radius-100);background:var(--surface-bg-color-inverse);display:flex;align-items:center;justify-content:center;cursor:pointer;padding:var(--spacing-100)}.selected-filters-wrapper>li.hidden{display:none}.filters-sub-button-selected{display:flex;align-items:center;gap:var(--spacing-25);background:var(--surface-bg-color-inverse);border-radius:var(--border-radius-100);color:var(--color-text-inverse);text-overflow:ellipsis;font-size:var(--font-size-body);font-weight:var(--font-weight-400);line-height:var(--line-height-body);letter-spacing:var(--letter-spacing-body);padding:var(--spacing-100)}.filters-sub-button-color-dot{box-sizing:border-box;width:24px;height:24px;border-radius:var(--border-radius-full);border:var(--stroke-width-50) solid var(--color-border-01)}.selected-filters-wrapper .filters-sub-button-selected{width:24px;height:24px;border:none}.filters-option-icon-wrapper{display:flex;box-sizing:border-box;align-items:center;justify-content:center;border-radius:4px;border:2px solid #e0e0e0;background:#fff;width:20px;height:20px}.filters-modal-main-button-added-options{color:var(--color-text-secondary);text-overflow:ellipsis;padding-right:var(--spacing-100);font-size:var(--font-size-body);font-weight:var(--font-weight-400);line-height:var(--line-height-body);letter-spacing:var(--letter-spacing-body)}.filters-modal-main-button-added-options>span::after{content:", "}.filters-modal-main-button-added-options>span:last-child::after{content:""}.filters-modal.preview-inline,.filters-modal.preview-inline .filters-modal-wrapper,.filters-modal.preview-inline .filters-modal-main{overflow:visible}.filters-modal.preview-inline .filters-modal-header,.filters-modal.preview-inline .filters-modal-actions{display:none}.filters-modal.preview-inline .filters-modal-list{margin:0;flex-direction:row;gap:var(--spacing-100);display:flex;flex-wrap:wrap}.filters-modal.preview-inline .extended-filters-row{box-sizing:border-box;padding-right:0;border-radius:var(--border-radius-100);background:var(--surface-bg-color-01)}.filters-modal.preview-inline .filters-modal-main-button{width:100%;display:flex;align-items:center;padding:var(--spacing-75);gap:var(--spacing-25);justify-content:space-between;font-size:var(--font-size-body);font-weight:var(--font-weight-400)}.filters-modal.preview-inline .filters-modal-main-button>svg{position:static}.filters-modal.preview-inline .extended-filters-row{position:relative}.filters-modal.preview-inline .filters-search-container{max-height:225px;width:-moz-max-content;width:max-content;min-width:140px;height:-moz-fit-content;height:fit-content;overflow:hidden;position:absolute;display:flex;flex-direction:column;flex-wrap:nowrap;align-items:stretch;padding:0;top:calc(100% + var(--spacing-75));left:0;right:0;z-index:1000;border-radius:var(--border-radius-150);border:1px solid var(--color-border-01);background-color:var(--color-bg-base);box-shadow:0 4px 8px 0 rgba(0, 0, 0, 0.1);box-sizing:border-box}.filters-modal.preview-inline .filters-search-input-container{position:sticky;top:0;background-color:var(--color-bg-base);padding:var(--spacing-50);border-bottom:1px solid var(--color-border-01);z-index:1}.filters-modal.preview-inline .filters-modal-sub-list{position:static;border:none;background:none;box-shadow:none;padding:var(--spacing-50);margin:0;max-height:165px;width:100%;box-sizing:border-box;display:flex;flex-direction:column;flex-wrap:nowrap;align-items:flex-start;gap:8px;overflow-y:auto;scrollbar-width:thin}.filters-modal.preview-inline .align-right .filters-search-container{left:auto;right:0}.filters-modal.preview-inline .filters-more-modal-button{width:100%;gap:var(--spacing-150);background-color:var(--color-bg-base)}.filters-modal.preview-inline .filters-option-icon-wrapper{margin-left:auto}.filters-modal.preview-inline .filters-more-modal-button:hover{background-color:var(--surface-bg-color-01-hover)}.filters-modal.preview-inline .filters-more-modal-button.active{color:var(--color-text-primary)}.filters-modal.preview-inline .filters-more-modal-button.active .filters-option-icon-wrapper{border-color:var(--color-bg-inverse);background-color:var(--color-bg-inverse);color:var(--color-icon-inverse)}.filters-modal.preview-inline .filters-modal-sub-list:has(vviinn-range-filter){padding:0 var(--spacing-75);width:220px;max-height:unset}.filters-modal.preview-inline vviinn-range-filter{width:100%}@media (max-width: 768px){.sub-filters-wrapper,.selected-filters-wrapper{flex-wrap:unset;overflow-x:auto;scrollbar-width:none;padding-bottom:0}.sub-filters-wrapper,.selected-filters-wrapper{-webkit-overflow-scrolling:touch;scrollbar-width:none;-ms-overflow-style:none}.sub-filters-wrapper::-webkit-scrollbar,.selected-filters-wrapper::-webkit-scrollbar{display:none}:host(.show-in-widget) .selected-filters-container{overflow-x:auto;width:100%}:host(.show-in-widget) .selected-filters-wrapper{padding:0 var(--spacing-300)}.filters-modal.button .filters-modal-wrapper,.filters-modal.modal .filters-modal-wrapper{width:100%;border-radius:24px 24px 0px 0px}.filters-modal.button .filters-modal-wrapper{top:10%}.filters-modal.modal .filters-modal-wrapper{position:fixed;width:100%;height:calc(100% - 64px);bottom:0;transform:translateY(-64px)}.filters-modal.modal .filters-modal-header{font-size:var(--font-size-body-large)}.filters-modal.modal .filters-modal-main{padding-bottom:120px}vviinn-range-filter{max-width:unset}:host(.show-in-widget.primary-filters) vviinn-range-filter{max-width:calc(100% - 48px);transform:translateX(24px)}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border:0}';const Zt=class{constructor(t){e(this,t),this.vviinnExtendedFiltersButtonClicked=r(this,"vviinnExtendedFiltersButtonClicked"),this.showInWidget=!1,this.handleButtonClick=()=>{this.vviinnExtendedFiltersButtonClicked.emit({isTriggeredByVpsWidget:this.showInWidget,triggerElement:this.buttonElement})}}render(){return t(o,{key:"f039b6cb2802ced74d5f13fdbcfdf6e78d131a56",exportparts:"extended-filters-button"},t("button",{key:"b01be92c86d5b12610a03b8cd3a6587f6c0ee900",ref:t=>this.buttonElement=t,class:"filters-more-button",onClick:this.handleButtonClick,part:"extended-filters-button","aria-label":S.t("a11y.openFilters"),type:"button"},t(Et,{key:"52b14ab5368c22543d8ce01c61d3fa8098806fb6"})))}};Zt.style=':host{--font-family-base:Inter, system-ui, sans-serif;--font-family-mono:monospace;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;--font-size-display:32px;--font-size-title:24px;--font-size-headline:18px;--font-size-label-large:16px;--font-size-label:14px;--font-size-body-large:16px;--font-size-body:14px;--font-size-caption:12px;--line-height-display:40px;--line-height-title:32px;--line-height-headline:24px;--line-height-label-large:24px;--line-height-label:20px;--line-height-body-large:24px;--line-height-body:20px;--line-height-caption:16px;--letter-spacing-title:0px;--letter-spacing-headline:0px;--letter-spacing-label-large:0px;--letter-spacing-label:0px;--letter-spacing-body-large:0px;--letter-spacing-body:0px;--letter-spacing-caption:0px;--font-weight-400:400;--font-weight-500:500;--font-weight-600:600;--font-weight-700:700;--spacing-none:0px;--spacing-25:2px;--spacing-50:4px;--spacing-75:6px;--spacing-100:8px;--spacing-125:10px;--spacing-150:12px;--spacing-200:16px;--spacing-250:20px;--spacing-300:24px;--spacing-400:32px;--spacing-500:40px;--spacing-600:48px;--border-radius-none:0px;--border-radius-25:2px;--border-radius-50:4px;--border-radius-100:8px;--border-radius-150:12px;--border-radius-200:16px;--border-radius-300:24px;--border-radius-400:32px;--border-radius-full:9999px;--stroke-width-none:0px;--stroke-width-25:1px;--stroke-width-50:2px;--stroke-width-75:3px;--stroke-width-100:4px;--stroke-width-150:6px;--stroke-width-200:8px;--stroke-width-300:12px;--product-card-widget-min-width:135px;--product-card-results-min-width:250px;--image-set-mode-min-width:155px;--source-card-set-mode-max-width:500px;--filter-blur-none:0px;--filter-blur-100:8px;--filter-blur-150:12px;--filter-blur-200:16px;--color-bg-base:#ffffff;--color-bg-inverse:#161616;--color-border-00:#ffffff;--color-border-01:#f4f4f4;--color-border-02:#e0e0e0;--color-border-03:#c6c6c6;--color-border-inverse-00:#161616;--color-border-inverse-01:#393939;--color-field-01:#ffffff;--color-field-02:#f4f4f4;--color-icon-primary:#161616;--color-icon-secondary:#525252;--color-icon-helper:#8d8d8d;--color-icon-on-color:#ffffff;--color-icon-inverse:#ffffff;--color-icon-disabled:#16161640;--color-text-primary:#161616;--color-text-secondary:#707070;--color-text-helper:#8d8d8d;--color-text-placeholder:#a8a8a8;--color-text-on-color:#ffffff;--color-text-inverse:#ffffff;--color-text-disabled:#16161640;--button-bg-color-primary:#000000;--button-bg-color-primary-hover:#161616;--button-bg-color-primary-active:#1e1e1e;--button-bg-color-secondary:#f4f4f4;--button-bg-color-secondary-hover:#e0e0e0;--button-bg-color-secondary-active:#c6c6c6;--button-bg-color-ghost-hover:#f4f4f4;--button-bg-color-ghost-active:#eaeaea;--button-bg-color-frosted:#6f6f6f66;--button-bg-color-frosted-hover:#6f6f6f80;--button-bg-color-frosted-active:#6f6f6f99;--button-bg-color-disabled:#e0e0e0;--button-bg-color-positive:#dcfce7;--surface-bg-color-01:#f4f4f4;--surface-bg-color-01-hover:#eaeaea;--surface-bg-color-01-active:#e0e0e0;--surface-bg-color-02:#ffffff;--surface-bg-color-inverse:#262626;--surface-bg-color-inverse-hover:#303030;--surface-bg-color-inverse-active:#393939;--surface-bg-color-disabled:#e0e0e0;--surface-bg-color-shadow-01:#dddddd;--surface-bg-color-shadow-02:#c6c6c6;--chip-bg-color-primary:#161616;--chip-bg-color-primary-hover:#1e1e1e;--chip-bg-color-primary-active:#262626;--chip-bg-color-subtle:#f4f4f4;--chip-bg-color-subtle-hover:#eaeaea;--chip-bg-color-subtle-active:#e0e0e0;--chip-bg-color-outline-hover:#f4f4f4;--chip-bg-color-outline-active:#eaeaea;--label-bg-color-accent:#ff3944;--sidebar-animation-duration-default:0.5s;--search-modal-animation-duration-default:0.25s;--search-modal-animation-duration-mobile-default:0.35s;}:host{display:block;font-family:var(--font-family, var(--font-family-base));font-style:normal;display:contents;}.filters-modal-list,.sub-filters-wrapper,.main-filters-list,.filters-modal-sub-list,.selected-filters-wrapper{list-style:none;margin:0;padding:0}.main-filters-list{padding:var(--spacing-25);gap:var(--spacing-25);border-radius:8px;background:var(--surface-bg-color-01);display:inline-flex}vviinn-range-filter{width:100%;max-width:500px;padding-bottom:var(--spacing-150)}.filters-search-input-container{position:relative;box-sizing:border-box;width:100%;display:flex;align-items:center}.filters-search-icon{position:absolute;left:var(--spacing-100);color:var(--color-icon-helper);z-index:1;pointer-events:none;display:flex;align-items:center;justify-content:center}.filters-search-input{width:100%;padding:var(--spacing-100) var(--spacing-100) var(--spacing-100)\n var(--spacing-500);border:none;background:var(--color-bg-base);font-family:var(--font-family, var(--font-family-base));font-size:var(--font-size-body);font-weight:var(--font-weight-400);line-height:var(--line-height-body);color:var(--color-text-primary);box-sizing:border-box;outline:none}.filters-search-input::-moz-placeholder{color:var(--color-text-placeholder)}.filters-search-input::placeholder{color:var(--color-text-placeholder)}.filters-modal-main-button,.filters-sub-button,.filters-main-button,.filters-modal-close,.filters-sub-button-selected{font-family:var(--font-family, var(--font-family-base));cursor:pointer;border:none}.filters-sub-button,.filters-main-button{font-size:var(--font-size-body);font-weight:var(--font-weight-400);line-height:var(--line-height-body);letter-spacing:var(--letter-spacing-body);display:flex;justify-content:center;align-items:center;border-radius:6px}.filters-main-button{padding:var(--spacing-100);color:var(--color-text-secondary);background:none;transition:background 0.15s,\n color 0.15s}.filters-main-button.active,.filters-main-button:hover{background:var(--surface-bg-color-02);color:var(--color-text-primary)}.sub-filters-wrapper,.selected-filters-wrapper{gap:var(--spacing-100);display:flex;flex-direction:row;overflow-x:auto;scrollbar-width:thin}.sub-filters-wrapper{align-items:center;gap:var(--spacing-100);margin:16px -2px 0}.sub-filters-wrapper>li{padding:2px}.selected-filters-wrapper{align-items:center;gap:var(--spacing-100);flex-wrap:wrap}.filters-sub-button{color:var(--color-text-primary);background:var(--surface-bg-color-01);padding:var(--spacing-100);gap:var(--spacing-25);height:100%}.filters-sub-button>span,.filters-sub-button-selected>span{display:inline-flex;justify-content:center;align-items:center;gap:var(--spacing-25);white-space:nowrap}.filters-sub-button>span>span,.filters-sub-button-selected>span>span{padding:var(--spacing-25)}.filters-sub-button:hover{background:var(--surface-bg-color-01-hover)}.filters-sub-button:disabled{cursor:not-allowed;background:var(--surface-bg-color-disabled);color:var(--color-text-disabled)}.filters-more-button{display:flex;padding:var(--spacing-100);gap:var(--spacing-50);border-radius:var(--border-radius-100);align-items:flex-start;background-color:var(--button-bg-color-secondary);transition:background-color 0.1s;border:none;cursor:pointer}.filters-more-button:hover{background-color:var(--button-bg-color-secondary-hover)}.filters-modal-wrapper{display:flex;flex-direction:column;background:#ffffff}.filters-modal.button,.filters-modal.modal{display:none;position:fixed;top:0;bottom:0;right:0;left:0;z-index:99999;background-color:rgba(0, 0, 0, 0.5)}.filters-modal.button .filters-modal-wrapper{position:fixed;top:0;bottom:0;right:0;width:420px;z-index:99999;border-radius:var(--border-radius-400) var(--border-radius-none)\n var(--border-radius-none) var(--border-radius-400)}.filters-modal.preview{display:block}.filters-modal.open{display:block}.filters-modal-header{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;color:var(--color-text-primary);text-align:center;border-bottom:1px solid var(--color-border-01)}.filters-modal-header.show-header-content{min-height:64px}.filters-modal-title{margin:0;padding:0;font-size:var(--font-size-headline);font-weight:var(--font-weight-500);line-height:var(--line-height-headline);letter-spacing:var(--letter-spacing-headline)}.filters-modal-no-filters-message{font-size:var(--font-size-caption);color:var(--color-text-secondary);font-weight:var(--font-weight-500);line-height:var(--line-height-caption);letter-spacing:var(--letter-spacing-caption);text-align:center;padding:var(--spacing-300) var(--spacing-200);display:flex;align-items:center;justify-content:center}.filters-modal-main{overflow-y:auto;scrolbar-width:thin}.filters-modal-list{margin:var(--spacing-50) 0 0 var(--spacing-300)}.filters-modal-list>li{padding-right:var(--spacing-300)}.filters-modal:not(.preview-inline) .filters-modal-list>li:not(:last-child) .filters-modal-main-button-wrapper{border-bottom:1px solid var(--color-border-01)}.filters-modal-main-button{position:relative;width:100%;background:none;text-align:left;padding:var(--spacing-200) 0;color:var(--color-text-primary);font-size:var(--font-size-label-large);font-weight:var(--font-weight-500);line-height:var(--line-height-label-large);letter-spacing:var(--letter-spacing-label-large)}.filters-modal-main-button>svg{position:absolute;right:0;top:var(--spacing-200);color:var(--color-icon-helper);transform:rotate(90deg)}.filters-modal-main-button:hover>svg{color:var(--color-icon-primary);transition:color 0.2s}.filters-modal-main-button-wrapper.open .filters-modal-main-button>svg{transform:rotate(-90deg);color:var(--color-icon-primary)}.filters-modal-sub-list{display:none}.filters-modal-main-button-wrapper.open .filters-modal-sub-list{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding-bottom:var(--spacing-150)}.filters-modal-sub-list>li{display:contents}.filters-modal-close{position:absolute;color:#6f6f6f;right:var(--spacing-100);top:var(--spacing-200);cursor:pointer;background:none}.filters-modal-close:hover{color:#000}.filters-modal.preview .filters-modal-close{display:none}.filters-more-modal-button{background:none;border:none;cursor:pointer;display:flex;align-items:center;height:36px;padding:var(--spacing-75);gap:var(--spacing-50);border-radius:var(--border-radius-100);background-color:var(--surface-bg-color-01);transition:background-color 0.1s;font-family:var(--font-family, var(--font-family-base));font-size:var(--font-size-label);color:var(--color-text-primary)}.filters-more-modal-button.custom:not(.clickable){cursor:default}.filters-more-modal-button:hover{background-color:var(--surface-bg-color-01-hover)}.filters-more-modal-button.active{background:var(--surface-bg-color-inverse);color:var(--color-text-inverse)}.filters-more-modal-button.active .filters-option-icon-wrapper{border-color:var(--color-bg-base);background-color:var(--color-bg-base);color:var(--color-icon-primary)}.filters-more-modal-button>span{white-space:nowrap;padding:var(--spacing-25)}.filters-more-modal-button:disabled{cursor:not-allowed;opacity:0.5}.filters-more-modal-button img{box-sizing:border-box;-o-object-fit:cover;object-fit:cover;-o-object-position:center;object-position:center;border-radius:var(--border-radius-full);border:1px solid var(--color-border-01)}.filters-modal-actions{border-top:1px solid var(--color-border-01);padding:var(--spacing-125);z-index:10;border-radius:0px 0px 0px 32px}.filters-modal-apply,.filters-modal-reset{font-family:var(--font-family, var(--font-family-base))}.filters-modal-apply{cursor:pointer;width:100%;border:none;margin-bottom:20px;display:flex;padding:var(--spacing-150);justify-content:center;align-items:center;gap:var(--spacing-50);align-self:stretch;color:var(--color-text-inverse);text-align:center;border-radius:var(--border-radius-150);background:var(--button-bg-color-primary);font-size:var(--font-size-label-large);font-weight:var(--font-weight-500);line-height:var(--line-height-label-large);letter-spacing:var(--letter-spacing-label-large)}.filters-modal-apply:disabled{background:var(--button-bg-color-disabled);color:var(--color-text-disabled)}.filters-modal-reset{background:none;border:none;cursor:pointer;display:block;text-align:center;width:100%;padding:var(--spacing-125) 0;color:var(--color-text-secondary);text-align:center;font-size:var(--font-size-label);font-weight:var(--font-weight-500);line-height:var(--line-height-label);letter-spacing:var(--letter-spacing-label)}.filters-modal-reset:hover{color:var(--color-text-primary)}.selected-filters-wrapper>li .filters-sub-button-selected{border-radius:var(--border-radius-100);background:var(--surface-bg-color-inverse);display:flex;align-items:center;justify-content:center;cursor:pointer;padding:var(--spacing-100)}.selected-filters-wrapper>li.hidden{display:none}.filters-sub-button-selected{display:flex;align-items:center;gap:var(--spacing-25);background:var(--surface-bg-color-inverse);border-radius:var(--border-radius-100);color:var(--color-text-inverse);text-overflow:ellipsis;font-size:var(--font-size-body);font-weight:var(--font-weight-400);line-height:var(--line-height-body);letter-spacing:var(--letter-spacing-body);padding:var(--spacing-100)}.filters-sub-button-color-dot{box-sizing:border-box;width:24px;height:24px;border-radius:var(--border-radius-full);border:var(--stroke-width-50) solid var(--color-border-01)}.selected-filters-wrapper .filters-sub-button-selected{width:24px;height:24px;border:none}.filters-option-icon-wrapper{display:flex;box-sizing:border-box;align-items:center;justify-content:center;border-radius:4px;border:2px solid #e0e0e0;background:#fff;width:20px;height:20px}.filters-modal-main-button-added-options{color:var(--color-text-secondary);text-overflow:ellipsis;padding-right:var(--spacing-100);font-size:var(--font-size-body);font-weight:var(--font-weight-400);line-height:var(--line-height-body);letter-spacing:var(--letter-spacing-body)}.filters-modal-main-button-added-options>span::after{content:", "}.filters-modal-main-button-added-options>span:last-child::after{content:""}.filters-modal.preview-inline,.filters-modal.preview-inline .filters-modal-wrapper,.filters-modal.preview-inline .filters-modal-main{overflow:visible}.filters-modal.preview-inline .filters-modal-header,.filters-modal.preview-inline .filters-modal-actions{display:none}.filters-modal.preview-inline .filters-modal-list{margin:0;flex-direction:row;gap:var(--spacing-100);display:flex;flex-wrap:wrap}.filters-modal.preview-inline .extended-filters-row{box-sizing:border-box;padding-right:0;border-radius:var(--border-radius-100);background:var(--surface-bg-color-01)}.filters-modal.preview-inline .filters-modal-main-button{width:100%;display:flex;align-items:center;padding:var(--spacing-75);gap:var(--spacing-25);justify-content:space-between;font-size:var(--font-size-body);font-weight:var(--font-weight-400)}.filters-modal.preview-inline .filters-modal-main-button>svg{position:static}.filters-modal.preview-inline .extended-filters-row{position:relative}.filters-modal.preview-inline .filters-search-container{max-height:225px;width:-moz-max-content;width:max-content;min-width:140px;height:-moz-fit-content;height:fit-content;overflow:hidden;position:absolute;display:flex;flex-direction:column;flex-wrap:nowrap;align-items:stretch;padding:0;top:calc(100% + var(--spacing-75));left:0;right:0;z-index:1000;border-radius:var(--border-radius-150);border:1px solid var(--color-border-01);background-color:var(--color-bg-base);box-shadow:0 4px 8px 0 rgba(0, 0, 0, 0.1);box-sizing:border-box}.filters-modal.preview-inline .filters-search-input-container{position:sticky;top:0;background-color:var(--color-bg-base);padding:var(--spacing-50);border-bottom:1px solid var(--color-border-01);z-index:1}.filters-modal.preview-inline .filters-modal-sub-list{position:static;border:none;background:none;box-shadow:none;padding:var(--spacing-50);margin:0;max-height:165px;width:100%;box-sizing:border-box;display:flex;flex-direction:column;flex-wrap:nowrap;align-items:flex-start;gap:8px;overflow-y:auto;scrollbar-width:thin}.filters-modal.preview-inline .align-right .filters-search-container{left:auto;right:0}.filters-modal.preview-inline .filters-more-modal-button{width:100%;gap:var(--spacing-150);background-color:var(--color-bg-base)}.filters-modal.preview-inline .filters-option-icon-wrapper{margin-left:auto}.filters-modal.preview-inline .filters-more-modal-button:hover{background-color:var(--surface-bg-color-01-hover)}.filters-modal.preview-inline .filters-more-modal-button.active{color:var(--color-text-primary)}.filters-modal.preview-inline .filters-more-modal-button.active .filters-option-icon-wrapper{border-color:var(--color-bg-inverse);background-color:var(--color-bg-inverse);color:var(--color-icon-inverse)}.filters-modal.preview-inline .filters-modal-sub-list:has(vviinn-range-filter){padding:0 var(--spacing-75);width:220px;max-height:unset}.filters-modal.preview-inline vviinn-range-filter{width:100%}@media (max-width: 768px){.sub-filters-wrapper,.selected-filters-wrapper{flex-wrap:unset;overflow-x:auto;scrollbar-width:none;padding-bottom:0}.sub-filters-wrapper,.selected-filters-wrapper{-webkit-overflow-scrolling:touch;scrollbar-width:none;-ms-overflow-style:none}.sub-filters-wrapper::-webkit-scrollbar,.selected-filters-wrapper::-webkit-scrollbar{display:none}:host(.show-in-widget) .selected-filters-container{overflow-x:auto;width:100%}:host(.show-in-widget) .selected-filters-wrapper{padding:0 var(--spacing-300)}.filters-modal.button .filters-modal-wrapper,.filters-modal.modal .filters-modal-wrapper{width:100%;border-radius:24px 24px 0px 0px}.filters-modal.button .filters-modal-wrapper{top:10%}.filters-modal.modal .filters-modal-wrapper{position:fixed;width:100%;height:calc(100% - 64px);bottom:0;transform:translateY(-64px)}.filters-modal.modal .filters-modal-header{font-size:var(--font-size-body-large)}.filters-modal.modal .filters-modal-main{padding-bottom:120px}vviinn-range-filter{max-width:unset}:host(.show-in-widget.primary-filters) vviinn-range-filter{max-width:calc(100% - 48px);transform:translateX(24px)}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border:0}';const qt=class{constructor(t){e(this,t),this.vviinnFiltersChanged=r(this,"vviinnFiltersChanged"),this.vviinnFilterTriggered=r(this,"vviinnFilterTriggered"),this.globalSlotsChanged=r(this,"globalSlotsChanged"),this.vviinnSelectedFiltersReset=r(this,"vviinnSelectedFiltersReset"),this.filtersString="",this.showInWidget=!1,this.showIntervalInputs=!1,this.innerFilters=[],this.requestFilters=[],this.getFilters=()=>this.innerFilters.length?this.innerFilters:this.state.dynamicFilters,this.handleKeyDown=t=>{"Escape"===t.key&&this.selectedFilterColumn&&(this.selectedFilterColumn=void 0,this.announceFilterChange(S.t("a11y.filterSelectionCleared")))},this.handleSelectedFiltersReset=({detail:t})=>{this.skipStateChanges(t.isTriggeredByVpsWidget)||(this.requestFilters=[],this.selectedFilterColumn=void 0)},this.skipStateChanges=t=>this.showInWidget!==t,this.intervalChangeHandler=t=>{this.handleSubFilterSelection(t,this.selectedFilter)},this.handleSubFilterSelection=(t,e)=>{this.requestFilters=$({filterValue:t,selectedFilter:e,requestFilters:this.requestFilters,vviinnFilterTriggered:this.vviinnFilterTriggered,vviinnFiltersChanged:this.vviinnFiltersChanged,el:this.el,isTriggeredByVpsWidget:this.showInWidget})},this.handleFilterTriggered=({detail:t})=>{var e;const{kind:r,isTriggeredByVpsWidget:n,action:i,customTrigger:o}=t;this.skipStateChanges(n)||o||"select"===i&&(this.selectedFilterColumn=null===(e=this.getFilters().find((t=>t.column===r)))||void 0===e?void 0:e.column)},this.handleFiltersChanged=({detail:t})=>{var e;const{filters:r,el:n,isTriggeredByVpsWidget:i}=t;n===this.el||this.skipStateChanges(i)||(this.requestFilters=r,this.selectedFilterColumn||(this.selectedFilterColumn=null===(e=this.getFilters().find((t=>{var e;return(null==t?void 0:t.column)===(null===(e=r[0])||void 0===e?void 0:e.column)})))||void 0===e?void 0:e.column))}}get selectedFilter(){return this.getFilters().find((t=>t.column===this.selectedFilterColumn))}handleMainFilterSelection(t){this.selectedFilterColumn=t.column,this.vviinnFilterTriggered.emit({action:"show",kind:t.column,isTriggeredByVpsWidget:this.showInWidget}),this.announceFilterChange(S.t("a11y.filterExpanded",{label:t.label}))}announceFilterChange(t){H(t,this.filterAnnouncementRef)}showActiveOnMainButton({column:t}){return this.selectedFilterColumn&&this.selectedFilterColumn===t?"active":""}filtersStringWatcher(){if(""!==this.filtersString)try{this.innerFilters=JSON.parse(this.filtersString)}catch(t){console.error("Invalid filters string",t)}}connectedCallback(){const{state:t,onChange:e}=u(this.showInWidget);this.state=t,J(t,e,(t=>this.requestFilters=t)),this.eventAbortController=new AbortController;const{signal:r}=this.eventAbortController;ct(document,[["vviinnFiltersChanged",this.handleFiltersChanged],["vviinnSelectedFiltersReset",this.handleSelectedFiltersReset],["vviinnFilterTriggered",this.handleFilterTriggered]],r),this.filtersStringWatcher()}componentWillLoad(){st(this,this.el)}componentDidRender(){this.replaceSlotsContent()}disconnectedCallback(){var t;null===(t=this.eventAbortController)||void 0===t||t.abort()}replaceSlotsContent(){const t=this.el.querySelectorAll("[slot]");this.globalSlotsChanged.emit({slots:Array.from(t),element:this.el})}render(){const e=this.getFilters().filter((t=>t.isPrimary)),{selectedFilter:r,handleSubFilterSelection:n}=this,i=Dt(r);return t(o,{key:"43ca9aa547e2436a198c6b98599edc256ead2908",class:{"show-in-widget":this.showInWidget,"primary-filters":!0},onKeyDown:this.handleKeyDown,exportparts:pt},ft("filters"),t("div",{key:"cbc3b18419bd5797c97270e7104c723a08185750",ref:t=>this.filterAnnouncementRef=t,"aria-live":"polite",class:"sr-only"}),(null==e?void 0:e.length)>0&&t("nav",{key:"1d879a02b353b8e11dc633d634012b254385488d","aria-label":S.t("a11y.productFilters")},t("ul",{key:"2487026565e1f54ea19359a4a710d477c26ef4ff",class:"main-filters-list",part:"filters-list"},e.map((e=>{const r=this.selectedFilterColumn===e.column;return t("li",null,t("button",{class:`filters-main-button ${this.showActiveOnMainButton(e)}`,onClick:()=>this.handleMainFilterSelection(e),part:"filters-main-button","aria-expanded":r?"true":"false","aria-label":S.t("a11y.filterButton",{label:e.label}),type:"button"},e.label))})))),!!r&&r.isPrimary&&t("section",{key:"1b54108c059e98426e83bfeac574be5ae5143504",class:"filters-footer",part:"filters-footer","aria-label":S.t("a11y.filterOptions",{label:r.label})},"interval"===(null==r?void 0:r.type)?t("vviinn-range-filter",{histogram:i,intervalChangeHandler:this.intervalChangeHandler,selectedInterval:$t(this.requestFilters,r.column),showCurrency:q(r.column),showIntervalInputs:this.showIntervalInputs}):t("ul",{class:"sub-filters-wrapper",part:"filters-footer-list"},!!i&&i.map((({value:t,label:e,active:i})=>{const o=U(this.requestFilters,t,r);return Y({handleSubFilterSelection:n,selectedFilter:r,value:t,label:e,active:i,isSelected:o})})))))}get el(){return a(this)}static get watchers(){return{filtersString:["filtersStringWatcher"]}}};qt.style=':host{--font-family-base:Inter, system-ui, sans-serif;--font-family-mono:monospace;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;--font-size-display:32px;--font-size-title:24px;--font-size-headline:18px;--font-size-label-large:16px;--font-size-label:14px;--font-size-body-large:16px;--font-size-body:14px;--font-size-caption:12px;--line-height-display:40px;--line-height-title:32px;--line-height-headline:24px;--line-height-label-large:24px;--line-height-label:20px;--line-height-body-large:24px;--line-height-body:20px;--line-height-caption:16px;--letter-spacing-title:0px;--letter-spacing-headline:0px;--letter-spacing-label-large:0px;--letter-spacing-label:0px;--letter-spacing-body-large:0px;--letter-spacing-body:0px;--letter-spacing-caption:0px;--font-weight-400:400;--font-weight-500:500;--font-weight-600:600;--font-weight-700:700;--spacing-none:0px;--spacing-25:2px;--spacing-50:4px;--spacing-75:6px;--spacing-100:8px;--spacing-125:10px;--spacing-150:12px;--spacing-200:16px;--spacing-250:20px;--spacing-300:24px;--spacing-400:32px;--spacing-500:40px;--spacing-600:48px;--border-radius-none:0px;--border-radius-25:2px;--border-radius-50:4px;--border-radius-100:8px;--border-radius-150:12px;--border-radius-200:16px;--border-radius-300:24px;--border-radius-400:32px;--border-radius-full:9999px;--stroke-width-none:0px;--stroke-width-25:1px;--stroke-width-50:2px;--stroke-width-75:3px;--stroke-width-100:4px;--stroke-width-150:6px;--stroke-width-200:8px;--stroke-width-300:12px;--product-card-widget-min-width:135px;--product-card-results-min-width:250px;--image-set-mode-min-width:155px;--source-card-set-mode-max-width:500px;--filter-blur-none:0px;--filter-blur-100:8px;--filter-blur-150:12px;--filter-blur-200:16px;--color-bg-base:#ffffff;--color-bg-inverse:#161616;--color-border-00:#ffffff;--color-border-01:#f4f4f4;--color-border-02:#e0e0e0;--color-border-03:#c6c6c6;--color-border-inverse-00:#161616;--color-border-inverse-01:#393939;--color-field-01:#ffffff;--color-field-02:#f4f4f4;--color-icon-primary:#161616;--color-icon-secondary:#525252;--color-icon-helper:#8d8d8d;--color-icon-on-color:#ffffff;--color-icon-inverse:#ffffff;--color-icon-disabled:#16161640;--color-text-primary:#161616;--color-text-secondary:#707070;--color-text-helper:#8d8d8d;--color-text-placeholder:#a8a8a8;--color-text-on-color:#ffffff;--color-text-inverse:#ffffff;--color-text-disabled:#16161640;--button-bg-color-primary:#000000;--button-bg-color-primary-hover:#161616;--button-bg-color-primary-active:#1e1e1e;--button-bg-color-secondary:#f4f4f4;--button-bg-color-secondary-hover:#e0e0e0;--button-bg-color-secondary-active:#c6c6c6;--button-bg-color-ghost-hover:#f4f4f4;--button-bg-color-ghost-active:#eaeaea;--button-bg-color-frosted:#6f6f6f66;--button-bg-color-frosted-hover:#6f6f6f80;--button-bg-color-frosted-active:#6f6f6f99;--button-bg-color-disabled:#e0e0e0;--button-bg-color-positive:#dcfce7;--surface-bg-color-01:#f4f4f4;--surface-bg-color-01-hover:#eaeaea;--surface-bg-color-01-active:#e0e0e0;--surface-bg-color-02:#ffffff;--surface-bg-color-inverse:#262626;--surface-bg-color-inverse-hover:#303030;--surface-bg-color-inverse-active:#393939;--surface-bg-color-disabled:#e0e0e0;--surface-bg-color-shadow-01:#dddddd;--surface-bg-color-shadow-02:#c6c6c6;--chip-bg-color-primary:#161616;--chip-bg-color-primary-hover:#1e1e1e;--chip-bg-color-primary-active:#262626;--chip-bg-color-subtle:#f4f4f4;--chip-bg-color-subtle-hover:#eaeaea;--chip-bg-color-subtle-active:#e0e0e0;--chip-bg-color-outline-hover:#f4f4f4;--chip-bg-color-outline-active:#eaeaea;--label-bg-color-accent:#ff3944;--sidebar-animation-duration-default:0.5s;--search-modal-animation-duration-default:0.25s;--search-modal-animation-duration-mobile-default:0.35s;}:host{display:block;font-family:var(--font-family, var(--font-family-base));font-style:normal;display:contents;}.filters-modal-list,.sub-filters-wrapper,.main-filters-list,.filters-modal-sub-list,.selected-filters-wrapper{list-style:none;margin:0;padding:0}.main-filters-list{padding:var(--spacing-25);gap:var(--spacing-25);border-radius:8px;background:var(--surface-bg-color-01);display:inline-flex}vviinn-range-filter{width:100%;max-width:500px;padding-bottom:var(--spacing-150)}.filters-search-input-container{position:relative;box-sizing:border-box;width:100%;display:flex;align-items:center}.filters-search-icon{position:absolute;left:var(--spacing-100);color:var(--color-icon-helper);z-index:1;pointer-events:none;display:flex;align-items:center;justify-content:center}.filters-search-input{width:100%;padding:var(--spacing-100) var(--spacing-100) var(--spacing-100)\n var(--spacing-500);border:none;background:var(--color-bg-base);font-family:var(--font-family, var(--font-family-base));font-size:var(--font-size-body);font-weight:var(--font-weight-400);line-height:var(--line-height-body);color:var(--color-text-primary);box-sizing:border-box;outline:none}.filters-search-input::-moz-placeholder{color:var(--color-text-placeholder)}.filters-search-input::placeholder{color:var(--color-text-placeholder)}.filters-modal-main-button,.filters-sub-button,.filters-main-button,.filters-modal-close,.filters-sub-button-selected{font-family:var(--font-family, var(--font-family-base));cursor:pointer;border:none}.filters-sub-button,.filters-main-button{font-size:var(--font-size-body);font-weight:var(--font-weight-400);line-height:var(--line-height-body);letter-spacing:var(--letter-spacing-body);display:flex;justify-content:center;align-items:center;border-radius:6px}.filters-main-button{padding:var(--spacing-100);color:var(--color-text-secondary);background:none;transition:background 0.15s,\n color 0.15s}.filters-main-button.active,.filters-main-button:hover{background:var(--surface-bg-color-02);color:var(--color-text-primary)}.sub-filters-wrapper,.selected-filters-wrapper{gap:var(--spacing-100);display:flex;flex-direction:row;overflow-x:auto;scrollbar-width:thin}.sub-filters-wrapper{align-items:center;gap:var(--spacing-100);margin:16px -2px 0}.sub-filters-wrapper>li{padding:2px}.selected-filters-wrapper{align-items:center;gap:var(--spacing-100);flex-wrap:wrap}.filters-sub-button{color:var(--color-text-primary);background:var(--surface-bg-color-01);padding:var(--spacing-100);gap:var(--spacing-25);height:100%}.filters-sub-button>span,.filters-sub-button-selected>span{display:inline-flex;justify-content:center;align-items:center;gap:var(--spacing-25);white-space:nowrap}.filters-sub-button>span>span,.filters-sub-button-selected>span>span{padding:var(--spacing-25)}.filters-sub-button:hover{background:var(--surface-bg-color-01-hover)}.filters-sub-button:disabled{cursor:not-allowed;background:var(--surface-bg-color-disabled);color:var(--color-text-disabled)}.filters-more-button{display:flex;padding:var(--spacing-100);gap:var(--spacing-50);border-radius:var(--border-radius-100);align-items:flex-start;background-color:var(--button-bg-color-secondary);transition:background-color 0.1s;border:none;cursor:pointer}.filters-more-button:hover{background-color:var(--button-bg-color-secondary-hover)}.filters-modal-wrapper{display:flex;flex-direction:column;background:#ffffff}.filters-modal.button,.filters-modal.modal{display:none;position:fixed;top:0;bottom:0;right:0;left:0;z-index:99999;background-color:rgba(0, 0, 0, 0.5)}.filters-modal.button .filters-modal-wrapper{position:fixed;top:0;bottom:0;right:0;width:420px;z-index:99999;border-radius:var(--border-radius-400) var(--border-radius-none)\n var(--border-radius-none) var(--border-radius-400)}.filters-modal.preview{display:block}.filters-modal.open{display:block}.filters-modal-header{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;color:var(--color-text-primary);text-align:center;border-bottom:1px solid var(--color-border-01)}.filters-modal-header.show-header-content{min-height:64px}.filters-modal-title{margin:0;padding:0;font-size:var(--font-size-headline);font-weight:var(--font-weight-500);line-height:var(--line-height-headline);letter-spacing:var(--letter-spacing-headline)}.filters-modal-no-filters-message{font-size:var(--font-size-caption);color:var(--color-text-secondary);font-weight:var(--font-weight-500);line-height:var(--line-height-caption);letter-spacing:var(--letter-spacing-caption);text-align:center;padding:var(--spacing-300) var(--spacing-200);display:flex;align-items:center;justify-content:center}.filters-modal-main{overflow-y:auto;scrolbar-width:thin}.filters-modal-list{margin:var(--spacing-50) 0 0 var(--spacing-300)}.filters-modal-list>li{padding-right:var(--spacing-300)}.filters-modal:not(.preview-inline) .filters-modal-list>li:not(:last-child) .filters-modal-main-button-wrapper{border-bottom:1px solid var(--color-border-01)}.filters-modal-main-button{position:relative;width:100%;background:none;text-align:left;padding:var(--spacing-200) 0;color:var(--color-text-primary);font-size:var(--font-size-label-large);font-weight:var(--font-weight-500);line-height:var(--line-height-label-large);letter-spacing:var(--letter-spacing-label-large)}.filters-modal-main-button>svg{position:absolute;right:0;top:var(--spacing-200);color:var(--color-icon-helper);transform:rotate(90deg)}.filters-modal-main-button:hover>svg{color:var(--color-icon-primary);transition:color 0.2s}.filters-modal-main-button-wrapper.open .filters-modal-main-button>svg{transform:rotate(-90deg);color:var(--color-icon-primary)}.filters-modal-sub-list{display:none}.filters-modal-main-button-wrapper.open .filters-modal-sub-list{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding-bottom:var(--spacing-150)}.filters-modal-sub-list>li{display:contents}.filters-modal-close{position:absolute;color:#6f6f6f;right:var(--spacing-100);top:var(--spacing-200);cursor:pointer;background:none}.filters-modal-close:hover{color:#000}.filters-modal.preview .filters-modal-close{display:none}.filters-more-modal-button{background:none;border:none;cursor:pointer;display:flex;align-items:center;height:36px;padding:var(--spacing-75);gap:var(--spacing-50);border-radius:var(--border-radius-100);background-color:var(--surface-bg-color-01);transition:background-color 0.1s;font-family:var(--font-family, var(--font-family-base));font-size:var(--font-size-label);color:var(--color-text-primary)}.filters-more-modal-button.custom:not(.clickable){cursor:default}.filters-more-modal-button:hover{background-color:var(--surface-bg-color-01-hover)}.filters-more-modal-button.active{background:var(--surface-bg-color-inverse);color:var(--color-text-inverse)}.filters-more-modal-button.active .filters-option-icon-wrapper{border-color:var(--color-bg-base);background-color:var(--color-bg-base);color:var(--color-icon-primary)}.filters-more-modal-button>span{white-space:nowrap;padding:var(--spacing-25)}.filters-more-modal-button:disabled{cursor:not-allowed;opacity:0.5}.filters-more-modal-button img{box-sizing:border-box;-o-object-fit:cover;object-fit:cover;-o-object-position:center;object-position:center;border-radius:var(--border-radius-full);border:1px solid var(--color-border-01)}.filters-modal-actions{border-top:1px solid var(--color-border-01);padding:var(--spacing-125);z-index:10;border-radius:0px 0px 0px 32px}.filters-modal-apply,.filters-modal-reset{font-family:var(--font-family, var(--font-family-base))}.filters-modal-apply{cursor:pointer;width:100%;border:none;margin-bottom:20px;display:flex;padding:var(--spacing-150);justify-content:center;align-items:center;gap:var(--spacing-50);align-self:stretch;color:var(--color-text-inverse);text-align:center;border-radius:var(--border-radius-150);background:var(--button-bg-color-primary);font-size:var(--font-size-label-large);font-weight:var(--font-weight-500);line-height:var(--line-height-label-large);letter-spacing:var(--letter-spacing-label-large)}.filters-modal-apply:disabled{background:var(--button-bg-color-disabled);color:var(--color-text-disabled)}.filters-modal-reset{background:none;border:none;cursor:pointer;display:block;text-align:center;width:100%;padding:var(--spacing-125) 0;color:var(--color-text-secondary);text-align:center;font-size:var(--font-size-label);font-weight:var(--font-weight-500);line-height:var(--line-height-label);letter-spacing:var(--letter-spacing-label)}.filters-modal-reset:hover{color:var(--color-text-primary)}.selected-filters-wrapper>li .filters-sub-button-selected{border-radius:var(--border-radius-100);background:var(--surface-bg-color-inverse);display:flex;align-items:center;justify-content:center;cursor:pointer;padding:var(--spacing-100)}.selected-filters-wrapper>li.hidden{display:none}.filters-sub-button-selected{display:flex;align-items:center;gap:var(--spacing-25);background:var(--surface-bg-color-inverse);border-radius:var(--border-radius-100);color:var(--color-text-inverse);text-overflow:ellipsis;font-size:var(--font-size-body);font-weight:var(--font-weight-400);line-height:var(--line-height-body);letter-spacing:var(--letter-spacing-body);padding:var(--spacing-100)}.filters-sub-button-color-dot{box-sizing:border-box;width:24px;height:24px;border-radius:var(--border-radius-full);border:var(--stroke-width-50) solid var(--color-border-01)}.selected-filters-wrapper .filters-sub-button-selected{width:24px;height:24px;border:none}.filters-option-icon-wrapper{display:flex;box-sizing:border-box;align-items:center;justify-content:center;border-radius:4px;border:2px solid #e0e0e0;background:#fff;width:20px;height:20px}.filters-modal-main-button-added-options{color:var(--color-text-secondary);text-overflow:ellipsis;padding-right:var(--spacing-100);font-size:var(--font-size-body);font-weight:var(--font-weight-400);line-height:var(--line-height-body);letter-spacing:var(--letter-spacing-body)}.filters-modal-main-button-added-options>span::after{content:", "}.filters-modal-main-button-added-options>span:last-child::after{content:""}.filters-modal.preview-inline,.filters-modal.preview-inline .filters-modal-wrapper,.filters-modal.preview-inline .filters-modal-main{overflow:visible}.filters-modal.preview-inline .filters-modal-header,.filters-modal.preview-inline .filters-modal-actions{display:none}.filters-modal.preview-inline .filters-modal-list{margin:0;flex-direction:row;gap:var(--spacing-100);display:flex;flex-wrap:wrap}.filters-modal.preview-inline .extended-filters-row{box-sizing:border-box;padding-right:0;border-radius:var(--border-radius-100);background:var(--surface-bg-color-01)}.filters-modal.preview-inline .filters-modal-main-button{width:100%;display:flex;align-items:center;padding:var(--spacing-75);gap:var(--spacing-25);justify-content:space-between;font-size:var(--font-size-body);font-weight:var(--font-weight-400)}.filters-modal.preview-inline .filters-modal-main-button>svg{position:static}.filters-modal.preview-inline .extended-filters-row{position:relative}.filters-modal.preview-inline .filters-search-container{max-height:225px;width:-moz-max-content;width:max-content;min-width:140px;height:-moz-fit-content;height:fit-content;overflow:hidden;position:absolute;display:flex;flex-direction:column;flex-wrap:nowrap;align-items:stretch;padding:0;top:calc(100% + var(--spacing-75));left:0;right:0;z-index:1000;border-radius:var(--border-radius-150);border:1px solid var(--color-border-01);background-color:var(--color-bg-base);box-shadow:0 4px 8px 0 rgba(0, 0, 0, 0.1);box-sizing:border-box}.filters-modal.preview-inline .filters-search-input-container{position:sticky;top:0;background-color:var(--color-bg-base);padding:var(--spacing-50);border-bottom:1px solid var(--color-border-01);z-index:1}.filters-modal.preview-inline .filters-modal-sub-list{position:static;border:none;background:none;box-shadow:none;padding:var(--spacing-50);margin:0;max-height:165px;width:100%;box-sizing:border-box;display:flex;flex-direction:column;flex-wrap:nowrap;align-items:flex-start;gap:8px;overflow-y:auto;scrollbar-width:thin}.filters-modal.preview-inline .align-right .filters-search-container{left:auto;right:0}.filters-modal.preview-inline .filters-more-modal-button{width:100%;gap:var(--spacing-150);background-color:var(--color-bg-base)}.filters-modal.preview-inline .filters-option-icon-wrapper{margin-left:auto}.filters-modal.preview-inline .filters-more-modal-button:hover{background-color:var(--surface-bg-color-01-hover)}.filters-modal.preview-inline .filters-more-modal-button.active{color:var(--color-text-primary)}.filters-modal.preview-inline .filters-more-modal-button.active .filters-option-icon-wrapper{border-color:var(--color-bg-inverse);background-color:var(--color-bg-inverse);color:var(--color-icon-inverse)}.filters-modal.preview-inline .filters-modal-sub-list:has(vviinn-range-filter){padding:0 var(--spacing-75);width:220px;max-height:unset}.filters-modal.preview-inline vviinn-range-filter{width:100%}@media (max-width: 768px){.sub-filters-wrapper,.selected-filters-wrapper{flex-wrap:unset;overflow-x:auto;scrollbar-width:none;padding-bottom:0}.sub-filters-wrapper,.selected-filters-wrapper{-webkit-overflow-scrolling:touch;scrollbar-width:none;-ms-overflow-style:none}.sub-filters-wrapper::-webkit-scrollbar,.selected-filters-wrapper::-webkit-scrollbar{display:none}:host(.show-in-widget) .selected-filters-container{overflow-x:auto;width:100%}:host(.show-in-widget) .selected-filters-wrapper{padding:0 var(--spacing-300)}.filters-modal.button .filters-modal-wrapper,.filters-modal.modal .filters-modal-wrapper{width:100%;border-radius:24px 24px 0px 0px}.filters-modal.button .filters-modal-wrapper{top:10%}.filters-modal.modal .filters-modal-wrapper{position:fixed;width:100%;height:calc(100% - 64px);bottom:0;transform:translateY(-64px)}.filters-modal.modal .filters-modal-header{font-size:var(--font-size-body-large)}.filters-modal.modal .filters-modal-main{padding-bottom:120px}vviinn-range-filter{max-width:unset}:host(.show-in-widget.primary-filters) vviinn-range-filter{max-width:calc(100% - 48px);transform:translateX(24px)}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border:0}';const Ut=class{constructor(t){e(this,t),this.vviinnImageLoad=r(this,"vviinnImageLoad"),this.vviinnImageError=r(this,"vviinnImageError"),this.imageLoaded=!1,this.imageError=!1,this.alt="",this.imageTitle="",this.responsive=!1,this.entityType="product",this.objectFit="contain",this.showSkeleton=!1,this.isSetMode=!1,this.customClass="",this.borderRadius="",this.border="",this.backgroundColor="",this.isContentType=!1,this.isListType=!1,this.handleImageLoad=t=>{var e;const r=t.target;this.imageLoaded=!0,this.vviinnImageLoad.emit(),this.imageRef&&this.imageRef(r),null===(e=this.loadEndCallback)||void 0===e||e.call(this)},this.handleImageError=()=>{var t;this.imageError=!0,this.vviinnImageError.emit(),this.imageRef&&this.imageRef(null),null===(t=this.loadEndCallback)||void 0===t||t.call(this)}}connectedCallback(){this.isContentType="content"===this.entityType,this.isListType="list"===this.entityType}get usesFlexibleLayout(){return this.isContentType||this.isListType}get shouldShowSkeleton(){return this.isSetMode?this.showSkeleton:this.showSkeleton&&!this.imageLoaded&&!this.imageError}get hasValidImage(){return!!this.src&&!this.imageError}getProcessedSrc(){if(!this.src)return"";if(this.imageResolutionWidth){const t=/fit\/\d+\//;return this.src.match(t)?this.src.replace(t,`fit/${this.imageResolutionWidth}/`):this.src}return this.src}getContainerStyles(){const t={};return this.responsive||!this.width||this.isContentType||this.isListType||(t.width=`${this.width}px`),this.borderRadius&&(t.borderRadius=this.borderRadius),this.border&&(t.border=this.border),this.backgroundColor&&(t.backgroundColor=this.backgroundColor),t}getImageStyles(){const t={};return this.usesFlexibleLayout||(t.objectFit=this.objectFit,!this.responsive&&this.width&&(t.width=`${this.width}px`)),t}getImageClassMap(){return{image:!0,responsive:this.responsive,"full-height":this.isContentType,"content-card-image":this.isContentType,"list-card-image":this.isListType,"set-mode-transition":this.isSetMode&&this.shouldShowSkeleton,loaded:this.imageLoaded,error:this.imageError,[this.customClass]:!!this.customClass}}renderImage(){const e=this.getProcessedSrc();return this.hasValidImage&&e?t("img",{src:e,alt:this.alt,title:this.imageTitle,class:this.getImageClassMap(),part:`image ${this.entityType}-card-image`,style:this.getImageStyles(),onLoad:this.handleImageLoad,onError:this.handleImageError,loading:"lazy"}):null}renderSkeleton(){return t("div",{class:"image-skeleton",part:"image-skeleton"},t("vviinn-skeleton",null))}render(){return t(o,{key:"5f0a58b7271229ae34f84188f24487901bf23ff3",exportparts:bt,class:{"has-skeleton-icon":this.isSetMode,"set-mode-transition":this.isSetMode&&this.shouldShowSkeleton}},t("div",{key:"59742b75db4f00da1b06583aceb0cac59a162d81",class:{"image-container":!0,"content-card-image-container":this.isContentType,"list-card-image-container":this.isListType,loading:this.shouldShowSkeleton,loaded:this.imageLoaded},part:`image-container ${this.entityType}-card-image-container`,style:this.getContainerStyles()},t("picture",{key:"3f7b91ce630e3e86e5d617310d9ca4e5c6547e0d",part:`image-picture ${this.entityType}-card-image-picture`},this.renderImage()),this.shouldShowSkeleton&&this.renderSkeleton()))}get host(){return a(this)}};Ut.style=":host{display:block;width:100%;height:100%;line-height:0}.vviinn-skeleton{display:inline-block;animation:pulse 1.2s infinite}@keyframes pulse{0%{background-color:rgb(244, 244, 244)}50%{background-color:rgb(232, 232, 232)}100%{background-color:rgba(244, 244, 244)}}:host{--image-border-default:none;--image-bg-color-default:var(--surface-bg-color-01);--product-card-image-aspect-ratio-default:1;--image-transition-duration-default:0.5s;display:block}.image{box-sizing:border-box;display:grid;align-content:center;-o-object-position:50% 50%;object-position:50% 50%;aspect-ratio:var(\n --product-card-image-aspect-ratio,\n var(--product-card-image-aspect-ratio-default)\n );-o-object-fit:contain;object-fit:contain;text-align:center;border:var(--image-border, var(--image-border-default));opacity:0;transition:opacity\n var(--image-transition-duration, var(--image-transition-duration-default))\n ease-in-out}.image.loaded{opacity:1}.image-container.loaded .image-skeleton{opacity:0}.image.responsive{width:100%;height:auto}.image.content-card-image,.image.list-card-image{aspect-ratio:unset;-o-object-fit:cover;object-fit:cover;width:100%;height:100%}.image-placeholder{display:flex;align-items:center;justify-content:center;background:#f0f0f0;aspect-ratio:var(\n --product-card-image-aspect-ratio,\n var(--product-card-image-aspect-ratio-default)\n );width:100%;height:auto;transition:opacity\n var(--image-transition-duration, var(--image-transition-duration-default))\n ease-in-out;opacity:1}.image-placeholder.loaded{opacity:0}picture{display:block;width:100%;height:100%;position:relative;mix-blend-mode:var(--picture-blend-mode, normal)}picture::after{box-sizing:border-box;display:var(--image-bg-display, block);position:absolute;width:100%;height:100%;top:0;left:0;background-color:var(--image-bg-color, var(--image-bg-color-default));mix-blend-mode:multiply;content:\"\"}.image-container{position:relative;display:block;aspect-ratio:var(\n --product-card-image-aspect-ratio,\n var(--product-card-image-aspect-ratio-default)\n )}.image-container.content-card-image-container,.image-container.list-card-image-container{aspect-ratio:unset;height:100%}.image-container.content-card-image-container picture,.image-container.list-card-image-container picture{height:100%}.image-skeleton{position:absolute;top:0;left:0;width:100%;height:100%;opacity:1;transition:opacity\n var(--image-transition-duration, var(--image-transition-duration-default))\n ease-in-out}:host(.set-mode-transition) .image-skeleton{transition:none;opacity:1}:host(.set-mode-transition) .image{transition:none;opacity:0}.image-skeleton vviinn-skeleton{width:100%;height:100%}:host(.has-skeleton-icon) .image-skeleton::after{content:url(\"data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_810_154)'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M64.7332 1.23333C66.2665 12.2667 67.9665 13.9667 78.6665 15.2333C79.4332 15.3333 79.9999 15.9333 79.9999 16.6667C79.9999 17.4 79.4665 17.9333 78.6665 18.0667C67.9665 19.3667 66.2999 21.0333 64.7332 32.0667C64.6332 32.8 64.0665 33.3333 63.3665 33.3333C62.6665 33.3333 62.0999 32.8 61.9665 32.0667C60.4665 21.0333 58.7665 19.3667 48.0332 18.0667C47.2332 17.9667 46.6999 17.4333 46.6999 16.6667C46.6999 15.9 47.2332 15.3667 48.0332 15.2333C58.7665 13.7667 60.3999 12.2 61.9665 1.23333C62.0999 0.5 62.6665 0 63.3665 0C64.0665 0 64.5999 0.5 64.7332 1.23333ZM38.5665 71.5667C38.3665 72.6 37.6665 73.3333 36.6665 73.3333C35.6665 73.3333 34.9665 72.6 34.7998 71.5667C31.9332 50.7 29.0998 47.9 8.49984 45.2C7.39984 45.1 6.6665 44.3 6.6665 43.3C6.6665 42.3 7.39984 41.5333 8.49984 41.4333C29.1332 39.1333 32.0998 35.9333 34.7998 15.0333C34.9665 14.0333 35.6665 13.3333 36.6665 13.3333C37.6665 13.3333 38.3665 14 38.5665 15.0333C41.2665 35.9333 44.1998 39.1333 64.8665 41.4333C65.9332 41.5333 66.6665 42.2667 66.6665 43.3C66.6665 44.3333 65.9332 45.1 64.8665 45.2C44.1998 47.5 41.2665 50.7 38.5665 71.5667Z' fill='white'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_810_154'%3E%3Crect width='80' height='80' fill='white'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E\");position:absolute;width:80px;height:80px;left:calc(50% - 40px);top:calc(50% - 40px);z-index:10}";class Yt{sendImpression(t){var e,r,n;t&&gtag("event","view_item_list",{items:[{id:t.productId,name:t.title,brand:null!==(e=t.brand)&&void 0!==e?e:"",category:null!==(r=t.productType)&&void 0!==r?r:"",list_name:"VI VPR View",price:Math.min(t.price.actual,null!==(n=t.price.sale)&&void 0!==n?n:1/0)}]})}sendClick(t){var e,r,n;t&&gtag("event","select_content",{content_type:"product",items:[{id:t.productId,name:t.title,brand:null!==(e=t.brand)&&void 0!==e?e:"",category:null!==(r=t.productType)&&void 0!==r?r:"",list_name:"VI VPR View",price:Math.min(t.price.actual,null!==(n=t.price.sale)&&void 0!==n?n:1/0)}]})}}class Jt{constructor(){ga("require","ec")}convertProduct(t){var e,r,n;return{id:t.productId,name:t.title,brand:null!==(e=t.brand)&&void 0!==e?e:"",category:null!==(r=t.productType)&&void 0!==r?r:"",list:"VI VPR View",price:Math.min(t.price.actual,null!==(n=t.price.sale)&&void 0!==n?n:1/0)}}sendImpression(t){t&&ga("ec:addImpression",this.convertProduct(t))}sendClick(t){var e,r,n;t&&(ga("ec:addProduct",{id:t.productId,name:t.title,brand:null!==(e=t.brand)&&void 0!==e?e:"",category:null!==(r=t.productType)&&void 0!==r?r:"",price:Math.min(t.price.actual,null!==(n=t.price.sale)&&void 0!==n?n:1/0)}),ga("ec:setAction","click",{list:"VI VPR View"}))}}const Kt=y.getMonoid(m().first()).concat(g.pipe(y.fromNullable(window.gtag),y.map((()=>new Yt))),g.pipe(y.fromNullable(window.ga),y.map((()=>new Jt)))),Xt=(t,e)=>t&&e>=2,Gt=(t,e)=>{var r;if(!t||0===e.length)return!1;const n=e[0];return(null!==(r=null==n?void 0:n.thumbnail)&&void 0!==r?r:null==n?void 0:n.original)===t},Qt=(t,e,r,n)=>{var i;if(n&&t&&r.length>0){const t=r[Gt(e,r)&&r.length>1?1:0];return null!==(i=null==t?void 0:t.thumbnail)&&void 0!==i?i:null==t?void 0:t.original}return e};"undefined"!=typeof window&&wt();const te=(e,r)=>e.deeplink?t("a",{class:e.part,part:e.part,href:e.deeplink,tabindex:e.tabindex},r):r,ee=(t,e)=>t?new Intl.NumberFormat(e,{minimumFractionDigits:2,maximumFractionDigits:2}).format(t):null,re=e=>{const r=e.priceType,n=ee(e.price,e.numberLocale),i=e.prefix?t("span",{part:"price-prefix"},e.prefix+" "):null,o=e.currency?t("span",{part:"currency",class:"currency"},e.currency):null;return n?t("span",{class:"price-amount",part:"price-amount"+(r?"-"+r:"")},i,n,o):null},ne=({currency:e,basePrice:r,priceType:n,numberLocale:i})=>{if(!(null==r?void 0:r.price))return null;const o=ee(r.price,i);return t("span",{class:"price-amount price-amount--base",part:"price-amount-base"+(n?"-"+n:"")},o,(null==e?void 0:e.length)>0&&t("span",{part:"currency",class:"currency"},e),"/",(null==r?void 0:r.quantity)>1&&(null==r?void 0:r.quantity),null==r?void 0:r.measure)},ie=t=>t?"string"==typeof t?JSON.parse(t):t:null,oe=(e,r)=>t(i,null,e.map(((e,n)=>((e,n)=>e?t("span",{part:`custom-label-${n} custom-label-${r}`,class:"custom-label"},t("slot",{name:`vviinn-custom-label-${n}`},e)):null)(e,n)))),ae=e=>{var r,n;const i=e.price||(null===(r=e.basePrice)||void 0===r?void 0:r.price),o=e.salePrice||(null===(n=e.baseSalePrice)||void 0===n?void 0:n.price),a=(r,n,i)=>t("span",{class:`price-${r}`,part:`price-${r}`},t(re,{prefix:e.prefix,currency:e.currency,price:n,numberLocale:e.numberLocale,priceType:r}),t(ne,{currency:e.currency,basePrice:i,numberLocale:e.numberLocale,priceType:r})),l=()=>o?[i&&a("outdated",e.price,e.basePrice),a("sale",e.salePrice,e.baseSalePrice)]:i?a("regular",e.price,e.basePrice):null;return e.showInContainer?t("div",{class:"price-container",part:"price-container"},l()):l()},le=e=>{const{src:r,width:n,title:i,responsive:o=!1,imageResolutionWidth:a,showSkeleton:l=!1,isSetMode:s=!1,entityType:c="product",customClass:u="",imageRef:d,onImageLoad:h,renderPlaceholderSlot:v=!0,images:p=[],showMultipleImages:b=!1,disableMobileSwiper:g=!1,deeplink:m}=e;if(b&&!g&&f()){const e=((t,e)=>(!t||Gt(t,e)?e:[{original:t,thumbnail:t},...e]).slice(0,2))(r,p);if(e.length>1)return t(se,{images:e,productTitle:i,imageWidth:n,imageResolutionWidth:a,onImageLoad:h,responsive:o,showSkeleton:l,isSetMode:s,entityType:c,customClass:u,imageRef:d,deeplink:m})}const y=t("vviinn-image",{src:r,width:n,alt:i,imageTitle:i,responsive:o,entityType:c,imageResolutionWidth:a,customClass:u,imageRef:d,onVviinnImageLoad:h,showSkeleton:l,isSetMode:s,style:{"--image-border":"var(--product-card-image-border, none)","--image-bg-color":"var(--product-card-image-bg-color, var(--surface-bg-color-01))","--image-transition-duration":"var(--product-card-transition-duration, 0.5s)"}},v&&t("slot",{name:"vviinn-image-placeholder-icon",slot:"placeholder-icon"}));return t(te,{deeplink:m,part:"image-link"},y)},se=e=>{const{images:r,productTitle:n,imageWidth:i,imageResolutionWidth:o,onImageLoad:a,responsive:l,showSkeleton:s,isSetMode:c,entityType:u="product",customClass:f,imageRef:d,deeplink:h}=e;return t("div",{class:"product-card-swiper-wrapper"},t("swiper-container",{ref:t=>{t&&jt(t,{isDesktop:!1,pagination:r.length>1,slidesPerView:1,spaceBetween:0})},class:"product-card-swiper",pagination:r.length>1?"true":void 0,"pagination-clickable":r.length>1?"true":void 0,exportparts:"pagination:product-images-pagination, bullet:product-images-pagination-bullet, bullet-active:product-images-pagination-bullet-active"},r.map(((e,r)=>{var v;const p=null!==(v=e.thumbnail)&&void 0!==v?v:e.original;return t("swiper-slide",{key:p},t(te,{deeplink:h,part:"image-link"},t("vviinn-image",{src:p,width:i,alt:n,imageTitle:n,responsive:l,entityType:u,imageResolutionWidth:o,customClass:f,imageRef:0===r?d:void 0,onVviinnImageLoad:0===r?a:void 0,showSkeleton:s,isSetMode:c,style:{"--image-border":"var(--product-card-image-border, none)","--image-bg-color":"var(--product-card-image-bg-color, var(--surface-bg-color-01))","--image-transition-duration":"var(--product-card-transition-duration, 0.5s)"}})))}))))},ce=class{constructor(t){e(this,t),this.vviinnProductLoad=r(this,"vviinnProductLoad"),this.vviinnProductView=r(this,"vviinnProductView"),this.vviinnProductClick=r(this,"vviinnProductClick"),this.vviinnAddToBasket=r(this,"vviinnAddToBasket"),this.vviinnAddToFavorite=r(this,"vviinnAddToFavorite"),this.vviinnAuxClick=r(this,"vviinnAuxClick"),this.vviinnCrossSellingClick=r(this,"vviinnCrossSellingClick"),this.vviinnUpdatingAllCardsStarted=r(this,"vviinnUpdatingAllCardsStarted"),this.vviinnUpdatingAllCardsFinished=r(this,"vviinnUpdatingAllCardsFinished"),this.currencySign=void 0,this.images=[],this.showMultipleImages=!1,this.imageWidth=ot,this.entityType="product",this.isSetMode=!1,this.responsive=!1,this.customLabels="",this.addPriceContainer=!1,this.cssUrl=null,this.index=0,this.isSourceProduct=!1,this.isResultsWidget=!1,this.energyCertificationsString="",this.isStandalone=!1,this.showFooterArrow=!1,this.imageResolutionWidth=lt,this.loading=!1,this.disableMobileSwiper=!1,this.isTransitioning=!1,this.basketButonPressed=!1,this.favoriteButonPressed=!1,this.imageLoaded=!1,this.showSecondImage=!1,this.productData=null,this.hoverTimerManager=(()=>{let t;const e=()=>{t&&(clearTimeout(t),t=void 0)};return{set:(r,n)=>{e(),t=setTimeout(r,n)},clear:e}})(),this.isContentCard=!1,this.isListCard=!1,this.isShowUpdateButton=()=>this.isSetMode&&!this.isSourceProduct&&!this.basketButonPressed&&"onTop"!==this.updateButtonLocation,this.isShowBasketButton=()=>!this.isSourceProduct&&(this.addToBasketShow||this.isSetMode),this.showSkeleton=()=>this.isSetMode?this.isTransitioning:this.loading,this.handleImageMouseEnter=()=>{Xt(this.showMultipleImages,this.images.length)&&this.hoverTimerManager.set((()=>{this.showSecondImage=!0}),65)},this.handleImageMouseLeave=()=>{Xt(this.showMultipleImages,this.images.length)&&(this.hoverTimerManager.clear(),this.showSecondImage=!1)}}get effectiveCurrencySign(){var t;return null!==(t=this.currencySign)&&void 0!==t?t:T.currencySign}get effectiveLocale(){var t;return null!==(t=this.locale)&&void 0!==t?t:T.locale}get effectiveNumberLocale(){return this.numberLocale||this.effectiveLocale}connectedCallback(){this.productData=this.getProductData(),this.isContentCard="content"===this.entityType,this.isListCard="list"===this.entityType,this.imageProps=this.getImageProps(),this.isStandalone&&ht(this.effectiveLocale),this.energyCertificationsString.length>0&&this.parseEnergyCertificationsString()}componentWillLoad(){st(this,this.el)}componentDidLoad(){this.showSkeleton()||(this.vviinnProductLoad.emit(this.productData),this.addLinksEventListeners(),this.initializeVisibilityTracking())}initializeVisibilityTracking(){!this.imageElement||this.intersectionObserver||this.showSkeleton()||(this.intersectionObserver=_t(this.imageElement,{threshold:.95,onIntersectionChange:t=>{var e;t&&(g.pipe(Kt,y.map((t=>t.sendImpression(this.product)))),this.vviinnProductView.emit(this.productData),null===(e=this.intersectionObserver)||void 0===e||e.disconnect())}}))}cleanupVisibilityTracking(){var t;null===(t=this.intersectionObserver)||void 0===t||t.disconnect(),this.intersectionObserver=null,this.visibilityTrackedElement=null}crossSellingClickListener({detail:t}){const{animationInterval:e}=t;this.isTransitioning=!0,this.resetButtonStates(),this.startAnimationTimer(e)}updatingAllCardsWatcher(){this.updatingAllCards&&(this.vviinnUpdatingAllCardsStarted.emit(),this.isTransitioning=!0,this.resetButtonStates(),this.startAnimationTimer(this.defaultAnimationInterval,(()=>{this.vviinnUpdatingAllCardsFinished.emit()})))}productIdWatcher(){this.productData=this.getProductData(),this.imageProps=this.getImageProps()}showSecondImageWatcher(){this.imageProps=this.getImageProps()}parseEnergyCertificationsString(){if(""!==this.energyCertificationsString)try{this.energyCertifications=JSON.parse(this.energyCertificationsString)}catch(t){console.error("Invalid filters string",t)}}getProductData(){var t;return Object.assign({productId:this.productId,productRank:this.index,productName:this.productTitle,productType:this.productType,campaignTypeId:this.campaignTypeId,campaignTypeName:l[this.campaignTypeId],widgetVersion:this.widgetVersion},s("widgetId",null!==(t=this.buttonElementId)&&void 0!==t?t:this.widgetElementId))}basketButtonClickHandler(){this.vviinnAddToBasket.emit(Object.assign(Object.assign({},this.productData),{discount:this.currentDiscountPercentage})),this.basketButonPressed=!0}favoriteButtonClickHandler(){this.vviinnAddToFavorite.emit(Object.assign({},this.productData)),this.favoriteButonPressed=!this.favoriteButonPressed}productClickHandler(t){t.preventDefault(),t.stopImmediatePropagation(),this.vviinnProductClick.emit(Object.assign(Object.assign({},this.productData),{clickEvent:t})),g.pipe(Kt,y.match((()=>null),(t=>t.sendClick(this.product))))}addLinksEventListeners(){if(this.showSkeleton())return;this.linkEventAbortController=new AbortController;const{signal:t}=this.linkEventAbortController;this.el.shadowRoot.querySelectorAll("a").forEach((e=>{const r=this.productClickHandler.bind(this);ct(e,[["click",r],["auxclick",()=>{this.vviinnAuxClick.emit(Object.assign({},this.productData))}]],t)}))}disconnectedCallback(){var t;null===(t=this.linkEventAbortController)||void 0===t||t.abort(),this.cleanupVisibilityTracking(),this.hoverTimerManager.clear()}getImageProps(){return{width:this.imageWidth,src:Qt(this.showSecondImage,this.image,this.images,Xt(this.showMultipleImages,this.images.length)),imageResolutionWidth:this.isContentCard?2*this.imageResolutionWidth:this.imageResolutionWidth,title:this.productTitle,ref:t=>{this.imageElement=t,t&&this.visibilityTrackedElement!==t?(this.cleanupVisibilityTracking(),this.visibilityTrackedElement=t,this.initializeVisibilityTracking()):t||this.cleanupVisibilityTracking()},isSource:this.isSourceProduct,onLoadEnd:()=>{this.imageLoaded=!0,this.loading=!1}}}resetButtonStates(){this.basketButonPressed=!1,this.favoriteButonPressed=!1}startAnimationTimer(t,e){const r=setTimeout((()=>{null==e||e(),this.isTransitioning=!1,clearTimeout(r)}),t)}render(){var e,r,n,a,l;return this.isContentCard||this.isListCard?t(o,{part:`product-card ${this.entityType}-card`,class:`${this.entityType}-card`,exportparts:this.isContentCard?gt:mt,"data-id":this.productId},Ot(this.cssUrl),t("div",{class:`image-container ${this.entityType}-card-image-container`,part:"image-container"},le({src:this.imageProps.src,width:this.imageProps.width,title:this.imageProps.title,responsive:this.responsive,entityType:this.entityType,imageResolutionWidth:this.imageProps.imageResolutionWidth,customClass:this.imageLoaded?"loaded":"",imageRef:this.imageProps.ref,onImageLoad:this.imageProps.onLoadEnd,showSkeleton:this.showSkeleton(),isSetMode:this.isSetMode,images:this.images,showMultipleImages:this.showMultipleImages,disableMobileSwiper:this.disableMobileSwiper,deeplink:this.deeplink})),this.isContentCard?((e,r,n)=>t("div",{class:"content-container",part:"content-container content-card-content-container"},t("div",{class:"content-label",part:"content-label"},n),e&&t("div",{class:"content-title",part:"content-title",title:e},e),r&&t(te,{deeplink:r,part:"content-link",tabindex:0},function(t){if(!t)return"";if(!t.includes("://"))return t;try{const e=new URL(t).pathname.split("/").filter(Boolean);return e.length?`/${e.pop()}`:t}catch(e){return t}}(r))))(this.productTitle,this.deeplink,S.t("contentLabel")):(a=this.productTitle,l=S.t("listLabel"),t("div",{class:"content-container",part:"list-container list-card-content-container"},t("div",{class:"list-label",part:"list-label"},l),a&&t("div",{class:"list-title",part:"list-title",title:a},a))),this.isListCard&&this.deeplink&&t("a",{href:this.deeplink,class:"list-card-overlay-link","aria-label":this.productTitle})):t(o,{part:"product-card",class:{animated:this.isTransitioning,"product-card--source":this.isSourceProduct,"set-mode":this.isSetMode},exportparts:yt,"data-id":this.productId},Ot(this.cssUrl),t("div",{class:"content-container",part:"content-container"},this.showSkeleton()?t(i,null,t("vviinn-skeleton",{height:40}),t("vviinn-skeleton",{height:20,halfWidth:!0}),t("vviinn-skeleton",{height:40})):t(i,null,t(te,{deeplink:this.deeplink,part:"deeplink",tabindex:0},t("span",{class:"title",part:"title"},this.productTitle)),(null===(e=this.brand)||void 0===e?void 0:e.length)>0&&t("span",{class:"brand",part:"brand"},this.brand),(null===(r=this.productType)||void 0===r?void 0:r.length)>0&&t("span",{class:"product-type",part:"product-type"},this.productType),(null!==(n=null==this?void 0:this.energyCertifications)&&void 0!==n?n:[]).map((e=>t("vviinn-energy-label",{classIconUrls:null==e?void 0:e.classIconUrls,classDataSheetUrl:null==e?void 0:e.classDataSheetUrl,productType:null==e?void 0:e.productType,certificationClass:null==e?void 0:e.certificationClass,classRange:null==e?void 0:e.classRange}))),t(ae,{prefix:this.pricePrefix,currency:this.effectiveCurrencySign,numberLocale:this.effectiveNumberLocale,price:this.price,basePrice:ie(this.basePrice),salePrice:this.salePrice,baseSalePrice:ie(this.baseSalePrice),showInContainer:this.addPriceContainer}),oe(this.customLabels.split(X),"content"))),t("div",{class:{"basket-button-container":!0,hidden:!this.isShowBasketButton()||this.showSkeleton()},part:"basket-button-container"},t("button",{class:{"basket-button":!0,pressed:this.basketButonPressed},part:"basket-button",onClick:this.basketButtonClickHandler.bind(this)},t("div",{class:{"basket-button-content":!0,hidden:this.basketButonPressed},key:"not-pressed"},t("span",{class:"basket-button-icon-container"},t("slot",{name:"vviinn-basket-button-icon"},t(Ct,null))),t("span",null,this.isSetMode?t("slot",{name:"vviinn-basket-button-text",key:"button-text-set"},S.t("setMode.basketButtonText")):t("slot",{name:"vviinn-basket-button-text",key:"button-text-default"},S.t("basketButtonText")))),t("div",{key:"pressed",class:{"basket-button-content":!0,hidden:!this.basketButonPressed}},t("span",{class:"basket-button-icon-container"},t("slot",{name:"vviinn-basket-button-icon-pressed"},t(Mt,null))),t("span",null,t("span",{class:"discount-percentage",part:"discount-percentage",hidden:!(this.isSetMode&&this.appliedDiscountPercentage)},this.appliedDiscountPercentage,"%"),t("slot",{name:"vviinn-basket-button-text-pressed"},S.t(this.isSetMode?"setMode.basketButtonPressedText":"basketButtonPressedText")))))),t("div",{class:"image-container",part:"image-container",onMouseEnter:this.handleImageMouseEnter,onMouseLeave:this.handleImageMouseLeave},le({src:this.imageProps.src,width:this.imageProps.width,title:this.imageProps.title,responsive:this.responsive,entityType:this.entityType,imageResolutionWidth:this.imageProps.imageResolutionWidth,customClass:this.imageLoaded?"loaded":"",imageRef:this.imageProps.ref,onImageLoad:this.imageProps.onLoadEnd,showSkeleton:this.showSkeleton(),isSetMode:this.isSetMode,images:this.images,showMultipleImages:this.showMultipleImages,disableMobileSwiper:this.disableMobileSwiper,deeplink:this.deeplink}),this.isSourceProduct&&t(K,{class:"plus-icon"}),this.isSetMode&&!this.appliedDiscountPercentage&&this.currentDiscountPercentage&&t("div",{class:"discount-label",part:"discount-label"},`-${this.currentDiscountPercentage}%`),t("div",{class:"product-card-actions-top",part:"product-card-actions-top"},t("button",{class:{hidden:!this.favoriteShow||this.isSourceProduct},part:"favorite-button",onClick:this.favoriteButtonClickHandler.bind(this),"aria-label":S.t(this.favoriteButonPressed?"a11y.removeFromFavorites":"a11y.addToFavorites")},t("div",{key:"favorite-not-pressed",class:{hidden:this.favoriteButonPressed}},t("slot",{name:"vviinn-favorite-icon"},t(Lt,{width:14,height:14}))),t("div",{key:"favorite-pressed",class:{hidden:!this.favoriteButonPressed}},t("slot",{name:"vviinn-favorite-icon-pressed"},t(Wt,{width:14,height:14})))),t("button",{class:{"update-button":!0,hidden:!this.isShowUpdateButton()},part:"update-button-item",onClick:()=>{this.vviinnCrossSellingClick.emit({animationInterval:Pt(800,1400),productData:this.productData})},"aria-label":S.t("a11y.findSimilarProducts")},t("div",null,t("slot",{name:"vviinn-update-button-icon"},t(It,{width:14,height:14}))))),t("div",{class:"product-card-actions",part:"product-card-actions"},t("slot",{name:"vviinn-product-card-actions"})),oe(this.customLabels.split(X),"image")),this.showFooterArrow&&t("div",{class:"footer-arrow"}))}get el(){return a(this)}static get watchers(){return{updatingAllCards:["updatingAllCardsWatcher"],productId:["productIdWatcher"],showSecondImage:["showSecondImageWatcher"]}}};ce.style=':host{--font-family-base:Inter, system-ui, sans-serif;--font-family-mono:monospace;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;--font-size-display:32px;--font-size-title:24px;--font-size-headline:18px;--font-size-label-large:16px;--font-size-label:14px;--font-size-body-large:16px;--font-size-body:14px;--font-size-caption:12px;--line-height-display:40px;--line-height-title:32px;--line-height-headline:24px;--line-height-label-large:24px;--line-height-label:20px;--line-height-body-large:24px;--line-height-body:20px;--line-height-caption:16px;--letter-spacing-title:0px;--letter-spacing-headline:0px;--letter-spacing-label-large:0px;--letter-spacing-label:0px;--letter-spacing-body-large:0px;--letter-spacing-body:0px;--letter-spacing-caption:0px;--font-weight-400:400;--font-weight-500:500;--font-weight-600:600;--font-weight-700:700;--spacing-none:0px;--spacing-25:2px;--spacing-50:4px;--spacing-75:6px;--spacing-100:8px;--spacing-125:10px;--spacing-150:12px;--spacing-200:16px;--spacing-250:20px;--spacing-300:24px;--spacing-400:32px;--spacing-500:40px;--spacing-600:48px;--border-radius-none:0px;--border-radius-25:2px;--border-radius-50:4px;--border-radius-100:8px;--border-radius-150:12px;--border-radius-200:16px;--border-radius-300:24px;--border-radius-400:32px;--border-radius-full:9999px;--stroke-width-none:0px;--stroke-width-25:1px;--stroke-width-50:2px;--stroke-width-75:3px;--stroke-width-100:4px;--stroke-width-150:6px;--stroke-width-200:8px;--stroke-width-300:12px;--product-card-widget-min-width:135px;--product-card-results-min-width:250px;--image-set-mode-min-width:155px;--source-card-set-mode-max-width:500px;--filter-blur-none:0px;--filter-blur-100:8px;--filter-blur-150:12px;--filter-blur-200:16px;--color-bg-base:#ffffff;--color-bg-inverse:#161616;--color-border-00:#ffffff;--color-border-01:#f4f4f4;--color-border-02:#e0e0e0;--color-border-03:#c6c6c6;--color-border-inverse-00:#161616;--color-border-inverse-01:#393939;--color-field-01:#ffffff;--color-field-02:#f4f4f4;--color-icon-primary:#161616;--color-icon-secondary:#525252;--color-icon-helper:#8d8d8d;--color-icon-on-color:#ffffff;--color-icon-inverse:#ffffff;--color-icon-disabled:#16161640;--color-text-primary:#161616;--color-text-secondary:#707070;--color-text-helper:#8d8d8d;--color-text-placeholder:#a8a8a8;--color-text-on-color:#ffffff;--color-text-inverse:#ffffff;--color-text-disabled:#16161640;--button-bg-color-primary:#000000;--button-bg-color-primary-hover:#161616;--button-bg-color-primary-active:#1e1e1e;--button-bg-color-secondary:#f4f4f4;--button-bg-color-secondary-hover:#e0e0e0;--button-bg-color-secondary-active:#c6c6c6;--button-bg-color-ghost-hover:#f4f4f4;--button-bg-color-ghost-active:#eaeaea;--button-bg-color-frosted:#6f6f6f66;--button-bg-color-frosted-hover:#6f6f6f80;--button-bg-color-frosted-active:#6f6f6f99;--button-bg-color-disabled:#e0e0e0;--button-bg-color-positive:#dcfce7;--surface-bg-color-01:#f4f4f4;--surface-bg-color-01-hover:#eaeaea;--surface-bg-color-01-active:#e0e0e0;--surface-bg-color-02:#ffffff;--surface-bg-color-inverse:#262626;--surface-bg-color-inverse-hover:#303030;--surface-bg-color-inverse-active:#393939;--surface-bg-color-disabled:#e0e0e0;--surface-bg-color-shadow-01:#dddddd;--surface-bg-color-shadow-02:#c6c6c6;--chip-bg-color-primary:#161616;--chip-bg-color-primary-hover:#1e1e1e;--chip-bg-color-primary-active:#262626;--chip-bg-color-subtle:#f4f4f4;--chip-bg-color-subtle-hover:#eaeaea;--chip-bg-color-subtle-active:#e0e0e0;--chip-bg-color-outline-hover:#f4f4f4;--chip-bg-color-outline-active:#eaeaea;--label-bg-color-accent:#ff3944;--sidebar-animation-duration-default:0.5s;--search-modal-animation-duration-default:0.25s;--search-modal-animation-duration-mobile-default:0.35s;}swiper-container::part(bullet){width:8px;height:8px;border-radius:var(--border-radius-full);background:var(--color-border-02);transition:width 0.25s cubic-bezier(0.4, 0, 0.2, 1),\n height 0.25s cubic-bezier(0.4, 0, 0.2, 1),\n border-radius 0.25s cubic-bezier(0.4, 0, 0.2, 1),\n background 0.25s cubic-bezier(0.4, 0, 0.2, 1),\n transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);margin:0;opacity:1;cursor:pointer;border:none;outline:none;transform:scale(1);position:relative}swiper-container::part(bullet)::after{content:"";position:absolute;top:-8px;left:-8px;right:-8px;bottom:-8px;cursor:pointer}swiper-container::part(bullet):hover{background:rgba(22, 22, 22, 0.5);transform:scale(1.2)}swiper-container::part(bullet-active){width:24px;height:8px;border-radius:var(--spacing-50);background:var(--color-icon-helper)}swiper-container::part(bullet-active):hover{background:var(--color-icon-secondary);transform:scale(1.1)}:host{--product-card-content-align-default:flex-start;--product-card-text-align-default:left;--product-card-image-border-default:none;--product-card-image-bg-color-default:var(--surface-bg-color-01);--basket-button-bg-color-pressed-default:var(--button-bg-color-positive);--product-card-image-aspect-ratio-default:1;--product-card-transition-duration-default:0.5s;box-sizing:border-box;position:relative;height:-moz-fit-content;height:fit-content;display:flex;flex-direction:column;align-items:var(\n --product-card-content-align,\n var(--product-card-content-align-default)\n );text-align:var(\n --product-card-text-align,\n var(--product-card-text-align-default)\n );font-family:var(--font-family, var(--font-family-base));font-weight:var(--font-weight-400);font-size:var(--font-size-body);line-height:var(--line-height-body);font-style:normal;color:var(--color-text-primary);gap:var(--spacing-100)}.image-container{order:1}.content-container{order:2}.basket-button-container{order:3}.image-container{position:relative;width:100%;cursor:pointer}.image-container vviinn-image{transition:opacity var(--product-card-transition-duration, 0.3s) ease-in-out}:host(.set-mode) vviinn-image::part(image),:host(.set-mode.product-card--source) vviinn-image::part(image){width:var(--vviinn-set-mode-image-width, 100%);height:100%;min-width:var(--image-set-mode-min-width)}.plus-icon{position:absolute;width:32px;height:32px;top:50%;right:-88px;transform:translateY(-50%);padding:8px;background-color:white;color:#999;border:1px solid #dddddd;border-radius:50%;z-index:1}.image-placeholder{display:flex;align-items:center;justify-content:center;background:#f0f0f0;aspect-ratio:var(\n --product-card-image-aspect-ratio,\n var(--product-card-image-aspect-ratio-default)\n );width:100%;height:auto}.basket-button-container{width:100%;display:flex;justify-content:var(\n --product-card-content-align,\n var(--product-card-content-align-default)\n )}.content-container{box-sizing:border-box;display:grid;width:100%;grid-template-columns:1fr;align-items:var(\n --product-card-content-align,\n var(--product-card-content-align-default)\n );gap:var(--spacing-50);background-color:var(--surface-bg-color-02)}.price-container{display:flex;flex-direction:column;gap:var(--spacing-50);flex-wrap:wrap;justify-content:var(\n --product-card-content-align,\n var(--product-card-content-align-default)\n )}.price-outdated,.price-sale,.price-regular{justify-content:var(\n --product-card-content-align,\n var(--product-card-content-align-default)\n );display:flex;gap:var(--spacing-100);flex-wrap:wrap}.price-outdated{color:var(--color-text-secondary);text-decoration:line-through}.custom-label{font-weight:var(--font-weight-600);display:none}.price-amount,.custom-label>span,.currency{white-space:nowrap}.custom-label>span{margin-right:var(--spacing-75)}.price-amount--base{color:var(--color-text-secondary);font-size:var(--font-size-caption)}.product-type{word-wrap:anywhere}.currency{padding-left:var(--spacing-50)}.brand,.title,.product-type{display:-webkit-box;text-align:var(\n --product-card-text-align,\n var(--product-card-text-align-default)\n );-webkit-box-orient:vertical;-webkit-line-clamp:1;overflow-wrap:anywhere;text-overflow:ellipsis;overflow:hidden}.title{font-weight:var(--font-weight-600);color:var(--color-text-primary);-webkit-line-clamp:2}.deeplink{max-width:100%;text-decoration:none}.image-link{display:contents}.product-card-actions,.product-card-actions-top{line-height:0px;position:absolute;right:var(--spacing-75);z-index:3}.product-card-actions-top{top:var(--spacing-75)}.product-card-actions{bottom:var(--spacing-75)}::slotted([slot="vviinn-product-card-actions"]),.product-card-actions-top,.product-card-actions{display:flex;flex-direction:column;gap:4px}.product-card-actions-top button,.product-card-actions button,vviinn-vpr-button::part(button),.update-button{width:24px;height:24px;line-height:0px;z-index:1;border:none;cursor:pointer;background:none;background-color:var(--button-bg-color-frosted);color:var(--color-icon-on-color);backdrop-filter:blur(calc(var(--filter-blur-150) / 2));border-radius:var(--border-radius-100);padding:var(--spacing-50);display:flex;justify-content:center;align-items:center}.product-card-actions-top button:hover,.product-card-actions button:hover,.product-card-actions vviinn-vpr-button::part(button):hover,.update-button:hover{background-color:var(--button-bg-color-frosted-hover)}.product-card-actions-top button::after,.product-card-actions button::after,.product-card-actions vviinn-vpr-button::part(button)::after,.update-button::after{position:absolute;width:calc(100% + var(--spacing-100));height:calc(100% + var(--spacing-100));top:calc(-1 * var(--spacing-50));right:calc(-1 * var(--spacing-50));content:"";cursor:pointer}.basket-button{box-sizing:border-box;border:none;width:100%;padding:var(--spacing-100);font-size:var(--font-size-label);font-weight:var(--font-weight-600);font-family:var(--font-family, var(--font-family-base));color:var(--color-text-primary);background-color:var(--button-bg-color-secondary);cursor:pointer}.basket-button:hover{background-color:var(--button-bg-color-secondary-hover)}.basket-button-icon-container{display:inline-flex;align-items:center;justify-content:center}:host(.animated) .product-card-actions,:host(.animated) .product-card-actions-top{display:none}.basket-button-content{box-sizing:border-box;display:flex;align-items:center;justify-content:center;gap:var(--spacing-75)}.basket-button.pressed{background-color:var(\n --basket-button-bg-color-pressed,\n var(--basket-button-bg-color-pressed-default)\n )}.basket-button.pressed .discount-percentage{padding-right:var(--spacing-50)}@media (max-width: 768px){.plus-icon{padding:var(--spacing-100);top:50%;transform:translateY(-50%);right:calc(-1 * var(--spacing-300))}}.discount-label{position:absolute;left:var(--spacing-none);top:var(--spacing-150);padding:var(--spacing-25) var(--spacing-50);border-radius:var(--border-radius-none) var(--border-radius-50)\n var(--border-radius-50) var(--border-radius-none);color:var(--color-text-on-color);background-color:var(--label-bg-color-accent);letter-spacing:var(--letter-spacing-label)}:host(.animated) .discount-label{display:none}vviinn-energy-label{justify-content:var(\n --product-card-content-align,\n var(--product-card-content-align-default)\n )}.content-card-image-container{height:100%}.content-card-image-container .image-placeholder,.list-card-image-container .image-placeholder{aspect-ratio:unset;height:100%}.content-title,.content-link{display:-webkit-box;-webkit-box-orient:vertical;overflow-wrap:anywhere;text-overflow:ellipsis;overflow:hidden}.content-title{-webkit-line-clamp:3;font-size:var(--font-size-headline);font-weight:var(--font-weight-600);line-height:var(--line-height-headline);letter-spacing:var(--letter-spacing-headline)}.content-link{-webkit-line-clamp:1;color:var(--color-text-primary);text-decoration:none}:host(.list-card){position:relative;box-sizing:border-box;display:flex;flex-direction:column;align-items:center;padding:var(--spacing-250);gap:0;background-color:var(--surface-bg-color-01);align-self:flex-start}:host(.list-card)::before,:host(.list-card)::after{content:"";position:absolute;left:50%;transform:translateX(-50%);z-index:-1}:host(.list-card)::before{bottom:-12px;width:calc(100% - 16px);height:12px;background-color:var(--surface-bg-color-shadow-01)}:host(.list-card)::after{bottom:-20px;width:calc(100% - 32px);height:8px;background-color:var(--surface-bg-color-shadow-02)}:host(.list-card) .content-container{order:1;background-color:unset}:host(.list-card) vviinn-image{--image-bg-display:none;--picture-blend-mode:multiply}.list-card-image-container{order:2;box-sizing:border-box;padding:var(--spacing-125);flex:1;display:flex;align-items:center;justify-content:center}.list-card-image-container vviinn-image{max-width:100%;max-height:100%;width:auto;height:auto}.list-label{text-align:center;color:var(--color-text-secondary);font-size:var(--font-size-body);font-weight:var(--font-weight-400);line-height:var(--line-height-body);letter-spacing:var(--letter-spacing-body)}.list-title{text-align:center;font-size:var(--font-size-display);font-weight:var(--font-weight-600);line-height:var(--line-height-display);letter-spacing:var(--letter-spacing-title);display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis}.list-card-overlay-link{position:absolute;top:0;left:0;width:100%;height:100%;z-index:1;cursor:pointer}.footer-arrow{position:absolute;bottom:-35px;left:50%;width:0;height:0;transform:translate(-50%, 0) rotate(90deg);border-top:22px solid transparent;border-bottom:22px solid transparent;border-right:22px solid var(--color-border-02);z-index:99}.footer-arrow::after{content:"";width:0;height:0;border-top:21px solid transparent;border-bottom:21px solid transparent;border-right:21.5px solid #ffffff;position:absolute;top:-21px;left:1px}.hidden{display:none !important}.image-container:has(.product-card-swiper-wrapper){--swiper-pagination-bullet-size:8px;--pagination-height:calc(\n var(--spacing-200) + var(--swiper-pagination-bullet-size)\n );margin-bottom:var(--pagination-height)}.product-card-swiper-wrapper{margin-bottom:calc(-1 * var(--pagination-height))}.product-card-swiper::part(pagination){position:static;display:flex;justify-content:center;align-items:center;gap:var(--spacing-100);padding:var(--spacing-100) 0}';const ue=/[^\d]/g,fe=class{constructor(r){e(this,r),this.histogram=[],this.showCurrency=!0,this.showIntervalInputs=!1,this.clampAndEnforceMargin=(t,e)=>{let r=Math.max(this.minValue,Math.min(this.maxValue,t));return r="from"===e?Math.min(r,this.toValue-this.minMargin):Math.max(r,this.fromValue+this.minMargin),r},this.controlSlider=(t,e)=>{const r=t.target,n=parseInt(r.value),i=this.clampAndEnforceMargin(n,e);"from"===e?this.fromValue=i:this.toValue=i,r.value=String(i)},this.sendBackValue=()=>{this.intervalChangeHandler({interval:{start:this.fromValue,end:this.toValue}})},this.calculateInputSize=t=>Math.max(String(t).length,1),this.setCursorToEnd=t=>{t.setSelectionRange(t.value.length,t.value.length)},this.handleInputChange=t=>{const e=t.target,r=e.value.replace(ue,"");e.value=r,e.size=this.calculateInputSize(r)},this.handleInputBlur=(t,e)=>{const r=t.target,n=r.value.replace(ue,""),i="from"===e?this.minValue:this.maxValue;let o=parseInt(n);isNaN(o)&&(o=i);const a=this.clampAndEnforceMargin(o,e);"from"===e?this.fromValue=a:this.toValue=a,r.value=String(a),r.size=this.calculateInputSize(a),this.sendBackValue()},this.renderValueDisplay=(e,r,n,i,o)=>{var a,l;return this.showIntervalInputs?t("div",{class:"input-container",part:"histogram-input-container",onClick:t=>{const e=t.currentTarget.querySelector(".value-input");e&&t.target!==e&&(e.focus(),this.setCursorToEnd(e))}},t("span",{class:"input-label",part:"histogram-input-label"},t("slot",{name:o},S.t(n))),t("div",{class:"input-value-wrapper"},t("input",{type:"text",class:"value-input",part:`histogram-${r}-input`,value:e,size:this.calculateInputSize(e),onInput:this.handleInputChange,onBlur:t=>this.handleInputBlur(t,r),onKeyDown:t=>{"Enter"===t.key&&t.target.blur()},"aria-label":S.t(i)}),this.showCurrency&&t("span",{class:"input-currency"},null!==(a=this.currencySign)&&void 0!==a?a:T.currencySign))):t("div",{class:"label",part:"histogram-label"},e,this.showCurrency&&t("span",{class:"histogram-currency"},null!==(l=this.currencySign)&&void 0!==l?l:T.currencySign))}}componentWillLoad(){st(this,this.el),this.initializeValues()}initializeValues(){var t,e;if(!this.histogram||0===this.histogram.length)return;this.minValue=this.histogram[0].value.interval.start,this.maxValue=this.histogram[this.histogram.length-1].value.interval.end,this.selectedInterval?(this.fromValue=null!==(t=this.selectedInterval.start)&&void 0!==t?t:this.minValue,this.toValue=null!==(e=this.selectedInterval.end)&&void 0!==e?e:this.maxValue):(this.fromValue=this.minValue,this.toValue=this.maxValue);const r=Math.max(...this.histogram.map((({value:t})=>t.frequency)));this.scalingFactor=100/r}get minMargin(){return Math.max(1,Math.round(.03*(this.maxValue-this.minValue)))}calculateBarHeight(t){return t*this.scalingFactor}isBarActive(t){if(!t.active)return!1;const{start:e,end:r}=t.value.interval;return!(r<this.fromValue||e>this.toValue)}calculateBarWidth(t){const{start:e,end:r}=t.value.interval;return(r-e)/(this.maxValue-this.minValue)*100}render(){return t(o,{key:"243f582969e87741635e7c613a5a11f220ec1d38",exportparts:xt},t("div",{key:"cc5ce4f289195db063d9ffd4dd07cce0774ba383",class:"histogram",part:"histogram"},this.histogram.map((e=>{const r=this.calculateBarHeight(e.value.frequency),n=r&&r<3?3:r,i=this.calculateBarWidth(e),o=this.isBarActive(e);return t("div",{class:{"histogram-bar":!0,"histogram-bar-inactive":!o},style:{height:`${n}%`,width:`${i}%`},part:"histogram-bar"})}))),t("div",{key:"f0ba4223dbe6ad2161a829e3e8604450f32086e7",class:"range_container",part:"histogram-range-container"},t("div",{key:"994067ff81837734e016817fa973bc9b10ad99d5",class:"sliders_control",part:"histogram-sliders-control"},t("input",{key:"6540033eca0ccade67bd4ebe34656f34775e42d0",id:"fromSlider",type:"range",min:this.minValue,max:this.maxValue,step:1,value:this.fromValue,onInput:t=>this.controlSlider(t,"from"),onChange:this.sendBackValue,part:"histogram-from-slider","aria-label":S.t("a11y.priceRangeMin")}),t("input",{key:"7d6ea7ffd19a41e61cb8c026166892dc885a31cc",id:"toSlider",type:"range",min:this.minValue,max:this.maxValue,step:1,value:this.toValue,onInput:t=>this.controlSlider(t,"to"),onChange:this.sendBackValue,part:"histogram-to-slider","aria-label":S.t("a11y.priceRangeMax")}))),t("div",{key:"efd8b01f41281d378ba7f0152b0fedcecd3e3621",class:{"label-wrapper":!0,"with-inputs":this.showIntervalInputs},part:"histogram-label-wrapper"},this.renderValueDisplay(this.fromValue,"from","filters.from","a11y.priceRangeMin","vviinn-range-filter-from-label"),this.renderValueDisplay(this.toValue,"to","filters.till","a11y.priceRangeMax","vviinn-range-filter-to-label")))}get el(){return a(this)}static get watchers(){return{selectedInterval:["initializeValues"],histogram:["initializeValues"]}}};fe.style=':host{--font-family-base:Inter, system-ui, sans-serif;--font-family-mono:monospace;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;--font-size-display:32px;--font-size-title:24px;--font-size-headline:18px;--font-size-label-large:16px;--font-size-label:14px;--font-size-body-large:16px;--font-size-body:14px;--font-size-caption:12px;--line-height-display:40px;--line-height-title:32px;--line-height-headline:24px;--line-height-label-large:24px;--line-height-label:20px;--line-height-body-large:24px;--line-height-body:20px;--line-height-caption:16px;--letter-spacing-title:0px;--letter-spacing-headline:0px;--letter-spacing-label-large:0px;--letter-spacing-label:0px;--letter-spacing-body-large:0px;--letter-spacing-body:0px;--letter-spacing-caption:0px;--font-weight-400:400;--font-weight-500:500;--font-weight-600:600;--font-weight-700:700;--spacing-none:0px;--spacing-25:2px;--spacing-50:4px;--spacing-75:6px;--spacing-100:8px;--spacing-125:10px;--spacing-150:12px;--spacing-200:16px;--spacing-250:20px;--spacing-300:24px;--spacing-400:32px;--spacing-500:40px;--spacing-600:48px;--border-radius-none:0px;--border-radius-25:2px;--border-radius-50:4px;--border-radius-100:8px;--border-radius-150:12px;--border-radius-200:16px;--border-radius-300:24px;--border-radius-400:32px;--border-radius-full:9999px;--stroke-width-none:0px;--stroke-width-25:1px;--stroke-width-50:2px;--stroke-width-75:3px;--stroke-width-100:4px;--stroke-width-150:6px;--stroke-width-200:8px;--stroke-width-300:12px;--product-card-widget-min-width:135px;--product-card-results-min-width:250px;--image-set-mode-min-width:155px;--source-card-set-mode-max-width:500px;--filter-blur-none:0px;--filter-blur-100:8px;--filter-blur-150:12px;--filter-blur-200:16px;--color-bg-base:#ffffff;--color-bg-inverse:#161616;--color-border-00:#ffffff;--color-border-01:#f4f4f4;--color-border-02:#e0e0e0;--color-border-03:#c6c6c6;--color-border-inverse-00:#161616;--color-border-inverse-01:#393939;--color-field-01:#ffffff;--color-field-02:#f4f4f4;--color-icon-primary:#161616;--color-icon-secondary:#525252;--color-icon-helper:#8d8d8d;--color-icon-on-color:#ffffff;--color-icon-inverse:#ffffff;--color-icon-disabled:#16161640;--color-text-primary:#161616;--color-text-secondary:#707070;--color-text-helper:#8d8d8d;--color-text-placeholder:#a8a8a8;--color-text-on-color:#ffffff;--color-text-inverse:#ffffff;--color-text-disabled:#16161640;--button-bg-color-primary:#000000;--button-bg-color-primary-hover:#161616;--button-bg-color-primary-active:#1e1e1e;--button-bg-color-secondary:#f4f4f4;--button-bg-color-secondary-hover:#e0e0e0;--button-bg-color-secondary-active:#c6c6c6;--button-bg-color-ghost-hover:#f4f4f4;--button-bg-color-ghost-active:#eaeaea;--button-bg-color-frosted:#6f6f6f66;--button-bg-color-frosted-hover:#6f6f6f80;--button-bg-color-frosted-active:#6f6f6f99;--button-bg-color-disabled:#e0e0e0;--button-bg-color-positive:#dcfce7;--surface-bg-color-01:#f4f4f4;--surface-bg-color-01-hover:#eaeaea;--surface-bg-color-01-active:#e0e0e0;--surface-bg-color-02:#ffffff;--surface-bg-color-inverse:#262626;--surface-bg-color-inverse-hover:#303030;--surface-bg-color-inverse-active:#393939;--surface-bg-color-disabled:#e0e0e0;--surface-bg-color-shadow-01:#dddddd;--surface-bg-color-shadow-02:#c6c6c6;--chip-bg-color-primary:#161616;--chip-bg-color-primary-hover:#1e1e1e;--chip-bg-color-primary-active:#262626;--chip-bg-color-subtle:#f4f4f4;--chip-bg-color-subtle-hover:#eaeaea;--chip-bg-color-subtle-active:#e0e0e0;--chip-bg-color-outline-hover:#f4f4f4;--chip-bg-color-outline-active:#eaeaea;--label-bg-color-accent:#ff3944;--sidebar-animation-duration-default:0.5s;--search-modal-animation-duration-default:0.25s;--search-modal-animation-duration-mobile-default:0.35s;}:host{display:block;margin-top:var(--spacing-300);font-family:var(--font-family, var(--font-family-base));--thumb-size:32px}.histogram{height:64px;display:flex;align-items:flex-end;gap:var(--spacing-25);padding:0 var(--spacing-150)}.histogram-bar{background:var(--surface-inverse-bg-color, #262626);border-radius:2px 2px 0px 0px}.histogram-bar.histogram-bar-inactive{background:var(--surface-bg-color-disabled)}.range_container{display:flex;flex-direction:column;width:100%;margin-top:-2px;transform:translateX(-2px)}.range_container .sliders_control{position:relative;min-height:25px}.range_container .form_control{position:relative;display:flex;justify-content:space-between;font-size:24px;color:#635a5a}.range_container input[type="range"]{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:1px;width:100%;position:absolute;background:var(--color-border-02);pointer-events:none}.range_container input[type="range"]::-webkit-slider-thumb{-webkit-appearance:none;pointer-events:all;width:var(--thumb-size);height:var(--thumb-size);background-color:var(--color-bg-base);box-shadow:unset;border-radius:50%;border:1px solid var(--color-border-03);cursor:pointer}.range_container input[type="range"]::-moz-range-thumb{-webkit-appearance:none;pointer-events:all;width:var(--thumb-size);height:var(--thumb-size);background-color:var(--color-bg-base);box-shadow:unset;border-radius:50%;border:1px solid var(--color-border-02);cursor:pointer}.range_container input[type="range"]::-webkit-slider-thumb:hover{background:#f7f7f7}.range_container #fromSlider{z-index:1;background:transparent}.label-wrapper{display:flex;justify-content:space-between;margin-top:6px}.label-wrapper.with-inputs{gap:var(--spacing-100);height:48px;justify-content:flex-start}.label-wrapper .label{display:flex;padding:var(--spacing-25) var(--spacing-100);justify-content:center;align-items:center;border-radius:var(--border-radius-100);background:var(--chip-bg-color-primary);color:var(--color-text-inverse);text-align:center;font-size:var(--font-size-label);font-style:normal;font-weight:var(--font-weight-500);line-height:var(--line-height-label);letter-spacing:var(--letter-spacing-label);gap:3px}.input-container{display:flex;flex-direction:column;gap:0;align-items:stretch;flex:1 1 0;height:40px;border:1px solid var(--color-border-01);border-radius:var(--border-radius-100);background:var(--color-bg-base);padding:var(--spacing-50) var(--spacing-100);justify-content:center;cursor:text}.input-container:focus-within{border-color:var(--color-border-03)}.input-label{color:var(--color-text-secondary);font-size:var(--font-size-body);font-weight:var(--font-weight-400);line-height:var(--line-height-body);letter-spacing:var(--letter-spacing-body);font-family:var(--font-family-base);text-overflow:ellipsis;white-space:nowrap}.input-value-wrapper{display:inline-flex;align-items:baseline;gap:var(--spacing-25)}.value-input{border:none;background:transparent;color:var(--color-text-primary);font-size:var(--font-size-body);font-weight:var(--font-weight-400);line-height:var(--line-height-body);letter-spacing:var(--letter-spacing-body);font-family:var(--font-family-base);padding:0;max-width:100%}.value-input:focus{outline:none}.input-currency{color:var(--color-text-primary);font-size:var(--font-size-body);font-weight:var(--font-weight-400);line-height:var(--line-height-body);flex-shrink:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}';const de=class{constructor(t){e(this,t),this.halfWidth=!1}render(){return t(o,{key:"149fe2396c333fff4ff01e607a8f1b238ac12bdb"},t("div",{key:"6a9e376f9955458af0c30c9df01ea7c2b8849196",class:{"vviinn-skeleton":!0},style:{height:this.height?`${this.height.toString()}px`:"100%",width:this.halfWidth?"50%":"100%","aspect-ratio":this.aspectRatio?`${this.aspectRatio}`:void 0}}))}get el(){return a(this)}};de.style=":host{display:block;width:100%;height:100%;line-height:0}.vviinn-skeleton{display:inline-block;animation:pulse 1.2s infinite}@keyframes pulse{0%{background-color:rgb(244, 244, 244)}50%{background-color:rgb(232, 232, 232)}100%{background-color:rgba(244, 244, 244)}}";var he,ve={},pe={},be={},ge={};function me(){return he||(he=1,Object.defineProperty(ge,"__esModule",{value:!0}),ge.isFunction=void 0,ge.isFunction=function(t){return"function"==typeof t}),ge}var ye,xe,we={},je={},_e={};function Oe(){return ye||(ye=1,Object.defineProperty(_e,"__esModule",{value:!0}),_e.createErrorClass=void 0,_e.createErrorClass=function(t){var e=t((function(t){Error.call(t),t.stack=(new Error).stack}));return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}),_e}function ke(){if(xe)return je;xe=1,Object.defineProperty(je,"__esModule",{value:!0}),je.UnsubscriptionError=void 0;var t=Oe();return je.UnsubscriptionError=t.createErrorClass((function(t){return function(e){t(this),this.message=e?e.length+" errors occurred during unsubscription:\n"+e.map((function(t,e){return e+1+") "+t.toString()})).join("\n "):"",this.name="UnsubscriptionError",this.errors=e}})),je}var Ce,Me,ze={};function Se(){return Ce||(Ce=1,Object.defineProperty(ze,"__esModule",{value:!0}),ze.arrRemove=void 0,ze.arrRemove=function(t,e){if(t){var r=t.indexOf(e);0<=r&&t.splice(r,1)}}),ze}function Te(){if(Me)return we;Me=1;var t=we&&we.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},e=we&&we.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,i,o=r.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(t){i={error:t}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},r=we&&we.__spreadArray||function(t,e){for(var r=0,n=e.length,i=t.length;r<n;r++,i++)t[i]=e[r];return t};Object.defineProperty(we,"__esModule",{value:!0}),we.isSubscription=we.EMPTY_SUBSCRIPTION=we.Subscription=void 0;var n=me(),i=ke(),o=Se(),a=function(){function a(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return a.prototype.unsubscribe=function(){var o,a,s,c,u;if(!this.closed){this.closed=!0;var f=this._parentage;if(f)if(this._parentage=null,Array.isArray(f))try{for(var d=t(f),h=d.next();!h.done;h=d.next())h.value.remove(this)}catch(t){o={error:t}}finally{try{h&&!h.done&&(a=d.return)&&a.call(d)}finally{if(o)throw o.error}}else f.remove(this);var v=this.initialTeardown;if(n.isFunction(v))try{v()}catch(t){u=t instanceof i.UnsubscriptionError?t.errors:[t]}var p=this._finalizers;if(p){this._finalizers=null;try{for(var b=t(p),g=b.next();!g.done;g=b.next()){var m=g.value;try{l(m)}catch(t){u=null!=u?u:[],t instanceof i.UnsubscriptionError?u=r(r([],e(u)),e(t.errors)):u.push(t)}}}catch(t){s={error:t}}finally{try{g&&!g.done&&(c=b.return)&&c.call(b)}finally{if(s)throw s.error}}}if(u)throw new i.UnsubscriptionError(u)}},a.prototype.add=function(t){var e;if(t&&t!==this)if(this.closed)l(t);else{if(t instanceof a){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(e=this._finalizers)&&void 0!==e?e:[]).push(t)}},a.prototype._hasParent=function(t){var e=this._parentage;return e===t||Array.isArray(e)&&e.includes(t)},a.prototype._addParent=function(t){var e=this._parentage;this._parentage=Array.isArray(e)?(e.push(t),e):e?[e,t]:t},a.prototype._removeParent=function(t){var e=this._parentage;e===t?this._parentage=null:Array.isArray(e)&&o.arrRemove(e,t)},a.prototype.remove=function(t){var e=this._finalizers;e&&o.arrRemove(e,t),t instanceof a&&t._removeParent(this)},a.EMPTY=function(){var t=new a;return t.closed=!0,t}(),a}();function l(t){n.isFunction(t)?t():t.unsubscribe()}return we.Subscription=a,we.EMPTY_SUBSCRIPTION=a.EMPTY,we.isSubscription=function(t){return t instanceof a||t&&"closed"in t&&n.isFunction(t.remove)&&n.isFunction(t.add)&&n.isFunction(t.unsubscribe)},we}var Ie,Ee={};function Ae(){return Ie||(Ie=1,Object.defineProperty(Ee,"__esModule",{value:!0}),Ee.config=void 0,Ee.config={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}),Ee}var Le,We,Pe={},Ve={};function Re(){return Le||(Le=1,t=Ve,e=Ve&&Ve.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,i,o=r.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(t){i={error:t}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},r=Ve&&Ve.__spreadArray||function(t,e){for(var r=0,n=e.length,i=t.length;r<n;r++,i++)t[i]=e[r];return t},Object.defineProperty(t,"__esModule",{value:!0}),t.timeoutProvider=void 0,t.timeoutProvider={setTimeout:function(n,i){for(var o=[],a=2;a<arguments.length;a++)o[a-2]=arguments[a];var l=t.timeoutProvider.delegate;return(null==l?void 0:l.setTimeout)?l.setTimeout.apply(l,r([n,i],e(o))):setTimeout.apply(void 0,r([n,i],e(o)))},clearTimeout:function(e){var r=t.timeoutProvider.delegate;return((null==r?void 0:r.clearTimeout)||clearTimeout)(e)},delegate:void 0}),Ve;var t,e,r}function Fe(){if(We)return Pe;We=1,Object.defineProperty(Pe,"__esModule",{value:!0}),Pe.reportUnhandledError=void 0;var t=Ae(),e=Re();return Pe.reportUnhandledError=function(r){e.timeoutProvider.setTimeout((function(){var e=t.config.onUnhandledError;if(!e)throw r;e(r)}))},Pe}var Be,Ne={};function De(){return Be||(Be=1,Object.defineProperty(Ne,"__esModule",{value:!0}),Ne.noop=void 0,Ne.noop=function(){}),Ne}var $e,He,Ze,qe={},Ue={};function Ye(){if(He)return Ue;He=1,Object.defineProperty(Ue,"__esModule",{value:!0}),Ue.captureError=Ue.errorContext=void 0;var t=Ae(),e=null;return Ue.errorContext=function(r){if(t.config.useDeprecatedSynchronousErrorHandling){var n=!e;if(n&&(e={errorThrown:!1,error:null}),r(),n){var i=e;if(e=null,i.errorThrown)throw i.error}}else r()},Ue.captureError=function(r){t.config.useDeprecatedSynchronousErrorHandling&&e&&(e.errorThrown=!0,e.error=r)},Ue}function Je(){return Ze||(Ze=1,function(t){var e,r=be&&be.__extends||(e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},e(t,r)},function(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.EMPTY_OBSERVER=t.SafeSubscriber=t.Subscriber=void 0;var n=me(),i=Te(),o=Ae(),a=Fe(),l=De(),s=function(){if($e)return qe;function t(t,e,r){return{kind:t,value:e,error:r}}return $e=1,Object.defineProperty(qe,"__esModule",{value:!0}),qe.createNotification=qe.nextNotification=qe.errorNotification=qe.COMPLETE_NOTIFICATION=void 0,qe.COMPLETE_NOTIFICATION=t("C",void 0,void 0),qe.errorNotification=function(e){return t("E",void 0,e)},qe.nextNotification=function(e){return t("N",e,void 0)},qe.createNotification=t,qe}(),c=Re(),u=Ye(),f=function(e){function n(r){var n=e.call(this)||this;return n.isStopped=!1,r?(n.destination=r,i.isSubscription(r)&&r.add(n)):n.destination=t.EMPTY_OBSERVER,n}return r(n,e),n.create=function(t,e,r){return new p(t,e,r)},n.prototype.next=function(t){this.isStopped?g(s.nextNotification(t),this):this._next(t)},n.prototype.error=function(t){this.isStopped?g(s.errorNotification(t),this):(this.isStopped=!0,this._error(t))},n.prototype.complete=function(){this.isStopped?g(s.COMPLETE_NOTIFICATION,this):(this.isStopped=!0,this._complete())},n.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},n.prototype._next=function(t){this.destination.next(t)},n.prototype._error=function(t){try{this.destination.error(t)}finally{this.unsubscribe()}},n.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},n}(i.Subscription);t.Subscriber=f;var d=Function.prototype.bind;function h(t,e){return d.call(t,e)}var v=function(){function t(t){this.partialObserver=t}return t.prototype.next=function(t){var e=this.partialObserver;if(e.next)try{e.next(t)}catch(t){b(t)}},t.prototype.error=function(t){var e=this.partialObserver;if(e.error)try{e.error(t)}catch(t){b(t)}else b(t)},t.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(t){b(t)}},t}(),p=function(t){function e(e,r,i){var a,l,s=t.call(this)||this;return n.isFunction(e)||!e?a={next:null!=e?e:void 0,error:null!=r?r:void 0,complete:null!=i?i:void 0}:s&&o.config.useDeprecatedNextContext?((l=Object.create(e)).unsubscribe=function(){return s.unsubscribe()},a={next:e.next&&h(e.next,l),error:e.error&&h(e.error,l),complete:e.complete&&h(e.complete,l)}):a=e,s.destination=new v(a),s}return r(e,t),e}(f);function b(t){o.config.useDeprecatedSynchronousErrorHandling?u.captureError(t):a.reportUnhandledError(t)}function g(t,e){var r=o.config.onStoppedNotification;r&&c.timeoutProvider.setTimeout((function(){return r(t,e)}))}t.SafeSubscriber=p,t.EMPTY_OBSERVER={closed:!0,next:l.noop,error:function(t){throw t},complete:l.noop}}(be)),be}var Ke,Xe={};function Ge(){return Ke||(Ke=1,Object.defineProperty(Xe,"__esModule",{value:!0}),Xe.observable=void 0,Xe.observable="function"==typeof Symbol&&Symbol.observable||"@@observable"),Xe}var Qe,tr,er,rr={},nr={};function ir(){return Qe||(Qe=1,Object.defineProperty(nr,"__esModule",{value:!0}),nr.identity=void 0,nr.identity=function(t){return t}),nr}function or(){if(tr)return rr;tr=1,Object.defineProperty(rr,"__esModule",{value:!0}),rr.pipeFromArray=rr.pipe=void 0;var t=ir();function e(e){return 0===e.length?t.identity:1===e.length?e[0]:function(t){return e.reduce((function(t,e){return e(t)}),t)}}return rr.pipe=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return e(t)},rr.pipeFromArray=e,rr}function ar(){if(er)return pe;er=1,Object.defineProperty(pe,"__esModule",{value:!0}),pe.Observable=void 0;var t=Je(),e=Te(),r=Ge(),n=or(),i=Ae(),o=me(),a=Ye(),l=function(){function i(t){t&&(this._subscribe=t)}return i.prototype.lift=function(t){var e=new i;return e.source=this,e.operator=t,e},i.prototype.subscribe=function(r,n,i){var l,s=this,c=(l=r)&&l instanceof t.Subscriber||function(t){return t&&o.isFunction(t.next)&&o.isFunction(t.error)&&o.isFunction(t.complete)}(l)&&e.isSubscription(l)?r:new t.SafeSubscriber(r,n,i);return a.errorContext((function(){var t=s.operator,e=s.source;c.add(t?t.call(c,e):e?s._subscribe(c):s._trySubscribe(c))})),c},i.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},i.prototype.forEach=function(e,r){var n=this;return new(r=s(r))((function(r,i){var o=new t.SafeSubscriber({next:function(t){try{e(t)}catch(t){i(t),o.unsubscribe()}},error:i,complete:r});n.subscribe(o)}))},i.prototype._subscribe=function(t){var e;return null===(e=this.source)||void 0===e?void 0:e.subscribe(t)},i.prototype[r.observable]=function(){return this},i.prototype.pipe=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return n.pipeFromArray(t)(this)},i.prototype.toPromise=function(t){var e=this;return new(t=s(t))((function(t,r){var n;e.subscribe((function(t){return n=t}),(function(t){return r(t)}),(function(){return t(n)}))}))},i.create=function(t){return new i(t)},i}();function s(t){var e;return null!==(e=null!=t?t:i.config.Promise)&&void 0!==e?e:Promise}return pe.Observable=l,pe}var lr,sr={},cr={},ur={};function fr(){if(lr)return ur;lr=1,Object.defineProperty(ur,"__esModule",{value:!0}),ur.operate=ur.hasLift=void 0;var t=me();function e(e){return t.isFunction(null==e?void 0:e.lift)}return ur.hasLift=e,ur.operate=function(t){return function(r){if(e(r))return r.lift((function(e){try{return t(e,this)}catch(t){this.error(t)}}));throw new TypeError("Unable to lift unknown Observable type")}},ur}var dr,hr,vr,pr={};function br(){if(dr)return pr;dr=1;var t,e=pr&&pr.__extends||(t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},t(e,r)},function(e,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)});Object.defineProperty(pr,"__esModule",{value:!0}),pr.OperatorSubscriber=pr.createOperatorSubscriber=void 0;var r=Je();pr.createOperatorSubscriber=function(t,e,r,i,o){return new n(t,e,r,i,o)};var n=function(t){function r(e,r,n,i,o,a){var l=t.call(this,e)||this;return l.onFinalize=o,l.shouldUnsubscribe=a,l._next=r?function(t){try{r(t)}catch(t){e.error(t)}}:t.prototype._next,l._error=i?function(t){try{i(t)}catch(t){e.error(t)}finally{this.unsubscribe()}}:t.prototype._error,l._complete=n?function(){try{n()}catch(t){e.error(t)}finally{this.unsubscribe()}}:t.prototype._complete,l}return e(r,t),r.prototype.unsubscribe=function(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var r=this.closed;t.prototype.unsubscribe.call(this),!r&&(null===(e=this.onFinalize)||void 0===e||e.call(this))}},r}(r.Subscriber);return pr.OperatorSubscriber=n,pr}function gr(){if(hr)return cr;hr=1,Object.defineProperty(cr,"__esModule",{value:!0}),cr.refCount=void 0;var t=fr(),e=br();return cr.refCount=function(){return t.operate((function(t,r){var n=null;t._refCount++;var i=e.createOperatorSubscriber(r,void 0,void 0,void 0,(function(){if(!t||t._refCount<=0||0<--t._refCount)n=null;else{var e=t._connection,i=n;n=null,!e||i&&e!==i||e.unsubscribe(),r.unsubscribe()}}));t.subscribe(i),i.closed||(n=t.connect())}))},cr}function mr(){if(vr)return sr;vr=1;var t,e=sr&&sr.__extends||(t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},t(e,r)},function(e,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)});Object.defineProperty(sr,"__esModule",{value:!0}),sr.ConnectableObservable=void 0;var r=ar(),n=Te(),i=gr(),o=br(),a=fr(),l=function(t){function r(e,r){var n=t.call(this)||this;return n.source=e,n.subjectFactory=r,n._subject=null,n._refCount=0,n._connection=null,a.hasLift(e)&&(n.lift=e.lift),n}return e(r,t),r.prototype._subscribe=function(t){return this.getSubject().subscribe(t)},r.prototype.getSubject=function(){var t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject},r.prototype._teardown=function(){this._refCount=0;var t=this._connection;this._subject=this._connection=null,null==t||t.unsubscribe()},r.prototype.connect=function(){var t=this,e=this._connection;if(!e){e=this._connection=new n.Subscription;var r=this.getSubject();e.add(this.source.subscribe(o.createOperatorSubscriber(r,void 0,(function(){t._teardown(),r.complete()}),(function(e){t._teardown(),r.error(e)}),(function(){return t._teardown()})))),e.closed&&(this._connection=null,e=n.Subscription.EMPTY)}return e},r.prototype.refCount=function(){return i.refCount()(this)},r}(r.Observable);return sr.ConnectableObservable=l,sr}var yr,xr,wr,jr={},_r={},Or={};function kr(){return xr||(xr=1,function(t){var e=Or&&Or.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,i,o=r.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(t){i={error:t}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},r=Or&&Or.__spreadArray||function(t,e){for(var r=0,n=e.length,i=t.length;r<n;r++,i++)t[i]=e[r];return t};Object.defineProperty(t,"__esModule",{value:!0}),t.animationFrameProvider=void 0;var n=Te();t.animationFrameProvider={schedule:function(e){var r=requestAnimationFrame,i=cancelAnimationFrame,o=t.animationFrameProvider.delegate;o&&(r=o.requestAnimationFrame,i=o.cancelAnimationFrame);var a=r((function(t){i=void 0,e(t)}));return new n.Subscription((function(){return null==i?void 0:i(a)}))},requestAnimationFrame:function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];var o=t.animationFrameProvider.delegate;return((null==o?void 0:o.requestAnimationFrame)||requestAnimationFrame).apply(void 0,r([],e(n)))},cancelAnimationFrame:function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];var o=t.animationFrameProvider.delegate;return((null==o?void 0:o.cancelAnimationFrame)||cancelAnimationFrame).apply(void 0,r([],e(n)))},delegate:void 0}}(Or)),Or}var Cr,Mr,zr={},Sr={};function Tr(){if(Cr)return Sr;Cr=1,Object.defineProperty(Sr,"__esModule",{value:!0}),Sr.ObjectUnsubscribedError=void 0;var t=Oe();return Sr.ObjectUnsubscribedError=t.createErrorClass((function(t){return function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})),Sr}function Ir(){if(Mr)return zr;Mr=1;var t,e=zr&&zr.__extends||(t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},t(e,r)},function(e,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}),r=zr&&zr.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(zr,"__esModule",{value:!0}),zr.AnonymousSubject=zr.Subject=void 0;var n=ar(),i=Te(),o=Tr(),a=Se(),l=Ye(),s=function(t){function s(){var e=t.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return e(s,t),s.prototype.lift=function(t){var e=new c(this,this);return e.operator=t,e},s.prototype._throwIfClosed=function(){if(this.closed)throw new o.ObjectUnsubscribedError},s.prototype.next=function(t){var e=this;l.errorContext((function(){var n,i;if(e._throwIfClosed(),!e.isStopped){e.currentObservers||(e.currentObservers=Array.from(e.observers));try{for(var o=r(e.currentObservers),a=o.next();!a.done;a=o.next())a.value.next(t)}catch(t){n={error:t}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}}}))},s.prototype.error=function(t){var e=this;l.errorContext((function(){if(e._throwIfClosed(),!e.isStopped){e.hasError=e.isStopped=!0,e.thrownError=t;for(var r=e.observers;r.length;)r.shift().error(t)}}))},s.prototype.complete=function(){var t=this;l.errorContext((function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}}))},s.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(s.prototype,"observed",{get:function(){var t;return(null===(t=this.observers)||void 0===t?void 0:t.length)>0},enumerable:!1,configurable:!0}),s.prototype._trySubscribe=function(e){return this._throwIfClosed(),t.prototype._trySubscribe.call(this,e)},s.prototype._subscribe=function(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)},s.prototype._innerSubscribe=function(t){var e=this,r=this,n=r.observers;return r.hasError||r.isStopped?i.EMPTY_SUBSCRIPTION:(this.currentObservers=null,n.push(t),new i.Subscription((function(){e.currentObservers=null,a.arrRemove(n,t)})))},s.prototype._checkFinalizedStatuses=function(t){var e=this,r=e.isStopped;e.hasError?t.error(e.thrownError):r&&t.complete()},s.prototype.asObservable=function(){var t=new n.Observable;return t.source=this,t},s.create=function(t,e){return new c(t,e)},s}(n.Observable);zr.Subject=s;var c=function(t){function r(e,r){var n=t.call(this)||this;return n.destination=e,n.source=r,n}return e(r,t),r.prototype.next=function(t){var e,r;null===(r=null===(e=this.destination)||void 0===e?void 0:e.next)||void 0===r||r.call(e,t)},r.prototype.error=function(t){var e,r;null===(r=null===(e=this.destination)||void 0===e?void 0:e.error)||void 0===r||r.call(e,t)},r.prototype.complete=function(){var t,e;null===(e=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===e||e.call(t)},r.prototype._subscribe=function(t){var e,r;return null!==(r=null===(e=this.source)||void 0===e?void 0:e.subscribe(t))&&void 0!==r?r:i.EMPTY_SUBSCRIPTION},r}(s);return zr.AnonymousSubject=c,zr}var Er,Ar={};function Lr(){if(Er)return Ar;Er=1;var t,e=Ar&&Ar.__extends||(t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},t(e,r)},function(e,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)});Object.defineProperty(Ar,"__esModule",{value:!0}),Ar.BehaviorSubject=void 0;var r=function(t){function r(e){var r=t.call(this)||this;return r._value=e,r}return e(r,t),Object.defineProperty(r.prototype,"value",{get:function(){return this.getValue()},enumerable:!1,configurable:!0}),r.prototype._subscribe=function(e){var r=t.prototype._subscribe.call(this,e);return!r.closed&&e.next(this._value),r},r.prototype.getValue=function(){var t=this,e=t._value;if(t.hasError)throw t.thrownError;return this._throwIfClosed(),e},r.prototype.next=function(e){t.prototype.next.call(this,this._value=e)},r}(Ir().Subject);return Ar.BehaviorSubject=r,Ar}var Wr,Pr,Vr={},Rr={};function Fr(){return Wr||(Wr=1,t=Rr,Object.defineProperty(t,"__esModule",{value:!0}),t.dateTimestampProvider=void 0,t.dateTimestampProvider={now:function(){return(t.dateTimestampProvider.delegate||Date).now()},delegate:void 0}),Rr;var t}function Br(){if(Pr)return Vr;Pr=1;var t,e=Vr&&Vr.__extends||(t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},t(e,r)},function(e,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)});Object.defineProperty(Vr,"__esModule",{value:!0}),Vr.ReplaySubject=void 0;var r=Ir(),n=Fr(),i=function(t){function r(e,r,i){void 0===e&&(e=1/0),void 0===r&&(r=1/0),void 0===i&&(i=n.dateTimestampProvider);var o=t.call(this)||this;return o._bufferSize=e,o._windowTime=r,o._timestampProvider=i,o._buffer=[],o._infiniteTimeWindow=!0,o._infiniteTimeWindow=r===1/0,o._bufferSize=Math.max(1,e),o._windowTime=Math.max(1,r),o}return e(r,t),r.prototype.next=function(e){var r=this,n=r._buffer,i=r._infiniteTimeWindow,o=r._timestampProvider,a=r._windowTime;r.isStopped||(n.push(e),!i&&n.push(o.now()+a)),this._trimBuffer(),t.prototype.next.call(this,e)},r.prototype._subscribe=function(t){this._throwIfClosed(),this._trimBuffer();for(var e=this._innerSubscribe(t),r=this._infiniteTimeWindow,n=this._buffer.slice(),i=0;i<n.length&&!t.closed;i+=r?1:2)t.next(n[i]);return this._checkFinalizedStatuses(t),e},r.prototype._trimBuffer=function(){var t=this,e=t._bufferSize,r=t._timestampProvider,n=t._buffer,i=t._infiniteTimeWindow,o=(i?1:2)*e;if(e<1/0&&o<n.length&&n.splice(0,n.length-o),!i){for(var a=r.now(),l=0,s=1;s<n.length&&n[s]<=a;s+=2)l=s;l&&n.splice(0,l+1)}},r}(r.Subject);return Vr.ReplaySubject=i,Vr}var Nr,Dr={};function $r(){if(Nr)return Dr;Nr=1;var t,e=Dr&&Dr.__extends||(t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},t(e,r)},function(e,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)});Object.defineProperty(Dr,"__esModule",{value:!0}),Dr.AsyncSubject=void 0;var r=function(t){function r(){var e=null!==t&&t.apply(this,arguments)||this;return e._value=null,e._hasValue=!1,e._isComplete=!1,e}return e(r,t),r.prototype._checkFinalizedStatuses=function(t){var e=this,r=e._hasValue,n=e._value,i=e.isStopped,o=e._isComplete;e.hasError?t.error(e.thrownError):(i||o)&&(r&&t.next(n),t.complete())},r.prototype.next=function(t){this.isStopped||(this._value=t,this._hasValue=!0)},r.prototype.complete=function(){var e=this,r=e._hasValue,n=e._value;e._isComplete||(this._isComplete=!0,r&&t.prototype.next.call(this,n),t.prototype.complete.call(this))},r}(Ir().Subject);return Dr.AsyncSubject=r,Dr}var Hr,Zr,qr,Ur={},Yr={},Jr={},Kr={},Xr={};function Gr(){if(qr)return Jr;qr=1;var t,e=Jr&&Jr.__extends||(t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},t(e,r)},function(e,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)});Object.defineProperty(Jr,"__esModule",{value:!0}),Jr.AsyncAction=void 0;var r,n,i,o=function(){if(Hr)return Kr;Hr=1;var t,e=Kr&&Kr.__extends||(t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},t(e,r)},function(e,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)});Object.defineProperty(Kr,"__esModule",{value:!0}),Kr.Action=void 0;var r=function(t){function r(){return t.call(this)||this}return e(r,t),r.prototype.schedule=function(){return this},r}(Te().Subscription);return Kr.Action=r,Kr}(),a=(Zr||(Zr=1,r=Xr,n=Xr&&Xr.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,i,o=r.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(t){i={error:t}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},i=Xr&&Xr.__spreadArray||function(t,e){for(var r=0,n=e.length,i=t.length;r<n;r++,i++)t[i]=e[r];return t},Object.defineProperty(r,"__esModule",{value:!0}),r.intervalProvider=void 0,r.intervalProvider={setInterval:function(t,e){for(var o=[],a=2;a<arguments.length;a++)o[a-2]=arguments[a];var l=r.intervalProvider.delegate;return(null==l?void 0:l.setInterval)?l.setInterval.apply(l,i([t,e],n(o))):setInterval.apply(void 0,i([t,e],n(o)))},clearInterval:function(t){var e=r.intervalProvider.delegate;return((null==e?void 0:e.clearInterval)||clearInterval)(t)},delegate:void 0}),Xr),l=Se(),s=function(t){function r(e,r){var n=t.call(this,e,r)||this;return n.scheduler=e,n.work=r,n.pending=!1,n}return e(r,t),r.prototype.schedule=function(t,e){var r;if(void 0===e&&(e=0),this.closed)return this;this.state=t;var n=this.id,i=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(i,n,e)),this.pending=!0,this.delay=e,this.id=null!==(r=this.id)&&void 0!==r?r:this.requestAsyncId(i,this.id,e),this},r.prototype.requestAsyncId=function(t,e,r){return void 0===r&&(r=0),a.intervalProvider.setInterval(t.flush.bind(t,this),r)},r.prototype.recycleAsyncId=function(t,e,r){if(void 0===r&&(r=0),null!=r&&this.delay===r&&!1===this.pending)return e;null!=e&&a.intervalProvider.clearInterval(e)},r.prototype.execute=function(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var r=this._execute(t,e);if(r)return r;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},r.prototype._execute=function(t){var e,r=!1;try{this.work(t)}catch(t){r=!0,e=t||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),e},r.prototype.unsubscribe=function(){if(!this.closed){var e=this.id,r=this.scheduler,n=r.actions;this.work=this.state=this.scheduler=null,this.pending=!1,l.arrRemove(n,this),null!=e&&(this.id=this.recycleAsyncId(r,e,null)),this.delay=null,t.prototype.unsubscribe.call(this)}},r}(o.Action);return Jr.AsyncAction=s,Jr}var Qr,tn,en,rn={},nn={};var on,an,ln,sn,cn={},un={},fn={};function dn(){if(on)return fn;on=1,Object.defineProperty(fn,"__esModule",{value:!0}),fn.Scheduler=void 0;var t=Fr(),e=function(){function e(t,r){void 0===r&&(r=e.now),this.schedulerActionCtor=t,this.now=r}return e.prototype.schedule=function(t,e,r){return void 0===e&&(e=0),new this.schedulerActionCtor(this,t).schedule(r,e)},e.now=t.dateTimestampProvider.now,e}();return fn.Scheduler=e,fn}function hn(){if(an)return un;an=1;var t,e=un&&un.__extends||(t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},t(e,r)},function(e,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)});Object.defineProperty(un,"__esModule",{value:!0}),un.AsyncScheduler=void 0;var r=dn(),n=function(t){function n(e,n){void 0===n&&(n=r.Scheduler.now);var i=t.call(this,e,n)||this;return i.actions=[],i._active=!1,i}return e(n,t),n.prototype.flush=function(t){var e=this.actions;if(this._active)e.push(t);else{var r;this._active=!0;do{if(r=t.execute(t.state,t.delay))break}while(t=e.shift());if(this._active=!1,r){for(;t=e.shift();)t.unsubscribe();throw r}}},n}(r.Scheduler);return un.AsyncScheduler=n,un}function vn(){return sn||(sn=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.asap=t.asapScheduler=void 0;var e=function(){if(en)return Yr;en=1;var t,e=Yr&&Yr.__extends||(t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},t(e,r)},function(e,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)});Object.defineProperty(Yr,"__esModule",{value:!0}),Yr.AsapAction=void 0;var r=Gr(),n=(tn||(tn=1,function(t){var e=rn&&rn.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,i,o=r.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(t){i={error:t}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},r=rn&&rn.__spreadArray||function(t,e){for(var r=0,n=e.length,i=t.length;r<n;r++,i++)t[i]=e[r];return t};Object.defineProperty(t,"__esModule",{value:!0}),t.immediateProvider=void 0;var n=function(){if(Qr)return nn;Qr=1,Object.defineProperty(nn,"__esModule",{value:!0}),nn.TestTools=nn.Immediate=void 0;var t,e=1,r={};function n(t){return t in r&&(delete r[t],!0)}return nn.Immediate={setImmediate:function(i){var o=e++;return r[o]=!0,t||(t=Promise.resolve()),t.then((function(){return n(o)&&i()})),o},clearImmediate:function(t){n(t)}},nn.TestTools={pending:function(){return Object.keys(r).length}},nn}(),i=n.Immediate.setImmediate,o=n.Immediate.clearImmediate;t.immediateProvider={setImmediate:function(){for(var n=[],o=0;o<arguments.length;o++)n[o]=arguments[o];var a=t.immediateProvider.delegate;return((null==a?void 0:a.setImmediate)||i).apply(void 0,r([],e(n)))},clearImmediate:function(e){var r=t.immediateProvider.delegate;return((null==r?void 0:r.clearImmediate)||o)(e)},delegate:void 0}}(rn)),rn),i=function(t){function r(e,r){var n=t.call(this,e,r)||this;return n.scheduler=e,n.work=r,n}return e(r,t),r.prototype.requestAsyncId=function(e,r,i){return void 0===i&&(i=0),null!==i&&i>0?t.prototype.requestAsyncId.call(this,e,r,i):(e.actions.push(this),e._scheduled||(e._scheduled=n.immediateProvider.setImmediate(e.flush.bind(e,void 0))))},r.prototype.recycleAsyncId=function(e,r,i){var o;if(void 0===i&&(i=0),null!=i?i>0:this.delay>0)return t.prototype.recycleAsyncId.call(this,e,r,i);var a=e.actions;null!=r&&(null===(o=a[a.length-1])||void 0===o?void 0:o.id)!==r&&(n.immediateProvider.clearImmediate(r),e._scheduled===r&&(e._scheduled=void 0))},r}(r.AsyncAction);return Yr.AsapAction=i,Yr}(),r=function(){if(ln)return cn;ln=1;var t,e=cn&&cn.__extends||(t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},t(e,r)},function(e,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)});Object.defineProperty(cn,"__esModule",{value:!0}),cn.AsapScheduler=void 0;var r=function(t){function r(){return null!==t&&t.apply(this,arguments)||this}return e(r,t),r.prototype.flush=function(t){this._active=!0;var e=this._scheduled;this._scheduled=void 0;var r,n=this.actions;t=t||n.shift();do{if(r=t.execute(t.state,t.delay))break}while((t=n[0])&&t.id===e&&n.shift());if(this._active=!1,r){for(;(t=n[0])&&t.id===e&&n.shift();)t.unsubscribe();throw r}},r}(hn().AsyncScheduler);return cn.AsapScheduler=r,cn}();t.asapScheduler=new r.AsapScheduler(e.AsapAction),t.asap=t.asapScheduler}(Ur)),Ur}var pn,bn={};function gn(){return pn||(pn=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.async=t.asyncScheduler=void 0;var e=Gr(),r=hn();t.asyncScheduler=new r.AsyncScheduler(e.AsyncAction),t.async=t.asyncScheduler}(bn)),bn}var mn,yn,xn,wn={},jn={},_n={};var On,kn,Cn,Mn={},zn={},Sn={};var Tn,In,En={},An={},Ln={};function Wn(){return In||(In=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.empty=t.EMPTY=void 0;var e=ar();t.EMPTY=new e.Observable((function(t){return t.complete()})),t.empty=function(r){return r?function(t){return new e.Observable((function(e){return t.schedule((function(){return e.complete()}))}))}(r):t.EMPTY}}(Ln)),Ln}var Pn,Vn,Rn={},Fn={},Bn={};function Nn(){if(Pn)return Bn;Pn=1,Object.defineProperty(Bn,"__esModule",{value:!0}),Bn.isScheduler=void 0;var t=me();return Bn.isScheduler=function(e){return e&&t.isFunction(e.schedule)},Bn}function Dn(){if(Vn)return Fn;Vn=1,Object.defineProperty(Fn,"__esModule",{value:!0}),Fn.popNumber=Fn.popScheduler=Fn.popResultSelector=void 0;var t=me(),e=Nn();function r(t){return t[t.length-1]}return Fn.popResultSelector=function(e){return t.isFunction(r(e))?e.pop():void 0},Fn.popScheduler=function(t){return e.isScheduler(r(t))?t.pop():void 0},Fn.popNumber=function(t,e){return"number"==typeof r(t)?t.pop():e},Fn}var $n,Hn={},Zn={},qn={},Un={},Yn={};function Jn(){return $n||($n=1,Object.defineProperty(Yn,"__esModule",{value:!0}),Yn.isArrayLike=void 0,Yn.isArrayLike=function(t){return t&&"number"==typeof t.length&&"function"!=typeof t}),Yn}var Kn,Xn={};function Gn(){if(Kn)return Xn;Kn=1,Object.defineProperty(Xn,"__esModule",{value:!0}),Xn.isPromise=void 0;var t=me();return Xn.isPromise=function(e){return t.isFunction(null==e?void 0:e.then)},Xn}var Qn,ti={};function ei(){if(Qn)return ti;Qn=1,Object.defineProperty(ti,"__esModule",{value:!0}),ti.isInteropObservable=void 0;var t=Ge(),e=me();return ti.isInteropObservable=function(r){return e.isFunction(r[t.observable])},ti}var ri,ni={};function ii(){if(ri)return ni;ri=1,Object.defineProperty(ni,"__esModule",{value:!0}),ni.isAsyncIterable=void 0;var t=me();return ni.isAsyncIterable=function(e){return Symbol.asyncIterator&&t.isFunction(null==e?void 0:e[Symbol.asyncIterator])},ni}var oi,ai={};function li(){return oi||(oi=1,Object.defineProperty(ai,"__esModule",{value:!0}),ai.createInvalidObservableTypeError=void 0,ai.createInvalidObservableTypeError=function(t){return new TypeError("You provided "+(null!==t&&"object"==typeof t?"an invalid object":"'"+t+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}),ai}var si,ci,ui={},fi={};function di(){if(si)return fi;function t(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}return si=1,Object.defineProperty(fi,"__esModule",{value:!0}),fi.iterator=fi.getSymbolIterator=void 0,fi.getSymbolIterator=t,fi.iterator=t(),fi}function hi(){if(ci)return ui;ci=1,Object.defineProperty(ui,"__esModule",{value:!0}),ui.isIterable=void 0;var t=di(),e=me();return ui.isIterable=function(r){return e.isFunction(null==r?void 0:r[t.iterator])},ui}var vi,pi,bi={};function gi(){if(vi)return bi;vi=1;var t=bi&&bi.__generator||function(t,e){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function l(o){return function(l){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=e.call(t,a)}catch(t){o=[6,t],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,l])}}},e=bi&&bi.__await||function(t){return this instanceof e?(this.v=t,this):new e(t)},r=bi&&bi.__asyncGenerator||function(t,r,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i,o=n.apply(t,r||[]),a=[];return i={},l("next"),l("throw"),l("return"),i[Symbol.asyncIterator]=function(){return this},i;function l(t){o[t]&&(i[t]=function(e){return new Promise((function(r,n){a.push([t,e,r,n])>1||s(t,e)}))})}function s(t,r){try{(n=o[t](r)).value instanceof e?Promise.resolve(n.value.v).then(c,u):f(a[0][2],n)}catch(t){f(a[0][3],t)}var n}function c(t){s("next",t)}function u(t){s("throw",t)}function f(t,e){t(e),a.shift(),a.length&&s(a[0][0],a[0][1])}};Object.defineProperty(bi,"__esModule",{value:!0}),bi.isReadableStreamLike=bi.readableStreamLikeToAsyncGenerator=void 0;var n=me();return bi.readableStreamLikeToAsyncGenerator=function(n){return r(this,arguments,(function(){var r,i,o;return t(this,(function(t){switch(t.label){case 0:r=n.getReader(),t.label=1;case 1:t.trys.push([1,,9,10]),t.label=2;case 2:return[4,e(r.read())];case 3:return i=t.sent(),o=i.value,i.done?[4,e(void 0)]:[3,5];case 4:return[2,t.sent()];case 5:return[4,e(o)];case 6:return[4,t.sent()];case 7:return t.sent(),[3,2];case 8:return[3,10];case 9:return r.releaseLock(),[7];case 10:return[2]}}))}))},bi.isReadableStreamLike=function(t){return n.isFunction(null==t?void 0:t.getReader)},bi}function mi(){if(pi)return Un;pi=1;var t=Un&&Un.__awaiter||function(t,e,r,n){return new(r||(r=Promise))((function(i,o){function a(t){try{s(n.next(t))}catch(t){o(t)}}function l(t){try{s(n.throw(t))}catch(t){o(t)}}function s(t){var e;t.done?i(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(a,l)}s((n=n.apply(t,e||[])).next())}))},e=Un&&Un.__generator||function(t,e){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function l(o){return function(l){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=e.call(t,a)}catch(t){o=[6,t],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,l])}}},r=Un&&Un.__asyncValues||function(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,r=t[Symbol.asyncIterator];return r?r.call(t):(t="function"==typeof n?n(t):t[Symbol.iterator](),e={},i("next"),i("throw"),i("return"),e[Symbol.asyncIterator]=function(){return this},e);function i(r){e[r]=t[r]&&function(e){return new Promise((function(n,i){!function(t,e,r,n){Promise.resolve(n).then((function(e){t({value:e,done:r})}),e)}(n,i,(e=t[r](e)).done,e.value)}))}}},n=Un&&Un.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(Un,"__esModule",{value:!0}),Un.fromReadableStreamLike=Un.fromAsyncIterable=Un.fromIterable=Un.fromPromise=Un.fromArrayLike=Un.fromInteropObservable=Un.innerFrom=void 0;var i=Jn(),o=Gn(),a=ar(),l=ei(),s=ii(),c=li(),u=hi(),f=gi(),d=me(),h=Fe(),v=Ge();function p(t){return new a.Observable((function(e){var r=t[v.observable]();if(d.isFunction(r.subscribe))return r.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")}))}function b(t){return new a.Observable((function(e){for(var r=0;r<t.length&&!e.closed;r++)e.next(t[r]);e.complete()}))}function g(t){return new a.Observable((function(e){t.then((function(t){e.closed||(e.next(t),e.complete())}),(function(t){return e.error(t)})).then(null,h.reportUnhandledError)}))}function m(t){return new a.Observable((function(e){var r,i;try{for(var o=n(t),a=o.next();!a.done;a=o.next())if(e.next(a.value),e.closed)return}catch(t){r={error:t}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(r)throw r.error}}e.complete()}))}function y(n){return new a.Observable((function(i){(function(n,i){var o,a,l,s;return t(this,void 0,void 0,(function(){var t;return e(this,(function(e){switch(e.label){case 0:e.trys.push([0,5,6,11]),o=r(n),e.label=1;case 1:return[4,o.next()];case 2:if((a=e.sent()).done)return[3,4];if(i.next(a.value),i.closed)return[2];e.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return t=e.sent(),l={error:t},[3,11];case 6:return e.trys.push([6,,9,10]),a&&!a.done&&(s=o.return)?[4,s.call(o)]:[3,8];case 7:e.sent(),e.label=8;case 8:return[3,10];case 9:if(l)throw l.error;return[7];case 10:return[7];case 11:return i.complete(),[2]}}))}))})(n,i).catch((function(t){return i.error(t)}))}))}function x(t){return y(f.readableStreamLikeToAsyncGenerator(t))}return Un.innerFrom=function(t){if(t instanceof a.Observable)return t;if(null!=t){if(l.isInteropObservable(t))return p(t);if(i.isArrayLike(t))return b(t);if(o.isPromise(t))return g(t);if(s.isAsyncIterable(t))return y(t);if(u.isIterable(t))return m(t);if(f.isReadableStreamLike(t))return x(t)}throw c.createInvalidObservableTypeError(t)},Un.fromInteropObservable=p,Un.fromArrayLike=b,Un.fromPromise=g,Un.fromIterable=m,Un.fromAsyncIterable=y,Un.fromReadableStreamLike=x,Un}var yi,xi,wi={},ji={};function _i(){return yi||(yi=1,Object.defineProperty(ji,"__esModule",{value:!0}),ji.executeSchedule=void 0,ji.executeSchedule=function(t,e,r,n,i){void 0===n&&(n=0),void 0===i&&(i=!1);var o=e.schedule((function(){r(),i?t.add(this.schedule(null,n)):this.unsubscribe()}),n);if(t.add(o),!i)return o}),ji}function Oi(){if(xi)return wi;xi=1,Object.defineProperty(wi,"__esModule",{value:!0}),wi.observeOn=void 0;var t=_i(),e=fr(),r=br();return wi.observeOn=function(n,i){return void 0===i&&(i=0),e.operate((function(e,o){e.subscribe(r.createOperatorSubscriber(o,(function(e){return t.executeSchedule(o,n,(function(){return o.next(e)}),i)}),(function(){return t.executeSchedule(o,n,(function(){return o.complete()}),i)}),(function(e){return t.executeSchedule(o,n,(function(){return o.error(e)}),i)})))}))},wi}var ki,Ci,Mi={};function zi(){if(ki)return Mi;ki=1,Object.defineProperty(Mi,"__esModule",{value:!0}),Mi.subscribeOn=void 0;var t=fr();return Mi.subscribeOn=function(e,r){return void 0===r&&(r=0),t.operate((function(t,n){n.add(e.schedule((function(){return t.subscribe(n)}),r))}))},Mi}var Si,Ti,Ii,Ei={},Ai={},Li={};function Wi(){if(Ii)return Li;Ii=1,Object.defineProperty(Li,"__esModule",{value:!0}),Li.scheduleIterable=void 0;var t=ar(),e=di(),r=me(),n=_i();return Li.scheduleIterable=function(i,o){return new t.Observable((function(t){var a;return n.executeSchedule(t,o,(function(){a=i[e.iterator](),n.executeSchedule(t,o,(function(){var e,r,n;try{r=(e=a.next()).value,n=e.done}catch(e){return void t.error(e)}n?t.complete():t.next(r)}),0,!0)})),function(){return r.isFunction(null==a?void 0:a.return)&&a.return()}}))},Li}var Pi,Vi={};function Ri(){if(Pi)return Vi;Pi=1,Object.defineProperty(Vi,"__esModule",{value:!0}),Vi.scheduleAsyncIterable=void 0;var t=ar(),e=_i();return Vi.scheduleAsyncIterable=function(r,n){if(!r)throw new Error("Iterable cannot be null");return new t.Observable((function(t){e.executeSchedule(t,n,(function(){var i=r[Symbol.asyncIterator]();e.executeSchedule(t,n,(function(){i.next().then((function(e){e.done?t.complete():t.next(e.value)}))}),0,!0)}))}))},Vi}var Fi,Bi,Ni,Di,$i={};function Hi(){if(Bi)return Zn;Bi=1,Object.defineProperty(Zn,"__esModule",{value:!0}),Zn.scheduled=void 0;var t=function(){if(Ci)return qn;Ci=1,Object.defineProperty(qn,"__esModule",{value:!0}),qn.scheduleObservable=void 0;var t=mi(),e=Oi(),r=zi();return qn.scheduleObservable=function(n,i){return t.innerFrom(n).pipe(r.subscribeOn(i),e.observeOn(i))},qn}(),e=function(){if(Si)return Ei;Si=1,Object.defineProperty(Ei,"__esModule",{value:!0}),Ei.schedulePromise=void 0;var t=mi(),e=Oi(),r=zi();return Ei.schedulePromise=function(n,i){return t.innerFrom(n).pipe(r.subscribeOn(i),e.observeOn(i))},Ei}(),r=function(){if(Ti)return Ai;Ti=1,Object.defineProperty(Ai,"__esModule",{value:!0}),Ai.scheduleArray=void 0;var t=ar();return Ai.scheduleArray=function(e,r){return new t.Observable((function(t){var n=0;return r.schedule((function(){n===e.length?t.complete():(t.next(e[n++]),t.closed||this.schedule())}))}))},Ai}(),n=Wi(),i=Ri(),o=ei(),a=Gn(),l=Jn(),s=hi(),c=ii(),u=li(),f=gi(),d=function(){if(Fi)return $i;Fi=1,Object.defineProperty($i,"__esModule",{value:!0}),$i.scheduleReadableStreamLike=void 0;var t=Ri(),e=gi();return $i.scheduleReadableStreamLike=function(r,n){return t.scheduleAsyncIterable(e.readableStreamLikeToAsyncGenerator(r),n)},$i}();return Zn.scheduled=function(h,v){if(null!=h){if(o.isInteropObservable(h))return t.scheduleObservable(h,v);if(l.isArrayLike(h))return r.scheduleArray(h,v);if(a.isPromise(h))return e.schedulePromise(h,v);if(c.isAsyncIterable(h))return i.scheduleAsyncIterable(h,v);if(s.isIterable(h))return n.scheduleIterable(h,v);if(f.isReadableStreamLike(h))return d.scheduleReadableStreamLike(h,v)}throw u.createInvalidObservableTypeError(h)},Zn}function Zi(){if(Ni)return Hn;Ni=1,Object.defineProperty(Hn,"__esModule",{value:!0}),Hn.from=void 0;var t=Hi(),e=mi();return Hn.from=function(r,n){return n?t.scheduled(r,n):e.innerFrom(r)},Hn}function qi(){if(Di)return Rn;Di=1,Object.defineProperty(Rn,"__esModule",{value:!0}),Rn.of=void 0;var t=Dn(),e=Zi();return Rn.of=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var i=t.popScheduler(r);return e.from(r,i)},Rn}var Ui,Yi,Ji={};function Ki(){if(Ui)return Ji;Ui=1,Object.defineProperty(Ji,"__esModule",{value:!0}),Ji.throwError=void 0;var t=ar(),e=me();return Ji.throwError=function(r,n){var i=e.isFunction(r)?r:function(){return r},o=function(t){return t.error(i())};return new t.Observable(n?function(t){return n.schedule(o,0,t)}:o)},Ji}function Xi(){return Yi||(Yi=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.observeNotification=t.Notification=t.NotificationKind=void 0;var e,r=Wn(),n=qi(),i=Ki(),o=me();(e=t.NotificationKind||(t.NotificationKind={})).NEXT="N",e.ERROR="E",e.COMPLETE="C";var a=function(){function t(t,e,r){this.kind=t,this.value=e,this.error=r,this.hasValue="N"===t}return t.prototype.observe=function(t){return l(this,t)},t.prototype.do=function(t,e,r){var n=this,i=n.kind,o=n.error;return"N"===i?null==t?void 0:t(n.value):"E"===i?null==e?void 0:e(o):null==r?void 0:r()},t.prototype.accept=function(t,e,r){var n;return o.isFunction(null===(n=t)||void 0===n?void 0:n.next)?this.observe(t):this.do(t,e,r)},t.prototype.toObservable=function(){var t=this,e=t.kind,o=t.error,a="N"===e?n.of(t.value):"E"===e?i.throwError((function(){return o})):"C"===e?r.EMPTY:0;if(!a)throw new TypeError("Unexpected notification kind "+e);return a},t.createNext=function(e){return new t("N",e)},t.createError=function(e){return new t("E",void 0,e)},t.createComplete=function(){return t.completeNotification},t.completeNotification=new t("C"),t}();function l(t,e){var r,n,i,o=t.kind,a=t.value,l=t.error;if("string"!=typeof o)throw new TypeError('Invalid notification, missing "kind"');"N"===o?null===(r=e.next)||void 0===r||r.call(e,a):"E"===o?null===(n=e.error)||void 0===n||n.call(e,l):null===(i=e.complete)||void 0===i||i.call(e)}t.Notification=a,t.observeNotification=l}(An)),An}var Gi,Qi,to,eo={},ro={},no={};function io(){if(Qi)return no;Qi=1,Object.defineProperty(no,"__esModule",{value:!0}),no.EmptyError=void 0;var t=Oe();return no.EmptyError=t.createErrorClass((function(t){return function(){t(this),this.name="EmptyError",this.message="no elements in sequence"}})),no}var oo,ao,lo={},so={};function co(){if(ao)return so;ao=1,Object.defineProperty(so,"__esModule",{value:!0}),so.ArgumentOutOfRangeError=void 0;var t=Oe();return so.ArgumentOutOfRangeError=t.createErrorClass((function(t){return function(){t(this),this.name="ArgumentOutOfRangeError",this.message="argument out of range"}})),so}var uo,fo={};function ho(){if(uo)return fo;uo=1,Object.defineProperty(fo,"__esModule",{value:!0}),fo.NotFoundError=void 0;var t=Oe();return fo.NotFoundError=t.createErrorClass((function(t){return function(e){t(this),this.name="NotFoundError",this.message=e}})),fo}var vo,po={};function bo(){if(vo)return po;vo=1,Object.defineProperty(po,"__esModule",{value:!0}),po.SequenceError=void 0;var t=Oe();return po.SequenceError=t.createErrorClass((function(t){return function(e){t(this),this.name="SequenceError",this.message=e}})),po}var go,mo,yo={},xo={};function wo(){return go||(go=1,Object.defineProperty(xo,"__esModule",{value:!0}),xo.isValidDate=void 0,xo.isValidDate=function(t){return t instanceof Date&&!isNaN(t)}),xo}function jo(){return mo||(mo=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.timeout=t.TimeoutError=void 0;var e=gn(),r=wo(),n=fr(),i=mi(),o=Oe(),a=br(),l=_i();function s(e){throw new t.TimeoutError(e)}t.TimeoutError=o.createErrorClass((function(t){return function(e){void 0===e&&(e=null),t(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=e}})),t.timeout=function(t,o){var c=r.isValidDate(t)?{first:t}:"number"==typeof t?{each:t}:t,u=c.first,f=c.each,d=c.with,h=void 0===d?s:d,v=c.scheduler,p=void 0===v?null!=o?o:e.asyncScheduler:v,b=c.meta,g=void 0===b?null:b;if(null==u&&null==f)throw new TypeError("No timeout provided.");return n.operate((function(t,e){var r,n,o=null,s=0,c=function(t){n=l.executeSchedule(e,p,(function(){try{r.unsubscribe(),i.innerFrom(h({meta:g,lastValue:o,seen:s})).subscribe(e)}catch(t){e.error(t)}}),t)};r=t.subscribe(a.createOperatorSubscriber(e,(function(t){null==n||n.unsubscribe(),s++,e.next(o=t),f>0&&c(f)}),void 0,void 0,(function(){(null==n?void 0:n.closed)||null==n||n.unsubscribe(),o=null}))),!s&&c(null!=u?"number"==typeof u?u:+u-p.now():f)}))}}(yo)),yo}var _o,Oo,ko,Co,Mo={},zo={},So={},To={};function Io(){if(_o)return To;_o=1,Object.defineProperty(To,"__esModule",{value:!0}),To.map=void 0;var t=fr(),e=br();return To.map=function(r,n){return t.operate((function(t,i){var o=0;t.subscribe(e.createOperatorSubscriber(i,(function(t){i.next(r.call(n,t,o++))})))}))},To}function Eo(){if(Oo)return So;Oo=1;var t=So&&So.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,i,o=r.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(t){i={error:t}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},e=So&&So.__spreadArray||function(t,e){for(var r=0,n=e.length,i=t.length;r<n;r++,i++)t[i]=e[r];return t};Object.defineProperty(So,"__esModule",{value:!0}),So.mapOneOrManyArgs=void 0;var r=Io(),n=Array.isArray;return So.mapOneOrManyArgs=function(i){return r.map((function(r){return function(r,i){return n(i)?r.apply(void 0,e([],t(i))):r(i)}(i,r)}))},So}function Ao(){if(ko)return zo;ko=1;var t=zo&&zo.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,i,o=r.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(t){i={error:t}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},e=zo&&zo.__spreadArray||function(t,e){for(var r=0,n=e.length,i=t.length;r<n;r++,i++)t[i]=e[r];return t};Object.defineProperty(zo,"__esModule",{value:!0}),zo.bindCallbackInternals=void 0;var r=Nn(),n=ar(),i=zi(),o=Eo(),a=Oi(),l=$r();return zo.bindCallbackInternals=function s(c,u,f,d){if(f){if(!r.isScheduler(f))return function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return s(c,u,d).apply(this,t).pipe(o.mapOneOrManyArgs(f))};d=f}return d?function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return s(c,u).apply(this,t).pipe(i.subscribeOn(d),a.observeOn(d))}:function(){for(var r=this,i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];var a=new l.AsyncSubject,s=!0;return new n.Observable((function(n){var o=a.subscribe(n);if(s){s=!1;var l=!1,f=!1;u.apply(r,e(e([],t(i)),[function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];if(c){var r=t.shift();if(null!=r)return void a.error(r)}a.next(1<t.length?t:t[0]),f=!0,l&&a.complete()}])),f&&a.complete(),l=!0}return o}))}},zo}var Lo,Wo,Po={},Vo={},Ro={};function Fo(){if(Wo)return Ro;Wo=1,Object.defineProperty(Ro,"__esModule",{value:!0}),Ro.argsArgArrayOrObject=void 0;var t=Array.isArray,e=Object.getPrototypeOf,r=Object.prototype,n=Object.keys;return Ro.argsArgArrayOrObject=function(i){if(1===i.length){var o=i[0];if(t(o))return{args:o,keys:null};if((l=o)&&"object"==typeof l&&e(l)===r){var a=n(o);return{args:a.map((function(t){return o[t]})),keys:a}}}var l;return{args:i,keys:null}},Ro}var Bo,No,Do={};function $o(){return Bo||(Bo=1,Object.defineProperty(Do,"__esModule",{value:!0}),Do.createObject=void 0,Do.createObject=function(t,e){return t.reduce((function(t,r,n){return t[r]=e[n],t}),{})}),Do}function Ho(){if(No)return Vo;No=1,Object.defineProperty(Vo,"__esModule",{value:!0}),Vo.combineLatestInit=Vo.combineLatest=void 0;var t=ar(),e=Fo(),r=Zi(),n=ir(),i=Eo(),o=Dn(),a=$o(),l=br(),s=_i();function c(t,e,i){return void 0===i&&(i=n.identity),function(n){u(e,(function(){for(var o=t.length,a=new Array(o),s=o,c=o,f=function(o){u(e,(function(){var u=r.from(t[o],e),f=!1;u.subscribe(l.createOperatorSubscriber(n,(function(t){a[o]=t,f||(f=!0,c--),c||n.next(i(a.slice()))}),(function(){--s||n.complete()})))}),n)},d=0;d<o;d++)f(d)}),n)}}function u(t,e,r){t?s.executeSchedule(r,t,e):e()}return Vo.combineLatest=function(){for(var l=[],s=0;s<arguments.length;s++)l[s]=arguments[s];var u=o.popScheduler(l),f=o.popResultSelector(l),d=e.argsArgArrayOrObject(l),h=d.args,v=d.keys;if(0===h.length)return r.from([],u);var p=new t.Observable(c(h,u,v?function(t){return a.createObject(v,t)}:n.identity));return f?p.pipe(i.mapOneOrManyArgs(f)):p},Vo.combineLatestInit=c,Vo}var Zo,qo,Uo,Yo,Jo,Ko={},Xo={},Go={},Qo={},ta={};function ea(){if(Zo)return ta;Zo=1,Object.defineProperty(ta,"__esModule",{value:!0}),ta.mergeInternals=void 0;var t=mi(),e=_i(),r=br();return ta.mergeInternals=function(n,i,o,a,l,s,c,u){var f=[],d=0,h=0,v=!1,p=function(){!v||f.length||d||i.complete()},b=function(t){return d<a?g(t):f.push(t)},g=function(n){s&&i.next(n),d++;var u=!1;t.innerFrom(o(n,h++)).subscribe(r.createOperatorSubscriber(i,(function(t){null==l||l(t),s?b(t):i.next(t)}),(function(){u=!0}),void 0,(function(){if(u)try{d--;for(var t=function(){var t=f.shift();c?e.executeSchedule(i,c,(function(){return g(t)})):g(t)};f.length&&d<a;)t();p()}catch(t){i.error(t)}})))};return n.subscribe(r.createOperatorSubscriber(i,b,(function(){v=!0,p()}))),function(){null==u||u()}},ta}function ra(){if(qo)return Qo;qo=1,Object.defineProperty(Qo,"__esModule",{value:!0}),Qo.mergeMap=void 0;var t=Io(),e=mi(),r=fr(),n=ea(),i=me();return Qo.mergeMap=function o(a,l,s){return void 0===s&&(s=1/0),i.isFunction(l)?o((function(r,n){return t.map((function(t,e){return l(r,t,n,e)}))(e.innerFrom(a(r,n)))}),s):("number"==typeof l&&(s=l),r.operate((function(t,e){return n.mergeInternals(t,e,a,s)})))},Qo}function na(){if(Uo)return Go;Uo=1,Object.defineProperty(Go,"__esModule",{value:!0}),Go.mergeAll=void 0;var t=ra(),e=ir();return Go.mergeAll=function(r){return void 0===r&&(r=1/0),t.mergeMap(e.identity,r)},Go}function ia(){if(Yo)return Xo;Yo=1,Object.defineProperty(Xo,"__esModule",{value:!0}),Xo.concatAll=void 0;var t=na();return Xo.concatAll=function(){return t.mergeAll(1)},Xo}function oa(){if(Jo)return Ko;Jo=1,Object.defineProperty(Ko,"__esModule",{value:!0}),Ko.concat=void 0;var t=ia(),e=Dn(),r=Zi();return Ko.concat=function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];return t.concatAll()(r.from(n,e.popScheduler(n)))},Ko}var aa,la,sa={},ca={};function ua(){if(aa)return ca;aa=1,Object.defineProperty(ca,"__esModule",{value:!0}),ca.defer=void 0;var t=ar(),e=mi();return ca.defer=function(r){return new t.Observable((function(t){e.innerFrom(r()).subscribe(t)}))},ca}var fa,da,ha={},va={};var pa,ba,ma={},ya={};var xa,wa,ja,_a={},Oa={},ka={};function Ca(){if(wa)return ka;wa=1,Object.defineProperty(ka,"__esModule",{value:!0}),ka.timer=void 0;var t=ar(),e=gn(),r=Nn(),n=wo();return ka.timer=function(i,o,a){void 0===i&&(i=0),void 0===a&&(a=e.async);var l=-1;return null!=o&&(r.isScheduler(o)?a=o:l=o),new t.Observable((function(t){var e=n.isValidDate(i)?+i-a.now():i;e<0&&(e=0);var r=0;return a.schedule((function(){t.closed||(t.next(r++),0<=l?this.schedule(void 0,l):t.complete())}),e)}))},ka}function Ma(){if(ja)return Oa;ja=1,Object.defineProperty(Oa,"__esModule",{value:!0}),Oa.interval=void 0;var t=gn(),e=Ca();return Oa.interval=function(r,n){return void 0===r&&(r=0),void 0===n&&(n=t.asyncScheduler),r<0&&(r=0),e.timer(r,r,n)},Oa}var za,Sa,Ta={},Ia={};function Ea(){return Sa||(Sa=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.never=t.NEVER=void 0;var e=ar(),r=De();t.NEVER=new e.Observable(r.noop),t.never=function(){return t.NEVER}}(Ia)),Ia}var Aa,La,Wa={},Pa={};function Va(){if(Aa)return Pa;Aa=1,Object.defineProperty(Pa,"__esModule",{value:!0}),Pa.argsOrArgArray=void 0;var t=Array.isArray;return Pa.argsOrArgArray=function(e){return 1===e.length&&t(e[0])?e[0]:e},Pa}function Ra(){if(La)return Wa;La=1,Object.defineProperty(Wa,"__esModule",{value:!0}),Wa.onErrorResumeNext=void 0;var t=ar(),e=Va(),r=br(),n=De(),i=mi();return Wa.onErrorResumeNext=function(){for(var o=[],a=0;a<arguments.length;a++)o[a]=arguments[a];var l=e.argsOrArgArray(o);return new t.Observable((function(t){var e=0,o=function(){if(e<l.length){var a=void 0;try{a=i.innerFrom(l[e++])}catch(t){return void o()}var s=new r.OperatorSubscriber(t,void 0,n.noop,n.noop);a.subscribe(s),s.add(o)}else t.complete()};o()}))},Wa}var Fa,Ba,Na,Da,$a={},Ha={},Za={},qa={};function Ua(){if(Na)return qa;Na=1,Object.defineProperty(qa,"__esModule",{value:!0}),qa.filter=void 0;var t=fr(),e=br();return qa.filter=function(r,n){return t.operate((function(t,i){var o=0;t.subscribe(e.createOperatorSubscriber(i,(function(t){return r.call(n,t,o++)&&i.next(t)})))}))},qa}var Ya,Ja={};function Ka(){if(Ya)return Ja;Ya=1,Object.defineProperty(Ja,"__esModule",{value:!0}),Ja.raceInit=Ja.race=void 0;var t=ar(),e=mi(),r=Va(),n=br();function i(t){return function(r){for(var i=[],o=function(o){i.push(e.innerFrom(t[o]).subscribe(n.createOperatorSubscriber(r,(function(t){if(i){for(var e=0;e<i.length;e++)e!==o&&i[e].unsubscribe();i=null}r.next(t)}))))},a=0;i&&!r.closed&&a<t.length;a++)o(a)}}return Ja.race=function(){for(var n=[],o=0;o<arguments.length;o++)n[o]=arguments[o];return 1===(n=r.argsOrArgArray(n)).length?e.innerFrom(n[0]):new t.Observable(i(n))},Ja.raceInit=i,Ja}var Xa,Ga,Qa,tl={},el={},rl={};function nl(){if(Qa)return rl;Qa=1;var t=rl&&rl.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,i,o=r.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(t){i={error:t}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},e=rl&&rl.__spreadArray||function(t,e){for(var r=0,n=e.length,i=t.length;r<n;r++,i++)t[i]=e[r];return t};Object.defineProperty(rl,"__esModule",{value:!0}),rl.zip=void 0;var r=ar(),n=mi(),i=Va(),o=Wn(),a=br(),l=Dn();return rl.zip=function(){for(var s=[],c=0;c<arguments.length;c++)s[c]=arguments[c];var u=l.popResultSelector(s),f=i.argsOrArgArray(s);return f.length?new r.Observable((function(r){var i=f.map((function(){return[]})),o=f.map((function(){return!1}));r.add((function(){i=o=null}));for(var l=function(l){n.innerFrom(f[l]).subscribe(a.createOperatorSubscriber(r,(function(n){if(i[l].push(n),i.every((function(t){return t.length}))){var a=i.map((function(t){return t.shift()}));r.next(u?u.apply(void 0,e([],t(a))):a),i.some((function(t,e){return!t.length&&o[e]}))&&r.complete()}}),(function(){o[l]=!0,!i[l].length&&r.complete()})))},s=0;!r.closed&&s<f.length;s++)l(s);return function(){i=o=null}})):o.EMPTY},rl}var il,ol,al={},ll={};function sl(){if(ol)return ll;ol=1,Object.defineProperty(ll,"__esModule",{value:!0}),ll.audit=void 0;var t=fr(),e=mi(),r=br();return ll.audit=function(n){return t.operate((function(t,i){var o=!1,a=null,l=null,s=!1,c=function(){if(null==l||l.unsubscribe(),l=null,o){o=!1;var t=a;a=null,i.next(t)}s&&i.complete()},u=function(){l=null,s&&i.complete()};t.subscribe(r.createOperatorSubscriber(i,(function(t){o=!0,a=t,l||e.innerFrom(n(t)).subscribe(l=r.createOperatorSubscriber(i,c,u))}),(function(){s=!0,(!o||!l||l.closed)&&i.complete()})))}))},ll}var cl,ul,fl,dl,hl,vl,pl,bl,gl,ml,yl,xl,wl,jl={},_l={},Ol={},kl={},Cl={},Ml={},zl={},Sl={},Tl={},Il={},El={},Al={},Ll={};function Wl(){if(bl)return Ll;bl=1,Object.defineProperty(Ll,"__esModule",{value:!0}),Ll.scanInternals=void 0;var t=br();return Ll.scanInternals=function(e,r,n,i,o){return function(a,l){var s=n,c=r,u=0;a.subscribe(t.createOperatorSubscriber(l,(function(t){var r=u++;c=s?e(c,t,r):(s=!0,t),i&&l.next(c)}),o&&function(){s&&l.next(c),l.complete()}))}},Ll}function Pl(){if(gl)return Al;gl=1,Object.defineProperty(Al,"__esModule",{value:!0}),Al.reduce=void 0;var t=Wl(),e=fr();return Al.reduce=function(r,n){return e.operate(t.scanInternals(r,n,arguments.length>=2,!1,!0))},Al}function Vl(){if(ml)return El;ml=1,Object.defineProperty(El,"__esModule",{value:!0}),El.toArray=void 0;var t=Pl(),e=fr(),r=function(t,e){return t.push(e),t};return El.toArray=function(){return e.operate((function(e,n){t.reduce(r,[])(e).subscribe(n)}))},El}function Rl(){if(yl)return Il;yl=1,Object.defineProperty(Il,"__esModule",{value:!0}),Il.joinAllInternals=void 0;var t=ir(),e=Eo(),r=or(),n=ra(),i=Vl();return Il.joinAllInternals=function(o,a){return r.pipe(i.toArray(),n.mergeMap((function(t){return o(t)})),a?e.mapOneOrManyArgs(a):t.identity)},Il}function Fl(){if(xl)return Tl;xl=1,Object.defineProperty(Tl,"__esModule",{value:!0}),Tl.combineLatestAll=void 0;var t=Ho(),e=Rl();return Tl.combineLatestAll=function(r){return e.joinAllInternals(t.combineLatest,r)},Tl}var Bl,Nl,Dl={},$l={};var Hl,Zl={};function ql(){if(Hl)return Zl;Hl=1,Object.defineProperty(Zl,"__esModule",{value:!0}),Zl.concatMap=void 0;var t=ra(),e=me();return Zl.concatMap=function(r,n){return e.isFunction(n)?t.mergeMap(r,n,1):t.mergeMap(r,1)},Zl}var Ul,Yl,Jl,Kl={},Xl={},Gl={};var Ql,ts,es={},rs={};function ns(){if(ts)return es;ts=1,Object.defineProperty(es,"__esModule",{value:!0}),es.connect=void 0;var t=Ir(),e=mi(),r=fr(),n=function(){if(Ql)return rs;Ql=1,Object.defineProperty(rs,"__esModule",{value:!0}),rs.fromSubscribable=void 0;var t=ar();return rs.fromSubscribable=function(e){return new t.Observable((function(t){return e.subscribe(t)}))},rs}(),i={connector:function(){return new t.Subject}};return es.connect=function(t,o){void 0===o&&(o=i);var a=o.connector;return r.operate((function(r,i){var o=a();e.innerFrom(t(n.fromSubscribable(o))).subscribe(i),i.add(r.subscribe(o))}))},es}var is,os,as,ls,ss={},cs={},us={},fs={};function ds(){if(ls)return fs;ls=1,Object.defineProperty(fs,"__esModule",{value:!0}),fs.defaultIfEmpty=void 0;var t=fr(),e=br();return fs.defaultIfEmpty=function(r){return t.operate((function(t,n){var i=!1;t.subscribe(e.createOperatorSubscriber(n,(function(t){i=!0,n.next(t)}),(function(){i||n.next(r),n.complete()})))}))},fs}var hs,vs={},ps={},bs={};function gs(){if(hs)return bs;hs=1,Object.defineProperty(bs,"__esModule",{value:!0}),bs.take=void 0;var t=Wn(),e=fr(),r=br();return bs.take=function(n){return n<=0?function(){return t.EMPTY}:e.operate((function(t,e){var i=0;t.subscribe(r.createOperatorSubscriber(e,(function(t){++i<=n&&(e.next(t),n<=i&&e.complete())})))}))},bs}var ms,ys={};function xs(){if(ms)return ys;ms=1,Object.defineProperty(ys,"__esModule",{value:!0}),ys.ignoreElements=void 0;var t=fr(),e=br(),r=De();return ys.ignoreElements=function(){return t.operate((function(t,n){t.subscribe(e.createOperatorSubscriber(n,r.noop))}))},ys}var ws,js,_s,Os={};function ks(){if(ws)return Os;ws=1,Object.defineProperty(Os,"__esModule",{value:!0}),Os.mapTo=void 0;var t=Io();return Os.mapTo=function(e){return t.map((function(){return e}))},Os}function Cs(){if(js)return ps;js=1,Object.defineProperty(ps,"__esModule",{value:!0}),ps.delayWhen=void 0;var t=oa(),e=gs(),r=xs(),n=ks(),i=ra(),o=mi();return ps.delayWhen=function a(l,s){return s?function(n){return t.concat(s.pipe(e.take(1),r.ignoreElements()),n.pipe(a(l)))}:i.mergeMap((function(t,r){return o.innerFrom(l(t,r)).pipe(e.take(1),n.mapTo(t))}))},ps}var Ms,zs,Ss,Ts={},Is={},Es={};function As(){if(Ss)return Es;Ss=1,Object.defineProperty(Es,"__esModule",{value:!0}),Es.distinctUntilChanged=void 0;var t=ir(),e=fr(),r=br();function n(t,e){return t===e}return Es.distinctUntilChanged=function(i,o){return void 0===o&&(o=t.identity),i=null!=i?i:n,e.operate((function(t,e){var n,a=!0;t.subscribe(r.createOperatorSubscriber(e,(function(t){var r=o(t);!a&&i(n,r)||(a=!1,n=r,e.next(t))})))}))},Es}var Ls,Ws,Ps,Vs={},Rs={},Fs={};function Bs(){if(Ws)return Fs;Ws=1,Object.defineProperty(Fs,"__esModule",{value:!0}),Fs.throwIfEmpty=void 0;var t=io(),e=fr(),r=br();function n(){return new t.EmptyError}return Fs.throwIfEmpty=function(t){return void 0===t&&(t=n),e.operate((function(e,n){var i=!1;e.subscribe(r.createOperatorSubscriber(n,(function(t){i=!0,n.next(t)}),(function(){return i?n.complete():n.error(t())})))}))},Fs}var Ns,Ds,$s,Hs,Zs,qs={},Us={},Ys={},Js={},Ks={};function Xs(){if($s)return Ks;$s=1,Object.defineProperty(Ks,"__esModule",{value:!0}),Ks.exhaustMap=void 0;var t=Io(),e=mi(),r=fr(),n=br();return Ks.exhaustMap=function i(o,a){return a?function(r){return r.pipe(i((function(r,n){return e.innerFrom(o(r,n)).pipe(t.map((function(t,e){return a(r,t,n,e)})))})))}:r.operate((function(t,r){var i=0,a=null,l=!1;t.subscribe(n.createOperatorSubscriber(r,(function(t){a||(a=n.createOperatorSubscriber(r,void 0,(function(){a=null,l&&r.complete()})),e.innerFrom(o(t,i++)).subscribe(a))}),(function(){l=!0,!a&&r.complete()})))}))},Ks}function Gs(){if(Hs)return Js;Hs=1,Object.defineProperty(Js,"__esModule",{value:!0}),Js.exhaustAll=void 0;var t=Xs(),e=ir();return Js.exhaustAll=function(){return t.exhaustMap(e.identity)},Js}var Qs,tc,ec,rc={},nc={},ic={};function oc(){if(ec)return ic;ec=1,Object.defineProperty(ic,"__esModule",{value:!0}),ic.createFind=ic.find=void 0;var t=fr(),e=br();function r(t,r,n){var i="index"===n;return function(n,o){var a=0;n.subscribe(e.createOperatorSubscriber(o,(function(e){var l=a++;t.call(r,e,l,n)&&(o.next(i?l:e),o.complete())}),(function(){o.next(i?-1:void 0),o.complete()})))}}return ic.find=function(e,n){return t.operate(r(e,n,"value"))},ic.createFind=r,ic}var ac,lc,sc,cc={},uc={},fc={};var dc,hc,vc,pc={},bc={},gc={};function mc(){if(hc)return gc;hc=1;var t=gc&&gc.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(gc,"__esModule",{value:!0}),gc.takeLast=void 0;var e=Wn(),r=fr(),n=br();return gc.takeLast=function(i){return i<=0?function(){return e.EMPTY}:r.operate((function(e,r){var o=[];e.subscribe(n.createOperatorSubscriber(r,(function(t){o.push(t),i<o.length&&o.shift()}),(function(){var e,n;try{for(var i=t(o),a=i.next();!a.done;a=i.next())r.next(a.value)}catch(t){e={error:t}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}r.complete()}),void 0,(function(){o=null})))}))},gc}var yc,xc,wc,jc,_c,Oc,kc,Cc={},Mc={},zc={},Sc={},Tc={},Ic={},Ec={};var Ac,Lc,Wc={},Pc={};function Vc(){if(Lc)return Pc;Lc=1,Object.defineProperty(Pc,"__esModule",{value:!0}),Pc.multicast=void 0;var t=mr(),e=me(),r=ns();return Pc.multicast=function(n,i){var o=e.isFunction(n)?n:function(){return n};return e.isFunction(i)?r.connect(i,{connector:o}):function(e){return new t.ConnectableObservable(e,o)}},Pc}var Rc,Fc,Bc,Nc,Dc,$c,Hc,Zc,qc,Uc,Yc={},Jc={},Kc={},Xc={},Gc={},Qc={},tu={},eu={},ru={},nu={};var iu,ou,au,lu={},su={},cu={};function uu(){if(au)return cu;au=1,Object.defineProperty(cu,"__esModule",{value:!0}),cu.sample=void 0;var t=mi(),e=fr(),r=De(),n=br();return cu.sample=function(i){return e.operate((function(e,o){var a=!1,l=null;e.subscribe(n.createOperatorSubscriber(o,(function(t){a=!0,l=t}))),t.innerFrom(i).subscribe(n.createOperatorSubscriber(o,(function(){if(a){a=!1;var t=l;l=null,o.next(t)}}),r.noop))}))},cu}var fu,du,hu,vu,pu={},bu={},gu={},mu={};function yu(){if(vu)return mu;vu=1;var t=mu&&mu.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,i,o=r.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(t){i={error:t}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},e=mu&&mu.__spreadArray||function(t,e){for(var r=0,n=e.length,i=t.length;r<n;r++,i++)t[i]=e[r];return t};Object.defineProperty(mu,"__esModule",{value:!0}),mu.share=void 0;var r=mi(),n=Ir(),i=Je(),o=fr();function a(n,o){for(var a=[],l=2;l<arguments.length;l++)a[l-2]=arguments[l];if(!0!==o){if(!1!==o){var s=new i.SafeSubscriber({next:function(){s.unsubscribe(),n()}});return r.innerFrom(o.apply(void 0,e([],t(a)))).subscribe(s)}}else n()}return mu.share=function(t){void 0===t&&(t={});var e=t.connector,l=void 0===e?function(){return new n.Subject}:e,s=t.resetOnError,c=void 0===s||s,u=t.resetOnComplete,f=void 0===u||u,d=t.resetOnRefCountZero,h=void 0===d||d;return function(t){var e,n,s,u=0,d=!1,v=!1,p=function(){null==n||n.unsubscribe(),n=void 0},b=function(){p(),e=s=void 0,d=v=!1},g=function(){var t=e;b(),null==t||t.unsubscribe()};return o.operate((function(t,o){u++,v||d||p();var m=s=null!=s?s:l();o.add((function(){0!=--u||v||d||(n=a(g,h))})),m.subscribe(o),!e&&u>0&&(e=new i.SafeSubscriber({next:function(t){return m.next(t)},error:function(t){v=!0,p(),n=a(b,c,t),m.error(t)},complete:function(){d=!0,p(),n=a(b,f),m.complete()}}),r.innerFrom(t).subscribe(e))}))(t)}},mu}var xu,wu,ju,_u,Ou,ku,Cu,Mu,zu,Su={},Tu={},Iu={},Eu={},Au={},Lu={},Wu={},Pu={},Vu={};function Ru(){if(Mu)return Vu;Mu=1,Object.defineProperty(Vu,"__esModule",{value:!0}),Vu.switchMap=void 0;var t=mi(),e=fr(),r=br();return Vu.switchMap=function(n,i){return e.operate((function(e,o){var a=null,l=0,s=!1,c=function(){return s&&!a&&o.complete()};e.subscribe(r.createOperatorSubscriber(o,(function(e){null==a||a.unsubscribe();var s=0,u=l++;t.innerFrom(n(e,u)).subscribe(a=r.createOperatorSubscriber(o,(function(t){return o.next(i?i(e,t,u,s++):t)}),(function(){a=null,c()})))}),(function(){s=!0,c()})))}))},Vu}var Fu,Bu,Nu,Du,$u,Hu,Zu={},qu={},Uu={},Yu={},Ju={},Ku={};function Xu(){if(Hu)return Ku;Hu=1,Object.defineProperty(Ku,"__esModule",{value:!0}),Ku.throttle=void 0;var t=fr(),e=br(),r=mi();return Ku.throttle=function(n,i){return t.operate((function(t,o){var a=null!=i?i:{},l=a.leading,s=void 0===l||l,c=a.trailing,u=void 0!==c&&c,f=!1,d=null,h=null,v=!1,p=function(){null==h||h.unsubscribe(),h=null,u&&(m(),v&&o.complete())},b=function(){h=null,v&&o.complete()},g=function(t){return h=r.innerFrom(n(t)).subscribe(e.createOperatorSubscriber(o,p,b))},m=function(){if(f){f=!1;var t=d;d=null,o.next(t),!v&&g(t)}};t.subscribe(e.createOperatorSubscriber(o,(function(t){f=!0,d=t,(!h||h.closed)&&(s?m():g(t))}),(function(){v=!0,(!(u&&f&&h)||h.closed)&&o.complete()})))}))},Ku}var Gu,Qu,tf,ef,rf,nf,of,af,lf,sf,cf,uf,ff,df,hf={},vf={},pf={},bf={},gf={},mf={},yf={},xf={},wf={},jf={},_f={},Of={},kf={};function Cf(){return df||(df=1,function(t){var e=ve&&ve.__createBinding||(Object.create?function(t,e,r,n){void 0===n&&(n=r),Object.defineProperty(t,n,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,n){void 0===n&&(n=r),t[n]=e[r]}),r=ve&&ve.__exportStar||function(t,r){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(r,n)||e(r,t,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.interval=t.iif=t.generate=t.fromEventPattern=t.fromEvent=t.from=t.forkJoin=t.empty=t.defer=t.connectable=t.concat=t.combineLatest=t.bindNodeCallback=t.bindCallback=t.UnsubscriptionError=t.TimeoutError=t.SequenceError=t.ObjectUnsubscribedError=t.NotFoundError=t.EmptyError=t.ArgumentOutOfRangeError=t.firstValueFrom=t.lastValueFrom=t.isObservable=t.identity=t.noop=t.pipe=t.NotificationKind=t.Notification=t.Subscriber=t.Subscription=t.Scheduler=t.VirtualAction=t.VirtualTimeScheduler=t.animationFrameScheduler=t.animationFrame=t.queueScheduler=t.queue=t.asyncScheduler=t.async=t.asapScheduler=t.asap=t.AsyncSubject=t.ReplaySubject=t.BehaviorSubject=t.Subject=t.animationFrames=t.observable=t.ConnectableObservable=t.Observable=void 0,t.filter=t.expand=t.exhaustMap=t.exhaustAll=t.exhaust=t.every=t.endWith=t.elementAt=t.distinctUntilKeyChanged=t.distinctUntilChanged=t.distinct=t.dematerialize=t.delayWhen=t.delay=t.defaultIfEmpty=t.debounceTime=t.debounce=t.count=t.connect=t.concatWith=t.concatMapTo=t.concatMap=t.concatAll=t.combineLatestWith=t.combineLatestAll=t.combineAll=t.catchError=t.bufferWhen=t.bufferToggle=t.bufferTime=t.bufferCount=t.buffer=t.auditTime=t.audit=t.config=t.NEVER=t.EMPTY=t.scheduled=t.zip=t.using=t.timer=t.throwError=t.range=t.race=t.partition=t.pairs=t.onErrorResumeNext=t.of=t.never=t.merge=void 0,t.switchMap=t.switchAll=t.subscribeOn=t.startWith=t.skipWhile=t.skipUntil=t.skipLast=t.skip=t.single=t.shareReplay=t.share=t.sequenceEqual=t.scan=t.sampleTime=t.sample=t.refCount=t.retryWhen=t.retry=t.repeatWhen=t.repeat=t.reduce=t.raceWith=t.publishReplay=t.publishLast=t.publishBehavior=t.publish=t.pluck=t.pairwise=t.onErrorResumeNextWith=t.observeOn=t.multicast=t.min=t.mergeWith=t.mergeScan=t.mergeMapTo=t.mergeMap=t.flatMap=t.mergeAll=t.max=t.materialize=t.mapTo=t.map=t.last=t.isEmpty=t.ignoreElements=t.groupBy=t.first=t.findIndex=t.find=t.finalize=void 0,t.zipWith=t.zipAll=t.withLatestFrom=t.windowWhen=t.windowToggle=t.windowTime=t.windowCount=t.window=t.toArray=t.timestamp=t.timeoutWith=t.timeout=t.timeInterval=t.throwIfEmpty=t.throttleTime=t.throttle=t.tap=t.takeWhile=t.takeUntil=t.takeLast=t.take=t.switchScan=t.switchMapTo=void 0;var n=ar();Object.defineProperty(t,"Observable",{enumerable:!0,get:function(){return n.Observable}});var i=mr();Object.defineProperty(t,"ConnectableObservable",{enumerable:!0,get:function(){return i.ConnectableObservable}});var o=Ge();Object.defineProperty(t,"observable",{enumerable:!0,get:function(){return o.observable}});var a=function(){if(wr)return jr;wr=1,Object.defineProperty(jr,"__esModule",{value:!0}),jr.animationFrames=void 0;var t,e=ar(),r=(yr||(yr=1,t=_r,Object.defineProperty(t,"__esModule",{value:!0}),t.performanceTimestampProvider=void 0,t.performanceTimestampProvider={now:function(){return(t.performanceTimestampProvider.delegate||performance).now()},delegate:void 0}),_r),n=kr();function i(t){return new e.Observable((function(e){var i=t||r.performanceTimestampProvider,o=i.now(),a=0,l=function(){e.closed||(a=n.animationFrameProvider.requestAnimationFrame((function(r){a=0;var n=i.now();e.next({timestamp:t?n:r,elapsed:n-o}),l()})))};return l(),function(){a&&n.animationFrameProvider.cancelAnimationFrame(a)}}))}jr.animationFrames=function(t){return t?i(t):o};var o=i();return jr}();Object.defineProperty(t,"animationFrames",{enumerable:!0,get:function(){return a.animationFrames}});var l=Ir();Object.defineProperty(t,"Subject",{enumerable:!0,get:function(){return l.Subject}});var s=Lr();Object.defineProperty(t,"BehaviorSubject",{enumerable:!0,get:function(){return s.BehaviorSubject}});var c=Br();Object.defineProperty(t,"ReplaySubject",{enumerable:!0,get:function(){return c.ReplaySubject}});var u=$r();Object.defineProperty(t,"AsyncSubject",{enumerable:!0,get:function(){return u.AsyncSubject}});var f=vn();Object.defineProperty(t,"asap",{enumerable:!0,get:function(){return f.asap}}),Object.defineProperty(t,"asapScheduler",{enumerable:!0,get:function(){return f.asapScheduler}});var d=gn();Object.defineProperty(t,"async",{enumerable:!0,get:function(){return d.async}}),Object.defineProperty(t,"asyncScheduler",{enumerable:!0,get:function(){return d.asyncScheduler}});var h=(xn||(xn=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.queue=t.queueScheduler=void 0;var e=function(){if(mn)return jn;mn=1;var t,e=jn&&jn.__extends||(t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},t(e,r)},function(e,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)});Object.defineProperty(jn,"__esModule",{value:!0}),jn.QueueAction=void 0;var r=function(t){function r(e,r){var n=t.call(this,e,r)||this;return n.scheduler=e,n.work=r,n}return e(r,t),r.prototype.schedule=function(e,r){return void 0===r&&(r=0),r>0?t.prototype.schedule.call(this,e,r):(this.delay=r,this.state=e,this.scheduler.flush(this),this)},r.prototype.execute=function(e,r){return r>0||this.closed?t.prototype.execute.call(this,e,r):this._execute(e,r)},r.prototype.requestAsyncId=function(e,r,n){return void 0===n&&(n=0),null!=n&&n>0||null==n&&this.delay>0?t.prototype.requestAsyncId.call(this,e,r,n):(e.flush(this),0)},r}(Gr().AsyncAction);return jn.QueueAction=r,jn}(),r=function(){if(yn)return _n;yn=1;var t,e=_n&&_n.__extends||(t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},t(e,r)},function(e,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)});Object.defineProperty(_n,"__esModule",{value:!0}),_n.QueueScheduler=void 0;var r=function(t){function r(){return null!==t&&t.apply(this,arguments)||this}return e(r,t),r}(hn().AsyncScheduler);return _n.QueueScheduler=r,_n}();t.queueScheduler=new r.QueueScheduler(e.QueueAction),t.queue=t.queueScheduler}(wn)),wn);Object.defineProperty(t,"queue",{enumerable:!0,get:function(){return h.queue}}),Object.defineProperty(t,"queueScheduler",{enumerable:!0,get:function(){return h.queueScheduler}});var v=(Cn||(Cn=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.animationFrame=t.animationFrameScheduler=void 0;var e=function(){if(On)return zn;On=1;var t,e=zn&&zn.__extends||(t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},t(e,r)},function(e,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)});Object.defineProperty(zn,"__esModule",{value:!0}),zn.AnimationFrameAction=void 0;var r=Gr(),n=kr(),i=function(t){function r(e,r){var n=t.call(this,e,r)||this;return n.scheduler=e,n.work=r,n}return e(r,t),r.prototype.requestAsyncId=function(e,r,i){return void 0===i&&(i=0),null!==i&&i>0?t.prototype.requestAsyncId.call(this,e,r,i):(e.actions.push(this),e._scheduled||(e._scheduled=n.animationFrameProvider.requestAnimationFrame((function(){return e.flush(void 0)}))))},r.prototype.recycleAsyncId=function(e,r,i){var o;if(void 0===i&&(i=0),null!=i?i>0:this.delay>0)return t.prototype.recycleAsyncId.call(this,e,r,i);var a=e.actions;null!=r&&r===e._scheduled&&(null===(o=a[a.length-1])||void 0===o?void 0:o.id)!==r&&(n.animationFrameProvider.cancelAnimationFrame(r),e._scheduled=void 0)},r}(r.AsyncAction);return zn.AnimationFrameAction=i,zn}(),r=function(){if(kn)return Sn;kn=1;var t,e=Sn&&Sn.__extends||(t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},t(e,r)},function(e,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)});Object.defineProperty(Sn,"__esModule",{value:!0}),Sn.AnimationFrameScheduler=void 0;var r=function(t){function r(){return null!==t&&t.apply(this,arguments)||this}return e(r,t),r.prototype.flush=function(t){var e;this._active=!0,t?e=t.id:(e=this._scheduled,this._scheduled=void 0);var r,n=this.actions;t=t||n.shift();do{if(r=t.execute(t.state,t.delay))break}while((t=n[0])&&t.id===e&&n.shift());if(this._active=!1,r){for(;(t=n[0])&&t.id===e&&n.shift();)t.unsubscribe();throw r}},r}(hn().AsyncScheduler);return Sn.AnimationFrameScheduler=r,Sn}();t.animationFrameScheduler=new r.AnimationFrameScheduler(e.AnimationFrameAction),t.animationFrame=t.animationFrameScheduler}(Mn)),Mn);Object.defineProperty(t,"animationFrame",{enumerable:!0,get:function(){return v.animationFrame}}),Object.defineProperty(t,"animationFrameScheduler",{enumerable:!0,get:function(){return v.animationFrameScheduler}});var p=function(){if(Tn)return En;Tn=1;var t,e=En&&En.__extends||(t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},t(e,r)},function(e,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)});Object.defineProperty(En,"__esModule",{value:!0}),En.VirtualAction=En.VirtualTimeScheduler=void 0;var r=Gr(),n=Te(),i=function(t){function r(e,r){void 0===e&&(e=o),void 0===r&&(r=1/0);var n=t.call(this,e,(function(){return n.frame}))||this;return n.maxFrames=r,n.frame=0,n.index=-1,n}return e(r,t),r.prototype.flush=function(){for(var t,e,r=this.actions,n=this.maxFrames;(e=r[0])&&e.delay<=n&&(r.shift(),this.frame=e.delay,!(t=e.execute(e.state,e.delay))););if(t){for(;e=r.shift();)e.unsubscribe();throw t}},r.frameTimeFactor=10,r}(hn().AsyncScheduler);En.VirtualTimeScheduler=i;var o=function(t){function r(e,r,n){void 0===n&&(n=e.index+=1);var i=t.call(this,e,r)||this;return i.scheduler=e,i.work=r,i.index=n,i.active=!0,i.index=e.index=n,i}return e(r,t),r.prototype.schedule=function(e,i){if(void 0===i&&(i=0),Number.isFinite(i)){if(!this.id)return t.prototype.schedule.call(this,e,i);this.active=!1;var o=new r(this.scheduler,this.work);return this.add(o),o.schedule(e,i)}return n.Subscription.EMPTY},r.prototype.requestAsyncId=function(t,e,n){void 0===n&&(n=0),this.delay=t.frame+n;var i=t.actions;return i.push(this),i.sort(r.sortActions),1},r.prototype.recycleAsyncId=function(){},r.prototype._execute=function(e,r){if(!0===this.active)return t.prototype._execute.call(this,e,r)},r.sortActions=function(t,e){return t.delay===e.delay?t.index===e.index?0:t.index>e.index?1:-1:t.delay>e.delay?1:-1},r}(r.AsyncAction);return En.VirtualAction=o,En}();Object.defineProperty(t,"VirtualTimeScheduler",{enumerable:!0,get:function(){return p.VirtualTimeScheduler}}),Object.defineProperty(t,"VirtualAction",{enumerable:!0,get:function(){return p.VirtualAction}});var b=dn();Object.defineProperty(t,"Scheduler",{enumerable:!0,get:function(){return b.Scheduler}});var g=Te();Object.defineProperty(t,"Subscription",{enumerable:!0,get:function(){return g.Subscription}});var m=Je();Object.defineProperty(t,"Subscriber",{enumerable:!0,get:function(){return m.Subscriber}});var y=Xi();Object.defineProperty(t,"Notification",{enumerable:!0,get:function(){return y.Notification}}),Object.defineProperty(t,"NotificationKind",{enumerable:!0,get:function(){return y.NotificationKind}});var x=or();Object.defineProperty(t,"pipe",{enumerable:!0,get:function(){return x.pipe}});var w=De();Object.defineProperty(t,"noop",{enumerable:!0,get:function(){return w.noop}});var j=ir();Object.defineProperty(t,"identity",{enumerable:!0,get:function(){return j.identity}});var _=function(){if(Gi)return eo;Gi=1,Object.defineProperty(eo,"__esModule",{value:!0}),eo.isObservable=void 0;var t=ar(),e=me();return eo.isObservable=function(r){return!!r&&(r instanceof t.Observable||e.isFunction(r.lift)&&e.isFunction(r.subscribe))},eo}();Object.defineProperty(t,"isObservable",{enumerable:!0,get:function(){return _.isObservable}});var O=function(){if(to)return ro;to=1,Object.defineProperty(ro,"__esModule",{value:!0}),ro.lastValueFrom=void 0;var t=io();return ro.lastValueFrom=function(e,r){var n="object"==typeof r;return new Promise((function(i,o){var a,l=!1;e.subscribe({next:function(t){a=t,l=!0},error:o,complete:function(){l?i(a):n?i(r.defaultValue):o(new t.EmptyError)}})}))},ro}();Object.defineProperty(t,"lastValueFrom",{enumerable:!0,get:function(){return O.lastValueFrom}});var k=function(){if(oo)return lo;oo=1,Object.defineProperty(lo,"__esModule",{value:!0}),lo.firstValueFrom=void 0;var t=io(),e=Je();return lo.firstValueFrom=function(r,n){var i="object"==typeof n;return new Promise((function(o,a){var l=new e.SafeSubscriber({next:function(t){o(t),l.unsubscribe()},error:a,complete:function(){i?o(n.defaultValue):a(new t.EmptyError)}});r.subscribe(l)}))},lo}();Object.defineProperty(t,"firstValueFrom",{enumerable:!0,get:function(){return k.firstValueFrom}});var C=co();Object.defineProperty(t,"ArgumentOutOfRangeError",{enumerable:!0,get:function(){return C.ArgumentOutOfRangeError}});var M=io();Object.defineProperty(t,"EmptyError",{enumerable:!0,get:function(){return M.EmptyError}});var z=ho();Object.defineProperty(t,"NotFoundError",{enumerable:!0,get:function(){return z.NotFoundError}});var S=Tr();Object.defineProperty(t,"ObjectUnsubscribedError",{enumerable:!0,get:function(){return S.ObjectUnsubscribedError}});var T=bo();Object.defineProperty(t,"SequenceError",{enumerable:!0,get:function(){return T.SequenceError}});var I=jo();Object.defineProperty(t,"TimeoutError",{enumerable:!0,get:function(){return I.TimeoutError}});var E=ke();Object.defineProperty(t,"UnsubscriptionError",{enumerable:!0,get:function(){return E.UnsubscriptionError}});var A=function(){if(Co)return Mo;Co=1,Object.defineProperty(Mo,"__esModule",{value:!0}),Mo.bindCallback=void 0;var t=Ao();return Mo.bindCallback=function(e,r,n){return t.bindCallbackInternals(!1,e,r,n)},Mo}();Object.defineProperty(t,"bindCallback",{enumerable:!0,get:function(){return A.bindCallback}});var L=function(){if(Lo)return Po;Lo=1,Object.defineProperty(Po,"__esModule",{value:!0}),Po.bindNodeCallback=void 0;var t=Ao();return Po.bindNodeCallback=function(e,r,n){return t.bindCallbackInternals(!0,e,r,n)},Po}();Object.defineProperty(t,"bindNodeCallback",{enumerable:!0,get:function(){return L.bindNodeCallback}});var W=Ho();Object.defineProperty(t,"combineLatest",{enumerable:!0,get:function(){return W.combineLatest}});var P=oa();Object.defineProperty(t,"concat",{enumerable:!0,get:function(){return P.concat}});var V=function(){if(la)return sa;la=1,Object.defineProperty(sa,"__esModule",{value:!0}),sa.connectable=void 0;var t=Ir(),e=ar(),r=ua(),n={connector:function(){return new t.Subject},resetOnDisconnect:!0};return sa.connectable=function(t,i){void 0===i&&(i=n);var o=null,a=i.connector,l=i.resetOnDisconnect,s=void 0===l||l,c=a(),u=new e.Observable((function(t){return c.subscribe(t)}));return u.connect=function(){return o&&!o.closed||(o=r.defer((function(){return t})).subscribe(c),s&&o.add((function(){return c=a()}))),o},u},sa}();Object.defineProperty(t,"connectable",{enumerable:!0,get:function(){return V.connectable}});var R=ua();Object.defineProperty(t,"defer",{enumerable:!0,get:function(){return R.defer}});var F=Wn();Object.defineProperty(t,"empty",{enumerable:!0,get:function(){return F.empty}});var B=function(){if(fa)return ha;fa=1,Object.defineProperty(ha,"__esModule",{value:!0}),ha.forkJoin=void 0;var t=ar(),e=Fo(),r=mi(),n=Dn(),i=br(),o=Eo(),a=$o();return ha.forkJoin=function(){for(var l=[],s=0;s<arguments.length;s++)l[s]=arguments[s];var c=n.popResultSelector(l),u=e.argsArgArrayOrObject(l),f=u.args,d=u.keys,h=new t.Observable((function(t){var e=f.length;if(e)for(var n=new Array(e),o=e,l=e,s=function(e){var s=!1;r.innerFrom(f[e]).subscribe(i.createOperatorSubscriber(t,(function(t){s||(s=!0,l--),n[e]=t}),(function(){return o--}),void 0,(function(){o&&s||(l||t.next(d?a.createObject(d,n):n),t.complete())})))},c=0;c<e;c++)s(c);else t.complete()}));return c?h.pipe(o.mapOneOrManyArgs(c)):h},ha}();Object.defineProperty(t,"forkJoin",{enumerable:!0,get:function(){return B.forkJoin}});var N=Zi();Object.defineProperty(t,"from",{enumerable:!0,get:function(){return N.from}});var D=function(){if(da)return va;da=1;var t=va&&va.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,i,o=r.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(t){i={error:t}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a};Object.defineProperty(va,"__esModule",{value:!0}),va.fromEvent=void 0;var e=mi(),r=ar(),n=ra(),i=Jn(),o=me(),a=Eo(),l=["addListener","removeListener"],s=["addEventListener","removeEventListener"],c=["on","off"];function u(t,e){return function(r){return function(n){return t[r](e,n)}}}return va.fromEvent=function f(d,h,v,p){if(o.isFunction(v)&&(p=v,v=void 0),p)return f(d,h,v).pipe(a.mapOneOrManyArgs(p));var b=t(function(t){return o.isFunction(t.addEventListener)&&o.isFunction(t.removeEventListener)}(d)?s.map((function(t){return function(e){return d[t](h,e,v)}})):function(t){return o.isFunction(t.addListener)&&o.isFunction(t.removeListener)}(d)?l.map(u(d,h)):function(t){return o.isFunction(t.on)&&o.isFunction(t.off)}(d)?c.map(u(d,h)):[],2),g=b[0],m=b[1];if(!g&&i.isArrayLike(d))return n.mergeMap((function(t){return f(t,h,v)}))(e.innerFrom(d));if(!g)throw new TypeError("Invalid event target");return new r.Observable((function(t){var e=function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return t.next(1<e.length?e:e[0])};return g(e),function(){return m(e)}}))},va}();Object.defineProperty(t,"fromEvent",{enumerable:!0,get:function(){return D.fromEvent}});var $=function(){if(pa)return ma;pa=1,Object.defineProperty(ma,"__esModule",{value:!0}),ma.fromEventPattern=void 0;var t=ar(),e=me(),r=Eo();return ma.fromEventPattern=function n(i,o,a){return a?n(i,o).pipe(r.mapOneOrManyArgs(a)):new t.Observable((function(t){var r=function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return t.next(1===e.length?e[0]:e)},n=i(r);return e.isFunction(o)?function(){return o(r,n)}:void 0}))},ma}();Object.defineProperty(t,"fromEventPattern",{enumerable:!0,get:function(){return $.fromEventPattern}});var H=function(){if(ba)return ya;ba=1;var t=ya&&ya.__generator||function(t,e){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function l(o){return function(l){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=e.call(t,a)}catch(t){o=[6,t],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,l])}}};Object.defineProperty(ya,"__esModule",{value:!0}),ya.generate=void 0;var e=ir(),r=Nn(),n=ua(),i=Wi();return ya.generate=function(o,a,l,s,c){var u,f,d,h;function v(){var e;return t(this,(function(t){switch(t.label){case 0:e=h,t.label=1;case 1:return a&&!a(e)?[3,4]:[4,d(e)];case 2:t.sent(),t.label=3;case 3:return e=l(e),[3,1];case 4:return[2]}}))}return 1===arguments.length?(h=(u=o).initialState,a=u.condition,l=u.iterate,d=void 0===(f=u.resultSelector)?e.identity:f,c=u.scheduler):(h=o,!s||r.isScheduler(s)?(d=e.identity,c=s):d=s),n.defer(c?function(){return i.scheduleIterable(v(),c)}:v)},ya}();Object.defineProperty(t,"generate",{enumerable:!0,get:function(){return H.generate}});var Z=function(){if(xa)return _a;xa=1,Object.defineProperty(_a,"__esModule",{value:!0}),_a.iif=void 0;var t=ua();return _a.iif=function(e,r,n){return t.defer((function(){return e()?r:n}))},_a}();Object.defineProperty(t,"iif",{enumerable:!0,get:function(){return Z.iif}});var q=Ma();Object.defineProperty(t,"interval",{enumerable:!0,get:function(){return q.interval}});var U=function(){if(za)return Ta;za=1,Object.defineProperty(Ta,"__esModule",{value:!0}),Ta.merge=void 0;var t=na(),e=mi(),r=Wn(),n=Dn(),i=Zi();return Ta.merge=function(){for(var o=[],a=0;a<arguments.length;a++)o[a]=arguments[a];var l=n.popScheduler(o),s=n.popNumber(o,1/0),c=o;return c.length?1===c.length?e.innerFrom(c[0]):t.mergeAll(s)(i.from(c,l)):r.EMPTY},Ta}();Object.defineProperty(t,"merge",{enumerable:!0,get:function(){return U.merge}});var Y=Ea();Object.defineProperty(t,"never",{enumerable:!0,get:function(){return Y.never}});var J=qi();Object.defineProperty(t,"of",{enumerable:!0,get:function(){return J.of}});var K=Ra();Object.defineProperty(t,"onErrorResumeNext",{enumerable:!0,get:function(){return K.onErrorResumeNext}});var X=function(){if(Fa)return $a;Fa=1,Object.defineProperty($a,"__esModule",{value:!0}),$a.pairs=void 0;var t=Zi();return $a.pairs=function(e,r){return t.from(Object.entries(e),r)},$a}();Object.defineProperty(t,"pairs",{enumerable:!0,get:function(){return X.pairs}});var G=function(){if(Da)return Ha;Da=1,Object.defineProperty(Ha,"__esModule",{value:!0}),Ha.partition=void 0;var t=(Ba||(Ba=1,Object.defineProperty(Za,"__esModule",{value:!0}),Za.not=void 0,Za.not=function(t,e){return function(r,n){return!t.call(e,r,n)}}),Za),e=Ua(),r=mi();return Ha.partition=function(n,i,o){return[e.filter(i,o)(r.innerFrom(n)),e.filter(t.not(i,o))(r.innerFrom(n))]},Ha}();Object.defineProperty(t,"partition",{enumerable:!0,get:function(){return G.partition}});var Q=Ka();Object.defineProperty(t,"race",{enumerable:!0,get:function(){return Q.race}});var tt=function(){if(Xa)return tl;Xa=1,Object.defineProperty(tl,"__esModule",{value:!0}),tl.range=void 0;var t=ar(),e=Wn();return tl.range=function(r,n,i){if(null==n&&(n=r,r=0),n<=0)return e.EMPTY;var o=n+r;return new t.Observable(i?function(t){var e=r;return i.schedule((function(){e<o?(t.next(e++),this.schedule()):t.complete()}))}:function(t){for(var e=r;e<o&&!t.closed;)t.next(e++);t.complete()})},tl}();Object.defineProperty(t,"range",{enumerable:!0,get:function(){return tt.range}});var et=Ki();Object.defineProperty(t,"throwError",{enumerable:!0,get:function(){return et.throwError}});var rt=Ca();Object.defineProperty(t,"timer",{enumerable:!0,get:function(){return rt.timer}});var nt=function(){if(Ga)return el;Ga=1,Object.defineProperty(el,"__esModule",{value:!0}),el.using=void 0;var t=ar(),e=mi(),r=Wn();return el.using=function(n,i){return new t.Observable((function(t){var o=n(),a=i(o);return(a?e.innerFrom(a):r.EMPTY).subscribe(t),function(){o&&o.unsubscribe()}}))},el}();Object.defineProperty(t,"using",{enumerable:!0,get:function(){return nt.using}});var it=nl();Object.defineProperty(t,"zip",{enumerable:!0,get:function(){return it.zip}});var ot=Hi();Object.defineProperty(t,"scheduled",{enumerable:!0,get:function(){return ot.scheduled}});var at=Wn();Object.defineProperty(t,"EMPTY",{enumerable:!0,get:function(){return at.EMPTY}});var lt=Ea();Object.defineProperty(t,"NEVER",{enumerable:!0,get:function(){return lt.NEVER}}),r((il||(il=1,Object.defineProperty(al,"__esModule",{value:!0})),al),t);var st=Ae();Object.defineProperty(t,"config",{enumerable:!0,get:function(){return st.config}});var ct=sl();Object.defineProperty(t,"audit",{enumerable:!0,get:function(){return ct.audit}});var ut=function(){if(cl)return jl;cl=1,Object.defineProperty(jl,"__esModule",{value:!0}),jl.auditTime=void 0;var t=gn(),e=sl(),r=Ca();return jl.auditTime=function(n,i){return void 0===i&&(i=t.asyncScheduler),e.audit((function(){return r.timer(n,i)}))},jl}();Object.defineProperty(t,"auditTime",{enumerable:!0,get:function(){return ut.auditTime}});var ft=function(){if(ul)return _l;ul=1,Object.defineProperty(_l,"__esModule",{value:!0}),_l.buffer=void 0;var t=fr(),e=De(),r=br(),n=mi();return _l.buffer=function(i){return t.operate((function(t,o){var a=[];return t.subscribe(r.createOperatorSubscriber(o,(function(t){return a.push(t)}),(function(){o.next(a),o.complete()}))),n.innerFrom(i).subscribe(r.createOperatorSubscriber(o,(function(){var t=a;a=[],o.next(t)}),e.noop)),function(){a=null}}))},_l}();Object.defineProperty(t,"buffer",{enumerable:!0,get:function(){return ft.buffer}});var dt=function(){if(fl)return Ol;fl=1;var t=Ol&&Ol.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(Ol,"__esModule",{value:!0}),Ol.bufferCount=void 0;var e=fr(),r=br(),n=Se();return Ol.bufferCount=function(i,o){return void 0===o&&(o=null),o=null!=o?o:i,e.operate((function(e,a){var l=[],s=0;e.subscribe(r.createOperatorSubscriber(a,(function(e){var r,c,u,f,d=null;s++%o==0&&l.push([]);try{for(var h=t(l),v=h.next();!v.done;v=h.next())(g=v.value).push(e),i<=g.length&&(d=null!=d?d:[]).push(g)}catch(t){r={error:t}}finally{try{v&&!v.done&&(c=h.return)&&c.call(h)}finally{if(r)throw r.error}}if(d)try{for(var p=t(d),b=p.next();!b.done;b=p.next()){var g;n.arrRemove(l,g=b.value),a.next(g)}}catch(t){u={error:t}}finally{try{b&&!b.done&&(f=p.return)&&f.call(p)}finally{if(u)throw u.error}}}),(function(){var e,r;try{for(var n=t(l),i=n.next();!i.done;i=n.next())a.next(i.value)}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}a.complete()}),void 0,(function(){l=null})))}))},Ol}();Object.defineProperty(t,"bufferCount",{enumerable:!0,get:function(){return dt.bufferCount}});var ht=function(){if(dl)return kl;dl=1;var t=kl&&kl.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(kl,"__esModule",{value:!0}),kl.bufferTime=void 0;var e=Te(),r=fr(),n=br(),i=Se(),o=gn(),a=Dn(),l=_i();return kl.bufferTime=function(s){for(var c,u,f=[],d=1;d<arguments.length;d++)f[d-1]=arguments[d];var h=null!==(c=a.popScheduler(f))&&void 0!==c?c:o.asyncScheduler,v=null!==(u=f[0])&&void 0!==u?u:null,p=f[1]||1/0;return r.operate((function(r,o){var a=[],c=!1,u=function(t){var e=t.buffer;t.subs.unsubscribe(),i.arrRemove(a,t),o.next(e),c&&f()},f=function(){if(a){var t=new e.Subscription;o.add(t);var r={buffer:[],subs:t};a.push(r),l.executeSchedule(t,h,(function(){return u(r)}),s)}};null!==v&&v>=0?l.executeSchedule(o,h,f,v,!0):c=!0,f();var d=n.createOperatorSubscriber(o,(function(e){var r,n,i=a.slice();try{for(var o=t(i),l=o.next();!l.done;l=o.next()){var s=l.value,c=s.buffer;c.push(e),p<=c.length&&u(s)}}catch(t){r={error:t}}finally{try{l&&!l.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}}),(function(){for(;null==a?void 0:a.length;)o.next(a.shift().buffer);null==d||d.unsubscribe(),o.complete(),o.unsubscribe()}),void 0,(function(){return a=null}));r.subscribe(d)}))},kl}();Object.defineProperty(t,"bufferTime",{enumerable:!0,get:function(){return ht.bufferTime}});var vt=function(){if(hl)return Cl;hl=1;var t=Cl&&Cl.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(Cl,"__esModule",{value:!0}),Cl.bufferToggle=void 0;var e=Te(),r=fr(),n=mi(),i=br(),o=De(),a=Se();return Cl.bufferToggle=function(l,s){return r.operate((function(r,c){var u=[];n.innerFrom(l).subscribe(i.createOperatorSubscriber(c,(function(t){var r=[];u.push(r);var l=new e.Subscription;l.add(n.innerFrom(s(t)).subscribe(i.createOperatorSubscriber(c,(function(){a.arrRemove(u,r),c.next(r),l.unsubscribe()}),o.noop)))}),o.noop)),r.subscribe(i.createOperatorSubscriber(c,(function(e){var r,n;try{for(var i=t(u),o=i.next();!o.done;o=i.next())o.value.push(e)}catch(t){r={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}}),(function(){for(;u.length>0;)c.next(u.shift());c.complete()})))}))},Cl}();Object.defineProperty(t,"bufferToggle",{enumerable:!0,get:function(){return vt.bufferToggle}});var pt=function(){if(vl)return Ml;vl=1,Object.defineProperty(Ml,"__esModule",{value:!0}),Ml.bufferWhen=void 0;var t=fr(),e=De(),r=br(),n=mi();return Ml.bufferWhen=function(i){return t.operate((function(t,o){var a=null,l=null,s=function(){null==l||l.unsubscribe();var t=a;a=[],t&&o.next(t),n.innerFrom(i()).subscribe(l=r.createOperatorSubscriber(o,s,e.noop))};s(),t.subscribe(r.createOperatorSubscriber(o,(function(t){return null==a?void 0:a.push(t)}),(function(){a&&o.next(a),o.complete()}),void 0,(function(){return a=l=null})))}))},Ml}();Object.defineProperty(t,"bufferWhen",{enumerable:!0,get:function(){return pt.bufferWhen}});var bt=function(){if(pl)return zl;pl=1,Object.defineProperty(zl,"__esModule",{value:!0}),zl.catchError=void 0;var t=mi(),e=br(),r=fr();return zl.catchError=function n(i){return r.operate((function(r,o){var a,l=null,s=!1;l=r.subscribe(e.createOperatorSubscriber(o,void 0,void 0,(function(e){a=t.innerFrom(i(e,n(i)(r))),l?(l.unsubscribe(),l=null,a.subscribe(o)):s=!0}))),s&&(l.unsubscribe(),l=null,a.subscribe(o))}))},zl}();Object.defineProperty(t,"catchError",{enumerable:!0,get:function(){return bt.catchError}});var gt=function(){if(wl)return Sl;wl=1,Object.defineProperty(Sl,"__esModule",{value:!0}),Sl.combineAll=void 0;var t=Fl();return Sl.combineAll=t.combineLatestAll,Sl}();Object.defineProperty(t,"combineAll",{enumerable:!0,get:function(){return gt.combineAll}});var mt=Fl();Object.defineProperty(t,"combineLatestAll",{enumerable:!0,get:function(){return mt.combineLatestAll}});var yt=function(){if(Nl)return Dl;Nl=1;var t=Dl&&Dl.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,i,o=r.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(t){i={error:t}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},e=Dl&&Dl.__spreadArray||function(t,e){for(var r=0,n=e.length,i=t.length;r<n;r++,i++)t[i]=e[r];return t};Object.defineProperty(Dl,"__esModule",{value:!0}),Dl.combineLatestWith=void 0;var r=function(){if(Bl)return $l;Bl=1;var t=$l&&$l.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,i,o=r.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(t){i={error:t}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},e=$l&&$l.__spreadArray||function(t,e){for(var r=0,n=e.length,i=t.length;r<n;r++,i++)t[i]=e[r];return t};Object.defineProperty($l,"__esModule",{value:!0}),$l.combineLatest=void 0;var r=Ho(),n=fr(),i=Va(),o=Eo(),a=or(),l=Dn();return $l.combineLatest=function s(){for(var c=[],u=0;u<arguments.length;u++)c[u]=arguments[u];var f=l.popResultSelector(c);return f?a.pipe(s.apply(void 0,e([],t(c))),o.mapOneOrManyArgs(f)):n.operate((function(n,o){r.combineLatestInit(e([n],t(i.argsOrArgArray(c))))(o)}))},$l}();return Dl.combineLatestWith=function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];return r.combineLatest.apply(void 0,e([],t(n)))},Dl}();Object.defineProperty(t,"combineLatestWith",{enumerable:!0,get:function(){return yt.combineLatestWith}});var xt=ia();Object.defineProperty(t,"concatAll",{enumerable:!0,get:function(){return xt.concatAll}});var wt=ql();Object.defineProperty(t,"concatMap",{enumerable:!0,get:function(){return wt.concatMap}});var jt=function(){if(Ul)return Kl;Ul=1,Object.defineProperty(Kl,"__esModule",{value:!0}),Kl.concatMapTo=void 0;var t=ql(),e=me();return Kl.concatMapTo=function(r,n){return e.isFunction(n)?t.concatMap((function(){return r}),n):t.concatMap((function(){return r}))},Kl}();Object.defineProperty(t,"concatMapTo",{enumerable:!0,get:function(){return jt.concatMapTo}});var _t=function(){if(Jl)return Xl;Jl=1;var t=Xl&&Xl.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,i,o=r.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(t){i={error:t}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},e=Xl&&Xl.__spreadArray||function(t,e){for(var r=0,n=e.length,i=t.length;r<n;r++,i++)t[i]=e[r];return t};Object.defineProperty(Xl,"__esModule",{value:!0}),Xl.concatWith=void 0;var r=function(){if(Yl)return Gl;Yl=1;var t=Gl&&Gl.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,i,o=r.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(t){i={error:t}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},e=Gl&&Gl.__spreadArray||function(t,e){for(var r=0,n=e.length,i=t.length;r<n;r++,i++)t[i]=e[r];return t};Object.defineProperty(Gl,"__esModule",{value:!0}),Gl.concat=void 0;var r=fr(),n=ia(),i=Dn(),o=Zi();return Gl.concat=function(){for(var a=[],l=0;l<arguments.length;l++)a[l]=arguments[l];var s=i.popScheduler(a);return r.operate((function(r,i){n.concatAll()(o.from(e([r],t(a)),s)).subscribe(i)}))},Gl}();return Xl.concatWith=function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];return r.concat.apply(void 0,e([],t(n)))},Xl}();Object.defineProperty(t,"concatWith",{enumerable:!0,get:function(){return _t.concatWith}});var Ot=ns();Object.defineProperty(t,"connect",{enumerable:!0,get:function(){return Ot.connect}});var kt=function(){if(is)return ss;is=1,Object.defineProperty(ss,"__esModule",{value:!0}),ss.count=void 0;var t=Pl();return ss.count=function(e){return t.reduce((function(t,r,n){return!e||e(r,n)?t+1:t}),0)},ss}();Object.defineProperty(t,"count",{enumerable:!0,get:function(){return kt.count}});var Ct=function(){if(os)return cs;os=1,Object.defineProperty(cs,"__esModule",{value:!0}),cs.debounce=void 0;var t=fr(),e=De(),r=br(),n=mi();return cs.debounce=function(i){return t.operate((function(t,o){var a=!1,l=null,s=null,c=function(){if(null==s||s.unsubscribe(),s=null,a){a=!1;var t=l;l=null,o.next(t)}};t.subscribe(r.createOperatorSubscriber(o,(function(t){null==s||s.unsubscribe(),a=!0,l=t,s=r.createOperatorSubscriber(o,c,e.noop),n.innerFrom(i(t)).subscribe(s)}),(function(){c(),o.complete()}),void 0,(function(){l=s=null})))}))},cs}();Object.defineProperty(t,"debounce",{enumerable:!0,get:function(){return Ct.debounce}});var Mt=function(){if(as)return us;as=1,Object.defineProperty(us,"__esModule",{value:!0}),us.debounceTime=void 0;var t=gn(),e=fr(),r=br();return us.debounceTime=function(n,i){return void 0===i&&(i=t.asyncScheduler),e.operate((function(t,e){var o=null,a=null,l=null,s=function(){if(o){o.unsubscribe(),o=null;var t=a;a=null,e.next(t)}};function c(){var t=l+n,r=i.now();if(r<t)return o=this.schedule(void 0,t-r),void e.add(o);s()}t.subscribe(r.createOperatorSubscriber(e,(function(t){a=t,l=i.now(),o||(o=i.schedule(c,n),e.add(o))}),(function(){s(),e.complete()}),void 0,(function(){a=o=null})))}))},us}();Object.defineProperty(t,"debounceTime",{enumerable:!0,get:function(){return Mt.debounceTime}});var zt=ds();Object.defineProperty(t,"defaultIfEmpty",{enumerable:!0,get:function(){return zt.defaultIfEmpty}});var St=function(){if(_s)return vs;_s=1,Object.defineProperty(vs,"__esModule",{value:!0}),vs.delay=void 0;var t=gn(),e=Cs(),r=Ca();return vs.delay=function(n,i){void 0===i&&(i=t.asyncScheduler);var o=r.timer(n,i);return e.delayWhen((function(){return o}))},vs}();Object.defineProperty(t,"delay",{enumerable:!0,get:function(){return St.delay}});var Tt=Cs();Object.defineProperty(t,"delayWhen",{enumerable:!0,get:function(){return Tt.delayWhen}});var It=function(){if(Ms)return Ts;Ms=1,Object.defineProperty(Ts,"__esModule",{value:!0}),Ts.dematerialize=void 0;var t=Xi(),e=fr(),r=br();return Ts.dematerialize=function(){return e.operate((function(e,n){e.subscribe(r.createOperatorSubscriber(n,(function(e){return t.observeNotification(e,n)})))}))},Ts}();Object.defineProperty(t,"dematerialize",{enumerable:!0,get:function(){return It.dematerialize}});var Et=function(){if(zs)return Is;zs=1,Object.defineProperty(Is,"__esModule",{value:!0}),Is.distinct=void 0;var t=fr(),e=br(),r=De(),n=mi();return Is.distinct=function(i,o){return t.operate((function(t,a){var l=new Set;t.subscribe(e.createOperatorSubscriber(a,(function(t){var e=i?i(t):t;l.has(e)||(l.add(e),a.next(t))}))),o&&n.innerFrom(o).subscribe(e.createOperatorSubscriber(a,(function(){return l.clear()}),r.noop))}))},Is}();Object.defineProperty(t,"distinct",{enumerable:!0,get:function(){return Et.distinct}});var At=As();Object.defineProperty(t,"distinctUntilChanged",{enumerable:!0,get:function(){return At.distinctUntilChanged}});var Lt=function(){if(Ls)return Vs;Ls=1,Object.defineProperty(Vs,"__esModule",{value:!0}),Vs.distinctUntilKeyChanged=void 0;var t=As();return Vs.distinctUntilKeyChanged=function(e,r){return t.distinctUntilChanged((function(t,n){return r?r(t[e],n[e]):t[e]===n[e]}))},Vs}();Object.defineProperty(t,"distinctUntilKeyChanged",{enumerable:!0,get:function(){return Lt.distinctUntilKeyChanged}});var Wt=function(){if(Ps)return Rs;Ps=1,Object.defineProperty(Rs,"__esModule",{value:!0}),Rs.elementAt=void 0;var t=co(),e=Ua(),r=Bs(),n=ds(),i=gs();return Rs.elementAt=function(o,a){if(o<0)throw new t.ArgumentOutOfRangeError;var l=arguments.length>=2;return function(s){return s.pipe(e.filter((function(t,e){return e===o})),i.take(1),l?n.defaultIfEmpty(a):r.throwIfEmpty((function(){return new t.ArgumentOutOfRangeError})))}},Rs}();Object.defineProperty(t,"elementAt",{enumerable:!0,get:function(){return Wt.elementAt}});var Pt=function(){if(Ns)return qs;Ns=1;var t=qs&&qs.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,i,o=r.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(t){i={error:t}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},e=qs&&qs.__spreadArray||function(t,e){for(var r=0,n=e.length,i=t.length;r<n;r++,i++)t[i]=e[r];return t};Object.defineProperty(qs,"__esModule",{value:!0}),qs.endWith=void 0;var r=oa(),n=qi();return qs.endWith=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];return function(o){return r.concat(o,n.of.apply(void 0,e([],t(i))))}},qs}();Object.defineProperty(t,"endWith",{enumerable:!0,get:function(){return Pt.endWith}});var Vt=function(){if(Ds)return Us;Ds=1,Object.defineProperty(Us,"__esModule",{value:!0}),Us.every=void 0;var t=fr(),e=br();return Us.every=function(r,n){return t.operate((function(t,i){var o=0;t.subscribe(e.createOperatorSubscriber(i,(function(e){r.call(n,e,o++,t)||(i.next(!1),i.complete())}),(function(){i.next(!0),i.complete()})))}))},Us}();Object.defineProperty(t,"every",{enumerable:!0,get:function(){return Vt.every}});var Rt=function(){if(Zs)return Ys;Zs=1,Object.defineProperty(Ys,"__esModule",{value:!0}),Ys.exhaust=void 0;var t=Gs();return Ys.exhaust=t.exhaustAll,Ys}();Object.defineProperty(t,"exhaust",{enumerable:!0,get:function(){return Rt.exhaust}});var Ft=Gs();Object.defineProperty(t,"exhaustAll",{enumerable:!0,get:function(){return Ft.exhaustAll}});var Bt=Xs();Object.defineProperty(t,"exhaustMap",{enumerable:!0,get:function(){return Bt.exhaustMap}});var Nt=function(){if(Qs)return rc;Qs=1,Object.defineProperty(rc,"__esModule",{value:!0}),rc.expand=void 0;var t=fr(),e=ea();return rc.expand=function(r,n,i){return void 0===n&&(n=1/0),n=(n||0)<1?1/0:n,t.operate((function(t,o){return e.mergeInternals(t,o,r,n,void 0,!0,i)}))},rc}();Object.defineProperty(t,"expand",{enumerable:!0,get:function(){return Nt.expand}});var Dt=Ua();Object.defineProperty(t,"filter",{enumerable:!0,get:function(){return Dt.filter}});var $t=function(){if(tc)return nc;tc=1,Object.defineProperty(nc,"__esModule",{value:!0}),nc.finalize=void 0;var t=fr();return nc.finalize=function(e){return t.operate((function(t,r){try{t.subscribe(r)}finally{r.add(e)}}))},nc}();Object.defineProperty(t,"finalize",{enumerable:!0,get:function(){return $t.finalize}});var Ht=oc();Object.defineProperty(t,"find",{enumerable:!0,get:function(){return Ht.find}});var Zt=function(){if(ac)return cc;ac=1,Object.defineProperty(cc,"__esModule",{value:!0}),cc.findIndex=void 0;var t=fr(),e=oc();return cc.findIndex=function(r,n){return t.operate(e.createFind(r,n,"index"))},cc}();Object.defineProperty(t,"findIndex",{enumerable:!0,get:function(){return Zt.findIndex}});var qt=function(){if(lc)return uc;lc=1,Object.defineProperty(uc,"__esModule",{value:!0}),uc.first=void 0;var t=io(),e=Ua(),r=gs(),n=ds(),i=Bs(),o=ir();return uc.first=function(a,l){var s=arguments.length>=2;return function(c){return c.pipe(a?e.filter((function(t,e){return a(t,e,c)})):o.identity,r.take(1),s?n.defaultIfEmpty(l):i.throwIfEmpty((function(){return new t.EmptyError})))}},uc}();Object.defineProperty(t,"first",{enumerable:!0,get:function(){return qt.first}});var Ut=function(){if(sc)return fc;sc=1,Object.defineProperty(fc,"__esModule",{value:!0}),fc.groupBy=void 0;var t=ar(),e=mi(),r=Ir(),n=fr(),i=br();return fc.groupBy=function(o,a,l,s){return n.operate((function(n,c){var u;a&&"function"!=typeof a?(l=a.duration,u=a.element,s=a.connector):u=a;var f=new Map,d=function(t){f.forEach(t),t(c)},h=function(t){return d((function(e){return e.error(t)}))},v=0,p=!1,b=new i.OperatorSubscriber(c,(function(n){try{var a=o(n),d=f.get(a);if(!d){f.set(a,d=s?s():new r.Subject);var g=(y=a,x=d,(w=new t.Observable((function(t){v++;var e=x.subscribe(t);return function(){e.unsubscribe(),0==--v&&p&&b.unsubscribe()}}))).key=y,w);if(c.next(g),l){var m=i.createOperatorSubscriber(d,(function(){d.complete(),null==m||m.unsubscribe()}),void 0,void 0,(function(){return f.delete(a)}));b.add(e.innerFrom(l(g)).subscribe(m))}}d.next(u?u(n):n)}catch(t){h(t)}var y,x,w}),(function(){return d((function(t){return t.complete()}))}),h,(function(){return f.clear()}),(function(){return p=!0,0===v}));n.subscribe(b)}))},fc}();Object.defineProperty(t,"groupBy",{enumerable:!0,get:function(){return Ut.groupBy}});var Yt=xs();Object.defineProperty(t,"ignoreElements",{enumerable:!0,get:function(){return Yt.ignoreElements}});var Jt=function(){if(dc)return pc;dc=1,Object.defineProperty(pc,"__esModule",{value:!0}),pc.isEmpty=void 0;var t=fr(),e=br();return pc.isEmpty=function(){return t.operate((function(t,r){t.subscribe(e.createOperatorSubscriber(r,(function(){r.next(!1),r.complete()}),(function(){r.next(!0),r.complete()})))}))},pc}();Object.defineProperty(t,"isEmpty",{enumerable:!0,get:function(){return Jt.isEmpty}});var Kt=function(){if(vc)return bc;vc=1,Object.defineProperty(bc,"__esModule",{value:!0}),bc.last=void 0;var t=io(),e=Ua(),r=mc(),n=Bs(),i=ds(),o=ir();return bc.last=function(a,l){var s=arguments.length>=2;return function(c){return c.pipe(a?e.filter((function(t,e){return a(t,e,c)})):o.identity,r.takeLast(1),s?i.defaultIfEmpty(l):n.throwIfEmpty((function(){return new t.EmptyError})))}},bc}();Object.defineProperty(t,"last",{enumerable:!0,get:function(){return Kt.last}});var Xt=Io();Object.defineProperty(t,"map",{enumerable:!0,get:function(){return Xt.map}});var Gt=ks();Object.defineProperty(t,"mapTo",{enumerable:!0,get:function(){return Gt.mapTo}});var Qt=function(){if(yc)return Cc;yc=1,Object.defineProperty(Cc,"__esModule",{value:!0}),Cc.materialize=void 0;var t=Xi(),e=fr(),r=br();return Cc.materialize=function(){return e.operate((function(e,n){e.subscribe(r.createOperatorSubscriber(n,(function(e){n.next(t.Notification.createNext(e))}),(function(){n.next(t.Notification.createComplete()),n.complete()}),(function(e){n.next(t.Notification.createError(e)),n.complete()})))}))},Cc}();Object.defineProperty(t,"materialize",{enumerable:!0,get:function(){return Qt.materialize}});var te=function(){if(xc)return Mc;xc=1,Object.defineProperty(Mc,"__esModule",{value:!0}),Mc.max=void 0;var t=Pl(),e=me();return Mc.max=function(r){return t.reduce(e.isFunction(r)?function(t,e){return r(t,e)>0?t:e}:function(t,e){return t>e?t:e})},Mc}();Object.defineProperty(t,"max",{enumerable:!0,get:function(){return te.max}});var ee=na();Object.defineProperty(t,"mergeAll",{enumerable:!0,get:function(){return ee.mergeAll}});var re=function(){if(wc)return zc;wc=1,Object.defineProperty(zc,"__esModule",{value:!0}),zc.flatMap=void 0;var t=ra();return zc.flatMap=t.mergeMap,zc}();Object.defineProperty(t,"flatMap",{enumerable:!0,get:function(){return re.flatMap}});var ne=ra();Object.defineProperty(t,"mergeMap",{enumerable:!0,get:function(){return ne.mergeMap}});var ie=function(){if(jc)return Sc;jc=1,Object.defineProperty(Sc,"__esModule",{value:!0}),Sc.mergeMapTo=void 0;var t=ra(),e=me();return Sc.mergeMapTo=function(r,n,i){return void 0===i&&(i=1/0),e.isFunction(n)?t.mergeMap((function(){return r}),n,i):("number"==typeof n&&(i=n),t.mergeMap((function(){return r}),i))},Sc}();Object.defineProperty(t,"mergeMapTo",{enumerable:!0,get:function(){return ie.mergeMapTo}});var oe=function(){if(_c)return Tc;_c=1,Object.defineProperty(Tc,"__esModule",{value:!0}),Tc.mergeScan=void 0;var t=fr(),e=ea();return Tc.mergeScan=function(r,n,i){return void 0===i&&(i=1/0),t.operate((function(t,o){var a=n;return e.mergeInternals(t,o,(function(t,e){return r(a,t,e)}),i,(function(t){a=t}),!1,void 0,(function(){return a=null}))}))},Tc}();Object.defineProperty(t,"mergeScan",{enumerable:!0,get:function(){return oe.mergeScan}});var ae=function(){if(kc)return Ic;kc=1;var t=Ic&&Ic.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,i,o=r.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(t){i={error:t}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},e=Ic&&Ic.__spreadArray||function(t,e){for(var r=0,n=e.length,i=t.length;r<n;r++,i++)t[i]=e[r];return t};Object.defineProperty(Ic,"__esModule",{value:!0}),Ic.mergeWith=void 0;var r=function(){if(Oc)return Ec;Oc=1;var t=Ec&&Ec.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,i,o=r.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(t){i={error:t}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},e=Ec&&Ec.__spreadArray||function(t,e){for(var r=0,n=e.length,i=t.length;r<n;r++,i++)t[i]=e[r];return t};Object.defineProperty(Ec,"__esModule",{value:!0}),Ec.merge=void 0;var r=fr(),n=na(),i=Dn(),o=Zi();return Ec.merge=function(){for(var a=[],l=0;l<arguments.length;l++)a[l]=arguments[l];var s=i.popScheduler(a),c=i.popNumber(a,1/0);return r.operate((function(r,i){n.mergeAll(c)(o.from(e([r],t(a)),s)).subscribe(i)}))},Ec}();return Ic.mergeWith=function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];return r.merge.apply(void 0,e([],t(n)))},Ic}();Object.defineProperty(t,"mergeWith",{enumerable:!0,get:function(){return ae.mergeWith}});var le=function(){if(Ac)return Wc;Ac=1,Object.defineProperty(Wc,"__esModule",{value:!0}),Wc.min=void 0;var t=Pl(),e=me();return Wc.min=function(r){return t.reduce(e.isFunction(r)?function(t,e){return r(t,e)<0?t:e}:function(t,e){return t<e?t:e})},Wc}();Object.defineProperty(t,"min",{enumerable:!0,get:function(){return le.min}});var se=Vc();Object.defineProperty(t,"multicast",{enumerable:!0,get:function(){return se.multicast}});var ce=Oi();Object.defineProperty(t,"observeOn",{enumerable:!0,get:function(){return ce.observeOn}});var ue=function(){if(Rc)return Yc;Rc=1;var t=Yc&&Yc.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,i,o=r.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(t){i={error:t}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},e=Yc&&Yc.__spreadArray||function(t,e){for(var r=0,n=e.length,i=t.length;r<n;r++,i++)t[i]=e[r];return t};Object.defineProperty(Yc,"__esModule",{value:!0}),Yc.onErrorResumeNext=Yc.onErrorResumeNextWith=void 0;var r=Va(),n=Ra();function i(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];var a=r.argsOrArgArray(i);return function(r){return n.onErrorResumeNext.apply(void 0,e([r],t(a)))}}return Yc.onErrorResumeNextWith=i,Yc.onErrorResumeNext=i,Yc}();Object.defineProperty(t,"onErrorResumeNextWith",{enumerable:!0,get:function(){return ue.onErrorResumeNextWith}});var fe=function(){if(Fc)return Jc;Fc=1,Object.defineProperty(Jc,"__esModule",{value:!0}),Jc.pairwise=void 0;var t=fr(),e=br();return Jc.pairwise=function(){return t.operate((function(t,r){var n,i=!1;t.subscribe(e.createOperatorSubscriber(r,(function(t){var e=n;n=t,i&&r.next([e,t]),i=!0})))}))},Jc}();Object.defineProperty(t,"pairwise",{enumerable:!0,get:function(){return fe.pairwise}});var de=function(){if(Bc)return Kc;Bc=1,Object.defineProperty(Kc,"__esModule",{value:!0}),Kc.pluck=void 0;var t=Io();return Kc.pluck=function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var n=e.length;if(0===n)throw new Error("list of properties cannot be empty.");return t.map((function(t){for(var r=t,i=0;i<n;i++){var o=null==r?void 0:r[e[i]];if(void 0===o)return;r=o}return r}))},Kc}();Object.defineProperty(t,"pluck",{enumerable:!0,get:function(){return de.pluck}});var he=function(){if(Nc)return Xc;Nc=1,Object.defineProperty(Xc,"__esModule",{value:!0}),Xc.publish=void 0;var t=Ir(),e=Vc(),r=ns();return Xc.publish=function(n){return n?function(t){return r.connect(n)(t)}:function(r){return e.multicast(new t.Subject)(r)}},Xc}();Object.defineProperty(t,"publish",{enumerable:!0,get:function(){return he.publish}});var pe=function(){if(Dc)return Gc;Dc=1,Object.defineProperty(Gc,"__esModule",{value:!0}),Gc.publishBehavior=void 0;var t=Lr(),e=mr();return Gc.publishBehavior=function(r){return function(n){var i=new t.BehaviorSubject(r);return new e.ConnectableObservable(n,(function(){return i}))}},Gc}();Object.defineProperty(t,"publishBehavior",{enumerable:!0,get:function(){return pe.publishBehavior}});var be=function(){if($c)return Qc;$c=1,Object.defineProperty(Qc,"__esModule",{value:!0}),Qc.publishLast=void 0;var t=$r(),e=mr();return Qc.publishLast=function(){return function(r){var n=new t.AsyncSubject;return new e.ConnectableObservable(r,(function(){return n}))}},Qc}();Object.defineProperty(t,"publishLast",{enumerable:!0,get:function(){return be.publishLast}});var ge=function(){if(Hc)return tu;Hc=1,Object.defineProperty(tu,"__esModule",{value:!0}),tu.publishReplay=void 0;var t=Br(),e=Vc(),r=me();return tu.publishReplay=function(n,i,o,a){o&&!r.isFunction(o)&&(a=o);var l=r.isFunction(o)?o:void 0;return function(r){return e.multicast(new t.ReplaySubject(n,i,a),l)(r)}},tu}();Object.defineProperty(t,"publishReplay",{enumerable:!0,get:function(){return ge.publishReplay}});var ye=function(){if(Zc)return eu;Zc=1;var t=eu&&eu.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,i,o=r.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(t){i={error:t}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},e=eu&&eu.__spreadArray||function(t,e){for(var r=0,n=e.length,i=t.length;r<n;r++,i++)t[i]=e[r];return t};Object.defineProperty(eu,"__esModule",{value:!0}),eu.raceWith=void 0;var r=Ka(),n=fr(),i=ir();return eu.raceWith=function(){for(var o=[],a=0;a<arguments.length;a++)o[a]=arguments[a];return o.length?n.operate((function(n,i){r.raceInit(e([n],t(o)))(i)})):i.identity},eu}();Object.defineProperty(t,"raceWith",{enumerable:!0,get:function(){return ye.raceWith}});var xe=Pl();Object.defineProperty(t,"reduce",{enumerable:!0,get:function(){return xe.reduce}});var we=function(){if(qc)return ru;qc=1,Object.defineProperty(ru,"__esModule",{value:!0}),ru.repeat=void 0;var t=Wn(),e=fr(),r=br(),n=mi(),i=Ca();return ru.repeat=function(o){var a,l,s=1/0;return null!=o&&("object"==typeof o?(s=void 0===(a=o.count)?1/0:a,l=o.delay):s=o),s<=0?function(){return t.EMPTY}:e.operate((function(t,e){var o,a=0,c=function(){if(null==o||o.unsubscribe(),o=null,null!=l){var t="number"==typeof l?i.timer(l):n.innerFrom(l(a)),s=r.createOperatorSubscriber(e,(function(){s.unsubscribe(),u()}));t.subscribe(s)}else u()},u=function(){var n=!1;o=t.subscribe(r.createOperatorSubscriber(e,void 0,(function(){++a<s?o?c():n=!0:e.complete()}))),n&&c()};u()}))},ru}();Object.defineProperty(t,"repeat",{enumerable:!0,get:function(){return we.repeat}});var je=function(){if(Uc)return nu;Uc=1,Object.defineProperty(nu,"__esModule",{value:!0}),nu.repeatWhen=void 0;var t=mi(),e=Ir(),r=fr(),n=br();return nu.repeatWhen=function(i){return r.operate((function(r,o){var a,l,s=!1,c=!1,u=!1,f=function(){return u&&c&&(o.complete(),!0)},d=function(){u=!1,a=r.subscribe(n.createOperatorSubscriber(o,void 0,(function(){u=!0,!f()&&(l||(l=new e.Subject,t.innerFrom(i(l)).subscribe(n.createOperatorSubscriber(o,(function(){a?d():s=!0}),(function(){c=!0,f()})))),l).next()}))),s&&(a.unsubscribe(),a=null,s=!1,d())};d()}))},nu}();Object.defineProperty(t,"repeatWhen",{enumerable:!0,get:function(){return je.repeatWhen}});var _e=function(){if(iu)return lu;iu=1,Object.defineProperty(lu,"__esModule",{value:!0}),lu.retry=void 0;var t=fr(),e=br(),r=ir(),n=Ca(),i=mi();return lu.retry=function(o){var a;void 0===o&&(o=1/0);var l=(a=o&&"object"==typeof o?o:{count:o}).count,s=void 0===l?1/0:l,c=a.delay,u=a.resetOnSuccess,f=void 0!==u&&u;return s<=0?r.identity:t.operate((function(t,r){var o,a=0,l=function(){var u=!1;o=t.subscribe(e.createOperatorSubscriber(r,(function(t){f&&(a=0),r.next(t)}),void 0,(function(t){if(a++<s){var f=function(){o?(o.unsubscribe(),o=null,l()):u=!0};if(null!=c){var d="number"==typeof c?n.timer(c):i.innerFrom(c(t,a)),h=e.createOperatorSubscriber(r,(function(){h.unsubscribe(),f()}),(function(){r.complete()}));d.subscribe(h)}else f()}else r.error(t)}))),u&&(o.unsubscribe(),o=null,l())};l()}))},lu}();Object.defineProperty(t,"retry",{enumerable:!0,get:function(){return _e.retry}});var Oe=function(){if(ou)return su;ou=1,Object.defineProperty(su,"__esModule",{value:!0}),su.retryWhen=void 0;var t=mi(),e=Ir(),r=fr(),n=br();return su.retryWhen=function(i){return r.operate((function(r,o){var a,l,s=!1,c=function(){a=r.subscribe(n.createOperatorSubscriber(o,void 0,void 0,(function(r){l||(l=new e.Subject,t.innerFrom(i(l)).subscribe(n.createOperatorSubscriber(o,(function(){return a?c():s=!0})))),l&&l.next(r)}))),s&&(a.unsubscribe(),a=null,s=!1,c())};c()}))},su}();Object.defineProperty(t,"retryWhen",{enumerable:!0,get:function(){return Oe.retryWhen}});var Ce=gr();Object.defineProperty(t,"refCount",{enumerable:!0,get:function(){return Ce.refCount}});var Me=uu();Object.defineProperty(t,"sample",{enumerable:!0,get:function(){return Me.sample}});var ze=function(){if(fu)return pu;fu=1,Object.defineProperty(pu,"__esModule",{value:!0}),pu.sampleTime=void 0;var t=gn(),e=uu(),r=Ma();return pu.sampleTime=function(n,i){return void 0===i&&(i=t.asyncScheduler),e.sample(r.interval(n,i))},pu}();Object.defineProperty(t,"sampleTime",{enumerable:!0,get:function(){return ze.sampleTime}});var Ie=function(){if(du)return bu;du=1,Object.defineProperty(bu,"__esModule",{value:!0}),bu.scan=void 0;var t=fr(),e=Wl();return bu.scan=function(r,n){return t.operate(e.scanInternals(r,n,arguments.length>=2,!0))},bu}();Object.defineProperty(t,"scan",{enumerable:!0,get:function(){return Ie.scan}});var Ee=function(){if(hu)return gu;hu=1,Object.defineProperty(gu,"__esModule",{value:!0}),gu.sequenceEqual=void 0;var t=fr(),e=br(),r=mi();return gu.sequenceEqual=function(n,i){return void 0===i&&(i=function(t,e){return t===e}),t.operate((function(t,o){var a={buffer:[],complete:!1},l={buffer:[],complete:!1},s=function(t){o.next(t),o.complete()},c=function(t,r){var n=e.createOperatorSubscriber(o,(function(e){var n=r.buffer;0===n.length?r.complete?s(!1):t.buffer.push(e):!i(e,n.shift())&&s(!1)}),(function(){t.complete=!0,r.complete&&s(0===r.buffer.length),null==n||n.unsubscribe()}));return n};t.subscribe(c(a,l)),r.innerFrom(n).subscribe(c(l,a))}))},gu}();Object.defineProperty(t,"sequenceEqual",{enumerable:!0,get:function(){return Ee.sequenceEqual}});var Le=yu();Object.defineProperty(t,"share",{enumerable:!0,get:function(){return Le.share}});var We=function(){if(xu)return Su;xu=1,Object.defineProperty(Su,"__esModule",{value:!0}),Su.shareReplay=void 0;var t=Br(),e=yu();return Su.shareReplay=function(r,n,i){var o,a,l,s,c=!1;return r&&"object"==typeof r?(s=void 0===(o=r.bufferSize)?1/0:o,n=void 0===(a=r.windowTime)?1/0:a,c=void 0!==(l=r.refCount)&&l,i=r.scheduler):s=null!=r?r:1/0,e.share({connector:function(){return new t.ReplaySubject(s,n,i)},resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:c})},Su}();Object.defineProperty(t,"shareReplay",{enumerable:!0,get:function(){return We.shareReplay}});var Pe=function(){if(wu)return Tu;wu=1,Object.defineProperty(Tu,"__esModule",{value:!0}),Tu.single=void 0;var t=io(),e=bo(),r=ho(),n=fr(),i=br();return Tu.single=function(o){return n.operate((function(n,a){var l,s=!1,c=!1,u=0;n.subscribe(i.createOperatorSubscriber(a,(function(t){c=!0,o&&!o(t,u++,n)||(s&&a.error(new e.SequenceError("Too many matching values")),s=!0,l=t)}),(function(){s?(a.next(l),a.complete()):a.error(c?new r.NotFoundError("No matching values"):new t.EmptyError)})))}))},Tu}();Object.defineProperty(t,"single",{enumerable:!0,get:function(){return Pe.single}});var Ve=function(){if(ju)return Iu;ju=1,Object.defineProperty(Iu,"__esModule",{value:!0}),Iu.skip=void 0;var t=Ua();return Iu.skip=function(e){return t.filter((function(t,r){return e<=r}))},Iu}();Object.defineProperty(t,"skip",{enumerable:!0,get:function(){return Ve.skip}});var Re=function(){if(_u)return Eu;_u=1,Object.defineProperty(Eu,"__esModule",{value:!0}),Eu.skipLast=void 0;var t=ir(),e=fr(),r=br();return Eu.skipLast=function(n){return n<=0?t.identity:e.operate((function(t,e){var i=new Array(n),o=0;return t.subscribe(r.createOperatorSubscriber(e,(function(t){var r=o++;if(r<n)i[r]=t;else{var a=r%n,l=i[a];i[a]=t,e.next(l)}}))),function(){i=null}}))},Eu}();Object.defineProperty(t,"skipLast",{enumerable:!0,get:function(){return Re.skipLast}});var Fe=function(){if(Ou)return Au;Ou=1,Object.defineProperty(Au,"__esModule",{value:!0}),Au.skipUntil=void 0;var t=fr(),e=br(),r=mi(),n=De();return Au.skipUntil=function(i){return t.operate((function(t,o){var a=!1,l=e.createOperatorSubscriber(o,(function(){null==l||l.unsubscribe(),a=!0}),n.noop);r.innerFrom(i).subscribe(l),t.subscribe(e.createOperatorSubscriber(o,(function(t){return a&&o.next(t)})))}))},Au}();Object.defineProperty(t,"skipUntil",{enumerable:!0,get:function(){return Fe.skipUntil}});var Be=function(){if(ku)return Lu;ku=1,Object.defineProperty(Lu,"__esModule",{value:!0}),Lu.skipWhile=void 0;var t=fr(),e=br();return Lu.skipWhile=function(r){return t.operate((function(t,n){var i=!1,o=0;t.subscribe(e.createOperatorSubscriber(n,(function(t){return(i||(i=!r(t,o++)))&&n.next(t)})))}))},Lu}();Object.defineProperty(t,"skipWhile",{enumerable:!0,get:function(){return Be.skipWhile}});var Ne=function(){if(Cu)return Wu;Cu=1,Object.defineProperty(Wu,"__esModule",{value:!0}),Wu.startWith=void 0;var t=oa(),e=Dn(),r=fr();return Wu.startWith=function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];var o=e.popScheduler(n);return r.operate((function(e,r){(o?t.concat(n,e,o):t.concat(n,e)).subscribe(r)}))},Wu}();Object.defineProperty(t,"startWith",{enumerable:!0,get:function(){return Ne.startWith}});var $e=zi();Object.defineProperty(t,"subscribeOn",{enumerable:!0,get:function(){return $e.subscribeOn}});var He=function(){if(zu)return Pu;zu=1,Object.defineProperty(Pu,"__esModule",{value:!0}),Pu.switchAll=void 0;var t=Ru(),e=ir();return Pu.switchAll=function(){return t.switchMap(e.identity)},Pu}();Object.defineProperty(t,"switchAll",{enumerable:!0,get:function(){return He.switchAll}});var Ze=Ru();Object.defineProperty(t,"switchMap",{enumerable:!0,get:function(){return Ze.switchMap}});var qe=function(){if(Fu)return Zu;Fu=1,Object.defineProperty(Zu,"__esModule",{value:!0}),Zu.switchMapTo=void 0;var t=Ru(),e=me();return Zu.switchMapTo=function(r,n){return e.isFunction(n)?t.switchMap((function(){return r}),n):t.switchMap((function(){return r}))},Zu}();Object.defineProperty(t,"switchMapTo",{enumerable:!0,get:function(){return qe.switchMapTo}});var Ue=function(){if(Bu)return qu;Bu=1,Object.defineProperty(qu,"__esModule",{value:!0}),qu.switchScan=void 0;var t=Ru(),e=fr();return qu.switchScan=function(r,n){return e.operate((function(e,i){var o=n;return t.switchMap((function(t,e){return r(o,t,e)}),(function(t,e){return o=e,e}))(e).subscribe(i),function(){o=null}}))},qu}();Object.defineProperty(t,"switchScan",{enumerable:!0,get:function(){return Ue.switchScan}});var Ye=gs();Object.defineProperty(t,"take",{enumerable:!0,get:function(){return Ye.take}});var Ke=mc();Object.defineProperty(t,"takeLast",{enumerable:!0,get:function(){return Ke.takeLast}});var Xe=function(){if(Nu)return Uu;Nu=1,Object.defineProperty(Uu,"__esModule",{value:!0}),Uu.takeUntil=void 0;var t=fr(),e=br(),r=mi(),n=De();return Uu.takeUntil=function(i){return t.operate((function(t,o){r.innerFrom(i).subscribe(e.createOperatorSubscriber(o,(function(){return o.complete()}),n.noop)),!o.closed&&t.subscribe(o)}))},Uu}();Object.defineProperty(t,"takeUntil",{enumerable:!0,get:function(){return Xe.takeUntil}});var Qe=function(){if(Du)return Yu;Du=1,Object.defineProperty(Yu,"__esModule",{value:!0}),Yu.takeWhile=void 0;var t=fr(),e=br();return Yu.takeWhile=function(r,n){return void 0===n&&(n=!1),t.operate((function(t,i){var o=0;t.subscribe(e.createOperatorSubscriber(i,(function(t){var e=r(t,o++);(e||n)&&i.next(t),!e&&i.complete()})))}))},Yu}();Object.defineProperty(t,"takeWhile",{enumerable:!0,get:function(){return Qe.takeWhile}});var tr=function(){if($u)return Ju;$u=1,Object.defineProperty(Ju,"__esModule",{value:!0}),Ju.tap=void 0;var t=me(),e=fr(),r=br(),n=ir();return Ju.tap=function(i,o,a){var l=t.isFunction(i)||o||a?{next:i,error:o,complete:a}:i;return l?e.operate((function(t,e){var n;null===(n=l.subscribe)||void 0===n||n.call(l);var i=!0;t.subscribe(r.createOperatorSubscriber(e,(function(t){var r;null===(r=l.next)||void 0===r||r.call(l,t),e.next(t)}),(function(){var t;i=!1,null===(t=l.complete)||void 0===t||t.call(l),e.complete()}),(function(t){var r;i=!1,null===(r=l.error)||void 0===r||r.call(l,t),e.error(t)}),(function(){var t,e;i&&(null===(t=l.unsubscribe)||void 0===t||t.call(l)),null===(e=l.finalize)||void 0===e||e.call(l)})))})):n.identity},Ju}();Object.defineProperty(t,"tap",{enumerable:!0,get:function(){return tr.tap}});var er=Xu();Object.defineProperty(t,"throttle",{enumerable:!0,get:function(){return er.throttle}});var rr=function(){if(Gu)return hf;Gu=1,Object.defineProperty(hf,"__esModule",{value:!0}),hf.throttleTime=void 0;var t=gn(),e=Xu(),r=Ca();return hf.throttleTime=function(n,i,o){void 0===i&&(i=t.asyncScheduler);var a=r.timer(n,i);return e.throttle((function(){return a}),o)},hf}();Object.defineProperty(t,"throttleTime",{enumerable:!0,get:function(){return rr.throttleTime}});var nr=Bs();Object.defineProperty(t,"throwIfEmpty",{enumerable:!0,get:function(){return nr.throwIfEmpty}});var lr=function(){if(Qu)return vf;Qu=1,Object.defineProperty(vf,"__esModule",{value:!0}),vf.TimeInterval=vf.timeInterval=void 0;var t=gn(),e=fr(),r=br();vf.timeInterval=function(i){return void 0===i&&(i=t.asyncScheduler),e.operate((function(t,e){var o=i.now();t.subscribe(r.createOperatorSubscriber(e,(function(t){var r=i.now(),a=r-o;o=r,e.next(new n(t,a))})))}))};var n=function(t,e){this.value=t,this.interval=e};return vf.TimeInterval=n,vf}();Object.defineProperty(t,"timeInterval",{enumerable:!0,get:function(){return lr.timeInterval}});var sr=jo();Object.defineProperty(t,"timeout",{enumerable:!0,get:function(){return sr.timeout}});var cr=function(){if(tf)return pf;tf=1,Object.defineProperty(pf,"__esModule",{value:!0}),pf.timeoutWith=void 0;var t=gn(),e=wo(),r=jo();return pf.timeoutWith=function(n,i,o){var a,l,s;if(o=null!=o?o:t.async,e.isValidDate(n)?a=n:"number"==typeof n&&(l=n),!i)throw new TypeError("No observable provided to switch to");if(s=function(){return i},null==a&&null==l)throw new TypeError("No timeout provided.");return r.timeout({first:a,each:l,scheduler:o,with:s})},pf}();Object.defineProperty(t,"timeoutWith",{enumerable:!0,get:function(){return cr.timeoutWith}});var ur=function(){if(ef)return bf;ef=1,Object.defineProperty(bf,"__esModule",{value:!0}),bf.timestamp=void 0;var t=Fr(),e=Io();return bf.timestamp=function(r){return void 0===r&&(r=t.dateTimestampProvider),e.map((function(t){return{value:t,timestamp:r.now()}}))},bf}();Object.defineProperty(t,"timestamp",{enumerable:!0,get:function(){return ur.timestamp}});var dr=Vl();Object.defineProperty(t,"toArray",{enumerable:!0,get:function(){return dr.toArray}});var hr=function(){if(rf)return gf;rf=1,Object.defineProperty(gf,"__esModule",{value:!0}),gf.window=void 0;var t=Ir(),e=fr(),r=br(),n=De(),i=mi();return gf.window=function(o){return e.operate((function(e,a){var l=new t.Subject;a.next(l.asObservable());var s=function(t){l.error(t),a.error(t)};return e.subscribe(r.createOperatorSubscriber(a,(function(t){return null==l?void 0:l.next(t)}),(function(){l.complete(),a.complete()}),s)),i.innerFrom(o).subscribe(r.createOperatorSubscriber(a,(function(){l.complete(),a.next(l=new t.Subject)}),n.noop,s)),function(){null==l||l.unsubscribe(),l=null}}))},gf}();Object.defineProperty(t,"window",{enumerable:!0,get:function(){return hr.window}});var vr=function(){if(nf)return mf;nf=1;var t=mf&&mf.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(mf,"__esModule",{value:!0}),mf.windowCount=void 0;var e=Ir(),r=fr(),n=br();return mf.windowCount=function(i,o){void 0===o&&(o=0);var a=o>0?o:i;return r.operate((function(r,o){var l=[new e.Subject],s=0;o.next(l[0].asObservable()),r.subscribe(n.createOperatorSubscriber(o,(function(r){var n,c;try{for(var u=t(l),f=u.next();!f.done;f=u.next())f.value.next(r)}catch(t){n={error:t}}finally{try{f&&!f.done&&(c=u.return)&&c.call(u)}finally{if(n)throw n.error}}var d=s-i+1;if(d>=0&&d%a==0&&l.shift().complete(),++s%a==0){var h=new e.Subject;l.push(h),o.next(h.asObservable())}}),(function(){for(;l.length>0;)l.shift().complete();o.complete()}),(function(t){for(;l.length>0;)l.shift().error(t);o.error(t)}),(function(){l=null})))}))},mf}();Object.defineProperty(t,"windowCount",{enumerable:!0,get:function(){return vr.windowCount}});var pr=function(){if(of)return yf;of=1,Object.defineProperty(yf,"__esModule",{value:!0}),yf.windowTime=void 0;var t=Ir(),e=gn(),r=Te(),n=fr(),i=br(),o=Se(),a=Dn(),l=_i();return yf.windowTime=function(s){for(var c,u,f=[],d=1;d<arguments.length;d++)f[d-1]=arguments[d];var h=null!==(c=a.popScheduler(f))&&void 0!==c?c:e.asyncScheduler,v=null!==(u=f[0])&&void 0!==u?u:null,p=f[1]||1/0;return n.operate((function(e,n){var a=[],c=!1,u=function(t){var e=t.subs;t.window.complete(),e.unsubscribe(),o.arrRemove(a,t),c&&f()},f=function(){if(a){var e=new r.Subscription;n.add(e);var i=new t.Subject,o={window:i,subs:e,seen:0};a.push(o),n.next(i.asObservable()),l.executeSchedule(e,h,(function(){return u(o)}),s)}};null!==v&&v>=0?l.executeSchedule(n,h,f,v,!0):c=!0,f();var d=function(t){return a.slice().forEach(t)},b=function(t){d((function(e){return t(e.window)})),t(n),n.unsubscribe()};return e.subscribe(i.createOperatorSubscriber(n,(function(t){d((function(e){e.window.next(t),p<=++e.seen&&u(e)}))}),(function(){return b((function(t){return t.complete()}))}),(function(t){return b((function(e){return e.error(t)}))}))),function(){a=null}}))},yf}();Object.defineProperty(t,"windowTime",{enumerable:!0,get:function(){return pr.windowTime}});var xr=function(){if(af)return xf;af=1;var t=xf&&xf.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(xf,"__esModule",{value:!0}),xf.windowToggle=void 0;var e=Ir(),r=Te(),n=fr(),i=mi(),o=br(),a=De(),l=Se();return xf.windowToggle=function(s,c){return n.operate((function(n,u){var f=[],d=function(t){for(;0<f.length;)f.shift().error(t);u.error(t)};i.innerFrom(s).subscribe(o.createOperatorSubscriber(u,(function(t){var n=new e.Subject;f.push(n);var s,h=new r.Subscription;try{s=i.innerFrom(c(t))}catch(t){return void d(t)}u.next(n.asObservable()),h.add(s.subscribe(o.createOperatorSubscriber(u,(function(){l.arrRemove(f,n),n.complete(),h.unsubscribe()}),a.noop,d)))}),a.noop)),n.subscribe(o.createOperatorSubscriber(u,(function(e){var r,n,i=f.slice();try{for(var o=t(i),a=o.next();!a.done;a=o.next())a.value.next(e)}catch(t){r={error:t}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}}),(function(){for(;0<f.length;)f.shift().complete();u.complete()}),d,(function(){for(;0<f.length;)f.shift().unsubscribe()})))}))},xf}();Object.defineProperty(t,"windowToggle",{enumerable:!0,get:function(){return xr.windowToggle}});var Or=function(){if(lf)return wf;lf=1,Object.defineProperty(wf,"__esModule",{value:!0}),wf.windowWhen=void 0;var t=Ir(),e=fr(),r=br(),n=mi();return wf.windowWhen=function(i){return e.operate((function(e,o){var a,l,s=function(t){a.error(t),o.error(t)},c=function(){var e;null==l||l.unsubscribe(),null==a||a.complete(),a=new t.Subject,o.next(a.asObservable());try{e=n.innerFrom(i())}catch(t){return void s(t)}e.subscribe(l=r.createOperatorSubscriber(o,c,c,s))};c(),e.subscribe(r.createOperatorSubscriber(o,(function(t){return a.next(t)}),(function(){a.complete(),o.complete()}),s,(function(){null==l||l.unsubscribe(),a=null})))}))},wf}();Object.defineProperty(t,"windowWhen",{enumerable:!0,get:function(){return Or.windowWhen}});var Cr=function(){if(sf)return jf;sf=1;var t=jf&&jf.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,i,o=r.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(t){i={error:t}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},e=jf&&jf.__spreadArray||function(t,e){for(var r=0,n=e.length,i=t.length;r<n;r++,i++)t[i]=e[r];return t};Object.defineProperty(jf,"__esModule",{value:!0}),jf.withLatestFrom=void 0;var r=fr(),n=br(),i=mi(),o=ir(),a=De(),l=Dn();return jf.withLatestFrom=function(){for(var s=[],c=0;c<arguments.length;c++)s[c]=arguments[c];var u=l.popResultSelector(s);return r.operate((function(r,l){for(var c=s.length,f=new Array(c),d=s.map((function(){return!1})),h=!1,v=function(t){i.innerFrom(s[t]).subscribe(n.createOperatorSubscriber(l,(function(e){f[t]=e,h||d[t]||(d[t]=!0,(h=d.every(o.identity))&&(d=null))}),a.noop))},p=0;p<c;p++)v(p);r.subscribe(n.createOperatorSubscriber(l,(function(r){if(h){var n=e([r],t(f));l.next(u?u.apply(void 0,e([],t(n))):n)}})))}))},jf}();Object.defineProperty(t,"withLatestFrom",{enumerable:!0,get:function(){return Cr.withLatestFrom}});var Mr=function(){if(cf)return _f;cf=1,Object.defineProperty(_f,"__esModule",{value:!0}),_f.zipAll=void 0;var t=nl(),e=Rl();return _f.zipAll=function(r){return e.joinAllInternals(t.zip,r)},_f}();Object.defineProperty(t,"zipAll",{enumerable:!0,get:function(){return Mr.zipAll}});var zr=function(){if(ff)return Of;ff=1;var t=Of&&Of.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,i,o=r.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(t){i={error:t}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},e=Of&&Of.__spreadArray||function(t,e){for(var r=0,n=e.length,i=t.length;r<n;r++,i++)t[i]=e[r];return t};Object.defineProperty(Of,"__esModule",{value:!0}),Of.zipWith=void 0;var r=function(){if(uf)return kf;uf=1;var t=kf&&kf.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,i,o=r.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(t){i={error:t}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},e=kf&&kf.__spreadArray||function(t,e){for(var r=0,n=e.length,i=t.length;r<n;r++,i++)t[i]=e[r];return t};Object.defineProperty(kf,"__esModule",{value:!0}),kf.zip=void 0;var r=nl(),n=fr();return kf.zip=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];return n.operate((function(n,o){r.zip.apply(void 0,e([n],t(i))).subscribe(o)}))},kf}();return Of.zipWith=function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];return r.zip.apply(void 0,e([],t(n)))},Of}();Object.defineProperty(t,"zipWith",{enumerable:!0,get:function(){return zr.zipWith}})}(ve)),ve}var Mf=Cf();const zf=g.flow((t=>`Bearer ${t}`),(t=>new Headers({Authorization:t,"Content-Type":"application/json"})),(t=>({headers:t}))),Sf=(Tf=C,function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var r=t.length,n=Ft(r),i=Tf.map(t[0],n),o=1;o<r;o++)i=Tf.ap(i,t[o]);return i});var Tf;const If=(t,e={},r)=>x(Sf(O(r),k),_,w(j(t,e))),Ef=t=>e=>r=>If("similar-products",Object.assign(Object.assign({},e),{body:JSON.stringify(t)}),r),Af=t=>e=>r=>If("cross-selling",Object.assign(Object.assign({},e),{body:JSON.stringify(t)}),r);var Lf=function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(t);i<n.length;i++)e.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(t,n[i])&&(r[n[i]]=t[n[i]])}return r};const Wf=class{constructor(t){e(this,t),this.vviinnWidgetLoad=r(this,"vviinnWidgetLoad"),this.vviinnProductLoad=r(this,"vviinnProductLoad"),this.vviinnProductView=r(this,"vviinnProductView"),this.vviinnProductClick=r(this,"vviinnProductClick"),this.vviinnResultLoad=r(this,"vviinnResultLoad"),this.vviinnResultView=r(this,"vviinnResultView"),this.vviinnNoResult=r(this,"vviinnNoResult"),this.vviinnAddToBasket=r(this,"vviinnAddToBasket"),this.vviinnFiltersChanged=r(this,"vviinnFiltersChanged"),this.globalSlotsChanged=r(this,"globalSlotsChanged"),this.vviinnRecommendationsLoaded=r(this,"vviinnRecommendationsLoaded"),this.vviinnWidgetOpen=r(this,"vviinnWidgetOpen"),this.vviinnWidgetClose=r(this,"vviinnWidgetClose"),this.vviinnOneClickDiscoveryAppendClosed=r(this,"vviinnOneClickDiscoveryAppendClosed"),this.sourceProductReceived=r(this,"sourceProductReceived"),this.mode="continuity",this.campaigns="",this.excluded="",this.campaignType="set"===this.mode?"VCS":"VPR",this.color="",this.imageWidth=ot,this.imageResolutionWidth=at,this.showMultipleImages=!1,this.setItemsAmount=4,this.cssUrl=null,this.noResultText="",this.noResultShow=!0,this.gridArrowsDynamic=!1,this.productDetailsNewTab=!1,this.productDetailsRedirect=!0,this.addToBasketShow=!1,this.showFilters=!1,this.showExtendedFilters=!1,this.setModeDiscounts="set"===this.mode?"5, 10, 15":"",this.updateButtonLocation="topAndItem",this.addPriceContainer=!1,this.favoriteShow=!1,this.showScroll=!0,this.useCarousel=!0,this.showingInButton=!1,this.isAppended=!1,this.showInWidget=!1,this.recommendationsLoading=!1,this.recommendations=[],this.dynamicFilters=[],this.sourceProduct=null,this.hasErrorOnLoad=!1,this.updatingAllCards=!1,this.updatedCardsAmount=0,this.setModeDiscountsArray=[],this.productImageLoadedSubject=new Mf.Subject,this.resultViewed=!1,this.requestDynamicFilters=[],this.setLoading=t=>{var e;this.recommendationsLoading=t,null===(e=this.setRecommendationsLoading)||void 0===e||e.call(this,t)},this.showNoResultText=()=>!this.recommendationsLoading&&(0===this.recommendations.length||this.hasErrorOnLoad),this.productCardEventDataToEventBody=t=>{const{productRank:e,productId:r}=t,n=Lf(t,["productRank","productId","campaignTypeId","discount"]);return Object.assign({session_id:this.uiSessionId,rank:e,product:r},n)}}trackIfNotAppended(t){if(!this.isAppended)return t()}trackProductEventIfNotAppended(t,e){this.trackIfNotAppended((()=>{const r=this.getProductTrackEvent(t,e);r&&I(r,this.token,this.apiPath)}))}getTrackingCampaignType(){return"VCS"===this.campaignType?"VPC":"VPR"}getBasicEventData(){return Object.assign({campaignTypeId:this.campaignType,campaignTypeName:l[this.campaignType],widgetVersion:v},s("widgetId",this.id))}findProductById(t){return this.recommendations.find((e=>e.productId===t))}replaceSlotsContent(){const t=this.el.querySelectorAll("[slot]");this.globalSlotsChanged.emit({slots:Array.from(t),element:this.el})}handleProductIdChange(){this.getRecommendations()}handleCampaignTypeChange(){this.trackingCampaignType=this.getTrackingCampaignType(),this.getRecommendations()}handleCampaignsChange(){this.getRecommendations()}trackWidgetOpen(){this.opened&&(this.vviinnWidgetOpen.emit(this.getBasicEventData()),this.trackWidgetEvent("open"))}trackWidgetClose(){this.closed&&(this.vviinnOneClickDiscoveryAppendClosed.emit({isTriggeredByVpsWidget:this.showInWidget}),this.vviinnWidgetClose.emit(this.getBasicEventData()),this.trackWidgetEvent("close"))}componentDidRender(){this.showingInButton&&this.closed||this.replaceSlotsContent()}connectedCallback(){var t;this.id=null!==(t=this.buttonElementId)&&void 0!==t?t:this.el.id,this.uiSessionId||(this.uiSessionId=G()),this.trackingCampaignType=this.getTrackingCampaignType(),this.getRecommendations(),this.vviinnWidgetLoad.emit(this.getBasicEventData()),this.trackWidgetEvent("load"),this.isSetMode="set"===this.mode,this.isGridMode="grid"===this.mode,this.isSetMode&&this.setModeDiscounts.length&&(this.setModeDiscountsArray=this.setModeDiscounts.split(",").map((t=>parseInt(t.trim()))).filter((t=>!isNaN(t))))}async componentWillLoad(){await ht(this.locale),st(this,this.el)}trackProductLoad({detail:t}){this.productImageLoadedSubject.next(t.productId),this.trackProductEventIfNotAppended(t,"load")}trackProductView({detail:t}){this.resultViewed||(this.resultViewed=!0,this.vviinnResultView.emit(this.getBasicEventData()),this.trackResultEvent("view")),this.trackProductEventIfNotAppended(t,"view")}async trackProductClick({detail:t}){const{productId:e,clickEvent:r}=t,n=this.findProductById(e);n&&n.deeplink&&(await this.trackIfNotAppended((async()=>{const e=this.getProductTrackEvent(t,"click");await I(e,this.token,this.apiPath).finally((()=>{kt(n.deeplink,r,this.productDetailsRedirect,this.productDetailsNewTab)}))})),this.isAppended&&kt(n.deeplink,r,this.productDetailsRedirect,this.productDetailsNewTab))}async trackAuxClick({detail:t}){const{productId:e}=t,r=this.findProductById(e);r&&r.deeplink&&this.trackProductEventIfNotAppended(t,"click")}async trackAddToBasket({detail:t}){this.trackProductEventIfNotAppended(t,"basket")}async trackAddToWishlist({detail:t}){this.trackProductEventIfNotAppended(t,"wishlist")}updatingAllCardsFinishedListener(){this.updatingAllCards&&(this.updatingAllCards=!1)}async filtersChanged({detail:t}){this.requestDynamicFilters=t.filters,this.getRecommendations()}trackWidgetEvent(t){const e=this.getBasicEventData(),r=Lf(e,["campaignTypeId"]),n=Object.assign({action:t,session_id:this.uiSessionId},r),i=Q(this.trackingCampaignType)(n);I(i,this.token,this.apiPath)}trackResultEvent(t){const e=this.getBasicEventData(),r=Lf(e,["campaignTypeId"]),n=Object.assign({session_id:this.uiSessionId},r),i=tt(t,this.trackingCampaignType)(n);I(i,this.token,this.apiPath)}getProductTrackEvent(t,e){if(!E())return null;"basket"===e&&delete t.discount;const r=this.productCardEventDataToEventBody(t);if(!t.campaignTypeId)return null;const n=this.trackingCampaignType;return"basket"===e||"wishlist"===e?("basket"===e?et:rt)(n)(r):nt(e,n)(r)}async getRecommendations(){if(void 0===this.productId||void 0===this.token)return;this.setLoading(!0);const t=this.campaignType.length>0?this.campaignType:"VPR",e=zf(this.token),r=it({productId:this.productId,color:this.color,excluded:this.excluded,campaigns:this.campaigns,dynamicFilters:this.requestDynamicFilters}),n=g.pipe(M.of((t=>g.pipe(d(t),h((()=>Ef),(()=>Af))))(t)),M.ap(M.of(r)),M.ap(M.of(e)),M.ap(M.of(this.apiPath)),M.flatten);g.pipe(await n(),z.fold((t=>{this.handleError(t),this.vviinnNoResult.emit(this.getBasicEventData()),this.vviinnRecommendationsLoaded.emit(),this.setLoading(!1)}),(t=>{this.handleRecommendationsSuccess(t),this.vviinnRecommendationsLoaded.emit(),this.setLoading(!1)})))}handleError(t){this.hasErrorOnLoad=!0}handleRecommendationsSuccess({data:t,interactions:e}){this.vviinnResultLoad.emit(this.getBasicEventData()),this.trackResultEvent("load"),this.dynamicFilters=e.dynamicFilters;const{products:r,sourceProduct:n}=t;this.recommendations=r,this.sourceProduct=n,this.sourceProductReceived.emit(n),this.productIds=this.recommendations.map((t=>t.productId)),this.productImageLoadedSubject.subscribe((t=>{this.productIds=this.productIds.filter((e=>e!==t)),this.isSetMode||0!==this.productIds.length||this.vviinnRecommendationsLoaded.emit(),this.isSetMode&&this.productIds.length===this.recommendations.length-this.setItemsAmount&&this.vviinnRecommendationsLoaded.emit()}))}renderRecommendation(e,r){var n,i,o,a,l;return t("vviinn-product-card",{currencySign:this.currencySign,pricePrefix:this.pricePrefix,locale:this.locale,numberLocale:this.numberLocale,productId:e.productId,product:e,productTitle:e.title,productType:e.productType,entityType:e.entityType,deeplink:e.deeplink,image:null!==(i=null===(n=e.image)||void 0===n?void 0:n.thumbnail)&&void 0!==i?i:null===(o=e.image)||void 0===o?void 0:o.original,images:e.images,showMultipleImages:this.showMultipleImages,disableMobileSwiper:!0,imageResolutionWidth:this.imageResolutionWidth,brand:e.brand,imageWidth:this.imageWidth,price:e.price.actual,salePrice:e.price.sale,basePrice:null===(a=e.basePrice)||void 0===a?void 0:a.actual,baseSalePrice:null===(l=e.basePrice)||void 0===l?void 0:l.sale,energyCertifications:e.energyCertifications,addPriceContainer:this.addPriceContainer,responsive:this.isGridMode,addToBasketShow:this.addToBasketShow,campaignTypeId:this.campaignType,index:r,widgetElementId:this.id,widgetVersion:v,isSetMode:this.isSetMode,customLabels:B(e),favoriteShow:this.favoriteShow})}renderResults(){const e=getComputedStyle(this.el),r=parseInt(e.getPropertyValue(V)),n=this.recommendationsLoading;return t("div",{class:`recommendations-results recommendations-${this.mode}`,part:"recommendations-results","aria-busy":n?"true":"false","aria-live":n?"polite":"off"},n?Array.from({length:3*r}).map(((e,r)=>t("vviinn-product-card",{loading:!0,responsive:!0,productTitle:"",productId:`skeleton-${r}`,key:`skeleton-${r}`}))):this.recommendations.map(((t,e)=>this.renderRecommendation(t,e))))}renderCarousel(){return t("vviinn-carousel",{currencySign:this.currencySign,pricePrefix:this.pricePrefix,locale:this.locale,numberLocale:this.numberLocale,mode:this.mode,campaignTypeId:this.campaignType,imageWidth:this.imageWidth,showScroll:this.showScroll,recommendations:this.recommendations,sourceProduct:this.sourceProduct,widgetElementId:this.id,widgetVersion:v,gridArrowsDynamic:this.gridArrowsDynamic,addToBasketShow:this.addToBasketShow,addPriceContainer:this.addPriceContainer,updatingAllCards:this.updatingAllCards,updateButtonLocation:this.updateButtonLocation,replaceSlotsContent:this.replaceSlotsContent.bind(this),setModeDiscountsArray:this.setModeDiscountsArray,imageResolutionWidth:this.imageResolutionWidth,showMultipleImages:this.showMultipleImages,favoriteShow:this.favoriteShow,setItemsAmount:this.setItemsAmount,loading:this.recommendationsLoading,isAppended:this.isAppended,hasErrorOnLoad:this.hasErrorOnLoad,showInWidget:this.showInWidget})}render(){var e;if(0===this.recommendations.length&&!1===this.noResultShow)return null;const r=this.recommendationsLoading;return t(o,{class:{loaded:!0,empty:0==this.recommendations.length,[this.mode]:!0,"show-in-widget":this.showInWidget},role:"region","aria-label":this.showingInButton?void 0:S.t("a11y.recommendations"),"aria-busy":r?"true":"false","aria-live":r?"polite":"off"},t(i,null,Ot(this.cssUrl),ft("discovery"),(this.isSetMode||""!==this.blockTitle||!!this.blockSubtitle)&&t("div",{class:"widget-header"},t("div",null,""!==this.blockTitle&&t("h2",{part:"recommendations-title"},t("slot",{name:"vviinn-recommendations-title"},null!==(e=this.blockTitle)&&void 0!==e?e:S.t(this.isSetMode?"setMode.widgetTitle":"discoveryWidgetTitle"))),(this.isSetMode||!!this.blockSubtitle)&&t("h3",{part:"recommendations-subtitle"},t("slot",{name:"vviinn-recommendations-subtitle"},this.blockSubtitle||(this.isSetMode?S.t("setMode.widgetSubtitle"):"")))),this.isSetMode&&"onItem"!==this.updateButtonLocation&&this.recommendations.length>0?t("button",{class:"update-button",part:"update-button-top",onClick:()=>this.updatingAllCards=!0},t("slot",{name:"vviinn-update-button-icon"},t(It,null)),t("slot",{name:"vviinn-update-button-text"},t("span",null,S.t("setMode.updateButtonText")))):null),(this.showFilters||this.showExtendedFilters)&&t("div",{class:"filters-header "},this.showFilters&&t("vviinn-filters",null),this.showExtendedFilters&&t("vviinn-extended-filters",{showingInButton:this.showingInButton,locale:this.locale,currencySign:this.currencySign})),this.useCarousel?this.renderCarousel():this.renderResults(),this.showNoResultText()&&t("div",{class:"no-result-text",role:"status"},this.noResultText.length?this.noResultText:S.t("noResultText"))))}get el(){return a(this)}static get watchers(){return{productId:["handleProductIdChange"],campaignType:["handleCampaignTypeChange"],campaigns:["handleCampaignsChange"],opened:["trackWidgetOpen"],closed:["trackWidgetClose"]}}};Wf.style=":host{--font-family-base:Inter, system-ui, sans-serif;--font-family-mono:monospace;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;--font-size-display:32px;--font-size-title:24px;--font-size-headline:18px;--font-size-label-large:16px;--font-size-label:14px;--font-size-body-large:16px;--font-size-body:14px;--font-size-caption:12px;--line-height-display:40px;--line-height-title:32px;--line-height-headline:24px;--line-height-label-large:24px;--line-height-label:20px;--line-height-body-large:24px;--line-height-body:20px;--line-height-caption:16px;--letter-spacing-title:0px;--letter-spacing-headline:0px;--letter-spacing-label-large:0px;--letter-spacing-label:0px;--letter-spacing-body-large:0px;--letter-spacing-body:0px;--letter-spacing-caption:0px;--font-weight-400:400;--font-weight-500:500;--font-weight-600:600;--font-weight-700:700;--spacing-none:0px;--spacing-25:2px;--spacing-50:4px;--spacing-75:6px;--spacing-100:8px;--spacing-125:10px;--spacing-150:12px;--spacing-200:16px;--spacing-250:20px;--spacing-300:24px;--spacing-400:32px;--spacing-500:40px;--spacing-600:48px;--border-radius-none:0px;--border-radius-25:2px;--border-radius-50:4px;--border-radius-100:8px;--border-radius-150:12px;--border-radius-200:16px;--border-radius-300:24px;--border-radius-400:32px;--border-radius-full:9999px;--stroke-width-none:0px;--stroke-width-25:1px;--stroke-width-50:2px;--stroke-width-75:3px;--stroke-width-100:4px;--stroke-width-150:6px;--stroke-width-200:8px;--stroke-width-300:12px;--product-card-widget-min-width:135px;--product-card-results-min-width:250px;--image-set-mode-min-width:155px;--source-card-set-mode-max-width:500px;--filter-blur-none:0px;--filter-blur-100:8px;--filter-blur-150:12px;--filter-blur-200:16px;--color-bg-base:#ffffff;--color-bg-inverse:#161616;--color-border-00:#ffffff;--color-border-01:#f4f4f4;--color-border-02:#e0e0e0;--color-border-03:#c6c6c6;--color-border-inverse-00:#161616;--color-border-inverse-01:#393939;--color-field-01:#ffffff;--color-field-02:#f4f4f4;--color-icon-primary:#161616;--color-icon-secondary:#525252;--color-icon-helper:#8d8d8d;--color-icon-on-color:#ffffff;--color-icon-inverse:#ffffff;--color-icon-disabled:#16161640;--color-text-primary:#161616;--color-text-secondary:#707070;--color-text-helper:#8d8d8d;--color-text-placeholder:#a8a8a8;--color-text-on-color:#ffffff;--color-text-inverse:#ffffff;--color-text-disabled:#16161640;--button-bg-color-primary:#000000;--button-bg-color-primary-hover:#161616;--button-bg-color-primary-active:#1e1e1e;--button-bg-color-secondary:#f4f4f4;--button-bg-color-secondary-hover:#e0e0e0;--button-bg-color-secondary-active:#c6c6c6;--button-bg-color-ghost-hover:#f4f4f4;--button-bg-color-ghost-active:#eaeaea;--button-bg-color-frosted:#6f6f6f66;--button-bg-color-frosted-hover:#6f6f6f80;--button-bg-color-frosted-active:#6f6f6f99;--button-bg-color-disabled:#e0e0e0;--button-bg-color-positive:#dcfce7;--surface-bg-color-01:#f4f4f4;--surface-bg-color-01-hover:#eaeaea;--surface-bg-color-01-active:#e0e0e0;--surface-bg-color-02:#ffffff;--surface-bg-color-inverse:#262626;--surface-bg-color-inverse-hover:#303030;--surface-bg-color-inverse-active:#393939;--surface-bg-color-disabled:#e0e0e0;--surface-bg-color-shadow-01:#dddddd;--surface-bg-color-shadow-02:#c6c6c6;--chip-bg-color-primary:#161616;--chip-bg-color-primary-hover:#1e1e1e;--chip-bg-color-primary-active:#262626;--chip-bg-color-subtle:#f4f4f4;--chip-bg-color-subtle-hover:#eaeaea;--chip-bg-color-subtle-active:#e0e0e0;--chip-bg-color-outline-hover:#f4f4f4;--chip-bg-color-outline-active:#eaeaea;--label-bg-color-accent:#ff3944;--sidebar-animation-duration-default:0.5s;--search-modal-animation-duration-default:0.25s;--search-modal-animation-duration-mobile-default:0.35s;}.visually-hidden{clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}:host{display:grid;grid-gap:var(--spacing-200);width:100%}:host(:not(.loaded)){position:absolute;visibility:hidden}:host(.set){grid-gap:var(--spacing-300)}:host(.set) vviinn-carousel{overflow-x:auto;scrollbar-width:thin}:host(.set) vviinn-product-card::part(content-container){width:var(--vviinn-set-mode-image-width, 100%)}:host(.grid) h2{justify-content:center}.filters-header{display:flex;justify-content:space-between;gap:14px}.filters-header>vviinn-extended-filters{width:44px;height:44px}@media (max-width: 768px){.filters-header>vviinn-filters{flex:1;width:100px}}.widget-header{display:flex;flex-wrap:wrap;gap:20px;justify-content:space-between;align-items:center}.widget-header h3{margin-top:8px;margin-bottom:0;font-size:14px;font-weight:400;line-height:20px}.widget-header h2,.widget-header h3{margin:0;font-family:var(--font-family, var(--font-family-base))}.widget-header h2{font-weight:var(--font-weight-600);line-height:var(--line-height-title)}.widget-header h3{line-height:var(--line-height-body);margin-top:var(--spacing-100)}.update-button{display:flex;align-items:center;align-self:flex-end;justify-content:center;font-family:var(--font-family, var(--font-family-base));color:#525252;gap:8px;padding:8px 10px;background:rgb(244, 244, 244);border:none;cursor:pointer}.update-button:hover{background:rgb(234, 234, 234)}.update-button svg{color:#6f6f6f}.results{display:grid;grid-gap:1rem}.no-result-text{line-height:var(--line-height-headline);font-family:var(--font-family, var(--font-family-base));font-size:var(--font-size-headline);padding-bottom:48px}.recommendations-results.recommendations-grid{width:100%;align-content:center;align-items:start;box-sizing:border-box;display:grid;grid-gap:32px 16px;grid-template-columns:repeat(\n auto-fill,\n minmax(\n var(--product-card-width, var(--product-card-results-min-width)),\n 1fr\n )\n );padding-bottom:var(--spacing-300)}@media (max-width: 768px){:host(.show-in-widget) .recommendations-results.recommendations-grid{width:unset;grid-gap:24px 16px;justify-content:center;grid-template-columns:repeat(auto-fill, minmax(155px, 1fr))}}";export{Bt as vviinn_carousel,Nt as vviinn_energy_label,Ht as vviinn_extended_filters,Zt as vviinn_extended_filters_button,qt as vviinn_filters,Ut as vviinn_image,ce as vviinn_product_card,fe as vviinn_range_filter,de as vviinn_skeleton,Wf as vviinn_vpr_widget}