@pairbo/ui-kit 0.3.13 → 0.3.15

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.
@@ -57,7 +57,16 @@ export default class PboGiftOptions extends PairboElement {
57
57
  onFreeMessageClear?: () => void;
58
58
  hidden: boolean;
59
59
  expand: boolean;
60
- divided: boolean;
60
+ dividerConfig: {
61
+ topDivider: {
62
+ visible: boolean;
63
+ persistent: boolean;
64
+ };
65
+ bottomDivider: {
66
+ visible: boolean;
67
+ persistent: boolean;
68
+ };
69
+ };
61
70
  freeMessage: string;
62
71
  isGift: boolean;
63
72
  isPremiumChecked: boolean;
@@ -72,7 +81,6 @@ export default class PboGiftOptions extends PairboElement {
72
81
  setGiftOptionEnabled(isGift: boolean): void;
73
82
  setPremiumEnabled(isPremiumActive: boolean): void;
74
83
  setFreeMessageEnabled(useFreeMessage: boolean): void;
75
- private handlePremiumChange;
76
84
  render(): import('lit-html').TemplateResult<1>;
77
85
  clear(): void;
78
86
  }
package/dist/ui-kit.js CHANGED
@@ -1474,7 +1474,7 @@
1474
1474
  .skip::part(label) {
1475
1475
  font-size: 14px;
1476
1476
  }
1477
- `,gi=()=>/Mobi|Android|iPhone|iPad|iPod/i.test(navigator.userAgent),ws=o=>o!=null,Kl=o=>Object.entries(o).reduce((t,[e,i])=>(i==null||(t[e]=i),t),{});function Nu(o,t){let e;return function(...i){clearTimeout(e),e=setTimeout(()=>o.apply(this,i),t)}}var Vu=Object.defineProperty,Uu=Object.getOwnPropertyDescriptor,At=(o,t,e,i)=>{for(var s=i>1?void 0:i?Uu(t,e):t,r=o.length-1,n;r>=0;r--)(n=o[r])&&(s=(i?n(t,e,s):n(s))||s);return i&&s&&Vu(t,e,s),s};let K=class extends gt{constructor(){super(...arguments),this.resizeTimeout=null,this.cardInnerImageUrl="../../../public/Greeting Card from Pairbo.png",this.card=null,this.submitTypeForm=async t=>{console.error("submitTypingForm function not implemented",t)},this.loading=!1,this.disabled=!1,this.onClose=()=>{},this.windowHeight=window.innerHeight,this.charsNum=0,this.ctaButtonState=K.CTA_STATES.primary,this.wrappedSubmitTypeForm=async t=>{console.warn("submitTypingForm function not implemented",t)},this.handleResize=()=>{this.resizeTimeout&&window.clearTimeout(this.resizeTimeout),this.resizeTimeout=window.setTimeout(()=>{this.windowHeight=window.innerHeight},50)}}updateWrappedSubmitTypeForm(){this.wrappedSubmitTypeForm=async t=>{this.loading=!0,this.disabled=!0;try{this.submitTypeForm(t),this.onClose(),this.emit("pbo-type-form-submitted")}catch(e){console.error("Error submitting type form:",e)}finally{this.loading=!1,this.disabled=!1}}}firstUpdated(){console.log("Is type-form disabled: ",this.disabled,this.loading),this.textArea.addEventListener("invalid",()=>{alert("Please add a message to continue")})}get formData(){var e,i,s,r,n,a,l,c;const t={pboCardId:((e=this.card)==null?void 0:e.pboId)||"Unknown",productId:(i=this.card)==null?void 0:i.productId,sku:(s=this.card)==null?void 0:s.sku,variantId:(r=this.card)==null?void 0:r.variantId,font:((n=this.fontSelector)==null?void 0:n.value)||"",text:((a=this.greetingText)==null?void 0:a.value)||"",color:((l=this.textColor)==null?void 0:l.value)||"",alignment:((c=this.textAlignment)==null?void 0:c.value)||""};return Kl(t)}handleFormChange(t){var e;this.ctaButtonState=K.CTA_STATES.primary,this.charsNum=((e=this.greetingText)==null?void 0:e.value.length)||0,this.emit("pbo-change",{detail:this.formData})}hostConnected(){this.addEventListener("pbo-change",this.handleFormChange)}hostDisconnected(){this.removeEventListener("pbo-change",this.handleFormChange)}submitFormHandler(t){var i;t.preventDefault();const e=(i=t.submitter)==null?void 0:i.name;if(this.ctaButtonState.type==="danger"){e==="skip"&&this.wrappedSubmitTypeForm(this.formData);return}if(this.greetingText.value===""||this.greetingText.value===null||this.greetingText.value===void 0){this.ctaButtonState=K.CTA_STATES.danger,this.greetingText.focus();return}this.wrappedSubmitTypeForm(this.formData)}connectedCallback(){super.connectedCallback(),window.addEventListener("resize",this.handleResize)}disconnectedCallback(){super.disconnectedCallback(),window.removeEventListener("resize",this.handleResize),this.resizeTimeout&&window.clearTimeout(this.resizeTimeout)}render(){const t=223-this.charsNum;return L`
1477
+ `,gi=()=>/Mobi|Android|iPhone|iPad|iPod/i.test(navigator.userAgent),ws=o=>o!=null,Kl=o=>Object.entries(o).reduce((t,[e,i])=>(i==null||(t[e]=i),t),{});function Nu(o,t){let e;return function(...i){clearTimeout(e),e=setTimeout(()=>o.apply(this,i),t)}}var Vu=Object.defineProperty,Uu=Object.getOwnPropertyDescriptor,At=(o,t,e,i)=>{for(var s=i>1?void 0:i?Uu(t,e):t,r=o.length-1,n;r>=0;r--)(n=o[r])&&(s=(i?n(t,e,s):n(s))||s);return i&&s&&Vu(t,e,s),s};let K=class extends gt{constructor(){super(...arguments),this.resizeTimeout=null,this.cardInnerImageUrl="../../../public/Greeting Card from Pairbo.png",this.card=null,this.submitTypeForm=async t=>{console.error("submitTypingForm function not implemented",t)},this.loading=!1,this.disabled=!1,this.onClose=()=>{},this.windowHeight=window.innerHeight,this.charsNum=0,this.ctaButtonState=K.CTA_STATES.primary,this.wrappedSubmitTypeForm=async t=>{console.warn("submitTypingForm function not implemented",t)},this.handleResize=()=>{this.resizeTimeout&&window.clearTimeout(this.resizeTimeout),this.resizeTimeout=window.setTimeout(()=>{this.windowHeight=window.innerHeight},50)}}updateWrappedSubmitTypeForm(){this.wrappedSubmitTypeForm=async t=>{this.loading=!0,this.disabled=!0;try{this.submitTypeForm(t),this.onClose(),this.emit("pbo-type-form-submitted")}catch(e){console.error("Error submitting type form:",e)}finally{this.loading=!1,this.disabled=!1}}}firstUpdated(){console.log("Is type-form disabled: ",this.disabled,this.loading),this.textArea.addEventListener("invalid",()=>{alert("Please add a message to continue")})}get formData(){var e,i,s,r,n,a,l,c;const t={pboCardId:((e=this.card)==null?void 0:e.pboId)||"Unknown",productId:(i=this.card)==null?void 0:i.productId,sku:(s=this.card)==null?void 0:s.sku,variantId:(r=this.card)==null?void 0:r.variantId,font:((n=this.fontSelector)==null?void 0:n.value)||"",text:((a=this.greetingText)==null?void 0:a.value)||"",color:((l=this.textColor)==null?void 0:l.value)||"",alignment:((c=this.textAlignment)==null?void 0:c.value)||""};return Kl(t)}handleFormChange(t){var e;this.ctaButtonState=K.CTA_STATES.primary,this.charsNum=((e=this.greetingText)==null?void 0:e.value.length)||0,this.emit("pbo-type-form-change",{detail:this.formData})}hostConnected(){this.addEventListener("pbo-change",this.handleFormChange)}hostDisconnected(){this.removeEventListener("pbo-change",this.handleFormChange)}submitFormHandler(t){var i;t.preventDefault();const e=(i=t.submitter)==null?void 0:i.name;if(this.ctaButtonState.type==="danger"){e==="skip"&&this.wrappedSubmitTypeForm(this.formData);return}if(this.greetingText.value===""||this.greetingText.value===null||this.greetingText.value===void 0){this.ctaButtonState=K.CTA_STATES.danger,this.greetingText.focus();return}this.wrappedSubmitTypeForm(this.formData)}connectedCallback(){super.connectedCallback(),window.addEventListener("resize",this.handleResize)}disconnectedCallback(){super.disconnectedCallback(),window.removeEventListener("resize",this.handleResize),this.resizeTimeout&&window.clearTimeout(this.resizeTimeout)}render(){const t=223-this.charsNum;return L`
1478
1478
  <form class="typing-form" @submit=${this.submitFormHandler}>
1479
1479
  <pbo-textarea
1480
1480
  exportparts="textarea:editor-textarea"
@@ -1591,7 +1591,7 @@
1591
1591
  `:""}
1592
1592
  </div>
1593
1593
  </form>
1594
- `}};K.styles=[pt,Ws,Hu];K.dependencies={"pbo-font-selector":$e,"pbo-textarea":ct,"pbo-color-radio-group":lt,"pbo-radio-group":lt,"pbo-radio-button":lt,"pbo-button":et};K.CTA_STATES={danger:{type:"danger",message:"Add a message to Continue"},primary:{type:"primary",message:"Save and Continue"}};At([C({type:String,reflect:!0})],K.prototype,"cardInnerImageUrl",2);At([C()],K.prototype,"card",2);At([C()],K.prototype,"submitTypeForm",2);At([C({type:Boolean,reflect:!0})],K.prototype,"loading",2);At([C({type:Boolean,reflect:!0})],K.prototype,"disabled",2);At([C({type:Function})],K.prototype,"onClose",2);At([H(".greeting-text")],K.prototype,"greetingText",2);At([H(".font-selector")],K.prototype,"fontSelector",2);At([H(".text-color")],K.prototype,"textColor",2);At([H(".text-alignment")],K.prototype,"textAlignment",2);At([H(".typing-form")],K.prototype,"typingForm",2);At([H("pbo-textarea")],K.prototype,"textArea",2);At([yn(".cta-buttons pbo-button")],K.prototype,"ctaButtons",2);At([$()],K.prototype,"windowHeight",2);At([$()],K.prototype,"charsNum",2);At([$()],K.prototype,"ctaButtonState",2);At([$()],K.prototype,"wrappedSubmitTypeForm",2);At([V("submitTypeForm")],K.prototype,"updateWrappedSubmitTypeForm",1);K=At([dt("pbo-type-form")],K);/**
1594
+ `}};K.styles=[pt,Ws,Hu];K.dependencies={"pbo-font-selector":$e,"pbo-textarea":ct,"pbo-color-radio-group":lt,"pbo-radio-group":lt,"pbo-radio-button":lt,"pbo-button":et};K.CTA_STATES={danger:{type:"danger",message:"Add a message to Continue"},primary:{type:"primary",message:"Add to Cart"}};At([C({type:String,reflect:!0})],K.prototype,"cardInnerImageUrl",2);At([C()],K.prototype,"card",2);At([C()],K.prototype,"submitTypeForm",2);At([C({type:Boolean,reflect:!0})],K.prototype,"loading",2);At([C({type:Boolean,reflect:!0})],K.prototype,"disabled",2);At([C({type:Function})],K.prototype,"onClose",2);At([H(".greeting-text")],K.prototype,"greetingText",2);At([H(".font-selector")],K.prototype,"fontSelector",2);At([H(".text-color")],K.prototype,"textColor",2);At([H(".text-alignment")],K.prototype,"textAlignment",2);At([H(".typing-form")],K.prototype,"typingForm",2);At([H("pbo-textarea")],K.prototype,"textArea",2);At([yn(".cta-buttons pbo-button")],K.prototype,"ctaButtons",2);At([$()],K.prototype,"windowHeight",2);At([$()],K.prototype,"charsNum",2);At([$()],K.prototype,"ctaButtonState",2);At([$()],K.prototype,"wrappedSubmitTypeForm",2);At([V("submitTypeForm")],K.prototype,"updateWrappedSubmitTypeForm",1);K=At([dt("pbo-type-form")],K);/**
1595
1595
  * @license
1596
1596
  * Copyright 2017 Google LLC
1597
1597
  * SPDX-License-Identifier: BSD-3-Clause
@@ -1927,7 +1927,7 @@
1927
1927
  />
1928
1928
  </pbo-zoomed-preview>
1929
1929
  </pbo-drawer>
1930
- `}};_t.styles=[pt,Wu];_t.dependencies={"pbo-image":oe};Ut([C({type:Object})],_t.prototype,"card",2);Ut([C({type:Number,reflect:!0})],_t.prototype,"focusIndex",2);Ut([C({type:Object})],_t.prototype,"livePreviewProps",2);Ut([C()],_t.prototype,"handwrittenPreviewProps",2);Ut([C()],_t.prototype,"type",2);Ut([H("#thumbnails")],_t.prototype,"thumbnailCarousel",2);Ut([H("#main-carousel")],_t.prototype,"mainCarousel",2);Ut([H(".editor__zoomed")],_t.prototype,"zoomedPreview",2);Ut([H(".main-slide.active")],_t.prototype,"activeMainSlide",2);Ut([H("pbo-type-canvas")],_t.prototype,"typeCanvas",2);Ut([yn(".thumbnail")],_t.prototype,"thumbnailElements",2);Ut([yn(".main-slide")],_t.prototype,"mainSlideElements",2);Ut([$()],_t.prototype,"mainImageTemplates",2);Ut([V("card")],_t.prototype,"handleCardChange",1);Ut([V("focusIndex")],_t.prototype,"handleFocusIndexChange",1);_t=Ut([dt("pbo-editor-card-slider")],_t);var Zu=Object.defineProperty,Ju=Object.getOwnPropertyDescriptor,ae=(o,t,e,i)=>{for(var s=i>1?void 0:i?Ju(t,e):t,r=o.length-1,n;r>=0;r--)(n=o[r])&&(s=(i?n(t,e,s):n(s))||s);return i&&s&&Zu(t,e,s),s};let Pt=class extends gt{constructor(){super(...arguments),this.card=null,this.onClose=()=>{},this.formData={font:"Monsieur La Doulaise",text:"",color:"rgb(0,0,0)",alignment:"left"},this.handwrittenFormState={isLoading:!1,processedFileUrl:""},this.editorType="type",this.handleTypingFormChange=()=>{this.formData=this.typeForm.formData},this.handleHandwrittenFormChange=t=>{this.handwrittenFormState=t.detail,this.slider.focusOn(1),gi()&&t.detail.processedFileUrl!==""&&t.detail.isLoading===!1&&(this.slider.openZoomedPreview(),this.slider.scrollIntoView({behavior:"smooth",block:"start"}))},this.handleHandwrittenImageDimensionsChanged=t=>{this.handwrittenForm.setDimensions(t.detail)},this.handleEditorChange=t=>{this.emit("pbo-switch-editor",{detail:{fromEditor:this.editorType,toEditor:t.detail.editor},bubbles:!0,composed:!0}),this.editorType=t.detail.editor}}async handleCardChange(){await this.updateComplete,this.card&&(this.slider.card=this.card,this.requestUpdate(),this.typeForm.card=this.card,this.handwrittenForm.card=this.card)}handleEditorTypeChange(){this.updateComplete.then(()=>{this.slider.focusOn(1),this.editorType==="handwritten"&&gi()&&this.handwrittenForm.scrollIntoView(!0)})}firstUpdated(){this.addEventListener("handwritten-image-dimensions-changed",this.handleHandwrittenImageDimensionsChanged),this.typeForm.addEventListener("pbo-change",this.handleTypingFormChange),this.handwrittenForm.addEventListener("pbo-change",this.handleHandwrittenFormChange)}disconnectedCallback(){this.typeForm.removeEventListener("pbo-change",this.handleTypingFormChange),this.handwrittenForm.removeEventListener("pbo-change",this.handleHandwrittenFormChange)}render(){return L`
1930
+ `}};_t.styles=[pt,Wu];_t.dependencies={"pbo-image":oe};Ut([C({type:Object})],_t.prototype,"card",2);Ut([C({type:Number,reflect:!0})],_t.prototype,"focusIndex",2);Ut([C({type:Object})],_t.prototype,"livePreviewProps",2);Ut([C()],_t.prototype,"handwrittenPreviewProps",2);Ut([C()],_t.prototype,"type",2);Ut([H("#thumbnails")],_t.prototype,"thumbnailCarousel",2);Ut([H("#main-carousel")],_t.prototype,"mainCarousel",2);Ut([H(".editor__zoomed")],_t.prototype,"zoomedPreview",2);Ut([H(".main-slide.active")],_t.prototype,"activeMainSlide",2);Ut([H("pbo-type-canvas")],_t.prototype,"typeCanvas",2);Ut([yn(".thumbnail")],_t.prototype,"thumbnailElements",2);Ut([yn(".main-slide")],_t.prototype,"mainSlideElements",2);Ut([$()],_t.prototype,"mainImageTemplates",2);Ut([V("card")],_t.prototype,"handleCardChange",1);Ut([V("focusIndex")],_t.prototype,"handleFocusIndexChange",1);_t=Ut([dt("pbo-editor-card-slider")],_t);var Zu=Object.defineProperty,Ju=Object.getOwnPropertyDescriptor,ae=(o,t,e,i)=>{for(var s=i>1?void 0:i?Ju(t,e):t,r=o.length-1,n;r>=0;r--)(n=o[r])&&(s=(i?n(t,e,s):n(s))||s);return i&&s&&Zu(t,e,s),s};let Pt=class extends gt{constructor(){super(...arguments),this.card=null,this.onClose=()=>{},this.formData={font:"Monsieur La Doulaise",text:"",color:"rgb(0,0,0)",alignment:"left"},this.handwrittenFormState={isLoading:!1,processedFileUrl:""},this.editorType="type",this.handleTypingFormChange=()=>{this.formData=this.typeForm.formData},this.handleHandwrittenFormChange=t=>{this.handwrittenFormState=t.detail,this.slider.focusOn(1),gi()&&t.detail.processedFileUrl!==""&&t.detail.isLoading===!1&&(this.slider.openZoomedPreview(),this.slider.scrollIntoView({behavior:"smooth",block:"start"}))},this.handleHandwrittenImageDimensionsChanged=t=>{this.handwrittenForm.setDimensions(t.detail)},this.handleEditorChange=t=>{this.emit("pbo-switch-editor",{detail:{fromEditor:this.editorType,toEditor:t.detail.editor},bubbles:!0,composed:!0}),this.editorType=t.detail.editor}}async handleCardChange(){await this.updateComplete,this.card&&(this.slider.card=this.card,this.requestUpdate(),this.typeForm.card=this.card,this.handwrittenForm.card=this.card)}handleEditorTypeChange(){this.updateComplete.then(()=>{this.slider.focusOn(1),this.editorType==="handwritten"&&gi()&&this.handwrittenForm.scrollIntoView(!0)})}firstUpdated(){this.addEventListener("handwritten-image-dimensions-changed",this.handleHandwrittenImageDimensionsChanged),this.typeForm.addEventListener("pbo-type-form-change",this.handleTypingFormChange),this.handwrittenForm.addEventListener("pbo-change",this.handleHandwrittenFormChange)}disconnectedCallback(){this.typeForm.removeEventListener("pbo-change",this.handleTypingFormChange),this.handwrittenForm.removeEventListener("pbo-change",this.handleHandwrittenFormChange)}render(){return L`
1931
1931
  <div class="editor">
1932
1932
  <div class="editor__card" part="editor-card-slider-container">
1933
1933
  <pbo-editor-card-slider
@@ -1988,62 +1988,28 @@
1988
1988
  ::slotted([slot="title"]) {
1989
1989
  font-size: var(--title-font-size);
1990
1990
  font-weight: var(--title-font-weight);
1991
- margin: var(--title-margin);
1991
+ margin: 16px 0 0 4px;
1992
+ grid-column-start: 2;
1993
+ grid-column-end: 2;
1992
1994
  }
1993
1995
 
1994
1996
  :host(:first-of-type) ::slotted([slot="title"]) {
1995
- margin-top: 0; /* Remove top margin for first category */
1996
- }
1997
- .category-container {
1998
- margin-left: auto;
1999
- margin-right: auto;
2000
- }
2001
- .splide {
2002
- margin: 0 auto;
2003
- width: 100%;
2004
- }
2005
-
2006
- .splide__slide {
2007
- width: 100%;
2008
- aspect-ratio: 3/4;
2009
- position: relative;
2010
- overflow: hidden;
2011
- border: 2px solid var(--pbo-color-gray-200);
2012
- }
2013
-
2014
- .splide__slide::before {
2015
- content: "";
2016
- position: absolute;
2017
- top: 0;
2018
- left: 0;
2019
- width: 100%;
2020
- height: 100%;
2021
- background: transparent;
2022
- box-shadow: inset 0 0 0 0 rgba(0, 0, 0, 0.1);
2023
- transition: all 0.3s ease;
2024
- z-index: 1;
2025
- pointer-events: none;
2026
- }
2027
-
2028
- .splide__slide:hover::before {
2029
- box-shadow: inset 0 0 20px 3px rgba(0, 0, 0, 0.3);
1997
+ margin-top: 4px; /* 4px more on the mobile */
2030
1998
  }
2031
1999
 
2032
- .splide__slide img {
2033
- position: absolute;
2034
- top: 0;
2035
- left: 0;
2036
- width: 100%;
2037
- height: auto;
2038
- object-fit: contain;
2039
- cursor: pointer;
2040
- transition: all 0.3s ease;
2000
+ @media screen and (min-width: 640px) {
2001
+ :host(:first-of-type) ::slotted([slot="title"]) {
2002
+ margin-top: 0px; /* Remove top margin for first category */
2003
+ }
2041
2004
  }
2042
2005
 
2043
- .splide__slide img:hover {
2044
- transform: scale(1.1);
2006
+ .category-container {
2007
+ margin-left: auto;
2008
+ margin-right: auto;
2009
+ display: grid;
2010
+ grid-template-columns: 30px 1fr 30px;
2011
+ grid-template-rows: auto auto;
2045
2012
  }
2046
-
2047
2013
  /* -------------------------------- skeleton -------------------------------- */
2048
2014
  .skeleton .splide__slide {
2049
2015
  border: none;
@@ -2073,10 +2039,13 @@
2073
2039
  background-color: #f3f3f3;
2074
2040
  }
2075
2041
  }
2076
-
2042
+ .embla__button_container {
2043
+ grid-row: 2/3;
2044
+ justify-self: center;
2045
+ }
2077
2046
  .embla {
2078
- display: grid;
2079
- grid-template-columns: 30px 1fr 30px;
2047
+ grid-row: 2/3;
2048
+ grid-column: 2/3;
2080
2049
  --slide-size: 50%;
2081
2050
  --slide-spacing: calc(var(--slide-size) * 0.05);
2082
2051
  --detail-high-contrast: rgb(101, 101, 101);
@@ -2099,6 +2068,7 @@
2099
2068
  .embla__viewport {
2100
2069
  overflow: hidden;
2101
2070
  width: 100%;
2071
+ padding: 4px;
2102
2072
  }
2103
2073
 
2104
2074
  .embla__container {
@@ -2108,11 +2078,10 @@
2108
2078
  }
2109
2079
 
2110
2080
  .embla__slide {
2111
- padding: calc(var(--slide-size) * 0.05) 0 calc(var(--slide-size) * 0.05) var(--slide-spacing);
2081
+ padding-left: calc(var(--slide-size) * 0.05);
2112
2082
  transform: translate3d(0, 0, 0);
2113
2083
  flex: 0 0 var(--slide-size);
2114
2084
  min-width: 0;
2115
- /* padding-left: var(--slide-spacing); */
2116
2085
  position: relative;
2117
2086
  transition: transform 0.3s ease;
2118
2087
  }
@@ -2123,8 +2092,12 @@
2123
2092
  }
2124
2093
 
2125
2094
  .embla__slide__img {
2126
- box-shadow: 2px 2px 4px 2px rgb(0 0 0 / 0.1);
2127
- border: 2px solid var(--pbo-color-gray-200);
2095
+ box-shadow:
2096
+ rgba(0, 0, 0, 0) 0px 0px 0px 0px,
2097
+ rgba(0, 0, 0, 0) 0px 0px 0px 0px,
2098
+ rgba(0, 0, 0, 0.1) 0px 4px 6px -1px,
2099
+ rgba(0, 0, 0, 0.1) 0px 2px 4px -2px;
2100
+ border: 2px solid rgb(241, 245, 249);
2128
2101
  display: flex;
2129
2102
  align-items: center;
2130
2103
  justify-content: center;
@@ -2167,8 +2140,8 @@
2167
2140
  }
2168
2141
 
2169
2142
  .embla__button__svg {
2170
- width: 25px;
2171
- height: 25px;
2143
+ width: 20px;
2144
+ height: 20px;
2172
2145
  }
2173
2146
 
2174
2147
  .embla__button_container {
@@ -2180,7 +2153,7 @@
2180
2153
  * @license
2181
2154
  * Copyright 2021 Google LLC
2182
2155
  * SPDX-License-Identifier: BSD-3-Clause
2183
- */function*Zl(o,t){if(o!==void 0){let e=0;for(const i of o)yield t(i,e++)}}function Sn(o){return typeof o=="number"}function tn(o){return typeof o=="string"}function no(o){return typeof o=="boolean"}function Ba(o){return Object.prototype.toString.call(o)==="[object Object]"}function nt(o){return Math.abs(o)}function Tn(o){return Math.sign(o)}function Ds(o,t){return nt(o-t)}function ep(o,t){if(o===0||t===0||nt(o)<=nt(t))return 0;const e=Ds(nt(o),nt(t));return nt(e/o)}function ip(o){return Math.round(o*100)/100}function $s(o){return Bs(o).map(Number)}function Ee(o){return o[Gs(o)]}function Gs(o){return Math.max(0,o.length-1)}function En(o,t){return t===Gs(o)}function Ra(o,t=0){return Array.from(Array(o),(e,i)=>t+i)}function Bs(o){return Object.keys(o)}function Jl(o,t){return[o,t].reduce((e,i)=>(Bs(i).forEach(s=>{const r=e[s],n=i[s],a=Ba(r)&&Ba(n);e[s]=a?Jl(r,n):n}),e),{})}function en(o,t){return typeof t.MouseEvent<"u"&&o instanceof t.MouseEvent}function sp(o,t){const e={start:i,center:s,end:r};function i(){return 0}function s(l){return r(l)/2}function r(l){return t-l}function n(l,c){return tn(o)?e[o](l):o(t,l,c)}return{measure:n}}function Rs(){let o=[];function t(s,r,n,a={passive:!0}){let l;if("addEventListener"in s)s.addEventListener(r,n,a),l=()=>s.removeEventListener(r,n,a);else{const c=s;c.addListener(n),l=()=>c.removeListener(n)}return o.push(l),i}function e(){o=o.filter(s=>s())}const i={add:t,clear:e};return i}function rp(o,t,e,i){const s=Rs(),r=1e3/60;let n=null,a=0,l=0;function c(){s.add(o,"visibilitychange",()=>{o.hidden&&p()})}function h(){g(),s.clear()}function d(b){if(!l)return;n||(n=b,e(),e());const m=b-n;for(n=b,a+=m;a>=r;)e(),a-=r;const y=a/r;i(y),l&&(l=t.requestAnimationFrame(d))}function u(){l||(l=t.requestAnimationFrame(d))}function g(){t.cancelAnimationFrame(l),n=null,a=0,l=0}function p(){n=null,a=0}return{init:c,destroy:h,start:u,stop:g,update:e,render:i}}function op(o,t){const e=t==="rtl",i=o==="y",s=i?"y":"x",r=i?"x":"y",n=!i&&e?-1:1,a=h(),l=d();function c(p){const{height:f,width:b}=p;return i?f:b}function h(){return i?"top":e?"right":"left"}function d(){return i?"bottom":e?"left":"right"}function u(p){return p*n}return{scroll:s,cross:r,startEdge:a,endEdge:l,measureSize:c,direction:u}}function ji(o=0,t=0){const e=nt(o-t);function i(c){return c<o}function s(c){return c>t}function r(c){return i(c)||s(c)}function n(c){return r(c)?i(c)?o:t:c}function a(c){return e?c-e*Math.ceil((c-t)/e):c}return{length:e,max:t,min:o,constrain:n,reachedAny:r,reachedMax:s,reachedMin:i,removeOffset:a}}function Ql(o,t,e){const{constrain:i}=ji(0,o),s=o+1;let r=n(t);function n(u){return e?nt((s+u)%s):i(u)}function a(){return r}function l(u){return r=n(u),d}function c(u){return h().set(a()+u)}function h(){return Ql(o,a(),e)}const d={get:a,set:l,add:c,clone:h};return d}function np(o,t,e,i,s,r,n,a,l,c,h,d,u,g,p,f,b,m,y){const{cross:w,direction:T}=o,k=["INPUT","SELECT","TEXTAREA"],O={passive:!1},E=Rs(),S=Rs(),D=ji(50,225).constrain(g.measure(20)),I={mouse:300,touch:400},M={mouse:500,touch:600},B=p?43:25;let R=!1,F=0,Y=0,tt=!1,xt=!1,W=!1,wt=!1;function Gt(A){if(!y)return;function J(Xt){(no(y)||y(A,Xt))&&le(Xt)}const Ct=t;E.add(Ct,"dragstart",Xt=>Xt.preventDefault(),O).add(Ct,"touchmove",()=>{},O).add(Ct,"touchend",()=>{}).add(Ct,"touchstart",J).add(Ct,"mousedown",J).add(Ct,"touchcancel",Ft).add(Ct,"contextmenu",Ft).add(Ct,"click",ce,!0)}function Yt(){E.clear(),S.clear()}function Pe(){const A=wt?e:t;S.add(A,"touchmove",kt,O).add(A,"touchend",Ft).add(A,"mousemove",kt,O).add(A,"mouseup",Ft)}function me(A){const J=A.nodeName||"";return k.includes(J)}function It(){return(p?M:I)[wt?"mouse":"touch"]}function De(A,J){const Ct=d.add(Tn(A)*-1),Xt=h.byDistance(A,!p).distance;return p||nt(A)<D?Xt:b&&J?Xt*.5:h.byIndex(Ct.get(),0).distance}function le(A){const J=en(A,i);wt=J,W=p&&J&&!A.buttons&&R,R=Ds(s.get(),n.get())>=2,!(J&&A.button!==0)&&(me(A.target)||(tt=!0,r.pointerDown(A),c.useFriction(0).useDuration(0),s.set(n),Pe(),F=r.readPoint(A),Y=r.readPoint(A,w),u.emit("pointerDown")))}function kt(A){if(!en(A,i)&&A.touches.length>=2)return Ft(A);const Ct=r.readPoint(A),Xt=r.readPoint(A,w),Ae=Ds(Ct,F),We=Ds(Xt,Y);if(!xt&&!wt&&(!A.cancelable||(xt=Ae>We,!xt)))return Ft(A);const Si=r.pointerMove(A);Ae>f&&(W=!0),c.useFriction(.3).useDuration(.75),a.start(),s.add(T(Si)),A.preventDefault()}function Ft(A){const Ct=h.byDistance(0,!1).index!==d.get(),Xt=r.pointerUp(A)*It(),Ae=De(T(Xt),Ct),We=ep(Xt,Ae),Si=B-10*We,ai=m+We/50;xt=!1,tt=!1,S.clear(),c.useDuration(Si).useFriction(ai),l.distance(Ae,!p),wt=!1,u.emit("pointerUp")}function ce(A){W&&(A.stopPropagation(),A.preventDefault(),W=!1)}function ft(){return tt}return{init:Gt,destroy:Yt,pointerDown:ft}}function ap(o,t){let i,s;function r(d){return d.timeStamp}function n(d,u){const p=`client${(u||o.scroll)==="x"?"X":"Y"}`;return(en(d,t)?d:d.touches[0])[p]}function a(d){return i=d,s=d,n(d)}function l(d){const u=n(d)-n(s),g=r(d)-r(i)>170;return s=d,g&&(i=d),u}function c(d){if(!i||!s)return 0;const u=n(s)-n(i),g=r(d)-r(i),p=r(d)-r(s)>170,f=u/g;return g&&!p&&nt(f)>.1?f:0}return{pointerDown:a,pointerMove:l,pointerUp:c,readPoint:n}}function lp(){function o(e){const{offsetTop:i,offsetLeft:s,offsetWidth:r,offsetHeight:n}=e;return{top:i,right:s+r,bottom:i+n,left:s,width:r,height:n}}return{measure:o}}function cp(o){function t(i){return o*(i/100)}return{measure:t}}function hp(o,t,e,i,s,r,n){const a=[o].concat(i);let l,c,h=[],d=!1;function u(b){return s.measureSize(n.measure(b))}function g(b){if(!r)return;c=u(o),h=i.map(u);function m(y){for(const w of y){if(d)return;const T=w.target===o,k=i.indexOf(w.target),O=T?c:h[k],E=u(T?o:i[k]);if(nt(E-O)>=.5){b.reInit(),t.emit("resize");break}}}l=new ResizeObserver(y=>{(no(r)||r(b,y))&&m(y)}),e.requestAnimationFrame(()=>{a.forEach(y=>l.observe(y))})}function p(){d=!0,l&&l.disconnect()}return{init:g,destroy:p}}function dp(o,t,e,i,s,r){let n=0,a=0,l=s,c=r,h=o.get(),d=0;function u(){const O=i.get()-o.get(),E=!l;let S=0;return E?(n=0,e.set(i),o.set(i),S=O):(e.set(o),n+=O/l,n*=c,h+=n,o.add(n),S=h-d),a=Tn(S),d=h,k}function g(){const O=i.get()-t.get();return nt(O)<.001}function p(){return l}function f(){return a}function b(){return n}function m(){return w(s)}function y(){return T(r)}function w(O){return l=O,k}function T(O){return c=O,k}const k={direction:f,duration:p,velocity:b,seek:u,settled:g,useBaseFriction:y,useBaseDuration:m,useFriction:T,useDuration:w};return k}function up(o,t,e,i,s){const r=s.measure(10),n=s.measure(50),a=ji(.1,.99);let l=!1;function c(){return!(l||!o.reachedAny(e.get())||!o.reachedAny(t.get()))}function h(g){if(!c())return;const p=o.reachedMin(t.get())?"min":"max",f=nt(o[p]-t.get()),b=e.get()-t.get(),m=a.constrain(f/n);e.subtract(b*m),!g&&nt(b)<r&&(e.set(o.constrain(e.get())),i.useDuration(25).useBaseFriction())}function d(g){l=!g}return{shouldConstrain:c,constrain:h,toggleActive:d}}function pp(o,t,e,i,s){const r=ji(-t+o,0),n=d(),a=h(),l=u();function c(p,f){return Ds(p,f)<=1}function h(){const p=n[0],f=Ee(n),b=n.lastIndexOf(p),m=n.indexOf(f)+1;return ji(b,m)}function d(){return e.map((p,f)=>{const{min:b,max:m}=r,y=r.constrain(p),w=!f,T=En(e,f);return w?m:T||c(b,y)?b:c(m,y)?m:y}).map(p=>parseFloat(p.toFixed(3)))}function u(){if(t<=o+s)return[r.max];if(i==="keepSnaps")return n;const{min:p,max:f}=a;return n.slice(p,f)}return{snapsContained:l,scrollContainLimit:a}}function gp(o,t,e){const i=t[0],s=e?i-o:Ee(t);return{limit:ji(s,i)}}function fp(o,t,e,i){const r=t.min+.1,n=t.max+.1,{reachedMin:a,reachedMax:l}=ji(r,n);function c(u){return u===1?l(e.get()):u===-1?a(e.get()):!1}function h(u){if(!c(u))return;const g=o*(u*-1);i.forEach(p=>p.add(g))}return{loop:h}}function mp(o){const{max:t,length:e}=o;function i(r){const n=r-t;return e?n/-e:0}return{get:i}}function bp(o,t,e,i,s){const{startEdge:r,endEdge:n}=o,{groupSlides:a}=s,l=d().map(t.measure),c=u(),h=g();function d(){return a(i).map(f=>Ee(f)[n]-f[0][r]).map(nt)}function u(){return i.map(f=>e[r]-f[r]).map(f=>-nt(f))}function g(){return a(c).map(f=>f[0]).map((f,b)=>f+l[b])}return{snaps:c,snapsAligned:h}}function vp(o,t,e,i,s,r){const{groupSlides:n}=s,{min:a,max:l}=i,c=h();function h(){const u=n(r),g=!o||t==="keepSnaps";return e.length===1?[r]:g?u:u.slice(a,l).map((p,f,b)=>{const m=!f,y=En(b,f);if(m){const w=Ee(b[0])+1;return Ra(w)}if(y){const w=Gs(r)-Ee(b)[0]+1;return Ra(w,Ee(b)[0])}return p})}return{slideRegistry:c}}function _p(o,t,e,i,s){const{reachedAny:r,removeOffset:n,constrain:a}=i;function l(p){return p.concat().sort((f,b)=>nt(f)-nt(b))[0]}function c(p){const f=o?n(p):a(p),b=t.map((y,w)=>({diff:h(y-f,0),index:w})).sort((y,w)=>nt(y.diff)-nt(w.diff)),{index:m}=b[0];return{index:m,distance:f}}function h(p,f){const b=[p,p+e,p-e];if(!o)return p;if(!f)return l(b);const m=b.filter(y=>Tn(y)===f);return m.length?l(m):Ee(b)-e}function d(p,f){const b=t[p]-s.get(),m=h(b,f);return{index:p,distance:m}}function u(p,f){const b=s.get()+p,{index:m,distance:y}=c(b),w=!o&&r(b);if(!f||w)return{index:m,distance:p};const T=t[m]-y,k=p+h(T,0);return{index:m,distance:k}}return{byDistance:u,byIndex:d,shortcut:h}}function yp(o,t,e,i,s,r,n){function a(d){const u=d.distance,g=d.index!==t.get();r.add(u),u&&(i.duration()?o.start():(o.update(),o.render(1),o.update())),g&&(e.set(t.get()),t.set(d.index),n.emit("select"))}function l(d,u){const g=s.byDistance(d,u);a(g)}function c(d,u){const g=t.clone().set(d),p=s.byIndex(g.get(),u);a(p)}return{distance:l,index:c}}function xp(o,t,e,i,s,r,n,a){const l={passive:!0,capture:!0};let c=0;function h(g){if(!a)return;function p(f){if(new Date().getTime()-c>10)return;n.emit("slideFocusStart"),o.scrollLeft=0;const y=e.findIndex(w=>w.includes(f));Sn(y)&&(s.useDuration(0),i.index(y,0),n.emit("slideFocus"))}r.add(document,"keydown",d,!1),t.forEach((f,b)=>{r.add(f,"focus",m=>{(no(a)||a(g,m))&&p(b)},l)})}function d(g){g.code==="Tab"&&(c=new Date().getTime())}return{init:h}}function Ts(o){let t=o;function e(){return t}function i(l){t=n(l)}function s(l){t+=n(l)}function r(l){t-=n(l)}function n(l){return Sn(l)?l:l.get()}return{get:e,set:i,add:s,subtract:r}}function tc(o,t){const e=o.scroll==="x"?n:a,i=t.style;let s=null,r=!1;function n(u){return`translate3d(${u}px,0px,0px)`}function a(u){return`translate3d(0px,${u}px,0px)`}function l(u){if(r)return;const g=ip(o.direction(u));g!==s&&(i.transform=e(g),s=g)}function c(u){r=!u}function h(){r||(i.transform="",t.getAttribute("style")||t.removeAttribute("style"))}return{clear:h,to:l,toggleActive:c}}function wp(o,t,e,i,s,r,n,a,l){const h=$s(s),d=$s(s).reverse(),u=m().concat(y());function g(E,S){return E.reduce((D,I)=>D-s[I],S)}function p(E,S){return E.reduce((D,I)=>g(D,S)>0?D.concat([I]):D,[])}function f(E){return r.map((S,D)=>({start:S-i[D]+.5+E,end:S+t-.5+E}))}function b(E,S,D){const I=f(S);return E.map(M=>{const B=D?0:-e,R=D?e:0,F=D?"end":"start",Y=I[M][F];return{index:M,loopPoint:Y,slideLocation:Ts(-1),translate:tc(o,l[M]),target:()=>a.get()>Y?B:R}})}function m(){const E=n[0],S=p(d,E);return b(S,e,!1)}function y(){const E=t-n[0]-1,S=p(h,E);return b(S,-e,!0)}function w(){return u.every(({index:E})=>{const S=h.filter(D=>D!==E);return g(S,t)<=.1})}function T(){u.forEach(E=>{const{target:S,translate:D,slideLocation:I}=E,M=S();M!==I.get()&&(D.to(M),I.set(M))})}function k(){u.forEach(E=>E.translate.clear())}return{canLoop:w,clear:k,loop:T,loopPoints:u}}function Cp(o,t,e){let i,s=!1;function r(l){if(!e)return;function c(h){for(const d of h)if(d.type==="childList"){l.reInit(),t.emit("slidesChanged");break}}i=new MutationObserver(h=>{s||(no(e)||e(l,h))&&c(h)}),i.observe(o,{childList:!0})}function n(){i&&i.disconnect(),s=!0}return{init:r,destroy:n}}function Sp(o,t,e,i){const s={};let r=null,n=null,a,l=!1;function c(){a=new IntersectionObserver(p=>{l||(p.forEach(f=>{const b=t.indexOf(f.target);s[b]=f}),r=null,n=null,e.emit("slidesInView"))},{root:o.parentElement,threshold:i}),t.forEach(p=>a.observe(p))}function h(){a&&a.disconnect(),l=!0}function d(p){return Bs(s).reduce((f,b)=>{const m=parseInt(b),{isIntersecting:y}=s[m];return(p&&y||!p&&!y)&&f.push(m),f},[])}function u(p=!0){if(p&&r)return r;if(!p&&n)return n;const f=d(p);return p&&(r=f),p||(n=f),f}return{init:c,destroy:h,get:u}}function Tp(o,t,e,i,s,r){const{measureSize:n,startEdge:a,endEdge:l}=o,c=e[0]&&s,h=p(),d=f(),u=e.map(n),g=b();function p(){if(!c)return 0;const y=e[0];return nt(t[a]-y[a])}function f(){if(!c)return 0;const y=r.getComputedStyle(Ee(i));return parseFloat(y.getPropertyValue(`margin-${l}`))}function b(){return e.map((y,w,T)=>{const k=!w,O=En(T,w);return k?u[w]+h:O?u[w]+d:T[w+1][a]-y[a]}).map(nt)}return{slideSizes:u,slideSizesWithGaps:g,startGap:h,endGap:d}}function Ep(o,t,e,i,s,r,n,a,l){const{startEdge:c,endEdge:h,direction:d}=o,u=Sn(e);function g(m,y){return $s(m).filter(w=>w%y===0).map(w=>m.slice(w,w+y))}function p(m){return m.length?$s(m).reduce((y,w,T)=>{const k=Ee(y)||0,O=k===0,E=w===Gs(m),S=s[c]-r[k][c],D=s[c]-r[w][h],I=!i&&O?d(n):0,M=!i&&E?d(a):0,B=nt(D-M-(S+I));return T&&B>t+l&&y.push(w),E&&y.push(m.length),y},[]).map((y,w,T)=>{const k=Math.max(T[w-1]||0);return m.slice(k,y)}):[]}function f(m){return u?g(m,e):p(m)}return{groupSlides:f}}function kp(o,t,e,i,s,r,n){const{align:a,axis:l,direction:c,startIndex:h,loop:d,duration:u,dragFree:g,dragThreshold:p,inViewThreshold:f,slidesToScroll:b,skipSnaps:m,containScroll:y,watchResize:w,watchSlides:T,watchDrag:k,watchFocus:O}=r,E=2,S=lp(),D=S.measure(t),I=e.map(S.measure),M=op(l,c),B=M.measureSize(D),R=cp(B),F=sp(a,B),Y=!d&&!!y,tt=d||!!y,{slideSizes:xt,slideSizesWithGaps:W,startGap:wt,endGap:Gt}=Tp(M,D,I,e,tt,s),Yt=Ep(M,B,b,d,D,I,wt,Gt,E),{snaps:Pe,snapsAligned:me}=bp(M,F,D,I,Yt),It=-Ee(Pe)+Ee(W),{snapsContained:De,scrollContainLimit:le}=pp(B,It,me,y,E),kt=Y?De:me,{limit:Ft}=gp(It,kt,d),ce=Ql(Gs(kt),h,d),ft=ce.clone(),rt=$s(e),A=({dragHandler:Ui,scrollBody:xo,scrollBounds:wo,options:{loop:Qs}})=>{Qs||wo.constrain(Ui.pointerDown()),xo.seek()},J=({scrollBody:Ui,translate:xo,location:wo,offsetLocation:Qs,previousLocation:oh,scrollLooper:nh,slideLooper:ah,dragHandler:lh,animation:ch,eventHandler:Jn,scrollBounds:hh,options:{loop:Qn}},ta)=>{const ea=Ui.settled(),dh=!hh.shouldConstrain(),ia=Qn?ea:ea&&dh,sa=ia&&!lh.pointerDown();sa&&ch.stop();const uh=wo.get()*ta+oh.get()*(1-ta);Qs.set(uh),Qn&&(nh.loop(Ui.direction()),ah.loop()),xo.to(Qs.get()),sa&&Jn.emit("settle"),ia||Jn.emit("scroll")},Ct=rp(i,s,()=>A(yo),Ui=>J(yo,Ui)),Xt=.68,Ae=kt[ce.get()],We=Ts(Ae),Si=Ts(Ae),ai=Ts(Ae),Ti=Ts(Ae),gs=dp(We,ai,Si,Ti,u,Xt),vo=_p(d,kt,It,Ft,Ti),_o=yp(Ct,ce,ft,gs,vo,Ti,n),qn=mp(Ft),Kn=Rs(),sh=Sp(t,e,n,f),{slideRegistry:Zn}=vp(Y,y,kt,le,Yt,rt),rh=xp(o,e,Zn,_o,gs,Kn,n,O),yo={ownerDocument:i,ownerWindow:s,eventHandler:n,containerRect:D,slideRects:I,animation:Ct,axis:M,dragHandler:np(M,o,i,s,Ti,ap(M,s),We,Ct,_o,gs,vo,ce,n,R,g,p,m,Xt,k),eventStore:Kn,percentOfView:R,index:ce,indexPrevious:ft,limit:Ft,location:We,offsetLocation:ai,previousLocation:Si,options:r,resizeHandler:hp(t,n,s,e,M,w,S),scrollBody:gs,scrollBounds:up(Ft,ai,Ti,gs,R),scrollLooper:fp(It,Ft,ai,[We,ai,Si,Ti]),scrollProgress:qn,scrollSnapList:kt.map(qn.get),scrollSnaps:kt,scrollTarget:vo,scrollTo:_o,slideLooper:wp(M,B,It,xt,W,Pe,kt,ai,e),slideFocus:rh,slidesHandler:Cp(t,n,T),slidesInView:sh,slideIndexes:rt,slideRegistry:Zn,slidesToScroll:Yt,target:Ti,translate:tc(M,t)};return yo}function Op(){let o={},t;function e(c){t=c}function i(c){return o[c]||[]}function s(c){return i(c).forEach(h=>h(t,c)),l}function r(c,h){return o[c]=i(c).concat([h]),l}function n(c,h){return o[c]=i(c).filter(d=>d!==h),l}function a(){o={}}const l={init:e,emit:s,off:n,on:r,clear:a};return l}const Pp={align:"center",axis:"x",container:null,slides:null,containScroll:"trimSnaps",direction:"ltr",slidesToScroll:1,inViewThreshold:0,breakpoints:{},dragFree:!1,dragThreshold:10,loop:!1,skipSnaps:!1,duration:25,startIndex:0,active:!0,watchDrag:!0,watchResize:!0,watchSlides:!0,watchFocus:!0};function Dp(o){function t(r,n){return Jl(r,n||{})}function e(r){const n=r.breakpoints||{},a=Bs(n).filter(l=>o.matchMedia(l).matches).map(l=>n[l]).reduce((l,c)=>t(l,c),{});return t(r,a)}function i(r){return r.map(n=>Bs(n.breakpoints||{})).reduce((n,a)=>n.concat(a),[]).map(o.matchMedia)}return{mergeOptions:t,optionsAtMedia:e,optionsMediaQueries:i}}function Ap(o){let t=[];function e(r,n){return t=n.filter(({options:a})=>o.optionsAtMedia(a).active!==!1),t.forEach(a=>a.init(r,o)),n.reduce((a,l)=>Object.assign(a,{[l.name]:l}),{})}function i(){t=t.filter(r=>r.destroy())}return{init:e,destroy:i}}function kn(o,t,e){const i=o.ownerDocument,s=i.defaultView,r=Dp(s),n=Ap(r),a=Rs(),l=Op(),{mergeOptions:c,optionsAtMedia:h,optionsMediaQueries:d}=r,{on:u,off:g,emit:p}=l,f=M;let b=!1,m,y=c(Pp,kn.globalOptions),w=c(y),T=[],k,O,E;function S(){const{container:rt,slides:A}=w;O=(tn(rt)?o.querySelector(rt):rt)||o.children[0];const Ct=tn(A)?O.querySelectorAll(A):A;E=[].slice.call(Ct||O.children)}function D(rt){const A=kp(o,O,E,i,s,rt,l);if(rt.loop&&!A.slideLooper.canLoop()){const J=Object.assign({},rt,{loop:!1});return D(J)}return A}function I(rt,A){b||(y=c(y,rt),w=h(y),T=A||T,S(),m=D(w),d([y,...T.map(({options:J})=>J)]).forEach(J=>a.add(J,"change",M)),w.active&&(m.translate.to(m.location.get()),m.animation.init(),m.slidesInView.init(),m.slideFocus.init(ft),m.eventHandler.init(ft),m.resizeHandler.init(ft),m.slidesHandler.init(ft),m.options.loop&&m.slideLooper.loop(),O.offsetParent&&E.length&&m.dragHandler.init(ft),k=n.init(ft,T)))}function M(rt,A){const J=Yt();B(),I(c({startIndex:J},rt),A),l.emit("reInit")}function B(){m.dragHandler.destroy(),m.eventStore.clear(),m.translate.clear(),m.slideLooper.clear(),m.resizeHandler.destroy(),m.slidesHandler.destroy(),m.slidesInView.destroy(),m.animation.destroy(),n.destroy(),a.clear()}function R(){b||(b=!0,a.clear(),B(),l.emit("destroy"),l.clear())}function F(rt,A,J){!w.active||b||(m.scrollBody.useBaseFriction().useDuration(A===!0?0:w.duration),m.scrollTo.index(rt,J||0))}function Y(rt){const A=m.index.add(1).get();F(A,rt,-1)}function tt(rt){const A=m.index.add(-1).get();F(A,rt,1)}function xt(){return m.index.add(1).get()!==Yt()}function W(){return m.index.add(-1).get()!==Yt()}function wt(){return m.scrollSnapList}function Gt(){return m.scrollProgress.get(m.offsetLocation.get())}function Yt(){return m.index.get()}function Pe(){return m.indexPrevious.get()}function me(){return m.slidesInView.get()}function It(){return m.slidesInView.get(!1)}function De(){return k}function le(){return m}function kt(){return o}function Ft(){return O}function ce(){return E}const ft={canScrollNext:xt,canScrollPrev:W,containerNode:Ft,internalEngine:le,destroy:R,off:g,on:u,emit:p,plugins:De,previousScrollSnap:Pe,reInit:f,rootNode:kt,scrollNext:Y,scrollPrev:tt,scrollProgress:Gt,scrollSnapList:wt,scrollTo:F,selectedScrollSnap:Yt,slideNodes:ce,slidesInView:me,slidesNotInView:It};return I(t,e),setTimeout(()=>l.emit("init"),0),ft}kn.globalOptions=void 0;var Mp=Object.defineProperty,Ip=Object.getOwnPropertyDescriptor,Ue=(o,t,e,i)=>{for(var s=i>1?void 0:i?Ip(t,e):t,r=o.length-1,n;r>=0;r--)(n=o[r])&&(s=(i?n(t,e,s):n(s))||s);return i&&s&&Mp(t,e,s),s};let fe=class extends gt{constructor(){super(...arguments),this.cards=[],this.skeleton=!1,this.firstUpdated=()=>{const t={align:"start",axis:"x",loop:!1};console.log(this.emblaNode,this.emblaViewport,this.emblaPrevButton,this.emblaNextButton);const e=kn(this.emblaViewport,t);if(this.skeleton)return;const i=this.addPrevNextBtnsClickHandlers(e,this.emblaPrevButton,this.emblaNextButton);e.on("destroy",i),e.on("reInit",()=>{!e.canScrollPrev()&&!e.canScrollNext()?(console.debug("No previous or next slides available, hiding arrows."),this.emblaPrevButton.style.visibility="hidden",this.emblaNextButton.style.visibility="hidden"):(console.debug("Previous or next slides available, showing arrows."),this.emblaPrevButton.style.visibility="visible",this.emblaNextButton.style.visibility="visible")})},this.disconnectedCallback=()=>{var t;super.disconnectedCallback(),(t=this.imageSplide)==null||t.destroy()},this.clickHandler=t=>{const e=t.target;this.emit("pbo-category-card-selected",{detail:{cardId:e.dataset.cardId}})},this.addTogglePrevNextBtnsActive=(t,e,i)=>{const s=()=>{t.canScrollPrev()?e.removeAttribute("disabled"):e.setAttribute("disabled","disabled"),t.canScrollNext()?i.removeAttribute("disabled"):i.setAttribute("disabled","disabled")};return t.on("select",s).on("init",s).on("reInit",s),()=>{e.removeAttribute("disabled"),i.removeAttribute("disabled")}}}updateArrowVisibility(){const t=this.imageCarousel.querySelector(".splide__arrow--next"),e=this.imageCarousel.querySelector(".splide__arrow--prev");t.style.visibility=t.disabled?"hidden":"visible",e.style.visibility=e.disabled?"hidden":"visible"}addPrevNextBtnsClickHandlers(t,e,i){const s=()=>{t.scrollPrev()},r=()=>{t.scrollNext()};e.addEventListener("click",s,!1),i.addEventListener("click",r,!1);const n=this.addTogglePrevNextBtnsActive(t,e,i);return()=>{n(),e.removeEventListener("click",s,!1),i.removeEventListener("click",r,!1)}}render(){return this.skeleton?L`
2156
+ */function*Zl(o,t){if(o!==void 0){let e=0;for(const i of o)yield t(i,e++)}}function Sn(o){return typeof o=="number"}function tn(o){return typeof o=="string"}function no(o){return typeof o=="boolean"}function Ba(o){return Object.prototype.toString.call(o)==="[object Object]"}function nt(o){return Math.abs(o)}function Tn(o){return Math.sign(o)}function Ds(o,t){return nt(o-t)}function ep(o,t){if(o===0||t===0||nt(o)<=nt(t))return 0;const e=Ds(nt(o),nt(t));return nt(e/o)}function ip(o){return Math.round(o*100)/100}function $s(o){return Bs(o).map(Number)}function Ee(o){return o[Gs(o)]}function Gs(o){return Math.max(0,o.length-1)}function En(o,t){return t===Gs(o)}function Ra(o,t=0){return Array.from(Array(o),(e,i)=>t+i)}function Bs(o){return Object.keys(o)}function Jl(o,t){return[o,t].reduce((e,i)=>(Bs(i).forEach(s=>{const r=e[s],n=i[s],a=Ba(r)&&Ba(n);e[s]=a?Jl(r,n):n}),e),{})}function en(o,t){return typeof t.MouseEvent<"u"&&o instanceof t.MouseEvent}function sp(o,t){const e={start:i,center:s,end:r};function i(){return 0}function s(l){return r(l)/2}function r(l){return t-l}function n(l,c){return tn(o)?e[o](l):o(t,l,c)}return{measure:n}}function Rs(){let o=[];function t(s,r,n,a={passive:!0}){let l;if("addEventListener"in s)s.addEventListener(r,n,a),l=()=>s.removeEventListener(r,n,a);else{const c=s;c.addListener(n),l=()=>c.removeListener(n)}return o.push(l),i}function e(){o=o.filter(s=>s())}const i={add:t,clear:e};return i}function rp(o,t,e,i){const s=Rs(),r=1e3/60;let n=null,a=0,l=0;function c(){s.add(o,"visibilitychange",()=>{o.hidden&&p()})}function h(){g(),s.clear()}function d(b){if(!l)return;n||(n=b,e(),e());const m=b-n;for(n=b,a+=m;a>=r;)e(),a-=r;const y=a/r;i(y),l&&(l=t.requestAnimationFrame(d))}function u(){l||(l=t.requestAnimationFrame(d))}function g(){t.cancelAnimationFrame(l),n=null,a=0,l=0}function p(){n=null,a=0}return{init:c,destroy:h,start:u,stop:g,update:e,render:i}}function op(o,t){const e=t==="rtl",i=o==="y",s=i?"y":"x",r=i?"x":"y",n=!i&&e?-1:1,a=h(),l=d();function c(p){const{height:f,width:b}=p;return i?f:b}function h(){return i?"top":e?"right":"left"}function d(){return i?"bottom":e?"left":"right"}function u(p){return p*n}return{scroll:s,cross:r,startEdge:a,endEdge:l,measureSize:c,direction:u}}function ji(o=0,t=0){const e=nt(o-t);function i(c){return c<o}function s(c){return c>t}function r(c){return i(c)||s(c)}function n(c){return r(c)?i(c)?o:t:c}function a(c){return e?c-e*Math.ceil((c-t)/e):c}return{length:e,max:t,min:o,constrain:n,reachedAny:r,reachedMax:s,reachedMin:i,removeOffset:a}}function Ql(o,t,e){const{constrain:i}=ji(0,o),s=o+1;let r=n(t);function n(u){return e?nt((s+u)%s):i(u)}function a(){return r}function l(u){return r=n(u),d}function c(u){return h().set(a()+u)}function h(){return Ql(o,a(),e)}const d={get:a,set:l,add:c,clone:h};return d}function np(o,t,e,i,s,r,n,a,l,c,h,d,u,g,p,f,b,m,y){const{cross:w,direction:T}=o,k=["INPUT","SELECT","TEXTAREA"],O={passive:!1},E=Rs(),S=Rs(),D=ji(50,225).constrain(g.measure(20)),I={mouse:300,touch:400},M={mouse:500,touch:600},B=p?43:25;let R=!1,F=0,Y=0,tt=!1,xt=!1,W=!1,wt=!1;function Gt(A){if(!y)return;function J(Xt){(no(y)||y(A,Xt))&&le(Xt)}const Ct=t;E.add(Ct,"dragstart",Xt=>Xt.preventDefault(),O).add(Ct,"touchmove",()=>{},O).add(Ct,"touchend",()=>{}).add(Ct,"touchstart",J).add(Ct,"mousedown",J).add(Ct,"touchcancel",Ft).add(Ct,"contextmenu",Ft).add(Ct,"click",ce,!0)}function Yt(){E.clear(),S.clear()}function Pe(){const A=wt?e:t;S.add(A,"touchmove",kt,O).add(A,"touchend",Ft).add(A,"mousemove",kt,O).add(A,"mouseup",Ft)}function me(A){const J=A.nodeName||"";return k.includes(J)}function It(){return(p?M:I)[wt?"mouse":"touch"]}function De(A,J){const Ct=d.add(Tn(A)*-1),Xt=h.byDistance(A,!p).distance;return p||nt(A)<D?Xt:b&&J?Xt*.5:h.byIndex(Ct.get(),0).distance}function le(A){const J=en(A,i);wt=J,W=p&&J&&!A.buttons&&R,R=Ds(s.get(),n.get())>=2,!(J&&A.button!==0)&&(me(A.target)||(tt=!0,r.pointerDown(A),c.useFriction(0).useDuration(0),s.set(n),Pe(),F=r.readPoint(A),Y=r.readPoint(A,w),u.emit("pointerDown")))}function kt(A){if(!en(A,i)&&A.touches.length>=2)return Ft(A);const Ct=r.readPoint(A),Xt=r.readPoint(A,w),Ae=Ds(Ct,F),We=Ds(Xt,Y);if(!xt&&!wt&&(!A.cancelable||(xt=Ae>We,!xt)))return Ft(A);const Si=r.pointerMove(A);Ae>f&&(W=!0),c.useFriction(.3).useDuration(.75),a.start(),s.add(T(Si)),A.preventDefault()}function Ft(A){const Ct=h.byDistance(0,!1).index!==d.get(),Xt=r.pointerUp(A)*It(),Ae=De(T(Xt),Ct),We=ep(Xt,Ae),Si=B-10*We,ai=m+We/50;xt=!1,tt=!1,S.clear(),c.useDuration(Si).useFriction(ai),l.distance(Ae,!p),wt=!1,u.emit("pointerUp")}function ce(A){W&&(A.stopPropagation(),A.preventDefault(),W=!1)}function ft(){return tt}return{init:Gt,destroy:Yt,pointerDown:ft}}function ap(o,t){let i,s;function r(d){return d.timeStamp}function n(d,u){const p=`client${(u||o.scroll)==="x"?"X":"Y"}`;return(en(d,t)?d:d.touches[0])[p]}function a(d){return i=d,s=d,n(d)}function l(d){const u=n(d)-n(s),g=r(d)-r(i)>170;return s=d,g&&(i=d),u}function c(d){if(!i||!s)return 0;const u=n(s)-n(i),g=r(d)-r(i),p=r(d)-r(s)>170,f=u/g;return g&&!p&&nt(f)>.1?f:0}return{pointerDown:a,pointerMove:l,pointerUp:c,readPoint:n}}function lp(){function o(e){const{offsetTop:i,offsetLeft:s,offsetWidth:r,offsetHeight:n}=e;return{top:i,right:s+r,bottom:i+n,left:s,width:r,height:n}}return{measure:o}}function cp(o){function t(i){return o*(i/100)}return{measure:t}}function hp(o,t,e,i,s,r,n){const a=[o].concat(i);let l,c,h=[],d=!1;function u(b){return s.measureSize(n.measure(b))}function g(b){if(!r)return;c=u(o),h=i.map(u);function m(y){for(const w of y){if(d)return;const T=w.target===o,k=i.indexOf(w.target),O=T?c:h[k],E=u(T?o:i[k]);if(nt(E-O)>=.5){b.reInit(),t.emit("resize");break}}}l=new ResizeObserver(y=>{(no(r)||r(b,y))&&m(y)}),e.requestAnimationFrame(()=>{a.forEach(y=>l.observe(y))})}function p(){d=!0,l&&l.disconnect()}return{init:g,destroy:p}}function dp(o,t,e,i,s,r){let n=0,a=0,l=s,c=r,h=o.get(),d=0;function u(){const O=i.get()-o.get(),E=!l;let S=0;return E?(n=0,e.set(i),o.set(i),S=O):(e.set(o),n+=O/l,n*=c,h+=n,o.add(n),S=h-d),a=Tn(S),d=h,k}function g(){const O=i.get()-t.get();return nt(O)<.001}function p(){return l}function f(){return a}function b(){return n}function m(){return w(s)}function y(){return T(r)}function w(O){return l=O,k}function T(O){return c=O,k}const k={direction:f,duration:p,velocity:b,seek:u,settled:g,useBaseFriction:y,useBaseDuration:m,useFriction:T,useDuration:w};return k}function up(o,t,e,i,s){const r=s.measure(10),n=s.measure(50),a=ji(.1,.99);let l=!1;function c(){return!(l||!o.reachedAny(e.get())||!o.reachedAny(t.get()))}function h(g){if(!c())return;const p=o.reachedMin(t.get())?"min":"max",f=nt(o[p]-t.get()),b=e.get()-t.get(),m=a.constrain(f/n);e.subtract(b*m),!g&&nt(b)<r&&(e.set(o.constrain(e.get())),i.useDuration(25).useBaseFriction())}function d(g){l=!g}return{shouldConstrain:c,constrain:h,toggleActive:d}}function pp(o,t,e,i,s){const r=ji(-t+o,0),n=d(),a=h(),l=u();function c(p,f){return Ds(p,f)<=1}function h(){const p=n[0],f=Ee(n),b=n.lastIndexOf(p),m=n.indexOf(f)+1;return ji(b,m)}function d(){return e.map((p,f)=>{const{min:b,max:m}=r,y=r.constrain(p),w=!f,T=En(e,f);return w?m:T||c(b,y)?b:c(m,y)?m:y}).map(p=>parseFloat(p.toFixed(3)))}function u(){if(t<=o+s)return[r.max];if(i==="keepSnaps")return n;const{min:p,max:f}=a;return n.slice(p,f)}return{snapsContained:l,scrollContainLimit:a}}function gp(o,t,e){const i=t[0],s=e?i-o:Ee(t);return{limit:ji(s,i)}}function fp(o,t,e,i){const r=t.min+.1,n=t.max+.1,{reachedMin:a,reachedMax:l}=ji(r,n);function c(u){return u===1?l(e.get()):u===-1?a(e.get()):!1}function h(u){if(!c(u))return;const g=o*(u*-1);i.forEach(p=>p.add(g))}return{loop:h}}function mp(o){const{max:t,length:e}=o;function i(r){const n=r-t;return e?n/-e:0}return{get:i}}function bp(o,t,e,i,s){const{startEdge:r,endEdge:n}=o,{groupSlides:a}=s,l=d().map(t.measure),c=u(),h=g();function d(){return a(i).map(f=>Ee(f)[n]-f[0][r]).map(nt)}function u(){return i.map(f=>e[r]-f[r]).map(f=>-nt(f))}function g(){return a(c).map(f=>f[0]).map((f,b)=>f+l[b])}return{snaps:c,snapsAligned:h}}function vp(o,t,e,i,s,r){const{groupSlides:n}=s,{min:a,max:l}=i,c=h();function h(){const u=n(r),g=!o||t==="keepSnaps";return e.length===1?[r]:g?u:u.slice(a,l).map((p,f,b)=>{const m=!f,y=En(b,f);if(m){const w=Ee(b[0])+1;return Ra(w)}if(y){const w=Gs(r)-Ee(b)[0]+1;return Ra(w,Ee(b)[0])}return p})}return{slideRegistry:c}}function _p(o,t,e,i,s){const{reachedAny:r,removeOffset:n,constrain:a}=i;function l(p){return p.concat().sort((f,b)=>nt(f)-nt(b))[0]}function c(p){const f=o?n(p):a(p),b=t.map((y,w)=>({diff:h(y-f,0),index:w})).sort((y,w)=>nt(y.diff)-nt(w.diff)),{index:m}=b[0];return{index:m,distance:f}}function h(p,f){const b=[p,p+e,p-e];if(!o)return p;if(!f)return l(b);const m=b.filter(y=>Tn(y)===f);return m.length?l(m):Ee(b)-e}function d(p,f){const b=t[p]-s.get(),m=h(b,f);return{index:p,distance:m}}function u(p,f){const b=s.get()+p,{index:m,distance:y}=c(b),w=!o&&r(b);if(!f||w)return{index:m,distance:p};const T=t[m]-y,k=p+h(T,0);return{index:m,distance:k}}return{byDistance:u,byIndex:d,shortcut:h}}function yp(o,t,e,i,s,r,n){function a(d){const u=d.distance,g=d.index!==t.get();r.add(u),u&&(i.duration()?o.start():(o.update(),o.render(1),o.update())),g&&(e.set(t.get()),t.set(d.index),n.emit("select"))}function l(d,u){const g=s.byDistance(d,u);a(g)}function c(d,u){const g=t.clone().set(d),p=s.byIndex(g.get(),u);a(p)}return{distance:l,index:c}}function xp(o,t,e,i,s,r,n,a){const l={passive:!0,capture:!0};let c=0;function h(g){if(!a)return;function p(f){if(new Date().getTime()-c>10)return;n.emit("slideFocusStart"),o.scrollLeft=0;const y=e.findIndex(w=>w.includes(f));Sn(y)&&(s.useDuration(0),i.index(y,0),n.emit("slideFocus"))}r.add(document,"keydown",d,!1),t.forEach((f,b)=>{r.add(f,"focus",m=>{(no(a)||a(g,m))&&p(b)},l)})}function d(g){g.code==="Tab"&&(c=new Date().getTime())}return{init:h}}function Ts(o){let t=o;function e(){return t}function i(l){t=n(l)}function s(l){t+=n(l)}function r(l){t-=n(l)}function n(l){return Sn(l)?l:l.get()}return{get:e,set:i,add:s,subtract:r}}function tc(o,t){const e=o.scroll==="x"?n:a,i=t.style;let s=null,r=!1;function n(u){return`translate3d(${u}px,0px,0px)`}function a(u){return`translate3d(0px,${u}px,0px)`}function l(u){if(r)return;const g=ip(o.direction(u));g!==s&&(i.transform=e(g),s=g)}function c(u){r=!u}function h(){r||(i.transform="",t.getAttribute("style")||t.removeAttribute("style"))}return{clear:h,to:l,toggleActive:c}}function wp(o,t,e,i,s,r,n,a,l){const h=$s(s),d=$s(s).reverse(),u=m().concat(y());function g(E,S){return E.reduce((D,I)=>D-s[I],S)}function p(E,S){return E.reduce((D,I)=>g(D,S)>0?D.concat([I]):D,[])}function f(E){return r.map((S,D)=>({start:S-i[D]+.5+E,end:S+t-.5+E}))}function b(E,S,D){const I=f(S);return E.map(M=>{const B=D?0:-e,R=D?e:0,F=D?"end":"start",Y=I[M][F];return{index:M,loopPoint:Y,slideLocation:Ts(-1),translate:tc(o,l[M]),target:()=>a.get()>Y?B:R}})}function m(){const E=n[0],S=p(d,E);return b(S,e,!1)}function y(){const E=t-n[0]-1,S=p(h,E);return b(S,-e,!0)}function w(){return u.every(({index:E})=>{const S=h.filter(D=>D!==E);return g(S,t)<=.1})}function T(){u.forEach(E=>{const{target:S,translate:D,slideLocation:I}=E,M=S();M!==I.get()&&(D.to(M),I.set(M))})}function k(){u.forEach(E=>E.translate.clear())}return{canLoop:w,clear:k,loop:T,loopPoints:u}}function Cp(o,t,e){let i,s=!1;function r(l){if(!e)return;function c(h){for(const d of h)if(d.type==="childList"){l.reInit(),t.emit("slidesChanged");break}}i=new MutationObserver(h=>{s||(no(e)||e(l,h))&&c(h)}),i.observe(o,{childList:!0})}function n(){i&&i.disconnect(),s=!0}return{init:r,destroy:n}}function Sp(o,t,e,i){const s={};let r=null,n=null,a,l=!1;function c(){a=new IntersectionObserver(p=>{l||(p.forEach(f=>{const b=t.indexOf(f.target);s[b]=f}),r=null,n=null,e.emit("slidesInView"))},{root:o.parentElement,threshold:i}),t.forEach(p=>a.observe(p))}function h(){a&&a.disconnect(),l=!0}function d(p){return Bs(s).reduce((f,b)=>{const m=parseInt(b),{isIntersecting:y}=s[m];return(p&&y||!p&&!y)&&f.push(m),f},[])}function u(p=!0){if(p&&r)return r;if(!p&&n)return n;const f=d(p);return p&&(r=f),p||(n=f),f}return{init:c,destroy:h,get:u}}function Tp(o,t,e,i,s,r){const{measureSize:n,startEdge:a,endEdge:l}=o,c=e[0]&&s,h=p(),d=f(),u=e.map(n),g=b();function p(){if(!c)return 0;const y=e[0];return nt(t[a]-y[a])}function f(){if(!c)return 0;const y=r.getComputedStyle(Ee(i));return parseFloat(y.getPropertyValue(`margin-${l}`))}function b(){return e.map((y,w,T)=>{const k=!w,O=En(T,w);return k?u[w]+h:O?u[w]+d:T[w+1][a]-y[a]}).map(nt)}return{slideSizes:u,slideSizesWithGaps:g,startGap:h,endGap:d}}function Ep(o,t,e,i,s,r,n,a,l){const{startEdge:c,endEdge:h,direction:d}=o,u=Sn(e);function g(m,y){return $s(m).filter(w=>w%y===0).map(w=>m.slice(w,w+y))}function p(m){return m.length?$s(m).reduce((y,w,T)=>{const k=Ee(y)||0,O=k===0,E=w===Gs(m),S=s[c]-r[k][c],D=s[c]-r[w][h],I=!i&&O?d(n):0,M=!i&&E?d(a):0,B=nt(D-M-(S+I));return T&&B>t+l&&y.push(w),E&&y.push(m.length),y},[]).map((y,w,T)=>{const k=Math.max(T[w-1]||0);return m.slice(k,y)}):[]}function f(m){return u?g(m,e):p(m)}return{groupSlides:f}}function kp(o,t,e,i,s,r,n){const{align:a,axis:l,direction:c,startIndex:h,loop:d,duration:u,dragFree:g,dragThreshold:p,inViewThreshold:f,slidesToScroll:b,skipSnaps:m,containScroll:y,watchResize:w,watchSlides:T,watchDrag:k,watchFocus:O}=r,E=2,S=lp(),D=S.measure(t),I=e.map(S.measure),M=op(l,c),B=M.measureSize(D),R=cp(B),F=sp(a,B),Y=!d&&!!y,tt=d||!!y,{slideSizes:xt,slideSizesWithGaps:W,startGap:wt,endGap:Gt}=Tp(M,D,I,e,tt,s),Yt=Ep(M,B,b,d,D,I,wt,Gt,E),{snaps:Pe,snapsAligned:me}=bp(M,F,D,I,Yt),It=-Ee(Pe)+Ee(W),{snapsContained:De,scrollContainLimit:le}=pp(B,It,me,y,E),kt=Y?De:me,{limit:Ft}=gp(It,kt,d),ce=Ql(Gs(kt),h,d),ft=ce.clone(),rt=$s(e),A=({dragHandler:Ui,scrollBody:xo,scrollBounds:wo,options:{loop:Qs}})=>{Qs||wo.constrain(Ui.pointerDown()),xo.seek()},J=({scrollBody:Ui,translate:xo,location:wo,offsetLocation:Qs,previousLocation:oh,scrollLooper:nh,slideLooper:ah,dragHandler:lh,animation:ch,eventHandler:Jn,scrollBounds:hh,options:{loop:Qn}},ta)=>{const ea=Ui.settled(),dh=!hh.shouldConstrain(),ia=Qn?ea:ea&&dh,sa=ia&&!lh.pointerDown();sa&&ch.stop();const uh=wo.get()*ta+oh.get()*(1-ta);Qs.set(uh),Qn&&(nh.loop(Ui.direction()),ah.loop()),xo.to(Qs.get()),sa&&Jn.emit("settle"),ia||Jn.emit("scroll")},Ct=rp(i,s,()=>A(yo),Ui=>J(yo,Ui)),Xt=.68,Ae=kt[ce.get()],We=Ts(Ae),Si=Ts(Ae),ai=Ts(Ae),Ti=Ts(Ae),gs=dp(We,ai,Si,Ti,u,Xt),vo=_p(d,kt,It,Ft,Ti),_o=yp(Ct,ce,ft,gs,vo,Ti,n),qn=mp(Ft),Kn=Rs(),sh=Sp(t,e,n,f),{slideRegistry:Zn}=vp(Y,y,kt,le,Yt,rt),rh=xp(o,e,Zn,_o,gs,Kn,n,O),yo={ownerDocument:i,ownerWindow:s,eventHandler:n,containerRect:D,slideRects:I,animation:Ct,axis:M,dragHandler:np(M,o,i,s,Ti,ap(M,s),We,Ct,_o,gs,vo,ce,n,R,g,p,m,Xt,k),eventStore:Kn,percentOfView:R,index:ce,indexPrevious:ft,limit:Ft,location:We,offsetLocation:ai,previousLocation:Si,options:r,resizeHandler:hp(t,n,s,e,M,w,S),scrollBody:gs,scrollBounds:up(Ft,ai,Ti,gs,R),scrollLooper:fp(It,Ft,ai,[We,ai,Si,Ti]),scrollProgress:qn,scrollSnapList:kt.map(qn.get),scrollSnaps:kt,scrollTarget:vo,scrollTo:_o,slideLooper:wp(M,B,It,xt,W,Pe,kt,ai,e),slideFocus:rh,slidesHandler:Cp(t,n,T),slidesInView:sh,slideIndexes:rt,slideRegistry:Zn,slidesToScroll:Yt,target:Ti,translate:tc(M,t)};return yo}function Op(){let o={},t;function e(c){t=c}function i(c){return o[c]||[]}function s(c){return i(c).forEach(h=>h(t,c)),l}function r(c,h){return o[c]=i(c).concat([h]),l}function n(c,h){return o[c]=i(c).filter(d=>d!==h),l}function a(){o={}}const l={init:e,emit:s,off:n,on:r,clear:a};return l}const Pp={align:"center",axis:"x",container:null,slides:null,containScroll:"trimSnaps",direction:"ltr",slidesToScroll:1,inViewThreshold:0,breakpoints:{},dragFree:!1,dragThreshold:10,loop:!1,skipSnaps:!1,duration:25,startIndex:0,active:!0,watchDrag:!0,watchResize:!0,watchSlides:!0,watchFocus:!0};function Dp(o){function t(r,n){return Jl(r,n||{})}function e(r){const n=r.breakpoints||{},a=Bs(n).filter(l=>o.matchMedia(l).matches).map(l=>n[l]).reduce((l,c)=>t(l,c),{});return t(r,a)}function i(r){return r.map(n=>Bs(n.breakpoints||{})).reduce((n,a)=>n.concat(a),[]).map(o.matchMedia)}return{mergeOptions:t,optionsAtMedia:e,optionsMediaQueries:i}}function Ap(o){let t=[];function e(r,n){return t=n.filter(({options:a})=>o.optionsAtMedia(a).active!==!1),t.forEach(a=>a.init(r,o)),n.reduce((a,l)=>Object.assign(a,{[l.name]:l}),{})}function i(){t=t.filter(r=>r.destroy())}return{init:e,destroy:i}}function kn(o,t,e){const i=o.ownerDocument,s=i.defaultView,r=Dp(s),n=Ap(r),a=Rs(),l=Op(),{mergeOptions:c,optionsAtMedia:h,optionsMediaQueries:d}=r,{on:u,off:g,emit:p}=l,f=M;let b=!1,m,y=c(Pp,kn.globalOptions),w=c(y),T=[],k,O,E;function S(){const{container:rt,slides:A}=w;O=(tn(rt)?o.querySelector(rt):rt)||o.children[0];const Ct=tn(A)?O.querySelectorAll(A):A;E=[].slice.call(Ct||O.children)}function D(rt){const A=kp(o,O,E,i,s,rt,l);if(rt.loop&&!A.slideLooper.canLoop()){const J=Object.assign({},rt,{loop:!1});return D(J)}return A}function I(rt,A){b||(y=c(y,rt),w=h(y),T=A||T,S(),m=D(w),d([y,...T.map(({options:J})=>J)]).forEach(J=>a.add(J,"change",M)),w.active&&(m.translate.to(m.location.get()),m.animation.init(),m.slidesInView.init(),m.slideFocus.init(ft),m.eventHandler.init(ft),m.resizeHandler.init(ft),m.slidesHandler.init(ft),m.options.loop&&m.slideLooper.loop(),O.offsetParent&&E.length&&m.dragHandler.init(ft),k=n.init(ft,T)))}function M(rt,A){const J=Yt();B(),I(c({startIndex:J},rt),A),l.emit("reInit")}function B(){m.dragHandler.destroy(),m.eventStore.clear(),m.translate.clear(),m.slideLooper.clear(),m.resizeHandler.destroy(),m.slidesHandler.destroy(),m.slidesInView.destroy(),m.animation.destroy(),n.destroy(),a.clear()}function R(){b||(b=!0,a.clear(),B(),l.emit("destroy"),l.clear())}function F(rt,A,J){!w.active||b||(m.scrollBody.useBaseFriction().useDuration(A===!0?0:w.duration),m.scrollTo.index(rt,J||0))}function Y(rt){const A=m.index.add(1).get();F(A,rt,-1)}function tt(rt){const A=m.index.add(-1).get();F(A,rt,1)}function xt(){return m.index.add(1).get()!==Yt()}function W(){return m.index.add(-1).get()!==Yt()}function wt(){return m.scrollSnapList}function Gt(){return m.scrollProgress.get(m.offsetLocation.get())}function Yt(){return m.index.get()}function Pe(){return m.indexPrevious.get()}function me(){return m.slidesInView.get()}function It(){return m.slidesInView.get(!1)}function De(){return k}function le(){return m}function kt(){return o}function Ft(){return O}function ce(){return E}const ft={canScrollNext:xt,canScrollPrev:W,containerNode:Ft,internalEngine:le,destroy:R,off:g,on:u,emit:p,plugins:De,previousScrollSnap:Pe,reInit:f,rootNode:kt,scrollNext:Y,scrollPrev:tt,scrollProgress:Gt,scrollSnapList:wt,scrollTo:F,selectedScrollSnap:Yt,slideNodes:ce,slidesInView:me,slidesNotInView:It};return I(t,e),setTimeout(()=>l.emit("init"),0),ft}kn.globalOptions=void 0;var Mp=Object.defineProperty,Ip=Object.getOwnPropertyDescriptor,Ue=(o,t,e,i)=>{for(var s=i>1?void 0:i?Ip(t,e):t,r=o.length-1,n;r>=0;r--)(n=o[r])&&(s=(i?n(t,e,s):n(s))||s);return i&&s&&Mp(t,e,s),s};let fe=class extends gt{constructor(){super(...arguments),this.cards=[],this.skeleton=!1,this.firstUpdated=()=>{const t={align:"start",axis:"x",loop:!1},e=kn(this.emblaViewport,t);if(this.skeleton)return;const i=this.addPrevNextBtnsClickHandlers(e,this.emblaPrevButton,this.emblaNextButton);e.on("destroy",i),e.on("reInit",()=>{!e.canScrollPrev()&&!e.canScrollNext()?(console.debug("No previous or next slides available, hiding arrows."),this.emblaPrevButton.style.visibility="hidden",this.emblaNextButton.style.visibility="hidden"):(console.debug("Previous or next slides available, showing arrows."),this.emblaPrevButton.style.visibility="visible",this.emblaNextButton.style.visibility="visible")})},this.disconnectedCallback=()=>{var t;super.disconnectedCallback(),(t=this.imageSplide)==null||t.destroy()},this.clickHandler=t=>{const e=t.target;this.emit("pbo-category-card-selected",{detail:{cardId:e.dataset.cardId}})},this.addTogglePrevNextBtnsActive=(t,e,i)=>{const s=()=>{t.canScrollPrev()?e.removeAttribute("disabled"):e.setAttribute("disabled","disabled"),t.canScrollNext()?i.removeAttribute("disabled"):i.setAttribute("disabled","disabled")};return t.on("select",s).on("init",s).on("reInit",s),()=>{e.removeAttribute("disabled"),i.removeAttribute("disabled")}}}updateArrowVisibility(){const t=this.imageCarousel.querySelector(".splide__arrow--next"),e=this.imageCarousel.querySelector(".splide__arrow--prev");t.style.visibility=t.disabled?"hidden":"visible",e.style.visibility=e.disabled?"hidden":"visible"}addPrevNextBtnsClickHandlers(t,e,i){const s=()=>{t.scrollPrev()},r=()=>{t.scrollNext()};e.addEventListener("click",s,!1),i.addEventListener("click",r,!1);const n=this.addTogglePrevNextBtnsActive(t,e,i);return()=>{n(),e.removeEventListener("click",s,!1),i.removeEventListener("click",r,!1)}}render(){return this.skeleton?L`
2184
2157
  <div class="category-container skeleton">
2185
2158
  <div class="title"></div>
2186
2159
  <div class="embla__viewport">
@@ -2203,18 +2176,17 @@
2203
2176
  `:L`
2204
2177
  <div class="category-container">
2205
2178
  <slot name="title"></slot>
2206
-
2179
+ <div class="embla__button_container embla__button_container--prev">
2180
+ <button class="embla__button embla__button--prev" type="button">
2181
+ <svg class="embla__button__svg" viewBox="0 0 532 532">
2182
+ <path
2183
+ fill="currentColor"
2184
+ d="M355.66 11.354c13.793-13.805 36.208-13.805 50.001 0 13.785 13.804 13.785 36.238 0 50.034L201.22 266l204.442 204.61c13.785 13.805 13.785 36.239 0 50.044-13.793 13.796-36.208 13.796-50.002 0a5994246.277 5994246.277 0 0 0-229.332-229.454 35.065 35.065 0 0 1-10.326-25.126c0-9.2 3.393-18.26 10.326-25.2C172.192 194.973 332.731 34.31 355.66 11.354Z"
2185
+ ></path>
2186
+ </svg>
2187
+ </button>
2188
+ </div>
2207
2189
  <section class="embla">
2208
- <div class="embla__button_container">
2209
- <button class="embla__button embla__button--prev" type="button">
2210
- <svg class="embla__button__svg" viewBox="0 0 532 532">
2211
- <path
2212
- fill="currentColor"
2213
- d="M355.66 11.354c13.793-13.805 36.208-13.805 50.001 0 13.785 13.804 13.785 36.238 0 50.034L201.22 266l204.442 204.61c13.785 13.805 13.785 36.239 0 50.044-13.793 13.796-36.208 13.796-50.002 0a5994246.277 5994246.277 0 0 0-229.332-229.454 35.065 35.065 0 0 1-10.326-25.126c0-9.2 3.393-18.26 10.326-25.2C172.192 194.973 332.731 34.31 355.66 11.354Z"
2214
- ></path>
2215
- </svg>
2216
- </button>
2217
- </div>
2218
2190
  <div class="embla__viewport">
2219
2191
  <div class="embla__container">
2220
2192
  ${Zl(this.cards,t=>L`
@@ -2230,17 +2202,17 @@
2230
2202
  `)}
2231
2203
  </div>
2232
2204
  </div>
2233
- <div class="embla__button_container">
2234
- <button class="embla__button embla__button--next" type="button">
2235
- <svg class="embla__button__svg" viewBox="0 0 532 532">
2236
- <path
2237
- fill="currentColor"
2238
- d="M176.34 520.646c-13.793 13.805-36.208 13.805-50.001 0-13.785-13.804-13.785-36.238 0-50.034L330.78 266 126.34 61.391c-13.785-13.805-13.785-36.239 0-50.044 13.793-13.796 36.208-13.796 50.002 0 22.928 22.947 206.395 206.507 229.332 229.454a35.065 35.065 0 0 1 10.326 25.126c0 9.2-3.393 18.26-10.326 25.2-45.865 45.901-206.404 206.564-229.332 229.52Z"
2239
- ></path>
2240
- </svg>
2241
- </button>
2242
- </div>
2243
2205
  </section>
2206
+ <div class="embla__button_container embla__button_container--next">
2207
+ <button class="embla__button embla__button--next" type="button">
2208
+ <svg class="embla__button__svg" viewBox="0 0 532 532">
2209
+ <path
2210
+ fill="currentColor"
2211
+ d="M176.34 520.646c-13.793 13.805-36.208 13.805-50.001 0-13.785-13.804-13.785-36.238 0-50.034L330.78 266 126.34 61.391c-13.785-13.805-13.785-36.239 0-50.044 13.793-13.796 36.208-13.796 50.002 0 22.928 22.947 206.395 206.507 229.332 229.454a35.065 35.065 0 0 1 10.326 25.126c0 9.2-3.393 18.26-10.326 25.2-45.865 45.901-206.404 206.564-229.332 229.52Z"
2212
+ ></path>
2213
+ </svg>
2214
+ </button>
2215
+ </div>
2244
2216
  </div>
2245
2217
  `}};fe.styles=[pt,Qu,Zr(tp)];Ue([C({type:Array})],fe.prototype,"cards",2);Ue([C({type:Boolean,reflect:!0})],fe.prototype,"skeleton",2);Ue([H("#category-carousel")],fe.prototype,"imageCarousel",2);Ue([H(".embla")],fe.prototype,"emblaNode",2);Ue([H(".embla__viewport")],fe.prototype,"emblaViewport",2);Ue([H(".embla__button--prev")],fe.prototype,"emblaPrevButton",2);Ue([H(".embla__button--next")],fe.prototype,"emblaNextButton",2);Ue([H(".embla__container")],fe.prototype,"emblaContainerEl",2);Ue([$()],fe.prototype,"imageSplide",2);fe=Ue([dt("pbo-category")],fe);const kb=fe,Lp=Q`
2246
2218
  :host {
@@ -3471,7 +3443,7 @@ void main() {
3471
3443
  class="submit-cta"
3472
3444
  style=${ue({display:this.sourceImg&&this.processedImg.masked_img&&!this.isImageProcessing?"block":"none"})}
3473
3445
  >
3474
- Save and Continue
3446
+ Add to Cart
3475
3447
  </pbo-button>
3476
3448
 
3477
3449
  <!-- Reupload button -->
@@ -3574,7 +3546,7 @@ void main() {
3574
3546
  resize: vertical;
3575
3547
  min-height: 96px;
3576
3548
  }
3577
- `;var Km=Object.defineProperty,Zm=Object.getOwnPropertyDescriptor,Rt=(o,t,e,i)=>{for(var s=i>1?void 0:i?Zm(t,e):t,r=o.length-1,n;r>=0;r--)(n=o[r])&&(s=(i?n(t,e,s):n(s))||s);return i&&s&&Km(t,e,s),s};let yt=class extends gt{constructor(){super(...arguments),this.hasSlotController=new zi(this,"is-gift-label","premium-card-label","free-message-label"),this.hidden=!1,this.expand=!1,this.divided=!1,this.freeMessage="",this.isGift=!1,this.isPremiumChecked=!1,this.isFreeMessageChecked=!1,this.debouncedFreeMessageChange=()=>{}}handleOnFreeMessageChange(){this.onFreeMessageChange&&(this.debouncedFreeMessageChange=Nu(this.onFreeMessageChange,300))}handleIsGiftChange(){this.isPremiumChecked=!1,this.isFreeMessageChecked=!1,this.emit("pbo_toggle_is_gift",{detail:{is_checked:this.isGift}})}handleIsFreeMessageCheckedChange(){var t;console.debug("isFreeMessageChecked",this.isFreeMessageChecked),this.isFreeMessageChecked&&(this.isPremiumChecked=!1),this.isFreeMessageChecked||(this.freeMessage="",console.debug("freeMessage is empty"),console.debug("onFreeMessageClear",this.onFreeMessageClear),(t=this.onFreeMessageClear)==null||t.call(this)),this.emit("pbo_toggle_free_message",{detail:{is_checked:this.isFreeMessageChecked}})}handleIsPremiumCheckedChange(){var t;this.isPremiumChecked?(this.isFreeMessageChecked=!1,this.emit("pbo-open-drawer")):this.emit("pbo-close-drawer"),(t=this.onPremiumSelected)==null||t.call(this,this.isPremiumChecked),this.emit("pbo_toggle_is_premium_card",{detail:{is_checked:this.isPremiumChecked}})}handleFreeMessageChange(){var t;this.freeMessage===""?(console.debug("freeMessage is empty"),(t=this.onFreeMessageClear)==null||t.call(this)):this.debouncedFreeMessageChange&&this.debouncedFreeMessageChange(this.freeMessage)}firstUpdated(){this.expand&&(this.isGift=!0)}setGiftOptionEnabled(t){this.isGift=t}setPremiumEnabled(t){this.isPremiumChecked=t}setFreeMessageEnabled(t){this.isFreeMessageChecked=t}handlePremiumChange(t){const e=t.target.checked;this.setPremiumEnabled(e)}render(){const t=this.hasSlotController.test("is-gift-label"),e=this.hasSlotController.test("premium-card-label"),i=this.hasSlotController.test("premium-card-description"),s=this.hasSlotController.test("free-message-label");return L`
3549
+ `;var Km=Object.defineProperty,Zm=Object.getOwnPropertyDescriptor,Rt=(o,t,e,i)=>{for(var s=i>1?void 0:i?Zm(t,e):t,r=o.length-1,n;r>=0;r--)(n=o[r])&&(s=(i?n(t,e,s):n(s))||s);return i&&s&&Km(t,e,s),s};let yt=class extends gt{constructor(){super(...arguments),this.hasSlotController=new zi(this,"is-gift-label","premium-card-label","free-message-label"),this.hidden=!1,this.expand=!1,this.dividerConfig={topDivider:{visible:!1,persistent:!1},bottomDivider:{visible:!1,persistent:!1}},this.freeMessage="",this.isGift=!1,this.isPremiumChecked=!1,this.isFreeMessageChecked=!1,this.debouncedFreeMessageChange=()=>{}}handleOnFreeMessageChange(){this.onFreeMessageChange&&(this.debouncedFreeMessageChange=Nu(this.onFreeMessageChange,300))}handleIsGiftChange(){this.isPremiumChecked=!1,this.isFreeMessageChecked=!1,this.emit("pbo_toggle_is_gift",{detail:{is_checked:this.isGift}})}handleIsFreeMessageCheckedChange(){var t;console.debug("isFreeMessageChecked",this.isFreeMessageChecked),this.isFreeMessageChecked&&(this.isPremiumChecked=!1),this.isFreeMessageChecked||(this.freeMessage="",console.debug("freeMessage is empty"),console.debug("onFreeMessageClear",this.onFreeMessageClear),(t=this.onFreeMessageClear)==null||t.call(this)),this.emit("pbo_toggle_free_message",{detail:{is_checked:this.isFreeMessageChecked}})}handleIsPremiumCheckedChange(){var t;this.isPremiumChecked?(this.isFreeMessageChecked=!1,this.emit("pbo-open-drawer")):this.emit("pbo-close-drawer"),(t=this.onPremiumSelected)==null||t.call(this,this.isPremiumChecked),this.emit("pbo_toggle_is_premium_card",{detail:{is_checked:this.isPremiumChecked}})}handleFreeMessageChange(){var t;this.freeMessage===""?(console.debug("freeMessage is empty"),(t=this.onFreeMessageClear)==null||t.call(this)):this.debouncedFreeMessageChange&&this.debouncedFreeMessageChange(this.freeMessage)}firstUpdated(){this.expand&&(this.isGift=!0)}setGiftOptionEnabled(t){this.isGift=t}setPremiumEnabled(t){this.isPremiumChecked=t}setFreeMessageEnabled(t){this.isFreeMessageChecked=t}render(){const t=this.hasSlotController.test("is-gift-label"),e=this.hasSlotController.test("premium-card-label"),i=this.hasSlotController.test("premium-card-description"),s=this.hasSlotController.test("free-message-label");return L`
3578
3550
  <div part="base" class="gift-options" ?hidden=${this.hidden}>
3579
3551
  <!-- 🎁 Is this a gift -->
3580
3552
  <div class="is-gift" part="is-gift option-container" ?hidden=${!t}>
@@ -3593,7 +3565,11 @@ void main() {
3593
3565
  </div>
3594
3566
 
3595
3567
  <!-- Divider -->
3596
- <hr part="divider" class="divider" ?hidden=${!this.divided||!this.isGift} />
3568
+ <hr
3569
+ part="divider top-divider"
3570
+ class="divider"
3571
+ ?hidden=${!this.dividerConfig.topDivider.visible||!this.isGift&&!this.dividerConfig.topDivider.persistent}
3572
+ />
3597
3573
 
3598
3574
  <!-- 💌 Premium Card -->
3599
3575
  <div class="premium-card" part="premium-card" ?hidden=${!this.isGift||!e}>
@@ -3632,6 +3608,10 @@ void main() {
3632
3608
  @input=${r=>{this.freeMessage=r.target.value}}
3633
3609
  ></pbo-textarea>
3634
3610
  </div>
3635
- <hr part="divider" class="divider" ?hidden=${!this.divided||!this.isGift} />
3611
+ <hr
3612
+ part="divider"
3613
+ class="divider bottom-divider"
3614
+ ?hidden=${!this.dividerConfig.bottomDivider.visible||!this.isGift&&!this.dividerConfig.bottomDivider.persistent}
3615
+ />
3636
3616
  </div>
3637
- `}clear(){this.isPremiumChecked=!1,this.isFreeMessageChecked=!1,this.freeMessage=""}};yt.styles=[pt,qm];yt.dependencies={"pbo-textarea":ct};Rt([C({type:Function})],yt.prototype,"onPremiumSelected",2);Rt([C({type:Function})],yt.prototype,"onFreeMessageChange",2);Rt([C({type:Function})],yt.prototype,"onFreeMessageClear",2);Rt([C({type:Boolean,reflect:!0})],yt.prototype,"hidden",2);Rt([C({type:Boolean,reflect:!0})],yt.prototype,"expand",2);Rt([C({type:Boolean,reflect:!0})],yt.prototype,"divided",2);Rt([C()],yt.prototype,"freeMessage",2);Rt([C()],yt.prototype,"isGift",2);Rt([C()],yt.prototype,"isPremiumChecked",2);Rt([C()],yt.prototype,"isFreeMessageChecked",2);Rt([$()],yt.prototype,"debouncedFreeMessageChange",2);Rt([V("onFreeMessageChange")],yt.prototype,"handleOnFreeMessageChange",1);Rt([V("isGift")],yt.prototype,"handleIsGiftChange",1);Rt([V("isFreeMessageChecked")],yt.prototype,"handleIsFreeMessageCheckedChange",1);Rt([V("isPremiumChecked")],yt.prototype,"handleIsPremiumCheckedChange",1);Rt([V("freeMessage")],yt.prototype,"handleFreeMessageChange",1);yt=Rt([dt("pbo-gift-options")],yt);const Wb=yt,Gb=rs,Yb=oe,Xb=He;export{jr as MessageSelector,hb as PboButton,ub as PboButtonGroup,Mb as PboCardSelection,kb as PboCategory,Ob as PboDrawer,Cb as PboEditor,Tb as PboEditorCardSlider,Bb as PboEditorSelector,Xb as PboFakeLoading,$e as PboFontSelector,Wb as PboGiftOption,Vb as PboHandwrittenCanvas,Hb as PboHandwrittenForm,Yb as PboImage,Ab as PboPageManager,gb as PboRadioButton,mb as PboRadioGroup,Gb as PboSpinner,vb as PboTextarea,Lb as PboTypeCanvas,Sb as PboTypeForm,jb as PboZoomedPreview};
3617
+ `}clear(){this.isPremiumChecked=!1,this.isFreeMessageChecked=!1,this.freeMessage=""}};yt.styles=[pt,qm];yt.dependencies={"pbo-textarea":ct};Rt([C({type:Function})],yt.prototype,"onPremiumSelected",2);Rt([C({type:Function})],yt.prototype,"onFreeMessageChange",2);Rt([C({type:Function})],yt.prototype,"onFreeMessageClear",2);Rt([C({type:Boolean,reflect:!0})],yt.prototype,"hidden",2);Rt([C({type:Boolean,reflect:!0})],yt.prototype,"expand",2);Rt([C({type:Object})],yt.prototype,"dividerConfig",2);Rt([C()],yt.prototype,"freeMessage",2);Rt([C()],yt.prototype,"isGift",2);Rt([C()],yt.prototype,"isPremiumChecked",2);Rt([C()],yt.prototype,"isFreeMessageChecked",2);Rt([$()],yt.prototype,"debouncedFreeMessageChange",2);Rt([V("onFreeMessageChange")],yt.prototype,"handleOnFreeMessageChange",1);Rt([V("isGift")],yt.prototype,"handleIsGiftChange",1);Rt([V("isFreeMessageChecked")],yt.prototype,"handleIsFreeMessageCheckedChange",1);Rt([V("isPremiumChecked")],yt.prototype,"handleIsPremiumCheckedChange",1);Rt([V("freeMessage")],yt.prototype,"handleFreeMessageChange",1);yt=Rt([dt("pbo-gift-options")],yt);const Wb=yt,Gb=rs,Yb=oe,Xb=He;export{jr as MessageSelector,hb as PboButton,ub as PboButtonGroup,Mb as PboCardSelection,kb as PboCategory,Ob as PboDrawer,Cb as PboEditor,Tb as PboEditorCardSlider,Bb as PboEditorSelector,Xb as PboFakeLoading,$e as PboFontSelector,Wb as PboGiftOption,Vb as PboHandwrittenCanvas,Hb as PboHandwrittenForm,Yb as PboImage,Ab as PboPageManager,gb as PboRadioButton,mb as PboRadioGroup,Gb as PboSpinner,vb as PboTextarea,Lb as PboTypeCanvas,Sb as PboTypeForm,jb as PboZoomedPreview};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pairbo/ui-kit",
3
- "version": "0.3.13",
3
+ "version": "0.3.15",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "readme": "./README-NPM.md",