@eric-emg/symphiq-components 1.2.346 → 1.2.348

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.
@@ -86873,7 +86873,7 @@ class BillingPeriodToggleComponent {
86873
86873
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(BillingPeriodToggleComponent, { className: "BillingPeriodToggleComponent", filePath: "lib/components/profile-analysis-dashboard/cards/billing-period-toggle.component.ts", lineNumber: 47 }); })();
86874
86874
 
86875
86875
  function PlanCardComponent_Conditional_1_Conditional_4_Template(rf, ctx) { if (rf & 1) {
86876
- i0.ɵɵelementStart(0, "div", 30);
86876
+ i0.ɵɵelementStart(0, "div", 12);
86877
86877
  i0.ɵɵtext(1);
86878
86878
  i0.ɵɵelementEnd();
86879
86879
  } if (rf & 2) {
@@ -86884,10 +86884,10 @@ function PlanCardComponent_Conditional_1_Conditional_4_Template(rf, ctx) { if (r
86884
86884
  i0.ɵɵtextInterpolate1(" ", ctx_r0.getSavingsPercentage(), " ");
86885
86885
  } }
86886
86886
  function PlanCardComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
86887
- i0.ɵɵelementStart(0, "div", 1)(1, "div", 27)(2, "span", 28);
86887
+ i0.ɵɵelementStart(0, "div", 1)(1, "div", 9)(2, "span", 10);
86888
86888
  i0.ɵɵtext(3, "Best Value");
86889
86889
  i0.ɵɵelementEnd()();
86890
- i0.ɵɵconditionalCreate(4, PlanCardComponent_Conditional_1_Conditional_4_Template, 2, 6, "div", 29);
86890
+ i0.ɵɵconditionalCreate(4, PlanCardComponent_Conditional_1_Conditional_4_Template, 2, 6, "div", 11);
86891
86891
  i0.ɵɵelementEnd();
86892
86892
  } if (rf & 2) {
86893
86893
  const ctx_r0 = i0.ɵɵnextContext();
@@ -86897,38 +86897,139 @@ function PlanCardComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
86897
86897
  i0.ɵɵadvance(3);
86898
86898
  i0.ɵɵconditional(ctx_r0.getSavingsPercentage() ? 4 : -1);
86899
86899
  } }
86900
- function PlanCardComponent_Conditional_6_Template(rf, ctx) { if (rf & 1) {
86901
- i0.ɵɵelementStart(0, "div", 5);
86900
+ function PlanCardComponent_Conditional_6_Conditional_0_Template(rf, ctx) { if (rf & 1) {
86901
+ i0.ɵɵelementStart(0, "div", 13);
86902
86902
  i0.ɵɵnamespaceSVG();
86903
86903
  i0.ɵɵelementStart(1, "svg", 18);
86904
- i0.ɵɵelement(2, "path", 31);
86904
+ i0.ɵɵelement(2, "path", 19);
86905
86905
  i0.ɵɵelementEnd();
86906
86906
  i0.ɵɵtext(3, " Most Popular Choice ");
86907
86907
  i0.ɵɵelementEnd();
86908
86908
  } if (rf & 2) {
86909
- const ctx_r0 = i0.ɵɵnextContext();
86909
+ const ctx_r0 = i0.ɵɵnextContext(2);
86910
86910
  i0.ɵɵproperty("ngClass", ctx_r0.recommendedTextClasses());
86911
86911
  } }
86912
- function PlanCardComponent_Conditional_12_Template(rf, ctx) { if (rf & 1) {
86913
- i0.ɵɵelementStart(0, "div", 9);
86912
+ function PlanCardComponent_Conditional_6_Conditional_6_Template(rf, ctx) { if (rf & 1) {
86913
+ i0.ɵɵelementStart(0, "div", 17);
86914
86914
  i0.ɵɵnamespaceSVG();
86915
86915
  i0.ɵɵelementStart(1, "svg", 18);
86916
- i0.ɵɵelement(2, "path", 32);
86916
+ i0.ɵɵelement(2, "path", 20);
86917
86917
  i0.ɵɵelementEnd();
86918
86918
  i0.ɵɵtext(3);
86919
86919
  i0.ɵɵelementEnd();
86920
86920
  } if (rf & 2) {
86921
- const ctx_r0 = i0.ɵɵnextContext();
86921
+ const ctx_r0 = i0.ɵɵnextContext(2);
86922
86922
  i0.ɵɵproperty("ngClass", ctx_r0.savingsTextClasses());
86923
86923
  i0.ɵɵadvance(3);
86924
86924
  i0.ɵɵtextInterpolate1(" ", ctx_r0.getSavingsAmount(), " ");
86925
86925
  } }
86926
- function PlanCardComponent_Conditional_15_Template(rf, ctx) { if (rf & 1) {
86927
- i0.ɵɵelement(0, "div", 12);
86926
+ function PlanCardComponent_Conditional_6_Template(rf, ctx) { if (rf & 1) {
86927
+ i0.ɵɵconditionalCreate(0, PlanCardComponent_Conditional_6_Conditional_0_Template, 4, 1, "div", 13);
86928
+ i0.ɵɵelementStart(1, "div", 14)(2, "span", 15);
86929
+ i0.ɵɵtext(3);
86930
+ i0.ɵɵelementEnd();
86931
+ i0.ɵɵelementStart(4, "span", 16);
86932
+ i0.ɵɵtext(5);
86933
+ i0.ɵɵelementEnd()();
86934
+ i0.ɵɵconditionalCreate(6, PlanCardComponent_Conditional_6_Conditional_6_Template, 4, 2, "div", 17);
86935
+ } if (rf & 2) {
86936
+ const ctx_r0 = i0.ɵɵnextContext();
86937
+ i0.ɵɵconditional(ctx_r0.showBestValueBadge() ? 0 : -1);
86938
+ i0.ɵɵadvance(2);
86939
+ i0.ɵɵproperty("ngClass", ctx_r0.priceClasses());
86940
+ i0.ɵɵadvance();
86941
+ i0.ɵɵtextInterpolate1(" ", ctx_r0.formatPrice(), " ");
86942
+ i0.ɵɵadvance();
86943
+ i0.ɵɵproperty("ngClass", ctx_r0.pricePeriodClasses());
86944
+ i0.ɵɵadvance();
86945
+ i0.ɵɵtextInterpolate1(" ", ctx_r0.getPricePeriod(), " ");
86946
+ i0.ɵɵadvance();
86947
+ i0.ɵɵconditional(ctx_r0.showBestValueBadge() && ctx_r0.getSavingsAmount() ? 6 : -1);
86948
+ } }
86949
+ function PlanCardComponent_Conditional_9_Template(rf, ctx) { if (rf & 1) {
86950
+ i0.ɵɵelement(0, "div", 7);
86928
86951
  } if (rf & 2) {
86929
86952
  const ctx_r0 = i0.ɵɵnextContext();
86930
86953
  i0.ɵɵproperty("ngClass", ctx_r0.radioInnerClasses());
86931
86954
  } }
86955
+ function PlanCardComponent_Conditional_10_Template(rf, ctx) { if (rf & 1) {
86956
+ i0.ɵɵelementStart(0, "div", 8)(1, "div", 21)(2, "div", 22)(3, "span", 23);
86957
+ i0.ɵɵtext(4, "AI usage");
86958
+ i0.ɵɵelementEnd();
86959
+ i0.ɵɵelementStart(5, "button", 24);
86960
+ i0.ɵɵnamespaceSVG();
86961
+ i0.ɵɵelementStart(6, "svg", 18);
86962
+ i0.ɵɵelement(7, "path", 25);
86963
+ i0.ɵɵelementEnd()()();
86964
+ i0.ɵɵnamespaceHTML();
86965
+ i0.ɵɵelementStart(8, "span", 26);
86966
+ i0.ɵɵtext(9, " Charged monthly based on your actual usage\u2014no per-token counting, just straightforward monthly billing. ");
86967
+ i0.ɵɵelementEnd()();
86968
+ i0.ɵɵelementStart(10, "div", 21)(11, "span", 23);
86969
+ i0.ɵɵtext(12, "Unlimited recommendations");
86970
+ i0.ɵɵelementEnd();
86971
+ i0.ɵɵnamespaceSVG();
86972
+ i0.ɵɵelementStart(13, "svg", 27);
86973
+ i0.ɵɵelement(14, "path", 28);
86974
+ i0.ɵɵelementEnd()();
86975
+ i0.ɵɵnamespaceHTML();
86976
+ i0.ɵɵelementStart(15, "div", 21)(16, "span", 23);
86977
+ i0.ɵɵtext(17, "Unlimited seats");
86978
+ i0.ɵɵelementEnd();
86979
+ i0.ɵɵnamespaceSVG();
86980
+ i0.ɵɵelementStart(18, "svg", 27);
86981
+ i0.ɵɵelement(19, "path", 28);
86982
+ i0.ɵɵelementEnd()();
86983
+ i0.ɵɵnamespaceHTML();
86984
+ i0.ɵɵelementStart(20, "div", 29)(21, "span", 23);
86985
+ i0.ɵɵtext(22, "Google Analytics integration");
86986
+ i0.ɵɵelementEnd();
86987
+ i0.ɵɵnamespaceSVG();
86988
+ i0.ɵɵelementStart(23, "svg", 27);
86989
+ i0.ɵɵelement(24, "path", 28);
86990
+ i0.ɵɵelementEnd()();
86991
+ i0.ɵɵnamespaceHTML();
86992
+ i0.ɵɵelementStart(25, "div", 30)(26, "h4", 31);
86993
+ i0.ɵɵtext(27, " Contract terms ");
86994
+ i0.ɵɵelementEnd();
86995
+ i0.ɵɵelement(28, "p", 32);
86996
+ i0.ɵɵelementEnd()();
86997
+ } if (rf & 2) {
86998
+ const ctx_r0 = i0.ɵɵnextContext();
86999
+ i0.ɵɵproperty("ngClass", ctx_r0.sectionClasses());
87000
+ i0.ɵɵadvance();
87001
+ i0.ɵɵproperty("ngClass", ctx_r0.featureRowClasses());
87002
+ i0.ɵɵadvance(2);
87003
+ i0.ɵɵproperty("ngClass", ctx_r0.labelClasses());
87004
+ i0.ɵɵadvance(2);
87005
+ i0.ɵɵproperty("libSymphiqTooltip", ctx_r0.aiUsageTooltipContent())("ngClass", ctx_r0.tooltipButtonClasses());
87006
+ i0.ɵɵadvance(3);
87007
+ i0.ɵɵproperty("ngClass", ctx_r0.valueClasses());
87008
+ i0.ɵɵadvance(2);
87009
+ i0.ɵɵproperty("ngClass", ctx_r0.featureRowClasses());
87010
+ i0.ɵɵadvance();
87011
+ i0.ɵɵproperty("ngClass", ctx_r0.labelClasses());
87012
+ i0.ɵɵadvance(2);
87013
+ i0.ɵɵproperty("ngClass", ctx_r0.checkIconClasses());
87014
+ i0.ɵɵadvance(2);
87015
+ i0.ɵɵproperty("ngClass", ctx_r0.featureRowClasses());
87016
+ i0.ɵɵadvance();
87017
+ i0.ɵɵproperty("ngClass", ctx_r0.labelClasses());
87018
+ i0.ɵɵadvance(2);
87019
+ i0.ɵɵproperty("ngClass", ctx_r0.checkIconClasses());
87020
+ i0.ɵɵadvance(2);
87021
+ i0.ɵɵproperty("ngClass", ctx_r0.featureRowClasses());
87022
+ i0.ɵɵadvance();
87023
+ i0.ɵɵproperty("ngClass", ctx_r0.labelClasses());
87024
+ i0.ɵɵadvance(2);
87025
+ i0.ɵɵproperty("ngClass", ctx_r0.checkIconClasses());
87026
+ i0.ɵɵadvance(2);
87027
+ i0.ɵɵproperty("ngClass", ctx_r0.contractTermsClasses());
87028
+ i0.ɵɵadvance();
87029
+ i0.ɵɵproperty("ngClass", ctx_r0.contractTermsLabelClasses());
87030
+ i0.ɵɵadvance(2);
87031
+ i0.ɵɵproperty("ngClass", ctx_r0.contractTermsTextClasses())("innerHTML", ctx_r0.getContractTerms(), i0.ɵɵsanitizeHtml);
87032
+ } }
86932
87033
  class PlanCardComponent {
86933
87034
  constructor() {
86934
87035
  this.viewMode = input(ViewModeEnum.LIGHT, ...(ngDevMode ? [{ debugName: "viewMode" }] : []));
@@ -86940,6 +87041,10 @@ class PlanCardComponent {
86940
87041
  this.showBestValueBadge = computed(() => {
86941
87042
  return this.planInfo().bestValue === true;
86942
87043
  }, ...(ngDevMode ? [{ debugName: "showBestValueBadge" }] : []));
87044
+ this.isEmgPlan = computed(() => {
87045
+ const title = this.getPlanTitle().toLowerCase();
87046
+ return title.includes('emg');
87047
+ }, ...(ngDevMode ? [{ debugName: "isEmgPlan" }] : []));
86943
87048
  }
86944
87049
  handleCardClick() {
86945
87050
  this.planSelected.emit(this.planInfo());
@@ -86972,6 +87077,9 @@ class PlanCardComponent {
86972
87077
  getPricePeriod() {
86973
87078
  const info = this.planInfo();
86974
87079
  if (info.periodUnit === ChargebeeItemPricePeriodUnitEnum.YEAR) {
87080
+ if (info.planItemPrice.periodUnit === ChargebeeItemPricePeriodUnitEnum.MONTH) {
87081
+ return 'per month, billed monthly';
87082
+ }
86975
87083
  return 'per month, billed annually';
86976
87084
  }
86977
87085
  else {
@@ -87169,125 +87277,40 @@ At the end of each month, your total AI usage is calculated and automatically bi
87169
87277
  return null;
87170
87278
  }
87171
87279
  static { this.ɵfac = function PlanCardComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || PlanCardComponent)(); }; }
87172
- static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PlanCardComponent, selectors: [["symphiq-plan-card"]], inputs: { viewMode: [1, "viewMode"], planInfo: [1, "planInfo"], isSelected: [1, "isSelected"], selectedPeriodUnit: [1, "selectedPeriodUnit"], monthlyComparisonPrice: [1, "monthlyComparisonPrice"] }, outputs: { planSelected: "planSelected" }, decls: 45, vars: 35, consts: [[1, "relative", "rounded-2xl", "border-2", "p-6", "transition-all", "duration-200", "cursor-pointer", "hover:scale-[1.02]", 3, "click", "ngClass"], [1, "absolute", "-top-5", "left-1/2", "flex", "flex-col", "items-center", "gap-2", "z-10"], [1, "flex", "items-start", "justify-between", "mb-6"], [1, "flex-1"], [1, "text-xl", "font-bold", "mb-2", 3, "ngClass"], [1, "text-sm", "font-semibold", "mb-2", "flex", "items-center", "gap-1", 3, "ngClass"], [1, "flex", "items-baseline", "gap-2"], [1, "text-4xl", "font-bold", 3, "ngClass"], [1, "text-base", 3, "ngClass"], [1, "text-sm", "font-bold", "mt-2", "flex", "items-center", "gap-1", 3, "ngClass"], [1, "flex-shrink-0", "ml-4"], [1, "w-6", "h-6", "rounded-full", "border-2", "flex", "items-center", "justify-center", "transition-all", "duration-200", 3, "ngClass"], [1, "w-3", "h-3", "rounded-full", 3, "ngClass"], [1, "space-y-4", 3, "ngClass"], [1, "flex", "justify-between", "items-center", "py-3", "border-b", 3, "ngClass"], [1, "flex", "items-center", "gap-2"], [1, "text-sm", "font-medium", 3, "ngClass"], ["tooltipType", "markdown", "tooltipPosition", "right", 1, "w-5", "h-5", "rounded-full", "flex", "items-center", "justify-center", 3, "libSymphiqTooltip", "ngClass"], ["fill", "currentColor", "viewBox", "0 0 20 20", 1, "w-4", "h-4"], ["fill-rule", "evenodd", "d", "M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-3a1 1 0 00-.867.5 1 1 0 11-1.731-1A3 3 0 0113 8a3.001 3.001 0 01-2 2.83V11a1 1 0 11-2 0v-1a1 1 0 011-1 1 1 0 100-2zm0 8a1 1 0 100-2 1 1 0 000 2z", "clip-rule", "evenodd"], [1, "text-sm", "font-semibold", "text-right", "max-w-[60%]", 3, "ngClass"], ["fill", "currentColor", "viewBox", "0 0 20 20", 1, "w-5", "h-5", 3, "ngClass"], ["fill-rule", "evenodd", "d", "M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z", "clip-rule", "evenodd"], [1, "flex", "justify-between", "items-center", "py-3", 3, "ngClass"], [1, "pt-4", "mt-4", 3, "ngClass"], [1, "text-xs", "font-semibold", "uppercase", "tracking-wider", "mb-2", 3, "ngClass"], [1, "text-sm", "leading-relaxed", 3, "ngClass", "innerHTML"], [1, "px-6", "py-2", "rounded-full", "text-base", "font-extrabold", "shadow-2xl", 3, "ngClass"], [1, "drop-shadow-lg"], [1, "px-3", "py-1", "rounded-full", "text-xs", "font-bold", "shadow-lg", 3, "ngClass", "savings-badge", "savings-badge-selected"], [1, "px-3", "py-1", "rounded-full", "text-xs", "font-bold", "shadow-lg", 3, "ngClass"], ["fill-rule", "evenodd", "d", "M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z", "clip-rule", "evenodd"], ["fill-rule", "evenodd", "d", "M5 2a1 1 0 011 1v1h1a1 1 0 010 2H6v1a1 1 0 01-2 0V6H3a1 1 0 010-2h1V3a1 1 0 011-1zm0 10a1 1 0 011 1v1h1a1 1 0 110 2H6v1a1 1 0 11-2 0v-1H3a1 1 0 110-2h1v-1a1 1 0 011-1zM12 2a1 1 0 01.967.744L14.146 7.2 17.5 9.134a1 1 0 010 1.732l-3.354 1.935-1.18 4.455a1 1 0 01-1.933 0L9.854 12.8 6.5 10.866a1 1 0 010-1.732l3.354-1.935 1.18-4.455A1 1 0 0112 2z", "clip-rule", "evenodd"]], template: function PlanCardComponent_Template(rf, ctx) { if (rf & 1) {
87280
+ static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PlanCardComponent, selectors: [["symphiq-plan-card"]], inputs: { viewMode: [1, "viewMode"], planInfo: [1, "planInfo"], isSelected: [1, "isSelected"], selectedPeriodUnit: [1, "selectedPeriodUnit"], monthlyComparisonPrice: [1, "monthlyComparisonPrice"] }, outputs: { planSelected: "planSelected" }, decls: 11, vars: 16, consts: [[1, "relative", "rounded-2xl", "border-2", "p-6", "transition-all", "duration-200", "cursor-pointer", "hover:scale-[1.02]", 3, "click", "ngClass"], [1, "absolute", "-top-5", "left-1/2", "flex", "flex-col", "items-center", "gap-2", "z-10"], [1, "flex", "items-start", "justify-between"], [1, "flex-1"], [1, "text-xl", "font-bold", 3, "ngClass"], [1, "flex-shrink-0", "ml-4"], [1, "w-6", "h-6", "rounded-full", "border-2", "flex", "items-center", "justify-center", "transition-all", "duration-200", 3, "ngClass"], [1, "w-3", "h-3", "rounded-full", 3, "ngClass"], [1, "space-y-4", 3, "ngClass"], [1, "px-6", "py-2", "rounded-full", "text-base", "font-extrabold", "shadow-2xl", 3, "ngClass"], [1, "drop-shadow-lg"], [1, "px-3", "py-1", "rounded-full", "text-xs", "font-bold", "shadow-lg", 3, "ngClass", "savings-badge", "savings-badge-selected"], [1, "px-3", "py-1", "rounded-full", "text-xs", "font-bold", "shadow-lg", 3, "ngClass"], [1, "text-sm", "font-semibold", "mb-2", "flex", "items-center", "gap-1", 3, "ngClass"], [1, "flex", "items-baseline", "gap-2"], [1, "text-4xl", "font-bold", 3, "ngClass"], [1, "text-base", 3, "ngClass"], [1, "text-sm", "font-bold", "mt-2", "flex", "items-center", "gap-1", 3, "ngClass"], ["fill", "currentColor", "viewBox", "0 0 20 20", 1, "w-4", "h-4"], ["fill-rule", "evenodd", "d", "M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z", "clip-rule", "evenodd"], ["fill-rule", "evenodd", "d", "M5 2a1 1 0 011 1v1h1a1 1 0 010 2H6v1a1 1 0 01-2 0V6H3a1 1 0 010-2h1V3a1 1 0 011-1zm0 10a1 1 0 011 1v1h1a1 1 0 110 2H6v1a1 1 0 11-2 0v-1H3a1 1 0 110-2h1v-1a1 1 0 011-1zM12 2a1 1 0 01.967.744L14.146 7.2 17.5 9.134a1 1 0 010 1.732l-3.354 1.935-1.18 4.455a1 1 0 01-1.933 0L9.854 12.8 6.5 10.866a1 1 0 010-1.732l3.354-1.935 1.18-4.455A1 1 0 0112 2z", "clip-rule", "evenodd"], [1, "flex", "justify-between", "items-center", "py-3", "border-b", 3, "ngClass"], [1, "flex", "items-center", "gap-2"], [1, "text-sm", "font-medium", 3, "ngClass"], ["tooltipType", "markdown", "tooltipPosition", "right", 1, "w-5", "h-5", "rounded-full", "flex", "items-center", "justify-center", 3, "libSymphiqTooltip", "ngClass"], ["fill-rule", "evenodd", "d", "M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-3a1 1 0 00-.867.5 1 1 0 11-1.731-1A3 3 0 0113 8a3.001 3.001 0 01-2 2.83V11a1 1 0 11-2 0v-1a1 1 0 011-1 1 1 0 100-2zm0 8a1 1 0 100-2 1 1 0 000 2z", "clip-rule", "evenodd"], [1, "text-sm", "font-semibold", "text-right", "max-w-[60%]", 3, "ngClass"], ["fill", "currentColor", "viewBox", "0 0 20 20", 1, "w-5", "h-5", 3, "ngClass"], ["fill-rule", "evenodd", "d", "M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z", "clip-rule", "evenodd"], [1, "flex", "justify-between", "items-center", "py-3", 3, "ngClass"], [1, "pt-4", "mt-4", 3, "ngClass"], [1, "text-xs", "font-semibold", "uppercase", "tracking-wider", "mb-2", 3, "ngClass"], [1, "text-sm", "leading-relaxed", 3, "ngClass", "innerHTML"]], template: function PlanCardComponent_Template(rf, ctx) { if (rf & 1) {
87173
87281
  i0.ɵɵelementStart(0, "div", 0);
87174
87282
  i0.ɵɵlistener("click", function PlanCardComponent_Template_div_click_0_listener() { return ctx.handleCardClick(); });
87175
87283
  i0.ɵɵconditionalCreate(1, PlanCardComponent_Conditional_1_Template, 5, 6, "div", 1);
87176
87284
  i0.ɵɵelementStart(2, "div", 2)(3, "div", 3)(4, "h3", 4);
87177
87285
  i0.ɵɵtext(5);
87178
87286
  i0.ɵɵelementEnd();
87179
- i0.ɵɵconditionalCreate(6, PlanCardComponent_Conditional_6_Template, 4, 1, "div", 5);
87180
- i0.ɵɵelementStart(7, "div", 6)(8, "span", 7);
87181
- i0.ɵɵtext(9);
87182
- i0.ɵɵelementEnd();
87183
- i0.ɵɵelementStart(10, "span", 8);
87184
- i0.ɵɵtext(11);
87185
- i0.ɵɵelementEnd()();
87186
- i0.ɵɵconditionalCreate(12, PlanCardComponent_Conditional_12_Template, 4, 2, "div", 9);
87287
+ i0.ɵɵconditionalCreate(6, PlanCardComponent_Conditional_6_Template, 7, 6);
87187
87288
  i0.ɵɵelementEnd();
87188
- i0.ɵɵelementStart(13, "div", 10)(14, "div", 11);
87189
- i0.ɵɵconditionalCreate(15, PlanCardComponent_Conditional_15_Template, 1, 1, "div", 12);
87289
+ i0.ɵɵelementStart(7, "div", 5)(8, "div", 6);
87290
+ i0.ɵɵconditionalCreate(9, PlanCardComponent_Conditional_9_Template, 1, 1, "div", 7);
87190
87291
  i0.ɵɵelementEnd()()();
87191
- i0.ɵɵelementStart(16, "div", 13)(17, "div", 14)(18, "div", 15)(19, "span", 16);
87192
- i0.ɵɵtext(20, "AI usage");
87193
- i0.ɵɵelementEnd();
87194
- i0.ɵɵelementStart(21, "button", 17);
87195
- i0.ɵɵnamespaceSVG();
87196
- i0.ɵɵelementStart(22, "svg", 18);
87197
- i0.ɵɵelement(23, "path", 19);
87198
- i0.ɵɵelementEnd()()();
87199
- i0.ɵɵnamespaceHTML();
87200
- i0.ɵɵelementStart(24, "span", 20);
87201
- i0.ɵɵtext(25, " Charged monthly based on your actual usage\u2014no per-token counting, just straightforward monthly billing. ");
87202
- i0.ɵɵelementEnd()();
87203
- i0.ɵɵelementStart(26, "div", 14)(27, "span", 16);
87204
- i0.ɵɵtext(28, "Unlimited recommendations");
87205
- i0.ɵɵelementEnd();
87206
- i0.ɵɵnamespaceSVG();
87207
- i0.ɵɵelementStart(29, "svg", 21);
87208
- i0.ɵɵelement(30, "path", 22);
87209
- i0.ɵɵelementEnd()();
87210
- i0.ɵɵnamespaceHTML();
87211
- i0.ɵɵelementStart(31, "div", 14)(32, "span", 16);
87212
- i0.ɵɵtext(33, "Unlimited seats");
87213
- i0.ɵɵelementEnd();
87214
- i0.ɵɵnamespaceSVG();
87215
- i0.ɵɵelementStart(34, "svg", 21);
87216
- i0.ɵɵelement(35, "path", 22);
87217
- i0.ɵɵelementEnd()();
87218
- i0.ɵɵnamespaceHTML();
87219
- i0.ɵɵelementStart(36, "div", 23)(37, "span", 16);
87220
- i0.ɵɵtext(38, "Google Analytics integration");
87221
- i0.ɵɵelementEnd();
87222
- i0.ɵɵnamespaceSVG();
87223
- i0.ɵɵelementStart(39, "svg", 21);
87224
- i0.ɵɵelement(40, "path", 22);
87225
- i0.ɵɵelementEnd()();
87226
- i0.ɵɵnamespaceHTML();
87227
- i0.ɵɵelementStart(41, "div", 24)(42, "h4", 25);
87228
- i0.ɵɵtext(43, " Contract terms ");
87292
+ i0.ɵɵconditionalCreate(10, PlanCardComponent_Conditional_10_Template, 29, 19, "div", 8);
87229
87293
  i0.ɵɵelementEnd();
87230
- i0.ɵɵelement(44, "p", 26);
87231
- i0.ɵɵelementEnd()()();
87232
87294
  } if (rf & 2) {
87233
87295
  i0.ɵɵclassProp("best-value-card", ctx.showBestValueBadge() && !ctx.isSelected())("best-value-card-selected", ctx.showBestValueBadge() && ctx.isSelected());
87234
87296
  i0.ɵɵproperty("ngClass", ctx.cardContainerClasses());
87235
87297
  i0.ɵɵadvance();
87236
87298
  i0.ɵɵconditional(ctx.showBestValueBadge() ? 1 : -1);
87237
- i0.ɵɵadvance(3);
87238
- i0.ɵɵproperty("ngClass", ctx.planTitleClasses());
87239
- i0.ɵɵadvance();
87240
- i0.ɵɵtextInterpolate1(" ", ctx.getPlanTitle(), " ");
87241
87299
  i0.ɵɵadvance();
87242
- i0.ɵɵconditional(ctx.showBestValueBadge() ? 6 : -1);
87300
+ i0.ɵɵclassProp("mb-6", !ctx.isEmgPlan());
87243
87301
  i0.ɵɵadvance(2);
87244
- i0.ɵɵproperty("ngClass", ctx.priceClasses());
87245
- i0.ɵɵadvance();
87246
- i0.ɵɵtextInterpolate1(" ", ctx.formatPrice(), " ");
87247
- i0.ɵɵadvance();
87248
- i0.ɵɵproperty("ngClass", ctx.pricePeriodClasses());
87302
+ i0.ɵɵclassProp("mb-2", !ctx.isEmgPlan());
87303
+ i0.ɵɵproperty("ngClass", ctx.planTitleClasses());
87249
87304
  i0.ɵɵadvance();
87250
- i0.ɵɵtextInterpolate1(" ", ctx.getPricePeriod(), " ");
87305
+ i0.ɵɵtextInterpolate1(" ", ctx.getPlanTitle(), " ");
87251
87306
  i0.ɵɵadvance();
87252
- i0.ɵɵconditional(ctx.showBestValueBadge() && ctx.getSavingsAmount() ? 12 : -1);
87307
+ i0.ɵɵconditional(!ctx.isEmgPlan() ? 6 : -1);
87253
87308
  i0.ɵɵadvance(2);
87254
87309
  i0.ɵɵproperty("ngClass", ctx.radioClasses());
87255
87310
  i0.ɵɵadvance();
87256
- i0.ɵɵconditional(ctx.isSelected() ? 15 : -1);
87257
- i0.ɵɵadvance();
87258
- i0.ɵɵproperty("ngClass", ctx.sectionClasses());
87259
- i0.ɵɵadvance();
87260
- i0.ɵɵproperty("ngClass", ctx.featureRowClasses());
87261
- i0.ɵɵadvance(2);
87262
- i0.ɵɵproperty("ngClass", ctx.labelClasses());
87263
- i0.ɵɵadvance(2);
87264
- i0.ɵɵproperty("libSymphiqTooltip", ctx.aiUsageTooltipContent())("ngClass", ctx.tooltipButtonClasses());
87265
- i0.ɵɵadvance(3);
87266
- i0.ɵɵproperty("ngClass", ctx.valueClasses());
87267
- i0.ɵɵadvance(2);
87268
- i0.ɵɵproperty("ngClass", ctx.featureRowClasses());
87269
- i0.ɵɵadvance();
87270
- i0.ɵɵproperty("ngClass", ctx.labelClasses());
87271
- i0.ɵɵadvance(2);
87272
- i0.ɵɵproperty("ngClass", ctx.checkIconClasses());
87273
- i0.ɵɵadvance(2);
87274
- i0.ɵɵproperty("ngClass", ctx.featureRowClasses());
87311
+ i0.ɵɵconditional(ctx.isSelected() ? 9 : -1);
87275
87312
  i0.ɵɵadvance();
87276
- i0.ɵɵproperty("ngClass", ctx.labelClasses());
87277
- i0.ɵɵadvance(2);
87278
- i0.ɵɵproperty("ngClass", ctx.checkIconClasses());
87279
- i0.ɵɵadvance(2);
87280
- i0.ɵɵproperty("ngClass", ctx.featureRowClasses());
87281
- i0.ɵɵadvance();
87282
- i0.ɵɵproperty("ngClass", ctx.labelClasses());
87283
- i0.ɵɵadvance(2);
87284
- i0.ɵɵproperty("ngClass", ctx.checkIconClasses());
87285
- i0.ɵɵadvance(2);
87286
- i0.ɵɵproperty("ngClass", ctx.contractTermsClasses());
87287
- i0.ɵɵadvance();
87288
- i0.ɵɵproperty("ngClass", ctx.contractTermsLabelClasses());
87289
- i0.ɵɵadvance(2);
87290
- i0.ɵɵproperty("ngClass", ctx.contractTermsTextClasses())("innerHTML", ctx.getContractTerms(), i0.ɵɵsanitizeHtml);
87313
+ i0.ɵɵconditional(!ctx.isEmgPlan() ? 10 : -1);
87291
87314
  } }, dependencies: [CommonModule, i1$1.NgClass, TooltipDirective], styles: ["@keyframes _ngcontent-%COMP%_pulse-glow{0%,to{transform:translate(-50%) scale(1);box-shadow:0 0 20px #eab30899,0 0 40px #eab30866,0 0 60px #eab30833,inset 0 0 20px #ffffff4d}50%{transform:translate(-50%) scale(1.06);box-shadow:0 0 25px #eab308b3,0 0 50px #eab30880,0 0 75px #eab3084d,inset 0 0 25px #fff6}}@keyframes _ngcontent-%COMP%_pulse-glow-selected{0%,to{transform:translate(-50%) scale(1);box-shadow:0 0 20px #3b82f699,0 0 40px #3b82f666,0 0 60px #3b82f633,inset 0 0 20px #ffffff4d}50%{transform:translate(-50%) scale(1.06);box-shadow:0 0 25px #3b82f6b3,0 0 50px #3b82f680,0 0 75px #3b82f64d,inset 0 0 25px #fff6}}@keyframes _ngcontent-%COMP%_shimmer{0%{background-position:-200% center}to{background-position:200% center}}@keyframes _ngcontent-%COMP%_border-glow{0%,to{box-shadow:0 0 20px #eab30866,0 0 40px #eab30833,0 0 60px #eab3081a}50%{box-shadow:0 0 25px #eab30880,0 0 50px #eab3084d,0 0 75px #eab30826}}@keyframes _ngcontent-%COMP%_border-glow-selected{0%,to{box-shadow:0 0 20px #3b82f666,0 0 40px #3b82f633,0 0 60px #3b82f61a}50%{box-shadow:0 0 25px #3b82f680,0 0 50px #3b82f64d,0 0 75px #3b82f626}}.best-value-badge[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_pulse-glow 12s ease-in-out infinite;background:linear-gradient(135deg,#fbbf24,#f59e0b,#ec4899,#d946ef,#a855f7,#ec4899 75%,#f59e0b 85%,#fbbf24);background-size:300% 300%;animation:_ngcontent-%COMP%_pulse-glow 12s ease-in-out infinite,_ngcontent-%COMP%_shimmer 20s linear infinite;position:relative;overflow:hidden;transition:all .3s ease}.best-value-badge-selected[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_pulse-glow-selected 12s ease-in-out infinite,_ngcontent-%COMP%_shimmer 20s linear infinite;background:linear-gradient(135deg,#3b82f6,#2563eb,#1d4ed8,#3b82f6,#2563eb,#3b82f6);background-size:300% 300%}.best-value-badge[_ngcontent-%COMP%]:before{content:\"\";position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.4),transparent);animation:_ngcontent-%COMP%_shimmer 12s infinite}.best-value-card[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_border-glow 12s ease-in-out infinite;border-width:3px;transition:all .3s ease}.best-value-card-selected[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_border-glow-selected 12s ease-in-out infinite}.best-value-card[_ngcontent-%COMP%]:hover{transform:scale(1.02)}.savings-badge[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_pulse-glow 14s ease-in-out infinite}.savings-badge-selected[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_pulse-glow-selected 14s ease-in-out infinite}"], changeDetection: 0 }); }
87292
87315
  }
87293
87316
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PlanCardComponent, [{
@@ -87319,34 +87342,36 @@ At the end of each month, your total AI usage is calculated and automatically bi
87319
87342
  </div>
87320
87343
  }
87321
87344
 
87322
- <div class="flex items-start justify-between mb-6">
87345
+ <div class="flex items-start justify-between" [class.mb-6]="!isEmgPlan()">
87323
87346
  <div class="flex-1">
87324
- <h3 [ngClass]="planTitleClasses()" class="text-xl font-bold mb-2">
87347
+ <h3 [ngClass]="planTitleClasses()" class="text-xl font-bold" [class.mb-2]="!isEmgPlan()">
87325
87348
  {{ getPlanTitle() }}
87326
87349
  </h3>
87327
- @if (showBestValueBadge()) {
87328
- <div [ngClass]="recommendedTextClasses()" class="text-sm font-semibold mb-2 flex items-center gap-1">
87329
- <svg class="w-4 h-4" fill="currentColor" viewBox="0 0 20 20">
87330
- <path fill-rule="evenodd" d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z" clip-rule="evenodd"/>
87331
- </svg>
87332
- Most Popular Choice
87333
- </div>
87334
- }
87335
- <div class="flex items-baseline gap-2">
87336
- <span [ngClass]="priceClasses()" class="text-4xl font-bold">
87337
- {{ formatPrice() }}
87338
- </span>
87339
- <span [ngClass]="pricePeriodClasses()" class="text-base">
87340
- {{ getPricePeriod() }}
87341
- </span>
87342
- </div>
87343
- @if (showBestValueBadge() && getSavingsAmount()) {
87344
- <div [ngClass]="savingsTextClasses()" class="text-sm font-bold mt-2 flex items-center gap-1">
87345
- <svg class="w-4 h-4" fill="currentColor" viewBox="0 0 20 20">
87346
- <path fill-rule="evenodd" d="M5 2a1 1 0 011 1v1h1a1 1 0 010 2H6v1a1 1 0 01-2 0V6H3a1 1 0 010-2h1V3a1 1 0 011-1zm0 10a1 1 0 011 1v1h1a1 1 0 110 2H6v1a1 1 0 11-2 0v-1H3a1 1 0 110-2h1v-1a1 1 0 011-1zM12 2a1 1 0 01.967.744L14.146 7.2 17.5 9.134a1 1 0 010 1.732l-3.354 1.935-1.18 4.455a1 1 0 01-1.933 0L9.854 12.8 6.5 10.866a1 1 0 010-1.732l3.354-1.935 1.18-4.455A1 1 0 0112 2z" clip-rule="evenodd"/>
87347
- </svg>
87348
- {{ getSavingsAmount() }}
87350
+ @if (!isEmgPlan()) {
87351
+ @if (showBestValueBadge()) {
87352
+ <div [ngClass]="recommendedTextClasses()" class="text-sm font-semibold mb-2 flex items-center gap-1">
87353
+ <svg class="w-4 h-4" fill="currentColor" viewBox="0 0 20 20">
87354
+ <path fill-rule="evenodd" d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z" clip-rule="evenodd"/>
87355
+ </svg>
87356
+ Most Popular Choice
87357
+ </div>
87358
+ }
87359
+ <div class="flex items-baseline gap-2">
87360
+ <span [ngClass]="priceClasses()" class="text-4xl font-bold">
87361
+ {{ formatPrice() }}
87362
+ </span>
87363
+ <span [ngClass]="pricePeriodClasses()" class="text-base">
87364
+ {{ getPricePeriod() }}
87365
+ </span>
87349
87366
  </div>
87367
+ @if (showBestValueBadge() && getSavingsAmount()) {
87368
+ <div [ngClass]="savingsTextClasses()" class="text-sm font-bold mt-2 flex items-center gap-1">
87369
+ <svg class="w-4 h-4" fill="currentColor" viewBox="0 0 20 20">
87370
+ <path fill-rule="evenodd" d="M5 2a1 1 0 011 1v1h1a1 1 0 010 2H6v1a1 1 0 01-2 0V6H3a1 1 0 010-2h1V3a1 1 0 011-1zm0 10a1 1 0 011 1v1h1a1 1 0 110 2H6v1a1 1 0 11-2 0v-1H3a1 1 0 110-2h1v-1a1 1 0 011-1zM12 2a1 1 0 01.967.744L14.146 7.2 17.5 9.134a1 1 0 010 1.732l-3.354 1.935-1.18 4.455a1 1 0 01-1.933 0L9.854 12.8 6.5 10.866a1 1 0 010-1.732l3.354-1.935 1.18-4.455A1 1 0 0112 2z" clip-rule="evenodd"/>
87371
+ </svg>
87372
+ {{ getSavingsAmount() }}
87373
+ </div>
87374
+ }
87350
87375
  }
87351
87376
  </div>
87352
87377
  <div class="flex-shrink-0 ml-4">
@@ -87358,6 +87383,7 @@ At the end of each month, your total AI usage is calculated and automatically bi
87358
87383
  </div>
87359
87384
  </div>
87360
87385
 
87386
+ @if (!isEmgPlan()) {
87361
87387
  <div [ngClass]="sectionClasses()" class="space-y-4">
87362
87388
  <div [ngClass]="featureRowClasses()" class="flex justify-between items-center py-3 border-b">
87363
87389
  <div class="flex items-center gap-2">
@@ -87406,10 +87432,11 @@ At the end of each month, your total AI usage is calculated and automatically bi
87406
87432
  <p [ngClass]="contractTermsTextClasses()" class="text-sm leading-relaxed" [innerHTML]="getContractTerms()"></p>
87407
87433
  </div>
87408
87434
  </div>
87435
+ }
87409
87436
  </div>
87410
87437
  `, styles: ["@keyframes pulse-glow{0%,to{transform:translate(-50%) scale(1);box-shadow:0 0 20px #eab30899,0 0 40px #eab30866,0 0 60px #eab30833,inset 0 0 20px #ffffff4d}50%{transform:translate(-50%) scale(1.06);box-shadow:0 0 25px #eab308b3,0 0 50px #eab30880,0 0 75px #eab3084d,inset 0 0 25px #fff6}}@keyframes pulse-glow-selected{0%,to{transform:translate(-50%) scale(1);box-shadow:0 0 20px #3b82f699,0 0 40px #3b82f666,0 0 60px #3b82f633,inset 0 0 20px #ffffff4d}50%{transform:translate(-50%) scale(1.06);box-shadow:0 0 25px #3b82f6b3,0 0 50px #3b82f680,0 0 75px #3b82f64d,inset 0 0 25px #fff6}}@keyframes shimmer{0%{background-position:-200% center}to{background-position:200% center}}@keyframes border-glow{0%,to{box-shadow:0 0 20px #eab30866,0 0 40px #eab30833,0 0 60px #eab3081a}50%{box-shadow:0 0 25px #eab30880,0 0 50px #eab3084d,0 0 75px #eab30826}}@keyframes border-glow-selected{0%,to{box-shadow:0 0 20px #3b82f666,0 0 40px #3b82f633,0 0 60px #3b82f61a}50%{box-shadow:0 0 25px #3b82f680,0 0 50px #3b82f64d,0 0 75px #3b82f626}}.best-value-badge{animation:pulse-glow 12s ease-in-out infinite;background:linear-gradient(135deg,#fbbf24,#f59e0b,#ec4899,#d946ef,#a855f7,#ec4899 75%,#f59e0b 85%,#fbbf24);background-size:300% 300%;animation:pulse-glow 12s ease-in-out infinite,shimmer 20s linear infinite;position:relative;overflow:hidden;transition:all .3s ease}.best-value-badge-selected{animation:pulse-glow-selected 12s ease-in-out infinite,shimmer 20s linear infinite;background:linear-gradient(135deg,#3b82f6,#2563eb,#1d4ed8,#3b82f6,#2563eb,#3b82f6);background-size:300% 300%}.best-value-badge:before{content:\"\";position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.4),transparent);animation:shimmer 12s infinite}.best-value-card{animation:border-glow 12s ease-in-out infinite;border-width:3px;transition:all .3s ease}.best-value-card-selected{animation:border-glow-selected 12s ease-in-out infinite}.best-value-card:hover{transform:scale(1.02)}.savings-badge{animation:pulse-glow 14s ease-in-out infinite}.savings-badge-selected{animation:pulse-glow-selected 14s ease-in-out infinite}\n"] }]
87411
87438
  }], null, { viewMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "viewMode", required: false }] }], planInfo: [{ type: i0.Input, args: [{ isSignal: true, alias: "planInfo", required: true }] }], isSelected: [{ type: i0.Input, args: [{ isSignal: true, alias: "isSelected", required: false }] }], selectedPeriodUnit: [{ type: i0.Input, args: [{ isSignal: true, alias: "selectedPeriodUnit", required: false }] }], monthlyComparisonPrice: [{ type: i0.Input, args: [{ isSignal: true, alias: "monthlyComparisonPrice", required: false }] }], planSelected: [{ type: i0.Output, args: ["planSelected"] }] }); })();
87412
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(PlanCardComponent, { className: "PlanCardComponent", filePath: "lib/components/profile-analysis-dashboard/cards/plan-card.component.ts", lineNumber: 270 }); })();
87439
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(PlanCardComponent, { className: "PlanCardComponent", filePath: "lib/components/profile-analysis-dashboard/cards/plan-card.component.ts", lineNumber: 274 }); })();
87413
87440
 
87414
87441
  const _forTrack0$1 = ($index, $item) => $item.planItemPrice.id;
87415
87442
  function PlanSelectionContainerComponent_Conditional_19_Template(rf, ctx) { if (rf & 1) {