vviinn-widgets 2.166.0 → 2.167.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{index-B9ytLPxZ.js → index-DYvhURIh.js} +12 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{package-cwS3_cup.js → package-CTmKiTyO.js} +1 -1
- package/dist/cjs/vviinn-button_2.cjs.entry.js +2 -2
- package/dist/cjs/vviinn-camera_12.cjs.entry.js +16 -16
- package/dist/cjs/vviinn-carousel_10.cjs.entry.js +77 -32
- package/dist/cjs/vviinn-detected-object_7.cjs.entry.js +7 -7
- package/dist/cjs/vviinn-text-search.cjs.entry.js +3 -3
- package/dist/cjs/vviinn-vps-button.cjs.entry.js +2 -2
- package/dist/cjs/vviinn-widgets.cjs.js +1 -1
- package/dist/collection/Image/renderTitleImage.js +2 -0
- package/dist/collection/components/vviinn-modal/vviinn-modal.js +3 -3
- package/dist/collection/components/vviinn-product-card/render-helpers.js +29 -9
- package/dist/collection/components/vviinn-product-card/vviinn-energy-label/vviinn-energy-label.js +2 -2
- package/dist/collection/components/vviinn-product-card/vviinn-product-card.css +42 -0
- package/dist/collection/components/vviinn-product-card/vviinn-product-card.js +79 -16
- package/dist/collection/components/vviinn-results/vviinn-results.js +3 -3
- package/dist/collection/components/vviinn-skeleton/vviinn-skeleton.js +1 -1
- package/dist/collection/components/vviinn-slider/vviinn-slide/vviinn-slide.js +1 -1
- package/dist/collection/components/vviinn-slider/vviinn-slider.js +1 -1
- package/dist/collection/components/vviinn-teaser/vviinn-teaser.js +1 -1
- package/dist/collection/components/vviinn-text-search/vviinn-text-search.js +2 -2
- package/dist/collection/components/vviinn-vpr-button/recommendations-sidebar/recommendations-sidebar.js +1 -1
- package/dist/collection/components/vviinn-vpr-button/vviinn-vpr-button.js +2 -2
- package/dist/collection/components/vviinn-vpr-widget/vviinn-vpr-widget.css +1 -1
- package/dist/collection/components/vviinn-vps-button/vviinn-vps-button.js +2 -2
- package/dist/collection/components/vviinn-vps-widget/vviinn-vps-widget.js +9 -9
- package/dist/collection/cssParts/index.js +2 -1
- package/dist/collection/cssParts/product.js +10 -0
- package/dist/collection/helpers/url/getLastUrlPath.js +14 -0
- package/dist/collection/helpers/url/getLastUrlPath.test.js +23 -0
- package/dist/collection/store/search.store.js +1 -1
- package/dist/collection/utils/string/joinTruthy.js +3 -0
- package/dist/collection/utils/string/joinTruthy.test.js +17 -0
- package/dist/esm/{index-DJLLuTh-.js → index-CYUAT3RF.js} +12 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{package-BRkye-3Y.js → package-Ds0qJGAs.js} +1 -1
- package/dist/esm/vviinn-button_2.entry.js +2 -2
- package/dist/esm/vviinn-camera_12.entry.js +16 -16
- package/dist/esm/vviinn-carousel_10.entry.js +77 -32
- package/dist/esm/vviinn-detected-object_7.entry.js +7 -7
- package/dist/esm/vviinn-text-search.entry.js +3 -3
- package/dist/esm/vviinn-vps-button.entry.js +2 -2
- package/dist/esm/vviinn-widgets.js +1 -1
- package/dist/types/Image/renderTitleImage.d.ts +1 -0
- package/dist/types/components/vviinn-product-card/render-helpers.d.ts +10 -2
- package/dist/types/components/vviinn-product-card/vviinn-product-card.d.ts +8 -1
- package/dist/types/components.d.ts +24 -0
- package/dist/types/cssParts/index.d.ts +1 -0
- package/dist/types/cssParts/product.d.ts +1 -0
- package/dist/types/helpers/url/getLastUrlPath.d.ts +1 -0
- package/dist/types/helpers/url/getLastUrlPath.test.d.ts +1 -0
- package/dist/types/utils/string/joinTruthy.d.ts +1 -0
- package/dist/types/utils/string/joinTruthy.test.d.ts +1 -0
- package/dist/vviinn-widgets/p-08c03082.entry.js +1 -0
- package/{www/build/p-f97aa42e.entry.js → dist/vviinn-widgets/p-177e130c.entry.js} +1 -1
- package/dist/vviinn-widgets/{p-d06c3d98.entry.js → p-53347933.entry.js} +1 -1
- package/dist/vviinn-widgets/{p-e70adb2f.entry.js → p-6e0b7760.entry.js} +1 -1
- package/dist/vviinn-widgets/{p-464d7e0c.entry.js → p-7d12f926.entry.js} +1 -1
- package/dist/vviinn-widgets/{p-DJLLuTh-.js → p-CYUAT3RF.js} +1 -1
- package/dist/vviinn-widgets/{p-BRkye-3Y.js → p-Ds0qJGAs.js} +1 -1
- package/dist/vviinn-widgets/{p-f4a75f92.entry.js → p-bb74e1b1.entry.js} +2 -2
- package/dist/vviinn-widgets/vviinn-widgets.esm.js +1 -1
- package/package.json +1 -1
- package/www/build/p-08c03082.entry.js +1 -0
- package/{dist/vviinn-widgets/p-f97aa42e.entry.js → www/build/p-177e130c.entry.js} +1 -1
- package/www/build/{p-d06c3d98.entry.js → p-53347933.entry.js} +1 -1
- package/www/build/{p-e70adb2f.entry.js → p-6e0b7760.entry.js} +1 -1
- package/www/build/{p-464d7e0c.entry.js → p-7d12f926.entry.js} +1 -1
- package/www/build/p-9fa69445.js +1 -0
- package/www/build/{p-DJLLuTh-.js → p-CYUAT3RF.js} +1 -1
- package/www/build/{p-BRkye-3Y.js → p-Ds0qJGAs.js} +1 -1
- package/www/build/{p-f4a75f92.entry.js → p-bb74e1b1.entry.js} +2 -2
- package/www/build/vviinn-widgets.esm.js +1 -1
- package/www/index.html +1 -1
- package/dist/collection/Image/renderImage.js +0 -2
- package/dist/collection/helpers/index.js +0 -1
- package/dist/collection/utils/string/index.js +0 -1
- package/dist/types/Image/renderImage.d.ts +0 -1
- package/dist/types/helpers/index.d.ts +0 -1
- package/dist/types/utils/string/index.d.ts +0 -1
- package/dist/vviinn-widgets/p-d6ea882d.entry.js +0 -1
- package/www/build/p-ca47d016.js +0 -1
- package/www/build/p-d6ea882d.entry.js +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{h as t,r as e,c as r,F as n,H as i,g as o}from"./p-BcMtFp89.js";import{o as a,q as c,c as l,_ as u,v as s,g as f,u as d,w as v,O as p,E as b,s as h,x as g,y as m,z as x,A as y,B as w,C as j,D as _,a as O,l as k,T as C}from"./p-HTOQ7YPT.js";import{c as M,f as S,a as z,v as T}from"./p-BRkye-3Y.js";import{C as E,i as I,S as A,j as V,R as P,D as W,g as L,P as F,v as R,b as B,d as N,c as H,e as Z,f as D,k as $}from"./p-B4krhe3H.js";import{P as q,D as U}from"./p-CR1-OmNa.js";import{i as J,a as Y}from"./p-Blhy9XN1.js";import{s as G,S as X}from"./p-etuZ8m3J.js";import{g as K,h as Q,p as tt}from"./p-DJLLuTh-.js";import{i as et,b as rt,g as nt,a as it,R as ot,t as at}from"./p-OgwWvHMd.js";import{r as ct}from"./p-DcA7Zxs5.js";const lt=()=>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"}))),ut=()=>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"}))),st=()=>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"})),ft=()=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},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"})),dt=({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"})),vt=()=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},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"})),pt=()=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},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"})),bt=({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:"white"})),ht=({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"})),gt=()=>t("svg",{width:"80",height:"80",viewBox:"0 0 80 80",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t("path",{d:"M16.6667 13.3334V33.4167V33.3334V66.6667V13.3334ZM26.6667 46.6667H33.3333C34.2778 46.6667 35.0694 46.3473 35.7083 45.7084C36.3472 45.0695 36.6667 44.2779 36.6667 43.3334C36.6667 42.389 36.3472 41.5973 35.7083 40.9584C35.0694 40.3195 34.2778 40.0001 33.3333 40.0001H26.6667C25.7222 40.0001 24.9306 40.3195 24.2917 40.9584C23.6528 41.5973 23.3333 42.389 23.3333 43.3334C23.3333 44.2779 23.6528 45.0695 24.2917 45.7084C24.9306 46.3473 25.7222 46.6667 26.6667 46.6667ZM26.6667 60.0001H30C30.9444 60.0001 31.7361 59.6806 32.375 59.0417C33.0139 58.4029 33.3333 57.6112 33.3333 56.6667C33.3333 55.7223 33.0139 54.9306 32.375 54.2917C31.7361 53.6529 30.9444 53.3334 30 53.3334H26.6667C25.7222 53.3334 24.9306 53.6529 24.2917 54.2917C23.6528 54.9306 23.3333 55.7223 23.3333 56.6667C23.3333 57.6112 23.6528 58.4029 24.2917 59.0417C24.9306 59.6806 25.7222 60.0001 26.6667 60.0001ZM16.6667 73.3334C14.8333 73.3334 13.2639 72.6806 11.9583 71.3751C10.6528 70.0695 10 68.5001 10 66.6667V13.3334C10 11.5001 10.6528 9.93064 11.9583 8.62508C13.2639 7.31953 14.8333 6.66675 16.6667 6.66675H40.5833C41.4722 6.66675 42.3194 6.83341 43.125 7.16675C43.9306 7.50008 44.6389 7.9723 45.25 8.58341L61.4167 24.7501C62.0278 25.3612 62.5 26.0695 62.8333 26.8751C63.1667 27.6806 63.3333 28.5279 63.3333 29.4167V31.7501C63.3333 32.6945 63.0139 33.4723 62.375 34.0834C61.7361 34.6945 60.9444 35.0001 60 35.0001C59.0556 35.0001 58.2639 34.6806 57.625 34.0417C56.9861 33.4029 56.6667 32.6112 56.6667 31.6667V30.0001H43.3333C42.3889 30.0001 41.5972 29.6806 40.9583 29.0417C40.3194 28.4029 40 27.6112 40 26.6667V13.3334H16.6667V66.6667H35C35.9444 66.6667 36.7361 66.9862 37.375 67.6251C38.0139 68.264 38.3333 69.0556 38.3333 70.0001C38.3333 70.9445 38.0139 71.7362 37.375 72.3751C36.7361 73.014 35.9444 73.3334 35 73.3334H16.6667ZM55 63.3334C57.3333 63.3334 59.3056 62.5279 60.9167 60.9167C62.5278 59.3056 63.3333 57.3334 63.3333 55.0001C63.3333 52.6667 62.5278 50.6945 60.9167 49.0834C59.3056 47.4723 57.3333 46.6667 55 46.6667C52.6667 46.6667 50.6944 47.4723 49.0833 49.0834C47.4722 50.6945 46.6667 52.6667 46.6667 55.0001C46.6667 57.3334 47.4722 59.3056 49.0833 60.9167C50.6944 62.5279 52.6667 63.3334 55 63.3334ZM74.3333 74.3334C73.7222 74.9445 72.9444 75.2501 72 75.2501C71.0556 75.2501 70.2778 74.9445 69.6667 74.3334L63 67.6668C61.8333 68.4445 60.5694 69.0279 59.2083 69.4167C57.8472 69.8056 56.4444 70.0001 55 70.0001C50.8333 70.0001 47.2917 68.5417 44.375 65.6251C41.4583 62.7084 40 59.1667 40 55.0001C40 50.8334 41.4583 47.2917 44.375 44.3751C47.2917 41.4584 50.8333 40.0001 55 40.0001C59.1667 40.0001 62.7083 41.4584 65.625 44.3751C68.5417 47.2917 70 50.8334 70 55.0001C70 56.4445 69.8056 57.8473 69.4167 59.2084C69.0278 60.5695 68.4444 61.8334 67.6667 63.0001L74.3333 69.6667C74.9445 70.2779 75.25 71.0556 75.25 72.0001C75.25 72.9445 74.9445 73.7223 74.3333 74.3334Z",fill:"#A1A1A1"}));Object.assign(Object.assign({},{concat:(t,e)=>t/e}),{empty:1});const mt=(t,e)=>Math.floor(Math.random()*(e-t+1))+t;function xt(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):xt(t,e-1,i)}}var yt={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 wt(t){return a.call(yt,t)||(yt[t]=xt(c,t-1,[])),yt[t]}const jt=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.isRTL=!1,this.crossSellingRecommendations=[],this.setModeDiscount=null,this.currentDiscountIndex=0,this.setModeAppliedDiscounts={},this.columns=0,this.showContent=!1,this.mode="continuity",this.imageWidth=q,this.showScroll=!0,this.recommendations=[],this.imageRatio=1,this.addPriceContainer=!1,this.setItemsAmount=4,this.isAppended=!1,this.loading=!1,this.hasErrorOnLoad=!1,this.showInWidget=!1,this.imageResolutionWidth=U,this.resizeObserver=new ResizeObserver((()=>{this.handleResize(),this.setImageWidthSetMode("100%")})),this.defaultAnimationInterval=2e3,this.setModeMaxDiscount=null,this.mutationObserver=new MutationObserver((()=>this.cloneSlottedContent())),this.isLastGroup=()=>this.isGridMode&&this.activeContentGroup===this.getContentGroups().length-1,this.isFirstGroup=()=>this.isGridMode&&0===this.activeContentGroup,this.isEmptyResults=()=>this.hasErrorOnLoad||0===this.recommendations.length&&!this.loading,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 c=this.getProductData(n,o+e);this.vviinnProductLoad.emit(c),this.crossSellingRecommendations=[...a];let l=this.el.querySelector(`[data-id="${t}"]`);const u=l.shadowRoot.querySelector(".update-button");null==u||u.classList.add("hidden");const s=l.getBoundingClientRect().width;this.setImageWidthSetMode(`${s}px`);const f=setTimeout((()=>{o+2*e<=this.recommendations.length-1&&(null==u||u.classList.remove("hidden")),this.vviinnProductView.emit(c),clearTimeout(f)}),r)}},this.renderRecommendationGroups=e=>e.map((e=>t("div",{class:E,part:E},e)))}getProductData(t,e){return Object.assign({productId:t.productId,productRank:e,productName:t.productTitle,productType:t.productType,campaignTypeId:this.campaignTypeId,campaignTypeName:M[this.campaignTypeId],widgetVersion:this.widgetVersion},l("widgetId",this.widgetElementId))}connectedCallback(){this.setItemWidth(),this.isSetMode="set"===this.mode,this.isGridMode="grid"===this.mode,this.isContinuityMode="continuity"===this.mode}disconnectedCallback(){this.resizeObserver.disconnect()}componentDidUpdate(){this.replaceSlotsContent()}componentWillLoad(){this.isRTL="rtl"===document.dir,this.updateColumnsNumber()}componentDidLoad(){this.setWidth();const t=this.el.querySelector(".content");this.mutationObserver.observe(t,{subtree:!0,childList:!0}),this.resizeObserver.observe(this.getHostParent()),this.isGridMode&&this.getContentNode().addEventListener("scrollend",(()=>{this.activeContentGroup=this.getActiveGroupIndex()}))}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)))}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(I))}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(I,`${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()}calculateMoveStep(){const t=this.getContent().filter((t=>!t.matches("button"))).map((t=>t.getBoundingClientRect().width)),e=t.reduce(((t,e)=>t+e),0),r=u.pipe(window.getComputedStyle(this.getContentNode()),(t=>t.getPropertyValue("gap")),(t=>parseInt(t.split("px")[0])),(t=>isNaN(t)?0:t));return e/t.length+r}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(V,`${r}px`)}getParent(){return this.el.parentNode.host.parentElement}cloneSlottedContent(){this.setWidth()}getActiveGroupIndex(){const t=this.getContentGroups().map((t=>t.getBoundingClientRect().left)).map(((t,e)=>[t,e])).filter((t=>t[0]>=0));return t.length>0?this.isRTL?t[t.length-1][1]:t[0][1]:0}getContentNode(){return this.el.querySelector(".content")}getContent(){const t=this.getContentNode().children;return Array.from(t).map((t=>t))}updateColumnsNumber(){if(this.isSetMode)return void(this.columns=this.setItemsAmount);const t=getComputedStyle(this.el),e=parseInt(t.getPropertyValue(P));this.columns=!e||isNaN(e)?W:e}getContentGroups(){return Array.from(this.el.querySelectorAll(`.${E}`))}handleCarouselButtonClick(t){this.moveDirection=t;const e=this.getContentNode(),{scrollLeft:r}=e,n=this.calculateMoveStep();requestAnimationFrame((()=>{e.scrollTo({top:0,left:"right"===t?r+n:r-n,behavior:"smooth"})}))}scroll(t){const e=this.getContentNode();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;const a=this.setModeAppliedDiscounts[e.productId],c=(l=null===(n=e.price)||void 0===n?void 0:n.actual,Math.round(l*(1-(null!=a?a:this.setModeDiscount)/100)*100)/100);var l;return t("vviinn-product-card",{index:r,productId:e.productId,productTitle:e.title,productType:e.productType,deeplink:e.deeplink,image:e.image.thumbnail,brand:e.brand,imageWidth:this.imageWidth,imageRatio:this.imageRatio,imageResolutionWidth:this.imageResolutionWidth,price:e.price.actual,salePrice:this.isSetMode?c:e.price.sale,basePrice:null===(i=e.basePrice)||void 0===i?void 0:i.actual,baseSalePrice:null===(o=e.basePrice)||void 0===o?void 0:o.sale,responsive:this.isGridMode,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:a,currentDiscountPercentage:this.setModeDiscount,currency:this.currencySign,pricePrefix:this.pricePrefix,locale:this.locale,setMode:this.isSetMode,customLabels:L(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:E,class:{[E]:!0}},Array.from({length:this.columns}).map(((e,r)=>t("vviinn-product-card-skeleton",{imageRatio:this.imageRatio,key:`skeleton-${r}`}))))}renderSliderContent(){const t=this.renderRecommendationsElements(),e=s.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.activeContentGroup===e},onClick:()=>this.scroll(e)})))}render(){var e,r;return t(i,{key:"8ad6ec05833c3ea14ba6916052065070c0acd21e",class:this.getClassMap()},t("div",{key:"d111fbe8f32299cfaef137f48f25d60b83526210",class:Object.assign(Object.assign({},this.getClassMap()),this.getBodyClassMap())},this.isSetMode&&this.crossSellingRecommendations.length>0&&t("vviinn-product-card",{key:"7e78da219d1855d6d4020c25f21ca238ec4f7435",class:"set-mode product-card--source",productTitle:this.sourceProduct.title,image:this.sourceProduct.image.thumbnail,price:this.sourceProduct.price.actual,salePrice:this.sourceProduct.price.sale,basePrice:null===(e=this.sourceProduct.basePrice)||void 0===e?void 0:e.actual,baseSalePrice:null===(r=this.sourceProduct.basePrice)||void 0===r?void 0:r.sale,addPriceContainer:this.addPriceContainer,imageRatio:1,imageWidth:300,imageResolutionWidth:this.imageResolutionWidth,isSourceProduct:!0,currency:this.currencySign,pricePrefix:this.pricePrefix,setMode:this.isSetMode,locale:this.locale,favoriteShow:this.favoriteShow}),t("div",{key:"3f5d49a65a76819d15190648ff65765059dc19e0",class:this.getContentClassMap()},this.renderRecommendations(),this.showArrowButtons()&&t(n,{key:"e2504231507ec655f4f5489490ec4e719297f8f2"},t("button",{key:"7d07e28506da625361235bbd1ec9ba2f52f8128b",class:"prev",onClick:()=>this.handleCarouselButtonClick("left"),part:"carousel-button",disabled:this.gridArrowsDynamic&&this.isFirstGroup()},t(st,{key:"fb4d9381f9d211d110b0a26e375a2a8e74fa1b7e"})),t("button",{key:"28901d9b7da8e434671bc01df51da9d94b51705c",class:"next",onClick:()=>this.handleCarouselButtonClick("right"),part:"carousel-button",disabled:this.gridArrowsDynamic&&this.isLastGroup()},t(st,{key:"01c1233b093e618d56b49b7cac85be6e11c2438c"}))))),this.showBullets()&&t("div",{key:"c023cf04d6fc2fce3c513be6a1e1a7e60f47e1c5",class:"bullets"},this.renderBullets()))}get el(){return o(this)}static get watchers(){return{recommendations:["recommendationsWatcher"],updatingAllCards:["updatingAllCardsWatcher"],loading:["onLoadingChange"]}}};jt.style=":host{--vviinn-carousel-columns-internal:var(--vviinn-carousel-columns, 4)}.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) + 16px)}.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}.next:disabled,.prev: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-internal), 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 _t=class{constructor(t){e(this,t),this.iconDirection="right"}componentWillLoad(){G(this,this.el)}render(){return t(i,{key:"c9ca5e5f0a76e5497c7ecfa420dec094373feaa7",class:{hidden:!this.classIconUrls&&!this.productType&&!this.classDataSheetUrl},exportparts:K},t("div",{key:"d7312425ece39ffe6fc8f37680c8e07c45fef845",class:"container",part:"energy-label-container"},!!this.classIconUrls&&t("img",{key:"133182a1aa678209825f9c2208fbeefe884121ec",class:"class-label-icon",part:"energy-label-icon",src:this.classIconUrls[this.iconDirection]}),(this.productType||this.classDataSheetUrl)&&t("div",{key:"c46674ea4ccf0fb286f6547211757403f3a6a738",class:"info-container"},this.productType&&t("span",{key:"c9f08b56673c60f45fcbebaae5c3316045202572",class:"product-type",part:"energy-label-product-type"},this.productType),this.classDataSheetUrl&&t("a",{key:"7813f860d0d75f90d40ec47ba98ceb8559ad7ba4",class:"data-sheet-link",part:"energy-label-data-sheet-link",href:this.classDataSheetUrl,target:"_blank",rel:"noopener noreferrer"},t("slot",{key:"004bde63524de975899fc5eb830f68f3aad892b6",name:"vviinn-energy-label-data-sheet-text"},J.t("energyLabel.dataSheetText"))))))}get el(){return o(this)}};_t.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-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-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;--product-card-set-mode-max-width:300px;--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:#525252;--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;--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;}: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-helper)}.data-sheet-link{display:none;cursor:pointer;text-decoration:none;color:var(--color-text-primary)}";const Ot=t=>t&&"values"in t?t.values:t&&"histogram"in t?t.histogram:[],kt=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.filters=[],this.mode="button",this.showHeader=!0,this.filtersString="",this.showInWidget=!1,this.innerFilters=[],this.requestFilters=[],this.showMore=!1,this.selectedMoreOptions=[],this.displayedOptionsCount=new Map,this.skipStateChanges=t=>this.showInWidget!==t,this.getFilters=()=>this.innerFilters.length?this.innerFilters:this.state.dynamicFilters,this.handleSelectedFiltersReset=({detail:t})=>{this.skipStateChanges(t.isTriggeredByVpsWidget)||(this.requestFilters=[],this.innerFilters=[],this.showMore=!1,this.resetOptionsInteractions())},this.handleCloseModal=()=>{this.showMore=!1,this.resetOptionsInteractions()},this.getSelectedPriceInterval=()=>{var t,e;return null!==(e=null===(t=this.requestFilters.find((({column:t})=>et(t))))||void 0===t?void 0:t.values[0])&&void 0!==e?e:{}},this.resetModal=()=>{rt({vviinnFilterTriggered:this.vviinnFilterTriggered,vviinnFiltersChanged:this.vviinnFiltersChanged,el:this.el,isTriggeredByVpsWidget:this.showInWidget}),this.vviinnSelectedFiltersReset.emit({isTriggeredByVpsWidget:this.showInWidget}),this.handleCloseModal()},this.handleExtendedFiltersButtonClicked=({detail:t})=>{const{isTriggeredByVpsWidget:e}=t;this.skipStateChanges(e)||(this.showMore=!0)},this.handleFiltersChanged=({detail:t})=>{const{filters:e,el:r,isTriggeredByVpsWidget:n}=t;r===this.el||this.skipStateChanges(n)||(this.requestFilters=e)},this.priceChangeHandler=t=>{const e=this.getFilters().find((t=>et(t.column)));e&&this.handleSubFilterSelection(t,e)}}resetOptionsInteractions(){this.displayedOptionsCount=new Map,this.selectedMoreOptions=[]}replaceSlotsContent(){const t=this.el.querySelectorAll("[slot]");this.globalSlotsChanged.emit({slots:Array.from(t),element:this.el})}showMoreWatcher(t){this.vviinnFilterTriggered.emit({action:t?"open":"close",isTriggeredByVpsWidget:this.showInWidget})}componentDidRender(){this.replaceSlotsContent()}async componentWillLoad(){await J.init({lng:f.locale,fallbackLng:"en",resources:ct}),G(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"},t("aside",{class:"filters-modal-wrapper",part:"extended-filters-modal-wrapper"},this.showHeader&&t("div",{class:"filters-modal-header",part:"extended-filters-header"},t("slot",{name:"vviinn-extended-filters-title"},t("span",null,J.t("filters.modal.title"))),t("button",{class:"filters-modal-close",onClick:this.handleCloseModal,part:"extended-filters-modal-close"},t(pt,null))),t("div",{class:"filters-modal-main",part:"extended-filters-main"},t("ul",{class:"filters-modal-list",part:"extended-filters-list"},(null!=e?e:[]).map((r=>{var n;const i=r.column,o=Ot(r),a=this.requestFilters.find((({column:t})=>t===i)),c=[];return null===(n=null==a?void 0:a.values)||void 0===n||n.forEach((r=>{if(et(i)){const n=e.find((t=>t.column===i)),o=nt(n,r,f.currencySign);o&&c.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)===r}));e>-1&&c.push(t("span",null,o[e].label))}})),t("li",{part:"extended-filters-row"},t("div",{class:"filters-modal-main-button-wrapper "+(this.selectedMoreOptions.includes(r.column)?"open":""),part:"extended-filters-row-wrapper"},t("button",{onClick:()=>this.handleMoreOptionsMainClick(r.column),class:"filters-modal-main-button",part:"extended-filters-main-button"},r.label,c.length>0&&t("div",{class:"filters-modal-main-button-added-options",part:"extended-filters-selected-wrapper"},c),t(ft,null)),et(i)&&this.selectedMoreOptions.includes(r.column)?t("vviinn-price-range",{histogram:o.filter((t=>t.value.frequency>0)),priceChangeHandler:this.priceChangeHandler,selectedInterval:this.getSelectedPriceInterval()}):t("ul",{class:"filters-modal-sub-list",part:"extended-filters-sub-list"},this.renderFilterOptions(r,o))))}))),(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"},t("slot",{name:"vviinn-extended-filters-apply"},J.t("filters.modal.apply"))),t("button",{class:"filters-modal-reset",onClick:this.resetModal,part:"extended-filters-reset"},t("slot",{name:"vviinn-extended-filters-reset"},J.t("filters.modal.resetFilters")))))))}renderFilterOptions(e,r){const{column:i}=e;this.initializeDisplayedOptions(i);const o=this.displayedOptionsCount.get(i)||8;return t(n,null,r.slice(0,o).map((({value:t,label:r,active:n})=>{const i=it(this.requestFilters,t,e);return ot({handleSubFilterSelection:this.handleSubFilterSelection.bind(this),selectedFilter:e,value:t,label:r,active:n,isSelected:i})})),o<r.length&&t("button",{onClick:()=>this.showMoreOptions(i,r.length),class:"filters-more-modal-button",part:"filters-option-button"},t(ft,null)))}handleSubFilterSelection(t,e){this.requestFilters=at({filterValue:t,selectedFilter:e,requestFilters:this.requestFilters,vviinnFilterTriggered:this.vviinnFilterTriggered,vviinnFiltersChanged:this.vviinnFiltersChanged,el:this.el,isTriggeredByVpsWidget:this.showInWidget})}handleMoreOptionsMainClick(t){this.selectedMoreOptions.includes(t)?(this.selectedMoreOptions=this.selectedMoreOptions.filter((e=>e!==t)),this.displayedOptionsCount.delete(t)):(this.vviinnFilterTriggered.emit({action:"show",kind:t,isTriggeredByVpsWidget:this.showInWidget}),this.selectedMoreOptions=[...this.selectedMoreOptions,t])}filtersStringWatcher(){if(""!==this.filtersString)try{this.innerFilters=JSON.parse(this.filtersString)}catch(t){console.error("Invalid filters string",t)}}connectedCallback(){const{state:t}=d(this.showInWidget);this.state=t,document.addEventListener("vviinnFiltersChanged",this.handleFiltersChanged),document.addEventListener("vviinnSelectedFiltersReset",this.handleSelectedFiltersReset),"preview"!==this.mode&&document.addEventListener("vviinnExtendedFiltersButtonClicked",this.handleExtendedFiltersButtonClicked),this.filtersStringWatcher()}disconnectedCallback(){document.addEventListener("vviinnFiltersChanged",this.handleFiltersChanged),document.addEventListener("vviinnSelectedFiltersReset",this.handleSelectedFiltersReset),"preview"!==this.mode&&document.removeEventListener("vviinnExtendedFiltersButtonClicked",this.handleExtendedFiltersButtonClicked)}getAsideElement(){return this.el.shadowRoot.querySelector("aside")}getSidebarRectangle(){var t;return null===(t=this.getAsideElement())||void 0===t?void 0:t.getBoundingClientRect()}bodyClickListener(t){if("button"!==this.mode)return;const e=this.getSidebarRectangle();e&&0!==e.width&&0!==e.height&&(Y(t,e)||(this.showMore=!1))}render(){const e=this.getFilters();return t(i,{key:"982b6b78f6e27996a540d906fd5651c02514d068",class:{"show-in-widget":this.showInWidget}},X("filters"),(null==e?void 0:e.length)>0&&"button"===this.mode&&t("vviinn-extended-filters-button",{key:"2fd7c42697106608be4953483dac2537de08d9b8"}),this.renderModal(e))}get el(){return o(this)}static get watchers(){return{showMore:["showMoreWatcher"],filtersString:["filtersStringWatcher"]}}};kt.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-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-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;--product-card-set-mode-max-width:300px;--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:#525252;--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;--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;}: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-price-range{max-width:400px;padding-bottom:var(--spacing-150)}:host(.show-in-widget) vviinn-price-range{max-width:unset}.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-helper);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}:host(.show-in-widget.preview-filters) .selected-filters-wrapper{flex-wrap:unset;overflow-x:auto}:host(.show-in-widget.preview-filters) .sub-filters-wrapper,:host(.show-in-widget.preview-filters) .selected-filters-wrapper{transform:translateX(-24px);padding-left:var(--spacing-300);padding-right:var(--spacing-300);width:100%}.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{height:64px;position:relative;color:var(--color-text-primary);text-align:center;font-size:var(--font-size-headline);font-weight:var(--font-weight-500);line-height:var(--line-height-headline);letter-spacing:var(--letter-spacing-headline);border-bottom:1px solid var(--color-border-01);display:flex;align-items:center;justify-content:center;gap:5px}.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-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)}.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;padding:var(--spacing-75);align-items:center;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>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:contents}.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:""}@media (max-width: 768px){.sub-filters-wrapper,.selected-filters-wrapper{flex-wrap:unset;overflow-x:auto;padding-bottom:0}.sub-filters-wrapper,.selected-filters-wrapper{margin-top:16px;-webkit-overflow-scrolling:touch;scrollbar-width:none;-ms-overflow-style:none}.sub-filters-wrapper::-webkit-scrollbar,.selected-filters-wrapper::-webkit-scrollbar{display:none}.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}}';const Ct=class{constructor(t){e(this,t),this.vviinnExtendedFiltersButtonClicked=r(this,"vviinnExtendedFiltersButtonClicked"),this.showInWidget=!1}render(){return t(i,{key:"f03bf9120a608bf4e00efcbaf61d5619e5958bed",exportparts:"extended-filters-button"},t("button",{key:"5c41db4d8821455199fb177509dc20999ed8a2eb",class:"filters-more-button",onClick:()=>{this.vviinnExtendedFiltersButtonClicked.emit({isTriggeredByVpsWidget:this.showInWidget})},part:"extended-filters-button"},t(vt,{key:"54fb0ec1ea5da7e6f0b08a10604801db634464db"})))}};Ct.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-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-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;--product-card-set-mode-max-width:300px;--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:#525252;--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;--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;}: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-price-range{max-width:400px;padding-bottom:var(--spacing-150)}:host(.show-in-widget) vviinn-price-range{max-width:unset}.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-helper);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}:host(.show-in-widget.preview-filters) .selected-filters-wrapper{flex-wrap:unset;overflow-x:auto}:host(.show-in-widget.preview-filters) .sub-filters-wrapper,:host(.show-in-widget.preview-filters) .selected-filters-wrapper{transform:translateX(-24px);padding-left:var(--spacing-300);padding-right:var(--spacing-300);width:100%}.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{height:64px;position:relative;color:var(--color-text-primary);text-align:center;font-size:var(--font-size-headline);font-weight:var(--font-weight-500);line-height:var(--line-height-headline);letter-spacing:var(--letter-spacing-headline);border-bottom:1px solid var(--color-border-01);display:flex;align-items:center;justify-content:center;gap:5px}.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-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)}.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;padding:var(--spacing-75);align-items:center;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>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:contents}.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:""}@media (max-width: 768px){.sub-filters-wrapper,.selected-filters-wrapper{flex-wrap:unset;overflow-x:auto;padding-bottom:0}.sub-filters-wrapper,.selected-filters-wrapper{margin-top:16px;-webkit-overflow-scrolling:touch;scrollbar-width:none;-ms-overflow-style:none}.sub-filters-wrapper::-webkit-scrollbar,.selected-filters-wrapper::-webkit-scrollbar{display:none}.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}}';const Mt=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.filters=[],this.filtersString="",this.showInWidget=!1,this.innerFilters=[],this.requestFilters=[],this.getFilters=()=>this.innerFilters.length?this.innerFilters:this.state.dynamicFilters,this.getSelectedPriceInterval=()=>{var t,e;return null!==(e=null===(t=this.requestFilters.find((({column:t})=>et(t))))||void 0===t?void 0:t.values[0])&&void 0!==e?e:{}},this.handleSelectedFiltersReset=({detail:t})=>{this.skipStateChanges(t.isTriggeredByVpsWidget)||(this.requestFilters=[],this.selectedFilter=void 0)},this.skipStateChanges=t=>this.showInWidget!==t,this.priceChangeHandler=t=>{this.handleSubFilterSelection(t,this.selectedFilter)},this.handleFilterTriggered=({detail:t})=>{const{kind:e,isTriggeredByVpsWidget:r,action:n,customTrigger:i}=t;this.skipStateChanges(r)||i||"select"===n&&(this.selectedFilter=this.getFilters().find((t=>t.column===e)))},this.handleFiltersChanged=({detail:t})=>{const{filters:e,el:r,isTriggeredByVpsWidget:n}=t;r===this.el||this.skipStateChanges(n)||(this.requestFilters=e,this.selectedFilter||(this.selectedFilter=this.getFilters().find((t=>{var r;return(null==t?void 0:t.column)===(null===(r=e[0])||void 0===r?void 0:r.column)}))))}}handleMainFilterSelection(t){this.selectedFilter=t,this.vviinnFilterTriggered.emit({action:"show",kind:t.column,isTriggeredByVpsWidget:this.showInWidget})}handleSubFilterSelection(t,e){this.requestFilters=at({filterValue:t,selectedFilter:e,requestFilters:this.requestFilters,vviinnFilterTriggered:this.vviinnFilterTriggered,vviinnFiltersChanged:this.vviinnFiltersChanged,el:this.el,isTriggeredByVpsWidget:this.showInWidget})}showActiveOnMainButton({column:t}){var e;return this.selectedFilter&&(null===(e=this.selectedFilter)||void 0===e?void 0:e.column)===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}=d(this.showInWidget);this.state=t,document.addEventListener("vviinnFiltersChanged",this.handleFiltersChanged),document.addEventListener("vviinnSelectedFiltersReset",this.handleSelectedFiltersReset),document.addEventListener("vviinnFilterTriggered",this.handleFilterTriggered),this.filtersStringWatcher()}disconnectedCallback(){document.removeEventListener("vviinnFiltersChanged",this.handleFiltersChanged),document.removeEventListener("vviinnSelectedFiltersReset",this.handleSelectedFiltersReset),document.removeEventListener("vviinnFilterTriggered",this.handleFilterTriggered)}render(){var e;const r=this.getFilters().filter((t=>t.isPrimary)),{column:n}=null!==(e=this.selectedFilter)&&void 0!==e?e:{},o=Ot(this.selectedFilter);return t(i,{key:"f9c94f81573fc12c516b2318143d7e61b08d553e",class:{"show-in-widget":this.showInWidget}},(null==r?void 0:r.length)>0&&t("ul",{key:"10470d638f61a6b50adc629b6c7120a90dbc13f8",class:"main-filters-list",part:"filters-list"},r.map((e=>t("li",null,t("button",{class:`filters-main-button ${this.showActiveOnMainButton(e)}`,onClick:()=>this.handleMainFilterSelection(e),part:"filters-main-button"},e.label))))),!!this.selectedFilter&&this.selectedFilter.isPrimary&&t("div",{key:"d80bc074fb51878f0a754862a2a930f8558f4a6c",class:"filters-footer",part:"filters-footer"},et(n)?t("vviinn-price-range",{histogram:o.filter((t=>t.value.frequency>0)),priceChangeHandler:this.priceChangeHandler,selectedInterval:this.getSelectedPriceInterval()}):t("ul",{class:"sub-filters-wrapper",part:"filters-footer-list"},!!o&&o.map((({value:t,label:e,active:r})=>{const n=it(this.requestFilters,t,this.selectedFilter);return ot({handleSubFilterSelection:this.handleSubFilterSelection.bind(this),selectedFilter:this.selectedFilter,value:t,label:e,active:r,isSelected:n})})))))}get el(){return o(this)}static get watchers(){return{filtersString:["filtersStringWatcher"]}}};Mt.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-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-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;--product-card-set-mode-max-width:300px;--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:#525252;--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;--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;}: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-price-range{max-width:400px;padding-bottom:var(--spacing-150)}:host(.show-in-widget) vviinn-price-range{max-width:unset}.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-helper);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}:host(.show-in-widget.preview-filters) .selected-filters-wrapper{flex-wrap:unset;overflow-x:auto}:host(.show-in-widget.preview-filters) .sub-filters-wrapper,:host(.show-in-widget.preview-filters) .selected-filters-wrapper{transform:translateX(-24px);padding-left:var(--spacing-300);padding-right:var(--spacing-300);width:100%}.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{height:64px;position:relative;color:var(--color-text-primary);text-align:center;font-size:var(--font-size-headline);font-weight:var(--font-weight-500);line-height:var(--line-height-headline);letter-spacing:var(--letter-spacing-headline);border-bottom:1px solid var(--color-border-01);display:flex;align-items:center;justify-content:center;gap:5px}.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-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)}.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;padding:var(--spacing-75);align-items:center;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>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:contents}.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:""}@media (max-width: 768px){.sub-filters-wrapper,.selected-filters-wrapper{flex-wrap:unset;overflow-x:auto;padding-bottom:0}.sub-filters-wrapper,.selected-filters-wrapper{margin-top:16px;-webkit-overflow-scrolling:touch;scrollbar-width:none;-ms-overflow-style:none}.sub-filters-wrapper::-webkit-scrollbar,.selected-filters-wrapper::-webkit-scrollbar{display:none}.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}}';const St=class{constructor(t){e(this,t),this.histogram=[],this.addStyle=!0,this.minIndex=0}componentWillLoad(){this.updatingSelectedInterval()}updatingSelectedInterval(){this.maxIndex=this.histogram.length-1;const t=Math.max(...this.histogram.map((({value:t})=>t.frequency)));this.scalingFactor=100/t,this.minIndex=void 0!==this.selectedInterval.start?this.histogram.findIndex((({value:t})=>t.interval.start===this.selectedInterval.start)):0,this.maxIndex=this.selectedInterval.end?this.histogram.findIndex((t=>t.value.interval.end===this.selectedInterval.end)):this.histogram.length-1}controlFromSlider(t){const e=parseInt(t.target.value);this.minIndex=e>=this.maxIndex?this.maxIndex-1:e,t.target.value=String(this.minIndex)}controlToSlider(t){const e=parseInt(t.target.value);this.maxIndex=e<=this.minIndex?this.minIndex+1:e,t.target.value=String(this.maxIndex)}sendBackValue(){var t,e,r,n,i,o;this.priceChangeHandler({interval:{start:null===(r=null===(e=null===(t=this.histogram[this.minIndex])||void 0===t?void 0:t.value)||void 0===e?void 0:e.interval)||void 0===r?void 0:r.start,end:null===(o=null===(i=null===(n=this.histogram[this.maxIndex])||void 0===n?void 0:n.value)||void 0===i?void 0:i.interval)||void 0===o?void 0:o.end}})}calculateBarHeight(t){return t*this.scalingFactor}render(){var e,r,n,o,a,c;const l=this.histogram.length-1;return t(i,{key:"4d307e910b488bff76c18aad2e091ce17336f8d7",exportparts:Q},t("div",{key:"6dd284328600e3cfb4e5ebdea4ac0fcaebc6f072",class:"histogram",part:"histogram"},this.histogram.map(((e,r)=>{const n=this.calculateBarHeight(e.value.frequency);return t("div",{class:"histogram-bar "+(r<this.minIndex||r>this.maxIndex?"histogram-bar-inactive":""),style:{height:`${n&&n<3?3:n}%`},part:"histogram-bar"})}))),t("div",{key:"9868cc78729cba304913c124bc6e0ed9d6da531f",class:"range_container",part:"histogram-range-container"},t("div",{key:"dae08ba8b4a6aa102712f845de8059569f28618e",class:"sliders_control",part:"histogram-sliders-control"},t("input",{key:"2fa2d3e9f51af5f9d30cf6107e76eb712eaf87d8",ref:t=>this.fromSlider=t,id:"fromSlider",type:"range",min:"0",max:l,value:this.minIndex,onInput:t=>{this.controlFromSlider(t)},onChange:()=>this.sendBackValue(),part:"histogram-from-slider"}),t("input",{key:"7c05f8948b00d374a15a04715351d6b84d11f600",ref:t=>this.toSlider=t,id:"toSlider",type:"range",min:"0",max:l,value:this.maxIndex,onInput:t=>{this.controlToSlider(t)},onChange:()=>this.sendBackValue(),part:"histogram-to-slider"}))),t("div",{key:"12ab4fb3c67510e1f4eac1b9692ae5332aa0479d",class:"label-wrapper",part:"histogram-label-wrapper"},t("div",{key:"25fcb02a6ea8611e54d1b513151912c73e53f80e",class:"label",part:"histogram-label"},null===(n=null===(r=null===(e=this.histogram[this.minIndex])||void 0===e?void 0:e.value)||void 0===r?void 0:r.interval)||void 0===n?void 0:n.start,t("span",{key:"745ffab38ac3bbfcc8faf181a90b7a271386a65c",class:"histogram-currency"},f.currencySign)),t("div",{key:"9529e3ad2df31bc519907f6c1feb705d4b0c6546",class:"label",part:"histogram-label"},null===(c=null===(a=null===(o=this.histogram[this.maxIndex])||void 0===o?void 0:o.value)||void 0===a?void 0:a.interval)||void 0===c?void 0:c.end,t("span",{key:"2fbc79442bd2d2ad17794dcd43c6a61ef1e6fd19",class:"histogram-currency"},f.currencySign))))}get el(){return o(this)}static get watchers(){return{selectedInterval:["updatingSelectedInterval"]}}};St.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-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-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;--product-card-set-mode-max-width:300px;--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:#525252;--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;--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;}: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:2px;padding:0 12px}.histogram-bar{background:var(--surface-inverse-bg-color, #262626);flex:1;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 .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}';class zt{sendImpression(t){var e,r,n;t&>ag("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;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 Tt{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){ga("ec:addImpression",this.convertProduct(t))}sendClick(t){var e,r,n;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 Et=p.getMonoid(v().first()).concat(u.pipe(p.fromNullable(window.gtag),p.map((()=>new zt))),u.pipe(p.fromNullable(window.ga),p.map((()=>new Tt)))),It=/fit\/\d+\//,At=(e,r)=>e.deeplink?t("a",{class:e.part,part:e.part,href:e.deeplink},r):r,Vt=(t,e)=>t?new Intl.NumberFormat(e,{minimumFractionDigits:2,maximumFractionDigits:2}).format(t):null,Pt=e=>{const r=e.priceType,n=Vt(e.price,e.locale),i=e.prefix?t("span",{part:"price-prefix"},e.prefix+" "):null,o=e.currency?t("span",{part:"currency",class:"currency"},e.currency):null;return t("span",{class:"price-amount",part:"price-amount"+(r?"-"+r:"")},i,n,o)},Wt=({currency:e,basePrice:r,priceType:n,locale:i})=>{if(!(null==r?void 0:r.price))return null;const o=Vt(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)},Lt=t=>t?"string"==typeof t?JSON.parse(t):t:null,Ft=e=>{const r=()=>e.salePrice?[t("span",{class:"price-outdated",part:"price-outdated"},t(Pt,{prefix:e.prefix,currency:e.currency,price:e.price,locale:e.locale,priceType:"outdated"}),t(Wt,{currency:e.currency,basePrice:e.basePrice,locale:e.locale,priceType:"outdated"})),t("span",{class:"price-sale",part:"price-sale"},t(Pt,{prefix:e.prefix,currency:e.currency,price:e.salePrice,locale:e.locale,priceType:"sale"}),t(Wt,{currency:e.currency,basePrice:e.baseSalePrice,locale:e.locale,priceType:"sale"}))]:t("span",{class:"price-regular",part:"price-regular"},t(Pt,{prefix:e.prefix,currency:e.currency,price:e.price,locale:e.locale,priceType:"regular"}),t(Wt,{currency:e.currency,basePrice:e.basePrice,locale:e.locale,priceType:"regular"}));return e.showInContainer?t("div",{class:"price-container",part:"price-container"},r()):r()};function Rt(t){return{num:"number"==typeof t?t:void 0,px:void 0!==t?"number"==typeof t?`${t}px`:t:void 0}}const Bt=e=>{const r=!!e.src,{num:n,px:i}=Rt(e.width),{num:o,px:a}=Rt(e.height);return r?t("img",{src:e.src,width:n,height:o,alt:e.alt,title:e.title,class:e.className,ref:e.ref,onLoad:e.onLoad,loading:"lazy",part:"image"}):t("div",{style:{width:i,height:a},class:"image-placeholder",part:"image-placeholder",ref:e.ref},t("slot",{name:"vviinn-image-placeholder-icon"},t(gt,null)))},Nt=(t,e)=>{return e?(n=e,(null==(r=t)?void 0:r.length)?u.pipe((t=>u.pipe(t.match(It),b.fromNullable(t),b.map((()=>t))))(r),b.map((t=>t.replace(It,`fit/${n}/`))),b.getOrElse((()=>r))):""):t;var r,n},Ht=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.currency=void 0,this.locale=void 0,this.imageRatio=1,this.imageWidth=q,this.setMode=!1,this.responsive=!1,this.customLabels="",this.addPriceContainer=!1,this.index=0,this.isSourceProduct=!1,this.isResultsWidget=!1,this.energyCertificationsString="",this.isStandalone=!1,this.showFooterArrow=!1,this.imageResolutionWidth=300,this.isTransitioning=!1,this.basketButonPressed=!1,this.favoriteButonPressed=!1,this.productData=null,this.isShowUpdateButton=()=>this.setMode&&!this.isSourceProduct&&!this.basketButonPressed&&"onTop"!==this.updateButtonLocation,this.isShowBasketButton=()=>!this.isSourceProduct&&(this.addToBasketShow||this.setMode),this.intersectionCallback=t=>{t.length&&t.some((t=>t.isIntersecting))&&(u.pipe(Et,p.map((t=>t.sendImpression(this.getProduct())))),this.vviinnProductView.emit(this.productData),this.intersectionObserver.disconnect())}}connectedCallback(){this.productData=this.getProductData(),this.isStandalone&&J.init({lng:this.locale,fallbackLng:"en",resources:ct}),this.energyCertificationsString.length>0&&this.parseEnergyCertificationsString()}componentWillLoad(){G(this,this.el)}componentDidLoad(){this.vviinnProductLoad.emit(this.productData),this.intersectionObserver=new IntersectionObserver(this.intersectionCallback.bind(this.imageElement),{threshold:1}),this.intersectionObserver.observe(this.imageElement),this.addLinksEventListeners()}crossSellingClickListener({detail:t}){const{animationInterval:e}=t;this.isTransitioning=!0,this.basketButonPressed=!1,this.favoriteButonPressed=!1;const r=setTimeout((()=>{this.isTransitioning=!1,clearTimeout(r)}),e)}updatingAllCardsWatcher(){if(!this.updatingAllCards)return;this.vviinnUpdatingAllCardsStarted.emit(),this.isTransitioning=!0,this.basketButonPressed=!1;const t=setTimeout((()=>{this.vviinnUpdatingAllCardsFinished.emit(),this.isTransitioning=!1,clearTimeout(t)}),this.defaultAnimationInterval)}productIdWatcher(){this.productData=this.getProductData()}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:M[this.campaignTypeId],widgetVersion:this.widgetVersion},l("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})),u.pipe(Et,p.match((()=>null),(t=>t.sendClick(this.getProduct()))))}addLinksEventListeners(){this.el.shadowRoot.querySelectorAll("a").forEach((t=>{t.addEventListener("click",this.productClickHandler.bind(this)),t.addEventListener("auxclick",(()=>{this.vviinnAuxClick.emit(Object.assign({},this.productData))}))}))}getProduct(){return h.results.find((t=>t.productId===this.productId))}renderImage(){const e={width:this.imageWidth,height:this.imageWidth*this.imageRatio,src:this.image,imageResolutionWidth:this.imageResolutionWidth,title:this.productTitle,ref:t=>{this.imageElement=t},isSource:this.isSourceProduct};return this.responsive?((e,r=()=>{})=>{const n=Nt(e.src,e.imageResolutionWidth);return t("picture",{part:"image-picture"},t(Bt,{src:n,alt:e.title,title:e.title,className:"image responsive",ref:e.ref,onLoad:r}))})(e):((e,r=()=>{})=>{const n=Nt(e.src,e.imageResolutionWidth);return t("picture",{part:"image-picture"},t(Bt,{src:n,width:e.width,height:e.height,alt:e.title,title:e.title,className:"image",ref:e.ref,onLoad:r}),e.isSource&&t(F,null))})(e)}render(){var e,r,o,a;return t(i,{key:"f337ddf6a59fc953360eeea9c7f02dc2e338c6fe",part:"product-card",class:{animated:this.isTransitioning},exportparts:tt},t("div",{key:"e40481a4a6abd09c88a38e0c285c7c3211f5bea2",class:"image-container",part:"image-container"},t(At,{key:"fe990c9a1da8c3c848c700c83b7f929509119064",deeplink:this.deeplink,part:"image-link"},this.renderImage()),t("div",{key:"636ad988a90b0a5b741a86c50d1ce6a4b9addb04",class:"product-card-actions-top",part:"product-card-actions-top"},t("button",{key:"3c54a8d77d1ff3be9a1d60011919bc195f9ba007",class:{hidden:!this.favoriteShow||this.isSourceProduct},part:"favorite-button",onClick:this.favoriteButtonClickHandler.bind(this)},t("div",{key:"favorite-not-pressed",class:{hidden:this.favoriteButonPressed}},t("slot",{key:"7f83941b23b05114ac0a432eefb24d6ff3fae8cf",name:"vviinn-favorite-icon"},t(bt,{key:"3493c7d29b7620c290033f23c9e7372a4d12cfa2",width:14,height:14}))),t("div",{key:"favorite-pressed",class:{hidden:!this.favoriteButonPressed}},t("slot",{key:"4976316d03f0c12046d23779a79e52626de2c93b",name:"vviinn-favorite-icon-pressed"},t(ht,{key:"2978acc4ade06171cf7084365e68ec4aaed8ab9c",width:14,height:14})))),t("button",{key:"61a5b1da74beaf53bf77f18a4a67f642c0c950f2",class:{"update-button":!0,hidden:!this.isShowUpdateButton()},part:"update-button-item",onClick:()=>{this.vviinnCrossSellingClick.emit({animationInterval:mt(800,1400),productData:this.productData})}},t("div",{key:"1c95d46fd4ff65d2beb7e2ea7a86e28d9bd7c415"},t("slot",{key:"6c877dd6cbb3484dc9f2995a9b69e4ff139b3c83",name:"vviinn-update-button-icon"},t(dt,{key:"de48212dcd3c45b54deebe58019c5a5728a298f5",width:14,height:14}))))),t("div",{key:"ce4b9ff27a1064691a6fbfa44e01bc45f67f46f9",class:"product-card-actions",part:"product-card-actions"},t("slot",{key:"811383f3be2955ed6f5103a1dc13d3ffe6167c69",name:"vviinn-product-card-actions"}))),t("div",{key:"b282b8135396c679dcfb04f1c12b9ab420567e45",class:"content-container",part:"content-container"},this.isTransitioning?t(n,null,t("vviinn-skeleton",{height:40}),t("vviinn-skeleton",{height:20,halfWidth:!0})):t(n,null,t(At,{deeplink:this.deeplink,part:"deeplink"},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!==(o=null==this?void 0:this.energyCertifications)&&void 0!==o?o:[]).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}))),t(Ft,{prefix:this.pricePrefix,currency:this.currency,locale:this.locale,price:this.price,basePrice:Lt(this.basePrice),salePrice:this.salePrice,baseSalePrice:Lt(this.baseSalePrice),showInContainer:this.addPriceContainer}),this.setMode&&!this.appliedDiscountPercentage&&this.currentDiscountPercentage&&t("div",{class:"discount-label",part:"discount-label"},`-${this.currentDiscountPercentage}%`),(a=this.customLabels.split(","),t(n,null,a.map(((e,r)=>((e,r)=>e?t("span",{part:`custom-label-${r}`,class:"custom-label"},t("slot",{name:`vviinn-custom-label-${r}`},e)):null)(e,r)))))),t("vviinn-skeleton",{key:"1f965e02586545c4c06ca183f87108adda8aeea0",height:40,class:{hidden:!this.isTransitioning}})),t("div",{key:"8eac508b0683163c2d6b693c952785c4cf580afa",class:{"basket-button-container":!0,hidden:!this.isShowBasketButton()},part:"basket-button-container"},t("button",{key:"7dbea605523c5f4bed52439503a6acc8cd35fa75",class:{"basket-button":!0,hidden:this.isTransitioning,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",{key:"a6c45b45a0ff89b879d45507614624a8019124cf",class:"basket-button-icon-container"},t("slot",{key:"15cb52751d3b1bcff3c4a29faa20178c98d6a410",name:"vviinn-basket-button-icon"},t(lt,{key:"1f5ee9586437f3694a4ff8a8a75b6925e52c598f"}))),t("span",{key:"2ad2ab09bb4aee9c50020a611d27c6eb5b2cf33f"},this.setMode?t("slot",{name:"vviinn-basket-button-text",key:"button-text-set"},J.t("setMode.basketButtonText")):t("slot",{name:"vviinn-basket-button-text",key:"button-text-default"},J.t("basketButtonText")))),t("div",{key:"pressed",class:{"basket-button-content":!0,hidden:!this.basketButonPressed}},t("span",{key:"6ac34d88bd4fbd4b56326ac2f71735d7f6b93b40",class:"basket-button-icon-container"},t("slot",{key:"43b0b7be5d77bbc0d9d25666311e1f3f07ee4f01",name:"vviinn-basket-button-icon-pressed"},t(ut,{key:"6e624a83806879c8a3d9722b7598e025459e65ac"}))),t("span",{key:"14076b9fcf92d4de86bbbc7fd278ebebff6db32d"},t("span",{key:"a98fdf104b5fbcf748575d8c584e862cec22a775",class:"discount-percentage",part:"discount-percentage",hidden:!(this.setMode&&this.appliedDiscountPercentage)},this.appliedDiscountPercentage,"%"),t("slot",{key:"493b7a6d83066dab4462464743605873ba175547",name:"vviinn-basket-button-text-pressed"},J.t(this.setMode?"setMode.basketButtonPressedText":"basketButtonPressedText")))))),this.showFooterArrow&&t("div",{key:"d9cea5cbd30650aabe32e2a424f3cf95761b0ec0",class:"footer-arrow"}))}get el(){return o(this)}static get watchers(){return{updatingAllCards:["updatingAllCardsWatcher"],productId:["productIdWatcher"]}}};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-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-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;--product-card-set-mode-max-width:300px;--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:#525252;--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;--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;}: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);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{position:relative;width:100%}.image-placeholder{display:flex;align-items:center;justify-content:center;background:#f0f0f0;aspect-ratio:1 / 1;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{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)}.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-helper);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-helper);font-size:var(--font-size-caption)}.product-type{word-wrap:anywhere}.image{box-sizing:border-box;display:grid;align-content:center;-o-object-position:50% 50%;object-position:50% 50%;aspect-ratio:1;-o-object-fit:contain;object-fit:contain;text-align:center;border:var(\n --product-card-image-border,\n var(--product-card-image-border-default)\n )}.image.responsive{width:100%;height:auto}.currency{padding-left:var(--spacing-50)}.brand,.title,.product-type{display:-webkit-box;max-width:var(--product-card-set-mode-max-width);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}picture{display:block;width:100%;height:100%;position:relative}picture::before{display:block;box-sizing:border-box;position:absolute;width:100%;height:100%;top:0;left:0;content:\"\";opacity:0}.product-card-actions,.product-card-actions-top{line-height:0px;position:absolute;right:var(--spacing-75)}.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);-webkit-backdrop-filter:blur(calc(var(--filter-blur-150) / 2));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}picture::after{box-sizing:border-box;display:block;position:absolute;width:100%;height:100%;top:0;left:0;background-color:var(\n --product-card-image-bg-color,\n var(--product-card-image-bg-color-default)\n );mix-blend-mode:multiply;content:\"\"}:host(.animated) picture::after{mix-blend-mode:normal}:host(.animated) picture::before{opacity:1;animation:pulse 1.8s infinite}:host(.animated) picture::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);background-color:transparent}: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)}:host(.product-card--source){flex-grow:1}:host(.product-card--source) picture{aspect-ratio:1}picture .plus-icon{position:absolute;width:32px;height:32px;top:calc(50% - 32px);right:-88px;padding:var(--spacing-200);background-color:var(--color-bg-base);color:var(--color-text-placeholder);outline:1px solid var(--color-border-01);z-index:1;border-radius:50%}.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){picture .plus-icon{padding:var(--spacing-100);top:calc(50% - var(--spacing-300));right:calc(-1 * var(--spacing-300))}}@keyframes pulse{0%{background-color:var(--surface-bg-color-01)}50%{background-color:var(--surface-bg-color-01-active)}100%{background-color:var(--surface-bg-color-01)}}.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)}vviinn-energy-label{justify-content:var(\n --product-card-content-align,\n var(--product-card-content-align-default)\n )}.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}";const Zt=class{constructor(t){e(this,t),this.imageRatio=1}render(){return t(i,{key:"2523bf1ff7d471c891fb600d052b8815e4048a80",class:{animated:!0}},t("div",{key:"7a199049cb051e554336b6f943de4d4cb4742bac",style:{"aspect-ratio":"1",width:"100%"}},t("vviinn-skeleton",{key:"9916ea613b679e0493aa7df669e1e19764dd347d"})),t("vviinn-skeleton",{key:"c8a2ab53f85a318dfbac2c73db77dc06de87f83c",height:40}),t("vviinn-skeleton",{key:"cd05575b38f850ac61eef8e4ebad9b3397ebb04f",height:20,halfWidth:!0}),t("vviinn-skeleton",{key:"5e688052f624c4af71f90a0d4fbf0ad799bbab89",height:40}))}get el(){return o(this)}};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-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-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;--product-card-set-mode-max-width:300px;--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:#525252;--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;--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;}: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);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{position:relative;width:100%}.image-placeholder{display:flex;align-items:center;justify-content:center;background:#f0f0f0;aspect-ratio:1 / 1;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{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)}.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-helper);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-helper);font-size:var(--font-size-caption)}.product-type{word-wrap:anywhere}.image{box-sizing:border-box;display:grid;align-content:center;-o-object-position:50% 50%;object-position:50% 50%;aspect-ratio:1;-o-object-fit:contain;object-fit:contain;text-align:center;border:var(\n --product-card-image-border,\n var(--product-card-image-border-default)\n )}.image.responsive{width:100%;height:auto}.currency{padding-left:var(--spacing-50)}.brand,.title,.product-type{display:-webkit-box;max-width:var(--product-card-set-mode-max-width);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}picture{display:block;width:100%;height:100%;position:relative}picture::before{display:block;box-sizing:border-box;position:absolute;width:100%;height:100%;top:0;left:0;content:\"\";opacity:0}.product-card-actions,.product-card-actions-top{line-height:0px;position:absolute;right:var(--spacing-75)}.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);-webkit-backdrop-filter:blur(calc(var(--filter-blur-150) / 2));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}picture::after{box-sizing:border-box;display:block;position:absolute;width:100%;height:100%;top:0;left:0;background-color:var(\n --product-card-image-bg-color,\n var(--product-card-image-bg-color-default)\n );mix-blend-mode:multiply;content:\"\"}:host(.animated) picture::after{mix-blend-mode:normal}:host(.animated) picture::before{opacity:1;animation:pulse 1.8s infinite}:host(.animated) picture::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);background-color:transparent}: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)}:host(.product-card--source){flex-grow:1}:host(.product-card--source) picture{aspect-ratio:1}picture .plus-icon{position:absolute;width:32px;height:32px;top:calc(50% - 32px);right:-88px;padding:var(--spacing-200);background-color:var(--color-bg-base);color:var(--color-text-placeholder);outline:1px solid var(--color-border-01);z-index:1;border-radius:50%}.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){picture .plus-icon{padding:var(--spacing-100);top:calc(50% - var(--spacing-300));right:calc(-1 * var(--spacing-300))}}@keyframes pulse{0%{background-color:var(--surface-bg-color-01)}50%{background-color:var(--surface-bg-color-01-active)}100%{background-color:var(--surface-bg-color-01)}}.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)}vviinn-energy-label{justify-content:var(\n --product-card-content-align,\n var(--product-card-content-align-default)\n )}.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}";const Dt=class{constructor(t){e(this,t),this.halfWidth=!1}render(){return t(i,{key:"0142c176f6b684a465e8636af7cb8f148317ae53"},t("div",{key:"b8ba6779f3d89c725089bb42c89b951ad7e1e79d",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 o(this)}};Dt.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 $t,qt={},Ut={},Jt={},Yt={};function Gt(){return $t||($t=1,Object.defineProperty(Yt,"__esModule",{value:!0}),Yt.isFunction=void 0,Yt.isFunction=function(t){return"function"==typeof t}),Yt}var Xt,Kt,Qt={},te={},ee={};function re(){return Xt||(Xt=1,Object.defineProperty(ee,"__esModule",{value:!0}),ee.createErrorClass=void 0,ee.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}),ee}function ne(){if(Kt)return te;Kt=1,Object.defineProperty(te,"__esModule",{value:!0}),te.UnsubscriptionError=void 0;var t=re();return te.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}})),te}var ie,oe,ae={};function ce(){return ie||(ie=1,Object.defineProperty(ae,"__esModule",{value:!0}),ae.arrRemove=void 0,ae.arrRemove=function(t,e){if(t){var r=t.indexOf(e);0<=r&&t.splice(r,1)}}),ae}function le(){if(oe)return Qt;oe=1;var t=Qt&&Qt.__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=Qt&&Qt.__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=Qt&&Qt.__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(Qt,"__esModule",{value:!0}),Qt.isSubscription=Qt.EMPTY_SUBSCRIPTION=Qt.Subscription=void 0;var n=Gt(),i=ne(),o=ce(),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,l,u,s;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),v=d.next();!v.done;v=d.next())v.value.remove(this)}catch(t){o={error:t}}finally{try{v&&!v.done&&(a=d.return)&&a.call(d)}finally{if(o)throw o.error}}else f.remove(this);var p=this.initialTeardown;if(n.isFunction(p))try{p()}catch(t){s=t instanceof i.UnsubscriptionError?t.errors:[t]}var b=this._finalizers;if(b){this._finalizers=null;try{for(var h=t(b),g=h.next();!g.done;g=h.next()){var m=g.value;try{c(m)}catch(t){s=null!=s?s:[],t instanceof i.UnsubscriptionError?s=r(r([],e(s)),e(t.errors)):s.push(t)}}}catch(t){l={error:t}}finally{try{g&&!g.done&&(u=h.return)&&u.call(h)}finally{if(l)throw l.error}}}if(s)throw new i.UnsubscriptionError(s)}},a.prototype.add=function(t){var e;if(t&&t!==this)if(this.closed)c(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 c(t){n.isFunction(t)?t():t.unsubscribe()}return Qt.Subscription=a,Qt.EMPTY_SUBSCRIPTION=a.EMPTY,Qt.isSubscription=function(t){return t instanceof a||t&&"closed"in t&&n.isFunction(t.remove)&&n.isFunction(t.add)&&n.isFunction(t.unsubscribe)},Qt}var ue,se={};function fe(){return ue||(ue=1,Object.defineProperty(se,"__esModule",{value:!0}),se.config=void 0,se.config={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}),se}var de,ve,pe={},be={};function he(){return de||(de=1,t=be,e=be&&be.__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=be&&be.__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 c=t.timeoutProvider.delegate;return(null==c?void 0:c.setTimeout)?c.setTimeout.apply(c,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}),be;var t,e,r}function ge(){if(ve)return pe;ve=1,Object.defineProperty(pe,"__esModule",{value:!0}),pe.reportUnhandledError=void 0;var t=fe(),e=he();return pe.reportUnhandledError=function(r){e.timeoutProvider.setTimeout((function(){var e=t.config.onUnhandledError;if(!e)throw r;e(r)}))},pe}var me,xe={};function ye(){return me||(me=1,Object.defineProperty(xe,"__esModule",{value:!0}),xe.noop=void 0,xe.noop=function(){}),xe}var we,je,_e,Oe={},ke={};function Ce(){if(je)return ke;je=1,Object.defineProperty(ke,"__esModule",{value:!0}),ke.captureError=ke.errorContext=void 0;var t=fe(),e=null;return ke.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()},ke.captureError=function(r){t.config.useDeprecatedSynchronousErrorHandling&&e&&(e.errorThrown=!0,e.error=r)},ke}function Me(){return _e||(_e=1,function(t){var e,r=Jt&&Jt.__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=Gt(),i=le(),o=fe(),a=ge(),c=ye(),l=function(){if(we)return Oe;function t(t,e,r){return{kind:t,value:e,error:r}}return we=1,Object.defineProperty(Oe,"__esModule",{value:!0}),Oe.createNotification=Oe.nextNotification=Oe.errorNotification=Oe.COMPLETE_NOTIFICATION=void 0,Oe.COMPLETE_NOTIFICATION=t("C",void 0,void 0),Oe.errorNotification=function(e){return t("E",void 0,e)},Oe.nextNotification=function(e){return t("N",e,void 0)},Oe.createNotification=t,Oe}(),u=he(),s=Ce(),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 b(t,e,r)},n.prototype.next=function(t){this.isStopped?g(l.nextNotification(t),this):this._next(t)},n.prototype.error=function(t){this.isStopped?g(l.errorNotification(t),this):(this.isStopped=!0,this._error(t))},n.prototype.complete=function(){this.isStopped?g(l.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 v(t,e){return d.call(t,e)}var p=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){h(t)}},t.prototype.error=function(t){var e=this.partialObserver;if(e.error)try{e.error(t)}catch(t){h(t)}else h(t)},t.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(t){h(t)}},t}(),b=function(t){function e(e,r,i){var a,c,l=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}:l&&o.config.useDeprecatedNextContext?((c=Object.create(e)).unsubscribe=function(){return l.unsubscribe()},a={next:e.next&&v(e.next,c),error:e.error&&v(e.error,c),complete:e.complete&&v(e.complete,c)}):a=e,l.destination=new p(a),l}return r(e,t),e}(f);function h(t){o.config.useDeprecatedSynchronousErrorHandling?s.captureError(t):a.reportUnhandledError(t)}function g(t,e){var r=o.config.onStoppedNotification;r&&u.timeoutProvider.setTimeout((function(){return r(t,e)}))}t.SafeSubscriber=b,t.EMPTY_OBSERVER={closed:!0,next:c.noop,error:function(t){throw t},complete:c.noop}}(Jt)),Jt}var Se,ze={};function Te(){return Se||(Se=1,Object.defineProperty(ze,"__esModule",{value:!0}),ze.observable=void 0,ze.observable="function"==typeof Symbol&&Symbol.observable||"@@observable"),ze}var Ee,Ie,Ae,Ve={},Pe={};function We(){return Ee||(Ee=1,Object.defineProperty(Pe,"__esModule",{value:!0}),Pe.identity=void 0,Pe.identity=function(t){return t}),Pe}function Le(){if(Ie)return Ve;Ie=1,Object.defineProperty(Ve,"__esModule",{value:!0}),Ve.pipeFromArray=Ve.pipe=void 0;var t=We();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 Ve.pipe=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return e(t)},Ve.pipeFromArray=e,Ve}function Fe(){if(Ae)return Ut;Ae=1,Object.defineProperty(Ut,"__esModule",{value:!0}),Ut.Observable=void 0;var t=Me(),e=le(),r=Te(),n=Le(),i=fe(),o=Gt(),a=Ce(),c=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 c,l=this,u=(c=r)&&c instanceof t.Subscriber||function(t){return t&&o.isFunction(t.next)&&o.isFunction(t.error)&&o.isFunction(t.complete)}(c)&&e.isSubscription(c)?r:new t.SafeSubscriber(r,n,i);return a.errorContext((function(){var t=l.operator,e=l.source;u.add(t?t.call(u,e):e?l._subscribe(u):l._trySubscribe(u))})),u},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=l(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=l(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 l(t){var e;return null!==(e=null!=t?t:i.config.Promise)&&void 0!==e?e:Promise}return Ut.Observable=c,Ut}var Re,Be={},Ne={},He={};function Ze(){if(Re)return He;Re=1,Object.defineProperty(He,"__esModule",{value:!0}),He.operate=He.hasLift=void 0;var t=Gt();function e(e){return t.isFunction(null==e?void 0:e.lift)}return He.hasLift=e,He.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")}},He}var De,$e,qe,Ue={};function Je(){if(De)return Ue;De=1;var t,e=Ue&&Ue.__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(Ue,"__esModule",{value:!0}),Ue.OperatorSubscriber=Ue.createOperatorSubscriber=void 0;var r=Me();Ue.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 c=t.call(this,e)||this;return c.onFinalize=o,c.shouldUnsubscribe=a,c._next=r?function(t){try{r(t)}catch(t){e.error(t)}}:t.prototype._next,c._error=i?function(t){try{i(t)}catch(t){e.error(t)}finally{this.unsubscribe()}}:t.prototype._error,c._complete=n?function(){try{n()}catch(t){e.error(t)}finally{this.unsubscribe()}}:t.prototype._complete,c}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 Ue.OperatorSubscriber=n,Ue}function Ye(){if($e)return Ne;$e=1,Object.defineProperty(Ne,"__esModule",{value:!0}),Ne.refCount=void 0;var t=Ze(),e=Je();return Ne.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())}))},Ne}function Ge(){if(qe)return Be;qe=1;var t,e=Be&&Be.__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(Be,"__esModule",{value:!0}),Be.ConnectableObservable=void 0;var r=Fe(),n=le(),i=Ye(),o=Je(),a=Ze(),c=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 Be.ConnectableObservable=c,Be}var Xe,Ke,Qe,tr={},er={},rr={};function nr(){return Ke||(Ke=1,function(t){var e=rr&&rr.__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=rr&&rr.__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=le();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}}(rr)),rr}var ir,or,ar={},cr={};function lr(){if(ir)return cr;ir=1,Object.defineProperty(cr,"__esModule",{value:!0}),cr.ObjectUnsubscribedError=void 0;var t=re();return cr.ObjectUnsubscribedError=t.createErrorClass((function(t){return function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})),cr}function ur(){if(or)return ar;or=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)}),r=ar&&ar.__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(ar,"__esModule",{value:!0}),ar.AnonymousSubject=ar.Subject=void 0;var n=Fe(),i=le(),o=lr(),a=ce(),c=Ce(),l=function(t){function l(){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(l,t),l.prototype.lift=function(t){var e=new u(this,this);return e.operator=t,e},l.prototype._throwIfClosed=function(){if(this.closed)throw new o.ObjectUnsubscribedError},l.prototype.next=function(t){var e=this;c.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}}}}))},l.prototype.error=function(t){var e=this;c.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)}}))},l.prototype.complete=function(){var t=this;c.errorContext((function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}}))},l.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(l.prototype,"observed",{get:function(){var t;return(null===(t=this.observers)||void 0===t?void 0:t.length)>0},enumerable:!1,configurable:!0}),l.prototype._trySubscribe=function(e){return this._throwIfClosed(),t.prototype._trySubscribe.call(this,e)},l.prototype._subscribe=function(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)},l.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)})))},l.prototype._checkFinalizedStatuses=function(t){var e=this,r=e.isStopped;e.hasError?t.error(e.thrownError):r&&t.complete()},l.prototype.asObservable=function(){var t=new n.Observable;return t.source=this,t},l.create=function(t,e){return new u(t,e)},l}(n.Observable);ar.Subject=l;var u=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}(l);return ar.AnonymousSubject=u,ar}var sr,fr={};function dr(){if(sr)return fr;sr=1;var t,e=fr&&fr.__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(fr,"__esModule",{value:!0}),fr.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}(ur().Subject);return fr.BehaviorSubject=r,fr}var vr,pr,br={},hr={};function gr(){return vr||(vr=1,t=hr,Object.defineProperty(t,"__esModule",{value:!0}),t.dateTimestampProvider=void 0,t.dateTimestampProvider={now:function(){return(t.dateTimestampProvider.delegate||Date).now()},delegate:void 0}),hr;var t}function mr(){if(pr)return br;pr=1;var t,e=br&&br.__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(br,"__esModule",{value:!0}),br.ReplaySubject=void 0;var r=ur(),n=gr(),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(),c=0,l=1;l<n.length&&n[l]<=a;l+=2)c=l;c&&n.splice(0,c+1)}},r}(r.Subject);return br.ReplaySubject=i,br}var xr,yr={};function wr(){if(xr)return yr;xr=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.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}(ur().Subject);return yr.AsyncSubject=r,yr}var jr,_r,Or,kr={},Cr={},Mr={},Sr={},zr={};function Tr(){if(Or)return Mr;Or=1;var t,e=Mr&&Mr.__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(Mr,"__esModule",{value:!0}),Mr.AsyncAction=void 0;var r,n,i,o=function(){if(jr)return Sr;jr=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.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}(le().Subscription);return Sr.Action=r,Sr}(),a=(_r||(_r=1,r=zr,n=zr&&zr.__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=zr&&zr.__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 c=r.intervalProvider.delegate;return(null==c?void 0:c.setInterval)?c.setInterval.apply(c,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}),zr),c=ce(),l=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,c.arrRemove(n,this),null!=e&&(this.id=this.recycleAsyncId(r,e,null)),this.delay=null,t.prototype.unsubscribe.call(this)}},r}(o.Action);return Mr.AsyncAction=l,Mr}var Er,Ir,Ar,Vr={},Pr={};var Wr,Lr,Fr,Rr,Br={},Nr={},Hr={};function Zr(){if(Wr)return Hr;Wr=1,Object.defineProperty(Hr,"__esModule",{value:!0}),Hr.Scheduler=void 0;var t=gr(),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 Hr.Scheduler=e,Hr}function Dr(){if(Lr)return Nr;Lr=1;var t,e=Nr&&Nr.__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(Nr,"__esModule",{value:!0}),Nr.AsyncScheduler=void 0;var r=Zr(),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 Nr.AsyncScheduler=n,Nr}function $r(){return Rr||(Rr=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.asap=t.asapScheduler=void 0;var e=function(){if(Ar)return Cr;Ar=1;var t,e=Cr&&Cr.__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(Cr,"__esModule",{value:!0}),Cr.AsapAction=void 0;var r=Tr(),n=(Ir||(Ir=1,function(t){var e=Vr&&Vr.__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=Vr&&Vr.__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(Er)return Pr;Er=1,Object.defineProperty(Pr,"__esModule",{value:!0}),Pr.TestTools=Pr.Immediate=void 0;var t,e=1,r={};function n(t){return t in r&&(delete r[t],!0)}return Pr.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)}},Pr.TestTools={pending:function(){return Object.keys(r).length}},Pr}(),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}}(Vr)),Vr),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 Cr.AsapAction=i,Cr}(),r=function(){if(Fr)return Br;Fr=1;var t,e=Br&&Br.__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(Br,"__esModule",{value:!0}),Br.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}(Dr().AsyncScheduler);return Br.AsapScheduler=r,Br}();t.asapScheduler=new r.AsapScheduler(e.AsapAction),t.asap=t.asapScheduler}(kr)),kr}var qr,Ur={};function Jr(){return qr||(qr=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.async=t.asyncScheduler=void 0;var e=Tr(),r=Dr();t.asyncScheduler=new r.AsyncScheduler(e.AsyncAction),t.async=t.asyncScheduler}(Ur)),Ur}var Yr,Gr,Xr,Kr={},Qr={},tn={};var en,rn,nn,on={},an={},cn={};var ln,un,sn={},fn={},dn={};function vn(){return un||(un=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.empty=t.EMPTY=void 0;var e=Fe();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}}(dn)),dn}var pn,bn,hn={},gn={},mn={};function xn(){if(pn)return mn;pn=1,Object.defineProperty(mn,"__esModule",{value:!0}),mn.isScheduler=void 0;var t=Gt();return mn.isScheduler=function(e){return e&&t.isFunction(e.schedule)},mn}function yn(){if(bn)return gn;bn=1,Object.defineProperty(gn,"__esModule",{value:!0}),gn.popNumber=gn.popScheduler=gn.popResultSelector=void 0;var t=Gt(),e=xn();function r(t){return t[t.length-1]}return gn.popResultSelector=function(e){return t.isFunction(r(e))?e.pop():void 0},gn.popScheduler=function(t){return e.isScheduler(r(t))?t.pop():void 0},gn.popNumber=function(t,e){return"number"==typeof r(t)?t.pop():e},gn}var wn,jn={},_n={},On={},kn={},Cn={};function Mn(){return wn||(wn=1,Object.defineProperty(Cn,"__esModule",{value:!0}),Cn.isArrayLike=void 0,Cn.isArrayLike=function(t){return t&&"number"==typeof t.length&&"function"!=typeof t}),Cn}var Sn,zn={};function Tn(){if(Sn)return zn;Sn=1,Object.defineProperty(zn,"__esModule",{value:!0}),zn.isPromise=void 0;var t=Gt();return zn.isPromise=function(e){return t.isFunction(null==e?void 0:e.then)},zn}var En,In={};function An(){if(En)return In;En=1,Object.defineProperty(In,"__esModule",{value:!0}),In.isInteropObservable=void 0;var t=Te(),e=Gt();return In.isInteropObservable=function(r){return e.isFunction(r[t.observable])},In}var Vn,Pn={};function Wn(){if(Vn)return Pn;Vn=1,Object.defineProperty(Pn,"__esModule",{value:!0}),Pn.isAsyncIterable=void 0;var t=Gt();return Pn.isAsyncIterable=function(e){return Symbol.asyncIterator&&t.isFunction(null==e?void 0:e[Symbol.asyncIterator])},Pn}var Ln,Fn={};function Rn(){return Ln||(Ln=1,Object.defineProperty(Fn,"__esModule",{value:!0}),Fn.createInvalidObservableTypeError=void 0,Fn.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.")}),Fn}var Bn,Nn,Hn={},Zn={};function Dn(){if(Bn)return Zn;function t(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}return Bn=1,Object.defineProperty(Zn,"__esModule",{value:!0}),Zn.iterator=Zn.getSymbolIterator=void 0,Zn.getSymbolIterator=t,Zn.iterator=t(),Zn}function $n(){if(Nn)return Hn;Nn=1,Object.defineProperty(Hn,"__esModule",{value:!0}),Hn.isIterable=void 0;var t=Dn(),e=Gt();return Hn.isIterable=function(r){return e.isFunction(null==r?void 0:r[t.iterator])},Hn}var qn,Un,Jn={};function Yn(){if(qn)return Jn;qn=1;var t=Jn&&Jn.__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:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function c(o){return function(c){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,c])}}},e=Jn&&Jn.__await||function(t){return this instanceof e?(this.v=t,this):new e(t)},r=Jn&&Jn.__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={},c("next"),c("throw"),c("return"),i[Symbol.asyncIterator]=function(){return this},i;function c(t){o[t]&&(i[t]=function(e){return new Promise((function(r,n){a.push([t,e,r,n])>1||l(t,e)}))})}function l(t,r){try{(n=o[t](r)).value instanceof e?Promise.resolve(n.value.v).then(u,s):f(a[0][2],n)}catch(t){f(a[0][3],t)}var n}function u(t){l("next",t)}function s(t){l("throw",t)}function f(t,e){t(e),a.shift(),a.length&&l(a[0][0],a[0][1])}};Object.defineProperty(Jn,"__esModule",{value:!0}),Jn.isReadableStreamLike=Jn.readableStreamLikeToAsyncGenerator=void 0;var n=Gt();return Jn.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]}}))}))},Jn.isReadableStreamLike=function(t){return n.isFunction(null==t?void 0:t.getReader)},Jn}function Gn(){if(Un)return kn;Un=1;var t=kn&&kn.__awaiter||function(t,e,r,n){return new(r||(r=Promise))((function(i,o){function a(t){try{l(n.next(t))}catch(t){o(t)}}function c(t){try{l(n.throw(t))}catch(t){o(t)}}function l(t){var e;t.done?i(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(a,c)}l((n=n.apply(t,e||[])).next())}))},e=kn&&kn.__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:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function c(o){return function(c){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,c])}}},r=kn&&kn.__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=kn&&kn.__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(kn,"__esModule",{value:!0}),kn.fromReadableStreamLike=kn.fromAsyncIterable=kn.fromIterable=kn.fromPromise=kn.fromArrayLike=kn.fromInteropObservable=kn.innerFrom=void 0;var i=Mn(),o=Tn(),a=Fe(),c=An(),l=Wn(),u=Rn(),s=$n(),f=Yn(),d=Gt(),v=ge(),p=Te();function b(t){return new a.Observable((function(e){var r=t[p.observable]();if(d.isFunction(r.subscribe))return r.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")}))}function h(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,v.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 x(n){return new a.Observable((function(i){(function(n,i){var o,a,c,l;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(),c={error:t},[3,11];case 6:return e.trys.push([6,,9,10]),a&&!a.done&&(l=o.return)?[4,l.call(o)]:[3,8];case 7:e.sent(),e.label=8;case 8:return[3,10];case 9:if(c)throw c.error;return[7];case 10:return[7];case 11:return i.complete(),[2]}}))}))})(n,i).catch((function(t){return i.error(t)}))}))}function y(t){return x(f.readableStreamLikeToAsyncGenerator(t))}return kn.innerFrom=function(t){if(t instanceof a.Observable)return t;if(null!=t){if(c.isInteropObservable(t))return b(t);if(i.isArrayLike(t))return h(t);if(o.isPromise(t))return g(t);if(l.isAsyncIterable(t))return x(t);if(s.isIterable(t))return m(t);if(f.isReadableStreamLike(t))return y(t)}throw u.createInvalidObservableTypeError(t)},kn.fromInteropObservable=b,kn.fromArrayLike=h,kn.fromPromise=g,kn.fromIterable=m,kn.fromAsyncIterable=x,kn.fromReadableStreamLike=y,kn}var Xn,Kn,Qn={},ti={};function ei(){return Xn||(Xn=1,Object.defineProperty(ti,"__esModule",{value:!0}),ti.executeSchedule=void 0,ti.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}),ti}function ri(){if(Kn)return Qn;Kn=1,Object.defineProperty(Qn,"__esModule",{value:!0}),Qn.observeOn=void 0;var t=ei(),e=Ze(),r=Je();return Qn.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)})))}))},Qn}var ni,ii,oi={};function ai(){if(ni)return oi;ni=1,Object.defineProperty(oi,"__esModule",{value:!0}),oi.subscribeOn=void 0;var t=Ze();return oi.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))}))},oi}var ci,li,ui,si={},fi={},di={};function vi(){if(ui)return di;ui=1,Object.defineProperty(di,"__esModule",{value:!0}),di.scheduleIterable=void 0;var t=Fe(),e=Dn(),r=Gt(),n=ei();return di.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()}}))},di}var pi,bi={};function hi(){if(pi)return bi;pi=1,Object.defineProperty(bi,"__esModule",{value:!0}),bi.scheduleAsyncIterable=void 0;var t=Fe(),e=ei();return bi.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)}))}))},bi}var gi,mi,xi,yi,wi={};function ji(){if(mi)return _n;mi=1,Object.defineProperty(_n,"__esModule",{value:!0}),_n.scheduled=void 0;var t=function(){if(ii)return On;ii=1,Object.defineProperty(On,"__esModule",{value:!0}),On.scheduleObservable=void 0;var t=Gn(),e=ri(),r=ai();return On.scheduleObservable=function(n,i){return t.innerFrom(n).pipe(r.subscribeOn(i),e.observeOn(i))},On}(),e=function(){if(ci)return si;ci=1,Object.defineProperty(si,"__esModule",{value:!0}),si.schedulePromise=void 0;var t=Gn(),e=ri(),r=ai();return si.schedulePromise=function(n,i){return t.innerFrom(n).pipe(r.subscribeOn(i),e.observeOn(i))},si}(),r=function(){if(li)return fi;li=1,Object.defineProperty(fi,"__esModule",{value:!0}),fi.scheduleArray=void 0;var t=Fe();return fi.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())}))}))},fi}(),n=vi(),i=hi(),o=An(),a=Tn(),c=Mn(),l=$n(),u=Wn(),s=Rn(),f=Yn(),d=function(){if(gi)return wi;gi=1,Object.defineProperty(wi,"__esModule",{value:!0}),wi.scheduleReadableStreamLike=void 0;var t=hi(),e=Yn();return wi.scheduleReadableStreamLike=function(r,n){return t.scheduleAsyncIterable(e.readableStreamLikeToAsyncGenerator(r),n)},wi}();return _n.scheduled=function(v,p){if(null!=v){if(o.isInteropObservable(v))return t.scheduleObservable(v,p);if(c.isArrayLike(v))return r.scheduleArray(v,p);if(a.isPromise(v))return e.schedulePromise(v,p);if(u.isAsyncIterable(v))return i.scheduleAsyncIterable(v,p);if(l.isIterable(v))return n.scheduleIterable(v,p);if(f.isReadableStreamLike(v))return d.scheduleReadableStreamLike(v,p)}throw s.createInvalidObservableTypeError(v)},_n}function _i(){if(xi)return jn;xi=1,Object.defineProperty(jn,"__esModule",{value:!0}),jn.from=void 0;var t=ji(),e=Gn();return jn.from=function(r,n){return n?t.scheduled(r,n):e.innerFrom(r)},jn}function Oi(){if(yi)return hn;yi=1,Object.defineProperty(hn,"__esModule",{value:!0}),hn.of=void 0;var t=yn(),e=_i();return hn.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)},hn}var ki,Ci,Mi={};function Si(){if(ki)return Mi;ki=1,Object.defineProperty(Mi,"__esModule",{value:!0}),Mi.throwError=void 0;var t=Fe(),e=Gt();return Mi.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)},Mi}function zi(){return Ci||(Ci=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.observeNotification=t.Notification=t.NotificationKind=void 0;var e,r=vn(),n=Oi(),i=Si(),o=Gt();(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 c(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 c(t,e){var r,n,i,o=t.kind,a=t.value,c=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,c):null===(i=e.complete)||void 0===i||i.call(e)}t.Notification=a,t.observeNotification=c}(fn)),fn}var Ti,Ei,Ii,Ai={},Vi={},Pi={};function Wi(){if(Ei)return Pi;Ei=1,Object.defineProperty(Pi,"__esModule",{value:!0}),Pi.EmptyError=void 0;var t=re();return Pi.EmptyError=t.createErrorClass((function(t){return function(){t(this),this.name="EmptyError",this.message="no elements in sequence"}})),Pi}var Li,Fi,Ri={},Bi={};function Ni(){if(Fi)return Bi;Fi=1,Object.defineProperty(Bi,"__esModule",{value:!0}),Bi.ArgumentOutOfRangeError=void 0;var t=re();return Bi.ArgumentOutOfRangeError=t.createErrorClass((function(t){return function(){t(this),this.name="ArgumentOutOfRangeError",this.message="argument out of range"}})),Bi}var Hi,Zi={};function Di(){if(Hi)return Zi;Hi=1,Object.defineProperty(Zi,"__esModule",{value:!0}),Zi.NotFoundError=void 0;var t=re();return Zi.NotFoundError=t.createErrorClass((function(t){return function(e){t(this),this.name="NotFoundError",this.message=e}})),Zi}var $i,qi={};function Ui(){if($i)return qi;$i=1,Object.defineProperty(qi,"__esModule",{value:!0}),qi.SequenceError=void 0;var t=re();return qi.SequenceError=t.createErrorClass((function(t){return function(e){t(this),this.name="SequenceError",this.message=e}})),qi}var Ji,Yi,Gi={},Xi={};function Ki(){return Ji||(Ji=1,Object.defineProperty(Xi,"__esModule",{value:!0}),Xi.isValidDate=void 0,Xi.isValidDate=function(t){return t instanceof Date&&!isNaN(t)}),Xi}function Qi(){return Yi||(Yi=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.timeout=t.TimeoutError=void 0;var e=Jr(),r=Ki(),n=Ze(),i=Gn(),o=re(),a=Je(),c=ei();function l(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 u=r.isValidDate(t)?{first:t}:"number"==typeof t?{each:t}:t,s=u.first,f=u.each,d=u.with,v=void 0===d?l:d,p=u.scheduler,b=void 0===p?null!=o?o:e.asyncScheduler:p,h=u.meta,g=void 0===h?null:h;if(null==s&&null==f)throw new TypeError("No timeout provided.");return n.operate((function(t,e){var r,n,o=null,l=0,u=function(t){n=c.executeSchedule(e,b,(function(){try{r.unsubscribe(),i.innerFrom(v({meta:g,lastValue:o,seen:l})).subscribe(e)}catch(t){e.error(t)}}),t)};r=t.subscribe(a.createOperatorSubscriber(e,(function(t){null==n||n.unsubscribe(),l++,e.next(o=t),f>0&&u(f)}),void 0,void 0,(function(){(null==n?void 0:n.closed)||null==n||n.unsubscribe(),o=null}))),!l&&u(null!=s?"number"==typeof s?s:+s-b.now():f)}))}}(Gi)),Gi}var to,eo,ro,no,io={},oo={},ao={},co={};function lo(){if(to)return co;to=1,Object.defineProperty(co,"__esModule",{value:!0}),co.map=void 0;var t=Ze(),e=Je();return co.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++))})))}))},co}function uo(){if(eo)return ao;eo=1;var t=ao&&ao.__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=ao&&ao.__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(ao,"__esModule",{value:!0}),ao.mapOneOrManyArgs=void 0;var r=lo(),n=Array.isArray;return ao.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)}))},ao}function so(){if(ro)return oo;ro=1;var t=oo&&oo.__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=oo&&oo.__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(oo,"__esModule",{value:!0}),oo.bindCallbackInternals=void 0;var r=xn(),n=Fe(),i=ai(),o=uo(),a=ri(),c=wr();return oo.bindCallbackInternals=function l(u,s,f,d){if(f){if(!r.isScheduler(f))return function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return l(u,s,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 l(u,s).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 c.AsyncSubject,l=!0;return new n.Observable((function(n){var o=a.subscribe(n);if(l){l=!1;var c=!1,f=!1;s.apply(r,e(e([],t(i)),[function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];if(u){var r=t.shift();if(null!=r)return void a.error(r)}a.next(1<t.length?t:t[0]),f=!0,c&&a.complete()}])),f&&a.complete(),c=!0}return o}))}},oo}var fo,vo,po={},bo={},ho={};function go(){if(vo)return ho;vo=1,Object.defineProperty(ho,"__esModule",{value:!0}),ho.argsArgArrayOrObject=void 0;var t=Array.isArray,e=Object.getPrototypeOf,r=Object.prototype,n=Object.keys;return ho.argsArgArrayOrObject=function(i){if(1===i.length){var o=i[0];if(t(o))return{args:o,keys:null};if((c=o)&&"object"==typeof c&&e(c)===r){var a=n(o);return{args:a.map((function(t){return o[t]})),keys:a}}}var c;return{args:i,keys:null}},ho}var mo,xo,yo={};function wo(){return mo||(mo=1,Object.defineProperty(yo,"__esModule",{value:!0}),yo.createObject=void 0,yo.createObject=function(t,e){return t.reduce((function(t,r,n){return t[r]=e[n],t}),{})}),yo}function jo(){if(xo)return bo;xo=1,Object.defineProperty(bo,"__esModule",{value:!0}),bo.combineLatestInit=bo.combineLatest=void 0;var t=Fe(),e=go(),r=_i(),n=We(),i=uo(),o=yn(),a=wo(),c=Je(),l=ei();function u(t,e,i){return void 0===i&&(i=n.identity),function(n){s(e,(function(){for(var o=t.length,a=new Array(o),l=o,u=o,f=function(o){s(e,(function(){var s=r.from(t[o],e),f=!1;s.subscribe(c.createOperatorSubscriber(n,(function(t){a[o]=t,f||(f=!0,u--),u||n.next(i(a.slice()))}),(function(){--l||n.complete()})))}),n)},d=0;d<o;d++)f(d)}),n)}}function s(t,e,r){t?l.executeSchedule(r,t,e):e()}return bo.combineLatest=function(){for(var c=[],l=0;l<arguments.length;l++)c[l]=arguments[l];var s=o.popScheduler(c),f=o.popResultSelector(c),d=e.argsArgArrayOrObject(c),v=d.args,p=d.keys;if(0===v.length)return r.from([],s);var b=new t.Observable(u(v,s,p?function(t){return a.createObject(p,t)}:n.identity));return f?b.pipe(i.mapOneOrManyArgs(f)):b},bo.combineLatestInit=u,bo}var _o,Oo,ko,Co,Mo,So={},zo={},To={},Eo={},Io={};function Ao(){if(_o)return Io;_o=1,Object.defineProperty(Io,"__esModule",{value:!0}),Io.mergeInternals=void 0;var t=Gn(),e=ei(),r=Je();return Io.mergeInternals=function(n,i,o,a,c,l,u,s){var f=[],d=0,v=0,p=!1,b=function(){!p||f.length||d||i.complete()},h=function(t){return d<a?g(t):f.push(t)},g=function(n){l&&i.next(n),d++;var s=!1;t.innerFrom(o(n,v++)).subscribe(r.createOperatorSubscriber(i,(function(t){null==c||c(t),l?h(t):i.next(t)}),(function(){s=!0}),void 0,(function(){if(s)try{d--;for(var t=function(){var t=f.shift();u?e.executeSchedule(i,u,(function(){return g(t)})):g(t)};f.length&&d<a;)t();b()}catch(t){i.error(t)}})))};return n.subscribe(r.createOperatorSubscriber(i,h,(function(){p=!0,b()}))),function(){null==s||s()}},Io}function Vo(){if(Oo)return Eo;Oo=1,Object.defineProperty(Eo,"__esModule",{value:!0}),Eo.mergeMap=void 0;var t=lo(),e=Gn(),r=Ze(),n=Ao(),i=Gt();return Eo.mergeMap=function o(a,c,l){return void 0===l&&(l=1/0),i.isFunction(c)?o((function(r,n){return t.map((function(t,e){return c(r,t,n,e)}))(e.innerFrom(a(r,n)))}),l):("number"==typeof c&&(l=c),r.operate((function(t,e){return n.mergeInternals(t,e,a,l)})))},Eo}function Po(){if(ko)return To;ko=1,Object.defineProperty(To,"__esModule",{value:!0}),To.mergeAll=void 0;var t=Vo(),e=We();return To.mergeAll=function(r){return void 0===r&&(r=1/0),t.mergeMap(e.identity,r)},To}function Wo(){if(Co)return zo;Co=1,Object.defineProperty(zo,"__esModule",{value:!0}),zo.concatAll=void 0;var t=Po();return zo.concatAll=function(){return t.mergeAll(1)},zo}function Lo(){if(Mo)return So;Mo=1,Object.defineProperty(So,"__esModule",{value:!0}),So.concat=void 0;var t=Wo(),e=yn(),r=_i();return So.concat=function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];return t.concatAll()(r.from(n,e.popScheduler(n)))},So}var Fo,Ro,Bo={},No={};function Ho(){if(Fo)return No;Fo=1,Object.defineProperty(No,"__esModule",{value:!0}),No.defer=void 0;var t=Fe(),e=Gn();return No.defer=function(r){return new t.Observable((function(t){e.innerFrom(r()).subscribe(t)}))},No}var Zo,Do,$o={},qo={};var Uo,Jo,Yo={},Go={};var Xo,Ko,Qo,ta={},ea={},ra={};function na(){if(Ko)return ra;Ko=1,Object.defineProperty(ra,"__esModule",{value:!0}),ra.timer=void 0;var t=Fe(),e=Jr(),r=xn(),n=Ki();return ra.timer=function(i,o,a){void 0===i&&(i=0),void 0===a&&(a=e.async);var c=-1;return null!=o&&(r.isScheduler(o)?a=o:c=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<=c?this.schedule(void 0,c):t.complete())}),e)}))},ra}function ia(){if(Qo)return ea;Qo=1,Object.defineProperty(ea,"__esModule",{value:!0}),ea.interval=void 0;var t=Jr(),e=na();return ea.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)},ea}var oa,aa,ca={},la={};function ua(){return aa||(aa=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.never=t.NEVER=void 0;var e=Fe(),r=ye();t.NEVER=new e.Observable(r.noop),t.never=function(){return t.NEVER}}(la)),la}var sa,fa,da={},va={};function pa(){if(sa)return va;sa=1,Object.defineProperty(va,"__esModule",{value:!0}),va.argsOrArgArray=void 0;var t=Array.isArray;return va.argsOrArgArray=function(e){return 1===e.length&&t(e[0])?e[0]:e},va}function ba(){if(fa)return da;fa=1,Object.defineProperty(da,"__esModule",{value:!0}),da.onErrorResumeNext=void 0;var t=Fe(),e=pa(),r=Je(),n=ye(),i=Gn();return da.onErrorResumeNext=function(){for(var o=[],a=0;a<arguments.length;a++)o[a]=arguments[a];var c=e.argsOrArgArray(o);return new t.Observable((function(t){var e=0,o=function(){if(e<c.length){var a=void 0;try{a=i.innerFrom(c[e++])}catch(t){return void o()}var l=new r.OperatorSubscriber(t,void 0,n.noop,n.noop);a.subscribe(l),l.add(o)}else t.complete()};o()}))},da}var ha,ma,xa,ya,wa={},ja={},_a={},Oa={};function ka(){if(xa)return Oa;xa=1,Object.defineProperty(Oa,"__esModule",{value:!0}),Oa.filter=void 0;var t=Ze(),e=Je();return Oa.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)})))}))},Oa}var Ca,Ma={};function Sa(){if(Ca)return Ma;Ca=1,Object.defineProperty(Ma,"__esModule",{value:!0}),Ma.raceInit=Ma.race=void 0;var t=Fe(),e=Gn(),r=pa(),n=Je();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 Ma.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))},Ma.raceInit=i,Ma}var za,Ta,Ea,Ia={},Aa={},Va={};function Pa(){if(Ea)return Va;Ea=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},e=Va&&Va.__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(Va,"__esModule",{value:!0}),Va.zip=void 0;var r=Fe(),n=Gn(),i=pa(),o=vn(),a=Je(),c=yn();return Va.zip=function(){for(var l=[],u=0;u<arguments.length;u++)l[u]=arguments[u];var s=c.popResultSelector(l),f=i.argsOrArgArray(l);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 c=function(c){n.innerFrom(f[c]).subscribe(a.createOperatorSubscriber(r,(function(n){if(i[c].push(n),i.every((function(t){return t.length}))){var a=i.map((function(t){return t.shift()}));r.next(s?s.apply(void 0,e([],t(a))):a),i.some((function(t,e){return!t.length&&o[e]}))&&r.complete()}}),(function(){o[c]=!0,!i[c].length&&r.complete()})))},l=0;!r.closed&&l<f.length;l++)c(l);return function(){i=o=null}})):o.EMPTY},Va}var Wa,La,Fa={},Ra={};function Ba(){if(La)return Ra;La=1,Object.defineProperty(Ra,"__esModule",{value:!0}),Ra.audit=void 0;var t=Ze(),e=Gn(),r=Je();return Ra.audit=function(n){return t.operate((function(t,i){var o=!1,a=null,c=null,l=!1,u=function(){if(null==c||c.unsubscribe(),c=null,o){o=!1;var t=a;a=null,i.next(t)}l&&i.complete()},s=function(){c=null,l&&i.complete()};t.subscribe(r.createOperatorSubscriber(i,(function(t){o=!0,a=t,c||e.innerFrom(n(t)).subscribe(c=r.createOperatorSubscriber(i,u,s))}),(function(){l=!0,(!o||!c||c.closed)&&i.complete()})))}))},Ra}var Na,Ha,Za,Da,$a,qa,Ua,Ja,Ya,Ga,Xa,Ka,Qa,tc={},ec={},rc={},nc={},ic={},oc={},ac={},cc={},lc={},uc={},sc={},fc={},dc={};function vc(){if(Ja)return dc;Ja=1,Object.defineProperty(dc,"__esModule",{value:!0}),dc.scanInternals=void 0;var t=Je();return dc.scanInternals=function(e,r,n,i,o){return function(a,c){var l=n,u=r,s=0;a.subscribe(t.createOperatorSubscriber(c,(function(t){var r=s++;u=l?e(u,t,r):(l=!0,t),i&&c.next(u)}),o&&function(){l&&c.next(u),c.complete()}))}},dc}function pc(){if(Ya)return fc;Ya=1,Object.defineProperty(fc,"__esModule",{value:!0}),fc.reduce=void 0;var t=vc(),e=Ze();return fc.reduce=function(r,n){return e.operate(t.scanInternals(r,n,arguments.length>=2,!1,!0))},fc}function bc(){if(Ga)return sc;Ga=1,Object.defineProperty(sc,"__esModule",{value:!0}),sc.toArray=void 0;var t=pc(),e=Ze(),r=function(t,e){return t.push(e),t};return sc.toArray=function(){return e.operate((function(e,n){t.reduce(r,[])(e).subscribe(n)}))},sc}function hc(){if(Xa)return uc;Xa=1,Object.defineProperty(uc,"__esModule",{value:!0}),uc.joinAllInternals=void 0;var t=We(),e=uo(),r=Le(),n=Vo(),i=bc();return uc.joinAllInternals=function(o,a){return r.pipe(i.toArray(),n.mergeMap((function(t){return o(t)})),a?e.mapOneOrManyArgs(a):t.identity)},uc}function gc(){if(Ka)return lc;Ka=1,Object.defineProperty(lc,"__esModule",{value:!0}),lc.combineLatestAll=void 0;var t=jo(),e=hc();return lc.combineLatestAll=function(r){return e.joinAllInternals(t.combineLatest,r)},lc}var mc,xc,yc={},wc={};var jc,_c={};function Oc(){if(jc)return _c;jc=1,Object.defineProperty(_c,"__esModule",{value:!0}),_c.concatMap=void 0;var t=Vo(),e=Gt();return _c.concatMap=function(r,n){return e.isFunction(n)?t.mergeMap(r,n,1):t.mergeMap(r,1)},_c}var kc,Cc,Mc,Sc={},zc={},Tc={};var Ec,Ic,Ac={},Vc={};function Pc(){if(Ic)return Ac;Ic=1,Object.defineProperty(Ac,"__esModule",{value:!0}),Ac.connect=void 0;var t=ur(),e=Gn(),r=Ze(),n=function(){if(Ec)return Vc;Ec=1,Object.defineProperty(Vc,"__esModule",{value:!0}),Vc.fromSubscribable=void 0;var t=Fe();return Vc.fromSubscribable=function(e){return new t.Observable((function(t){return e.subscribe(t)}))},Vc}(),i={connector:function(){return new t.Subject}};return Ac.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))}))},Ac}var Wc,Lc,Fc,Rc,Bc={},Nc={},Hc={},Zc={};function Dc(){if(Rc)return Zc;Rc=1,Object.defineProperty(Zc,"__esModule",{value:!0}),Zc.defaultIfEmpty=void 0;var t=Ze(),e=Je();return Zc.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()})))}))},Zc}var $c,qc={},Uc={},Jc={};function Yc(){if($c)return Jc;$c=1,Object.defineProperty(Jc,"__esModule",{value:!0}),Jc.take=void 0;var t=vn(),e=Ze(),r=Je();return Jc.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())})))}))},Jc}var Gc,Xc={};function Kc(){if(Gc)return Xc;Gc=1,Object.defineProperty(Xc,"__esModule",{value:!0}),Xc.ignoreElements=void 0;var t=Ze(),e=Je(),r=ye();return Xc.ignoreElements=function(){return t.operate((function(t,n){t.subscribe(e.createOperatorSubscriber(n,r.noop))}))},Xc}var Qc,tl,el,rl={};function nl(){if(Qc)return rl;Qc=1,Object.defineProperty(rl,"__esModule",{value:!0}),rl.mapTo=void 0;var t=lo();return rl.mapTo=function(e){return t.map((function(){return e}))},rl}function il(){if(tl)return Uc;tl=1,Object.defineProperty(Uc,"__esModule",{value:!0}),Uc.delayWhen=void 0;var t=Lo(),e=Yc(),r=Kc(),n=nl(),i=Vo(),o=Gn();return Uc.delayWhen=function a(c,l){return l?function(n){return t.concat(l.pipe(e.take(1),r.ignoreElements()),n.pipe(a(c)))}:i.mergeMap((function(t,r){return o.innerFrom(c(t,r)).pipe(e.take(1),n.mapTo(t))}))},Uc}var ol,al,cl,ll={},ul={},sl={};function fl(){if(cl)return sl;cl=1,Object.defineProperty(sl,"__esModule",{value:!0}),sl.distinctUntilChanged=void 0;var t=We(),e=Ze(),r=Je();function n(t,e){return t===e}return sl.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))})))}))},sl}var dl,vl,pl,bl={},hl={},gl={};function ml(){if(vl)return gl;vl=1,Object.defineProperty(gl,"__esModule",{value:!0}),gl.throwIfEmpty=void 0;var t=Wi(),e=Ze(),r=Je();function n(){return new t.EmptyError}return gl.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())})))}))},gl}var xl,yl,wl,jl,_l,Ol={},kl={},Cl={},Ml={},Sl={};function zl(){if(wl)return Sl;wl=1,Object.defineProperty(Sl,"__esModule",{value:!0}),Sl.exhaustMap=void 0;var t=lo(),e=Gn(),r=Ze(),n=Je();return Sl.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,c=!1;t.subscribe(n.createOperatorSubscriber(r,(function(t){a||(a=n.createOperatorSubscriber(r,void 0,(function(){a=null,c&&r.complete()})),e.innerFrom(o(t,i++)).subscribe(a))}),(function(){c=!0,!a&&r.complete()})))}))},Sl}function Tl(){if(jl)return Ml;jl=1,Object.defineProperty(Ml,"__esModule",{value:!0}),Ml.exhaustAll=void 0;var t=zl(),e=We();return Ml.exhaustAll=function(){return t.exhaustMap(e.identity)},Ml}var El,Il,Al,Vl={},Pl={},Wl={};function Ll(){if(Al)return Wl;Al=1,Object.defineProperty(Wl,"__esModule",{value:!0}),Wl.createFind=Wl.find=void 0;var t=Ze(),e=Je();function r(t,r,n){var i="index"===n;return function(n,o){var a=0;n.subscribe(e.createOperatorSubscriber(o,(function(e){var c=a++;t.call(r,e,c,n)&&(o.next(i?c:e),o.complete())}),(function(){o.next(i?-1:void 0),o.complete()})))}}return Wl.find=function(e,n){return t.operate(r(e,n,"value"))},Wl.createFind=r,Wl}var Fl,Rl,Bl,Nl={},Hl={},Zl={};var Dl,$l,ql,Ul={},Jl={},Yl={};function Gl(){if($l)return Yl;$l=1;var t=Yl&&Yl.__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(Yl,"__esModule",{value:!0}),Yl.takeLast=void 0;var e=vn(),r=Ze(),n=Je();return Yl.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})))}))},Yl}var Xl,Kl,Ql,tu,eu,ru,nu,iu={},ou={},au={},cu={},lu={},uu={},su={};var fu,du,vu={},pu={};function bu(){if(du)return pu;du=1,Object.defineProperty(pu,"__esModule",{value:!0}),pu.multicast=void 0;var t=Ge(),e=Gt(),r=Pc();return pu.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)}},pu}var hu,gu,mu,xu,yu,wu,ju,_u,Ou,ku,Cu={},Mu={},Su={},zu={},Tu={},Eu={},Iu={},Au={},Vu={},Pu={};var Wu,Lu,Fu,Ru={},Bu={},Nu={};function Hu(){if(Fu)return Nu;Fu=1,Object.defineProperty(Nu,"__esModule",{value:!0}),Nu.sample=void 0;var t=Gn(),e=Ze(),r=ye(),n=Je();return Nu.sample=function(i){return e.operate((function(e,o){var a=!1,c=null;e.subscribe(n.createOperatorSubscriber(o,(function(t){a=!0,c=t}))),t.innerFrom(i).subscribe(n.createOperatorSubscriber(o,(function(){if(a){a=!1;var t=c;c=null,o.next(t)}}),r.noop))}))},Nu}var Zu,Du,$u,qu,Uu={},Ju={},Yu={},Gu={};function Xu(){if(qu)return Gu;qu=1;var t=Gu&&Gu.__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=Gu&&Gu.__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(Gu,"__esModule",{value:!0}),Gu.share=void 0;var r=Gn(),n=ur(),i=Me(),o=Ze();function a(n,o){for(var a=[],c=2;c<arguments.length;c++)a[c-2]=arguments[c];if(!0!==o){if(!1!==o){var l=new i.SafeSubscriber({next:function(){l.unsubscribe(),n()}});return r.innerFrom(o.apply(void 0,e([],t(a)))).subscribe(l)}}else n()}return Gu.share=function(t){void 0===t&&(t={});var e=t.connector,c=void 0===e?function(){return new n.Subject}:e,l=t.resetOnError,u=void 0===l||l,s=t.resetOnComplete,f=void 0===s||s,d=t.resetOnRefCountZero,v=void 0===d||d;return function(t){var e,n,l,s=0,d=!1,p=!1,b=function(){null==n||n.unsubscribe(),n=void 0},h=function(){b(),e=l=void 0,d=p=!1},g=function(){var t=e;h(),null==t||t.unsubscribe()};return o.operate((function(t,o){s++,p||d||b();var m=l=null!=l?l:c();o.add((function(){0!=--s||p||d||(n=a(g,v))})),m.subscribe(o),!e&&s>0&&(e=new i.SafeSubscriber({next:function(t){return m.next(t)},error:function(t){p=!0,b(),n=a(h,u,t),m.error(t)},complete:function(){d=!0,b(),n=a(h,f),m.complete()}}),r.innerFrom(t).subscribe(e))}))(t)}},Gu}var Ku,Qu,ts,es,rs,ns,is,os,as,cs={},ls={},us={},ss={},fs={},ds={},vs={},ps={},bs={};function hs(){if(os)return bs;os=1,Object.defineProperty(bs,"__esModule",{value:!0}),bs.switchMap=void 0;var t=Gn(),e=Ze(),r=Je();return bs.switchMap=function(n,i){return e.operate((function(e,o){var a=null,c=0,l=!1,u=function(){return l&&!a&&o.complete()};e.subscribe(r.createOperatorSubscriber(o,(function(e){null==a||a.unsubscribe();var l=0,s=c++;t.innerFrom(n(e,s)).subscribe(a=r.createOperatorSubscriber(o,(function(t){return o.next(i?i(e,t,s,l++):t)}),(function(){a=null,u()})))}),(function(){l=!0,u()})))}))},bs}var gs,ms,xs,ys,ws,js,_s={},Os={},ks={},Cs={},Ms={},Ss={};function zs(){if(js)return Ss;js=1,Object.defineProperty(Ss,"__esModule",{value:!0}),Ss.throttle=void 0;var t=Ze(),e=Je(),r=Gn();return Ss.throttle=function(n,i){return t.operate((function(t,o){var a=null!=i?i:{},c=a.leading,l=void 0===c||c,u=a.trailing,s=void 0!==u&&u,f=!1,d=null,v=null,p=!1,b=function(){null==v||v.unsubscribe(),v=null,s&&(m(),p&&o.complete())},h=function(){v=null,p&&o.complete()},g=function(t){return v=r.innerFrom(n(t)).subscribe(e.createOperatorSubscriber(o,b,h))},m=function(){if(f){f=!1;var t=d;d=null,o.next(t),!p&&g(t)}};t.subscribe(e.createOperatorSubscriber(o,(function(t){f=!0,d=t,(!v||v.closed)&&(l?m():g(t))}),(function(){p=!0,(!(s&&f&&v)||v.closed)&&o.complete()})))}))},Ss}var Ts,Es,Is,As,Vs,Ps,Ws,Ls,Fs,Rs,Bs,Ns,Hs,Zs,Ds={},$s={},qs={},Us={},Js={},Ys={},Gs={},Xs={},Ks={},Qs={},tf={},ef={},rf={};function nf(){return Zs||(Zs=1,function(t){var e=qt&&qt.__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=qt&&qt.__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=Fe();Object.defineProperty(t,"Observable",{enumerable:!0,get:function(){return n.Observable}});var i=Ge();Object.defineProperty(t,"ConnectableObservable",{enumerable:!0,get:function(){return i.ConnectableObservable}});var o=Te();Object.defineProperty(t,"observable",{enumerable:!0,get:function(){return o.observable}});var a=function(){if(Qe)return tr;Qe=1,Object.defineProperty(tr,"__esModule",{value:!0}),tr.animationFrames=void 0;var t,e=Fe(),r=(Xe||(Xe=1,t=er,Object.defineProperty(t,"__esModule",{value:!0}),t.performanceTimestampProvider=void 0,t.performanceTimestampProvider={now:function(){return(t.performanceTimestampProvider.delegate||performance).now()},delegate:void 0}),er),n=nr();function i(t){return new e.Observable((function(e){var i=t||r.performanceTimestampProvider,o=i.now(),a=0,c=function(){e.closed||(a=n.animationFrameProvider.requestAnimationFrame((function(r){a=0;var n=i.now();e.next({timestamp:t?n:r,elapsed:n-o}),c()})))};return c(),function(){a&&n.animationFrameProvider.cancelAnimationFrame(a)}}))}tr.animationFrames=function(t){return t?i(t):o};var o=i();return tr}();Object.defineProperty(t,"animationFrames",{enumerable:!0,get:function(){return a.animationFrames}});var c=ur();Object.defineProperty(t,"Subject",{enumerable:!0,get:function(){return c.Subject}});var l=dr();Object.defineProperty(t,"BehaviorSubject",{enumerable:!0,get:function(){return l.BehaviorSubject}});var u=mr();Object.defineProperty(t,"ReplaySubject",{enumerable:!0,get:function(){return u.ReplaySubject}});var s=wr();Object.defineProperty(t,"AsyncSubject",{enumerable:!0,get:function(){return s.AsyncSubject}});var f=$r();Object.defineProperty(t,"asap",{enumerable:!0,get:function(){return f.asap}}),Object.defineProperty(t,"asapScheduler",{enumerable:!0,get:function(){return f.asapScheduler}});var d=Jr();Object.defineProperty(t,"async",{enumerable:!0,get:function(){return d.async}}),Object.defineProperty(t,"asyncScheduler",{enumerable:!0,get:function(){return d.asyncScheduler}});var v=(Xr||(Xr=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.queue=t.queueScheduler=void 0;var e=function(){if(Yr)return Qr;Yr=1;var t,e=Qr&&Qr.__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(Qr,"__esModule",{value:!0}),Qr.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}(Tr().AsyncAction);return Qr.QueueAction=r,Qr}(),r=function(){if(Gr)return tn;Gr=1;var t,e=tn&&tn.__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(tn,"__esModule",{value:!0}),tn.QueueScheduler=void 0;var r=function(t){function r(){return null!==t&&t.apply(this,arguments)||this}return e(r,t),r}(Dr().AsyncScheduler);return tn.QueueScheduler=r,tn}();t.queueScheduler=new r.QueueScheduler(e.QueueAction),t.queue=t.queueScheduler}(Kr)),Kr);Object.defineProperty(t,"queue",{enumerable:!0,get:function(){return v.queue}}),Object.defineProperty(t,"queueScheduler",{enumerable:!0,get:function(){return v.queueScheduler}});var p=(nn||(nn=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.animationFrame=t.animationFrameScheduler=void 0;var e=function(){if(en)return an;en=1;var t,e=an&&an.__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(an,"__esModule",{value:!0}),an.AnimationFrameAction=void 0;var r=Tr(),n=nr(),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 an.AnimationFrameAction=i,an}(),r=function(){if(rn)return cn;rn=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.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}(Dr().AsyncScheduler);return cn.AnimationFrameScheduler=r,cn}();t.animationFrameScheduler=new r.AnimationFrameScheduler(e.AnimationFrameAction),t.animationFrame=t.animationFrameScheduler}(on)),on);Object.defineProperty(t,"animationFrame",{enumerable:!0,get:function(){return p.animationFrame}}),Object.defineProperty(t,"animationFrameScheduler",{enumerable:!0,get:function(){return p.animationFrameScheduler}});var b=function(){if(ln)return sn;ln=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.VirtualAction=sn.VirtualTimeScheduler=void 0;var r=Tr(),n=le(),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}(Dr().AsyncScheduler);sn.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 sn.VirtualAction=o,sn}();Object.defineProperty(t,"VirtualTimeScheduler",{enumerable:!0,get:function(){return b.VirtualTimeScheduler}}),Object.defineProperty(t,"VirtualAction",{enumerable:!0,get:function(){return b.VirtualAction}});var h=Zr();Object.defineProperty(t,"Scheduler",{enumerable:!0,get:function(){return h.Scheduler}});var g=le();Object.defineProperty(t,"Subscription",{enumerable:!0,get:function(){return g.Subscription}});var m=Me();Object.defineProperty(t,"Subscriber",{enumerable:!0,get:function(){return m.Subscriber}});var x=zi();Object.defineProperty(t,"Notification",{enumerable:!0,get:function(){return x.Notification}}),Object.defineProperty(t,"NotificationKind",{enumerable:!0,get:function(){return x.NotificationKind}});var y=Le();Object.defineProperty(t,"pipe",{enumerable:!0,get:function(){return y.pipe}});var w=ye();Object.defineProperty(t,"noop",{enumerable:!0,get:function(){return w.noop}});var j=We();Object.defineProperty(t,"identity",{enumerable:!0,get:function(){return j.identity}});var _=function(){if(Ti)return Ai;Ti=1,Object.defineProperty(Ai,"__esModule",{value:!0}),Ai.isObservable=void 0;var t=Fe(),e=Gt();return Ai.isObservable=function(r){return!!r&&(r instanceof t.Observable||e.isFunction(r.lift)&&e.isFunction(r.subscribe))},Ai}();Object.defineProperty(t,"isObservable",{enumerable:!0,get:function(){return _.isObservable}});var O=function(){if(Ii)return Vi;Ii=1,Object.defineProperty(Vi,"__esModule",{value:!0}),Vi.lastValueFrom=void 0;var t=Wi();return Vi.lastValueFrom=function(e,r){var n="object"==typeof r;return new Promise((function(i,o){var a,c=!1;e.subscribe({next:function(t){a=t,c=!0},error:o,complete:function(){c?i(a):n?i(r.defaultValue):o(new t.EmptyError)}})}))},Vi}();Object.defineProperty(t,"lastValueFrom",{enumerable:!0,get:function(){return O.lastValueFrom}});var k=function(){if(Li)return Ri;Li=1,Object.defineProperty(Ri,"__esModule",{value:!0}),Ri.firstValueFrom=void 0;var t=Wi(),e=Me();return Ri.firstValueFrom=function(r,n){var i="object"==typeof n;return new Promise((function(o,a){var c=new e.SafeSubscriber({next:function(t){o(t),c.unsubscribe()},error:a,complete:function(){i?o(n.defaultValue):a(new t.EmptyError)}});r.subscribe(c)}))},Ri}();Object.defineProperty(t,"firstValueFrom",{enumerable:!0,get:function(){return k.firstValueFrom}});var C=Ni();Object.defineProperty(t,"ArgumentOutOfRangeError",{enumerable:!0,get:function(){return C.ArgumentOutOfRangeError}});var M=Wi();Object.defineProperty(t,"EmptyError",{enumerable:!0,get:function(){return M.EmptyError}});var S=Di();Object.defineProperty(t,"NotFoundError",{enumerable:!0,get:function(){return S.NotFoundError}});var z=lr();Object.defineProperty(t,"ObjectUnsubscribedError",{enumerable:!0,get:function(){return z.ObjectUnsubscribedError}});var T=Ui();Object.defineProperty(t,"SequenceError",{enumerable:!0,get:function(){return T.SequenceError}});var E=Qi();Object.defineProperty(t,"TimeoutError",{enumerable:!0,get:function(){return E.TimeoutError}});var I=ne();Object.defineProperty(t,"UnsubscriptionError",{enumerable:!0,get:function(){return I.UnsubscriptionError}});var A=function(){if(no)return io;no=1,Object.defineProperty(io,"__esModule",{value:!0}),io.bindCallback=void 0;var t=so();return io.bindCallback=function(e,r,n){return t.bindCallbackInternals(!1,e,r,n)},io}();Object.defineProperty(t,"bindCallback",{enumerable:!0,get:function(){return A.bindCallback}});var V=function(){if(fo)return po;fo=1,Object.defineProperty(po,"__esModule",{value:!0}),po.bindNodeCallback=void 0;var t=so();return po.bindNodeCallback=function(e,r,n){return t.bindCallbackInternals(!0,e,r,n)},po}();Object.defineProperty(t,"bindNodeCallback",{enumerable:!0,get:function(){return V.bindNodeCallback}});var P=jo();Object.defineProperty(t,"combineLatest",{enumerable:!0,get:function(){return P.combineLatest}});var W=Lo();Object.defineProperty(t,"concat",{enumerable:!0,get:function(){return W.concat}});var L=function(){if(Ro)return Bo;Ro=1,Object.defineProperty(Bo,"__esModule",{value:!0}),Bo.connectable=void 0;var t=ur(),e=Fe(),r=Ho(),n={connector:function(){return new t.Subject},resetOnDisconnect:!0};return Bo.connectable=function(t,i){void 0===i&&(i=n);var o=null,a=i.connector,c=i.resetOnDisconnect,l=void 0===c||c,u=a(),s=new e.Observable((function(t){return u.subscribe(t)}));return s.connect=function(){return o&&!o.closed||(o=r.defer((function(){return t})).subscribe(u),l&&o.add((function(){return u=a()}))),o},s},Bo}();Object.defineProperty(t,"connectable",{enumerable:!0,get:function(){return L.connectable}});var F=Ho();Object.defineProperty(t,"defer",{enumerable:!0,get:function(){return F.defer}});var R=vn();Object.defineProperty(t,"empty",{enumerable:!0,get:function(){return R.empty}});var B=function(){if(Zo)return $o;Zo=1,Object.defineProperty($o,"__esModule",{value:!0}),$o.forkJoin=void 0;var t=Fe(),e=go(),r=Gn(),n=yn(),i=Je(),o=uo(),a=wo();return $o.forkJoin=function(){for(var c=[],l=0;l<arguments.length;l++)c[l]=arguments[l];var u=n.popResultSelector(c),s=e.argsArgArrayOrObject(c),f=s.args,d=s.keys,v=new t.Observable((function(t){var e=f.length;if(e)for(var n=new Array(e),o=e,c=e,l=function(e){var l=!1;r.innerFrom(f[e]).subscribe(i.createOperatorSubscriber(t,(function(t){l||(l=!0,c--),n[e]=t}),(function(){return o--}),void 0,(function(){o&&l||(c||t.next(d?a.createObject(d,n):n),t.complete())})))},u=0;u<e;u++)l(u);else t.complete()}));return u?v.pipe(o.mapOneOrManyArgs(u)):v},$o}();Object.defineProperty(t,"forkJoin",{enumerable:!0,get:function(){return B.forkJoin}});var N=_i();Object.defineProperty(t,"from",{enumerable:!0,get:function(){return N.from}});var H=function(){if(Do)return qo;Do=1;var t=qo&&qo.__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(qo,"__esModule",{value:!0}),qo.fromEvent=void 0;var e=Gn(),r=Fe(),n=Vo(),i=Mn(),o=Gt(),a=uo(),c=["addListener","removeListener"],l=["addEventListener","removeEventListener"],u=["on","off"];function s(t,e){return function(r){return function(n){return t[r](e,n)}}}return qo.fromEvent=function f(d,v,p,b){if(o.isFunction(p)&&(b=p,p=void 0),b)return f(d,v,p).pipe(a.mapOneOrManyArgs(b));var h=t(function(t){return o.isFunction(t.addEventListener)&&o.isFunction(t.removeEventListener)}(d)?l.map((function(t){return function(e){return d[t](v,e,p)}})):function(t){return o.isFunction(t.addListener)&&o.isFunction(t.removeListener)}(d)?c.map(s(d,v)):function(t){return o.isFunction(t.on)&&o.isFunction(t.off)}(d)?u.map(s(d,v)):[],2),g=h[0],m=h[1];if(!g&&i.isArrayLike(d))return n.mergeMap((function(t){return f(t,v,p)}))(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)}}))},qo}();Object.defineProperty(t,"fromEvent",{enumerable:!0,get:function(){return H.fromEvent}});var Z=function(){if(Uo)return Yo;Uo=1,Object.defineProperty(Yo,"__esModule",{value:!0}),Yo.fromEventPattern=void 0;var t=Fe(),e=Gt(),r=uo();return Yo.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}))},Yo}();Object.defineProperty(t,"fromEventPattern",{enumerable:!0,get:function(){return Z.fromEventPattern}});var D=function(){if(Jo)return Go;Jo=1;var t=Go&&Go.__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:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function c(o){return function(c){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,c])}}};Object.defineProperty(Go,"__esModule",{value:!0}),Go.generate=void 0;var e=We(),r=xn(),n=Ho(),i=vi();return Go.generate=function(o,a,c,l,u){var s,f,d,v;function p(){var e;return t(this,(function(t){switch(t.label){case 0:e=v,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=c(e),[3,1];case 4:return[2]}}))}return 1===arguments.length?(v=(s=o).initialState,a=s.condition,c=s.iterate,d=void 0===(f=s.resultSelector)?e.identity:f,u=s.scheduler):(v=o,!l||r.isScheduler(l)?(d=e.identity,u=l):d=l),n.defer(u?function(){return i.scheduleIterable(p(),u)}:p)},Go}();Object.defineProperty(t,"generate",{enumerable:!0,get:function(){return D.generate}});var $=function(){if(Xo)return ta;Xo=1,Object.defineProperty(ta,"__esModule",{value:!0}),ta.iif=void 0;var t=Ho();return ta.iif=function(e,r,n){return t.defer((function(){return e()?r:n}))},ta}();Object.defineProperty(t,"iif",{enumerable:!0,get:function(){return $.iif}});var q=ia();Object.defineProperty(t,"interval",{enumerable:!0,get:function(){return q.interval}});var U=function(){if(oa)return ca;oa=1,Object.defineProperty(ca,"__esModule",{value:!0}),ca.merge=void 0;var t=Po(),e=Gn(),r=vn(),n=yn(),i=_i();return ca.merge=function(){for(var o=[],a=0;a<arguments.length;a++)o[a]=arguments[a];var c=n.popScheduler(o),l=n.popNumber(o,1/0),u=o;return u.length?1===u.length?e.innerFrom(u[0]):t.mergeAll(l)(i.from(u,c)):r.EMPTY},ca}();Object.defineProperty(t,"merge",{enumerable:!0,get:function(){return U.merge}});var J=ua();Object.defineProperty(t,"never",{enumerable:!0,get:function(){return J.never}});var Y=Oi();Object.defineProperty(t,"of",{enumerable:!0,get:function(){return Y.of}});var G=ba();Object.defineProperty(t,"onErrorResumeNext",{enumerable:!0,get:function(){return G.onErrorResumeNext}});var X=function(){if(ha)return wa;ha=1,Object.defineProperty(wa,"__esModule",{value:!0}),wa.pairs=void 0;var t=_i();return wa.pairs=function(e,r){return t.from(Object.entries(e),r)},wa}();Object.defineProperty(t,"pairs",{enumerable:!0,get:function(){return X.pairs}});var K=function(){if(ya)return ja;ya=1,Object.defineProperty(ja,"__esModule",{value:!0}),ja.partition=void 0;var t=(ma||(ma=1,Object.defineProperty(_a,"__esModule",{value:!0}),_a.not=void 0,_a.not=function(t,e){return function(r,n){return!t.call(e,r,n)}}),_a),e=ka(),r=Gn();return ja.partition=function(n,i,o){return[e.filter(i,o)(r.innerFrom(n)),e.filter(t.not(i,o))(r.innerFrom(n))]},ja}();Object.defineProperty(t,"partition",{enumerable:!0,get:function(){return K.partition}});var Q=Sa();Object.defineProperty(t,"race",{enumerable:!0,get:function(){return Q.race}});var tt=function(){if(za)return Ia;za=1,Object.defineProperty(Ia,"__esModule",{value:!0}),Ia.range=void 0;var t=Fe(),e=vn();return Ia.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()})},Ia}();Object.defineProperty(t,"range",{enumerable:!0,get:function(){return tt.range}});var et=Si();Object.defineProperty(t,"throwError",{enumerable:!0,get:function(){return et.throwError}});var rt=na();Object.defineProperty(t,"timer",{enumerable:!0,get:function(){return rt.timer}});var nt=function(){if(Ta)return Aa;Ta=1,Object.defineProperty(Aa,"__esModule",{value:!0}),Aa.using=void 0;var t=Fe(),e=Gn(),r=vn();return Aa.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()}}))},Aa}();Object.defineProperty(t,"using",{enumerable:!0,get:function(){return nt.using}});var it=Pa();Object.defineProperty(t,"zip",{enumerable:!0,get:function(){return it.zip}});var ot=ji();Object.defineProperty(t,"scheduled",{enumerable:!0,get:function(){return ot.scheduled}});var at=vn();Object.defineProperty(t,"EMPTY",{enumerable:!0,get:function(){return at.EMPTY}});var ct=ua();Object.defineProperty(t,"NEVER",{enumerable:!0,get:function(){return ct.NEVER}}),r((Wa||(Wa=1,Object.defineProperty(Fa,"__esModule",{value:!0})),Fa),t);var lt=fe();Object.defineProperty(t,"config",{enumerable:!0,get:function(){return lt.config}});var ut=Ba();Object.defineProperty(t,"audit",{enumerable:!0,get:function(){return ut.audit}});var st=function(){if(Na)return tc;Na=1,Object.defineProperty(tc,"__esModule",{value:!0}),tc.auditTime=void 0;var t=Jr(),e=Ba(),r=na();return tc.auditTime=function(n,i){return void 0===i&&(i=t.asyncScheduler),e.audit((function(){return r.timer(n,i)}))},tc}();Object.defineProperty(t,"auditTime",{enumerable:!0,get:function(){return st.auditTime}});var ft=function(){if(Ha)return ec;Ha=1,Object.defineProperty(ec,"__esModule",{value:!0}),ec.buffer=void 0;var t=Ze(),e=ye(),r=Je(),n=Gn();return ec.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}}))},ec}();Object.defineProperty(t,"buffer",{enumerable:!0,get:function(){return ft.buffer}});var dt=function(){if(Za)return rc;Za=1;var t=rc&&rc.__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(rc,"__esModule",{value:!0}),rc.bufferCount=void 0;var e=Ze(),r=Je(),n=ce();return rc.bufferCount=function(i,o){return void 0===o&&(o=null),o=null!=o?o:i,e.operate((function(e,a){var c=[],l=0;e.subscribe(r.createOperatorSubscriber(a,(function(e){var r,u,s,f,d=null;l++%o==0&&c.push([]);try{for(var v=t(c),p=v.next();!p.done;p=v.next())(g=p.value).push(e),i<=g.length&&(d=null!=d?d:[]).push(g)}catch(t){r={error:t}}finally{try{p&&!p.done&&(u=v.return)&&u.call(v)}finally{if(r)throw r.error}}if(d)try{for(var b=t(d),h=b.next();!h.done;h=b.next()){var g;n.arrRemove(c,g=h.value),a.next(g)}}catch(t){s={error:t}}finally{try{h&&!h.done&&(f=b.return)&&f.call(b)}finally{if(s)throw s.error}}}),(function(){var e,r;try{for(var n=t(c),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(){c=null})))}))},rc}();Object.defineProperty(t,"bufferCount",{enumerable:!0,get:function(){return dt.bufferCount}});var vt=function(){if(Da)return nc;Da=1;var t=nc&&nc.__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(nc,"__esModule",{value:!0}),nc.bufferTime=void 0;var e=le(),r=Ze(),n=Je(),i=ce(),o=Jr(),a=yn(),c=ei();return nc.bufferTime=function(l){for(var u,s,f=[],d=1;d<arguments.length;d++)f[d-1]=arguments[d];var v=null!==(u=a.popScheduler(f))&&void 0!==u?u:o.asyncScheduler,p=null!==(s=f[0])&&void 0!==s?s:null,b=f[1]||1/0;return r.operate((function(r,o){var a=[],u=!1,s=function(t){var e=t.buffer;t.subs.unsubscribe(),i.arrRemove(a,t),o.next(e),u&&f()},f=function(){if(a){var t=new e.Subscription;o.add(t);var r={buffer:[],subs:t};a.push(r),c.executeSchedule(t,v,(function(){return s(r)}),l)}};null!==p&&p>=0?c.executeSchedule(o,v,f,p,!0):u=!0,f();var d=n.createOperatorSubscriber(o,(function(e){var r,n,i=a.slice();try{for(var o=t(i),c=o.next();!c.done;c=o.next()){var l=c.value,u=l.buffer;u.push(e),b<=u.length&&s(l)}}catch(t){r={error:t}}finally{try{c&&!c.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)}))},nc}();Object.defineProperty(t,"bufferTime",{enumerable:!0,get:function(){return vt.bufferTime}});var pt=function(){if($a)return ic;$a=1;var t=ic&&ic.__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(ic,"__esModule",{value:!0}),ic.bufferToggle=void 0;var e=le(),r=Ze(),n=Gn(),i=Je(),o=ye(),a=ce();return ic.bufferToggle=function(c,l){return r.operate((function(r,u){var s=[];n.innerFrom(c).subscribe(i.createOperatorSubscriber(u,(function(t){var r=[];s.push(r);var c=new e.Subscription;c.add(n.innerFrom(l(t)).subscribe(i.createOperatorSubscriber(u,(function(){a.arrRemove(s,r),u.next(r),c.unsubscribe()}),o.noop)))}),o.noop)),r.subscribe(i.createOperatorSubscriber(u,(function(e){var r,n;try{for(var i=t(s),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(;s.length>0;)u.next(s.shift());u.complete()})))}))},ic}();Object.defineProperty(t,"bufferToggle",{enumerable:!0,get:function(){return pt.bufferToggle}});var bt=function(){if(qa)return oc;qa=1,Object.defineProperty(oc,"__esModule",{value:!0}),oc.bufferWhen=void 0;var t=Ze(),e=ye(),r=Je(),n=Gn();return oc.bufferWhen=function(i){return t.operate((function(t,o){var a=null,c=null,l=function(){null==c||c.unsubscribe();var t=a;a=[],t&&o.next(t),n.innerFrom(i()).subscribe(c=r.createOperatorSubscriber(o,l,e.noop))};l(),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=c=null})))}))},oc}();Object.defineProperty(t,"bufferWhen",{enumerable:!0,get:function(){return bt.bufferWhen}});var ht=function(){if(Ua)return ac;Ua=1,Object.defineProperty(ac,"__esModule",{value:!0}),ac.catchError=void 0;var t=Gn(),e=Je(),r=Ze();return ac.catchError=function n(i){return r.operate((function(r,o){var a,c=null,l=!1;c=r.subscribe(e.createOperatorSubscriber(o,void 0,void 0,(function(e){a=t.innerFrom(i(e,n(i)(r))),c?(c.unsubscribe(),c=null,a.subscribe(o)):l=!0}))),l&&(c.unsubscribe(),c=null,a.subscribe(o))}))},ac}();Object.defineProperty(t,"catchError",{enumerable:!0,get:function(){return ht.catchError}});var gt=function(){if(Qa)return cc;Qa=1,Object.defineProperty(cc,"__esModule",{value:!0}),cc.combineAll=void 0;var t=gc();return cc.combineAll=t.combineLatestAll,cc}();Object.defineProperty(t,"combineAll",{enumerable:!0,get:function(){return gt.combineAll}});var mt=gc();Object.defineProperty(t,"combineLatestAll",{enumerable:!0,get:function(){return mt.combineLatestAll}});var xt=function(){if(xc)return yc;xc=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.combineLatestWith=void 0;var r=function(){if(mc)return wc;mc=1;var t=wc&&wc.__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=wc&&wc.__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(wc,"__esModule",{value:!0}),wc.combineLatest=void 0;var r=jo(),n=Ze(),i=pa(),o=uo(),a=Le(),c=yn();return wc.combineLatest=function l(){for(var u=[],s=0;s<arguments.length;s++)u[s]=arguments[s];var f=c.popResultSelector(u);return f?a.pipe(l.apply(void 0,e([],t(u))),o.mapOneOrManyArgs(f)):n.operate((function(n,o){r.combineLatestInit(e([n],t(i.argsOrArgArray(u))))(o)}))},wc}();return yc.combineLatestWith=function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];return r.combineLatest.apply(void 0,e([],t(n)))},yc}();Object.defineProperty(t,"combineLatestWith",{enumerable:!0,get:function(){return xt.combineLatestWith}});var yt=Wo();Object.defineProperty(t,"concatAll",{enumerable:!0,get:function(){return yt.concatAll}});var wt=Oc();Object.defineProperty(t,"concatMap",{enumerable:!0,get:function(){return wt.concatMap}});var jt=function(){if(kc)return Sc;kc=1,Object.defineProperty(Sc,"__esModule",{value:!0}),Sc.concatMapTo=void 0;var t=Oc(),e=Gt();return Sc.concatMapTo=function(r,n){return e.isFunction(n)?t.concatMap((function(){return r}),n):t.concatMap((function(){return r}))},Sc}();Object.defineProperty(t,"concatMapTo",{enumerable:!0,get:function(){return jt.concatMapTo}});var _t=function(){if(Mc)return zc;Mc=1;var t=zc&&zc.__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=zc&&zc.__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(zc,"__esModule",{value:!0}),zc.concatWith=void 0;var r=function(){if(Cc)return Tc;Cc=1;var t=Tc&&Tc.__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=Tc&&Tc.__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(Tc,"__esModule",{value:!0}),Tc.concat=void 0;var r=Ze(),n=Wo(),i=yn(),o=_i();return Tc.concat=function(){for(var a=[],c=0;c<arguments.length;c++)a[c]=arguments[c];var l=i.popScheduler(a);return r.operate((function(r,i){n.concatAll()(o.from(e([r],t(a)),l)).subscribe(i)}))},Tc}();return zc.concatWith=function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];return r.concat.apply(void 0,e([],t(n)))},zc}();Object.defineProperty(t,"concatWith",{enumerable:!0,get:function(){return _t.concatWith}});var Ot=Pc();Object.defineProperty(t,"connect",{enumerable:!0,get:function(){return Ot.connect}});var kt=function(){if(Wc)return Bc;Wc=1,Object.defineProperty(Bc,"__esModule",{value:!0}),Bc.count=void 0;var t=pc();return Bc.count=function(e){return t.reduce((function(t,r,n){return!e||e(r,n)?t+1:t}),0)},Bc}();Object.defineProperty(t,"count",{enumerable:!0,get:function(){return kt.count}});var Ct=function(){if(Lc)return Nc;Lc=1,Object.defineProperty(Nc,"__esModule",{value:!0}),Nc.debounce=void 0;var t=Ze(),e=ye(),r=Je(),n=Gn();return Nc.debounce=function(i){return t.operate((function(t,o){var a=!1,c=null,l=null,u=function(){if(null==l||l.unsubscribe(),l=null,a){a=!1;var t=c;c=null,o.next(t)}};t.subscribe(r.createOperatorSubscriber(o,(function(t){null==l||l.unsubscribe(),a=!0,c=t,l=r.createOperatorSubscriber(o,u,e.noop),n.innerFrom(i(t)).subscribe(l)}),(function(){u(),o.complete()}),void 0,(function(){c=l=null})))}))},Nc}();Object.defineProperty(t,"debounce",{enumerable:!0,get:function(){return Ct.debounce}});var Mt=function(){if(Fc)return Hc;Fc=1,Object.defineProperty(Hc,"__esModule",{value:!0}),Hc.debounceTime=void 0;var t=Jr(),e=Ze(),r=Je();return Hc.debounceTime=function(n,i){return void 0===i&&(i=t.asyncScheduler),e.operate((function(t,e){var o=null,a=null,c=null,l=function(){if(o){o.unsubscribe(),o=null;var t=a;a=null,e.next(t)}};function u(){var t=c+n,r=i.now();if(r<t)return o=this.schedule(void 0,t-r),void e.add(o);l()}t.subscribe(r.createOperatorSubscriber(e,(function(t){a=t,c=i.now(),o||(o=i.schedule(u,n),e.add(o))}),(function(){l(),e.complete()}),void 0,(function(){a=o=null})))}))},Hc}();Object.defineProperty(t,"debounceTime",{enumerable:!0,get:function(){return Mt.debounceTime}});var St=Dc();Object.defineProperty(t,"defaultIfEmpty",{enumerable:!0,get:function(){return St.defaultIfEmpty}});var zt=function(){if(el)return qc;el=1,Object.defineProperty(qc,"__esModule",{value:!0}),qc.delay=void 0;var t=Jr(),e=il(),r=na();return qc.delay=function(n,i){void 0===i&&(i=t.asyncScheduler);var o=r.timer(n,i);return e.delayWhen((function(){return o}))},qc}();Object.defineProperty(t,"delay",{enumerable:!0,get:function(){return zt.delay}});var Tt=il();Object.defineProperty(t,"delayWhen",{enumerable:!0,get:function(){return Tt.delayWhen}});var Et=function(){if(ol)return ll;ol=1,Object.defineProperty(ll,"__esModule",{value:!0}),ll.dematerialize=void 0;var t=zi(),e=Ze(),r=Je();return ll.dematerialize=function(){return e.operate((function(e,n){e.subscribe(r.createOperatorSubscriber(n,(function(e){return t.observeNotification(e,n)})))}))},ll}();Object.defineProperty(t,"dematerialize",{enumerable:!0,get:function(){return Et.dematerialize}});var It=function(){if(al)return ul;al=1,Object.defineProperty(ul,"__esModule",{value:!0}),ul.distinct=void 0;var t=Ze(),e=Je(),r=ye(),n=Gn();return ul.distinct=function(i,o){return t.operate((function(t,a){var c=new Set;t.subscribe(e.createOperatorSubscriber(a,(function(t){var e=i?i(t):t;c.has(e)||(c.add(e),a.next(t))}))),o&&n.innerFrom(o).subscribe(e.createOperatorSubscriber(a,(function(){return c.clear()}),r.noop))}))},ul}();Object.defineProperty(t,"distinct",{enumerable:!0,get:function(){return It.distinct}});var At=fl();Object.defineProperty(t,"distinctUntilChanged",{enumerable:!0,get:function(){return At.distinctUntilChanged}});var Vt=function(){if(dl)return bl;dl=1,Object.defineProperty(bl,"__esModule",{value:!0}),bl.distinctUntilKeyChanged=void 0;var t=fl();return bl.distinctUntilKeyChanged=function(e,r){return t.distinctUntilChanged((function(t,n){return r?r(t[e],n[e]):t[e]===n[e]}))},bl}();Object.defineProperty(t,"distinctUntilKeyChanged",{enumerable:!0,get:function(){return Vt.distinctUntilKeyChanged}});var Pt=function(){if(pl)return hl;pl=1,Object.defineProperty(hl,"__esModule",{value:!0}),hl.elementAt=void 0;var t=Ni(),e=ka(),r=ml(),n=Dc(),i=Yc();return hl.elementAt=function(o,a){if(o<0)throw new t.ArgumentOutOfRangeError;var c=arguments.length>=2;return function(l){return l.pipe(e.filter((function(t,e){return e===o})),i.take(1),c?n.defaultIfEmpty(a):r.throwIfEmpty((function(){return new t.ArgumentOutOfRangeError})))}},hl}();Object.defineProperty(t,"elementAt",{enumerable:!0,get:function(){return Pt.elementAt}});var Wt=function(){if(xl)return Ol;xl=1;var t=Ol&&Ol.__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=Ol&&Ol.__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(Ol,"__esModule",{value:!0}),Ol.endWith=void 0;var r=Lo(),n=Oi();return Ol.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))))}},Ol}();Object.defineProperty(t,"endWith",{enumerable:!0,get:function(){return Wt.endWith}});var Lt=function(){if(yl)return kl;yl=1,Object.defineProperty(kl,"__esModule",{value:!0}),kl.every=void 0;var t=Ze(),e=Je();return kl.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()})))}))},kl}();Object.defineProperty(t,"every",{enumerable:!0,get:function(){return Lt.every}});var Ft=function(){if(_l)return Cl;_l=1,Object.defineProperty(Cl,"__esModule",{value:!0}),Cl.exhaust=void 0;var t=Tl();return Cl.exhaust=t.exhaustAll,Cl}();Object.defineProperty(t,"exhaust",{enumerable:!0,get:function(){return Ft.exhaust}});var Rt=Tl();Object.defineProperty(t,"exhaustAll",{enumerable:!0,get:function(){return Rt.exhaustAll}});var Bt=zl();Object.defineProperty(t,"exhaustMap",{enumerable:!0,get:function(){return Bt.exhaustMap}});var Nt=function(){if(El)return Vl;El=1,Object.defineProperty(Vl,"__esModule",{value:!0}),Vl.expand=void 0;var t=Ze(),e=Ao();return Vl.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)}))},Vl}();Object.defineProperty(t,"expand",{enumerable:!0,get:function(){return Nt.expand}});var Ht=ka();Object.defineProperty(t,"filter",{enumerable:!0,get:function(){return Ht.filter}});var Zt=function(){if(Il)return Pl;Il=1,Object.defineProperty(Pl,"__esModule",{value:!0}),Pl.finalize=void 0;var t=Ze();return Pl.finalize=function(e){return t.operate((function(t,r){try{t.subscribe(r)}finally{r.add(e)}}))},Pl}();Object.defineProperty(t,"finalize",{enumerable:!0,get:function(){return Zt.finalize}});var Dt=Ll();Object.defineProperty(t,"find",{enumerable:!0,get:function(){return Dt.find}});var $t=function(){if(Fl)return Nl;Fl=1,Object.defineProperty(Nl,"__esModule",{value:!0}),Nl.findIndex=void 0;var t=Ze(),e=Ll();return Nl.findIndex=function(r,n){return t.operate(e.createFind(r,n,"index"))},Nl}();Object.defineProperty(t,"findIndex",{enumerable:!0,get:function(){return $t.findIndex}});var Ut=function(){if(Rl)return Hl;Rl=1,Object.defineProperty(Hl,"__esModule",{value:!0}),Hl.first=void 0;var t=Wi(),e=ka(),r=Yc(),n=Dc(),i=ml(),o=We();return Hl.first=function(a,c){var l=arguments.length>=2;return function(u){return u.pipe(a?e.filter((function(t,e){return a(t,e,u)})):o.identity,r.take(1),l?n.defaultIfEmpty(c):i.throwIfEmpty((function(){return new t.EmptyError})))}},Hl}();Object.defineProperty(t,"first",{enumerable:!0,get:function(){return Ut.first}});var Jt=function(){if(Bl)return Zl;Bl=1,Object.defineProperty(Zl,"__esModule",{value:!0}),Zl.groupBy=void 0;var t=Fe(),e=Gn(),r=ur(),n=Ze(),i=Je();return Zl.groupBy=function(o,a,c,l){return n.operate((function(n,u){var s;a&&"function"!=typeof a?(c=a.duration,s=a.element,l=a.connector):s=a;var f=new Map,d=function(t){f.forEach(t),t(u)},v=function(t){return d((function(e){return e.error(t)}))},p=0,b=!1,h=new i.OperatorSubscriber(u,(function(n){try{var a=o(n),d=f.get(a);if(!d){f.set(a,d=l?l():new r.Subject);var g=(x=a,y=d,(w=new t.Observable((function(t){p++;var e=y.subscribe(t);return function(){e.unsubscribe(),0==--p&&b&&h.unsubscribe()}}))).key=x,w);if(u.next(g),c){var m=i.createOperatorSubscriber(d,(function(){d.complete(),null==m||m.unsubscribe()}),void 0,void 0,(function(){return f.delete(a)}));h.add(e.innerFrom(c(g)).subscribe(m))}}d.next(s?s(n):n)}catch(t){v(t)}var x,y,w}),(function(){return d((function(t){return t.complete()}))}),v,(function(){return f.clear()}),(function(){return b=!0,0===p}));n.subscribe(h)}))},Zl}();Object.defineProperty(t,"groupBy",{enumerable:!0,get:function(){return Jt.groupBy}});var Yt=Kc();Object.defineProperty(t,"ignoreElements",{enumerable:!0,get:function(){return Yt.ignoreElements}});var Xt=function(){if(Dl)return Ul;Dl=1,Object.defineProperty(Ul,"__esModule",{value:!0}),Ul.isEmpty=void 0;var t=Ze(),e=Je();return Ul.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()})))}))},Ul}();Object.defineProperty(t,"isEmpty",{enumerable:!0,get:function(){return Xt.isEmpty}});var Kt=function(){if(ql)return Jl;ql=1,Object.defineProperty(Jl,"__esModule",{value:!0}),Jl.last=void 0;var t=Wi(),e=ka(),r=Gl(),n=ml(),i=Dc(),o=We();return Jl.last=function(a,c){var l=arguments.length>=2;return function(u){return u.pipe(a?e.filter((function(t,e){return a(t,e,u)})):o.identity,r.takeLast(1),l?i.defaultIfEmpty(c):n.throwIfEmpty((function(){return new t.EmptyError})))}},Jl}();Object.defineProperty(t,"last",{enumerable:!0,get:function(){return Kt.last}});var Qt=lo();Object.defineProperty(t,"map",{enumerable:!0,get:function(){return Qt.map}});var te=nl();Object.defineProperty(t,"mapTo",{enumerable:!0,get:function(){return te.mapTo}});var ee=function(){if(Xl)return iu;Xl=1,Object.defineProperty(iu,"__esModule",{value:!0}),iu.materialize=void 0;var t=zi(),e=Ze(),r=Je();return iu.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()})))}))},iu}();Object.defineProperty(t,"materialize",{enumerable:!0,get:function(){return ee.materialize}});var re=function(){if(Kl)return ou;Kl=1,Object.defineProperty(ou,"__esModule",{value:!0}),ou.max=void 0;var t=pc(),e=Gt();return ou.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})},ou}();Object.defineProperty(t,"max",{enumerable:!0,get:function(){return re.max}});var ie=Po();Object.defineProperty(t,"mergeAll",{enumerable:!0,get:function(){return ie.mergeAll}});var oe=function(){if(Ql)return au;Ql=1,Object.defineProperty(au,"__esModule",{value:!0}),au.flatMap=void 0;var t=Vo();return au.flatMap=t.mergeMap,au}();Object.defineProperty(t,"flatMap",{enumerable:!0,get:function(){return oe.flatMap}});var ae=Vo();Object.defineProperty(t,"mergeMap",{enumerable:!0,get:function(){return ae.mergeMap}});var ue=function(){if(tu)return cu;tu=1,Object.defineProperty(cu,"__esModule",{value:!0}),cu.mergeMapTo=void 0;var t=Vo(),e=Gt();return cu.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))},cu}();Object.defineProperty(t,"mergeMapTo",{enumerable:!0,get:function(){return ue.mergeMapTo}});var se=function(){if(eu)return lu;eu=1,Object.defineProperty(lu,"__esModule",{value:!0}),lu.mergeScan=void 0;var t=Ze(),e=Ao();return lu.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}))}))},lu}();Object.defineProperty(t,"mergeScan",{enumerable:!0,get:function(){return se.mergeScan}});var de=function(){if(nu)return uu;nu=1;var t=uu&&uu.__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=uu&&uu.__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(uu,"__esModule",{value:!0}),uu.mergeWith=void 0;var r=function(){if(ru)return su;ru=1;var t=su&&su.__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=su&&su.__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(su,"__esModule",{value:!0}),su.merge=void 0;var r=Ze(),n=Po(),i=yn(),o=_i();return su.merge=function(){for(var a=[],c=0;c<arguments.length;c++)a[c]=arguments[c];var l=i.popScheduler(a),u=i.popNumber(a,1/0);return r.operate((function(r,i){n.mergeAll(u)(o.from(e([r],t(a)),l)).subscribe(i)}))},su}();return uu.mergeWith=function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];return r.merge.apply(void 0,e([],t(n)))},uu}();Object.defineProperty(t,"mergeWith",{enumerable:!0,get:function(){return de.mergeWith}});var ve=function(){if(fu)return vu;fu=1,Object.defineProperty(vu,"__esModule",{value:!0}),vu.min=void 0;var t=pc(),e=Gt();return vu.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})},vu}();Object.defineProperty(t,"min",{enumerable:!0,get:function(){return ve.min}});var pe=bu();Object.defineProperty(t,"multicast",{enumerable:!0,get:function(){return pe.multicast}});var be=ri();Object.defineProperty(t,"observeOn",{enumerable:!0,get:function(){return be.observeOn}});var he=function(){if(hu)return Cu;hu=1;var t=Cu&&Cu.__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=Cu&&Cu.__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(Cu,"__esModule",{value:!0}),Cu.onErrorResumeNext=Cu.onErrorResumeNextWith=void 0;var r=pa(),n=ba();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 Cu.onErrorResumeNextWith=i,Cu.onErrorResumeNext=i,Cu}();Object.defineProperty(t,"onErrorResumeNextWith",{enumerable:!0,get:function(){return he.onErrorResumeNextWith}});var ge=function(){if(gu)return Mu;gu=1,Object.defineProperty(Mu,"__esModule",{value:!0}),Mu.pairwise=void 0;var t=Ze(),e=Je();return Mu.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})))}))},Mu}();Object.defineProperty(t,"pairwise",{enumerable:!0,get:function(){return ge.pairwise}});var me=function(){if(mu)return Su;mu=1,Object.defineProperty(Su,"__esModule",{value:!0}),Su.pluck=void 0;var t=lo();return Su.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}))},Su}();Object.defineProperty(t,"pluck",{enumerable:!0,get:function(){return me.pluck}});var xe=function(){if(xu)return zu;xu=1,Object.defineProperty(zu,"__esModule",{value:!0}),zu.publish=void 0;var t=ur(),e=bu(),r=Pc();return zu.publish=function(n){return n?function(t){return r.connect(n)(t)}:function(r){return e.multicast(new t.Subject)(r)}},zu}();Object.defineProperty(t,"publish",{enumerable:!0,get:function(){return xe.publish}});var we=function(){if(yu)return Tu;yu=1,Object.defineProperty(Tu,"__esModule",{value:!0}),Tu.publishBehavior=void 0;var t=dr(),e=Ge();return Tu.publishBehavior=function(r){return function(n){var i=new t.BehaviorSubject(r);return new e.ConnectableObservable(n,(function(){return i}))}},Tu}();Object.defineProperty(t,"publishBehavior",{enumerable:!0,get:function(){return we.publishBehavior}});var je=function(){if(wu)return Eu;wu=1,Object.defineProperty(Eu,"__esModule",{value:!0}),Eu.publishLast=void 0;var t=wr(),e=Ge();return Eu.publishLast=function(){return function(r){var n=new t.AsyncSubject;return new e.ConnectableObservable(r,(function(){return n}))}},Eu}();Object.defineProperty(t,"publishLast",{enumerable:!0,get:function(){return je.publishLast}});var _e=function(){if(ju)return Iu;ju=1,Object.defineProperty(Iu,"__esModule",{value:!0}),Iu.publishReplay=void 0;var t=mr(),e=bu(),r=Gt();return Iu.publishReplay=function(n,i,o,a){o&&!r.isFunction(o)&&(a=o);var c=r.isFunction(o)?o:void 0;return function(r){return e.multicast(new t.ReplaySubject(n,i,a),c)(r)}},Iu}();Object.defineProperty(t,"publishReplay",{enumerable:!0,get:function(){return _e.publishReplay}});var Oe=function(){if(_u)return Au;_u=1;var t=Au&&Au.__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=Au&&Au.__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(Au,"__esModule",{value:!0}),Au.raceWith=void 0;var r=Sa(),n=Ze(),i=We();return Au.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},Au}();Object.defineProperty(t,"raceWith",{enumerable:!0,get:function(){return Oe.raceWith}});var ke=pc();Object.defineProperty(t,"reduce",{enumerable:!0,get:function(){return ke.reduce}});var Ce=function(){if(Ou)return Vu;Ou=1,Object.defineProperty(Vu,"__esModule",{value:!0}),Vu.repeat=void 0;var t=vn(),e=Ze(),r=Je(),n=Gn(),i=na();return Vu.repeat=function(o){var a,c,l=1/0;return null!=o&&("object"==typeof o?(l=void 0===(a=o.count)?1/0:a,c=o.delay):l=o),l<=0?function(){return t.EMPTY}:e.operate((function(t,e){var o,a=0,u=function(){if(null==o||o.unsubscribe(),o=null,null!=c){var t="number"==typeof c?i.timer(c):n.innerFrom(c(a)),l=r.createOperatorSubscriber(e,(function(){l.unsubscribe(),s()}));t.subscribe(l)}else s()},s=function(){var n=!1;o=t.subscribe(r.createOperatorSubscriber(e,void 0,(function(){++a<l?o?u():n=!0:e.complete()}))),n&&u()};s()}))},Vu}();Object.defineProperty(t,"repeat",{enumerable:!0,get:function(){return Ce.repeat}});var Se=function(){if(ku)return Pu;ku=1,Object.defineProperty(Pu,"__esModule",{value:!0}),Pu.repeatWhen=void 0;var t=Gn(),e=ur(),r=Ze(),n=Je();return Pu.repeatWhen=function(i){return r.operate((function(r,o){var a,c,l=!1,u=!1,s=!1,f=function(){return s&&u&&(o.complete(),!0)},d=function(){s=!1,a=r.subscribe(n.createOperatorSubscriber(o,void 0,(function(){s=!0,!f()&&(c||(c=new e.Subject,t.innerFrom(i(c)).subscribe(n.createOperatorSubscriber(o,(function(){a?d():l=!0}),(function(){u=!0,f()})))),c).next()}))),l&&(a.unsubscribe(),a=null,l=!1,d())};d()}))},Pu}();Object.defineProperty(t,"repeatWhen",{enumerable:!0,get:function(){return Se.repeatWhen}});var ze=function(){if(Wu)return Ru;Wu=1,Object.defineProperty(Ru,"__esModule",{value:!0}),Ru.retry=void 0;var t=Ze(),e=Je(),r=We(),n=na(),i=Gn();return Ru.retry=function(o){var a;void 0===o&&(o=1/0);var c=(a=o&&"object"==typeof o?o:{count:o}).count,l=void 0===c?1/0:c,u=a.delay,s=a.resetOnSuccess,f=void 0!==s&&s;return l<=0?r.identity:t.operate((function(t,r){var o,a=0,c=function(){var s=!1;o=t.subscribe(e.createOperatorSubscriber(r,(function(t){f&&(a=0),r.next(t)}),void 0,(function(t){if(a++<l){var f=function(){o?(o.unsubscribe(),o=null,c()):s=!0};if(null!=u){var d="number"==typeof u?n.timer(u):i.innerFrom(u(t,a)),v=e.createOperatorSubscriber(r,(function(){v.unsubscribe(),f()}),(function(){r.complete()}));d.subscribe(v)}else f()}else r.error(t)}))),s&&(o.unsubscribe(),o=null,c())};c()}))},Ru}();Object.defineProperty(t,"retry",{enumerable:!0,get:function(){return ze.retry}});var Ee=function(){if(Lu)return Bu;Lu=1,Object.defineProperty(Bu,"__esModule",{value:!0}),Bu.retryWhen=void 0;var t=Gn(),e=ur(),r=Ze(),n=Je();return Bu.retryWhen=function(i){return r.operate((function(r,o){var a,c,l=!1,u=function(){a=r.subscribe(n.createOperatorSubscriber(o,void 0,void 0,(function(r){c||(c=new e.Subject,t.innerFrom(i(c)).subscribe(n.createOperatorSubscriber(o,(function(){return a?u():l=!0})))),c&&c.next(r)}))),l&&(a.unsubscribe(),a=null,l=!1,u())};u()}))},Bu}();Object.defineProperty(t,"retryWhen",{enumerable:!0,get:function(){return Ee.retryWhen}});var Ie=Ye();Object.defineProperty(t,"refCount",{enumerable:!0,get:function(){return Ie.refCount}});var Ae=Hu();Object.defineProperty(t,"sample",{enumerable:!0,get:function(){return Ae.sample}});var Ve=function(){if(Zu)return Uu;Zu=1,Object.defineProperty(Uu,"__esModule",{value:!0}),Uu.sampleTime=void 0;var t=Jr(),e=Hu(),r=ia();return Uu.sampleTime=function(n,i){return void 0===i&&(i=t.asyncScheduler),e.sample(r.interval(n,i))},Uu}();Object.defineProperty(t,"sampleTime",{enumerable:!0,get:function(){return Ve.sampleTime}});var Pe=function(){if(Du)return Ju;Du=1,Object.defineProperty(Ju,"__esModule",{value:!0}),Ju.scan=void 0;var t=Ze(),e=vc();return Ju.scan=function(r,n){return t.operate(e.scanInternals(r,n,arguments.length>=2,!0))},Ju}();Object.defineProperty(t,"scan",{enumerable:!0,get:function(){return Pe.scan}});var Re=function(){if($u)return Yu;$u=1,Object.defineProperty(Yu,"__esModule",{value:!0}),Yu.sequenceEqual=void 0;var t=Ze(),e=Je(),r=Gn();return Yu.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},c={buffer:[],complete:!1},l=function(t){o.next(t),o.complete()},u=function(t,r){var n=e.createOperatorSubscriber(o,(function(e){var n=r.buffer;0===n.length?r.complete?l(!1):t.buffer.push(e):!i(e,n.shift())&&l(!1)}),(function(){t.complete=!0,r.complete&&l(0===r.buffer.length),null==n||n.unsubscribe()}));return n};t.subscribe(u(a,c)),r.innerFrom(n).subscribe(u(c,a))}))},Yu}();Object.defineProperty(t,"sequenceEqual",{enumerable:!0,get:function(){return Re.sequenceEqual}});var Be=Xu();Object.defineProperty(t,"share",{enumerable:!0,get:function(){return Be.share}});var Ne=function(){if(Ku)return cs;Ku=1,Object.defineProperty(cs,"__esModule",{value:!0}),cs.shareReplay=void 0;var t=mr(),e=Xu();return cs.shareReplay=function(r,n,i){var o,a,c,l,u=!1;return r&&"object"==typeof r?(l=void 0===(o=r.bufferSize)?1/0:o,n=void 0===(a=r.windowTime)?1/0:a,u=void 0!==(c=r.refCount)&&c,i=r.scheduler):l=null!=r?r:1/0,e.share({connector:function(){return new t.ReplaySubject(l,n,i)},resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:u})},cs}();Object.defineProperty(t,"shareReplay",{enumerable:!0,get:function(){return Ne.shareReplay}});var He=function(){if(Qu)return ls;Qu=1,Object.defineProperty(ls,"__esModule",{value:!0}),ls.single=void 0;var t=Wi(),e=Ui(),r=Di(),n=Ze(),i=Je();return ls.single=function(o){return n.operate((function(n,a){var c,l=!1,u=!1,s=0;n.subscribe(i.createOperatorSubscriber(a,(function(t){u=!0,o&&!o(t,s++,n)||(l&&a.error(new e.SequenceError("Too many matching values")),l=!0,c=t)}),(function(){l?(a.next(c),a.complete()):a.error(u?new r.NotFoundError("No matching values"):new t.EmptyError)})))}))},ls}();Object.defineProperty(t,"single",{enumerable:!0,get:function(){return He.single}});var De=function(){if(ts)return us;ts=1,Object.defineProperty(us,"__esModule",{value:!0}),us.skip=void 0;var t=ka();return us.skip=function(e){return t.filter((function(t,r){return e<=r}))},us}();Object.defineProperty(t,"skip",{enumerable:!0,get:function(){return De.skip}});var $e=function(){if(es)return ss;es=1,Object.defineProperty(ss,"__esModule",{value:!0}),ss.skipLast=void 0;var t=We(),e=Ze(),r=Je();return ss.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,c=i[a];i[a]=t,e.next(c)}}))),function(){i=null}}))},ss}();Object.defineProperty(t,"skipLast",{enumerable:!0,get:function(){return $e.skipLast}});var qe=function(){if(rs)return fs;rs=1,Object.defineProperty(fs,"__esModule",{value:!0}),fs.skipUntil=void 0;var t=Ze(),e=Je(),r=Gn(),n=ye();return fs.skipUntil=function(i){return t.operate((function(t,o){var a=!1,c=e.createOperatorSubscriber(o,(function(){null==c||c.unsubscribe(),a=!0}),n.noop);r.innerFrom(i).subscribe(c),t.subscribe(e.createOperatorSubscriber(o,(function(t){return a&&o.next(t)})))}))},fs}();Object.defineProperty(t,"skipUntil",{enumerable:!0,get:function(){return qe.skipUntil}});var Ue=function(){if(ns)return ds;ns=1,Object.defineProperty(ds,"__esModule",{value:!0}),ds.skipWhile=void 0;var t=Ze(),e=Je();return ds.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)})))}))},ds}();Object.defineProperty(t,"skipWhile",{enumerable:!0,get:function(){return Ue.skipWhile}});var Ke=function(){if(is)return vs;is=1,Object.defineProperty(vs,"__esModule",{value:!0}),vs.startWith=void 0;var t=Lo(),e=yn(),r=Ze();return vs.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)}))},vs}();Object.defineProperty(t,"startWith",{enumerable:!0,get:function(){return Ke.startWith}});var rr=ai();Object.defineProperty(t,"subscribeOn",{enumerable:!0,get:function(){return rr.subscribeOn}});var ir=function(){if(as)return ps;as=1,Object.defineProperty(ps,"__esModule",{value:!0}),ps.switchAll=void 0;var t=hs(),e=We();return ps.switchAll=function(){return t.switchMap(e.identity)},ps}();Object.defineProperty(t,"switchAll",{enumerable:!0,get:function(){return ir.switchAll}});var or=hs();Object.defineProperty(t,"switchMap",{enumerable:!0,get:function(){return or.switchMap}});var ar=function(){if(gs)return _s;gs=1,Object.defineProperty(_s,"__esModule",{value:!0}),_s.switchMapTo=void 0;var t=hs(),e=Gt();return _s.switchMapTo=function(r,n){return e.isFunction(n)?t.switchMap((function(){return r}),n):t.switchMap((function(){return r}))},_s}();Object.defineProperty(t,"switchMapTo",{enumerable:!0,get:function(){return ar.switchMapTo}});var cr=function(){if(ms)return Os;ms=1,Object.defineProperty(Os,"__esModule",{value:!0}),Os.switchScan=void 0;var t=hs(),e=Ze();return Os.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}}))},Os}();Object.defineProperty(t,"switchScan",{enumerable:!0,get:function(){return cr.switchScan}});var sr=Yc();Object.defineProperty(t,"take",{enumerable:!0,get:function(){return sr.take}});var fr=Gl();Object.defineProperty(t,"takeLast",{enumerable:!0,get:function(){return fr.takeLast}});var vr=function(){if(xs)return ks;xs=1,Object.defineProperty(ks,"__esModule",{value:!0}),ks.takeUntil=void 0;var t=Ze(),e=Je(),r=Gn(),n=ye();return ks.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)}))},ks}();Object.defineProperty(t,"takeUntil",{enumerable:!0,get:function(){return vr.takeUntil}});var pr=function(){if(ys)return Cs;ys=1,Object.defineProperty(Cs,"__esModule",{value:!0}),Cs.takeWhile=void 0;var t=Ze(),e=Je();return Cs.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()})))}))},Cs}();Object.defineProperty(t,"takeWhile",{enumerable:!0,get:function(){return pr.takeWhile}});var br=function(){if(ws)return Ms;ws=1,Object.defineProperty(Ms,"__esModule",{value:!0}),Ms.tap=void 0;var t=Gt(),e=Ze(),r=Je(),n=We();return Ms.tap=function(i,o,a){var c=t.isFunction(i)||o||a?{next:i,error:o,complete:a}:i;return c?e.operate((function(t,e){var n;null===(n=c.subscribe)||void 0===n||n.call(c);var i=!0;t.subscribe(r.createOperatorSubscriber(e,(function(t){var r;null===(r=c.next)||void 0===r||r.call(c,t),e.next(t)}),(function(){var t;i=!1,null===(t=c.complete)||void 0===t||t.call(c),e.complete()}),(function(t){var r;i=!1,null===(r=c.error)||void 0===r||r.call(c,t),e.error(t)}),(function(){var t,e;i&&(null===(t=c.unsubscribe)||void 0===t||t.call(c)),null===(e=c.finalize)||void 0===e||e.call(c)})))})):n.identity},Ms}();Object.defineProperty(t,"tap",{enumerable:!0,get:function(){return br.tap}});var hr=zs();Object.defineProperty(t,"throttle",{enumerable:!0,get:function(){return hr.throttle}});var xr=function(){if(Ts)return Ds;Ts=1,Object.defineProperty(Ds,"__esModule",{value:!0}),Ds.throttleTime=void 0;var t=Jr(),e=zs(),r=na();return Ds.throttleTime=function(n,i,o){void 0===i&&(i=t.asyncScheduler);var a=r.timer(n,i);return e.throttle((function(){return a}),o)},Ds}();Object.defineProperty(t,"throttleTime",{enumerable:!0,get:function(){return xr.throttleTime}});var yr=ml();Object.defineProperty(t,"throwIfEmpty",{enumerable:!0,get:function(){return yr.throwIfEmpty}});var jr=function(){if(Es)return $s;Es=1,Object.defineProperty($s,"__esModule",{value:!0}),$s.TimeInterval=$s.timeInterval=void 0;var t=Jr(),e=Ze(),r=Je();$s.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 $s.TimeInterval=n,$s}();Object.defineProperty(t,"timeInterval",{enumerable:!0,get:function(){return jr.timeInterval}});var _r=Qi();Object.defineProperty(t,"timeout",{enumerable:!0,get:function(){return _r.timeout}});var Or=function(){if(Is)return qs;Is=1,Object.defineProperty(qs,"__esModule",{value:!0}),qs.timeoutWith=void 0;var t=Jr(),e=Ki(),r=Qi();return qs.timeoutWith=function(n,i,o){var a,c,l;if(o=null!=o?o:t.async,e.isValidDate(n)?a=n:"number"==typeof n&&(c=n),!i)throw new TypeError("No observable provided to switch to");if(l=function(){return i},null==a&&null==c)throw new TypeError("No timeout provided.");return r.timeout({first:a,each:c,scheduler:o,with:l})},qs}();Object.defineProperty(t,"timeoutWith",{enumerable:!0,get:function(){return Or.timeoutWith}});var kr=function(){if(As)return Us;As=1,Object.defineProperty(Us,"__esModule",{value:!0}),Us.timestamp=void 0;var t=gr(),e=lo();return Us.timestamp=function(r){return void 0===r&&(r=t.dateTimestampProvider),e.map((function(t){return{value:t,timestamp:r.now()}}))},Us}();Object.defineProperty(t,"timestamp",{enumerable:!0,get:function(){return kr.timestamp}});var Cr=bc();Object.defineProperty(t,"toArray",{enumerable:!0,get:function(){return Cr.toArray}});var Mr=function(){if(Vs)return Js;Vs=1,Object.defineProperty(Js,"__esModule",{value:!0}),Js.window=void 0;var t=ur(),e=Ze(),r=Je(),n=ye(),i=Gn();return Js.window=function(o){return e.operate((function(e,a){var c=new t.Subject;a.next(c.asObservable());var l=function(t){c.error(t),a.error(t)};return e.subscribe(r.createOperatorSubscriber(a,(function(t){return null==c?void 0:c.next(t)}),(function(){c.complete(),a.complete()}),l)),i.innerFrom(o).subscribe(r.createOperatorSubscriber(a,(function(){c.complete(),a.next(c=new t.Subject)}),n.noop,l)),function(){null==c||c.unsubscribe(),c=null}}))},Js}();Object.defineProperty(t,"window",{enumerable:!0,get:function(){return Mr.window}});var Sr=function(){if(Ps)return Ys;Ps=1;var t=Ys&&Ys.__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(Ys,"__esModule",{value:!0}),Ys.windowCount=void 0;var e=ur(),r=Ze(),n=Je();return Ys.windowCount=function(i,o){void 0===o&&(o=0);var a=o>0?o:i;return r.operate((function(r,o){var c=[new e.Subject],l=0;o.next(c[0].asObservable()),r.subscribe(n.createOperatorSubscriber(o,(function(r){var n,u;try{for(var s=t(c),f=s.next();!f.done;f=s.next())f.value.next(r)}catch(t){n={error:t}}finally{try{f&&!f.done&&(u=s.return)&&u.call(s)}finally{if(n)throw n.error}}var d=l-i+1;if(d>=0&&d%a==0&&c.shift().complete(),++l%a==0){var v=new e.Subject;c.push(v),o.next(v.asObservable())}}),(function(){for(;c.length>0;)c.shift().complete();o.complete()}),(function(t){for(;c.length>0;)c.shift().error(t);o.error(t)}),(function(){c=null})))}))},Ys}();Object.defineProperty(t,"windowCount",{enumerable:!0,get:function(){return Sr.windowCount}});var zr=function(){if(Ws)return Gs;Ws=1,Object.defineProperty(Gs,"__esModule",{value:!0}),Gs.windowTime=void 0;var t=ur(),e=Jr(),r=le(),n=Ze(),i=Je(),o=ce(),a=yn(),c=ei();return Gs.windowTime=function(l){for(var u,s,f=[],d=1;d<arguments.length;d++)f[d-1]=arguments[d];var v=null!==(u=a.popScheduler(f))&&void 0!==u?u:e.asyncScheduler,p=null!==(s=f[0])&&void 0!==s?s:null,b=f[1]||1/0;return n.operate((function(e,n){var a=[],u=!1,s=function(t){var e=t.subs;t.window.complete(),e.unsubscribe(),o.arrRemove(a,t),u&&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()),c.executeSchedule(e,v,(function(){return s(o)}),l)}};null!==p&&p>=0?c.executeSchedule(n,v,f,p,!0):u=!0,f();var d=function(t){return a.slice().forEach(t)},h=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),b<=++e.seen&&s(e)}))}),(function(){return h((function(t){return t.complete()}))}),(function(t){return h((function(e){return e.error(t)}))}))),function(){a=null}}))},Gs}();Object.defineProperty(t,"windowTime",{enumerable:!0,get:function(){return zr.windowTime}});var Er=function(){if(Ls)return Xs;Ls=1;var t=Xs&&Xs.__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(Xs,"__esModule",{value:!0}),Xs.windowToggle=void 0;var e=ur(),r=le(),n=Ze(),i=Gn(),o=Je(),a=ye(),c=ce();return Xs.windowToggle=function(l,u){return n.operate((function(n,s){var f=[],d=function(t){for(;0<f.length;)f.shift().error(t);s.error(t)};i.innerFrom(l).subscribe(o.createOperatorSubscriber(s,(function(t){var n=new e.Subject;f.push(n);var l,v=new r.Subscription;try{l=i.innerFrom(u(t))}catch(t){return void d(t)}s.next(n.asObservable()),v.add(l.subscribe(o.createOperatorSubscriber(s,(function(){c.arrRemove(f,n),n.complete(),v.unsubscribe()}),a.noop,d)))}),a.noop)),n.subscribe(o.createOperatorSubscriber(s,(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();s.complete()}),d,(function(){for(;0<f.length;)f.shift().unsubscribe()})))}))},Xs}();Object.defineProperty(t,"windowToggle",{enumerable:!0,get:function(){return Er.windowToggle}});var Ir=function(){if(Fs)return Ks;Fs=1,Object.defineProperty(Ks,"__esModule",{value:!0}),Ks.windowWhen=void 0;var t=ur(),e=Ze(),r=Je(),n=Gn();return Ks.windowWhen=function(i){return e.operate((function(e,o){var a,c,l=function(t){a.error(t),o.error(t)},u=function(){var e;null==c||c.unsubscribe(),null==a||a.complete(),a=new t.Subject,o.next(a.asObservable());try{e=n.innerFrom(i())}catch(t){return void l(t)}e.subscribe(c=r.createOperatorSubscriber(o,u,u,l))};u(),e.subscribe(r.createOperatorSubscriber(o,(function(t){return a.next(t)}),(function(){a.complete(),o.complete()}),l,(function(){null==c||c.unsubscribe(),a=null})))}))},Ks}();Object.defineProperty(t,"windowWhen",{enumerable:!0,get:function(){return Ir.windowWhen}});var Ar=function(){if(Rs)return Qs;Rs=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.withLatestFrom=void 0;var r=Ze(),n=Je(),i=Gn(),o=We(),a=ye(),c=yn();return Qs.withLatestFrom=function(){for(var l=[],u=0;u<arguments.length;u++)l[u]=arguments[u];var s=c.popResultSelector(l);return r.operate((function(r,c){for(var u=l.length,f=new Array(u),d=l.map((function(){return!1})),v=!1,p=function(t){i.innerFrom(l[t]).subscribe(n.createOperatorSubscriber(c,(function(e){f[t]=e,v||d[t]||(d[t]=!0,(v=d.every(o.identity))&&(d=null))}),a.noop))},b=0;b<u;b++)p(b);r.subscribe(n.createOperatorSubscriber(c,(function(r){if(v){var n=e([r],t(f));c.next(s?s.apply(void 0,e([],t(n))):n)}})))}))},Qs}();Object.defineProperty(t,"withLatestFrom",{enumerable:!0,get:function(){return Ar.withLatestFrom}});var Vr=function(){if(Bs)return tf;Bs=1,Object.defineProperty(tf,"__esModule",{value:!0}),tf.zipAll=void 0;var t=Pa(),e=hc();return tf.zipAll=function(r){return e.joinAllInternals(t.zip,r)},tf}();Object.defineProperty(t,"zipAll",{enumerable:!0,get:function(){return Vr.zipAll}});var Pr=function(){if(Hs)return ef;Hs=1;var t=ef&&ef.__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=ef&&ef.__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(ef,"__esModule",{value:!0}),ef.zipWith=void 0;var r=function(){if(Ns)return rf;Ns=1;var t=rf&&rf.__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=rf&&rf.__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(rf,"__esModule",{value:!0}),rf.zip=void 0;var r=Pa(),n=Ze();return rf.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)}))},rf}();return ef.zipWith=function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];return r.zip.apply(void 0,e([],t(n)))},ef}();Object.defineProperty(t,"zipWith",{enumerable:!0,get:function(){return Pr.zipWith}})}(qt)),qt}var of=nf();const af=u.flow((t=>`Bearer ${t}`),(t=>new Headers({Authorization:t,"Content-Type":"application/json"})),(t=>({headers:t}))),cf=(lf=_,function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var r=t.length,n=wt(r),i=lf.map(t[0],n),o=1;o<r;o++)i=lf.ap(i,t[o]);return i});var lf;const uf=(t,e={})=>g(cf(w(),j),y,m(x(t,e))),sf=t=>e=>uf("similar-products",Object.assign(Object.assign({},e),{body:JSON.stringify(t)})),ff=t=>e=>uf("cross-selling",Object.assign(Object.assign({},e),{body:JSON.stringify(t)}));var df=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 vf=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.vviinnOneClickDiscoveryClosed=r(this,"vviinnOneClickDiscoveryClosed"),this.sourceProductReceived=r(this,"sourceProductReceived"),this.mode="continuity",this.campaigns="",this.excluded="",this.campaignType="set"===this.mode?"VCS":"VPR",this.color="",this.imageWidth=q,this.imageRatio=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 of.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.recommendations.length<this.setItemsAmount&&this.isSetMode||this.hasErrorOnLoad),this.productCardEventDataToEventBody=t=>{const{productRank:e,productId:r}=t,n=df(t,["productRank","productId","campaignTypeId","discount"]);return Object.assign({session_id:this.uiSessionId,rank:e,product:r},n)},this.imageResolutionWidth=U}getBasicEventData(){return Object.assign({campaignTypeId:this.campaignType,campaignTypeName:M[this.campaignType],widgetVersion:T},l("widgetId",this.id))}handleOpenLink(t,e){if(this.productDetailsRedirect)if(this.productDetailsNewTab||e.ctrlKey||e.metaKey){let e=window.open();e?e.location.href=t:window.location.href=t}else window.location.href=t}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.getRecommendations()}handleCampaignsChange(){this.getRecommendations()}trackWidgetOpen(){this.opened&&(this.vviinnWidgetOpen.emit(this.getBasicEventData()),this.trackWidgetEvent("open"))}trackWidgetClose(){this.closed&&(this.vviinnOneClickDiscoveryClosed.emit({isTriggeredByVpsWidget:this.showInWidget}),this.vviinnWidgetClose.emit(this.getBasicEventData()),this.trackWidgetEvent("close"))}componentDidRender(){this.showingInButton&&this.closed||this.replaceSlotsContent()}connectedCallback(){var t;O(this),this.id=null!==(t=this.buttonElementId)&&void 0!==t?t:this.el.id,this.uiSessionId=R(),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 J.init({lng:f.locale,fallbackLng:"en",resources:ct}),G(this,this.el)}trackProductLoad({detail:t}){this.productImageLoadedSubject.next(t.productId);const e=this.getProductTrackEvent(t,"load");k(e)}trackProductView({detail:t}){this.resultViewed||(this.resultViewed=!0,this.vviinnResultView.emit(this.getBasicEventData()),this.trackResultEvent("view"));const e=this.getProductTrackEvent(t,"view");e&&k(e)}async trackProductClick({detail:t}){const{productId:e,clickEvent:r}=t,n=this.findProductById(e);if(!n||!n.deeplink)return;const i=this.getProductTrackEvent(t,"click");await k(i).finally((()=>{this.handleOpenLink(n.deeplink,r)}))}async trackAuxClick({detail:t}){const{productId:e}=t,r=this.findProductById(e);if(!r||!r.deeplink)return;const n=this.getProductTrackEvent(t,"click");await k(n)}async trackAddToBasket({detail:t}){const e=this.productCardEventDataToEventBody(t),r=B("VCS"===t.campaignTypeId?"VPC":t.campaignTypeId)(e);k(r)}async trackAddToWishlist({detail:t}){const e=this.productCardEventDataToEventBody(t),r=N("VCS"===this.campaignType?"VPC":"VPR")(e);k(r)}updatingAllCardsFinishedListener(){this.updatingAllCards&&(this.updatingAllCards=!1)}async filtersChanged({detail:t}){this.requestDynamicFilters=t.filters,this.getRecommendations()}trackWidgetEvent(t){const e=this.getBasicEventData(),r=df(e,["campaignTypeId"]),n=Object.assign({action:t,session_id:this.uiSessionId},r),i=H("VCS"===this.campaignType?"VPC":"VPR")(n);k(i)}trackResultEvent(t){const e=this.getBasicEventData(),r=df(e,["campaignTypeId"]),n=Object.assign({session_id:this.uiSessionId},r),i=Z(t,"VCS"===this.campaignType?"VPC":"VPR")(n);k(i)}getProductTrackEvent(t,e){if(!f.trackingEnabled)return null;const r=this.productCardEventDataToEventBody(t);return t.campaignTypeId?D(e,"VCS"===t.campaignTypeId?"VPC":"VPR")(r):null}async getRecommendations(){if(void 0===this.productId||void 0===f.token)return;this.setLoading(!0);const t=this.campaignType.length>0?this.campaignType:"VPR",e=af(f.token),r=$({productId:this.productId,color:this.color,excluded:this.excluded,campaigns:this.campaigns,dynamicFilters:this.requestDynamicFilters}),n=u.pipe(C.of((t=>u.pipe(S(t),z((()=>sf),(()=>ff))))(t)),C.ap(C.of(r)),C.ap(C.of(e)),C.flatten);u.pipe(await n(),b.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()}))}isExternalCSS(){return this.cssUrl&&this.cssUrl.length>0}renderExternalCSS(){return this.isExternalCSS()?t("link",{href:this.cssUrl,rel:"stylesheet"}):""}renderRecommendation(e,r){var n,i;return t("vviinn-product-card",{currency:f.currencySign,pricePrefix:f.pricePrefix,locale:f.locale,productId:e.productId,productTitle:e.title,productType:e.productType,deeplink:e.deeplink,image:e.image.thumbnail,imageResolutionWidth:this.imageResolutionWidth,brand:e.brand,imageWidth:this.imageWidth,imageRatio:this.imageRatio,price:e.price.actual,salePrice:e.price.sale,basePrice:null===(n=e.basePrice)||void 0===n?void 0:n.actual,baseSalePrice:null===(i=e.basePrice)||void 0===i?void 0:i.sale,energyCertifications:e.energyCertifications,addPriceContainer:this.addPriceContainer,responsive:this.isGridMode,addToBasketShow:this.addToBasketShow,campaignTypeId:this.campaignType,index:r,widgetElementId:this.id,widgetVersion:T,setMode:this.isSetMode,customLabels:L(e),favoriteShow:this.favoriteShow})}renderResults(){const e=getComputedStyle(this.el),r=parseInt(e.getPropertyValue(P));return t("div",{class:`recommendations-results recommendations-${this.mode}`,part:"recommendations-results"},this.recommendationsLoading?Array.from({length:3*r}).map(((e,r)=>t("vviinn-product-card-skeleton",{imageRatio:this.imageRatio,key:`skeleton-${r}`}))):this.recommendations.map(((t,e)=>this.renderRecommendation(t,e))))}renderCarousel(){return t("vviinn-carousel",{currencySign:f.currencySign,pricePrefix:f.pricePrefix,locale:f.locale,mode:this.mode,campaignTypeId:this.campaignType,imageWidth:this.imageWidth,showScroll:this.showScroll,recommendations:this.recommendations,sourceProduct:this.sourceProduct,widgetElementId:this.id,widgetVersion:T,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,imageRatio:this.imageRatio,favoriteShow:this.favoriteShow,setItemsAmount:this.setItemsAmount,loading:this.recommendationsLoading,isAppended:this.isAppended,hasErrorOnLoad:this.hasErrorOnLoad,showInWidget:this.showInWidget})}render(){var e;return 0===this.recommendations.length&&!1===this.noResultShow?null:t(i,{class:{loaded:!0,empty:0==this.recommendations.length,[this.mode]:!0,"show-in-widget":this.showInWidget},"aria-hidden":"false"},t(n,null,this.renderExternalCSS(),X("discovery"),(this.isSetMode||0!==(null===(e=this.blockTitle)||void 0===e?void 0:e.length))&&t("div",{class:"widget-header"},t("div",null,t("h2",{part:"recommendations-title"},t("slot",{name:"vviinn-recommendations-title"},this.isSetMode?J.t("setMode.widgetTitle"):this.blockTitle||J.t("discoveryWidgetTitle"))),this.isSetMode&&t("h3",{part:"recommendations-subtitle"},t("slot",{name:"vviinn-recommendations-subtitle"},J.t("setMode.widgetSubtitle")))),this.isSetMode&&"onItem"!==this.updateButtonLocation?t("button",{class:"update-button",part:"update-button-top",onClick:()=>this.updatingAllCards=!0},t("slot",{name:"vviinn-update-button-icon"},t(dt,null)),t("slot",{name:"vviinn-update-button-text"},t("span",null,J.t("setMode.updateButtonText")))):null),(this.showFilters||this.showExtendedFilters)&&t("div",{class:"filters-header "},this.showFilters&&t("vviinn-filters",{filters:this.dynamicFilters}),this.showExtendedFilters&&t("vviinn-extended-filters",{filters:this.dynamicFilters})),this.useCarousel?this.renderCarousel():this.renderResults(),this.showNoResultText()&&t("div",{class:"no-result-text"},this.noResultText.length?this.noResultText:J.t("noResultText"))))}get el(){return o(this)}static get watchers(){return{productId:["handleProductIdChange"],campaignType:["handleCampaignTypeChange"],campaigns:["handleCampaignsChange"],opened:["trackWidgetOpen"],closed:["trackWidgetClose"]}}};vf.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-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-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;--product-card-set-mode-max-width:300px;--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:#525252;--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;--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;}: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(image){width:var(--vviinn-set-mode-image-width, 100%);height:auto;min-width:var(--image-set-mode-min-width);aspect-ratio:1 / 1}:host(.set) vviinn-product-card.product-card--source::part(image){width:100%;height:auto}: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}.visually-hidden{position:absolute;top:0;left:0;z-index:-1;height:0;width:0}.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{jt as vviinn_carousel,_t as vviinn_energy_label,kt as vviinn_extended_filters,Ct as vviinn_extended_filters_button,Mt as vviinn_filters,St as vviinn_price_range,Ht as vviinn_product_card,Zt as vviinn_product_card_skeleton,Dt as vviinn_skeleton,vf as vviinn_vpr_widget}
|