@solvimon/solvimon-web 0.1.0-alpha.26 → 0.1.0-alpha.28

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (438) hide show
  1. package/README.md +138 -27
  2. package/dist/ApiStatus-CSFKl_ra.mjs +9 -0
  3. package/dist/{Avatar.vue.es-BqQHvLGA.mjs → Avatar.vue.es-Beg7umjO.mjs} +1 -1
  4. package/dist/{BillingInformation.vue_vue_type_script_setup_true_lang-BFza7Nf9.mjs → BillingInformation.vue_vue_type_script_setup_true_lang-DBGe1PvD.mjs} +17 -19
  5. package/dist/{Button.vue.es-C32_baQN.mjs → Button.vue.es-rh6mITmN.mjs} +1 -1
  6. package/dist/{ChargeOnDemandModal-CIiI74ls.mjs → ChargeOnDemandModal-CPjPa_uq.mjs} +233 -253
  7. package/dist/Checkbox.vue.es-DsyiJ-VY.mjs +50 -0
  8. package/dist/Checkout.entry.ce-BZ1rYQvt.mjs +5279 -0
  9. package/dist/{Chip.vue.es-CKCOY5T6.mjs → Chip.vue.es-Cn2R_0mE.mjs} +34 -20
  10. package/dist/Comparators.vue.es-DQBI3f7m.mjs +103 -0
  11. package/dist/{ContextMenu.vue.es-Da-lAmTl.mjs → ContextMenu.vue.es-DRxsa7bZ.mjs} +4 -4
  12. package/dist/{CustomerBillingInformation.vue.es-BxBQt4Q0.mjs → CustomerBillingInformation.vue.es-DQfL5RMR.mjs} +2 -2
  13. package/dist/{CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-BcTZgshS.mjs → CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-Ct-eYaEN.mjs} +31 -36
  14. package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-BzTSwo4i.mjs +2921 -0
  15. package/dist/{DividerText.vue.es-DKl3FnDJ.mjs → DividerText.vue.es-M0XqSz55.mjs} +1 -1
  16. package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-Bk4zwyWa.mjs +362 -0
  17. package/dist/{ErrorNotification.vue.es-rRKgmkzV.mjs → ErrorNotification.vue.es-CKlt4hr2.mjs} +1 -1
  18. package/dist/{IconButton.vue.es-UlqwNPAX.mjs → IconButton.vue.es-oe4MVBK1.mjs} +2 -2
  19. package/dist/{IconTitle.vue.es-CK9k69tV.mjs → IconTitle.vue.es-BO6KBS4v.mjs} +3 -3
  20. package/dist/Input.vue.es-DAlPmtE_.mjs +249 -0
  21. package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-DUfJl07Y.mjs → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-CCTl5GWa.mjs} +14 -13
  22. package/dist/InvoiceEntryView.vue_vue_type_script_setup_true_lang-DMGqj_Uk.mjs +56 -0
  23. package/dist/{InvoiceSummary.vue.es-DQ4KvTaw.mjs → InvoiceSummary.vue.es-DbNoGfYN.mjs} +9 -9
  24. package/dist/{Modal.vue.es-B9xMiyn3.mjs → Modal.vue.es-CTNACAst.mjs} +5 -5
  25. package/dist/{PaymentErrorCard.vue_vue_type_script_setup_true_lang-BVzL2PGe.mjs → PaymentErrorCard.vue_vue_type_script_setup_true_lang-DLfAfB_m.mjs} +73 -75
  26. package/dist/{PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-nLTPnH4j.mjs → PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-CKm-XYuF.mjs} +3 -3
  27. package/dist/{PaymentHistoryBlock-DYa99P1M.mjs → PaymentHistoryBlock-BmA8jbMb.mjs} +1 -1
  28. package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-D0KnSy0y.mjs → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-BDMse2lO.mjs} +24 -24
  29. package/dist/{PaymentIntegrationForm-UWoyZgsR.mjs → PaymentIntegrationForm-D1Xw-xIt.mjs} +1 -1
  30. package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-CCxw0PCv.mjs +182 -0
  31. package/dist/{PaymentIntegrationFormAdyen-D4qfNtZ_.mjs → PaymentIntegrationFormAdyen-CfT5aD4L.mjs} +395 -297
  32. package/dist/PaymentIntegrationFormStripe-DKXJ-mjd.mjs +743 -0
  33. package/dist/{PaymentMethod.vue.es-CKu5nApX.mjs → PaymentMethod.vue.es-Cauxx4Xr.mjs} +3 -3
  34. package/dist/{PaymentMethodForm-B05sHWcW.mjs → PaymentMethodForm-CypZOYUZ.mjs} +1 -1
  35. package/dist/{PaymentMethodForm.vue_vue_type_script_setup_true_lang-D1yIYsb_.mjs → PaymentMethodForm.vue_vue_type_script_setup_true_lang-De8FgdYD.mjs} +65 -75
  36. package/dist/PaymentMethodSelector.vue_vue_type_script_setup_true_lang-Dw28tfpD.mjs +168 -0
  37. package/dist/{PaymentMethodsList.vue_vue_type_script_setup_true_lang-DGpXRtp4.mjs → PaymentMethodsList.vue_vue_type_script_setup_true_lang-OtjVO7lR.mjs} +13 -8
  38. package/dist/PlanCustomizationEditor-Xtww2r9K.mjs +711 -0
  39. package/dist/PortalNotAvailable-B_59GUwN.mjs +25 -0
  40. package/dist/{PricingGroupRangeInput.vue.es-CJpvUP3-.mjs → PricingGroupRangeInput.vue.es-C9LJW3b8.mjs} +5 -5
  41. package/dist/{PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-DJ81eUJX.mjs → PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-DdWxoB8q.mjs} +30 -30
  42. package/dist/{RadioGroupExtended.vue.es-BalV7gwp.mjs → RadioGroupExtended.vue.es-UtKsdmiv.mjs} +2 -2
  43. package/dist/{Section.vue.es-D7eiXUbk.mjs → Section.vue.es-iS8hVGWA.mjs} +1 -1
  44. package/dist/{SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-DudMRVka.mjs → SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-Djc1SkEU.mjs} +13 -12
  45. package/dist/Skeleton.vue_vue_type_script_setup_true_lang-D7MFjvrP.mjs +32 -0
  46. package/dist/{StepInput.vue.es-C3Zm6Wc9.mjs → StepInput.vue.es-Dpan1RQd.mjs} +5 -4
  47. package/dist/{SubscriptionDetails.entry.ce-WEimiOex.mjs → SubscriptionDetails.entry.ce-DufQX3uI.mjs} +451 -468
  48. package/dist/{SubscriptionSchedules-DrrEAPlx.mjs → SubscriptionSchedules-DAahcNoI.mjs} +1 -1
  49. package/dist/{SubscriptionSchedules.vue_vue_type_script_setup_true_lang-DHp_KtbF.mjs → SubscriptionSchedules.vue_vue_type_script_setup_true_lang-DNr1CqVj.mjs} +750 -763
  50. package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-Wmjqy7RZ.mjs +203 -0
  51. package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-DFU0IULg.mjs → SubscriptionsList.vue_vue_type_script_setup_true_lang-BeRLuEyR.mjs} +124 -90
  52. package/dist/{TooltipParagraph.vue.es-BXbOJmjr.mjs → TooltipParagraph.vue.es-BjCn2BF6.mjs} +1 -1
  53. package/dist/{TrialChip.vue.es-C_yRujip.mjs → TrialChip.vue.es-B-XBSHWE.mjs} +2 -2
  54. package/dist/addressFormats.data-dzBx49dw.mjs +278 -0
  55. package/dist/amount-CondixVt.mjs +36 -0
  56. package/dist/{cn.es-CGa6b2Lt.mjs → cn.es-2bVdkiFV.mjs} +87 -83
  57. package/dist/{comparators.es-D8WGL-c4.mjs → comparators.es-C8rHpb70.mjs} +17 -13
  58. package/dist/components/BillingInformation/BillingInformation.mjs +7 -8
  59. package/dist/components/BillingInformationForm/BillingInformationForm.mjs +394 -350
  60. package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.mjs +16 -17
  61. package/dist/components/Invoice/Invoice.mjs +206 -209
  62. package/dist/components/InvoiceDetails/InvoiceDetails.mjs +64 -63
  63. package/dist/components/InvoiceHeader/InvoiceHeader.mjs +40 -41
  64. package/dist/components/InvoicesList/InvoicesList.mjs +14 -14
  65. package/dist/components/PaymentHistory/PaymentHistory.mjs +70 -65
  66. package/dist/components/PaymentMethodForm/PaymentMethodForm.mjs +31 -31
  67. package/dist/components/SubscriptionSchedules/SubscriptionSchedules.mjs +47 -45
  68. package/dist/components/SubscriptionsList/SubscriptionsList.mjs +50 -36
  69. package/dist/components/WalletBalances/WalletBalances.mjs +9 -10
  70. package/dist/core/index.mjs +61 -95
  71. package/dist/customElements-Di3zwlEU.mjs +6447 -0
  72. package/dist/customer-CqddTiOr.mjs +31 -0
  73. package/dist/{de-DE-jkW2dJrX.mjs → de-DE-BNMj3boy.mjs} +16 -10
  74. package/dist/{de-DE-CLfzTbbX.mjs → de-DE-BW8dMvhW.mjs} +87 -19
  75. package/dist/formControl-CsITfsBk.mjs +749 -0
  76. package/dist/index.mjs +2 -2
  77. package/dist/invoiceState-BJVHaKs7.mjs +14 -0
  78. package/dist/{invoices-DJTwftJv.mjs → invoices-Cf1qDAv4.mjs} +40 -35
  79. package/dist/{it-IT-Cym1UvvK.mjs → it-IT-Byg06KWc.mjs} +87 -19
  80. package/dist/{it-IT-CaaFToGB.mjs → it-IT-DRvuxM1F.mjs} +9 -3
  81. package/dist/{nl-NL-D0MQKaql.mjs → nl-NL-DLUwWbMG.mjs} +12 -6
  82. package/dist/{nl-NL-D0c4x5C0.mjs → nl-NL-x3zQqzZ7.mjs} +93 -25
  83. package/dist/paymentMethods-BUuOmDq9.mjs +77 -0
  84. package/dist/paymentOutcome-D17VD4MV.mjs +67 -0
  85. package/dist/payments-Ci8bF4C6.mjs +45 -0
  86. package/dist/pricingItemConfigs.es-D3pX_9AJ.mjs +78 -0
  87. package/dist/pricingPlanScheduleOverrides-COr9F8DO.mjs +233 -0
  88. package/dist/pricingPlanSchedules-BK_o9p6h.mjs +38 -0
  89. package/dist/sanitization.es-C6dbuxUJ.mjs +4 -0
  90. package/dist/screens/Checkout/Checkout.mjs +2 -2
  91. package/dist/screens/CustomerOverview/CustomerOverview.mjs +98 -91
  92. package/dist/screens/PayInvoice/PayInvoice.mjs +181 -210
  93. package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.mjs +98 -86
  94. package/dist/screens/SubscriptionDetails/SubscriptionDetails.mjs +2 -2
  95. package/dist/screens/SubscriptionManagement/SubscriptionManagement.mjs +363 -334
  96. package/dist/sessionReference-B8Dbmx5t.mjs +38 -0
  97. package/dist/sorting.es-qtEN8J8T.mjs +77 -0
  98. package/dist/subscription-BhxoqwcT.mjs +83 -0
  99. package/dist/subscriptions-CwogJODR.mjs +54 -0
  100. package/dist/types/components/InvoiceTable/InvoiceTable.types.d.ts +2 -0
  101. package/dist/types/components/checkout/CheckoutTitle.types.d.ts +10 -0
  102. package/dist/types/components/checkout/PromotionCodeSection.types.d.ts +2 -0
  103. package/dist/types/components/customer/CheckoutForm/CheckoutAddressFields.types.d.ts +20 -0
  104. package/dist/types/components/customer/CheckoutForm/CheckoutForm.types.d.ts +15 -0
  105. package/dist/types/components/customer/CustomerPaymentMethodsBlock/CustomerPaymentMethodsBlock.types.d.ts +0 -2
  106. package/dist/types/components/payments/ExpressPaymentMethod/ExpressPaymentMethod.types.d.ts +9 -5
  107. package/dist/types/components/payments/ExpressPaymentMethod/ExpressPaymentMethodApplePay.types.d.ts +3 -1
  108. package/dist/types/components/payments/ExpressPaymentMethods/ExpressPaymentMethods.types.d.ts +5 -1
  109. package/dist/types/components/payments/OnDemandPaymentModalShell/OnDemandPaymentModalShell.types.d.ts +0 -1
  110. package/dist/types/components/payments/PaymentCompletedCard/PaymentCompletedCard.types.d.ts +0 -2
  111. package/dist/types/components/payments/PaymentErrorCard/PaymentErrorCard.types.d.ts +9 -2
  112. package/dist/types/components/payments/PaymentIntegrationForm/PaymentIntegrationForm.types.d.ts +36 -4
  113. package/dist/types/components/payments/PaymentIntegrationFormStripe/PaymentIntegrationFormStripeFrame.types.d.ts +7 -0
  114. package/dist/types/components/payments/PaymentMethodSelector/PaymentMethodSelector.types.d.ts +0 -4
  115. package/dist/types/components/providers/AuthProvider/AuthProvider.lib.d.ts +9 -4
  116. package/dist/types/components/providers/AuthProvider/composables/useAuth.d.ts +1 -3
  117. package/dist/types/components/providers/ConfigProvider/ConfigProvider.lib.d.ts +2 -4
  118. package/dist/types/components/providers/CssOverridesProvider/CssOverridesProvider.lib.d.ts +11 -0
  119. package/dist/types/components/providers/EntryProvider/EntryProvider.lib.d.ts +7 -0
  120. package/dist/types/components/providers/EntryProvider/EntryProvider.types.d.ts +2 -0
  121. package/dist/types/components/providers/EntryProvider/EntryProvider.vue.d.ts +3 -1
  122. package/dist/types/components/providers/ErrorBoundary/ErrorBoundary.vue.d.ts +5 -1
  123. package/dist/types/components/providers/ExperimentalFeatureProvider/ExperimentalFeatureProvider.lib.d.ts +2 -2
  124. package/dist/types/components/providers/HostElementProvider/HostElementProvider.lib.d.ts +6 -1
  125. package/dist/types/components/providers/LoggerProvider/LoggerProvider.types.d.ts +2 -2
  126. package/dist/types/components/providers/LoggerProvider/LoggerProvider.vue.d.ts +5 -1
  127. package/dist/types/components/providers/PortalProvider/PortalProvider.lib.d.ts +10 -7
  128. package/dist/types/components/providers/PortalProvider/PortalProvider.types.d.ts +1 -1
  129. package/dist/types/components/providers/PortalProvider/PortalProvider.vue.d.ts +3 -1
  130. package/dist/types/components/providers/PortalProvider/composables/usePortal.d.ts +2 -2
  131. package/dist/types/components/providers/Provider/Provider.types.d.ts +1 -1
  132. package/dist/types/components/providers/Provider/Provider.vue.d.ts +11 -4
  133. package/dist/types/components/providers/RequiredPropertiesGuard/RequiredPropertiesGuard.vue.d.ts +17 -0
  134. package/dist/types/components/providers/TranslationProvider/TranslationProvider.lib.d.ts +7 -2
  135. package/dist/types/components/providers/TranslationProvider/TranslationProvider.types.d.ts +1 -1
  136. package/dist/types/components/subscriptions/ChargeOnDemandModal/ChargeOnDemandModal.types.d.ts +1 -2
  137. package/dist/types/components/subscriptions/EnabledPricingsList/EnabledPricingsListItem.types.d.ts +2 -0
  138. package/dist/types/components/subscriptions/OrderSummary.types.d.ts +1 -10
  139. package/dist/types/components/subscriptions/SubscriptionCancellationModal/SubscriptionCancellationModal.types.d.ts +5 -1
  140. package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionManagementForm.types.d.ts +8 -16
  141. package/dist/types/components/subscriptions/SubscriptionSummary.types.d.ts +1 -14
  142. package/dist/types/components/subscriptions/SubscriptionsList/SubscriptionsList.types.d.ts +4 -1
  143. package/dist/types/components/subscriptions/SubscriptionsList/SubscriptionsListItem.types.d.ts +1 -2
  144. package/dist/types/components/wallets/AutoTopUpConfig/AutoTopUpConfig.types.d.ts +0 -3
  145. package/dist/types/components/wallets/TopUpModal/TopUpModalForm.types.d.ts +3 -1
  146. package/dist/types/components/wallets/TopUpModal/TopUpModalSuccess.types.d.ts +1 -7
  147. package/dist/types/public/components/BillingInformation/BillingInformation.entry.ce.d.ts +1 -1
  148. package/dist/types/public/components/BillingInformation/BillingInformation.types.d.ts +0 -3
  149. package/dist/types/public/components/BillingInformationForm/BillingInformationForm.entry.ce.d.ts +1 -1
  150. package/dist/types/public/components/CustomerPaymentMethods/CustomerPaymentMethods.entry.ce.d.ts +1 -1
  151. package/dist/types/public/components/CustomerPaymentMethods/CustomerPaymentMethods.types.d.ts +0 -1
  152. package/dist/types/public/components/Invoice/Invoice.entry.ce.d.ts +1 -1
  153. package/dist/types/public/components/Invoice/Invoice.types.d.ts +0 -1
  154. package/dist/types/public/components/InvoiceDetails/InvoiceDetails.entry.ce.d.ts +1 -1
  155. package/dist/types/public/components/InvoiceDetails/InvoiceDetails.entry.types.d.ts +3 -2
  156. package/dist/types/public/components/InvoiceDetails/InvoiceDetails.types.d.ts +0 -2
  157. package/dist/types/public/components/InvoiceHeader/InvoiceHeader.entry.ce.d.ts +1 -1
  158. package/dist/types/public/components/InvoiceHeader/InvoiceHeader.types.d.ts +0 -1
  159. package/dist/types/public/components/InvoicesList/InvoicesList.entry.ce.d.ts +1 -1
  160. package/dist/types/public/components/InvoicesList/InvoicesList.types.d.ts +2 -0
  161. package/dist/types/public/components/PaymentHistory/PaymentHistory.entry.ce.d.ts +1 -1
  162. package/dist/types/public/components/PaymentHistory/PaymentHistory.entry.types.d.ts +3 -2
  163. package/dist/types/public/components/PaymentHistory/PaymentHistory.types.d.ts +0 -2
  164. package/dist/types/public/components/PaymentMethodForm/PaymentMethodForm.entry.ce.d.ts +1 -1
  165. package/dist/types/public/components/SubscriptionSchedules/SubscriptionSchedules.entry.ce.d.ts +1 -1
  166. package/dist/types/public/components/SubscriptionSchedules/SubscriptionSchedules.entry.types.d.ts +3 -2
  167. package/dist/types/public/components/SubscriptionSchedules/SubscriptionSchedules.types.d.ts +0 -2
  168. package/dist/types/public/components/SubscriptionsList/SubscriptionsList.entry.ce.d.ts +1 -1
  169. package/dist/types/public/components/SubscriptionsList/SubscriptionsList.types.d.ts +3 -0
  170. package/dist/types/public/components/WalletBalances/WalletBalances.entry.ce.d.ts +1 -1
  171. package/dist/types/public/components/WalletBalances/WalletBalances.entry.types.d.ts +1 -3
  172. package/dist/types/public/core/action-request.types.d.ts +5 -0
  173. package/dist/types/public/core/registry.ce.d.ts +3 -3
  174. package/dist/types/public/core/registry.d.ts +0 -3
  175. package/dist/types/public/screens/Checkout/Checkout.entry.ce.d.ts +1 -1
  176. package/dist/types/public/screens/Checkout/Checkout.entry.types.d.ts +0 -7
  177. package/dist/types/public/screens/Checkout/Checkout.types.d.ts +2 -2
  178. package/dist/types/public/screens/CustomerOverview/CustomerOverview.entry.ce.d.ts +1 -1
  179. package/dist/types/public/screens/PayInvoice/PayInvoice.entry.ce.d.ts +1 -1
  180. package/dist/types/public/screens/PayInvoice/PayInvoice.types.d.ts +2 -0
  181. package/dist/types/public/screens/PaymentMethodsManagement/PaymentMethodsManagement.entry.ce.d.ts +1 -1
  182. package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.entry.ce.d.ts +1 -1
  183. package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.types.d.ts +1 -2
  184. package/dist/types/public/screens/SubscriptionManagement/SubscriptionManagement.entry.ce.d.ts +1 -1
  185. package/dist/types/services/paymentMethods.types.d.ts +2 -10
  186. package/dist/types/services/requests.types.d.ts +16 -6
  187. package/dist/types/types/errors.d.ts +3 -2
  188. package/dist/types/vendor/@adyen/adyen-web/index.d.ts +2 -0
  189. package/dist/types/vendor/@solvimon/solvimon-types/types/Payment.d.ts +1 -1
  190. package/dist/types/vendor/@solvimon/solvimon-types/utils.d.ts +1 -1
  191. package/dist/types/vendor/@solvimon/solvimon-ui/components/providers/BrandProvider/BrandProvider.types.d.ts +16 -0
  192. package/dist/types/vendor/@solvimon/solvimon-ui/components/providers/IntlProvider/IntlProvider.types.d.ts +66 -0
  193. package/dist/types/vendor/@solvimon/solvimon-ui/index.d.ts +2 -0
  194. package/dist/useActionDispatchProvider-DC_fUykI.mjs +9 -0
  195. package/dist/{useCustomer-XZKWsolE.mjs → useCustomer-C3kTh7wn.mjs} +2 -2
  196. package/dist/useCustomerFormLabels-CK7K50nB.mjs +1369 -0
  197. package/dist/useIncrementalLoading-C_sHmW7d.mjs +60 -0
  198. package/dist/useInvoiceData-BIh8-h8b.mjs +21 -0
  199. package/dist/useInvoicesList-Y6p0Pqpy.mjs +674 -0
  200. package/dist/{useLoadInitialData-CR0kbYw8.mjs → useLoadInitialData-4k_Cyqef.mjs} +1 -1
  201. package/dist/usePaymentFormHold-FfNc578l.mjs +189 -0
  202. package/dist/{usePaymentMethodAvailability-ZH-m3B-A.mjs → usePaymentMethodAvailability-CnYTvG15.mjs} +17 -18
  203. package/dist/usePaymentMethodOptions-1QBcmgUf.mjs +40 -0
  204. package/dist/{usePaymentMethods-B-OKRyKd.mjs → usePaymentMethods-gvr-rmwE.mjs} +2 -2
  205. package/dist/{usePayments-CV85OV8V.mjs → usePayments-CykCZPG2.mjs} +7 -7
  206. package/dist/usePortal-CxzKGhbK.mjs +7 -0
  207. package/dist/useService-B0OQJmif.mjs +56 -0
  208. package/dist/{useTimePeriod.es-B22-fno3.mjs → useTimePeriod.es-JkXdHNWr.mjs} +1 -1
  209. package/dist/useViewport-psZejz_H.mjs +19 -0
  210. package/package.json +35 -59
  211. package/dist/AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-DcrLNA_x.mjs +0 -223
  212. package/dist/AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-DwbIiJBY.js +0 -1
  213. package/dist/Alert.vue.es-RyK53a2P.js +0 -1
  214. package/dist/Amount.vue.es-DExaYBqm.js +0 -1
  215. package/dist/Avatar.vue.es-Bm6MCMAL.js +0 -1
  216. package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-0JHnqIpC.js +0 -1
  217. package/dist/Button.vue.es-qGvnOKnK.js +0 -1
  218. package/dist/ChargeOnDemandModal-DIQaGnRs.js +0 -1
  219. package/dist/Checkout.entry.ce-8EcavNgT.js +0 -2
  220. package/dist/Checkout.entry.ce-BA5ljKj8.mjs +0 -3924
  221. package/dist/Chip.vue.es-D60gTbfe.js +0 -1
  222. package/dist/Comparators.vue.es-CwhX3rbx.mjs +0 -93
  223. package/dist/Comparators.vue.es-DmkxV0gb.js +0 -1
  224. package/dist/ContentWithAsideLayout-RSdKXqAf.js +0 -1
  225. package/dist/ContextMenu.vue.es-C7KI8Gz6.js +0 -1
  226. package/dist/CustomerBillingInformation.vue.es-bFUx81Ig.js +0 -1
  227. package/dist/CustomerPaymentMethods.lib-BKgQTCtc.js +0 -1
  228. package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-C0lJ_ESU.js +0 -1
  229. package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-DkbQ2MiR.mjs +0 -2701
  230. package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-hBo2Y2mJ.js +0 -1
  231. package/dist/Divider.vue.es-UwnWvUTl.js +0 -1
  232. package/dist/DividerText.vue.es-BF3gnr4e.js +0 -1
  233. package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-C3QYra1x.mjs +0 -335
  234. package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-cSQeqr0A.js +0 -1
  235. package/dist/ErrorNotification.vue.es-BX9dHEc-.js +0 -1
  236. package/dist/Expand.vue.es-BtM0EZEr.js +0 -1
  237. package/dist/FormMessage.vue.es-dqATjC2N.js +0 -1
  238. package/dist/IconButton.vue.es-Bwdfu-jm.js +0 -1
  239. package/dist/IconTitle.vue.es-Cei98MBw.js +0 -1
  240. package/dist/Input.vue.es-B47l_feL.js +0 -1
  241. package/dist/Input.vue.es-D9IjIWc-.mjs +0 -235
  242. package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-DKlPrxQS.js +0 -1
  243. package/dist/InvoiceEntryView.vue_vue_type_script_setup_true_lang-D9Rtgapa.mjs +0 -41
  244. package/dist/InvoiceEntryView.vue_vue_type_script_setup_true_lang-DlJ6lELc.js +0 -1
  245. package/dist/InvoiceSummary.vue.es-DBnR9Hs7.js +0 -1
  246. package/dist/Modal.vue.es-8LN4gBh0.js +0 -1
  247. package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-B1yGKkWN.js +0 -1
  248. package/dist/PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-DSGf6uFP.js +0 -1
  249. package/dist/PaymentHistoryBlock-Ds93gNvh.js +0 -1
  250. package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-CBZhXQfC.js +0 -1
  251. package/dist/PaymentIntegrationForm-B_Db4DG1.js +0 -1
  252. package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-C0J37ZVe.js +0 -1
  253. package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-J15IDbMc.mjs +0 -154
  254. package/dist/PaymentIntegrationFormAdyen-HeA9XIj-.js +0 -98
  255. package/dist/PaymentIntegrationFormStripe-BIiMCWlV.mjs +0 -587
  256. package/dist/PaymentIntegrationFormStripe-DUCJTIAq.js +0 -102
  257. package/dist/PaymentMethod.vue.es-CJcSZ9lN.js +0 -1
  258. package/dist/PaymentMethodForm-1d0YIGOu.js +0 -1
  259. package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-BDm8l_6N.js +0 -1
  260. package/dist/PaymentMethodsList.vue_vue_type_script_setup_true_lang-BE4S26JX.js +0 -1
  261. package/dist/PlanCustomizationEditor-CEMP_Dhz.js +0 -1
  262. package/dist/PlanCustomizationEditor-CpZeilm5.mjs +0 -694
  263. package/dist/PricingGroupRangeInput.vue.es-DZSJ5Mz0.js +0 -185
  264. package/dist/PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-jrkraJMu.js +0 -1
  265. package/dist/RadioGroupExtended.vue.es-Dt6LH9Yh.js +0 -1
  266. package/dist/Section.vue.es-zVXBHAL6.js +0 -1
  267. package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-BdjYFrVC.js +0 -1
  268. package/dist/Skeleton.vue_vue_type_script_setup_true_lang-D4sbq9nA.js +0 -1
  269. package/dist/Skeleton.vue_vue_type_script_setup_true_lang-D60YtA9z.mjs +0 -51
  270. package/dist/StepInput.vue.es-mAnuCuDQ.js +0 -1
  271. package/dist/SubscriptionDetails.entry.ce-D4CsSoR9.js +0 -1
  272. package/dist/SubscriptionSchedules-Cm5Dt-1H.js +0 -1
  273. package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-t2Awijf5.js +0 -1
  274. package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-3VYfm6Hm.mjs +0 -91
  275. package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-B41qZmcL.js +0 -1
  276. package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-Bu-_clEa.js +0 -1
  277. package/dist/TooltipParagraph.vue.es-Cph6zT31.js +0 -1
  278. package/dist/TrialChip.vue.es-C_wgHGuN.js +0 -1
  279. package/dist/accel.svg.es-DFJXdioD.js +0 -1
  280. package/dist/ach.svg.es-BYP873jU.js +0 -1
  281. package/dist/adyen-BJfC7N6f.js +0 -1
  282. package/dist/adyen-CvsH5fok.mjs +0 -117
  283. package/dist/adyen-Druit6gz.js +0 -1
  284. package/dist/adyenSdk-BP2XXzeJ.js +0 -1
  285. package/dist/amazon-pay.svg.es-CQWgtowB.js +0 -1
  286. package/dist/amex.svg.es-DKhW4Txt.js +0 -1
  287. package/dist/api.es-duCDtZD9.js +0 -1
  288. package/dist/apple-pay.svg.es-Dyojd0F-.js +0 -1
  289. package/dist/bacs.svg.es-GJpZs1sD.js +0 -1
  290. package/dist/bancontact.svg.es-BQh7nAup.js +0 -1
  291. package/dist/carnet.svg.es-DY04-F2L.js +0 -1
  292. package/dist/cartes-bancaires.svg.es-BleHMlkN.js +0 -1
  293. package/dist/cashapp.svg.es-MwXGYom6.js +0 -1
  294. package/dist/cn.es-D9YMDvG2.js +0 -1
  295. package/dist/comparators.es-OGt19O9U.js +0 -1
  296. package/dist/components/BillingInformation/BillingInformation.cjs +0 -1
  297. package/dist/components/BillingInformationForm/BillingInformationForm.cjs +0 -1
  298. package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.cjs +0 -1
  299. package/dist/components/Invoice/Invoice.cjs +0 -1
  300. package/dist/components/InvoiceDetails/InvoiceDetails.cjs +0 -1
  301. package/dist/components/InvoiceHeader/InvoiceHeader.cjs +0 -1
  302. package/dist/components/InvoicesList/InvoicesList.cjs +0 -1
  303. package/dist/components/PaymentHistory/PaymentHistory.cjs +0 -1
  304. package/dist/components/PaymentMethodForm/PaymentMethodForm.cjs +0 -1
  305. package/dist/components/SubscriptionSchedules/SubscriptionSchedules.cjs +0 -1
  306. package/dist/components/SubscriptionsList/SubscriptionsList.cjs +0 -1
  307. package/dist/components/WalletBalances/WalletBalances.cjs +0 -1
  308. package/dist/configuration-akTS7Wiw.js +0 -1
  309. package/dist/core/index.cjs +0 -1
  310. package/dist/countryData.es-C4jHBzfo.js +0 -1
  311. package/dist/customElements-C963-LtW.js +0 -1215
  312. package/dist/customElements-D5DAoHRI.mjs +0 -6633
  313. package/dist/customer-DKa1B2vp.mjs +0 -31
  314. package/dist/customer-TE1FnGT0.js +0 -1
  315. package/dist/customer.es-BButyYo0.js +0 -1
  316. package/dist/dana.svg.es-BDtZLpwd.js +0 -1
  317. package/dist/dankort.svg.es-CksaipXF.js +0 -1
  318. package/dist/de-DE-B4TUdnUf.js +0 -1
  319. package/dist/de-DE-DaBBl-Ak.js +0 -1
  320. package/dist/diners.svg.es-D6Mu1pqP.js +0 -1
  321. package/dist/discover.svg.es-DgqWCMUM.js +0 -1
  322. package/dist/eftpos.svg.es-Dk2DOT8W.js +0 -1
  323. package/dist/elo.svg.es-C-BzjuRP.js +0 -1
  324. package/dist/en-US-BNevqm0M.js +0 -1
  325. package/dist/en-US-D6SGRAch.mjs +0 -325
  326. package/dist/en-US-J85TQRI8.js +0 -1
  327. package/dist/en-US-SDhjlY_v.mjs +0 -301
  328. package/dist/eps.svg.es-B_85bP-W.js +0 -1
  329. package/dist/error-BHVZJGwD.mjs +0 -13
  330. package/dist/error-CmduqgVq.js +0 -1
  331. package/dist/floating-ui.vue.es-Bly3DGWm.js +0 -1
  332. package/dist/formControl-ODrpUvcA.js +0 -1
  333. package/dist/formControl-dX7l8o3c.mjs +0 -845
  334. package/dist/formatting.es-C72Nsrmh.js +0 -1
  335. package/dist/gcash.svg.es-BKAdhWzv.js +0 -1
  336. package/dist/getComposedString.es-haS4bAj7.js +0 -1
  337. package/dist/getCountryNameByCode.es-Xxc0nZsH.js +0 -1
  338. package/dist/girocard.svg.es-HSOEvDif.js +0 -1
  339. package/dist/go-pay.svg.es-DQjtunZ_.js +0 -1
  340. package/dist/google-pay.svg.es-hzc_EgiJ.js +0 -1
  341. package/dist/hipercard.svg.es-CbCsRY2q.js +0 -1
  342. package/dist/icon-sprite.svg.es-Ds6lDf5p.js +0 -1
  343. package/dist/ideal.svg.es-Booz1IML.js +0 -1
  344. package/dist/index-BPZPnOQQ.js +0 -7
  345. package/dist/index.cjs +0 -1
  346. package/dist/index.es-BclokHQX.js +0 -1
  347. package/dist/invoices-ClqTWYF9.js +0 -1
  348. package/dist/it-IT-BkPbTueL.js +0 -1
  349. package/dist/it-IT-CSYvGmpT.js +0 -1
  350. package/dist/jcb.svg.es-B3WPB8c2.js +0 -1
  351. package/dist/kakao-pay.svg.es-Cs-lCW74.js +0 -1
  352. package/dist/klarna.svg.es-Cs6XaHD7.js +0 -1
  353. package/dist/maestro.svg.es-BvK4oPg4.js +0 -1
  354. package/dist/mastercard.svg.es-lp4AXyyV.js +0 -1
  355. package/dist/momo.svg.es-C5aLYf_R.js +0 -1
  356. package/dist/nl-NL-CpE4IgwO.js +0 -1
  357. package/dist/nl-NL-jIfAVGv0.js +0 -1
  358. package/dist/nyce.svg.es-ArAivAZW.js +0 -1
  359. package/dist/object.es-CdriXMPs.js +0 -1
  360. package/dist/open-banking.svg.es-Q3rRkCvP.js +0 -1
  361. package/dist/paymentFailure-Bh60UhxA.mjs +0 -47
  362. package/dist/paymentFailure-Cki8c5BX.js +0 -1
  363. package/dist/paymentMethods-AL2U_byg.js +0 -1
  364. package/dist/paymentMethods-CWzJhcWK.mjs +0 -77
  365. package/dist/payments-BmiHMlQt.js +0 -1
  366. package/dist/payments-aXyfylwk.mjs +0 -45
  367. package/dist/paypal.svg.es-Cjp5sNI3.js +0 -1
  368. package/dist/pricing-BVAld27Y.js +0 -1
  369. package/dist/pricing-DLOeiAIB.mjs +0 -16
  370. package/dist/pricing.es-C07bgEZx.js +0 -1
  371. package/dist/pricingItemConfigs.es-D4aYkYcf.js +0 -1
  372. package/dist/pricingItemConfigs.es-ORxsk_YS.mjs +0 -77
  373. package/dist/pricingPlanSchedule-BM8vsKkV.js +0 -1
  374. package/dist/pricingPlanSchedules-BD4GIP_F.mjs +0 -32
  375. package/dist/pricingPlanSchedules-BfsMSvN0.js +0 -1
  376. package/dist/pulse.svg.es-Dit33E8S.js +0 -1
  377. package/dist/screens/Checkout/Checkout.cjs +0 -1
  378. package/dist/screens/CustomerOverview/CustomerOverview.cjs +0 -1
  379. package/dist/screens/PayInvoice/PayInvoice.cjs +0 -1
  380. package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.cjs +0 -1
  381. package/dist/screens/SubscriptionDetails/SubscriptionDetails.cjs +0 -1
  382. package/dist/screens/SubscriptionManagement/SubscriptionManagement.cjs +0 -1
  383. package/dist/sepa.svg.es-0t4DKeA1.js +0 -1
  384. package/dist/sessionReference-3h-6FdrC.mjs +0 -43
  385. package/dist/sessionReference-m_6Rp4X1.js +0 -1
  386. package/dist/slots.es-T9ZJRGtG.js +0 -1
  387. package/dist/sorting.es-DCihKqD2.mjs +0 -77
  388. package/dist/sorting.es-DQsjKr8A.js +0 -1
  389. package/dist/star.svg.es-D2JncY7b.js +0 -1
  390. package/dist/subscription-D1yHKUNc.mjs +0 -69
  391. package/dist/subscription-ZA62t4E9.js +0 -1
  392. package/dist/subscriptions-Cm83ckfl.js +0 -1
  393. package/dist/subscriptions-cnR5fnf7.mjs +0 -55
  394. package/dist/trustly.svg.es-GJByiFAs.js +0 -1
  395. package/dist/twint.svg.es-BJ2f48og.js +0 -1
  396. package/dist/typeGuards.es-DS3vZaJn.js +0 -1
  397. package/dist/types/components/payments/AddPaymentMethodModal/AddPaymentMethodModal.types.d.ts +0 -14
  398. package/dist/types/components/payments/SubscriptionPaymentCompletedCard/SubscriptionPaymentCompletedCard.types.d.ts +0 -3
  399. package/dist/types/components/subscriptions/PlanCustomizationForm/AddonSingleEditor.types.d.ts +0 -5
  400. package/dist/types/services/portals.types.d.ts +0 -70
  401. package/dist/types/types/subscription.d.ts +0 -4
  402. package/dist/unionpay.svg.es-DjFZ5EMQ.js +0 -1
  403. package/dist/url-TNRgVI8A.mjs +0 -21
  404. package/dist/url-vloPOiXd.js +0 -1
  405. package/dist/useActionDispatchProvider-CHkVQMaE.js +0 -1
  406. package/dist/useActionDispatchProvider-DDYqIh3r.mjs +0 -11
  407. package/dist/useCustomer-DGYtowRy.js +0 -1
  408. package/dist/useCustomerFormLabels-CcnkJLcB.mjs +0 -968
  409. package/dist/useCustomerFormLabels-DAZziqYt.js +0 -1
  410. package/dist/useExperimentalFeature-COOU6IZd.js +0 -1
  411. package/dist/useExperimentalFeature-ierhOt9Q.mjs +0 -6
  412. package/dist/useIncrementalLoading-CaWOE8Xl.js +0 -1
  413. package/dist/useIncrementalLoading-Cgxw2GD7.mjs +0 -48
  414. package/dist/useInvoiceData-BEK-7msA.mjs +0 -38
  415. package/dist/useInvoiceData-CQRn8l9C.js +0 -1
  416. package/dist/useInvoicesList-BQkKyyXa.js +0 -1
  417. package/dist/useInvoicesList-C4I118KM.mjs +0 -500
  418. package/dist/useLoadInitialData-CrKnBZs_.js +0 -1
  419. package/dist/usePaymentMethodAvailability-Ci6LeYKt.js +0 -1
  420. package/dist/usePaymentMethodOptions-Ciifjo6c.mjs +0 -39
  421. package/dist/usePaymentMethodOptions-Cqe92ZBn.js +0 -1
  422. package/dist/usePaymentMethods-BKwrl82-.js +0 -1
  423. package/dist/usePayments-Bauj16B-.js +0 -1
  424. package/dist/usePortal-DSLImEfr.js +0 -1
  425. package/dist/usePortal-H8Tv2TnZ.mjs +0 -11
  426. package/dist/useService-Bh47bllz.mjs +0 -50
  427. package/dist/useService-H7BjLg8P.js +0 -1
  428. package/dist/useSubscription-BiYNJT2e.js +0 -1
  429. package/dist/useSubscription-DqnxWNKg.mjs +0 -210
  430. package/dist/useTimePeriod.es-D2aiyfd-.js +0 -1
  431. package/dist/useViewport-BgdA2PPt.mjs +0 -29
  432. package/dist/useViewport-hPRVDWCm.js +0 -1
  433. package/dist/useWatchDebounced-B8iX7ykx.js +0 -1
  434. package/dist/useWatchDebounced-BHlBPcXB.mjs +0 -20
  435. package/dist/visa.svg.es-NY3BHhda.js +0 -1
  436. package/dist/vpay.svg.es-VViQi42w.js +0 -1
  437. package/dist/wallets.es-CNIMW5ay.js +0 -1
  438. package/dist/zip.svg.es-C9S_F31W.js +0 -1
@@ -1,77 +1,78 @@
1
- import { onMounted as Ji, onUnmounted as Pn, ref as be, watch as Be, onBeforeUnmount as In, computed as C, unref as B, nextTick as Cn, provide as Ge, reactive as En, inject as Xi, defineComponent as U, openBlock as l, createElementBlock as g, normalizeClass as H, renderSlot as k, createBlock as T, resolveDynamicComponent as wn, withCtx as o, createElementVNode as w, createCommentVNode as b, createVNode as S, createTextVNode as O, toDisplayString as h, useSlots as Qi, normalizeProps as q, guardReactiveProps as Y, mergeProps as j, Fragment as z, renderList as Q, toRef as en, withKeys as Ai, withModifiers as we, createSlots as Sn, resolveComponent as Tn, normalizeStyle as Bn } from "vue";
2
- import { _ as Dn } from "./Section.vue.es-D7eiXUbk.mjs";
1
+ import { onMounted as Ji, onUnmounted as Pn, ref as be, watch as Be, onBeforeUnmount as In, computed as C, unref as B, nextTick as Cn, provide as Ge, reactive as En, inject as Xi, defineComponent as U, openBlock as t, createElementBlock as u, normalizeClass as H, renderSlot as k, createBlock as T, resolveDynamicComponent as wn, withCtx as o, createElementVNode as w, createCommentVNode as b, createVNode as S, createTextVNode as O, toDisplayString as h, useSlots as Qi, normalizeProps as q, guardReactiveProps as Y, mergeProps as j, Fragment as z, renderList as Q, toRef as en, withKeys as Ai, withModifiers as we, createSlots as Sn, resolveComponent as Tn, normalizeStyle as Bn } from "vue";
2
+ import { _ as Dn } from "./Section.vue.es-iS8hVGWA.mjs";
3
3
  import { f as Ne, c as On, b as nn, a as Nn } from "./formatting.es-RclXHhKo.mjs";
4
- import { c as Ln, a as Vn } from "./comparators.es-D8WGL-c4.mjs";
5
- import { _ as le } from "./Chip.vue.es-CKCOY5T6.mjs";
4
+ import { c as Ln, a as Vn } from "./comparators.es-C8rHpb70.mjs";
5
+ import { _ as le } from "./Chip.vue.es-Cn2R_0mE.mjs";
6
6
  import { _ as _e } from "./Expand.vue.es-BleuAfDz.mjs";
7
- import { c as ke } from "./cn.es-CGa6b2Lt.mjs";
8
- import { _ as Z, a as ae } from "./customElements-D5DAoHRI.mjs";
7
+ import { c as ke } from "./cn.es-2bVdkiFV.mjs";
8
+ import { _ as Z, a as ae } from "./customElements-Di3zwlEU.mjs";
9
9
  import { _ as se } from "./floating-ui.vue.es-CYt0fSY7.mjs";
10
- import { _ as tn } from "./IconTitle.vue.es-CK9k69tV.mjs";
11
- import { _ as De, a as te } from "./Button.vue.es-C32_baQN.mjs";
10
+ import { _ as tn } from "./IconTitle.vue.es-BO6KBS4v.mjs";
11
+ import { _ as De, a as te } from "./Button.vue.es-rh6mITmN.mjs";
12
12
  import { g as Ri, h as Mn } from "./index.es-CXkP_k3u.mjs";
13
13
  import { _ as ze } from "./Alert.vue.es-lIiAWf2S.mjs";
14
14
  import { g as An } from "./getComposedString.es-C__uhJpd.mjs";
15
15
  import { g as je, i as Oe, a as Ce, b as Rn, c as zi, d as zn, F as $e, h as Zn } from "./pricing.es-QYWrKMUJ.mjs";
16
- import { i as ie } from "./useService-Bh47bllz.mjs";
17
- import { _ as Ae } from "./DividerText.vue.es-DKl3FnDJ.mjs";
16
+ import { a as ie } from "./useService-B0OQJmif.mjs";
17
+ import { _ as Ae } from "./DividerText.vue.es-M0XqSz55.mjs";
18
18
  import { _ as J } from "./Amount.vue.es-DPqHB8Xd.mjs";
19
- import { _ as Ze, u as Un } from "./Comparators.vue.es-CwhX3rbx.mjs";
20
- import { _ as re, T as de, a as he } from "./TooltipParagraph.vue.es-BXbOJmjr.mjs";
21
- import { b as Pe, c as qe, g as Le, d as We, e as Fn, r as Hn, f as ln, j as Gn, h as jn, k as qn, l as Wn, a as Yn } from "./pricingItemConfigs.es-ORxsk_YS.mjs";
19
+ import { _ as Ze, u as Un } from "./Comparators.vue.es-DQBI3f7m.mjs";
20
+ import { _ as re, T as de, a as he } from "./TooltipParagraph.vue.es-BjCn2BF6.mjs";
21
+ import { b as Pe, c as qe, g as Le, d as We, e as Fn, r as Hn, f as ln, j as Gn, h as jn, k as qn, l as Wn, a as Yn } from "./pricingItemConfigs.es-D3pX_9AJ.mjs";
22
22
  import { i as Ue } from "./slots.es-BA4MyEAa.mjs";
23
23
  import { b as Ie, c as on, d as Ye } from "./typeGuards.es-B4XMtlkM.mjs";
24
- import { u as Kn, _ as Jn } from "./PricingGroupRangeInput.vue.es-CJpvUP3-.mjs";
25
- import { _ as Xn } from "./Avatar.vue.es-BqQHvLGA.mjs";
26
- import { _ as Qn, c as et } from "./TrialChip.vue.es-C_yRujip.mjs";
24
+ import { u as Kn, _ as Jn } from "./PricingGroupRangeInput.vue.es-C9LJW3b8.mjs";
25
+ import { _ as Xn } from "./Avatar.vue.es-Beg7umjO.mjs";
26
+ import { _ as Qn, c as et } from "./TrialChip.vue.es-B-XBSHWE.mjs";
27
27
  import { p as Re } from "./object.es-8aLDIncs.mjs";
28
- const it = 1122.515625;
29
- function nt(e, i, n, t) {
30
- const c = i.getBoundingClientRect().top + window.scrollY, m = Math.floor(c / t), f = [...e.querySelectorAll(n)];
31
- for (let a = f.length - 1; a >= 0; a--) {
32
- const d = f[a], u = d.getBoundingClientRect().top + window.scrollY, s = Math.floor(u / t);
33
- if (u < c && s === m) return d;
34
- if (u < c && s < m) break;
28
+ import { i as it, a as Zi } from "./pricingPlanScheduleOverrides-COr9F8DO.mjs";
29
+ const nt = 1122.515625;
30
+ function tt(e, i, n, l) {
31
+ const f = i.getBoundingClientRect().top + window.scrollY, g = Math.floor(f / l), m = [...e.querySelectorAll(n)];
32
+ for (let a = m.length - 1; a >= 0; a--) {
33
+ const d = m[a], c = d.getBoundingClientRect().top + window.scrollY, s = Math.floor(c / l);
34
+ if (c < f && s === g) return d;
35
+ if (c < f && s < g) break;
35
36
  }
36
37
  return null;
37
38
  }
38
- function tt(e, i) {
39
+ function lt(e, i) {
39
40
  if (!(i != null && i.length)) return 0;
40
41
  const n = /* @__PURE__ */ new Set();
41
- return i.reduce((t, c) => {
42
- const m = e.querySelector(c);
43
- return !m || n.has(m) ? t : (n.add(m), t + m.getBoundingClientRect().height);
42
+ return i.reduce((l, f) => {
43
+ const g = e.querySelector(f);
44
+ return !g || n.has(g) ? l : (n.add(g), l + g.getBoundingClientRect().height);
44
45
  }, 0);
45
46
  }
46
- function lt(e, i, n = { enabled: !1 }) {
47
- const t = n.pageHeight ?? it, c = n.pushThreshold ?? 0.6, m = n.smallOverflowRatio ?? 0.1, f = [], a = (E) => {
47
+ function ot(e, i, n = { enabled: !1 }) {
48
+ const l = n.pageHeight ?? nt, f = n.pushThreshold ?? 0.6, g = n.smallOverflowRatio ?? 0.1, m = [], a = (E) => {
48
49
  var p;
49
50
  if ((p = n.expandSelectors) != null && p.length)
50
51
  for (const r of n.expandSelectors)
51
52
  E.querySelectorAll(r).forEach((_) => {
52
- getComputedStyle(_).display === "none" && (_.style.display = "block", f.push(_));
53
+ getComputedStyle(_).display === "none" && (_.style.display = "block", m.push(_));
53
54
  });
54
55
  }, d = () => {
55
- f.forEach((E) => E.style.display = "none"), f.length = 0;
56
- }, u = () => {
56
+ m.forEach((E) => E.style.display = "none"), m.length = 0;
57
+ }, c = () => {
57
58
  const E = e.value;
58
59
  if (!E) return;
59
60
  a(E);
60
- const r = ((E.getBoundingClientRect().top + window.scrollY) % t + t) % t;
61
+ const r = ((E.getBoundingClientRect().top + window.scrollY) % l + l) % l;
61
62
  [...E.querySelectorAll(i)].forEach((N) => {
62
63
  N.style.marginTop = "";
63
- const L = N.getBoundingClientRect().top + window.scrollY, M = N.getBoundingClientRect().height, $ = ((L - r) % t + t) % t, v = t - $, P = tt(N, n.protectedTopSelectors);
64
+ const L = N.getBoundingClientRect().top + window.scrollY, M = N.getBoundingClientRect().height, $ = ((L - r) % l + l) % l, v = l - $, P = lt(N, n.protectedTopSelectors);
64
65
  if (M <= v) return;
65
66
  const x = (I, A) => {
66
- const R = n.companionSelector ? nt(
67
+ const R = n.companionSelector ? tt(
67
68
  E,
68
69
  I,
69
70
  n.companionSelector,
70
- t
71
+ l
71
72
  ) : null;
72
73
  if (R) {
73
- const W = ((R.getBoundingClientRect().top + window.scrollY - r) % t + t) % t, G = t - W;
74
- W > t * 0.5 ? R.style.marginTop = `${G}px` : I.style.marginTop = `${A}px`;
74
+ const W = ((R.getBoundingClientRect().top + window.scrollY - r) % l + l) % l, G = l - W;
75
+ W > l * 0.5 ? R.style.marginTop = `${G}px` : I.style.marginTop = `${A}px`;
75
76
  } else
76
77
  I.style.marginTop = `${A}px`;
77
78
  };
@@ -79,11 +80,11 @@ function lt(e, i, n = { enabled: !1 }) {
79
80
  x(N, v);
80
81
  return;
81
82
  }
82
- if (M > t) {
83
- $ > t * 0.5 && x(N, v);
83
+ if (M > l) {
84
+ $ > l * 0.5 && x(N, v);
84
85
  return;
85
86
  }
86
- const y = (M - v) / t < m, D = v / M < c;
87
+ const y = (M - v) / l < g, D = v / M < f;
87
88
  (y || D) && x(N, v);
88
89
  });
89
90
  }, s = () => {
@@ -95,38 +96,38 @@ function lt(e, i, n = { enabled: !1 }) {
95
96
  }));
96
97
  };
97
98
  return Ji(() => {
98
- n.enabled && (window.addEventListener("beforeprint", u), window.addEventListener("afterprint", s));
99
+ n.enabled && (window.addEventListener("beforeprint", c), window.addEventListener("afterprint", s));
99
100
  }), Pn(() => {
100
- n.enabled && (window.removeEventListener("beforeprint", u), window.removeEventListener("afterprint", s));
101
- }), { adjust: u, reset: s };
101
+ n.enabled && (window.removeEventListener("beforeprint", c), window.removeEventListener("afterprint", s));
102
+ }), { adjust: c, reset: s };
102
103
  }
103
- const ot = (e, i = {}) => {
104
+ const at = (e, i = {}) => {
104
105
  const {
105
106
  estimatedHeight: n,
106
- mountMargin: t = "200px 0px",
107
- unmountMargin: c = "600px 0px",
108
- keepMountedOnce: m = !1
109
- } = i, f = () => B(i.disabled) ?? !1, a = be(f()), d = be(null), u = async () => {
107
+ mountMargin: l = "200px 0px",
108
+ unmountMargin: f = "600px 0px",
109
+ keepMountedOnce: g = !1
110
+ } = i, m = () => B(i.disabled) ?? !1, a = be(m()), d = be(null), c = async () => {
110
111
  a.value = !0, await Cn();
111
112
  const r = B(e);
112
113
  r && r.offsetHeight > 0 && (d.value = r.offsetHeight);
113
114
  }, s = Ri(
114
115
  e,
115
116
  ([r]) => {
116
- f() || !(r != null && r.isIntersecting) || (u(), m && (s.stop(), E.stop()));
117
+ m() || !(r != null && r.isIntersecting) || (c(), g && (s.stop(), E.stop()));
117
118
  },
118
119
  // threshold 0: intersecting as soon as any part enters. The default (0.1) never
119
120
  // triggers for content taller than the viewport.
120
- { rootMargin: t, threshold: 0 }
121
+ { rootMargin: l, threshold: 0 }
121
122
  ), E = Ri(
122
123
  e,
123
124
  ([r]) => {
124
- f() || m || r != null && r.isIntersecting || (a.value = !1);
125
+ m() || g || r != null && r.isIntersecting || (a.value = !1);
125
126
  },
126
- { rootMargin: c, threshold: 0 }
127
+ { rootMargin: f, threshold: 0 }
127
128
  );
128
- s.isSupported.value || (a.value = !0), Be(f, (r) => {
129
- r && u();
129
+ s.isSupported.value || (a.value = !0), Be(m, (r) => {
130
+ r && c();
130
131
  }), In(() => {
131
132
  s.stop(), E.stop();
132
133
  });
@@ -136,15 +137,15 @@ const ot = (e, i = {}) => {
136
137
  return r === void 0 ? void 0 : { minHeight: `${r}px` };
137
138
  });
138
139
  return { shouldRender: a, placeholderStyle: p };
139
- }, an = Symbol("expandedConfigs"), at = (e = {}) => {
140
- const i = be(!e.defaultCollapsed), n = En(/* @__PURE__ */ new Set()), t = (f) => n.has(f) ? !i.value : i.value, c = (f, a) => {
141
- a === i.value ? n.delete(f) : n.add(f);
142
- }, m = (f) => Array.isArray(f) ? f : [f];
140
+ }, an = Symbol("expandedConfigs"), st = (e = {}) => {
141
+ const i = be(!e.defaultCollapsed), n = En(/* @__PURE__ */ new Set()), l = (m) => n.has(m) ? !i.value : i.value, f = (m, a) => {
142
+ a === i.value ? n.delete(m) : n.add(m);
143
+ }, g = (m) => Array.isArray(m) ? m : [m];
143
144
  return {
144
- isExpanded: t,
145
- toggle: (f) => c(f, !t(f)),
146
- expand: (f) => m(f).forEach((a) => c(a, !0)),
147
- collapse: (f) => m(f).forEach((a) => c(a, !1)),
145
+ isExpanded: l,
146
+ toggle: (m) => f(m, !l(m)),
147
+ expand: (m) => g(m).forEach((a) => f(a, !0)),
148
+ collapse: (m) => g(m).forEach((a) => f(a, !1)),
148
149
  expandAll: () => {
149
150
  i.value = !0, n.clear();
150
151
  },
@@ -153,77 +154,64 @@ const ot = (e, i = {}) => {
153
154
  }
154
155
  };
155
156
  }, sn = (e = {}) => {
156
- const i = at(e);
157
+ const i = st(e);
157
158
  return Ge(an, i), i;
158
- }, st = (e = {}) => {
159
+ }, rt = (e = {}) => {
159
160
  const i = Xi(an, null);
160
161
  return i || sn(e);
161
- }, rt = Symbol("viewportGating"), dt = () => Xi(rt, !1), ct = (e, i = !0) => {
162
+ }, dt = Symbol("viewportGating"), ct = () => Xi(dt, !1), ut = (e, i = !0) => {
162
163
  const n = An(
163
- (e.products ?? []).map((t) => t.name ?? "")
164
+ (e.products ?? []).map((l) => l.name ?? "")
164
165
  );
165
166
  return e.name ? i ? `${e.name} - ${n}` : e.name : n;
166
- }, ut = (e, i) => {
167
- var n, t;
168
- return !!((n = e.enabled_pricings) != null && n.some(({ pricing_id: c }) => c === i.id) || (t = e.override_pricings) != null && t.some(
169
- (c) => "id" in c && c.id === i.id || c.original_pricing_id === i.id
170
- ));
171
- }, Zi = (e) => {
172
- var i, n;
173
- return [
174
- ...((i = e.enabled_pricings) == null ? void 0 : i.map(({ pricing_id: t }) => t)) ?? [],
175
- ...((n = e.override_pricings) == null ? void 0 : n.map(
176
- (t) => "id" in t ? t.id : t.original_pricing_id
177
- )) ?? []
178
- ];
179
167
  }, gt = ({
180
168
  schedule: e,
181
169
  pricingItemConfigIds: i
182
170
  }) => {
183
171
  var n;
184
- const t = new Set(i);
172
+ const l = new Set(i);
185
173
  return (n = e.units) == null ? void 0 : n.find(
186
- (c) => t.has(c.pricing_item_config_id)
174
+ (f) => l.has(f.pricing_item_config_id)
187
175
  );
188
176
  }, rn = ({
189
177
  schedule: e,
190
178
  pricingItemConfigIds: i
191
179
  }) => {
192
- var n, t;
193
- const c = /* @__PURE__ */ new Date(), m = new Set(i), f = (n = e.seats_values) == null ? void 0 : n.map((a, d) => ({ seatsValue: a, index: d })).filter(({ seatsValue: a }) => {
194
- if (!m.has(a.pricing_item_config_id)) return !1;
195
- const d = a.set_start_at_to_now || !a.start_at || new Date(a.start_at) <= c, u = !a.end_at || new Date(a.end_at) > c;
196
- return d && u;
180
+ var n, l;
181
+ const f = /* @__PURE__ */ new Date(), g = new Set(i), m = (n = e.seats_values) == null ? void 0 : n.map((a, d) => ({ seatsValue: a, index: d })).filter(({ seatsValue: a }) => {
182
+ if (!g.has(a.pricing_item_config_id)) return !1;
183
+ const d = a.set_start_at_to_now || !a.start_at || new Date(a.start_at) <= f, c = !a.end_at || new Date(a.end_at) > f;
184
+ return d && c;
197
185
  });
198
- return (t = f == null ? void 0 : f.sort((a, d) => {
199
- const u = a.seatsValue.set_start_at_to_now ? c.getTime() : a.seatsValue.start_at ? new Date(a.seatsValue.start_at).getTime() : 0, s = d.seatsValue.set_start_at_to_now ? c.getTime() : d.seatsValue.start_at ? new Date(d.seatsValue.start_at).getTime() : 0;
200
- return s !== u ? s - u : d.index - a.index;
201
- })[0]) == null ? void 0 : t.seatsValue;
186
+ return (l = m == null ? void 0 : m.sort((a, d) => {
187
+ const c = a.seatsValue.set_start_at_to_now ? f.getTime() : a.seatsValue.start_at ? new Date(a.seatsValue.start_at).getTime() : 0, s = d.seatsValue.set_start_at_to_now ? f.getTime() : d.seatsValue.start_at ? new Date(d.seatsValue.start_at).getTime() : 0;
188
+ return s !== c ? s - c : d.index - a.index;
189
+ })[0]) == null ? void 0 : l.seatsValue;
202
190
  }, Ui = (e, i) => {
203
191
  var n;
204
- const t = (a) => a == null ? void 0 : a.map((d) => {
205
- var u;
192
+ const l = (a) => a == null ? void 0 : a.map((d) => {
193
+ var c;
206
194
  return {
207
195
  ...d,
208
- configs: (u = d.configs) == null ? void 0 : u.map(m)
196
+ configs: (c = d.configs) == null ? void 0 : c.map(g)
209
197
  };
210
- }), c = (a) => a == null ? void 0 : a.map((d) => {
211
- var u;
198
+ }), f = (a) => a == null ? void 0 : a.map((d) => {
199
+ var c;
212
200
  return {
213
201
  ...d,
214
- configs: (u = d.configs) == null ? void 0 : u.map(m),
215
- billing_period_configs: t(
202
+ configs: (c = d.configs) == null ? void 0 : c.map(g),
203
+ billing_period_configs: l(
216
204
  d.billing_period_configs
217
205
  )
218
206
  };
219
- }), m = (a) => {
220
- var d, u, s;
207
+ }), g = (a) => {
208
+ var d, c, s;
221
209
  const E = (d = i.included_volumes) == null ? void 0 : d.find(
222
210
  (_) => _.pricing_item_config_id === a.id
223
211
  ), p = rn({
224
212
  schedule: i,
225
213
  pricingItemConfigIds: [a.id]
226
- }) ?? ((u = i.seats_values) == null ? void 0 : u.find(
214
+ }) ?? ((c = i.seats_values) == null ? void 0 : c.find(
227
215
  (_) => _.pricing_item_config_id === a.id
228
216
  )), r = gt({
229
217
  schedule: i,
@@ -246,14 +234,14 @@ const ot = (e, i = {}) => {
246
234
  },
247
235
  conditions: a.conditions ? {
248
236
  ...a.conditions,
249
- configs: (s = a.conditions.configs) == null ? void 0 : s.map(m)
237
+ configs: (s = a.conditions.configs) == null ? void 0 : s.map(g)
250
238
  } : void 0
251
239
  };
252
240
  };
253
241
  return {
254
242
  ...e,
255
243
  entitlements: ((a) => {
256
- var d, u, s;
244
+ var d, c, s;
257
245
  const E = (_) => {
258
246
  var N;
259
247
  return (N = a.products) == null ? void 0 : N.some(
@@ -262,7 +250,7 @@ const ot = (e, i = {}) => {
262
250
  return (M = L.features) == null ? void 0 : M.some(($) => $.id === _.feature_id);
263
251
  }
264
252
  );
265
- }, p = ((u = (d = i.entitlements) == null ? void 0 : d.filter((_) => E(_))) == null ? void 0 : u.reduce((_, N) => {
253
+ }, p = ((c = (d = i.entitlements) == null ? void 0 : d.filter((_) => E(_))) == null ? void 0 : c.reduce((_, N) => {
266
254
  var L, M;
267
255
  const $ = (M = (L = a.entitlements) == null ? void 0 : L.find(
268
256
  (v) => v.feature_id === N.feature_id
@@ -278,34 +266,34 @@ const ot = (e, i = {}) => {
278
266
  items: (n = e.items) == null ? void 0 : n.map((a) => ({
279
267
  ...a,
280
268
  ...a.configs && {
281
- configs: a.configs.map(m)
269
+ configs: a.configs.map(g)
282
270
  },
283
271
  ...a.billing_period_configs && {
284
- billing_period_configs: t(
272
+ billing_period_configs: l(
285
273
  a.billing_period_configs
286
274
  )
287
275
  },
288
276
  ...a.pricing_currency_configs && {
289
- pricing_currency_configs: c(
277
+ pricing_currency_configs: f(
290
278
  a.pricing_currency_configs
291
279
  )
292
280
  }
293
281
  }))
294
282
  };
295
283
  }, Fi = (e, i, n = { displayDisabledAddonPricings: !1 }) => {
296
- var t, c;
297
- const m = (f) => n.displayDisabledAddonPricings || f.product_type !== "ADDON" || ut(i, f);
284
+ var l, f;
285
+ const g = (m) => n.displayDisabledAddonPricings || m.product_type !== "ADDON" || it(i, m);
298
286
  return {
299
287
  ...e,
300
- pricing_categories: (c = (t = e.pricing_categories) == null ? void 0 : t.map((f) => {
301
- var a, d, u, s;
288
+ pricing_categories: (f = (l = e.pricing_categories) == null ? void 0 : l.map((m) => {
289
+ var a, d, c, s;
302
290
  return {
303
- ...f,
304
- pricing_groups: (d = (a = f.pricing_groups) == null ? void 0 : a.map((E) => {
291
+ ...m,
292
+ pricing_groups: (d = (a = m.pricing_groups) == null ? void 0 : a.map((E) => {
305
293
  var p, r;
306
294
  return {
307
295
  ...E,
308
- pricings: (r = (p = E.pricings) == null ? void 0 : p.filter(m)) == null ? void 0 : r.map(
296
+ pricings: (r = (p = E.pricings) == null ? void 0 : p.filter(g)) == null ? void 0 : r.map(
309
297
  (_) => Ui(
310
298
  _,
311
299
  i
@@ -313,12 +301,12 @@ const ot = (e, i = {}) => {
313
301
  )
314
302
  };
315
303
  })) == null ? void 0 : d.filter((E) => !ie(E.pricings)),
316
- pricings: (s = (u = f.pricings) == null ? void 0 : u.filter(m)) == null ? void 0 : s.map(
304
+ pricings: (s = (c = m.pricings) == null ? void 0 : c.filter(g)) == null ? void 0 : s.map(
317
305
  (E) => Ui(E, i)
318
306
  )
319
307
  };
320
- })) == null ? void 0 : c.filter(
321
- (f) => n.displayDisabledAddonPricings || !(ie(f.pricing_groups) && ie(f.pricings))
308
+ })) == null ? void 0 : f.filter(
309
+ (m) => n.displayDisabledAddonPricings || !(ie(m.pricing_groups) && ie(m.pricings))
322
310
  )
323
311
  };
324
312
  }, mt = (e) => ["AT_MOST_ONE", "EXACTLY_ONE"].includes(e.selection_constraint), ft = (e) => (i) => {
@@ -330,8 +318,8 @@ const ot = (e, i = {}) => {
330
318
  return e.formatNumber(+i.tier_top_bound.count);
331
319
  if (Ye(i.tier_top_bound))
332
320
  return Ne(i.tier_top_bound.amount);
333
- }, vt = (e) => (i, n, t) => {
334
- if (t === n.length - 1)
321
+ }, vt = (e) => (i, n, l) => {
322
+ if (l === n.length - 1)
335
323
  return e.infinite;
336
324
  if (i.tier_top_bound && "number" in i.tier_top_bound && Ie(i.tier_top_bound))
337
325
  return e.formatNumber(+i.tier_top_bound.number);
@@ -340,9 +328,9 @@ const ot = (e, i = {}) => {
340
328
  if (i.tier_top_bound && "amount" in i.tier_top_bound && Ye(i.tier_top_bound))
341
329
  return Ne(i.tier_top_bound.amount);
342
330
  }, pt = (e, i) => {
343
- var n, t;
344
- return (t = (n = e.markup) == null ? void 0 : n.pricing_item_configs) == null ? void 0 : t.find(
345
- ({ ids: c }) => c == null ? void 0 : c.includes(i.id)
331
+ var n, l;
332
+ return (l = (n = e.markup) == null ? void 0 : n.pricing_item_configs) == null ? void 0 : l.find(
333
+ ({ ids: f }) => f == null ? void 0 : f.includes(i.id)
346
334
  );
347
335
  }, bt = (e, i) => e.type === i.type && e.value === i.value, Hi = (e, i) => e != null && e.length ? i ? e.filter(
348
336
  ({ billing_period: n }) => bt(n, i)
@@ -350,27 +338,27 @@ const ot = (e, i = {}) => {
350
338
  var n;
351
339
  if (!((n = e.pricing_currency_configs) != null && n.length) || !i)
352
340
  return;
353
- const t = e.pricing_currency_configs.find((c) => c.currency === i) ?? e.pricing_currency_configs[0];
354
- if (t)
355
- return t.fallback_currency ? {
341
+ const l = e.pricing_currency_configs.find((f) => f.currency === i) ?? e.pricing_currency_configs[0];
342
+ if (l)
343
+ return l.fallback_currency ? {
356
344
  config: e.pricing_currency_configs.find(
357
- (m) => m.currency === t.fallback_currency
345
+ (g) => g.currency === l.fallback_currency
358
346
  ),
359
347
  additionalFields: {
360
348
  use_fallback_currency: !0,
361
- fallback_currency: t.fallback_currency
349
+ fallback_currency: l.fallback_currency
362
350
  }
363
- } : { config: t, additionalFields: void 0 };
351
+ } : { config: l, additionalFields: void 0 };
364
352
  }, ht = (e, i) => {
365
- var n, t, c, m;
353
+ var n, l, f, g;
366
354
  if (!((n = e.pricing_currency_configs) != null && n.length))
367
- return (((t = e.billing_period_configs) == null ? void 0 : t.length) ?? 0) > 0;
368
- const f = dn(e, i);
369
- return (((m = (c = f == null ? void 0 : f.config) == null ? void 0 : c.billing_period_configs) == null ? void 0 : m.length) ?? 0) > 0;
355
+ return (((l = e.billing_period_configs) == null ? void 0 : l.length) ?? 0) > 0;
356
+ const m = dn(e, i);
357
+ return (((g = (f = m == null ? void 0 : m.config) == null ? void 0 : f.billing_period_configs) == null ? void 0 : g.length) ?? 0) > 0;
370
358
  }, yt = (e, i, n) => {
371
- var t, c, m, f;
372
- const { configs: a, billing_period_configs: d, ...u } = e;
373
- if (!((t = e.pricing_currency_configs) != null && t.length) && ((c = e.billing_period_configs) != null && c.length)) {
359
+ var l, f, g, m;
360
+ const { configs: a, billing_period_configs: d, ...c } = e;
361
+ if (!((l = e.pricing_currency_configs) != null && l.length) && ((f = e.billing_period_configs) != null && f.length)) {
374
362
  const E = Hi(
375
363
  e.billing_period_configs,
376
364
  n
@@ -390,16 +378,16 @@ const ot = (e, i = {}) => {
390
378
  })
391
379
  );
392
380
  return {
393
- ...u,
381
+ ...c,
394
382
  configs: E
395
383
  };
396
384
  }
397
- if (!((m = e.pricing_currency_configs) != null && m.length) || !i)
385
+ if (!((g = e.pricing_currency_configs) != null && g.length) || !i)
398
386
  return e;
399
387
  const s = dn(e, i);
400
388
  if (!(s != null && s.config))
401
389
  return e;
402
- if ((f = s.config.billing_period_configs) != null && f.length) {
390
+ if ((m = s.config.billing_period_configs) != null && m.length) {
403
391
  const E = Hi(
404
392
  s.config.billing_period_configs,
405
393
  n
@@ -420,41 +408,41 @@ const ot = (e, i = {}) => {
420
408
  })
421
409
  );
422
410
  return {
423
- ...u,
411
+ ...c,
424
412
  configs: E
425
413
  };
426
414
  }
427
415
  return {
428
- ...u,
416
+ ...c,
429
417
  configs: (s.config.configs ?? []).map((E) => ({
430
418
  ...E,
431
419
  ...s.additionalFields
432
420
  }))
433
421
  };
434
422
  }, Gi = (e, i, n) => {
435
- var t;
436
- return (t = e.items) != null && t.length ? e.items.map(
437
- (c) => yt(c, i, n)
423
+ var l;
424
+ return (l = e.items) != null && l.length ? e.items.map(
425
+ (f) => yt(f, i, n)
438
426
  ) : e.items;
439
427
  }, _t = (e, i, n) => {
440
- var t;
428
+ var l;
441
429
  return {
442
430
  ...e,
443
- pricing_categories: (t = e.pricing_categories) == null ? void 0 : t.map((c) => {
444
- var m, f;
431
+ pricing_categories: (l = e.pricing_categories) == null ? void 0 : l.map((f) => {
432
+ var g, m;
445
433
  return {
446
- ...c,
447
- pricings: (m = c.pricings) == null ? void 0 : m.map((a) => ({
434
+ ...f,
435
+ pricings: (g = f.pricings) == null ? void 0 : g.map((a) => ({
448
436
  ...a,
449
437
  items: Gi(a, i, n)
450
438
  })),
451
- pricing_groups: (f = c.pricing_groups) == null ? void 0 : f.map((a) => {
439
+ pricing_groups: (m = f.pricing_groups) == null ? void 0 : m.map((a) => {
452
440
  var d;
453
441
  return {
454
442
  ...a,
455
- pricings: (d = a.pricings) == null ? void 0 : d.map((u) => ({
456
- ...u,
457
- items: Gi(u, i, n)
443
+ pricings: (d = a.pricings) == null ? void 0 : d.map((c) => ({
444
+ ...c,
445
+ items: Gi(c, i, n)
458
446
  }))
459
447
  };
460
448
  })
@@ -462,23 +450,23 @@ const ot = (e, i = {}) => {
462
450
  })
463
451
  };
464
452
  }, xt = (e, i) => {
465
- const n = [], t = (c) => {
466
- for (const m of c ?? []) {
467
- const f = (m.items ?? []).filter((a) => ht(a, i)).map((a) => a.id);
468
- n.push([m.id, f]);
453
+ const n = [], l = (f) => {
454
+ for (const g of f ?? []) {
455
+ const m = (g.items ?? []).filter((a) => ht(a, i)).map((a) => a.id);
456
+ n.push([g.id, m]);
469
457
  }
470
458
  };
471
- for (const c of e.pricing_categories ?? []) {
472
- t(c.pricings);
473
- for (const m of c.pricing_groups ?? [])
474
- t(m.pricings);
459
+ for (const f of e.pricing_categories ?? []) {
460
+ l(f.pricings);
461
+ for (const g of f.pricing_groups ?? [])
462
+ l(g.pricings);
475
463
  }
476
464
  return Object.fromEntries(n);
477
465
  }, $t = (e) => {
478
466
  var i;
479
467
  for (const n of (e == null ? void 0 : e.pricing_categories) ?? []) {
480
- for (const t of n.pricing_groups ?? [])
481
- if (t.pricings[0]) return t.pricings[0].id;
468
+ for (const l of n.pricing_groups ?? [])
469
+ if (l.pricings[0]) return l.pricings[0].id;
482
470
  if ((i = n.pricings) != null && i[0]) return n.pricings[0].id;
483
471
  }
484
472
  }, kt = (e, i) => {
@@ -497,13 +485,13 @@ const ot = (e, i = {}) => {
497
485
  const { entitlements: i, ...n } = e;
498
486
  return n;
499
487
  }, St = (e) => {
500
- const { pricings: i, pricing_groups: n, ...t } = e;
488
+ const { pricings: i, pricing_groups: n, ...l } = e;
501
489
  return {
502
- ...t,
490
+ ...l,
503
491
  pricings: i == null ? void 0 : i.map(ji),
504
- pricing_groups: n == null ? void 0 : n.map((c) => ({
505
- ...c,
506
- pricings: (c.pricings ?? []).map(ji)
492
+ pricing_groups: n == null ? void 0 : n.map((f) => ({
493
+ ...f,
494
+ pricings: (f.pricings ?? []).map(ji)
507
495
  }))
508
496
  };
509
497
  }, Tt = (e, i) => {
@@ -525,7 +513,7 @@ const ot = (e, i = {}) => {
525
513
  spacing: { default: "md" }
526
514
  },
527
515
  setup(e) {
528
- return (i, n) => (l(), g("div", {
516
+ return (i, n) => (t(), u("div", {
529
517
  class: H({
530
518
  "p-2": e.spacing === "xs",
531
519
  "px-4 py-3": e.spacing === "sm",
@@ -546,26 +534,26 @@ const ot = (e, i = {}) => {
546
534
  emits: ["add"],
547
535
  setup(e) {
548
536
  const i = e, n = C(() => i.type === "ordered" ? "ol" : "ul");
549
- return (t, c) => {
550
- var m;
551
- return l(), g("div", null, [
552
- (l(), T(wn(n.value), null, {
537
+ return (l, f) => {
538
+ var g;
539
+ return t(), u("div", null, [
540
+ (t(), T(wn(n.value), null, {
553
541
  default: o(() => [
554
- k(t.$slots, "default")
542
+ k(l.$slots, "default")
555
543
  ]),
556
544
  _: 3
557
545
  })),
558
546
  w("div", {
559
547
  class: H(["flex flex-col items-center justify-center", B(Fe)])
560
548
  }, [
561
- e.hasAddButton ? (l(), T(B(De), {
549
+ e.hasAddButton ? (t(), T(B(De), {
562
550
  key: 0,
563
551
  square: "",
564
- "aria-label": ((m = e.i18n) == null ? void 0 : m.addButtonLabel) ?? "Add item",
552
+ "aria-label": ((g = e.i18n) == null ? void 0 : g.addButtonLabel) ?? "Add item",
565
553
  intent: "secondary",
566
554
  size: "sm",
567
555
  "icon-prefix": "add",
568
- onClick: c[0] || (c[0] = (f) => t.$emit("add"))
556
+ onClick: f[0] || (f[0] = (m) => l.$emit("add"))
569
557
  }, null, 8, ["aria-label"])) : b("", !0)
570
558
  ], 2)
571
559
  ]);
@@ -578,7 +566,7 @@ const ot = (e, i = {}) => {
578
566
  placement: {}
579
567
  },
580
568
  setup(e) {
581
- return (i, n) => (l(), T(re, {
569
+ return (i, n) => (t(), T(re, {
582
570
  offset: 4,
583
571
  placement: e.placement
584
572
  }, {
@@ -621,34 +609,34 @@ const ot = (e, i = {}) => {
621
609
  },
622
610
  emits: ["toggle"],
623
611
  setup(e, { emit: i }) {
624
- const n = e, t = i, c = C(
612
+ const n = e, l = i, f = C(
625
613
  () => n.isExpanded ? n.expandedIcon : n.collapsedIcon
626
614
  );
627
- return (m, f) => e.isCollapsible ? (l(), g("button", {
615
+ return (g, m) => e.isCollapsible ? (t(), u("button", {
628
616
  key: 0,
629
617
  type: "button",
630
618
  class: H(["flex cursor-pointer items-center disabled:cursor-not-allowed", e.rootClass]),
631
619
  "aria-label": e.ariaLabel,
632
620
  "aria-expanded": e.isExpanded,
633
621
  disabled: e.disabled,
634
- onClick: f[0] || (f[0] = (a) => t("toggle"))
622
+ onClick: m[0] || (m[0] = (a) => l("toggle"))
635
623
  }, [
636
- e.iconPosition === "before" ? (l(), T(te, {
624
+ e.iconPosition === "before" ? (t(), T(te, {
637
625
  key: 0,
638
- icon: c.value,
626
+ icon: f.value,
639
627
  size: e.iconSize
640
628
  }, null, 8, ["icon", "size"])) : b("", !0),
641
- k(m.$slots, "default"),
642
- e.iconPosition === "after" ? (l(), T(te, {
629
+ k(g.$slots, "default"),
630
+ e.iconPosition === "after" ? (t(), T(te, {
643
631
  key: 1,
644
- icon: c.value,
632
+ icon: f.value,
645
633
  size: e.iconSize
646
634
  }, null, 8, ["icon", "size"])) : b("", !0)
647
- ], 10, Ot)) : (l(), g("div", {
635
+ ], 10, Ot)) : (t(), u("div", {
648
636
  key: 1,
649
637
  class: H(e.rootClass)
650
638
  }, [
651
- k(m.$slots, "default")
639
+ k(g.$slots, "default")
652
640
  ], 2));
653
641
  }
654
642
  }), Xe = /* @__PURE__ */ U({
@@ -662,30 +650,30 @@ const ot = (e, i = {}) => {
662
650
  emits: ["toggle"],
663
651
  setup(e) {
664
652
  const i = Qi(), n = C(() => !!i.default && !Ue(i.default()));
665
- return (t, c) => (l(), g("div", null, [
653
+ return (l, f) => (t(), u("div", null, [
666
654
  S(cn, {
667
655
  "is-collapsible": e.isCollapsible,
668
656
  "is-expanded": e.isExpanded,
669
657
  "root-class": "w-full",
670
- onToggle: c[0] || (c[0] = (m) => t.$emit("toggle"))
658
+ onToggle: f[0] || (f[0] = (g) => l.$emit("toggle"))
671
659
  }, {
672
660
  default: o(() => [
673
661
  w("div", {
674
662
  class: H(["w-full", e.headerClass])
675
663
  }, [
676
- k(t.$slots, "header")
664
+ k(l.$slots, "header")
677
665
  ], 2)
678
666
  ]),
679
667
  _: 3
680
668
  }, 8, ["is-collapsible", "is-expanded"]),
681
- n.value ? (l(), T(_e, {
669
+ n.value ? (t(), T(_e, {
682
670
  key: 0,
683
671
  "is-open": !e.isCollapsible || e.isExpanded,
684
672
  lazy: "",
685
673
  "unmount-on-close": e.unmountOnClose
686
674
  }, {
687
675
  default: o(() => [
688
- k(t.$slots, "default")
676
+ k(l.$slots, "default")
689
677
  ]),
690
678
  _: 3
691
679
  }, 8, ["is-open", "unmount-on-close"])) : b("", !0)
@@ -706,7 +694,7 @@ const ot = (e, i = {}) => {
706
694
  printBehavior: {}
707
695
  },
708
696
  setup(e) {
709
- return (i, n) => (l(), g("div", {
697
+ return (i, n) => (t(), u("div", {
710
698
  class: H([
711
699
  "flex flex-col",
712
700
  B(ke)(
@@ -720,7 +708,7 @@ const ot = (e, i = {}) => {
720
708
  )
721
709
  ])
722
710
  }, [
723
- e.title || i.$slots.title ? (l(), g("div", {
711
+ e.title || i.$slots.title ? (t(), u("div", {
724
712
  key: 0,
725
713
  class: H(
726
714
  B(ke)(
@@ -809,26 +797,26 @@ const ot = (e, i = {}) => {
809
797
  const i = e, n = C(() => {
810
798
  var a, d;
811
799
  return !!((d = (a = i.pricingItemConfig) == null ? void 0 : a.top_up) != null && d.rollover);
812
- }), t = C(() => ({
800
+ }), l = C(() => ({
813
801
  intent: "neutral",
814
802
  hasChipAfter: n.value
815
- })), c = {
803
+ })), f = {
816
804
  intent: "neutral",
817
805
  hasChipBefore: !0
818
- }, m = C(
806
+ }, g = C(
819
807
  () => {
820
- var a, d, u;
821
- return (u = (d = (a = i.pricingItemConfig) == null ? void 0 : a.details) == null ? void 0 : d.bands) == null ? void 0 : u.some((s) => s.block_size);
808
+ var a, d, c;
809
+ return (c = (d = (a = i.pricingItemConfig) == null ? void 0 : a.details) == null ? void 0 : d.bands) == null ? void 0 : c.some((s) => s.block_size);
822
810
  }
823
- ), f = C(() => Pe(i.pricingItemConfig) && m.value ? i.i18n.tieredTooltip.blockSize : Pe(i.pricingItemConfig) && !m.value ? i.i18n.tieredTooltip.nonBlockSize : i.i18n.defaultTooltip);
824
- return (a, d) => (l(), g("span", Mt, [
825
- e.hasTooltip ? (l(), T(re, {
811
+ ), m = C(() => Pe(i.pricingItemConfig) && g.value ? i.i18n.tieredTooltip.blockSize : Pe(i.pricingItemConfig) && !g.value ? i.i18n.tieredTooltip.nonBlockSize : i.i18n.defaultTooltip);
812
+ return (a, d) => (t(), u("span", Mt, [
813
+ e.hasTooltip ? (t(), T(re, {
826
814
  key: 0,
827
815
  offset: 4,
828
816
  placement: e.placement
829
817
  }, {
830
818
  default: o(() => [
831
- S(le, q(Y(t.value)), {
819
+ S(le, q(Y(l.value)), {
832
820
  default: o(() => [
833
821
  O(h(e.i18n.topUp), 1)
834
822
  ]),
@@ -840,7 +828,7 @@ const ot = (e, i = {}) => {
840
828
  default: o(() => [
841
829
  S(he, null, {
842
830
  default: o(() => [
843
- O(h(f.value), 1)
831
+ O(h(m.value), 1)
844
832
  ]),
845
833
  _: 1
846
834
  })
@@ -849,20 +837,20 @@ const ot = (e, i = {}) => {
849
837
  })
850
838
  ]),
851
839
  _: 1
852
- }, 8, ["placement"])) : (l(), T(le, q(j({ key: 1 }, t.value)), {
840
+ }, 8, ["placement"])) : (t(), T(le, q(j({ key: 1 }, l.value)), {
853
841
  default: o(() => [
854
842
  O(h(e.i18n.topUp), 1)
855
843
  ]),
856
844
  _: 1
857
845
  }, 16)),
858
- n.value ? (l(), g(z, { key: 2 }, [
859
- e.hasTooltip ? (l(), T(re, {
846
+ n.value ? (t(), u(z, { key: 2 }, [
847
+ e.hasTooltip ? (t(), T(re, {
860
848
  key: 0,
861
849
  offset: 4,
862
850
  placement: e.placement
863
851
  }, {
864
852
  default: o(() => [
865
- S(le, q(Y(c)), {
853
+ S(le, q(Y(f)), {
866
854
  default: o(() => [
867
855
  O(h(e.i18n.rollover.title), 1)
868
856
  ]),
@@ -883,7 +871,7 @@ const ot = (e, i = {}) => {
883
871
  })
884
872
  ]),
885
873
  _: 1
886
- }, 8, ["placement"])) : (l(), T(le, q(j({ key: 1 }, c)), {
874
+ }, 8, ["placement"])) : (t(), T(le, q(j({ key: 1 }, f)), {
887
875
  default: o(() => [
888
876
  O(h(e.i18n.rollover.title), 1)
889
877
  ]),
@@ -902,11 +890,11 @@ const ot = (e, i = {}) => {
902
890
  hideDefaultLabel: { type: Boolean }
903
891
  },
904
892
  setup(e) {
905
- const i = e, n = C(() => i.i18n ?? Qe), t = C(() => {
906
- var c, m;
907
- return !ie((m = (c = i.config) == null ? void 0 : c.conditions) == null ? void 0 : m.meter_properties);
893
+ const i = e, n = C(() => i.i18n ?? Qe), l = C(() => {
894
+ var f, g;
895
+ return !ie((g = (f = i.config) == null ? void 0 : f.conditions) == null ? void 0 : g.meter_properties);
908
896
  });
909
- return (c, m) => (l(), g("div", Rt, [
897
+ return (f, g) => (t(), u("div", Rt, [
910
898
  w("div", zt, [
911
899
  S(Z, {
912
900
  class: "line-clamp-1",
@@ -916,14 +904,14 @@ const ot = (e, i = {}) => {
916
904
  weight: "semibold"
917
905
  }, {
918
906
  default: o(() => {
919
- var f, a, d, u, s, E;
907
+ var m, a, d, c, s, E;
920
908
  return [
921
- (f = e.config.conditions) != null && f.name || t.value ? (l(), g(z, { key: 0 }, [
922
- (a = e.config.conditions) != null && a.name ? (l(), g(z, { key: 0 }, [
909
+ (m = e.config.conditions) != null && m.name || l.value ? (t(), u(z, { key: 0 }, [
910
+ (a = e.config.conditions) != null && a.name ? (t(), u(z, { key: 0 }, [
923
911
  O(h((d = e.config.conditions) == null ? void 0 : d.name), 1)
924
912
  ], 64)) : b("", !0),
925
- t.value && ((s = (u = e.config) == null ? void 0 : u.conditions) != null && s.meter_properties) ? (l(), g(z, { key: 1 }, [
926
- e.hasTooltip && ((E = e.config.conditions) != null && E.name) ? (l(), T(re, {
913
+ l.value && ((s = (c = e.config) == null ? void 0 : c.conditions) != null && s.meter_properties) ? (t(), u(z, { key: 1 }, [
914
+ e.hasTooltip && ((E = e.config.conditions) != null && E.name) ? (t(), T(re, {
927
915
  key: 0,
928
916
  variant: "outline",
929
917
  class: "ml-1"
@@ -958,7 +946,7 @@ const ot = (e, i = {}) => {
958
946
  })
959
947
  ]),
960
948
  _: 1
961
- })) : (l(), T(Z, {
949
+ })) : (t(), T(Z, {
962
950
  key: 1,
963
951
  variant: "body-sm",
964
952
  weight: "normal",
@@ -968,7 +956,7 @@ const ot = (e, i = {}) => {
968
956
  default: o(() => {
969
957
  var p, r, _;
970
958
  return [
971
- (p = e.config.conditions) != null && p.name ? (l(), g("span", Zt, " - ")) : b("", !0),
959
+ (p = e.config.conditions) != null && p.name ? (t(), u("span", Zt, " - ")) : b("", !0),
972
960
  S(Ze, {
973
961
  comparators: (_ = (r = e.config) == null ? void 0 : r.conditions) == null ? void 0 : _.meter_properties,
974
962
  display: "inline"
@@ -978,24 +966,24 @@ const ot = (e, i = {}) => {
978
966
  _: 1
979
967
  }))
980
968
  ], 64)) : b("", !0)
981
- ], 64)) : e.hideDefaultLabel ? b("", !0) : (l(), g(z, { key: 1 }, [
969
+ ], 64)) : e.hideDefaultLabel ? b("", !0) : (t(), u(z, { key: 1 }, [
982
970
  O(h(n.value.defaultPricing), 1)
983
971
  ], 64))
984
972
  ];
985
973
  }),
986
974
  _: 1
987
975
  }),
988
- e.config.volume_group_reference ? (l(), T(Dt, {
976
+ e.config.volume_group_reference ? (t(), T(Dt, {
989
977
  key: 0,
990
978
  i18n: n.value.combinedVolume
991
979
  }, null, 8, ["i18n"])) : b("", !0),
992
- B(qe)(e.config) ? (l(), T(At, {
980
+ B(qe)(e.config) ? (t(), T(At, {
993
981
  key: 1,
994
982
  i18n: n.value.topUpChip,
995
983
  "pricing-item-config": e.config
996
984
  }, null, 8, ["i18n", "pricing-item-config"])) : b("", !0)
997
985
  ]),
998
- k(c.$slots, "override-tooltip")
986
+ k(f.$slots, "override-tooltip")
999
987
  ]));
1000
988
  }
1001
989
  }), ii = {
@@ -1019,8 +1007,8 @@ const ot = (e, i = {}) => {
1019
1007
  commitmentOnInvoice: (e) => `Commitment on <strong>Invoice</strong> ${e}`,
1020
1008
  basedOnMeterValue: "based on meter value"
1021
1009
  }, Ut = (e, i = Me, n) => {
1022
- const { formatDate: t } = ae(), c = C(() => je(e.value)), m = C(
1023
- () => c.value.map((p) => {
1010
+ const { formatDate: l } = ae(), f = C(() => je(e.value)), g = C(
1011
+ () => f.value.map((p) => {
1024
1012
  var r;
1025
1013
  return {
1026
1014
  pricing: p,
@@ -1028,10 +1016,10 @@ const ot = (e, i = {}) => {
1028
1016
  pricingId: p.id
1029
1017
  };
1030
1018
  })
1031
- ), f = C(
1019
+ ), m = C(
1032
1020
  () => {
1033
1021
  var p;
1034
- return ((p = c.value) == null ? void 0 : p.flatMap(
1022
+ return ((p = f.value) == null ? void 0 : p.flatMap(
1035
1023
  (r) => {
1036
1024
  var _;
1037
1025
  return ((_ = r.items) == null ? void 0 : _.map((N) => {
@@ -1053,9 +1041,9 @@ const ot = (e, i = {}) => {
1053
1041
  switch (p.commitmentLevel) {
1054
1042
  case "PRODUCTS": {
1055
1043
  const $ = (r = p.ids) == null ? void 0 : r.map(
1056
- (v) => m.value.find((P) => P.pricingId === v)
1044
+ (v) => g.value.find((P) => P.pricingId === v)
1057
1045
  );
1058
- return u(
1046
+ return c(
1059
1047
  ($ == null ? void 0 : $.map((v) => {
1060
1048
  var P;
1061
1049
  return (v == null ? void 0 : v.pricing.name) ?? (((P = v == null ? void 0 : v.product) == null ? void 0 : P.name) || "");
@@ -1066,10 +1054,10 @@ const ot = (e, i = {}) => {
1066
1054
  const $ = (_ = p.ids) == null ? void 0 : _.map(
1067
1055
  (v) => {
1068
1056
  var P;
1069
- return (P = f.value.find((x) => x.pricingItemId === v)) == null ? void 0 : P.productItem;
1057
+ return (P = m.value.find((x) => x.pricingItemId === v)) == null ? void 0 : P.productItem;
1070
1058
  }
1071
1059
  );
1072
- return u(($ == null ? void 0 : $.map((v) => (v == null ? void 0 : v.name) || "")) ?? []);
1060
+ return c(($ == null ? void 0 : $.map((v) => (v == null ? void 0 : v.name) || "")) ?? []);
1073
1061
  }
1074
1062
  case "PRICING_RULE": {
1075
1063
  const $ = (A) => {
@@ -1084,11 +1072,11 @@ const ot = (e, i = {}) => {
1084
1072
  }, x = (A) => {
1085
1073
  var R;
1086
1074
  return (R = A.items) == null ? void 0 : R.some(P);
1087
- }, V = (N = c.value) == null ? void 0 : N.find(x), y = (L = V == null ? void 0 : V.items) == null ? void 0 : L.find(P), D = (M = y == null ? void 0 : y.configs) == null ? void 0 : M.flatMap(Le), I = D == null ? void 0 : D.find($);
1075
+ }, V = (N = f.value) == null ? void 0 : N.find(x), y = (L = V == null ? void 0 : V.items) == null ? void 0 : L.find(P), D = (M = y == null ? void 0 : y.configs) == null ? void 0 : M.flatMap(Le), I = D == null ? void 0 : D.find($);
1088
1076
  return `<strong>${We(i)({ pricing: V, item: y, config: I })}</strong>`;
1089
1077
  }
1090
1078
  }
1091
- }, u = (p) => p.reduce((r, _, N) => {
1079
+ }, c = (p) => p.reduce((r, _, N) => {
1092
1080
  const L = `<strong>${_}</strong>`;
1093
1081
  return N === 0 ? L : N === p.length - 1 ? [r, L].join(" and ") : [r, L].join(", ");
1094
1082
  }, ""), s = (p) => {
@@ -1107,7 +1095,7 @@ const ot = (e, i = {}) => {
1107
1095
  if (!p.start_at && !p.end_at)
1108
1096
  return "";
1109
1097
  let r, _;
1110
- return p.start_at || (r = i.startOfSchedule), p.end_at || (_ = i.endOfSchedule), p.start_at && (r = t(n ? {
1098
+ return p.start_at || (r = i.startOfSchedule), p.end_at || (_ = i.endOfSchedule), p.start_at && (r = l(n ? {
1111
1099
  date: p.start_at,
1112
1100
  format: "date",
1113
1101
  offsetType: "offsetted",
@@ -1117,7 +1105,7 @@ const ot = (e, i = {}) => {
1117
1105
  format: "date",
1118
1106
  offsetType: "local",
1119
1107
  showTimezone: !1
1120
- })), p.end_at && (_ = t(n ? {
1108
+ })), p.end_at && (_ = l(n ? {
1121
1109
  date: p.end_at,
1122
1110
  format: "date",
1123
1111
  offsetType: "offsetted",
@@ -1134,12 +1122,12 @@ const ot = (e, i = {}) => {
1134
1122
  const i = Object.entries(e || {});
1135
1123
  if (i.length === 0)
1136
1124
  return;
1137
- const [n, t] = i[0], [c, m, f] = n.split(".");
1125
+ const [n, l] = i[0], [f, g, m] = n.split(".");
1138
1126
  return {
1139
- commitmentLevel: c,
1140
- index: parseInt(m, 10),
1141
- fieldName: f,
1142
- message: t
1127
+ commitmentLevel: f,
1128
+ index: parseInt(g, 10),
1129
+ fieldName: m,
1130
+ message: l
1143
1131
  };
1144
1132
  }, Ht = { class: "flex items-center justify-between" }, Gt = { class: "flex items-center gap-2" }, jt = {
1145
1133
  key: 0,
@@ -1155,7 +1143,7 @@ const ot = (e, i = {}) => {
1155
1143
  },
1156
1144
  emits: ["edit", "delete"],
1157
1145
  setup(e) {
1158
- return (i, n) => (l(), T(Ve, {
1146
+ return (i, n) => (t(), T(Ve, {
1159
1147
  spacing: "none",
1160
1148
  "root-class": "p-2 pr-3"
1161
1149
  }, {
@@ -1181,20 +1169,20 @@ const ot = (e, i = {}) => {
1181
1169
  _: 3
1182
1170
  })
1183
1171
  ]),
1184
- e.isEditable || e.isRemovable ? (l(), g("div", jt, [
1185
- e.isEditable ? (l(), T(De, {
1172
+ e.isEditable || e.isRemovable ? (t(), u("div", jt, [
1173
+ e.isEditable ? (t(), T(De, {
1186
1174
  key: 0,
1187
1175
  intent: "subtle",
1188
1176
  square: "",
1189
1177
  "icon-prefix": "edit",
1190
- onClick: n[0] || (n[0] = (t) => i.$emit("edit"))
1178
+ onClick: n[0] || (n[0] = (l) => i.$emit("edit"))
1191
1179
  })) : b("", !0),
1192
- e.isRemovable ? (l(), T(De, {
1180
+ e.isRemovable ? (t(), T(De, {
1193
1181
  key: 1,
1194
1182
  intent: "dangerSecondary",
1195
1183
  square: "",
1196
1184
  "icon-prefix": "delete",
1197
- onClick: n[1] || (n[1] = (t) => i.$emit("delete"))
1185
+ onClick: n[1] || (n[1] = (l) => i.$emit("delete"))
1198
1186
  })) : b("", !0)
1199
1187
  ])) : b("", !0)
1200
1188
  ]),
@@ -1202,7 +1190,7 @@ const ot = (e, i = {}) => {
1202
1190
  "is-open": !!e.error
1203
1191
  }, {
1204
1192
  default: o(() => [
1205
- e.error ? (l(), T(ze, {
1193
+ e.error ? (t(), T(ze, {
1206
1194
  key: 0,
1207
1195
  type: "danger",
1208
1196
  class: "-mb-2 -ml-2 -mr-3 mt-2 rounded-bl-md rounded-br-md rounded-tl-none rounded-tr-none"
@@ -1235,43 +1223,43 @@ const ot = (e, i = {}) => {
1235
1223
  },
1236
1224
  emits: ["edit", "delete"],
1237
1225
  setup(e) {
1238
- const i = e, n = C(() => i.i18n ?? Me), { getCommitmentBody: t, getFormattedDuration: c } = Ut(
1226
+ const i = e, n = C(() => i.i18n ?? Me), { getCommitmentBody: l, getFormattedDuration: f } = Ut(
1239
1227
  C(() => i.pricingPlanVersion),
1240
1228
  n.value,
1241
1229
  i.timezone
1242
1230
  );
1243
- return (m, f) => (l(), T(ni, {
1231
+ return (g, m) => (t(), T(ni, {
1244
1232
  icon: "handshake",
1245
1233
  "icon-color": "orange",
1246
1234
  "is-editable": e.isEditable,
1247
1235
  "is-removable": e.isRemovable,
1248
1236
  error: e.error,
1249
- onEdit: f[0] || (f[0] = (a) => m.$emit("edit")),
1250
- onDelete: f[1] || (f[1] = (a) => m.$emit("delete"))
1237
+ onEdit: m[0] || (m[0] = (a) => g.$emit("edit")),
1238
+ onDelete: m[1] || (m[1] = (a) => g.$emit("delete"))
1251
1239
  }, {
1252
1240
  body: o(() => {
1253
1241
  var a;
1254
1242
  return [
1255
1243
  w("span", qt, [
1256
- e.commitment.amount ? (l(), T(J, {
1244
+ e.commitment.amount ? (t(), T(J, {
1257
1245
  key: 0,
1258
1246
  value: e.commitment.amount,
1259
1247
  highlighted: ""
1260
- }, null, 8, ["value"])) : "meter_value_calculation" in e.commitment && ((a = e.commitment.meter_value_calculation) != null && a.amount) ? (l(), T(J, {
1248
+ }, null, 8, ["value"])) : "meter_value_calculation" in e.commitment && ((a = e.commitment.meter_value_calculation) != null && a.amount) ? (t(), T(J, {
1261
1249
  key: 1,
1262
1250
  value: e.commitment.meter_value_calculation.amount,
1263
1251
  highlighted: ""
1264
- }, null, 8, ["value"])) : "meter_value_calculation" in e.commitment && e.commitment.meter_value_calculation && "number" in e.commitment.meter_value_calculation ? (l(), g("span", Wt, h(e.commitment.meter_value_calculation.number && n.value.units(e.commitment.meter_value_calculation.number)), 1)) : b("", !0)
1252
+ }, null, 8, ["value"])) : "meter_value_calculation" in e.commitment && e.commitment.meter_value_calculation && "number" in e.commitment.meter_value_calculation ? (t(), u("span", Wt, h(e.commitment.meter_value_calculation.number && n.value.units(e.commitment.meter_value_calculation.number)), 1)) : b("", !0)
1265
1253
  ]),
1266
- f[2] || (f[2] = O(" ", -1)),
1267
- e.commitment.commitmentLevel === "INVOICE" ? (l(), g("span", {
1254
+ m[2] || (m[2] = O(" ", -1)),
1255
+ e.commitment.commitmentLevel === "INVOICE" ? (t(), u("span", {
1268
1256
  key: 0,
1269
- innerHTML: n.value.commitmentOnInvoice(B(c)(e.commitment))
1270
- }, null, 8, Yt)) : (l(), g("span", {
1257
+ innerHTML: n.value.commitmentOnInvoice(B(f)(e.commitment))
1258
+ }, null, 8, Yt)) : (t(), u("span", {
1271
1259
  key: 1,
1272
- innerHTML: B(t)(e.commitment)
1260
+ innerHTML: B(l)(e.commitment)
1273
1261
  }, null, 8, Kt)),
1274
- "meter_value_calculation" in e.commitment && e.commitment.meter_value_calculation && "amount" in e.commitment.meter_value_calculation ? (l(), g("span", Jt, h(" ") + "(" + h(n.value.basedOnMeterValue) + ")", 1)) : b("", !0)
1262
+ "meter_value_calculation" in e.commitment && e.commitment.meter_value_calculation && "amount" in e.commitment.meter_value_calculation ? (t(), u("span", Jt, h(" ") + "(" + h(n.value.basedOnMeterValue) + ")", 1)) : b("", !0)
1275
1263
  ];
1276
1264
  }),
1277
1265
  _: 1
@@ -1290,8 +1278,8 @@ const ot = (e, i = {}) => {
1290
1278
  isRemovable: i
1291
1279
  }) => ({
1292
1280
  isEditableFlag: C(() => typeof e == "function" ? !0 : !!e),
1293
- isItemEditable: (m) => typeof e == "function" ? e(m) : !!e,
1294
- isItemRemovable: (m) => typeof i == "function" ? i(m) : typeof i == "boolean" ? i : !0
1281
+ isItemEditable: (g) => typeof e == "function" ? e(g) : !!e,
1282
+ isItemRemovable: (g) => typeof i == "function" ? i(g) : typeof i == "boolean" ? i : !0
1295
1283
  }), Qt = { class: "flex items-center justify-between gap-4" }, el = { class: "flex items-center gap-4" }, il = { class: "flex items-center gap-1" }, nl = { class: "mt-1 text-xs text-secondary" }, tl = { class: "flex items-center justify-between gap-4" }, ll = { class: "flex items-center gap-1" }, ol = { class: "text-xs font-bold uppercase text-secondary" }, al = { class: "mt-1 flex flex-col gap-2" }, li = /* @__PURE__ */ U({
1296
1284
  __name: "CommitmentDiscountsSection",
1297
1285
  props: {
@@ -1308,8 +1296,8 @@ const ot = (e, i = {}) => {
1308
1296
  },
1309
1297
  emits: ["add"],
1310
1298
  setup(e) {
1311
- return (i, n) => (l(), g("section", null, [
1312
- e.hasItems ? (l(), g(z, { key: 1 }, [
1299
+ return (i, n) => (t(), u("section", null, [
1300
+ e.hasItems ? (t(), u(z, { key: 1 }, [
1313
1301
  w("header", tl, [
1314
1302
  w("div", ll, [
1315
1303
  w("h2", ol, h(e.title), 1),
@@ -1344,7 +1332,7 @@ const ot = (e, i = {}) => {
1344
1332
  w("ul", al, [
1345
1333
  k(i.$slots, "list-items")
1346
1334
  ])
1347
- ], 64)) : (l(), T(Ve, { key: 0 }, {
1335
+ ], 64)) : (t(), T(Ve, { key: 0 }, {
1348
1336
  default: o(() => [
1349
1337
  w("div", Qt, [
1350
1338
  w("div", el, [
@@ -1390,14 +1378,14 @@ const ot = (e, i = {}) => {
1390
1378
  w("p", nl, h(e.description), 1)
1391
1379
  ])
1392
1380
  ]),
1393
- e.isEditable ? (l(), T(re, {
1381
+ e.isEditable ? (t(), T(re, {
1394
1382
  key: 0,
1395
1383
  variant: "outline"
1396
1384
  }, {
1397
1385
  tooltip: o(() => [
1398
1386
  S(de, null, {
1399
1387
  default: o(() => [
1400
- e.pricingPlanVersionIsSelected ? e.isEditable ? b("", !0) : (l(), T(Z, {
1388
+ e.pricingPlanVersionIsSelected ? e.isEditable ? b("", !0) : (t(), T(Z, {
1401
1389
  key: 1,
1402
1390
  color: "secondary",
1403
1391
  variant: "body-sm",
@@ -1407,7 +1395,7 @@ const ot = (e, i = {}) => {
1407
1395
  O(h(e.notEditableExplanation), 1)
1408
1396
  ]),
1409
1397
  _: 1
1410
- })) : (l(), T(Z, {
1398
+ })) : (t(), T(Z, {
1411
1399
  key: 0,
1412
1400
  color: "secondary",
1413
1401
  variant: "body-sm",
@@ -1443,23 +1431,23 @@ const ot = (e, i = {}) => {
1443
1431
  timezone: {}
1444
1432
  },
1445
1433
  setup(e) {
1446
- const i = e, n = C(() => i.i18n ?? ye), { isEditableFlag: t, isItemEditable: c, isItemRemovable: m } = ti({
1434
+ const i = e, n = C(() => i.i18n ?? ye), { isEditableFlag: l, isItemEditable: f, isItemRemovable: g } = ti({
1447
1435
  isEditable: i.isEditable,
1448
1436
  isRemovable: i.isRemovable
1449
- }), f = C(() => {
1437
+ }), m = C(() => {
1450
1438
  if ("error" in i)
1451
1439
  return Ft(i.error);
1452
1440
  }), a = C(() => {
1453
- var d, u, s, E, p, r, _, N;
1441
+ var d, c, s, E, p, r, _, N;
1454
1442
  return [
1455
- ...((u = (d = i.commitment) == null ? void 0 : d.pricing_item_configs) == null ? void 0 : u.map((L, M) => {
1443
+ ...((c = (d = i.commitment) == null ? void 0 : d.pricing_item_configs) == null ? void 0 : c.map((L, M) => {
1456
1444
  var $, v;
1457
1445
  return {
1458
1446
  item: {
1459
1447
  commitmentLevel: "PRICING_RULE",
1460
1448
  ...L
1461
1449
  },
1462
- error: M === (($ = f.value) == null ? void 0 : $.index) && ((v = f.value) == null ? void 0 : v.commitmentLevel) === "pricing_item_configs" ? f.value.message : void 0
1450
+ error: M === (($ = m.value) == null ? void 0 : $.index) && ((v = m.value) == null ? void 0 : v.commitmentLevel) === "pricing_item_configs" ? m.value.message : void 0
1463
1451
  };
1464
1452
  })) || [],
1465
1453
  ...((E = (s = i.commitment) == null ? void 0 : s.pricing_items) == null ? void 0 : E.map((L, M) => {
@@ -1469,7 +1457,7 @@ const ot = (e, i = {}) => {
1469
1457
  commitmentLevel: "REVENUE_ITEMS",
1470
1458
  ...L
1471
1459
  },
1472
- error: M === (($ = f.value) == null ? void 0 : $.index) && ((v = f.value) == null ? void 0 : v.commitmentLevel) === "pricing_items" ? f.value.message : void 0
1460
+ error: M === (($ = m.value) == null ? void 0 : $.index) && ((v = m.value) == null ? void 0 : v.commitmentLevel) === "pricing_items" ? m.value.message : void 0
1473
1461
  };
1474
1462
  })) || [],
1475
1463
  ...((r = (p = i.commitment) == null ? void 0 : p.pricings) == null ? void 0 : r.map((L, M) => {
@@ -1479,7 +1467,7 @@ const ot = (e, i = {}) => {
1479
1467
  commitmentLevel: "PRODUCTS",
1480
1468
  ...L
1481
1469
  },
1482
- error: M === (($ = f.value) == null ? void 0 : $.index) && ((v = f.value) == null ? void 0 : v.commitmentLevel) === "pricings" ? f.value.message : void 0
1470
+ error: M === (($ = m.value) == null ? void 0 : $.index) && ((v = m.value) == null ? void 0 : v.commitmentLevel) === "pricings" ? m.value.message : void 0
1483
1471
  };
1484
1472
  })) || [],
1485
1473
  ...((N = (_ = i.commitment) == null ? void 0 : _.totals) == null ? void 0 : N.map((L, M) => {
@@ -1489,12 +1477,12 @@ const ot = (e, i = {}) => {
1489
1477
  commitmentLevel: "INVOICE",
1490
1478
  ...L
1491
1479
  },
1492
- error: M === (($ = f.value) == null ? void 0 : $.index) && ((v = f.value) == null ? void 0 : v.commitmentLevel) === "totals" ? f.value.message : void 0
1480
+ error: M === (($ = m.value) == null ? void 0 : $.index) && ((v = m.value) == null ? void 0 : v.commitmentLevel) === "totals" ? m.value.message : void 0
1493
1481
  };
1494
1482
  })) || []
1495
1483
  ];
1496
1484
  });
1497
- return (d, u) => (l(), T(li, {
1485
+ return (d, c) => (t(), T(li, {
1498
1486
  title: n.value.title,
1499
1487
  "order-of-application-explanation": n.value.orderOfApplicationExplanation,
1500
1488
  description: n.value.description,
@@ -1503,9 +1491,9 @@ const ot = (e, i = {}) => {
1503
1491
  "add-item-label": n.value.addItemLabel,
1504
1492
  "not-editable-explanation": n.value.notEditableExplanation,
1505
1493
  "is-creatable": !!e.isCreatable,
1506
- "is-editable": B(t),
1494
+ "is-editable": B(l),
1507
1495
  "has-items": a.value.length > 0,
1508
- onAdd: u[0] || (u[0] = (s) => d.$emit("add"))
1496
+ onAdd: c[0] || (c[0] = (s) => d.$emit("add"))
1509
1497
  }, {
1510
1498
  icon: o(() => [
1511
1499
  w("img", {
@@ -1514,15 +1502,15 @@ const ot = (e, i = {}) => {
1514
1502
  }, null, 8, rl)
1515
1503
  ]),
1516
1504
  "list-items": o(() => [
1517
- (l(!0), g(z, null, Q(a.value, ({ item: s, error: E }) => (l(), g("li", {
1505
+ (t(!0), u(z, null, Q(a.value, ({ item: s, error: E }) => (t(), u("li", {
1518
1506
  key: JSON.stringify(s)
1519
1507
  }, [
1520
1508
  S(Xt, {
1521
1509
  timezone: e.timezone,
1522
1510
  commitment: s,
1523
1511
  error: E,
1524
- "is-editable": B(c)(s),
1525
- "is-removable": B(m)(s),
1512
+ "is-editable": B(f)(s),
1513
+ "is-removable": B(g)(s),
1526
1514
  "pricing-plan-version": e.pricingPlanVersion,
1527
1515
  i18n: n.value,
1528
1516
  onEdit: (p) => d.$emit("edit", s),
@@ -1533,22 +1521,22 @@ const ot = (e, i = {}) => {
1533
1521
  _: 1
1534
1522
  }, 8, ["title", "order-of-application-explanation", "description", "pricing-plan-version-is-selected", "select-pricing-plan-hint", "add-item-label", "not-editable-explanation", "is-creatable", "is-editable", "has-items"]));
1535
1523
  }
1536
- }), cl = (e, i) => !e || !i ? !e == !i : e.operator === i.operator && e.operands.length === i.operands.length && e.operands.every((n, t) => {
1537
- var c, m, f, a, d;
1538
- const u = (c = i.operands[t]) == null ? void 0 : c.meter_property;
1539
- return ((m = n.meter_property) == null ? void 0 : m.id) === (u == null ? void 0 : u.id) && ((f = n.meter_property) == null ? void 0 : f.comparator) === (u == null ? void 0 : u.comparator) && ((a = n.meter_property) == null ? void 0 : a.value) === (u == null ? void 0 : u.value) && JSON.stringify((d = n.meter_property) == null ? void 0 : d.values) === JSON.stringify(u == null ? void 0 : u.values);
1524
+ }), cl = (e, i) => !e || !i ? !e == !i : e.operator === i.operator && e.operands.length === i.operands.length && e.operands.every((n, l) => {
1525
+ var f, g, m, a, d;
1526
+ const c = (f = i.operands[l]) == null ? void 0 : f.meter_property;
1527
+ return ((g = n.meter_property) == null ? void 0 : g.id) === (c == null ? void 0 : c.id) && ((m = n.meter_property) == null ? void 0 : m.comparator) === (c == null ? void 0 : c.comparator) && ((a = n.meter_property) == null ? void 0 : a.value) === (c == null ? void 0 : c.value) && JSON.stringify((d = n.meter_property) == null ? void 0 : d.values) === JSON.stringify(c == null ? void 0 : c.values);
1540
1528
  }), ul = (e, i, n) => {
1541
- const { formatDate: t } = ae(), c = C(() => je(e.value)), m = (u) => {
1529
+ const { formatDate: l } = ae(), f = C(() => je(e.value)), g = (c) => {
1542
1530
  var s, E, p, r, _, N, L, M, $, v;
1543
1531
  let P, x;
1544
- switch (u.discountLevel) {
1532
+ switch (c.discountLevel) {
1545
1533
  case "PRODUCT": {
1546
- P = (s = c.value) == null ? void 0 : s.find(
1534
+ P = (s = f.value) == null ? void 0 : s.find(
1547
1535
  (V) => {
1548
1536
  var y, D;
1549
- return V.id === ((y = u.ids) == null ? void 0 : y[0]) || ((D = V.products) == null ? void 0 : D.some((I) => {
1537
+ return V.id === ((y = c.ids) == null ? void 0 : y[0]) || ((D = V.products) == null ? void 0 : D.some((I) => {
1550
1538
  var A;
1551
- return I.id === ((A = u.ids) == null ? void 0 : A[0]);
1539
+ return I.id === ((A = c.ids) == null ? void 0 : A[0]);
1552
1540
  }));
1553
1541
  }
1554
1542
  );
@@ -1557,14 +1545,14 @@ const ot = (e, i = {}) => {
1557
1545
  case "REVENUE_ITEM": {
1558
1546
  const V = (y) => {
1559
1547
  var D, I;
1560
- return y.id === ((D = u.ids) == null ? void 0 : D[0]) || "product_items" in y && ((I = y.product_items) == null ? void 0 : I.some(
1548
+ return y.id === ((D = c.ids) == null ? void 0 : D[0]) || "product_items" in y && ((I = y.product_items) == null ? void 0 : I.some(
1561
1549
  (A) => {
1562
1550
  var R;
1563
- return A.id === ((R = u.ids) == null ? void 0 : R[0]);
1551
+ return A.id === ((R = c.ids) == null ? void 0 : R[0]);
1564
1552
  }
1565
1553
  ));
1566
1554
  };
1567
- P = (E = c.value) == null ? void 0 : E.find(
1555
+ P = (E = f.value) == null ? void 0 : E.find(
1568
1556
  (y) => {
1569
1557
  var D;
1570
1558
  return (D = y.items) == null ? void 0 : D.some(V);
@@ -1575,25 +1563,25 @@ const ot = (e, i = {}) => {
1575
1563
  case "PRICING_RULE": {
1576
1564
  const V = (G) => {
1577
1565
  var K;
1578
- return u.meter_property_condition_expression ? cl(
1566
+ return c.meter_property_condition_expression ? cl(
1579
1567
  Fn(G),
1580
- u.meter_property_condition_expression
1581
- ) : G.id === ((K = u.ids) == null ? void 0 : K[0]);
1568
+ c.meter_property_condition_expression
1569
+ ) : G.id === ((K = c.ids) == null ? void 0 : K[0]);
1582
1570
  }, y = (G) => {
1583
1571
  var K, oe;
1584
1572
  return V(G) || !!((oe = (K = G.conditions) == null ? void 0 : K.configs) != null && oe.some(y));
1585
1573
  }, D = (G) => {
1586
1574
  var K, oe, ee;
1587
- return u.meter_property_condition_expression ? ((K = G.product_items) == null ? void 0 : K.some(
1575
+ return c.meter_property_condition_expression ? ((K = G.product_items) == null ? void 0 : K.some(
1588
1576
  (ne) => {
1589
1577
  var X;
1590
- return ne.id === ((X = u.ids) == null ? void 0 : X[0]);
1578
+ return ne.id === ((X = c.ids) == null ? void 0 : X[0]);
1591
1579
  }
1592
1580
  )) && ((oe = G.configs) == null ? void 0 : oe.some(y)) : (ee = G.configs) == null ? void 0 : ee.some(y);
1593
1581
  }, I = (G) => {
1594
1582
  var K;
1595
1583
  return (K = G.items) == null ? void 0 : K.some(D);
1596
- }, A = (r = c.value) == null ? void 0 : r.find(I), R = (_ = A == null ? void 0 : A.items) == null ? void 0 : _.find(D), F = (N = R == null ? void 0 : R.configs) == null ? void 0 : N.flatMap(Le), W = F == null ? void 0 : F.find(V);
1584
+ }, A = (r = f.value) == null ? void 0 : r.find(I), R = (_ = A == null ? void 0 : A.items) == null ? void 0 : _.find(D), F = (N = R == null ? void 0 : R.configs) == null ? void 0 : N.flatMap(Le), W = F == null ? void 0 : F.find(V);
1597
1585
  return `<strong>${We(i)({ pricing: A, item: R, config: W })}</strong>`;
1598
1586
  }
1599
1587
  }
@@ -1601,9 +1589,9 @@ const ot = (e, i = {}) => {
1601
1589
  (P == null ? void 0 : P.name) ?? ((M = (L = P == null ? void 0 : P.products) == null ? void 0 : L[0]) == null ? void 0 : M.name),
1602
1590
  (v = ($ = x == null ? void 0 : x.product_items) == null ? void 0 : $[0]) == null ? void 0 : v.name
1603
1591
  ].filter(Boolean).join(" - ");
1604
- }, f = (u) => {
1592
+ }, m = (c) => {
1605
1593
  let s;
1606
- switch (u.discountLevel) {
1594
+ switch (c.discountLevel) {
1607
1595
  case "PRODUCT": {
1608
1596
  s = i.product;
1609
1597
  break;
@@ -1619,12 +1607,12 @@ const ot = (e, i = {}) => {
1619
1607
  }
1620
1608
  return i.discountBody(
1621
1609
  s ?? "",
1622
- m(u) ?? "",
1623
- d(u)
1610
+ g(c) ?? "",
1611
+ d(c)
1624
1612
  );
1625
- }, a = (u) => {
1613
+ }, a = (c) => {
1626
1614
  var s, E;
1627
- const p = u.condition;
1615
+ const p = c.condition;
1628
1616
  if (!((E = (s = p == null ? void 0 : p.value) == null ? void 0 : s.amount) != null && E.quantity))
1629
1617
  return "";
1630
1618
  const r = Vn(i)(
@@ -1636,43 +1624,43 @@ const ot = (e, i = {}) => {
1636
1624
  { hasFormatting: !0 }
1637
1625
  );
1638
1626
  return i.discountCondition(r);
1639
- }, d = (u) => {
1640
- if (!u.start_at && !u.end_at)
1627
+ }, d = (c) => {
1628
+ if (!c.start_at && !c.end_at)
1641
1629
  return "";
1642
1630
  let s, E;
1643
- return u.start_at || (s = i.startOfSchedule), u.end_at || (E = i.endOfSchedule), u.start_at && (s = t(n ? {
1644
- date: u.start_at,
1631
+ return c.start_at || (s = i.startOfSchedule), c.end_at || (E = i.endOfSchedule), c.start_at && (s = l(n ? {
1632
+ date: c.start_at,
1645
1633
  format: "date",
1646
1634
  offsetType: "offsetted",
1647
1635
  timezone: n
1648
1636
  } : {
1649
- date: u.start_at,
1637
+ date: c.start_at,
1650
1638
  format: "date",
1651
1639
  offsetType: "local",
1652
1640
  showTimezone: !1
1653
- })), u.end_at && (E = t(n ? {
1654
- date: u.end_at,
1641
+ })), c.end_at && (E = l(n ? {
1642
+ date: c.end_at,
1655
1643
  format: "date",
1656
1644
  offsetType: "offsetted",
1657
1645
  timezone: n
1658
1646
  } : {
1659
- date: u.end_at,
1647
+ date: c.end_at,
1660
1648
  format: "date",
1661
1649
  offsetType: "local",
1662
1650
  showTimezone: !1
1663
1651
  })), `(${s} - ${E})`;
1664
1652
  };
1665
- return { getDiscountBody: f, getConditionBody: a, getFormattedDuration: d };
1653
+ return { getDiscountBody: m, getConditionBody: a, getFormattedDuration: d };
1666
1654
  }, gl = (e) => {
1667
1655
  const i = Object.entries(e || {});
1668
1656
  if (i.length === 0)
1669
1657
  return;
1670
- const [n, t] = i[0], [c, m, f] = n.split(".");
1658
+ const [n, l] = i[0], [f, g, m] = n.split(".");
1671
1659
  return {
1672
- discountLevel: c,
1673
- index: parseInt(m, 10),
1674
- fieldName: f,
1675
- message: t
1660
+ discountLevel: f,
1661
+ index: parseInt(g, 10),
1662
+ fieldName: m,
1663
+ message: l
1676
1664
  };
1677
1665
  }, un = {
1678
1666
  ...ii,
@@ -1703,21 +1691,21 @@ const ot = (e, i = {}) => {
1703
1691
  },
1704
1692
  emits: ["edit", "delete"],
1705
1693
  setup(e, { emit: i }) {
1706
- const n = e, t = i, { $t: c } = ae(), m = C(() => n.i18n ?? un), { getDiscountBody: f, getConditionBody: a, getFormattedDuration: d } = ul(
1694
+ const n = e, l = i, { $t: f } = ae(), g = C(() => n.i18n ?? un), { getDiscountBody: m, getConditionBody: a, getFormattedDuration: d } = ul(
1707
1695
  en(() => n.pricingPlanVersion),
1708
- m.value,
1696
+ g.value,
1709
1697
  n.timezone
1710
1698
  );
1711
- return (u, s) => {
1699
+ return (c, s) => {
1712
1700
  var E, p;
1713
- return l(), T(ni, {
1701
+ return t(), T(ni, {
1714
1702
  icon: "south_east",
1715
1703
  "icon-color": "yellow",
1716
1704
  "is-editable": e.discount.discountLevel === "INVOICE" && ((E = e.discount.ids) != null && E[0]) ? !1 : e.isEditable,
1717
1705
  "is-removable": e.discount.discountLevel === "INVOICE" && ((p = e.discount.ids) != null && p[0]) ? !1 : e.isRemovable,
1718
1706
  error: e.error,
1719
- onEdit: s[0] || (s[0] = (r) => t("edit")),
1720
- onDelete: s[1] || (s[1] = (r) => t("delete"))
1707
+ onEdit: s[0] || (s[0] = (r) => l("edit")),
1708
+ onDelete: s[1] || (s[1] = (r) => l("delete"))
1721
1709
  }, {
1722
1710
  body: o(() => {
1723
1711
  var r;
@@ -1730,11 +1718,11 @@ const ot = (e, i = {}) => {
1730
1718
  default: o(() => {
1731
1719
  var _;
1732
1720
  return [
1733
- (_ = e.discount.amount) != null && _.quantity ? (l(), T(J, {
1721
+ (_ = e.discount.amount) != null && _.quantity ? (t(), T(J, {
1734
1722
  key: 0,
1735
1723
  value: e.discount.amount,
1736
1724
  highlighted: ""
1737
- }, null, 8, ["value"])) : e.discount.percentage ? (l(), T(Z, {
1725
+ }, null, 8, ["value"])) : e.discount.percentage ? (t(), T(Z, {
1738
1726
  key: 1,
1739
1727
  color: "inherit",
1740
1728
  tag: "span",
@@ -1750,10 +1738,10 @@ const ot = (e, i = {}) => {
1750
1738
  _: 1
1751
1739
  }),
1752
1740
  s[3] || (s[3] = O("   ", -1)),
1753
- e.discount.discountLevel === "INVOICE" ? (l(), g("span", fl, [
1741
+ e.discount.discountLevel === "INVOICE" ? (t(), u("span", fl, [
1754
1742
  S(Z, { tag: "span" }, {
1755
1743
  default: o(() => [
1756
- O(h(B(c)({
1744
+ O(h(B(f)({
1757
1745
  defaultMessage: "Discount on",
1758
1746
  description: "Discount on",
1759
1747
  id: "SubscriptionDiscountItem.discountOn"
@@ -1766,7 +1754,7 @@ const ot = (e, i = {}) => {
1766
1754
  weight: "semibold"
1767
1755
  }, {
1768
1756
  default: o(() => [
1769
- O(h(B(c)({
1757
+ O(h(B(f)({
1770
1758
  defaultMessage: "Invoice",
1771
1759
  description: "invoice indicator",
1772
1760
  id: "SubscriptionDiscountItem.invoice"
@@ -1774,10 +1762,10 @@ const ot = (e, i = {}) => {
1774
1762
  ]),
1775
1763
  _: 1
1776
1764
  }),
1777
- (r = e.discount.ids) != null && r[0] ? (l(), g(z, { key: 0 }, [
1765
+ (r = e.discount.ids) != null && r[0] ? (t(), u(z, { key: 0 }, [
1778
1766
  S(Z, { tag: "span" }, {
1779
1767
  default: o(() => [
1780
- O(h(B(c)({
1768
+ O(h(B(f)({
1781
1769
  defaultMessage: "applied by",
1782
1770
  description: "Subscription discount applied by",
1783
1771
  id: "SubscriptionDiscountItem.coupon.applied_by"
@@ -1798,7 +1786,7 @@ const ot = (e, i = {}) => {
1798
1786
  _: 1
1799
1787
  })
1800
1788
  ], 64)) : b("", !0),
1801
- B(d)(e.discount) ? (l(), T(Z, {
1789
+ B(d)(e.discount) ? (t(), T(Z, {
1802
1790
  key: 1,
1803
1791
  tag: "span"
1804
1792
  }, {
@@ -1807,11 +1795,11 @@ const ot = (e, i = {}) => {
1807
1795
  ]),
1808
1796
  _: 1
1809
1797
  })) : b("", !0)
1810
- ])) : (l(), g("span", {
1798
+ ])) : (t(), u("span", {
1811
1799
  key: 1,
1812
- innerHTML: B(f)(e.discount)
1800
+ innerHTML: B(m)(e.discount)
1813
1801
  }, null, 8, vl)),
1814
- e.discount.condition ? (l(), g(z, { key: 2 }, [
1802
+ e.discount.condition ? (t(), u(z, { key: 2 }, [
1815
1803
  s[2] || (s[2] = O("  ", -1)),
1816
1804
  w("span", {
1817
1805
  innerHTML: B(a)(e.discount)
@@ -1850,23 +1838,23 @@ const ot = (e, i = {}) => {
1850
1838
  },
1851
1839
  emits: ["add", "edit", "delete"],
1852
1840
  setup(e) {
1853
- const i = e, n = C(() => i.i18n ?? Se), t = C(() => {
1841
+ const i = e, n = C(() => i.i18n ?? Se), l = C(() => {
1854
1842
  if ("error" in i)
1855
1843
  return gl(i.error);
1856
- }), { isEditableFlag: c, isItemEditable: m, isItemRemovable: f } = ti({
1844
+ }), { isEditableFlag: f, isItemEditable: g, isItemRemovable: m } = ti({
1857
1845
  isEditable: i.isEditable,
1858
1846
  isRemovable: i.isRemovable
1859
1847
  }), a = C(() => {
1860
- var d, u, s, E, p, r, _, N, L, M, $, v, P, x;
1848
+ var d, c, s, E, p, r, _, N, L, M, $, v, P, x;
1861
1849
  return [
1862
- ...((u = (d = i.discount) == null ? void 0 : d.pricing_item_configs) == null ? void 0 : u.map((V, y) => {
1850
+ ...((c = (d = i.discount) == null ? void 0 : d.pricing_item_configs) == null ? void 0 : c.map((V, y) => {
1863
1851
  var D, I;
1864
1852
  return {
1865
1853
  item: {
1866
1854
  ...V,
1867
1855
  discountLevel: "PRICING_RULE"
1868
1856
  },
1869
- error: y === ((D = t.value) == null ? void 0 : D.index) && ((I = t.value) == null ? void 0 : I.discountLevel) === "pricing_item_configs" ? t.value.message : void 0
1857
+ error: y === ((D = l.value) == null ? void 0 : D.index) && ((I = l.value) == null ? void 0 : I.discountLevel) === "pricing_item_configs" ? l.value.message : void 0
1870
1858
  };
1871
1859
  })) || [],
1872
1860
  // Rate card equivalent of `pricing_items`.
@@ -1877,7 +1865,7 @@ const ot = (e, i = {}) => {
1877
1865
  ...V,
1878
1866
  discountLevel: "REVENUE_ITEM"
1879
1867
  },
1880
- error: y === ((D = t.value) == null ? void 0 : D.index) && ((I = t.value) == null ? void 0 : I.discountLevel) === "product_items" ? t.value.message : void 0
1868
+ error: y === ((D = l.value) == null ? void 0 : D.index) && ((I = l.value) == null ? void 0 : I.discountLevel) === "product_items" ? l.value.message : void 0
1881
1869
  };
1882
1870
  })) || [],
1883
1871
  // Rate card equivalent of `pricing_item_configs`.
@@ -1888,7 +1876,7 @@ const ot = (e, i = {}) => {
1888
1876
  ...V,
1889
1877
  discountLevel: "PRICING_RULE"
1890
1878
  },
1891
- error: y === ((D = t.value) == null ? void 0 : D.index) && ((I = t.value) == null ? void 0 : I.discountLevel) === "product_item_meter_property_conditions" ? t.value.message : void 0
1879
+ error: y === ((D = l.value) == null ? void 0 : D.index) && ((I = l.value) == null ? void 0 : I.discountLevel) === "product_item_meter_property_conditions" ? l.value.message : void 0
1892
1880
  };
1893
1881
  })) || [],
1894
1882
  ...((N = (_ = i.discount) == null ? void 0 : _.pricing_items) == null ? void 0 : N.map((V, y) => {
@@ -1898,7 +1886,7 @@ const ot = (e, i = {}) => {
1898
1886
  ...V,
1899
1887
  discountLevel: "REVENUE_ITEM"
1900
1888
  },
1901
- error: y === ((D = t.value) == null ? void 0 : D.index) && ((I = t.value) == null ? void 0 : I.discountLevel) === "pricing_items" ? t.value.message : void 0
1889
+ error: y === ((D = l.value) == null ? void 0 : D.index) && ((I = l.value) == null ? void 0 : I.discountLevel) === "pricing_items" ? l.value.message : void 0
1902
1890
  };
1903
1891
  })) || [],
1904
1892
  ...((M = (L = i.discount) == null ? void 0 : L.pricings) == null ? void 0 : M.map((V, y) => {
@@ -1908,7 +1896,7 @@ const ot = (e, i = {}) => {
1908
1896
  ...V,
1909
1897
  discountLevel: "PRODUCT"
1910
1898
  },
1911
- error: y === ((D = t.value) == null ? void 0 : D.index) && ((I = t.value) == null ? void 0 : I.discountLevel) === "pricings" ? t.value.message : void 0
1899
+ error: y === ((D = l.value) == null ? void 0 : D.index) && ((I = l.value) == null ? void 0 : I.discountLevel) === "pricings" ? l.value.message : void 0
1912
1900
  };
1913
1901
  })) || [],
1914
1902
  // Rate card equivalent of `pricings`.
@@ -1919,7 +1907,7 @@ const ot = (e, i = {}) => {
1919
1907
  ...V,
1920
1908
  discountLevel: "PRODUCT"
1921
1909
  },
1922
- error: y === ((D = t.value) == null ? void 0 : D.index) && ((I = t.value) == null ? void 0 : I.discountLevel) === "products" ? t.value.message : void 0
1910
+ error: y === ((D = l.value) == null ? void 0 : D.index) && ((I = l.value) == null ? void 0 : I.discountLevel) === "products" ? l.value.message : void 0
1923
1911
  };
1924
1912
  })) || [],
1925
1913
  ...((x = (P = i.discount) == null ? void 0 : P.totals) == null ? void 0 : x.map((V, y) => {
@@ -1929,23 +1917,23 @@ const ot = (e, i = {}) => {
1929
1917
  ...V,
1930
1918
  discountLevel: "INVOICE"
1931
1919
  },
1932
- error: y === ((D = t.value) == null ? void 0 : D.index) && ((I = t.value) == null ? void 0 : I.discountLevel) === "totals" ? t.value.message : void 0
1920
+ error: y === ((D = l.value) == null ? void 0 : D.index) && ((I = l.value) == null ? void 0 : I.discountLevel) === "totals" ? l.value.message : void 0
1933
1921
  };
1934
1922
  })) || []
1935
1923
  ];
1936
1924
  });
1937
- return (d, u) => (l(), T(li, j(d.$attrs, {
1925
+ return (d, c) => (t(), T(li, j(d.$attrs, {
1938
1926
  title: n.value.title,
1939
1927
  "order-of-application-explanation": n.value.orderOfApplicationExplanation,
1940
1928
  description: n.value.description,
1941
1929
  "pricing-plan-version-is-selected": !!e.pricingPlanVersion,
1942
1930
  "select-pricing-plan-hint": n.value.selectPricingPlanHint,
1943
1931
  "add-item-label": n.value.addItemLabel,
1944
- "is-editable": B(c),
1932
+ "is-editable": B(f),
1945
1933
  "is-creatable": !!e.isCreatable,
1946
1934
  "not-editable-explanation": n.value.notEditableExplanation,
1947
1935
  "has-items": a.value.length > 0,
1948
- onAdd: u[0] || (u[0] = (s) => d.$emit("add"))
1936
+ onAdd: c[0] || (c[0] = (s) => d.$emit("add"))
1949
1937
  }), {
1950
1938
  icon: o(() => [
1951
1939
  w("img", {
@@ -1954,14 +1942,14 @@ const ot = (e, i = {}) => {
1954
1942
  }, null, 8, yl)
1955
1943
  ]),
1956
1944
  "list-items": o(() => [
1957
- (l(!0), g(z, null, Q(a.value, ({ item: s, error: E }) => (l(), g("li", {
1945
+ (t(!0), u(z, null, Q(a.value, ({ item: s, error: E }) => (t(), u("li", {
1958
1946
  key: JSON.stringify(s)
1959
1947
  }, [
1960
1948
  S(bl, {
1961
1949
  discount: s,
1962
1950
  error: E,
1963
- "is-editable": B(m)(s),
1964
- "is-removable": B(f)(s),
1951
+ "is-editable": B(g)(s),
1952
+ "is-removable": B(m)(s),
1965
1953
  "pricing-plan-version": e.pricingPlanVersion,
1966
1954
  i18n: n.value,
1967
1955
  timezone: e.timezone,
@@ -1978,12 +1966,12 @@ const ot = (e, i = {}) => {
1978
1966
  ...ii,
1979
1967
  markupBody: (e, i, n) => `Markup on ${e} <strong>${i}</strong> ${n}`
1980
1968
  }, xl = (e, i = oi, n) => {
1981
- const { formatDate: t } = ae(), c = C(() => je(e.value)), m = (d) => i.markupBody(
1969
+ const { formatDate: l } = ae(), f = C(() => je(e.value)), g = (d) => i.markupBody(
1982
1970
  i.pricingRule,
1983
- f(d) ?? "",
1971
+ m(d) ?? "",
1984
1972
  a(d)
1985
- ), f = (d) => {
1986
- var u, s;
1973
+ ), m = (d) => {
1974
+ var c, s;
1987
1975
  const E = (v) => {
1988
1976
  var P;
1989
1977
  return v.id === ((P = d.ids) == null ? void 0 : P[0]);
@@ -1996,13 +1984,13 @@ const ot = (e, i = {}) => {
1996
1984
  }, _ = (v) => {
1997
1985
  var P;
1998
1986
  return (P = v.items) == null ? void 0 : P.some(r);
1999
- }, N = (u = c.value) == null ? void 0 : u.find(_), L = (s = N == null ? void 0 : N.items) == null ? void 0 : s.find(r), M = (L == null ? void 0 : L.configs) && (L == null ? void 0 : L.configs.flatMap(Le)), $ = M == null ? void 0 : M.find(E);
1987
+ }, N = (c = f.value) == null ? void 0 : c.find(_), L = (s = N == null ? void 0 : N.items) == null ? void 0 : s.find(r), M = (L == null ? void 0 : L.configs) && (L == null ? void 0 : L.configs.flatMap(Le)), $ = M == null ? void 0 : M.find(E);
2000
1988
  return `<strong>${We(i)({ pricing: N, item: L, config: $ })}</strong>`;
2001
1989
  }, a = (d) => {
2002
1990
  if (!d.start_at && !d.end_at)
2003
1991
  return "";
2004
- let u, s;
2005
- return d.start_at || (u = i.startOfSchedule), d.end_at || (s = i.endOfSchedule), d.start_at && (u = t(n ? {
1992
+ let c, s;
1993
+ return d.start_at || (c = i.startOfSchedule), d.end_at || (s = i.endOfSchedule), d.start_at && (c = l(n ? {
2006
1994
  date: d.start_at,
2007
1995
  format: "date",
2008
1996
  offsetType: "offsetted",
@@ -2012,7 +2000,7 @@ const ot = (e, i = {}) => {
2012
2000
  format: "date",
2013
2001
  offsetType: "local",
2014
2002
  showTimezone: !1
2015
- })), d.end_at && (s = t(n ? {
2003
+ })), d.end_at && (s = l(n ? {
2016
2004
  date: d.end_at,
2017
2005
  format: "date",
2018
2006
  offsetType: "offsetted",
@@ -2022,19 +2010,19 @@ const ot = (e, i = {}) => {
2022
2010
  format: "date",
2023
2011
  offsetType: "local",
2024
2012
  showTimezone: !1
2025
- })), `(${u} - ${s})`;
2013
+ })), `(${c} - ${s})`;
2026
2014
  };
2027
- return { getMarkupBody: m, getFormattedDuration: a };
2015
+ return { getMarkupBody: g, getFormattedDuration: a };
2028
2016
  }, $l = (e) => {
2029
2017
  const i = Object.entries(e || {});
2030
2018
  if (i.length === 0)
2031
2019
  return;
2032
- const [n, t] = i[0], [c, m, f] = n.split(".");
2020
+ const [n, l] = i[0], [f, g, m] = n.split(".");
2033
2021
  return {
2034
- markupLevel: c,
2035
- index: parseInt(m, 10),
2036
- fieldName: f,
2037
- message: t
2022
+ markupLevel: f,
2023
+ index: parseInt(g, 10),
2024
+ fieldName: m,
2025
+ message: l
2038
2026
  };
2039
2027
  }, kl = { class: "font-semibold text-primary-600" }, Pl = ["innerHTML"], Il = /* @__PURE__ */ U({
2040
2028
  __name: "SubscriptionMarkupItem",
@@ -2049,24 +2037,24 @@ const ot = (e, i = {}) => {
2049
2037
  },
2050
2038
  emits: ["edit", "delete"],
2051
2039
  setup(e, { emit: i }) {
2052
- const n = e, t = i, c = C(() => n.i18n ?? oi), { getMarkupBody: m } = xl(
2040
+ const n = e, l = i, f = C(() => n.i18n ?? oi), { getMarkupBody: g } = xl(
2053
2041
  en(() => n.pricingPlanVersion),
2054
- c.value,
2042
+ f.value,
2055
2043
  n.timezone
2056
2044
  );
2057
- return (f, a) => (l(), T(ni, {
2045
+ return (m, a) => (t(), T(ni, {
2058
2046
  icon: "north_east",
2059
2047
  "icon-color": "teal",
2060
2048
  "is-editable": e.isEditable,
2061
2049
  "is-removable": e.isRemovable,
2062
2050
  error: e.error,
2063
- onEdit: a[0] || (a[0] = (d) => t("edit")),
2064
- onDelete: a[1] || (a[1] = (d) => t("delete"))
2051
+ onEdit: a[0] || (a[0] = (d) => l("edit")),
2052
+ onDelete: a[1] || (a[1] = (d) => l("delete"))
2065
2053
  }, {
2066
2054
  body: o(() => [
2067
2055
  w("span", kl, h(e.markup.percentage) + "%" + h(" "), 1),
2068
2056
  w("span", {
2069
- innerHTML: B(m)(e.markup)
2057
+ innerHTML: B(g)(e.markup)
2070
2058
  }, null, 8, Pl)
2071
2059
  ]),
2072
2060
  _: 1
@@ -2094,34 +2082,34 @@ const ot = (e, i = {}) => {
2094
2082
  },
2095
2083
  emits: ["add", "edit", "delete"],
2096
2084
  setup(e) {
2097
- const i = e, n = C(() => i.i18n ?? Te), { isEditableFlag: t, isItemEditable: c, isItemRemovable: m } = ti({
2085
+ const i = e, n = C(() => i.i18n ?? Te), { isEditableFlag: l, isItemEditable: f, isItemRemovable: g } = ti({
2098
2086
  isEditable: i.isEditable,
2099
2087
  isRemovable: i.isRemovable
2100
- }), f = C(() => {
2088
+ }), m = C(() => {
2101
2089
  if ("error" in i)
2102
2090
  return $l(i.error);
2103
2091
  }), a = C(() => {
2104
- var d, u;
2105
- return ((u = (d = i.markup) == null ? void 0 : d.pricing_item_configs) == null ? void 0 : u.map((s, E) => {
2092
+ var d, c;
2093
+ return ((c = (d = i.markup) == null ? void 0 : d.pricing_item_configs) == null ? void 0 : c.map((s, E) => {
2106
2094
  var p, r;
2107
2095
  return {
2108
2096
  item: s,
2109
- error: E === ((p = f.value) == null ? void 0 : p.index) && ((r = f.value) == null ? void 0 : r.markupLevel) === "pricing_item_configs" ? f.value.message : void 0
2097
+ error: E === ((p = m.value) == null ? void 0 : p.index) && ((r = m.value) == null ? void 0 : r.markupLevel) === "pricing_item_configs" ? m.value.message : void 0
2110
2098
  };
2111
2099
  })) ?? [];
2112
2100
  });
2113
- return (d, u) => (l(), T(li, j(d.$attrs, {
2101
+ return (d, c) => (t(), T(li, j(d.$attrs, {
2114
2102
  title: n.value.title,
2115
2103
  "order-of-application-explanation": n.value.orderOfApplicationExplanation,
2116
2104
  description: n.value.description,
2117
2105
  "pricing-plan-version-is-selected": !!e.pricingPlanVersion,
2118
2106
  "select-pricing-plan-hint": n.value.selectPricingPlanHint,
2119
2107
  "add-item-label": n.value.addItemLabel,
2120
- "is-editable": B(t),
2108
+ "is-editable": B(l),
2121
2109
  "is-creatable": !!e.isCreatable,
2122
2110
  "not-editable-explanation": n.value.notEditableExplanation,
2123
2111
  "has-items": a.value.length > 0,
2124
- onAdd: u[0] || (u[0] = (s) => d.$emit("add"))
2112
+ onAdd: c[0] || (c[0] = (s) => d.$emit("add"))
2125
2113
  }), {
2126
2114
  icon: o(() => [
2127
2115
  w("img", {
@@ -2130,14 +2118,14 @@ const ot = (e, i = {}) => {
2130
2118
  }, null, 8, El)
2131
2119
  ]),
2132
2120
  "list-items": o(() => [
2133
- (l(!0), g(z, null, Q(a.value, ({ item: s, error: E }) => (l(), g("li", {
2121
+ (t(!0), u(z, null, Q(a.value, ({ item: s, error: E }) => (t(), u("li", {
2134
2122
  key: JSON.stringify(s)
2135
2123
  }, [
2136
2124
  S(Il, {
2137
2125
  markup: s,
2138
2126
  error: E,
2139
- "is-editable": B(c)(s),
2140
- "is-removable": B(m)(s),
2127
+ "is-editable": B(f)(s),
2128
+ "is-removable": B(g)(s),
2141
2129
  "pricing-plan-version": e.pricingPlanVersion,
2142
2130
  i18n: n.value,
2143
2131
  timezone: e.timezone,
@@ -2160,8 +2148,8 @@ const ot = (e, i = {}) => {
2160
2148
  i18n: {}
2161
2149
  },
2162
2150
  setup(e) {
2163
- const i = e, n = C(() => i.i18n ?? gn), { formatDate: t } = ae();
2164
- return (c, m) => (l(), T(le, { intent: "neutral" }, {
2151
+ const i = e, n = C(() => i.i18n ?? gn), { formatDate: l } = ae();
2152
+ return (f, g) => (t(), T(le, { intent: "neutral" }, {
2165
2153
  default: o(() => [
2166
2154
  w("div", Sl, [
2167
2155
  S(te, {
@@ -2169,16 +2157,16 @@ const ot = (e, i = {}) => {
2169
2157
  size: "xs"
2170
2158
  }),
2171
2159
  w("span", null, [
2172
- e.markup.percentage ? (l(), g(z, { key: 0 }, [
2160
+ e.markup.percentage ? (t(), u(z, { key: 0 }, [
2173
2161
  O(h(n.value.markupPercentage(e.markup.percentage)), 1)
2174
2162
  ], 64)) : b("", !0),
2175
- e.markup.start_at || e.markup.end_at ? (l(), g(z, { key: 1 }, [
2176
- O(h(" ") + "(" + h(e.markup.start_at ? B(t)({
2163
+ e.markup.start_at || e.markup.end_at ? (t(), u(z, { key: 1 }, [
2164
+ O(h(" ") + "(" + h(e.markup.start_at ? B(l)({
2177
2165
  date: e.markup.start_at,
2178
2166
  format: "date",
2179
2167
  offsetType: "local",
2180
2168
  showTimezone: !1
2181
- }) : n.value.startOfSchedule) + " - " + h(e.markup.end_at ? B(t)({
2169
+ }) : n.value.startOfSchedule) + " - " + h(e.markup.end_at ? B(l)({
2182
2170
  date: e.markup.end_at,
2183
2171
  format: "date",
2184
2172
  offsetType: "local",
@@ -2199,21 +2187,21 @@ const ot = (e, i = {}) => {
2199
2187
  },
2200
2188
  setup(e) {
2201
2189
  const i = e, n = C(() => {
2202
- var m;
2203
- return !!((m = i.pricingItemConfig.top_up) != null && m.rollover);
2204
- }), t = C(
2190
+ var g;
2191
+ return !!((g = i.pricingItemConfig.top_up) != null && g.rollover);
2192
+ }), l = C(
2205
2193
  () => {
2206
- var m, f;
2207
- return (f = (m = i.pricingItemConfig.details) == null ? void 0 : m.bands) == null ? void 0 : f.some((a) => !!a.block_size);
2194
+ var g, m;
2195
+ return (m = (g = i.pricingItemConfig.details) == null ? void 0 : g.bands) == null ? void 0 : m.some((a) => !!a.block_size);
2208
2196
  }
2209
- ), c = C(() => Pe(i.pricingItemConfig) && t.value ? n.value ? i.i18n.tiered.blockSize.rolloverDescription : i.i18n.tiered.blockSize.nonRolloverDescription : Pe(i.pricingItemConfig) && !t.value ? n.value ? i.i18n.tiered.nonBlockSize.rolloverDescription : i.i18n.tiered.nonBlockSize.nonRolloverDescription : n.value ? i.i18n.rolloverDescription : i.i18n.nonRolloverDescription);
2210
- return (m, f) => (l(), T(Z, {
2197
+ ), f = C(() => Pe(i.pricingItemConfig) && l.value ? n.value ? i.i18n.tiered.blockSize.rolloverDescription : i.i18n.tiered.blockSize.nonRolloverDescription : Pe(i.pricingItemConfig) && !l.value ? n.value ? i.i18n.tiered.nonBlockSize.rolloverDescription : i.i18n.tiered.nonBlockSize.nonRolloverDescription : n.value ? i.i18n.rolloverDescription : i.i18n.nonRolloverDescription);
2198
+ return (g, m) => (t(), T(Z, {
2211
2199
  variant: "body-xs",
2212
2200
  color: "secondary",
2213
2201
  class: "italic"
2214
2202
  }, {
2215
2203
  default: o(() => [
2216
- O(h(c.value), 1)
2204
+ O(h(f.value), 1)
2217
2205
  ]),
2218
2206
  _: 1
2219
2207
  }));
@@ -2242,7 +2230,7 @@ const ot = (e, i = {}) => {
2242
2230
  return "border-gray-100";
2243
2231
  }
2244
2232
  });
2245
- return (t, c) => (l(), g("div", {
2233
+ return (l, f) => (t(), u("div", {
2246
2234
  class: H(["card-header-print-root flex items-center justify-between gap-3", {
2247
2235
  "px-2 pt-2": e.spacing === "xs",
2248
2236
  "px-4 pt-2": e.spacing === "sm",
@@ -2265,22 +2253,22 @@ const ot = (e, i = {}) => {
2265
2253
  uppercase: e.uppercase
2266
2254
  }, {
2267
2255
  prefix: o(() => [
2268
- k(t.$slots, "prefix", {}, void 0, !0)
2256
+ k(l.$slots, "prefix", {}, void 0, !0)
2269
2257
  ]),
2270
2258
  default: o(() => [
2271
- k(t.$slots, "default", {}, void 0, !0)
2259
+ k(l.$slots, "default", {}, void 0, !0)
2272
2260
  ]),
2273
2261
  subTitle: o(() => [
2274
- k(t.$slots, "subTitle", {}, void 0, !0)
2262
+ k(l.$slots, "subTitle", {}, void 0, !0)
2275
2263
  ]),
2276
2264
  suffix: o(() => [
2277
- k(t.$slots, "title-suffix", {}, void 0, !0)
2265
+ k(l.$slots, "title-suffix", {}, void 0, !0)
2278
2266
  ]),
2279
2267
  _: 3
2280
2268
  }, 8, ["icon", "title", "sub-title", "variant", "size", "uppercase"])
2281
2269
  ]),
2282
2270
  w("div", Dl, [
2283
- k(t.$slots, "right", {}, void 0, !0)
2271
+ k(l.$slots, "right", {}, void 0, !0)
2284
2272
  ])
2285
2273
  ], 2));
2286
2274
  }
@@ -2308,18 +2296,18 @@ const ot = (e, i = {}) => {
2308
2296
  },
2309
2297
  emits: ["toggle", "toggled"],
2310
2298
  setup(e, { emit: i }) {
2311
- const n = e, t = i, [c, m] = Mn(!n.isOpen), f = () => {
2312
- n.isControlled ? t("toggle") : m();
2299
+ const n = e, l = i, [f, g] = Mn(!n.isOpen), m = () => {
2300
+ n.isControlled ? l("toggle") : g();
2313
2301
  };
2314
2302
  Be(
2315
- () => c.value,
2303
+ () => f.value,
2316
2304
  (s) => {
2317
- t("toggled", s);
2305
+ l("toggled", s);
2318
2306
  }
2319
2307
  ), Be(
2320
2308
  () => n.isOpen,
2321
2309
  (s) => {
2322
- n.isControlled && m(!s);
2310
+ n.isControlled && g(!s);
2323
2311
  }
2324
2312
  );
2325
2313
  const a = C(() => {
@@ -2338,11 +2326,11 @@ const ot = (e, i = {}) => {
2338
2326
  default:
2339
2327
  return "";
2340
2328
  }
2341
- }), u = C(() => ["ease-in-out duration-200 hover:shadow-md", a.value].join(" "));
2342
- return (s, E) => (l(), T(Ve, {
2329
+ }), c = C(() => ["ease-in-out duration-200 hover:shadow-md", a.value].join(" "));
2330
+ return (s, E) => (t(), T(Ve, {
2343
2331
  spacing: "none",
2344
2332
  "wrapper-class": "collapsible-card-print-wrapper",
2345
- "root-class": B(ke)("collapsible-card-print-root", u.value),
2333
+ "root-class": B(ke)("collapsible-card-print-root", c.value),
2346
2334
  "border-style": e.borderStyle,
2347
2335
  "print-behavior": e.printBehavior
2348
2336
  }, {
@@ -2350,7 +2338,7 @@ const ot = (e, i = {}) => {
2350
2338
  w("div", {
2351
2339
  class: H(B(ke)(e.withLeftAccent ? "flex p-1" : ""))
2352
2340
  }, [
2353
- e.withLeftAccent ? (l(), g("div", {
2341
+ e.withLeftAccent ? (t(), u("div", {
2354
2342
  key: 0,
2355
2343
  class: H(["mr-2 w-1 rounded-md", d.value])
2356
2344
  }, null, 2)) : b("", !0),
@@ -2371,8 +2359,8 @@ const ot = (e, i = {}) => {
2371
2359
  variant: "bordered",
2372
2360
  tabindex: "0",
2373
2361
  "card-variant": e.variant,
2374
- onClick: we(f, ["stop"]),
2375
- onKeyup: Ai(f, ["enter"])
2362
+ onClick: we(m, ["stop"]),
2363
+ onKeyup: Ai(m, ["enter"])
2376
2364
  }, Sn({
2377
2365
  prefix: o(() => [
2378
2366
  k(s.$slots, "title-prefix", {}, void 0, !0)
@@ -2389,7 +2377,7 @@ const ot = (e, i = {}) => {
2389
2377
  name: "right",
2390
2378
  fn: o(() => [
2391
2379
  w("div", Ll, [
2392
- s.$slots.right ? (l(), g("div", {
2380
+ s.$slots.right ? (t(), u("div", {
2393
2381
  key: 0,
2394
2382
  class: "flex justify-center",
2395
2383
  onClick: E[0] || (E[0] = we(() => {
@@ -2400,7 +2388,7 @@ const ot = (e, i = {}) => {
2400
2388
  k(s.$slots, "right", {}, void 0, !0)
2401
2389
  ], 32)) : b("", !0),
2402
2390
  S(te, {
2403
- icon: B(c) ? "unfold_more" : "unfold_less",
2391
+ icon: B(f) ? "unfold_more" : "unfold_less",
2404
2392
  size: e.headerSize,
2405
2393
  class: H({
2406
2394
  "text-white": e.variant === "dark",
@@ -2412,9 +2400,9 @@ const ot = (e, i = {}) => {
2412
2400
  key: "0"
2413
2401
  }
2414
2402
  ]), 1032, ["title", "icon", "icon-variant", "spacing", "size", "uppercase", "class", "card-variant"]),
2415
- e.isExpandContentHidden ? b("", !0) : (l(), T(_e, {
2403
+ e.isExpandContentHidden ? b("", !0) : (t(), T(_e, {
2416
2404
  key: 0,
2417
- "is-open": !B(c),
2405
+ "is-open": !B(f),
2418
2406
  lazy: ""
2419
2407
  }, {
2420
2408
  default: o(() => [
@@ -2453,17 +2441,17 @@ const ot = (e, i = {}) => {
2453
2441
  const i = e, n = C(
2454
2442
  () => i.isOpen ? "unfold_less" : "unfold_more"
2455
2443
  );
2456
- return (t, c) => (l(), g("li", zl, [
2444
+ return (l, f) => (t(), u("li", zl, [
2457
2445
  w("button", {
2458
2446
  type: "button",
2459
2447
  class: "flex items-center gap-6",
2460
2448
  "aria-label": e.isOpen ? e.i18n.tooltipCollapse : e.i18n.tooltipExpand,
2461
- onClick: c[0] || (c[0] = we((m) => t.$emit("toggle"), ["stop"]))
2449
+ onClick: f[0] || (f[0] = we((g) => l.$emit("toggle"), ["stop"]))
2462
2450
  }, [
2463
2451
  w("div", {
2464
2452
  class: H(["flex h-6 select-none items-center justify-center rounded border bg-white shadow-sm print:hidden", B(Fe)])
2465
2453
  }, [
2466
- k(t.$slots, "icon", {}, () => [
2454
+ k(l.$slots, "icon", {}, () => [
2467
2455
  S(Z, {
2468
2456
  tag: "span",
2469
2457
  variant: "body-xs",
@@ -2478,13 +2466,13 @@ const ot = (e, i = {}) => {
2478
2466
  ], 2),
2479
2467
  w("div", Ul, [
2480
2468
  w("div", Fl, [
2481
- k(t.$slots, "left", {}, void 0, !0)
2469
+ k(l.$slots, "left", {}, void 0, !0)
2482
2470
  ]),
2483
2471
  w("div", Hl, [
2484
- t.$slots.right ? (l(), g("div", Gl, [
2485
- k(t.$slots, "right", {}, void 0, !0)
2472
+ l.$slots.right ? (t(), u("div", Gl, [
2473
+ k(l.$slots, "right", {}, void 0, !0)
2486
2474
  ])) : b("", !0),
2487
- e.hideCollapseIcon ? b("", !0) : (l(), T(te, {
2475
+ e.hideCollapseIcon ? b("", !0) : (t(), T(te, {
2488
2476
  key: 1,
2489
2477
  icon: n.value,
2490
2478
  size: "sm",
@@ -2510,7 +2498,7 @@ const ot = (e, i = {}) => {
2510
2498
  }, {
2511
2499
  default: o(() => [
2512
2500
  w("div", Wl, [
2513
- k(t.$slots, "default", {}, void 0, !0)
2501
+ k(l.$slots, "default", {}, void 0, !0)
2514
2502
  ])
2515
2503
  ]),
2516
2504
  _: 3
@@ -2526,17 +2514,17 @@ const ot = (e, i = {}) => {
2526
2514
  creditTypesById: {}
2527
2515
  },
2528
2516
  setup(e) {
2529
- return (i, n) => (l(), g("div", Kl, [
2517
+ return (i, n) => (t(), u("div", Kl, [
2530
2518
  w("h4", Jl, [
2531
- (l(!0), g(z, null, Q(e.item.product_items, (t) => (l(), T(Z, {
2532
- key: t.id,
2519
+ (t(!0), u(z, null, Q(e.item.product_items, (l) => (t(), T(Z, {
2520
+ key: l.id,
2533
2521
  tag: "span",
2534
2522
  class: "flex flex-wrap items-center gap-3",
2535
2523
  variant: "body-sm",
2536
2524
  weight: "semibold"
2537
2525
  }, {
2538
2526
  default: o(() => [
2539
- O(h(t.name), 1)
2527
+ O(h(l.name), 1)
2540
2528
  ]),
2541
2529
  _: 2
2542
2530
  }, 1024))), 128))
@@ -2697,11 +2685,11 @@ const ot = (e, i = {}) => {
2697
2685
  },
2698
2686
  emits: ["expand-toggled"],
2699
2687
  setup(e) {
2700
- const i = e, { formatMessage: n } = ae(), t = C(() => i.i18n ?? bn), c = C(() => qe(i.config)), m = n({
2688
+ const i = e, { formatMessage: n } = ae(), l = C(() => i.i18n ?? bn), f = C(() => qe(i.config)), g = n({
2701
2689
  defaultMessage: "unit",
2702
2690
  id: "lWOCGz",
2703
2691
  description: "Fallback singular unit label for pricing rule display"
2704
- }), f = n({
2692
+ }), m = n({
2705
2693
  defaultMessage: "units",
2706
2694
  id: "Vl9vDx",
2707
2695
  description: "Fallback plural unit label for pricing rule display"
@@ -2710,19 +2698,19 @@ const ot = (e, i = {}) => {
2710
2698
  if ((($ = a.value) == null ? void 0 : $.model_type) === "CREDITS") {
2711
2699
  const A = (v = a.value.credits) == null ? void 0 : v.credit_type_id, R = A ? (x = (P = i.creditTypesById) == null ? void 0 : P[A]) == null ? void 0 : x.unit_name : void 0;
2712
2700
  return {
2713
- singular: (R == null ? void 0 : R.singular) || m,
2714
- plural: (R == null ? void 0 : R.plural) || f
2701
+ singular: (R == null ? void 0 : R.singular) || g,
2702
+ plural: (R == null ? void 0 : R.plural) || m
2715
2703
  };
2716
2704
  }
2717
2705
  return {
2718
- singular: ((y = (V = a.value) == null ? void 0 : V.unit_name) == null ? void 0 : y.singular) || m,
2719
- plural: ((I = (D = a.value) == null ? void 0 : D.unit_name) == null ? void 0 : I.plural) || f
2706
+ singular: ((y = (V = a.value) == null ? void 0 : V.unit_name) == null ? void 0 : y.singular) || g,
2707
+ plural: ((I = (D = a.value) == null ? void 0 : D.unit_name) == null ? void 0 : I.plural) || m
2720
2708
  };
2721
- }), u = C(() => {
2709
+ }), c = C(() => {
2722
2710
  var $, v, P, x;
2723
2711
  return {
2724
- singular: ((v = ($ = a.value) == null ? void 0 : $.unit_name) == null ? void 0 : v.singular) || m,
2725
- plural: ((x = (P = a.value) == null ? void 0 : P.unit_name) == null ? void 0 : x.plural) || f
2712
+ singular: ((v = ($ = a.value) == null ? void 0 : $.unit_name) == null ? void 0 : v.singular) || g,
2713
+ plural: ((x = (P = a.value) == null ? void 0 : P.unit_name) == null ? void 0 : x.plural) || m
2726
2714
  };
2727
2715
  }), s = C(
2728
2716
  () => {
@@ -2756,7 +2744,7 @@ const ot = (e, i = {}) => {
2756
2744
  var $, v, P;
2757
2745
  return (($ = a.value) == null ? void 0 : $.model_type) === "ONE_OFF" && ((v = i.config.details) == null ? void 0 : v.pricing_type) === "FLAT" ? Hn((P = i.config.default_units) == null ? void 0 : P.number) : null;
2758
2746
  });
2759
- return ($, v) => (l(), T(Xe, {
2747
+ return ($, v) => (t(), T(Xe, {
2760
2748
  class: H({ "print:hidden": L.value }),
2761
2749
  "is-collapsible": e.isCollapsible,
2762
2750
  "is-expanded": e.isExpanded,
@@ -2766,19 +2754,19 @@ const ot = (e, i = {}) => {
2766
2754
  header: o(() => {
2767
2755
  var P, x, V, y, D, I, A, R, F, W, G, K, oe, ee, ne, X, ce, ai, si, ri, di, ci, ui, gi, mi, fi, vi, pi, bi, hi, yi, _i, xi, $i, ki, Pi, Ii, Ci, Ei, wi, Si, Ti, Bi, Di, Oi, Ni, Li;
2768
2756
  return [
2769
- E.value ? (l(), g("div", Ql, [
2757
+ E.value ? (t(), u("div", Ql, [
2770
2758
  w("div", eo, [
2771
- e.showConfigHeader ? (l(), T(ei, {
2759
+ e.showConfigHeader ? (t(), T(ei, {
2772
2760
  key: 0,
2773
2761
  config: e.config,
2774
- i18n: t.value
2762
+ i18n: l.value
2775
2763
  }, {
2776
2764
  "override-tooltip": o(() => [
2777
2765
  k($.$slots, "override-tooltip")
2778
2766
  ]),
2779
2767
  _: 3
2780
2768
  }, 8, ["config", "i18n"])) : b("", !0),
2781
- p.value ? (l(), T(re, {
2769
+ p.value ? (t(), T(re, {
2782
2770
  key: 1,
2783
2771
  variant: "outline",
2784
2772
  placement: "top"
@@ -2805,13 +2793,13 @@ const ot = (e, i = {}) => {
2805
2793
  _: 1
2806
2794
  })) : b("", !0)
2807
2795
  ]),
2808
- e.config.split_pricing ? (l(), g("div", io, [
2796
+ e.config.split_pricing ? (t(), u("div", io, [
2809
2797
  S(Z, {
2810
2798
  variant: "label",
2811
2799
  tag: "span"
2812
2800
  }, {
2813
2801
  default: o(() => [
2814
- O(h(t.value.splitBy), 1)
2802
+ O(h(l.value.splitBy), 1)
2815
2803
  ]),
2816
2804
  _: 1
2817
2805
  }),
@@ -2826,61 +2814,61 @@ const ot = (e, i = {}) => {
2826
2814
  })
2827
2815
  ])) : b("", !0)
2828
2816
  ])) : b("", !0),
2829
- ((P = e.config.details) == null ? void 0 : P.pricing_type) === "NONE" || ((x = e.config.details) == null ? void 0 : x.pricing_type) === "PASS_THROUGH" ? (l(), g(z, { key: 1 }, [
2830
- ((V = e.config.details) == null ? void 0 : V.pricing_type) === "NONE" ? (l(), g("div", no, h(t.value.notBilled), 1)) : b("", !0),
2831
- ((y = e.config.details) == null ? void 0 : y.pricing_type) === "PASS_THROUGH" ? (l(), g("div", to, h(t.value.passThrough), 1)) : b("", !0)
2832
- ], 64)) : (l(), g(z, { key: 2 }, [
2833
- a.value ? (l(), g(z, { key: 0 }, [
2834
- a.value.model_type === "USAGE_BASED" || a.value.model_type === "CREDITS" ? (l(), g("div", lo, [
2817
+ ((P = e.config.details) == null ? void 0 : P.pricing_type) === "NONE" || ((x = e.config.details) == null ? void 0 : x.pricing_type) === "PASS_THROUGH" ? (t(), u(z, { key: 1 }, [
2818
+ ((V = e.config.details) == null ? void 0 : V.pricing_type) === "NONE" ? (t(), u("div", no, h(l.value.notBilled), 1)) : b("", !0),
2819
+ ((y = e.config.details) == null ? void 0 : y.pricing_type) === "PASS_THROUGH" ? (t(), u("div", to, h(l.value.passThrough), 1)) : b("", !0)
2820
+ ], 64)) : (t(), u(z, { key: 2 }, [
2821
+ a.value ? (t(), u(z, { key: 0 }, [
2822
+ a.value.model_type === "USAGE_BASED" || a.value.model_type === "CREDITS" ? (t(), u("div", lo, [
2835
2823
  w("div", null, [
2836
2824
  w("div", oo, [
2837
- (D = e.config.details) != null && D.bands && ((I = e.config.details) != null && I.bands[0].amount) ? (l(), g(z, { key: 0 }, [
2825
+ (D = e.config.details) != null && D.bands && ((I = e.config.details) != null && I.bands[0].amount) ? (t(), u(z, { key: 0 }, [
2838
2826
  w("span", ao, [
2839
2827
  S(J, {
2840
2828
  value: (A = e.config.details) == null ? void 0 : A.bands[0].amount,
2841
2829
  highlighted: ""
2842
2830
  }, null, 8, ["value"])
2843
2831
  ]),
2844
- w("span", so, h(t.value.perNumberOfUnits(
2832
+ w("span", so, h(l.value.perNumberOfUnits(
2845
2833
  (F = (R = e.config.details) == null ? void 0 : R.bands[0]) != null && F.block_size && B(Ie)(
2846
2834
  (W = e.config.details) == null ? void 0 : W.bands[0].block_size
2847
2835
  ) ? (G = e.config.details) == null ? void 0 : G.bands[0].block_size.number : "1",
2848
2836
  d.value
2849
2837
  )), 1),
2850
- (K = e.config.details) != null && K.pricing_period ? (l(), g("span", ro, h(t.value.formatBillingPeriod((oe = e.config.details) == null ? void 0 : oe.pricing_period)), 1)) : b("", !0)
2851
- ], 64)) : (ee = e.config.details) != null && ee.bands && ((ne = e.config.details) != null && ne.bands[0].fixed_amount) ? (l(), g(z, { key: 1 }, [
2838
+ (K = e.config.details) != null && K.pricing_period ? (t(), u("span", ro, h(l.value.formatBillingPeriod((oe = e.config.details) == null ? void 0 : oe.pricing_period)), 1)) : b("", !0)
2839
+ ], 64)) : (ee = e.config.details) != null && ee.bands && ((ne = e.config.details) != null && ne.bands[0].fixed_amount) ? (t(), u(z, { key: 1 }, [
2852
2840
  w("span", co, [
2853
2841
  S(J, {
2854
2842
  value: (X = e.config.details) == null ? void 0 : X.bands[0].fixed_amount,
2855
2843
  highlighted: ""
2856
2844
  }, null, 8, ["value"])
2857
2845
  ]),
2858
- (ce = e.config.details) != null && ce.pricing_period ? (l(), g("span", uo, h(t.value.formatBillingPeriod((ai = e.config.details) == null ? void 0 : ai.pricing_period)), 1)) : b("", !0)
2859
- ], 64)) : (si = e.config.details) != null && si.bands && ((di = (ri = e.config.details) == null ? void 0 : ri.bands[0].credits) != null && di.quantity) && ((ui = (ci = e.config.details) == null ? void 0 : ci.bands[0].credits) != null && ui.credit_type_id) ? (l(), g(z, { key: 2 }, [
2846
+ (ce = e.config.details) != null && ce.pricing_period ? (t(), u("span", uo, h(l.value.formatBillingPeriod((ai = e.config.details) == null ? void 0 : ai.pricing_period)), 1)) : b("", !0)
2847
+ ], 64)) : (si = e.config.details) != null && si.bands && ((di = (ri = e.config.details) == null ? void 0 : ri.bands[0].credits) != null && di.quantity) && ((ui = (ci = e.config.details) == null ? void 0 : ci.bands[0].credits) != null && ui.credit_type_id) ? (t(), u(z, { key: 2 }, [
2860
2848
  w("span", go, h(N.value), 1),
2861
- w("span", mo, h(t.value.perNumberOfUnits(
2849
+ w("span", mo, h(l.value.perNumberOfUnits(
2862
2850
  (mi = (gi = e.config.details) == null ? void 0 : gi.bands[0]) != null && mi.block_size && B(Ie)(
2863
2851
  (fi = e.config.details) == null ? void 0 : fi.bands[0].block_size
2864
2852
  ) ? (vi = e.config.details) == null ? void 0 : vi.bands[0].block_size.number : "1",
2865
- u.value
2853
+ c.value
2866
2854
  )), 1),
2867
- (pi = e.config.details) != null && pi.pricing_period ? (l(), g("span", fo, h(t.value.formatBillingPeriod((bi = e.config.details) == null ? void 0 : bi.pricing_period)), 1)) : b("", !0)
2868
- ], 64)) : (hi = e.config.details) != null && hi.bands && typeof ((yi = e.config.details) == null ? void 0 : yi.bands[0].percentage) == "string" ? (l(), g(z, { key: 3 }, [
2855
+ (pi = e.config.details) != null && pi.pricing_period ? (t(), u("span", fo, h(l.value.formatBillingPeriod((bi = e.config.details) == null ? void 0 : bi.pricing_period)), 1)) : b("", !0)
2856
+ ], 64)) : (hi = e.config.details) != null && hi.bands && typeof ((yi = e.config.details) == null ? void 0 : yi.bands[0].percentage) == "string" ? (t(), u(z, { key: 3 }, [
2869
2857
  w("span", vo, h((_i = e.config.details) == null ? void 0 : _i.bands[0].percentage) + "% ", 1),
2870
- w("span", po, h(t.value.ofAmount((xi = a.value.unit_name) == null ? void 0 : xi.singular)), 1),
2871
- ($i = e.config.details) != null && $i.pricing_period ? (l(), g("span", bo, h(t.value.formatBillingPeriod((ki = e.config.details) == null ? void 0 : ki.pricing_period)), 1)) : b("", !0),
2872
- (Pi = e.config.details) != null && Pi.bands[0].minimum_amount || (Ii = e.config.details) != null && Ii.bands[0].maximum_amount ? (l(), g("span", ho, " , " + h(t.value.with), 1)) : b("", !0),
2873
- (Ci = e.config.details) != null && Ci.bands[0].minimum_amount ? (l(), g(z, { key: 2 }, [
2874
- O(h(t.value.aMinimumOf) + " ", 1),
2858
+ w("span", po, h(l.value.ofAmount((xi = a.value.unit_name) == null ? void 0 : xi.singular)), 1),
2859
+ ($i = e.config.details) != null && $i.pricing_period ? (t(), u("span", bo, h(l.value.formatBillingPeriod((ki = e.config.details) == null ? void 0 : ki.pricing_period)), 1)) : b("", !0),
2860
+ (Pi = e.config.details) != null && Pi.bands[0].minimum_amount || (Ii = e.config.details) != null && Ii.bands[0].maximum_amount ? (t(), u("span", ho, " , " + h(l.value.with), 1)) : b("", !0),
2861
+ (Ci = e.config.details) != null && Ci.bands[0].minimum_amount ? (t(), u(z, { key: 2 }, [
2862
+ O(h(l.value.aMinimumOf) + " ", 1),
2875
2863
  S(J, {
2876
2864
  value: (Ei = e.config.details) == null ? void 0 : Ei.bands[0].minimum_amount,
2877
2865
  highlighted: "",
2878
2866
  class: "mx-1"
2879
2867
  }, null, 8, ["value"])
2880
2868
  ], 64)) : b("", !0),
2881
- (wi = e.config.details) != null && wi.bands[0].minimum_amount && ((Si = e.config.details) != null && Si.bands[0].maximum_amount) ? (l(), g("span", yo, h(t.value.and), 1)) : b("", !0),
2882
- (Ti = e.config.details) != null && Ti.bands[0].maximum_amount ? (l(), g(z, { key: 4 }, [
2883
- O(h(t.value.aMaximumOf) + " ", 1),
2869
+ (wi = e.config.details) != null && wi.bands[0].minimum_amount && ((Si = e.config.details) != null && Si.bands[0].maximum_amount) ? (t(), u("span", yo, h(l.value.and), 1)) : b("", !0),
2870
+ (Ti = e.config.details) != null && Ti.bands[0].maximum_amount ? (t(), u(z, { key: 4 }, [
2871
+ O(h(l.value.aMaximumOf) + " ", 1),
2884
2872
  S(J, {
2885
2873
  value: (Bi = e.config.details) == null ? void 0 : Bi.bands[0].maximum_amount,
2886
2874
  highlighted: "",
@@ -2894,8 +2882,8 @@ const ot = (e, i = {}) => {
2894
2882
  k($.$slots, "included")
2895
2883
  ])
2896
2884
  ])) : b("", !0),
2897
- e.isCombinedPricing ? b("", !0) : (l(), g(z, { key: 1 }, [
2898
- a.value.model_type === "RECURRING" ? (l(), g("div", _o, [
2885
+ e.isCombinedPricing ? b("", !0) : (t(), u(z, { key: 1 }, [
2886
+ a.value.model_type === "RECURRING" ? (t(), u("div", _o, [
2899
2887
  w("div", null, [
2900
2888
  S(Z, {
2901
2889
  tag: "div",
@@ -2905,30 +2893,30 @@ const ot = (e, i = {}) => {
2905
2893
  default: o(() => {
2906
2894
  var ue, ge, me, fe, ve, pe, xe, Vi, Mi;
2907
2895
  return [
2908
- (ue = e.config.details) != null && ue.bands && ((ge = e.config.details) != null && ge.bands[0].amount) ? (l(), T(J, {
2896
+ (ue = e.config.details) != null && ue.bands && ((ge = e.config.details) != null && ge.bands[0].amount) ? (t(), T(J, {
2909
2897
  key: 0,
2910
2898
  value: (me = e.config.details) == null ? void 0 : me.bands[0].amount,
2911
2899
  highlighted: ""
2912
- }, null, 8, ["value"])) : (fe = e.config.details) != null && fe.bands && ((ve = e.config.details) != null && ve.bands[0].fixed_amount) ? (l(), T(J, {
2900
+ }, null, 8, ["value"])) : (fe = e.config.details) != null && fe.bands && ((ve = e.config.details) != null && ve.bands[0].fixed_amount) ? (t(), T(J, {
2913
2901
  key: 1,
2914
2902
  value: (pe = e.config.details) == null ? void 0 : pe.bands[0].fixed_amount,
2915
2903
  highlighted: ""
2916
2904
  }, null, 8, ["value"])) : b("", !0),
2917
- (Vi = (xe = e.config.details) == null ? void 0 : xe.pricing_period) != null && Vi.type ? (l(), g("div", xo, h(t.value.formatBillingPeriod((Mi = e.config.details) == null ? void 0 : Mi.pricing_period)), 1)) : (l(), g("div", $o, "per billing period")),
2918
- e.config.billing_in_advance ? (l(), g("span", ko, " (" + h(t.value.billedInAdvance) + ") ", 1)) : b("", !0)
2905
+ (Vi = (xe = e.config.details) == null ? void 0 : xe.pricing_period) != null && Vi.type ? (t(), u("div", xo, h(l.value.formatBillingPeriod((Mi = e.config.details) == null ? void 0 : Mi.pricing_period)), 1)) : (t(), u("div", $o, "per billing period")),
2906
+ e.config.billing_in_advance ? (t(), u("span", ko, " (" + h(l.value.billedInAdvance) + ") ", 1)) : b("", !0)
2919
2907
  ];
2920
2908
  }),
2921
2909
  _: 1
2922
2910
  }),
2923
- (Oi = (Di = e.config.details) == null ? void 0 : Di.billing_period) != null && Oi.type ? (l(), T(Z, {
2911
+ (Oi = (Di = e.config.details) == null ? void 0 : Di.billing_period) != null && Oi.type ? (t(), T(Z, {
2924
2912
  key: 0,
2925
2913
  tag: "div",
2926
2914
  variant: "body-sm",
2927
2915
  class: "text-right"
2928
2916
  }, {
2929
2917
  default: o(() => [
2930
- O(h(t.value.billedEvery) + " ", 1),
2931
- w("span", Po, h(t.value.formatBillingPeriod(
2918
+ O(h(l.value.billedEvery) + " ", 1),
2919
+ w("span", Po, h(l.value.formatBillingPeriod(
2932
2920
  e.config.details.billing_period,
2933
2921
  {
2934
2922
  prefix: !1
@@ -2940,7 +2928,7 @@ const ot = (e, i = {}) => {
2940
2928
  ]),
2941
2929
  k($.$slots, "included")
2942
2930
  ])) : b("", !0),
2943
- a.value.model_type === "ONE_OFF" ? (l(), g("div", Io, [
2931
+ a.value.model_type === "ONE_OFF" ? (t(), u("div", Io, [
2944
2932
  w("div", null, [
2945
2933
  S(Z, {
2946
2934
  tag: "div",
@@ -2950,25 +2938,25 @@ const ot = (e, i = {}) => {
2950
2938
  default: o(() => {
2951
2939
  var ue, ge, me, fe, ve, pe, xe;
2952
2940
  return [
2953
- (ue = e.config.details) != null && ue.bands && ((ge = e.config.details) != null && ge.bands[0].amount) ? (l(), T(J, {
2941
+ (ue = e.config.details) != null && ue.bands && ((ge = e.config.details) != null && ge.bands[0].amount) ? (t(), T(J, {
2954
2942
  key: 0,
2955
2943
  value: (me = e.config.details) == null ? void 0 : me.bands[0].amount,
2956
2944
  highlighted: ""
2957
- }, null, 8, ["value"])) : (fe = e.config.details) != null && fe.bands && ((ve = e.config.details) != null && ve.bands[0].fixed_amount) ? (l(), T(J, {
2945
+ }, null, 8, ["value"])) : (fe = e.config.details) != null && fe.bands && ((ve = e.config.details) != null && ve.bands[0].fixed_amount) ? (t(), T(J, {
2958
2946
  key: 1,
2959
2947
  value: (pe = e.config.details) == null ? void 0 : pe.bands[0].fixed_amount,
2960
2948
  highlighted: ""
2961
2949
  }, null, 8, ["value"])) : b("", !0),
2962
2950
  w("div", Co, [
2963
- O(h(t.value.oneOff) + " ", 1),
2964
- ((xe = e.config.details) == null ? void 0 : xe.pricing_type) === "FLAT" ? (l(), g("span", Eo, h(t.value.perUnit), 1)) : b("", !0),
2965
- e.config.billing_in_advance ? (l(), g("span", wo, " (" + h(t.value.billedInAdvance) + ") ", 1)) : b("", !0)
2951
+ O(h(l.value.oneOff) + " ", 1),
2952
+ ((xe = e.config.details) == null ? void 0 : xe.pricing_type) === "FLAT" ? (t(), u("span", Eo, h(l.value.perUnit), 1)) : b("", !0),
2953
+ e.config.billing_in_advance ? (t(), u("span", wo, " (" + h(l.value.billedInAdvance) + ") ", 1)) : b("", !0)
2966
2954
  ])
2967
2955
  ];
2968
2956
  }),
2969
2957
  _: 1
2970
2958
  }),
2971
- e.showDefaultValues && M.value !== null ? (l(), T(Z, {
2959
+ e.showDefaultValues && M.value !== null ? (t(), T(Z, {
2972
2960
  key: 0,
2973
2961
  tag: "div",
2974
2962
  variant: "body-sm",
@@ -2976,7 +2964,7 @@ const ot = (e, i = {}) => {
2976
2964
  class: "text-right"
2977
2965
  }, {
2978
2966
  default: o(() => [
2979
- O(h(t.value.withDefault) + " ", 1),
2967
+ O(h(l.value.withDefault) + " ", 1),
2980
2968
  w("span", So, h(M.value), 1),
2981
2969
  O(" " + h(M.value === 1 ? d.value.singular : d.value.plural), 1)
2982
2970
  ]),
@@ -2985,7 +2973,7 @@ const ot = (e, i = {}) => {
2985
2973
  ]),
2986
2974
  k($.$slots, "included")
2987
2975
  ])) : b("", !0),
2988
- a.value.model_type === "PER_SEAT" ? (l(), g("div", To, [
2976
+ a.value.model_type === "PER_SEAT" ? (t(), u("div", To, [
2989
2977
  w("div", null, [
2990
2978
  S(Z, {
2991
2979
  tag: "div",
@@ -2995,27 +2983,27 @@ const ot = (e, i = {}) => {
2995
2983
  default: o(() => {
2996
2984
  var ue, ge, me, fe, ve, pe;
2997
2985
  return [
2998
- (ue = e.config.details) != null && ue.bands && ((ge = e.config.details) != null && ge.bands[0].amount) ? (l(), T(J, {
2986
+ (ue = e.config.details) != null && ue.bands && ((ge = e.config.details) != null && ge.bands[0].amount) ? (t(), T(J, {
2999
2987
  key: 0,
3000
2988
  value: (me = e.config.details) == null ? void 0 : me.bands[0].amount,
3001
2989
  highlighted: ""
3002
2990
  }, null, 8, ["value"])) : b("", !0),
3003
- w("span", Bo, h(t.value.perSeat), 1),
3004
- (ve = (fe = e.config.details) == null ? void 0 : fe.pricing_period) != null && ve.type ? (l(), g("div", Do, h(t.value.formatBillingPeriod((pe = e.config.details) == null ? void 0 : pe.pricing_period)), 1)) : b("", !0),
3005
- e.config.billing_in_advance ? (l(), g("span", Oo, " (" + h(t.value.billedInAdvance) + ") ", 1)) : b("", !0)
2991
+ w("span", Bo, h(l.value.perSeat), 1),
2992
+ (ve = (fe = e.config.details) == null ? void 0 : fe.pricing_period) != null && ve.type ? (t(), u("div", Do, h(l.value.formatBillingPeriod((pe = e.config.details) == null ? void 0 : pe.pricing_period)), 1)) : b("", !0),
2993
+ e.config.billing_in_advance ? (t(), u("span", Oo, " (" + h(l.value.billedInAdvance) + ") ", 1)) : b("", !0)
3006
2994
  ];
3007
2995
  }),
3008
2996
  _: 1
3009
2997
  }),
3010
- (Li = (Ni = e.config.details) == null ? void 0 : Ni.billing_period) != null && Li.type ? (l(), T(Z, {
2998
+ (Li = (Ni = e.config.details) == null ? void 0 : Ni.billing_period) != null && Li.type ? (t(), T(Z, {
3011
2999
  key: 0,
3012
3000
  tag: "div",
3013
3001
  variant: "body-sm",
3014
3002
  class: "text-right"
3015
3003
  }, {
3016
3004
  default: o(() => [
3017
- O(h(t.value.billedEvery) + " ", 1),
3018
- w("span", No, h(t.value.formatBillingPeriod(
3005
+ O(h(l.value.billedEvery) + " ", 1),
3006
+ w("span", No, h(l.value.formatBillingPeriod(
3019
3007
  e.config.details.billing_period,
3020
3008
  {
3021
3009
  prefix: !1
@@ -3033,9 +3021,9 @@ const ot = (e, i = {}) => {
3033
3021
  ];
3034
3022
  }),
3035
3023
  default: o(() => [
3036
- c.value ? (l(), T(mn, {
3024
+ f.value ? (t(), T(mn, {
3037
3025
  key: 0,
3038
- i18n: t.value.topUpDescription,
3026
+ i18n: l.value.topUpDescription,
3039
3027
  class: "mt-1",
3040
3028
  "pricing-item-config": e.config
3041
3029
  }, null, 8, ["i18n", "pricing-item-config"])) : b("", !0)
@@ -3059,32 +3047,32 @@ const ot = (e, i = {}) => {
3059
3047
  },
3060
3048
  emits: ["expand-toggled"],
3061
3049
  setup(e) {
3062
- const i = e, { formatMessage: n } = ae(), t = C(() => {
3050
+ const i = e, { formatMessage: n } = ae(), l = C(() => {
3063
3051
  var a, d;
3064
3052
  return (d = (a = i.config.details) == null ? void 0 : a.bands) == null ? void 0 : d[0];
3065
- }), c = n({
3053
+ }), f = n({
3066
3054
  defaultMessage: "Flexible pricing",
3067
3055
  id: "wYqODC",
3068
3056
  description: "Read-only label for a flexible (choose-your-amount) pricing rule"
3069
- }), m = n({
3057
+ }), g = n({
3070
3058
  defaultMessage: "minimum amount",
3071
3059
  id: "Bbc4Nn",
3072
3060
  description: "Suffix after the minimum amount of a flexible pricing rule"
3073
- }), f = n({
3061
+ }), m = n({
3074
3062
  defaultMessage: "maximum amount",
3075
3063
  id: "V6mQFd",
3076
3064
  description: "Suffix after the maximum amount of a flexible pricing rule"
3077
3065
  });
3078
- return (a, d) => (l(), T(Xe, {
3066
+ return (a, d) => (t(), T(Xe, {
3079
3067
  "is-collapsible": e.isCollapsible,
3080
3068
  "is-expanded": e.isExpanded,
3081
3069
  "header-class": "flex items-start justify-between",
3082
- onToggle: d[0] || (d[0] = (u) => a.$emit("expand-toggled"))
3070
+ onToggle: d[0] || (d[0] = (c) => a.$emit("expand-toggled"))
3083
3071
  }, {
3084
3072
  header: o(() => {
3085
- var u, s, E, p, r;
3073
+ var c, s, E, p, r;
3086
3074
  return [
3087
- e.showConfigHeader ? (l(), g("div", Vo, [
3075
+ e.showConfigHeader ? (t(), u("div", Vo, [
3088
3076
  S(Z, {
3089
3077
  "no-spacing": "",
3090
3078
  color: "secondary",
@@ -3092,31 +3080,31 @@ const ot = (e, i = {}) => {
3092
3080
  weight: "semibold"
3093
3081
  }, {
3094
3082
  default: o(() => [
3095
- O(h(B(c)), 1)
3083
+ O(h(B(f)), 1)
3096
3084
  ]),
3097
3085
  _: 1
3098
3086
  }),
3099
3087
  k(a.$slots, "override-tooltip")
3100
3088
  ])) : b("", !0),
3101
- (u = t.value) != null && u.minimum_amount || (s = t.value) != null && s.maximum_amount ? (l(), g("div", Mo, [
3102
- (E = t.value) != null && E.minimum_amount ? (l(), g(z, { key: 0 }, [
3089
+ (c = l.value) != null && c.minimum_amount || (s = l.value) != null && s.maximum_amount ? (t(), u("div", Mo, [
3090
+ (E = l.value) != null && E.minimum_amount ? (t(), u(z, { key: 0 }, [
3103
3091
  S(J, {
3104
- value: t.value.minimum_amount,
3092
+ value: l.value.minimum_amount,
3105
3093
  highlighted: ""
3106
3094
  }, null, 8, ["value"]),
3107
3095
  w("span", null, [
3108
- O(h(B(m)), 1),
3109
- (p = t.value) != null && p.maximum_amount ? (l(), g(z, { key: 0 }, [
3096
+ O(h(B(g)), 1),
3097
+ (p = l.value) != null && p.maximum_amount ? (t(), u(z, { key: 0 }, [
3110
3098
  O(",")
3111
3099
  ], 64)) : b("", !0)
3112
3100
  ])
3113
3101
  ], 64)) : b("", !0),
3114
- (r = t.value) != null && r.maximum_amount ? (l(), g(z, { key: 1 }, [
3102
+ (r = l.value) != null && r.maximum_amount ? (t(), u(z, { key: 1 }, [
3115
3103
  S(J, {
3116
- value: t.value.maximum_amount,
3104
+ value: l.value.maximum_amount,
3117
3105
  highlighted: ""
3118
3106
  }, null, 8, ["value"]),
3119
- w("span", null, h(B(f)), 1)
3107
+ w("span", null, h(B(m)), 1)
3120
3108
  ], 64)) : b("", !0)
3121
3109
  ])) : b("", !0)
3122
3110
  ];
@@ -3135,7 +3123,7 @@ const ot = (e, i = {}) => {
3135
3123
  i18n: {}
3136
3124
  },
3137
3125
  setup(e) {
3138
- return (i, n) => e.expression ? (l(), g("div", Ro, [
3126
+ return (i, n) => e.expression ? (t(), u("div", Ro, [
3139
3127
  S(Z, {
3140
3128
  variant: "body-xs",
3141
3129
  weight: "semibold",
@@ -3204,9 +3192,9 @@ const ot = (e, i = {}) => {
3204
3192
  },
3205
3193
  emits: ["expand-toggled"],
3206
3194
  setup(e) {
3207
- const i = e, n = C(() => i.i18n ?? pn), t = C(() => ({
3195
+ const i = e, n = C(() => i.i18n ?? pn), l = C(() => ({
3208
3196
  tieringConditions: n.value.tieringConditions
3209
- })), c = C(
3197
+ })), f = C(
3210
3198
  () => {
3211
3199
  var $, v, P, x, V, y, D;
3212
3200
  return ((x = (P = (v = ($ = i.config.details) == null ? void 0 : $.bands) == null ? void 0 : v.find((I) => {
@@ -3214,15 +3202,15 @@ const ot = (e, i = {}) => {
3214
3202
  return (A = I.credits) == null ? void 0 : A.credit_type_id;
3215
3203
  })) == null ? void 0 : P.credits) == null ? void 0 : x.credit_type_id) ?? ((D = (y = (V = i.item.product_items) == null ? void 0 : V[0]) == null ? void 0 : y.credits) == null ? void 0 : D.credit_type_id);
3216
3204
  }
3217
- ), m = C(() => {
3205
+ ), g = C(() => {
3218
3206
  var $, v, P, x, V;
3219
- if (c.value) {
3220
- const y = ($ = i.creditTypesById) == null ? void 0 : $[c.value];
3207
+ if (f.value) {
3208
+ const y = ($ = i.creditTypesById) == null ? void 0 : $[f.value];
3221
3209
  if (y)
3222
3210
  return ((v = y.unit_name) == null ? void 0 : v.singular) || "unit";
3223
3211
  }
3224
3212
  return ((V = (x = (P = i.item.product_items) == null ? void 0 : P[0]) == null ? void 0 : x.unit_name) == null ? void 0 : V.singular) || "unit";
3225
- }), f = C(() => {
3213
+ }), m = C(() => {
3226
3214
  var $, v;
3227
3215
  const P = ($ = i.config.details) == null ? void 0 : $.pricing_type;
3228
3216
  if (P && ["TIERED", "TOP_TIERED"].includes(P) && ((v = i.config.details) != null && v.bands)) {
@@ -3234,7 +3222,7 @@ const ot = (e, i = {}) => {
3234
3222
  }), a = C(() => {
3235
3223
  var $;
3236
3224
  return Pe(i.config) ? "TIERED" : ln(i.config) ? "STAIR_STEP" : ($ = i.config.details) == null ? void 0 : $.pricing_type;
3237
- }), d = C(() => qe(i.config)), u = C(() => {
3225
+ }), d = C(() => qe(i.config)), c = C(() => {
3238
3226
  var $, v;
3239
3227
  return (v = ($ = i.config.details) == null ? void 0 : $.bands) == null ? void 0 : v.some((P) => P.block_size);
3240
3228
  }), s = C(
@@ -3261,9 +3249,9 @@ const ot = (e, i = {}) => {
3261
3249
  ), L = C(
3262
3250
  () => `Based on fallback currency – ${i.config.fallback_currency}`
3263
3251
  ), M = C(
3264
- () => 2 + (s.value ? 1 : 0) + (E.value ? 1 : 0) + (p.value ? 1 : 0) + (f.value ? 2 : 0) + (u.value ? 1 : 0)
3252
+ () => 2 + (s.value ? 1 : 0) + (E.value ? 1 : 0) + (p.value ? 1 : 0) + (m.value ? 2 : 0) + (c.value ? 1 : 0)
3265
3253
  );
3266
- return ($, v) => (l(), T(Xe, {
3254
+ return ($, v) => (t(), T(Xe, {
3267
3255
  "is-collapsible": e.isCollapsible,
3268
3256
  "is-expanded": e.isExpanded,
3269
3257
  "header-class": "tiered-rule-header flex items-start justify-between",
@@ -3271,7 +3259,7 @@ const ot = (e, i = {}) => {
3271
3259
  onToggle: v[0] || (v[0] = (P) => $.$emit("expand-toggled"))
3272
3260
  }, {
3273
3261
  header: o(() => [
3274
- _.value ? (l(), g("div", Uo, [
3262
+ _.value ? (t(), u("div", Uo, [
3275
3263
  S(ei, {
3276
3264
  config: e.config,
3277
3265
  i18n: n.value
@@ -3281,7 +3269,7 @@ const ot = (e, i = {}) => {
3281
3269
  ]),
3282
3270
  _: 3
3283
3271
  }, 8, ["config", "i18n"]),
3284
- N.value ? (l(), T(re, {
3272
+ N.value ? (t(), T(re, {
3285
3273
  key: 0,
3286
3274
  variant: "outline",
3287
3275
  placement: "top"
@@ -3307,7 +3295,7 @@ const ot = (e, i = {}) => {
3307
3295
  ]),
3308
3296
  _: 1
3309
3297
  })) : b("", !0),
3310
- e.config.split_pricing ? (l(), g("div", Fo, [
3298
+ e.config.split_pricing ? (t(), u("div", Fo, [
3311
3299
  S(Z, {
3312
3300
  variant: "label",
3313
3301
  tag: "span"
@@ -3332,7 +3320,7 @@ const ot = (e, i = {}) => {
3332
3320
  default: o(() => {
3333
3321
  var P, x, V, y;
3334
3322
  return [
3335
- d.value ? (l(), T(B(mn), {
3323
+ d.value ? (t(), T(B(mn), {
3336
3324
  key: 0,
3337
3325
  class: "mb-3 mt-1",
3338
3326
  i18n: n.value.topUpDescription,
@@ -3371,7 +3359,7 @@ const ot = (e, i = {}) => {
3371
3359
  _: 1
3372
3360
  })
3373
3361
  ]),
3374
- s.value ? (l(), g("th", Ko, [
3362
+ s.value ? (t(), u("th", Ko, [
3375
3363
  S(Z, { variant: "caps-heading" }, {
3376
3364
  default: o(() => [
3377
3365
  O(h(n.value.fixedAmount), 1)
@@ -3379,8 +3367,8 @@ const ot = (e, i = {}) => {
3379
3367
  _: 1
3380
3368
  })
3381
3369
  ])) : b("", !0),
3382
- E.value ? (l(), g("th", Jo, [
3383
- a.value === "STAIR_STEP" ? (l(), T(Z, {
3370
+ E.value ? (t(), u("th", Jo, [
3371
+ a.value === "STAIR_STEP" ? (t(), T(Z, {
3384
3372
  key: 0,
3385
3373
  variant: "caps-heading"
3386
3374
  }, {
@@ -3391,7 +3379,7 @@ const ot = (e, i = {}) => {
3391
3379
  ];
3392
3380
  }),
3393
3381
  _: 1
3394
- })) : u.value ? (l(), T(Z, {
3382
+ })) : c.value ? (t(), T(Z, {
3395
3383
  key: 1,
3396
3384
  variant: "caps-heading"
3397
3385
  }, {
@@ -3399,17 +3387,17 @@ const ot = (e, i = {}) => {
3399
3387
  O(h(n.value.price), 1)
3400
3388
  ]),
3401
3389
  _: 1
3402
- })) : e.config.details.bands && e.config.details.bands[0].amount || e.config.details.bands && e.config.details.bands[0].fixed_amount ? (l(), T(Z, {
3390
+ })) : e.config.details.bands && e.config.details.bands[0].amount || e.config.details.bands && e.config.details.bands[0].fixed_amount ? (t(), T(Z, {
3403
3391
  key: 2,
3404
3392
  variant: "caps-heading"
3405
3393
  }, {
3406
3394
  default: o(() => [
3407
- O(h(n.value.pricePerUnit(m.value)), 1)
3395
+ O(h(n.value.pricePerUnit(g.value)), 1)
3408
3396
  ]),
3409
3397
  _: 1
3410
3398
  })) : b("", !0)
3411
3399
  ])) : b("", !0),
3412
- p.value ? (l(), g("th", Xo, [
3400
+ p.value ? (t(), u("th", Xo, [
3413
3401
  S(Z, { variant: "caps-heading" }, {
3414
3402
  default: o(() => [
3415
3403
  O(h(n.value.percentage), 1)
@@ -3417,7 +3405,7 @@ const ot = (e, i = {}) => {
3417
3405
  _: 1
3418
3406
  })
3419
3407
  ])) : b("", !0),
3420
- f.value ? (l(), g(z, { key: 3 }, [
3408
+ m.value ? (t(), u(z, { key: 3 }, [
3421
3409
  w("th", Qo, [
3422
3410
  S(Z, { variant: "caps-heading" }, {
3423
3411
  default: o(() => [
@@ -3435,7 +3423,7 @@ const ot = (e, i = {}) => {
3435
3423
  })
3436
3424
  ])
3437
3425
  ], 64)) : b("", !0),
3438
- u.value ? (l(), g("th", ia, [
3426
+ c.value ? (t(), u("th", ia, [
3439
3427
  S(Z, { variant: "caps-heading" }, {
3440
3428
  default: o(() => [
3441
3429
  O(h(n.value.per), 1)
@@ -3446,29 +3434,29 @@ const ot = (e, i = {}) => {
3446
3434
  ])
3447
3435
  ]),
3448
3436
  w("tbody", null, [
3449
- (l(!0), g(z, null, Q(e.config.details.bands, (D, I) => {
3437
+ (t(!0), u(z, null, Q(e.config.details.bands, (D, I) => {
3450
3438
  var A, R, F, W, G, K;
3451
- return l(), g("tr", {
3439
+ return t(), u("tr", {
3452
3440
  key: I,
3453
3441
  class: "border-t"
3454
3442
  }, [
3455
3443
  w("td", na, [
3456
- (A = e.config.details) != null && A.bands ? (l(), g(z, { key: 0 }, [
3444
+ (A = e.config.details) != null && A.bands ? (t(), u(z, { key: 0 }, [
3457
3445
  O(h(B(ft)(n.value)((R = e.config.details) == null ? void 0 : R.bands[I - 1])), 1)
3458
3446
  ], 64)) : b("", !0)
3459
3447
  ]),
3460
3448
  w("td", ta, [
3461
- (F = e.config.details) != null && F.bands ? (l(), g(z, { key: 0 }, [
3449
+ (F = e.config.details) != null && F.bands ? (t(), u(z, { key: 0 }, [
3462
3450
  O(h(B(vt)(n.value)(D, (W = e.config.details) == null ? void 0 : W.bands, I)), 1)
3463
3451
  ], 64)) : b("", !0)
3464
3452
  ]),
3465
- s.value ? (l(), g("td", la, [
3466
- D.fixed_amount ? (l(), T(J, {
3453
+ s.value ? (t(), u("td", la, [
3454
+ D.fixed_amount ? (t(), T(J, {
3467
3455
  key: 0,
3468
3456
  value: D.fixed_amount,
3469
3457
  highlighted: ""
3470
3458
  }, null, 8, ["value"])) : b("", !0),
3471
- D.fixed_amount && ((G = e.config.details) != null && G.pricing_period) ? (l(), T(Z, {
3459
+ D.fixed_amount && ((G = e.config.details) != null && G.pricing_period) ? (t(), T(Z, {
3472
3460
  key: 1,
3473
3461
  tag: "span",
3474
3462
  class: "pl-1"
@@ -3482,13 +3470,13 @@ const ot = (e, i = {}) => {
3482
3470
  _: 1
3483
3471
  })) : b("", !0)
3484
3472
  ])) : b("", !0),
3485
- E.value ? (l(), g("td", aa, [
3486
- D.amount ? (l(), T(J, {
3473
+ E.value ? (t(), u("td", aa, [
3474
+ D.amount ? (t(), T(J, {
3487
3475
  key: 0,
3488
3476
  value: D.amount,
3489
3477
  highlighted: ""
3490
3478
  }, null, 8, ["value"])) : b("", !0),
3491
- D.amount && ((K = e.config.details) != null && K.pricing_period) ? (l(), T(Z, {
3479
+ D.amount && ((K = e.config.details) != null && K.pricing_period) ? (t(), T(Z, {
3492
3480
  key: 1,
3493
3481
  tag: "span",
3494
3482
  class: "pl-1"
@@ -3502,34 +3490,34 @@ const ot = (e, i = {}) => {
3502
3490
  _: 1
3503
3491
  })) : b("", !0)
3504
3492
  ])) : b("", !0),
3505
- p.value ? (l(), g("td", ra, [
3506
- D.percentage ? (l(), g(z, { key: 0 }, [
3493
+ p.value ? (t(), u("td", ra, [
3494
+ D.percentage ? (t(), u(z, { key: 0 }, [
3507
3495
  O(h(D.percentage) + "% ", 1)
3508
3496
  ], 64)) : b("", !0)
3509
3497
  ])) : b("", !0),
3510
- f.value ? (l(), g(z, { key: 3 }, [
3498
+ m.value ? (t(), u(z, { key: 3 }, [
3511
3499
  w("td", da, [
3512
- D.minimum_amount ? (l(), T(J, {
3500
+ D.minimum_amount ? (t(), T(J, {
3513
3501
  key: 0,
3514
3502
  value: D.minimum_amount
3515
- }, null, 8, ["value"])) : (l(), g(z, { key: 1 }, [
3503
+ }, null, 8, ["value"])) : (t(), u(z, { key: 1 }, [
3516
3504
  O(" ")
3517
3505
  ], 64))
3518
3506
  ]),
3519
3507
  w("td", ca, [
3520
- D.maximum_amount ? (l(), T(J, {
3508
+ D.maximum_amount ? (t(), T(J, {
3521
3509
  key: 0,
3522
3510
  value: D.maximum_amount
3523
- }, null, 8, ["value"])) : (l(), g(z, { key: 1 }, [
3511
+ }, null, 8, ["value"])) : (t(), u(z, { key: 1 }, [
3524
3512
  O(" ")
3525
3513
  ], 64))
3526
3514
  ])
3527
3515
  ], 64)) : b("", !0),
3528
- u.value ? (l(), g("td", ua, [
3529
- B(Ye)(D.block_size) ? (l(), T(J, {
3516
+ c.value ? (t(), u("td", ua, [
3517
+ B(Ye)(D.block_size) ? (t(), T(J, {
3530
3518
  key: 0,
3531
3519
  value: D.block_size.amount
3532
- }, null, 8, ["value"])) : B(Ie)(D.block_size) ? (l(), g(z, { key: 1 }, [
3520
+ }, null, 8, ["value"])) : B(Ie)(D.block_size) ? (t(), u(z, { key: 1 }, [
3533
3521
  O(h(n.value.formatNumber(+D.block_size.number)), 1)
3534
3522
  ], 64)) : b("", !0)
3535
3523
  ])) : b("", !0)
@@ -3538,17 +3526,17 @@ const ot = (e, i = {}) => {
3538
3526
  ])
3539
3527
  ])
3540
3528
  ]),
3541
- e.config.tiering_conditions ? (l(), T(Zo, {
3529
+ e.config.tiering_conditions ? (t(), T(Zo, {
3542
3530
  key: 1,
3543
3531
  class: "mt-2",
3544
- i18n: t.value,
3532
+ i18n: l.value,
3545
3533
  expression: e.config.tiering_conditions.expression
3546
3534
  }, null, 8, ["i18n", "expression"])) : b("", !0),
3547
- $.$slots.included || (x = (P = e.config.details) == null ? void 0 : P.billing_period) != null && x.type ? (l(), g("div", ga, [
3548
- $.$slots.included ? (l(), g("div", ma, [
3535
+ $.$slots.included || (x = (P = e.config.details) == null ? void 0 : P.billing_period) != null && x.type ? (t(), u("div", ga, [
3536
+ $.$slots.included ? (t(), u("div", ma, [
3549
3537
  k($.$slots, "included", {}, void 0, !0)
3550
3538
  ])) : b("", !0),
3551
- (y = (V = e.config.details) == null ? void 0 : V.billing_period) != null && y.type ? (l(), T(Z, {
3539
+ (y = (V = e.config.details) == null ? void 0 : V.billing_period) != null && y.type ? (t(), T(Z, {
3552
3540
  key: 1,
3553
3541
  tag: "div",
3554
3542
  variant: "body-sm",
@@ -3598,16 +3586,16 @@ const ot = (e, i = {}) => {
3598
3586
  mountInViewOnly: { type: Boolean }
3599
3587
  },
3600
3588
  setup(e) {
3601
- const i = e, n = dt(), t = C(() => i.mountInViewOnly ?? n), c = be(null), { shouldRender: m, placeholderStyle: f } = ot(c, {
3589
+ const i = e, n = ct(), l = C(() => i.mountInViewOnly ?? n), f = be(null), { shouldRender: g, placeholderStyle: m } = at(f, {
3602
3590
  estimatedHeight: Gn(i.config),
3603
- disabled: C(() => !t.value)
3604
- }), a = st({
3591
+ disabled: C(() => !l.value)
3592
+ }), a = rt({
3605
3593
  defaultCollapsed: i.canCollapseNestedConditions
3606
- }), d = C(() => a.isExpanded(i.config.id)), u = C(() => {
3594
+ }), d = C(() => a.isExpanded(i.config.id)), c = C(() => {
3607
3595
  var I;
3608
3596
  return (I = i.config.conditions) == null ? void 0 : I.configs;
3609
3597
  }), s = C(
3610
- () => !!i.canCollapseNestedConditions && !ie(u.value)
3598
+ () => !!i.canCollapseNestedConditions && !ie(c.value)
3611
3599
  ), E = () => {
3612
3600
  d.value ? a.collapse(i.config.id) : a.expand(Wn(i.config));
3613
3601
  }, p = () => {
@@ -3648,7 +3636,7 @@ const ot = (e, i = {}) => {
3648
3636
  return (I, A) => {
3649
3637
  var R, F, W, G, K;
3650
3638
  const oe = Tn("PricingItemConfig", !0);
3651
- return l(), g("div", {
3639
+ return t(), u("div", {
3652
3640
  class: H(["relative", {
3653
3641
  [`${e.rootClass}`]: e.rootClass,
3654
3642
  "mb-4 last:mb-0": N(e.config) && (((R = e.config.conditions) == null ? void 0 : R.meter_properties) || e.configIndex === 0 && e.item.configs && e.item.configs.length > 0),
@@ -3657,17 +3645,17 @@ const ot = (e, i = {}) => {
3657
3645
  }, [
3658
3646
  w("div", {
3659
3647
  ref_key: "bodyEl",
3660
- ref: c,
3661
- style: Bn(B(f))
3648
+ ref: f,
3649
+ style: Bn(B(m))
3662
3650
  }, [
3663
- B(m) ? (l(), g("div", ba, [
3651
+ B(g) ? (t(), u("div", ba, [
3664
3652
  w("div", {
3665
3653
  class: H({
3666
3654
  "conditions-with-context-menu": y.value
3667
3655
  })
3668
3656
  }, [
3669
- (F = e.config.details) != null && F.bands || (W = e.config.details) != null && W.pricing_type ? (l(), g(z, { key: 0 }, [
3670
- N(e.config) ? (l(), T(B(Lo), {
3657
+ (F = e.config.details) != null && F.bands || (W = e.config.details) != null && W.pricing_type ? (t(), u(z, { key: 0 }, [
3658
+ N(e.config) ? (t(), T(B(Lo), {
3671
3659
  key: 0,
3672
3660
  "is-combined-pricing": e.pricing.products && e.pricing.products.length > 1,
3673
3661
  "are-non-billable-items-visible": e.areNonBillableItemsVisible,
@@ -3688,7 +3676,7 @@ const ot = (e, i = {}) => {
3688
3676
  included: o(() => {
3689
3677
  var ee, ne, X, ce;
3690
3678
  return [
3691
- $(e.item) && ((ee = e.config.default_included_volume) != null && ee.amount) ? (l(), g("span", {
3679
+ $(e.item) && ((ee = e.config.default_included_volume) != null && ee.amount) ? (t(), u("span", {
3692
3680
  key: 0,
3693
3681
  class: "mt-1 text-right text-subtle",
3694
3682
  innerHTML: e.config.default_included_volume.reset_type === "BILLING_PERIOD" ? r.value.includedVolumeAmountPerBillingPeriod(
@@ -3697,7 +3685,7 @@ const ot = (e, i = {}) => {
3697
3685
  e.config.default_included_volume.amount
3698
3686
  )
3699
3687
  }, null, 8, ha)) : b("", !0),
3700
- v(e.item) && ((ne = e.config.default_included_volume) != null && ne.number) ? (l(), g("span", {
3688
+ v(e.item) && ((ne = e.config.default_included_volume) != null && ne.number) ? (t(), u("span", {
3701
3689
  key: 1,
3702
3690
  class: "mt-1 text-right text-subtle",
3703
3691
  innerHTML: e.config.default_included_volume.reset_type === "BILLING_PERIOD" ? r.value.includedVolumeUnitsPerBillingPeriod(
@@ -3708,7 +3696,7 @@ const ot = (e, i = {}) => {
3708
3696
  (ce = e.item.product_items) == null ? void 0 : ce[0].unit_name
3709
3697
  )
3710
3698
  }, null, 8, ya)) : b("", !0),
3711
- e.showDefaultValues && P(e.item, e.config) && D.value ? (l(), g("span", {
3699
+ e.showDefaultValues && P(e.item, e.config) && D.value ? (t(), u("span", {
3712
3700
  key: 2,
3713
3701
  class: "mt-1 text-right text-subtle",
3714
3702
  innerHTML: r.value.includedSeats(D.value)
@@ -3716,7 +3704,7 @@ const ot = (e, i = {}) => {
3716
3704
  ];
3717
3705
  }),
3718
3706
  _: 3
3719
- }, 8, ["is-combined-pricing", "are-non-billable-items-visible", "config", "item", "class", "i18n", "show-config-header", "show-default-values", "credit-types-by-id", "is-collapsible", "is-expanded"])) : L(e.config) ? (l(), T(B(pa), {
3707
+ }, 8, ["is-combined-pricing", "are-non-billable-items-visible", "config", "item", "class", "i18n", "show-config-header", "show-default-values", "credit-types-by-id", "is-collapsible", "is-expanded"])) : L(e.config) ? (t(), T(B(pa), {
3720
3708
  key: 1,
3721
3709
  "is-combined-pricing": e.pricing.products && e.pricing.products.length > 1,
3722
3710
  config: e.config,
@@ -3737,7 +3725,7 @@ const ot = (e, i = {}) => {
3737
3725
  included: o(() => {
3738
3726
  var ee, ne, X, ce;
3739
3727
  return [
3740
- $(e.item) && ((ee = e.config.default_included_volume) != null && ee.amount) ? (l(), g("span", {
3728
+ $(e.item) && ((ee = e.config.default_included_volume) != null && ee.amount) ? (t(), u("span", {
3741
3729
  key: 0,
3742
3730
  class: "mt-1 text-right text-subtle",
3743
3731
  innerHTML: e.config.default_included_volume.reset_type === "BILLING_PERIOD" ? r.value.includedVolumeAmountPerBillingPeriod(
@@ -3746,7 +3734,7 @@ const ot = (e, i = {}) => {
3746
3734
  e.config.default_included_volume.amount
3747
3735
  )
3748
3736
  }, null, 8, xa)) : b("", !0),
3749
- v(e.item) && ((ne = e.config.default_included_volume) != null && ne.number) ? (l(), g("span", {
3737
+ v(e.item) && ((ne = e.config.default_included_volume) != null && ne.number) ? (t(), u("span", {
3750
3738
  key: 1,
3751
3739
  class: "mt-1 text-right text-subtle",
3752
3740
  innerHTML: e.config.default_included_volume.reset_type === "BILLING_PERIOD" ? r.value.includedVolumeUnitsPerBillingPeriod(
@@ -3757,7 +3745,7 @@ const ot = (e, i = {}) => {
3757
3745
  (ce = e.item.product_items) == null ? void 0 : ce[0].unit_name
3758
3746
  )
3759
3747
  }, null, 8, $a)) : b("", !0),
3760
- e.showDefaultValues && P(e.item, e.config) && D.value ? (l(), g("span", {
3748
+ e.showDefaultValues && P(e.item, e.config) && D.value ? (t(), u("span", {
3761
3749
  key: 2,
3762
3750
  class: "mt-1 text-right text-subtle",
3763
3751
  innerHTML: r.value.includedSeats(D.value)
@@ -3765,7 +3753,7 @@ const ot = (e, i = {}) => {
3765
3753
  ];
3766
3754
  }),
3767
3755
  _: 3
3768
- }, 8, ["is-combined-pricing", "config", "item-index", "config-index", "item", "credit-types-by-id", "i18n", "show-config-header", "is-collapsible", "is-expanded"])) : M(e.config) ? (l(), T(B(Ao), {
3756
+ }, 8, ["is-combined-pricing", "config", "item-index", "config-index", "item", "credit-types-by-id", "i18n", "show-config-header", "is-collapsible", "is-expanded"])) : M(e.config) ? (t(), T(B(Ao), {
3769
3757
  key: 2,
3770
3758
  config: e.config,
3771
3759
  class: "mt-3",
@@ -3781,10 +3769,10 @@ const ot = (e, i = {}) => {
3781
3769
  }, 8, ["config", "show-config-header", "is-collapsible", "is-expanded"])) : b("", !0),
3782
3770
  I.$slots["pricing-item-config-additions"] && !B(Ue)(
3783
3771
  (K = (G = I.$slots)["pricing-item-config-additions"]) == null ? void 0 : K.call(G, V.value)
3784
- ) ? (l(), g("div", Pa, [
3772
+ ) ? (t(), u("div", Pa, [
3785
3773
  k(I.$slots, "pricing-item-config-additions", q(Y(V.value)), void 0, !0)
3786
3774
  ])) : b("", !0)
3787
- ], 64)) : e.showConfigHeader ? (l(), T(cn, {
3775
+ ], 64)) : e.showConfigHeader ? (t(), T(cn, {
3788
3776
  key: 1,
3789
3777
  "is-collapsible": s.value,
3790
3778
  "is-expanded": d.value,
@@ -3806,12 +3794,12 @@ const ot = (e, i = {}) => {
3806
3794
  _: 3
3807
3795
  }, 8, ["is-collapsible", "is-expanded"])) : b("", !0)
3808
3796
  ], 2),
3809
- y.value ? (l(), g("div", Ia, [
3797
+ y.value ? (t(), u("div", Ia, [
3810
3798
  k(I.$slots, "pricing-item-config-settings", j(V.value, { rootConfig: x.value }), void 0, !0)
3811
3799
  ])) : b("", !0)
3812
3800
  ])) : b("", !0)
3813
3801
  ], 4),
3814
- u.value && !B(ie)(u.value) ? (l(), T(_e, {
3802
+ c.value && !B(ie)(c.value) ? (t(), T(_e, {
3815
3803
  key: 0,
3816
3804
  "is-open": d.value,
3817
3805
  lazy: "",
@@ -3819,9 +3807,9 @@ const ot = (e, i = {}) => {
3819
3807
  class: "nesting-line relative mb-4 w-full pl-4 before:bottom-3 before:left-1.5"
3820
3808
  }, {
3821
3809
  default: o(() => [
3822
- (l(!0), g(z, null, Q([...u.value].sort(
3810
+ (t(!0), u(z, null, Q([...c.value].sort(
3823
3811
  (ee, ne) => ne.order - ee.order
3824
- ), (ee, ne) => (l(), g("div", {
3812
+ ), (ee, ne) => (t(), u("div", {
3825
3813
  key: ee.id,
3826
3814
  class: "print:mb-4 print:last:mb-0"
3827
3815
  }, [
@@ -3837,7 +3825,7 @@ const ot = (e, i = {}) => {
3837
3825
  "root-config": x.value,
3838
3826
  "credit-types-by-id": e.creditTypesById,
3839
3827
  "can-collapse-nested-conditions": e.canCollapseNestedConditions,
3840
- "mount-in-view-only": t.value
3828
+ "mount-in-view-only": l.value
3841
3829
  }, {
3842
3830
  "pricing-item-config-settings": o((X) => [
3843
3831
  k(I.$slots, "pricing-item-config-settings", j({ ref_for: !0 }, X), void 0, !0)
@@ -3872,12 +3860,12 @@ const ot = (e, i = {}) => {
3872
3860
  canCollapseNestedConditions: { type: Boolean }
3873
3861
  },
3874
3862
  setup(e) {
3875
- const i = ae(), n = e, t = be({}), c = (r) => r ? `${r.type}:${r.value}` : "none", m = (r) => {
3876
- t.value = {
3877
- ...t.value,
3878
- [r]: !t.value[r]
3863
+ const i = ae(), n = e, l = be({}), f = (r) => r ? `${r.type}:${r.value}` : "none", g = (r) => {
3864
+ l.value = {
3865
+ ...l.value,
3866
+ [r]: !l.value[r]
3879
3867
  };
3880
- }, f = (r) => !t.value[r], a = (r, _) => {
3868
+ }, m = (r) => !l.value[r], a = (r, _) => {
3881
3869
  if (!_)
3882
3870
  return null;
3883
3871
  const N = /* @__PURE__ */ new Map();
@@ -3886,16 +3874,16 @@ const ot = (e, i = {}) => {
3886
3874
  const P = ((M = L.details) == null ? void 0 : M.billing_period) ?? (($ = L.details) == null ? void 0 : $.pricing_period);
3887
3875
  if (!P)
3888
3876
  return;
3889
- const x = c(P);
3877
+ const x = f(P);
3890
3878
  N.has(x) || N.set(x, { billingPeriod: P, configs: [] }), (v = N.get(x)) == null || v.configs.push(L);
3891
3879
  }), Array.from(N.entries()).map(([L, M]) => ({
3892
3880
  key: L,
3893
3881
  ...M
3894
3882
  }));
3895
- }, d = (r) => [...r].sort((_, N) => N.order - _.order), u = (r) => {
3883
+ }, d = (r) => [...r].sort((_, N) => N.order - _.order), c = (r) => {
3896
3884
  var _;
3897
3885
  return s(r) ? (_ = r.billing_period_configs) != null && _.length ? r.billing_period_configs.map((N) => ({
3898
- key: c(N.billing_period),
3886
+ key: f(N.billing_period),
3899
3887
  billingPeriod: N.billing_period,
3900
3888
  configs: N.configs ?? []
3901
3889
  })) : a(Ce(r), !0) : a(Ce(r), !1);
@@ -3907,7 +3895,7 @@ const ot = (e, i = {}) => {
3907
3895
  var r;
3908
3896
  return ((r = n.pricing.items) == null ? void 0 : r.map((_) => ({
3909
3897
  id: _.id,
3910
- groups: u(_)
3898
+ groups: c(_)
3911
3899
  }))) ?? [];
3912
3900
  }
3913
3901
  ), p = (r) => {
@@ -3919,11 +3907,11 @@ const ot = (e, i = {}) => {
3919
3907
  );
3920
3908
  return Oe(r) || _ && !!n.areNonBillableItemsVisible;
3921
3909
  };
3922
- return (r, _) => (l(), g("div", null, [
3923
- (l(!0), g(z, null, Q(e.pricing.items, (N, L) => {
3910
+ return (r, _) => (t(), u("div", null, [
3911
+ (t(!0), u(z, null, Q(e.pricing.items, (N, L) => {
3924
3912
  var M;
3925
- return l(), g(z, { key: L }, [
3926
- p(N) ? (l(), g("div", {
3913
+ return t(), u(z, { key: L }, [
3914
+ p(N) ? (t(), u("div", {
3927
3915
  key: 0,
3928
3916
  class: H(["pricing-item-block pb-5 last:pb-3", { [`${e.itemClass}`]: e.itemClass, "print:hidden": !B(Oe)(N) }])
3929
3917
  }, [
@@ -3943,16 +3931,16 @@ const ot = (e, i = {}) => {
3943
3931
  ]),
3944
3932
  _: 2
3945
3933
  }, 1032, ["icon"]),
3946
- (M = E.value[L]) != null && M.groups ? (l(!0), g(z, { key: 0 }, Q(E.value[L].groups, ($) => {
3934
+ (M = E.value[L]) != null && M.groups ? (t(!0), u(z, { key: 0 }, Q(E.value[L].groups, ($) => {
3947
3935
  var v, P, x;
3948
- return l(), g("div", {
3936
+ return t(), u("div", {
3949
3937
  key: $.key,
3950
3938
  class: "mt-3 rounded border border-gray-100"
3951
3939
  }, [
3952
3940
  w("button", {
3953
3941
  type: "button",
3954
3942
  class: "flex w-full items-center justify-between px-4 py-2 text-left text-sm font-semibold text-secondary",
3955
- onClick: (V) => m($.key)
3943
+ onClick: (V) => g($.key)
3956
3944
  }, [
3957
3945
  w("span", null, [
3958
3946
  O(h((v = e.i18n) != null && v.formatBillingPeriod ? B(i).$t({
@@ -3963,18 +3951,18 @@ const ot = (e, i = {}) => {
3963
3951
  w("span", wa, h((x = (P = e.i18n) == null ? void 0 : P.formatBillingPeriod) == null ? void 0 : x.call(P, $.billingPeriod)), 1)
3964
3952
  ]),
3965
3953
  S(te, {
3966
- icon: f($.key) ? "unfold_less" : "unfold_more",
3954
+ icon: m($.key) ? "unfold_less" : "unfold_more",
3967
3955
  size: "sm",
3968
3956
  class: "print:hidden"
3969
3957
  }, null, 8, ["icon"])
3970
3958
  ], 8, Ea),
3971
3959
  S(_e, {
3972
- "is-open": f($.key),
3960
+ "is-open": m($.key),
3973
3961
  lazy: ""
3974
3962
  }, {
3975
3963
  default: o(() => [
3976
3964
  w("div", Sa, [
3977
- (l(!0), g(z, null, Q(d($.configs), (V, y) => (l(), T(Wi, {
3965
+ (t(!0), u(z, null, Q(d($.configs), (V, y) => (t(), T(Wi, {
3978
3966
  key: V.id,
3979
3967
  pricing: e.pricing,
3980
3968
  item: N,
@@ -4004,9 +3992,9 @@ const ot = (e, i = {}) => {
4004
3992
  _: 2
4005
3993
  }, 1032, ["is-open"])
4006
3994
  ]);
4007
- }), 128)) : (l(!0), g(z, { key: 1 }, Q(d(
3995
+ }), 128)) : (t(!0), u(z, { key: 1 }, Q(d(
4008
3996
  B(Ce)(N) ?? []
4009
- ), ($, v) => (l(), T(Wi, {
3997
+ ), ($, v) => (t(), T(Wi, {
4010
3998
  key: $.id,
4011
3999
  pricing: e.pricing,
4012
4000
  item: N,
@@ -4070,34 +4058,34 @@ const ot = (e, i = {}) => {
4070
4058
  setup(e) {
4071
4059
  const i = e;
4072
4060
  Ge("pricingId", i.pricing.id);
4073
- const n = C(() => i.i18n ?? yn), t = C(
4061
+ const n = C(() => i.i18n ?? yn), l = C(
4074
4062
  () => {
4075
4063
  var d;
4076
- return (d = i.pricing.items) == null ? void 0 : d.filter((u) => Rn(u.product_items));
4064
+ return (d = i.pricing.items) == null ? void 0 : d.filter((c) => Rn(c.product_items));
4077
4065
  }
4078
- ), c = C(() => {
4066
+ ), f = C(() => {
4079
4067
  var d;
4080
- return !((d = t.value) != null && d.some(Oe));
4081
- }), m = C(
4068
+ return !((d = l.value) != null && d.some(Oe));
4069
+ }), g = C(
4082
4070
  () => {
4083
4071
  var d;
4084
4072
  return ((d = i.pricing.entitlements) == null ? void 0 : d.every(zi)) ?? !1;
4085
4073
  }
4086
- ), f = C(
4074
+ ), m = C(
4087
4075
  () => {
4088
4076
  var d;
4089
- return (d = i.pricing.items) == null ? void 0 : d.filter((u) => zn(u.product_items));
4077
+ return (d = i.pricing.items) == null ? void 0 : d.filter((c) => zn(c.product_items));
4090
4078
  }
4091
4079
  ), a = C(() => {
4092
4080
  var d;
4093
- return !((d = f.value) != null && d.some(Oe));
4081
+ return !((d = m.value) != null && d.some(Oe));
4094
4082
  });
4095
- return (d, u) => (l(), g("div", null, [
4083
+ return (d, c) => (t(), u("div", null, [
4096
4084
  k(d.$slots, "pricing-item-warning", {}, void 0, !0),
4097
- B(ie)(t.value) ? b("", !0) : (l(), g(z, { key: 0 }, [
4098
- B(ie)(e.pricing.items) ? b("", !0) : (l(), T(Ae, {
4085
+ B(ie)(l.value) ? b("", !0) : (t(), u(z, { key: 0 }, [
4086
+ B(ie)(e.pricing.items) ? b("", !0) : (t(), T(Ae, {
4099
4087
  key: 0,
4100
- class: H(["section-label my-3", { "print:hidden": c.value }])
4088
+ class: H(["section-label my-3", { "print:hidden": f.value }])
4101
4089
  }, {
4102
4090
  default: o(() => [
4103
4091
  w("h3", Da, [
@@ -4108,7 +4096,7 @@ const ot = (e, i = {}) => {
4108
4096
  _: 1
4109
4097
  }, 8, ["class"])),
4110
4098
  S(Yi, {
4111
- pricing: { ...e.pricing, items: t.value },
4099
+ pricing: { ...e.pricing, items: l.value },
4112
4100
  "grouped-pricing-item-ids": e.groupedPricingItemIds,
4113
4101
  i18n: n.value,
4114
4102
  "are-non-billable-items-visible": e.areNonBillableItemsVisible,
@@ -4131,8 +4119,8 @@ const ot = (e, i = {}) => {
4131
4119
  _: 3
4132
4120
  }, 8, ["pricing", "grouped-pricing-item-ids", "i18n", "are-non-billable-items-visible", "schedule", "credit-types-by-id", "can-collapse-nested-conditions"])
4133
4121
  ], 64)),
4134
- B(ie)(f.value) ? b("", !0) : (l(), g(z, { key: 1 }, [
4135
- e.pricing.items && e.pricing.items.length > 0 ? (l(), T(Ae, {
4122
+ B(ie)(m.value) ? b("", !0) : (t(), u(z, { key: 1 }, [
4123
+ e.pricing.items && e.pricing.items.length > 0 ? (t(), T(Ae, {
4136
4124
  key: 0,
4137
4125
  class: H(["section-label mb-3 mt-6", { "print:hidden": a.value }])
4138
4126
  }, {
@@ -4142,7 +4130,7 @@ const ot = (e, i = {}) => {
4142
4130
  _: 1
4143
4131
  }, 8, ["class"])) : b("", !0),
4144
4132
  S(Yi, {
4145
- pricing: { ...e.pricing, items: f.value },
4133
+ pricing: { ...e.pricing, items: m.value },
4146
4134
  "grouped-pricing-item-ids": e.groupedPricingItemIds,
4147
4135
  i18n: n.value,
4148
4136
  "are-non-billable-items-visible": e.areNonBillableItemsVisible,
@@ -4164,14 +4152,14 @@ const ot = (e, i = {}) => {
4164
4152
  _: 3
4165
4153
  }, 8, ["pricing", "grouped-pricing-item-ids", "i18n", "are-non-billable-items-visible", "credit-types-by-id", "can-collapse-nested-conditions"])
4166
4154
  ], 64)),
4167
- B(ie)(e.pricing.entitlements) ? b("", !0) : (l(), g("div", {
4155
+ B(ie)(e.pricing.entitlements) ? b("", !0) : (t(), u("div", {
4168
4156
  key: 2,
4169
- class: H(["mt-2", { "print:hidden": m.value }])
4157
+ class: H(["mt-2", { "print:hidden": g.value }])
4170
4158
  }, [
4171
4159
  S(Ae, { class: "section-label relative" }, {
4172
4160
  default: o(() => [
4173
4161
  w("h3", Va, h(n.value.features), 1),
4174
- d.$slots["pricing-entitlements-settings"] ? (l(), g("div", Ma, [
4162
+ d.$slots["pricing-entitlements-settings"] ? (t(), u("div", Ma, [
4175
4163
  w("div", Aa, [
4176
4164
  k(d.$slots, "pricing-entitlements-settings", { pricing: e.pricing }, void 0, !0)
4177
4165
  ])
@@ -4180,19 +4168,19 @@ const ot = (e, i = {}) => {
4180
4168
  _: 3
4181
4169
  }),
4182
4170
  w("ul", Ra, [
4183
- (l(!0), g(z, null, Q(e.pricing.entitlements, (s) => (l(), g("li", {
4171
+ (t(!0), u(z, null, Q(e.pricing.entitlements, (s) => (t(), u("li", {
4184
4172
  key: s.feature_id,
4185
4173
  class: H(["flex items-center justify-between py-2", { "print:hidden": B(zi)(s) }])
4186
4174
  }, [
4187
4175
  w("span", za, h(s.feature.name), 1),
4188
- s.feature.type === B($e).AMOUNT && s.amount ? (l(), T(J, {
4176
+ s.feature.type === B($e).AMOUNT && s.amount ? (t(), T(J, {
4189
4177
  key: 0,
4190
4178
  value: s.amount,
4191
4179
  highlighted: ""
4192
4180
  }, null, 8, ["value"])) : b("", !0),
4193
- s.feature.type === B($e).NUMBER && s.number ? (l(), g("span", Za, h(s.number), 1)) : b("", !0),
4194
- s.feature.type === B($e).STRING && s.string ? (l(), g("span", Ua, h(s.string), 1)) : b("", !0),
4195
- s.feature.type === B($e).SWITCH && "switch" in s ? (l(), g("div", {
4181
+ s.feature.type === B($e).NUMBER && s.number ? (t(), u("span", Za, h(s.number), 1)) : b("", !0),
4182
+ s.feature.type === B($e).STRING && s.string ? (t(), u("span", Ua, h(s.string), 1)) : b("", !0),
4183
+ s.feature.type === B($e).SWITCH && "switch" in s ? (t(), u("div", {
4196
4184
  key: 3,
4197
4185
  class: H(["inline-block rounded-full leading-[0.5] text-white", s.switch ? "bg-primary-600" : "bg-red-500"])
4198
4186
  }, [
@@ -4201,7 +4189,7 @@ const ot = (e, i = {}) => {
4201
4189
  size: "xs"
4202
4190
  }, null, 8, ["icon"])
4203
4191
  ], 2)) : b("", !0),
4204
- s.feature.type === B($e).ENUM && s.enum ? (l(), g("span", Fa, h(s.enum), 1)) : b("", !0)
4192
+ s.feature.type === B($e).ENUM && s.enum ? (t(), u("span", Fa, h(s.enum), 1)) : b("", !0)
4205
4193
  ], 2))), 128))
4206
4194
  ])
4207
4195
  ], 2))
@@ -4264,11 +4252,11 @@ const ot = (e, i = {}) => {
4264
4252
  },
4265
4253
  emits: ["pricing-toggled", "pricing-toggle"],
4266
4254
  setup(e, { emit: i }) {
4267
- const n = e, t = i, c = C(() => n.i18n ?? _n);
4255
+ const n = e, l = i, f = C(() => n.i18n ?? _n);
4268
4256
  Ge("pricingId", n.pricing.id);
4269
- const m = sn({
4257
+ const g = sn({
4270
4258
  defaultCollapsed: n.canCollapseNestedConditions
4271
- }), f = (v) => [
4259
+ }), m = (v) => [
4272
4260
  ...v.configs ?? [],
4273
4261
  ...(v.billing_period_configs ?? []).flatMap((P) => P.configs ?? []),
4274
4262
  ...(v.pricing_currency_configs ?? []).flatMap((P) => [
@@ -4276,12 +4264,12 @@ const ot = (e, i = {}) => {
4276
4264
  ...(P.billing_period_configs ?? []).flatMap((x) => x.configs ?? [])
4277
4265
  ])
4278
4266
  ], a = C(
4279
- () => (n.pricing.items ?? []).flatMap(f).flatMap((v) => Le(v)).filter((v) => {
4267
+ () => (n.pricing.items ?? []).flatMap(m).flatMap((v) => Le(v)).filter((v) => {
4280
4268
  var P;
4281
4269
  return !ie((P = v.conditions) == null ? void 0 : P.configs);
4282
4270
  }).map((v) => v.id)
4283
- ), d = C(() => a.value.length > 0), u = C(
4284
- () => a.value.every((v) => m.isExpanded(v))
4271
+ ), d = C(() => a.value.length > 0), c = C(
4272
+ () => a.value.every((v) => g.isExpanded(v))
4285
4273
  ), s = be(!!n.defaultExpanded);
4286
4274
  Be(
4287
4275
  () => n.defaultExpanded,
@@ -4290,23 +4278,23 @@ const ot = (e, i = {}) => {
4290
4278
  }
4291
4279
  );
4292
4280
  const E = (v) => {
4293
- s.value !== v && (s.value = v, t("pricing-toggle", n.pricing.id));
4281
+ s.value !== v && (s.value = v, l("pricing-toggle", n.pricing.id));
4294
4282
  }, p = C(
4295
4283
  () => !!n.canCollapseNestedConditions && d.value
4296
- ), r = C(() => s.value && u.value), _ = C(
4297
- () => r.value ? c.value.collapseAllConditions ?? "Collapse all" : c.value.expandAllConditions ?? "Expand all"
4284
+ ), r = C(() => s.value && c.value), _ = C(
4285
+ () => r.value ? f.value.collapseAllConditions ?? "Collapse all" : f.value.expandAllConditions ?? "Expand all"
4298
4286
  ), N = () => {
4299
4287
  if (r.value) {
4300
- m.collapseAll(), E(!1);
4288
+ g.collapseAll(), E(!1);
4301
4289
  return;
4302
4290
  }
4303
- E(!0), m.expandAll();
4291
+ E(!0), g.expandAll();
4304
4292
  }, L = (v) => v.status === "DEPRECATED", M = C(
4305
4293
  () => (n.pricing.items || []).flatMap((v) => v.product_items || []).some(L)
4306
4294
  ), $ = C(
4307
4295
  () => (n.pricing.items || []).flatMap((v) => v.product_items || []).every(L)
4308
4296
  );
4309
- return (v, P) => (l(), T(Al, {
4297
+ return (v, P) => (t(), T(Al, {
4310
4298
  class: H(["flex flex-col justify-between", { "print:hidden": !B(Zn)(e.pricing) }]),
4311
4299
  "capped-width": "",
4312
4300
  "is-controlled": "",
@@ -4329,29 +4317,29 @@ const ot = (e, i = {}) => {
4329
4317
  variant: "body-sm"
4330
4318
  }, {
4331
4319
  default: o(() => [
4332
- O(h(B(ct)(e.pricing, !(e.pricing.products && e.pricing.products.length > 1))), 1)
4320
+ O(h(B(ut)(e.pricing, !(e.pricing.products && e.pricing.products.length > 1))), 1)
4333
4321
  ]),
4334
4322
  _: 1
4335
4323
  })
4336
4324
  ]),
4337
4325
  "title-suffix": o(() => [
4338
- e.pricing.products && e.pricing.products.length > 1 ? (l(), T(le, {
4326
+ e.pricing.products && e.pricing.products.length > 1 ? (t(), T(le, {
4339
4327
  key: 0,
4340
4328
  intent: "info",
4341
4329
  class: "ml-2 align-middle"
4342
4330
  }, {
4343
4331
  default: o(() => [
4344
- O(h(c.value.volumePooling), 1)
4332
+ O(h(f.value.volumePooling), 1)
4345
4333
  ]),
4346
4334
  _: 1
4347
4335
  })) : b("", !0),
4348
- e.showAddonChip && e.pricing.product_type && e.pricing.product_type === "ADDON" ? (l(), T(le, {
4336
+ e.showAddonChip && e.pricing.product_type && e.pricing.product_type === "ADDON" ? (t(), T(le, {
4349
4337
  key: 1,
4350
4338
  intent: "info",
4351
4339
  class: "ml-2 align-middle"
4352
4340
  }, {
4353
4341
  default: o(() => [
4354
- O(h(c.value.addon), 1)
4342
+ O(h(f.value.addon), 1)
4355
4343
  ]),
4356
4344
  _: 1
4357
4345
  })) : b("", !0),
@@ -4362,7 +4350,7 @@ const ot = (e, i = {}) => {
4362
4350
  right: o(() => [
4363
4351
  w("div", Ya, [
4364
4352
  k(v.$slots, "right"),
4365
- p.value ? (l(), T(B(De), {
4353
+ p.value ? (t(), T(B(De), {
4366
4354
  key: 0,
4367
4355
  intent: "secondary",
4368
4356
  size: "xs",
@@ -4379,13 +4367,13 @@ const ot = (e, i = {}) => {
4379
4367
  default: o(() => [
4380
4368
  S(Je, { spacing: "none" }, {
4381
4369
  default: o(() => [
4382
- v.$slots["pricing-note"] ? (l(), g("div", Ka, [
4370
+ v.$slots["pricing-note"] ? (t(), u("div", Ka, [
4383
4371
  k(v.$slots, "pricing-note")
4384
4372
  ])) : b("", !0),
4385
4373
  S(Ga, {
4386
4374
  pricing: e.pricing,
4387
4375
  "grouped-pricing-item-ids": e.groupedPricingItemIds,
4388
- i18n: c.value,
4376
+ i18n: f.value,
4389
4377
  "are-non-billable-items-visible": e.showNonBillable,
4390
4378
  schedule: e.schedule,
4391
4379
  "credit-types-by-id": e.creditTypesById,
@@ -4395,20 +4383,20 @@ const ot = (e, i = {}) => {
4395
4383
  k(v.$slots, "pricing-item-header", { item: x })
4396
4384
  ]),
4397
4385
  "pricing-item-warning": o(() => [
4398
- $.value ? (l(), T(ze, {
4386
+ $.value ? (t(), T(ze, {
4399
4387
  key: 0,
4400
4388
  type: "warning"
4401
4389
  }, {
4402
4390
  default: o(() => [
4403
- O(h(c.value.allItemsDeprecatedWarning), 1)
4391
+ O(h(f.value.allItemsDeprecatedWarning), 1)
4404
4392
  ]),
4405
4393
  _: 1
4406
- })) : M.value ? (l(), T(ze, {
4394
+ })) : M.value ? (t(), T(ze, {
4407
4395
  key: 1,
4408
4396
  type: "warning"
4409
4397
  }, {
4410
4398
  default: o(() => [
4411
- O(h(c.value.someItemsDeprecatedWarning), 1)
4399
+ O(h(f.value.someItemsDeprecatedWarning), 1)
4412
4400
  ]),
4413
4401
  _: 1
4414
4402
  })) : b("", !0)
@@ -4442,7 +4430,7 @@ const ot = (e, i = {}) => {
4442
4430
  isEnabled: { type: Boolean }
4443
4431
  },
4444
4432
  setup(e) {
4445
- return (i, n) => (l(), T(Ve, {
4433
+ return (i, n) => (t(), T(Ve, {
4446
4434
  spacing: e.isEnabled ? "sm" : "none",
4447
4435
  "border-style": e.isEnabled ? "solid" : "dashed"
4448
4436
  }, {
@@ -4452,7 +4440,7 @@ const ot = (e, i = {}) => {
4452
4440
  title: e.pricingGroup.name
4453
4441
  }, {
4454
4442
  "title-suffix": o(() => [
4455
- e.pricingGroup.product_type && e.pricingGroup.product_type === "ADDON" ? (l(), T(le, {
4443
+ e.pricingGroup.product_type && e.pricingGroup.product_type === "ADDON" ? (t(), T(le, {
4456
4444
  key: 0,
4457
4445
  intent: "info",
4458
4446
  class: "ml-2 align-middle print:hidden"
@@ -4504,18 +4492,18 @@ const ot = (e, i = {}) => {
4504
4492
  },
4505
4493
  emits: ["update-enabled-pricing"],
4506
4494
  setup(e, { emit: i }) {
4507
- const n = e, t = i, c = C(
4495
+ const n = e, l = i, f = C(
4508
4496
  () => {
4509
4497
  var p, r, _;
4510
4498
  return (_ = (r = (p = n.schedule) == null ? void 0 : p.enabled_pricings) == null ? void 0 : r.find(
4511
4499
  (N) => n.pricingGroup.pricings.some((L) => L.id === N.pricing_id)
4512
4500
  )) == null ? void 0 : _.pricing_id;
4513
4501
  }
4514
- ), m = (p) => {
4515
- t("update-enabled-pricing", c.value, p ?? "");
4516
- }, f = C(() => n.pricingGroup.pricings.map((p) => ({
4502
+ ), g = (p) => {
4503
+ l("update-enabled-pricing", f.value, p ?? "");
4504
+ }, m = C(() => n.pricingGroup.pricings.map((p) => ({
4517
4505
  value: p.id
4518
- }))), { renderPricingForPricingItem: a } = Kn(), d = C(() => n.pricingGroup.pricings.find((p) => p.id === c.value)), u = C(() => d.value ?? n.pricingGroup.pricings[0]), s = C(() => {
4506
+ }))), { renderPricingForPricingItem: a } = Kn(), d = C(() => n.pricingGroup.pricings.find((p) => p.id === f.value)), c = C(() => d.value ?? n.pricingGroup.pricings[0]), s = C(() => {
4519
4507
  var p, r, _, N;
4520
4508
  return (r = (p = d.value) == null ? void 0 : p.items) != null && r[0] ? a({ pricingItem: (N = (_ = d.value) == null ? void 0 : _.items) == null ? void 0 : N[0] }) : "";
4521
4509
  }), E = C(
@@ -4527,8 +4515,8 @@ const ot = (e, i = {}) => {
4527
4515
  )
4528
4516
  );
4529
4517
  return Ji(() => {
4530
- c.value || m(u.value.id);
4531
- }), (p, r) => (l(), T(B(kn), {
4518
+ f.value || g(c.value.id);
4519
+ }), (p, r) => (t(), T(B(kn), {
4532
4520
  "pricing-group": e.pricingGroup,
4533
4521
  "is-enabled": e.isEnabled
4534
4522
  }, {
@@ -4541,10 +4529,10 @@ const ot = (e, i = {}) => {
4541
4529
  k(p.$slots, "pricing-group-settings", { pricingGroup: e.pricingGroup })
4542
4530
  ]),
4543
4531
  pricings: o(() => [
4544
- u.value ? (l(), T(B(He), {
4532
+ c.value ? (t(), T(B(He), {
4545
4533
  key: 0,
4546
4534
  "default-expanded": !0,
4547
- pricing: u.value,
4535
+ pricing: c.value,
4548
4536
  "pricing-plan-version-id": e.pricingPlanVersion.id,
4549
4537
  "pricing-plan-id": e.pricingPlanVersion.pricing_plan_id,
4550
4538
  "show-non-billable": e.showNonBillable,
@@ -4557,13 +4545,13 @@ const ot = (e, i = {}) => {
4557
4545
  }, {
4558
4546
  "pre-header": o(() => [
4559
4547
  S(Jn, {
4560
- "model-value": c.value,
4561
- options: f.value,
4548
+ "model-value": f.value,
4549
+ options: m.value,
4562
4550
  name: "pricing-group-single-select",
4563
4551
  variant: "stepped-ghost",
4564
4552
  size: "lg",
4565
4553
  class: "border-b",
4566
- "onUpdate:modelValue": m
4554
+ "onUpdate:modelValue": g
4567
4555
  }, null, 8, ["model-value", "options"])
4568
4556
  ]),
4569
4557
  "pricing-note": o(() => [
@@ -4577,11 +4565,11 @@ const ot = (e, i = {}) => {
4577
4565
  ]),
4578
4566
  id: o(() => [
4579
4567
  k(p.$slots, "pricing-title-suffix", {
4580
- id: u.value.id
4568
+ id: c.value.id
4581
4569
  })
4582
4570
  ]),
4583
4571
  right: o(() => [
4584
- s.value ? (l(), T(Z, {
4572
+ s.value ? (t(), T(Z, {
4585
4573
  key: 0,
4586
4574
  variant: "body-xs",
4587
4575
  color: "secondary",
@@ -4637,7 +4625,7 @@ const ot = (e, i = {}) => {
4637
4625
  },
4638
4626
  emits: ["pricing-toggle", "pricing-toggled", "delete-pricing", "update-enabled-pricing"],
4639
4627
  setup(e) {
4640
- const i = e, n = C(() => i.i18n ?? $n), t = C(() => i.enabledPricings ?? []), c = C(
4628
+ const i = e, n = C(() => i.i18n ?? $n), l = C(() => i.enabledPricings ?? []), f = C(
4641
4629
  () => {
4642
4630
  var a;
4643
4631
  return Object.fromEntries(
@@ -4647,17 +4635,17 @@ const ot = (e, i = {}) => {
4647
4635
  ])
4648
4636
  );
4649
4637
  }
4650
- ), m = (a) => a.product_type === "DEFAULT" || a.pricings.some((d) => t.value.includes(d.id)), f = (a) => a.product_type === "DEFAULT" || t.value.includes(a.id);
4651
- return (a, d) => (l(), g(z, null, [
4638
+ ), g = (a) => a.product_type === "DEFAULT" || a.pricings.some((d) => l.value.includes(d.id)), m = (a) => a.product_type === "DEFAULT" || l.value.includes(a.id);
4639
+ return (a, d) => (t(), u(z, null, [
4652
4640
  k(a.$slots, "header", {}, void 0, !0),
4653
- e.pricingPlanVersion && (!e.pricingPlanVersion.pricing_categories || e.pricingPlanVersion.pricing_categories.length === 0) ? k(a.$slots, "empty-state", {}, void 0, !0, 0) : e.pricingPlanVersion ? (l(!0), g(z, { key: 1 }, Q(e.pricingPlanVersion.pricing_categories ?? [], (u, s) => {
4641
+ e.pricingPlanVersion && (!e.pricingPlanVersion.pricing_categories || e.pricingPlanVersion.pricing_categories.length === 0) ? k(a.$slots, "empty-state", {}, void 0, !0, 0) : e.pricingPlanVersion ? (t(!0), u(z, { key: 1 }, Q(e.pricingPlanVersion.pricing_categories ?? [], (c, s) => {
4654
4642
  var E, p;
4655
- return l(), g("div", {
4656
- key: u.product_category_id,
4643
+ return t(), u("div", {
4644
+ key: c.product_category_id,
4657
4645
  class: H({ "mt-6": s > 0 })
4658
4646
  }, [
4659
- (E = u.product_category) != null && E.name ? (l(), g("h2", Qa, [
4660
- w("span", es, h((p = u.product_category) == null ? void 0 : p.name), 1),
4647
+ (E = c.product_category) != null && E.name ? (t(), u("h2", Qa, [
4648
+ w("span", es, h((p = c.product_category) == null ? void 0 : p.name), 1),
4661
4649
  w("div", null, [
4662
4650
  S(le, {
4663
4651
  size: "sm",
@@ -4668,7 +4656,7 @@ const ot = (e, i = {}) => {
4668
4656
  var r, _;
4669
4657
  return [
4670
4658
  O(h(n.value.productsCount(
4671
- (((r = u.pricing_groups) == null ? void 0 : r.length) ?? 0) + (((_ = u.pricings) == null ? void 0 : _.length) ?? 0)
4659
+ (((r = c.pricing_groups) == null ? void 0 : r.length) ?? 0) + (((_ = c.pricings) == null ? void 0 : _.length) ?? 0)
4672
4660
  )), 1)
4673
4661
  ];
4674
4662
  }),
@@ -4677,14 +4665,14 @@ const ot = (e, i = {}) => {
4677
4665
  ])
4678
4666
  ])) : b("", !0),
4679
4667
  w("div", is, [
4680
- (l(!0), g(z, null, Q(u.pricing_groups, (r) => (l(), g(z, {
4668
+ (t(!0), u(z, null, Q(c.pricing_groups, (r) => (t(), u(z, {
4681
4669
  key: r.id
4682
4670
  }, [
4683
- e.enablePricingGroupSelection && r.selection_constraint === "EXACTLY_ONE" && r.pricings.length >= ts ? (l(), T(Xa, {
4671
+ e.enablePricingGroupSelection && r.selection_constraint === "EXACTLY_ONE" && r.pricings.length >= ts ? (t(), T(Xa, {
4684
4672
  key: 0,
4685
4673
  "pricing-group": r,
4686
4674
  "pricing-plan-version": e.pricingPlanVersion,
4687
- "is-enabled": m(r),
4675
+ "is-enabled": g(r),
4688
4676
  i18n: n.value,
4689
4677
  schedule: e.schedule,
4690
4678
  "show-non-billable": e.showNonBillable,
@@ -4699,10 +4687,10 @@ const ot = (e, i = {}) => {
4699
4687
  k(a.$slots, "pricing-group-settings", { pricingGroup: r }, void 0, !0)
4700
4688
  ]),
4701
4689
  _: 2
4702
- }, 1032, ["pricing-group", "pricing-plan-version", "is-enabled", "i18n", "schedule", "show-non-billable"])) : (l(), T(B(kn), {
4690
+ }, 1032, ["pricing-group", "pricing-plan-version", "is-enabled", "i18n", "schedule", "show-non-billable"])) : (t(), T(B(kn), {
4703
4691
  key: 1,
4704
4692
  "pricing-group": r,
4705
- "is-enabled": m(r),
4693
+ "is-enabled": g(r),
4706
4694
  i18n: n.value
4707
4695
  }, {
4708
4696
  id: o(() => [
@@ -4715,9 +4703,9 @@ const ot = (e, i = {}) => {
4715
4703
  ]),
4716
4704
  pricings: o(() => [
4717
4705
  w("div", ns, [
4718
- (l(!0), g(z, null, Q(r.pricings, (_) => {
4706
+ (t(!0), u(z, null, Q(r.pricings, (_) => {
4719
4707
  var N, L;
4720
- return l(), T(B(He), {
4708
+ return t(), T(B(He), {
4721
4709
  key: _.id,
4722
4710
  "default-expanded": e.defaultExpanded === !0 || ((N = e.expandedPricings) == null ? void 0 : N.includes(_.id)),
4723
4711
  pricing: _,
@@ -4729,8 +4717,8 @@ const ot = (e, i = {}) => {
4729
4717
  class: "flex flex-col",
4730
4718
  i18n: n.value,
4731
4719
  "show-addon-chip": !1,
4732
- "is-enabled": f(_),
4733
- "credit-types-by-id": c.value,
4720
+ "is-enabled": m(_),
4721
+ "credit-types-by-id": f.value,
4734
4722
  "can-collapse-nested-conditions": e.canCollapseNestedConditions,
4735
4723
  onPricingToggled: (M) => a.$emit("pricing-toggled", _.id, M),
4736
4724
  onPricingToggle: d[1] || (d[1] = (M) => a.$emit("pricing-toggle", M))
@@ -4778,9 +4766,9 @@ const ot = (e, i = {}) => {
4778
4766
  _: 2
4779
4767
  }, 1032, ["pricing-group", "is-enabled", "i18n"]))
4780
4768
  ], 64))), 128)),
4781
- (l(!0), g(z, null, Q(u.pricings, (r) => {
4769
+ (t(!0), u(z, null, Q(c.pricings, (r) => {
4782
4770
  var _, N;
4783
- return l(), T(B(He), {
4771
+ return t(), T(B(He), {
4784
4772
  key: r.id,
4785
4773
  "default-expanded": e.defaultExpanded === !0 || ((_ = e.expandedPricings) == null ? void 0 : _.includes(r.id)),
4786
4774
  pricing: r,
@@ -4791,8 +4779,8 @@ const ot = (e, i = {}) => {
4791
4779
  "is-customized-plan": !!e.pricingPlanVersion.copied_from_pricing_plan_version_id,
4792
4780
  class: "flex flex-col",
4793
4781
  i18n: n.value,
4794
- "is-enabled": f(r),
4795
- "credit-types-by-id": c.value,
4782
+ "is-enabled": m(r),
4783
+ "credit-types-by-id": f.value,
4796
4784
  schedule: e.schedule,
4797
4785
  "can-collapse-nested-conditions": e.canCollapseNestedConditions,
4798
4786
  onPricingToggled: (L) => a.$emit("pricing-toggled", r.id, L),
@@ -4846,6 +4834,7 @@ const ot = (e, i = {}) => {
4846
4834
  props: {
4847
4835
  schedules: {},
4848
4836
  isEditable: { type: Boolean },
4837
+ canAddSchedule: { type: Boolean, default: !0 },
4849
4838
  openScheduleId: {},
4850
4839
  i18n: {},
4851
4840
  displayDisabledAddonPricings: { type: Boolean, default: !1 },
@@ -4859,23 +4848,23 @@ const ot = (e, i = {}) => {
4859
4848
  emits: ["add-schedule", "toggle-schedule"],
4860
4849
  setup(e, { emit: i }) {
4861
4850
  var n;
4862
- const t = e, c = i, m = C(() => t.i18n ?? qa), { formatDate: f } = ae(), a = (x) => t.timezone ? f({ date: x, format: "date", offsetType: "offsetted", timezone: t.timezone }) : f({ date: x, format: "date", offsetType: "local" }), d = (x) => `(${x.start_at ? m.value.startsAt(a(x.start_at)) : m.value.startOfSchedule} - ${x.end_at ? m.value.endsAt(a(x.end_at)) : m.value.endOfSchedule})`, { getIsOpen: u, toggle: s } = Un({
4851
+ const l = e, f = i, g = C(() => l.i18n ?? qa), { formatDate: m } = ae(), a = (x) => l.timezone ? m({ date: x, format: "date", offsetType: "offsetted", timezone: l.timezone }) : m({ date: x, format: "date", offsetType: "local" }), d = (x) => `(${x.start_at ? g.value.startsAt(a(x.start_at)) : g.value.startOfSchedule} - ${x.end_at ? g.value.endsAt(a(x.end_at)) : g.value.endOfSchedule})`, { getIsOpen: c, toggle: s } = Un({
4863
4852
  closeOthers: !0,
4864
- initialToggledItems: [(n = t.schedules[0]) == null ? void 0 : n.schedule.id]
4853
+ initialToggledItems: [(n = l.schedules[0]) == null ? void 0 : n.schedule.id]
4865
4854
  }), E = be(null);
4866
- lt(E, ".collapsible-card-print-wrapper", {
4855
+ ot(E, ".collapsible-card-print-wrapper", {
4867
4856
  companionSelector: ".category-heading",
4868
4857
  expandSelectors: [".collapsible-list-item-content", ".collapsible-card-print-content"],
4869
4858
  protectedTopSelectors: [".card-header-print-root", ".section-label", ".pricing-item-block"],
4870
- enabled: t.forPrint
4859
+ enabled: l.forPrint
4871
4860
  });
4872
4861
  const p = C(
4873
- () => t.schedules.map((x, V) => ({
4862
+ () => l.schedules.map((x, V) => ({
4874
4863
  ...x,
4875
4864
  inferredPricingPlanVersion: x.selectedPricingPlanVersion && Fi(
4876
4865
  x.selectedPricingPlanVersion,
4877
4866
  x.schedule,
4878
- { displayDisabledAddonPricings: t.displayDisabledAddonPricings }
4867
+ { displayDisabledAddonPricings: l.displayDisabledAddonPricings }
4879
4868
  ),
4880
4869
  scheduleNumber: V + 1,
4881
4870
  cancelled: !1
@@ -4887,24 +4876,24 @@ const ot = (e, i = {}) => {
4887
4876
  inferredPricingPlanVersion: V.selectedPricingPlanVersion && Fi(
4888
4877
  V.selectedPricingPlanVersion,
4889
4878
  V.schedule,
4890
- { displayDisabledAddonPricings: t.displayDisabledAddonPricings }
4879
+ { displayDisabledAddonPricings: l.displayDisabledAddonPricings }
4891
4880
  ),
4892
4881
  scheduleNumber: y + 1
4893
4882
  }))
4894
4883
  ];
4895
- if (t.cancellationDate) {
4884
+ if (l.cancellationDate) {
4896
4885
  let V = 0;
4897
4886
  const y = {
4898
- cancellationDate: t.cancellationDate,
4899
- cancellationReason: t.cancellationReason
4887
+ cancellationDate: l.cancellationDate,
4888
+ cancellationReason: l.cancellationReason
4900
4889
  }, D = x.findLastIndex(
4901
- (I) => Ee(I) && (I.schedule.start_at ?? "") < (t.cancellationDate ?? "")
4890
+ (I) => Ee(I) && (I.schedule.start_at ?? "") < (l.cancellationDate ?? "")
4902
4891
  );
4903
4892
  if (D === -1)
4904
4893
  x = [y, ...x];
4905
4894
  else {
4906
4895
  const I = x[D];
4907
- V = Ee(I) && (I.schedule.end_at ?? "") >= (t.cancellationDate ?? "") ? D : D + 1, V === t.schedules.length + 1 ? x = [...x, y] : x.splice(V, 0, y);
4896
+ V = Ee(I) && (I.schedule.end_at ?? "") >= (l.cancellationDate ?? "") ? D : D + 1, V === l.schedules.length + 1 ? x = [...x, y] : x.splice(V, 0, y);
4908
4897
  }
4909
4898
  return x.map((I, A) => Ee(I) ? {
4910
4899
  ...I,
@@ -4923,24 +4912,24 @@ const ot = (e, i = {}) => {
4923
4912
  x.inferredPricingPlanVersion,
4924
4913
  x.schedule.pricing_currency
4925
4914
  ) : {}, L = (x) => Tt(x.schedule), M = (x) => {
4926
- if (t.isExpandedByDefault)
4915
+ if (l.isExpandedByDefault)
4927
4916
  return;
4928
4917
  const V = _(x) ?? x.inferredPricingPlanVersion;
4929
4918
  return kt([], V);
4930
- }, $ = C(() => t.openScheduleId === void 0), v = (x) => $.value ? u(x.id) : t.openScheduleId === x.id, P = (x) => {
4931
- $.value ? s(x.id) : c("toggle-schedule", x.id);
4919
+ }, $ = C(() => l.openScheduleId === void 0), v = (x) => $.value ? c(x.id) : l.openScheduleId === x.id, P = (x) => {
4920
+ $.value ? s(x.id) : f("toggle-schedule", x.id);
4932
4921
  };
4933
- return (x, V) => (l(), g("div", {
4922
+ return (x, V) => (t(), u("div", {
4934
4923
  ref_key: "containerRef",
4935
4924
  ref: E
4936
4925
  }, [
4937
4926
  S(Bt, j(x.$attrs, {
4938
- "has-add-button": e.isEditable,
4927
+ "has-add-button": e.isEditable && e.canAddSchedule,
4939
4928
  onAdd: V[0] || (V[0] = (y) => x.$emit("add-schedule"))
4940
4929
  }), {
4941
4930
  default: o(() => [
4942
- (l(!0), g(z, null, Q(r.value, (y, D) => (l(), g(z, { key: D }, [
4943
- B(ja)(y) ? (l(), T(qi, {
4931
+ (t(!0), u(z, null, Q(r.value, (y, D) => (t(), u(z, { key: D }, [
4932
+ B(ja)(y) ? (t(), T(qi, {
4944
4933
  key: 0,
4945
4934
  "hide-collapse-icon": ""
4946
4935
  }, {
@@ -4956,13 +4945,13 @@ const ot = (e, i = {}) => {
4956
4945
  weight: "semibold"
4957
4946
  }, {
4958
4947
  default: o(() => [
4959
- O(h(m.value.subscriptionCancelled(
4960
- e.timezone ? B(f)({
4948
+ O(h(g.value.subscriptionCancelled(
4949
+ e.timezone ? B(m)({
4961
4950
  date: y.cancellationDate,
4962
4951
  format: "date",
4963
4952
  offsetType: "offsetted",
4964
4953
  timezone: e.timezone
4965
- }) : B(f)({
4954
+ }) : B(m)({
4966
4955
  date: y.cancellationDate,
4967
4956
  format: "dateTime",
4968
4957
  offsetType: "local"
@@ -4971,7 +4960,7 @@ const ot = (e, i = {}) => {
4971
4960
  ]),
4972
4961
  _: 2
4973
4962
  }, 1024),
4974
- y.cancellationReason ? (l(), T(Z, {
4963
+ y.cancellationReason ? (t(), T(Z, {
4975
4964
  key: 0,
4976
4965
  variant: "body-xs",
4977
4966
  color: "secondary"
@@ -4984,7 +4973,7 @@ const ot = (e, i = {}) => {
4984
4973
  ]),
4985
4974
  _: 2
4986
4975
  }, 1024)) : b("", !0),
4987
- B(Ee)(y) ? (l(), T(qi, {
4976
+ B(Ee)(y) ? (t(), T(qi, {
4988
4977
  key: 1,
4989
4978
  "item-number": y.scheduleNumber,
4990
4979
  "is-open": v(y.schedule),
@@ -5001,7 +4990,7 @@ const ot = (e, i = {}) => {
5001
4990
  class: "print:text-sm"
5002
4991
  }, {
5003
4992
  default: o(() => [
5004
- O(h(m.value.scheduleNumber(y.scheduleNumber)), 1)
4993
+ O(h(g.value.scheduleNumber(y.scheduleNumber)), 1)
5005
4994
  ]),
5006
4995
  _: 2
5007
4996
  }, 1024),
@@ -5014,7 +5003,7 @@ const ot = (e, i = {}) => {
5014
5003
  ]),
5015
5004
  _: 2
5016
5005
  }, 1024),
5017
- y.schedule.type === "TRIAL" && y.schedule.start_at && y.schedule.end_at ? (l(), T(Qn, {
5006
+ y.schedule.type === "TRIAL" && y.schedule.start_at && y.schedule.end_at ? (t(), T(Qn, {
5018
5007
  key: 0,
5019
5008
  "trial-period": B(et)(
5020
5009
  new Date(y.schedule.start_at),
@@ -5031,40 +5020,40 @@ const ot = (e, i = {}) => {
5031
5020
  item: y,
5032
5021
  itemIndex: y.scheduleNumber - 1
5033
5022
  }, () => [
5034
- e.timezone ? (l(), T(Z, {
5023
+ e.timezone ? (t(), T(Z, {
5035
5024
  key: 0,
5036
5025
  variant: "body-xs",
5037
5026
  class: "print:hidden"
5038
5027
  }, {
5039
5028
  default: o(() => [
5040
- O(h(y.schedule.start_at ? B(f)({
5029
+ O(h(y.schedule.start_at ? B(m)({
5041
5030
  date: y.schedule.start_at,
5042
5031
  format: "dateTime",
5043
5032
  offsetType: "offsetted",
5044
5033
  timezone: e.timezone
5045
- }) : m.value.startOfSchedule) + " - " + h(y.schedule.end_at ? B(f)({
5034
+ }) : g.value.startOfSchedule) + " - " + h(y.schedule.end_at ? B(m)({
5046
5035
  date: y.schedule.end_at,
5047
5036
  format: "dateTime",
5048
5037
  offsetType: "offsetted",
5049
5038
  timezone: e.timezone
5050
- }) : m.value.endOfSchedule), 1)
5039
+ }) : g.value.endOfSchedule), 1)
5051
5040
  ]),
5052
5041
  _: 2
5053
- }, 1024)) : (l(), T(Z, {
5042
+ }, 1024)) : (t(), T(Z, {
5054
5043
  key: 1,
5055
5044
  variant: "body-xs",
5056
5045
  class: "print:hidden"
5057
5046
  }, {
5058
5047
  default: o(() => [
5059
- O(h(y.schedule.start_at ? B(f)({
5048
+ O(h(y.schedule.start_at ? B(m)({
5060
5049
  date: y.schedule.start_at,
5061
5050
  format: "dateTime",
5062
5051
  offsetType: "local"
5063
- }) : m.value.startOfSchedule) + " - " + h(y.schedule.end_at ? B(f)({
5052
+ }) : g.value.startOfSchedule) + " - " + h(y.schedule.end_at ? B(m)({
5064
5053
  date: y.schedule.end_at,
5065
5054
  format: "dateTime",
5066
5055
  offsetType: "local"
5067
- }) : m.value.endOfSchedule), 1)
5056
+ }) : g.value.endOfSchedule), 1)
5068
5057
  ]),
5069
5058
  _: 2
5070
5059
  }, 1024))
@@ -5081,7 +5070,7 @@ const ot = (e, i = {}) => {
5081
5070
  ),
5082
5071
  timezone: e.timezone
5083
5072
  }, () => [
5084
- y.selectedPricingPlan ? (l(), g("div", as, [
5073
+ y.selectedPricingPlan ? (t(), u("div", as, [
5085
5074
  S(Xn, {
5086
5075
  initials: y.selectedPricingPlan.name[0],
5087
5076
  "color-hash": y.selectedPricingPlan.id,
@@ -5093,7 +5082,7 @@ const ot = (e, i = {}) => {
5093
5082
  default: o(() => {
5094
5083
  var I;
5095
5084
  return [
5096
- O(h(m.value.versionNumber(
5085
+ O(h(g.value.versionNumber(
5097
5086
  ((I = y.inferredPricingPlanVersion) == null ? void 0 : I.version) ?? 1
5098
5087
  )), 1)
5099
5088
  ];
@@ -5101,28 +5090,28 @@ const ot = (e, i = {}) => {
5101
5090
  _: 2
5102
5091
  }, 1024)
5103
5092
  ])) : b("", !0),
5104
- y.inferredPricingPlanVersion ? (l(), g("div", rs, [
5093
+ y.inferredPricingPlanVersion ? (t(), u("div", rs, [
5105
5094
  S(Ki, {
5106
5095
  "pricing-plan-version": _(y) ?? y.inferredPricingPlanVersion,
5107
5096
  "grouped-pricing-item-ids-by-pricing": N(y),
5108
5097
  "enabled-pricings": B(Zi)(y.schedule),
5109
5098
  "default-expanded": e.isExpandedByDefault,
5110
5099
  "expanded-pricings": M(y),
5111
- i18n: m.value,
5100
+ i18n: g.value,
5112
5101
  "enable-pricing-group-selection": e.enablePricingGroupSelection,
5113
5102
  "show-non-billable": ""
5114
5103
  }, {
5115
5104
  "pricing-item-config-additions": o(({ config: I }) => [
5116
- (l(!0), g(z, null, Q([
5105
+ (t(!0), u(z, null, Q([
5117
5106
  B(pt)(
5118
5107
  y.schedule,
5119
5108
  I
5120
5109
  )
5121
- ], (A, R) => (l(), g(z, null, [
5122
- A ? (l(), T(Tl, {
5110
+ ], (A, R) => (t(), u(z, null, [
5111
+ A ? (t(), T(Tl, {
5123
5112
  key: R,
5124
5113
  markup: A,
5125
- i18n: m.value
5114
+ i18n: g.value
5126
5115
  }, null, 8, ["markup", "i18n"])) : b("", !0)
5127
5116
  ], 64))), 256)),
5128
5117
  k(x.$slots, "pricing-item-config-additions", {
@@ -5134,14 +5123,14 @@ const ot = (e, i = {}) => {
5134
5123
  _: 2
5135
5124
  }, 1032, ["pricing-plan-version", "grouped-pricing-item-ids-by-pricing", "enabled-pricings", "default-expanded", "expanded-pricings", "i18n", "enable-pricing-group-selection"])
5136
5125
  ])) : b("", !0),
5137
- L(y) ? (l(), g("div", ds, [
5126
+ L(y) ? (t(), u("div", ds, [
5138
5127
  S(Z, {
5139
5128
  variant: "label",
5140
5129
  tag: "h3",
5141
5130
  class: "mb-2"
5142
5131
  }, {
5143
5132
  default: o(() => [
5144
- O(h(m.value.directPricingTitle), 1)
5133
+ O(h(g.value.directPricingTitle), 1)
5145
5134
  ]),
5146
5135
  _: 1
5147
5136
  }),
@@ -5149,34 +5138,34 @@ const ot = (e, i = {}) => {
5149
5138
  "pricing-plan-version": L(y),
5150
5139
  "enabled-pricings": B(Zi)(y.schedule),
5151
5140
  "default-expanded": e.isExpandedByDefault,
5152
- i18n: m.value,
5141
+ i18n: g.value,
5153
5142
  "show-non-billable": ""
5154
5143
  }, null, 8, ["pricing-plan-version", "enabled-pricings", "default-expanded", "i18n"])
5155
5144
  ])) : b("", !0),
5156
- y.schedule.discount ? (l(), T(_l, {
5145
+ y.schedule.discount ? (t(), T(_l, {
5157
5146
  key: 3,
5158
5147
  discount: y.schedule.discount,
5159
5148
  "read-only": "",
5160
5149
  "pricing-plan-version": y.inferredPricingPlanVersion,
5161
5150
  timezone: e.timezone,
5162
5151
  i18n: {
5163
- ...m.value,
5164
- title: m.value.discountsTitle,
5165
- orderOfApplicationExplanation: m.value.discountsOrderOfApplicationExplanation
5152
+ ...g.value,
5153
+ title: g.value.discountsTitle,
5154
+ orderOfApplicationExplanation: g.value.discountsOrderOfApplicationExplanation
5166
5155
  }
5167
5156
  }, null, 8, ["discount", "pricing-plan-version", "timezone", "i18n"])) : b("", !0),
5168
- y.schedule.markup ? (l(), T(wl, {
5157
+ y.schedule.markup ? (t(), T(wl, {
5169
5158
  key: 4,
5170
5159
  markup: y.schedule.markup,
5171
5160
  "pricing-plan-version": y.inferredPricingPlanVersion,
5172
5161
  timezone: e.timezone,
5173
5162
  i18n: {
5174
- ...m.value,
5175
- title: m.value.markupsTitle,
5176
- orderOfApplicationExplanation: m.value.markupsOrderOfApplicationExplanation
5163
+ ...g.value,
5164
+ title: g.value.markupsTitle,
5165
+ orderOfApplicationExplanation: g.value.markupsOrderOfApplicationExplanation
5177
5166
  }
5178
5167
  }, null, 8, ["markup", "pricing-plan-version", "timezone", "i18n"])) : b("", !0),
5179
- y.schedule && y.schedule.commitment ? (l(), T(dl, {
5168
+ y.schedule && y.schedule.commitment ? (t(), T(dl, {
5180
5169
  key: 5,
5181
5170
  class: "mt-2",
5182
5171
  commitment: y.schedule.commitment,
@@ -5184,9 +5173,9 @@ const ot = (e, i = {}) => {
5184
5173
  "pricing-plan-version": y.inferredPricingPlanVersion,
5185
5174
  timezone: e.timezone,
5186
5175
  i18n: {
5187
- ...m.value,
5188
- title: m.value.commitmentsTitle,
5189
- orderOfApplicationExplanation: m.value.commitmentsOrderOfApplicationExplanation
5176
+ ...g.value,
5177
+ title: g.value.commitmentsTitle,
5178
+ orderOfApplicationExplanation: g.value.commitmentsOrderOfApplicationExplanation
5190
5179
  }
5191
5180
  }, null, 8, ["commitment", "pricing-plan-version", "timezone", "i18n"])) : b("", !0)
5192
5181
  ], !0)
@@ -5199,16 +5188,14 @@ const ot = (e, i = {}) => {
5199
5188
  }, 16, ["has-add-button"])
5200
5189
  ], 512));
5201
5190
  }
5202
- }), us = /* @__PURE__ */ se(cs, [["__scopeId", "data-v-74d6e45b"]]), Rs = /* @__PURE__ */ U({
5191
+ }), us = /* @__PURE__ */ se(cs, [["__scopeId", "data-v-06576f19"]]), zs = /* @__PURE__ */ U({
5203
5192
  __name: "SubscriptionSchedules",
5204
5193
  props: {
5205
- schedulesData: { type: Array },
5206
- configuration: { type: Object },
5207
- isLoading: { type: Boolean }
5194
+ schedulesData: { type: Array }
5208
5195
  },
5209
5196
  setup(e) {
5210
5197
  const { $t: i } = ae();
5211
- return (n, t) => (l(), T(B(Dn), {
5198
+ return (n, l) => (t(), T(B(Dn), {
5212
5199
  class: "sv-subscription-schedules sv-root sv-component",
5213
5200
  "no-border": "",
5214
5201
  "no-spacing": "",
@@ -5230,5 +5217,5 @@ const ot = (e, i = {}) => {
5230
5217
  }
5231
5218
  });
5232
5219
  export {
5233
- Rs as _
5220
+ zs as _
5234
5221
  };